diff --git a/esp32/src/aes/endian.rs b/esp32/src/aes/endian.rs index 23d5e88de6..fcd28e0b94 100644 --- a/esp32/src/aes/endian.rs +++ b/esp32/src/aes/endian.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Endianness selection register. See Table 22-2 for details."] #[inline(always)] - #[must_use] pub fn endian(&mut self) -> ENDIAN_W { ENDIAN_W::new(self, 0) } diff --git a/esp32/src/aes/key.rs b/esp32/src/aes/key.rs index 065217e45f..5bf86d4902 100644 --- a/esp32/src/aes/key.rs +++ b/esp32/src/aes/key.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - AES key material register."] #[inline(always)] - #[must_use] pub fn key(&mut self) -> KEY_W { KEY_W::new(self, 0) } diff --git a/esp32/src/aes/mode.rs b/esp32/src/aes/mode.rs index 6908aa71ae..7441716129 100644 --- a/esp32/src/aes/mode.rs +++ b/esp32/src/aes/mode.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Selects the AES accelerator mode of operation. See Table 22-1 for details."] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 0) } diff --git a/esp32/src/aes/start.rs b/esp32/src/aes/start.rs index 7fb2583729..b2cbc2fc83 100644 --- a/esp32/src/aes/start.rs +++ b/esp32/src/aes/start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to start the AES operation."] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 0) } diff --git a/esp32/src/aes/text.rs b/esp32/src/aes/text.rs index c628136534..2149cd7eb1 100644 --- a/esp32/src/aes/text.rs +++ b/esp32/src/aes/text.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Plaintext and ciphertext register."] #[inline(always)] - #[must_use] pub fn text(&mut self) -> TEXT_W { TEXT_W::new(self, 0) } diff --git a/esp32/src/apb_ctrl.rs b/esp32/src/apb_ctrl.rs index e2e57d18fe..f1406ec96b 100644 --- a/esp32/src/apb_ctrl.rs +++ b/esp32/src/apb_ctrl.rs @@ -52,6 +52,8 @@ impl RegisterBlock { &self.apb_saradc_fsm } #[doc = "0x1c..0x2c - "] + #[doc = ""] + #[doc = "
`n` is the index of register in the array. `n == 0` corresponds to `APB_SARADC_SAR1_PATT_TAB1` register.
"] #[inline(always)] pub const fn apb_saradc_sar1_patt_tab(&self, n: usize) -> &APB_SARADC_SAR1_PATT_TAB { &self.apb_saradc_sar1_patt_tab[n] @@ -83,6 +85,8 @@ impl RegisterBlock { self.apb_saradc_sar1_patt_tab(3) } #[doc = "0x2c..0x3c - "] + #[doc = ""] + #[doc = "
`n` is the index of register in the array. `n == 0` corresponds to `APB_SARADC_SAR2_PATT_TAB1` register.
"] #[inline(always)] pub const fn apb_saradc_sar2_patt_tab(&self, n: usize) -> &APB_SARADC_SAR2_PATT_TAB { &self.apb_saradc_sar2_patt_tab[n] diff --git a/esp32/src/apb_ctrl/apb_saradc_ctrl.rs b/esp32/src/apb_ctrl/apb_saradc_ctrl.rs index 75fdcaa604..e661847407 100644 --- a/esp32/src/apb_ctrl/apb_saradc_ctrl.rs +++ b/esp32/src/apb_ctrl/apb_saradc_ctrl.rs @@ -144,79 +144,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn saradc_start_force(&mut self) -> SARADC_START_FORCE_W { SARADC_START_FORCE_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn saradc_start(&mut self) -> SARADC_START_W { SARADC_START_W::new(self, 1) } #[doc = "Bit 2 - 1: SAR ADC2 is controlled by DIG ADC2 CTRL 0: SAR ADC2 is controlled by PWDET CTRL"] #[inline(always)] - #[must_use] pub fn saradc_sar2_mux(&mut self) -> SARADC_SAR2_MUX_W { SARADC_SAR2_MUX_W::new(self, 2) } #[doc = "Bits 3:4 - 0: single mode 1: double mode 2: alternate mode"] #[inline(always)] - #[must_use] pub fn saradc_work_mode(&mut self) -> SARADC_WORK_MODE_W { SARADC_WORK_MODE_W::new(self, 3) } #[doc = "Bit 5 - 0: SAR1 1: SAR2 only work for single SAR mode"] #[inline(always)] - #[must_use] pub fn saradc_sar_sel(&mut self) -> SARADC_SAR_SEL_W { SARADC_SAR_SEL_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn saradc_sar_clk_gated(&mut self) -> SARADC_SAR_CLK_GATED_W { SARADC_SAR_CLK_GATED_W::new(self, 6) } #[doc = "Bits 7:14 - SAR clock divider"] #[inline(always)] - #[must_use] pub fn saradc_sar_clk_div(&mut self) -> SARADC_SAR_CLK_DIV_W { SARADC_SAR_CLK_DIV_W::new(self, 7) } #[doc = "Bits 15:18 - 0 ~ 15 means length 1 ~ 16"] #[inline(always)] - #[must_use] pub fn saradc_sar1_patt_len(&mut self) -> SARADC_SAR1_PATT_LEN_W { SARADC_SAR1_PATT_LEN_W::new(self, 15) } #[doc = "Bits 19:22 - 0 ~ 15 means length 1 ~ 16"] #[inline(always)] - #[must_use] pub fn saradc_sar2_patt_len(&mut self) -> SARADC_SAR2_PATT_LEN_W { SARADC_SAR2_PATT_LEN_W::new(self, 19) } #[doc = "Bit 23 - clear the pointer of pattern table for DIG ADC1 CTRL"] #[inline(always)] - #[must_use] pub fn saradc_sar1_patt_p_clear(&mut self) -> SARADC_SAR1_PATT_P_CLEAR_W { SARADC_SAR1_PATT_P_CLEAR_W::new(self, 23) } #[doc = "Bit 24 - clear the pointer of pattern table for DIG ADC2 CTRL"] #[inline(always)] - #[must_use] pub fn saradc_sar2_patt_p_clear(&mut self) -> SARADC_SAR2_PATT_P_CLEAR_W { SARADC_SAR2_PATT_P_CLEAR_W::new(self, 24) } #[doc = "Bit 25 - 1: sar_sel will be coded by the MSB of the 16-bit output data in this case the resolution should not be larger than 11 bits."] #[inline(always)] - #[must_use] pub fn saradc_data_sar_sel(&mut self) -> SARADC_DATA_SAR_SEL_W { SARADC_DATA_SAR_SEL_W::new(self, 25) } #[doc = "Bit 26 - 1: I2S input data is from SAR ADC (for DMA) 0: I2S input data is from GPIO matrix"] #[inline(always)] - #[must_use] pub fn saradc_data_to_i2s(&mut self) -> SARADC_DATA_TO_I2S_W { SARADC_DATA_TO_I2S_W::new(self, 26) } diff --git a/esp32/src/apb_ctrl/apb_saradc_ctrl2.rs b/esp32/src/apb_ctrl/apb_saradc_ctrl2.rs index cc6591efc3..8ceb5a250d 100644 --- a/esp32/src/apb_ctrl/apb_saradc_ctrl2.rs +++ b/esp32/src/apb_ctrl/apb_saradc_ctrl2.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn saradc_meas_num_limit(&mut self) -> SARADC_MEAS_NUM_LIMIT_W { SARADC_MEAS_NUM_LIMIT_W::new(self, 0) } #[doc = "Bits 1:8 - max conversion number"] #[inline(always)] - #[must_use] pub fn saradc_max_meas_num(&mut self) -> SARADC_MAX_MEAS_NUM_W { SARADC_MAX_MEAS_NUM_W::new(self, 1) } #[doc = "Bit 9 - 1: data to DIG ADC1 CTRL is inverted otherwise not"] #[inline(always)] - #[must_use] pub fn saradc_sar1_inv(&mut self) -> SARADC_SAR1_INV_W { SARADC_SAR1_INV_W::new(self, 9) } #[doc = "Bit 10 - 1: data to DIG ADC2 CTRL is inverted otherwise not"] #[inline(always)] - #[must_use] pub fn saradc_sar2_inv(&mut self) -> SARADC_SAR2_INV_W { SARADC_SAR2_INV_W::new(self, 10) } diff --git a/esp32/src/apb_ctrl/apb_saradc_fsm.rs b/esp32/src/apb_ctrl/apb_saradc_fsm.rs index 07106e8809..613544a160 100644 --- a/esp32/src/apb_ctrl/apb_saradc_fsm.rs +++ b/esp32/src/apb_ctrl/apb_saradc_fsm.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn saradc_rstb_wait(&mut self) -> SARADC_RSTB_WAIT_W { SARADC_RSTB_WAIT_W::new(self, 0) } #[doc = "Bits 8:15"] #[inline(always)] - #[must_use] pub fn saradc_standby_wait(&mut self) -> SARADC_STANDBY_WAIT_W { SARADC_STANDBY_WAIT_W::new(self, 8) } #[doc = "Bits 16:23"] #[inline(always)] - #[must_use] pub fn saradc_start_wait(&mut self) -> SARADC_START_WAIT_W { SARADC_START_WAIT_W::new(self, 16) } #[doc = "Bits 24:31 - sample cycles"] #[inline(always)] - #[must_use] pub fn saradc_sample_cycle(&mut self) -> SARADC_SAMPLE_CYCLE_W { SARADC_SAMPLE_CYCLE_W::new(self, 24) } diff --git a/esp32/src/apb_ctrl/apb_saradc_sar1_patt_tab.rs b/esp32/src/apb_ctrl/apb_saradc_sar1_patt_tab.rs index b2897d6270..586ea7b1ec 100644 --- a/esp32/src/apb_ctrl/apb_saradc_sar1_patt_tab.rs +++ b/esp32/src/apb_ctrl/apb_saradc_sar1_patt_tab.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - item 0 ~ 3 for pattern table 1 (each item one byte)"] #[inline(always)] - #[must_use] pub fn saradc_sar1_patt_tab1( &mut self, ) -> SARADC_SAR1_PATT_TAB1_W { diff --git a/esp32/src/apb_ctrl/apb_saradc_sar2_patt_tab.rs b/esp32/src/apb_ctrl/apb_saradc_sar2_patt_tab.rs index 74ea1cd30f..2fbf14f734 100644 --- a/esp32/src/apb_ctrl/apb_saradc_sar2_patt_tab.rs +++ b/esp32/src/apb_ctrl/apb_saradc_sar2_patt_tab.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - item 0 ~ 3 for pattern table 2 (each item one byte)"] #[inline(always)] - #[must_use] pub fn saradc_sar2_patt_tab1( &mut self, ) -> SARADC_SAR2_PATT_TAB1_W { diff --git a/esp32/src/apb_ctrl/apll_tick_conf.rs b/esp32/src/apb_ctrl/apll_tick_conf.rs index a0e147fae3..bb1ed6b4ef 100644 --- a/esp32/src/apb_ctrl/apll_tick_conf.rs +++ b/esp32/src/apb_ctrl/apll_tick_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn apll_tick_num(&mut self) -> APLL_TICK_NUM_W { APLL_TICK_NUM_W::new(self, 0) } diff --git a/esp32/src/apb_ctrl/ck8m_tick_conf.rs b/esp32/src/apb_ctrl/ck8m_tick_conf.rs index f720401750..74cca47899 100644 --- a/esp32/src/apb_ctrl/ck8m_tick_conf.rs +++ b/esp32/src/apb_ctrl/ck8m_tick_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn ck8m_tick_num(&mut self) -> CK8M_TICK_NUM_W { CK8M_TICK_NUM_W::new(self, 0) } diff --git a/esp32/src/apb_ctrl/date.rs b/esp32/src/apb_ctrl/date.rs index 13e52e8aca..859e9515bb 100644 --- a/esp32/src/apb_ctrl/date.rs +++ b/esp32/src/apb_ctrl/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32/src/apb_ctrl/pll_tick_conf.rs b/esp32/src/apb_ctrl/pll_tick_conf.rs index 12a93075e8..5db4424153 100644 --- a/esp32/src/apb_ctrl/pll_tick_conf.rs +++ b/esp32/src/apb_ctrl/pll_tick_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn pll_tick_num(&mut self) -> PLL_TICK_NUM_W { PLL_TICK_NUM_W::new(self, 0) } diff --git a/esp32/src/apb_ctrl/sysclk_conf.rs b/esp32/src/apb_ctrl/sysclk_conf.rs index 683fb74fde..23b2a6eee0 100644 --- a/esp32/src/apb_ctrl/sysclk_conf.rs +++ b/esp32/src/apb_ctrl/sysclk_conf.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9"] #[inline(always)] - #[must_use] pub fn pre_div_cnt(&mut self) -> PRE_DIV_CNT_W { PRE_DIV_CNT_W::new(self, 0) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn clk_320m_en(&mut self) -> CLK_320M_EN_W { CLK_320M_EN_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn rst_tick_cnt(&mut self) -> RST_TICK_CNT_W { RST_TICK_CNT_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn quick_clk_chng(&mut self) -> QUICK_CLK_CHNG_W { QUICK_CLK_CHNG_W::new(self, 13) } diff --git a/esp32/src/apb_ctrl/xtal_tick_conf.rs b/esp32/src/apb_ctrl/xtal_tick_conf.rs index 2f702cf38d..ed8bdcd55f 100644 --- a/esp32/src/apb_ctrl/xtal_tick_conf.rs +++ b/esp32/src/apb_ctrl/xtal_tick_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn xtal_tick_num(&mut self) -> XTAL_TICK_NUM_W { XTAL_TICK_NUM_W::new(self, 0) } diff --git a/esp32/src/bb/bbpd_ctrl.rs b/esp32/src/bb/bbpd_ctrl.rs index 968dce20ce..6de8322c9b 100644 --- a/esp32/src/bb/bbpd_ctrl.rs +++ b/esp32/src/bb/bbpd_ctrl.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn dc_est_force_pd(&mut self) -> DC_EST_FORCE_PD_W { DC_EST_FORCE_PD_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn dc_est_force_pu(&mut self) -> DC_EST_FORCE_PU_W { DC_EST_FORCE_PU_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn fft_force_pd(&mut self) -> FFT_FORCE_PD_W { FFT_FORCE_PD_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn fft_force_pu(&mut self) -> FFT_FORCE_PU_W { FFT_FORCE_PU_W::new(self, 3) } diff --git a/esp32/src/dport/ahb_lite_mask.rs b/esp32/src/dport/ahb_lite_mask.rs index 095b2098a8..ca0d6b0153 100644 --- a/esp32/src/dport/ahb_lite_mask.rs +++ b/esp32/src/dport/ahb_lite_mask.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn pro(&mut self) -> PRO_W { PRO_W::new(self, 0) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn app(&mut self) -> APP_W { APP_W::new(self, 4) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn sdio(&mut self) -> SDIO_W { SDIO_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn prodport(&mut self) -> PRODPORT_W { PRODPORT_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn appdport(&mut self) -> APPDPORT_W { APPDPORT_W::new(self, 10) } #[doc = "Bits 11:13"] #[inline(always)] - #[must_use] pub fn ahb_lite_sdhost_pid(&mut self) -> AHB_LITE_SDHOST_PID_W { AHB_LITE_SDHOST_PID_W::new(self, 11) } diff --git a/esp32/src/dport/ahb_mpu_table_0.rs b/esp32/src/dport/ahb_mpu_table_0.rs index a2abc13d2b..293629f2fb 100644 --- a/esp32/src/dport/ahb_mpu_table_0.rs +++ b/esp32/src/dport/ahb_mpu_table_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn ahb_access_grant_0(&mut self) -> AHB_ACCESS_GRANT_0_W { AHB_ACCESS_GRANT_0_W::new(self, 0) } diff --git a/esp32/src/dport/ahb_mpu_table_1.rs b/esp32/src/dport/ahb_mpu_table_1.rs index e03d388fce..d8ef0f565f 100644 --- a/esp32/src/dport/ahb_mpu_table_1.rs +++ b/esp32/src/dport/ahb_mpu_table_1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8"] #[inline(always)] - #[must_use] pub fn ahb_access_grant_1(&mut self) -> AHB_ACCESS_GRANT_1_W { AHB_ACCESS_GRANT_1_W::new(self, 0) } diff --git a/esp32/src/dport/ahblite_mpu_table_apb_ctrl.rs b/esp32/src/dport/ahblite_mpu_table_apb_ctrl.rs index 789c3f646b..00f56194b4 100644 --- a/esp32/src/dport/ahblite_mpu_table_apb_ctrl.rs +++ b/esp32/src/dport/ahblite_mpu_table_apb_ctrl.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn apbctrl_access_grant_config( &mut self, ) -> APBCTRL_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_bb.rs b/esp32/src/dport/ahblite_mpu_table_bb.rs index 9776f6393d..83251845b3 100644 --- a/esp32/src/dport/ahblite_mpu_table_bb.rs +++ b/esp32/src/dport/ahblite_mpu_table_bb.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn bb_access_grant_config( &mut self, ) -> BB_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_bt.rs b/esp32/src/dport/ahblite_mpu_table_bt.rs index fe9443180b..ddc59ad418 100644 --- a/esp32/src/dport/ahblite_mpu_table_bt.rs +++ b/esp32/src/dport/ahblite_mpu_table_bt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn bt_access_grant_config( &mut self, ) -> BT_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_bt_buffer.rs b/esp32/src/dport/ahblite_mpu_table_bt_buffer.rs index 68d1e51b5b..b419328529 100644 --- a/esp32/src/dport/ahblite_mpu_table_bt_buffer.rs +++ b/esp32/src/dport/ahblite_mpu_table_bt_buffer.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn btbuffer_access_grant_config( &mut self, ) -> BTBUFFER_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_btmac.rs b/esp32/src/dport/ahblite_mpu_table_btmac.rs index d8eaed97bd..5796f086be 100644 --- a/esp32/src/dport/ahblite_mpu_table_btmac.rs +++ b/esp32/src/dport/ahblite_mpu_table_btmac.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn btmac_access_grant_config( &mut self, ) -> BTMAC_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_can.rs b/esp32/src/dport/ahblite_mpu_table_can.rs index b4b545d5ba..dbb1df18cb 100644 --- a/esp32/src/dport/ahblite_mpu_table_can.rs +++ b/esp32/src/dport/ahblite_mpu_table_can.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn can_access_grant_config( &mut self, ) -> CAN_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_efuse.rs b/esp32/src/dport/ahblite_mpu_table_efuse.rs index fe5e5e5422..3468aba49a 100644 --- a/esp32/src/dport/ahblite_mpu_table_efuse.rs +++ b/esp32/src/dport/ahblite_mpu_table_efuse.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn efuse_access_grant_config( &mut self, ) -> EFUSE_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_emac.rs b/esp32/src/dport/ahblite_mpu_table_emac.rs index 0398bf9cfd..39a3d4f382 100644 --- a/esp32/src/dport/ahblite_mpu_table_emac.rs +++ b/esp32/src/dport/ahblite_mpu_table_emac.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn emac_access_grant_config( &mut self, ) -> EMAC_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_fe.rs b/esp32/src/dport/ahblite_mpu_table_fe.rs index 1e02748cc4..943044b942 100644 --- a/esp32/src/dport/ahblite_mpu_table_fe.rs +++ b/esp32/src/dport/ahblite_mpu_table_fe.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn fe_access_grant_config( &mut self, ) -> FE_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_fe2.rs b/esp32/src/dport/ahblite_mpu_table_fe2.rs index 55a619d334..3f7ef4da34 100644 --- a/esp32/src/dport/ahblite_mpu_table_fe2.rs +++ b/esp32/src/dport/ahblite_mpu_table_fe2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn fe2_access_grant_config( &mut self, ) -> FE2_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_gpio.rs b/esp32/src/dport/ahblite_mpu_table_gpio.rs index a49770695d..6da0a4d3bc 100644 --- a/esp32/src/dport/ahblite_mpu_table_gpio.rs +++ b/esp32/src/dport/ahblite_mpu_table_gpio.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn gpio_access_grant_config( &mut self, ) -> GPIO_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_hinf.rs b/esp32/src/dport/ahblite_mpu_table_hinf.rs index 5d25aa7ac5..6a713ef320 100644 --- a/esp32/src/dport/ahblite_mpu_table_hinf.rs +++ b/esp32/src/dport/ahblite_mpu_table_hinf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn hinf_access_grant_config( &mut self, ) -> HINF_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_i2c.rs b/esp32/src/dport/ahblite_mpu_table_i2c.rs index fa16369d40..36b95b7be7 100644 --- a/esp32/src/dport/ahblite_mpu_table_i2c.rs +++ b/esp32/src/dport/ahblite_mpu_table_i2c.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn i2c_access_grant_config( &mut self, ) -> I2C_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_i2c_ext0.rs b/esp32/src/dport/ahblite_mpu_table_i2c_ext0.rs index b33046f920..13e94df9a4 100644 --- a/esp32/src/dport/ahblite_mpu_table_i2c_ext0.rs +++ b/esp32/src/dport/ahblite_mpu_table_i2c_ext0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn i2cext0_access_grant_config( &mut self, ) -> I2CEXT0_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_i2c_ext1.rs b/esp32/src/dport/ahblite_mpu_table_i2c_ext1.rs index eb65f359aa..c7215d4649 100644 --- a/esp32/src/dport/ahblite_mpu_table_i2c_ext1.rs +++ b/esp32/src/dport/ahblite_mpu_table_i2c_ext1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn i2cext1_access_grant_config( &mut self, ) -> I2CEXT1_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_i2s0.rs b/esp32/src/dport/ahblite_mpu_table_i2s0.rs index 0a81ef22cb..6f044e730f 100644 --- a/esp32/src/dport/ahblite_mpu_table_i2s0.rs +++ b/esp32/src/dport/ahblite_mpu_table_i2s0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn i2s0_access_grant_config( &mut self, ) -> I2S0_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_i2s1.rs b/esp32/src/dport/ahblite_mpu_table_i2s1.rs index 90833f8517..948468a124 100644 --- a/esp32/src/dport/ahblite_mpu_table_i2s1.rs +++ b/esp32/src/dport/ahblite_mpu_table_i2s1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn i2s1_access_grant_config( &mut self, ) -> I2S1_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_io_mux.rs b/esp32/src/dport/ahblite_mpu_table_io_mux.rs index cd2d4e2973..ceb09e58c8 100644 --- a/esp32/src/dport/ahblite_mpu_table_io_mux.rs +++ b/esp32/src/dport/ahblite_mpu_table_io_mux.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn iomux_access_grant_config( &mut self, ) -> IOMUX_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_ledc.rs b/esp32/src/dport/ahblite_mpu_table_ledc.rs index 19ec671c0b..b926fb8b0b 100644 --- a/esp32/src/dport/ahblite_mpu_table_ledc.rs +++ b/esp32/src/dport/ahblite_mpu_table_ledc.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn ledc_access_grant_config( &mut self, ) -> LEDC_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_misc.rs b/esp32/src/dport/ahblite_mpu_table_misc.rs index 416b2af0ea..0853b352cb 100644 --- a/esp32/src/dport/ahblite_mpu_table_misc.rs +++ b/esp32/src/dport/ahblite_mpu_table_misc.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn misc_access_grant_config( &mut self, ) -> MISC_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_pcnt.rs b/esp32/src/dport/ahblite_mpu_table_pcnt.rs index b5a93d4036..7450fe7fb8 100644 --- a/esp32/src/dport/ahblite_mpu_table_pcnt.rs +++ b/esp32/src/dport/ahblite_mpu_table_pcnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn pcnt_access_grant_config( &mut self, ) -> PCNT_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_pwm0.rs b/esp32/src/dport/ahblite_mpu_table_pwm0.rs index 3f9b17fa3b..feea70ec1f 100644 --- a/esp32/src/dport/ahblite_mpu_table_pwm0.rs +++ b/esp32/src/dport/ahblite_mpu_table_pwm0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn pwm0_access_grant_config( &mut self, ) -> PWM0_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_pwm1.rs b/esp32/src/dport/ahblite_mpu_table_pwm1.rs index caa381cf46..9917e2d97a 100644 --- a/esp32/src/dport/ahblite_mpu_table_pwm1.rs +++ b/esp32/src/dport/ahblite_mpu_table_pwm1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn pwm1_access_grant_config( &mut self, ) -> PWM1_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_pwm2.rs b/esp32/src/dport/ahblite_mpu_table_pwm2.rs index 2d8be40dfc..0e83135cd5 100644 --- a/esp32/src/dport/ahblite_mpu_table_pwm2.rs +++ b/esp32/src/dport/ahblite_mpu_table_pwm2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn pwm2_access_grant_config( &mut self, ) -> PWM2_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_pwm3.rs b/esp32/src/dport/ahblite_mpu_table_pwm3.rs index 25bd7731b3..71aaf9e9e2 100644 --- a/esp32/src/dport/ahblite_mpu_table_pwm3.rs +++ b/esp32/src/dport/ahblite_mpu_table_pwm3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn pwm3_access_grant_config( &mut self, ) -> PWM3_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_pwr.rs b/esp32/src/dport/ahblite_mpu_table_pwr.rs index 8f615e5079..9ce48ab926 100644 --- a/esp32/src/dport/ahblite_mpu_table_pwr.rs +++ b/esp32/src/dport/ahblite_mpu_table_pwr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn pwr_access_grant_config( &mut self, ) -> PWR_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_rmt.rs b/esp32/src/dport/ahblite_mpu_table_rmt.rs index 683faa9e76..55ba6ec219 100644 --- a/esp32/src/dport/ahblite_mpu_table_rmt.rs +++ b/esp32/src/dport/ahblite_mpu_table_rmt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn rmt_access_grant_config( &mut self, ) -> RMT_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_rtc.rs b/esp32/src/dport/ahblite_mpu_table_rtc.rs index 38a6179493..918b82e6e9 100644 --- a/esp32/src/dport/ahblite_mpu_table_rtc.rs +++ b/esp32/src/dport/ahblite_mpu_table_rtc.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn rtc_access_grant_config( &mut self, ) -> RTC_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_rwbt.rs b/esp32/src/dport/ahblite_mpu_table_rwbt.rs index baf466363b..6f807a09e6 100644 --- a/esp32/src/dport/ahblite_mpu_table_rwbt.rs +++ b/esp32/src/dport/ahblite_mpu_table_rwbt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn rwbt_access_grant_config( &mut self, ) -> RWBT_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_sdio_host.rs b/esp32/src/dport/ahblite_mpu_table_sdio_host.rs index 1b2d3366ce..80c408d7b8 100644 --- a/esp32/src/dport/ahblite_mpu_table_sdio_host.rs +++ b/esp32/src/dport/ahblite_mpu_table_sdio_host.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn sdiohost_access_grant_config( &mut self, ) -> SDIOHOST_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_slc.rs b/esp32/src/dport/ahblite_mpu_table_slc.rs index 68d93d7c73..f1a7207b4f 100644 --- a/esp32/src/dport/ahblite_mpu_table_slc.rs +++ b/esp32/src/dport/ahblite_mpu_table_slc.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn slc_access_grant_config( &mut self, ) -> SLC_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_slchost.rs b/esp32/src/dport/ahblite_mpu_table_slchost.rs index 4b17a3176e..3c159e0df0 100644 --- a/esp32/src/dport/ahblite_mpu_table_slchost.rs +++ b/esp32/src/dport/ahblite_mpu_table_slchost.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn slchost_access_grant_config( &mut self, ) -> SLCHOST_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_spi0.rs b/esp32/src/dport/ahblite_mpu_table_spi0.rs index 6e80e8c55d..073107699b 100644 --- a/esp32/src/dport/ahblite_mpu_table_spi0.rs +++ b/esp32/src/dport/ahblite_mpu_table_spi0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn spi0_access_grant_config( &mut self, ) -> SPI0_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_spi1.rs b/esp32/src/dport/ahblite_mpu_table_spi1.rs index b53839c8f2..4dcebab917 100644 --- a/esp32/src/dport/ahblite_mpu_table_spi1.rs +++ b/esp32/src/dport/ahblite_mpu_table_spi1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn spi1_access_grant_config( &mut self, ) -> SPI1_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_spi2.rs b/esp32/src/dport/ahblite_mpu_table_spi2.rs index 7959f193ee..7af6909e80 100644 --- a/esp32/src/dport/ahblite_mpu_table_spi2.rs +++ b/esp32/src/dport/ahblite_mpu_table_spi2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn spi2_access_grant_config( &mut self, ) -> SPI2_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_spi3.rs b/esp32/src/dport/ahblite_mpu_table_spi3.rs index 7d13b4d9f8..603b3b7e6f 100644 --- a/esp32/src/dport/ahblite_mpu_table_spi3.rs +++ b/esp32/src/dport/ahblite_mpu_table_spi3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn spi3_access_grant_config( &mut self, ) -> SPI3_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_spi_encrypt.rs b/esp32/src/dport/ahblite_mpu_table_spi_encrypt.rs index 66cd17b759..614bb7236a 100644 --- a/esp32/src/dport/ahblite_mpu_table_spi_encrypt.rs +++ b/esp32/src/dport/ahblite_mpu_table_spi_encrypt.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn spi_encrypy_access_grant_config( &mut self, ) -> SPI_ENCRYPY_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_timer.rs b/esp32/src/dport/ahblite_mpu_table_timer.rs index 7c37768119..b978290fba 100644 --- a/esp32/src/dport/ahblite_mpu_table_timer.rs +++ b/esp32/src/dport/ahblite_mpu_table_timer.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn timer_access_grant_config( &mut self, ) -> TIMER_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_timergroup.rs b/esp32/src/dport/ahblite_mpu_table_timergroup.rs index a9c20975f6..b49293d4c8 100644 --- a/esp32/src/dport/ahblite_mpu_table_timergroup.rs +++ b/esp32/src/dport/ahblite_mpu_table_timergroup.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn timergroup_access_grant_config( &mut self, ) -> TIMERGROUP_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_timergroup1.rs b/esp32/src/dport/ahblite_mpu_table_timergroup1.rs index b5ea0ae352..1d38948e6d 100644 --- a/esp32/src/dport/ahblite_mpu_table_timergroup1.rs +++ b/esp32/src/dport/ahblite_mpu_table_timergroup1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn timergroup1_access_grant_config( &mut self, ) -> TIMERGROUP1_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_uart.rs b/esp32/src/dport/ahblite_mpu_table_uart.rs index a2ad4fd405..0f9cccf2ac 100644 --- a/esp32/src/dport/ahblite_mpu_table_uart.rs +++ b/esp32/src/dport/ahblite_mpu_table_uart.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn uart_access_grant_config( &mut self, ) -> UART_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_uart1.rs b/esp32/src/dport/ahblite_mpu_table_uart1.rs index 76644d84ed..7caf5e6d4f 100644 --- a/esp32/src/dport/ahblite_mpu_table_uart1.rs +++ b/esp32/src/dport/ahblite_mpu_table_uart1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn uart1_access_grant_config( &mut self, ) -> UART1_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_uart2.rs b/esp32/src/dport/ahblite_mpu_table_uart2.rs index fab3a1584c..d763040f89 100644 --- a/esp32/src/dport/ahblite_mpu_table_uart2.rs +++ b/esp32/src/dport/ahblite_mpu_table_uart2.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn uart2_access_grant_config( &mut self, ) -> UART2_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_uhci0.rs b/esp32/src/dport/ahblite_mpu_table_uhci0.rs index c328e4ffd1..e850f8582e 100644 --- a/esp32/src/dport/ahblite_mpu_table_uhci0.rs +++ b/esp32/src/dport/ahblite_mpu_table_uhci0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn uhci0_access_grant_config( &mut self, ) -> UHCI0_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_uhci1.rs b/esp32/src/dport/ahblite_mpu_table_uhci1.rs index 7e35793acc..b6413986ed 100644 --- a/esp32/src/dport/ahblite_mpu_table_uhci1.rs +++ b/esp32/src/dport/ahblite_mpu_table_uhci1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn uhci1_access_grant_config( &mut self, ) -> UHCI1_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_wdg.rs b/esp32/src/dport/ahblite_mpu_table_wdg.rs index ef8650ef9b..133593727c 100644 --- a/esp32/src/dport/ahblite_mpu_table_wdg.rs +++ b/esp32/src/dport/ahblite_mpu_table_wdg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn wdg_access_grant_config( &mut self, ) -> WDG_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/ahblite_mpu_table_wifimac.rs b/esp32/src/dport/ahblite_mpu_table_wifimac.rs index 9cb6dfd094..fa5281ba3e 100644 --- a/esp32/src/dport/ahblite_mpu_table_wifimac.rs +++ b/esp32/src/dport/ahblite_mpu_table_wifimac.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn wifimac_access_grant_config( &mut self, ) -> WIFIMAC_ACCESS_GRANT_CONFIG_W { diff --git a/esp32/src/dport/app_bb_int_map.rs b/esp32/src/dport/app_bb_int_map.rs index 99875c1b1c..2572343151 100644 --- a/esp32/src/dport/app_bb_int_map.rs +++ b/esp32/src/dport/app_bb_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_bb_int_map(&mut self) -> APP_BB_INT_MAP_W { APP_BB_INT_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_boot_remap_ctrl.rs b/esp32/src/dport/app_boot_remap_ctrl.rs index 324d959f1e..5f1167a6b2 100644 --- a/esp32/src/dport/app_boot_remap_ctrl.rs +++ b/esp32/src/dport/app_boot_remap_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn app_boot_remap(&mut self) -> APP_BOOT_REMAP_W { APP_BOOT_REMAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_bt_bb_int_map.rs b/esp32/src/dport/app_bt_bb_int_map.rs index 0d2a0137d2..ccfbbc0dcb 100644 --- a/esp32/src/dport/app_bt_bb_int_map.rs +++ b/esp32/src/dport/app_bt_bb_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_bt_bb_int_map(&mut self) -> APP_BT_BB_INT_MAP_W { APP_BT_BB_INT_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_bt_bb_nmi_map.rs b/esp32/src/dport/app_bt_bb_nmi_map.rs index 97b6863695..2a9c8d925f 100644 --- a/esp32/src/dport/app_bt_bb_nmi_map.rs +++ b/esp32/src/dport/app_bt_bb_nmi_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_bt_bb_nmi_map(&mut self) -> APP_BT_BB_NMI_MAP_W { APP_BT_BB_NMI_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_bt_mac_int_map.rs b/esp32/src/dport/app_bt_mac_int_map.rs index 1627e90675..eaa9383b20 100644 --- a/esp32/src/dport/app_bt_mac_int_map.rs +++ b/esp32/src/dport/app_bt_mac_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_bt_mac_int_map(&mut self) -> APP_BT_MAC_INT_MAP_W { APP_BT_MAC_INT_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_cache_ctrl.rs b/esp32/src/dport/app_cache_ctrl.rs index f9c024bab4..0a1483e82d 100644 --- a/esp32/src/dport/app_cache_ctrl.rs +++ b/esp32/src/dport/app_cache_ctrl.rs @@ -138,61 +138,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn app_cache_mode(&mut self) -> APP_CACHE_MODE_W { APP_CACHE_MODE_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn app_cache_enable(&mut self) -> APP_CACHE_ENABLE_W { APP_CACHE_ENABLE_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn app_cache_flush_ena(&mut self) -> APP_CACHE_FLUSH_ENA_W { APP_CACHE_FLUSH_ENA_W::new(self, 4) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn app_cache_lock_0_en(&mut self) -> APP_CACHE_LOCK_0_EN_W { APP_CACHE_LOCK_0_EN_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn app_cache_lock_1_en(&mut self) -> APP_CACHE_LOCK_1_EN_W { APP_CACHE_LOCK_1_EN_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn app_cache_lock_2_en(&mut self) -> APP_CACHE_LOCK_2_EN_W { APP_CACHE_LOCK_2_EN_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn app_cache_lock_3_en(&mut self) -> APP_CACHE_LOCK_3_EN_W { APP_CACHE_LOCK_3_EN_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn app_single_iram_ena(&mut self) -> APP_SINGLE_IRAM_ENA_W { APP_SINGLE_IRAM_ENA_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn app_dram_split(&mut self) -> APP_DRAM_SPLIT_W { APP_DRAM_SPLIT_W::new(self, 11) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn app_dram_hl(&mut self) -> APP_DRAM_HL_W { APP_DRAM_HL_W::new(self, 14) } diff --git a/esp32/src/dport/app_cache_ctrl1.rs b/esp32/src/dport/app_cache_ctrl1.rs index e091dc7565..8756c045b4 100644 --- a/esp32/src/dport/app_cache_ctrl1.rs +++ b/esp32/src/dport/app_cache_ctrl1.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn app_cache_mask_iram0(&mut self) -> APP_CACHE_MASK_IRAM0_W { APP_CACHE_MASK_IRAM0_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn app_cache_mask_iram1(&mut self) -> APP_CACHE_MASK_IRAM1_W { APP_CACHE_MASK_IRAM1_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn app_cache_mask_irom0(&mut self) -> APP_CACHE_MASK_IROM0_W { APP_CACHE_MASK_IROM0_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn app_cache_mask_dram1(&mut self) -> APP_CACHE_MASK_DRAM1_W { APP_CACHE_MASK_DRAM1_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn app_cache_mask_drom0(&mut self) -> APP_CACHE_MASK_DROM0_W { APP_CACHE_MASK_DROM0_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn app_cache_mask_opsdram(&mut self) -> APP_CACHE_MASK_OPSDRAM_W { APP_CACHE_MASK_OPSDRAM_W::new(self, 5) } #[doc = "Bits 6:8"] #[inline(always)] - #[must_use] pub fn app_cmmu_sram_page_mode(&mut self) -> APP_CMMU_SRAM_PAGE_MODE_W { APP_CMMU_SRAM_PAGE_MODE_W::new(self, 6) } #[doc = "Bits 9:10"] #[inline(always)] - #[must_use] pub fn app_cmmu_flash_page_mode(&mut self) -> APP_CMMU_FLASH_PAGE_MODE_W { APP_CMMU_FLASH_PAGE_MODE_W::new(self, 9) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn app_cmmu_force_on(&mut self) -> APP_CMMU_FORCE_ON_W { APP_CMMU_FORCE_ON_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn app_cmmu_pd(&mut self) -> APP_CMMU_PD_W { APP_CMMU_PD_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn app_cache_mmu_ia_clr(&mut self) -> APP_CACHE_MMU_IA_CLR_W { APP_CACHE_MMU_IA_CLR_W::new(self, 13) } diff --git a/esp32/src/dport/app_cache_ia_int_map.rs b/esp32/src/dport/app_cache_ia_int_map.rs index 44f7b4bd66..d3bc0fa7af 100644 --- a/esp32/src/dport/app_cache_ia_int_map.rs +++ b/esp32/src/dport/app_cache_ia_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_cache_ia_int_map(&mut self) -> APP_CACHE_IA_INT_MAP_W { APP_CACHE_IA_INT_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_cache_lock_0_addr.rs b/esp32/src/dport/app_cache_lock_0_addr.rs index f3b75e4a4b..4bb51aded8 100644 --- a/esp32/src/dport/app_cache_lock_0_addr.rs +++ b/esp32/src/dport/app_cache_lock_0_addr.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13"] #[inline(always)] - #[must_use] pub fn pre(&mut self) -> PRE_W { PRE_W::new(self, 0) } #[doc = "Bits 14:17"] #[inline(always)] - #[must_use] pub fn min(&mut self) -> MIN_W { MIN_W::new(self, 14) } #[doc = "Bits 18:21"] #[inline(always)] - #[must_use] pub fn max(&mut self) -> MAX_W { MAX_W::new(self, 18) } diff --git a/esp32/src/dport/app_cache_lock_1_addr.rs b/esp32/src/dport/app_cache_lock_1_addr.rs index fbb59247f3..5ddadf04f7 100644 --- a/esp32/src/dport/app_cache_lock_1_addr.rs +++ b/esp32/src/dport/app_cache_lock_1_addr.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13"] #[inline(always)] - #[must_use] pub fn pre(&mut self) -> PRE_W { PRE_W::new(self, 0) } #[doc = "Bits 14:17"] #[inline(always)] - #[must_use] pub fn min(&mut self) -> MIN_W { MIN_W::new(self, 14) } #[doc = "Bits 18:21"] #[inline(always)] - #[must_use] pub fn max(&mut self) -> MAX_W { MAX_W::new(self, 18) } diff --git a/esp32/src/dport/app_cache_lock_2_addr.rs b/esp32/src/dport/app_cache_lock_2_addr.rs index f19c27d472..e8c115ef67 100644 --- a/esp32/src/dport/app_cache_lock_2_addr.rs +++ b/esp32/src/dport/app_cache_lock_2_addr.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13"] #[inline(always)] - #[must_use] pub fn pre(&mut self) -> PRE_W { PRE_W::new(self, 0) } #[doc = "Bits 14:17"] #[inline(always)] - #[must_use] pub fn min(&mut self) -> MIN_W { MIN_W::new(self, 14) } #[doc = "Bits 18:21"] #[inline(always)] - #[must_use] pub fn max(&mut self) -> MAX_W { MAX_W::new(self, 18) } diff --git a/esp32/src/dport/app_cache_lock_3_addr.rs b/esp32/src/dport/app_cache_lock_3_addr.rs index 8a33531bc1..812a814cfb 100644 --- a/esp32/src/dport/app_cache_lock_3_addr.rs +++ b/esp32/src/dport/app_cache_lock_3_addr.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13"] #[inline(always)] - #[must_use] pub fn pre(&mut self) -> PRE_W { PRE_W::new(self, 0) } #[doc = "Bits 14:17"] #[inline(always)] - #[must_use] pub fn min(&mut self) -> MIN_W { MIN_W::new(self, 14) } #[doc = "Bits 18:21"] #[inline(always)] - #[must_use] pub fn max(&mut self) -> MAX_W { MAX_W::new(self, 18) } diff --git a/esp32/src/dport/app_can_int_map.rs b/esp32/src/dport/app_can_int_map.rs index d57cfc9168..f39e82115d 100644 --- a/esp32/src/dport/app_can_int_map.rs +++ b/esp32/src/dport/app_can_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_can_int_map(&mut self) -> APP_CAN_INT_MAP_W { APP_CAN_INT_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_cpu_intr_from_cpu_0_map.rs b/esp32/src/dport/app_cpu_intr_from_cpu_0_map.rs index 0803394209..cb30b0386e 100644 --- a/esp32/src/dport/app_cpu_intr_from_cpu_0_map.rs +++ b/esp32/src/dport/app_cpu_intr_from_cpu_0_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_cpu_intr_from_cpu_0_map( &mut self, ) -> APP_CPU_INTR_FROM_CPU_0_MAP_W { diff --git a/esp32/src/dport/app_cpu_intr_from_cpu_1_map.rs b/esp32/src/dport/app_cpu_intr_from_cpu_1_map.rs index e97e02f104..c7c3f98c8a 100644 --- a/esp32/src/dport/app_cpu_intr_from_cpu_1_map.rs +++ b/esp32/src/dport/app_cpu_intr_from_cpu_1_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_cpu_intr_from_cpu_1_map( &mut self, ) -> APP_CPU_INTR_FROM_CPU_1_MAP_W { diff --git a/esp32/src/dport/app_cpu_intr_from_cpu_2_map.rs b/esp32/src/dport/app_cpu_intr_from_cpu_2_map.rs index 99808f0a31..4928cc72f5 100644 --- a/esp32/src/dport/app_cpu_intr_from_cpu_2_map.rs +++ b/esp32/src/dport/app_cpu_intr_from_cpu_2_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_cpu_intr_from_cpu_2_map( &mut self, ) -> APP_CPU_INTR_FROM_CPU_2_MAP_W { diff --git a/esp32/src/dport/app_cpu_intr_from_cpu_3_map.rs b/esp32/src/dport/app_cpu_intr_from_cpu_3_map.rs index 9f232c4c8b..202c308bab 100644 --- a/esp32/src/dport/app_cpu_intr_from_cpu_3_map.rs +++ b/esp32/src/dport/app_cpu_intr_from_cpu_3_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_cpu_intr_from_cpu_3_map( &mut self, ) -> APP_CPU_INTR_FROM_CPU_3_MAP_W { diff --git a/esp32/src/dport/app_cpu_record_ctrl.rs b/esp32/src/dport/app_cpu_record_ctrl.rs index dde31a2d18..7a832f1dd7 100644 --- a/esp32/src/dport/app_cpu_record_ctrl.rs +++ b/esp32/src/dport/app_cpu_record_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn app_cpu_record_enable(&mut self) -> APP_CPU_RECORD_ENABLE_W { APP_CPU_RECORD_ENABLE_W::new(self, 0) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn app_cpu_record_disable(&mut self) -> APP_CPU_RECORD_DISABLE_W { APP_CPU_RECORD_DISABLE_W::new(self, 4) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn app_cpu_pdebug_enable(&mut self) -> APP_CPU_PDEBUG_ENABLE_W { APP_CPU_PDEBUG_ENABLE_W::new(self, 8) } diff --git a/esp32/src/dport/app_dcache_dbug0.rs b/esp32/src/dport/app_dcache_dbug0.rs index 0916328843..92053bf5bb 100644 --- a/esp32/src/dport/app_dcache_dbug0.rs +++ b/esp32/src/dport/app_dcache_dbug0.rs @@ -88,7 +88,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn app_slave_wdata(&mut self) -> APP_SLAVE_WDATA_W { APP_SLAVE_WDATA_W::new(self, 0) } diff --git a/esp32/src/dport/app_dcache_dbug3.rs b/esp32/src/dport/app_dcache_dbug3.rs index e6e7fcd67c..38573a743c 100644 --- a/esp32/src/dport/app_dcache_dbug3.rs +++ b/esp32/src/dport/app_dcache_dbug3.rs @@ -122,7 +122,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn app_cpu_disabled_cache_ia_opposite( &mut self, ) -> APP_CPU_DISABLED_CACHE_IA_OPPOSITE_W { @@ -130,7 +129,6 @@ impl W { } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn app_cpu_disabled_cache_ia_dram1( &mut self, ) -> APP_CPU_DISABLED_CACHE_IA_DRAM1_W { @@ -138,7 +136,6 @@ impl W { } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn app_cpu_disabled_cache_ia_irom0( &mut self, ) -> APP_CPU_DISABLED_CACHE_IA_IROM0_W { @@ -146,7 +143,6 @@ impl W { } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn app_cpu_disabled_cache_ia_iram1( &mut self, ) -> APP_CPU_DISABLED_CACHE_IA_IRAM1_W { @@ -154,7 +150,6 @@ impl W { } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn app_cpu_disabled_cache_ia_iram0( &mut self, ) -> APP_CPU_DISABLED_CACHE_IA_IRAM0_W { @@ -162,7 +157,6 @@ impl W { } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn app_cpu_disabled_cache_ia_drom0( &mut self, ) -> APP_CPU_DISABLED_CACHE_IA_DROM0_W { diff --git a/esp32/src/dport/app_dport_apb_mask0.rs b/esp32/src/dport/app_dport_apb_mask0.rs index 8bf1eb3606..5605acc70b 100644 --- a/esp32/src/dport/app_dport_apb_mask0.rs +++ b/esp32/src/dport/app_dport_apb_mask0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn appdport_apb_mask0(&mut self) -> APPDPORT_APB_MASK0_W { APPDPORT_APB_MASK0_W::new(self, 0) } diff --git a/esp32/src/dport/app_dport_apb_mask1.rs b/esp32/src/dport/app_dport_apb_mask1.rs index 18adbcfc8b..7f1ea43007 100644 --- a/esp32/src/dport/app_dport_apb_mask1.rs +++ b/esp32/src/dport/app_dport_apb_mask1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn appdport_apb_mask1(&mut self) -> APPDPORT_APB_MASK1_W { APPDPORT_APB_MASK1_W::new(self, 0) } diff --git a/esp32/src/dport/app_efuse_int_map.rs b/esp32/src/dport/app_efuse_int_map.rs index abb98ffb8f..9a965bdf57 100644 --- a/esp32/src/dport/app_efuse_int_map.rs +++ b/esp32/src/dport/app_efuse_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_efuse_int_map(&mut self) -> APP_EFUSE_INT_MAP_W { APP_EFUSE_INT_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_emac_int_map.rs b/esp32/src/dport/app_emac_int_map.rs index 9e9f9705e7..5351caf9c0 100644 --- a/esp32/src/dport/app_emac_int_map.rs +++ b/esp32/src/dport/app_emac_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_emac_int_map(&mut self) -> APP_EMAC_INT_MAP_W { APP_EMAC_INT_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_gpio_interrupt_map.rs b/esp32/src/dport/app_gpio_interrupt_map.rs index 9e9a578b08..5e7de57965 100644 --- a/esp32/src/dport/app_gpio_interrupt_map.rs +++ b/esp32/src/dport/app_gpio_interrupt_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_gpio_interrupt_app_map( &mut self, ) -> APP_GPIO_INTERRUPT_APP_MAP_W { diff --git a/esp32/src/dport/app_gpio_interrupt_nmi_map.rs b/esp32/src/dport/app_gpio_interrupt_nmi_map.rs index 825a40e065..708ebe2bf2 100644 --- a/esp32/src/dport/app_gpio_interrupt_nmi_map.rs +++ b/esp32/src/dport/app_gpio_interrupt_nmi_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_gpio_interrupt_app_nmi_map( &mut self, ) -> APP_GPIO_INTERRUPT_APP_NMI_MAP_W { diff --git a/esp32/src/dport/app_i2c_ext0_intr_map.rs b/esp32/src/dport/app_i2c_ext0_intr_map.rs index ac94441ca3..da20597fe6 100644 --- a/esp32/src/dport/app_i2c_ext0_intr_map.rs +++ b/esp32/src/dport/app_i2c_ext0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_i2c_ext0_intr_map(&mut self) -> APP_I2C_EXT0_INTR_MAP_W { APP_I2C_EXT0_INTR_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_i2c_ext1_intr_map.rs b/esp32/src/dport/app_i2c_ext1_intr_map.rs index 9e0b6a846e..c3bb1168dd 100644 --- a/esp32/src/dport/app_i2c_ext1_intr_map.rs +++ b/esp32/src/dport/app_i2c_ext1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_i2c_ext1_intr_map(&mut self) -> APP_I2C_EXT1_INTR_MAP_W { APP_I2C_EXT1_INTR_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_i2s0_int_map.rs b/esp32/src/dport/app_i2s0_int_map.rs index ebd14a5058..3ccd372050 100644 --- a/esp32/src/dport/app_i2s0_int_map.rs +++ b/esp32/src/dport/app_i2s0_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_i2s0_int_map(&mut self) -> APP_I2S0_INT_MAP_W { APP_I2S0_INT_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_i2s1_int_map.rs b/esp32/src/dport/app_i2s1_int_map.rs index e91c500b2f..a3e505c44a 100644 --- a/esp32/src/dport/app_i2s1_int_map.rs +++ b/esp32/src/dport/app_i2s1_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_i2s1_int_map(&mut self) -> APP_I2S1_INT_MAP_W { APP_I2S1_INT_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_intrusion_ctrl.rs b/esp32/src/dport/app_intrusion_ctrl.rs index 41d739b32d..14dc2fff63 100644 --- a/esp32/src/dport/app_intrusion_ctrl.rs +++ b/esp32/src/dport/app_intrusion_ctrl.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn app_intrusion_record_reset_n( &mut self, ) -> APP_INTRUSION_RECORD_RESET_N_W { diff --git a/esp32/src/dport/app_ledc_int_map.rs b/esp32/src/dport/app_ledc_int_map.rs index 9d694378d8..4c2d2cd2e3 100644 --- a/esp32/src/dport/app_ledc_int_map.rs +++ b/esp32/src/dport/app_ledc_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_ledc_int_map(&mut self) -> APP_LEDC_INT_MAP_W { APP_LEDC_INT_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_mac_intr_map.rs b/esp32/src/dport/app_mac_intr_map.rs index fef04563cc..50ca9eff23 100644 --- a/esp32/src/dport/app_mac_intr_map.rs +++ b/esp32/src/dport/app_mac_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_mac_intr_map(&mut self) -> APP_MAC_INTR_MAP_W { APP_MAC_INTR_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_mac_nmi_map.rs b/esp32/src/dport/app_mac_nmi_map.rs index 8aa9d22c9a..4b5fc6ee1a 100644 --- a/esp32/src/dport/app_mac_nmi_map.rs +++ b/esp32/src/dport/app_mac_nmi_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_mac_nmi_map(&mut self) -> APP_MAC_NMI_MAP_W { APP_MAC_NMI_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_mmu_ia_int_map.rs b/esp32/src/dport/app_mmu_ia_int_map.rs index 29be87bed2..344f7de428 100644 --- a/esp32/src/dport/app_mmu_ia_int_map.rs +++ b/esp32/src/dport/app_mmu_ia_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_mmu_ia_int_map(&mut self) -> APP_MMU_IA_INT_MAP_W { APP_MMU_IA_INT_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_mpu_ia_int_map.rs b/esp32/src/dport/app_mpu_ia_int_map.rs index 43f41394a2..ab2b4d3dab 100644 --- a/esp32/src/dport/app_mpu_ia_int_map.rs +++ b/esp32/src/dport/app_mpu_ia_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_mpu_ia_int_map(&mut self) -> APP_MPU_IA_INT_MAP_W { APP_MPU_IA_INT_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_pcnt_intr_map.rs b/esp32/src/dport/app_pcnt_intr_map.rs index 434dab7053..9a5847bfa3 100644 --- a/esp32/src/dport/app_pcnt_intr_map.rs +++ b/esp32/src/dport/app_pcnt_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_pcnt_intr_map(&mut self) -> APP_PCNT_INTR_MAP_W { APP_PCNT_INTR_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_pwm0_intr_map.rs b/esp32/src/dport/app_pwm0_intr_map.rs index 611777f6fa..9ec552cb2d 100644 --- a/esp32/src/dport/app_pwm0_intr_map.rs +++ b/esp32/src/dport/app_pwm0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_pwm0_intr_map(&mut self) -> APP_PWM0_INTR_MAP_W { APP_PWM0_INTR_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_pwm1_intr_map.rs b/esp32/src/dport/app_pwm1_intr_map.rs index 51aaf00df2..6b163b02bc 100644 --- a/esp32/src/dport/app_pwm1_intr_map.rs +++ b/esp32/src/dport/app_pwm1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_pwm1_intr_map(&mut self) -> APP_PWM1_INTR_MAP_W { APP_PWM1_INTR_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_pwm2_intr_map.rs b/esp32/src/dport/app_pwm2_intr_map.rs index 0adccf31d4..6e548c33b1 100644 --- a/esp32/src/dport/app_pwm2_intr_map.rs +++ b/esp32/src/dport/app_pwm2_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_pwm2_intr_map(&mut self) -> APP_PWM2_INTR_MAP_W { APP_PWM2_INTR_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_pwm3_intr_map.rs b/esp32/src/dport/app_pwm3_intr_map.rs index 161b53bc3d..d3deb937d7 100644 --- a/esp32/src/dport/app_pwm3_intr_map.rs +++ b/esp32/src/dport/app_pwm3_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_pwm3_intr_map(&mut self) -> APP_PWM3_INTR_MAP_W { APP_PWM3_INTR_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_rmt_intr_map.rs b/esp32/src/dport/app_rmt_intr_map.rs index 0d92542d63..ac6e6580b5 100644 --- a/esp32/src/dport/app_rmt_intr_map.rs +++ b/esp32/src/dport/app_rmt_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_rmt_intr_map(&mut self) -> APP_RMT_INTR_MAP_W { APP_RMT_INTR_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_rsa_intr_map.rs b/esp32/src/dport/app_rsa_intr_map.rs index 5fbf439030..44ad646a3e 100644 --- a/esp32/src/dport/app_rsa_intr_map.rs +++ b/esp32/src/dport/app_rsa_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_rsa_intr_map(&mut self) -> APP_RSA_INTR_MAP_W { APP_RSA_INTR_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_rtc_core_intr_map.rs b/esp32/src/dport/app_rtc_core_intr_map.rs index 2dad101a03..fe736f0225 100644 --- a/esp32/src/dport/app_rtc_core_intr_map.rs +++ b/esp32/src/dport/app_rtc_core_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_rtc_core_intr_map(&mut self) -> APP_RTC_CORE_INTR_MAP_W { APP_RTC_CORE_INTR_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_rwble_irq_map.rs b/esp32/src/dport/app_rwble_irq_map.rs index 8b5dee4dc2..318e96c4da 100644 --- a/esp32/src/dport/app_rwble_irq_map.rs +++ b/esp32/src/dport/app_rwble_irq_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_rwble_irq_map(&mut self) -> APP_RWBLE_IRQ_MAP_W { APP_RWBLE_IRQ_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_rwble_nmi_map.rs b/esp32/src/dport/app_rwble_nmi_map.rs index 7f5f650640..63dc5dd25a 100644 --- a/esp32/src/dport/app_rwble_nmi_map.rs +++ b/esp32/src/dport/app_rwble_nmi_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_rwble_nmi_map(&mut self) -> APP_RWBLE_NMI_MAP_W { APP_RWBLE_NMI_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_rwbt_irq_map.rs b/esp32/src/dport/app_rwbt_irq_map.rs index 0ca7a7a172..d70a1692f9 100644 --- a/esp32/src/dport/app_rwbt_irq_map.rs +++ b/esp32/src/dport/app_rwbt_irq_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_rwbt_irq_map(&mut self) -> APP_RWBT_IRQ_MAP_W { APP_RWBT_IRQ_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_rwbt_nmi_map.rs b/esp32/src/dport/app_rwbt_nmi_map.rs index 9117ae5c9c..95be8c0d84 100644 --- a/esp32/src/dport/app_rwbt_nmi_map.rs +++ b/esp32/src/dport/app_rwbt_nmi_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_rwbt_nmi_map(&mut self) -> APP_RWBT_NMI_MAP_W { APP_RWBT_NMI_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_sdio_host_interrupt_map.rs b/esp32/src/dport/app_sdio_host_interrupt_map.rs index ad81894bfe..4c35d35856 100644 --- a/esp32/src/dport/app_sdio_host_interrupt_map.rs +++ b/esp32/src/dport/app_sdio_host_interrupt_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_sdio_host_interrupt_map( &mut self, ) -> APP_SDIO_HOST_INTERRUPT_MAP_W { diff --git a/esp32/src/dport/app_slc0_intr_map.rs b/esp32/src/dport/app_slc0_intr_map.rs index ed9da9b5e1..7e2c07601f 100644 --- a/esp32/src/dport/app_slc0_intr_map.rs +++ b/esp32/src/dport/app_slc0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_slc0_intr_map(&mut self) -> APP_SLC0_INTR_MAP_W { APP_SLC0_INTR_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_slc1_intr_map.rs b/esp32/src/dport/app_slc1_intr_map.rs index 53a2194c5d..e2e3233b48 100644 --- a/esp32/src/dport/app_slc1_intr_map.rs +++ b/esp32/src/dport/app_slc1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_slc1_intr_map(&mut self) -> APP_SLC1_INTR_MAP_W { APP_SLC1_INTR_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_spi1_dma_int_map.rs b/esp32/src/dport/app_spi1_dma_int_map.rs index 799622af18..a30e9848e1 100644 --- a/esp32/src/dport/app_spi1_dma_int_map.rs +++ b/esp32/src/dport/app_spi1_dma_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_spi1_dma_int_map(&mut self) -> APP_SPI1_DMA_INT_MAP_W { APP_SPI1_DMA_INT_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_spi2_dma_int_map.rs b/esp32/src/dport/app_spi2_dma_int_map.rs index a7149dcf08..71249fba73 100644 --- a/esp32/src/dport/app_spi2_dma_int_map.rs +++ b/esp32/src/dport/app_spi2_dma_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_spi2_dma_int_map(&mut self) -> APP_SPI2_DMA_INT_MAP_W { APP_SPI2_DMA_INT_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_spi3_dma_int_map.rs b/esp32/src/dport/app_spi3_dma_int_map.rs index 41f69c6be2..6680955b22 100644 --- a/esp32/src/dport/app_spi3_dma_int_map.rs +++ b/esp32/src/dport/app_spi3_dma_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_spi3_dma_int_map(&mut self) -> APP_SPI3_DMA_INT_MAP_W { APP_SPI3_DMA_INT_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_spi_intr_0_map.rs b/esp32/src/dport/app_spi_intr_0_map.rs index 6df2e1938c..0cf70d38e2 100644 --- a/esp32/src/dport/app_spi_intr_0_map.rs +++ b/esp32/src/dport/app_spi_intr_0_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_spi_intr_0_map(&mut self) -> APP_SPI_INTR_0_MAP_W { APP_SPI_INTR_0_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_spi_intr_1_map.rs b/esp32/src/dport/app_spi_intr_1_map.rs index 0596641479..5f6db2e5f1 100644 --- a/esp32/src/dport/app_spi_intr_1_map.rs +++ b/esp32/src/dport/app_spi_intr_1_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_spi_intr_1_map(&mut self) -> APP_SPI_INTR_1_MAP_W { APP_SPI_INTR_1_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_spi_intr_2_map.rs b/esp32/src/dport/app_spi_intr_2_map.rs index 2eb55a0c4d..fff8a6e2a3 100644 --- a/esp32/src/dport/app_spi_intr_2_map.rs +++ b/esp32/src/dport/app_spi_intr_2_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_spi_intr_2_map(&mut self) -> APP_SPI_INTR_2_MAP_W { APP_SPI_INTR_2_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_spi_intr_3_map.rs b/esp32/src/dport/app_spi_intr_3_map.rs index 58d4efd86f..dff9783248 100644 --- a/esp32/src/dport/app_spi_intr_3_map.rs +++ b/esp32/src/dport/app_spi_intr_3_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_spi_intr_3_map(&mut self) -> APP_SPI_INTR_3_MAP_W { APP_SPI_INTR_3_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_tg1_lact_edge_int_map.rs b/esp32/src/dport/app_tg1_lact_edge_int_map.rs index 482de05f50..9f835d3fb4 100644 --- a/esp32/src/dport/app_tg1_lact_edge_int_map.rs +++ b/esp32/src/dport/app_tg1_lact_edge_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_tg1_lact_edge_int_map( &mut self, ) -> APP_TG1_LACT_EDGE_INT_MAP_W { diff --git a/esp32/src/dport/app_tg1_lact_level_int_map.rs b/esp32/src/dport/app_tg1_lact_level_int_map.rs index ec94749fb2..651e07a01c 100644 --- a/esp32/src/dport/app_tg1_lact_level_int_map.rs +++ b/esp32/src/dport/app_tg1_lact_level_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_tg1_lact_level_int_map( &mut self, ) -> APP_TG1_LACT_LEVEL_INT_MAP_W { diff --git a/esp32/src/dport/app_tg1_t0_edge_int_map.rs b/esp32/src/dport/app_tg1_t0_edge_int_map.rs index b2a4679531..1317e55786 100644 --- a/esp32/src/dport/app_tg1_t0_edge_int_map.rs +++ b/esp32/src/dport/app_tg1_t0_edge_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_tg1_t0_edge_int_map( &mut self, ) -> APP_TG1_T0_EDGE_INT_MAP_W { diff --git a/esp32/src/dport/app_tg1_t0_level_int_map.rs b/esp32/src/dport/app_tg1_t0_level_int_map.rs index 3c445491b5..54744e1463 100644 --- a/esp32/src/dport/app_tg1_t0_level_int_map.rs +++ b/esp32/src/dport/app_tg1_t0_level_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_tg1_t0_level_int_map( &mut self, ) -> APP_TG1_T0_LEVEL_INT_MAP_W { diff --git a/esp32/src/dport/app_tg1_t1_edge_int_map.rs b/esp32/src/dport/app_tg1_t1_edge_int_map.rs index e2baa8eb12..855040c7d8 100644 --- a/esp32/src/dport/app_tg1_t1_edge_int_map.rs +++ b/esp32/src/dport/app_tg1_t1_edge_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_tg1_t1_edge_int_map( &mut self, ) -> APP_TG1_T1_EDGE_INT_MAP_W { diff --git a/esp32/src/dport/app_tg1_t1_level_int_map.rs b/esp32/src/dport/app_tg1_t1_level_int_map.rs index 11e254110b..efb1a0c849 100644 --- a/esp32/src/dport/app_tg1_t1_level_int_map.rs +++ b/esp32/src/dport/app_tg1_t1_level_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_tg1_t1_level_int_map( &mut self, ) -> APP_TG1_T1_LEVEL_INT_MAP_W { diff --git a/esp32/src/dport/app_tg1_wdt_edge_int_map.rs b/esp32/src/dport/app_tg1_wdt_edge_int_map.rs index 89bdc59c4f..fa5e4f83fe 100644 --- a/esp32/src/dport/app_tg1_wdt_edge_int_map.rs +++ b/esp32/src/dport/app_tg1_wdt_edge_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_tg1_wdt_edge_int_map( &mut self, ) -> APP_TG1_WDT_EDGE_INT_MAP_W { diff --git a/esp32/src/dport/app_tg1_wdt_level_int_map.rs b/esp32/src/dport/app_tg1_wdt_level_int_map.rs index 97a9a6b6b5..2492242b3e 100644 --- a/esp32/src/dport/app_tg1_wdt_level_int_map.rs +++ b/esp32/src/dport/app_tg1_wdt_level_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_tg1_wdt_level_int_map( &mut self, ) -> APP_TG1_WDT_LEVEL_INT_MAP_W { diff --git a/esp32/src/dport/app_tg_lact_edge_int_map.rs b/esp32/src/dport/app_tg_lact_edge_int_map.rs index cbc4039946..0062c7be45 100644 --- a/esp32/src/dport/app_tg_lact_edge_int_map.rs +++ b/esp32/src/dport/app_tg_lact_edge_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_tg_lact_edge_int_map( &mut self, ) -> APP_TG_LACT_EDGE_INT_MAP_W { diff --git a/esp32/src/dport/app_tg_lact_level_int_map.rs b/esp32/src/dport/app_tg_lact_level_int_map.rs index dd1269d741..b9aeb71819 100644 --- a/esp32/src/dport/app_tg_lact_level_int_map.rs +++ b/esp32/src/dport/app_tg_lact_level_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_tg_lact_level_int_map( &mut self, ) -> APP_TG_LACT_LEVEL_INT_MAP_W { diff --git a/esp32/src/dport/app_tg_t0_edge_int_map.rs b/esp32/src/dport/app_tg_t0_edge_int_map.rs index b8d07796c2..c463592177 100644 --- a/esp32/src/dport/app_tg_t0_edge_int_map.rs +++ b/esp32/src/dport/app_tg_t0_edge_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_tg_t0_edge_int_map( &mut self, ) -> APP_TG_T0_EDGE_INT_MAP_W { diff --git a/esp32/src/dport/app_tg_t0_level_int_map.rs b/esp32/src/dport/app_tg_t0_level_int_map.rs index 95607cbb23..0964097318 100644 --- a/esp32/src/dport/app_tg_t0_level_int_map.rs +++ b/esp32/src/dport/app_tg_t0_level_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_tg_t0_level_int_map( &mut self, ) -> APP_TG_T0_LEVEL_INT_MAP_W { diff --git a/esp32/src/dport/app_tg_t1_edge_int_map.rs b/esp32/src/dport/app_tg_t1_edge_int_map.rs index 41976915a9..a85b6585a6 100644 --- a/esp32/src/dport/app_tg_t1_edge_int_map.rs +++ b/esp32/src/dport/app_tg_t1_edge_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_tg_t1_edge_int_map( &mut self, ) -> APP_TG_T1_EDGE_INT_MAP_W { diff --git a/esp32/src/dport/app_tg_t1_level_int_map.rs b/esp32/src/dport/app_tg_t1_level_int_map.rs index 550582b31e..4dae482148 100644 --- a/esp32/src/dport/app_tg_t1_level_int_map.rs +++ b/esp32/src/dport/app_tg_t1_level_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_tg_t1_level_int_map( &mut self, ) -> APP_TG_T1_LEVEL_INT_MAP_W { diff --git a/esp32/src/dport/app_tg_wdt_edge_int_map.rs b/esp32/src/dport/app_tg_wdt_edge_int_map.rs index 7dd06ecaca..10a1b7f4a0 100644 --- a/esp32/src/dport/app_tg_wdt_edge_int_map.rs +++ b/esp32/src/dport/app_tg_wdt_edge_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_tg_wdt_edge_int_map( &mut self, ) -> APP_TG_WDT_EDGE_INT_MAP_W { diff --git a/esp32/src/dport/app_tg_wdt_level_int_map.rs b/esp32/src/dport/app_tg_wdt_level_int_map.rs index 587aed5507..6a98c4c11e 100644 --- a/esp32/src/dport/app_tg_wdt_level_int_map.rs +++ b/esp32/src/dport/app_tg_wdt_level_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_tg_wdt_level_int_map( &mut self, ) -> APP_TG_WDT_LEVEL_INT_MAP_W { diff --git a/esp32/src/dport/app_timer_int1_map.rs b/esp32/src/dport/app_timer_int1_map.rs index 245c289ad5..4195cf1407 100644 --- a/esp32/src/dport/app_timer_int1_map.rs +++ b/esp32/src/dport/app_timer_int1_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_timer_int1_map(&mut self) -> APP_TIMER_INT1_MAP_W { APP_TIMER_INT1_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_timer_int2_map.rs b/esp32/src/dport/app_timer_int2_map.rs index 7eb79f8f73..028e448a06 100644 --- a/esp32/src/dport/app_timer_int2_map.rs +++ b/esp32/src/dport/app_timer_int2_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_timer_int2_map(&mut self) -> APP_TIMER_INT2_MAP_W { APP_TIMER_INT2_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_tracemem_ena.rs b/esp32/src/dport/app_tracemem_ena.rs index 0ad79e04b0..2f27a2edae 100644 --- a/esp32/src/dport/app_tracemem_ena.rs +++ b/esp32/src/dport/app_tracemem_ena.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn app_tracemem_ena(&mut self) -> APP_TRACEMEM_ENA_W { APP_TRACEMEM_ENA_W::new(self, 0) } diff --git a/esp32/src/dport/app_uart1_intr_map.rs b/esp32/src/dport/app_uart1_intr_map.rs index 514741b8fe..2ea9019a70 100644 --- a/esp32/src/dport/app_uart1_intr_map.rs +++ b/esp32/src/dport/app_uart1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_uart1_intr_map(&mut self) -> APP_UART1_INTR_MAP_W { APP_UART1_INTR_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_uart2_intr_map.rs b/esp32/src/dport/app_uart2_intr_map.rs index d95792bdcc..262b228064 100644 --- a/esp32/src/dport/app_uart2_intr_map.rs +++ b/esp32/src/dport/app_uart2_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_uart2_intr_map(&mut self) -> APP_UART2_INTR_MAP_W { APP_UART2_INTR_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_uart_intr_map.rs b/esp32/src/dport/app_uart_intr_map.rs index 588b7084c8..093d3bb84f 100644 --- a/esp32/src/dport/app_uart_intr_map.rs +++ b/esp32/src/dport/app_uart_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_uart_intr_map(&mut self) -> APP_UART_INTR_MAP_W { APP_UART_INTR_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_uhci0_intr_map.rs b/esp32/src/dport/app_uhci0_intr_map.rs index be41304e60..d8cb7bf88d 100644 --- a/esp32/src/dport/app_uhci0_intr_map.rs +++ b/esp32/src/dport/app_uhci0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_uhci0_intr_map(&mut self) -> APP_UHCI0_INTR_MAP_W { APP_UHCI0_INTR_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_uhci1_intr_map.rs b/esp32/src/dport/app_uhci1_intr_map.rs index f7ebfc2408..d6f908cb26 100644 --- a/esp32/src/dport/app_uhci1_intr_map.rs +++ b/esp32/src/dport/app_uhci1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_uhci1_intr_map(&mut self) -> APP_UHCI1_INTR_MAP_W { APP_UHCI1_INTR_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/app_vecbase_ctrl.rs b/esp32/src/dport/app_vecbase_ctrl.rs index 4df76e1d5e..55d5ddc0f4 100644 --- a/esp32/src/dport/app_vecbase_ctrl.rs +++ b/esp32/src/dport/app_vecbase_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn app_out_vecbase_sel(&mut self) -> APP_OUT_VECBASE_SEL_W { APP_OUT_VECBASE_SEL_W::new(self, 0) } diff --git a/esp32/src/dport/app_vecbase_set.rs b/esp32/src/dport/app_vecbase_set.rs index a425b403e3..ffff7e05c8 100644 --- a/esp32/src/dport/app_vecbase_set.rs +++ b/esp32/src/dport/app_vecbase_set.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21"] #[inline(always)] - #[must_use] pub fn app_out_vecbase(&mut self) -> APP_OUT_VECBASE_W { APP_OUT_VECBASE_W::new(self, 0) } diff --git a/esp32/src/dport/app_wdg_int_map.rs b/esp32/src/dport/app_wdg_int_map.rs index 540c96fca0..5eaed31ce5 100644 --- a/esp32/src/dport/app_wdg_int_map.rs +++ b/esp32/src/dport/app_wdg_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn app_wdg_int_map(&mut self) -> APP_WDG_INT_MAP_W { APP_WDG_INT_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/appcpu_ctrl_a.rs b/esp32/src/dport/appcpu_ctrl_a.rs index 5701d226eb..2480c4833b 100644 --- a/esp32/src/dport/appcpu_ctrl_a.rs +++ b/esp32/src/dport/appcpu_ctrl_a.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn appcpu_resetting(&mut self) -> APPCPU_RESETTING_W { APPCPU_RESETTING_W::new(self, 0) } diff --git a/esp32/src/dport/appcpu_ctrl_b.rs b/esp32/src/dport/appcpu_ctrl_b.rs index be1b7b496e..4273aab810 100644 --- a/esp32/src/dport/appcpu_ctrl_b.rs +++ b/esp32/src/dport/appcpu_ctrl_b.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn appcpu_clkgate_en(&mut self) -> APPCPU_CLKGATE_EN_W { APPCPU_CLKGATE_EN_W::new(self, 0) } diff --git a/esp32/src/dport/appcpu_ctrl_c.rs b/esp32/src/dport/appcpu_ctrl_c.rs index 96c2182d7d..4400bf3846 100644 --- a/esp32/src/dport/appcpu_ctrl_c.rs +++ b/esp32/src/dport/appcpu_ctrl_c.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn appcpu_runstall(&mut self) -> APPCPU_RUNSTALL_W { APPCPU_RUNSTALL_W::new(self, 0) } diff --git a/esp32/src/dport/appcpu_ctrl_d.rs b/esp32/src/dport/appcpu_ctrl_d.rs index f19ac34129..d80eae61ca 100644 --- a/esp32/src/dport/appcpu_ctrl_d.rs +++ b/esp32/src/dport/appcpu_ctrl_d.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn appcpu_boot_addr(&mut self) -> APPCPU_BOOT_ADDR_W { APPCPU_BOOT_ADDR_W::new(self, 0) } diff --git a/esp32/src/dport/bt_lpck_div_frac.rs b/esp32/src/dport/bt_lpck_div_frac.rs index 0047939543..07aa3a2a30 100644 --- a/esp32/src/dport/bt_lpck_div_frac.rs +++ b/esp32/src/dport/bt_lpck_div_frac.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11"] #[inline(always)] - #[must_use] pub fn bt_lpck_div_b(&mut self) -> BT_LPCK_DIV_B_W { BT_LPCK_DIV_B_W::new(self, 0) } #[doc = "Bits 12:23"] #[inline(always)] - #[must_use] pub fn bt_lpck_div_a(&mut self) -> BT_LPCK_DIV_A_W { BT_LPCK_DIV_A_W::new(self, 12) } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn lpclk_sel_rtc_slow(&mut self) -> LPCLK_SEL_RTC_SLOW_W { LPCLK_SEL_RTC_SLOW_W::new(self, 24) } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn lpclk_sel_8m(&mut self) -> LPCLK_SEL_8M_W { LPCLK_SEL_8M_W::new(self, 25) } #[doc = "Bit 26"] #[inline(always)] - #[must_use] pub fn lpclk_sel_xtal(&mut self) -> LPCLK_SEL_XTAL_W { LPCLK_SEL_XTAL_W::new(self, 26) } #[doc = "Bit 27"] #[inline(always)] - #[must_use] pub fn lpclk_sel_xtal32k(&mut self) -> LPCLK_SEL_XTAL32K_W { LPCLK_SEL_XTAL32K_W::new(self, 27) } diff --git a/esp32/src/dport/bt_lpck_div_int.rs b/esp32/src/dport/bt_lpck_div_int.rs index c77fd8f105..c978bd84dd 100644 --- a/esp32/src/dport/bt_lpck_div_int.rs +++ b/esp32/src/dport/bt_lpck_div_int.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11"] #[inline(always)] - #[must_use] pub fn bt_lpck_div_num(&mut self) -> BT_LPCK_DIV_NUM_W { BT_LPCK_DIV_NUM_W::new(self, 0) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn btextwakeup_req(&mut self) -> BTEXTWAKEUP_REQ_W { BTEXTWAKEUP_REQ_W::new(self, 12) } diff --git a/esp32/src/dport/cache_ia_int_en.rs b/esp32/src/dport/cache_ia_int_en.rs index ece38d6fe3..e40bc210fd 100644 --- a/esp32/src/dport/cache_ia_int_en.rs +++ b/esp32/src/dport/cache_ia_int_en.rs @@ -150,43 +150,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Interrupt enable bits for various invalid cache access reasons"] #[inline(always)] - #[must_use] pub fn cache_ia_int_en(&mut self) -> CACHE_IA_INT_EN_W { CACHE_IA_INT_EN_W::new(self, 0) } #[doc = "Bit 0 - APP CPU invalid access to DROM0 when cache is disabled"] #[inline(always)] - #[must_use] pub fn cache_ia_int_app_drom0(&mut self) -> CACHE_IA_INT_APP_DROM0_W { CACHE_IA_INT_APP_DROM0_W::new(self, 0) } #[doc = "Bit 1 - APP CPU invalid access to IRAM0 when cache is disabled"] #[inline(always)] - #[must_use] pub fn cache_ia_int_app_iram0(&mut self) -> CACHE_IA_INT_APP_IRAM0_W { CACHE_IA_INT_APP_IRAM0_W::new(self, 1) } #[doc = "Bit 2 - APP CPU invalid access to IRAM1 when cache is disabled"] #[inline(always)] - #[must_use] pub fn cache_ia_int_app_iram1(&mut self) -> CACHE_IA_INT_APP_IRAM1_W { CACHE_IA_INT_APP_IRAM1_W::new(self, 2) } #[doc = "Bit 3 - APP CPU invalid access to IROM0 when cache is disabled"] #[inline(always)] - #[must_use] pub fn cache_ia_int_app_irom0(&mut self) -> CACHE_IA_INT_APP_IROM0_W { CACHE_IA_INT_APP_IROM0_W::new(self, 3) } #[doc = "Bit 4 - APP CPU invalid access to DRAM1 when cache is disabled"] #[inline(always)] - #[must_use] pub fn cache_ia_int_app_dram1(&mut self) -> CACHE_IA_INT_APP_DRAM1_W { CACHE_IA_INT_APP_DRAM1_W::new(self, 4) } #[doc = "Bit 5 - APP CPU invalid access to APP CPU cache when cache disabled"] #[inline(always)] - #[must_use] pub fn cache_ia_int_app_opposite( &mut self, ) -> CACHE_IA_INT_APP_OPPOSITE_W { @@ -194,37 +187,31 @@ impl W { } #[doc = "Bit 14 - PRO CPU invalid access to DROM0 when cache is disabled"] #[inline(always)] - #[must_use] pub fn cache_ia_int_pro_drom0(&mut self) -> CACHE_IA_INT_PRO_DROM0_W { CACHE_IA_INT_PRO_DROM0_W::new(self, 14) } #[doc = "Bit 15 - PRO CPU invalid access to IRAM0 when cache is disabled"] #[inline(always)] - #[must_use] pub fn cache_ia_int_pro_iram0(&mut self) -> CACHE_IA_INT_PRO_IRAM0_W { CACHE_IA_INT_PRO_IRAM0_W::new(self, 15) } #[doc = "Bit 16 - PRO CPU invalid access to IRAM1 when cache is disabled"] #[inline(always)] - #[must_use] pub fn cache_ia_int_pro_iram1(&mut self) -> CACHE_IA_INT_PRO_IRAM1_W { CACHE_IA_INT_PRO_IRAM1_W::new(self, 16) } #[doc = "Bit 17 - PRO CPU invalid access to IROM0 when cache is disabled"] #[inline(always)] - #[must_use] pub fn cache_ia_int_pro_irom0(&mut self) -> CACHE_IA_INT_PRO_IROM0_W { CACHE_IA_INT_PRO_IROM0_W::new(self, 17) } #[doc = "Bit 18 - PRO CPU invalid access to DRAM1 when cache is disabled"] #[inline(always)] - #[must_use] pub fn cache_ia_int_pro_dram1(&mut self) -> CACHE_IA_INT_PRO_DRAM1_W { CACHE_IA_INT_PRO_DRAM1_W::new(self, 18) } #[doc = "Bit 19 - PRO CPU invalid access to APP CPU cache when cache disabled"] #[inline(always)] - #[must_use] pub fn cache_ia_int_pro_opposite( &mut self, ) -> CACHE_IA_INT_PRO_OPPOSITE_W { diff --git a/esp32/src/dport/cache_mux_mode.rs b/esp32/src/dport/cache_mux_mode.rs index 4b4291a65b..5b4f16b985 100644 --- a/esp32/src/dport/cache_mux_mode.rs +++ b/esp32/src/dport/cache_mux_mode.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn cache_mux_mode(&mut self) -> CACHE_MUX_MODE_W { CACHE_MUX_MODE_W::new(self, 0) } diff --git a/esp32/src/dport/core_rst_en.rs b/esp32/src/dport/core_rst_en.rs index 03e0efe68f..0b27d5fdd8 100644 --- a/esp32/src/dport/core_rst_en.rs +++ b/esp32/src/dport/core_rst_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn core_rst(&mut self) -> CORE_RST_W { CORE_RST_W::new(self, 0) } diff --git a/esp32/src/dport/cpu_intr_from_cpu_0.rs b/esp32/src/dport/cpu_intr_from_cpu_0.rs index 6668ba4c7c..ca7aa48022 100644 --- a/esp32/src/dport/cpu_intr_from_cpu_0.rs +++ b/esp32/src/dport/cpu_intr_from_cpu_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_0(&mut self) -> CPU_INTR_FROM_CPU_0_W { CPU_INTR_FROM_CPU_0_W::new(self, 0) } diff --git a/esp32/src/dport/cpu_intr_from_cpu_1.rs b/esp32/src/dport/cpu_intr_from_cpu_1.rs index 5421f9cc5b..815b5229ef 100644 --- a/esp32/src/dport/cpu_intr_from_cpu_1.rs +++ b/esp32/src/dport/cpu_intr_from_cpu_1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_1(&mut self) -> CPU_INTR_FROM_CPU_1_W { CPU_INTR_FROM_CPU_1_W::new(self, 0) } diff --git a/esp32/src/dport/cpu_intr_from_cpu_2.rs b/esp32/src/dport/cpu_intr_from_cpu_2.rs index dc046caf80..42d02cc885 100644 --- a/esp32/src/dport/cpu_intr_from_cpu_2.rs +++ b/esp32/src/dport/cpu_intr_from_cpu_2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_2(&mut self) -> CPU_INTR_FROM_CPU_2_W { CPU_INTR_FROM_CPU_2_W::new(self, 0) } diff --git a/esp32/src/dport/cpu_intr_from_cpu_3.rs b/esp32/src/dport/cpu_intr_from_cpu_3.rs index de0bb3f51b..51a3f73d92 100644 --- a/esp32/src/dport/cpu_intr_from_cpu_3.rs +++ b/esp32/src/dport/cpu_intr_from_cpu_3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_3(&mut self) -> CPU_INTR_FROM_CPU_3_W { CPU_INTR_FROM_CPU_3_W::new(self, 0) } diff --git a/esp32/src/dport/cpu_per_conf.rs b/esp32/src/dport/cpu_per_conf.rs index 518e3463aa..e4b1031778 100644 --- a/esp32/src/dport/cpu_per_conf.rs +++ b/esp32/src/dport/cpu_per_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn cpuperiod_sel(&mut self) -> CPUPERIOD_SEL_W { CPUPERIOD_SEL_W::new(self, 0) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn lowspeed_clk_sel(&mut self) -> LOWSPEED_CLK_SEL_W { LOWSPEED_CLK_SEL_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn fast_clk_rtc_sel(&mut self) -> FAST_CLK_RTC_SEL_W { FAST_CLK_RTC_SEL_W::new(self, 3) } diff --git a/esp32/src/dport/date.rs b/esp32/src/dport/date.rs index e10531cbfa..5cdc80604c 100644 --- a/esp32/src/dport/date.rs +++ b/esp32/src/dport/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32/src/dport/dmmu_page_mode.rs b/esp32/src/dport/dmmu_page_mode.rs index 558cd7a095..5d8c82f147 100644 --- a/esp32/src/dport/dmmu_page_mode.rs +++ b/esp32/src/dport/dmmu_page_mode.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn internal_sram_dmmu_ena(&mut self) -> INTERNAL_SRAM_DMMU_ENA_W { INTERNAL_SRAM_DMMU_ENA_W::new(self, 0) } #[doc = "Bits 1:2"] #[inline(always)] - #[must_use] pub fn dmmu_page_mode(&mut self) -> DMMU_PAGE_MODE_W { DMMU_PAGE_MODE_W::new(self, 1) } diff --git a/esp32/src/dport/dmmu_table0.rs b/esp32/src/dport/dmmu_table0.rs index 83d6a61da6..1b1552f9d7 100644 --- a/esp32/src/dport/dmmu_table0.rs +++ b/esp32/src/dport/dmmu_table0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn dmmu_table0(&mut self) -> DMMU_TABLE0_W { DMMU_TABLE0_W::new(self, 0) } diff --git a/esp32/src/dport/dmmu_table1.rs b/esp32/src/dport/dmmu_table1.rs index 4f0dd610eb..040270a7cf 100644 --- a/esp32/src/dport/dmmu_table1.rs +++ b/esp32/src/dport/dmmu_table1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn dmmu_table1(&mut self) -> DMMU_TABLE1_W { DMMU_TABLE1_W::new(self, 0) } diff --git a/esp32/src/dport/dmmu_table10.rs b/esp32/src/dport/dmmu_table10.rs index 28211a001d..b96421faf2 100644 --- a/esp32/src/dport/dmmu_table10.rs +++ b/esp32/src/dport/dmmu_table10.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn dmmu_table10(&mut self) -> DMMU_TABLE10_W { DMMU_TABLE10_W::new(self, 0) } diff --git a/esp32/src/dport/dmmu_table11.rs b/esp32/src/dport/dmmu_table11.rs index 3efe9fd316..89ea6d6bdc 100644 --- a/esp32/src/dport/dmmu_table11.rs +++ b/esp32/src/dport/dmmu_table11.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn dmmu_table11(&mut self) -> DMMU_TABLE11_W { DMMU_TABLE11_W::new(self, 0) } diff --git a/esp32/src/dport/dmmu_table12.rs b/esp32/src/dport/dmmu_table12.rs index 019fe06f17..4677a58f91 100644 --- a/esp32/src/dport/dmmu_table12.rs +++ b/esp32/src/dport/dmmu_table12.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn dmmu_table12(&mut self) -> DMMU_TABLE12_W { DMMU_TABLE12_W::new(self, 0) } diff --git a/esp32/src/dport/dmmu_table13.rs b/esp32/src/dport/dmmu_table13.rs index 3c5465fff2..f5cc7595c7 100644 --- a/esp32/src/dport/dmmu_table13.rs +++ b/esp32/src/dport/dmmu_table13.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn dmmu_table13(&mut self) -> DMMU_TABLE13_W { DMMU_TABLE13_W::new(self, 0) } diff --git a/esp32/src/dport/dmmu_table14.rs b/esp32/src/dport/dmmu_table14.rs index 68e9d8e38c..6a8c75afef 100644 --- a/esp32/src/dport/dmmu_table14.rs +++ b/esp32/src/dport/dmmu_table14.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn dmmu_table14(&mut self) -> DMMU_TABLE14_W { DMMU_TABLE14_W::new(self, 0) } diff --git a/esp32/src/dport/dmmu_table15.rs b/esp32/src/dport/dmmu_table15.rs index 4eaf59efd1..7ba925e3b0 100644 --- a/esp32/src/dport/dmmu_table15.rs +++ b/esp32/src/dport/dmmu_table15.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn dmmu_table15(&mut self) -> DMMU_TABLE15_W { DMMU_TABLE15_W::new(self, 0) } diff --git a/esp32/src/dport/dmmu_table2.rs b/esp32/src/dport/dmmu_table2.rs index 9b4becdb7f..4b9644b0c4 100644 --- a/esp32/src/dport/dmmu_table2.rs +++ b/esp32/src/dport/dmmu_table2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn dmmu_table2(&mut self) -> DMMU_TABLE2_W { DMMU_TABLE2_W::new(self, 0) } diff --git a/esp32/src/dport/dmmu_table3.rs b/esp32/src/dport/dmmu_table3.rs index b8db45dc2d..62aaebf945 100644 --- a/esp32/src/dport/dmmu_table3.rs +++ b/esp32/src/dport/dmmu_table3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn dmmu_table3(&mut self) -> DMMU_TABLE3_W { DMMU_TABLE3_W::new(self, 0) } diff --git a/esp32/src/dport/dmmu_table4.rs b/esp32/src/dport/dmmu_table4.rs index 449e07a8d1..e0294dc1fd 100644 --- a/esp32/src/dport/dmmu_table4.rs +++ b/esp32/src/dport/dmmu_table4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn dmmu_table4(&mut self) -> DMMU_TABLE4_W { DMMU_TABLE4_W::new(self, 0) } diff --git a/esp32/src/dport/dmmu_table5.rs b/esp32/src/dport/dmmu_table5.rs index d98c2002ee..bbf7c9089b 100644 --- a/esp32/src/dport/dmmu_table5.rs +++ b/esp32/src/dport/dmmu_table5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn dmmu_table5(&mut self) -> DMMU_TABLE5_W { DMMU_TABLE5_W::new(self, 0) } diff --git a/esp32/src/dport/dmmu_table6.rs b/esp32/src/dport/dmmu_table6.rs index 6cd617bd23..6062288508 100644 --- a/esp32/src/dport/dmmu_table6.rs +++ b/esp32/src/dport/dmmu_table6.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn dmmu_table6(&mut self) -> DMMU_TABLE6_W { DMMU_TABLE6_W::new(self, 0) } diff --git a/esp32/src/dport/dmmu_table7.rs b/esp32/src/dport/dmmu_table7.rs index c996edc270..bf6557be70 100644 --- a/esp32/src/dport/dmmu_table7.rs +++ b/esp32/src/dport/dmmu_table7.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn dmmu_table7(&mut self) -> DMMU_TABLE7_W { DMMU_TABLE7_W::new(self, 0) } diff --git a/esp32/src/dport/dmmu_table8.rs b/esp32/src/dport/dmmu_table8.rs index cde54d1356..edf209c50a 100644 --- a/esp32/src/dport/dmmu_table8.rs +++ b/esp32/src/dport/dmmu_table8.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn dmmu_table8(&mut self) -> DMMU_TABLE8_W { DMMU_TABLE8_W::new(self, 0) } diff --git a/esp32/src/dport/dmmu_table9.rs b/esp32/src/dport/dmmu_table9.rs index dbd79faf6c..46aa2e8bcd 100644 --- a/esp32/src/dport/dmmu_table9.rs +++ b/esp32/src/dport/dmmu_table9.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn dmmu_table9(&mut self) -> DMMU_TABLE9_W { DMMU_TABLE9_W::new(self, 0) } diff --git a/esp32/src/dport/front_end_mem_pd.rs b/esp32/src/dport/front_end_mem_pd.rs index 2f53663e4c..ac7fb5049b 100644 --- a/esp32/src/dport/front_end_mem_pd.rs +++ b/esp32/src/dport/front_end_mem_pd.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn agc_mem_force_pu(&mut self) -> AGC_MEM_FORCE_PU_W { AGC_MEM_FORCE_PU_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn agc_mem_force_pd(&mut self) -> AGC_MEM_FORCE_PD_W { AGC_MEM_FORCE_PD_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn pbus_mem_force_pu(&mut self) -> PBUS_MEM_FORCE_PU_W { PBUS_MEM_FORCE_PU_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn pbus_mem_force_pd(&mut self) -> PBUS_MEM_FORCE_PD_W { PBUS_MEM_FORCE_PD_W::new(self, 3) } diff --git a/esp32/src/dport/host_inf_sel.rs b/esp32/src/dport/host_inf_sel.rs index 41c1fe5cdb..71ceb1ac99 100644 --- a/esp32/src/dport/host_inf_sel.rs +++ b/esp32/src/dport/host_inf_sel.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn peri_io_swap(&mut self) -> PERI_IO_SWAP_W { PERI_IO_SWAP_W::new(self, 0) } #[doc = "Bits 8:15"] #[inline(always)] - #[must_use] pub fn link_device_sel(&mut self) -> LINK_DEVICE_SEL_W { LINK_DEVICE_SEL_W::new(self, 8) } diff --git a/esp32/src/dport/immu_page_mode.rs b/esp32/src/dport/immu_page_mode.rs index dd85131d28..d49a43f314 100644 --- a/esp32/src/dport/immu_page_mode.rs +++ b/esp32/src/dport/immu_page_mode.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn internal_sram_immu_ena(&mut self) -> INTERNAL_SRAM_IMMU_ENA_W { INTERNAL_SRAM_IMMU_ENA_W::new(self, 0) } #[doc = "Bits 1:2"] #[inline(always)] - #[must_use] pub fn immu_page_mode(&mut self) -> IMMU_PAGE_MODE_W { IMMU_PAGE_MODE_W::new(self, 1) } diff --git a/esp32/src/dport/immu_table0.rs b/esp32/src/dport/immu_table0.rs index 54b723d8cf..75b51ff1a5 100644 --- a/esp32/src/dport/immu_table0.rs +++ b/esp32/src/dport/immu_table0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn immu_table0(&mut self) -> IMMU_TABLE0_W { IMMU_TABLE0_W::new(self, 0) } diff --git a/esp32/src/dport/immu_table1.rs b/esp32/src/dport/immu_table1.rs index 41e5f98424..7afb17edf0 100644 --- a/esp32/src/dport/immu_table1.rs +++ b/esp32/src/dport/immu_table1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn immu_table1(&mut self) -> IMMU_TABLE1_W { IMMU_TABLE1_W::new(self, 0) } diff --git a/esp32/src/dport/immu_table10.rs b/esp32/src/dport/immu_table10.rs index ed33c380b1..2398ec80a4 100644 --- a/esp32/src/dport/immu_table10.rs +++ b/esp32/src/dport/immu_table10.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn immu_table10(&mut self) -> IMMU_TABLE10_W { IMMU_TABLE10_W::new(self, 0) } diff --git a/esp32/src/dport/immu_table11.rs b/esp32/src/dport/immu_table11.rs index 9b6b216d15..88f2d1b27a 100644 --- a/esp32/src/dport/immu_table11.rs +++ b/esp32/src/dport/immu_table11.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn immu_table11(&mut self) -> IMMU_TABLE11_W { IMMU_TABLE11_W::new(self, 0) } diff --git a/esp32/src/dport/immu_table12.rs b/esp32/src/dport/immu_table12.rs index 3aa5205493..67b15c75fa 100644 --- a/esp32/src/dport/immu_table12.rs +++ b/esp32/src/dport/immu_table12.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn immu_table12(&mut self) -> IMMU_TABLE12_W { IMMU_TABLE12_W::new(self, 0) } diff --git a/esp32/src/dport/immu_table13.rs b/esp32/src/dport/immu_table13.rs index 604f0b3f14..ece958b07f 100644 --- a/esp32/src/dport/immu_table13.rs +++ b/esp32/src/dport/immu_table13.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn immu_table13(&mut self) -> IMMU_TABLE13_W { IMMU_TABLE13_W::new(self, 0) } diff --git a/esp32/src/dport/immu_table14.rs b/esp32/src/dport/immu_table14.rs index 7b935f3ab3..1b8e366596 100644 --- a/esp32/src/dport/immu_table14.rs +++ b/esp32/src/dport/immu_table14.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn immu_table14(&mut self) -> IMMU_TABLE14_W { IMMU_TABLE14_W::new(self, 0) } diff --git a/esp32/src/dport/immu_table15.rs b/esp32/src/dport/immu_table15.rs index f2a9e1fc45..2fc7ea75fc 100644 --- a/esp32/src/dport/immu_table15.rs +++ b/esp32/src/dport/immu_table15.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn immu_table15(&mut self) -> IMMU_TABLE15_W { IMMU_TABLE15_W::new(self, 0) } diff --git a/esp32/src/dport/immu_table2.rs b/esp32/src/dport/immu_table2.rs index 70c2beb401..9540c38179 100644 --- a/esp32/src/dport/immu_table2.rs +++ b/esp32/src/dport/immu_table2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn immu_table2(&mut self) -> IMMU_TABLE2_W { IMMU_TABLE2_W::new(self, 0) } diff --git a/esp32/src/dport/immu_table3.rs b/esp32/src/dport/immu_table3.rs index 5e69ba80c5..076e027943 100644 --- a/esp32/src/dport/immu_table3.rs +++ b/esp32/src/dport/immu_table3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn immu_table3(&mut self) -> IMMU_TABLE3_W { IMMU_TABLE3_W::new(self, 0) } diff --git a/esp32/src/dport/immu_table4.rs b/esp32/src/dport/immu_table4.rs index 03faa3e152..72acfa63dd 100644 --- a/esp32/src/dport/immu_table4.rs +++ b/esp32/src/dport/immu_table4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn immu_table4(&mut self) -> IMMU_TABLE4_W { IMMU_TABLE4_W::new(self, 0) } diff --git a/esp32/src/dport/immu_table5.rs b/esp32/src/dport/immu_table5.rs index 85f43f7a65..e606687882 100644 --- a/esp32/src/dport/immu_table5.rs +++ b/esp32/src/dport/immu_table5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn immu_table5(&mut self) -> IMMU_TABLE5_W { IMMU_TABLE5_W::new(self, 0) } diff --git a/esp32/src/dport/immu_table6.rs b/esp32/src/dport/immu_table6.rs index 2eec32385c..3632e185ad 100644 --- a/esp32/src/dport/immu_table6.rs +++ b/esp32/src/dport/immu_table6.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn immu_table6(&mut self) -> IMMU_TABLE6_W { IMMU_TABLE6_W::new(self, 0) } diff --git a/esp32/src/dport/immu_table7.rs b/esp32/src/dport/immu_table7.rs index 5e4094e4e6..d400d74260 100644 --- a/esp32/src/dport/immu_table7.rs +++ b/esp32/src/dport/immu_table7.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn immu_table7(&mut self) -> IMMU_TABLE7_W { IMMU_TABLE7_W::new(self, 0) } diff --git a/esp32/src/dport/immu_table8.rs b/esp32/src/dport/immu_table8.rs index e205d6c506..fd791144d3 100644 --- a/esp32/src/dport/immu_table8.rs +++ b/esp32/src/dport/immu_table8.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn immu_table8(&mut self) -> IMMU_TABLE8_W { IMMU_TABLE8_W::new(self, 0) } diff --git a/esp32/src/dport/immu_table9.rs b/esp32/src/dport/immu_table9.rs index 4fdca6411b..6bfe04aeef 100644 --- a/esp32/src/dport/immu_table9.rs +++ b/esp32/src/dport/immu_table9.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn immu_table9(&mut self) -> IMMU_TABLE9_W { IMMU_TABLE9_W::new(self, 0) } diff --git a/esp32/src/dport/iram_dram_ahb_sel.rs b/esp32/src/dport/iram_dram_ahb_sel.rs index 8e3eff809e..f14c701b3a 100644 --- a/esp32/src/dport/iram_dram_ahb_sel.rs +++ b/esp32/src/dport/iram_dram_ahb_sel.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn mask_pro_iram(&mut self) -> MASK_PRO_IRAM_W { MASK_PRO_IRAM_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn mask_app_iram(&mut self) -> MASK_APP_IRAM_W { MASK_APP_IRAM_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn mask_pro_dram(&mut self) -> MASK_PRO_DRAM_W { MASK_PRO_DRAM_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn mask_app_dram(&mut self) -> MASK_APP_DRAM_W { MASK_APP_DRAM_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn mask_ahb(&mut self) -> MASK_AHB_W { MASK_AHB_W::new(self, 4) } #[doc = "Bits 5:6"] #[inline(always)] - #[must_use] pub fn mac_dump_mode(&mut self) -> MAC_DUMP_MODE_W { MAC_DUMP_MODE_W::new(self, 5) } diff --git a/esp32/src/dport/mem_pd_mask.rs b/esp32/src/dport/mem_pd_mask.rs index 5725af8864..cb6970fdbb 100644 --- a/esp32/src/dport/mem_pd_mask.rs +++ b/esp32/src/dport/mem_pd_mask.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn lslp_mem_pd_mask(&mut self) -> LSLP_MEM_PD_MASK_W { LSLP_MEM_PD_MASK_W::new(self, 0) } diff --git a/esp32/src/dport/mmu_ia_int_en.rs b/esp32/src/dport/mmu_ia_int_en.rs index 713a44b990..e4b82d279a 100644 --- a/esp32/src/dport/mmu_ia_int_en.rs +++ b/esp32/src/dport/mmu_ia_int_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23"] #[inline(always)] - #[must_use] pub fn mmu_ia_int_en(&mut self) -> MMU_IA_INT_EN_W { MMU_IA_INT_EN_W::new(self, 0) } diff --git a/esp32/src/dport/mpu_ia_int_en.rs b/esp32/src/dport/mpu_ia_int_en.rs index 8e30e03b1f..6be89a8599 100644 --- a/esp32/src/dport/mpu_ia_int_en.rs +++ b/esp32/src/dport/mpu_ia_int_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:16"] #[inline(always)] - #[must_use] pub fn mpu_ia_int_en(&mut self) -> MPU_IA_INT_EN_W { MPU_IA_INT_EN_W::new(self, 0) } diff --git a/esp32/src/dport/peri_clk_en.rs b/esp32/src/dport/peri_clk_en.rs index cc00229d49..cb81a00d4c 100644 --- a/esp32/src/dport/peri_clk_en.rs +++ b/esp32/src/dport/peri_clk_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn peri_clk_en(&mut self) -> PERI_CLK_EN_W { PERI_CLK_EN_W::new(self, 0) } diff --git a/esp32/src/dport/peri_rst_en.rs b/esp32/src/dport/peri_rst_en.rs index aabaa24990..92c8fa65b5 100644 --- a/esp32/src/dport/peri_rst_en.rs +++ b/esp32/src/dport/peri_rst_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn peri_rst_en(&mut self) -> PERI_RST_EN_W { PERI_RST_EN_W::new(self, 0) } diff --git a/esp32/src/dport/perip_clk_en.rs b/esp32/src/dport/perip_clk_en.rs index 83e7eecdad..b95b54efe9 100644 --- a/esp32/src/dport/perip_clk_en.rs +++ b/esp32/src/dport/perip_clk_en.rs @@ -284,163 +284,136 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn timers_clk_en(&mut self) -> TIMERS_CLK_EN_W { TIMERS_CLK_EN_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn spi01_clk_en(&mut self) -> SPI01_CLK_EN_W { SPI01_CLK_EN_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn uart_clk_en(&mut self) -> UART_CLK_EN_W { UART_CLK_EN_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn wdg_clk_en(&mut self) -> WDG_CLK_EN_W { WDG_CLK_EN_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn i2s0_clk_en(&mut self) -> I2S0_CLK_EN_W { I2S0_CLK_EN_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn uart1_clk_en(&mut self) -> UART1_CLK_EN_W { UART1_CLK_EN_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn spi2_clk_en(&mut self) -> SPI2_CLK_EN_W { SPI2_CLK_EN_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn i2c0_ext0_clk_en(&mut self) -> I2C0_EXT0_CLK_EN_W { I2C0_EXT0_CLK_EN_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn uhci0_clk_en(&mut self) -> UHCI0_CLK_EN_W { UHCI0_CLK_EN_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn rmt_clk_en(&mut self) -> RMT_CLK_EN_W { RMT_CLK_EN_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn pcnt_clk_en(&mut self) -> PCNT_CLK_EN_W { PCNT_CLK_EN_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn ledc_clk_en(&mut self) -> LEDC_CLK_EN_W { LEDC_CLK_EN_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn uhci1_clk_en(&mut self) -> UHCI1_CLK_EN_W { UHCI1_CLK_EN_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn timergroup_clk_en(&mut self) -> TIMERGROUP_CLK_EN_W { TIMERGROUP_CLK_EN_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn efuse_clk_en(&mut self) -> EFUSE_CLK_EN_W { EFUSE_CLK_EN_W::new(self, 14) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn timergroup1_clk_en(&mut self) -> TIMERGROUP1_CLK_EN_W { TIMERGROUP1_CLK_EN_W::new(self, 15) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn spi3_clk_en(&mut self) -> SPI3_CLK_EN_W { SPI3_CLK_EN_W::new(self, 16) } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn pwm0_clk_en(&mut self) -> PWM0_CLK_EN_W { PWM0_CLK_EN_W::new(self, 17) } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn i2c_ext1_clk_en(&mut self) -> I2C_EXT1_CLK_EN_W { I2C_EXT1_CLK_EN_W::new(self, 18) } #[doc = "Bit 19"] #[inline(always)] - #[must_use] pub fn twai_clk_en(&mut self) -> TWAI_CLK_EN_W { TWAI_CLK_EN_W::new(self, 19) } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn pwm1_clk_en(&mut self) -> PWM1_CLK_EN_W { PWM1_CLK_EN_W::new(self, 20) } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn i2s1_clk_en(&mut self) -> I2S1_CLK_EN_W { I2S1_CLK_EN_W::new(self, 21) } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn spi_dma_clk_en(&mut self) -> SPI_DMA_CLK_EN_W { SPI_DMA_CLK_EN_W::new(self, 22) } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn uart2_clk_en(&mut self) -> UART2_CLK_EN_W { UART2_CLK_EN_W::new(self, 23) } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn uart_mem_clk_en(&mut self) -> UART_MEM_CLK_EN_W { UART_MEM_CLK_EN_W::new(self, 24) } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn pwm2_clk_en(&mut self) -> PWM2_CLK_EN_W { PWM2_CLK_EN_W::new(self, 25) } #[doc = "Bit 26"] #[inline(always)] - #[must_use] pub fn pwm3_clk_en(&mut self) -> PWM3_CLK_EN_W { PWM3_CLK_EN_W::new(self, 26) } diff --git a/esp32/src/dport/perip_rst_en.rs b/esp32/src/dport/perip_rst_en.rs index 4104814c0a..552fd2f7ba 100644 --- a/esp32/src/dport/perip_rst_en.rs +++ b/esp32/src/dport/perip_rst_en.rs @@ -284,163 +284,136 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn timers_rst(&mut self) -> TIMERS_RST_W { TIMERS_RST_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn spi01_rst(&mut self) -> SPI01_RST_W { SPI01_RST_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn uart_rst(&mut self) -> UART_RST_W { UART_RST_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn wdg_rst(&mut self) -> WDG_RST_W { WDG_RST_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn i2s0_rst(&mut self) -> I2S0_RST_W { I2S0_RST_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn uart1_rst(&mut self) -> UART1_RST_W { UART1_RST_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn spi2_rst(&mut self) -> SPI2_RST_W { SPI2_RST_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn i2c0_ext0_rst(&mut self) -> I2C0_EXT0_RST_W { I2C0_EXT0_RST_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn uhci0_rst(&mut self) -> UHCI0_RST_W { UHCI0_RST_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn rmt_rst(&mut self) -> RMT_RST_W { RMT_RST_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn pcnt_rst(&mut self) -> PCNT_RST_W { PCNT_RST_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn ledc_rst(&mut self) -> LEDC_RST_W { LEDC_RST_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn uhci1_rst(&mut self) -> UHCI1_RST_W { UHCI1_RST_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn timergroup_rst(&mut self) -> TIMERGROUP_RST_W { TIMERGROUP_RST_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn efuse_rst(&mut self) -> EFUSE_RST_W { EFUSE_RST_W::new(self, 14) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn timergroup1_rst(&mut self) -> TIMERGROUP1_RST_W { TIMERGROUP1_RST_W::new(self, 15) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn spi3_rst(&mut self) -> SPI3_RST_W { SPI3_RST_W::new(self, 16) } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn pwm0_rst(&mut self) -> PWM0_RST_W { PWM0_RST_W::new(self, 17) } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn i2c_ext1_rst(&mut self) -> I2C_EXT1_RST_W { I2C_EXT1_RST_W::new(self, 18) } #[doc = "Bit 19"] #[inline(always)] - #[must_use] pub fn twai_rst(&mut self) -> TWAI_RST_W { TWAI_RST_W::new(self, 19) } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn pwm1_rst(&mut self) -> PWM1_RST_W { PWM1_RST_W::new(self, 20) } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn i2s1_rst(&mut self) -> I2S1_RST_W { I2S1_RST_W::new(self, 21) } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn spi_dma_rst(&mut self) -> SPI_DMA_RST_W { SPI_DMA_RST_W::new(self, 22) } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn uart2_rst(&mut self) -> UART2_RST_W { UART2_RST_W::new(self, 23) } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn uart_mem_rst(&mut self) -> UART_MEM_RST_W { UART_MEM_RST_W::new(self, 24) } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn pwm2_rst(&mut self) -> PWM2_RST_W { PWM2_RST_W::new(self, 25) } #[doc = "Bit 26"] #[inline(always)] - #[must_use] pub fn pwm3_rst(&mut self) -> PWM3_RST_W { PWM3_RST_W::new(self, 26) } diff --git a/esp32/src/dport/pro_bb_int_map.rs b/esp32/src/dport/pro_bb_int_map.rs index 7b2133dda8..483afab3a4 100644 --- a/esp32/src/dport/pro_bb_int_map.rs +++ b/esp32/src/dport/pro_bb_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_bb_int_map(&mut self) -> PRO_BB_INT_MAP_W { PRO_BB_INT_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_boot_remap_ctrl.rs b/esp32/src/dport/pro_boot_remap_ctrl.rs index 50d965109c..a0f1c3ed5a 100644 --- a/esp32/src/dport/pro_boot_remap_ctrl.rs +++ b/esp32/src/dport/pro_boot_remap_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn pro_boot_remap(&mut self) -> PRO_BOOT_REMAP_W { PRO_BOOT_REMAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_bt_bb_int_map.rs b/esp32/src/dport/pro_bt_bb_int_map.rs index 86f338e12d..18894a00da 100644 --- a/esp32/src/dport/pro_bt_bb_int_map.rs +++ b/esp32/src/dport/pro_bt_bb_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_bt_bb_int_map(&mut self) -> PRO_BT_BB_INT_MAP_W { PRO_BT_BB_INT_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_bt_bb_nmi_map.rs b/esp32/src/dport/pro_bt_bb_nmi_map.rs index f1f45a5a7f..4e5c3fd40f 100644 --- a/esp32/src/dport/pro_bt_bb_nmi_map.rs +++ b/esp32/src/dport/pro_bt_bb_nmi_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_bt_bb_nmi_map(&mut self) -> PRO_BT_BB_NMI_MAP_W { PRO_BT_BB_NMI_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_bt_mac_int_map.rs b/esp32/src/dport/pro_bt_mac_int_map.rs index 00109763ce..f452d3013a 100644 --- a/esp32/src/dport/pro_bt_mac_int_map.rs +++ b/esp32/src/dport/pro_bt_mac_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_bt_mac_int_map(&mut self) -> PRO_BT_MAC_INT_MAP_W { PRO_BT_MAC_INT_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_cache_ctrl.rs b/esp32/src/dport/pro_cache_ctrl.rs index a57e358628..22cef8a971 100644 --- a/esp32/src/dport/pro_cache_ctrl.rs +++ b/esp32/src/dport/pro_cache_ctrl.rs @@ -154,61 +154,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn pro_cache_mode(&mut self) -> PRO_CACHE_MODE_W { PRO_CACHE_MODE_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn pro_cache_enable(&mut self) -> PRO_CACHE_ENABLE_W { PRO_CACHE_ENABLE_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn pro_cache_flush_ena(&mut self) -> PRO_CACHE_FLUSH_ENA_W { PRO_CACHE_FLUSH_ENA_W::new(self, 4) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn pro_cache_lock_0_en(&mut self) -> PRO_CACHE_LOCK_0_EN_W { PRO_CACHE_LOCK_0_EN_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn pro_cache_lock_1_en(&mut self) -> PRO_CACHE_LOCK_1_EN_W { PRO_CACHE_LOCK_1_EN_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn pro_cache_lock_2_en(&mut self) -> PRO_CACHE_LOCK_2_EN_W { PRO_CACHE_LOCK_2_EN_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn pro_cache_lock_3_en(&mut self) -> PRO_CACHE_LOCK_3_EN_W { PRO_CACHE_LOCK_3_EN_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn pro_single_iram_ena(&mut self) -> PRO_SINGLE_IRAM_ENA_W { PRO_SINGLE_IRAM_ENA_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn pro_dram_split(&mut self) -> PRO_DRAM_SPLIT_W { PRO_DRAM_SPLIT_W::new(self, 11) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn pro_dram_hl(&mut self) -> PRO_DRAM_HL_W { PRO_DRAM_HL_W::new(self, 16) } diff --git a/esp32/src/dport/pro_cache_ctrl1.rs b/esp32/src/dport/pro_cache_ctrl1.rs index 8ce5c51c0f..3d659875d7 100644 --- a/esp32/src/dport/pro_cache_ctrl1.rs +++ b/esp32/src/dport/pro_cache_ctrl1.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn pro_cache_mask_iram0(&mut self) -> PRO_CACHE_MASK_IRAM0_W { PRO_CACHE_MASK_IRAM0_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn pro_cache_mask_iram1(&mut self) -> PRO_CACHE_MASK_IRAM1_W { PRO_CACHE_MASK_IRAM1_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn pro_cache_mask_irom0(&mut self) -> PRO_CACHE_MASK_IROM0_W { PRO_CACHE_MASK_IROM0_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn pro_cache_mask_dram1(&mut self) -> PRO_CACHE_MASK_DRAM1_W { PRO_CACHE_MASK_DRAM1_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn pro_cache_mask_drom0(&mut self) -> PRO_CACHE_MASK_DROM0_W { PRO_CACHE_MASK_DROM0_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn pro_cache_mask_opsdram(&mut self) -> PRO_CACHE_MASK_OPSDRAM_W { PRO_CACHE_MASK_OPSDRAM_W::new(self, 5) } #[doc = "Bits 6:8"] #[inline(always)] - #[must_use] pub fn pro_cmmu_sram_page_mode(&mut self) -> PRO_CMMU_SRAM_PAGE_MODE_W { PRO_CMMU_SRAM_PAGE_MODE_W::new(self, 6) } #[doc = "Bits 9:10"] #[inline(always)] - #[must_use] pub fn pro_cmmu_flash_page_mode(&mut self) -> PRO_CMMU_FLASH_PAGE_MODE_W { PRO_CMMU_FLASH_PAGE_MODE_W::new(self, 9) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn pro_cmmu_force_on(&mut self) -> PRO_CMMU_FORCE_ON_W { PRO_CMMU_FORCE_ON_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn pro_cmmu_pd(&mut self) -> PRO_CMMU_PD_W { PRO_CMMU_PD_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn pro_cache_mmu_ia_clr(&mut self) -> PRO_CACHE_MMU_IA_CLR_W { PRO_CACHE_MMU_IA_CLR_W::new(self, 13) } diff --git a/esp32/src/dport/pro_cache_ia_int_map.rs b/esp32/src/dport/pro_cache_ia_int_map.rs index d403cc062c..6739a1ec71 100644 --- a/esp32/src/dport/pro_cache_ia_int_map.rs +++ b/esp32/src/dport/pro_cache_ia_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_cache_ia_int_map(&mut self) -> PRO_CACHE_IA_INT_MAP_W { PRO_CACHE_IA_INT_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_cache_lock_0_addr.rs b/esp32/src/dport/pro_cache_lock_0_addr.rs index 861c034a06..dff4726b05 100644 --- a/esp32/src/dport/pro_cache_lock_0_addr.rs +++ b/esp32/src/dport/pro_cache_lock_0_addr.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13"] #[inline(always)] - #[must_use] pub fn pre(&mut self) -> PRE_W { PRE_W::new(self, 0) } #[doc = "Bits 14:17"] #[inline(always)] - #[must_use] pub fn min(&mut self) -> MIN_W { MIN_W::new(self, 14) } #[doc = "Bits 18:21"] #[inline(always)] - #[must_use] pub fn max(&mut self) -> MAX_W { MAX_W::new(self, 18) } diff --git a/esp32/src/dport/pro_cache_lock_1_addr.rs b/esp32/src/dport/pro_cache_lock_1_addr.rs index 7b48424971..f0ccf31598 100644 --- a/esp32/src/dport/pro_cache_lock_1_addr.rs +++ b/esp32/src/dport/pro_cache_lock_1_addr.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13"] #[inline(always)] - #[must_use] pub fn pre(&mut self) -> PRE_W { PRE_W::new(self, 0) } #[doc = "Bits 14:17"] #[inline(always)] - #[must_use] pub fn min(&mut self) -> MIN_W { MIN_W::new(self, 14) } #[doc = "Bits 18:21"] #[inline(always)] - #[must_use] pub fn max(&mut self) -> MAX_W { MAX_W::new(self, 18) } diff --git a/esp32/src/dport/pro_cache_lock_2_addr.rs b/esp32/src/dport/pro_cache_lock_2_addr.rs index b69fcfb655..451af3d899 100644 --- a/esp32/src/dport/pro_cache_lock_2_addr.rs +++ b/esp32/src/dport/pro_cache_lock_2_addr.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13"] #[inline(always)] - #[must_use] pub fn pre(&mut self) -> PRE_W { PRE_W::new(self, 0) } #[doc = "Bits 14:17"] #[inline(always)] - #[must_use] pub fn min(&mut self) -> MIN_W { MIN_W::new(self, 14) } #[doc = "Bits 18:21"] #[inline(always)] - #[must_use] pub fn max(&mut self) -> MAX_W { MAX_W::new(self, 18) } diff --git a/esp32/src/dport/pro_cache_lock_3_addr.rs b/esp32/src/dport/pro_cache_lock_3_addr.rs index 0a0f282983..daf35f5346 100644 --- a/esp32/src/dport/pro_cache_lock_3_addr.rs +++ b/esp32/src/dport/pro_cache_lock_3_addr.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13"] #[inline(always)] - #[must_use] pub fn pre(&mut self) -> PRE_W { PRE_W::new(self, 0) } #[doc = "Bits 14:17"] #[inline(always)] - #[must_use] pub fn min(&mut self) -> MIN_W { MIN_W::new(self, 14) } #[doc = "Bits 18:21"] #[inline(always)] - #[must_use] pub fn max(&mut self) -> MAX_W { MAX_W::new(self, 18) } diff --git a/esp32/src/dport/pro_can_int_map.rs b/esp32/src/dport/pro_can_int_map.rs index 65e58003ed..2691ede81f 100644 --- a/esp32/src/dport/pro_can_int_map.rs +++ b/esp32/src/dport/pro_can_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_can_int_map(&mut self) -> PRO_CAN_INT_MAP_W { PRO_CAN_INT_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_cpu_intr_from_cpu_0_map.rs b/esp32/src/dport/pro_cpu_intr_from_cpu_0_map.rs index 27d8745590..aa62537938 100644 --- a/esp32/src/dport/pro_cpu_intr_from_cpu_0_map.rs +++ b/esp32/src/dport/pro_cpu_intr_from_cpu_0_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_cpu_intr_from_cpu_0_map( &mut self, ) -> PRO_CPU_INTR_FROM_CPU_0_MAP_W { diff --git a/esp32/src/dport/pro_cpu_intr_from_cpu_1_map.rs b/esp32/src/dport/pro_cpu_intr_from_cpu_1_map.rs index 67672558cf..b3db597d68 100644 --- a/esp32/src/dport/pro_cpu_intr_from_cpu_1_map.rs +++ b/esp32/src/dport/pro_cpu_intr_from_cpu_1_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_cpu_intr_from_cpu_1_map( &mut self, ) -> PRO_CPU_INTR_FROM_CPU_1_MAP_W { diff --git a/esp32/src/dport/pro_cpu_intr_from_cpu_2_map.rs b/esp32/src/dport/pro_cpu_intr_from_cpu_2_map.rs index 08d714b67c..d95064e381 100644 --- a/esp32/src/dport/pro_cpu_intr_from_cpu_2_map.rs +++ b/esp32/src/dport/pro_cpu_intr_from_cpu_2_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_cpu_intr_from_cpu_2_map( &mut self, ) -> PRO_CPU_INTR_FROM_CPU_2_MAP_W { diff --git a/esp32/src/dport/pro_cpu_intr_from_cpu_3_map.rs b/esp32/src/dport/pro_cpu_intr_from_cpu_3_map.rs index d8c316e86f..27c9bf0df6 100644 --- a/esp32/src/dport/pro_cpu_intr_from_cpu_3_map.rs +++ b/esp32/src/dport/pro_cpu_intr_from_cpu_3_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_cpu_intr_from_cpu_3_map( &mut self, ) -> PRO_CPU_INTR_FROM_CPU_3_MAP_W { diff --git a/esp32/src/dport/pro_cpu_record_ctrl.rs b/esp32/src/dport/pro_cpu_record_ctrl.rs index f3a799af2c..2f71ea7531 100644 --- a/esp32/src/dport/pro_cpu_record_ctrl.rs +++ b/esp32/src/dport/pro_cpu_record_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn pro_cpu_record_enable(&mut self) -> PRO_CPU_RECORD_ENABLE_W { PRO_CPU_RECORD_ENABLE_W::new(self, 0) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn pro_cpu_record_disable(&mut self) -> PRO_CPU_RECORD_DISABLE_W { PRO_CPU_RECORD_DISABLE_W::new(self, 4) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn pro_cpu_pdebug_enable(&mut self) -> PRO_CPU_PDEBUG_ENABLE_W { PRO_CPU_PDEBUG_ENABLE_W::new(self, 8) } diff --git a/esp32/src/dport/pro_cpu_record_pdebugdata.rs b/esp32/src/dport/pro_cpu_record_pdebugdata.rs index 801ddbb104..a8253bafb8 100644 --- a/esp32/src/dport/pro_cpu_record_pdebugdata.rs +++ b/esp32/src/dport/pro_cpu_record_pdebugdata.rs @@ -419,7 +419,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn record_pdebugdata_dep_other( &mut self, ) -> RECORD_PDEBUGDATA_DEP_OTHER_W { @@ -427,7 +426,6 @@ impl W { } #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn record_pdebugdata_excvec( &mut self, ) -> RECORD_PDEBUGDATA_EXCVEC_W { @@ -435,7 +433,6 @@ impl W { } #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn record_pdebugdata_insntype_sr( &mut self, ) -> RECORD_PDEBUGDATA_INSNTYPE_SR_W { @@ -443,7 +440,6 @@ impl W { } #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn record_pdebugdata_insntype_rer( &mut self, ) -> RECORD_PDEBUGDATA_INSNTYPE_RER_W { @@ -451,7 +447,6 @@ impl W { } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn record_pdebugdata_stall_buff( &mut self, ) -> RECORD_PDEBUGDATA_STALL_BUFF_W { @@ -459,7 +454,6 @@ impl W { } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn record_pdebugdata_insntype_wer( &mut self, ) -> RECORD_PDEBUGDATA_INSNTYPE_WER_W { @@ -467,7 +461,6 @@ impl W { } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn record_pdebugdata_stall_buffconfl( &mut self, ) -> RECORD_PDEBUGDATA_STALL_BUFFCONFL_W { @@ -475,7 +468,6 @@ impl W { } #[doc = "Bits 2:13"] #[inline(always)] - #[must_use] pub fn record_pdebugdata_insntype_er( &mut self, ) -> RECORD_PDEBUGDATA_INSNTYPE_ER_W { @@ -483,7 +475,6 @@ impl W { } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn record_pdebugdata_stall_dcm( &mut self, ) -> RECORD_PDEBUGDATA_STALL_DCM_W { @@ -491,7 +482,6 @@ impl W { } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn record_pdebugdata_stall_lsu( &mut self, ) -> RECORD_PDEBUGDATA_STALL_LSU_W { @@ -499,7 +489,6 @@ impl W { } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn record_pdebugdata_stall_icm( &mut self, ) -> RECORD_PDEBUGDATA_STALL_ICM_W { @@ -507,7 +496,6 @@ impl W { } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn record_pdebugdata_stall_irambusy( &mut self, ) -> RECORD_PDEBUGDATA_STALL_IRAMBUSY_W { @@ -515,7 +503,6 @@ impl W { } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn record_pdebugdata_dep_lsu( &mut self, ) -> RECORD_PDEBUGDATA_DEP_LSU_W { @@ -523,7 +510,6 @@ impl W { } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn record_pdebugdata_stall_ipif( &mut self, ) -> RECORD_PDEBUGDATA_STALL_IPIF_W { @@ -531,7 +517,6 @@ impl W { } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn record_pdebugdata_insntype_rsr( &mut self, ) -> RECORD_PDEBUGDATA_INSNTYPE_RSR_W { @@ -539,7 +524,6 @@ impl W { } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn record_pdebugdata_stall_tie( &mut self, ) -> RECORD_PDEBUGDATA_STALL_TIE_W { @@ -547,7 +531,6 @@ impl W { } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn record_pdebugdata_insntype_wsr( &mut self, ) -> RECORD_PDEBUGDATA_INSNTYPE_WSR_W { @@ -555,7 +538,6 @@ impl W { } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn record_pdebugdata_stall_run( &mut self, ) -> RECORD_PDEBUGDATA_STALL_RUN_W { @@ -563,7 +545,6 @@ impl W { } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn record_pdebugdata_insntype_xsr( &mut self, ) -> RECORD_PDEBUGDATA_INSNTYPE_XSR_W { @@ -571,7 +552,6 @@ impl W { } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn record_pdebugdata_dep_str( &mut self, ) -> RECORD_PDEBUGDATA_DEP_STR_W { @@ -579,7 +559,6 @@ impl W { } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn record_pdebugdata_dep( &mut self, ) -> RECORD_PDEBUGDATA_DEP_W { @@ -587,7 +566,6 @@ impl W { } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn record_pdebugdata_stall_bpifetch( &mut self, ) -> RECORD_PDEBUGDATA_STALL_BPIFETCH_W { @@ -595,7 +573,6 @@ impl W { } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn record_pdebugdata_stall_l32r( &mut self, ) -> RECORD_PDEBUGDATA_STALL_L32R_W { @@ -603,7 +580,6 @@ impl W { } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn record_pdebugdata_stall_lsproc( &mut self, ) -> RECORD_PDEBUGDATA_STALL_LSPROC_W { @@ -611,7 +587,6 @@ impl W { } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn record_pdebugdata_stall_bpload( &mut self, ) -> RECORD_PDEBUGDATA_STALL_BPLOAD_W { @@ -619,7 +594,6 @@ impl W { } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn record_pdebugdata_dep_memw( &mut self, ) -> RECORD_PDEBUGDATA_DEP_MEMW_W { @@ -627,7 +601,6 @@ impl W { } #[doc = "Bits 16:21"] #[inline(always)] - #[must_use] pub fn record_pdebugdata_exccause( &mut self, ) -> RECORD_PDEBUGDATA_EXCCAUSE_W { @@ -635,7 +608,6 @@ impl W { } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn record_pdebugdata_stall_bankconfl( &mut self, ) -> RECORD_PDEBUGDATA_STALL_BANKCONFL_W { @@ -643,7 +615,6 @@ impl W { } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn record_pdebugdata_dep_halt( &mut self, ) -> RECORD_PDEBUGDATA_DEP_HALT_W { @@ -651,7 +622,6 @@ impl W { } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn record_pdebugdata_stall_itermul( &mut self, ) -> RECORD_PDEBUGDATA_STALL_ITERMUL_W { @@ -659,7 +629,6 @@ impl W { } #[doc = "Bit 19"] #[inline(always)] - #[must_use] pub fn record_pdebugdata_stall_iterdiv( &mut self, ) -> RECORD_PDEBUGDATA_STALL_ITERDIV_W { diff --git a/esp32/src/dport/pro_cpu_record_pdebuginst.rs b/esp32/src/dport/pro_cpu_record_pdebuginst.rs index 79134d66e6..1569fbd9fb 100644 --- a/esp32/src/dport/pro_cpu_record_pdebuginst.rs +++ b/esp32/src/dport/pro_cpu_record_pdebuginst.rs @@ -75,7 +75,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn record_pdebuginst_sz( &mut self, ) -> RECORD_PDEBUGINST_SZ_W { @@ -83,7 +82,6 @@ impl W { } #[doc = "Bits 12:14"] #[inline(always)] - #[must_use] pub fn record_pdebuginst_isrc( &mut self, ) -> RECORD_PDEBUGINST_ISRC_W { @@ -91,7 +89,6 @@ impl W { } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn record_pdebuginst_loop_rep( &mut self, ) -> RECORD_PDEBUGINST_LOOP_REP_W { @@ -99,7 +96,6 @@ impl W { } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn record_pdebuginst_loop( &mut self, ) -> RECORD_PDEBUGINST_LOOP_W { @@ -107,7 +103,6 @@ impl W { } #[doc = "Bits 24:27"] #[inline(always)] - #[must_use] pub fn record_pdebuginst_cintl( &mut self, ) -> RECORD_PDEBUGINST_CINTL_W { diff --git a/esp32/src/dport/pro_cpu_record_pdebugls0stat.rs b/esp32/src/dport/pro_cpu_record_pdebugls0stat.rs index a331c28c5e..39a1e8148a 100644 --- a/esp32/src/dport/pro_cpu_record_pdebugls0stat.rs +++ b/esp32/src/dport/pro_cpu_record_pdebugls0stat.rs @@ -131,7 +131,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3"] #[inline(always)] - #[must_use] pub fn record_pdebugls0stat_type( &mut self, ) -> RECORD_PDEBUGLS0STAT_TYPE_W { @@ -139,7 +138,6 @@ impl W { } #[doc = "Bits 4:7"] #[inline(always)] - #[must_use] pub fn record_pdebugls0stat_sz( &mut self, ) -> RECORD_PDEBUGLS0STAT_SZ_W { @@ -147,7 +145,6 @@ impl W { } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn record_pdebugls0stat_dtlbm( &mut self, ) -> RECORD_PDEBUGLS0STAT_DTLBM_W { @@ -155,7 +152,6 @@ impl W { } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn record_pdebugls0stat_dcm( &mut self, ) -> RECORD_PDEBUGLS0STAT_DCM_W { @@ -163,7 +159,6 @@ impl W { } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn record_pdebugls0stat_dch( &mut self, ) -> RECORD_PDEBUGLS0STAT_DCH_W { @@ -171,7 +166,6 @@ impl W { } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn record_pdebugls0stat_uc( &mut self, ) -> RECORD_PDEBUGLS0STAT_UC_W { @@ -179,7 +173,6 @@ impl W { } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn record_pdebugls0stat_wb( &mut self, ) -> RECORD_PDEBUGLS0STAT_WB_W { @@ -187,7 +180,6 @@ impl W { } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn record_pdebugls0stat_coh( &mut self, ) -> RECORD_PDEBUGLS0STAT_COH_W { @@ -195,7 +187,6 @@ impl W { } #[doc = "Bits 17:18"] #[inline(always)] - #[must_use] pub fn record_pdebugls0stat_stcoh( &mut self, ) -> RECORD_PDEBUGLS0STAT_STCOH_W { @@ -203,7 +194,6 @@ impl W { } #[doc = "Bits 20:23"] #[inline(always)] - #[must_use] pub fn record_pdebugls0stat_tgt( &mut self, ) -> RECORD_PDEBUGLS0STAT_TGT_W { diff --git a/esp32/src/dport/pro_cpu_record_pdebugstatus.rs b/esp32/src/dport/pro_cpu_record_pdebugstatus.rs index 25b14953ba..45f27d8c67 100644 --- a/esp32/src/dport/pro_cpu_record_pdebugstatus.rs +++ b/esp32/src/dport/pro_cpu_record_pdebugstatus.rs @@ -48,7 +48,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn record_pdebugstatus_bbcause( &mut self, ) -> RECORD_PDEBUGSTATUS_BBCAUSE_W { @@ -56,7 +55,6 @@ impl W { } #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn record_pdebugstatus_insntype( &mut self, ) -> RECORD_PDEBUGSTATUS_INSNTYPE_W { diff --git a/esp32/src/dport/pro_dcache_dbug0.rs b/esp32/src/dport/pro_dcache_dbug0.rs index b73260d638..b4ea46a8fb 100644 --- a/esp32/src/dport/pro_dcache_dbug0.rs +++ b/esp32/src/dport/pro_dcache_dbug0.rs @@ -88,7 +88,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn pro_slave_wdata(&mut self) -> PRO_SLAVE_WDATA_W { PRO_SLAVE_WDATA_W::new(self, 0) } diff --git a/esp32/src/dport/pro_dcache_dbug3.rs b/esp32/src/dport/pro_dcache_dbug3.rs index 26e677c029..ff42bffc92 100644 --- a/esp32/src/dport/pro_dcache_dbug3.rs +++ b/esp32/src/dport/pro_dcache_dbug3.rs @@ -122,7 +122,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn pro_cpu_disabled_cache_ia_opposite( &mut self, ) -> PRO_CPU_DISABLED_CACHE_IA_OPPOSITE_W { @@ -130,7 +129,6 @@ impl W { } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn pro_cpu_disabled_cache_ia_dram1( &mut self, ) -> PRO_CPU_DISABLED_CACHE_IA_DRAM1_W { @@ -138,7 +136,6 @@ impl W { } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn pro_cpu_disabled_cache_ia_irom0( &mut self, ) -> PRO_CPU_DISABLED_CACHE_IA_IROM0_W { @@ -146,7 +143,6 @@ impl W { } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn pro_cpu_disabled_cache_ia_iram1( &mut self, ) -> PRO_CPU_DISABLED_CACHE_IA_IRAM1_W { @@ -154,7 +150,6 @@ impl W { } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn pro_cpu_disabled_cache_ia_iram0( &mut self, ) -> PRO_CPU_DISABLED_CACHE_IA_IRAM0_W { @@ -162,7 +157,6 @@ impl W { } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn pro_cpu_disabled_cache_ia_drom0( &mut self, ) -> PRO_CPU_DISABLED_CACHE_IA_DROM0_W { diff --git a/esp32/src/dport/pro_dport_apb_mask0.rs b/esp32/src/dport/pro_dport_apb_mask0.rs index 7c77b4ffbb..30f8136ac9 100644 --- a/esp32/src/dport/pro_dport_apb_mask0.rs +++ b/esp32/src/dport/pro_dport_apb_mask0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn prodport_apb_mask0(&mut self) -> PRODPORT_APB_MASK0_W { PRODPORT_APB_MASK0_W::new(self, 0) } diff --git a/esp32/src/dport/pro_dport_apb_mask1.rs b/esp32/src/dport/pro_dport_apb_mask1.rs index e7cff38da7..aac3ee5e51 100644 --- a/esp32/src/dport/pro_dport_apb_mask1.rs +++ b/esp32/src/dport/pro_dport_apb_mask1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn prodport_apb_mask1(&mut self) -> PRODPORT_APB_MASK1_W { PRODPORT_APB_MASK1_W::new(self, 0) } diff --git a/esp32/src/dport/pro_efuse_int_map.rs b/esp32/src/dport/pro_efuse_int_map.rs index 2f4f68b56d..992dac7e09 100644 --- a/esp32/src/dport/pro_efuse_int_map.rs +++ b/esp32/src/dport/pro_efuse_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_efuse_int_map(&mut self) -> PRO_EFUSE_INT_MAP_W { PRO_EFUSE_INT_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_emac_int_map.rs b/esp32/src/dport/pro_emac_int_map.rs index b946d44d09..2f4a338cfa 100644 --- a/esp32/src/dport/pro_emac_int_map.rs +++ b/esp32/src/dport/pro_emac_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_emac_int_map(&mut self) -> PRO_EMAC_INT_MAP_W { PRO_EMAC_INT_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_gpio_interrupt_map.rs b/esp32/src/dport/pro_gpio_interrupt_map.rs index ee4af59c84..e9ddf63923 100644 --- a/esp32/src/dport/pro_gpio_interrupt_map.rs +++ b/esp32/src/dport/pro_gpio_interrupt_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_gpio_interrupt_pro_map( &mut self, ) -> PRO_GPIO_INTERRUPT_PRO_MAP_W { diff --git a/esp32/src/dport/pro_gpio_interrupt_nmi_map.rs b/esp32/src/dport/pro_gpio_interrupt_nmi_map.rs index aad671b32c..82b1813b1d 100644 --- a/esp32/src/dport/pro_gpio_interrupt_nmi_map.rs +++ b/esp32/src/dport/pro_gpio_interrupt_nmi_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_gpio_interrupt_pro_nmi_map( &mut self, ) -> PRO_GPIO_INTERRUPT_PRO_NMI_MAP_W { diff --git a/esp32/src/dport/pro_i2c_ext0_intr_map.rs b/esp32/src/dport/pro_i2c_ext0_intr_map.rs index a8799de9f2..ff9820b992 100644 --- a/esp32/src/dport/pro_i2c_ext0_intr_map.rs +++ b/esp32/src/dport/pro_i2c_ext0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_i2c_ext0_intr_map(&mut self) -> PRO_I2C_EXT0_INTR_MAP_W { PRO_I2C_EXT0_INTR_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_i2c_ext1_intr_map.rs b/esp32/src/dport/pro_i2c_ext1_intr_map.rs index 78b256f42f..cf5d011722 100644 --- a/esp32/src/dport/pro_i2c_ext1_intr_map.rs +++ b/esp32/src/dport/pro_i2c_ext1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_i2c_ext1_intr_map(&mut self) -> PRO_I2C_EXT1_INTR_MAP_W { PRO_I2C_EXT1_INTR_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_i2s0_int_map.rs b/esp32/src/dport/pro_i2s0_int_map.rs index e60e0e3e3c..8021f9981d 100644 --- a/esp32/src/dport/pro_i2s0_int_map.rs +++ b/esp32/src/dport/pro_i2s0_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_i2s0_int_map(&mut self) -> PRO_I2S0_INT_MAP_W { PRO_I2S0_INT_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_i2s1_int_map.rs b/esp32/src/dport/pro_i2s1_int_map.rs index d0f36694f1..9d0747d40d 100644 --- a/esp32/src/dport/pro_i2s1_int_map.rs +++ b/esp32/src/dport/pro_i2s1_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_i2s1_int_map(&mut self) -> PRO_I2S1_INT_MAP_W { PRO_I2S1_INT_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_intrusion_ctrl.rs b/esp32/src/dport/pro_intrusion_ctrl.rs index 0c3bd3b4ba..ab99a5161e 100644 --- a/esp32/src/dport/pro_intrusion_ctrl.rs +++ b/esp32/src/dport/pro_intrusion_ctrl.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn pro_intrusion_record_reset_n( &mut self, ) -> PRO_INTRUSION_RECORD_RESET_N_W { diff --git a/esp32/src/dport/pro_ledc_int_map.rs b/esp32/src/dport/pro_ledc_int_map.rs index 48e3d8743c..d80244eb9c 100644 --- a/esp32/src/dport/pro_ledc_int_map.rs +++ b/esp32/src/dport/pro_ledc_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_ledc_int_map(&mut self) -> PRO_LEDC_INT_MAP_W { PRO_LEDC_INT_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_mac_intr_map.rs b/esp32/src/dport/pro_mac_intr_map.rs index abc879cee7..f6912cdb06 100644 --- a/esp32/src/dport/pro_mac_intr_map.rs +++ b/esp32/src/dport/pro_mac_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_mac_intr_map(&mut self) -> PRO_MAC_INTR_MAP_W { PRO_MAC_INTR_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_mac_nmi_map.rs b/esp32/src/dport/pro_mac_nmi_map.rs index fdb05aab02..4ff29c8750 100644 --- a/esp32/src/dport/pro_mac_nmi_map.rs +++ b/esp32/src/dport/pro_mac_nmi_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_mac_nmi_map(&mut self) -> PRO_MAC_NMI_MAP_W { PRO_MAC_NMI_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_mmu_ia_int_map.rs b/esp32/src/dport/pro_mmu_ia_int_map.rs index ce66ca0d81..e84ac2b9cd 100644 --- a/esp32/src/dport/pro_mmu_ia_int_map.rs +++ b/esp32/src/dport/pro_mmu_ia_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_mmu_ia_int_map(&mut self) -> PRO_MMU_IA_INT_MAP_W { PRO_MMU_IA_INT_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_mpu_ia_int_map.rs b/esp32/src/dport/pro_mpu_ia_int_map.rs index 549d529e7f..ae82f0bcf5 100644 --- a/esp32/src/dport/pro_mpu_ia_int_map.rs +++ b/esp32/src/dport/pro_mpu_ia_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_mpu_ia_int_map(&mut self) -> PRO_MPU_IA_INT_MAP_W { PRO_MPU_IA_INT_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_pcnt_intr_map.rs b/esp32/src/dport/pro_pcnt_intr_map.rs index 13294fb8f4..e222e12184 100644 --- a/esp32/src/dport/pro_pcnt_intr_map.rs +++ b/esp32/src/dport/pro_pcnt_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_pcnt_intr_map(&mut self) -> PRO_PCNT_INTR_MAP_W { PRO_PCNT_INTR_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_pwm0_intr_map.rs b/esp32/src/dport/pro_pwm0_intr_map.rs index d8b194f10a..5d7970c313 100644 --- a/esp32/src/dport/pro_pwm0_intr_map.rs +++ b/esp32/src/dport/pro_pwm0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_pwm0_intr_map(&mut self) -> PRO_PWM0_INTR_MAP_W { PRO_PWM0_INTR_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_pwm1_intr_map.rs b/esp32/src/dport/pro_pwm1_intr_map.rs index 7076581a20..19a4b44613 100644 --- a/esp32/src/dport/pro_pwm1_intr_map.rs +++ b/esp32/src/dport/pro_pwm1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_pwm1_intr_map(&mut self) -> PRO_PWM1_INTR_MAP_W { PRO_PWM1_INTR_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_pwm2_intr_map.rs b/esp32/src/dport/pro_pwm2_intr_map.rs index 561c653a56..2f59e31532 100644 --- a/esp32/src/dport/pro_pwm2_intr_map.rs +++ b/esp32/src/dport/pro_pwm2_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_pwm2_intr_map(&mut self) -> PRO_PWM2_INTR_MAP_W { PRO_PWM2_INTR_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_pwm3_intr_map.rs b/esp32/src/dport/pro_pwm3_intr_map.rs index 8a0bacc471..ef010e0f46 100644 --- a/esp32/src/dport/pro_pwm3_intr_map.rs +++ b/esp32/src/dport/pro_pwm3_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_pwm3_intr_map(&mut self) -> PRO_PWM3_INTR_MAP_W { PRO_PWM3_INTR_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_rmt_intr_map.rs b/esp32/src/dport/pro_rmt_intr_map.rs index 22fd70238c..9666aadc14 100644 --- a/esp32/src/dport/pro_rmt_intr_map.rs +++ b/esp32/src/dport/pro_rmt_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_rmt_intr_map(&mut self) -> PRO_RMT_INTR_MAP_W { PRO_RMT_INTR_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_rsa_intr_map.rs b/esp32/src/dport/pro_rsa_intr_map.rs index 778ee4a611..e2b85db008 100644 --- a/esp32/src/dport/pro_rsa_intr_map.rs +++ b/esp32/src/dport/pro_rsa_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_rsa_intr_map(&mut self) -> PRO_RSA_INTR_MAP_W { PRO_RSA_INTR_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_rtc_core_intr_map.rs b/esp32/src/dport/pro_rtc_core_intr_map.rs index cbe76bfd7e..2f75b50559 100644 --- a/esp32/src/dport/pro_rtc_core_intr_map.rs +++ b/esp32/src/dport/pro_rtc_core_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_rtc_core_intr_map(&mut self) -> PRO_RTC_CORE_INTR_MAP_W { PRO_RTC_CORE_INTR_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_rwble_irq_map.rs b/esp32/src/dport/pro_rwble_irq_map.rs index c27ea91bbd..b5a85213e7 100644 --- a/esp32/src/dport/pro_rwble_irq_map.rs +++ b/esp32/src/dport/pro_rwble_irq_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_rwble_irq_map(&mut self) -> PRO_RWBLE_IRQ_MAP_W { PRO_RWBLE_IRQ_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_rwble_nmi_map.rs b/esp32/src/dport/pro_rwble_nmi_map.rs index 9fe487a020..b14b55ea7d 100644 --- a/esp32/src/dport/pro_rwble_nmi_map.rs +++ b/esp32/src/dport/pro_rwble_nmi_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_rwble_nmi_map(&mut self) -> PRO_RWBLE_NMI_MAP_W { PRO_RWBLE_NMI_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_rwbt_irq_map.rs b/esp32/src/dport/pro_rwbt_irq_map.rs index 0ca6f34149..38b2deff79 100644 --- a/esp32/src/dport/pro_rwbt_irq_map.rs +++ b/esp32/src/dport/pro_rwbt_irq_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_rwbt_irq_map(&mut self) -> PRO_RWBT_IRQ_MAP_W { PRO_RWBT_IRQ_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_rwbt_nmi_map.rs b/esp32/src/dport/pro_rwbt_nmi_map.rs index f8184b32f5..d5477d429a 100644 --- a/esp32/src/dport/pro_rwbt_nmi_map.rs +++ b/esp32/src/dport/pro_rwbt_nmi_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_rwbt_nmi_map(&mut self) -> PRO_RWBT_NMI_MAP_W { PRO_RWBT_NMI_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_sdio_host_interrupt_map.rs b/esp32/src/dport/pro_sdio_host_interrupt_map.rs index d958c288a4..9904a32f61 100644 --- a/esp32/src/dport/pro_sdio_host_interrupt_map.rs +++ b/esp32/src/dport/pro_sdio_host_interrupt_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_sdio_host_interrupt_map( &mut self, ) -> PRO_SDIO_HOST_INTERRUPT_MAP_W { diff --git a/esp32/src/dport/pro_slc0_intr_map.rs b/esp32/src/dport/pro_slc0_intr_map.rs index ea96de9ecb..60e7883443 100644 --- a/esp32/src/dport/pro_slc0_intr_map.rs +++ b/esp32/src/dport/pro_slc0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_slc0_intr_map(&mut self) -> PRO_SLC0_INTR_MAP_W { PRO_SLC0_INTR_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_slc1_intr_map.rs b/esp32/src/dport/pro_slc1_intr_map.rs index edee196688..2c6d68b1c3 100644 --- a/esp32/src/dport/pro_slc1_intr_map.rs +++ b/esp32/src/dport/pro_slc1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_slc1_intr_map(&mut self) -> PRO_SLC1_INTR_MAP_W { PRO_SLC1_INTR_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_spi1_dma_int_map.rs b/esp32/src/dport/pro_spi1_dma_int_map.rs index f12b0dcf0d..68270aa2ac 100644 --- a/esp32/src/dport/pro_spi1_dma_int_map.rs +++ b/esp32/src/dport/pro_spi1_dma_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_spi1_dma_int_map(&mut self) -> PRO_SPI1_DMA_INT_MAP_W { PRO_SPI1_DMA_INT_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_spi2_dma_int_map.rs b/esp32/src/dport/pro_spi2_dma_int_map.rs index 62f71b3724..909a93338a 100644 --- a/esp32/src/dport/pro_spi2_dma_int_map.rs +++ b/esp32/src/dport/pro_spi2_dma_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_spi2_dma_int_map(&mut self) -> PRO_SPI2_DMA_INT_MAP_W { PRO_SPI2_DMA_INT_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_spi3_dma_int_map.rs b/esp32/src/dport/pro_spi3_dma_int_map.rs index 335688ace4..032c4e53ef 100644 --- a/esp32/src/dport/pro_spi3_dma_int_map.rs +++ b/esp32/src/dport/pro_spi3_dma_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_spi3_dma_int_map(&mut self) -> PRO_SPI3_DMA_INT_MAP_W { PRO_SPI3_DMA_INT_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_spi_intr_0_map.rs b/esp32/src/dport/pro_spi_intr_0_map.rs index be7891b10e..f40eaf4901 100644 --- a/esp32/src/dport/pro_spi_intr_0_map.rs +++ b/esp32/src/dport/pro_spi_intr_0_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_spi_intr_0_map(&mut self) -> PRO_SPI_INTR_0_MAP_W { PRO_SPI_INTR_0_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_spi_intr_1_map.rs b/esp32/src/dport/pro_spi_intr_1_map.rs index 3070c0fdea..4a966d01e5 100644 --- a/esp32/src/dport/pro_spi_intr_1_map.rs +++ b/esp32/src/dport/pro_spi_intr_1_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_spi_intr_1_map(&mut self) -> PRO_SPI_INTR_1_MAP_W { PRO_SPI_INTR_1_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_spi_intr_2_map.rs b/esp32/src/dport/pro_spi_intr_2_map.rs index 3c119a8c05..9a4c8e4f0b 100644 --- a/esp32/src/dport/pro_spi_intr_2_map.rs +++ b/esp32/src/dport/pro_spi_intr_2_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_spi_intr_2_map(&mut self) -> PRO_SPI_INTR_2_MAP_W { PRO_SPI_INTR_2_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_spi_intr_3_map.rs b/esp32/src/dport/pro_spi_intr_3_map.rs index b5e26ab237..08997c953a 100644 --- a/esp32/src/dport/pro_spi_intr_3_map.rs +++ b/esp32/src/dport/pro_spi_intr_3_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_spi_intr_3_map(&mut self) -> PRO_SPI_INTR_3_MAP_W { PRO_SPI_INTR_3_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_tg1_lact_edge_int_map.rs b/esp32/src/dport/pro_tg1_lact_edge_int_map.rs index 0e100ac81d..532df2e217 100644 --- a/esp32/src/dport/pro_tg1_lact_edge_int_map.rs +++ b/esp32/src/dport/pro_tg1_lact_edge_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_tg1_lact_edge_int_map( &mut self, ) -> PRO_TG1_LACT_EDGE_INT_MAP_W { diff --git a/esp32/src/dport/pro_tg1_lact_level_int_map.rs b/esp32/src/dport/pro_tg1_lact_level_int_map.rs index 8833e15b74..fc93d99685 100644 --- a/esp32/src/dport/pro_tg1_lact_level_int_map.rs +++ b/esp32/src/dport/pro_tg1_lact_level_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_tg1_lact_level_int_map( &mut self, ) -> PRO_TG1_LACT_LEVEL_INT_MAP_W { diff --git a/esp32/src/dport/pro_tg1_t0_edge_int_map.rs b/esp32/src/dport/pro_tg1_t0_edge_int_map.rs index bd81de1fd1..2e0b0bcb3f 100644 --- a/esp32/src/dport/pro_tg1_t0_edge_int_map.rs +++ b/esp32/src/dport/pro_tg1_t0_edge_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_tg1_t0_edge_int_map( &mut self, ) -> PRO_TG1_T0_EDGE_INT_MAP_W { diff --git a/esp32/src/dport/pro_tg1_t0_level_int_map.rs b/esp32/src/dport/pro_tg1_t0_level_int_map.rs index 560e953e45..9fc229ddc4 100644 --- a/esp32/src/dport/pro_tg1_t0_level_int_map.rs +++ b/esp32/src/dport/pro_tg1_t0_level_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_tg1_t0_level_int_map( &mut self, ) -> PRO_TG1_T0_LEVEL_INT_MAP_W { diff --git a/esp32/src/dport/pro_tg1_t1_edge_int_map.rs b/esp32/src/dport/pro_tg1_t1_edge_int_map.rs index e6b253004a..86d7c77fee 100644 --- a/esp32/src/dport/pro_tg1_t1_edge_int_map.rs +++ b/esp32/src/dport/pro_tg1_t1_edge_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_tg1_t1_edge_int_map( &mut self, ) -> PRO_TG1_T1_EDGE_INT_MAP_W { diff --git a/esp32/src/dport/pro_tg1_t1_level_int_map.rs b/esp32/src/dport/pro_tg1_t1_level_int_map.rs index beb0c3e826..d428b0dd0e 100644 --- a/esp32/src/dport/pro_tg1_t1_level_int_map.rs +++ b/esp32/src/dport/pro_tg1_t1_level_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_tg1_t1_level_int_map( &mut self, ) -> PRO_TG1_T1_LEVEL_INT_MAP_W { diff --git a/esp32/src/dport/pro_tg1_wdt_edge_int_map.rs b/esp32/src/dport/pro_tg1_wdt_edge_int_map.rs index 617d4fec28..23287d5608 100644 --- a/esp32/src/dport/pro_tg1_wdt_edge_int_map.rs +++ b/esp32/src/dport/pro_tg1_wdt_edge_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_tg1_wdt_edge_int_map( &mut self, ) -> PRO_TG1_WDT_EDGE_INT_MAP_W { diff --git a/esp32/src/dport/pro_tg1_wdt_level_int_map.rs b/esp32/src/dport/pro_tg1_wdt_level_int_map.rs index 0ae6facf26..9413a1f0e4 100644 --- a/esp32/src/dport/pro_tg1_wdt_level_int_map.rs +++ b/esp32/src/dport/pro_tg1_wdt_level_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_tg1_wdt_level_int_map( &mut self, ) -> PRO_TG1_WDT_LEVEL_INT_MAP_W { diff --git a/esp32/src/dport/pro_tg_lact_edge_int_map.rs b/esp32/src/dport/pro_tg_lact_edge_int_map.rs index 9a15535af0..fd2ed70090 100644 --- a/esp32/src/dport/pro_tg_lact_edge_int_map.rs +++ b/esp32/src/dport/pro_tg_lact_edge_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_tg_lact_edge_int_map( &mut self, ) -> PRO_TG_LACT_EDGE_INT_MAP_W { diff --git a/esp32/src/dport/pro_tg_lact_level_int_map.rs b/esp32/src/dport/pro_tg_lact_level_int_map.rs index 5b25fe3820..074bf4957b 100644 --- a/esp32/src/dport/pro_tg_lact_level_int_map.rs +++ b/esp32/src/dport/pro_tg_lact_level_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_tg_lact_level_int_map( &mut self, ) -> PRO_TG_LACT_LEVEL_INT_MAP_W { diff --git a/esp32/src/dport/pro_tg_t0_edge_int_map.rs b/esp32/src/dport/pro_tg_t0_edge_int_map.rs index d65cae8b3b..e7edeebe06 100644 --- a/esp32/src/dport/pro_tg_t0_edge_int_map.rs +++ b/esp32/src/dport/pro_tg_t0_edge_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_tg_t0_edge_int_map( &mut self, ) -> PRO_TG_T0_EDGE_INT_MAP_W { diff --git a/esp32/src/dport/pro_tg_t0_level_int_map.rs b/esp32/src/dport/pro_tg_t0_level_int_map.rs index a82a07c85a..170d476dd1 100644 --- a/esp32/src/dport/pro_tg_t0_level_int_map.rs +++ b/esp32/src/dport/pro_tg_t0_level_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_tg_t0_level_int_map( &mut self, ) -> PRO_TG_T0_LEVEL_INT_MAP_W { diff --git a/esp32/src/dport/pro_tg_t1_edge_int_map.rs b/esp32/src/dport/pro_tg_t1_edge_int_map.rs index ee860a074c..157a1bcc87 100644 --- a/esp32/src/dport/pro_tg_t1_edge_int_map.rs +++ b/esp32/src/dport/pro_tg_t1_edge_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_tg_t1_edge_int_map( &mut self, ) -> PRO_TG_T1_EDGE_INT_MAP_W { diff --git a/esp32/src/dport/pro_tg_t1_level_int_map.rs b/esp32/src/dport/pro_tg_t1_level_int_map.rs index 3e2bb19cbd..bb553ae732 100644 --- a/esp32/src/dport/pro_tg_t1_level_int_map.rs +++ b/esp32/src/dport/pro_tg_t1_level_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_tg_t1_level_int_map( &mut self, ) -> PRO_TG_T1_LEVEL_INT_MAP_W { diff --git a/esp32/src/dport/pro_tg_wdt_edge_int_map.rs b/esp32/src/dport/pro_tg_wdt_edge_int_map.rs index ad8a291107..52791cc730 100644 --- a/esp32/src/dport/pro_tg_wdt_edge_int_map.rs +++ b/esp32/src/dport/pro_tg_wdt_edge_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_tg_wdt_edge_int_map( &mut self, ) -> PRO_TG_WDT_EDGE_INT_MAP_W { diff --git a/esp32/src/dport/pro_tg_wdt_level_int_map.rs b/esp32/src/dport/pro_tg_wdt_level_int_map.rs index 3b02ceac72..6ee1124530 100644 --- a/esp32/src/dport/pro_tg_wdt_level_int_map.rs +++ b/esp32/src/dport/pro_tg_wdt_level_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_tg_wdt_level_int_map( &mut self, ) -> PRO_TG_WDT_LEVEL_INT_MAP_W { diff --git a/esp32/src/dport/pro_timer_int1_map.rs b/esp32/src/dport/pro_timer_int1_map.rs index 2a12d3692c..7547b33a89 100644 --- a/esp32/src/dport/pro_timer_int1_map.rs +++ b/esp32/src/dport/pro_timer_int1_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_timer_int1_map(&mut self) -> PRO_TIMER_INT1_MAP_W { PRO_TIMER_INT1_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_timer_int2_map.rs b/esp32/src/dport/pro_timer_int2_map.rs index a357206abc..33264b0b14 100644 --- a/esp32/src/dport/pro_timer_int2_map.rs +++ b/esp32/src/dport/pro_timer_int2_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_timer_int2_map(&mut self) -> PRO_TIMER_INT2_MAP_W { PRO_TIMER_INT2_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_tracemem_ena.rs b/esp32/src/dport/pro_tracemem_ena.rs index f689797397..7046c4fa02 100644 --- a/esp32/src/dport/pro_tracemem_ena.rs +++ b/esp32/src/dport/pro_tracemem_ena.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn pro_tracemem_ena(&mut self) -> PRO_TRACEMEM_ENA_W { PRO_TRACEMEM_ENA_W::new(self, 0) } diff --git a/esp32/src/dport/pro_uart1_intr_map.rs b/esp32/src/dport/pro_uart1_intr_map.rs index 95dc4e8007..e3c16c67ef 100644 --- a/esp32/src/dport/pro_uart1_intr_map.rs +++ b/esp32/src/dport/pro_uart1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_uart1_intr_map(&mut self) -> PRO_UART1_INTR_MAP_W { PRO_UART1_INTR_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_uart2_intr_map.rs b/esp32/src/dport/pro_uart2_intr_map.rs index 1dac694acb..b10296a49f 100644 --- a/esp32/src/dport/pro_uart2_intr_map.rs +++ b/esp32/src/dport/pro_uart2_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_uart2_intr_map(&mut self) -> PRO_UART2_INTR_MAP_W { PRO_UART2_INTR_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_uart_intr_map.rs b/esp32/src/dport/pro_uart_intr_map.rs index a7a2d00c56..e169eb8466 100644 --- a/esp32/src/dport/pro_uart_intr_map.rs +++ b/esp32/src/dport/pro_uart_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_uart_intr_map(&mut self) -> PRO_UART_INTR_MAP_W { PRO_UART_INTR_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_uhci0_intr_map.rs b/esp32/src/dport/pro_uhci0_intr_map.rs index 5a04441763..c5f3f18b44 100644 --- a/esp32/src/dport/pro_uhci0_intr_map.rs +++ b/esp32/src/dport/pro_uhci0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_uhci0_intr_map(&mut self) -> PRO_UHCI0_INTR_MAP_W { PRO_UHCI0_INTR_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_uhci1_intr_map.rs b/esp32/src/dport/pro_uhci1_intr_map.rs index be2c274802..be4c0d222b 100644 --- a/esp32/src/dport/pro_uhci1_intr_map.rs +++ b/esp32/src/dport/pro_uhci1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_uhci1_intr_map(&mut self) -> PRO_UHCI1_INTR_MAP_W { PRO_UHCI1_INTR_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/pro_vecbase_ctrl.rs b/esp32/src/dport/pro_vecbase_ctrl.rs index c5c1c6e597..6b180e4e3c 100644 --- a/esp32/src/dport/pro_vecbase_ctrl.rs +++ b/esp32/src/dport/pro_vecbase_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn pro_out_vecbase_sel(&mut self) -> PRO_OUT_VECBASE_SEL_W { PRO_OUT_VECBASE_SEL_W::new(self, 0) } diff --git a/esp32/src/dport/pro_vecbase_set.rs b/esp32/src/dport/pro_vecbase_set.rs index 47826e3e89..5a50355752 100644 --- a/esp32/src/dport/pro_vecbase_set.rs +++ b/esp32/src/dport/pro_vecbase_set.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21"] #[inline(always)] - #[must_use] pub fn pro_out_vecbase(&mut self) -> PRO_OUT_VECBASE_W { PRO_OUT_VECBASE_W::new(self, 0) } diff --git a/esp32/src/dport/pro_wdg_int_map.rs b/esp32/src/dport/pro_wdg_int_map.rs index 1c278f1e5c..5f1ea75bf3 100644 --- a/esp32/src/dport/pro_wdg_int_map.rs +++ b/esp32/src/dport/pro_wdg_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn pro_wdg_int_map(&mut self) -> PRO_WDG_INT_MAP_W { PRO_WDG_INT_MAP_W::new(self, 0) } diff --git a/esp32/src/dport/rom_fo_ctrl.rs b/esp32/src/dport/rom_fo_ctrl.rs index 01ae0ae57a..42f903723b 100644 --- a/esp32/src/dport/rom_fo_ctrl.rs +++ b/esp32/src/dport/rom_fo_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn pro_rom_fo(&mut self) -> PRO_ROM_FO_W { PRO_ROM_FO_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn app_rom_fo(&mut self) -> APP_ROM_FO_W { APP_ROM_FO_W::new(self, 1) } #[doc = "Bits 2:7"] #[inline(always)] - #[must_use] pub fn share_rom_fo(&mut self) -> SHARE_ROM_FO_W { SHARE_ROM_FO_W::new(self, 2) } diff --git a/esp32/src/dport/rom_mpu_ena.rs b/esp32/src/dport/rom_mpu_ena.rs index af181664a6..00abe31d6e 100644 --- a/esp32/src/dport/rom_mpu_ena.rs +++ b/esp32/src/dport/rom_mpu_ena.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn share_rom_mpu_ena(&mut self) -> SHARE_ROM_MPU_ENA_W { SHARE_ROM_MPU_ENA_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn pro_rom_mpu_ena(&mut self) -> PRO_ROM_MPU_ENA_W { PRO_ROM_MPU_ENA_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn app_rom_mpu_ena(&mut self) -> APP_ROM_MPU_ENA_W { APP_ROM_MPU_ENA_W::new(self, 2) } diff --git a/esp32/src/dport/rom_mpu_table0.rs b/esp32/src/dport/rom_mpu_table0.rs index 96b877bdc4..cd2343ed6f 100644 --- a/esp32/src/dport/rom_mpu_table0.rs +++ b/esp32/src/dport/rom_mpu_table0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn rom_mpu_table0(&mut self) -> ROM_MPU_TABLE0_W { ROM_MPU_TABLE0_W::new(self, 0) } diff --git a/esp32/src/dport/rom_mpu_table1.rs b/esp32/src/dport/rom_mpu_table1.rs index a692c83414..43be4d2d5a 100644 --- a/esp32/src/dport/rom_mpu_table1.rs +++ b/esp32/src/dport/rom_mpu_table1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn rom_mpu_table1(&mut self) -> ROM_MPU_TABLE1_W { ROM_MPU_TABLE1_W::new(self, 0) } diff --git a/esp32/src/dport/rom_mpu_table2.rs b/esp32/src/dport/rom_mpu_table2.rs index afc73d23f8..1203dab14a 100644 --- a/esp32/src/dport/rom_mpu_table2.rs +++ b/esp32/src/dport/rom_mpu_table2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn rom_mpu_table2(&mut self) -> ROM_MPU_TABLE2_W { ROM_MPU_TABLE2_W::new(self, 0) } diff --git a/esp32/src/dport/rom_mpu_table3.rs b/esp32/src/dport/rom_mpu_table3.rs index 529539b1d5..c4b6bc4349 100644 --- a/esp32/src/dport/rom_mpu_table3.rs +++ b/esp32/src/dport/rom_mpu_table3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn rom_mpu_table3(&mut self) -> ROM_MPU_TABLE3_W { ROM_MPU_TABLE3_W::new(self, 0) } diff --git a/esp32/src/dport/rom_pd_ctrl.rs b/esp32/src/dport/rom_pd_ctrl.rs index 08e7564eca..3af3b2c3dc 100644 --- a/esp32/src/dport/rom_pd_ctrl.rs +++ b/esp32/src/dport/rom_pd_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn pro_rom_pd(&mut self) -> PRO_ROM_PD_W { PRO_ROM_PD_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn app_rom_pd(&mut self) -> APP_ROM_PD_W { APP_ROM_PD_W::new(self, 1) } #[doc = "Bits 2:7"] #[inline(always)] - #[must_use] pub fn share_rom_pd(&mut self) -> SHARE_ROM_PD_W { SHARE_ROM_PD_W::new(self, 2) } diff --git a/esp32/src/dport/rsa_pd_ctrl.rs b/esp32/src/dport/rsa_pd_ctrl.rs index ce484c14c9..82d098e6a9 100644 --- a/esp32/src/dport/rsa_pd_ctrl.rs +++ b/esp32/src/dport/rsa_pd_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn rsa_pd(&mut self) -> RSA_PD_W { RSA_PD_W::new(self, 0) } diff --git a/esp32/src/dport/secure_boot_ctrl.rs b/esp32/src/dport/secure_boot_ctrl.rs index 716f2f9fb6..0a59b5895b 100644 --- a/esp32/src/dport/secure_boot_ctrl.rs +++ b/esp32/src/dport/secure_boot_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn sw_bootloader_sel(&mut self) -> SW_BOOTLOADER_SEL_W { SW_BOOTLOADER_SEL_W::new(self, 0) } diff --git a/esp32/src/dport/shrom_mpu_table0.rs b/esp32/src/dport/shrom_mpu_table0.rs index 0cf69b8fcf..d43f91d2ab 100644 --- a/esp32/src/dport/shrom_mpu_table0.rs +++ b/esp32/src/dport/shrom_mpu_table0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn shrom_mpu_table0(&mut self) -> SHROM_MPU_TABLE0_W { SHROM_MPU_TABLE0_W::new(self, 0) } diff --git a/esp32/src/dport/shrom_mpu_table1.rs b/esp32/src/dport/shrom_mpu_table1.rs index 413fe7d001..328679dfd2 100644 --- a/esp32/src/dport/shrom_mpu_table1.rs +++ b/esp32/src/dport/shrom_mpu_table1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn shrom_mpu_table1(&mut self) -> SHROM_MPU_TABLE1_W { SHROM_MPU_TABLE1_W::new(self, 0) } diff --git a/esp32/src/dport/shrom_mpu_table10.rs b/esp32/src/dport/shrom_mpu_table10.rs index 39ff88188f..16e7117d14 100644 --- a/esp32/src/dport/shrom_mpu_table10.rs +++ b/esp32/src/dport/shrom_mpu_table10.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn shrom_mpu_table10(&mut self) -> SHROM_MPU_TABLE10_W { SHROM_MPU_TABLE10_W::new(self, 0) } diff --git a/esp32/src/dport/shrom_mpu_table11.rs b/esp32/src/dport/shrom_mpu_table11.rs index 257c611b9d..07e232ce37 100644 --- a/esp32/src/dport/shrom_mpu_table11.rs +++ b/esp32/src/dport/shrom_mpu_table11.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn shrom_mpu_table11(&mut self) -> SHROM_MPU_TABLE11_W { SHROM_MPU_TABLE11_W::new(self, 0) } diff --git a/esp32/src/dport/shrom_mpu_table12.rs b/esp32/src/dport/shrom_mpu_table12.rs index 9c79f55f43..3677a85876 100644 --- a/esp32/src/dport/shrom_mpu_table12.rs +++ b/esp32/src/dport/shrom_mpu_table12.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn shrom_mpu_table12(&mut self) -> SHROM_MPU_TABLE12_W { SHROM_MPU_TABLE12_W::new(self, 0) } diff --git a/esp32/src/dport/shrom_mpu_table13.rs b/esp32/src/dport/shrom_mpu_table13.rs index 605b671c4c..9e4e61813b 100644 --- a/esp32/src/dport/shrom_mpu_table13.rs +++ b/esp32/src/dport/shrom_mpu_table13.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn shrom_mpu_table13(&mut self) -> SHROM_MPU_TABLE13_W { SHROM_MPU_TABLE13_W::new(self, 0) } diff --git a/esp32/src/dport/shrom_mpu_table14.rs b/esp32/src/dport/shrom_mpu_table14.rs index 70f4c8fcc3..dc514b1c9d 100644 --- a/esp32/src/dport/shrom_mpu_table14.rs +++ b/esp32/src/dport/shrom_mpu_table14.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn shrom_mpu_table14(&mut self) -> SHROM_MPU_TABLE14_W { SHROM_MPU_TABLE14_W::new(self, 0) } diff --git a/esp32/src/dport/shrom_mpu_table15.rs b/esp32/src/dport/shrom_mpu_table15.rs index 0cdb9a83dc..e908159acd 100644 --- a/esp32/src/dport/shrom_mpu_table15.rs +++ b/esp32/src/dport/shrom_mpu_table15.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn shrom_mpu_table15(&mut self) -> SHROM_MPU_TABLE15_W { SHROM_MPU_TABLE15_W::new(self, 0) } diff --git a/esp32/src/dport/shrom_mpu_table16.rs b/esp32/src/dport/shrom_mpu_table16.rs index 16d3d7b782..e186ff1ce9 100644 --- a/esp32/src/dport/shrom_mpu_table16.rs +++ b/esp32/src/dport/shrom_mpu_table16.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn shrom_mpu_table16(&mut self) -> SHROM_MPU_TABLE16_W { SHROM_MPU_TABLE16_W::new(self, 0) } diff --git a/esp32/src/dport/shrom_mpu_table17.rs b/esp32/src/dport/shrom_mpu_table17.rs index 9f83c37313..060e871b36 100644 --- a/esp32/src/dport/shrom_mpu_table17.rs +++ b/esp32/src/dport/shrom_mpu_table17.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn shrom_mpu_table17(&mut self) -> SHROM_MPU_TABLE17_W { SHROM_MPU_TABLE17_W::new(self, 0) } diff --git a/esp32/src/dport/shrom_mpu_table18.rs b/esp32/src/dport/shrom_mpu_table18.rs index f00218af36..e90cbc94e5 100644 --- a/esp32/src/dport/shrom_mpu_table18.rs +++ b/esp32/src/dport/shrom_mpu_table18.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn shrom_mpu_table18(&mut self) -> SHROM_MPU_TABLE18_W { SHROM_MPU_TABLE18_W::new(self, 0) } diff --git a/esp32/src/dport/shrom_mpu_table19.rs b/esp32/src/dport/shrom_mpu_table19.rs index 29eaa63687..fa1b8f1019 100644 --- a/esp32/src/dport/shrom_mpu_table19.rs +++ b/esp32/src/dport/shrom_mpu_table19.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn shrom_mpu_table19(&mut self) -> SHROM_MPU_TABLE19_W { SHROM_MPU_TABLE19_W::new(self, 0) } diff --git a/esp32/src/dport/shrom_mpu_table2.rs b/esp32/src/dport/shrom_mpu_table2.rs index e17dac55ef..8dcbb7bae1 100644 --- a/esp32/src/dport/shrom_mpu_table2.rs +++ b/esp32/src/dport/shrom_mpu_table2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn shrom_mpu_table2(&mut self) -> SHROM_MPU_TABLE2_W { SHROM_MPU_TABLE2_W::new(self, 0) } diff --git a/esp32/src/dport/shrom_mpu_table20.rs b/esp32/src/dport/shrom_mpu_table20.rs index 49cac7b6dd..8385c894bc 100644 --- a/esp32/src/dport/shrom_mpu_table20.rs +++ b/esp32/src/dport/shrom_mpu_table20.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn shrom_mpu_table20(&mut self) -> SHROM_MPU_TABLE20_W { SHROM_MPU_TABLE20_W::new(self, 0) } diff --git a/esp32/src/dport/shrom_mpu_table21.rs b/esp32/src/dport/shrom_mpu_table21.rs index fae65b1ed7..b3423cdf7a 100644 --- a/esp32/src/dport/shrom_mpu_table21.rs +++ b/esp32/src/dport/shrom_mpu_table21.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn shrom_mpu_table21(&mut self) -> SHROM_MPU_TABLE21_W { SHROM_MPU_TABLE21_W::new(self, 0) } diff --git a/esp32/src/dport/shrom_mpu_table22.rs b/esp32/src/dport/shrom_mpu_table22.rs index b659849a27..c0521e8c85 100644 --- a/esp32/src/dport/shrom_mpu_table22.rs +++ b/esp32/src/dport/shrom_mpu_table22.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn shrom_mpu_table22(&mut self) -> SHROM_MPU_TABLE22_W { SHROM_MPU_TABLE22_W::new(self, 0) } diff --git a/esp32/src/dport/shrom_mpu_table23.rs b/esp32/src/dport/shrom_mpu_table23.rs index 7a52bbc1ab..f97f445374 100644 --- a/esp32/src/dport/shrom_mpu_table23.rs +++ b/esp32/src/dport/shrom_mpu_table23.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn shrom_mpu_table23(&mut self) -> SHROM_MPU_TABLE23_W { SHROM_MPU_TABLE23_W::new(self, 0) } diff --git a/esp32/src/dport/shrom_mpu_table3.rs b/esp32/src/dport/shrom_mpu_table3.rs index 6bb3079f67..9cb2a247b8 100644 --- a/esp32/src/dport/shrom_mpu_table3.rs +++ b/esp32/src/dport/shrom_mpu_table3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn shrom_mpu_table3(&mut self) -> SHROM_MPU_TABLE3_W { SHROM_MPU_TABLE3_W::new(self, 0) } diff --git a/esp32/src/dport/shrom_mpu_table4.rs b/esp32/src/dport/shrom_mpu_table4.rs index 060c011c58..d4e2e675d4 100644 --- a/esp32/src/dport/shrom_mpu_table4.rs +++ b/esp32/src/dport/shrom_mpu_table4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn shrom_mpu_table4(&mut self) -> SHROM_MPU_TABLE4_W { SHROM_MPU_TABLE4_W::new(self, 0) } diff --git a/esp32/src/dport/shrom_mpu_table5.rs b/esp32/src/dport/shrom_mpu_table5.rs index 9bedf5c810..17ada85d56 100644 --- a/esp32/src/dport/shrom_mpu_table5.rs +++ b/esp32/src/dport/shrom_mpu_table5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn shrom_mpu_table5(&mut self) -> SHROM_MPU_TABLE5_W { SHROM_MPU_TABLE5_W::new(self, 0) } diff --git a/esp32/src/dport/shrom_mpu_table6.rs b/esp32/src/dport/shrom_mpu_table6.rs index 22a916a4a3..4105dcd03f 100644 --- a/esp32/src/dport/shrom_mpu_table6.rs +++ b/esp32/src/dport/shrom_mpu_table6.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn shrom_mpu_table6(&mut self) -> SHROM_MPU_TABLE6_W { SHROM_MPU_TABLE6_W::new(self, 0) } diff --git a/esp32/src/dport/shrom_mpu_table7.rs b/esp32/src/dport/shrom_mpu_table7.rs index da2744e299..66c3eed26a 100644 --- a/esp32/src/dport/shrom_mpu_table7.rs +++ b/esp32/src/dport/shrom_mpu_table7.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn shrom_mpu_table7(&mut self) -> SHROM_MPU_TABLE7_W { SHROM_MPU_TABLE7_W::new(self, 0) } diff --git a/esp32/src/dport/shrom_mpu_table8.rs b/esp32/src/dport/shrom_mpu_table8.rs index 0701713887..8804e42b0b 100644 --- a/esp32/src/dport/shrom_mpu_table8.rs +++ b/esp32/src/dport/shrom_mpu_table8.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn shrom_mpu_table8(&mut self) -> SHROM_MPU_TABLE8_W { SHROM_MPU_TABLE8_W::new(self, 0) } diff --git a/esp32/src/dport/shrom_mpu_table9.rs b/esp32/src/dport/shrom_mpu_table9.rs index c7ad9b5762..c0b83ffcec 100644 --- a/esp32/src/dport/shrom_mpu_table9.rs +++ b/esp32/src/dport/shrom_mpu_table9.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn shrom_mpu_table9(&mut self) -> SHROM_MPU_TABLE9_W { SHROM_MPU_TABLE9_W::new(self, 0) } diff --git a/esp32/src/dport/slave_spi_config.rs b/esp32/src/dport/slave_spi_config.rs index 35d007a86f..5b13db732f 100644 --- a/esp32/src/dport/slave_spi_config.rs +++ b/esp32/src/dport/slave_spi_config.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn slave_spi_mask_pro(&mut self) -> SLAVE_SPI_MASK_PRO_W { SLAVE_SPI_MASK_PRO_W::new(self, 0) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn slave_spi_mask_app(&mut self) -> SLAVE_SPI_MASK_APP_W { SLAVE_SPI_MASK_APP_W::new(self, 4) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn spi_encrypt_enable(&mut self) -> SPI_ENCRYPT_ENABLE_W { SPI_ENCRYPT_ENABLE_W::new(self, 8) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn spi_decrypt_enable(&mut self) -> SPI_DECRYPT_ENABLE_W { SPI_DECRYPT_ENABLE_W::new(self, 12) } diff --git a/esp32/src/dport/spi_dma_chan_sel.rs b/esp32/src/dport/spi_dma_chan_sel.rs index 76f4043a8c..0cdc95c214 100644 --- a/esp32/src/dport/spi_dma_chan_sel.rs +++ b/esp32/src/dport/spi_dma_chan_sel.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn spi1_dma_chan_sel(&mut self) -> SPI1_DMA_CHAN_SEL_W { SPI1_DMA_CHAN_SEL_W::new(self, 0) } #[doc = "Bits 2:3"] #[inline(always)] - #[must_use] pub fn spi2_dma_chan_sel(&mut self) -> SPI2_DMA_CHAN_SEL_W { SPI2_DMA_CHAN_SEL_W::new(self, 2) } #[doc = "Bits 4:5"] #[inline(always)] - #[must_use] pub fn spi3_dma_chan_sel(&mut self) -> SPI3_DMA_CHAN_SEL_W { SPI3_DMA_CHAN_SEL_W::new(self, 4) } diff --git a/esp32/src/dport/sram_fo_ctrl_0.rs b/esp32/src/dport/sram_fo_ctrl_0.rs index be28b87573..3ab48c5982 100644 --- a/esp32/src/dport/sram_fo_ctrl_0.rs +++ b/esp32/src/dport/sram_fo_ctrl_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn sram_fo_0(&mut self) -> SRAM_FO_0_W { SRAM_FO_0_W::new(self, 0) } diff --git a/esp32/src/dport/sram_fo_ctrl_1.rs b/esp32/src/dport/sram_fo_ctrl_1.rs index e692fba91c..e0497b03ad 100644 --- a/esp32/src/dport/sram_fo_ctrl_1.rs +++ b/esp32/src/dport/sram_fo_ctrl_1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn sram_fo_1(&mut self) -> SRAM_FO_1_W { SRAM_FO_1_W::new(self, 0) } diff --git a/esp32/src/dport/sram_pd_ctrl_0.rs b/esp32/src/dport/sram_pd_ctrl_0.rs index 23f0a777eb..ba513792f9 100644 --- a/esp32/src/dport/sram_pd_ctrl_0.rs +++ b/esp32/src/dport/sram_pd_ctrl_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn sram_pd_0(&mut self) -> SRAM_PD_0_W { SRAM_PD_0_W::new(self, 0) } diff --git a/esp32/src/dport/sram_pd_ctrl_1.rs b/esp32/src/dport/sram_pd_ctrl_1.rs index 158f792667..148e5af943 100644 --- a/esp32/src/dport/sram_pd_ctrl_1.rs +++ b/esp32/src/dport/sram_pd_ctrl_1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn sram_pd_1(&mut self) -> SRAM_PD_1_W { SRAM_PD_1_W::new(self, 0) } diff --git a/esp32/src/dport/tag_fo_ctrl.rs b/esp32/src/dport/tag_fo_ctrl.rs index d44dfc5a39..e4199825d4 100644 --- a/esp32/src/dport/tag_fo_ctrl.rs +++ b/esp32/src/dport/tag_fo_ctrl.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn pro_cache_tag_force_on(&mut self) -> PRO_CACHE_TAG_FORCE_ON_W { PRO_CACHE_TAG_FORCE_ON_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn pro_cache_tag_pd(&mut self) -> PRO_CACHE_TAG_PD_W { PRO_CACHE_TAG_PD_W::new(self, 1) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn app_cache_tag_force_on(&mut self) -> APP_CACHE_TAG_FORCE_ON_W { APP_CACHE_TAG_FORCE_ON_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn app_cache_tag_pd(&mut self) -> APP_CACHE_TAG_PD_W { APP_CACHE_TAG_PD_W::new(self, 9) } diff --git a/esp32/src/dport/tracemem_mux_mode.rs b/esp32/src/dport/tracemem_mux_mode.rs index d483030c9b..e13ea59b29 100644 --- a/esp32/src/dport/tracemem_mux_mode.rs +++ b/esp32/src/dport/tracemem_mux_mode.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn tracemem_mux_mode(&mut self) -> TRACEMEM_MUX_MODE_W { TRACEMEM_MUX_MODE_W::new(self, 0) } diff --git a/esp32/src/dport/wifi_bb_cfg.rs b/esp32/src/dport/wifi_bb_cfg.rs index d7bb7244d6..5bde8ca55e 100644 --- a/esp32/src/dport/wifi_bb_cfg.rs +++ b/esp32/src/dport/wifi_bb_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn wifi_bb_cfg(&mut self) -> WIFI_BB_CFG_W { WIFI_BB_CFG_W::new(self, 0) } diff --git a/esp32/src/dport/wifi_bb_cfg_2.rs b/esp32/src/dport/wifi_bb_cfg_2.rs index f27054d4db..b9b3de76a1 100644 --- a/esp32/src/dport/wifi_bb_cfg_2.rs +++ b/esp32/src/dport/wifi_bb_cfg_2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn wifi_bb_cfg_2(&mut self) -> WIFI_BB_CFG_2_W { WIFI_BB_CFG_2_W::new(self, 0) } diff --git a/esp32/src/dport/wifi_clk_en.rs b/esp32/src/dport/wifi_clk_en.rs index 27dc7e51cf..d3759ebed3 100644 --- a/esp32/src/dport/wifi_clk_en.rs +++ b/esp32/src/dport/wifi_clk_en.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn wifi_clk_en(&mut self) -> WIFI_CLK_EN_W { WIFI_CLK_EN_W::new(self, 0) } #[doc = "Bits 0:2"] #[inline(always)] - #[must_use] pub fn wifi_clk_wifi_en(&mut self) -> WIFI_CLK_WIFI_EN_W { WIFI_CLK_WIFI_EN_W::new(self, 0) } #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn wifi_clk_wifi_bt_common(&mut self) -> WIFI_CLK_WIFI_BT_COMMON_W { WIFI_CLK_WIFI_BT_COMMON_W::new(self, 0) } #[doc = "Bits 11:13"] #[inline(always)] - #[must_use] pub fn wifi_clk_bt_en(&mut self) -> WIFI_CLK_BT_EN_W { WIFI_CLK_BT_EN_W::new(self, 11) } diff --git a/esp32/src/efuse/blk0_rdata2.rs b/esp32/src/efuse/blk0_rdata2.rs index c34474760e..0fe1f5d66b 100644 --- a/esp32/src/efuse/blk0_rdata2.rs +++ b/esp32/src/efuse/blk0_rdata2.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 24:31"] #[inline(always)] - #[must_use] pub fn rd_reserve_0_88(&mut self) -> RD_RESERVE_0_88_W { RD_RESERVE_0_88_W::new(self, 24) } diff --git a/esp32/src/efuse/blk0_rdata3.rs b/esp32/src/efuse/blk0_rdata3.rs index 8ec79c034e..bee1596b3a 100644 --- a/esp32/src/efuse/blk0_rdata3.rs +++ b/esp32/src/efuse/blk0_rdata3.rs @@ -114,37 +114,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 9:11"] #[inline(always)] - #[must_use] pub fn rd_chip_package(&mut self) -> RD_CHIP_PACKAGE_W { RD_CHIP_PACKAGE_W::new(self, 9) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn rd_chip_cpu_freq_low(&mut self) -> RD_CHIP_CPU_FREQ_LOW_W { RD_CHIP_CPU_FREQ_LOW_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn rd_chip_cpu_freq_rated(&mut self) -> RD_CHIP_CPU_FREQ_RATED_W { RD_CHIP_CPU_FREQ_RATED_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn rd_blk3_part_reserve(&mut self) -> RD_BLK3_PART_RESERVE_W { RD_BLK3_PART_RESERVE_W::new(self, 14) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn rd_chip_ver_rev1(&mut self) -> RD_CHIP_VER_REV1_W { RD_CHIP_VER_REV1_W::new(self, 15) } #[doc = "Bits 16:31"] #[inline(always)] - #[must_use] pub fn rd_reserve_0_112(&mut self) -> RD_RESERVE_0_112_W { RD_RESERVE_0_112_W::new(self, 16) } diff --git a/esp32/src/efuse/blk0_rdata4.rs b/esp32/src/efuse/blk0_rdata4.rs index 91f4afe71d..75ed6513d5 100644 --- a/esp32/src/efuse/blk0_rdata4.rs +++ b/esp32/src/efuse/blk0_rdata4.rs @@ -76,19 +76,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 8:12"] #[inline(always)] - #[must_use] pub fn rd_adc_vref(&mut self) -> RD_ADC_VREF_W { RD_ADC_VREF_W::new(self, 8) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn rd_reserve_0_141(&mut self) -> RD_RESERVE_0_141_W { RD_RESERVE_0_141_W::new(self, 13) } #[doc = "Bits 17:31"] #[inline(always)] - #[must_use] pub fn rd_reserve_0_145(&mut self) -> RD_RESERVE_0_145_W { RD_RESERVE_0_145_W::new(self, 17) } diff --git a/esp32/src/efuse/blk0_rdata5.rs b/esp32/src/efuse/blk0_rdata5.rs index 9ed7ded75f..bc66c2e04d 100644 --- a/esp32/src/efuse/blk0_rdata5.rs +++ b/esp32/src/efuse/blk0_rdata5.rs @@ -98,13 +98,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn rd_reserve_0_181(&mut self) -> RD_RESERVE_0_181_W { RD_RESERVE_0_181_W::new(self, 21) } #[doc = "Bits 26:27"] #[inline(always)] - #[must_use] pub fn rd_reserve_0_186(&mut self) -> RD_RESERVE_0_186_W { RD_RESERVE_0_186_W::new(self, 26) } diff --git a/esp32/src/efuse/blk0_rdata6.rs b/esp32/src/efuse/blk0_rdata6.rs index cc0a5ab74e..24e525fc77 100644 --- a/esp32/src/efuse/blk0_rdata6.rs +++ b/esp32/src/efuse/blk0_rdata6.rs @@ -104,7 +104,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 11:31"] #[inline(always)] - #[must_use] pub fn rd_reserve_0_203(&mut self) -> RD_RESERVE_0_203_W { RD_RESERVE_0_203_W::new(self, 11) } diff --git a/esp32/src/efuse/blk0_wdata0.rs b/esp32/src/efuse/blk0_wdata0.rs index 3217e4fce3..bfc57f05f0 100644 --- a/esp32/src/efuse/blk0_wdata0.rs +++ b/esp32/src/efuse/blk0_wdata0.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn wr_dis(&mut self) -> WR_DIS_W { WR_DIS_W::new(self, 0) } #[doc = "Bits 16:19"] #[inline(always)] - #[must_use] pub fn rd_dis(&mut self) -> RD_DIS_W { RD_DIS_W::new(self, 16) } #[doc = "Bits 20:26"] #[inline(always)] - #[must_use] pub fn flash_crypt_cnt(&mut self) -> FLASH_CRYPT_CNT_W { FLASH_CRYPT_CNT_W::new(self, 20) } diff --git a/esp32/src/efuse/blk0_wdata1.rs b/esp32/src/efuse/blk0_wdata1.rs index c67c47f13c..ab4d803219 100644 --- a/esp32/src/efuse/blk0_wdata1.rs +++ b/esp32/src/efuse/blk0_wdata1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn wifi_mac_crc_low(&mut self) -> WIFI_MAC_CRC_LOW_W { WIFI_MAC_CRC_LOW_W::new(self, 0) } diff --git a/esp32/src/efuse/blk0_wdata2.rs b/esp32/src/efuse/blk0_wdata2.rs index 3a27152f29..b6d9d73fb0 100644 --- a/esp32/src/efuse/blk0_wdata2.rs +++ b/esp32/src/efuse/blk0_wdata2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23"] #[inline(always)] - #[must_use] pub fn wifi_mac_crc_high(&mut self) -> WIFI_MAC_CRC_HIGH_W { WIFI_MAC_CRC_HIGH_W::new(self, 0) } diff --git a/esp32/src/efuse/blk0_wdata3.rs b/esp32/src/efuse/blk0_wdata3.rs index a758a47e25..12884e920b 100644 --- a/esp32/src/efuse/blk0_wdata3.rs +++ b/esp32/src/efuse/blk0_wdata3.rs @@ -114,37 +114,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 9:11"] #[inline(always)] - #[must_use] pub fn chip_package(&mut self) -> CHIP_PACKAGE_W { CHIP_PACKAGE_W::new(self, 9) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn chip_cpu_freq_low(&mut self) -> CHIP_CPU_FREQ_LOW_W { CHIP_CPU_FREQ_LOW_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn chip_cpu_freq_rated(&mut self) -> CHIP_CPU_FREQ_RATED_W { CHIP_CPU_FREQ_RATED_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn blk3_part_reserve(&mut self) -> BLK3_PART_RESERVE_W { BLK3_PART_RESERVE_W::new(self, 14) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn chip_ver_rev1(&mut self) -> CHIP_VER_REV1_W { CHIP_VER_REV1_W::new(self, 15) } #[doc = "Bits 16:31"] #[inline(always)] - #[must_use] pub fn reserve_0_112(&mut self) -> RESERVE_0_112_W { RESERVE_0_112_W::new(self, 16) } diff --git a/esp32/src/efuse/blk0_wdata4.rs b/esp32/src/efuse/blk0_wdata4.rs index e988cec462..a8397426aa 100644 --- a/esp32/src/efuse/blk0_wdata4.rs +++ b/esp32/src/efuse/blk0_wdata4.rs @@ -76,19 +76,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 8:12"] #[inline(always)] - #[must_use] pub fn adc_vref(&mut self) -> ADC_VREF_W { ADC_VREF_W::new(self, 8) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn reserve_0_141(&mut self) -> RESERVE_0_141_W { RESERVE_0_141_W::new(self, 13) } #[doc = "Bits 17:31"] #[inline(always)] - #[must_use] pub fn reserve_0_145(&mut self) -> RESERVE_0_145_W { RESERVE_0_145_W::new(self, 17) } diff --git a/esp32/src/efuse/blk0_wdata5.rs b/esp32/src/efuse/blk0_wdata5.rs index 8f874fa112..0fbd68d1d1 100644 --- a/esp32/src/efuse/blk0_wdata5.rs +++ b/esp32/src/efuse/blk0_wdata5.rs @@ -98,13 +98,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn reserve_0_181(&mut self) -> RESERVE_0_181_W { RESERVE_0_181_W::new(self, 21) } #[doc = "Bits 26:27"] #[inline(always)] - #[must_use] pub fn reserve_0_186(&mut self) -> RESERVE_0_186_W { RESERVE_0_186_W::new(self, 26) } diff --git a/esp32/src/efuse/blk0_wdata6.rs b/esp32/src/efuse/blk0_wdata6.rs index defb29195f..39b745b622 100644 --- a/esp32/src/efuse/blk0_wdata6.rs +++ b/esp32/src/efuse/blk0_wdata6.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn coding_scheme(&mut self) -> CODING_SCHEME_W { CODING_SCHEME_W::new(self, 0) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn console_debug_disable(&mut self) -> CONSOLE_DEBUG_DISABLE_W { CONSOLE_DEBUG_DISABLE_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn disable_sdio_host(&mut self) -> DISABLE_SDIO_HOST_W { DISABLE_SDIO_HOST_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn abs_done_0(&mut self) -> ABS_DONE_0_W { ABS_DONE_0_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn abs_done_1(&mut self) -> ABS_DONE_1_W { ABS_DONE_1_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn disable_jtag(&mut self) -> DISABLE_JTAG_W { DISABLE_JTAG_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn disable_dl_encrypt(&mut self) -> DISABLE_DL_ENCRYPT_W { DISABLE_DL_ENCRYPT_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn disable_dl_decrypt(&mut self) -> DISABLE_DL_DECRYPT_W { DISABLE_DL_DECRYPT_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn disable_dl_cache(&mut self) -> DISABLE_DL_CACHE_W { DISABLE_DL_CACHE_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn key_status(&mut self) -> KEY_STATUS_W { KEY_STATUS_W::new(self, 10) } diff --git a/esp32/src/efuse/blk1_wdata0.rs b/esp32/src/efuse/blk1_wdata0.rs index 44ba9a1a2d..50327bdecf 100644 --- a/esp32/src/efuse/blk1_wdata0.rs +++ b/esp32/src/efuse/blk1_wdata0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn blk1_din0(&mut self) -> BLK1_DIN0_W { BLK1_DIN0_W::new(self, 0) } diff --git a/esp32/src/efuse/blk1_wdata1.rs b/esp32/src/efuse/blk1_wdata1.rs index 4974d2ba7c..1b82691edb 100644 --- a/esp32/src/efuse/blk1_wdata1.rs +++ b/esp32/src/efuse/blk1_wdata1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn blk1_din1(&mut self) -> BLK1_DIN1_W { BLK1_DIN1_W::new(self, 0) } diff --git a/esp32/src/efuse/blk1_wdata2.rs b/esp32/src/efuse/blk1_wdata2.rs index 0904d0a855..2d5d3862b2 100644 --- a/esp32/src/efuse/blk1_wdata2.rs +++ b/esp32/src/efuse/blk1_wdata2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn blk1_din2(&mut self) -> BLK1_DIN2_W { BLK1_DIN2_W::new(self, 0) } diff --git a/esp32/src/efuse/blk1_wdata3.rs b/esp32/src/efuse/blk1_wdata3.rs index 5f5b9781a0..37db9ad588 100644 --- a/esp32/src/efuse/blk1_wdata3.rs +++ b/esp32/src/efuse/blk1_wdata3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn blk1_din3(&mut self) -> BLK1_DIN3_W { BLK1_DIN3_W::new(self, 0) } diff --git a/esp32/src/efuse/blk1_wdata4.rs b/esp32/src/efuse/blk1_wdata4.rs index 8c9d6ea10c..bf01ad456e 100644 --- a/esp32/src/efuse/blk1_wdata4.rs +++ b/esp32/src/efuse/blk1_wdata4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn blk1_din4(&mut self) -> BLK1_DIN4_W { BLK1_DIN4_W::new(self, 0) } diff --git a/esp32/src/efuse/blk1_wdata5.rs b/esp32/src/efuse/blk1_wdata5.rs index 835030c9b8..e4f2bd8548 100644 --- a/esp32/src/efuse/blk1_wdata5.rs +++ b/esp32/src/efuse/blk1_wdata5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn blk1_din5(&mut self) -> BLK1_DIN5_W { BLK1_DIN5_W::new(self, 0) } diff --git a/esp32/src/efuse/blk1_wdata6.rs b/esp32/src/efuse/blk1_wdata6.rs index f7d7336c49..d4289fc1cb 100644 --- a/esp32/src/efuse/blk1_wdata6.rs +++ b/esp32/src/efuse/blk1_wdata6.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn blk1_din6(&mut self) -> BLK1_DIN6_W { BLK1_DIN6_W::new(self, 0) } diff --git a/esp32/src/efuse/blk1_wdata7.rs b/esp32/src/efuse/blk1_wdata7.rs index d78932d65e..e7907e5246 100644 --- a/esp32/src/efuse/blk1_wdata7.rs +++ b/esp32/src/efuse/blk1_wdata7.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn blk1_din7(&mut self) -> BLK1_DIN7_W { BLK1_DIN7_W::new(self, 0) } diff --git a/esp32/src/efuse/blk2_wdata0.rs b/esp32/src/efuse/blk2_wdata0.rs index 0da8e92cc0..5d65cce493 100644 --- a/esp32/src/efuse/blk2_wdata0.rs +++ b/esp32/src/efuse/blk2_wdata0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn blk2_din0(&mut self) -> BLK2_DIN0_W { BLK2_DIN0_W::new(self, 0) } diff --git a/esp32/src/efuse/blk2_wdata1.rs b/esp32/src/efuse/blk2_wdata1.rs index 8ed0352f61..4cf91110e6 100644 --- a/esp32/src/efuse/blk2_wdata1.rs +++ b/esp32/src/efuse/blk2_wdata1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn blk2_din1(&mut self) -> BLK2_DIN1_W { BLK2_DIN1_W::new(self, 0) } diff --git a/esp32/src/efuse/blk2_wdata2.rs b/esp32/src/efuse/blk2_wdata2.rs index 64d81d1f1f..96b923ba46 100644 --- a/esp32/src/efuse/blk2_wdata2.rs +++ b/esp32/src/efuse/blk2_wdata2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn blk2_din2(&mut self) -> BLK2_DIN2_W { BLK2_DIN2_W::new(self, 0) } diff --git a/esp32/src/efuse/blk2_wdata3.rs b/esp32/src/efuse/blk2_wdata3.rs index d5f290224e..b292894c54 100644 --- a/esp32/src/efuse/blk2_wdata3.rs +++ b/esp32/src/efuse/blk2_wdata3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn blk2_din3(&mut self) -> BLK2_DIN3_W { BLK2_DIN3_W::new(self, 0) } diff --git a/esp32/src/efuse/blk2_wdata4.rs b/esp32/src/efuse/blk2_wdata4.rs index 3020570e29..3ff75b04d2 100644 --- a/esp32/src/efuse/blk2_wdata4.rs +++ b/esp32/src/efuse/blk2_wdata4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn blk2_din4(&mut self) -> BLK2_DIN4_W { BLK2_DIN4_W::new(self, 0) } diff --git a/esp32/src/efuse/blk2_wdata5.rs b/esp32/src/efuse/blk2_wdata5.rs index 380ead8525..f84a7590e6 100644 --- a/esp32/src/efuse/blk2_wdata5.rs +++ b/esp32/src/efuse/blk2_wdata5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn blk2_din5(&mut self) -> BLK2_DIN5_W { BLK2_DIN5_W::new(self, 0) } diff --git a/esp32/src/efuse/blk2_wdata6.rs b/esp32/src/efuse/blk2_wdata6.rs index ce4a035cd5..c9f5e8c1a6 100644 --- a/esp32/src/efuse/blk2_wdata6.rs +++ b/esp32/src/efuse/blk2_wdata6.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn blk2_din6(&mut self) -> BLK2_DIN6_W { BLK2_DIN6_W::new(self, 0) } diff --git a/esp32/src/efuse/blk2_wdata7.rs b/esp32/src/efuse/blk2_wdata7.rs index fa38cfb29f..98f147b6bd 100644 --- a/esp32/src/efuse/blk2_wdata7.rs +++ b/esp32/src/efuse/blk2_wdata7.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn blk2_din7(&mut self) -> BLK2_DIN7_W { BLK2_DIN7_W::new(self, 0) } diff --git a/esp32/src/efuse/blk3_rdata3.rs b/esp32/src/efuse/blk3_rdata3.rs index b2e6acd025..54de3a604d 100644 --- a/esp32/src/efuse/blk3_rdata3.rs +++ b/esp32/src/efuse/blk3_rdata3.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn rd_adc1_tp_low(&mut self) -> RD_ADC1_TP_LOW_W { RD_ADC1_TP_LOW_W::new(self, 0) } #[doc = "Bits 7:15"] #[inline(always)] - #[must_use] pub fn rd_adc1_tp_high(&mut self) -> RD_ADC1_TP_HIGH_W { RD_ADC1_TP_HIGH_W::new(self, 7) } #[doc = "Bits 16:22"] #[inline(always)] - #[must_use] pub fn rd_adc2_tp_low(&mut self) -> RD_ADC2_TP_LOW_W { RD_ADC2_TP_LOW_W::new(self, 16) } #[doc = "Bits 23:31"] #[inline(always)] - #[must_use] pub fn rd_adc2_tp_high(&mut self) -> RD_ADC2_TP_HIGH_W { RD_ADC2_TP_HIGH_W::new(self, 23) } diff --git a/esp32/src/efuse/blk3_wdata0.rs b/esp32/src/efuse/blk3_wdata0.rs index f32fa54e10..6f60b74779 100644 --- a/esp32/src/efuse/blk3_wdata0.rs +++ b/esp32/src/efuse/blk3_wdata0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn blk3_din0(&mut self) -> BLK3_DIN0_W { BLK3_DIN0_W::new(self, 0) } diff --git a/esp32/src/efuse/blk3_wdata1.rs b/esp32/src/efuse/blk3_wdata1.rs index 1dce75b61d..cb09e5f297 100644 --- a/esp32/src/efuse/blk3_wdata1.rs +++ b/esp32/src/efuse/blk3_wdata1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn blk3_din1(&mut self) -> BLK3_DIN1_W { BLK3_DIN1_W::new(self, 0) } diff --git a/esp32/src/efuse/blk3_wdata2.rs b/esp32/src/efuse/blk3_wdata2.rs index 1bc550d65e..da10fcdf8b 100644 --- a/esp32/src/efuse/blk3_wdata2.rs +++ b/esp32/src/efuse/blk3_wdata2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn blk3_din2(&mut self) -> BLK3_DIN2_W { BLK3_DIN2_W::new(self, 0) } diff --git a/esp32/src/efuse/blk3_wdata3.rs b/esp32/src/efuse/blk3_wdata3.rs index 467a5893f9..86150d6a13 100644 --- a/esp32/src/efuse/blk3_wdata3.rs +++ b/esp32/src/efuse/blk3_wdata3.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn adc1_tp_low(&mut self) -> ADC1_TP_LOW_W { ADC1_TP_LOW_W::new(self, 0) } #[doc = "Bits 7:15"] #[inline(always)] - #[must_use] pub fn adc1_tp_high(&mut self) -> ADC1_TP_HIGH_W { ADC1_TP_HIGH_W::new(self, 7) } #[doc = "Bits 16:22"] #[inline(always)] - #[must_use] pub fn adc2_tp_low(&mut self) -> ADC2_TP_LOW_W { ADC2_TP_LOW_W::new(self, 16) } #[doc = "Bits 23:31"] #[inline(always)] - #[must_use] pub fn adc2_tp_high(&mut self) -> ADC2_TP_HIGH_W { ADC2_TP_HIGH_W::new(self, 23) } diff --git a/esp32/src/efuse/blk3_wdata5.rs b/esp32/src/efuse/blk3_wdata5.rs index 2f74715490..0d84224d22 100644 --- a/esp32/src/efuse/blk3_wdata5.rs +++ b/esp32/src/efuse/blk3_wdata5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn blk3_din5(&mut self) -> BLK3_DIN5_W { BLK3_DIN5_W::new(self, 0) } diff --git a/esp32/src/efuse/blk3_wdata6.rs b/esp32/src/efuse/blk3_wdata6.rs index e03566d304..eabe2d977b 100644 --- a/esp32/src/efuse/blk3_wdata6.rs +++ b/esp32/src/efuse/blk3_wdata6.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn blk3_din6(&mut self) -> BLK3_DIN6_W { BLK3_DIN6_W::new(self, 0) } diff --git a/esp32/src/efuse/blk3_wdata7.rs b/esp32/src/efuse/blk3_wdata7.rs index 01c022b079..6671fd5232 100644 --- a/esp32/src/efuse/blk3_wdata7.rs +++ b/esp32/src/efuse/blk3_wdata7.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn blk3_din7(&mut self) -> BLK3_DIN7_W { BLK3_DIN7_W::new(self, 0) } diff --git a/esp32/src/efuse/clk.rs b/esp32/src/efuse/clk.rs index 3c62ee8551..fe3957a158 100644 --- a/esp32/src/efuse/clk.rs +++ b/esp32/src/efuse/clk.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn sel0(&mut self) -> SEL0_W { SEL0_W::new(self, 0) } #[doc = "Bits 8:15"] #[inline(always)] - #[must_use] pub fn sel1(&mut self) -> SEL1_W { SEL1_W::new(self, 8) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 16) } diff --git a/esp32/src/efuse/cmd.rs b/esp32/src/efuse/cmd.rs index e12f5509cf..c158990141 100644 --- a/esp32/src/efuse/cmd.rs +++ b/esp32/src/efuse/cmd.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn read_cmd(&mut self) -> READ_CMD_W { READ_CMD_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn pgm_cmd(&mut self) -> PGM_CMD_W { PGM_CMD_W::new(self, 1) } diff --git a/esp32/src/efuse/conf.rs b/esp32/src/efuse/conf.rs index d24c460030..40db3126ea 100644 --- a/esp32/src/efuse/conf.rs +++ b/esp32/src/efuse/conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn op_code(&mut self) -> OP_CODE_W { OP_CODE_W::new(self, 0) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn force_no_wr_rd_dis(&mut self) -> FORCE_NO_WR_RD_DIS_W { FORCE_NO_WR_RD_DIS_W::new(self, 16) } diff --git a/esp32/src/efuse/dac_conf.rs b/esp32/src/efuse/dac_conf.rs index 8c01fbb6bb..ba3f88a04a 100644 --- a/esp32/src/efuse/dac_conf.rs +++ b/esp32/src/efuse/dac_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn dac_clk_div(&mut self) -> DAC_CLK_DIV_W { DAC_CLK_DIV_W::new(self, 0) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn dac_clk_pad_sel(&mut self) -> DAC_CLK_PAD_SEL_W { DAC_CLK_PAD_SEL_W::new(self, 8) } diff --git a/esp32/src/efuse/date.rs b/esp32/src/efuse/date.rs index 8e271a127a..677aa8b8ff 100644 --- a/esp32/src/efuse/date.rs +++ b/esp32/src/efuse/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32/src/efuse/int_clr.rs b/esp32/src/efuse/int_clr.rs index 21aedf9c22..91b4788062 100644 --- a/esp32/src/efuse/int_clr.rs +++ b/esp32/src/efuse/int_clr.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn read_done(&mut self) -> READ_DONE_W { READ_DONE_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn pgm_done(&mut self) -> PGM_DONE_W { PGM_DONE_W::new(self, 1) } diff --git a/esp32/src/efuse/int_ena.rs b/esp32/src/efuse/int_ena.rs index 1c4746ae5c..67e7cfaa8e 100644 --- a/esp32/src/efuse/int_ena.rs +++ b/esp32/src/efuse/int_ena.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn read_done(&mut self) -> READ_DONE_W { READ_DONE_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn pgm_done(&mut self) -> PGM_DONE_W { PGM_DONE_W::new(self, 1) } diff --git a/esp32/src/emac_dma/dmabusmode.rs b/esp32/src/emac_dma/dmabusmode.rs index 4e1843d119..e227cda9de 100644 --- a/esp32/src/emac_dma/dmabusmode.rs +++ b/esp32/src/emac_dma/dmabusmode.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - When this bit is set the MAC DMA Controller resets the logic and all internal registers of the MAC. It is cleared automatically after the reset operation is complete in all of the ETH_MAC clock domains. Before reprogramming any register of the ETH_MAC you should read a zero (0) value in this bit."] #[inline(always)] - #[must_use] pub fn sw_rst(&mut self) -> SW_RST_W { SW_RST_W::new(self, 0) } #[doc = "Bit 1 - This bit specifies the arbitration scheme between the transmit and receive paths.1'b0: weighted round-robin with RX:TX or TX:RX priority specified in PR (bit\\[15:14\\]). 1'b1 Fixed priority (Rx priority to Tx)."] #[inline(always)] - #[must_use] pub fn dma_arb_sch(&mut self) -> DMA_ARB_SCH_W { DMA_ARB_SCH_W::new(self, 1) } #[doc = "Bits 2:6 - This bit specifies the number of Word to skip between two unchained descriptors.The address skipping starts from the end of current descriptor to the start of next descriptor. When the DSL(DESC_SKIP_LEN) value is equal to zero the descriptor table is taken as contiguous by the DMA in Ring mode."] #[inline(always)] - #[must_use] pub fn desc_skip_len(&mut self) -> DESC_SKIP_LEN_W { DESC_SKIP_LEN_W::new(self, 2) } #[doc = "Bit 7 - When set the size of the alternate descriptor increases to 32 bytes."] #[inline(always)] - #[must_use] pub fn alt_desc_size(&mut self) -> ALT_DESC_SIZE_W { ALT_DESC_SIZE_W::new(self, 7) } #[doc = "Bits 8:13 - These bits indicate the maximum number of beats to be transferred in one DMA transaction. If the number of beats to be transferred is more than 32 then perform the following steps: 1. Set the PBLx8 mode 2. Set the PBL(PROG_BURST_LEN)."] #[inline(always)] - #[must_use] pub fn prog_burst_len(&mut self) -> PROG_BURST_LEN_W { PROG_BURST_LEN_W::new(self, 8) } #[doc = "Bits 14:15 - These bits control the priority ratio in the weighted round-robin arbitration between the Rx DMA and Tx DMA. These bits are valid only when Bit 1 (DA) is reset. The priority ratio Rx:Tx represented by each bit: 2'b00 -- 1: 1 2'b01 -- 2: 0 2'b10 -- 3: 1 2'b11 -- 4: 1"] #[inline(always)] - #[must_use] pub fn pri_ratio(&mut self) -> PRI_RATIO_W { PRI_RATIO_W::new(self, 14) } #[doc = "Bit 16 - This bit controls whether the AHB master interface performs fixed burst transfers or not. When set the AHB interface uses only SINGLE INCR4 INCR8 or INCR16 during start of the normal burst transfers. When reset the AHB interface uses SINGLE and INCR burst transfer Operations."] #[inline(always)] - #[must_use] pub fn fixed_burst(&mut self) -> FIXED_BURST_W { FIXED_BURST_W::new(self, 16) } #[doc = "Bits 17:22 - This field indicates the maximum number of beats to be transferred in one Rx DMA transaction. This is the maximum value that is used in a single block Read or Write.The Rx DMA always attempts to burst as specified in the RPBL(RX_DMA_PBL) bit each time it starts a burst transfer on the host bus. You can program RPBL with values of 1 2 4 8 16 and 32. Any other value results in undefined behavior. This field is valid and applicable only when USP(USE_SEP_PBL) is set high."] #[inline(always)] - #[must_use] pub fn rx_dma_pbl(&mut self) -> RX_DMA_PBL_W { RX_DMA_PBL_W::new(self, 17) } #[doc = "Bit 23 - When set high this bit configures the Rx DMA to use the value configured in Bits\\[22:17\\] as PBL. The PBL value in Bits\\[13:8\\] is applicable only to the Tx DMA operations. When reset to low the PBL value in Bits\\[13:8\\] is applicable for both DMA engines."] #[inline(always)] - #[must_use] pub fn use_sep_pbl(&mut self) -> USE_SEP_PBL_W { USE_SEP_PBL_W::new(self, 23) } #[doc = "Bit 24 - When set high this bit multiplies the programmed PBL value (Bits\\[22:17\\] and Bits\\[13:8\\]) eight times. Therefore the DMA transfers the data in 8 16 32 64 128 and 256 beats depending on the PBL value."] #[inline(always)] - #[must_use] pub fn pblx8_mode(&mut self) -> PBLX8_MODE_W { PBLX8_MODE_W::new(self, 24) } #[doc = "Bit 25 - When this bit is set high and the FIXED_BURST bit is 1 the AHB interface generates all bursts aligned to the start address LS bits. If the FIXED_BURST bit is 0 the first burst (accessing the start address of data buffer) is not aligned but subsequent bursts are aligned to the address."] #[inline(always)] - #[must_use] pub fn dmaaddralibea(&mut self) -> DMAADDRALIBEA_W { DMAADDRALIBEA_W::new(self, 25) } #[doc = "Bit 26 - When this bit is set high and the FIXED_BURST bit is low the AHB master interface starts all bursts of a length more than 16 with INCR (undefined burst) whereas it reverts to fixed burst transfers (INCRx and SINGLE) for burst length of 16 and less."] #[inline(always)] - #[must_use] pub fn dmamixedburst(&mut self) -> DMAMIXEDBURST_W { DMAMIXEDBURST_W::new(self, 26) } diff --git a/esp32/src/emac_dma/dmain_en.rs b/esp32/src/emac_dma/dmain_en.rs index 735da67c4c..12c1508d96 100644 --- a/esp32/src/emac_dma/dmain_en.rs +++ b/esp32/src/emac_dma/dmain_en.rs @@ -164,91 +164,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - When this bit is set with Normal Interrupt Summary Enable (Bit\\[16\\]) the Transmit Interrupt is enabled. When this bit is reset the Transmit Interrupt is disabled."] #[inline(always)] - #[must_use] pub fn dmain_tie(&mut self) -> DMAIN_TIE_W { DMAIN_TIE_W::new(self, 0) } #[doc = "Bit 1 - When this bit is set with Abnormal Interrupt Summary Enable (Bit\\[15\\]) the Transmission Stopped Interrupt is enabled. When this bit is reset the Transmission Stopped Interrupt is disabled."] #[inline(always)] - #[must_use] pub fn dmain_tse(&mut self) -> DMAIN_TSE_W { DMAIN_TSE_W::new(self, 1) } #[doc = "Bit 2 - When this bit is set with Normal Interrupt Summary Enable (Bit 16) the Transmit Buffer Unavailable Interrupt is enabled. When this bit is reset the Transmit Buffer Unavailable Interrupt is Disabled."] #[inline(always)] - #[must_use] pub fn dmain_tbue(&mut self) -> DMAIN_TBUE_W { DMAIN_TBUE_W::new(self, 2) } #[doc = "Bit 3 - When this bit is set with Abnormal Interrupt Summary Enable (Bit\\[15\\]) the Transmit Jabber Timeout Interrupt is enabled. When this bit is reset the Transmit Jabber Timeout Interrupt is disabled."] #[inline(always)] - #[must_use] pub fn dmain_tjte(&mut self) -> DMAIN_TJTE_W { DMAIN_TJTE_W::new(self, 3) } #[doc = "Bit 4 - When this bit is set with Abnormal Interrupt Summary Enable (Bit\\[15\\]) the Receive Overflow Interrupt is enabled. When this bit is reset the Overflow Interrupt is disabled."] #[inline(always)] - #[must_use] pub fn dmain_oie(&mut self) -> DMAIN_OIE_W { DMAIN_OIE_W::new(self, 4) } #[doc = "Bit 5 - When this bit is set with Abnormal Interrupt Summary Enable (Bit\\[15\\]) the Transmit Underflow Interrupt is enabled. When this bit is reset the Underflow Interrupt is disabled."] #[inline(always)] - #[must_use] pub fn dmain_uie(&mut self) -> DMAIN_UIE_W { DMAIN_UIE_W::new(self, 5) } #[doc = "Bit 6 - When this bit is set with Normal Interrupt Summary Enable (Bit\\[16\\]) the Receive Interrupt is enabled. When this bit is reset the Receive Interrupt is disabled."] #[inline(always)] - #[must_use] pub fn dmain_rie(&mut self) -> DMAIN_RIE_W { DMAIN_RIE_W::new(self, 6) } #[doc = "Bit 7 - When this bit is set with Abnormal Interrupt Summary Enable (Bit\\[15\\]) the Receive Buffer Unavailable Interrupt is enabled. When this bit is reset the Receive Buffer Unavailable Interrupt is disabled."] #[inline(always)] - #[must_use] pub fn dmain_rbue(&mut self) -> DMAIN_RBUE_W { DMAIN_RBUE_W::new(self, 7) } #[doc = "Bit 8 - When this bit is set with Abnormal Interrupt Summary Enable (Bit\\[15\\]) the Receive Stopped Interrupt is enabled. When this bit is reset the Receive Stopped Interrupt is disabled."] #[inline(always)] - #[must_use] pub fn dmain_rse(&mut self) -> DMAIN_RSE_W { DMAIN_RSE_W::new(self, 8) } #[doc = "Bit 9 - When this bit is set with Abnormal Interrupt Summary Enable (Bit\\[15\\]) the Receive Watchdog Timeout Interrupt is enabled. When this bit is reset the Receive Watchdog Timeout Interrupt is disabled."] #[inline(always)] - #[must_use] pub fn dmain_rwte(&mut self) -> DMAIN_RWTE_W { DMAIN_RWTE_W::new(self, 9) } #[doc = "Bit 10 - When this bit is set with an Abnormal Interrupt Summary Enable (Bit\\[15\\]) the Early Transmit Interrupt is enabled. When this bit is reset the Early Transmit Interrupt is disabled."] #[inline(always)] - #[must_use] pub fn dmain_etie(&mut self) -> DMAIN_ETIE_W { DMAIN_ETIE_W::new(self, 10) } #[doc = "Bit 13 - When this bit is set with Abnormal Interrupt Summary Enable (Bit\\[15\\]) the Fatal Bus Error Interrupt is enabled. When this bit is reset the Fatal Bus Error Enable Interrupt is disabled."] #[inline(always)] - #[must_use] pub fn dmain_fbee(&mut self) -> DMAIN_FBEE_W { DMAIN_FBEE_W::new(self, 13) } #[doc = "Bit 14 - When this bit is set with Normal Interrupt Summary Enable (Bit\\[16\\]) the Early Receive Interrupt is enabled. When this bit is reset the Early Receive Interrupt is disabled."] #[inline(always)] - #[must_use] pub fn dmain_erie(&mut self) -> DMAIN_ERIE_W { DMAIN_ERIE_W::new(self, 14) } #[doc = "Bit 15 - When this bit is set abnormal interrupt summary is enabled. When this bit is reset the abnormal interrupt summary is disabled. This bit enables the following interrupts in Status Register: Bit\\[1\\]: Transmit Process Stopped. Bit\\[3\\]: Transmit Jabber Timeout. Bit\\[4\\]: Receive Overflow. Bit\\[5\\]: Transmit Underflow. Bit\\[7\\]: Receive Buffer Unavailable. Bit\\[8\\]: Receive Process Stopped. Bit\\[9\\]: Receive Watchdog Timeout. Bit\\[10\\]: Early Transmit Interrupt. Bit\\[13\\]: Fatal Bus Error."] #[inline(always)] - #[must_use] pub fn dmain_aise(&mut self) -> DMAIN_AISE_W { DMAIN_AISE_W::new(self, 15) } #[doc = "Bit 16 - When this bit is set normal interrupt summary is enabled. When this bit is reset normal interrupt summary is disabled. This bit enables the following interrupts in Status Register: Bit\\[0\\]: Transmit Interrupt. Bit\\[2\\]: Transmit Buffer Unavailable. Bit\\[6\\]: Receive Interrupt. Bit\\[14\\]: Early Receive Interrupt."] #[inline(always)] - #[must_use] pub fn dmain_nise(&mut self) -> DMAIN_NISE_W { DMAIN_NISE_W::new(self, 16) } diff --git a/esp32/src/emac_dma/dmamissedfr.rs b/esp32/src/emac_dma/dmamissedfr.rs index 31323fb7bd..a986cdf017 100644 --- a/esp32/src/emac_dma/dmamissedfr.rs +++ b/esp32/src/emac_dma/dmamissedfr.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This field indicates the number of frames missed by the controller because of the Host Receive Buffer being unavailable. This counter is incremented each time the DMA discards an incoming frame. The counter is cleared when this register is read."] #[inline(always)] - #[must_use] pub fn missed_fc(&mut self) -> MISSED_FC_W { MISSED_FC_W::new(self, 0) } #[doc = "Bit 16 - This bit is set every time Missed Frame Counter (Bits\\[15:0\\]) overflows that is the DMA discards an incoming frame because of the Host Receive Buffer being unavailable with the missed frame counter at maximum value. In such a scenario the Missed frame counter is reset to all-zeros and this bit indicates that the rollover happened."] #[inline(always)] - #[must_use] pub fn overflow_bmfc(&mut self) -> OVERFLOW_BMFC_W { OVERFLOW_BMFC_W::new(self, 16) } #[doc = "Bits 17:27 - This field indicates the number of frames missed by the application. This counter is incremented each time the MTL FIFO overflows. The counter is cleared when this register is read."] #[inline(always)] - #[must_use] pub fn overflow_fc(&mut self) -> OVERFLOW_FC_W { OVERFLOW_FC_W::new(self, 17) } #[doc = "Bit 28 - This bit is set every time the Overflow Frame Counter (Bits\\[27:17\\]) overflows that is the Rx FIFO overflows with the overflow frame counter at maximum value. In such a scenario the overflow frame counter is reset to all-zeros and this bit indicates that the rollover happened."] #[inline(always)] - #[must_use] pub fn overflow_bfoc(&mut self) -> OVERFLOW_BFOC_W { OVERFLOW_BFOC_W::new(self, 28) } diff --git a/esp32/src/emac_dma/dmaoperation_mode.rs b/esp32/src/emac_dma/dmaoperation_mode.rs index 0924c34c2d..2d9769ea45 100644 --- a/esp32/src/emac_dma/dmaoperation_mode.rs +++ b/esp32/src/emac_dma/dmaoperation_mode.rs @@ -147,43 +147,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - When this bit is set the Receive process is placed in the Running state. The DMA attempts to acquire the descriptor from the Receive list and processes the incoming frames.When this bit is cleared the Rx DMA operation is stopped after the transfer of the current frame."] #[inline(always)] - #[must_use] pub fn start_stop_rx(&mut self) -> START_STOP_RX_W { START_STOP_RX_W::new(self, 1) } #[doc = "Bit 2 - When this bit is set it instructs the DMA to process the second frame of the Transmit data even before the status for the first frame is obtained."] #[inline(always)] - #[must_use] pub fn opt_second_frame(&mut self) -> OPT_SECOND_FRAME_W { OPT_SECOND_FRAME_W::new(self, 2) } #[doc = "Bits 3:4 - These two bits control the threshold level of the MTL Receive FIFO. Transfer (request) to DMA starts when the frame size within the MTL Receive FIFO is larger than the threshold. 2'b00: 64, 2'b01: 32, 2'b10: 96, 2'b11: 128 ."] #[inline(always)] - #[must_use] pub fn rx_thresh_ctrl(&mut self) -> RX_THRESH_CTRL_W { RX_THRESH_CTRL_W::new(self, 3) } #[doc = "Bit 5 - When set the MAC drops the received giant frames in the Rx FIFO that is frames that are larger than the computed giant frame limit."] #[inline(always)] - #[must_use] pub fn drop_gfrm(&mut self) -> DROP_GFRM_W { DROP_GFRM_W::new(self, 5) } #[doc = "Bit 6 - When set the Rx FIFO forwards Undersized frames (that is frames with no Error and length less than 64 bytes) including pad-bytes and CRC."] #[inline(always)] - #[must_use] pub fn fwd_under_gf(&mut self) -> FWD_UNDER_GF_W { FWD_UNDER_GF_W::new(self, 6) } #[doc = "Bit 7 - When this bit is reset the Rx FIFO drops frames with error status (CRC error collision error giant frame watchdog timeout or overflow)."] #[inline(always)] - #[must_use] pub fn fwd_err_frame(&mut self) -> FWD_ERR_FRAME_W { FWD_ERR_FRAME_W::new(self, 7) } #[doc = "Bit 13 - When this bit is set transmission is placed in the Running state and the DMA checks the Transmit List at the current position for a frame to be transmitted.When this bit is reset the transmission process is placed in the Stopped state after completing the transmission of the current frame."] #[inline(always)] - #[must_use] pub fn start_stop_transmission_command( &mut self, ) -> START_STOP_TRANSMISSION_COMMAND_W { @@ -191,37 +184,31 @@ impl W { } #[doc = "Bits 14:16 - These bits control the threshold level of the MTL Transmit FIFO. Transmission starts when the frame size within the MTL Transmit FIFO is larger than the threshold. In addition full frames with a length less than the threshold are also transmitted. These bits are used only when Tx_Str_fwd is reset. 3'b000: 64 3'b001: 128 3'b010: 192 3'b011: 256 3'b100: 40 3'b101: 32 3'b110: 24 3'b111: 16 ."] #[inline(always)] - #[must_use] pub fn tx_thresh_ctrl(&mut self) -> TX_THRESH_CTRL_W { TX_THRESH_CTRL_W::new(self, 14) } #[doc = "Bit 20 - When this bit is set the transmit FIFO controller logic is reset to its default values and thus all data in the Tx FIFO is lost or flushed. This bit is cleared internally when the flushing operation is complete."] #[inline(always)] - #[must_use] pub fn flush_tx_fifo(&mut self) -> FLUSH_TX_FIFO_W { FLUSH_TX_FIFO_W::new(self, 20) } #[doc = "Bit 21 - When this bit is set transmission starts when a full frame resides in the MTL Transmit FIFO. When this bit is set the Tx_Thresh_Ctrl values specified in Tx_Thresh_Ctrl are ignored."] #[inline(always)] - #[must_use] pub fn tx_str_fwd(&mut self) -> TX_STR_FWD_W { TX_STR_FWD_W::new(self, 21) } #[doc = "Bit 24 - When this bit is set the Rx DMA does not flush any frames because of the unavailability of receive descriptors or buffers."] #[inline(always)] - #[must_use] pub fn dis_flush_recv_frames(&mut self) -> DIS_FLUSH_RECV_FRAMES_W { DIS_FLUSH_RECV_FRAMES_W::new(self, 24) } #[doc = "Bit 25 - When this bit is set the MTL reads a frame from the Rx FIFO only after the complete frame has been written to it."] #[inline(always)] - #[must_use] pub fn rx_store_forward(&mut self) -> RX_STORE_FORWARD_W { RX_STORE_FORWARD_W::new(self, 25) } #[doc = "Bit 26 - When this bit is set the MAC does not drop the frames which only have errors detected by the Receive Checksum engine.When this bit is reset all error frames are dropped if the Fwd_Err_Frame bit is reset."] #[inline(always)] - #[must_use] pub fn dis_drop_tcpip_err_fram(&mut self) -> DIS_DROP_TCPIP_ERR_FRAM_W { DIS_DROP_TCPIP_ERR_FRAM_W::new(self, 26) } diff --git a/esp32/src/emac_dma/dmarintwdtimer.rs b/esp32/src/emac_dma/dmarintwdtimer.rs index 760520c550..16147efd12 100644 --- a/esp32/src/emac_dma/dmarintwdtimer.rs +++ b/esp32/src/emac_dma/dmarintwdtimer.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This bit indicates the number of system clock cycles multiplied by 256 for which the watchdog timer is set. The watchdog timer gets triggered with the programmed value after the Rx DMA completes the transfer of a frame for which the RI(RECV_INT) status bit is not set because of the setting in the corresponding descriptor RDES1\\[31\\]. When the watchdog timer runs out the RI bit is set and the timer is stopped. The watchdog timer is reset when the RI bit is set high because of automatic setting of RI as per RDES1\\[31\\] of any received frame."] #[inline(always)] - #[must_use] pub fn riwtc(&mut self) -> RIWTC_W { RIWTC_W::new(self, 0) } diff --git a/esp32/src/emac_dma/dmastatus.rs b/esp32/src/emac_dma/dmastatus.rs index 65897e4516..0ca1fd9de1 100644 --- a/esp32/src/emac_dma/dmastatus.rs +++ b/esp32/src/emac_dma/dmastatus.rs @@ -214,121 +214,101 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit indicates that the frame transmission is complete. When transmission is complete Bit\\[31\\] (OWN) of TDES0 is reset and the specific frame status information is updated in the Descriptor."] #[inline(always)] - #[must_use] pub fn trans_int(&mut self) -> TRANS_INT_W { TRANS_INT_W::new(self, 0) } #[doc = "Bit 1 - This bit is set when the transmission is stopped."] #[inline(always)] - #[must_use] pub fn trans_proc_stop(&mut self) -> TRANS_PROC_STOP_W { TRANS_PROC_STOP_W::new(self, 1) } #[doc = "Bit 2 - This bit indicates that the host owns the Next Descriptor in the Transmit List and the DMA cannot acquire it. Transmission is suspended. Bits\\[22:20\\] explain the Transmit Process state transitions. To resume processing Transmit descriptors the host should change the ownership of the descriptor by setting TDES0\\[31\\] and then issue a Transmit Poll Demand Command."] #[inline(always)] - #[must_use] pub fn trans_buf_unavail(&mut self) -> TRANS_BUF_UNAVAIL_W { TRANS_BUF_UNAVAIL_W::new(self, 2) } #[doc = "Bit 3 - This bit indicates that the Transmit Jabber Timer expired which happens when the frame size exceeds 2 048 (10 240 bytes when the Jumbo frame is enabled). When the Jabber Timeout occurs the transmission process is aborted and placed in the Stopped state. This causes the Transmit Jabber Timeout TDES0\\[14\\] flag to assert."] #[inline(always)] - #[must_use] pub fn trans_jabber_to(&mut self) -> TRANS_JABBER_TO_W { TRANS_JABBER_TO_W::new(self, 3) } #[doc = "Bit 4 - This bit indicates that the Receive Buffer had an Overflow during frame reception. If the partial frame is transferred to the application the overflow status is set in RDES0\\[11\\]."] #[inline(always)] - #[must_use] pub fn recv_ovflow(&mut self) -> RECV_OVFLOW_W { RECV_OVFLOW_W::new(self, 4) } #[doc = "Bit 5 - This bit indicates that the Transmit Buffer had an Underflow during frame transmission. Transmission is suspended and an Underflow Error TDES0\\[1\\] is set."] #[inline(always)] - #[must_use] pub fn trans_undflow(&mut self) -> TRANS_UNDFLOW_W { TRANS_UNDFLOW_W::new(self, 5) } #[doc = "Bit 6 - This bit indicates that the frame reception is complete. When reception is complete the Bit\\[31\\] of RDES1 (Disable Interrupt on Completion) is reset in the last Descriptor and the specific frame status information is updated in the descriptor. The reception remains in the Running state."] #[inline(always)] - #[must_use] pub fn recv_int(&mut self) -> RECV_INT_W { RECV_INT_W::new(self, 6) } #[doc = "Bit 7 - This bit indicates that the host owns the Next Descriptor in the Receive List and the DMA cannot acquire it. The Receive Process is suspended. To resume processing Receive descriptors the host should change the ownership of the descriptor and issue a Receive Poll Demand command. If no Receive Poll Demand is issued the Receive Process resumes when the next recognized incoming frame is received. This bit is set only when the previous Receive Descriptor is owned by the DMA."] #[inline(always)] - #[must_use] pub fn recv_buf_unavail(&mut self) -> RECV_BUF_UNAVAIL_W { RECV_BUF_UNAVAIL_W::new(self, 7) } #[doc = "Bit 8 - This bit is asserted when the Receive Process enters the Stopped state."] #[inline(always)] - #[must_use] pub fn recv_proc_stop(&mut self) -> RECV_PROC_STOP_W { RECV_PROC_STOP_W::new(self, 8) } #[doc = "Bit 9 - When set this bit indicates that the Receive Watchdog Timer expired while receiving the current frame and the current frame is truncated after the watchdog timeout."] #[inline(always)] - #[must_use] pub fn recv_wdt_to(&mut self) -> RECV_WDT_TO_W { RECV_WDT_TO_W::new(self, 9) } #[doc = "Bit 10 - This bit indicates that the frame to be transmitted is fully transferred to the MTL Transmit FIFO."] #[inline(always)] - #[must_use] pub fn early_trans_int(&mut self) -> EARLY_TRANS_INT_W { EARLY_TRANS_INT_W::new(self, 10) } #[doc = "Bit 13 - This bit indicates that a bus error occurred as described in Bits \\[25:23\\]. When this bit is set the corresponding DMA engine disables all of its bus accesses."] #[inline(always)] - #[must_use] pub fn fatal_bus_err_int(&mut self) -> FATAL_BUS_ERR_INT_W { FATAL_BUS_ERR_INT_W::new(self, 13) } #[doc = "Bit 14 - This bit indicates that the DMA filled the first data buffer of the packet. This bit is cleared when the software writes 1 to this bit or when Bit\\[6\\] (RI) of this register is set (whichever occurs earlier)."] #[inline(always)] - #[must_use] pub fn early_recv_int(&mut self) -> EARLY_RECV_INT_W { EARLY_RECV_INT_W::new(self, 14) } #[doc = "Bit 15 - Abnormal Interrupt Summary bit value is the logical OR of the following when the corresponding interrupt bits are enabled in Interrupt Enable Register: Bit\\[1\\]: Transmit Process Stopped. Bit\\[3\\]: Transmit Jabber Timeout. Bit\\[4\\]: Receive FIFO Overflow. Bit\\[5\\]: Transmit Underflow. Bit\\[7\\]: Receive Buffer Unavailable. Bit\\[8\\]: Receive Process Stopped. Bit\\[9\\]: Receive Watchdog Timeout. Bit\\[10\\]: Early Transmit Interrupt. Bit\\[13\\]: Fatal Bus Error. Only unmasked bits affect the Abnormal Interrupt Summary bit. This is a sticky bit and must be cleared (by writing 1 to this bit) each time a corresponding bit which causes AIS to be set is cleared."] #[inline(always)] - #[must_use] pub fn abn_int_summ(&mut self) -> ABN_INT_SUMM_W { ABN_INT_SUMM_W::new(self, 15) } #[doc = "Bit 16 - Normal Interrupt Summary bit value is the logical OR of the following bits when the corresponding interrupt bits are enabled in Interrupt Enable Register: Bit\\[0\\]: Transmit Interrupt. Bit\\[2\\]: Transmit Buffer Unavailable. Bit\\[6\\]: Receive Interrupt. Bit\\[14\\]: Early Receive Interrupt. Only unmasked bits affect the Normal Interrupt Summary bit.This is a sticky bit and must be cleared (by writing 1 to this bit) each time a corresponding bit which causes NIS to be set is cleared."] #[inline(always)] - #[must_use] pub fn norm_int_summ(&mut self) -> NORM_INT_SUMM_W { NORM_INT_SUMM_W::new(self, 16) } #[doc = "Bits 17:19 - This field indicates the Receive DMA FSM state. This field does not generate an interrupt. 3'b000: Stopped. Reset or Stop Receive Command issued. 3'b001: Running. Fetching Receive Transfer Descriptor. 3'b010: Reserved for future use. 3'b011: Running. Waiting for RX packets. 3'b100: Suspended. Receive Descriptor Unavailable. 3'b101: Running. Closing Receive Descriptor. 3'b110: TIME_STAMP write state. 3'b111: Running. Transferring the TX packets data from receive buffer to host memory."] #[inline(always)] - #[must_use] pub fn recv_proc_state(&mut self) -> RECV_PROC_STATE_W { RECV_PROC_STATE_W::new(self, 17) } #[doc = "Bits 20:22 - This field indicates the Transmit DMA FSM state. This field does not generate an interrupt. 3'b000: Stopped. Reset or Stop Transmit Command issued. 3'b001: Running. Fetching Transmit Transfer Descriptor. 3'b010: Reserved for future use. 3'b011: Running. Waiting for TX packets. 3'b100: Suspended. Receive Descriptor Unavailable. 3'b101: Running. Closing Transmit Descriptor. 3'b110: TIME_STAMP write state. 3'b111: Running. Transferring the TX packets data from transmit buffer to host memory."] #[inline(always)] - #[must_use] pub fn trans_proc_state(&mut self) -> TRANS_PROC_STATE_W { TRANS_PROC_STATE_W::new(self, 20) } #[doc = "Bits 23:25 - This field indicates the type of error that caused a Bus Error for example error response on the AHB interface. This field is valid only when Bit\\[13\\] (FBI) is set. This field does not generate an interrupt. 3'b000: Error during Rx DMA Write Data Transfer. 3'b011: Error during Tx DMA Read Data Transfer. 3'b100: Error during Rx DMA Descriptor Write Access. 3'b101: Error during Tx DMA Descriptor Write Access. 3'b110: Error during Rx DMA Descriptor Read Access. 3'b111: Error during Tx DMA Descriptor Read Access."] #[inline(always)] - #[must_use] pub fn error_bits(&mut self) -> ERROR_BITS_W { ERROR_BITS_W::new(self, 23) } #[doc = "Bit 28 - This bit indicates an interrupt event in the PMT module of the ETH_MAC. The software must read the PMT Control and Status Register in the MAC to get the exact cause of interrupt and clear its source to reset this bit to 1'b0."] #[inline(always)] - #[must_use] pub fn pmt_int(&mut self) -> PMT_INT_W { PMT_INT_W::new(self, 28) } #[doc = "Bit 29 - This bit indicates an interrupt event in the Timestamp Generator block of the ETH_MAC.The software must read the corresponding registers in the ETH_MAC to get the exact cause of the interrupt and clear its source to reset this bit to 1'b0."] #[inline(always)] - #[must_use] pub fn ts_tri_int(&mut self) -> TS_TRI_INT_W { TS_TRI_INT_W::new(self, 29) } diff --git a/esp32/src/emac_ext/ex_clk_ctrl.rs b/esp32/src/emac_ext/ex_clk_ctrl.rs index 7db69b46c7..c2105617b0 100644 --- a/esp32/src/emac_ext/ex_clk_ctrl.rs +++ b/esp32/src/emac_ext/ex_clk_ctrl.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn ext_en(&mut self) -> EXT_EN_W { EXT_EN_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn int_en(&mut self) -> INT_EN_W { INT_EN_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn rx_125_clk_en(&mut self) -> RX_125_CLK_EN_W { RX_125_CLK_EN_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn mii_clk_tx_en(&mut self) -> MII_CLK_TX_EN_W { MII_CLK_TX_EN_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn mii_clk_rx_en(&mut self) -> MII_CLK_RX_EN_W { MII_CLK_RX_EN_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 5) } diff --git a/esp32/src/emac_ext/ex_clkout_conf.rs b/esp32/src/emac_ext/ex_clkout_conf.rs index c334b0fe95..443032e059 100644 --- a/esp32/src/emac_ext/ex_clkout_conf.rs +++ b/esp32/src/emac_ext/ex_clkout_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3"] #[inline(always)] - #[must_use] pub fn div_num(&mut self) -> DIV_NUM_W { DIV_NUM_W::new(self, 0) } #[doc = "Bits 4:7"] #[inline(always)] - #[must_use] pub fn h_div_num(&mut self) -> H_DIV_NUM_W { H_DIV_NUM_W::new(self, 4) } #[doc = "Bits 8:9"] #[inline(always)] - #[must_use] pub fn dly_num(&mut self) -> DLY_NUM_W { DLY_NUM_W::new(self, 8) } diff --git a/esp32/src/emac_ext/ex_oscclk_conf.rs b/esp32/src/emac_ext/ex_oscclk_conf.rs index af4574c4ef..1e10ed9647 100644 --- a/esp32/src/emac_ext/ex_oscclk_conf.rs +++ b/esp32/src/emac_ext/ex_oscclk_conf.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn div_num_10m(&mut self) -> DIV_NUM_10M_W { DIV_NUM_10M_W::new(self, 0) } #[doc = "Bits 6:11"] #[inline(always)] - #[must_use] pub fn h_div_num_10m(&mut self) -> H_DIV_NUM_10M_W { H_DIV_NUM_10M_W::new(self, 6) } #[doc = "Bits 12:17"] #[inline(always)] - #[must_use] pub fn div_num_100m(&mut self) -> DIV_NUM_100M_W { DIV_NUM_100M_W::new(self, 12) } #[doc = "Bits 18:23"] #[inline(always)] - #[must_use] pub fn h_div_num_100m(&mut self) -> H_DIV_NUM_100M_W { H_DIV_NUM_100M_W::new(self, 18) } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn clk_sel(&mut self) -> CLK_SEL_W { CLK_SEL_W::new(self, 24) } diff --git a/esp32/src/emac_ext/ex_phyinf_conf.rs b/esp32/src/emac_ext/ex_phyinf_conf.rs index 2f38f5b04a..63f1879da6 100644 --- a/esp32/src/emac_ext/ex_phyinf_conf.rs +++ b/esp32/src/emac_ext/ex_phyinf_conf.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn int_revmii_rx_clk_sel(&mut self) -> INT_REVMII_RX_CLK_SEL_W { INT_REVMII_RX_CLK_SEL_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn ext_revmii_rx_clk_sel(&mut self) -> EXT_REVMII_RX_CLK_SEL_W { EXT_REVMII_RX_CLK_SEL_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn sbd_flowctrl(&mut self) -> SBD_FLOWCTRL_W { SBD_FLOWCTRL_W::new(self, 2) } #[doc = "Bits 3:7"] #[inline(always)] - #[must_use] pub fn core_phy_addr(&mut self) -> CORE_PHY_ADDR_W { CORE_PHY_ADDR_W::new(self, 3) } #[doc = "Bits 8:12"] #[inline(always)] - #[must_use] pub fn revmii_phy_addr(&mut self) -> REVMII_PHY_ADDR_W { REVMII_PHY_ADDR_W::new(self, 8) } #[doc = "Bits 13:15"] #[inline(always)] - #[must_use] pub fn phy_intf_sel(&mut self) -> PHY_INTF_SEL_W { PHY_INTF_SEL_W::new(self, 13) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn ss_mode(&mut self) -> SS_MODE_W { SS_MODE_W::new(self, 16) } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn sbd_clk_gating_en(&mut self) -> SBD_CLK_GATING_EN_W { SBD_CLK_GATING_EN_W::new(self, 17) } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn pmt_ctrl_en(&mut self) -> PMT_CTRL_EN_W { PMT_CTRL_EN_W::new(self, 18) } #[doc = "Bit 19"] #[inline(always)] - #[must_use] pub fn scr_smi_dly_rx_sync(&mut self) -> SCR_SMI_DLY_RX_SYNC_W { SCR_SMI_DLY_RX_SYNC_W::new(self, 19) } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn tx_err_out_en(&mut self) -> TX_ERR_OUT_EN_W { TX_ERR_OUT_EN_W::new(self, 20) } diff --git a/esp32/src/emac_ext/pd_sel.rs b/esp32/src/emac_ext/pd_sel.rs index e91eae2827..7d803b8a6a 100644 --- a/esp32/src/emac_ext/pd_sel.rs +++ b/esp32/src/emac_ext/pd_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn ram_pd_en(&mut self) -> RAM_PD_EN_W { RAM_PD_EN_W::new(self, 0) } diff --git a/esp32/src/emac_mac/emacaddr0high.rs b/esp32/src/emac_mac/emacaddr0high.rs index ec83cdb10a..722e9903eb 100644 --- a/esp32/src/emac_mac/emacaddr0high.rs +++ b/esp32/src/emac_mac/emacaddr0high.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This field contains the upper 16 bits (47:32) of the first 6-byte MAC address.The MAC uses this field for filtering the received frames and inserting the MAC address in the Transmit Flow Control (Pause) Frames."] #[inline(always)] - #[must_use] pub fn address0_hi(&mut self) -> ADDRESS0_HI_W { ADDRESS0_HI_W::new(self, 0) } #[doc = "Bit 31 - This bit is always set to 1."] #[inline(always)] - #[must_use] pub fn address_enable0(&mut self) -> ADDRESS_ENABLE0_W { ADDRESS_ENABLE0_W::new(self, 31) } diff --git a/esp32/src/emac_mac/emacaddr1high.rs b/esp32/src/emac_mac/emacaddr1high.rs index c3c3595429..f0f13089c4 100644 --- a/esp32/src/emac_mac/emacaddr1high.rs +++ b/esp32/src/emac_mac/emacaddr1high.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This field contains the upper 16 bits Bits\\[47:32\\] of the second 6-byte MAC Address."] #[inline(always)] - #[must_use] pub fn mac_address1_hi(&mut self) -> MAC_ADDRESS1_HI_W { MAC_ADDRESS1_HI_W::new(self, 0) } #[doc = "Bits 24:29 - These bits are mask control bits for comparison of each of the EMACADDR1 bytes. When set high the MAC does not compare the corresponding byte of received DA or SA with the contents of EMACADDR1 registers. Each bit controls the masking of the bytes as follows: Bit\\[29\\]: EMACADDR1 High \\[15:8\\]. Bit\\[28\\]: EMACADDR1 High \\[7:0\\]. Bit\\[27\\]: EMACADDR1 Low \\[31:24\\]. Bit\\[24\\]: EMACADDR1 Low \\[7:0\\].You can filter a group of addresses (known as group address filtering) by masking one or more bytes of the address."] #[inline(always)] - #[must_use] pub fn mask_byte_control(&mut self) -> MASK_BYTE_CONTROL_W { MASK_BYTE_CONTROL_W::new(self, 24) } #[doc = "Bit 30 - When this bit is set the EMACADDR1\\[47:0\\] is used to compare with the SA fields of the received frame. When this bit is reset the EMACADDR1\\[47:0\\] is used to compare with the DA fields of the received frame."] #[inline(always)] - #[must_use] pub fn source_address(&mut self) -> SOURCE_ADDRESS_W { SOURCE_ADDRESS_W::new(self, 30) } #[doc = "Bit 31 - When this bit is set the address filter module uses the second MAC address for perfect filtering. When this bit is reset the address filter module ignores the address for filtering."] #[inline(always)] - #[must_use] pub fn address_enable1(&mut self) -> ADDRESS_ENABLE1_W { ADDRESS_ENABLE1_W::new(self, 31) } diff --git a/esp32/src/emac_mac/emacaddr2high.rs b/esp32/src/emac_mac/emacaddr2high.rs index cc0d83a06c..0f31bfbff6 100644 --- a/esp32/src/emac_mac/emacaddr2high.rs +++ b/esp32/src/emac_mac/emacaddr2high.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This field contains the upper 16 bits Bits\\[47:32\\] of the third 6-byte MAC address."] #[inline(always)] - #[must_use] pub fn mac_address2_hi(&mut self) -> MAC_ADDRESS2_HI_W { MAC_ADDRESS2_HI_W::new(self, 0) } #[doc = "Bits 24:29 - These bits are mask control bits for comparison of each of the EMACADDR2 bytes. When set high the MAC does not compare the corresponding byte of received DA or SA with the contents of EMACADDR2 registers. Each bit controls the masking of the bytes as follows: Bit\\[29\\]: EMACADDR2 High \\[15:8\\]. Bit\\[28\\]: EMACADDR2 High \\[7:0\\]. Bit\\[27\\]: EMACADDR2 Low \\[31:24\\]. Bit\\[24\\]: EMACADDR2 Low \\[7:0\\].You can filter a group of addresses (known as group address filtering) by masking one or more bytes of the address."] #[inline(always)] - #[must_use] pub fn mask_byte_control2(&mut self) -> MASK_BYTE_CONTROL2_W { MASK_BYTE_CONTROL2_W::new(self, 24) } #[doc = "Bit 30 - When this bit is set the EMACADDR2\\[47:0\\] is used to compare with the SA fields of the received frame. When this bit is reset the EMACADDR2\\[47:0\\] is used to compare with the DA fields of the received frame."] #[inline(always)] - #[must_use] pub fn source_address2(&mut self) -> SOURCE_ADDRESS2_W { SOURCE_ADDRESS2_W::new(self, 30) } #[doc = "Bit 31 - When this bit is set the address filter module uses the third MAC address for perfect filtering. When this bit is reset the address filter module ignores the address for filtering."] #[inline(always)] - #[must_use] pub fn address_enable2(&mut self) -> ADDRESS_ENABLE2_W { ADDRESS_ENABLE2_W::new(self, 31) } diff --git a/esp32/src/emac_mac/emacaddr3high.rs b/esp32/src/emac_mac/emacaddr3high.rs index 628b4910ab..c162634a25 100644 --- a/esp32/src/emac_mac/emacaddr3high.rs +++ b/esp32/src/emac_mac/emacaddr3high.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This field contains the upper 16 bits Bits\\[47:32\\] of the fourth 6-byte MAC address."] #[inline(always)] - #[must_use] pub fn mac_address3_hi(&mut self) -> MAC_ADDRESS3_HI_W { MAC_ADDRESS3_HI_W::new(self, 0) } #[doc = "Bits 24:29 - These bits are mask control bits for comparison of each of the EMACADDR3 bytes. When set high the MAC does not compare the corresponding byte of received DA or SA with the contents of EMACADDR3 registers. Each bit controls the masking of the bytes as follows: Bit\\[29\\]: EMACADDR3 High \\[15:8\\]. Bit\\[28\\]: EMACADDR3 High \\[7:0\\]. Bit\\[27\\]: EMACADDR3 Low \\[31:24\\]. Bit\\[24\\]: EMACADDR3 Low \\[7:0\\].You can filter a group of addresses (known as group address filtering) by masking one or more bytes of the address."] #[inline(always)] - #[must_use] pub fn mask_byte_control3(&mut self) -> MASK_BYTE_CONTROL3_W { MASK_BYTE_CONTROL3_W::new(self, 24) } #[doc = "Bit 30 - When this bit is set the EMACADDR3\\[47:0\\] is used to compare with the SA fields of the received frame. When this bit is reset the EMACADDR3\\[47:0\\] is used to compare with the DA fields of the received frame."] #[inline(always)] - #[must_use] pub fn source_address3(&mut self) -> SOURCE_ADDRESS3_W { SOURCE_ADDRESS3_W::new(self, 30) } #[doc = "Bit 31 - When this bit is set the address filter module uses the fourth MAC address for perfect filtering. When this bit is reset the address filter module ignores the address for filtering."] #[inline(always)] - #[must_use] pub fn address_enable3(&mut self) -> ADDRESS_ENABLE3_W { ADDRESS_ENABLE3_W::new(self, 31) } diff --git a/esp32/src/emac_mac/emacaddr4high.rs b/esp32/src/emac_mac/emacaddr4high.rs index cad341a937..462c6627ac 100644 --- a/esp32/src/emac_mac/emacaddr4high.rs +++ b/esp32/src/emac_mac/emacaddr4high.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This field contains the upper 16 bits Bits\\[47:32\\] of the fifth 6-byte MAC address."] #[inline(always)] - #[must_use] pub fn mac_address4_hi(&mut self) -> MAC_ADDRESS4_HI_W { MAC_ADDRESS4_HI_W::new(self, 0) } #[doc = "Bits 24:29 - These bits are mask control bits for comparison of each of the EMACADDR4 bytes. When set high the MAC does not compare the corresponding byte of received DA or SA with the contents of EMACADDR4 registers. Each bit controls the masking of the bytes as follows: Bit\\[29\\]: EMACADDR4 High \\[15:8\\]. Bit\\[28\\]: EMACADDR4 High \\[7:0\\]. Bit\\[27\\]: EMACADDR4 Low \\[31:24\\]. Bit\\[24\\]: EMACADDR4 Low \\[7:0\\].You can filter a group of addresses (known as group address filtering) by masking one or more bytes of the address."] #[inline(always)] - #[must_use] pub fn mask_byte_control4(&mut self) -> MASK_BYTE_CONTROL4_W { MASK_BYTE_CONTROL4_W::new(self, 24) } #[doc = "Bit 30 - When this bit is set the EMACADDR4\\[47:0\\] is used to compare with the SA fields of the received frame. When this bit is reset the EMACADDR4\\[47:0\\] is used to compare with the DA fields of the received frame."] #[inline(always)] - #[must_use] pub fn source_address4(&mut self) -> SOURCE_ADDRESS4_W { SOURCE_ADDRESS4_W::new(self, 30) } #[doc = "Bit 31 - When this bit is set the address filter module uses the fifth MAC address for perfect filtering. When this bit is reset the address filter module ignores the address for filtering."] #[inline(always)] - #[must_use] pub fn address_enable4(&mut self) -> ADDRESS_ENABLE4_W { ADDRESS_ENABLE4_W::new(self, 31) } diff --git a/esp32/src/emac_mac/emacaddr5high.rs b/esp32/src/emac_mac/emacaddr5high.rs index 060362e1cc..d2290addcf 100644 --- a/esp32/src/emac_mac/emacaddr5high.rs +++ b/esp32/src/emac_mac/emacaddr5high.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This field contains the upper 16 bits Bits\\[47:32\\] of the sixth 6-byte MAC address."] #[inline(always)] - #[must_use] pub fn mac_address5_hi(&mut self) -> MAC_ADDRESS5_HI_W { MAC_ADDRESS5_HI_W::new(self, 0) } #[doc = "Bits 24:29 - These bits are mask control bits for comparison of each of the EMACADDR5 bytes. When set high the MAC does not compare the corresponding byte of received DA or SA with the contents of EMACADDR5 registers. Each bit controls the masking of the bytes as follows: Bit\\[29\\]: EMACADDR5 High \\[15:8\\]. Bit\\[28\\]: EMACADDR5 High \\[7:0\\]. Bit\\[27\\]: EMACADDR5 Low \\[31:24\\]. Bit\\[24\\]: EMACADDR5 Low \\[7:0\\].You can filter a group of addresses (known as group address filtering) by masking one or more bytes of the address."] #[inline(always)] - #[must_use] pub fn mask_byte_control5(&mut self) -> MASK_BYTE_CONTROL5_W { MASK_BYTE_CONTROL5_W::new(self, 24) } #[doc = "Bit 30 - When this bit is set the EMACADDR5\\[47:0\\] is used to compare with the SA fields of the received frame. When this bit is reset the EMACADDR5\\[47:0\\] is used to compare with the DA fields of the received frame."] #[inline(always)] - #[must_use] pub fn source_address5(&mut self) -> SOURCE_ADDRESS5_W { SOURCE_ADDRESS5_W::new(self, 30) } #[doc = "Bit 31 - When this bit is set the address filter module uses the sixth MAC address for perfect filtering. When this bit is reset the address filter module ignores the address for filtering."] #[inline(always)] - #[must_use] pub fn address_enable5(&mut self) -> ADDRESS_ENABLE5_W { ADDRESS_ENABLE5_W::new(self, 31) } diff --git a/esp32/src/emac_mac/emacaddr6high.rs b/esp32/src/emac_mac/emacaddr6high.rs index ff43b92f62..30ea34f927 100644 --- a/esp32/src/emac_mac/emacaddr6high.rs +++ b/esp32/src/emac_mac/emacaddr6high.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This field contains the upper 16 bits Bits\\[47:32\\] of the seventh 6-byte MAC Address."] #[inline(always)] - #[must_use] pub fn mac_address6_hi(&mut self) -> MAC_ADDRESS6_HI_W { MAC_ADDRESS6_HI_W::new(self, 0) } #[doc = "Bits 24:29 - These bits are mask control bits for comparison of each of the EMACADDR6 bytes. When set high the MAC does not compare the corresponding byte of received DA or SA with the contents of EMACADDR6 registers. Each bit controls the masking of the bytes as follows: Bit\\[29\\]: EMACADDR6 High \\[15:8\\]. Bit\\[28\\]: EMACADDR6 High \\[7:0\\]. Bit\\[27\\]: EMACADDR6 Low \\[31:24\\]. Bit\\[24\\]: EMACADDR6 Low \\[7:0\\].You can filter a group of addresses (known as group address filtering) by masking one or more bytes of the address."] #[inline(always)] - #[must_use] pub fn mask_byte_control6(&mut self) -> MASK_BYTE_CONTROL6_W { MASK_BYTE_CONTROL6_W::new(self, 24) } #[doc = "Bit 30 - When this bit is set the EMACADDR6\\[47:0\\] is used to compare with the SA fields of the received frame. When this bit is reset the EMACADDR6\\[47:0\\] is used to compare with the DA fields of the received frame."] #[inline(always)] - #[must_use] pub fn source_address6(&mut self) -> SOURCE_ADDRESS6_W { SOURCE_ADDRESS6_W::new(self, 30) } #[doc = "Bit 31 - When this bit is set the address filter module uses the seventh MAC address for perfect filtering. When this bit is reset the address filter module ignores the address for filtering."] #[inline(always)] - #[must_use] pub fn address_enable6(&mut self) -> ADDRESS_ENABLE6_W { ADDRESS_ENABLE6_W::new(self, 31) } diff --git a/esp32/src/emac_mac/emacaddr7high.rs b/esp32/src/emac_mac/emacaddr7high.rs index 81d41aa00f..9470888703 100644 --- a/esp32/src/emac_mac/emacaddr7high.rs +++ b/esp32/src/emac_mac/emacaddr7high.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This field contains the upper 16 bits Bits\\[47:32\\] of the eighth 6-byte MAC Address."] #[inline(always)] - #[must_use] pub fn mac_address7_hi(&mut self) -> MAC_ADDRESS7_HI_W { MAC_ADDRESS7_HI_W::new(self, 0) } #[doc = "Bits 24:29 - These bits are mask control bits for comparison of each of the EMACADDR7 bytes. When set high the MAC does not compare the corresponding byte of received DA or SA with the contents of EMACADDR7 registers. Each bit controls the masking of the bytes as follows: Bit\\[29\\]: EMACADDR7 High \\[15:8\\]. Bit\\[28\\]: EMACADDR7 High \\[7:0\\]. Bit\\[27\\]: EMACADDR7 Low \\[31:24\\]. Bit\\[24\\]: EMACADDR7 Low \\[7:0\\].You can filter a group of addresses (known as group address filtering) by masking one or more bytes of the address."] #[inline(always)] - #[must_use] pub fn mask_byte_control7(&mut self) -> MASK_BYTE_CONTROL7_W { MASK_BYTE_CONTROL7_W::new(self, 24) } #[doc = "Bit 30 - When this bit is set the EMACADDR7\\[47:0\\] is used to compare with the SA fields of the received frame. When this bit is reset the EMACADDR7\\[47:0\\] is used to compare with the DA fields of the received frame."] #[inline(always)] - #[must_use] pub fn source_address7(&mut self) -> SOURCE_ADDRESS7_W { SOURCE_ADDRESS7_W::new(self, 30) } #[doc = "Bit 31 - When this bit is set the address filter module uses the eighth MAC address for perfect filtering. When this bit is reset the address filter module ignores the address for filtering."] #[inline(always)] - #[must_use] pub fn address_enable7(&mut self) -> ADDRESS_ENABLE7_W { ADDRESS_ENABLE7_W::new(self, 31) } diff --git a/esp32/src/emac_mac/emacconfig.rs b/esp32/src/emac_mac/emacconfig.rs index 6e1ac18ce8..27546db54d 100644 --- a/esp32/src/emac_mac/emacconfig.rs +++ b/esp32/src/emac_mac/emacconfig.rs @@ -214,121 +214,101 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - These bits control the number of preamble bytes that are added to the beginning of every Transmit frame. The preamble reduction occurs only when the MAC is operating in the full-duplex mode.2'b00: 7 bytes of preamble. 2'b01: 5 bytes of preamble. 2'b10: 3 bytes of preamble."] #[inline(always)] - #[must_use] pub fn pltf(&mut self) -> PLTF_W { PLTF_W::new(self, 0) } #[doc = "Bit 2 - When this bit is set the receiver state machine of the MAC is enabled for receiving frames from the MII. When this bit is reset the MAC receive state machine is disabled after the completion of the reception of the current frame and does not receive any further frames from the MII."] #[inline(always)] - #[must_use] pub fn rx(&mut self) -> RX_W { RX_W::new(self, 2) } #[doc = "Bit 3 - When this bit is set the transmit state machine of the MAC is enabled for transmission on the MII. When this bit is reset the MAC transmit state machine is disabled after the completion of the transmission of the current frame and does not transmit any further frames."] #[inline(always)] - #[must_use] pub fn tx(&mut self) -> TX_W { TX_W::new(self, 3) } #[doc = "Bit 4 - Deferral Check."] #[inline(always)] - #[must_use] pub fn deferralcheck(&mut self) -> DEFERRALCHECK_W { DEFERRALCHECK_W::new(self, 4) } #[doc = "Bits 5:6 - The Back-Off limit determines the random integer number (r) of slot time delays (512 bit times for 10/100 Mbps) for which the MAC waits before rescheduling a transmission attempt during retries after a collision. This bit is applicable only in the half-duplex mode. 00: k= min (n 10). 01: k = min (n 8). 10: k = min (n 4). 11: k = min (n 1) n = retransmission attempt. The random integer r takes the value in the Range 0 ~ 2000."] #[inline(always)] - #[must_use] pub fn backofflimit(&mut self) -> BACKOFFLIMIT_W { BACKOFFLIMIT_W::new(self, 5) } #[doc = "Bit 7 - When this bit is set the MAC strips the Pad or FCS field on the incoming frames only if the value of the length field is less than 1 536 bytes. All received frames with length field greater than or equal to 1 536 bytes are passed to the application without stripping the Pad or FCS field. When this bit is reset the MAC passes all incoming frames without modifying them to the Host."] #[inline(always)] - #[must_use] pub fn padcrcstrip(&mut self) -> PADCRCSTRIP_W { PADCRCSTRIP_W::new(self, 7) } #[doc = "Bit 9 - When this bit is set the MAC attempts only one transmission. When a collision occurs on the MII interface the MAC ignores the current frame transmission and reports a Frame Abort with excessive collision error in the transmit frame status. When this bit is reset the MAC attempts retries based on the settings of the BL field (Bits \\[6:5\\]). This bit is applicable only in the half-duplex Mode."] #[inline(always)] - #[must_use] pub fn retry(&mut self) -> RETRY_W { RETRY_W::new(self, 9) } #[doc = "Bit 10 - When this bit is set the MAC calculates the 16-bit one's complement of the one's complement sum of all received Ethernet frame payloads. It also checks whether the IPv4 Header checksum (assumed to be bytes 25/26 or 29/30 (VLAN-tagged) of the received Ethernet frame) is correct for the received frame and gives the status in the receive status word. The MAC also appends the 16-bit checksum calculated for the IP header datagram payload (bytes after the IPv4 header) and appends it to the Ethernet frame transferred to the application (when Type 2 COE is deselected). When this bit is reset this function is disabled."] #[inline(always)] - #[must_use] pub fn rxipcoffload(&mut self) -> RXIPCOFFLOAD_W { RXIPCOFFLOAD_W::new(self, 10) } #[doc = "Bit 11 - When this bit is set the MAC operates in the full-duplex mode where it can transmit and receive simultaneously. This bit is read only with default value of 1'b1 in the full-duplex-mode."] #[inline(always)] - #[must_use] pub fn duplex(&mut self) -> DUPLEX_W { DUPLEX_W::new(self, 11) } #[doc = "Bit 12 - When this bit is set the MAC operates in the loopback mode MII. The MII Receive clock input (CLK_RX) is required for the loopback to work properly because the transmit clock is not looped-back internally."] #[inline(always)] - #[must_use] pub fn loopback(&mut self) -> LOOPBACK_W { LOOPBACK_W::new(self, 12) } #[doc = "Bit 13 - When this bit is set the MAC disables the reception of frames when the TX_EN is asserted in the half-duplex mode. When this bit is reset the MAC receives all packets that are given by the PHY while transmitting. This bit is not applicable if the MAC is operating in the full duplex mode."] #[inline(always)] - #[must_use] pub fn rxown(&mut self) -> RXOWN_W { RXOWN_W::new(self, 13) } #[doc = "Bit 14 - This bit selects the speed in the MII RMII interface. 0: 10 Mbps. 1: 100 Mbps."] #[inline(always)] - #[must_use] pub fn fespeed(&mut self) -> FESPEED_W { FESPEED_W::new(self, 14) } #[doc = "Bit 15 - This bit selects the Ethernet line speed. It should be set to 1 for 10 or 100 Mbps operations.In 10 or 100 Mbps operations this bit along with FES(EMACFESPEED) bit it selects the exact linespeed. In the 10/100 Mbps-only operations the bit is always 1."] #[inline(always)] - #[must_use] pub fn mii(&mut self) -> MII_W { MII_W::new(self, 15) } #[doc = "Bit 16 - When set high this bit makes the MAC transmitter ignore the MII CRS signal during frame transmission in the half-duplex mode. This request results in no errors generated because of Loss of Carrier or No Carrier during such transmission. When this bit is low the MAC transmitter generates such errors because of Carrier Sense and can even abort the transmissions."] #[inline(always)] - #[must_use] pub fn disablecrs(&mut self) -> DISABLECRS_W { DISABLECRS_W::new(self, 16) } #[doc = "Bits 17:19 - These bits control the minimum IFG between frames during transmission. 3'b000: 96 bit times. 3'b001: 88 bit times. 3'b010: 80 bit times. 3'b111: 40 bit times. In the half-duplex mode the minimum IFG can be configured only for 64 bit times (IFG = 100). Lower values are not considered."] #[inline(always)] - #[must_use] pub fn interframegap(&mut self) -> INTERFRAMEGAP_W { INTERFRAMEGAP_W::new(self, 17) } #[doc = "Bit 20 - When this bit is set the MAC allows Jumbo frames of 9 018 bytes (9 022 bytes for VLAN tagged frames) without reporting a giant frame error in the receive frame status."] #[inline(always)] - #[must_use] pub fn jumboframe(&mut self) -> JUMBOFRAME_W { JUMBOFRAME_W::new(self, 20) } #[doc = "Bit 22 - When this bit is set the MAC disables the jabber timer on the transmitter. The MAC can transfer frames of up to 16 383 bytes. When this bit is reset the MAC cuts off the transmitter if the application sends out more than 2 048 bytes of data (10 240 if JE is set high) during Transmission."] #[inline(always)] - #[must_use] pub fn jabber(&mut self) -> JABBER_W { JABBER_W::new(self, 22) } #[doc = "Bit 23 - When this bit is set the MAC disables the watchdog timer on the receiver. The MAC can receive frames of up to 16 383 bytes. When this bit is reset the MAC does not allow a receive frame which more than 2 048 bytes (10 240 if JE is set high) or the value programmed in Register (Watchdog Timeout Register). The MAC cuts off any bytes received after the watchdog limit number of bytes."] #[inline(always)] - #[must_use] pub fn watchdog(&mut self) -> WATCHDOG_W { WATCHDOG_W::new(self, 23) } #[doc = "Bit 27 - When set the MAC considers all frames with up to 2 000 bytes length as normal packets.When Bit\\[20\\] (JE) is not set the MAC considers all received frames of size more than 2K bytes as Giant frames. When this bit is reset and Bit\\[20\\] (JE) is not set the MAC considers all received frames of size more than 1 518 bytes (1 522 bytes for tagged) as Giant frames. When Bit\\[20\\] is set setting this bit has no effect on Giant Frame status."] #[inline(always)] - #[must_use] pub fn ass2kp(&mut self) -> ASS2KP_W { ASS2KP_W::new(self, 27) } #[doc = "Bits 28:30 - This field controls the source address insertion or replacement for all transmitted frames.Bit\\[30\\] specifies which MAC Address register (0 or 1) is used for source address insertion or replacement based on the values of Bits \\[29:28\\]: 2'b0x: The input signals mti_sa_ctrl_i and ati_sa_ctrl_i control the SA field generation. 2'b10: If Bit\\[30\\] is set to 0 the MAC inserts the content of the MAC Address 0 registers in the SA field of all transmitted frames. If Bit\\[30\\] is set to 1 the MAC inserts the content of the MAC Address 1 registers in the SA field of all transmitted frames. 2'b11: If Bit\\[30\\] is set to 0 the MAC replaces the content of the MAC Address 0 registers in the SA field of all transmitted frames. If Bit\\[30\\] is set to 1 the MAC replaces the content of the MAC Address 1 registers in the SA field of all transmitted frames."] #[inline(always)] - #[must_use] pub fn sairc(&mut self) -> SAIRC_W { SAIRC_W::new(self, 28) } diff --git a/esp32/src/emac_mac/emacfc.rs b/esp32/src/emac_mac/emacfc.rs index 2f97ae73fb..1b1a8cbacc 100644 --- a/esp32/src/emac_mac/emacfc.rs +++ b/esp32/src/emac_mac/emacfc.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit initiates a Pause frame in the full-duplex mode and activates the backpressure function in the half-duplex mode if the TFCE bit is set. In the full-duplex mode this bit should be read as 1'b0 before writing to the Flow Control register. To initiate a Pause frame the Application must set this bit to 1'b1. During a transfer of the Control Frame this bit continues to be set to signify that a frame transmission is in progress. After the completion of Pause frame transmission the MAC resets this bit to 1'b0. The Flow Control register should not be written to until this bit is cleared. In the half-duplex mode when this bit is set (and TFCE is set) then backpressure is asserted by the MAC. During backpressure when the MAC receives a new frame the transmitter starts sending a JAM pattern resulting in a collision. When the MAC is configured for the full-duplex mode the BPA(backpressure activate) is automatically disabled."] #[inline(always)] - #[must_use] pub fn fcbba(&mut self) -> FCBBA_W { FCBBA_W::new(self, 0) } #[doc = "Bit 1 - In the full-duplex mode when this bit is set the MAC enables the flow control operation to transmit Pause frames. When this bit is reset the flow control operation in the MAC is disabled and the MAC does not transmit any Pause frames. In the half-duplex mode when this bit is set the MAC enables the backpressure operation. When this bit is reset the backpressure feature is Disabled."] #[inline(always)] - #[must_use] pub fn tfce(&mut self) -> TFCE_W { TFCE_W::new(self, 1) } #[doc = "Bit 2 - When this bit is set the MAC decodes the received Pause frame and disables its transmitter for a specified (Pause) time. When this bit is reset the decode function of the Pause frame is disabled."] #[inline(always)] - #[must_use] pub fn rfce(&mut self) -> RFCE_W { RFCE_W::new(self, 2) } #[doc = "Bit 3 - A pause frame is processed when it has the unique multicast address specified in the IEEE Std 802.3. When this bit is set the MAC can also detect Pause frames with unicast address of the station. This unicast address should be as specified in the EMACADDR0 High Register and EMACADDR0 Low Register. When this bit is reset the MAC only detects Pause frames with unique multicast address."] #[inline(always)] - #[must_use] pub fn upfd(&mut self) -> UPFD_W { UPFD_W::new(self, 3) } #[doc = "Bits 4:5 - This field configures the threshold of the Pause timer automatic retransmission of the Pause frame.The threshold values should be always less than the Pause Time configured in Bits\\[31:16\\]. For example if PT = 100H (256 slot-times) and PLT = 01 then a second Pause frame is automatically transmitted at 228 (256-28) slot times after the first Pause frame is transmitted. The following list provides the threshold values for different values: 2'b00: The threshold is Pause time minus 4 slot times (PT-4 slot times). 2'b01: The threshold is Pause time minus 28 slot times (PT-28 slot times). 2'b10: The threshold is Pause time minus 144 slot times (PT-144 slot times). 2'b11: The threshold is Pause time minus 256 slot times (PT-256 slot times). The slot time is defined as the time taken to transmit 512 bits (64 bytes) on the MII interface."] #[inline(always)] - #[must_use] pub fn plt(&mut self) -> PLT_W { PLT_W::new(self, 4) } #[doc = "Bit 7 - When this bit is set it disables the automatic generation of the Zero-Quanta Pause frames on the de-assertion of the flow-control signal from the FIFO layer. When this bit is reset normal operation with automatic Zero-Quanta Pause frame generation is enabled."] #[inline(always)] - #[must_use] pub fn dzpq(&mut self) -> DZPQ_W { DZPQ_W::new(self, 7) } #[doc = "Bits 16:31 - This field holds the value to be used in the Pause Time field in the transmit control frame. If the Pause Time bits is configured to be double-synchronized to the MII clock domain then consecutive writes to this register should be performed only after at least four clock cycles in the destination clock domain."] #[inline(always)] - #[must_use] pub fn pause_time(&mut self) -> PAUSE_TIME_W { PAUSE_TIME_W::new(self, 16) } diff --git a/esp32/src/emac_mac/emacff.rs b/esp32/src/emac_mac/emacff.rs index 434d80934b..747c709f72 100644 --- a/esp32/src/emac_mac/emacff.rs +++ b/esp32/src/emac_mac/emacff.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - When this bit is set the Address Filter module passes all incoming frames irrespective of the destination or source address. The SA or DA Filter Fails status bits of the Receive Status Word are always cleared when PR(PRI_RATIO) is set."] #[inline(always)] - #[must_use] pub fn pmode(&mut self) -> PMODE_W { PMODE_W::new(self, 0) } #[doc = "Bit 3 - When this bit is set the Address Check block operates in inverse filtering mode for the DA address comparison for both unicast and multicast frames. When reset normal filtering of frames is performed."] #[inline(always)] - #[must_use] pub fn daif(&mut self) -> DAIF_W { DAIF_W::new(self, 3) } #[doc = "Bit 4 - When set this bit indicates that all received frames with a multicast destination address (first bit in the destination address field is '1') are passed."] #[inline(always)] - #[must_use] pub fn pam(&mut self) -> PAM_W { PAM_W::new(self, 4) } #[doc = "Bit 5 - When this bit is set the AFM(Address Filtering Module) module blocks all incoming broadcast frames. In addition it overrides all other filter settings. When this bit is reset the AFM module passes all received broadcast Frames."] #[inline(always)] - #[must_use] pub fn dbf(&mut self) -> DBF_W { DBF_W::new(self, 5) } #[doc = "Bits 6:7 - These bits control the forwarding of all control frames (including unicast and multicast Pause frames). 2'b00: MAC filters all control frames from reaching the application. 2'b01: MAC forwards all control frames except Pause frames to application even if they fail the Address filter. 2'b10: MAC forwards all control frames to application even if they fail the Address Filter. 2'b11: MAC forwards control frames that pass the Address Filter.The following conditions should be true for the Pause frames processing: Condition 1: The MAC is in the full-duplex mode and flow control is enabled by setting Bit 2 (RFE) of Register (Flow Control Register) to 1. Condition 2: The destination address (DA) of the received frame matches the special multicast address or the MAC Address 0 when Bit 3 (UP) of the Register(Flow Control Register) is set. Condition 3: The Type field of the received frame is 0x8808 and the OPCODE field is 0x0001."] #[inline(always)] - #[must_use] pub fn pcf(&mut self) -> PCF_W { PCF_W::new(self, 6) } #[doc = "Bit 8 - When this bit is set the Address Check block operates in inverse filtering mode for the SA address comparison. The frames whose SA matches the SA registers are marked as failing the SA Address filter. When this bit is reset frames whose SA does not match the SA registers are marked as failing the SA Address filter."] #[inline(always)] - #[must_use] pub fn saif(&mut self) -> SAIF_W { SAIF_W::new(self, 8) } #[doc = "Bit 9 - When this bit is set the MAC compares the SA field of the received frames with the values programmed in the enabled SA registers. If the comparison fails the MAC drops the frame. When this bit is reset the MAC forwards the received frame to the application with updated SAF bit of the Rx Status depending on the SA address comparison."] #[inline(always)] - #[must_use] pub fn safe(&mut self) -> SAFE_W { SAFE_W::new(self, 9) } #[doc = "Bit 31 - When this bit is set the MAC Receiver module passes all received frames irrespective of whether they pass the address filter or not to the Application. The result of the SA or DA filtering is updated (pass or fail) in the corresponding bits in the Receive Status Word. When this bit is reset the Receiver module passes only those frames to the Application that pass the SA or DA address Filter."] #[inline(always)] - #[must_use] pub fn receive_all(&mut self) -> RECEIVE_ALL_W { RECEIVE_ALL_W::new(self, 31) } diff --git a/esp32/src/emac_mac/emacgmiiaddr.rs b/esp32/src/emac_mac/emacgmiiaddr.rs index 4d1f796f2d..fd3b1c9689 100644 --- a/esp32/src/emac_mac/emacgmiiaddr.rs +++ b/esp32/src/emac_mac/emacgmiiaddr.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit should read logic 0 before writing to PHY Addr Register and PHY data Register.During a PHY register access the software sets this bit to 1'b1 to indicate that a Read or Write access is in progress. PHY data Register is invalid until this bit is cleared by the MAC. Therefore PHY data Register (MII Data) should be kept valid until the MAC clears this bit during a PHY Write operation. Similarly for a read operation the contents of Register 5 are not valid until this bit is cleared. The subsequent read or write operation should happen only after the previous operation is complete. Because there is no acknowledgment from the PHY to MAC after a read or write operation is completed there is no change in the functionality of this bit even when the PHY is not Present."] #[inline(always)] - #[must_use] pub fn miibusy(&mut self) -> MIIBUSY_W { MIIBUSY_W::new(self, 0) } #[doc = "Bit 1 - When set this bit indicates to the PHY that this is a Write operation using the MII Data register. If this bit is not set it indicates that this is a Read operation that is placing the data in the MII Data register."] #[inline(always)] - #[must_use] pub fn miiwrite(&mut self) -> MIIWRITE_W { MIIWRITE_W::new(self, 1) } #[doc = "Bits 2:5 - CSR clock range: 1.0 MHz ~ 2.5 MHz. 4'b0000: When the APB clock frequency is 80 MHz the MDC clock frequency is APB CLK/42 4'b0011: When the APB clock frequency is 40 MHz the MDC clock frequency is APB CLK/26."] #[inline(always)] - #[must_use] pub fn miicsrclk(&mut self) -> MIICSRCLK_W { MIICSRCLK_W::new(self, 2) } #[doc = "Bits 6:10 - These bits select the desired MII register in the selected PHY device."] #[inline(always)] - #[must_use] pub fn miireg(&mut self) -> MIIREG_W { MIIREG_W::new(self, 6) } #[doc = "Bits 11:15 - This field indicates which of the 32 possible PHY devices are being accessed."] #[inline(always)] - #[must_use] pub fn miidev(&mut self) -> MIIDEV_W { MIIDEV_W::new(self, 11) } diff --git a/esp32/src/emac_mac/emacintmask.rs b/esp32/src/emac_mac/emacintmask.rs index cf81aa4ad9..4f3394f590 100644 --- a/esp32/src/emac_mac/emacintmask.rs +++ b/esp32/src/emac_mac/emacintmask.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - When set this bit disables the assertion of the interrupt signal because of the setting of PMT Interrupt Status bit in Register (Interrupt Status Register)."] #[inline(always)] - #[must_use] pub fn pmtintmask(&mut self) -> PMTINTMASK_W { PMTINTMASK_W::new(self, 3) } #[doc = "Bit 10 - When set this bit disables the assertion of the interrupt signal because of the setting of the LPI Interrupt Status bit in Register (Interrupt Status Register)."] #[inline(always)] - #[must_use] pub fn lpiintmask(&mut self) -> LPIINTMASK_W { LPIINTMASK_W::new(self, 10) } diff --git a/esp32/src/emac_mac/emacmiidata.rs b/esp32/src/emac_mac/emacmiidata.rs index 1196820304..dcdd0f7a0e 100644 --- a/esp32/src/emac_mac/emacmiidata.rs +++ b/esp32/src/emac_mac/emacmiidata.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This field contains the 16-bit data value read from the PHY after a Management Read operation or the 16-bit data value to be written to the PHY before a Management Write operation."] #[inline(always)] - #[must_use] pub fn mii_data(&mut self) -> MII_DATA_W { MII_DATA_W::new(self, 0) } diff --git a/esp32/src/emac_mac/emacwdogto.rs b/esp32/src/emac_mac/emacwdogto.rs index 1b6a6639d5..2f418844cb 100644 --- a/esp32/src/emac_mac/emacwdogto.rs +++ b/esp32/src/emac_mac/emacwdogto.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - When Bit\\[16\\] (PWE) is set and Bit\\[23\\] (WD) of EMACCONFIG_REG is reset this field is used as watchdog timeout for a received frame. If the length of a received frame exceeds the value of this field such frame is terminated and declared as an error frame."] #[inline(always)] - #[must_use] pub fn wdogto(&mut self) -> WDOGTO_W { WDOGTO_W::new(self, 0) } #[doc = "Bit 16 - When this bit is set and Bit\\[23\\] (WD) of EMACCONFIG_REG is reset the WTO field (Bits\\[13:0\\]) is used as watchdog timeout for a received frame. When this bit is cleared the watchdog timeout for a received frame is controlled by the setting of Bit\\[23\\] (WD) and Bit\\[20\\] (JE) in EMACCONFIG_REG."] #[inline(always)] - #[must_use] pub fn pwdogen(&mut self) -> PWDOGEN_W { PWDOGEN_W::new(self, 16) } diff --git a/esp32/src/flash_encryption/address.rs b/esp32/src/flash_encryption/address.rs index 84669a00aa..f9d5c4802c 100644 --- a/esp32/src/flash_encryption/address.rs +++ b/esp32/src/flash_encryption/address.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:7 - The physical address on the off-chip flash must be 8-word boundary aligned."] #[inline(always)] - #[must_use] pub fn address(&mut self) -> ADDRESS_W { ADDRESS_W::new(self, 0) } diff --git a/esp32/src/flash_encryption/buffer_.rs b/esp32/src/flash_encryption/buffer_.rs index e7640490ed..54f4f3006d 100644 --- a/esp32/src/flash_encryption/buffer_.rs +++ b/esp32/src/flash_encryption/buffer_.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:7 - Data buffers for encryption."] #[inline(always)] - #[must_use] pub fn buffer(&mut self) -> BUFFER_W { BUFFER_W::new(self, 0) } diff --git a/esp32/src/flash_encryption/start.rs b/esp32/src/flash_encryption/start.rs index 09aaedf5df..1701f1842f 100644 --- a/esp32/src/flash_encryption/start.rs +++ b/esp32/src/flash_encryption/start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:7 - Set this bit to start encryption operation on data buffer."] #[inline(always)] - #[must_use] pub fn flash_start(&mut self) -> FLASH_START_W { FLASH_START_W::new(self, 0) } diff --git a/esp32/src/frc_timer/timer_alarm.rs b/esp32/src/frc_timer/timer_alarm.rs index f7f84a2d10..6f645f6a80 100644 --- a/esp32/src/frc_timer/timer_alarm.rs +++ b/esp32/src/frc_timer/timer_alarm.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn timer_alarm(&mut self) -> TIMER_ALARM_W { TIMER_ALARM_W::new(self, 0) } diff --git a/esp32/src/frc_timer/timer_count.rs b/esp32/src/frc_timer/timer_count.rs index fe630b3e24..4cd3519786 100644 --- a/esp32/src/frc_timer/timer_count.rs +++ b/esp32/src/frc_timer/timer_count.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn timer_count(&mut self) -> TIMER_COUNT_W { TIMER_COUNT_W::new(self, 0) } diff --git a/esp32/src/frc_timer/timer_ctrl.rs b/esp32/src/frc_timer/timer_ctrl.rs index 76b2868221..8017afd1bf 100644 --- a/esp32/src/frc_timer/timer_ctrl.rs +++ b/esp32/src/frc_timer/timer_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 1:8"] #[inline(always)] - #[must_use] pub fn timer_prescaler(&mut self) -> TIMER_PRESCALER_W { TIMER_PRESCALER_W::new(self, 1) } diff --git a/esp32/src/frc_timer/timer_int.rs b/esp32/src/frc_timer/timer_int.rs index 73d9fbedf3..6fc439ad55 100644 --- a/esp32/src/frc_timer/timer_int.rs +++ b/esp32/src/frc_timer/timer_int.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn clr(&mut self) -> CLR_W { CLR_W::new(self, 0) } diff --git a/esp32/src/frc_timer/timer_load.rs b/esp32/src/frc_timer/timer_load.rs index b215dcce68..2057770df6 100644 --- a/esp32/src/frc_timer/timer_load.rs +++ b/esp32/src/frc_timer/timer_load.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn value(&mut self) -> VALUE_W { VALUE_W::new(self, 0) } diff --git a/esp32/src/generic.rs b/esp32/src/generic.rs index d57106cb27..a7cb020aef 100644 --- a/esp32/src/generic.rs +++ b/esp32/src/generic.rs @@ -524,18 +524,60 @@ impl Reg { #[doc = " ```"] #[doc = " In the latter case, other fields will be set to their reset value."] #[inline(always)] - pub fn write(&self, f: F) + pub fn write(&self, f: F) -> REG::Ux where F: FnOnce(&mut W) -> &mut W, { - self.register.set( - f(&mut W { - bits: REG::RESET_VALUE & !REG::ONE_TO_MODIFY_FIELDS_BITMAP - | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, - _reg: marker::PhantomData, - }) - .bits, - ); + let value = f(&mut W { + bits: REG::RESET_VALUE & !REG::ONE_TO_MODIFY_FIELDS_BITMAP + | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }) + .bits; + self.register.set(value); + value + } + #[doc = " Writes bits to a `Writable` register and produce a value."] + #[doc = ""] + #[doc = " You can write raw bits into a register:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.write_and(|w| unsafe { w.bits(rawbits); });"] + #[doc = " ```"] + #[doc = " or write only the fields you need:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.write_and(|w| {"] + #[doc = " w.field1().bits(newfield1bits)"] + #[doc = " .field2().set_bit()"] + #[doc = " .field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " or an alternative way of saying the same:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.write_and(|w| {"] + #[doc = " w.field1().bits(newfield1bits);"] + #[doc = " w.field2().set_bit();"] + #[doc = " w.field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " In the latter case, other fields will be set to their reset value."] + #[doc = ""] + #[doc = " Values can be returned from the closure:"] + #[doc = " ```ignore"] + #[doc = " let state = periph.reg.write_and(|w| State::set(w.field1()));"] + #[doc = " ```"] + #[inline(always)] + pub fn from_write(&self, f: F) -> T + where + F: FnOnce(&mut W) -> T, + { + let mut writer = W { + bits: REG::RESET_VALUE & !REG::ONE_TO_MODIFY_FIELDS_BITMAP + | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }; + let result = f(&mut writer); + self.register.set(writer.bits); + result } } impl Reg { @@ -547,17 +589,37 @@ impl Reg { #[doc = ""] #[doc = " Unsafe to use with registers which don't allow to write 0."] #[inline(always)] - pub unsafe fn write_with_zero(&self, f: F) + pub unsafe fn write_with_zero(&self, f: F) -> REG::Ux where F: FnOnce(&mut W) -> &mut W, { - self.register.set( - f(&mut W { - bits: REG::Ux::default(), - _reg: marker::PhantomData, - }) - .bits, - ); + let value = f(&mut W { + bits: REG::Ux::default(), + _reg: marker::PhantomData, + }) + .bits; + self.register.set(value); + value + } + #[doc = " Writes 0 to a `Writable` register and produces a value."] + #[doc = ""] + #[doc = " Similar to `write`, but unused bits will contain 0."] + #[doc = ""] + #[doc = " # Safety"] + #[doc = ""] + #[doc = " Unsafe to use with registers which don't allow to write 0."] + #[inline(always)] + pub unsafe fn from_write_with_zero(&self, f: F) -> T + where + F: FnOnce(&mut W) -> T, + { + let mut writer = W { + bits: REG::Ux::default(), + _reg: marker::PhantomData, + }; + let result = f(&mut writer); + self.register.set(writer.bits); + result } } impl Reg { @@ -587,25 +649,75 @@ impl Reg { #[doc = " ```"] #[doc = " Other fields will have the value they had before the call to `modify`."] #[inline(always)] - pub fn modify(&self, f: F) + pub fn modify(&self, f: F) -> REG::Ux where for<'w> F: FnOnce(&R, &'w mut W) -> &'w mut W, { let bits = self.register.get(); - self.register.set( - f( - &R { - bits, - _reg: marker::PhantomData, - }, - &mut W { - bits: bits & !REG::ONE_TO_MODIFY_FIELDS_BITMAP - | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, - _reg: marker::PhantomData, - }, - ) - .bits, + let value = f( + &R { + bits, + _reg: marker::PhantomData, + }, + &mut W { + bits: bits & !REG::ONE_TO_MODIFY_FIELDS_BITMAP | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }, + ) + .bits; + self.register.set(value); + value + } + #[doc = " Modifies the contents of the register by reading and then writing it"] + #[doc = " and produces a value."] + #[doc = ""] + #[doc = " E.g. to do a read-modify-write sequence to change parts of a register:"] + #[doc = " ```ignore"] + #[doc = " let bits = periph.reg.modify(|r, w| {"] + #[doc = " let new_bits = r.bits() | 3;"] + #[doc = " unsafe {"] + #[doc = " w.bits(new_bits);"] + #[doc = " }"] + #[doc = ""] + #[doc = " new_bits"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " or"] + #[doc = " ```ignore"] + #[doc = " periph.reg.modify(|_, w| {"] + #[doc = " w.field1().bits(newfield1bits)"] + #[doc = " .field2().set_bit()"] + #[doc = " .field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " or an alternative way of saying the same:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.modify(|_, w| {"] + #[doc = " w.field1().bits(newfield1bits);"] + #[doc = " w.field2().set_bit();"] + #[doc = " w.field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " Other fields will have the value they had before the call to `modify`."] + #[inline(always)] + pub fn from_modify(&self, f: F) -> T + where + for<'w> F: FnOnce(&R, &'w mut W) -> T, + { + let bits = self.register.get(); + let mut writer = W { + bits: bits & !REG::ONE_TO_MODIFY_FIELDS_BITMAP | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }; + let result = f( + &R { + bits, + _reg: marker::PhantomData, + }, + &mut writer, ); + self.register.set(writer.bits); + result } } impl core::fmt::Debug for crate::generic::Reg diff --git a/esp32/src/generic/raw.rs b/esp32/src/generic/raw.rs index 81f5779524..d60a23a7cc 100644 --- a/esp32/src/generic/raw.rs +++ b/esp32/src/generic/raw.rs @@ -41,6 +41,7 @@ impl BitReader { } } } +#[must_use = "after creating `FieldWriter` you need to call field value setting method"] pub struct FieldWriter<'a, REG, const WI: u8, FI = u8, Safety = Unsafe> where REG: Writable + RegisterSpec, @@ -66,6 +67,7 @@ where } } } +#[must_use = "after creating `BitWriter` you need to call bit setting method"] pub struct BitWriter<'a, REG, FI = bool, M = BitM> where REG: Writable + RegisterSpec, diff --git a/esp32/src/gpio/bt_select.rs b/esp32/src/gpio/bt_select.rs index b4311a7023..eb9bea3878 100644 --- a/esp32/src/gpio/bt_select.rs +++ b/esp32/src/gpio/bt_select.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - NA"] #[inline(always)] - #[must_use] pub fn bt_sel(&mut self) -> BT_SEL_W { BT_SEL_W::new(self, 0) } diff --git a/esp32/src/gpio/cali_conf.rs b/esp32/src/gpio/cali_conf.rs index f7129cdf75..edee3944c8 100644 --- a/esp32/src/gpio/cali_conf.rs +++ b/esp32/src/gpio/cali_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9"] #[inline(always)] - #[must_use] pub fn cali_rtc_max(&mut self) -> CALI_RTC_MAX_W { CALI_RTC_MAX_W::new(self, 0) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn cali_start(&mut self) -> CALI_START_W { CALI_START_W::new(self, 31) } diff --git a/esp32/src/gpio/cpusdio_int1.rs b/esp32/src/gpio/cpusdio_int1.rs index 2618545cef..04b5ef3020 100644 --- a/esp32/src/gpio/cpusdio_int1.rs +++ b/esp32/src/gpio/cpusdio_int1.rs @@ -72,31 +72,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn pin_pad_driver(&mut self) -> PIN_PAD_DRIVER_W { PIN_PAD_DRIVER_W::new(self, 2) } #[doc = "Bits 7:9"] #[inline(always)] - #[must_use] pub fn pin_int_type(&mut self) -> PIN_INT_TYPE_W { PIN_INT_TYPE_W::new(self, 7) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn pin_wakeup_enable(&mut self) -> PIN_WAKEUP_ENABLE_W { PIN_WAKEUP_ENABLE_W::new(self, 10) } #[doc = "Bits 11:12"] #[inline(always)] - #[must_use] pub fn pin_config(&mut self) -> PIN_CONFIG_W { PIN_CONFIG_W::new(self, 11) } #[doc = "Bits 13:17"] #[inline(always)] - #[must_use] pub fn pin_int_ena(&mut self) -> PIN_INT_ENA_W { PIN_INT_ENA_W::new(self, 13) } diff --git a/esp32/src/gpio/enable.rs b/esp32/src/gpio/enable.rs index 7ef0e5677b..1ac1db47af 100644 --- a/esp32/src/gpio/enable.rs +++ b/esp32/src/gpio/enable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - GPIO0~31 output enable"] #[inline(always)] - #[must_use] pub fn data(&mut self) -> DATA_W { DATA_W::new(self, 0) } diff --git a/esp32/src/gpio/enable1.rs b/esp32/src/gpio/enable1.rs index b3b9075169..6fe0f474c7 100644 --- a/esp32/src/gpio/enable1.rs +++ b/esp32/src/gpio/enable1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - GPIO32~39 output enable"] #[inline(always)] - #[must_use] pub fn data(&mut self) -> DATA_W { DATA_W::new(self, 0) } diff --git a/esp32/src/gpio/enable1_w1tc.rs b/esp32/src/gpio/enable1_w1tc.rs index 781431cf7d..c85fbaf0d1 100644 --- a/esp32/src/gpio/enable1_w1tc.rs +++ b/esp32/src/gpio/enable1_w1tc.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - GPIO32~39 output enable write 1 to clear"] #[inline(always)] - #[must_use] pub fn enable1_data_w1tc(&mut self) -> ENABLE1_DATA_W1TC_W { ENABLE1_DATA_W1TC_W::new(self, 0) } diff --git a/esp32/src/gpio/enable1_w1ts.rs b/esp32/src/gpio/enable1_w1ts.rs index 26fb52d661..582697ff8c 100644 --- a/esp32/src/gpio/enable1_w1ts.rs +++ b/esp32/src/gpio/enable1_w1ts.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - GPIO32~39 output enable write 1 to set"] #[inline(always)] - #[must_use] pub fn enable1_data_w1ts(&mut self) -> ENABLE1_DATA_W1TS_W { ENABLE1_DATA_W1TS_W::new(self, 0) } diff --git a/esp32/src/gpio/enable_w1tc.rs b/esp32/src/gpio/enable_w1tc.rs index 39ece6b404..bfd43335b1 100644 --- a/esp32/src/gpio/enable_w1tc.rs +++ b/esp32/src/gpio/enable_w1tc.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - GPIO0~31 output enable write 1 to clear"] #[inline(always)] - #[must_use] pub fn enable_data_w1tc(&mut self) -> ENABLE_DATA_W1TC_W { ENABLE_DATA_W1TC_W::new(self, 0) } diff --git a/esp32/src/gpio/enable_w1ts.rs b/esp32/src/gpio/enable_w1ts.rs index 897b43aaff..c586d8e86e 100644 --- a/esp32/src/gpio/enable_w1ts.rs +++ b/esp32/src/gpio/enable_w1ts.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - GPIO0~31 output enable write 1 to set"] #[inline(always)] - #[must_use] pub fn enable_data_w1ts(&mut self) -> ENABLE_DATA_W1TS_W { ENABLE_DATA_W1TS_W::new(self, 0) } diff --git a/esp32/src/gpio/func_in_sel_cfg.rs b/esp32/src/gpio/func_in_sel_cfg.rs index ae920faba0..3233ed4a3f 100644 --- a/esp32/src/gpio/func_in_sel_cfg.rs +++ b/esp32/src/gpio/func_in_sel_cfg.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - select one of the 256 inputs"] #[inline(always)] - #[must_use] pub fn in_sel(&mut self) -> IN_SEL_W { IN_SEL_W::new(self, 0) } #[doc = "Bit 6 - revert the value of the input if you want to revert please set the value to 1"] #[inline(always)] - #[must_use] pub fn in_inv_sel(&mut self) -> IN_INV_SEL_W { IN_INV_SEL_W::new(self, 6) } #[doc = "Bit 7 - if the slow signal bypass the io matrix or not if you want setting the value to 1"] #[inline(always)] - #[must_use] pub fn sel(&mut self) -> SEL_W { SEL_W::new(self, 7) } diff --git a/esp32/src/gpio/func_out_sel_cfg.rs b/esp32/src/gpio/func_out_sel_cfg.rs index 6adc93a909..a2980b79b2 100644 --- a/esp32/src/gpio/func_out_sel_cfg.rs +++ b/esp32/src/gpio/func_out_sel_cfg.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - select one of the 256 output to 40 GPIO"] #[inline(always)] - #[must_use] pub fn out_sel(&mut self) -> OUT_SEL_W { OUT_SEL_W::new(self, 0) } #[doc = "Bit 9 - invert the output value if you want to revert the output value setting the value to 1"] #[inline(always)] - #[must_use] pub fn inv_sel(&mut self) -> INV_SEL_W { INV_SEL_W::new(self, 9) } #[doc = "Bit 10 - weather using the logical oen signal or not using the value setting by the register"] #[inline(always)] - #[must_use] pub fn oen_sel(&mut self) -> OEN_SEL_W { OEN_SEL_W::new(self, 10) } #[doc = "Bit 11 - invert the output enable value if you want to revert the output enable value setting the value to 1"] #[inline(always)] - #[must_use] pub fn oen_inv_sel(&mut self) -> OEN_INV_SEL_W { OEN_INV_SEL_W::new(self, 11) } diff --git a/esp32/src/gpio/in1.rs b/esp32/src/gpio/in1.rs index 09c027d36a..bf7d841392 100644 --- a/esp32/src/gpio/in1.rs +++ b/esp32/src/gpio/in1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - GPIO32~39 input value"] #[inline(always)] - #[must_use] pub fn data_next(&mut self) -> DATA_NEXT_W { DATA_NEXT_W::new(self, 0) } diff --git a/esp32/src/gpio/in_.rs b/esp32/src/gpio/in_.rs index 0e7a035e1e..ca49ae4178 100644 --- a/esp32/src/gpio/in_.rs +++ b/esp32/src/gpio/in_.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - GPIO0~31 input value"] #[inline(always)] - #[must_use] pub fn data_next(&mut self) -> DATA_NEXT_W { DATA_NEXT_W::new(self, 0) } diff --git a/esp32/src/gpio/out.rs b/esp32/src/gpio/out.rs index a1dd921944..322be1d88c 100644 --- a/esp32/src/gpio/out.rs +++ b/esp32/src/gpio/out.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - GPIO0~31 output value"] #[inline(always)] - #[must_use] pub fn data(&mut self) -> DATA_W { DATA_W::new(self, 0) } diff --git a/esp32/src/gpio/out1.rs b/esp32/src/gpio/out1.rs index a29f7e448b..7d17ede1e8 100644 --- a/esp32/src/gpio/out1.rs +++ b/esp32/src/gpio/out1.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - GPIO32~39 output value"] #[inline(always)] - #[must_use] pub fn data(&mut self) -> DATA_W { DATA_W::new(self, 0) } diff --git a/esp32/src/gpio/out1_w1tc.rs b/esp32/src/gpio/out1_w1tc.rs index 31c009a60f..b7f3f0b0c2 100644 --- a/esp32/src/gpio/out1_w1tc.rs +++ b/esp32/src/gpio/out1_w1tc.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - GPIO32~39 output value write 1 to clear"] #[inline(always)] - #[must_use] pub fn out1_data_w1tc(&mut self) -> OUT1_DATA_W1TC_W { OUT1_DATA_W1TC_W::new(self, 0) } diff --git a/esp32/src/gpio/out1_w1ts.rs b/esp32/src/gpio/out1_w1ts.rs index 4c3de9954b..15d48f4262 100644 --- a/esp32/src/gpio/out1_w1ts.rs +++ b/esp32/src/gpio/out1_w1ts.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - GPIO32~39 output value write 1 to set"] #[inline(always)] - #[must_use] pub fn out1_data_w1ts(&mut self) -> OUT1_DATA_W1TS_W { OUT1_DATA_W1TS_W::new(self, 0) } diff --git a/esp32/src/gpio/out_w1tc.rs b/esp32/src/gpio/out_w1tc.rs index a76654aadc..2a32a6c11a 100644 --- a/esp32/src/gpio/out_w1tc.rs +++ b/esp32/src/gpio/out_w1tc.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - GPIO0~31 output value write 1 to clear"] #[inline(always)] - #[must_use] pub fn out_data_w1tc(&mut self) -> OUT_DATA_W1TC_W { OUT_DATA_W1TC_W::new(self, 0) } diff --git a/esp32/src/gpio/out_w1ts.rs b/esp32/src/gpio/out_w1ts.rs index 1d6dbdccf3..d6e44a6cc8 100644 --- a/esp32/src/gpio/out_w1ts.rs +++ b/esp32/src/gpio/out_w1ts.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - GPIO0~31 output value write 1 to set"] #[inline(always)] - #[must_use] pub fn out_data_w1ts(&mut self) -> OUT_DATA_W1TS_W { OUT_DATA_W1TS_W::new(self, 0) } diff --git a/esp32/src/gpio/pin.rs b/esp32/src/gpio/pin.rs index 08155298ff..f7bf2dae0f 100644 --- a/esp32/src/gpio/pin.rs +++ b/esp32/src/gpio/pin.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - if set to 0: normal output if set to 1: open drain"] #[inline(always)] - #[must_use] pub fn pad_driver(&mut self) -> PAD_DRIVER_W { PAD_DRIVER_W::new(self, 2) } #[doc = "Bits 7:9 - if set to 0: GPIO interrupt disable if set to 1: rising edge trigger if set to 2: falling edge trigger if set to 3: any edge trigger if set to 4: low level trigger if set to 5: high level trigger"] #[inline(always)] - #[must_use] pub fn int_type(&mut self) -> INT_TYPE_W { INT_TYPE_W::new(self, 7) } #[doc = "Bit 10 - GPIO wake up enable only available in light sleep"] #[inline(always)] - #[must_use] pub fn wakeup_enable(&mut self) -> WAKEUP_ENABLE_W { WAKEUP_ENABLE_W::new(self, 10) } #[doc = "Bits 11:12 - NA"] #[inline(always)] - #[must_use] pub fn config(&mut self) -> CONFIG_W { CONFIG_W::new(self, 11) } #[doc = "Bits 13:17 - bit0: APP CPU interrupt enable bit1: APP CPU non-maskable interrupt enable bit3: PRO CPU interrupt enable bit4: PRO CPU non-maskable interrupt enable bit5: SDIO's extent interrupt enable"] #[inline(always)] - #[must_use] pub fn int_ena(&mut self) -> INT_ENA_W { INT_ENA_W::new(self, 13) } diff --git a/esp32/src/gpio/sdio_select.rs b/esp32/src/gpio/sdio_select.rs index 591c7f3a6f..63a3ea2bbe 100644 --- a/esp32/src/gpio/sdio_select.rs +++ b/esp32/src/gpio/sdio_select.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - SDIO PADS on/off control from outside"] #[inline(always)] - #[must_use] pub fn sdio_sel(&mut self) -> SDIO_SEL_W { SDIO_SEL_W::new(self, 0) } diff --git a/esp32/src/gpio/status.rs b/esp32/src/gpio/status.rs index 8335e5efd2..07e39fc28f 100644 --- a/esp32/src/gpio/status.rs +++ b/esp32/src/gpio/status.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - GPIO0~31 interrupt status"] #[inline(always)] - #[must_use] pub fn int(&mut self) -> INT_W { INT_W::new(self, 0) } diff --git a/esp32/src/gpio/status1.rs b/esp32/src/gpio/status1.rs index c6f3215bd4..975cf5f1ff 100644 --- a/esp32/src/gpio/status1.rs +++ b/esp32/src/gpio/status1.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - GPIO32~39 interrupt status"] #[inline(always)] - #[must_use] pub fn int(&mut self) -> INT_W { INT_W::new(self, 0) } diff --git a/esp32/src/gpio/status1_w1tc.rs b/esp32/src/gpio/status1_w1tc.rs index c0d73b6b0c..ce7b50fe7e 100644 --- a/esp32/src/gpio/status1_w1tc.rs +++ b/esp32/src/gpio/status1_w1tc.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - GPIO32~39 interrupt status write 1 to clear"] #[inline(always)] - #[must_use] pub fn status1_int_w1tc(&mut self) -> STATUS1_INT_W1TC_W { STATUS1_INT_W1TC_W::new(self, 0) } diff --git a/esp32/src/gpio/status1_w1ts.rs b/esp32/src/gpio/status1_w1ts.rs index c323d455a3..bf7ba29dff 100644 --- a/esp32/src/gpio/status1_w1ts.rs +++ b/esp32/src/gpio/status1_w1ts.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - GPIO32~39 interrupt status write 1 to set"] #[inline(always)] - #[must_use] pub fn status1_int_w1ts(&mut self) -> STATUS1_INT_W1TS_W { STATUS1_INT_W1TS_W::new(self, 0) } diff --git a/esp32/src/gpio/status_w1tc.rs b/esp32/src/gpio/status_w1tc.rs index a633c2c4b6..c0a333b61d 100644 --- a/esp32/src/gpio/status_w1tc.rs +++ b/esp32/src/gpio/status_w1tc.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - GPIO0~31 interrupt status write 1 to clear"] #[inline(always)] - #[must_use] pub fn status_int_w1tc(&mut self) -> STATUS_INT_W1TC_W { STATUS_INT_W1TC_W::new(self, 0) } diff --git a/esp32/src/gpio/status_w1ts.rs b/esp32/src/gpio/status_w1ts.rs index 0a720ce613..d23d21780d 100644 --- a/esp32/src/gpio/status_w1ts.rs +++ b/esp32/src/gpio/status_w1ts.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - GPIO0~31 interrupt status write 1 to set"] #[inline(always)] - #[must_use] pub fn status_int_w1ts(&mut self) -> STATUS_INT_W1TS_W { STATUS_INT_W1TS_W::new(self, 0) } diff --git a/esp32/src/gpio_sd/clock_gate.rs b/esp32/src/gpio_sd/clock_gate.rs index 811d25f758..a0cfa37381 100644 --- a/esp32/src/gpio_sd/clock_gate.rs +++ b/esp32/src/gpio_sd/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32/src/gpio_sd/sigmadelta.rs b/esp32/src/gpio_sd/sigmadelta.rs index fa57f324fe..ae5037f778 100644 --- a/esp32/src/gpio_sd/sigmadelta.rs +++ b/esp32/src/gpio_sd/sigmadelta.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn in_(&mut self) -> IN_W { IN_W::new(self, 0) } #[doc = "Bits 8:15"] #[inline(always)] - #[must_use] pub fn prescale(&mut self) -> PRESCALE_W { PRESCALE_W::new(self, 8) } diff --git a/esp32/src/gpio_sd/sigmadelta_misc.rs b/esp32/src/gpio_sd/sigmadelta_misc.rs index 885dbae645..90b8ba5e29 100644 --- a/esp32/src/gpio_sd/sigmadelta_misc.rs +++ b/esp32/src/gpio_sd/sigmadelta_misc.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn spi_swap(&mut self) -> SPI_SWAP_W { SPI_SWAP_W::new(self, 31) } diff --git a/esp32/src/gpio_sd/version.rs b/esp32/src/gpio_sd/version.rs index 6745f0c45b..ce3c596e0a 100644 --- a/esp32/src/gpio_sd/version.rs +++ b/esp32/src/gpio_sd/version.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27"] #[inline(always)] - #[must_use] pub fn gpio_sd_date(&mut self) -> GPIO_SD_DATE_W { GPIO_SD_DATE_W::new(self, 0) } diff --git a/esp32/src/hinf/cfg_data0.rs b/esp32/src/hinf/cfg_data0.rs index 0e399732a3..6fea552b6f 100644 --- a/esp32/src/hinf/cfg_data0.rs +++ b/esp32/src/hinf/cfg_data0.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn user_id_fn1(&mut self) -> USER_ID_FN1_W { USER_ID_FN1_W::new(self, 0) } #[doc = "Bits 16:31"] #[inline(always)] - #[must_use] pub fn device_id_fn1(&mut self) -> DEVICE_ID_FN1_W { DEVICE_ID_FN1_W::new(self, 16) } diff --git a/esp32/src/hinf/cfg_data1.rs b/esp32/src/hinf/cfg_data1.rs index 68da92486c..2d193d3239 100644 --- a/esp32/src/hinf/cfg_data1.rs +++ b/esp32/src/hinf/cfg_data1.rs @@ -160,55 +160,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn sdio_enable(&mut self) -> SDIO_ENABLE_W { SDIO_ENABLE_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn sdio_ioready1(&mut self) -> SDIO_IOREADY1_W { SDIO_IOREADY1_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn highspeed_enable(&mut self) -> HIGHSPEED_ENABLE_W { HIGHSPEED_ENABLE_W::new(self, 2) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn sdio_cd_enable(&mut self) -> SDIO_CD_ENABLE_W { SDIO_CD_ENABLE_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn sdio_ioready2(&mut self) -> SDIO_IOREADY2_W { SDIO_IOREADY2_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn sdio_int_mask(&mut self) -> SDIO_INT_MASK_W { SDIO_INT_MASK_W::new(self, 6) } #[doc = "Bits 12:15"] #[inline(always)] - #[must_use] pub fn sdio20_conf0(&mut self) -> SDIO20_CONF0_W { SDIO20_CONF0_W::new(self, 12) } #[doc = "Bits 16:27"] #[inline(always)] - #[must_use] pub fn sdio_ver(&mut self) -> SDIO_VER_W { SDIO_VER_W::new(self, 16) } #[doc = "Bits 29:31"] #[inline(always)] - #[must_use] pub fn sdio20_conf1(&mut self) -> SDIO20_CONF1_W { SDIO20_CONF1_W::new(self, 29) } diff --git a/esp32/src/hinf/cfg_data16.rs b/esp32/src/hinf/cfg_data16.rs index 41b3302860..b057441bb6 100644 --- a/esp32/src/hinf/cfg_data16.rs +++ b/esp32/src/hinf/cfg_data16.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn user_id_fn2(&mut self) -> USER_ID_FN2_W { USER_ID_FN2_W::new(self, 0) } #[doc = "Bits 16:31"] #[inline(always)] - #[must_use] pub fn device_id_fn2(&mut self) -> DEVICE_ID_FN2_W { DEVICE_ID_FN2_W::new(self, 16) } diff --git a/esp32/src/hinf/cfg_data7.rs b/esp32/src/hinf/cfg_data7.rs index 370a77e3c1..d1af600630 100644 --- a/esp32/src/hinf/cfg_data7.rs +++ b/esp32/src/hinf/cfg_data7.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn pin_state(&mut self) -> PIN_STATE_W { PIN_STATE_W::new(self, 0) } #[doc = "Bits 8:15"] #[inline(always)] - #[must_use] pub fn chip_state(&mut self) -> CHIP_STATE_W { CHIP_STATE_W::new(self, 8) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn sdio_rst(&mut self) -> SDIO_RST_W { SDIO_RST_W::new(self, 16) } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn sdio_ioready0(&mut self) -> SDIO_IOREADY0_W { SDIO_IOREADY0_W::new(self, 17) } diff --git a/esp32/src/hinf/cis_conf0.rs b/esp32/src/hinf/cis_conf0.rs index aea73f2eff..9a62f385fd 100644 --- a/esp32/src/hinf/cis_conf0.rs +++ b/esp32/src/hinf/cis_conf0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn cis_conf_w0(&mut self) -> CIS_CONF_W0_W { CIS_CONF_W0_W::new(self, 0) } diff --git a/esp32/src/hinf/cis_conf1.rs b/esp32/src/hinf/cis_conf1.rs index 7ce2f2a730..2ed97a1a09 100644 --- a/esp32/src/hinf/cis_conf1.rs +++ b/esp32/src/hinf/cis_conf1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn cis_conf_w1(&mut self) -> CIS_CONF_W1_W { CIS_CONF_W1_W::new(self, 0) } diff --git a/esp32/src/hinf/cis_conf2.rs b/esp32/src/hinf/cis_conf2.rs index fa6534aee0..3faa6123b2 100644 --- a/esp32/src/hinf/cis_conf2.rs +++ b/esp32/src/hinf/cis_conf2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn cis_conf_w2(&mut self) -> CIS_CONF_W2_W { CIS_CONF_W2_W::new(self, 0) } diff --git a/esp32/src/hinf/cis_conf3.rs b/esp32/src/hinf/cis_conf3.rs index 07f3f1fdea..2172866ee4 100644 --- a/esp32/src/hinf/cis_conf3.rs +++ b/esp32/src/hinf/cis_conf3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn cis_conf_w3(&mut self) -> CIS_CONF_W3_W { CIS_CONF_W3_W::new(self, 0) } diff --git a/esp32/src/hinf/cis_conf4.rs b/esp32/src/hinf/cis_conf4.rs index 2da6b6b57f..6f7e1020ef 100644 --- a/esp32/src/hinf/cis_conf4.rs +++ b/esp32/src/hinf/cis_conf4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn cis_conf_w4(&mut self) -> CIS_CONF_W4_W { CIS_CONF_W4_W::new(self, 0) } diff --git a/esp32/src/hinf/cis_conf5.rs b/esp32/src/hinf/cis_conf5.rs index 1a82d3b504..9f980e04e3 100644 --- a/esp32/src/hinf/cis_conf5.rs +++ b/esp32/src/hinf/cis_conf5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn cis_conf_w5(&mut self) -> CIS_CONF_W5_W { CIS_CONF_W5_W::new(self, 0) } diff --git a/esp32/src/hinf/cis_conf6.rs b/esp32/src/hinf/cis_conf6.rs index 8ca1f710c4..9589730535 100644 --- a/esp32/src/hinf/cis_conf6.rs +++ b/esp32/src/hinf/cis_conf6.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn cis_conf_w6(&mut self) -> CIS_CONF_W6_W { CIS_CONF_W6_W::new(self, 0) } diff --git a/esp32/src/hinf/cis_conf7.rs b/esp32/src/hinf/cis_conf7.rs index afae759cbf..edb51541de 100644 --- a/esp32/src/hinf/cis_conf7.rs +++ b/esp32/src/hinf/cis_conf7.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn cis_conf_w7(&mut self) -> CIS_CONF_W7_W { CIS_CONF_W7_W::new(self, 0) } diff --git a/esp32/src/hinf/date.rs b/esp32/src/hinf/date.rs index aff9a71966..20cb4dae5e 100644 --- a/esp32/src/hinf/date.rs +++ b/esp32/src/hinf/date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn sdio_date(&mut self) -> SDIO_DATE_W { SDIO_DATE_W::new(self, 0) } diff --git a/esp32/src/i2c0/comd.rs b/esp32/src/i2c0/comd.rs index 34e71d2194..f13c770e16 100644 --- a/esp32/src/i2c0/comd.rs +++ b/esp32/src/i2c0/comd.rs @@ -170,37 +170,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Number of bytes to be sent or received for command %s."] #[inline(always)] - #[must_use] pub fn byte_num(&mut self) -> BYTE_NUM_W { BYTE_NUM_W::new(self, 0) } #[doc = "Bit 8 - Acknowledge check enable for command %s."] #[inline(always)] - #[must_use] pub fn ack_check_en(&mut self) -> ACK_CHECK_EN_W { ACK_CHECK_EN_W::new(self, 8) } #[doc = "Bit 9 - Acknowledge expected for command %s."] #[inline(always)] - #[must_use] pub fn ack_exp(&mut self) -> ACK_EXP_W { ACK_EXP_W::new(self, 9) } #[doc = "Bit 10 - Acknowledge value for command %s."] #[inline(always)] - #[must_use] pub fn ack_value(&mut self) -> ACK_VALUE_W { ACK_VALUE_W::new(self, 10) } #[doc = "Bits 11:13 - Opcode part of command %s."] #[inline(always)] - #[must_use] pub fn opcode(&mut self) -> OPCODE_W { OPCODE_W::new(self, 11) } #[doc = "Bit 31 - When command0 is done in I2C Master mode this bit changes to high level."] #[inline(always)] - #[must_use] pub fn command_done(&mut self) -> COMMAND_DONE_W { COMMAND_DONE_W::new(self, 31) } diff --git a/esp32/src/i2c0/ctr.rs b/esp32/src/i2c0/ctr.rs index 275c9004cb..454e6f7fbb 100644 --- a/esp32/src/i2c0/ctr.rs +++ b/esp32/src/i2c0/ctr.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: normally ouput sda data 0: exchange the function of sda_o and sda_oe (sda_o is the original internal output sda signal sda_oe is the enable bit for the internal output sda signal)"] #[inline(always)] - #[must_use] pub fn sda_force_out(&mut self) -> SDA_FORCE_OUT_W { SDA_FORCE_OUT_W::new(self, 0) } #[doc = "Bit 1 - 1: normally ouput scl clock 0: exchange the function of scl_o and scl_oe (scl_o is the original internal output scl signal scl_oe is the enable bit for the internal output scl signal)"] #[inline(always)] - #[must_use] pub fn scl_force_out(&mut self) -> SCL_FORCE_OUT_W { SCL_FORCE_OUT_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to sample data in SCL low level. clear this bit to sample data in SCL high level."] #[inline(always)] - #[must_use] pub fn sample_scl_level(&mut self) -> SAMPLE_SCL_LEVEL_W { SAMPLE_SCL_LEVEL_W::new(self, 2) } #[doc = "Bit 4 - Set this bit to configure the module as i2c master clear this bit to configure the module as i2c slave."] #[inline(always)] - #[must_use] pub fn ms_mode(&mut self) -> MS_MODE_W { MS_MODE_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to start sending data in txfifo."] #[inline(always)] - #[must_use] pub fn trans_start(&mut self) -> TRANS_START_W { TRANS_START_W::new(self, 5) } #[doc = "Bit 6 - This bit is used to control the sending mode for data need to be send. 1: receive data from most significant bit 0: receive data from least significant bit"] #[inline(always)] - #[must_use] pub fn tx_lsb_first(&mut self) -> TX_LSB_FIRST_W { TX_LSB_FIRST_W::new(self, 6) } #[doc = "Bit 7 - This bit is used to control the storage mode for received datas. 1: receive data from most significant bit 0: receive data from least significant bit"] #[inline(always)] - #[must_use] pub fn rx_lsb_first(&mut self) -> RX_LSB_FIRST_W { RX_LSB_FIRST_W::new(self, 7) } #[doc = "Bit 8 - This is the clock gating control bit for reading or writing registers."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 8) } diff --git a/esp32/src/i2c0/date.rs b/esp32/src/i2c0/date.rs index 13e52e8aca..859e9515bb 100644 --- a/esp32/src/i2c0/date.rs +++ b/esp32/src/i2c0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32/src/i2c0/fifo_conf.rs b/esp32/src/i2c0/fifo_conf.rs index e4daca64ce..4849f63bd4 100644 --- a/esp32/src/i2c0/fifo_conf.rs +++ b/esp32/src/i2c0/fifo_conf.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn rxfifo_full_thrhd(&mut self) -> RXFIFO_FULL_THRHD_W { RXFIFO_FULL_THRHD_W::new(self, 0) } #[doc = "Bits 5:9 - Config txfifo empty threhd value when using apb fifo access"] #[inline(always)] - #[must_use] pub fn txfifo_empty_thrhd(&mut self) -> TXFIFO_EMPTY_THRHD_W { TXFIFO_EMPTY_THRHD_W::new(self, 5) } #[doc = "Bit 10 - Set this bit to enble apb nonfifo access."] #[inline(always)] - #[must_use] pub fn nonfifo_en(&mut self) -> NONFIFO_EN_W { NONFIFO_EN_W::new(self, 10) } #[doc = "Bit 11 - When this bit is set to 1 then the byte after address represent the offset address of I2C Slave's ram."] #[inline(always)] - #[must_use] pub fn fifo_addr_cfg_en(&mut self) -> FIFO_ADDR_CFG_EN_W { FIFO_ADDR_CFG_EN_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to reset rx fifo when using apb fifo access."] #[inline(always)] - #[must_use] pub fn rx_fifo_rst(&mut self) -> RX_FIFO_RST_W { RX_FIFO_RST_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to reset tx fifo when using apb fifo access."] #[inline(always)] - #[must_use] pub fn tx_fifo_rst(&mut self) -> TX_FIFO_RST_W { TX_FIFO_RST_W::new(self, 13) } #[doc = "Bits 14:19 - when I2C receives more than nonfifo_rx_thres data it will produce rx_send_full_int_raw interrupt and update the current offset address of the receiving data."] #[inline(always)] - #[must_use] pub fn nonfifo_rx_thres(&mut self) -> NONFIFO_RX_THRES_W { NONFIFO_RX_THRES_W::new(self, 14) } #[doc = "Bits 20:25 - when I2C sends more than nonfifo_tx_thres data it will produce tx_send_empty_int_raw interrupt and update the current offset address of the sending data."] #[inline(always)] - #[must_use] pub fn nonfifo_tx_thres(&mut self) -> NONFIFO_TX_THRES_W { NONFIFO_TX_THRES_W::new(self, 20) } diff --git a/esp32/src/i2c0/int_clr.rs b/esp32/src/i2c0/int_clr.rs index 48a32da26a..6c2e774c6f 100644 --- a/esp32/src/i2c0/int_clr.rs +++ b/esp32/src/i2c0/int_clr.rs @@ -35,79 +35,66 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the rxfifo_full_int interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_full(&mut self) -> RXFIFO_FULL_W { RXFIFO_FULL_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the txfifo_empty_int interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_empty(&mut self) -> TXFIFO_EMPTY_W { TXFIFO_EMPTY_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the rxfifo_ovf_int interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the end_detect_int interrupt."] #[inline(always)] - #[must_use] pub fn end_detect(&mut self) -> END_DETECT_W { END_DETECT_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear the slave_tran_comp_int interrupt."] #[inline(always)] - #[must_use] pub fn slave_tran_comp(&mut self) -> SLAVE_TRAN_COMP_W { SLAVE_TRAN_COMP_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the arbitration_lost_int interrupt."] #[inline(always)] - #[must_use] pub fn arbitration_lost(&mut self) -> ARBITRATION_LOST_W { ARBITRATION_LOST_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the master_tran_comp interrupt."] #[inline(always)] - #[must_use] pub fn master_tran_comp(&mut self) -> MASTER_TRAN_COMP_W { MASTER_TRAN_COMP_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the trans_complete_int interrupt."] #[inline(always)] - #[must_use] pub fn trans_complete(&mut self) -> TRANS_COMPLETE_W { TRANS_COMPLETE_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the time_out_int interrupt."] #[inline(always)] - #[must_use] pub fn time_out(&mut self) -> TIME_OUT_W { TIME_OUT_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear the trans_start_int interrupt."] #[inline(always)] - #[must_use] pub fn trans_start(&mut self) -> TRANS_START_W { TRANS_START_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to clear the ack_err_int interrupt."] #[inline(always)] - #[must_use] pub fn nack(&mut self) -> NACK_W { NACK_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear the rx_rec_full_int interrupt."] #[inline(always)] - #[must_use] pub fn rx_rec_full(&mut self) -> RX_REC_FULL_W { RX_REC_FULL_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to clear the tx_send_empty_int interrupt."] #[inline(always)] - #[must_use] pub fn tx_send_empty(&mut self) -> TX_SEND_EMPTY_W { TX_SEND_EMPTY_W::new(self, 12) } diff --git a/esp32/src/i2c0/int_ena.rs b/esp32/src/i2c0/int_ena.rs index ef73c90ab5..58424f86e9 100644 --- a/esp32/src/i2c0/int_ena.rs +++ b/esp32/src/i2c0/int_ena.rs @@ -144,79 +144,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The enable bit for rxfifo_full_int interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_full(&mut self) -> RXFIFO_FULL_W { RXFIFO_FULL_W::new(self, 0) } #[doc = "Bit 1 - The enable bit for txfifo_empty_int interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_empty(&mut self) -> TXFIFO_EMPTY_W { TXFIFO_EMPTY_W::new(self, 1) } #[doc = "Bit 2 - The enable bit for rxfifo_ovf_int interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 2) } #[doc = "Bit 3 - The enable bit for end_detect_int interrupt."] #[inline(always)] - #[must_use] pub fn end_detect(&mut self) -> END_DETECT_W { END_DETECT_W::new(self, 3) } #[doc = "Bit 4 - The enable bit for slave_tran_comp_int interrupt."] #[inline(always)] - #[must_use] pub fn slave_tran_comp(&mut self) -> SLAVE_TRAN_COMP_W { SLAVE_TRAN_COMP_W::new(self, 4) } #[doc = "Bit 5 - The enable bit for arbitration_lost_int interrupt."] #[inline(always)] - #[must_use] pub fn arbitration_lost(&mut self) -> ARBITRATION_LOST_W { ARBITRATION_LOST_W::new(self, 5) } #[doc = "Bit 6 - The enable bit for master_tran_comp_int interrupt."] #[inline(always)] - #[must_use] pub fn master_tran_comp(&mut self) -> MASTER_TRAN_COMP_W { MASTER_TRAN_COMP_W::new(self, 6) } #[doc = "Bit 7 - The enable bit for trans_complete_int interrupt."] #[inline(always)] - #[must_use] pub fn trans_complete(&mut self) -> TRANS_COMPLETE_W { TRANS_COMPLETE_W::new(self, 7) } #[doc = "Bit 8 - The enable bit for time_out_int interrupt."] #[inline(always)] - #[must_use] pub fn time_out(&mut self) -> TIME_OUT_W { TIME_OUT_W::new(self, 8) } #[doc = "Bit 9 - The enable bit for trans_start_int interrupt."] #[inline(always)] - #[must_use] pub fn trans_start(&mut self) -> TRANS_START_W { TRANS_START_W::new(self, 9) } #[doc = "Bit 10 - The enable bit for ack_err_int interrupt."] #[inline(always)] - #[must_use] pub fn nack(&mut self) -> NACK_W { NACK_W::new(self, 10) } #[doc = "Bit 11 - The enable bit for rx_rec_full_int interrupt."] #[inline(always)] - #[must_use] pub fn rx_rec_full(&mut self) -> RX_REC_FULL_W { RX_REC_FULL_W::new(self, 11) } #[doc = "Bit 12 - The enable bit for tx_send_empty_int interrupt."] #[inline(always)] - #[must_use] pub fn tx_send_empty(&mut self) -> TX_SEND_EMPTY_W { TX_SEND_EMPTY_W::new(self, 12) } diff --git a/esp32/src/i2c0/scl_filter_cfg.rs b/esp32/src/i2c0/scl_filter_cfg.rs index cf1aac5995..ca9407c1bb 100644 --- a/esp32/src/i2c0/scl_filter_cfg.rs +++ b/esp32/src/i2c0/scl_filter_cfg.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - When input SCL's pulse width is smaller than this register value I2C ignores this pulse."] #[inline(always)] - #[must_use] pub fn scl_filter_thres(&mut self) -> SCL_FILTER_THRES_W { SCL_FILTER_THRES_W::new(self, 0) } #[doc = "Bit 3 - This is the filter enable bit for SCL."] #[inline(always)] - #[must_use] pub fn scl_filter_en(&mut self) -> SCL_FILTER_EN_W { SCL_FILTER_EN_W::new(self, 3) } diff --git a/esp32/src/i2c0/scl_high_period.rs b/esp32/src/i2c0/scl_high_period.rs index b44e27a437..8d9f9ecf7f 100644 --- a/esp32/src/i2c0/scl_high_period.rs +++ b/esp32/src/i2c0/scl_high_period.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - This register is used to configure the clock num during SCL is low level."] #[inline(always)] - #[must_use] pub fn scl_high_period(&mut self) -> SCL_HIGH_PERIOD_W { SCL_HIGH_PERIOD_W::new(self, 0) } diff --git a/esp32/src/i2c0/scl_low_period.rs b/esp32/src/i2c0/scl_low_period.rs index eb54303ac3..e434d8923d 100644 --- a/esp32/src/i2c0/scl_low_period.rs +++ b/esp32/src/i2c0/scl_low_period.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - This register is used to configure the low level width of SCL clock."] #[inline(always)] - #[must_use] pub fn scl_low_period(&mut self) -> SCL_LOW_PERIOD_W { SCL_LOW_PERIOD_W::new(self, 0) } diff --git a/esp32/src/i2c0/scl_rstart_setup.rs b/esp32/src/i2c0/scl_rstart_setup.rs index 92b1bc6f91..cf1b837677 100644 --- a/esp32/src/i2c0/scl_rstart_setup.rs +++ b/esp32/src/i2c0/scl_rstart_setup.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - This register is used to configure the clock num between the posedge of SCL and the negedge of SDA for restart mark."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32/src/i2c0/scl_start_hold.rs b/esp32/src/i2c0/scl_start_hold.rs index ba3fc4f9f7..7d9183684d 100644 --- a/esp32/src/i2c0/scl_start_hold.rs +++ b/esp32/src/i2c0/scl_start_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - This register is used to configure the clock num between the negedge of SDA and negedge of SCL for start mark."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32/src/i2c0/scl_stop_hold.rs b/esp32/src/i2c0/scl_stop_hold.rs index f93559ca81..72440c296f 100644 --- a/esp32/src/i2c0/scl_stop_hold.rs +++ b/esp32/src/i2c0/scl_stop_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - This register is used to configure the clock num after the STOP bit's posedge."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32/src/i2c0/scl_stop_setup.rs b/esp32/src/i2c0/scl_stop_setup.rs index 8dd5dbfbd9..ca94c4ff49 100644 --- a/esp32/src/i2c0/scl_stop_setup.rs +++ b/esp32/src/i2c0/scl_stop_setup.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - This register is used to configure the clock num between the posedge of SCL and the posedge of SDA."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32/src/i2c0/sda_filter_cfg.rs b/esp32/src/i2c0/sda_filter_cfg.rs index 177d6af7c5..0da15fb953 100644 --- a/esp32/src/i2c0/sda_filter_cfg.rs +++ b/esp32/src/i2c0/sda_filter_cfg.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - When input SCL's pulse width is smaller than this register value I2C ignores this pulse."] #[inline(always)] - #[must_use] pub fn sda_filter_thres(&mut self) -> SDA_FILTER_THRES_W { SDA_FILTER_THRES_W::new(self, 0) } #[doc = "Bit 3 - This is the filter enable bit for SDA."] #[inline(always)] - #[must_use] pub fn sda_filter_en(&mut self) -> SDA_FILTER_EN_W { SDA_FILTER_EN_W::new(self, 3) } diff --git a/esp32/src/i2c0/sda_hold.rs b/esp32/src/i2c0/sda_hold.rs index 2acfdcebd8..b0f3b6e7b8 100644 --- a/esp32/src/i2c0/sda_hold.rs +++ b/esp32/src/i2c0/sda_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - This register is used to configure the clock num I2C used to hold the data after the negedge of SCL."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32/src/i2c0/sda_sample.rs b/esp32/src/i2c0/sda_sample.rs index 6a5b5a169c..6b5212f08c 100644 --- a/esp32/src/i2c0/sda_sample.rs +++ b/esp32/src/i2c0/sda_sample.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - This register is used to configure the clock num I2C used to sample data on SDA after the posedge of SCL"] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32/src/i2c0/slave_addr.rs b/esp32/src/i2c0/slave_addr.rs index 74653fdf23..b0846d3db9 100644 --- a/esp32/src/i2c0/slave_addr.rs +++ b/esp32/src/i2c0/slave_addr.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:14 - when configured as i2c slave this register is used to configure slave's address."] #[inline(always)] - #[must_use] pub fn slave_addr(&mut self) -> SLAVE_ADDR_W { SLAVE_ADDR_W::new(self, 0) } #[doc = "Bit 31 - This register is used to enable slave 10bit address mode."] #[inline(always)] - #[must_use] pub fn addr_10bit_en(&mut self) -> ADDR_10BIT_EN_W { ADDR_10BIT_EN_W::new(self, 31) } diff --git a/esp32/src/i2c0/to.rs b/esp32/src/i2c0/to.rs index e748ad9e5e..fda21a38ae 100644 --- a/esp32/src/i2c0/to.rs +++ b/esp32/src/i2c0/to.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - This register is used to configure the max clock number of receiving a data."] #[inline(always)] - #[must_use] pub fn time_out(&mut self) -> TIME_OUT_W { TIME_OUT_W::new(self, 0) } diff --git a/esp32/src/i2s0/ahb_test.rs b/esp32/src/i2s0/ahb_test.rs index f08e85fc77..6556bb57fa 100644 --- a/esp32/src/i2s0/ahb_test.rs +++ b/esp32/src/i2s0/ahb_test.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2"] #[inline(always)] - #[must_use] pub fn ahb_testmode(&mut self) -> AHB_TESTMODE_W { AHB_TESTMODE_W::new(self, 0) } #[doc = "Bits 4:5"] #[inline(always)] - #[must_use] pub fn ahb_testaddr(&mut self) -> AHB_TESTADDR_W { AHB_TESTADDR_W::new(self, 4) } diff --git a/esp32/src/i2s0/clkm_conf.rs b/esp32/src/i2s0/clkm_conf.rs index 25792bf7b6..eea000a3c4 100644 --- a/esp32/src/i2s0/clkm_conf.rs +++ b/esp32/src/i2s0/clkm_conf.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn clkm_div_num(&mut self) -> CLKM_DIV_NUM_W { CLKM_DIV_NUM_W::new(self, 0) } #[doc = "Bits 8:13"] #[inline(always)] - #[must_use] pub fn clkm_div_b(&mut self) -> CLKM_DIV_B_W { CLKM_DIV_B_W::new(self, 8) } #[doc = "Bits 14:19"] #[inline(always)] - #[must_use] pub fn clkm_div_a(&mut self) -> CLKM_DIV_A_W { CLKM_DIV_A_W::new(self, 14) } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 20) } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn clka_ena(&mut self) -> CLKA_ENA_W { CLKA_ENA_W::new(self, 21) } diff --git a/esp32/src/i2s0/conf.rs b/esp32/src/i2s0/conf.rs index 33231e3402..a9dae3dfe1 100644 --- a/esp32/src/i2s0/conf.rs +++ b/esp32/src/i2s0/conf.rs @@ -204,115 +204,96 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn tx_reset(&mut self) -> TX_RESET_W { TX_RESET_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn rx_reset(&mut self) -> RX_RESET_W { RX_RESET_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn tx_fifo_reset(&mut self) -> TX_FIFO_RESET_W { TX_FIFO_RESET_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn rx_fifo_reset(&mut self) -> RX_FIFO_RESET_W { RX_FIFO_RESET_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn tx_start(&mut self) -> TX_START_W { TX_START_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn rx_start(&mut self) -> RX_START_W { RX_START_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn tx_slave_mod(&mut self) -> TX_SLAVE_MOD_W { TX_SLAVE_MOD_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn rx_slave_mod(&mut self) -> RX_SLAVE_MOD_W { RX_SLAVE_MOD_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn tx_right_first(&mut self) -> TX_RIGHT_FIRST_W { TX_RIGHT_FIRST_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn rx_right_first(&mut self) -> RX_RIGHT_FIRST_W { RX_RIGHT_FIRST_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn tx_msb_shift(&mut self) -> TX_MSB_SHIFT_W { TX_MSB_SHIFT_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn rx_msb_shift(&mut self) -> RX_MSB_SHIFT_W { RX_MSB_SHIFT_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn tx_short_sync(&mut self) -> TX_SHORT_SYNC_W { TX_SHORT_SYNC_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn rx_short_sync(&mut self) -> RX_SHORT_SYNC_W { RX_SHORT_SYNC_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn tx_mono(&mut self) -> TX_MONO_W { TX_MONO_W::new(self, 14) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn rx_mono(&mut self) -> RX_MONO_W { RX_MONO_W::new(self, 15) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn tx_msb_right(&mut self) -> TX_MSB_RIGHT_W { TX_MSB_RIGHT_W::new(self, 16) } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn rx_msb_right(&mut self) -> RX_MSB_RIGHT_W { RX_MSB_RIGHT_W::new(self, 17) } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn sig_loopback(&mut self) -> SIG_LOOPBACK_W { SIG_LOOPBACK_W::new(self, 18) } diff --git a/esp32/src/i2s0/conf1.rs b/esp32/src/i2s0/conf1.rs index c68e66c38f..61b51fbbab 100644 --- a/esp32/src/i2s0/conf1.rs +++ b/esp32/src/i2s0/conf1.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2"] #[inline(always)] - #[must_use] pub fn tx_pcm_conf(&mut self) -> TX_PCM_CONF_W { TX_PCM_CONF_W::new(self, 0) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn tx_pcm_bypass(&mut self) -> TX_PCM_BYPASS_W { TX_PCM_BYPASS_W::new(self, 3) } #[doc = "Bits 4:6"] #[inline(always)] - #[must_use] pub fn rx_pcm_conf(&mut self) -> RX_PCM_CONF_W { RX_PCM_CONF_W::new(self, 4) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn rx_pcm_bypass(&mut self) -> RX_PCM_BYPASS_W { RX_PCM_BYPASS_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn tx_stop_en(&mut self) -> TX_STOP_EN_W { TX_STOP_EN_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn tx_zeros_rm_en(&mut self) -> TX_ZEROS_RM_EN_W { TX_ZEROS_RM_EN_W::new(self, 9) } diff --git a/esp32/src/i2s0/conf2.rs b/esp32/src/i2s0/conf2.rs index 400831a255..da1adf2143 100644 --- a/esp32/src/i2s0/conf2.rs +++ b/esp32/src/i2s0/conf2.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn camera_en(&mut self) -> CAMERA_EN_W { CAMERA_EN_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn lcd_tx_wrx2_en(&mut self) -> LCD_TX_WRX2_EN_W { LCD_TX_WRX2_EN_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn lcd_tx_sdx2_en(&mut self) -> LCD_TX_SDX2_EN_W { LCD_TX_SDX2_EN_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn data_enable_test_en(&mut self) -> DATA_ENABLE_TEST_EN_W { DATA_ENABLE_TEST_EN_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn data_enable(&mut self) -> DATA_ENABLE_W { DATA_ENABLE_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn lcd_en(&mut self) -> LCD_EN_W { LCD_EN_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn ext_adc_start_en(&mut self) -> EXT_ADC_START_EN_W { EXT_ADC_START_EN_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn inter_valid_en(&mut self) -> INTER_VALID_EN_W { INTER_VALID_EN_W::new(self, 7) } diff --git a/esp32/src/i2s0/conf_chan.rs b/esp32/src/i2s0/conf_chan.rs index 503feb2248..3c149fa6a8 100644 --- a/esp32/src/i2s0/conf_chan.rs +++ b/esp32/src/i2s0/conf_chan.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2"] #[inline(always)] - #[must_use] pub fn tx_chan_mod(&mut self) -> TX_CHAN_MOD_W { TX_CHAN_MOD_W::new(self, 0) } #[doc = "Bits 3:4"] #[inline(always)] - #[must_use] pub fn rx_chan_mod(&mut self) -> RX_CHAN_MOD_W { RX_CHAN_MOD_W::new(self, 3) } diff --git a/esp32/src/i2s0/conf_sigle_data.rs b/esp32/src/i2s0/conf_sigle_data.rs index c1f9e52e40..6d613f2eaa 100644 --- a/esp32/src/i2s0/conf_sigle_data.rs +++ b/esp32/src/i2s0/conf_sigle_data.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn sigle_data(&mut self) -> SIGLE_DATA_W { SIGLE_DATA_W::new(self, 0) } diff --git a/esp32/src/i2s0/cvsd_conf0.rs b/esp32/src/i2s0/cvsd_conf0.rs index 8c100a2d3a..944371b686 100644 --- a/esp32/src/i2s0/cvsd_conf0.rs +++ b/esp32/src/i2s0/cvsd_conf0.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn cvsd_y_max(&mut self) -> CVSD_Y_MAX_W { CVSD_Y_MAX_W::new(self, 0) } #[doc = "Bits 16:31"] #[inline(always)] - #[must_use] pub fn cvsd_y_min(&mut self) -> CVSD_Y_MIN_W { CVSD_Y_MIN_W::new(self, 16) } diff --git a/esp32/src/i2s0/cvsd_conf1.rs b/esp32/src/i2s0/cvsd_conf1.rs index 952bb5ccf3..7be2d30f64 100644 --- a/esp32/src/i2s0/cvsd_conf1.rs +++ b/esp32/src/i2s0/cvsd_conf1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn cvsd_sigma_max(&mut self) -> CVSD_SIGMA_MAX_W { CVSD_SIGMA_MAX_W::new(self, 0) } #[doc = "Bits 16:31"] #[inline(always)] - #[must_use] pub fn cvsd_sigma_min(&mut self) -> CVSD_SIGMA_MIN_W { CVSD_SIGMA_MIN_W::new(self, 16) } diff --git a/esp32/src/i2s0/cvsd_conf2.rs b/esp32/src/i2s0/cvsd_conf2.rs index 890db515d7..597dde0b12 100644 --- a/esp32/src/i2s0/cvsd_conf2.rs +++ b/esp32/src/i2s0/cvsd_conf2.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2"] #[inline(always)] - #[must_use] pub fn cvsd_k(&mut self) -> CVSD_K_W { CVSD_K_W::new(self, 0) } #[doc = "Bits 3:5"] #[inline(always)] - #[must_use] pub fn cvsd_j(&mut self) -> CVSD_J_W { CVSD_J_W::new(self, 3) } #[doc = "Bits 6:15"] #[inline(always)] - #[must_use] pub fn cvsd_beta(&mut self) -> CVSD_BETA_W { CVSD_BETA_W::new(self, 6) } #[doc = "Bits 16:18"] #[inline(always)] - #[must_use] pub fn cvsd_h(&mut self) -> CVSD_H_W { CVSD_H_W::new(self, 16) } diff --git a/esp32/src/i2s0/date.rs b/esp32/src/i2s0/date.rs index 6491c96072..a3505b6f6e 100644 --- a/esp32/src/i2s0/date.rs +++ b/esp32/src/i2s0/date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn i2sdate(&mut self) -> I2SDATE_W { I2SDATE_W::new(self, 0) } diff --git a/esp32/src/i2s0/esco_conf0.rs b/esp32/src/i2s0/esco_conf0.rs index ff5f6a9db3..d8a40e8abb 100644 --- a/esp32/src/i2s0/esco_conf0.rs +++ b/esp32/src/i2s0/esco_conf0.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn esco_en(&mut self) -> ESCO_EN_W { ESCO_EN_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn esco_chan_mod(&mut self) -> ESCO_CHAN_MOD_W { ESCO_CHAN_MOD_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn esco_cvsd_dec_pack_err(&mut self) -> ESCO_CVSD_DEC_PACK_ERR_W { ESCO_CVSD_DEC_PACK_ERR_W::new(self, 2) } #[doc = "Bits 3:7"] #[inline(always)] - #[must_use] pub fn esco_cvsd_pack_len_8k(&mut self) -> ESCO_CVSD_PACK_LEN_8K_W { ESCO_CVSD_PACK_LEN_8K_W::new(self, 3) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn esco_cvsd_inf_en(&mut self) -> ESCO_CVSD_INF_EN_W { ESCO_CVSD_INF_EN_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn cvsd_dec_start(&mut self) -> CVSD_DEC_START_W { CVSD_DEC_START_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn cvsd_dec_reset(&mut self) -> CVSD_DEC_RESET_W { CVSD_DEC_RESET_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn plc_en(&mut self) -> PLC_EN_W { PLC_EN_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn plc2dma_en(&mut self) -> PLC2DMA_EN_W { PLC2DMA_EN_W::new(self, 12) } diff --git a/esp32/src/i2s0/fifo_conf.rs b/esp32/src/i2s0/fifo_conf.rs index c041bde1d0..106c2bfdf4 100644 --- a/esp32/src/i2s0/fifo_conf.rs +++ b/esp32/src/i2s0/fifo_conf.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn rx_data_num(&mut self) -> RX_DATA_NUM_W { RX_DATA_NUM_W::new(self, 0) } #[doc = "Bits 6:11"] #[inline(always)] - #[must_use] pub fn tx_data_num(&mut self) -> TX_DATA_NUM_W { TX_DATA_NUM_W::new(self, 6) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn dscr_en(&mut self) -> DSCR_EN_W { DSCR_EN_W::new(self, 12) } #[doc = "Bits 13:15"] #[inline(always)] - #[must_use] pub fn tx_fifo_mod(&mut self) -> TX_FIFO_MOD_W { TX_FIFO_MOD_W::new(self, 13) } #[doc = "Bits 16:18"] #[inline(always)] - #[must_use] pub fn rx_fifo_mod(&mut self) -> RX_FIFO_MOD_W { RX_FIFO_MOD_W::new(self, 16) } #[doc = "Bit 19"] #[inline(always)] - #[must_use] pub fn tx_fifo_mod_force_en(&mut self) -> TX_FIFO_MOD_FORCE_EN_W { TX_FIFO_MOD_FORCE_EN_W::new(self, 19) } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn rx_fifo_mod_force_en(&mut self) -> RX_FIFO_MOD_FORCE_EN_W { RX_FIFO_MOD_FORCE_EN_W::new(self, 20) } diff --git a/esp32/src/i2s0/in_link.rs b/esp32/src/i2s0/in_link.rs index 03db062c09..3c3ac8b8e8 100644 --- a/esp32/src/i2s0/in_link.rs +++ b/esp32/src/i2s0/in_link.rs @@ -62,25 +62,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19"] #[inline(always)] - #[must_use] pub fn inlink_addr(&mut self) -> INLINK_ADDR_W { INLINK_ADDR_W::new(self, 0) } #[doc = "Bit 28"] #[inline(always)] - #[must_use] pub fn inlink_stop(&mut self) -> INLINK_STOP_W { INLINK_STOP_W::new(self, 28) } #[doc = "Bit 29"] #[inline(always)] - #[must_use] pub fn inlink_start(&mut self) -> INLINK_START_W { INLINK_START_W::new(self, 29) } #[doc = "Bit 30"] #[inline(always)] - #[must_use] pub fn inlink_restart(&mut self) -> INLINK_RESTART_W { INLINK_RESTART_W::new(self, 30) } diff --git a/esp32/src/i2s0/infifo_pop.rs b/esp32/src/i2s0/infifo_pop.rs index b4741f82ee..2976fdf693 100644 --- a/esp32/src/i2s0/infifo_pop.rs +++ b/esp32/src/i2s0/infifo_pop.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn infifo_pop(&mut self) -> INFIFO_POP_W { INFIFO_POP_W::new(self, 16) } diff --git a/esp32/src/i2s0/int_clr.rs b/esp32/src/i2s0/int_clr.rs index ad21f51b81..a67867e6fc 100644 --- a/esp32/src/i2s0/int_clr.rs +++ b/esp32/src/i2s0/int_clr.rs @@ -43,103 +43,86 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn take_data(&mut self) -> TAKE_DATA_W { TAKE_DATA_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn put_data(&mut self) -> PUT_DATA_W { PUT_DATA_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn rx_wfull(&mut self) -> RX_WFULL_W { RX_WFULL_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn rx_rempty(&mut self) -> RX_REMPTY_W { RX_REMPTY_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn tx_wfull(&mut self) -> TX_WFULL_W { TX_WFULL_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn tx_rempty(&mut self) -> TX_REMPTY_W { TX_REMPTY_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn rx_hung(&mut self) -> RX_HUNG_W { RX_HUNG_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn tx_hung(&mut self) -> TX_HUNG_W { TX_HUNG_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn in_done(&mut self) -> IN_DONE_W { IN_DONE_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn in_suc_eof(&mut self) -> IN_SUC_EOF_W { IN_SUC_EOF_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn in_err_eof(&mut self) -> IN_ERR_EOF_W { IN_ERR_EOF_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn out_done(&mut self) -> OUT_DONE_W { OUT_DONE_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn in_dscr_err(&mut self) -> IN_DSCR_ERR_W { IN_DSCR_ERR_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn out_dscr_err(&mut self) -> OUT_DSCR_ERR_W { OUT_DSCR_ERR_W::new(self, 14) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn in_dscr_empty(&mut self) -> IN_DSCR_EMPTY_W { IN_DSCR_EMPTY_W::new(self, 15) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn out_total_eof(&mut self) -> OUT_TOTAL_EOF_W { OUT_TOTAL_EOF_W::new(self, 16) } diff --git a/esp32/src/i2s0/int_ena.rs b/esp32/src/i2s0/int_ena.rs index 962754ad07..99f3d12585 100644 --- a/esp32/src/i2s0/int_ena.rs +++ b/esp32/src/i2s0/int_ena.rs @@ -184,103 +184,86 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn rx_take_data(&mut self) -> RX_TAKE_DATA_W { RX_TAKE_DATA_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn tx_put_data(&mut self) -> TX_PUT_DATA_W { TX_PUT_DATA_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn rx_wfull(&mut self) -> RX_WFULL_W { RX_WFULL_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn rx_rempty(&mut self) -> RX_REMPTY_W { RX_REMPTY_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn tx_wfull(&mut self) -> TX_WFULL_W { TX_WFULL_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn tx_rempty(&mut self) -> TX_REMPTY_W { TX_REMPTY_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn rx_hung(&mut self) -> RX_HUNG_W { RX_HUNG_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn tx_hung(&mut self) -> TX_HUNG_W { TX_HUNG_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn in_done(&mut self) -> IN_DONE_W { IN_DONE_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn in_suc_eof(&mut self) -> IN_SUC_EOF_W { IN_SUC_EOF_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn in_err_eof(&mut self) -> IN_ERR_EOF_W { IN_ERR_EOF_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn out_done(&mut self) -> OUT_DONE_W { OUT_DONE_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn in_dscr_err(&mut self) -> IN_DSCR_ERR_W { IN_DSCR_ERR_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn out_dscr_err(&mut self) -> OUT_DSCR_ERR_W { OUT_DSCR_ERR_W::new(self, 14) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn in_dscr_empty(&mut self) -> IN_DSCR_EMPTY_W { IN_DSCR_EMPTY_W::new(self, 15) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn out_total_eof(&mut self) -> OUT_TOTAL_EOF_W { OUT_TOTAL_EOF_W::new(self, 16) } diff --git a/esp32/src/i2s0/lc_conf.rs b/esp32/src/i2s0/lc_conf.rs index 4286d3324e..ddd3f3deb2 100644 --- a/esp32/src/i2s0/lc_conf.rs +++ b/esp32/src/i2s0/lc_conf.rs @@ -154,85 +154,71 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn in_rst(&mut self) -> IN_RST_W { IN_RST_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn out_rst(&mut self) -> OUT_RST_W { OUT_RST_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn ahbm_fifo_rst(&mut self) -> AHBM_FIFO_RST_W { AHBM_FIFO_RST_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn ahbm_rst(&mut self) -> AHBM_RST_W { AHBM_RST_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn out_loop_test(&mut self) -> OUT_LOOP_TEST_W { OUT_LOOP_TEST_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn in_loop_test(&mut self) -> IN_LOOP_TEST_W { IN_LOOP_TEST_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn out_auto_wrback(&mut self) -> OUT_AUTO_WRBACK_W { OUT_AUTO_WRBACK_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn out_no_restart_clr(&mut self) -> OUT_NO_RESTART_CLR_W { OUT_NO_RESTART_CLR_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn out_eof_mode(&mut self) -> OUT_EOF_MODE_W { OUT_EOF_MODE_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn outdscr_burst_en(&mut self) -> OUTDSCR_BURST_EN_W { OUTDSCR_BURST_EN_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn indscr_burst_en(&mut self) -> INDSCR_BURST_EN_W { INDSCR_BURST_EN_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn out_data_burst_en(&mut self) -> OUT_DATA_BURST_EN_W { OUT_DATA_BURST_EN_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn check_owner(&mut self) -> CHECK_OWNER_W { CHECK_OWNER_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn mem_trans_en(&mut self) -> MEM_TRANS_EN_W { MEM_TRANS_EN_W::new(self, 13) } diff --git a/esp32/src/i2s0/lc_hung_conf.rs b/esp32/src/i2s0/lc_hung_conf.rs index 8e9023e194..ed8fa5af57 100644 --- a/esp32/src/i2s0/lc_hung_conf.rs +++ b/esp32/src/i2s0/lc_hung_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn lc_fifo_timeout(&mut self) -> LC_FIFO_TIMEOUT_W { LC_FIFO_TIMEOUT_W::new(self, 0) } #[doc = "Bits 8:10"] #[inline(always)] - #[must_use] pub fn lc_fifo_timeout_shift(&mut self) -> LC_FIFO_TIMEOUT_SHIFT_W { LC_FIFO_TIMEOUT_SHIFT_W::new(self, 8) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn lc_fifo_timeout_ena(&mut self) -> LC_FIFO_TIMEOUT_ENA_W { LC_FIFO_TIMEOUT_ENA_W::new(self, 11) } diff --git a/esp32/src/i2s0/out_link.rs b/esp32/src/i2s0/out_link.rs index 6c99d12845..064cc51823 100644 --- a/esp32/src/i2s0/out_link.rs +++ b/esp32/src/i2s0/out_link.rs @@ -62,25 +62,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19"] #[inline(always)] - #[must_use] pub fn outlink_addr(&mut self) -> OUTLINK_ADDR_W { OUTLINK_ADDR_W::new(self, 0) } #[doc = "Bit 28"] #[inline(always)] - #[must_use] pub fn outlink_stop(&mut self) -> OUTLINK_STOP_W { OUTLINK_STOP_W::new(self, 28) } #[doc = "Bit 29"] #[inline(always)] - #[must_use] pub fn outlink_start(&mut self) -> OUTLINK_START_W { OUTLINK_START_W::new(self, 29) } #[doc = "Bit 30"] #[inline(always)] - #[must_use] pub fn outlink_restart(&mut self) -> OUTLINK_RESTART_W { OUTLINK_RESTART_W::new(self, 30) } diff --git a/esp32/src/i2s0/outfifo_push.rs b/esp32/src/i2s0/outfifo_push.rs index 66c8688437..fb2684cffb 100644 --- a/esp32/src/i2s0/outfifo_push.rs +++ b/esp32/src/i2s0/outfifo_push.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8"] #[inline(always)] - #[must_use] pub fn outfifo_wdata(&mut self) -> OUTFIFO_WDATA_W { OUTFIFO_WDATA_W::new(self, 0) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn outfifo_push(&mut self) -> OUTFIFO_PUSH_W { OUTFIFO_PUSH_W::new(self, 16) } diff --git a/esp32/src/i2s0/pd_conf.rs b/esp32/src/i2s0/pd_conf.rs index 95739a9491..1f72926eaf 100644 --- a/esp32/src/i2s0/pd_conf.rs +++ b/esp32/src/i2s0/pd_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn fifo_force_pd(&mut self) -> FIFO_FORCE_PD_W { FIFO_FORCE_PD_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn fifo_force_pu(&mut self) -> FIFO_FORCE_PU_W { FIFO_FORCE_PU_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn plc_mem_force_pd(&mut self) -> PLC_MEM_FORCE_PD_W { PLC_MEM_FORCE_PD_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn plc_mem_force_pu(&mut self) -> PLC_MEM_FORCE_PU_W { PLC_MEM_FORCE_PU_W::new(self, 3) } diff --git a/esp32/src/i2s0/pdm_conf.rs b/esp32/src/i2s0/pdm_conf.rs index 5db4eca59f..8424bf3bd2 100644 --- a/esp32/src/i2s0/pdm_conf.rs +++ b/esp32/src/i2s0/pdm_conf.rs @@ -137,73 +137,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn tx_pdm_en(&mut self) -> TX_PDM_EN_W { TX_PDM_EN_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn rx_pdm_en(&mut self) -> RX_PDM_EN_W { RX_PDM_EN_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn pcm2pdm_conv_en(&mut self) -> PCM2PDM_CONV_EN_W { PCM2PDM_CONV_EN_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn pdm2pcm_conv_en(&mut self) -> PDM2PCM_CONV_EN_W { PDM2PCM_CONV_EN_W::new(self, 3) } #[doc = "Bits 4:7"] #[inline(always)] - #[must_use] pub fn tx_pdm_sinc_osr2(&mut self) -> TX_PDM_SINC_OSR2_W { TX_PDM_SINC_OSR2_W::new(self, 4) } #[doc = "Bits 8:15"] #[inline(always)] - #[must_use] pub fn tx_pdm_prescale(&mut self) -> TX_PDM_PRESCALE_W { TX_PDM_PRESCALE_W::new(self, 8) } #[doc = "Bits 16:17"] #[inline(always)] - #[must_use] pub fn tx_pdm_hp_in_shift(&mut self) -> TX_PDM_HP_IN_SHIFT_W { TX_PDM_HP_IN_SHIFT_W::new(self, 16) } #[doc = "Bits 18:19"] #[inline(always)] - #[must_use] pub fn tx_pdm_lp_in_shift(&mut self) -> TX_PDM_LP_IN_SHIFT_W { TX_PDM_LP_IN_SHIFT_W::new(self, 18) } #[doc = "Bits 20:21"] #[inline(always)] - #[must_use] pub fn tx_pdm_sinc_in_shift(&mut self) -> TX_PDM_SINC_IN_SHIFT_W { TX_PDM_SINC_IN_SHIFT_W::new(self, 20) } #[doc = "Bits 22:23"] #[inline(always)] - #[must_use] pub fn tx_pdm_sigmadelta_in_shift(&mut self) -> TX_PDM_SIGMADELTA_IN_SHIFT_W { TX_PDM_SIGMADELTA_IN_SHIFT_W::new(self, 22) } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn rx_pdm_sinc_dsr_16_en(&mut self) -> RX_PDM_SINC_DSR_16_EN_W { RX_PDM_SINC_DSR_16_EN_W::new(self, 24) } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn tx_pdm_hp_bypass(&mut self) -> TX_PDM_HP_BYPASS_W { TX_PDM_HP_BYPASS_W::new(self, 25) } diff --git a/esp32/src/i2s0/pdm_freq_conf.rs b/esp32/src/i2s0/pdm_freq_conf.rs index 051f1b55cf..4d765aa3a2 100644 --- a/esp32/src/i2s0/pdm_freq_conf.rs +++ b/esp32/src/i2s0/pdm_freq_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9"] #[inline(always)] - #[must_use] pub fn tx_pdm_fs(&mut self) -> TX_PDM_FS_W { TX_PDM_FS_W::new(self, 0) } #[doc = "Bits 10:19"] #[inline(always)] - #[must_use] pub fn tx_pdm_fp(&mut self) -> TX_PDM_FP_W { TX_PDM_FP_W::new(self, 10) } diff --git a/esp32/src/i2s0/plc_conf0.rs b/esp32/src/i2s0/plc_conf0.rs index 379d1ade7c..2c5598e11f 100644 --- a/esp32/src/i2s0/plc_conf0.rs +++ b/esp32/src/i2s0/plc_conf0.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn good_pack_max(&mut self) -> GOOD_PACK_MAX_W { GOOD_PACK_MAX_W::new(self, 0) } #[doc = "Bits 6:8"] #[inline(always)] - #[must_use] pub fn n_err_seg(&mut self) -> N_ERR_SEG_W { N_ERR_SEG_W::new(self, 6) } #[doc = "Bits 9:11"] #[inline(always)] - #[must_use] pub fn shift_rate(&mut self) -> SHIFT_RATE_W { SHIFT_RATE_W::new(self, 9) } #[doc = "Bits 12:19"] #[inline(always)] - #[must_use] pub fn max_slide_sample(&mut self) -> MAX_SLIDE_SAMPLE_W { MAX_SLIDE_SAMPLE_W::new(self, 12) } #[doc = "Bits 20:24"] #[inline(always)] - #[must_use] pub fn pack_len_8k(&mut self) -> PACK_LEN_8K_W { PACK_LEN_8K_W::new(self, 20) } #[doc = "Bits 25:27"] #[inline(always)] - #[must_use] pub fn n_min_err(&mut self) -> N_MIN_ERR_W { N_MIN_ERR_W::new(self, 25) } diff --git a/esp32/src/i2s0/plc_conf1.rs b/esp32/src/i2s0/plc_conf1.rs index 3fdfd72c46..36f017de52 100644 --- a/esp32/src/i2s0/plc_conf1.rs +++ b/esp32/src/i2s0/plc_conf1.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn bad_cef_atten_para(&mut self) -> BAD_CEF_ATTEN_PARA_W { BAD_CEF_ATTEN_PARA_W::new(self, 0) } #[doc = "Bits 8:11"] #[inline(always)] - #[must_use] pub fn bad_cef_atten_para_shift(&mut self) -> BAD_CEF_ATTEN_PARA_SHIFT_W { BAD_CEF_ATTEN_PARA_SHIFT_W::new(self, 8) } #[doc = "Bits 12:15"] #[inline(always)] - #[must_use] pub fn bad_ola_win2_para_shift(&mut self) -> BAD_OLA_WIN2_PARA_SHIFT_W { BAD_OLA_WIN2_PARA_SHIFT_W::new(self, 12) } #[doc = "Bits 16:23"] #[inline(always)] - #[must_use] pub fn bad_ola_win2_para(&mut self) -> BAD_OLA_WIN2_PARA_W { BAD_OLA_WIN2_PARA_W::new(self, 16) } #[doc = "Bits 24:31"] #[inline(always)] - #[must_use] pub fn slide_win_len(&mut self) -> SLIDE_WIN_LEN_W { SLIDE_WIN_LEN_W::new(self, 24) } diff --git a/esp32/src/i2s0/plc_conf2.rs b/esp32/src/i2s0/plc_conf2.rs index 89a98b14ad..85809347c6 100644 --- a/esp32/src/i2s0/plc_conf2.rs +++ b/esp32/src/i2s0/plc_conf2.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn cvsd_seg_mod(&mut self) -> CVSD_SEG_MOD_W { CVSD_SEG_MOD_W::new(self, 0) } #[doc = "Bits 2:6"] #[inline(always)] - #[must_use] pub fn min_period(&mut self) -> MIN_PERIOD_W { MIN_PERIOD_W::new(self, 2) } diff --git a/esp32/src/i2s0/rxeof_num.rs b/esp32/src/i2s0/rxeof_num.rs index ef2eaa4e57..6cdc4ca78c 100644 --- a/esp32/src/i2s0/rxeof_num.rs +++ b/esp32/src/i2s0/rxeof_num.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn rx_eof_num(&mut self) -> RX_EOF_NUM_W { RX_EOF_NUM_W::new(self, 0) } diff --git a/esp32/src/i2s0/sample_rate_conf.rs b/esp32/src/i2s0/sample_rate_conf.rs index 4e48aba6a4..2763a66b2b 100644 --- a/esp32/src/i2s0/sample_rate_conf.rs +++ b/esp32/src/i2s0/sample_rate_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn tx_bck_div_num(&mut self) -> TX_BCK_DIV_NUM_W { TX_BCK_DIV_NUM_W::new(self, 0) } #[doc = "Bits 6:11"] #[inline(always)] - #[must_use] pub fn rx_bck_div_num(&mut self) -> RX_BCK_DIV_NUM_W { RX_BCK_DIV_NUM_W::new(self, 6) } #[doc = "Bits 12:17"] #[inline(always)] - #[must_use] pub fn tx_bits_mod(&mut self) -> TX_BITS_MOD_W { TX_BITS_MOD_W::new(self, 12) } #[doc = "Bits 18:23"] #[inline(always)] - #[must_use] pub fn rx_bits_mod(&mut self) -> RX_BITS_MOD_W { RX_BITS_MOD_W::new(self, 18) } diff --git a/esp32/src/i2s0/sco_conf0.rs b/esp32/src/i2s0/sco_conf0.rs index dd2d1f54c5..9448765f99 100644 --- a/esp32/src/i2s0/sco_conf0.rs +++ b/esp32/src/i2s0/sco_conf0.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn sco_with_i2s_en(&mut self) -> SCO_WITH_I2S_EN_W { SCO_WITH_I2S_EN_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn sco_no_i2s_en(&mut self) -> SCO_NO_I2S_EN_W { SCO_NO_I2S_EN_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn cvsd_enc_start(&mut self) -> CVSD_ENC_START_W { CVSD_ENC_START_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn cvsd_enc_reset(&mut self) -> CVSD_ENC_RESET_W { CVSD_ENC_RESET_W::new(self, 3) } diff --git a/esp32/src/i2s0/timing.rs b/esp32/src/i2s0/timing.rs index 2b0cee1bc0..ca7c0b45f8 100644 --- a/esp32/src/i2s0/timing.rs +++ b/esp32/src/i2s0/timing.rs @@ -154,85 +154,71 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn tx_bck_in_delay(&mut self) -> TX_BCK_IN_DELAY_W { TX_BCK_IN_DELAY_W::new(self, 0) } #[doc = "Bits 2:3"] #[inline(always)] - #[must_use] pub fn tx_ws_in_delay(&mut self) -> TX_WS_IN_DELAY_W { TX_WS_IN_DELAY_W::new(self, 2) } #[doc = "Bits 4:5"] #[inline(always)] - #[must_use] pub fn rx_bck_in_delay(&mut self) -> RX_BCK_IN_DELAY_W { RX_BCK_IN_DELAY_W::new(self, 4) } #[doc = "Bits 6:7"] #[inline(always)] - #[must_use] pub fn rx_ws_in_delay(&mut self) -> RX_WS_IN_DELAY_W { RX_WS_IN_DELAY_W::new(self, 6) } #[doc = "Bits 8:9"] #[inline(always)] - #[must_use] pub fn rx_sd_in_delay(&mut self) -> RX_SD_IN_DELAY_W { RX_SD_IN_DELAY_W::new(self, 8) } #[doc = "Bits 10:11"] #[inline(always)] - #[must_use] pub fn tx_bck_out_delay(&mut self) -> TX_BCK_OUT_DELAY_W { TX_BCK_OUT_DELAY_W::new(self, 10) } #[doc = "Bits 12:13"] #[inline(always)] - #[must_use] pub fn tx_ws_out_delay(&mut self) -> TX_WS_OUT_DELAY_W { TX_WS_OUT_DELAY_W::new(self, 12) } #[doc = "Bits 14:15"] #[inline(always)] - #[must_use] pub fn tx_sd_out_delay(&mut self) -> TX_SD_OUT_DELAY_W { TX_SD_OUT_DELAY_W::new(self, 14) } #[doc = "Bits 16:17"] #[inline(always)] - #[must_use] pub fn rx_ws_out_delay(&mut self) -> RX_WS_OUT_DELAY_W { RX_WS_OUT_DELAY_W::new(self, 16) } #[doc = "Bits 18:19"] #[inline(always)] - #[must_use] pub fn rx_bck_out_delay(&mut self) -> RX_BCK_OUT_DELAY_W { RX_BCK_OUT_DELAY_W::new(self, 18) } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn tx_dsync_sw(&mut self) -> TX_DSYNC_SW_W { TX_DSYNC_SW_W::new(self, 20) } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn rx_dsync_sw(&mut self) -> RX_DSYNC_SW_W { RX_DSYNC_SW_W::new(self, 21) } #[doc = "Bits 22:23"] #[inline(always)] - #[must_use] pub fn data_enable_delay(&mut self) -> DATA_ENABLE_DELAY_W { DATA_ENABLE_DELAY_W::new(self, 22) } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn tx_bck_in_inv(&mut self) -> TX_BCK_IN_INV_W { TX_BCK_IN_INV_W::new(self, 24) } diff --git a/esp32/src/io_mux/gpio0.rs b/esp32/src/io_mux/gpio0.rs index 656fe80bb4..234f690253 100644 --- a/esp32/src/io_mux/gpio0.rs +++ b/esp32/src/io_mux/gpio0.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: enable output; 0: disable output."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad during sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - Select the drive strength of the pad during sleep mode. A higher value corresponds with a higher strength."] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled, 0: internal pull-down disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull-down circuitry, therefore, their FUN_WPD is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull- down circuitry, therefore, their FUN_WPU is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. A higher value corresponds with a higher strength. For GPIO34-39, FUN_DRV is always 0. For detailed drive strength, please see note 8 in Table ”Notes on ESP32 Pin Lists”, in ESP32 Datasheet."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select the IO_MUX function for this signal. 0 selects Function 0, 1 selects Function 1, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } diff --git a/esp32/src/io_mux/gpio1.rs b/esp32/src/io_mux/gpio1.rs index a1d96fcfc2..23978b03ae 100644 --- a/esp32/src/io_mux/gpio1.rs +++ b/esp32/src/io_mux/gpio1.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: enable output; 0: disable output."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad during sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - Select the drive strength of the pad during sleep mode. A higher value corresponds with a higher strength."] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled, 0: internal pull-down disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull-down circuitry, therefore, their FUN_WPD is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull- down circuitry, therefore, their FUN_WPU is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. A higher value corresponds with a higher strength. For GPIO34-39, FUN_DRV is always 0. For detailed drive strength, please see note 8 in Table ”Notes on ESP32 Pin Lists”, in ESP32 Datasheet."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select the IO_MUX function for this signal. 0 selects Function 0, 1 selects Function 1, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } diff --git a/esp32/src/io_mux/gpio10.rs b/esp32/src/io_mux/gpio10.rs index 514fe829f8..1d5bf219ae 100644 --- a/esp32/src/io_mux/gpio10.rs +++ b/esp32/src/io_mux/gpio10.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: enable output; 0: disable output."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad during sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - Select the drive strength of the pad during sleep mode. A higher value corresponds with a higher strength."] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled, 0: internal pull-down disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull-down circuitry, therefore, their FUN_WPD is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull- down circuitry, therefore, their FUN_WPU is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. A higher value corresponds with a higher strength. For GPIO34-39, FUN_DRV is always 0. For detailed drive strength, please see note 8 in Table ”Notes on ESP32 Pin Lists”, in ESP32 Datasheet."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select the IO_MUX function for this signal. 0 selects Function 0, 1 selects Function 1, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } diff --git a/esp32/src/io_mux/gpio11.rs b/esp32/src/io_mux/gpio11.rs index f0d667d4b5..1617677698 100644 --- a/esp32/src/io_mux/gpio11.rs +++ b/esp32/src/io_mux/gpio11.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: enable output; 0: disable output."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad during sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - Select the drive strength of the pad during sleep mode. A higher value corresponds with a higher strength."] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled, 0: internal pull-down disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull-down circuitry, therefore, their FUN_WPD is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull- down circuitry, therefore, their FUN_WPU is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. A higher value corresponds with a higher strength. For GPIO34-39, FUN_DRV is always 0. For detailed drive strength, please see note 8 in Table ”Notes on ESP32 Pin Lists”, in ESP32 Datasheet."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select the IO_MUX function for this signal. 0 selects Function 0, 1 selects Function 1, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } diff --git a/esp32/src/io_mux/gpio12.rs b/esp32/src/io_mux/gpio12.rs index 6d05bdcea6..616af3a9c2 100644 --- a/esp32/src/io_mux/gpio12.rs +++ b/esp32/src/io_mux/gpio12.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: enable output; 0: disable output."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad during sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - Select the drive strength of the pad during sleep mode. A higher value corresponds with a higher strength."] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled, 0: internal pull-down disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull-down circuitry, therefore, their FUN_WPD is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull- down circuitry, therefore, their FUN_WPU is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. A higher value corresponds with a higher strength. For GPIO34-39, FUN_DRV is always 0. For detailed drive strength, please see note 8 in Table ”Notes on ESP32 Pin Lists”, in ESP32 Datasheet."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select the IO_MUX function for this signal. 0 selects Function 0, 1 selects Function 1, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } diff --git a/esp32/src/io_mux/gpio13.rs b/esp32/src/io_mux/gpio13.rs index 47975949e3..484108c420 100644 --- a/esp32/src/io_mux/gpio13.rs +++ b/esp32/src/io_mux/gpio13.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: enable output; 0: disable output."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad during sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - Select the drive strength of the pad during sleep mode. A higher value corresponds with a higher strength."] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled, 0: internal pull-down disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull-down circuitry, therefore, their FUN_WPD is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull- down circuitry, therefore, their FUN_WPU is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. A higher value corresponds with a higher strength. For GPIO34-39, FUN_DRV is always 0. For detailed drive strength, please see note 8 in Table ”Notes on ESP32 Pin Lists”, in ESP32 Datasheet."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select the IO_MUX function for this signal. 0 selects Function 0, 1 selects Function 1, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } diff --git a/esp32/src/io_mux/gpio14.rs b/esp32/src/io_mux/gpio14.rs index 7506cf5687..e679eb166a 100644 --- a/esp32/src/io_mux/gpio14.rs +++ b/esp32/src/io_mux/gpio14.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: enable output; 0: disable output."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad during sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - Select the drive strength of the pad during sleep mode. A higher value corresponds with a higher strength."] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled, 0: internal pull-down disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull-down circuitry, therefore, their FUN_WPD is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull- down circuitry, therefore, their FUN_WPU is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. A higher value corresponds with a higher strength. For GPIO34-39, FUN_DRV is always 0. For detailed drive strength, please see note 8 in Table ”Notes on ESP32 Pin Lists”, in ESP32 Datasheet."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select the IO_MUX function for this signal. 0 selects Function 0, 1 selects Function 1, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } diff --git a/esp32/src/io_mux/gpio15.rs b/esp32/src/io_mux/gpio15.rs index 52af870bf9..c874a3502f 100644 --- a/esp32/src/io_mux/gpio15.rs +++ b/esp32/src/io_mux/gpio15.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: enable output; 0: disable output."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad during sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - Select the drive strength of the pad during sleep mode. A higher value corresponds with a higher strength."] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled, 0: internal pull-down disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull-down circuitry, therefore, their FUN_WPD is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull- down circuitry, therefore, their FUN_WPU is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. A higher value corresponds with a higher strength. For GPIO34-39, FUN_DRV is always 0. For detailed drive strength, please see note 8 in Table ”Notes on ESP32 Pin Lists”, in ESP32 Datasheet."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select the IO_MUX function for this signal. 0 selects Function 0, 1 selects Function 1, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } diff --git a/esp32/src/io_mux/gpio16.rs b/esp32/src/io_mux/gpio16.rs index a9936252c1..f8f85ff9c0 100644 --- a/esp32/src/io_mux/gpio16.rs +++ b/esp32/src/io_mux/gpio16.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: enable output; 0: disable output."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad during sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - Select the drive strength of the pad during sleep mode. A higher value corresponds with a higher strength."] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled, 0: internal pull-down disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull-down circuitry, therefore, their FUN_WPD is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull- down circuitry, therefore, their FUN_WPU is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. A higher value corresponds with a higher strength. For GPIO34-39, FUN_DRV is always 0. For detailed drive strength, please see note 8 in Table ”Notes on ESP32 Pin Lists”, in ESP32 Datasheet."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select the IO_MUX function for this signal. 0 selects Function 0, 1 selects Function 1, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } diff --git a/esp32/src/io_mux/gpio17.rs b/esp32/src/io_mux/gpio17.rs index 5b3b281b2f..c957cbc12f 100644 --- a/esp32/src/io_mux/gpio17.rs +++ b/esp32/src/io_mux/gpio17.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: enable output; 0: disable output."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad during sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - Select the drive strength of the pad during sleep mode. A higher value corresponds with a higher strength."] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled, 0: internal pull-down disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull-down circuitry, therefore, their FUN_WPD is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull- down circuitry, therefore, their FUN_WPU is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. A higher value corresponds with a higher strength. For GPIO34-39, FUN_DRV is always 0. For detailed drive strength, please see note 8 in Table ”Notes on ESP32 Pin Lists”, in ESP32 Datasheet."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select the IO_MUX function for this signal. 0 selects Function 0, 1 selects Function 1, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } diff --git a/esp32/src/io_mux/gpio18.rs b/esp32/src/io_mux/gpio18.rs index fa5ddca90c..78f2eaeaa7 100644 --- a/esp32/src/io_mux/gpio18.rs +++ b/esp32/src/io_mux/gpio18.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: enable output; 0: disable output."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad during sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - Select the drive strength of the pad during sleep mode. A higher value corresponds with a higher strength."] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled, 0: internal pull-down disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull-down circuitry, therefore, their FUN_WPD is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull- down circuitry, therefore, their FUN_WPU is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. A higher value corresponds with a higher strength. For GPIO34-39, FUN_DRV is always 0. For detailed drive strength, please see note 8 in Table ”Notes on ESP32 Pin Lists”, in ESP32 Datasheet."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select the IO_MUX function for this signal. 0 selects Function 0, 1 selects Function 1, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } diff --git a/esp32/src/io_mux/gpio19.rs b/esp32/src/io_mux/gpio19.rs index c848632c75..abb15c9931 100644 --- a/esp32/src/io_mux/gpio19.rs +++ b/esp32/src/io_mux/gpio19.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: enable output; 0: disable output."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad during sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - Select the drive strength of the pad during sleep mode. A higher value corresponds with a higher strength."] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled, 0: internal pull-down disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull-down circuitry, therefore, their FUN_WPD is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull- down circuitry, therefore, their FUN_WPU is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. A higher value corresponds with a higher strength. For GPIO34-39, FUN_DRV is always 0. For detailed drive strength, please see note 8 in Table ”Notes on ESP32 Pin Lists”, in ESP32 Datasheet."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select the IO_MUX function for this signal. 0 selects Function 0, 1 selects Function 1, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } diff --git a/esp32/src/io_mux/gpio2.rs b/esp32/src/io_mux/gpio2.rs index 61f6a4ea29..ef58481e88 100644 --- a/esp32/src/io_mux/gpio2.rs +++ b/esp32/src/io_mux/gpio2.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: enable output; 0: disable output."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad during sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - Select the drive strength of the pad during sleep mode. A higher value corresponds with a higher strength."] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled, 0: internal pull-down disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull-down circuitry, therefore, their FUN_WPD is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull- down circuitry, therefore, their FUN_WPU is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. A higher value corresponds with a higher strength. For GPIO34-39, FUN_DRV is always 0. For detailed drive strength, please see note 8 in Table ”Notes on ESP32 Pin Lists”, in ESP32 Datasheet."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select the IO_MUX function for this signal. 0 selects Function 0, 1 selects Function 1, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } diff --git a/esp32/src/io_mux/gpio20.rs b/esp32/src/io_mux/gpio20.rs index 86daf576ea..ce1c8d2773 100644 --- a/esp32/src/io_mux/gpio20.rs +++ b/esp32/src/io_mux/gpio20.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: enable output; 0: disable output."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad during sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - Select the drive strength of the pad during sleep mode. A higher value corresponds with a higher strength."] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled, 0: internal pull-down disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull-down circuitry, therefore, their FUN_WPD is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull- down circuitry, therefore, their FUN_WPU is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. A higher value corresponds with a higher strength. For GPIO34-39, FUN_DRV is always 0. For detailed drive strength, please see note 8 in Table ”Notes on ESP32 Pin Lists”, in ESP32 Datasheet."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select the IO_MUX function for this signal. 0 selects Function 0, 1 selects Function 1, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } diff --git a/esp32/src/io_mux/gpio21.rs b/esp32/src/io_mux/gpio21.rs index 1d3967ab4f..51f89a5154 100644 --- a/esp32/src/io_mux/gpio21.rs +++ b/esp32/src/io_mux/gpio21.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: enable output; 0: disable output."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad during sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - Select the drive strength of the pad during sleep mode. A higher value corresponds with a higher strength."] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled, 0: internal pull-down disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull-down circuitry, therefore, their FUN_WPD is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull- down circuitry, therefore, their FUN_WPU is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. A higher value corresponds with a higher strength. For GPIO34-39, FUN_DRV is always 0. For detailed drive strength, please see note 8 in Table ”Notes on ESP32 Pin Lists”, in ESP32 Datasheet."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select the IO_MUX function for this signal. 0 selects Function 0, 1 selects Function 1, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } diff --git a/esp32/src/io_mux/gpio22.rs b/esp32/src/io_mux/gpio22.rs index 3107d103db..d90c56c4d3 100644 --- a/esp32/src/io_mux/gpio22.rs +++ b/esp32/src/io_mux/gpio22.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: enable output; 0: disable output."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad during sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - Select the drive strength of the pad during sleep mode. A higher value corresponds with a higher strength."] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled, 0: internal pull-down disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull-down circuitry, therefore, their FUN_WPD is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull- down circuitry, therefore, their FUN_WPU is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. A higher value corresponds with a higher strength. For GPIO34-39, FUN_DRV is always 0. For detailed drive strength, please see note 8 in Table ”Notes on ESP32 Pin Lists”, in ESP32 Datasheet."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select the IO_MUX function for this signal. 0 selects Function 0, 1 selects Function 1, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } diff --git a/esp32/src/io_mux/gpio23.rs b/esp32/src/io_mux/gpio23.rs index db7501134f..0f85410073 100644 --- a/esp32/src/io_mux/gpio23.rs +++ b/esp32/src/io_mux/gpio23.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: enable output; 0: disable output."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad during sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - Select the drive strength of the pad during sleep mode. A higher value corresponds with a higher strength."] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled, 0: internal pull-down disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull-down circuitry, therefore, their FUN_WPD is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull- down circuitry, therefore, their FUN_WPU is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. A higher value corresponds with a higher strength. For GPIO34-39, FUN_DRV is always 0. For detailed drive strength, please see note 8 in Table ”Notes on ESP32 Pin Lists”, in ESP32 Datasheet."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select the IO_MUX function for this signal. 0 selects Function 0, 1 selects Function 1, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } diff --git a/esp32/src/io_mux/gpio24.rs b/esp32/src/io_mux/gpio24.rs index e2a9c505aa..10326660a7 100644 --- a/esp32/src/io_mux/gpio24.rs +++ b/esp32/src/io_mux/gpio24.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: enable output; 0: disable output."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad during sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - Select the drive strength of the pad during sleep mode. A higher value corresponds with a higher strength."] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled, 0: internal pull-down disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull-down circuitry, therefore, their FUN_WPD is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull- down circuitry, therefore, their FUN_WPU is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. A higher value corresponds with a higher strength. For GPIO34-39, FUN_DRV is always 0. For detailed drive strength, please see note 8 in Table ”Notes on ESP32 Pin Lists”, in ESP32 Datasheet."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select the IO_MUX function for this signal. 0 selects Function 0, 1 selects Function 1, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } diff --git a/esp32/src/io_mux/gpio25.rs b/esp32/src/io_mux/gpio25.rs index 58634f4dc9..bee22c118a 100644 --- a/esp32/src/io_mux/gpio25.rs +++ b/esp32/src/io_mux/gpio25.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: enable output; 0: disable output."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad during sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - Select the drive strength of the pad during sleep mode. A higher value corresponds with a higher strength."] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled, 0: internal pull-down disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull-down circuitry, therefore, their FUN_WPD is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull- down circuitry, therefore, their FUN_WPU is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. A higher value corresponds with a higher strength. For GPIO34-39, FUN_DRV is always 0. For detailed drive strength, please see note 8 in Table ”Notes on ESP32 Pin Lists”, in ESP32 Datasheet."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select the IO_MUX function for this signal. 0 selects Function 0, 1 selects Function 1, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } diff --git a/esp32/src/io_mux/gpio26.rs b/esp32/src/io_mux/gpio26.rs index 95ecbaa75d..69977e86fe 100644 --- a/esp32/src/io_mux/gpio26.rs +++ b/esp32/src/io_mux/gpio26.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: enable output; 0: disable output."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad during sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - Select the drive strength of the pad during sleep mode. A higher value corresponds with a higher strength."] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled, 0: internal pull-down disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull-down circuitry, therefore, their FUN_WPD is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull- down circuitry, therefore, their FUN_WPU is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. A higher value corresponds with a higher strength. For GPIO34-39, FUN_DRV is always 0. For detailed drive strength, please see note 8 in Table ”Notes on ESP32 Pin Lists”, in ESP32 Datasheet."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select the IO_MUX function for this signal. 0 selects Function 0, 1 selects Function 1, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } diff --git a/esp32/src/io_mux/gpio27.rs b/esp32/src/io_mux/gpio27.rs index d6352f0eff..400f433619 100644 --- a/esp32/src/io_mux/gpio27.rs +++ b/esp32/src/io_mux/gpio27.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: enable output; 0: disable output."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad during sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - Select the drive strength of the pad during sleep mode. A higher value corresponds with a higher strength."] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled, 0: internal pull-down disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull-down circuitry, therefore, their FUN_WPD is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull- down circuitry, therefore, their FUN_WPU is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. A higher value corresponds with a higher strength. For GPIO34-39, FUN_DRV is always 0. For detailed drive strength, please see note 8 in Table ”Notes on ESP32 Pin Lists”, in ESP32 Datasheet."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select the IO_MUX function for this signal. 0 selects Function 0, 1 selects Function 1, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } diff --git a/esp32/src/io_mux/gpio3.rs b/esp32/src/io_mux/gpio3.rs index 3ff2e7572f..0dcb313b0d 100644 --- a/esp32/src/io_mux/gpio3.rs +++ b/esp32/src/io_mux/gpio3.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: enable output; 0: disable output."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad during sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - Select the drive strength of the pad during sleep mode. A higher value corresponds with a higher strength."] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled, 0: internal pull-down disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull-down circuitry, therefore, their FUN_WPD is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull- down circuitry, therefore, their FUN_WPU is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. A higher value corresponds with a higher strength. For GPIO34-39, FUN_DRV is always 0. For detailed drive strength, please see note 8 in Table ”Notes on ESP32 Pin Lists”, in ESP32 Datasheet."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select the IO_MUX function for this signal. 0 selects Function 0, 1 selects Function 1, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } diff --git a/esp32/src/io_mux/gpio32.rs b/esp32/src/io_mux/gpio32.rs index b6b1f7f7e7..8323e81344 100644 --- a/esp32/src/io_mux/gpio32.rs +++ b/esp32/src/io_mux/gpio32.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: enable output; 0: disable output."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad during sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - Select the drive strength of the pad during sleep mode. A higher value corresponds with a higher strength."] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled, 0: internal pull-down disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull-down circuitry, therefore, their FUN_WPD is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull- down circuitry, therefore, their FUN_WPU is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. A higher value corresponds with a higher strength. For GPIO34-39, FUN_DRV is always 0. For detailed drive strength, please see note 8 in Table ”Notes on ESP32 Pin Lists”, in ESP32 Datasheet."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select the IO_MUX function for this signal. 0 selects Function 0, 1 selects Function 1, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } diff --git a/esp32/src/io_mux/gpio33.rs b/esp32/src/io_mux/gpio33.rs index 298db8b757..5ff9a3266f 100644 --- a/esp32/src/io_mux/gpio33.rs +++ b/esp32/src/io_mux/gpio33.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: enable output; 0: disable output."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad during sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - Select the drive strength of the pad during sleep mode. A higher value corresponds with a higher strength."] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled, 0: internal pull-down disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull-down circuitry, therefore, their FUN_WPD is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull- down circuitry, therefore, their FUN_WPU is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. A higher value corresponds with a higher strength. For GPIO34-39, FUN_DRV is always 0. For detailed drive strength, please see note 8 in Table ”Notes on ESP32 Pin Lists”, in ESP32 Datasheet."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select the IO_MUX function for this signal. 0 selects Function 0, 1 selects Function 1, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } diff --git a/esp32/src/io_mux/gpio34.rs b/esp32/src/io_mux/gpio34.rs index 3ecb626802..582211c02a 100644 --- a/esp32/src/io_mux/gpio34.rs +++ b/esp32/src/io_mux/gpio34.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: enable output; 0: disable output."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad during sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - Select the drive strength of the pad during sleep mode. A higher value corresponds with a higher strength."] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled, 0: internal pull-down disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull-down circuitry, therefore, their FUN_WPD is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull- down circuitry, therefore, their FUN_WPU is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. A higher value corresponds with a higher strength. For GPIO34-39, FUN_DRV is always 0. For detailed drive strength, please see note 8 in Table ”Notes on ESP32 Pin Lists”, in ESP32 Datasheet."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select the IO_MUX function for this signal. 0 selects Function 0, 1 selects Function 1, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } diff --git a/esp32/src/io_mux/gpio35.rs b/esp32/src/io_mux/gpio35.rs index 7cf5256673..cb37584fdf 100644 --- a/esp32/src/io_mux/gpio35.rs +++ b/esp32/src/io_mux/gpio35.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: enable output; 0: disable output."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad during sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - Select the drive strength of the pad during sleep mode. A higher value corresponds with a higher strength."] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled, 0: internal pull-down disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull-down circuitry, therefore, their FUN_WPD is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull- down circuitry, therefore, their FUN_WPU is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. A higher value corresponds with a higher strength. For GPIO34-39, FUN_DRV is always 0. For detailed drive strength, please see note 8 in Table ”Notes on ESP32 Pin Lists”, in ESP32 Datasheet."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select the IO_MUX function for this signal. 0 selects Function 0, 1 selects Function 1, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } diff --git a/esp32/src/io_mux/gpio36.rs b/esp32/src/io_mux/gpio36.rs index eb757a138d..e4d532df97 100644 --- a/esp32/src/io_mux/gpio36.rs +++ b/esp32/src/io_mux/gpio36.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: enable output; 0: disable output."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad during sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - Select the drive strength of the pad during sleep mode. A higher value corresponds with a higher strength."] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled, 0: internal pull-down disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull-down circuitry, therefore, their FUN_WPD is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull- down circuitry, therefore, their FUN_WPU is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. A higher value corresponds with a higher strength. For GPIO34-39, FUN_DRV is always 0. For detailed drive strength, please see note 8 in Table ”Notes on ESP32 Pin Lists”, in ESP32 Datasheet."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select the IO_MUX function for this signal. 0 selects Function 0, 1 selects Function 1, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } diff --git a/esp32/src/io_mux/gpio37.rs b/esp32/src/io_mux/gpio37.rs index 5edb65370c..88efb2941c 100644 --- a/esp32/src/io_mux/gpio37.rs +++ b/esp32/src/io_mux/gpio37.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: enable output; 0: disable output."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad during sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - Select the drive strength of the pad during sleep mode. A higher value corresponds with a higher strength."] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled, 0: internal pull-down disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull-down circuitry, therefore, their FUN_WPD is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull- down circuitry, therefore, their FUN_WPU is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. A higher value corresponds with a higher strength. For GPIO34-39, FUN_DRV is always 0. For detailed drive strength, please see note 8 in Table ”Notes on ESP32 Pin Lists”, in ESP32 Datasheet."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select the IO_MUX function for this signal. 0 selects Function 0, 1 selects Function 1, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } diff --git a/esp32/src/io_mux/gpio38.rs b/esp32/src/io_mux/gpio38.rs index bcb397936e..6aa7d272c4 100644 --- a/esp32/src/io_mux/gpio38.rs +++ b/esp32/src/io_mux/gpio38.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: enable output; 0: disable output."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad during sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - Select the drive strength of the pad during sleep mode. A higher value corresponds with a higher strength."] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled, 0: internal pull-down disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull-down circuitry, therefore, their FUN_WPD is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull- down circuitry, therefore, their FUN_WPU is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. A higher value corresponds with a higher strength. For GPIO34-39, FUN_DRV is always 0. For detailed drive strength, please see note 8 in Table ”Notes on ESP32 Pin Lists”, in ESP32 Datasheet."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select the IO_MUX function for this signal. 0 selects Function 0, 1 selects Function 1, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } diff --git a/esp32/src/io_mux/gpio39.rs b/esp32/src/io_mux/gpio39.rs index dc2f04dc42..1655d666a5 100644 --- a/esp32/src/io_mux/gpio39.rs +++ b/esp32/src/io_mux/gpio39.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: enable output; 0: disable output."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad during sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - Select the drive strength of the pad during sleep mode. A higher value corresponds with a higher strength."] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled, 0: internal pull-down disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull-down circuitry, therefore, their FUN_WPD is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull- down circuitry, therefore, their FUN_WPU is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. A higher value corresponds with a higher strength. For GPIO34-39, FUN_DRV is always 0. For detailed drive strength, please see note 8 in Table ”Notes on ESP32 Pin Lists”, in ESP32 Datasheet."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select the IO_MUX function for this signal. 0 selects Function 0, 1 selects Function 1, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } diff --git a/esp32/src/io_mux/gpio4.rs b/esp32/src/io_mux/gpio4.rs index f3d03b3763..52abb233a5 100644 --- a/esp32/src/io_mux/gpio4.rs +++ b/esp32/src/io_mux/gpio4.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: enable output; 0: disable output."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad during sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - Select the drive strength of the pad during sleep mode. A higher value corresponds with a higher strength."] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled, 0: internal pull-down disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull-down circuitry, therefore, their FUN_WPD is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull- down circuitry, therefore, their FUN_WPU is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. A higher value corresponds with a higher strength. For GPIO34-39, FUN_DRV is always 0. For detailed drive strength, please see note 8 in Table ”Notes on ESP32 Pin Lists”, in ESP32 Datasheet."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select the IO_MUX function for this signal. 0 selects Function 0, 1 selects Function 1, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } diff --git a/esp32/src/io_mux/gpio5.rs b/esp32/src/io_mux/gpio5.rs index f666466478..5686351057 100644 --- a/esp32/src/io_mux/gpio5.rs +++ b/esp32/src/io_mux/gpio5.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: enable output; 0: disable output."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad during sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - Select the drive strength of the pad during sleep mode. A higher value corresponds with a higher strength."] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled, 0: internal pull-down disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull-down circuitry, therefore, their FUN_WPD is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull- down circuitry, therefore, their FUN_WPU is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. A higher value corresponds with a higher strength. For GPIO34-39, FUN_DRV is always 0. For detailed drive strength, please see note 8 in Table ”Notes on ESP32 Pin Lists”, in ESP32 Datasheet."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select the IO_MUX function for this signal. 0 selects Function 0, 1 selects Function 1, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } diff --git a/esp32/src/io_mux/gpio6.rs b/esp32/src/io_mux/gpio6.rs index 9a9df65e9b..4d5928d964 100644 --- a/esp32/src/io_mux/gpio6.rs +++ b/esp32/src/io_mux/gpio6.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: enable output; 0: disable output."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad during sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - Select the drive strength of the pad during sleep mode. A higher value corresponds with a higher strength."] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled, 0: internal pull-down disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull-down circuitry, therefore, their FUN_WPD is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull- down circuitry, therefore, their FUN_WPU is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. A higher value corresponds with a higher strength. For GPIO34-39, FUN_DRV is always 0. For detailed drive strength, please see note 8 in Table ”Notes on ESP32 Pin Lists”, in ESP32 Datasheet."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select the IO_MUX function for this signal. 0 selects Function 0, 1 selects Function 1, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } diff --git a/esp32/src/io_mux/gpio7.rs b/esp32/src/io_mux/gpio7.rs index 95030389b1..69d0fffb07 100644 --- a/esp32/src/io_mux/gpio7.rs +++ b/esp32/src/io_mux/gpio7.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: enable output; 0: disable output."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad during sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - Select the drive strength of the pad during sleep mode. A higher value corresponds with a higher strength."] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled, 0: internal pull-down disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull-down circuitry, therefore, their FUN_WPD is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull- down circuitry, therefore, their FUN_WPU is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. A higher value corresponds with a higher strength. For GPIO34-39, FUN_DRV is always 0. For detailed drive strength, please see note 8 in Table ”Notes on ESP32 Pin Lists”, in ESP32 Datasheet."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select the IO_MUX function for this signal. 0 selects Function 0, 1 selects Function 1, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } diff --git a/esp32/src/io_mux/gpio8.rs b/esp32/src/io_mux/gpio8.rs index a2504e6a57..e3b5c5c3d8 100644 --- a/esp32/src/io_mux/gpio8.rs +++ b/esp32/src/io_mux/gpio8.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: enable output; 0: disable output."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad during sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - Select the drive strength of the pad during sleep mode. A higher value corresponds with a higher strength."] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled, 0: internal pull-down disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull-down circuitry, therefore, their FUN_WPD is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull- down circuitry, therefore, their FUN_WPU is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. A higher value corresponds with a higher strength. For GPIO34-39, FUN_DRV is always 0. For detailed drive strength, please see note 8 in Table ”Notes on ESP32 Pin Lists”, in ESP32 Datasheet."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select the IO_MUX function for this signal. 0 selects Function 0, 1 selects Function 1, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } diff --git a/esp32/src/io_mux/gpio9.rs b/esp32/src/io_mux/gpio9.rs index 26d8b5ae7f..aca7a99340 100644 --- a/esp32/src/io_mux/gpio9.rs +++ b/esp32/src/io_mux/gpio9.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: enable output; 0: disable output."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad during sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - Select the drive strength of the pad during sleep mode. A higher value corresponds with a higher strength."] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled, 0: internal pull-down disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull-down circuitry, therefore, their FUN_WPD is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled. GPIO pins 34-39 are input-only. These pins do not feature an output driver or internal pull- up/pull- down circuitry, therefore, their FUN_WPU is always 0."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. A higher value corresponds with a higher strength. For GPIO34-39, FUN_DRV is always 0. For detailed drive strength, please see note 8 in Table ”Notes on ESP32 Pin Lists”, in ESP32 Datasheet."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select the IO_MUX function for this signal. 0 selects Function 0, 1 selects Function 1, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } diff --git a/esp32/src/io_mux/pin_ctrl.rs b/esp32/src/io_mux/pin_ctrl.rs index 9c8edeec1a..3aad67ac15 100644 --- a/esp32/src/io_mux/pin_ctrl.rs +++ b/esp32/src/io_mux/pin_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - If you want to output clock for I2S0 to: CLK_OUT1, then set PIN_CTRL\\[3:0\\] = 0x0; CLK_OUT2, then set PIN_CTRL\\[3:0\\] = 0x0 and PIN_CTRL\\[7:4\\] = 0x0; CLK_OUT3, then set PIN_CTRL\\[3:0\\] = 0x0 and PIN_CTRL\\[11:8\\] = 0x0. If you want to output clock for I2S1 to: CLK_OUT1, then set PIN_CTRL\\[3:0\\] = 0xF; CLK_OUT2, then set PIN_CTRL\\[3:0\\] = 0xF and PIN_CTRL\\[7:4\\] = 0x0; CLK_OUT3, then set PIN_CTRL\\[3:0\\] = 0xF and PIN_CTRL\\[11:8\\] = 0x0."] #[inline(always)] - #[must_use] pub fn clk1(&mut self) -> CLK1_W { CLK1_W::new(self, 0) } #[doc = "Bits 4:7 - If you want to output clock for I2S0 to: CLK_OUT1, then set PIN_CTRL\\[3:0\\] = 0x0; CLK_OUT2, then set PIN_CTRL\\[3:0\\] = 0x0 and PIN_CTRL\\[7:4\\] = 0x0; CLK_OUT3, then set PIN_CTRL\\[3:0\\] = 0x0 and PIN_CTRL\\[11:8\\] = 0x0. If you want to output clock for I2S1 to: CLK_OUT1, then set PIN_CTRL\\[3:0\\] = 0xF; CLK_OUT2, then set PIN_CTRL\\[3:0\\] = 0xF and PIN_CTRL\\[7:4\\] = 0x0; CLK_OUT3, then set PIN_CTRL\\[3:0\\] = 0xF and PIN_CTRL\\[11:8\\] = 0x0."] #[inline(always)] - #[must_use] pub fn clk2(&mut self) -> CLK2_W { CLK2_W::new(self, 4) } #[doc = "Bits 8:11 - If you want to output clock for I2S0 to: CLK_OUT1, then set PIN_CTRL\\[3:0\\] = 0x0; CLK_OUT2, then set PIN_CTRL\\[3:0\\] = 0x0 and PIN_CTRL\\[7:4\\] = 0x0; CLK_OUT3, then set PIN_CTRL\\[3:0\\] = 0x0 and PIN_CTRL\\[11:8\\] = 0x0. If you want to output clock for I2S1 to: CLK_OUT1, then set PIN_CTRL\\[3:0\\] = 0xF; CLK_OUT2, then set PIN_CTRL\\[3:0\\] = 0xF and PIN_CTRL\\[7:4\\] = 0x0; CLK_OUT3, then set PIN_CTRL\\[3:0\\] = 0xF and PIN_CTRL\\[11:8\\] = 0x0."] #[inline(always)] - #[must_use] pub fn clk3(&mut self) -> CLK3_W { CLK3_W::new(self, 8) } diff --git a/esp32/src/ledc/conf.rs b/esp32/src/ledc/conf.rs index 93f1803691..d7f8bd5925 100644 --- a/esp32/src/ledc/conf.rs +++ b/esp32/src/ledc/conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to set the frequency of slow_clk. 1'b1:80mhz 1'b0:8mhz"] #[inline(always)] - #[must_use] pub fn apb_clk_sel(&mut self) -> APB_CLK_SEL_W { APB_CLK_SEL_W::new(self, 0) } diff --git a/esp32/src/ledc/date.rs b/esp32/src/ledc/date.rs index 0a14ef90f3..bc85de3ddd 100644 --- a/esp32/src/ledc/date.rs +++ b/esp32/src/ledc/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This register represents the version ."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32/src/ledc/hsch/conf0.rs b/esp32/src/ledc/hsch/conf0.rs index e8d7303f6e..12bbb5f779 100644 --- a/esp32/src/ledc/hsch/conf0.rs +++ b/esp32/src/ledc/hsch/conf0.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - There are four high speed timers the two bits are used to select one of them for high speed channel0. 2'b00: seletc hstimer0. 2'b01: select hstimer1. 2'b10: select hstimer2. 2'b11: select hstimer3."] #[inline(always)] - #[must_use] pub fn timer_sel(&mut self) -> TIMER_SEL_W { TIMER_SEL_W::new(self, 0) } #[doc = "Bit 2 - This is the output enable control bit for high speed channel0"] #[inline(always)] - #[must_use] pub fn sig_out_en(&mut self) -> SIG_OUT_EN_W { SIG_OUT_EN_W::new(self, 2) } #[doc = "Bit 3 - This bit is used to control the output value when high speed channel0 is off."] #[inline(always)] - #[must_use] pub fn idle_lv(&mut self) -> IDLE_LV_W { IDLE_LV_W::new(self, 3) } diff --git a/esp32/src/ledc/hsch/conf1.rs b/esp32/src/ledc/hsch/conf1.rs index 5d3b5cec3c..0b01453385 100644 --- a/esp32/src/ledc/hsch/conf1.rs +++ b/esp32/src/ledc/hsch/conf1.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - This register controls the increase or decrease step scale for high speed channel0."] #[inline(always)] - #[must_use] pub fn duty_scale(&mut self) -> DUTY_SCALE_W { DUTY_SCALE_W::new(self, 0) } #[doc = "Bits 10:19 - This register is used to increase or decrease the duty every reg_duty_cycle_hsch0 cycles for high speed channel0."] #[inline(always)] - #[must_use] pub fn duty_cycle(&mut self) -> DUTY_CYCLE_W { DUTY_CYCLE_W::new(self, 10) } #[doc = "Bits 20:29 - This register is used to control the num of increased or decreased times for high speed channel0."] #[inline(always)] - #[must_use] pub fn duty_num(&mut self) -> DUTY_NUM_W { DUTY_NUM_W::new(self, 20) } #[doc = "Bit 30 - This register is used to increase the duty of output signal or decrease the duty of output signal for high speed channel0."] #[inline(always)] - #[must_use] pub fn duty_inc(&mut self) -> DUTY_INC_W { DUTY_INC_W::new(self, 30) } #[doc = "Bit 31 - When reg_duty_num_hsch0 reg_duty_cycle_hsch0 and reg_duty_scale_hsch0 has been configured. these register won't take effect until set reg_duty_start_hsch0. this bit is automatically cleared by hardware."] #[inline(always)] - #[must_use] pub fn duty_start(&mut self) -> DUTY_START_W { DUTY_START_W::new(self, 31) } diff --git a/esp32/src/ledc/hsch/duty.rs b/esp32/src/ledc/hsch/duty.rs index 60060af17e..941e6464e6 100644 --- a/esp32/src/ledc/hsch/duty.rs +++ b/esp32/src/ledc/hsch/duty.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:24 - This register represents the current duty of the output signal for high speed channel0."] #[inline(always)] - #[must_use] pub fn duty(&mut self) -> DUTY_W { DUTY_W::new(self, 0) } diff --git a/esp32/src/ledc/hsch/hpoint.rs b/esp32/src/ledc/hsch/hpoint.rs index d4478416df..e538831be8 100644 --- a/esp32/src/ledc/hsch/hpoint.rs +++ b/esp32/src/ledc/hsch/hpoint.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - The output value changes to high when htimerx(x=\\[0 3\\]) selected by high speed channel0 has reached reg_hpoint_hsch0\\[19:0\\]"] #[inline(always)] - #[must_use] pub fn hpoint(&mut self) -> HPOINT_W { HPOINT_W::new(self, 0) } diff --git a/esp32/src/ledc/hstimer/conf.rs b/esp32/src/ledc/hstimer/conf.rs index eeb57be349..4928914d50 100644 --- a/esp32/src/ledc/hstimer/conf.rs +++ b/esp32/src/ledc/hstimer/conf.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register controls the range of the counter in high speed timer0. the counter range is \\[0 2**reg_hstimer0_lim\\] the max bit width for counter is 20."] #[inline(always)] - #[must_use] pub fn duty_res(&mut self) -> DUTY_RES_W { DUTY_RES_W::new(self, 0) } #[doc = "Bits 5:22 - This register is used to configure parameter for divider in high speed timer0 the least significant eight bits represent the decimal part."] #[inline(always)] - #[must_use] pub fn div_num(&mut self) -> DIV_NUM_W { DIV_NUM_W::new(self, 5) } #[doc = "Bit 23 - This bit is used to pause the counter in high speed timer0"] #[inline(always)] - #[must_use] pub fn pause(&mut self) -> PAUSE_W { PAUSE_W::new(self, 23) } #[doc = "Bit 24 - This bit is used to reset high speed timer0 the counter will be 0 after reset."] #[inline(always)] - #[must_use] pub fn rst(&mut self) -> RST_W { RST_W::new(self, 24) } #[doc = "Bit 25 - This bit is used to choose apb_clk or ref_tick for high speed timer0. 1'b1:apb_clk 0:ref_tick"] #[inline(always)] - #[must_use] pub fn tick_sel(&mut self) -> TICK_SEL_W { TICK_SEL_W::new(self, 25) } diff --git a/esp32/src/ledc/int_clr.rs b/esp32/src/ledc/int_clr.rs index 3a76abe0ff..5c5c2accc9 100644 --- a/esp32/src/ledc/int_clr.rs +++ b/esp32/src/ledc/int_clr.rs @@ -19,7 +19,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `HSTIMER0_OVF` field.
"] #[inline(always)] - #[must_use] pub fn hstimer_ovf(&mut self, n: u8) -> HSTIMER_OVF_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -27,25 +26,21 @@ impl W { } #[doc = "Bit 0 - Set this bit to clear high speed channel0 counter overflow interrupt."] #[inline(always)] - #[must_use] pub fn hstimer0_ovf(&mut self) -> HSTIMER_OVF_W { HSTIMER_OVF_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear high speed channel1 counter overflow interrupt."] #[inline(always)] - #[must_use] pub fn hstimer1_ovf(&mut self) -> HSTIMER_OVF_W { HSTIMER_OVF_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear high speed channel2 counter overflow interrupt."] #[inline(always)] - #[must_use] pub fn hstimer2_ovf(&mut self) -> HSTIMER_OVF_W { HSTIMER_OVF_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear high speed channel3 counter overflow interrupt."] #[inline(always)] - #[must_use] pub fn hstimer3_ovf(&mut self) -> HSTIMER_OVF_W { HSTIMER_OVF_W::new(self, 3) } @@ -53,7 +48,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `LSTIMER0_OVF` field.
"] #[inline(always)] - #[must_use] pub fn lstimer_ovf(&mut self, n: u8) -> LSTIMER_OVF_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -61,25 +55,21 @@ impl W { } #[doc = "Bit 4 - Set this bit to clear low speed channel0 counter overflow interrupt."] #[inline(always)] - #[must_use] pub fn lstimer0_ovf(&mut self) -> LSTIMER_OVF_W { LSTIMER_OVF_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear low speed channel1 counter overflow interrupt."] #[inline(always)] - #[must_use] pub fn lstimer1_ovf(&mut self) -> LSTIMER_OVF_W { LSTIMER_OVF_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear low speed channel2 counter overflow interrupt."] #[inline(always)] - #[must_use] pub fn lstimer2_ovf(&mut self) -> LSTIMER_OVF_W { LSTIMER_OVF_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear low speed channel3 counter overflow interrupt."] #[inline(always)] - #[must_use] pub fn lstimer3_ovf(&mut self) -> LSTIMER_OVF_W { LSTIMER_OVF_W::new(self, 7) } @@ -87,7 +77,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `DUTY_CHNG_END_HSCH0` field.
"] #[inline(always)] - #[must_use] pub fn duty_chng_end_hsch(&mut self, n: u8) -> DUTY_CHNG_END_HSCH_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -95,49 +84,41 @@ impl W { } #[doc = "Bit 8 - Set this bit to clear high speed channel 0 duty change done interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_hsch0(&mut self) -> DUTY_CHNG_END_HSCH_W { DUTY_CHNG_END_HSCH_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear high speed channel 1 duty change done interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_hsch1(&mut self) -> DUTY_CHNG_END_HSCH_W { DUTY_CHNG_END_HSCH_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to clear high speed channel 2 duty change done interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_hsch2(&mut self) -> DUTY_CHNG_END_HSCH_W { DUTY_CHNG_END_HSCH_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear high speed channel 3 duty change done interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_hsch3(&mut self) -> DUTY_CHNG_END_HSCH_W { DUTY_CHNG_END_HSCH_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to clear high speed channel 4 duty change done interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_hsch4(&mut self) -> DUTY_CHNG_END_HSCH_W { DUTY_CHNG_END_HSCH_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to clear high speed channel 5 duty change done interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_hsch5(&mut self) -> DUTY_CHNG_END_HSCH_W { DUTY_CHNG_END_HSCH_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to clear high speed channel 6 duty change done interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_hsch6(&mut self) -> DUTY_CHNG_END_HSCH_W { DUTY_CHNG_END_HSCH_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to clear high speed channel 7 duty change done interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_hsch7(&mut self) -> DUTY_CHNG_END_HSCH_W { DUTY_CHNG_END_HSCH_W::new(self, 15) } @@ -145,7 +126,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `DUTY_CHNG_END_LSCH0` field.
"] #[inline(always)] - #[must_use] pub fn duty_chng_end_lsch(&mut self, n: u8) -> DUTY_CHNG_END_LSCH_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -153,49 +133,41 @@ impl W { } #[doc = "Bit 16 - Set this bit to clear low speed channel 0 duty change done interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_lsch0(&mut self) -> DUTY_CHNG_END_LSCH_W { DUTY_CHNG_END_LSCH_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to clear low speed channel 1 duty change done interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_lsch1(&mut self) -> DUTY_CHNG_END_LSCH_W { DUTY_CHNG_END_LSCH_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to clear low speed channel 2 duty change done interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_lsch2(&mut self) -> DUTY_CHNG_END_LSCH_W { DUTY_CHNG_END_LSCH_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to clear low speed channel 3 duty change done interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_lsch3(&mut self) -> DUTY_CHNG_END_LSCH_W { DUTY_CHNG_END_LSCH_W::new(self, 19) } #[doc = "Bit 20 - Set this bit to clear low speed channel 4 duty change done interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_lsch4(&mut self) -> DUTY_CHNG_END_LSCH_W { DUTY_CHNG_END_LSCH_W::new(self, 20) } #[doc = "Bit 21 - Set this bit to clear low speed channel 5 duty change done interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_lsch5(&mut self) -> DUTY_CHNG_END_LSCH_W { DUTY_CHNG_END_LSCH_W::new(self, 21) } #[doc = "Bit 22 - Set this bit to clear low speed channel 6 duty change done interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_lsch6(&mut self) -> DUTY_CHNG_END_LSCH_W { DUTY_CHNG_END_LSCH_W::new(self, 22) } #[doc = "Bit 23 - Set this bit to clear low speed channel 7 duty change done interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_lsch7(&mut self) -> DUTY_CHNG_END_LSCH_W { DUTY_CHNG_END_LSCH_W::new(self, 23) } @@ -209,7 +181,7 @@ impl crate::RegisterSpec for INT_CLR_SPEC { impl crate::Writable for INT_CLR_SPEC { type Safety = crate::Unsafe; const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0x0001_0111; + const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0x00ff_ffff; } #[doc = "`reset()` method sets INT_CLR to value 0"] impl crate::Resettable for INT_CLR_SPEC { diff --git a/esp32/src/ledc/int_ena.rs b/esp32/src/ledc/int_ena.rs index c4bcb8d1a9..e9a2214bac 100644 --- a/esp32/src/ledc/int_ena.rs +++ b/esp32/src/ledc/int_ena.rs @@ -236,7 +236,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `HSTIMER0_OVF` field.
"] #[inline(always)] - #[must_use] pub fn hstimer_ovf(&mut self, n: u8) -> HSTIMER_OVF_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -244,25 +243,21 @@ impl W { } #[doc = "Bit 0 - The interrupt enable bit for high speed channel0 counter overflow interrupt."] #[inline(always)] - #[must_use] pub fn hstimer0_ovf(&mut self) -> HSTIMER_OVF_W { HSTIMER_OVF_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for high speed channel1 counter overflow interrupt."] #[inline(always)] - #[must_use] pub fn hstimer1_ovf(&mut self) -> HSTIMER_OVF_W { HSTIMER_OVF_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for high speed channel2 counter overflow interrupt."] #[inline(always)] - #[must_use] pub fn hstimer2_ovf(&mut self) -> HSTIMER_OVF_W { HSTIMER_OVF_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for high speed channel3 counter overflow interrupt."] #[inline(always)] - #[must_use] pub fn hstimer3_ovf(&mut self) -> HSTIMER_OVF_W { HSTIMER_OVF_W::new(self, 3) } @@ -270,7 +265,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `LSTIMER0_OVF` field.
"] #[inline(always)] - #[must_use] pub fn lstimer_ovf(&mut self, n: u8) -> LSTIMER_OVF_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -278,25 +272,21 @@ impl W { } #[doc = "Bit 4 - The interrupt enable bit for low speed channel0 counter overflow interrupt."] #[inline(always)] - #[must_use] pub fn lstimer0_ovf(&mut self) -> LSTIMER_OVF_W { LSTIMER_OVF_W::new(self, 4) } #[doc = "Bit 5 - The interrupt enable bit for low speed channel1 counter overflow interrupt."] #[inline(always)] - #[must_use] pub fn lstimer1_ovf(&mut self) -> LSTIMER_OVF_W { LSTIMER_OVF_W::new(self, 5) } #[doc = "Bit 6 - The interrupt enable bit for low speed channel2 counter overflow interrupt."] #[inline(always)] - #[must_use] pub fn lstimer2_ovf(&mut self) -> LSTIMER_OVF_W { LSTIMER_OVF_W::new(self, 6) } #[doc = "Bit 7 - The interrupt enable bit for low speed channel3 counter overflow interrupt."] #[inline(always)] - #[must_use] pub fn lstimer3_ovf(&mut self) -> LSTIMER_OVF_W { LSTIMER_OVF_W::new(self, 7) } @@ -304,7 +294,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `DUTY_CHNG_END_HSCH0` field.
"] #[inline(always)] - #[must_use] pub fn duty_chng_end_hsch(&mut self, n: u8) -> DUTY_CHNG_END_HSCH_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -312,49 +301,41 @@ impl W { } #[doc = "Bit 8 - The interrupt enable bit for high speed channel 0 duty change done interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_hsch0(&mut self) -> DUTY_CHNG_END_HSCH_W { DUTY_CHNG_END_HSCH_W::new(self, 8) } #[doc = "Bit 9 - The interrupt enable bit for high speed channel 1 duty change done interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_hsch1(&mut self) -> DUTY_CHNG_END_HSCH_W { DUTY_CHNG_END_HSCH_W::new(self, 9) } #[doc = "Bit 10 - The interrupt enable bit for high speed channel 2 duty change done interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_hsch2(&mut self) -> DUTY_CHNG_END_HSCH_W { DUTY_CHNG_END_HSCH_W::new(self, 10) } #[doc = "Bit 11 - The interrupt enable bit for high speed channel 3 duty change done interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_hsch3(&mut self) -> DUTY_CHNG_END_HSCH_W { DUTY_CHNG_END_HSCH_W::new(self, 11) } #[doc = "Bit 12 - The interrupt enable bit for high speed channel 4 duty change done interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_hsch4(&mut self) -> DUTY_CHNG_END_HSCH_W { DUTY_CHNG_END_HSCH_W::new(self, 12) } #[doc = "Bit 13 - The interrupt enable bit for high speed channel 5 duty change done interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_hsch5(&mut self) -> DUTY_CHNG_END_HSCH_W { DUTY_CHNG_END_HSCH_W::new(self, 13) } #[doc = "Bit 14 - The interrupt enable bit for high speed channel 6 duty change done interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_hsch6(&mut self) -> DUTY_CHNG_END_HSCH_W { DUTY_CHNG_END_HSCH_W::new(self, 14) } #[doc = "Bit 15 - The interrupt enable bit for high speed channel 7 duty change done interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_hsch7(&mut self) -> DUTY_CHNG_END_HSCH_W { DUTY_CHNG_END_HSCH_W::new(self, 15) } @@ -362,7 +343,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `DUTY_CHNG_END_LSCH0` field.
"] #[inline(always)] - #[must_use] pub fn duty_chng_end_lsch(&mut self, n: u8) -> DUTY_CHNG_END_LSCH_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -370,49 +350,41 @@ impl W { } #[doc = "Bit 16 - The interrupt enable bit for low speed channel 0 duty change done interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_lsch0(&mut self) -> DUTY_CHNG_END_LSCH_W { DUTY_CHNG_END_LSCH_W::new(self, 16) } #[doc = "Bit 17 - The interrupt enable bit for low speed channel 1 duty change done interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_lsch1(&mut self) -> DUTY_CHNG_END_LSCH_W { DUTY_CHNG_END_LSCH_W::new(self, 17) } #[doc = "Bit 18 - The interrupt enable bit for low speed channel 2 duty change done interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_lsch2(&mut self) -> DUTY_CHNG_END_LSCH_W { DUTY_CHNG_END_LSCH_W::new(self, 18) } #[doc = "Bit 19 - The interrupt enable bit for low speed channel 3 duty change done interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_lsch3(&mut self) -> DUTY_CHNG_END_LSCH_W { DUTY_CHNG_END_LSCH_W::new(self, 19) } #[doc = "Bit 20 - The interrupt enable bit for low speed channel 4 duty change done interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_lsch4(&mut self) -> DUTY_CHNG_END_LSCH_W { DUTY_CHNG_END_LSCH_W::new(self, 20) } #[doc = "Bit 21 - The interrupt enable bit for low speed channel 5 duty change done interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_lsch5(&mut self) -> DUTY_CHNG_END_LSCH_W { DUTY_CHNG_END_LSCH_W::new(self, 21) } #[doc = "Bit 22 - The interrupt enable bit for low speed channel 6 duty change done interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_lsch6(&mut self) -> DUTY_CHNG_END_LSCH_W { DUTY_CHNG_END_LSCH_W::new(self, 22) } #[doc = "Bit 23 - The interrupt enable bit for low speed channel 7 duty change done interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_lsch7(&mut self) -> DUTY_CHNG_END_LSCH_W { DUTY_CHNG_END_LSCH_W::new(self, 23) } diff --git a/esp32/src/ledc/int_raw.rs b/esp32/src/ledc/int_raw.rs index 47f7ce9abf..d13dcddc5a 100644 --- a/esp32/src/ledc/int_raw.rs +++ b/esp32/src/ledc/int_raw.rs @@ -236,7 +236,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `HSTIMER0_OVF` field.
"] #[inline(always)] - #[must_use] pub fn hstimer_ovf(&mut self, n: u8) -> HSTIMER_OVF_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -244,25 +243,21 @@ impl W { } #[doc = "Bit 0 - The interrupt raw bit for high speed channel0 counter overflow."] #[inline(always)] - #[must_use] pub fn hstimer0_ovf(&mut self) -> HSTIMER_OVF_W { HSTIMER_OVF_W::new(self, 0) } #[doc = "Bit 1 - The interrupt raw bit for high speed channel1 counter overflow."] #[inline(always)] - #[must_use] pub fn hstimer1_ovf(&mut self) -> HSTIMER_OVF_W { HSTIMER_OVF_W::new(self, 1) } #[doc = "Bit 2 - The interrupt raw bit for high speed channel2 counter overflow."] #[inline(always)] - #[must_use] pub fn hstimer2_ovf(&mut self) -> HSTIMER_OVF_W { HSTIMER_OVF_W::new(self, 2) } #[doc = "Bit 3 - The interrupt raw bit for high speed channel3 counter overflow."] #[inline(always)] - #[must_use] pub fn hstimer3_ovf(&mut self) -> HSTIMER_OVF_W { HSTIMER_OVF_W::new(self, 3) } @@ -270,7 +265,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `LSTIMER0_OVF` field.
"] #[inline(always)] - #[must_use] pub fn lstimer_ovf(&mut self, n: u8) -> LSTIMER_OVF_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -278,25 +272,21 @@ impl W { } #[doc = "Bit 4 - The interrupt raw bit for low speed channel0 counter overflow."] #[inline(always)] - #[must_use] pub fn lstimer0_ovf(&mut self) -> LSTIMER_OVF_W { LSTIMER_OVF_W::new(self, 4) } #[doc = "Bit 5 - The interrupt raw bit for low speed channel1 counter overflow."] #[inline(always)] - #[must_use] pub fn lstimer1_ovf(&mut self) -> LSTIMER_OVF_W { LSTIMER_OVF_W::new(self, 5) } #[doc = "Bit 6 - The interrupt raw bit for low speed channel2 counter overflow."] #[inline(always)] - #[must_use] pub fn lstimer2_ovf(&mut self) -> LSTIMER_OVF_W { LSTIMER_OVF_W::new(self, 6) } #[doc = "Bit 7 - The interrupt raw bit for low speed channel3 counter overflow."] #[inline(always)] - #[must_use] pub fn lstimer3_ovf(&mut self) -> LSTIMER_OVF_W { LSTIMER_OVF_W::new(self, 7) } @@ -304,7 +294,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `DUTY_CHNG_END_HSCH0` field.
"] #[inline(always)] - #[must_use] pub fn duty_chng_end_hsch(&mut self, n: u8) -> DUTY_CHNG_END_HSCH_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -312,49 +301,41 @@ impl W { } #[doc = "Bit 8 - The interrupt raw bit for high speed channel 0 duty change done."] #[inline(always)] - #[must_use] pub fn duty_chng_end_hsch0(&mut self) -> DUTY_CHNG_END_HSCH_W { DUTY_CHNG_END_HSCH_W::new(self, 8) } #[doc = "Bit 9 - The interrupt raw bit for high speed channel 1 duty change done."] #[inline(always)] - #[must_use] pub fn duty_chng_end_hsch1(&mut self) -> DUTY_CHNG_END_HSCH_W { DUTY_CHNG_END_HSCH_W::new(self, 9) } #[doc = "Bit 10 - The interrupt raw bit for high speed channel 2 duty change done."] #[inline(always)] - #[must_use] pub fn duty_chng_end_hsch2(&mut self) -> DUTY_CHNG_END_HSCH_W { DUTY_CHNG_END_HSCH_W::new(self, 10) } #[doc = "Bit 11 - The interrupt raw bit for high speed channel 3 duty change done."] #[inline(always)] - #[must_use] pub fn duty_chng_end_hsch3(&mut self) -> DUTY_CHNG_END_HSCH_W { DUTY_CHNG_END_HSCH_W::new(self, 11) } #[doc = "Bit 12 - The interrupt raw bit for high speed channel 4 duty change done."] #[inline(always)] - #[must_use] pub fn duty_chng_end_hsch4(&mut self) -> DUTY_CHNG_END_HSCH_W { DUTY_CHNG_END_HSCH_W::new(self, 12) } #[doc = "Bit 13 - The interrupt raw bit for high speed channel 5 duty change done."] #[inline(always)] - #[must_use] pub fn duty_chng_end_hsch5(&mut self) -> DUTY_CHNG_END_HSCH_W { DUTY_CHNG_END_HSCH_W::new(self, 13) } #[doc = "Bit 14 - The interrupt raw bit for high speed channel 6 duty change done."] #[inline(always)] - #[must_use] pub fn duty_chng_end_hsch6(&mut self) -> DUTY_CHNG_END_HSCH_W { DUTY_CHNG_END_HSCH_W::new(self, 14) } #[doc = "Bit 15 - The interrupt raw bit for high speed channel 7 duty change done."] #[inline(always)] - #[must_use] pub fn duty_chng_end_hsch7(&mut self) -> DUTY_CHNG_END_HSCH_W { DUTY_CHNG_END_HSCH_W::new(self, 15) } @@ -362,7 +343,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `DUTY_CHNG_END_LSCH0` field.
"] #[inline(always)] - #[must_use] pub fn duty_chng_end_lsch(&mut self, n: u8) -> DUTY_CHNG_END_LSCH_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -370,49 +350,41 @@ impl W { } #[doc = "Bit 16 - The interrupt raw bit for low speed channel 0 duty change done."] #[inline(always)] - #[must_use] pub fn duty_chng_end_lsch0(&mut self) -> DUTY_CHNG_END_LSCH_W { DUTY_CHNG_END_LSCH_W::new(self, 16) } #[doc = "Bit 17 - The interrupt raw bit for low speed channel 1 duty change done."] #[inline(always)] - #[must_use] pub fn duty_chng_end_lsch1(&mut self) -> DUTY_CHNG_END_LSCH_W { DUTY_CHNG_END_LSCH_W::new(self, 17) } #[doc = "Bit 18 - The interrupt raw bit for low speed channel 2 duty change done."] #[inline(always)] - #[must_use] pub fn duty_chng_end_lsch2(&mut self) -> DUTY_CHNG_END_LSCH_W { DUTY_CHNG_END_LSCH_W::new(self, 18) } #[doc = "Bit 19 - The interrupt raw bit for low speed channel 3 duty change done."] #[inline(always)] - #[must_use] pub fn duty_chng_end_lsch3(&mut self) -> DUTY_CHNG_END_LSCH_W { DUTY_CHNG_END_LSCH_W::new(self, 19) } #[doc = "Bit 20 - The interrupt raw bit for low speed channel 4 duty change done."] #[inline(always)] - #[must_use] pub fn duty_chng_end_lsch4(&mut self) -> DUTY_CHNG_END_LSCH_W { DUTY_CHNG_END_LSCH_W::new(self, 20) } #[doc = "Bit 21 - The interrupt raw bit for low speed channel 5 duty change done."] #[inline(always)] - #[must_use] pub fn duty_chng_end_lsch5(&mut self) -> DUTY_CHNG_END_LSCH_W { DUTY_CHNG_END_LSCH_W::new(self, 21) } #[doc = "Bit 22 - The interrupt raw bit for low speed channel 6 duty change done."] #[inline(always)] - #[must_use] pub fn duty_chng_end_lsch6(&mut self) -> DUTY_CHNG_END_LSCH_W { DUTY_CHNG_END_LSCH_W::new(self, 22) } #[doc = "Bit 23 - The interrupt raw bit for low speed channel 7 duty change done."] #[inline(always)] - #[must_use] pub fn duty_chng_end_lsch7(&mut self) -> DUTY_CHNG_END_LSCH_W { DUTY_CHNG_END_LSCH_W::new(self, 23) } diff --git a/esp32/src/ledc/lsch/conf0.rs b/esp32/src/ledc/lsch/conf0.rs index 263a6a7cc3..87109e8158 100644 --- a/esp32/src/ledc/lsch/conf0.rs +++ b/esp32/src/ledc/lsch/conf0.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - There are four low speed timers the two bits are used to select one of them for low speed channel0. 2'b00: seletc lstimer0. 2'b01: select lstimer1. 2'b10: select lstimer2. 2'b11: select lstimer3."] #[inline(always)] - #[must_use] pub fn timer_sel(&mut self) -> TIMER_SEL_W { TIMER_SEL_W::new(self, 0) } #[doc = "Bit 2 - This is the output enable control bit for low speed channel0."] #[inline(always)] - #[must_use] pub fn sig_out_en(&mut self) -> SIG_OUT_EN_W { SIG_OUT_EN_W::new(self, 2) } #[doc = "Bit 3 - This bit is used to control the output value when low speed channel0 is off."] #[inline(always)] - #[must_use] pub fn idle_lv(&mut self) -> IDLE_LV_W { IDLE_LV_W::new(self, 3) } #[doc = "Bit 4 - This bit is used to update register LEDC_LSCH0_HPOINT and LEDC_LSCH0_DUTY for low speed channel0."] #[inline(always)] - #[must_use] pub fn para_up(&mut self) -> PARA_UP_W { PARA_UP_W::new(self, 4) } diff --git a/esp32/src/ledc/lsch/conf1.rs b/esp32/src/ledc/lsch/conf1.rs index cb37cd002f..07f275eff0 100644 --- a/esp32/src/ledc/lsch/conf1.rs +++ b/esp32/src/ledc/lsch/conf1.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - This register controls the increase or decrease step scale for low speed channel0."] #[inline(always)] - #[must_use] pub fn duty_scale(&mut self) -> DUTY_SCALE_W { DUTY_SCALE_W::new(self, 0) } #[doc = "Bits 10:19 - This register is used to increase or decrease the duty every reg_duty_cycle_lsch0 cycles for low speed channel0."] #[inline(always)] - #[must_use] pub fn duty_cycle(&mut self) -> DUTY_CYCLE_W { DUTY_CYCLE_W::new(self, 10) } #[doc = "Bits 20:29 - This register is used to control the num of increased or decreased times for low speed channel6."] #[inline(always)] - #[must_use] pub fn duty_num(&mut self) -> DUTY_NUM_W { DUTY_NUM_W::new(self, 20) } #[doc = "Bit 30 - This register is used to increase the duty of output signal or decrease the duty of output signal for low speed channel6."] #[inline(always)] - #[must_use] pub fn duty_inc(&mut self) -> DUTY_INC_W { DUTY_INC_W::new(self, 30) } #[doc = "Bit 31 - When reg_duty_num_hsch1 reg_duty_cycle_hsch1 and reg_duty_scale_hsch1 has been configured. these register won't take effect until set reg_duty_start_hsch1. this bit is automatically cleared by hardware."] #[inline(always)] - #[must_use] pub fn duty_start(&mut self) -> DUTY_START_W { DUTY_START_W::new(self, 31) } diff --git a/esp32/src/ledc/lsch/duty.rs b/esp32/src/ledc/lsch/duty.rs index 5ea1deba76..65e9843671 100644 --- a/esp32/src/ledc/lsch/duty.rs +++ b/esp32/src/ledc/lsch/duty.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:24 - This register represents the current duty of the output signal for low speed channel0."] #[inline(always)] - #[must_use] pub fn duty(&mut self) -> DUTY_W { DUTY_W::new(self, 0) } diff --git a/esp32/src/ledc/lsch/hpoint.rs b/esp32/src/ledc/lsch/hpoint.rs index 785a8707e0..ad743be91c 100644 --- a/esp32/src/ledc/lsch/hpoint.rs +++ b/esp32/src/ledc/lsch/hpoint.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - The output value changes to high when lstimerx(x=\\[0 3\\]) selected by low speed channel0 has reached reg_hpoint_lsch0\\[19:0\\]"] #[inline(always)] - #[must_use] pub fn hpoint(&mut self) -> HPOINT_W { HPOINT_W::new(self, 0) } diff --git a/esp32/src/ledc/lstimer/conf.rs b/esp32/src/ledc/lstimer/conf.rs index 1eca56a4ff..2065a5fbf7 100644 --- a/esp32/src/ledc/lstimer/conf.rs +++ b/esp32/src/ledc/lstimer/conf.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register controls the range of the counter in low speed timer0. the counter range is \\[0 2**reg_lstimer0_lim\\] the max bit width for counter is 20."] #[inline(always)] - #[must_use] pub fn duty_res(&mut self) -> DUTY_RES_W { DUTY_RES_W::new(self, 0) } #[doc = "Bits 5:22 - This register is used to configure parameter for divider in low speed timer0 the least significant eight bits represent the decimal part."] #[inline(always)] - #[must_use] pub fn div_num(&mut self) -> DIV_NUM_W { DIV_NUM_W::new(self, 5) } #[doc = "Bit 23 - This bit is used to pause the counter in low speed timer0."] #[inline(always)] - #[must_use] pub fn pause(&mut self) -> PAUSE_W { PAUSE_W::new(self, 23) } #[doc = "Bit 24 - This bit is used to reset low speed timer0 the counter will be 0 after reset."] #[inline(always)] - #[must_use] pub fn rst(&mut self) -> RST_W { RST_W::new(self, 24) } #[doc = "Bit 25 - This bit is used to choose slow_clk or ref_tick for low speed timer0. 1'b1:slow_clk 0:ref_tick"] #[inline(always)] - #[must_use] pub fn tick_sel(&mut self) -> TICK_SEL_W { TICK_SEL_W::new(self, 25) } #[doc = "Bit 26 - Set this bit to update reg_div_num_lstime0 and reg_lstimer0_lim."] #[inline(always)] - #[must_use] pub fn para_up(&mut self) -> PARA_UP_W { PARA_UP_W::new(self, 26) } diff --git a/esp32/src/lib.rs b/esp32/src/lib.rs index 06f30ebe55..311db9a563 100644 --- a/esp32/src/lib.rs +++ b/esp32/src/lib.rs @@ -1,4 +1,4 @@ -#![doc = "Peripheral access API for ESP32 microcontrollers (generated using svd2rust v0.33.4 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next] svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.33.4/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"] +#![doc = "Peripheral access API for ESP32 microcontrollers (generated using svd2rust v0.34.0 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next] svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.34.0/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"] #![allow(non_camel_case_types)] #![allow(non_snake_case)] #![doc(html_logo_url = "https://avatars.githubusercontent.com/u/46717278")] @@ -347,13 +347,8 @@ pub enum Interrupt { #[doc = "68 - CACHE_IA"] CACHE_IA = 68, } -unsafe impl xtensa_lx::interrupt::InterruptNumber for Interrupt { - #[inline(always)] - fn number(self) -> u16 { - self as u16 - } -} #[doc = r" TryFromInterruptError"] +#[cfg_attr(feature = "defmt", derive(defmt::Format))] #[derive(Debug, Copy, Clone)] pub struct TryFromInterruptError(()); impl Interrupt { diff --git a/esp32/src/mcpwm0/cap_ch_cfg.rs b/esp32/src/mcpwm0/cap_ch_cfg.rs index ab57cc5635..478d11711a 100644 --- a/esp32/src/mcpwm0/cap_ch_cfg.rs +++ b/esp32/src/mcpwm0/cap_ch_cfg.rs @@ -56,31 +56,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 0) } #[doc = "Bits 1:2"] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 1) } #[doc = "Bits 3:10"] #[inline(always)] - #[must_use] pub fn prescale(&mut self) -> PRESCALE_W { PRESCALE_W::new(self, 3) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn in_invert(&mut self) -> IN_INVERT_W { IN_INVERT_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn sw(&mut self) -> SW_W { SW_W::new(self, 12) } diff --git a/esp32/src/mcpwm0/cap_timer_cfg.rs b/esp32/src/mcpwm0/cap_timer_cfg.rs index af683152d3..4fe630acd1 100644 --- a/esp32/src/mcpwm0/cap_timer_cfg.rs +++ b/esp32/src/mcpwm0/cap_timer_cfg.rs @@ -46,25 +46,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn cap_timer_en(&mut self) -> CAP_TIMER_EN_W { CAP_TIMER_EN_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn cap_synci_en(&mut self) -> CAP_SYNCI_EN_W { CAP_SYNCI_EN_W::new(self, 1) } #[doc = "Bits 2:4"] #[inline(always)] - #[must_use] pub fn cap_synci_sel(&mut self) -> CAP_SYNCI_SEL_W { CAP_SYNCI_SEL_W::new(self, 2) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn cap_sync_sw(&mut self) -> CAP_SYNC_SW_W { CAP_SYNC_SW_W::new(self, 5) } diff --git a/esp32/src/mcpwm0/cap_timer_phase.rs b/esp32/src/mcpwm0/cap_timer_phase.rs index 33495a89b9..e5ab522dbb 100644 --- a/esp32/src/mcpwm0/cap_timer_phase.rs +++ b/esp32/src/mcpwm0/cap_timer_phase.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn cap_timer_phase(&mut self) -> CAP_TIMER_PHASE_W { CAP_TIMER_PHASE_W::new(self, 0) } diff --git a/esp32/src/mcpwm0/ch.rs b/esp32/src/mcpwm0/ch.rs index 1b926c8848..641ca3a164 100644 --- a/esp32/src/mcpwm0/ch.rs +++ b/esp32/src/mcpwm0/ch.rs @@ -43,6 +43,8 @@ impl CH { &self.gen_force } #[doc = "0x14..0x1c - Actions triggered by events on PWMx%s"] + #[doc = ""] + #[doc = "
`n` is the index of register in the array. `n == 0` corresponds to `GENA` register.
"] #[inline(always)] pub const fn gen(&self, n: usize) -> &GEN { &self.gen[n] diff --git a/esp32/src/mcpwm0/ch/carrier_cfg.rs b/esp32/src/mcpwm0/ch/carrier_cfg.rs index d1bb60fc66..24b536ce84 100644 --- a/esp32/src/mcpwm0/ch/carrier_cfg.rs +++ b/esp32/src/mcpwm0/ch/carrier_cfg.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 0) } #[doc = "Bits 1:4"] #[inline(always)] - #[must_use] pub fn prescale(&mut self) -> PRESCALE_W { PRESCALE_W::new(self, 1) } #[doc = "Bits 5:7"] #[inline(always)] - #[must_use] pub fn duty(&mut self) -> DUTY_W { DUTY_W::new(self, 5) } #[doc = "Bits 8:11"] #[inline(always)] - #[must_use] pub fn oshtwth(&mut self) -> OSHTWTH_W { OSHTWTH_W::new(self, 8) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn out_invert(&mut self) -> OUT_INVERT_W { OUT_INVERT_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn in_invert(&mut self) -> IN_INVERT_W { IN_INVERT_W::new(self, 13) } diff --git a/esp32/src/mcpwm0/ch/dt_cfg.rs b/esp32/src/mcpwm0/ch/dt_cfg.rs index cae9050fc2..1394577bc2 100644 --- a/esp32/src/mcpwm0/ch/dt_cfg.rs +++ b/esp32/src/mcpwm0/ch/dt_cfg.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3"] #[inline(always)] - #[must_use] pub fn fed_upmethod(&mut self) -> FED_UPMETHOD_W { FED_UPMETHOD_W::new(self, 0) } #[doc = "Bits 4:7"] #[inline(always)] - #[must_use] pub fn red_upmethod(&mut self) -> RED_UPMETHOD_W { RED_UPMETHOD_W::new(self, 4) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn deb_mode(&mut self) -> DEB_MODE_W { DEB_MODE_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn a_outswap(&mut self) -> A_OUTSWAP_W { A_OUTSWAP_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn b_outswap(&mut self) -> B_OUTSWAP_W { B_OUTSWAP_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn red_insel(&mut self) -> RED_INSEL_W { RED_INSEL_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn fed_insel(&mut self) -> FED_INSEL_W { FED_INSEL_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn red_outinvert(&mut self) -> RED_OUTINVERT_W { RED_OUTINVERT_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn fed_outinvert(&mut self) -> FED_OUTINVERT_W { FED_OUTINVERT_W::new(self, 14) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn a_outbypass(&mut self) -> A_OUTBYPASS_W { A_OUTBYPASS_W::new(self, 15) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn b_outbypass(&mut self) -> B_OUTBYPASS_W { B_OUTBYPASS_W::new(self, 16) } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn clk_sel(&mut self) -> CLK_SEL_W { CLK_SEL_W::new(self, 17) } diff --git a/esp32/src/mcpwm0/ch/dt_fed_cfg.rs b/esp32/src/mcpwm0/ch/dt_fed_cfg.rs index b70085963f..e873fe4fc8 100644 --- a/esp32/src/mcpwm0/ch/dt_fed_cfg.rs +++ b/esp32/src/mcpwm0/ch/dt_fed_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn fed(&mut self) -> FED_W { FED_W::new(self, 0) } diff --git a/esp32/src/mcpwm0/ch/dt_red_cfg.rs b/esp32/src/mcpwm0/ch/dt_red_cfg.rs index cc8b69b751..ef34bd423d 100644 --- a/esp32/src/mcpwm0/ch/dt_red_cfg.rs +++ b/esp32/src/mcpwm0/ch/dt_red_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn red(&mut self) -> RED_W { RED_W::new(self, 0) } diff --git a/esp32/src/mcpwm0/ch/fh_cfg0.rs b/esp32/src/mcpwm0/ch/fh_cfg0.rs index 19ff2d8dbc..6cf28d1c56 100644 --- a/esp32/src/mcpwm0/ch/fh_cfg0.rs +++ b/esp32/src/mcpwm0/ch/fh_cfg0.rs @@ -174,97 +174,81 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn sw_cbc(&mut self) -> SW_CBC_W { SW_CBC_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn f2_cbc(&mut self) -> F2_CBC_W { F2_CBC_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn f1_cbc(&mut self) -> F1_CBC_W { F1_CBC_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn f0_cbc(&mut self) -> F0_CBC_W { F0_CBC_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn sw_ost(&mut self) -> SW_OST_W { SW_OST_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn f2_ost(&mut self) -> F2_OST_W { F2_OST_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn f1_ost(&mut self) -> F1_OST_W { F1_OST_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn f0_ost(&mut self) -> F0_OST_W { F0_OST_W::new(self, 7) } #[doc = "Bits 8:9"] #[inline(always)] - #[must_use] pub fn a_cbc_d(&mut self) -> A_CBC_D_W { A_CBC_D_W::new(self, 8) } #[doc = "Bits 10:11"] #[inline(always)] - #[must_use] pub fn a_cbc_u(&mut self) -> A_CBC_U_W { A_CBC_U_W::new(self, 10) } #[doc = "Bits 12:13"] #[inline(always)] - #[must_use] pub fn a_ost_d(&mut self) -> A_OST_D_W { A_OST_D_W::new(self, 12) } #[doc = "Bits 14:15"] #[inline(always)] - #[must_use] pub fn a_ost_u(&mut self) -> A_OST_U_W { A_OST_U_W::new(self, 14) } #[doc = "Bits 16:17"] #[inline(always)] - #[must_use] pub fn b_cbc_d(&mut self) -> B_CBC_D_W { B_CBC_D_W::new(self, 16) } #[doc = "Bits 18:19"] #[inline(always)] - #[must_use] pub fn b_cbc_u(&mut self) -> B_CBC_U_W { B_CBC_U_W::new(self, 18) } #[doc = "Bits 20:21"] #[inline(always)] - #[must_use] pub fn b_ost_d(&mut self) -> B_OST_D_W { B_OST_D_W::new(self, 20) } #[doc = "Bits 22:23"] #[inline(always)] - #[must_use] pub fn b_ost_u(&mut self) -> B_OST_U_W { B_OST_U_W::new(self, 22) } diff --git a/esp32/src/mcpwm0/ch/fh_cfg1.rs b/esp32/src/mcpwm0/ch/fh_cfg1.rs index cabd7dde5b..1d7b833046 100644 --- a/esp32/src/mcpwm0/ch/fh_cfg1.rs +++ b/esp32/src/mcpwm0/ch/fh_cfg1.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn clr_ost(&mut self) -> CLR_OST_W { CLR_OST_W::new(self, 0) } #[doc = "Bits 1:2"] #[inline(always)] - #[must_use] pub fn cbcpulse(&mut self) -> CBCPULSE_W { CBCPULSE_W::new(self, 1) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn force_cbc(&mut self) -> FORCE_CBC_W { FORCE_CBC_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn force_ost(&mut self) -> FORCE_OST_W { FORCE_OST_W::new(self, 4) } diff --git a/esp32/src/mcpwm0/ch/gen.rs b/esp32/src/mcpwm0/ch/gen.rs index 91ff4f6d32..db6f0794e1 100644 --- a/esp32/src/mcpwm0/ch/gen.rs +++ b/esp32/src/mcpwm0/ch/gen.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn utez(&mut self) -> UTEZ_W { UTEZ_W::new(self, 0) } #[doc = "Bits 2:3"] #[inline(always)] - #[must_use] pub fn utep(&mut self) -> UTEP_W { UTEP_W::new(self, 2) } #[doc = "Bits 4:5"] #[inline(always)] - #[must_use] pub fn utea(&mut self) -> UTEA_W { UTEA_W::new(self, 4) } #[doc = "Bits 6:7"] #[inline(always)] - #[must_use] pub fn uteb(&mut self) -> UTEB_W { UTEB_W::new(self, 6) } #[doc = "Bits 8:9"] #[inline(always)] - #[must_use] pub fn ut0(&mut self) -> UT0_W { UT0_W::new(self, 8) } #[doc = "Bits 10:11"] #[inline(always)] - #[must_use] pub fn ut1(&mut self) -> UT1_W { UT1_W::new(self, 10) } #[doc = "Bits 12:13"] #[inline(always)] - #[must_use] pub fn dtez(&mut self) -> DTEZ_W { DTEZ_W::new(self, 12) } #[doc = "Bits 14:15"] #[inline(always)] - #[must_use] pub fn dtep(&mut self) -> DTEP_W { DTEP_W::new(self, 14) } #[doc = "Bits 16:17"] #[inline(always)] - #[must_use] pub fn dtea(&mut self) -> DTEA_W { DTEA_W::new(self, 16) } #[doc = "Bits 18:19"] #[inline(always)] - #[must_use] pub fn dteb(&mut self) -> DTEB_W { DTEB_W::new(self, 18) } #[doc = "Bits 20:21"] #[inline(always)] - #[must_use] pub fn dt0(&mut self) -> DT0_W { DT0_W::new(self, 20) } #[doc = "Bits 22:23"] #[inline(always)] - #[must_use] pub fn dt1(&mut self) -> DT1_W { DT1_W::new(self, 22) } diff --git a/esp32/src/mcpwm0/ch/gen_cfg0.rs b/esp32/src/mcpwm0/ch/gen_cfg0.rs index 0a51300fa3..c024ab6bab 100644 --- a/esp32/src/mcpwm0/ch/gen_cfg0.rs +++ b/esp32/src/mcpwm0/ch/gen_cfg0.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3"] #[inline(always)] - #[must_use] pub fn cfg_upmethod(&mut self) -> CFG_UPMETHOD_W { CFG_UPMETHOD_W::new(self, 0) } #[doc = "Bits 4:6"] #[inline(always)] - #[must_use] pub fn t0_sel(&mut self) -> T0_SEL_W { T0_SEL_W::new(self, 4) } #[doc = "Bits 7:9"] #[inline(always)] - #[must_use] pub fn t1_sel(&mut self) -> T1_SEL_W { T1_SEL_W::new(self, 7) } diff --git a/esp32/src/mcpwm0/ch/gen_force.rs b/esp32/src/mcpwm0/ch/gen_force.rs index 7b654a0f44..0868f77c9a 100644 --- a/esp32/src/mcpwm0/ch/gen_force.rs +++ b/esp32/src/mcpwm0/ch/gen_force.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn cntuforce_upmethod(&mut self) -> CNTUFORCE_UPMETHOD_W { CNTUFORCE_UPMETHOD_W::new(self, 0) } #[doc = "Bits 6:7"] #[inline(always)] - #[must_use] pub fn a_cntuforce_mode(&mut self) -> A_CNTUFORCE_MODE_W { A_CNTUFORCE_MODE_W::new(self, 6) } #[doc = "Bits 8:9"] #[inline(always)] - #[must_use] pub fn b_cntuforce_mode(&mut self) -> B_CNTUFORCE_MODE_W { B_CNTUFORCE_MODE_W::new(self, 8) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn a_nciforce(&mut self) -> A_NCIFORCE_W { A_NCIFORCE_W::new(self, 10) } #[doc = "Bits 11:12"] #[inline(always)] - #[must_use] pub fn a_nciforce_mode(&mut self) -> A_NCIFORCE_MODE_W { A_NCIFORCE_MODE_W::new(self, 11) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn b_nciforce(&mut self) -> B_NCIFORCE_W { B_NCIFORCE_W::new(self, 13) } #[doc = "Bits 14:15"] #[inline(always)] - #[must_use] pub fn b_nciforce_mode(&mut self) -> B_NCIFORCE_MODE_W { B_NCIFORCE_MODE_W::new(self, 14) } diff --git a/esp32/src/mcpwm0/ch/gen_stmp_cfg.rs b/esp32/src/mcpwm0/ch/gen_stmp_cfg.rs index e81288eb3d..ddb55fcceb 100644 --- a/esp32/src/mcpwm0/ch/gen_stmp_cfg.rs +++ b/esp32/src/mcpwm0/ch/gen_stmp_cfg.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3"] #[inline(always)] - #[must_use] pub fn a_upmethod(&mut self) -> A_UPMETHOD_W { A_UPMETHOD_W::new(self, 0) } #[doc = "Bits 4:7"] #[inline(always)] - #[must_use] pub fn b_upmethod(&mut self) -> B_UPMETHOD_W { B_UPMETHOD_W::new(self, 4) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn a_shdw_full(&mut self) -> A_SHDW_FULL_W { A_SHDW_FULL_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn b_shdw_full(&mut self) -> B_SHDW_FULL_W { B_SHDW_FULL_W::new(self, 9) } diff --git a/esp32/src/mcpwm0/ch/gen_tstmp_a.rs b/esp32/src/mcpwm0/ch/gen_tstmp_a.rs index be471012a1..24ae887593 100644 --- a/esp32/src/mcpwm0/ch/gen_tstmp_a.rs +++ b/esp32/src/mcpwm0/ch/gen_tstmp_a.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn a(&mut self) -> A_W { A_W::new(self, 0) } diff --git a/esp32/src/mcpwm0/ch/gen_tstmp_b.rs b/esp32/src/mcpwm0/ch/gen_tstmp_b.rs index 7a0fb69cfd..2c9afcc332 100644 --- a/esp32/src/mcpwm0/ch/gen_tstmp_b.rs +++ b/esp32/src/mcpwm0/ch/gen_tstmp_b.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn b(&mut self) -> B_W { B_W::new(self, 0) } diff --git a/esp32/src/mcpwm0/clk.rs b/esp32/src/mcpwm0/clk.rs index 77aaac869a..de30ebc374 100644 --- a/esp32/src/mcpwm0/clk.rs +++ b/esp32/src/mcpwm0/clk.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 0) } diff --git a/esp32/src/mcpwm0/clk_cfg.rs b/esp32/src/mcpwm0/clk_cfg.rs index 003ec82f13..4e5cccfcfc 100644 --- a/esp32/src/mcpwm0/clk_cfg.rs +++ b/esp32/src/mcpwm0/clk_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn clk_prescale(&mut self) -> CLK_PRESCALE_W { CLK_PRESCALE_W::new(self, 0) } diff --git a/esp32/src/mcpwm0/fault_detect.rs b/esp32/src/mcpwm0/fault_detect.rs index ab720fa099..a67db721a2 100644 --- a/esp32/src/mcpwm0/fault_detect.rs +++ b/esp32/src/mcpwm0/fault_detect.rs @@ -98,37 +98,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn f0_en(&mut self) -> F0_EN_W { F0_EN_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn f1_en(&mut self) -> F1_EN_W { F1_EN_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn f2_en(&mut self) -> F2_EN_W { F2_EN_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn f0_pole(&mut self) -> F0_POLE_W { F0_POLE_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn f1_pole(&mut self) -> F1_POLE_W { F1_POLE_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn f2_pole(&mut self) -> F2_POLE_W { F2_POLE_W::new(self, 5) } diff --git a/esp32/src/mcpwm0/int_clr.rs b/esp32/src/mcpwm0/int_clr.rs index 2bbfc91660..dc2be7ce96 100644 --- a/esp32/src/mcpwm0/int_clr.rs +++ b/esp32/src/mcpwm0/int_clr.rs @@ -69,181 +69,151 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn timer0_stop(&mut self) -> TIMER0_STOP_W { TIMER0_STOP_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn timer1_stop(&mut self) -> TIMER1_STOP_W { TIMER1_STOP_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn timer2_stop(&mut self) -> TIMER2_STOP_W { TIMER2_STOP_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn timer0_tez(&mut self) -> TIMER0_TEZ_W { TIMER0_TEZ_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn timer1_tez(&mut self) -> TIMER1_TEZ_W { TIMER1_TEZ_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn timer2_tez(&mut self) -> TIMER2_TEZ_W { TIMER2_TEZ_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn timer0_tep(&mut self) -> TIMER0_TEP_W { TIMER0_TEP_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn timer1_tep(&mut self) -> TIMER1_TEP_W { TIMER1_TEP_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn timer2_tep(&mut self) -> TIMER2_TEP_W { TIMER2_TEP_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn fault0(&mut self) -> FAULT0_W { FAULT0_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn fault1(&mut self) -> FAULT1_W { FAULT1_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn fault2(&mut self) -> FAULT2_W { FAULT2_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn fault0_clr(&mut self) -> FAULT0_CLR_W { FAULT0_CLR_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn fault1_clr(&mut self) -> FAULT1_CLR_W { FAULT1_CLR_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn fault2_clr(&mut self) -> FAULT2_CLR_W { FAULT2_CLR_W::new(self, 14) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn op0_tea(&mut self) -> OP0_TEA_W { OP0_TEA_W::new(self, 15) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn op1_tea(&mut self) -> OP1_TEA_W { OP1_TEA_W::new(self, 16) } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn op2_tea(&mut self) -> OP2_TEA_W { OP2_TEA_W::new(self, 17) } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn op0_teb(&mut self) -> OP0_TEB_W { OP0_TEB_W::new(self, 18) } #[doc = "Bit 19"] #[inline(always)] - #[must_use] pub fn op1_teb(&mut self) -> OP1_TEB_W { OP1_TEB_W::new(self, 19) } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn op2_teb(&mut self) -> OP2_TEB_W { OP2_TEB_W::new(self, 20) } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn fh0_cbc(&mut self) -> FH0_CBC_W { FH0_CBC_W::new(self, 21) } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn fh1_cbc(&mut self) -> FH1_CBC_W { FH1_CBC_W::new(self, 22) } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn fh2_cbc(&mut self) -> FH2_CBC_W { FH2_CBC_W::new(self, 23) } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn fh0_ost(&mut self) -> FH0_OST_W { FH0_OST_W::new(self, 24) } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn fh1_ost(&mut self) -> FH1_OST_W { FH1_OST_W::new(self, 25) } #[doc = "Bit 26"] #[inline(always)] - #[must_use] pub fn fh2_ost(&mut self) -> FH2_OST_W { FH2_OST_W::new(self, 26) } #[doc = "Bit 27"] #[inline(always)] - #[must_use] pub fn cap0(&mut self) -> CAP0_W { CAP0_W::new(self, 27) } #[doc = "Bit 28"] #[inline(always)] - #[must_use] pub fn cap1(&mut self) -> CAP1_W { CAP1_W::new(self, 28) } #[doc = "Bit 29"] #[inline(always)] - #[must_use] pub fn cap2(&mut self) -> CAP2_W { CAP2_W::new(self, 29) } diff --git a/esp32/src/mcpwm0/int_ena.rs b/esp32/src/mcpwm0/int_ena.rs index 7863b17d2b..cc0044c297 100644 --- a/esp32/src/mcpwm0/int_ena.rs +++ b/esp32/src/mcpwm0/int_ena.rs @@ -314,181 +314,151 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn timer0_stop(&mut self) -> TIMER0_STOP_W { TIMER0_STOP_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn timer1_stop(&mut self) -> TIMER1_STOP_W { TIMER1_STOP_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn timer2_stop(&mut self) -> TIMER2_STOP_W { TIMER2_STOP_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn timer0_tez(&mut self) -> TIMER0_TEZ_W { TIMER0_TEZ_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn timer1_tez(&mut self) -> TIMER1_TEZ_W { TIMER1_TEZ_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn timer2_tez(&mut self) -> TIMER2_TEZ_W { TIMER2_TEZ_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn timer0_tep(&mut self) -> TIMER0_TEP_W { TIMER0_TEP_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn timer1_tep(&mut self) -> TIMER1_TEP_W { TIMER1_TEP_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn timer2_tep(&mut self) -> TIMER2_TEP_W { TIMER2_TEP_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn fault0(&mut self) -> FAULT0_W { FAULT0_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn fault1(&mut self) -> FAULT1_W { FAULT1_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn fault2(&mut self) -> FAULT2_W { FAULT2_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn fault0_clr(&mut self) -> FAULT0_CLR_W { FAULT0_CLR_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn fault1_clr(&mut self) -> FAULT1_CLR_W { FAULT1_CLR_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn fault2_clr(&mut self) -> FAULT2_CLR_W { FAULT2_CLR_W::new(self, 14) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn op0_tea(&mut self) -> OP0_TEA_W { OP0_TEA_W::new(self, 15) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn op1_tea(&mut self) -> OP1_TEA_W { OP1_TEA_W::new(self, 16) } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn op2_tea(&mut self) -> OP2_TEA_W { OP2_TEA_W::new(self, 17) } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn op0_teb(&mut self) -> OP0_TEB_W { OP0_TEB_W::new(self, 18) } #[doc = "Bit 19"] #[inline(always)] - #[must_use] pub fn op1_teb(&mut self) -> OP1_TEB_W { OP1_TEB_W::new(self, 19) } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn op2_teb(&mut self) -> OP2_TEB_W { OP2_TEB_W::new(self, 20) } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn fh0_cbc(&mut self) -> FH0_CBC_W { FH0_CBC_W::new(self, 21) } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn fh1_cbc(&mut self) -> FH1_CBC_W { FH1_CBC_W::new(self, 22) } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn fh2_cbc(&mut self) -> FH2_CBC_W { FH2_CBC_W::new(self, 23) } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn fh0_ost(&mut self) -> FH0_OST_W { FH0_OST_W::new(self, 24) } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn fh1_ost(&mut self) -> FH1_OST_W { FH1_OST_W::new(self, 25) } #[doc = "Bit 26"] #[inline(always)] - #[must_use] pub fn fh2_ost(&mut self) -> FH2_OST_W { FH2_OST_W::new(self, 26) } #[doc = "Bit 27"] #[inline(always)] - #[must_use] pub fn cap0(&mut self) -> CAP0_W { CAP0_W::new(self, 27) } #[doc = "Bit 28"] #[inline(always)] - #[must_use] pub fn cap1(&mut self) -> CAP1_W { CAP1_W::new(self, 28) } #[doc = "Bit 29"] #[inline(always)] - #[must_use] pub fn cap2(&mut self) -> CAP2_W { CAP2_W::new(self, 29) } diff --git a/esp32/src/mcpwm0/int_raw.rs b/esp32/src/mcpwm0/int_raw.rs index e4ce43b0f0..ec1de184c0 100644 --- a/esp32/src/mcpwm0/int_raw.rs +++ b/esp32/src/mcpwm0/int_raw.rs @@ -314,181 +314,151 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn timer0_stop(&mut self) -> TIMER0_STOP_W { TIMER0_STOP_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn timer1_stop(&mut self) -> TIMER1_STOP_W { TIMER1_STOP_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn timer2_stop(&mut self) -> TIMER2_STOP_W { TIMER2_STOP_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn timer0_tez(&mut self) -> TIMER0_TEZ_W { TIMER0_TEZ_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn timer1_tez(&mut self) -> TIMER1_TEZ_W { TIMER1_TEZ_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn timer2_tez(&mut self) -> TIMER2_TEZ_W { TIMER2_TEZ_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn timer0_tep(&mut self) -> TIMER0_TEP_W { TIMER0_TEP_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn timer1_tep(&mut self) -> TIMER1_TEP_W { TIMER1_TEP_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn timer2_tep(&mut self) -> TIMER2_TEP_W { TIMER2_TEP_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn fault0(&mut self) -> FAULT0_W { FAULT0_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn fault1(&mut self) -> FAULT1_W { FAULT1_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn fault2(&mut self) -> FAULT2_W { FAULT2_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn fault0_clr(&mut self) -> FAULT0_CLR_W { FAULT0_CLR_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn fault1_clr(&mut self) -> FAULT1_CLR_W { FAULT1_CLR_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn fault2_clr(&mut self) -> FAULT2_CLR_W { FAULT2_CLR_W::new(self, 14) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn op0_tea(&mut self) -> OP0_TEA_W { OP0_TEA_W::new(self, 15) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn op1_tea(&mut self) -> OP1_TEA_W { OP1_TEA_W::new(self, 16) } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn op2_tea(&mut self) -> OP2_TEA_W { OP2_TEA_W::new(self, 17) } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn op0_teb(&mut self) -> OP0_TEB_W { OP0_TEB_W::new(self, 18) } #[doc = "Bit 19"] #[inline(always)] - #[must_use] pub fn op1_teb(&mut self) -> OP1_TEB_W { OP1_TEB_W::new(self, 19) } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn op2_teb(&mut self) -> OP2_TEB_W { OP2_TEB_W::new(self, 20) } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn fh0_cbc(&mut self) -> FH0_CBC_W { FH0_CBC_W::new(self, 21) } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn fh1_cbc(&mut self) -> FH1_CBC_W { FH1_CBC_W::new(self, 22) } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn fh2_cbc(&mut self) -> FH2_CBC_W { FH2_CBC_W::new(self, 23) } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn fh0_ost(&mut self) -> FH0_OST_W { FH0_OST_W::new(self, 24) } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn fh1_ost(&mut self) -> FH1_OST_W { FH1_OST_W::new(self, 25) } #[doc = "Bit 26"] #[inline(always)] - #[must_use] pub fn fh2_ost(&mut self) -> FH2_OST_W { FH2_OST_W::new(self, 26) } #[doc = "Bit 27"] #[inline(always)] - #[must_use] pub fn cap0(&mut self) -> CAP0_W { CAP0_W::new(self, 27) } #[doc = "Bit 28"] #[inline(always)] - #[must_use] pub fn cap1(&mut self) -> CAP1_W { CAP1_W::new(self, 28) } #[doc = "Bit 29"] #[inline(always)] - #[must_use] pub fn cap2(&mut self) -> CAP2_W { CAP2_W::new(self, 29) } diff --git a/esp32/src/mcpwm0/operator_timersel.rs b/esp32/src/mcpwm0/operator_timersel.rs index e2d2381075..6f3772eb76 100644 --- a/esp32/src/mcpwm0/operator_timersel.rs +++ b/esp32/src/mcpwm0/operator_timersel.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn operator0_timersel(&mut self) -> OPERATOR0_TIMERSEL_W { OPERATOR0_TIMERSEL_W::new(self, 0) } #[doc = "Bits 2:3"] #[inline(always)] - #[must_use] pub fn operator1_timersel(&mut self) -> OPERATOR1_TIMERSEL_W { OPERATOR1_TIMERSEL_W::new(self, 2) } #[doc = "Bits 4:5"] #[inline(always)] - #[must_use] pub fn operator2_timersel(&mut self) -> OPERATOR2_TIMERSEL_W { OPERATOR2_TIMERSEL_W::new(self, 4) } diff --git a/esp32/src/mcpwm0/timer/cfg0.rs b/esp32/src/mcpwm0/timer/cfg0.rs index c4b747b3b2..d2f43b7af6 100644 --- a/esp32/src/mcpwm0/timer/cfg0.rs +++ b/esp32/src/mcpwm0/timer/cfg0.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn prescale(&mut self) -> PRESCALE_W { PRESCALE_W::new(self, 0) } #[doc = "Bits 8:23"] #[inline(always)] - #[must_use] pub fn period(&mut self) -> PERIOD_W { PERIOD_W::new(self, 8) } #[doc = "Bits 24:25"] #[inline(always)] - #[must_use] pub fn period_upmethod(&mut self) -> PERIOD_UPMETHOD_W { PERIOD_UPMETHOD_W::new(self, 24) } diff --git a/esp32/src/mcpwm0/timer/cfg1.rs b/esp32/src/mcpwm0/timer/cfg1.rs index 849cf4f497..b72cb46489 100644 --- a/esp32/src/mcpwm0/timer/cfg1.rs +++ b/esp32/src/mcpwm0/timer/cfg1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2"] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 0) } #[doc = "Bits 3:4"] #[inline(always)] - #[must_use] pub fn mod_(&mut self) -> MOD_W { MOD_W::new(self, 3) } diff --git a/esp32/src/mcpwm0/timer/sync.rs b/esp32/src/mcpwm0/timer/sync.rs index ff194dcc66..c6c5663d35 100644 --- a/esp32/src/mcpwm0/timer/sync.rs +++ b/esp32/src/mcpwm0/timer/sync.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn synci_en(&mut self) -> SYNCI_EN_W { SYNCI_EN_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn sw(&mut self) -> SW_W { SW_W::new(self, 1) } #[doc = "Bits 2:3"] #[inline(always)] - #[must_use] pub fn synco_sel(&mut self) -> SYNCO_SEL_W { SYNCO_SEL_W::new(self, 2) } #[doc = "Bits 4:19"] #[inline(always)] - #[must_use] pub fn phase(&mut self) -> PHASE_W { PHASE_W::new(self, 4) } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn phase_direction(&mut self) -> PHASE_DIRECTION_W { PHASE_DIRECTION_W::new(self, 20) } diff --git a/esp32/src/mcpwm0/timer_synci_cfg.rs b/esp32/src/mcpwm0/timer_synci_cfg.rs index 58375e6914..cab7693fc4 100644 --- a/esp32/src/mcpwm0/timer_synci_cfg.rs +++ b/esp32/src/mcpwm0/timer_synci_cfg.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2"] #[inline(always)] - #[must_use] pub fn timer0_syncisel(&mut self) -> TIMER0_SYNCISEL_W { TIMER0_SYNCISEL_W::new(self, 0) } #[doc = "Bits 3:5"] #[inline(always)] - #[must_use] pub fn timer1_syncisel(&mut self) -> TIMER1_SYNCISEL_W { TIMER1_SYNCISEL_W::new(self, 3) } #[doc = "Bits 6:8"] #[inline(always)] - #[must_use] pub fn timer2_syncisel(&mut self) -> TIMER2_SYNCISEL_W { TIMER2_SYNCISEL_W::new(self, 6) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn external_synci0_invert(&mut self) -> EXTERNAL_SYNCI0_INVERT_W { EXTERNAL_SYNCI0_INVERT_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn external_synci1_invert(&mut self) -> EXTERNAL_SYNCI1_INVERT_W { EXTERNAL_SYNCI1_INVERT_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn external_synci2_invert(&mut self) -> EXTERNAL_SYNCI2_INVERT_W { EXTERNAL_SYNCI2_INVERT_W::new(self, 11) } diff --git a/esp32/src/mcpwm0/update_cfg.rs b/esp32/src/mcpwm0/update_cfg.rs index 3b44a46987..2edba3f2f8 100644 --- a/esp32/src/mcpwm0/update_cfg.rs +++ b/esp32/src/mcpwm0/update_cfg.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn global_up_en(&mut self) -> GLOBAL_UP_EN_W { GLOBAL_UP_EN_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn global_force_up(&mut self) -> GLOBAL_FORCE_UP_W { GLOBAL_FORCE_UP_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn op0_up_en(&mut self) -> OP0_UP_EN_W { OP0_UP_EN_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn op0_force_up(&mut self) -> OP0_FORCE_UP_W { OP0_FORCE_UP_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn op1_up_en(&mut self) -> OP1_UP_EN_W { OP1_UP_EN_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn op1_force_up(&mut self) -> OP1_FORCE_UP_W { OP1_FORCE_UP_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn op2_up_en(&mut self) -> OP2_UP_EN_W { OP2_UP_EN_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn op2_force_up(&mut self) -> OP2_FORCE_UP_W { OP2_FORCE_UP_W::new(self, 7) } diff --git a/esp32/src/mcpwm0/version.rs b/esp32/src/mcpwm0/version.rs index 3e24142419..52c0d300f5 100644 --- a/esp32/src/mcpwm0/version.rs +++ b/esp32/src/mcpwm0/version.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32/src/nrx/nrxpd_ctrl.rs b/esp32/src/nrx/nrxpd_ctrl.rs index 43b5959bea..2254fe2e6d 100644 --- a/esp32/src/nrx/nrxpd_ctrl.rs +++ b/esp32/src/nrx/nrxpd_ctrl.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn demap_force_pd(&mut self) -> DEMAP_FORCE_PD_W { DEMAP_FORCE_PD_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn demap_force_pu(&mut self) -> DEMAP_FORCE_PU_W { DEMAP_FORCE_PU_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn vit_force_pd(&mut self) -> VIT_FORCE_PD_W { VIT_FORCE_PD_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn vit_force_pu(&mut self) -> VIT_FORCE_PU_W { VIT_FORCE_PU_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn rx_rot_force_pd(&mut self) -> RX_ROT_FORCE_PD_W { RX_ROT_FORCE_PD_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn rx_rot_force_pu(&mut self) -> RX_ROT_FORCE_PU_W { RX_ROT_FORCE_PU_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn chan_est_force_pd(&mut self) -> CHAN_EST_FORCE_PD_W { CHAN_EST_FORCE_PD_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn chan_est_force_pu(&mut self) -> CHAN_EST_FORCE_PU_W { CHAN_EST_FORCE_PU_W::new(self, 7) } diff --git a/esp32/src/pcnt/ctrl.rs b/esp32/src/pcnt/ctrl.rs index 16e9d06c41..5cbe1be7d5 100644 --- a/esp32/src/pcnt/ctrl.rs +++ b/esp32/src/pcnt/ctrl.rs @@ -160,7 +160,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CNT_RST_U0` field.
"] #[inline(always)] - #[must_use] pub fn cnt_rst_u(&mut self, n: u8) -> CNT_RST_U_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -168,49 +167,41 @@ impl W { } #[doc = "Bit 0 - Set this bit to clear unit0's counter."] #[inline(always)] - #[must_use] pub fn cnt_rst_u0(&mut self) -> CNT_RST_U_W { CNT_RST_U_W::new(self, 0) } #[doc = "Bit 2 - Set this bit to clear unit1's counter."] #[inline(always)] - #[must_use] pub fn cnt_rst_u1(&mut self) -> CNT_RST_U_W { CNT_RST_U_W::new(self, 2) } #[doc = "Bit 4 - Set this bit to clear unit2's counter."] #[inline(always)] - #[must_use] pub fn cnt_rst_u2(&mut self) -> CNT_RST_U_W { CNT_RST_U_W::new(self, 4) } #[doc = "Bit 6 - Set this bit to clear unit3's counter."] #[inline(always)] - #[must_use] pub fn cnt_rst_u3(&mut self) -> CNT_RST_U_W { CNT_RST_U_W::new(self, 6) } #[doc = "Bit 8 - Set this bit to clear unit4's counter."] #[inline(always)] - #[must_use] pub fn cnt_rst_u4(&mut self) -> CNT_RST_U_W { CNT_RST_U_W::new(self, 8) } #[doc = "Bit 10 - Set this bit to clear unit5's counter."] #[inline(always)] - #[must_use] pub fn cnt_rst_u5(&mut self) -> CNT_RST_U_W { CNT_RST_U_W::new(self, 10) } #[doc = "Bit 12 - Set this bit to clear unit6's counter."] #[inline(always)] - #[must_use] pub fn cnt_rst_u6(&mut self) -> CNT_RST_U_W { CNT_RST_U_W::new(self, 12) } #[doc = "Bit 14 - Set this bit to clear unit7's counter."] #[inline(always)] - #[must_use] pub fn cnt_rst_u7(&mut self) -> CNT_RST_U_W { CNT_RST_U_W::new(self, 14) } @@ -218,7 +209,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CNT_PAUSE_U0` field.
"] #[inline(always)] - #[must_use] pub fn cnt_pause_u(&mut self, n: u8) -> CNT_PAUSE_U_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -226,55 +216,46 @@ impl W { } #[doc = "Bit 1 - Set this bit to pause unit0's counter."] #[inline(always)] - #[must_use] pub fn cnt_pause_u0(&mut self) -> CNT_PAUSE_U_W { CNT_PAUSE_U_W::new(self, 1) } #[doc = "Bit 3 - Set this bit to pause unit1's counter."] #[inline(always)] - #[must_use] pub fn cnt_pause_u1(&mut self) -> CNT_PAUSE_U_W { CNT_PAUSE_U_W::new(self, 3) } #[doc = "Bit 5 - Set this bit to pause unit2's counter."] #[inline(always)] - #[must_use] pub fn cnt_pause_u2(&mut self) -> CNT_PAUSE_U_W { CNT_PAUSE_U_W::new(self, 5) } #[doc = "Bit 7 - Set this bit to pause unit3's counter."] #[inline(always)] - #[must_use] pub fn cnt_pause_u3(&mut self) -> CNT_PAUSE_U_W { CNT_PAUSE_U_W::new(self, 7) } #[doc = "Bit 9 - Set this bit to pause unit4's counter."] #[inline(always)] - #[must_use] pub fn cnt_pause_u4(&mut self) -> CNT_PAUSE_U_W { CNT_PAUSE_U_W::new(self, 9) } #[doc = "Bit 11 - Set this bit to pause unit5's counter."] #[inline(always)] - #[must_use] pub fn cnt_pause_u5(&mut self) -> CNT_PAUSE_U_W { CNT_PAUSE_U_W::new(self, 11) } #[doc = "Bit 13 - Set this bit to pause unit6's counter."] #[inline(always)] - #[must_use] pub fn cnt_pause_u6(&mut self) -> CNT_PAUSE_U_W { CNT_PAUSE_U_W::new(self, 13) } #[doc = "Bit 15 - Set this bit to pause unit7's counter."] #[inline(always)] - #[must_use] pub fn cnt_pause_u7(&mut self) -> CNT_PAUSE_U_W { CNT_PAUSE_U_W::new(self, 15) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 16) } diff --git a/esp32/src/pcnt/date.rs b/esp32/src/pcnt/date.rs index 9b8f9a14fa..291efa991d 100644 --- a/esp32/src/pcnt/date.rs +++ b/esp32/src/pcnt/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32/src/pcnt/int_clr.rs b/esp32/src/pcnt/int_clr.rs index 4138dd3cb4..2965ed9217 100644 --- a/esp32/src/pcnt/int_clr.rs +++ b/esp32/src/pcnt/int_clr.rs @@ -13,7 +13,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CNT_THR_EVENT_U0` field.
"] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u(&mut self, n: u8) -> CNT_THR_EVENT_U_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -21,49 +20,41 @@ impl W { } #[doc = "Bit 0 - Set this bit to clear channel0 event interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u0(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear channel1 event interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u1(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear channel2 event interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u2(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear channel3 event interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u3(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear channel4 event interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u4(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear channel5 event interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u5(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear channel6 event interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u6(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear channel7 event interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u7(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 7) } diff --git a/esp32/src/pcnt/int_ena.rs b/esp32/src/pcnt/int_ena.rs index 94ea93319c..80c9ef85bb 100644 --- a/esp32/src/pcnt/int_ena.rs +++ b/esp32/src/pcnt/int_ena.rs @@ -83,7 +83,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CNT_THR_EVENT_U0` field.
"] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u(&mut self, n: u8) -> CNT_THR_EVENT_U_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -91,49 +90,41 @@ impl W { } #[doc = "Bit 0 - This is the interrupt enable bit for channel0 event."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u0(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 0) } #[doc = "Bit 1 - This is the interrupt enable bit for channel1 event."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u1(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 1) } #[doc = "Bit 2 - This is the interrupt enable bit for channel2 event."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u2(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 2) } #[doc = "Bit 3 - This is the interrupt enable bit for channel3 event."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u3(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 3) } #[doc = "Bit 4 - This is the interrupt enable bit for channel4 event."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u4(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 4) } #[doc = "Bit 5 - This is the interrupt enable bit for channel5 event."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u5(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 5) } #[doc = "Bit 6 - This is the interrupt enable bit for channel6 event."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u6(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 6) } #[doc = "Bit 7 - This is the interrupt enable bit for channel7 event."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u7(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 7) } diff --git a/esp32/src/pcnt/u_status.rs b/esp32/src/pcnt/u_status.rs index 359137992e..3542a0cfc1 100644 --- a/esp32/src/pcnt/u_status.rs +++ b/esp32/src/pcnt/u_status.rs @@ -82,37 +82,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn zero_mode(&mut self) -> ZERO_MODE_W { ZERO_MODE_W::new(self, 0) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn thres1(&mut self) -> THRES1_W { THRES1_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn thres0(&mut self) -> THRES0_W { THRES0_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn l_lim(&mut self) -> L_LIM_W { L_LIM_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn h_lim(&mut self) -> H_LIM_W { H_LIM_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn zero(&mut self) -> ZERO_W { ZERO_W::new(self, 6) } diff --git a/esp32/src/pcnt/unit/conf0.rs b/esp32/src/pcnt/unit/conf0.rs index 1498ff1a54..0e0b1d3222 100644 --- a/esp32/src/pcnt/unit/conf0.rs +++ b/esp32/src/pcnt/unit/conf0.rs @@ -346,43 +346,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - This register is used to filter pluse whose width is smaller than this value for unit0."] #[inline(always)] - #[must_use] pub fn filter_thres(&mut self) -> FILTER_THRES_W { FILTER_THRES_W::new(self, 0) } #[doc = "Bit 10 - This is the enable bit for filtering input signals for unit0."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 10) } #[doc = "Bit 11 - This is the enable bit for comparing unit0's count with 0 value."] #[inline(always)] - #[must_use] pub fn thr_zero_en(&mut self) -> THR_ZERO_EN_W { THR_ZERO_EN_W::new(self, 11) } #[doc = "Bit 12 - This is the enable bit for comparing unit0's count with thr_h_lim value."] #[inline(always)] - #[must_use] pub fn thr_h_lim_en(&mut self) -> THR_H_LIM_EN_W { THR_H_LIM_EN_W::new(self, 12) } #[doc = "Bit 13 - This is the enable bit for comparing unit0's count with thr_l_lim value."] #[inline(always)] - #[must_use] pub fn thr_l_lim_en(&mut self) -> THR_L_LIM_EN_W { THR_L_LIM_EN_W::new(self, 13) } #[doc = "Bit 14 - This is the enable bit for comparing unit0's count with thres0 value."] #[inline(always)] - #[must_use] pub fn thr_thres0_en(&mut self) -> THR_THRES0_EN_W { THR_THRES0_EN_W::new(self, 14) } #[doc = "Bit 15 - This is the enable bit for comparing unit0's count with thres1 value ."] #[inline(always)] - #[must_use] pub fn thr_thres1_en(&mut self) -> THR_THRES1_EN_W { THR_THRES1_EN_W::new(self, 15) } @@ -390,7 +383,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_NEG_MODE` field.
"] #[inline(always)] - #[must_use] pub fn ch_neg_mode(&mut self, n: u8) -> CH_NEG_MODE_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -398,13 +390,11 @@ impl W { } #[doc = "Bits 16:17 - Configures the behavior when the signal input of channel 0 detects a negative edge."] #[inline(always)] - #[must_use] pub fn ch0_neg_mode(&mut self) -> CH_NEG_MODE_W { CH_NEG_MODE_W::new(self, 16) } #[doc = "Bits 24:25 - Configures the behavior when the signal input of channel 1 detects a negative edge."] #[inline(always)] - #[must_use] pub fn ch1_neg_mode(&mut self) -> CH_NEG_MODE_W { CH_NEG_MODE_W::new(self, 24) } @@ -412,7 +402,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_POS_MODE` field.
"] #[inline(always)] - #[must_use] pub fn ch_pos_mode(&mut self, n: u8) -> CH_POS_MODE_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -420,13 +409,11 @@ impl W { } #[doc = "Bits 18:19 - Configures the behavior when the signal input of channel 0 detects a positive edge."] #[inline(always)] - #[must_use] pub fn ch0_pos_mode(&mut self) -> CH_POS_MODE_W { CH_POS_MODE_W::new(self, 18) } #[doc = "Bits 26:27 - Configures the behavior when the signal input of channel 1 detects a positive edge."] #[inline(always)] - #[must_use] pub fn ch1_pos_mode(&mut self) -> CH_POS_MODE_W { CH_POS_MODE_W::new(self, 26) } @@ -434,7 +421,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_HCTRL_MODE` field.
"] #[inline(always)] - #[must_use] pub fn ch_hctrl_mode(&mut self, n: u8) -> CH_HCTRL_MODE_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -442,13 +428,11 @@ impl W { } #[doc = "Bits 20:21 - Configures how the CHn_POS_MODE/CHn_NEG_MODE settings will be modified when the control signal is high."] #[inline(always)] - #[must_use] pub fn ch0_hctrl_mode(&mut self) -> CH_HCTRL_MODE_W { CH_HCTRL_MODE_W::new(self, 20) } #[doc = "Bits 28:29 - Configures how the CHn_POS_MODE/CHn_NEG_MODE settings will be modified when the control signal is high."] #[inline(always)] - #[must_use] pub fn ch1_hctrl_mode(&mut self) -> CH_HCTRL_MODE_W { CH_HCTRL_MODE_W::new(self, 28) } @@ -456,7 +440,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_LCTRL_MODE` field.
"] #[inline(always)] - #[must_use] pub fn ch_lctrl_mode(&mut self, n: u8) -> CH_LCTRL_MODE_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -464,13 +447,11 @@ impl W { } #[doc = "Bits 22:23 - Configures how the CHn_POS_MODE/CHn_NEG_MODE settings will be modified when the control signal is low."] #[inline(always)] - #[must_use] pub fn ch0_lctrl_mode(&mut self) -> CH_LCTRL_MODE_W { CH_LCTRL_MODE_W::new(self, 22) } #[doc = "Bits 30:31 - Configures how the CHn_POS_MODE/CHn_NEG_MODE settings will be modified when the control signal is low."] #[inline(always)] - #[must_use] pub fn ch1_lctrl_mode(&mut self) -> CH_LCTRL_MODE_W { CH_LCTRL_MODE_W::new(self, 30) } diff --git a/esp32/src/pcnt/unit/conf1.rs b/esp32/src/pcnt/unit/conf1.rs index 9ef384eede..626be7f64d 100644 --- a/esp32/src/pcnt/unit/conf1.rs +++ b/esp32/src/pcnt/unit/conf1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure thres0 value for unit0."] #[inline(always)] - #[must_use] pub fn cnt_thres0(&mut self) -> CNT_THRES0_W { CNT_THRES0_W::new(self, 0) } #[doc = "Bits 16:31 - This register is used to configure thres1 value for unit0."] #[inline(always)] - #[must_use] pub fn cnt_thres1(&mut self) -> CNT_THRES1_W { CNT_THRES1_W::new(self, 16) } diff --git a/esp32/src/pcnt/unit/conf2.rs b/esp32/src/pcnt/unit/conf2.rs index 41a97b2fa4..de787b3cbe 100644 --- a/esp32/src/pcnt/unit/conf2.rs +++ b/esp32/src/pcnt/unit/conf2.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure thr_h_lim value for unit0."] #[inline(always)] - #[must_use] pub fn cnt_h_lim(&mut self) -> CNT_H_LIM_W { CNT_H_LIM_W::new(self, 0) } #[doc = "Bits 16:31 - This register is used to confiugre thr_l_lim value for unit0."] #[inline(always)] - #[must_use] pub fn cnt_l_lim(&mut self) -> CNT_L_LIM_W { CNT_L_LIM_W::new(self, 16) } diff --git a/esp32/src/rmt.rs b/esp32/src/rmt.rs index 43be64084f..309be40471 100644 --- a/esp32/src/rmt.rs +++ b/esp32/src/rmt.rs @@ -76,14 +76,25 @@ impl RegisterBlock { pub const fn chconf0(&self, n: usize) -> &CHCONF0 { #[allow(clippy::no_effect)] [(); 8][n]; - unsafe { &*(self as *const Self).cast::().add(32).add(8 * n).cast() } + unsafe { + &*core::ptr::from_ref(self) + .cast::() + .add(32) + .add(8 * n) + .cast() + } } #[doc = "Iterator for array of:"] #[doc = "0x20..0x40 - "] #[inline(always)] pub fn chconf0_iter(&self) -> impl Iterator { - (0..8) - .map(move |n| unsafe { &*(self as *const Self).cast::().add(32).add(8 * n).cast() }) + (0..8).map(move |n| unsafe { + &*core::ptr::from_ref(self) + .cast::() + .add(32) + .add(8 * n) + .cast() + }) } #[doc = "0x20 - CH0CONF0"] #[inline(always)] @@ -130,14 +141,25 @@ impl RegisterBlock { pub const fn chconf1(&self, n: usize) -> &CHCONF1 { #[allow(clippy::no_effect)] [(); 8][n]; - unsafe { &*(self as *const Self).cast::().add(36).add(8 * n).cast() } + unsafe { + &*core::ptr::from_ref(self) + .cast::() + .add(36) + .add(8 * n) + .cast() + } } #[doc = "Iterator for array of:"] #[doc = "0x24..0x44 - "] #[inline(always)] pub fn chconf1_iter(&self) -> impl Iterator { - (0..8) - .map(move |n| unsafe { &*(self as *const Self).cast::().add(36).add(8 * n).cast() }) + (0..8).map(move |n| unsafe { + &*core::ptr::from_ref(self) + .cast::() + .add(36) + .add(8 * n) + .cast() + }) } #[doc = "0x24 - CH0CONF1"] #[inline(always)] diff --git a/esp32/src/rmt/apb_conf.rs b/esp32/src/rmt/apb_conf.rs index 75df5108cb..b1c9ca78f2 100644 --- a/esp32/src/rmt/apb_conf.rs +++ b/esp32/src/rmt/apb_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to disable apb fifo access"] #[inline(always)] - #[must_use] pub fn apb_fifo_mask(&mut self) -> APB_FIFO_MASK_W { APB_FIFO_MASK_W::new(self, 0) } #[doc = "Bit 1 - when datas need to be send is more than channel's mem can store then set this bit to enable reusage of mem this bit is used together with reg_rmt_tx_lim_chn."] #[inline(always)] - #[must_use] pub fn mem_tx_wrap_en(&mut self) -> MEM_TX_WRAP_EN_W { MEM_TX_WRAP_EN_W::new(self, 1) } diff --git a/esp32/src/rmt/ch_tx_lim.rs b/esp32/src/rmt/ch_tx_lim.rs index de2e337de7..939ae2edef 100644 --- a/esp32/src/rmt/ch_tx_lim.rs +++ b/esp32/src/rmt/ch_tx_lim.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - When channel0 sends more than reg_rmt_tx_lim_ch0 datas then channel0 produce the relative interrupt."] #[inline(always)] - #[must_use] pub fn tx_lim(&mut self) -> TX_LIM_W { TX_LIM_W::new(self, 0) } diff --git a/esp32/src/rmt/chcarrier_duty.rs b/esp32/src/rmt/chcarrier_duty.rs index a77cf3ca47..3578a8618c 100644 --- a/esp32/src/rmt/chcarrier_duty.rs +++ b/esp32/src/rmt/chcarrier_duty.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure carrier wave's low level value for channel0."] #[inline(always)] - #[must_use] pub fn carrier_low(&mut self) -> CARRIER_LOW_W { CARRIER_LOW_W::new(self, 0) } #[doc = "Bits 16:31 - This register is used to configure carrier wave's high level value for channel0."] #[inline(always)] - #[must_use] pub fn carrier_high(&mut self) -> CARRIER_HIGH_W { CARRIER_HIGH_W::new(self, 16) } diff --git a/esp32/src/rmt/chconf0.rs b/esp32/src/rmt/chconf0.rs index 27a9d13be8..727b995b1f 100644 --- a/esp32/src/rmt/chconf0.rs +++ b/esp32/src/rmt/chconf0.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register is used to configure the frequency divider's factor in channel0."] #[inline(always)] - #[must_use] pub fn div_cnt(&mut self) -> DIV_CNT_W { DIV_CNT_W::new(self, 0) } #[doc = "Bits 8:23 - In receive mode when no edge is detected on the input signal for longer than reg_idle_thres_ch0 then the receive process is done."] #[inline(always)] - #[must_use] pub fn idle_thres(&mut self) -> IDLE_THRES_W { IDLE_THRES_W::new(self, 8) } #[doc = "Bits 24:27 - This register is used to configure the the amount of memory blocks allocated to channel0."] #[inline(always)] - #[must_use] pub fn mem_size(&mut self) -> MEM_SIZE_W { MEM_SIZE_W::new(self, 24) } #[doc = "Bit 28 - This is the carrier modulation enable control bit for channel0."] #[inline(always)] - #[must_use] pub fn carrier_en(&mut self) -> CARRIER_EN_W { CARRIER_EN_W::new(self, 28) } #[doc = "Bit 29 - This bit is used to configure the way carrier wave is modulated for channel0.1'b1:transmit on low output level 1'b0:transmit on high output level."] #[inline(always)] - #[must_use] pub fn carrier_out_lv(&mut self) -> CARRIER_OUT_LV_W { CARRIER_OUT_LV_W::new(self, 29) } #[doc = "Bit 30 - This bit is used to reduce power consumed by mem. 1:mem is in low power state."] #[inline(always)] - #[must_use] pub fn mem_pd(&mut self) -> MEM_PD_W { MEM_PD_W::new(self, 30) } #[doc = "Bit 31 - This bit is used to control clock.when software config RMT internal registers it controls the register clock."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32/src/rmt/chconf1.rs b/esp32/src/rmt/chconf1.rs index 7fb2ce9d5f..98d568047f 100644 --- a/esp32/src/rmt/chconf1.rs +++ b/esp32/src/rmt/chconf1.rs @@ -144,79 +144,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to start sending data for channel0."] #[inline(always)] - #[must_use] pub fn tx_start(&mut self) -> TX_START_W { TX_START_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to enbale receving data for channel0."] #[inline(always)] - #[must_use] pub fn rx_en(&mut self) -> RX_EN_W { RX_EN_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to reset write ram address for channel0 by receiver access."] #[inline(always)] - #[must_use] pub fn mem_wr_rst(&mut self) -> MEM_WR_RST_W { MEM_WR_RST_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to reset read ram address for channel0 by transmitter access."] #[inline(always)] - #[must_use] pub fn mem_rd_rst(&mut self) -> MEM_RD_RST_W { MEM_RD_RST_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to reset W/R ram address for channel0 by apb fifo access"] #[inline(always)] - #[must_use] pub fn apb_mem_rst(&mut self) -> APB_MEM_RST_W { APB_MEM_RST_W::new(self, 4) } #[doc = "Bit 5 - This is the mark of channel0's ram usage right.1'b1:receiver uses the ram 0:transmitter uses the ram"] #[inline(always)] - #[must_use] pub fn mem_owner(&mut self) -> MEM_OWNER_W { MEM_OWNER_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to continue sending from the first data to the last data in channel0 again and again."] #[inline(always)] - #[must_use] pub fn tx_conti_mode(&mut self) -> TX_CONTI_MODE_W { TX_CONTI_MODE_W::new(self, 6) } #[doc = "Bit 7 - This is the receive filter enable bit for channel0."] #[inline(always)] - #[must_use] pub fn rx_filter_en(&mut self) -> RX_FILTER_EN_W { RX_FILTER_EN_W::new(self, 7) } #[doc = "Bits 8:15 - in receive mode channel0 ignore input pulse when the pulse width is smaller then this value."] #[inline(always)] - #[must_use] pub fn rx_filter_thres(&mut self) -> RX_FILTER_THRES_W { RX_FILTER_THRES_W::new(self, 8) } #[doc = "Bit 16 - This bit is used to reset divider in channel0."] #[inline(always)] - #[must_use] pub fn ref_cnt_rst(&mut self) -> REF_CNT_RST_W { REF_CNT_RST_W::new(self, 16) } #[doc = "Bit 17 - This bit is used to select base clock. 1'b1:clk_apb 1'b0:clk_ref"] #[inline(always)] - #[must_use] pub fn ref_always_on(&mut self) -> REF_ALWAYS_ON_W { REF_ALWAYS_ON_W::new(self, 17) } #[doc = "Bit 18 - This bit configures the output signal's level for channel0 in IDLE state."] #[inline(always)] - #[must_use] pub fn idle_out_lv(&mut self) -> IDLE_OUT_LV_W { IDLE_OUT_LV_W::new(self, 18) } #[doc = "Bit 19 - This is the output enable control bit for channel0 in IDLE state."] #[inline(always)] - #[must_use] pub fn idle_out_en(&mut self) -> IDLE_OUT_EN_W { IDLE_OUT_EN_W::new(self, 19) } diff --git a/esp32/src/rmt/date.rs b/esp32/src/rmt/date.rs index 2d0a9e956c..9d239b066e 100644 --- a/esp32/src/rmt/date.rs +++ b/esp32/src/rmt/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This is the version register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32/src/rmt/int_clr.rs b/esp32/src/rmt/int_clr.rs index 7fb0bc90f7..e8f1b14bfb 100644 --- a/esp32/src/rmt/int_clr.rs +++ b/esp32/src/rmt/int_clr.rs @@ -19,7 +19,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_END` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_end(&mut self, n: u8) -> CH_TX_END_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -27,49 +26,41 @@ impl W { } #[doc = "Bit 0 - Set this bit to clear the rmt_ch0_rx_end_int_raw.."] #[inline(always)] - #[must_use] pub fn ch0_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 0) } #[doc = "Bit 3 - Set this bit to clear the rmt_ch1_rx_end_int_raw.."] #[inline(always)] - #[must_use] pub fn ch1_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 3) } #[doc = "Bit 6 - Set this bit to clear the rmt_ch2_rx_end_int_raw.."] #[inline(always)] - #[must_use] pub fn ch2_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 6) } #[doc = "Bit 9 - Set this bit to clear the rmt_ch3_rx_end_int_raw.."] #[inline(always)] - #[must_use] pub fn ch3_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 9) } #[doc = "Bit 12 - Set this bit to clear the rmt_ch4_rx_end_int_raw.."] #[inline(always)] - #[must_use] pub fn ch4_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 12) } #[doc = "Bit 15 - Set this bit to clear the rmt_ch5_rx_end_int_raw.."] #[inline(always)] - #[must_use] pub fn ch5_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 15) } #[doc = "Bit 18 - Set this bit to clear the rmt_ch6_rx_end_int_raw.."] #[inline(always)] - #[must_use] pub fn ch6_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 18) } #[doc = "Bit 21 - Set this bit to clear the rmt_ch7_rx_end_int_raw.."] #[inline(always)] - #[must_use] pub fn ch7_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 21) } @@ -77,7 +68,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_RX_END` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_end(&mut self, n: u8) -> CH_RX_END_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -85,49 +75,41 @@ impl W { } #[doc = "Bit 1 - Set this bit to clear the rmt_ch0_tx_end_int_raw."] #[inline(always)] - #[must_use] pub fn ch0_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 1) } #[doc = "Bit 4 - Set this bit to clear the rmt_ch1_tx_end_int_raw."] #[inline(always)] - #[must_use] pub fn ch1_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 4) } #[doc = "Bit 7 - Set this bit to clear the rmt_ch2_tx_end_int_raw."] #[inline(always)] - #[must_use] pub fn ch2_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 7) } #[doc = "Bit 10 - Set this bit to clear the rmt_ch3_tx_end_int_raw."] #[inline(always)] - #[must_use] pub fn ch3_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 10) } #[doc = "Bit 13 - Set this bit to clear the rmt_ch4_tx_end_int_raw."] #[inline(always)] - #[must_use] pub fn ch4_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 13) } #[doc = "Bit 16 - Set this bit to clear the rmt_ch5_tx_end_int_raw."] #[inline(always)] - #[must_use] pub fn ch5_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 16) } #[doc = "Bit 19 - Set this bit to clear the rmt_ch6_tx_end_int_raw."] #[inline(always)] - #[must_use] pub fn ch6_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 19) } #[doc = "Bit 22 - Set this bit to clear the rmt_ch7_tx_end_int_raw."] #[inline(always)] - #[must_use] pub fn ch7_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 22) } @@ -135,7 +117,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_ERR` field.
"] #[inline(always)] - #[must_use] pub fn ch_err(&mut self, n: u8) -> CH_ERR_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -143,49 +124,41 @@ impl W { } #[doc = "Bit 2 - Set this bit to clear the rmt_ch0_err_int_raw."] #[inline(always)] - #[must_use] pub fn ch0_err(&mut self) -> CH_ERR_W { CH_ERR_W::new(self, 2) } #[doc = "Bit 5 - Set this bit to clear the rmt_ch1_err_int_raw."] #[inline(always)] - #[must_use] pub fn ch1_err(&mut self) -> CH_ERR_W { CH_ERR_W::new(self, 5) } #[doc = "Bit 8 - Set this bit to clear the rmt_ch2_err_int_raw."] #[inline(always)] - #[must_use] pub fn ch2_err(&mut self) -> CH_ERR_W { CH_ERR_W::new(self, 8) } #[doc = "Bit 11 - Set this bit to clear the rmt_ch3_err_int_raw."] #[inline(always)] - #[must_use] pub fn ch3_err(&mut self) -> CH_ERR_W { CH_ERR_W::new(self, 11) } #[doc = "Bit 14 - Set this bit to clear the rmt_ch4_err_int_raw."] #[inline(always)] - #[must_use] pub fn ch4_err(&mut self) -> CH_ERR_W { CH_ERR_W::new(self, 14) } #[doc = "Bit 17 - Set this bit to clear the rmt_ch5_err_int_raw."] #[inline(always)] - #[must_use] pub fn ch5_err(&mut self) -> CH_ERR_W { CH_ERR_W::new(self, 17) } #[doc = "Bit 20 - Set this bit to clear the rmt_ch6_err_int_raw."] #[inline(always)] - #[must_use] pub fn ch6_err(&mut self) -> CH_ERR_W { CH_ERR_W::new(self, 20) } #[doc = "Bit 23 - Set this bit to clear the rmt_ch7_err_int_raw."] #[inline(always)] - #[must_use] pub fn ch7_err(&mut self) -> CH_ERR_W { CH_ERR_W::new(self, 23) } @@ -193,7 +166,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_THR_EVENT` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_thr_event(&mut self, n: u8) -> CH_TX_THR_EVENT_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -201,49 +173,41 @@ impl W { } #[doc = "Bit 24 - Set this bit to clear the rmt_ch0_tx_thr_event_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn ch0_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 24) } #[doc = "Bit 25 - Set this bit to clear the rmt_ch1_tx_thr_event_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn ch1_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 25) } #[doc = "Bit 26 - Set this bit to clear the rmt_ch2_tx_thr_event_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn ch2_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 26) } #[doc = "Bit 27 - Set this bit to clear the rmt_ch3_tx_thr_event_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn ch3_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 27) } #[doc = "Bit 28 - Set this bit to clear the rmt_ch4_tx_thr_event_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn ch4_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 28) } #[doc = "Bit 29 - Set this bit to clear the rmt_ch5_tx_thr_event_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn ch5_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 29) } #[doc = "Bit 30 - Set this bit to clear the rmt_ch6_tx_thr_event_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn ch6_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 30) } #[doc = "Bit 31 - Set this bit to clear the rmt_ch7_tx_thr_event_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn ch7_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 31) } diff --git a/esp32/src/rmt/int_ena.rs b/esp32/src/rmt/int_ena.rs index 6195b8ed4c..07904877a8 100644 --- a/esp32/src/rmt/int_ena.rs +++ b/esp32/src/rmt/int_ena.rs @@ -284,7 +284,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_END` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_end(&mut self, n: u8) -> CH_TX_END_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -292,49 +291,41 @@ impl W { } #[doc = "Bit 0 - Set this bit to enable rmt_ch0_tx_end_int_st."] #[inline(always)] - #[must_use] pub fn ch0_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 0) } #[doc = "Bit 3 - Set this bit to enable rmt_ch1_tx_end_int_st."] #[inline(always)] - #[must_use] pub fn ch1_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 3) } #[doc = "Bit 6 - Set this bit to enable rmt_ch2_tx_end_int_st."] #[inline(always)] - #[must_use] pub fn ch2_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 6) } #[doc = "Bit 9 - Set this bit to enable rmt_ch3_tx_end_int_st."] #[inline(always)] - #[must_use] pub fn ch3_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 9) } #[doc = "Bit 12 - Set this bit to enable rmt_ch4_tx_end_int_st."] #[inline(always)] - #[must_use] pub fn ch4_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 12) } #[doc = "Bit 15 - Set this bit to enable rmt_ch5_tx_end_int_st."] #[inline(always)] - #[must_use] pub fn ch5_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 15) } #[doc = "Bit 18 - Set this bit to enable rmt_ch6_tx_end_int_st."] #[inline(always)] - #[must_use] pub fn ch6_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 18) } #[doc = "Bit 21 - Set this bit to enable rmt_ch7_tx_end_int_st."] #[inline(always)] - #[must_use] pub fn ch7_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 21) } @@ -342,7 +333,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_RX_END` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_end(&mut self, n: u8) -> CH_RX_END_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -350,49 +340,41 @@ impl W { } #[doc = "Bit 1 - Set this bit to enable rmt_ch0_rx_end_int_st."] #[inline(always)] - #[must_use] pub fn ch0_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 1) } #[doc = "Bit 4 - Set this bit to enable rmt_ch1_rx_end_int_st."] #[inline(always)] - #[must_use] pub fn ch1_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 4) } #[doc = "Bit 7 - Set this bit to enable rmt_ch2_rx_end_int_st."] #[inline(always)] - #[must_use] pub fn ch2_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 7) } #[doc = "Bit 10 - Set this bit to enable rmt_ch3_rx_end_int_st."] #[inline(always)] - #[must_use] pub fn ch3_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 10) } #[doc = "Bit 13 - Set this bit to enable rmt_ch4_rx_end_int_st."] #[inline(always)] - #[must_use] pub fn ch4_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 13) } #[doc = "Bit 16 - Set this bit to enable rmt_ch5_rx_end_int_st."] #[inline(always)] - #[must_use] pub fn ch5_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 16) } #[doc = "Bit 19 - Set this bit to enable rmt_ch6_rx_end_int_st."] #[inline(always)] - #[must_use] pub fn ch6_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 19) } #[doc = "Bit 22 - Set this bit to enable rmt_ch7_rx_end_int_st."] #[inline(always)] - #[must_use] pub fn ch7_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 22) } @@ -400,7 +382,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_ERR` field.
"] #[inline(always)] - #[must_use] pub fn ch_err(&mut self, n: u8) -> CH_ERR_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -408,49 +389,41 @@ impl W { } #[doc = "Bit 2 - Set this bit to enable rmt_ch0_err_int_st."] #[inline(always)] - #[must_use] pub fn ch0_err(&mut self) -> CH_ERR_W { CH_ERR_W::new(self, 2) } #[doc = "Bit 5 - Set this bit to enable rmt_ch1_err_int_st."] #[inline(always)] - #[must_use] pub fn ch1_err(&mut self) -> CH_ERR_W { CH_ERR_W::new(self, 5) } #[doc = "Bit 8 - Set this bit to enable rmt_ch2_err_int_st."] #[inline(always)] - #[must_use] pub fn ch2_err(&mut self) -> CH_ERR_W { CH_ERR_W::new(self, 8) } #[doc = "Bit 11 - Set this bit to enable rmt_ch3_err_int_st."] #[inline(always)] - #[must_use] pub fn ch3_err(&mut self) -> CH_ERR_W { CH_ERR_W::new(self, 11) } #[doc = "Bit 14 - Set this bit to enable rmt_ch4_err_int_st."] #[inline(always)] - #[must_use] pub fn ch4_err(&mut self) -> CH_ERR_W { CH_ERR_W::new(self, 14) } #[doc = "Bit 17 - Set this bit to enable rmt_ch5_err_int_st."] #[inline(always)] - #[must_use] pub fn ch5_err(&mut self) -> CH_ERR_W { CH_ERR_W::new(self, 17) } #[doc = "Bit 20 - Set this bit to enable rmt_ch6_err_int_st."] #[inline(always)] - #[must_use] pub fn ch6_err(&mut self) -> CH_ERR_W { CH_ERR_W::new(self, 20) } #[doc = "Bit 23 - Set this bit to enable rmt_ch7_err_int_st."] #[inline(always)] - #[must_use] pub fn ch7_err(&mut self) -> CH_ERR_W { CH_ERR_W::new(self, 23) } @@ -458,7 +431,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_THR_EVENT` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_thr_event(&mut self, n: u8) -> CH_TX_THR_EVENT_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -466,49 +438,41 @@ impl W { } #[doc = "Bit 24 - Set this bit to enable rmt_ch0_tx_thr_event_int_st."] #[inline(always)] - #[must_use] pub fn ch0_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 24) } #[doc = "Bit 25 - Set this bit to enable rmt_ch1_tx_thr_event_int_st."] #[inline(always)] - #[must_use] pub fn ch1_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 25) } #[doc = "Bit 26 - Set this bit to enable rmt_ch2_tx_thr_event_int_st."] #[inline(always)] - #[must_use] pub fn ch2_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 26) } #[doc = "Bit 27 - Set this bit to enable rmt_ch3_tx_thr_event_int_st."] #[inline(always)] - #[must_use] pub fn ch3_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 27) } #[doc = "Bit 28 - Set this bit to enable rmt_ch4_tx_thr_event_int_st."] #[inline(always)] - #[must_use] pub fn ch4_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 28) } #[doc = "Bit 29 - Set this bit to enable rmt_ch5_tx_thr_event_int_st."] #[inline(always)] - #[must_use] pub fn ch5_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 29) } #[doc = "Bit 30 - Set this bit to enable rmt_ch6_tx_thr_event_int_st."] #[inline(always)] - #[must_use] pub fn ch6_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 30) } #[doc = "Bit 31 - Set this bit to enable rmt_ch7_tx_thr_event_int_st."] #[inline(always)] - #[must_use] pub fn ch7_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 31) } diff --git a/esp32/src/rsa/interrupt.rs b/esp32/src/rsa/interrupt.rs index 0afff10a22..6effb34647 100644 --- a/esp32/src/rsa/interrupt.rs +++ b/esp32/src/rsa/interrupt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - RSA interrupt status register. Will read 1 once an operation has completed."] #[inline(always)] - #[must_use] pub fn interrupt(&mut self) -> INTERRUPT_W { INTERRUPT_W::new(self, 0) } diff --git a/esp32/src/rsa/m_prime.rs b/esp32/src/rsa/m_prime.rs index e7efc49a80..2d9c243ee5 100644 --- a/esp32/src/rsa/m_prime.rs +++ b/esp32/src/rsa/m_prime.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register contains M’."] #[inline(always)] - #[must_use] pub fn m_prime(&mut self) -> M_PRIME_W { M_PRIME_W::new(self, 0) } diff --git a/esp32/src/rsa/modexp_mode.rs b/esp32/src/rsa/modexp_mode.rs index 844c718457..9155a05422 100644 --- a/esp32/src/rsa/modexp_mode.rs +++ b/esp32/src/rsa/modexp_mode.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - This register contains the mode of modular exponentiation."] #[inline(always)] - #[must_use] pub fn modexp_mode(&mut self) -> MODEXP_MODE_W { MODEXP_MODE_W::new(self, 0) } diff --git a/esp32/src/rsa/modexp_start.rs b/esp32/src/rsa/modexp_start.rs index 0354439324..d28ab61ff4 100644 --- a/esp32/src/rsa/modexp_start.rs +++ b/esp32/src/rsa/modexp_start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to start modular exponentiation."] #[inline(always)] - #[must_use] pub fn modexp_start(&mut self) -> MODEXP_START_W { MODEXP_START_W::new(self, 0) } diff --git a/esp32/src/rsa/mult_mode.rs b/esp32/src/rsa/mult_mode.rs index 637b277170..fa71efb0c9 100644 --- a/esp32/src/rsa/mult_mode.rs +++ b/esp32/src/rsa/mult_mode.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - This register contains the mode of modular multiplication and multiplication."] #[inline(always)] - #[must_use] pub fn mult_mode(&mut self) -> MULT_MODE_W { MULT_MODE_W::new(self, 0) } diff --git a/esp32/src/rsa/mult_start.rs b/esp32/src/rsa/mult_start.rs index 9258fd98f8..83d6bb2e03 100644 --- a/esp32/src/rsa/mult_start.rs +++ b/esp32/src/rsa/mult_start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to start modular multiplication or multiplication."] #[inline(always)] - #[must_use] pub fn mult_start(&mut self) -> MULT_START_W { MULT_START_W::new(self, 0) } diff --git a/esp32/src/rtc_cntl/ana_conf.rs b/esp32/src/rtc_cntl/ana_conf.rs index dfe4abdba2..874d07ade2 100644 --- a/esp32/src/rtc_cntl/ana_conf.rs +++ b/esp32/src/rtc_cntl/ana_conf.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 23 - PLLA force power down"] #[inline(always)] - #[must_use] pub fn plla_force_pd(&mut self) -> PLLA_FORCE_PD_W { PLLA_FORCE_PD_W::new(self, 23) } #[doc = "Bit 24 - PLLA force power up"] #[inline(always)] - #[must_use] pub fn plla_force_pu(&mut self) -> PLLA_FORCE_PU_W { PLLA_FORCE_PU_W::new(self, 24) } #[doc = "Bit 25 - start BBPLL calibration during sleep"] #[inline(always)] - #[must_use] pub fn bbpll_cal_slp_start(&mut self) -> BBPLL_CAL_SLP_START_W { BBPLL_CAL_SLP_START_W::new(self, 25) } #[doc = "Bit 26 - 1: PVTMON power up otherwise power down"] #[inline(always)] - #[must_use] pub fn pvtmon_pu(&mut self) -> PVTMON_PU_W { PVTMON_PU_W::new(self, 26) } #[doc = "Bit 27 - 1: TXRF_I2C power up otherwise power down"] #[inline(always)] - #[must_use] pub fn txrf_i2c_pu(&mut self) -> TXRF_I2C_PU_W { TXRF_I2C_PU_W::new(self, 27) } #[doc = "Bit 28 - 1: RFRX_PBUS power up otherwise power down"] #[inline(always)] - #[must_use] pub fn rfrx_pbus_pu(&mut self) -> RFRX_PBUS_PU_W { RFRX_PBUS_PU_W::new(self, 28) } #[doc = "Bit 30 - 1: CKGEN_I2C power up otherwise power down"] #[inline(always)] - #[must_use] pub fn ckgen_i2c_pu(&mut self) -> CKGEN_I2C_PU_W { CKGEN_I2C_PU_W::new(self, 30) } #[doc = "Bit 31 - 1: PLL_I2C power up otherwise power down"] #[inline(always)] - #[must_use] pub fn pll_i2c_pu(&mut self) -> PLL_I2C_PU_W { PLL_I2C_PU_W::new(self, 31) } diff --git a/esp32/src/rtc_cntl/bias_conf.rs b/esp32/src/rtc_cntl/bias_conf.rs index 5836eb2961..afc674fd43 100644 --- a/esp32/src/rtc_cntl/bias_conf.rs +++ b/esp32/src/rtc_cntl/bias_conf.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 24:25 - DBG_ATTEN"] #[inline(always)] - #[must_use] pub fn dbg_atten(&mut self) -> DBG_ATTEN_W { DBG_ATTEN_W::new(self, 24) } #[doc = "Bit 26 - ENB_SCK_XTAL"] #[inline(always)] - #[must_use] pub fn enb_sck_xtal(&mut self) -> ENB_SCK_XTAL_W { ENB_SCK_XTAL_W::new(self, 26) } #[doc = "Bit 27 - INC_HEARTBEAT_REFRESH"] #[inline(always)] - #[must_use] pub fn inc_heartbeat_refresh(&mut self) -> INC_HEARTBEAT_REFRESH_W { INC_HEARTBEAT_REFRESH_W::new(self, 27) } #[doc = "Bit 28 - DEC_HEARTBEAT_PERIOD"] #[inline(always)] - #[must_use] pub fn dec_heartbeat_period(&mut self) -> DEC_HEARTBEAT_PERIOD_W { DEC_HEARTBEAT_PERIOD_W::new(self, 28) } #[doc = "Bit 29 - INC_HEARTBEAT_PERIOD"] #[inline(always)] - #[must_use] pub fn inc_heartbeat_period(&mut self) -> INC_HEARTBEAT_PERIOD_W { INC_HEARTBEAT_PERIOD_W::new(self, 29) } #[doc = "Bit 30 - DEC_HEARTBEAT_WIDTH"] #[inline(always)] - #[must_use] pub fn dec_heartbeat_width(&mut self) -> DEC_HEARTBEAT_WIDTH_W { DEC_HEARTBEAT_WIDTH_W::new(self, 30) } #[doc = "Bit 31 - RST_BIAS_I2C"] #[inline(always)] - #[must_use] pub fn rst_bias_i2c(&mut self) -> RST_BIAS_I2C_W { RST_BIAS_I2C_W::new(self, 31) } diff --git a/esp32/src/rtc_cntl/brown_out.rs b/esp32/src/rtc_cntl/brown_out.rs index ed2c8335fa..2472adeafa 100644 --- a/esp32/src/rtc_cntl/brown_out.rs +++ b/esp32/src/rtc_cntl/brown_out.rs @@ -132,67 +132,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn rtc_mem_pid_conf(&mut self) -> RTC_MEM_PID_CONF_W { RTC_MEM_PID_CONF_W::new(self, 0) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn rtc_mem_crc_start(&mut self) -> RTC_MEM_CRC_START_W { RTC_MEM_CRC_START_W::new(self, 8) } #[doc = "Bits 9:19"] #[inline(always)] - #[must_use] pub fn rtc_mem_crc_addr(&mut self) -> RTC_MEM_CRC_ADDR_W { RTC_MEM_CRC_ADDR_W::new(self, 9) } #[doc = "Bit 14 - enable close flash when brown out happens"] #[inline(always)] - #[must_use] pub fn close_flash_ena(&mut self) -> CLOSE_FLASH_ENA_W { CLOSE_FLASH_ENA_W::new(self, 14) } #[doc = "Bit 15 - enable power down RF when brown out happens"] #[inline(always)] - #[must_use] pub fn pd_rf_ena(&mut self) -> PD_RF_ENA_W { PD_RF_ENA_W::new(self, 15) } #[doc = "Bits 16:25 - brown out reset wait cycles"] #[inline(always)] - #[must_use] pub fn rst_wait(&mut self) -> RST_WAIT_W { RST_WAIT_W::new(self, 16) } #[doc = "Bits 20:30"] #[inline(always)] - #[must_use] pub fn rtc_mem_crc_len(&mut self) -> RTC_MEM_CRC_LEN_W { RTC_MEM_CRC_LEN_W::new(self, 20) } #[doc = "Bit 26 - enable brown out reset"] #[inline(always)] - #[must_use] pub fn rst_ena(&mut self) -> RST_ENA_W { RST_ENA_W::new(self, 26) } #[doc = "Bits 27:29 - brown out threshold"] #[inline(always)] - #[must_use] pub fn dbrown_out_thres(&mut self) -> DBROWN_OUT_THRES_W { DBROWN_OUT_THRES_W::new(self, 27) } #[doc = "Bit 30 - enable brown out"] #[inline(always)] - #[must_use] pub fn ena(&mut self) -> ENA_W { ENA_W::new(self, 30) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn rtc_mem_crc_finish(&mut self) -> RTC_MEM_CRC_FINISH_W { RTC_MEM_CRC_FINISH_W::new(self, 31) } diff --git a/esp32/src/rtc_cntl/clk_conf.rs b/esp32/src/rtc_cntl/clk_conf.rs index 4a0d5db2ad..1055ac860c 100644 --- a/esp32/src/rtc_cntl/clk_conf.rs +++ b/esp32/src/rtc_cntl/clk_conf.rs @@ -510,97 +510,81 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 4:5 - CK8M_D256_OUT divider. 00: div128 01: div256 10: div512 11: div1024."] #[inline(always)] - #[must_use] pub fn ck8m_div(&mut self) -> CK8M_DIV_W { CK8M_DIV_W::new(self, 4) } #[doc = "Bit 6 - disable CK8M and CK8M_D256_OUT"] #[inline(always)] - #[must_use] pub fn enb_ck8m(&mut self) -> ENB_CK8M_W { ENB_CK8M_W::new(self, 6) } #[doc = "Bit 7 - 1: CK8M_D256_OUT is actually CK8M 0: CK8M_D256_OUT is CK8M divided by 256"] #[inline(always)] - #[must_use] pub fn enb_ck8m_div(&mut self) -> ENB_CK8M_DIV_W { ENB_CK8M_DIV_W::new(self, 7) } #[doc = "Bit 8 - enable CK_XTAL_32K for digital core (no relationship with RTC core)"] #[inline(always)] - #[must_use] pub fn dig_xtal32k_en(&mut self) -> DIG_XTAL32K_EN_W { DIG_XTAL32K_EN_W::new(self, 8) } #[doc = "Bit 9 - enable CK8M_D256_OUT for digital core (no relationship with RTC core)"] #[inline(always)] - #[must_use] pub fn dig_clk8m_d256_en(&mut self) -> DIG_CLK8M_D256_EN_W { DIG_CLK8M_D256_EN_W::new(self, 9) } #[doc = "Bit 10 - enable CK8M for digital core (no relationship with RTC core)"] #[inline(always)] - #[must_use] pub fn dig_clk8m_en(&mut self) -> DIG_CLK8M_EN_W { DIG_CLK8M_EN_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn ck8m_dfreq_force(&mut self) -> CK8M_DFREQ_FORCE_W { CK8M_DFREQ_FORCE_W::new(self, 11) } #[doc = "Bits 12:14 - divider = reg_ck8m_div_sel + 1"] #[inline(always)] - #[must_use] pub fn ck8m_div_sel(&mut self) -> CK8M_DIV_SEL_W { CK8M_DIV_SEL_W::new(self, 12) } #[doc = "Bit 15 - XTAL force no gating during sleep"] #[inline(always)] - #[must_use] pub fn xtal_force_nogating(&mut self) -> XTAL_FORCE_NOGATING_W { XTAL_FORCE_NOGATING_W::new(self, 15) } #[doc = "Bit 16 - CK8M force no gating during sleep"] #[inline(always)] - #[must_use] pub fn ck8m_force_nogating(&mut self) -> CK8M_FORCE_NOGATING_W { CK8M_FORCE_NOGATING_W::new(self, 16) } #[doc = "Bits 17:24 - CK8M_DFREQ"] #[inline(always)] - #[must_use] pub fn ck8m_dfreq(&mut self) -> CK8M_DFREQ_W { CK8M_DFREQ_W::new(self, 17) } #[doc = "Bit 25 - CK8M force power down"] #[inline(always)] - #[must_use] pub fn ck8m_force_pd(&mut self) -> CK8M_FORCE_PD_W { CK8M_FORCE_PD_W::new(self, 25) } #[doc = "Bit 26 - CK8M force power up"] #[inline(always)] - #[must_use] pub fn ck8m_force_pu(&mut self) -> CK8M_FORCE_PU_W { CK8M_FORCE_PU_W::new(self, 26) } #[doc = "Bits 27:28 - SOC clock sel. 0: XTAL 1: PLL 2: CK8M 3: APLL"] #[inline(always)] - #[must_use] pub fn soc_clk_sel(&mut self) -> SOC_CLK_SEL_W { SOC_CLK_SEL_W::new(self, 27) } #[doc = "Bit 29 - fast_clk_rtc sel. 0: XTAL div 4 1: CK8M"] #[inline(always)] - #[must_use] pub fn fast_clk_rtc_sel(&mut self) -> FAST_CLK_RTC_SEL_W { FAST_CLK_RTC_SEL_W::new(self, 29) } #[doc = "Bits 30:31 - slow_clk_rtc sel. 0: SLOW_CK 1: CK_XTAL_32K 2: CK8M_D256_OUT"] #[inline(always)] - #[must_use] pub fn ana_clk_rtc_sel(&mut self) -> ANA_CLK_RTC_SEL_W { ANA_CLK_RTC_SEL_W::new(self, 30) } diff --git a/esp32/src/rtc_cntl/cpu_period_conf.rs b/esp32/src/rtc_cntl/cpu_period_conf.rs index ef6a67157e..e2b08cc8e3 100644 --- a/esp32/src/rtc_cntl/cpu_period_conf.rs +++ b/esp32/src/rtc_cntl/cpu_period_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 29 - CPU sel option"] #[inline(always)] - #[must_use] pub fn cpusel_conf(&mut self) -> CPUSEL_CONF_W { CPUSEL_CONF_W::new(self, 29) } #[doc = "Bits 30:31 - CPU period sel"] #[inline(always)] - #[must_use] pub fn cpuperiod_sel(&mut self) -> CPUPERIOD_SEL_W { CPUPERIOD_SEL_W::new(self, 30) } diff --git a/esp32/src/rtc_cntl/date.rs b/esp32/src/rtc_cntl/date.rs index deda0a530e..49ac56b6be 100644 --- a/esp32/src/rtc_cntl/date.rs +++ b/esp32/src/rtc_cntl/date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27"] #[inline(always)] - #[must_use] pub fn cntl_date(&mut self) -> CNTL_DATE_W { CNTL_DATE_W::new(self, 0) } diff --git a/esp32/src/rtc_cntl/dig_iso.rs b/esp32/src/rtc_cntl/dig_iso.rs index 76d553fbb3..632d979800 100644 --- a/esp32/src/rtc_cntl/dig_iso.rs +++ b/esp32/src/rtc_cntl/dig_iso.rs @@ -254,145 +254,121 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn force_off(&mut self) -> FORCE_OFF_W { FORCE_OFF_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn force_on(&mut self) -> FORCE_ON_W { FORCE_ON_W::new(self, 8) } #[doc = "Bit 10 - wtite only register to clear digital pad auto-hold"] #[inline(always)] - #[must_use] pub fn clr_dg_pad_autohold(&mut self) -> CLR_DG_PAD_AUTOHOLD_W { CLR_DG_PAD_AUTOHOLD_W::new(self, 10) } #[doc = "Bit 11 - digital pad enable auto-hold"] #[inline(always)] - #[must_use] pub fn dg_pad_autohold_en(&mut self) -> DG_PAD_AUTOHOLD_EN_W { DG_PAD_AUTOHOLD_EN_W::new(self, 11) } #[doc = "Bit 12 - digital pad force no ISO"] #[inline(always)] - #[must_use] pub fn dg_pad_force_noiso(&mut self) -> DG_PAD_FORCE_NOISO_W { DG_PAD_FORCE_NOISO_W::new(self, 12) } #[doc = "Bit 13 - digital pad force ISO"] #[inline(always)] - #[must_use] pub fn dg_pad_force_iso(&mut self) -> DG_PAD_FORCE_ISO_W { DG_PAD_FORCE_ISO_W::new(self, 13) } #[doc = "Bit 14 - digital pad force un-hold"] #[inline(always)] - #[must_use] pub fn dg_pad_force_unhold(&mut self) -> DG_PAD_FORCE_UNHOLD_W { DG_PAD_FORCE_UNHOLD_W::new(self, 14) } #[doc = "Bit 15 - digital pad force hold"] #[inline(always)] - #[must_use] pub fn dg_pad_force_hold(&mut self) -> DG_PAD_FORCE_HOLD_W { DG_PAD_FORCE_HOLD_W::new(self, 15) } #[doc = "Bit 16 - ROM force ISO"] #[inline(always)] - #[must_use] pub fn rom0_force_iso(&mut self) -> ROM0_FORCE_ISO_W { ROM0_FORCE_ISO_W::new(self, 16) } #[doc = "Bit 17 - ROM force no ISO"] #[inline(always)] - #[must_use] pub fn rom0_force_noiso(&mut self) -> ROM0_FORCE_NOISO_W { ROM0_FORCE_NOISO_W::new(self, 17) } #[doc = "Bit 18 - internal SRAM 0 force ISO"] #[inline(always)] - #[must_use] pub fn inter_ram0_force_iso(&mut self) -> INTER_RAM0_FORCE_ISO_W { INTER_RAM0_FORCE_ISO_W::new(self, 18) } #[doc = "Bit 19 - internal SRAM 0 force no ISO"] #[inline(always)] - #[must_use] pub fn inter_ram0_force_noiso(&mut self) -> INTER_RAM0_FORCE_NOISO_W { INTER_RAM0_FORCE_NOISO_W::new(self, 19) } #[doc = "Bit 20 - internal SRAM 1 force ISO"] #[inline(always)] - #[must_use] pub fn inter_ram1_force_iso(&mut self) -> INTER_RAM1_FORCE_ISO_W { INTER_RAM1_FORCE_ISO_W::new(self, 20) } #[doc = "Bit 21 - internal SRAM 1 force no ISO"] #[inline(always)] - #[must_use] pub fn inter_ram1_force_noiso(&mut self) -> INTER_RAM1_FORCE_NOISO_W { INTER_RAM1_FORCE_NOISO_W::new(self, 21) } #[doc = "Bit 22 - internal SRAM 2 force ISO"] #[inline(always)] - #[must_use] pub fn inter_ram2_force_iso(&mut self) -> INTER_RAM2_FORCE_ISO_W { INTER_RAM2_FORCE_ISO_W::new(self, 22) } #[doc = "Bit 23 - internal SRAM 2 force no ISO"] #[inline(always)] - #[must_use] pub fn inter_ram2_force_noiso(&mut self) -> INTER_RAM2_FORCE_NOISO_W { INTER_RAM2_FORCE_NOISO_W::new(self, 23) } #[doc = "Bit 24 - internal SRAM 3 force ISO"] #[inline(always)] - #[must_use] pub fn inter_ram3_force_iso(&mut self) -> INTER_RAM3_FORCE_ISO_W { INTER_RAM3_FORCE_ISO_W::new(self, 24) } #[doc = "Bit 25 - internal SRAM 3 force no ISO"] #[inline(always)] - #[must_use] pub fn inter_ram3_force_noiso(&mut self) -> INTER_RAM3_FORCE_NOISO_W { INTER_RAM3_FORCE_NOISO_W::new(self, 25) } #[doc = "Bit 26 - internal SRAM 4 force ISO"] #[inline(always)] - #[must_use] pub fn inter_ram4_force_iso(&mut self) -> INTER_RAM4_FORCE_ISO_W { INTER_RAM4_FORCE_ISO_W::new(self, 26) } #[doc = "Bit 27 - internal SRAM 4 force no ISO"] #[inline(always)] - #[must_use] pub fn inter_ram4_force_noiso(&mut self) -> INTER_RAM4_FORCE_NOISO_W { INTER_RAM4_FORCE_NOISO_W::new(self, 27) } #[doc = "Bit 28 - wifi force ISO"] #[inline(always)] - #[must_use] pub fn wifi_force_iso(&mut self) -> WIFI_FORCE_ISO_W { WIFI_FORCE_ISO_W::new(self, 28) } #[doc = "Bit 29 - wifi force no ISO"] #[inline(always)] - #[must_use] pub fn wifi_force_noiso(&mut self) -> WIFI_FORCE_NOISO_W { WIFI_FORCE_NOISO_W::new(self, 29) } #[doc = "Bit 30 - digital core force ISO"] #[inline(always)] - #[must_use] pub fn dg_wrap_force_iso(&mut self) -> DG_WRAP_FORCE_ISO_W { DG_WRAP_FORCE_ISO_W::new(self, 30) } #[doc = "Bit 31 - digital core force no ISO"] #[inline(always)] - #[must_use] pub fn dg_wrap_force_noiso(&mut self) -> DG_WRAP_FORCE_NOISO_W { DG_WRAP_FORCE_NOISO_W::new(self, 31) } diff --git a/esp32/src/rtc_cntl/dig_pwc.rs b/esp32/src/rtc_cntl/dig_pwc.rs index ac9dea5919..169fa91d6e 100644 --- a/esp32/src/rtc_cntl/dig_pwc.rs +++ b/esp32/src/rtc_cntl/dig_pwc.rs @@ -274,157 +274,131 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - memories in digital core force PD in sleep"] #[inline(always)] - #[must_use] pub fn lslp_mem_force_pd(&mut self) -> LSLP_MEM_FORCE_PD_W { LSLP_MEM_FORCE_PD_W::new(self, 3) } #[doc = "Bit 4 - memories in digital core force no PD in sleep"] #[inline(always)] - #[must_use] pub fn lslp_mem_force_pu(&mut self) -> LSLP_MEM_FORCE_PU_W { LSLP_MEM_FORCE_PU_W::new(self, 4) } #[doc = "Bit 5 - ROM force power down"] #[inline(always)] - #[must_use] pub fn rom0_force_pd(&mut self) -> ROM0_FORCE_PD_W { ROM0_FORCE_PD_W::new(self, 5) } #[doc = "Bit 6 - ROM force power up"] #[inline(always)] - #[must_use] pub fn rom0_force_pu(&mut self) -> ROM0_FORCE_PU_W { ROM0_FORCE_PU_W::new(self, 6) } #[doc = "Bit 7 - internal SRAM 0 force power down"] #[inline(always)] - #[must_use] pub fn inter_ram0_force_pd(&mut self) -> INTER_RAM0_FORCE_PD_W { INTER_RAM0_FORCE_PD_W::new(self, 7) } #[doc = "Bit 8 - internal SRAM 0 force power up"] #[inline(always)] - #[must_use] pub fn inter_ram0_force_pu(&mut self) -> INTER_RAM0_FORCE_PU_W { INTER_RAM0_FORCE_PU_W::new(self, 8) } #[doc = "Bit 9 - internal SRAM 1 force power down"] #[inline(always)] - #[must_use] pub fn inter_ram1_force_pd(&mut self) -> INTER_RAM1_FORCE_PD_W { INTER_RAM1_FORCE_PD_W::new(self, 9) } #[doc = "Bit 10 - internal SRAM 1 force power up"] #[inline(always)] - #[must_use] pub fn inter_ram1_force_pu(&mut self) -> INTER_RAM1_FORCE_PU_W { INTER_RAM1_FORCE_PU_W::new(self, 10) } #[doc = "Bit 11 - internal SRAM 2 force power down"] #[inline(always)] - #[must_use] pub fn inter_ram2_force_pd(&mut self) -> INTER_RAM2_FORCE_PD_W { INTER_RAM2_FORCE_PD_W::new(self, 11) } #[doc = "Bit 12 - internal SRAM 2 force power up"] #[inline(always)] - #[must_use] pub fn inter_ram2_force_pu(&mut self) -> INTER_RAM2_FORCE_PU_W { INTER_RAM2_FORCE_PU_W::new(self, 12) } #[doc = "Bit 13 - internal SRAM 3 force power down"] #[inline(always)] - #[must_use] pub fn inter_ram3_force_pd(&mut self) -> INTER_RAM3_FORCE_PD_W { INTER_RAM3_FORCE_PD_W::new(self, 13) } #[doc = "Bit 14 - internal SRAM 3 force power up"] #[inline(always)] - #[must_use] pub fn inter_ram3_force_pu(&mut self) -> INTER_RAM3_FORCE_PU_W { INTER_RAM3_FORCE_PU_W::new(self, 14) } #[doc = "Bit 15 - internal SRAM 4 force power down"] #[inline(always)] - #[must_use] pub fn inter_ram4_force_pd(&mut self) -> INTER_RAM4_FORCE_PD_W { INTER_RAM4_FORCE_PD_W::new(self, 15) } #[doc = "Bit 16 - internal SRAM 4 force power up"] #[inline(always)] - #[must_use] pub fn inter_ram4_force_pu(&mut self) -> INTER_RAM4_FORCE_PU_W { INTER_RAM4_FORCE_PU_W::new(self, 16) } #[doc = "Bit 17 - wifi force power down"] #[inline(always)] - #[must_use] pub fn wifi_force_pd(&mut self) -> WIFI_FORCE_PD_W { WIFI_FORCE_PD_W::new(self, 17) } #[doc = "Bit 18 - wifi force power up"] #[inline(always)] - #[must_use] pub fn wifi_force_pu(&mut self) -> WIFI_FORCE_PU_W { WIFI_FORCE_PU_W::new(self, 18) } #[doc = "Bit 19 - digital core force power down"] #[inline(always)] - #[must_use] pub fn dg_wrap_force_pd(&mut self) -> DG_WRAP_FORCE_PD_W { DG_WRAP_FORCE_PD_W::new(self, 19) } #[doc = "Bit 20 - digital core force power up"] #[inline(always)] - #[must_use] pub fn dg_wrap_force_pu(&mut self) -> DG_WRAP_FORCE_PU_W { DG_WRAP_FORCE_PU_W::new(self, 20) } #[doc = "Bit 24 - enable power down ROM in sleep"] #[inline(always)] - #[must_use] pub fn rom0_pd_en(&mut self) -> ROM0_PD_EN_W { ROM0_PD_EN_W::new(self, 24) } #[doc = "Bit 25 - enable power down internal SRAM 0 in sleep"] #[inline(always)] - #[must_use] pub fn inter_ram0_pd_en(&mut self) -> INTER_RAM0_PD_EN_W { INTER_RAM0_PD_EN_W::new(self, 25) } #[doc = "Bit 26 - enable power down internal SRAM 1 in sleep"] #[inline(always)] - #[must_use] pub fn inter_ram1_pd_en(&mut self) -> INTER_RAM1_PD_EN_W { INTER_RAM1_PD_EN_W::new(self, 26) } #[doc = "Bit 27 - enable power down internal SRAM 2 in sleep"] #[inline(always)] - #[must_use] pub fn inter_ram2_pd_en(&mut self) -> INTER_RAM2_PD_EN_W { INTER_RAM2_PD_EN_W::new(self, 27) } #[doc = "Bit 28 - enable power down internal SRAM 3 in sleep"] #[inline(always)] - #[must_use] pub fn inter_ram3_pd_en(&mut self) -> INTER_RAM3_PD_EN_W { INTER_RAM3_PD_EN_W::new(self, 28) } #[doc = "Bit 29 - enable power down internal SRAM 4 in sleep"] #[inline(always)] - #[must_use] pub fn inter_ram4_pd_en(&mut self) -> INTER_RAM4_PD_EN_W { INTER_RAM4_PD_EN_W::new(self, 29) } #[doc = "Bit 30 - enable power down wifi in sleep"] #[inline(always)] - #[must_use] pub fn wifi_pd_en(&mut self) -> WIFI_PD_EN_W { WIFI_PD_EN_W::new(self, 30) } #[doc = "Bit 31 - enable power down digital core in sleep"] #[inline(always)] - #[must_use] pub fn dg_wrap_pd_en(&mut self) -> DG_WRAP_PD_EN_W { DG_WRAP_PD_EN_W::new(self, 31) } diff --git a/esp32/src/rtc_cntl/ext_wakeup1.rs b/esp32/src/rtc_cntl/ext_wakeup1.rs index 5c1a91f4d7..6d3f426050 100644 --- a/esp32/src/rtc_cntl/ext_wakeup1.rs +++ b/esp32/src/rtc_cntl/ext_wakeup1.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:17 - Bitmap to select RTC pads for ext wakeup1"] #[inline(always)] - #[must_use] pub fn sel(&mut self) -> SEL_W { SEL_W::new(self, 0) } #[doc = "Bit 18 - clear ext wakeup1 status"] #[inline(always)] - #[must_use] pub fn status_clr(&mut self) -> STATUS_CLR_W { STATUS_CLR_W::new(self, 18) } diff --git a/esp32/src/rtc_cntl/ext_wakeup_conf.rs b/esp32/src/rtc_cntl/ext_wakeup_conf.rs index 31a7e6fd77..76afa7e2de 100644 --- a/esp32/src/rtc_cntl/ext_wakeup_conf.rs +++ b/esp32/src/rtc_cntl/ext_wakeup_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - 0: external wakeup at low level 1: external wakeup at high level"] #[inline(always)] - #[must_use] pub fn ext_wakeup0_lv(&mut self) -> EXT_WAKEUP0_LV_W { EXT_WAKEUP0_LV_W::new(self, 30) } #[doc = "Bit 31 - 0: external wakeup at low level 1: external wakeup at high level"] #[inline(always)] - #[must_use] pub fn ext_wakeup1_lv(&mut self) -> EXT_WAKEUP1_LV_W { EXT_WAKEUP1_LV_W::new(self, 31) } diff --git a/esp32/src/rtc_cntl/ext_xtl_conf.rs b/esp32/src/rtc_cntl/ext_xtl_conf.rs index b1f9ac8cec..8b8d1a8e9d 100644 --- a/esp32/src/rtc_cntl/ext_xtl_conf.rs +++ b/esp32/src/rtc_cntl/ext_xtl_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - 0: power down XTAL at high level 1: power down XTAL at low level"] #[inline(always)] - #[must_use] pub fn xtl_ext_ctr_lv(&mut self) -> XTL_EXT_CTR_LV_W { XTL_EXT_CTR_LV_W::new(self, 30) } #[doc = "Bit 31 - enable control XTAL by external pads"] #[inline(always)] - #[must_use] pub fn xtl_ext_ctr_en(&mut self) -> XTL_EXT_CTR_EN_W { XTL_EXT_CTR_EN_W::new(self, 31) } diff --git a/esp32/src/rtc_cntl/hold_force.rs b/esp32/src/rtc_cntl/hold_force.rs index 9d1df062ae..f772eb64a2 100644 --- a/esp32/src/rtc_cntl/hold_force.rs +++ b/esp32/src/rtc_cntl/hold_force.rs @@ -194,109 +194,91 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn adc1_hold_force(&mut self) -> ADC1_HOLD_FORCE_W { ADC1_HOLD_FORCE_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn adc2_hold_force(&mut self) -> ADC2_HOLD_FORCE_W { ADC2_HOLD_FORCE_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn pdac1_hold_force(&mut self) -> PDAC1_HOLD_FORCE_W { PDAC1_HOLD_FORCE_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn pdac2_hold_force(&mut self) -> PDAC2_HOLD_FORCE_W { PDAC2_HOLD_FORCE_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn sense1_hold_force(&mut self) -> SENSE1_HOLD_FORCE_W { SENSE1_HOLD_FORCE_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn sense2_hold_force(&mut self) -> SENSE2_HOLD_FORCE_W { SENSE2_HOLD_FORCE_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn sense3_hold_force(&mut self) -> SENSE3_HOLD_FORCE_W { SENSE3_HOLD_FORCE_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn sense4_hold_force(&mut self) -> SENSE4_HOLD_FORCE_W { SENSE4_HOLD_FORCE_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn touch_pad0_hold_force(&mut self) -> TOUCH_PAD0_HOLD_FORCE_W { TOUCH_PAD0_HOLD_FORCE_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn touch_pad1_hold_force(&mut self) -> TOUCH_PAD1_HOLD_FORCE_W { TOUCH_PAD1_HOLD_FORCE_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn touch_pad2_hold_force(&mut self) -> TOUCH_PAD2_HOLD_FORCE_W { TOUCH_PAD2_HOLD_FORCE_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn touch_pad3_hold_force(&mut self) -> TOUCH_PAD3_HOLD_FORCE_W { TOUCH_PAD3_HOLD_FORCE_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn touch_pad4_hold_force(&mut self) -> TOUCH_PAD4_HOLD_FORCE_W { TOUCH_PAD4_HOLD_FORCE_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn touch_pad5_hold_force(&mut self) -> TOUCH_PAD5_HOLD_FORCE_W { TOUCH_PAD5_HOLD_FORCE_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn touch_pad6_hold_force(&mut self) -> TOUCH_PAD6_HOLD_FORCE_W { TOUCH_PAD6_HOLD_FORCE_W::new(self, 14) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn touch_pad7_hold_force(&mut self) -> TOUCH_PAD7_HOLD_FORCE_W { TOUCH_PAD7_HOLD_FORCE_W::new(self, 15) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn x32p_hold_force(&mut self) -> X32P_HOLD_FORCE_W { X32P_HOLD_FORCE_W::new(self, 16) } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn x32n_hold_force(&mut self) -> X32N_HOLD_FORCE_W { X32N_HOLD_FORCE_W::new(self, 17) } diff --git a/esp32/src/rtc_cntl/int_clr.rs b/esp32/src/rtc_cntl/int_clr.rs index 29821aba5c..fa01f780cf 100644 --- a/esp32/src/rtc_cntl/int_clr.rs +++ b/esp32/src/rtc_cntl/int_clr.rs @@ -27,55 +27,46 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Clear sleep wakeup interrupt state"] #[inline(always)] - #[must_use] pub fn slp_wakeup(&mut self) -> SLP_WAKEUP_W { SLP_WAKEUP_W::new(self, 0) } #[doc = "Bit 1 - Clear sleep reject interrupt state"] #[inline(always)] - #[must_use] pub fn slp_reject(&mut self) -> SLP_REJECT_W { SLP_REJECT_W::new(self, 1) } #[doc = "Bit 2 - Clear SDIO idle interrupt state"] #[inline(always)] - #[must_use] pub fn sdio_idle(&mut self) -> SDIO_IDLE_W { SDIO_IDLE_W::new(self, 2) } #[doc = "Bit 3 - Clear RTC WDT interrupt state"] #[inline(always)] - #[must_use] pub fn wdt(&mut self) -> WDT_W { WDT_W::new(self, 3) } #[doc = "Bit 4 - Clear RTC time valid interrupt state"] #[inline(always)] - #[must_use] pub fn time_valid(&mut self) -> TIME_VALID_W { TIME_VALID_W::new(self, 4) } #[doc = "Bit 5 - Clear ULP-coprocessor interrupt state"] #[inline(always)] - #[must_use] pub fn sar(&mut self) -> SAR_W { SAR_W::new(self, 5) } #[doc = "Bit 6 - Clear touch interrupt state"] #[inline(always)] - #[must_use] pub fn touch(&mut self) -> TOUCH_W { TOUCH_W::new(self, 6) } #[doc = "Bit 7 - Clear brown out interrupt state"] #[inline(always)] - #[must_use] pub fn brown_out(&mut self) -> BROWN_OUT_W { BROWN_OUT_W::new(self, 7) } #[doc = "Bit 8 - Clear RTC main timer interrupt state"] #[inline(always)] - #[must_use] pub fn main_timer(&mut self) -> MAIN_TIMER_W { MAIN_TIMER_W::new(self, 8) } diff --git a/esp32/src/rtc_cntl/int_ena.rs b/esp32/src/rtc_cntl/int_ena.rs index 400b76bfa0..0f36ce29a8 100644 --- a/esp32/src/rtc_cntl/int_ena.rs +++ b/esp32/src/rtc_cntl/int_ena.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - enable sleep wakeup interrupt"] #[inline(always)] - #[must_use] pub fn slp_wakeup(&mut self) -> SLP_WAKEUP_W { SLP_WAKEUP_W::new(self, 0) } #[doc = "Bit 1 - enable sleep reject interrupt"] #[inline(always)] - #[must_use] pub fn slp_reject(&mut self) -> SLP_REJECT_W { SLP_REJECT_W::new(self, 1) } #[doc = "Bit 2 - enable SDIO idle interrupt"] #[inline(always)] - #[must_use] pub fn sdio_idle(&mut self) -> SDIO_IDLE_W { SDIO_IDLE_W::new(self, 2) } #[doc = "Bit 3 - enable RTC WDT interrupt"] #[inline(always)] - #[must_use] pub fn wdt(&mut self) -> WDT_W { WDT_W::new(self, 3) } #[doc = "Bit 4 - enable RTC time valid interrupt"] #[inline(always)] - #[must_use] pub fn time_valid(&mut self) -> TIME_VALID_W { TIME_VALID_W::new(self, 4) } #[doc = "Bit 5 - enable ULP-coprocessor interrupt"] #[inline(always)] - #[must_use] pub fn ulp_cp(&mut self) -> ULP_CP_W { ULP_CP_W::new(self, 5) } #[doc = "Bit 6 - enable touch interrupt"] #[inline(always)] - #[must_use] pub fn touch(&mut self) -> TOUCH_W { TOUCH_W::new(self, 6) } #[doc = "Bit 7 - enable brown out interrupt"] #[inline(always)] - #[must_use] pub fn brown_out(&mut self) -> BROWN_OUT_W { BROWN_OUT_W::new(self, 7) } #[doc = "Bit 8 - enable RTC main timer interrupt"] #[inline(always)] - #[must_use] pub fn main_timer(&mut self) -> MAIN_TIMER_W { MAIN_TIMER_W::new(self, 8) } diff --git a/esp32/src/rtc_cntl/options0.rs b/esp32/src/rtc_cntl/options0.rs index f1692f2729..5ffb60f5c0 100644 --- a/esp32/src/rtc_cntl/options0.rs +++ b/esp32/src/rtc_cntl/options0.rs @@ -290,181 +290,151 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - {reg_sw_stall_appcpu_c1\\[5:0\\] reg_sw_stall_appcpu_c0\\[1:0\\]} == 0x86 will stall APP CPU"] #[inline(always)] - #[must_use] pub fn sw_stall_appcpu_c0(&mut self) -> SW_STALL_APPCPU_C0_W { SW_STALL_APPCPU_C0_W::new(self, 0) } #[doc = "Bits 2:3 - {reg_sw_stall_procpu_c1\\[5:0\\] reg_sw_stall_procpu_c0\\[1:0\\]} == 0x86 will stall PRO CPU"] #[inline(always)] - #[must_use] pub fn sw_stall_procpu_c0(&mut self) -> SW_STALL_PROCPU_C0_W { SW_STALL_PROCPU_C0_W::new(self, 2) } #[doc = "Bit 4 - APP CPU SW reset"] #[inline(always)] - #[must_use] pub fn sw_appcpu_rst(&mut self) -> SW_APPCPU_RST_W { SW_APPCPU_RST_W::new(self, 4) } #[doc = "Bit 5 - PRO CPU SW reset"] #[inline(always)] - #[must_use] pub fn sw_procpu_rst(&mut self) -> SW_PROCPU_RST_W { SW_PROCPU_RST_W::new(self, 5) } #[doc = "Bit 6 - BB_I2C force power down"] #[inline(always)] - #[must_use] pub fn bb_i2c_force_pd(&mut self) -> BB_I2C_FORCE_PD_W { BB_I2C_FORCE_PD_W::new(self, 6) } #[doc = "Bit 7 - BB_I2C force power up"] #[inline(always)] - #[must_use] pub fn bb_i2c_force_pu(&mut self) -> BB_I2C_FORCE_PU_W { BB_I2C_FORCE_PU_W::new(self, 7) } #[doc = "Bit 8 - BB_PLL _I2C force power down"] #[inline(always)] - #[must_use] pub fn bbpll_i2c_force_pd(&mut self) -> BBPLL_I2C_FORCE_PD_W { BBPLL_I2C_FORCE_PD_W::new(self, 8) } #[doc = "Bit 9 - BB_PLL_I2C force power up"] #[inline(always)] - #[must_use] pub fn bbpll_i2c_force_pu(&mut self) -> BBPLL_I2C_FORCE_PU_W { BBPLL_I2C_FORCE_PU_W::new(self, 9) } #[doc = "Bit 10 - BB_PLL force power down"] #[inline(always)] - #[must_use] pub fn bbpll_force_pd(&mut self) -> BBPLL_FORCE_PD_W { BBPLL_FORCE_PD_W::new(self, 10) } #[doc = "Bit 11 - BB_PLL force power up"] #[inline(always)] - #[must_use] pub fn bbpll_force_pu(&mut self) -> BBPLL_FORCE_PU_W { BBPLL_FORCE_PU_W::new(self, 11) } #[doc = "Bit 12 - crystall force power down"] #[inline(always)] - #[must_use] pub fn xtl_force_pd(&mut self) -> XTL_FORCE_PD_W { XTL_FORCE_PD_W::new(self, 12) } #[doc = "Bit 13 - crystall force power up"] #[inline(always)] - #[must_use] pub fn xtl_force_pu(&mut self) -> XTL_FORCE_PU_W { XTL_FORCE_PU_W::new(self, 13) } #[doc = "Bit 14 - BIAS_SLEEP follow CK8M"] #[inline(always)] - #[must_use] pub fn bias_sleep_folw_8m(&mut self) -> BIAS_SLEEP_FOLW_8M_W { BIAS_SLEEP_FOLW_8M_W::new(self, 14) } #[doc = "Bit 15 - BIAS_SLEEP force sleep"] #[inline(always)] - #[must_use] pub fn bias_force_sleep(&mut self) -> BIAS_FORCE_SLEEP_W { BIAS_FORCE_SLEEP_W::new(self, 15) } #[doc = "Bit 16 - BIAS_SLEEP force no sleep"] #[inline(always)] - #[must_use] pub fn bias_force_nosleep(&mut self) -> BIAS_FORCE_NOSLEEP_W { BIAS_FORCE_NOSLEEP_W::new(self, 16) } #[doc = "Bit 17 - BIAS_I2C follow CK8M"] #[inline(always)] - #[must_use] pub fn bias_i2c_folw_8m(&mut self) -> BIAS_I2C_FOLW_8M_W { BIAS_I2C_FOLW_8M_W::new(self, 17) } #[doc = "Bit 18 - BIAS_I2C force power down"] #[inline(always)] - #[must_use] pub fn bias_i2c_force_pd(&mut self) -> BIAS_I2C_FORCE_PD_W { BIAS_I2C_FORCE_PD_W::new(self, 18) } #[doc = "Bit 19 - BIAS_I2C force power up"] #[inline(always)] - #[must_use] pub fn bias_i2c_force_pu(&mut self) -> BIAS_I2C_FORCE_PU_W { BIAS_I2C_FORCE_PU_W::new(self, 19) } #[doc = "Bit 20 - BIAS_CORE follow CK8M"] #[inline(always)] - #[must_use] pub fn bias_core_folw_8m(&mut self) -> BIAS_CORE_FOLW_8M_W { BIAS_CORE_FOLW_8M_W::new(self, 20) } #[doc = "Bit 21 - BIAS_CORE force power down"] #[inline(always)] - #[must_use] pub fn bias_core_force_pd(&mut self) -> BIAS_CORE_FORCE_PD_W { BIAS_CORE_FORCE_PD_W::new(self, 21) } #[doc = "Bit 22 - BIAS_CORE force power up"] #[inline(always)] - #[must_use] pub fn bias_core_force_pu(&mut self) -> BIAS_CORE_FORCE_PU_W { BIAS_CORE_FORCE_PU_W::new(self, 22) } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn xtl_force_iso(&mut self) -> XTL_FORCE_ISO_W { XTL_FORCE_ISO_W::new(self, 23) } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn pll_force_iso(&mut self) -> PLL_FORCE_ISO_W { PLL_FORCE_ISO_W::new(self, 24) } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn analog_force_iso(&mut self) -> ANALOG_FORCE_ISO_W { ANALOG_FORCE_ISO_W::new(self, 25) } #[doc = "Bit 26"] #[inline(always)] - #[must_use] pub fn xtl_force_noiso(&mut self) -> XTL_FORCE_NOISO_W { XTL_FORCE_NOISO_W::new(self, 26) } #[doc = "Bit 27"] #[inline(always)] - #[must_use] pub fn pll_force_noiso(&mut self) -> PLL_FORCE_NOISO_W { PLL_FORCE_NOISO_W::new(self, 27) } #[doc = "Bit 28"] #[inline(always)] - #[must_use] pub fn analog_force_noiso(&mut self) -> ANALOG_FORCE_NOISO_W { ANALOG_FORCE_NOISO_W::new(self, 28) } #[doc = "Bit 29 - digital wrap force reset in deep sleep"] #[inline(always)] - #[must_use] pub fn dg_wrap_force_rst(&mut self) -> DG_WRAP_FORCE_RST_W { DG_WRAP_FORCE_RST_W::new(self, 29) } #[doc = "Bit 30 - digital core force no reset in deep sleep"] #[inline(always)] - #[must_use] pub fn dg_wrap_force_norst(&mut self) -> DG_WRAP_FORCE_NORST_W { DG_WRAP_FORCE_NORST_W::new(self, 30) } #[doc = "Bit 31 - SW system reset"] #[inline(always)] - #[must_use] pub fn sw_sys_rst(&mut self) -> SW_SYS_RST_W { SW_SYS_RST_W::new(self, 31) } diff --git a/esp32/src/rtc_cntl/pwc.rs b/esp32/src/rtc_cntl/pwc.rs index be20e6d6e5..b6c0451c51 100644 --- a/esp32/src/rtc_cntl/pwc.rs +++ b/esp32/src/rtc_cntl/pwc.rs @@ -224,127 +224,106 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Fast RTC memory force no ISO"] #[inline(always)] - #[must_use] pub fn fastmem_force_noiso(&mut self) -> FASTMEM_FORCE_NOISO_W { FASTMEM_FORCE_NOISO_W::new(self, 0) } #[doc = "Bit 1 - Fast RTC memory force ISO"] #[inline(always)] - #[must_use] pub fn fastmem_force_iso(&mut self) -> FASTMEM_FORCE_ISO_W { FASTMEM_FORCE_ISO_W::new(self, 1) } #[doc = "Bit 2 - RTC memory force no ISO"] #[inline(always)] - #[must_use] pub fn slowmem_force_noiso(&mut self) -> SLOWMEM_FORCE_NOISO_W { SLOWMEM_FORCE_NOISO_W::new(self, 2) } #[doc = "Bit 3 - RTC memory force ISO"] #[inline(always)] - #[must_use] pub fn slowmem_force_iso(&mut self) -> SLOWMEM_FORCE_ISO_W { SLOWMEM_FORCE_ISO_W::new(self, 3) } #[doc = "Bit 4 - rtc_peri force ISO"] #[inline(always)] - #[must_use] pub fn force_iso(&mut self) -> FORCE_ISO_W { FORCE_ISO_W::new(self, 4) } #[doc = "Bit 5 - rtc_peri force no ISO"] #[inline(always)] - #[must_use] pub fn force_noiso(&mut self) -> FORCE_NOISO_W { FORCE_NOISO_W::new(self, 5) } #[doc = "Bit 6 - 1: Fast RTC memory PD following CPU 0: fast RTC memory PD following RTC state machine"] #[inline(always)] - #[must_use] pub fn fastmem_folw_cpu(&mut self) -> FASTMEM_FOLW_CPU_W { FASTMEM_FOLW_CPU_W::new(self, 6) } #[doc = "Bit 7 - Fast RTC memory force PD"] #[inline(always)] - #[must_use] pub fn fastmem_force_lpd(&mut self) -> FASTMEM_FORCE_LPD_W { FASTMEM_FORCE_LPD_W::new(self, 7) } #[doc = "Bit 8 - Fast RTC memory force no PD"] #[inline(always)] - #[must_use] pub fn fastmem_force_lpu(&mut self) -> FASTMEM_FORCE_LPU_W { FASTMEM_FORCE_LPU_W::new(self, 8) } #[doc = "Bit 9 - 1: RTC memory PD following CPU 0: RTC memory PD following RTC state machine"] #[inline(always)] - #[must_use] pub fn slowmem_folw_cpu(&mut self) -> SLOWMEM_FOLW_CPU_W { SLOWMEM_FOLW_CPU_W::new(self, 9) } #[doc = "Bit 10 - RTC memory force PD"] #[inline(always)] - #[must_use] pub fn slowmem_force_lpd(&mut self) -> SLOWMEM_FORCE_LPD_W { SLOWMEM_FORCE_LPD_W::new(self, 10) } #[doc = "Bit 11 - RTC memory force no PD"] #[inline(always)] - #[must_use] pub fn slowmem_force_lpu(&mut self) -> SLOWMEM_FORCE_LPU_W { SLOWMEM_FORCE_LPU_W::new(self, 11) } #[doc = "Bit 12 - Fast RTC memory force power down"] #[inline(always)] - #[must_use] pub fn fastmem_force_pd(&mut self) -> FASTMEM_FORCE_PD_W { FASTMEM_FORCE_PD_W::new(self, 12) } #[doc = "Bit 13 - Fast RTC memory force power up"] #[inline(always)] - #[must_use] pub fn fastmem_force_pu(&mut self) -> FASTMEM_FORCE_PU_W { FASTMEM_FORCE_PU_W::new(self, 13) } #[doc = "Bit 14 - enable power down fast RTC memory in sleep"] #[inline(always)] - #[must_use] pub fn fastmem_pd_en(&mut self) -> FASTMEM_PD_EN_W { FASTMEM_PD_EN_W::new(self, 14) } #[doc = "Bit 15 - RTC memory force power down"] #[inline(always)] - #[must_use] pub fn slowmem_force_pd(&mut self) -> SLOWMEM_FORCE_PD_W { SLOWMEM_FORCE_PD_W::new(self, 15) } #[doc = "Bit 16 - RTC memory force power up"] #[inline(always)] - #[must_use] pub fn slowmem_force_pu(&mut self) -> SLOWMEM_FORCE_PU_W { SLOWMEM_FORCE_PU_W::new(self, 16) } #[doc = "Bit 17 - enable power down RTC memory in sleep"] #[inline(always)] - #[must_use] pub fn slowmem_pd_en(&mut self) -> SLOWMEM_PD_EN_W { SLOWMEM_PD_EN_W::new(self, 17) } #[doc = "Bit 18 - rtc_peri force power down"] #[inline(always)] - #[must_use] pub fn force_pd(&mut self) -> FORCE_PD_W { FORCE_PD_W::new(self, 18) } #[doc = "Bit 19 - rtc_peri force power up"] #[inline(always)] - #[must_use] pub fn force_pu(&mut self) -> FORCE_PU_W { FORCE_PU_W::new(self, 19) } #[doc = "Bit 20 - enable power down rtc_peri in sleep"] #[inline(always)] - #[must_use] pub fn pd_en(&mut self) -> PD_EN_W { PD_EN_W::new(self, 20) } diff --git a/esp32/src/rtc_cntl/reg.rs b/esp32/src/rtc_cntl/reg.rs index 7fc6b8f0cf..0b18af2a45 100644 --- a/esp32/src/rtc_cntl/reg.rs +++ b/esp32/src/rtc_cntl/reg.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 7 - N/A"] #[inline(always)] - #[must_use] pub fn sck_dcap_force(&mut self) -> SCK_DCAP_FORCE_W { SCK_DCAP_FORCE_W::new(self, 7) } #[doc = "Bits 8:10 - DIG_REG_DBIAS during sleep"] #[inline(always)] - #[must_use] pub fn dig_dbias_slp(&mut self) -> DIG_DBIAS_SLP_W { DIG_DBIAS_SLP_W::new(self, 8) } #[doc = "Bits 11:13 - DIG_REG_DBIAS during wakeup"] #[inline(always)] - #[must_use] pub fn dig_dbias_wak(&mut self) -> DIG_DBIAS_WAK_W { DIG_DBIAS_WAK_W::new(self, 11) } #[doc = "Bits 14:21 - SCK_DCAP"] #[inline(always)] - #[must_use] pub fn sck_dcap(&mut self) -> SCK_DCAP_W { SCK_DCAP_W::new(self, 14) } #[doc = "Bits 22:24 - RTC_DBIAS during sleep"] #[inline(always)] - #[must_use] pub fn dbias_slp(&mut self) -> DBIAS_SLP_W { DBIAS_SLP_W::new(self, 22) } #[doc = "Bits 25:27 - RTC_DBIAS during wakeup"] #[inline(always)] - #[must_use] pub fn dbias_wak(&mut self) -> DBIAS_WAK_W { DBIAS_WAK_W::new(self, 25) } #[doc = "Bit 28 - RTC_DBOOST force power down"] #[inline(always)] - #[must_use] pub fn dboost_force_pd(&mut self) -> DBOOST_FORCE_PD_W { DBOOST_FORCE_PD_W::new(self, 28) } #[doc = "Bit 29 - RTC_DBOOST force power up"] #[inline(always)] - #[must_use] pub fn dboost_force_pu(&mut self) -> DBOOST_FORCE_PU_W { DBOOST_FORCE_PU_W::new(self, 29) } #[doc = "Bit 30 - RTC_REG force power down (for RTC_REG power down means decrease the voltage to 0.8v or lower )"] #[inline(always)] - #[must_use] pub fn force_pd(&mut self) -> FORCE_PD_W { FORCE_PD_W::new(self, 30) } #[doc = "Bit 31 - RTC_REG force power up"] #[inline(always)] - #[must_use] pub fn force_pu(&mut self) -> FORCE_PU_W { FORCE_PU_W::new(self, 31) } diff --git a/esp32/src/rtc_cntl/reset_state.rs b/esp32/src/rtc_cntl/reset_state.rs index b51ca4e17b..17dfcac87d 100644 --- a/esp32/src/rtc_cntl/reset_state.rs +++ b/esp32/src/rtc_cntl/reset_state.rs @@ -50,13 +50,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - APP CPU state vector sel"] #[inline(always)] - #[must_use] pub fn appcpu_stat_vector_sel(&mut self) -> APPCPU_STAT_VECTOR_SEL_W { APPCPU_STAT_VECTOR_SEL_W::new(self, 12) } #[doc = "Bit 13 - PRO CPU state vector sel"] #[inline(always)] - #[must_use] pub fn procpu_stat_vector_sel(&mut self) -> PROCPU_STAT_VECTOR_SEL_W { PROCPU_STAT_VECTOR_SEL_W::new(self, 13) } diff --git a/esp32/src/rtc_cntl/sdio_act_conf.rs b/esp32/src/rtc_cntl/sdio_act_conf.rs index b4eb0aa248..195a713f84 100644 --- a/esp32/src/rtc_cntl/sdio_act_conf.rs +++ b/esp32/src/rtc_cntl/sdio_act_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 22:31"] #[inline(always)] - #[must_use] pub fn sdio_act_dnum(&mut self) -> SDIO_ACT_DNUM_W { SDIO_ACT_DNUM_W::new(self, 22) } diff --git a/esp32/src/rtc_cntl/sdio_conf.rs b/esp32/src/rtc_cntl/sdio_conf.rs index 01aa3dbc09..38c2b59fe6 100644 --- a/esp32/src/rtc_cntl/sdio_conf.rs +++ b/esp32/src/rtc_cntl/sdio_conf.rs @@ -92,43 +92,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 21 - power down SDIO_REG in sleep. Only active when reg_sdio_force = 0"] #[inline(always)] - #[must_use] pub fn sdio_pd_en(&mut self) -> SDIO_PD_EN_W { SDIO_PD_EN_W::new(self, 21) } #[doc = "Bit 22 - 1: use SW option to control SDIO_REG 0: use state machine"] #[inline(always)] - #[must_use] pub fn sdio_force(&mut self) -> SDIO_FORCE_W { SDIO_FORCE_W::new(self, 22) } #[doc = "Bit 23 - SW option for SDIO_TIEH. Only active when reg_sdio_force = 1"] #[inline(always)] - #[must_use] pub fn sdio_tieh(&mut self) -> SDIO_TIEH_W { SDIO_TIEH_W::new(self, 23) } #[doc = "Bits 25:26 - SW option for DREFL_SDIO. Only active when reg_sdio_force = 1"] #[inline(always)] - #[must_use] pub fn drefl_sdio(&mut self) -> DREFL_SDIO_W { DREFL_SDIO_W::new(self, 25) } #[doc = "Bits 27:28 - SW option for DREFM_SDIO. Only active when reg_sdio_force = 1"] #[inline(always)] - #[must_use] pub fn drefm_sdio(&mut self) -> DREFM_SDIO_W { DREFM_SDIO_W::new(self, 27) } #[doc = "Bits 29:30 - SW option for DREFH_SDIO. Only active when reg_sdio_force = 1"] #[inline(always)] - #[must_use] pub fn drefh_sdio(&mut self) -> DREFH_SDIO_W { DREFH_SDIO_W::new(self, 29) } #[doc = "Bit 31 - SW option for XPD_SDIO_REG. Only active when reg_sdio_force = 1"] #[inline(always)] - #[must_use] pub fn xpd_sdio(&mut self) -> XPD_SDIO_W { XPD_SDIO_W::new(self, 31) } diff --git a/esp32/src/rtc_cntl/slp_reject_conf.rs b/esp32/src/rtc_cntl/slp_reject_conf.rs index de38b889ba..58fdc163c1 100644 --- a/esp32/src/rtc_cntl/slp_reject_conf.rs +++ b/esp32/src/rtc_cntl/slp_reject_conf.rs @@ -62,25 +62,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 24 - enable GPIO reject"] #[inline(always)] - #[must_use] pub fn gpio_reject_en(&mut self) -> GPIO_REJECT_EN_W { GPIO_REJECT_EN_W::new(self, 24) } #[doc = "Bit 25 - enable SDIO reject"] #[inline(always)] - #[must_use] pub fn sdio_reject_en(&mut self) -> SDIO_REJECT_EN_W { SDIO_REJECT_EN_W::new(self, 25) } #[doc = "Bit 26 - enable reject for light sleep"] #[inline(always)] - #[must_use] pub fn light_slp_reject_en(&mut self) -> LIGHT_SLP_REJECT_EN_W { LIGHT_SLP_REJECT_EN_W::new(self, 26) } #[doc = "Bit 27 - enable reject for deep sleep"] #[inline(always)] - #[must_use] pub fn deep_slp_reject_en(&mut self) -> DEEP_SLP_REJECT_EN_W { DEEP_SLP_REJECT_EN_W::new(self, 27) } diff --git a/esp32/src/rtc_cntl/slp_timer0.rs b/esp32/src/rtc_cntl/slp_timer0.rs index 96fbc6ecbb..aa2d471ecf 100644 --- a/esp32/src/rtc_cntl/slp_timer0.rs +++ b/esp32/src/rtc_cntl/slp_timer0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - RTC sleep timer low 32 bits"] #[inline(always)] - #[must_use] pub fn slp_val_lo(&mut self) -> SLP_VAL_LO_W { SLP_VAL_LO_W::new(self, 0) } diff --git a/esp32/src/rtc_cntl/slp_timer1.rs b/esp32/src/rtc_cntl/slp_timer1.rs index 85b78b7810..72c5fc6528 100644 --- a/esp32/src/rtc_cntl/slp_timer1.rs +++ b/esp32/src/rtc_cntl/slp_timer1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - RTC sleep timer high 16 bits"] #[inline(always)] - #[must_use] pub fn slp_val_hi(&mut self) -> SLP_VAL_HI_W { SLP_VAL_HI_W::new(self, 0) } #[doc = "Bit 16 - timer alarm enable bit"] #[inline(always)] - #[must_use] pub fn main_timer_alarm_en(&mut self) -> MAIN_TIMER_ALARM_EN_W { MAIN_TIMER_ALARM_EN_W::new(self, 16) } diff --git a/esp32/src/rtc_cntl/state0.rs b/esp32/src/rtc_cntl/state0.rs index 8b70233cab..8f31422364 100644 --- a/esp32/src/rtc_cntl/state0.rs +++ b/esp32/src/rtc_cntl/state0.rs @@ -102,49 +102,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 20 - touch controller force wake up"] #[inline(always)] - #[must_use] pub fn touch_wakeup_force_en(&mut self) -> TOUCH_WAKEUP_FORCE_EN_W { TOUCH_WAKEUP_FORCE_EN_W::new(self, 20) } #[doc = "Bit 21 - ULP-coprocessor force wake up"] #[inline(always)] - #[must_use] pub fn ulp_cp_wakeup_force_en(&mut self) -> ULP_CP_WAKEUP_FORCE_EN_W { ULP_CP_WAKEUP_FORCE_EN_W::new(self, 21) } #[doc = "Bit 22 - 1: APB to RTC using bridge 0: APB to RTC using sync"] #[inline(always)] - #[must_use] pub fn apb2rtc_bridge_sel(&mut self) -> APB2RTC_BRIDGE_SEL_W { APB2RTC_BRIDGE_SEL_W::new(self, 22) } #[doc = "Bit 23 - touch timer enable bit"] #[inline(always)] - #[must_use] pub fn touch_slp_timer_en(&mut self) -> TOUCH_SLP_TIMER_EN_W { TOUCH_SLP_TIMER_EN_W::new(self, 23) } #[doc = "Bit 24 - ULP-coprocessor timer enable bit"] #[inline(always)] - #[must_use] pub fn ulp_cp_slp_timer_en(&mut self) -> ULP_CP_SLP_TIMER_EN_W { ULP_CP_SLP_TIMER_EN_W::new(self, 24) } #[doc = "Bit 29 - sleep wakeup bit"] #[inline(always)] - #[must_use] pub fn slp_wakeup(&mut self) -> SLP_WAKEUP_W { SLP_WAKEUP_W::new(self, 29) } #[doc = "Bit 30 - sleep reject bit"] #[inline(always)] - #[must_use] pub fn slp_reject(&mut self) -> SLP_REJECT_W { SLP_REJECT_W::new(self, 30) } #[doc = "Bit 31 - sleep enable bit"] #[inline(always)] - #[must_use] pub fn sleep_en(&mut self) -> SLEEP_EN_W { SLEEP_EN_W::new(self, 31) } diff --git a/esp32/src/rtc_cntl/store0.rs b/esp32/src/rtc_cntl/store0.rs index b8510c385f..2ce81f5fa8 100644 --- a/esp32/src/rtc_cntl/store0.rs +++ b/esp32/src/rtc_cntl/store0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - 32-bit general purpose retention register"] #[inline(always)] - #[must_use] pub fn scratch0(&mut self) -> SCRATCH0_W { SCRATCH0_W::new(self, 0) } diff --git a/esp32/src/rtc_cntl/store1.rs b/esp32/src/rtc_cntl/store1.rs index 04febd071e..631442449e 100644 --- a/esp32/src/rtc_cntl/store1.rs +++ b/esp32/src/rtc_cntl/store1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - 32-bit general purpose retention register"] #[inline(always)] - #[must_use] pub fn scratch1(&mut self) -> SCRATCH1_W { SCRATCH1_W::new(self, 0) } diff --git a/esp32/src/rtc_cntl/store2.rs b/esp32/src/rtc_cntl/store2.rs index 9c35a60d35..f89e95c740 100644 --- a/esp32/src/rtc_cntl/store2.rs +++ b/esp32/src/rtc_cntl/store2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - 32-bit general purpose retention register"] #[inline(always)] - #[must_use] pub fn scratch2(&mut self) -> SCRATCH2_W { SCRATCH2_W::new(self, 0) } diff --git a/esp32/src/rtc_cntl/store3.rs b/esp32/src/rtc_cntl/store3.rs index 79723e38c0..43e1375a03 100644 --- a/esp32/src/rtc_cntl/store3.rs +++ b/esp32/src/rtc_cntl/store3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - 32-bit general purpose retention register"] #[inline(always)] - #[must_use] pub fn scratch3(&mut self) -> SCRATCH3_W { SCRATCH3_W::new(self, 0) } diff --git a/esp32/src/rtc_cntl/store4.rs b/esp32/src/rtc_cntl/store4.rs index 8432c64eeb..b87c7266e6 100644 --- a/esp32/src/rtc_cntl/store4.rs +++ b/esp32/src/rtc_cntl/store4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - 32-bit general purpose retention register"] #[inline(always)] - #[must_use] pub fn scratch4(&mut self) -> SCRATCH4_W { SCRATCH4_W::new(self, 0) } diff --git a/esp32/src/rtc_cntl/store5.rs b/esp32/src/rtc_cntl/store5.rs index 8b1fd29c9d..68684a6337 100644 --- a/esp32/src/rtc_cntl/store5.rs +++ b/esp32/src/rtc_cntl/store5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - 32-bit general purpose retention register"] #[inline(always)] - #[must_use] pub fn scratch5(&mut self) -> SCRATCH5_W { SCRATCH5_W::new(self, 0) } diff --git a/esp32/src/rtc_cntl/store6.rs b/esp32/src/rtc_cntl/store6.rs index 5046782723..a89e32cb01 100644 --- a/esp32/src/rtc_cntl/store6.rs +++ b/esp32/src/rtc_cntl/store6.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - 32-bit general purpose retention register"] #[inline(always)] - #[must_use] pub fn scratch6(&mut self) -> SCRATCH6_W { SCRATCH6_W::new(self, 0) } diff --git a/esp32/src/rtc_cntl/store7.rs b/esp32/src/rtc_cntl/store7.rs index b796a05990..02950cb377 100644 --- a/esp32/src/rtc_cntl/store7.rs +++ b/esp32/src/rtc_cntl/store7.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - 32-bit general purpose retention register"] #[inline(always)] - #[must_use] pub fn scratch7(&mut self) -> SCRATCH7_W { SCRATCH7_W::new(self, 0) } diff --git a/esp32/src/rtc_cntl/sw_cpu_stall.rs b/esp32/src/rtc_cntl/sw_cpu_stall.rs index ae2be351a8..d46ee7df3c 100644 --- a/esp32/src/rtc_cntl/sw_cpu_stall.rs +++ b/esp32/src/rtc_cntl/sw_cpu_stall.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 20:25 - {reg_sw_stall_appcpu_c1\\[5:0\\] reg_sw_stall_appcpu_c0\\[1:0\\]} == 0x86 will stall APP CPU"] #[inline(always)] - #[must_use] pub fn sw_stall_appcpu_c1(&mut self) -> SW_STALL_APPCPU_C1_W { SW_STALL_APPCPU_C1_W::new(self, 20) } #[doc = "Bits 26:31 - {reg_sw_stall_procpu_c1\\[5:0\\] reg_sw_stall_procpu_c0\\[1:0\\]} == 0x86 will stall PRO CPU"] #[inline(always)] - #[must_use] pub fn sw_stall_procpu_c1(&mut self) -> SW_STALL_PROCPU_C1_W { SW_STALL_PROCPU_C1_W::new(self, 26) } diff --git a/esp32/src/rtc_cntl/test_mux.rs b/esp32/src/rtc_cntl/test_mux.rs index cd515ee358..cf52cc0462 100644 --- a/esp32/src/rtc_cntl/test_mux.rs +++ b/esp32/src/rtc_cntl/test_mux.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 29 - ENT_RTC"] #[inline(always)] - #[must_use] pub fn ent_rtc(&mut self) -> ENT_RTC_W { ENT_RTC_W::new(self, 29) } #[doc = "Bits 30:31 - DTEST_RTC"] #[inline(always)] - #[must_use] pub fn dtest_rtc(&mut self) -> DTEST_RTC_W { DTEST_RTC_W::new(self, 30) } diff --git a/esp32/src/rtc_cntl/time_update.rs b/esp32/src/rtc_cntl/time_update.rs index b675b8dcde..8c8a29993f 100644 --- a/esp32/src/rtc_cntl/time_update.rs +++ b/esp32/src/rtc_cntl/time_update.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - Set 1: to update register with RTC timer"] #[inline(always)] - #[must_use] pub fn time_update(&mut self) -> TIME_UPDATE_W { TIME_UPDATE_W::new(self, 31) } diff --git a/esp32/src/rtc_cntl/timer1.rs b/esp32/src/rtc_cntl/timer1.rs index 804dda8abf..b6c21e9202 100644 --- a/esp32/src/rtc_cntl/timer1.rs +++ b/esp32/src/rtc_cntl/timer1.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - CPU stall enable bit"] #[inline(always)] - #[must_use] pub fn cpu_stall_en(&mut self) -> CPU_STALL_EN_W { CPU_STALL_EN_W::new(self, 0) } #[doc = "Bits 1:5 - CPU stall wait cycles in fast_clk_rtc"] #[inline(always)] - #[must_use] pub fn cpu_stall_wait(&mut self) -> CPU_STALL_WAIT_W { CPU_STALL_WAIT_W::new(self, 1) } #[doc = "Bits 6:13 - CK8M wait cycles in slow_clk_rtc"] #[inline(always)] - #[must_use] pub fn ck8m_wait(&mut self) -> CK8M_WAIT_W { CK8M_WAIT_W::new(self, 6) } #[doc = "Bits 14:23 - XTAL wait cycles in slow_clk_rtc"] #[inline(always)] - #[must_use] pub fn xtl_buf_wait(&mut self) -> XTL_BUF_WAIT_W { XTL_BUF_WAIT_W::new(self, 14) } #[doc = "Bits 24:31 - PLL wait cycles in slow_clk_rtc"] #[inline(always)] - #[must_use] pub fn pll_buf_wait(&mut self) -> PLL_BUF_WAIT_W { PLL_BUF_WAIT_W::new(self, 24) } diff --git a/esp32/src/rtc_cntl/timer2.rs b/esp32/src/rtc_cntl/timer2.rs index f89909059b..3a9e0241c7 100644 --- a/esp32/src/rtc_cntl/timer2.rs +++ b/esp32/src/rtc_cntl/timer2.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 15:23 - wait cycles in slow_clk_rtc before ULP-coprocessor / touch controller start to work"] #[inline(always)] - #[must_use] pub fn ulpcp_touch_start_wait(&mut self) -> ULPCP_TOUCH_START_WAIT_W { ULPCP_TOUCH_START_WAIT_W::new(self, 15) } #[doc = "Bits 24:31 - minimal cycles in slow_clk_rtc for CK8M in power down state"] #[inline(always)] - #[must_use] pub fn min_time_ck8m_off(&mut self) -> MIN_TIME_CK8M_OFF_W { MIN_TIME_CK8M_OFF_W::new(self, 24) } diff --git a/esp32/src/rtc_cntl/timer3.rs b/esp32/src/rtc_cntl/timer3.rs index ba2b6ec3b4..5be62166c8 100644 --- a/esp32/src/rtc_cntl/timer3.rs +++ b/esp32/src/rtc_cntl/timer3.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8"] #[inline(always)] - #[must_use] pub fn wifi_wait_timer(&mut self) -> WIFI_WAIT_TIMER_W { WIFI_WAIT_TIMER_W::new(self, 0) } #[doc = "Bits 9:15"] #[inline(always)] - #[must_use] pub fn wifi_powerup_timer(&mut self) -> WIFI_POWERUP_TIMER_W { WIFI_POWERUP_TIMER_W::new(self, 9) } #[doc = "Bits 16:24"] #[inline(always)] - #[must_use] pub fn rom_ram_wait_timer(&mut self) -> ROM_RAM_WAIT_TIMER_W { ROM_RAM_WAIT_TIMER_W::new(self, 16) } #[doc = "Bits 25:31"] #[inline(always)] - #[must_use] pub fn rom_ram_powerup_timer(&mut self) -> ROM_RAM_POWERUP_TIMER_W { ROM_RAM_POWERUP_TIMER_W::new(self, 25) } diff --git a/esp32/src/rtc_cntl/timer4.rs b/esp32/src/rtc_cntl/timer4.rs index 7f3ccf88c5..d6801c4001 100644 --- a/esp32/src/rtc_cntl/timer4.rs +++ b/esp32/src/rtc_cntl/timer4.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8"] #[inline(always)] - #[must_use] pub fn wait_timer(&mut self) -> WAIT_TIMER_W { WAIT_TIMER_W::new(self, 0) } #[doc = "Bits 9:15"] #[inline(always)] - #[must_use] pub fn powerup_timer(&mut self) -> POWERUP_TIMER_W { POWERUP_TIMER_W::new(self, 9) } #[doc = "Bits 16:24"] #[inline(always)] - #[must_use] pub fn dg_wrap_wait_timer(&mut self) -> DG_WRAP_WAIT_TIMER_W { DG_WRAP_WAIT_TIMER_W::new(self, 16) } #[doc = "Bits 25:31"] #[inline(always)] - #[must_use] pub fn dg_wrap_powerup_timer(&mut self) -> DG_WRAP_POWERUP_TIMER_W { DG_WRAP_POWERUP_TIMER_W::new(self, 25) } diff --git a/esp32/src/rtc_cntl/timer5.rs b/esp32/src/rtc_cntl/timer5.rs index 223a77bb06..0fe9d33ecb 100644 --- a/esp32/src/rtc_cntl/timer5.rs +++ b/esp32/src/rtc_cntl/timer5.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn ulp_cp_subtimer_prediv(&mut self) -> ULP_CP_SUBTIMER_PREDIV_W { ULP_CP_SUBTIMER_PREDIV_W::new(self, 0) } #[doc = "Bits 8:15 - minimal sleep cycles in slow_clk_rtc"] #[inline(always)] - #[must_use] pub fn min_slp_val(&mut self) -> MIN_SLP_VAL_W { MIN_SLP_VAL_W::new(self, 8) } #[doc = "Bits 16:24"] #[inline(always)] - #[must_use] pub fn rtcmem_wait_timer(&mut self) -> RTCMEM_WAIT_TIMER_W { RTCMEM_WAIT_TIMER_W::new(self, 16) } #[doc = "Bits 25:31"] #[inline(always)] - #[must_use] pub fn rtcmem_powerup_timer(&mut self) -> RTCMEM_POWERUP_TIMER_W { RTCMEM_POWERUP_TIMER_W::new(self, 25) } diff --git a/esp32/src/rtc_cntl/wakeup_state.rs b/esp32/src/rtc_cntl/wakeup_state.rs index 993d3f4ed7..1af41b318a 100644 --- a/esp32/src/rtc_cntl/wakeup_state.rs +++ b/esp32/src/rtc_cntl/wakeup_state.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 11:21 - wakeup enable bitmap"] #[inline(always)] - #[must_use] pub fn wakeup_ena(&mut self) -> WAKEUP_ENA_W { WAKEUP_ENA_W::new(self, 11) } #[doc = "Bit 22 - enable filter for gpio wakeup event"] #[inline(always)] - #[must_use] pub fn gpio_wakeup_filter(&mut self) -> GPIO_WAKEUP_FILTER_W { GPIO_WAKEUP_FILTER_W::new(self, 22) } diff --git a/esp32/src/rtc_cntl/wdtconfig0.rs b/esp32/src/rtc_cntl/wdtconfig0.rs index 34bc4e6c1a..766d191b83 100644 --- a/esp32/src/rtc_cntl/wdtconfig0.rs +++ b/esp32/src/rtc_cntl/wdtconfig0.rs @@ -144,79 +144,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 7 - pause WDT in sleep"] #[inline(always)] - #[must_use] pub fn wdt_pause_in_slp(&mut self) -> WDT_PAUSE_IN_SLP_W { WDT_PAUSE_IN_SLP_W::new(self, 7) } #[doc = "Bit 8 - enable WDT reset APP CPU"] #[inline(always)] - #[must_use] pub fn wdt_appcpu_reset_en(&mut self) -> WDT_APPCPU_RESET_EN_W { WDT_APPCPU_RESET_EN_W::new(self, 8) } #[doc = "Bit 9 - enable WDT reset PRO CPU"] #[inline(always)] - #[must_use] pub fn wdt_procpu_reset_en(&mut self) -> WDT_PROCPU_RESET_EN_W { WDT_PROCPU_RESET_EN_W::new(self, 9) } #[doc = "Bit 10 - enable WDT in flash boot"] #[inline(always)] - #[must_use] pub fn wdt_flashboot_mod_en(&mut self) -> WDT_FLASHBOOT_MOD_EN_W { WDT_FLASHBOOT_MOD_EN_W::new(self, 10) } #[doc = "Bits 11:13 - system reset counter length"] #[inline(always)] - #[must_use] pub fn wdt_sys_reset_length(&mut self) -> WDT_SYS_RESET_LENGTH_W { WDT_SYS_RESET_LENGTH_W::new(self, 11) } #[doc = "Bits 14:16 - CPU reset counter length"] #[inline(always)] - #[must_use] pub fn wdt_cpu_reset_length(&mut self) -> WDT_CPU_RESET_LENGTH_W { WDT_CPU_RESET_LENGTH_W::new(self, 14) } #[doc = "Bit 17 - N/A"] #[inline(always)] - #[must_use] pub fn wdt_level_int_en(&mut self) -> WDT_LEVEL_INT_EN_W { WDT_LEVEL_INT_EN_W::new(self, 17) } #[doc = "Bit 18 - N/A"] #[inline(always)] - #[must_use] pub fn wdt_edge_int_en(&mut self) -> WDT_EDGE_INT_EN_W { WDT_EDGE_INT_EN_W::new(self, 18) } #[doc = "Bits 19:21 - 1: interrupt stage en 2: CPU reset stage en 3: system reset stage en 4: RTC reset stage en"] #[inline(always)] - #[must_use] pub fn wdt_stg3(&mut self) -> WDT_STG3_W { WDT_STG3_W::new(self, 19) } #[doc = "Bits 22:24 - 1: interrupt stage en 2: CPU reset stage en 3: system reset stage en 4: RTC reset stage en"] #[inline(always)] - #[must_use] pub fn wdt_stg2(&mut self) -> WDT_STG2_W { WDT_STG2_W::new(self, 22) } #[doc = "Bits 25:27 - 1: interrupt stage en 2: CPU reset stage en 3: system reset stage en 4: RTC reset stage en"] #[inline(always)] - #[must_use] pub fn wdt_stg1(&mut self) -> WDT_STG1_W { WDT_STG1_W::new(self, 25) } #[doc = "Bits 28:30 - 1: interrupt stage en 2: CPU reset stage en 3: system reset stage en 4: RTC reset stage en"] #[inline(always)] - #[must_use] pub fn wdt_stg0(&mut self) -> WDT_STG0_W { WDT_STG0_W::new(self, 28) } #[doc = "Bit 31 - enable RTC WDT"] #[inline(always)] - #[must_use] pub fn wdt_en(&mut self) -> WDT_EN_W { WDT_EN_W::new(self, 31) } diff --git a/esp32/src/rtc_cntl/wdtconfig1.rs b/esp32/src/rtc_cntl/wdtconfig1.rs index ef41da26e5..dc1c1e8312 100644 --- a/esp32/src/rtc_cntl/wdtconfig1.rs +++ b/esp32/src/rtc_cntl/wdtconfig1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn wdt_stg0_hold(&mut self) -> WDT_STG0_HOLD_W { WDT_STG0_HOLD_W::new(self, 0) } diff --git a/esp32/src/rtc_cntl/wdtconfig2.rs b/esp32/src/rtc_cntl/wdtconfig2.rs index 6528769dfb..0d38c5c461 100644 --- a/esp32/src/rtc_cntl/wdtconfig2.rs +++ b/esp32/src/rtc_cntl/wdtconfig2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn wdt_stg1_hold(&mut self) -> WDT_STG1_HOLD_W { WDT_STG1_HOLD_W::new(self, 0) } diff --git a/esp32/src/rtc_cntl/wdtconfig3.rs b/esp32/src/rtc_cntl/wdtconfig3.rs index e62c11a620..3c7391e88f 100644 --- a/esp32/src/rtc_cntl/wdtconfig3.rs +++ b/esp32/src/rtc_cntl/wdtconfig3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn wdt_stg2_hold(&mut self) -> WDT_STG2_HOLD_W { WDT_STG2_HOLD_W::new(self, 0) } diff --git a/esp32/src/rtc_cntl/wdtconfig4.rs b/esp32/src/rtc_cntl/wdtconfig4.rs index 73fb5c4b47..62fb7fb500 100644 --- a/esp32/src/rtc_cntl/wdtconfig4.rs +++ b/esp32/src/rtc_cntl/wdtconfig4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn wdt_stg3_hold(&mut self) -> WDT_STG3_HOLD_W { WDT_STG3_HOLD_W::new(self, 0) } diff --git a/esp32/src/rtc_cntl/wdtfeed.rs b/esp32/src/rtc_cntl/wdtfeed.rs index 8405420ed7..4b687c22d0 100644 --- a/esp32/src/rtc_cntl/wdtfeed.rs +++ b/esp32/src/rtc_cntl/wdtfeed.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn wdt_feed(&mut self) -> WDT_FEED_W { WDT_FEED_W::new(self, 31) } diff --git a/esp32/src/rtc_cntl/wdtwprotect.rs b/esp32/src/rtc_cntl/wdtwprotect.rs index 54b8a891e7..94d4e973e8 100644 --- a/esp32/src/rtc_cntl/wdtwprotect.rs +++ b/esp32/src/rtc_cntl/wdtwprotect.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn wdt_wkey(&mut self) -> WDT_WKEY_W { WDT_WKEY_W::new(self, 0) } diff --git a/esp32/src/rtc_i2c/cmd.rs b/esp32/src/rtc_i2c/cmd.rs index 0860abcbe0..647245d981 100644 --- a/esp32/src/rtc_i2c/cmd.rs +++ b/esp32/src/rtc_i2c/cmd.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - Command content"] #[inline(always)] - #[must_use] pub fn val(&mut self) -> VAL_W { VAL_W::new(self, 0) } #[doc = "Bit 31 - Bit is set by HW when command is done"] #[inline(always)] - #[must_use] pub fn done(&mut self) -> DONE_W { DONE_W::new(self, 31) } diff --git a/esp32/src/rtc_i2c/ctrl.rs b/esp32/src/rtc_i2c/ctrl.rs index edf037c028..55ac671591 100644 --- a/esp32/src/rtc_i2c/ctrl.rs +++ b/esp32/src/rtc_i2c/ctrl.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - SDA is push-pull (1) or open-drain (0)"] #[inline(always)] - #[must_use] pub fn sda_force_out(&mut self) -> SDA_FORCE_OUT_W { SDA_FORCE_OUT_W::new(self, 0) } #[doc = "Bit 1 - SCL is push-pull (1) or open-drain (0)"] #[inline(always)] - #[must_use] pub fn scl_force_out(&mut self) -> SCL_FORCE_OUT_W { SCL_FORCE_OUT_W::new(self, 1) } #[doc = "Bit 4 - Master (1) or slave (0)"] #[inline(always)] - #[must_use] pub fn ms_mode(&mut self) -> MS_MODE_W { MS_MODE_W::new(self, 4) } #[doc = "Bit 5 - Force to generate start condition"] #[inline(always)] - #[must_use] pub fn trans_start(&mut self) -> TRANS_START_W { TRANS_START_W::new(self, 5) } #[doc = "Bit 6 - Send LSB first"] #[inline(always)] - #[must_use] pub fn tx_lsb_first(&mut self) -> TX_LSB_FIRST_W { TX_LSB_FIRST_W::new(self, 6) } #[doc = "Bit 7 - Receive LSB first"] #[inline(always)] - #[must_use] pub fn rx_lsb_first(&mut self) -> RX_LSB_FIRST_W { RX_LSB_FIRST_W::new(self, 7) } diff --git a/esp32/src/rtc_i2c/debug_status.rs b/esp32/src/rtc_i2c/debug_status.rs index 7e4c23ab26..ef76cae0e3 100644 --- a/esp32/src/rtc_i2c/debug_status.rs +++ b/esp32/src/rtc_i2c/debug_status.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The value of an acknowledge signal on the bus"] #[inline(always)] - #[must_use] pub fn ack_val(&mut self) -> ACK_VAL_W { ACK_VAL_W::new(self, 0) } #[doc = "Bit 1 - When working as a slave, the value of R/W bit received"] #[inline(always)] - #[must_use] pub fn slave_rw(&mut self) -> SLAVE_RW_W { SLAVE_RW_W::new(self, 1) } #[doc = "Bit 2 - Transfer has timed out"] #[inline(always)] - #[must_use] pub fn timed_out(&mut self) -> TIMED_OUT_W { TIMED_OUT_W::new(self, 2) } #[doc = "Bit 3 - When working as a master, lost control of I2C bus"] #[inline(always)] - #[must_use] pub fn arb_lost(&mut self) -> ARB_LOST_W { ARB_LOST_W::new(self, 3) } #[doc = "Bit 4 - operation is in progress"] #[inline(always)] - #[must_use] pub fn bus_busy(&mut self) -> BUS_BUSY_W { BUS_BUSY_W::new(self, 4) } #[doc = "Bit 5 - When working as a slave, whether address was matched"] #[inline(always)] - #[must_use] pub fn slave_addr_match(&mut self) -> SLAVE_ADDR_MATCH_W { SLAVE_ADDR_MATCH_W::new(self, 5) } #[doc = "Bit 6 - 8 bit transmit done"] #[inline(always)] - #[must_use] pub fn byte_trans(&mut self) -> BYTE_TRANS_W { BYTE_TRANS_W::new(self, 6) } #[doc = "Bits 25:27 - state of the main state machine"] #[inline(always)] - #[must_use] pub fn main_state(&mut self) -> MAIN_STATE_W { MAIN_STATE_W::new(self, 25) } #[doc = "Bits 28:30 - state of SCL state machine"] #[inline(always)] - #[must_use] pub fn scl_state(&mut self) -> SCL_STATE_W { SCL_STATE_W::new(self, 28) } diff --git a/esp32/src/rtc_i2c/int_clr.rs b/esp32/src/rtc_i2c/int_clr.rs index c83d13f34c..65d07f0fab 100644 --- a/esp32/src/rtc_i2c/int_clr.rs +++ b/esp32/src/rtc_i2c/int_clr.rs @@ -56,31 +56,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn slave_trans_complete(&mut self) -> SLAVE_TRANS_COMPLETE_W { SLAVE_TRANS_COMPLETE_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn arbitration_lost(&mut self) -> ARBITRATION_LOST_W { ARBITRATION_LOST_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn master_trans_complete(&mut self) -> MASTER_TRANS_COMPLETE_W { MASTER_TRANS_COMPLETE_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn trans_complete(&mut self) -> TRANS_COMPLETE_W { TRANS_COMPLETE_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn time_out(&mut self) -> TIME_OUT_W { TIME_OUT_W::new(self, 8) } diff --git a/esp32/src/rtc_i2c/int_raw.rs b/esp32/src/rtc_i2c/int_raw.rs index cbb26bf484..2ced2eba4b 100644 --- a/esp32/src/rtc_i2c/int_raw.rs +++ b/esp32/src/rtc_i2c/int_raw.rs @@ -62,25 +62,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - Slave accepted 1 byte and address matched"] #[inline(always)] - #[must_use] pub fn slave_trans_complete(&mut self) -> SLAVE_TRANS_COMPLETE_W { SLAVE_TRANS_COMPLETE_W::new(self, 3) } #[doc = "Bit 4 - Master lost arbitration"] #[inline(always)] - #[must_use] pub fn arbitration_lost(&mut self) -> ARBITRATION_LOST_W { ARBITRATION_LOST_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn master_trans_complete(&mut self) -> MASTER_TRANS_COMPLETE_W { MASTER_TRANS_COMPLETE_W::new(self, 5) } #[doc = "Bit 6 - Stop condition has been detected interrupt raw status"] #[inline(always)] - #[must_use] pub fn trans_complete(&mut self) -> TRANS_COMPLETE_W { TRANS_COMPLETE_W::new(self, 6) } diff --git a/esp32/src/rtc_i2c/scl_high_period.rs b/esp32/src/rtc_i2c/scl_high_period.rs index 16b39bcf43..a17e9af1c6 100644 --- a/esp32/src/rtc_i2c/scl_high_period.rs +++ b/esp32/src/rtc_i2c/scl_high_period.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - Number of FAST_CLK cycles for SCL to be high"] #[inline(always)] - #[must_use] pub fn scl_high_period(&mut self) -> SCL_HIGH_PERIOD_W { SCL_HIGH_PERIOD_W::new(self, 0) } diff --git a/esp32/src/rtc_i2c/scl_low_period.rs b/esp32/src/rtc_i2c/scl_low_period.rs index 9538fe1b6e..df3c65c0c9 100644 --- a/esp32/src/rtc_i2c/scl_low_period.rs +++ b/esp32/src/rtc_i2c/scl_low_period.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:24 - number of cycles that scl == 0"] #[inline(always)] - #[must_use] pub fn scl_low_period(&mut self) -> SCL_LOW_PERIOD_W { SCL_LOW_PERIOD_W::new(self, 0) } diff --git a/esp32/src/rtc_i2c/scl_start_period.rs b/esp32/src/rtc_i2c/scl_start_period.rs index fb4b2321f9..8817c9448e 100644 --- a/esp32/src/rtc_i2c/scl_start_period.rs +++ b/esp32/src/rtc_i2c/scl_start_period.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - Number of FAST_CLK cycles to wait before generating start condition"] #[inline(always)] - #[must_use] pub fn scl_start_period(&mut self) -> SCL_START_PERIOD_W { SCL_START_PERIOD_W::new(self, 0) } diff --git a/esp32/src/rtc_i2c/scl_stop_period.rs b/esp32/src/rtc_i2c/scl_stop_period.rs index 2c5b9b9a4d..b70fb6015c 100644 --- a/esp32/src/rtc_i2c/scl_stop_period.rs +++ b/esp32/src/rtc_i2c/scl_stop_period.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - Number of FAST_CLK cycles to wait before generating stop condition"] #[inline(always)] - #[must_use] pub fn scl_stop_period(&mut self) -> SCL_STOP_PERIOD_W { SCL_STOP_PERIOD_W::new(self, 0) } diff --git a/esp32/src/rtc_i2c/sda_duty.rs b/esp32/src/rtc_i2c/sda_duty.rs index a3070df62f..aafdce8a42 100644 --- a/esp32/src/rtc_i2c/sda_duty.rs +++ b/esp32/src/rtc_i2c/sda_duty.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - Number of FAST_CLK cycles SDA will switch after falling edge of SCL"] #[inline(always)] - #[must_use] pub fn sda_duty(&mut self) -> SDA_DUTY_W { SDA_DUTY_W::new(self, 0) } diff --git a/esp32/src/rtc_i2c/slave_addr.rs b/esp32/src/rtc_i2c/slave_addr.rs index 1d0323a546..8ba09a6783 100644 --- a/esp32/src/rtc_i2c/slave_addr.rs +++ b/esp32/src/rtc_i2c/slave_addr.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:14 - local slave address"] #[inline(always)] - #[must_use] pub fn slave_addr(&mut self) -> SLAVE_ADDR_W { SLAVE_ADDR_W::new(self, 0) } #[doc = "Bit 31 - Set if local slave address is 10-bit"] #[inline(always)] - #[must_use] pub fn _10bit(&mut self) -> _10BIT_W { _10BIT_W::new(self, 31) } diff --git a/esp32/src/rtc_i2c/timeout.rs b/esp32/src/rtc_i2c/timeout.rs index 0548e3e2f8..3595ed440a 100644 --- a/esp32/src/rtc_i2c/timeout.rs +++ b/esp32/src/rtc_i2c/timeout.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - Maximum number of FAST_CLK cycles that the transmission can take"] #[inline(always)] - #[must_use] pub fn timeout(&mut self) -> TIMEOUT_W { TIMEOUT_W::new(self, 0) } diff --git a/esp32/src/rtc_io.rs b/esp32/src/rtc_io.rs index 737610b658..c40e0dd6d1 100644 --- a/esp32/src/rtc_io.rs +++ b/esp32/src/rtc_io.rs @@ -124,6 +124,8 @@ impl RegisterBlock { &self.adc_pad } #[doc = "0x84..0x8c - "] + #[doc = ""] + #[doc = "
`n` is the index of register in the array. `n == 0` corresponds to `PAD_DAC1` register.
"] #[inline(always)] pub const fn pad_dac(&self, n: usize) -> &PAD_DAC { &self.pad_dac[n] diff --git a/esp32/src/rtc_io/adc_pad.rs b/esp32/src/rtc_io/adc_pad.rs index af2a538916..a8d35cf46e 100644 --- a/esp32/src/rtc_io/adc_pad.rs +++ b/esp32/src/rtc_io/adc_pad.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 18 - the input enable of the pad"] #[inline(always)] - #[must_use] pub fn adc2_fun_ie(&mut self) -> ADC2_FUN_IE_W { ADC2_FUN_IE_W::new(self, 18) } #[doc = "Bit 19 - the input enable of the pad in sleep status"] #[inline(always)] - #[must_use] pub fn adc2_slp_ie(&mut self) -> ADC2_SLP_IE_W { ADC2_SLP_IE_W::new(self, 19) } #[doc = "Bit 20 - the sleep status selection signal of the pad"] #[inline(always)] - #[must_use] pub fn adc2_slp_sel(&mut self) -> ADC2_SLP_SEL_W { ADC2_SLP_SEL_W::new(self, 20) } #[doc = "Bits 21:22 - the functional selection signal of the pad"] #[inline(always)] - #[must_use] pub fn adc2_fun_sel(&mut self) -> ADC2_FUN_SEL_W { ADC2_FUN_SEL_W::new(self, 21) } #[doc = "Bit 23 - the input enable of the pad"] #[inline(always)] - #[must_use] pub fn adc1_fun_ie(&mut self) -> ADC1_FUN_IE_W { ADC1_FUN_IE_W::new(self, 23) } #[doc = "Bit 24 - the input enable of the pad in sleep status"] #[inline(always)] - #[must_use] pub fn adc1_slp_ie(&mut self) -> ADC1_SLP_IE_W { ADC1_SLP_IE_W::new(self, 24) } #[doc = "Bit 25 - the sleep status selection signal of the pad"] #[inline(always)] - #[must_use] pub fn adc1_slp_sel(&mut self) -> ADC1_SLP_SEL_W { ADC1_SLP_SEL_W::new(self, 25) } #[doc = "Bits 26:27 - the functional selection signal of the pad"] #[inline(always)] - #[must_use] pub fn adc1_fun_sel(&mut self) -> ADC1_FUN_SEL_W { ADC1_FUN_SEL_W::new(self, 26) } #[doc = "Bit 28 - Ò1Ó select the digital function Ó0Óslection the rtc function"] #[inline(always)] - #[must_use] pub fn adc2_mux_sel(&mut self) -> ADC2_MUX_SEL_W { ADC2_MUX_SEL_W::new(self, 28) } #[doc = "Bit 29 - Ò1Ó select the digital function Ó0Óslection the rtc function"] #[inline(always)] - #[must_use] pub fn adc1_mux_sel(&mut self) -> ADC1_MUX_SEL_W { ADC1_MUX_SEL_W::new(self, 29) } #[doc = "Bit 30 - hold the current value of the output when setting the hold to Ò1Ó"] #[inline(always)] - #[must_use] pub fn adc2_hold(&mut self) -> ADC2_HOLD_W { ADC2_HOLD_W::new(self, 30) } #[doc = "Bit 31 - hold the current value of the output when setting the hold to Ò1Ó"] #[inline(always)] - #[must_use] pub fn adc1_hold(&mut self) -> ADC1_HOLD_W { ADC1_HOLD_W::new(self, 31) } diff --git a/esp32/src/rtc_io/date.rs b/esp32/src/rtc_io/date.rs index 423472f5fa..51c470b95a 100644 --- a/esp32/src/rtc_io/date.rs +++ b/esp32/src/rtc_io/date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - date"] #[inline(always)] - #[must_use] pub fn io_date(&mut self) -> IO_DATE_W { IO_DATE_W::new(self, 0) } diff --git a/esp32/src/rtc_io/dig_pad_hold.rs b/esp32/src/rtc_io/dig_pad_hold.rs index 5186f2d14f..e6c03c3e68 100644 --- a/esp32/src/rtc_io/dig_pad_hold.rs +++ b/esp32/src/rtc_io/dig_pad_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - select the digital pad hold value."] #[inline(always)] - #[must_use] pub fn dig_pad_hold(&mut self) -> DIG_PAD_HOLD_W { DIG_PAD_HOLD_W::new(self, 0) } diff --git a/esp32/src/rtc_io/enable.rs b/esp32/src/rtc_io/enable.rs index b69b17e3f8..14f6214bfa 100644 --- a/esp32/src/rtc_io/enable.rs +++ b/esp32/src/rtc_io/enable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 14:31 - GPIO0~17 output enable"] #[inline(always)] - #[must_use] pub fn enable(&mut self) -> ENABLE_W { ENABLE_W::new(self, 14) } diff --git a/esp32/src/rtc_io/enable_w1tc.rs b/esp32/src/rtc_io/enable_w1tc.rs index 4a6ca20b09..8ad82dce67 100644 --- a/esp32/src/rtc_io/enable_w1tc.rs +++ b/esp32/src/rtc_io/enable_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 14:31 - GPIO0~17 output enable write 1 to clear"] #[inline(always)] - #[must_use] pub fn enable_w1tc(&mut self) -> ENABLE_W1TC_W { ENABLE_W1TC_W::new(self, 14) } diff --git a/esp32/src/rtc_io/enable_w1ts.rs b/esp32/src/rtc_io/enable_w1ts.rs index 117ca2db4e..fe1def7b95 100644 --- a/esp32/src/rtc_io/enable_w1ts.rs +++ b/esp32/src/rtc_io/enable_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 14:31 - GPIO0~17 output enable write 1 to set"] #[inline(always)] - #[must_use] pub fn enable_w1ts(&mut self) -> ENABLE_W1TS_W { ENABLE_W1TS_W::new(self, 14) } diff --git a/esp32/src/rtc_io/ext_wakeup0.rs b/esp32/src/rtc_io/ext_wakeup0.rs index 08fa37abc9..64fe93c7a0 100644 --- a/esp32/src/rtc_io/ext_wakeup0.rs +++ b/esp32/src/rtc_io/ext_wakeup0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 27:31 - select the wakeup source Ó0Ó select GPIO0 Ó1Ó select GPIO2 ...Ò17Ó select GPIO17"] #[inline(always)] - #[must_use] pub fn sel(&mut self) -> SEL_W { SEL_W::new(self, 27) } diff --git a/esp32/src/rtc_io/hall_sens.rs b/esp32/src/rtc_io/hall_sens.rs index 4928740c53..1a60e64c3e 100644 --- a/esp32/src/rtc_io/hall_sens.rs +++ b/esp32/src/rtc_io/hall_sens.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - Reverse phase of hall sensor"] #[inline(always)] - #[must_use] pub fn hall_phase(&mut self) -> HALL_PHASE_W { HALL_PHASE_W::new(self, 30) } #[doc = "Bit 31 - Power on hall sensor and connect to VP and VN"] #[inline(always)] - #[must_use] pub fn xpd_hall(&mut self) -> XPD_HALL_W { XPD_HALL_W::new(self, 31) } diff --git a/esp32/src/rtc_io/out.rs b/esp32/src/rtc_io/out.rs index ddc9219acc..d50f6fb6d1 100644 --- a/esp32/src/rtc_io/out.rs +++ b/esp32/src/rtc_io/out.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 14:31 - GPIO0~17 output value"] #[inline(always)] - #[must_use] pub fn data(&mut self) -> DATA_W { DATA_W::new(self, 14) } diff --git a/esp32/src/rtc_io/out_w1tc.rs b/esp32/src/rtc_io/out_w1tc.rs index 83c3956a7b..b99d2f5b9c 100644 --- a/esp32/src/rtc_io/out_w1tc.rs +++ b/esp32/src/rtc_io/out_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 14:31 - GPIO0~17 output value write 1 to clear"] #[inline(always)] - #[must_use] pub fn out_data_w1tc(&mut self) -> OUT_DATA_W1TC_W { OUT_DATA_W1TC_W::new(self, 14) } diff --git a/esp32/src/rtc_io/out_w1ts.rs b/esp32/src/rtc_io/out_w1ts.rs index 8524051778..222f728252 100644 --- a/esp32/src/rtc_io/out_w1ts.rs +++ b/esp32/src/rtc_io/out_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 14:31 - GPIO0~17 output value write 1 to set"] #[inline(always)] - #[must_use] pub fn out_data_w1ts(&mut self) -> OUT_DATA_W1TS_W { OUT_DATA_W1TS_W::new(self, 14) } diff --git a/esp32/src/rtc_io/pad_dac.rs b/esp32/src/rtc_io/pad_dac.rs index 6fa689ba1a..9e903cd42b 100644 --- a/esp32/src/rtc_io/pad_dac.rs +++ b/esp32/src/rtc_io/pad_dac.rs @@ -144,79 +144,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 10 - Power on DAC1. Usually we need to tristate PDAC1 if we power on the DAC i.e. IE=0 OE=0 RDE=0 RUE=0"] #[inline(always)] - #[must_use] pub fn dac_xpd_force(&mut self) -> DAC_XPD_FORCE_W { DAC_XPD_FORCE_W::new(self, 10) } #[doc = "Bit 11 - the input enable of the pad"] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 11) } #[doc = "Bit 12 - the output enable of the pad in sleep status"] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 12) } #[doc = "Bit 13 - the input enable of the pad in sleep status"] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 13) } #[doc = "Bit 14 - the sleep status selection signal of the pad"] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 14) } #[doc = "Bits 15:16 - the functional selection signal of the pad"] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 15) } #[doc = "Bit 17 - Ò1Ó select the digital function Ó0Óslection the rtc function"] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 17) } #[doc = "Bit 18 - Power on DAC1. Usually we need to tristate PDAC1 if we power on the DAC i.e. IE=0 OE=0 RDE=0 RUE=0"] #[inline(always)] - #[must_use] pub fn xpd_dac(&mut self) -> XPD_DAC_W { XPD_DAC_W::new(self, 18) } #[doc = "Bits 19:26 - PAD DAC1 control code."] #[inline(always)] - #[must_use] pub fn dac(&mut self) -> DAC_W { DAC_W::new(self, 19) } #[doc = "Bit 27 - the pull up enable of the pad"] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - the pull down enable of the pad"] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bit 29 - hold the current value of the output when setting the hold to Ò1Ó"] #[inline(always)] - #[must_use] pub fn hold(&mut self) -> HOLD_W { HOLD_W::new(self, 29) } #[doc = "Bits 30:31 - the driver strength of the pad"] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 30) } diff --git a/esp32/src/rtc_io/pin.rs b/esp32/src/rtc_io/pin.rs index 0fd06acf32..18958d3128 100644 --- a/esp32/src/rtc_io/pin.rs +++ b/esp32/src/rtc_io/pin.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - if set to 0: normal output if set to 1: open drain"] #[inline(always)] - #[must_use] pub fn pad_driver(&mut self) -> PAD_DRIVER_W { PAD_DRIVER_W::new(self, 2) } #[doc = "Bits 7:9 - if set to 0: GPIO interrupt disable if set to 1: rising edge trigger if set to 2: falling edge trigger if set to 3: any edge trigger if set to 4: low level trigger if set to 5: high level trigger"] #[inline(always)] - #[must_use] pub fn int_type(&mut self) -> INT_TYPE_W { INT_TYPE_W::new(self, 7) } #[doc = "Bit 10 - GPIO wake up enable only available in light sleep"] #[inline(always)] - #[must_use] pub fn wakeup_enable(&mut self) -> WAKEUP_ENABLE_W { WAKEUP_ENABLE_W::new(self, 10) } diff --git a/esp32/src/rtc_io/rtc_debug_sel.rs b/esp32/src/rtc_io/rtc_debug_sel.rs index 84e4df0d52..65edd16a49 100644 --- a/esp32/src/rtc_io/rtc_debug_sel.rs +++ b/esp32/src/rtc_io/rtc_debug_sel.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn debug_sel0(&mut self) -> DEBUG_SEL0_W { DEBUG_SEL0_W::new(self, 0) } #[doc = "Bits 5:9"] #[inline(always)] - #[must_use] pub fn debug_sel1(&mut self) -> DEBUG_SEL1_W { DEBUG_SEL1_W::new(self, 5) } #[doc = "Bits 10:14"] #[inline(always)] - #[must_use] pub fn debug_sel2(&mut self) -> DEBUG_SEL2_W { DEBUG_SEL2_W::new(self, 10) } #[doc = "Bits 15:19"] #[inline(always)] - #[must_use] pub fn debug_sel3(&mut self) -> DEBUG_SEL3_W { DEBUG_SEL3_W::new(self, 15) } #[doc = "Bits 20:24"] #[inline(always)] - #[must_use] pub fn debug_sel4(&mut self) -> DEBUG_SEL4_W { DEBUG_SEL4_W::new(self, 20) } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn debug_12m_no_gating(&mut self) -> DEBUG_12M_NO_GATING_W { DEBUG_12M_NO_GATING_W::new(self, 25) } diff --git a/esp32/src/rtc_io/sar_i2c_io.rs b/esp32/src/rtc_io/sar_i2c_io.rs index fa79748608..1ce7346e0d 100644 --- a/esp32/src/rtc_io/sar_i2c_io.rs +++ b/esp32/src/rtc_io/sar_i2c_io.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 23:27"] #[inline(always)] - #[must_use] pub fn sar_debug_bit_sel(&mut self) -> SAR_DEBUG_BIT_SEL_W { SAR_DEBUG_BIT_SEL_W::new(self, 23) } #[doc = "Bits 28:29 - Ò0Ó using TOUCH_PAD\\[0\\] as i2c clk Ò1Ó using TOUCH_PAD\\[2\\] as i2c clk"] #[inline(always)] - #[must_use] pub fn sar_i2c_scl_sel(&mut self) -> SAR_I2C_SCL_SEL_W { SAR_I2C_SCL_SEL_W::new(self, 28) } #[doc = "Bits 30:31 - Ò0Ó using TOUCH_PAD\\[1\\] as i2c sda Ò1Ó using TOUCH_PAD\\[3\\] as i2c sda"] #[inline(always)] - #[must_use] pub fn sar_i2c_sda_sel(&mut self) -> SAR_I2C_SDA_SEL_W { SAR_I2C_SDA_SEL_W::new(self, 30) } diff --git a/esp32/src/rtc_io/sensor_pads.rs b/esp32/src/rtc_io/sensor_pads.rs index b1c37246e7..1f4a0e1496 100644 --- a/esp32/src/rtc_io/sensor_pads.rs +++ b/esp32/src/rtc_io/sensor_pads.rs @@ -254,145 +254,121 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 4 - the input enable of the pad"] #[inline(always)] - #[must_use] pub fn sense4_fun_ie(&mut self) -> SENSE4_FUN_IE_W { SENSE4_FUN_IE_W::new(self, 4) } #[doc = "Bit 5 - the input enable of the pad in sleep status"] #[inline(always)] - #[must_use] pub fn sense4_slp_ie(&mut self) -> SENSE4_SLP_IE_W { SENSE4_SLP_IE_W::new(self, 5) } #[doc = "Bit 6 - the sleep status selection signal of the pad"] #[inline(always)] - #[must_use] pub fn sense4_slp_sel(&mut self) -> SENSE4_SLP_SEL_W { SENSE4_SLP_SEL_W::new(self, 6) } #[doc = "Bits 7:8 - the functional selection signal of the pad"] #[inline(always)] - #[must_use] pub fn sense4_fun_sel(&mut self) -> SENSE4_FUN_SEL_W { SENSE4_FUN_SEL_W::new(self, 7) } #[doc = "Bit 9 - the input enable of the pad"] #[inline(always)] - #[must_use] pub fn sense3_fun_ie(&mut self) -> SENSE3_FUN_IE_W { SENSE3_FUN_IE_W::new(self, 9) } #[doc = "Bit 10 - the input enable of the pad in sleep status"] #[inline(always)] - #[must_use] pub fn sense3_slp_ie(&mut self) -> SENSE3_SLP_IE_W { SENSE3_SLP_IE_W::new(self, 10) } #[doc = "Bit 11 - the sleep status selection signal of the pad"] #[inline(always)] - #[must_use] pub fn sense3_slp_sel(&mut self) -> SENSE3_SLP_SEL_W { SENSE3_SLP_SEL_W::new(self, 11) } #[doc = "Bits 12:13 - the functional selection signal of the pad"] #[inline(always)] - #[must_use] pub fn sense3_fun_sel(&mut self) -> SENSE3_FUN_SEL_W { SENSE3_FUN_SEL_W::new(self, 12) } #[doc = "Bit 14 - the input enable of the pad"] #[inline(always)] - #[must_use] pub fn sense2_fun_ie(&mut self) -> SENSE2_FUN_IE_W { SENSE2_FUN_IE_W::new(self, 14) } #[doc = "Bit 15 - the input enable of the pad in sleep status"] #[inline(always)] - #[must_use] pub fn sense2_slp_ie(&mut self) -> SENSE2_SLP_IE_W { SENSE2_SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - the sleep status selection signal of the pad"] #[inline(always)] - #[must_use] pub fn sense2_slp_sel(&mut self) -> SENSE2_SLP_SEL_W { SENSE2_SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - the functional selection signal of the pad"] #[inline(always)] - #[must_use] pub fn sense2_fun_sel(&mut self) -> SENSE2_FUN_SEL_W { SENSE2_FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - the input enable of the pad"] #[inline(always)] - #[must_use] pub fn sense1_fun_ie(&mut self) -> SENSE1_FUN_IE_W { SENSE1_FUN_IE_W::new(self, 19) } #[doc = "Bit 20 - the input enable of the pad in sleep status"] #[inline(always)] - #[must_use] pub fn sense1_slp_ie(&mut self) -> SENSE1_SLP_IE_W { SENSE1_SLP_IE_W::new(self, 20) } #[doc = "Bit 21 - the sleep status selection signal of the pad"] #[inline(always)] - #[must_use] pub fn sense1_slp_sel(&mut self) -> SENSE1_SLP_SEL_W { SENSE1_SLP_SEL_W::new(self, 21) } #[doc = "Bits 22:23 - the functional selection signal of the pad"] #[inline(always)] - #[must_use] pub fn sense1_fun_sel(&mut self) -> SENSE1_FUN_SEL_W { SENSE1_FUN_SEL_W::new(self, 22) } #[doc = "Bit 24 - Ò1Ó select the digital function Ó0Óslection the rtc function"] #[inline(always)] - #[must_use] pub fn sense4_mux_sel(&mut self) -> SENSE4_MUX_SEL_W { SENSE4_MUX_SEL_W::new(self, 24) } #[doc = "Bit 25 - Ò1Ó select the digital function Ó0Óslection the rtc function"] #[inline(always)] - #[must_use] pub fn sense3_mux_sel(&mut self) -> SENSE3_MUX_SEL_W { SENSE3_MUX_SEL_W::new(self, 25) } #[doc = "Bit 26 - Ò1Ó select the digital function Ó0Óslection the rtc function"] #[inline(always)] - #[must_use] pub fn sense2_mux_sel(&mut self) -> SENSE2_MUX_SEL_W { SENSE2_MUX_SEL_W::new(self, 26) } #[doc = "Bit 27 - Ò1Ó select the digital function Ó0Óslection the rtc function"] #[inline(always)] - #[must_use] pub fn sense1_mux_sel(&mut self) -> SENSE1_MUX_SEL_W { SENSE1_MUX_SEL_W::new(self, 27) } #[doc = "Bit 28 - hold the current value of the output when setting the hold to Ò1Ó"] #[inline(always)] - #[must_use] pub fn sense4_hold(&mut self) -> SENSE4_HOLD_W { SENSE4_HOLD_W::new(self, 28) } #[doc = "Bit 29 - hold the current value of the output when setting the hold to Ò1Ó"] #[inline(always)] - #[must_use] pub fn sense3_hold(&mut self) -> SENSE3_HOLD_W { SENSE3_HOLD_W::new(self, 29) } #[doc = "Bit 30 - hold the current value of the output when setting the hold to Ò1Ó"] #[inline(always)] - #[must_use] pub fn sense2_hold(&mut self) -> SENSE2_HOLD_W { SENSE2_HOLD_W::new(self, 30) } #[doc = "Bit 31 - hold the current value of the output when setting the hold to Ò1Ó"] #[inline(always)] - #[must_use] pub fn sense1_hold(&mut self) -> SENSE1_HOLD_W { SENSE1_HOLD_W::new(self, 31) } diff --git a/esp32/src/rtc_io/status.rs b/esp32/src/rtc_io/status.rs index 548ffca081..3edb6da92b 100644 --- a/esp32/src/rtc_io/status.rs +++ b/esp32/src/rtc_io/status.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 14:31 - GPIO0~17 interrupt status"] #[inline(always)] - #[must_use] pub fn int(&mut self) -> INT_W { INT_W::new(self, 14) } diff --git a/esp32/src/rtc_io/status_w1tc.rs b/esp32/src/rtc_io/status_w1tc.rs index 8652b1702c..b4ccf70bdc 100644 --- a/esp32/src/rtc_io/status_w1tc.rs +++ b/esp32/src/rtc_io/status_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 14:31 - GPIO0~17 interrupt status write 1 to clear"] #[inline(always)] - #[must_use] pub fn status_int_w1tc(&mut self) -> STATUS_INT_W1TC_W { STATUS_INT_W1TC_W::new(self, 14) } diff --git a/esp32/src/rtc_io/status_w1ts.rs b/esp32/src/rtc_io/status_w1ts.rs index adfd2786de..cf93196c13 100644 --- a/esp32/src/rtc_io/status_w1ts.rs +++ b/esp32/src/rtc_io/status_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 14:31 - GPIO0~17 interrupt status write 1 to set"] #[inline(always)] - #[must_use] pub fn status_int_w1ts(&mut self) -> STATUS_INT_W1TS_W { STATUS_INT_W1TS_W::new(self, 14) } diff --git a/esp32/src/rtc_io/touch_cfg.rs b/esp32/src/rtc_io/touch_cfg.rs index 5b8cf2eccd..c788f1df6e 100644 --- a/esp32/src/rtc_io/touch_cfg.rs +++ b/esp32/src/rtc_io/touch_cfg.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 23:24 - touch sensor bias current. Should have option to tie with BIAS_SLEEP(When BIAS_SLEEP this setting is available"] #[inline(always)] - #[must_use] pub fn touch_dcur(&mut self) -> TOUCH_DCUR_W { TOUCH_DCUR_W::new(self, 23) } #[doc = "Bits 25:26 - touch sensor saw wave voltage range."] #[inline(always)] - #[must_use] pub fn touch_drange(&mut self) -> TOUCH_DRANGE_W { TOUCH_DRANGE_W::new(self, 25) } #[doc = "Bits 27:28 - touch sensor saw wave bottom voltage."] #[inline(always)] - #[must_use] pub fn touch_drefl(&mut self) -> TOUCH_DREFL_W { TOUCH_DREFL_W::new(self, 27) } #[doc = "Bits 29:30 - touch sensor saw wave top voltage."] #[inline(always)] - #[must_use] pub fn touch_drefh(&mut self) -> TOUCH_DREFH_W { TOUCH_DREFH_W::new(self, 29) } #[doc = "Bit 31 - touch sensor bias power on."] #[inline(always)] - #[must_use] pub fn touch_xpd_bias(&mut self) -> TOUCH_XPD_BIAS_W { TOUCH_XPD_BIAS_W::new(self, 31) } diff --git a/esp32/src/rtc_io/touch_pad0.rs b/esp32/src/rtc_io/touch_pad0.rs index 3e174b106c..2ddb2a8ee1 100644 --- a/esp32/src/rtc_io/touch_pad0.rs +++ b/esp32/src/rtc_io/touch_pad0.rs @@ -164,91 +164,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - connect the rtc pad input to digital pad input Ó0Ó is availbale GPIO4"] #[inline(always)] - #[must_use] pub fn to_gpio(&mut self) -> TO_GPIO_W { TO_GPIO_W::new(self, 12) } #[doc = "Bit 13 - the input enable of the pad"] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - the output enable of the pad in sleep status"] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - the input enable of the pad in sleep status"] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - the sleep status selection signal of the pad"] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - the functional selection signal of the pad"] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - Ò1Ó select the digital function Ó0Óslection the rtc function"] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 19) } #[doc = "Bit 20 - touch sensor power on."] #[inline(always)] - #[must_use] pub fn xpd(&mut self) -> XPD_W { XPD_W::new(self, 20) } #[doc = "Bit 21 - default touch sensor tie option. 0: tie low 1: tie high."] #[inline(always)] - #[must_use] pub fn tie_opt(&mut self) -> TIE_OPT_W { TIE_OPT_W::new(self, 21) } #[doc = "Bit 22 - start touch sensor."] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 22) } #[doc = "Bits 23:25 - touch sensor slope control. 3-bit for each touch panel default 100."] #[inline(always)] - #[must_use] pub fn dac(&mut self) -> DAC_W { DAC_W::new(self, 23) } #[doc = "Bit 27 - the pull up enable of the pad"] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - the pull down enable of the pad"] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bits 29:30 - the driver strength of the pad"] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 29) } #[doc = "Bit 31 - hold the current value of the output when setting the hold to Ò1Ó"] #[inline(always)] - #[must_use] pub fn hold(&mut self) -> HOLD_W { HOLD_W::new(self, 31) } diff --git a/esp32/src/rtc_io/touch_pad1.rs b/esp32/src/rtc_io/touch_pad1.rs index 956972e64c..8b75add873 100644 --- a/esp32/src/rtc_io/touch_pad1.rs +++ b/esp32/src/rtc_io/touch_pad1.rs @@ -164,91 +164,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - connect the rtc pad input to digital pad input Ó0Ó is availbale.GPIO0"] #[inline(always)] - #[must_use] pub fn to_gpio(&mut self) -> TO_GPIO_W { TO_GPIO_W::new(self, 12) } #[doc = "Bit 13 - the input enable of the pad"] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - the output enable of the pad in sleep status"] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - the input enable of the pad in sleep status"] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - the sleep status selection signal of the pad"] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - the functional selection signal of the pad"] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - Ò1Ó select the digital function Ó0Óslection the rtc function"] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 19) } #[doc = "Bit 20 - touch sensor power on."] #[inline(always)] - #[must_use] pub fn xpd(&mut self) -> XPD_W { XPD_W::new(self, 20) } #[doc = "Bit 21 - default touch sensor tie option. 0: tie low 1: tie high."] #[inline(always)] - #[must_use] pub fn tie_opt(&mut self) -> TIE_OPT_W { TIE_OPT_W::new(self, 21) } #[doc = "Bit 22 - start touch sensor."] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 22) } #[doc = "Bits 23:25 - touch sensor slope control. 3-bit for each touch panel default 100."] #[inline(always)] - #[must_use] pub fn dac(&mut self) -> DAC_W { DAC_W::new(self, 23) } #[doc = "Bit 27 - the pull up enable of the pad"] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - the pull down enable of the pad"] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bits 29:30 - the driver strength of the pad"] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 29) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn hold(&mut self) -> HOLD_W { HOLD_W::new(self, 31) } diff --git a/esp32/src/rtc_io/touch_pad2.rs b/esp32/src/rtc_io/touch_pad2.rs index 8a0cb10bd8..76a6e3820b 100644 --- a/esp32/src/rtc_io/touch_pad2.rs +++ b/esp32/src/rtc_io/touch_pad2.rs @@ -164,91 +164,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - connect the rtc pad input to digital pad input Ó0Ó is availbale.GPIO2"] #[inline(always)] - #[must_use] pub fn to_gpio(&mut self) -> TO_GPIO_W { TO_GPIO_W::new(self, 12) } #[doc = "Bit 13 - the input enable of the pad"] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - the output enable of the pad in sleep status"] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - the input enable of the pad in sleep status"] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - the sleep status selection signal of the pad"] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - the functional selection signal of the pad"] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - Ò1Ó select the digital function Ó0Óslection the rtc function"] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 19) } #[doc = "Bit 20 - touch sensor power on."] #[inline(always)] - #[must_use] pub fn xpd(&mut self) -> XPD_W { XPD_W::new(self, 20) } #[doc = "Bit 21 - default touch sensor tie option. 0: tie low 1: tie high."] #[inline(always)] - #[must_use] pub fn tie_opt(&mut self) -> TIE_OPT_W { TIE_OPT_W::new(self, 21) } #[doc = "Bit 22 - start touch sensor."] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 22) } #[doc = "Bits 23:25 - touch sensor slope control. 3-bit for each touch panel default 100."] #[inline(always)] - #[must_use] pub fn dac(&mut self) -> DAC_W { DAC_W::new(self, 23) } #[doc = "Bit 27 - the pull up enable of the pad"] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - the pull down enable of the pad"] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bits 29:30 - the driver strength of the pad"] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 29) } #[doc = "Bit 31 - hold the current value of the output when setting the hold to Ò1Ó"] #[inline(always)] - #[must_use] pub fn hold(&mut self) -> HOLD_W { HOLD_W::new(self, 31) } diff --git a/esp32/src/rtc_io/touch_pad3.rs b/esp32/src/rtc_io/touch_pad3.rs index 4a1ab35171..e2670394c6 100644 --- a/esp32/src/rtc_io/touch_pad3.rs +++ b/esp32/src/rtc_io/touch_pad3.rs @@ -164,91 +164,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - connect the rtc pad input to digital pad input Ó0Ó is availbale.MTDO"] #[inline(always)] - #[must_use] pub fn to_gpio(&mut self) -> TO_GPIO_W { TO_GPIO_W::new(self, 12) } #[doc = "Bit 13 - the input enable of the pad"] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - the output enable of the pad in sleep status"] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - the input enable of the pad in sleep status"] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - the sleep status selection signal of the pad"] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - the functional selection signal of the pad"] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - Ò1Ó select the digital function Ó0Óslection the rtc function"] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 19) } #[doc = "Bit 20 - touch sensor power on."] #[inline(always)] - #[must_use] pub fn xpd(&mut self) -> XPD_W { XPD_W::new(self, 20) } #[doc = "Bit 21 - default touch sensor tie option. 0: tie low 1: tie high."] #[inline(always)] - #[must_use] pub fn tie_opt(&mut self) -> TIE_OPT_W { TIE_OPT_W::new(self, 21) } #[doc = "Bit 22 - start touch sensor."] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 22) } #[doc = "Bits 23:25 - touch sensor slope control. 3-bit for each touch panel default 100."] #[inline(always)] - #[must_use] pub fn dac(&mut self) -> DAC_W { DAC_W::new(self, 23) } #[doc = "Bit 27 - the pull up enable of the pad"] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - the pull down enable of the pad"] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bits 29:30 - the driver strength of the pad"] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 29) } #[doc = "Bit 31 - hold the current value of the output when setting the hold to Ò1Ó"] #[inline(always)] - #[must_use] pub fn hold(&mut self) -> HOLD_W { HOLD_W::new(self, 31) } diff --git a/esp32/src/rtc_io/touch_pad4.rs b/esp32/src/rtc_io/touch_pad4.rs index d5d4edbed6..b43ebe5e3b 100644 --- a/esp32/src/rtc_io/touch_pad4.rs +++ b/esp32/src/rtc_io/touch_pad4.rs @@ -164,91 +164,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - connect the rtc pad input to digital pad input Ó0Ó is availbale.MTCK"] #[inline(always)] - #[must_use] pub fn to_gpio(&mut self) -> TO_GPIO_W { TO_GPIO_W::new(self, 12) } #[doc = "Bit 13 - the input enable of the pad"] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - the output enable of the pad in sleep status"] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - the input enable of the pad in sleep status"] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - the sleep status selection signal of the pad"] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - the functional selection signal of the pad"] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - Ò1Ó select the digital function Ó0Óslection the rtc function"] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 19) } #[doc = "Bit 20 - touch sensor power on."] #[inline(always)] - #[must_use] pub fn xpd(&mut self) -> XPD_W { XPD_W::new(self, 20) } #[doc = "Bit 21 - default touch sensor tie option. 0: tie low 1: tie high."] #[inline(always)] - #[must_use] pub fn tie_opt(&mut self) -> TIE_OPT_W { TIE_OPT_W::new(self, 21) } #[doc = "Bit 22 - start touch sensor."] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 22) } #[doc = "Bits 23:25 - touch sensor slope control. 3-bit for each touch panel default 100."] #[inline(always)] - #[must_use] pub fn dac(&mut self) -> DAC_W { DAC_W::new(self, 23) } #[doc = "Bit 27 - the pull up enable of the pad"] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - the pull down enable of the pad"] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bits 29:30 - the driver strength of the pad"] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 29) } #[doc = "Bit 31 - hold the current value of the output when setting the hold to Ò1Ó"] #[inline(always)] - #[must_use] pub fn hold(&mut self) -> HOLD_W { HOLD_W::new(self, 31) } diff --git a/esp32/src/rtc_io/touch_pad5.rs b/esp32/src/rtc_io/touch_pad5.rs index afeaf48287..886a0011f8 100644 --- a/esp32/src/rtc_io/touch_pad5.rs +++ b/esp32/src/rtc_io/touch_pad5.rs @@ -164,91 +164,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - connect the rtc pad input to digital pad input Ó0Ó is availbale.MTDI"] #[inline(always)] - #[must_use] pub fn to_gpio(&mut self) -> TO_GPIO_W { TO_GPIO_W::new(self, 12) } #[doc = "Bit 13 - the input enable of the pad"] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - the output enable of the pad in sleep status"] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - the input enable of the pad in sleep status"] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - the sleep status selection signal of the pad"] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - the functional selection signal of the pad"] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - Ò1Ó select the digital function Ó0Óslection the rtc function"] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 19) } #[doc = "Bit 20 - touch sensor power on."] #[inline(always)] - #[must_use] pub fn xpd(&mut self) -> XPD_W { XPD_W::new(self, 20) } #[doc = "Bit 21 - default touch sensor tie option. 0: tie low 1: tie high."] #[inline(always)] - #[must_use] pub fn tie_opt(&mut self) -> TIE_OPT_W { TIE_OPT_W::new(self, 21) } #[doc = "Bit 22 - start touch sensor."] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 22) } #[doc = "Bits 23:25 - touch sensor slope control. 3-bit for each touch panel default 100."] #[inline(always)] - #[must_use] pub fn dac(&mut self) -> DAC_W { DAC_W::new(self, 23) } #[doc = "Bit 27 - the pull up enable of the pad"] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - the pull down enable of the pad"] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bits 29:30 - the driver strength of the pad"] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 29) } #[doc = "Bit 31 - hold the current value of the output when setting the hold to Ò1Ó"] #[inline(always)] - #[must_use] pub fn hold(&mut self) -> HOLD_W { HOLD_W::new(self, 31) } diff --git a/esp32/src/rtc_io/touch_pad6.rs b/esp32/src/rtc_io/touch_pad6.rs index 3697bd1da1..13fa9ebe3d 100644 --- a/esp32/src/rtc_io/touch_pad6.rs +++ b/esp32/src/rtc_io/touch_pad6.rs @@ -164,91 +164,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - connect the rtc pad input to digital pad input Ó0Ó is availbale.MTMS"] #[inline(always)] - #[must_use] pub fn to_gpio(&mut self) -> TO_GPIO_W { TO_GPIO_W::new(self, 12) } #[doc = "Bit 13 - the input enable of the pad"] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - the output enable of the pad in sleep status"] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - the input enable of the pad in sleep status"] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - the sleep status selection signal of the pad"] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - the functional selection signal of the pad"] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - Ò1Ó select the digital function Ó0Óslection the rtc function"] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 19) } #[doc = "Bit 20 - touch sensor power on."] #[inline(always)] - #[must_use] pub fn xpd(&mut self) -> XPD_W { XPD_W::new(self, 20) } #[doc = "Bit 21 - default touch sensor tie option. 0: tie low 1: tie high."] #[inline(always)] - #[must_use] pub fn tie_opt(&mut self) -> TIE_OPT_W { TIE_OPT_W::new(self, 21) } #[doc = "Bit 22 - start touch sensor."] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 22) } #[doc = "Bits 23:25 - touch sensor slope control. 3-bit for each touch panel default 100."] #[inline(always)] - #[must_use] pub fn dac(&mut self) -> DAC_W { DAC_W::new(self, 23) } #[doc = "Bit 27 - the pull up enable of the pad"] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - the pull down enable of the pad"] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bits 29:30 - the driver strength of the pad"] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 29) } #[doc = "Bit 31 - hold the current value of the output when setting the hold to Ò1Ó"] #[inline(always)] - #[must_use] pub fn hold(&mut self) -> HOLD_W { HOLD_W::new(self, 31) } diff --git a/esp32/src/rtc_io/touch_pad7.rs b/esp32/src/rtc_io/touch_pad7.rs index 9c1f7afd16..850a2babea 100644 --- a/esp32/src/rtc_io/touch_pad7.rs +++ b/esp32/src/rtc_io/touch_pad7.rs @@ -164,91 +164,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - connect the rtc pad input to digital pad input Ó0Ó is availbale.GPIO27"] #[inline(always)] - #[must_use] pub fn to_gpio(&mut self) -> TO_GPIO_W { TO_GPIO_W::new(self, 12) } #[doc = "Bit 13 - the input enable of the pad"] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - the output enable of the pad in sleep status"] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - the input enable of the pad in sleep status"] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - the sleep status selection signal of the pad"] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - the functional selection signal of the pad"] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - Ò1Ó select the digital function Ó0Óslection the rtc function"] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 19) } #[doc = "Bit 20 - touch sensor power on."] #[inline(always)] - #[must_use] pub fn xpd(&mut self) -> XPD_W { XPD_W::new(self, 20) } #[doc = "Bit 21 - default touch sensor tie option. 0: tie low 1: tie high."] #[inline(always)] - #[must_use] pub fn tie_opt(&mut self) -> TIE_OPT_W { TIE_OPT_W::new(self, 21) } #[doc = "Bit 22 - start touch sensor."] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 22) } #[doc = "Bits 23:25 - touch sensor slope control. 3-bit for each touch panel default 100."] #[inline(always)] - #[must_use] pub fn dac(&mut self) -> DAC_W { DAC_W::new(self, 23) } #[doc = "Bit 27 - the pull up enable of the pad"] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - the pull down enable of the pad"] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bits 29:30 - the driver strength of the pad"] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 29) } #[doc = "Bit 31 - hold the current value of the output when setting the hold to Ò1Ó"] #[inline(always)] - #[must_use] pub fn hold(&mut self) -> HOLD_W { HOLD_W::new(self, 31) } diff --git a/esp32/src/rtc_io/touch_pad8.rs b/esp32/src/rtc_io/touch_pad8.rs index 1e050fe630..cea987a062 100644 --- a/esp32/src/rtc_io/touch_pad8.rs +++ b/esp32/src/rtc_io/touch_pad8.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 19 - connect the rtc pad input to digital pad input Ó0Ó is availbale"] #[inline(always)] - #[must_use] pub fn to_gpio(&mut self) -> TO_GPIO_W { TO_GPIO_W::new(self, 19) } #[doc = "Bit 20 - touch sensor power on."] #[inline(always)] - #[must_use] pub fn xpd(&mut self) -> XPD_W { XPD_W::new(self, 20) } #[doc = "Bit 21 - default touch sensor tie option. 0: tie low 1: tie high."] #[inline(always)] - #[must_use] pub fn tie_opt(&mut self) -> TIE_OPT_W { TIE_OPT_W::new(self, 21) } #[doc = "Bit 22 - start touch sensor."] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 22) } #[doc = "Bits 23:25 - touch sensor slope control. 3-bit for each touch panel default 100."] #[inline(always)] - #[must_use] pub fn dac(&mut self) -> DAC_W { DAC_W::new(self, 23) } diff --git a/esp32/src/rtc_io/touch_pad9.rs b/esp32/src/rtc_io/touch_pad9.rs index 60faa1e482..61f4869502 100644 --- a/esp32/src/rtc_io/touch_pad9.rs +++ b/esp32/src/rtc_io/touch_pad9.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 19 - connect the rtc pad input to digital pad input Ó0Ó is availbale"] #[inline(always)] - #[must_use] pub fn to_gpio(&mut self) -> TO_GPIO_W { TO_GPIO_W::new(self, 19) } #[doc = "Bit 20 - touch sensor power on."] #[inline(always)] - #[must_use] pub fn xpd(&mut self) -> XPD_W { XPD_W::new(self, 20) } #[doc = "Bit 21 - default touch sensor tie option. 0: tie low 1: tie high."] #[inline(always)] - #[must_use] pub fn tie_opt(&mut self) -> TIE_OPT_W { TIE_OPT_W::new(self, 21) } #[doc = "Bit 22 - start touch sensor."] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 22) } #[doc = "Bits 23:25 - touch sensor slope control. 3-bit for each touch panel default 100."] #[inline(always)] - #[must_use] pub fn dac(&mut self) -> DAC_W { DAC_W::new(self, 23) } diff --git a/esp32/src/rtc_io/xtal_32k_pad.rs b/esp32/src/rtc_io/xtal_32k_pad.rs index cf35292646..40bf6c225b 100644 --- a/esp32/src/rtc_io/xtal_32k_pad.rs +++ b/esp32/src/rtc_io/xtal_32k_pad.rs @@ -254,145 +254,121 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 1:2 - 32K XTAL self-bias reference control."] #[inline(always)] - #[must_use] pub fn dbias_xtal_32k(&mut self) -> DBIAS_XTAL_32K_W { DBIAS_XTAL_32K_W::new(self, 1) } #[doc = "Bits 3:4 - 32K XTAL resistor bias control."] #[inline(always)] - #[must_use] pub fn dres_xtal_32k(&mut self) -> DRES_XTAL_32K_W { DRES_XTAL_32K_W::new(self, 3) } #[doc = "Bit 5 - the input enable of the pad"] #[inline(always)] - #[must_use] pub fn x32p_fun_ie(&mut self) -> X32P_FUN_IE_W { X32P_FUN_IE_W::new(self, 5) } #[doc = "Bit 6 - the output enable of the pad in sleep status"] #[inline(always)] - #[must_use] pub fn x32p_slp_oe(&mut self) -> X32P_SLP_OE_W { X32P_SLP_OE_W::new(self, 6) } #[doc = "Bit 7 - the input enable of the pad in sleep status"] #[inline(always)] - #[must_use] pub fn x32p_slp_ie(&mut self) -> X32P_SLP_IE_W { X32P_SLP_IE_W::new(self, 7) } #[doc = "Bit 8 - the sleep status selection signal of the pad"] #[inline(always)] - #[must_use] pub fn x32p_slp_sel(&mut self) -> X32P_SLP_SEL_W { X32P_SLP_SEL_W::new(self, 8) } #[doc = "Bits 9:10 - the functional selection signal of the pad"] #[inline(always)] - #[must_use] pub fn x32p_fun_sel(&mut self) -> X32P_FUN_SEL_W { X32P_FUN_SEL_W::new(self, 9) } #[doc = "Bit 11 - the input enable of the pad"] #[inline(always)] - #[must_use] pub fn x32n_fun_ie(&mut self) -> X32N_FUN_IE_W { X32N_FUN_IE_W::new(self, 11) } #[doc = "Bit 12 - the output enable of the pad in sleep status"] #[inline(always)] - #[must_use] pub fn x32n_slp_oe(&mut self) -> X32N_SLP_OE_W { X32N_SLP_OE_W::new(self, 12) } #[doc = "Bit 13 - the input enable of the pad in sleep status"] #[inline(always)] - #[must_use] pub fn x32n_slp_ie(&mut self) -> X32N_SLP_IE_W { X32N_SLP_IE_W::new(self, 13) } #[doc = "Bit 14 - the sleep status selection signal of the pad"] #[inline(always)] - #[must_use] pub fn x32n_slp_sel(&mut self) -> X32N_SLP_SEL_W { X32N_SLP_SEL_W::new(self, 14) } #[doc = "Bits 15:16 - the functional selection signal of the pad"] #[inline(always)] - #[must_use] pub fn x32n_fun_sel(&mut self) -> X32N_FUN_SEL_W { X32N_FUN_SEL_W::new(self, 15) } #[doc = "Bit 17 - Ò1Ó select the digital function Ó0Óslection the rtc function"] #[inline(always)] - #[must_use] pub fn x32p_mux_sel(&mut self) -> X32P_MUX_SEL_W { X32P_MUX_SEL_W::new(self, 17) } #[doc = "Bit 18 - Ò1Ó select the digital function Ó0Óslection the rtc function"] #[inline(always)] - #[must_use] pub fn x32n_mux_sel(&mut self) -> X32N_MUX_SEL_W { X32N_MUX_SEL_W::new(self, 18) } #[doc = "Bit 19 - Power up 32kHz crystal oscillator"] #[inline(always)] - #[must_use] pub fn xpd_xtal_32k(&mut self) -> XPD_XTAL_32K_W { XPD_XTAL_32K_W::new(self, 19) } #[doc = "Bits 20:21 - 32K XTAL bias current DAC."] #[inline(always)] - #[must_use] pub fn dac_xtal_32k(&mut self) -> DAC_XTAL_32K_W { DAC_XTAL_32K_W::new(self, 20) } #[doc = "Bit 22 - the pull up enable of the pad"] #[inline(always)] - #[must_use] pub fn x32p_rue(&mut self) -> X32P_RUE_W { X32P_RUE_W::new(self, 22) } #[doc = "Bit 23 - the pull down enable of the pad"] #[inline(always)] - #[must_use] pub fn x32p_rde(&mut self) -> X32P_RDE_W { X32P_RDE_W::new(self, 23) } #[doc = "Bit 24 - hold the current value of the output when setting the hold to Ò1Ó"] #[inline(always)] - #[must_use] pub fn x32p_hold(&mut self) -> X32P_HOLD_W { X32P_HOLD_W::new(self, 24) } #[doc = "Bits 25:26 - the driver strength of the pad"] #[inline(always)] - #[must_use] pub fn x32p_drv(&mut self) -> X32P_DRV_W { X32P_DRV_W::new(self, 25) } #[doc = "Bit 27 - the pull up enable of the pad"] #[inline(always)] - #[must_use] pub fn x32n_rue(&mut self) -> X32N_RUE_W { X32N_RUE_W::new(self, 27) } #[doc = "Bit 28 - the pull down enable of the pad"] #[inline(always)] - #[must_use] pub fn x32n_rde(&mut self) -> X32N_RDE_W { X32N_RDE_W::new(self, 28) } #[doc = "Bit 29 - hold the current value of the output when setting the hold to Ò1Ó"] #[inline(always)] - #[must_use] pub fn x32n_hold(&mut self) -> X32N_HOLD_W { X32N_HOLD_W::new(self, 29) } #[doc = "Bits 30:31 - the driver strength of the pad"] #[inline(always)] - #[must_use] pub fn x32n_drv(&mut self) -> X32N_DRV_W { X32N_DRV_W::new(self, 30) } diff --git a/esp32/src/rtc_io/xtl_ext_ctr.rs b/esp32/src/rtc_io/xtl_ext_ctr.rs index 2371634c95..5f781de06e 100644 --- a/esp32/src/rtc_io/xtl_ext_ctr.rs +++ b/esp32/src/rtc_io/xtl_ext_ctr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 27:31 - select the external xtl power source Ó0Ó select GPIO0 Ó1Ó select GPIO2 ...Ò17Ó select GPIO17"] #[inline(always)] - #[must_use] pub fn sel(&mut self) -> SEL_W { SEL_W::new(self, 27) } diff --git a/esp32/src/sdhost/blksiz.rs b/esp32/src/sdhost/blksiz.rs index 7ac50857b9..97a552eab9 100644 --- a/esp32/src/sdhost/blksiz.rs +++ b/esp32/src/sdhost/blksiz.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Block size."] #[inline(always)] - #[must_use] pub fn block_size(&mut self) -> BLOCK_SIZE_W { BLOCK_SIZE_W::new(self, 0) } diff --git a/esp32/src/sdhost/bmod.rs b/esp32/src/sdhost/bmod.rs index e2aff690f5..75568d4b2e 100644 --- a/esp32/src/sdhost/bmod.rs +++ b/esp32/src/sdhost/bmod.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Software Reset. When set, the DMA Controller resets all its internal registers. It is automatically cleared after one clock cycle."] #[inline(always)] - #[must_use] pub fn swr(&mut self) -> SWR_W { SWR_W::new(self, 0) } #[doc = "Bit 1 - Fixed Burst. Controls whether the AHB Master interface performs fixed burst transfers or not. When set, the AHB will use only SINGLE, INCR4, INCR8 or INCR16 during start of normal burst transfers. When reset, the AHB will use SINGLE and INCR burst transfer operations."] #[inline(always)] - #[must_use] pub fn fb(&mut self) -> FB_W { FB_W::new(self, 1) } #[doc = "Bit 7 - IDMAC Enable. When set, the IDMAC is enabled."] #[inline(always)] - #[must_use] pub fn de(&mut self) -> DE_W { DE_W::new(self, 7) } #[doc = "Bits 8:10 - Programmable Burst Length. These bits indicate the maximum number of beats to be performed in one IDMAC???Internal DMA Control???transaction. The IDMAC will always attempt to burst as specified in PBL each time it starts a burst transfer on the host bus. The permissible values are 1, 4, 8, 16, 32, 64, 128 and 256. This value is the mirror of MSIZE of FIFOTH register. In order to change this value, write the required value to FIFOTH register. This is an encode value as follows: 000: 1-byte transfer; 001: 4-byte transfer; 010: 8-byte transfer; 011: 16-byte transfer; 100: 32-byte transfer; 101: 64-byte transfer; 110: 128-byte transfer; 111: 256-byte transfer. PBL is a read-only value and is applicable only for data access, it does not apply to descriptor access."] #[inline(always)] - #[must_use] pub fn pbl(&mut self) -> PBL_W { PBL_W::new(self, 8) } diff --git a/esp32/src/sdhost/buffifo.rs b/esp32/src/sdhost/buffifo.rs index 5886f135ca..6ff254e646 100644 --- a/esp32/src/sdhost/buffifo.rs +++ b/esp32/src/sdhost/buffifo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - CPU write and read transmit data by FIFO. This register points to the current Data FIFO ."] #[inline(always)] - #[must_use] pub fn buffifo(&mut self) -> BUFFIFO_W { BUFFIFO_W::new(self, 0) } diff --git a/esp32/src/sdhost/bytcnt.rs b/esp32/src/sdhost/bytcnt.rs index 95bbb226ce..52246a239f 100644 --- a/esp32/src/sdhost/bytcnt.rs +++ b/esp32/src/sdhost/bytcnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Number of bytes to be transferred, should be an integral multiple of Block Size for block transfers. For data transfers of undefined byte lengths, byte count should be set to 0. When byte count is set to 0, it is the responsibility of host to explicitly send stop/abort command to terminate data transfer."] #[inline(always)] - #[must_use] pub fn byte_count(&mut self) -> BYTE_COUNT_W { BYTE_COUNT_W::new(self, 0) } diff --git a/esp32/src/sdhost/cardthrctl.rs b/esp32/src/sdhost/cardthrctl.rs index a3a12f56ea..29187b55f5 100644 --- a/esp32/src/sdhost/cardthrctl.rs +++ b/esp32/src/sdhost/cardthrctl.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Card read threshold enable. 1'b0-Card read threshold disabled. 1'b1-Card read threshold enabled."] #[inline(always)] - #[must_use] pub fn cardrdthren(&mut self) -> CARDRDTHREN_W { CARDRDTHREN_W::new(self, 0) } #[doc = "Bit 1 - Busy clear interrupt generation: 1'b0-Busy clear interrypt disabled. 1'b1-Busy clear interrypt enabled."] #[inline(always)] - #[must_use] pub fn cardclrinten(&mut self) -> CARDCLRINTEN_W { CARDCLRINTEN_W::new(self, 1) } #[doc = "Bit 2 - Applicable when HS400 mode is enabled. 1'b0-Card write Threshold disabled. 1'b1-Card write Threshold enabled."] #[inline(always)] - #[must_use] pub fn cardwrthren(&mut self) -> CARDWRTHREN_W { CARDWRTHREN_W::new(self, 2) } #[doc = "Bits 16:31 - The inside FIFO size is 512,This register is applicable when SDHOST_CARDERTHREN_REG is set to 1 or SDHOST_CARDRDTHREN_REG set to 1."] #[inline(always)] - #[must_use] pub fn cardthreshold(&mut self) -> CARDTHRESHOLD_W { CARDTHRESHOLD_W::new(self, 16) } diff --git a/esp32/src/sdhost/clk_edge_sel.rs b/esp32/src/sdhost/clk_edge_sel.rs index 48f2f17cf9..4e0073dbc5 100644 --- a/esp32/src/sdhost/clk_edge_sel.rs +++ b/esp32/src/sdhost/clk_edge_sel.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - It's used to select the clock phase of the output signal from phase 0, phase 90, phase 180, phase 270."] #[inline(always)] - #[must_use] pub fn cclkin_edge_drv_sel(&mut self) -> CCLKIN_EDGE_DRV_SEL_W { CCLKIN_EDGE_DRV_SEL_W::new(self, 0) } #[doc = "Bits 3:5 - It's used to select the clock phase of the input signal from phase 0, phase 90, phase 180, phase 270."] #[inline(always)] - #[must_use] pub fn cclkin_edge_sam_sel(&mut self) -> CCLKIN_EDGE_SAM_SEL_W { CCLKIN_EDGE_SAM_SEL_W::new(self, 3) } #[doc = "Bits 6:8 - It's used to select the clock phase of the internal signal from phase 0, phase 90, phase 180, phase 270."] #[inline(always)] - #[must_use] pub fn cclkin_edge_slf_sel(&mut self) -> CCLKIN_EDGE_SLF_SEL_W { CCLKIN_EDGE_SLF_SEL_W::new(self, 6) } #[doc = "Bits 9:12 - The high level of the divider clock. The value should be smaller than CCLKIN_EDGE_L."] #[inline(always)] - #[must_use] pub fn ccllkin_edge_h(&mut self) -> CCLLKIN_EDGE_H_W { CCLLKIN_EDGE_H_W::new(self, 9) } #[doc = "Bits 13:16 - The low level of the divider clock. The value should be larger than CCLKIN_EDGE_H."] #[inline(always)] - #[must_use] pub fn ccllkin_edge_l(&mut self) -> CCLLKIN_EDGE_L_W { CCLLKIN_EDGE_L_W::new(self, 13) } #[doc = "Bits 17:20 - The value should be equal to CCLKIN_EDGE_L."] #[inline(always)] - #[must_use] pub fn ccllkin_edge_n(&mut self) -> CCLLKIN_EDGE_N_W { CCLLKIN_EDGE_N_W::new(self, 17) } #[doc = "Bit 21 - Enable esdio mode."] #[inline(always)] - #[must_use] pub fn esdio_mode(&mut self) -> ESDIO_MODE_W { ESDIO_MODE_W::new(self, 21) } #[doc = "Bit 22 - Enable esd mode."] #[inline(always)] - #[must_use] pub fn esd_mode(&mut self) -> ESD_MODE_W { ESD_MODE_W::new(self, 22) } #[doc = "Bit 23 - Sdio clock enable"] #[inline(always)] - #[must_use] pub fn cclk_en(&mut self) -> CCLK_EN_W { CCLK_EN_W::new(self, 23) } diff --git a/esp32/src/sdhost/clkdiv.rs b/esp32/src/sdhost/clkdiv.rs index 6d43304da9..4e556096c2 100644 --- a/esp32/src/sdhost/clkdiv.rs +++ b/esp32/src/sdhost/clkdiv.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Clock divider0 value. Clock divisor is 2*n, where n = 0 bypasses the divider (divisor of 1). For example, a value of 1 means divided by 2*1 = 2, a value of 0xFF means divided by 2*255 = 510, and so on."] #[inline(always)] - #[must_use] pub fn clk_divider0(&mut self) -> CLK_DIVIDER0_W { CLK_DIVIDER0_W::new(self, 0) } #[doc = "Bits 8:15 - Clock divider1 value. Clock divisor is 2*n, where n = 0 bypasses the divider (divisor of 1). For example, a value of 1 means divided by 2*1 = 2, a value of 0xFF means divided by 2*255 = 510, and so on."] #[inline(always)] - #[must_use] pub fn clk_divider1(&mut self) -> CLK_DIVIDER1_W { CLK_DIVIDER1_W::new(self, 8) } #[doc = "Bits 16:23 - Clock divider2 value. Clock divisor is 2*n, where n = 0 bypasses the divider (divisor of 1). For example, a value of 1 means divided by 2*1 = 2, a value of 0xFF means divided by 2*255 = 510, and so on."] #[inline(always)] - #[must_use] pub fn clk_divider2(&mut self) -> CLK_DIVIDER2_W { CLK_DIVIDER2_W::new(self, 16) } #[doc = "Bits 24:31 - Clock divider3 value. Clock divisor is 2*n, where n = 0 bypasses the divider (divisor of 1). For example, a value of 1 means divided by 2*1 = 2, a value of 0xFF means divided by 2*255 = 510, and so on."] #[inline(always)] - #[must_use] pub fn clk_divider3(&mut self) -> CLK_DIVIDER3_W { CLK_DIVIDER3_W::new(self, 24) } diff --git a/esp32/src/sdhost/clkena.rs b/esp32/src/sdhost/clkena.rs index 8ea549e305..38637db020 100644 --- a/esp32/src/sdhost/clkena.rs +++ b/esp32/src/sdhost/clkena.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Clock-enable control for two SD card clocks and one MMC card clock is supported. One bit per card. 0: Clock disabled; 1: Clock enabled."] #[inline(always)] - #[must_use] pub fn cclk_enable(&mut self) -> CCLK_ENABLE_W { CCLK_ENABLE_W::new(self, 0) } #[doc = "Bits 16:17 - Disable clock when the card is in IDLE state. One bit per card. 0: clock disabled; 1: clock enabled."] #[inline(always)] - #[must_use] pub fn lp_enable(&mut self) -> LP_ENABLE_W { LP_ENABLE_W::new(self, 16) } diff --git a/esp32/src/sdhost/clksrc.rs b/esp32/src/sdhost/clksrc.rs index 291b8b4cce..6065175aa7 100644 --- a/esp32/src/sdhost/clksrc.rs +++ b/esp32/src/sdhost/clksrc.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Clock divider source for two SD cards is supported. Each card has two bits assigned to it. For example, bit\\[1:0\\] are assigned for card 0, bit\\[3:2\\] are assigned for card 1. Card 0 maps and internally routes clock divider\\[0:3\\] outputs to cclk_out\\[1:0\\] pins, depending on bit value. 00 : Clock divider 0; 01 : Clock divider 1; 10 : Clock divider 2; 11 : Clock divider 3."] #[inline(always)] - #[must_use] pub fn clksrc(&mut self) -> CLKSRC_W { CLKSRC_W::new(self, 0) } diff --git a/esp32/src/sdhost/cmd.rs b/esp32/src/sdhost/cmd.rs index fde61df83d..5fee890900 100644 --- a/esp32/src/sdhost/cmd.rs +++ b/esp32/src/sdhost/cmd.rs @@ -34,9 +34,9 @@ pub type TRANSFER_MODE_W<'a, REG> = crate::BitWriter<'a, REG>; pub type SEND_AUTO_STOP_R = crate::BitReader; #[doc = "Field `SEND_AUTO_STOP` writer - 0: No stop command is sent at the end of data transfer; 1: Send stop command at the end of data transfer."] pub type SEND_AUTO_STOP_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `WAIT_PRVDATA_COMPLETE` reader - 0: Send command at once, even if previous data transfer has not completed; 1: Wait for previous data transfer to complete before sending Command. The SDHOST_WAIT_PRVDATA_COMPLETE\\] = 0 option is typically used to query status of card during data transfer or to stop current data transfer. SDHOST_CARD_NUMBERr should be same as in previous command."] +#[doc = "Field `WAIT_PRVDATA_COMPLETE` reader - 0: Send command at once, even if previous data transfer has not completed; 1: Wait for previous data transfer to complete before sending Command. The SDHOST_WAIT_PRVDATA_COMPLETE] = 0 option is typically used to query status of card during data transfer or to stop current data transfer. SDHOST_CARD_NUMBERr should be same as in previous command."] pub type WAIT_PRVDATA_COMPLETE_R = crate::BitReader; -#[doc = "Field `WAIT_PRVDATA_COMPLETE` writer - 0: Send command at once, even if previous data transfer has not completed; 1: Wait for previous data transfer to complete before sending Command. The SDHOST_WAIT_PRVDATA_COMPLETE\\] = 0 option is typically used to query status of card during data transfer or to stop current data transfer. SDHOST_CARD_NUMBERr should be same as in previous command."] +#[doc = "Field `WAIT_PRVDATA_COMPLETE` writer - 0: Send command at once, even if previous data transfer has not completed; 1: Wait for previous data transfer to complete before sending Command. The SDHOST_WAIT_PRVDATA_COMPLETE] = 0 option is typically used to query status of card during data transfer or to stop current data transfer. SDHOST_CARD_NUMBERr should be same as in previous command."] pub type WAIT_PRVDATA_COMPLETE_W<'a, REG> = crate::BitWriter<'a, REG>; #[doc = "Field `STOP_ABORT_CMD` reader - 0: Neither stop nor abort command can stop current data transfer. If abort is sent to function-number currently selected or not in data-transfer mode, then bit should be set to 0; 1: Stop or abort command intended to stop current data transfer in progress. When open-ended or predefined data transfer is in progress, and host issues stop or abort command to stop data transfer, bit should be set so that command/data state-machines of CIU can return correctly to idle state."] pub type STOP_ABORT_CMD_R = crate::BitReader; @@ -111,7 +111,7 @@ impl R { pub fn send_auto_stop(&self) -> SEND_AUTO_STOP_R { SEND_AUTO_STOP_R::new(((self.bits >> 12) & 1) != 0) } - #[doc = "Bit 13 - 0: Send command at once, even if previous data transfer has not completed; 1: Wait for previous data transfer to complete before sending Command. The SDHOST_WAIT_PRVDATA_COMPLETE\\] = 0 option is typically used to query status of card during data transfer or to stop current data transfer. SDHOST_CARD_NUMBERr should be same as in previous command."] + #[doc = "Bit 13 - 0: Send command at once, even if previous data transfer has not completed; 1: Wait for previous data transfer to complete before sending Command. The SDHOST_WAIT_PRVDATA_COMPLETE] = 0 option is typically used to query status of card during data transfer or to stop current data transfer. SDHOST_CARD_NUMBERr should be same as in previous command."] #[inline(always)] pub fn wait_prvdata_complete(&self) -> WAIT_PRVDATA_COMPLETE_R { WAIT_PRVDATA_COMPLETE_R::new(((self.bits >> 13) & 1) != 0) @@ -187,103 +187,86 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - Command index."] #[inline(always)] - #[must_use] pub fn index(&mut self) -> INDEX_W { INDEX_W::new(self, 0) } #[doc = "Bit 6 - 0: No response expected from card; 1: Response expected from card."] #[inline(always)] - #[must_use] pub fn response_expect(&mut self) -> RESPONSE_EXPECT_W { RESPONSE_EXPECT_W::new(self, 6) } #[doc = "Bit 7 - 0: Short response expected from card; 1: Long response expected from card."] #[inline(always)] - #[must_use] pub fn response_length(&mut self) -> RESPONSE_LENGTH_W { RESPONSE_LENGTH_W::new(self, 7) } #[doc = "Bit 8 - 0: Do not check; 1: Check response CRC. Some of command responses do not return valid CRC bits. Software should disable CRC checks for those commands in order to disable CRC checking by controller."] #[inline(always)] - #[must_use] pub fn check_response_crc(&mut self) -> CHECK_RESPONSE_CRC_W { CHECK_RESPONSE_CRC_W::new(self, 8) } #[doc = "Bit 9 - 0: No data transfer expected; 1: Data transfer expected."] #[inline(always)] - #[must_use] pub fn data_expected(&mut self) -> DATA_EXPECTED_W { DATA_EXPECTED_W::new(self, 9) } #[doc = "Bit 10 - 0: Read from card; 1: Write to card. Don't care if no data is expected from card."] #[inline(always)] - #[must_use] pub fn read_write(&mut self) -> READ_WRITE_W { READ_WRITE_W::new(self, 10) } #[doc = "Bit 11 - Block data transfer command; 1: Stream data transfer command. Don't care if no data expected."] #[inline(always)] - #[must_use] pub fn transfer_mode(&mut self) -> TRANSFER_MODE_W { TRANSFER_MODE_W::new(self, 11) } #[doc = "Bit 12 - 0: No stop command is sent at the end of data transfer; 1: Send stop command at the end of data transfer."] #[inline(always)] - #[must_use] pub fn send_auto_stop(&mut self) -> SEND_AUTO_STOP_W { SEND_AUTO_STOP_W::new(self, 12) } - #[doc = "Bit 13 - 0: Send command at once, even if previous data transfer has not completed; 1: Wait for previous data transfer to complete before sending Command. The SDHOST_WAIT_PRVDATA_COMPLETE\\] = 0 option is typically used to query status of card during data transfer or to stop current data transfer. SDHOST_CARD_NUMBERr should be same as in previous command."] + #[doc = "Bit 13 - 0: Send command at once, even if previous data transfer has not completed; 1: Wait for previous data transfer to complete before sending Command. The SDHOST_WAIT_PRVDATA_COMPLETE] = 0 option is typically used to query status of card during data transfer or to stop current data transfer. SDHOST_CARD_NUMBERr should be same as in previous command."] #[inline(always)] - #[must_use] pub fn wait_prvdata_complete(&mut self) -> WAIT_PRVDATA_COMPLETE_W { WAIT_PRVDATA_COMPLETE_W::new(self, 13) } #[doc = "Bit 14 - 0: Neither stop nor abort command can stop current data transfer. If abort is sent to function-number currently selected or not in data-transfer mode, then bit should be set to 0; 1: Stop or abort command intended to stop current data transfer in progress. When open-ended or predefined data transfer is in progress, and host issues stop or abort command to stop data transfer, bit should be set so that command/data state-machines of CIU can return correctly to idle state."] #[inline(always)] - #[must_use] pub fn stop_abort_cmd(&mut self) -> STOP_ABORT_CMD_W { STOP_ABORT_CMD_W::new(self, 14) } #[doc = "Bit 15 - 0: Do not send initialization sequence (80 clocks of 1) before sending this command; 1: Send initialization sequence before sending this command. After powered on, 80 clocks must be sent to card for initialization before sending any commands to card. Bit should be set while sending first command to card so that controller will initialize clocks before sending command to card."] #[inline(always)] - #[must_use] pub fn send_initialization(&mut self) -> SEND_INITIALIZATION_W { SEND_INITIALIZATION_W::new(self, 15) } #[doc = "Bits 16:20 - Card number in use. Represents physical slot number of card being accessed. In SD-only mode, up to two cards are supported."] #[inline(always)] - #[must_use] pub fn card_number(&mut self) -> CARD_NUMBER_W { CARD_NUMBER_W::new(self, 16) } #[doc = "Bit 21 - 0: Normal command sequence; 1: Do not send commands, just update clock register value into card clock domain. Following register values are transferred into card clock domain: CLKDIV, CLRSRC, and CLKENA. Changes card clocks (change frequency, truncate off or on, and set low-frequency mode). This is provided in order to change clock frequency or stop clock without having to send command to cards. During normal command sequence, when sdhost_update_clock_registers_only = 0, following control registers are transferred from BIU to CIU: CMD, CMDARG, TMOUT, CTYPE, BLKSIZ, and BYTCNT. CIU uses new register values for new command sequence to card(s). When bit is set, there are no Command Done interrupts because no command is sent to SD_MMC_CEATA cards."] #[inline(always)] - #[must_use] pub fn update_clock_registers_only(&mut self) -> UPDATE_CLOCK_REGISTERS_ONLY_W { UPDATE_CLOCK_REGISTERS_ONLY_W::new(self, 21) } #[doc = "Bit 22 - Read access flag. 0: Host is not performing read access (RW_REG or RW_BLK)towards CE-ATA device; 1: Host is performing read access (RW_REG or RW_BLK) towards CE-ATA device. Software should set this bit to indicate that CE-ATA device is being accessed for read transfer. This bit is used to disable read data timeout indication while performing CE-ATA read transfers. Maximum value of I/O transmission delay can be no less than 10 seconds. SD/MMC should not indicate read data timeout while waiting for data from CE-ATA device."] #[inline(always)] - #[must_use] pub fn read_ceata_device(&mut self) -> READ_CEATA_DEVICE_W { READ_CEATA_DEVICE_W::new(self, 22) } #[doc = "Bit 23 - Expected Command Completion Signal (CCS) configuration. 0: Interrupts are not enabled in CE-ATA device (nIEN = 1 in ATA control register), or command does not expect CCS from device; 1: Interrupts are enabled in CE-ATA device (nIEN = 0), and RW_BLK command expects command completion signal from CE-ATA device. If the command expects Command Completion Signal (CCS) from the CE-ATA device, the software should set this control bit. SD/MMC sets Data Transfer Over (DTO) bit in RINTSTS register and generates interrupt to host if Data Transfer Over interrupt is not masked."] #[inline(always)] - #[must_use] pub fn ccs_expected(&mut self) -> CCS_EXPECTED_W { CCS_EXPECTED_W::new(self, 23) } #[doc = "Bit 29 - Use Hold Register. 0: CMD and DATA sent to card bypassing HOLD Register; 1: CMD and DATA sent to card through the HOLD Register."] #[inline(always)] - #[must_use] pub fn use_hole(&mut self) -> USE_HOLE_W { USE_HOLE_W::new(self, 29) } #[doc = "Bit 31 - Start command. Once command is served by the CIU, this bit is automatically cleared. When this bit is set, host should not attempt to write to any command registers. If a write is attempted, hardware lock error is set in raw interrupt register. Once command is sent and a response is received from SD_MMC_CEATA cards, Command Done bit is set in the raw interrupt Register."] #[inline(always)] - #[must_use] pub fn start_cmd(&mut self) -> START_CMD_W { START_CMD_W::new(self, 31) } diff --git a/esp32/src/sdhost/cmdarg.rs b/esp32/src/sdhost/cmdarg.rs index 9b54253c45..16efa0eb23 100644 --- a/esp32/src/sdhost/cmdarg.rs +++ b/esp32/src/sdhost/cmdarg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Value indicates command argument to be passed to the card."] #[inline(always)] - #[must_use] pub fn cmdarg(&mut self) -> CMDARG_W { CMDARG_W::new(self, 0) } diff --git a/esp32/src/sdhost/ctrl.rs b/esp32/src/sdhost/ctrl.rs index 188695044f..bdeba0dd0d 100644 --- a/esp32/src/sdhost/ctrl.rs +++ b/esp32/src/sdhost/ctrl.rs @@ -117,61 +117,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - To reset controller, firmware should set this bit. This bit is auto-cleared after two AHB and two sdhost_cclk_in clock cycles."] #[inline(always)] - #[must_use] pub fn controller_reset(&mut self) -> CONTROLLER_RESET_W { CONTROLLER_RESET_W::new(self, 0) } #[doc = "Bit 1 - To reset FIFO, firmware should set bit to 1. This bit is auto-cleared after completion of reset operation. Note: FIFO pointers will be out of reset after 2 cycles of system clocks in addition to synchronization delay (2 cycles of card clock), after the fifo_reset is cleared."] #[inline(always)] - #[must_use] pub fn fifo_reset(&mut self) -> FIFO_RESET_W { FIFO_RESET_W::new(self, 1) } #[doc = "Bit 2 - To reset DMA interface, firmware should set bit to 1. This bit is auto-cleared after two AHB clocks."] #[inline(always)] - #[must_use] pub fn dma_reset(&mut self) -> DMA_RESET_W { DMA_RESET_W::new(self, 2) } #[doc = "Bit 4 - Global interrupt enable/disable bit. 0: Disable; 1: Enable."] #[inline(always)] - #[must_use] pub fn int_enable(&mut self) -> INT_ENABLE_W { INT_ENABLE_W::new(self, 4) } #[doc = "Bit 6 - For sending read-wait to SDIO cards."] #[inline(always)] - #[must_use] pub fn read_wait(&mut self) -> READ_WAIT_W { READ_WAIT_W::new(self, 6) } #[doc = "Bit 7 - Bit automatically clears once response is sent. To wait for MMC card interrupts, host issues CMD40 and waits for interrupt response from MMC card(s). In the meantime, if host wants SD/MMC to exit waiting for interrupt state, it can set this bit, at which time SD/MMC command state-machine sends CMD40 response on bus and returns to idle state."] #[inline(always)] - #[must_use] pub fn send_irq_response(&mut self) -> SEND_IRQ_RESPONSE_W { SEND_IRQ_RESPONSE_W::new(self, 7) } #[doc = "Bit 8 - After a suspend-command is issued during a read-operation, software polls the card to find when the suspend-event occurred. Once the suspend-event has occurred, software sets the bit which will reset the data state machine that is waiting for the next block of data. This bit is automatically cleared once the data state machine is reset to idle."] #[inline(always)] - #[must_use] pub fn abort_read_data(&mut self) -> ABORT_READ_DATA_W { ABORT_READ_DATA_W::new(self, 8) } #[doc = "Bit 9 - When set, SD/MMC sends CCSD to the CE-ATA device. Software sets this bit only if the current command is expecting CCS (that is, RW_BLK), and if interrupts are enabled for the CE-ATA device. Once the CCSD pattern is sent to the device, SD/MMC automatically clears the SDHOST_SEND_CCSD bit. It also sets the Command Done (CD) bit in the SDHOST_RINTSTS_REG register, and generates an interrupt for the host, in case the Command Done interrupt is not masked. NOTE: Once the SDHOST_SEND_CCSD bit is set, it takes two card clock cycles to drive the CCSD on the CMD line. Due to this, within the boundary conditions the CCSD may be sent to the CE-ATA device, even if the device has signalled CCS."] #[inline(always)] - #[must_use] pub fn send_ccsd(&mut self) -> SEND_CCSD_W { SEND_CCSD_W::new(self, 9) } #[doc = "Bit 10 - Always Set SDHOST_SEND_AUTO_STOP_CCSD and SDHOST_SEND_CCSD bits together; SDHOST_SEND_AUTO_STOP_CCSD should not be set independently of send_ccsd. When set, SD/MMC automatically sends an internally-generated STOP command (CMD12) to the CE-ATA device. After sending this internally-generated STOP command, the Auto Command Done (ACD) bit in SDHOST_RINTSTS_REG is set and an interrupt is generated for the host, in case the ACD interrupt is not masked. After sending the Command Completion Signal Disable (CCSD), SD/MMC automatically clears the SDHOST_SEND_AUTO_STOP_CCSD bit."] #[inline(always)] - #[must_use] pub fn send_auto_stop_ccsd(&mut self) -> SEND_AUTO_STOP_CCSD_W { SEND_AUTO_STOP_CCSD_W::new(self, 10) } #[doc = "Bit 11 - Software should appropriately write to this bit after the power-on reset or any other reset to the CE-ATA device. After reset, the CE-ATA device's interrupt is usually disabled (nIEN = 1). If the host enables the CE-ATA device's interrupt, then software should set this bit."] #[inline(always)] - #[must_use] pub fn ceata_device_interrupt_status(&mut self) -> CEATA_DEVICE_INTERRUPT_STATUS_W { CEATA_DEVICE_INTERRUPT_STATUS_W::new(self, 11) } diff --git a/esp32/src/sdhost/ctype.rs b/esp32/src/sdhost/ctype.rs index 87fd7264c1..626c966262 100644 --- a/esp32/src/sdhost/ctype.rs +++ b/esp32/src/sdhost/ctype.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - One bit per card indicates if card is 1-bit or 4-bit mode. 0: 1-bit mode; 1: 4-bit mode. Bit\\[1:0\\] correspond to card\\[1:0\\] respectively."] #[inline(always)] - #[must_use] pub fn card_width4(&mut self) -> CARD_WIDTH4_W { CARD_WIDTH4_W::new(self, 0) } #[doc = "Bits 16:17 - One bit per card indicates if card is in 8-bit mode. 0: Non 8-bit mode; 1: 8-bit mode. Bit\\[17:16\\] correspond to card\\[1:0\\] respectively."] #[inline(always)] - #[must_use] pub fn card_width8(&mut self) -> CARD_WIDTH8_W { CARD_WIDTH8_W::new(self, 16) } diff --git a/esp32/src/sdhost/dbaddr.rs b/esp32/src/sdhost/dbaddr.rs index aaf52a61c5..d3c712d63a 100644 --- a/esp32/src/sdhost/dbaddr.rs +++ b/esp32/src/sdhost/dbaddr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Start of Descriptor List. Contains the base address of the First Descriptor. The LSB bits \\[1:0\\] are ignored and taken as all-zero by the IDMAC internally. Hence these LSB bits may be treated as read-only."] #[inline(always)] - #[must_use] pub fn dbaddr(&mut self) -> DBADDR_W { DBADDR_W::new(self, 0) } diff --git a/esp32/src/sdhost/debnce.rs b/esp32/src/sdhost/debnce.rs index f5664a5673..06e70e3dcd 100644 --- a/esp32/src/sdhost/debnce.rs +++ b/esp32/src/sdhost/debnce.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - Number of host clocks (clk) used by debounce filter logic. The typical debounce time is 5 \\verb+~+ 25 ms to prevent the card instability when the card is inserted or removed."] #[inline(always)] - #[must_use] pub fn debounce_count(&mut self) -> DEBOUNCE_COUNT_W { DEBOUNCE_COUNT_W::new(self, 0) } diff --git a/esp32/src/sdhost/emmcddr.rs b/esp32/src/sdhost/emmcddr.rs index 405b5d2739..31ada02122 100644 --- a/esp32/src/sdhost/emmcddr.rs +++ b/esp32/src/sdhost/emmcddr.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Control for start bit detection mechanism duration of start bit.Each bit refers to one slot.Set this bit to 1 for eMMC4.5 and above,set to 0 for SD applications.For eMMC4.5,start bit can be: 1'b0-Full cycle. 1'b1-less than one full cycle."] #[inline(always)] - #[must_use] pub fn halfstartbit(&mut self) -> HALFSTARTBIT_W { HALFSTARTBIT_W::new(self, 0) } #[doc = "Bit 31 - Set 1 to enable HS400 mode."] #[inline(always)] - #[must_use] pub fn hs400_mode(&mut self) -> HS400_MODE_W { HS400_MODE_W::new(self, 31) } diff --git a/esp32/src/sdhost/enshift.rs b/esp32/src/sdhost/enshift.rs index bd77802532..3d441e55f7 100644 --- a/esp32/src/sdhost/enshift.rs +++ b/esp32/src/sdhost/enshift.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Control for the amount of phase shift provided on the default enables in the design.Two bits assigned for each card. 2'b00-Default phase shift. 2'b01-Enables shifted to next immediate positive edge. 2'b10-Enables shifted to next immediate negative edge. 2'b11-Reserved."] #[inline(always)] - #[must_use] pub fn enable_shift(&mut self) -> ENABLE_SHIFT_W { ENABLE_SHIFT_W::new(self, 0) } diff --git a/esp32/src/sdhost/fifoth.rs b/esp32/src/sdhost/fifoth.rs index 841b6ce6d7..557b69a335 100644 --- a/esp32/src/sdhost/fifoth.rs +++ b/esp32/src/sdhost/fifoth.rs @@ -47,19 +47,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - FIFO threshold watermark level when transmitting data to card. When FIFO data count is less than or equal to this number, DMA/FIFO request is raised. If Interrupt is enabled, then interrupt occurs. During end of packet, request or interrupt is generated, regardless of threshold programming.In non-DMA mode, when transmit FIFO threshold (TXDR) interrupt is enabled, then interrupt is generated instead of DMA request. During end of packet, on last interrupt, host is responsible for filling FIFO with only required remaining bytes (not before FIFO is full or after CIU completes data transfers, because FIFO may not be empty). In DMA mode, at end of packet, if last transfer is less than burst size, DMA controller does single cycles until required bytes are transferred."] #[inline(always)] - #[must_use] pub fn tx_wmark(&mut self) -> TX_WMARK_W { TX_WMARK_W::new(self, 0) } #[doc = "Bits 16:26 - FIFO threshold watermark level when receiving data to card.When FIFO data count reaches greater than this number , DMA/FIFO request is raised. During end of packet, request is generated regardless of threshold programming in order to complete any remaining data.In non-DMA mode, when receiver FIFO threshold (RXDR) interrupt is enabled, then interrupt is generated instead of DMA request.During end of packet, interrupt is not generated if threshold programming is larger than any remaining data. It is responsibility of host to read remaining bytes on seeing Data Transfer Done interrupt.In DMA mode, at end of packet, even if remaining bytes are less than threshold, DMA request does single transfers to flush out any remaining bytes before Data Transfer Done interrupt is set."] #[inline(always)] - #[must_use] pub fn rx_wmark(&mut self) -> RX_WMARK_W { RX_WMARK_W::new(self, 16) } #[doc = "Bits 28:30 - Burst size of multiple transaction, should be programmed same as DMA controller multiple-transaction-size SDHOST_SRC/DEST_MSIZE. 000: 1-byte transfer; 001: 4-byte transfer; 010: 8-byte transfer; 011: 16-byte transfer; 100: 32-byte transfer; 101: 64-byte transfer; 110: 128-byte transfer; 111: 256-byte transfer."] #[inline(always)] - #[must_use] pub fn dma_multiple_transaction_size( &mut self, ) -> DMA_MULTIPLE_TRANSACTION_SIZE_W { diff --git a/esp32/src/sdhost/idinten.rs b/esp32/src/sdhost/idinten.rs index 730c7c8bd1..5c9d873d90 100644 --- a/esp32/src/sdhost/idinten.rs +++ b/esp32/src/sdhost/idinten.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Transmit Interrupt Enable. When set with Normal Interrupt Summary Enable, Transmit Interrupt is enabled. When reset, Transmit Interrupt is disabled."] #[inline(always)] - #[must_use] pub fn ti(&mut self) -> TI_W { TI_W::new(self, 0) } #[doc = "Bit 1 - Receive Interrupt Enable. When set with Normal Interrupt Summary Enable, Receive Interrupt is enabled. When reset, Receive Interrupt is disabled."] #[inline(always)] - #[must_use] pub fn ri(&mut self) -> RI_W { RI_W::new(self, 1) } #[doc = "Bit 2 - Fatal Bus Error Enable. When set with Abnormal Interrupt Summary Enable, the Fatal Bus Error Interrupt is enabled. When reset, Fatal Bus Error Enable Interrupt is disabled."] #[inline(always)] - #[must_use] pub fn fbe(&mut self) -> FBE_W { FBE_W::new(self, 2) } #[doc = "Bit 4 - Descriptor Unavailable Interrupt. When set along with Abnormal Interrupt Summary Enable, the DU interrupt is enabled."] #[inline(always)] - #[must_use] pub fn du(&mut self) -> DU_W { DU_W::new(self, 4) } #[doc = "Bit 5 - Card Error summary Interrupt Enable. When set, it enables the Card Interrupt summary."] #[inline(always)] - #[must_use] pub fn ces(&mut self) -> CES_W { CES_W::new(self, 5) } #[doc = "Bit 8 - Normal Interrupt Summary Enable. When set, a normal interrupt is enabled. When reset, a normal interrupt is disabled. This bit enables the following bits: IDINTEN\\[0\\]: Transmit Interrupt; IDINTEN\\[1\\]: Receive Interrupt."] #[inline(always)] - #[must_use] pub fn ni(&mut self) -> NI_W { NI_W::new(self, 8) } #[doc = "Bit 9 - Abnormal Interrupt Summary Enable. When set, an abnormal interrupt is enabled. This bit enables the following bits: IDINTEN\\[2\\]: Fatal Bus Error Interrupt; IDINTEN\\[4\\]: DU Interrupt."] #[inline(always)] - #[must_use] pub fn ai(&mut self) -> AI_W { AI_W::new(self, 9) } diff --git a/esp32/src/sdhost/idsts.rs b/esp32/src/sdhost/idsts.rs index fbf3d95fb4..b9ded110b9 100644 --- a/esp32/src/sdhost/idsts.rs +++ b/esp32/src/sdhost/idsts.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Transmit Interrupt. Indicates that data transmission is finished for a descriptor. Writing 1 clears this bit."] #[inline(always)] - #[must_use] pub fn ti(&mut self) -> TI_W { TI_W::new(self, 0) } #[doc = "Bit 1 - Receive Interrupt. Indicates the completion of data reception for a descriptor. Writing 1 clears this bit."] #[inline(always)] - #[must_use] pub fn ri(&mut self) -> RI_W { RI_W::new(self, 1) } #[doc = "Bit 2 - Fatal Bus Error Interrupt. Indicates that a Bus Error occurred (IDSTS\\[12:10\\]) . When this bit is set, the DMA disables all its bus accesses. Writing 1 clears this bit."] #[inline(always)] - #[must_use] pub fn fbe(&mut self) -> FBE_W { FBE_W::new(self, 2) } #[doc = "Bit 4 - Descriptor Unavailable Interrupt. This bit is set when the descriptor is unavailable due to OWNER bit = 0 (DES0\\[31\\] = 0). Writing 1 clears this bit."] #[inline(always)] - #[must_use] pub fn du(&mut self) -> DU_W { DU_W::new(self, 4) } #[doc = "Bit 5 - Card Error Summary. Indicates the status of the transaction to/from the card, also present in RINTSTS. Indicates the logical OR of the following bits: EBE : End Bit Error; RTO : Response Timeout/Boot Ack Timeout; RCRC : Response CRC; SBE : Start Bit Error; DRTO : Data Read Timeout/BDS timeout; DCRC : Data CRC for Receive; RE : Response Error. Writing 1 clears this bit. The abort condition of the IDMAC depends on the setting of this CES bit. If the CES bit is enabled, then the IDMAC aborts on a response error."] #[inline(always)] - #[must_use] pub fn ces(&mut self) -> CES_W { CES_W::new(self, 5) } #[doc = "Bit 8 - Normal Interrupt Summary. Logical OR of the following: IDSTS\\[0\\] : Transmit Interrupt, IDSTS\\[1\\] : Receive Interrupt. Only unmasked bits affect this bit. This is a sticky bit and must be cleared each time a corresponding bit that causes NIS to be set is cleared. Writing 1 clears this bit."] #[inline(always)] - #[must_use] pub fn nis(&mut self) -> NIS_W { NIS_W::new(self, 8) } #[doc = "Bit 9 - Abnormal Interrupt Summary. Logical OR of the following: IDSTS\\[2\\] : Fatal Bus Interrupt, IDSTS\\[4\\] : DU bit Interrupt. Only unmasked bits affect this bit. This is a sticky bit and must be cleared each time a corresponding bit that causes AIS to be set is cleared. Writing 1 clears this bit."] #[inline(always)] - #[must_use] pub fn ais(&mut self) -> AIS_W { AIS_W::new(self, 9) } #[doc = "Bits 10:12 - Fatal Bus Error Code. Indicates the type of error that caused a Bus Error. Valid only when the Fatal Bus Error bit IDSTS\\[2\\] is set. This field does not generate an interrupt. 001: Host Abort received during transmission; 010: Host Abort received during reception; Others: Reserved."] #[inline(always)] - #[must_use] pub fn fbe_code(&mut self) -> FBE_CODE_W { FBE_CODE_W::new(self, 10) } #[doc = "Bits 13:16 - DMAC FSM present state. 0: DMA_IDLE (idle state); 1: DMA_SUSPEND (suspend state); 2: DESC_RD (descriptor reading state); 3: DESC_CHK (descriptor checking state); 4: DMA_RD_REQ_WAIT (read-data request waiting state); 5: DMA_WR_REQ_WAIT (write-data request waiting state); 6: DMA_RD (data-read state); 7: DMA_WR (data-write state); 8: DESC_CLOSE (descriptor close state)."] #[inline(always)] - #[must_use] pub fn fsm(&mut self) -> FSM_W { FSM_W::new(self, 13) } diff --git a/esp32/src/sdhost/intmask.rs b/esp32/src/sdhost/intmask.rs index d8f06f1b7b..04af2f6725 100644 --- a/esp32/src/sdhost/intmask.rs +++ b/esp32/src/sdhost/intmask.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - These bits used to mask unwanted interrupts. A value of 0 masks interrupt, and a value of 1 enables the interrupt. Bit 15 (EBE): End-bit error/no CRC error; Bit 14 (ACD): Auto command done; Bit 13 (SBE/BCI): Rx Start Bit Error; Bit 12 (HLE): Hardware locked write error; Bit 11 (FRUN): FIFO underrun/overrun error; Bit 10 (HTO): Data starvation-by-host timeout; Bit 9 (DRTO): Data read timeout; Bit 8 (RTO): Response timeout; Bit 7 (DCRC): Data CRC error; Bit 6 (RCRC): Response CRC error; Bit 5 (RXDR): Receive FIFO data request; Bit 4 (TXDR): Transmit FIFO data request; Bit 3 (DTO): Data transfer over; Bit 2 (CD): Command done; Bit 1 (RE): Response error; Bit 0 (CD): Card detect."] #[inline(always)] - #[must_use] pub fn int_mask(&mut self) -> INT_MASK_W { INT_MASK_W::new(self, 0) } #[doc = "Bits 16:17 - SDIO interrupt mask, one bit for each card. Bit\\[17:16\\] correspond to card\\[15:0\\] respectively. When masked, SDIO interrupt detection for that card is disabled. 0 masks an interrupt, and 1 enables an interrupt."] #[inline(always)] - #[must_use] pub fn sdio_int_mask(&mut self) -> SDIO_INT_MASK_W { SDIO_INT_MASK_W::new(self, 16) } diff --git a/esp32/src/sdhost/pldmnd.rs b/esp32/src/sdhost/pldmnd.rs index feb2236b6a..593156e368 100644 --- a/esp32/src/sdhost/pldmnd.rs +++ b/esp32/src/sdhost/pldmnd.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - Poll Demand. If the OWNER bit of a descriptor is not set, the FSM goes to the Suspend state. The host needs to write any value into this register for the IDMAC FSM to resume normal descriptor fetch operation. This is a write only ."] #[inline(always)] - #[must_use] pub fn pd(&mut self) -> PD_W { PD_W::new(self, 0) } diff --git a/esp32/src/sdhost/rintsts.rs b/esp32/src/sdhost/rintsts.rs index 9bc56751d6..5d6e6f419f 100644 --- a/esp32/src/sdhost/rintsts.rs +++ b/esp32/src/sdhost/rintsts.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Setting a bit clears the corresponding interrupt and writing 0 has no effect. Bits are logged regardless of interrupt mask status. Bit 15 (EBE): End-bit error/no CRC error; Bit 14 (ACD): Auto command done; Bit 13 (SBE/BCI): RX Start Bit Error; Bit 12 (HLE): Hardware locked write error; Bit 11 (FRUN): FIFO underrun/overrun error; Bit 10 (HTO): Data starvation by host timeout (HTO); Bit 9 (DTRO): Data read timeout; Bit 8 (RTO): Response timeout; Bit 7 (DCRC): Data CRC error; Bit 6 (RCRC): Response CRC error; Bit 5 (RXDR): Receive FIFO data request; Bit 4 (TXDR): Transmit FIFO data request; Bit 3 (DTO): Data transfer over; Bit 2 (CD): Command done; Bit 1 (RE): Response error; Bit 0 (CD): Card detect."] #[inline(always)] - #[must_use] pub fn int_status_raw(&mut self) -> INT_STATUS_RAW_W { INT_STATUS_RAW_W::new(self, 0) } #[doc = "Bits 16:17 - Interrupt from SDIO card, one bit for each card. Bit\\[17:16\\] correspond to card1 and card0, respectively. Setting a bit clears the corresponding interrupt bit and writing 0 has no effect. 0: No SDIO interrupt from card; 1: SDIO interrupt from card."] #[inline(always)] - #[must_use] pub fn sdio_interrupt_raw(&mut self) -> SDIO_INTERRUPT_RAW_W { SDIO_INTERRUPT_RAW_W::new(self, 16) } diff --git a/esp32/src/sdhost/rst_n.rs b/esp32/src/sdhost/rst_n.rs index c9aee83112..b7bcd3f632 100644 --- a/esp32/src/sdhost/rst_n.rs +++ b/esp32/src/sdhost/rst_n.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Hardware reset. 1: Active mode; 0: Reset. These bits cause the cards to enter pre-idle state, which requires them to be re-initialized. SDHOST_RST_CARD_RESET\\[0\\] should be set to 1'b0 to reset card0, SDHOST_RST_CARD_RESET\\[1\\] should be set to 1'b0 to reset card1."] #[inline(always)] - #[must_use] pub fn card_reset(&mut self) -> CARD_RESET_W { CARD_RESET_W::new(self, 0) } diff --git a/esp32/src/sdhost/tmout.rs b/esp32/src/sdhost/tmout.rs index e8c4de9106..8c443976e0 100644 --- a/esp32/src/sdhost/tmout.rs +++ b/esp32/src/sdhost/tmout.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Response timeout value. Value is specified in terms of number of card output clocks, i.e., sdhost_cclk_out."] #[inline(always)] - #[must_use] pub fn response_timeout(&mut self) -> RESPONSE_TIMEOUT_W { RESPONSE_TIMEOUT_W::new(self, 0) } #[doc = "Bits 8:31 - Value for card data read timeout. This value is also used for data starvation by host timeout. The timeout counter is started only after the card clock is stopped. This value is specified in number of card output clocks, i.e. sdhost_cclk_out of the selected card. NOTE: The software timer should be used if the timeout value is in the order of 100 ms. In this case, read data timeout interrupt needs to be disabled."] #[inline(always)] - #[must_use] pub fn data_timeout(&mut self) -> DATA_TIMEOUT_W { DATA_TIMEOUT_W::new(self, 8) } diff --git a/esp32/src/sdhost/uhs.rs b/esp32/src/sdhost/uhs.rs index 7ab87510f3..92f0b1c227 100644 --- a/esp32/src/sdhost/uhs.rs +++ b/esp32/src/sdhost/uhs.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:17 - DDR mode selecton,1 bit for each card. 0-Non-DDR mdoe. 1-DDR mdoe."] #[inline(always)] - #[must_use] pub fn ddr(&mut self) -> DDR_W { DDR_W::new(self, 16) } diff --git a/esp32/src/sdhost/usrid.rs b/esp32/src/sdhost/usrid.rs index 7a0013604a..ca2811794d 100644 --- a/esp32/src/sdhost/usrid.rs +++ b/esp32/src/sdhost/usrid.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - User identification register, value set by user. Can also be used as a scratchpad register by user."] #[inline(always)] - #[must_use] pub fn usrid(&mut self) -> USRID_W { USRID_W::new(self, 0) } diff --git a/esp32/src/sens/sar_atten1.rs b/esp32/src/sens/sar_atten1.rs index 4ec55683bd..f4a56e0d0b 100644 --- a/esp32/src/sens/sar_atten1.rs +++ b/esp32/src/sens/sar_atten1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - 2-bit attenuation for each pad 11:1dB 10:6dB 01:3dB 00:0dB"] #[inline(always)] - #[must_use] pub fn sar1_atten(&mut self) -> SAR1_ATTEN_W { SAR1_ATTEN_W::new(self, 0) } diff --git a/esp32/src/sens/sar_atten2.rs b/esp32/src/sens/sar_atten2.rs index ac2ea06971..33fdfc3dc9 100644 --- a/esp32/src/sens/sar_atten2.rs +++ b/esp32/src/sens/sar_atten2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - 2-bit attenuation for each pad 11:1dB 10:6dB 01:3dB 00:0dB"] #[inline(always)] - #[must_use] pub fn sar2_atten(&mut self) -> SAR2_ATTEN_W { SAR2_ATTEN_W::new(self, 0) } diff --git a/esp32/src/sens/sar_dac_ctrl1.rs b/esp32/src/sens/sar_dac_ctrl1.rs index 9b4179fdfe..627e3c7756 100644 --- a/esp32/src/sens/sar_dac_ctrl1.rs +++ b/esp32/src/sens/sar_dac_ctrl1.rs @@ -14,9 +14,9 @@ pub type SW_TONE_EN_W<'a, REG> = crate::BitWriter<'a, REG>; pub type DEBUG_BIT_SEL_R = crate::FieldReader; #[doc = "Field `DEBUG_BIT_SEL` writer - "] pub type DEBUG_BIT_SEL_W<'a, REG> = crate::FieldWriter<'a, REG, 5>; -#[doc = "Field `DAC_DIG_FORCE` reader - 1: DAC1 & DAC2 use DMA 0: DAC1 & DAC2 do not use DMA"] +#[doc = "Field `DAC_DIG_FORCE` reader - 1: DAC1 & DAC2 use DMA 0: DAC1 & DAC2 do not use DMA"] pub type DAC_DIG_FORCE_R = crate::BitReader; -#[doc = "Field `DAC_DIG_FORCE` writer - 1: DAC1 & DAC2 use DMA 0: DAC1 & DAC2 do not use DMA"] +#[doc = "Field `DAC_DIG_FORCE` writer - 1: DAC1 & DAC2 use DMA 0: DAC1 & DAC2 do not use DMA"] pub type DAC_DIG_FORCE_W<'a, REG> = crate::BitWriter<'a, REG>; #[doc = "Field `DAC_CLK_FORCE_LOW` reader - 1: force PDAC_CLK to low"] pub type DAC_CLK_FORCE_LOW_R = crate::BitReader; @@ -46,7 +46,7 @@ impl R { pub fn debug_bit_sel(&self) -> DEBUG_BIT_SEL_R { DEBUG_BIT_SEL_R::new(((self.bits >> 17) & 0x1f) as u8) } - #[doc = "Bit 22 - 1: DAC1 & DAC2 use DMA 0: DAC1 & DAC2 do not use DMA"] + #[doc = "Bit 22 - 1: DAC1 & DAC2 use DMA 0: DAC1 & DAC2 do not use DMA"] #[inline(always)] pub fn dac_dig_force(&self) -> DAC_DIG_FORCE_R { DAC_DIG_FORCE_R::new(((self.bits >> 22) & 1) != 0) @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - frequency step for CW generator can be used to adjust the frequency"] #[inline(always)] - #[must_use] pub fn sw_fstep(&mut self) -> SW_FSTEP_W { SW_FSTEP_W::new(self, 0) } #[doc = "Bit 16 - 1: enable CW generator 0: disable CW generator"] #[inline(always)] - #[must_use] pub fn sw_tone_en(&mut self) -> SW_TONE_EN_W { SW_TONE_EN_W::new(self, 16) } #[doc = "Bits 17:21"] #[inline(always)] - #[must_use] pub fn debug_bit_sel(&mut self) -> DEBUG_BIT_SEL_W { DEBUG_BIT_SEL_W::new(self, 17) } - #[doc = "Bit 22 - 1: DAC1 & DAC2 use DMA 0: DAC1 & DAC2 do not use DMA"] + #[doc = "Bit 22 - 1: DAC1 & DAC2 use DMA 0: DAC1 & DAC2 do not use DMA"] #[inline(always)] - #[must_use] pub fn dac_dig_force(&mut self) -> DAC_DIG_FORCE_W { DAC_DIG_FORCE_W::new(self, 22) } #[doc = "Bit 23 - 1: force PDAC_CLK to low"] #[inline(always)] - #[must_use] pub fn dac_clk_force_low(&mut self) -> DAC_CLK_FORCE_LOW_W { DAC_CLK_FORCE_LOW_W::new(self, 23) } #[doc = "Bit 24 - 1: force PDAC_CLK to high"] #[inline(always)] - #[must_use] pub fn dac_clk_force_high(&mut self) -> DAC_CLK_FORCE_HIGH_W { DAC_CLK_FORCE_HIGH_W::new(self, 24) } #[doc = "Bit 25 - 1: invert PDAC_CLK"] #[inline(always)] - #[must_use] pub fn dac_clk_inv(&mut self) -> DAC_CLK_INV_W { DAC_CLK_INV_W::new(self, 25) } diff --git a/esp32/src/sens/sar_dac_ctrl2.rs b/esp32/src/sens/sar_dac_ctrl2.rs index 5a78149b3a..50c4c00d86 100644 --- a/esp32/src/sens/sar_dac_ctrl2.rs +++ b/esp32/src/sens/sar_dac_ctrl2.rs @@ -140,7 +140,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `DAC_DC1` field.
"] #[inline(always)] - #[must_use] pub fn dac_dc(&mut self, n: u8) -> DAC_DC_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -148,13 +147,11 @@ impl W { } #[doc = "Bits 0:7 - DC offset for DAC1 CW generator"] #[inline(always)] - #[must_use] pub fn dac_dc1(&mut self) -> DAC_DC_W { DAC_DC_W::new(self, 0) } #[doc = "Bits 8:15 - DC offset for DAC2 CW generator"] #[inline(always)] - #[must_use] pub fn dac_dc2(&mut self) -> DAC_DC_W { DAC_DC_W::new(self, 8) } @@ -162,7 +159,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `DAC_SCALE1` field.
"] #[inline(always)] - #[must_use] pub fn dac_scale(&mut self, n: u8) -> DAC_SCALE_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -170,13 +166,11 @@ impl W { } #[doc = "Bits 16:17 - 00: no scale 01: scale to 1/2 10: scale to 1/4 scale to 1/8"] #[inline(always)] - #[must_use] pub fn dac_scale1(&mut self) -> DAC_SCALE_W { DAC_SCALE_W::new(self, 16) } #[doc = "Bits 18:19 - 00: no scale 01: scale to 1/2 10: scale to 1/4 scale to 1/8"] #[inline(always)] - #[must_use] pub fn dac_scale2(&mut self) -> DAC_SCALE_W { DAC_SCALE_W::new(self, 18) } @@ -184,7 +178,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `DAC_INV1` field.
"] #[inline(always)] - #[must_use] pub fn dac_inv(&mut self, n: u8) -> DAC_INV_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -192,13 +185,11 @@ impl W { } #[doc = "Bits 20:21 - 00: do not invert any bits 01: invert all bits 10: invert MSB 11: invert all bits except MSB"] #[inline(always)] - #[must_use] pub fn dac_inv1(&mut self) -> DAC_INV_W { DAC_INV_W::new(self, 20) } #[doc = "Bits 22:23 - 00: do not invert any bits 01: invert all bits 10: invert MSB 11: invert all bits except MSB"] #[inline(always)] - #[must_use] pub fn dac_inv2(&mut self) -> DAC_INV_W { DAC_INV_W::new(self, 22) } @@ -206,7 +197,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `DAC_CW_EN1` field.
"] #[inline(always)] - #[must_use] pub fn dac_cw_en(&mut self, n: u8) -> DAC_CW_EN_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -214,13 +204,11 @@ impl W { } #[doc = "Bit 24 - 1: to select CW generator as source to PDAC1_DAC\\[7:0\\] 0: to select register reg_pdac1_dac\\[7:0\\] as source to PDAC1_DAC\\[7:0\\]"] #[inline(always)] - #[must_use] pub fn dac_cw_en1(&mut self) -> DAC_CW_EN_W { DAC_CW_EN_W::new(self, 24) } #[doc = "Bit 25 - 1: to select CW generator as source to PDAC2_DAC\\[7:0\\] 0: to select register reg_pdac2_dac\\[7:0\\] as source to PDAC2_DAC\\[7:0\\]"] #[inline(always)] - #[must_use] pub fn dac_cw_en2(&mut self) -> DAC_CW_EN_W { DAC_CW_EN_W::new(self, 25) } diff --git a/esp32/src/sens/sar_i2c_ctrl.rs b/esp32/src/sens/sar_i2c_ctrl.rs index 99fe68daab..292e9b2df9 100644 --- a/esp32/src/sens/sar_i2c_ctrl.rs +++ b/esp32/src/sens/sar_i2c_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - I2C control data only active when reg_sar_i2c_start_force = 1"] #[inline(always)] - #[must_use] pub fn sar_i2c_ctrl(&mut self) -> SAR_I2C_CTRL_W { SAR_I2C_CTRL_W::new(self, 0) } #[doc = "Bit 28 - start I2C only active when reg_sar_i2c_start_force = 1"] #[inline(always)] - #[must_use] pub fn sar_i2c_start(&mut self) -> SAR_I2C_START_W { SAR_I2C_START_W::new(self, 28) } #[doc = "Bit 29 - 1: I2C started by SW 0: I2C started by FSM"] #[inline(always)] - #[must_use] pub fn sar_i2c_start_force(&mut self) -> SAR_I2C_START_FORCE_W { SAR_I2C_START_FORCE_W::new(self, 29) } diff --git a/esp32/src/sens/sar_meas_ctrl.rs b/esp32/src/sens/sar_meas_ctrl.rs index 55e66457be..054ce2b333 100644 --- a/esp32/src/sens/sar_meas_ctrl.rs +++ b/esp32/src/sens/sar_meas_ctrl.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3"] #[inline(always)] - #[must_use] pub fn xpd_sar_amp_fsm(&mut self) -> XPD_SAR_AMP_FSM_W { XPD_SAR_AMP_FSM_W::new(self, 0) } #[doc = "Bits 4:7"] #[inline(always)] - #[must_use] pub fn amp_rst_fb_fsm(&mut self) -> AMP_RST_FB_FSM_W { AMP_RST_FB_FSM_W::new(self, 4) } #[doc = "Bits 8:11"] #[inline(always)] - #[must_use] pub fn amp_short_ref_fsm(&mut self) -> AMP_SHORT_REF_FSM_W { AMP_SHORT_REF_FSM_W::new(self, 8) } #[doc = "Bits 12:15"] #[inline(always)] - #[must_use] pub fn amp_short_ref_gnd_fsm(&mut self) -> AMP_SHORT_REF_GND_FSM_W { AMP_SHORT_REF_GND_FSM_W::new(self, 12) } #[doc = "Bits 16:19"] #[inline(always)] - #[must_use] pub fn xpd_sar_fsm(&mut self) -> XPD_SAR_FSM_W { XPD_SAR_FSM_W::new(self, 16) } #[doc = "Bits 20:23"] #[inline(always)] - #[must_use] pub fn sar_rstb_fsm(&mut self) -> SAR_RSTB_FSM_W { SAR_RSTB_FSM_W::new(self, 20) } #[doc = "Bits 24:31"] #[inline(always)] - #[must_use] pub fn sar2_xpd_wait(&mut self) -> SAR2_XPD_WAIT_W { SAR2_XPD_WAIT_W::new(self, 24) } diff --git a/esp32/src/sens/sar_meas_ctrl2.rs b/esp32/src/sens/sar_meas_ctrl2.rs index 1698076558..a262fc313e 100644 --- a/esp32/src/sens/sar_meas_ctrl2.rs +++ b/esp32/src/sens/sar_meas_ctrl2.rs @@ -137,37 +137,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3"] #[inline(always)] - #[must_use] pub fn sar1_dac_xpd_fsm(&mut self) -> SAR1_DAC_XPD_FSM_W { SAR1_DAC_XPD_FSM_W::new(self, 0) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn sar1_dac_xpd_fsm_idle(&mut self) -> SAR1_DAC_XPD_FSM_IDLE_W { SAR1_DAC_XPD_FSM_IDLE_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn xpd_sar_amp_fsm_idle(&mut self) -> XPD_SAR_AMP_FSM_IDLE_W { XPD_SAR_AMP_FSM_IDLE_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn amp_rst_fb_fsm_idle(&mut self) -> AMP_RST_FB_FSM_IDLE_W { AMP_RST_FB_FSM_IDLE_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn amp_short_ref_fsm_idle(&mut self) -> AMP_SHORT_REF_FSM_IDLE_W { AMP_SHORT_REF_FSM_IDLE_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn amp_short_ref_gnd_fsm_idle( &mut self, ) -> AMP_SHORT_REF_GND_FSM_IDLE_W { @@ -175,37 +169,31 @@ impl W { } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn xpd_sar_fsm_idle(&mut self) -> XPD_SAR_FSM_IDLE_W { XPD_SAR_FSM_IDLE_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn sar_rstb_fsm_idle(&mut self) -> SAR_RSTB_FSM_IDLE_W { SAR_RSTB_FSM_IDLE_W::new(self, 10) } #[doc = "Bits 11:12"] #[inline(always)] - #[must_use] pub fn sar2_rstb_force(&mut self) -> SAR2_RSTB_FORCE_W { SAR2_RSTB_FORCE_W::new(self, 11) } #[doc = "Bits 13:14"] #[inline(always)] - #[must_use] pub fn amp_rst_fb_force(&mut self) -> AMP_RST_FB_FORCE_W { AMP_RST_FB_FORCE_W::new(self, 13) } #[doc = "Bits 15:16"] #[inline(always)] - #[must_use] pub fn amp_short_ref_force(&mut self) -> AMP_SHORT_REF_FORCE_W { AMP_SHORT_REF_FORCE_W::new(self, 15) } #[doc = "Bits 17:18"] #[inline(always)] - #[must_use] pub fn amp_short_ref_gnd_force(&mut self) -> AMP_SHORT_REF_GND_FORCE_W { AMP_SHORT_REF_GND_FORCE_W::new(self, 17) } diff --git a/esp32/src/sens/sar_meas_start1.rs b/esp32/src/sens/sar_meas_start1.rs index cd94f4bd81..ccd900535f 100644 --- a/esp32/src/sens/sar_meas_start1.rs +++ b/esp32/src/sens/sar_meas_start1.rs @@ -70,25 +70,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 17 - SAR ADC1 controller (in RTC) starts conversion only active when reg_meas1_start_force = 1"] #[inline(always)] - #[must_use] pub fn meas1_start_sar(&mut self) -> MEAS1_START_SAR_W { MEAS1_START_SAR_W::new(self, 17) } #[doc = "Bit 18 - 1: SAR ADC1 controller (in RTC) is started by SW 0: SAR ADC1 controller is started by ULP-coprocessor"] #[inline(always)] - #[must_use] pub fn meas1_start_force(&mut self) -> MEAS1_START_FORCE_W { MEAS1_START_FORCE_W::new(self, 18) } #[doc = "Bits 19:30 - SAR ADC1 pad enable bitmap only active when reg_sar1_en_pad_force = 1"] #[inline(always)] - #[must_use] pub fn sar1_en_pad(&mut self) -> SAR1_EN_PAD_W { SAR1_EN_PAD_W::new(self, 19) } #[doc = "Bit 31 - 1: SAR ADC1 pad enable bitmap is controlled by SW 0: SAR ADC1 pad enable bitmap is controlled by ULP-coprocessor"] #[inline(always)] - #[must_use] pub fn sar1_en_pad_force(&mut self) -> SAR1_EN_PAD_FORCE_W { SAR1_EN_PAD_FORCE_W::new(self, 31) } diff --git a/esp32/src/sens/sar_meas_start2.rs b/esp32/src/sens/sar_meas_start2.rs index cfc115d772..94781bba03 100644 --- a/esp32/src/sens/sar_meas_start2.rs +++ b/esp32/src/sens/sar_meas_start2.rs @@ -70,25 +70,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 17 - SAR ADC2 controller (in RTC) starts conversion only active when reg_meas2_start_force = 1"] #[inline(always)] - #[must_use] pub fn meas2_start_sar(&mut self) -> MEAS2_START_SAR_W { MEAS2_START_SAR_W::new(self, 17) } #[doc = "Bit 18 - 1: SAR ADC2 controller (in RTC) is started by SW 0: SAR ADC2 controller is started by ULP-coprocessor"] #[inline(always)] - #[must_use] pub fn meas2_start_force(&mut self) -> MEAS2_START_FORCE_W { MEAS2_START_FORCE_W::new(self, 18) } #[doc = "Bits 19:30 - SAR ADC2 pad enable bitmap only active when reg_sar2_en_pad_force = 1"] #[inline(always)] - #[must_use] pub fn sar2_en_pad(&mut self) -> SAR2_EN_PAD_W { SAR2_EN_PAD_W::new(self, 19) } #[doc = "Bit 31 - 1: SAR ADC2 pad enable bitmap is controlled by SW 0: SAR ADC2 pad enable bitmap is controlled by ULP-coprocessor"] #[inline(always)] - #[must_use] pub fn sar2_en_pad_force(&mut self) -> SAR2_EN_PAD_FORCE_W { SAR2_EN_PAD_FORCE_W::new(self, 31) } diff --git a/esp32/src/sens/sar_meas_wait1.rs b/esp32/src/sens/sar_meas_wait1.rs index 22b06be1ad..1abe323684 100644 --- a/esp32/src/sens/sar_meas_wait1.rs +++ b/esp32/src/sens/sar_meas_wait1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn sar_amp_wait1(&mut self) -> SAR_AMP_WAIT1_W { SAR_AMP_WAIT1_W::new(self, 0) } #[doc = "Bits 16:31"] #[inline(always)] - #[must_use] pub fn sar_amp_wait2(&mut self) -> SAR_AMP_WAIT2_W { SAR_AMP_WAIT2_W::new(self, 16) } diff --git a/esp32/src/sens/sar_meas_wait2.rs b/esp32/src/sens/sar_meas_wait2.rs index c0f011cc60..717df43c1e 100644 --- a/esp32/src/sens/sar_meas_wait2.rs +++ b/esp32/src/sens/sar_meas_wait2.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn force_xpd_sar_sw(&mut self) -> FORCE_XPD_SAR_SW_W { FORCE_XPD_SAR_SW_W::new(self, 0) } #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn sar_amp_wait3(&mut self) -> SAR_AMP_WAIT3_W { SAR_AMP_WAIT3_W::new(self, 0) } #[doc = "Bits 16:17"] #[inline(always)] - #[must_use] pub fn force_xpd_amp(&mut self) -> FORCE_XPD_AMP_W { FORCE_XPD_AMP_W::new(self, 16) } #[doc = "Bits 18:19"] #[inline(always)] - #[must_use] pub fn force_xpd_sar(&mut self) -> FORCE_XPD_SAR_W { FORCE_XPD_SAR_W::new(self, 18) } #[doc = "Bits 20:27"] #[inline(always)] - #[must_use] pub fn sar2_rstb_wait(&mut self) -> SAR2_RSTB_WAIT_W { SAR2_RSTB_WAIT_W::new(self, 20) } diff --git a/esp32/src/sens/sar_mem_wr_ctrl.rs b/esp32/src/sens/sar_mem_wr_ctrl.rs index 25bef08c19..9ea60f131a 100644 --- a/esp32/src/sens/sar_mem_wr_ctrl.rs +++ b/esp32/src/sens/sar_mem_wr_ctrl.rs @@ -36,19 +36,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10"] #[inline(always)] - #[must_use] pub fn mem_wr_addr_init(&mut self) -> MEM_WR_ADDR_INIT_W { MEM_WR_ADDR_INIT_W::new(self, 0) } #[doc = "Bits 11:21"] #[inline(always)] - #[must_use] pub fn mem_wr_addr_size(&mut self) -> MEM_WR_ADDR_SIZE_W { MEM_WR_ADDR_SIZE_W::new(self, 11) } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn rtc_mem_wr_offst_clr(&mut self) -> RTC_MEM_WR_OFFST_CLR_W { RTC_MEM_WR_OFFST_CLR_W::new(self, 22) } diff --git a/esp32/src/sens/sar_nouse.rs b/esp32/src/sens/sar_nouse.rs index d10e4a24f1..acce7f4c80 100644 --- a/esp32/src/sens/sar_nouse.rs +++ b/esp32/src/sens/sar_nouse.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn sar_nouse(&mut self) -> SAR_NOUSE_W { SAR_NOUSE_W::new(self, 0) } diff --git a/esp32/src/sens/sar_read_ctrl.rs b/esp32/src/sens/sar_read_ctrl.rs index a635774396..a40e1cf521 100644 --- a/esp32/src/sens/sar_read_ctrl.rs +++ b/esp32/src/sens/sar_read_ctrl.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - clock divider"] #[inline(always)] - #[must_use] pub fn sar1_clk_div(&mut self) -> SAR1_CLK_DIV_W { SAR1_CLK_DIV_W::new(self, 0) } #[doc = "Bits 8:15 - sample cycles for SAR ADC1"] #[inline(always)] - #[must_use] pub fn sar1_sample_cycle(&mut self) -> SAR1_SAMPLE_CYCLE_W { SAR1_SAMPLE_CYCLE_W::new(self, 8) } #[doc = "Bits 16:17 - 00: for 9-bit width 01: for 10-bit width 10: for 11-bit width 11: for 12-bit width"] #[inline(always)] - #[must_use] pub fn sar1_sample_bit(&mut self) -> SAR1_SAMPLE_BIT_W { SAR1_SAMPLE_BIT_W::new(self, 16) } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn sar1_clk_gated(&mut self) -> SAR1_CLK_GATED_W { SAR1_CLK_GATED_W::new(self, 18) } #[doc = "Bits 19:26"] #[inline(always)] - #[must_use] pub fn sar1_sample_num(&mut self) -> SAR1_SAMPLE_NUM_W { SAR1_SAMPLE_NUM_W::new(self, 19) } #[doc = "Bit 27 - 1: SAR ADC1 controlled by DIG ADC1 CTRL 0: SAR ADC1 controlled by RTC ADC1 CTRL"] #[inline(always)] - #[must_use] pub fn sar1_dig_force(&mut self) -> SAR1_DIG_FORCE_W { SAR1_DIG_FORCE_W::new(self, 27) } #[doc = "Bit 28 - Invert SAR ADC1 data"] #[inline(always)] - #[must_use] pub fn sar1_data_inv(&mut self) -> SAR1_DATA_INV_W { SAR1_DATA_INV_W::new(self, 28) } diff --git a/esp32/src/sens/sar_read_ctrl2.rs b/esp32/src/sens/sar_read_ctrl2.rs index 5f1244a559..e678ed68a8 100644 --- a/esp32/src/sens/sar_read_ctrl2.rs +++ b/esp32/src/sens/sar_read_ctrl2.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - clock divider"] #[inline(always)] - #[must_use] pub fn sar2_clk_div(&mut self) -> SAR2_CLK_DIV_W { SAR2_CLK_DIV_W::new(self, 0) } #[doc = "Bits 8:15 - sample cycles for SAR ADC2"] #[inline(always)] - #[must_use] pub fn sar2_sample_cycle(&mut self) -> SAR2_SAMPLE_CYCLE_W { SAR2_SAMPLE_CYCLE_W::new(self, 8) } #[doc = "Bits 16:17 - 00: for 9-bit width 01: for 10-bit width 10: for 11-bit width 11: for 12-bit width"] #[inline(always)] - #[must_use] pub fn sar2_sample_bit(&mut self) -> SAR2_SAMPLE_BIT_W { SAR2_SAMPLE_BIT_W::new(self, 16) } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn sar2_clk_gated(&mut self) -> SAR2_CLK_GATED_W { SAR2_CLK_GATED_W::new(self, 18) } #[doc = "Bits 19:26"] #[inline(always)] - #[must_use] pub fn sar2_sample_num(&mut self) -> SAR2_SAMPLE_NUM_W { SAR2_SAMPLE_NUM_W::new(self, 19) } #[doc = "Bit 27"] #[inline(always)] - #[must_use] pub fn sar2_pwdet_force(&mut self) -> SAR2_PWDET_FORCE_W { SAR2_PWDET_FORCE_W::new(self, 27) } #[doc = "Bit 28 - 1: SAR ADC2 controlled by DIG ADC2 CTRL or PWDET CTRL 0: SAR ADC2 controlled by RTC ADC2 CTRL"] #[inline(always)] - #[must_use] pub fn sar2_dig_force(&mut self) -> SAR2_DIG_FORCE_W { SAR2_DIG_FORCE_W::new(self, 28) } #[doc = "Bit 29 - Invert SAR ADC2 data"] #[inline(always)] - #[must_use] pub fn sar2_data_inv(&mut self) -> SAR2_DATA_INV_W { SAR2_DATA_INV_W::new(self, 29) } diff --git a/esp32/src/sens/sar_slave_addr1.rs b/esp32/src/sens/sar_slave_addr1.rs index 0625e4de48..e2c0fc06a1 100644 --- a/esp32/src/sens/sar_slave_addr1.rs +++ b/esp32/src/sens/sar_slave_addr1.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10"] #[inline(always)] - #[must_use] pub fn i2c_slave_addr1(&mut self) -> I2C_SLAVE_ADDR1_W { I2C_SLAVE_ADDR1_W::new(self, 0) } #[doc = "Bits 11:21"] #[inline(always)] - #[must_use] pub fn i2c_slave_addr0(&mut self) -> I2C_SLAVE_ADDR0_W { I2C_SLAVE_ADDR0_W::new(self, 11) } diff --git a/esp32/src/sens/sar_slave_addr2.rs b/esp32/src/sens/sar_slave_addr2.rs index d9bc0bda1f..ccb924f77c 100644 --- a/esp32/src/sens/sar_slave_addr2.rs +++ b/esp32/src/sens/sar_slave_addr2.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10"] #[inline(always)] - #[must_use] pub fn i2c_slave_addr3(&mut self) -> I2C_SLAVE_ADDR3_W { I2C_SLAVE_ADDR3_W::new(self, 0) } #[doc = "Bits 11:21"] #[inline(always)] - #[must_use] pub fn i2c_slave_addr2(&mut self) -> I2C_SLAVE_ADDR2_W { I2C_SLAVE_ADDR2_W::new(self, 11) } diff --git a/esp32/src/sens/sar_slave_addr3.rs b/esp32/src/sens/sar_slave_addr3.rs index 72cf436527..327d0ac750 100644 --- a/esp32/src/sens/sar_slave_addr3.rs +++ b/esp32/src/sens/sar_slave_addr3.rs @@ -50,13 +50,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10"] #[inline(always)] - #[must_use] pub fn i2c_slave_addr5(&mut self) -> I2C_SLAVE_ADDR5_W { I2C_SLAVE_ADDR5_W::new(self, 0) } #[doc = "Bits 11:21"] #[inline(always)] - #[must_use] pub fn i2c_slave_addr4(&mut self) -> I2C_SLAVE_ADDR4_W { I2C_SLAVE_ADDR4_W::new(self, 11) } diff --git a/esp32/src/sens/sar_slave_addr4.rs b/esp32/src/sens/sar_slave_addr4.rs index 4291ad3ddc..384d356e5d 100644 --- a/esp32/src/sens/sar_slave_addr4.rs +++ b/esp32/src/sens/sar_slave_addr4.rs @@ -50,13 +50,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10"] #[inline(always)] - #[must_use] pub fn i2c_slave_addr7(&mut self) -> I2C_SLAVE_ADDR7_W { I2C_SLAVE_ADDR7_W::new(self, 0) } #[doc = "Bits 11:21"] #[inline(always)] - #[must_use] pub fn i2c_slave_addr6(&mut self) -> I2C_SLAVE_ADDR6_W { I2C_SLAVE_ADDR6_W::new(self, 11) } diff --git a/esp32/src/sens/sar_start_force.rs b/esp32/src/sens/sar_start_force.rs index 1254c80810..b74088d2a4 100644 --- a/esp32/src/sens/sar_start_force.rs +++ b/esp32/src/sens/sar_start_force.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - 00: 9 bit 01: 10 bits 10: 11bits 11: 12bits"] #[inline(always)] - #[must_use] pub fn sar1_bit_width(&mut self) -> SAR1_BIT_WIDTH_W { SAR1_BIT_WIDTH_W::new(self, 0) } #[doc = "Bits 2:3 - 00: 9 bit 01: 10 bits 10: 11bits 11: 12bits"] #[inline(always)] - #[must_use] pub fn sar2_bit_width(&mut self) -> SAR2_BIT_WIDTH_W { SAR2_BIT_WIDTH_W::new(self, 2) } #[doc = "Bit 4 - SAR2_EN_TEST only active when reg_sar2_dig_force = 0"] #[inline(always)] - #[must_use] pub fn sar2_en_test(&mut self) -> SAR2_EN_TEST_W { SAR2_EN_TEST_W::new(self, 4) } #[doc = "Bits 5:7 - SAR2_PWDET_CCT PA power detector capacitance tuning."] #[inline(always)] - #[must_use] pub fn sar2_pwdet_cct(&mut self) -> SAR2_PWDET_CCT_W { SAR2_PWDET_CCT_W::new(self, 5) } #[doc = "Bit 8 - 1: ULP-coprocessor is started by SW 0: ULP-coprocessor is started by timer"] #[inline(always)] - #[must_use] pub fn ulp_cp_force_start_top(&mut self) -> ULP_CP_FORCE_START_TOP_W { ULP_CP_FORCE_START_TOP_W::new(self, 8) } #[doc = "Bit 9 - Write 1 to start ULP-coprocessor only active when reg_ulp_cp_force_start_top = 1"] #[inline(always)] - #[must_use] pub fn ulp_cp_start_top(&mut self) -> ULP_CP_START_TOP_W { ULP_CP_START_TOP_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn sarclk_en(&mut self) -> SARCLK_EN_W { SARCLK_EN_W::new(self, 10) } #[doc = "Bits 11:21 - initialized PC for ULP-coprocessor"] #[inline(always)] - #[must_use] pub fn pc_init(&mut self) -> PC_INIT_W { PC_INIT_W::new(self, 11) } #[doc = "Bit 22 - stop SAR ADC2 conversion"] #[inline(always)] - #[must_use] pub fn sar2_stop(&mut self) -> SAR2_STOP_W { SAR2_STOP_W::new(self, 22) } #[doc = "Bit 23 - stop SAR ADC1 conversion"] #[inline(always)] - #[must_use] pub fn sar1_stop(&mut self) -> SAR1_STOP_W { SAR1_STOP_W::new(self, 23) } #[doc = "Bit 24 - N/A"] #[inline(always)] - #[must_use] pub fn sar2_pwdet_en(&mut self) -> SAR2_PWDET_EN_W { SAR2_PWDET_EN_W::new(self, 24) } diff --git a/esp32/src/sens/sar_touch_ctrl1.rs b/esp32/src/sens/sar_touch_ctrl1.rs index ddefc40851..d1f46d77c3 100644 --- a/esp32/src/sens/sar_touch_ctrl1.rs +++ b/esp32/src/sens/sar_touch_ctrl1.rs @@ -14,9 +14,9 @@ pub type TOUCH_XPD_WAIT_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; pub type TOUCH_OUT_SEL_R = crate::BitReader; #[doc = "Field `TOUCH_OUT_SEL` writer - 1: when the counter is greater then the threshold the touch pad is considered as \"touched\" 0: when the counter is less than the threshold the touch pad is considered as \"touched\""] pub type TOUCH_OUT_SEL_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `TOUCH_OUT_1EN` reader - 1: wakeup interrupt is generated if SET1 is \"touched\" 0: wakeup interrupt is generated only if SET1 & SET2 is both \"touched\""] +#[doc = "Field `TOUCH_OUT_1EN` reader - 1: wakeup interrupt is generated if SET1 is \"touched\" 0: wakeup interrupt is generated only if SET1 & SET2 is both \"touched\""] pub type TOUCH_OUT_1EN_R = crate::BitReader; -#[doc = "Field `TOUCH_OUT_1EN` writer - 1: wakeup interrupt is generated if SET1 is \"touched\" 0: wakeup interrupt is generated only if SET1 & SET2 is both \"touched\""] +#[doc = "Field `TOUCH_OUT_1EN` writer - 1: wakeup interrupt is generated if SET1 is \"touched\" 0: wakeup interrupt is generated only if SET1 & SET2 is both \"touched\""] pub type TOUCH_OUT_1EN_W<'a, REG> = crate::BitWriter<'a, REG>; #[doc = "Field `XPD_HALL_FORCE` reader - 1: XPD HALL is controlled by SW. 0: XPD HALL is controlled by FSM in ULP-coprocessor"] pub type XPD_HALL_FORCE_R = crate::BitReader; @@ -42,7 +42,7 @@ impl R { pub fn touch_out_sel(&self) -> TOUCH_OUT_SEL_R { TOUCH_OUT_SEL_R::new(((self.bits >> 24) & 1) != 0) } - #[doc = "Bit 25 - 1: wakeup interrupt is generated if SET1 is \"touched\" 0: wakeup interrupt is generated only if SET1 & SET2 is both \"touched\""] + #[doc = "Bit 25 - 1: wakeup interrupt is generated if SET1 is \"touched\" 0: wakeup interrupt is generated only if SET1 & SET2 is both \"touched\""] #[inline(always)] pub fn touch_out_1en(&self) -> TOUCH_OUT_1EN_R { TOUCH_OUT_1EN_R::new(((self.bits >> 25) & 1) != 0) @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - the meas length (in 8MHz)"] #[inline(always)] - #[must_use] pub fn touch_meas_delay(&mut self) -> TOUCH_MEAS_DELAY_W { TOUCH_MEAS_DELAY_W::new(self, 0) } #[doc = "Bits 16:23 - the waiting cycles (in 8MHz) between TOUCH_START and TOUCH_XPD"] #[inline(always)] - #[must_use] pub fn touch_xpd_wait(&mut self) -> TOUCH_XPD_WAIT_W { TOUCH_XPD_WAIT_W::new(self, 16) } #[doc = "Bit 24 - 1: when the counter is greater then the threshold the touch pad is considered as \"touched\" 0: when the counter is less than the threshold the touch pad is considered as \"touched\""] #[inline(always)] - #[must_use] pub fn touch_out_sel(&mut self) -> TOUCH_OUT_SEL_W { TOUCH_OUT_SEL_W::new(self, 24) } - #[doc = "Bit 25 - 1: wakeup interrupt is generated if SET1 is \"touched\" 0: wakeup interrupt is generated only if SET1 & SET2 is both \"touched\""] + #[doc = "Bit 25 - 1: wakeup interrupt is generated if SET1 is \"touched\" 0: wakeup interrupt is generated only if SET1 & SET2 is both \"touched\""] #[inline(always)] - #[must_use] pub fn touch_out_1en(&mut self) -> TOUCH_OUT_1EN_W { TOUCH_OUT_1EN_W::new(self, 25) } #[doc = "Bit 26 - 1: XPD HALL is controlled by SW. 0: XPD HALL is controlled by FSM in ULP-coprocessor"] #[inline(always)] - #[must_use] pub fn xpd_hall_force(&mut self) -> XPD_HALL_FORCE_W { XPD_HALL_FORCE_W::new(self, 26) } #[doc = "Bit 27 - 1: HALL PHASE is controlled by SW 0: HALL PHASE is controlled by FSM in ULP-coprocessor"] #[inline(always)] - #[must_use] pub fn hall_phase_force(&mut self) -> HALL_PHASE_FORCE_W { HALL_PHASE_FORCE_W::new(self, 27) } diff --git a/esp32/src/sens/sar_touch_ctrl2.rs b/esp32/src/sens/sar_touch_ctrl2.rs index 4579854c0e..c54c9af822 100644 --- a/esp32/src/sens/sar_touch_ctrl2.rs +++ b/esp32/src/sens/sar_touch_ctrl2.rs @@ -6,9 +6,9 @@ pub type W = crate::W; pub type TOUCH_MEAS_EN_R = crate::FieldReader; #[doc = "Field `TOUCH_MEAS_DONE` reader - fsm set 1 to indicate touch touch meas is done"] pub type TOUCH_MEAS_DONE_R = crate::BitReader; -#[doc = "Field `TOUCH_START_FSM_EN` reader - 1: TOUCH_START & TOUCH_XPD is controlled by touch fsm 0: TOUCH_START & TOUCH_XPD is controlled by registers"] +#[doc = "Field `TOUCH_START_FSM_EN` reader - 1: TOUCH_START & TOUCH_XPD is controlled by touch fsm 0: TOUCH_START & TOUCH_XPD is controlled by registers"] pub type TOUCH_START_FSM_EN_R = crate::BitReader; -#[doc = "Field `TOUCH_START_FSM_EN` writer - 1: TOUCH_START & TOUCH_XPD is controlled by touch fsm 0: TOUCH_START & TOUCH_XPD is controlled by registers"] +#[doc = "Field `TOUCH_START_FSM_EN` writer - 1: TOUCH_START & TOUCH_XPD is controlled by touch fsm 0: TOUCH_START & TOUCH_XPD is controlled by registers"] pub type TOUCH_START_FSM_EN_W<'a, REG> = crate::BitWriter<'a, REG>; #[doc = "Field `TOUCH_START_EN` reader - 1: start touch fsm valid when reg_touch_start_force is set"] pub type TOUCH_START_EN_R = crate::BitReader; @@ -35,7 +35,7 @@ impl R { pub fn touch_meas_done(&self) -> TOUCH_MEAS_DONE_R { TOUCH_MEAS_DONE_R::new(((self.bits >> 10) & 1) != 0) } - #[doc = "Bit 11 - 1: TOUCH_START & TOUCH_XPD is controlled by touch fsm 0: TOUCH_START & TOUCH_XPD is controlled by registers"] + #[doc = "Bit 11 - 1: TOUCH_START & TOUCH_XPD is controlled by touch fsm 0: TOUCH_START & TOUCH_XPD is controlled by registers"] #[inline(always)] pub fn touch_start_fsm_en(&self) -> TOUCH_START_FSM_EN_R { TOUCH_START_FSM_EN_R::new(((self.bits >> 11) & 1) != 0) @@ -70,33 +70,28 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bit 11 - 1: TOUCH_START & TOUCH_XPD is controlled by touch fsm 0: TOUCH_START & TOUCH_XPD is controlled by registers"] + #[doc = "Bit 11 - 1: TOUCH_START & TOUCH_XPD is controlled by touch fsm 0: TOUCH_START & TOUCH_XPD is controlled by registers"] #[inline(always)] - #[must_use] pub fn touch_start_fsm_en(&mut self) -> TOUCH_START_FSM_EN_W { TOUCH_START_FSM_EN_W::new(self, 11) } #[doc = "Bit 12 - 1: start touch fsm valid when reg_touch_start_force is set"] #[inline(always)] - #[must_use] pub fn touch_start_en(&mut self) -> TOUCH_START_EN_W { TOUCH_START_EN_W::new(self, 12) } #[doc = "Bit 13 - 1: to start touch fsm by SW 0: to start touch fsm by timer"] #[inline(always)] - #[must_use] pub fn touch_start_force(&mut self) -> TOUCH_START_FORCE_W { TOUCH_START_FORCE_W::new(self, 13) } #[doc = "Bits 14:29 - sleep cycles for timer"] #[inline(always)] - #[must_use] pub fn touch_sleep_cycles(&mut self) -> TOUCH_SLEEP_CYCLES_W { TOUCH_SLEEP_CYCLES_W::new(self, 14) } #[doc = "Bit 30 - to clear reg_touch_meas_en"] #[inline(always)] - #[must_use] pub fn touch_meas_en_clr(&mut self) -> TOUCH_MEAS_EN_CLR_W { TOUCH_MEAS_EN_CLR_W::new(self, 30) } diff --git a/esp32/src/sens/sar_touch_enable.rs b/esp32/src/sens/sar_touch_enable.rs index 94e19d95f2..28a955ebb2 100644 --- a/esp32/src/sens/sar_touch_enable.rs +++ b/esp32/src/sens/sar_touch_enable.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - Bitmap defining the working set during the measurement."] #[inline(always)] - #[must_use] pub fn touch_pad_worken(&mut self) -> TOUCH_PAD_WORKEN_W { TOUCH_PAD_WORKEN_W::new(self, 0) } #[doc = "Bits 10:19 - Bitmap defining SET2 for generating wakeup interrupt. SET2 is \"touched\" only if at least one of touch pad in SET2 is \"touched\"."] #[inline(always)] - #[must_use] pub fn touch_pad_outen2(&mut self) -> TOUCH_PAD_OUTEN2_W { TOUCH_PAD_OUTEN2_W::new(self, 10) } #[doc = "Bits 20:29 - Bitmap defining SET1 for generating wakeup interrupt. SET1 is \"touched\" only if at least one of touch pad in SET1 is \"touched\"."] #[inline(always)] - #[must_use] pub fn touch_pad_outen1(&mut self) -> TOUCH_PAD_OUTEN1_W { TOUCH_PAD_OUTEN1_W::new(self, 20) } diff --git a/esp32/src/sens/sar_touch_thres1.rs b/esp32/src/sens/sar_touch_thres1.rs index befd2264b1..015187485e 100644 --- a/esp32/src/sens/sar_touch_thres1.rs +++ b/esp32/src/sens/sar_touch_thres1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - the threshold for touch pad 1"] #[inline(always)] - #[must_use] pub fn touch_out_th1(&mut self) -> TOUCH_OUT_TH1_W { TOUCH_OUT_TH1_W::new(self, 0) } #[doc = "Bits 16:31 - the threshold for touch pad 0"] #[inline(always)] - #[must_use] pub fn touch_out_th0(&mut self) -> TOUCH_OUT_TH0_W { TOUCH_OUT_TH0_W::new(self, 16) } diff --git a/esp32/src/sens/sar_touch_thres2.rs b/esp32/src/sens/sar_touch_thres2.rs index 0f36714266..5596582999 100644 --- a/esp32/src/sens/sar_touch_thres2.rs +++ b/esp32/src/sens/sar_touch_thres2.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - the threshold for touch pad 3"] #[inline(always)] - #[must_use] pub fn touch_out_th3(&mut self) -> TOUCH_OUT_TH3_W { TOUCH_OUT_TH3_W::new(self, 0) } #[doc = "Bits 16:31 - the threshold for touch pad 2"] #[inline(always)] - #[must_use] pub fn touch_out_th2(&mut self) -> TOUCH_OUT_TH2_W { TOUCH_OUT_TH2_W::new(self, 16) } diff --git a/esp32/src/sens/sar_touch_thres3.rs b/esp32/src/sens/sar_touch_thres3.rs index d58cf24a07..7f91ec8c76 100644 --- a/esp32/src/sens/sar_touch_thres3.rs +++ b/esp32/src/sens/sar_touch_thres3.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - the threshold for touch pad 5"] #[inline(always)] - #[must_use] pub fn touch_out_th5(&mut self) -> TOUCH_OUT_TH5_W { TOUCH_OUT_TH5_W::new(self, 0) } #[doc = "Bits 16:31 - the threshold for touch pad 4"] #[inline(always)] - #[must_use] pub fn touch_out_th4(&mut self) -> TOUCH_OUT_TH4_W { TOUCH_OUT_TH4_W::new(self, 16) } diff --git a/esp32/src/sens/sar_touch_thres4.rs b/esp32/src/sens/sar_touch_thres4.rs index 4457723b4b..79d4d67fc5 100644 --- a/esp32/src/sens/sar_touch_thres4.rs +++ b/esp32/src/sens/sar_touch_thres4.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - the threshold for touch pad 7"] #[inline(always)] - #[must_use] pub fn touch_out_th7(&mut self) -> TOUCH_OUT_TH7_W { TOUCH_OUT_TH7_W::new(self, 0) } #[doc = "Bits 16:31 - the threshold for touch pad 6"] #[inline(always)] - #[must_use] pub fn touch_out_th6(&mut self) -> TOUCH_OUT_TH6_W { TOUCH_OUT_TH6_W::new(self, 16) } diff --git a/esp32/src/sens/sar_touch_thres5.rs b/esp32/src/sens/sar_touch_thres5.rs index 529aab0089..b4e3ba7cb6 100644 --- a/esp32/src/sens/sar_touch_thres5.rs +++ b/esp32/src/sens/sar_touch_thres5.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - the threshold for touch pad 9"] #[inline(always)] - #[must_use] pub fn touch_out_th9(&mut self) -> TOUCH_OUT_TH9_W { TOUCH_OUT_TH9_W::new(self, 0) } #[doc = "Bits 16:31 - the threshold for touch pad 8"] #[inline(always)] - #[must_use] pub fn touch_out_th8(&mut self) -> TOUCH_OUT_TH8_W { TOUCH_OUT_TH8_W::new(self, 16) } diff --git a/esp32/src/sens/sar_tsens_ctrl.rs b/esp32/src/sens/sar_tsens_ctrl.rs index 49742b5c1b..478ee23da1 100644 --- a/esp32/src/sens/sar_tsens_ctrl.rs +++ b/esp32/src/sens/sar_tsens_ctrl.rs @@ -30,9 +30,9 @@ pub type TSENS_CLK_DIV_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; pub type TSENS_POWER_UP_R = crate::BitReader; #[doc = "Field `TSENS_POWER_UP` writer - temperature sensor power up"] pub type TSENS_POWER_UP_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `TSENS_POWER_UP_FORCE` reader - 1: dump out & power up controlled by SW 0: by FSM"] +#[doc = "Field `TSENS_POWER_UP_FORCE` reader - 1: dump out & power up controlled by SW 0: by FSM"] pub type TSENS_POWER_UP_FORCE_R = crate::BitReader; -#[doc = "Field `TSENS_POWER_UP_FORCE` writer - 1: dump out & power up controlled by SW 0: by FSM"] +#[doc = "Field `TSENS_POWER_UP_FORCE` writer - 1: dump out & power up controlled by SW 0: by FSM"] pub type TSENS_POWER_UP_FORCE_W<'a, REG> = crate::BitWriter<'a, REG>; #[doc = "Field `TSENS_DUMP_OUT` reader - temperature sensor dump out only active when reg_tsens_power_up_force = 1"] pub type TSENS_DUMP_OUT_R = crate::BitReader; @@ -74,7 +74,7 @@ impl R { pub fn tsens_power_up(&self) -> TSENS_POWER_UP_R { TSENS_POWER_UP_R::new(((self.bits >> 24) & 1) != 0) } - #[doc = "Bit 25 - 1: dump out & power up controlled by SW 0: by FSM"] + #[doc = "Bit 25 - 1: dump out & power up controlled by SW 0: by FSM"] #[inline(always)] pub fn tsens_power_up_force(&self) -> TSENS_POWER_UP_FORCE_R { TSENS_POWER_UP_FORCE_R::new(((self.bits >> 25) & 1) != 0) @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11"] #[inline(always)] - #[must_use] pub fn tsens_xpd_wait(&mut self) -> TSENS_XPD_WAIT_W { TSENS_XPD_WAIT_W::new(self, 0) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn tsens_xpd_force(&mut self) -> TSENS_XPD_FORCE_W { TSENS_XPD_FORCE_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn tsens_clk_inv(&mut self) -> TSENS_CLK_INV_W { TSENS_CLK_INV_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn tsens_clk_gated(&mut self) -> TSENS_CLK_GATED_W { TSENS_CLK_GATED_W::new(self, 14) } #[doc = "Bit 15 - invert temperature sensor data"] #[inline(always)] - #[must_use] pub fn tsens_in_inv(&mut self) -> TSENS_IN_INV_W { TSENS_IN_INV_W::new(self, 15) } #[doc = "Bits 16:23 - temperature sensor clock divider"] #[inline(always)] - #[must_use] pub fn tsens_clk_div(&mut self) -> TSENS_CLK_DIV_W { TSENS_CLK_DIV_W::new(self, 16) } #[doc = "Bit 24 - temperature sensor power up"] #[inline(always)] - #[must_use] pub fn tsens_power_up(&mut self) -> TSENS_POWER_UP_W { TSENS_POWER_UP_W::new(self, 24) } - #[doc = "Bit 25 - 1: dump out & power up controlled by SW 0: by FSM"] + #[doc = "Bit 25 - 1: dump out & power up controlled by SW 0: by FSM"] #[inline(always)] - #[must_use] pub fn tsens_power_up_force(&mut self) -> TSENS_POWER_UP_FORCE_W { TSENS_POWER_UP_FORCE_W::new(self, 25) } #[doc = "Bit 26 - temperature sensor dump out only active when reg_tsens_power_up_force = 1"] #[inline(always)] - #[must_use] pub fn tsens_dump_out(&mut self) -> TSENS_DUMP_OUT_W { TSENS_DUMP_OUT_W::new(self, 26) } diff --git a/esp32/src/sens/sardate.rs b/esp32/src/sens/sardate.rs index 3993392d88..741de76804 100644 --- a/esp32/src/sens/sardate.rs +++ b/esp32/src/sens/sardate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27"] #[inline(always)] - #[must_use] pub fn sar_date(&mut self) -> SAR_DATE_W { SAR_DATE_W::new(self, 0) } diff --git a/esp32/src/sens/ulp_cp_sleep_cyc0.rs b/esp32/src/sens/ulp_cp_sleep_cyc0.rs index 708f032f85..db5754611f 100644 --- a/esp32/src/sens/ulp_cp_sleep_cyc0.rs +++ b/esp32/src/sens/ulp_cp_sleep_cyc0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - sleep cycles for ULP-coprocessor timer"] #[inline(always)] - #[must_use] pub fn sleep_cycles_s0(&mut self) -> SLEEP_CYCLES_S0_W { SLEEP_CYCLES_S0_W::new(self, 0) } diff --git a/esp32/src/sens/ulp_cp_sleep_cyc1.rs b/esp32/src/sens/ulp_cp_sleep_cyc1.rs index 3ac0602a23..d55bda0b31 100644 --- a/esp32/src/sens/ulp_cp_sleep_cyc1.rs +++ b/esp32/src/sens/ulp_cp_sleep_cyc1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn sleep_cycles_s1(&mut self) -> SLEEP_CYCLES_S1_W { SLEEP_CYCLES_S1_W::new(self, 0) } diff --git a/esp32/src/sens/ulp_cp_sleep_cyc2.rs b/esp32/src/sens/ulp_cp_sleep_cyc2.rs index 502465b3a0..d5e6f920ce 100644 --- a/esp32/src/sens/ulp_cp_sleep_cyc2.rs +++ b/esp32/src/sens/ulp_cp_sleep_cyc2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn sleep_cycles_s2(&mut self) -> SLEEP_CYCLES_S2_W { SLEEP_CYCLES_S2_W::new(self, 0) } diff --git a/esp32/src/sens/ulp_cp_sleep_cyc3.rs b/esp32/src/sens/ulp_cp_sleep_cyc3.rs index 4a27f1ff36..1d2c921be6 100644 --- a/esp32/src/sens/ulp_cp_sleep_cyc3.rs +++ b/esp32/src/sens/ulp_cp_sleep_cyc3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn sleep_cycles_s3(&mut self) -> SLEEP_CYCLES_S3_W { SLEEP_CYCLES_S3_W::new(self, 0) } diff --git a/esp32/src/sens/ulp_cp_sleep_cyc4.rs b/esp32/src/sens/ulp_cp_sleep_cyc4.rs index cd60fdb811..44cfd4e9dc 100644 --- a/esp32/src/sens/ulp_cp_sleep_cyc4.rs +++ b/esp32/src/sens/ulp_cp_sleep_cyc4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn sleep_cycles_s4(&mut self) -> SLEEP_CYCLES_S4_W { SLEEP_CYCLES_S4_W::new(self, 0) } diff --git a/esp32/src/sha/sha1_continue.rs b/esp32/src/sha/sha1_continue.rs index b518cbdabc..59604d8fea 100644 --- a/esp32/src/sha/sha1_continue.rs +++ b/esp32/src/sha/sha1_continue.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to continue the SHA-1 operation with subsequent blocks."] #[inline(always)] - #[must_use] pub fn sha1_continue(&mut self) -> SHA1_CONTINUE_W { SHA1_CONTINUE_W::new(self, 0) } diff --git a/esp32/src/sha/sha1_load.rs b/esp32/src/sha/sha1_load.rs index de960a7a25..de57f513a5 100644 --- a/esp32/src/sha/sha1_load.rs +++ b/esp32/src/sha/sha1_load.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to finish the SHA-1 operation to calculate the final message hash."] #[inline(always)] - #[must_use] pub fn sha1_load(&mut self) -> SHA1_LOAD_W { SHA1_LOAD_W::new(self, 0) } diff --git a/esp32/src/sha/sha1_start.rs b/esp32/src/sha/sha1_start.rs index 9488c280b6..1116c57db1 100644 --- a/esp32/src/sha/sha1_start.rs +++ b/esp32/src/sha/sha1_start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to start an SHA-1 operation on the first message block."] #[inline(always)] - #[must_use] pub fn sha1_start(&mut self) -> SHA1_START_W { SHA1_START_W::new(self, 0) } diff --git a/esp32/src/sha/sha256_continue.rs b/esp32/src/sha/sha256_continue.rs index 6812234e47..58fd83e8ef 100644 --- a/esp32/src/sha/sha256_continue.rs +++ b/esp32/src/sha/sha256_continue.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to continue the SHA-256 operation with subsequent blocks."] #[inline(always)] - #[must_use] pub fn sha256_continue(&mut self) -> SHA256_CONTINUE_W { SHA256_CONTINUE_W::new(self, 0) } diff --git a/esp32/src/sha/sha256_load.rs b/esp32/src/sha/sha256_load.rs index 66f3b0f1a4..fbef9cdc1b 100644 --- a/esp32/src/sha/sha256_load.rs +++ b/esp32/src/sha/sha256_load.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to finish the SHA-256 operation to calculate the final message hash."] #[inline(always)] - #[must_use] pub fn sha256_load(&mut self) -> SHA256_LOAD_W { SHA256_LOAD_W::new(self, 0) } diff --git a/esp32/src/sha/sha256_start.rs b/esp32/src/sha/sha256_start.rs index a31951f101..b42347a677 100644 --- a/esp32/src/sha/sha256_start.rs +++ b/esp32/src/sha/sha256_start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to start an SHA-256 operation on the first message block."] #[inline(always)] - #[must_use] pub fn sha256_start(&mut self) -> SHA256_START_W { SHA256_START_W::new(self, 0) } diff --git a/esp32/src/sha/sha384_continue.rs b/esp32/src/sha/sha384_continue.rs index e3cded8ac1..d009f9babf 100644 --- a/esp32/src/sha/sha384_continue.rs +++ b/esp32/src/sha/sha384_continue.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to continue the SHA-384 operation with subsequent blocks."] #[inline(always)] - #[must_use] pub fn sha384_continue(&mut self) -> SHA384_CONTINUE_W { SHA384_CONTINUE_W::new(self, 0) } diff --git a/esp32/src/sha/sha384_load.rs b/esp32/src/sha/sha384_load.rs index 112098f96b..75804a09d4 100644 --- a/esp32/src/sha/sha384_load.rs +++ b/esp32/src/sha/sha384_load.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to finish the SHA-384 operation to calculate the final message hash."] #[inline(always)] - #[must_use] pub fn sha384_load(&mut self) -> SHA384_LOAD_W { SHA384_LOAD_W::new(self, 0) } diff --git a/esp32/src/sha/sha384_start.rs b/esp32/src/sha/sha384_start.rs index 8536411631..6cb4e92e09 100644 --- a/esp32/src/sha/sha384_start.rs +++ b/esp32/src/sha/sha384_start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to start an SHA-384 operation on the first message block."] #[inline(always)] - #[must_use] pub fn sha384_start(&mut self) -> SHA384_START_W { SHA384_START_W::new(self, 0) } diff --git a/esp32/src/sha/sha512_continue.rs b/esp32/src/sha/sha512_continue.rs index eb998f09d3..26db062a03 100644 --- a/esp32/src/sha/sha512_continue.rs +++ b/esp32/src/sha/sha512_continue.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to continue the SHA-512 operation with subsequent blocks."] #[inline(always)] - #[must_use] pub fn sha512_continue(&mut self) -> SHA512_CONTINUE_W { SHA512_CONTINUE_W::new(self, 0) } diff --git a/esp32/src/sha/sha512_load.rs b/esp32/src/sha/sha512_load.rs index 719311a84b..dcc015f4f6 100644 --- a/esp32/src/sha/sha512_load.rs +++ b/esp32/src/sha/sha512_load.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to finish the SHA-512 operation to calculate the final message hash."] #[inline(always)] - #[must_use] pub fn sha512_load(&mut self) -> SHA512_LOAD_W { SHA512_LOAD_W::new(self, 0) } diff --git a/esp32/src/sha/sha512_start.rs b/esp32/src/sha/sha512_start.rs index 5a9c0da307..4a2042d29b 100644 --- a/esp32/src/sha/sha512_start.rs +++ b/esp32/src/sha/sha512_start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to start an SHA-512 operation on the first message block."] #[inline(always)] - #[must_use] pub fn sha512_start(&mut self) -> SHA512_START_W { SHA512_START_W::new(self, 0) } diff --git a/esp32/src/sha/text.rs b/esp32/src/sha/text.rs index 7b5db8bf97..f0c7bfcc17 100644 --- a/esp32/src/sha/text.rs +++ b/esp32/src/sha/text.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - SHA Message block and hash result register."] #[inline(always)] - #[must_use] pub fn text(&mut self) -> TEXT_W { TEXT_W::new(self, 0) } diff --git a/esp32/src/slc/_0_dscr_rec_conf.rs b/esp32/src/slc/_0_dscr_rec_conf.rs index 1be8d426f1..68b61475a2 100644 --- a/esp32/src/slc/_0_dscr_rec_conf.rs +++ b/esp32/src/slc/_0_dscr_rec_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9"] #[inline(always)] - #[must_use] pub fn slc0_rx_dscr_rec_lim(&mut self) -> SLC0_RX_DSCR_REC_LIM_W<_0_DSCR_REC_CONF_SPEC> { SLC0_RX_DSCR_REC_LIM_W::new(self, 0) } diff --git a/esp32/src/slc/_0_len_conf.rs b/esp32/src/slc/_0_len_conf.rs index a419b4dd21..05a433634e 100644 --- a/esp32/src/slc/_0_len_conf.rs +++ b/esp32/src/slc/_0_len_conf.rs @@ -62,49 +62,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19"] #[inline(always)] - #[must_use] pub fn slc0_len_wdata(&mut self) -> SLC0_LEN_WDATA_W<_0_LEN_CONF_SPEC> { SLC0_LEN_WDATA_W::new(self, 0) } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn slc0_len_wr(&mut self) -> SLC0_LEN_WR_W<_0_LEN_CONF_SPEC> { SLC0_LEN_WR_W::new(self, 20) } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn slc0_len_inc(&mut self) -> SLC0_LEN_INC_W<_0_LEN_CONF_SPEC> { SLC0_LEN_INC_W::new(self, 21) } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn slc0_len_inc_more(&mut self) -> SLC0_LEN_INC_MORE_W<_0_LEN_CONF_SPEC> { SLC0_LEN_INC_MORE_W::new(self, 22) } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn slc0_rx_packet_load_en(&mut self) -> SLC0_RX_PACKET_LOAD_EN_W<_0_LEN_CONF_SPEC> { SLC0_RX_PACKET_LOAD_EN_W::new(self, 23) } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn slc0_tx_packet_load_en(&mut self) -> SLC0_TX_PACKET_LOAD_EN_W<_0_LEN_CONF_SPEC> { SLC0_TX_PACKET_LOAD_EN_W::new(self, 24) } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn slc0_rx_get_used_dscr(&mut self) -> SLC0_RX_GET_USED_DSCR_W<_0_LEN_CONF_SPEC> { SLC0_RX_GET_USED_DSCR_W::new(self, 25) } #[doc = "Bit 26"] #[inline(always)] - #[must_use] pub fn slc0_tx_get_used_dscr(&mut self) -> SLC0_TX_GET_USED_DSCR_W<_0_LEN_CONF_SPEC> { SLC0_TX_GET_USED_DSCR_W::new(self, 26) } diff --git a/esp32/src/slc/_0_len_lim_conf.rs b/esp32/src/slc/_0_len_lim_conf.rs index 474addbd26..088ce87c57 100644 --- a/esp32/src/slc/_0_len_lim_conf.rs +++ b/esp32/src/slc/_0_len_lim_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19"] #[inline(always)] - #[must_use] pub fn slc0_len_lim(&mut self) -> SLC0_LEN_LIM_W<_0_LEN_LIM_CONF_SPEC> { SLC0_LEN_LIM_W::new(self, 0) } diff --git a/esp32/src/slc/_0_rxpkt_e_dscr.rs b/esp32/src/slc/_0_rxpkt_e_dscr.rs index ba44fb6521..c32adf19ea 100644 --- a/esp32/src/slc/_0_rxpkt_e_dscr.rs +++ b/esp32/src/slc/_0_rxpkt_e_dscr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn slc0_rx_pkt_e_dscr_addr(&mut self) -> SLC0_RX_PKT_E_DSCR_ADDR_W<_0_RXPKT_E_DSCR_SPEC> { SLC0_RX_PKT_E_DSCR_ADDR_W::new(self, 0) } diff --git a/esp32/src/slc/_0_rxpkt_h_dscr.rs b/esp32/src/slc/_0_rxpkt_h_dscr.rs index 22716b6b04..ca60689c00 100644 --- a/esp32/src/slc/_0_rxpkt_h_dscr.rs +++ b/esp32/src/slc/_0_rxpkt_h_dscr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn slc0_rx_pkt_h_dscr_addr(&mut self) -> SLC0_RX_PKT_H_DSCR_ADDR_W<_0_RXPKT_H_DSCR_SPEC> { SLC0_RX_PKT_H_DSCR_ADDR_W::new(self, 0) } diff --git a/esp32/src/slc/_0_txpkt_e_dscr.rs b/esp32/src/slc/_0_txpkt_e_dscr.rs index c33eb60a69..7175428b9a 100644 --- a/esp32/src/slc/_0_txpkt_e_dscr.rs +++ b/esp32/src/slc/_0_txpkt_e_dscr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn slc0_tx_pkt_e_dscr_addr(&mut self) -> SLC0_TX_PKT_E_DSCR_ADDR_W<_0_TXPKT_E_DSCR_SPEC> { SLC0_TX_PKT_E_DSCR_ADDR_W::new(self, 0) } diff --git a/esp32/src/slc/_0_txpkt_h_dscr.rs b/esp32/src/slc/_0_txpkt_h_dscr.rs index 15054ae90f..8e38ff0281 100644 --- a/esp32/src/slc/_0_txpkt_h_dscr.rs +++ b/esp32/src/slc/_0_txpkt_h_dscr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn slc0_tx_pkt_h_dscr_addr(&mut self) -> SLC0_TX_PKT_H_DSCR_ADDR_W<_0_TXPKT_H_DSCR_SPEC> { SLC0_TX_PKT_H_DSCR_ADDR_W::new(self, 0) } diff --git a/esp32/src/slc/_0int_clr.rs b/esp32/src/slc/_0int_clr.rs index 6c9523655d..46991c9b7e 100644 --- a/esp32/src/slc/_0int_clr.rs +++ b/esp32/src/slc/_0int_clr.rs @@ -63,163 +63,136 @@ impl core::fmt::Debug for crate::generic::Reg<_0INT_CLR_SPEC> { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn frhost_bit0_int_clr(&mut self) -> FRHOST_BIT0_INT_CLR_W<_0INT_CLR_SPEC> { FRHOST_BIT0_INT_CLR_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn frhost_bit1_int_clr(&mut self) -> FRHOST_BIT1_INT_CLR_W<_0INT_CLR_SPEC> { FRHOST_BIT1_INT_CLR_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn frhost_bit2_int_clr(&mut self) -> FRHOST_BIT2_INT_CLR_W<_0INT_CLR_SPEC> { FRHOST_BIT2_INT_CLR_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn frhost_bit3_int_clr(&mut self) -> FRHOST_BIT3_INT_CLR_W<_0INT_CLR_SPEC> { FRHOST_BIT3_INT_CLR_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn frhost_bit4_int_clr(&mut self) -> FRHOST_BIT4_INT_CLR_W<_0INT_CLR_SPEC> { FRHOST_BIT4_INT_CLR_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn frhost_bit5_int_clr(&mut self) -> FRHOST_BIT5_INT_CLR_W<_0INT_CLR_SPEC> { FRHOST_BIT5_INT_CLR_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn frhost_bit6_int_clr(&mut self) -> FRHOST_BIT6_INT_CLR_W<_0INT_CLR_SPEC> { FRHOST_BIT6_INT_CLR_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn frhost_bit7_int_clr(&mut self) -> FRHOST_BIT7_INT_CLR_W<_0INT_CLR_SPEC> { FRHOST_BIT7_INT_CLR_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn slc0_rx_start_int_clr(&mut self) -> SLC0_RX_START_INT_CLR_W<_0INT_CLR_SPEC> { SLC0_RX_START_INT_CLR_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn slc0_tx_start_int_clr(&mut self) -> SLC0_TX_START_INT_CLR_W<_0INT_CLR_SPEC> { SLC0_TX_START_INT_CLR_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn slc0_rx_udf_int_clr(&mut self) -> SLC0_RX_UDF_INT_CLR_W<_0INT_CLR_SPEC> { SLC0_RX_UDF_INT_CLR_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn slc0_tx_ovf_int_clr(&mut self) -> SLC0_TX_OVF_INT_CLR_W<_0INT_CLR_SPEC> { SLC0_TX_OVF_INT_CLR_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn slc0_token0_1to0_int_clr(&mut self) -> SLC0_TOKEN0_1TO0_INT_CLR_W<_0INT_CLR_SPEC> { SLC0_TOKEN0_1TO0_INT_CLR_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn slc0_token1_1to0_int_clr(&mut self) -> SLC0_TOKEN1_1TO0_INT_CLR_W<_0INT_CLR_SPEC> { SLC0_TOKEN1_1TO0_INT_CLR_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn slc0_tx_done_int_clr(&mut self) -> SLC0_TX_DONE_INT_CLR_W<_0INT_CLR_SPEC> { SLC0_TX_DONE_INT_CLR_W::new(self, 14) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn slc0_tx_suc_eof_int_clr(&mut self) -> SLC0_TX_SUC_EOF_INT_CLR_W<_0INT_CLR_SPEC> { SLC0_TX_SUC_EOF_INT_CLR_W::new(self, 15) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn slc0_rx_done_int_clr(&mut self) -> SLC0_RX_DONE_INT_CLR_W<_0INT_CLR_SPEC> { SLC0_RX_DONE_INT_CLR_W::new(self, 16) } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn slc0_rx_eof_int_clr(&mut self) -> SLC0_RX_EOF_INT_CLR_W<_0INT_CLR_SPEC> { SLC0_RX_EOF_INT_CLR_W::new(self, 17) } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn slc0_tohost_int_clr(&mut self) -> SLC0_TOHOST_INT_CLR_W<_0INT_CLR_SPEC> { SLC0_TOHOST_INT_CLR_W::new(self, 18) } #[doc = "Bit 19"] #[inline(always)] - #[must_use] pub fn slc0_tx_dscr_err_int_clr(&mut self) -> SLC0_TX_DSCR_ERR_INT_CLR_W<_0INT_CLR_SPEC> { SLC0_TX_DSCR_ERR_INT_CLR_W::new(self, 19) } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn slc0_rx_dscr_err_int_clr(&mut self) -> SLC0_RX_DSCR_ERR_INT_CLR_W<_0INT_CLR_SPEC> { SLC0_RX_DSCR_ERR_INT_CLR_W::new(self, 20) } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn slc0_tx_dscr_empty_int_clr(&mut self) -> SLC0_TX_DSCR_EMPTY_INT_CLR_W<_0INT_CLR_SPEC> { SLC0_TX_DSCR_EMPTY_INT_CLR_W::new(self, 21) } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn slc0_host_rd_ack_int_clr(&mut self) -> SLC0_HOST_RD_ACK_INT_CLR_W<_0INT_CLR_SPEC> { SLC0_HOST_RD_ACK_INT_CLR_W::new(self, 22) } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn slc0_wr_retry_done_int_clr(&mut self) -> SLC0_WR_RETRY_DONE_INT_CLR_W<_0INT_CLR_SPEC> { SLC0_WR_RETRY_DONE_INT_CLR_W::new(self, 23) } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn slc0_tx_err_eof_int_clr(&mut self) -> SLC0_TX_ERR_EOF_INT_CLR_W<_0INT_CLR_SPEC> { SLC0_TX_ERR_EOF_INT_CLR_W::new(self, 24) } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn cmd_dtc_int_clr(&mut self) -> CMD_DTC_INT_CLR_W<_0INT_CLR_SPEC> { CMD_DTC_INT_CLR_W::new(self, 25) } #[doc = "Bit 26"] #[inline(always)] - #[must_use] pub fn slc0_rx_quick_eof_int_clr(&mut self) -> SLC0_RX_QUICK_EOF_INT_CLR_W<_0INT_CLR_SPEC> { SLC0_RX_QUICK_EOF_INT_CLR_W::new(self, 26) } diff --git a/esp32/src/slc/_0int_ena.rs b/esp32/src/slc/_0int_ena.rs index d3929a9207..0617f36d38 100644 --- a/esp32/src/slc/_0int_ena.rs +++ b/esp32/src/slc/_0int_ena.rs @@ -293,163 +293,136 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn frhost_bit0_int_ena(&mut self) -> FRHOST_BIT0_INT_ENA_W<_0INT_ENA_SPEC> { FRHOST_BIT0_INT_ENA_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn frhost_bit1_int_ena(&mut self) -> FRHOST_BIT1_INT_ENA_W<_0INT_ENA_SPEC> { FRHOST_BIT1_INT_ENA_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn frhost_bit2_int_ena(&mut self) -> FRHOST_BIT2_INT_ENA_W<_0INT_ENA_SPEC> { FRHOST_BIT2_INT_ENA_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn frhost_bit3_int_ena(&mut self) -> FRHOST_BIT3_INT_ENA_W<_0INT_ENA_SPEC> { FRHOST_BIT3_INT_ENA_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn frhost_bit4_int_ena(&mut self) -> FRHOST_BIT4_INT_ENA_W<_0INT_ENA_SPEC> { FRHOST_BIT4_INT_ENA_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn frhost_bit5_int_ena(&mut self) -> FRHOST_BIT5_INT_ENA_W<_0INT_ENA_SPEC> { FRHOST_BIT5_INT_ENA_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn frhost_bit6_int_ena(&mut self) -> FRHOST_BIT6_INT_ENA_W<_0INT_ENA_SPEC> { FRHOST_BIT6_INT_ENA_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn frhost_bit7_int_ena(&mut self) -> FRHOST_BIT7_INT_ENA_W<_0INT_ENA_SPEC> { FRHOST_BIT7_INT_ENA_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn slc0_rx_start_int_ena(&mut self) -> SLC0_RX_START_INT_ENA_W<_0INT_ENA_SPEC> { SLC0_RX_START_INT_ENA_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn slc0_tx_start_int_ena(&mut self) -> SLC0_TX_START_INT_ENA_W<_0INT_ENA_SPEC> { SLC0_TX_START_INT_ENA_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn slc0_rx_udf_int_ena(&mut self) -> SLC0_RX_UDF_INT_ENA_W<_0INT_ENA_SPEC> { SLC0_RX_UDF_INT_ENA_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn slc0_tx_ovf_int_ena(&mut self) -> SLC0_TX_OVF_INT_ENA_W<_0INT_ENA_SPEC> { SLC0_TX_OVF_INT_ENA_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn slc0_token0_1to0_int_ena(&mut self) -> SLC0_TOKEN0_1TO0_INT_ENA_W<_0INT_ENA_SPEC> { SLC0_TOKEN0_1TO0_INT_ENA_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn slc0_token1_1to0_int_ena(&mut self) -> SLC0_TOKEN1_1TO0_INT_ENA_W<_0INT_ENA_SPEC> { SLC0_TOKEN1_1TO0_INT_ENA_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn slc0_tx_done_int_ena(&mut self) -> SLC0_TX_DONE_INT_ENA_W<_0INT_ENA_SPEC> { SLC0_TX_DONE_INT_ENA_W::new(self, 14) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn slc0_tx_suc_eof_int_ena(&mut self) -> SLC0_TX_SUC_EOF_INT_ENA_W<_0INT_ENA_SPEC> { SLC0_TX_SUC_EOF_INT_ENA_W::new(self, 15) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn slc0_rx_done_int_ena(&mut self) -> SLC0_RX_DONE_INT_ENA_W<_0INT_ENA_SPEC> { SLC0_RX_DONE_INT_ENA_W::new(self, 16) } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn slc0_rx_eof_int_ena(&mut self) -> SLC0_RX_EOF_INT_ENA_W<_0INT_ENA_SPEC> { SLC0_RX_EOF_INT_ENA_W::new(self, 17) } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn slc0_tohost_int_ena(&mut self) -> SLC0_TOHOST_INT_ENA_W<_0INT_ENA_SPEC> { SLC0_TOHOST_INT_ENA_W::new(self, 18) } #[doc = "Bit 19"] #[inline(always)] - #[must_use] pub fn slc0_tx_dscr_err_int_ena(&mut self) -> SLC0_TX_DSCR_ERR_INT_ENA_W<_0INT_ENA_SPEC> { SLC0_TX_DSCR_ERR_INT_ENA_W::new(self, 19) } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn slc0_rx_dscr_err_int_ena(&mut self) -> SLC0_RX_DSCR_ERR_INT_ENA_W<_0INT_ENA_SPEC> { SLC0_RX_DSCR_ERR_INT_ENA_W::new(self, 20) } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn slc0_tx_dscr_empty_int_ena(&mut self) -> SLC0_TX_DSCR_EMPTY_INT_ENA_W<_0INT_ENA_SPEC> { SLC0_TX_DSCR_EMPTY_INT_ENA_W::new(self, 21) } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn slc0_host_rd_ack_int_ena(&mut self) -> SLC0_HOST_RD_ACK_INT_ENA_W<_0INT_ENA_SPEC> { SLC0_HOST_RD_ACK_INT_ENA_W::new(self, 22) } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn slc0_wr_retry_done_int_ena(&mut self) -> SLC0_WR_RETRY_DONE_INT_ENA_W<_0INT_ENA_SPEC> { SLC0_WR_RETRY_DONE_INT_ENA_W::new(self, 23) } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn slc0_tx_err_eof_int_ena(&mut self) -> SLC0_TX_ERR_EOF_INT_ENA_W<_0INT_ENA_SPEC> { SLC0_TX_ERR_EOF_INT_ENA_W::new(self, 24) } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn cmd_dtc_int_ena(&mut self) -> CMD_DTC_INT_ENA_W<_0INT_ENA_SPEC> { CMD_DTC_INT_ENA_W::new(self, 25) } #[doc = "Bit 26"] #[inline(always)] - #[must_use] pub fn slc0_rx_quick_eof_int_ena(&mut self) -> SLC0_RX_QUICK_EOF_INT_ENA_W<_0INT_ENA_SPEC> { SLC0_RX_QUICK_EOF_INT_ENA_W::new(self, 26) } diff --git a/esp32/src/slc/_0int_ena1.rs b/esp32/src/slc/_0int_ena1.rs index cedbf9b1ba..a73d837bf2 100644 --- a/esp32/src/slc/_0int_ena1.rs +++ b/esp32/src/slc/_0int_ena1.rs @@ -308,133 +308,111 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn frhost_bit0_int_ena1(&mut self) -> FRHOST_BIT0_INT_ENA1_W<_0INT_ENA1_SPEC> { FRHOST_BIT0_INT_ENA1_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn frhost_bit1_int_ena1(&mut self) -> FRHOST_BIT1_INT_ENA1_W<_0INT_ENA1_SPEC> { FRHOST_BIT1_INT_ENA1_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn frhost_bit2_int_ena1(&mut self) -> FRHOST_BIT2_INT_ENA1_W<_0INT_ENA1_SPEC> { FRHOST_BIT2_INT_ENA1_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn frhost_bit3_int_ena1(&mut self) -> FRHOST_BIT3_INT_ENA1_W<_0INT_ENA1_SPEC> { FRHOST_BIT3_INT_ENA1_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn frhost_bit4_int_ena1(&mut self) -> FRHOST_BIT4_INT_ENA1_W<_0INT_ENA1_SPEC> { FRHOST_BIT4_INT_ENA1_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn frhost_bit5_int_ena1(&mut self) -> FRHOST_BIT5_INT_ENA1_W<_0INT_ENA1_SPEC> { FRHOST_BIT5_INT_ENA1_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn frhost_bit6_int_ena1(&mut self) -> FRHOST_BIT6_INT_ENA1_W<_0INT_ENA1_SPEC> { FRHOST_BIT6_INT_ENA1_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn frhost_bit7_int_ena1(&mut self) -> FRHOST_BIT7_INT_ENA1_W<_0INT_ENA1_SPEC> { FRHOST_BIT7_INT_ENA1_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn slc0_rx_start_int_ena1(&mut self) -> SLC0_RX_START_INT_ENA1_W<_0INT_ENA1_SPEC> { SLC0_RX_START_INT_ENA1_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn slc0_tx_start_int_ena1(&mut self) -> SLC0_TX_START_INT_ENA1_W<_0INT_ENA1_SPEC> { SLC0_TX_START_INT_ENA1_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn slc0_rx_udf_int_ena1(&mut self) -> SLC0_RX_UDF_INT_ENA1_W<_0INT_ENA1_SPEC> { SLC0_RX_UDF_INT_ENA1_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn slc0_tx_ovf_int_ena1(&mut self) -> SLC0_TX_OVF_INT_ENA1_W<_0INT_ENA1_SPEC> { SLC0_TX_OVF_INT_ENA1_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn slc0_token0_1to0_int_ena1(&mut self) -> SLC0_TOKEN0_1TO0_INT_ENA1_W<_0INT_ENA1_SPEC> { SLC0_TOKEN0_1TO0_INT_ENA1_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn slc0_token1_1to0_int_ena1(&mut self) -> SLC0_TOKEN1_1TO0_INT_ENA1_W<_0INT_ENA1_SPEC> { SLC0_TOKEN1_1TO0_INT_ENA1_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn slc0_tx_done_int_ena1(&mut self) -> SLC0_TX_DONE_INT_ENA1_W<_0INT_ENA1_SPEC> { SLC0_TX_DONE_INT_ENA1_W::new(self, 14) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn slc0_tx_suc_eof_int_ena1(&mut self) -> SLC0_TX_SUC_EOF_INT_ENA1_W<_0INT_ENA1_SPEC> { SLC0_TX_SUC_EOF_INT_ENA1_W::new(self, 15) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn slc0_rx_done_int_ena1(&mut self) -> SLC0_RX_DONE_INT_ENA1_W<_0INT_ENA1_SPEC> { SLC0_RX_DONE_INT_ENA1_W::new(self, 16) } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn slc0_rx_eof_int_ena1(&mut self) -> SLC0_RX_EOF_INT_ENA1_W<_0INT_ENA1_SPEC> { SLC0_RX_EOF_INT_ENA1_W::new(self, 17) } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn slc0_tohost_int_ena1(&mut self) -> SLC0_TOHOST_INT_ENA1_W<_0INT_ENA1_SPEC> { SLC0_TOHOST_INT_ENA1_W::new(self, 18) } #[doc = "Bit 19"] #[inline(always)] - #[must_use] pub fn slc0_tx_dscr_err_int_ena1(&mut self) -> SLC0_TX_DSCR_ERR_INT_ENA1_W<_0INT_ENA1_SPEC> { SLC0_TX_DSCR_ERR_INT_ENA1_W::new(self, 19) } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn slc0_rx_dscr_err_int_ena1(&mut self) -> SLC0_RX_DSCR_ERR_INT_ENA1_W<_0INT_ENA1_SPEC> { SLC0_RX_DSCR_ERR_INT_ENA1_W::new(self, 20) } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn slc0_tx_dscr_empty_int_ena1( &mut self, ) -> SLC0_TX_DSCR_EMPTY_INT_ENA1_W<_0INT_ENA1_SPEC> { @@ -442,13 +420,11 @@ impl W { } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn slc0_host_rd_ack_int_ena1(&mut self) -> SLC0_HOST_RD_ACK_INT_ENA1_W<_0INT_ENA1_SPEC> { SLC0_HOST_RD_ACK_INT_ENA1_W::new(self, 22) } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn slc0_wr_retry_done_int_ena1( &mut self, ) -> SLC0_WR_RETRY_DONE_INT_ENA1_W<_0INT_ENA1_SPEC> { @@ -456,19 +432,16 @@ impl W { } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn slc0_tx_err_eof_int_ena1(&mut self) -> SLC0_TX_ERR_EOF_INT_ENA1_W<_0INT_ENA1_SPEC> { SLC0_TX_ERR_EOF_INT_ENA1_W::new(self, 24) } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn cmd_dtc_int_ena1(&mut self) -> CMD_DTC_INT_ENA1_W<_0INT_ENA1_SPEC> { CMD_DTC_INT_ENA1_W::new(self, 25) } #[doc = "Bit 26"] #[inline(always)] - #[must_use] pub fn slc0_rx_quick_eof_int_ena1(&mut self) -> SLC0_RX_QUICK_EOF_INT_ENA1_W<_0INT_ENA1_SPEC> { SLC0_RX_QUICK_EOF_INT_ENA1_W::new(self, 26) } diff --git a/esp32/src/slc/_0rx_link.rs b/esp32/src/slc/_0rx_link.rs index 63446bd7a8..2be82c7b9f 100644 --- a/esp32/src/slc/_0rx_link.rs +++ b/esp32/src/slc/_0rx_link.rs @@ -62,25 +62,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19"] #[inline(always)] - #[must_use] pub fn slc0_rxlink_addr(&mut self) -> SLC0_RXLINK_ADDR_W<_0RX_LINK_SPEC> { SLC0_RXLINK_ADDR_W::new(self, 0) } #[doc = "Bit 28"] #[inline(always)] - #[must_use] pub fn slc0_rxlink_stop(&mut self) -> SLC0_RXLINK_STOP_W<_0RX_LINK_SPEC> { SLC0_RXLINK_STOP_W::new(self, 28) } #[doc = "Bit 29"] #[inline(always)] - #[must_use] pub fn slc0_rxlink_start(&mut self) -> SLC0_RXLINK_START_W<_0RX_LINK_SPEC> { SLC0_RXLINK_START_W::new(self, 29) } #[doc = "Bit 30"] #[inline(always)] - #[must_use] pub fn slc0_rxlink_restart(&mut self) -> SLC0_RXLINK_RESTART_W<_0RX_LINK_SPEC> { SLC0_RXLINK_RESTART_W::new(self, 30) } diff --git a/esp32/src/slc/_0rxfifo_push.rs b/esp32/src/slc/_0rxfifo_push.rs index 7a86e2f0fc..a48f234a88 100644 --- a/esp32/src/slc/_0rxfifo_push.rs +++ b/esp32/src/slc/_0rxfifo_push.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8"] #[inline(always)] - #[must_use] pub fn slc0_rxfifo_wdata(&mut self) -> SLC0_RXFIFO_WDATA_W<_0RXFIFO_PUSH_SPEC> { SLC0_RXFIFO_WDATA_W::new(self, 0) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn slc0_rxfifo_push(&mut self) -> SLC0_RXFIFO_PUSH_W<_0RXFIFO_PUSH_SPEC> { SLC0_RXFIFO_PUSH_W::new(self, 16) } diff --git a/esp32/src/slc/_0token0.rs b/esp32/src/slc/_0token0.rs index 171ad26489..3012ca72a2 100644 --- a/esp32/src/slc/_0token0.rs +++ b/esp32/src/slc/_0token0.rs @@ -30,25 +30,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11"] #[inline(always)] - #[must_use] pub fn slc0_token0_wdata(&mut self) -> SLC0_TOKEN0_WDATA_W<_0TOKEN0_SPEC> { SLC0_TOKEN0_WDATA_W::new(self, 0) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn slc0_token0_wr(&mut self) -> SLC0_TOKEN0_WR_W<_0TOKEN0_SPEC> { SLC0_TOKEN0_WR_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn slc0_token0_inc(&mut self) -> SLC0_TOKEN0_INC_W<_0TOKEN0_SPEC> { SLC0_TOKEN0_INC_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn slc0_token0_inc_more(&mut self) -> SLC0_TOKEN0_INC_MORE_W<_0TOKEN0_SPEC> { SLC0_TOKEN0_INC_MORE_W::new(self, 14) } diff --git a/esp32/src/slc/_0token1.rs b/esp32/src/slc/_0token1.rs index df081035cf..00f6e5fbb6 100644 --- a/esp32/src/slc/_0token1.rs +++ b/esp32/src/slc/_0token1.rs @@ -30,25 +30,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11"] #[inline(always)] - #[must_use] pub fn slc0_token1_wdata(&mut self) -> SLC0_TOKEN1_WDATA_W<_0TOKEN1_SPEC> { SLC0_TOKEN1_WDATA_W::new(self, 0) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn slc0_token1_wr(&mut self) -> SLC0_TOKEN1_WR_W<_0TOKEN1_SPEC> { SLC0_TOKEN1_WR_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn slc0_token1_inc(&mut self) -> SLC0_TOKEN1_INC_W<_0TOKEN1_SPEC> { SLC0_TOKEN1_INC_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn slc0_token1_inc_more(&mut self) -> SLC0_TOKEN1_INC_MORE_W<_0TOKEN1_SPEC> { SLC0_TOKEN1_INC_MORE_W::new(self, 14) } diff --git a/esp32/src/slc/_0tx_link.rs b/esp32/src/slc/_0tx_link.rs index 1fdfc20f43..e02bce39fd 100644 --- a/esp32/src/slc/_0tx_link.rs +++ b/esp32/src/slc/_0tx_link.rs @@ -62,25 +62,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19"] #[inline(always)] - #[must_use] pub fn slc0_txlink_addr(&mut self) -> SLC0_TXLINK_ADDR_W<_0TX_LINK_SPEC> { SLC0_TXLINK_ADDR_W::new(self, 0) } #[doc = "Bit 28"] #[inline(always)] - #[must_use] pub fn slc0_txlink_stop(&mut self) -> SLC0_TXLINK_STOP_W<_0TX_LINK_SPEC> { SLC0_TXLINK_STOP_W::new(self, 28) } #[doc = "Bit 29"] #[inline(always)] - #[must_use] pub fn slc0_txlink_start(&mut self) -> SLC0_TXLINK_START_W<_0TX_LINK_SPEC> { SLC0_TXLINK_START_W::new(self, 29) } #[doc = "Bit 30"] #[inline(always)] - #[must_use] pub fn slc0_txlink_restart(&mut self) -> SLC0_TXLINK_RESTART_W<_0TX_LINK_SPEC> { SLC0_TXLINK_RESTART_W::new(self, 30) } diff --git a/esp32/src/slc/_0txfifo_pop.rs b/esp32/src/slc/_0txfifo_pop.rs index 7eafe87f88..ae480ce35d 100644 --- a/esp32/src/slc/_0txfifo_pop.rs +++ b/esp32/src/slc/_0txfifo_pop.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn slc0_txfifo_pop(&mut self) -> SLC0_TXFIFO_POP_W<_0TXFIFO_POP_SPEC> { SLC0_TXFIFO_POP_W::new(self, 16) } diff --git a/esp32/src/slc/_1int_clr.rs b/esp32/src/slc/_1int_clr.rs index 8a0e39456b..b95c87e6b9 100644 --- a/esp32/src/slc/_1int_clr.rs +++ b/esp32/src/slc/_1int_clr.rs @@ -59,151 +59,126 @@ impl core::fmt::Debug for crate::generic::Reg<_1INT_CLR_SPEC> { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn frhost_bit8_int_clr(&mut self) -> FRHOST_BIT8_INT_CLR_W<_1INT_CLR_SPEC> { FRHOST_BIT8_INT_CLR_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn frhost_bit9_int_clr(&mut self) -> FRHOST_BIT9_INT_CLR_W<_1INT_CLR_SPEC> { FRHOST_BIT9_INT_CLR_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn frhost_bit10_int_clr(&mut self) -> FRHOST_BIT10_INT_CLR_W<_1INT_CLR_SPEC> { FRHOST_BIT10_INT_CLR_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn frhost_bit11_int_clr(&mut self) -> FRHOST_BIT11_INT_CLR_W<_1INT_CLR_SPEC> { FRHOST_BIT11_INT_CLR_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn frhost_bit12_int_clr(&mut self) -> FRHOST_BIT12_INT_CLR_W<_1INT_CLR_SPEC> { FRHOST_BIT12_INT_CLR_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn frhost_bit13_int_clr(&mut self) -> FRHOST_BIT13_INT_CLR_W<_1INT_CLR_SPEC> { FRHOST_BIT13_INT_CLR_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn frhost_bit14_int_clr(&mut self) -> FRHOST_BIT14_INT_CLR_W<_1INT_CLR_SPEC> { FRHOST_BIT14_INT_CLR_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn frhost_bit15_int_clr(&mut self) -> FRHOST_BIT15_INT_CLR_W<_1INT_CLR_SPEC> { FRHOST_BIT15_INT_CLR_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn slc1_rx_start_int_clr(&mut self) -> SLC1_RX_START_INT_CLR_W<_1INT_CLR_SPEC> { SLC1_RX_START_INT_CLR_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn slc1_tx_start_int_clr(&mut self) -> SLC1_TX_START_INT_CLR_W<_1INT_CLR_SPEC> { SLC1_TX_START_INT_CLR_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn slc1_rx_udf_int_clr(&mut self) -> SLC1_RX_UDF_INT_CLR_W<_1INT_CLR_SPEC> { SLC1_RX_UDF_INT_CLR_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn slc1_tx_ovf_int_clr(&mut self) -> SLC1_TX_OVF_INT_CLR_W<_1INT_CLR_SPEC> { SLC1_TX_OVF_INT_CLR_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn slc1_token0_1to0_int_clr(&mut self) -> SLC1_TOKEN0_1TO0_INT_CLR_W<_1INT_CLR_SPEC> { SLC1_TOKEN0_1TO0_INT_CLR_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn slc1_token1_1to0_int_clr(&mut self) -> SLC1_TOKEN1_1TO0_INT_CLR_W<_1INT_CLR_SPEC> { SLC1_TOKEN1_1TO0_INT_CLR_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn slc1_tx_done_int_clr(&mut self) -> SLC1_TX_DONE_INT_CLR_W<_1INT_CLR_SPEC> { SLC1_TX_DONE_INT_CLR_W::new(self, 14) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn slc1_tx_suc_eof_int_clr(&mut self) -> SLC1_TX_SUC_EOF_INT_CLR_W<_1INT_CLR_SPEC> { SLC1_TX_SUC_EOF_INT_CLR_W::new(self, 15) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn slc1_rx_done_int_clr(&mut self) -> SLC1_RX_DONE_INT_CLR_W<_1INT_CLR_SPEC> { SLC1_RX_DONE_INT_CLR_W::new(self, 16) } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn slc1_rx_eof_int_clr(&mut self) -> SLC1_RX_EOF_INT_CLR_W<_1INT_CLR_SPEC> { SLC1_RX_EOF_INT_CLR_W::new(self, 17) } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn slc1_tohost_int_clr(&mut self) -> SLC1_TOHOST_INT_CLR_W<_1INT_CLR_SPEC> { SLC1_TOHOST_INT_CLR_W::new(self, 18) } #[doc = "Bit 19"] #[inline(always)] - #[must_use] pub fn slc1_tx_dscr_err_int_clr(&mut self) -> SLC1_TX_DSCR_ERR_INT_CLR_W<_1INT_CLR_SPEC> { SLC1_TX_DSCR_ERR_INT_CLR_W::new(self, 19) } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn slc1_rx_dscr_err_int_clr(&mut self) -> SLC1_RX_DSCR_ERR_INT_CLR_W<_1INT_CLR_SPEC> { SLC1_RX_DSCR_ERR_INT_CLR_W::new(self, 20) } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn slc1_tx_dscr_empty_int_clr(&mut self) -> SLC1_TX_DSCR_EMPTY_INT_CLR_W<_1INT_CLR_SPEC> { SLC1_TX_DSCR_EMPTY_INT_CLR_W::new(self, 21) } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn slc1_host_rd_ack_int_clr(&mut self) -> SLC1_HOST_RD_ACK_INT_CLR_W<_1INT_CLR_SPEC> { SLC1_HOST_RD_ACK_INT_CLR_W::new(self, 22) } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn slc1_wr_retry_done_int_clr(&mut self) -> SLC1_WR_RETRY_DONE_INT_CLR_W<_1INT_CLR_SPEC> { SLC1_WR_RETRY_DONE_INT_CLR_W::new(self, 23) } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn slc1_tx_err_eof_int_clr(&mut self) -> SLC1_TX_ERR_EOF_INT_CLR_W<_1INT_CLR_SPEC> { SLC1_TX_ERR_EOF_INT_CLR_W::new(self, 24) } diff --git a/esp32/src/slc/_1int_ena.rs b/esp32/src/slc/_1int_ena.rs index 997e1fd0b7..9243946f13 100644 --- a/esp32/src/slc/_1int_ena.rs +++ b/esp32/src/slc/_1int_ena.rs @@ -270,151 +270,126 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn frhost_bit8_int_ena(&mut self) -> FRHOST_BIT8_INT_ENA_W<_1INT_ENA_SPEC> { FRHOST_BIT8_INT_ENA_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn frhost_bit9_int_ena(&mut self) -> FRHOST_BIT9_INT_ENA_W<_1INT_ENA_SPEC> { FRHOST_BIT9_INT_ENA_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn frhost_bit10_int_ena(&mut self) -> FRHOST_BIT10_INT_ENA_W<_1INT_ENA_SPEC> { FRHOST_BIT10_INT_ENA_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn frhost_bit11_int_ena(&mut self) -> FRHOST_BIT11_INT_ENA_W<_1INT_ENA_SPEC> { FRHOST_BIT11_INT_ENA_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn frhost_bit12_int_ena(&mut self) -> FRHOST_BIT12_INT_ENA_W<_1INT_ENA_SPEC> { FRHOST_BIT12_INT_ENA_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn frhost_bit13_int_ena(&mut self) -> FRHOST_BIT13_INT_ENA_W<_1INT_ENA_SPEC> { FRHOST_BIT13_INT_ENA_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn frhost_bit14_int_ena(&mut self) -> FRHOST_BIT14_INT_ENA_W<_1INT_ENA_SPEC> { FRHOST_BIT14_INT_ENA_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn frhost_bit15_int_ena(&mut self) -> FRHOST_BIT15_INT_ENA_W<_1INT_ENA_SPEC> { FRHOST_BIT15_INT_ENA_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn slc1_rx_start_int_ena(&mut self) -> SLC1_RX_START_INT_ENA_W<_1INT_ENA_SPEC> { SLC1_RX_START_INT_ENA_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn slc1_tx_start_int_ena(&mut self) -> SLC1_TX_START_INT_ENA_W<_1INT_ENA_SPEC> { SLC1_TX_START_INT_ENA_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn slc1_rx_udf_int_ena(&mut self) -> SLC1_RX_UDF_INT_ENA_W<_1INT_ENA_SPEC> { SLC1_RX_UDF_INT_ENA_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn slc1_tx_ovf_int_ena(&mut self) -> SLC1_TX_OVF_INT_ENA_W<_1INT_ENA_SPEC> { SLC1_TX_OVF_INT_ENA_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn slc1_token0_1to0_int_ena(&mut self) -> SLC1_TOKEN0_1TO0_INT_ENA_W<_1INT_ENA_SPEC> { SLC1_TOKEN0_1TO0_INT_ENA_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn slc1_token1_1to0_int_ena(&mut self) -> SLC1_TOKEN1_1TO0_INT_ENA_W<_1INT_ENA_SPEC> { SLC1_TOKEN1_1TO0_INT_ENA_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn slc1_tx_done_int_ena(&mut self) -> SLC1_TX_DONE_INT_ENA_W<_1INT_ENA_SPEC> { SLC1_TX_DONE_INT_ENA_W::new(self, 14) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn slc1_tx_suc_eof_int_ena(&mut self) -> SLC1_TX_SUC_EOF_INT_ENA_W<_1INT_ENA_SPEC> { SLC1_TX_SUC_EOF_INT_ENA_W::new(self, 15) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn slc1_rx_done_int_ena(&mut self) -> SLC1_RX_DONE_INT_ENA_W<_1INT_ENA_SPEC> { SLC1_RX_DONE_INT_ENA_W::new(self, 16) } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn slc1_rx_eof_int_ena(&mut self) -> SLC1_RX_EOF_INT_ENA_W<_1INT_ENA_SPEC> { SLC1_RX_EOF_INT_ENA_W::new(self, 17) } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn slc1_tohost_int_ena(&mut self) -> SLC1_TOHOST_INT_ENA_W<_1INT_ENA_SPEC> { SLC1_TOHOST_INT_ENA_W::new(self, 18) } #[doc = "Bit 19"] #[inline(always)] - #[must_use] pub fn slc1_tx_dscr_err_int_ena(&mut self) -> SLC1_TX_DSCR_ERR_INT_ENA_W<_1INT_ENA_SPEC> { SLC1_TX_DSCR_ERR_INT_ENA_W::new(self, 19) } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn slc1_rx_dscr_err_int_ena(&mut self) -> SLC1_RX_DSCR_ERR_INT_ENA_W<_1INT_ENA_SPEC> { SLC1_RX_DSCR_ERR_INT_ENA_W::new(self, 20) } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn slc1_tx_dscr_empty_int_ena(&mut self) -> SLC1_TX_DSCR_EMPTY_INT_ENA_W<_1INT_ENA_SPEC> { SLC1_TX_DSCR_EMPTY_INT_ENA_W::new(self, 21) } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn slc1_host_rd_ack_int_ena(&mut self) -> SLC1_HOST_RD_ACK_INT_ENA_W<_1INT_ENA_SPEC> { SLC1_HOST_RD_ACK_INT_ENA_W::new(self, 22) } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn slc1_wr_retry_done_int_ena(&mut self) -> SLC1_WR_RETRY_DONE_INT_ENA_W<_1INT_ENA_SPEC> { SLC1_WR_RETRY_DONE_INT_ENA_W::new(self, 23) } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn slc1_tx_err_eof_int_ena(&mut self) -> SLC1_TX_ERR_EOF_INT_ENA_W<_1INT_ENA_SPEC> { SLC1_TX_ERR_EOF_INT_ENA_W::new(self, 24) } diff --git a/esp32/src/slc/_1int_ena1.rs b/esp32/src/slc/_1int_ena1.rs index e0d601d4b9..61fad62093 100644 --- a/esp32/src/slc/_1int_ena1.rs +++ b/esp32/src/slc/_1int_ena1.rs @@ -285,133 +285,111 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn frhost_bit8_int_ena1(&mut self) -> FRHOST_BIT8_INT_ENA1_W<_1INT_ENA1_SPEC> { FRHOST_BIT8_INT_ENA1_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn frhost_bit9_int_ena1(&mut self) -> FRHOST_BIT9_INT_ENA1_W<_1INT_ENA1_SPEC> { FRHOST_BIT9_INT_ENA1_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn frhost_bit10_int_ena1(&mut self) -> FRHOST_BIT10_INT_ENA1_W<_1INT_ENA1_SPEC> { FRHOST_BIT10_INT_ENA1_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn frhost_bit11_int_ena1(&mut self) -> FRHOST_BIT11_INT_ENA1_W<_1INT_ENA1_SPEC> { FRHOST_BIT11_INT_ENA1_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn frhost_bit12_int_ena1(&mut self) -> FRHOST_BIT12_INT_ENA1_W<_1INT_ENA1_SPEC> { FRHOST_BIT12_INT_ENA1_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn frhost_bit13_int_ena1(&mut self) -> FRHOST_BIT13_INT_ENA1_W<_1INT_ENA1_SPEC> { FRHOST_BIT13_INT_ENA1_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn frhost_bit14_int_ena1(&mut self) -> FRHOST_BIT14_INT_ENA1_W<_1INT_ENA1_SPEC> { FRHOST_BIT14_INT_ENA1_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn frhost_bit15_int_ena1(&mut self) -> FRHOST_BIT15_INT_ENA1_W<_1INT_ENA1_SPEC> { FRHOST_BIT15_INT_ENA1_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn slc1_rx_start_int_ena1(&mut self) -> SLC1_RX_START_INT_ENA1_W<_1INT_ENA1_SPEC> { SLC1_RX_START_INT_ENA1_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn slc1_tx_start_int_ena1(&mut self) -> SLC1_TX_START_INT_ENA1_W<_1INT_ENA1_SPEC> { SLC1_TX_START_INT_ENA1_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn slc1_rx_udf_int_ena1(&mut self) -> SLC1_RX_UDF_INT_ENA1_W<_1INT_ENA1_SPEC> { SLC1_RX_UDF_INT_ENA1_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn slc1_tx_ovf_int_ena1(&mut self) -> SLC1_TX_OVF_INT_ENA1_W<_1INT_ENA1_SPEC> { SLC1_TX_OVF_INT_ENA1_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn slc1_token0_1to0_int_ena1(&mut self) -> SLC1_TOKEN0_1TO0_INT_ENA1_W<_1INT_ENA1_SPEC> { SLC1_TOKEN0_1TO0_INT_ENA1_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn slc1_token1_1to0_int_ena1(&mut self) -> SLC1_TOKEN1_1TO0_INT_ENA1_W<_1INT_ENA1_SPEC> { SLC1_TOKEN1_1TO0_INT_ENA1_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn slc1_tx_done_int_ena1(&mut self) -> SLC1_TX_DONE_INT_ENA1_W<_1INT_ENA1_SPEC> { SLC1_TX_DONE_INT_ENA1_W::new(self, 14) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn slc1_tx_suc_eof_int_ena1(&mut self) -> SLC1_TX_SUC_EOF_INT_ENA1_W<_1INT_ENA1_SPEC> { SLC1_TX_SUC_EOF_INT_ENA1_W::new(self, 15) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn slc1_rx_done_int_ena1(&mut self) -> SLC1_RX_DONE_INT_ENA1_W<_1INT_ENA1_SPEC> { SLC1_RX_DONE_INT_ENA1_W::new(self, 16) } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn slc1_rx_eof_int_ena1(&mut self) -> SLC1_RX_EOF_INT_ENA1_W<_1INT_ENA1_SPEC> { SLC1_RX_EOF_INT_ENA1_W::new(self, 17) } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn slc1_tohost_int_ena1(&mut self) -> SLC1_TOHOST_INT_ENA1_W<_1INT_ENA1_SPEC> { SLC1_TOHOST_INT_ENA1_W::new(self, 18) } #[doc = "Bit 19"] #[inline(always)] - #[must_use] pub fn slc1_tx_dscr_err_int_ena1(&mut self) -> SLC1_TX_DSCR_ERR_INT_ENA1_W<_1INT_ENA1_SPEC> { SLC1_TX_DSCR_ERR_INT_ENA1_W::new(self, 19) } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn slc1_rx_dscr_err_int_ena1(&mut self) -> SLC1_RX_DSCR_ERR_INT_ENA1_W<_1INT_ENA1_SPEC> { SLC1_RX_DSCR_ERR_INT_ENA1_W::new(self, 20) } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn slc1_tx_dscr_empty_int_ena1( &mut self, ) -> SLC1_TX_DSCR_EMPTY_INT_ENA1_W<_1INT_ENA1_SPEC> { @@ -419,13 +397,11 @@ impl W { } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn slc1_host_rd_ack_int_ena1(&mut self) -> SLC1_HOST_RD_ACK_INT_ENA1_W<_1INT_ENA1_SPEC> { SLC1_HOST_RD_ACK_INT_ENA1_W::new(self, 22) } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn slc1_wr_retry_done_int_ena1( &mut self, ) -> SLC1_WR_RETRY_DONE_INT_ENA1_W<_1INT_ENA1_SPEC> { @@ -433,7 +409,6 @@ impl W { } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn slc1_tx_err_eof_int_ena1(&mut self) -> SLC1_TX_ERR_EOF_INT_ENA1_W<_1INT_ENA1_SPEC> { SLC1_TX_ERR_EOF_INT_ENA1_W::new(self, 24) } diff --git a/esp32/src/slc/_1rx_link.rs b/esp32/src/slc/_1rx_link.rs index 60e3d2c58e..d22c4d42ec 100644 --- a/esp32/src/slc/_1rx_link.rs +++ b/esp32/src/slc/_1rx_link.rs @@ -72,31 +72,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19"] #[inline(always)] - #[must_use] pub fn slc1_rxlink_addr(&mut self) -> SLC1_RXLINK_ADDR_W<_1RX_LINK_SPEC> { SLC1_RXLINK_ADDR_W::new(self, 0) } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn slc1_bt_packet(&mut self) -> SLC1_BT_PACKET_W<_1RX_LINK_SPEC> { SLC1_BT_PACKET_W::new(self, 20) } #[doc = "Bit 28"] #[inline(always)] - #[must_use] pub fn slc1_rxlink_stop(&mut self) -> SLC1_RXLINK_STOP_W<_1RX_LINK_SPEC> { SLC1_RXLINK_STOP_W::new(self, 28) } #[doc = "Bit 29"] #[inline(always)] - #[must_use] pub fn slc1_rxlink_start(&mut self) -> SLC1_RXLINK_START_W<_1RX_LINK_SPEC> { SLC1_RXLINK_START_W::new(self, 29) } #[doc = "Bit 30"] #[inline(always)] - #[must_use] pub fn slc1_rxlink_restart(&mut self) -> SLC1_RXLINK_RESTART_W<_1RX_LINK_SPEC> { SLC1_RXLINK_RESTART_W::new(self, 30) } diff --git a/esp32/src/slc/_1rxfifo_push.rs b/esp32/src/slc/_1rxfifo_push.rs index 7987e8375f..fcca718c2c 100644 --- a/esp32/src/slc/_1rxfifo_push.rs +++ b/esp32/src/slc/_1rxfifo_push.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8"] #[inline(always)] - #[must_use] pub fn slc1_rxfifo_wdata(&mut self) -> SLC1_RXFIFO_WDATA_W<_1RXFIFO_PUSH_SPEC> { SLC1_RXFIFO_WDATA_W::new(self, 0) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn slc1_rxfifo_push(&mut self) -> SLC1_RXFIFO_PUSH_W<_1RXFIFO_PUSH_SPEC> { SLC1_RXFIFO_PUSH_W::new(self, 16) } diff --git a/esp32/src/slc/_1token0.rs b/esp32/src/slc/_1token0.rs index ed08f5c859..ca2e136299 100644 --- a/esp32/src/slc/_1token0.rs +++ b/esp32/src/slc/_1token0.rs @@ -30,25 +30,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11"] #[inline(always)] - #[must_use] pub fn slc1_token0_wdata(&mut self) -> SLC1_TOKEN0_WDATA_W<_1TOKEN0_SPEC> { SLC1_TOKEN0_WDATA_W::new(self, 0) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn slc1_token0_wr(&mut self) -> SLC1_TOKEN0_WR_W<_1TOKEN0_SPEC> { SLC1_TOKEN0_WR_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn slc1_token0_inc(&mut self) -> SLC1_TOKEN0_INC_W<_1TOKEN0_SPEC> { SLC1_TOKEN0_INC_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn slc1_token0_inc_more(&mut self) -> SLC1_TOKEN0_INC_MORE_W<_1TOKEN0_SPEC> { SLC1_TOKEN0_INC_MORE_W::new(self, 14) } diff --git a/esp32/src/slc/_1token1.rs b/esp32/src/slc/_1token1.rs index 6ed4c6f41e..2b114a4a4f 100644 --- a/esp32/src/slc/_1token1.rs +++ b/esp32/src/slc/_1token1.rs @@ -30,25 +30,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11"] #[inline(always)] - #[must_use] pub fn slc1_token1_wdata(&mut self) -> SLC1_TOKEN1_WDATA_W<_1TOKEN1_SPEC> { SLC1_TOKEN1_WDATA_W::new(self, 0) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn slc1_token1_wr(&mut self) -> SLC1_TOKEN1_WR_W<_1TOKEN1_SPEC> { SLC1_TOKEN1_WR_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn slc1_token1_inc(&mut self) -> SLC1_TOKEN1_INC_W<_1TOKEN1_SPEC> { SLC1_TOKEN1_INC_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn slc1_token1_inc_more(&mut self) -> SLC1_TOKEN1_INC_MORE_W<_1TOKEN1_SPEC> { SLC1_TOKEN1_INC_MORE_W::new(self, 14) } diff --git a/esp32/src/slc/_1tx_link.rs b/esp32/src/slc/_1tx_link.rs index 5771a315bb..41c42efc8e 100644 --- a/esp32/src/slc/_1tx_link.rs +++ b/esp32/src/slc/_1tx_link.rs @@ -62,25 +62,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19"] #[inline(always)] - #[must_use] pub fn slc1_txlink_addr(&mut self) -> SLC1_TXLINK_ADDR_W<_1TX_LINK_SPEC> { SLC1_TXLINK_ADDR_W::new(self, 0) } #[doc = "Bit 28"] #[inline(always)] - #[must_use] pub fn slc1_txlink_stop(&mut self) -> SLC1_TXLINK_STOP_W<_1TX_LINK_SPEC> { SLC1_TXLINK_STOP_W::new(self, 28) } #[doc = "Bit 29"] #[inline(always)] - #[must_use] pub fn slc1_txlink_start(&mut self) -> SLC1_TXLINK_START_W<_1TX_LINK_SPEC> { SLC1_TXLINK_START_W::new(self, 29) } #[doc = "Bit 30"] #[inline(always)] - #[must_use] pub fn slc1_txlink_restart(&mut self) -> SLC1_TXLINK_RESTART_W<_1TX_LINK_SPEC> { SLC1_TXLINK_RESTART_W::new(self, 30) } diff --git a/esp32/src/slc/_1txfifo_pop.rs b/esp32/src/slc/_1txfifo_pop.rs index a622b82f44..3103749757 100644 --- a/esp32/src/slc/_1txfifo_pop.rs +++ b/esp32/src/slc/_1txfifo_pop.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn slc1_txfifo_pop(&mut self) -> SLC1_TXFIFO_POP_W<_1TXFIFO_POP_SPEC> { SLC1_TXFIFO_POP_W::new(self, 16) } diff --git a/esp32/src/slc/ahb_test.rs b/esp32/src/slc/ahb_test.rs index f08e85fc77..6556bb57fa 100644 --- a/esp32/src/slc/ahb_test.rs +++ b/esp32/src/slc/ahb_test.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2"] #[inline(always)] - #[must_use] pub fn ahb_testmode(&mut self) -> AHB_TESTMODE_W { AHB_TESTMODE_W::new(self, 0) } #[doc = "Bits 4:5"] #[inline(always)] - #[must_use] pub fn ahb_testaddr(&mut self) -> AHB_TESTADDR_W { AHB_TESTADDR_W::new(self, 4) } diff --git a/esp32/src/slc/bridge_conf.rs b/esp32/src/slc/bridge_conf.rs index 5d07b794fb..39d3045c47 100644 --- a/esp32/src/slc/bridge_conf.rs +++ b/esp32/src/slc/bridge_conf.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn txeof_ena(&mut self) -> TXEOF_ENA_W { TXEOF_ENA_W::new(self, 0) } #[doc = "Bits 8:11"] #[inline(always)] - #[must_use] pub fn fifo_map_ena(&mut self) -> FIFO_MAP_ENA_W { FIFO_MAP_ENA_W::new(self, 8) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn slc0_tx_dummy_mode(&mut self) -> SLC0_TX_DUMMY_MODE_W { SLC0_TX_DUMMY_MODE_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn hda_map_128k(&mut self) -> HDA_MAP_128K_W { HDA_MAP_128K_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn slc1_tx_dummy_mode(&mut self) -> SLC1_TX_DUMMY_MODE_W { SLC1_TX_DUMMY_MODE_W::new(self, 14) } #[doc = "Bits 16:31"] #[inline(always)] - #[must_use] pub fn tx_push_idle_num(&mut self) -> TX_PUSH_IDLE_NUM_W { TX_PUSH_IDLE_NUM_W::new(self, 16) } diff --git a/esp32/src/slc/conf0.rs b/esp32/src/slc/conf0.rs index 40a3b3c4e8..39807b7470 100644 --- a/esp32/src/slc/conf0.rs +++ b/esp32/src/slc/conf0.rs @@ -334,193 +334,161 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn slc0_tx_rst(&mut self) -> SLC0_TX_RST_W { SLC0_TX_RST_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn slc0_rx_rst(&mut self) -> SLC0_RX_RST_W { SLC0_RX_RST_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn ahbm_fifo_rst(&mut self) -> AHBM_FIFO_RST_W { AHBM_FIFO_RST_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn ahbm_rst(&mut self) -> AHBM_RST_W { AHBM_RST_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn slc0_tx_loop_test(&mut self) -> SLC0_TX_LOOP_TEST_W { SLC0_TX_LOOP_TEST_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn slc0_rx_loop_test(&mut self) -> SLC0_RX_LOOP_TEST_W { SLC0_RX_LOOP_TEST_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn slc0_rx_auto_wrback(&mut self) -> SLC0_RX_AUTO_WRBACK_W { SLC0_RX_AUTO_WRBACK_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn slc0_rx_no_restart_clr(&mut self) -> SLC0_RX_NO_RESTART_CLR_W { SLC0_RX_NO_RESTART_CLR_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn slc0_rxdscr_burst_en(&mut self) -> SLC0_RXDSCR_BURST_EN_W { SLC0_RXDSCR_BURST_EN_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn slc0_rxdata_burst_en(&mut self) -> SLC0_RXDATA_BURST_EN_W { SLC0_RXDATA_BURST_EN_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn slc0_rxlink_auto_ret(&mut self) -> SLC0_RXLINK_AUTO_RET_W { SLC0_RXLINK_AUTO_RET_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn slc0_txlink_auto_ret(&mut self) -> SLC0_TXLINK_AUTO_RET_W { SLC0_TXLINK_AUTO_RET_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn slc0_txdscr_burst_en(&mut self) -> SLC0_TXDSCR_BURST_EN_W { SLC0_TXDSCR_BURST_EN_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn slc0_txdata_burst_en(&mut self) -> SLC0_TXDATA_BURST_EN_W { SLC0_TXDATA_BURST_EN_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn slc0_token_auto_clr(&mut self) -> SLC0_TOKEN_AUTO_CLR_W { SLC0_TOKEN_AUTO_CLR_W::new(self, 14) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn slc0_token_sel(&mut self) -> SLC0_TOKEN_SEL_W { SLC0_TOKEN_SEL_W::new(self, 15) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn slc1_tx_rst(&mut self) -> SLC1_TX_RST_W { SLC1_TX_RST_W::new(self, 16) } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn slc1_rx_rst(&mut self) -> SLC1_RX_RST_W { SLC1_RX_RST_W::new(self, 17) } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn slc0_wr_retry_mask_en(&mut self) -> SLC0_WR_RETRY_MASK_EN_W { SLC0_WR_RETRY_MASK_EN_W::new(self, 18) } #[doc = "Bit 19"] #[inline(always)] - #[must_use] pub fn slc1_wr_retry_mask_en(&mut self) -> SLC1_WR_RETRY_MASK_EN_W { SLC1_WR_RETRY_MASK_EN_W::new(self, 19) } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn slc1_tx_loop_test(&mut self) -> SLC1_TX_LOOP_TEST_W { SLC1_TX_LOOP_TEST_W::new(self, 20) } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn slc1_rx_loop_test(&mut self) -> SLC1_RX_LOOP_TEST_W { SLC1_RX_LOOP_TEST_W::new(self, 21) } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn slc1_rx_auto_wrback(&mut self) -> SLC1_RX_AUTO_WRBACK_W { SLC1_RX_AUTO_WRBACK_W::new(self, 22) } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn slc1_rx_no_restart_clr(&mut self) -> SLC1_RX_NO_RESTART_CLR_W { SLC1_RX_NO_RESTART_CLR_W::new(self, 23) } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn slc1_rxdscr_burst_en(&mut self) -> SLC1_RXDSCR_BURST_EN_W { SLC1_RXDSCR_BURST_EN_W::new(self, 24) } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn slc1_rxdata_burst_en(&mut self) -> SLC1_RXDATA_BURST_EN_W { SLC1_RXDATA_BURST_EN_W::new(self, 25) } #[doc = "Bit 26"] #[inline(always)] - #[must_use] pub fn slc1_rxlink_auto_ret(&mut self) -> SLC1_RXLINK_AUTO_RET_W { SLC1_RXLINK_AUTO_RET_W::new(self, 26) } #[doc = "Bit 27"] #[inline(always)] - #[must_use] pub fn slc1_txlink_auto_ret(&mut self) -> SLC1_TXLINK_AUTO_RET_W { SLC1_TXLINK_AUTO_RET_W::new(self, 27) } #[doc = "Bit 28"] #[inline(always)] - #[must_use] pub fn slc1_txdscr_burst_en(&mut self) -> SLC1_TXDSCR_BURST_EN_W { SLC1_TXDSCR_BURST_EN_W::new(self, 28) } #[doc = "Bit 29"] #[inline(always)] - #[must_use] pub fn slc1_txdata_burst_en(&mut self) -> SLC1_TXDATA_BURST_EN_W { SLC1_TXDATA_BURST_EN_W::new(self, 29) } #[doc = "Bit 30"] #[inline(always)] - #[must_use] pub fn slc1_token_auto_clr(&mut self) -> SLC1_TOKEN_AUTO_CLR_W { SLC1_TOKEN_AUTO_CLR_W::new(self, 30) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn slc1_token_sel(&mut self) -> SLC1_TOKEN_SEL_W { SLC1_TOKEN_SEL_W::new(self, 31) } diff --git a/esp32/src/slc/conf1.rs b/esp32/src/slc/conf1.rs index 98879cff64..1974eef12e 100644 --- a/esp32/src/slc/conf1.rs +++ b/esp32/src/slc/conf1.rs @@ -154,85 +154,71 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn slc0_check_owner(&mut self) -> SLC0_CHECK_OWNER_W { SLC0_CHECK_OWNER_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn slc0_tx_check_sum_en(&mut self) -> SLC0_TX_CHECK_SUM_EN_W { SLC0_TX_CHECK_SUM_EN_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn slc0_rx_check_sum_en(&mut self) -> SLC0_RX_CHECK_SUM_EN_W { SLC0_RX_CHECK_SUM_EN_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn cmd_hold_en(&mut self) -> CMD_HOLD_EN_W { CMD_HOLD_EN_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn slc0_len_auto_clr(&mut self) -> SLC0_LEN_AUTO_CLR_W { SLC0_LEN_AUTO_CLR_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn slc0_tx_stitch_en(&mut self) -> SLC0_TX_STITCH_EN_W { SLC0_TX_STITCH_EN_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn slc0_rx_stitch_en(&mut self) -> SLC0_RX_STITCH_EN_W { SLC0_RX_STITCH_EN_W::new(self, 6) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn slc1_check_owner(&mut self) -> SLC1_CHECK_OWNER_W { SLC1_CHECK_OWNER_W::new(self, 16) } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn slc1_tx_check_sum_en(&mut self) -> SLC1_TX_CHECK_SUM_EN_W { SLC1_TX_CHECK_SUM_EN_W::new(self, 17) } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn slc1_rx_check_sum_en(&mut self) -> SLC1_RX_CHECK_SUM_EN_W { SLC1_RX_CHECK_SUM_EN_W::new(self, 18) } #[doc = "Bit 19"] #[inline(always)] - #[must_use] pub fn host_int_level_sel(&mut self) -> HOST_INT_LEVEL_SEL_W { HOST_INT_LEVEL_SEL_W::new(self, 19) } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn slc1_tx_stitch_en(&mut self) -> SLC1_TX_STITCH_EN_W { SLC1_TX_STITCH_EN_W::new(self, 20) } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn slc1_rx_stitch_en(&mut self) -> SLC1_RX_STITCH_EN_W { SLC1_RX_STITCH_EN_W::new(self, 21) } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 22) } diff --git a/esp32/src/slc/date.rs b/esp32/src/slc/date.rs index 36d5cde3e3..772beba346 100644 --- a/esp32/src/slc/date.rs +++ b/esp32/src/slc/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32/src/slc/id.rs b/esp32/src/slc/id.rs index 712ee7ae62..a07140cd13 100644 --- a/esp32/src/slc/id.rs +++ b/esp32/src/slc/id.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn id(&mut self) -> ID_W { ID_W::new(self, 0) } diff --git a/esp32/src/slc/intvec_tohost.rs b/esp32/src/slc/intvec_tohost.rs index 04c75d6932..165825fff5 100644 --- a/esp32/src/slc/intvec_tohost.rs +++ b/esp32/src/slc/intvec_tohost.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn slc0_tohost_intvec(&mut self) -> SLC0_TOHOST_INTVEC_W { SLC0_TOHOST_INTVEC_W::new(self, 0) } #[doc = "Bits 16:23"] #[inline(always)] - #[must_use] pub fn slc1_tohost_intvec(&mut self) -> SLC1_TOHOST_INTVEC_W { SLC1_TOHOST_INTVEC_W::new(self, 16) } diff --git a/esp32/src/slc/rx_dscr_conf.rs b/esp32/src/slc/rx_dscr_conf.rs index fc2deb90af..9e4234b428 100644 --- a/esp32/src/slc/rx_dscr_conf.rs +++ b/esp32/src/slc/rx_dscr_conf.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn slc0_token_no_replace(&mut self) -> SLC0_TOKEN_NO_REPLACE_W { SLC0_TOKEN_NO_REPLACE_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn slc0_infor_no_replace(&mut self) -> SLC0_INFOR_NO_REPLACE_W { SLC0_INFOR_NO_REPLACE_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn slc0_rx_fill_mode(&mut self) -> SLC0_RX_FILL_MODE_W { SLC0_RX_FILL_MODE_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn slc0_rx_eof_mode(&mut self) -> SLC0_RX_EOF_MODE_W { SLC0_RX_EOF_MODE_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn slc0_rx_fill_en(&mut self) -> SLC0_RX_FILL_EN_W { SLC0_RX_FILL_EN_W::new(self, 4) } #[doc = "Bits 5:15"] #[inline(always)] - #[must_use] pub fn slc0_rd_retry_threshold(&mut self) -> SLC0_RD_RETRY_THRESHOLD_W { SLC0_RD_RETRY_THRESHOLD_W::new(self, 5) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn slc1_token_no_replace(&mut self) -> SLC1_TOKEN_NO_REPLACE_W { SLC1_TOKEN_NO_REPLACE_W::new(self, 16) } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn slc1_infor_no_replace(&mut self) -> SLC1_INFOR_NO_REPLACE_W { SLC1_INFOR_NO_REPLACE_W::new(self, 17) } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn slc1_rx_fill_mode(&mut self) -> SLC1_RX_FILL_MODE_W { SLC1_RX_FILL_MODE_W::new(self, 18) } #[doc = "Bit 19"] #[inline(always)] - #[must_use] pub fn slc1_rx_eof_mode(&mut self) -> SLC1_RX_EOF_MODE_W { SLC1_RX_EOF_MODE_W::new(self, 19) } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn slc1_rx_fill_en(&mut self) -> SLC1_RX_FILL_EN_W { SLC1_RX_FILL_EN_W::new(self, 20) } #[doc = "Bits 21:31"] #[inline(always)] - #[must_use] pub fn slc1_rd_retry_threshold(&mut self) -> SLC1_RD_RETRY_THRESHOLD_W { SLC1_RD_RETRY_THRESHOLD_W::new(self, 21) } diff --git a/esp32/src/slc/sdio_crc_st1.rs b/esp32/src/slc/sdio_crc_st1.rs index 03e09b7725..7d4d695975 100644 --- a/esp32/src/slc/sdio_crc_st1.rs +++ b/esp32/src/slc/sdio_crc_st1.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn err_cnt_clr(&mut self) -> ERR_CNT_CLR_W { ERR_CNT_CLR_W::new(self, 31) } diff --git a/esp32/src/slc/seq_position.rs b/esp32/src/slc/seq_position.rs index b676119340..069974e9ee 100644 --- a/esp32/src/slc/seq_position.rs +++ b/esp32/src/slc/seq_position.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn slc0_seq_position(&mut self) -> SLC0_SEQ_POSITION_W { SLC0_SEQ_POSITION_W::new(self, 0) } #[doc = "Bits 8:15"] #[inline(always)] - #[must_use] pub fn slc1_seq_position(&mut self) -> SLC1_SEQ_POSITION_W { SLC1_SEQ_POSITION_W::new(self, 8) } diff --git a/esp32/src/slc/tx_dscr_conf.rs b/esp32/src/slc/tx_dscr_conf.rs index fe4a0d47e8..80a1d539bd 100644 --- a/esp32/src/slc/tx_dscr_conf.rs +++ b/esp32/src/slc/tx_dscr_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10"] #[inline(always)] - #[must_use] pub fn wr_retry_threshold(&mut self) -> WR_RETRY_THRESHOLD_W { WR_RETRY_THRESHOLD_W::new(self, 0) } diff --git a/esp32/src/slchost/host_slc0host_func1_int_ena.rs b/esp32/src/slchost/host_slc0host_func1_int_ena.rs index a3752e13f6..8b8a6fc5e5 100644 --- a/esp32/src/slchost/host_slc0host_func1_int_ena.rs +++ b/esp32/src/slchost/host_slc0host_func1_int_ena.rs @@ -352,7 +352,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn host_fn1_slc0_tohost_bit0_int_ena( &mut self, ) -> HOST_FN1_SLC0_TOHOST_BIT0_INT_ENA_W { @@ -360,7 +359,6 @@ impl W { } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn host_fn1_slc0_tohost_bit1_int_ena( &mut self, ) -> HOST_FN1_SLC0_TOHOST_BIT1_INT_ENA_W { @@ -368,7 +366,6 @@ impl W { } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn host_fn1_slc0_tohost_bit2_int_ena( &mut self, ) -> HOST_FN1_SLC0_TOHOST_BIT2_INT_ENA_W { @@ -376,7 +373,6 @@ impl W { } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn host_fn1_slc0_tohost_bit3_int_ena( &mut self, ) -> HOST_FN1_SLC0_TOHOST_BIT3_INT_ENA_W { @@ -384,7 +380,6 @@ impl W { } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn host_fn1_slc0_tohost_bit4_int_ena( &mut self, ) -> HOST_FN1_SLC0_TOHOST_BIT4_INT_ENA_W { @@ -392,7 +387,6 @@ impl W { } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn host_fn1_slc0_tohost_bit5_int_ena( &mut self, ) -> HOST_FN1_SLC0_TOHOST_BIT5_INT_ENA_W { @@ -400,7 +394,6 @@ impl W { } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn host_fn1_slc0_tohost_bit6_int_ena( &mut self, ) -> HOST_FN1_SLC0_TOHOST_BIT6_INT_ENA_W { @@ -408,7 +401,6 @@ impl W { } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn host_fn1_slc0_tohost_bit7_int_ena( &mut self, ) -> HOST_FN1_SLC0_TOHOST_BIT7_INT_ENA_W { @@ -416,7 +408,6 @@ impl W { } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn host_fn1_slc0_token0_1to0_int_ena( &mut self, ) -> HOST_FN1_SLC0_TOKEN0_1TO0_INT_ENA_W { @@ -424,7 +415,6 @@ impl W { } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn host_fn1_slc0_token1_1to0_int_ena( &mut self, ) -> HOST_FN1_SLC0_TOKEN1_1TO0_INT_ENA_W { @@ -432,7 +422,6 @@ impl W { } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn host_fn1_slc0_token0_0to1_int_ena( &mut self, ) -> HOST_FN1_SLC0_TOKEN0_0TO1_INT_ENA_W { @@ -440,7 +429,6 @@ impl W { } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn host_fn1_slc0_token1_0to1_int_ena( &mut self, ) -> HOST_FN1_SLC0_TOKEN1_0TO1_INT_ENA_W { @@ -448,7 +436,6 @@ impl W { } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn host_fn1_slc0host_rx_sof_int_ena( &mut self, ) -> HOST_FN1_SLC0HOST_RX_SOF_INT_ENA_W { @@ -456,7 +443,6 @@ impl W { } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn host_fn1_slc0host_rx_eof_int_ena( &mut self, ) -> HOST_FN1_SLC0HOST_RX_EOF_INT_ENA_W { @@ -464,7 +450,6 @@ impl W { } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn host_fn1_slc0host_rx_start_int_ena( &mut self, ) -> HOST_FN1_SLC0HOST_RX_START_INT_ENA_W { @@ -472,7 +457,6 @@ impl W { } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn host_fn1_slc0host_tx_start_int_ena( &mut self, ) -> HOST_FN1_SLC0HOST_TX_START_INT_ENA_W { @@ -480,7 +464,6 @@ impl W { } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn host_fn1_slc0_rx_udf_int_ena( &mut self, ) -> HOST_FN1_SLC0_RX_UDF_INT_ENA_W { @@ -488,7 +471,6 @@ impl W { } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn host_fn1_slc0_tx_ovf_int_ena( &mut self, ) -> HOST_FN1_SLC0_TX_OVF_INT_ENA_W { @@ -496,7 +478,6 @@ impl W { } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn host_fn1_slc0_rx_pf_valid_int_ena( &mut self, ) -> HOST_FN1_SLC0_RX_PF_VALID_INT_ENA_W { @@ -504,7 +485,6 @@ impl W { } #[doc = "Bit 19"] #[inline(always)] - #[must_use] pub fn host_fn1_slc0_ext_bit0_int_ena( &mut self, ) -> HOST_FN1_SLC0_EXT_BIT0_INT_ENA_W { @@ -512,7 +492,6 @@ impl W { } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn host_fn1_slc0_ext_bit1_int_ena( &mut self, ) -> HOST_FN1_SLC0_EXT_BIT1_INT_ENA_W { @@ -520,7 +499,6 @@ impl W { } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn host_fn1_slc0_ext_bit2_int_ena( &mut self, ) -> HOST_FN1_SLC0_EXT_BIT2_INT_ENA_W { @@ -528,7 +506,6 @@ impl W { } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn host_fn1_slc0_ext_bit3_int_ena( &mut self, ) -> HOST_FN1_SLC0_EXT_BIT3_INT_ENA_W { @@ -536,7 +513,6 @@ impl W { } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn host_fn1_slc0_rx_new_packet_int_ena( &mut self, ) -> HOST_FN1_SLC0_RX_NEW_PACKET_INT_ENA_W { @@ -544,7 +520,6 @@ impl W { } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn host_fn1_slc0_host_rd_retry_int_ena( &mut self, ) -> HOST_FN1_SLC0_HOST_RD_RETRY_INT_ENA_W { @@ -552,7 +527,6 @@ impl W { } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn host_fn1_gpio_sdio_int_ena( &mut self, ) -> HOST_FN1_GPIO_SDIO_INT_ENA_W { diff --git a/esp32/src/slchost/host_slc0host_func2_int_ena.rs b/esp32/src/slchost/host_slc0host_func2_int_ena.rs index 39f9993aac..b067a4c35e 100644 --- a/esp32/src/slchost/host_slc0host_func2_int_ena.rs +++ b/esp32/src/slchost/host_slc0host_func2_int_ena.rs @@ -352,7 +352,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn host_fn2_slc0_tohost_bit0_int_ena( &mut self, ) -> HOST_FN2_SLC0_TOHOST_BIT0_INT_ENA_W { @@ -360,7 +359,6 @@ impl W { } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn host_fn2_slc0_tohost_bit1_int_ena( &mut self, ) -> HOST_FN2_SLC0_TOHOST_BIT1_INT_ENA_W { @@ -368,7 +366,6 @@ impl W { } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn host_fn2_slc0_tohost_bit2_int_ena( &mut self, ) -> HOST_FN2_SLC0_TOHOST_BIT2_INT_ENA_W { @@ -376,7 +373,6 @@ impl W { } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn host_fn2_slc0_tohost_bit3_int_ena( &mut self, ) -> HOST_FN2_SLC0_TOHOST_BIT3_INT_ENA_W { @@ -384,7 +380,6 @@ impl W { } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn host_fn2_slc0_tohost_bit4_int_ena( &mut self, ) -> HOST_FN2_SLC0_TOHOST_BIT4_INT_ENA_W { @@ -392,7 +387,6 @@ impl W { } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn host_fn2_slc0_tohost_bit5_int_ena( &mut self, ) -> HOST_FN2_SLC0_TOHOST_BIT5_INT_ENA_W { @@ -400,7 +394,6 @@ impl W { } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn host_fn2_slc0_tohost_bit6_int_ena( &mut self, ) -> HOST_FN2_SLC0_TOHOST_BIT6_INT_ENA_W { @@ -408,7 +401,6 @@ impl W { } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn host_fn2_slc0_tohost_bit7_int_ena( &mut self, ) -> HOST_FN2_SLC0_TOHOST_BIT7_INT_ENA_W { @@ -416,7 +408,6 @@ impl W { } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn host_fn2_slc0_token0_1to0_int_ena( &mut self, ) -> HOST_FN2_SLC0_TOKEN0_1TO0_INT_ENA_W { @@ -424,7 +415,6 @@ impl W { } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn host_fn2_slc0_token1_1to0_int_ena( &mut self, ) -> HOST_FN2_SLC0_TOKEN1_1TO0_INT_ENA_W { @@ -432,7 +422,6 @@ impl W { } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn host_fn2_slc0_token0_0to1_int_ena( &mut self, ) -> HOST_FN2_SLC0_TOKEN0_0TO1_INT_ENA_W { @@ -440,7 +429,6 @@ impl W { } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn host_fn2_slc0_token1_0to1_int_ena( &mut self, ) -> HOST_FN2_SLC0_TOKEN1_0TO1_INT_ENA_W { @@ -448,7 +436,6 @@ impl W { } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn host_fn2_slc0host_rx_sof_int_ena( &mut self, ) -> HOST_FN2_SLC0HOST_RX_SOF_INT_ENA_W { @@ -456,7 +443,6 @@ impl W { } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn host_fn2_slc0host_rx_eof_int_ena( &mut self, ) -> HOST_FN2_SLC0HOST_RX_EOF_INT_ENA_W { @@ -464,7 +450,6 @@ impl W { } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn host_fn2_slc0host_rx_start_int_ena( &mut self, ) -> HOST_FN2_SLC0HOST_RX_START_INT_ENA_W { @@ -472,7 +457,6 @@ impl W { } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn host_fn2_slc0host_tx_start_int_ena( &mut self, ) -> HOST_FN2_SLC0HOST_TX_START_INT_ENA_W { @@ -480,7 +464,6 @@ impl W { } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn host_fn2_slc0_rx_udf_int_ena( &mut self, ) -> HOST_FN2_SLC0_RX_UDF_INT_ENA_W { @@ -488,7 +471,6 @@ impl W { } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn host_fn2_slc0_tx_ovf_int_ena( &mut self, ) -> HOST_FN2_SLC0_TX_OVF_INT_ENA_W { @@ -496,7 +478,6 @@ impl W { } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn host_fn2_slc0_rx_pf_valid_int_ena( &mut self, ) -> HOST_FN2_SLC0_RX_PF_VALID_INT_ENA_W { @@ -504,7 +485,6 @@ impl W { } #[doc = "Bit 19"] #[inline(always)] - #[must_use] pub fn host_fn2_slc0_ext_bit0_int_ena( &mut self, ) -> HOST_FN2_SLC0_EXT_BIT0_INT_ENA_W { @@ -512,7 +492,6 @@ impl W { } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn host_fn2_slc0_ext_bit1_int_ena( &mut self, ) -> HOST_FN2_SLC0_EXT_BIT1_INT_ENA_W { @@ -520,7 +499,6 @@ impl W { } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn host_fn2_slc0_ext_bit2_int_ena( &mut self, ) -> HOST_FN2_SLC0_EXT_BIT2_INT_ENA_W { @@ -528,7 +506,6 @@ impl W { } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn host_fn2_slc0_ext_bit3_int_ena( &mut self, ) -> HOST_FN2_SLC0_EXT_BIT3_INT_ENA_W { @@ -536,7 +513,6 @@ impl W { } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn host_fn2_slc0_rx_new_packet_int_ena( &mut self, ) -> HOST_FN2_SLC0_RX_NEW_PACKET_INT_ENA_W { @@ -544,7 +520,6 @@ impl W { } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn host_fn2_slc0_host_rd_retry_int_ena( &mut self, ) -> HOST_FN2_SLC0_HOST_RD_RETRY_INT_ENA_W { @@ -552,7 +527,6 @@ impl W { } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn host_fn2_gpio_sdio_int_ena( &mut self, ) -> HOST_FN2_GPIO_SDIO_INT_ENA_W { diff --git a/esp32/src/slchost/host_slc0host_int_clr.rs b/esp32/src/slchost/host_slc0host_int_clr.rs index b4c4f2132a..a02f751581 100644 --- a/esp32/src/slchost/host_slc0host_int_clr.rs +++ b/esp32/src/slchost/host_slc0host_int_clr.rs @@ -61,7 +61,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn host_slc0_tohost_bit0_int_clr( &mut self, ) -> HOST_SLC0_TOHOST_BIT0_INT_CLR_W { @@ -69,7 +68,6 @@ impl W { } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn host_slc0_tohost_bit1_int_clr( &mut self, ) -> HOST_SLC0_TOHOST_BIT1_INT_CLR_W { @@ -77,7 +75,6 @@ impl W { } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn host_slc0_tohost_bit2_int_clr( &mut self, ) -> HOST_SLC0_TOHOST_BIT2_INT_CLR_W { @@ -85,7 +82,6 @@ impl W { } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn host_slc0_tohost_bit3_int_clr( &mut self, ) -> HOST_SLC0_TOHOST_BIT3_INT_CLR_W { @@ -93,7 +89,6 @@ impl W { } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn host_slc0_tohost_bit4_int_clr( &mut self, ) -> HOST_SLC0_TOHOST_BIT4_INT_CLR_W { @@ -101,7 +96,6 @@ impl W { } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn host_slc0_tohost_bit5_int_clr( &mut self, ) -> HOST_SLC0_TOHOST_BIT5_INT_CLR_W { @@ -109,7 +103,6 @@ impl W { } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn host_slc0_tohost_bit6_int_clr( &mut self, ) -> HOST_SLC0_TOHOST_BIT6_INT_CLR_W { @@ -117,7 +110,6 @@ impl W { } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn host_slc0_tohost_bit7_int_clr( &mut self, ) -> HOST_SLC0_TOHOST_BIT7_INT_CLR_W { @@ -125,7 +117,6 @@ impl W { } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn host_slc0_token0_1to0_int_clr( &mut self, ) -> HOST_SLC0_TOKEN0_1TO0_INT_CLR_W { @@ -133,7 +124,6 @@ impl W { } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn host_slc0_token1_1to0_int_clr( &mut self, ) -> HOST_SLC0_TOKEN1_1TO0_INT_CLR_W { @@ -141,7 +131,6 @@ impl W { } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn host_slc0_token0_0to1_int_clr( &mut self, ) -> HOST_SLC0_TOKEN0_0TO1_INT_CLR_W { @@ -149,7 +138,6 @@ impl W { } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn host_slc0_token1_0to1_int_clr( &mut self, ) -> HOST_SLC0_TOKEN1_0TO1_INT_CLR_W { @@ -157,7 +145,6 @@ impl W { } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn host_slc0host_rx_sof_int_clr( &mut self, ) -> HOST_SLC0HOST_RX_SOF_INT_CLR_W { @@ -165,7 +152,6 @@ impl W { } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn host_slc0host_rx_eof_int_clr( &mut self, ) -> HOST_SLC0HOST_RX_EOF_INT_CLR_W { @@ -173,7 +159,6 @@ impl W { } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn host_slc0host_rx_start_int_clr( &mut self, ) -> HOST_SLC0HOST_RX_START_INT_CLR_W { @@ -181,7 +166,6 @@ impl W { } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn host_slc0host_tx_start_int_clr( &mut self, ) -> HOST_SLC0HOST_TX_START_INT_CLR_W { @@ -189,7 +173,6 @@ impl W { } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn host_slc0_rx_udf_int_clr( &mut self, ) -> HOST_SLC0_RX_UDF_INT_CLR_W { @@ -197,7 +180,6 @@ impl W { } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn host_slc0_tx_ovf_int_clr( &mut self, ) -> HOST_SLC0_TX_OVF_INT_CLR_W { @@ -205,7 +187,6 @@ impl W { } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn host_slc0_rx_pf_valid_int_clr( &mut self, ) -> HOST_SLC0_RX_PF_VALID_INT_CLR_W { @@ -213,7 +194,6 @@ impl W { } #[doc = "Bit 19"] #[inline(always)] - #[must_use] pub fn host_slc0_ext_bit0_int_clr( &mut self, ) -> HOST_SLC0_EXT_BIT0_INT_CLR_W { @@ -221,7 +201,6 @@ impl W { } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn host_slc0_ext_bit1_int_clr( &mut self, ) -> HOST_SLC0_EXT_BIT1_INT_CLR_W { @@ -229,7 +208,6 @@ impl W { } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn host_slc0_ext_bit2_int_clr( &mut self, ) -> HOST_SLC0_EXT_BIT2_INT_CLR_W { @@ -237,7 +215,6 @@ impl W { } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn host_slc0_ext_bit3_int_clr( &mut self, ) -> HOST_SLC0_EXT_BIT3_INT_CLR_W { @@ -245,7 +222,6 @@ impl W { } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn host_slc0_rx_new_packet_int_clr( &mut self, ) -> HOST_SLC0_RX_NEW_PACKET_INT_CLR_W { @@ -253,7 +229,6 @@ impl W { } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn host_slc0_host_rd_retry_int_clr( &mut self, ) -> HOST_SLC0_HOST_RD_RETRY_INT_CLR_W { @@ -261,7 +236,6 @@ impl W { } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn host_gpio_sdio_int_clr( &mut self, ) -> HOST_GPIO_SDIO_INT_CLR_W { diff --git a/esp32/src/slchost/host_slc0host_int_ena.rs b/esp32/src/slchost/host_slc0host_int_ena.rs index c7d19dcef1..9808e4fddb 100644 --- a/esp32/src/slchost/host_slc0host_int_ena.rs +++ b/esp32/src/slchost/host_slc0host_int_ena.rs @@ -343,7 +343,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn host_slc0_tohost_bit0_int_ena( &mut self, ) -> HOST_SLC0_TOHOST_BIT0_INT_ENA_W { @@ -351,7 +350,6 @@ impl W { } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn host_slc0_tohost_bit1_int_ena( &mut self, ) -> HOST_SLC0_TOHOST_BIT1_INT_ENA_W { @@ -359,7 +357,6 @@ impl W { } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn host_slc0_tohost_bit2_int_ena( &mut self, ) -> HOST_SLC0_TOHOST_BIT2_INT_ENA_W { @@ -367,7 +364,6 @@ impl W { } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn host_slc0_tohost_bit3_int_ena( &mut self, ) -> HOST_SLC0_TOHOST_BIT3_INT_ENA_W { @@ -375,7 +371,6 @@ impl W { } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn host_slc0_tohost_bit4_int_ena( &mut self, ) -> HOST_SLC0_TOHOST_BIT4_INT_ENA_W { @@ -383,7 +378,6 @@ impl W { } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn host_slc0_tohost_bit5_int_ena( &mut self, ) -> HOST_SLC0_TOHOST_BIT5_INT_ENA_W { @@ -391,7 +385,6 @@ impl W { } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn host_slc0_tohost_bit6_int_ena( &mut self, ) -> HOST_SLC0_TOHOST_BIT6_INT_ENA_W { @@ -399,7 +392,6 @@ impl W { } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn host_slc0_tohost_bit7_int_ena( &mut self, ) -> HOST_SLC0_TOHOST_BIT7_INT_ENA_W { @@ -407,7 +399,6 @@ impl W { } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn host_slc0_token0_1to0_int_ena( &mut self, ) -> HOST_SLC0_TOKEN0_1TO0_INT_ENA_W { @@ -415,7 +406,6 @@ impl W { } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn host_slc0_token1_1to0_int_ena( &mut self, ) -> HOST_SLC0_TOKEN1_1TO0_INT_ENA_W { @@ -423,7 +413,6 @@ impl W { } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn host_slc0_token0_0to1_int_ena( &mut self, ) -> HOST_SLC0_TOKEN0_0TO1_INT_ENA_W { @@ -431,7 +420,6 @@ impl W { } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn host_slc0_token1_0to1_int_ena( &mut self, ) -> HOST_SLC0_TOKEN1_0TO1_INT_ENA_W { @@ -439,7 +427,6 @@ impl W { } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn host_slc0host_rx_sof_int_ena( &mut self, ) -> HOST_SLC0HOST_RX_SOF_INT_ENA_W { @@ -447,7 +434,6 @@ impl W { } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn host_slc0host_rx_eof_int_ena( &mut self, ) -> HOST_SLC0HOST_RX_EOF_INT_ENA_W { @@ -455,7 +441,6 @@ impl W { } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn host_slc0host_rx_start_int_ena( &mut self, ) -> HOST_SLC0HOST_RX_START_INT_ENA_W { @@ -463,7 +448,6 @@ impl W { } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn host_slc0host_tx_start_int_ena( &mut self, ) -> HOST_SLC0HOST_TX_START_INT_ENA_W { @@ -471,7 +455,6 @@ impl W { } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn host_slc0_rx_udf_int_ena( &mut self, ) -> HOST_SLC0_RX_UDF_INT_ENA_W { @@ -479,7 +462,6 @@ impl W { } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn host_slc0_tx_ovf_int_ena( &mut self, ) -> HOST_SLC0_TX_OVF_INT_ENA_W { @@ -487,7 +469,6 @@ impl W { } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn host_slc0_rx_pf_valid_int_ena( &mut self, ) -> HOST_SLC0_RX_PF_VALID_INT_ENA_W { @@ -495,7 +476,6 @@ impl W { } #[doc = "Bit 19"] #[inline(always)] - #[must_use] pub fn host_slc0_ext_bit0_int_ena( &mut self, ) -> HOST_SLC0_EXT_BIT0_INT_ENA_W { @@ -503,7 +483,6 @@ impl W { } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn host_slc0_ext_bit1_int_ena( &mut self, ) -> HOST_SLC0_EXT_BIT1_INT_ENA_W { @@ -511,7 +490,6 @@ impl W { } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn host_slc0_ext_bit2_int_ena( &mut self, ) -> HOST_SLC0_EXT_BIT2_INT_ENA_W { @@ -519,7 +497,6 @@ impl W { } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn host_slc0_ext_bit3_int_ena( &mut self, ) -> HOST_SLC0_EXT_BIT3_INT_ENA_W { @@ -527,7 +504,6 @@ impl W { } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn host_slc0_rx_new_packet_int_ena( &mut self, ) -> HOST_SLC0_RX_NEW_PACKET_INT_ENA_W { @@ -535,7 +511,6 @@ impl W { } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn host_slc0_host_rd_retry_int_ena( &mut self, ) -> HOST_SLC0_HOST_RD_RETRY_INT_ENA_W { @@ -543,7 +518,6 @@ impl W { } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn host_gpio_sdio_int_ena( &mut self, ) -> HOST_GPIO_SDIO_INT_ENA_W { diff --git a/esp32/src/slchost/host_slc0host_int_ena1.rs b/esp32/src/slchost/host_slc0host_int_ena1.rs index 4179503eca..f3cf1622cb 100644 --- a/esp32/src/slchost/host_slc0host_int_ena1.rs +++ b/esp32/src/slchost/host_slc0host_int_ena1.rs @@ -349,7 +349,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn host_slc0_tohost_bit0_int_ena1( &mut self, ) -> HOST_SLC0_TOHOST_BIT0_INT_ENA1_W { @@ -357,7 +356,6 @@ impl W { } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn host_slc0_tohost_bit1_int_ena1( &mut self, ) -> HOST_SLC0_TOHOST_BIT1_INT_ENA1_W { @@ -365,7 +363,6 @@ impl W { } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn host_slc0_tohost_bit2_int_ena1( &mut self, ) -> HOST_SLC0_TOHOST_BIT2_INT_ENA1_W { @@ -373,7 +370,6 @@ impl W { } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn host_slc0_tohost_bit3_int_ena1( &mut self, ) -> HOST_SLC0_TOHOST_BIT3_INT_ENA1_W { @@ -381,7 +377,6 @@ impl W { } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn host_slc0_tohost_bit4_int_ena1( &mut self, ) -> HOST_SLC0_TOHOST_BIT4_INT_ENA1_W { @@ -389,7 +384,6 @@ impl W { } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn host_slc0_tohost_bit5_int_ena1( &mut self, ) -> HOST_SLC0_TOHOST_BIT5_INT_ENA1_W { @@ -397,7 +391,6 @@ impl W { } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn host_slc0_tohost_bit6_int_ena1( &mut self, ) -> HOST_SLC0_TOHOST_BIT6_INT_ENA1_W { @@ -405,7 +398,6 @@ impl W { } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn host_slc0_tohost_bit7_int_ena1( &mut self, ) -> HOST_SLC0_TOHOST_BIT7_INT_ENA1_W { @@ -413,7 +405,6 @@ impl W { } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn host_slc0_token0_1to0_int_ena1( &mut self, ) -> HOST_SLC0_TOKEN0_1TO0_INT_ENA1_W { @@ -421,7 +412,6 @@ impl W { } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn host_slc0_token1_1to0_int_ena1( &mut self, ) -> HOST_SLC0_TOKEN1_1TO0_INT_ENA1_W { @@ -429,7 +419,6 @@ impl W { } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn host_slc0_token0_0to1_int_ena1( &mut self, ) -> HOST_SLC0_TOKEN0_0TO1_INT_ENA1_W { @@ -437,7 +426,6 @@ impl W { } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn host_slc0_token1_0to1_int_ena1( &mut self, ) -> HOST_SLC0_TOKEN1_0TO1_INT_ENA1_W { @@ -445,7 +433,6 @@ impl W { } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn host_slc0host_rx_sof_int_ena1( &mut self, ) -> HOST_SLC0HOST_RX_SOF_INT_ENA1_W { @@ -453,7 +440,6 @@ impl W { } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn host_slc0host_rx_eof_int_ena1( &mut self, ) -> HOST_SLC0HOST_RX_EOF_INT_ENA1_W { @@ -461,7 +447,6 @@ impl W { } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn host_slc0host_rx_start_int_ena1( &mut self, ) -> HOST_SLC0HOST_RX_START_INT_ENA1_W { @@ -469,7 +454,6 @@ impl W { } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn host_slc0host_tx_start_int_ena1( &mut self, ) -> HOST_SLC0HOST_TX_START_INT_ENA1_W { @@ -477,7 +461,6 @@ impl W { } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn host_slc0_rx_udf_int_ena1( &mut self, ) -> HOST_SLC0_RX_UDF_INT_ENA1_W { @@ -485,7 +468,6 @@ impl W { } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn host_slc0_tx_ovf_int_ena1( &mut self, ) -> HOST_SLC0_TX_OVF_INT_ENA1_W { @@ -493,7 +475,6 @@ impl W { } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn host_slc0_rx_pf_valid_int_ena1( &mut self, ) -> HOST_SLC0_RX_PF_VALID_INT_ENA1_W { @@ -501,7 +482,6 @@ impl W { } #[doc = "Bit 19"] #[inline(always)] - #[must_use] pub fn host_slc0_ext_bit0_int_ena1( &mut self, ) -> HOST_SLC0_EXT_BIT0_INT_ENA1_W { @@ -509,7 +489,6 @@ impl W { } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn host_slc0_ext_bit1_int_ena1( &mut self, ) -> HOST_SLC0_EXT_BIT1_INT_ENA1_W { @@ -517,7 +496,6 @@ impl W { } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn host_slc0_ext_bit2_int_ena1( &mut self, ) -> HOST_SLC0_EXT_BIT2_INT_ENA1_W { @@ -525,7 +503,6 @@ impl W { } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn host_slc0_ext_bit3_int_ena1( &mut self, ) -> HOST_SLC0_EXT_BIT3_INT_ENA1_W { @@ -533,7 +510,6 @@ impl W { } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn host_slc0_rx_new_packet_int_ena1( &mut self, ) -> HOST_SLC0_RX_NEW_PACKET_INT_ENA1_W { @@ -541,7 +517,6 @@ impl W { } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn host_slc0_host_rd_retry_int_ena1( &mut self, ) -> HOST_SLC0_HOST_RD_RETRY_INT_ENA1_W { @@ -549,7 +524,6 @@ impl W { } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn host_gpio_sdio_int_ena1( &mut self, ) -> HOST_GPIO_SDIO_INT_ENA1_W { diff --git a/esp32/src/slchost/host_slc0host_len_wd.rs b/esp32/src/slchost/host_slc0host_len_wd.rs index 85c684a0a9..e9213147a1 100644 --- a/esp32/src/slchost/host_slc0host_len_wd.rs +++ b/esp32/src/slchost/host_slc0host_len_wd.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn host_slc0host_len_wd(&mut self) -> HOST_SLC0HOST_LEN_WD_W { HOST_SLC0HOST_LEN_WD_W::new(self, 0) } diff --git a/esp32/src/slchost/host_slc0host_rx_infor.rs b/esp32/src/slchost/host_slc0host_rx_infor.rs index 4261cb7e2e..326a4b1cdc 100644 --- a/esp32/src/slchost/host_slc0host_rx_infor.rs +++ b/esp32/src/slchost/host_slc0host_rx_infor.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19"] #[inline(always)] - #[must_use] pub fn host_slc0host_rx_infor( &mut self, ) -> HOST_SLC0HOST_RX_INFOR_W { diff --git a/esp32/src/slchost/host_slc0host_token_wdata.rs b/esp32/src/slchost/host_slc0host_token_wdata.rs index 1c9c9fb052..c3ba01731d 100644 --- a/esp32/src/slchost/host_slc0host_token_wdata.rs +++ b/esp32/src/slchost/host_slc0host_token_wdata.rs @@ -34,7 +34,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11"] #[inline(always)] - #[must_use] pub fn host_slc0host_token0_wd( &mut self, ) -> HOST_SLC0HOST_TOKEN0_WD_W { @@ -42,7 +41,6 @@ impl W { } #[doc = "Bits 16:27"] #[inline(always)] - #[must_use] pub fn host_slc0host_token1_wd( &mut self, ) -> HOST_SLC0HOST_TOKEN1_WD_W { diff --git a/esp32/src/slchost/host_slc1host_func1_int_ena.rs b/esp32/src/slchost/host_slc1host_func1_int_ena.rs index af507300df..2bdb5919b6 100644 --- a/esp32/src/slchost/host_slc1host_func1_int_ena.rs +++ b/esp32/src/slchost/host_slc1host_func1_int_ena.rs @@ -356,7 +356,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn host_fn1_slc1_tohost_bit0_int_ena( &mut self, ) -> HOST_FN1_SLC1_TOHOST_BIT0_INT_ENA_W { @@ -364,7 +363,6 @@ impl W { } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn host_fn1_slc1_tohost_bit1_int_ena( &mut self, ) -> HOST_FN1_SLC1_TOHOST_BIT1_INT_ENA_W { @@ -372,7 +370,6 @@ impl W { } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn host_fn1_slc1_tohost_bit2_int_ena( &mut self, ) -> HOST_FN1_SLC1_TOHOST_BIT2_INT_ENA_W { @@ -380,7 +377,6 @@ impl W { } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn host_fn1_slc1_tohost_bit3_int_ena( &mut self, ) -> HOST_FN1_SLC1_TOHOST_BIT3_INT_ENA_W { @@ -388,7 +384,6 @@ impl W { } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn host_fn1_slc1_tohost_bit4_int_ena( &mut self, ) -> HOST_FN1_SLC1_TOHOST_BIT4_INT_ENA_W { @@ -396,7 +391,6 @@ impl W { } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn host_fn1_slc1_tohost_bit5_int_ena( &mut self, ) -> HOST_FN1_SLC1_TOHOST_BIT5_INT_ENA_W { @@ -404,7 +398,6 @@ impl W { } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn host_fn1_slc1_tohost_bit6_int_ena( &mut self, ) -> HOST_FN1_SLC1_TOHOST_BIT6_INT_ENA_W { @@ -412,7 +405,6 @@ impl W { } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn host_fn1_slc1_tohost_bit7_int_ena( &mut self, ) -> HOST_FN1_SLC1_TOHOST_BIT7_INT_ENA_W { @@ -420,7 +412,6 @@ impl W { } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn host_fn1_slc1_token0_1to0_int_ena( &mut self, ) -> HOST_FN1_SLC1_TOKEN0_1TO0_INT_ENA_W { @@ -428,7 +419,6 @@ impl W { } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn host_fn1_slc1_token1_1to0_int_ena( &mut self, ) -> HOST_FN1_SLC1_TOKEN1_1TO0_INT_ENA_W { @@ -436,7 +426,6 @@ impl W { } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn host_fn1_slc1_token0_0to1_int_ena( &mut self, ) -> HOST_FN1_SLC1_TOKEN0_0TO1_INT_ENA_W { @@ -444,7 +433,6 @@ impl W { } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn host_fn1_slc1_token1_0to1_int_ena( &mut self, ) -> HOST_FN1_SLC1_TOKEN1_0TO1_INT_ENA_W { @@ -452,7 +440,6 @@ impl W { } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn host_fn1_slc1host_rx_sof_int_ena( &mut self, ) -> HOST_FN1_SLC1HOST_RX_SOF_INT_ENA_W { @@ -460,7 +447,6 @@ impl W { } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn host_fn1_slc1host_rx_eof_int_ena( &mut self, ) -> HOST_FN1_SLC1HOST_RX_EOF_INT_ENA_W { @@ -468,7 +454,6 @@ impl W { } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn host_fn1_slc1host_rx_start_int_ena( &mut self, ) -> HOST_FN1_SLC1HOST_RX_START_INT_ENA_W { @@ -476,7 +461,6 @@ impl W { } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn host_fn1_slc1host_tx_start_int_ena( &mut self, ) -> HOST_FN1_SLC1HOST_TX_START_INT_ENA_W { @@ -484,7 +468,6 @@ impl W { } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn host_fn1_slc1_rx_udf_int_ena( &mut self, ) -> HOST_FN1_SLC1_RX_UDF_INT_ENA_W { @@ -492,7 +475,6 @@ impl W { } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn host_fn1_slc1_tx_ovf_int_ena( &mut self, ) -> HOST_FN1_SLC1_TX_OVF_INT_ENA_W { @@ -500,7 +482,6 @@ impl W { } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn host_fn1_slc1_rx_pf_valid_int_ena( &mut self, ) -> HOST_FN1_SLC1_RX_PF_VALID_INT_ENA_W { @@ -508,7 +489,6 @@ impl W { } #[doc = "Bit 19"] #[inline(always)] - #[must_use] pub fn host_fn1_slc1_ext_bit0_int_ena( &mut self, ) -> HOST_FN1_SLC1_EXT_BIT0_INT_ENA_W { @@ -516,7 +496,6 @@ impl W { } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn host_fn1_slc1_ext_bit1_int_ena( &mut self, ) -> HOST_FN1_SLC1_EXT_BIT1_INT_ENA_W { @@ -524,7 +503,6 @@ impl W { } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn host_fn1_slc1_ext_bit2_int_ena( &mut self, ) -> HOST_FN1_SLC1_EXT_BIT2_INT_ENA_W { @@ -532,7 +510,6 @@ impl W { } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn host_fn1_slc1_ext_bit3_int_ena( &mut self, ) -> HOST_FN1_SLC1_EXT_BIT3_INT_ENA_W { @@ -540,7 +517,6 @@ impl W { } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn host_fn1_slc1_wifi_rx_new_packet_int_ena( &mut self, ) -> HOST_FN1_SLC1_WIFI_RX_NEW_PACKET_INT_ENA_W { @@ -548,7 +524,6 @@ impl W { } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn host_fn1_slc1_host_rd_retry_int_ena( &mut self, ) -> HOST_FN1_SLC1_HOST_RD_RETRY_INT_ENA_W { @@ -556,7 +531,6 @@ impl W { } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn host_fn1_slc1_bt_rx_new_packet_int_ena( &mut self, ) -> HOST_FN1_SLC1_BT_RX_NEW_PACKET_INT_ENA_W { diff --git a/esp32/src/slchost/host_slc1host_func2_int_ena.rs b/esp32/src/slchost/host_slc1host_func2_int_ena.rs index 62d78141df..ba64041cdb 100644 --- a/esp32/src/slchost/host_slc1host_func2_int_ena.rs +++ b/esp32/src/slchost/host_slc1host_func2_int_ena.rs @@ -356,7 +356,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn host_fn2_slc1_tohost_bit0_int_ena( &mut self, ) -> HOST_FN2_SLC1_TOHOST_BIT0_INT_ENA_W { @@ -364,7 +363,6 @@ impl W { } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn host_fn2_slc1_tohost_bit1_int_ena( &mut self, ) -> HOST_FN2_SLC1_TOHOST_BIT1_INT_ENA_W { @@ -372,7 +370,6 @@ impl W { } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn host_fn2_slc1_tohost_bit2_int_ena( &mut self, ) -> HOST_FN2_SLC1_TOHOST_BIT2_INT_ENA_W { @@ -380,7 +377,6 @@ impl W { } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn host_fn2_slc1_tohost_bit3_int_ena( &mut self, ) -> HOST_FN2_SLC1_TOHOST_BIT3_INT_ENA_W { @@ -388,7 +384,6 @@ impl W { } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn host_fn2_slc1_tohost_bit4_int_ena( &mut self, ) -> HOST_FN2_SLC1_TOHOST_BIT4_INT_ENA_W { @@ -396,7 +391,6 @@ impl W { } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn host_fn2_slc1_tohost_bit5_int_ena( &mut self, ) -> HOST_FN2_SLC1_TOHOST_BIT5_INT_ENA_W { @@ -404,7 +398,6 @@ impl W { } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn host_fn2_slc1_tohost_bit6_int_ena( &mut self, ) -> HOST_FN2_SLC1_TOHOST_BIT6_INT_ENA_W { @@ -412,7 +405,6 @@ impl W { } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn host_fn2_slc1_tohost_bit7_int_ena( &mut self, ) -> HOST_FN2_SLC1_TOHOST_BIT7_INT_ENA_W { @@ -420,7 +412,6 @@ impl W { } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn host_fn2_slc1_token0_1to0_int_ena( &mut self, ) -> HOST_FN2_SLC1_TOKEN0_1TO0_INT_ENA_W { @@ -428,7 +419,6 @@ impl W { } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn host_fn2_slc1_token1_1to0_int_ena( &mut self, ) -> HOST_FN2_SLC1_TOKEN1_1TO0_INT_ENA_W { @@ -436,7 +426,6 @@ impl W { } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn host_fn2_slc1_token0_0to1_int_ena( &mut self, ) -> HOST_FN2_SLC1_TOKEN0_0TO1_INT_ENA_W { @@ -444,7 +433,6 @@ impl W { } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn host_fn2_slc1_token1_0to1_int_ena( &mut self, ) -> HOST_FN2_SLC1_TOKEN1_0TO1_INT_ENA_W { @@ -452,7 +440,6 @@ impl W { } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn host_fn2_slc1host_rx_sof_int_ena( &mut self, ) -> HOST_FN2_SLC1HOST_RX_SOF_INT_ENA_W { @@ -460,7 +447,6 @@ impl W { } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn host_fn2_slc1host_rx_eof_int_ena( &mut self, ) -> HOST_FN2_SLC1HOST_RX_EOF_INT_ENA_W { @@ -468,7 +454,6 @@ impl W { } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn host_fn2_slc1host_rx_start_int_ena( &mut self, ) -> HOST_FN2_SLC1HOST_RX_START_INT_ENA_W { @@ -476,7 +461,6 @@ impl W { } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn host_fn2_slc1host_tx_start_int_ena( &mut self, ) -> HOST_FN2_SLC1HOST_TX_START_INT_ENA_W { @@ -484,7 +468,6 @@ impl W { } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn host_fn2_slc1_rx_udf_int_ena( &mut self, ) -> HOST_FN2_SLC1_RX_UDF_INT_ENA_W { @@ -492,7 +475,6 @@ impl W { } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn host_fn2_slc1_tx_ovf_int_ena( &mut self, ) -> HOST_FN2_SLC1_TX_OVF_INT_ENA_W { @@ -500,7 +482,6 @@ impl W { } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn host_fn2_slc1_rx_pf_valid_int_ena( &mut self, ) -> HOST_FN2_SLC1_RX_PF_VALID_INT_ENA_W { @@ -508,7 +489,6 @@ impl W { } #[doc = "Bit 19"] #[inline(always)] - #[must_use] pub fn host_fn2_slc1_ext_bit0_int_ena( &mut self, ) -> HOST_FN2_SLC1_EXT_BIT0_INT_ENA_W { @@ -516,7 +496,6 @@ impl W { } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn host_fn2_slc1_ext_bit1_int_ena( &mut self, ) -> HOST_FN2_SLC1_EXT_BIT1_INT_ENA_W { @@ -524,7 +503,6 @@ impl W { } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn host_fn2_slc1_ext_bit2_int_ena( &mut self, ) -> HOST_FN2_SLC1_EXT_BIT2_INT_ENA_W { @@ -532,7 +510,6 @@ impl W { } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn host_fn2_slc1_ext_bit3_int_ena( &mut self, ) -> HOST_FN2_SLC1_EXT_BIT3_INT_ENA_W { @@ -540,7 +517,6 @@ impl W { } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn host_fn2_slc1_wifi_rx_new_packet_int_ena( &mut self, ) -> HOST_FN2_SLC1_WIFI_RX_NEW_PACKET_INT_ENA_W { @@ -548,7 +524,6 @@ impl W { } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn host_fn2_slc1_host_rd_retry_int_ena( &mut self, ) -> HOST_FN2_SLC1_HOST_RD_RETRY_INT_ENA_W { @@ -556,7 +531,6 @@ impl W { } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn host_fn2_slc1_bt_rx_new_packet_int_ena( &mut self, ) -> HOST_FN2_SLC1_BT_RX_NEW_PACKET_INT_ENA_W { diff --git a/esp32/src/slchost/host_slc1host_int_clr.rs b/esp32/src/slchost/host_slc1host_int_clr.rs index 828e26498d..e0a5ebe16c 100644 --- a/esp32/src/slchost/host_slc1host_int_clr.rs +++ b/esp32/src/slchost/host_slc1host_int_clr.rs @@ -61,7 +61,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn host_slc1_tohost_bit0_int_clr( &mut self, ) -> HOST_SLC1_TOHOST_BIT0_INT_CLR_W { @@ -69,7 +68,6 @@ impl W { } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn host_slc1_tohost_bit1_int_clr( &mut self, ) -> HOST_SLC1_TOHOST_BIT1_INT_CLR_W { @@ -77,7 +75,6 @@ impl W { } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn host_slc1_tohost_bit2_int_clr( &mut self, ) -> HOST_SLC1_TOHOST_BIT2_INT_CLR_W { @@ -85,7 +82,6 @@ impl W { } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn host_slc1_tohost_bit3_int_clr( &mut self, ) -> HOST_SLC1_TOHOST_BIT3_INT_CLR_W { @@ -93,7 +89,6 @@ impl W { } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn host_slc1_tohost_bit4_int_clr( &mut self, ) -> HOST_SLC1_TOHOST_BIT4_INT_CLR_W { @@ -101,7 +96,6 @@ impl W { } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn host_slc1_tohost_bit5_int_clr( &mut self, ) -> HOST_SLC1_TOHOST_BIT5_INT_CLR_W { @@ -109,7 +103,6 @@ impl W { } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn host_slc1_tohost_bit6_int_clr( &mut self, ) -> HOST_SLC1_TOHOST_BIT6_INT_CLR_W { @@ -117,7 +110,6 @@ impl W { } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn host_slc1_tohost_bit7_int_clr( &mut self, ) -> HOST_SLC1_TOHOST_BIT7_INT_CLR_W { @@ -125,7 +117,6 @@ impl W { } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn host_slc1_token0_1to0_int_clr( &mut self, ) -> HOST_SLC1_TOKEN0_1TO0_INT_CLR_W { @@ -133,7 +124,6 @@ impl W { } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn host_slc1_token1_1to0_int_clr( &mut self, ) -> HOST_SLC1_TOKEN1_1TO0_INT_CLR_W { @@ -141,7 +131,6 @@ impl W { } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn host_slc1_token0_0to1_int_clr( &mut self, ) -> HOST_SLC1_TOKEN0_0TO1_INT_CLR_W { @@ -149,7 +138,6 @@ impl W { } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn host_slc1_token1_0to1_int_clr( &mut self, ) -> HOST_SLC1_TOKEN1_0TO1_INT_CLR_W { @@ -157,7 +145,6 @@ impl W { } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn host_slc1host_rx_sof_int_clr( &mut self, ) -> HOST_SLC1HOST_RX_SOF_INT_CLR_W { @@ -165,7 +152,6 @@ impl W { } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn host_slc1host_rx_eof_int_clr( &mut self, ) -> HOST_SLC1HOST_RX_EOF_INT_CLR_W { @@ -173,7 +159,6 @@ impl W { } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn host_slc1host_rx_start_int_clr( &mut self, ) -> HOST_SLC1HOST_RX_START_INT_CLR_W { @@ -181,7 +166,6 @@ impl W { } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn host_slc1host_tx_start_int_clr( &mut self, ) -> HOST_SLC1HOST_TX_START_INT_CLR_W { @@ -189,7 +173,6 @@ impl W { } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn host_slc1_rx_udf_int_clr( &mut self, ) -> HOST_SLC1_RX_UDF_INT_CLR_W { @@ -197,7 +180,6 @@ impl W { } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn host_slc1_tx_ovf_int_clr( &mut self, ) -> HOST_SLC1_TX_OVF_INT_CLR_W { @@ -205,7 +187,6 @@ impl W { } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn host_slc1_rx_pf_valid_int_clr( &mut self, ) -> HOST_SLC1_RX_PF_VALID_INT_CLR_W { @@ -213,7 +194,6 @@ impl W { } #[doc = "Bit 19"] #[inline(always)] - #[must_use] pub fn host_slc1_ext_bit0_int_clr( &mut self, ) -> HOST_SLC1_EXT_BIT0_INT_CLR_W { @@ -221,7 +201,6 @@ impl W { } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn host_slc1_ext_bit1_int_clr( &mut self, ) -> HOST_SLC1_EXT_BIT1_INT_CLR_W { @@ -229,7 +208,6 @@ impl W { } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn host_slc1_ext_bit2_int_clr( &mut self, ) -> HOST_SLC1_EXT_BIT2_INT_CLR_W { @@ -237,7 +215,6 @@ impl W { } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn host_slc1_ext_bit3_int_clr( &mut self, ) -> HOST_SLC1_EXT_BIT3_INT_CLR_W { @@ -245,7 +222,6 @@ impl W { } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn host_slc1_wifi_rx_new_packet_int_clr( &mut self, ) -> HOST_SLC1_WIFI_RX_NEW_PACKET_INT_CLR_W { @@ -253,7 +229,6 @@ impl W { } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn host_slc1_host_rd_retry_int_clr( &mut self, ) -> HOST_SLC1_HOST_RD_RETRY_INT_CLR_W { @@ -261,7 +236,6 @@ impl W { } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn host_slc1_bt_rx_new_packet_int_clr( &mut self, ) -> HOST_SLC1_BT_RX_NEW_PACKET_INT_CLR_W { diff --git a/esp32/src/slchost/host_slc1host_int_ena.rs b/esp32/src/slchost/host_slc1host_int_ena.rs index ad697a0ed2..8f68a7adbb 100644 --- a/esp32/src/slchost/host_slc1host_int_ena.rs +++ b/esp32/src/slchost/host_slc1host_int_ena.rs @@ -346,7 +346,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn host_slc1_tohost_bit0_int_ena( &mut self, ) -> HOST_SLC1_TOHOST_BIT0_INT_ENA_W { @@ -354,7 +353,6 @@ impl W { } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn host_slc1_tohost_bit1_int_ena( &mut self, ) -> HOST_SLC1_TOHOST_BIT1_INT_ENA_W { @@ -362,7 +360,6 @@ impl W { } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn host_slc1_tohost_bit2_int_ena( &mut self, ) -> HOST_SLC1_TOHOST_BIT2_INT_ENA_W { @@ -370,7 +367,6 @@ impl W { } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn host_slc1_tohost_bit3_int_ena( &mut self, ) -> HOST_SLC1_TOHOST_BIT3_INT_ENA_W { @@ -378,7 +374,6 @@ impl W { } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn host_slc1_tohost_bit4_int_ena( &mut self, ) -> HOST_SLC1_TOHOST_BIT4_INT_ENA_W { @@ -386,7 +381,6 @@ impl W { } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn host_slc1_tohost_bit5_int_ena( &mut self, ) -> HOST_SLC1_TOHOST_BIT5_INT_ENA_W { @@ -394,7 +388,6 @@ impl W { } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn host_slc1_tohost_bit6_int_ena( &mut self, ) -> HOST_SLC1_TOHOST_BIT6_INT_ENA_W { @@ -402,7 +395,6 @@ impl W { } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn host_slc1_tohost_bit7_int_ena( &mut self, ) -> HOST_SLC1_TOHOST_BIT7_INT_ENA_W { @@ -410,7 +402,6 @@ impl W { } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn host_slc1_token0_1to0_int_ena( &mut self, ) -> HOST_SLC1_TOKEN0_1TO0_INT_ENA_W { @@ -418,7 +409,6 @@ impl W { } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn host_slc1_token1_1to0_int_ena( &mut self, ) -> HOST_SLC1_TOKEN1_1TO0_INT_ENA_W { @@ -426,7 +416,6 @@ impl W { } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn host_slc1_token0_0to1_int_ena( &mut self, ) -> HOST_SLC1_TOKEN0_0TO1_INT_ENA_W { @@ -434,7 +423,6 @@ impl W { } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn host_slc1_token1_0to1_int_ena( &mut self, ) -> HOST_SLC1_TOKEN1_0TO1_INT_ENA_W { @@ -442,7 +430,6 @@ impl W { } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn host_slc1host_rx_sof_int_ena( &mut self, ) -> HOST_SLC1HOST_RX_SOF_INT_ENA_W { @@ -450,7 +437,6 @@ impl W { } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn host_slc1host_rx_eof_int_ena( &mut self, ) -> HOST_SLC1HOST_RX_EOF_INT_ENA_W { @@ -458,7 +444,6 @@ impl W { } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn host_slc1host_rx_start_int_ena( &mut self, ) -> HOST_SLC1HOST_RX_START_INT_ENA_W { @@ -466,7 +451,6 @@ impl W { } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn host_slc1host_tx_start_int_ena( &mut self, ) -> HOST_SLC1HOST_TX_START_INT_ENA_W { @@ -474,7 +458,6 @@ impl W { } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn host_slc1_rx_udf_int_ena( &mut self, ) -> HOST_SLC1_RX_UDF_INT_ENA_W { @@ -482,7 +465,6 @@ impl W { } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn host_slc1_tx_ovf_int_ena( &mut self, ) -> HOST_SLC1_TX_OVF_INT_ENA_W { @@ -490,7 +472,6 @@ impl W { } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn host_slc1_rx_pf_valid_int_ena( &mut self, ) -> HOST_SLC1_RX_PF_VALID_INT_ENA_W { @@ -498,7 +479,6 @@ impl W { } #[doc = "Bit 19"] #[inline(always)] - #[must_use] pub fn host_slc1_ext_bit0_int_ena( &mut self, ) -> HOST_SLC1_EXT_BIT0_INT_ENA_W { @@ -506,7 +486,6 @@ impl W { } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn host_slc1_ext_bit1_int_ena( &mut self, ) -> HOST_SLC1_EXT_BIT1_INT_ENA_W { @@ -514,7 +493,6 @@ impl W { } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn host_slc1_ext_bit2_int_ena( &mut self, ) -> HOST_SLC1_EXT_BIT2_INT_ENA_W { @@ -522,7 +500,6 @@ impl W { } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn host_slc1_ext_bit3_int_ena( &mut self, ) -> HOST_SLC1_EXT_BIT3_INT_ENA_W { @@ -530,7 +507,6 @@ impl W { } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn host_slc1_wifi_rx_new_packet_int_ena( &mut self, ) -> HOST_SLC1_WIFI_RX_NEW_PACKET_INT_ENA_W { @@ -538,7 +514,6 @@ impl W { } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn host_slc1_host_rd_retry_int_ena( &mut self, ) -> HOST_SLC1_HOST_RD_RETRY_INT_ENA_W { @@ -546,7 +521,6 @@ impl W { } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn host_slc1_bt_rx_new_packet_int_ena( &mut self, ) -> HOST_SLC1_BT_RX_NEW_PACKET_INT_ENA_W { diff --git a/esp32/src/slchost/host_slc1host_int_ena1.rs b/esp32/src/slchost/host_slc1host_int_ena1.rs index b41f9b0311..d3cabe2fc8 100644 --- a/esp32/src/slchost/host_slc1host_int_ena1.rs +++ b/esp32/src/slchost/host_slc1host_int_ena1.rs @@ -352,7 +352,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn host_slc1_tohost_bit0_int_ena1( &mut self, ) -> HOST_SLC1_TOHOST_BIT0_INT_ENA1_W { @@ -360,7 +359,6 @@ impl W { } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn host_slc1_tohost_bit1_int_ena1( &mut self, ) -> HOST_SLC1_TOHOST_BIT1_INT_ENA1_W { @@ -368,7 +366,6 @@ impl W { } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn host_slc1_tohost_bit2_int_ena1( &mut self, ) -> HOST_SLC1_TOHOST_BIT2_INT_ENA1_W { @@ -376,7 +373,6 @@ impl W { } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn host_slc1_tohost_bit3_int_ena1( &mut self, ) -> HOST_SLC1_TOHOST_BIT3_INT_ENA1_W { @@ -384,7 +380,6 @@ impl W { } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn host_slc1_tohost_bit4_int_ena1( &mut self, ) -> HOST_SLC1_TOHOST_BIT4_INT_ENA1_W { @@ -392,7 +387,6 @@ impl W { } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn host_slc1_tohost_bit5_int_ena1( &mut self, ) -> HOST_SLC1_TOHOST_BIT5_INT_ENA1_W { @@ -400,7 +394,6 @@ impl W { } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn host_slc1_tohost_bit6_int_ena1( &mut self, ) -> HOST_SLC1_TOHOST_BIT6_INT_ENA1_W { @@ -408,7 +401,6 @@ impl W { } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn host_slc1_tohost_bit7_int_ena1( &mut self, ) -> HOST_SLC1_TOHOST_BIT7_INT_ENA1_W { @@ -416,7 +408,6 @@ impl W { } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn host_slc1_token0_1to0_int_ena1( &mut self, ) -> HOST_SLC1_TOKEN0_1TO0_INT_ENA1_W { @@ -424,7 +415,6 @@ impl W { } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn host_slc1_token1_1to0_int_ena1( &mut self, ) -> HOST_SLC1_TOKEN1_1TO0_INT_ENA1_W { @@ -432,7 +422,6 @@ impl W { } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn host_slc1_token0_0to1_int_ena1( &mut self, ) -> HOST_SLC1_TOKEN0_0TO1_INT_ENA1_W { @@ -440,7 +429,6 @@ impl W { } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn host_slc1_token1_0to1_int_ena1( &mut self, ) -> HOST_SLC1_TOKEN1_0TO1_INT_ENA1_W { @@ -448,7 +436,6 @@ impl W { } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn host_slc1host_rx_sof_int_ena1( &mut self, ) -> HOST_SLC1HOST_RX_SOF_INT_ENA1_W { @@ -456,7 +443,6 @@ impl W { } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn host_slc1host_rx_eof_int_ena1( &mut self, ) -> HOST_SLC1HOST_RX_EOF_INT_ENA1_W { @@ -464,7 +450,6 @@ impl W { } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn host_slc1host_rx_start_int_ena1( &mut self, ) -> HOST_SLC1HOST_RX_START_INT_ENA1_W { @@ -472,7 +457,6 @@ impl W { } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn host_slc1host_tx_start_int_ena1( &mut self, ) -> HOST_SLC1HOST_TX_START_INT_ENA1_W { @@ -480,7 +464,6 @@ impl W { } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn host_slc1_rx_udf_int_ena1( &mut self, ) -> HOST_SLC1_RX_UDF_INT_ENA1_W { @@ -488,7 +471,6 @@ impl W { } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn host_slc1_tx_ovf_int_ena1( &mut self, ) -> HOST_SLC1_TX_OVF_INT_ENA1_W { @@ -496,7 +478,6 @@ impl W { } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn host_slc1_rx_pf_valid_int_ena1( &mut self, ) -> HOST_SLC1_RX_PF_VALID_INT_ENA1_W { @@ -504,7 +485,6 @@ impl W { } #[doc = "Bit 19"] #[inline(always)] - #[must_use] pub fn host_slc1_ext_bit0_int_ena1( &mut self, ) -> HOST_SLC1_EXT_BIT0_INT_ENA1_W { @@ -512,7 +492,6 @@ impl W { } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn host_slc1_ext_bit1_int_ena1( &mut self, ) -> HOST_SLC1_EXT_BIT1_INT_ENA1_W { @@ -520,7 +499,6 @@ impl W { } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn host_slc1_ext_bit2_int_ena1( &mut self, ) -> HOST_SLC1_EXT_BIT2_INT_ENA1_W { @@ -528,7 +506,6 @@ impl W { } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn host_slc1_ext_bit3_int_ena1( &mut self, ) -> HOST_SLC1_EXT_BIT3_INT_ENA1_W { @@ -536,7 +513,6 @@ impl W { } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn host_slc1_wifi_rx_new_packet_int_ena1( &mut self, ) -> HOST_SLC1_WIFI_RX_NEW_PACKET_INT_ENA1_W { @@ -544,7 +520,6 @@ impl W { } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn host_slc1_host_rd_retry_int_ena1( &mut self, ) -> HOST_SLC1_HOST_RD_RETRY_INT_ENA1_W { @@ -552,7 +527,6 @@ impl W { } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn host_slc1_bt_rx_new_packet_int_ena1( &mut self, ) -> HOST_SLC1_BT_RX_NEW_PACKET_INT_ENA1_W { diff --git a/esp32/src/slchost/host_slc1host_rx_infor.rs b/esp32/src/slchost/host_slc1host_rx_infor.rs index 28a698e851..05439e9a32 100644 --- a/esp32/src/slchost/host_slc1host_rx_infor.rs +++ b/esp32/src/slchost/host_slc1host_rx_infor.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19"] #[inline(always)] - #[must_use] pub fn host_slc1host_rx_infor( &mut self, ) -> HOST_SLC1HOST_RX_INFOR_W { diff --git a/esp32/src/slchost/host_slc1host_token_wdata.rs b/esp32/src/slchost/host_slc1host_token_wdata.rs index a555aa8e24..15555aebc4 100644 --- a/esp32/src/slchost/host_slc1host_token_wdata.rs +++ b/esp32/src/slchost/host_slc1host_token_wdata.rs @@ -34,7 +34,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11"] #[inline(always)] - #[must_use] pub fn host_slc1host_token0_wd( &mut self, ) -> HOST_SLC1HOST_TOKEN0_WD_W { @@ -42,7 +41,6 @@ impl W { } #[doc = "Bits 16:27"] #[inline(always)] - #[must_use] pub fn host_slc1host_token1_wd( &mut self, ) -> HOST_SLC1HOST_TOKEN1_WD_W { diff --git a/esp32/src/slchost/host_slc_apbwin_conf.rs b/esp32/src/slchost/host_slc_apbwin_conf.rs index 79433e4120..f41a03555b 100644 --- a/esp32/src/slchost/host_slc_apbwin_conf.rs +++ b/esp32/src/slchost/host_slc_apbwin_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27"] #[inline(always)] - #[must_use] pub fn host_slc_apbwin_addr(&mut self) -> HOST_SLC_APBWIN_ADDR_W { HOST_SLC_APBWIN_ADDR_W::new(self, 0) } #[doc = "Bit 28"] #[inline(always)] - #[must_use] pub fn host_slc_apbwin_wr(&mut self) -> HOST_SLC_APBWIN_WR_W { HOST_SLC_APBWIN_WR_W::new(self, 28) } #[doc = "Bit 29"] #[inline(always)] - #[must_use] pub fn host_slc_apbwin_start(&mut self) -> HOST_SLC_APBWIN_START_W { HOST_SLC_APBWIN_START_W::new(self, 29) } diff --git a/esp32/src/slchost/host_slc_apbwin_wdata.rs b/esp32/src/slchost/host_slc_apbwin_wdata.rs index 8b30e21885..6b4fb890fd 100644 --- a/esp32/src/slchost/host_slc_apbwin_wdata.rs +++ b/esp32/src/slchost/host_slc_apbwin_wdata.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn host_slc_apbwin_wdata(&mut self) -> HOST_SLC_APBWIN_WDATA_W { HOST_SLC_APBWIN_WDATA_W::new(self, 0) } diff --git a/esp32/src/slchost/host_slchost_conf.rs b/esp32/src/slchost/host_slchost_conf.rs index 7a0d7672bf..a5b20451d7 100644 --- a/esp32/src/slchost/host_slchost_conf.rs +++ b/esp32/src/slchost/host_slchost_conf.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn host_frc_sdio11(&mut self) -> HOST_FRC_SDIO11_W { HOST_FRC_SDIO11_W::new(self, 0) } #[doc = "Bits 5:9"] #[inline(always)] - #[must_use] pub fn host_frc_sdio20(&mut self) -> HOST_FRC_SDIO20_W { HOST_FRC_SDIO20_W::new(self, 5) } #[doc = "Bits 10:14"] #[inline(always)] - #[must_use] pub fn host_frc_neg_samp(&mut self) -> HOST_FRC_NEG_SAMP_W { HOST_FRC_NEG_SAMP_W::new(self, 10) } #[doc = "Bits 15:19"] #[inline(always)] - #[must_use] pub fn host_frc_pos_samp(&mut self) -> HOST_FRC_POS_SAMP_W { HOST_FRC_POS_SAMP_W::new(self, 15) } #[doc = "Bits 20:24"] #[inline(always)] - #[must_use] pub fn host_frc_quick_in(&mut self) -> HOST_FRC_QUICK_IN_W { HOST_FRC_QUICK_IN_W::new(self, 20) } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn host_sdio20_int_delay(&mut self) -> HOST_SDIO20_INT_DELAY_W { HOST_SDIO20_INT_DELAY_W::new(self, 25) } #[doc = "Bit 26"] #[inline(always)] - #[must_use] pub fn host_sdio_pad_pullup(&mut self) -> HOST_SDIO_PAD_PULLUP_W { HOST_SDIO_PAD_PULLUP_W::new(self, 26) } #[doc = "Bit 27"] #[inline(always)] - #[must_use] pub fn host_hspeed_con_en(&mut self) -> HOST_HSPEED_CON_EN_W { HOST_HSPEED_CON_EN_W::new(self, 27) } diff --git a/esp32/src/slchost/host_slchost_conf_w0.rs b/esp32/src/slchost/host_slchost_conf_w0.rs index 7c777fe086..d56950defe 100644 --- a/esp32/src/slchost/host_slchost_conf_w0.rs +++ b/esp32/src/slchost/host_slchost_conf_w0.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn host_slchost_conf0(&mut self) -> HOST_SLCHOST_CONF0_W { HOST_SLCHOST_CONF0_W::new(self, 0) } #[doc = "Bits 8:15"] #[inline(always)] - #[must_use] pub fn host_slchost_conf1(&mut self) -> HOST_SLCHOST_CONF1_W { HOST_SLCHOST_CONF1_W::new(self, 8) } #[doc = "Bits 16:23"] #[inline(always)] - #[must_use] pub fn host_slchost_conf2(&mut self) -> HOST_SLCHOST_CONF2_W { HOST_SLCHOST_CONF2_W::new(self, 16) } #[doc = "Bits 24:31"] #[inline(always)] - #[must_use] pub fn host_slchost_conf3(&mut self) -> HOST_SLCHOST_CONF3_W { HOST_SLCHOST_CONF3_W::new(self, 24) } diff --git a/esp32/src/slchost/host_slchost_conf_w1.rs b/esp32/src/slchost/host_slchost_conf_w1.rs index 94755c78aa..0cebcdad8b 100644 --- a/esp32/src/slchost/host_slchost_conf_w1.rs +++ b/esp32/src/slchost/host_slchost_conf_w1.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn host_slchost_conf4(&mut self) -> HOST_SLCHOST_CONF4_W { HOST_SLCHOST_CONF4_W::new(self, 0) } #[doc = "Bits 8:15"] #[inline(always)] - #[must_use] pub fn host_slchost_conf5(&mut self) -> HOST_SLCHOST_CONF5_W { HOST_SLCHOST_CONF5_W::new(self, 8) } #[doc = "Bits 16:23"] #[inline(always)] - #[must_use] pub fn host_slchost_conf6(&mut self) -> HOST_SLCHOST_CONF6_W { HOST_SLCHOST_CONF6_W::new(self, 16) } #[doc = "Bits 24:31"] #[inline(always)] - #[must_use] pub fn host_slchost_conf7(&mut self) -> HOST_SLCHOST_CONF7_W { HOST_SLCHOST_CONF7_W::new(self, 24) } diff --git a/esp32/src/slchost/host_slchost_conf_w10.rs b/esp32/src/slchost/host_slchost_conf_w10.rs index 6736f69404..e1e19115e0 100644 --- a/esp32/src/slchost/host_slchost_conf_w10.rs +++ b/esp32/src/slchost/host_slchost_conf_w10.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn host_slchost_conf40(&mut self) -> HOST_SLCHOST_CONF40_W { HOST_SLCHOST_CONF40_W::new(self, 0) } #[doc = "Bits 8:15"] #[inline(always)] - #[must_use] pub fn host_slchost_conf41(&mut self) -> HOST_SLCHOST_CONF41_W { HOST_SLCHOST_CONF41_W::new(self, 8) } #[doc = "Bits 16:23"] #[inline(always)] - #[must_use] pub fn host_slchost_conf42(&mut self) -> HOST_SLCHOST_CONF42_W { HOST_SLCHOST_CONF42_W::new(self, 16) } #[doc = "Bits 24:31"] #[inline(always)] - #[must_use] pub fn host_slchost_conf43(&mut self) -> HOST_SLCHOST_CONF43_W { HOST_SLCHOST_CONF43_W::new(self, 24) } diff --git a/esp32/src/slchost/host_slchost_conf_w11.rs b/esp32/src/slchost/host_slchost_conf_w11.rs index ab3db6767d..18c63c45e5 100644 --- a/esp32/src/slchost/host_slchost_conf_w11.rs +++ b/esp32/src/slchost/host_slchost_conf_w11.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn host_slchost_conf44(&mut self) -> HOST_SLCHOST_CONF44_W { HOST_SLCHOST_CONF44_W::new(self, 0) } #[doc = "Bits 8:15"] #[inline(always)] - #[must_use] pub fn host_slchost_conf45(&mut self) -> HOST_SLCHOST_CONF45_W { HOST_SLCHOST_CONF45_W::new(self, 8) } #[doc = "Bits 16:23"] #[inline(always)] - #[must_use] pub fn host_slchost_conf46(&mut self) -> HOST_SLCHOST_CONF46_W { HOST_SLCHOST_CONF46_W::new(self, 16) } #[doc = "Bits 24:31"] #[inline(always)] - #[must_use] pub fn host_slchost_conf47(&mut self) -> HOST_SLCHOST_CONF47_W { HOST_SLCHOST_CONF47_W::new(self, 24) } diff --git a/esp32/src/slchost/host_slchost_conf_w12.rs b/esp32/src/slchost/host_slchost_conf_w12.rs index 4c651bbfd4..98ac8bd5e5 100644 --- a/esp32/src/slchost/host_slchost_conf_w12.rs +++ b/esp32/src/slchost/host_slchost_conf_w12.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn host_slchost_conf48(&mut self) -> HOST_SLCHOST_CONF48_W { HOST_SLCHOST_CONF48_W::new(self, 0) } #[doc = "Bits 8:15"] #[inline(always)] - #[must_use] pub fn host_slchost_conf49(&mut self) -> HOST_SLCHOST_CONF49_W { HOST_SLCHOST_CONF49_W::new(self, 8) } #[doc = "Bits 16:23"] #[inline(always)] - #[must_use] pub fn host_slchost_conf50(&mut self) -> HOST_SLCHOST_CONF50_W { HOST_SLCHOST_CONF50_W::new(self, 16) } #[doc = "Bits 24:31"] #[inline(always)] - #[must_use] pub fn host_slchost_conf51(&mut self) -> HOST_SLCHOST_CONF51_W { HOST_SLCHOST_CONF51_W::new(self, 24) } diff --git a/esp32/src/slchost/host_slchost_conf_w13.rs b/esp32/src/slchost/host_slchost_conf_w13.rs index 2ede77517a..39ed285563 100644 --- a/esp32/src/slchost/host_slchost_conf_w13.rs +++ b/esp32/src/slchost/host_slchost_conf_w13.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn host_slchost_conf52(&mut self) -> HOST_SLCHOST_CONF52_W { HOST_SLCHOST_CONF52_W::new(self, 0) } #[doc = "Bits 8:15"] #[inline(always)] - #[must_use] pub fn host_slchost_conf53(&mut self) -> HOST_SLCHOST_CONF53_W { HOST_SLCHOST_CONF53_W::new(self, 8) } #[doc = "Bits 16:23"] #[inline(always)] - #[must_use] pub fn host_slchost_conf54(&mut self) -> HOST_SLCHOST_CONF54_W { HOST_SLCHOST_CONF54_W::new(self, 16) } #[doc = "Bits 24:31"] #[inline(always)] - #[must_use] pub fn host_slchost_conf55(&mut self) -> HOST_SLCHOST_CONF55_W { HOST_SLCHOST_CONF55_W::new(self, 24) } diff --git a/esp32/src/slchost/host_slchost_conf_w14.rs b/esp32/src/slchost/host_slchost_conf_w14.rs index 4731ce8e34..6ba0a3b57a 100644 --- a/esp32/src/slchost/host_slchost_conf_w14.rs +++ b/esp32/src/slchost/host_slchost_conf_w14.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn host_slchost_conf56(&mut self) -> HOST_SLCHOST_CONF56_W { HOST_SLCHOST_CONF56_W::new(self, 0) } #[doc = "Bits 8:15"] #[inline(always)] - #[must_use] pub fn host_slchost_conf57(&mut self) -> HOST_SLCHOST_CONF57_W { HOST_SLCHOST_CONF57_W::new(self, 8) } #[doc = "Bits 16:23"] #[inline(always)] - #[must_use] pub fn host_slchost_conf58(&mut self) -> HOST_SLCHOST_CONF58_W { HOST_SLCHOST_CONF58_W::new(self, 16) } #[doc = "Bits 24:31"] #[inline(always)] - #[must_use] pub fn host_slchost_conf59(&mut self) -> HOST_SLCHOST_CONF59_W { HOST_SLCHOST_CONF59_W::new(self, 24) } diff --git a/esp32/src/slchost/host_slchost_conf_w15.rs b/esp32/src/slchost/host_slchost_conf_w15.rs index d11107833f..2f859b4e08 100644 --- a/esp32/src/slchost/host_slchost_conf_w15.rs +++ b/esp32/src/slchost/host_slchost_conf_w15.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn host_slchost_conf60(&mut self) -> HOST_SLCHOST_CONF60_W { HOST_SLCHOST_CONF60_W::new(self, 0) } #[doc = "Bits 8:15"] #[inline(always)] - #[must_use] pub fn host_slchost_conf61(&mut self) -> HOST_SLCHOST_CONF61_W { HOST_SLCHOST_CONF61_W::new(self, 8) } #[doc = "Bits 16:23"] #[inline(always)] - #[must_use] pub fn host_slchost_conf62(&mut self) -> HOST_SLCHOST_CONF62_W { HOST_SLCHOST_CONF62_W::new(self, 16) } #[doc = "Bits 24:31"] #[inline(always)] - #[must_use] pub fn host_slchost_conf63(&mut self) -> HOST_SLCHOST_CONF63_W { HOST_SLCHOST_CONF63_W::new(self, 24) } diff --git a/esp32/src/slchost/host_slchost_conf_w2.rs b/esp32/src/slchost/host_slchost_conf_w2.rs index 6a2032fd2f..040371e133 100644 --- a/esp32/src/slchost/host_slchost_conf_w2.rs +++ b/esp32/src/slchost/host_slchost_conf_w2.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn host_slchost_conf8(&mut self) -> HOST_SLCHOST_CONF8_W { HOST_SLCHOST_CONF8_W::new(self, 0) } #[doc = "Bits 8:15"] #[inline(always)] - #[must_use] pub fn host_slchost_conf9(&mut self) -> HOST_SLCHOST_CONF9_W { HOST_SLCHOST_CONF9_W::new(self, 8) } #[doc = "Bits 16:23"] #[inline(always)] - #[must_use] pub fn host_slchost_conf10(&mut self) -> HOST_SLCHOST_CONF10_W { HOST_SLCHOST_CONF10_W::new(self, 16) } #[doc = "Bits 24:31"] #[inline(always)] - #[must_use] pub fn host_slchost_conf11(&mut self) -> HOST_SLCHOST_CONF11_W { HOST_SLCHOST_CONF11_W::new(self, 24) } diff --git a/esp32/src/slchost/host_slchost_conf_w3.rs b/esp32/src/slchost/host_slchost_conf_w3.rs index 9877471931..4d0d95dea5 100644 --- a/esp32/src/slchost/host_slchost_conf_w3.rs +++ b/esp32/src/slchost/host_slchost_conf_w3.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn host_slchost_conf12(&mut self) -> HOST_SLCHOST_CONF12_W { HOST_SLCHOST_CONF12_W::new(self, 0) } #[doc = "Bits 8:15"] #[inline(always)] - #[must_use] pub fn host_slchost_conf13(&mut self) -> HOST_SLCHOST_CONF13_W { HOST_SLCHOST_CONF13_W::new(self, 8) } #[doc = "Bits 16:23"] #[inline(always)] - #[must_use] pub fn host_slchost_conf14(&mut self) -> HOST_SLCHOST_CONF14_W { HOST_SLCHOST_CONF14_W::new(self, 16) } #[doc = "Bits 24:31"] #[inline(always)] - #[must_use] pub fn host_slchost_conf15(&mut self) -> HOST_SLCHOST_CONF15_W { HOST_SLCHOST_CONF15_W::new(self, 24) } diff --git a/esp32/src/slchost/host_slchost_conf_w4.rs b/esp32/src/slchost/host_slchost_conf_w4.rs index ae3857922a..39fe08b40f 100644 --- a/esp32/src/slchost/host_slchost_conf_w4.rs +++ b/esp32/src/slchost/host_slchost_conf_w4.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - SLC timeout value"] #[inline(always)] - #[must_use] pub fn host_slchost_conf16(&mut self) -> HOST_SLCHOST_CONF16_W { HOST_SLCHOST_CONF16_W::new(self, 0) } #[doc = "Bits 8:15 - SLC timeout enable"] #[inline(always)] - #[must_use] pub fn host_slchost_conf17(&mut self) -> HOST_SLCHOST_CONF17_W { HOST_SLCHOST_CONF17_W::new(self, 8) } #[doc = "Bits 16:23"] #[inline(always)] - #[must_use] pub fn host_slchost_conf18(&mut self) -> HOST_SLCHOST_CONF18_W { HOST_SLCHOST_CONF18_W::new(self, 16) } #[doc = "Bits 24:31 - Interrupt to target CPU"] #[inline(always)] - #[must_use] pub fn host_slchost_conf19(&mut self) -> HOST_SLCHOST_CONF19_W { HOST_SLCHOST_CONF19_W::new(self, 24) } diff --git a/esp32/src/slchost/host_slchost_conf_w5.rs b/esp32/src/slchost/host_slchost_conf_w5.rs index bac07d9e10..b98ef7af85 100644 --- a/esp32/src/slchost/host_slchost_conf_w5.rs +++ b/esp32/src/slchost/host_slchost_conf_w5.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn host_slchost_conf20(&mut self) -> HOST_SLCHOST_CONF20_W { HOST_SLCHOST_CONF20_W::new(self, 0) } #[doc = "Bits 8:15"] #[inline(always)] - #[must_use] pub fn host_slchost_conf21(&mut self) -> HOST_SLCHOST_CONF21_W { HOST_SLCHOST_CONF21_W::new(self, 8) } #[doc = "Bits 16:23"] #[inline(always)] - #[must_use] pub fn host_slchost_conf22(&mut self) -> HOST_SLCHOST_CONF22_W { HOST_SLCHOST_CONF22_W::new(self, 16) } #[doc = "Bits 24:31"] #[inline(always)] - #[must_use] pub fn host_slchost_conf23(&mut self) -> HOST_SLCHOST_CONF23_W { HOST_SLCHOST_CONF23_W::new(self, 24) } diff --git a/esp32/src/slchost/host_slchost_conf_w6.rs b/esp32/src/slchost/host_slchost_conf_w6.rs index 1e7c219184..f5010e704d 100644 --- a/esp32/src/slchost/host_slchost_conf_w6.rs +++ b/esp32/src/slchost/host_slchost_conf_w6.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn host_slchost_conf24(&mut self) -> HOST_SLCHOST_CONF24_W { HOST_SLCHOST_CONF24_W::new(self, 0) } #[doc = "Bits 8:15"] #[inline(always)] - #[must_use] pub fn host_slchost_conf25(&mut self) -> HOST_SLCHOST_CONF25_W { HOST_SLCHOST_CONF25_W::new(self, 8) } #[doc = "Bits 16:23"] #[inline(always)] - #[must_use] pub fn host_slchost_conf26(&mut self) -> HOST_SLCHOST_CONF26_W { HOST_SLCHOST_CONF26_W::new(self, 16) } #[doc = "Bits 24:31"] #[inline(always)] - #[must_use] pub fn host_slchost_conf27(&mut self) -> HOST_SLCHOST_CONF27_W { HOST_SLCHOST_CONF27_W::new(self, 24) } diff --git a/esp32/src/slchost/host_slchost_conf_w7.rs b/esp32/src/slchost/host_slchost_conf_w7.rs index 2411c1f26d..e33fb3f713 100644 --- a/esp32/src/slchost/host_slchost_conf_w7.rs +++ b/esp32/src/slchost/host_slchost_conf_w7.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn host_slchost_conf28(&mut self) -> HOST_SLCHOST_CONF28_W { HOST_SLCHOST_CONF28_W::new(self, 0) } #[doc = "Bits 8:15"] #[inline(always)] - #[must_use] pub fn host_slchost_conf29(&mut self) -> HOST_SLCHOST_CONF29_W { HOST_SLCHOST_CONF29_W::new(self, 8) } #[doc = "Bits 16:23"] #[inline(always)] - #[must_use] pub fn host_slchost_conf30(&mut self) -> HOST_SLCHOST_CONF30_W { HOST_SLCHOST_CONF30_W::new(self, 16) } #[doc = "Bits 24:31"] #[inline(always)] - #[must_use] pub fn host_slchost_conf31(&mut self) -> HOST_SLCHOST_CONF31_W { HOST_SLCHOST_CONF31_W::new(self, 24) } diff --git a/esp32/src/slchost/host_slchost_conf_w8.rs b/esp32/src/slchost/host_slchost_conf_w8.rs index a7147098aa..7cf4179f77 100644 --- a/esp32/src/slchost/host_slchost_conf_w8.rs +++ b/esp32/src/slchost/host_slchost_conf_w8.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn host_slchost_conf32(&mut self) -> HOST_SLCHOST_CONF32_W { HOST_SLCHOST_CONF32_W::new(self, 0) } #[doc = "Bits 8:15"] #[inline(always)] - #[must_use] pub fn host_slchost_conf33(&mut self) -> HOST_SLCHOST_CONF33_W { HOST_SLCHOST_CONF33_W::new(self, 8) } #[doc = "Bits 16:23"] #[inline(always)] - #[must_use] pub fn host_slchost_conf34(&mut self) -> HOST_SLCHOST_CONF34_W { HOST_SLCHOST_CONF34_W::new(self, 16) } #[doc = "Bits 24:31"] #[inline(always)] - #[must_use] pub fn host_slchost_conf35(&mut self) -> HOST_SLCHOST_CONF35_W { HOST_SLCHOST_CONF35_W::new(self, 24) } diff --git a/esp32/src/slchost/host_slchost_conf_w9.rs b/esp32/src/slchost/host_slchost_conf_w9.rs index e4e8ccd352..49166b2e1c 100644 --- a/esp32/src/slchost/host_slchost_conf_w9.rs +++ b/esp32/src/slchost/host_slchost_conf_w9.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn host_slchost_conf36(&mut self) -> HOST_SLCHOST_CONF36_W { HOST_SLCHOST_CONF36_W::new(self, 0) } #[doc = "Bits 8:15"] #[inline(always)] - #[must_use] pub fn host_slchost_conf37(&mut self) -> HOST_SLCHOST_CONF37_W { HOST_SLCHOST_CONF37_W::new(self, 8) } #[doc = "Bits 16:23"] #[inline(always)] - #[must_use] pub fn host_slchost_conf38(&mut self) -> HOST_SLCHOST_CONF38_W { HOST_SLCHOST_CONF38_W::new(self, 16) } #[doc = "Bits 24:31"] #[inline(always)] - #[must_use] pub fn host_slchost_conf39(&mut self) -> HOST_SLCHOST_CONF39_W { HOST_SLCHOST_CONF39_W::new(self, 24) } diff --git a/esp32/src/slchost/host_slchost_func2_0.rs b/esp32/src/slchost/host_slchost_func2_0.rs index 412caafdb9..509ffa33e0 100644 --- a/esp32/src/slchost/host_slchost_func2_0.rs +++ b/esp32/src/slchost/host_slchost_func2_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn host_slc_func2_int(&mut self) -> HOST_SLC_FUNC2_INT_W { HOST_SLC_FUNC2_INT_W::new(self, 24) } diff --git a/esp32/src/slchost/host_slchost_func2_1.rs b/esp32/src/slchost/host_slchost_func2_1.rs index b6f7be3410..ac46223834 100644 --- a/esp32/src/slchost/host_slchost_func2_1.rs +++ b/esp32/src/slchost/host_slchost_func2_1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn host_slc_func2_int_en(&mut self) -> HOST_SLC_FUNC2_INT_EN_W { HOST_SLC_FUNC2_INT_EN_W::new(self, 0) } diff --git a/esp32/src/slchost/host_slchost_func2_2.rs b/esp32/src/slchost/host_slchost_func2_2.rs index 9d938a2ba4..ec730e96d1 100644 --- a/esp32/src/slchost/host_slchost_func2_2.rs +++ b/esp32/src/slchost/host_slchost_func2_2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn host_slc_func1_mdstat(&mut self) -> HOST_SLC_FUNC1_MDSTAT_W { HOST_SLC_FUNC1_MDSTAT_W::new(self, 0) } diff --git a/esp32/src/slchost/host_slchost_rdclr0.rs b/esp32/src/slchost/host_slchost_rdclr0.rs index cd9ff69774..849a8201f4 100644 --- a/esp32/src/slchost/host_slchost_rdclr0.rs +++ b/esp32/src/slchost/host_slchost_rdclr0.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8"] #[inline(always)] - #[must_use] pub fn host_slchost_slc0_bit7_clraddr( &mut self, ) -> HOST_SLCHOST_SLC0_BIT7_CLRADDR_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bits 9:17"] #[inline(always)] - #[must_use] pub fn host_slchost_slc0_bit6_clraddr( &mut self, ) -> HOST_SLCHOST_SLC0_BIT6_CLRADDR_W { diff --git a/esp32/src/slchost/host_slchost_rdclr1.rs b/esp32/src/slchost/host_slchost_rdclr1.rs index 3adbd91210..ebff758970 100644 --- a/esp32/src/slchost/host_slchost_rdclr1.rs +++ b/esp32/src/slchost/host_slchost_rdclr1.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8"] #[inline(always)] - #[must_use] pub fn host_slchost_slc1_bit7_clraddr( &mut self, ) -> HOST_SLCHOST_SLC1_BIT7_CLRADDR_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bits 9:17"] #[inline(always)] - #[must_use] pub fn host_slchost_slc1_bit6_clraddr( &mut self, ) -> HOST_SLCHOST_SLC1_BIT6_CLRADDR_W { diff --git a/esp32/src/slchost/host_slchost_token_con.rs b/esp32/src/slchost/host_slchost_token_con.rs index cb6b0069ef..75f20b6a75 100644 --- a/esp32/src/slchost/host_slchost_token_con.rs +++ b/esp32/src/slchost/host_slchost_token_con.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn host_slc0host_token0_dec( &mut self, ) -> HOST_SLC0HOST_TOKEN0_DEC_W { @@ -35,7 +34,6 @@ impl W { } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn host_slc0host_token1_dec( &mut self, ) -> HOST_SLC0HOST_TOKEN1_DEC_W { @@ -43,7 +41,6 @@ impl W { } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn host_slc0host_token0_wr( &mut self, ) -> HOST_SLC0HOST_TOKEN0_WR_W { @@ -51,7 +48,6 @@ impl W { } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn host_slc0host_token1_wr( &mut self, ) -> HOST_SLC0HOST_TOKEN1_WR_W { @@ -59,7 +55,6 @@ impl W { } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn host_slc1host_token0_dec( &mut self, ) -> HOST_SLC1HOST_TOKEN0_DEC_W { @@ -67,7 +62,6 @@ impl W { } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn host_slc1host_token1_dec( &mut self, ) -> HOST_SLC1HOST_TOKEN1_DEC_W { @@ -75,7 +69,6 @@ impl W { } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn host_slc1host_token0_wr( &mut self, ) -> HOST_SLC1HOST_TOKEN0_WR_W { @@ -83,7 +76,6 @@ impl W { } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn host_slc1host_token1_wr( &mut self, ) -> HOST_SLC1HOST_TOKEN1_WR_W { @@ -91,7 +83,6 @@ impl W { } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn host_slc0host_len_wr(&mut self) -> HOST_SLC0HOST_LEN_WR_W { HOST_SLC0HOST_LEN_WR_W::new(self, 8) } diff --git a/esp32/src/slchost/host_slchostdate.rs b/esp32/src/slchost/host_slchostdate.rs index 271a80bb21..b47474ba21 100644 --- a/esp32/src/slchost/host_slchostdate.rs +++ b/esp32/src/slchost/host_slchostdate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn host_slchost_date(&mut self) -> HOST_SLCHOST_DATE_W { HOST_SLCHOST_DATE_W::new(self, 0) } diff --git a/esp32/src/slchost/host_slchostid.rs b/esp32/src/slchost/host_slchostid.rs index 31dc2e103f..451c9a5fa4 100644 --- a/esp32/src/slchost/host_slchostid.rs +++ b/esp32/src/slchost/host_slchostid.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn host_slchost_id(&mut self) -> HOST_SLCHOST_ID_W { HOST_SLCHOST_ID_W::new(self, 0) } diff --git a/esp32/src/spi0/cache_fctrl.rs b/esp32/src/spi0/cache_fctrl.rs index faa2f9ec84..6ed0037980 100644 --- a/esp32/src/spi0/cache_fctrl.rs +++ b/esp32/src/spi0/cache_fctrl.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - For SPI0 Cache access enable 1: enable 0:disable."] #[inline(always)] - #[must_use] pub fn cache_req_en(&mut self) -> CACHE_REQ_EN_W { CACHE_REQ_EN_W::new(self, 0) } #[doc = "Bit 1 - For SPI0 cache read flash with 4 bytes command 1: enable 0:disable."] #[inline(always)] - #[must_use] pub fn cache_usr_cmd_4byte(&mut self) -> CACHE_USR_CMD_4BYTE_W { CACHE_USR_CMD_4BYTE_W::new(self, 1) } #[doc = "Bit 2 - For SPI0 cache read flash for user define command 1: enable 0:disable."] #[inline(always)] - #[must_use] pub fn cache_flash_usr_cmd(&mut self) -> CACHE_FLASH_USR_CMD_W { CACHE_FLASH_USR_CMD_W::new(self, 2) } #[doc = "Bit 3 - For SPI0 spi1 send suspend command before cache read flash 1: enable 0:disable."] #[inline(always)] - #[must_use] pub fn cache_flash_pes_en(&mut self) -> CACHE_FLASH_PES_EN_W { CACHE_FLASH_PES_EN_W::new(self, 3) } diff --git a/esp32/src/spi0/cache_sctrl.rs b/esp32/src/spi0/cache_sctrl.rs index 2187b1abff..271884f715 100644 --- a/esp32/src/spi0/cache_sctrl.rs +++ b/esp32/src/spi0/cache_sctrl.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - For SPI0 In the spi sram mode spi dual I/O mode enable 1: enable 0:disable"] #[inline(always)] - #[must_use] pub fn usr_sram_dio(&mut self) -> USR_SRAM_DIO_W { USR_SRAM_DIO_W::new(self, 1) } #[doc = "Bit 2 - For SPI0 In the spi sram mode spi quad I/O mode enable 1: enable 0:disable"] #[inline(always)] - #[must_use] pub fn usr_sram_qio(&mut self) -> USR_SRAM_QIO_W { USR_SRAM_QIO_W::new(self, 2) } #[doc = "Bit 3 - For SPI0 In the spi sram mode it is the enable bit of dummy phase for write operations."] #[inline(always)] - #[must_use] pub fn usr_wr_sram_dummy(&mut self) -> USR_WR_SRAM_DUMMY_W { USR_WR_SRAM_DUMMY_W::new(self, 3) } #[doc = "Bit 4 - For SPI0 In the spi sram mode it is the enable bit of dummy phase for read operations."] #[inline(always)] - #[must_use] pub fn usr_rd_sram_dummy(&mut self) -> USR_RD_SRAM_DUMMY_W { USR_RD_SRAM_DUMMY_W::new(self, 4) } #[doc = "Bit 5 - For SPI0 In the spi sram mode cache read sram for user define command."] #[inline(always)] - #[must_use] pub fn cache_sram_usr_rcmd(&mut self) -> CACHE_SRAM_USR_RCMD_W { CACHE_SRAM_USR_RCMD_W::new(self, 5) } #[doc = "Bits 6:13 - For SPI0 In the sram mode it is the byte length of spi read sram data."] #[inline(always)] - #[must_use] pub fn sram_bytes_len(&mut self) -> SRAM_BYTES_LEN_W { SRAM_BYTES_LEN_W::new(self, 6) } #[doc = "Bits 14:21 - For SPI0 In the sram mode it is the length in bits of address phase. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn sram_dummy_cyclelen(&mut self) -> SRAM_DUMMY_CYCLELEN_W { SRAM_DUMMY_CYCLELEN_W::new(self, 14) } #[doc = "Bits 22:27 - For SPI0 In the sram mode it is the length in bits of address phase. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn sram_addr_bitlen(&mut self) -> SRAM_ADDR_BITLEN_W { SRAM_ADDR_BITLEN_W::new(self, 22) } #[doc = "Bit 28 - For SPI0 In the spi sram mode cache write sram for user define command"] #[inline(always)] - #[must_use] pub fn cache_sram_usr_wcmd(&mut self) -> CACHE_SRAM_USR_WCMD_W { CACHE_SRAM_USR_WCMD_W::new(self, 28) } diff --git a/esp32/src/spi0/clock.rs b/esp32/src/spi0/clock.rs index edeb80b01a..cd9e547af7 100644 --- a/esp32/src/spi0/clock.rs +++ b/esp32/src/spi0/clock.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - In the master mode it must be equal to spi_clkcnt_N. In the slave mode it must be 0."] #[inline(always)] - #[must_use] pub fn clkcnt_l(&mut self) -> CLKCNT_L_W { CLKCNT_L_W::new(self, 0) } #[doc = "Bits 6:11 - In the master mode it must be floor((spi_clkcnt_N+1)/2-1). In the slave mode it must be 0."] #[inline(always)] - #[must_use] pub fn clkcnt_h(&mut self) -> CLKCNT_H_W { CLKCNT_H_W::new(self, 6) } #[doc = "Bits 12:17 - In the master mode it is the divider of spi_clk. So spi_clk frequency is system/(spi_clkdiv_pre+1)/(spi_clkcnt_N+1)"] #[inline(always)] - #[must_use] pub fn clkcnt_n(&mut self) -> CLKCNT_N_W { CLKCNT_N_W::new(self, 12) } #[doc = "Bits 18:30 - In the master mode it is pre-divider of spi_clk."] #[inline(always)] - #[must_use] pub fn clkdiv_pre(&mut self) -> CLKDIV_PRE_W { CLKDIV_PRE_W::new(self, 18) } #[doc = "Bit 31 - In the master mode 1: spi_clk is eqaul to system 0: spi_clk is divided from system clock."] #[inline(always)] - #[must_use] pub fn clk_equ_sysclk(&mut self) -> CLK_EQU_SYSCLK_W { CLK_EQU_SYSCLK_W::new(self, 31) } diff --git a/esp32/src/spi0/cmd.rs b/esp32/src/spi0/cmd.rs index afdb71895d..938a8b4cd5 100644 --- a/esp32/src/spi0/cmd.rs +++ b/esp32/src/spi0/cmd.rs @@ -174,97 +174,81 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 16 - program erase resume bit program erase suspend operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_per(&mut self) -> FLASH_PER_W { FLASH_PER_W::new(self, 16) } #[doc = "Bit 17 - program erase suspend bit program erase suspend operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_pes(&mut self) -> FLASH_PES_W { FLASH_PES_W::new(self, 17) } #[doc = "Bit 18 - User define command enable. An operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn usr(&mut self) -> USR_W { USR_W::new(self, 18) } #[doc = "Bit 19 - Drive Flash into high performance mode. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_hpm(&mut self) -> FLASH_HPM_W { FLASH_HPM_W::new(self, 19) } #[doc = "Bit 20 - This bit combined with reg_resandres bit releases Flash from the power-down state or high performance mode and obtains the devices ID. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_res(&mut self) -> FLASH_RES_W { FLASH_RES_W::new(self, 20) } #[doc = "Bit 21 - Drive Flash into power down. An operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_dp(&mut self) -> FLASH_DP_W { FLASH_DP_W::new(self, 21) } #[doc = "Bit 22 - Chip erase enable. Chip erase operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_ce(&mut self) -> FLASH_CE_W { FLASH_CE_W::new(self, 22) } #[doc = "Bit 23 - Block erase enable. A 64KB block is erased via SPI command D8H. Block erase operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_be(&mut self) -> FLASH_BE_W { FLASH_BE_W::new(self, 23) } #[doc = "Bit 24 - Sector erase enable. A 4KB sector is erased via SPI command 20H. Sector erase operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_se(&mut self) -> FLASH_SE_W { FLASH_SE_W::new(self, 24) } #[doc = "Bit 25 - Page program enable(1 byte ~256 bytes data to be programmed). Page program operation will be triggered when the bit is set. The bit will be cleared once the operation done .1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_pp(&mut self) -> FLASH_PP_W { FLASH_PP_W::new(self, 25) } #[doc = "Bit 26 - Write status register enable. Write status operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_wrsr(&mut self) -> FLASH_WRSR_W { FLASH_WRSR_W::new(self, 26) } #[doc = "Bit 27 - Read status register-1. Read status operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_rdsr(&mut self) -> FLASH_RDSR_W { FLASH_RDSR_W::new(self, 27) } #[doc = "Bit 28 - Read JEDEC ID . Read ID command will be sent when the bit is set. The bit will be cleared once the operation done. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_rdid(&mut self) -> FLASH_RDID_W { FLASH_RDID_W::new(self, 28) } #[doc = "Bit 29 - Write flash disable. Write disable command will be sent when the bit is set. The bit will be cleared once the operation done. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_wrdi(&mut self) -> FLASH_WRDI_W { FLASH_WRDI_W::new(self, 29) } #[doc = "Bit 30 - Write flash enable. Write enable command will be sent when the bit is set. The bit will be cleared once the operation done. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_wren(&mut self) -> FLASH_WREN_W { FLASH_WREN_W::new(self, 30) } #[doc = "Bit 31 - Read flash enable. Read flash operation will be triggered when the bit is set. The bit will be cleared once the operation done. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_read(&mut self) -> FLASH_READ_W { FLASH_READ_W::new(self, 31) } diff --git a/esp32/src/spi0/ctrl.rs b/esp32/src/spi0/ctrl.rs index 3f276b6a9c..9a808f30fe 100644 --- a/esp32/src/spi0/ctrl.rs +++ b/esp32/src/spi0/ctrl.rs @@ -144,79 +144,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 10 - For SPI1 initialize crc32 module before writing encrypted data to flash. Active low."] #[inline(always)] - #[must_use] pub fn fcs_crc_en(&mut self) -> FCS_CRC_EN_W { FCS_CRC_EN_W::new(self, 10) } #[doc = "Bit 11 - For SPI1 enable crc32 when writing encrypted data to flash. 1: enable 0:disable"] #[inline(always)] - #[must_use] pub fn tx_crc_en(&mut self) -> TX_CRC_EN_W { TX_CRC_EN_W::new(self, 11) } #[doc = "Bit 12 - wait flash idle when program flash or erase flash. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn wait_flash_idle_en(&mut self) -> WAIT_FLASH_IDLE_EN_W { WAIT_FLASH_IDLE_EN_W::new(self, 12) } #[doc = "Bit 13 - This bit enable the bits: spi_fread_qio spi_fread_dio spi_fread_qout and spi_fread_dout. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fastrd_mode(&mut self) -> FASTRD_MODE_W { FASTRD_MODE_W::new(self, 13) } #[doc = "Bit 14 - In the read operations read-data phase apply 2 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_dual(&mut self) -> FREAD_DUAL_W { FREAD_DUAL_W::new(self, 14) } #[doc = "Bit 15 - The Device ID is read out to SPI_RD_STATUS register, this bit combine with spi_flash_res bit. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn resandres(&mut self) -> RESANDRES_W { RESANDRES_W::new(self, 15) } #[doc = "Bit 20 - In the read operations read-data phase apply 4 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_quad(&mut self) -> FREAD_QUAD_W { FREAD_QUAD_W::new(self, 20) } #[doc = "Bit 21 - Write protect signal output when SPI is idle. 1: output high 0: output low."] #[inline(always)] - #[must_use] pub fn wp(&mut self) -> WP_W { WP_W::new(self, 21) } #[doc = "Bit 22 - two bytes data will be written to status register when it is set. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn wrsr_2b(&mut self) -> WRSR_2B_W { WRSR_2B_W::new(self, 22) } #[doc = "Bit 23 - In the read operations address phase and read-data phase apply 2 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_dio(&mut self) -> FREAD_DIO_W { FREAD_DIO_W::new(self, 23) } #[doc = "Bit 24 - In the read operations address phase and read-data phase apply 4 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_qio(&mut self) -> FREAD_QIO_W { FREAD_QIO_W::new(self, 24) } #[doc = "Bit 25 - In read-data (MISO) phase 1: LSB first 0: MSB first"] #[inline(always)] - #[must_use] pub fn rd_bit_order(&mut self) -> RD_BIT_ORDER_W { RD_BIT_ORDER_W::new(self, 25) } #[doc = "Bit 26 - In command address write-data (MOSI) phases 1: LSB firs 0: MSB first"] #[inline(always)] - #[must_use] pub fn wr_bit_order(&mut self) -> WR_BIT_ORDER_W { WR_BIT_ORDER_W::new(self, 26) } diff --git a/esp32/src/spi0/ctrl1.rs b/esp32/src/spi0/ctrl1.rs index 5f2df403fa..f6adc49a85 100644 --- a/esp32/src/spi0/ctrl1.rs +++ b/esp32/src/spi0/ctrl1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:27 - Delay cycles of resume Flash when resume Flash is enable by spi clock."] #[inline(always)] - #[must_use] pub fn cs_hold_delay_res(&mut self) -> CS_HOLD_DELAY_RES_W { CS_HOLD_DELAY_RES_W::new(self, 16) } #[doc = "Bits 28:31 - SPI cs signal is delayed by spi clock cycles"] #[inline(always)] - #[must_use] pub fn cs_hold_delay(&mut self) -> CS_HOLD_DELAY_W { CS_HOLD_DELAY_W::new(self, 28) } diff --git a/esp32/src/spi0/ctrl2.rs b/esp32/src/spi0/ctrl2.rs index 5158f0c18d..9331afcc19 100644 --- a/esp32/src/spi0/ctrl2.rs +++ b/esp32/src/spi0/ctrl2.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - (cycles-1) of ¡°prepare¡± phase by spi clock, this bits combined with spi_cs_setup bit."] #[inline(always)] - #[must_use] pub fn setup_time(&mut self) -> SETUP_TIME_W { SETUP_TIME_W::new(self, 0) } #[doc = "Bits 4:7 - delay cycles of cs pin by spi clock, this bits combined with spi_cs_hold bit."] #[inline(always)] - #[must_use] pub fn hold_time(&mut self) -> HOLD_TIME_W { HOLD_TIME_W::new(self, 4) } #[doc = "Bits 8:11 - modify spi clock duty ratio when the value is lager than 8, the bits are combined with spi_clkcnt_N bits and spi_clkcnt_L bits."] #[inline(always)] - #[must_use] pub fn ck_out_low_mode(&mut self) -> CK_OUT_LOW_MODE_W { CK_OUT_LOW_MODE_W::new(self, 8) } #[doc = "Bits 12:15 - modify spi clock duty ratio when the value is lager than 8, the bits are combined with spi_clkcnt_N bits and spi_clkcnt_H bits."] #[inline(always)] - #[must_use] pub fn ck_out_high_mode(&mut self) -> CK_OUT_HIGH_MODE_W { CK_OUT_HIGH_MODE_W::new(self, 12) } #[doc = "Bits 16:17 - MISO signals are delayed by spi_clk. 0: zero 1: if spi_ck_out_edge or spi_ck_i_edge is set 1 delayed by half cycle else delayed by one cycle 2: if spi_ck_out_edge or spi_ck_i_edge is set 1 delayed by one cycle else delayed by half cycle 3: delayed one cycle"] #[inline(always)] - #[must_use] pub fn miso_delay_mode(&mut self) -> MISO_DELAY_MODE_W { MISO_DELAY_MODE_W::new(self, 16) } #[doc = "Bits 18:20 - MISO signals are delayed by system clock cycles"] #[inline(always)] - #[must_use] pub fn miso_delay_num(&mut self) -> MISO_DELAY_NUM_W { MISO_DELAY_NUM_W::new(self, 18) } #[doc = "Bits 21:22 - MOSI signals are delayed by spi_clk. 0: zero 1: if spi_ck_out_edge or spi_ck_i_edge is set 1 delayed by half cycle else delayed by one cycle 2: if spi_ck_out_edge or spi_ck_i_edge is set 1 delayed by one cycle else delayed by half cycle 3: delayed one cycle"] #[inline(always)] - #[must_use] pub fn mosi_delay_mode(&mut self) -> MOSI_DELAY_MODE_W { MOSI_DELAY_MODE_W::new(self, 21) } #[doc = "Bits 23:25 - MOSI signals are delayed by system clock cycles"] #[inline(always)] - #[must_use] pub fn mosi_delay_num(&mut self) -> MOSI_DELAY_NUM_W { MOSI_DELAY_NUM_W::new(self, 23) } #[doc = "Bits 26:27 - spi_cs signal is delayed by spi_clk . 0: zero 1: if spi_ck_out_edge or spi_ck_i_edge is set 1 delayed by half cycle else delayed by one cycle 2: if spi_ck_out_edge or spi_ck_i_edge is set 1 delayed by one cycle else delayed by half cycle 3: delayed one cycle"] #[inline(always)] - #[must_use] pub fn cs_delay_mode(&mut self) -> CS_DELAY_MODE_W { CS_DELAY_MODE_W::new(self, 26) } #[doc = "Bits 28:31 - spi_cs signal is delayed by system clock cycles"] #[inline(always)] - #[must_use] pub fn cs_delay_num(&mut self) -> CS_DELAY_NUM_W { CS_DELAY_NUM_W::new(self, 28) } diff --git a/esp32/src/spi0/dma_conf.rs b/esp32/src/spi0/dma_conf.rs index 4381b72d74..6858bfccf5 100644 --- a/esp32/src/spi0/dma_conf.rs +++ b/esp32/src/spi0/dma_conf.rs @@ -154,85 +154,71 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - The bit is used to reset in dma fsm and in data fifo pointer."] #[inline(always)] - #[must_use] pub fn in_rst(&mut self) -> IN_RST_W { IN_RST_W::new(self, 2) } #[doc = "Bit 3 - The bit is used to reset out dma fsm and out data fifo pointer."] #[inline(always)] - #[must_use] pub fn out_rst(&mut self) -> OUT_RST_W { OUT_RST_W::new(self, 3) } #[doc = "Bit 4 - reset spi dma ahb master fifo pointer."] #[inline(always)] - #[must_use] pub fn ahbm_fifo_rst(&mut self) -> AHBM_FIFO_RST_W { AHBM_FIFO_RST_W::new(self, 4) } #[doc = "Bit 5 - reset spi dma ahb master."] #[inline(always)] - #[must_use] pub fn ahbm_rst(&mut self) -> AHBM_RST_W { AHBM_RST_W::new(self, 5) } #[doc = "Bit 6 - Set bit to test in link."] #[inline(always)] - #[must_use] pub fn in_loop_test(&mut self) -> IN_LOOP_TEST_W { IN_LOOP_TEST_W::new(self, 6) } #[doc = "Bit 7 - Set bit to test out link."] #[inline(always)] - #[must_use] pub fn out_loop_test(&mut self) -> OUT_LOOP_TEST_W { OUT_LOOP_TEST_W::new(self, 7) } #[doc = "Bit 8 - when the link is empty jump to next automatically."] #[inline(always)] - #[must_use] pub fn out_auto_wrback(&mut self) -> OUT_AUTO_WRBACK_W { OUT_AUTO_WRBACK_W::new(self, 8) } #[doc = "Bit 9 - out eof flag generation mode . 1: when dma pop all data from fifo 0:when ahb push all data to fifo."] #[inline(always)] - #[must_use] pub fn out_eof_mode(&mut self) -> OUT_EOF_MODE_W { OUT_EOF_MODE_W::new(self, 9) } #[doc = "Bit 10 - read descriptor use burst mode when read data for memory."] #[inline(always)] - #[must_use] pub fn outdscr_burst_en(&mut self) -> OUTDSCR_BURST_EN_W { OUTDSCR_BURST_EN_W::new(self, 10) } #[doc = "Bit 11 - read descriptor use burst mode when write data to memory."] #[inline(always)] - #[must_use] pub fn indscr_burst_en(&mut self) -> INDSCR_BURST_EN_W { INDSCR_BURST_EN_W::new(self, 11) } #[doc = "Bit 12 - spi dma read data from memory in burst mode."] #[inline(always)] - #[must_use] pub fn out_data_burst_en(&mut self) -> OUT_DATA_BURST_EN_W { OUT_DATA_BURST_EN_W::new(self, 12) } #[doc = "Bit 14 - spi dma read data stop when in continue tx/rx mode."] #[inline(always)] - #[must_use] pub fn dma_rx_stop(&mut self) -> DMA_RX_STOP_W { DMA_RX_STOP_W::new(self, 14) } #[doc = "Bit 15 - spi dma write data stop when in continue tx/rx mode."] #[inline(always)] - #[must_use] pub fn dma_tx_stop(&mut self) -> DMA_TX_STOP_W { DMA_TX_STOP_W::new(self, 15) } #[doc = "Bit 16 - spi dma continue tx/rx data."] #[inline(always)] - #[must_use] pub fn dma_continue(&mut self) -> DMA_CONTINUE_W { DMA_CONTINUE_W::new(self, 16) } diff --git a/esp32/src/spi0/dma_in_link.rs b/esp32/src/spi0/dma_in_link.rs index 2bc973c8ef..f62a70f1d2 100644 --- a/esp32/src/spi0/dma_in_link.rs +++ b/esp32/src/spi0/dma_in_link.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - The address of the first inlink descriptor."] #[inline(always)] - #[must_use] pub fn inlink_addr(&mut self) -> INLINK_ADDR_W { INLINK_ADDR_W::new(self, 0) } #[doc = "Bit 20 - when the bit is set inlink descriptor returns to the next descriptor while a packet is wrong"] #[inline(always)] - #[must_use] pub fn inlink_auto_ret(&mut self) -> INLINK_AUTO_RET_W { INLINK_AUTO_RET_W::new(self, 20) } #[doc = "Bit 28 - Set the bit to stop to use inlink descriptor."] #[inline(always)] - #[must_use] pub fn inlink_stop(&mut self) -> INLINK_STOP_W { INLINK_STOP_W::new(self, 28) } #[doc = "Bit 29 - Set the bit to start to use inlink descriptor."] #[inline(always)] - #[must_use] pub fn inlink_start(&mut self) -> INLINK_START_W { INLINK_START_W::new(self, 29) } #[doc = "Bit 30 - Set the bit to mount on new inlink descriptors."] #[inline(always)] - #[must_use] pub fn inlink_restart(&mut self) -> INLINK_RESTART_W { INLINK_RESTART_W::new(self, 30) } diff --git a/esp32/src/spi0/dma_int_clr.rs b/esp32/src/spi0/dma_int_clr.rs index a67eb3b900..82f192527a 100644 --- a/esp32/src/spi0/dma_int_clr.rs +++ b/esp32/src/spi0/dma_int_clr.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The clear bit for lack of enough inlink descriptors."] #[inline(always)] - #[must_use] pub fn inlink_dscr_empty(&mut self) -> INLINK_DSCR_EMPTY_W { INLINK_DSCR_EMPTY_W::new(self, 0) } #[doc = "Bit 1 - The clear bit for outlink descriptor error."] #[inline(always)] - #[must_use] pub fn outlink_dscr_error(&mut self) -> OUTLINK_DSCR_ERROR_W { OUTLINK_DSCR_ERROR_W::new(self, 1) } #[doc = "Bit 2 - The clear bit for inlink descriptor error."] #[inline(always)] - #[must_use] pub fn inlink_dscr_error(&mut self) -> INLINK_DSCR_ERROR_W { INLINK_DSCR_ERROR_W::new(self, 2) } #[doc = "Bit 3 - The clear bit for completing usage of a inlink descriptor."] #[inline(always)] - #[must_use] pub fn in_done(&mut self) -> IN_DONE_W { IN_DONE_W::new(self, 3) } #[doc = "Bit 4 - The clear bit for receiving error."] #[inline(always)] - #[must_use] pub fn in_err_eof(&mut self) -> IN_ERR_EOF_W { IN_ERR_EOF_W::new(self, 4) } #[doc = "Bit 5 - The clear bit for completing receiving all the packets from host."] #[inline(always)] - #[must_use] pub fn in_suc_eof(&mut self) -> IN_SUC_EOF_W { IN_SUC_EOF_W::new(self, 5) } #[doc = "Bit 6 - The clear bit for completing usage of a outlink descriptor."] #[inline(always)] - #[must_use] pub fn out_done(&mut self) -> OUT_DONE_W { OUT_DONE_W::new(self, 6) } #[doc = "Bit 7 - The clear bit for sending a packet to host done."] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 7) } #[doc = "Bit 8 - The clear bit for sending all the packets to host done."] #[inline(always)] - #[must_use] pub fn out_total_eof(&mut self) -> OUT_TOTAL_EOF_W { OUT_TOTAL_EOF_W::new(self, 8) } diff --git a/esp32/src/spi0/dma_int_ena.rs b/esp32/src/spi0/dma_int_ena.rs index 2a574894e0..98e2e0e527 100644 --- a/esp32/src/spi0/dma_int_ena.rs +++ b/esp32/src/spi0/dma_int_ena.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The enable bit for lack of enough inlink descriptors."] #[inline(always)] - #[must_use] pub fn inlink_dscr_empty(&mut self) -> INLINK_DSCR_EMPTY_W { INLINK_DSCR_EMPTY_W::new(self, 0) } #[doc = "Bit 1 - The enable bit for outlink descriptor error."] #[inline(always)] - #[must_use] pub fn outlink_dscr_error(&mut self) -> OUTLINK_DSCR_ERROR_W { OUTLINK_DSCR_ERROR_W::new(self, 1) } #[doc = "Bit 2 - The enable bit for inlink descriptor error."] #[inline(always)] - #[must_use] pub fn inlink_dscr_error(&mut self) -> INLINK_DSCR_ERROR_W { INLINK_DSCR_ERROR_W::new(self, 2) } #[doc = "Bit 3 - The enable bit for completing usage of a inlink descriptor."] #[inline(always)] - #[must_use] pub fn in_done(&mut self) -> IN_DONE_W { IN_DONE_W::new(self, 3) } #[doc = "Bit 4 - The enable bit for receiving error."] #[inline(always)] - #[must_use] pub fn in_err_eof(&mut self) -> IN_ERR_EOF_W { IN_ERR_EOF_W::new(self, 4) } #[doc = "Bit 5 - The enable bit for completing receiving all the packets from host."] #[inline(always)] - #[must_use] pub fn in_suc_eof(&mut self) -> IN_SUC_EOF_W { IN_SUC_EOF_W::new(self, 5) } #[doc = "Bit 6 - The enable bit for completing usage of a outlink descriptor ."] #[inline(always)] - #[must_use] pub fn out_done(&mut self) -> OUT_DONE_W { OUT_DONE_W::new(self, 6) } #[doc = "Bit 7 - The enable bit for sending a packet to host done."] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 7) } #[doc = "Bit 8 - The enable bit for sending all the packets to host done."] #[inline(always)] - #[must_use] pub fn out_total_eof(&mut self) -> OUT_TOTAL_EOF_W { OUT_TOTAL_EOF_W::new(self, 8) } diff --git a/esp32/src/spi0/dma_out_link.rs b/esp32/src/spi0/dma_out_link.rs index ffa034d597..71fc62fe20 100644 --- a/esp32/src/spi0/dma_out_link.rs +++ b/esp32/src/spi0/dma_out_link.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - The address of the first outlink descriptor."] #[inline(always)] - #[must_use] pub fn outlink_addr(&mut self) -> OUTLINK_ADDR_W { OUTLINK_ADDR_W::new(self, 0) } #[doc = "Bit 28 - Set the bit to stop to use outlink descriptor."] #[inline(always)] - #[must_use] pub fn outlink_stop(&mut self) -> OUTLINK_STOP_W { OUTLINK_STOP_W::new(self, 28) } #[doc = "Bit 29 - Set the bit to start to use outlink descriptor."] #[inline(always)] - #[must_use] pub fn outlink_start(&mut self) -> OUTLINK_START_W { OUTLINK_START_W::new(self, 29) } #[doc = "Bit 30 - Set the bit to mount on new outlink descriptors."] #[inline(always)] - #[must_use] pub fn outlink_restart(&mut self) -> OUTLINK_RESTART_W { OUTLINK_RESTART_W::new(self, 30) } diff --git a/esp32/src/spi0/ext0.rs b/esp32/src/spi0/ext0.rs index 77bfcdca3c..4698ebf144 100644 --- a/esp32/src/spi0/ext0.rs +++ b/esp32/src/spi0/ext0.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - page program delay time by system clock."] #[inline(always)] - #[must_use] pub fn t_pp_time(&mut self) -> T_PP_TIME_W { T_PP_TIME_W::new(self, 0) } #[doc = "Bits 16:19 - page program delay time shift ."] #[inline(always)] - #[must_use] pub fn t_pp_shift(&mut self) -> T_PP_SHIFT_W { T_PP_SHIFT_W::new(self, 16) } #[doc = "Bit 31 - page program delay enable."] #[inline(always)] - #[must_use] pub fn t_pp_ena(&mut self) -> T_PP_ENA_W { T_PP_ENA_W::new(self, 31) } diff --git a/esp32/src/spi0/ext1.rs b/esp32/src/spi0/ext1.rs index bfe1fa5787..bd842e9dae 100644 --- a/esp32/src/spi0/ext1.rs +++ b/esp32/src/spi0/ext1.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - erase flash delay time by system clock."] #[inline(always)] - #[must_use] pub fn t_erase_time(&mut self) -> T_ERASE_TIME_W { T_ERASE_TIME_W::new(self, 0) } #[doc = "Bits 16:19 - erase flash delay time shift."] #[inline(always)] - #[must_use] pub fn t_erase_shift(&mut self) -> T_ERASE_SHIFT_W { T_ERASE_SHIFT_W::new(self, 16) } #[doc = "Bit 31 - erase flash delay enable."] #[inline(always)] - #[must_use] pub fn t_erase_ena(&mut self) -> T_ERASE_ENA_W { T_ERASE_ENA_W::new(self, 31) } diff --git a/esp32/src/spi0/ext3.rs b/esp32/src/spi0/ext3.rs index e58ab9794b..a78fa68eb4 100644 --- a/esp32/src/spi0/ext3.rs +++ b/esp32/src/spi0/ext3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - This register is for two SPI masters to share the same cs clock and data signals. The bits of one SPI are set if the other SPI is busy the SPI will be hold. 1(3): hold at ¡°idle¡± phase 2: hold at ¡°prepare¡± phase."] #[inline(always)] - #[must_use] pub fn int_hold_ena(&mut self) -> INT_HOLD_ENA_W { INT_HOLD_ENA_W::new(self, 0) } diff --git a/esp32/src/spi0/miso_dlen.rs b/esp32/src/spi0/miso_dlen.rs index cd516a9ad8..59b496e335 100644 --- a/esp32/src/spi0/miso_dlen.rs +++ b/esp32/src/spi0/miso_dlen.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - The length in bits of read-data. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn usr_miso_dbitlen(&mut self) -> USR_MISO_DBITLEN_W { USR_MISO_DBITLEN_W::new(self, 0) } diff --git a/esp32/src/spi0/mosi_dlen.rs b/esp32/src/spi0/mosi_dlen.rs index 06b68e65e7..d9fea551d3 100644 --- a/esp32/src/spi0/mosi_dlen.rs +++ b/esp32/src/spi0/mosi_dlen.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - The length in bits of write-data. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn usr_mosi_dbitlen(&mut self) -> USR_MOSI_DBITLEN_W { USR_MOSI_DBITLEN_W::new(self, 0) } diff --git a/esp32/src/spi0/pin.rs b/esp32/src/spi0/pin.rs index 726449cb4c..5e533030a7 100644 --- a/esp32/src/spi0/pin.rs +++ b/esp32/src/spi0/pin.rs @@ -103,7 +103,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CS0_DIS` field.
"] #[inline(always)] - #[must_use] pub fn cs_dis(&mut self, n: u8) -> CS_DIS_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -111,49 +110,41 @@ impl W { } #[doc = "Bit 0 - Set this bit to raise high SPI_CS0 pin, which means that the SPI device(Ext_RAM(0)/flash(1)) connected to SPI_CS0 is in low level when SPI1 transfer starts"] #[inline(always)] - #[must_use] pub fn cs0_dis(&mut self) -> CS_DIS_W { CS_DIS_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to raise high SPI_CS1 pin, which means that the SPI device(Ext_RAM(0)/flash(1)) connected to SPI_CS1 is in low level when SPI1 transfer starts"] #[inline(always)] - #[must_use] pub fn cs1_dis(&mut self) -> CS_DIS_W { CS_DIS_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to raise high SPI_CS2 pin, which means that the SPI device(Ext_RAM(0)/flash(1)) connected to SPI_CS2 is in low level when SPI1 transfer starts"] #[inline(always)] - #[must_use] pub fn cs2_dis(&mut self) -> CS_DIS_W { CS_DIS_W::new(self, 2) } #[doc = "Bit 5 - 1: spi clk out disable 0: spi clk out enable"] #[inline(always)] - #[must_use] pub fn ck_dis(&mut self) -> CK_DIS_W { CK_DIS_W::new(self, 5) } #[doc = "Bits 6:8 - In the master mode the bits are the polarity of spi cs line the value is equivalent to spi_cs ^ spi_master_cs_pol."] #[inline(always)] - #[must_use] pub fn master_cs_pol(&mut self) -> MASTER_CS_POL_W { MASTER_CS_POL_W::new(self, 6) } #[doc = "Bits 11:13 - In the master mode spi cs line is enable as spi clk it is combined with spi_cs0_dis spi_cs1_dis spi_cs2_dis."] #[inline(always)] - #[must_use] pub fn master_ck_sel(&mut self) -> MASTER_CK_SEL_W { MASTER_CK_SEL_W::new(self, 11) } #[doc = "Bit 29 - 1: spi clk line is high when idle 0: spi clk line is low when idle"] #[inline(always)] - #[must_use] pub fn ck_idle_edge(&mut self) -> CK_IDLE_EDGE_W { CK_IDLE_EDGE_W::new(self, 29) } #[doc = "Bit 30 - spi cs line keep low when the bit is set."] #[inline(always)] - #[must_use] pub fn cs_keep_active(&mut self) -> CS_KEEP_ACTIVE_W { CS_KEEP_ACTIVE_W::new(self, 30) } diff --git a/esp32/src/spi0/rd_status.rs b/esp32/src/spi0/rd_status.rs index c2cf114c7e..0cb38fcf93 100644 --- a/esp32/src/spi0/rd_status.rs +++ b/esp32/src/spi0/rd_status.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - In the slave mode, it is the status for master to read out."] #[inline(always)] - #[must_use] pub fn status(&mut self) -> STATUS_W { STATUS_W::new(self, 0) } #[doc = "Bits 16:23 - Mode bits in the flash fast read mode, it is combined with spi_fastrd_mode bit."] #[inline(always)] - #[must_use] pub fn wb_mode(&mut self) -> WB_MODE_W { WB_MODE_W::new(self, 16) } #[doc = "Bits 24:31 - In the slave mode,it is the status for master to read out."] #[inline(always)] - #[must_use] pub fn status_ext(&mut self) -> STATUS_EXT_W { STATUS_EXT_W::new(self, 24) } diff --git a/esp32/src/spi0/slave.rs b/esp32/src/spi0/slave.rs index 7bfdd2942e..f3f83e9235 100644 --- a/esp32/src/spi0/slave.rs +++ b/esp32/src/spi0/slave.rs @@ -158,73 +158,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt raw bit for the completion of read-buffer operation in the slave mode."] #[inline(always)] - #[must_use] pub fn slv_rd_buf_done(&mut self) -> SLV_RD_BUF_DONE_W { SLV_RD_BUF_DONE_W::new(self, 0) } #[doc = "Bit 1 - The interrupt raw bit for the completion of write-buffer operation in the slave mode."] #[inline(always)] - #[must_use] pub fn slv_wr_buf_done(&mut self) -> SLV_WR_BUF_DONE_W { SLV_WR_BUF_DONE_W::new(self, 1) } #[doc = "Bit 2 - The interrupt raw bit for the completion of read-status operation in the slave mode."] #[inline(always)] - #[must_use] pub fn slv_rd_sta_done(&mut self) -> SLV_RD_STA_DONE_W { SLV_RD_STA_DONE_W::new(self, 2) } #[doc = "Bit 3 - The interrupt raw bit for the completion of write-status operation in the slave mode."] #[inline(always)] - #[must_use] pub fn slv_wr_sta_done(&mut self) -> SLV_WR_STA_DONE_W { SLV_WR_STA_DONE_W::new(self, 3) } #[doc = "Bit 4 - The interrupt raw bit for the completion of any operation in both the master mode and the slave mode."] #[inline(always)] - #[must_use] pub fn trans_done(&mut self) -> TRANS_DONE_W { TRANS_DONE_W::new(self, 4) } #[doc = "Bits 5:9 - Interrupt enable bits for the below 5 sources"] #[inline(always)] - #[must_use] pub fn int_en(&mut self) -> INT_EN_W { INT_EN_W::new(self, 5) } #[doc = "Bits 10:11 - In the slave mode this bits used to synchronize the input spi cs signal and eliminate spi cs jitter."] #[inline(always)] - #[must_use] pub fn cs_i_mode(&mut self) -> CS_I_MODE_W { CS_I_MODE_W::new(self, 10) } #[doc = "Bit 27 - 1: slave mode commands are defined in SPI_SLAVE3. 0: slave mode commands are fixed as: 1: write-status 2: write-buffer and 3: read-buffer."] #[inline(always)] - #[must_use] pub fn slv_cmd_define(&mut self) -> SLV_CMD_DEFINE_W { SLV_CMD_DEFINE_W::new(self, 27) } #[doc = "Bit 28 - write and read status enable in the slave mode"] #[inline(always)] - #[must_use] pub fn slv_wr_rd_sta_en(&mut self) -> SLV_WR_RD_STA_EN_W { SLV_WR_RD_STA_EN_W::new(self, 28) } #[doc = "Bit 29 - write and read buffer enable in the slave mode"] #[inline(always)] - #[must_use] pub fn slv_wr_rd_buf_en(&mut self) -> SLV_WR_RD_BUF_EN_W { SLV_WR_RD_BUF_EN_W::new(self, 29) } #[doc = "Bit 30 - 1: slave mode 0: master mode."] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 30) } #[doc = "Bit 31 - Software reset enable, reset the spi clock line cs line and data lines."] #[inline(always)] - #[must_use] pub fn sync_reset(&mut self) -> SYNC_RESET_W { SYNC_RESET_W::new(self, 31) } diff --git a/esp32/src/spi0/slave1.rs b/esp32/src/spi0/slave1.rs index 3b55ea16e1..341dc15078 100644 --- a/esp32/src/spi0/slave1.rs +++ b/esp32/src/spi0/slave1.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - In the slave mode it is the enable bit of dummy phase for read-buffer operations."] #[inline(always)] - #[must_use] pub fn slv_rdbuf_dummy_en(&mut self) -> SLV_RDBUF_DUMMY_EN_W { SLV_RDBUF_DUMMY_EN_W::new(self, 0) } #[doc = "Bit 1 - In the slave mode it is the enable bit of dummy phase for write-buffer operations."] #[inline(always)] - #[must_use] pub fn slv_wrbuf_dummy_en(&mut self) -> SLV_WRBUF_DUMMY_EN_W { SLV_WRBUF_DUMMY_EN_W::new(self, 1) } #[doc = "Bit 2 - In the slave mode it is the enable bit of dummy phase for read-status operations."] #[inline(always)] - #[must_use] pub fn slv_rdsta_dummy_en(&mut self) -> SLV_RDSTA_DUMMY_EN_W { SLV_RDSTA_DUMMY_EN_W::new(self, 2) } #[doc = "Bit 3 - In the slave mode it is the enable bit of dummy phase for write-status operations."] #[inline(always)] - #[must_use] pub fn slv_wrsta_dummy_en(&mut self) -> SLV_WRSTA_DUMMY_EN_W { SLV_WRSTA_DUMMY_EN_W::new(self, 3) } #[doc = "Bits 4:9 - In the slave mode it is the address length in bits for write-buffer operation. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn slv_wr_addr_bitlen(&mut self) -> SLV_WR_ADDR_BITLEN_W { SLV_WR_ADDR_BITLEN_W::new(self, 4) } #[doc = "Bits 10:15 - In the slave mode it is the address length in bits for read-buffer operation. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn slv_rd_addr_bitlen(&mut self) -> SLV_RD_ADDR_BITLEN_W { SLV_RD_ADDR_BITLEN_W::new(self, 10) } #[doc = "Bit 25 - In the slave mode 1:read register of SPI_SLV_WR_STATUS 0: read register of SPI_RD_STATUS."] #[inline(always)] - #[must_use] pub fn slv_status_readback(&mut self) -> SLV_STATUS_READBACK_W { SLV_STATUS_READBACK_W::new(self, 25) } #[doc = "Bit 26 - In the slave mode enable fast read status."] #[inline(always)] - #[must_use] pub fn slv_status_fast_en(&mut self) -> SLV_STATUS_FAST_EN_W { SLV_STATUS_FAST_EN_W::new(self, 26) } #[doc = "Bits 27:31 - In the slave mode it is the length of status bit."] #[inline(always)] - #[must_use] pub fn slv_status_bitlen(&mut self) -> SLV_STATUS_BITLEN_W { SLV_STATUS_BITLEN_W::new(self, 27) } diff --git a/esp32/src/spi0/slave2.rs b/esp32/src/spi0/slave2.rs index 8aebb47b51..f8ea6f408a 100644 --- a/esp32/src/spi0/slave2.rs +++ b/esp32/src/spi0/slave2.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In the slave mode it is the length in spi_clk cycles of dummy phase for read-status operations. The register value shall be (cycle_num-1)."] #[inline(always)] - #[must_use] pub fn slv_rdsta_dummy_cyclelen(&mut self) -> SLV_RDSTA_DUMMY_CYCLELEN_W { SLV_RDSTA_DUMMY_CYCLELEN_W::new(self, 0) } #[doc = "Bits 8:15 - In the slave mode it is the length in spi_clk cycles of dummy phase for write-status operations. The register value shall be (cycle_num-1)."] #[inline(always)] - #[must_use] pub fn slv_wrsta_dummy_cyclelen(&mut self) -> SLV_WRSTA_DUMMY_CYCLELEN_W { SLV_WRSTA_DUMMY_CYCLELEN_W::new(self, 8) } #[doc = "Bits 16:23 - In the slave mode it is the length in spi_clk cycles of dummy phase for read-buffer operations. The register value shall be (cycle_num-1)."] #[inline(always)] - #[must_use] pub fn slv_rdbuf_dummy_cyclelen(&mut self) -> SLV_RDBUF_DUMMY_CYCLELEN_W { SLV_RDBUF_DUMMY_CYCLELEN_W::new(self, 16) } #[doc = "Bits 24:31 - In the slave mode it is the length in spi_clk cycles of dummy phase for write-buffer operations. The register value shall be (cycle_num-1)."] #[inline(always)] - #[must_use] pub fn slv_wrbuf_dummy_cyclelen(&mut self) -> SLV_WRBUF_DUMMY_CYCLELEN_W { SLV_WRBUF_DUMMY_CYCLELEN_W::new(self, 24) } diff --git a/esp32/src/spi0/slave3.rs b/esp32/src/spi0/slave3.rs index 6af0e00d3b..dcb161a27e 100644 --- a/esp32/src/spi0/slave3.rs +++ b/esp32/src/spi0/slave3.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In the slave mode it is the value of read-buffer command."] #[inline(always)] - #[must_use] pub fn slv_rdbuf_cmd_value(&mut self) -> SLV_RDBUF_CMD_VALUE_W { SLV_RDBUF_CMD_VALUE_W::new(self, 0) } #[doc = "Bits 8:15 - In the slave mode it is the value of write-buffer command."] #[inline(always)] - #[must_use] pub fn slv_wrbuf_cmd_value(&mut self) -> SLV_WRBUF_CMD_VALUE_W { SLV_WRBUF_CMD_VALUE_W::new(self, 8) } #[doc = "Bits 16:23 - In the slave mode it is the value of read-status command."] #[inline(always)] - #[must_use] pub fn slv_rdsta_cmd_value(&mut self) -> SLV_RDSTA_CMD_VALUE_W { SLV_RDSTA_CMD_VALUE_W::new(self, 16) } #[doc = "Bits 24:31 - In the slave mode it is the value of write-status command."] #[inline(always)] - #[must_use] pub fn slv_wrsta_cmd_value(&mut self) -> SLV_WRSTA_CMD_VALUE_W { SLV_WRSTA_CMD_VALUE_W::new(self, 24) } diff --git a/esp32/src/spi0/slv_rd_bit.rs b/esp32/src/spi0/slv_rd_bit.rs index 9e8f84ff6a..fb3e924bfd 100644 --- a/esp32/src/spi0/slv_rd_bit.rs +++ b/esp32/src/spi0/slv_rd_bit.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - In the slave mode it is the bit length of read data. The value is the length - 1."] #[inline(always)] - #[must_use] pub fn slv_rdata_bit(&mut self) -> SLV_RDATA_BIT_W { SLV_RDATA_BIT_W::new(self, 0) } diff --git a/esp32/src/spi0/slv_rdbuf_dlen.rs b/esp32/src/spi0/slv_rdbuf_dlen.rs index e0403ce27c..4850fbca8b 100644 --- a/esp32/src/spi0/slv_rdbuf_dlen.rs +++ b/esp32/src/spi0/slv_rdbuf_dlen.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - In the slave mode it is the length in bits for read-buffer operations. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn slv_rdbuf_dbitlen(&mut self) -> SLV_RDBUF_DBITLEN_W { SLV_RDBUF_DBITLEN_W::new(self, 0) } diff --git a/esp32/src/spi0/slv_wr_status.rs b/esp32/src/spi0/slv_wr_status.rs index 0239ba1a60..d252d2e850 100644 --- a/esp32/src/spi0/slv_wr_status.rs +++ b/esp32/src/spi0/slv_wr_status.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - In the slave mode this register are the status register for the master to write into. In the master mode this register are the higher 32bits in the 64 bits address condition."] #[inline(always)] - #[must_use] pub fn slv_wr_st(&mut self) -> SLV_WR_ST_W { SLV_WR_ST_W::new(self, 0) } diff --git a/esp32/src/spi0/slv_wrbuf_dlen.rs b/esp32/src/spi0/slv_wrbuf_dlen.rs index d3377e310c..ea08030c2f 100644 --- a/esp32/src/spi0/slv_wrbuf_dlen.rs +++ b/esp32/src/spi0/slv_wrbuf_dlen.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - In the slave mode it is the length in bits for write-buffer operations. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn slv_wrbuf_dbitlen(&mut self) -> SLV_WRBUF_DBITLEN_W { SLV_WRBUF_DBITLEN_W::new(self, 0) } diff --git a/esp32/src/spi0/sram_cmd.rs b/esp32/src/spi0/sram_cmd.rs index f37647f706..213ad45790 100644 --- a/esp32/src/spi0/sram_cmd.rs +++ b/esp32/src/spi0/sram_cmd.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - For SPI0 SRAM DIO mode enable . SRAM DIO enable command will be send when the bit is set. The bit will be cleared once the operation done."] #[inline(always)] - #[must_use] pub fn sram_dio(&mut self) -> SRAM_DIO_W { SRAM_DIO_W::new(self, 0) } #[doc = "Bit 1 - For SPI0 SRAM QIO mode enable . SRAM QIO enable command will be send when the bit is set. The bit will be cleared once the operation done."] #[inline(always)] - #[must_use] pub fn sram_qio(&mut self) -> SRAM_QIO_W { SRAM_QIO_W::new(self, 1) } #[doc = "Bit 4 - For SPI0 SRAM IO mode reset enable. SRAM IO mode reset operation will be triggered when the bit is set. The bit will be cleared once the operation done"] #[inline(always)] - #[must_use] pub fn sram_rstio(&mut self) -> SRAM_RSTIO_W { SRAM_RSTIO_W::new(self, 4) } diff --git a/esp32/src/spi0/sram_drd_cmd.rs b/esp32/src/spi0/sram_drd_cmd.rs index 4a05185684..252c308921 100644 --- a/esp32/src/spi0/sram_drd_cmd.rs +++ b/esp32/src/spi0/sram_drd_cmd.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - For SPI0 When cache mode is enable it is the read command value of command phase for SRAM."] #[inline(always)] - #[must_use] pub fn cache_sram_usr_rd_cmd_value( &mut self, ) -> CACHE_SRAM_USR_RD_CMD_VALUE_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bits 28:31 - For SPI0 When cache mode is enable it is the length in bits of command phase for SRAM. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn cache_sram_usr_rd_cmd_bitlen( &mut self, ) -> CACHE_SRAM_USR_RD_CMD_BITLEN_W { diff --git a/esp32/src/spi0/sram_dwr_cmd.rs b/esp32/src/spi0/sram_dwr_cmd.rs index 926de9628c..c012e9c953 100644 --- a/esp32/src/spi0/sram_dwr_cmd.rs +++ b/esp32/src/spi0/sram_dwr_cmd.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - For SPI0 When cache mode is enable it is the write command value of command phase for SRAM."] #[inline(always)] - #[must_use] pub fn cache_sram_usr_wr_cmd_value( &mut self, ) -> CACHE_SRAM_USR_WR_CMD_VALUE_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bits 28:31 - For SPI0 When cache mode is enable it is the in bits of command phase for SRAM. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn cache_sram_usr_wr_cmd_bitlen( &mut self, ) -> CACHE_SRAM_USR_WR_CMD_BITLEN_W { diff --git a/esp32/src/spi0/tx_crc.rs b/esp32/src/spi0/tx_crc.rs index 39676fbaf6..bc4b0e4421 100644 --- a/esp32/src/spi0/tx_crc.rs +++ b/esp32/src/spi0/tx_crc.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - For SPI1 the value of crc32 for 256 bits data."] #[inline(always)] - #[must_use] pub fn data(&mut self) -> DATA_W { DATA_W::new(self, 0) } diff --git a/esp32/src/spi0/user.rs b/esp32/src/spi0/user.rs index da28c0d016..eabfa23fa1 100644 --- a/esp32/src/spi0/user.rs +++ b/esp32/src/spi0/user.rs @@ -284,163 +284,136 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set the bit to enable full duplex communication. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn doutdin(&mut self) -> DOUTDIN_W { DOUTDIN_W::new(self, 0) } #[doc = "Bit 4 - spi cs keep low when spi is in ¡°done¡± phase. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn cs_hold(&mut self) -> CS_HOLD_W { CS_HOLD_W::new(self, 4) } #[doc = "Bit 5 - spi cs is enable when spi is in ¡°prepare¡± phase. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn cs_setup(&mut self) -> CS_SETUP_W { CS_SETUP_W::new(self, 5) } #[doc = "Bit 6 - In the slave mode the bit is same as spi_ck_out_edge in master mode. It is combined with spi_miso_delay_mode bits."] #[inline(always)] - #[must_use] pub fn ck_i_edge(&mut self) -> CK_I_EDGE_W { CK_I_EDGE_W::new(self, 6) } #[doc = "Bit 7 - the bit combined with spi_mosi_delay_mode bits to set mosi signal delay mode."] #[inline(always)] - #[must_use] pub fn ck_out_edge(&mut self) -> CK_OUT_EDGE_W { CK_OUT_EDGE_W::new(self, 7) } #[doc = "Bit 10 - In read-data (MISO) phase 1: big-endian 0: little_endian"] #[inline(always)] - #[must_use] pub fn rd_byte_order(&mut self) -> RD_BYTE_ORDER_W { RD_BYTE_ORDER_W::new(self, 10) } #[doc = "Bit 11 - In command address write-data (MOSI) phases 1: big-endian 0: litte_endian"] #[inline(always)] - #[must_use] pub fn wr_byte_order(&mut self) -> WR_BYTE_ORDER_W { WR_BYTE_ORDER_W::new(self, 11) } #[doc = "Bit 12 - In the write operations read-data phase apply 2 signals"] #[inline(always)] - #[must_use] pub fn fwrite_dual(&mut self) -> FWRITE_DUAL_W { FWRITE_DUAL_W::new(self, 12) } #[doc = "Bit 13 - In the write operations read-data phase apply 4 signals"] #[inline(always)] - #[must_use] pub fn fwrite_quad(&mut self) -> FWRITE_QUAD_W { FWRITE_QUAD_W::new(self, 13) } #[doc = "Bit 14 - In the write operations address phase and read-data phase apply 2 signals."] #[inline(always)] - #[must_use] pub fn fwrite_dio(&mut self) -> FWRITE_DIO_W { FWRITE_DIO_W::new(self, 14) } #[doc = "Bit 15 - In the write operations address phase and read-data phase apply 4 signals."] #[inline(always)] - #[must_use] pub fn fwrite_qio(&mut self) -> FWRITE_QIO_W { FWRITE_QIO_W::new(self, 15) } #[doc = "Bit 16 - Set the bit to enable 3-line half duplex communication mosi and miso signals share the same pin. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn sio(&mut self) -> SIO_W { SIO_W::new(self, 16) } #[doc = "Bit 17 - It is combined with hold bits to set the polarity of spi hold line 1: spi will be held when spi hold line is high 0: spi will be held when spi hold line is low"] #[inline(always)] - #[must_use] pub fn usr_hold_pol(&mut self) -> USR_HOLD_POL_W { USR_HOLD_POL_W::new(self, 17) } #[doc = "Bit 18 - spi is hold at data out state the bit combined with spi_usr_hold_pol bit."] #[inline(always)] - #[must_use] pub fn usr_dout_hold(&mut self) -> USR_DOUT_HOLD_W { USR_DOUT_HOLD_W::new(self, 18) } #[doc = "Bit 19 - spi is hold at data in state the bit combined with spi_usr_hold_pol bit."] #[inline(always)] - #[must_use] pub fn usr_din_hold(&mut self) -> USR_DIN_HOLD_W { USR_DIN_HOLD_W::new(self, 19) } #[doc = "Bit 20 - spi is hold at dummy state the bit combined with spi_usr_hold_pol bit."] #[inline(always)] - #[must_use] pub fn usr_dummy_hold(&mut self) -> USR_DUMMY_HOLD_W { USR_DUMMY_HOLD_W::new(self, 20) } #[doc = "Bit 21 - spi is hold at address state the bit combined with spi_usr_hold_pol bit."] #[inline(always)] - #[must_use] pub fn usr_addr_hold(&mut self) -> USR_ADDR_HOLD_W { USR_ADDR_HOLD_W::new(self, 21) } #[doc = "Bit 22 - spi is hold at command state the bit combined with spi_usr_hold_pol bit."] #[inline(always)] - #[must_use] pub fn usr_cmd_hold(&mut self) -> USR_CMD_HOLD_W { USR_CMD_HOLD_W::new(self, 22) } #[doc = "Bit 23 - spi is hold at prepare state the bit combined with spi_usr_hold_pol bit."] #[inline(always)] - #[must_use] pub fn usr_prep_hold(&mut self) -> USR_PREP_HOLD_W { USR_PREP_HOLD_W::new(self, 23) } #[doc = "Bit 24 - read-data phase only access to high-part of the buffer spi_w8~spi_w15. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn usr_miso_highpart(&mut self) -> USR_MISO_HIGHPART_W { USR_MISO_HIGHPART_W::new(self, 24) } #[doc = "Bit 25 - write-data phase only access to high-part of the buffer spi_w8~spi_w15. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn usr_mosi_highpart(&mut self) -> USR_MOSI_HIGHPART_W { USR_MOSI_HIGHPART_W::new(self, 25) } #[doc = "Bit 26 - spi clock is disable in dummy phase when the bit is enable."] #[inline(always)] - #[must_use] pub fn usr_dummy_idle(&mut self) -> USR_DUMMY_IDLE_W { USR_DUMMY_IDLE_W::new(self, 26) } #[doc = "Bit 27 - This bit enable the write-data phase of an operation."] #[inline(always)] - #[must_use] pub fn usr_mosi(&mut self) -> USR_MOSI_W { USR_MOSI_W::new(self, 27) } #[doc = "Bit 28 - This bit enable the read-data phase of an operation."] #[inline(always)] - #[must_use] pub fn usr_miso(&mut self) -> USR_MISO_W { USR_MISO_W::new(self, 28) } #[doc = "Bit 29 - This bit enable the dummy phase of an operation."] #[inline(always)] - #[must_use] pub fn usr_dummy(&mut self) -> USR_DUMMY_W { USR_DUMMY_W::new(self, 29) } #[doc = "Bit 30 - This bit enable the address phase of an operation."] #[inline(always)] - #[must_use] pub fn usr_addr(&mut self) -> USR_ADDR_W { USR_ADDR_W::new(self, 30) } #[doc = "Bit 31 - This bit enable the command phase of an operation."] #[inline(always)] - #[must_use] pub fn usr_command(&mut self) -> USR_COMMAND_W { USR_COMMAND_W::new(self, 31) } diff --git a/esp32/src/spi0/user1.rs b/esp32/src/spi0/user1.rs index a55f5ac223..8149e6b652 100644 --- a/esp32/src/spi0/user1.rs +++ b/esp32/src/spi0/user1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - The length in spi_clk cycles of dummy phase. The register value shall be (cycle_num-1)."] #[inline(always)] - #[must_use] pub fn usr_dummy_cyclelen(&mut self) -> USR_DUMMY_CYCLELEN_W { USR_DUMMY_CYCLELEN_W::new(self, 0) } #[doc = "Bits 26:31 - The length in bits of address phase. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn usr_addr_bitlen(&mut self) -> USR_ADDR_BITLEN_W { USR_ADDR_BITLEN_W::new(self, 26) } diff --git a/esp32/src/spi0/user2.rs b/esp32/src/spi0/user2.rs index 84bb04690b..e3e7c45b78 100644 --- a/esp32/src/spi0/user2.rs +++ b/esp32/src/spi0/user2.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The value of command."] #[inline(always)] - #[must_use] pub fn usr_command_value(&mut self) -> USR_COMMAND_VALUE_W { USR_COMMAND_VALUE_W::new(self, 0) } #[doc = "Bits 28:31 - The length in bits of command phase. The register value shall be (bit_num-1)"] #[inline(always)] - #[must_use] pub fn usr_command_bitlen(&mut self) -> USR_COMMAND_BITLEN_W { USR_COMMAND_BITLEN_W::new(self, 28) } diff --git a/esp32/src/spi0/w.rs b/esp32/src/spi0/w.rs index 2d9fcca16d..88c8c5ce9c 100644 --- a/esp32/src/spi0/w.rs +++ b/esp32/src/spi0/w.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - data buffer"] #[inline(always)] - #[must_use] pub fn buf(&mut self) -> BUF_W { BUF_W::new(self, 0) } diff --git a/esp32/src/timg0/int_clr.rs b/esp32/src/timg0/int_clr.rs index 7032ef83d9..7ded6f0f9a 100644 --- a/esp32/src/timg0/int_clr.rs +++ b/esp32/src/timg0/int_clr.rs @@ -17,7 +17,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `T0` field.
"] #[inline(always)] - #[must_use] pub fn t(&mut self, n: u8) -> T_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -25,25 +24,21 @@ impl W { } #[doc = "Bit 0 - interrupt when timer0 alarm"] #[inline(always)] - #[must_use] pub fn t0(&mut self) -> T_W { T_W::new(self, 0) } #[doc = "Bit 1 - interrupt when timer1 alarm"] #[inline(always)] - #[must_use] pub fn t1(&mut self) -> T_W { T_W::new(self, 1) } #[doc = "Bit 2 - Interrupt when an interrupt stage timeout"] #[inline(always)] - #[must_use] pub fn wdt(&mut self) -> WDT_W { WDT_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn lact(&mut self) -> LACT_W { LACT_W::new(self, 3) } @@ -57,7 +52,7 @@ impl crate::RegisterSpec for INT_CLR_SPEC { impl crate::Writable for INT_CLR_SPEC { type Safety = crate::Unsafe; const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0x0d; + const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0x0f; } #[doc = "`reset()` method sets INT_CLR to value 0"] impl crate::Resettable for INT_CLR_SPEC { diff --git a/esp32/src/timg0/int_ena.rs b/esp32/src/timg0/int_ena.rs index 0d4f6cf43a..6d39b03f38 100644 --- a/esp32/src/timg0/int_ena.rs +++ b/esp32/src/timg0/int_ena.rs @@ -67,7 +67,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `T0` field.
"] #[inline(always)] - #[must_use] pub fn t(&mut self, n: u8) -> T_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -75,25 +74,21 @@ impl W { } #[doc = "Bit 0 - interrupt when timer0 alarm"] #[inline(always)] - #[must_use] pub fn t0(&mut self) -> T_W { T_W::new(self, 0) } #[doc = "Bit 1 - interrupt when timer1 alarm"] #[inline(always)] - #[must_use] pub fn t1(&mut self) -> T_W { T_W::new(self, 1) } #[doc = "Bit 2 - Interrupt when an interrupt stage timeout"] #[inline(always)] - #[must_use] pub fn wdt(&mut self) -> WDT_W { WDT_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn lact(&mut self) -> LACT_W { LACT_W::new(self, 3) } diff --git a/esp32/src/timg0/lactalarmhi.rs b/esp32/src/timg0/lactalarmhi.rs index 4b57128048..ef12c792c1 100644 --- a/esp32/src/timg0/lactalarmhi.rs +++ b/esp32/src/timg0/lactalarmhi.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn alarm_hi(&mut self) -> ALARM_HI_W { ALARM_HI_W::new(self, 0) } diff --git a/esp32/src/timg0/lactalarmlo.rs b/esp32/src/timg0/lactalarmlo.rs index 23386e6d6d..a206bb5907 100644 --- a/esp32/src/timg0/lactalarmlo.rs +++ b/esp32/src/timg0/lactalarmlo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn alarm_lo(&mut self) -> ALARM_LO_W { ALARM_LO_W::new(self, 0) } diff --git a/esp32/src/timg0/lactconfig.rs b/esp32/src/timg0/lactconfig.rs index 20e241cec1..b5acb613e6 100644 --- a/esp32/src/timg0/lactconfig.rs +++ b/esp32/src/timg0/lactconfig.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn rtc_only(&mut self) -> RTC_ONLY_W { RTC_ONLY_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn cpst_en(&mut self) -> CPST_EN_W { CPST_EN_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn lac_en(&mut self) -> LAC_EN_W { LAC_EN_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn alarm_en(&mut self) -> ALARM_EN_W { ALARM_EN_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn level_int_en(&mut self) -> LEVEL_INT_EN_W { LEVEL_INT_EN_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn edge_int_en(&mut self) -> EDGE_INT_EN_W { EDGE_INT_EN_W::new(self, 12) } #[doc = "Bits 13:28"] #[inline(always)] - #[must_use] pub fn divider(&mut self) -> DIVIDER_W { DIVIDER_W::new(self, 13) } #[doc = "Bit 29"] #[inline(always)] - #[must_use] pub fn autoreload(&mut self) -> AUTORELOAD_W { AUTORELOAD_W::new(self, 29) } #[doc = "Bit 30"] #[inline(always)] - #[must_use] pub fn increase(&mut self) -> INCREASE_W { INCREASE_W::new(self, 30) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 31) } diff --git a/esp32/src/timg0/lactload.rs b/esp32/src/timg0/lactload.rs index caf07fb09a..badc8660ed 100644 --- a/esp32/src/timg0/lactload.rs +++ b/esp32/src/timg0/lactload.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn load(&mut self) -> LOAD_W { LOAD_W::new(self, 0) } diff --git a/esp32/src/timg0/lactloadhi.rs b/esp32/src/timg0/lactloadhi.rs index 4a156fea6b..9b430b3a0f 100644 --- a/esp32/src/timg0/lactloadhi.rs +++ b/esp32/src/timg0/lactloadhi.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn load_hi(&mut self) -> LOAD_HI_W { LOAD_HI_W::new(self, 0) } diff --git a/esp32/src/timg0/lactloadlo.rs b/esp32/src/timg0/lactloadlo.rs index d06938be4b..b58ec221df 100644 --- a/esp32/src/timg0/lactloadlo.rs +++ b/esp32/src/timg0/lactloadlo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn load_lo(&mut self) -> LOAD_LO_W { LOAD_LO_W::new(self, 0) } diff --git a/esp32/src/timg0/lactrtc.rs b/esp32/src/timg0/lactrtc.rs index 41162856ff..981937b108 100644 --- a/esp32/src/timg0/lactrtc.rs +++ b/esp32/src/timg0/lactrtc.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 6:31"] #[inline(always)] - #[must_use] pub fn rtc_step_len(&mut self) -> RTC_STEP_LEN_W { RTC_STEP_LEN_W::new(self, 6) } diff --git a/esp32/src/timg0/lactupdate.rs b/esp32/src/timg0/lactupdate.rs index 0be3a31933..1ed240d8c5 100644 --- a/esp32/src/timg0/lactupdate.rs +++ b/esp32/src/timg0/lactupdate.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn update(&mut self) -> UPDATE_W { UPDATE_W::new(self, 0) } diff --git a/esp32/src/timg0/ntimers_date.rs b/esp32/src/timg0/ntimers_date.rs index 8c7dc19fed..5b7b88355c 100644 --- a/esp32/src/timg0/ntimers_date.rs +++ b/esp32/src/timg0/ntimers_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Version of this regfile"] #[inline(always)] - #[must_use] pub fn ntimers_date(&mut self) -> NTIMERS_DATE_W { NTIMERS_DATE_W::new(self, 0) } diff --git a/esp32/src/timg0/rtccalicfg.rs b/esp32/src/timg0/rtccalicfg.rs index 0fa6c61504..231e48f5f3 100644 --- a/esp32/src/timg0/rtccalicfg.rs +++ b/esp32/src/timg0/rtccalicfg.rs @@ -62,25 +62,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn rtc_cali_start_cycling(&mut self) -> RTC_CALI_START_CYCLING_W { RTC_CALI_START_CYCLING_W::new(self, 12) } #[doc = "Bits 13:14"] #[inline(always)] - #[must_use] pub fn rtc_cali_clk_sel(&mut self) -> RTC_CALI_CLK_SEL_W { RTC_CALI_CLK_SEL_W::new(self, 13) } #[doc = "Bits 16:30"] #[inline(always)] - #[must_use] pub fn rtc_cali_max(&mut self) -> RTC_CALI_MAX_W { RTC_CALI_MAX_W::new(self, 16) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn rtc_cali_start(&mut self) -> RTC_CALI_START_W { RTC_CALI_START_W::new(self, 31) } diff --git a/esp32/src/timg0/t/alarmhi.rs b/esp32/src/timg0/t/alarmhi.rs index 866d329edf..ae7f34f579 100644 --- a/esp32/src/timg0/t/alarmhi.rs +++ b/esp32/src/timg0/t/alarmhi.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Timer 0 time-base counter value higher 32 bits that will trigger the alarm"] #[inline(always)] - #[must_use] pub fn alarm_hi(&mut self) -> ALARM_HI_W { ALARM_HI_W::new(self, 0) } diff --git a/esp32/src/timg0/t/alarmlo.rs b/esp32/src/timg0/t/alarmlo.rs index 26a6c12414..a6f7b9fbf6 100644 --- a/esp32/src/timg0/t/alarmlo.rs +++ b/esp32/src/timg0/t/alarmlo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Timer 0 time-base counter value lower 32 bits that will trigger the alarm"] #[inline(always)] - #[must_use] pub fn alarm_lo(&mut self) -> ALARM_LO_W { ALARM_LO_W::new(self, 0) } diff --git a/esp32/src/timg0/t/config.rs b/esp32/src/timg0/t/config.rs index 7257ced7dd..7a9d3f84a4 100644 --- a/esp32/src/timg0/t/config.rs +++ b/esp32/src/timg0/t/config.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 10 - When set alarm is enabled"] #[inline(always)] - #[must_use] pub fn alarm_en(&mut self) -> ALARM_EN_W { ALARM_EN_W::new(self, 10) } #[doc = "Bit 11 - When set level type interrupt will be generated during alarm"] #[inline(always)] - #[must_use] pub fn level_int_en(&mut self) -> LEVEL_INT_EN_W { LEVEL_INT_EN_W::new(self, 11) } #[doc = "Bit 12 - When set edge type interrupt will be generated during alarm"] #[inline(always)] - #[must_use] pub fn edge_int_en(&mut self) -> EDGE_INT_EN_W { EDGE_INT_EN_W::new(self, 12) } #[doc = "Bits 13:28 - Timer 0 clock (T0_clk) prescale value."] #[inline(always)] - #[must_use] pub fn divider(&mut self) -> DIVIDER_W { DIVIDER_W::new(self, 13) } #[doc = "Bit 29 - When set timer 0 auto-reload at alarming is enabled"] #[inline(always)] - #[must_use] pub fn autoreload(&mut self) -> AUTORELOAD_W { AUTORELOAD_W::new(self, 29) } #[doc = "Bit 30 - When set timer 0 time-base counter increment. When cleared timer 0 time-base counter decrement."] #[inline(always)] - #[must_use] pub fn increase(&mut self) -> INCREASE_W { INCREASE_W::new(self, 30) } #[doc = "Bit 31 - When set timer 0 time-base counter is enabled"] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 31) } diff --git a/esp32/src/timg0/t/load.rs b/esp32/src/timg0/t/load.rs index 8f24496c3e..14c86f8f14 100644 --- a/esp32/src/timg0/t/load.rs +++ b/esp32/src/timg0/t/load.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - Write any value will trigger timer 0 time-base counter reload"] #[inline(always)] - #[must_use] pub fn load(&mut self) -> LOAD_W { LOAD_W::new(self, 0) } diff --git a/esp32/src/timg0/t/loadhi.rs b/esp32/src/timg0/t/loadhi.rs index 2475bcd6c7..3df8acfbcd 100644 --- a/esp32/src/timg0/t/loadhi.rs +++ b/esp32/src/timg0/t/loadhi.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - higher 32 bits of the value that will load into timer 0 time-base counter"] #[inline(always)] - #[must_use] pub fn load_hi(&mut self) -> LOAD_HI_W { LOAD_HI_W::new(self, 0) } diff --git a/esp32/src/timg0/t/loadlo.rs b/esp32/src/timg0/t/loadlo.rs index cf24d306c4..9c62f49eef 100644 --- a/esp32/src/timg0/t/loadlo.rs +++ b/esp32/src/timg0/t/loadlo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Lower 32 bits of the value that will load into timer 0 time-base counter"] #[inline(always)] - #[must_use] pub fn load_lo(&mut self) -> LOAD_LO_W { LOAD_LO_W::new(self, 0) } diff --git a/esp32/src/timg0/t/update.rs b/esp32/src/timg0/t/update.rs index 8cea281c39..919bbec924 100644 --- a/esp32/src/timg0/t/update.rs +++ b/esp32/src/timg0/t/update.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - Write any value will trigger a timer 0 time-base counter value update (timer 0 current value will be stored in registers above)"] #[inline(always)] - #[must_use] pub fn update(&mut self) -> UPDATE_W { UPDATE_W::new(self, 31) } diff --git a/esp32/src/timg0/timgclk.rs b/esp32/src/timg0/timgclk.rs index fe6bcfad25..43936509bd 100644 --- a/esp32/src/timg0/timgclk.rs +++ b/esp32/src/timg0/timgclk.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - Force clock enable for this regfile"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32/src/timg0/wdtconfig0.rs b/esp32/src/timg0/wdtconfig0.rs index 3ca19407d1..02efaa3e78 100644 --- a/esp32/src/timg0/wdtconfig0.rs +++ b/esp32/src/timg0/wdtconfig0.rs @@ -469,61 +469,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 14 - When set flash boot protection is enabled"] #[inline(always)] - #[must_use] pub fn wdt_flashboot_mod_en(&mut self) -> WDT_FLASHBOOT_MOD_EN_W { WDT_FLASHBOOT_MOD_EN_W::new(self, 14) } #[doc = "Bits 15:17 - length of system reset selection. 0: 100ns 1: 200ns 2: 300ns 3: 400ns 4: 500ns 5: 800ns 6: 1.6us 7: 3.2us"] #[inline(always)] - #[must_use] pub fn wdt_sys_reset_length(&mut self) -> WDT_SYS_RESET_LENGTH_W { WDT_SYS_RESET_LENGTH_W::new(self, 15) } #[doc = "Bits 18:20 - length of CPU reset selection. 0: 100ns 1: 200ns 2: 300ns 3: 400ns 4: 500ns 5: 800ns 6: 1.6us 7: 3.2us"] #[inline(always)] - #[must_use] pub fn wdt_cpu_reset_length(&mut self) -> WDT_CPU_RESET_LENGTH_W { WDT_CPU_RESET_LENGTH_W::new(self, 18) } #[doc = "Bit 21 - When set level type interrupt generation is enabled"] #[inline(always)] - #[must_use] pub fn wdt_level_int_en(&mut self) -> WDT_LEVEL_INT_EN_W { WDT_LEVEL_INT_EN_W::new(self, 21) } #[doc = "Bit 22 - When set edge type interrupt generation is enabled"] #[inline(always)] - #[must_use] pub fn wdt_edge_int_en(&mut self) -> WDT_EDGE_INT_EN_W { WDT_EDGE_INT_EN_W::new(self, 22) } #[doc = "Bits 23:24 - Stage 3 configuration. 0: off 1: interrupt 2: reset CPU 3: reset system"] #[inline(always)] - #[must_use] pub fn wdt_stg3(&mut self) -> WDT_STG3_W { WDT_STG3_W::new(self, 23) } #[doc = "Bits 25:26 - Stage 2 configuration. 0: off 1: interrupt 2: reset CPU 3: reset system"] #[inline(always)] - #[must_use] pub fn wdt_stg2(&mut self) -> WDT_STG2_W { WDT_STG2_W::new(self, 25) } #[doc = "Bits 27:28 - Stage 1 configuration. 0: off 1: interrupt 2: reset CPU 3: reset system"] #[inline(always)] - #[must_use] pub fn wdt_stg1(&mut self) -> WDT_STG1_W { WDT_STG1_W::new(self, 27) } #[doc = "Bits 29:30 - Stage 0 configuration. 0: off 1: interrupt 2: reset CPU 3: reset system"] #[inline(always)] - #[must_use] pub fn wdt_stg0(&mut self) -> WDT_STG0_W { WDT_STG0_W::new(self, 29) } #[doc = "Bit 31 - When set SWDT is enabled"] #[inline(always)] - #[must_use] pub fn wdt_en(&mut self) -> WDT_EN_W { WDT_EN_W::new(self, 31) } diff --git a/esp32/src/timg0/wdtconfig1.rs b/esp32/src/timg0/wdtconfig1.rs index 1c86f5576b..8d95afa48f 100644 --- a/esp32/src/timg0/wdtconfig1.rs +++ b/esp32/src/timg0/wdtconfig1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - SWDT clock prescale value. Period = 12.5ns * value stored in this register"] #[inline(always)] - #[must_use] pub fn wdt_clk_prescale(&mut self) -> WDT_CLK_PRESCALE_W { WDT_CLK_PRESCALE_W::new(self, 16) } diff --git a/esp32/src/timg0/wdtconfig2.rs b/esp32/src/timg0/wdtconfig2.rs index 92405c7a27..4e224504ac 100644 --- a/esp32/src/timg0/wdtconfig2.rs +++ b/esp32/src/timg0/wdtconfig2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stage 0 timeout value in SWDT clock cycles"] #[inline(always)] - #[must_use] pub fn wdt_stg0_hold(&mut self) -> WDT_STG0_HOLD_W { WDT_STG0_HOLD_W::new(self, 0) } diff --git a/esp32/src/timg0/wdtconfig3.rs b/esp32/src/timg0/wdtconfig3.rs index a20667407d..999b1a4584 100644 --- a/esp32/src/timg0/wdtconfig3.rs +++ b/esp32/src/timg0/wdtconfig3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stage 1 timeout value in SWDT clock cycles"] #[inline(always)] - #[must_use] pub fn wdt_stg1_hold(&mut self) -> WDT_STG1_HOLD_W { WDT_STG1_HOLD_W::new(self, 0) } diff --git a/esp32/src/timg0/wdtconfig4.rs b/esp32/src/timg0/wdtconfig4.rs index f8b7470d95..b2382d588c 100644 --- a/esp32/src/timg0/wdtconfig4.rs +++ b/esp32/src/timg0/wdtconfig4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stage 2 timeout value in SWDT clock cycles"] #[inline(always)] - #[must_use] pub fn wdt_stg2_hold(&mut self) -> WDT_STG2_HOLD_W { WDT_STG2_HOLD_W::new(self, 0) } diff --git a/esp32/src/timg0/wdtconfig5.rs b/esp32/src/timg0/wdtconfig5.rs index e3b9499922..48647c1b24 100644 --- a/esp32/src/timg0/wdtconfig5.rs +++ b/esp32/src/timg0/wdtconfig5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stage 3 timeout value in SWDT clock cycles"] #[inline(always)] - #[must_use] pub fn wdt_stg3_hold(&mut self) -> WDT_STG3_HOLD_W { WDT_STG3_HOLD_W::new(self, 0) } diff --git a/esp32/src/timg0/wdtfeed.rs b/esp32/src/timg0/wdtfeed.rs index 5695164d71..c000a6d019 100644 --- a/esp32/src/timg0/wdtfeed.rs +++ b/esp32/src/timg0/wdtfeed.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - Write any value will feed SWDT"] #[inline(always)] - #[must_use] pub fn wdt_feed(&mut self) -> WDT_FEED_W { WDT_FEED_W::new(self, 0) } diff --git a/esp32/src/timg0/wdtwprotect.rs b/esp32/src/timg0/wdtwprotect.rs index 4cb67cc122..aa11612115 100644 --- a/esp32/src/timg0/wdtwprotect.rs +++ b/esp32/src/timg0/wdtwprotect.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - If change its value from default then write protection is on."] #[inline(always)] - #[must_use] pub fn wdt_wkey(&mut self) -> WDT_WKEY_W { WDT_WKEY_W::new(self, 0) } diff --git a/esp32/src/twai0/bus_timing_0.rs b/esp32/src/twai0/bus_timing_0.rs index c0fb1dde40..54c99a489f 100644 --- a/esp32/src/twai0/bus_timing_0.rs +++ b/esp32/src/twai0/bus_timing_0.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - Baud Rate Prescaler, determines the frequency dividing ratio."] #[inline(always)] - #[must_use] pub fn baud_presc(&mut self) -> BAUD_PRESC_W { BAUD_PRESC_W::new(self, 0) } #[doc = "Bits 6:7 - Synchronization Jump Width (SJW), 1 \\verb+~+ 14 Tq wide."] #[inline(always)] - #[must_use] pub fn sync_jump_width(&mut self) -> SYNC_JUMP_WIDTH_W { SYNC_JUMP_WIDTH_W::new(self, 6) } diff --git a/esp32/src/twai0/bus_timing_1.rs b/esp32/src/twai0/bus_timing_1.rs index edd5e6575c..387797e218 100644 --- a/esp32/src/twai0/bus_timing_1.rs +++ b/esp32/src/twai0/bus_timing_1.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - The width of PBS1."] #[inline(always)] - #[must_use] pub fn time_seg1(&mut self) -> TIME_SEG1_W { TIME_SEG1_W::new(self, 0) } #[doc = "Bits 4:6 - The width of PBS2."] #[inline(always)] - #[must_use] pub fn time_seg2(&mut self) -> TIME_SEG2_W { TIME_SEG2_W::new(self, 4) } #[doc = "Bit 7 - The number of sample points. 0: the bus is sampled once; 1: the bus is sampled three times"] #[inline(always)] - #[must_use] pub fn time_samp(&mut self) -> TIME_SAMP_W { TIME_SAMP_W::new(self, 7) } diff --git a/esp32/src/twai0/clock_divider.rs b/esp32/src/twai0/clock_divider.rs index 44b86c2f02..e4352a1719 100644 --- a/esp32/src/twai0/clock_divider.rs +++ b/esp32/src/twai0/clock_divider.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - These bits are used to configure frequency dividing coefficients of the external CLKOUT pin."] #[inline(always)] - #[must_use] pub fn cd(&mut self) -> CD_W { CD_W::new(self, 0) } #[doc = "Bit 3 - This bit can be configured under reset mode. 1: Disable the external CLKOUT pin; 0: Enable the external CLKOUT pin"] #[inline(always)] - #[must_use] pub fn clock_off(&mut self) -> CLOCK_OFF_W { CLOCK_OFF_W::new(self, 3) } #[doc = "Bit 7 - This bit can be configured under reset mode. 1: Extended mode, compatiable with CAN2.0B; 0: Basic mode"] #[inline(always)] - #[must_use] pub fn ext_mode(&mut self) -> EXT_MODE_W { EXT_MODE_W::new(self, 7) } diff --git a/esp32/src/twai0/cmd.rs b/esp32/src/twai0/cmd.rs index 9dec5c5851..7f85b98347 100644 --- a/esp32/src/twai0/cmd.rs +++ b/esp32/src/twai0/cmd.rs @@ -19,31 +19,26 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set the bit to 1 to allow the driving nodes start transmission."] #[inline(always)] - #[must_use] pub fn tx_req(&mut self) -> TX_REQ_W { TX_REQ_W::new(self, 0) } #[doc = "Bit 1 - Set the bit to 1 to cancel a pending transmission request."] #[inline(always)] - #[must_use] pub fn abort_tx(&mut self) -> ABORT_TX_W { ABORT_TX_W::new(self, 1) } #[doc = "Bit 2 - Set the bit to 1 to release the RX buffer."] #[inline(always)] - #[must_use] pub fn release_buf(&mut self) -> RELEASE_BUF_W { RELEASE_BUF_W::new(self, 2) } #[doc = "Bit 3 - Set the bit to 1 to clear the data overrun status bit."] #[inline(always)] - #[must_use] pub fn clr_overrun(&mut self) -> CLR_OVERRUN_W { CLR_OVERRUN_W::new(self, 3) } #[doc = "Bit 4 - Self reception request command. Set the bit to 1 to allow a message be transmitted and received simultaneously."] #[inline(always)] - #[must_use] pub fn self_rx_req(&mut self) -> SELF_RX_REQ_W { SELF_RX_REQ_W::new(self, 4) } diff --git a/esp32/src/twai0/data_0.rs b/esp32/src/twai0/data_0.rs index 9da54a5102..0d31668320 100644 --- a/esp32/src/twai0/data_0.rs +++ b/esp32/src/twai0/data_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance code register 0 with R/W Permission. In operation mode, it stores the 0th byte information of the data to be transmitted under operating mode."] #[inline(always)] - #[must_use] pub fn tx_byte_0(&mut self) -> TX_BYTE_0_W { TX_BYTE_0_W::new(self, 0) } diff --git a/esp32/src/twai0/data_1.rs b/esp32/src/twai0/data_1.rs index 4fca4af070..b45d9c5e99 100644 --- a/esp32/src/twai0/data_1.rs +++ b/esp32/src/twai0/data_1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance code register 1 with R/W Permission. In operation mode, it stores the 1st byte information of the data to be transmitted under operating mode."] #[inline(always)] - #[must_use] pub fn tx_byte_1(&mut self) -> TX_BYTE_1_W { TX_BYTE_1_W::new(self, 0) } diff --git a/esp32/src/twai0/data_10.rs b/esp32/src/twai0/data_10.rs index d3a1181d8d..756d4b4006 100644 --- a/esp32/src/twai0/data_10.rs +++ b/esp32/src/twai0/data_10.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Stored the 10th byte information of the data to be transmitted under operating mode."] #[inline(always)] - #[must_use] pub fn tx_byte_10(&mut self) -> TX_BYTE_10_W { TX_BYTE_10_W::new(self, 0) } diff --git a/esp32/src/twai0/data_11.rs b/esp32/src/twai0/data_11.rs index a07192b292..80e75ecb8f 100644 --- a/esp32/src/twai0/data_11.rs +++ b/esp32/src/twai0/data_11.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Stored the 11th byte information of the data to be transmitted under operating mode."] #[inline(always)] - #[must_use] pub fn tx_byte_11(&mut self) -> TX_BYTE_11_W { TX_BYTE_11_W::new(self, 0) } diff --git a/esp32/src/twai0/data_12.rs b/esp32/src/twai0/data_12.rs index c6b1c97f51..20646c57b9 100644 --- a/esp32/src/twai0/data_12.rs +++ b/esp32/src/twai0/data_12.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Stored the 12th byte information of the data to be transmitted under operating mode."] #[inline(always)] - #[must_use] pub fn tx_byte_12(&mut self) -> TX_BYTE_12_W { TX_BYTE_12_W::new(self, 0) } diff --git a/esp32/src/twai0/data_2.rs b/esp32/src/twai0/data_2.rs index 3179326e84..0c7db88aa8 100644 --- a/esp32/src/twai0/data_2.rs +++ b/esp32/src/twai0/data_2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance code register 2 with R/W Permission. In operation mode, it stores the 2nd byte information of the data to be transmitted under operating mode."] #[inline(always)] - #[must_use] pub fn tx_byte_2(&mut self) -> TX_BYTE_2_W { TX_BYTE_2_W::new(self, 0) } diff --git a/esp32/src/twai0/data_3.rs b/esp32/src/twai0/data_3.rs index b639a7b9bf..e7df26464e 100644 --- a/esp32/src/twai0/data_3.rs +++ b/esp32/src/twai0/data_3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance code register 3 with R/W Permission. In operation mode, it stores the 3rd byte information of the data to be transmitted under operating mode."] #[inline(always)] - #[must_use] pub fn tx_byte_3(&mut self) -> TX_BYTE_3_W { TX_BYTE_3_W::new(self, 0) } diff --git a/esp32/src/twai0/data_4.rs b/esp32/src/twai0/data_4.rs index 4f473f3008..90ff6b33db 100644 --- a/esp32/src/twai0/data_4.rs +++ b/esp32/src/twai0/data_4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance mask register 0 with R/W Permission. In operation mode, it stores the 4th byte information of the data to be transmitted under operating mode."] #[inline(always)] - #[must_use] pub fn tx_byte_4(&mut self) -> TX_BYTE_4_W { TX_BYTE_4_W::new(self, 0) } diff --git a/esp32/src/twai0/data_5.rs b/esp32/src/twai0/data_5.rs index c622efb8c4..7f9f1e5590 100644 --- a/esp32/src/twai0/data_5.rs +++ b/esp32/src/twai0/data_5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance mask register 1 with R/W Permission. In operation mode, it stores the 5th byte information of the data to be transmitted under operating mode."] #[inline(always)] - #[must_use] pub fn tx_byte_5(&mut self) -> TX_BYTE_5_W { TX_BYTE_5_W::new(self, 0) } diff --git a/esp32/src/twai0/data_6.rs b/esp32/src/twai0/data_6.rs index 994c3b5883..73a15eebef 100644 --- a/esp32/src/twai0/data_6.rs +++ b/esp32/src/twai0/data_6.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance mask register 2 with R/W Permission. In operation mode, it stores the 6th byte information of the data to be transmitted under operating mode."] #[inline(always)] - #[must_use] pub fn tx_byte_6(&mut self) -> TX_BYTE_6_W { TX_BYTE_6_W::new(self, 0) } diff --git a/esp32/src/twai0/data_7.rs b/esp32/src/twai0/data_7.rs index 28c5d98ef9..c637a8aa7b 100644 --- a/esp32/src/twai0/data_7.rs +++ b/esp32/src/twai0/data_7.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance mask register 3 with R/W Permission. In operation mode, it stores the 7th byte information of the data to be transmitted under operating mode."] #[inline(always)] - #[must_use] pub fn tx_byte_7(&mut self) -> TX_BYTE_7_W { TX_BYTE_7_W::new(self, 0) } diff --git a/esp32/src/twai0/data_8.rs b/esp32/src/twai0/data_8.rs index 45046802aa..3d1d76d086 100644 --- a/esp32/src/twai0/data_8.rs +++ b/esp32/src/twai0/data_8.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Stored the 8th byte information of the data to be transmitted under operating mode."] #[inline(always)] - #[must_use] pub fn tx_byte_8(&mut self) -> TX_BYTE_8_W { TX_BYTE_8_W::new(self, 0) } diff --git a/esp32/src/twai0/data_9.rs b/esp32/src/twai0/data_9.rs index 09d489b574..7a9e68c967 100644 --- a/esp32/src/twai0/data_9.rs +++ b/esp32/src/twai0/data_9.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Stored the 9th byte information of the data to be transmitted under operating mode."] #[inline(always)] - #[must_use] pub fn tx_byte_9(&mut self) -> TX_BYTE_9_W { TX_BYTE_9_W::new(self, 0) } diff --git a/esp32/src/twai0/err_warning_limit.rs b/esp32/src/twai0/err_warning_limit.rs index 4a0c61301c..df1aa0b277 100644 --- a/esp32/src/twai0/err_warning_limit.rs +++ b/esp32/src/twai0/err_warning_limit.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Error warning threshold. In the case when any of a error counter value exceeds the threshold, or all the error counter values are below the threshold, an error warning interrupt will be triggered (given the enable signal is valid)."] #[inline(always)] - #[must_use] pub fn err_warning_limit(&mut self) -> ERR_WARNING_LIMIT_W { ERR_WARNING_LIMIT_W::new(self, 0) } diff --git a/esp32/src/twai0/int_ena.rs b/esp32/src/twai0/int_ena.rs index 8241d7fde8..b95bee9c9f 100644 --- a/esp32/src/twai0/int_ena.rs +++ b/esp32/src/twai0/int_ena.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to 1 to enable receive interrupt."] #[inline(always)] - #[must_use] pub fn rx_int_ena(&mut self) -> RX_INT_ENA_W { RX_INT_ENA_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to 1 to enable transmit interrupt."] #[inline(always)] - #[must_use] pub fn tx_int_ena(&mut self) -> TX_INT_ENA_W { TX_INT_ENA_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to 1 to enable error warning interrupt."] #[inline(always)] - #[must_use] pub fn err_warn_int_ena(&mut self) -> ERR_WARN_INT_ENA_W { ERR_WARN_INT_ENA_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to 1 to enable data overrun interrupt."] #[inline(always)] - #[must_use] pub fn overrun_int_ena(&mut self) -> OVERRUN_INT_ENA_W { OVERRUN_INT_ENA_W::new(self, 3) } #[doc = "Bit 4 - THIS IS NOT AN INTERRUPT. brp_div will prescale BRP by 2. Only available on ESP32 Revision 2 or later. Reserved otherwise"] #[inline(always)] - #[must_use] pub fn brp_div(&mut self) -> BRP_DIV_W { BRP_DIV_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to 1 to enable error passive interrupt."] #[inline(always)] - #[must_use] pub fn err_passive_int_ena(&mut self) -> ERR_PASSIVE_INT_ENA_W { ERR_PASSIVE_INT_ENA_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to 1 to enable arbitration lost interrupt."] #[inline(always)] - #[must_use] pub fn arb_lost_int_ena(&mut self) -> ARB_LOST_INT_ENA_W { ARB_LOST_INT_ENA_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to 1 to enable error interrupt."] #[inline(always)] - #[must_use] pub fn bus_err_int_ena(&mut self) -> BUS_ERR_INT_ENA_W { BUS_ERR_INT_ENA_W::new(self, 7) } diff --git a/esp32/src/twai0/mode.rs b/esp32/src/twai0/mode.rs index ddce5ed67c..deebf1574c 100644 --- a/esp32/src/twai0/mode.rs +++ b/esp32/src/twai0/mode.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to configure the operating mode of the TWAI Controller. 1: Reset mode; 0: Operating mode."] #[inline(always)] - #[must_use] pub fn reset_mode(&mut self) -> RESET_MODE_W { RESET_MODE_W::new(self, 0) } #[doc = "Bit 1 - 1: Listen only mode. In this mode the nodes will only receive messages from the bus, without generating the acknowledge signal nor updating the RX error counter."] #[inline(always)] - #[must_use] pub fn listen_only_mode(&mut self) -> LISTEN_ONLY_MODE_W { LISTEN_ONLY_MODE_W::new(self, 1) } #[doc = "Bit 2 - 1: Self test mode. In this mode the TX nodes can perform a successful transmission without receiving the acknowledge signal. This mode is often used to test a single node with the self reception request command."] #[inline(always)] - #[must_use] pub fn self_test_mode(&mut self) -> SELF_TEST_MODE_W { SELF_TEST_MODE_W::new(self, 2) } #[doc = "Bit 3 - This bit is used to configure the filter mode. 0: Dual filter mode; 1: Single filter mode."] #[inline(always)] - #[must_use] pub fn rx_filter_mode(&mut self) -> RX_FILTER_MODE_W { RX_FILTER_MODE_W::new(self, 3) } diff --git a/esp32/src/twai0/rx_err_cnt.rs b/esp32/src/twai0/rx_err_cnt.rs index 0e7eedf680..b421e30b14 100644 --- a/esp32/src/twai0/rx_err_cnt.rs +++ b/esp32/src/twai0/rx_err_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - The RX error counter register, reflects value changes under reception status."] #[inline(always)] - #[must_use] pub fn rx_err_cnt(&mut self) -> RX_ERR_CNT_W { RX_ERR_CNT_W::new(self, 0) } diff --git a/esp32/src/twai0/tx_err_cnt.rs b/esp32/src/twai0/tx_err_cnt.rs index 64ad2e844e..59fbc2d773 100644 --- a/esp32/src/twai0/tx_err_cnt.rs +++ b/esp32/src/twai0/tx_err_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - The TX error counter register, reflects value changes under transmission status."] #[inline(always)] - #[must_use] pub fn tx_err_cnt(&mut self) -> TX_ERR_CNT_W { TX_ERR_CNT_W::new(self, 0) } diff --git a/esp32/src/uart0/at_cmd_char.rs b/esp32/src/uart0/at_cmd_char.rs index 53d46fc04a..0956b75cdf 100644 --- a/esp32/src/uart0/at_cmd_char.rs +++ b/esp32/src/uart0/at_cmd_char.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register is used to configure the content of at_cmd char."] #[inline(always)] - #[must_use] pub fn at_cmd_char(&mut self) -> AT_CMD_CHAR_W { AT_CMD_CHAR_W::new(self, 0) } #[doc = "Bits 8:15 - This register is used to configure the num of continous at_cmd chars received by receiver."] #[inline(always)] - #[must_use] pub fn char_num(&mut self) -> CHAR_NUM_W { CHAR_NUM_W::new(self, 8) } diff --git a/esp32/src/uart0/at_cmd_gaptout.rs b/esp32/src/uart0/at_cmd_gaptout.rs index a9d08bed20..8f13fa1626 100644 --- a/esp32/src/uart0/at_cmd_gaptout.rs +++ b/esp32/src/uart0/at_cmd_gaptout.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - This register is used to configure the duration time between the at_cmd chars. when the duration time is less than this register value it will not take the datas as continous at_cmd chars."] #[inline(always)] - #[must_use] pub fn rx_gap_tout(&mut self) -> RX_GAP_TOUT_W { RX_GAP_TOUT_W::new(self, 0) } diff --git a/esp32/src/uart0/at_cmd_postcnt.rs b/esp32/src/uart0/at_cmd_postcnt.rs index 6418d3d365..faef65087b 100644 --- a/esp32/src/uart0/at_cmd_postcnt.rs +++ b/esp32/src/uart0/at_cmd_postcnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - This register is used to configure the duration time between the last at_cmd and the next data. when the duration is less than this register value it will not take the previous data as at_cmd char."] #[inline(always)] - #[must_use] pub fn post_idle_num(&mut self) -> POST_IDLE_NUM_W { POST_IDLE_NUM_W::new(self, 0) } diff --git a/esp32/src/uart0/at_cmd_precnt.rs b/esp32/src/uart0/at_cmd_precnt.rs index 4977216dba..8bbbe4d1b7 100644 --- a/esp32/src/uart0/at_cmd_precnt.rs +++ b/esp32/src/uart0/at_cmd_precnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - This register is used to configure the idle duration time before the first at_cmd is received by receiver. when the the duration is less than this register value it will not take the next data received as at_cmd char."] #[inline(always)] - #[must_use] pub fn pre_idle_num(&mut self) -> PRE_IDLE_NUM_W { PRE_IDLE_NUM_W::new(self, 0) } diff --git a/esp32/src/uart0/autobaud.rs b/esp32/src/uart0/autobaud.rs index f6fe2f2499..2cdf79109b 100644 --- a/esp32/src/uart0/autobaud.rs +++ b/esp32/src/uart0/autobaud.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This is the enable bit for detecting baudrate."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 0) } #[doc = "Bits 8:15 - when input pulse width is lower then this value igore this pulse.this register is used in autobaud detect process."] #[inline(always)] - #[must_use] pub fn glitch_filt(&mut self) -> GLITCH_FILT_W { GLITCH_FILT_W::new(self, 8) } diff --git a/esp32/src/uart0/clkdiv.rs b/esp32/src/uart0/clkdiv.rs index 4f3840bcec..7fc118a456 100644 --- a/esp32/src/uart0/clkdiv.rs +++ b/esp32/src/uart0/clkdiv.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - The register value is the integer part of the frequency divider's factor."] #[inline(always)] - #[must_use] pub fn clkdiv(&mut self) -> CLKDIV_W { CLKDIV_W::new(self, 0) } #[doc = "Bits 20:23 - The register value is the decimal part of the frequency divider's factor."] #[inline(always)] - #[must_use] pub fn frag(&mut self) -> FRAG_W { FRAG_W::new(self, 20) } diff --git a/esp32/src/uart0/conf0.rs b/esp32/src/uart0/conf0.rs index 54368a967c..ef4fa29f2f 100644 --- a/esp32/src/uart0/conf0.rs +++ b/esp32/src/uart0/conf0.rs @@ -274,157 +274,131 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This register is used to configure the parity check mode. 0:even 1:odd"] #[inline(always)] - #[must_use] pub fn parity(&mut self) -> PARITY_W { PARITY_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to enable uart parity check."] #[inline(always)] - #[must_use] pub fn parity_en(&mut self) -> PARITY_EN_W { PARITY_EN_W::new(self, 1) } #[doc = "Bits 2:3 - This registe is used to set the length of data: 0:5bits 1:6bits 2:7bits 3:8bits"] #[inline(always)] - #[must_use] pub fn bit_num(&mut self) -> BIT_NUM_W { BIT_NUM_W::new(self, 2) } #[doc = "Bits 4:5 - This register is used to set the length of stop bit. 1:1bit 2:1.5bits 3:2bits"] #[inline(always)] - #[must_use] pub fn stop_bit_num(&mut self) -> STOP_BIT_NUM_W { STOP_BIT_NUM_W::new(self, 4) } #[doc = "Bit 6 - This register is used to configure the software rts signal which is used in software flow control."] #[inline(always)] - #[must_use] pub fn sw_rts(&mut self) -> SW_RTS_W { SW_RTS_W::new(self, 6) } #[doc = "Bit 7 - This register is used to configure the software dtr signal which is used in software flow control.."] #[inline(always)] - #[must_use] pub fn sw_dtr(&mut self) -> SW_DTR_W { SW_DTR_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to enbale transmitter to send 0 when the process of sending data is done."] #[inline(always)] - #[must_use] pub fn txd_brk(&mut self) -> TXD_BRK_W { TXD_BRK_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to enable irda loopback mode."] #[inline(always)] - #[must_use] pub fn irda_dplx(&mut self) -> IRDA_DPLX_W { IRDA_DPLX_W::new(self, 9) } #[doc = "Bit 10 - This is the start enable bit for irda transmitter."] #[inline(always)] - #[must_use] pub fn irda_tx_en(&mut self) -> IRDA_TX_EN_W { IRDA_TX_EN_W::new(self, 10) } #[doc = "Bit 11 - 1.the irda transmitter's 11th bit is the same to the 10th bit. 0.set irda transmitter's 11th bit to 0."] #[inline(always)] - #[must_use] pub fn irda_wctl(&mut self) -> IRDA_WCTL_W { IRDA_WCTL_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to inverse the level value of irda transmitter's level."] #[inline(always)] - #[must_use] pub fn irda_tx_inv(&mut self) -> IRDA_TX_INV_W { IRDA_TX_INV_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to inverse the level value of irda receiver's level."] #[inline(always)] - #[must_use] pub fn irda_rx_inv(&mut self) -> IRDA_RX_INV_W { IRDA_RX_INV_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to enable uart loopback test mode."] #[inline(always)] - #[must_use] pub fn loopback(&mut self) -> LOOPBACK_W { LOOPBACK_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to enable transmitter's flow control function."] #[inline(always)] - #[must_use] pub fn tx_flow_en(&mut self) -> TX_FLOW_EN_W { TX_FLOW_EN_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to enable irda protocol."] #[inline(always)] - #[must_use] pub fn irda_en(&mut self) -> IRDA_EN_W { IRDA_EN_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to reset uart receiver's fifo."] #[inline(always)] - #[must_use] pub fn rxfifo_rst(&mut self) -> RXFIFO_RST_W { RXFIFO_RST_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to reset uart transmitter's fifo."] #[inline(always)] - #[must_use] pub fn txfifo_rst(&mut self) -> TXFIFO_RST_W { TXFIFO_RST_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to inverse the level value of uart rxd signal."] #[inline(always)] - #[must_use] pub fn rxd_inv(&mut self) -> RXD_INV_W { RXD_INV_W::new(self, 19) } #[doc = "Bit 20 - Set this bit to inverse the level value of uart cts signal."] #[inline(always)] - #[must_use] pub fn cts_inv(&mut self) -> CTS_INV_W { CTS_INV_W::new(self, 20) } #[doc = "Bit 21 - Set this bit to inverse the level value of uart dsr signal."] #[inline(always)] - #[must_use] pub fn dsr_inv(&mut self) -> DSR_INV_W { DSR_INV_W::new(self, 21) } #[doc = "Bit 22 - Set this bit to inverse the level value of uart txd signal."] #[inline(always)] - #[must_use] pub fn txd_inv(&mut self) -> TXD_INV_W { TXD_INV_W::new(self, 22) } #[doc = "Bit 23 - Set this bit to inverse the level value of uart rts signal."] #[inline(always)] - #[must_use] pub fn rts_inv(&mut self) -> RTS_INV_W { RTS_INV_W::new(self, 23) } #[doc = "Bit 24 - Set this bit to inverse the level value of uart dtr signal."] #[inline(always)] - #[must_use] pub fn dtr_inv(&mut self) -> DTR_INV_W { DTR_INV_W::new(self, 24) } #[doc = "Bit 25 - 1.force clock on for registers.support clock only when write registers"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 25) } #[doc = "Bit 26 - 1.receiver stops storing data int fifo when data is wrong. 0.receiver stores the data even if the received data is wrong."] #[inline(always)] - #[must_use] pub fn err_wr_mask(&mut self) -> ERR_WR_MASK_W { ERR_WR_MASK_W::new(self, 26) } #[doc = "Bit 27 - This register is used to select the clock.1.apb clock 0:ref_tick"] #[inline(always)] - #[must_use] pub fn tick_ref_always_on(&mut self) -> TICK_REF_ALWAYS_ON_W { TICK_REF_ALWAYS_ON_W::new(self, 27) } diff --git a/esp32/src/uart0/conf1.rs b/esp32/src/uart0/conf1.rs index bcd5ab62d1..a976f1e662 100644 --- a/esp32/src/uart0/conf1.rs +++ b/esp32/src/uart0/conf1.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - When receiver receives more data than its threshold value.receiver will produce rxfifo_full_int_raw interrupt.the threshold value is (rx_flow_thrhd_h3 rxfifo_full_thrhd)."] #[inline(always)] - #[must_use] pub fn rxfifo_full_thrhd(&mut self) -> RXFIFO_FULL_THRHD_W { RXFIFO_FULL_THRHD_W::new(self, 0) } #[doc = "Bits 8:14 - when the data amount in transmitter fifo is less than its threshold value. it will produce txfifo_empty_int_raw interrupt. the threshold value is (tx_mem_empty_thrhd txfifo_empty_thrhd)"] #[inline(always)] - #[must_use] pub fn txfifo_empty_thrhd(&mut self) -> TXFIFO_EMPTY_THRHD_W { TXFIFO_EMPTY_THRHD_W::new(self, 8) } #[doc = "Bits 16:22 - when receiver receives more data than its threshold value. receiver produce signal to tell the transmitter stop transferring data. the threshold value is (rx_flow_thrhd_h3 rx_flow_thrhd)."] #[inline(always)] - #[must_use] pub fn rx_flow_thrhd(&mut self) -> RX_FLOW_THRHD_W { RX_FLOW_THRHD_W::new(self, 16) } #[doc = "Bit 23 - This is the flow enable bit for uart receiver. 1:choose software flow control with configuring sw_rts signal"] #[inline(always)] - #[must_use] pub fn rx_flow_en(&mut self) -> RX_FLOW_EN_W { RX_FLOW_EN_W::new(self, 23) } #[doc = "Bits 24:30 - This register is used to configure the timeout value for uart receiver receiving a byte."] #[inline(always)] - #[must_use] pub fn rx_tout_thrhd(&mut self) -> RX_TOUT_THRHD_W { RX_TOUT_THRHD_W::new(self, 24) } #[doc = "Bit 31 - This is the enble bit for uart receiver's timeout function."] #[inline(always)] - #[must_use] pub fn rx_tout_en(&mut self) -> RX_TOUT_EN_W { RX_TOUT_EN_W::new(self, 31) } diff --git a/esp32/src/uart0/date.rs b/esp32/src/uart0/date.rs index 548abf5c55..de9377a7bd 100644 --- a/esp32/src/uart0/date.rs +++ b/esp32/src/uart0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32/src/uart0/fifo.rs b/esp32/src/uart0/fifo.rs index 4807221a00..18b603a593 100644 --- a/esp32/src/uart0/fifo.rs +++ b/esp32/src/uart0/fifo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register stores one byte data read by rx fifo."] #[inline(always)] - #[must_use] pub fn rxfifo_rd_byte(&mut self) -> RXFIFO_RD_BYTE_W { RXFIFO_RD_BYTE_W::new(self, 0) } diff --git a/esp32/src/uart0/flow_conf.rs b/esp32/src/uart0/flow_conf.rs index ac2c57cf96..9d28b6ae6d 100644 --- a/esp32/src/uart0/flow_conf.rs +++ b/esp32/src/uart0/flow_conf.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable software flow control. it is used with register sw_xon or sw_xoff ."] #[inline(always)] - #[must_use] pub fn sw_flow_con_en(&mut self) -> SW_FLOW_CON_EN_W { SW_FLOW_CON_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to remove flow control char from the received data."] #[inline(always)] - #[must_use] pub fn xonoff_del(&mut self) -> XONOFF_DEL_W { XONOFF_DEL_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear ctsn to stop the transmitter from sending data."] #[inline(always)] - #[must_use] pub fn force_xon(&mut self) -> FORCE_XON_W { FORCE_XON_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to set ctsn to enable the transmitter to go on sending data."] #[inline(always)] - #[must_use] pub fn force_xoff(&mut self) -> FORCE_XOFF_W { FORCE_XOFF_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to send xon char. it is cleared by hardware automatically."] #[inline(always)] - #[must_use] pub fn send_xon(&mut self) -> SEND_XON_W { SEND_XON_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to send xoff char. it is cleared by hardware automatically."] #[inline(always)] - #[must_use] pub fn send_xoff(&mut self) -> SEND_XOFF_W { SEND_XOFF_W::new(self, 5) } diff --git a/esp32/src/uart0/id.rs b/esp32/src/uart0/id.rs index 2311895150..b0e9a357d4 100644 --- a/esp32/src/uart0/id.rs +++ b/esp32/src/uart0/id.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn id(&mut self) -> ID_W { ID_W::new(self, 0) } diff --git a/esp32/src/uart0/idle_conf.rs b/esp32/src/uart0/idle_conf.rs index 07227da622..03bc8b79cc 100644 --- a/esp32/src/uart0/idle_conf.rs +++ b/esp32/src/uart0/idle_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - when receiver takes more time than this register value to receive a byte data. it will produce frame end signal for uhci to stop receiving data."] #[inline(always)] - #[must_use] pub fn rx_idle_thrhd(&mut self) -> RX_IDLE_THRHD_W { RX_IDLE_THRHD_W::new(self, 0) } #[doc = "Bits 10:19 - This register is used to configure the duration time between transfers."] #[inline(always)] - #[must_use] pub fn tx_idle_num(&mut self) -> TX_IDLE_NUM_W { TX_IDLE_NUM_W::new(self, 10) } #[doc = "Bits 20:27 - This register is used to configure the num of 0 send after the process of sending data is done. it is active when txd_brk is set to 1."] #[inline(always)] - #[must_use] pub fn tx_brk_num(&mut self) -> TX_BRK_NUM_W { TX_BRK_NUM_W::new(self, 20) } diff --git a/esp32/src/uart0/int_clr.rs b/esp32/src/uart0/int_clr.rs index fd834e8625..c015b9a282 100644 --- a/esp32/src/uart0/int_clr.rs +++ b/esp32/src/uart0/int_clr.rs @@ -47,115 +47,96 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the rxfifo_full_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_full(&mut self) -> RXFIFO_FULL_W { RXFIFO_FULL_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear txfifo_empty_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_empty(&mut self) -> TXFIFO_EMPTY_W { TXFIFO_EMPTY_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear parity_err_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn parity_err(&mut self) -> PARITY_ERR_W { PARITY_ERR_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear frm_err_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn frm_err(&mut self) -> FRM_ERR_W { FRM_ERR_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear rxfifo_ovf_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the dsr_chg_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn dsr_chg(&mut self) -> DSR_CHG_W { DSR_CHG_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the cts_chg_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn cts_chg(&mut self) -> CTS_CHG_W { CTS_CHG_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the brk_det_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn brk_det(&mut self) -> BRK_DET_W { BRK_DET_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the rxfifo_tout_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_tout(&mut self) -> RXFIFO_TOUT_W { RXFIFO_TOUT_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear the sw_xon_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn sw_xon(&mut self) -> SW_XON_W { SW_XON_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to clear the sw_xon_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn sw_xoff(&mut self) -> SW_XOFF_W { SW_XOFF_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear the glitch_det_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to clear the tx_brk_done_int_raw interrupt.."] #[inline(always)] - #[must_use] pub fn tx_brk_done(&mut self) -> TX_BRK_DONE_W { TX_BRK_DONE_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to clear the tx_brk_idle_done_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn tx_brk_idle_done(&mut self) -> TX_BRK_IDLE_DONE_W { TX_BRK_IDLE_DONE_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to clear the tx_done_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to clear the rs485_parity_err_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rs485_parity_err(&mut self) -> RS485_PARITY_ERR_W { RS485_PARITY_ERR_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to clear the rs485_frm_err_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rs485_frm_err(&mut self) -> RS485_FRM_ERR_W { RS485_FRM_ERR_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to clear the rs485_clash_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rs485_clash(&mut self) -> RS485_CLASH_W { RS485_CLASH_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to clear the at_cmd_char_det_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn at_cmd_char_det(&mut self) -> AT_CMD_CHAR_DET_W { AT_CMD_CHAR_DET_W::new(self, 18) } diff --git a/esp32/src/uart0/int_ena.rs b/esp32/src/uart0/int_ena.rs index c8663dd3a1..cf02ec6f2c 100644 --- a/esp32/src/uart0/int_ena.rs +++ b/esp32/src/uart0/int_ena.rs @@ -204,115 +204,96 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This is the enable bit for rxfifo_full_int_st register."] #[inline(always)] - #[must_use] pub fn rxfifo_full(&mut self) -> RXFIFO_FULL_W { RXFIFO_FULL_W::new(self, 0) } #[doc = "Bit 1 - This is the enable bit for rxfifo_full_int_st register."] #[inline(always)] - #[must_use] pub fn txfifo_empty(&mut self) -> TXFIFO_EMPTY_W { TXFIFO_EMPTY_W::new(self, 1) } #[doc = "Bit 2 - This is the enable bit for parity_err_int_st register."] #[inline(always)] - #[must_use] pub fn parity_err(&mut self) -> PARITY_ERR_W { PARITY_ERR_W::new(self, 2) } #[doc = "Bit 3 - This is the enable bit for frm_err_int_st register."] #[inline(always)] - #[must_use] pub fn frm_err(&mut self) -> FRM_ERR_W { FRM_ERR_W::new(self, 3) } #[doc = "Bit 4 - This is the enable bit for rxfifo_ovf_int_st register."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - This is the enable bit for dsr_chg_int_st register."] #[inline(always)] - #[must_use] pub fn dsr_chg(&mut self) -> DSR_CHG_W { DSR_CHG_W::new(self, 5) } #[doc = "Bit 6 - This is the enable bit for cts_chg_int_st register."] #[inline(always)] - #[must_use] pub fn cts_chg(&mut self) -> CTS_CHG_W { CTS_CHG_W::new(self, 6) } #[doc = "Bit 7 - This is the enable bit for brk_det_int_st register."] #[inline(always)] - #[must_use] pub fn brk_det(&mut self) -> BRK_DET_W { BRK_DET_W::new(self, 7) } #[doc = "Bit 8 - This is the enable bit for rxfifo_tout_int_st register."] #[inline(always)] - #[must_use] pub fn rxfifo_tout(&mut self) -> RXFIFO_TOUT_W { RXFIFO_TOUT_W::new(self, 8) } #[doc = "Bit 9 - This is the enable bit for sw_xon_int_st register."] #[inline(always)] - #[must_use] pub fn sw_xon(&mut self) -> SW_XON_W { SW_XON_W::new(self, 9) } #[doc = "Bit 10 - This is the enable bit for sw_xoff_int_st register."] #[inline(always)] - #[must_use] pub fn sw_xoff(&mut self) -> SW_XOFF_W { SW_XOFF_W::new(self, 10) } #[doc = "Bit 11 - This is the enable bit for glitch_det_int_st register."] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 11) } #[doc = "Bit 12 - This is the enable bit for tx_brk_done_int_st register."] #[inline(always)] - #[must_use] pub fn tx_brk_done(&mut self) -> TX_BRK_DONE_W { TX_BRK_DONE_W::new(self, 12) } #[doc = "Bit 13 - This is the enable bit for tx_brk_idle_done_int_st register."] #[inline(always)] - #[must_use] pub fn tx_brk_idle_done(&mut self) -> TX_BRK_IDLE_DONE_W { TX_BRK_IDLE_DONE_W::new(self, 13) } #[doc = "Bit 14 - This is the enable bit for tx_done_int_st register."] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 14) } #[doc = "Bit 15 - This is the enable bit for rs485_parity_err_int_st register."] #[inline(always)] - #[must_use] pub fn rs485_parity_err(&mut self) -> RS485_PARITY_ERR_W { RS485_PARITY_ERR_W::new(self, 15) } #[doc = "Bit 16 - This is the enable bit for rs485_parity_err_int_st register."] #[inline(always)] - #[must_use] pub fn rs485_frm_err(&mut self) -> RS485_FRM_ERR_W { RS485_FRM_ERR_W::new(self, 16) } #[doc = "Bit 17 - This is the enable bit for rs485_clash_int_st register."] #[inline(always)] - #[must_use] pub fn rs485_clash(&mut self) -> RS485_CLASH_W { RS485_CLASH_W::new(self, 17) } #[doc = "Bit 18 - This is the enable bit for at_cmd_char_det_int_st register."] #[inline(always)] - #[must_use] pub fn at_cmd_char_det(&mut self) -> AT_CMD_CHAR_DET_W { AT_CMD_CHAR_DET_W::new(self, 18) } diff --git a/esp32/src/uart0/mem_conf.rs b/esp32/src/uart0/mem_conf.rs index d053a03d45..6675e09418 100644 --- a/esp32/src/uart0/mem_conf.rs +++ b/esp32/src/uart0/mem_conf.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to power down mem.when reg_mem_pd registers in the 3 uarts are all set to 1 mem will enter low power mode."] #[inline(always)] - #[must_use] pub fn mem_pd(&mut self) -> MEM_PD_W { MEM_PD_W::new(self, 0) } #[doc = "Bits 3:6 - This register is used to configure the amount of mem allocated to receiver's fifo. the default byte num is 128."] #[inline(always)] - #[must_use] pub fn rx_size(&mut self) -> RX_SIZE_W { RX_SIZE_W::new(self, 3) } #[doc = "Bits 7:10 - This register is used to configure the amount of mem allocated to transmitter's fifo.the default byte num is 128."] #[inline(always)] - #[must_use] pub fn tx_size(&mut self) -> TX_SIZE_W { TX_SIZE_W::new(self, 7) } #[doc = "Bits 15:17 - Refer to the rx_flow_thrhd's description."] #[inline(always)] - #[must_use] pub fn rx_flow_thrhd_h3(&mut self) -> RX_FLOW_THRHD_H3_W { RX_FLOW_THRHD_H3_W::new(self, 15) } #[doc = "Bits 18:20 - Refer to the rx_tout_thrhd's description."] #[inline(always)] - #[must_use] pub fn rx_tout_thrhd_h3(&mut self) -> RX_TOUT_THRHD_H3_W { RX_TOUT_THRHD_H3_W::new(self, 18) } #[doc = "Bits 21:22 - Refer to the uart_xon_threshold's description."] #[inline(always)] - #[must_use] pub fn xon_threshold_h2(&mut self) -> XON_THRESHOLD_H2_W { XON_THRESHOLD_H2_W::new(self, 21) } #[doc = "Bits 23:24 - Refer to the uart_xoff_threshold's description."] #[inline(always)] - #[must_use] pub fn xoff_threshold_h2(&mut self) -> XOFF_THRESHOLD_H2_W { XOFF_THRESHOLD_H2_W::new(self, 23) } #[doc = "Bits 25:27 - Refer to the rxfifo_full_thrhd's description."] #[inline(always)] - #[must_use] pub fn rx_mem_full_thrhd(&mut self) -> RX_MEM_FULL_THRHD_W { RX_MEM_FULL_THRHD_W::new(self, 25) } #[doc = "Bits 28:30 - Refer to txfifo_empty_thrhd's description."] #[inline(always)] - #[must_use] pub fn tx_mem_empty_thrhd(&mut self) -> TX_MEM_EMPTY_THRHD_W { TX_MEM_EMPTY_THRHD_W::new(self, 28) } diff --git a/esp32/src/uart0/rs485_conf.rs b/esp32/src/uart0/rs485_conf.rs index ef385fa8b0..c8dec3c09e 100644 --- a/esp32/src/uart0/rs485_conf.rs +++ b/esp32/src/uart0/rs485_conf.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to choose rs485 mode."] #[inline(always)] - #[must_use] pub fn rs485_en(&mut self) -> RS485_EN_W { RS485_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to delay the stop bit by 1 bit."] #[inline(always)] - #[must_use] pub fn dl0_en(&mut self) -> DL0_EN_W { DL0_EN_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to delay the stop bit by 1 bit."] #[inline(always)] - #[must_use] pub fn dl1_en(&mut self) -> DL1_EN_W { DL1_EN_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to enable loopback transmitter's output data signal to receiver's input data signal."] #[inline(always)] - #[must_use] pub fn rs485tx_rx_en(&mut self) -> RS485TX_RX_EN_W { RS485TX_RX_EN_W::new(self, 3) } #[doc = "Bit 4 - 1: enable rs485's transmitter to send data when rs485's receiver is busy. 0:rs485's transmitter should not send data when its receiver is busy."] #[inline(always)] - #[must_use] pub fn rs485rxby_tx_en(&mut self) -> RS485RXBY_TX_EN_W { RS485RXBY_TX_EN_W::new(self, 4) } #[doc = "Bit 5 - This register is used to delay the receiver's internal data signal."] #[inline(always)] - #[must_use] pub fn rs485_rx_dly_num(&mut self) -> RS485_RX_DLY_NUM_W { RS485_RX_DLY_NUM_W::new(self, 5) } #[doc = "Bits 6:9 - This register is used to delay the transmitter's internal data signal."] #[inline(always)] - #[must_use] pub fn rs485_tx_dly_num(&mut self) -> RS485_TX_DLY_NUM_W { RS485_TX_DLY_NUM_W::new(self, 6) } diff --git a/esp32/src/uart0/sleep_conf.rs b/esp32/src/uart0/sleep_conf.rs index 41c9ab75ad..c618d326da 100644 --- a/esp32/src/uart0/sleep_conf.rs +++ b/esp32/src/uart0/sleep_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - When the input rxd edge changes more than this register value. the uart is active from light sleeping mode."] #[inline(always)] - #[must_use] pub fn active_threshold(&mut self) -> ACTIVE_THRESHOLD_W { ACTIVE_THRESHOLD_W::new(self, 0) } diff --git a/esp32/src/uart0/swfc_conf.rs b/esp32/src/uart0/swfc_conf.rs index 81d4fdbb68..d0efc3162e 100644 --- a/esp32/src/uart0/swfc_conf.rs +++ b/esp32/src/uart0/swfc_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - when the data amount in receiver's fifo is more than this register value. it will send a xoff char with uart_sw_flow_con_en set to 1."] #[inline(always)] - #[must_use] pub fn xon_threshold(&mut self) -> XON_THRESHOLD_W { XON_THRESHOLD_W::new(self, 0) } #[doc = "Bits 8:15 - When the data amount in receiver's fifo is less than this register value. it will send a xon char with uart_sw_flow_con_en set to 1."] #[inline(always)] - #[must_use] pub fn xoff_threshold(&mut self) -> XOFF_THRESHOLD_W { XOFF_THRESHOLD_W::new(self, 8) } #[doc = "Bits 16:23 - This register stores the xon flow control char."] #[inline(always)] - #[must_use] pub fn xon_char(&mut self) -> XON_CHAR_W { XON_CHAR_W::new(self, 16) } #[doc = "Bits 24:31 - This register stores the xoff flow control char."] #[inline(always)] - #[must_use] pub fn xoff_char(&mut self) -> XOFF_CHAR_W { XOFF_CHAR_W::new(self, 24) } diff --git a/esp32/src/uhci0/ahb_test.rs b/esp32/src/uhci0/ahb_test.rs index 8fc21822b7..0262067e33 100644 --- a/esp32/src/uhci0/ahb_test.rs +++ b/esp32/src/uhci0/ahb_test.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - bit2 is ahb bus test enable ,bit1 is used to choose wrtie(1) or read(0) mode. bit0 is used to choose test only once(1) or continue(0)"] #[inline(always)] - #[must_use] pub fn ahb_testmode(&mut self) -> AHB_TESTMODE_W { AHB_TESTMODE_W::new(self, 0) } #[doc = "Bits 4:5 - The two bits represent ahb bus address bit\\[20:19\\]"] #[inline(always)] - #[must_use] pub fn ahb_testaddr(&mut self) -> AHB_TESTADDR_W { AHB_TESTADDR_W::new(self, 4) } diff --git a/esp32/src/uhci0/conf0.rs b/esp32/src/uhci0/conf0.rs index 36a4352bac..b3cc801477 100644 --- a/esp32/src/uhci0/conf0.rs +++ b/esp32/src/uhci0/conf0.rs @@ -254,145 +254,121 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to reset in link operations."] #[inline(always)] - #[must_use] pub fn in_rst(&mut self) -> IN_RST_W { IN_RST_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to reset out link operations."] #[inline(always)] - #[must_use] pub fn out_rst(&mut self) -> OUT_RST_W { OUT_RST_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to reset dma ahb fifo."] #[inline(always)] - #[must_use] pub fn ahbm_fifo_rst(&mut self) -> AHBM_FIFO_RST_W { AHBM_FIFO_RST_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to reset dma ahb interface."] #[inline(always)] - #[must_use] pub fn ahbm_rst(&mut self) -> AHBM_RST_W { AHBM_RST_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to enable loop test for in links."] #[inline(always)] - #[must_use] pub fn in_loop_test(&mut self) -> IN_LOOP_TEST_W { IN_LOOP_TEST_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to enable loop test for out links."] #[inline(always)] - #[must_use] pub fn out_loop_test(&mut self) -> OUT_LOOP_TEST_W { OUT_LOOP_TEST_W::new(self, 5) } #[doc = "Bit 6 - when in link's length is 0 go on to use the next in link automatically."] #[inline(always)] - #[must_use] pub fn out_auto_wrback(&mut self) -> OUT_AUTO_WRBACK_W { OUT_AUTO_WRBACK_W::new(self, 6) } #[doc = "Bit 7 - don't use"] #[inline(always)] - #[must_use] pub fn out_no_restart_clr(&mut self) -> OUT_NO_RESTART_CLR_W { OUT_NO_RESTART_CLR_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to produce eof after DMA pops all data clear this bit to produce eof after DMA pushes all data"] #[inline(always)] - #[must_use] pub fn out_eof_mode(&mut self) -> OUT_EOF_MODE_W { OUT_EOF_MODE_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to use UART to transmit or receive data."] #[inline(always)] - #[must_use] pub fn uart0_ce(&mut self) -> UART0_CE_W { UART0_CE_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to use UART1 to transmit or receive data."] #[inline(always)] - #[must_use] pub fn uart1_ce(&mut self) -> UART1_CE_W { UART1_CE_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to use UART2 to transmit or receive data."] #[inline(always)] - #[must_use] pub fn uart2_ce(&mut self) -> UART2_CE_W { UART2_CE_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to enable DMA in links to use burst mode."] #[inline(always)] - #[must_use] pub fn outdscr_burst_en(&mut self) -> OUTDSCR_BURST_EN_W { OUTDSCR_BURST_EN_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to enable DMA out links to use burst mode."] #[inline(always)] - #[must_use] pub fn indscr_burst_en(&mut self) -> INDSCR_BURST_EN_W { INDSCR_BURST_EN_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to enable DMA burst MODE"] #[inline(always)] - #[must_use] pub fn out_data_burst_en(&mut self) -> OUT_DATA_BURST_EN_W { OUT_DATA_BURST_EN_W::new(self, 14) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn mem_trans_en(&mut self) -> MEM_TRANS_EN_W { MEM_TRANS_EN_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to use special char to separate the data frame."] #[inline(always)] - #[must_use] pub fn seper_en(&mut self) -> SEPER_EN_W { SEPER_EN_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to enable to use head packet before the data frame."] #[inline(always)] - #[must_use] pub fn head_en(&mut self) -> HEAD_EN_W { HEAD_EN_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to enable receiver''s ability of crc calculation when crc_en bit in head packet is 1 then there will be crc bytes after data_frame"] #[inline(always)] - #[must_use] pub fn crc_rec_en(&mut self) -> CRC_REC_EN_W { CRC_REC_EN_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to enable to use idle time when the idle time after data frame is satisfied this means the end of a data frame."] #[inline(always)] - #[must_use] pub fn uart_idle_eof_en(&mut self) -> UART_IDLE_EOF_EN_W { UART_IDLE_EOF_EN_W::new(self, 19) } #[doc = "Bit 20 - Set this bit to enable to use packet_len in packet head when the received data is equal to packet_len this means the end of a data frame."] #[inline(always)] - #[must_use] pub fn len_eof_en(&mut self) -> LEN_EOF_EN_W { LEN_EOF_EN_W::new(self, 20) } #[doc = "Bit 21 - Set this bit to enable crc calculation for data frame when bit6 in the head packet is 1."] #[inline(always)] - #[must_use] pub fn encode_crc_en(&mut self) -> ENCODE_CRC_EN_W { ENCODE_CRC_EN_W::new(self, 21) } #[doc = "Bit 22 - Set this bit to enable clock-gating for read or write registers."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 22) } #[doc = "Bit 23 - Set this bit to enable to use brk char as the end of a data frame."] #[inline(always)] - #[must_use] pub fn uart_rx_brk_eof_en(&mut self) -> UART_RX_BRK_EOF_EN_W { UART_RX_BRK_EOF_EN_W::new(self, 23) } diff --git a/esp32/src/uhci0/conf1.rs b/esp32/src/uhci0/conf1.rs index 0d4f316381..4390b7cf1d 100644 --- a/esp32/src/uhci0/conf1.rs +++ b/esp32/src/uhci0/conf1.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable decoder to check check_sum in packet header."] #[inline(always)] - #[must_use] pub fn check_sum_en(&mut self) -> CHECK_SUM_EN_W { CHECK_SUM_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to enable decoder to check seq num in packet header."] #[inline(always)] - #[must_use] pub fn check_seq_en(&mut self) -> CHECK_SEQ_EN_W { CHECK_SEQ_EN_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to disable crc calculation."] #[inline(always)] - #[must_use] pub fn crc_disable(&mut self) -> CRC_DISABLE_W { CRC_DISABLE_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to save packet header ."] #[inline(always)] - #[must_use] pub fn save_head(&mut self) -> SAVE_HEAD_W { SAVE_HEAD_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to enable hardware replace check_sum in packet header automatically."] #[inline(always)] - #[must_use] pub fn tx_check_sum_re(&mut self) -> TX_CHECK_SUM_RE_W { TX_CHECK_SUM_RE_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to enable hardware replace ack num in packet header automatically."] #[inline(always)] - #[must_use] pub fn tx_ack_num_re(&mut self) -> TX_ACK_NUM_RE_W { TX_ACK_NUM_RE_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to check the owner bit in link descriptor."] #[inline(always)] - #[must_use] pub fn check_owner(&mut self) -> CHECK_OWNER_W { CHECK_OWNER_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to enable software way to add packet header."] #[inline(always)] - #[must_use] pub fn wait_sw_start(&mut self) -> WAIT_SW_START_W { WAIT_SW_START_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to start inserting the packet header."] #[inline(always)] - #[must_use] pub fn sw_start(&mut self) -> SW_START_W { SW_START_W::new(self, 8) } #[doc = "Bits 9:20 - when data amount in link descriptor's fifo is more than this register value it will produce uhci_dma_infifo_full_wm_int interrupt."] #[inline(always)] - #[must_use] pub fn dma_infifo_full_thrs(&mut self) -> DMA_INFIFO_FULL_THRS_W { DMA_INFIFO_FULL_THRS_W::new(self, 9) } diff --git a/esp32/src/uhci0/date.rs b/esp32/src/uhci0/date.rs index f1af596836..6d4992e8d0 100644 --- a/esp32/src/uhci0/date.rs +++ b/esp32/src/uhci0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - version information"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32/src/uhci0/dma_in_link.rs b/esp32/src/uhci0/dma_in_link.rs index 76716cdc79..3f1f3c357d 100644 --- a/esp32/src/uhci0/dma_in_link.rs +++ b/esp32/src/uhci0/dma_in_link.rs @@ -72,31 +72,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - This register stores the least 20 bits of the first in link descriptor's address."] #[inline(always)] - #[must_use] pub fn inlink_addr(&mut self) -> INLINK_ADDR_W { INLINK_ADDR_W::new(self, 0) } #[doc = "Bit 20 - 1:when a packet is wrong in link descriptor returns to the descriptor which is lately used."] #[inline(always)] - #[must_use] pub fn inlink_auto_ret(&mut self) -> INLINK_AUTO_RET_W { INLINK_AUTO_RET_W::new(self, 20) } #[doc = "Bit 28 - Set this bit to stop dealing with the in link descriptors."] #[inline(always)] - #[must_use] pub fn inlink_stop(&mut self) -> INLINK_STOP_W { INLINK_STOP_W::new(self, 28) } #[doc = "Bit 29 - Set this bit to start dealing with the in link descriptors."] #[inline(always)] - #[must_use] pub fn inlink_start(&mut self) -> INLINK_START_W { INLINK_START_W::new(self, 29) } #[doc = "Bit 30 - Set this bit to mount on new in link descriptors"] #[inline(always)] - #[must_use] pub fn inlink_restart(&mut self) -> INLINK_RESTART_W { INLINK_RESTART_W::new(self, 30) } diff --git a/esp32/src/uhci0/dma_in_pop.rs b/esp32/src/uhci0/dma_in_pop.rs index 5dc3e4ca1b..3c8608a105 100644 --- a/esp32/src/uhci0/dma_in_pop.rs +++ b/esp32/src/uhci0/dma_in_pop.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 16 - Set this bit to pop data in in link descriptor's fifo."] #[inline(always)] - #[must_use] pub fn infifo_pop(&mut self) -> INFIFO_POP_W { INFIFO_POP_W::new(self, 16) } diff --git a/esp32/src/uhci0/dma_out_link.rs b/esp32/src/uhci0/dma_out_link.rs index acde30891f..71004a4538 100644 --- a/esp32/src/uhci0/dma_out_link.rs +++ b/esp32/src/uhci0/dma_out_link.rs @@ -62,25 +62,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - This register stores the least 20 bits of the first out link descriptor's address."] #[inline(always)] - #[must_use] pub fn outlink_addr(&mut self) -> OUTLINK_ADDR_W { OUTLINK_ADDR_W::new(self, 0) } #[doc = "Bit 28 - Set this bit to stop dealing with the out link descriptors."] #[inline(always)] - #[must_use] pub fn outlink_stop(&mut self) -> OUTLINK_STOP_W { OUTLINK_STOP_W::new(self, 28) } #[doc = "Bit 29 - Set this bit to start dealing with the out link descriptors."] #[inline(always)] - #[must_use] pub fn outlink_start(&mut self) -> OUTLINK_START_W { OUTLINK_START_W::new(self, 29) } #[doc = "Bit 30 - Set this bit to mount on new out link descriptors"] #[inline(always)] - #[must_use] pub fn outlink_restart(&mut self) -> OUTLINK_RESTART_W { OUTLINK_RESTART_W::new(self, 30) } diff --git a/esp32/src/uhci0/dma_out_push.rs b/esp32/src/uhci0/dma_out_push.rs index fd807ae36c..a1c6c9354a 100644 --- a/esp32/src/uhci0/dma_out_push.rs +++ b/esp32/src/uhci0/dma_out_push.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This is the data need to be pushed into out link descriptor's fifo."] #[inline(always)] - #[must_use] pub fn outfifo_wdata(&mut self) -> OUTFIFO_WDATA_W { OUTFIFO_WDATA_W::new(self, 0) } #[doc = "Bit 16 - Set this bit to push data in out link descriptor's fifo."] #[inline(always)] - #[must_use] pub fn outfifo_push(&mut self) -> OUTFIFO_PUSH_W { OUTFIFO_PUSH_W::new(self, 16) } diff --git a/esp32/src/uhci0/esc_conf.rs b/esp32/src/uhci0/esc_conf.rs index 2ab2bb5db4..e00215ac07 100644 --- a/esp32/src/uhci0/esc_conf.rs +++ b/esp32/src/uhci0/esc_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register stores the seperator char seperator char is used to seperate the data frame."] #[inline(always)] - #[must_use] pub fn seper_char(&mut self) -> SEPER_CHAR_W { SEPER_CHAR_W::new(self, 0) } #[doc = "Bits 8:15 - This register stores thee first char used to replace seperator char in data."] #[inline(always)] - #[must_use] pub fn seper_esc_char0(&mut self) -> SEPER_ESC_CHAR0_W { SEPER_ESC_CHAR0_W::new(self, 8) } #[doc = "Bits 16:23 - This register stores the second char used to replace seperator char in data . 0xdc 0xdb replace 0xc0 by default."] #[inline(always)] - #[must_use] pub fn seper_esc_char1(&mut self) -> SEPER_ESC_CHAR1_W { SEPER_ESC_CHAR1_W::new(self, 16) } diff --git a/esp32/src/uhci0/escape_conf.rs b/esp32/src/uhci0/escape_conf.rs index 4825c85a7e..9e9e89c5f8 100644 --- a/esp32/src/uhci0/escape_conf.rs +++ b/esp32/src/uhci0/escape_conf.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable 0xc0 char decode when DMA receives data."] #[inline(always)] - #[must_use] pub fn tx_c0_esc_en(&mut self) -> TX_C0_ESC_EN_W { TX_C0_ESC_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to enable 0xdb char decode when DMA receives data."] #[inline(always)] - #[must_use] pub fn tx_db_esc_en(&mut self) -> TX_DB_ESC_EN_W { TX_DB_ESC_EN_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to enable flow control char 0x11 decode when DMA receives data."] #[inline(always)] - #[must_use] pub fn tx_11_esc_en(&mut self) -> TX_11_ESC_EN_W { TX_11_ESC_EN_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to enable flow control char 0x13 decode when DMA receives data."] #[inline(always)] - #[must_use] pub fn tx_13_esc_en(&mut self) -> TX_13_ESC_EN_W { TX_13_ESC_EN_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to enable 0xc0 char replace when DMA sends data."] #[inline(always)] - #[must_use] pub fn rx_c0_esc_en(&mut self) -> RX_C0_ESC_EN_W { RX_C0_ESC_EN_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to enable 0xdb char replace when DMA sends data."] #[inline(always)] - #[must_use] pub fn rx_db_esc_en(&mut self) -> RX_DB_ESC_EN_W { RX_DB_ESC_EN_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to enable flow control char 0x11 replace when DMA sends data."] #[inline(always)] - #[must_use] pub fn rx_11_esc_en(&mut self) -> RX_11_ESC_EN_W { RX_11_ESC_EN_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to enable flow control char 0x13 replace when DMA sends data."] #[inline(always)] - #[must_use] pub fn rx_13_esc_en(&mut self) -> RX_13_ESC_EN_W { RX_13_ESC_EN_W::new(self, 7) } diff --git a/esp32/src/uhci0/hung_conf.rs b/esp32/src/uhci0/hung_conf.rs index a8e2f2886e..69684e41f9 100644 --- a/esp32/src/uhci0/hung_conf.rs +++ b/esp32/src/uhci0/hung_conf.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register stores the timeout value.when DMA takes more time than this register value to receive a data it will produce uhci_tx_hung_int interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_timeout(&mut self) -> TXFIFO_TIMEOUT_W { TXFIFO_TIMEOUT_W::new(self, 0) } #[doc = "Bits 8:10 - The tick count is cleared when its value >=(17'd8000>>reg_txfifo_timeout_shift)"] #[inline(always)] - #[must_use] pub fn txfifo_timeout_shift(&mut self) -> TXFIFO_TIMEOUT_SHIFT_W { TXFIFO_TIMEOUT_SHIFT_W::new(self, 8) } #[doc = "Bit 11 - The enable bit for txfifo receive data timeout"] #[inline(always)] - #[must_use] pub fn txfifo_timeout_ena(&mut self) -> TXFIFO_TIMEOUT_ENA_W { TXFIFO_TIMEOUT_ENA_W::new(self, 11) } #[doc = "Bits 12:19 - This register stores the timeout value.when DMA takes more time than this register value to read a data from RAM it will produce uhci_rx_hung_int interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_timeout(&mut self) -> RXFIFO_TIMEOUT_W { RXFIFO_TIMEOUT_W::new(self, 12) } #[doc = "Bits 20:22 - The tick count is cleared when its value >=(17'd8000>>reg_rxfifo_timeout_shift)"] #[inline(always)] - #[must_use] pub fn rxfifo_timeout_shift(&mut self) -> RXFIFO_TIMEOUT_SHIFT_W { RXFIFO_TIMEOUT_SHIFT_W::new(self, 20) } #[doc = "Bit 23 - This is the enable bit for DMA send data timeout"] #[inline(always)] - #[must_use] pub fn rxfifo_timeout_ena(&mut self) -> RXFIFO_TIMEOUT_ENA_W { RXFIFO_TIMEOUT_ENA_W::new(self, 23) } diff --git a/esp32/src/uhci0/int_clr.rs b/esp32/src/uhci0/int_clr.rs index 80b344aedd..7419fbe69d 100644 --- a/esp32/src/uhci0/int_clr.rs +++ b/esp32/src/uhci0/int_clr.rs @@ -43,103 +43,86 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn rx_start(&mut self) -> RX_START_W { RX_START_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn tx_start(&mut self) -> TX_START_W { TX_START_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn rx_hung(&mut self) -> RX_HUNG_W { RX_HUNG_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn tx_hung(&mut self) -> TX_HUNG_W { TX_HUNG_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn in_done(&mut self) -> IN_DONE_W { IN_DONE_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn in_suc_eof(&mut self) -> IN_SUC_EOF_W { IN_SUC_EOF_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn in_err_eof(&mut self) -> IN_ERR_EOF_W { IN_ERR_EOF_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn out_done(&mut self) -> OUT_DONE_W { OUT_DONE_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn in_dscr_err(&mut self) -> IN_DSCR_ERR_W { IN_DSCR_ERR_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn out_dscr_err(&mut self) -> OUT_DSCR_ERR_W { OUT_DSCR_ERR_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn in_dscr_empty(&mut self) -> IN_DSCR_EMPTY_W { IN_DSCR_EMPTY_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn outlink_eof_err(&mut self) -> OUTLINK_EOF_ERR_W { OUTLINK_EOF_ERR_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn out_total_eof(&mut self) -> OUT_TOTAL_EOF_W { OUT_TOTAL_EOF_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn send_s_q(&mut self) -> SEND_S_Q_W { SEND_S_Q_W::new(self, 14) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn send_a_q(&mut self) -> SEND_A_Q_W { SEND_A_Q_W::new(self, 15) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn dma_infifo_full_wm(&mut self) -> DMA_INFIFO_FULL_WM_W { DMA_INFIFO_FULL_WM_W::new(self, 16) } diff --git a/esp32/src/uhci0/int_ena.rs b/esp32/src/uhci0/int_ena.rs index 33173ddec2..cbcbc09e81 100644 --- a/esp32/src/uhci0/int_ena.rs +++ b/esp32/src/uhci0/int_ena.rs @@ -184,103 +184,86 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn rx_start(&mut self) -> RX_START_W { RX_START_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn tx_start(&mut self) -> TX_START_W { TX_START_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn rx_hung(&mut self) -> RX_HUNG_W { RX_HUNG_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn tx_hung(&mut self) -> TX_HUNG_W { TX_HUNG_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn in_done(&mut self) -> IN_DONE_W { IN_DONE_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn in_suc_eof(&mut self) -> IN_SUC_EOF_W { IN_SUC_EOF_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn in_err_eof(&mut self) -> IN_ERR_EOF_W { IN_ERR_EOF_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn out_done(&mut self) -> OUT_DONE_W { OUT_DONE_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn in_dscr_err(&mut self) -> IN_DSCR_ERR_W { IN_DSCR_ERR_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn out_dscr_err(&mut self) -> OUT_DSCR_ERR_W { OUT_DSCR_ERR_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn in_dscr_empty(&mut self) -> IN_DSCR_EMPTY_W { IN_DSCR_EMPTY_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn outlink_eof_err(&mut self) -> OUTLINK_EOF_ERR_W { OUTLINK_EOF_ERR_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn out_total_eof(&mut self) -> OUT_TOTAL_EOF_W { OUT_TOTAL_EOF_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn send_s_q(&mut self) -> SEND_S_Q_W { SEND_S_Q_W::new(self, 14) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn send_a_q(&mut self) -> SEND_A_Q_W { SEND_A_Q_W::new(self, 15) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn dma_infifo_full_wm(&mut self) -> DMA_INFIFO_FULL_WM_W { DMA_INFIFO_FULL_WM_W::new(self, 16) } diff --git a/esp32/src/uhci0/pkt_thres.rs b/esp32/src/uhci0/pkt_thres.rs index 89e62ad8b7..461e4fd61f 100644 --- a/esp32/src/uhci0/pkt_thres.rs +++ b/esp32/src/uhci0/pkt_thres.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:12 - when the amount of packet payload is greater than this value the process of receiving data is done."] #[inline(always)] - #[must_use] pub fn pkt_thrs(&mut self) -> PKT_THRS_W { PKT_THRS_W::new(self, 0) } diff --git a/esp32/src/uhci0/q/word0.rs b/esp32/src/uhci0/q/word0.rs index 253ee559a0..8746abbe91 100644 --- a/esp32/src/uhci0/q/word0.rs +++ b/esp32/src/uhci0/q/word0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This register stores the content of short packet's first dword"] #[inline(always)] - #[must_use] pub fn send_word(&mut self) -> SEND_WORD_W { SEND_WORD_W::new(self, 0) } diff --git a/esp32/src/uhci0/q/word1.rs b/esp32/src/uhci0/q/word1.rs index 09082000e1..fdd73ccb28 100644 --- a/esp32/src/uhci0/q/word1.rs +++ b/esp32/src/uhci0/q/word1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This register stores the content of short packet's second dword"] #[inline(always)] - #[must_use] pub fn send_word(&mut self) -> SEND_WORD_W { SEND_WORD_W::new(self, 0) } diff --git a/esp32/src/uhci0/quick_sent.rs b/esp32/src/uhci0/quick_sent.rs index dc5dce4f92..67e762ee8e 100644 --- a/esp32/src/uhci0/quick_sent.rs +++ b/esp32/src/uhci0/quick_sent.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - The bits are used to choose which short packet"] #[inline(always)] - #[must_use] pub fn single_send_num(&mut self) -> SINGLE_SEND_NUM_W { SINGLE_SEND_NUM_W::new(self, 0) } #[doc = "Bit 3 - Set this bit to enable send a short packet"] #[inline(always)] - #[must_use] pub fn single_send_en(&mut self) -> SINGLE_SEND_EN_W { SINGLE_SEND_EN_W::new(self, 3) } #[doc = "Bits 4:6 - The bits are used to choose which short packet"] #[inline(always)] - #[must_use] pub fn always_send_num(&mut self) -> ALWAYS_SEND_NUM_W { ALWAYS_SEND_NUM_W::new(self, 4) } #[doc = "Bit 7 - Set this bit to enable continuously send the same short packet"] #[inline(always)] - #[must_use] pub fn always_send_en(&mut self) -> ALWAYS_SEND_EN_W { ALWAYS_SEND_EN_W::new(self, 7) } diff --git a/esp32c2/src/apb_ctrl/clk_out_en.rs b/esp32c2/src/apb_ctrl/clk_out_en.rs index 671172c009..92a07909e5 100644 --- a/esp32c2/src/apb_ctrl/clk_out_en.rs +++ b/esp32c2/src/apb_ctrl/clk_out_en.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_clk20_oen"] #[inline(always)] - #[must_use] pub fn clk20_oen(&mut self) -> CLK20_OEN_W { CLK20_OEN_W::new(self, 0) } #[doc = "Bit 1 - reg_clk22_oen"] #[inline(always)] - #[must_use] pub fn clk22_oen(&mut self) -> CLK22_OEN_W { CLK22_OEN_W::new(self, 1) } #[doc = "Bit 2 - reg_clk44_oen"] #[inline(always)] - #[must_use] pub fn clk44_oen(&mut self) -> CLK44_OEN_W { CLK44_OEN_W::new(self, 2) } #[doc = "Bit 3 - reg_clk_bb_oen"] #[inline(always)] - #[must_use] pub fn clk_bb_oen(&mut self) -> CLK_BB_OEN_W { CLK_BB_OEN_W::new(self, 3) } #[doc = "Bit 4 - reg_clk80_oen"] #[inline(always)] - #[must_use] pub fn clk80_oen(&mut self) -> CLK80_OEN_W { CLK80_OEN_W::new(self, 4) } #[doc = "Bit 5 - reg_clk160_oen"] #[inline(always)] - #[must_use] pub fn clk160_oen(&mut self) -> CLK160_OEN_W { CLK160_OEN_W::new(self, 5) } #[doc = "Bit 6 - reg_clk_320m_oen"] #[inline(always)] - #[must_use] pub fn clk_320m_oen(&mut self) -> CLK_320M_OEN_W { CLK_320M_OEN_W::new(self, 6) } #[doc = "Bit 7 - reg_clk_adc_inf_oen"] #[inline(always)] - #[must_use] pub fn clk_adc_inf_oen(&mut self) -> CLK_ADC_INF_OEN_W { CLK_ADC_INF_OEN_W::new(self, 7) } #[doc = "Bit 8 - reg_clk_dac_cpu_oen"] #[inline(always)] - #[must_use] pub fn clk_dac_cpu_oen(&mut self) -> CLK_DAC_CPU_OEN_W { CLK_DAC_CPU_OEN_W::new(self, 8) } #[doc = "Bit 9 - reg_clk40x_bb_oen"] #[inline(always)] - #[must_use] pub fn clk40x_bb_oen(&mut self) -> CLK40X_BB_OEN_W { CLK40X_BB_OEN_W::new(self, 9) } #[doc = "Bit 10 - reg_clk_xtal_oen"] #[inline(always)] - #[must_use] pub fn clk_xtal_oen(&mut self) -> CLK_XTAL_OEN_W { CLK_XTAL_OEN_W::new(self, 10) } diff --git a/esp32c2/src/apb_ctrl/clkgate_force_on.rs b/esp32c2/src/apb_ctrl/clkgate_force_on.rs index 5eaeb528cf..a70c3725be 100644 --- a/esp32c2/src/apb_ctrl/clkgate_force_on.rs +++ b/esp32c2/src/apb_ctrl/clkgate_force_on.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - Set the bit to 1 to force rom always have clock, for low power can clear to 0 then only when have access the rom have clock"] #[inline(always)] - #[must_use] pub fn rom_clkgate_force_on(&mut self) -> ROM_CLKGATE_FORCE_ON_W { ROM_CLKGATE_FORCE_ON_W::new(self, 0) } #[doc = "Bits 3:6 - Set the bit to 1 to force sram always have clock, for low power can clear to 0 then only when have access the sram have clock"] #[inline(always)] - #[must_use] pub fn sram_clkgate_force_on(&mut self) -> SRAM_CLKGATE_FORCE_ON_W { SRAM_CLKGATE_FORCE_ON_W::new(self, 3) } diff --git a/esp32c2/src/apb_ctrl/date.rs b/esp32c2/src/apb_ctrl/date.rs index 10cfcce3c6..675e6a5155 100644 --- a/esp32c2/src/apb_ctrl/date.rs +++ b/esp32c2/src/apb_ctrl/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_dateVersion control"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c2/src/apb_ctrl/ext_mem_pms_lock.rs b/esp32c2/src/apb_ctrl/ext_mem_pms_lock.rs index f0055f41cd..7c89e8f3af 100644 --- a/esp32c2/src/apb_ctrl/ext_mem_pms_lock.rs +++ b/esp32c2/src/apb_ctrl/ext_mem_pms_lock.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_ext_mem_pms_lock"] #[inline(always)] - #[must_use] pub fn ext_mem_pms_lock(&mut self) -> EXT_MEM_PMS_LOCK_W { EXT_MEM_PMS_LOCK_W::new(self, 0) } diff --git a/esp32c2/src/apb_ctrl/flash_ace0_addr.rs b/esp32c2/src/apb_ctrl/flash_ace0_addr.rs index 184f048711..2c3f429b0e 100644 --- a/esp32c2/src/apb_ctrl/flash_ace0_addr.rs +++ b/esp32c2/src/apb_ctrl/flash_ace0_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_flash_ace0_addr_s"] #[inline(always)] - #[must_use] pub fn s(&mut self) -> S_W { S_W::new(self, 0) } diff --git a/esp32c2/src/apb_ctrl/flash_ace0_attr.rs b/esp32c2/src/apb_ctrl/flash_ace0_attr.rs index f237f22c0a..b7f2af0b7a 100644 --- a/esp32c2/src/apb_ctrl/flash_ace0_attr.rs +++ b/esp32c2/src/apb_ctrl/flash_ace0_attr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - reg_flash_ace0_attr"] #[inline(always)] - #[must_use] pub fn flash_ace0_attr(&mut self) -> FLASH_ACE0_ATTR_W { FLASH_ACE0_ATTR_W::new(self, 0) } diff --git a/esp32c2/src/apb_ctrl/flash_ace0_size.rs b/esp32c2/src/apb_ctrl/flash_ace0_size.rs index b9ca19e317..3ba8814a09 100644 --- a/esp32c2/src/apb_ctrl/flash_ace0_size.rs +++ b/esp32c2/src/apb_ctrl/flash_ace0_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:12 - reg_flash_ace0_size"] #[inline(always)] - #[must_use] pub fn flash_ace0_size(&mut self) -> FLASH_ACE0_SIZE_W { FLASH_ACE0_SIZE_W::new(self, 0) } diff --git a/esp32c2/src/apb_ctrl/flash_ace1_addr.rs b/esp32c2/src/apb_ctrl/flash_ace1_addr.rs index 7c4563c668..c2da331514 100644 --- a/esp32c2/src/apb_ctrl/flash_ace1_addr.rs +++ b/esp32c2/src/apb_ctrl/flash_ace1_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_flash_ace1_addr_s"] #[inline(always)] - #[must_use] pub fn s(&mut self) -> S_W { S_W::new(self, 0) } diff --git a/esp32c2/src/apb_ctrl/flash_ace1_attr.rs b/esp32c2/src/apb_ctrl/flash_ace1_attr.rs index 6416f8bcea..fddf50bcd6 100644 --- a/esp32c2/src/apb_ctrl/flash_ace1_attr.rs +++ b/esp32c2/src/apb_ctrl/flash_ace1_attr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - reg_flash_ace1_attr"] #[inline(always)] - #[must_use] pub fn flash_ace1_attr(&mut self) -> FLASH_ACE1_ATTR_W { FLASH_ACE1_ATTR_W::new(self, 0) } diff --git a/esp32c2/src/apb_ctrl/flash_ace1_size.rs b/esp32c2/src/apb_ctrl/flash_ace1_size.rs index eb87c6a29a..bc988c9764 100644 --- a/esp32c2/src/apb_ctrl/flash_ace1_size.rs +++ b/esp32c2/src/apb_ctrl/flash_ace1_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:12 - reg_flash_ace1_size"] #[inline(always)] - #[must_use] pub fn flash_ace1_size(&mut self) -> FLASH_ACE1_SIZE_W { FLASH_ACE1_SIZE_W::new(self, 0) } diff --git a/esp32c2/src/apb_ctrl/flash_ace2_addr.rs b/esp32c2/src/apb_ctrl/flash_ace2_addr.rs index 741f239f8b..32a62fef36 100644 --- a/esp32c2/src/apb_ctrl/flash_ace2_addr.rs +++ b/esp32c2/src/apb_ctrl/flash_ace2_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_flash_ace2_addr_s"] #[inline(always)] - #[must_use] pub fn s(&mut self) -> S_W { S_W::new(self, 0) } diff --git a/esp32c2/src/apb_ctrl/flash_ace2_attr.rs b/esp32c2/src/apb_ctrl/flash_ace2_attr.rs index 67033ecc9c..3751e8f833 100644 --- a/esp32c2/src/apb_ctrl/flash_ace2_attr.rs +++ b/esp32c2/src/apb_ctrl/flash_ace2_attr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - reg_flash_ace2_attr"] #[inline(always)] - #[must_use] pub fn flash_ace2_attr(&mut self) -> FLASH_ACE2_ATTR_W { FLASH_ACE2_ATTR_W::new(self, 0) } diff --git a/esp32c2/src/apb_ctrl/flash_ace2_size.rs b/esp32c2/src/apb_ctrl/flash_ace2_size.rs index 97183dbc31..b73b7fb5a8 100644 --- a/esp32c2/src/apb_ctrl/flash_ace2_size.rs +++ b/esp32c2/src/apb_ctrl/flash_ace2_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:12 - reg_flash_ace2_size"] #[inline(always)] - #[must_use] pub fn flash_ace2_size(&mut self) -> FLASH_ACE2_SIZE_W { FLASH_ACE2_SIZE_W::new(self, 0) } diff --git a/esp32c2/src/apb_ctrl/flash_ace3_addr.rs b/esp32c2/src/apb_ctrl/flash_ace3_addr.rs index e22be62231..d1acab074c 100644 --- a/esp32c2/src/apb_ctrl/flash_ace3_addr.rs +++ b/esp32c2/src/apb_ctrl/flash_ace3_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_flash_ace3_addr_s"] #[inline(always)] - #[must_use] pub fn s(&mut self) -> S_W { S_W::new(self, 0) } diff --git a/esp32c2/src/apb_ctrl/flash_ace3_attr.rs b/esp32c2/src/apb_ctrl/flash_ace3_attr.rs index eee6876bc7..09de7864b5 100644 --- a/esp32c2/src/apb_ctrl/flash_ace3_attr.rs +++ b/esp32c2/src/apb_ctrl/flash_ace3_attr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - reg_flash_ace3_attr"] #[inline(always)] - #[must_use] pub fn flash_ace3_attr(&mut self) -> FLASH_ACE3_ATTR_W { FLASH_ACE3_ATTR_W::new(self, 0) } diff --git a/esp32c2/src/apb_ctrl/flash_ace3_size.rs b/esp32c2/src/apb_ctrl/flash_ace3_size.rs index a2054c3846..59a27b9bee 100644 --- a/esp32c2/src/apb_ctrl/flash_ace3_size.rs +++ b/esp32c2/src/apb_ctrl/flash_ace3_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:12 - reg_flash_ace3_size"] #[inline(always)] - #[must_use] pub fn flash_ace3_size(&mut self) -> FLASH_ACE3_SIZE_W { FLASH_ACE3_SIZE_W::new(self, 0) } diff --git a/esp32c2/src/apb_ctrl/front_end_mem_pd.rs b/esp32c2/src/apb_ctrl/front_end_mem_pd.rs index 522587f164..a78218ddf6 100644 --- a/esp32c2/src/apb_ctrl/front_end_mem_pd.rs +++ b/esp32c2/src/apb_ctrl/front_end_mem_pd.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_agc_mem_force_pu"] #[inline(always)] - #[must_use] pub fn agc_mem_force_pu(&mut self) -> AGC_MEM_FORCE_PU_W { AGC_MEM_FORCE_PU_W::new(self, 0) } #[doc = "Bit 1 - reg_agc_mem_force_pd"] #[inline(always)] - #[must_use] pub fn agc_mem_force_pd(&mut self) -> AGC_MEM_FORCE_PD_W { AGC_MEM_FORCE_PD_W::new(self, 1) } #[doc = "Bit 2 - reg_pbus_mem_force_pu"] #[inline(always)] - #[must_use] pub fn pbus_mem_force_pu(&mut self) -> PBUS_MEM_FORCE_PU_W { PBUS_MEM_FORCE_PU_W::new(self, 2) } #[doc = "Bit 3 - reg_pbus_mem_force_pd"] #[inline(always)] - #[must_use] pub fn pbus_mem_force_pd(&mut self) -> PBUS_MEM_FORCE_PD_W { PBUS_MEM_FORCE_PD_W::new(self, 3) } #[doc = "Bit 4 - reg_dc_mem_force_pu"] #[inline(always)] - #[must_use] pub fn dc_mem_force_pu(&mut self) -> DC_MEM_FORCE_PU_W { DC_MEM_FORCE_PU_W::new(self, 4) } #[doc = "Bit 5 - reg_dc_mem_force_pd"] #[inline(always)] - #[must_use] pub fn dc_mem_force_pd(&mut self) -> DC_MEM_FORCE_PD_W { DC_MEM_FORCE_PD_W::new(self, 5) } #[doc = "Bit 6 - reg_freq_mem_force_pu"] #[inline(always)] - #[must_use] pub fn freq_mem_force_pu(&mut self) -> FREQ_MEM_FORCE_PU_W { FREQ_MEM_FORCE_PU_W::new(self, 6) } #[doc = "Bit 7 - reg_freq_mem_force_pd"] #[inline(always)] - #[must_use] pub fn freq_mem_force_pd(&mut self) -> FREQ_MEM_FORCE_PD_W { FREQ_MEM_FORCE_PD_W::new(self, 7) } diff --git a/esp32c2/src/apb_ctrl/host_inf_sel.rs b/esp32c2/src/apb_ctrl/host_inf_sel.rs index 2a9ed05286..02affa601f 100644 --- a/esp32c2/src/apb_ctrl/host_inf_sel.rs +++ b/esp32c2/src/apb_ctrl/host_inf_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - reg_peri_io_swap"] #[inline(always)] - #[must_use] pub fn peri_io_swap(&mut self) -> PERI_IO_SWAP_W { PERI_IO_SWAP_W::new(self, 0) } diff --git a/esp32c2/src/apb_ctrl/mem_power_down.rs b/esp32c2/src/apb_ctrl/mem_power_down.rs index 0ac8cd0c64..1aebb1e312 100644 --- a/esp32c2/src/apb_ctrl/mem_power_down.rs +++ b/esp32c2/src/apb_ctrl/mem_power_down.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - Set 1 to let rom power down"] #[inline(always)] - #[must_use] pub fn rom_power_down(&mut self) -> ROM_POWER_DOWN_W { ROM_POWER_DOWN_W::new(self, 0) } #[doc = "Bits 3:6 - Set 1 to let sram power down"] #[inline(always)] - #[must_use] pub fn sram_power_down(&mut self) -> SRAM_POWER_DOWN_W { SRAM_POWER_DOWN_W::new(self, 3) } diff --git a/esp32c2/src/apb_ctrl/mem_power_up.rs b/esp32c2/src/apb_ctrl/mem_power_up.rs index 3547df3164..86de42ead2 100644 --- a/esp32c2/src/apb_ctrl/mem_power_up.rs +++ b/esp32c2/src/apb_ctrl/mem_power_up.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - Set 1 to let rom power up"] #[inline(always)] - #[must_use] pub fn rom_power_up(&mut self) -> ROM_POWER_UP_W { ROM_POWER_UP_W::new(self, 0) } #[doc = "Bits 3:6 - Set 1 to let sram power up"] #[inline(always)] - #[must_use] pub fn sram_power_up(&mut self) -> SRAM_POWER_UP_W { SRAM_POWER_UP_W::new(self, 3) } diff --git a/esp32c2/src/apb_ctrl/peri_backup_apb_addr.rs b/esp32c2/src/apb_ctrl/peri_backup_apb_addr.rs index df70db926a..5f99c212aa 100644 --- a/esp32c2/src/apb_ctrl/peri_backup_apb_addr.rs +++ b/esp32c2/src/apb_ctrl/peri_backup_apb_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_backup_apb_start_addr"] #[inline(always)] - #[must_use] pub fn backup_apb_start_addr(&mut self) -> BACKUP_APB_START_ADDR_W { BACKUP_APB_START_ADDR_W::new(self, 0) } diff --git a/esp32c2/src/apb_ctrl/peri_backup_config.rs b/esp32c2/src/apb_ctrl/peri_backup_config.rs index 48668b46d0..705c7cb937 100644 --- a/esp32c2/src/apb_ctrl/peri_backup_config.rs +++ b/esp32c2/src/apb_ctrl/peri_backup_config.rs @@ -74,7 +74,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 4:8 - reg_peri_backup_burst_limit"] #[inline(always)] - #[must_use] pub fn peri_backup_burst_limit( &mut self, ) -> PERI_BACKUP_BURST_LIMIT_W { @@ -82,31 +81,26 @@ impl W { } #[doc = "Bits 9:18 - reg_peri_backup_tout_thres"] #[inline(always)] - #[must_use] pub fn peri_backup_tout_thres(&mut self) -> PERI_BACKUP_TOUT_THRES_W { PERI_BACKUP_TOUT_THRES_W::new(self, 9) } #[doc = "Bits 19:28 - reg_peri_backup_size"] #[inline(always)] - #[must_use] pub fn peri_backup_size(&mut self) -> PERI_BACKUP_SIZE_W { PERI_BACKUP_SIZE_W::new(self, 19) } #[doc = "Bit 29 - reg_peri_backup_start"] #[inline(always)] - #[must_use] pub fn peri_backup_start(&mut self) -> PERI_BACKUP_START_W { PERI_BACKUP_START_W::new(self, 29) } #[doc = "Bit 30 - reg_peri_backup_to_mem"] #[inline(always)] - #[must_use] pub fn peri_backup_to_mem(&mut self) -> PERI_BACKUP_TO_MEM_W { PERI_BACKUP_TO_MEM_W::new(self, 30) } #[doc = "Bit 31 - reg_peri_backup_ena"] #[inline(always)] - #[must_use] pub fn peri_backup_ena(&mut self) -> PERI_BACKUP_ENA_W { PERI_BACKUP_ENA_W::new(self, 31) } diff --git a/esp32c2/src/apb_ctrl/peri_backup_int_clr.rs b/esp32c2/src/apb_ctrl/peri_backup_int_clr.rs index 60c0a28670..dfdc1fd089 100644 --- a/esp32c2/src/apb_ctrl/peri_backup_int_clr.rs +++ b/esp32c2/src/apb_ctrl/peri_backup_int_clr.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - reg_peri_backup_done_int_clr"] #[inline(always)] - #[must_use] pub fn done(&mut self) -> DONE_W { DONE_W::new(self, 0) } #[doc = "Bit 1 - reg_peri_backup_err_int_clr"] #[inline(always)] - #[must_use] pub fn err(&mut self) -> ERR_W { ERR_W::new(self, 1) } diff --git a/esp32c2/src/apb_ctrl/peri_backup_int_ena.rs b/esp32c2/src/apb_ctrl/peri_backup_int_ena.rs index 25e8fe488b..f519a3511c 100644 --- a/esp32c2/src/apb_ctrl/peri_backup_int_ena.rs +++ b/esp32c2/src/apb_ctrl/peri_backup_int_ena.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_peri_backup_done_int_ena"] #[inline(always)] - #[must_use] pub fn done(&mut self) -> DONE_W { DONE_W::new(self, 0) } #[doc = "Bit 1 - reg_peri_backup_err_int_ena"] #[inline(always)] - #[must_use] pub fn err(&mut self) -> ERR_W { ERR_W::new(self, 1) } diff --git a/esp32c2/src/apb_ctrl/peri_backup_mem_addr.rs b/esp32c2/src/apb_ctrl/peri_backup_mem_addr.rs index 4d2c923a04..558e67f732 100644 --- a/esp32c2/src/apb_ctrl/peri_backup_mem_addr.rs +++ b/esp32c2/src/apb_ctrl/peri_backup_mem_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_backup_mem_start_addr"] #[inline(always)] - #[must_use] pub fn backup_mem_start_addr(&mut self) -> BACKUP_MEM_START_ADDR_W { BACKUP_MEM_START_ADDR_W::new(self, 0) } diff --git a/esp32c2/src/apb_ctrl/redcy_sig0.rs b/esp32c2/src/apb_ctrl/redcy_sig0.rs index a08d90f7a0..34c8cffb26 100644 --- a/esp32c2/src/apb_ctrl/redcy_sig0.rs +++ b/esp32c2/src/apb_ctrl/redcy_sig0.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - reg_redcy_sig0"] #[inline(always)] - #[must_use] pub fn redcy_sig0(&mut self) -> REDCY_SIG0_W { REDCY_SIG0_W::new(self, 0) } diff --git a/esp32c2/src/apb_ctrl/redcy_sig1.rs b/esp32c2/src/apb_ctrl/redcy_sig1.rs index 45797ee949..4a26cbdbbe 100644 --- a/esp32c2/src/apb_ctrl/redcy_sig1.rs +++ b/esp32c2/src/apb_ctrl/redcy_sig1.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - reg_redcy_sig1"] #[inline(always)] - #[must_use] pub fn redcy_sig1(&mut self) -> REDCY_SIG1_W { REDCY_SIG1_W::new(self, 0) } diff --git a/esp32c2/src/apb_ctrl/retention_ctrl.rs b/esp32c2/src/apb_ctrl/retention_ctrl.rs index 34f4ad65ab..f0c25b0299 100644 --- a/esp32c2/src/apb_ctrl/retention_ctrl.rs +++ b/esp32c2/src/apb_ctrl/retention_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:26 - reg_retention_link_addr"] #[inline(always)] - #[must_use] pub fn retention_link_addr(&mut self) -> RETENTION_LINK_ADDR_W { RETENTION_LINK_ADDR_W::new(self, 0) } #[doc = "Bit 27 - reg_nobypass_cpu_iso_rst"] #[inline(always)] - #[must_use] pub fn nobypass_cpu_iso_rst(&mut self) -> NOBYPASS_CPU_ISO_RST_W { NOBYPASS_CPU_ISO_RST_W::new(self, 27) } diff --git a/esp32c2/src/apb_ctrl/sdio_ctrl.rs b/esp32c2/src/apb_ctrl/sdio_ctrl.rs index ef20d5617d..15d121ce10 100644 --- a/esp32c2/src/apb_ctrl/sdio_ctrl.rs +++ b/esp32c2/src/apb_ctrl/sdio_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_sdio_win_access_en"] #[inline(always)] - #[must_use] pub fn sdio_win_access_en(&mut self) -> SDIO_WIN_ACCESS_EN_W { SDIO_WIN_ACCESS_EN_W::new(self, 0) } diff --git a/esp32c2/src/apb_ctrl/spi_mem_pms_ctrl.rs b/esp32c2/src/apb_ctrl/spi_mem_pms_ctrl.rs index 2b55729003..b2bf483848 100644 --- a/esp32c2/src/apb_ctrl/spi_mem_pms_ctrl.rs +++ b/esp32c2/src/apb_ctrl/spi_mem_pms_ctrl.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - reg_spi_mem_reject_clr"] #[inline(always)] - #[must_use] pub fn spi_mem_reject_clr(&mut self) -> SPI_MEM_REJECT_CLR_W { SPI_MEM_REJECT_CLR_W::new(self, 1) } diff --git a/esp32c2/src/apb_ctrl/sysclk_conf.rs b/esp32c2/src/apb_ctrl/sysclk_conf.rs index 582dbe2f20..6cadd9940a 100644 --- a/esp32c2/src/apb_ctrl/sysclk_conf.rs +++ b/esp32c2/src/apb_ctrl/sysclk_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - reg_pre_div_cnt"] #[inline(always)] - #[must_use] pub fn pre_div_cnt(&mut self) -> PRE_DIV_CNT_W { PRE_DIV_CNT_W::new(self, 0) } #[doc = "Bit 10 - reg_clk_320m_en"] #[inline(always)] - #[must_use] pub fn clk_320m_en(&mut self) -> CLK_320M_EN_W { CLK_320M_EN_W::new(self, 10) } #[doc = "Bit 11 - reg_clk_en"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 11) } #[doc = "Bit 12 - reg_rst_tick_cnt"] #[inline(always)] - #[must_use] pub fn rst_tick_cnt(&mut self) -> RST_TICK_CNT_W { RST_TICK_CNT_W::new(self, 12) } diff --git a/esp32c2/src/apb_ctrl/tick_conf.rs b/esp32c2/src/apb_ctrl/tick_conf.rs index ab7f3b1483..201290a8c8 100644 --- a/esp32c2/src/apb_ctrl/tick_conf.rs +++ b/esp32c2/src/apb_ctrl/tick_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - reg_xtal_tick_num"] #[inline(always)] - #[must_use] pub fn xtal_tick_num(&mut self) -> XTAL_TICK_NUM_W { XTAL_TICK_NUM_W::new(self, 0) } #[doc = "Bits 8:15 - reg_ck8m_tick_num"] #[inline(always)] - #[must_use] pub fn ck8m_tick_num(&mut self) -> CK8M_TICK_NUM_W { CK8M_TICK_NUM_W::new(self, 8) } #[doc = "Bit 16 - reg_tick_enable"] #[inline(always)] - #[must_use] pub fn tick_enable(&mut self) -> TICK_ENABLE_W { TICK_ENABLE_W::new(self, 16) } diff --git a/esp32c2/src/apb_ctrl/wifi_bb_cfg.rs b/esp32c2/src/apb_ctrl/wifi_bb_cfg.rs index 177a2687c7..49353e9704 100644 --- a/esp32c2/src/apb_ctrl/wifi_bb_cfg.rs +++ b/esp32c2/src/apb_ctrl/wifi_bb_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_wifi_bb_cfg"] #[inline(always)] - #[must_use] pub fn wifi_bb_cfg(&mut self) -> WIFI_BB_CFG_W { WIFI_BB_CFG_W::new(self, 0) } diff --git a/esp32c2/src/apb_ctrl/wifi_bb_cfg_2.rs b/esp32c2/src/apb_ctrl/wifi_bb_cfg_2.rs index 897b9119b7..55e95771dc 100644 --- a/esp32c2/src/apb_ctrl/wifi_bb_cfg_2.rs +++ b/esp32c2/src/apb_ctrl/wifi_bb_cfg_2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_wifi_bb_cfg_2"] #[inline(always)] - #[must_use] pub fn wifi_bb_cfg_2(&mut self) -> WIFI_BB_CFG_2_W { WIFI_BB_CFG_2_W::new(self, 0) } diff --git a/esp32c2/src/apb_ctrl/wifi_clk_en.rs b/esp32c2/src/apb_ctrl/wifi_clk_en.rs index f247ae2564..4d57cb6c62 100644 --- a/esp32c2/src/apb_ctrl/wifi_clk_en.rs +++ b/esp32c2/src/apb_ctrl/wifi_clk_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_wifi_clk_en"] #[inline(always)] - #[must_use] pub fn wifi_clk_en(&mut self) -> WIFI_CLK_EN_W { WIFI_CLK_EN_W::new(self, 0) } diff --git a/esp32c2/src/apb_ctrl/wifi_rst_en.rs b/esp32c2/src/apb_ctrl/wifi_rst_en.rs index 2a703fe0e9..9c237d8d59 100644 --- a/esp32c2/src/apb_ctrl/wifi_rst_en.rs +++ b/esp32c2/src/apb_ctrl/wifi_rst_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_wifi_rst"] #[inline(always)] - #[must_use] pub fn wifi_rst(&mut self) -> WIFI_RST_W { WIFI_RST_W::new(self, 0) } diff --git a/esp32c2/src/apb_saradc/arb_ctrl.rs b/esp32c2/src/apb_saradc/arb_ctrl.rs index 6bfa45a645..a3bf5ea17e 100644 --- a/esp32c2/src/apb_saradc/arb_ctrl.rs +++ b/esp32c2/src/apb_saradc/arb_ctrl.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - adc2 arbiter force to enableapb controller"] #[inline(always)] - #[must_use] pub fn apb_force(&mut self) -> APB_FORCE_W { APB_FORCE_W::new(self, 2) } #[doc = "Bit 3 - adc2 arbiter force to enable rtc controller"] #[inline(always)] - #[must_use] pub fn rtc_force(&mut self) -> RTC_FORCE_W { RTC_FORCE_W::new(self, 3) } #[doc = "Bit 4 - adc2 arbiter force to enable wifi controller"] #[inline(always)] - #[must_use] pub fn wifi_force(&mut self) -> WIFI_FORCE_W { WIFI_FORCE_W::new(self, 4) } #[doc = "Bit 5 - adc2 arbiter force grant"] #[inline(always)] - #[must_use] pub fn grant_force(&mut self) -> GRANT_FORCE_W { GRANT_FORCE_W::new(self, 5) } #[doc = "Bits 6:7 - Set adc2 arbiterapb priority"] #[inline(always)] - #[must_use] pub fn apb_priority(&mut self) -> APB_PRIORITY_W { APB_PRIORITY_W::new(self, 6) } #[doc = "Bits 8:9 - Set adc2 arbiter rtc priority"] #[inline(always)] - #[must_use] pub fn rtc_priority(&mut self) -> RTC_PRIORITY_W { RTC_PRIORITY_W::new(self, 8) } #[doc = "Bits 10:11 - Set adc2 arbiter wifi priority"] #[inline(always)] - #[must_use] pub fn wifi_priority(&mut self) -> WIFI_PRIORITY_W { WIFI_PRIORITY_W::new(self, 10) } #[doc = "Bit 12 - adc2 arbiter uses fixed priority"] #[inline(always)] - #[must_use] pub fn fix_priority(&mut self) -> FIX_PRIORITY_W { FIX_PRIORITY_W::new(self, 12) } diff --git a/esp32c2/src/apb_saradc/cali.rs b/esp32c2/src/apb_saradc/cali.rs index 04eca4b288..a4fddd29f9 100644 --- a/esp32c2/src/apb_saradc/cali.rs +++ b/esp32c2/src/apb_saradc/cali.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:16 - Need add description"] #[inline(always)] - #[must_use] pub fn cfg(&mut self) -> CFG_W { CFG_W::new(self, 0) } diff --git a/esp32c2/src/apb_saradc/clkm_conf.rs b/esp32c2/src/apb_saradc/clkm_conf.rs index e7beb435f6..7903e16092 100644 --- a/esp32c2/src/apb_saradc/clkm_conf.rs +++ b/esp32c2/src/apb_saradc/clkm_conf.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Integral I2S clock divider value"] #[inline(always)] - #[must_use] pub fn clkm_div_num(&mut self) -> CLKM_DIV_NUM_W { CLKM_DIV_NUM_W::new(self, 0) } #[doc = "Bits 8:13 - Fractional clock divider numerator value"] #[inline(always)] - #[must_use] pub fn clkm_div_b(&mut self) -> CLKM_DIV_B_W { CLKM_DIV_B_W::new(self, 8) } #[doc = "Bits 14:19 - Fractional clock divider denominator value"] #[inline(always)] - #[must_use] pub fn clkm_div_a(&mut self) -> CLKM_DIV_A_W { CLKM_DIV_A_W::new(self, 14) } #[doc = "Bit 20 - Need add description"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 20) } #[doc = "Bits 21:22 - Set this bit to enable clk_apll"] #[inline(always)] - #[must_use] pub fn clk_sel(&mut self) -> CLK_SEL_W { CLK_SEL_W::new(self, 21) } diff --git a/esp32c2/src/apb_saradc/ctrl.rs b/esp32c2/src/apb_saradc/ctrl.rs index 16a1105467..0975a5ea19 100644 --- a/esp32c2/src/apb_saradc/ctrl.rs +++ b/esp32c2/src/apb_saradc/ctrl.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Need add description"] #[inline(always)] - #[must_use] pub fn start_force(&mut self) -> START_FORCE_W { START_FORCE_W::new(self, 0) } #[doc = "Bit 1 - Need add description"] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 1) } #[doc = "Bit 6 - Need add description"] #[inline(always)] - #[must_use] pub fn sar_clk_gated(&mut self) -> SAR_CLK_GATED_W { SAR_CLK_GATED_W::new(self, 6) } #[doc = "Bits 7:14 - SAR clock divider"] #[inline(always)] - #[must_use] pub fn sar_clk_div(&mut self) -> SAR_CLK_DIV_W { SAR_CLK_DIV_W::new(self, 7) } #[doc = "Bits 15:17 - 0 ~ 15 means length 1 ~ 16"] #[inline(always)] - #[must_use] pub fn sar_patt_len(&mut self) -> SAR_PATT_LEN_W { SAR_PATT_LEN_W::new(self, 15) } #[doc = "Bit 23 - clear the pointer of pattern table for DIG ADC1 CTRL"] #[inline(always)] - #[must_use] pub fn sar_patt_p_clear(&mut self) -> SAR_PATT_P_CLEAR_W { SAR_PATT_P_CLEAR_W::new(self, 23) } #[doc = "Bits 27:28 - force option to xpd sar blocks"] #[inline(always)] - #[must_use] pub fn xpd_sar_force(&mut self) -> XPD_SAR_FORCE_W { XPD_SAR_FORCE_W::new(self, 27) } #[doc = "Bits 30:31 - wait arbit signal stable after sar_done"] #[inline(always)] - #[must_use] pub fn wait_arb_cycle(&mut self) -> WAIT_ARB_CYCLE_W { WAIT_ARB_CYCLE_W::new(self, 30) } diff --git a/esp32c2/src/apb_saradc/ctrl2.rs b/esp32c2/src/apb_saradc/ctrl2.rs index 26f3544070..07b1474a9d 100644 --- a/esp32c2/src/apb_saradc/ctrl2.rs +++ b/esp32c2/src/apb_saradc/ctrl2.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Need add description"] #[inline(always)] - #[must_use] pub fn meas_num_limit(&mut self) -> MEAS_NUM_LIMIT_W { MEAS_NUM_LIMIT_W::new(self, 0) } #[doc = "Bits 1:8 - max conversion number"] #[inline(always)] - #[must_use] pub fn max_meas_num(&mut self) -> MAX_MEAS_NUM_W { MAX_MEAS_NUM_W::new(self, 1) } #[doc = "Bit 9 - 1: data to DIG ADC1 CTRL is inverted, otherwise not"] #[inline(always)] - #[must_use] pub fn sar1_inv(&mut self) -> SAR1_INV_W { SAR1_INV_W::new(self, 9) } #[doc = "Bit 10 - 1: data to DIG ADC2 CTRL is inverted, otherwise not"] #[inline(always)] - #[must_use] pub fn sar2_inv(&mut self) -> SAR2_INV_W { SAR2_INV_W::new(self, 10) } #[doc = "Bits 12:23 - to set saradc timer target"] #[inline(always)] - #[must_use] pub fn timer_target(&mut self) -> TIMER_TARGET_W { TIMER_TARGET_W::new(self, 12) } #[doc = "Bit 24 - to enable saradc timer trigger"] #[inline(always)] - #[must_use] pub fn timer_en(&mut self) -> TIMER_EN_W { TIMER_EN_W::new(self, 24) } diff --git a/esp32c2/src/apb_saradc/ctrl_date.rs b/esp32c2/src/apb_saradc/ctrl_date.rs index eb7b536127..d0d485d77b 100644 --- a/esp32c2/src/apb_saradc/ctrl_date.rs +++ b/esp32c2/src/apb_saradc/ctrl_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Need add description"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c2/src/apb_saradc/dma_conf.rs b/esp32c2/src/apb_saradc/dma_conf.rs index abf43dbd2f..0a44e231f8 100644 --- a/esp32c2/src/apb_saradc/dma_conf.rs +++ b/esp32c2/src/apb_saradc/dma_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - the dma_in_suc_eof gen when sample cnt = spi_eof_num"] #[inline(always)] - #[must_use] pub fn adc_eof_num(&mut self) -> ADC_EOF_NUM_W { ADC_EOF_NUM_W::new(self, 0) } #[doc = "Bit 30 - reset_apb_adc_state"] #[inline(always)] - #[must_use] pub fn adc_reset_fsm(&mut self) -> ADC_RESET_FSM_W { ADC_RESET_FSM_W::new(self, 30) } #[doc = "Bit 31 - enable apb_adc use spi_dma"] #[inline(always)] - #[must_use] pub fn adc_trans(&mut self) -> ADC_TRANS_W { ADC_TRANS_W::new(self, 31) } diff --git a/esp32c2/src/apb_saradc/filter_ctrl0.rs b/esp32c2/src/apb_saradc/filter_ctrl0.rs index fdff39f250..27e7a3bc58 100644 --- a/esp32c2/src/apb_saradc/filter_ctrl0.rs +++ b/esp32c2/src/apb_saradc/filter_ctrl0.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 18:21 - Need add description"] #[inline(always)] - #[must_use] pub fn filter_channel1(&mut self) -> FILTER_CHANNEL1_W { FILTER_CHANNEL1_W::new(self, 18) } #[doc = "Bits 22:25 - apb_adc1_filter_factor"] #[inline(always)] - #[must_use] pub fn filter_channel0(&mut self) -> FILTER_CHANNEL0_W { FILTER_CHANNEL0_W::new(self, 22) } #[doc = "Bit 31 - enable apb_adc1_filter"] #[inline(always)] - #[must_use] pub fn filter_reset(&mut self) -> FILTER_RESET_W { FILTER_RESET_W::new(self, 31) } diff --git a/esp32c2/src/apb_saradc/filter_ctrl1.rs b/esp32c2/src/apb_saradc/filter_ctrl1.rs index 21960f93f3..34f7fcf2aa 100644 --- a/esp32c2/src/apb_saradc/filter_ctrl1.rs +++ b/esp32c2/src/apb_saradc/filter_ctrl1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 26:28 - Need add description"] #[inline(always)] - #[must_use] pub fn filter_factor1(&mut self) -> FILTER_FACTOR1_W { FILTER_FACTOR1_W::new(self, 26) } #[doc = "Bits 29:31 - Need add description"] #[inline(always)] - #[must_use] pub fn filter_factor0(&mut self) -> FILTER_FACTOR0_W { FILTER_FACTOR0_W::new(self, 29) } diff --git a/esp32c2/src/apb_saradc/fsm_wait.rs b/esp32c2/src/apb_saradc/fsm_wait.rs index 49d57497ac..939b99ba90 100644 --- a/esp32c2/src/apb_saradc/fsm_wait.rs +++ b/esp32c2/src/apb_saradc/fsm_wait.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Need add description"] #[inline(always)] - #[must_use] pub fn xpd_wait(&mut self) -> XPD_WAIT_W { XPD_WAIT_W::new(self, 0) } #[doc = "Bits 8:15 - Need add description"] #[inline(always)] - #[must_use] pub fn rstb_wait(&mut self) -> RSTB_WAIT_W { RSTB_WAIT_W::new(self, 8) } #[doc = "Bits 16:23 - Need add description"] #[inline(always)] - #[must_use] pub fn standby_wait(&mut self) -> STANDBY_WAIT_W { STANDBY_WAIT_W::new(self, 16) } diff --git a/esp32c2/src/apb_saradc/int_clr.rs b/esp32c2/src/apb_saradc/int_clr.rs index 49063f0aed..772efebb89 100644 --- a/esp32c2/src/apb_saradc/int_clr.rs +++ b/esp32c2/src/apb_saradc/int_clr.rs @@ -21,37 +21,31 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 26 - Need add description"] #[inline(always)] - #[must_use] pub fn thres1_low(&mut self) -> THRES1_LOW_W { THRES1_LOW_W::new(self, 26) } #[doc = "Bit 27 - Need add description"] #[inline(always)] - #[must_use] pub fn thres0_low(&mut self) -> THRES0_LOW_W { THRES0_LOW_W::new(self, 27) } #[doc = "Bit 28 - Need add description"] #[inline(always)] - #[must_use] pub fn thres1_high(&mut self) -> THRES1_HIGH_W { THRES1_HIGH_W::new(self, 28) } #[doc = "Bit 29 - Need add description"] #[inline(always)] - #[must_use] pub fn thres0_high(&mut self) -> THRES0_HIGH_W { THRES0_HIGH_W::new(self, 29) } #[doc = "Bit 30 - Need add description"] #[inline(always)] - #[must_use] pub fn adc2_done(&mut self) -> ADC2_DONE_W { ADC2_DONE_W::new(self, 30) } #[doc = "Bit 31 - Need add description"] #[inline(always)] - #[must_use] pub fn adc1_done(&mut self) -> ADC1_DONE_W { ADC1_DONE_W::new(self, 31) } diff --git a/esp32c2/src/apb_saradc/int_ena.rs b/esp32c2/src/apb_saradc/int_ena.rs index f28fa572d4..9975f721b0 100644 --- a/esp32c2/src/apb_saradc/int_ena.rs +++ b/esp32c2/src/apb_saradc/int_ena.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 26 - Need add description"] #[inline(always)] - #[must_use] pub fn thres1_low(&mut self) -> THRES1_LOW_W { THRES1_LOW_W::new(self, 26) } #[doc = "Bit 27 - Need add description"] #[inline(always)] - #[must_use] pub fn thres0_low(&mut self) -> THRES0_LOW_W { THRES0_LOW_W::new(self, 27) } #[doc = "Bit 28 - Need add description"] #[inline(always)] - #[must_use] pub fn thres1_high(&mut self) -> THRES1_HIGH_W { THRES1_HIGH_W::new(self, 28) } #[doc = "Bit 29 - Need add description"] #[inline(always)] - #[must_use] pub fn thres0_high(&mut self) -> THRES0_HIGH_W { THRES0_HIGH_W::new(self, 29) } #[doc = "Bit 30 - Need add description"] #[inline(always)] - #[must_use] pub fn adc2_done(&mut self) -> ADC2_DONE_W { ADC2_DONE_W::new(self, 30) } #[doc = "Bit 31 - Need add description"] #[inline(always)] - #[must_use] pub fn adc1_done(&mut self) -> ADC1_DONE_W { ADC1_DONE_W::new(self, 31) } diff --git a/esp32c2/src/apb_saradc/onetime_sample.rs b/esp32c2/src/apb_saradc/onetime_sample.rs index 6a1a6acd38..2a2feb1288 100644 --- a/esp32c2/src/apb_saradc/onetime_sample.rs +++ b/esp32c2/src/apb_saradc/onetime_sample.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 23:24 - Need add description"] #[inline(always)] - #[must_use] pub fn onetime_atten(&mut self) -> ONETIME_ATTEN_W { ONETIME_ATTEN_W::new(self, 23) } #[doc = "Bits 25:28 - Need add description"] #[inline(always)] - #[must_use] pub fn onetime_channel(&mut self) -> ONETIME_CHANNEL_W { ONETIME_CHANNEL_W::new(self, 25) } #[doc = "Bit 29 - Need add description"] #[inline(always)] - #[must_use] pub fn onetime_start(&mut self) -> ONETIME_START_W { ONETIME_START_W::new(self, 29) } #[doc = "Bit 30 - Need add description"] #[inline(always)] - #[must_use] pub fn saradc2_onetime_sample(&mut self) -> SARADC2_ONETIME_SAMPLE_W { SARADC2_ONETIME_SAMPLE_W::new(self, 30) } #[doc = "Bit 31 - Need add description"] #[inline(always)] - #[must_use] pub fn saradc1_onetime_sample(&mut self) -> SARADC1_ONETIME_SAMPLE_W { SARADC1_ONETIME_SAMPLE_W::new(self, 31) } diff --git a/esp32c2/src/apb_saradc/sar_patt_tab1.rs b/esp32c2/src/apb_saradc/sar_patt_tab1.rs index 7bc588022f..0cd1dae291 100644 --- a/esp32c2/src/apb_saradc/sar_patt_tab1.rs +++ b/esp32c2/src/apb_saradc/sar_patt_tab1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - item 0 ~ 3 for pattern table 1 (each item one byte)"] #[inline(always)] - #[must_use] pub fn sar_patt_tab1(&mut self) -> SAR_PATT_TAB1_W { SAR_PATT_TAB1_W::new(self, 0) } diff --git a/esp32c2/src/apb_saradc/sar_patt_tab2.rs b/esp32c2/src/apb_saradc/sar_patt_tab2.rs index 8e4f8b2d86..49b2b9f872 100644 --- a/esp32c2/src/apb_saradc/sar_patt_tab2.rs +++ b/esp32c2/src/apb_saradc/sar_patt_tab2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - Item 4 ~ 7 for pattern table 1 (each item one byte)"] #[inline(always)] - #[must_use] pub fn sar_patt_tab2(&mut self) -> SAR_PATT_TAB2_W { SAR_PATT_TAB2_W::new(self, 0) } diff --git a/esp32c2/src/apb_saradc/thres0_ctrl.rs b/esp32c2/src/apb_saradc/thres0_ctrl.rs index 109f02114a..13b17767bd 100644 --- a/esp32c2/src/apb_saradc/thres0_ctrl.rs +++ b/esp32c2/src/apb_saradc/thres0_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Need add description"] #[inline(always)] - #[must_use] pub fn thres0_channel(&mut self) -> THRES0_CHANNEL_W { THRES0_CHANNEL_W::new(self, 0) } #[doc = "Bits 5:17 - saradc1's thres0 monitor thres"] #[inline(always)] - #[must_use] pub fn thres0_high(&mut self) -> THRES0_HIGH_W { THRES0_HIGH_W::new(self, 5) } #[doc = "Bits 18:30 - saradc1's thres0 monitor thres"] #[inline(always)] - #[must_use] pub fn thres0_low(&mut self) -> THRES0_LOW_W { THRES0_LOW_W::new(self, 18) } diff --git a/esp32c2/src/apb_saradc/thres1_ctrl.rs b/esp32c2/src/apb_saradc/thres1_ctrl.rs index 52f1729072..e9e2fc0c78 100644 --- a/esp32c2/src/apb_saradc/thres1_ctrl.rs +++ b/esp32c2/src/apb_saradc/thres1_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Need add description"] #[inline(always)] - #[must_use] pub fn thres1_channel(&mut self) -> THRES1_CHANNEL_W { THRES1_CHANNEL_W::new(self, 0) } #[doc = "Bits 5:17 - saradc1's thres0 monitor thres"] #[inline(always)] - #[must_use] pub fn thres1_high(&mut self) -> THRES1_HIGH_W { THRES1_HIGH_W::new(self, 5) } #[doc = "Bits 18:30 - saradc1's thres0 monitor thres"] #[inline(always)] - #[must_use] pub fn thres1_low(&mut self) -> THRES1_LOW_W { THRES1_LOW_W::new(self, 18) } diff --git a/esp32c2/src/apb_saradc/thres_ctrl.rs b/esp32c2/src/apb_saradc/thres_ctrl.rs index b5df14081e..3eec498ffc 100644 --- a/esp32c2/src/apb_saradc/thres_ctrl.rs +++ b/esp32c2/src/apb_saradc/thres_ctrl.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 27 - Need add description"] #[inline(always)] - #[must_use] pub fn thres_all_en(&mut self) -> THRES_ALL_EN_W { THRES_ALL_EN_W::new(self, 27) } #[doc = "Bit 28 - Need add description"] #[inline(always)] - #[must_use] pub fn thres3_en(&mut self) -> THRES3_EN_W { THRES3_EN_W::new(self, 28) } #[doc = "Bit 29 - Need add description"] #[inline(always)] - #[must_use] pub fn thres2_en(&mut self) -> THRES2_EN_W { THRES2_EN_W::new(self, 29) } #[doc = "Bit 30 - Need add description"] #[inline(always)] - #[must_use] pub fn thres1_en(&mut self) -> THRES1_EN_W { THRES1_EN_W::new(self, 30) } #[doc = "Bit 31 - Need add description"] #[inline(always)] - #[must_use] pub fn thres0_en(&mut self) -> THRES0_EN_W { THRES0_EN_W::new(self, 31) } diff --git a/esp32c2/src/apb_saradc/tsens_ctrl.rs b/esp32c2/src/apb_saradc/tsens_ctrl.rs index 71d11e015c..47ebdf3a43 100644 --- a/esp32c2/src/apb_saradc/tsens_ctrl.rs +++ b/esp32c2/src/apb_saradc/tsens_ctrl.rs @@ -52,19 +52,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - Need add description"] #[inline(always)] - #[must_use] pub fn in_inv(&mut self) -> IN_INV_W { IN_INV_W::new(self, 13) } #[doc = "Bits 14:21 - Need add description"] #[inline(always)] - #[must_use] pub fn clk_div(&mut self) -> CLK_DIV_W { CLK_DIV_W::new(self, 14) } #[doc = "Bit 22 - Need add description"] #[inline(always)] - #[must_use] pub fn pu(&mut self) -> PU_W { PU_W::new(self, 22) } diff --git a/esp32c2/src/apb_saradc/tsens_ctrl2.rs b/esp32c2/src/apb_saradc/tsens_ctrl2.rs index 8b5eb1a31b..1c38a8aa0d 100644 --- a/esp32c2/src/apb_saradc/tsens_ctrl2.rs +++ b/esp32c2/src/apb_saradc/tsens_ctrl2.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - Need add description"] #[inline(always)] - #[must_use] pub fn xpd_wait(&mut self) -> XPD_WAIT_W { XPD_WAIT_W::new(self, 0) } #[doc = "Bits 12:13 - Need add description"] #[inline(always)] - #[must_use] pub fn xpd_force(&mut self) -> XPD_FORCE_W { XPD_FORCE_W::new(self, 12) } #[doc = "Bit 14 - Need add description"] #[inline(always)] - #[must_use] pub fn clk_inv(&mut self) -> CLK_INV_W { CLK_INV_W::new(self, 14) } #[doc = "Bit 15 - Need add description"] #[inline(always)] - #[must_use] pub fn clk_sel(&mut self) -> CLK_SEL_W { CLK_SEL_W::new(self, 15) } diff --git a/esp32c2/src/assist_debug/clock_gate.rs b/esp32c2/src/assist_debug/clock_gate.rs index 5650ed7a30..e72ef9a4a4 100644 --- a/esp32c2/src/assist_debug/clock_gate.rs +++ b/esp32c2/src/assist_debug/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - clock gate register"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32c2/src/assist_debug/core_0_intr_clr.rs b/esp32c2/src/assist_debug/core_0_intr_clr.rs index dff82a3c96..8acc0a82b2 100644 --- a/esp32c2/src/assist_debug/core_0_intr_clr.rs +++ b/esp32c2/src/assist_debug/core_0_intr_clr.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - clr sp underlow monitor interrupt"] #[inline(always)] - #[must_use] pub fn core_0_sp_spill_min_clr(&mut self) -> CORE_0_SP_SPILL_MIN_CLR_W { CORE_0_SP_SPILL_MIN_CLR_W::new(self, 0) } #[doc = "Bit 1 - clr sp overflow monitor interrupt"] #[inline(always)] - #[must_use] pub fn core_0_sp_spill_max_clr(&mut self) -> CORE_0_SP_SPILL_MAX_CLR_W { CORE_0_SP_SPILL_MAX_CLR_W::new(self, 1) } diff --git a/esp32c2/src/assist_debug/core_0_intr_ena.rs b/esp32c2/src/assist_debug/core_0_intr_ena.rs index dfb2853f35..01078c0093 100644 --- a/esp32c2/src/assist_debug/core_0_intr_ena.rs +++ b/esp32c2/src/assist_debug/core_0_intr_ena.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - enbale sp underlow monitor interrupt"] #[inline(always)] - #[must_use] pub fn core_0_sp_spill_min_intr_ena( &mut self, ) -> CORE_0_SP_SPILL_MIN_INTR_ENA_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bit 1 - enbale sp overflow monitor interrupt"] #[inline(always)] - #[must_use] pub fn core_0_sp_spill_max_intr_ena( &mut self, ) -> CORE_0_SP_SPILL_MAX_INTR_ENA_W { diff --git a/esp32c2/src/assist_debug/core_0_montr_ena.rs b/esp32c2/src/assist_debug/core_0_montr_ena.rs index c9f738b2f0..cdd0a4a2a2 100644 --- a/esp32c2/src/assist_debug/core_0_montr_ena.rs +++ b/esp32c2/src/assist_debug/core_0_montr_ena.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - enbale sp underlow monitor"] #[inline(always)] - #[must_use] pub fn core_0_sp_spill_min_ena(&mut self) -> CORE_0_SP_SPILL_MIN_ENA_W { CORE_0_SP_SPILL_MIN_ENA_W::new(self, 0) } #[doc = "Bit 1 - enbale sp overflow monitor"] #[inline(always)] - #[must_use] pub fn core_0_sp_spill_max_ena(&mut self) -> CORE_0_SP_SPILL_MAX_ENA_W { CORE_0_SP_SPILL_MAX_ENA_W::new(self, 1) } diff --git a/esp32c2/src/assist_debug/core_0_rcd_en.rs b/esp32c2/src/assist_debug/core_0_rcd_en.rs index 61590ff866..6612dc98db 100644 --- a/esp32c2/src/assist_debug/core_0_rcd_en.rs +++ b/esp32c2/src/assist_debug/core_0_rcd_en.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable record PC"] #[inline(always)] - #[must_use] pub fn core_0_rcd_recorden(&mut self) -> CORE_0_RCD_RECORDEN_W { CORE_0_RCD_RECORDEN_W::new(self, 0) } #[doc = "Bit 1 - Set 1 to enable cpu pdebug function, must set this bit can get cpu PC"] #[inline(always)] - #[must_use] pub fn core_0_rcd_pdebugen(&mut self) -> CORE_0_RCD_PDEBUGEN_W { CORE_0_RCD_PDEBUGEN_W::new(self, 1) } diff --git a/esp32c2/src/assist_debug/core_0_sp_max.rs b/esp32c2/src/assist_debug/core_0_sp_max.rs index 229e1bff17..4b3727dabe 100644 --- a/esp32c2/src/assist_debug/core_0_sp_max.rs +++ b/esp32c2/src/assist_debug/core_0_sp_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - core0 sp pc status register"] #[inline(always)] - #[must_use] pub fn core_0_sp_max(&mut self) -> CORE_0_SP_MAX_W { CORE_0_SP_MAX_W::new(self, 0) } diff --git a/esp32c2/src/assist_debug/core_0_sp_min.rs b/esp32c2/src/assist_debug/core_0_sp_min.rs index f14c3ad2ea..62f1baddbf 100644 --- a/esp32c2/src/assist_debug/core_0_sp_min.rs +++ b/esp32c2/src/assist_debug/core_0_sp_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - core0 sp region configuration regsiter"] #[inline(always)] - #[must_use] pub fn core_0_sp_min(&mut self) -> CORE_0_SP_MIN_W { CORE_0_SP_MIN_W::new(self, 0) } diff --git a/esp32c2/src/assist_debug/date.rs b/esp32c2/src/assist_debug/date.rs index dc20662577..af4f3c991b 100644 --- a/esp32c2/src/assist_debug/date.rs +++ b/esp32c2/src/assist_debug/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - version register"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c2/src/bb/bbpd_ctrl.rs b/esp32c2/src/bb/bbpd_ctrl.rs index 968dce20ce..6de8322c9b 100644 --- a/esp32c2/src/bb/bbpd_ctrl.rs +++ b/esp32c2/src/bb/bbpd_ctrl.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn dc_est_force_pd(&mut self) -> DC_EST_FORCE_PD_W { DC_EST_FORCE_PD_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn dc_est_force_pu(&mut self) -> DC_EST_FORCE_PU_W { DC_EST_FORCE_PU_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn fft_force_pd(&mut self) -> FFT_FORCE_PD_W { FFT_FORCE_PD_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn fft_force_pu(&mut self) -> FFT_FORCE_PU_W { FFT_FORCE_PU_W::new(self, 3) } diff --git a/esp32c2/src/dma/ahb_test.rs b/esp32c2/src/dma/ahb_test.rs index b42d19dd5d..0be8348d1a 100644 --- a/esp32c2/src/dma/ahb_test.rs +++ b/esp32c2/src/dma/ahb_test.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - reserved"] #[inline(always)] - #[must_use] pub fn ahb_testmode(&mut self) -> AHB_TESTMODE_W { AHB_TESTMODE_W::new(self, 0) } #[doc = "Bits 4:5 - reserved"] #[inline(always)] - #[must_use] pub fn ahb_testaddr(&mut self) -> AHB_TESTADDR_W { AHB_TESTADDR_W::new(self, 4) } diff --git a/esp32c2/src/dma/ch/in_conf0.rs b/esp32c2/src/dma/ch/in_conf0.rs index 756422ecd3..8371d7cc32 100644 --- a/esp32c2/src/dma/ch/in_conf0.rs +++ b/esp32c2/src/dma/ch/in_conf0.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to reset DMA channel 0 Rx FSM and Rx FIFO pointer."] #[inline(always)] - #[must_use] pub fn in_rst(&mut self) -> IN_RST_W { IN_RST_W::new(self, 0) } #[doc = "Bit 1 - reserved"] #[inline(always)] - #[must_use] pub fn in_loop_test(&mut self) -> IN_LOOP_TEST_W { IN_LOOP_TEST_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to 1 to enable INCR burst transfer for Rx channel 0 reading link descriptor when accessing internal SRAM."] #[inline(always)] - #[must_use] pub fn indscr_burst_en(&mut self) -> INDSCR_BURST_EN_W { INDSCR_BURST_EN_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to 1 to enable INCR burst transfer for Rx channel 0 receiving data when accessing internal SRAM."] #[inline(always)] - #[must_use] pub fn in_data_burst_en(&mut self) -> IN_DATA_BURST_EN_W { IN_DATA_BURST_EN_W::new(self, 3) } #[doc = "Bit 4 - Set this bit 1 to enable automatic transmitting data from memory to memory via DMA."] #[inline(always)] - #[must_use] pub fn mem_trans_en(&mut self) -> MEM_TRANS_EN_W { MEM_TRANS_EN_W::new(self, 4) } diff --git a/esp32c2/src/dma/ch/in_conf1.rs b/esp32c2/src/dma/ch/in_conf1.rs index b062748ec2..92eeae227a 100644 --- a/esp32c2/src/dma/ch/in_conf1.rs +++ b/esp32c2/src/dma/ch/in_conf1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - Set this bit to enable checking the owner attribute of the link descriptor."] #[inline(always)] - #[must_use] pub fn in_check_owner(&mut self) -> IN_CHECK_OWNER_W { IN_CHECK_OWNER_W::new(self, 12) } diff --git a/esp32c2/src/dma/ch/in_link.rs b/esp32c2/src/dma/ch/in_link.rs index acb49982a7..953f2ef771 100644 --- a/esp32c2/src/dma/ch/in_link.rs +++ b/esp32c2/src/dma/ch/in_link.rs @@ -72,31 +72,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - This register stores the 20 least significant bits of the first inlink descriptor's address."] #[inline(always)] - #[must_use] pub fn inlink_addr(&mut self) -> INLINK_ADDR_W { INLINK_ADDR_W::new(self, 0) } #[doc = "Bit 20 - Set this bit to return to current inlink descriptor's address, when there are some errors in current receiving data."] #[inline(always)] - #[must_use] pub fn inlink_auto_ret(&mut self) -> INLINK_AUTO_RET_W { INLINK_AUTO_RET_W::new(self, 20) } #[doc = "Bit 21 - Set this bit to stop dealing with the inlink descriptors."] #[inline(always)] - #[must_use] pub fn inlink_stop(&mut self) -> INLINK_STOP_W { INLINK_STOP_W::new(self, 21) } #[doc = "Bit 22 - Set this bit to start dealing with the inlink descriptors."] #[inline(always)] - #[must_use] pub fn inlink_start(&mut self) -> INLINK_START_W { INLINK_START_W::new(self, 22) } #[doc = "Bit 23 - Set this bit to mount a new inlink descriptor."] #[inline(always)] - #[must_use] pub fn inlink_restart(&mut self) -> INLINK_RESTART_W { INLINK_RESTART_W::new(self, 23) } diff --git a/esp32c2/src/dma/ch/in_peri_sel.rs b/esp32c2/src/dma/ch/in_peri_sel.rs index b1c8370cd2..e85623b2cf 100644 --- a/esp32c2/src/dma/ch/in_peri_sel.rs +++ b/esp32c2/src/dma/ch/in_peri_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - This register is used to select peripheral for Rx channel 0. 0:SPI2. 1: reserved. 2: UHCI0. 3: I2S0. 4: reserved. 5: reserved. 6: AES. 7: SHA. 8: ADC_DAC."] #[inline(always)] - #[must_use] pub fn peri_in_sel(&mut self) -> PERI_IN_SEL_W { PERI_IN_SEL_W::new(self, 0) } diff --git a/esp32c2/src/dma/ch/in_pop.rs b/esp32c2/src/dma/ch/in_pop.rs index bdf26d2e21..fe01bc9b6a 100644 --- a/esp32c2/src/dma/ch/in_pop.rs +++ b/esp32c2/src/dma/ch/in_pop.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - Set this bit to pop data from DMA FIFO."] #[inline(always)] - #[must_use] pub fn infifo_pop(&mut self) -> INFIFO_POP_W { INFIFO_POP_W::new(self, 12) } diff --git a/esp32c2/src/dma/ch/in_pri.rs b/esp32c2/src/dma/ch/in_pri.rs index 6d53f327e2..949073f642 100644 --- a/esp32c2/src/dma/ch/in_pri.rs +++ b/esp32c2/src/dma/ch/in_pri.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - The priority of Rx channel 0. The larger of the value, the higher of the priority."] #[inline(always)] - #[must_use] pub fn rx_pri(&mut self) -> RX_PRI_W { RX_PRI_W::new(self, 0) } diff --git a/esp32c2/src/dma/ch/out_conf0.rs b/esp32c2/src/dma/ch/out_conf0.rs index 34a8f02304..c9a0185601 100644 --- a/esp32c2/src/dma/ch/out_conf0.rs +++ b/esp32c2/src/dma/ch/out_conf0.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to reset DMA channel 0 Tx FSM and Tx FIFO pointer."] #[inline(always)] - #[must_use] pub fn out_rst(&mut self) -> OUT_RST_W { OUT_RST_W::new(self, 0) } #[doc = "Bit 1 - reserved"] #[inline(always)] - #[must_use] pub fn out_loop_test(&mut self) -> OUT_LOOP_TEST_W { OUT_LOOP_TEST_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to enable automatic outlink-writeback when all the data in tx buffer has been transmitted."] #[inline(always)] - #[must_use] pub fn out_auto_wrback(&mut self) -> OUT_AUTO_WRBACK_W { OUT_AUTO_WRBACK_W::new(self, 2) } #[doc = "Bit 3 - EOF flag generation mode when transmitting data. 1: EOF flag for Tx channel 0 is generated when data need to transmit has been popped from FIFO in DMA"] #[inline(always)] - #[must_use] pub fn out_eof_mode(&mut self) -> OUT_EOF_MODE_W { OUT_EOF_MODE_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to 1 to enable INCR burst transfer for Tx channel 0 reading link descriptor when accessing internal SRAM."] #[inline(always)] - #[must_use] pub fn outdscr_burst_en(&mut self) -> OUTDSCR_BURST_EN_W { OUTDSCR_BURST_EN_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to 1 to enable INCR burst transfer for Tx channel 0 transmitting data when accessing internal SRAM."] #[inline(always)] - #[must_use] pub fn out_data_burst_en(&mut self) -> OUT_DATA_BURST_EN_W { OUT_DATA_BURST_EN_W::new(self, 5) } diff --git a/esp32c2/src/dma/ch/out_conf1.rs b/esp32c2/src/dma/ch/out_conf1.rs index fe205e4062..6e614c91d4 100644 --- a/esp32c2/src/dma/ch/out_conf1.rs +++ b/esp32c2/src/dma/ch/out_conf1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - Set this bit to enable checking the owner attribute of the link descriptor."] #[inline(always)] - #[must_use] pub fn out_check_owner(&mut self) -> OUT_CHECK_OWNER_W { OUT_CHECK_OWNER_W::new(self, 12) } diff --git a/esp32c2/src/dma/ch/out_link.rs b/esp32c2/src/dma/ch/out_link.rs index ae4c38072e..41e763360f 100644 --- a/esp32c2/src/dma/ch/out_link.rs +++ b/esp32c2/src/dma/ch/out_link.rs @@ -62,25 +62,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - This register stores the 20 least significant bits of the first outlink descriptor's address."] #[inline(always)] - #[must_use] pub fn outlink_addr(&mut self) -> OUTLINK_ADDR_W { OUTLINK_ADDR_W::new(self, 0) } #[doc = "Bit 20 - Set this bit to stop dealing with the outlink descriptors."] #[inline(always)] - #[must_use] pub fn outlink_stop(&mut self) -> OUTLINK_STOP_W { OUTLINK_STOP_W::new(self, 20) } #[doc = "Bit 21 - Set this bit to start dealing with the outlink descriptors."] #[inline(always)] - #[must_use] pub fn outlink_start(&mut self) -> OUTLINK_START_W { OUTLINK_START_W::new(self, 21) } #[doc = "Bit 22 - Set this bit to restart a new outlink from the last address."] #[inline(always)] - #[must_use] pub fn outlink_restart(&mut self) -> OUTLINK_RESTART_W { OUTLINK_RESTART_W::new(self, 22) } diff --git a/esp32c2/src/dma/ch/out_peri_sel.rs b/esp32c2/src/dma/ch/out_peri_sel.rs index 57880a2b94..c9cc8a165f 100644 --- a/esp32c2/src/dma/ch/out_peri_sel.rs +++ b/esp32c2/src/dma/ch/out_peri_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - This register is used to select peripheral for Tx channel 0. 0:SPI2. 1: reserved. 2: UHCI0. 3: I2S0. 4: reserved. 5: reserved. 6: AES. 7: SHA. 8: ADC_DAC."] #[inline(always)] - #[must_use] pub fn peri_out_sel(&mut self) -> PERI_OUT_SEL_W { PERI_OUT_SEL_W::new(self, 0) } diff --git a/esp32c2/src/dma/ch/out_pri.rs b/esp32c2/src/dma/ch/out_pri.rs index 16730c3120..58fdfa4160 100644 --- a/esp32c2/src/dma/ch/out_pri.rs +++ b/esp32c2/src/dma/ch/out_pri.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - The priority of Tx channel 0. The larger of the value, the higher of the priority."] #[inline(always)] - #[must_use] pub fn tx_pri(&mut self) -> TX_PRI_W { TX_PRI_W::new(self, 0) } diff --git a/esp32c2/src/dma/ch/out_push.rs b/esp32c2/src/dma/ch/out_push.rs index ae836f3b38..f649481504 100644 --- a/esp32c2/src/dma/ch/out_push.rs +++ b/esp32c2/src/dma/ch/out_push.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register stores the data that need to be pushed into DMA FIFO."] #[inline(always)] - #[must_use] pub fn outfifo_wdata(&mut self) -> OUTFIFO_WDATA_W { OUTFIFO_WDATA_W::new(self, 0) } #[doc = "Bit 9 - Set this bit to push data into DMA FIFO."] #[inline(always)] - #[must_use] pub fn outfifo_push(&mut self) -> OUTFIFO_PUSH_W { OUTFIFO_PUSH_W::new(self, 9) } diff --git a/esp32c2/src/dma/date.rs b/esp32c2/src/dma/date.rs index 116043ed2c..543315afc9 100644 --- a/esp32c2/src/dma/date.rs +++ b/esp32c2/src/dma/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - register version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c2/src/dma/int_ch/clr.rs b/esp32c2/src/dma/int_ch/clr.rs index c5ab71e33f..dde1794b47 100644 --- a/esp32c2/src/dma/int_ch/clr.rs +++ b/esp32c2/src/dma/int_ch/clr.rs @@ -35,79 +35,66 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the IN_DONE_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_done(&mut self) -> IN_DONE_W { IN_DONE_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the IN_SUC_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_suc_eof(&mut self) -> IN_SUC_EOF_W { IN_SUC_EOF_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the IN_ERR_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_err_eof(&mut self) -> IN_ERR_EOF_W { IN_ERR_EOF_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the OUT_DONE_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_done(&mut self) -> OUT_DONE_W { OUT_DONE_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear the OUT_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the IN_DSCR_ERR_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_err(&mut self) -> IN_DSCR_ERR_W { IN_DSCR_ERR_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the OUT_DSCR_ERR_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_dscr_err(&mut self) -> OUT_DSCR_ERR_W { OUT_DSCR_ERR_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the IN_DSCR_EMPTY_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_empty(&mut self) -> IN_DSCR_EMPTY_W { IN_DSCR_EMPTY_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the OUT_TOTAL_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_total_eof(&mut self) -> OUT_TOTAL_EOF_W { OUT_TOTAL_EOF_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear the INFIFO_OVF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_ovf(&mut self) -> INFIFO_OVF_W { INFIFO_OVF_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to clear the INFIFO_UDF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_udf(&mut self) -> INFIFO_UDF_W { INFIFO_UDF_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear the OUTFIFO_OVF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_ovf(&mut self) -> OUTFIFO_OVF_W { OUTFIFO_OVF_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to clear the OUTFIFO_UDF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_udf(&mut self) -> OUTFIFO_UDF_W { OUTFIFO_UDF_W::new(self, 12) } diff --git a/esp32c2/src/dma/int_ch/ena.rs b/esp32c2/src/dma/int_ch/ena.rs index cab251dc67..ddda120cc1 100644 --- a/esp32c2/src/dma/int_ch/ena.rs +++ b/esp32c2/src/dma/int_ch/ena.rs @@ -144,79 +144,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for the IN_DONE_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_done(&mut self) -> IN_DONE_W { IN_DONE_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the IN_SUC_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_suc_eof(&mut self) -> IN_SUC_EOF_W { IN_SUC_EOF_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the IN_ERR_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_err_eof(&mut self) -> IN_ERR_EOF_W { IN_ERR_EOF_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the OUT_DONE_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_done(&mut self) -> OUT_DONE_W { OUT_DONE_W::new(self, 3) } #[doc = "Bit 4 - The interrupt enable bit for the OUT_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 4) } #[doc = "Bit 5 - The interrupt enable bit for the IN_DSCR_ERR_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_err(&mut self) -> IN_DSCR_ERR_W { IN_DSCR_ERR_W::new(self, 5) } #[doc = "Bit 6 - The interrupt enable bit for the OUT_DSCR_ERR_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_dscr_err(&mut self) -> OUT_DSCR_ERR_W { OUT_DSCR_ERR_W::new(self, 6) } #[doc = "Bit 7 - The interrupt enable bit for the IN_DSCR_EMPTY_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_empty(&mut self) -> IN_DSCR_EMPTY_W { IN_DSCR_EMPTY_W::new(self, 7) } #[doc = "Bit 8 - The interrupt enable bit for the OUT_TOTAL_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_total_eof(&mut self) -> OUT_TOTAL_EOF_W { OUT_TOTAL_EOF_W::new(self, 8) } #[doc = "Bit 9 - The interrupt enable bit for the INFIFO_OVF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_ovf(&mut self) -> INFIFO_OVF_W { INFIFO_OVF_W::new(self, 9) } #[doc = "Bit 10 - The interrupt enable bit for the INFIFO_UDF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_udf(&mut self) -> INFIFO_UDF_W { INFIFO_UDF_W::new(self, 10) } #[doc = "Bit 11 - The interrupt enable bit for the OUTFIFO_OVF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_ovf(&mut self) -> OUTFIFO_OVF_W { OUTFIFO_OVF_W::new(self, 11) } #[doc = "Bit 12 - The interrupt enable bit for the OUTFIFO_UDF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_udf(&mut self) -> OUTFIFO_UDF_W { OUTFIFO_UDF_W::new(self, 12) } diff --git a/esp32c2/src/dma/int_ch/raw.rs b/esp32c2/src/dma/int_ch/raw.rs index 3b26dde62c..a3f0a6b00b 100644 --- a/esp32c2/src/dma/int_ch/raw.rs +++ b/esp32c2/src/dma/int_ch/raw.rs @@ -144,79 +144,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw interrupt bit turns to high level when the last data pointed by one inlink descriptor has been received for Rx channel 0."] #[inline(always)] - #[must_use] pub fn in_done(&mut self) -> IN_DONE_W { IN_DONE_W::new(self, 0) } #[doc = "Bit 1 - The raw interrupt bit turns to high level when the last data pointed by one inlink descriptor has been received for Rx channel 0. For UHCI0, the raw interrupt bit turns to high level when the last data pointed by one inlink descriptor has been received and no data error is detected for Rx channel 0."] #[inline(always)] - #[must_use] pub fn in_suc_eof(&mut self) -> IN_SUC_EOF_W { IN_SUC_EOF_W::new(self, 1) } #[doc = "Bit 2 - The raw interrupt bit turns to high level when data error is detected only in the case that the peripheral is UHCI0 for Rx channel 0. For other peripherals, this raw interrupt is reserved."] #[inline(always)] - #[must_use] pub fn in_err_eof(&mut self) -> IN_ERR_EOF_W { IN_ERR_EOF_W::new(self, 2) } #[doc = "Bit 3 - The raw interrupt bit turns to high level when the last data pointed by one outlink descriptor has been transmitted to peripherals for Tx channel 0."] #[inline(always)] - #[must_use] pub fn out_done(&mut self) -> OUT_DONE_W { OUT_DONE_W::new(self, 3) } #[doc = "Bit 4 - The raw interrupt bit turns to high level when the last data pointed by one outlink descriptor has been read from memory for Tx channel 0."] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 4) } #[doc = "Bit 5 - The raw interrupt bit turns to high level when detecting inlink descriptor error, including owner error, the second and third word error of inlink descriptor for Rx channel 0."] #[inline(always)] - #[must_use] pub fn in_dscr_err(&mut self) -> IN_DSCR_ERR_W { IN_DSCR_ERR_W::new(self, 5) } #[doc = "Bit 6 - The raw interrupt bit turns to high level when detecting outlink descriptor error, including owner error, the second and third word error of outlink descriptor for Tx channel 0."] #[inline(always)] - #[must_use] pub fn out_dscr_err(&mut self) -> OUT_DSCR_ERR_W { OUT_DSCR_ERR_W::new(self, 6) } #[doc = "Bit 7 - The raw interrupt bit turns to high level when Rx buffer pointed by inlink is full and receiving data is not completed, but there is no more inlink for Rx channel 0."] #[inline(always)] - #[must_use] pub fn in_dscr_empty(&mut self) -> IN_DSCR_EMPTY_W { IN_DSCR_EMPTY_W::new(self, 7) } #[doc = "Bit 8 - The raw interrupt bit turns to high level when data corresponding a outlink (includes one link descriptor or few link descriptors) is transmitted out for Tx channel 0."] #[inline(always)] - #[must_use] pub fn out_total_eof(&mut self) -> OUT_TOTAL_EOF_W { OUT_TOTAL_EOF_W::new(self, 8) } #[doc = "Bit 9 - This raw interrupt bit turns to high level when level 1 fifo of Rx channel 0 is overflow."] #[inline(always)] - #[must_use] pub fn infifo_ovf(&mut self) -> INFIFO_OVF_W { INFIFO_OVF_W::new(self, 9) } #[doc = "Bit 10 - This raw interrupt bit turns to high level when level 1 fifo of Rx channel 0 is underflow."] #[inline(always)] - #[must_use] pub fn infifo_udf(&mut self) -> INFIFO_UDF_W { INFIFO_UDF_W::new(self, 10) } #[doc = "Bit 11 - This raw interrupt bit turns to high level when level 1 fifo of Tx channel 0 is overflow."] #[inline(always)] - #[must_use] pub fn outfifo_ovf(&mut self) -> OUTFIFO_OVF_W { OUTFIFO_OVF_W::new(self, 11) } #[doc = "Bit 12 - This raw interrupt bit turns to high level when level 1 fifo of Tx channel 0 is underflow."] #[inline(always)] - #[must_use] pub fn outfifo_udf(&mut self) -> OUTFIFO_UDF_W { OUTFIFO_UDF_W::new(self, 12) } diff --git a/esp32c2/src/dma/misc_conf.rs b/esp32c2/src/dma/misc_conf.rs index 47055d5ab6..6ddd4b0954 100644 --- a/esp32c2/src/dma/misc_conf.rs +++ b/esp32c2/src/dma/misc_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit, then clear this bit to reset the internal ahb FSM."] #[inline(always)] - #[must_use] pub fn ahbm_rst_inter(&mut self) -> AHBM_RST_INTER_W { AHBM_RST_INTER_W::new(self, 0) } #[doc = "Bit 2 - Set this bit to disable priority arbitration function."] #[inline(always)] - #[must_use] pub fn arb_pri_dis(&mut self) -> ARB_PRI_DIS_W { ARB_PRI_DIS_W::new(self, 2) } #[doc = "Bit 3 - reg_clk_en"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 3) } diff --git a/esp32c2/src/ecc/mult_conf.rs b/esp32c2/src/ecc/mult_conf.rs index 29d39e7c9d..6d087b1835 100644 --- a/esp32c2/src/ecc/mult_conf.rs +++ b/esp32c2/src/ecc/mult_conf.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to reset receiver"] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to reset Rx AFIFO"] #[inline(always)] - #[must_use] pub fn reset(&mut self) -> RESET_W { RESET_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to start receiving data"] #[inline(always)] - #[must_use] pub fn key_length(&mut self) -> KEY_LENGTH_W { KEY_LENGTH_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to enable slave receiver mode"] #[inline(always)] - #[must_use] pub fn security_mode(&mut self) -> SECURITY_MODE_W { SECURITY_MODE_W::new(self, 3) } #[doc = "Bit 4 - clk gate"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 4) } #[doc = "Bits 5:7 - Reserved"] #[inline(always)] - #[must_use] pub fn work_mode(&mut self) -> WORK_MODE_W { WORK_MODE_W::new(self, 5) } diff --git a/esp32c2/src/ecc/mult_date.rs b/esp32c2/src/ecc/mult_date.rs index 077ad5802a..8e43f8b4bc 100644 --- a/esp32c2/src/ecc/mult_date.rs +++ b/esp32c2/src/ecc/mult_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - ECC mult version control register"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c2/src/ecc/mult_int_clr.rs b/esp32c2/src/ecc/mult_int_clr.rs index e06b17f6ce..d1b6d77054 100644 --- a/esp32c2/src/ecc/mult_int_clr.rs +++ b/esp32c2/src/ecc/mult_int_clr.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the i2s_rx_done_int interrupt"] #[inline(always)] - #[must_use] pub fn calc_done(&mut self) -> CALC_DONE_W { CALC_DONE_W::new(self, 0) } diff --git a/esp32c2/src/ecc/mult_int_ena.rs b/esp32c2/src/ecc/mult_int_ena.rs index 57711aef9c..c0fecb9701 100644 --- a/esp32c2/src/ecc/mult_int_ena.rs +++ b/esp32c2/src/ecc/mult_int_ena.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for the i2s_rx_done_int interrupt"] #[inline(always)] - #[must_use] pub fn calc_done(&mut self) -> CALC_DONE_W { CALC_DONE_W::new(self, 0) } diff --git a/esp32c2/src/efuse/clk.rs b/esp32c2/src/efuse/clk.rs index 54fe331005..f9d86ac18a 100644 --- a/esp32c2/src/efuse/clk.rs +++ b/esp32c2/src/efuse/clk.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to force eFuse SRAM into power-saving mode."] #[inline(always)] - #[must_use] pub fn efuse_mem_force_pd(&mut self) -> EFUSE_MEM_FORCE_PD_W { EFUSE_MEM_FORCE_PD_W::new(self, 0) } #[doc = "Bit 1 - Set this bit and force to activate clock signal of eFuse SRAM."] #[inline(always)] - #[must_use] pub fn mem_clk_force_on(&mut self) -> MEM_CLK_FORCE_ON_W { MEM_CLK_FORCE_ON_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to force eFuse SRAM into working mode."] #[inline(always)] - #[must_use] pub fn efuse_mem_force_pu(&mut self) -> EFUSE_MEM_FORCE_PU_W { EFUSE_MEM_FORCE_PU_W::new(self, 2) } #[doc = "Bit 16 - Set this bit and force to enable clock signal of eFuse memory."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 16) } diff --git a/esp32c2/src/efuse/cmd.rs b/esp32c2/src/efuse/cmd.rs index feb717ab9b..44b86b45e7 100644 --- a/esp32c2/src/efuse/cmd.rs +++ b/esp32c2/src/efuse/cmd.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to send read command."] #[inline(always)] - #[must_use] pub fn read_cmd(&mut self) -> READ_CMD_W { READ_CMD_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to send programming command."] #[inline(always)] - #[must_use] pub fn pgm_cmd(&mut self) -> PGM_CMD_W { PGM_CMD_W::new(self, 1) } #[doc = "Bits 2:3 - The serial number of the block to be programmed. Value 0-3 corresponds to block number 0-3, respectively."] #[inline(always)] - #[must_use] pub fn blk_num(&mut self) -> BLK_NUM_W { BLK_NUM_W::new(self, 2) } diff --git a/esp32c2/src/efuse/conf.rs b/esp32c2/src/efuse/conf.rs index b5fdc4c1ad..68c5c3c6e9 100644 --- a/esp32c2/src/efuse/conf.rs +++ b/esp32c2/src/efuse/conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - 0x5A5A: Operate programming command 0x5AA5: Operate read command."] #[inline(always)] - #[must_use] pub fn op_code(&mut self) -> OP_CODE_W { OP_CODE_W::new(self, 0) } diff --git a/esp32c2/src/efuse/dac_conf.rs b/esp32c2/src/efuse/dac_conf.rs index 386dc3b935..dbc17b47fc 100644 --- a/esp32c2/src/efuse/dac_conf.rs +++ b/esp32c2/src/efuse/dac_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Controls the division factor of the rising clock of the programming voltage."] #[inline(always)] - #[must_use] pub fn dac_clk_div(&mut self) -> DAC_CLK_DIV_W { DAC_CLK_DIV_W::new(self, 0) } #[doc = "Bit 8 - Don't care."] #[inline(always)] - #[must_use] pub fn dac_clk_pad_sel(&mut self) -> DAC_CLK_PAD_SEL_W { DAC_CLK_PAD_SEL_W::new(self, 8) } #[doc = "Bits 9:16 - Controls the rising period of the programming voltage."] #[inline(always)] - #[must_use] pub fn dac_num(&mut self) -> DAC_NUM_W { DAC_NUM_W::new(self, 9) } #[doc = "Bit 17 - Reduces the power supply of the programming voltage."] #[inline(always)] - #[must_use] pub fn oe_clr(&mut self) -> OE_CLR_W { OE_CLR_W::new(self, 17) } diff --git a/esp32c2/src/efuse/date.rs b/esp32c2/src/efuse/date.rs index 0271e56ae6..760c1a416d 100644 --- a/esp32c2/src/efuse/date.rs +++ b/esp32c2/src/efuse/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Stores eFuse version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c2/src/efuse/int_clr.rs b/esp32c2/src/efuse/int_clr.rs index 670d58f7e5..230f4356f1 100644 --- a/esp32c2/src/efuse/int_clr.rs +++ b/esp32c2/src/efuse/int_clr.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The clear signal for read_done interrupt."] #[inline(always)] - #[must_use] pub fn read_done(&mut self) -> READ_DONE_W { READ_DONE_W::new(self, 0) } #[doc = "Bit 1 - The clear signal for pgm_done interrupt."] #[inline(always)] - #[must_use] pub fn pgm_done(&mut self) -> PGM_DONE_W { PGM_DONE_W::new(self, 1) } diff --git a/esp32c2/src/efuse/int_ena.rs b/esp32c2/src/efuse/int_ena.rs index 424c4f079d..3d4c9086ee 100644 --- a/esp32c2/src/efuse/int_ena.rs +++ b/esp32c2/src/efuse/int_ena.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The enable signal for read_done interrupt."] #[inline(always)] - #[must_use] pub fn read_done(&mut self) -> READ_DONE_W { READ_DONE_W::new(self, 0) } #[doc = "Bit 1 - The enable signal for pgm_done interrupt."] #[inline(always)] - #[must_use] pub fn pgm_done(&mut self) -> PGM_DONE_W { PGM_DONE_W::new(self, 1) } diff --git a/esp32c2/src/efuse/int_raw.rs b/esp32c2/src/efuse/int_raw.rs index 6bfa5bd172..a187c9e496 100644 --- a/esp32c2/src/efuse/int_raw.rs +++ b/esp32c2/src/efuse/int_raw.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw bit signal for read_done interrupt."] #[inline(always)] - #[must_use] pub fn read_done(&mut self) -> READ_DONE_W { READ_DONE_W::new(self, 0) } #[doc = "Bit 1 - The raw bit signal for pgm_done interrupt."] #[inline(always)] - #[must_use] pub fn pgm_done(&mut self) -> PGM_DONE_W { PGM_DONE_W::new(self, 1) } diff --git a/esp32c2/src/efuse/pgm_check_value0.rs b/esp32c2/src/efuse/pgm_check_value0.rs index bed5588bf9..165a5a55b2 100644 --- a/esp32c2/src/efuse/pgm_check_value0.rs +++ b/esp32c2/src/efuse/pgm_check_value0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The content of the 0th 32-bit RS code to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_rs_data_0(&mut self) -> PGM_RS_DATA_0_W { PGM_RS_DATA_0_W::new(self, 0) } diff --git a/esp32c2/src/efuse/pgm_check_value1.rs b/esp32c2/src/efuse/pgm_check_value1.rs index 585f92eb55..0d04132207 100644 --- a/esp32c2/src/efuse/pgm_check_value1.rs +++ b/esp32c2/src/efuse/pgm_check_value1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The content of the 1st 32-bit RS code to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_rs_data_1(&mut self) -> PGM_RS_DATA_1_W { PGM_RS_DATA_1_W::new(self, 0) } diff --git a/esp32c2/src/efuse/pgm_check_value2.rs b/esp32c2/src/efuse/pgm_check_value2.rs index d3c0a50f20..bb85d3697c 100644 --- a/esp32c2/src/efuse/pgm_check_value2.rs +++ b/esp32c2/src/efuse/pgm_check_value2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The content of the 2nd 32-bit RS code to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_rs_data_2(&mut self) -> PGM_RS_DATA_2_W { PGM_RS_DATA_2_W::new(self, 0) } diff --git a/esp32c2/src/efuse/pgm_data0.rs b/esp32c2/src/efuse/pgm_data0.rs index 2676c1f6a5..9691777d12 100644 --- a/esp32c2/src/efuse/pgm_data0.rs +++ b/esp32c2/src/efuse/pgm_data0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The content of the 0th 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_0(&mut self) -> PGM_DATA_0_W { PGM_DATA_0_W::new(self, 0) } diff --git a/esp32c2/src/efuse/pgm_data1.rs b/esp32c2/src/efuse/pgm_data1.rs index b3802bb980..4ce4c4339d 100644 --- a/esp32c2/src/efuse/pgm_data1.rs +++ b/esp32c2/src/efuse/pgm_data1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The content of the 1st 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_1(&mut self) -> PGM_DATA_1_W { PGM_DATA_1_W::new(self, 0) } diff --git a/esp32c2/src/efuse/pgm_data2.rs b/esp32c2/src/efuse/pgm_data2.rs index fe05569e67..49e46b4e7e 100644 --- a/esp32c2/src/efuse/pgm_data2.rs +++ b/esp32c2/src/efuse/pgm_data2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The content of the 2nd 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_2(&mut self) -> PGM_DATA_2_W { PGM_DATA_2_W::new(self, 0) } diff --git a/esp32c2/src/efuse/pgm_data3.rs b/esp32c2/src/efuse/pgm_data3.rs index 721be6b07a..53270d76fc 100644 --- a/esp32c2/src/efuse/pgm_data3.rs +++ b/esp32c2/src/efuse/pgm_data3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The content of the 3rd 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_3(&mut self) -> PGM_DATA_3_W { PGM_DATA_3_W::new(self, 0) } diff --git a/esp32c2/src/efuse/pgm_data4.rs b/esp32c2/src/efuse/pgm_data4.rs index 84f78f4284..db5f011b1c 100644 --- a/esp32c2/src/efuse/pgm_data4.rs +++ b/esp32c2/src/efuse/pgm_data4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The content of the 4th 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_4(&mut self) -> PGM_DATA_4_W { PGM_DATA_4_W::new(self, 0) } diff --git a/esp32c2/src/efuse/pgm_data5.rs b/esp32c2/src/efuse/pgm_data5.rs index ce70e5d5d6..8a7df71c5e 100644 --- a/esp32c2/src/efuse/pgm_data5.rs +++ b/esp32c2/src/efuse/pgm_data5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The content of the 5th 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_5(&mut self) -> PGM_DATA_5_W { PGM_DATA_5_W::new(self, 0) } diff --git a/esp32c2/src/efuse/pgm_data6.rs b/esp32c2/src/efuse/pgm_data6.rs index 0f8ed00121..e1d3392919 100644 --- a/esp32c2/src/efuse/pgm_data6.rs +++ b/esp32c2/src/efuse/pgm_data6.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The content of the 6th 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_6(&mut self) -> PGM_DATA_6_W { PGM_DATA_6_W::new(self, 0) } diff --git a/esp32c2/src/efuse/pgm_data7.rs b/esp32c2/src/efuse/pgm_data7.rs index 0c5227677f..4294c78bcd 100644 --- a/esp32c2/src/efuse/pgm_data7.rs +++ b/esp32c2/src/efuse/pgm_data7.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The content of the 7th 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_7(&mut self) -> PGM_DATA_7_W { PGM_DATA_7_W::new(self, 0) } diff --git a/esp32c2/src/efuse/rd_tim_conf.rs b/esp32c2/src/efuse/rd_tim_conf.rs index 0dcfe08b0f..1272fb333c 100644 --- a/esp32c2/src/efuse/rd_tim_conf.rs +++ b/esp32c2/src/efuse/rd_tim_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Configures hold time for efuse read."] #[inline(always)] - #[must_use] pub fn thr_a(&mut self) -> THR_A_W { THR_A_W::new(self, 0) } #[doc = "Bits 8:15 - Configures pulse time for efuse read."] #[inline(always)] - #[must_use] pub fn trd(&mut self) -> TRD_W { TRD_W::new(self, 8) } #[doc = "Bits 16:23 - Configures setup time for efuse read."] #[inline(always)] - #[must_use] pub fn tsur_a(&mut self) -> TSUR_A_W { TSUR_A_W::new(self, 16) } #[doc = "Bits 24:31 - Configures the initial read time of eFuse."] #[inline(always)] - #[must_use] pub fn read_init_num(&mut self) -> READ_INIT_NUM_W { READ_INIT_NUM_W::new(self, 24) } diff --git a/esp32c2/src/efuse/wr_tim_conf0.rs b/esp32c2/src/efuse/wr_tim_conf0.rs index 6a5a533967..57920de106 100644 --- a/esp32c2/src/efuse/wr_tim_conf0.rs +++ b/esp32c2/src/efuse/wr_tim_conf0.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Configures hold time for efuse program."] #[inline(always)] - #[must_use] pub fn thp_a(&mut self) -> THP_A_W { THP_A_W::new(self, 0) } #[doc = "Bits 8:15 - Configures pulse time for burning '0' bit."] #[inline(always)] - #[must_use] pub fn tpgm_inactive(&mut self) -> TPGM_INACTIVE_W { TPGM_INACTIVE_W::new(self, 8) } #[doc = "Bits 16:31 - Configures pulse time for burning '1' bit."] #[inline(always)] - #[must_use] pub fn tpgm(&mut self) -> TPGM_W { TPGM_W::new(self, 16) } diff --git a/esp32c2/src/efuse/wr_tim_conf1.rs b/esp32c2/src/efuse/wr_tim_conf1.rs index e7e069517a..97d5995396 100644 --- a/esp32c2/src/efuse/wr_tim_conf1.rs +++ b/esp32c2/src/efuse/wr_tim_conf1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Configures setup time for efuse program."] #[inline(always)] - #[must_use] pub fn tsup_a(&mut self) -> TSUP_A_W { TSUP_A_W::new(self, 0) } #[doc = "Bits 8:23 - Configures the power up time for VDDQ."] #[inline(always)] - #[must_use] pub fn pwr_on_num(&mut self) -> PWR_ON_NUM_W { PWR_ON_NUM_W::new(self, 8) } diff --git a/esp32c2/src/efuse/wr_tim_conf2.rs b/esp32c2/src/efuse/wr_tim_conf2.rs index 5a9d903776..e9b9424ef6 100644 --- a/esp32c2/src/efuse/wr_tim_conf2.rs +++ b/esp32c2/src/efuse/wr_tim_conf2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Configures the power outage time for VDDQ."] #[inline(always)] - #[must_use] pub fn pwr_off_num(&mut self) -> PWR_OFF_NUM_W { PWR_OFF_NUM_W::new(self, 0) } diff --git a/esp32c2/src/extmem/cache_acs_cnt_clr.rs b/esp32c2/src/extmem/cache_acs_cnt_clr.rs index f474026453..06a414858d 100644 --- a/esp32c2/src/extmem/cache_acs_cnt_clr.rs +++ b/esp32c2/src/extmem/cache_acs_cnt_clr.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The bit is used to clear ibus counter."] #[inline(always)] - #[must_use] pub fn ibus_acs_cnt_clr(&mut self) -> IBUS_ACS_CNT_CLR_W { IBUS_ACS_CNT_CLR_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to clear dbus counter."] #[inline(always)] - #[must_use] pub fn dbus_acs_cnt_clr(&mut self) -> DBUS_ACS_CNT_CLR_W { DBUS_ACS_CNT_CLR_W::new(self, 1) } diff --git a/esp32c2/src/extmem/cache_conf_misc.rs b/esp32c2/src/extmem/cache_conf_misc.rs index a66e5f06f4..396ab1e067 100644 --- a/esp32c2/src/extmem/cache_conf_misc.rs +++ b/esp32c2/src/extmem/cache_conf_misc.rs @@ -60,7 +60,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to disable checking mmu entry fault by preload operation."] #[inline(always)] - #[must_use] pub fn cache_ignore_preload_mmu_entry_fault( &mut self, ) -> CACHE_IGNORE_PRELOAD_MMU_ENTRY_FAULT_W { @@ -68,7 +67,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to disable checking mmu entry fault by sync operation."] #[inline(always)] - #[must_use] pub fn cache_ignore_sync_mmu_entry_fault( &mut self, ) -> CACHE_IGNORE_SYNC_MMU_ENTRY_FAULT_W { @@ -76,13 +74,11 @@ impl W { } #[doc = "Bit 2 - The bit is used to enable cache trace function."] #[inline(always)] - #[must_use] pub fn cache_trace_ena(&mut self) -> CACHE_TRACE_ENA_W { CACHE_TRACE_ENA_W::new(self, 2) } #[doc = "Bits 3:4 - This bit is used to choose mmu page size. 2:64KB. 1. 32KB. 0: 16KB"] #[inline(always)] - #[must_use] pub fn cache_mmu_page_size(&mut self) -> CACHE_MMU_PAGE_SIZE_W { CACHE_MMU_PAGE_SIZE_W::new(self, 3) } diff --git a/esp32c2/src/extmem/cache_encrypt_decrypt_clk_force_on.rs b/esp32c2/src/extmem/cache_encrypt_decrypt_clk_force_on.rs index 206bf19120..21492345ee 100644 --- a/esp32c2/src/extmem/cache_encrypt_decrypt_clk_force_on.rs +++ b/esp32c2/src/extmem/cache_encrypt_decrypt_clk_force_on.rs @@ -47,7 +47,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to close clock gating of manual crypt clock. 1: close gating, 0: open clock gating."] #[inline(always)] - #[must_use] pub fn clk_force_on_manual_crypt( &mut self, ) -> CLK_FORCE_ON_MANUAL_CRYPT_W { @@ -55,7 +54,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to close clock gating of automatic crypt clock. 1: close gating, 0: open clock gating."] #[inline(always)] - #[must_use] pub fn clk_force_on_auto_crypt( &mut self, ) -> CLK_FORCE_ON_AUTO_CRYPT_W { @@ -63,7 +61,6 @@ impl W { } #[doc = "Bit 2 - The bit is used to close clock gating of external memory encrypt and decrypt clock. 1: close gating, 0: open clock gating."] #[inline(always)] - #[must_use] pub fn clk_force_on_crypt( &mut self, ) -> CLK_FORCE_ON_CRYPT_W { diff --git a/esp32c2/src/extmem/cache_encrypt_decrypt_record_disable.rs b/esp32c2/src/extmem/cache_encrypt_decrypt_record_disable.rs index db97daebf7..44172fd361 100644 --- a/esp32c2/src/extmem/cache_encrypt_decrypt_record_disable.rs +++ b/esp32c2/src/extmem/cache_encrypt_decrypt_record_disable.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved."] #[inline(always)] - #[must_use] pub fn record_disable_db_encrypt( &mut self, ) -> RECORD_DISABLE_DB_ENCRYPT_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bit 1 - Reserved."] #[inline(always)] - #[must_use] pub fn record_disable_g0cb_decrypt( &mut self, ) -> RECORD_DISABLE_G0CB_DECRYPT_W { diff --git a/esp32c2/src/extmem/cache_ilg_int_clr.rs b/esp32c2/src/extmem/cache_ilg_int_clr.rs index d762833793..961c0d6c5b 100644 --- a/esp32c2/src/extmem/cache_ilg_int_clr.rs +++ b/esp32c2/src/extmem/cache_ilg_int_clr.rs @@ -19,31 +19,26 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The bit is used to clear interrupt by sync configurations fault."] #[inline(always)] - #[must_use] pub fn icache_sync_op_fault(&mut self) -> ICACHE_SYNC_OP_FAULT_W { ICACHE_SYNC_OP_FAULT_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to clear interrupt by preload configurations fault."] #[inline(always)] - #[must_use] pub fn icache_preload_op_fault(&mut self) -> ICACHE_PRELOAD_OP_FAULT_W { ICACHE_PRELOAD_OP_FAULT_W::new(self, 1) } #[doc = "Bit 5 - The bit is used to clear interrupt by mmu entry fault."] #[inline(always)] - #[must_use] pub fn mmu_entry_fault(&mut self) -> MMU_ENTRY_FAULT_W { MMU_ENTRY_FAULT_W::new(self, 5) } #[doc = "Bit 7 - The bit is used to clear interrupt by ibus counter overflow."] #[inline(always)] - #[must_use] pub fn ibus_cnt_ovf(&mut self) -> IBUS_CNT_OVF_W { IBUS_CNT_OVF_W::new(self, 7) } #[doc = "Bit 8 - The bit is used to clear interrupt by dbus counter overflow."] #[inline(always)] - #[must_use] pub fn dbus_cnt_ovf(&mut self) -> DBUS_CNT_OVF_W { DBUS_CNT_OVF_W::new(self, 8) } diff --git a/esp32c2/src/extmem/cache_ilg_int_ena.rs b/esp32c2/src/extmem/cache_ilg_int_ena.rs index 1f37b0826e..92d2d84030 100644 --- a/esp32c2/src/extmem/cache_ilg_int_ena.rs +++ b/esp32c2/src/extmem/cache_ilg_int_ena.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable interrupt by sync configurations fault."] #[inline(always)] - #[must_use] pub fn icache_sync_op_fault(&mut self) -> ICACHE_SYNC_OP_FAULT_W { ICACHE_SYNC_OP_FAULT_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to enable interrupt by preload configurations fault."] #[inline(always)] - #[must_use] pub fn icache_preload_op_fault(&mut self) -> ICACHE_PRELOAD_OP_FAULT_W { ICACHE_PRELOAD_OP_FAULT_W::new(self, 1) } #[doc = "Bit 5 - The bit is used to enable interrupt by mmu entry fault."] #[inline(always)] - #[must_use] pub fn mmu_entry_fault(&mut self) -> MMU_ENTRY_FAULT_W { MMU_ENTRY_FAULT_W::new(self, 5) } #[doc = "Bit 7 - The bit is used to enable interrupt by ibus counter overflow."] #[inline(always)] - #[must_use] pub fn ibus_cnt_ovf(&mut self) -> IBUS_CNT_OVF_W { IBUS_CNT_OVF_W::new(self, 7) } #[doc = "Bit 8 - The bit is used to enable interrupt by dbus counter overflow."] #[inline(always)] - #[must_use] pub fn dbus_cnt_ovf(&mut self) -> DBUS_CNT_OVF_W { DBUS_CNT_OVF_W::new(self, 8) } diff --git a/esp32c2/src/extmem/cache_mmu_owner.rs b/esp32c2/src/extmem/cache_mmu_owner.rs index b6270e013b..1727553138 100644 --- a/esp32c2/src/extmem/cache_mmu_owner.rs +++ b/esp32c2/src/extmem/cache_mmu_owner.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - The bits are used to specify the owner of MMU.bit0/bit2: ibus, bit1/bit3: dbus"] #[inline(always)] - #[must_use] pub fn cache_mmu_owner(&mut self) -> CACHE_MMU_OWNER_W { CACHE_MMU_OWNER_W::new(self, 0) } diff --git a/esp32c2/src/extmem/cache_mmu_power_ctrl.rs b/esp32c2/src/extmem/cache_mmu_power_ctrl.rs index 2ee38b5aa3..369898856b 100644 --- a/esp32c2/src/extmem/cache_mmu_power_ctrl.rs +++ b/esp32c2/src/extmem/cache_mmu_power_ctrl.rs @@ -44,7 +44,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable clock gating to save power when access mmu memory, 0: enable, 1: disable"] #[inline(always)] - #[must_use] pub fn cache_mmu_mem_force_on( &mut self, ) -> CACHE_MMU_MEM_FORCE_ON_W { @@ -52,7 +51,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to power mmu memory down, 0: follow_rtc_lslp_pd, 1: power down"] #[inline(always)] - #[must_use] pub fn cache_mmu_mem_force_pd( &mut self, ) -> CACHE_MMU_MEM_FORCE_PD_W { @@ -60,7 +58,6 @@ impl W { } #[doc = "Bit 2 - The bit is used to power mmu memory down, 0: follow_rtc_lslp_pd, 1: power up"] #[inline(always)] - #[must_use] pub fn cache_mmu_mem_force_pu( &mut self, ) -> CACHE_MMU_MEM_FORCE_PU_W { diff --git a/esp32c2/src/extmem/cache_preload_int_ctrl.rs b/esp32c2/src/extmem/cache_preload_int_ctrl.rs index ac6e1ec344..5ae4b27236 100644 --- a/esp32c2/src/extmem/cache_preload_int_ctrl.rs +++ b/esp32c2/src/extmem/cache_preload_int_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - The bit is used to enable the interrupt by icache pre-load done."] #[inline(always)] - #[must_use] pub fn ena(&mut self) -> ENA_W { ENA_W::new(self, 1) } #[doc = "Bit 2 - The bit is used to clear the interrupt by icache pre-load done."] #[inline(always)] - #[must_use] pub fn clr(&mut self) -> CLR_W { CLR_W::new(self, 2) } diff --git a/esp32c2/src/extmem/cache_request.rs b/esp32c2/src/extmem/cache_request.rs index 5c421c2f97..5ef39f00b5 100644 --- a/esp32c2/src/extmem/cache_request.rs +++ b/esp32c2/src/extmem/cache_request.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to disable request recording which could cause performance issue"] #[inline(always)] - #[must_use] pub fn bypass(&mut self) -> BYPASS_W { BYPASS_W::new(self, 0) } diff --git a/esp32c2/src/extmem/cache_sync_int_ctrl.rs b/esp32c2/src/extmem/cache_sync_int_ctrl.rs index 0951a07648..91618f51d5 100644 --- a/esp32c2/src/extmem/cache_sync_int_ctrl.rs +++ b/esp32c2/src/extmem/cache_sync_int_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - The bit is used to enable the interrupt by icache sync done."] #[inline(always)] - #[must_use] pub fn ena(&mut self) -> ENA_W { ENA_W::new(self, 1) } #[doc = "Bit 2 - The bit is used to clear the interrupt by icache sync done."] #[inline(always)] - #[must_use] pub fn clr(&mut self) -> CLR_W { CLR_W::new(self, 2) } diff --git a/esp32c2/src/extmem/cache_wrap_around_ctrl.rs b/esp32c2/src/extmem/cache_wrap_around_ctrl.rs index e4ad7fed65..61b2c96ed7 100644 --- a/esp32c2/src/extmem/cache_wrap_around_ctrl.rs +++ b/esp32c2/src/extmem/cache_wrap_around_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable wrap around mode when read data from flash."] #[inline(always)] - #[must_use] pub fn cache_flash_wrap_around( &mut self, ) -> CACHE_FLASH_WRAP_AROUND_W { diff --git a/esp32c2/src/extmem/clock_gate.rs b/esp32c2/src/extmem/clock_gate.rs index 6d315d784a..46b4fd675b 100644 --- a/esp32c2/src/extmem/clock_gate.rs +++ b/esp32c2/src/extmem/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - clock gate enable."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32c2/src/extmem/core0_acs_cache_int_clr.rs b/esp32c2/src/extmem/core0_acs_cache_int_clr.rs index 889f6d85bc..9e14d0aa38 100644 --- a/esp32c2/src/extmem/core0_acs_cache_int_clr.rs +++ b/esp32c2/src/extmem/core0_acs_cache_int_clr.rs @@ -21,7 +21,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The bit is used to clear interrupt by cpu access icache while the corresponding ibus is disabled or icache is disabled which include speculative access."] #[inline(always)] - #[must_use] pub fn core0_ibus_acs_msk_ic( &mut self, ) -> CORE0_IBUS_ACS_MSK_IC_W { @@ -29,19 +28,16 @@ impl W { } #[doc = "Bit 1 - The bit is used to clear interrupt by ibus trying to write icache"] #[inline(always)] - #[must_use] pub fn core0_ibus_wr_ic(&mut self) -> CORE0_IBUS_WR_IC_W { CORE0_IBUS_WR_IC_W::new(self, 1) } #[doc = "Bit 2 - The bit is used to clear interrupt by authentication fail."] #[inline(always)] - #[must_use] pub fn core0_ibus_reject(&mut self) -> CORE0_IBUS_REJECT_W { CORE0_IBUS_REJECT_W::new(self, 2) } #[doc = "Bit 3 - The bit is used to clear interrupt by cpu access icache while the corresponding dbus is disabled or icache is disabled which include speculative access."] #[inline(always)] - #[must_use] pub fn core0_dbus_acs_msk_ic( &mut self, ) -> CORE0_DBUS_ACS_MSK_IC_W { @@ -49,13 +45,11 @@ impl W { } #[doc = "Bit 4 - The bit is used to clear interrupt by authentication fail."] #[inline(always)] - #[must_use] pub fn core0_dbus_reject(&mut self) -> CORE0_DBUS_REJECT_W { CORE0_DBUS_REJECT_W::new(self, 4) } #[doc = "Bit 5 - The bit is used to clear interrupt by dbus trying to write icache"] #[inline(always)] - #[must_use] pub fn core0_dbus_wr_ic(&mut self) -> CORE0_DBUS_WR_IC_W { CORE0_DBUS_WR_IC_W::new(self, 5) } diff --git a/esp32c2/src/extmem/core0_acs_cache_int_ena.rs b/esp32c2/src/extmem/core0_acs_cache_int_ena.rs index 7c06520e98..c0bf303e70 100644 --- a/esp32c2/src/extmem/core0_acs_cache_int_ena.rs +++ b/esp32c2/src/extmem/core0_acs_cache_int_ena.rs @@ -74,7 +74,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable interrupt by cpu access icache while the corresponding ibus is disabled which include speculative access."] #[inline(always)] - #[must_use] pub fn core0_ibus_acs_msk_ic( &mut self, ) -> CORE0_IBUS_ACS_MSK_IC_W { @@ -82,19 +81,16 @@ impl W { } #[doc = "Bit 1 - The bit is used to enable interrupt by ibus trying to write icache"] #[inline(always)] - #[must_use] pub fn core0_ibus_wr_ic(&mut self) -> CORE0_IBUS_WR_IC_W { CORE0_IBUS_WR_IC_W::new(self, 1) } #[doc = "Bit 2 - The bit is used to enable interrupt by authentication fail."] #[inline(always)] - #[must_use] pub fn core0_ibus_reject(&mut self) -> CORE0_IBUS_REJECT_W { CORE0_IBUS_REJECT_W::new(self, 2) } #[doc = "Bit 3 - The bit is used to enable interrupt by cpu access icache while the corresponding dbus is disabled which include speculative access."] #[inline(always)] - #[must_use] pub fn core0_dbus_acs_msk_ic( &mut self, ) -> CORE0_DBUS_ACS_MSK_IC_W { @@ -102,13 +98,11 @@ impl W { } #[doc = "Bit 4 - The bit is used to enable interrupt by authentication fail."] #[inline(always)] - #[must_use] pub fn core0_dbus_reject(&mut self) -> CORE0_DBUS_REJECT_W { CORE0_DBUS_REJECT_W::new(self, 4) } #[doc = "Bit 5 - The bit is used to enable interrupt by dbus trying to write icache"] #[inline(always)] - #[must_use] pub fn core0_dbus_wr_ic(&mut self) -> CORE0_DBUS_WR_IC_W { CORE0_DBUS_WR_IC_W::new(self, 5) } diff --git a/esp32c2/src/extmem/dbus_to_flash_end_vaddr.rs b/esp32c2/src/extmem/dbus_to_flash_end_vaddr.rs index f3d2900389..8a1fef658f 100644 --- a/esp32c2/src/extmem/dbus_to_flash_end_vaddr.rs +++ b/esp32c2/src/extmem/dbus_to_flash_end_vaddr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the end virtual address of dbus to access flash. The register is used to give constraints to dbus access counter."] #[inline(always)] - #[must_use] pub fn dbus_to_flash_end_vaddr( &mut self, ) -> DBUS_TO_FLASH_END_VADDR_W { diff --git a/esp32c2/src/extmem/dbus_to_flash_start_vaddr.rs b/esp32c2/src/extmem/dbus_to_flash_start_vaddr.rs index 1ba595992e..d60ec00e91 100644 --- a/esp32c2/src/extmem/dbus_to_flash_start_vaddr.rs +++ b/esp32c2/src/extmem/dbus_to_flash_start_vaddr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the start virtual address of dbus to access flash. The register is used to give constraints to dbus access counter."] #[inline(always)] - #[must_use] pub fn dbus_to_flash_start_vaddr( &mut self, ) -> DBUS_TO_FLASH_START_VADDR_W { diff --git a/esp32c2/src/extmem/ibus_to_flash_end_vaddr.rs b/esp32c2/src/extmem/ibus_to_flash_end_vaddr.rs index e246deb7c7..0b027ebd39 100644 --- a/esp32c2/src/extmem/ibus_to_flash_end_vaddr.rs +++ b/esp32c2/src/extmem/ibus_to_flash_end_vaddr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the end virtual address of ibus to access flash. The register is used to give constraints to ibus access counter."] #[inline(always)] - #[must_use] pub fn ibus_to_flash_end_vaddr( &mut self, ) -> IBUS_TO_FLASH_END_VADDR_W { diff --git a/esp32c2/src/extmem/ibus_to_flash_start_vaddr.rs b/esp32c2/src/extmem/ibus_to_flash_start_vaddr.rs index 437ab2c134..d7d52d00c8 100644 --- a/esp32c2/src/extmem/ibus_to_flash_start_vaddr.rs +++ b/esp32c2/src/extmem/ibus_to_flash_start_vaddr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the start virtual address of ibus to access flash. The register is used to give constraints to ibus access counter."] #[inline(always)] - #[must_use] pub fn ibus_to_flash_start_vaddr( &mut self, ) -> IBUS_TO_FLASH_START_VADDR_W { diff --git a/esp32c2/src/extmem/icache_atomic_operate_ena.rs b/esp32c2/src/extmem/icache_atomic_operate_ena.rs index 07c7db10c6..54b8460366 100644 --- a/esp32c2/src/extmem/icache_atomic_operate_ena.rs +++ b/esp32c2/src/extmem/icache_atomic_operate_ena.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to activate icache atomic operation protection. In this case, sync/lock operation can not interrupt miss-work. This feature does not work during invalidateAll operation."] #[inline(always)] - #[must_use] pub fn icache_atomic_operate_ena( &mut self, ) -> ICACHE_ATOMIC_OPERATE_ENA_W { diff --git a/esp32c2/src/extmem/icache_ctrl.rs b/esp32c2/src/extmem/icache_ctrl.rs index 9e0822033c..ecf18ec100 100644 --- a/esp32c2/src/extmem/icache_ctrl.rs +++ b/esp32c2/src/extmem/icache_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to activate the data cache. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn icache_enable(&mut self) -> ICACHE_ENABLE_W { ICACHE_ENABLE_W::new(self, 0) } diff --git a/esp32c2/src/extmem/icache_ctrl1.rs b/esp32c2/src/extmem/icache_ctrl1.rs index 590865ab1c..896c8de6ef 100644 --- a/esp32c2/src/extmem/icache_ctrl1.rs +++ b/esp32c2/src/extmem/icache_ctrl1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to disable core0 ibus, 0: enable, 1: disable"] #[inline(always)] - #[must_use] pub fn icache_shut_ibus(&mut self) -> ICACHE_SHUT_IBUS_W { ICACHE_SHUT_IBUS_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to disable core1 ibus, 0: enable, 1: disable"] #[inline(always)] - #[must_use] pub fn icache_shut_dbus(&mut self) -> ICACHE_SHUT_DBUS_W { ICACHE_SHUT_DBUS_W::new(self, 1) } diff --git a/esp32c2/src/extmem/icache_freeze.rs b/esp32c2/src/extmem/icache_freeze.rs index 0e5b532502..4d99e10175 100644 --- a/esp32c2/src/extmem/icache_freeze.rs +++ b/esp32c2/src/extmem/icache_freeze.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable icache freeze mode"] #[inline(always)] - #[must_use] pub fn ena(&mut self) -> ENA_W { ENA_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to configure freeze mode, 0: assert busy if CPU miss 1: assert hit if CPU miss"] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 1) } diff --git a/esp32c2/src/extmem/icache_sync_addr.rs b/esp32c2/src/extmem/icache_sync_addr.rs index d4164bda38..18234817d6 100644 --- a/esp32c2/src/extmem/icache_sync_addr.rs +++ b/esp32c2/src/extmem/icache_sync_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the start virtual address for clean operations. It should be combined with ICACHE_SYNC_SIZE_REG."] #[inline(always)] - #[must_use] pub fn icache_sync_addr(&mut self) -> ICACHE_SYNC_ADDR_W { ICACHE_SYNC_ADDR_W::new(self, 0) } diff --git a/esp32c2/src/extmem/icache_sync_ctrl.rs b/esp32c2/src/extmem/icache_sync_ctrl.rs index 460b43337d..184eb4aa6c 100644 --- a/esp32c2/src/extmem/icache_sync_ctrl.rs +++ b/esp32c2/src/extmem/icache_sync_ctrl.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable invalidate operation. It will be cleared by hardware after invalidate operation done."] #[inline(always)] - #[must_use] pub fn icache_invalidate_ena(&mut self) -> ICACHE_INVALIDATE_ENA_W { ICACHE_INVALIDATE_ENA_W::new(self, 0) } diff --git a/esp32c2/src/extmem/icache_sync_size.rs b/esp32c2/src/extmem/icache_sync_size.rs index d67b16f190..87f4b563c2 100644 --- a/esp32c2/src/extmem/icache_sync_size.rs +++ b/esp32c2/src/extmem/icache_sync_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:22 - The bits are used to configure the length for sync operations. The bits are the counts of cache block. It should be combined with ICACHE_SYNC_ADDR_REG."] #[inline(always)] - #[must_use] pub fn icache_sync_size(&mut self) -> ICACHE_SYNC_SIZE_W { ICACHE_SYNC_SIZE_W::new(self, 0) } diff --git a/esp32c2/src/extmem/icache_tag_power_ctrl.rs b/esp32c2/src/extmem/icache_tag_power_ctrl.rs index b2bb256a7d..7e4661d460 100644 --- a/esp32c2/src/extmem/icache_tag_power_ctrl.rs +++ b/esp32c2/src/extmem/icache_tag_power_ctrl.rs @@ -44,7 +44,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to close clock gating of icache tag memory. 1: close gating, 0: open clock gating."] #[inline(always)] - #[must_use] pub fn icache_tag_mem_force_on( &mut self, ) -> ICACHE_TAG_MEM_FORCE_ON_W { @@ -52,7 +51,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to power icache tag memory down, 0: follow rtc_lslp, 1: power down"] #[inline(always)] - #[must_use] pub fn icache_tag_mem_force_pd( &mut self, ) -> ICACHE_TAG_MEM_FORCE_PD_W { @@ -60,7 +58,6 @@ impl W { } #[doc = "Bit 2 - The bit is used to power icache tag memory up, 0: follow rtc_lslp, 1: power up"] #[inline(always)] - #[must_use] pub fn icache_tag_mem_force_pu( &mut self, ) -> ICACHE_TAG_MEM_FORCE_PU_W { diff --git a/esp32c2/src/extmem/reg_date.rs b/esp32c2/src/extmem/reg_date.rs index 55fcf8d273..68a7ed81d5 100644 --- a/esp32c2/src/extmem/reg_date.rs +++ b/esp32c2/src/extmem/reg_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - version information"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c2/src/generic.rs b/esp32c2/src/generic.rs index d57106cb27..a7cb020aef 100644 --- a/esp32c2/src/generic.rs +++ b/esp32c2/src/generic.rs @@ -524,18 +524,60 @@ impl Reg { #[doc = " ```"] #[doc = " In the latter case, other fields will be set to their reset value."] #[inline(always)] - pub fn write(&self, f: F) + pub fn write(&self, f: F) -> REG::Ux where F: FnOnce(&mut W) -> &mut W, { - self.register.set( - f(&mut W { - bits: REG::RESET_VALUE & !REG::ONE_TO_MODIFY_FIELDS_BITMAP - | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, - _reg: marker::PhantomData, - }) - .bits, - ); + let value = f(&mut W { + bits: REG::RESET_VALUE & !REG::ONE_TO_MODIFY_FIELDS_BITMAP + | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }) + .bits; + self.register.set(value); + value + } + #[doc = " Writes bits to a `Writable` register and produce a value."] + #[doc = ""] + #[doc = " You can write raw bits into a register:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.write_and(|w| unsafe { w.bits(rawbits); });"] + #[doc = " ```"] + #[doc = " or write only the fields you need:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.write_and(|w| {"] + #[doc = " w.field1().bits(newfield1bits)"] + #[doc = " .field2().set_bit()"] + #[doc = " .field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " or an alternative way of saying the same:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.write_and(|w| {"] + #[doc = " w.field1().bits(newfield1bits);"] + #[doc = " w.field2().set_bit();"] + #[doc = " w.field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " In the latter case, other fields will be set to their reset value."] + #[doc = ""] + #[doc = " Values can be returned from the closure:"] + #[doc = " ```ignore"] + #[doc = " let state = periph.reg.write_and(|w| State::set(w.field1()));"] + #[doc = " ```"] + #[inline(always)] + pub fn from_write(&self, f: F) -> T + where + F: FnOnce(&mut W) -> T, + { + let mut writer = W { + bits: REG::RESET_VALUE & !REG::ONE_TO_MODIFY_FIELDS_BITMAP + | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }; + let result = f(&mut writer); + self.register.set(writer.bits); + result } } impl Reg { @@ -547,17 +589,37 @@ impl Reg { #[doc = ""] #[doc = " Unsafe to use with registers which don't allow to write 0."] #[inline(always)] - pub unsafe fn write_with_zero(&self, f: F) + pub unsafe fn write_with_zero(&self, f: F) -> REG::Ux where F: FnOnce(&mut W) -> &mut W, { - self.register.set( - f(&mut W { - bits: REG::Ux::default(), - _reg: marker::PhantomData, - }) - .bits, - ); + let value = f(&mut W { + bits: REG::Ux::default(), + _reg: marker::PhantomData, + }) + .bits; + self.register.set(value); + value + } + #[doc = " Writes 0 to a `Writable` register and produces a value."] + #[doc = ""] + #[doc = " Similar to `write`, but unused bits will contain 0."] + #[doc = ""] + #[doc = " # Safety"] + #[doc = ""] + #[doc = " Unsafe to use with registers which don't allow to write 0."] + #[inline(always)] + pub unsafe fn from_write_with_zero(&self, f: F) -> T + where + F: FnOnce(&mut W) -> T, + { + let mut writer = W { + bits: REG::Ux::default(), + _reg: marker::PhantomData, + }; + let result = f(&mut writer); + self.register.set(writer.bits); + result } } impl Reg { @@ -587,25 +649,75 @@ impl Reg { #[doc = " ```"] #[doc = " Other fields will have the value they had before the call to `modify`."] #[inline(always)] - pub fn modify(&self, f: F) + pub fn modify(&self, f: F) -> REG::Ux where for<'w> F: FnOnce(&R, &'w mut W) -> &'w mut W, { let bits = self.register.get(); - self.register.set( - f( - &R { - bits, - _reg: marker::PhantomData, - }, - &mut W { - bits: bits & !REG::ONE_TO_MODIFY_FIELDS_BITMAP - | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, - _reg: marker::PhantomData, - }, - ) - .bits, + let value = f( + &R { + bits, + _reg: marker::PhantomData, + }, + &mut W { + bits: bits & !REG::ONE_TO_MODIFY_FIELDS_BITMAP | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }, + ) + .bits; + self.register.set(value); + value + } + #[doc = " Modifies the contents of the register by reading and then writing it"] + #[doc = " and produces a value."] + #[doc = ""] + #[doc = " E.g. to do a read-modify-write sequence to change parts of a register:"] + #[doc = " ```ignore"] + #[doc = " let bits = periph.reg.modify(|r, w| {"] + #[doc = " let new_bits = r.bits() | 3;"] + #[doc = " unsafe {"] + #[doc = " w.bits(new_bits);"] + #[doc = " }"] + #[doc = ""] + #[doc = " new_bits"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " or"] + #[doc = " ```ignore"] + #[doc = " periph.reg.modify(|_, w| {"] + #[doc = " w.field1().bits(newfield1bits)"] + #[doc = " .field2().set_bit()"] + #[doc = " .field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " or an alternative way of saying the same:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.modify(|_, w| {"] + #[doc = " w.field1().bits(newfield1bits);"] + #[doc = " w.field2().set_bit();"] + #[doc = " w.field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " Other fields will have the value they had before the call to `modify`."] + #[inline(always)] + pub fn from_modify(&self, f: F) -> T + where + for<'w> F: FnOnce(&R, &'w mut W) -> T, + { + let bits = self.register.get(); + let mut writer = W { + bits: bits & !REG::ONE_TO_MODIFY_FIELDS_BITMAP | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }; + let result = f( + &R { + bits, + _reg: marker::PhantomData, + }, + &mut writer, ); + self.register.set(writer.bits); + result } } impl core::fmt::Debug for crate::generic::Reg diff --git a/esp32c2/src/generic/raw.rs b/esp32c2/src/generic/raw.rs index 81f5779524..d60a23a7cc 100644 --- a/esp32c2/src/generic/raw.rs +++ b/esp32c2/src/generic/raw.rs @@ -41,6 +41,7 @@ impl BitReader { } } } +#[must_use = "after creating `FieldWriter` you need to call field value setting method"] pub struct FieldWriter<'a, REG, const WI: u8, FI = u8, Safety = Unsafe> where REG: Writable + RegisterSpec, @@ -66,6 +67,7 @@ where } } } +#[must_use = "after creating `BitWriter` you need to call bit setting method"] pub struct BitWriter<'a, REG, FI = bool, M = BitM> where REG: Writable + RegisterSpec, diff --git a/esp32c2/src/gpio/bt_select.rs b/esp32c2/src/gpio/bt_select.rs index d7b1c5cbd7..1207e6041d 100644 --- a/esp32c2/src/gpio/bt_select.rs +++ b/esp32c2/src/gpio/bt_select.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - GPIO bit select register"] #[inline(always)] - #[must_use] pub fn bt_sel(&mut self) -> BT_SEL_W { BT_SEL_W::new(self, 0) } diff --git a/esp32c2/src/gpio/clock_gate.rs b/esp32c2/src/gpio/clock_gate.rs index dc08365f35..fcb38c1911 100644 --- a/esp32c2/src/gpio/clock_gate.rs +++ b/esp32c2/src/gpio/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - set this bit to enable GPIO clock gate"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32c2/src/gpio/enable.rs b/esp32c2/src/gpio/enable.rs index b32278031c..41adc34e48 100644 --- a/esp32c2/src/gpio/enable.rs +++ b/esp32c2/src/gpio/enable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:24 - GPIO output enable register for GPIO0-24"] #[inline(always)] - #[must_use] pub fn data(&mut self) -> DATA_W { DATA_W::new(self, 0) } diff --git a/esp32c2/src/gpio/enable_w1tc.rs b/esp32c2/src/gpio/enable_w1tc.rs index 614b1ef198..249b05a1f0 100644 --- a/esp32c2/src/gpio/enable_w1tc.rs +++ b/esp32c2/src/gpio/enable_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:24 - GPIO output enable clear register for GPIO0-24"] #[inline(always)] - #[must_use] pub fn enable_w1tc(&mut self) -> ENABLE_W1TC_W { ENABLE_W1TC_W::new(self, 0) } diff --git a/esp32c2/src/gpio/enable_w1ts.rs b/esp32c2/src/gpio/enable_w1ts.rs index 3716dc6e16..5216022131 100644 --- a/esp32c2/src/gpio/enable_w1ts.rs +++ b/esp32c2/src/gpio/enable_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:24 - GPIO output enable set register for GPIO0-24"] #[inline(always)] - #[must_use] pub fn enable_w1ts(&mut self) -> ENABLE_W1TS_W { ENABLE_W1TS_W::new(self, 0) } diff --git a/esp32c2/src/gpio/func_in_sel_cfg.rs b/esp32c2/src/gpio/func_in_sel_cfg.rs index 1a93462d63..7eb28f83db 100644 --- a/esp32c2/src/gpio/func_in_sel_cfg.rs +++ b/esp32c2/src/gpio/func_in_sel_cfg.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - set this value: s=0-53: connect GPIO\\[s\\] to this port. s=0x38: set this port always high level. s=0x3C: set this port always low level."] #[inline(always)] - #[must_use] pub fn in_sel(&mut self) -> IN_SEL_W { IN_SEL_W::new(self, 0) } #[doc = "Bit 5 - set this bit to invert input signal. 1:invert. 0:not invert."] #[inline(always)] - #[must_use] pub fn in_inv_sel(&mut self) -> IN_INV_SEL_W { IN_INV_SEL_W::new(self, 5) } #[doc = "Bit 6 - set this bit to bypass GPIO. 1:do not bypass GPIO. 0:bypass GPIO."] #[inline(always)] - #[must_use] pub fn sel(&mut self) -> SEL_W { SEL_W::new(self, 6) } diff --git a/esp32c2/src/gpio/func_out_sel_cfg.rs b/esp32c2/src/gpio/func_out_sel_cfg.rs index aa5447d2fc..82a9d31769 100644 --- a/esp32c2/src/gpio/func_out_sel_cfg.rs +++ b/esp32c2/src/gpio/func_out_sel_cfg.rs @@ -2,9 +2,9 @@ pub type R = crate::R; #[doc = "Register `FUNC%s_OUT_SEL_CFG` writer"] pub type W = crate::W; -#[doc = "Field `OUT_SEL` reader - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-255: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=256: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] +#[doc = "Field `OUT_SEL` reader - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-255: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=256: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] pub type OUT_SEL_R = crate::FieldReader; -#[doc = "Field `OUT_SEL` writer - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-255: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=256: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] +#[doc = "Field `OUT_SEL` writer - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-255: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=256: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] pub type OUT_SEL_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; #[doc = "Field `INV_SEL` reader - set this bit to invert output signal.1:invert.0:not invert."] pub type INV_SEL_R = crate::BitReader; @@ -19,7 +19,7 @@ pub type OEN_INV_SEL_R = crate::BitReader; #[doc = "Field `OEN_INV_SEL` writer - set this bit to invert output enable signal.1:invert.0:not invert."] pub type OEN_INV_SEL_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { - #[doc = "Bits 0:7 - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-255: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=256: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] + #[doc = "Bits 0:7 - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-255: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=256: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] #[inline(always)] pub fn out_sel(&self) -> OUT_SEL_R { OUT_SEL_R::new((self.bits & 0xff) as u8) @@ -52,27 +52,23 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bits 0:7 - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-255: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=256: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] + #[doc = "Bits 0:7 - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-255: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=256: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] #[inline(always)] - #[must_use] pub fn out_sel(&mut self) -> OUT_SEL_W { OUT_SEL_W::new(self, 0) } #[doc = "Bit 8 - set this bit to invert output signal.1:invert.0:not invert."] #[inline(always)] - #[must_use] pub fn inv_sel(&mut self) -> INV_SEL_W { INV_SEL_W::new(self, 8) } #[doc = "Bit 9 - set this bit to select output enable signal.1:use GPIO_ENABLE_REG\\[n\\] as output enable signal.0:use peripheral output enable signal."] #[inline(always)] - #[must_use] pub fn oen_sel(&mut self) -> OEN_SEL_W { OEN_SEL_W::new(self, 9) } #[doc = "Bit 10 - set this bit to invert output enable signal.1:invert.0:not invert."] #[inline(always)] - #[must_use] pub fn oen_inv_sel(&mut self) -> OEN_INV_SEL_W { OEN_INV_SEL_W::new(self, 10) } diff --git a/esp32c2/src/gpio/out.rs b/esp32c2/src/gpio/out.rs index 8c68fb495e..0bbf0a7cec 100644 --- a/esp32c2/src/gpio/out.rs +++ b/esp32c2/src/gpio/out.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:24 - GPIO output register for GPIO0-24"] #[inline(always)] - #[must_use] pub fn data_orig(&mut self) -> DATA_ORIG_W { DATA_ORIG_W::new(self, 0) } diff --git a/esp32c2/src/gpio/out_w1tc.rs b/esp32c2/src/gpio/out_w1tc.rs index ae71a39764..f090f1c562 100644 --- a/esp32c2/src/gpio/out_w1tc.rs +++ b/esp32c2/src/gpio/out_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:24 - GPIO output clear register for GPIO0-24"] #[inline(always)] - #[must_use] pub fn out_w1tc(&mut self) -> OUT_W1TC_W { OUT_W1TC_W::new(self, 0) } diff --git a/esp32c2/src/gpio/out_w1ts.rs b/esp32c2/src/gpio/out_w1ts.rs index 3bd7ca0e48..f7a04fd349 100644 --- a/esp32c2/src/gpio/out_w1ts.rs +++ b/esp32c2/src/gpio/out_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:24 - GPIO output set register for GPIO0-24"] #[inline(always)] - #[must_use] pub fn out_w1ts(&mut self) -> OUT_W1TS_W { OUT_W1TS_W::new(self, 0) } diff --git a/esp32c2/src/gpio/pin.rs b/esp32c2/src/gpio/pin.rs index 28a30e66af..5bad7dea08 100644 --- a/esp32c2/src/gpio/pin.rs +++ b/esp32c2/src/gpio/pin.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - set GPIO input_sync2 signal mode. 0:disable. 1:trigger at negedge. 2or3:trigger at posedge."] #[inline(always)] - #[must_use] pub fn sync2_bypass(&mut self) -> SYNC2_BYPASS_W { SYNC2_BYPASS_W::new(self, 0) } #[doc = "Bit 2 - set this bit to select pad driver. 1:open-drain. 0:normal."] #[inline(always)] - #[must_use] pub fn pad_driver(&mut self) -> PAD_DRIVER_W { PAD_DRIVER_W::new(self, 2) } #[doc = "Bits 3:4 - set GPIO input_sync1 signal mode. 0:disable. 1:trigger at negedge. 2or3:trigger at posedge."] #[inline(always)] - #[must_use] pub fn sync1_bypass(&mut self) -> SYNC1_BYPASS_W { SYNC1_BYPASS_W::new(self, 3) } #[doc = "Bits 7:9 - set this value to choose interrupt mode. 0:disable GPIO interrupt. 1:trigger at posedge. 2:trigger at negedge. 3:trigger at any edge. 4:valid at low level. 5:valid at high level"] #[inline(always)] - #[must_use] pub fn int_type(&mut self) -> INT_TYPE_W { INT_TYPE_W::new(self, 7) } #[doc = "Bit 10 - set this bit to enable GPIO wakeup.(can only wakeup CPU from Light-sleep Mode)"] #[inline(always)] - #[must_use] pub fn wakeup_enable(&mut self) -> WAKEUP_ENABLE_W { WAKEUP_ENABLE_W::new(self, 10) } #[doc = "Bits 11:12 - reserved"] #[inline(always)] - #[must_use] pub fn config(&mut self) -> CONFIG_W { CONFIG_W::new(self, 11) } #[doc = "Bits 13:17 - set bit 13 to enable CPU interrupt. set bit 14 to enable CPU(not shielded) interrupt."] #[inline(always)] - #[must_use] pub fn int_ena(&mut self) -> INT_ENA_W { INT_ENA_W::new(self, 13) } diff --git a/esp32c2/src/gpio/reg_date.rs b/esp32c2/src/gpio/reg_date.rs index ee7be2174b..a13ff27d66 100644 --- a/esp32c2/src/gpio/reg_date.rs +++ b/esp32c2/src/gpio/reg_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - version register"] #[inline(always)] - #[must_use] pub fn reg_date(&mut self) -> REG_DATE_W { REG_DATE_W::new(self, 0) } diff --git a/esp32c2/src/gpio/sdio_select.rs b/esp32c2/src/gpio/sdio_select.rs index 4099035e5f..20bb242683 100644 --- a/esp32c2/src/gpio/sdio_select.rs +++ b/esp32c2/src/gpio/sdio_select.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - GPIO sdio select register"] #[inline(always)] - #[must_use] pub fn sdio_sel(&mut self) -> SDIO_SEL_W { SDIO_SEL_W::new(self, 0) } diff --git a/esp32c2/src/gpio/status.rs b/esp32c2/src/gpio/status.rs index 8ea638ce21..557af560be 100644 --- a/esp32c2/src/gpio/status.rs +++ b/esp32c2/src/gpio/status.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:24 - GPIO interrupt status register for GPIO0-24"] #[inline(always)] - #[must_use] pub fn interrupt(&mut self) -> INTERRUPT_W { INTERRUPT_W::new(self, 0) } diff --git a/esp32c2/src/gpio/status_w1tc.rs b/esp32c2/src/gpio/status_w1tc.rs index bf8e3b1437..5cbb194565 100644 --- a/esp32c2/src/gpio/status_w1tc.rs +++ b/esp32c2/src/gpio/status_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:24 - GPIO interrupt status clear register for GPIO0-24"] #[inline(always)] - #[must_use] pub fn status_w1tc(&mut self) -> STATUS_W1TC_W { STATUS_W1TC_W::new(self, 0) } diff --git a/esp32c2/src/gpio/status_w1ts.rs b/esp32c2/src/gpio/status_w1ts.rs index c23e6eddaf..d7e5fa619f 100644 --- a/esp32c2/src/gpio/status_w1ts.rs +++ b/esp32c2/src/gpio/status_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:24 - GPIO interrupt status set register for GPIO0-24"] #[inline(always)] - #[must_use] pub fn status_w1ts(&mut self) -> STATUS_W1TS_W { STATUS_W1TS_W::new(self, 0) } diff --git a/esp32c2/src/i2c0/clk_conf.rs b/esp32c2/src/i2c0/clk_conf.rs index 70fecdec18..238cb1aafd 100644 --- a/esp32c2/src/i2c0/clk_conf.rs +++ b/esp32c2/src/i2c0/clk_conf.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - the integral part of the fractional divisor for i2c module"] #[inline(always)] - #[must_use] pub fn sclk_div_num(&mut self) -> SCLK_DIV_NUM_W { SCLK_DIV_NUM_W::new(self, 0) } #[doc = "Bits 8:13 - the numerator of the fractional part of the fractional divisor for i2c module"] #[inline(always)] - #[must_use] pub fn sclk_div_a(&mut self) -> SCLK_DIV_A_W { SCLK_DIV_A_W::new(self, 8) } #[doc = "Bits 14:19 - the denominator of the fractional part of the fractional divisor for i2c module"] #[inline(always)] - #[must_use] pub fn sclk_div_b(&mut self) -> SCLK_DIV_B_W { SCLK_DIV_B_W::new(self, 14) } #[doc = "Bit 20 - The clock selection for i2c module:0-XTAL,1-CLK_8MHz."] #[inline(always)] - #[must_use] pub fn sclk_sel(&mut self) -> SCLK_SEL_W { SCLK_SEL_W::new(self, 20) } #[doc = "Bit 21 - The clock switch for i2c module"] #[inline(always)] - #[must_use] pub fn sclk_active(&mut self) -> SCLK_ACTIVE_W { SCLK_ACTIVE_W::new(self, 21) } diff --git a/esp32c2/src/i2c0/comd.rs b/esp32c2/src/i2c0/comd.rs index bb55c194e6..7dbcd9c95a 100644 --- a/esp32c2/src/i2c0/comd.rs +++ b/esp32c2/src/i2c0/comd.rs @@ -170,37 +170,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Number of bytes to be sent or received for command %s."] #[inline(always)] - #[must_use] pub fn byte_num(&mut self) -> BYTE_NUM_W { BYTE_NUM_W::new(self, 0) } #[doc = "Bit 8 - Acknowledge check enable for command %s."] #[inline(always)] - #[must_use] pub fn ack_check_en(&mut self) -> ACK_CHECK_EN_W { ACK_CHECK_EN_W::new(self, 8) } #[doc = "Bit 9 - Acknowledge expected for command %s."] #[inline(always)] - #[must_use] pub fn ack_exp(&mut self) -> ACK_EXP_W { ACK_EXP_W::new(self, 9) } #[doc = "Bit 10 - Acknowledge value for command %s."] #[inline(always)] - #[must_use] pub fn ack_value(&mut self) -> ACK_VALUE_W { ACK_VALUE_W::new(self, 10) } #[doc = "Bits 11:13 - Opcode part of command %s."] #[inline(always)] - #[must_use] pub fn opcode(&mut self) -> OPCODE_W { OPCODE_W::new(self, 11) } #[doc = "Bit 31 - When command 0 is done in I2C Master mode, this bit changes to high level."] #[inline(always)] - #[must_use] pub fn command_done(&mut self) -> COMMAND_DONE_W { COMMAND_DONE_W::new(self, 31) } diff --git a/esp32c2/src/i2c0/ctr.rs b/esp32c2/src/i2c0/ctr.rs index d2855f1c98..16b56ef3f5 100644 --- a/esp32c2/src/i2c0/ctr.rs +++ b/esp32c2/src/i2c0/ctr.rs @@ -120,79 +120,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 0: direct output, 1: open drain output."] #[inline(always)] - #[must_use] pub fn sda_force_out(&mut self) -> SDA_FORCE_OUT_W { SDA_FORCE_OUT_W::new(self, 0) } #[doc = "Bit 1 - 0: direct output, 1: open drain output."] #[inline(always)] - #[must_use] pub fn scl_force_out(&mut self) -> SCL_FORCE_OUT_W { SCL_FORCE_OUT_W::new(self, 1) } #[doc = "Bit 2 - This register is used to select the sample mode. 1: sample SDA data on the SCL low level. 0: sample SDA data on the SCL high level."] #[inline(always)] - #[must_use] pub fn sample_scl_level(&mut self) -> SAMPLE_SCL_LEVEL_W { SAMPLE_SCL_LEVEL_W::new(self, 2) } #[doc = "Bit 3 - This register is used to configure the ACK value that need to sent by master when the rx_fifo_cnt has reached the threshold."] #[inline(always)] - #[must_use] pub fn rx_full_ack_level(&mut self) -> RX_FULL_ACK_LEVEL_W { RX_FULL_ACK_LEVEL_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to configure the module as an I2C Master. Clear this bit to configure the module as an I2C Slave."] #[inline(always)] - #[must_use] pub fn ms_mode(&mut self) -> MS_MODE_W { MS_MODE_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to start sending the data in txfifo."] #[inline(always)] - #[must_use] pub fn trans_start(&mut self) -> TRANS_START_W { TRANS_START_W::new(self, 5) } #[doc = "Bit 6 - This bit is used to control the sending mode for data needing to be sent. 1: send data from the least significant bit, 0: send data from the most significant bit."] #[inline(always)] - #[must_use] pub fn tx_lsb_first(&mut self) -> TX_LSB_FIRST_W { TX_LSB_FIRST_W::new(self, 6) } #[doc = "Bit 7 - This bit is used to control the storage mode for received data. 1: receive data from the least significant bit, 0: receive data from the most significant bit."] #[inline(always)] - #[must_use] pub fn rx_lsb_first(&mut self) -> RX_LSB_FIRST_W { RX_LSB_FIRST_W::new(self, 7) } #[doc = "Bit 8 - Reserved"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 8) } #[doc = "Bit 9 - This is the enable bit for arbitration_lost."] #[inline(always)] - #[must_use] pub fn arbitration_en(&mut self) -> ARBITRATION_EN_W { ARBITRATION_EN_W::new(self, 9) } #[doc = "Bit 10 - This register is used to reset the scl FMS."] #[inline(always)] - #[must_use] pub fn fsm_rst(&mut self) -> FSM_RST_W { FSM_RST_W::new(self, 10) } #[doc = "Bit 11 - synchronization bit"] #[inline(always)] - #[must_use] pub fn conf_upgate(&mut self) -> CONF_UPGATE_W { CONF_UPGATE_W::new(self, 11) } #[doc = "Bit 12 - This is the enable bit for slave to send data automatically"] #[inline(always)] - #[must_use] pub fn slv_tx_auto_start_en(&mut self) -> SLV_TX_AUTO_START_EN_W { SLV_TX_AUTO_START_EN_W::new(self, 12) } diff --git a/esp32c2/src/i2c0/data.rs b/esp32c2/src/i2c0/data.rs index 7b61d0c9b4..85e1cbdac8 100644 --- a/esp32c2/src/i2c0/data.rs +++ b/esp32c2/src/i2c0/data.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - The value of rx FIFO read data."] #[inline(always)] - #[must_use] pub fn fifo_rdata(&mut self) -> FIFO_RDATA_W { FIFO_RDATA_W::new(self, 0) } diff --git a/esp32c2/src/i2c0/date.rs b/esp32c2/src/i2c0/date.rs index e248ead17b..945c4fcf03 100644 --- a/esp32c2/src/i2c0/date.rs +++ b/esp32c2/src/i2c0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This is the the version register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c2/src/i2c0/fifo_conf.rs b/esp32c2/src/i2c0/fifo_conf.rs index 747fd3be14..e640478fdc 100644 --- a/esp32c2/src/i2c0/fifo_conf.rs +++ b/esp32c2/src/i2c0/fifo_conf.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - The water mark threshold of rx FIFO in nonfifo access mode. When reg_reg_fifo_prt_en is 1 and rx FIFO counter is bigger than reg_rxfifo_wm_thrhd\\[3:0\\], reg_rxfifo_wm_int_raw bit will be valid."] #[inline(always)] - #[must_use] pub fn rxfifo_wm_thrhd(&mut self) -> RXFIFO_WM_THRHD_W { RXFIFO_WM_THRHD_W::new(self, 0) } #[doc = "Bits 5:8 - The water mark threshold of tx FIFO in nonfifo access mode. When reg_reg_fifo_prt_en is 1 and tx FIFO counter is smaller than reg_txfifo_wm_thrhd\\[3:0\\], reg_txfifo_wm_int_raw bit will be valid."] #[inline(always)] - #[must_use] pub fn txfifo_wm_thrhd(&mut self) -> TXFIFO_WM_THRHD_W { TXFIFO_WM_THRHD_W::new(self, 5) } #[doc = "Bit 10 - Set this bit to enable APB nonfifo access."] #[inline(always)] - #[must_use] pub fn nonfifo_en(&mut self) -> NONFIFO_EN_W { NONFIFO_EN_W::new(self, 10) } #[doc = "Bit 12 - Set this bit to reset rx-fifo."] #[inline(always)] - #[must_use] pub fn rx_fifo_rst(&mut self) -> RX_FIFO_RST_W { RX_FIFO_RST_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to reset tx-fifo."] #[inline(always)] - #[must_use] pub fn tx_fifo_rst(&mut self) -> TX_FIFO_RST_W { TX_FIFO_RST_W::new(self, 13) } #[doc = "Bit 14 - The control enable bit of FIFO pointer in non-fifo access mode. This bit controls the valid bits and the interrupts of tx/rx_fifo overflow, underflow, full and empty."] #[inline(always)] - #[must_use] pub fn fifo_prt_en(&mut self) -> FIFO_PRT_EN_W { FIFO_PRT_EN_W::new(self, 14) } diff --git a/esp32c2/src/i2c0/filter_cfg.rs b/esp32c2/src/i2c0/filter_cfg.rs index bfac5394cd..03c1bda7ac 100644 --- a/esp32c2/src/i2c0/filter_cfg.rs +++ b/esp32c2/src/i2c0/filter_cfg.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - When a pulse on the SCL input has smaller width than this register value in I2C module clock cycles, the I2C controller will ignore that pulse."] #[inline(always)] - #[must_use] pub fn scl_filter_thres(&mut self) -> SCL_FILTER_THRES_W { SCL_FILTER_THRES_W::new(self, 0) } #[doc = "Bits 4:7 - When a pulse on the SDA input has smaller width than this register value in I2C module clock cycles, the I2C controller will ignore that pulse."] #[inline(always)] - #[must_use] pub fn sda_filter_thres(&mut self) -> SDA_FILTER_THRES_W { SDA_FILTER_THRES_W::new(self, 4) } #[doc = "Bit 8 - This is the filter enable bit for SCL."] #[inline(always)] - #[must_use] pub fn scl_filter_en(&mut self) -> SCL_FILTER_EN_W { SCL_FILTER_EN_W::new(self, 8) } #[doc = "Bit 9 - This is the filter enable bit for SDA."] #[inline(always)] - #[must_use] pub fn sda_filter_en(&mut self) -> SDA_FILTER_EN_W { SDA_FILTER_EN_W::new(self, 9) } diff --git a/esp32c2/src/i2c0/int_clr.rs b/esp32c2/src/i2c0/int_clr.rs index 7d6d61bb24..4e3248f6db 100644 --- a/esp32c2/src/i2c0/int_clr.rs +++ b/esp32c2/src/i2c0/int_clr.rs @@ -41,97 +41,81 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear I2C_RXFIFO_WM_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_wm(&mut self) -> RXFIFO_WM_W { RXFIFO_WM_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear I2C_TXFIFO_WM_INT interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_wm(&mut self) -> TXFIFO_WM_W { TXFIFO_WM_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear I2C_RXFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the I2C_END_DETECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn end_detect(&mut self) -> END_DETECT_W { END_DETECT_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear the I2C_END_DETECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn byte_trans_done(&mut self) -> BYTE_TRANS_DONE_W { BYTE_TRANS_DONE_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the I2C_ARBITRATION_LOST_INT interrupt."] #[inline(always)] - #[must_use] pub fn arbitration_lost(&mut self) -> ARBITRATION_LOST_W { ARBITRATION_LOST_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear I2C_TRANS_COMPLETE_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_txfifo_udf(&mut self) -> MST_TXFIFO_UDF_W { MST_TXFIFO_UDF_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the I2C_TRANS_COMPLETE_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_complete(&mut self) -> TRANS_COMPLETE_W { TRANS_COMPLETE_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the I2C_TIME_OUT_INT interrupt."] #[inline(always)] - #[must_use] pub fn time_out(&mut self) -> TIME_OUT_W { TIME_OUT_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear the I2C_TRANS_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_start(&mut self) -> TRANS_START_W { TRANS_START_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to clear I2C_SLAVE_STRETCH_INT interrupt."] #[inline(always)] - #[must_use] pub fn nack(&mut self) -> NACK_W { NACK_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear I2C_TXFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_ovf(&mut self) -> TXFIFO_OVF_W { TXFIFO_OVF_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to clear I2C_RXFIFO_UDF_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_udf(&mut self) -> RXFIFO_UDF_W { RXFIFO_UDF_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to clear I2C_SCL_ST_TO_INT interrupt."] #[inline(always)] - #[must_use] pub fn scl_st_to(&mut self) -> SCL_ST_TO_W { SCL_ST_TO_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to clear I2C_SCL_MAIN_ST_TO_INT interrupt."] #[inline(always)] - #[must_use] pub fn scl_main_st_to(&mut self) -> SCL_MAIN_ST_TO_W { SCL_MAIN_ST_TO_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to clear I2C_DET_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn det_start(&mut self) -> DET_START_W { DET_START_W::new(self, 15) } diff --git a/esp32c2/src/i2c0/int_ena.rs b/esp32c2/src/i2c0/int_ena.rs index 07fb2fa5ea..a5e107d5a1 100644 --- a/esp32c2/src/i2c0/int_ena.rs +++ b/esp32c2/src/i2c0/int_ena.rs @@ -174,97 +174,81 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for I2C_RXFIFO_WM_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_wm(&mut self) -> RXFIFO_WM_W { RXFIFO_WM_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for I2C_TXFIFO_WM_INT interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_wm(&mut self) -> TXFIFO_WM_W { TXFIFO_WM_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for I2C_RXFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the I2C_END_DETECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn end_detect(&mut self) -> END_DETECT_W { END_DETECT_W::new(self, 3) } #[doc = "Bit 4 - The interrupt enable bit for the I2C_END_DETECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn byte_trans_done(&mut self) -> BYTE_TRANS_DONE_W { BYTE_TRANS_DONE_W::new(self, 4) } #[doc = "Bit 5 - The interrupt enable bit for the I2C_ARBITRATION_LOST_INT interrupt."] #[inline(always)] - #[must_use] pub fn arbitration_lost(&mut self) -> ARBITRATION_LOST_W { ARBITRATION_LOST_W::new(self, 5) } #[doc = "Bit 6 - The interrupt enable bit for I2C_TRANS_COMPLETE_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_txfifo_udf(&mut self) -> MST_TXFIFO_UDF_W { MST_TXFIFO_UDF_W::new(self, 6) } #[doc = "Bit 7 - The interrupt enable bit for the I2C_TRANS_COMPLETE_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_complete(&mut self) -> TRANS_COMPLETE_W { TRANS_COMPLETE_W::new(self, 7) } #[doc = "Bit 8 - The interrupt enable bit for the I2C_TIME_OUT_INT interrupt."] #[inline(always)] - #[must_use] pub fn time_out(&mut self) -> TIME_OUT_W { TIME_OUT_W::new(self, 8) } #[doc = "Bit 9 - The interrupt enable bit for the I2C_TRANS_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_start(&mut self) -> TRANS_START_W { TRANS_START_W::new(self, 9) } #[doc = "Bit 10 - The interrupt enable bit for I2C_SLAVE_STRETCH_INT interrupt."] #[inline(always)] - #[must_use] pub fn nack(&mut self) -> NACK_W { NACK_W::new(self, 10) } #[doc = "Bit 11 - The interrupt enable bit for I2C_TXFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_ovf(&mut self) -> TXFIFO_OVF_W { TXFIFO_OVF_W::new(self, 11) } #[doc = "Bit 12 - The interrupt enable bit for I2C_RXFIFO_UDF_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_udf(&mut self) -> RXFIFO_UDF_W { RXFIFO_UDF_W::new(self, 12) } #[doc = "Bit 13 - The interrupt enable bit for I2C_SCL_ST_TO_INT interrupt."] #[inline(always)] - #[must_use] pub fn scl_st_to(&mut self) -> SCL_ST_TO_W { SCL_ST_TO_W::new(self, 13) } #[doc = "Bit 14 - The interrupt enable bit for I2C_SCL_MAIN_ST_TO_INT interrupt."] #[inline(always)] - #[must_use] pub fn scl_main_st_to(&mut self) -> SCL_MAIN_ST_TO_W { SCL_MAIN_ST_TO_W::new(self, 14) } #[doc = "Bit 15 - The interrupt enable bit for I2C_DET_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn det_start(&mut self) -> DET_START_W { DET_START_W::new(self, 15) } diff --git a/esp32c2/src/i2c0/scl_high_period.rs b/esp32c2/src/i2c0/scl_high_period.rs index 1153c0e728..2cfa658d0a 100644 --- a/esp32c2/src/i2c0/scl_high_period.rs +++ b/esp32c2/src/i2c0/scl_high_period.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure for how long SCL setup to high level and remains high in master mode, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn scl_high_period(&mut self) -> SCL_HIGH_PERIOD_W { SCL_HIGH_PERIOD_W::new(self, 0) } #[doc = "Bits 9:15 - This register is used to configure for the SCL_FSM's waiting period for SCL high level in master mode, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn scl_wait_high_period(&mut self) -> SCL_WAIT_HIGH_PERIOD_W { SCL_WAIT_HIGH_PERIOD_W::new(self, 9) } diff --git a/esp32c2/src/i2c0/scl_low_period.rs b/esp32c2/src/i2c0/scl_low_period.rs index f8d802b480..9874b6f962 100644 --- a/esp32c2/src/i2c0/scl_low_period.rs +++ b/esp32c2/src/i2c0/scl_low_period.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure for how long SCL remains low in master mode, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn scl_low_period(&mut self) -> SCL_LOW_PERIOD_W { SCL_LOW_PERIOD_W::new(self, 0) } diff --git a/esp32c2/src/i2c0/scl_main_st_time_out.rs b/esp32c2/src/i2c0/scl_main_st_time_out.rs index 4b94a84d01..c96787154f 100644 --- a/esp32c2/src/i2c0/scl_main_st_time_out.rs +++ b/esp32c2/src/i2c0/scl_main_st_time_out.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - The threshold value of SCL_MAIN_FSM state unchanged period.nIt should be o more than 23"] #[inline(always)] - #[must_use] pub fn scl_main_st_to_i2c(&mut self) -> SCL_MAIN_ST_TO_I2C_W { SCL_MAIN_ST_TO_I2C_W::new(self, 0) } diff --git a/esp32c2/src/i2c0/scl_rstart_setup.rs b/esp32c2/src/i2c0/scl_rstart_setup.rs index c1a7053eec..203436a57b 100644 --- a/esp32c2/src/i2c0/scl_rstart_setup.rs +++ b/esp32c2/src/i2c0/scl_rstart_setup.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure the time between the positive edge of SCL and the negative edge of SDA for a RESTART condition, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32c2/src/i2c0/scl_sp_conf.rs b/esp32c2/src/i2c0/scl_sp_conf.rs index ed2452044b..dbc65b04e9 100644 --- a/esp32c2/src/i2c0/scl_sp_conf.rs +++ b/esp32c2/src/i2c0/scl_sp_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - When I2C master is IDLE, set this bit to send out SCL pulses. The number of pulses equals to reg_scl_rst_slv_num\\[4:0\\]."] #[inline(always)] - #[must_use] pub fn scl_rst_slv_en(&mut self) -> SCL_RST_SLV_EN_W { SCL_RST_SLV_EN_W::new(self, 0) } #[doc = "Bits 1:5 - Configure the pulses of SCL generated in I2C master mode. Valid when reg_scl_rst_slv_en is 1."] #[inline(always)] - #[must_use] pub fn scl_rst_slv_num(&mut self) -> SCL_RST_SLV_NUM_W { SCL_RST_SLV_NUM_W::new(self, 1) } #[doc = "Bit 6 - The power down enable bit for the I2C output SCL line. 1: Power down. 0: Not power down. Set reg_scl_force_out and reg_scl_pd_en to 1 to stretch SCL low."] #[inline(always)] - #[must_use] pub fn scl_pd_en(&mut self) -> SCL_PD_EN_W { SCL_PD_EN_W::new(self, 6) } #[doc = "Bit 7 - The power down enable bit for the I2C output SDA line. 1: Power down. 0: Not power down. Set reg_sda_force_out and reg_sda_pd_en to 1 to stretch SDA low."] #[inline(always)] - #[must_use] pub fn sda_pd_en(&mut self) -> SDA_PD_EN_W { SDA_PD_EN_W::new(self, 7) } diff --git a/esp32c2/src/i2c0/scl_st_time_out.rs b/esp32c2/src/i2c0/scl_st_time_out.rs index 5d5bb0cdf0..2c4ef3d12d 100644 --- a/esp32c2/src/i2c0/scl_st_time_out.rs +++ b/esp32c2/src/i2c0/scl_st_time_out.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - The threshold value of SCL_FSM state unchanged period. It should be o more than 23"] #[inline(always)] - #[must_use] pub fn scl_st_to_i2c(&mut self) -> SCL_ST_TO_I2C_W { SCL_ST_TO_I2C_W::new(self, 0) } diff --git a/esp32c2/src/i2c0/scl_start_hold.rs b/esp32c2/src/i2c0/scl_start_hold.rs index 9c5229f113..efdfbc194d 100644 --- a/esp32c2/src/i2c0/scl_start_hold.rs +++ b/esp32c2/src/i2c0/scl_start_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure the time between the negative edge of SDA and the negative edge of SCL for a START condition, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32c2/src/i2c0/scl_stop_hold.rs b/esp32c2/src/i2c0/scl_stop_hold.rs index da01c0553d..df2ba1ff1a 100644 --- a/esp32c2/src/i2c0/scl_stop_hold.rs +++ b/esp32c2/src/i2c0/scl_stop_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure the delay after the STOP condition, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32c2/src/i2c0/scl_stop_setup.rs b/esp32c2/src/i2c0/scl_stop_setup.rs index cfa05ff67e..d1db579730 100644 --- a/esp32c2/src/i2c0/scl_stop_setup.rs +++ b/esp32c2/src/i2c0/scl_stop_setup.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure the time between the positive edge of SCL and the positive edge of SDA, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32c2/src/i2c0/sda_hold.rs b/esp32c2/src/i2c0/sda_hold.rs index a0d78acbb9..4a67e2222b 100644 --- a/esp32c2/src/i2c0/sda_hold.rs +++ b/esp32c2/src/i2c0/sda_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure the time to hold the data after the negative edge of SCL, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32c2/src/i2c0/sda_sample.rs b/esp32c2/src/i2c0/sda_sample.rs index b03e34e366..b211168b11 100644 --- a/esp32c2/src/i2c0/sda_sample.rs +++ b/esp32c2/src/i2c0/sda_sample.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure for how long SDA is sampled, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32c2/src/i2c0/to.rs b/esp32c2/src/i2c0/to.rs index 9b92f1f93a..aa23944258 100644 --- a/esp32c2/src/i2c0/to.rs +++ b/esp32c2/src/i2c0/to.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to configure the timeout for receiving a data bit in APB clock cycles."] #[inline(always)] - #[must_use] pub fn time_out_value(&mut self) -> TIME_OUT_VALUE_W { TIME_OUT_VALUE_W::new(self, 0) } #[doc = "Bit 5 - This is the enable bit for time out control."] #[inline(always)] - #[must_use] pub fn time_out_en(&mut self) -> TIME_OUT_EN_W { TIME_OUT_EN_W::new(self, 5) } diff --git a/esp32c2/src/interrupt.rs b/esp32c2/src/interrupt.rs index 7f9dee74ee..c83a52d268 100644 --- a/esp32c2/src/interrupt.rs +++ b/esp32c2/src/interrupt.rs @@ -89,6 +89,7 @@ pub enum Interrupt { ETS_CORE0_PIF_PMS_SIZE = 41, } #[doc = r" TryFromInterruptError"] +#[cfg_attr(feature = "defmt", derive(defmt::Format))] #[derive(Debug, Copy, Clone)] pub struct TryFromInterruptError(()); impl Interrupt { diff --git a/esp32c2/src/interrupt_core0/apb_adc_int_map.rs b/esp32c2/src/interrupt_core0/apb_adc_int_map.rs index 94a576e24f..d4e4710c59 100644 --- a/esp32c2/src/interrupt_core0/apb_adc_int_map.rs +++ b/esp32c2/src/interrupt_core0/apb_adc_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn apb_adc_int_map(&mut self) -> APB_ADC_INT_MAP_W { APB_ADC_INT_MAP_W::new(self, 0) } diff --git a/esp32c2/src/interrupt_core0/apb_ctrl_intr_map.rs b/esp32c2/src/interrupt_core0/apb_ctrl_intr_map.rs index 104ad6b879..e0a1d80e2f 100644 --- a/esp32c2/src/interrupt_core0/apb_ctrl_intr_map.rs +++ b/esp32c2/src/interrupt_core0/apb_ctrl_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn apb_ctrl_intr_map(&mut self) -> APB_CTRL_INTR_MAP_W { APB_CTRL_INTR_MAP_W::new(self, 0) } diff --git a/esp32c2/src/interrupt_core0/assist_debug_intr_map.rs b/esp32c2/src/interrupt_core0/assist_debug_intr_map.rs index 4e2e0763cb..e0968058e1 100644 --- a/esp32c2/src/interrupt_core0/assist_debug_intr_map.rs +++ b/esp32c2/src/interrupt_core0/assist_debug_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn assist_debug_intr_map(&mut self) -> ASSIST_DEBUG_INTR_MAP_W { ASSIST_DEBUG_INTR_MAP_W::new(self, 0) } diff --git a/esp32c2/src/interrupt_core0/ble_sec_int_map.rs b/esp32c2/src/interrupt_core0/ble_sec_int_map.rs index 16feea736b..4bd507be1b 100644 --- a/esp32c2/src/interrupt_core0/ble_sec_int_map.rs +++ b/esp32c2/src/interrupt_core0/ble_sec_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn ble_sec_int_map(&mut self) -> BLE_SEC_INT_MAP_W { BLE_SEC_INT_MAP_W::new(self, 0) } diff --git a/esp32c2/src/interrupt_core0/ble_timer_int_map.rs b/esp32c2/src/interrupt_core0/ble_timer_int_map.rs index 6473c8f441..02f7f63863 100644 --- a/esp32c2/src/interrupt_core0/ble_timer_int_map.rs +++ b/esp32c2/src/interrupt_core0/ble_timer_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn ble_timer_int_map(&mut self) -> BLE_TIMER_INT_MAP_W { BLE_TIMER_INT_MAP_W::new(self, 0) } diff --git a/esp32c2/src/interrupt_core0/bt_bb_int_map.rs b/esp32c2/src/interrupt_core0/bt_bb_int_map.rs index e97ca9542b..74d0a57048 100644 --- a/esp32c2/src/interrupt_core0/bt_bb_int_map.rs +++ b/esp32c2/src/interrupt_core0/bt_bb_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn bt_bb_int_map(&mut self) -> BT_BB_INT_MAP_W { BT_BB_INT_MAP_W::new(self, 0) } diff --git a/esp32c2/src/interrupt_core0/bt_bb_nmi_map.rs b/esp32c2/src/interrupt_core0/bt_bb_nmi_map.rs index b64f2c51a9..24ab93c060 100644 --- a/esp32c2/src/interrupt_core0/bt_bb_nmi_map.rs +++ b/esp32c2/src/interrupt_core0/bt_bb_nmi_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn bt_bb_nmi_map(&mut self) -> BT_BB_NMI_MAP_W { BT_BB_NMI_MAP_W::new(self, 0) } diff --git a/esp32c2/src/interrupt_core0/bt_mac_int_map.rs b/esp32c2/src/interrupt_core0/bt_mac_int_map.rs index bbf741cb7f..80a11f8f6b 100644 --- a/esp32c2/src/interrupt_core0/bt_mac_int_map.rs +++ b/esp32c2/src/interrupt_core0/bt_mac_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn bt_mac_int_map(&mut self) -> BT_MAC_INT_MAP_W { BT_MAC_INT_MAP_W::new(self, 0) } diff --git a/esp32c2/src/interrupt_core0/cache_core0_acs_int_map.rs b/esp32c2/src/interrupt_core0/cache_core0_acs_int_map.rs index 2fd0373d7c..75b5e801f3 100644 --- a/esp32c2/src/interrupt_core0/cache_core0_acs_int_map.rs +++ b/esp32c2/src/interrupt_core0/cache_core0_acs_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn cache_core0_acs_int_map( &mut self, ) -> CACHE_CORE0_ACS_INT_MAP_W { diff --git a/esp32c2/src/interrupt_core0/cache_ia_int_map.rs b/esp32c2/src/interrupt_core0/cache_ia_int_map.rs index 98f126fd61..8e3e56a5d6 100644 --- a/esp32c2/src/interrupt_core0/cache_ia_int_map.rs +++ b/esp32c2/src/interrupt_core0/cache_ia_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn cache_ia_int_map(&mut self) -> CACHE_IA_INT_MAP_W { CACHE_IA_INT_MAP_W::new(self, 0) } diff --git a/esp32c2/src/interrupt_core0/clock_gate.rs b/esp32c2/src/interrupt_core0/clock_gate.rs index 1f561ef500..6191572643 100644 --- a/esp32c2/src/interrupt_core0/clock_gate.rs +++ b/esp32c2/src/interrupt_core0/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Need add description"] #[inline(always)] - #[must_use] pub fn reg_clk_en(&mut self) -> REG_CLK_EN_W { REG_CLK_EN_W::new(self, 0) } diff --git a/esp32c2/src/interrupt_core0/coex_int_map.rs b/esp32c2/src/interrupt_core0/coex_int_map.rs index e9d0cce33b..4e1050a691 100644 --- a/esp32c2/src/interrupt_core0/coex_int_map.rs +++ b/esp32c2/src/interrupt_core0/coex_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn coex_int_map(&mut self) -> COEX_INT_MAP_W { COEX_INT_MAP_W::new(self, 0) } diff --git a/esp32c2/src/interrupt_core0/core_0_pif_pms_monitor_violate_size_intr_map.rs b/esp32c2/src/interrupt_core0/core_0_pif_pms_monitor_violate_size_intr_map.rs index b832f97e01..3d9d43e7d6 100644 --- a/esp32c2/src/interrupt_core0/core_0_pif_pms_monitor_violate_size_intr_map.rs +++ b/esp32c2/src/interrupt_core0/core_0_pif_pms_monitor_violate_size_intr_map.rs @@ -29,7 +29,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_monitor_violate_size_intr_map( &mut self, ) -> CORE_0_PIF_PMS_MONITOR_VIOLATE_SIZE_INTR_MAP_W< diff --git a/esp32c2/src/interrupt_core0/cpu_int_clear.rs b/esp32c2/src/interrupt_core0/cpu_int_clear.rs index c15ac70904..c16b116186 100644 --- a/esp32c2/src/interrupt_core0/cpu_int_clear.rs +++ b/esp32c2/src/interrupt_core0/cpu_int_clear.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Need add description"] #[inline(always)] - #[must_use] pub fn cpu_int_clear(&mut self) -> CPU_INT_CLEAR_W { CPU_INT_CLEAR_W::new(self, 0) } diff --git a/esp32c2/src/interrupt_core0/cpu_int_enable.rs b/esp32c2/src/interrupt_core0/cpu_int_enable.rs index 73c35cd0af..95c58938bc 100644 --- a/esp32c2/src/interrupt_core0/cpu_int_enable.rs +++ b/esp32c2/src/interrupt_core0/cpu_int_enable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Need add description"] #[inline(always)] - #[must_use] pub fn cpu_int_enable(&mut self) -> CPU_INT_ENABLE_W { CPU_INT_ENABLE_W::new(self, 0) } diff --git a/esp32c2/src/interrupt_core0/cpu_int_pri.rs b/esp32c2/src/interrupt_core0/cpu_int_pri.rs index 754c24efec..d4e8054995 100644 --- a/esp32c2/src/interrupt_core0/cpu_int_pri.rs +++ b/esp32c2/src/interrupt_core0/cpu_int_pri.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Need add description"] #[inline(always)] - #[must_use] pub fn map(&mut self) -> MAP_W { MAP_W::new(self, 0) } diff --git a/esp32c2/src/interrupt_core0/cpu_int_thresh.rs b/esp32c2/src/interrupt_core0/cpu_int_thresh.rs index e4e8065d02..01112f082a 100644 --- a/esp32c2/src/interrupt_core0/cpu_int_thresh.rs +++ b/esp32c2/src/interrupt_core0/cpu_int_thresh.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Need add description"] #[inline(always)] - #[must_use] pub fn cpu_int_thresh(&mut self) -> CPU_INT_THRESH_W { CPU_INT_THRESH_W::new(self, 0) } diff --git a/esp32c2/src/interrupt_core0/cpu_int_type.rs b/esp32c2/src/interrupt_core0/cpu_int_type.rs index fd03fef45d..5d8df7577b 100644 --- a/esp32c2/src/interrupt_core0/cpu_int_type.rs +++ b/esp32c2/src/interrupt_core0/cpu_int_type.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Need add description"] #[inline(always)] - #[must_use] pub fn cpu_int_type(&mut self) -> CPU_INT_TYPE_W { CPU_INT_TYPE_W::new(self, 0) } diff --git a/esp32c2/src/interrupt_core0/cpu_intr_from_cpu_0_map.rs b/esp32c2/src/interrupt_core0/cpu_intr_from_cpu_0_map.rs index 6bf324fcff..5b04a44dcd 100644 --- a/esp32c2/src/interrupt_core0/cpu_intr_from_cpu_0_map.rs +++ b/esp32c2/src/interrupt_core0/cpu_intr_from_cpu_0_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_0_map( &mut self, ) -> CPU_INTR_FROM_CPU_0_MAP_W { diff --git a/esp32c2/src/interrupt_core0/cpu_intr_from_cpu_1_map.rs b/esp32c2/src/interrupt_core0/cpu_intr_from_cpu_1_map.rs index 715d423b13..01ace9cdbf 100644 --- a/esp32c2/src/interrupt_core0/cpu_intr_from_cpu_1_map.rs +++ b/esp32c2/src/interrupt_core0/cpu_intr_from_cpu_1_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_1_map( &mut self, ) -> CPU_INTR_FROM_CPU_1_MAP_W { diff --git a/esp32c2/src/interrupt_core0/cpu_intr_from_cpu_2_map.rs b/esp32c2/src/interrupt_core0/cpu_intr_from_cpu_2_map.rs index 142a1e5b00..28bf5081c5 100644 --- a/esp32c2/src/interrupt_core0/cpu_intr_from_cpu_2_map.rs +++ b/esp32c2/src/interrupt_core0/cpu_intr_from_cpu_2_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_2_map( &mut self, ) -> CPU_INTR_FROM_CPU_2_MAP_W { diff --git a/esp32c2/src/interrupt_core0/cpu_intr_from_cpu_3_map.rs b/esp32c2/src/interrupt_core0/cpu_intr_from_cpu_3_map.rs index 00b228fa29..938d1f836e 100644 --- a/esp32c2/src/interrupt_core0/cpu_intr_from_cpu_3_map.rs +++ b/esp32c2/src/interrupt_core0/cpu_intr_from_cpu_3_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_3_map( &mut self, ) -> CPU_INTR_FROM_CPU_3_MAP_W { diff --git a/esp32c2/src/interrupt_core0/dma_ch0_int_map.rs b/esp32c2/src/interrupt_core0/dma_ch0_int_map.rs index f9698d8c02..35d9d860ac 100644 --- a/esp32c2/src/interrupt_core0/dma_ch0_int_map.rs +++ b/esp32c2/src/interrupt_core0/dma_ch0_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn dma_ch0_int_map(&mut self) -> DMA_CH0_INT_MAP_W { DMA_CH0_INT_MAP_W::new(self, 0) } diff --git a/esp32c2/src/interrupt_core0/ecc_int_map.rs b/esp32c2/src/interrupt_core0/ecc_int_map.rs index fb6e1260da..412ed259e0 100644 --- a/esp32c2/src/interrupt_core0/ecc_int_map.rs +++ b/esp32c2/src/interrupt_core0/ecc_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn ecc_int_map(&mut self) -> ECC_INT_MAP_W { ECC_INT_MAP_W::new(self, 0) } diff --git a/esp32c2/src/interrupt_core0/efuse_int_map.rs b/esp32c2/src/interrupt_core0/efuse_int_map.rs index ce851e89e5..bc31ca09e7 100644 --- a/esp32c2/src/interrupt_core0/efuse_int_map.rs +++ b/esp32c2/src/interrupt_core0/efuse_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn efuse_int_map(&mut self) -> EFUSE_INT_MAP_W { EFUSE_INT_MAP_W::new(self, 0) } diff --git a/esp32c2/src/interrupt_core0/gpio_interrupt_pro_map.rs b/esp32c2/src/interrupt_core0/gpio_interrupt_pro_map.rs index aceeda82d7..6b93e30195 100644 --- a/esp32c2/src/interrupt_core0/gpio_interrupt_pro_map.rs +++ b/esp32c2/src/interrupt_core0/gpio_interrupt_pro_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn gpio_interrupt_pro_map( &mut self, ) -> GPIO_INTERRUPT_PRO_MAP_W { diff --git a/esp32c2/src/interrupt_core0/gpio_interrupt_pro_nmi_map.rs b/esp32c2/src/interrupt_core0/gpio_interrupt_pro_nmi_map.rs index 6ac69d37c1..372b45b6e1 100644 --- a/esp32c2/src/interrupt_core0/gpio_interrupt_pro_nmi_map.rs +++ b/esp32c2/src/interrupt_core0/gpio_interrupt_pro_nmi_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn gpio_interrupt_pro_nmi_map( &mut self, ) -> GPIO_INTERRUPT_PRO_NMI_MAP_W { diff --git a/esp32c2/src/interrupt_core0/i2c_ext0_intr_map.rs b/esp32c2/src/interrupt_core0/i2c_ext0_intr_map.rs index 133232eb50..64ca2bff46 100644 --- a/esp32c2/src/interrupt_core0/i2c_ext0_intr_map.rs +++ b/esp32c2/src/interrupt_core0/i2c_ext0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn i2c_ext0_intr_map(&mut self) -> I2C_EXT0_INTR_MAP_W { I2C_EXT0_INTR_MAP_W::new(self, 0) } diff --git a/esp32c2/src/interrupt_core0/i2c_mst_int_map.rs b/esp32c2/src/interrupt_core0/i2c_mst_int_map.rs index 4ff2b0a585..a305aa1e45 100644 --- a/esp32c2/src/interrupt_core0/i2c_mst_int_map.rs +++ b/esp32c2/src/interrupt_core0/i2c_mst_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn i2c_mst_int_map(&mut self) -> I2C_MST_INT_MAP_W { I2C_MST_INT_MAP_W::new(self, 0) } diff --git a/esp32c2/src/interrupt_core0/icache_preload_int_map.rs b/esp32c2/src/interrupt_core0/icache_preload_int_map.rs index c902a5b3b4..7de0420ea5 100644 --- a/esp32c2/src/interrupt_core0/icache_preload_int_map.rs +++ b/esp32c2/src/interrupt_core0/icache_preload_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn icache_preload_int_map( &mut self, ) -> ICACHE_PRELOAD_INT_MAP_W { diff --git a/esp32c2/src/interrupt_core0/icache_sync_int_map.rs b/esp32c2/src/interrupt_core0/icache_sync_int_map.rs index 2f1e050aff..33e5ca92db 100644 --- a/esp32c2/src/interrupt_core0/icache_sync_int_map.rs +++ b/esp32c2/src/interrupt_core0/icache_sync_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn icache_sync_int_map(&mut self) -> ICACHE_SYNC_INT_MAP_W { ICACHE_SYNC_INT_MAP_W::new(self, 0) } diff --git a/esp32c2/src/interrupt_core0/interrupt_reg_date.rs b/esp32c2/src/interrupt_core0/interrupt_reg_date.rs index cb3f9060b3..06a4a24492 100644 --- a/esp32c2/src/interrupt_core0/interrupt_reg_date.rs +++ b/esp32c2/src/interrupt_core0/interrupt_reg_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Need add description"] #[inline(always)] - #[must_use] pub fn interrupt_reg_date(&mut self) -> INTERRUPT_REG_DATE_W { INTERRUPT_REG_DATE_W::new(self, 0) } diff --git a/esp32c2/src/interrupt_core0/ledc_int_map.rs b/esp32c2/src/interrupt_core0/ledc_int_map.rs index 51f5174bd5..2a1705b49f 100644 --- a/esp32c2/src/interrupt_core0/ledc_int_map.rs +++ b/esp32c2/src/interrupt_core0/ledc_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn ledc_int_map(&mut self) -> LEDC_INT_MAP_W { LEDC_INT_MAP_W::new(self, 0) } diff --git a/esp32c2/src/interrupt_core0/lp_timer_int_map.rs b/esp32c2/src/interrupt_core0/lp_timer_int_map.rs index 435d6c24a8..b41a1c1a06 100644 --- a/esp32c2/src/interrupt_core0/lp_timer_int_map.rs +++ b/esp32c2/src/interrupt_core0/lp_timer_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn lp_timer_int_map(&mut self) -> LP_TIMER_INT_MAP_W { LP_TIMER_INT_MAP_W::new(self, 0) } diff --git a/esp32c2/src/interrupt_core0/mac_intr_map.rs b/esp32c2/src/interrupt_core0/mac_intr_map.rs index ffce933e22..5aa63c523f 100644 --- a/esp32c2/src/interrupt_core0/mac_intr_map.rs +++ b/esp32c2/src/interrupt_core0/mac_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn wifi_mac_int_map(&mut self) -> WIFI_MAC_INT_MAP_W { WIFI_MAC_INT_MAP_W::new(self, 0) } diff --git a/esp32c2/src/interrupt_core0/rtc_core_intr_map.rs b/esp32c2/src/interrupt_core0/rtc_core_intr_map.rs index c9a12e17bc..030c5905d0 100644 --- a/esp32c2/src/interrupt_core0/rtc_core_intr_map.rs +++ b/esp32c2/src/interrupt_core0/rtc_core_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn rtc_core_intr_map(&mut self) -> RTC_CORE_INTR_MAP_W { RTC_CORE_INTR_MAP_W::new(self, 0) } diff --git a/esp32c2/src/interrupt_core0/sha_int_map.rs b/esp32c2/src/interrupt_core0/sha_int_map.rs index e231247dae..c1aba55fc8 100644 --- a/esp32c2/src/interrupt_core0/sha_int_map.rs +++ b/esp32c2/src/interrupt_core0/sha_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn sha_int_map(&mut self) -> SHA_INT_MAP_W { SHA_INT_MAP_W::new(self, 0) } diff --git a/esp32c2/src/interrupt_core0/spi_intr_1_map.rs b/esp32c2/src/interrupt_core0/spi_intr_1_map.rs index f31c00fd6d..a1f5f55ad5 100644 --- a/esp32c2/src/interrupt_core0/spi_intr_1_map.rs +++ b/esp32c2/src/interrupt_core0/spi_intr_1_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn spi_intr_1_map(&mut self) -> SPI_INTR_1_MAP_W { SPI_INTR_1_MAP_W::new(self, 0) } diff --git a/esp32c2/src/interrupt_core0/spi_intr_2_map.rs b/esp32c2/src/interrupt_core0/spi_intr_2_map.rs index 26f24c404a..6d288d1a78 100644 --- a/esp32c2/src/interrupt_core0/spi_intr_2_map.rs +++ b/esp32c2/src/interrupt_core0/spi_intr_2_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn spi_intr_2_map(&mut self) -> SPI_INTR_2_MAP_W { SPI_INTR_2_MAP_W::new(self, 0) } diff --git a/esp32c2/src/interrupt_core0/spi_mem_reject_intr_map.rs b/esp32c2/src/interrupt_core0/spi_mem_reject_intr_map.rs index 72b13925fd..b508eab547 100644 --- a/esp32c2/src/interrupt_core0/spi_mem_reject_intr_map.rs +++ b/esp32c2/src/interrupt_core0/spi_mem_reject_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn spi_mem_reject_intr_map( &mut self, ) -> SPI_MEM_REJECT_INTR_MAP_W { diff --git a/esp32c2/src/interrupt_core0/systimer_target0_int_map.rs b/esp32c2/src/interrupt_core0/systimer_target0_int_map.rs index f2a81be3eb..79bf59607d 100644 --- a/esp32c2/src/interrupt_core0/systimer_target0_int_map.rs +++ b/esp32c2/src/interrupt_core0/systimer_target0_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn systimer_target0_int_map( &mut self, ) -> SYSTIMER_TARGET0_INT_MAP_W { diff --git a/esp32c2/src/interrupt_core0/systimer_target1_int_map.rs b/esp32c2/src/interrupt_core0/systimer_target1_int_map.rs index a8001090e0..5c412cfe2d 100644 --- a/esp32c2/src/interrupt_core0/systimer_target1_int_map.rs +++ b/esp32c2/src/interrupt_core0/systimer_target1_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn systimer_target1_int_map( &mut self, ) -> SYSTIMER_TARGET1_INT_MAP_W { diff --git a/esp32c2/src/interrupt_core0/systimer_target2_int_map.rs b/esp32c2/src/interrupt_core0/systimer_target2_int_map.rs index f7a1af412d..2e4e665116 100644 --- a/esp32c2/src/interrupt_core0/systimer_target2_int_map.rs +++ b/esp32c2/src/interrupt_core0/systimer_target2_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn systimer_target2_int_map( &mut self, ) -> SYSTIMER_TARGET2_INT_MAP_W { diff --git a/esp32c2/src/interrupt_core0/tg_t0_int_map.rs b/esp32c2/src/interrupt_core0/tg_t0_int_map.rs index 614eb7cb6d..10ad551419 100644 --- a/esp32c2/src/interrupt_core0/tg_t0_int_map.rs +++ b/esp32c2/src/interrupt_core0/tg_t0_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn tg_t0_int_map(&mut self) -> TG_T0_INT_MAP_W { TG_T0_INT_MAP_W::new(self, 0) } diff --git a/esp32c2/src/interrupt_core0/tg_wdt_int_map.rs b/esp32c2/src/interrupt_core0/tg_wdt_int_map.rs index fb0164a574..07196b5201 100644 --- a/esp32c2/src/interrupt_core0/tg_wdt_int_map.rs +++ b/esp32c2/src/interrupt_core0/tg_wdt_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn tg_wdt_int_map(&mut self) -> TG_WDT_INT_MAP_W { TG_WDT_INT_MAP_W::new(self, 0) } diff --git a/esp32c2/src/interrupt_core0/uart1_intr_map.rs b/esp32c2/src/interrupt_core0/uart1_intr_map.rs index 2458fd7d23..c030456d86 100644 --- a/esp32c2/src/interrupt_core0/uart1_intr_map.rs +++ b/esp32c2/src/interrupt_core0/uart1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn uart1_intr_map(&mut self) -> UART1_INTR_MAP_W { UART1_INTR_MAP_W::new(self, 0) } diff --git a/esp32c2/src/interrupt_core0/uart_intr_map.rs b/esp32c2/src/interrupt_core0/uart_intr_map.rs index e0ce09f53d..8eebc0516a 100644 --- a/esp32c2/src/interrupt_core0/uart_intr_map.rs +++ b/esp32c2/src/interrupt_core0/uart_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn uart_intr_map(&mut self) -> UART_INTR_MAP_W { UART_INTR_MAP_W::new(self, 0) } diff --git a/esp32c2/src/interrupt_core0/wifi_bb_int_map.rs b/esp32c2/src/interrupt_core0/wifi_bb_int_map.rs index e93f8b0f78..40c054d60f 100644 --- a/esp32c2/src/interrupt_core0/wifi_bb_int_map.rs +++ b/esp32c2/src/interrupt_core0/wifi_bb_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn wifi_bb_int_map(&mut self) -> WIFI_BB_INT_MAP_W { WIFI_BB_INT_MAP_W::new(self, 0) } diff --git a/esp32c2/src/interrupt_core0/wifi_mac_nmi_map.rs b/esp32c2/src/interrupt_core0/wifi_mac_nmi_map.rs index 00f603e233..9d5a81b9bd 100644 --- a/esp32c2/src/interrupt_core0/wifi_mac_nmi_map.rs +++ b/esp32c2/src/interrupt_core0/wifi_mac_nmi_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn wifi_mac_nmi_map(&mut self) -> WIFI_MAC_NMI_MAP_W { WIFI_MAC_NMI_MAP_W::new(self, 0) } diff --git a/esp32c2/src/interrupt_core0/wifi_pwr_int_map.rs b/esp32c2/src/interrupt_core0/wifi_pwr_int_map.rs index 83195e7743..5ce336f2e9 100644 --- a/esp32c2/src/interrupt_core0/wifi_pwr_int_map.rs +++ b/esp32c2/src/interrupt_core0/wifi_pwr_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn wifi_pwr_int_map(&mut self) -> WIFI_PWR_INT_MAP_W { WIFI_PWR_INT_MAP_W::new(self, 0) } diff --git a/esp32c2/src/io_mux/date.rs b/esp32c2/src/io_mux/date.rs index 6c23daa34e..3586884bab 100644 --- a/esp32c2/src/io_mux/date.rs +++ b/esp32c2/src/io_mux/date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Version control register"] #[inline(always)] - #[must_use] pub fn reg_date(&mut self) -> REG_DATE_W { REG_DATE_W::new(self, 0) } diff --git a/esp32c2/src/io_mux/gpio.rs b/esp32c2/src/io_mux/gpio.rs index 95ec7dc40c..1717a05b98 100644 --- a/esp32c2/src/io_mux/gpio.rs +++ b/esp32c2/src/io_mux/gpio.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: output enabled; 0: output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in pad mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad in sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. 0: ~5 mA; 1: ~10mA; 2: ~20mA; 3: ~40mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1; 1: Select Function 2; etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled; 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32c2/src/io_mux/pin_ctrl.rs b/esp32c2/src/io_mux/pin_ctrl.rs index c42f8b637c..ff6d6809e9 100644 --- a/esp32c2/src/io_mux/pin_ctrl.rs +++ b/esp32c2/src/io_mux/pin_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - If you want to output clock for I2S to CLK_OUT_out1, set this register to 0x0. CLK_OUT_out1 can be found in peripheral output signals."] #[inline(always)] - #[must_use] pub fn clk_out1(&mut self) -> CLK_OUT1_W { CLK_OUT1_W::new(self, 0) } #[doc = "Bits 4:7 - If you want to output clock for I2S to CLK_OUT_out2, set this register to 0x0. CLK_OUT_out2 can be found in peripheral output signals."] #[inline(always)] - #[must_use] pub fn clk_out2(&mut self) -> CLK_OUT2_W { CLK_OUT2_W::new(self, 4) } #[doc = "Bits 8:11 - If you want to output clock for I2S to CLK_OUT_out3, set this register to 0x0. CLK_OUT_out3 can be found in peripheral output signals."] #[inline(always)] - #[must_use] pub fn clk_out3(&mut self) -> CLK_OUT3_W { CLK_OUT3_W::new(self, 8) } diff --git a/esp32c2/src/ledc/ch/conf0.rs b/esp32c2/src/ledc/ch/conf0.rs index cb75e506d6..ab42b42ed6 100644 --- a/esp32c2/src/ledc/ch/conf0.rs +++ b/esp32c2/src/ledc/ch/conf0.rs @@ -68,43 +68,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - This field is used to select one of timers for channel %s. 0: select timer0; 1: select timer1; 2: select timer2; 3: select timer3"] #[inline(always)] - #[must_use] pub fn timer_sel(&mut self) -> TIMER_SEL_W { TIMER_SEL_W::new(self, 0) } #[doc = "Bit 2 - Set this bit to enable signal output on channel %s."] #[inline(always)] - #[must_use] pub fn sig_out_en(&mut self) -> SIG_OUT_EN_W { SIG_OUT_EN_W::new(self, 2) } #[doc = "Bit 3 - This bit is used to control the output value when channel %s is inactive (when LEDC_SIG_OUT_EN_CH%s is 0)."] #[inline(always)] - #[must_use] pub fn idle_lv(&mut self) -> IDLE_LV_W { IDLE_LV_W::new(self, 3) } #[doc = "Bit 4 - This bit is used to update LEDC_HPOINT_CH%s, LEDC_DUTY_START_CH%s, LEDC_SIG_OUT_EN_CH%s, LEDC_TIMER_SEL_CH%s, LEDC_DUTY_NUM_CH%s, LEDC_DUTY_CYCLE_CH%s, LEDC_DUTY_SCALE_CH%s, LEDC_DUTY_INC_CH%s, and LEDC_OVF_CNT_EN_CH%s fields for channel %s, and will be automatically cleared by hardware."] #[inline(always)] - #[must_use] pub fn para_up(&mut self) -> PARA_UP_W { PARA_UP_W::new(self, 4) } #[doc = "Bits 5:14 - This register is used to configure the maximum times of overflow minus 1. The LEDC_OVF_CNT_CH%s_INT interrupt will be triggered when channel %s overflows for (LEDC_OVF_NUM_CH%s + 1) times."] #[inline(always)] - #[must_use] pub fn ovf_num(&mut self) -> OVF_NUM_W { OVF_NUM_W::new(self, 5) } #[doc = "Bit 15 - This bit is used to enable the ovf_cnt of channel %s."] #[inline(always)] - #[must_use] pub fn ovf_cnt_en(&mut self) -> OVF_CNT_EN_W { OVF_CNT_EN_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to reset the ovf_cnt of channel %s."] #[inline(always)] - #[must_use] pub fn ovf_cnt_reset(&mut self) -> OVF_CNT_RESET_W { OVF_CNT_RESET_W::new(self, 16) } diff --git a/esp32c2/src/ledc/ch/conf1.rs b/esp32c2/src/ledc/ch/conf1.rs index 6e9b61ddc4..e4c99f9987 100644 --- a/esp32c2/src/ledc/ch/conf1.rs +++ b/esp32c2/src/ledc/ch/conf1.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - This register is used to configure the changing step scale of duty on channel %s."] #[inline(always)] - #[must_use] pub fn duty_scale(&mut self) -> DUTY_SCALE_W { DUTY_SCALE_W::new(self, 0) } #[doc = "Bits 10:19 - The duty will change every LEDC_DUTY_CYCLE_CH%s on channel %s."] #[inline(always)] - #[must_use] pub fn duty_cycle(&mut self) -> DUTY_CYCLE_W { DUTY_CYCLE_W::new(self, 10) } #[doc = "Bits 20:29 - This register is used to control the number of times the duty cycle will be changed."] #[inline(always)] - #[must_use] pub fn duty_num(&mut self) -> DUTY_NUM_W { DUTY_NUM_W::new(self, 20) } #[doc = "Bit 30 - This register is used to increase or decrease the duty of output signal on channel %s. 1: Increase; 0: Decrease."] #[inline(always)] - #[must_use] pub fn duty_inc(&mut self) -> DUTY_INC_W { DUTY_INC_W::new(self, 30) } #[doc = "Bit 31 - Other configured fields in LEDC_CH%s_CONF1_REG will start to take effect when this bit is set to 1."] #[inline(always)] - #[must_use] pub fn duty_start(&mut self) -> DUTY_START_W { DUTY_START_W::new(self, 31) } diff --git a/esp32c2/src/ledc/ch/duty.rs b/esp32c2/src/ledc/ch/duty.rs index 37070b8030..5f06a74543 100644 --- a/esp32c2/src/ledc/ch/duty.rs +++ b/esp32c2/src/ledc/ch/duty.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:18 - This register is used to change the output duty by controlling the Lpoint. The output value turns to low when the selected timers has reached the Lpoint."] #[inline(always)] - #[must_use] pub fn duty(&mut self) -> DUTY_W { DUTY_W::new(self, 0) } diff --git a/esp32c2/src/ledc/ch/hpoint.rs b/esp32c2/src/ledc/ch/hpoint.rs index 6e7c457c81..e5ae51d75e 100644 --- a/esp32c2/src/ledc/ch/hpoint.rs +++ b/esp32c2/src/ledc/ch/hpoint.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - The output value changes to high when the selected timers has reached the value specified by this register."] #[inline(always)] - #[must_use] pub fn hpoint(&mut self) -> HPOINT_W { HPOINT_W::new(self, 0) } diff --git a/esp32c2/src/ledc/conf.rs b/esp32c2/src/ledc/conf.rs index eca3d54c26..4210ff9bdc 100644 --- a/esp32c2/src/ledc/conf.rs +++ b/esp32c2/src/ledc/conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - This bit is used to select clock source for the 4 timers . 2'd1: APB_CLK 2'd2: RTC8M_CLK 2'd3: XTAL_CLK"] #[inline(always)] - #[must_use] pub fn apb_clk_sel(&mut self) -> APB_CLK_SEL_W { APB_CLK_SEL_W::new(self, 0) } #[doc = "Bit 31 - This bit is used to control clock. 1'b1: Force clock on for register. 1'h0: Support clock only when application writes registers."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32c2/src/ledc/date.rs b/esp32c2/src/ledc/date.rs index 1ac136f5fc..4c390de2a0 100644 --- a/esp32c2/src/ledc/date.rs +++ b/esp32c2/src/ledc/date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This is the version control register."] #[inline(always)] - #[must_use] pub fn ledc_date(&mut self) -> LEDC_DATE_W { LEDC_DATE_W::new(self, 0) } diff --git a/esp32c2/src/ledc/int_clr.rs b/esp32c2/src/ledc/int_clr.rs index 2295e9bc1e..8eebf5a6cb 100644 --- a/esp32c2/src/ledc/int_clr.rs +++ b/esp32c2/src/ledc/int_clr.rs @@ -17,7 +17,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TIMER0_OVF` field.
"] #[inline(always)] - #[must_use] pub fn timer_ovf(&mut self, n: u8) -> TIMER_OVF_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -25,25 +24,21 @@ impl W { } #[doc = "Bit 0 - Set this bit to clear the TIMER0_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer0_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the TIMER1_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer1_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the TIMER2_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer2_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the TIMER3_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer3_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 3) } @@ -51,7 +46,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `DUTY_CHNG_END_CH0` field.
"] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch(&mut self, n: u8) -> DUTY_CHNG_END_CH_W { #[allow(clippy::no_effect)] [(); 6][n as usize]; @@ -59,37 +53,31 @@ impl W { } #[doc = "Bit 4 - Set this bit to clear the DUTY_CHNG_END_CH0 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch0(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the DUTY_CHNG_END_CH1 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch1(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the DUTY_CHNG_END_CH2 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch2(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the DUTY_CHNG_END_CH3 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch3(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the DUTY_CHNG_END_CH4 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch4(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear the DUTY_CHNG_END_CH5 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch5(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 9) } @@ -97,7 +85,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `OVF_CNT_CH0` field.
"] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch(&mut self, n: u8) -> OVF_CNT_CH_W { #[allow(clippy::no_effect)] [(); 6][n as usize]; @@ -105,37 +92,31 @@ impl W { } #[doc = "Bit 10 - Set this bit to clear the OVF_CNT_CH0 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch0(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear the OVF_CNT_CH1 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch1(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to clear the OVF_CNT_CH2 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch2(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to clear the OVF_CNT_CH3 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch3(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to clear the OVF_CNT_CH4 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch4(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to clear the OVF_CNT_CH5 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch5(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 15) } @@ -149,7 +130,7 @@ impl crate::RegisterSpec for INT_CLR_SPEC { impl crate::Writable for INT_CLR_SPEC { type Safety = crate::Unsafe; const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0x0411; + const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0xffff; } #[doc = "`reset()` method sets INT_CLR to value 0"] impl crate::Resettable for INT_CLR_SPEC { diff --git a/esp32c2/src/ledc/int_ena.rs b/esp32c2/src/ledc/int_ena.rs index 5d123aa158..edd0c6cc73 100644 --- a/esp32c2/src/ledc/int_ena.rs +++ b/esp32c2/src/ledc/int_ena.rs @@ -169,7 +169,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TIMER0_OVF` field.
"] #[inline(always)] - #[must_use] pub fn timer_ovf(&mut self, n: u8) -> TIMER_OVF_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -177,25 +176,21 @@ impl W { } #[doc = "Bit 0 - The interrupt enable bit for the TIMER0_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer0_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the TIMER1_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer1_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the TIMER2_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer2_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the TIMER3_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer3_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 3) } @@ -203,7 +198,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `DUTY_CHNG_END_CH0` field.
"] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch(&mut self, n: u8) -> DUTY_CHNG_END_CH_W { #[allow(clippy::no_effect)] [(); 6][n as usize]; @@ -211,37 +205,31 @@ impl W { } #[doc = "Bit 4 - The interrupt enable bit for the DUTY_CHNG_END_CH0 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch0(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 4) } #[doc = "Bit 5 - The interrupt enable bit for the DUTY_CHNG_END_CH1 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch1(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 5) } #[doc = "Bit 6 - The interrupt enable bit for the DUTY_CHNG_END_CH2 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch2(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 6) } #[doc = "Bit 7 - The interrupt enable bit for the DUTY_CHNG_END_CH3 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch3(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 7) } #[doc = "Bit 8 - The interrupt enable bit for the DUTY_CHNG_END_CH4 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch4(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 8) } #[doc = "Bit 9 - The interrupt enable bit for the DUTY_CHNG_END_CH5 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch5(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 9) } @@ -249,7 +237,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `OVF_CNT_CH0` field.
"] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch(&mut self, n: u8) -> OVF_CNT_CH_W { #[allow(clippy::no_effect)] [(); 6][n as usize]; @@ -257,37 +244,31 @@ impl W { } #[doc = "Bit 10 - The interrupt enable bit for the OVF_CNT_CH0 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch0(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 10) } #[doc = "Bit 11 - The interrupt enable bit for the OVF_CNT_CH1 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch1(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 11) } #[doc = "Bit 12 - The interrupt enable bit for the OVF_CNT_CH2 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch2(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 12) } #[doc = "Bit 13 - The interrupt enable bit for the OVF_CNT_CH3 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch3(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 13) } #[doc = "Bit 14 - The interrupt enable bit for the OVF_CNT_CH4 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch4(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 14) } #[doc = "Bit 15 - The interrupt enable bit for the OVF_CNT_CH5 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch5(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 15) } diff --git a/esp32c2/src/ledc/int_raw.rs b/esp32c2/src/ledc/int_raw.rs index 699417f95c..bae3066525 100644 --- a/esp32c2/src/ledc/int_raw.rs +++ b/esp32c2/src/ledc/int_raw.rs @@ -169,7 +169,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TIMER0_OVF` field.
"] #[inline(always)] - #[must_use] pub fn timer_ovf(&mut self, n: u8) -> TIMER_OVF_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -177,25 +176,21 @@ impl W { } #[doc = "Bit 0 - Triggered when the timer0 has reached its maximum counter value."] #[inline(always)] - #[must_use] pub fn timer0_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 0) } #[doc = "Bit 1 - Triggered when the timer1 has reached its maximum counter value."] #[inline(always)] - #[must_use] pub fn timer1_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 1) } #[doc = "Bit 2 - Triggered when the timer2 has reached its maximum counter value."] #[inline(always)] - #[must_use] pub fn timer2_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 2) } #[doc = "Bit 3 - Triggered when the timer3 has reached its maximum counter value."] #[inline(always)] - #[must_use] pub fn timer3_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 3) } @@ -203,7 +198,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `DUTY_CHNG_END_CH0` field.
"] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch(&mut self, n: u8) -> DUTY_CHNG_END_CH_W { #[allow(clippy::no_effect)] [(); 6][n as usize]; @@ -211,37 +205,31 @@ impl W { } #[doc = "Bit 4 - Interrupt raw bit for channel 0. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch0(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 4) } #[doc = "Bit 5 - Interrupt raw bit for channel 1. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch1(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 5) } #[doc = "Bit 6 - Interrupt raw bit for channel 2. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch2(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 6) } #[doc = "Bit 7 - Interrupt raw bit for channel 3. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch3(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 7) } #[doc = "Bit 8 - Interrupt raw bit for channel 4. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch4(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 8) } #[doc = "Bit 9 - Interrupt raw bit for channel 5. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch5(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 9) } @@ -249,7 +237,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `OVF_CNT_CH0` field.
"] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch(&mut self, n: u8) -> OVF_CNT_CH_W { #[allow(clippy::no_effect)] [(); 6][n as usize]; @@ -257,37 +244,31 @@ impl W { } #[doc = "Bit 10 - Interrupt raw bit for channel 0. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch0(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 10) } #[doc = "Bit 11 - Interrupt raw bit for channel 1. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch1(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 11) } #[doc = "Bit 12 - Interrupt raw bit for channel 2. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch2(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 12) } #[doc = "Bit 13 - Interrupt raw bit for channel 3. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch3(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 13) } #[doc = "Bit 14 - Interrupt raw bit for channel 4. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch4(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 14) } #[doc = "Bit 15 - Interrupt raw bit for channel 5. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch5(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 15) } diff --git a/esp32c2/src/ledc/timer/conf.rs b/esp32c2/src/ledc/timer/conf.rs index 0932ec402d..9812cbaabe 100644 --- a/esp32c2/src/ledc/timer/conf.rs +++ b/esp32c2/src/ledc/timer/conf.rs @@ -66,37 +66,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - This register is used to control the range of the counter in timer %s."] #[inline(always)] - #[must_use] pub fn duty_res(&mut self) -> DUTY_RES_W { DUTY_RES_W::new(self, 0) } #[doc = "Bits 4:21 - This register is used to configure the divisor for the divider in timer %s. The least significant eight bits represent the fractional part."] #[inline(always)] - #[must_use] pub fn clk_div(&mut self) -> CLK_DIV_W { CLK_DIV_W::new(self, 4) } #[doc = "Bit 22 - This bit is used to suspend the counter in timer %s."] #[inline(always)] - #[must_use] pub fn pause(&mut self) -> PAUSE_W { PAUSE_W::new(self, 22) } #[doc = "Bit 23 - This bit is used to reset timer %s. The counter will show 0 after reset."] #[inline(always)] - #[must_use] pub fn rst(&mut self) -> RST_W { RST_W::new(self, 23) } #[doc = "Bit 24 - This bit is used to select clock for timer %s. When this bit is set to 1 LEDC_APB_CLK_SEL\\[1:0\\] should be 1, otherwise the timer clock may be not accurate. 1'h0: SLOW_CLK 1'h1: REF_TICK"] #[inline(always)] - #[must_use] pub fn tick_sel(&mut self) -> TICK_SEL_W { TICK_SEL_W::new(self, 24) } #[doc = "Bit 25 - Set this bit to update LEDC_CLK_DIV_TIMER%s and LEDC_TIMER%s_DUTY_RES."] #[inline(always)] - #[must_use] pub fn para_up(&mut self) -> PARA_UP_W { PARA_UP_W::new(self, 25) } diff --git a/esp32c2/src/lib.rs b/esp32c2/src/lib.rs index fa0541bf2c..6fd874e442 100644 --- a/esp32c2/src/lib.rs +++ b/esp32c2/src/lib.rs @@ -1,4 +1,4 @@ -#![doc = "Peripheral access API for ESP32-C2 microcontrollers (generated using svd2rust v0.33.4 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next] svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.33.4/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"] +#![doc = "Peripheral access API for ESP32-C2 microcontrollers (generated using svd2rust v0.34.0 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next] svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.34.0/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"] #![allow(non_camel_case_types)] #![allow(non_snake_case)] #![doc(html_logo_url = "https://avatars.githubusercontent.com/u/46717278")] diff --git a/esp32c2/src/modem_clkrst.rs b/esp32c2/src/modem_clkrst.rs index b71ee25efa..00da6fde01 100644 --- a/esp32c2/src/modem_clkrst.rs +++ b/esp32c2/src/modem_clkrst.rs @@ -27,12 +27,12 @@ impl RegisterBlock { #[doc = "0x0c - "] #[inline(always)] pub const fn date(&self) -> &DATE { - unsafe { &*(self as *const Self).cast::().add(12).cast() } + unsafe { &*core::ptr::from_ref(self).cast::().add(12).cast() } } #[doc = "0x0c - "] #[inline(always)] pub const fn ble_timer_clk_conf(&self) -> &BLE_TIMER_CLK_CONF { - unsafe { &*(self as *const Self).cast::().add(12).cast() } + unsafe { &*core::ptr::from_ref(self).cast::().add(12).cast() } } #[doc = "0x10 - "] #[inline(always)] diff --git a/esp32c2/src/modem_clkrst/ble_timer_clk_conf.rs b/esp32c2/src/modem_clkrst/ble_timer_clk_conf.rs index 1f1503ab82..5127598bed 100644 --- a/esp32c2/src/modem_clkrst/ble_timer_clk_conf.rs +++ b/esp32c2/src/modem_clkrst/ble_timer_clk_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - ."] #[inline(always)] - #[must_use] pub fn bletimer_use_xtal(&mut self) -> BLETIMER_USE_XTAL_W { BLETIMER_USE_XTAL_W::new(self, 0) } #[doc = "Bit 1 - ."] #[inline(always)] - #[must_use] pub fn bletimer_clk_is_active(&mut self) -> BLETIMER_CLK_IS_ACTIVE_W { BLETIMER_CLK_IS_ACTIVE_W::new(self, 1) } diff --git a/esp32c2/src/modem_clkrst/clk_conf.rs b/esp32c2/src/modem_clkrst/clk_conf.rs index a1604e9214..4b2de0893e 100644 --- a/esp32c2/src/modem_clkrst/clk_conf.rs +++ b/esp32c2/src/modem_clkrst/clk_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - ."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32c2/src/modem_clkrst/coex_lp_clk_conf.rs b/esp32c2/src/modem_clkrst/coex_lp_clk_conf.rs index abe48c1f39..f41eef1325 100644 --- a/esp32c2/src/modem_clkrst/coex_lp_clk_conf.rs +++ b/esp32c2/src/modem_clkrst/coex_lp_clk_conf.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - ."] #[inline(always)] - #[must_use] pub fn coex_lpclk_sel_rtc_slow(&mut self) -> COEX_LPCLK_SEL_RTC_SLOW_W { COEX_LPCLK_SEL_RTC_SLOW_W::new(self, 0) } #[doc = "Bit 1 - ."] #[inline(always)] - #[must_use] pub fn coex_lpclk_sel_8m(&mut self) -> COEX_LPCLK_SEL_8M_W { COEX_LPCLK_SEL_8M_W::new(self, 1) } #[doc = "Bit 2 - ."] #[inline(always)] - #[must_use] pub fn coex_lpclk_sel_xtal(&mut self) -> COEX_LPCLK_SEL_XTAL_W { COEX_LPCLK_SEL_XTAL_W::new(self, 2) } #[doc = "Bit 3 - ."] #[inline(always)] - #[must_use] pub fn coex_lpclk_sel_xtal32k(&mut self) -> COEX_LPCLK_SEL_XTAL32K_W { COEX_LPCLK_SEL_XTAL32K_W::new(self, 3) } #[doc = "Bits 4:11 - ."] #[inline(always)] - #[must_use] pub fn coex_lpclk_div_num(&mut self) -> COEX_LPCLK_DIV_NUM_W { COEX_LPCLK_DIV_NUM_W::new(self, 4) } diff --git a/esp32c2/src/modem_clkrst/date.rs b/esp32c2/src/modem_clkrst/date.rs index 2274aff1ed..4fa7648814 100644 --- a/esp32c2/src/modem_clkrst/date.rs +++ b/esp32c2/src/modem_clkrst/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - ."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c2/src/modem_clkrst/etm_clk_conf.rs b/esp32c2/src/modem_clkrst/etm_clk_conf.rs index b6ded6cd95..a3560ae516 100644 --- a/esp32c2/src/modem_clkrst/etm_clk_conf.rs +++ b/esp32c2/src/modem_clkrst/etm_clk_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - ."] #[inline(always)] - #[must_use] pub fn etm_clk_sel(&mut self) -> ETM_CLK_SEL_W { ETM_CLK_SEL_W::new(self, 0) } #[doc = "Bit 1 - ."] #[inline(always)] - #[must_use] pub fn etm_clk_active(&mut self) -> ETM_CLK_ACTIVE_W { ETM_CLK_ACTIVE_W::new(self, 1) } diff --git a/esp32c2/src/modem_clkrst/modem_lp_timer_conf.rs b/esp32c2/src/modem_clkrst/modem_lp_timer_conf.rs index 632cc77f89..33230eae4f 100644 --- a/esp32c2/src/modem_clkrst/modem_lp_timer_conf.rs +++ b/esp32c2/src/modem_clkrst/modem_lp_timer_conf.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - ."] #[inline(always)] - #[must_use] pub fn lp_timer_sel_rtc_slow(&mut self) -> LP_TIMER_SEL_RTC_SLOW_W { LP_TIMER_SEL_RTC_SLOW_W::new(self, 0) } #[doc = "Bit 1 - ."] #[inline(always)] - #[must_use] pub fn lp_timer_sel_8m(&mut self) -> LP_TIMER_SEL_8M_W { LP_TIMER_SEL_8M_W::new(self, 1) } #[doc = "Bit 2 - ."] #[inline(always)] - #[must_use] pub fn lp_timer_sel_xtal(&mut self) -> LP_TIMER_SEL_XTAL_W { LP_TIMER_SEL_XTAL_W::new(self, 2) } #[doc = "Bit 3 - ."] #[inline(always)] - #[must_use] pub fn lp_timer_sel_xtal32k(&mut self) -> LP_TIMER_SEL_XTAL32K_W { LP_TIMER_SEL_XTAL32K_W::new(self, 3) } #[doc = "Bits 4:11 - ."] #[inline(always)] - #[must_use] pub fn lp_timer_clk_div_num(&mut self) -> LP_TIMER_CLK_DIV_NUM_W { LP_TIMER_CLK_DIV_NUM_W::new(self, 4) } diff --git a/esp32c2/src/rtc_cntl/ana_conf.rs b/esp32c2/src/rtc_cntl/ana_conf.rs index 7e787e5775..47778d151d 100644 --- a/esp32c2/src/rtc_cntl/ana_conf.rs +++ b/esp32c2/src/rtc_cntl/ana_conf.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 18 - Need add desc"] #[inline(always)] - #[must_use] pub fn i2c_reset_por_force_pd(&mut self) -> I2C_RESET_POR_FORCE_PD_W { I2C_RESET_POR_FORCE_PD_W::new(self, 18) } #[doc = "Bit 19 - Need add desc"] #[inline(always)] - #[must_use] pub fn i2c_reset_por_force_pu(&mut self) -> I2C_RESET_POR_FORCE_PU_W { I2C_RESET_POR_FORCE_PU_W::new(self, 19) } #[doc = "Bit 22 - PLLA force power up"] #[inline(always)] - #[must_use] pub fn sar_i2c_pu(&mut self) -> SAR_I2C_PU_W { SAR_I2C_PU_W::new(self, 22) } #[doc = "Bit 23 - PLLA force power down"] #[inline(always)] - #[must_use] pub fn plla_force_pd(&mut self) -> PLLA_FORCE_PD_W { PLLA_FORCE_PD_W::new(self, 23) } #[doc = "Bit 24 - PLLA force power up"] #[inline(always)] - #[must_use] pub fn plla_force_pu(&mut self) -> PLLA_FORCE_PU_W { PLLA_FORCE_PU_W::new(self, 24) } #[doc = "Bit 25 - start BBPLL calibration during sleep"] #[inline(always)] - #[must_use] pub fn bbpll_cal_slp_start(&mut self) -> BBPLL_CAL_SLP_START_W { BBPLL_CAL_SLP_START_W::new(self, 25) } #[doc = "Bit 27 - 1: TXRF_I2C power up"] #[inline(always)] - #[must_use] pub fn txrf_i2c_pu(&mut self) -> TXRF_I2C_PU_W { TXRF_I2C_PU_W::new(self, 27) } #[doc = "Bit 28 - 1: RFRX_PBUS power up"] #[inline(always)] - #[must_use] pub fn rfrx_pbus_pu(&mut self) -> RFRX_PBUS_PU_W { RFRX_PBUS_PU_W::new(self, 28) } #[doc = "Bit 30 - 1: CKGEN_I2C power up"] #[inline(always)] - #[must_use] pub fn ckgen_i2c_pu(&mut self) -> CKGEN_I2C_PU_W { CKGEN_I2C_PU_W::new(self, 30) } #[doc = "Bit 31 - Need add desc"] #[inline(always)] - #[must_use] pub fn pll_i2c_pu(&mut self) -> PLL_I2C_PU_W { PLL_I2C_PU_W::new(self, 31) } diff --git a/esp32c2/src/rtc_cntl/bias_conf.rs b/esp32c2/src/rtc_cntl/bias_conf.rs index f636d39e03..719d7f9fb1 100644 --- a/esp32c2/src/rtc_cntl/bias_conf.rs +++ b/esp32c2/src/rtc_cntl/bias_conf.rs @@ -144,79 +144,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Need add desc"] #[inline(always)] - #[must_use] pub fn dg_vdd_drv_b_slp(&mut self) -> DG_VDD_DRV_B_SLP_W { DG_VDD_DRV_B_SLP_W::new(self, 0) } #[doc = "Bit 8 - Need add desc"] #[inline(always)] - #[must_use] pub fn dg_vdd_drv_b_slp_en(&mut self) -> DG_VDD_DRV_B_SLP_EN_W { DG_VDD_DRV_B_SLP_EN_W::new(self, 8) } #[doc = "Bit 10 - Need add desc"] #[inline(always)] - #[must_use] pub fn bias_buf_idle(&mut self) -> BIAS_BUF_IDLE_W { BIAS_BUF_IDLE_W::new(self, 10) } #[doc = "Bit 11 - Need add desc"] #[inline(always)] - #[must_use] pub fn bias_buf_wake(&mut self) -> BIAS_BUF_WAKE_W { BIAS_BUF_WAKE_W::new(self, 11) } #[doc = "Bit 12 - Need add desc"] #[inline(always)] - #[must_use] pub fn bias_buf_deep_slp(&mut self) -> BIAS_BUF_DEEP_SLP_W { BIAS_BUF_DEEP_SLP_W::new(self, 12) } #[doc = "Bit 13 - Need add desc"] #[inline(always)] - #[must_use] pub fn bias_buf_monitor(&mut self) -> BIAS_BUF_MONITOR_W { BIAS_BUF_MONITOR_W::new(self, 13) } #[doc = "Bit 14 - xpd cur when rtc in sleep_state"] #[inline(always)] - #[must_use] pub fn pd_cur_deep_slp(&mut self) -> PD_CUR_DEEP_SLP_W { PD_CUR_DEEP_SLP_W::new(self, 14) } #[doc = "Bit 15 - xpd cur when rtc in monitor state"] #[inline(always)] - #[must_use] pub fn pd_cur_monitor(&mut self) -> PD_CUR_MONITOR_W { PD_CUR_MONITOR_W::new(self, 15) } #[doc = "Bit 16 - bias_sleep when rtc in sleep_state"] #[inline(always)] - #[must_use] pub fn bias_sleep_deep_slp(&mut self) -> BIAS_SLEEP_DEEP_SLP_W { BIAS_SLEEP_DEEP_SLP_W::new(self, 16) } #[doc = "Bit 17 - bias_sleep when rtc in monitor state"] #[inline(always)] - #[must_use] pub fn bias_sleep_monitor(&mut self) -> BIAS_SLEEP_MONITOR_W { BIAS_SLEEP_MONITOR_W::new(self, 17) } #[doc = "Bits 18:21 - DBG_ATTEN when rtc in sleep state"] #[inline(always)] - #[must_use] pub fn dbg_atten_deep_slp(&mut self) -> DBG_ATTEN_DEEP_SLP_W { DBG_ATTEN_DEEP_SLP_W::new(self, 18) } #[doc = "Bits 22:25 - DBG_ATTEN when rtc in active state"] #[inline(always)] - #[must_use] pub fn dbg_atten_monitor(&mut self) -> DBG_ATTEN_MONITOR_W { DBG_ATTEN_MONITOR_W::new(self, 22) } #[doc = "Bits 26:29 - Need add desc"] #[inline(always)] - #[must_use] pub fn dbg_atten_active(&mut self) -> DBG_ATTEN_ACTIVE_W { DBG_ATTEN_ACTIVE_W::new(self, 26) } diff --git a/esp32c2/src/rtc_cntl/brown_out.rs b/esp32c2/src/rtc_cntl/brown_out.rs index 123b5cf862..29e46cbcd8 100644 --- a/esp32c2/src/rtc_cntl/brown_out.rs +++ b/esp32c2/src/rtc_cntl/brown_out.rs @@ -117,61 +117,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 4:13 - brown out interrupt wait cycles"] #[inline(always)] - #[must_use] pub fn brown_out_int_wait(&mut self) -> BROWN_OUT_INT_WAIT_W { BROWN_OUT_INT_WAIT_W::new(self, 4) } #[doc = "Bit 14 - enable close flash when brown out happens"] #[inline(always)] - #[must_use] pub fn brown_out_close_flash_ena(&mut self) -> BROWN_OUT_CLOSE_FLASH_ENA_W { BROWN_OUT_CLOSE_FLASH_ENA_W::new(self, 14) } #[doc = "Bit 15 - enable power down RF when brown out happens"] #[inline(always)] - #[must_use] pub fn brown_out_pd_rf_ena(&mut self) -> BROWN_OUT_PD_RF_ENA_W { BROWN_OUT_PD_RF_ENA_W::new(self, 15) } #[doc = "Bits 16:25 - brown out reset wait cycles"] #[inline(always)] - #[must_use] pub fn brown_out_rst_wait(&mut self) -> BROWN_OUT_RST_WAIT_W { BROWN_OUT_RST_WAIT_W::new(self, 16) } #[doc = "Bit 26 - enable brown out reset"] #[inline(always)] - #[must_use] pub fn brown_out_rst_ena(&mut self) -> BROWN_OUT_RST_ENA_W { BROWN_OUT_RST_ENA_W::new(self, 26) } #[doc = "Bit 27 - 1: 4-pos reset"] #[inline(always)] - #[must_use] pub fn brown_out_rst_sel(&mut self) -> BROWN_OUT_RST_SEL_W { BROWN_OUT_RST_SEL_W::new(self, 27) } #[doc = "Bit 28 - Need add desc"] #[inline(always)] - #[must_use] pub fn brown_out_ana_rst_en(&mut self) -> BROWN_OUT_ANA_RST_EN_W { BROWN_OUT_ANA_RST_EN_W::new(self, 28) } #[doc = "Bit 29 - clear brown out counter"] #[inline(always)] - #[must_use] pub fn brown_out_cnt_clr(&mut self) -> BROWN_OUT_CNT_CLR_W { BROWN_OUT_CNT_CLR_W::new(self, 29) } #[doc = "Bit 30 - enable brown out"] #[inline(always)] - #[must_use] pub fn brown_out_ena(&mut self) -> BROWN_OUT_ENA_W { BROWN_OUT_ENA_W::new(self, 30) } #[doc = "Bit 31 - Need add desc"] #[inline(always)] - #[must_use] pub fn det(&mut self) -> DET_W { DET_W::new(self, 31) } diff --git a/esp32c2/src/rtc_cntl/clk_conf.rs b/esp32c2/src/rtc_cntl/clk_conf.rs index bda76c1dac..30d7bfb15e 100644 --- a/esp32c2/src/rtc_cntl/clk_conf.rs +++ b/esp32c2/src/rtc_cntl/clk_conf.rs @@ -207,115 +207,96 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - Need add desc"] #[inline(always)] - #[must_use] pub fn efuse_clk_force_gating(&mut self) -> EFUSE_CLK_FORCE_GATING_W { EFUSE_CLK_FORCE_GATING_W::new(self, 1) } #[doc = "Bit 2 - Need add desc"] #[inline(always)] - #[must_use] pub fn efuse_clk_force_nogating(&mut self) -> EFUSE_CLK_FORCE_NOGATING_W { EFUSE_CLK_FORCE_NOGATING_W::new(self, 2) } #[doc = "Bit 3 - used to sync reg_ck8m_div_sel bus. Clear vld before set reg_ck8m_div_sel"] #[inline(always)] - #[must_use] pub fn ck8m_div_sel_vld(&mut self) -> CK8M_DIV_SEL_VLD_W { CK8M_DIV_SEL_VLD_W::new(self, 3) } #[doc = "Bits 4:5 - CK8M_D256_OUT divider. 00: div128"] #[inline(always)] - #[must_use] pub fn ck8m_div(&mut self) -> CK8M_DIV_W { CK8M_DIV_W::new(self, 4) } #[doc = "Bit 6 - disable CK8M and CK8M_D256_OUT"] #[inline(always)] - #[must_use] pub fn enb_ck8m(&mut self) -> ENB_CK8M_W { ENB_CK8M_W::new(self, 6) } #[doc = "Bit 7 - 1: CK8M_D256_OUT is actually CK8M"] #[inline(always)] - #[must_use] pub fn enb_ck8m_div(&mut self) -> ENB_CK8M_DIV_W { ENB_CK8M_DIV_W::new(self, 7) } #[doc = "Bit 8 - enable CK_XTAL_32K for digital core (no relationship with RTC core)"] #[inline(always)] - #[must_use] pub fn dig_xtal32k_en(&mut self) -> DIG_XTAL32K_EN_W { DIG_XTAL32K_EN_W::new(self, 8) } #[doc = "Bit 9 - enable CK8M_D256_OUT for digital core (no relationship with RTC core)"] #[inline(always)] - #[must_use] pub fn dig_clk8m_d256_en(&mut self) -> DIG_CLK8M_D256_EN_W { DIG_CLK8M_D256_EN_W::new(self, 9) } #[doc = "Bit 10 - enable CK8M for digital core (no relationship with RTC core)"] #[inline(always)] - #[must_use] pub fn dig_clk8m_en(&mut self) -> DIG_CLK8M_EN_W { DIG_CLK8M_EN_W::new(self, 10) } #[doc = "Bits 12:14 - divider = reg_ck8m_div_sel + 1"] #[inline(always)] - #[must_use] pub fn ck8m_div_sel(&mut self) -> CK8M_DIV_SEL_W { CK8M_DIV_SEL_W::new(self, 12) } #[doc = "Bit 15 - XTAL force no gating during sleep"] #[inline(always)] - #[must_use] pub fn xtal_force_nogating(&mut self) -> XTAL_FORCE_NOGATING_W { XTAL_FORCE_NOGATING_W::new(self, 15) } #[doc = "Bit 16 - CK8M force no gating during sleep"] #[inline(always)] - #[must_use] pub fn ck8m_force_nogating(&mut self) -> CK8M_FORCE_NOGATING_W { CK8M_FORCE_NOGATING_W::new(self, 16) } #[doc = "Bits 17:24 - CK8M_DFREQ"] #[inline(always)] - #[must_use] pub fn ck8m_dfreq(&mut self) -> CK8M_DFREQ_W { CK8M_DFREQ_W::new(self, 17) } #[doc = "Bit 25 - CK8M force power down"] #[inline(always)] - #[must_use] pub fn ck8m_force_pd(&mut self) -> CK8M_FORCE_PD_W { CK8M_FORCE_PD_W::new(self, 25) } #[doc = "Bit 26 - CK8M force power up"] #[inline(always)] - #[must_use] pub fn ck8m_force_pu(&mut self) -> CK8M_FORCE_PU_W { CK8M_FORCE_PU_W::new(self, 26) } #[doc = "Bit 27 - Need add desc"] #[inline(always)] - #[must_use] pub fn xtal_global_force_gating(&mut self) -> XTAL_GLOBAL_FORCE_GATING_W { XTAL_GLOBAL_FORCE_GATING_W::new(self, 27) } #[doc = "Bit 28 - Need add desc"] #[inline(always)] - #[must_use] pub fn xtal_global_force_nogating(&mut self) -> XTAL_GLOBAL_FORCE_NOGATING_W { XTAL_GLOBAL_FORCE_NOGATING_W::new(self, 28) } #[doc = "Bit 29 - fast_clk_rtc sel. 0: XTAL div 4"] #[inline(always)] - #[must_use] pub fn fast_clk_rtc_sel(&mut self) -> FAST_CLK_RTC_SEL_W { FAST_CLK_RTC_SEL_W::new(self, 29) } #[doc = "Bits 30:31 - Need add desc"] #[inline(always)] - #[must_use] pub fn ana_clk_rtc_sel(&mut self) -> ANA_CLK_RTC_SEL_W { ANA_CLK_RTC_SEL_W::new(self, 30) } diff --git a/esp32c2/src/rtc_cntl/cntl_date.rs b/esp32c2/src/rtc_cntl/cntl_date.rs index afdb9b7766..a644bfc294 100644 --- a/esp32c2/src/rtc_cntl/cntl_date.rs +++ b/esp32c2/src/rtc_cntl/cntl_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Need add desc"] #[inline(always)] - #[must_use] pub fn cntl_date(&mut self) -> CNTL_DATE_W { CNTL_DATE_W::new(self, 0) } diff --git a/esp32c2/src/rtc_cntl/cntl_dbg_map.rs b/esp32c2/src/rtc_cntl/cntl_dbg_map.rs index 6b8f605bdb..8f3c803f84 100644 --- a/esp32c2/src/rtc_cntl/cntl_dbg_map.rs +++ b/esp32c2/src/rtc_cntl/cntl_dbg_map.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - Need add desc"] #[inline(always)] - #[must_use] pub fn gpio_pin5_mux_sel(&mut self) -> GPIO_PIN5_MUX_SEL_W { GPIO_PIN5_MUX_SEL_W::new(self, 2) } #[doc = "Bit 3 - Need add desc"] #[inline(always)] - #[must_use] pub fn gpio_pin4_mux_sel(&mut self) -> GPIO_PIN4_MUX_SEL_W { GPIO_PIN4_MUX_SEL_W::new(self, 3) } #[doc = "Bit 4 - Need add desc"] #[inline(always)] - #[must_use] pub fn gpio_pin3_mux_sel(&mut self) -> GPIO_PIN3_MUX_SEL_W { GPIO_PIN3_MUX_SEL_W::new(self, 4) } #[doc = "Bit 5 - Need add desc"] #[inline(always)] - #[must_use] pub fn gpio_pin2_mux_sel(&mut self) -> GPIO_PIN2_MUX_SEL_W { GPIO_PIN2_MUX_SEL_W::new(self, 5) } #[doc = "Bit 6 - Need add desc"] #[inline(always)] - #[must_use] pub fn gpio_pin1_mux_sel(&mut self) -> GPIO_PIN1_MUX_SEL_W { GPIO_PIN1_MUX_SEL_W::new(self, 6) } #[doc = "Bit 7 - Need add desc"] #[inline(always)] - #[must_use] pub fn gpio_pin0_mux_sel(&mut self) -> GPIO_PIN0_MUX_SEL_W { GPIO_PIN0_MUX_SEL_W::new(self, 7) } #[doc = "Bits 8:11 - Need add desc"] #[inline(always)] - #[must_use] pub fn gpio_pin5_fun_sel(&mut self) -> GPIO_PIN5_FUN_SEL_W { GPIO_PIN5_FUN_SEL_W::new(self, 8) } #[doc = "Bits 12:15 - Need add desc"] #[inline(always)] - #[must_use] pub fn gpio_pin4_fun_sel(&mut self) -> GPIO_PIN4_FUN_SEL_W { GPIO_PIN4_FUN_SEL_W::new(self, 12) } #[doc = "Bits 16:19 - Need add desc"] #[inline(always)] - #[must_use] pub fn gpio_pin3_fun_sel(&mut self) -> GPIO_PIN3_FUN_SEL_W { GPIO_PIN3_FUN_SEL_W::new(self, 16) } #[doc = "Bits 20:23 - Need add desc"] #[inline(always)] - #[must_use] pub fn gpio_pin2_fun_sel(&mut self) -> GPIO_PIN2_FUN_SEL_W { GPIO_PIN2_FUN_SEL_W::new(self, 20) } #[doc = "Bits 24:27 - Need add desc"] #[inline(always)] - #[must_use] pub fn gpio_pin1_fun_sel(&mut self) -> GPIO_PIN1_FUN_SEL_W { GPIO_PIN1_FUN_SEL_W::new(self, 24) } #[doc = "Bits 28:31 - Need add desc"] #[inline(always)] - #[must_use] pub fn gpio_pin0_fun_sel(&mut self) -> GPIO_PIN0_FUN_SEL_W { GPIO_PIN0_FUN_SEL_W::new(self, 28) } diff --git a/esp32c2/src/rtc_cntl/cntl_dbg_sar_sel.rs b/esp32c2/src/rtc_cntl/cntl_dbg_sar_sel.rs index 27c68df2b9..668e80c442 100644 --- a/esp32c2/src/rtc_cntl/cntl_dbg_sar_sel.rs +++ b/esp32c2/src/rtc_cntl/cntl_dbg_sar_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 27:31 - Need add desc"] #[inline(always)] - #[must_use] pub fn sar_debug_sel(&mut self) -> SAR_DEBUG_SEL_W { SAR_DEBUG_SEL_W::new(self, 27) } diff --git a/esp32c2/src/rtc_cntl/cntl_dbg_sel.rs b/esp32c2/src/rtc_cntl/cntl_dbg_sel.rs index bb1c18fb8b..e9fe2d7bd8 100644 --- a/esp32c2/src/rtc_cntl/cntl_dbg_sel.rs +++ b/esp32c2/src/rtc_cntl/cntl_dbg_sel.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - Need add desc"] #[inline(always)] - #[must_use] pub fn debug_12m_no_gating(&mut self) -> DEBUG_12M_NO_GATING_W { DEBUG_12M_NO_GATING_W::new(self, 1) } #[doc = "Bits 2:6 - Need add desc"] #[inline(always)] - #[must_use] pub fn debug_bit_sel(&mut self) -> DEBUG_BIT_SEL_W { DEBUG_BIT_SEL_W::new(self, 2) } #[doc = "Bits 7:11 - Need add desc"] #[inline(always)] - #[must_use] pub fn debug_sel0(&mut self) -> DEBUG_SEL0_W { DEBUG_SEL0_W::new(self, 7) } #[doc = "Bits 12:16 - Need add desc"] #[inline(always)] - #[must_use] pub fn debug_sel1(&mut self) -> DEBUG_SEL1_W { DEBUG_SEL1_W::new(self, 12) } #[doc = "Bits 17:21 - Need add desc"] #[inline(always)] - #[must_use] pub fn debug_sel2(&mut self) -> DEBUG_SEL2_W { DEBUG_SEL2_W::new(self, 17) } #[doc = "Bits 22:26 - Need add desc"] #[inline(always)] - #[must_use] pub fn debug_sel3(&mut self) -> DEBUG_SEL3_W { DEBUG_SEL3_W::new(self, 22) } #[doc = "Bits 27:31 - Need add desc"] #[inline(always)] - #[must_use] pub fn debug_sel4(&mut self) -> DEBUG_SEL4_W { DEBUG_SEL4_W::new(self, 27) } diff --git a/esp32c2/src/rtc_cntl/cntl_gpio_wakeup.rs b/esp32c2/src/rtc_cntl/cntl_gpio_wakeup.rs index 7a4d52626a..e88b1673f2 100644 --- a/esp32c2/src/rtc_cntl/cntl_gpio_wakeup.rs +++ b/esp32c2/src/rtc_cntl/cntl_gpio_wakeup.rs @@ -164,91 +164,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - Need add desc"] #[inline(always)] - #[must_use] pub fn gpio_wakeup_status(&mut self) -> GPIO_WAKEUP_STATUS_W { GPIO_WAKEUP_STATUS_W::new(self, 0) } #[doc = "Bit 6 - Need add desc"] #[inline(always)] - #[must_use] pub fn gpio_wakeup_status_clr(&mut self) -> GPIO_WAKEUP_STATUS_CLR_W { GPIO_WAKEUP_STATUS_CLR_W::new(self, 6) } #[doc = "Bit 7 - Need add desc"] #[inline(always)] - #[must_use] pub fn gpio_pin_clk_gate(&mut self) -> GPIO_PIN_CLK_GATE_W { GPIO_PIN_CLK_GATE_W::new(self, 7) } #[doc = "Bits 8:10 - Need add desc"] #[inline(always)] - #[must_use] pub fn gpio_pin5_int_type(&mut self) -> GPIO_PIN5_INT_TYPE_W { GPIO_PIN5_INT_TYPE_W::new(self, 8) } #[doc = "Bits 11:13 - Need add desc"] #[inline(always)] - #[must_use] pub fn gpio_pin4_int_type(&mut self) -> GPIO_PIN4_INT_TYPE_W { GPIO_PIN4_INT_TYPE_W::new(self, 11) } #[doc = "Bits 14:16 - Need add desc"] #[inline(always)] - #[must_use] pub fn gpio_pin3_int_type(&mut self) -> GPIO_PIN3_INT_TYPE_W { GPIO_PIN3_INT_TYPE_W::new(self, 14) } #[doc = "Bits 17:19 - Need add desc"] #[inline(always)] - #[must_use] pub fn gpio_pin2_int_type(&mut self) -> GPIO_PIN2_INT_TYPE_W { GPIO_PIN2_INT_TYPE_W::new(self, 17) } #[doc = "Bits 20:22 - Need add desc"] #[inline(always)] - #[must_use] pub fn gpio_pin1_int_type(&mut self) -> GPIO_PIN1_INT_TYPE_W { GPIO_PIN1_INT_TYPE_W::new(self, 20) } #[doc = "Bits 23:25 - Need add desc"] #[inline(always)] - #[must_use] pub fn gpio_pin0_int_type(&mut self) -> GPIO_PIN0_INT_TYPE_W { GPIO_PIN0_INT_TYPE_W::new(self, 23) } #[doc = "Bit 26 - Need add desc"] #[inline(always)] - #[must_use] pub fn gpio_pin5_wakeup_enable(&mut self) -> GPIO_PIN5_WAKEUP_ENABLE_W { GPIO_PIN5_WAKEUP_ENABLE_W::new(self, 26) } #[doc = "Bit 27 - Need add desc"] #[inline(always)] - #[must_use] pub fn gpio_pin4_wakeup_enable(&mut self) -> GPIO_PIN4_WAKEUP_ENABLE_W { GPIO_PIN4_WAKEUP_ENABLE_W::new(self, 27) } #[doc = "Bit 28 - Need add desc"] #[inline(always)] - #[must_use] pub fn gpio_pin3_wakeup_enable(&mut self) -> GPIO_PIN3_WAKEUP_ENABLE_W { GPIO_PIN3_WAKEUP_ENABLE_W::new(self, 28) } #[doc = "Bit 29 - Need add desc"] #[inline(always)] - #[must_use] pub fn gpio_pin2_wakeup_enable(&mut self) -> GPIO_PIN2_WAKEUP_ENABLE_W { GPIO_PIN2_WAKEUP_ENABLE_W::new(self, 29) } #[doc = "Bit 30 - Need add desc"] #[inline(always)] - #[must_use] pub fn gpio_pin1_wakeup_enable(&mut self) -> GPIO_PIN1_WAKEUP_ENABLE_W { GPIO_PIN1_WAKEUP_ENABLE_W::new(self, 30) } #[doc = "Bit 31 - Need add desc"] #[inline(always)] - #[must_use] pub fn gpio_pin0_wakeup_enable(&mut self) -> GPIO_PIN0_WAKEUP_ENABLE_W { GPIO_PIN0_WAKEUP_ENABLE_W::new(self, 31) } diff --git a/esp32c2/src/rtc_cntl/cntl_retention_ctrl.rs b/esp32c2/src/rtc_cntl/cntl_retention_ctrl.rs index ad0ac010d8..e9c98f605f 100644 --- a/esp32c2/src/rtc_cntl/cntl_retention_ctrl.rs +++ b/esp32c2/src/rtc_cntl/cntl_retention_ctrl.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 18 - Need add desc"] #[inline(always)] - #[must_use] pub fn retention_clk_sel(&mut self) -> RETENTION_CLK_SEL_W { RETENTION_CLK_SEL_W::new(self, 18) } #[doc = "Bits 19:21 - Need add desc"] #[inline(always)] - #[must_use] pub fn retention_done_wait(&mut self) -> RETENTION_DONE_WAIT_W { RETENTION_DONE_WAIT_W::new(self, 19) } #[doc = "Bits 22:25 - Need add desc"] #[inline(always)] - #[must_use] pub fn retention_clkoff_wait(&mut self) -> RETENTION_CLKOFF_WAIT_W { RETENTION_CLKOFF_WAIT_W::new(self, 22) } #[doc = "Bit 26 - Need add desc"] #[inline(always)] - #[must_use] pub fn retention_en(&mut self) -> RETENTION_EN_W { RETENTION_EN_W::new(self, 26) } #[doc = "Bits 27:31 - wait cycles for rention operation"] #[inline(always)] - #[must_use] pub fn retention_wait(&mut self) -> RETENTION_WAIT_W { RETENTION_WAIT_W::new(self, 27) } diff --git a/esp32c2/src/rtc_cntl/cntl_sensor_ctrl.rs b/esp32c2/src/rtc_cntl/cntl_sensor_ctrl.rs index ee3aab729e..eb0f791f7b 100644 --- a/esp32c2/src/rtc_cntl/cntl_sensor_ctrl.rs +++ b/esp32c2/src/rtc_cntl/cntl_sensor_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 27:29 - Need add desc"] #[inline(always)] - #[must_use] pub fn sar2_pwdet_cct(&mut self) -> SAR2_PWDET_CCT_W { SAR2_PWDET_CCT_W::new(self, 27) } #[doc = "Bits 30:31 - Need add desc"] #[inline(always)] - #[must_use] pub fn force_xpd_sar(&mut self) -> FORCE_XPD_SAR_W { FORCE_XPD_SAR_W::new(self, 30) } diff --git a/esp32c2/src/rtc_cntl/cpu_period_conf.rs b/esp32c2/src/rtc_cntl/cpu_period_conf.rs index afceb20068..9d71cccd6a 100644 --- a/esp32c2/src/rtc_cntl/cpu_period_conf.rs +++ b/esp32c2/src/rtc_cntl/cpu_period_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 29 - CPU sel option"] #[inline(always)] - #[must_use] pub fn cpusel_conf(&mut self) -> CPUSEL_CONF_W { CPUSEL_CONF_W::new(self, 29) } #[doc = "Bits 30:31 - Need add desc"] #[inline(always)] - #[must_use] pub fn cpuperiod_sel(&mut self) -> CPUPERIOD_SEL_W { CPUPERIOD_SEL_W::new(self, 30) } diff --git a/esp32c2/src/rtc_cntl/diag0.rs b/esp32c2/src/rtc_cntl/diag0.rs index 6a7d008d82..00e399523c 100644 --- a/esp32c2/src/rtc_cntl/diag0.rs +++ b/esp32c2/src/rtc_cntl/diag0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Need add desc"] #[inline(always)] - #[must_use] pub fn low_power_diag1(&mut self) -> LOW_POWER_DIAG1_W { LOW_POWER_DIAG1_W::new(self, 0) } diff --git a/esp32c2/src/rtc_cntl/dig_iso.rs b/esp32c2/src/rtc_cntl/dig_iso.rs index c625759b49..af165263f6 100644 --- a/esp32c2/src/rtc_cntl/dig_iso.rs +++ b/esp32c2/src/rtc_cntl/dig_iso.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 7 - Need add desc"] #[inline(always)] - #[must_use] pub fn force_off(&mut self) -> FORCE_OFF_W { FORCE_OFF_W::new(self, 7) } #[doc = "Bit 8 - Need add desc"] #[inline(always)] - #[must_use] pub fn force_on(&mut self) -> FORCE_ON_W { FORCE_ON_W::new(self, 8) } #[doc = "Bit 9 - read only register to indicate digital pad auto-hold status"] #[inline(always)] - #[must_use] pub fn dg_pad_autohold(&mut self) -> DG_PAD_AUTOHOLD_W { DG_PAD_AUTOHOLD_W::new(self, 9) } #[doc = "Bit 10 - wtite only register to clear digital pad auto-hold"] #[inline(always)] - #[must_use] pub fn clr_dg_pad_autohold(&mut self) -> CLR_DG_PAD_AUTOHOLD_W { CLR_DG_PAD_AUTOHOLD_W::new(self, 10) } #[doc = "Bit 11 - digital pad enable auto-hold"] #[inline(always)] - #[must_use] pub fn dg_pad_autohold_en(&mut self) -> DG_PAD_AUTOHOLD_EN_W { DG_PAD_AUTOHOLD_EN_W::new(self, 11) } #[doc = "Bit 12 - digital pad force no ISO"] #[inline(always)] - #[must_use] pub fn dg_pad_force_noiso(&mut self) -> DG_PAD_FORCE_NOISO_W { DG_PAD_FORCE_NOISO_W::new(self, 12) } #[doc = "Bit 13 - digital pad force ISO"] #[inline(always)] - #[must_use] pub fn dg_pad_force_iso(&mut self) -> DG_PAD_FORCE_ISO_W { DG_PAD_FORCE_ISO_W::new(self, 13) } #[doc = "Bit 14 - digital pad force un-hold"] #[inline(always)] - #[must_use] pub fn dg_pad_force_unhold(&mut self) -> DG_PAD_FORCE_UNHOLD_W { DG_PAD_FORCE_UNHOLD_W::new(self, 14) } #[doc = "Bit 15 - digital pad force hold"] #[inline(always)] - #[must_use] pub fn dg_pad_force_hold(&mut self) -> DG_PAD_FORCE_HOLD_W { DG_PAD_FORCE_HOLD_W::new(self, 15) } #[doc = "Bit 30 - digital core force ISO"] #[inline(always)] - #[must_use] pub fn dg_wrap_force_iso(&mut self) -> DG_WRAP_FORCE_ISO_W { DG_WRAP_FORCE_ISO_W::new(self, 30) } #[doc = "Bit 31 - Need add desc"] #[inline(always)] - #[must_use] pub fn dg_wrap_force_noiso(&mut self) -> DG_WRAP_FORCE_NOISO_W { DG_WRAP_FORCE_NOISO_W::new(self, 31) } diff --git a/esp32c2/src/rtc_cntl/dig_pad_hold.rs b/esp32c2/src/rtc_cntl/dig_pad_hold.rs index 18f09860e3..2ae9bade9a 100644 --- a/esp32c2/src/rtc_cntl/dig_pad_hold.rs +++ b/esp32c2/src/rtc_cntl/dig_pad_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Need add desc"] #[inline(always)] - #[must_use] pub fn dig_pad_hold(&mut self) -> DIG_PAD_HOLD_W { DIG_PAD_HOLD_W::new(self, 0) } diff --git a/esp32c2/src/rtc_cntl/dig_pwc.rs b/esp32c2/src/rtc_cntl/dig_pwc.rs index ca5569d48f..3990830e69 100644 --- a/esp32c2/src/rtc_cntl/dig_pwc.rs +++ b/esp32c2/src/rtc_cntl/dig_pwc.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Need add desc"] #[inline(always)] - #[must_use] pub fn vdd_spi_pwr_drv(&mut self) -> VDD_SPI_PWR_DRV_W { VDD_SPI_PWR_DRV_W::new(self, 0) } #[doc = "Bit 2 - Need add desc"] #[inline(always)] - #[must_use] pub fn vdd_spi_pwr_force(&mut self) -> VDD_SPI_PWR_FORCE_W { VDD_SPI_PWR_FORCE_W::new(self, 2) } #[doc = "Bit 3 - Need add desc"] #[inline(always)] - #[must_use] pub fn vdd_spi_pd_en(&mut self) -> VDD_SPI_PD_EN_W { VDD_SPI_PD_EN_W::new(self, 3) } #[doc = "Bit 4 - memories in digital core force PD in sleep"] #[inline(always)] - #[must_use] pub fn lslp_mem_force_pd(&mut self) -> LSLP_MEM_FORCE_PD_W { LSLP_MEM_FORCE_PD_W::new(self, 4) } #[doc = "Bit 5 - memories in digital core force no PD in sleep"] #[inline(always)] - #[must_use] pub fn lslp_mem_force_pu(&mut self) -> LSLP_MEM_FORCE_PU_W { LSLP_MEM_FORCE_PU_W::new(self, 5) } #[doc = "Bit 19 - digital core force power down"] #[inline(always)] - #[must_use] pub fn dg_wrap_force_pd(&mut self) -> DG_WRAP_FORCE_PD_W { DG_WRAP_FORCE_PD_W::new(self, 19) } #[doc = "Bit 20 - digital core force power up"] #[inline(always)] - #[must_use] pub fn dg_wrap_force_pu(&mut self) -> DG_WRAP_FORCE_PU_W { DG_WRAP_FORCE_PU_W::new(self, 20) } #[doc = "Bit 31 - Need add desc"] #[inline(always)] - #[must_use] pub fn dg_wrap_pd_en(&mut self) -> DG_WRAP_PD_EN_W { DG_WRAP_PD_EN_W::new(self, 31) } diff --git a/esp32c2/src/rtc_cntl/ext_wakeup_conf.rs b/esp32c2/src/rtc_cntl/ext_wakeup_conf.rs index 64096f7a29..9a2df70595 100644 --- a/esp32c2/src/rtc_cntl/ext_wakeup_conf.rs +++ b/esp32c2/src/rtc_cntl/ext_wakeup_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - enable filter for gpio wakeup event"] #[inline(always)] - #[must_use] pub fn gpio_wakeup_filter(&mut self) -> GPIO_WAKEUP_FILTER_W { GPIO_WAKEUP_FILTER_W::new(self, 31) } diff --git a/esp32c2/src/rtc_cntl/ext_xtl_conf.rs b/esp32c2/src/rtc_cntl/ext_xtl_conf.rs index 543cb0e0c1..20ff1127cb 100644 --- a/esp32c2/src/rtc_cntl/ext_xtl_conf.rs +++ b/esp32c2/src/rtc_cntl/ext_xtl_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - 0: power down XTAL at high level"] #[inline(always)] - #[must_use] pub fn xtl_ext_ctr_lv(&mut self) -> XTL_EXT_CTR_LV_W { XTL_EXT_CTR_LV_W::new(self, 30) } #[doc = "Bit 31 - Need add desc"] #[inline(always)] - #[must_use] pub fn xtl_ext_ctr_en(&mut self) -> XTL_EXT_CTR_EN_W { XTL_EXT_CTR_EN_W::new(self, 31) } diff --git a/esp32c2/src/rtc_cntl/fib_sel.rs b/esp32c2/src/rtc_cntl/fib_sel.rs index 20f41709c4..141dc523cc 100644 --- a/esp32c2/src/rtc_cntl/fib_sel.rs +++ b/esp32c2/src/rtc_cntl/fib_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - select use analog fib signal"] #[inline(always)] - #[must_use] pub fn fib_sel(&mut self) -> FIB_SEL_W { FIB_SEL_W::new(self, 0) } diff --git a/esp32c2/src/rtc_cntl/int_clr.rs b/esp32c2/src/rtc_cntl/int_clr.rs index 4755f704c8..2f5e416195 100644 --- a/esp32c2/src/rtc_cntl/int_clr.rs +++ b/esp32c2/src/rtc_cntl/int_clr.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Clear sleep wakeup interrupt state"] #[inline(always)] - #[must_use] pub fn slp_wakeup(&mut self) -> SLP_WAKEUP_W { SLP_WAKEUP_W::new(self, 0) } #[doc = "Bit 1 - Clear sleep reject interrupt state"] #[inline(always)] - #[must_use] pub fn slp_reject(&mut self) -> SLP_REJECT_W { SLP_REJECT_W::new(self, 1) } #[doc = "Bit 3 - Clear RTC WDT interrupt state"] #[inline(always)] - #[must_use] pub fn wdt(&mut self) -> WDT_W { WDT_W::new(self, 3) } #[doc = "Bit 9 - Clear brown out interrupt state"] #[inline(always)] - #[must_use] pub fn brown_out(&mut self) -> BROWN_OUT_W { BROWN_OUT_W::new(self, 9) } #[doc = "Bit 10 - Clear RTC main timer interrupt state"] #[inline(always)] - #[must_use] pub fn main_timer(&mut self) -> MAIN_TIMER_W { MAIN_TIMER_W::new(self, 10) } #[doc = "Bit 15 - Clear super watch dog interrupt state"] #[inline(always)] - #[must_use] pub fn swd(&mut self) -> SWD_W { SWD_W::new(self, 15) } #[doc = "Bit 20 - Need add desc"] #[inline(always)] - #[must_use] pub fn bbpll_cal(&mut self) -> BBPLL_CAL_W { BBPLL_CAL_W::new(self, 20) } diff --git a/esp32c2/src/rtc_cntl/int_ena.rs b/esp32c2/src/rtc_cntl/int_ena.rs index cbd8959fe9..9a04b4770f 100644 --- a/esp32c2/src/rtc_cntl/int_ena.rs +++ b/esp32c2/src/rtc_cntl/int_ena.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - enable sleep wakeup interrupt"] #[inline(always)] - #[must_use] pub fn slp_wakeup(&mut self) -> SLP_WAKEUP_W { SLP_WAKEUP_W::new(self, 0) } #[doc = "Bit 1 - enable sleep reject interrupt"] #[inline(always)] - #[must_use] pub fn slp_reject(&mut self) -> SLP_REJECT_W { SLP_REJECT_W::new(self, 1) } #[doc = "Bit 3 - enable RTC WDT interrupt"] #[inline(always)] - #[must_use] pub fn wdt(&mut self) -> WDT_W { WDT_W::new(self, 3) } #[doc = "Bit 9 - enable brown out interrupt"] #[inline(always)] - #[must_use] pub fn brown_out(&mut self) -> BROWN_OUT_W { BROWN_OUT_W::new(self, 9) } #[doc = "Bit 10 - enable RTC main timer interrupt"] #[inline(always)] - #[must_use] pub fn main_timer(&mut self) -> MAIN_TIMER_W { MAIN_TIMER_W::new(self, 10) } #[doc = "Bit 15 - enable super watch dog interrupt"] #[inline(always)] - #[must_use] pub fn swd(&mut self) -> SWD_W { SWD_W::new(self, 15) } #[doc = "Bit 20 - Need add desc"] #[inline(always)] - #[must_use] pub fn bbpll_cal(&mut self) -> BBPLL_CAL_W { BBPLL_CAL_W::new(self, 20) } diff --git a/esp32c2/src/rtc_cntl/int_ena_rtc_w1tc.rs b/esp32c2/src/rtc_cntl/int_ena_rtc_w1tc.rs index 95dd4df8f8..b00b297921 100644 --- a/esp32c2/src/rtc_cntl/int_ena_rtc_w1tc.rs +++ b/esp32c2/src/rtc_cntl/int_ena_rtc_w1tc.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - enable sleep wakeup interrupt"] #[inline(always)] - #[must_use] pub fn slp_wakeup(&mut self) -> SLP_WAKEUP_W { SLP_WAKEUP_W::new(self, 0) } #[doc = "Bit 1 - enable sleep reject interrupt"] #[inline(always)] - #[must_use] pub fn slp_reject(&mut self) -> SLP_REJECT_W { SLP_REJECT_W::new(self, 1) } #[doc = "Bit 3 - enable RTC WDT interrupt"] #[inline(always)] - #[must_use] pub fn wdt(&mut self) -> WDT_W { WDT_W::new(self, 3) } #[doc = "Bit 9 - enable brown out interrupt"] #[inline(always)] - #[must_use] pub fn brown_out(&mut self) -> BROWN_OUT_W { BROWN_OUT_W::new(self, 9) } #[doc = "Bit 10 - enable RTC main timer interrupt"] #[inline(always)] - #[must_use] pub fn main_timer(&mut self) -> MAIN_TIMER_W { MAIN_TIMER_W::new(self, 10) } #[doc = "Bit 15 - enable super watch dog interrupt"] #[inline(always)] - #[must_use] pub fn swd(&mut self) -> SWD_W { SWD_W::new(self, 15) } #[doc = "Bit 20 - Need add desc"] #[inline(always)] - #[must_use] pub fn bbpll_cal(&mut self) -> BBPLL_CAL_W { BBPLL_CAL_W::new(self, 20) } diff --git a/esp32c2/src/rtc_cntl/int_ena_rtc_w1ts.rs b/esp32c2/src/rtc_cntl/int_ena_rtc_w1ts.rs index bf4dd885d3..40c664c2b1 100644 --- a/esp32c2/src/rtc_cntl/int_ena_rtc_w1ts.rs +++ b/esp32c2/src/rtc_cntl/int_ena_rtc_w1ts.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - enable sleep wakeup interrupt"] #[inline(always)] - #[must_use] pub fn slp_wakeup(&mut self) -> SLP_WAKEUP_W { SLP_WAKEUP_W::new(self, 0) } #[doc = "Bit 1 - enable sleep reject interrupt"] #[inline(always)] - #[must_use] pub fn slp_reject(&mut self) -> SLP_REJECT_W { SLP_REJECT_W::new(self, 1) } #[doc = "Bit 3 - enable RTC WDT interrupt"] #[inline(always)] - #[must_use] pub fn wdt(&mut self) -> WDT_W { WDT_W::new(self, 3) } #[doc = "Bit 9 - enable brown out interrupt"] #[inline(always)] - #[must_use] pub fn brown_out(&mut self) -> BROWN_OUT_W { BROWN_OUT_W::new(self, 9) } #[doc = "Bit 10 - enable RTC main timer interrupt"] #[inline(always)] - #[must_use] pub fn main_timer(&mut self) -> MAIN_TIMER_W { MAIN_TIMER_W::new(self, 10) } #[doc = "Bit 15 - enable super watch dog interrupt"] #[inline(always)] - #[must_use] pub fn swd(&mut self) -> SWD_W { SWD_W::new(self, 15) } #[doc = "Bit 20 - Need add desc"] #[inline(always)] - #[must_use] pub fn bbpll_cal(&mut self) -> BBPLL_CAL_W { BBPLL_CAL_W::new(self, 20) } diff --git a/esp32c2/src/rtc_cntl/int_raw.rs b/esp32c2/src/rtc_cntl/int_raw.rs index 6cc7a26d34..9387abfbe1 100644 --- a/esp32c2/src/rtc_cntl/int_raw.rs +++ b/esp32c2/src/rtc_cntl/int_raw.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - sleep wakeup interrupt raw"] #[inline(always)] - #[must_use] pub fn slp_wakeup(&mut self) -> SLP_WAKEUP_W { SLP_WAKEUP_W::new(self, 0) } #[doc = "Bit 1 - sleep reject interrupt raw"] #[inline(always)] - #[must_use] pub fn slp_reject(&mut self) -> SLP_REJECT_W { SLP_REJECT_W::new(self, 1) } #[doc = "Bit 3 - RTC WDT interrupt raw"] #[inline(always)] - #[must_use] pub fn wdt(&mut self) -> WDT_W { WDT_W::new(self, 3) } #[doc = "Bit 9 - brown out interrupt raw"] #[inline(always)] - #[must_use] pub fn brown_out(&mut self) -> BROWN_OUT_W { BROWN_OUT_W::new(self, 9) } #[doc = "Bit 10 - RTC main timer interrupt raw"] #[inline(always)] - #[must_use] pub fn main_timer(&mut self) -> MAIN_TIMER_W { MAIN_TIMER_W::new(self, 10) } #[doc = "Bit 15 - super watch dog interrupt raw"] #[inline(always)] - #[must_use] pub fn swd(&mut self) -> SWD_W { SWD_W::new(self, 15) } #[doc = "Bit 20 - Need add desc"] #[inline(always)] - #[must_use] pub fn bbpll_cal(&mut self) -> BBPLL_CAL_W { BBPLL_CAL_W::new(self, 20) } diff --git a/esp32c2/src/rtc_cntl/int_st.rs b/esp32c2/src/rtc_cntl/int_st.rs index ea915db115..456ce07d2d 100644 --- a/esp32c2/src/rtc_cntl/int_st.rs +++ b/esp32c2/src/rtc_cntl/int_st.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - sleep wakeup interrupt state"] #[inline(always)] - #[must_use] pub fn slp_wakeup(&mut self) -> SLP_WAKEUP_W { SLP_WAKEUP_W::new(self, 0) } #[doc = "Bit 1 - sleep reject interrupt state"] #[inline(always)] - #[must_use] pub fn slp_reject(&mut self) -> SLP_REJECT_W { SLP_REJECT_W::new(self, 1) } #[doc = "Bit 3 - RTC WDT interrupt state"] #[inline(always)] - #[must_use] pub fn wdt(&mut self) -> WDT_W { WDT_W::new(self, 3) } #[doc = "Bit 9 - brown out interrupt state"] #[inline(always)] - #[must_use] pub fn brown_out(&mut self) -> BROWN_OUT_W { BROWN_OUT_W::new(self, 9) } #[doc = "Bit 10 - RTC main timer interrupt state"] #[inline(always)] - #[must_use] pub fn main_timer(&mut self) -> MAIN_TIMER_W { MAIN_TIMER_W::new(self, 10) } #[doc = "Bit 15 - super watch dog interrupt state"] #[inline(always)] - #[must_use] pub fn swd(&mut self) -> SWD_W { SWD_W::new(self, 15) } #[doc = "Bit 20 - Need add desc"] #[inline(always)] - #[must_use] pub fn bbpll_cal(&mut self) -> BBPLL_CAL_W { BBPLL_CAL_W::new(self, 20) } diff --git a/esp32c2/src/rtc_cntl/low_power_st.rs b/esp32c2/src/rtc_cntl/low_power_st.rs index 925c962cc1..bee8f2af45 100644 --- a/esp32c2/src/rtc_cntl/low_power_st.rs +++ b/esp32c2/src/rtc_cntl/low_power_st.rs @@ -224,127 +224,106 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 8 - digital wrap power down"] #[inline(always)] - #[must_use] pub fn xpd_dig(&mut self) -> XPD_DIG_W { XPD_DIG_W::new(self, 8) } #[doc = "Bit 9 - touch should start to work"] #[inline(always)] - #[must_use] pub fn touch_state_start(&mut self) -> TOUCH_STATE_START_W { TOUCH_STATE_START_W::new(self, 9) } #[doc = "Bit 10 - touch is about to working. Switch rtc main state"] #[inline(always)] - #[must_use] pub fn touch_state_switch(&mut self) -> TOUCH_STATE_SWITCH_W { TOUCH_STATE_SWITCH_W::new(self, 10) } #[doc = "Bit 11 - touch is in sleep state"] #[inline(always)] - #[must_use] pub fn touch_state_slp(&mut self) -> TOUCH_STATE_SLP_W { TOUCH_STATE_SLP_W::new(self, 11) } #[doc = "Bit 12 - touch is done"] #[inline(always)] - #[must_use] pub fn touch_state_done(&mut self) -> TOUCH_STATE_DONE_W { TOUCH_STATE_DONE_W::new(self, 12) } #[doc = "Bit 13 - ulp/cocpu should start to work"] #[inline(always)] - #[must_use] pub fn cocpu_state_start(&mut self) -> COCPU_STATE_START_W { COCPU_STATE_START_W::new(self, 13) } #[doc = "Bit 14 - ulp/cocpu is about to working. Switch rtc main state"] #[inline(always)] - #[must_use] pub fn cocpu_state_switch(&mut self) -> COCPU_STATE_SWITCH_W { COCPU_STATE_SWITCH_W::new(self, 14) } #[doc = "Bit 15 - ulp/cocpu is in sleep state"] #[inline(always)] - #[must_use] pub fn cocpu_state_slp(&mut self) -> COCPU_STATE_SLP_W { COCPU_STATE_SLP_W::new(self, 15) } #[doc = "Bit 16 - ulp/cocpu is done"] #[inline(always)] - #[must_use] pub fn cocpu_state_done(&mut self) -> COCPU_STATE_DONE_W { COCPU_STATE_DONE_W::new(self, 16) } #[doc = "Bit 17 - no use any more"] #[inline(always)] - #[must_use] pub fn main_state_xtal_iso(&mut self) -> MAIN_STATE_XTAL_ISO_W { MAIN_STATE_XTAL_ISO_W::new(self, 17) } #[doc = "Bit 18 - rtc main state machine is in states that pll should be running"] #[inline(always)] - #[must_use] pub fn main_state_pll_on(&mut self) -> MAIN_STATE_PLL_ON_W { MAIN_STATE_PLL_ON_W::new(self, 18) } #[doc = "Bit 19 - rtc is ready to receive wake up trigger from wake up source"] #[inline(always)] - #[must_use] pub fn rdy_for_wakeup(&mut self) -> RDY_FOR_WAKEUP_W { RDY_FOR_WAKEUP_W::new(self, 19) } #[doc = "Bit 20 - rtc main state machine has been waited for some cycles"] #[inline(always)] - #[must_use] pub fn main_state_wait_end(&mut self) -> MAIN_STATE_WAIT_END_W { MAIN_STATE_WAIT_END_W::new(self, 20) } #[doc = "Bit 21 - rtc main state machine is in the states of wakeup process"] #[inline(always)] - #[must_use] pub fn in_wakeup_state(&mut self) -> IN_WAKEUP_STATE_W { IN_WAKEUP_STATE_W::new(self, 21) } #[doc = "Bit 22 - rtc main state machine is in the states of low power"] #[inline(always)] - #[must_use] pub fn in_low_power_state(&mut self) -> IN_LOW_POWER_STATE_W { IN_LOW_POWER_STATE_W::new(self, 22) } #[doc = "Bit 23 - rtc main state machine is in wait 8m state"] #[inline(always)] - #[must_use] pub fn main_state_in_wait_8m(&mut self) -> MAIN_STATE_IN_WAIT_8M_W { MAIN_STATE_IN_WAIT_8M_W::new(self, 23) } #[doc = "Bit 24 - rtc main state machine is in wait pll state"] #[inline(always)] - #[must_use] pub fn main_state_in_wait_pll(&mut self) -> MAIN_STATE_IN_WAIT_PLL_W { MAIN_STATE_IN_WAIT_PLL_W::new(self, 24) } #[doc = "Bit 25 - rtc main state machine is in wait xtal state"] #[inline(always)] - #[must_use] pub fn main_state_in_wait_xtl(&mut self) -> MAIN_STATE_IN_WAIT_XTL_W { MAIN_STATE_IN_WAIT_XTL_W::new(self, 25) } #[doc = "Bit 26 - rtc main state machine is in sleep state"] #[inline(always)] - #[must_use] pub fn main_state_in_slp(&mut self) -> MAIN_STATE_IN_SLP_W { MAIN_STATE_IN_SLP_W::new(self, 26) } #[doc = "Bit 27 - rtc main state machine is in idle state"] #[inline(always)] - #[must_use] pub fn main_state_in_idle(&mut self) -> MAIN_STATE_IN_IDLE_W { MAIN_STATE_IN_IDLE_W::new(self, 27) } #[doc = "Bits 28:31 - rtc main state machine status"] #[inline(always)] - #[must_use] pub fn main_state(&mut self) -> MAIN_STATE_W { MAIN_STATE_W::new(self, 28) } diff --git a/esp32c2/src/rtc_cntl/option1.rs b/esp32c2/src/rtc_cntl/option1.rs index 7327f0d9d7..db97207764 100644 --- a/esp32c2/src/rtc_cntl/option1.rs +++ b/esp32c2/src/rtc_cntl/option1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Need add desc"] #[inline(always)] - #[must_use] pub fn force_download_boot(&mut self) -> FORCE_DOWNLOAD_BOOT_W { FORCE_DOWNLOAD_BOOT_W::new(self, 0) } diff --git a/esp32c2/src/rtc_cntl/options0.rs b/esp32c2/src/rtc_cntl/options0.rs index e6198623c3..77df3ea670 100644 --- a/esp32c2/src/rtc_cntl/options0.rs +++ b/esp32c2/src/rtc_cntl/options0.rs @@ -184,103 +184,86 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 2:3 - {reg_sw_stall_procpu_c1\\[5:0\\], reg_sw_stall_procpu_c0\\[1:0\\]} == 0x86 will stall PRO CPU"] #[inline(always)] - #[must_use] pub fn sw_stall_procpu_c0(&mut self) -> SW_STALL_PROCPU_C0_W { SW_STALL_PROCPU_C0_W::new(self, 2) } #[doc = "Bit 5 - PRO CPU SW reset"] #[inline(always)] - #[must_use] pub fn sw_procpu_rst(&mut self) -> SW_PROCPU_RST_W { SW_PROCPU_RST_W::new(self, 5) } #[doc = "Bit 6 - BB_I2C force power down"] #[inline(always)] - #[must_use] pub fn bb_i2c_force_pd(&mut self) -> BB_I2C_FORCE_PD_W { BB_I2C_FORCE_PD_W::new(self, 6) } #[doc = "Bit 7 - BB_I2C force power up"] #[inline(always)] - #[must_use] pub fn bb_i2c_force_pu(&mut self) -> BB_I2C_FORCE_PU_W { BB_I2C_FORCE_PU_W::new(self, 7) } #[doc = "Bit 8 - BB_PLL _I2C force power down"] #[inline(always)] - #[must_use] pub fn bbpll_i2c_force_pd(&mut self) -> BBPLL_I2C_FORCE_PD_W { BBPLL_I2C_FORCE_PD_W::new(self, 8) } #[doc = "Bit 9 - BB_PLL_I2C force power up"] #[inline(always)] - #[must_use] pub fn bbpll_i2c_force_pu(&mut self) -> BBPLL_I2C_FORCE_PU_W { BBPLL_I2C_FORCE_PU_W::new(self, 9) } #[doc = "Bit 10 - BB_PLL force power down"] #[inline(always)] - #[must_use] pub fn bbpll_force_pd(&mut self) -> BBPLL_FORCE_PD_W { BBPLL_FORCE_PD_W::new(self, 10) } #[doc = "Bit 11 - BB_PLL force power up"] #[inline(always)] - #[must_use] pub fn bbpll_force_pu(&mut self) -> BBPLL_FORCE_PU_W { BBPLL_FORCE_PU_W::new(self, 11) } #[doc = "Bit 12 - crystall force power down"] #[inline(always)] - #[must_use] pub fn xtl_force_pd(&mut self) -> XTL_FORCE_PD_W { XTL_FORCE_PD_W::new(self, 12) } #[doc = "Bit 13 - crystall force power up"] #[inline(always)] - #[must_use] pub fn xtl_force_pu(&mut self) -> XTL_FORCE_PU_W { XTL_FORCE_PU_W::new(self, 13) } #[doc = "Bits 14:17 - wait bias_sleep and current source wakeup"] #[inline(always)] - #[must_use] pub fn xtl_en_wait(&mut self) -> XTL_EN_WAIT_W { XTL_EN_WAIT_W::new(self, 14) } #[doc = "Bits 20:22 - Need add desc"] #[inline(always)] - #[must_use] pub fn xtl_ext_ctr_sel(&mut self) -> XTL_EXT_CTR_SEL_W { XTL_EXT_CTR_SEL_W::new(self, 20) } #[doc = "Bit 25 - Need add desc"] #[inline(always)] - #[must_use] pub fn analog_force_iso(&mut self) -> ANALOG_FORCE_ISO_W { ANALOG_FORCE_ISO_W::new(self, 25) } #[doc = "Bit 28 - Need add desc"] #[inline(always)] - #[must_use] pub fn analog_force_noiso(&mut self) -> ANALOG_FORCE_NOISO_W { ANALOG_FORCE_NOISO_W::new(self, 28) } #[doc = "Bit 29 - digital wrap force reset in deep sleep"] #[inline(always)] - #[must_use] pub fn dg_wrap_force_rst(&mut self) -> DG_WRAP_FORCE_RST_W { DG_WRAP_FORCE_RST_W::new(self, 29) } #[doc = "Bit 30 - digital core force no reset in deep sleep"] #[inline(always)] - #[must_use] pub fn dg_wrap_force_norst(&mut self) -> DG_WRAP_FORCE_NORST_W { DG_WRAP_FORCE_NORST_W::new(self, 30) } #[doc = "Bit 31 - SW system reset"] #[inline(always)] - #[must_use] pub fn sw_sys_rst(&mut self) -> SW_SYS_RST_W { SW_SYS_RST_W::new(self, 31) } diff --git a/esp32c2/src/rtc_cntl/pad_hold.rs b/esp32c2/src/rtc_cntl/pad_hold.rs index 20225bcf1f..a1474a6ffa 100644 --- a/esp32c2/src/rtc_cntl/pad_hold.rs +++ b/esp32c2/src/rtc_cntl/pad_hold.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Need add desc"] #[inline(always)] - #[must_use] pub fn gpio_pin0_hold(&mut self) -> GPIO_PIN0_HOLD_W { GPIO_PIN0_HOLD_W::new(self, 0) } #[doc = "Bit 1 - Need add desc"] #[inline(always)] - #[must_use] pub fn gpio_pin1_hold(&mut self) -> GPIO_PIN1_HOLD_W { GPIO_PIN1_HOLD_W::new(self, 1) } #[doc = "Bit 2 - Need add desc"] #[inline(always)] - #[must_use] pub fn gpio_pin2_hold(&mut self) -> GPIO_PIN2_HOLD_W { GPIO_PIN2_HOLD_W::new(self, 2) } #[doc = "Bit 3 - Need add desc"] #[inline(always)] - #[must_use] pub fn gpio_pin3_hold(&mut self) -> GPIO_PIN3_HOLD_W { GPIO_PIN3_HOLD_W::new(self, 3) } #[doc = "Bit 4 - Need add desc"] #[inline(always)] - #[must_use] pub fn gpio_pin4_hold(&mut self) -> GPIO_PIN4_HOLD_W { GPIO_PIN4_HOLD_W::new(self, 4) } #[doc = "Bit 5 - Need add desc"] #[inline(always)] - #[must_use] pub fn gpio_pin5_hold(&mut self) -> GPIO_PIN5_HOLD_W { GPIO_PIN5_HOLD_W::new(self, 5) } diff --git a/esp32c2/src/rtc_cntl/pwc.rs b/esp32c2/src/rtc_cntl/pwc.rs index d93c398afc..b0a400df13 100644 --- a/esp32c2/src/rtc_cntl/pwc.rs +++ b/esp32c2/src/rtc_cntl/pwc.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 21 - rtc pad force hold"] #[inline(always)] - #[must_use] pub fn pad_force_hold(&mut self) -> PAD_FORCE_HOLD_W { PAD_FORCE_HOLD_W::new(self, 21) } diff --git a/esp32c2/src/rtc_cntl/reset_state.rs b/esp32c2/src/rtc_cntl/reset_state.rs index 60044b6fd1..9b5f17da8a 100644 --- a/esp32c2/src/rtc_cntl/reset_state.rs +++ b/esp32c2/src/rtc_cntl/reset_state.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - reset cause of PRO CPU"] #[inline(always)] - #[must_use] pub fn reset_cause_procpu(&mut self) -> RESET_CAUSE_PROCPU_W { RESET_CAUSE_PROCPU_W::new(self, 0) } #[doc = "Bit 13 - PRO CPU state vector sel"] #[inline(always)] - #[must_use] pub fn stat_vector_sel_procpu(&mut self) -> STAT_VECTOR_SEL_PROCPU_W { STAT_VECTOR_SEL_PROCPU_W::new(self, 13) } #[doc = "Bit 19 - PROCPU OcdHaltOnReset"] #[inline(always)] - #[must_use] pub fn ocd_halt_on_reset_procpu(&mut self) -> OCD_HALT_ON_RESET_PROCPU_W { OCD_HALT_ON_RESET_PROCPU_W::new(self, 19) } #[doc = "Bit 20 - Need add desc"] #[inline(always)] - #[must_use] pub fn dreset_mask_procpu(&mut self) -> DRESET_MASK_PROCPU_W { DRESET_MASK_PROCPU_W::new(self, 20) } diff --git a/esp32c2/src/rtc_cntl/rtc_cntl.rs b/esp32c2/src/rtc_cntl/rtc_cntl.rs index 1c23f5e020..d48e1b94bd 100644 --- a/esp32c2/src/rtc_cntl/rtc_cntl.rs +++ b/esp32c2/src/rtc_cntl/rtc_cntl.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 7 - Need add desc"] #[inline(always)] - #[must_use] pub fn dig_reg_cal_en(&mut self) -> DIG_REG_CAL_EN_W { DIG_REG_CAL_EN_W::new(self, 7) } #[doc = "Bits 14:21 - SCK_DCAP"] #[inline(always)] - #[must_use] pub fn sck_dcap(&mut self) -> SCK_DCAP_W { SCK_DCAP_W::new(self, 14) } #[doc = "Bit 30 - RTC_REG force power down (for RTC_REG power down means decrease the voltage to 0.8v or lower )"] #[inline(always)] - #[must_use] pub fn regulator_force_pd(&mut self) -> REGULATOR_FORCE_PD_W { REGULATOR_FORCE_PD_W::new(self, 30) } #[doc = "Bit 31 - Need add desc"] #[inline(always)] - #[must_use] pub fn regulator_force_pu(&mut self) -> REGULATOR_FORCE_PU_W { REGULATOR_FORCE_PU_W::new(self, 31) } diff --git a/esp32c2/src/rtc_cntl/slow_clk_conf.rs b/esp32c2/src/rtc_cntl/slow_clk_conf.rs index 4a5ecb01b2..a9ccea62b8 100644 --- a/esp32c2/src/rtc_cntl/slow_clk_conf.rs +++ b/esp32c2/src/rtc_cntl/slow_clk_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 22 - used to sync div bus. clear vld before set reg_rtc_ana_clk_div"] #[inline(always)] - #[must_use] pub fn ana_clk_div_vld(&mut self) -> ANA_CLK_DIV_VLD_W { ANA_CLK_DIV_VLD_W::new(self, 22) } #[doc = "Bits 23:30 - Need add desc"] #[inline(always)] - #[must_use] pub fn ana_clk_div(&mut self) -> ANA_CLK_DIV_W { ANA_CLK_DIV_W::new(self, 23) } #[doc = "Bit 31 - Need add desc"] #[inline(always)] - #[must_use] pub fn slow_clk_next_edge(&mut self) -> SLOW_CLK_NEXT_EDGE_W { SLOW_CLK_NEXT_EDGE_W::new(self, 31) } diff --git a/esp32c2/src/rtc_cntl/slp_reject_cause.rs b/esp32c2/src/rtc_cntl/slp_reject_cause.rs index 97e68a1715..c8c2f01e36 100644 --- a/esp32c2/src/rtc_cntl/slp_reject_cause.rs +++ b/esp32c2/src/rtc_cntl/slp_reject_cause.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:17 - sleep reject cause"] #[inline(always)] - #[must_use] pub fn reject_cause(&mut self) -> REJECT_CAUSE_W { REJECT_CAUSE_W::new(self, 0) } diff --git a/esp32c2/src/rtc_cntl/slp_reject_conf.rs b/esp32c2/src/rtc_cntl/slp_reject_conf.rs index 371aebd560..152c74b611 100644 --- a/esp32c2/src/rtc_cntl/slp_reject_conf.rs +++ b/esp32c2/src/rtc_cntl/slp_reject_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 12:29 - sleep reject enable"] #[inline(always)] - #[must_use] pub fn sleep_reject_ena(&mut self) -> SLEEP_REJECT_ENA_W { SLEEP_REJECT_ENA_W::new(self, 12) } #[doc = "Bit 30 - enable reject for light sleep"] #[inline(always)] - #[must_use] pub fn light_slp_reject_en(&mut self) -> LIGHT_SLP_REJECT_EN_W { LIGHT_SLP_REJECT_EN_W::new(self, 30) } #[doc = "Bit 31 - enable reject for deep sleep"] #[inline(always)] - #[must_use] pub fn deep_slp_reject_en(&mut self) -> DEEP_SLP_REJECT_EN_W { DEEP_SLP_REJECT_EN_W::new(self, 31) } diff --git a/esp32c2/src/rtc_cntl/slp_timer0.rs b/esp32c2/src/rtc_cntl/slp_timer0.rs index a5d9134899..34a7cfda2e 100644 --- a/esp32c2/src/rtc_cntl/slp_timer0.rs +++ b/esp32c2/src/rtc_cntl/slp_timer0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Need add desc"] #[inline(always)] - #[must_use] pub fn slp_val_lo(&mut self) -> SLP_VAL_LO_W { SLP_VAL_LO_W::new(self, 0) } diff --git a/esp32c2/src/rtc_cntl/slp_timer1.rs b/esp32c2/src/rtc_cntl/slp_timer1.rs index e9faa20032..adf6713bd7 100644 --- a/esp32c2/src/rtc_cntl/slp_timer1.rs +++ b/esp32c2/src/rtc_cntl/slp_timer1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - RTC sleep timer high 16 bits"] #[inline(always)] - #[must_use] pub fn slp_val_hi(&mut self) -> SLP_VAL_HI_W { SLP_VAL_HI_W::new(self, 0) } #[doc = "Bit 16 - timer alarm enable bit"] #[inline(always)] - #[must_use] pub fn main_timer_alarm_en(&mut self) -> MAIN_TIMER_ALARM_EN_W { MAIN_TIMER_ALARM_EN_W::new(self, 16) } diff --git a/esp32c2/src/rtc_cntl/slp_wakeup_cause.rs b/esp32c2/src/rtc_cntl/slp_wakeup_cause.rs index 060252f4db..3498e1587c 100644 --- a/esp32c2/src/rtc_cntl/slp_wakeup_cause.rs +++ b/esp32c2/src/rtc_cntl/slp_wakeup_cause.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:16 - sleep wakeup cause"] #[inline(always)] - #[must_use] pub fn wakeup_cause(&mut self) -> WAKEUP_CAUSE_W { WAKEUP_CAUSE_W::new(self, 0) } diff --git a/esp32c2/src/rtc_cntl/state0.rs b/esp32c2/src/rtc_cntl/state0.rs index 04e02c571f..31b8ad8e28 100644 --- a/esp32c2/src/rtc_cntl/state0.rs +++ b/esp32c2/src/rtc_cntl/state0.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - rtc software interrupt to main cpu"] #[inline(always)] - #[must_use] pub fn sw_cpu_int(&mut self) -> SW_CPU_INT_W { SW_CPU_INT_W::new(self, 0) } #[doc = "Bit 1 - clear rtc sleep reject cause"] #[inline(always)] - #[must_use] pub fn slp_reject_cause_clr(&mut self) -> SLP_REJECT_CAUSE_CLR_W { SLP_REJECT_CAUSE_CLR_W::new(self, 1) } #[doc = "Bit 22 - 1: APB to RTC using bridge"] #[inline(always)] - #[must_use] pub fn apb2rtc_bridge_sel(&mut self) -> APB2RTC_BRIDGE_SEL_W { APB2RTC_BRIDGE_SEL_W::new(self, 22) } #[doc = "Bit 28 - SDIO active indication"] #[inline(always)] - #[must_use] pub fn sdio_active_ind(&mut self) -> SDIO_ACTIVE_IND_W { SDIO_ACTIVE_IND_W::new(self, 28) } #[doc = "Bit 29 - leep wakeup bit"] #[inline(always)] - #[must_use] pub fn slp_wakeup(&mut self) -> SLP_WAKEUP_W { SLP_WAKEUP_W::new(self, 29) } #[doc = "Bit 30 - leep reject bit"] #[inline(always)] - #[must_use] pub fn slp_reject(&mut self) -> SLP_REJECT_W { SLP_REJECT_W::new(self, 30) } #[doc = "Bit 31 - sleep enable bit"] #[inline(always)] - #[must_use] pub fn sleep_en(&mut self) -> SLEEP_EN_W { SLEEP_EN_W::new(self, 31) } diff --git a/esp32c2/src/rtc_cntl/store0.rs b/esp32c2/src/rtc_cntl/store0.rs index 156835af45..b0b4e2178a 100644 --- a/esp32c2/src/rtc_cntl/store0.rs +++ b/esp32c2/src/rtc_cntl/store0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Need add desc"] #[inline(always)] - #[must_use] pub fn scratch0(&mut self) -> SCRATCH0_W { SCRATCH0_W::new(self, 0) } diff --git a/esp32c2/src/rtc_cntl/store1.rs b/esp32c2/src/rtc_cntl/store1.rs index f5ee88a258..0b0d6f04ae 100644 --- a/esp32c2/src/rtc_cntl/store1.rs +++ b/esp32c2/src/rtc_cntl/store1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Need add desc"] #[inline(always)] - #[must_use] pub fn scratch1(&mut self) -> SCRATCH1_W { SCRATCH1_W::new(self, 0) } diff --git a/esp32c2/src/rtc_cntl/store2.rs b/esp32c2/src/rtc_cntl/store2.rs index f69105b6df..e19d81826c 100644 --- a/esp32c2/src/rtc_cntl/store2.rs +++ b/esp32c2/src/rtc_cntl/store2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Need add desc"] #[inline(always)] - #[must_use] pub fn scratch2(&mut self) -> SCRATCH2_W { SCRATCH2_W::new(self, 0) } diff --git a/esp32c2/src/rtc_cntl/store3.rs b/esp32c2/src/rtc_cntl/store3.rs index a0ce76a49b..d68070f322 100644 --- a/esp32c2/src/rtc_cntl/store3.rs +++ b/esp32c2/src/rtc_cntl/store3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Need add desc"] #[inline(always)] - #[must_use] pub fn scratch3(&mut self) -> SCRATCH3_W { SCRATCH3_W::new(self, 0) } diff --git a/esp32c2/src/rtc_cntl/store4.rs b/esp32c2/src/rtc_cntl/store4.rs index 62d84b925b..13ca0ebb9e 100644 --- a/esp32c2/src/rtc_cntl/store4.rs +++ b/esp32c2/src/rtc_cntl/store4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Need add desc"] #[inline(always)] - #[must_use] pub fn scratch4(&mut self) -> SCRATCH4_W { SCRATCH4_W::new(self, 0) } diff --git a/esp32c2/src/rtc_cntl/store5.rs b/esp32c2/src/rtc_cntl/store5.rs index ca7d918bcd..52b7328292 100644 --- a/esp32c2/src/rtc_cntl/store5.rs +++ b/esp32c2/src/rtc_cntl/store5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Need add desc"] #[inline(always)] - #[must_use] pub fn scratch5(&mut self) -> SCRATCH5_W { SCRATCH5_W::new(self, 0) } diff --git a/esp32c2/src/rtc_cntl/store6.rs b/esp32c2/src/rtc_cntl/store6.rs index 648c28e55f..d36497fdab 100644 --- a/esp32c2/src/rtc_cntl/store6.rs +++ b/esp32c2/src/rtc_cntl/store6.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Need add desc"] #[inline(always)] - #[must_use] pub fn scratch6(&mut self) -> SCRATCH6_W { SCRATCH6_W::new(self, 0) } diff --git a/esp32c2/src/rtc_cntl/store7.rs b/esp32c2/src/rtc_cntl/store7.rs index b4574d8e9e..074ea4c5f5 100644 --- a/esp32c2/src/rtc_cntl/store7.rs +++ b/esp32c2/src/rtc_cntl/store7.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Need add desc"] #[inline(always)] - #[must_use] pub fn scratch7(&mut self) -> SCRATCH7_W { SCRATCH7_W::new(self, 0) } diff --git a/esp32c2/src/rtc_cntl/sw_cpu_stall.rs b/esp32c2/src/rtc_cntl/sw_cpu_stall.rs index 93b240e67a..80a96a4e36 100644 --- a/esp32c2/src/rtc_cntl/sw_cpu_stall.rs +++ b/esp32c2/src/rtc_cntl/sw_cpu_stall.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 26:31 - Need add desc"] #[inline(always)] - #[must_use] pub fn sw_stall_procpu_c1(&mut self) -> SW_STALL_PROCPU_C1_W { SW_STALL_PROCPU_C1_W::new(self, 26) } diff --git a/esp32c2/src/rtc_cntl/swd_conf.rs b/esp32c2/src/rtc_cntl/swd_conf.rs index 297da95b05..520a13a651 100644 --- a/esp32c2/src/rtc_cntl/swd_conf.rs +++ b/esp32c2/src/rtc_cntl/swd_conf.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - swd reset flag"] #[inline(always)] - #[must_use] pub fn swd_reset_flag(&mut self) -> SWD_RESET_FLAG_W { SWD_RESET_FLAG_W::new(self, 0) } #[doc = "Bit 1 - swd interrupt for feeding"] #[inline(always)] - #[must_use] pub fn swd_feed_int(&mut self) -> SWD_FEED_INT_W { SWD_FEED_INT_W::new(self, 1) } #[doc = "Bit 17 - Need add desc"] #[inline(always)] - #[must_use] pub fn swd_bypass_rst(&mut self) -> SWD_BYPASS_RST_W { SWD_BYPASS_RST_W::new(self, 17) } #[doc = "Bits 18:27 - adjust signal width send to swd"] #[inline(always)] - #[must_use] pub fn swd_signal_width(&mut self) -> SWD_SIGNAL_WIDTH_W { SWD_SIGNAL_WIDTH_W::new(self, 18) } #[doc = "Bit 28 - reset swd reset flag"] #[inline(always)] - #[must_use] pub fn swd_rst_flag_clr(&mut self) -> SWD_RST_FLAG_CLR_W { SWD_RST_FLAG_CLR_W::new(self, 28) } #[doc = "Bit 29 - Sw feed swd"] #[inline(always)] - #[must_use] pub fn swd_feed(&mut self) -> SWD_FEED_W { SWD_FEED_W::new(self, 29) } #[doc = "Bit 30 - disabel SWD"] #[inline(always)] - #[must_use] pub fn swd_disable(&mut self) -> SWD_DISABLE_W { SWD_DISABLE_W::new(self, 30) } #[doc = "Bit 31 - automatically feed swd when int comes"] #[inline(always)] - #[must_use] pub fn swd_auto_feed_en(&mut self) -> SWD_AUTO_FEED_EN_W { SWD_AUTO_FEED_EN_W::new(self, 31) } diff --git a/esp32c2/src/rtc_cntl/swd_wprotect.rs b/esp32c2/src/rtc_cntl/swd_wprotect.rs index 5113679219..c53379384e 100644 --- a/esp32c2/src/rtc_cntl/swd_wprotect.rs +++ b/esp32c2/src/rtc_cntl/swd_wprotect.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Need add desc"] #[inline(always)] - #[must_use] pub fn swd_wkey(&mut self) -> SWD_WKEY_W { SWD_WKEY_W::new(self, 0) } diff --git a/esp32c2/src/rtc_cntl/time_high0.rs b/esp32c2/src/rtc_cntl/time_high0.rs index 66180e8ab2..b5a687df89 100644 --- a/esp32c2/src/rtc_cntl/time_high0.rs +++ b/esp32c2/src/rtc_cntl/time_high0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - RTC timer high 16 bits"] #[inline(always)] - #[must_use] pub fn timer_value0_high(&mut self) -> TIMER_VALUE0_HIGH_W { TIMER_VALUE0_HIGH_W::new(self, 0) } diff --git a/esp32c2/src/rtc_cntl/time_high1.rs b/esp32c2/src/rtc_cntl/time_high1.rs index 3d6c41f5f5..8771de2644 100644 --- a/esp32c2/src/rtc_cntl/time_high1.rs +++ b/esp32c2/src/rtc_cntl/time_high1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - RTC timer high 16 bits"] #[inline(always)] - #[must_use] pub fn timer_value1_high(&mut self) -> TIMER_VALUE1_HIGH_W { TIMER_VALUE1_HIGH_W::new(self, 0) } diff --git a/esp32c2/src/rtc_cntl/time_low0.rs b/esp32c2/src/rtc_cntl/time_low0.rs index 070a5af4c0..d10e127987 100644 --- a/esp32c2/src/rtc_cntl/time_low0.rs +++ b/esp32c2/src/rtc_cntl/time_low0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - RTC timer low 32 bits"] #[inline(always)] - #[must_use] pub fn timer_value0_low(&mut self) -> TIMER_VALUE0_LOW_W { TIMER_VALUE0_LOW_W::new(self, 0) } diff --git a/esp32c2/src/rtc_cntl/time_low1.rs b/esp32c2/src/rtc_cntl/time_low1.rs index a044c516a7..4f0a757a8e 100644 --- a/esp32c2/src/rtc_cntl/time_low1.rs +++ b/esp32c2/src/rtc_cntl/time_low1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - RTC timer low 32 bits"] #[inline(always)] - #[must_use] pub fn timer_value1_low(&mut self) -> TIMER_VALUE1_LOW_W { TIMER_VALUE1_LOW_W::new(self, 0) } diff --git a/esp32c2/src/rtc_cntl/time_update.rs b/esp32c2/src/rtc_cntl/time_update.rs index 30e075208d..dee83c2826 100644 --- a/esp32c2/src/rtc_cntl/time_update.rs +++ b/esp32c2/src/rtc_cntl/time_update.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 27 - Enable to record system stall time"] #[inline(always)] - #[must_use] pub fn timer_sys_stall(&mut self) -> TIMER_SYS_STALL_W { TIMER_SYS_STALL_W::new(self, 27) } #[doc = "Bit 28 - Enable to record 40M XTAL OFF time"] #[inline(always)] - #[must_use] pub fn timer_xtl_off(&mut self) -> TIMER_XTL_OFF_W { TIMER_XTL_OFF_W::new(self, 28) } #[doc = "Bit 29 - enable to record system reset time"] #[inline(always)] - #[must_use] pub fn timer_sys_rst(&mut self) -> TIMER_SYS_RST_W { TIMER_SYS_RST_W::new(self, 29) } #[doc = "Bit 31 - Set 1: to update register with RTC timer"] #[inline(always)] - #[must_use] pub fn time_update(&mut self) -> TIME_UPDATE_W { TIME_UPDATE_W::new(self, 31) } diff --git a/esp32c2/src/rtc_cntl/timer1.rs b/esp32c2/src/rtc_cntl/timer1.rs index 0546a30e93..46a52690a1 100644 --- a/esp32c2/src/rtc_cntl/timer1.rs +++ b/esp32c2/src/rtc_cntl/timer1.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - CPU stall enable bit"] #[inline(always)] - #[must_use] pub fn cpu_stall_en(&mut self) -> CPU_STALL_EN_W { CPU_STALL_EN_W::new(self, 0) } #[doc = "Bits 1:5 - CPU stall wait cycles in fast_clk_rtc"] #[inline(always)] - #[must_use] pub fn cpu_stall_wait(&mut self) -> CPU_STALL_WAIT_W { CPU_STALL_WAIT_W::new(self, 1) } #[doc = "Bits 6:13 - CK8M wait cycles in slow_clk_rtc"] #[inline(always)] - #[must_use] pub fn ck8m_wait(&mut self) -> CK8M_WAIT_W { CK8M_WAIT_W::new(self, 6) } #[doc = "Bits 14:23 - XTAL wait cycles in slow_clk_rtc"] #[inline(always)] - #[must_use] pub fn xtl_buf_wait(&mut self) -> XTL_BUF_WAIT_W { XTL_BUF_WAIT_W::new(self, 14) } #[doc = "Bits 24:31 - PLL wait cycles in slow_clk_rtc"] #[inline(always)] - #[must_use] pub fn pll_buf_wait(&mut self) -> PLL_BUF_WAIT_W { PLL_BUF_WAIT_W::new(self, 24) } diff --git a/esp32c2/src/rtc_cntl/timer2.rs b/esp32c2/src/rtc_cntl/timer2.rs index b69312218b..e4c4f68376 100644 --- a/esp32c2/src/rtc_cntl/timer2.rs +++ b/esp32c2/src/rtc_cntl/timer2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 24:31 - minimal cycles in slow_clk_rtc for CK8M in power down state"] #[inline(always)] - #[must_use] pub fn min_time_ck8m_off(&mut self) -> MIN_TIME_CK8M_OFF_W { MIN_TIME_CK8M_OFF_W::new(self, 24) } diff --git a/esp32c2/src/rtc_cntl/timer4.rs b/esp32c2/src/rtc_cntl/timer4.rs index e07645e816..592fdfc2f6 100644 --- a/esp32c2/src/rtc_cntl/timer4.rs +++ b/esp32c2/src/rtc_cntl/timer4.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:24 - Need add desc"] #[inline(always)] - #[must_use] pub fn dg_wrap_wait_timer(&mut self) -> DG_WRAP_WAIT_TIMER_W { DG_WRAP_WAIT_TIMER_W::new(self, 16) } #[doc = "Bits 25:31 - Need add desc"] #[inline(always)] - #[must_use] pub fn dg_wrap_powerup_timer(&mut self) -> DG_WRAP_POWERUP_TIMER_W { DG_WRAP_POWERUP_TIMER_W::new(self, 25) } diff --git a/esp32c2/src/rtc_cntl/timer5.rs b/esp32c2/src/rtc_cntl/timer5.rs index 48dd23b83c..589049926e 100644 --- a/esp32c2/src/rtc_cntl/timer5.rs +++ b/esp32c2/src/rtc_cntl/timer5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 8:15 - minimal sleep cycles in slow_clk_rtc"] #[inline(always)] - #[must_use] pub fn min_slp_val(&mut self) -> MIN_SLP_VAL_W { MIN_SLP_VAL_W::new(self, 8) } diff --git a/esp32c2/src/rtc_cntl/ulp_cp_timer_1.rs b/esp32c2/src/rtc_cntl/ulp_cp_timer_1.rs index 435f50d086..5c501478df 100644 --- a/esp32c2/src/rtc_cntl/ulp_cp_timer_1.rs +++ b/esp32c2/src/rtc_cntl/ulp_cp_timer_1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 8:31 - sleep cycles for ULP-coprocessor timer"] #[inline(always)] - #[must_use] pub fn ulp_cp_timer_slp_cycle(&mut self) -> ULP_CP_TIMER_SLP_CYCLE_W { ULP_CP_TIMER_SLP_CYCLE_W::new(self, 8) } diff --git a/esp32c2/src/rtc_cntl/usb_conf.rs b/esp32c2/src/rtc_cntl/usb_conf.rs index 911285567f..e79c9a75cf 100644 --- a/esp32c2/src/rtc_cntl/usb_conf.rs +++ b/esp32c2/src/rtc_cntl/usb_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 18 - Need add desc"] #[inline(always)] - #[must_use] pub fn io_mux_reset_disable(&mut self) -> IO_MUX_RESET_DISABLE_W { IO_MUX_RESET_DISABLE_W::new(self, 18) } diff --git a/esp32c2/src/rtc_cntl/wakeup_state.rs b/esp32c2/src/rtc_cntl/wakeup_state.rs index b2ea4b4e84..add9e088f1 100644 --- a/esp32c2/src/rtc_cntl/wakeup_state.rs +++ b/esp32c2/src/rtc_cntl/wakeup_state.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 15:31 - wakeup enable bitmap"] #[inline(always)] - #[must_use] pub fn wakeup_ena(&mut self) -> WAKEUP_ENA_W { WAKEUP_ENA_W::new(self, 15) } diff --git a/esp32c2/src/rtc_cntl/wdtconfig0.rs b/esp32c2/src/rtc_cntl/wdtconfig0.rs index 20b8ba492d..b2e08f91f0 100644 --- a/esp32c2/src/rtc_cntl/wdtconfig0.rs +++ b/esp32c2/src/rtc_cntl/wdtconfig0.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - chip reset siginal pulse width"] #[inline(always)] - #[must_use] pub fn wdt_chip_reset_width(&mut self) -> WDT_CHIP_RESET_WIDTH_W { WDT_CHIP_RESET_WIDTH_W::new(self, 0) } #[doc = "Bit 8 - wdt reset whole chip enable"] #[inline(always)] - #[must_use] pub fn wdt_chip_reset_en(&mut self) -> WDT_CHIP_RESET_EN_W { WDT_CHIP_RESET_EN_W::new(self, 8) } #[doc = "Bit 9 - pause WDT in sleep"] #[inline(always)] - #[must_use] pub fn wdt_pause_in_slp(&mut self) -> WDT_PAUSE_IN_SLP_W { WDT_PAUSE_IN_SLP_W::new(self, 9) } #[doc = "Bit 11 - enable WDT reset PRO CPU"] #[inline(always)] - #[must_use] pub fn wdt_procpu_reset_en(&mut self) -> WDT_PROCPU_RESET_EN_W { WDT_PROCPU_RESET_EN_W::new(self, 11) } #[doc = "Bit 12 - enable WDT in flash boot"] #[inline(always)] - #[must_use] pub fn wdt_flashboot_mod_en(&mut self) -> WDT_FLASHBOOT_MOD_EN_W { WDT_FLASHBOOT_MOD_EN_W::new(self, 12) } #[doc = "Bits 13:15 - system reset counter length"] #[inline(always)] - #[must_use] pub fn wdt_sys_reset_length(&mut self) -> WDT_SYS_RESET_LENGTH_W { WDT_SYS_RESET_LENGTH_W::new(self, 13) } #[doc = "Bits 16:18 - CPU reset counter length"] #[inline(always)] - #[must_use] pub fn wdt_cpu_reset_length(&mut self) -> WDT_CPU_RESET_LENGTH_W { WDT_CPU_RESET_LENGTH_W::new(self, 16) } #[doc = "Bits 19:21 - 1: interrupt stage en"] #[inline(always)] - #[must_use] pub fn wdt_stg3(&mut self) -> WDT_STG3_W { WDT_STG3_W::new(self, 19) } #[doc = "Bits 22:24 - 1: interrupt stage en"] #[inline(always)] - #[must_use] pub fn wdt_stg2(&mut self) -> WDT_STG2_W { WDT_STG2_W::new(self, 22) } #[doc = "Bits 25:27 - 1: interrupt stage en"] #[inline(always)] - #[must_use] pub fn wdt_stg1(&mut self) -> WDT_STG1_W { WDT_STG1_W::new(self, 25) } #[doc = "Bits 28:30 - 1: interrupt stage en"] #[inline(always)] - #[must_use] pub fn wdt_stg0(&mut self) -> WDT_STG0_W { WDT_STG0_W::new(self, 28) } #[doc = "Bit 31 - Need add desc"] #[inline(always)] - #[must_use] pub fn wdt_en(&mut self) -> WDT_EN_W { WDT_EN_W::new(self, 31) } diff --git a/esp32c2/src/rtc_cntl/wdtconfig1.rs b/esp32c2/src/rtc_cntl/wdtconfig1.rs index 7496665669..01f8762f44 100644 --- a/esp32c2/src/rtc_cntl/wdtconfig1.rs +++ b/esp32c2/src/rtc_cntl/wdtconfig1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Need add desc"] #[inline(always)] - #[must_use] pub fn wdt_stg0_hold(&mut self) -> WDT_STG0_HOLD_W { WDT_STG0_HOLD_W::new(self, 0) } diff --git a/esp32c2/src/rtc_cntl/wdtconfig2.rs b/esp32c2/src/rtc_cntl/wdtconfig2.rs index 9dad916ec9..cbe48b6da9 100644 --- a/esp32c2/src/rtc_cntl/wdtconfig2.rs +++ b/esp32c2/src/rtc_cntl/wdtconfig2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Need add desc"] #[inline(always)] - #[must_use] pub fn wdt_stg1_hold(&mut self) -> WDT_STG1_HOLD_W { WDT_STG1_HOLD_W::new(self, 0) } diff --git a/esp32c2/src/rtc_cntl/wdtconfig3.rs b/esp32c2/src/rtc_cntl/wdtconfig3.rs index 0712bdeabb..95ef5d973c 100644 --- a/esp32c2/src/rtc_cntl/wdtconfig3.rs +++ b/esp32c2/src/rtc_cntl/wdtconfig3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Need add desc"] #[inline(always)] - #[must_use] pub fn wdt_stg2_hold(&mut self) -> WDT_STG2_HOLD_W { WDT_STG2_HOLD_W::new(self, 0) } diff --git a/esp32c2/src/rtc_cntl/wdtconfig4.rs b/esp32c2/src/rtc_cntl/wdtconfig4.rs index 5adae7e9c9..b528e8a0bb 100644 --- a/esp32c2/src/rtc_cntl/wdtconfig4.rs +++ b/esp32c2/src/rtc_cntl/wdtconfig4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Need add desc"] #[inline(always)] - #[must_use] pub fn wdt_stg3_hold(&mut self) -> WDT_STG3_HOLD_W { WDT_STG3_HOLD_W::new(self, 0) } diff --git a/esp32c2/src/rtc_cntl/wdtfeed.rs b/esp32c2/src/rtc_cntl/wdtfeed.rs index 1ae33d2d21..a153b17535 100644 --- a/esp32c2/src/rtc_cntl/wdtfeed.rs +++ b/esp32c2/src/rtc_cntl/wdtfeed.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - Need add desc"] #[inline(always)] - #[must_use] pub fn wdt_feed(&mut self) -> WDT_FEED_W { WDT_FEED_W::new(self, 31) } diff --git a/esp32c2/src/rtc_cntl/wdtwprotect.rs b/esp32c2/src/rtc_cntl/wdtwprotect.rs index d123b01f8c..95422c8aa4 100644 --- a/esp32c2/src/rtc_cntl/wdtwprotect.rs +++ b/esp32c2/src/rtc_cntl/wdtwprotect.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Need add desc"] #[inline(always)] - #[must_use] pub fn wdt_wkey(&mut self) -> WDT_WKEY_W { WDT_WKEY_W::new(self, 0) } diff --git a/esp32c2/src/sensitive/apb_peripheral_access_0.rs b/esp32c2/src/sensitive/apb_peripheral_access_0.rs index 299def8f5d..6f9fa6aaba 100644 --- a/esp32c2/src/sensitive/apb_peripheral_access_0.rs +++ b/esp32c2/src/sensitive/apb_peripheral_access_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Need add description"] #[inline(always)] - #[must_use] pub fn apb_peripheral_access_lock( &mut self, ) -> APB_PERIPHERAL_ACCESS_LOCK_W { diff --git a/esp32c2/src/sensitive/apb_peripheral_access_1.rs b/esp32c2/src/sensitive/apb_peripheral_access_1.rs index b84dee0991..7c2a9abc01 100644 --- a/esp32c2/src/sensitive/apb_peripheral_access_1.rs +++ b/esp32c2/src/sensitive/apb_peripheral_access_1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Need add description"] #[inline(always)] - #[must_use] pub fn apb_peripheral_access_split_burst( &mut self, ) -> APB_PERIPHERAL_ACCESS_SPLIT_BURST_W { diff --git a/esp32c2/src/sensitive/cache_mmu_access_0.rs b/esp32c2/src/sensitive/cache_mmu_access_0.rs index 7beab8da02..d55cdd19fa 100644 --- a/esp32c2/src/sensitive/cache_mmu_access_0.rs +++ b/esp32c2/src/sensitive/cache_mmu_access_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Need add description"] #[inline(always)] - #[must_use] pub fn cache_mmu_access_lock(&mut self) -> CACHE_MMU_ACCESS_LOCK_W { CACHE_MMU_ACCESS_LOCK_W::new(self, 0) } diff --git a/esp32c2/src/sensitive/cache_mmu_access_1.rs b/esp32c2/src/sensitive/cache_mmu_access_1.rs index 67e1f1ebbd..6e2089bb3d 100644 --- a/esp32c2/src/sensitive/cache_mmu_access_1.rs +++ b/esp32c2/src/sensitive/cache_mmu_access_1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Need add description"] #[inline(always)] - #[must_use] pub fn pro_mmu_rd_acs(&mut self) -> PRO_MMU_RD_ACS_W { PRO_MMU_RD_ACS_W::new(self, 0) } #[doc = "Bit 1 - Need add description"] #[inline(always)] - #[must_use] pub fn pro_mmu_wr_acs(&mut self) -> PRO_MMU_WR_ACS_W { PRO_MMU_WR_ACS_W::new(self, 1) } diff --git a/esp32c2/src/sensitive/cache_tag_access_0.rs b/esp32c2/src/sensitive/cache_tag_access_0.rs index 7b4434c928..1ca94af27e 100644 --- a/esp32c2/src/sensitive/cache_tag_access_0.rs +++ b/esp32c2/src/sensitive/cache_tag_access_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Need add description"] #[inline(always)] - #[must_use] pub fn cache_tag_access_lock(&mut self) -> CACHE_TAG_ACCESS_LOCK_W { CACHE_TAG_ACCESS_LOCK_W::new(self, 0) } diff --git a/esp32c2/src/sensitive/cache_tag_access_1.rs b/esp32c2/src/sensitive/cache_tag_access_1.rs index 01463eaa58..66744249fd 100644 --- a/esp32c2/src/sensitive/cache_tag_access_1.rs +++ b/esp32c2/src/sensitive/cache_tag_access_1.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Need add description"] #[inline(always)] - #[must_use] pub fn pro_i_tag_rd_acs(&mut self) -> PRO_I_TAG_RD_ACS_W { PRO_I_TAG_RD_ACS_W::new(self, 0) } #[doc = "Bit 1 - Need add description"] #[inline(always)] - #[must_use] pub fn pro_i_tag_wr_acs(&mut self) -> PRO_I_TAG_WR_ACS_W { PRO_I_TAG_WR_ACS_W::new(self, 1) } #[doc = "Bit 2 - Need add description"] #[inline(always)] - #[must_use] pub fn pro_d_tag_rd_acs(&mut self) -> PRO_D_TAG_RD_ACS_W { PRO_D_TAG_RD_ACS_W::new(self, 2) } #[doc = "Bit 3 - Need add description"] #[inline(always)] - #[must_use] pub fn pro_d_tag_wr_acs(&mut self) -> PRO_D_TAG_WR_ACS_W { PRO_D_TAG_WR_ACS_W::new(self, 3) } diff --git a/esp32c2/src/sensitive/clock_gate.rs b/esp32c2/src/sensitive/clock_gate.rs index e23ee373ff..1f5f544af8 100644 --- a/esp32c2/src/sensitive/clock_gate.rs +++ b/esp32c2/src/sensitive/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Need add description"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32c2/src/sensitive/internal_sram_usage_0.rs b/esp32c2/src/sensitive/internal_sram_usage_0.rs index fa6516c569..55c8d07725 100644 --- a/esp32c2/src/sensitive/internal_sram_usage_0.rs +++ b/esp32c2/src/sensitive/internal_sram_usage_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Need add description"] #[inline(always)] - #[must_use] pub fn internal_sram_usage_lock( &mut self, ) -> INTERNAL_SRAM_USAGE_LOCK_W { diff --git a/esp32c2/src/sensitive/internal_sram_usage_1.rs b/esp32c2/src/sensitive/internal_sram_usage_1.rs index 8cff58d0a0..4d8aa5fb16 100644 --- a/esp32c2/src/sensitive/internal_sram_usage_1.rs +++ b/esp32c2/src/sensitive/internal_sram_usage_1.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Need add description"] #[inline(always)] - #[must_use] pub fn internal_sram_usage_cpu_cache( &mut self, ) -> INTERNAL_SRAM_USAGE_CPU_CACHE_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bits 1:3 - Need add description"] #[inline(always)] - #[must_use] pub fn internal_sram_usage_cpu_sram( &mut self, ) -> INTERNAL_SRAM_USAGE_CPU_SRAM_W { diff --git a/esp32c2/src/sensitive/internal_sram_usage_3.rs b/esp32c2/src/sensitive/internal_sram_usage_3.rs index 6fc7386e63..6fd4fb7311 100644 --- a/esp32c2/src/sensitive/internal_sram_usage_3.rs +++ b/esp32c2/src/sensitive/internal_sram_usage_3.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - Need add description"] #[inline(always)] - #[must_use] pub fn internal_sram_usage_mac_dump_sram( &mut self, ) -> INTERNAL_SRAM_USAGE_MAC_DUMP_SRAM_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bit 3 - Need add description"] #[inline(always)] - #[must_use] pub fn internal_sram_alloc_mac_dump( &mut self, ) -> INTERNAL_SRAM_ALLOC_MAC_DUMP_W { diff --git a/esp32c2/src/sensitive/pif_access_monitor_0.rs b/esp32c2/src/sensitive/pif_access_monitor_0.rs index 947e3a571f..d4bd1b11b6 100644 --- a/esp32c2/src/sensitive/pif_access_monitor_0.rs +++ b/esp32c2/src/sensitive/pif_access_monitor_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Need add description"] #[inline(always)] - #[must_use] pub fn pif_access_monitor_lock( &mut self, ) -> PIF_ACCESS_MONITOR_LOCK_W { diff --git a/esp32c2/src/sensitive/pif_access_monitor_1.rs b/esp32c2/src/sensitive/pif_access_monitor_1.rs index 59a171fb96..a21527da44 100644 --- a/esp32c2/src/sensitive/pif_access_monitor_1.rs +++ b/esp32c2/src/sensitive/pif_access_monitor_1.rs @@ -42,7 +42,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Need add description"] #[inline(always)] - #[must_use] pub fn pif_access_monitor_nonword_violate_clr( &mut self, ) -> PIF_ACCESS_MONITOR_NONWORD_VIOLATE_CLR_W { @@ -50,7 +49,6 @@ impl W { } #[doc = "Bit 1 - Need add description"] #[inline(always)] - #[must_use] pub fn pif_access_monitor_nonword_violate_en( &mut self, ) -> PIF_ACCESS_MONITOR_NONWORD_VIOLATE_EN_W { diff --git a/esp32c2/src/sensitive/rom_table.rs b/esp32c2/src/sensitive/rom_table.rs index 3b909f32fe..9ccd5bfe0d 100644 --- a/esp32c2/src/sensitive/rom_table.rs +++ b/esp32c2/src/sensitive/rom_table.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Need add description"] #[inline(always)] - #[must_use] pub fn rom_table(&mut self) -> ROM_TABLE_W { ROM_TABLE_W::new(self, 0) } diff --git a/esp32c2/src/sensitive/rom_table_lock.rs b/esp32c2/src/sensitive/rom_table_lock.rs index 68ff63158c..793711818e 100644 --- a/esp32c2/src/sensitive/rom_table_lock.rs +++ b/esp32c2/src/sensitive/rom_table_lock.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Need add description"] #[inline(always)] - #[must_use] pub fn rom_table_lock(&mut self) -> ROM_TABLE_LOCK_W { ROM_TABLE_LOCK_W::new(self, 0) } diff --git a/esp32c2/src/sensitive/sensitive_reg_date.rs b/esp32c2/src/sensitive/sensitive_reg_date.rs index 90f494fe2c..39dd58e485 100644 --- a/esp32c2/src/sensitive/sensitive_reg_date.rs +++ b/esp32c2/src/sensitive/sensitive_reg_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Need add description"] #[inline(always)] - #[must_use] pub fn sensitive_reg_date(&mut self) -> SENSITIVE_REG_DATE_W { SENSITIVE_REG_DATE_W::new(self, 0) } diff --git a/esp32c2/src/sensitive/xts_aes_key_update.rs b/esp32c2/src/sensitive/xts_aes_key_update.rs index 1491a85a82..d7527f3d58 100644 --- a/esp32c2/src/sensitive/xts_aes_key_update.rs +++ b/esp32c2/src/sensitive/xts_aes_key_update.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to update xts_aes key"] #[inline(always)] - #[must_use] pub fn xts_aes_key_update(&mut self) -> XTS_AES_KEY_UPDATE_W { XTS_AES_KEY_UPDATE_W::new(self, 0) } diff --git a/esp32c2/src/sha/clear_irq.rs b/esp32c2/src/sha/clear_irq.rs index ce258b7da4..ac34dbeaa9 100644 --- a/esp32c2/src/sha/clear_irq.rs +++ b/esp32c2/src/sha/clear_irq.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Clear sha interrupt."] #[inline(always)] - #[must_use] pub fn clear_interrupt(&mut self) -> CLEAR_INTERRUPT_W { CLEAR_INTERRUPT_W::new(self, 0) } diff --git a/esp32c2/src/sha/continue_.rs b/esp32c2/src/sha/continue_.rs index 27120199be..ead2cd67b6 100644 --- a/esp32c2/src/sha/continue_.rs +++ b/esp32c2/src/sha/continue_.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 1:31 - Reserved."] #[inline(always)] - #[must_use] pub fn continue_(&mut self) -> CONTINUE_W { CONTINUE_W::new(self, 1) } diff --git a/esp32c2/src/sha/date.rs b/esp32c2/src/sha/date.rs index c2cb22bcf1..26ee7381c8 100644 --- a/esp32c2/src/sha/date.rs +++ b/esp32c2/src/sha/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Sha date information/ sha version information."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c2/src/sha/dma_block_num.rs b/esp32c2/src/sha/dma_block_num.rs index 12fd0d0103..658a579ae7 100644 --- a/esp32c2/src/sha/dma_block_num.rs +++ b/esp32c2/src/sha/dma_block_num.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - Dma-sha block number."] #[inline(always)] - #[must_use] pub fn dma_block_num(&mut self) -> DMA_BLOCK_NUM_W { DMA_BLOCK_NUM_W::new(self, 0) } diff --git a/esp32c2/src/sha/dma_continue.rs b/esp32c2/src/sha/dma_continue.rs index 9a52b90032..1e1cfdb7bc 100644 --- a/esp32c2/src/sha/dma_continue.rs +++ b/esp32c2/src/sha/dma_continue.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Continue dma-sha."] #[inline(always)] - #[must_use] pub fn dma_continue(&mut self) -> DMA_CONTINUE_W { DMA_CONTINUE_W::new(self, 0) } diff --git a/esp32c2/src/sha/dma_start.rs b/esp32c2/src/sha/dma_start.rs index 346a607e69..dd22dab31b 100644 --- a/esp32c2/src/sha/dma_start.rs +++ b/esp32c2/src/sha/dma_start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Start dma-sha."] #[inline(always)] - #[must_use] pub fn dma_start(&mut self) -> DMA_START_W { DMA_START_W::new(self, 0) } diff --git a/esp32c2/src/sha/irq_ena.rs b/esp32c2/src/sha/irq_ena.rs index 2a97464d29..9d8bc94a1f 100644 --- a/esp32c2/src/sha/irq_ena.rs +++ b/esp32c2/src/sha/irq_ena.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Sha interrupt enable register. 1'b0: disable(default). 1'b1: enable."] #[inline(always)] - #[must_use] pub fn interrupt_ena(&mut self) -> INTERRUPT_ENA_W { INTERRUPT_ENA_W::new(self, 0) } diff --git a/esp32c2/src/sha/mode.rs b/esp32c2/src/sha/mode.rs index e03dfab74c..e064361f45 100644 --- a/esp32c2/src/sha/mode.rs +++ b/esp32c2/src/sha/mode.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - Sha mode."] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 0) } diff --git a/esp32c2/src/sha/start.rs b/esp32c2/src/sha/start.rs index 54c992b28d..0cdec59d1f 100644 --- a/esp32c2/src/sha/start.rs +++ b/esp32c2/src/sha/start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 1:31 - Reserved."] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 1) } diff --git a/esp32c2/src/sha/t_length.rs b/esp32c2/src/sha/t_length.rs index bfa7857b78..98ff3bfc48 100644 --- a/esp32c2/src/sha/t_length.rs +++ b/esp32c2/src/sha/t_length.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - Sha t_length (used if and only if mode == SHA_512/t)."] #[inline(always)] - #[must_use] pub fn t_length(&mut self) -> T_LENGTH_W { T_LENGTH_W::new(self, 0) } diff --git a/esp32c2/src/sha/t_string.rs b/esp32c2/src/sha/t_string.rs index ec795b2910..216fb30fb1 100644 --- a/esp32c2/src/sha/t_string.rs +++ b/esp32c2/src/sha/t_string.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Sha t_string (used if and only if mode == SHA_512/t)."] #[inline(always)] - #[must_use] pub fn t_string(&mut self) -> T_STRING_W { T_STRING_W::new(self, 0) } diff --git a/esp32c2/src/spi0/cache_fctrl.rs b/esp32c2/src/spi0/cache_fctrl.rs index 116574e8f4..00f6752bc2 100644 --- a/esp32c2/src/spi0/cache_fctrl.rs +++ b/esp32c2/src/spi0/cache_fctrl.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - For SPI0, Cache access enable, 1: enable, 0:disable."] #[inline(always)] - #[must_use] pub fn cache_req_en(&mut self) -> CACHE_REQ_EN_W { CACHE_REQ_EN_W::new(self, 0) } #[doc = "Bit 1 - For SPI0, cache read flash with 4 bytes address, 1: enable, 0:disable."] #[inline(always)] - #[must_use] pub fn cache_usr_addr_4byte(&mut self) -> CACHE_USR_ADDR_4BYTE_W { CACHE_USR_ADDR_4BYTE_W::new(self, 1) } #[doc = "Bit 2 - For SPI0, cache read flash for user define command, 1: enable, 0:disable."] #[inline(always)] - #[must_use] pub fn cache_flash_usr_cmd(&mut self) -> CACHE_FLASH_USR_CMD_W { CACHE_FLASH_USR_CMD_W::new(self, 2) } #[doc = "Bit 3 - For SPI0 flash, din phase apply 2 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_dio."] #[inline(always)] - #[must_use] pub fn fdin_dual(&mut self) -> FDIN_DUAL_W { FDIN_DUAL_W::new(self, 3) } #[doc = "Bit 4 - For SPI0 flash, dout phase apply 2 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_dio."] #[inline(always)] - #[must_use] pub fn fdout_dual(&mut self) -> FDOUT_DUAL_W { FDOUT_DUAL_W::new(self, 4) } #[doc = "Bit 5 - For SPI0 flash, address phase apply 2 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_dio."] #[inline(always)] - #[must_use] pub fn faddr_dual(&mut self) -> FADDR_DUAL_W { FADDR_DUAL_W::new(self, 5) } #[doc = "Bit 6 - For SPI0 flash, din phase apply 4 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_qio."] #[inline(always)] - #[must_use] pub fn fdin_quad(&mut self) -> FDIN_QUAD_W { FDIN_QUAD_W::new(self, 6) } #[doc = "Bit 7 - For SPI0 flash, dout phase apply 4 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_qio."] #[inline(always)] - #[must_use] pub fn fdout_quad(&mut self) -> FDOUT_QUAD_W { FDOUT_QUAD_W::new(self, 7) } #[doc = "Bit 8 - For SPI0 flash, address phase apply 4 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_qio."] #[inline(always)] - #[must_use] pub fn faddr_quad(&mut self) -> FADDR_QUAD_W { FADDR_QUAD_W::new(self, 8) } diff --git a/esp32c2/src/spi0/clock.rs b/esp32c2/src/spi0/clock.rs index b8fc3ec668..67b057222c 100644 --- a/esp32c2/src/spi0/clock.rs +++ b/esp32c2/src/spi0/clock.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In the master mode it must be equal to spi_mem_clkcnt_N."] #[inline(always)] - #[must_use] pub fn clkcnt_l(&mut self) -> CLKCNT_L_W { CLKCNT_L_W::new(self, 0) } #[doc = "Bits 8:15 - In the master mode it must be floor((spi_mem_clkcnt_N+1)/2-1)."] #[inline(always)] - #[must_use] pub fn clkcnt_h(&mut self) -> CLKCNT_H_W { CLKCNT_H_W::new(self, 8) } #[doc = "Bits 16:23 - In the master mode it is the divider of spi_mem_clk. So spi_mem_clk frequency is system/(spi_mem_clkcnt_N+1)"] #[inline(always)] - #[must_use] pub fn clkcnt_n(&mut self) -> CLKCNT_N_W { CLKCNT_N_W::new(self, 16) } #[doc = "Bit 31 - Set this bit in 1-division mode."] #[inline(always)] - #[must_use] pub fn clk_equ_sysclk(&mut self) -> CLK_EQU_SYSCLK_W { CLK_EQU_SYSCLK_W::new(self, 31) } diff --git a/esp32c2/src/spi0/clock_gate.rs b/esp32c2/src/spi0/clock_gate.rs index 86a5536d5c..d2c393bb91 100644 --- a/esp32c2/src/spi0/clock_gate.rs +++ b/esp32c2/src/spi0/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Register clock gate enable signal. 1: Enable. 0: Disable."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32c2/src/spi0/core_clk_sel.rs b/esp32c2/src/spi0/core_clk_sel.rs index 0b435c0579..de48f1414c 100644 --- a/esp32c2/src/spi0/core_clk_sel.rs +++ b/esp32c2/src/spi0/core_clk_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - When the digital system clock selects PLL clock and the frequency of PLL clock is 480MHz, the value of reg_spi01_clk_sel: 0: SPI0/1 module clock (clk) is 80MHz. 1: SPI0/1 module clock (clk) is 120MHz. 2: SPI0/1 module clock (clk) 160MHz. 3: Not used. When the digital system clock selects PLL clock and the frequency of PLL clock is 320MHz, the value of reg_spi01_clk_sel: 0: SPI0/1 module clock (clk) is 80MHz. 1: SPI0/1 module clock (clk) is 80MHz. 2: SPI0/1 module clock (clk) 160MHz. 3: Not used."] #[inline(always)] - #[must_use] pub fn spi01_clk_sel(&mut self) -> SPI01_CLK_SEL_W { SPI01_CLK_SEL_W::new(self, 0) } diff --git a/esp32c2/src/spi0/ctrl.rs b/esp32c2/src/spi0/ctrl.rs index 4036c79889..c763e236c5 100644 --- a/esp32c2/src/spi0/ctrl.rs +++ b/esp32c2/src/spi0/ctrl.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - In the dummy phase the signal level of spi is output by the spi controller."] #[inline(always)] - #[must_use] pub fn fdummy_out(&mut self) -> FDUMMY_OUT_W { FDUMMY_OUT_W::new(self, 3) } #[doc = "Bit 7 - Apply 2 signals during command phase 1:enable 0: disable"] #[inline(always)] - #[must_use] pub fn fcmd_dual(&mut self) -> FCMD_DUAL_W { FCMD_DUAL_W::new(self, 7) } #[doc = "Bit 8 - Apply 4 signals during command phase 1:enable 0: disable"] #[inline(always)] - #[must_use] pub fn fcmd_quad(&mut self) -> FCMD_QUAD_W { FCMD_QUAD_W::new(self, 8) } #[doc = "Bit 13 - This bit enable the bits: SPI_MEM_FREAD_QIO, SPI_MEM_FREAD_DIO, SPI_MEM_FREAD_QOUT AND SPI_MEM_FREAD_DOUT. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fastrd_mode(&mut self) -> FASTRD_MODE_W { FASTRD_MODE_W::new(self, 13) } #[doc = "Bit 14 - In the read operations, read-data phase apply 2 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_dual(&mut self) -> FREAD_DUAL_W { FREAD_DUAL_W::new(self, 14) } #[doc = "Bit 18 - The bit is used to set MISO line polarity, 1: high 0, low"] #[inline(always)] - #[must_use] pub fn q_pol(&mut self) -> Q_POL_W { Q_POL_W::new(self, 18) } #[doc = "Bit 19 - The bit is used to set MOSI line polarity, 1: high 0, low"] #[inline(always)] - #[must_use] pub fn d_pol(&mut self) -> D_POL_W { D_POL_W::new(self, 19) } #[doc = "Bit 20 - In the read operations read-data phase apply 4 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_quad(&mut self) -> FREAD_QUAD_W { FREAD_QUAD_W::new(self, 20) } #[doc = "Bit 21 - Write protect signal output when SPI is idle. 1: output high, 0: output low."] #[inline(always)] - #[must_use] pub fn wp(&mut self) -> WP_W { WP_W::new(self, 21) } #[doc = "Bit 23 - In the read operations address phase and read-data phase apply 2 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_dio(&mut self) -> FREAD_DIO_W { FREAD_DIO_W::new(self, 23) } #[doc = "Bit 24 - In the read operations address phase and read-data phase apply 4 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_qio(&mut self) -> FREAD_QIO_W { FREAD_QIO_W::new(self, 24) } diff --git a/esp32c2/src/spi0/ctrl1.rs b/esp32c2/src/spi0/ctrl1.rs index 4b3f943750..c439d34199 100644 --- a/esp32c2/src/spi0/ctrl1.rs +++ b/esp32c2/src/spi0/ctrl1.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - SPI clock mode bits. 0: SPI clock is off when CS inactive 1: SPI clock is delayed one cycle after CS inactive 2: SPI clock is delayed two cycles after CS inactive 3: SPI clock is alwasy on."] #[inline(always)] - #[must_use] pub fn clk_mode(&mut self) -> CLK_MODE_W { CLK_MODE_W::new(self, 0) } #[doc = "Bit 30 - SPI0 RX FIFO reset signal."] #[inline(always)] - #[must_use] pub fn rxfifo_rst(&mut self) -> RXFIFO_RST_W { RXFIFO_RST_W::new(self, 30) } diff --git a/esp32c2/src/spi0/ctrl2.rs b/esp32c2/src/spi0/ctrl2.rs index 3be3e6bcdc..10f026f7fa 100644 --- a/esp32c2/src/spi0/ctrl2.rs +++ b/esp32c2/src/spi0/ctrl2.rs @@ -46,25 +46,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - (cycles-1) of prepare phase by spi clock this bits are combined with spi_mem_cs_setup bit."] #[inline(always)] - #[must_use] pub fn cs_setup_time(&mut self) -> CS_SETUP_TIME_W { CS_SETUP_TIME_W::new(self, 0) } #[doc = "Bits 5:9 - Spi cs signal is delayed to inactive by spi clock this bits are combined with spi_mem_cs_hold bit."] #[inline(always)] - #[must_use] pub fn cs_hold_time(&mut self) -> CS_HOLD_TIME_W { CS_HOLD_TIME_W::new(self, 5) } #[doc = "Bits 25:30 - These bits are used to set the minimum CS high time tSHSL between SPI burst transfer when accesses to flash. tSHSL is (SPI_MEM_CS_HOLD_DELAY\\[5:0\\] + 1) MSPI core clock cycles."] #[inline(always)] - #[must_use] pub fn cs_hold_delay(&mut self) -> CS_HOLD_DELAY_W { CS_HOLD_DELAY_W::new(self, 25) } #[doc = "Bit 31 - The FSM will be reset."] #[inline(always)] - #[must_use] pub fn sync_reset(&mut self) -> SYNC_RESET_W { SYNC_RESET_W::new(self, 31) } diff --git a/esp32c2/src/spi0/date.rs b/esp32c2/src/spi0/date.rs index 85296d8441..053f85225e 100644 --- a/esp32c2/src/spi0/date.rs +++ b/esp32c2/src/spi0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - SPI register version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c2/src/spi0/fsm.rs b/esp32c2/src/spi0/fsm.rs index 0f79ecd762..74a8c00e61 100644 --- a/esp32c2/src/spi0/fsm.rs +++ b/esp32c2/src/spi0/fsm.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 7:11 - The lock delay time of SPI0/1 arbiter by spi0_slv_st, after PER is sent by SPI1."] #[inline(always)] - #[must_use] pub fn cspi_lock_delay_time(&mut self) -> CSPI_LOCK_DELAY_TIME_W { CSPI_LOCK_DELAY_TIME_W::new(self, 7) } diff --git a/esp32c2/src/spi0/misc.rs b/esp32c2/src/spi0/misc.rs index fa3f3cb09d..dd94df6cf4 100644 --- a/esp32c2/src/spi0/misc.rs +++ b/esp32c2/src/spi0/misc.rs @@ -77,37 +77,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - The bit is used to indicate the spi0_mst_st controlled transmitting is done."] #[inline(always)] - #[must_use] pub fn trans_end(&mut self) -> TRANS_END_W { TRANS_END_W::new(self, 3) } #[doc = "Bit 4 - The bit is used to enable the interrupt of spi0_mst_st controlled transmitting is done."] #[inline(always)] - #[must_use] pub fn trans_end_int_ena(&mut self) -> TRANS_END_INT_ENA_W { TRANS_END_INT_ENA_W::new(self, 4) } #[doc = "Bit 5 - The bit is used to indicate the spi0_slv_st controlled transmitting is done."] #[inline(always)] - #[must_use] pub fn cspi_st_trans_end(&mut self) -> CSPI_ST_TRANS_END_W { CSPI_ST_TRANS_END_W::new(self, 5) } #[doc = "Bit 6 - The bit is used to enable the interrupt of spi0_slv_st controlled transmitting is done."] #[inline(always)] - #[must_use] pub fn cspi_st_trans_end_int_ena(&mut self) -> CSPI_ST_TRANS_END_INT_ENA_W { CSPI_ST_TRANS_END_INT_ENA_W::new(self, 6) } #[doc = "Bit 9 - 1: spi clk line is high when idle 0: spi clk line is low when idle"] #[inline(always)] - #[must_use] pub fn ck_idle_edge(&mut self) -> CK_IDLE_EDGE_W { CK_IDLE_EDGE_W::new(self, 9) } #[doc = "Bit 10 - spi cs line keep low when the bit is set."] #[inline(always)] - #[must_use] pub fn cs_keep_active(&mut self) -> CS_KEEP_ACTIVE_W { CS_KEEP_ACTIVE_W::new(self, 10) } diff --git a/esp32c2/src/spi0/rd_status.rs b/esp32c2/src/spi0/rd_status.rs index b4976439c0..9426f1bbd0 100644 --- a/esp32c2/src/spi0/rd_status.rs +++ b/esp32c2/src/spi0/rd_status.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:23 - Mode bits in the flash fast read mode it is combined with spi_mem_fastrd_mode bit."] #[inline(always)] - #[must_use] pub fn wb_mode(&mut self) -> WB_MODE_W { WB_MODE_W::new(self, 16) } diff --git a/esp32c2/src/spi0/user.rs b/esp32c2/src/spi0/user.rs index f13240b599..b13fd05de8 100644 --- a/esp32c2/src/spi0/user.rs +++ b/esp32c2/src/spi0/user.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 6 - spi cs keep low when spi is in done phase. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn cs_hold(&mut self) -> CS_HOLD_W { CS_HOLD_W::new(self, 6) } #[doc = "Bit 7 - spi cs is enable when spi is in prepare phase. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn cs_setup(&mut self) -> CS_SETUP_W { CS_SETUP_W::new(self, 7) } #[doc = "Bit 9 - the bit combined with spi_mem_mosi_delay_mode bits to set mosi signal delay mode."] #[inline(always)] - #[must_use] pub fn ck_out_edge(&mut self) -> CK_OUT_EDGE_W { CK_OUT_EDGE_W::new(self, 9) } #[doc = "Bit 26 - spi clock is disable in dummy phase when the bit is enable."] #[inline(always)] - #[must_use] pub fn usr_dummy_idle(&mut self) -> USR_DUMMY_IDLE_W { USR_DUMMY_IDLE_W::new(self, 26) } #[doc = "Bit 29 - This bit enable the dummy phase of an operation."] #[inline(always)] - #[must_use] pub fn usr_dummy(&mut self) -> USR_DUMMY_W { USR_DUMMY_W::new(self, 29) } diff --git a/esp32c2/src/spi0/user1.rs b/esp32c2/src/spi0/user1.rs index 8305364ee3..f48db18bf7 100644 --- a/esp32c2/src/spi0/user1.rs +++ b/esp32c2/src/spi0/user1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - The length in spi_mem_clk cycles of dummy phase. The register value shall be (cycle_num-1)."] #[inline(always)] - #[must_use] pub fn usr_dummy_cyclelen(&mut self) -> USR_DUMMY_CYCLELEN_W { USR_DUMMY_CYCLELEN_W::new(self, 0) } #[doc = "Bits 26:31 - The length in bits of address phase. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn usr_addr_bitlen(&mut self) -> USR_ADDR_BITLEN_W { USR_ADDR_BITLEN_W::new(self, 26) } diff --git a/esp32c2/src/spi0/user2.rs b/esp32c2/src/spi0/user2.rs index 36c1b0856c..3b2cf222a2 100644 --- a/esp32c2/src/spi0/user2.rs +++ b/esp32c2/src/spi0/user2.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The value of command."] #[inline(always)] - #[must_use] pub fn usr_command_value(&mut self) -> USR_COMMAND_VALUE_W { USR_COMMAND_VALUE_W::new(self, 0) } #[doc = "Bits 28:31 - The length in bits of command phase. The register value shall be (bit_num-1)"] #[inline(always)] - #[must_use] pub fn usr_command_bitlen(&mut self) -> USR_COMMAND_BITLEN_W { USR_COMMAND_BITLEN_W::new(self, 28) } diff --git a/esp32c2/src/spi1/addr.rs b/esp32c2/src/spi1/addr.rs index a0213e15b9..0d0a1be434 100644 --- a/esp32c2/src/spi1/addr.rs +++ b/esp32c2/src/spi1/addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - In user mode, it is the memory address. other then the bit0-bit23 is the memory address, the bit24-bit31 are the byte length of a transfer."] #[inline(always)] - #[must_use] pub fn usr_addr_value(&mut self) -> USR_ADDR_VALUE_W { USR_ADDR_VALUE_W::new(self, 0) } diff --git a/esp32c2/src/spi1/cache_fctrl.rs b/esp32c2/src/spi1/cache_fctrl.rs index 17da6be7ec..9e6d97ba6a 100644 --- a/esp32c2/src/spi1/cache_fctrl.rs +++ b/esp32c2/src/spi1/cache_fctrl.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - For SPI1, cache read flash with 4 bytes address, 1: enable, 0:disable."] #[inline(always)] - #[must_use] pub fn cache_usr_addr_4byte(&mut self) -> CACHE_USR_ADDR_4BYTE_W { CACHE_USR_ADDR_4BYTE_W::new(self, 1) } #[doc = "Bit 3 - For SPI1, din phase apply 2 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_dio."] #[inline(always)] - #[must_use] pub fn fdin_dual(&mut self) -> FDIN_DUAL_W { FDIN_DUAL_W::new(self, 3) } #[doc = "Bit 4 - For SPI1, dout phase apply 2 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_dio."] #[inline(always)] - #[must_use] pub fn fdout_dual(&mut self) -> FDOUT_DUAL_W { FDOUT_DUAL_W::new(self, 4) } #[doc = "Bit 5 - For SPI1, address phase apply 2 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_dio."] #[inline(always)] - #[must_use] pub fn faddr_dual(&mut self) -> FADDR_DUAL_W { FADDR_DUAL_W::new(self, 5) } #[doc = "Bit 6 - For SPI1, din phase apply 4 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_qio."] #[inline(always)] - #[must_use] pub fn fdin_quad(&mut self) -> FDIN_QUAD_W { FDIN_QUAD_W::new(self, 6) } #[doc = "Bit 7 - For SPI1, dout phase apply 4 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_qio."] #[inline(always)] - #[must_use] pub fn fdout_quad(&mut self) -> FDOUT_QUAD_W { FDOUT_QUAD_W::new(self, 7) } #[doc = "Bit 8 - For SPI1, address phase apply 4 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_qio."] #[inline(always)] - #[must_use] pub fn faddr_quad(&mut self) -> FADDR_QUAD_W { FADDR_QUAD_W::new(self, 8) } diff --git a/esp32c2/src/spi1/clock.rs b/esp32c2/src/spi1/clock.rs index def6403bc3..d789b3face 100644 --- a/esp32c2/src/spi1/clock.rs +++ b/esp32c2/src/spi1/clock.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In the master mode it must be equal to spi_mem_clkcnt_N."] #[inline(always)] - #[must_use] pub fn clkcnt_l(&mut self) -> CLKCNT_L_W { CLKCNT_L_W::new(self, 0) } #[doc = "Bits 8:15 - In the master mode it must be floor((spi_mem_clkcnt_N+1)/2-1)."] #[inline(always)] - #[must_use] pub fn clkcnt_h(&mut self) -> CLKCNT_H_W { CLKCNT_H_W::new(self, 8) } #[doc = "Bits 16:23 - In the master mode it is the divider of spi_mem_clk. So spi_mem_clk frequency is system/(spi_mem_clkcnt_N+1)"] #[inline(always)] - #[must_use] pub fn clkcnt_n(&mut self) -> CLKCNT_N_W { CLKCNT_N_W::new(self, 16) } #[doc = "Bit 31 - reserved"] #[inline(always)] - #[must_use] pub fn clk_equ_sysclk(&mut self) -> CLK_EQU_SYSCLK_W { CLK_EQU_SYSCLK_W::new(self, 31) } diff --git a/esp32c2/src/spi1/clock_gate.rs b/esp32c2/src/spi1/clock_gate.rs index 5c0eb9d0d7..5e04c4947e 100644 --- a/esp32c2/src/spi1/clock_gate.rs +++ b/esp32c2/src/spi1/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Register clock gate enable signal. 1: Enable. 0: Disable."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32c2/src/spi1/cmd.rs b/esp32c2/src/spi1/cmd.rs index 9ac159f42b..8f1d96c955 100644 --- a/esp32c2/src/spi1/cmd.rs +++ b/esp32c2/src/spi1/cmd.rs @@ -180,91 +180,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 17 - In user mode, it is set to indicate that program/erase operation will be triggered. The bit is combined with spi_mem_usr bit. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_pe(&mut self) -> FLASH_PE_W { FLASH_PE_W::new(self, 17) } #[doc = "Bit 18 - User define command enable. An operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn usr(&mut self) -> USR_W { USR_W::new(self, 18) } #[doc = "Bit 19 - Drive Flash into high performance mode. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_hpm(&mut self) -> FLASH_HPM_W { FLASH_HPM_W::new(self, 19) } #[doc = "Bit 20 - This bit combined with reg_resandres bit releases Flash from the power-down state or high performance mode and obtains the devices ID. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_res(&mut self) -> FLASH_RES_W { FLASH_RES_W::new(self, 20) } #[doc = "Bit 21 - Drive Flash into power down. An operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_dp(&mut self) -> FLASH_DP_W { FLASH_DP_W::new(self, 21) } #[doc = "Bit 22 - Chip erase enable. Chip erase operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_ce(&mut self) -> FLASH_CE_W { FLASH_CE_W::new(self, 22) } #[doc = "Bit 23 - Block erase enable(32KB) . Block erase operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_be(&mut self) -> FLASH_BE_W { FLASH_BE_W::new(self, 23) } #[doc = "Bit 24 - Sector erase enable(4KB). Sector erase operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_se(&mut self) -> FLASH_SE_W { FLASH_SE_W::new(self, 24) } #[doc = "Bit 25 - Page program enable(1 byte ~256 bytes data to be programmed). Page program operation will be triggered when the bit is set. The bit will be cleared once the operation done .1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_pp(&mut self) -> FLASH_PP_W { FLASH_PP_W::new(self, 25) } #[doc = "Bit 26 - Write status register enable. Write status operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_wrsr(&mut self) -> FLASH_WRSR_W { FLASH_WRSR_W::new(self, 26) } #[doc = "Bit 27 - Read status register-1. Read status operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_rdsr(&mut self) -> FLASH_RDSR_W { FLASH_RDSR_W::new(self, 27) } #[doc = "Bit 28 - Read JEDEC ID . Read ID command will be sent when the bit is set. The bit will be cleared once the operation done. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_rdid(&mut self) -> FLASH_RDID_W { FLASH_RDID_W::new(self, 28) } #[doc = "Bit 29 - Write flash disable. Write disable command will be sent when the bit is set. The bit will be cleared once the operation done. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_wrdi(&mut self) -> FLASH_WRDI_W { FLASH_WRDI_W::new(self, 29) } #[doc = "Bit 30 - Write flash enable. Write enable command will be sent when the bit is set. The bit will be cleared once the operation done. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_wren(&mut self) -> FLASH_WREN_W { FLASH_WREN_W::new(self, 30) } #[doc = "Bit 31 - Read flash enable. Read flash operation will be triggered when the bit is set. The bit will be cleared once the operation done. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_read(&mut self) -> FLASH_READ_W { FLASH_READ_W::new(self, 31) } diff --git a/esp32c2/src/spi1/ctrl.rs b/esp32c2/src/spi1/ctrl.rs index 7541dfb5ee..795f95c324 100644 --- a/esp32c2/src/spi1/ctrl.rs +++ b/esp32c2/src/spi1/ctrl.rs @@ -164,91 +164,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - In the dummy phase the signal level of spi is output by the spi controller."] #[inline(always)] - #[must_use] pub fn fdummy_out(&mut self) -> FDUMMY_OUT_W { FDUMMY_OUT_W::new(self, 3) } #[doc = "Bit 7 - Apply 2 signals during command phase 1:enable 0: disable"] #[inline(always)] - #[must_use] pub fn fcmd_dual(&mut self) -> FCMD_DUAL_W { FCMD_DUAL_W::new(self, 7) } #[doc = "Bit 8 - Apply 4 signals during command phase 1:enable 0: disable"] #[inline(always)] - #[must_use] pub fn fcmd_quad(&mut self) -> FCMD_QUAD_W { FCMD_QUAD_W::new(self, 8) } #[doc = "Bit 10 - For SPI1, initialize crc32 module before writing encrypted data to flash. Active low."] #[inline(always)] - #[must_use] pub fn fcs_crc_en(&mut self) -> FCS_CRC_EN_W { FCS_CRC_EN_W::new(self, 10) } #[doc = "Bit 11 - For SPI1, enable crc32 when writing encrypted data to flash. 1: enable 0:disable"] #[inline(always)] - #[must_use] pub fn tx_crc_en(&mut self) -> TX_CRC_EN_W { TX_CRC_EN_W::new(self, 11) } #[doc = "Bit 13 - This bit enable the bits: spi_mem_fread_qio, spi_mem_fread_dio, spi_mem_fread_qout and spi_mem_fread_dout. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fastrd_mode(&mut self) -> FASTRD_MODE_W { FASTRD_MODE_W::new(self, 13) } #[doc = "Bit 14 - In the read operations, read-data phase apply 2 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_dual(&mut self) -> FREAD_DUAL_W { FREAD_DUAL_W::new(self, 14) } #[doc = "Bit 15 - The Device ID is read out to SPI_MEM_RD_STATUS register, this bit combine with spi_mem_flash_res bit. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn resandres(&mut self) -> RESANDRES_W { RESANDRES_W::new(self, 15) } #[doc = "Bit 18 - The bit is used to set MISO line polarity, 1: high 0, low"] #[inline(always)] - #[must_use] pub fn q_pol(&mut self) -> Q_POL_W { Q_POL_W::new(self, 18) } #[doc = "Bit 19 - The bit is used to set MOSI line polarity, 1: high 0, low"] #[inline(always)] - #[must_use] pub fn d_pol(&mut self) -> D_POL_W { D_POL_W::new(self, 19) } #[doc = "Bit 20 - In the read operations read-data phase apply 4 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_quad(&mut self) -> FREAD_QUAD_W { FREAD_QUAD_W::new(self, 20) } #[doc = "Bit 21 - Write protect signal output when SPI is idle. 1: output high, 0: output low."] #[inline(always)] - #[must_use] pub fn wp(&mut self) -> WP_W { WP_W::new(self, 21) } #[doc = "Bit 22 - two bytes data will be written to status register when it is set. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn wrsr_2b(&mut self) -> WRSR_2B_W { WRSR_2B_W::new(self, 22) } #[doc = "Bit 23 - In the read operations address phase and read-data phase apply 2 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_dio(&mut self) -> FREAD_DIO_W { FREAD_DIO_W::new(self, 23) } #[doc = "Bit 24 - In the read operations address phase and read-data phase apply 4 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_qio(&mut self) -> FREAD_QIO_W { FREAD_QIO_W::new(self, 24) } diff --git a/esp32c2/src/spi1/ctrl1.rs b/esp32c2/src/spi1/ctrl1.rs index dd42e7f950..c94a99e05f 100644 --- a/esp32c2/src/spi1/ctrl1.rs +++ b/esp32c2/src/spi1/ctrl1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - SPI clock mode bits. 0: SPI clock is off when CS inactive 1: SPI clock is delayed one cycle after CS inactive 2: SPI clock is delayed two cycles after CS inactive 3: SPI clock is alwasy on."] #[inline(always)] - #[must_use] pub fn clk_mode(&mut self) -> CLK_MODE_W { CLK_MODE_W::new(self, 0) } #[doc = "Bits 2:11 - After RES/DP/HPM command is sent, SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 512) SPI_CLK cycles."] #[inline(always)] - #[must_use] pub fn cs_hold_dly_res(&mut self) -> CS_HOLD_DLY_RES_W { CS_HOLD_DLY_RES_W::new(self, 2) } diff --git a/esp32c2/src/spi1/ctrl2.rs b/esp32c2/src/spi1/ctrl2.rs index 0f4c316976..67bff70e6d 100644 --- a/esp32c2/src/spi1/ctrl2.rs +++ b/esp32c2/src/spi1/ctrl2.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - The FSM will be reset."] #[inline(always)] - #[must_use] pub fn sync_reset(&mut self) -> SYNC_RESET_W { SYNC_RESET_W::new(self, 31) } diff --git a/esp32c2/src/spi1/date.rs b/esp32c2/src/spi1/date.rs index b76334595c..14b36132b0 100644 --- a/esp32c2/src/spi1/date.rs +++ b/esp32c2/src/spi1/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Version control register"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c2/src/spi1/flash_sus_cmd.rs b/esp32c2/src/spi1/flash_sus_cmd.rs index 076a1b1d8a..b535943e7b 100644 --- a/esp32c2/src/spi1/flash_sus_cmd.rs +++ b/esp32c2/src/spi1/flash_sus_cmd.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Program/Erase resume command."] #[inline(always)] - #[must_use] pub fn flash_per_command(&mut self) -> FLASH_PER_COMMAND_W { FLASH_PER_COMMAND_W::new(self, 0) } #[doc = "Bits 8:15 - Program/Erase suspend command."] #[inline(always)] - #[must_use] pub fn flash_pes_command(&mut self) -> FLASH_PES_COMMAND_W { FLASH_PES_COMMAND_W::new(self, 8) } #[doc = "Bits 16:31 - Flash SUS/SUS1/SUS2 status bit read command. The command should be sent when SUS/SUS1/SUS2 bit should be checked to insure the suspend or resume status of flash."] #[inline(always)] - #[must_use] pub fn wait_pesr_command(&mut self) -> WAIT_PESR_COMMAND_W { WAIT_PESR_COMMAND_W::new(self, 16) } diff --git a/esp32c2/src/spi1/flash_sus_ctrl.rs b/esp32c2/src/spi1/flash_sus_ctrl.rs index d40a8c8819..d26c2550e6 100644 --- a/esp32c2/src/spi1/flash_sus_ctrl.rs +++ b/esp32c2/src/spi1/flash_sus_ctrl.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - program erase resume bit, program erase suspend operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_per(&mut self) -> FLASH_PER_W { FLASH_PER_W::new(self, 0) } #[doc = "Bit 1 - program erase suspend bit, program erase suspend operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_pes(&mut self) -> FLASH_PES_W { FLASH_PES_W::new(self, 1) } #[doc = "Bit 2 - 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4 or *128) SPI_CLK cycles after program erase resume command is sent. 0: SPI1 does not wait after program erase resume command is sent."] #[inline(always)] - #[must_use] pub fn flash_per_wait_en(&mut self) -> FLASH_PER_WAIT_EN_W { FLASH_PER_WAIT_EN_W::new(self, 2) } #[doc = "Bit 3 - 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4 or *128) SPI_CLK cycles after program erase suspend command is sent. 0: SPI1 does not wait after program erase suspend command is sent."] #[inline(always)] - #[must_use] pub fn flash_pes_wait_en(&mut self) -> FLASH_PES_WAIT_EN_W { FLASH_PES_WAIT_EN_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to enable PES end triggers PER transfer option. If this bit is 0, application should send PER after PES is done."] #[inline(always)] - #[must_use] pub fn pes_per_en(&mut self) -> PES_PER_EN_W { PES_PER_EN_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to enable Auto-suspending function."] #[inline(always)] - #[must_use] pub fn flash_pes_en(&mut self) -> FLASH_PES_EN_W { FLASH_PES_EN_W::new(self, 5) } #[doc = "Bits 6:21 - The mask value when check SUS/SUS1/SUS2 status bit. If the read status value is status_in\\[15:0\\](only status_in\\[7:0\\] is valid when only one byte of data is read out, status_in\\[15:0\\] is valid when two bytes of data are read out), SUS/SUS1/SUS2 = status_in\\[15:0\\]^ SPI_MEM_PESR_END_MSK\\[15:0\\]."] #[inline(always)] - #[must_use] pub fn pesr_end_msk(&mut self) -> PESR_END_MSK_W { PESR_END_MSK_W::new(self, 6) } #[doc = "Bit 22 - 1: Read two bytes when check flash SUS/SUS1/SUS2 status bit. 0: Read one byte when check flash SUS/SUS1/SUS2 status bit"] #[inline(always)] - #[must_use] pub fn spi_fmem_rd_sus_2b(&mut self) -> SPI_FMEM_RD_SUS_2B_W { SPI_FMEM_RD_SUS_2B_W::new(self, 22) } #[doc = "Bit 23 - 1: Both WIP and SUS/SUS1/SUS2 bits should be checked to insure the resume status of flash. 0: Only need to check WIP is 0."] #[inline(always)] - #[must_use] pub fn per_end_en(&mut self) -> PER_END_EN_W { PER_END_EN_W::new(self, 23) } #[doc = "Bit 24 - 1: Both WIP and SUS/SUS1/SUS2 bits should be checked to insure the suspend status of flash. 0: Only need to check WIP is 0."] #[inline(always)] - #[must_use] pub fn pes_end_en(&mut self) -> PES_END_EN_W { PES_END_EN_W::new(self, 24) } #[doc = "Bits 25:31 - When SPI1 checks SUS/SUS1/SUS2 bits fail for SPI_MEM_SUS_TIMEOUT_CNT\\[6:0\\] times, it will be treated as check pass."] #[inline(always)] - #[must_use] pub fn sus_timeout_cnt(&mut self) -> SUS_TIMEOUT_CNT_W { SUS_TIMEOUT_CNT_W::new(self, 25) } diff --git a/esp32c2/src/spi1/flash_waiti_ctrl.rs b/esp32c2/src/spi1/flash_waiti_ctrl.rs index 74d737e5f2..08504b9c9b 100644 --- a/esp32c2/src/spi1/flash_waiti_ctrl.rs +++ b/esp32c2/src/spi1/flash_waiti_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - The dummy phase enable when wait flash idle (RDSR)"] #[inline(always)] - #[must_use] pub fn waiti_dummy(&mut self) -> WAITI_DUMMY_W { WAITI_DUMMY_W::new(self, 1) } #[doc = "Bits 2:9 - The command to wait flash idle(RDSR)."] #[inline(always)] - #[must_use] pub fn waiti_cmd(&mut self) -> WAITI_CMD_W { WAITI_CMD_W::new(self, 2) } #[doc = "Bits 10:15 - The dummy cycle length when wait flash idle(RDSR)."] #[inline(always)] - #[must_use] pub fn waiti_dummy_cyclelen(&mut self) -> WAITI_DUMMY_CYCLELEN_W { WAITI_DUMMY_CYCLELEN_W::new(self, 10) } diff --git a/esp32c2/src/spi1/int_clr.rs b/esp32c2/src/spi1/int_clr.rs index 60cb3cd550..28b7f05b88 100644 --- a/esp32c2/src/spi1/int_clr.rs +++ b/esp32c2/src/spi1/int_clr.rs @@ -21,37 +21,31 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The clear bit for SPI_MEM_PER_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn per_end(&mut self) -> PER_END_W { PER_END_W::new(self, 0) } #[doc = "Bit 1 - The clear bit for SPI_MEM_PES_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn pes_end(&mut self) -> PES_END_W { PES_END_W::new(self, 1) } #[doc = "Bit 2 - The clear bit for SPI_MEM_WPE_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn wpe_end(&mut self) -> WPE_END_W { WPE_END_W::new(self, 2) } #[doc = "Bit 3 - The clear bit for SPI_MEM_SLV_ST_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_st_end(&mut self) -> SLV_ST_END_W { SLV_ST_END_W::new(self, 3) } #[doc = "Bit 4 - The clear bit for SPI_MEM_MST_ST_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_st_end(&mut self) -> MST_ST_END_W { MST_ST_END_W::new(self, 4) } #[doc = "Bit 5 - The status bit for SPI_MEM_BROWN_OUT_INT interrupt."] #[inline(always)] - #[must_use] pub fn brown_out(&mut self) -> BROWN_OUT_W { BROWN_OUT_W::new(self, 5) } diff --git a/esp32c2/src/spi1/int_ena.rs b/esp32c2/src/spi1/int_ena.rs index 48d0cea964..78b13e1314 100644 --- a/esp32c2/src/spi1/int_ena.rs +++ b/esp32c2/src/spi1/int_ena.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The enable bit for SPI_MEM_PER_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn per_end(&mut self) -> PER_END_W { PER_END_W::new(self, 0) } #[doc = "Bit 1 - The enable bit for SPI_MEM_PES_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn pes_end(&mut self) -> PES_END_W { PES_END_W::new(self, 1) } #[doc = "Bit 2 - The enable bit for SPI_MEM_WPE_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn wpe_end(&mut self) -> WPE_END_W { WPE_END_W::new(self, 2) } #[doc = "Bit 3 - The enable bit for SPI_MEM_SLV_ST_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_st_end(&mut self) -> SLV_ST_END_W { SLV_ST_END_W::new(self, 3) } #[doc = "Bit 4 - The enable bit for SPI_MEM_MST_ST_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_st_end(&mut self) -> MST_ST_END_W { MST_ST_END_W::new(self, 4) } #[doc = "Bit 5 - The enable bit for SPI_MEM_BROWN_OUT_INT interrupt."] #[inline(always)] - #[must_use] pub fn brown_out(&mut self) -> BROWN_OUT_W { BROWN_OUT_W::new(self, 5) } diff --git a/esp32c2/src/spi1/int_raw.rs b/esp32c2/src/spi1/int_raw.rs index 03ab13669f..ccf27e9c4a 100644 --- a/esp32c2/src/spi1/int_raw.rs +++ b/esp32c2/src/spi1/int_raw.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw bit for SPI_MEM_PER_END_INT interrupt. 1: Triggered when Auto Resume command (0x7A) is sent and flash is resumed. 0: Others."] #[inline(always)] - #[must_use] pub fn per_end(&mut self) -> PER_END_W { PER_END_W::new(self, 0) } #[doc = "Bit 1 - The raw bit for SPI_MEM_PES_END_INT interrupt.1: Triggered when Auto Suspend command (0x75) is sent and flash is suspended. 0: Others."] #[inline(always)] - #[must_use] pub fn pes_end(&mut self) -> PES_END_W { PES_END_W::new(self, 1) } #[doc = "Bit 2 - The raw bit for SPI_MEM_WPE_END_INT interrupt. 1: Triggered when WRSR/PP/SE/BE/CE is sent and flash is already idle. 0: Others."] #[inline(always)] - #[must_use] pub fn wpe_end(&mut self) -> WPE_END_W { WPE_END_W::new(self, 2) } #[doc = "Bit 3 - The raw bit for SPI_MEM_SLV_ST_END_INT interrupt. 1: Triggered when spi1_slv_st is changed from non idle state to idle state. It means that SPI_CS raises high. 0: Others"] #[inline(always)] - #[must_use] pub fn slv_st_end(&mut self) -> SLV_ST_END_W { SLV_ST_END_W::new(self, 3) } #[doc = "Bit 4 - The raw bit for SPI_MEM_MST_ST_END_INT interrupt. 1: Triggered when spi1_mst_st is changed from non idle state to idle state. 0: Others."] #[inline(always)] - #[must_use] pub fn mst_st_end(&mut self) -> MST_ST_END_W { MST_ST_END_W::new(self, 4) } #[doc = "Bit 5 - The raw bit for SPI_MEM_BROWN_OUT_INT interrupt. 1: Triggered condition is that chip is loosing power and RTC module sends out brown out close flash request to SPI1. After SPI1 sends out suspend command to flash, this interrupt is triggered and MSPI returns to idle state. 0: Others."] #[inline(always)] - #[must_use] pub fn brown_out(&mut self) -> BROWN_OUT_W { BROWN_OUT_W::new(self, 5) } diff --git a/esp32c2/src/spi1/misc.rs b/esp32c2/src/spi1/misc.rs index b251d4f517..95a469646c 100644 --- a/esp32c2/src/spi1/misc.rs +++ b/esp32c2/src/spi1/misc.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - SPI_CS0 pin enable, 1: disable SPI_CS0, 0: SPI_CS0 pin is active to select SPI device, such as flash, external RAM and so on."] #[inline(always)] - #[must_use] pub fn cs0_dis(&mut self) -> CS0_DIS_W { CS0_DIS_W::new(self, 0) } #[doc = "Bit 1 - SPI_CS1 pin enable, 1: disable SPI_CS1, 0: SPI_CS1 pin is active to select SPI device, such as flash, external RAM and so on."] #[inline(always)] - #[must_use] pub fn cs1_dis(&mut self) -> CS1_DIS_W { CS1_DIS_W::new(self, 1) } #[doc = "Bit 9 - 1: spi clk line is high when idle 0: spi clk line is low when idle"] #[inline(always)] - #[must_use] pub fn ck_idle_edge(&mut self) -> CK_IDLE_EDGE_W { CK_IDLE_EDGE_W::new(self, 9) } #[doc = "Bit 10 - spi cs line keep low when the bit is set."] #[inline(always)] - #[must_use] pub fn cs_keep_active(&mut self) -> CS_KEEP_ACTIVE_W { CS_KEEP_ACTIVE_W::new(self, 10) } diff --git a/esp32c2/src/spi1/miso_dlen.rs b/esp32c2/src/spi1/miso_dlen.rs index 355ff7019c..deab962597 100644 --- a/esp32c2/src/spi1/miso_dlen.rs +++ b/esp32c2/src/spi1/miso_dlen.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - The length in bits of read-data. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn usr_miso_dbitlen(&mut self) -> USR_MISO_DBITLEN_W { USR_MISO_DBITLEN_W::new(self, 0) } diff --git a/esp32c2/src/spi1/mosi_dlen.rs b/esp32c2/src/spi1/mosi_dlen.rs index 4dfb555067..8f02670550 100644 --- a/esp32c2/src/spi1/mosi_dlen.rs +++ b/esp32c2/src/spi1/mosi_dlen.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - The length in bits of write-data. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn usr_mosi_dbitlen(&mut self) -> USR_MOSI_DBITLEN_W { USR_MOSI_DBITLEN_W::new(self, 0) } diff --git a/esp32c2/src/spi1/rd_status.rs b/esp32c2/src/spi1/rd_status.rs index 32a6a1cf90..c14fefc1ed 100644 --- a/esp32c2/src/spi1/rd_status.rs +++ b/esp32c2/src/spi1/rd_status.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The value is stored when set spi_mem_flash_rdsr bit and spi_mem_flash_res bit."] #[inline(always)] - #[must_use] pub fn status(&mut self) -> STATUS_W { STATUS_W::new(self, 0) } #[doc = "Bits 16:23 - Mode bits in the flash fast read mode it is combined with spi_mem_fastrd_mode bit."] #[inline(always)] - #[must_use] pub fn wb_mode(&mut self) -> WB_MODE_W { WB_MODE_W::new(self, 16) } diff --git a/esp32c2/src/spi1/sus_status.rs b/esp32c2/src/spi1/sus_status.rs index 41124f7170..8122e01af0 100644 --- a/esp32c2/src/spi1/sus_status.rs +++ b/esp32c2/src/spi1/sus_status.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The status of flash suspend, only used in SPI1."] #[inline(always)] - #[must_use] pub fn flash_sus(&mut self) -> FLASH_SUS_W { FLASH_SUS_W::new(self, 0) } #[doc = "Bit 1 - 1: SPI1 sends out SPI_MEM_WAIT_PESR_COMMAND\\[15:0\\] to check SUS/SUS1/SUS2 bit. 0: SPI1 sends out SPI_MEM_WAIT_PESR_COMMAND\\[7:0\\] to check SUS/SUS1/SUS2 bit."] #[inline(always)] - #[must_use] pub fn wait_pesr_cmd_2b(&mut self) -> WAIT_PESR_CMD_2B_W { WAIT_PESR_CMD_2B_W::new(self, 1) } #[doc = "Bit 2 - 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 128) SPI_CLK cycles after HPM command is sent. 0: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4) SPI_CLK cycles after HPM command is sent."] #[inline(always)] - #[must_use] pub fn flash_hpm_dly_128(&mut self) -> FLASH_HPM_DLY_128_W { FLASH_HPM_DLY_128_W::new(self, 2) } #[doc = "Bit 3 - 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 128) SPI_CLK cycles after RES command is sent. 0: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4) SPI_CLK cycles after RES command is sent."] #[inline(always)] - #[must_use] pub fn flash_res_dly_128(&mut self) -> FLASH_RES_DLY_128_W { FLASH_RES_DLY_128_W::new(self, 3) } #[doc = "Bit 4 - 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 128) SPI_CLK cycles after DP command is sent. 0: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4) SPI_CLK cycles after DP command is sent."] #[inline(always)] - #[must_use] pub fn flash_dp_dly_128(&mut self) -> FLASH_DP_DLY_128_W { FLASH_DP_DLY_128_W::new(self, 4) } #[doc = "Bit 5 - Valid when SPI_MEM_FLASH_PER_WAIT_EN is 1. 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 128) SPI_CLK cycles after PER command is sent. 0: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4) SPI_CLK cycles after PER command is sent."] #[inline(always)] - #[must_use] pub fn flash_per_dly_128(&mut self) -> FLASH_PER_DLY_128_W { FLASH_PER_DLY_128_W::new(self, 5) } #[doc = "Bit 6 - Valid when SPI_MEM_FLASH_PES_WAIT_EN is 1. 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 128) SPI_CLK cycles after PES command is sent. 0: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4) SPI_CLK cycles after PES command is sent."] #[inline(always)] - #[must_use] pub fn flash_pes_dly_128(&mut self) -> FLASH_PES_DLY_128_W { FLASH_PES_DLY_128_W::new(self, 6) } #[doc = "Bit 7 - 1: Enable SPI0 lock SPI0/1 arbiter option. 0: Disable it."] #[inline(always)] - #[must_use] pub fn spi0_lock_en(&mut self) -> SPI0_LOCK_EN_W { SPI0_LOCK_EN_W::new(self, 7) } diff --git a/esp32c2/src/spi1/user.rs b/esp32c2/src/spi1/user.rs index edcf9b1b25..e3d953b415 100644 --- a/esp32c2/src/spi1/user.rs +++ b/esp32c2/src/spi1/user.rs @@ -144,79 +144,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 9 - the bit combined with spi_mem_mosi_delay_mode bits to set mosi signal delay mode."] #[inline(always)] - #[must_use] pub fn ck_out_edge(&mut self) -> CK_OUT_EDGE_W { CK_OUT_EDGE_W::new(self, 9) } #[doc = "Bit 12 - In the write operations read-data phase apply 2 signals"] #[inline(always)] - #[must_use] pub fn fwrite_dual(&mut self) -> FWRITE_DUAL_W { FWRITE_DUAL_W::new(self, 12) } #[doc = "Bit 13 - In the write operations read-data phase apply 4 signals"] #[inline(always)] - #[must_use] pub fn fwrite_quad(&mut self) -> FWRITE_QUAD_W { FWRITE_QUAD_W::new(self, 13) } #[doc = "Bit 14 - In the write operations address phase and read-data phase apply 2 signals."] #[inline(always)] - #[must_use] pub fn fwrite_dio(&mut self) -> FWRITE_DIO_W { FWRITE_DIO_W::new(self, 14) } #[doc = "Bit 15 - In the write operations address phase and read-data phase apply 4 signals."] #[inline(always)] - #[must_use] pub fn fwrite_qio(&mut self) -> FWRITE_QIO_W { FWRITE_QIO_W::new(self, 15) } #[doc = "Bit 24 - read-data phase only access to high-part of the buffer spi_mem_w8~spi_mem_w15. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn usr_miso_highpart(&mut self) -> USR_MISO_HIGHPART_W { USR_MISO_HIGHPART_W::new(self, 24) } #[doc = "Bit 25 - write-data phase only access to high-part of the buffer spi_mem_w8~spi_mem_w15. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn usr_mosi_highpart(&mut self) -> USR_MOSI_HIGHPART_W { USR_MOSI_HIGHPART_W::new(self, 25) } #[doc = "Bit 26 - SPI clock is disable in dummy phase when the bit is enable."] #[inline(always)] - #[must_use] pub fn usr_dummy_idle(&mut self) -> USR_DUMMY_IDLE_W { USR_DUMMY_IDLE_W::new(self, 26) } #[doc = "Bit 27 - This bit enable the write-data phase of an operation."] #[inline(always)] - #[must_use] pub fn usr_mosi(&mut self) -> USR_MOSI_W { USR_MOSI_W::new(self, 27) } #[doc = "Bit 28 - This bit enable the read-data phase of an operation."] #[inline(always)] - #[must_use] pub fn usr_miso(&mut self) -> USR_MISO_W { USR_MISO_W::new(self, 28) } #[doc = "Bit 29 - This bit enable the dummy phase of an operation."] #[inline(always)] - #[must_use] pub fn usr_dummy(&mut self) -> USR_DUMMY_W { USR_DUMMY_W::new(self, 29) } #[doc = "Bit 30 - This bit enable the address phase of an operation."] #[inline(always)] - #[must_use] pub fn usr_addr(&mut self) -> USR_ADDR_W { USR_ADDR_W::new(self, 30) } #[doc = "Bit 31 - This bit enable the command phase of an operation."] #[inline(always)] - #[must_use] pub fn usr_command(&mut self) -> USR_COMMAND_W { USR_COMMAND_W::new(self, 31) } diff --git a/esp32c2/src/spi1/user1.rs b/esp32c2/src/spi1/user1.rs index 02d28231aa..83cd75ed2a 100644 --- a/esp32c2/src/spi1/user1.rs +++ b/esp32c2/src/spi1/user1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - The length in spi_mem_clk cycles of dummy phase. The register value shall be (cycle_num-1)."] #[inline(always)] - #[must_use] pub fn usr_dummy_cyclelen(&mut self) -> USR_DUMMY_CYCLELEN_W { USR_DUMMY_CYCLELEN_W::new(self, 0) } #[doc = "Bits 26:31 - The length in bits of address phase. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn usr_addr_bitlen(&mut self) -> USR_ADDR_BITLEN_W { USR_ADDR_BITLEN_W::new(self, 26) } diff --git a/esp32c2/src/spi1/user2.rs b/esp32c2/src/spi1/user2.rs index 9fc36fcb3c..a3eb906fe6 100644 --- a/esp32c2/src/spi1/user2.rs +++ b/esp32c2/src/spi1/user2.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The value of command."] #[inline(always)] - #[must_use] pub fn usr_command_value(&mut self) -> USR_COMMAND_VALUE_W { USR_COMMAND_VALUE_W::new(self, 0) } #[doc = "Bits 28:31 - The length in bits of command phase. The register value shall be (bit_num-1)"] #[inline(always)] - #[must_use] pub fn usr_command_bitlen(&mut self) -> USR_COMMAND_BITLEN_W { USR_COMMAND_BITLEN_W::new(self, 28) } diff --git a/esp32c2/src/spi1/w.rs b/esp32c2/src/spi1/w.rs index 5b54f2c664..a1537b342a 100644 --- a/esp32c2/src/spi1/w.rs +++ b/esp32c2/src/spi1/w.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - data buffer"] #[inline(always)] - #[must_use] pub fn buf(&mut self) -> BUF_W { BUF_W::new(self, 0) } diff --git a/esp32c2/src/spi2/addr.rs b/esp32c2/src/spi2/addr.rs index 03ea07541d..acb1a7dfa7 100644 --- a/esp32c2/src/spi2/addr.rs +++ b/esp32c2/src/spi2/addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Address to slave. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_addr_value(&mut self) -> USR_ADDR_VALUE_W { USR_ADDR_VALUE_W::new(self, 0) } diff --git a/esp32c2/src/spi2/clk_gate.rs b/esp32c2/src/spi2/clk_gate.rs index 20f0adfc48..a8142d4385 100644 --- a/esp32c2/src/spi2/clk_gate.rs +++ b/esp32c2/src/spi2/clk_gate.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable clk gate"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to power on the SPI module clock."] #[inline(always)] - #[must_use] pub fn mst_clk_active(&mut self) -> MST_CLK_ACTIVE_W { MST_CLK_ACTIVE_W::new(self, 1) } #[doc = "Bit 2 - This bit is used to select SPI module clock source in master mode. 1: PLL_CLK_80M. 0: XTAL CLK."] #[inline(always)] - #[must_use] pub fn mst_clk_sel(&mut self) -> MST_CLK_SEL_W { MST_CLK_SEL_W::new(self, 2) } diff --git a/esp32c2/src/spi2/clock.rs b/esp32c2/src/spi2/clock.rs index 8b450b70fc..78e6f168df 100644 --- a/esp32c2/src/spi2/clock.rs +++ b/esp32c2/src/spi2/clock.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - In the master mode it must be equal to spi_clkcnt_N. In the slave mode it must be 0. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clkcnt_l(&mut self) -> CLKCNT_L_W { CLKCNT_L_W::new(self, 0) } #[doc = "Bits 6:11 - In the master mode it must be floor((spi_clkcnt_N+1)/2-1). In the slave mode it must be 0. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clkcnt_h(&mut self) -> CLKCNT_H_W { CLKCNT_H_W::new(self, 6) } #[doc = "Bits 12:17 - In the master mode it is the divider of spi_clk. So spi_clk frequency is system/(spi_clkdiv_pre+1)/(spi_clkcnt_N+1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clkcnt_n(&mut self) -> CLKCNT_N_W { CLKCNT_N_W::new(self, 12) } #[doc = "Bits 18:21 - In the master mode it is pre-divider of spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clkdiv_pre(&mut self) -> CLKDIV_PRE_W { CLKDIV_PRE_W::new(self, 18) } #[doc = "Bit 31 - In the master mode 1: spi_clk is eqaul to system 0: spi_clk is divided from system clock. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clk_equ_sysclk(&mut self) -> CLK_EQU_SYSCLK_W { CLK_EQU_SYSCLK_W::new(self, 31) } diff --git a/esp32c2/src/spi2/cmd.rs b/esp32c2/src/spi2/cmd.rs index 1ada226097..6946c7b016 100644 --- a/esp32c2/src/spi2/cmd.rs +++ b/esp32c2/src/spi2/cmd.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:17 - Define the APB cycles of SPI_CONF state. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn conf_bitlen(&mut self) -> CONF_BITLEN_W { CONF_BITLEN_W::new(self, 0) } #[doc = "Bit 23 - Set this bit to synchronize SPI registers from APB clock domain into SPI module clock domain, which is only used in SPI master mode."] #[inline(always)] - #[must_use] pub fn update(&mut self) -> UPDATE_W { UPDATE_W::new(self, 23) } #[doc = "Bit 24 - User define command enable. An operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable. Can not be changed by CONF_buf."] #[inline(always)] - #[must_use] pub fn usr(&mut self) -> USR_W { USR_W::new(self, 24) } diff --git a/esp32c2/src/spi2/ctrl.rs b/esp32c2/src/spi2/ctrl.rs index 0e3978da15..ae5fb125ef 100644 --- a/esp32c2/src/spi2/ctrl.rs +++ b/esp32c2/src/spi2/ctrl.rs @@ -168,79 +168,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - 0: In the dummy phase, the FSPI bus signals are not output. 1: In the dummy phase, the FSPI bus signals are output. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dummy_out(&mut self) -> DUMMY_OUT_W { DUMMY_OUT_W::new(self, 3) } #[doc = "Bit 5 - Apply 2 signals during addr phase 1:enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn faddr_dual(&mut self) -> FADDR_DUAL_W { FADDR_DUAL_W::new(self, 5) } #[doc = "Bit 6 - Apply 4 signals during addr phase 1:enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn faddr_quad(&mut self) -> FADDR_QUAD_W { FADDR_QUAD_W::new(self, 6) } #[doc = "Bit 8 - Apply 2 signals during command phase 1:enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fcmd_dual(&mut self) -> FCMD_DUAL_W { FCMD_DUAL_W::new(self, 8) } #[doc = "Bit 9 - Apply 4 signals during command phase 1:enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fcmd_quad(&mut self) -> FCMD_QUAD_W { FCMD_QUAD_W::new(self, 9) } #[doc = "Bit 14 - In the read operations, read-data phase apply 2 signals. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fread_dual(&mut self) -> FREAD_DUAL_W { FREAD_DUAL_W::new(self, 14) } #[doc = "Bit 15 - In the read operations read-data phase apply 4 signals. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fread_quad(&mut self) -> FREAD_QUAD_W { FREAD_QUAD_W::new(self, 15) } #[doc = "Bit 18 - The bit is used to set MISO line polarity, 1: high 0, low. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn q_pol(&mut self) -> Q_POL_W { Q_POL_W::new(self, 18) } #[doc = "Bit 19 - The bit is used to set MOSI line polarity, 1: high 0, low. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn d_pol(&mut self) -> D_POL_W { D_POL_W::new(self, 19) } #[doc = "Bit 20 - SPI_HOLD output value when SPI is idle. 1: output high, 0: output low. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn hold_pol(&mut self) -> HOLD_POL_W { HOLD_POL_W::new(self, 20) } #[doc = "Bit 21 - Write protect signal output when SPI is idle. 1: output high, 0: output low. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn wp_pol(&mut self) -> WP_POL_W { WP_POL_W::new(self, 21) } #[doc = "Bits 23:24 - In read-data (MISO) phase 1: LSB first 0: MSB first. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn rd_bit_order(&mut self) -> RD_BIT_ORDER_W { RD_BIT_ORDER_W::new(self, 23) } #[doc = "Bits 25:26 - In command address write-data (MOSI) phases 1: LSB firs 0: MSB first. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn wr_bit_order(&mut self) -> WR_BIT_ORDER_W { WR_BIT_ORDER_W::new(self, 25) } diff --git a/esp32c2/src/spi2/date.rs b/esp32c2/src/spi2/date.rs index db24732ace..0bfcbf8fd2 100644 --- a/esp32c2/src/spi2/date.rs +++ b/esp32c2/src/spi2/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - SPI register version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c2/src/spi2/dma_conf.rs b/esp32c2/src/spi2/dma_conf.rs index 83e8fa3de1..29de1d9bb0 100644 --- a/esp32c2/src/spi2/dma_conf.rs +++ b/esp32c2/src/spi2/dma_conf.rs @@ -96,55 +96,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 18 - Enable dma segment transfer in spi dma half slave mode. 1: enable. 0: disable."] #[inline(always)] - #[must_use] pub fn dma_slv_seg_trans_en(&mut self) -> DMA_SLV_SEG_TRANS_EN_W { DMA_SLV_SEG_TRANS_EN_W::new(self, 18) } #[doc = "Bit 19 - 1: spi_dma_infifo_full_vld is cleared by spi slave cmd 5. 0: spi_dma_infifo_full_vld is cleared by spi_trans_done."] #[inline(always)] - #[must_use] pub fn slv_rx_seg_trans_clr_en(&mut self) -> SLV_RX_SEG_TRANS_CLR_EN_W { SLV_RX_SEG_TRANS_CLR_EN_W::new(self, 19) } #[doc = "Bit 20 - 1: spi_dma_outfifo_empty_vld is cleared by spi slave cmd 6. 0: spi_dma_outfifo_empty_vld is cleared by spi_trans_done."] #[inline(always)] - #[must_use] pub fn slv_tx_seg_trans_clr_en(&mut self) -> SLV_TX_SEG_TRANS_CLR_EN_W { SLV_TX_SEG_TRANS_CLR_EN_W::new(self, 20) } #[doc = "Bit 21 - 1: spi_dma_inlink_eof is set when the number of dma pushed data bytes is equal to the value of spi_slv/mst_dma_rd_bytelen\\[19:0\\] in spi dma transition. 0: spi_dma_inlink_eof is set by spi_trans_done in non-seg-trans or spi_dma_seg_trans_done in seg-trans."] #[inline(always)] - #[must_use] pub fn rx_eof_en(&mut self) -> RX_EOF_EN_W { RX_EOF_EN_W::new(self, 21) } #[doc = "Bit 27 - Set this bit to enable SPI DMA controlled receive data mode."] #[inline(always)] - #[must_use] pub fn dma_rx_ena(&mut self) -> DMA_RX_ENA_W { DMA_RX_ENA_W::new(self, 27) } #[doc = "Bit 28 - Set this bit to enable SPI DMA controlled send data mode."] #[inline(always)] - #[must_use] pub fn dma_tx_ena(&mut self) -> DMA_TX_ENA_W { DMA_TX_ENA_W::new(self, 28) } #[doc = "Bit 29 - Set this bit to reset RX AFIFO, which is used to receive data in SPI master and slave mode transfer."] #[inline(always)] - #[must_use] pub fn rx_afifo_rst(&mut self) -> RX_AFIFO_RST_W { RX_AFIFO_RST_W::new(self, 29) } #[doc = "Bit 30 - Set this bit to reset BUF TX AFIFO, which is used send data out in SPI slave CPU controlled mode transfer and master mode transfer."] #[inline(always)] - #[must_use] pub fn buf_afifo_rst(&mut self) -> BUF_AFIFO_RST_W { BUF_AFIFO_RST_W::new(self, 30) } #[doc = "Bit 31 - Set this bit to reset DMA TX AFIFO, which is used to send data out in SPI slave DMA controlled mode transfer."] #[inline(always)] - #[must_use] pub fn dma_afifo_rst(&mut self) -> DMA_AFIFO_RST_W { DMA_AFIFO_RST_W::new(self, 31) } diff --git a/esp32c2/src/spi2/dma_int_clr.rs b/esp32c2/src/spi2/dma_int_clr.rs index f313dfe4f1..5de2402ddc 100644 --- a/esp32c2/src/spi2/dma_int_clr.rs +++ b/esp32c2/src/spi2/dma_int_clr.rs @@ -51,127 +51,106 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The clear bit for SPI_DMA_INFIFO_FULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_infifo_full_err(&mut self) -> DMA_INFIFO_FULL_ERR_W { DMA_INFIFO_FULL_ERR_W::new(self, 0) } #[doc = "Bit 1 - The clear bit for SPI_DMA_OUTFIFO_EMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_outfifo_empty_err(&mut self) -> DMA_OUTFIFO_EMPTY_ERR_W { DMA_OUTFIFO_EMPTY_ERR_W::new(self, 1) } #[doc = "Bit 2 - The clear bit for SPI slave Ex_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_ex_qpi(&mut self) -> SLV_EX_QPI_W { SLV_EX_QPI_W::new(self, 2) } #[doc = "Bit 3 - The clear bit for SPI slave En_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_en_qpi(&mut self) -> SLV_EN_QPI_W { SLV_EN_QPI_W::new(self, 3) } #[doc = "Bit 4 - The clear bit for SPI slave CMD7 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd7(&mut self) -> SLV_CMD7_W { SLV_CMD7_W::new(self, 4) } #[doc = "Bit 5 - The clear bit for SPI slave CMD8 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd8(&mut self) -> SLV_CMD8_W { SLV_CMD8_W::new(self, 5) } #[doc = "Bit 6 - The clear bit for SPI slave CMD9 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd9(&mut self) -> SLV_CMD9_W { SLV_CMD9_W::new(self, 6) } #[doc = "Bit 7 - The clear bit for SPI slave CMDA interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmda(&mut self) -> SLV_CMDA_W { SLV_CMDA_W::new(self, 7) } #[doc = "Bit 8 - The clear bit for SPI_SLV_RD_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_dma_done(&mut self) -> SLV_RD_DMA_DONE_W { SLV_RD_DMA_DONE_W::new(self, 8) } #[doc = "Bit 9 - The clear bit for SPI_SLV_WR_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_dma_done(&mut self) -> SLV_WR_DMA_DONE_W { SLV_WR_DMA_DONE_W::new(self, 9) } #[doc = "Bit 10 - The clear bit for SPI_SLV_RD_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_buf_done(&mut self) -> SLV_RD_BUF_DONE_W { SLV_RD_BUF_DONE_W::new(self, 10) } #[doc = "Bit 11 - The clear bit for SPI_SLV_WR_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_buf_done(&mut self) -> SLV_WR_BUF_DONE_W { SLV_WR_BUF_DONE_W::new(self, 11) } #[doc = "Bit 12 - The clear bit for SPI_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_done(&mut self) -> TRANS_DONE_W { TRANS_DONE_W::new(self, 12) } #[doc = "Bit 13 - The clear bit for SPI_DMA_SEG_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_seg_trans_done(&mut self) -> DMA_SEG_TRANS_DONE_W { DMA_SEG_TRANS_DONE_W::new(self, 13) } #[doc = "Bit 14 - The clear bit for SPI_SEG_MAGIC_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn seg_magic_err(&mut self) -> SEG_MAGIC_ERR_W { SEG_MAGIC_ERR_W::new(self, 14) } #[doc = "Bit 15 - The clear bit for SPI_SLV_BUF_ADDR_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_buf_addr_err(&mut self) -> SLV_BUF_ADDR_ERR_W { SLV_BUF_ADDR_ERR_W::new(self, 15) } #[doc = "Bit 16 - The clear bit for SPI_SLV_CMD_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd_err(&mut self) -> SLV_CMD_ERR_W { SLV_CMD_ERR_W::new(self, 16) } #[doc = "Bit 17 - The clear bit for SPI_MST_RX_AFIFO_WFULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_rx_afifo_wfull_err(&mut self) -> MST_RX_AFIFO_WFULL_ERR_W { MST_RX_AFIFO_WFULL_ERR_W::new(self, 17) } #[doc = "Bit 18 - The clear bit for SPI_MST_TX_AFIFO_REMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_tx_afifo_rempty_err(&mut self) -> MST_TX_AFIFO_REMPTY_ERR_W { MST_TX_AFIFO_REMPTY_ERR_W::new(self, 18) } #[doc = "Bit 19 - The clear bit for SPI_APP2_INT interrupt."] #[inline(always)] - #[must_use] pub fn app2(&mut self) -> APP2_W { APP2_W::new(self, 19) } #[doc = "Bit 20 - The clear bit for SPI_APP1_INT interrupt."] #[inline(always)] - #[must_use] pub fn app1(&mut self) -> APP1_W { APP1_W::new(self, 20) } diff --git a/esp32c2/src/spi2/dma_int_ena.rs b/esp32c2/src/spi2/dma_int_ena.rs index 05ed98c335..f90d704190 100644 --- a/esp32c2/src/spi2/dma_int_ena.rs +++ b/esp32c2/src/spi2/dma_int_ena.rs @@ -224,127 +224,106 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The enable bit for SPI_DMA_INFIFO_FULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_infifo_full_err(&mut self) -> DMA_INFIFO_FULL_ERR_W { DMA_INFIFO_FULL_ERR_W::new(self, 0) } #[doc = "Bit 1 - The enable bit for SPI_DMA_OUTFIFO_EMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_outfifo_empty_err(&mut self) -> DMA_OUTFIFO_EMPTY_ERR_W { DMA_OUTFIFO_EMPTY_ERR_W::new(self, 1) } #[doc = "Bit 2 - The enable bit for SPI slave Ex_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_ex_qpi(&mut self) -> SLV_EX_QPI_W { SLV_EX_QPI_W::new(self, 2) } #[doc = "Bit 3 - The enable bit for SPI slave En_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_en_qpi(&mut self) -> SLV_EN_QPI_W { SLV_EN_QPI_W::new(self, 3) } #[doc = "Bit 4 - The enable bit for SPI slave CMD7 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd7(&mut self) -> SLV_CMD7_W { SLV_CMD7_W::new(self, 4) } #[doc = "Bit 5 - The enable bit for SPI slave CMD8 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd8(&mut self) -> SLV_CMD8_W { SLV_CMD8_W::new(self, 5) } #[doc = "Bit 6 - The enable bit for SPI slave CMD9 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd9(&mut self) -> SLV_CMD9_W { SLV_CMD9_W::new(self, 6) } #[doc = "Bit 7 - The enable bit for SPI slave CMDA interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmda(&mut self) -> SLV_CMDA_W { SLV_CMDA_W::new(self, 7) } #[doc = "Bit 8 - The enable bit for SPI_SLV_RD_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_dma_done(&mut self) -> SLV_RD_DMA_DONE_W { SLV_RD_DMA_DONE_W::new(self, 8) } #[doc = "Bit 9 - The enable bit for SPI_SLV_WR_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_dma_done(&mut self) -> SLV_WR_DMA_DONE_W { SLV_WR_DMA_DONE_W::new(self, 9) } #[doc = "Bit 10 - The enable bit for SPI_SLV_RD_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_buf_done(&mut self) -> SLV_RD_BUF_DONE_W { SLV_RD_BUF_DONE_W::new(self, 10) } #[doc = "Bit 11 - The enable bit for SPI_SLV_WR_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_buf_done(&mut self) -> SLV_WR_BUF_DONE_W { SLV_WR_BUF_DONE_W::new(self, 11) } #[doc = "Bit 12 - The enable bit for SPI_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_done(&mut self) -> TRANS_DONE_W { TRANS_DONE_W::new(self, 12) } #[doc = "Bit 13 - The enable bit for SPI_DMA_SEG_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_seg_trans_done(&mut self) -> DMA_SEG_TRANS_DONE_W { DMA_SEG_TRANS_DONE_W::new(self, 13) } #[doc = "Bit 14 - The enable bit for SPI_SEG_MAGIC_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn seg_magic_err(&mut self) -> SEG_MAGIC_ERR_W { SEG_MAGIC_ERR_W::new(self, 14) } #[doc = "Bit 15 - The enable bit for SPI_SLV_BUF_ADDR_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_buf_addr_err(&mut self) -> SLV_BUF_ADDR_ERR_W { SLV_BUF_ADDR_ERR_W::new(self, 15) } #[doc = "Bit 16 - The enable bit for SPI_SLV_CMD_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd_err(&mut self) -> SLV_CMD_ERR_W { SLV_CMD_ERR_W::new(self, 16) } #[doc = "Bit 17 - The enable bit for SPI_MST_RX_AFIFO_WFULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_rx_afifo_wfull_err(&mut self) -> MST_RX_AFIFO_WFULL_ERR_W { MST_RX_AFIFO_WFULL_ERR_W::new(self, 17) } #[doc = "Bit 18 - The enable bit for SPI_MST_TX_AFIFO_REMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_tx_afifo_rempty_err(&mut self) -> MST_TX_AFIFO_REMPTY_ERR_W { MST_TX_AFIFO_REMPTY_ERR_W::new(self, 18) } #[doc = "Bit 19 - The enable bit for SPI_APP2_INT interrupt."] #[inline(always)] - #[must_use] pub fn app2(&mut self) -> APP2_W { APP2_W::new(self, 19) } #[doc = "Bit 20 - The enable bit for SPI_APP1_INT interrupt."] #[inline(always)] - #[must_use] pub fn app1(&mut self) -> APP1_W { APP1_W::new(self, 20) } diff --git a/esp32c2/src/spi2/dma_int_raw.rs b/esp32c2/src/spi2/dma_int_raw.rs index 36e00d4a8f..5ad114f0ce 100644 --- a/esp32c2/src/spi2/dma_int_raw.rs +++ b/esp32c2/src/spi2/dma_int_raw.rs @@ -224,127 +224,106 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: The current data rate of DMA Rx is smaller than that of SPI, which will lose the receive data. 0: Others."] #[inline(always)] - #[must_use] pub fn dma_infifo_full_err(&mut self) -> DMA_INFIFO_FULL_ERR_W { DMA_INFIFO_FULL_ERR_W::new(self, 0) } #[doc = "Bit 1 - 1: The current data rate of DMA TX is smaller than that of SPI. SPI will stop in master mode and send out all 0 in slave mode. 0: Others."] #[inline(always)] - #[must_use] pub fn dma_outfifo_empty_err(&mut self) -> DMA_OUTFIFO_EMPTY_ERR_W { DMA_OUTFIFO_EMPTY_ERR_W::new(self, 1) } #[doc = "Bit 2 - The raw bit for SPI slave Ex_QPI interrupt. 1: SPI slave mode Ex_QPI transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_ex_qpi(&mut self) -> SLV_EX_QPI_W { SLV_EX_QPI_W::new(self, 2) } #[doc = "Bit 3 - The raw bit for SPI slave En_QPI interrupt. 1: SPI slave mode En_QPI transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_en_qpi(&mut self) -> SLV_EN_QPI_W { SLV_EN_QPI_W::new(self, 3) } #[doc = "Bit 4 - The raw bit for SPI slave CMD7 interrupt. 1: SPI slave mode CMD7 transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_cmd7(&mut self) -> SLV_CMD7_W { SLV_CMD7_W::new(self, 4) } #[doc = "Bit 5 - The raw bit for SPI slave CMD8 interrupt. 1: SPI slave mode CMD8 transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_cmd8(&mut self) -> SLV_CMD8_W { SLV_CMD8_W::new(self, 5) } #[doc = "Bit 6 - The raw bit for SPI slave CMD9 interrupt. 1: SPI slave mode CMD9 transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_cmd9(&mut self) -> SLV_CMD9_W { SLV_CMD9_W::new(self, 6) } #[doc = "Bit 7 - The raw bit for SPI slave CMDA interrupt. 1: SPI slave mode CMDA transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_cmda(&mut self) -> SLV_CMDA_W { SLV_CMDA_W::new(self, 7) } #[doc = "Bit 8 - The raw bit for SPI_SLV_RD_DMA_DONE_INT interrupt. 1: SPI slave mode Rd_DMA transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_rd_dma_done(&mut self) -> SLV_RD_DMA_DONE_W { SLV_RD_DMA_DONE_W::new(self, 8) } #[doc = "Bit 9 - The raw bit for SPI_SLV_WR_DMA_DONE_INT interrupt. 1: SPI slave mode Wr_DMA transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_wr_dma_done(&mut self) -> SLV_WR_DMA_DONE_W { SLV_WR_DMA_DONE_W::new(self, 9) } #[doc = "Bit 10 - The raw bit for SPI_SLV_RD_BUF_DONE_INT interrupt. 1: SPI slave mode Rd_BUF transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_rd_buf_done(&mut self) -> SLV_RD_BUF_DONE_W { SLV_RD_BUF_DONE_W::new(self, 10) } #[doc = "Bit 11 - The raw bit for SPI_SLV_WR_BUF_DONE_INT interrupt. 1: SPI slave mode Wr_BUF transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_wr_buf_done(&mut self) -> SLV_WR_BUF_DONE_W { SLV_WR_BUF_DONE_W::new(self, 11) } #[doc = "Bit 12 - The raw bit for SPI_TRANS_DONE_INT interrupt. 1: SPI master mode transmission is ended. 0: others."] #[inline(always)] - #[must_use] pub fn trans_done(&mut self) -> TRANS_DONE_W { TRANS_DONE_W::new(self, 12) } #[doc = "Bit 13 - The raw bit for SPI_DMA_SEG_TRANS_DONE_INT interrupt. 1: spi master DMA full-duplex/half-duplex seg-conf-trans ends or slave half-duplex seg-trans ends. And data has been pushed to corresponding memory. 0: seg-conf-trans or seg-trans is not ended or not occurred."] #[inline(always)] - #[must_use] pub fn dma_seg_trans_done(&mut self) -> DMA_SEG_TRANS_DONE_W { DMA_SEG_TRANS_DONE_W::new(self, 13) } #[doc = "Bit 14 - The raw bit for SPI_SEG_MAGIC_ERR_INT interrupt. 1: The magic value in CONF buffer is error in the DMA seg-conf-trans. 0: others."] #[inline(always)] - #[must_use] pub fn seg_magic_err(&mut self) -> SEG_MAGIC_ERR_W { SEG_MAGIC_ERR_W::new(self, 14) } #[doc = "Bit 15 - The raw bit for SPI_SLV_BUF_ADDR_ERR_INT interrupt. 1: The accessing data address of the current SPI slave mode CPU controlled FD, Wr_BUF or Rd_BUF transmission is bigger than 63. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_buf_addr_err(&mut self) -> SLV_BUF_ADDR_ERR_W { SLV_BUF_ADDR_ERR_W::new(self, 15) } #[doc = "Bit 16 - The raw bit for SPI_SLV_CMD_ERR_INT interrupt. 1: The slave command value in the current SPI slave HD mode transmission is not supported. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_cmd_err(&mut self) -> SLV_CMD_ERR_W { SLV_CMD_ERR_W::new(self, 16) } #[doc = "Bit 17 - The raw bit for SPI_MST_RX_AFIFO_WFULL_ERR_INT interrupt. 1: There is a RX AFIFO write-full error when SPI inputs data in master mode. 0: Others."] #[inline(always)] - #[must_use] pub fn mst_rx_afifo_wfull_err(&mut self) -> MST_RX_AFIFO_WFULL_ERR_W { MST_RX_AFIFO_WFULL_ERR_W::new(self, 17) } #[doc = "Bit 18 - The raw bit for SPI_MST_TX_AFIFO_REMPTY_ERR_INT interrupt. 1: There is a TX BUF AFIFO read-empty error when SPI outputs data in master mode. 0: Others."] #[inline(always)] - #[must_use] pub fn mst_tx_afifo_rempty_err(&mut self) -> MST_TX_AFIFO_REMPTY_ERR_W { MST_TX_AFIFO_REMPTY_ERR_W::new(self, 18) } #[doc = "Bit 19 - The raw bit for SPI_APP2_INT interrupt. The value is only controlled by software."] #[inline(always)] - #[must_use] pub fn app2(&mut self) -> APP2_W { APP2_W::new(self, 19) } #[doc = "Bit 20 - The raw bit for SPI_APP1_INT interrupt. The value is only controlled by software."] #[inline(always)] - #[must_use] pub fn app1(&mut self) -> APP1_W { APP1_W::new(self, 20) } diff --git a/esp32c2/src/spi2/dma_int_set.rs b/esp32c2/src/spi2/dma_int_set.rs index 3da095f20a..aa2d02d1e4 100644 --- a/esp32c2/src/spi2/dma_int_set.rs +++ b/esp32c2/src/spi2/dma_int_set.rs @@ -51,7 +51,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The software set bit for SPI_DMA_INFIFO_FULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_infifo_full_err_int_set( &mut self, ) -> DMA_INFIFO_FULL_ERR_INT_SET_W { @@ -59,7 +58,6 @@ impl W { } #[doc = "Bit 1 - The software set bit for SPI_DMA_OUTFIFO_EMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_outfifo_empty_err_int_set( &mut self, ) -> DMA_OUTFIFO_EMPTY_ERR_INT_SET_W { @@ -67,97 +65,81 @@ impl W { } #[doc = "Bit 2 - The software set bit for SPI slave Ex_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_ex_qpi_int_set(&mut self) -> SLV_EX_QPI_INT_SET_W { SLV_EX_QPI_INT_SET_W::new(self, 2) } #[doc = "Bit 3 - The software set bit for SPI slave En_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_en_qpi_int_set(&mut self) -> SLV_EN_QPI_INT_SET_W { SLV_EN_QPI_INT_SET_W::new(self, 3) } #[doc = "Bit 4 - The software set bit for SPI slave CMD7 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd7_int_set(&mut self) -> SLV_CMD7_INT_SET_W { SLV_CMD7_INT_SET_W::new(self, 4) } #[doc = "Bit 5 - The software set bit for SPI slave CMD8 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd8_int_set(&mut self) -> SLV_CMD8_INT_SET_W { SLV_CMD8_INT_SET_W::new(self, 5) } #[doc = "Bit 6 - The software set bit for SPI slave CMD9 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd9_int_set(&mut self) -> SLV_CMD9_INT_SET_W { SLV_CMD9_INT_SET_W::new(self, 6) } #[doc = "Bit 7 - The software set bit for SPI slave CMDA interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmda_int_set(&mut self) -> SLV_CMDA_INT_SET_W { SLV_CMDA_INT_SET_W::new(self, 7) } #[doc = "Bit 8 - The software set bit for SPI_SLV_RD_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_dma_done_int_set(&mut self) -> SLV_RD_DMA_DONE_INT_SET_W { SLV_RD_DMA_DONE_INT_SET_W::new(self, 8) } #[doc = "Bit 9 - The software set bit for SPI_SLV_WR_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_dma_done_int_set(&mut self) -> SLV_WR_DMA_DONE_INT_SET_W { SLV_WR_DMA_DONE_INT_SET_W::new(self, 9) } #[doc = "Bit 10 - The software set bit for SPI_SLV_RD_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_buf_done_int_set(&mut self) -> SLV_RD_BUF_DONE_INT_SET_W { SLV_RD_BUF_DONE_INT_SET_W::new(self, 10) } #[doc = "Bit 11 - The software set bit for SPI_SLV_WR_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_buf_done_int_set(&mut self) -> SLV_WR_BUF_DONE_INT_SET_W { SLV_WR_BUF_DONE_INT_SET_W::new(self, 11) } #[doc = "Bit 12 - The software set bit for SPI_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_done_int_set(&mut self) -> TRANS_DONE_INT_SET_W { TRANS_DONE_INT_SET_W::new(self, 12) } #[doc = "Bit 13 - The software set bit for SPI_DMA_SEG_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_seg_trans_done_int_set(&mut self) -> DMA_SEG_TRANS_DONE_INT_SET_W { DMA_SEG_TRANS_DONE_INT_SET_W::new(self, 13) } #[doc = "Bit 14 - The software set bit for SPI_SEG_MAGIC_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn seg_magic_err_int_set(&mut self) -> SEG_MAGIC_ERR_INT_SET_W { SEG_MAGIC_ERR_INT_SET_W::new(self, 14) } #[doc = "Bit 15 - The software set bit for SPI_SLV_BUF_ADDR_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_buf_addr_err_int_set(&mut self) -> SLV_BUF_ADDR_ERR_INT_SET_W { SLV_BUF_ADDR_ERR_INT_SET_W::new(self, 15) } #[doc = "Bit 16 - The software set bit for SPI_SLV_CMD_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd_err_int_set(&mut self) -> SLV_CMD_ERR_INT_SET_W { SLV_CMD_ERR_INT_SET_W::new(self, 16) } #[doc = "Bit 17 - The software set bit for SPI_MST_RX_AFIFO_WFULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_rx_afifo_wfull_err_int_set( &mut self, ) -> MST_RX_AFIFO_WFULL_ERR_INT_SET_W { @@ -165,7 +147,6 @@ impl W { } #[doc = "Bit 18 - The software set bit for SPI_MST_TX_AFIFO_REMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_tx_afifo_rempty_err_int_set( &mut self, ) -> MST_TX_AFIFO_REMPTY_ERR_INT_SET_W { @@ -173,13 +154,11 @@ impl W { } #[doc = "Bit 19 - The software set bit for SPI_APP2_INT interrupt."] #[inline(always)] - #[must_use] pub fn app2_int_set(&mut self) -> APP2_INT_SET_W { APP2_INT_SET_W::new(self, 19) } #[doc = "Bit 20 - The software set bit for SPI_APP1_INT interrupt."] #[inline(always)] - #[must_use] pub fn app1_int_set(&mut self) -> APP1_INT_SET_W { APP1_INT_SET_W::new(self, 20) } diff --git a/esp32c2/src/spi2/misc.rs b/esp32c2/src/spi2/misc.rs index 992a699e3e..624f0678ea 100644 --- a/esp32c2/src/spi2/misc.rs +++ b/esp32c2/src/spi2/misc.rs @@ -174,73 +174,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - SPI CS0 pin enable, 1: disable CS0, 0: spi_cs0 signal is from/to CS0 pin. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs0_dis(&mut self) -> CS0_DIS_W { CS0_DIS_W::new(self, 0) } #[doc = "Bit 1 - SPI CS1 pin enable, 1: disable CS1, 0: spi_cs1 signal is from/to CS1 pin. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs1_dis(&mut self) -> CS1_DIS_W { CS1_DIS_W::new(self, 1) } #[doc = "Bit 2 - SPI CS2 pin enable, 1: disable CS2, 0: spi_cs2 signal is from/to CS2 pin. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs2_dis(&mut self) -> CS2_DIS_W { CS2_DIS_W::new(self, 2) } #[doc = "Bit 3 - SPI CS3 pin enable, 1: disable CS3, 0: spi_cs3 signal is from/to CS3 pin. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs3_dis(&mut self) -> CS3_DIS_W { CS3_DIS_W::new(self, 3) } #[doc = "Bit 4 - SPI CS4 pin enable, 1: disable CS4, 0: spi_cs4 signal is from/to CS4 pin. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs4_dis(&mut self) -> CS4_DIS_W { CS4_DIS_W::new(self, 4) } #[doc = "Bit 5 - SPI CS5 pin enable, 1: disable CS5, 0: spi_cs5 signal is from/to CS5 pin. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs5_dis(&mut self) -> CS5_DIS_W { CS5_DIS_W::new(self, 5) } #[doc = "Bit 6 - 1: spi clk out disable, 0: spi clk out enable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn ck_dis(&mut self) -> CK_DIS_W { CK_DIS_W::new(self, 6) } #[doc = "Bits 7:12 - In the master mode the bits are the polarity of spi cs line, the value is equivalent to spi_cs ^ spi_master_cs_pol. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn master_cs_pol(&mut self) -> MASTER_CS_POL_W { MASTER_CS_POL_W::new(self, 7) } #[doc = "Bit 23 - spi slave input cs polarity select. 1: inv 0: not change. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn slave_cs_pol(&mut self) -> SLAVE_CS_POL_W { SLAVE_CS_POL_W::new(self, 23) } #[doc = "Bit 29 - 1: spi clk line is high when idle 0: spi clk line is low when idle. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn ck_idle_edge(&mut self) -> CK_IDLE_EDGE_W { CK_IDLE_EDGE_W::new(self, 29) } #[doc = "Bit 30 - spi cs line keep low when the bit is set. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_keep_active(&mut self) -> CS_KEEP_ACTIVE_W { CS_KEEP_ACTIVE_W::new(self, 30) } #[doc = "Bit 31 - 1: SPI quad input swap enable, swap FSPID with FSPIQ, swap FSPIWP with FSPIHD. 0: spi quad input swap disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn quad_din_pin_swap(&mut self) -> QUAD_DIN_PIN_SWAP_W { QUAD_DIN_PIN_SWAP_W::new(self, 31) } diff --git a/esp32c2/src/spi2/ms_dlen.rs b/esp32c2/src/spi2/ms_dlen.rs index 14a0b1bf7f..fab214224a 100644 --- a/esp32c2/src/spi2/ms_dlen.rs +++ b/esp32c2/src/spi2/ms_dlen.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:17 - The value of these bits is the configured SPI transmission data bit length in master mode DMA controlled transfer or CPU controlled transfer. The value is also the configured bit length in slave mode DMA RX controlled transfer. The register value shall be (bit_num-1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn ms_data_bitlen(&mut self) -> MS_DATA_BITLEN_W { MS_DATA_BITLEN_W::new(self, 0) } diff --git a/esp32c2/src/spi2/slave.rs b/esp32c2/src/spi2/slave.rs index 790884a738..ae7b3d4f66 100644 --- a/esp32c2/src/spi2/slave.rs +++ b/esp32c2/src/spi2/slave.rs @@ -116,67 +116,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - SPI clock mode bits. 0: SPI clock is off when CS inactive 1: SPI clock is delayed one cycle after CS inactive 2: SPI clock is delayed two cycles after CS inactive 3: SPI clock is alwasy on. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clk_mode(&mut self) -> CLK_MODE_W { CLK_MODE_W::new(self, 0) } #[doc = "Bit 2 - {CPOL, CPHA},1: support spi clk mode 1 and 3, first edge output data B\\[0\\]/B\\[7\\]. 0: support spi clk mode 0 and 2, first edge output data B\\[1\\]/B\\[6\\]."] #[inline(always)] - #[must_use] pub fn clk_mode_13(&mut self) -> CLK_MODE_13_W { CLK_MODE_13_W::new(self, 2) } #[doc = "Bit 3 - It saves half a cycle when tsck is the same as rsck. 1: output data at rsck posedge 0: output data at tsck posedge"] #[inline(always)] - #[must_use] pub fn rsck_data_out(&mut self) -> RSCK_DATA_OUT_W { RSCK_DATA_OUT_W::new(self, 3) } #[doc = "Bit 8 - 1: SPI_SLV_DATA_BITLEN stores data bit length of master-read-slave data length in DMA controlled mode(Rd_DMA). 0: others"] #[inline(always)] - #[must_use] pub fn slv_rddma_bitlen_en(&mut self) -> SLV_RDDMA_BITLEN_EN_W { SLV_RDDMA_BITLEN_EN_W::new(self, 8) } #[doc = "Bit 9 - 1: SPI_SLV_DATA_BITLEN stores data bit length of master-write-to-slave data length in DMA controlled mode(Wr_DMA). 0: others"] #[inline(always)] - #[must_use] pub fn slv_wrdma_bitlen_en(&mut self) -> SLV_WRDMA_BITLEN_EN_W { SLV_WRDMA_BITLEN_EN_W::new(self, 9) } #[doc = "Bit 10 - 1: SPI_SLV_DATA_BITLEN stores data bit length of master-read-slave data length in CPU controlled mode(Rd_BUF). 0: others"] #[inline(always)] - #[must_use] pub fn slv_rdbuf_bitlen_en(&mut self) -> SLV_RDBUF_BITLEN_EN_W { SLV_RDBUF_BITLEN_EN_W::new(self, 10) } #[doc = "Bit 11 - 1: SPI_SLV_DATA_BITLEN stores data bit length of master-write-to-slave data length in CPU controlled mode(Wr_BUF). 0: others"] #[inline(always)] - #[must_use] pub fn slv_wrbuf_bitlen_en(&mut self) -> SLV_WRBUF_BITLEN_EN_W { SLV_WRBUF_BITLEN_EN_W::new(self, 11) } #[doc = "Bits 22:25 - The magic value of BM table in master DMA seg-trans."] #[inline(always)] - #[must_use] pub fn dma_seg_magic_value(&mut self) -> DMA_SEG_MAGIC_VALUE_W { DMA_SEG_MAGIC_VALUE_W::new(self, 22) } #[doc = "Bit 26 - Set SPI work mode. 1: slave mode 0: master mode."] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 26) } #[doc = "Bit 27 - Software reset enable, reset the spi clock line cs line and data lines. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn soft_reset(&mut self) -> SOFT_RESET_W { SOFT_RESET_W::new(self, 27) } #[doc = "Bit 28 - 1: Enable the DMA CONF phase of current seg-trans operation, which means seg-trans will start. 0: This is not seg-trans mode."] #[inline(always)] - #[must_use] pub fn usr_conf(&mut self) -> USR_CONF_W { USR_CONF_W::new(self, 28) } diff --git a/esp32c2/src/spi2/slave1.rs b/esp32c2/src/spi2/slave1.rs index 4e464a31b4..2408ff65a5 100644 --- a/esp32c2/src/spi2/slave1.rs +++ b/esp32c2/src/spi2/slave1.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:17 - The transferred data bit length in SPI slave FD and HD mode."] #[inline(always)] - #[must_use] pub fn slv_data_bitlen(&mut self) -> SLV_DATA_BITLEN_W { SLV_DATA_BITLEN_W::new(self, 0) } #[doc = "Bits 18:25 - In the slave mode it is the value of command."] #[inline(always)] - #[must_use] pub fn slv_last_command(&mut self) -> SLV_LAST_COMMAND_W { SLV_LAST_COMMAND_W::new(self, 18) } #[doc = "Bits 26:31 - In the slave mode it is the value of address."] #[inline(always)] - #[must_use] pub fn slv_last_addr(&mut self) -> SLV_LAST_ADDR_W { SLV_LAST_ADDR_W::new(self, 26) } diff --git a/esp32c2/src/spi2/user.rs b/esp32c2/src/spi2/user.rs index f3097650e8..3d2ed530a7 100644 --- a/esp32c2/src/spi2/user.rs +++ b/esp32c2/src/spi2/user.rs @@ -220,115 +220,96 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set the bit to enable full duplex communication. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn doutdin(&mut self) -> DOUTDIN_W { DOUTDIN_W::new(self, 0) } #[doc = "Bit 3 - Both for master mode and slave mode. 1: spi controller is in QPI mode. 0: others. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn qpi_mode(&mut self) -> QPI_MODE_W { QPI_MODE_W::new(self, 3) } #[doc = "Bit 5 - In the slave mode, this bit can be used to change the polarity of tsck. 0: tsck = spi_ck_i. 1:tsck = !spi_ck_i."] #[inline(always)] - #[must_use] pub fn tsck_i_edge(&mut self) -> TSCK_I_EDGE_W { TSCK_I_EDGE_W::new(self, 5) } #[doc = "Bit 6 - spi cs keep low when spi is in done phase. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_hold(&mut self) -> CS_HOLD_W { CS_HOLD_W::new(self, 6) } #[doc = "Bit 7 - spi cs is enable when spi is in prepare phase. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_setup(&mut self) -> CS_SETUP_W { CS_SETUP_W::new(self, 7) } #[doc = "Bit 8 - In the slave mode, this bit can be used to change the polarity of rsck. 0: rsck = !spi_ck_i. 1:rsck = spi_ck_i."] #[inline(always)] - #[must_use] pub fn rsck_i_edge(&mut self) -> RSCK_I_EDGE_W { RSCK_I_EDGE_W::new(self, 8) } #[doc = "Bit 9 - the bit combined with spi_mosi_delay_mode bits to set mosi signal delay mode. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn ck_out_edge(&mut self) -> CK_OUT_EDGE_W { CK_OUT_EDGE_W::new(self, 9) } #[doc = "Bit 12 - In the write operations read-data phase apply 2 signals. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fwrite_dual(&mut self) -> FWRITE_DUAL_W { FWRITE_DUAL_W::new(self, 12) } #[doc = "Bit 13 - In the write operations read-data phase apply 4 signals. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fwrite_quad(&mut self) -> FWRITE_QUAD_W { FWRITE_QUAD_W::new(self, 13) } #[doc = "Bit 15 - 1: Enable the DMA CONF phase of next seg-trans operation, which means seg-trans will continue. 0: The seg-trans will end after the current SPI seg-trans or this is not seg-trans mode. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_conf_nxt(&mut self) -> USR_CONF_NXT_W { USR_CONF_NXT_W::new(self, 15) } #[doc = "Bit 17 - Set the bit to enable 3-line half duplex communication mosi and miso signals share the same pin. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn sio(&mut self) -> SIO_W { SIO_W::new(self, 17) } #[doc = "Bit 24 - read-data phase only access to high-part of the buffer spi_w8~spi_w15. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_miso_highpart(&mut self) -> USR_MISO_HIGHPART_W { USR_MISO_HIGHPART_W::new(self, 24) } #[doc = "Bit 25 - write-data phase only access to high-part of the buffer spi_w8~spi_w15. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_mosi_highpart(&mut self) -> USR_MOSI_HIGHPART_W { USR_MOSI_HIGHPART_W::new(self, 25) } #[doc = "Bit 26 - spi clock is disable in dummy phase when the bit is enable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_dummy_idle(&mut self) -> USR_DUMMY_IDLE_W { USR_DUMMY_IDLE_W::new(self, 26) } #[doc = "Bit 27 - This bit enable the write-data phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_mosi(&mut self) -> USR_MOSI_W { USR_MOSI_W::new(self, 27) } #[doc = "Bit 28 - This bit enable the read-data phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_miso(&mut self) -> USR_MISO_W { USR_MISO_W::new(self, 28) } #[doc = "Bit 29 - This bit enable the dummy phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_dummy(&mut self) -> USR_DUMMY_W { USR_DUMMY_W::new(self, 29) } #[doc = "Bit 30 - This bit enable the address phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_addr(&mut self) -> USR_ADDR_W { USR_ADDR_W::new(self, 30) } #[doc = "Bit 31 - This bit enable the command phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_command(&mut self) -> USR_COMMAND_W { USR_COMMAND_W::new(self, 31) } diff --git a/esp32c2/src/spi2/user1.rs b/esp32c2/src/spi2/user1.rs index 95f635fa29..ebf323bb54 100644 --- a/esp32c2/src/spi2/user1.rs +++ b/esp32c2/src/spi2/user1.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - The length in spi_clk cycles of dummy phase. The register value shall be (cycle_num-1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_dummy_cyclelen(&mut self) -> USR_DUMMY_CYCLELEN_W { USR_DUMMY_CYCLELEN_W::new(self, 0) } #[doc = "Bit 16 - 1: SPI transfer is ended when SPI RX AFIFO wfull error is valid in GP-SPI master FD/HD-mode. 0: SPI transfer is not ended when SPI RX AFIFO wfull error is valid in GP-SPI master FD/HD-mode."] #[inline(always)] - #[must_use] pub fn mst_wfull_err_end_en(&mut self) -> MST_WFULL_ERR_END_EN_W { MST_WFULL_ERR_END_EN_W::new(self, 16) } #[doc = "Bits 17:21 - (cycles+1) of prepare phase by spi clock this bits are combined with spi_cs_setup bit. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_setup_time(&mut self) -> CS_SETUP_TIME_W { CS_SETUP_TIME_W::new(self, 17) } #[doc = "Bits 22:26 - delay cycles of cs pin by spi clock this bits are combined with spi_cs_hold bit. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_hold_time(&mut self) -> CS_HOLD_TIME_W { CS_HOLD_TIME_W::new(self, 22) } #[doc = "Bits 27:31 - The length in bits of address phase. The register value shall be (bit_num-1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_addr_bitlen(&mut self) -> USR_ADDR_BITLEN_W { USR_ADDR_BITLEN_W::new(self, 27) } diff --git a/esp32c2/src/spi2/user2.rs b/esp32c2/src/spi2/user2.rs index df58aa38b9..3508800e72 100644 --- a/esp32c2/src/spi2/user2.rs +++ b/esp32c2/src/spi2/user2.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The value of command. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_command_value(&mut self) -> USR_COMMAND_VALUE_W { USR_COMMAND_VALUE_W::new(self, 0) } #[doc = "Bit 27 - 1: SPI transfer is ended when SPI TX AFIFO read empty error is valid in GP-SPI master FD/HD-mode. 0: SPI transfer is not ended when SPI TX AFIFO read empty error is valid in GP-SPI master FD/HD-mode."] #[inline(always)] - #[must_use] pub fn mst_rempty_err_end_en(&mut self) -> MST_REMPTY_ERR_END_EN_W { MST_REMPTY_ERR_END_EN_W::new(self, 27) } #[doc = "Bits 28:31 - The length in bits of command phase. The register value shall be (bit_num-1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_command_bitlen(&mut self) -> USR_COMMAND_BITLEN_W { USR_COMMAND_BITLEN_W::new(self, 28) } diff --git a/esp32c2/src/spi2/w.rs b/esp32c2/src/spi2/w.rs index 938ceae002..dfd00d53e3 100644 --- a/esp32c2/src/spi2/w.rs +++ b/esp32c2/src/spi2/w.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - data buffer"] #[inline(always)] - #[must_use] pub fn buf(&mut self) -> BUF_W { BUF_W::new(self, 0) } diff --git a/esp32c2/src/system/bt_lpck_div_frac.rs b/esp32c2/src/system/bt_lpck_div_frac.rs index fb446cb206..9f1a0f4556 100644 --- a/esp32c2/src/system/bt_lpck_div_frac.rs +++ b/esp32c2/src/system/bt_lpck_div_frac.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - This field is lower power clock frequent division factor b"] #[inline(always)] - #[must_use] pub fn bt_lpck_div_b(&mut self) -> BT_LPCK_DIV_B_W { BT_LPCK_DIV_B_W::new(self, 0) } #[doc = "Bits 12:23 - This field is lower power clock frequent division factor a"] #[inline(always)] - #[must_use] pub fn bt_lpck_div_a(&mut self) -> BT_LPCK_DIV_A_W { BT_LPCK_DIV_A_W::new(self, 12) } #[doc = "Bit 24 - Set 1 to select rtc-slow clock as rtc low power clock"] #[inline(always)] - #[must_use] pub fn lpclk_sel_rtc_slow(&mut self) -> LPCLK_SEL_RTC_SLOW_W { LPCLK_SEL_RTC_SLOW_W::new(self, 24) } #[doc = "Bit 25 - Set 1 to select 8m clock as rtc low power clock"] #[inline(always)] - #[must_use] pub fn lpclk_sel_8m(&mut self) -> LPCLK_SEL_8M_W { LPCLK_SEL_8M_W::new(self, 25) } #[doc = "Bit 26 - Set 1 to select xtal clock as rtc low power clock"] #[inline(always)] - #[must_use] pub fn lpclk_sel_xtal(&mut self) -> LPCLK_SEL_XTAL_W { LPCLK_SEL_XTAL_W::new(self, 26) } #[doc = "Bit 27 - Set 1 to select xtal32k clock as low power clock"] #[inline(always)] - #[must_use] pub fn lpclk_sel_xtal32k(&mut self) -> LPCLK_SEL_XTAL32K_W { LPCLK_SEL_XTAL32K_W::new(self, 27) } #[doc = "Bit 28 - Set 1 to enable RTC low power clock"] #[inline(always)] - #[must_use] pub fn lpclk_rtc_en(&mut self) -> LPCLK_RTC_EN_W { LPCLK_RTC_EN_W::new(self, 28) } diff --git a/esp32c2/src/system/bt_lpck_div_int.rs b/esp32c2/src/system/bt_lpck_div_int.rs index 10bb30107f..9e83a9e885 100644 --- a/esp32c2/src/system/bt_lpck_div_int.rs +++ b/esp32c2/src/system/bt_lpck_div_int.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - This field is lower power clock frequent division factor"] #[inline(always)] - #[must_use] pub fn bt_lpck_div_num(&mut self) -> BT_LPCK_DIV_NUM_W { BT_LPCK_DIV_NUM_W::new(self, 0) } diff --git a/esp32c2/src/system/cache_control.rs b/esp32c2/src/system/cache_control.rs index b3afcbf7b7..ce191be17c 100644 --- a/esp32c2/src/system/cache_control.rs +++ b/esp32c2/src/system/cache_control.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable icache clock"] #[inline(always)] - #[must_use] pub fn icache_clk_on(&mut self) -> ICACHE_CLK_ON_W { ICACHE_CLK_ON_W::new(self, 0) } #[doc = "Bit 1 - Set 1 to let icache reset"] #[inline(always)] - #[must_use] pub fn icache_reset(&mut self) -> ICACHE_RESET_W { ICACHE_RESET_W::new(self, 1) } #[doc = "Bit 2 - Set 1 to enable dcache clock"] #[inline(always)] - #[must_use] pub fn dcache_clk_on(&mut self) -> DCACHE_CLK_ON_W { DCACHE_CLK_ON_W::new(self, 2) } #[doc = "Bit 3 - Set 1 to let dcache reset"] #[inline(always)] - #[must_use] pub fn dcache_reset(&mut self) -> DCACHE_RESET_W { DCACHE_RESET_W::new(self, 3) } diff --git a/esp32c2/src/system/clock_gate.rs b/esp32c2/src/system/clock_gate.rs index c11923fb98..a58faa7d65 100644 --- a/esp32c2/src/system/clock_gate.rs +++ b/esp32c2/src/system/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_clk_en"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32c2/src/system/comb_pvt_hvt_conf.rs b/esp32c2/src/system/comb_pvt_hvt_conf.rs index 803dc3e8fc..a9962d6b0a 100644 --- a/esp32c2/src/system/comb_pvt_hvt_conf.rs +++ b/esp32c2/src/system/comb_pvt_hvt_conf.rs @@ -36,19 +36,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - reg_comb_path_len_hvt"] #[inline(always)] - #[must_use] pub fn comb_path_len_hvt(&mut self) -> COMB_PATH_LEN_HVT_W { COMB_PATH_LEN_HVT_W::new(self, 0) } #[doc = "Bit 6 - reg_comb_err_cnt_clr_hvt"] #[inline(always)] - #[must_use] pub fn comb_err_cnt_clr_hvt(&mut self) -> COMB_ERR_CNT_CLR_HVT_W { COMB_ERR_CNT_CLR_HVT_W::new(self, 6) } #[doc = "Bit 7 - reg_comb_pvt_monitor_en_hvt"] #[inline(always)] - #[must_use] pub fn comb_pvt_monitor_en_hvt(&mut self) -> COMB_PVT_MONITOR_EN_HVT_W { COMB_PVT_MONITOR_EN_HVT_W::new(self, 7) } diff --git a/esp32c2/src/system/comb_pvt_lvt_conf.rs b/esp32c2/src/system/comb_pvt_lvt_conf.rs index 634c02e91c..29b6b5e2f2 100644 --- a/esp32c2/src/system/comb_pvt_lvt_conf.rs +++ b/esp32c2/src/system/comb_pvt_lvt_conf.rs @@ -36,19 +36,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - reg_comb_path_len_lvt"] #[inline(always)] - #[must_use] pub fn comb_path_len_lvt(&mut self) -> COMB_PATH_LEN_LVT_W { COMB_PATH_LEN_LVT_W::new(self, 0) } #[doc = "Bit 6 - reg_comb_err_cnt_clr_lvt"] #[inline(always)] - #[must_use] pub fn comb_err_cnt_clr_lvt(&mut self) -> COMB_ERR_CNT_CLR_LVT_W { COMB_ERR_CNT_CLR_LVT_W::new(self, 6) } #[doc = "Bit 7 - reg_comb_pvt_monitor_en_lvt"] #[inline(always)] - #[must_use] pub fn comb_pvt_monitor_en_lvt(&mut self) -> COMB_PVT_MONITOR_EN_LVT_W { COMB_PVT_MONITOR_EN_LVT_W::new(self, 7) } diff --git a/esp32c2/src/system/comb_pvt_nvt_conf.rs b/esp32c2/src/system/comb_pvt_nvt_conf.rs index 3394cebb3c..fb3aeaebb7 100644 --- a/esp32c2/src/system/comb_pvt_nvt_conf.rs +++ b/esp32c2/src/system/comb_pvt_nvt_conf.rs @@ -36,19 +36,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - reg_comb_path_len_nvt"] #[inline(always)] - #[must_use] pub fn comb_path_len_nvt(&mut self) -> COMB_PATH_LEN_NVT_W { COMB_PATH_LEN_NVT_W::new(self, 0) } #[doc = "Bit 6 - reg_comb_err_cnt_clr_nvt"] #[inline(always)] - #[must_use] pub fn comb_err_cnt_clr_nvt(&mut self) -> COMB_ERR_CNT_CLR_NVT_W { COMB_ERR_CNT_CLR_NVT_W::new(self, 6) } #[doc = "Bit 7 - reg_comb_pvt_monitor_en_nvt"] #[inline(always)] - #[must_use] pub fn comb_pvt_monitor_en_nvt(&mut self) -> COMB_PVT_MONITOR_EN_NVT_W { COMB_PVT_MONITOR_EN_NVT_W::new(self, 7) } diff --git a/esp32c2/src/system/cpu_intr_from_cpu_0.rs b/esp32c2/src/system/cpu_intr_from_cpu_0.rs index 47c53fb278..3df7936b93 100644 --- a/esp32c2/src/system/cpu_intr_from_cpu_0.rs +++ b/esp32c2/src/system/cpu_intr_from_cpu_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to generate cpu interrupt 0"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_0(&mut self) -> CPU_INTR_FROM_CPU_0_W { CPU_INTR_FROM_CPU_0_W::new(self, 0) } diff --git a/esp32c2/src/system/cpu_intr_from_cpu_1.rs b/esp32c2/src/system/cpu_intr_from_cpu_1.rs index 865193ef42..5d4c2c1c82 100644 --- a/esp32c2/src/system/cpu_intr_from_cpu_1.rs +++ b/esp32c2/src/system/cpu_intr_from_cpu_1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to generate cpu interrupt 1"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_1(&mut self) -> CPU_INTR_FROM_CPU_1_W { CPU_INTR_FROM_CPU_1_W::new(self, 0) } diff --git a/esp32c2/src/system/cpu_intr_from_cpu_2.rs b/esp32c2/src/system/cpu_intr_from_cpu_2.rs index e362711472..f9e2a34b1a 100644 --- a/esp32c2/src/system/cpu_intr_from_cpu_2.rs +++ b/esp32c2/src/system/cpu_intr_from_cpu_2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to generate cpu interrupt 2"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_2(&mut self) -> CPU_INTR_FROM_CPU_2_W { CPU_INTR_FROM_CPU_2_W::new(self, 0) } diff --git a/esp32c2/src/system/cpu_intr_from_cpu_3.rs b/esp32c2/src/system/cpu_intr_from_cpu_3.rs index 390969ca7e..f4402d6227 100644 --- a/esp32c2/src/system/cpu_intr_from_cpu_3.rs +++ b/esp32c2/src/system/cpu_intr_from_cpu_3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to generate cpu interrupt 3"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_3(&mut self) -> CPU_INTR_FROM_CPU_3_W { CPU_INTR_FROM_CPU_3_W::new(self, 0) } diff --git a/esp32c2/src/system/cpu_per_conf.rs b/esp32c2/src/system/cpu_per_conf.rs index 76ce5ed922..7740236cb7 100644 --- a/esp32c2/src/system/cpu_per_conf.rs +++ b/esp32c2/src/system/cpu_per_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - This field used to sel cpu clock frequent."] #[inline(always)] - #[must_use] pub fn cpuperiod_sel(&mut self) -> CPUPERIOD_SEL_W { CPUPERIOD_SEL_W::new(self, 0) } #[doc = "Bit 2 - This field used to sel pll frequent."] #[inline(always)] - #[must_use] pub fn pll_freq_sel(&mut self) -> PLL_FREQ_SEL_W { PLL_FREQ_SEL_W::new(self, 2) } #[doc = "Bit 3 - Set 1 to force cpu_waiti_clk enable."] #[inline(always)] - #[must_use] pub fn cpu_wait_mode_force_on(&mut self) -> CPU_WAIT_MODE_FORCE_ON_W { CPU_WAIT_MODE_FORCE_ON_W::new(self, 3) } #[doc = "Bits 4:7 - This field used to set delay cycle when cpu enter waiti mode, after delay waiti_clk will close"] #[inline(always)] - #[must_use] pub fn cpu_waiti_delay_num(&mut self) -> CPU_WAITI_DELAY_NUM_W { CPU_WAITI_DELAY_NUM_W::new(self, 4) } diff --git a/esp32c2/src/system/cpu_peri_clk_en.rs b/esp32c2/src/system/cpu_peri_clk_en.rs index 9acf73ef86..dc6f3ca02a 100644 --- a/esp32c2/src/system/cpu_peri_clk_en.rs +++ b/esp32c2/src/system/cpu_peri_clk_en.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 6 - Set 1 to open assist_debug module clock"] #[inline(always)] - #[must_use] pub fn clk_en_assist_debug(&mut self) -> CLK_EN_ASSIST_DEBUG_W { CLK_EN_ASSIST_DEBUG_W::new(self, 6) } #[doc = "Bit 7 - Set 1 to open dedicated_gpio module clk"] #[inline(always)] - #[must_use] pub fn clk_en_dedicated_gpio(&mut self) -> CLK_EN_DEDICATED_GPIO_W { CLK_EN_DEDICATED_GPIO_W::new(self, 7) } diff --git a/esp32c2/src/system/cpu_peri_rst_en.rs b/esp32c2/src/system/cpu_peri_rst_en.rs index 6813a8e2c2..4e073932da 100644 --- a/esp32c2/src/system/cpu_peri_rst_en.rs +++ b/esp32c2/src/system/cpu_peri_rst_en.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 6 - Set 1 to let assist_debug module reset"] #[inline(always)] - #[must_use] pub fn rst_en_assist_debug(&mut self) -> RST_EN_ASSIST_DEBUG_W { RST_EN_ASSIST_DEBUG_W::new(self, 6) } #[doc = "Bit 7 - Set 1 to let dedicated_gpio module reset"] #[inline(always)] - #[must_use] pub fn rst_en_dedicated_gpio(&mut self) -> RST_EN_DEDICATED_GPIO_W { RST_EN_DEDICATED_GPIO_W::new(self, 7) } diff --git a/esp32c2/src/system/edma_ctrl.rs b/esp32c2/src/system/edma_ctrl.rs index 8cc52ca076..dbb8b49276 100644 --- a/esp32c2/src/system/edma_ctrl.rs +++ b/esp32c2/src/system/edma_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable EDMA clock."] #[inline(always)] - #[must_use] pub fn edma_clk_on(&mut self) -> EDMA_CLK_ON_W { EDMA_CLK_ON_W::new(self, 0) } #[doc = "Bit 1 - Set 1 to let EDMA reset"] #[inline(always)] - #[must_use] pub fn edma_reset(&mut self) -> EDMA_RESET_W { EDMA_RESET_W::new(self, 1) } diff --git a/esp32c2/src/system/external_device_encrypt_decrypt_control.rs b/esp32c2/src/system/external_device_encrypt_decrypt_control.rs index 4a75a02f9d..4e89febb7a 100644 --- a/esp32c2/src/system/external_device_encrypt_decrypt_control.rs +++ b/esp32c2/src/system/external_device_encrypt_decrypt_control.rs @@ -66,7 +66,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable the SPI manual encrypt."] #[inline(always)] - #[must_use] pub fn enable_spi_manual_encrypt( &mut self, ) -> ENABLE_SPI_MANUAL_ENCRYPT_W { @@ -74,7 +73,6 @@ impl W { } #[doc = "Bit 1 - Set 1 to enable download DB encrypt."] #[inline(always)] - #[must_use] pub fn enable_download_db_encrypt( &mut self, ) -> ENABLE_DOWNLOAD_DB_ENCRYPT_W { @@ -82,7 +80,6 @@ impl W { } #[doc = "Bit 2 - Set 1 to enable download G0CB decrypt"] #[inline(always)] - #[must_use] pub fn enable_download_g0cb_decrypt( &mut self, ) -> ENABLE_DOWNLOAD_G0CB_DECRYPT_W { @@ -90,7 +87,6 @@ impl W { } #[doc = "Bit 3 - Set 1 to enable download manual encrypt"] #[inline(always)] - #[must_use] pub fn enable_download_manual_encrypt( &mut self, ) -> ENABLE_DOWNLOAD_MANUAL_ENCRYPT_W { diff --git a/esp32c2/src/system/mem_pd_mask.rs b/esp32c2/src/system/mem_pd_mask.rs index b745de5727..ae49bcf19c 100644 --- a/esp32c2/src/system/mem_pd_mask.rs +++ b/esp32c2/src/system/mem_pd_mask.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to mask memory power down."] #[inline(always)] - #[must_use] pub fn lslp_mem_pd_mask(&mut self) -> LSLP_MEM_PD_MASK_W { LSLP_MEM_PD_MASK_W::new(self, 0) } diff --git a/esp32c2/src/system/mem_pvt.rs b/esp32c2/src/system/mem_pvt.rs index 372813deea..aaf0a9d443 100644 --- a/esp32c2/src/system/mem_pvt.rs +++ b/esp32c2/src/system/mem_pvt.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - reg_mem_path_len"] #[inline(always)] - #[must_use] pub fn mem_path_len(&mut self) -> MEM_PATH_LEN_W { MEM_PATH_LEN_W::new(self, 0) } #[doc = "Bit 4 - reg_mem_err_cnt_clr"] #[inline(always)] - #[must_use] pub fn mem_err_cnt_clr(&mut self) -> MEM_ERR_CNT_CLR_W { MEM_ERR_CNT_CLR_W::new(self, 4) } #[doc = "Bit 5 - reg_mem_pvt_monitor_en"] #[inline(always)] - #[must_use] pub fn monitor_en(&mut self) -> MONITOR_EN_W { MONITOR_EN_W::new(self, 5) } #[doc = "Bits 22:23 - reg_mem_vt_sel"] #[inline(always)] - #[must_use] pub fn mem_vt_sel(&mut self) -> MEM_VT_SEL_W { MEM_VT_SEL_W::new(self, 22) } diff --git a/esp32c2/src/system/perip_clk_en0.rs b/esp32c2/src/system/perip_clk_en0.rs index a286cdc1ef..39722ed12e 100644 --- a/esp32c2/src/system/perip_clk_en0.rs +++ b/esp32c2/src/system/perip_clk_en0.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - Set 1 to enable SPI01 clock"] #[inline(always)] - #[must_use] pub fn spi01_clk_en(&mut self) -> SPI01_CLK_EN_W { SPI01_CLK_EN_W::new(self, 1) } #[doc = "Bit 2 - Set 1 to enable UART clock"] #[inline(always)] - #[must_use] pub fn uart_clk_en(&mut self) -> UART_CLK_EN_W { UART_CLK_EN_W::new(self, 2) } #[doc = "Bit 5 - Set 1 to enable UART1 clock"] #[inline(always)] - #[must_use] pub fn uart1_clk_en(&mut self) -> UART1_CLK_EN_W { UART1_CLK_EN_W::new(self, 5) } #[doc = "Bit 6 - Set 1 to enable SPI2 clock"] #[inline(always)] - #[must_use] pub fn spi2_clk_en(&mut self) -> SPI2_CLK_EN_W { SPI2_CLK_EN_W::new(self, 6) } #[doc = "Bit 7 - Set 1 to enable I2C_EXT0 clock"] #[inline(always)] - #[must_use] pub fn i2c_ext0_clk_en(&mut self) -> I2C_EXT0_CLK_EN_W { I2C_EXT0_CLK_EN_W::new(self, 7) } #[doc = "Bit 11 - Set 1 to enable LEDC clock"] #[inline(always)] - #[must_use] pub fn ledc_clk_en(&mut self) -> LEDC_CLK_EN_W { LEDC_CLK_EN_W::new(self, 11) } #[doc = "Bit 13 - Set 1 to enable TIMERGROUP clock"] #[inline(always)] - #[must_use] pub fn timergroup_clk_en(&mut self) -> TIMERGROUP_CLK_EN_W { TIMERGROUP_CLK_EN_W::new(self, 13) } #[doc = "Bit 24 - Set 1 to enable UART_MEM clock"] #[inline(always)] - #[must_use] pub fn uart_mem_clk_en(&mut self) -> UART_MEM_CLK_EN_W { UART_MEM_CLK_EN_W::new(self, 24) } #[doc = "Bit 28 - Set 1 to enable APB_SARADC clock"] #[inline(always)] - #[must_use] pub fn apb_saradc_clk_en(&mut self) -> APB_SARADC_CLK_EN_W { APB_SARADC_CLK_EN_W::new(self, 28) } #[doc = "Bit 29 - Set 1 to enable SYSTEMTIMER clock"] #[inline(always)] - #[must_use] pub fn systimer_clk_en(&mut self) -> SYSTIMER_CLK_EN_W { SYSTIMER_CLK_EN_W::new(self, 29) } #[doc = "Bit 30 - Set 1 to enable ADC2_ARB clock"] #[inline(always)] - #[must_use] pub fn adc2_arb_clk_en(&mut self) -> ADC2_ARB_CLK_EN_W { ADC2_ARB_CLK_EN_W::new(self, 30) } diff --git a/esp32c2/src/system/perip_clk_en1.rs b/esp32c2/src/system/perip_clk_en1.rs index fd119b5975..90b3f5a082 100644 --- a/esp32c2/src/system/perip_clk_en1.rs +++ b/esp32c2/src/system/perip_clk_en1.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - Set 1 to enable ECC clock"] #[inline(always)] - #[must_use] pub fn crypto_ecc_clk_en(&mut self) -> CRYPTO_ECC_CLK_EN_W { CRYPTO_ECC_CLK_EN_W::new(self, 1) } #[doc = "Bit 2 - Set 1 to enable SHA clock"] #[inline(always)] - #[must_use] pub fn crypto_sha_clk_en(&mut self) -> CRYPTO_SHA_CLK_EN_W { CRYPTO_SHA_CLK_EN_W::new(self, 2) } #[doc = "Bit 6 - Set 1 to enable DMA clock"] #[inline(always)] - #[must_use] pub fn dma_clk_en(&mut self) -> DMA_CLK_EN_W { DMA_CLK_EN_W::new(self, 6) } #[doc = "Bit 10 - Set 1 to enable TSENS clock"] #[inline(always)] - #[must_use] pub fn tsens_clk_en(&mut self) -> TSENS_CLK_EN_W { TSENS_CLK_EN_W::new(self, 10) } diff --git a/esp32c2/src/system/perip_rst_en0.rs b/esp32c2/src/system/perip_rst_en0.rs index c5d3d10fda..94d5eb9290 100644 --- a/esp32c2/src/system/perip_rst_en0.rs +++ b/esp32c2/src/system/perip_rst_en0.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - Set 1 to let SPI01 reset"] #[inline(always)] - #[must_use] pub fn spi01_rst(&mut self) -> SPI01_RST_W { SPI01_RST_W::new(self, 1) } #[doc = "Bit 2 - Set 1 to let UART reset"] #[inline(always)] - #[must_use] pub fn uart_rst(&mut self) -> UART_RST_W { UART_RST_W::new(self, 2) } #[doc = "Bit 5 - Set 1 to let UART1 reset"] #[inline(always)] - #[must_use] pub fn uart1_rst(&mut self) -> UART1_RST_W { UART1_RST_W::new(self, 5) } #[doc = "Bit 6 - Set 1 to let SPI2 reset"] #[inline(always)] - #[must_use] pub fn spi2_rst(&mut self) -> SPI2_RST_W { SPI2_RST_W::new(self, 6) } #[doc = "Bit 7 - Set 1 to let I2C_EXT0 reset"] #[inline(always)] - #[must_use] pub fn i2c_ext0_rst(&mut self) -> I2C_EXT0_RST_W { I2C_EXT0_RST_W::new(self, 7) } #[doc = "Bit 11 - Set 1 to let LEDC reset"] #[inline(always)] - #[must_use] pub fn ledc_rst(&mut self) -> LEDC_RST_W { LEDC_RST_W::new(self, 11) } #[doc = "Bit 13 - Set 1 to let TIMERGROUP reset"] #[inline(always)] - #[must_use] pub fn timergroup_rst(&mut self) -> TIMERGROUP_RST_W { TIMERGROUP_RST_W::new(self, 13) } #[doc = "Bit 24 - Set 1 to let UART_MEM reset"] #[inline(always)] - #[must_use] pub fn uart_mem_rst(&mut self) -> UART_MEM_RST_W { UART_MEM_RST_W::new(self, 24) } #[doc = "Bit 28 - Set 1 to let APB_SARADC reset"] #[inline(always)] - #[must_use] pub fn apb_saradc_rst(&mut self) -> APB_SARADC_RST_W { APB_SARADC_RST_W::new(self, 28) } #[doc = "Bit 29 - Set 1 to let SYSTIMER reset"] #[inline(always)] - #[must_use] pub fn systimer_rst(&mut self) -> SYSTIMER_RST_W { SYSTIMER_RST_W::new(self, 29) } #[doc = "Bit 30 - Set 1 to let ADC2_ARB reset"] #[inline(always)] - #[must_use] pub fn adc2_arb_rst(&mut self) -> ADC2_ARB_RST_W { ADC2_ARB_RST_W::new(self, 30) } diff --git a/esp32c2/src/system/perip_rst_en1.rs b/esp32c2/src/system/perip_rst_en1.rs index e25f3ff325..3776eeacd9 100644 --- a/esp32c2/src/system/perip_rst_en1.rs +++ b/esp32c2/src/system/perip_rst_en1.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - Set 1 to let CRYPTO_ECC reset"] #[inline(always)] - #[must_use] pub fn crypto_ecc_rst(&mut self) -> CRYPTO_ECC_RST_W { CRYPTO_ECC_RST_W::new(self, 1) } #[doc = "Bit 2 - Set 1 to let CRYPTO_SHA reset"] #[inline(always)] - #[must_use] pub fn crypto_sha_rst(&mut self) -> CRYPTO_SHA_RST_W { CRYPTO_SHA_RST_W::new(self, 2) } #[doc = "Bit 6 - Set 1 to let DMA reset"] #[inline(always)] - #[must_use] pub fn dma_rst(&mut self) -> DMA_RST_W { DMA_RST_W::new(self, 6) } #[doc = "Bit 10 - Set 1 to let TSENS reset"] #[inline(always)] - #[must_use] pub fn tsens_rst(&mut self) -> TSENS_RST_W { TSENS_RST_W::new(self, 10) } diff --git a/esp32c2/src/system/redundant_eco_ctrl.rs b/esp32c2/src/system/redundant_eco_ctrl.rs index 96a422a176..20303d19d9 100644 --- a/esp32c2/src/system/redundant_eco_ctrl.rs +++ b/esp32c2/src/system/redundant_eco_ctrl.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_redundant_eco_drive"] #[inline(always)] - #[must_use] pub fn redundant_eco_drive(&mut self) -> REDUNDANT_ECO_DRIVE_W { REDUNDANT_ECO_DRIVE_W::new(self, 0) } diff --git a/esp32c2/src/system/reg_date.rs b/esp32c2/src/system/reg_date.rs index 797bf7948d..b27eb19ea5 100644 --- a/esp32c2/src/system/reg_date.rs +++ b/esp32c2/src/system/reg_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - reg_system_reg_date"] #[inline(always)] - #[must_use] pub fn system_reg_date(&mut self) -> SYSTEM_REG_DATE_W { SYSTEM_REG_DATE_W::new(self, 0) } diff --git a/esp32c2/src/system/rsa_pd_ctrl.rs b/esp32c2/src/system/rsa_pd_ctrl.rs index 69968b25f8..f5dcfe1504 100644 --- a/esp32c2/src/system/rsa_pd_ctrl.rs +++ b/esp32c2/src/system/rsa_pd_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to power down RSA memory. This bit has the lowest priority.When Digital Signature occupies the RSA. This bit is invalid."] #[inline(always)] - #[must_use] pub fn rsa_mem_pd(&mut self) -> RSA_MEM_PD_W { RSA_MEM_PD_W::new(self, 0) } #[doc = "Bit 1 - Set 1 to force power up RSA memory. This bit has the second highest priority."] #[inline(always)] - #[must_use] pub fn rsa_mem_force_pu(&mut self) -> RSA_MEM_FORCE_PU_W { RSA_MEM_FORCE_PU_W::new(self, 1) } #[doc = "Bit 2 - Set 1 to force power down RSA memory. This bit has the highest priority."] #[inline(always)] - #[must_use] pub fn rsa_mem_force_pd(&mut self) -> RSA_MEM_FORCE_PD_W { RSA_MEM_FORCE_PD_W::new(self, 2) } diff --git a/esp32c2/src/system/rtc_fastmem_config.rs b/esp32c2/src/system/rtc_fastmem_config.rs index c309657350..3aa2839e6a 100644 --- a/esp32c2/src/system/rtc_fastmem_config.rs +++ b/esp32c2/src/system/rtc_fastmem_config.rs @@ -52,19 +52,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 8 - Set 1 to start the CRC of RTC memory"] #[inline(always)] - #[must_use] pub fn rtc_mem_crc_start(&mut self) -> RTC_MEM_CRC_START_W { RTC_MEM_CRC_START_W::new(self, 8) } #[doc = "Bits 9:19 - This field is used to set address of RTC memory for CRC."] #[inline(always)] - #[must_use] pub fn rtc_mem_crc_addr(&mut self) -> RTC_MEM_CRC_ADDR_W { RTC_MEM_CRC_ADDR_W::new(self, 9) } #[doc = "Bits 20:30 - This field is used to set length of RTC memory for CRC based on start address."] #[inline(always)] - #[must_use] pub fn rtc_mem_crc_len(&mut self) -> RTC_MEM_CRC_LEN_W { RTC_MEM_CRC_LEN_W::new(self, 20) } diff --git a/esp32c2/src/system/sysclk_conf.rs b/esp32c2/src/system/sysclk_conf.rs index 0f3eb34d98..a1ade8c7b5 100644 --- a/esp32c2/src/system/sysclk_conf.rs +++ b/esp32c2/src/system/sysclk_conf.rs @@ -50,13 +50,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - This field is used to set the count of prescaler of XTAL_CLK."] #[inline(always)] - #[must_use] pub fn pre_div_cnt(&mut self) -> PRE_DIV_CNT_W { PRE_DIV_CNT_W::new(self, 0) } #[doc = "Bits 10:11 - This field is used to select soc clock."] #[inline(always)] - #[must_use] pub fn soc_clk_sel(&mut self) -> SOC_CLK_SEL_W { SOC_CLK_SEL_W::new(self, 10) } diff --git a/esp32c2/src/systimer/comp_load.rs b/esp32c2/src/systimer/comp_load.rs index 3194371312..65145bf616 100644 --- a/esp32c2/src/systimer/comp_load.rs +++ b/esp32c2/src/systimer/comp_load.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - timer comp0 sync enable signal"] #[inline(always)] - #[must_use] pub fn load(&mut self) -> LOAD_W { LOAD_W::new(self, 0) } diff --git a/esp32c2/src/systimer/conf.rs b/esp32c2/src/systimer/conf.rs index c1a033b0b5..ca76bf9c86 100644 --- a/esp32c2/src/systimer/conf.rs +++ b/esp32c2/src/systimer/conf.rs @@ -136,67 +136,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - systimer clock force on"] #[inline(always)] - #[must_use] pub fn systimer_clk_fo(&mut self) -> SYSTIMER_CLK_FO_W { SYSTIMER_CLK_FO_W::new(self, 0) } #[doc = "Bit 22 - target2 work enable"] #[inline(always)] - #[must_use] pub fn target2_work_en(&mut self) -> TARGET2_WORK_EN_W { TARGET2_WORK_EN_W::new(self, 22) } #[doc = "Bit 23 - target1 work enable"] #[inline(always)] - #[must_use] pub fn target1_work_en(&mut self) -> TARGET1_WORK_EN_W { TARGET1_WORK_EN_W::new(self, 23) } #[doc = "Bit 24 - target0 work enable"] #[inline(always)] - #[must_use] pub fn target0_work_en(&mut self) -> TARGET0_WORK_EN_W { TARGET0_WORK_EN_W::new(self, 24) } #[doc = "Bit 25 - If timer unit1 is stalled when core1 stalled"] #[inline(always)] - #[must_use] pub fn timer_unit1_core1_stall_en(&mut self) -> TIMER_UNIT1_CORE1_STALL_EN_W { TIMER_UNIT1_CORE1_STALL_EN_W::new(self, 25) } #[doc = "Bit 26 - If timer unit1 is stalled when core0 stalled"] #[inline(always)] - #[must_use] pub fn timer_unit1_core0_stall_en(&mut self) -> TIMER_UNIT1_CORE0_STALL_EN_W { TIMER_UNIT1_CORE0_STALL_EN_W::new(self, 26) } #[doc = "Bit 27 - If timer unit0 is stalled when core1 stalled"] #[inline(always)] - #[must_use] pub fn timer_unit0_core1_stall_en(&mut self) -> TIMER_UNIT0_CORE1_STALL_EN_W { TIMER_UNIT0_CORE1_STALL_EN_W::new(self, 27) } #[doc = "Bit 28 - If timer unit0 is stalled when core0 stalled"] #[inline(always)] - #[must_use] pub fn timer_unit0_core0_stall_en(&mut self) -> TIMER_UNIT0_CORE0_STALL_EN_W { TIMER_UNIT0_CORE0_STALL_EN_W::new(self, 28) } #[doc = "Bit 29 - timer unit1 work enable"] #[inline(always)] - #[must_use] pub fn timer_unit1_work_en(&mut self) -> TIMER_UNIT1_WORK_EN_W { TIMER_UNIT1_WORK_EN_W::new(self, 29) } #[doc = "Bit 30 - timer unit0 work enable"] #[inline(always)] - #[must_use] pub fn timer_unit0_work_en(&mut self) -> TIMER_UNIT0_WORK_EN_W { TIMER_UNIT0_WORK_EN_W::new(self, 30) } #[doc = "Bit 31 - register file clk gating"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32c2/src/systimer/date.rs b/esp32c2/src/systimer/date.rs index 85e0ef45c6..aec74d2d0c 100644 --- a/esp32c2/src/systimer/date.rs +++ b/esp32c2/src/systimer/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - systimer register version"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c2/src/systimer/int_clr.rs b/esp32c2/src/systimer/int_clr.rs index 06260e5ca1..7a322a9bd7 100644 --- a/esp32c2/src/systimer/int_clr.rs +++ b/esp32c2/src/systimer/int_clr.rs @@ -13,7 +13,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TARGET0` field.
"] #[inline(always)] - #[must_use] pub fn target(&mut self, n: u8) -> TARGET_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -21,19 +20,16 @@ impl W { } #[doc = "Bit 0 - interupt0 clear"] #[inline(always)] - #[must_use] pub fn target0(&mut self) -> TARGET_W { TARGET_W::new(self, 0) } #[doc = "Bit 1 - interupt1 clear"] #[inline(always)] - #[must_use] pub fn target1(&mut self) -> TARGET_W { TARGET_W::new(self, 1) } #[doc = "Bit 2 - interupt2 clear"] #[inline(always)] - #[must_use] pub fn target2(&mut self) -> TARGET_W { TARGET_W::new(self, 2) } @@ -47,7 +43,7 @@ impl crate::RegisterSpec for INT_CLR_SPEC { impl crate::Writable for INT_CLR_SPEC { type Safety = crate::Unsafe; const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0x01; + const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0x07; } #[doc = "`reset()` method sets INT_CLR to value 0"] impl crate::Resettable for INT_CLR_SPEC { diff --git a/esp32c2/src/systimer/int_ena.rs b/esp32c2/src/systimer/int_ena.rs index 23d45402ff..82161f02c6 100644 --- a/esp32c2/src/systimer/int_ena.rs +++ b/esp32c2/src/systimer/int_ena.rs @@ -53,7 +53,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TARGET0` field.
"] #[inline(always)] - #[must_use] pub fn target(&mut self, n: u8) -> TARGET_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -61,19 +60,16 @@ impl W { } #[doc = "Bit 0 - interupt0 enable"] #[inline(always)] - #[must_use] pub fn target0(&mut self) -> TARGET_W { TARGET_W::new(self, 0) } #[doc = "Bit 1 - interupt1 enable"] #[inline(always)] - #[must_use] pub fn target1(&mut self) -> TARGET_W { TARGET_W::new(self, 1) } #[doc = "Bit 2 - interupt2 enable"] #[inline(always)] - #[must_use] pub fn target2(&mut self) -> TARGET_W { TARGET_W::new(self, 2) } diff --git a/esp32c2/src/systimer/int_raw.rs b/esp32c2/src/systimer/int_raw.rs index ad619febb9..017321fd87 100644 --- a/esp32c2/src/systimer/int_raw.rs +++ b/esp32c2/src/systimer/int_raw.rs @@ -53,7 +53,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TARGET0` field.
"] #[inline(always)] - #[must_use] pub fn target(&mut self, n: u8) -> TARGET_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -61,19 +60,16 @@ impl W { } #[doc = "Bit 0 - interupt0 raw"] #[inline(always)] - #[must_use] pub fn target0(&mut self) -> TARGET_W { TARGET_W::new(self, 0) } #[doc = "Bit 1 - interupt1 raw"] #[inline(always)] - #[must_use] pub fn target1(&mut self) -> TARGET_W { TARGET_W::new(self, 1) } #[doc = "Bit 2 - interupt2 raw"] #[inline(always)] - #[must_use] pub fn target2(&mut self) -> TARGET_W { TARGET_W::new(self, 2) } diff --git a/esp32c2/src/systimer/target_conf.rs b/esp32c2/src/systimer/target_conf.rs index ad465124d5..9d3229b115 100644 --- a/esp32c2/src/systimer/target_conf.rs +++ b/esp32c2/src/systimer/target_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:25 - target0 period"] #[inline(always)] - #[must_use] pub fn period(&mut self) -> PERIOD_W { PERIOD_W::new(self, 0) } #[doc = "Bit 30 - Set target0 to period mode"] #[inline(always)] - #[must_use] pub fn period_mode(&mut self) -> PERIOD_MODE_W { PERIOD_MODE_W::new(self, 30) } #[doc = "Bit 31 - select which unit to compare"] #[inline(always)] - #[must_use] pub fn timer_unit_sel(&mut self) -> TIMER_UNIT_SEL_W { TIMER_UNIT_SEL_W::new(self, 31) } diff --git a/esp32c2/src/systimer/trgt/hi.rs b/esp32c2/src/systimer/trgt/hi.rs index 36b8397729..c34aac1756 100644 --- a/esp32c2/src/systimer/trgt/hi.rs +++ b/esp32c2/src/systimer/trgt/hi.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - timer taget0 high 20 bits"] #[inline(always)] - #[must_use] pub fn hi(&mut self) -> HI_W { HI_W::new(self, 0) } diff --git a/esp32c2/src/systimer/trgt/lo.rs b/esp32c2/src/systimer/trgt/lo.rs index 4b9aba9b31..3ac0a3df6b 100644 --- a/esp32c2/src/systimer/trgt/lo.rs +++ b/esp32c2/src/systimer/trgt/lo.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - timer taget0 low 32 bits"] #[inline(always)] - #[must_use] pub fn lo(&mut self) -> LO_W { LO_W::new(self, 0) } diff --git a/esp32c2/src/systimer/unit_load.rs b/esp32c2/src/systimer/unit_load.rs index d7131aea74..94a217b2b0 100644 --- a/esp32c2/src/systimer/unit_load.rs +++ b/esp32c2/src/systimer/unit_load.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - timer unit0 sync enable signal"] #[inline(always)] - #[must_use] pub fn load(&mut self) -> LOAD_W { LOAD_W::new(self, 0) } diff --git a/esp32c2/src/systimer/unit_op.rs b/esp32c2/src/systimer/unit_op.rs index 89b506eb04..f4f5c65665 100644 --- a/esp32c2/src/systimer/unit_op.rs +++ b/esp32c2/src/systimer/unit_op.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - update timer_unit0"] #[inline(always)] - #[must_use] pub fn update(&mut self) -> UPDATE_W { UPDATE_W::new(self, 30) } diff --git a/esp32c2/src/systimer/unitload/hi.rs b/esp32c2/src/systimer/unitload/hi.rs index 63e3720842..ff49b6d094 100644 --- a/esp32c2/src/systimer/unitload/hi.rs +++ b/esp32c2/src/systimer/unitload/hi.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - timer unit0 load high 20 bits"] #[inline(always)] - #[must_use] pub fn load_hi(&mut self) -> LOAD_HI_W { LOAD_HI_W::new(self, 0) } diff --git a/esp32c2/src/systimer/unitload/lo.rs b/esp32c2/src/systimer/unitload/lo.rs index 9569a393b8..f8b0d7491b 100644 --- a/esp32c2/src/systimer/unitload/lo.rs +++ b/esp32c2/src/systimer/unitload/lo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - timer unit0 load low 32 bits"] #[inline(always)] - #[must_use] pub fn load_lo(&mut self) -> LOAD_LO_W { LOAD_LO_W::new(self, 0) } diff --git a/esp32c2/src/timg0/int_clr.rs b/esp32c2/src/timg0/int_clr.rs index 6ed8576634..2bcfa155ce 100644 --- a/esp32c2/src/timg0/int_clr.rs +++ b/esp32c2/src/timg0/int_clr.rs @@ -15,7 +15,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `T0` field.
"] #[inline(always)] - #[must_use] pub fn t(&mut self, n: u8) -> T_W { #[allow(clippy::no_effect)] [(); 1][n as usize]; @@ -23,13 +22,11 @@ impl W { } #[doc = "Bit 0 - Set this bit to clear the TIMG_T0_INT interrupt."] #[inline(always)] - #[must_use] pub fn t0(&mut self) -> T_W { T_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the TIMG_WDT_INT interrupt."] #[inline(always)] - #[must_use] pub fn wdt(&mut self) -> WDT_W { WDT_W::new(self, 1) } diff --git a/esp32c2/src/timg0/int_ena.rs b/esp32c2/src/timg0/int_ena.rs index 19bedb24ba..6a9813be15 100644 --- a/esp32c2/src/timg0/int_ena.rs +++ b/esp32c2/src/timg0/int_ena.rs @@ -51,7 +51,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `T0` field.
"] #[inline(always)] - #[must_use] pub fn t(&mut self, n: u8) -> T_W { #[allow(clippy::no_effect)] [(); 1][n as usize]; @@ -59,13 +58,11 @@ impl W { } #[doc = "Bit 0 - The interrupt enable bit for the TIMG_T0_INT interrupt."] #[inline(always)] - #[must_use] pub fn t0(&mut self) -> T_W { T_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the TIMG_WDT_INT interrupt."] #[inline(always)] - #[must_use] pub fn wdt(&mut self) -> WDT_W { WDT_W::new(self, 1) } diff --git a/esp32c2/src/timg0/ntimers_date.rs b/esp32c2/src/timg0/ntimers_date.rs index da44985a4f..8249d77404 100644 --- a/esp32c2/src/timg0/ntimers_date.rs +++ b/esp32c2/src/timg0/ntimers_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Timer version control register"] #[inline(always)] - #[must_use] pub fn ntimgs_date(&mut self) -> NTIMGS_DATE_W { NTIMGS_DATE_W::new(self, 0) } diff --git a/esp32c2/src/timg0/regclk.rs b/esp32c2/src/timg0/regclk.rs index f944e577c3..e730e15aa0 100644 --- a/esp32c2/src/timg0/regclk.rs +++ b/esp32c2/src/timg0/regclk.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 29 - enable WDT's clock"] #[inline(always)] - #[must_use] pub fn wdt_clk_is_active(&mut self) -> WDT_CLK_IS_ACTIVE_W { WDT_CLK_IS_ACTIVE_W::new(self, 29) } #[doc = "Bit 30 - enable Timer 30's clock"] #[inline(always)] - #[must_use] pub fn timer_clk_is_active(&mut self) -> TIMER_CLK_IS_ACTIVE_W { TIMER_CLK_IS_ACTIVE_W::new(self, 30) } #[doc = "Bit 31 - Register clock gate signal. 1: Registers can be read and written to by software. 0: Registers can not be read or written to by software."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32c2/src/timg0/rtccalicfg.rs b/esp32c2/src/timg0/rtccalicfg.rs index 4e4b9dbd82..f5be1e0d08 100644 --- a/esp32c2/src/timg0/rtccalicfg.rs +++ b/esp32c2/src/timg0/rtccalicfg.rs @@ -62,25 +62,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - Reserved"] #[inline(always)] - #[must_use] pub fn rtc_cali_start_cycling(&mut self) -> RTC_CALI_START_CYCLING_W { RTC_CALI_START_CYCLING_W::new(self, 12) } #[doc = "Bits 13:14 - 0:rtc slow clock. 1:clk_8m, 2:xtal_32k."] #[inline(always)] - #[must_use] pub fn rtc_cali_clk_sel(&mut self) -> RTC_CALI_CLK_SEL_W { RTC_CALI_CLK_SEL_W::new(self, 13) } #[doc = "Bits 16:30 - Reserved"] #[inline(always)] - #[must_use] pub fn rtc_cali_max(&mut self) -> RTC_CALI_MAX_W { RTC_CALI_MAX_W::new(self, 16) } #[doc = "Bit 31 - Reserved"] #[inline(always)] - #[must_use] pub fn rtc_cali_start(&mut self) -> RTC_CALI_START_W { RTC_CALI_START_W::new(self, 31) } diff --git a/esp32c2/src/timg0/rtccalicfg2.rs b/esp32c2/src/timg0/rtccalicfg2.rs index 9bcb8e66e3..c8e2a89280 100644 --- a/esp32c2/src/timg0/rtccalicfg2.rs +++ b/esp32c2/src/timg0/rtccalicfg2.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 3:6 - Cycles that release calibration timeout reset"] #[inline(always)] - #[must_use] pub fn rtc_cali_timeout_rst_cnt(&mut self) -> RTC_CALI_TIMEOUT_RST_CNT_W { RTC_CALI_TIMEOUT_RST_CNT_W::new(self, 3) } #[doc = "Bits 7:31 - Threshold value for the RTC calibration timer. If the calibration timer's value exceeds this threshold, a timeout is triggered."] #[inline(always)] - #[must_use] pub fn rtc_cali_timeout_thres(&mut self) -> RTC_CALI_TIMEOUT_THRES_W { RTC_CALI_TIMEOUT_THRES_W::new(self, 7) } diff --git a/esp32c2/src/timg0/t/alarmhi.rs b/esp32c2/src/timg0/t/alarmhi.rs index 24c896aae8..bda963e20f 100644 --- a/esp32c2/src/timg0/t/alarmhi.rs +++ b/esp32c2/src/timg0/t/alarmhi.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - Timer %s alarm trigger time-base counter value, high 22 bits."] #[inline(always)] - #[must_use] pub fn alarm_hi(&mut self) -> ALARM_HI_W { ALARM_HI_W::new(self, 0) } diff --git a/esp32c2/src/timg0/t/alarmlo.rs b/esp32c2/src/timg0/t/alarmlo.rs index 9dae08ae1e..ddbac0e99b 100644 --- a/esp32c2/src/timg0/t/alarmlo.rs +++ b/esp32c2/src/timg0/t/alarmlo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Timer %s alarm trigger time-base counter value, low 32 bits."] #[inline(always)] - #[must_use] pub fn alarm_lo(&mut self) -> ALARM_LO_W { ALARM_LO_W::new(self, 0) } diff --git a/esp32c2/src/timg0/t/config.rs b/esp32c2/src/timg0/t/config.rs index 9ece678cf4..1095e84fcd 100644 --- a/esp32c2/src/timg0/t/config.rs +++ b/esp32c2/src/timg0/t/config.rs @@ -76,43 +76,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 9 - 1: Use XTAL_CLK as the source clock of timer group. 0: Use APB_CLK as the source clock of timer group."] #[inline(always)] - #[must_use] pub fn use_xtal(&mut self) -> USE_XTAL_W { USE_XTAL_W::new(self, 9) } #[doc = "Bit 10 - When set, the alarm is enabled. This bit is automatically cleared once an alarm occurs."] #[inline(always)] - #[must_use] pub fn alarm_en(&mut self) -> ALARM_EN_W { ALARM_EN_W::new(self, 10) } #[doc = "Bit 12 - When set, Timer %s 's clock divider counter will be reset."] #[inline(always)] - #[must_use] pub fn divcnt_rst(&mut self) -> DIVCNT_RST_W { DIVCNT_RST_W::new(self, 12) } #[doc = "Bits 13:28 - Timer %s clock (T%s_clk) prescaler value."] #[inline(always)] - #[must_use] pub fn divider(&mut self) -> DIVIDER_W { DIVIDER_W::new(self, 13) } #[doc = "Bit 29 - When set, timer %s auto-reload at alarm is enabled."] #[inline(always)] - #[must_use] pub fn autoreload(&mut self) -> AUTORELOAD_W { AUTORELOAD_W::new(self, 29) } #[doc = "Bit 30 - When set, the timer %s time-base counter will increment every clock tick. When cleared, the timer %s time-base counter will decrement."] #[inline(always)] - #[must_use] pub fn increase(&mut self) -> INCREASE_W { INCREASE_W::new(self, 30) } #[doc = "Bit 31 - When set, the timer %s time-base counter is enabled."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 31) } diff --git a/esp32c2/src/timg0/t/load.rs b/esp32c2/src/timg0/t/load.rs index b2b162f4bd..8ff971209d 100644 --- a/esp32c2/src/timg0/t/load.rs +++ b/esp32c2/src/timg0/t/load.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - Write any value to trigger a timer %s time-base counter reload."] #[inline(always)] - #[must_use] pub fn load(&mut self) -> LOAD_W { LOAD_W::new(self, 0) } diff --git a/esp32c2/src/timg0/t/loadhi.rs b/esp32c2/src/timg0/t/loadhi.rs index abf461cb0a..2e3c3628ac 100644 --- a/esp32c2/src/timg0/t/loadhi.rs +++ b/esp32c2/src/timg0/t/loadhi.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - High 22 bits of the value that a reload will load onto timer %s time-base counter."] #[inline(always)] - #[must_use] pub fn load_hi(&mut self) -> LOAD_HI_W { LOAD_HI_W::new(self, 0) } diff --git a/esp32c2/src/timg0/t/loadlo.rs b/esp32c2/src/timg0/t/loadlo.rs index 4f6b2c5bda..ed1fe163c4 100644 --- a/esp32c2/src/timg0/t/loadlo.rs +++ b/esp32c2/src/timg0/t/loadlo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Low 32 bits of the value that a reload will load onto timer %s time-base Counter."] #[inline(always)] - #[must_use] pub fn load_lo(&mut self) -> LOAD_LO_W { LOAD_LO_W::new(self, 0) } diff --git a/esp32c2/src/timg0/t/update.rs b/esp32c2/src/timg0/t/update.rs index d550912640..dbe99022bb 100644 --- a/esp32c2/src/timg0/t/update.rs +++ b/esp32c2/src/timg0/t/update.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - After writing 0 or 1 to TIMG_T%sUPDATE_REG, the counter value is latched."] #[inline(always)] - #[must_use] pub fn update(&mut self) -> UPDATE_W { UPDATE_W::new(self, 31) } diff --git a/esp32c2/src/timg0/wdtconfig0.rs b/esp32c2/src/timg0/wdtconfig0.rs index 1aef5d898e..81c3e74f5d 100644 --- a/esp32c2/src/timg0/wdtconfig0.rs +++ b/esp32c2/src/timg0/wdtconfig0.rs @@ -126,73 +126,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - WDT reset CPU enable."] #[inline(always)] - #[must_use] pub fn wdt_appcpu_reset_en(&mut self) -> WDT_APPCPU_RESET_EN_W { WDT_APPCPU_RESET_EN_W::new(self, 12) } #[doc = "Bit 13 - WDT reset CPU enable."] #[inline(always)] - #[must_use] pub fn wdt_procpu_reset_en(&mut self) -> WDT_PROCPU_RESET_EN_W { WDT_PROCPU_RESET_EN_W::new(self, 13) } #[doc = "Bit 14 - When set, Flash boot protection is enabled."] #[inline(always)] - #[must_use] pub fn wdt_flashboot_mod_en(&mut self) -> WDT_FLASHBOOT_MOD_EN_W { WDT_FLASHBOOT_MOD_EN_W::new(self, 14) } #[doc = "Bits 15:17 - System reset signal length selection. 0: 100 ns, 1: 200 ns, 2: 300 ns, 3: 400 ns, 4: 500 ns, 5: 800 ns, 6: 1.6 us, 7: 3.2 us."] #[inline(always)] - #[must_use] pub fn wdt_sys_reset_length(&mut self) -> WDT_SYS_RESET_LENGTH_W { WDT_SYS_RESET_LENGTH_W::new(self, 15) } #[doc = "Bits 18:20 - CPU reset signal length selection. 0: 100 ns, 1: 200 ns, 2: 300 ns, 3: 400 ns, 4: 500 ns, 5: 800 ns, 6: 1.6 us, 7: 3.2 us."] #[inline(always)] - #[must_use] pub fn wdt_cpu_reset_length(&mut self) -> WDT_CPU_RESET_LENGTH_W { WDT_CPU_RESET_LENGTH_W::new(self, 18) } #[doc = "Bit 21 - choose WDT clock:0-apb_clk; 1-xtal_clk."] #[inline(always)] - #[must_use] pub fn wdt_use_xtal(&mut self) -> WDT_USE_XTAL_W { WDT_USE_XTAL_W::new(self, 21) } #[doc = "Bit 22 - update the WDT configuration registers"] #[inline(always)] - #[must_use] pub fn wdt_conf_update_en(&mut self) -> WDT_CONF_UPDATE_EN_W { WDT_CONF_UPDATE_EN_W::new(self, 22) } #[doc = "Bits 23:24 - Stage 3 configuration. 0: off, 1: interrupt, 2: reset CPU, 3: reset system."] #[inline(always)] - #[must_use] pub fn wdt_stg3(&mut self) -> WDT_STG3_W { WDT_STG3_W::new(self, 23) } #[doc = "Bits 25:26 - Stage 2 configuration. 0: off, 1: interrupt, 2: reset CPU, 3: reset system."] #[inline(always)] - #[must_use] pub fn wdt_stg2(&mut self) -> WDT_STG2_W { WDT_STG2_W::new(self, 25) } #[doc = "Bits 27:28 - Stage 1 configuration. 0: off, 1: interrupt, 2: reset CPU, 3: reset system."] #[inline(always)] - #[must_use] pub fn wdt_stg1(&mut self) -> WDT_STG1_W { WDT_STG1_W::new(self, 27) } #[doc = "Bits 29:30 - Stage 0 configuration. 0: off, 1: interrupt, 2: reset CPU, 3: reset system."] #[inline(always)] - #[must_use] pub fn wdt_stg0(&mut self) -> WDT_STG0_W { WDT_STG0_W::new(self, 29) } #[doc = "Bit 31 - When set, MWDT is enabled."] #[inline(always)] - #[must_use] pub fn wdt_en(&mut self) -> WDT_EN_W { WDT_EN_W::new(self, 31) } diff --git a/esp32c2/src/timg0/wdtconfig1.rs b/esp32c2/src/timg0/wdtconfig1.rs index 5185123b6b..8649221be4 100644 --- a/esp32c2/src/timg0/wdtconfig1.rs +++ b/esp32c2/src/timg0/wdtconfig1.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - When set, WDT 's clock divider counter will be reset."] #[inline(always)] - #[must_use] pub fn wdt_divcnt_rst(&mut self) -> WDT_DIVCNT_RST_W { WDT_DIVCNT_RST_W::new(self, 0) } #[doc = "Bits 16:31 - MWDT clock prescaler value. MWDT clock period = 12.5 ns * TIMG_WDT_CLK_PRESCALE."] #[inline(always)] - #[must_use] pub fn wdt_clk_prescale(&mut self) -> WDT_CLK_PRESCALE_W { WDT_CLK_PRESCALE_W::new(self, 16) } diff --git a/esp32c2/src/timg0/wdtconfig2.rs b/esp32c2/src/timg0/wdtconfig2.rs index d7aedad9be..2eb13ae372 100644 --- a/esp32c2/src/timg0/wdtconfig2.rs +++ b/esp32c2/src/timg0/wdtconfig2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stage 0 timeout value, in MWDT clock cycles."] #[inline(always)] - #[must_use] pub fn wdt_stg0_hold(&mut self) -> WDT_STG0_HOLD_W { WDT_STG0_HOLD_W::new(self, 0) } diff --git a/esp32c2/src/timg0/wdtconfig3.rs b/esp32c2/src/timg0/wdtconfig3.rs index 3eb96b1e93..353e861c97 100644 --- a/esp32c2/src/timg0/wdtconfig3.rs +++ b/esp32c2/src/timg0/wdtconfig3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stage 1 timeout value, in MWDT clock cycles."] #[inline(always)] - #[must_use] pub fn wdt_stg1_hold(&mut self) -> WDT_STG1_HOLD_W { WDT_STG1_HOLD_W::new(self, 0) } diff --git a/esp32c2/src/timg0/wdtconfig4.rs b/esp32c2/src/timg0/wdtconfig4.rs index c522268b4c..adb732fce4 100644 --- a/esp32c2/src/timg0/wdtconfig4.rs +++ b/esp32c2/src/timg0/wdtconfig4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stage 2 timeout value, in MWDT clock cycles."] #[inline(always)] - #[must_use] pub fn wdt_stg2_hold(&mut self) -> WDT_STG2_HOLD_W { WDT_STG2_HOLD_W::new(self, 0) } diff --git a/esp32c2/src/timg0/wdtconfig5.rs b/esp32c2/src/timg0/wdtconfig5.rs index 61c6bfb1e1..a56ba8caeb 100644 --- a/esp32c2/src/timg0/wdtconfig5.rs +++ b/esp32c2/src/timg0/wdtconfig5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stage 3 timeout value, in MWDT clock cycles."] #[inline(always)] - #[must_use] pub fn wdt_stg3_hold(&mut self) -> WDT_STG3_HOLD_W { WDT_STG3_HOLD_W::new(self, 0) } diff --git a/esp32c2/src/timg0/wdtfeed.rs b/esp32c2/src/timg0/wdtfeed.rs index 5b3ae9b1dc..cd788cbe3e 100644 --- a/esp32c2/src/timg0/wdtfeed.rs +++ b/esp32c2/src/timg0/wdtfeed.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - Write any value to feed the MWDT. (WO)"] #[inline(always)] - #[must_use] pub fn wdt_feed(&mut self) -> WDT_FEED_W { WDT_FEED_W::new(self, 0) } diff --git a/esp32c2/src/timg0/wdtwprotect.rs b/esp32c2/src/timg0/wdtwprotect.rs index f3d13ea457..db5716850f 100644 --- a/esp32c2/src/timg0/wdtwprotect.rs +++ b/esp32c2/src/timg0/wdtwprotect.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - If the register contains a different value than its reset value, write protection is enabled."] #[inline(always)] - #[must_use] pub fn wdt_wkey(&mut self) -> WDT_WKEY_W { WDT_WKEY_W::new(self, 0) } diff --git a/esp32c2/src/uart0/at_cmd_char.rs b/esp32c2/src/uart0/at_cmd_char.rs index 63f615f0bb..0cf119bced 100644 --- a/esp32c2/src/uart0/at_cmd_char.rs +++ b/esp32c2/src/uart0/at_cmd_char.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register is used to configure the content of at_cmd char."] #[inline(always)] - #[must_use] pub fn at_cmd_char(&mut self) -> AT_CMD_CHAR_W { AT_CMD_CHAR_W::new(self, 0) } #[doc = "Bits 8:15 - This register is used to configure the num of continuous at_cmd chars received by receiver."] #[inline(always)] - #[must_use] pub fn char_num(&mut self) -> CHAR_NUM_W { CHAR_NUM_W::new(self, 8) } diff --git a/esp32c2/src/uart0/at_cmd_gaptout.rs b/esp32c2/src/uart0/at_cmd_gaptout.rs index aeb0fab8c1..db829b172f 100644 --- a/esp32c2/src/uart0/at_cmd_gaptout.rs +++ b/esp32c2/src/uart0/at_cmd_gaptout.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the duration time between the at_cmd chars."] #[inline(always)] - #[must_use] pub fn rx_gap_tout(&mut self) -> RX_GAP_TOUT_W { RX_GAP_TOUT_W::new(self, 0) } diff --git a/esp32c2/src/uart0/at_cmd_postcnt.rs b/esp32c2/src/uart0/at_cmd_postcnt.rs index a7bf7d2792..1ca8f0cec9 100644 --- a/esp32c2/src/uart0/at_cmd_postcnt.rs +++ b/esp32c2/src/uart0/at_cmd_postcnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the duration time between the last at_cmd and the next data."] #[inline(always)] - #[must_use] pub fn post_idle_num(&mut self) -> POST_IDLE_NUM_W { POST_IDLE_NUM_W::new(self, 0) } diff --git a/esp32c2/src/uart0/at_cmd_precnt.rs b/esp32c2/src/uart0/at_cmd_precnt.rs index c49f64f592..762bf3e056 100644 --- a/esp32c2/src/uart0/at_cmd_precnt.rs +++ b/esp32c2/src/uart0/at_cmd_precnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the idle duration time before the first at_cmd is received by receiver."] #[inline(always)] - #[must_use] pub fn pre_idle_num(&mut self) -> PRE_IDLE_NUM_W { PRE_IDLE_NUM_W::new(self, 0) } diff --git a/esp32c2/src/uart0/clk_conf.rs b/esp32c2/src/uart0/clk_conf.rs index 1debfdc150..26cf2e7774 100644 --- a/esp32c2/src/uart0/clk_conf.rs +++ b/esp32c2/src/uart0/clk_conf.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - The denominator of the frequency divider factor."] #[inline(always)] - #[must_use] pub fn sclk_div_b(&mut self) -> SCLK_DIV_B_W { SCLK_DIV_B_W::new(self, 0) } #[doc = "Bits 6:11 - The numerator of the frequency divider factor."] #[inline(always)] - #[must_use] pub fn sclk_div_a(&mut self) -> SCLK_DIV_A_W { SCLK_DIV_A_W::new(self, 6) } #[doc = "Bits 12:19 - The integral part of the frequency divider factor."] #[inline(always)] - #[must_use] pub fn sclk_div_num(&mut self) -> SCLK_DIV_NUM_W { SCLK_DIV_NUM_W::new(self, 12) } #[doc = "Bits 20:21 - UART clock source select. 1: 80Mhz, 2: 8Mhz, 3: XTAL."] #[inline(always)] - #[must_use] pub fn sclk_sel(&mut self) -> SCLK_SEL_W { SCLK_SEL_W::new(self, 20) } #[doc = "Bit 22 - Set this bit to enable UART Tx/Rx clock."] #[inline(always)] - #[must_use] pub fn sclk_en(&mut self) -> SCLK_EN_W { SCLK_EN_W::new(self, 22) } #[doc = "Bit 23 - Write 1 then write 0 to this bit, reset UART Tx/Rx."] #[inline(always)] - #[must_use] pub fn rst_core(&mut self) -> RST_CORE_W { RST_CORE_W::new(self, 23) } #[doc = "Bit 24 - Set this bit to enable UART Tx clock."] #[inline(always)] - #[must_use] pub fn tx_sclk_en(&mut self) -> TX_SCLK_EN_W { TX_SCLK_EN_W::new(self, 24) } #[doc = "Bit 25 - Set this bit to enable UART Rx clock."] #[inline(always)] - #[must_use] pub fn rx_sclk_en(&mut self) -> RX_SCLK_EN_W { RX_SCLK_EN_W::new(self, 25) } #[doc = "Bit 26 - Write 1 then write 0 to this bit, reset UART Tx."] #[inline(always)] - #[must_use] pub fn tx_rst_core(&mut self) -> TX_RST_CORE_W { TX_RST_CORE_W::new(self, 26) } #[doc = "Bit 27 - Write 1 then write 0 to this bit, reset UART Rx."] #[inline(always)] - #[must_use] pub fn rx_rst_core(&mut self) -> RX_RST_CORE_W { RX_RST_CORE_W::new(self, 27) } diff --git a/esp32c2/src/uart0/clkdiv.rs b/esp32c2/src/uart0/clkdiv.rs index f5fb653112..4706e2101c 100644 --- a/esp32c2/src/uart0/clkdiv.rs +++ b/esp32c2/src/uart0/clkdiv.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - The integral part of the frequency divider factor."] #[inline(always)] - #[must_use] pub fn clkdiv(&mut self) -> CLKDIV_W { CLKDIV_W::new(self, 0) } #[doc = "Bits 20:23 - The decimal part of the frequency divider factor."] #[inline(always)] - #[must_use] pub fn frag(&mut self) -> FRAG_W { FRAG_W::new(self, 20) } diff --git a/esp32c2/src/uart0/conf0.rs b/esp32c2/src/uart0/conf0.rs index c32c153634..7b36703aba 100644 --- a/esp32c2/src/uart0/conf0.rs +++ b/esp32c2/src/uart0/conf0.rs @@ -284,163 +284,136 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This register is used to configure the parity check mode."] #[inline(always)] - #[must_use] pub fn parity(&mut self) -> PARITY_W { PARITY_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to enable uart parity check."] #[inline(always)] - #[must_use] pub fn parity_en(&mut self) -> PARITY_EN_W { PARITY_EN_W::new(self, 1) } #[doc = "Bits 2:3 - This register is used to set the length of data."] #[inline(always)] - #[must_use] pub fn bit_num(&mut self) -> BIT_NUM_W { BIT_NUM_W::new(self, 2) } #[doc = "Bits 4:5 - This register is used to set the length of stop bit."] #[inline(always)] - #[must_use] pub fn stop_bit_num(&mut self) -> STOP_BIT_NUM_W { STOP_BIT_NUM_W::new(self, 4) } #[doc = "Bit 6 - This register is used to configure the software rts signal which is used in software flow control."] #[inline(always)] - #[must_use] pub fn sw_rts(&mut self) -> SW_RTS_W { SW_RTS_W::new(self, 6) } #[doc = "Bit 7 - This register is used to configure the software dtr signal which is used in software flow control."] #[inline(always)] - #[must_use] pub fn sw_dtr(&mut self) -> SW_DTR_W { SW_DTR_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to enbale transmitter to send NULL when the process of sending data is done."] #[inline(always)] - #[must_use] pub fn txd_brk(&mut self) -> TXD_BRK_W { TXD_BRK_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to enable IrDA loopback mode."] #[inline(always)] - #[must_use] pub fn irda_dplx(&mut self) -> IRDA_DPLX_W { IRDA_DPLX_W::new(self, 9) } #[doc = "Bit 10 - This is the start enable bit for IrDA transmitter."] #[inline(always)] - #[must_use] pub fn irda_tx_en(&mut self) -> IRDA_TX_EN_W { IRDA_TX_EN_W::new(self, 10) } #[doc = "Bit 11 - 1'h1: The IrDA transmitter's 11th bit is the same as 10th bit. 1'h0: Set IrDA transmitter's 11th bit to 0."] #[inline(always)] - #[must_use] pub fn irda_wctl(&mut self) -> IRDA_WCTL_W { IRDA_WCTL_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to invert the level of IrDA transmitter."] #[inline(always)] - #[must_use] pub fn irda_tx_inv(&mut self) -> IRDA_TX_INV_W { IRDA_TX_INV_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to invert the level of IrDA receiver."] #[inline(always)] - #[must_use] pub fn irda_rx_inv(&mut self) -> IRDA_RX_INV_W { IRDA_RX_INV_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to enable uart loopback test mode."] #[inline(always)] - #[must_use] pub fn loopback(&mut self) -> LOOPBACK_W { LOOPBACK_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to enable flow control function for transmitter."] #[inline(always)] - #[must_use] pub fn tx_flow_en(&mut self) -> TX_FLOW_EN_W { TX_FLOW_EN_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to enable IrDA protocol."] #[inline(always)] - #[must_use] pub fn irda_en(&mut self) -> IRDA_EN_W { IRDA_EN_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to reset the uart receive-FIFO."] #[inline(always)] - #[must_use] pub fn rxfifo_rst(&mut self) -> RXFIFO_RST_W { RXFIFO_RST_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to reset the uart transmit-FIFO."] #[inline(always)] - #[must_use] pub fn txfifo_rst(&mut self) -> TXFIFO_RST_W { TXFIFO_RST_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to inverse the level value of uart rxd signal."] #[inline(always)] - #[must_use] pub fn rxd_inv(&mut self) -> RXD_INV_W { RXD_INV_W::new(self, 19) } #[doc = "Bit 20 - Set this bit to inverse the level value of uart cts signal."] #[inline(always)] - #[must_use] pub fn cts_inv(&mut self) -> CTS_INV_W { CTS_INV_W::new(self, 20) } #[doc = "Bit 21 - Set this bit to inverse the level value of uart dsr signal."] #[inline(always)] - #[must_use] pub fn dsr_inv(&mut self) -> DSR_INV_W { DSR_INV_W::new(self, 21) } #[doc = "Bit 22 - Set this bit to inverse the level value of uart txd signal."] #[inline(always)] - #[must_use] pub fn txd_inv(&mut self) -> TXD_INV_W { TXD_INV_W::new(self, 22) } #[doc = "Bit 23 - Set this bit to inverse the level value of uart rts signal."] #[inline(always)] - #[must_use] pub fn rts_inv(&mut self) -> RTS_INV_W { RTS_INV_W::new(self, 23) } #[doc = "Bit 24 - Set this bit to inverse the level value of uart dtr signal."] #[inline(always)] - #[must_use] pub fn dtr_inv(&mut self) -> DTR_INV_W { DTR_INV_W::new(self, 24) } #[doc = "Bit 25 - 1'h1: Force clock on for register. 1'h0: Support clock only when application writes registers."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 25) } #[doc = "Bit 26 - 1'h1: Receiver stops storing data into FIFO when data is wrong. 1'h0: Receiver stores the data even if the received data is wrong."] #[inline(always)] - #[must_use] pub fn err_wr_mask(&mut self) -> ERR_WR_MASK_W { ERR_WR_MASK_W::new(self, 26) } #[doc = "Bit 27 - This is the enable bit for detecting baudrate."] #[inline(always)] - #[must_use] pub fn autobaud_en(&mut self) -> AUTOBAUD_EN_W { AUTOBAUD_EN_W::new(self, 27) } #[doc = "Bit 28 - UART memory clock gate enable signal."] #[inline(always)] - #[must_use] pub fn mem_clk_en(&mut self) -> MEM_CLK_EN_W { MEM_CLK_EN_W::new(self, 28) } diff --git a/esp32c2/src/uart0/conf1.rs b/esp32c2/src/uart0/conf1.rs index acdd8a9f57..8689b25a86 100644 --- a/esp32c2/src/uart0/conf1.rs +++ b/esp32c2/src/uart0/conf1.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - It will produce rxfifo_full_int interrupt when receiver receives more data than this register value."] #[inline(always)] - #[must_use] pub fn rxfifo_full_thrhd(&mut self) -> RXFIFO_FULL_THRHD_W { RXFIFO_FULL_THRHD_W::new(self, 0) } #[doc = "Bits 9:17 - It will produce txfifo_empty_int interrupt when the data amount in Tx-FIFO is less than this register value."] #[inline(always)] - #[must_use] pub fn txfifo_empty_thrhd(&mut self) -> TXFIFO_EMPTY_THRHD_W { TXFIFO_EMPTY_THRHD_W::new(self, 9) } #[doc = "Bit 18 - Disable UART Rx data overflow detect."] #[inline(always)] - #[must_use] pub fn dis_rx_dat_ovf(&mut self) -> DIS_RX_DAT_OVF_W { DIS_RX_DAT_OVF_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to stop accumulating idle_cnt when hardware flow control works."] #[inline(always)] - #[must_use] pub fn rx_tout_flow_dis(&mut self) -> RX_TOUT_FLOW_DIS_W { RX_TOUT_FLOW_DIS_W::new(self, 19) } #[doc = "Bit 20 - This is the flow enable bit for UART receiver."] #[inline(always)] - #[must_use] pub fn rx_flow_en(&mut self) -> RX_FLOW_EN_W { RX_FLOW_EN_W::new(self, 20) } #[doc = "Bit 21 - This is the enble bit for uart receiver's timeout function."] #[inline(always)] - #[must_use] pub fn rx_tout_en(&mut self) -> RX_TOUT_EN_W { RX_TOUT_EN_W::new(self, 21) } diff --git a/esp32c2/src/uart0/date.rs b/esp32c2/src/uart0/date.rs index d89b3d5652..d17dca78f3 100644 --- a/esp32c2/src/uart0/date.rs +++ b/esp32c2/src/uart0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This is the version register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c2/src/uart0/fifo.rs b/esp32c2/src/uart0/fifo.rs index bbd207ed48..044c77bb18 100644 --- a/esp32c2/src/uart0/fifo.rs +++ b/esp32c2/src/uart0/fifo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - UART 0 accesses FIFO via this register."] #[inline(always)] - #[must_use] pub fn rxfifo_rd_byte(&mut self) -> RXFIFO_RD_BYTE_W { RXFIFO_RD_BYTE_W::new(self, 0) } diff --git a/esp32c2/src/uart0/flow_conf.rs b/esp32c2/src/uart0/flow_conf.rs index ec52fe16d3..0e7f83e9dc 100644 --- a/esp32c2/src/uart0/flow_conf.rs +++ b/esp32c2/src/uart0/flow_conf.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable software flow control. It is used with register sw_xon or sw_xoff."] #[inline(always)] - #[must_use] pub fn sw_flow_con_en(&mut self) -> SW_FLOW_CON_EN_W { SW_FLOW_CON_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to remove flow control char from the received data."] #[inline(always)] - #[must_use] pub fn xonoff_del(&mut self) -> XONOFF_DEL_W { XONOFF_DEL_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to enable the transmitter to go on sending data."] #[inline(always)] - #[must_use] pub fn force_xon(&mut self) -> FORCE_XON_W { FORCE_XON_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to stop the transmitter from sending data."] #[inline(always)] - #[must_use] pub fn force_xoff(&mut self) -> FORCE_XOFF_W { FORCE_XOFF_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to send Xon char. It is cleared by hardware automatically."] #[inline(always)] - #[must_use] pub fn send_xon(&mut self) -> SEND_XON_W { SEND_XON_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to send Xoff char. It is cleared by hardware automatically."] #[inline(always)] - #[must_use] pub fn send_xoff(&mut self) -> SEND_XOFF_W { SEND_XOFF_W::new(self, 5) } diff --git a/esp32c2/src/uart0/id.rs b/esp32c2/src/uart0/id.rs index 2e3ddb5969..8466c988d9 100644 --- a/esp32c2/src/uart0/id.rs +++ b/esp32c2/src/uart0/id.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - This register is used to configure the uart_id."] #[inline(always)] - #[must_use] pub fn id(&mut self) -> ID_W { ID_W::new(self, 0) } #[doc = "Bit 30 - This bit used to select synchronize mode. 1: Registers are auto synchronized into UART Core clock and UART core should be keep the same with APB clock. 0: After configure registers, software needs to write 1 to UART_REG_UPDATE to synchronize registers."] #[inline(always)] - #[must_use] pub fn high_speed(&mut self) -> HIGH_SPEED_W { HIGH_SPEED_W::new(self, 30) } #[doc = "Bit 31 - Software write 1 would synchronize registers into UART Core clock domain and would be cleared by hardware after synchronization is done."] #[inline(always)] - #[must_use] pub fn reg_update(&mut self) -> REG_UPDATE_W { REG_UPDATE_W::new(self, 31) } diff --git a/esp32c2/src/uart0/idle_conf.rs b/esp32c2/src/uart0/idle_conf.rs index c3bcd173ed..3e67f9b8b2 100644 --- a/esp32c2/src/uart0/idle_conf.rs +++ b/esp32c2/src/uart0/idle_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - It will produce frame end signal when receiver takes more time to receive one byte data than this register value."] #[inline(always)] - #[must_use] pub fn rx_idle_thrhd(&mut self) -> RX_IDLE_THRHD_W { RX_IDLE_THRHD_W::new(self, 0) } #[doc = "Bits 10:19 - This register is used to configure the duration time between transfers."] #[inline(always)] - #[must_use] pub fn tx_idle_num(&mut self) -> TX_IDLE_NUM_W { TX_IDLE_NUM_W::new(self, 10) } diff --git a/esp32c2/src/uart0/int_clr.rs b/esp32c2/src/uart0/int_clr.rs index 83be88b461..40688a1933 100644 --- a/esp32c2/src/uart0/int_clr.rs +++ b/esp32c2/src/uart0/int_clr.rs @@ -49,121 +49,101 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the rxfifo_full_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_full(&mut self) -> RXFIFO_FULL_W { RXFIFO_FULL_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear txfifo_empty_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_empty(&mut self) -> TXFIFO_EMPTY_W { TXFIFO_EMPTY_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear parity_err_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn parity_err(&mut self) -> PARITY_ERR_W { PARITY_ERR_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear frm_err_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn frm_err(&mut self) -> FRM_ERR_W { FRM_ERR_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear rxfifo_ovf_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the dsr_chg_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn dsr_chg(&mut self) -> DSR_CHG_W { DSR_CHG_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the cts_chg_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn cts_chg(&mut self) -> CTS_CHG_W { CTS_CHG_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the brk_det_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn brk_det(&mut self) -> BRK_DET_W { BRK_DET_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the rxfifo_tout_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_tout(&mut self) -> RXFIFO_TOUT_W { RXFIFO_TOUT_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear the sw_xon_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn sw_xon(&mut self) -> SW_XON_W { SW_XON_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to clear the sw_xoff_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn sw_xoff(&mut self) -> SW_XOFF_W { SW_XOFF_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear the glitch_det_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to clear the tx_brk_done_int_raw interrupt.."] #[inline(always)] - #[must_use] pub fn tx_brk_done(&mut self) -> TX_BRK_DONE_W { TX_BRK_DONE_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to clear the tx_brk_idle_done_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn tx_brk_idle_done(&mut self) -> TX_BRK_IDLE_DONE_W { TX_BRK_IDLE_DONE_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to clear the tx_done_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to clear the rs485_parity_err_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rs485_parity_err(&mut self) -> RS485_PARITY_ERR_W { RS485_PARITY_ERR_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to clear the rs485_frm_err_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rs485_frm_err(&mut self) -> RS485_FRM_ERR_W { RS485_FRM_ERR_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to clear the rs485_clash_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rs485_clash(&mut self) -> RS485_CLASH_W { RS485_CLASH_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to clear the at_cmd_char_det_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn at_cmd_char_det(&mut self) -> AT_CMD_CHAR_DET_W { AT_CMD_CHAR_DET_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to clear the uart_wakeup_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn wakeup(&mut self) -> WAKEUP_W { WAKEUP_W::new(self, 19) } diff --git a/esp32c2/src/uart0/int_ena.rs b/esp32c2/src/uart0/int_ena.rs index dc9361e638..14f56e1ffd 100644 --- a/esp32c2/src/uart0/int_ena.rs +++ b/esp32c2/src/uart0/int_ena.rs @@ -214,121 +214,101 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This is the enable bit for rxfifo_full_int_st register."] #[inline(always)] - #[must_use] pub fn rxfifo_full(&mut self) -> RXFIFO_FULL_W { RXFIFO_FULL_W::new(self, 0) } #[doc = "Bit 1 - This is the enable bit for txfifo_empty_int_st register."] #[inline(always)] - #[must_use] pub fn txfifo_empty(&mut self) -> TXFIFO_EMPTY_W { TXFIFO_EMPTY_W::new(self, 1) } #[doc = "Bit 2 - This is the enable bit for parity_err_int_st register."] #[inline(always)] - #[must_use] pub fn parity_err(&mut self) -> PARITY_ERR_W { PARITY_ERR_W::new(self, 2) } #[doc = "Bit 3 - This is the enable bit for frm_err_int_st register."] #[inline(always)] - #[must_use] pub fn frm_err(&mut self) -> FRM_ERR_W { FRM_ERR_W::new(self, 3) } #[doc = "Bit 4 - This is the enable bit for rxfifo_ovf_int_st register."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - This is the enable bit for dsr_chg_int_st register."] #[inline(always)] - #[must_use] pub fn dsr_chg(&mut self) -> DSR_CHG_W { DSR_CHG_W::new(self, 5) } #[doc = "Bit 6 - This is the enable bit for cts_chg_int_st register."] #[inline(always)] - #[must_use] pub fn cts_chg(&mut self) -> CTS_CHG_W { CTS_CHG_W::new(self, 6) } #[doc = "Bit 7 - This is the enable bit for brk_det_int_st register."] #[inline(always)] - #[must_use] pub fn brk_det(&mut self) -> BRK_DET_W { BRK_DET_W::new(self, 7) } #[doc = "Bit 8 - This is the enable bit for rxfifo_tout_int_st register."] #[inline(always)] - #[must_use] pub fn rxfifo_tout(&mut self) -> RXFIFO_TOUT_W { RXFIFO_TOUT_W::new(self, 8) } #[doc = "Bit 9 - This is the enable bit for sw_xon_int_st register."] #[inline(always)] - #[must_use] pub fn sw_xon(&mut self) -> SW_XON_W { SW_XON_W::new(self, 9) } #[doc = "Bit 10 - This is the enable bit for sw_xoff_int_st register."] #[inline(always)] - #[must_use] pub fn sw_xoff(&mut self) -> SW_XOFF_W { SW_XOFF_W::new(self, 10) } #[doc = "Bit 11 - This is the enable bit for glitch_det_int_st register."] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 11) } #[doc = "Bit 12 - This is the enable bit for tx_brk_done_int_st register."] #[inline(always)] - #[must_use] pub fn tx_brk_done(&mut self) -> TX_BRK_DONE_W { TX_BRK_DONE_W::new(self, 12) } #[doc = "Bit 13 - This is the enable bit for tx_brk_idle_done_int_st register."] #[inline(always)] - #[must_use] pub fn tx_brk_idle_done(&mut self) -> TX_BRK_IDLE_DONE_W { TX_BRK_IDLE_DONE_W::new(self, 13) } #[doc = "Bit 14 - This is the enable bit for tx_done_int_st register."] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 14) } #[doc = "Bit 15 - This is the enable bit for rs485_parity_err_int_st register."] #[inline(always)] - #[must_use] pub fn rs485_parity_err(&mut self) -> RS485_PARITY_ERR_W { RS485_PARITY_ERR_W::new(self, 15) } #[doc = "Bit 16 - This is the enable bit for rs485_parity_err_int_st register."] #[inline(always)] - #[must_use] pub fn rs485_frm_err(&mut self) -> RS485_FRM_ERR_W { RS485_FRM_ERR_W::new(self, 16) } #[doc = "Bit 17 - This is the enable bit for rs485_clash_int_st register."] #[inline(always)] - #[must_use] pub fn rs485_clash(&mut self) -> RS485_CLASH_W { RS485_CLASH_W::new(self, 17) } #[doc = "Bit 18 - This is the enable bit for at_cmd_char_det_int_st register."] #[inline(always)] - #[must_use] pub fn at_cmd_char_det(&mut self) -> AT_CMD_CHAR_DET_W { AT_CMD_CHAR_DET_W::new(self, 18) } #[doc = "Bit 19 - This is the enable bit for uart_wakeup_int_st register."] #[inline(always)] - #[must_use] pub fn wakeup(&mut self) -> WAKEUP_W { WAKEUP_W::new(self, 19) } diff --git a/esp32c2/src/uart0/int_raw.rs b/esp32c2/src/uart0/int_raw.rs index b38649fad2..38182da48b 100644 --- a/esp32c2/src/uart0/int_raw.rs +++ b/esp32c2/src/uart0/int_raw.rs @@ -214,121 +214,101 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This interrupt raw bit turns to high level when receiver receives more data than what rxfifo_full_thrhd specifies."] #[inline(always)] - #[must_use] pub fn rxfifo_full(&mut self) -> RXFIFO_FULL_W { RXFIFO_FULL_W::new(self, 0) } #[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 ."] #[inline(always)] - #[must_use] pub fn txfifo_empty(&mut self) -> TXFIFO_EMPTY_W { TXFIFO_EMPTY_W::new(self, 1) } #[doc = "Bit 2 - This interrupt raw bit turns to high level when receiver detects a parity error in the data."] #[inline(always)] - #[must_use] pub fn parity_err(&mut self) -> PARITY_ERR_W { PARITY_ERR_W::new(self, 2) } #[doc = "Bit 3 - This interrupt raw bit turns to high level when receiver detects a data frame error ."] #[inline(always)] - #[must_use] pub fn frm_err(&mut self) -> FRM_ERR_W { FRM_ERR_W::new(self, 3) } #[doc = "Bit 4 - This interrupt raw bit turns to high level when receiver receives more data than the FIFO can store."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - This interrupt raw bit turns to high level when receiver detects the edge change of DSRn signal."] #[inline(always)] - #[must_use] pub fn dsr_chg(&mut self) -> DSR_CHG_W { DSR_CHG_W::new(self, 5) } #[doc = "Bit 6 - This interrupt raw bit turns to high level when receiver detects the edge change of CTSn signal."] #[inline(always)] - #[must_use] pub fn cts_chg(&mut self) -> CTS_CHG_W { CTS_CHG_W::new(self, 6) } #[doc = "Bit 7 - This interrupt raw bit turns to high level when receiver detects a 0 after the stop bit."] #[inline(always)] - #[must_use] pub fn brk_det(&mut self) -> BRK_DET_W { BRK_DET_W::new(self, 7) } #[doc = "Bit 8 - This interrupt raw bit turns to high level when receiver takes more time than rx_tout_thrhd to receive a byte."] #[inline(always)] - #[must_use] pub fn rxfifo_tout(&mut self) -> RXFIFO_TOUT_W { RXFIFO_TOUT_W::new(self, 8) } #[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."] #[inline(always)] - #[must_use] pub fn sw_xon(&mut self) -> SW_XON_W { SW_XON_W::new(self, 9) } #[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."] #[inline(always)] - #[must_use] pub fn sw_xoff(&mut self) -> SW_XOFF_W { SW_XOFF_W::new(self, 10) } #[doc = "Bit 11 - This interrupt raw bit turns to high level when receiver detects a glitch in the middle of a start bit."] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 11) } #[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."] #[inline(always)] - #[must_use] pub fn tx_brk_done(&mut self) -> TX_BRK_DONE_W { TX_BRK_DONE_W::new(self, 12) } #[doc = "Bit 13 - This interrupt raw bit turns to high level when transmitter has kept the shortest duration after sending the last data."] #[inline(always)] - #[must_use] pub fn tx_brk_idle_done(&mut self) -> TX_BRK_IDLE_DONE_W { TX_BRK_IDLE_DONE_W::new(self, 13) } #[doc = "Bit 14 - This interrupt raw bit turns to high level when transmitter has send out all data in FIFO."] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 14) } #[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."] #[inline(always)] - #[must_use] pub fn rs485_parity_err(&mut self) -> RS485_PARITY_ERR_W { RS485_PARITY_ERR_W::new(self, 15) } #[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."] #[inline(always)] - #[must_use] pub fn rs485_frm_err(&mut self) -> RS485_FRM_ERR_W { RS485_FRM_ERR_W::new(self, 16) } #[doc = "Bit 17 - This interrupt raw bit turns to high level when detects a clash between transmitter and receiver in rs485 mode."] #[inline(always)] - #[must_use] pub fn rs485_clash(&mut self) -> RS485_CLASH_W { RS485_CLASH_W::new(self, 17) } #[doc = "Bit 18 - This interrupt raw bit turns to high level when receiver detects the configured at_cmd char."] #[inline(always)] - #[must_use] pub fn at_cmd_char_det(&mut self) -> AT_CMD_CHAR_DET_W { AT_CMD_CHAR_DET_W::new(self, 18) } #[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."] #[inline(always)] - #[must_use] pub fn wakeup(&mut self) -> WAKEUP_W { WAKEUP_W::new(self, 19) } diff --git a/esp32c2/src/uart0/mem_conf.rs b/esp32c2/src/uart0/mem_conf.rs index fc1b7fd3d7..ed09db1167 100644 --- a/esp32c2/src/uart0/mem_conf.rs +++ b/esp32c2/src/uart0/mem_conf.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 1:3 - This register is used to configure the amount of mem allocated for receive-FIFO. The default number is 128 bytes."] #[inline(always)] - #[must_use] pub fn rx_size(&mut self) -> RX_SIZE_W { RX_SIZE_W::new(self, 1) } #[doc = "Bits 4:6 - This register is used to configure the amount of mem allocated for transmit-FIFO. The default number is 128 bytes."] #[inline(always)] - #[must_use] pub fn tx_size(&mut self) -> TX_SIZE_W { TX_SIZE_W::new(self, 4) } #[doc = "Bits 7:15 - This register is used to configure the maximum amount of data that can be received when hardware flow control works."] #[inline(always)] - #[must_use] pub fn rx_flow_thrhd(&mut self) -> RX_FLOW_THRHD_W { RX_FLOW_THRHD_W::new(self, 7) } #[doc = "Bits 16:25 - This register is used to configure the threshold time that receiver takes to receive one byte. The rxfifo_tout_int interrupt will be trigger when the receiver takes more time to receive one byte with rx_tout_en set to 1."] #[inline(always)] - #[must_use] pub fn rx_tout_thrhd(&mut self) -> RX_TOUT_THRHD_W { RX_TOUT_THRHD_W::new(self, 16) } #[doc = "Bit 26 - Set this bit to force power down UART memory."] #[inline(always)] - #[must_use] pub fn mem_force_pd(&mut self) -> MEM_FORCE_PD_W { MEM_FORCE_PD_W::new(self, 26) } #[doc = "Bit 27 - Set this bit to force power up UART memory."] #[inline(always)] - #[must_use] pub fn mem_force_pu(&mut self) -> MEM_FORCE_PU_W { MEM_FORCE_PU_W::new(self, 27) } diff --git a/esp32c2/src/uart0/rs485_conf.rs b/esp32c2/src/uart0/rs485_conf.rs index 5ee32256ba..4e52a1709a 100644 --- a/esp32c2/src/uart0/rs485_conf.rs +++ b/esp32c2/src/uart0/rs485_conf.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to choose the rs485 mode."] #[inline(always)] - #[must_use] pub fn rs485_en(&mut self) -> RS485_EN_W { RS485_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to delay the stop bit by 1 bit."] #[inline(always)] - #[must_use] pub fn dl0_en(&mut self) -> DL0_EN_W { DL0_EN_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to delay the stop bit by 1 bit."] #[inline(always)] - #[must_use] pub fn dl1_en(&mut self) -> DL1_EN_W { DL1_EN_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to enable receiver could receive data when the transmitter is transmitting data in rs485 mode."] #[inline(always)] - #[must_use] pub fn rs485tx_rx_en(&mut self) -> RS485TX_RX_EN_W { RS485TX_RX_EN_W::new(self, 3) } #[doc = "Bit 4 - 1'h1: enable rs485 transmitter to send data when rs485 receiver line is busy."] #[inline(always)] - #[must_use] pub fn rs485rxby_tx_en(&mut self) -> RS485RXBY_TX_EN_W { RS485RXBY_TX_EN_W::new(self, 4) } #[doc = "Bit 5 - This register is used to delay the receiver's internal data signal."] #[inline(always)] - #[must_use] pub fn rs485_rx_dly_num(&mut self) -> RS485_RX_DLY_NUM_W { RS485_RX_DLY_NUM_W::new(self, 5) } #[doc = "Bits 6:9 - This register is used to delay the transmitter's internal data signal."] #[inline(always)] - #[must_use] pub fn rs485_tx_dly_num(&mut self) -> RS485_TX_DLY_NUM_W { RS485_TX_DLY_NUM_W::new(self, 6) } diff --git a/esp32c2/src/uart0/rx_filt.rs b/esp32c2/src/uart0/rx_filt.rs index bbffbeca7c..dd54720849 100644 --- a/esp32c2/src/uart0/rx_filt.rs +++ b/esp32c2/src/uart0/rx_filt.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - when input pulse width is lower than this value, the pulse is ignored."] #[inline(always)] - #[must_use] pub fn glitch_filt(&mut self) -> GLITCH_FILT_W { GLITCH_FILT_W::new(self, 0) } #[doc = "Bit 8 - Set this bit to enable Rx signal filter."] #[inline(always)] - #[must_use] pub fn glitch_filt_en(&mut self) -> GLITCH_FILT_EN_W { GLITCH_FILT_EN_W::new(self, 8) } diff --git a/esp32c2/src/uart0/sleep_conf.rs b/esp32c2/src/uart0/sleep_conf.rs index 768d10da66..eda255981a 100644 --- a/esp32c2/src/uart0/sleep_conf.rs +++ b/esp32c2/src/uart0/sleep_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - The uart is activated from light sleeping mode when the input rxd edge changes more times than this register value."] #[inline(always)] - #[must_use] pub fn active_threshold(&mut self) -> ACTIVE_THRESHOLD_W { ACTIVE_THRESHOLD_W::new(self, 0) } diff --git a/esp32c2/src/uart0/swfc_conf0.rs b/esp32c2/src/uart0/swfc_conf0.rs index fd80f24ff6..08b28b0d28 100644 --- a/esp32c2/src/uart0/swfc_conf0.rs +++ b/esp32c2/src/uart0/swfc_conf0.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - When the data amount in Rx-FIFO is more than this register value with uart_sw_flow_con_en set to 1, it will send a Xoff char."] #[inline(always)] - #[must_use] pub fn xoff_threshold(&mut self) -> XOFF_THRESHOLD_W { XOFF_THRESHOLD_W::new(self, 0) } #[doc = "Bits 9:16 - This register stores the Xoff flow control char."] #[inline(always)] - #[must_use] pub fn xoff_char(&mut self) -> XOFF_CHAR_W { XOFF_CHAR_W::new(self, 9) } diff --git a/esp32c2/src/uart0/swfc_conf1.rs b/esp32c2/src/uart0/swfc_conf1.rs index 184f9a96b2..f67eb86f9f 100644 --- a/esp32c2/src/uart0/swfc_conf1.rs +++ b/esp32c2/src/uart0/swfc_conf1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - When the data amount in Rx-FIFO is less than this register value with uart_sw_flow_con_en set to 1, it will send a Xon char."] #[inline(always)] - #[must_use] pub fn xon_threshold(&mut self) -> XON_THRESHOLD_W { XON_THRESHOLD_W::new(self, 0) } #[doc = "Bits 9:16 - This register stores the Xon flow control char."] #[inline(always)] - #[must_use] pub fn xon_char(&mut self) -> XON_CHAR_W { XON_CHAR_W::new(self, 9) } diff --git a/esp32c2/src/uart0/txbrk_conf.rs b/esp32c2/src/uart0/txbrk_conf.rs index 3fd0ce2689..7772196638 100644 --- a/esp32c2/src/uart0/txbrk_conf.rs +++ b/esp32c2/src/uart0/txbrk_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register is used to configure the number of 0 to be sent after the process of sending data is done. It is active when txd_brk is set to 1."] #[inline(always)] - #[must_use] pub fn tx_brk_num(&mut self) -> TX_BRK_NUM_W { TX_BRK_NUM_W::new(self, 0) } diff --git a/esp32c2/src/xts_aes/date.rs b/esp32c2/src/xts_aes/date.rs index 84190b32b2..feb91ffcb6 100644 --- a/esp32c2/src/xts_aes/date.rs +++ b/esp32c2/src/xts_aes/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Those bits stores the version information of XTS-AES."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c2/src/xts_aes/destination.rs b/esp32c2/src/xts_aes/destination.rs index 06008d9b1b..3935c6ad3a 100644 --- a/esp32c2/src/xts_aes/destination.rs +++ b/esp32c2/src/xts_aes/destination.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit stores the destination. 0: flash(default). 1: reserved."] #[inline(always)] - #[must_use] pub fn destination(&mut self) -> DESTINATION_W { DESTINATION_W::new(self, 0) } diff --git a/esp32c2/src/xts_aes/destroy.rs b/esp32c2/src/xts_aes/destroy.rs index ebba4f7aea..60f6b0457b 100644 --- a/esp32c2/src/xts_aes/destroy.rs +++ b/esp32c2/src/xts_aes/destroy.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to destroy XTS-AES result."] #[inline(always)] - #[must_use] pub fn destroy(&mut self) -> DESTROY_W { DESTROY_W::new(self, 0) } diff --git a/esp32c2/src/xts_aes/linesize.rs b/esp32c2/src/xts_aes/linesize.rs index e87758d9d9..7bc159d2e4 100644 --- a/esp32c2/src/xts_aes/linesize.rs +++ b/esp32c2/src/xts_aes/linesize.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit stores the line size parameter. 0: 16Byte, 1: 32Byte."] #[inline(always)] - #[must_use] pub fn linesize(&mut self) -> LINESIZE_W { LINESIZE_W::new(self, 0) } diff --git a/esp32c2/src/xts_aes/physical_address.rs b/esp32c2/src/xts_aes/physical_address.rs index d6a6bef744..bc4d461696 100644 --- a/esp32c2/src/xts_aes/physical_address.rs +++ b/esp32c2/src/xts_aes/physical_address.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Those bits stores the physical address. If linesize is 16-byte, the physical address should be aligned of 16 bytes. If linesize is 32-byte, the physical address should be aligned of 32 bytes."] #[inline(always)] - #[must_use] pub fn physical_address(&mut self) -> PHYSICAL_ADDRESS_W { PHYSICAL_ADDRESS_W::new(self, 0) } diff --git a/esp32c2/src/xts_aes/release.rs b/esp32c2/src/xts_aes/release.rs index 7b9f25a36c..2748ecd975 100644 --- a/esp32c2/src/xts_aes/release.rs +++ b/esp32c2/src/xts_aes/release.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to release the manual encrypted result, after that the result will be visible to spi"] #[inline(always)] - #[must_use] pub fn release(&mut self) -> RELEASE_W { RELEASE_W::new(self, 0) } diff --git a/esp32c2/src/xts_aes/trigger.rs b/esp32c2/src/xts_aes/trigger.rs index 9abf921db3..a396a41530 100644 --- a/esp32c2/src/xts_aes/trigger.rs +++ b/esp32c2/src/xts_aes/trigger.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to start manual encryption calculation"] #[inline(always)] - #[must_use] pub fn trigger(&mut self) -> TRIGGER_W { TRIGGER_W::new(self, 0) } diff --git a/esp32c3/src/aes/aad_block_num.rs b/esp32c3/src/aes/aad_block_num.rs index 69251c94d2..709b31f828 100644 --- a/esp32c3/src/aes/aad_block_num.rs +++ b/esp32c3/src/aes/aad_block_num.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits stores the number of AAD block."] #[inline(always)] - #[must_use] pub fn aad_block_num(&mut self) -> AAD_BLOCK_NUM_W { AAD_BLOCK_NUM_W::new(self, 0) } diff --git a/esp32c3/src/aes/block_mode.rs b/esp32c3/src/aes/block_mode.rs index cb38ed2b65..a386bf1185 100644 --- a/esp32c3/src/aes/block_mode.rs +++ b/esp32c3/src/aes/block_mode.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - Those bits decides which block mode will be used. 0x0: ECB, 0x1: CBC, 0x2: OFB, 0x3: CTR, 0x4: CFB-8, 0x5: CFB-128, 0x6: GCM, 0x7: reserved."] #[inline(always)] - #[must_use] pub fn block_mode(&mut self) -> BLOCK_MODE_W { BLOCK_MODE_W::new(self, 0) } diff --git a/esp32c3/src/aes/block_num.rs b/esp32c3/src/aes/block_num.rs index 5c3719085a..35478ff441 100644 --- a/esp32c3/src/aes/block_num.rs +++ b/esp32c3/src/aes/block_num.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits stores the number of Plaintext/ciphertext block."] #[inline(always)] - #[must_use] pub fn block_num(&mut self) -> BLOCK_NUM_W { BLOCK_NUM_W::new(self, 0) } diff --git a/esp32c3/src/aes/continue_.rs b/esp32c3/src/aes/continue_.rs index 13d71cf7a9..daf54fcf09 100644 --- a/esp32c3/src/aes/continue_.rs +++ b/esp32c3/src/aes/continue_.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to continue GCM operation."] #[inline(always)] - #[must_use] pub fn continue_(&mut self) -> CONTINUE_W { CONTINUE_W::new(self, 0) } diff --git a/esp32c3/src/aes/date.rs b/esp32c3/src/aes/date.rs index 2b4485b861..c860c6be83 100644 --- a/esp32c3/src/aes/date.rs +++ b/esp32c3/src/aes/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - This bits stores the version information of AES."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c3/src/aes/dma_enable.rs b/esp32c3/src/aes/dma_enable.rs index 760df2c252..590c271a3e 100644 --- a/esp32c3/src/aes/dma_enable.rs +++ b/esp32c3/src/aes/dma_enable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1'b0: typical AES working mode, 1'b1: DMA-AES working mode."] #[inline(always)] - #[must_use] pub fn dma_enable(&mut self) -> DMA_ENABLE_W { DMA_ENABLE_W::new(self, 0) } diff --git a/esp32c3/src/aes/dma_exit.rs b/esp32c3/src/aes/dma_exit.rs index 5e0e6b4557..8dc4b24b6b 100644 --- a/esp32c3/src/aes/dma_exit.rs +++ b/esp32c3/src/aes/dma_exit.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this register to leave calculation done stage. Recommend to use it after software finishes reading DMA's output buffer."] #[inline(always)] - #[must_use] pub fn dma_exit(&mut self) -> DMA_EXIT_W { DMA_EXIT_W::new(self, 0) } diff --git a/esp32c3/src/aes/endian.rs b/esp32c3/src/aes/endian.rs index 24c40ced4a..dbaf10f41a 100644 --- a/esp32c3/src/aes/endian.rs +++ b/esp32c3/src/aes/endian.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - endian. \\[1:0\\] key endian, \\[3:2\\] text_in endian or in_stream endian, \\[5:4\\] text_out endian or out_stream endian"] #[inline(always)] - #[must_use] pub fn endian(&mut self) -> ENDIAN_W { ENDIAN_W::new(self, 0) } diff --git a/esp32c3/src/aes/inc_sel.rs b/esp32c3/src/aes/inc_sel.rs index 5ea62fcf85..00027a27c8 100644 --- a/esp32c3/src/aes/inc_sel.rs +++ b/esp32c3/src/aes/inc_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit decides the standard incrementing function. 0: INC32. 1: INC128."] #[inline(always)] - #[must_use] pub fn inc_sel(&mut self) -> INC_SEL_W { INC_SEL_W::new(self, 0) } diff --git a/esp32c3/src/aes/int_clr.rs b/esp32c3/src/aes/int_clr.rs index 3f2368572b..30ecad239a 100644 --- a/esp32c3/src/aes/int_clr.rs +++ b/esp32c3/src/aes/int_clr.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the AES interrupt."] #[inline(always)] - #[must_use] pub fn int_clr(&mut self) -> INT_CLR_W { INT_CLR_W::new(self, 0) } diff --git a/esp32c3/src/aes/int_ena.rs b/esp32c3/src/aes/int_ena.rs index 500f071796..c4a6a34927 100644 --- a/esp32c3/src/aes/int_ena.rs +++ b/esp32c3/src/aes/int_ena.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable interrupt that occurs when DMA-AES calculation is done."] #[inline(always)] - #[must_use] pub fn int_ena(&mut self) -> INT_ENA_W { INT_ENA_W::new(self, 0) } diff --git a/esp32c3/src/aes/key.rs b/esp32c3/src/aes/key.rs index 00e0561287..afe084e3bb 100644 --- a/esp32c3/src/aes/key.rs +++ b/esp32c3/src/aes/key.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This bits stores key_0 that is a part of key material."] #[inline(always)] - #[must_use] pub fn key(&mut self) -> KEY_W { KEY_W::new(self, 0) } diff --git a/esp32c3/src/aes/mode.rs b/esp32c3/src/aes/mode.rs index bad1d86223..66f978745b 100644 --- a/esp32c3/src/aes/mode.rs +++ b/esp32c3/src/aes/mode.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - This bits decides which one operation mode will be used. 3'd0: AES-EN-128, 3'd1: AES-EN-192, 3'd2: AES-EN-256, 3'd4: AES-DE-128, 3'd5: AES-DE-192, 3'd6: AES-DE-256."] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 0) } diff --git a/esp32c3/src/aes/remainder_bit_num.rs b/esp32c3/src/aes/remainder_bit_num.rs index c2a124ab9e..3f20adbc9f 100644 --- a/esp32c3/src/aes/remainder_bit_num.rs +++ b/esp32c3/src/aes/remainder_bit_num.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Those bits stores the number of remainder bit."] #[inline(always)] - #[must_use] pub fn remainder_bit_num(&mut self) -> REMAINDER_BIT_NUM_W { REMAINDER_BIT_NUM_W::new(self, 0) } diff --git a/esp32c3/src/aes/text_in.rs b/esp32c3/src/aes/text_in.rs index 18631b63aa..9d22eaffa8 100644 --- a/esp32c3/src/aes/text_in.rs +++ b/esp32c3/src/aes/text_in.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This bits stores text_in_0 that is a part of source text material."] #[inline(always)] - #[must_use] pub fn text_in(&mut self) -> TEXT_IN_W { TEXT_IN_W::new(self, 0) } diff --git a/esp32c3/src/aes/text_out.rs b/esp32c3/src/aes/text_out.rs index e1028d5d06..44471c9f00 100644 --- a/esp32c3/src/aes/text_out.rs +++ b/esp32c3/src/aes/text_out.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This bits stores text_out_0 that is a part of result text material."] #[inline(always)] - #[must_use] pub fn text_out(&mut self) -> TEXT_OUT_W { TEXT_OUT_W::new(self, 0) } diff --git a/esp32c3/src/aes/trigger.rs b/esp32c3/src/aes/trigger.rs index 1b80d9df09..642626d867 100644 --- a/esp32c3/src/aes/trigger.rs +++ b/esp32c3/src/aes/trigger.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to start AES calculation."] #[inline(always)] - #[must_use] pub fn trigger(&mut self) -> TRIGGER_W { TRIGGER_W::new(self, 0) } diff --git a/esp32c3/src/apb_ctrl/clk_out_en.rs b/esp32c3/src/apb_ctrl/clk_out_en.rs index 671172c009..92a07909e5 100644 --- a/esp32c3/src/apb_ctrl/clk_out_en.rs +++ b/esp32c3/src/apb_ctrl/clk_out_en.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_clk20_oen"] #[inline(always)] - #[must_use] pub fn clk20_oen(&mut self) -> CLK20_OEN_W { CLK20_OEN_W::new(self, 0) } #[doc = "Bit 1 - reg_clk22_oen"] #[inline(always)] - #[must_use] pub fn clk22_oen(&mut self) -> CLK22_OEN_W { CLK22_OEN_W::new(self, 1) } #[doc = "Bit 2 - reg_clk44_oen"] #[inline(always)] - #[must_use] pub fn clk44_oen(&mut self) -> CLK44_OEN_W { CLK44_OEN_W::new(self, 2) } #[doc = "Bit 3 - reg_clk_bb_oen"] #[inline(always)] - #[must_use] pub fn clk_bb_oen(&mut self) -> CLK_BB_OEN_W { CLK_BB_OEN_W::new(self, 3) } #[doc = "Bit 4 - reg_clk80_oen"] #[inline(always)] - #[must_use] pub fn clk80_oen(&mut self) -> CLK80_OEN_W { CLK80_OEN_W::new(self, 4) } #[doc = "Bit 5 - reg_clk160_oen"] #[inline(always)] - #[must_use] pub fn clk160_oen(&mut self) -> CLK160_OEN_W { CLK160_OEN_W::new(self, 5) } #[doc = "Bit 6 - reg_clk_320m_oen"] #[inline(always)] - #[must_use] pub fn clk_320m_oen(&mut self) -> CLK_320M_OEN_W { CLK_320M_OEN_W::new(self, 6) } #[doc = "Bit 7 - reg_clk_adc_inf_oen"] #[inline(always)] - #[must_use] pub fn clk_adc_inf_oen(&mut self) -> CLK_ADC_INF_OEN_W { CLK_ADC_INF_OEN_W::new(self, 7) } #[doc = "Bit 8 - reg_clk_dac_cpu_oen"] #[inline(always)] - #[must_use] pub fn clk_dac_cpu_oen(&mut self) -> CLK_DAC_CPU_OEN_W { CLK_DAC_CPU_OEN_W::new(self, 8) } #[doc = "Bit 9 - reg_clk40x_bb_oen"] #[inline(always)] - #[must_use] pub fn clk40x_bb_oen(&mut self) -> CLK40X_BB_OEN_W { CLK40X_BB_OEN_W::new(self, 9) } #[doc = "Bit 10 - reg_clk_xtal_oen"] #[inline(always)] - #[must_use] pub fn clk_xtal_oen(&mut self) -> CLK_XTAL_OEN_W { CLK_XTAL_OEN_W::new(self, 10) } diff --git a/esp32c3/src/apb_ctrl/clkgate_force_on.rs b/esp32c3/src/apb_ctrl/clkgate_force_on.rs index e61116a777..a84b97549b 100644 --- a/esp32c3/src/apb_ctrl/clkgate_force_on.rs +++ b/esp32c3/src/apb_ctrl/clkgate_force_on.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - reg_rom_clkgate_force_on"] #[inline(always)] - #[must_use] pub fn rom_clkgate_force_on(&mut self) -> ROM_CLKGATE_FORCE_ON_W { ROM_CLKGATE_FORCE_ON_W::new(self, 0) } #[doc = "Bits 2:5 - reg_sram_clkgate_force_on"] #[inline(always)] - #[must_use] pub fn sram_clkgate_force_on(&mut self) -> SRAM_CLKGATE_FORCE_ON_W { SRAM_CLKGATE_FORCE_ON_W::new(self, 2) } diff --git a/esp32c3/src/apb_ctrl/date.rs b/esp32c3/src/apb_ctrl/date.rs index c7115a509d..54362393bd 100644 --- a/esp32c3/src/apb_ctrl/date.rs +++ b/esp32c3/src/apb_ctrl/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_dateVersion control"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c3/src/apb_ctrl/ext_mem_pms_lock.rs b/esp32c3/src/apb_ctrl/ext_mem_pms_lock.rs index f0055f41cd..7c89e8f3af 100644 --- a/esp32c3/src/apb_ctrl/ext_mem_pms_lock.rs +++ b/esp32c3/src/apb_ctrl/ext_mem_pms_lock.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_ext_mem_pms_lock"] #[inline(always)] - #[must_use] pub fn ext_mem_pms_lock(&mut self) -> EXT_MEM_PMS_LOCK_W { EXT_MEM_PMS_LOCK_W::new(self, 0) } diff --git a/esp32c3/src/apb_ctrl/flash_ace0_addr.rs b/esp32c3/src/apb_ctrl/flash_ace0_addr.rs index 184f048711..2c3f429b0e 100644 --- a/esp32c3/src/apb_ctrl/flash_ace0_addr.rs +++ b/esp32c3/src/apb_ctrl/flash_ace0_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_flash_ace0_addr_s"] #[inline(always)] - #[must_use] pub fn s(&mut self) -> S_W { S_W::new(self, 0) } diff --git a/esp32c3/src/apb_ctrl/flash_ace0_attr.rs b/esp32c3/src/apb_ctrl/flash_ace0_attr.rs index f237f22c0a..b7f2af0b7a 100644 --- a/esp32c3/src/apb_ctrl/flash_ace0_attr.rs +++ b/esp32c3/src/apb_ctrl/flash_ace0_attr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - reg_flash_ace0_attr"] #[inline(always)] - #[must_use] pub fn flash_ace0_attr(&mut self) -> FLASH_ACE0_ATTR_W { FLASH_ACE0_ATTR_W::new(self, 0) } diff --git a/esp32c3/src/apb_ctrl/flash_ace0_size.rs b/esp32c3/src/apb_ctrl/flash_ace0_size.rs index b9ca19e317..3ba8814a09 100644 --- a/esp32c3/src/apb_ctrl/flash_ace0_size.rs +++ b/esp32c3/src/apb_ctrl/flash_ace0_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:12 - reg_flash_ace0_size"] #[inline(always)] - #[must_use] pub fn flash_ace0_size(&mut self) -> FLASH_ACE0_SIZE_W { FLASH_ACE0_SIZE_W::new(self, 0) } diff --git a/esp32c3/src/apb_ctrl/flash_ace1_addr.rs b/esp32c3/src/apb_ctrl/flash_ace1_addr.rs index 7c4563c668..c2da331514 100644 --- a/esp32c3/src/apb_ctrl/flash_ace1_addr.rs +++ b/esp32c3/src/apb_ctrl/flash_ace1_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_flash_ace1_addr_s"] #[inline(always)] - #[must_use] pub fn s(&mut self) -> S_W { S_W::new(self, 0) } diff --git a/esp32c3/src/apb_ctrl/flash_ace1_attr.rs b/esp32c3/src/apb_ctrl/flash_ace1_attr.rs index 6416f8bcea..fddf50bcd6 100644 --- a/esp32c3/src/apb_ctrl/flash_ace1_attr.rs +++ b/esp32c3/src/apb_ctrl/flash_ace1_attr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - reg_flash_ace1_attr"] #[inline(always)] - #[must_use] pub fn flash_ace1_attr(&mut self) -> FLASH_ACE1_ATTR_W { FLASH_ACE1_ATTR_W::new(self, 0) } diff --git a/esp32c3/src/apb_ctrl/flash_ace1_size.rs b/esp32c3/src/apb_ctrl/flash_ace1_size.rs index eb87c6a29a..bc988c9764 100644 --- a/esp32c3/src/apb_ctrl/flash_ace1_size.rs +++ b/esp32c3/src/apb_ctrl/flash_ace1_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:12 - reg_flash_ace1_size"] #[inline(always)] - #[must_use] pub fn flash_ace1_size(&mut self) -> FLASH_ACE1_SIZE_W { FLASH_ACE1_SIZE_W::new(self, 0) } diff --git a/esp32c3/src/apb_ctrl/flash_ace2_addr.rs b/esp32c3/src/apb_ctrl/flash_ace2_addr.rs index 741f239f8b..32a62fef36 100644 --- a/esp32c3/src/apb_ctrl/flash_ace2_addr.rs +++ b/esp32c3/src/apb_ctrl/flash_ace2_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_flash_ace2_addr_s"] #[inline(always)] - #[must_use] pub fn s(&mut self) -> S_W { S_W::new(self, 0) } diff --git a/esp32c3/src/apb_ctrl/flash_ace2_attr.rs b/esp32c3/src/apb_ctrl/flash_ace2_attr.rs index 67033ecc9c..3751e8f833 100644 --- a/esp32c3/src/apb_ctrl/flash_ace2_attr.rs +++ b/esp32c3/src/apb_ctrl/flash_ace2_attr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - reg_flash_ace2_attr"] #[inline(always)] - #[must_use] pub fn flash_ace2_attr(&mut self) -> FLASH_ACE2_ATTR_W { FLASH_ACE2_ATTR_W::new(self, 0) } diff --git a/esp32c3/src/apb_ctrl/flash_ace2_size.rs b/esp32c3/src/apb_ctrl/flash_ace2_size.rs index 97183dbc31..b73b7fb5a8 100644 --- a/esp32c3/src/apb_ctrl/flash_ace2_size.rs +++ b/esp32c3/src/apb_ctrl/flash_ace2_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:12 - reg_flash_ace2_size"] #[inline(always)] - #[must_use] pub fn flash_ace2_size(&mut self) -> FLASH_ACE2_SIZE_W { FLASH_ACE2_SIZE_W::new(self, 0) } diff --git a/esp32c3/src/apb_ctrl/flash_ace3_addr.rs b/esp32c3/src/apb_ctrl/flash_ace3_addr.rs index e22be62231..d1acab074c 100644 --- a/esp32c3/src/apb_ctrl/flash_ace3_addr.rs +++ b/esp32c3/src/apb_ctrl/flash_ace3_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_flash_ace3_addr_s"] #[inline(always)] - #[must_use] pub fn s(&mut self) -> S_W { S_W::new(self, 0) } diff --git a/esp32c3/src/apb_ctrl/flash_ace3_attr.rs b/esp32c3/src/apb_ctrl/flash_ace3_attr.rs index eee6876bc7..09de7864b5 100644 --- a/esp32c3/src/apb_ctrl/flash_ace3_attr.rs +++ b/esp32c3/src/apb_ctrl/flash_ace3_attr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - reg_flash_ace3_attr"] #[inline(always)] - #[must_use] pub fn flash_ace3_attr(&mut self) -> FLASH_ACE3_ATTR_W { FLASH_ACE3_ATTR_W::new(self, 0) } diff --git a/esp32c3/src/apb_ctrl/flash_ace3_size.rs b/esp32c3/src/apb_ctrl/flash_ace3_size.rs index a2054c3846..59a27b9bee 100644 --- a/esp32c3/src/apb_ctrl/flash_ace3_size.rs +++ b/esp32c3/src/apb_ctrl/flash_ace3_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:12 - reg_flash_ace3_size"] #[inline(always)] - #[must_use] pub fn flash_ace3_size(&mut self) -> FLASH_ACE3_SIZE_W { FLASH_ACE3_SIZE_W::new(self, 0) } diff --git a/esp32c3/src/apb_ctrl/front_end_mem_pd.rs b/esp32c3/src/apb_ctrl/front_end_mem_pd.rs index 4283d5e65c..f8436fb6ae 100644 --- a/esp32c3/src/apb_ctrl/front_end_mem_pd.rs +++ b/esp32c3/src/apb_ctrl/front_end_mem_pd.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_agc_mem_force_pu"] #[inline(always)] - #[must_use] pub fn agc_mem_force_pu(&mut self) -> AGC_MEM_FORCE_PU_W { AGC_MEM_FORCE_PU_W::new(self, 0) } #[doc = "Bit 1 - reg_agc_mem_force_pd"] #[inline(always)] - #[must_use] pub fn agc_mem_force_pd(&mut self) -> AGC_MEM_FORCE_PD_W { AGC_MEM_FORCE_PD_W::new(self, 1) } #[doc = "Bit 2 - reg_pbus_mem_force_pu"] #[inline(always)] - #[must_use] pub fn pbus_mem_force_pu(&mut self) -> PBUS_MEM_FORCE_PU_W { PBUS_MEM_FORCE_PU_W::new(self, 2) } #[doc = "Bit 3 - reg_pbus_mem_force_pd"] #[inline(always)] - #[must_use] pub fn pbus_mem_force_pd(&mut self) -> PBUS_MEM_FORCE_PD_W { PBUS_MEM_FORCE_PD_W::new(self, 3) } #[doc = "Bit 4 - reg_dc_mem_force_pu"] #[inline(always)] - #[must_use] pub fn dc_mem_force_pu(&mut self) -> DC_MEM_FORCE_PU_W { DC_MEM_FORCE_PU_W::new(self, 4) } #[doc = "Bit 5 - reg_dc_mem_force_pd"] #[inline(always)] - #[must_use] pub fn dc_mem_force_pd(&mut self) -> DC_MEM_FORCE_PD_W { DC_MEM_FORCE_PD_W::new(self, 5) } diff --git a/esp32c3/src/apb_ctrl/host_inf_sel.rs b/esp32c3/src/apb_ctrl/host_inf_sel.rs index 2a9ed05286..02affa601f 100644 --- a/esp32c3/src/apb_ctrl/host_inf_sel.rs +++ b/esp32c3/src/apb_ctrl/host_inf_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - reg_peri_io_swap"] #[inline(always)] - #[must_use] pub fn peri_io_swap(&mut self) -> PERI_IO_SWAP_W { PERI_IO_SWAP_W::new(self, 0) } diff --git a/esp32c3/src/apb_ctrl/mem_power_down.rs b/esp32c3/src/apb_ctrl/mem_power_down.rs index dcf6657bf0..c54ecca272 100644 --- a/esp32c3/src/apb_ctrl/mem_power_down.rs +++ b/esp32c3/src/apb_ctrl/mem_power_down.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - reg_rom_power_down"] #[inline(always)] - #[must_use] pub fn rom_power_down(&mut self) -> ROM_POWER_DOWN_W { ROM_POWER_DOWN_W::new(self, 0) } #[doc = "Bits 2:5 - reg_sram_power_down"] #[inline(always)] - #[must_use] pub fn sram_power_down(&mut self) -> SRAM_POWER_DOWN_W { SRAM_POWER_DOWN_W::new(self, 2) } diff --git a/esp32c3/src/apb_ctrl/mem_power_up.rs b/esp32c3/src/apb_ctrl/mem_power_up.rs index 1af7c09b1b..bc8ad43d04 100644 --- a/esp32c3/src/apb_ctrl/mem_power_up.rs +++ b/esp32c3/src/apb_ctrl/mem_power_up.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - reg_rom_power_up"] #[inline(always)] - #[must_use] pub fn rom_power_up(&mut self) -> ROM_POWER_UP_W { ROM_POWER_UP_W::new(self, 0) } #[doc = "Bits 2:5 - reg_sram_power_up"] #[inline(always)] - #[must_use] pub fn sram_power_up(&mut self) -> SRAM_POWER_UP_W { SRAM_POWER_UP_W::new(self, 2) } diff --git a/esp32c3/src/apb_ctrl/peri_backup_apb_addr.rs b/esp32c3/src/apb_ctrl/peri_backup_apb_addr.rs index df70db926a..5f99c212aa 100644 --- a/esp32c3/src/apb_ctrl/peri_backup_apb_addr.rs +++ b/esp32c3/src/apb_ctrl/peri_backup_apb_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_backup_apb_start_addr"] #[inline(always)] - #[must_use] pub fn backup_apb_start_addr(&mut self) -> BACKUP_APB_START_ADDR_W { BACKUP_APB_START_ADDR_W::new(self, 0) } diff --git a/esp32c3/src/apb_ctrl/peri_backup_config.rs b/esp32c3/src/apb_ctrl/peri_backup_config.rs index 48668b46d0..705c7cb937 100644 --- a/esp32c3/src/apb_ctrl/peri_backup_config.rs +++ b/esp32c3/src/apb_ctrl/peri_backup_config.rs @@ -74,7 +74,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 4:8 - reg_peri_backup_burst_limit"] #[inline(always)] - #[must_use] pub fn peri_backup_burst_limit( &mut self, ) -> PERI_BACKUP_BURST_LIMIT_W { @@ -82,31 +81,26 @@ impl W { } #[doc = "Bits 9:18 - reg_peri_backup_tout_thres"] #[inline(always)] - #[must_use] pub fn peri_backup_tout_thres(&mut self) -> PERI_BACKUP_TOUT_THRES_W { PERI_BACKUP_TOUT_THRES_W::new(self, 9) } #[doc = "Bits 19:28 - reg_peri_backup_size"] #[inline(always)] - #[must_use] pub fn peri_backup_size(&mut self) -> PERI_BACKUP_SIZE_W { PERI_BACKUP_SIZE_W::new(self, 19) } #[doc = "Bit 29 - reg_peri_backup_start"] #[inline(always)] - #[must_use] pub fn peri_backup_start(&mut self) -> PERI_BACKUP_START_W { PERI_BACKUP_START_W::new(self, 29) } #[doc = "Bit 30 - reg_peri_backup_to_mem"] #[inline(always)] - #[must_use] pub fn peri_backup_to_mem(&mut self) -> PERI_BACKUP_TO_MEM_W { PERI_BACKUP_TO_MEM_W::new(self, 30) } #[doc = "Bit 31 - reg_peri_backup_ena"] #[inline(always)] - #[must_use] pub fn peri_backup_ena(&mut self) -> PERI_BACKUP_ENA_W { PERI_BACKUP_ENA_W::new(self, 31) } diff --git a/esp32c3/src/apb_ctrl/peri_backup_int_clr.rs b/esp32c3/src/apb_ctrl/peri_backup_int_clr.rs index 60c0a28670..dfdc1fd089 100644 --- a/esp32c3/src/apb_ctrl/peri_backup_int_clr.rs +++ b/esp32c3/src/apb_ctrl/peri_backup_int_clr.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - reg_peri_backup_done_int_clr"] #[inline(always)] - #[must_use] pub fn done(&mut self) -> DONE_W { DONE_W::new(self, 0) } #[doc = "Bit 1 - reg_peri_backup_err_int_clr"] #[inline(always)] - #[must_use] pub fn err(&mut self) -> ERR_W { ERR_W::new(self, 1) } diff --git a/esp32c3/src/apb_ctrl/peri_backup_int_ena.rs b/esp32c3/src/apb_ctrl/peri_backup_int_ena.rs index 25e8fe488b..f519a3511c 100644 --- a/esp32c3/src/apb_ctrl/peri_backup_int_ena.rs +++ b/esp32c3/src/apb_ctrl/peri_backup_int_ena.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_peri_backup_done_int_ena"] #[inline(always)] - #[must_use] pub fn done(&mut self) -> DONE_W { DONE_W::new(self, 0) } #[doc = "Bit 1 - reg_peri_backup_err_int_ena"] #[inline(always)] - #[must_use] pub fn err(&mut self) -> ERR_W { ERR_W::new(self, 1) } diff --git a/esp32c3/src/apb_ctrl/peri_backup_mem_addr.rs b/esp32c3/src/apb_ctrl/peri_backup_mem_addr.rs index 4d2c923a04..558e67f732 100644 --- a/esp32c3/src/apb_ctrl/peri_backup_mem_addr.rs +++ b/esp32c3/src/apb_ctrl/peri_backup_mem_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_backup_mem_start_addr"] #[inline(always)] - #[must_use] pub fn backup_mem_start_addr(&mut self) -> BACKUP_MEM_START_ADDR_W { BACKUP_MEM_START_ADDR_W::new(self, 0) } diff --git a/esp32c3/src/apb_ctrl/redcy_sig0.rs b/esp32c3/src/apb_ctrl/redcy_sig0.rs index a08d90f7a0..34c8cffb26 100644 --- a/esp32c3/src/apb_ctrl/redcy_sig0.rs +++ b/esp32c3/src/apb_ctrl/redcy_sig0.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - reg_redcy_sig0"] #[inline(always)] - #[must_use] pub fn redcy_sig0(&mut self) -> REDCY_SIG0_W { REDCY_SIG0_W::new(self, 0) } diff --git a/esp32c3/src/apb_ctrl/redcy_sig1.rs b/esp32c3/src/apb_ctrl/redcy_sig1.rs index 45797ee949..4a26cbdbbe 100644 --- a/esp32c3/src/apb_ctrl/redcy_sig1.rs +++ b/esp32c3/src/apb_ctrl/redcy_sig1.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - reg_redcy_sig1"] #[inline(always)] - #[must_use] pub fn redcy_sig1(&mut self) -> REDCY_SIG1_W { REDCY_SIG1_W::new(self, 0) } diff --git a/esp32c3/src/apb_ctrl/retention_ctrl.rs b/esp32c3/src/apb_ctrl/retention_ctrl.rs index 34f4ad65ab..f0c25b0299 100644 --- a/esp32c3/src/apb_ctrl/retention_ctrl.rs +++ b/esp32c3/src/apb_ctrl/retention_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:26 - reg_retention_link_addr"] #[inline(always)] - #[must_use] pub fn retention_link_addr(&mut self) -> RETENTION_LINK_ADDR_W { RETENTION_LINK_ADDR_W::new(self, 0) } #[doc = "Bit 27 - reg_nobypass_cpu_iso_rst"] #[inline(always)] - #[must_use] pub fn nobypass_cpu_iso_rst(&mut self) -> NOBYPASS_CPU_ISO_RST_W { NOBYPASS_CPU_ISO_RST_W::new(self, 27) } diff --git a/esp32c3/src/apb_ctrl/sdio_ctrl.rs b/esp32c3/src/apb_ctrl/sdio_ctrl.rs index ef20d5617d..15d121ce10 100644 --- a/esp32c3/src/apb_ctrl/sdio_ctrl.rs +++ b/esp32c3/src/apb_ctrl/sdio_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_sdio_win_access_en"] #[inline(always)] - #[must_use] pub fn sdio_win_access_en(&mut self) -> SDIO_WIN_ACCESS_EN_W { SDIO_WIN_ACCESS_EN_W::new(self, 0) } diff --git a/esp32c3/src/apb_ctrl/spi_mem_pms_ctrl.rs b/esp32c3/src/apb_ctrl/spi_mem_pms_ctrl.rs index 2b55729003..b2bf483848 100644 --- a/esp32c3/src/apb_ctrl/spi_mem_pms_ctrl.rs +++ b/esp32c3/src/apb_ctrl/spi_mem_pms_ctrl.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - reg_spi_mem_reject_clr"] #[inline(always)] - #[must_use] pub fn spi_mem_reject_clr(&mut self) -> SPI_MEM_REJECT_CLR_W { SPI_MEM_REJECT_CLR_W::new(self, 1) } diff --git a/esp32c3/src/apb_ctrl/sysclk_conf.rs b/esp32c3/src/apb_ctrl/sysclk_conf.rs index 582dbe2f20..6cadd9940a 100644 --- a/esp32c3/src/apb_ctrl/sysclk_conf.rs +++ b/esp32c3/src/apb_ctrl/sysclk_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - reg_pre_div_cnt"] #[inline(always)] - #[must_use] pub fn pre_div_cnt(&mut self) -> PRE_DIV_CNT_W { PRE_DIV_CNT_W::new(self, 0) } #[doc = "Bit 10 - reg_clk_320m_en"] #[inline(always)] - #[must_use] pub fn clk_320m_en(&mut self) -> CLK_320M_EN_W { CLK_320M_EN_W::new(self, 10) } #[doc = "Bit 11 - reg_clk_en"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 11) } #[doc = "Bit 12 - reg_rst_tick_cnt"] #[inline(always)] - #[must_use] pub fn rst_tick_cnt(&mut self) -> RST_TICK_CNT_W { RST_TICK_CNT_W::new(self, 12) } diff --git a/esp32c3/src/apb_ctrl/tick_conf.rs b/esp32c3/src/apb_ctrl/tick_conf.rs index ab7f3b1483..201290a8c8 100644 --- a/esp32c3/src/apb_ctrl/tick_conf.rs +++ b/esp32c3/src/apb_ctrl/tick_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - reg_xtal_tick_num"] #[inline(always)] - #[must_use] pub fn xtal_tick_num(&mut self) -> XTAL_TICK_NUM_W { XTAL_TICK_NUM_W::new(self, 0) } #[doc = "Bits 8:15 - reg_ck8m_tick_num"] #[inline(always)] - #[must_use] pub fn ck8m_tick_num(&mut self) -> CK8M_TICK_NUM_W { CK8M_TICK_NUM_W::new(self, 8) } #[doc = "Bit 16 - reg_tick_enable"] #[inline(always)] - #[must_use] pub fn tick_enable(&mut self) -> TICK_ENABLE_W { TICK_ENABLE_W::new(self, 16) } diff --git a/esp32c3/src/apb_ctrl/wifi_bb_cfg.rs b/esp32c3/src/apb_ctrl/wifi_bb_cfg.rs index 177a2687c7..49353e9704 100644 --- a/esp32c3/src/apb_ctrl/wifi_bb_cfg.rs +++ b/esp32c3/src/apb_ctrl/wifi_bb_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_wifi_bb_cfg"] #[inline(always)] - #[must_use] pub fn wifi_bb_cfg(&mut self) -> WIFI_BB_CFG_W { WIFI_BB_CFG_W::new(self, 0) } diff --git a/esp32c3/src/apb_ctrl/wifi_bb_cfg_2.rs b/esp32c3/src/apb_ctrl/wifi_bb_cfg_2.rs index 897b9119b7..55e95771dc 100644 --- a/esp32c3/src/apb_ctrl/wifi_bb_cfg_2.rs +++ b/esp32c3/src/apb_ctrl/wifi_bb_cfg_2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_wifi_bb_cfg_2"] #[inline(always)] - #[must_use] pub fn wifi_bb_cfg_2(&mut self) -> WIFI_BB_CFG_2_W { WIFI_BB_CFG_2_W::new(self, 0) } diff --git a/esp32c3/src/apb_ctrl/wifi_clk_en.rs b/esp32c3/src/apb_ctrl/wifi_clk_en.rs index f247ae2564..4d57cb6c62 100644 --- a/esp32c3/src/apb_ctrl/wifi_clk_en.rs +++ b/esp32c3/src/apb_ctrl/wifi_clk_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_wifi_clk_en"] #[inline(always)] - #[must_use] pub fn wifi_clk_en(&mut self) -> WIFI_CLK_EN_W { WIFI_CLK_EN_W::new(self, 0) } diff --git a/esp32c3/src/apb_ctrl/wifi_rst_en.rs b/esp32c3/src/apb_ctrl/wifi_rst_en.rs index 2a703fe0e9..9c237d8d59 100644 --- a/esp32c3/src/apb_ctrl/wifi_rst_en.rs +++ b/esp32c3/src/apb_ctrl/wifi_rst_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_wifi_rst"] #[inline(always)] - #[must_use] pub fn wifi_rst(&mut self) -> WIFI_RST_W { WIFI_RST_W::new(self, 0) } diff --git a/esp32c3/src/apb_saradc/arb_ctrl.rs b/esp32c3/src/apb_saradc/arb_ctrl.rs index f0576641cb..2b5c60ee94 100644 --- a/esp32c3/src/apb_saradc/arb_ctrl.rs +++ b/esp32c3/src/apb_saradc/arb_ctrl.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - adc2 arbiter force to enableapb controller"] #[inline(always)] - #[must_use] pub fn apb_force(&mut self) -> APB_FORCE_W { APB_FORCE_W::new(self, 2) } #[doc = "Bit 3 - adc2 arbiter force to enable rtc controller"] #[inline(always)] - #[must_use] pub fn rtc_force(&mut self) -> RTC_FORCE_W { RTC_FORCE_W::new(self, 3) } #[doc = "Bit 4 - adc2 arbiter force to enable wifi controller"] #[inline(always)] - #[must_use] pub fn wifi_force(&mut self) -> WIFI_FORCE_W { WIFI_FORCE_W::new(self, 4) } #[doc = "Bit 5 - adc2 arbiter force grant"] #[inline(always)] - #[must_use] pub fn grant_force(&mut self) -> GRANT_FORCE_W { GRANT_FORCE_W::new(self, 5) } #[doc = "Bits 6:7 - Set adc2 arbiterapb priority"] #[inline(always)] - #[must_use] pub fn apb_priority(&mut self) -> APB_PRIORITY_W { APB_PRIORITY_W::new(self, 6) } #[doc = "Bits 8:9 - Set adc2 arbiter rtc priority"] #[inline(always)] - #[must_use] pub fn rtc_priority(&mut self) -> RTC_PRIORITY_W { RTC_PRIORITY_W::new(self, 8) } #[doc = "Bits 10:11 - Set adc2 arbiter wifi priority"] #[inline(always)] - #[must_use] pub fn wifi_priority(&mut self) -> WIFI_PRIORITY_W { WIFI_PRIORITY_W::new(self, 10) } #[doc = "Bit 12 - adc2 arbiter uses fixed priority"] #[inline(always)] - #[must_use] pub fn fix_priority(&mut self) -> FIX_PRIORITY_W { FIX_PRIORITY_W::new(self, 12) } diff --git a/esp32c3/src/apb_saradc/cali.rs b/esp32c3/src/apb_saradc/cali.rs index 28a6e84542..3d7bf9a574 100644 --- a/esp32c3/src/apb_saradc/cali.rs +++ b/esp32c3/src/apb_saradc/cali.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:16 - saradc cali factor"] #[inline(always)] - #[must_use] pub fn cfg(&mut self) -> CFG_W { CFG_W::new(self, 0) } diff --git a/esp32c3/src/apb_saradc/clkm_conf.rs b/esp32c3/src/apb_saradc/clkm_conf.rs index bad3d2a349..0fdb1abe44 100644 --- a/esp32c3/src/apb_saradc/clkm_conf.rs +++ b/esp32c3/src/apb_saradc/clkm_conf.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Integral I2S clock divider value"] #[inline(always)] - #[must_use] pub fn clkm_div_num(&mut self) -> CLKM_DIV_NUM_W { CLKM_DIV_NUM_W::new(self, 0) } #[doc = "Bits 8:13 - Fractional clock divider numerator value"] #[inline(always)] - #[must_use] pub fn clkm_div_b(&mut self) -> CLKM_DIV_B_W { CLKM_DIV_B_W::new(self, 8) } #[doc = "Bits 14:19 - Fractional clock divider denominator value"] #[inline(always)] - #[must_use] pub fn clkm_div_a(&mut self) -> CLKM_DIV_A_W { CLKM_DIV_A_W::new(self, 14) } #[doc = "Bit 20 - reg clk en"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 20) } #[doc = "Bits 21:22 - Set this bit to enable clk_apll"] #[inline(always)] - #[must_use] pub fn clk_sel(&mut self) -> CLK_SEL_W { CLK_SEL_W::new(self, 21) } diff --git a/esp32c3/src/apb_saradc/ctrl.rs b/esp32c3/src/apb_saradc/ctrl.rs index 90c763477c..44886b9139 100644 --- a/esp32c3/src/apb_saradc/ctrl.rs +++ b/esp32c3/src/apb_saradc/ctrl.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - select software enable saradc sample"] #[inline(always)] - #[must_use] pub fn start_force(&mut self) -> START_FORCE_W { START_FORCE_W::new(self, 0) } #[doc = "Bit 1 - software enable saradc sample"] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 1) } #[doc = "Bit 6 - SAR clock gated"] #[inline(always)] - #[must_use] pub fn sar_clk_gated(&mut self) -> SAR_CLK_GATED_W { SAR_CLK_GATED_W::new(self, 6) } #[doc = "Bits 7:14 - SAR clock divider"] #[inline(always)] - #[must_use] pub fn sar_clk_div(&mut self) -> SAR_CLK_DIV_W { SAR_CLK_DIV_W::new(self, 7) } #[doc = "Bits 15:17 - 0 ~ 15 means length 1 ~ 16"] #[inline(always)] - #[must_use] pub fn sar_patt_len(&mut self) -> SAR_PATT_LEN_W { SAR_PATT_LEN_W::new(self, 15) } #[doc = "Bit 23 - clear the pointer of pattern table for DIG ADC1 CTRL"] #[inline(always)] - #[must_use] pub fn sar_patt_p_clear(&mut self) -> SAR_PATT_P_CLEAR_W { SAR_PATT_P_CLEAR_W::new(self, 23) } #[doc = "Bits 27:28 - force option to xpd sar blocks"] #[inline(always)] - #[must_use] pub fn xpd_sar_force(&mut self) -> XPD_SAR_FORCE_W { XPD_SAR_FORCE_W::new(self, 27) } #[doc = "Bits 30:31 - wait arbit signal stable after sar_done"] #[inline(always)] - #[must_use] pub fn wait_arb_cycle(&mut self) -> WAIT_ARB_CYCLE_W { WAIT_ARB_CYCLE_W::new(self, 30) } diff --git a/esp32c3/src/apb_saradc/ctrl2.rs b/esp32c3/src/apb_saradc/ctrl2.rs index d95b806f30..6dee60f8e8 100644 --- a/esp32c3/src/apb_saradc/ctrl2.rs +++ b/esp32c3/src/apb_saradc/ctrl2.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - enable max meas num"] #[inline(always)] - #[must_use] pub fn meas_num_limit(&mut self) -> MEAS_NUM_LIMIT_W { MEAS_NUM_LIMIT_W::new(self, 0) } #[doc = "Bits 1:8 - max conversion number"] #[inline(always)] - #[must_use] pub fn max_meas_num(&mut self) -> MAX_MEAS_NUM_W { MAX_MEAS_NUM_W::new(self, 1) } #[doc = "Bit 9 - 1: data to DIG ADC1 CTRL is inverted, otherwise not"] #[inline(always)] - #[must_use] pub fn sar1_inv(&mut self) -> SAR1_INV_W { SAR1_INV_W::new(self, 9) } #[doc = "Bit 10 - 1: data to DIG ADC2 CTRL is inverted, otherwise not"] #[inline(always)] - #[must_use] pub fn sar2_inv(&mut self) -> SAR2_INV_W { SAR2_INV_W::new(self, 10) } #[doc = "Bits 12:23 - to set saradc timer target"] #[inline(always)] - #[must_use] pub fn timer_target(&mut self) -> TIMER_TARGET_W { TIMER_TARGET_W::new(self, 12) } #[doc = "Bit 24 - to enable saradc timer trigger"] #[inline(always)] - #[must_use] pub fn timer_en(&mut self) -> TIMER_EN_W { TIMER_EN_W::new(self, 24) } diff --git a/esp32c3/src/apb_saradc/ctrl_date.rs b/esp32c3/src/apb_saradc/ctrl_date.rs index 47aef56838..74af6f7926 100644 --- a/esp32c3/src/apb_saradc/ctrl_date.rs +++ b/esp32c3/src/apb_saradc/ctrl_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - version"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c3/src/apb_saradc/dma_conf.rs b/esp32c3/src/apb_saradc/dma_conf.rs index cc3f3427b7..4f36c9308b 100644 --- a/esp32c3/src/apb_saradc/dma_conf.rs +++ b/esp32c3/src/apb_saradc/dma_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - the dma_in_suc_eof gen when sample cnt = spi_eof_num"] #[inline(always)] - #[must_use] pub fn adc_eof_num(&mut self) -> ADC_EOF_NUM_W { ADC_EOF_NUM_W::new(self, 0) } #[doc = "Bit 30 - reset_apb_adc_state"] #[inline(always)] - #[must_use] pub fn adc_reset_fsm(&mut self) -> ADC_RESET_FSM_W { ADC_RESET_FSM_W::new(self, 30) } #[doc = "Bit 31 - enable apb_adc use spi_dma"] #[inline(always)] - #[must_use] pub fn adc_trans(&mut self) -> ADC_TRANS_W { ADC_TRANS_W::new(self, 31) } diff --git a/esp32c3/src/apb_saradc/filter_ctrl0.rs b/esp32c3/src/apb_saradc/filter_ctrl0.rs index 1baa57b97f..0004e12a25 100644 --- a/esp32c3/src/apb_saradc/filter_ctrl0.rs +++ b/esp32c3/src/apb_saradc/filter_ctrl0.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 18:21 - configure filter1 to adc channel"] #[inline(always)] - #[must_use] pub fn filter_channel1(&mut self) -> FILTER_CHANNEL1_W { FILTER_CHANNEL1_W::new(self, 18) } #[doc = "Bits 22:25 - configure filter0 to adc channel"] #[inline(always)] - #[must_use] pub fn filter_channel0(&mut self) -> FILTER_CHANNEL0_W { FILTER_CHANNEL0_W::new(self, 22) } #[doc = "Bit 31 - enable apb_adc1_filter"] #[inline(always)] - #[must_use] pub fn filter_reset(&mut self) -> FILTER_RESET_W { FILTER_RESET_W::new(self, 31) } diff --git a/esp32c3/src/apb_saradc/filter_ctrl1.rs b/esp32c3/src/apb_saradc/filter_ctrl1.rs index 2ba32c65c8..7ca11f4a84 100644 --- a/esp32c3/src/apb_saradc/filter_ctrl1.rs +++ b/esp32c3/src/apb_saradc/filter_ctrl1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 26:28 - Factor of saradc filter1"] #[inline(always)] - #[must_use] pub fn filter_factor1(&mut self) -> FILTER_FACTOR1_W { FILTER_FACTOR1_W::new(self, 26) } #[doc = "Bits 29:31 - Factor of saradc filter0"] #[inline(always)] - #[must_use] pub fn filter_factor0(&mut self) -> FILTER_FACTOR0_W { FILTER_FACTOR0_W::new(self, 29) } diff --git a/esp32c3/src/apb_saradc/fsm_wait.rs b/esp32c3/src/apb_saradc/fsm_wait.rs index 4ac9f6b875..d5db61899b 100644 --- a/esp32c3/src/apb_saradc/fsm_wait.rs +++ b/esp32c3/src/apb_saradc/fsm_wait.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - saradc_xpd_wait"] #[inline(always)] - #[must_use] pub fn xpd_wait(&mut self) -> XPD_WAIT_W { XPD_WAIT_W::new(self, 0) } #[doc = "Bits 8:15 - saradc_rstb_wait"] #[inline(always)] - #[must_use] pub fn rstb_wait(&mut self) -> RSTB_WAIT_W { RSTB_WAIT_W::new(self, 8) } #[doc = "Bits 16:23 - saradc_standby_wait"] #[inline(always)] - #[must_use] pub fn standby_wait(&mut self) -> STANDBY_WAIT_W { STANDBY_WAIT_W::new(self, 16) } diff --git a/esp32c3/src/apb_saradc/int_clr.rs b/esp32c3/src/apb_saradc/int_clr.rs index 4a62a41874..6c4b000a1a 100644 --- a/esp32c3/src/apb_saradc/int_clr.rs +++ b/esp32c3/src/apb_saradc/int_clr.rs @@ -21,37 +21,31 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 26 - saradc thres1 low interrupt clear"] #[inline(always)] - #[must_use] pub fn thres1_low(&mut self) -> THRES1_LOW_W { THRES1_LOW_W::new(self, 26) } #[doc = "Bit 27 - saradc thres0 low interrupt clear"] #[inline(always)] - #[must_use] pub fn thres0_low(&mut self) -> THRES0_LOW_W { THRES0_LOW_W::new(self, 27) } #[doc = "Bit 28 - saradc thres1 high interrupt clear"] #[inline(always)] - #[must_use] pub fn thres1_high(&mut self) -> THRES1_HIGH_W { THRES1_HIGH_W::new(self, 28) } #[doc = "Bit 29 - saradc thres0 high interrupt clear"] #[inline(always)] - #[must_use] pub fn thres0_high(&mut self) -> THRES0_HIGH_W { THRES0_HIGH_W::new(self, 29) } #[doc = "Bit 30 - saradc2 done interrupt clear"] #[inline(always)] - #[must_use] pub fn adc2_done(&mut self) -> ADC2_DONE_W { ADC2_DONE_W::new(self, 30) } #[doc = "Bit 31 - saradc1 done interrupt clear"] #[inline(always)] - #[must_use] pub fn adc1_done(&mut self) -> ADC1_DONE_W { ADC1_DONE_W::new(self, 31) } diff --git a/esp32c3/src/apb_saradc/int_ena.rs b/esp32c3/src/apb_saradc/int_ena.rs index 912bef0039..57a2233fd3 100644 --- a/esp32c3/src/apb_saradc/int_ena.rs +++ b/esp32c3/src/apb_saradc/int_ena.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 26 - saradc thres1 low interrupt enable"] #[inline(always)] - #[must_use] pub fn thres1_low(&mut self) -> THRES1_LOW_W { THRES1_LOW_W::new(self, 26) } #[doc = "Bit 27 - saradc thres0 low interrupt enable"] #[inline(always)] - #[must_use] pub fn thres0_low(&mut self) -> THRES0_LOW_W { THRES0_LOW_W::new(self, 27) } #[doc = "Bit 28 - saradc thres1 high interrupt enable"] #[inline(always)] - #[must_use] pub fn thres1_high(&mut self) -> THRES1_HIGH_W { THRES1_HIGH_W::new(self, 28) } #[doc = "Bit 29 - saradc thres0 high interrupt enable"] #[inline(always)] - #[must_use] pub fn thres0_high(&mut self) -> THRES0_HIGH_W { THRES0_HIGH_W::new(self, 29) } #[doc = "Bit 30 - saradc2 done interrupt enable"] #[inline(always)] - #[must_use] pub fn adc2_done(&mut self) -> ADC2_DONE_W { ADC2_DONE_W::new(self, 30) } #[doc = "Bit 31 - saradc1 done interrupt enable"] #[inline(always)] - #[must_use] pub fn adc1_done(&mut self) -> ADC1_DONE_W { ADC1_DONE_W::new(self, 31) } diff --git a/esp32c3/src/apb_saradc/onetime_sample.rs b/esp32c3/src/apb_saradc/onetime_sample.rs index 95be3e1846..b41f4eb595 100644 --- a/esp32c3/src/apb_saradc/onetime_sample.rs +++ b/esp32c3/src/apb_saradc/onetime_sample.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 23:24 - configure onetime atten"] #[inline(always)] - #[must_use] pub fn onetime_atten(&mut self) -> ONETIME_ATTEN_W { ONETIME_ATTEN_W::new(self, 23) } #[doc = "Bits 25:28 - configure onetime channel"] #[inline(always)] - #[must_use] pub fn onetime_channel(&mut self) -> ONETIME_CHANNEL_W { ONETIME_CHANNEL_W::new(self, 25) } #[doc = "Bit 29 - trigger adc onetime sample"] #[inline(always)] - #[must_use] pub fn onetime_start(&mut self) -> ONETIME_START_W { ONETIME_START_W::new(self, 29) } #[doc = "Bit 30 - enable adc2 onetime sample"] #[inline(always)] - #[must_use] pub fn saradc2_onetime_sample(&mut self) -> SARADC2_ONETIME_SAMPLE_W { SARADC2_ONETIME_SAMPLE_W::new(self, 30) } #[doc = "Bit 31 - enable adc1 onetime sample"] #[inline(always)] - #[must_use] pub fn saradc1_onetime_sample(&mut self) -> SARADC1_ONETIME_SAMPLE_W { SARADC1_ONETIME_SAMPLE_W::new(self, 31) } diff --git a/esp32c3/src/apb_saradc/sar_patt_tab1.rs b/esp32c3/src/apb_saradc/sar_patt_tab1.rs index 6c0c423c36..f5cdcf8c94 100644 --- a/esp32c3/src/apb_saradc/sar_patt_tab1.rs +++ b/esp32c3/src/apb_saradc/sar_patt_tab1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - item 0 ~ 3 for pattern table 1 (each item one byte)"] #[inline(always)] - #[must_use] pub fn sar_patt_tab1(&mut self) -> SAR_PATT_TAB1_W { SAR_PATT_TAB1_W::new(self, 0) } diff --git a/esp32c3/src/apb_saradc/sar_patt_tab2.rs b/esp32c3/src/apb_saradc/sar_patt_tab2.rs index 0649690fdd..c47ecd1034 100644 --- a/esp32c3/src/apb_saradc/sar_patt_tab2.rs +++ b/esp32c3/src/apb_saradc/sar_patt_tab2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - Item 4 ~ 7 for pattern table 1 (each item one byte)"] #[inline(always)] - #[must_use] pub fn sar_patt_tab2(&mut self) -> SAR_PATT_TAB2_W { SAR_PATT_TAB2_W::new(self, 0) } diff --git a/esp32c3/src/apb_saradc/thres0_ctrl.rs b/esp32c3/src/apb_saradc/thres0_ctrl.rs index 5e14de9af6..3bf2ccded3 100644 --- a/esp32c3/src/apb_saradc/thres0_ctrl.rs +++ b/esp32c3/src/apb_saradc/thres0_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - configure thres0 to adc channel"] #[inline(always)] - #[must_use] pub fn thres0_channel(&mut self) -> THRES0_CHANNEL_W { THRES0_CHANNEL_W::new(self, 0) } #[doc = "Bits 5:17 - saradc thres0 monitor thres"] #[inline(always)] - #[must_use] pub fn thres0_high(&mut self) -> THRES0_HIGH_W { THRES0_HIGH_W::new(self, 5) } #[doc = "Bits 18:30 - saradc thres0 monitor thres"] #[inline(always)] - #[must_use] pub fn thres0_low(&mut self) -> THRES0_LOW_W { THRES0_LOW_W::new(self, 18) } diff --git a/esp32c3/src/apb_saradc/thres1_ctrl.rs b/esp32c3/src/apb_saradc/thres1_ctrl.rs index 817c8d4099..0045a242cf 100644 --- a/esp32c3/src/apb_saradc/thres1_ctrl.rs +++ b/esp32c3/src/apb_saradc/thres1_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - configure thres1 to adc channel"] #[inline(always)] - #[must_use] pub fn thres1_channel(&mut self) -> THRES1_CHANNEL_W { THRES1_CHANNEL_W::new(self, 0) } #[doc = "Bits 5:17 - saradc thres1 monitor thres"] #[inline(always)] - #[must_use] pub fn thres1_high(&mut self) -> THRES1_HIGH_W { THRES1_HIGH_W::new(self, 5) } #[doc = "Bits 18:30 - saradc thres1 monitor thres"] #[inline(always)] - #[must_use] pub fn thres1_low(&mut self) -> THRES1_LOW_W { THRES1_LOW_W::new(self, 18) } diff --git a/esp32c3/src/apb_saradc/thres_ctrl.rs b/esp32c3/src/apb_saradc/thres_ctrl.rs index d0b7d93103..7e115dfdc2 100644 --- a/esp32c3/src/apb_saradc/thres_ctrl.rs +++ b/esp32c3/src/apb_saradc/thres_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 27 - enable thres to all channel"] #[inline(always)] - #[must_use] pub fn thres_all_en(&mut self) -> THRES_ALL_EN_W { THRES_ALL_EN_W::new(self, 27) } #[doc = "Bit 30 - enable thres1"] #[inline(always)] - #[must_use] pub fn thres1_en(&mut self) -> THRES1_EN_W { THRES1_EN_W::new(self, 30) } #[doc = "Bit 31 - enable thres0"] #[inline(always)] - #[must_use] pub fn thres0_en(&mut self) -> THRES0_EN_W { THRES0_EN_W::new(self, 31) } diff --git a/esp32c3/src/apb_saradc/tsens_ctrl.rs b/esp32c3/src/apb_saradc/tsens_ctrl.rs index 4dfe09bc94..885102329c 100644 --- a/esp32c3/src/apb_saradc/tsens_ctrl.rs +++ b/esp32c3/src/apb_saradc/tsens_ctrl.rs @@ -52,19 +52,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - invert temperature sensor data"] #[inline(always)] - #[must_use] pub fn in_inv(&mut self) -> IN_INV_W { IN_INV_W::new(self, 13) } #[doc = "Bits 14:21 - temperature sensor clock divider"] #[inline(always)] - #[must_use] pub fn clk_div(&mut self) -> CLK_DIV_W { CLK_DIV_W::new(self, 14) } #[doc = "Bit 22 - temperature sensor power up"] #[inline(always)] - #[must_use] pub fn pu(&mut self) -> PU_W { PU_W::new(self, 22) } diff --git a/esp32c3/src/apb_saradc/tsens_ctrl2.rs b/esp32c3/src/apb_saradc/tsens_ctrl2.rs index d67da16bf9..05f575cdfc 100644 --- a/esp32c3/src/apb_saradc/tsens_ctrl2.rs +++ b/esp32c3/src/apb_saradc/tsens_ctrl2.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - the time that power up tsens need wait"] #[inline(always)] - #[must_use] pub fn xpd_wait(&mut self) -> XPD_WAIT_W { XPD_WAIT_W::new(self, 0) } #[doc = "Bits 12:13 - force power up tsens"] #[inline(always)] - #[must_use] pub fn xpd_force(&mut self) -> XPD_FORCE_W { XPD_FORCE_W::new(self, 12) } #[doc = "Bit 14 - inv tsens clk"] #[inline(always)] - #[must_use] pub fn clk_inv(&mut self) -> CLK_INV_W { CLK_INV_W::new(self, 14) } #[doc = "Bit 15 - tsens clk select"] #[inline(always)] - #[must_use] pub fn clk_sel(&mut self) -> CLK_SEL_W { CLK_SEL_W::new(self, 15) } diff --git a/esp32c3/src/assist_debug/core_0_area_dram0_0_max.rs b/esp32c3/src/assist_debug/core_0_area_dram0_0_max.rs index 012e0b5db2..444bfc5063 100644 --- a/esp32c3/src/assist_debug/core_0_area_dram0_0_max.rs +++ b/esp32c3/src/assist_debug/core_0_area_dram0_0_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_core_0_area_dram0_0_max"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_max( &mut self, ) -> CORE_0_AREA_DRAM0_0_MAX_W { diff --git a/esp32c3/src/assist_debug/core_0_area_dram0_0_min.rs b/esp32c3/src/assist_debug/core_0_area_dram0_0_min.rs index 42b7bd5d8f..5c58e643a5 100644 --- a/esp32c3/src/assist_debug/core_0_area_dram0_0_min.rs +++ b/esp32c3/src/assist_debug/core_0_area_dram0_0_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_core_0_area_dram0_0_min"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_min( &mut self, ) -> CORE_0_AREA_DRAM0_0_MIN_W { diff --git a/esp32c3/src/assist_debug/core_0_area_dram0_1_max.rs b/esp32c3/src/assist_debug/core_0_area_dram0_1_max.rs index bd6ca525cf..509a2958e9 100644 --- a/esp32c3/src/assist_debug/core_0_area_dram0_1_max.rs +++ b/esp32c3/src/assist_debug/core_0_area_dram0_1_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_core_0_area_dram0_1_max"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_max( &mut self, ) -> CORE_0_AREA_DRAM0_1_MAX_W { diff --git a/esp32c3/src/assist_debug/core_0_area_dram0_1_min.rs b/esp32c3/src/assist_debug/core_0_area_dram0_1_min.rs index 1b5154c661..2b3e4557c5 100644 --- a/esp32c3/src/assist_debug/core_0_area_dram0_1_min.rs +++ b/esp32c3/src/assist_debug/core_0_area_dram0_1_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_core_0_area_dram0_1_min"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_min( &mut self, ) -> CORE_0_AREA_DRAM0_1_MIN_W { diff --git a/esp32c3/src/assist_debug/core_0_area_pif_0_max.rs b/esp32c3/src/assist_debug/core_0_area_pif_0_max.rs index fac3c658de..2ae8216f38 100644 --- a/esp32c3/src/assist_debug/core_0_area_pif_0_max.rs +++ b/esp32c3/src/assist_debug/core_0_area_pif_0_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_core_0_area_pif_0_max"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_max(&mut self) -> CORE_0_AREA_PIF_0_MAX_W { CORE_0_AREA_PIF_0_MAX_W::new(self, 0) } diff --git a/esp32c3/src/assist_debug/core_0_area_pif_0_min.rs b/esp32c3/src/assist_debug/core_0_area_pif_0_min.rs index c61149df99..dfe26dd7b7 100644 --- a/esp32c3/src/assist_debug/core_0_area_pif_0_min.rs +++ b/esp32c3/src/assist_debug/core_0_area_pif_0_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_core_0_area_pif_0_min"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_min(&mut self) -> CORE_0_AREA_PIF_0_MIN_W { CORE_0_AREA_PIF_0_MIN_W::new(self, 0) } diff --git a/esp32c3/src/assist_debug/core_0_area_pif_1_max.rs b/esp32c3/src/assist_debug/core_0_area_pif_1_max.rs index 6412bd1af0..0fe5b8e8eb 100644 --- a/esp32c3/src/assist_debug/core_0_area_pif_1_max.rs +++ b/esp32c3/src/assist_debug/core_0_area_pif_1_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_core_0_area_pif_1_max"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_max(&mut self) -> CORE_0_AREA_PIF_1_MAX_W { CORE_0_AREA_PIF_1_MAX_W::new(self, 0) } diff --git a/esp32c3/src/assist_debug/core_0_area_pif_1_min.rs b/esp32c3/src/assist_debug/core_0_area_pif_1_min.rs index 63a0d3129b..5ef1beb022 100644 --- a/esp32c3/src/assist_debug/core_0_area_pif_1_min.rs +++ b/esp32c3/src/assist_debug/core_0_area_pif_1_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_core_0_area_pif_1_min"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_min(&mut self) -> CORE_0_AREA_PIF_1_MIN_W { CORE_0_AREA_PIF_1_MIN_W::new(self, 0) } diff --git a/esp32c3/src/assist_debug/core_0_intr_clr.rs b/esp32c3/src/assist_debug/core_0_intr_clr.rs index 984b7d4ab8..273b7bb1af 100644 --- a/esp32c3/src/assist_debug/core_0_intr_clr.rs +++ b/esp32c3/src/assist_debug/core_0_intr_clr.rs @@ -152,7 +152,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_core_0_area_dram0_0_rd_clr"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_rd_clr( &mut self, ) -> CORE_0_AREA_DRAM0_0_RD_CLR_W { @@ -160,7 +159,6 @@ impl W { } #[doc = "Bit 1 - reg_core_0_area_dram0_0_wr_clr"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_wr_clr( &mut self, ) -> CORE_0_AREA_DRAM0_0_WR_CLR_W { @@ -168,7 +166,6 @@ impl W { } #[doc = "Bit 2 - reg_core_0_area_dram0_1_rd_clr"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_rd_clr( &mut self, ) -> CORE_0_AREA_DRAM0_1_RD_CLR_W { @@ -176,7 +173,6 @@ impl W { } #[doc = "Bit 3 - reg_core_0_area_dram0_1_wr_clr"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_wr_clr( &mut self, ) -> CORE_0_AREA_DRAM0_1_WR_CLR_W { @@ -184,43 +180,36 @@ impl W { } #[doc = "Bit 4 - reg_core_0_area_pif_0_rd_clr"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_rd_clr(&mut self) -> CORE_0_AREA_PIF_0_RD_CLR_W { CORE_0_AREA_PIF_0_RD_CLR_W::new(self, 4) } #[doc = "Bit 5 - reg_core_0_area_pif_0_wr_clr"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_wr_clr(&mut self) -> CORE_0_AREA_PIF_0_WR_CLR_W { CORE_0_AREA_PIF_0_WR_CLR_W::new(self, 5) } #[doc = "Bit 6 - reg_core_0_area_pif_1_rd_clr"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_rd_clr(&mut self) -> CORE_0_AREA_PIF_1_RD_CLR_W { CORE_0_AREA_PIF_1_RD_CLR_W::new(self, 6) } #[doc = "Bit 7 - reg_core_0_area_pif_1_wr_clr"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_wr_clr(&mut self) -> CORE_0_AREA_PIF_1_WR_CLR_W { CORE_0_AREA_PIF_1_WR_CLR_W::new(self, 7) } #[doc = "Bit 8 - reg_core_0_sp_spill_min_clr"] #[inline(always)] - #[must_use] pub fn core_0_sp_spill_min_clr(&mut self) -> CORE_0_SP_SPILL_MIN_CLR_W { CORE_0_SP_SPILL_MIN_CLR_W::new(self, 8) } #[doc = "Bit 9 - reg_core_0_sp_spill_max_clr"] #[inline(always)] - #[must_use] pub fn core_0_sp_spill_max_clr(&mut self) -> CORE_0_SP_SPILL_MAX_CLR_W { CORE_0_SP_SPILL_MAX_CLR_W::new(self, 9) } #[doc = "Bit 10 - reg_core_0_iram0_exception_monitor_clr"] #[inline(always)] - #[must_use] pub fn core_0_iram0_exception_monitor_clr( &mut self, ) -> CORE_0_IRAM0_EXCEPTION_MONITOR_CLR_W { @@ -228,7 +217,6 @@ impl W { } #[doc = "Bit 11 - reg_core_0_dram0_exception_monitor_clr"] #[inline(always)] - #[must_use] pub fn core_0_dram0_exception_monitor_clr( &mut self, ) -> CORE_0_DRAM0_EXCEPTION_MONITOR_CLR_W { diff --git a/esp32c3/src/assist_debug/core_0_intr_ena.rs b/esp32c3/src/assist_debug/core_0_intr_ena.rs index 3786c888c0..ca9fe4fbc6 100644 --- a/esp32c3/src/assist_debug/core_0_intr_ena.rs +++ b/esp32c3/src/assist_debug/core_0_intr_ena.rs @@ -170,7 +170,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_core_0_area_dram0_0_rd_intr_ena"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_rd_intr_ena( &mut self, ) -> CORE_0_AREA_DRAM0_0_RD_INTR_ENA_W { @@ -178,7 +177,6 @@ impl W { } #[doc = "Bit 1 - reg_core_0_area_dram0_0_wr_intr_ena"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_wr_intr_ena( &mut self, ) -> CORE_0_AREA_DRAM0_0_WR_INTR_ENA_W { @@ -186,7 +184,6 @@ impl W { } #[doc = "Bit 2 - reg_core_0_area_dram0_1_rd_intr_ena"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_rd_intr_ena( &mut self, ) -> CORE_0_AREA_DRAM0_1_RD_INTR_ENA_W { @@ -194,7 +191,6 @@ impl W { } #[doc = "Bit 3 - reg_core_0_area_dram0_1_wr_intr_ena"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_wr_intr_ena( &mut self, ) -> CORE_0_AREA_DRAM0_1_WR_INTR_ENA_W { @@ -202,7 +198,6 @@ impl W { } #[doc = "Bit 4 - reg_core_0_area_pif_0_rd_intr_ena"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_rd_intr_ena( &mut self, ) -> CORE_0_AREA_PIF_0_RD_INTR_ENA_W { @@ -210,7 +205,6 @@ impl W { } #[doc = "Bit 5 - reg_core_0_area_pif_0_wr_intr_ena"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_wr_intr_ena( &mut self, ) -> CORE_0_AREA_PIF_0_WR_INTR_ENA_W { @@ -218,7 +212,6 @@ impl W { } #[doc = "Bit 6 - reg_core_0_area_pif_1_rd_intr_ena"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_rd_intr_ena( &mut self, ) -> CORE_0_AREA_PIF_1_RD_INTR_ENA_W { @@ -226,7 +219,6 @@ impl W { } #[doc = "Bit 7 - reg_core_0_area_pif_1_wr_intr_ena"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_wr_intr_ena( &mut self, ) -> CORE_0_AREA_PIF_1_WR_INTR_ENA_W { @@ -234,7 +226,6 @@ impl W { } #[doc = "Bit 8 - reg_core_0_sp_spill_min_intr_ena"] #[inline(always)] - #[must_use] pub fn core_0_sp_spill_min_intr_ena( &mut self, ) -> CORE_0_SP_SPILL_MIN_INTR_ENA_W { @@ -242,7 +233,6 @@ impl W { } #[doc = "Bit 9 - reg_core_0_sp_spill_max_intr_ena"] #[inline(always)] - #[must_use] pub fn core_0_sp_spill_max_intr_ena( &mut self, ) -> CORE_0_SP_SPILL_MAX_INTR_ENA_W { @@ -250,7 +240,6 @@ impl W { } #[doc = "Bit 10 - reg_core_0_iram0_exception_monitor_ena"] #[inline(always)] - #[must_use] pub fn core_0_iram0_exception_monitor_rls( &mut self, ) -> CORE_0_IRAM0_EXCEPTION_MONITOR_RLS_W { @@ -258,7 +247,6 @@ impl W { } #[doc = "Bit 11 - reg_core_0_dram0_exception_monitor_ena"] #[inline(always)] - #[must_use] pub fn core_0_dram0_exception_monitor_rls( &mut self, ) -> CORE_0_DRAM0_EXCEPTION_MONITOR_RLS_W { diff --git a/esp32c3/src/assist_debug/core_0_montr_ena.rs b/esp32c3/src/assist_debug/core_0_montr_ena.rs index 249f1e379a..fbdb0272e5 100644 --- a/esp32c3/src/assist_debug/core_0_montr_ena.rs +++ b/esp32c3/src/assist_debug/core_0_montr_ena.rs @@ -152,7 +152,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_core_0_area_dram0_0_rd_ena"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_rd_ena( &mut self, ) -> CORE_0_AREA_DRAM0_0_RD_ENA_W { @@ -160,7 +159,6 @@ impl W { } #[doc = "Bit 1 - reg_core_0_area_dram0_0_wr_ena"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_wr_ena( &mut self, ) -> CORE_0_AREA_DRAM0_0_WR_ENA_W { @@ -168,7 +166,6 @@ impl W { } #[doc = "Bit 2 - reg_core_0_area_dram0_1_rd_ena"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_rd_ena( &mut self, ) -> CORE_0_AREA_DRAM0_1_RD_ENA_W { @@ -176,7 +173,6 @@ impl W { } #[doc = "Bit 3 - reg_core_0_area_dram0_1_wr_ena"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_wr_ena( &mut self, ) -> CORE_0_AREA_DRAM0_1_WR_ENA_W { @@ -184,7 +180,6 @@ impl W { } #[doc = "Bit 4 - reg_core_0_area_pif_0_rd_ena"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_rd_ena( &mut self, ) -> CORE_0_AREA_PIF_0_RD_ENA_W { @@ -192,7 +187,6 @@ impl W { } #[doc = "Bit 5 - reg_core_0_area_pif_0_wr_ena"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_wr_ena( &mut self, ) -> CORE_0_AREA_PIF_0_WR_ENA_W { @@ -200,7 +194,6 @@ impl W { } #[doc = "Bit 6 - reg_core_0_area_pif_1_rd_ena"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_rd_ena( &mut self, ) -> CORE_0_AREA_PIF_1_RD_ENA_W { @@ -208,7 +201,6 @@ impl W { } #[doc = "Bit 7 - reg_core_0_area_pif_1_wr_ena"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_wr_ena( &mut self, ) -> CORE_0_AREA_PIF_1_WR_ENA_W { @@ -216,19 +208,16 @@ impl W { } #[doc = "Bit 8 - reg_core_0_sp_spill_min_ena"] #[inline(always)] - #[must_use] pub fn core_0_sp_spill_min_ena(&mut self) -> CORE_0_SP_SPILL_MIN_ENA_W { CORE_0_SP_SPILL_MIN_ENA_W::new(self, 8) } #[doc = "Bit 9 - reg_core_0_sp_spill_max_ena"] #[inline(always)] - #[must_use] pub fn core_0_sp_spill_max_ena(&mut self) -> CORE_0_SP_SPILL_MAX_ENA_W { CORE_0_SP_SPILL_MAX_ENA_W::new(self, 9) } #[doc = "Bit 10 - reg_core_0_iram0_exception_monitor_ena"] #[inline(always)] - #[must_use] pub fn core_0_iram0_exception_monitor_ena( &mut self, ) -> CORE_0_IRAM0_EXCEPTION_MONITOR_ENA_W { @@ -236,7 +225,6 @@ impl W { } #[doc = "Bit 11 - reg_core_0_dram0_exception_monitor_ena"] #[inline(always)] - #[must_use] pub fn core_0_dram0_exception_monitor_ena( &mut self, ) -> CORE_0_DRAM0_EXCEPTION_MONITOR_ENA_W { diff --git a/esp32c3/src/assist_debug/core_0_rcd_en.rs b/esp32c3/src/assist_debug/core_0_rcd_en.rs index 0015f4d4c3..e55cc2af1a 100644 --- a/esp32c3/src/assist_debug/core_0_rcd_en.rs +++ b/esp32c3/src/assist_debug/core_0_rcd_en.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_core_0_rcd_recorden"] #[inline(always)] - #[must_use] pub fn core_0_rcd_recorden(&mut self) -> CORE_0_RCD_RECORDEN_W { CORE_0_RCD_RECORDEN_W::new(self, 0) } #[doc = "Bit 1 - reg_core_0_rcd_pdebugen"] #[inline(always)] - #[must_use] pub fn core_0_rcd_pdebugen(&mut self) -> CORE_0_RCD_PDEBUGEN_W { CORE_0_RCD_PDEBUGEN_W::new(self, 1) } diff --git a/esp32c3/src/assist_debug/core_0_sp_max.rs b/esp32c3/src/assist_debug/core_0_sp_max.rs index c0631a08d8..03e6a5e2fd 100644 --- a/esp32c3/src/assist_debug/core_0_sp_max.rs +++ b/esp32c3/src/assist_debug/core_0_sp_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_core_0_sp_max"] #[inline(always)] - #[must_use] pub fn core_0_sp_max(&mut self) -> CORE_0_SP_MAX_W { CORE_0_SP_MAX_W::new(self, 0) } diff --git a/esp32c3/src/assist_debug/core_0_sp_min.rs b/esp32c3/src/assist_debug/core_0_sp_min.rs index a7a087facd..73b3982592 100644 --- a/esp32c3/src/assist_debug/core_0_sp_min.rs +++ b/esp32c3/src/assist_debug/core_0_sp_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_core_0_sp_min"] #[inline(always)] - #[must_use] pub fn core_0_sp_min(&mut self) -> CORE_0_SP_MIN_W { CORE_0_SP_MIN_W::new(self, 0) } diff --git a/esp32c3/src/assist_debug/core_x_iram0_dram0_exception_monitor_0.rs b/esp32c3/src/assist_debug/core_x_iram0_dram0_exception_monitor_0.rs index 0e1f950164..50c100a5bd 100644 --- a/esp32c3/src/assist_debug/core_x_iram0_dram0_exception_monitor_0.rs +++ b/esp32c3/src/assist_debug/core_x_iram0_dram0_exception_monitor_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - reg_core_x_iram0_dram0_limit_cycle_0"] #[inline(always)] - #[must_use] pub fn core_x_iram0_dram0_limit_cycle_0( &mut self, ) -> CORE_X_IRAM0_DRAM0_LIMIT_CYCLE_0_W { diff --git a/esp32c3/src/assist_debug/core_x_iram0_dram0_exception_monitor_1.rs b/esp32c3/src/assist_debug/core_x_iram0_dram0_exception_monitor_1.rs index 3930ae1a5d..51a2bc1128 100644 --- a/esp32c3/src/assist_debug/core_x_iram0_dram0_exception_monitor_1.rs +++ b/esp32c3/src/assist_debug/core_x_iram0_dram0_exception_monitor_1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - reg_core_x_iram0_dram0_limit_cycle_1"] #[inline(always)] - #[must_use] pub fn core_x_iram0_dram0_limit_cycle_1( &mut self, ) -> CORE_X_IRAM0_DRAM0_LIMIT_CYCLE_1_W { diff --git a/esp32c3/src/assist_debug/date.rs b/esp32c3/src/assist_debug/date.rs index 4adee609d2..65b4464398 100644 --- a/esp32c3/src/assist_debug/date.rs +++ b/esp32c3/src/assist_debug/date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - reg_assist_debug_date"] #[inline(always)] - #[must_use] pub fn assist_debug_date(&mut self) -> ASSIST_DEBUG_DATE_W { ASSIST_DEBUG_DATE_W::new(self, 0) } diff --git a/esp32c3/src/assist_debug/log_data_0.rs b/esp32c3/src/assist_debug/log_data_0.rs index 6c10613f22..431fe9fff3 100644 --- a/esp32c3/src/assist_debug/log_data_0.rs +++ b/esp32c3/src/assist_debug/log_data_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_log_data_0"] #[inline(always)] - #[must_use] pub fn log_data_0(&mut self) -> LOG_DATA_0_W { LOG_DATA_0_W::new(self, 0) } diff --git a/esp32c3/src/assist_debug/log_data_mask.rs b/esp32c3/src/assist_debug/log_data_mask.rs index e92eb375db..3ad8eceaeb 100644 --- a/esp32c3/src/assist_debug/log_data_mask.rs +++ b/esp32c3/src/assist_debug/log_data_mask.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - reg_log_data_size"] #[inline(always)] - #[must_use] pub fn log_data_size(&mut self) -> LOG_DATA_SIZE_W { LOG_DATA_SIZE_W::new(self, 0) } diff --git a/esp32c3/src/assist_debug/log_max.rs b/esp32c3/src/assist_debug/log_max.rs index 44c98e068a..793a7a28b7 100644 --- a/esp32c3/src/assist_debug/log_max.rs +++ b/esp32c3/src/assist_debug/log_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_log_max"] #[inline(always)] - #[must_use] pub fn log_max(&mut self) -> LOG_MAX_W { LOG_MAX_W::new(self, 0) } diff --git a/esp32c3/src/assist_debug/log_mem_end.rs b/esp32c3/src/assist_debug/log_mem_end.rs index a9009b7d3c..3ee68cb519 100644 --- a/esp32c3/src/assist_debug/log_mem_end.rs +++ b/esp32c3/src/assist_debug/log_mem_end.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_log_mem_end"] #[inline(always)] - #[must_use] pub fn log_mem_end(&mut self) -> LOG_MEM_END_W { LOG_MEM_END_W::new(self, 0) } diff --git a/esp32c3/src/assist_debug/log_mem_full_flag.rs b/esp32c3/src/assist_debug/log_mem_full_flag.rs index 9dac5fbc8a..95ecc2fcf6 100644 --- a/esp32c3/src/assist_debug/log_mem_full_flag.rs +++ b/esp32c3/src/assist_debug/log_mem_full_flag.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - reg_clr_log_mem_full_flag"] #[inline(always)] - #[must_use] pub fn clr_log_mem_full_flag(&mut self) -> CLR_LOG_MEM_FULL_FLAG_W { CLR_LOG_MEM_FULL_FLAG_W::new(self, 1) } diff --git a/esp32c3/src/assist_debug/log_mem_start.rs b/esp32c3/src/assist_debug/log_mem_start.rs index 04e0008ff6..086b6454ba 100644 --- a/esp32c3/src/assist_debug/log_mem_start.rs +++ b/esp32c3/src/assist_debug/log_mem_start.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_log_mem_start"] #[inline(always)] - #[must_use] pub fn log_mem_start(&mut self) -> LOG_MEM_START_W { LOG_MEM_START_W::new(self, 0) } diff --git a/esp32c3/src/assist_debug/log_min.rs b/esp32c3/src/assist_debug/log_min.rs index c59326805c..7e2913ba97 100644 --- a/esp32c3/src/assist_debug/log_min.rs +++ b/esp32c3/src/assist_debug/log_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_log_min"] #[inline(always)] - #[must_use] pub fn log_min(&mut self) -> LOG_MIN_W { LOG_MIN_W::new(self, 0) } diff --git a/esp32c3/src/assist_debug/log_setting.rs b/esp32c3/src/assist_debug/log_setting.rs index b30006c282..d8041b2d97 100644 --- a/esp32c3/src/assist_debug/log_setting.rs +++ b/esp32c3/src/assist_debug/log_setting.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - reg_log_ena"] #[inline(always)] - #[must_use] pub fn log_ena(&mut self) -> LOG_ENA_W { LOG_ENA_W::new(self, 0) } #[doc = "Bits 3:6 - reg_log_mode"] #[inline(always)] - #[must_use] pub fn log_mode(&mut self) -> LOG_MODE_W { LOG_MODE_W::new(self, 3) } #[doc = "Bit 7 - reg_log_mem_loop_enable"] #[inline(always)] - #[must_use] pub fn log_mem_loop_enable(&mut self) -> LOG_MEM_LOOP_ENABLE_W { LOG_MEM_LOOP_ENABLE_W::new(self, 7) } diff --git a/esp32c3/src/bb/bbpd_ctrl.rs b/esp32c3/src/bb/bbpd_ctrl.rs index 968dce20ce..6de8322c9b 100644 --- a/esp32c3/src/bb/bbpd_ctrl.rs +++ b/esp32c3/src/bb/bbpd_ctrl.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn dc_est_force_pd(&mut self) -> DC_EST_FORCE_PD_W { DC_EST_FORCE_PD_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn dc_est_force_pu(&mut self) -> DC_EST_FORCE_PU_W { DC_EST_FORCE_PU_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn fft_force_pd(&mut self) -> FFT_FORCE_PD_W { FFT_FORCE_PD_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn fft_force_pu(&mut self) -> FFT_FORCE_PU_W { FFT_FORCE_PU_W::new(self, 3) } diff --git a/esp32c3/src/dma/ahb_test.rs b/esp32c3/src/dma/ahb_test.rs index b42d19dd5d..0be8348d1a 100644 --- a/esp32c3/src/dma/ahb_test.rs +++ b/esp32c3/src/dma/ahb_test.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - reserved"] #[inline(always)] - #[must_use] pub fn ahb_testmode(&mut self) -> AHB_TESTMODE_W { AHB_TESTMODE_W::new(self, 0) } #[doc = "Bits 4:5 - reserved"] #[inline(always)] - #[must_use] pub fn ahb_testaddr(&mut self) -> AHB_TESTADDR_W { AHB_TESTADDR_W::new(self, 4) } diff --git a/esp32c3/src/dma/ch/in_conf0.rs b/esp32c3/src/dma/ch/in_conf0.rs index 756422ecd3..8371d7cc32 100644 --- a/esp32c3/src/dma/ch/in_conf0.rs +++ b/esp32c3/src/dma/ch/in_conf0.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to reset DMA channel 0 Rx FSM and Rx FIFO pointer."] #[inline(always)] - #[must_use] pub fn in_rst(&mut self) -> IN_RST_W { IN_RST_W::new(self, 0) } #[doc = "Bit 1 - reserved"] #[inline(always)] - #[must_use] pub fn in_loop_test(&mut self) -> IN_LOOP_TEST_W { IN_LOOP_TEST_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to 1 to enable INCR burst transfer for Rx channel 0 reading link descriptor when accessing internal SRAM."] #[inline(always)] - #[must_use] pub fn indscr_burst_en(&mut self) -> INDSCR_BURST_EN_W { INDSCR_BURST_EN_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to 1 to enable INCR burst transfer for Rx channel 0 receiving data when accessing internal SRAM."] #[inline(always)] - #[must_use] pub fn in_data_burst_en(&mut self) -> IN_DATA_BURST_EN_W { IN_DATA_BURST_EN_W::new(self, 3) } #[doc = "Bit 4 - Set this bit 1 to enable automatic transmitting data from memory to memory via DMA."] #[inline(always)] - #[must_use] pub fn mem_trans_en(&mut self) -> MEM_TRANS_EN_W { MEM_TRANS_EN_W::new(self, 4) } diff --git a/esp32c3/src/dma/ch/in_conf1.rs b/esp32c3/src/dma/ch/in_conf1.rs index b062748ec2..92eeae227a 100644 --- a/esp32c3/src/dma/ch/in_conf1.rs +++ b/esp32c3/src/dma/ch/in_conf1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - Set this bit to enable checking the owner attribute of the link descriptor."] #[inline(always)] - #[must_use] pub fn in_check_owner(&mut self) -> IN_CHECK_OWNER_W { IN_CHECK_OWNER_W::new(self, 12) } diff --git a/esp32c3/src/dma/ch/in_link.rs b/esp32c3/src/dma/ch/in_link.rs index acb49982a7..953f2ef771 100644 --- a/esp32c3/src/dma/ch/in_link.rs +++ b/esp32c3/src/dma/ch/in_link.rs @@ -72,31 +72,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - This register stores the 20 least significant bits of the first inlink descriptor's address."] #[inline(always)] - #[must_use] pub fn inlink_addr(&mut self) -> INLINK_ADDR_W { INLINK_ADDR_W::new(self, 0) } #[doc = "Bit 20 - Set this bit to return to current inlink descriptor's address, when there are some errors in current receiving data."] #[inline(always)] - #[must_use] pub fn inlink_auto_ret(&mut self) -> INLINK_AUTO_RET_W { INLINK_AUTO_RET_W::new(self, 20) } #[doc = "Bit 21 - Set this bit to stop dealing with the inlink descriptors."] #[inline(always)] - #[must_use] pub fn inlink_stop(&mut self) -> INLINK_STOP_W { INLINK_STOP_W::new(self, 21) } #[doc = "Bit 22 - Set this bit to start dealing with the inlink descriptors."] #[inline(always)] - #[must_use] pub fn inlink_start(&mut self) -> INLINK_START_W { INLINK_START_W::new(self, 22) } #[doc = "Bit 23 - Set this bit to mount a new inlink descriptor."] #[inline(always)] - #[must_use] pub fn inlink_restart(&mut self) -> INLINK_RESTART_W { INLINK_RESTART_W::new(self, 23) } diff --git a/esp32c3/src/dma/ch/in_peri_sel.rs b/esp32c3/src/dma/ch/in_peri_sel.rs index b1c8370cd2..e85623b2cf 100644 --- a/esp32c3/src/dma/ch/in_peri_sel.rs +++ b/esp32c3/src/dma/ch/in_peri_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - This register is used to select peripheral for Rx channel 0. 0:SPI2. 1: reserved. 2: UHCI0. 3: I2S0. 4: reserved. 5: reserved. 6: AES. 7: SHA. 8: ADC_DAC."] #[inline(always)] - #[must_use] pub fn peri_in_sel(&mut self) -> PERI_IN_SEL_W { PERI_IN_SEL_W::new(self, 0) } diff --git a/esp32c3/src/dma/ch/in_pop.rs b/esp32c3/src/dma/ch/in_pop.rs index bdf26d2e21..fe01bc9b6a 100644 --- a/esp32c3/src/dma/ch/in_pop.rs +++ b/esp32c3/src/dma/ch/in_pop.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - Set this bit to pop data from DMA FIFO."] #[inline(always)] - #[must_use] pub fn infifo_pop(&mut self) -> INFIFO_POP_W { INFIFO_POP_W::new(self, 12) } diff --git a/esp32c3/src/dma/ch/in_pri.rs b/esp32c3/src/dma/ch/in_pri.rs index 6d53f327e2..949073f642 100644 --- a/esp32c3/src/dma/ch/in_pri.rs +++ b/esp32c3/src/dma/ch/in_pri.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - The priority of Rx channel 0. The larger of the value, the higher of the priority."] #[inline(always)] - #[must_use] pub fn rx_pri(&mut self) -> RX_PRI_W { RX_PRI_W::new(self, 0) } diff --git a/esp32c3/src/dma/ch/out_conf0.rs b/esp32c3/src/dma/ch/out_conf0.rs index 34a8f02304..c9a0185601 100644 --- a/esp32c3/src/dma/ch/out_conf0.rs +++ b/esp32c3/src/dma/ch/out_conf0.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to reset DMA channel 0 Tx FSM and Tx FIFO pointer."] #[inline(always)] - #[must_use] pub fn out_rst(&mut self) -> OUT_RST_W { OUT_RST_W::new(self, 0) } #[doc = "Bit 1 - reserved"] #[inline(always)] - #[must_use] pub fn out_loop_test(&mut self) -> OUT_LOOP_TEST_W { OUT_LOOP_TEST_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to enable automatic outlink-writeback when all the data in tx buffer has been transmitted."] #[inline(always)] - #[must_use] pub fn out_auto_wrback(&mut self) -> OUT_AUTO_WRBACK_W { OUT_AUTO_WRBACK_W::new(self, 2) } #[doc = "Bit 3 - EOF flag generation mode when transmitting data. 1: EOF flag for Tx channel 0 is generated when data need to transmit has been popped from FIFO in DMA"] #[inline(always)] - #[must_use] pub fn out_eof_mode(&mut self) -> OUT_EOF_MODE_W { OUT_EOF_MODE_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to 1 to enable INCR burst transfer for Tx channel 0 reading link descriptor when accessing internal SRAM."] #[inline(always)] - #[must_use] pub fn outdscr_burst_en(&mut self) -> OUTDSCR_BURST_EN_W { OUTDSCR_BURST_EN_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to 1 to enable INCR burst transfer for Tx channel 0 transmitting data when accessing internal SRAM."] #[inline(always)] - #[must_use] pub fn out_data_burst_en(&mut self) -> OUT_DATA_BURST_EN_W { OUT_DATA_BURST_EN_W::new(self, 5) } diff --git a/esp32c3/src/dma/ch/out_conf1.rs b/esp32c3/src/dma/ch/out_conf1.rs index fe205e4062..6e614c91d4 100644 --- a/esp32c3/src/dma/ch/out_conf1.rs +++ b/esp32c3/src/dma/ch/out_conf1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - Set this bit to enable checking the owner attribute of the link descriptor."] #[inline(always)] - #[must_use] pub fn out_check_owner(&mut self) -> OUT_CHECK_OWNER_W { OUT_CHECK_OWNER_W::new(self, 12) } diff --git a/esp32c3/src/dma/ch/out_link.rs b/esp32c3/src/dma/ch/out_link.rs index ae4c38072e..41e763360f 100644 --- a/esp32c3/src/dma/ch/out_link.rs +++ b/esp32c3/src/dma/ch/out_link.rs @@ -62,25 +62,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - This register stores the 20 least significant bits of the first outlink descriptor's address."] #[inline(always)] - #[must_use] pub fn outlink_addr(&mut self) -> OUTLINK_ADDR_W { OUTLINK_ADDR_W::new(self, 0) } #[doc = "Bit 20 - Set this bit to stop dealing with the outlink descriptors."] #[inline(always)] - #[must_use] pub fn outlink_stop(&mut self) -> OUTLINK_STOP_W { OUTLINK_STOP_W::new(self, 20) } #[doc = "Bit 21 - Set this bit to start dealing with the outlink descriptors."] #[inline(always)] - #[must_use] pub fn outlink_start(&mut self) -> OUTLINK_START_W { OUTLINK_START_W::new(self, 21) } #[doc = "Bit 22 - Set this bit to restart a new outlink from the last address."] #[inline(always)] - #[must_use] pub fn outlink_restart(&mut self) -> OUTLINK_RESTART_W { OUTLINK_RESTART_W::new(self, 22) } diff --git a/esp32c3/src/dma/ch/out_peri_sel.rs b/esp32c3/src/dma/ch/out_peri_sel.rs index 57880a2b94..c9cc8a165f 100644 --- a/esp32c3/src/dma/ch/out_peri_sel.rs +++ b/esp32c3/src/dma/ch/out_peri_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - This register is used to select peripheral for Tx channel 0. 0:SPI2. 1: reserved. 2: UHCI0. 3: I2S0. 4: reserved. 5: reserved. 6: AES. 7: SHA. 8: ADC_DAC."] #[inline(always)] - #[must_use] pub fn peri_out_sel(&mut self) -> PERI_OUT_SEL_W { PERI_OUT_SEL_W::new(self, 0) } diff --git a/esp32c3/src/dma/ch/out_pri.rs b/esp32c3/src/dma/ch/out_pri.rs index 16730c3120..58fdfa4160 100644 --- a/esp32c3/src/dma/ch/out_pri.rs +++ b/esp32c3/src/dma/ch/out_pri.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - The priority of Tx channel 0. The larger of the value, the higher of the priority."] #[inline(always)] - #[must_use] pub fn tx_pri(&mut self) -> TX_PRI_W { TX_PRI_W::new(self, 0) } diff --git a/esp32c3/src/dma/ch/out_push.rs b/esp32c3/src/dma/ch/out_push.rs index ae836f3b38..f649481504 100644 --- a/esp32c3/src/dma/ch/out_push.rs +++ b/esp32c3/src/dma/ch/out_push.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register stores the data that need to be pushed into DMA FIFO."] #[inline(always)] - #[must_use] pub fn outfifo_wdata(&mut self) -> OUTFIFO_WDATA_W { OUTFIFO_WDATA_W::new(self, 0) } #[doc = "Bit 9 - Set this bit to push data into DMA FIFO."] #[inline(always)] - #[must_use] pub fn outfifo_push(&mut self) -> OUTFIFO_PUSH_W { OUTFIFO_PUSH_W::new(self, 9) } diff --git a/esp32c3/src/dma/date.rs b/esp32c3/src/dma/date.rs index f5e5b560dd..b7470f4613 100644 --- a/esp32c3/src/dma/date.rs +++ b/esp32c3/src/dma/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - register version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c3/src/dma/int_ch/clr.rs b/esp32c3/src/dma/int_ch/clr.rs index c5ab71e33f..dde1794b47 100644 --- a/esp32c3/src/dma/int_ch/clr.rs +++ b/esp32c3/src/dma/int_ch/clr.rs @@ -35,79 +35,66 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the IN_DONE_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_done(&mut self) -> IN_DONE_W { IN_DONE_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the IN_SUC_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_suc_eof(&mut self) -> IN_SUC_EOF_W { IN_SUC_EOF_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the IN_ERR_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_err_eof(&mut self) -> IN_ERR_EOF_W { IN_ERR_EOF_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the OUT_DONE_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_done(&mut self) -> OUT_DONE_W { OUT_DONE_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear the OUT_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the IN_DSCR_ERR_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_err(&mut self) -> IN_DSCR_ERR_W { IN_DSCR_ERR_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the OUT_DSCR_ERR_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_dscr_err(&mut self) -> OUT_DSCR_ERR_W { OUT_DSCR_ERR_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the IN_DSCR_EMPTY_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_empty(&mut self) -> IN_DSCR_EMPTY_W { IN_DSCR_EMPTY_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the OUT_TOTAL_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_total_eof(&mut self) -> OUT_TOTAL_EOF_W { OUT_TOTAL_EOF_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear the INFIFO_OVF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_ovf(&mut self) -> INFIFO_OVF_W { INFIFO_OVF_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to clear the INFIFO_UDF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_udf(&mut self) -> INFIFO_UDF_W { INFIFO_UDF_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear the OUTFIFO_OVF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_ovf(&mut self) -> OUTFIFO_OVF_W { OUTFIFO_OVF_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to clear the OUTFIFO_UDF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_udf(&mut self) -> OUTFIFO_UDF_W { OUTFIFO_UDF_W::new(self, 12) } diff --git a/esp32c3/src/dma/int_ch/ena.rs b/esp32c3/src/dma/int_ch/ena.rs index cab251dc67..ddda120cc1 100644 --- a/esp32c3/src/dma/int_ch/ena.rs +++ b/esp32c3/src/dma/int_ch/ena.rs @@ -144,79 +144,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for the IN_DONE_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_done(&mut self) -> IN_DONE_W { IN_DONE_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the IN_SUC_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_suc_eof(&mut self) -> IN_SUC_EOF_W { IN_SUC_EOF_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the IN_ERR_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_err_eof(&mut self) -> IN_ERR_EOF_W { IN_ERR_EOF_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the OUT_DONE_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_done(&mut self) -> OUT_DONE_W { OUT_DONE_W::new(self, 3) } #[doc = "Bit 4 - The interrupt enable bit for the OUT_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 4) } #[doc = "Bit 5 - The interrupt enable bit for the IN_DSCR_ERR_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_err(&mut self) -> IN_DSCR_ERR_W { IN_DSCR_ERR_W::new(self, 5) } #[doc = "Bit 6 - The interrupt enable bit for the OUT_DSCR_ERR_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_dscr_err(&mut self) -> OUT_DSCR_ERR_W { OUT_DSCR_ERR_W::new(self, 6) } #[doc = "Bit 7 - The interrupt enable bit for the IN_DSCR_EMPTY_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_empty(&mut self) -> IN_DSCR_EMPTY_W { IN_DSCR_EMPTY_W::new(self, 7) } #[doc = "Bit 8 - The interrupt enable bit for the OUT_TOTAL_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_total_eof(&mut self) -> OUT_TOTAL_EOF_W { OUT_TOTAL_EOF_W::new(self, 8) } #[doc = "Bit 9 - The interrupt enable bit for the INFIFO_OVF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_ovf(&mut self) -> INFIFO_OVF_W { INFIFO_OVF_W::new(self, 9) } #[doc = "Bit 10 - The interrupt enable bit for the INFIFO_UDF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_udf(&mut self) -> INFIFO_UDF_W { INFIFO_UDF_W::new(self, 10) } #[doc = "Bit 11 - The interrupt enable bit for the OUTFIFO_OVF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_ovf(&mut self) -> OUTFIFO_OVF_W { OUTFIFO_OVF_W::new(self, 11) } #[doc = "Bit 12 - The interrupt enable bit for the OUTFIFO_UDF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_udf(&mut self) -> OUTFIFO_UDF_W { OUTFIFO_UDF_W::new(self, 12) } diff --git a/esp32c3/src/dma/int_ch/raw.rs b/esp32c3/src/dma/int_ch/raw.rs index 3b26dde62c..a3f0a6b00b 100644 --- a/esp32c3/src/dma/int_ch/raw.rs +++ b/esp32c3/src/dma/int_ch/raw.rs @@ -144,79 +144,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw interrupt bit turns to high level when the last data pointed by one inlink descriptor has been received for Rx channel 0."] #[inline(always)] - #[must_use] pub fn in_done(&mut self) -> IN_DONE_W { IN_DONE_W::new(self, 0) } #[doc = "Bit 1 - The raw interrupt bit turns to high level when the last data pointed by one inlink descriptor has been received for Rx channel 0. For UHCI0, the raw interrupt bit turns to high level when the last data pointed by one inlink descriptor has been received and no data error is detected for Rx channel 0."] #[inline(always)] - #[must_use] pub fn in_suc_eof(&mut self) -> IN_SUC_EOF_W { IN_SUC_EOF_W::new(self, 1) } #[doc = "Bit 2 - The raw interrupt bit turns to high level when data error is detected only in the case that the peripheral is UHCI0 for Rx channel 0. For other peripherals, this raw interrupt is reserved."] #[inline(always)] - #[must_use] pub fn in_err_eof(&mut self) -> IN_ERR_EOF_W { IN_ERR_EOF_W::new(self, 2) } #[doc = "Bit 3 - The raw interrupt bit turns to high level when the last data pointed by one outlink descriptor has been transmitted to peripherals for Tx channel 0."] #[inline(always)] - #[must_use] pub fn out_done(&mut self) -> OUT_DONE_W { OUT_DONE_W::new(self, 3) } #[doc = "Bit 4 - The raw interrupt bit turns to high level when the last data pointed by one outlink descriptor has been read from memory for Tx channel 0."] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 4) } #[doc = "Bit 5 - The raw interrupt bit turns to high level when detecting inlink descriptor error, including owner error, the second and third word error of inlink descriptor for Rx channel 0."] #[inline(always)] - #[must_use] pub fn in_dscr_err(&mut self) -> IN_DSCR_ERR_W { IN_DSCR_ERR_W::new(self, 5) } #[doc = "Bit 6 - The raw interrupt bit turns to high level when detecting outlink descriptor error, including owner error, the second and third word error of outlink descriptor for Tx channel 0."] #[inline(always)] - #[must_use] pub fn out_dscr_err(&mut self) -> OUT_DSCR_ERR_W { OUT_DSCR_ERR_W::new(self, 6) } #[doc = "Bit 7 - The raw interrupt bit turns to high level when Rx buffer pointed by inlink is full and receiving data is not completed, but there is no more inlink for Rx channel 0."] #[inline(always)] - #[must_use] pub fn in_dscr_empty(&mut self) -> IN_DSCR_EMPTY_W { IN_DSCR_EMPTY_W::new(self, 7) } #[doc = "Bit 8 - The raw interrupt bit turns to high level when data corresponding a outlink (includes one link descriptor or few link descriptors) is transmitted out for Tx channel 0."] #[inline(always)] - #[must_use] pub fn out_total_eof(&mut self) -> OUT_TOTAL_EOF_W { OUT_TOTAL_EOF_W::new(self, 8) } #[doc = "Bit 9 - This raw interrupt bit turns to high level when level 1 fifo of Rx channel 0 is overflow."] #[inline(always)] - #[must_use] pub fn infifo_ovf(&mut self) -> INFIFO_OVF_W { INFIFO_OVF_W::new(self, 9) } #[doc = "Bit 10 - This raw interrupt bit turns to high level when level 1 fifo of Rx channel 0 is underflow."] #[inline(always)] - #[must_use] pub fn infifo_udf(&mut self) -> INFIFO_UDF_W { INFIFO_UDF_W::new(self, 10) } #[doc = "Bit 11 - This raw interrupt bit turns to high level when level 1 fifo of Tx channel 0 is overflow."] #[inline(always)] - #[must_use] pub fn outfifo_ovf(&mut self) -> OUTFIFO_OVF_W { OUTFIFO_OVF_W::new(self, 11) } #[doc = "Bit 12 - This raw interrupt bit turns to high level when level 1 fifo of Tx channel 0 is underflow."] #[inline(always)] - #[must_use] pub fn outfifo_udf(&mut self) -> OUTFIFO_UDF_W { OUTFIFO_UDF_W::new(self, 12) } diff --git a/esp32c3/src/dma/misc_conf.rs b/esp32c3/src/dma/misc_conf.rs index 47055d5ab6..6ddd4b0954 100644 --- a/esp32c3/src/dma/misc_conf.rs +++ b/esp32c3/src/dma/misc_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit, then clear this bit to reset the internal ahb FSM."] #[inline(always)] - #[must_use] pub fn ahbm_rst_inter(&mut self) -> AHBM_RST_INTER_W { AHBM_RST_INTER_W::new(self, 0) } #[doc = "Bit 2 - Set this bit to disable priority arbitration function."] #[inline(always)] - #[must_use] pub fn arb_pri_dis(&mut self) -> ARB_PRI_DIS_W { ARB_PRI_DIS_W::new(self, 2) } #[doc = "Bit 3 - reg_clk_en"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 3) } diff --git a/esp32c3/src/ds/date.rs b/esp32c3/src/ds/date.rs index fef4af5a01..c35aee2471 100644 --- a/esp32c3/src/ds/date.rs +++ b/esp32c3/src/ds/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - ds version information"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c3/src/ds/set_continue.rs b/esp32c3/src/ds/set_continue.rs index cf65971fe3..5bf5bf256b 100644 --- a/esp32c3/src/ds/set_continue.rs +++ b/esp32c3/src/ds/set_continue.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - set this bit to continue DS operation."] #[inline(always)] - #[must_use] pub fn set_continue(&mut self) -> SET_CONTINUE_W { SET_CONTINUE_W::new(self, 0) } diff --git a/esp32c3/src/ds/set_finish.rs b/esp32c3/src/ds/set_finish.rs index ea31ff7915..5dcdea9961 100644 --- a/esp32c3/src/ds/set_finish.rs +++ b/esp32c3/src/ds/set_finish.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to finish DS process."] #[inline(always)] - #[must_use] pub fn set_finish(&mut self) -> SET_FINISH_W { SET_FINISH_W::new(self, 0) } diff --git a/esp32c3/src/ds/set_start.rs b/esp32c3/src/ds/set_start.rs index f49f2fb4de..6be02528a5 100644 --- a/esp32c3/src/ds/set_start.rs +++ b/esp32c3/src/ds/set_start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - set this bit to start DS operation."] #[inline(always)] - #[must_use] pub fn set_start(&mut self) -> SET_START_W { SET_START_W::new(self, 0) } diff --git a/esp32c3/src/efuse/clk.rs b/esp32c3/src/efuse/clk.rs index 2fd43c9c24..0156f50442 100644 --- a/esp32c3/src/efuse/clk.rs +++ b/esp32c3/src/efuse/clk.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to force eFuse SRAM into power-saving mode."] #[inline(always)] - #[must_use] pub fn efuse_mem_force_pd(&mut self) -> EFUSE_MEM_FORCE_PD_W { EFUSE_MEM_FORCE_PD_W::new(self, 0) } #[doc = "Bit 1 - Set this bit and force to activate clock signal of eFuse SRAM."] #[inline(always)] - #[must_use] pub fn mem_clk_force_on(&mut self) -> MEM_CLK_FORCE_ON_W { MEM_CLK_FORCE_ON_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to force eFuse SRAM into working mode."] #[inline(always)] - #[must_use] pub fn efuse_mem_force_pu(&mut self) -> EFUSE_MEM_FORCE_PU_W { EFUSE_MEM_FORCE_PU_W::new(self, 2) } #[doc = "Bit 16 - Set this bit and force to enable clock signal of eFuse memory."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 16) } diff --git a/esp32c3/src/efuse/cmd.rs b/esp32c3/src/efuse/cmd.rs index baaf4145e4..fe0688f848 100644 --- a/esp32c3/src/efuse/cmd.rs +++ b/esp32c3/src/efuse/cmd.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to send read command."] #[inline(always)] - #[must_use] pub fn read_cmd(&mut self) -> READ_CMD_W { READ_CMD_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to send programming command."] #[inline(always)] - #[must_use] pub fn pgm_cmd(&mut self) -> PGM_CMD_W { PGM_CMD_W::new(self, 1) } #[doc = "Bits 2:5 - The serial number of the block to be programmed. Value 0-10 corresponds to block number 0-10, respectively."] #[inline(always)] - #[must_use] pub fn blk_num(&mut self) -> BLK_NUM_W { BLK_NUM_W::new(self, 2) } diff --git a/esp32c3/src/efuse/conf.rs b/esp32c3/src/efuse/conf.rs index c9e2e5a2dc..b0f70d32a7 100644 --- a/esp32c3/src/efuse/conf.rs +++ b/esp32c3/src/efuse/conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - 0x5A5A: Operate programming command 0x5AA5: Operate read command."] #[inline(always)] - #[must_use] pub fn op_code(&mut self) -> OP_CODE_W { OP_CODE_W::new(self, 0) } diff --git a/esp32c3/src/efuse/dac_conf.rs b/esp32c3/src/efuse/dac_conf.rs index 386dc3b935..dbc17b47fc 100644 --- a/esp32c3/src/efuse/dac_conf.rs +++ b/esp32c3/src/efuse/dac_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Controls the division factor of the rising clock of the programming voltage."] #[inline(always)] - #[must_use] pub fn dac_clk_div(&mut self) -> DAC_CLK_DIV_W { DAC_CLK_DIV_W::new(self, 0) } #[doc = "Bit 8 - Don't care."] #[inline(always)] - #[must_use] pub fn dac_clk_pad_sel(&mut self) -> DAC_CLK_PAD_SEL_W { DAC_CLK_PAD_SEL_W::new(self, 8) } #[doc = "Bits 9:16 - Controls the rising period of the programming voltage."] #[inline(always)] - #[must_use] pub fn dac_num(&mut self) -> DAC_NUM_W { DAC_NUM_W::new(self, 9) } #[doc = "Bit 17 - Reduces the power supply of the programming voltage."] #[inline(always)] - #[must_use] pub fn oe_clr(&mut self) -> OE_CLR_W { OE_CLR_W::new(self, 17) } diff --git a/esp32c3/src/efuse/date.rs b/esp32c3/src/efuse/date.rs index b2f4d5ffc7..9bd2b4905b 100644 --- a/esp32c3/src/efuse/date.rs +++ b/esp32c3/src/efuse/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Stores eFuse version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c3/src/efuse/int_clr.rs b/esp32c3/src/efuse/int_clr.rs index 670d58f7e5..230f4356f1 100644 --- a/esp32c3/src/efuse/int_clr.rs +++ b/esp32c3/src/efuse/int_clr.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The clear signal for read_done interrupt."] #[inline(always)] - #[must_use] pub fn read_done(&mut self) -> READ_DONE_W { READ_DONE_W::new(self, 0) } #[doc = "Bit 1 - The clear signal for pgm_done interrupt."] #[inline(always)] - #[must_use] pub fn pgm_done(&mut self) -> PGM_DONE_W { PGM_DONE_W::new(self, 1) } diff --git a/esp32c3/src/efuse/int_ena.rs b/esp32c3/src/efuse/int_ena.rs index 424c4f079d..3d4c9086ee 100644 --- a/esp32c3/src/efuse/int_ena.rs +++ b/esp32c3/src/efuse/int_ena.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The enable signal for read_done interrupt."] #[inline(always)] - #[must_use] pub fn read_done(&mut self) -> READ_DONE_W { READ_DONE_W::new(self, 0) } #[doc = "Bit 1 - The enable signal for pgm_done interrupt."] #[inline(always)] - #[must_use] pub fn pgm_done(&mut self) -> PGM_DONE_W { PGM_DONE_W::new(self, 1) } diff --git a/esp32c3/src/efuse/int_raw.rs b/esp32c3/src/efuse/int_raw.rs index 6bfa5bd172..a187c9e496 100644 --- a/esp32c3/src/efuse/int_raw.rs +++ b/esp32c3/src/efuse/int_raw.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw bit signal for read_done interrupt."] #[inline(always)] - #[must_use] pub fn read_done(&mut self) -> READ_DONE_W { READ_DONE_W::new(self, 0) } #[doc = "Bit 1 - The raw bit signal for pgm_done interrupt."] #[inline(always)] - #[must_use] pub fn pgm_done(&mut self) -> PGM_DONE_W { PGM_DONE_W::new(self, 1) } diff --git a/esp32c3/src/efuse/pgm_check_value0.rs b/esp32c3/src/efuse/pgm_check_value0.rs index bed5588bf9..165a5a55b2 100644 --- a/esp32c3/src/efuse/pgm_check_value0.rs +++ b/esp32c3/src/efuse/pgm_check_value0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The content of the 0th 32-bit RS code to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_rs_data_0(&mut self) -> PGM_RS_DATA_0_W { PGM_RS_DATA_0_W::new(self, 0) } diff --git a/esp32c3/src/efuse/pgm_check_value1.rs b/esp32c3/src/efuse/pgm_check_value1.rs index 585f92eb55..0d04132207 100644 --- a/esp32c3/src/efuse/pgm_check_value1.rs +++ b/esp32c3/src/efuse/pgm_check_value1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The content of the 1st 32-bit RS code to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_rs_data_1(&mut self) -> PGM_RS_DATA_1_W { PGM_RS_DATA_1_W::new(self, 0) } diff --git a/esp32c3/src/efuse/pgm_check_value2.rs b/esp32c3/src/efuse/pgm_check_value2.rs index d3c0a50f20..bb85d3697c 100644 --- a/esp32c3/src/efuse/pgm_check_value2.rs +++ b/esp32c3/src/efuse/pgm_check_value2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The content of the 2nd 32-bit RS code to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_rs_data_2(&mut self) -> PGM_RS_DATA_2_W { PGM_RS_DATA_2_W::new(self, 0) } diff --git a/esp32c3/src/efuse/pgm_data0.rs b/esp32c3/src/efuse/pgm_data0.rs index 2676c1f6a5..9691777d12 100644 --- a/esp32c3/src/efuse/pgm_data0.rs +++ b/esp32c3/src/efuse/pgm_data0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The content of the 0th 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_0(&mut self) -> PGM_DATA_0_W { PGM_DATA_0_W::new(self, 0) } diff --git a/esp32c3/src/efuse/pgm_data1.rs b/esp32c3/src/efuse/pgm_data1.rs index b3802bb980..4ce4c4339d 100644 --- a/esp32c3/src/efuse/pgm_data1.rs +++ b/esp32c3/src/efuse/pgm_data1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The content of the 1st 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_1(&mut self) -> PGM_DATA_1_W { PGM_DATA_1_W::new(self, 0) } diff --git a/esp32c3/src/efuse/pgm_data2.rs b/esp32c3/src/efuse/pgm_data2.rs index fe05569e67..49e46b4e7e 100644 --- a/esp32c3/src/efuse/pgm_data2.rs +++ b/esp32c3/src/efuse/pgm_data2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The content of the 2nd 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_2(&mut self) -> PGM_DATA_2_W { PGM_DATA_2_W::new(self, 0) } diff --git a/esp32c3/src/efuse/pgm_data3.rs b/esp32c3/src/efuse/pgm_data3.rs index 721be6b07a..53270d76fc 100644 --- a/esp32c3/src/efuse/pgm_data3.rs +++ b/esp32c3/src/efuse/pgm_data3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The content of the 3rd 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_3(&mut self) -> PGM_DATA_3_W { PGM_DATA_3_W::new(self, 0) } diff --git a/esp32c3/src/efuse/pgm_data4.rs b/esp32c3/src/efuse/pgm_data4.rs index 84f78f4284..db5f011b1c 100644 --- a/esp32c3/src/efuse/pgm_data4.rs +++ b/esp32c3/src/efuse/pgm_data4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The content of the 4th 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_4(&mut self) -> PGM_DATA_4_W { PGM_DATA_4_W::new(self, 0) } diff --git a/esp32c3/src/efuse/pgm_data5.rs b/esp32c3/src/efuse/pgm_data5.rs index ce70e5d5d6..8a7df71c5e 100644 --- a/esp32c3/src/efuse/pgm_data5.rs +++ b/esp32c3/src/efuse/pgm_data5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The content of the 5th 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_5(&mut self) -> PGM_DATA_5_W { PGM_DATA_5_W::new(self, 0) } diff --git a/esp32c3/src/efuse/pgm_data6.rs b/esp32c3/src/efuse/pgm_data6.rs index 0f8ed00121..e1d3392919 100644 --- a/esp32c3/src/efuse/pgm_data6.rs +++ b/esp32c3/src/efuse/pgm_data6.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The content of the 6th 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_6(&mut self) -> PGM_DATA_6_W { PGM_DATA_6_W::new(self, 0) } diff --git a/esp32c3/src/efuse/pgm_data7.rs b/esp32c3/src/efuse/pgm_data7.rs index 0c5227677f..4294c78bcd 100644 --- a/esp32c3/src/efuse/pgm_data7.rs +++ b/esp32c3/src/efuse/pgm_data7.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The content of the 7th 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_7(&mut self) -> PGM_DATA_7_W { PGM_DATA_7_W::new(self, 0) } diff --git a/esp32c3/src/efuse/rd_tim_conf.rs b/esp32c3/src/efuse/rd_tim_conf.rs index 11a8af2a0f..3b1e957a8c 100644 --- a/esp32c3/src/efuse/rd_tim_conf.rs +++ b/esp32c3/src/efuse/rd_tim_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 24:31 - Configures the initial read time of eFuse."] #[inline(always)] - #[must_use] pub fn read_init_num(&mut self) -> READ_INIT_NUM_W { READ_INIT_NUM_W::new(self, 24) } diff --git a/esp32c3/src/efuse/wr_tim_conf1.rs b/esp32c3/src/efuse/wr_tim_conf1.rs index 9ae13dfb76..ebade0ee21 100644 --- a/esp32c3/src/efuse/wr_tim_conf1.rs +++ b/esp32c3/src/efuse/wr_tim_conf1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 8:23 - Configures the power up time for VDDQ."] #[inline(always)] - #[must_use] pub fn pwr_on_num(&mut self) -> PWR_ON_NUM_W { PWR_ON_NUM_W::new(self, 8) } diff --git a/esp32c3/src/efuse/wr_tim_conf2.rs b/esp32c3/src/efuse/wr_tim_conf2.rs index 2a54a9285a..6c0a829175 100644 --- a/esp32c3/src/efuse/wr_tim_conf2.rs +++ b/esp32c3/src/efuse/wr_tim_conf2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Configures the power outage time for VDDQ."] #[inline(always)] - #[must_use] pub fn pwr_off_num(&mut self) -> PWR_OFF_NUM_W { PWR_OFF_NUM_W::new(self, 0) } diff --git a/esp32c3/src/extmem/cache_acs_cnt_clr.rs b/esp32c3/src/extmem/cache_acs_cnt_clr.rs index f474026453..06a414858d 100644 --- a/esp32c3/src/extmem/cache_acs_cnt_clr.rs +++ b/esp32c3/src/extmem/cache_acs_cnt_clr.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The bit is used to clear ibus counter."] #[inline(always)] - #[must_use] pub fn ibus_acs_cnt_clr(&mut self) -> IBUS_ACS_CNT_CLR_W { IBUS_ACS_CNT_CLR_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to clear dbus counter."] #[inline(always)] - #[must_use] pub fn dbus_acs_cnt_clr(&mut self) -> DBUS_ACS_CNT_CLR_W { DBUS_ACS_CNT_CLR_W::new(self, 1) } diff --git a/esp32c3/src/extmem/cache_conf_misc.rs b/esp32c3/src/extmem/cache_conf_misc.rs index 162e0c9fde..7f258a86b5 100644 --- a/esp32c3/src/extmem/cache_conf_misc.rs +++ b/esp32c3/src/extmem/cache_conf_misc.rs @@ -50,7 +50,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to disable checking mmu entry fault by preload operation."] #[inline(always)] - #[must_use] pub fn cache_ignore_preload_mmu_entry_fault( &mut self, ) -> CACHE_IGNORE_PRELOAD_MMU_ENTRY_FAULT_W { @@ -58,7 +57,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to disable checking mmu entry fault by sync operation."] #[inline(always)] - #[must_use] pub fn cache_ignore_sync_mmu_entry_fault( &mut self, ) -> CACHE_IGNORE_SYNC_MMU_ENTRY_FAULT_W { @@ -66,7 +64,6 @@ impl W { } #[doc = "Bit 2 - The bit is used to enable cache trace function."] #[inline(always)] - #[must_use] pub fn cache_trace_ena(&mut self) -> CACHE_TRACE_ENA_W { CACHE_TRACE_ENA_W::new(self, 2) } diff --git a/esp32c3/src/extmem/cache_encrypt_decrypt_clk_force_on.rs b/esp32c3/src/extmem/cache_encrypt_decrypt_clk_force_on.rs index 206bf19120..21492345ee 100644 --- a/esp32c3/src/extmem/cache_encrypt_decrypt_clk_force_on.rs +++ b/esp32c3/src/extmem/cache_encrypt_decrypt_clk_force_on.rs @@ -47,7 +47,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to close clock gating of manual crypt clock. 1: close gating, 0: open clock gating."] #[inline(always)] - #[must_use] pub fn clk_force_on_manual_crypt( &mut self, ) -> CLK_FORCE_ON_MANUAL_CRYPT_W { @@ -55,7 +54,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to close clock gating of automatic crypt clock. 1: close gating, 0: open clock gating."] #[inline(always)] - #[must_use] pub fn clk_force_on_auto_crypt( &mut self, ) -> CLK_FORCE_ON_AUTO_CRYPT_W { @@ -63,7 +61,6 @@ impl W { } #[doc = "Bit 2 - The bit is used to close clock gating of external memory encrypt and decrypt clock. 1: close gating, 0: open clock gating."] #[inline(always)] - #[must_use] pub fn clk_force_on_crypt( &mut self, ) -> CLK_FORCE_ON_CRYPT_W { diff --git a/esp32c3/src/extmem/cache_encrypt_decrypt_record_disable.rs b/esp32c3/src/extmem/cache_encrypt_decrypt_record_disable.rs index db97daebf7..44172fd361 100644 --- a/esp32c3/src/extmem/cache_encrypt_decrypt_record_disable.rs +++ b/esp32c3/src/extmem/cache_encrypt_decrypt_record_disable.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved."] #[inline(always)] - #[must_use] pub fn record_disable_db_encrypt( &mut self, ) -> RECORD_DISABLE_DB_ENCRYPT_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bit 1 - Reserved."] #[inline(always)] - #[must_use] pub fn record_disable_g0cb_decrypt( &mut self, ) -> RECORD_DISABLE_G0CB_DECRYPT_W { diff --git a/esp32c3/src/extmem/cache_ilg_int_clr.rs b/esp32c3/src/extmem/cache_ilg_int_clr.rs index d762833793..961c0d6c5b 100644 --- a/esp32c3/src/extmem/cache_ilg_int_clr.rs +++ b/esp32c3/src/extmem/cache_ilg_int_clr.rs @@ -19,31 +19,26 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The bit is used to clear interrupt by sync configurations fault."] #[inline(always)] - #[must_use] pub fn icache_sync_op_fault(&mut self) -> ICACHE_SYNC_OP_FAULT_W { ICACHE_SYNC_OP_FAULT_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to clear interrupt by preload configurations fault."] #[inline(always)] - #[must_use] pub fn icache_preload_op_fault(&mut self) -> ICACHE_PRELOAD_OP_FAULT_W { ICACHE_PRELOAD_OP_FAULT_W::new(self, 1) } #[doc = "Bit 5 - The bit is used to clear interrupt by mmu entry fault."] #[inline(always)] - #[must_use] pub fn mmu_entry_fault(&mut self) -> MMU_ENTRY_FAULT_W { MMU_ENTRY_FAULT_W::new(self, 5) } #[doc = "Bit 7 - The bit is used to clear interrupt by ibus counter overflow."] #[inline(always)] - #[must_use] pub fn ibus_cnt_ovf(&mut self) -> IBUS_CNT_OVF_W { IBUS_CNT_OVF_W::new(self, 7) } #[doc = "Bit 8 - The bit is used to clear interrupt by dbus counter overflow."] #[inline(always)] - #[must_use] pub fn dbus_cnt_ovf(&mut self) -> DBUS_CNT_OVF_W { DBUS_CNT_OVF_W::new(self, 8) } diff --git a/esp32c3/src/extmem/cache_ilg_int_ena.rs b/esp32c3/src/extmem/cache_ilg_int_ena.rs index 1f37b0826e..92d2d84030 100644 --- a/esp32c3/src/extmem/cache_ilg_int_ena.rs +++ b/esp32c3/src/extmem/cache_ilg_int_ena.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable interrupt by sync configurations fault."] #[inline(always)] - #[must_use] pub fn icache_sync_op_fault(&mut self) -> ICACHE_SYNC_OP_FAULT_W { ICACHE_SYNC_OP_FAULT_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to enable interrupt by preload configurations fault."] #[inline(always)] - #[must_use] pub fn icache_preload_op_fault(&mut self) -> ICACHE_PRELOAD_OP_FAULT_W { ICACHE_PRELOAD_OP_FAULT_W::new(self, 1) } #[doc = "Bit 5 - The bit is used to enable interrupt by mmu entry fault."] #[inline(always)] - #[must_use] pub fn mmu_entry_fault(&mut self) -> MMU_ENTRY_FAULT_W { MMU_ENTRY_FAULT_W::new(self, 5) } #[doc = "Bit 7 - The bit is used to enable interrupt by ibus counter overflow."] #[inline(always)] - #[must_use] pub fn ibus_cnt_ovf(&mut self) -> IBUS_CNT_OVF_W { IBUS_CNT_OVF_W::new(self, 7) } #[doc = "Bit 8 - The bit is used to enable interrupt by dbus counter overflow."] #[inline(always)] - #[must_use] pub fn dbus_cnt_ovf(&mut self) -> DBUS_CNT_OVF_W { DBUS_CNT_OVF_W::new(self, 8) } diff --git a/esp32c3/src/extmem/cache_mmu_owner.rs b/esp32c3/src/extmem/cache_mmu_owner.rs index b6270e013b..1727553138 100644 --- a/esp32c3/src/extmem/cache_mmu_owner.rs +++ b/esp32c3/src/extmem/cache_mmu_owner.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - The bits are used to specify the owner of MMU.bit0/bit2: ibus, bit1/bit3: dbus"] #[inline(always)] - #[must_use] pub fn cache_mmu_owner(&mut self) -> CACHE_MMU_OWNER_W { CACHE_MMU_OWNER_W::new(self, 0) } diff --git a/esp32c3/src/extmem/cache_mmu_power_ctrl.rs b/esp32c3/src/extmem/cache_mmu_power_ctrl.rs index 2ee38b5aa3..369898856b 100644 --- a/esp32c3/src/extmem/cache_mmu_power_ctrl.rs +++ b/esp32c3/src/extmem/cache_mmu_power_ctrl.rs @@ -44,7 +44,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable clock gating to save power when access mmu memory, 0: enable, 1: disable"] #[inline(always)] - #[must_use] pub fn cache_mmu_mem_force_on( &mut self, ) -> CACHE_MMU_MEM_FORCE_ON_W { @@ -52,7 +51,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to power mmu memory down, 0: follow_rtc_lslp_pd, 1: power down"] #[inline(always)] - #[must_use] pub fn cache_mmu_mem_force_pd( &mut self, ) -> CACHE_MMU_MEM_FORCE_PD_W { @@ -60,7 +58,6 @@ impl W { } #[doc = "Bit 2 - The bit is used to power mmu memory down, 0: follow_rtc_lslp_pd, 1: power up"] #[inline(always)] - #[must_use] pub fn cache_mmu_mem_force_pu( &mut self, ) -> CACHE_MMU_MEM_FORCE_PU_W { diff --git a/esp32c3/src/extmem/cache_preload_int_ctrl.rs b/esp32c3/src/extmem/cache_preload_int_ctrl.rs index ac6e1ec344..5ae4b27236 100644 --- a/esp32c3/src/extmem/cache_preload_int_ctrl.rs +++ b/esp32c3/src/extmem/cache_preload_int_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - The bit is used to enable the interrupt by icache pre-load done."] #[inline(always)] - #[must_use] pub fn ena(&mut self) -> ENA_W { ENA_W::new(self, 1) } #[doc = "Bit 2 - The bit is used to clear the interrupt by icache pre-load done."] #[inline(always)] - #[must_use] pub fn clr(&mut self) -> CLR_W { CLR_W::new(self, 2) } diff --git a/esp32c3/src/extmem/cache_request.rs b/esp32c3/src/extmem/cache_request.rs index 5c421c2f97..5ef39f00b5 100644 --- a/esp32c3/src/extmem/cache_request.rs +++ b/esp32c3/src/extmem/cache_request.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to disable request recording which could cause performance issue"] #[inline(always)] - #[must_use] pub fn bypass(&mut self) -> BYPASS_W { BYPASS_W::new(self, 0) } diff --git a/esp32c3/src/extmem/cache_sync_int_ctrl.rs b/esp32c3/src/extmem/cache_sync_int_ctrl.rs index 0951a07648..91618f51d5 100644 --- a/esp32c3/src/extmem/cache_sync_int_ctrl.rs +++ b/esp32c3/src/extmem/cache_sync_int_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - The bit is used to enable the interrupt by icache sync done."] #[inline(always)] - #[must_use] pub fn ena(&mut self) -> ENA_W { ENA_W::new(self, 1) } #[doc = "Bit 2 - The bit is used to clear the interrupt by icache sync done."] #[inline(always)] - #[must_use] pub fn clr(&mut self) -> CLR_W { CLR_W::new(self, 2) } diff --git a/esp32c3/src/extmem/cache_wrap_around_ctrl.rs b/esp32c3/src/extmem/cache_wrap_around_ctrl.rs index e4ad7fed65..61b2c96ed7 100644 --- a/esp32c3/src/extmem/cache_wrap_around_ctrl.rs +++ b/esp32c3/src/extmem/cache_wrap_around_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable wrap around mode when read data from flash."] #[inline(always)] - #[must_use] pub fn cache_flash_wrap_around( &mut self, ) -> CACHE_FLASH_WRAP_AROUND_W { diff --git a/esp32c3/src/extmem/clock_gate.rs b/esp32c3/src/extmem/clock_gate.rs index 6d315d784a..46b4fd675b 100644 --- a/esp32c3/src/extmem/clock_gate.rs +++ b/esp32c3/src/extmem/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - clock gate enable."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32c3/src/extmem/core0_acs_cache_int_clr.rs b/esp32c3/src/extmem/core0_acs_cache_int_clr.rs index 889f6d85bc..9e14d0aa38 100644 --- a/esp32c3/src/extmem/core0_acs_cache_int_clr.rs +++ b/esp32c3/src/extmem/core0_acs_cache_int_clr.rs @@ -21,7 +21,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The bit is used to clear interrupt by cpu access icache while the corresponding ibus is disabled or icache is disabled which include speculative access."] #[inline(always)] - #[must_use] pub fn core0_ibus_acs_msk_ic( &mut self, ) -> CORE0_IBUS_ACS_MSK_IC_W { @@ -29,19 +28,16 @@ impl W { } #[doc = "Bit 1 - The bit is used to clear interrupt by ibus trying to write icache"] #[inline(always)] - #[must_use] pub fn core0_ibus_wr_ic(&mut self) -> CORE0_IBUS_WR_IC_W { CORE0_IBUS_WR_IC_W::new(self, 1) } #[doc = "Bit 2 - The bit is used to clear interrupt by authentication fail."] #[inline(always)] - #[must_use] pub fn core0_ibus_reject(&mut self) -> CORE0_IBUS_REJECT_W { CORE0_IBUS_REJECT_W::new(self, 2) } #[doc = "Bit 3 - The bit is used to clear interrupt by cpu access icache while the corresponding dbus is disabled or icache is disabled which include speculative access."] #[inline(always)] - #[must_use] pub fn core0_dbus_acs_msk_ic( &mut self, ) -> CORE0_DBUS_ACS_MSK_IC_W { @@ -49,13 +45,11 @@ impl W { } #[doc = "Bit 4 - The bit is used to clear interrupt by authentication fail."] #[inline(always)] - #[must_use] pub fn core0_dbus_reject(&mut self) -> CORE0_DBUS_REJECT_W { CORE0_DBUS_REJECT_W::new(self, 4) } #[doc = "Bit 5 - The bit is used to clear interrupt by dbus trying to write icache"] #[inline(always)] - #[must_use] pub fn core0_dbus_wr_ic(&mut self) -> CORE0_DBUS_WR_IC_W { CORE0_DBUS_WR_IC_W::new(self, 5) } diff --git a/esp32c3/src/extmem/core0_acs_cache_int_ena.rs b/esp32c3/src/extmem/core0_acs_cache_int_ena.rs index 7c06520e98..c0bf303e70 100644 --- a/esp32c3/src/extmem/core0_acs_cache_int_ena.rs +++ b/esp32c3/src/extmem/core0_acs_cache_int_ena.rs @@ -74,7 +74,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable interrupt by cpu access icache while the corresponding ibus is disabled which include speculative access."] #[inline(always)] - #[must_use] pub fn core0_ibus_acs_msk_ic( &mut self, ) -> CORE0_IBUS_ACS_MSK_IC_W { @@ -82,19 +81,16 @@ impl W { } #[doc = "Bit 1 - The bit is used to enable interrupt by ibus trying to write icache"] #[inline(always)] - #[must_use] pub fn core0_ibus_wr_ic(&mut self) -> CORE0_IBUS_WR_IC_W { CORE0_IBUS_WR_IC_W::new(self, 1) } #[doc = "Bit 2 - The bit is used to enable interrupt by authentication fail."] #[inline(always)] - #[must_use] pub fn core0_ibus_reject(&mut self) -> CORE0_IBUS_REJECT_W { CORE0_IBUS_REJECT_W::new(self, 2) } #[doc = "Bit 3 - The bit is used to enable interrupt by cpu access icache while the corresponding dbus is disabled which include speculative access."] #[inline(always)] - #[must_use] pub fn core0_dbus_acs_msk_ic( &mut self, ) -> CORE0_DBUS_ACS_MSK_IC_W { @@ -102,13 +98,11 @@ impl W { } #[doc = "Bit 4 - The bit is used to enable interrupt by authentication fail."] #[inline(always)] - #[must_use] pub fn core0_dbus_reject(&mut self) -> CORE0_DBUS_REJECT_W { CORE0_DBUS_REJECT_W::new(self, 4) } #[doc = "Bit 5 - The bit is used to enable interrupt by dbus trying to write icache"] #[inline(always)] - #[must_use] pub fn core0_dbus_wr_ic(&mut self) -> CORE0_DBUS_WR_IC_W { CORE0_DBUS_WR_IC_W::new(self, 5) } diff --git a/esp32c3/src/extmem/dbus_pms_tbl_attr.rs b/esp32c3/src/extmem/dbus_pms_tbl_attr.rs index 4bd66f1f11..f046a78561 100644 --- a/esp32c3/src/extmem/dbus_pms_tbl_attr.rs +++ b/esp32c3/src/extmem/dbus_pms_tbl_attr.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - The bit is used to configure attribute of the dbus permission control section1, bit0: load in world0, bit2: load in world1"] #[inline(always)] - #[must_use] pub fn dbus_pms_sct1_attr(&mut self) -> DBUS_PMS_SCT1_ATTR_W { DBUS_PMS_SCT1_ATTR_W::new(self, 0) } #[doc = "Bits 2:3 - The bit is used to configure attribute of the dbus permission control section2, bit0: load in world0, bit2: load in world1"] #[inline(always)] - #[must_use] pub fn dbus_pms_sct2_attr(&mut self) -> DBUS_PMS_SCT2_ATTR_W { DBUS_PMS_SCT2_ATTR_W::new(self, 2) } diff --git a/esp32c3/src/extmem/dbus_pms_tbl_boundary0.rs b/esp32c3/src/extmem/dbus_pms_tbl_boundary0.rs index 6382e13df7..26a0cfe2fe 100644 --- a/esp32c3/src/extmem/dbus_pms_tbl_boundary0.rs +++ b/esp32c3/src/extmem/dbus_pms_tbl_boundary0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - The bit is used to configure the dbus permission control section boundary0"] #[inline(always)] - #[must_use] pub fn dbus_pms_boundary0(&mut self) -> DBUS_PMS_BOUNDARY0_W { DBUS_PMS_BOUNDARY0_W::new(self, 0) } diff --git a/esp32c3/src/extmem/dbus_pms_tbl_boundary1.rs b/esp32c3/src/extmem/dbus_pms_tbl_boundary1.rs index 010c9fac91..6d2cecc67f 100644 --- a/esp32c3/src/extmem/dbus_pms_tbl_boundary1.rs +++ b/esp32c3/src/extmem/dbus_pms_tbl_boundary1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - The bit is used to configure the dbus permission control section boundary1"] #[inline(always)] - #[must_use] pub fn dbus_pms_boundary1(&mut self) -> DBUS_PMS_BOUNDARY1_W { DBUS_PMS_BOUNDARY1_W::new(self, 0) } diff --git a/esp32c3/src/extmem/dbus_pms_tbl_boundary2.rs b/esp32c3/src/extmem/dbus_pms_tbl_boundary2.rs index a3d027d9c5..39198c03a1 100644 --- a/esp32c3/src/extmem/dbus_pms_tbl_boundary2.rs +++ b/esp32c3/src/extmem/dbus_pms_tbl_boundary2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - The bit is used to configure the dbus permission control section boundary2"] #[inline(always)] - #[must_use] pub fn dbus_pms_boundary2(&mut self) -> DBUS_PMS_BOUNDARY2_W { DBUS_PMS_BOUNDARY2_W::new(self, 0) } diff --git a/esp32c3/src/extmem/dbus_pms_tbl_lock.rs b/esp32c3/src/extmem/dbus_pms_tbl_lock.rs index 15e6370b71..1dbd31a951 100644 --- a/esp32c3/src/extmem/dbus_pms_tbl_lock.rs +++ b/esp32c3/src/extmem/dbus_pms_tbl_lock.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to configure the ibus permission control section boundary0"] #[inline(always)] - #[must_use] pub fn dbus_pms_lock(&mut self) -> DBUS_PMS_LOCK_W { DBUS_PMS_LOCK_W::new(self, 0) } diff --git a/esp32c3/src/extmem/dbus_to_flash_end_vaddr.rs b/esp32c3/src/extmem/dbus_to_flash_end_vaddr.rs index 03c867292f..8c41b3ec14 100644 --- a/esp32c3/src/extmem/dbus_to_flash_end_vaddr.rs +++ b/esp32c3/src/extmem/dbus_to_flash_end_vaddr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the end virtual address of dbus to access flash. The register is used to give constraints to dbus access counter."] #[inline(always)] - #[must_use] pub fn dbus_to_flash_end_vaddr( &mut self, ) -> DBUS_TO_FLASH_END_VADDR_W { diff --git a/esp32c3/src/extmem/dbus_to_flash_start_vaddr.rs b/esp32c3/src/extmem/dbus_to_flash_start_vaddr.rs index 1ba595992e..d60ec00e91 100644 --- a/esp32c3/src/extmem/dbus_to_flash_start_vaddr.rs +++ b/esp32c3/src/extmem/dbus_to_flash_start_vaddr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the start virtual address of dbus to access flash. The register is used to give constraints to dbus access counter."] #[inline(always)] - #[must_use] pub fn dbus_to_flash_start_vaddr( &mut self, ) -> DBUS_TO_FLASH_START_VADDR_W { diff --git a/esp32c3/src/extmem/ibus_pms_tbl_attr.rs b/esp32c3/src/extmem/ibus_pms_tbl_attr.rs index 10975106be..8587b80ba1 100644 --- a/esp32c3/src/extmem/ibus_pms_tbl_attr.rs +++ b/esp32c3/src/extmem/ibus_pms_tbl_attr.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - The bit is used to configure attribute of the ibus permission control section1, bit0: fetch in world0, bit1: load in world0, bit2: fetch in world1, bit3: load in world1"] #[inline(always)] - #[must_use] pub fn ibus_pms_sct1_attr(&mut self) -> IBUS_PMS_SCT1_ATTR_W { IBUS_PMS_SCT1_ATTR_W::new(self, 0) } #[doc = "Bits 4:7 - The bit is used to configure attribute of the ibus permission control section2, bit0: fetch in world0, bit1: load in world0, bit2: fetch in world1, bit3: load in world1"] #[inline(always)] - #[must_use] pub fn ibus_pms_sct2_attr(&mut self) -> IBUS_PMS_SCT2_ATTR_W { IBUS_PMS_SCT2_ATTR_W::new(self, 4) } diff --git a/esp32c3/src/extmem/ibus_pms_tbl_boundary0.rs b/esp32c3/src/extmem/ibus_pms_tbl_boundary0.rs index 601d5fa85a..9a43dc113a 100644 --- a/esp32c3/src/extmem/ibus_pms_tbl_boundary0.rs +++ b/esp32c3/src/extmem/ibus_pms_tbl_boundary0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - The bit is used to configure the ibus permission control section boundary0"] #[inline(always)] - #[must_use] pub fn ibus_pms_boundary0(&mut self) -> IBUS_PMS_BOUNDARY0_W { IBUS_PMS_BOUNDARY0_W::new(self, 0) } diff --git a/esp32c3/src/extmem/ibus_pms_tbl_boundary1.rs b/esp32c3/src/extmem/ibus_pms_tbl_boundary1.rs index 480bb83356..3078c67a1d 100644 --- a/esp32c3/src/extmem/ibus_pms_tbl_boundary1.rs +++ b/esp32c3/src/extmem/ibus_pms_tbl_boundary1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - The bit is used to configure the ibus permission control section boundary1"] #[inline(always)] - #[must_use] pub fn ibus_pms_boundary1(&mut self) -> IBUS_PMS_BOUNDARY1_W { IBUS_PMS_BOUNDARY1_W::new(self, 0) } diff --git a/esp32c3/src/extmem/ibus_pms_tbl_boundary2.rs b/esp32c3/src/extmem/ibus_pms_tbl_boundary2.rs index 285c9419d9..ad0e11ca71 100644 --- a/esp32c3/src/extmem/ibus_pms_tbl_boundary2.rs +++ b/esp32c3/src/extmem/ibus_pms_tbl_boundary2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - The bit is used to configure the ibus permission control section boundary2"] #[inline(always)] - #[must_use] pub fn ibus_pms_boundary2(&mut self) -> IBUS_PMS_BOUNDARY2_W { IBUS_PMS_BOUNDARY2_W::new(self, 0) } diff --git a/esp32c3/src/extmem/ibus_pms_tbl_lock.rs b/esp32c3/src/extmem/ibus_pms_tbl_lock.rs index 912e36df71..70655430ab 100644 --- a/esp32c3/src/extmem/ibus_pms_tbl_lock.rs +++ b/esp32c3/src/extmem/ibus_pms_tbl_lock.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to configure the ibus permission control section boundary0"] #[inline(always)] - #[must_use] pub fn ibus_pms_lock(&mut self) -> IBUS_PMS_LOCK_W { IBUS_PMS_LOCK_W::new(self, 0) } diff --git a/esp32c3/src/extmem/ibus_to_flash_end_vaddr.rs b/esp32c3/src/extmem/ibus_to_flash_end_vaddr.rs index b28b6a9f5f..618d1f6887 100644 --- a/esp32c3/src/extmem/ibus_to_flash_end_vaddr.rs +++ b/esp32c3/src/extmem/ibus_to_flash_end_vaddr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the end virtual address of ibus to access flash. The register is used to give constraints to ibus access counter."] #[inline(always)] - #[must_use] pub fn ibus_to_flash_end_vaddr( &mut self, ) -> IBUS_TO_FLASH_END_VADDR_W { diff --git a/esp32c3/src/extmem/ibus_to_flash_start_vaddr.rs b/esp32c3/src/extmem/ibus_to_flash_start_vaddr.rs index 437ab2c134..d7d52d00c8 100644 --- a/esp32c3/src/extmem/ibus_to_flash_start_vaddr.rs +++ b/esp32c3/src/extmem/ibus_to_flash_start_vaddr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the start virtual address of ibus to access flash. The register is used to give constraints to ibus access counter."] #[inline(always)] - #[must_use] pub fn ibus_to_flash_start_vaddr( &mut self, ) -> IBUS_TO_FLASH_START_VADDR_W { diff --git a/esp32c3/src/extmem/icache_atomic_operate_ena.rs b/esp32c3/src/extmem/icache_atomic_operate_ena.rs index 07c7db10c6..54b8460366 100644 --- a/esp32c3/src/extmem/icache_atomic_operate_ena.rs +++ b/esp32c3/src/extmem/icache_atomic_operate_ena.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to activate icache atomic operation protection. In this case, sync/lock operation can not interrupt miss-work. This feature does not work during invalidateAll operation."] #[inline(always)] - #[must_use] pub fn icache_atomic_operate_ena( &mut self, ) -> ICACHE_ATOMIC_OPERATE_ENA_W { diff --git a/esp32c3/src/extmem/icache_autoload_ctrl.rs b/esp32c3/src/extmem/icache_autoload_ctrl.rs index c0677ab8d1..3a3b732c40 100644 --- a/esp32c3/src/extmem/icache_autoload_ctrl.rs +++ b/esp32c3/src/extmem/icache_autoload_ctrl.rs @@ -72,7 +72,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bits are used to enable the first section for autoload operation."] #[inline(always)] - #[must_use] pub fn icache_autoload_sct0_ena( &mut self, ) -> ICACHE_AUTOLOAD_SCT0_ENA_W { @@ -80,7 +79,6 @@ impl W { } #[doc = "Bit 1 - The bits are used to enable the second section for autoload operation."] #[inline(always)] - #[must_use] pub fn icache_autoload_sct1_ena( &mut self, ) -> ICACHE_AUTOLOAD_SCT1_ENA_W { @@ -88,19 +86,16 @@ impl W { } #[doc = "Bit 2 - The bit is used to enable and disable autoload operation. It is combined with icache_autoload_done. 1: enable, 0: disable."] #[inline(always)] - #[must_use] pub fn icache_autoload_ena(&mut self) -> ICACHE_AUTOLOAD_ENA_W { ICACHE_AUTOLOAD_ENA_W::new(self, 2) } #[doc = "Bit 4 - The bits are used to configure the direction of autoload. 1: descending, 0: ascending."] #[inline(always)] - #[must_use] pub fn icache_autoload_order(&mut self) -> ICACHE_AUTOLOAD_ORDER_W { ICACHE_AUTOLOAD_ORDER_W::new(self, 4) } #[doc = "Bits 5:6 - The bits are used to configure trigger conditions for autoload. 0/3: cache miss, 1: cache hit, 2: both cache miss and hit."] #[inline(always)] - #[must_use] pub fn icache_autoload_rqst(&mut self) -> ICACHE_AUTOLOAD_RQST_W { ICACHE_AUTOLOAD_RQST_W::new(self, 5) } diff --git a/esp32c3/src/extmem/icache_autoload_sct0_addr.rs b/esp32c3/src/extmem/icache_autoload_sct0_addr.rs index 621850ee08..e97f764896 100644 --- a/esp32c3/src/extmem/icache_autoload_sct0_addr.rs +++ b/esp32c3/src/extmem/icache_autoload_sct0_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the start virtual address of the first section for autoload operation. It should be combined with icache_autoload_sct0_ena."] #[inline(always)] - #[must_use] pub fn icache_autoload_sct0_addr( &mut self, ) -> ICACHE_AUTOLOAD_SCT0_ADDR_W { diff --git a/esp32c3/src/extmem/icache_autoload_sct0_size.rs b/esp32c3/src/extmem/icache_autoload_sct0_size.rs index f0bd416e4f..5a91dc7318 100644 --- a/esp32c3/src/extmem/icache_autoload_sct0_size.rs +++ b/esp32c3/src/extmem/icache_autoload_sct0_size.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:26 - The bits are used to configure the length of the first section for autoload operation. It should be combined with icache_autoload_sct0_ena."] #[inline(always)] - #[must_use] pub fn icache_autoload_sct0_size( &mut self, ) -> ICACHE_AUTOLOAD_SCT0_SIZE_W { diff --git a/esp32c3/src/extmem/icache_autoload_sct1_addr.rs b/esp32c3/src/extmem/icache_autoload_sct1_addr.rs index 2e9851a959..9094448960 100644 --- a/esp32c3/src/extmem/icache_autoload_sct1_addr.rs +++ b/esp32c3/src/extmem/icache_autoload_sct1_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the start virtual address of the second section for autoload operation. It should be combined with icache_autoload_sct1_ena."] #[inline(always)] - #[must_use] pub fn icache_autoload_sct1_addr( &mut self, ) -> ICACHE_AUTOLOAD_SCT1_ADDR_W { diff --git a/esp32c3/src/extmem/icache_autoload_sct1_size.rs b/esp32c3/src/extmem/icache_autoload_sct1_size.rs index 777f0bf4c0..9c47088097 100644 --- a/esp32c3/src/extmem/icache_autoload_sct1_size.rs +++ b/esp32c3/src/extmem/icache_autoload_sct1_size.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:26 - The bits are used to configure the length of the second section for autoload operation. It should be combined with icache_autoload_sct1_ena."] #[inline(always)] - #[must_use] pub fn icache_autoload_sct1_size( &mut self, ) -> ICACHE_AUTOLOAD_SCT1_SIZE_W { diff --git a/esp32c3/src/extmem/icache_ctrl.rs b/esp32c3/src/extmem/icache_ctrl.rs index 9e0822033c..ecf18ec100 100644 --- a/esp32c3/src/extmem/icache_ctrl.rs +++ b/esp32c3/src/extmem/icache_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to activate the data cache. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn icache_enable(&mut self) -> ICACHE_ENABLE_W { ICACHE_ENABLE_W::new(self, 0) } diff --git a/esp32c3/src/extmem/icache_ctrl1.rs b/esp32c3/src/extmem/icache_ctrl1.rs index 590865ab1c..896c8de6ef 100644 --- a/esp32c3/src/extmem/icache_ctrl1.rs +++ b/esp32c3/src/extmem/icache_ctrl1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to disable core0 ibus, 0: enable, 1: disable"] #[inline(always)] - #[must_use] pub fn icache_shut_ibus(&mut self) -> ICACHE_SHUT_IBUS_W { ICACHE_SHUT_IBUS_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to disable core1 ibus, 0: enable, 1: disable"] #[inline(always)] - #[must_use] pub fn icache_shut_dbus(&mut self) -> ICACHE_SHUT_DBUS_W { ICACHE_SHUT_DBUS_W::new(self, 1) } diff --git a/esp32c3/src/extmem/icache_freeze.rs b/esp32c3/src/extmem/icache_freeze.rs index 0e5b532502..4d99e10175 100644 --- a/esp32c3/src/extmem/icache_freeze.rs +++ b/esp32c3/src/extmem/icache_freeze.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable icache freeze mode"] #[inline(always)] - #[must_use] pub fn ena(&mut self) -> ENA_W { ENA_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to configure freeze mode, 0: assert busy if CPU miss 1: assert hit if CPU miss"] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 1) } diff --git a/esp32c3/src/extmem/icache_lock_addr.rs b/esp32c3/src/extmem/icache_lock_addr.rs index 26651e9678..efc1d5e296 100644 --- a/esp32c3/src/extmem/icache_lock_addr.rs +++ b/esp32c3/src/extmem/icache_lock_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the start virtual address for lock operations. It should be combined with ICACHE_LOCK_SIZE_REG."] #[inline(always)] - #[must_use] pub fn icache_lock_addr(&mut self) -> ICACHE_LOCK_ADDR_W { ICACHE_LOCK_ADDR_W::new(self, 0) } diff --git a/esp32c3/src/extmem/icache_lock_ctrl.rs b/esp32c3/src/extmem/icache_lock_ctrl.rs index af2ca28f51..9b9614afaf 100644 --- a/esp32c3/src/extmem/icache_lock_ctrl.rs +++ b/esp32c3/src/extmem/icache_lock_ctrl.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable lock operation. It will be cleared by hardware after lock operation done."] #[inline(always)] - #[must_use] pub fn icache_lock_ena(&mut self) -> ICACHE_LOCK_ENA_W { ICACHE_LOCK_ENA_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to enable unlock operation. It will be cleared by hardware after unlock operation done."] #[inline(always)] - #[must_use] pub fn icache_unlock_ena(&mut self) -> ICACHE_UNLOCK_ENA_W { ICACHE_UNLOCK_ENA_W::new(self, 1) } diff --git a/esp32c3/src/extmem/icache_lock_size.rs b/esp32c3/src/extmem/icache_lock_size.rs index aa82a0c081..e78d2ee61b 100644 --- a/esp32c3/src/extmem/icache_lock_size.rs +++ b/esp32c3/src/extmem/icache_lock_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The bits are used to configure the length for lock operations. The bits are the counts of cache block. It should be combined with ICACHE_LOCK_ADDR_REG."] #[inline(always)] - #[must_use] pub fn icache_lock_size(&mut self) -> ICACHE_LOCK_SIZE_W { ICACHE_LOCK_SIZE_W::new(self, 0) } diff --git a/esp32c3/src/extmem/icache_preload_addr.rs b/esp32c3/src/extmem/icache_preload_addr.rs index c3c423d767..96fe33223f 100644 --- a/esp32c3/src/extmem/icache_preload_addr.rs +++ b/esp32c3/src/extmem/icache_preload_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the start virtual address for preload operation. It should be combined with ICACHE_PRELOAD_SIZE_REG."] #[inline(always)] - #[must_use] pub fn icache_preload_addr(&mut self) -> ICACHE_PRELOAD_ADDR_W { ICACHE_PRELOAD_ADDR_W::new(self, 0) } diff --git a/esp32c3/src/extmem/icache_preload_ctrl.rs b/esp32c3/src/extmem/icache_preload_ctrl.rs index 49ecd485db..aaa0955f2b 100644 --- a/esp32c3/src/extmem/icache_preload_ctrl.rs +++ b/esp32c3/src/extmem/icache_preload_ctrl.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable preload operation. It will be cleared by hardware after preload operation done."] #[inline(always)] - #[must_use] pub fn icache_preload_ena(&mut self) -> ICACHE_PRELOAD_ENA_W { ICACHE_PRELOAD_ENA_W::new(self, 0) } #[doc = "Bit 2 - The bit is used to configure the direction of preload operation. 1: descending, 0: ascending."] #[inline(always)] - #[must_use] pub fn icache_preload_order(&mut self) -> ICACHE_PRELOAD_ORDER_W { ICACHE_PRELOAD_ORDER_W::new(self, 2) } diff --git a/esp32c3/src/extmem/icache_preload_size.rs b/esp32c3/src/extmem/icache_preload_size.rs index 6f37fc3d84..8e86fb2588 100644 --- a/esp32c3/src/extmem/icache_preload_size.rs +++ b/esp32c3/src/extmem/icache_preload_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The bits are used to configure the length for preload operation. The bits are the counts of cache block. It should be combined with ICACHE_PRELOAD_ADDR_REG.."] #[inline(always)] - #[must_use] pub fn icache_preload_size(&mut self) -> ICACHE_PRELOAD_SIZE_W { ICACHE_PRELOAD_SIZE_W::new(self, 0) } diff --git a/esp32c3/src/extmem/icache_prelock_ctrl.rs b/esp32c3/src/extmem/icache_prelock_ctrl.rs index 2a66b6ed8e..acb7b86fd1 100644 --- a/esp32c3/src/extmem/icache_prelock_ctrl.rs +++ b/esp32c3/src/extmem/icache_prelock_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable the first section of prelock function."] #[inline(always)] - #[must_use] pub fn icache_prelock_sct0_en(&mut self) -> ICACHE_PRELOCK_SCT0_EN_W { ICACHE_PRELOCK_SCT0_EN_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to enable the second section of prelock function."] #[inline(always)] - #[must_use] pub fn icache_prelock_sct1_en(&mut self) -> ICACHE_PRELOCK_SCT1_EN_W { ICACHE_PRELOCK_SCT1_EN_W::new(self, 1) } diff --git a/esp32c3/src/extmem/icache_prelock_sct0_addr.rs b/esp32c3/src/extmem/icache_prelock_sct0_addr.rs index 8b618ec0ea..1f84ba53a2 100644 --- a/esp32c3/src/extmem/icache_prelock_sct0_addr.rs +++ b/esp32c3/src/extmem/icache_prelock_sct0_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the first start virtual address of data prelock, which is combined with ICACHE_PRELOCK_SCT0_SIZE_REG"] #[inline(always)] - #[must_use] pub fn icache_prelock_sct0_addr( &mut self, ) -> ICACHE_PRELOCK_SCT0_ADDR_W { diff --git a/esp32c3/src/extmem/icache_prelock_sct1_addr.rs b/esp32c3/src/extmem/icache_prelock_sct1_addr.rs index b4449eb9e3..53f3994174 100644 --- a/esp32c3/src/extmem/icache_prelock_sct1_addr.rs +++ b/esp32c3/src/extmem/icache_prelock_sct1_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the second start virtual address of data prelock, which is combined with ICACHE_PRELOCK_SCT1_SIZE_REG"] #[inline(always)] - #[must_use] pub fn icache_prelock_sct1_addr( &mut self, ) -> ICACHE_PRELOCK_SCT1_ADDR_W { diff --git a/esp32c3/src/extmem/icache_prelock_sct_size.rs b/esp32c3/src/extmem/icache_prelock_sct_size.rs index e040c56e52..378c7fb110 100644 --- a/esp32c3/src/extmem/icache_prelock_sct_size.rs +++ b/esp32c3/src/extmem/icache_prelock_sct_size.rs @@ -34,7 +34,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The bits are used to configure the second length of data locking, which is combined with ICACHE_PRELOCK_SCT1_ADDR_REG"] #[inline(always)] - #[must_use] pub fn icache_prelock_sct1_size( &mut self, ) -> ICACHE_PRELOCK_SCT1_SIZE_W { @@ -42,7 +41,6 @@ impl W { } #[doc = "Bits 16:31 - The bits are used to configure the first length of data locking, which is combined with ICACHE_PRELOCK_SCT0_ADDR_REG"] #[inline(always)] - #[must_use] pub fn icache_prelock_sct0_size( &mut self, ) -> ICACHE_PRELOCK_SCT0_SIZE_W { diff --git a/esp32c3/src/extmem/icache_sync_addr.rs b/esp32c3/src/extmem/icache_sync_addr.rs index d4164bda38..18234817d6 100644 --- a/esp32c3/src/extmem/icache_sync_addr.rs +++ b/esp32c3/src/extmem/icache_sync_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the start virtual address for clean operations. It should be combined with ICACHE_SYNC_SIZE_REG."] #[inline(always)] - #[must_use] pub fn icache_sync_addr(&mut self) -> ICACHE_SYNC_ADDR_W { ICACHE_SYNC_ADDR_W::new(self, 0) } diff --git a/esp32c3/src/extmem/icache_sync_ctrl.rs b/esp32c3/src/extmem/icache_sync_ctrl.rs index 460b43337d..184eb4aa6c 100644 --- a/esp32c3/src/extmem/icache_sync_ctrl.rs +++ b/esp32c3/src/extmem/icache_sync_ctrl.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable invalidate operation. It will be cleared by hardware after invalidate operation done."] #[inline(always)] - #[must_use] pub fn icache_invalidate_ena(&mut self) -> ICACHE_INVALIDATE_ENA_W { ICACHE_INVALIDATE_ENA_W::new(self, 0) } diff --git a/esp32c3/src/extmem/icache_sync_size.rs b/esp32c3/src/extmem/icache_sync_size.rs index d67b16f190..87f4b563c2 100644 --- a/esp32c3/src/extmem/icache_sync_size.rs +++ b/esp32c3/src/extmem/icache_sync_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:22 - The bits are used to configure the length for sync operations. The bits are the counts of cache block. It should be combined with ICACHE_SYNC_ADDR_REG."] #[inline(always)] - #[must_use] pub fn icache_sync_size(&mut self) -> ICACHE_SYNC_SIZE_W { ICACHE_SYNC_SIZE_W::new(self, 0) } diff --git a/esp32c3/src/extmem/icache_tag_power_ctrl.rs b/esp32c3/src/extmem/icache_tag_power_ctrl.rs index b2bb256a7d..7e4661d460 100644 --- a/esp32c3/src/extmem/icache_tag_power_ctrl.rs +++ b/esp32c3/src/extmem/icache_tag_power_ctrl.rs @@ -44,7 +44,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to close clock gating of icache tag memory. 1: close gating, 0: open clock gating."] #[inline(always)] - #[must_use] pub fn icache_tag_mem_force_on( &mut self, ) -> ICACHE_TAG_MEM_FORCE_ON_W { @@ -52,7 +51,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to power icache tag memory down, 0: follow rtc_lslp, 1: power down"] #[inline(always)] - #[must_use] pub fn icache_tag_mem_force_pd( &mut self, ) -> ICACHE_TAG_MEM_FORCE_PD_W { @@ -60,7 +58,6 @@ impl W { } #[doc = "Bit 2 - The bit is used to power icache tag memory up, 0: follow rtc_lslp, 1: power up"] #[inline(always)] - #[must_use] pub fn icache_tag_mem_force_pu( &mut self, ) -> ICACHE_TAG_MEM_FORCE_PU_W { diff --git a/esp32c3/src/extmem/reg_date.rs b/esp32c3/src/extmem/reg_date.rs index 4ef842782a..d7f9185c12 100644 --- a/esp32c3/src/extmem/reg_date.rs +++ b/esp32c3/src/extmem/reg_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - version information"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c3/src/fe/gen_ctrl.rs b/esp32c3/src/fe/gen_ctrl.rs index b0d00836ae..00fcd0ce83 100644 --- a/esp32c3/src/fe/gen_ctrl.rs +++ b/esp32c3/src/fe/gen_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 4 - Force Power Down for IQ Estimation"] #[inline(always)] - #[must_use] pub fn iq_est_force_pd(&mut self) -> IQ_EST_FORCE_PD_W { IQ_EST_FORCE_PD_W::new(self, 4) } #[doc = "Bit 5 - Force Power Up for IQ Estimation"] #[inline(always)] - #[must_use] pub fn iq_est_force_pu(&mut self) -> IQ_EST_FORCE_PU_W { IQ_EST_FORCE_PU_W::new(self, 5) } diff --git a/esp32c3/src/fe2/tx_interp_ctrl.rs b/esp32c3/src/fe2/tx_interp_ctrl.rs index c019b49ecc..badc771101 100644 --- a/esp32c3/src/fe2/tx_interp_ctrl.rs +++ b/esp32c3/src/fe2/tx_interp_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 9 - Force Power Down field"] #[inline(always)] - #[must_use] pub fn tx_inf_force_pd(&mut self) -> TX_INF_FORCE_PD_W { TX_INF_FORCE_PD_W::new(self, 9) } #[doc = "Bit 10 - Force Power Up field"] #[inline(always)] - #[must_use] pub fn tx_inf_force_pu(&mut self) -> TX_INF_FORCE_PU_W { TX_INF_FORCE_PU_W::new(self, 10) } diff --git a/esp32c3/src/generic.rs b/esp32c3/src/generic.rs index d57106cb27..a7cb020aef 100644 --- a/esp32c3/src/generic.rs +++ b/esp32c3/src/generic.rs @@ -524,18 +524,60 @@ impl Reg { #[doc = " ```"] #[doc = " In the latter case, other fields will be set to their reset value."] #[inline(always)] - pub fn write(&self, f: F) + pub fn write(&self, f: F) -> REG::Ux where F: FnOnce(&mut W) -> &mut W, { - self.register.set( - f(&mut W { - bits: REG::RESET_VALUE & !REG::ONE_TO_MODIFY_FIELDS_BITMAP - | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, - _reg: marker::PhantomData, - }) - .bits, - ); + let value = f(&mut W { + bits: REG::RESET_VALUE & !REG::ONE_TO_MODIFY_FIELDS_BITMAP + | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }) + .bits; + self.register.set(value); + value + } + #[doc = " Writes bits to a `Writable` register and produce a value."] + #[doc = ""] + #[doc = " You can write raw bits into a register:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.write_and(|w| unsafe { w.bits(rawbits); });"] + #[doc = " ```"] + #[doc = " or write only the fields you need:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.write_and(|w| {"] + #[doc = " w.field1().bits(newfield1bits)"] + #[doc = " .field2().set_bit()"] + #[doc = " .field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " or an alternative way of saying the same:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.write_and(|w| {"] + #[doc = " w.field1().bits(newfield1bits);"] + #[doc = " w.field2().set_bit();"] + #[doc = " w.field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " In the latter case, other fields will be set to their reset value."] + #[doc = ""] + #[doc = " Values can be returned from the closure:"] + #[doc = " ```ignore"] + #[doc = " let state = periph.reg.write_and(|w| State::set(w.field1()));"] + #[doc = " ```"] + #[inline(always)] + pub fn from_write(&self, f: F) -> T + where + F: FnOnce(&mut W) -> T, + { + let mut writer = W { + bits: REG::RESET_VALUE & !REG::ONE_TO_MODIFY_FIELDS_BITMAP + | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }; + let result = f(&mut writer); + self.register.set(writer.bits); + result } } impl Reg { @@ -547,17 +589,37 @@ impl Reg { #[doc = ""] #[doc = " Unsafe to use with registers which don't allow to write 0."] #[inline(always)] - pub unsafe fn write_with_zero(&self, f: F) + pub unsafe fn write_with_zero(&self, f: F) -> REG::Ux where F: FnOnce(&mut W) -> &mut W, { - self.register.set( - f(&mut W { - bits: REG::Ux::default(), - _reg: marker::PhantomData, - }) - .bits, - ); + let value = f(&mut W { + bits: REG::Ux::default(), + _reg: marker::PhantomData, + }) + .bits; + self.register.set(value); + value + } + #[doc = " Writes 0 to a `Writable` register and produces a value."] + #[doc = ""] + #[doc = " Similar to `write`, but unused bits will contain 0."] + #[doc = ""] + #[doc = " # Safety"] + #[doc = ""] + #[doc = " Unsafe to use with registers which don't allow to write 0."] + #[inline(always)] + pub unsafe fn from_write_with_zero(&self, f: F) -> T + where + F: FnOnce(&mut W) -> T, + { + let mut writer = W { + bits: REG::Ux::default(), + _reg: marker::PhantomData, + }; + let result = f(&mut writer); + self.register.set(writer.bits); + result } } impl Reg { @@ -587,25 +649,75 @@ impl Reg { #[doc = " ```"] #[doc = " Other fields will have the value they had before the call to `modify`."] #[inline(always)] - pub fn modify(&self, f: F) + pub fn modify(&self, f: F) -> REG::Ux where for<'w> F: FnOnce(&R, &'w mut W) -> &'w mut W, { let bits = self.register.get(); - self.register.set( - f( - &R { - bits, - _reg: marker::PhantomData, - }, - &mut W { - bits: bits & !REG::ONE_TO_MODIFY_FIELDS_BITMAP - | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, - _reg: marker::PhantomData, - }, - ) - .bits, + let value = f( + &R { + bits, + _reg: marker::PhantomData, + }, + &mut W { + bits: bits & !REG::ONE_TO_MODIFY_FIELDS_BITMAP | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }, + ) + .bits; + self.register.set(value); + value + } + #[doc = " Modifies the contents of the register by reading and then writing it"] + #[doc = " and produces a value."] + #[doc = ""] + #[doc = " E.g. to do a read-modify-write sequence to change parts of a register:"] + #[doc = " ```ignore"] + #[doc = " let bits = periph.reg.modify(|r, w| {"] + #[doc = " let new_bits = r.bits() | 3;"] + #[doc = " unsafe {"] + #[doc = " w.bits(new_bits);"] + #[doc = " }"] + #[doc = ""] + #[doc = " new_bits"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " or"] + #[doc = " ```ignore"] + #[doc = " periph.reg.modify(|_, w| {"] + #[doc = " w.field1().bits(newfield1bits)"] + #[doc = " .field2().set_bit()"] + #[doc = " .field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " or an alternative way of saying the same:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.modify(|_, w| {"] + #[doc = " w.field1().bits(newfield1bits);"] + #[doc = " w.field2().set_bit();"] + #[doc = " w.field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " Other fields will have the value they had before the call to `modify`."] + #[inline(always)] + pub fn from_modify(&self, f: F) -> T + where + for<'w> F: FnOnce(&R, &'w mut W) -> T, + { + let bits = self.register.get(); + let mut writer = W { + bits: bits & !REG::ONE_TO_MODIFY_FIELDS_BITMAP | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }; + let result = f( + &R { + bits, + _reg: marker::PhantomData, + }, + &mut writer, ); + self.register.set(writer.bits); + result } } impl core::fmt::Debug for crate::generic::Reg diff --git a/esp32c3/src/generic/raw.rs b/esp32c3/src/generic/raw.rs index 81f5779524..d60a23a7cc 100644 --- a/esp32c3/src/generic/raw.rs +++ b/esp32c3/src/generic/raw.rs @@ -41,6 +41,7 @@ impl BitReader { } } } +#[must_use = "after creating `FieldWriter` you need to call field value setting method"] pub struct FieldWriter<'a, REG, const WI: u8, FI = u8, Safety = Unsafe> where REG: Writable + RegisterSpec, @@ -66,6 +67,7 @@ where } } } +#[must_use = "after creating `BitWriter` you need to call bit setting method"] pub struct BitWriter<'a, REG, FI = bool, M = BitM> where REG: Writable + RegisterSpec, diff --git a/esp32c3/src/gpio/bt_select.rs b/esp32c3/src/gpio/bt_select.rs index d7b1c5cbd7..1207e6041d 100644 --- a/esp32c3/src/gpio/bt_select.rs +++ b/esp32c3/src/gpio/bt_select.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - GPIO bit select register"] #[inline(always)] - #[must_use] pub fn bt_sel(&mut self) -> BT_SEL_W { BT_SEL_W::new(self, 0) } diff --git a/esp32c3/src/gpio/clock_gate.rs b/esp32c3/src/gpio/clock_gate.rs index dc08365f35..fcb38c1911 100644 --- a/esp32c3/src/gpio/clock_gate.rs +++ b/esp32c3/src/gpio/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - set this bit to enable GPIO clock gate"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32c3/src/gpio/enable.rs b/esp32c3/src/gpio/enable.rs index d62e8f8b9a..d469359ff7 100644 --- a/esp32c3/src/gpio/enable.rs +++ b/esp32c3/src/gpio/enable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:25 - GPIO output enable register for GPIO0-25"] #[inline(always)] - #[must_use] pub fn data(&mut self) -> DATA_W { DATA_W::new(self, 0) } diff --git a/esp32c3/src/gpio/enable_w1tc.rs b/esp32c3/src/gpio/enable_w1tc.rs index fcc88cef08..3172273c38 100644 --- a/esp32c3/src/gpio/enable_w1tc.rs +++ b/esp32c3/src/gpio/enable_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:25 - GPIO output enable clear register for GPIO0-25"] #[inline(always)] - #[must_use] pub fn enable_w1tc(&mut self) -> ENABLE_W1TC_W { ENABLE_W1TC_W::new(self, 0) } diff --git a/esp32c3/src/gpio/enable_w1ts.rs b/esp32c3/src/gpio/enable_w1ts.rs index bebc7098c0..b917670d9e 100644 --- a/esp32c3/src/gpio/enable_w1ts.rs +++ b/esp32c3/src/gpio/enable_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:25 - GPIO output enable set register for GPIO0-25"] #[inline(always)] - #[must_use] pub fn enable_w1ts(&mut self) -> ENABLE_W1TS_W { ENABLE_W1TS_W::new(self, 0) } diff --git a/esp32c3/src/gpio/func_in_sel_cfg.rs b/esp32c3/src/gpio/func_in_sel_cfg.rs index 1a93462d63..7eb28f83db 100644 --- a/esp32c3/src/gpio/func_in_sel_cfg.rs +++ b/esp32c3/src/gpio/func_in_sel_cfg.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - set this value: s=0-53: connect GPIO\\[s\\] to this port. s=0x38: set this port always high level. s=0x3C: set this port always low level."] #[inline(always)] - #[must_use] pub fn in_sel(&mut self) -> IN_SEL_W { IN_SEL_W::new(self, 0) } #[doc = "Bit 5 - set this bit to invert input signal. 1:invert. 0:not invert."] #[inline(always)] - #[must_use] pub fn in_inv_sel(&mut self) -> IN_INV_SEL_W { IN_INV_SEL_W::new(self, 5) } #[doc = "Bit 6 - set this bit to bypass GPIO. 1:do not bypass GPIO. 0:bypass GPIO."] #[inline(always)] - #[must_use] pub fn sel(&mut self) -> SEL_W { SEL_W::new(self, 6) } diff --git a/esp32c3/src/gpio/func_out_sel_cfg.rs b/esp32c3/src/gpio/func_out_sel_cfg.rs index aa5447d2fc..82a9d31769 100644 --- a/esp32c3/src/gpio/func_out_sel_cfg.rs +++ b/esp32c3/src/gpio/func_out_sel_cfg.rs @@ -2,9 +2,9 @@ pub type R = crate::R; #[doc = "Register `FUNC%s_OUT_SEL_CFG` writer"] pub type W = crate::W; -#[doc = "Field `OUT_SEL` reader - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-255: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=256: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] +#[doc = "Field `OUT_SEL` reader - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-255: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=256: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] pub type OUT_SEL_R = crate::FieldReader; -#[doc = "Field `OUT_SEL` writer - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-255: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=256: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] +#[doc = "Field `OUT_SEL` writer - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-255: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=256: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] pub type OUT_SEL_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; #[doc = "Field `INV_SEL` reader - set this bit to invert output signal.1:invert.0:not invert."] pub type INV_SEL_R = crate::BitReader; @@ -19,7 +19,7 @@ pub type OEN_INV_SEL_R = crate::BitReader; #[doc = "Field `OEN_INV_SEL` writer - set this bit to invert output enable signal.1:invert.0:not invert."] pub type OEN_INV_SEL_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { - #[doc = "Bits 0:7 - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-255: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=256: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] + #[doc = "Bits 0:7 - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-255: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=256: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] #[inline(always)] pub fn out_sel(&self) -> OUT_SEL_R { OUT_SEL_R::new((self.bits & 0xff) as u8) @@ -52,27 +52,23 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bits 0:7 - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-255: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=256: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] + #[doc = "Bits 0:7 - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-255: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=256: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] #[inline(always)] - #[must_use] pub fn out_sel(&mut self) -> OUT_SEL_W { OUT_SEL_W::new(self, 0) } #[doc = "Bit 8 - set this bit to invert output signal.1:invert.0:not invert."] #[inline(always)] - #[must_use] pub fn inv_sel(&mut self) -> INV_SEL_W { INV_SEL_W::new(self, 8) } #[doc = "Bit 9 - set this bit to select output enable signal.1:use GPIO_ENABLE_REG\\[n\\] as output enable signal.0:use peripheral output enable signal."] #[inline(always)] - #[must_use] pub fn oen_sel(&mut self) -> OEN_SEL_W { OEN_SEL_W::new(self, 9) } #[doc = "Bit 10 - set this bit to invert output enable signal.1:invert.0:not invert."] #[inline(always)] - #[must_use] pub fn oen_inv_sel(&mut self) -> OEN_INV_SEL_W { OEN_INV_SEL_W::new(self, 10) } diff --git a/esp32c3/src/gpio/out.rs b/esp32c3/src/gpio/out.rs index fcd3adc658..2d6489fe2f 100644 --- a/esp32c3/src/gpio/out.rs +++ b/esp32c3/src/gpio/out.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:25 - GPIO output register for GPIO0-25"] #[inline(always)] - #[must_use] pub fn data_orig(&mut self) -> DATA_ORIG_W { DATA_ORIG_W::new(self, 0) } diff --git a/esp32c3/src/gpio/out_w1tc.rs b/esp32c3/src/gpio/out_w1tc.rs index 35b897e5ec..b22f8c448a 100644 --- a/esp32c3/src/gpio/out_w1tc.rs +++ b/esp32c3/src/gpio/out_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:25 - GPIO output clear register for GPIO0-25"] #[inline(always)] - #[must_use] pub fn out_w1tc(&mut self) -> OUT_W1TC_W { OUT_W1TC_W::new(self, 0) } diff --git a/esp32c3/src/gpio/out_w1ts.rs b/esp32c3/src/gpio/out_w1ts.rs index bff16fc8df..549c454531 100644 --- a/esp32c3/src/gpio/out_w1ts.rs +++ b/esp32c3/src/gpio/out_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:25 - GPIO output set register for GPIO0-25"] #[inline(always)] - #[must_use] pub fn out_w1ts(&mut self) -> OUT_W1TS_W { OUT_W1TS_W::new(self, 0) } diff --git a/esp32c3/src/gpio/pin.rs b/esp32c3/src/gpio/pin.rs index 28a30e66af..5bad7dea08 100644 --- a/esp32c3/src/gpio/pin.rs +++ b/esp32c3/src/gpio/pin.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - set GPIO input_sync2 signal mode. 0:disable. 1:trigger at negedge. 2or3:trigger at posedge."] #[inline(always)] - #[must_use] pub fn sync2_bypass(&mut self) -> SYNC2_BYPASS_W { SYNC2_BYPASS_W::new(self, 0) } #[doc = "Bit 2 - set this bit to select pad driver. 1:open-drain. 0:normal."] #[inline(always)] - #[must_use] pub fn pad_driver(&mut self) -> PAD_DRIVER_W { PAD_DRIVER_W::new(self, 2) } #[doc = "Bits 3:4 - set GPIO input_sync1 signal mode. 0:disable. 1:trigger at negedge. 2or3:trigger at posedge."] #[inline(always)] - #[must_use] pub fn sync1_bypass(&mut self) -> SYNC1_BYPASS_W { SYNC1_BYPASS_W::new(self, 3) } #[doc = "Bits 7:9 - set this value to choose interrupt mode. 0:disable GPIO interrupt. 1:trigger at posedge. 2:trigger at negedge. 3:trigger at any edge. 4:valid at low level. 5:valid at high level"] #[inline(always)] - #[must_use] pub fn int_type(&mut self) -> INT_TYPE_W { INT_TYPE_W::new(self, 7) } #[doc = "Bit 10 - set this bit to enable GPIO wakeup.(can only wakeup CPU from Light-sleep Mode)"] #[inline(always)] - #[must_use] pub fn wakeup_enable(&mut self) -> WAKEUP_ENABLE_W { WAKEUP_ENABLE_W::new(self, 10) } #[doc = "Bits 11:12 - reserved"] #[inline(always)] - #[must_use] pub fn config(&mut self) -> CONFIG_W { CONFIG_W::new(self, 11) } #[doc = "Bits 13:17 - set bit 13 to enable CPU interrupt. set bit 14 to enable CPU(not shielded) interrupt."] #[inline(always)] - #[must_use] pub fn int_ena(&mut self) -> INT_ENA_W { INT_ENA_W::new(self, 13) } diff --git a/esp32c3/src/gpio/reg_date.rs b/esp32c3/src/gpio/reg_date.rs index 45258d8656..2c2057a925 100644 --- a/esp32c3/src/gpio/reg_date.rs +++ b/esp32c3/src/gpio/reg_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - version register"] #[inline(always)] - #[must_use] pub fn reg_date(&mut self) -> REG_DATE_W { REG_DATE_W::new(self, 0) } diff --git a/esp32c3/src/gpio/sdio_select.rs b/esp32c3/src/gpio/sdio_select.rs index 4099035e5f..20bb242683 100644 --- a/esp32c3/src/gpio/sdio_select.rs +++ b/esp32c3/src/gpio/sdio_select.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - GPIO sdio select register"] #[inline(always)] - #[must_use] pub fn sdio_sel(&mut self) -> SDIO_SEL_W { SDIO_SEL_W::new(self, 0) } diff --git a/esp32c3/src/gpio/status.rs b/esp32c3/src/gpio/status.rs index 37bda186c8..425ec3e828 100644 --- a/esp32c3/src/gpio/status.rs +++ b/esp32c3/src/gpio/status.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:25 - GPIO interrupt status register for GPIO0-25"] #[inline(always)] - #[must_use] pub fn interrupt(&mut self) -> INTERRUPT_W { INTERRUPT_W::new(self, 0) } diff --git a/esp32c3/src/gpio/status_w1tc.rs b/esp32c3/src/gpio/status_w1tc.rs index 4765cd63f4..27c439921c 100644 --- a/esp32c3/src/gpio/status_w1tc.rs +++ b/esp32c3/src/gpio/status_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:25 - GPIO interrupt status clear register for GPIO0-25"] #[inline(always)] - #[must_use] pub fn status_w1tc(&mut self) -> STATUS_W1TC_W { STATUS_W1TC_W::new(self, 0) } diff --git a/esp32c3/src/gpio/status_w1ts.rs b/esp32c3/src/gpio/status_w1ts.rs index f85b2fc829..5d39298148 100644 --- a/esp32c3/src/gpio/status_w1ts.rs +++ b/esp32c3/src/gpio/status_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:25 - GPIO interrupt status set register for GPIO0-25"] #[inline(always)] - #[must_use] pub fn status_w1ts(&mut self) -> STATUS_W1TS_W { STATUS_W1TS_W::new(self, 0) } diff --git a/esp32c3/src/gpio_sd/clock_gate.rs b/esp32c3/src/gpio_sd/clock_gate.rs index c260e2a103..49ae0f928c 100644 --- a/esp32c3/src/gpio_sd/clock_gate.rs +++ b/esp32c3/src/gpio_sd/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - Clock enable bit of configuration registers for sigma delta modulation."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32c3/src/gpio_sd/sigmadelta.rs b/esp32c3/src/gpio_sd/sigmadelta.rs index 38e02d27b9..aed653d231 100644 --- a/esp32c3/src/gpio_sd/sigmadelta.rs +++ b/esp32c3/src/gpio_sd/sigmadelta.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This field is used to configure the duty cycle of sigma delta modulation output."] #[inline(always)] - #[must_use] pub fn in_(&mut self) -> IN_W { IN_W::new(self, 0) } #[doc = "Bits 8:15 - This field is used to set a divider value to divide APB clock."] #[inline(always)] - #[must_use] pub fn prescale(&mut self) -> PRESCALE_W { PRESCALE_W::new(self, 8) } diff --git a/esp32c3/src/gpio_sd/sigmadelta_misc.rs b/esp32c3/src/gpio_sd/sigmadelta_misc.rs index 4ab13a96f5..3f7dca6ec7 100644 --- a/esp32c3/src/gpio_sd/sigmadelta_misc.rs +++ b/esp32c3/src/gpio_sd/sigmadelta_misc.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - Clock enable bit of sigma delta modulation."] #[inline(always)] - #[must_use] pub fn function_clk_en(&mut self) -> FUNCTION_CLK_EN_W { FUNCTION_CLK_EN_W::new(self, 30) } #[doc = "Bit 31 - Reserved."] #[inline(always)] - #[must_use] pub fn spi_swap(&mut self) -> SPI_SWAP_W { SPI_SWAP_W::new(self, 31) } diff --git a/esp32c3/src/gpio_sd/version.rs b/esp32c3/src/gpio_sd/version.rs index b212013da3..c003852eff 100644 --- a/esp32c3/src/gpio_sd/version.rs +++ b/esp32c3/src/gpio_sd/version.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Version control register."] #[inline(always)] - #[must_use] pub fn gpio_sd_date(&mut self) -> GPIO_SD_DATE_W { GPIO_SD_DATE_W::new(self, 0) } diff --git a/esp32c3/src/hmac/one_block.rs b/esp32c3/src/hmac/one_block.rs index b43566689f..b4035ad8b6 100644 --- a/esp32c3/src/hmac/one_block.rs +++ b/esp32c3/src/hmac/one_block.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Don't have to do padding."] #[inline(always)] - #[must_use] pub fn set_one_block(&mut self) -> SET_ONE_BLOCK_W { SET_ONE_BLOCK_W::new(self, 0) } diff --git a/esp32c3/src/hmac/set_invalidate_ds.rs b/esp32c3/src/hmac/set_invalidate_ds.rs index 111bcc4282..407f746e9e 100644 --- a/esp32c3/src/hmac/set_invalidate_ds.rs +++ b/esp32c3/src/hmac/set_invalidate_ds.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Clear result from hmac downstream DS."] #[inline(always)] - #[must_use] pub fn set_invalidate_ds(&mut self) -> SET_INVALIDATE_DS_W { SET_INVALIDATE_DS_W::new(self, 0) } diff --git a/esp32c3/src/hmac/set_invalidate_jtag.rs b/esp32c3/src/hmac/set_invalidate_jtag.rs index d3506d5640..82a7427c4a 100644 --- a/esp32c3/src/hmac/set_invalidate_jtag.rs +++ b/esp32c3/src/hmac/set_invalidate_jtag.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Clear result from hmac downstream JTAG."] #[inline(always)] - #[must_use] pub fn set_invalidate_jtag(&mut self) -> SET_INVALIDATE_JTAG_W { SET_INVALIDATE_JTAG_W::new(self, 0) } diff --git a/esp32c3/src/hmac/set_message_end.rs b/esp32c3/src/hmac/set_message_end.rs index 3ae43ef9c8..7006fb27f4 100644 --- a/esp32c3/src/hmac/set_message_end.rs +++ b/esp32c3/src/hmac/set_message_end.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Start hardware padding."] #[inline(always)] - #[must_use] pub fn set_text_end(&mut self) -> SET_TEXT_END_W { SET_TEXT_END_W::new(self, 0) } diff --git a/esp32c3/src/hmac/set_message_ing.rs b/esp32c3/src/hmac/set_message_ing.rs index c325d92c32..663dbe540f 100644 --- a/esp32c3/src/hmac/set_message_ing.rs +++ b/esp32c3/src/hmac/set_message_ing.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Continue typical hmac."] #[inline(always)] - #[must_use] pub fn set_text_ing(&mut self) -> SET_TEXT_ING_W { SET_TEXT_ING_W::new(self, 0) } diff --git a/esp32c3/src/hmac/set_message_one.rs b/esp32c3/src/hmac/set_message_one.rs index 8ef37f11db..d32eb2efd1 100644 --- a/esp32c3/src/hmac/set_message_one.rs +++ b/esp32c3/src/hmac/set_message_one.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Call SHA to calculate one message block."] #[inline(always)] - #[must_use] pub fn set_text_one(&mut self) -> SET_TEXT_ONE_W { SET_TEXT_ONE_W::new(self, 0) } diff --git a/esp32c3/src/hmac/set_message_pad.rs b/esp32c3/src/hmac/set_message_pad.rs index 8739d11add..8877ee730d 100644 --- a/esp32c3/src/hmac/set_message_pad.rs +++ b/esp32c3/src/hmac/set_message_pad.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Start software padding."] #[inline(always)] - #[must_use] pub fn set_text_pad(&mut self) -> SET_TEXT_PAD_W { SET_TEXT_PAD_W::new(self, 0) } diff --git a/esp32c3/src/hmac/set_para_finish.rs b/esp32c3/src/hmac/set_para_finish.rs index 66cbaa057f..15257695f6 100644 --- a/esp32c3/src/hmac/set_para_finish.rs +++ b/esp32c3/src/hmac/set_para_finish.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Finish hmac configuration."] #[inline(always)] - #[must_use] pub fn set_para_end(&mut self) -> SET_PARA_END_W { SET_PARA_END_W::new(self, 0) } diff --git a/esp32c3/src/hmac/set_para_key.rs b/esp32c3/src/hmac/set_para_key.rs index 0bbde55d9d..fe4e62547a 100644 --- a/esp32c3/src/hmac/set_para_key.rs +++ b/esp32c3/src/hmac/set_para_key.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:2 - Set hmac parameter key."] #[inline(always)] - #[must_use] pub fn key_set(&mut self) -> KEY_SET_W { KEY_SET_W::new(self, 0) } diff --git a/esp32c3/src/hmac/set_para_purpose.rs b/esp32c3/src/hmac/set_para_purpose.rs index eafe6bc3e7..fc78aa1598 100644 --- a/esp32c3/src/hmac/set_para_purpose.rs +++ b/esp32c3/src/hmac/set_para_purpose.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:3 - Set hmac parameter purpose."] #[inline(always)] - #[must_use] pub fn purpose_set(&mut self) -> PURPOSE_SET_W { PURPOSE_SET_W::new(self, 0) } diff --git a/esp32c3/src/hmac/set_result_finish.rs b/esp32c3/src/hmac/set_result_finish.rs index ed02cedec4..430f5290fb 100644 --- a/esp32c3/src/hmac/set_result_finish.rs +++ b/esp32c3/src/hmac/set_result_finish.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - After read result from upstream, then let hmac back to idle."] #[inline(always)] - #[must_use] pub fn set_result_end(&mut self) -> SET_RESULT_END_W { SET_RESULT_END_W::new(self, 0) } diff --git a/esp32c3/src/hmac/set_start.rs b/esp32c3/src/hmac/set_start.rs index 293497a4fd..e8e873ce29 100644 --- a/esp32c3/src/hmac/set_start.rs +++ b/esp32c3/src/hmac/set_start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Start hmac operation."] #[inline(always)] - #[must_use] pub fn set_start(&mut self) -> SET_START_W { SET_START_W::new(self, 0) } diff --git a/esp32c3/src/hmac/soft_jtag_ctrl.rs b/esp32c3/src/hmac/soft_jtag_ctrl.rs index 9c7ec8ae3d..368f294e81 100644 --- a/esp32c3/src/hmac/soft_jtag_ctrl.rs +++ b/esp32c3/src/hmac/soft_jtag_ctrl.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Turn on JTAG verification."] #[inline(always)] - #[must_use] pub fn soft_jtag_ctrl(&mut self) -> SOFT_JTAG_CTRL_W { SOFT_JTAG_CTRL_W::new(self, 0) } diff --git a/esp32c3/src/hmac/wr_jtag.rs b/esp32c3/src/hmac/wr_jtag.rs index 98c5adab47..e1bfccc0b9 100644 --- a/esp32c3/src/hmac/wr_jtag.rs +++ b/esp32c3/src/hmac/wr_jtag.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - 32-bit of key to be compared."] #[inline(always)] - #[must_use] pub fn wr_jtag(&mut self) -> WR_JTAG_W { WR_JTAG_W::new(self, 0) } diff --git a/esp32c3/src/i2c0/clk_conf.rs b/esp32c3/src/i2c0/clk_conf.rs index df15ebad03..956b7020ef 100644 --- a/esp32c3/src/i2c0/clk_conf.rs +++ b/esp32c3/src/i2c0/clk_conf.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - reg_sclk_div_num"] #[inline(always)] - #[must_use] pub fn sclk_div_num(&mut self) -> SCLK_DIV_NUM_W { SCLK_DIV_NUM_W::new(self, 0) } #[doc = "Bits 8:13 - reg_sclk_div_a"] #[inline(always)] - #[must_use] pub fn sclk_div_a(&mut self) -> SCLK_DIV_A_W { SCLK_DIV_A_W::new(self, 8) } #[doc = "Bits 14:19 - reg_sclk_div_b"] #[inline(always)] - #[must_use] pub fn sclk_div_b(&mut self) -> SCLK_DIV_B_W { SCLK_DIV_B_W::new(self, 14) } #[doc = "Bit 20 - reg_sclk_sel"] #[inline(always)] - #[must_use] pub fn sclk_sel(&mut self) -> SCLK_SEL_W { SCLK_SEL_W::new(self, 20) } #[doc = "Bit 21 - reg_sclk_active"] #[inline(always)] - #[must_use] pub fn sclk_active(&mut self) -> SCLK_ACTIVE_W { SCLK_ACTIVE_W::new(self, 21) } diff --git a/esp32c3/src/i2c0/comd.rs b/esp32c3/src/i2c0/comd.rs index b32eb2c559..494bf15d18 100644 --- a/esp32c3/src/i2c0/comd.rs +++ b/esp32c3/src/i2c0/comd.rs @@ -170,37 +170,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Number of bytes to be sent or received for command %s."] #[inline(always)] - #[must_use] pub fn byte_num(&mut self) -> BYTE_NUM_W { BYTE_NUM_W::new(self, 0) } #[doc = "Bit 8 - Acknowledge check enable for command %s."] #[inline(always)] - #[must_use] pub fn ack_check_en(&mut self) -> ACK_CHECK_EN_W { ACK_CHECK_EN_W::new(self, 8) } #[doc = "Bit 9 - Acknowledge expected for command %s."] #[inline(always)] - #[must_use] pub fn ack_exp(&mut self) -> ACK_EXP_W { ACK_EXP_W::new(self, 9) } #[doc = "Bit 10 - Acknowledge value for command %s."] #[inline(always)] - #[must_use] pub fn ack_value(&mut self) -> ACK_VALUE_W { ACK_VALUE_W::new(self, 10) } #[doc = "Bits 11:13 - Opcode part of command %s."] #[inline(always)] - #[must_use] pub fn opcode(&mut self) -> OPCODE_W { OPCODE_W::new(self, 11) } #[doc = "Bit 31 - reg_command_done"] #[inline(always)] - #[must_use] pub fn command_done(&mut self) -> COMMAND_DONE_W { COMMAND_DONE_W::new(self, 31) } diff --git a/esp32c3/src/i2c0/ctr.rs b/esp32c3/src/i2c0/ctr.rs index 4a36c16355..1ab26b6b36 100644 --- a/esp32c3/src/i2c0/ctr.rs +++ b/esp32c3/src/i2c0/ctr.rs @@ -140,91 +140,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_sda_force_out"] #[inline(always)] - #[must_use] pub fn sda_force_out(&mut self) -> SDA_FORCE_OUT_W { SDA_FORCE_OUT_W::new(self, 0) } #[doc = "Bit 1 - reg_scl_force_out"] #[inline(always)] - #[must_use] pub fn scl_force_out(&mut self) -> SCL_FORCE_OUT_W { SCL_FORCE_OUT_W::new(self, 1) } #[doc = "Bit 2 - reg_sample_scl_level"] #[inline(always)] - #[must_use] pub fn sample_scl_level(&mut self) -> SAMPLE_SCL_LEVEL_W { SAMPLE_SCL_LEVEL_W::new(self, 2) } #[doc = "Bit 3 - reg_rx_full_ack_level"] #[inline(always)] - #[must_use] pub fn rx_full_ack_level(&mut self) -> RX_FULL_ACK_LEVEL_W { RX_FULL_ACK_LEVEL_W::new(self, 3) } #[doc = "Bit 4 - reg_ms_mode"] #[inline(always)] - #[must_use] pub fn ms_mode(&mut self) -> MS_MODE_W { MS_MODE_W::new(self, 4) } #[doc = "Bit 5 - reg_trans_start"] #[inline(always)] - #[must_use] pub fn trans_start(&mut self) -> TRANS_START_W { TRANS_START_W::new(self, 5) } #[doc = "Bit 6 - reg_tx_lsb_first"] #[inline(always)] - #[must_use] pub fn tx_lsb_first(&mut self) -> TX_LSB_FIRST_W { TX_LSB_FIRST_W::new(self, 6) } #[doc = "Bit 7 - reg_rx_lsb_first"] #[inline(always)] - #[must_use] pub fn rx_lsb_first(&mut self) -> RX_LSB_FIRST_W { RX_LSB_FIRST_W::new(self, 7) } #[doc = "Bit 8 - reg_clk_en"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 8) } #[doc = "Bit 9 - reg_arbitration_en"] #[inline(always)] - #[must_use] pub fn arbitration_en(&mut self) -> ARBITRATION_EN_W { ARBITRATION_EN_W::new(self, 9) } #[doc = "Bit 10 - reg_fsm_rst"] #[inline(always)] - #[must_use] pub fn fsm_rst(&mut self) -> FSM_RST_W { FSM_RST_W::new(self, 10) } #[doc = "Bit 11 - reg_conf_upgate"] #[inline(always)] - #[must_use] pub fn conf_upgate(&mut self) -> CONF_UPGATE_W { CONF_UPGATE_W::new(self, 11) } #[doc = "Bit 12 - reg_slv_tx_auto_start_en"] #[inline(always)] - #[must_use] pub fn slv_tx_auto_start_en(&mut self) -> SLV_TX_AUTO_START_EN_W { SLV_TX_AUTO_START_EN_W::new(self, 12) } #[doc = "Bit 13 - reg_addr_10bit_rw_check_en"] #[inline(always)] - #[must_use] pub fn addr_10bit_rw_check_en(&mut self) -> ADDR_10BIT_RW_CHECK_EN_W { ADDR_10BIT_RW_CHECK_EN_W::new(self, 13) } #[doc = "Bit 14 - reg_addr_broadcasting_en"] #[inline(always)] - #[must_use] pub fn addr_broadcasting_en(&mut self) -> ADDR_BROADCASTING_EN_W { ADDR_BROADCASTING_EN_W::new(self, 14) } diff --git a/esp32c3/src/i2c0/data.rs b/esp32c3/src/i2c0/data.rs index 4f4ef016a3..ef180e0643 100644 --- a/esp32c3/src/i2c0/data.rs +++ b/esp32c3/src/i2c0/data.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - reg_fifo_rdata"] #[inline(always)] - #[must_use] pub fn fifo_rdata(&mut self) -> FIFO_RDATA_W { FIFO_RDATA_W::new(self, 0) } diff --git a/esp32c3/src/i2c0/date.rs b/esp32c3/src/i2c0/date.rs index 6c2e2f107d..9f97513a0d 100644 --- a/esp32c3/src/i2c0/date.rs +++ b/esp32c3/src/i2c0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_date"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c3/src/i2c0/fifo_conf.rs b/esp32c3/src/i2c0/fifo_conf.rs index a7ce74beae..7a4b0eb51b 100644 --- a/esp32c3/src/i2c0/fifo_conf.rs +++ b/esp32c3/src/i2c0/fifo_conf.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_rxfifo_wm_thrhd"] #[inline(always)] - #[must_use] pub fn rxfifo_wm_thrhd(&mut self) -> RXFIFO_WM_THRHD_W { RXFIFO_WM_THRHD_W::new(self, 0) } #[doc = "Bits 5:9 - reg_txfifo_wm_thrhd"] #[inline(always)] - #[must_use] pub fn txfifo_wm_thrhd(&mut self) -> TXFIFO_WM_THRHD_W { TXFIFO_WM_THRHD_W::new(self, 5) } #[doc = "Bit 10 - reg_nonfifo_en"] #[inline(always)] - #[must_use] pub fn nonfifo_en(&mut self) -> NONFIFO_EN_W { NONFIFO_EN_W::new(self, 10) } #[doc = "Bit 11 - reg_fifo_addr_cfg_en"] #[inline(always)] - #[must_use] pub fn fifo_addr_cfg_en(&mut self) -> FIFO_ADDR_CFG_EN_W { FIFO_ADDR_CFG_EN_W::new(self, 11) } #[doc = "Bit 12 - reg_rx_fifo_rst"] #[inline(always)] - #[must_use] pub fn rx_fifo_rst(&mut self) -> RX_FIFO_RST_W { RX_FIFO_RST_W::new(self, 12) } #[doc = "Bit 13 - reg_tx_fifo_rst"] #[inline(always)] - #[must_use] pub fn tx_fifo_rst(&mut self) -> TX_FIFO_RST_W { TX_FIFO_RST_W::new(self, 13) } #[doc = "Bit 14 - reg_fifo_prt_en"] #[inline(always)] - #[must_use] pub fn fifo_prt_en(&mut self) -> FIFO_PRT_EN_W { FIFO_PRT_EN_W::new(self, 14) } diff --git a/esp32c3/src/i2c0/filter_cfg.rs b/esp32c3/src/i2c0/filter_cfg.rs index 2cad27f0ff..957353e899 100644 --- a/esp32c3/src/i2c0/filter_cfg.rs +++ b/esp32c3/src/i2c0/filter_cfg.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - reg_scl_filter_thres"] #[inline(always)] - #[must_use] pub fn scl_filter_thres(&mut self) -> SCL_FILTER_THRES_W { SCL_FILTER_THRES_W::new(self, 0) } #[doc = "Bits 4:7 - reg_sda_filter_thres"] #[inline(always)] - #[must_use] pub fn sda_filter_thres(&mut self) -> SDA_FILTER_THRES_W { SDA_FILTER_THRES_W::new(self, 4) } #[doc = "Bit 8 - reg_scl_filter_en"] #[inline(always)] - #[must_use] pub fn scl_filter_en(&mut self) -> SCL_FILTER_EN_W { SCL_FILTER_EN_W::new(self, 8) } #[doc = "Bit 9 - reg_sda_filter_en"] #[inline(always)] - #[must_use] pub fn sda_filter_en(&mut self) -> SDA_FILTER_EN_W { SDA_FILTER_EN_W::new(self, 9) } diff --git a/esp32c3/src/i2c0/int_clr.rs b/esp32c3/src/i2c0/int_clr.rs index 2d183c540c..c076f78a24 100644 --- a/esp32c3/src/i2c0/int_clr.rs +++ b/esp32c3/src/i2c0/int_clr.rs @@ -45,109 +45,91 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - reg_rxfifo_wm_int_clr"] #[inline(always)] - #[must_use] pub fn rxfifo_wm(&mut self) -> RXFIFO_WM_W { RXFIFO_WM_W::new(self, 0) } #[doc = "Bit 1 - reg_txfifo_wm_int_clr"] #[inline(always)] - #[must_use] pub fn txfifo_wm(&mut self) -> TXFIFO_WM_W { TXFIFO_WM_W::new(self, 1) } #[doc = "Bit 2 - reg_rxfifo_ovf_int_clr"] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 2) } #[doc = "Bit 3 - reg_end_detect_int_clr"] #[inline(always)] - #[must_use] pub fn end_detect(&mut self) -> END_DETECT_W { END_DETECT_W::new(self, 3) } #[doc = "Bit 4 - reg_byte_trans_done_int_clr"] #[inline(always)] - #[must_use] pub fn byte_trans_done(&mut self) -> BYTE_TRANS_DONE_W { BYTE_TRANS_DONE_W::new(self, 4) } #[doc = "Bit 5 - reg_arbitration_lost_int_clr"] #[inline(always)] - #[must_use] pub fn arbitration_lost(&mut self) -> ARBITRATION_LOST_W { ARBITRATION_LOST_W::new(self, 5) } #[doc = "Bit 6 - reg_mst_txfifo_udf_int_clr"] #[inline(always)] - #[must_use] pub fn mst_txfifo_udf(&mut self) -> MST_TXFIFO_UDF_W { MST_TXFIFO_UDF_W::new(self, 6) } #[doc = "Bit 7 - reg_trans_complete_int_clr"] #[inline(always)] - #[must_use] pub fn trans_complete(&mut self) -> TRANS_COMPLETE_W { TRANS_COMPLETE_W::new(self, 7) } #[doc = "Bit 8 - reg_time_out_int_clr"] #[inline(always)] - #[must_use] pub fn time_out(&mut self) -> TIME_OUT_W { TIME_OUT_W::new(self, 8) } #[doc = "Bit 9 - reg_trans_start_int_clr"] #[inline(always)] - #[must_use] pub fn trans_start(&mut self) -> TRANS_START_W { TRANS_START_W::new(self, 9) } #[doc = "Bit 10 - reg_nack_int_clr"] #[inline(always)] - #[must_use] pub fn nack(&mut self) -> NACK_W { NACK_W::new(self, 10) } #[doc = "Bit 11 - reg_txfifo_ovf_int_clr"] #[inline(always)] - #[must_use] pub fn txfifo_ovf(&mut self) -> TXFIFO_OVF_W { TXFIFO_OVF_W::new(self, 11) } #[doc = "Bit 12 - reg_rxfifo_udf_int_clr"] #[inline(always)] - #[must_use] pub fn rxfifo_udf(&mut self) -> RXFIFO_UDF_W { RXFIFO_UDF_W::new(self, 12) } #[doc = "Bit 13 - reg_scl_st_to_int_clr"] #[inline(always)] - #[must_use] pub fn scl_st_to(&mut self) -> SCL_ST_TO_W { SCL_ST_TO_W::new(self, 13) } #[doc = "Bit 14 - reg_scl_main_st_to_int_clr"] #[inline(always)] - #[must_use] pub fn scl_main_st_to(&mut self) -> SCL_MAIN_ST_TO_W { SCL_MAIN_ST_TO_W::new(self, 14) } #[doc = "Bit 15 - reg_det_start_int_clr"] #[inline(always)] - #[must_use] pub fn det_start(&mut self) -> DET_START_W { DET_START_W::new(self, 15) } #[doc = "Bit 16 - reg_slave_stretch_int_clr"] #[inline(always)] - #[must_use] pub fn slave_stretch(&mut self) -> SLAVE_STRETCH_W { SLAVE_STRETCH_W::new(self, 16) } #[doc = "Bit 17 - reg_general_call_int_clr"] #[inline(always)] - #[must_use] pub fn general_call(&mut self) -> GENERAL_CALL_W { GENERAL_CALL_W::new(self, 17) } diff --git a/esp32c3/src/i2c0/int_ena.rs b/esp32c3/src/i2c0/int_ena.rs index 92a8b88087..5ae8301ba9 100644 --- a/esp32c3/src/i2c0/int_ena.rs +++ b/esp32c3/src/i2c0/int_ena.rs @@ -194,109 +194,91 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_rxfifo_wm_int_ena"] #[inline(always)] - #[must_use] pub fn rxfifo_wm(&mut self) -> RXFIFO_WM_W { RXFIFO_WM_W::new(self, 0) } #[doc = "Bit 1 - reg_txfifo_wm_int_ena"] #[inline(always)] - #[must_use] pub fn txfifo_wm(&mut self) -> TXFIFO_WM_W { TXFIFO_WM_W::new(self, 1) } #[doc = "Bit 2 - reg_rxfifo_ovf_int_ena"] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 2) } #[doc = "Bit 3 - reg_end_detect_int_ena"] #[inline(always)] - #[must_use] pub fn end_detect(&mut self) -> END_DETECT_W { END_DETECT_W::new(self, 3) } #[doc = "Bit 4 - reg_byte_trans_done_int_ena"] #[inline(always)] - #[must_use] pub fn byte_trans_done(&mut self) -> BYTE_TRANS_DONE_W { BYTE_TRANS_DONE_W::new(self, 4) } #[doc = "Bit 5 - reg_arbitration_lost_int_ena"] #[inline(always)] - #[must_use] pub fn arbitration_lost(&mut self) -> ARBITRATION_LOST_W { ARBITRATION_LOST_W::new(self, 5) } #[doc = "Bit 6 - reg_mst_txfifo_udf_int_ena"] #[inline(always)] - #[must_use] pub fn mst_txfifo_udf(&mut self) -> MST_TXFIFO_UDF_W { MST_TXFIFO_UDF_W::new(self, 6) } #[doc = "Bit 7 - reg_trans_complete_int_ena"] #[inline(always)] - #[must_use] pub fn trans_complete(&mut self) -> TRANS_COMPLETE_W { TRANS_COMPLETE_W::new(self, 7) } #[doc = "Bit 8 - reg_time_out_int_ena"] #[inline(always)] - #[must_use] pub fn time_out(&mut self) -> TIME_OUT_W { TIME_OUT_W::new(self, 8) } #[doc = "Bit 9 - reg_trans_start_int_ena"] #[inline(always)] - #[must_use] pub fn trans_start(&mut self) -> TRANS_START_W { TRANS_START_W::new(self, 9) } #[doc = "Bit 10 - reg_nack_int_ena"] #[inline(always)] - #[must_use] pub fn nack(&mut self) -> NACK_W { NACK_W::new(self, 10) } #[doc = "Bit 11 - reg_txfifo_ovf_int_ena"] #[inline(always)] - #[must_use] pub fn txfifo_ovf(&mut self) -> TXFIFO_OVF_W { TXFIFO_OVF_W::new(self, 11) } #[doc = "Bit 12 - reg_rxfifo_udf_int_ena"] #[inline(always)] - #[must_use] pub fn rxfifo_udf(&mut self) -> RXFIFO_UDF_W { RXFIFO_UDF_W::new(self, 12) } #[doc = "Bit 13 - reg_scl_st_to_int_ena"] #[inline(always)] - #[must_use] pub fn scl_st_to(&mut self) -> SCL_ST_TO_W { SCL_ST_TO_W::new(self, 13) } #[doc = "Bit 14 - reg_scl_main_st_to_int_ena"] #[inline(always)] - #[must_use] pub fn scl_main_st_to(&mut self) -> SCL_MAIN_ST_TO_W { SCL_MAIN_ST_TO_W::new(self, 14) } #[doc = "Bit 15 - reg_det_start_int_ena"] #[inline(always)] - #[must_use] pub fn det_start(&mut self) -> DET_START_W { DET_START_W::new(self, 15) } #[doc = "Bit 16 - reg_slave_stretch_int_ena"] #[inline(always)] - #[must_use] pub fn slave_stretch(&mut self) -> SLAVE_STRETCH_W { SLAVE_STRETCH_W::new(self, 16) } #[doc = "Bit 17 - reg_general_call_int_ena"] #[inline(always)] - #[must_use] pub fn general_call(&mut self) -> GENERAL_CALL_W { GENERAL_CALL_W::new(self, 17) } diff --git a/esp32c3/src/i2c0/scl_high_period.rs b/esp32c3/src/i2c0/scl_high_period.rs index ddfa5b6702..353e47b6ca 100644 --- a/esp32c3/src/i2c0/scl_high_period.rs +++ b/esp32c3/src/i2c0/scl_high_period.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - reg_scl_high_period"] #[inline(always)] - #[must_use] pub fn scl_high_period(&mut self) -> SCL_HIGH_PERIOD_W { SCL_HIGH_PERIOD_W::new(self, 0) } #[doc = "Bits 9:15 - reg_scl_wait_high_period"] #[inline(always)] - #[must_use] pub fn scl_wait_high_period(&mut self) -> SCL_WAIT_HIGH_PERIOD_W { SCL_WAIT_HIGH_PERIOD_W::new(self, 9) } diff --git a/esp32c3/src/i2c0/scl_low_period.rs b/esp32c3/src/i2c0/scl_low_period.rs index 9201d30114..f79a501167 100644 --- a/esp32c3/src/i2c0/scl_low_period.rs +++ b/esp32c3/src/i2c0/scl_low_period.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - reg_scl_low_period"] #[inline(always)] - #[must_use] pub fn scl_low_period(&mut self) -> SCL_LOW_PERIOD_W { SCL_LOW_PERIOD_W::new(self, 0) } diff --git a/esp32c3/src/i2c0/scl_main_st_time_out.rs b/esp32c3/src/i2c0/scl_main_st_time_out.rs index 5bd730095b..376cc07b45 100644 --- a/esp32c3/src/i2c0/scl_main_st_time_out.rs +++ b/esp32c3/src/i2c0/scl_main_st_time_out.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_scl_main_st_to_regno more than 23"] #[inline(always)] - #[must_use] pub fn scl_main_st_to_i2c(&mut self) -> SCL_MAIN_ST_TO_I2C_W { SCL_MAIN_ST_TO_I2C_W::new(self, 0) } diff --git a/esp32c3/src/i2c0/scl_rstart_setup.rs b/esp32c3/src/i2c0/scl_rstart_setup.rs index aac77936ef..3f7c97eda9 100644 --- a/esp32c3/src/i2c0/scl_rstart_setup.rs +++ b/esp32c3/src/i2c0/scl_rstart_setup.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - reg_scl_rstart_setup_time"] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32c3/src/i2c0/scl_sp_conf.rs b/esp32c3/src/i2c0/scl_sp_conf.rs index 61d7635d65..bf012365b9 100644 --- a/esp32c3/src/i2c0/scl_sp_conf.rs +++ b/esp32c3/src/i2c0/scl_sp_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_scl_rst_slv_en"] #[inline(always)] - #[must_use] pub fn scl_rst_slv_en(&mut self) -> SCL_RST_SLV_EN_W { SCL_RST_SLV_EN_W::new(self, 0) } #[doc = "Bits 1:5 - reg_scl_rst_slv_num"] #[inline(always)] - #[must_use] pub fn scl_rst_slv_num(&mut self) -> SCL_RST_SLV_NUM_W { SCL_RST_SLV_NUM_W::new(self, 1) } #[doc = "Bit 6 - reg_scl_pd_en"] #[inline(always)] - #[must_use] pub fn scl_pd_en(&mut self) -> SCL_PD_EN_W { SCL_PD_EN_W::new(self, 6) } #[doc = "Bit 7 - reg_sda_pd_en"] #[inline(always)] - #[must_use] pub fn sda_pd_en(&mut self) -> SDA_PD_EN_W { SDA_PD_EN_W::new(self, 7) } diff --git a/esp32c3/src/i2c0/scl_st_time_out.rs b/esp32c3/src/i2c0/scl_st_time_out.rs index 3a2372d937..eeae6bd94d 100644 --- a/esp32c3/src/i2c0/scl_st_time_out.rs +++ b/esp32c3/src/i2c0/scl_st_time_out.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_scl_st_to_regno more than 23"] #[inline(always)] - #[must_use] pub fn scl_st_to_i2c(&mut self) -> SCL_ST_TO_I2C_W { SCL_ST_TO_I2C_W::new(self, 0) } diff --git a/esp32c3/src/i2c0/scl_start_hold.rs b/esp32c3/src/i2c0/scl_start_hold.rs index 49ceaa2be7..d16e5b911f 100644 --- a/esp32c3/src/i2c0/scl_start_hold.rs +++ b/esp32c3/src/i2c0/scl_start_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - reg_scl_start_hold_time"] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32c3/src/i2c0/scl_stop_hold.rs b/esp32c3/src/i2c0/scl_stop_hold.rs index 4d0283b6dd..74691a914e 100644 --- a/esp32c3/src/i2c0/scl_stop_hold.rs +++ b/esp32c3/src/i2c0/scl_stop_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - reg_scl_stop_hold_time"] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32c3/src/i2c0/scl_stop_setup.rs b/esp32c3/src/i2c0/scl_stop_setup.rs index 3d86bcb9ef..2da5dd40fb 100644 --- a/esp32c3/src/i2c0/scl_stop_setup.rs +++ b/esp32c3/src/i2c0/scl_stop_setup.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - reg_scl_stop_setup_time"] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32c3/src/i2c0/scl_stretch_conf.rs b/esp32c3/src/i2c0/scl_stretch_conf.rs index 1697daffae..8b669dd0a9 100644 --- a/esp32c3/src/i2c0/scl_stretch_conf.rs +++ b/esp32c3/src/i2c0/scl_stretch_conf.rs @@ -56,31 +56,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - reg_stretch_protect_num"] #[inline(always)] - #[must_use] pub fn stretch_protect_num(&mut self) -> STRETCH_PROTECT_NUM_W { STRETCH_PROTECT_NUM_W::new(self, 0) } #[doc = "Bit 10 - reg_slave_scl_stretch_en"] #[inline(always)] - #[must_use] pub fn slave_scl_stretch_en(&mut self) -> SLAVE_SCL_STRETCH_EN_W { SLAVE_SCL_STRETCH_EN_W::new(self, 10) } #[doc = "Bit 11 - reg_slave_scl_stretch_clr"] #[inline(always)] - #[must_use] pub fn slave_scl_stretch_clr(&mut self) -> SLAVE_SCL_STRETCH_CLR_W { SLAVE_SCL_STRETCH_CLR_W::new(self, 11) } #[doc = "Bit 12 - reg_slave_byte_ack_ctl_en"] #[inline(always)] - #[must_use] pub fn slave_byte_ack_ctl_en(&mut self) -> SLAVE_BYTE_ACK_CTL_EN_W { SLAVE_BYTE_ACK_CTL_EN_W::new(self, 12) } #[doc = "Bit 13 - reg_slave_byte_ack_lvl"] #[inline(always)] - #[must_use] pub fn slave_byte_ack_lvl(&mut self) -> SLAVE_BYTE_ACK_LVL_W { SLAVE_BYTE_ACK_LVL_W::new(self, 13) } diff --git a/esp32c3/src/i2c0/sda_hold.rs b/esp32c3/src/i2c0/sda_hold.rs index 04af83bd1a..08a761d414 100644 --- a/esp32c3/src/i2c0/sda_hold.rs +++ b/esp32c3/src/i2c0/sda_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - reg_sda_hold_time"] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32c3/src/i2c0/sda_sample.rs b/esp32c3/src/i2c0/sda_sample.rs index 1dcfb08b7a..69ca4e1d9a 100644 --- a/esp32c3/src/i2c0/sda_sample.rs +++ b/esp32c3/src/i2c0/sda_sample.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - reg_sda_sample_time"] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32c3/src/i2c0/slave_addr.rs b/esp32c3/src/i2c0/slave_addr.rs index 9644f08983..00009f24ba 100644 --- a/esp32c3/src/i2c0/slave_addr.rs +++ b/esp32c3/src/i2c0/slave_addr.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:14 - reg_slave_addr"] #[inline(always)] - #[must_use] pub fn slave_addr(&mut self) -> SLAVE_ADDR_W { SLAVE_ADDR_W::new(self, 0) } #[doc = "Bit 31 - reg_addr_10bit_en"] #[inline(always)] - #[must_use] pub fn addr_10bit_en(&mut self) -> ADDR_10BIT_EN_W { ADDR_10BIT_EN_W::new(self, 31) } diff --git a/esp32c3/src/i2c0/to.rs b/esp32c3/src/i2c0/to.rs index 49354c4d20..079ab1928e 100644 --- a/esp32c3/src/i2c0/to.rs +++ b/esp32c3/src/i2c0/to.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_time_out_value"] #[inline(always)] - #[must_use] pub fn time_out_value(&mut self) -> TIME_OUT_VALUE_W { TIME_OUT_VALUE_W::new(self, 0) } #[doc = "Bit 5 - reg_time_out_en"] #[inline(always)] - #[must_use] pub fn time_out_en(&mut self) -> TIME_OUT_EN_W { TIME_OUT_EN_W::new(self, 5) } diff --git a/esp32c3/src/i2s0/conf_sigle_data.rs b/esp32c3/src/i2s0/conf_sigle_data.rs index 50a4d005f8..27ac6bf4a9 100644 --- a/esp32c3/src/i2s0/conf_sigle_data.rs +++ b/esp32c3/src/i2s0/conf_sigle_data.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The configured constant channel data to be sent out."] #[inline(always)] - #[must_use] pub fn single_data(&mut self) -> SINGLE_DATA_W { SINGLE_DATA_W::new(self, 0) } diff --git a/esp32c3/src/i2s0/date.rs b/esp32c3/src/i2s0/date.rs index ebbe5dc3a4..df0c842fd4 100644 --- a/esp32c3/src/i2s0/date.rs +++ b/esp32c3/src/i2s0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - I2S version control register"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c3/src/i2s0/int_clr.rs b/esp32c3/src/i2s0/int_clr.rs index c3a99c694f..1719a408f1 100644 --- a/esp32c3/src/i2s0/int_clr.rs +++ b/esp32c3/src/i2s0/int_clr.rs @@ -17,25 +17,21 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the i2s_rx_done_int interrupt"] #[inline(always)] - #[must_use] pub fn rx_done(&mut self) -> RX_DONE_W { RX_DONE_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the i2s_tx_done_int interrupt"] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the i2s_rx_hung_int interrupt"] #[inline(always)] - #[must_use] pub fn rx_hung(&mut self) -> RX_HUNG_W { RX_HUNG_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the i2s_tx_hung_int interrupt"] #[inline(always)] - #[must_use] pub fn tx_hung(&mut self) -> TX_HUNG_W { TX_HUNG_W::new(self, 3) } diff --git a/esp32c3/src/i2s0/int_ena.rs b/esp32c3/src/i2s0/int_ena.rs index 0f2bb7d8e0..c87530a8a6 100644 --- a/esp32c3/src/i2s0/int_ena.rs +++ b/esp32c3/src/i2s0/int_ena.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for the i2s_rx_done_int interrupt"] #[inline(always)] - #[must_use] pub fn rx_done(&mut self) -> RX_DONE_W { RX_DONE_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the i2s_tx_done_int interrupt"] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the i2s_rx_hung_int interrupt"] #[inline(always)] - #[must_use] pub fn rx_hung(&mut self) -> RX_HUNG_W { RX_HUNG_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the i2s_tx_hung_int interrupt"] #[inline(always)] - #[must_use] pub fn tx_hung(&mut self) -> TX_HUNG_W { TX_HUNG_W::new(self, 3) } diff --git a/esp32c3/src/i2s0/lc_hung_conf.rs b/esp32c3/src/i2s0/lc_hung_conf.rs index 187de6aa6f..323187c7df 100644 --- a/esp32c3/src/i2s0/lc_hung_conf.rs +++ b/esp32c3/src/i2s0/lc_hung_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - the i2s_tx_hung_int interrupt or the i2s_rx_hung_int interrupt will be triggered when fifo hung counter is equal to this value"] #[inline(always)] - #[must_use] pub fn lc_fifo_timeout(&mut self) -> LC_FIFO_TIMEOUT_W { LC_FIFO_TIMEOUT_W::new(self, 0) } #[doc = "Bits 8:10 - The bits are used to scale tick counter threshold. The tick counter is reset when counter value >= 88000/2^i2s_lc_fifo_timeout_shift"] #[inline(always)] - #[must_use] pub fn lc_fifo_timeout_shift(&mut self) -> LC_FIFO_TIMEOUT_SHIFT_W { LC_FIFO_TIMEOUT_SHIFT_W::new(self, 8) } #[doc = "Bit 11 - The enable bit for FIFO timeout"] #[inline(always)] - #[must_use] pub fn lc_fifo_timeout_ena(&mut self) -> LC_FIFO_TIMEOUT_ENA_W { LC_FIFO_TIMEOUT_ENA_W::new(self, 11) } diff --git a/esp32c3/src/i2s0/rx_clkm_conf.rs b/esp32c3/src/i2s0/rx_clkm_conf.rs index 89f45bca23..140e2179d1 100644 --- a/esp32c3/src/i2s0/rx_clkm_conf.rs +++ b/esp32c3/src/i2s0/rx_clkm_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Integral I2S clock divider value"] #[inline(always)] - #[must_use] pub fn rx_clkm_div_num(&mut self) -> RX_CLKM_DIV_NUM_W { RX_CLKM_DIV_NUM_W::new(self, 0) } #[doc = "Bit 26 - I2S Rx module clock enable signal."] #[inline(always)] - #[must_use] pub fn rx_clk_active(&mut self) -> RX_CLK_ACTIVE_W { RX_CLK_ACTIVE_W::new(self, 26) } #[doc = "Bits 27:28 - Select I2S Rx module source clock. 0: no clock. 1: APLL. 2: CLK160. 3: I2S_MCLK_in."] #[inline(always)] - #[must_use] pub fn rx_clk_sel(&mut self) -> RX_CLK_SEL_W { RX_CLK_SEL_W::new(self, 27) } #[doc = "Bit 29 - 0: UseI2S Tx module clock as I2S_MCLK_OUT. 1: UseI2S Rx module clock as I2S_MCLK_OUT."] #[inline(always)] - #[must_use] pub fn mclk_sel(&mut self) -> MCLK_SEL_W { MCLK_SEL_W::new(self, 29) } diff --git a/esp32c3/src/i2s0/rx_clkm_div_conf.rs b/esp32c3/src/i2s0/rx_clkm_div_conf.rs index 8ebfa2b7d2..c14256acfa 100644 --- a/esp32c3/src/i2s0/rx_clkm_div_conf.rs +++ b/esp32c3/src/i2s0/rx_clkm_div_conf.rs @@ -2,39 +2,39 @@ pub type R = crate::R; #[doc = "Register `RX_CLKM_DIV_CONF` writer"] pub type W = crate::W; -#[doc = "Field `RX_CLKM_DIV_Z` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] +#[doc = "Field `RX_CLKM_DIV_Z` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] pub type RX_CLKM_DIV_Z_R = crate::FieldReader; -#[doc = "Field `RX_CLKM_DIV_Z` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] +#[doc = "Field `RX_CLKM_DIV_Z` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] pub type RX_CLKM_DIV_Z_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `RX_CLKM_DIV_Y` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] +#[doc = "Field `RX_CLKM_DIV_Y` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] pub type RX_CLKM_DIV_Y_R = crate::FieldReader; -#[doc = "Field `RX_CLKM_DIV_Y` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] +#[doc = "Field `RX_CLKM_DIV_Y` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] pub type RX_CLKM_DIV_Y_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `RX_CLKM_DIV_X` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] +#[doc = "Field `RX_CLKM_DIV_X` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] pub type RX_CLKM_DIV_X_R = crate::FieldReader; -#[doc = "Field `RX_CLKM_DIV_X` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] +#[doc = "Field `RX_CLKM_DIV_X` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] pub type RX_CLKM_DIV_X_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `RX_CLKM_DIV_YN1` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] +#[doc = "Field `RX_CLKM_DIV_YN1` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] pub type RX_CLKM_DIV_YN1_R = crate::BitReader; -#[doc = "Field `RX_CLKM_DIV_YN1` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] +#[doc = "Field `RX_CLKM_DIV_YN1` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] pub type RX_CLKM_DIV_YN1_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { - #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] + #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] #[inline(always)] pub fn rx_clkm_div_z(&self) -> RX_CLKM_DIV_Z_R { RX_CLKM_DIV_Z_R::new((self.bits & 0x01ff) as u16) } - #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] + #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] #[inline(always)] pub fn rx_clkm_div_y(&self) -> RX_CLKM_DIV_Y_R { RX_CLKM_DIV_Y_R::new(((self.bits >> 9) & 0x01ff) as u16) } - #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] + #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] #[inline(always)] pub fn rx_clkm_div_x(&self) -> RX_CLKM_DIV_X_R { RX_CLKM_DIV_X_R::new(((self.bits >> 18) & 0x01ff) as u16) } - #[doc = "Bit 27 - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] + #[doc = "Bit 27 - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] #[inline(always)] pub fn rx_clkm_div_yn1(&self) -> RX_CLKM_DIV_YN1_R { RX_CLKM_DIV_YN1_R::new(((self.bits >> 27) & 1) != 0) @@ -52,27 +52,23 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] + #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] #[inline(always)] - #[must_use] pub fn rx_clkm_div_z(&mut self) -> RX_CLKM_DIV_Z_W { RX_CLKM_DIV_Z_W::new(self, 0) } - #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] + #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] #[inline(always)] - #[must_use] pub fn rx_clkm_div_y(&mut self) -> RX_CLKM_DIV_Y_W { RX_CLKM_DIV_Y_W::new(self, 9) } - #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] + #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] #[inline(always)] - #[must_use] pub fn rx_clkm_div_x(&mut self) -> RX_CLKM_DIV_X_W { RX_CLKM_DIV_X_W::new(self, 18) } - #[doc = "Bit 27 - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] + #[doc = "Bit 27 - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] #[inline(always)] - #[must_use] pub fn rx_clkm_div_yn1(&mut self) -> RX_CLKM_DIV_YN1_W { RX_CLKM_DIV_YN1_W::new(self, 27) } diff --git a/esp32c3/src/i2s0/rx_conf.rs b/esp32c3/src/i2s0/rx_conf.rs index edaa8a1a29..0e70426ffc 100644 --- a/esp32c3/src/i2s0/rx_conf.rs +++ b/esp32c3/src/i2s0/rx_conf.rs @@ -30,9 +30,9 @@ pub type RX_UPDATE_W<'a, REG> = crate::BitWriter<'a, REG>; pub type RX_MONO_FST_VLD_R = crate::BitReader; #[doc = "Field `RX_MONO_FST_VLD` writer - 1: The first channel data value is valid in I2S RX mono mode. 0: The second channel data value is valid in I2S RX mono mode."] pub type RX_MONO_FST_VLD_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `RX_PCM_CONF` reader - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] +#[doc = "Field `RX_PCM_CONF` reader - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] pub type RX_PCM_CONF_R = crate::FieldReader; -#[doc = "Field `RX_PCM_CONF` writer - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] +#[doc = "Field `RX_PCM_CONF` writer - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] pub type RX_PCM_CONF_W<'a, REG> = crate::FieldWriter<'a, REG, 2>; #[doc = "Field `RX_PCM_BYPASS` reader - Set this bit to bypass Compress/Decompress module for received data."] pub type RX_PCM_BYPASS_R = crate::BitReader; @@ -97,7 +97,7 @@ impl R { pub fn rx_mono_fst_vld(&self) -> RX_MONO_FST_VLD_R { RX_MONO_FST_VLD_R::new(((self.bits >> 9) & 1) != 0) } - #[doc = "Bits 10:11 - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] + #[doc = "Bits 10:11 - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] #[inline(always)] pub fn rx_pcm_conf(&self) -> RX_PCM_CONF_R { RX_PCM_CONF_R::new(((self.bits >> 10) & 3) as u8) @@ -168,103 +168,86 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to reset receiver"] #[inline(always)] - #[must_use] pub fn rx_reset(&mut self) -> RX_RESET_W { RX_RESET_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to reset Rx AFIFO"] #[inline(always)] - #[must_use] pub fn rx_fifo_reset(&mut self) -> RX_FIFO_RESET_W { RX_FIFO_RESET_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to start receiving data"] #[inline(always)] - #[must_use] pub fn rx_start(&mut self) -> RX_START_W { RX_START_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to enable slave receiver mode"] #[inline(always)] - #[must_use] pub fn rx_slave_mod(&mut self) -> RX_SLAVE_MOD_W { RX_SLAVE_MOD_W::new(self, 3) } #[doc = "Bit 5 - Set this bit to enable receiver in mono mode"] #[inline(always)] - #[must_use] pub fn rx_mono(&mut self) -> RX_MONO_W { RX_MONO_W::new(self, 5) } #[doc = "Bit 7 - I2S Rx byte endian, 1: low addr value to high addr. 0: low addr with low addr value."] #[inline(always)] - #[must_use] pub fn rx_big_endian(&mut self) -> RX_BIG_ENDIAN_W { RX_BIG_ENDIAN_W::new(self, 7) } #[doc = "Bit 8 - Set 1 to update I2S RX registers from APB clock domain to I2S RX clock domain. This bit will be cleared by hardware after update register done."] #[inline(always)] - #[must_use] pub fn rx_update(&mut self) -> RX_UPDATE_W { RX_UPDATE_W::new(self, 8) } #[doc = "Bit 9 - 1: The first channel data value is valid in I2S RX mono mode. 0: The second channel data value is valid in I2S RX mono mode."] #[inline(always)] - #[must_use] pub fn rx_mono_fst_vld(&mut self) -> RX_MONO_FST_VLD_W { RX_MONO_FST_VLD_W::new(self, 9) } - #[doc = "Bits 10:11 - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] + #[doc = "Bits 10:11 - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] #[inline(always)] - #[must_use] pub fn rx_pcm_conf(&mut self) -> RX_PCM_CONF_W { RX_PCM_CONF_W::new(self, 10) } #[doc = "Bit 12 - Set this bit to bypass Compress/Decompress module for received data."] #[inline(always)] - #[must_use] pub fn rx_pcm_bypass(&mut self) -> RX_PCM_BYPASS_W { RX_PCM_BYPASS_W::new(self, 12) } #[doc = "Bits 13:14 - 0 : I2S Rx only stop when reg_rx_start is cleared. 1: Stop when reg_rx_start is 0 or in_suc_eof is 1. 2: Stop I2S RX when reg_rx_start is 0 or RX FIFO is full."] #[inline(always)] - #[must_use] pub fn rx_stop_mode(&mut self) -> RX_STOP_MODE_W { RX_STOP_MODE_W::new(self, 13) } #[doc = "Bit 15 - 1: I2S RX left alignment mode. 0: I2S RX right alignment mode."] #[inline(always)] - #[must_use] pub fn rx_left_align(&mut self) -> RX_LEFT_ALIGN_W { RX_LEFT_ALIGN_W::new(self, 15) } #[doc = "Bit 16 - 1: store 24 channel bits to 32 bits. 0:store 24 channel bits to 24 bits."] #[inline(always)] - #[must_use] pub fn rx_24_fill_en(&mut self) -> RX_24_FILL_EN_W { RX_24_FILL_EN_W::new(self, 16) } #[doc = "Bit 17 - 0: WS should be 0 when receiving left channel data, and WS is 1in right channel. 1: WS should be 1 when receiving left channel data, and WS is 0in right channel."] #[inline(always)] - #[must_use] pub fn rx_ws_idle_pol(&mut self) -> RX_WS_IDLE_POL_W { RX_WS_IDLE_POL_W::new(self, 17) } #[doc = "Bit 18 - I2S Rx bit endian. 1:small endian, the LSB is received first. 0:big endian, the MSB is received first."] #[inline(always)] - #[must_use] pub fn rx_bit_order(&mut self) -> RX_BIT_ORDER_W { RX_BIT_ORDER_W::new(self, 18) } #[doc = "Bit 19 - 1: Enable I2S TDM Rx mode . 0: Disable."] #[inline(always)] - #[must_use] pub fn rx_tdm_en(&mut self) -> RX_TDM_EN_W { RX_TDM_EN_W::new(self, 19) } #[doc = "Bit 20 - 1: Enable I2S PDM Rx mode . 0: Disable."] #[inline(always)] - #[must_use] pub fn rx_pdm_en(&mut self) -> RX_PDM_EN_W { RX_PDM_EN_W::new(self, 20) } diff --git a/esp32c3/src/i2s0/rx_conf1.rs b/esp32c3/src/i2s0/rx_conf1.rs index d3795df6cb..ba9590de00 100644 --- a/esp32c3/src/i2s0/rx_conf1.rs +++ b/esp32c3/src/i2s0/rx_conf1.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - The width of rx_ws_out in TDM mode is (I2S_RX_TDM_WS_WIDTH\\[6:0\\] +1) * T_bck"] #[inline(always)] - #[must_use] pub fn rx_tdm_ws_width(&mut self) -> RX_TDM_WS_WIDTH_W { RX_TDM_WS_WIDTH_W::new(self, 0) } #[doc = "Bits 7:12 - Bit clock configuration bits in receiver mode."] #[inline(always)] - #[must_use] pub fn rx_bck_div_num(&mut self) -> RX_BCK_DIV_NUM_W { RX_BCK_DIV_NUM_W::new(self, 7) } #[doc = "Bits 13:17 - Set the bits to configure the valid data bit length of I2S receiver channel. 7: all the valid channel data is in 8-bit-mode. 15: all the valid channel data is in 16-bit-mode. 23: all the valid channel data is in 24-bit-mode. 31:all the valid channel data is in 32-bit-mode."] #[inline(always)] - #[must_use] pub fn rx_bits_mod(&mut self) -> RX_BITS_MOD_W { RX_BITS_MOD_W::new(self, 13) } #[doc = "Bits 18:23 - I2S Rx half sample bits -1."] #[inline(always)] - #[must_use] pub fn rx_half_sample_bits(&mut self) -> RX_HALF_SAMPLE_BITS_W { RX_HALF_SAMPLE_BITS_W::new(self, 18) } #[doc = "Bits 24:28 - The Rx bit number for each channel minus 1in TDM mode."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan_bits(&mut self) -> RX_TDM_CHAN_BITS_W { RX_TDM_CHAN_BITS_W::new(self, 24) } #[doc = "Bit 29 - Set this bit to enable receiver in Phillips standard mode"] #[inline(always)] - #[must_use] pub fn rx_msb_shift(&mut self) -> RX_MSB_SHIFT_W { RX_MSB_SHIFT_W::new(self, 29) } diff --git a/esp32c3/src/i2s0/rx_tdm_ctrl.rs b/esp32c3/src/i2s0/rx_tdm_ctrl.rs index 145b893140..430d8487d3 100644 --- a/esp32c3/src/i2s0/rx_tdm_ctrl.rs +++ b/esp32c3/src/i2s0/rx_tdm_ctrl.rs @@ -184,103 +184,86 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: Enable the valid data input of I2S RX TDM or PDM channel 0. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan0_en(&mut self) -> RX_TDM_PDM_CHAN0_EN_W { RX_TDM_PDM_CHAN0_EN_W::new(self, 0) } #[doc = "Bit 1 - 1: Enable the valid data input of I2S RX TDM or PDM channel 1. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan1_en(&mut self) -> RX_TDM_PDM_CHAN1_EN_W { RX_TDM_PDM_CHAN1_EN_W::new(self, 1) } #[doc = "Bit 2 - 1: Enable the valid data input of I2S RX TDM or PDM channel 2. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan2_en(&mut self) -> RX_TDM_PDM_CHAN2_EN_W { RX_TDM_PDM_CHAN2_EN_W::new(self, 2) } #[doc = "Bit 3 - 1: Enable the valid data input of I2S RX TDM or PDM channel 3. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan3_en(&mut self) -> RX_TDM_PDM_CHAN3_EN_W { RX_TDM_PDM_CHAN3_EN_W::new(self, 3) } #[doc = "Bit 4 - 1: Enable the valid data input of I2S RX TDM or PDM channel 4. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan4_en(&mut self) -> RX_TDM_PDM_CHAN4_EN_W { RX_TDM_PDM_CHAN4_EN_W::new(self, 4) } #[doc = "Bit 5 - 1: Enable the valid data input of I2S RX TDM or PDM channel 5. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan5_en(&mut self) -> RX_TDM_PDM_CHAN5_EN_W { RX_TDM_PDM_CHAN5_EN_W::new(self, 5) } #[doc = "Bit 6 - 1: Enable the valid data input of I2S RX TDM or PDM channel 6. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan6_en(&mut self) -> RX_TDM_PDM_CHAN6_EN_W { RX_TDM_PDM_CHAN6_EN_W::new(self, 6) } #[doc = "Bit 7 - 1: Enable the valid data input of I2S RX TDM or PDM channel 7. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan7_en(&mut self) -> RX_TDM_PDM_CHAN7_EN_W { RX_TDM_PDM_CHAN7_EN_W::new(self, 7) } #[doc = "Bit 8 - 1: Enable the valid data input of I2S RX TDM channel 8. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan8_en(&mut self) -> RX_TDM_CHAN8_EN_W { RX_TDM_CHAN8_EN_W::new(self, 8) } #[doc = "Bit 9 - 1: Enable the valid data input of I2S RX TDM channel 9. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan9_en(&mut self) -> RX_TDM_CHAN9_EN_W { RX_TDM_CHAN9_EN_W::new(self, 9) } #[doc = "Bit 10 - 1: Enable the valid data input of I2S RX TDM channel 10. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan10_en(&mut self) -> RX_TDM_CHAN10_EN_W { RX_TDM_CHAN10_EN_W::new(self, 10) } #[doc = "Bit 11 - 1: Enable the valid data input of I2S RX TDM channel 11. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan11_en(&mut self) -> RX_TDM_CHAN11_EN_W { RX_TDM_CHAN11_EN_W::new(self, 11) } #[doc = "Bit 12 - 1: Enable the valid data input of I2S RX TDM channel 12. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan12_en(&mut self) -> RX_TDM_CHAN12_EN_W { RX_TDM_CHAN12_EN_W::new(self, 12) } #[doc = "Bit 13 - 1: Enable the valid data input of I2S RX TDM channel 13. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan13_en(&mut self) -> RX_TDM_CHAN13_EN_W { RX_TDM_CHAN13_EN_W::new(self, 13) } #[doc = "Bit 14 - 1: Enable the valid data input of I2S RX TDM channel 14. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan14_en(&mut self) -> RX_TDM_CHAN14_EN_W { RX_TDM_CHAN14_EN_W::new(self, 14) } #[doc = "Bit 15 - 1: Enable the valid data input of I2S RX TDM channel 15. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan15_en(&mut self) -> RX_TDM_CHAN15_EN_W { RX_TDM_CHAN15_EN_W::new(self, 15) } #[doc = "Bits 16:19 - The total channel number of I2S TX TDM mode."] #[inline(always)] - #[must_use] pub fn rx_tdm_tot_chan_num(&mut self) -> RX_TDM_TOT_CHAN_NUM_W { RX_TDM_TOT_CHAN_NUM_W::new(self, 16) } diff --git a/esp32c3/src/i2s0/rx_timing.rs b/esp32c3/src/i2s0/rx_timing.rs index bb9ba20b42..bcf0d0e4ce 100644 --- a/esp32c3/src/i2s0/rx_timing.rs +++ b/esp32c3/src/i2s0/rx_timing.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - The delay mode of I2S Rx SD input signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_sd_in_dm(&mut self) -> RX_SD_IN_DM_W { RX_SD_IN_DM_W::new(self, 0) } #[doc = "Bits 16:17 - The delay mode of I2S Rx WS output signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_ws_out_dm(&mut self) -> RX_WS_OUT_DM_W { RX_WS_OUT_DM_W::new(self, 16) } #[doc = "Bits 20:21 - The delay mode of I2S Rx BCK output signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_bck_out_dm(&mut self) -> RX_BCK_OUT_DM_W { RX_BCK_OUT_DM_W::new(self, 20) } #[doc = "Bits 24:25 - The delay mode of I2S Rx WS input signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_ws_in_dm(&mut self) -> RX_WS_IN_DM_W { RX_WS_IN_DM_W::new(self, 24) } #[doc = "Bits 28:29 - The delay mode of I2S Rx BCK input signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_bck_in_dm(&mut self) -> RX_BCK_IN_DM_W { RX_BCK_IN_DM_W::new(self, 28) } diff --git a/esp32c3/src/i2s0/rxeof_num.rs b/esp32c3/src/i2s0/rxeof_num.rs index 3cc1cab6bd..e06f8c3e0d 100644 --- a/esp32c3/src/i2s0/rxeof_num.rs +++ b/esp32c3/src/i2s0/rxeof_num.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - The receive data bit length is (I2S_RX_BITS_MOD\\[4:0\\] + 1) * (REG_RX_EOF_NUM\\[11:0\\] + 1) . It will trigger in_suc_eof interrupt in the configured DMA RX channel."] #[inline(always)] - #[must_use] pub fn rx_eof_num(&mut self) -> RX_EOF_NUM_W { RX_EOF_NUM_W::new(self, 0) } diff --git a/esp32c3/src/i2s0/tx_clkm_conf.rs b/esp32c3/src/i2s0/tx_clkm_conf.rs index 24561dcbc6..af8d613b56 100644 --- a/esp32c3/src/i2s0/tx_clkm_conf.rs +++ b/esp32c3/src/i2s0/tx_clkm_conf.rs @@ -2,9 +2,9 @@ pub type R = crate::R; #[doc = "Register `TX_CLKM_CONF` writer"] pub type W = crate::W; -#[doc = "Field `TX_CLKM_DIV_NUM` reader - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] +#[doc = "Field `TX_CLKM_DIV_NUM` reader - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] pub type TX_CLKM_DIV_NUM_R = crate::FieldReader; -#[doc = "Field `TX_CLKM_DIV_NUM` writer - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] +#[doc = "Field `TX_CLKM_DIV_NUM` writer - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] pub type TX_CLKM_DIV_NUM_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; #[doc = "Field `TX_CLK_ACTIVE` reader - I2S Tx module clock enable signal."] pub type TX_CLK_ACTIVE_R = crate::BitReader; @@ -19,7 +19,7 @@ pub type CLK_EN_R = crate::BitReader; #[doc = "Field `CLK_EN` writer - Set this bit to enable clk gate"] pub type CLK_EN_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { - #[doc = "Bits 0:7 - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] + #[doc = "Bits 0:7 - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] #[inline(always)] pub fn tx_clkm_div_num(&self) -> TX_CLKM_DIV_NUM_R { TX_CLKM_DIV_NUM_R::new((self.bits & 0xff) as u8) @@ -52,27 +52,23 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bits 0:7 - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] + #[doc = "Bits 0:7 - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] #[inline(always)] - #[must_use] pub fn tx_clkm_div_num(&mut self) -> TX_CLKM_DIV_NUM_W { TX_CLKM_DIV_NUM_W::new(self, 0) } #[doc = "Bit 26 - I2S Tx module clock enable signal."] #[inline(always)] - #[must_use] pub fn tx_clk_active(&mut self) -> TX_CLK_ACTIVE_W { TX_CLK_ACTIVE_W::new(self, 26) } #[doc = "Bits 27:28 - Select I2S Tx module source clock. 0: XTAL clock. 1: APLL. 2: CLK160. 3: I2S_MCLK_in."] #[inline(always)] - #[must_use] pub fn tx_clk_sel(&mut self) -> TX_CLK_SEL_W { TX_CLK_SEL_W::new(self, 27) } #[doc = "Bit 29 - Set this bit to enable clk gate"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 29) } diff --git a/esp32c3/src/i2s0/tx_clkm_div_conf.rs b/esp32c3/src/i2s0/tx_clkm_div_conf.rs index e7b9c46e13..f8c04d20cf 100644 --- a/esp32c3/src/i2s0/tx_clkm_div_conf.rs +++ b/esp32c3/src/i2s0/tx_clkm_div_conf.rs @@ -2,39 +2,39 @@ pub type R = crate::R; #[doc = "Register `TX_CLKM_DIV_CONF` writer"] pub type W = crate::W; -#[doc = "Field `TX_CLKM_DIV_Z` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] +#[doc = "Field `TX_CLKM_DIV_Z` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] pub type TX_CLKM_DIV_Z_R = crate::FieldReader; -#[doc = "Field `TX_CLKM_DIV_Z` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] +#[doc = "Field `TX_CLKM_DIV_Z` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] pub type TX_CLKM_DIV_Z_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `TX_CLKM_DIV_Y` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] +#[doc = "Field `TX_CLKM_DIV_Y` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] pub type TX_CLKM_DIV_Y_R = crate::FieldReader; -#[doc = "Field `TX_CLKM_DIV_Y` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] +#[doc = "Field `TX_CLKM_DIV_Y` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] pub type TX_CLKM_DIV_Y_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `TX_CLKM_DIV_X` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] +#[doc = "Field `TX_CLKM_DIV_X` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] pub type TX_CLKM_DIV_X_R = crate::FieldReader; -#[doc = "Field `TX_CLKM_DIV_X` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] +#[doc = "Field `TX_CLKM_DIV_X` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] pub type TX_CLKM_DIV_X_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `TX_CLKM_DIV_YN1` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] +#[doc = "Field `TX_CLKM_DIV_YN1` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] pub type TX_CLKM_DIV_YN1_R = crate::BitReader; -#[doc = "Field `TX_CLKM_DIV_YN1` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] +#[doc = "Field `TX_CLKM_DIV_YN1` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] pub type TX_CLKM_DIV_YN1_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { - #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] + #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] #[inline(always)] pub fn tx_clkm_div_z(&self) -> TX_CLKM_DIV_Z_R { TX_CLKM_DIV_Z_R::new((self.bits & 0x01ff) as u16) } - #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] + #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] #[inline(always)] pub fn tx_clkm_div_y(&self) -> TX_CLKM_DIV_Y_R { TX_CLKM_DIV_Y_R::new(((self.bits >> 9) & 0x01ff) as u16) } - #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] + #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] #[inline(always)] pub fn tx_clkm_div_x(&self) -> TX_CLKM_DIV_X_R { TX_CLKM_DIV_X_R::new(((self.bits >> 18) & 0x01ff) as u16) } - #[doc = "Bit 27 - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] + #[doc = "Bit 27 - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] #[inline(always)] pub fn tx_clkm_div_yn1(&self) -> TX_CLKM_DIV_YN1_R { TX_CLKM_DIV_YN1_R::new(((self.bits >> 27) & 1) != 0) @@ -52,27 +52,23 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] + #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] #[inline(always)] - #[must_use] pub fn tx_clkm_div_z(&mut self) -> TX_CLKM_DIV_Z_W { TX_CLKM_DIV_Z_W::new(self, 0) } - #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] + #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] #[inline(always)] - #[must_use] pub fn tx_clkm_div_y(&mut self) -> TX_CLKM_DIV_Y_W { TX_CLKM_DIV_Y_W::new(self, 9) } - #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] + #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] #[inline(always)] - #[must_use] pub fn tx_clkm_div_x(&mut self) -> TX_CLKM_DIV_X_W { TX_CLKM_DIV_X_W::new(self, 18) } - #[doc = "Bit 27 - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] + #[doc = "Bit 27 - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] #[inline(always)] - #[must_use] pub fn tx_clkm_div_yn1(&mut self) -> TX_CLKM_DIV_YN1_W { TX_CLKM_DIV_YN1_W::new(self, 27) } diff --git a/esp32c3/src/i2s0/tx_conf.rs b/esp32c3/src/i2s0/tx_conf.rs index 48f6449414..628e4fb80d 100644 --- a/esp32c3/src/i2s0/tx_conf.rs +++ b/esp32c3/src/i2s0/tx_conf.rs @@ -34,9 +34,9 @@ pub type TX_UPDATE_W<'a, REG> = crate::BitWriter<'a, REG>; pub type TX_MONO_FST_VLD_R = crate::BitReader; #[doc = "Field `TX_MONO_FST_VLD` writer - 1: The first channel data value is valid in I2S TX mono mode. 0: The second channel data value is valid in I2S TX mono mode."] pub type TX_MONO_FST_VLD_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `TX_PCM_CONF` reader - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] +#[doc = "Field `TX_PCM_CONF` reader - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] pub type TX_PCM_CONF_R = crate::FieldReader; -#[doc = "Field `TX_PCM_CONF` writer - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] +#[doc = "Field `TX_PCM_CONF` writer - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] pub type TX_PCM_CONF_W<'a, REG> = crate::FieldWriter<'a, REG, 2>; #[doc = "Field `TX_PCM_BYPASS` reader - Set this bit to bypass Compress/Decompress module for transmitted data."] pub type TX_PCM_BYPASS_R = crate::BitReader; @@ -114,7 +114,7 @@ impl R { pub fn tx_mono_fst_vld(&self) -> TX_MONO_FST_VLD_R { TX_MONO_FST_VLD_R::new(((self.bits >> 9) & 1) != 0) } - #[doc = "Bits 10:11 - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] + #[doc = "Bits 10:11 - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] #[inline(always)] pub fn tx_pcm_conf(&self) -> TX_PCM_CONF_R { TX_PCM_CONF_R::new(((self.bits >> 10) & 3) as u8) @@ -198,121 +198,101 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to reset transmitter"] #[inline(always)] - #[must_use] pub fn tx_reset(&mut self) -> TX_RESET_W { TX_RESET_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to reset Tx AFIFO"] #[inline(always)] - #[must_use] pub fn tx_fifo_reset(&mut self) -> TX_FIFO_RESET_W { TX_FIFO_RESET_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to start transmitting data"] #[inline(always)] - #[must_use] pub fn tx_start(&mut self) -> TX_START_W { TX_START_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to enable slave transmitter mode"] #[inline(always)] - #[must_use] pub fn tx_slave_mod(&mut self) -> TX_SLAVE_MOD_W { TX_SLAVE_MOD_W::new(self, 3) } #[doc = "Bit 5 - Set this bit to enable transmitter in mono mode"] #[inline(always)] - #[must_use] pub fn tx_mono(&mut self) -> TX_MONO_W { TX_MONO_W::new(self, 5) } #[doc = "Bit 6 - 1: The value of Left channel data is equal to the value of right channel data in I2S TX mono mode or TDM channel select mode. 0: The invalid channel data is reg_i2s_single_data in I2S TX mono mode or TDM channel select mode."] #[inline(always)] - #[must_use] pub fn tx_chan_equal(&mut self) -> TX_CHAN_EQUAL_W { TX_CHAN_EQUAL_W::new(self, 6) } #[doc = "Bit 7 - I2S Tx byte endian, 1: low addr value to high addr. 0: low addr with low addr value."] #[inline(always)] - #[must_use] pub fn tx_big_endian(&mut self) -> TX_BIG_ENDIAN_W { TX_BIG_ENDIAN_W::new(self, 7) } #[doc = "Bit 8 - Set 1 to update I2S TX registers from APB clock domain to I2S TX clock domain. This bit will be cleared by hardware after update register done."] #[inline(always)] - #[must_use] pub fn tx_update(&mut self) -> TX_UPDATE_W { TX_UPDATE_W::new(self, 8) } #[doc = "Bit 9 - 1: The first channel data value is valid in I2S TX mono mode. 0: The second channel data value is valid in I2S TX mono mode."] #[inline(always)] - #[must_use] pub fn tx_mono_fst_vld(&mut self) -> TX_MONO_FST_VLD_W { TX_MONO_FST_VLD_W::new(self, 9) } - #[doc = "Bits 10:11 - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] + #[doc = "Bits 10:11 - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] #[inline(always)] - #[must_use] pub fn tx_pcm_conf(&mut self) -> TX_PCM_CONF_W { TX_PCM_CONF_W::new(self, 10) } #[doc = "Bit 12 - Set this bit to bypass Compress/Decompress module for transmitted data."] #[inline(always)] - #[must_use] pub fn tx_pcm_bypass(&mut self) -> TX_PCM_BYPASS_W { TX_PCM_BYPASS_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to stop disable output BCK signal and WS signal when tx FIFO is emtpy"] #[inline(always)] - #[must_use] pub fn tx_stop_en(&mut self) -> TX_STOP_EN_W { TX_STOP_EN_W::new(self, 13) } #[doc = "Bit 15 - 1: I2S TX left alignment mode. 0: I2S TX right alignment mode."] #[inline(always)] - #[must_use] pub fn tx_left_align(&mut self) -> TX_LEFT_ALIGN_W { TX_LEFT_ALIGN_W::new(self, 15) } #[doc = "Bit 16 - 1: Sent 32 bits in 24 channel bits mode. 0: Sent 24 bits in 24 channel bits mode"] #[inline(always)] - #[must_use] pub fn tx_24_fill_en(&mut self) -> TX_24_FILL_EN_W { TX_24_FILL_EN_W::new(self, 16) } #[doc = "Bit 17 - 0: WS should be 0 when sending left channel data, and WS is 1in right channel. 1: WS should be 1 when sending left channel data, and WS is 0in right channel."] #[inline(always)] - #[must_use] pub fn tx_ws_idle_pol(&mut self) -> TX_WS_IDLE_POL_W { TX_WS_IDLE_POL_W::new(self, 17) } #[doc = "Bit 18 - I2S Tx bit endian. 1:small endian, the LSB is sent first. 0:big endian, the MSB is sent first."] #[inline(always)] - #[must_use] pub fn tx_bit_order(&mut self) -> TX_BIT_ORDER_W { TX_BIT_ORDER_W::new(self, 18) } #[doc = "Bit 19 - 1: Enable I2S TDM Tx mode . 0: Disable."] #[inline(always)] - #[must_use] pub fn tx_tdm_en(&mut self) -> TX_TDM_EN_W { TX_TDM_EN_W::new(self, 19) } #[doc = "Bit 20 - 1: Enable I2S PDM Tx mode . 0: Disable."] #[inline(always)] - #[must_use] pub fn tx_pdm_en(&mut self) -> TX_PDM_EN_W { TX_PDM_EN_W::new(self, 20) } #[doc = "Bits 24:26 - I2S transmitter channel mode configuration bits."] #[inline(always)] - #[must_use] pub fn tx_chan_mod(&mut self) -> TX_CHAN_MOD_W { TX_CHAN_MOD_W::new(self, 24) } #[doc = "Bit 27 - Enable signal loop back mode with transmitter module and receiver module sharing the same WS and BCK signals."] #[inline(always)] - #[must_use] pub fn sig_loopback(&mut self) -> SIG_LOOPBACK_W { SIG_LOOPBACK_W::new(self, 27) } diff --git a/esp32c3/src/i2s0/tx_conf1.rs b/esp32c3/src/i2s0/tx_conf1.rs index 196c16c060..ca317bc3f4 100644 --- a/esp32c3/src/i2s0/tx_conf1.rs +++ b/esp32c3/src/i2s0/tx_conf1.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - The width of tx_ws_out in TDM mode is (I2S_TX_TDM_WS_WIDTH\\[6:0\\] +1) * T_bck"] #[inline(always)] - #[must_use] pub fn tx_tdm_ws_width(&mut self) -> TX_TDM_WS_WIDTH_W { TX_TDM_WS_WIDTH_W::new(self, 0) } #[doc = "Bits 7:12 - Bit clock configuration bits in transmitter mode."] #[inline(always)] - #[must_use] pub fn tx_bck_div_num(&mut self) -> TX_BCK_DIV_NUM_W { TX_BCK_DIV_NUM_W::new(self, 7) } #[doc = "Bits 13:17 - Set the bits to configure the valid data bit length of I2S transmitter channel. 7: all the valid channel data is in 8-bit-mode. 15: all the valid channel data is in 16-bit-mode. 23: all the valid channel data is in 24-bit-mode. 31:all the valid channel data is in 32-bit-mode."] #[inline(always)] - #[must_use] pub fn tx_bits_mod(&mut self) -> TX_BITS_MOD_W { TX_BITS_MOD_W::new(self, 13) } #[doc = "Bits 18:23 - I2S Tx half sample bits -1."] #[inline(always)] - #[must_use] pub fn tx_half_sample_bits(&mut self) -> TX_HALF_SAMPLE_BITS_W { TX_HALF_SAMPLE_BITS_W::new(self, 18) } #[doc = "Bits 24:28 - The Tx bit number for each channel minus 1in TDM mode."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan_bits(&mut self) -> TX_TDM_CHAN_BITS_W { TX_TDM_CHAN_BITS_W::new(self, 24) } #[doc = "Bit 29 - Set this bit to enable transmitter in Phillips standard mode"] #[inline(always)] - #[must_use] pub fn tx_msb_shift(&mut self) -> TX_MSB_SHIFT_W { TX_MSB_SHIFT_W::new(self, 29) } #[doc = "Bit 30 - 1: BCK is not delayed to generate pos/neg edge in master mode. 0: BCK is delayed to generate pos/neg edge in master mode."] #[inline(always)] - #[must_use] pub fn tx_bck_no_dly(&mut self) -> TX_BCK_NO_DLY_W { TX_BCK_NO_DLY_W::new(self, 30) } diff --git a/esp32c3/src/i2s0/tx_pcm2pdm_conf.rs b/esp32c3/src/i2s0/tx_pcm2pdm_conf.rs index efaddb2ef6..b58b16a1ad 100644 --- a/esp32c3/src/i2s0/tx_pcm2pdm_conf.rs +++ b/esp32c3/src/i2s0/tx_pcm2pdm_conf.rs @@ -140,43 +140,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - I2S TX PDM bypass hp filter or not. The option has been removed."] #[inline(always)] - #[must_use] pub fn tx_pdm_hp_bypass(&mut self) -> TX_PDM_HP_BYPASS_W { TX_PDM_HP_BYPASS_W::new(self, 0) } #[doc = "Bits 1:4 - I2S TX PDM OSR2 value"] #[inline(always)] - #[must_use] pub fn tx_pdm_sinc_osr2(&mut self) -> TX_PDM_SINC_OSR2_W { TX_PDM_SINC_OSR2_W::new(self, 1) } #[doc = "Bits 5:12 - I2S TX PDM prescale for sigmadelta"] #[inline(always)] - #[must_use] pub fn tx_pdm_prescale(&mut self) -> TX_PDM_PRESCALE_W { TX_PDM_PRESCALE_W::new(self, 5) } #[doc = "Bits 13:14 - I2S TX PDM sigmadelta scale shift number: 0:/2 , 1:x1 , 2:x2 , 3: x4"] #[inline(always)] - #[must_use] pub fn tx_pdm_hp_in_shift(&mut self) -> TX_PDM_HP_IN_SHIFT_W { TX_PDM_HP_IN_SHIFT_W::new(self, 13) } #[doc = "Bits 15:16 - I2S TX PDM sigmadelta scale shift number: 0:/2 , 1:x1 , 2:x2 , 3: x4"] #[inline(always)] - #[must_use] pub fn tx_pdm_lp_in_shift(&mut self) -> TX_PDM_LP_IN_SHIFT_W { TX_PDM_LP_IN_SHIFT_W::new(self, 15) } #[doc = "Bits 17:18 - I2S TX PDM sigmadelta scale shift number: 0:/2 , 1:x1 , 2:x2 , 3: x4"] #[inline(always)] - #[must_use] pub fn tx_pdm_sinc_in_shift(&mut self) -> TX_PDM_SINC_IN_SHIFT_W { TX_PDM_SINC_IN_SHIFT_W::new(self, 17) } #[doc = "Bits 19:20 - I2S TX PDM sigmadelta scale shift number: 0:/2 , 1:x1 , 2:x2 , 3: x4"] #[inline(always)] - #[must_use] pub fn tx_pdm_sigmadelta_in_shift( &mut self, ) -> TX_PDM_SIGMADELTA_IN_SHIFT_W { @@ -184,7 +177,6 @@ impl W { } #[doc = "Bit 21 - I2S TX PDM sigmadelta dither2 value"] #[inline(always)] - #[must_use] pub fn tx_pdm_sigmadelta_dither2( &mut self, ) -> TX_PDM_SIGMADELTA_DITHER2_W { @@ -192,25 +184,21 @@ impl W { } #[doc = "Bit 22 - I2S TX PDM sigmadelta dither value"] #[inline(always)] - #[must_use] pub fn tx_pdm_sigmadelta_dither(&mut self) -> TX_PDM_SIGMADELTA_DITHER_W { TX_PDM_SIGMADELTA_DITHER_W::new(self, 22) } #[doc = "Bit 23 - I2S TX PDM dac mode enable"] #[inline(always)] - #[must_use] pub fn tx_pdm_dac_2out_en(&mut self) -> TX_PDM_DAC_2OUT_EN_W { TX_PDM_DAC_2OUT_EN_W::new(self, 23) } #[doc = "Bit 24 - I2S TX PDM dac 2channel enable"] #[inline(always)] - #[must_use] pub fn tx_pdm_dac_mode_en(&mut self) -> TX_PDM_DAC_MODE_EN_W { TX_PDM_DAC_MODE_EN_W::new(self, 24) } #[doc = "Bit 25 - I2S TX PDM Converter enable"] #[inline(always)] - #[must_use] pub fn pcm2pdm_conv_en(&mut self) -> PCM2PDM_CONV_EN_W { PCM2PDM_CONV_EN_W::new(self, 25) } diff --git a/esp32c3/src/i2s0/tx_pcm2pdm_conf1.rs b/esp32c3/src/i2s0/tx_pcm2pdm_conf1.rs index 7f58eb3572..6ae1a8208e 100644 --- a/esp32c3/src/i2s0/tx_pcm2pdm_conf1.rs +++ b/esp32c3/src/i2s0/tx_pcm2pdm_conf1.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - I2S TX PDM Fp"] #[inline(always)] - #[must_use] pub fn tx_pdm_fp(&mut self) -> TX_PDM_FP_W { TX_PDM_FP_W::new(self, 0) } #[doc = "Bits 10:19 - I2S TX PDM Fs"] #[inline(always)] - #[must_use] pub fn tx_pdm_fs(&mut self) -> TX_PDM_FS_W { TX_PDM_FS_W::new(self, 10) } #[doc = "Bits 20:22 - The fourth parameter of PDM TX IIR_HP filter stage 2 is (504 + I2S_TX_IIR_HP_MULT12_5\\[2:0\\])"] #[inline(always)] - #[must_use] pub fn tx_iir_hp_mult12_5(&mut self) -> TX_IIR_HP_MULT12_5_W { TX_IIR_HP_MULT12_5_W::new(self, 20) } #[doc = "Bits 23:25 - The fourth parameter of PDM TX IIR_HP filter stage 1 is (504 + I2S_TX_IIR_HP_MULT12_0\\[2:0\\])"] #[inline(always)] - #[must_use] pub fn tx_iir_hp_mult12_0(&mut self) -> TX_IIR_HP_MULT12_0_W { TX_IIR_HP_MULT12_0_W::new(self, 23) } diff --git a/esp32c3/src/i2s0/tx_tdm_ctrl.rs b/esp32c3/src/i2s0/tx_tdm_ctrl.rs index 9d5efa9df7..859510cb36 100644 --- a/esp32c3/src/i2s0/tx_tdm_ctrl.rs +++ b/esp32c3/src/i2s0/tx_tdm_ctrl.rs @@ -194,109 +194,91 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: Enable the valid data output of I2S TX TDM channel 0. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan0_en(&mut self) -> TX_TDM_CHAN0_EN_W { TX_TDM_CHAN0_EN_W::new(self, 0) } #[doc = "Bit 1 - 1: Enable the valid data output of I2S TX TDM channel 1. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan1_en(&mut self) -> TX_TDM_CHAN1_EN_W { TX_TDM_CHAN1_EN_W::new(self, 1) } #[doc = "Bit 2 - 1: Enable the valid data output of I2S TX TDM channel 2. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan2_en(&mut self) -> TX_TDM_CHAN2_EN_W { TX_TDM_CHAN2_EN_W::new(self, 2) } #[doc = "Bit 3 - 1: Enable the valid data output of I2S TX TDM channel 3. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan3_en(&mut self) -> TX_TDM_CHAN3_EN_W { TX_TDM_CHAN3_EN_W::new(self, 3) } #[doc = "Bit 4 - 1: Enable the valid data output of I2S TX TDM channel 4. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan4_en(&mut self) -> TX_TDM_CHAN4_EN_W { TX_TDM_CHAN4_EN_W::new(self, 4) } #[doc = "Bit 5 - 1: Enable the valid data output of I2S TX TDM channel 5. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan5_en(&mut self) -> TX_TDM_CHAN5_EN_W { TX_TDM_CHAN5_EN_W::new(self, 5) } #[doc = "Bit 6 - 1: Enable the valid data output of I2S TX TDM channel 6. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan6_en(&mut self) -> TX_TDM_CHAN6_EN_W { TX_TDM_CHAN6_EN_W::new(self, 6) } #[doc = "Bit 7 - 1: Enable the valid data output of I2S TX TDM channel 7. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan7_en(&mut self) -> TX_TDM_CHAN7_EN_W { TX_TDM_CHAN7_EN_W::new(self, 7) } #[doc = "Bit 8 - 1: Enable the valid data output of I2S TX TDM channel 8. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan8_en(&mut self) -> TX_TDM_CHAN8_EN_W { TX_TDM_CHAN8_EN_W::new(self, 8) } #[doc = "Bit 9 - 1: Enable the valid data output of I2S TX TDM channel 9. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan9_en(&mut self) -> TX_TDM_CHAN9_EN_W { TX_TDM_CHAN9_EN_W::new(self, 9) } #[doc = "Bit 10 - 1: Enable the valid data output of I2S TX TDM channel 10. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan10_en(&mut self) -> TX_TDM_CHAN10_EN_W { TX_TDM_CHAN10_EN_W::new(self, 10) } #[doc = "Bit 11 - 1: Enable the valid data output of I2S TX TDM channel 11. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan11_en(&mut self) -> TX_TDM_CHAN11_EN_W { TX_TDM_CHAN11_EN_W::new(self, 11) } #[doc = "Bit 12 - 1: Enable the valid data output of I2S TX TDM channel 12. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan12_en(&mut self) -> TX_TDM_CHAN12_EN_W { TX_TDM_CHAN12_EN_W::new(self, 12) } #[doc = "Bit 13 - 1: Enable the valid data output of I2S TX TDM channel 13. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan13_en(&mut self) -> TX_TDM_CHAN13_EN_W { TX_TDM_CHAN13_EN_W::new(self, 13) } #[doc = "Bit 14 - 1: Enable the valid data output of I2S TX TDM channel 14. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan14_en(&mut self) -> TX_TDM_CHAN14_EN_W { TX_TDM_CHAN14_EN_W::new(self, 14) } #[doc = "Bit 15 - 1: Enable the valid data output of I2S TX TDM channel 15. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan15_en(&mut self) -> TX_TDM_CHAN15_EN_W { TX_TDM_CHAN15_EN_W::new(self, 15) } #[doc = "Bits 16:19 - The total channel number of I2S TX TDM mode."] #[inline(always)] - #[must_use] pub fn tx_tdm_tot_chan_num(&mut self) -> TX_TDM_TOT_CHAN_NUM_W { TX_TDM_TOT_CHAN_NUM_W::new(self, 16) } #[doc = "Bit 20 - When DMA TX buffer stores the data of (REG_TX_TDM_TOT_CHAN_NUM + 1) channels, and only the data of the enabled channels is sent, then this bit should be set. Clear it when all the data stored in DMA TX buffer is for enabled channels."] #[inline(always)] - #[must_use] pub fn tx_tdm_skip_msk_en(&mut self) -> TX_TDM_SKIP_MSK_EN_W { TX_TDM_SKIP_MSK_EN_W::new(self, 20) } diff --git a/esp32c3/src/i2s0/tx_timing.rs b/esp32c3/src/i2s0/tx_timing.rs index 82d20256cd..a9e6a29856 100644 --- a/esp32c3/src/i2s0/tx_timing.rs +++ b/esp32c3/src/i2s0/tx_timing.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - The delay mode of I2S TX SD output signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn tx_sd_out_dm(&mut self) -> TX_SD_OUT_DM_W { TX_SD_OUT_DM_W::new(self, 0) } #[doc = "Bits 4:5 - The delay mode of I2S TX SD1 output signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn tx_sd1_out_dm(&mut self) -> TX_SD1_OUT_DM_W { TX_SD1_OUT_DM_W::new(self, 4) } #[doc = "Bits 16:17 - The delay mode of I2S TX WS output signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn tx_ws_out_dm(&mut self) -> TX_WS_OUT_DM_W { TX_WS_OUT_DM_W::new(self, 16) } #[doc = "Bits 20:21 - The delay mode of I2S TX BCK output signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn tx_bck_out_dm(&mut self) -> TX_BCK_OUT_DM_W { TX_BCK_OUT_DM_W::new(self, 20) } #[doc = "Bits 24:25 - The delay mode of I2S TX WS input signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn tx_ws_in_dm(&mut self) -> TX_WS_IN_DM_W { TX_WS_IN_DM_W::new(self, 24) } #[doc = "Bits 28:29 - The delay mode of I2S TX BCK input signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn tx_bck_in_dm(&mut self) -> TX_BCK_IN_DM_W { TX_BCK_IN_DM_W::new(self, 28) } diff --git a/esp32c3/src/interrupt.rs b/esp32c3/src/interrupt.rs index 68e176d5d0..f97ababe6e 100644 --- a/esp32c3/src/interrupt.rs +++ b/esp32c3/src/interrupt.rs @@ -129,6 +129,7 @@ pub enum Interrupt { CACHE_CORE0_ACS = 61, } #[doc = r" TryFromInterruptError"] +#[cfg_attr(feature = "defmt", derive(defmt::Format))] #[derive(Debug, Copy, Clone)] pub struct TryFromInterruptError(()); impl Interrupt { diff --git a/esp32c3/src/interrupt_core0/aes_int_map.rs b/esp32c3/src/interrupt_core0/aes_int_map.rs index f6dca16e0d..c68d0cf92f 100644 --- a/esp32c3/src/interrupt_core0/aes_int_map.rs +++ b/esp32c3/src/interrupt_core0/aes_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_aes_int_map"] #[inline(always)] - #[must_use] pub fn aes_int_map(&mut self) -> AES_INT_MAP_W { AES_INT_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/apb_adc_int_map.rs b/esp32c3/src/interrupt_core0/apb_adc_int_map.rs index 454a9a5cad..60425e2848 100644 --- a/esp32c3/src/interrupt_core0/apb_adc_int_map.rs +++ b/esp32c3/src/interrupt_core0/apb_adc_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_apb_adc_int_map"] #[inline(always)] - #[must_use] pub fn apb_adc_int_map(&mut self) -> APB_ADC_INT_MAP_W { APB_ADC_INT_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/apb_ctrl_intr_map.rs b/esp32c3/src/interrupt_core0/apb_ctrl_intr_map.rs index 9faf373829..b02a490701 100644 --- a/esp32c3/src/interrupt_core0/apb_ctrl_intr_map.rs +++ b/esp32c3/src/interrupt_core0/apb_ctrl_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_apb_ctrl_intr_map"] #[inline(always)] - #[must_use] pub fn apb_ctrl_intr_map(&mut self) -> APB_CTRL_INTR_MAP_W { APB_CTRL_INTR_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/assist_debug_intr_map.rs b/esp32c3/src/interrupt_core0/assist_debug_intr_map.rs index fb45c67910..a7868b25a7 100644 --- a/esp32c3/src/interrupt_core0/assist_debug_intr_map.rs +++ b/esp32c3/src/interrupt_core0/assist_debug_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_assist_debug_intr_map"] #[inline(always)] - #[must_use] pub fn assist_debug_intr_map(&mut self) -> ASSIST_DEBUG_INTR_MAP_W { ASSIST_DEBUG_INTR_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/backup_pms_violate_intr_map.rs b/esp32c3/src/interrupt_core0/backup_pms_violate_intr_map.rs index a2dafd5c52..8838d13b55 100644 --- a/esp32c3/src/interrupt_core0/backup_pms_violate_intr_map.rs +++ b/esp32c3/src/interrupt_core0/backup_pms_violate_intr_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_backup_pms_violate_intr_map"] #[inline(always)] - #[must_use] pub fn backup_pms_violate_intr_map( &mut self, ) -> BACKUP_PMS_VIOLATE_INTR_MAP_W { diff --git a/esp32c3/src/interrupt_core0/bb_int_map.rs b/esp32c3/src/interrupt_core0/bb_int_map.rs index e62e7dc116..9d0578b549 100644 --- a/esp32c3/src/interrupt_core0/bb_int_map.rs +++ b/esp32c3/src/interrupt_core0/bb_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_bb_int_map"] #[inline(always)] - #[must_use] pub fn bb_int_map(&mut self) -> BB_INT_MAP_W { BB_INT_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/bt_bb_int_map.rs b/esp32c3/src/interrupt_core0/bt_bb_int_map.rs index 1e16a49f42..43dfef811f 100644 --- a/esp32c3/src/interrupt_core0/bt_bb_int_map.rs +++ b/esp32c3/src/interrupt_core0/bt_bb_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_bt_bb_int_map"] #[inline(always)] - #[must_use] pub fn bt_bb_int_map(&mut self) -> BT_BB_INT_MAP_W { BT_BB_INT_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/bt_bb_nmi_map.rs b/esp32c3/src/interrupt_core0/bt_bb_nmi_map.rs index dc469c7c32..23fb17c55b 100644 --- a/esp32c3/src/interrupt_core0/bt_bb_nmi_map.rs +++ b/esp32c3/src/interrupt_core0/bt_bb_nmi_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_bt_bb_nmi_map"] #[inline(always)] - #[must_use] pub fn bt_bb_nmi_map(&mut self) -> BT_BB_NMI_MAP_W { BT_BB_NMI_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/bt_mac_int_map.rs b/esp32c3/src/interrupt_core0/bt_mac_int_map.rs index 2d2b32a04d..c1a98b5c99 100644 --- a/esp32c3/src/interrupt_core0/bt_mac_int_map.rs +++ b/esp32c3/src/interrupt_core0/bt_mac_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_bt_mac_int_map"] #[inline(always)] - #[must_use] pub fn bt_mac_int_map(&mut self) -> BT_MAC_INT_MAP_W { BT_MAC_INT_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/cache_core0_acs_int_map.rs b/esp32c3/src/interrupt_core0/cache_core0_acs_int_map.rs index 3bf686df16..acb000f93e 100644 --- a/esp32c3/src/interrupt_core0/cache_core0_acs_int_map.rs +++ b/esp32c3/src/interrupt_core0/cache_core0_acs_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_cache_core0_acs_int_map"] #[inline(always)] - #[must_use] pub fn cache_core0_acs_int_map( &mut self, ) -> CACHE_CORE0_ACS_INT_MAP_W { diff --git a/esp32c3/src/interrupt_core0/cache_ia_int_map.rs b/esp32c3/src/interrupt_core0/cache_ia_int_map.rs index a28bed5b6e..45ae8753e5 100644 --- a/esp32c3/src/interrupt_core0/cache_ia_int_map.rs +++ b/esp32c3/src/interrupt_core0/cache_ia_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_cache_ia_int_map"] #[inline(always)] - #[must_use] pub fn cache_ia_int_map(&mut self) -> CACHE_IA_INT_MAP_W { CACHE_IA_INT_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/can_int_map.rs b/esp32c3/src/interrupt_core0/can_int_map.rs index e7b58bb0e5..fb2f92adc0 100644 --- a/esp32c3/src/interrupt_core0/can_int_map.rs +++ b/esp32c3/src/interrupt_core0/can_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_can_int_map"] #[inline(always)] - #[must_use] pub fn can_int_map(&mut self) -> CAN_INT_MAP_W { CAN_INT_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/clock_gate.rs b/esp32c3/src/interrupt_core0/clock_gate.rs index 2fb7649636..7b6585130a 100644 --- a/esp32c3/src/interrupt_core0/clock_gate.rs +++ b/esp32c3/src/interrupt_core0/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_core0_reg_clk_en"] #[inline(always)] - #[must_use] pub fn reg_clk_en(&mut self) -> REG_CLK_EN_W { REG_CLK_EN_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/core_0_dram0_pms_monitor_violate_intr_map.rs b/esp32c3/src/interrupt_core0/core_0_dram0_pms_monitor_violate_intr_map.rs index e74800f0b1..fd4d5411af 100644 --- a/esp32c3/src/interrupt_core0/core_0_dram0_pms_monitor_violate_intr_map.rs +++ b/esp32c3/src/interrupt_core0/core_0_dram0_pms_monitor_violate_intr_map.rs @@ -29,7 +29,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_core_0_dram0_pms_monitor_violate_intr_map"] #[inline(always)] - #[must_use] pub fn core_0_dram0_pms_monitor_violate_intr_map( &mut self, ) -> CORE_0_DRAM0_PMS_MONITOR_VIOLATE_INTR_MAP_W diff --git a/esp32c3/src/interrupt_core0/core_0_iram0_pms_monitor_violate_intr_map.rs b/esp32c3/src/interrupt_core0/core_0_iram0_pms_monitor_violate_intr_map.rs index 61a29d949b..0825389c0a 100644 --- a/esp32c3/src/interrupt_core0/core_0_iram0_pms_monitor_violate_intr_map.rs +++ b/esp32c3/src/interrupt_core0/core_0_iram0_pms_monitor_violate_intr_map.rs @@ -29,7 +29,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_core_0_iram0_pms_monitor_violate_intr_map"] #[inline(always)] - #[must_use] pub fn core_0_iram0_pms_monitor_violate_intr_map( &mut self, ) -> CORE_0_IRAM0_PMS_MONITOR_VIOLATE_INTR_MAP_W diff --git a/esp32c3/src/interrupt_core0/core_0_pif_pms_monitor_violate_intr_map.rs b/esp32c3/src/interrupt_core0/core_0_pif_pms_monitor_violate_intr_map.rs index 09639b75e9..ea1c88a330 100644 --- a/esp32c3/src/interrupt_core0/core_0_pif_pms_monitor_violate_intr_map.rs +++ b/esp32c3/src/interrupt_core0/core_0_pif_pms_monitor_violate_intr_map.rs @@ -29,7 +29,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_core_0_pif_pms_monitor_violate_intr_map"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_monitor_violate_intr_map( &mut self, ) -> CORE_0_PIF_PMS_MONITOR_VIOLATE_INTR_MAP_W diff --git a/esp32c3/src/interrupt_core0/core_0_pif_pms_monitor_violate_size_intr_map.rs b/esp32c3/src/interrupt_core0/core_0_pif_pms_monitor_violate_size_intr_map.rs index 285409e868..c2e4bb6b63 100644 --- a/esp32c3/src/interrupt_core0/core_0_pif_pms_monitor_violate_size_intr_map.rs +++ b/esp32c3/src/interrupt_core0/core_0_pif_pms_monitor_violate_size_intr_map.rs @@ -29,7 +29,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_core_0_pif_pms_monitor_violate_size_intr_map"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_monitor_violate_size_intr_map( &mut self, ) -> CORE_0_PIF_PMS_MONITOR_VIOLATE_SIZE_INTR_MAP_W< diff --git a/esp32c3/src/interrupt_core0/cpu_int_clear.rs b/esp32c3/src/interrupt_core0/cpu_int_clear.rs index 7c90d48cec..d06e278bb3 100644 --- a/esp32c3/src/interrupt_core0/cpu_int_clear.rs +++ b/esp32c3/src/interrupt_core0/cpu_int_clear.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_core0_cpu_int_clear"] #[inline(always)] - #[must_use] pub fn cpu_int_clear(&mut self) -> CPU_INT_CLEAR_W { CPU_INT_CLEAR_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/cpu_int_enable.rs b/esp32c3/src/interrupt_core0/cpu_int_enable.rs index 5aecc2fbe1..be65cca7db 100644 --- a/esp32c3/src/interrupt_core0/cpu_int_enable.rs +++ b/esp32c3/src/interrupt_core0/cpu_int_enable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_core0_cpu_int_enable"] #[inline(always)] - #[must_use] pub fn cpu_int_enable(&mut self) -> CPU_INT_ENABLE_W { CPU_INT_ENABLE_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/cpu_int_pri.rs b/esp32c3/src/interrupt_core0/cpu_int_pri.rs index 3831a01b36..5345c54700 100644 --- a/esp32c3/src/interrupt_core0/cpu_int_pri.rs +++ b/esp32c3/src/interrupt_core0/cpu_int_pri.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - reg_core0_cpu_pri_0_map"] #[inline(always)] - #[must_use] pub fn map(&mut self) -> MAP_W { MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/cpu_int_thresh.rs b/esp32c3/src/interrupt_core0/cpu_int_thresh.rs index a3571383d3..65aa18b8f8 100644 --- a/esp32c3/src/interrupt_core0/cpu_int_thresh.rs +++ b/esp32c3/src/interrupt_core0/cpu_int_thresh.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - reg_core0_cpu_int_thresh"] #[inline(always)] - #[must_use] pub fn cpu_int_thresh(&mut self) -> CPU_INT_THRESH_W { CPU_INT_THRESH_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/cpu_int_type.rs b/esp32c3/src/interrupt_core0/cpu_int_type.rs index 5f7200be4e..72ec89888e 100644 --- a/esp32c3/src/interrupt_core0/cpu_int_type.rs +++ b/esp32c3/src/interrupt_core0/cpu_int_type.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_core0_cpu_int_type"] #[inline(always)] - #[must_use] pub fn cpu_int_type(&mut self) -> CPU_INT_TYPE_W { CPU_INT_TYPE_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/cpu_intr_from_cpu_0_map.rs b/esp32c3/src/interrupt_core0/cpu_intr_from_cpu_0_map.rs index 495895b9ec..6aed6dcde9 100644 --- a/esp32c3/src/interrupt_core0/cpu_intr_from_cpu_0_map.rs +++ b/esp32c3/src/interrupt_core0/cpu_intr_from_cpu_0_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_cpu_intr_from_cpu_0_map"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_0_map( &mut self, ) -> CPU_INTR_FROM_CPU_0_MAP_W { diff --git a/esp32c3/src/interrupt_core0/cpu_intr_from_cpu_1_map.rs b/esp32c3/src/interrupt_core0/cpu_intr_from_cpu_1_map.rs index ab6a7a2ed9..6dd1025fd3 100644 --- a/esp32c3/src/interrupt_core0/cpu_intr_from_cpu_1_map.rs +++ b/esp32c3/src/interrupt_core0/cpu_intr_from_cpu_1_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_cpu_intr_from_cpu_1_map"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_1_map( &mut self, ) -> CPU_INTR_FROM_CPU_1_MAP_W { diff --git a/esp32c3/src/interrupt_core0/cpu_intr_from_cpu_2_map.rs b/esp32c3/src/interrupt_core0/cpu_intr_from_cpu_2_map.rs index 085348678e..6ae18b02a6 100644 --- a/esp32c3/src/interrupt_core0/cpu_intr_from_cpu_2_map.rs +++ b/esp32c3/src/interrupt_core0/cpu_intr_from_cpu_2_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_cpu_intr_from_cpu_2_map"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_2_map( &mut self, ) -> CPU_INTR_FROM_CPU_2_MAP_W { diff --git a/esp32c3/src/interrupt_core0/cpu_intr_from_cpu_3_map.rs b/esp32c3/src/interrupt_core0/cpu_intr_from_cpu_3_map.rs index 0379a69313..b35fd3c910 100644 --- a/esp32c3/src/interrupt_core0/cpu_intr_from_cpu_3_map.rs +++ b/esp32c3/src/interrupt_core0/cpu_intr_from_cpu_3_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_cpu_intr_from_cpu_3_map"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_3_map( &mut self, ) -> CPU_INTR_FROM_CPU_3_MAP_W { diff --git a/esp32c3/src/interrupt_core0/dma_apbperi_pms_monitor_violate_intr_map.rs b/esp32c3/src/interrupt_core0/dma_apbperi_pms_monitor_violate_intr_map.rs index 794816b327..5ce608f42d 100644 --- a/esp32c3/src/interrupt_core0/dma_apbperi_pms_monitor_violate_intr_map.rs +++ b/esp32c3/src/interrupt_core0/dma_apbperi_pms_monitor_violate_intr_map.rs @@ -29,7 +29,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_dma_apbperi_pms_monitor_violate_intr_map"] #[inline(always)] - #[must_use] pub fn dma_apbperi_pms_monitor_violate_intr_map( &mut self, ) -> DMA_APBPERI_PMS_MONITOR_VIOLATE_INTR_MAP_W diff --git a/esp32c3/src/interrupt_core0/dma_ch0_int_map.rs b/esp32c3/src/interrupt_core0/dma_ch0_int_map.rs index d655830658..68d2a6dd39 100644 --- a/esp32c3/src/interrupt_core0/dma_ch0_int_map.rs +++ b/esp32c3/src/interrupt_core0/dma_ch0_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_dma_ch0_int_map"] #[inline(always)] - #[must_use] pub fn dma_ch0_int_map(&mut self) -> DMA_CH0_INT_MAP_W { DMA_CH0_INT_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/dma_ch1_int_map.rs b/esp32c3/src/interrupt_core0/dma_ch1_int_map.rs index d883670a1a..522ce337a0 100644 --- a/esp32c3/src/interrupt_core0/dma_ch1_int_map.rs +++ b/esp32c3/src/interrupt_core0/dma_ch1_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_dma_ch1_int_map"] #[inline(always)] - #[must_use] pub fn dma_ch1_int_map(&mut self) -> DMA_CH1_INT_MAP_W { DMA_CH1_INT_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/dma_ch2_int_map.rs b/esp32c3/src/interrupt_core0/dma_ch2_int_map.rs index 157a41d419..5fbf5f4285 100644 --- a/esp32c3/src/interrupt_core0/dma_ch2_int_map.rs +++ b/esp32c3/src/interrupt_core0/dma_ch2_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_dma_ch2_int_map"] #[inline(always)] - #[must_use] pub fn dma_ch2_int_map(&mut self) -> DMA_CH2_INT_MAP_W { DMA_CH2_INT_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/efuse_int_map.rs b/esp32c3/src/interrupt_core0/efuse_int_map.rs index 775be78f4c..47bb830d29 100644 --- a/esp32c3/src/interrupt_core0/efuse_int_map.rs +++ b/esp32c3/src/interrupt_core0/efuse_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_efuse_int_map"] #[inline(always)] - #[must_use] pub fn efuse_int_map(&mut self) -> EFUSE_INT_MAP_W { EFUSE_INT_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/gpio_interrupt_pro_map.rs b/esp32c3/src/interrupt_core0/gpio_interrupt_pro_map.rs index b0b6942d79..7f62cba3a4 100644 --- a/esp32c3/src/interrupt_core0/gpio_interrupt_pro_map.rs +++ b/esp32c3/src/interrupt_core0/gpio_interrupt_pro_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_gpio_interrupt_pro_map"] #[inline(always)] - #[must_use] pub fn gpio_interrupt_pro_map( &mut self, ) -> GPIO_INTERRUPT_PRO_MAP_W { diff --git a/esp32c3/src/interrupt_core0/gpio_interrupt_pro_nmi_map.rs b/esp32c3/src/interrupt_core0/gpio_interrupt_pro_nmi_map.rs index 5800f1757c..e5ed4f0f8c 100644 --- a/esp32c3/src/interrupt_core0/gpio_interrupt_pro_nmi_map.rs +++ b/esp32c3/src/interrupt_core0/gpio_interrupt_pro_nmi_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_gpio_interrupt_pro_nmi_map"] #[inline(always)] - #[must_use] pub fn gpio_interrupt_pro_nmi_map( &mut self, ) -> GPIO_INTERRUPT_PRO_NMI_MAP_W { diff --git a/esp32c3/src/interrupt_core0/i2c_ext0_intr_map.rs b/esp32c3/src/interrupt_core0/i2c_ext0_intr_map.rs index 65cd44aa4f..ef2805ff85 100644 --- a/esp32c3/src/interrupt_core0/i2c_ext0_intr_map.rs +++ b/esp32c3/src/interrupt_core0/i2c_ext0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_i2c_ext0_intr_map"] #[inline(always)] - #[must_use] pub fn i2c_ext0_intr_map(&mut self) -> I2C_EXT0_INTR_MAP_W { I2C_EXT0_INTR_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/i2c_mst_int_map.rs b/esp32c3/src/interrupt_core0/i2c_mst_int_map.rs index 3e70f9d67d..e01864ea2b 100644 --- a/esp32c3/src/interrupt_core0/i2c_mst_int_map.rs +++ b/esp32c3/src/interrupt_core0/i2c_mst_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_i2c_mst_int_map"] #[inline(always)] - #[must_use] pub fn i2c_mst_int_map(&mut self) -> I2C_MST_INT_MAP_W { I2C_MST_INT_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/i2s1_int_map.rs b/esp32c3/src/interrupt_core0/i2s1_int_map.rs index ec77ed4ba8..2f49463ff2 100644 --- a/esp32c3/src/interrupt_core0/i2s1_int_map.rs +++ b/esp32c3/src/interrupt_core0/i2s1_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_i2s1_int_map"] #[inline(always)] - #[must_use] pub fn i2s1_int_map(&mut self) -> I2S1_INT_MAP_W { I2S1_INT_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/icache_preload_int_map.rs b/esp32c3/src/interrupt_core0/icache_preload_int_map.rs index 568beb0c8b..25155c9ab5 100644 --- a/esp32c3/src/interrupt_core0/icache_preload_int_map.rs +++ b/esp32c3/src/interrupt_core0/icache_preload_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_icache_preload_int_map"] #[inline(always)] - #[must_use] pub fn icache_preload_int_map( &mut self, ) -> ICACHE_PRELOAD_INT_MAP_W { diff --git a/esp32c3/src/interrupt_core0/icache_sync_int_map.rs b/esp32c3/src/interrupt_core0/icache_sync_int_map.rs index 63949d0954..3fbe103fd8 100644 --- a/esp32c3/src/interrupt_core0/icache_sync_int_map.rs +++ b/esp32c3/src/interrupt_core0/icache_sync_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_icache_sync_int_map"] #[inline(always)] - #[must_use] pub fn icache_sync_int_map(&mut self) -> ICACHE_SYNC_INT_MAP_W { ICACHE_SYNC_INT_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/interrupt_reg_date.rs b/esp32c3/src/interrupt_core0/interrupt_reg_date.rs index 1d70144c56..8a35d1cd51 100644 --- a/esp32c3/src/interrupt_core0/interrupt_reg_date.rs +++ b/esp32c3/src/interrupt_core0/interrupt_reg_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - reg_core0_interrupt_reg_date"] #[inline(always)] - #[must_use] pub fn interrupt_reg_date(&mut self) -> INTERRUPT_REG_DATE_W { INTERRUPT_REG_DATE_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/ledc_int_map.rs b/esp32c3/src/interrupt_core0/ledc_int_map.rs index c705ecad85..930cb7d8b1 100644 --- a/esp32c3/src/interrupt_core0/ledc_int_map.rs +++ b/esp32c3/src/interrupt_core0/ledc_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_ledc_int_map"] #[inline(always)] - #[must_use] pub fn ledc_int_map(&mut self) -> LEDC_INT_MAP_W { LEDC_INT_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/mac_intr_map.rs b/esp32c3/src/interrupt_core0/mac_intr_map.rs index 90af337974..1f2373d9f8 100644 --- a/esp32c3/src/interrupt_core0/mac_intr_map.rs +++ b/esp32c3/src/interrupt_core0/mac_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - core0_mac_intr_map"] #[inline(always)] - #[must_use] pub fn mac_intr_map(&mut self) -> MAC_INTR_MAP_W { MAC_INTR_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/mac_nmi_map.rs b/esp32c3/src/interrupt_core0/mac_nmi_map.rs index a82cb19efd..f134a32cd6 100644 --- a/esp32c3/src/interrupt_core0/mac_nmi_map.rs +++ b/esp32c3/src/interrupt_core0/mac_nmi_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_mac_nmi_map"] #[inline(always)] - #[must_use] pub fn mac_nmi_map(&mut self) -> MAC_NMI_MAP_W { MAC_NMI_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/pwr_intr_map.rs b/esp32c3/src/interrupt_core0/pwr_intr_map.rs index 733c734cdb..6931004118 100644 --- a/esp32c3/src/interrupt_core0/pwr_intr_map.rs +++ b/esp32c3/src/interrupt_core0/pwr_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_pwr_intr_map"] #[inline(always)] - #[must_use] pub fn pwr_intr_map(&mut self) -> PWR_INTR_MAP_W { PWR_INTR_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/rmt_intr_map.rs b/esp32c3/src/interrupt_core0/rmt_intr_map.rs index 7f6d438682..ef0879ad10 100644 --- a/esp32c3/src/interrupt_core0/rmt_intr_map.rs +++ b/esp32c3/src/interrupt_core0/rmt_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_rmt_intr_map"] #[inline(always)] - #[must_use] pub fn rmt_intr_map(&mut self) -> RMT_INTR_MAP_W { RMT_INTR_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/rsa_int_map.rs b/esp32c3/src/interrupt_core0/rsa_int_map.rs index 9a0e990d8d..c0f0fda3eb 100644 --- a/esp32c3/src/interrupt_core0/rsa_int_map.rs +++ b/esp32c3/src/interrupt_core0/rsa_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_rsa_int_map"] #[inline(always)] - #[must_use] pub fn rsa_int_map(&mut self) -> RSA_INT_MAP_W { RSA_INT_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/rtc_core_intr_map.rs b/esp32c3/src/interrupt_core0/rtc_core_intr_map.rs index 4c7fc0a8a3..4994fc0a32 100644 --- a/esp32c3/src/interrupt_core0/rtc_core_intr_map.rs +++ b/esp32c3/src/interrupt_core0/rtc_core_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_rtc_core_intr_map"] #[inline(always)] - #[must_use] pub fn rtc_core_intr_map(&mut self) -> RTC_CORE_INTR_MAP_W { RTC_CORE_INTR_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/rwble_irq_map.rs b/esp32c3/src/interrupt_core0/rwble_irq_map.rs index 14713ea5dd..8576609faa 100644 --- a/esp32c3/src/interrupt_core0/rwble_irq_map.rs +++ b/esp32c3/src/interrupt_core0/rwble_irq_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_rwble_irq_map"] #[inline(always)] - #[must_use] pub fn rwble_irq_map(&mut self) -> RWBLE_IRQ_MAP_W { RWBLE_IRQ_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/rwble_nmi_map.rs b/esp32c3/src/interrupt_core0/rwble_nmi_map.rs index 96f7e73a5c..8de24ca277 100644 --- a/esp32c3/src/interrupt_core0/rwble_nmi_map.rs +++ b/esp32c3/src/interrupt_core0/rwble_nmi_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_rwble_nmi_map"] #[inline(always)] - #[must_use] pub fn rwble_nmi_map(&mut self) -> RWBLE_NMI_MAP_W { RWBLE_NMI_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/rwbt_irq_map.rs b/esp32c3/src/interrupt_core0/rwbt_irq_map.rs index 2776cd18b8..51cda7f596 100644 --- a/esp32c3/src/interrupt_core0/rwbt_irq_map.rs +++ b/esp32c3/src/interrupt_core0/rwbt_irq_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_rwbt_irq_map"] #[inline(always)] - #[must_use] pub fn rwbt_irq_map(&mut self) -> RWBT_IRQ_MAP_W { RWBT_IRQ_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/rwbt_nmi_map.rs b/esp32c3/src/interrupt_core0/rwbt_nmi_map.rs index feead52686..0744e09c1a 100644 --- a/esp32c3/src/interrupt_core0/rwbt_nmi_map.rs +++ b/esp32c3/src/interrupt_core0/rwbt_nmi_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_rwbt_nmi_map"] #[inline(always)] - #[must_use] pub fn rwbt_nmi_map(&mut self) -> RWBT_NMI_MAP_W { RWBT_NMI_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/sha_int_map.rs b/esp32c3/src/interrupt_core0/sha_int_map.rs index 4eec95574f..3bbaa9e58d 100644 --- a/esp32c3/src/interrupt_core0/sha_int_map.rs +++ b/esp32c3/src/interrupt_core0/sha_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_sha_int_map"] #[inline(always)] - #[must_use] pub fn sha_int_map(&mut self) -> SHA_INT_MAP_W { SHA_INT_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/slc0_intr_map.rs b/esp32c3/src/interrupt_core0/slc0_intr_map.rs index 5da5e25a70..f58fc37ed9 100644 --- a/esp32c3/src/interrupt_core0/slc0_intr_map.rs +++ b/esp32c3/src/interrupt_core0/slc0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_slc0_intr_map"] #[inline(always)] - #[must_use] pub fn slc0_intr_map(&mut self) -> SLC0_INTR_MAP_W { SLC0_INTR_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/slc1_intr_map.rs b/esp32c3/src/interrupt_core0/slc1_intr_map.rs index 6f96b832e3..19da09eaf1 100644 --- a/esp32c3/src/interrupt_core0/slc1_intr_map.rs +++ b/esp32c3/src/interrupt_core0/slc1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_slc1_intr_map"] #[inline(always)] - #[must_use] pub fn slc1_intr_map(&mut self) -> SLC1_INTR_MAP_W { SLC1_INTR_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/spi_intr_1_map.rs b/esp32c3/src/interrupt_core0/spi_intr_1_map.rs index a3461cb8fa..ac95c1a821 100644 --- a/esp32c3/src/interrupt_core0/spi_intr_1_map.rs +++ b/esp32c3/src/interrupt_core0/spi_intr_1_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_spi_intr_1_map"] #[inline(always)] - #[must_use] pub fn spi_intr_1_map(&mut self) -> SPI_INTR_1_MAP_W { SPI_INTR_1_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/spi_intr_2_map.rs b/esp32c3/src/interrupt_core0/spi_intr_2_map.rs index a76ecadcab..fc86e01a91 100644 --- a/esp32c3/src/interrupt_core0/spi_intr_2_map.rs +++ b/esp32c3/src/interrupt_core0/spi_intr_2_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_spi_intr_2_map"] #[inline(always)] - #[must_use] pub fn spi_intr_2_map(&mut self) -> SPI_INTR_2_MAP_W { SPI_INTR_2_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/spi_mem_reject_intr_map.rs b/esp32c3/src/interrupt_core0/spi_mem_reject_intr_map.rs index cbe9da2a88..32a8271e9a 100644 --- a/esp32c3/src/interrupt_core0/spi_mem_reject_intr_map.rs +++ b/esp32c3/src/interrupt_core0/spi_mem_reject_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_spi_mem_reject_intr_map"] #[inline(always)] - #[must_use] pub fn spi_mem_reject_intr_map( &mut self, ) -> SPI_MEM_REJECT_INTR_MAP_W { diff --git a/esp32c3/src/interrupt_core0/systimer_target0_int_map.rs b/esp32c3/src/interrupt_core0/systimer_target0_int_map.rs index 329ac474dd..dfcb7dcda7 100644 --- a/esp32c3/src/interrupt_core0/systimer_target0_int_map.rs +++ b/esp32c3/src/interrupt_core0/systimer_target0_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_systimer_target0_int_map"] #[inline(always)] - #[must_use] pub fn systimer_target0_int_map( &mut self, ) -> SYSTIMER_TARGET0_INT_MAP_W { diff --git a/esp32c3/src/interrupt_core0/systimer_target1_int_map.rs b/esp32c3/src/interrupt_core0/systimer_target1_int_map.rs index 56dde26d75..327590edd3 100644 --- a/esp32c3/src/interrupt_core0/systimer_target1_int_map.rs +++ b/esp32c3/src/interrupt_core0/systimer_target1_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_systimer_target1_int_map"] #[inline(always)] - #[must_use] pub fn systimer_target1_int_map( &mut self, ) -> SYSTIMER_TARGET1_INT_MAP_W { diff --git a/esp32c3/src/interrupt_core0/systimer_target2_int_map.rs b/esp32c3/src/interrupt_core0/systimer_target2_int_map.rs index f2e1192b45..6e1c7a3169 100644 --- a/esp32c3/src/interrupt_core0/systimer_target2_int_map.rs +++ b/esp32c3/src/interrupt_core0/systimer_target2_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_systimer_target2_int_map"] #[inline(always)] - #[must_use] pub fn systimer_target2_int_map( &mut self, ) -> SYSTIMER_TARGET2_INT_MAP_W { diff --git a/esp32c3/src/interrupt_core0/tg1_t0_int_map.rs b/esp32c3/src/interrupt_core0/tg1_t0_int_map.rs index a1306ae715..092eda401d 100644 --- a/esp32c3/src/interrupt_core0/tg1_t0_int_map.rs +++ b/esp32c3/src/interrupt_core0/tg1_t0_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_tg1_t0_int_map"] #[inline(always)] - #[must_use] pub fn tg1_t0_int_map(&mut self) -> TG1_T0_INT_MAP_W { TG1_T0_INT_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/tg1_wdt_int_map.rs b/esp32c3/src/interrupt_core0/tg1_wdt_int_map.rs index 7cf4a05ce1..7ef6f4294f 100644 --- a/esp32c3/src/interrupt_core0/tg1_wdt_int_map.rs +++ b/esp32c3/src/interrupt_core0/tg1_wdt_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_tg1_wdt_int_map"] #[inline(always)] - #[must_use] pub fn tg1_wdt_int_map(&mut self) -> TG1_WDT_INT_MAP_W { TG1_WDT_INT_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/tg_t0_int_map.rs b/esp32c3/src/interrupt_core0/tg_t0_int_map.rs index fddb593577..ec98e43cec 100644 --- a/esp32c3/src/interrupt_core0/tg_t0_int_map.rs +++ b/esp32c3/src/interrupt_core0/tg_t0_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_tg_t0_int_map"] #[inline(always)] - #[must_use] pub fn tg_t0_int_map(&mut self) -> TG_T0_INT_MAP_W { TG_T0_INT_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/tg_wdt_int_map.rs b/esp32c3/src/interrupt_core0/tg_wdt_int_map.rs index 3503e454ab..147f493f89 100644 --- a/esp32c3/src/interrupt_core0/tg_wdt_int_map.rs +++ b/esp32c3/src/interrupt_core0/tg_wdt_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_tg_wdt_int_map"] #[inline(always)] - #[must_use] pub fn tg_wdt_int_map(&mut self) -> TG_WDT_INT_MAP_W { TG_WDT_INT_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/timer_int1_map.rs b/esp32c3/src/interrupt_core0/timer_int1_map.rs index ffedbf0939..d55a5f2918 100644 --- a/esp32c3/src/interrupt_core0/timer_int1_map.rs +++ b/esp32c3/src/interrupt_core0/timer_int1_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_timer_int1_map"] #[inline(always)] - #[must_use] pub fn timer_int1_map(&mut self) -> TIMER_INT1_MAP_W { TIMER_INT1_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/timer_int2_map.rs b/esp32c3/src/interrupt_core0/timer_int2_map.rs index 533f3efce7..0c23cee5ab 100644 --- a/esp32c3/src/interrupt_core0/timer_int2_map.rs +++ b/esp32c3/src/interrupt_core0/timer_int2_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_timer_int2_map"] #[inline(always)] - #[must_use] pub fn timer_int2_map(&mut self) -> TIMER_INT2_MAP_W { TIMER_INT2_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/uart1_intr_map.rs b/esp32c3/src/interrupt_core0/uart1_intr_map.rs index 4e475e3af3..c10591a4be 100644 --- a/esp32c3/src/interrupt_core0/uart1_intr_map.rs +++ b/esp32c3/src/interrupt_core0/uart1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_uart1_intr_map"] #[inline(always)] - #[must_use] pub fn uart1_intr_map(&mut self) -> UART1_INTR_MAP_W { UART1_INTR_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/uart_intr_map.rs b/esp32c3/src/interrupt_core0/uart_intr_map.rs index f99f298622..a05ba56b86 100644 --- a/esp32c3/src/interrupt_core0/uart_intr_map.rs +++ b/esp32c3/src/interrupt_core0/uart_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_uart_intr_map"] #[inline(always)] - #[must_use] pub fn uart_intr_map(&mut self) -> UART_INTR_MAP_W { UART_INTR_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/uhci0_intr_map.rs b/esp32c3/src/interrupt_core0/uhci0_intr_map.rs index db5d9aa861..3ced37e6f4 100644 --- a/esp32c3/src/interrupt_core0/uhci0_intr_map.rs +++ b/esp32c3/src/interrupt_core0/uhci0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_uhci0_intr_map"] #[inline(always)] - #[must_use] pub fn uhci0_intr_map(&mut self) -> UHCI0_INTR_MAP_W { UHCI0_INTR_MAP_W::new(self, 0) } diff --git a/esp32c3/src/interrupt_core0/usb_intr_map.rs b/esp32c3/src/interrupt_core0/usb_intr_map.rs index b040220406..c27b902c85 100644 --- a/esp32c3/src/interrupt_core0/usb_intr_map.rs +++ b/esp32c3/src/interrupt_core0/usb_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_core0_usb_intr_map"] #[inline(always)] - #[must_use] pub fn usb_intr_map(&mut self) -> USB_INTR_MAP_W { USB_INTR_MAP_W::new(self, 0) } diff --git a/esp32c3/src/io_mux/date.rs b/esp32c3/src/io_mux/date.rs index 5b7442c930..c1ba4cae77 100644 --- a/esp32c3/src/io_mux/date.rs +++ b/esp32c3/src/io_mux/date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Version control register"] #[inline(always)] - #[must_use] pub fn reg_date(&mut self) -> REG_DATE_W { REG_DATE_W::new(self, 0) } diff --git a/esp32c3/src/io_mux/gpio.rs b/esp32c3/src/io_mux/gpio.rs index 95ec7dc40c..1717a05b98 100644 --- a/esp32c3/src/io_mux/gpio.rs +++ b/esp32c3/src/io_mux/gpio.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: output enabled; 0: output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in pad mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad in sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. 0: ~5 mA; 1: ~10mA; 2: ~20mA; 3: ~40mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1; 1: Select Function 2; etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled; 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32c3/src/io_mux/pin_ctrl.rs b/esp32c3/src/io_mux/pin_ctrl.rs index c42f8b637c..ff6d6809e9 100644 --- a/esp32c3/src/io_mux/pin_ctrl.rs +++ b/esp32c3/src/io_mux/pin_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - If you want to output clock for I2S to CLK_OUT_out1, set this register to 0x0. CLK_OUT_out1 can be found in peripheral output signals."] #[inline(always)] - #[must_use] pub fn clk_out1(&mut self) -> CLK_OUT1_W { CLK_OUT1_W::new(self, 0) } #[doc = "Bits 4:7 - If you want to output clock for I2S to CLK_OUT_out2, set this register to 0x0. CLK_OUT_out2 can be found in peripheral output signals."] #[inline(always)] - #[must_use] pub fn clk_out2(&mut self) -> CLK_OUT2_W { CLK_OUT2_W::new(self, 4) } #[doc = "Bits 8:11 - If you want to output clock for I2S to CLK_OUT_out3, set this register to 0x0. CLK_OUT_out3 can be found in peripheral output signals."] #[inline(always)] - #[must_use] pub fn clk_out3(&mut self) -> CLK_OUT3_W { CLK_OUT3_W::new(self, 8) } diff --git a/esp32c3/src/ledc/ch/conf0.rs b/esp32c3/src/ledc/ch/conf0.rs index f9229d492a..caf91f9a3a 100644 --- a/esp32c3/src/ledc/ch/conf0.rs +++ b/esp32c3/src/ledc/ch/conf0.rs @@ -68,43 +68,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - reg_timer_sel_lsch0."] #[inline(always)] - #[must_use] pub fn timer_sel(&mut self) -> TIMER_SEL_W { TIMER_SEL_W::new(self, 0) } #[doc = "Bit 2 - reg_sig_out_en_lsch0."] #[inline(always)] - #[must_use] pub fn sig_out_en(&mut self) -> SIG_OUT_EN_W { SIG_OUT_EN_W::new(self, 2) } #[doc = "Bit 3 - reg_idle_lv_lsch0."] #[inline(always)] - #[must_use] pub fn idle_lv(&mut self) -> IDLE_LV_W { IDLE_LV_W::new(self, 3) } #[doc = "Bit 4 - reg_para_up_lsch0."] #[inline(always)] - #[must_use] pub fn para_up(&mut self) -> PARA_UP_W { PARA_UP_W::new(self, 4) } #[doc = "Bits 5:14 - reg_ovf_num_lsch0."] #[inline(always)] - #[must_use] pub fn ovf_num(&mut self) -> OVF_NUM_W { OVF_NUM_W::new(self, 5) } #[doc = "Bit 15 - reg_ovf_cnt_en_lsch0."] #[inline(always)] - #[must_use] pub fn ovf_cnt_en(&mut self) -> OVF_CNT_EN_W { OVF_CNT_EN_W::new(self, 15) } #[doc = "Bit 16 - reg_ovf_cnt_reset_lsch0."] #[inline(always)] - #[must_use] pub fn ovf_cnt_reset(&mut self) -> OVF_CNT_RESET_W { OVF_CNT_RESET_W::new(self, 16) } diff --git a/esp32c3/src/ledc/ch/conf1.rs b/esp32c3/src/ledc/ch/conf1.rs index 28a89a7a5e..77594e95f3 100644 --- a/esp32c3/src/ledc/ch/conf1.rs +++ b/esp32c3/src/ledc/ch/conf1.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - reg_duty_scale_lsch0."] #[inline(always)] - #[must_use] pub fn duty_scale(&mut self) -> DUTY_SCALE_W { DUTY_SCALE_W::new(self, 0) } #[doc = "Bits 10:19 - reg_duty_cycle_lsch0."] #[inline(always)] - #[must_use] pub fn duty_cycle(&mut self) -> DUTY_CYCLE_W { DUTY_CYCLE_W::new(self, 10) } #[doc = "Bits 20:29 - reg_duty_num_lsch0."] #[inline(always)] - #[must_use] pub fn duty_num(&mut self) -> DUTY_NUM_W { DUTY_NUM_W::new(self, 20) } #[doc = "Bit 30 - reg_duty_inc_lsch0."] #[inline(always)] - #[must_use] pub fn duty_inc(&mut self) -> DUTY_INC_W { DUTY_INC_W::new(self, 30) } #[doc = "Bit 31 - reg_duty_start_lsch0."] #[inline(always)] - #[must_use] pub fn duty_start(&mut self) -> DUTY_START_W { DUTY_START_W::new(self, 31) } diff --git a/esp32c3/src/ledc/ch/duty.rs b/esp32c3/src/ledc/ch/duty.rs index 83ef835acb..6122b47b67 100644 --- a/esp32c3/src/ledc/ch/duty.rs +++ b/esp32c3/src/ledc/ch/duty.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:18 - reg_duty_lsch0."] #[inline(always)] - #[must_use] pub fn duty(&mut self) -> DUTY_W { DUTY_W::new(self, 0) } diff --git a/esp32c3/src/ledc/ch/hpoint.rs b/esp32c3/src/ledc/ch/hpoint.rs index 1be43e52fd..21d5e7109d 100644 --- a/esp32c3/src/ledc/ch/hpoint.rs +++ b/esp32c3/src/ledc/ch/hpoint.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - reg_hpoint_lsch0."] #[inline(always)] - #[must_use] pub fn hpoint(&mut self) -> HPOINT_W { HPOINT_W::new(self, 0) } diff --git a/esp32c3/src/ledc/conf.rs b/esp32c3/src/ledc/conf.rs index 070d0f9d48..e713a21fbc 100644 --- a/esp32c3/src/ledc/conf.rs +++ b/esp32c3/src/ledc/conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - reg_apb_clk_sel."] #[inline(always)] - #[must_use] pub fn apb_clk_sel(&mut self) -> APB_CLK_SEL_W { APB_CLK_SEL_W::new(self, 0) } #[doc = "Bit 31 - reg_clk_en."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32c3/src/ledc/date.rs b/esp32c3/src/ledc/date.rs index f09f848ca5..cf0fa25c7d 100644 --- a/esp32c3/src/ledc/date.rs +++ b/esp32c3/src/ledc/date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_ledc_date."] #[inline(always)] - #[must_use] pub fn ledc_date(&mut self) -> LEDC_DATE_W { LEDC_DATE_W::new(self, 0) } diff --git a/esp32c3/src/ledc/int_clr.rs b/esp32c3/src/ledc/int_clr.rs index 458f464faa..0b21f0816a 100644 --- a/esp32c3/src/ledc/int_clr.rs +++ b/esp32c3/src/ledc/int_clr.rs @@ -17,7 +17,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TIMER0_OVF` field.
"] #[inline(always)] - #[must_use] pub fn timer_ovf(&mut self, n: u8) -> TIMER_OVF_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -25,25 +24,21 @@ impl W { } #[doc = "Bit 0 - Set this bit to clear the TIMER0_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer0_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the TIMER1_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer1_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the TIMER2_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer2_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the TIMER3_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer3_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 3) } @@ -51,7 +46,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `DUTY_CHNG_END_CH0` field.
"] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch(&mut self, n: u8) -> DUTY_CHNG_END_CH_W { #[allow(clippy::no_effect)] [(); 6][n as usize]; @@ -59,37 +53,31 @@ impl W { } #[doc = "Bit 4 - Set this bit to clear the DUTY_CHNG_END_CH0 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch0(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the DUTY_CHNG_END_CH1 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch1(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the DUTY_CHNG_END_CH2 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch2(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the DUTY_CHNG_END_CH3 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch3(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the DUTY_CHNG_END_CH4 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch4(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear the DUTY_CHNG_END_CH5 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch5(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 9) } @@ -97,7 +85,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `OVF_CNT_CH0` field.
"] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch(&mut self, n: u8) -> OVF_CNT_CH_W { #[allow(clippy::no_effect)] [(); 6][n as usize]; @@ -105,37 +92,31 @@ impl W { } #[doc = "Bit 10 - Set this bit to clear the OVF_CNT_CH0 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch0(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear the OVF_CNT_CH1 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch1(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to clear the OVF_CNT_CH2 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch2(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to clear the OVF_CNT_CH3 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch3(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to clear the OVF_CNT_CH4 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch4(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to clear the OVF_CNT_CH5 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch5(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 15) } @@ -149,7 +130,7 @@ impl crate::RegisterSpec for INT_CLR_SPEC { impl crate::Writable for INT_CLR_SPEC { type Safety = crate::Unsafe; const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0x0411; + const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0xffff; } #[doc = "`reset()` method sets INT_CLR to value 0"] impl crate::Resettable for INT_CLR_SPEC { diff --git a/esp32c3/src/ledc/int_ena.rs b/esp32c3/src/ledc/int_ena.rs index 02606b1bba..d9166e03a4 100644 --- a/esp32c3/src/ledc/int_ena.rs +++ b/esp32c3/src/ledc/int_ena.rs @@ -169,7 +169,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TIMER0_OVF` field.
"] #[inline(always)] - #[must_use] pub fn timer_ovf(&mut self, n: u8) -> TIMER_OVF_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -177,25 +176,21 @@ impl W { } #[doc = "Bit 0 - The interrupt enable bit for the TIMER0_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer0_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the TIMER1_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer1_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the TIMER2_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer2_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the TIMER3_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer3_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 3) } @@ -203,7 +198,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `DUTY_CHNG_END_CH0` field.
"] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch(&mut self, n: u8) -> DUTY_CHNG_END_CH_W { #[allow(clippy::no_effect)] [(); 6][n as usize]; @@ -211,37 +205,31 @@ impl W { } #[doc = "Bit 4 - The interrupt enable bit for the DUTY_CHNG_END_CH0 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch0(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 4) } #[doc = "Bit 5 - The interrupt enable bit for the DUTY_CHNG_END_CH1 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch1(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 5) } #[doc = "Bit 6 - The interrupt enable bit for the DUTY_CHNG_END_CH2 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch2(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 6) } #[doc = "Bit 7 - The interrupt enable bit for the DUTY_CHNG_END_CH3 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch3(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 7) } #[doc = "Bit 8 - The interrupt enable bit for the DUTY_CHNG_END_CH4 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch4(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 8) } #[doc = "Bit 9 - The interrupt enable bit for the DUTY_CHNG_END_CH5 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch5(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 9) } @@ -249,7 +237,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `OVF_CNT_CH0` field.
"] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch(&mut self, n: u8) -> OVF_CNT_CH_W { #[allow(clippy::no_effect)] [(); 6][n as usize]; @@ -257,37 +244,31 @@ impl W { } #[doc = "Bit 10 - The interrupt enable bit for the OVF_CNT_CH0 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch0(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 10) } #[doc = "Bit 11 - The interrupt enable bit for the OVF_CNT_CH1 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch1(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 11) } #[doc = "Bit 12 - The interrupt enable bit for the OVF_CNT_CH2 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch2(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 12) } #[doc = "Bit 13 - The interrupt enable bit for the OVF_CNT_CH3 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch3(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 13) } #[doc = "Bit 14 - The interrupt enable bit for the OVF_CNT_CH4 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch4(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 14) } #[doc = "Bit 15 - The interrupt enable bit for the OVF_CNT_CH5 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch5(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 15) } diff --git a/esp32c3/src/ledc/int_raw.rs b/esp32c3/src/ledc/int_raw.rs index f618ccfe5a..f0045ea5a2 100644 --- a/esp32c3/src/ledc/int_raw.rs +++ b/esp32c3/src/ledc/int_raw.rs @@ -169,7 +169,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TIMER0_OVF` field.
"] #[inline(always)] - #[must_use] pub fn timer_ovf(&mut self, n: u8) -> TIMER_OVF_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -177,25 +176,21 @@ impl W { } #[doc = "Bit 0 - reg_lstimer0_ovf_int_raw."] #[inline(always)] - #[must_use] pub fn timer0_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 0) } #[doc = "Bit 1 - reg_lstimer1_ovf_int_raw."] #[inline(always)] - #[must_use] pub fn timer1_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 1) } #[doc = "Bit 2 - reg_lstimer2_ovf_int_raw."] #[inline(always)] - #[must_use] pub fn timer2_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 2) } #[doc = "Bit 3 - reg_lstimer3_ovf_int_raw."] #[inline(always)] - #[must_use] pub fn timer3_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 3) } @@ -203,7 +198,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `DUTY_CHNG_END_CH0` field.
"] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch(&mut self, n: u8) -> DUTY_CHNG_END_CH_W { #[allow(clippy::no_effect)] [(); 6][n as usize]; @@ -211,37 +205,31 @@ impl W { } #[doc = "Bit 4 - Interrupt raw bit for channel 0. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch0(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 4) } #[doc = "Bit 5 - Interrupt raw bit for channel 1. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch1(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 5) } #[doc = "Bit 6 - Interrupt raw bit for channel 2. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch2(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 6) } #[doc = "Bit 7 - Interrupt raw bit for channel 3. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch3(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 7) } #[doc = "Bit 8 - Interrupt raw bit for channel 4. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch4(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 8) } #[doc = "Bit 9 - Interrupt raw bit for channel 5. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch5(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 9) } @@ -249,7 +237,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `OVF_CNT_CH0` field.
"] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch(&mut self, n: u8) -> OVF_CNT_CH_W { #[allow(clippy::no_effect)] [(); 6][n as usize]; @@ -257,37 +244,31 @@ impl W { } #[doc = "Bit 10 - Interrupt raw bit for channel 0. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch0(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 10) } #[doc = "Bit 11 - Interrupt raw bit for channel 1. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch1(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 11) } #[doc = "Bit 12 - Interrupt raw bit for channel 2. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch2(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 12) } #[doc = "Bit 13 - Interrupt raw bit for channel 3. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch3(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 13) } #[doc = "Bit 14 - Interrupt raw bit for channel 4. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch4(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 14) } #[doc = "Bit 15 - Interrupt raw bit for channel 5. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch5(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 15) } diff --git a/esp32c3/src/ledc/timer/conf.rs b/esp32c3/src/ledc/timer/conf.rs index d8f71036f4..df4093bf93 100644 --- a/esp32c3/src/ledc/timer/conf.rs +++ b/esp32c3/src/ledc/timer/conf.rs @@ -66,37 +66,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - reg_lstimer0_duty_res."] #[inline(always)] - #[must_use] pub fn duty_res(&mut self) -> DUTY_RES_W { DUTY_RES_W::new(self, 0) } #[doc = "Bits 4:21 - reg_clk_div_lstimer0."] #[inline(always)] - #[must_use] pub fn clk_div(&mut self) -> CLK_DIV_W { CLK_DIV_W::new(self, 4) } #[doc = "Bit 22 - reg_lstimer0_pause."] #[inline(always)] - #[must_use] pub fn pause(&mut self) -> PAUSE_W { PAUSE_W::new(self, 22) } #[doc = "Bit 23 - reg_lstimer0_rst."] #[inline(always)] - #[must_use] pub fn rst(&mut self) -> RST_W { RST_W::new(self, 23) } #[doc = "Bit 24 - reg_tick_sel_lstimer0."] #[inline(always)] - #[must_use] pub fn tick_sel(&mut self) -> TICK_SEL_W { TICK_SEL_W::new(self, 24) } #[doc = "Bit 25 - reg_lstimer0_para_up."] #[inline(always)] - #[must_use] pub fn para_up(&mut self) -> PARA_UP_W { PARA_UP_W::new(self, 25) } diff --git a/esp32c3/src/lib.rs b/esp32c3/src/lib.rs index ad6aa88a93..cd9097e4de 100644 --- a/esp32c3/src/lib.rs +++ b/esp32c3/src/lib.rs @@ -1,4 +1,4 @@ -#![doc = "Peripheral access API for ESP32-C3 microcontrollers (generated using svd2rust v0.33.4 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next] svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.33.4/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"] +#![doc = "Peripheral access API for ESP32-C3 microcontrollers (generated using svd2rust v0.34.0 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next] svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.34.0/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"] #![allow(non_camel_case_types)] #![allow(non_snake_case)] #![doc(html_logo_url = "https://avatars.githubusercontent.com/u/46717278")] diff --git a/esp32c3/src/nrx/nrxpd_ctrl.rs b/esp32c3/src/nrx/nrxpd_ctrl.rs index 4de238a244..c41431ccbe 100644 --- a/esp32c3/src/nrx/nrxpd_ctrl.rs +++ b/esp32c3/src/nrx/nrxpd_ctrl.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Force Power Down for Demapper"] #[inline(always)] - #[must_use] pub fn demap_force_pd(&mut self) -> DEMAP_FORCE_PD_W { DEMAP_FORCE_PD_W::new(self, 0) } #[doc = "Bit 1 - Force Power Up for Demapper"] #[inline(always)] - #[must_use] pub fn demap_force_pu(&mut self) -> DEMAP_FORCE_PU_W { DEMAP_FORCE_PU_W::new(self, 1) } #[doc = "Bit 2 - Force Power Down for Viterbi Decoder"] #[inline(always)] - #[must_use] pub fn vit_force_pd(&mut self) -> VIT_FORCE_PD_W { VIT_FORCE_PD_W::new(self, 2) } #[doc = "Bit 3 - Force Power Up for Viterbi Decoder"] #[inline(always)] - #[must_use] pub fn vit_force_pu(&mut self) -> VIT_FORCE_PU_W { VIT_FORCE_PU_W::new(self, 3) } #[doc = "Bit 4 - Force Power Down for RX Rotation"] #[inline(always)] - #[must_use] pub fn rx_rot_force_pd(&mut self) -> RX_ROT_FORCE_PD_W { RX_ROT_FORCE_PD_W::new(self, 4) } #[doc = "Bit 5 - Force Power Up for RX Rotation"] #[inline(always)] - #[must_use] pub fn rx_rot_force_pu(&mut self) -> RX_ROT_FORCE_PU_W { RX_ROT_FORCE_PU_W::new(self, 5) } #[doc = "Bit 6 - Force Power Down for Channel Estimation"] #[inline(always)] - #[must_use] pub fn chan_est_force_pd(&mut self) -> CHAN_EST_FORCE_PD_W { CHAN_EST_FORCE_PD_W::new(self, 6) } #[doc = "Bit 7 - Force Power Up for Channel Estimation"] #[inline(always)] - #[must_use] pub fn chan_est_force_pu(&mut self) -> CHAN_EST_FORCE_PU_W { CHAN_EST_FORCE_PU_W::new(self, 7) } diff --git a/esp32c3/src/rmt.rs b/esp32c3/src/rmt.rs index 6af58510ab..f03ea1a255 100644 --- a/esp32c3/src/rmt.rs +++ b/esp32c3/src/rmt.rs @@ -78,18 +78,31 @@ impl RegisterBlock { self.ch_tx_conf0(1) } #[doc = "0x18..0x20 - RMT_CH2CONF0_REG."] + #[doc = ""] + #[doc = "
`n` is the index of register in the array. `n == 0` corresponds to `CH2_RX_CONF0` register.
"] #[inline(always)] pub const fn ch_rx_conf0(&self, n: usize) -> &CH_RX_CONF0 { #[allow(clippy::no_effect)] [(); 2][n]; - unsafe { &*(self as *const Self).cast::().add(24).add(8 * n).cast() } + unsafe { + &*core::ptr::from_ref(self) + .cast::() + .add(24) + .add(8 * n) + .cast() + } } #[doc = "Iterator for array of:"] #[doc = "0x18..0x20 - RMT_CH2CONF0_REG."] #[inline(always)] pub fn ch_rx_conf0_iter(&self) -> impl Iterator { - (0..2) - .map(move |n| unsafe { &*(self as *const Self).cast::().add(24).add(8 * n).cast() }) + (0..2).map(move |n| unsafe { + &*core::ptr::from_ref(self) + .cast::() + .add(24) + .add(8 * n) + .cast() + }) } #[doc = "0x18 - RMT_CH2CONF0_REG."] #[inline(always)] @@ -102,18 +115,31 @@ impl RegisterBlock { self.ch_rx_conf0(1) } #[doc = "0x1c..0x24 - RMT_CH2CONF1_REG."] + #[doc = ""] + #[doc = "
`n` is the index of register in the array. `n == 0` corresponds to `CH2_RX_CONF1` register.
"] #[inline(always)] pub const fn ch_rx_conf1(&self, n: usize) -> &CH_RX_CONF1 { #[allow(clippy::no_effect)] [(); 2][n]; - unsafe { &*(self as *const Self).cast::().add(28).add(8 * n).cast() } + unsafe { + &*core::ptr::from_ref(self) + .cast::() + .add(28) + .add(8 * n) + .cast() + } } #[doc = "Iterator for array of:"] #[doc = "0x1c..0x24 - RMT_CH2CONF1_REG."] #[inline(always)] pub fn ch_rx_conf1_iter(&self) -> impl Iterator { - (0..2) - .map(move |n| unsafe { &*(self as *const Self).cast::().add(28).add(8 * n).cast() }) + (0..2).map(move |n| unsafe { + &*core::ptr::from_ref(self) + .cast::() + .add(28) + .add(8 * n) + .cast() + }) } #[doc = "0x1c - RMT_CH2CONF1_REG."] #[inline(always)] @@ -147,6 +173,8 @@ impl RegisterBlock { self.ch_tx_status(1) } #[doc = "0x30..0x38 - RMT_CH2STATUS_REG."] + #[doc = ""] + #[doc = "
`n` is the index of register in the array. `n == 0` corresponds to `CH2_RX_STATUS` register.
"] #[inline(always)] pub const fn ch_rx_status(&self, n: usize) -> &CH_RX_STATUS { &self.ch_rx_status[n] @@ -209,6 +237,8 @@ impl RegisterBlock { self.chcarrier_duty(1) } #[doc = "0x50..0x58 - RMT_CH2_RX_CARRIER_RM_REG."] + #[doc = ""] + #[doc = "
`n` is the index of register in the array. `n == 0` corresponds to `CH2_RX_CARRIER_RM` register.
"] #[inline(always)] pub const fn ch_rx_carrier_rm(&self, n: usize) -> &CH_RX_CARRIER_RM { &self.ch_rx_carrier_rm[n] @@ -251,6 +281,8 @@ impl RegisterBlock { self.ch_tx_lim(1) } #[doc = "0x60..0x68 - RMT_CH2_RX_LIM_REG."] + #[doc = ""] + #[doc = "
`n` is the index of register in the array. `n == 0` corresponds to `CH2_RX_LIM` register.
"] #[inline(always)] pub const fn ch_rx_lim(&self, n: usize) -> &CH_RX_LIM { &self.ch_rx_lim[n] diff --git a/esp32c3/src/rmt/ch_rx_carrier_rm.rs b/esp32c3/src/rmt/ch_rx_carrier_rm.rs index e01fd9f6a1..f416fcc13f 100644 --- a/esp32c3/src/rmt/ch_rx_carrier_rm.rs +++ b/esp32c3/src/rmt/ch_rx_carrier_rm.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - reg_carrier_low_thres_ch2."] #[inline(always)] - #[must_use] pub fn carrier_low_thres(&mut self) -> CARRIER_LOW_THRES_W { CARRIER_LOW_THRES_W::new(self, 0) } #[doc = "Bits 16:31 - reg_carrier_high_thres_ch2."] #[inline(always)] - #[must_use] pub fn carrier_high_thres(&mut self) -> CARRIER_HIGH_THRES_W { CARRIER_HIGH_THRES_W::new(self, 16) } diff --git a/esp32c3/src/rmt/ch_rx_conf0.rs b/esp32c3/src/rmt/ch_rx_conf0.rs index 4bcac2b5ed..3b98619791 100644 --- a/esp32c3/src/rmt/ch_rx_conf0.rs +++ b/esp32c3/src/rmt/ch_rx_conf0.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - reg_div_cnt_ch2."] #[inline(always)] - #[must_use] pub fn div_cnt(&mut self) -> DIV_CNT_W { DIV_CNT_W::new(self, 0) } #[doc = "Bits 8:22 - reg_idle_thres_ch2."] #[inline(always)] - #[must_use] pub fn idle_thres(&mut self) -> IDLE_THRES_W { IDLE_THRES_W::new(self, 8) } #[doc = "Bits 23:25 - reg_mem_size_ch2."] #[inline(always)] - #[must_use] pub fn mem_size(&mut self) -> MEM_SIZE_W { MEM_SIZE_W::new(self, 23) } #[doc = "Bit 28 - reg_carrier_en_ch2."] #[inline(always)] - #[must_use] pub fn carrier_en(&mut self) -> CARRIER_EN_W { CARRIER_EN_W::new(self, 28) } #[doc = "Bit 29 - reg_carrier_out_lv_ch2."] #[inline(always)] - #[must_use] pub fn carrier_out_lv(&mut self) -> CARRIER_OUT_LV_W { CARRIER_OUT_LV_W::new(self, 29) } diff --git a/esp32c3/src/rmt/ch_rx_conf1.rs b/esp32c3/src/rmt/ch_rx_conf1.rs index 09cc436f61..8c008edd75 100644 --- a/esp32c3/src/rmt/ch_rx_conf1.rs +++ b/esp32c3/src/rmt/ch_rx_conf1.rs @@ -72,55 +72,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_rx_en_ch2."] #[inline(always)] - #[must_use] pub fn rx_en(&mut self) -> RX_EN_W { RX_EN_W::new(self, 0) } #[doc = "Bit 1 - reg_mem_wr_rst_ch2."] #[inline(always)] - #[must_use] pub fn mem_wr_rst(&mut self) -> MEM_WR_RST_W { MEM_WR_RST_W::new(self, 1) } #[doc = "Bit 2 - reg_apb_mem_rst_ch2."] #[inline(always)] - #[must_use] pub fn apb_mem_rst(&mut self) -> APB_MEM_RST_W { APB_MEM_RST_W::new(self, 2) } #[doc = "Bit 3 - reg_mem_owner_ch2."] #[inline(always)] - #[must_use] pub fn mem_owner(&mut self) -> MEM_OWNER_W { MEM_OWNER_W::new(self, 3) } #[doc = "Bit 4 - reg_rx_filter_en_ch2."] #[inline(always)] - #[must_use] pub fn rx_filter_en(&mut self) -> RX_FILTER_EN_W { RX_FILTER_EN_W::new(self, 4) } #[doc = "Bits 5:12 - reg_rx_filter_thres_ch2."] #[inline(always)] - #[must_use] pub fn rx_filter_thres(&mut self) -> RX_FILTER_THRES_W { RX_FILTER_THRES_W::new(self, 5) } #[doc = "Bit 13 - reg_mem_rx_wrap_en_ch2."] #[inline(always)] - #[must_use] pub fn mem_rx_wrap_en(&mut self) -> MEM_RX_WRAP_EN_W { MEM_RX_WRAP_EN_W::new(self, 13) } #[doc = "Bit 14 - reg_afifo_rst_ch2."] #[inline(always)] - #[must_use] pub fn afifo_rst(&mut self) -> AFIFO_RST_W { AFIFO_RST_W::new(self, 14) } #[doc = "Bit 15 - reg_conf_update_ch2."] #[inline(always)] - #[must_use] pub fn conf_update(&mut self) -> CONF_UPDATE_W { CONF_UPDATE_W::new(self, 15) } diff --git a/esp32c3/src/rmt/ch_rx_lim.rs b/esp32c3/src/rmt/ch_rx_lim.rs index 5ed81d545a..871c5dc429 100644 --- a/esp32c3/src/rmt/ch_rx_lim.rs +++ b/esp32c3/src/rmt/ch_rx_lim.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - reg_rmt_rx_lim_ch2."] #[inline(always)] - #[must_use] pub fn rx_lim(&mut self) -> RX_LIM_W { RX_LIM_W::new(self, 0) } diff --git a/esp32c3/src/rmt/ch_tx_conf0.rs b/esp32c3/src/rmt/ch_tx_conf0.rs index 85305e2384..50186a14ec 100644 --- a/esp32c3/src/rmt/ch_tx_conf0.rs +++ b/esp32c3/src/rmt/ch_tx_conf0.rs @@ -124,91 +124,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_tx_start_ch0."] #[inline(always)] - #[must_use] pub fn tx_start(&mut self) -> TX_START_W { TX_START_W::new(self, 0) } #[doc = "Bit 1 - reg_mem_rd_rst_ch0."] #[inline(always)] - #[must_use] pub fn mem_rd_rst(&mut self) -> MEM_RD_RST_W { MEM_RD_RST_W::new(self, 1) } #[doc = "Bit 2 - reg_apb_mem_rst_ch0."] #[inline(always)] - #[must_use] pub fn apb_mem_rst(&mut self) -> APB_MEM_RST_W { APB_MEM_RST_W::new(self, 2) } #[doc = "Bit 3 - reg_tx_conti_mode_ch0."] #[inline(always)] - #[must_use] pub fn tx_conti_mode(&mut self) -> TX_CONTI_MODE_W { TX_CONTI_MODE_W::new(self, 3) } #[doc = "Bit 4 - reg_mem_tx_wrap_en_ch0."] #[inline(always)] - #[must_use] pub fn mem_tx_wrap_en(&mut self) -> MEM_TX_WRAP_EN_W { MEM_TX_WRAP_EN_W::new(self, 4) } #[doc = "Bit 5 - reg_idle_out_lv_ch0."] #[inline(always)] - #[must_use] pub fn idle_out_lv(&mut self) -> IDLE_OUT_LV_W { IDLE_OUT_LV_W::new(self, 5) } #[doc = "Bit 6 - reg_idle_out_en_ch0."] #[inline(always)] - #[must_use] pub fn idle_out_en(&mut self) -> IDLE_OUT_EN_W { IDLE_OUT_EN_W::new(self, 6) } #[doc = "Bit 7 - reg_tx_stop_ch0."] #[inline(always)] - #[must_use] pub fn tx_stop(&mut self) -> TX_STOP_W { TX_STOP_W::new(self, 7) } #[doc = "Bits 8:15 - reg_div_cnt_ch0."] #[inline(always)] - #[must_use] pub fn div_cnt(&mut self) -> DIV_CNT_W { DIV_CNT_W::new(self, 8) } #[doc = "Bits 16:18 - reg_mem_size_ch0."] #[inline(always)] - #[must_use] pub fn mem_size(&mut self) -> MEM_SIZE_W { MEM_SIZE_W::new(self, 16) } #[doc = "Bit 20 - reg_carrier_eff_en_ch0."] #[inline(always)] - #[must_use] pub fn carrier_eff_en(&mut self) -> CARRIER_EFF_EN_W { CARRIER_EFF_EN_W::new(self, 20) } #[doc = "Bit 21 - reg_carrier_en_ch0."] #[inline(always)] - #[must_use] pub fn carrier_en(&mut self) -> CARRIER_EN_W { CARRIER_EN_W::new(self, 21) } #[doc = "Bit 22 - reg_carrier_out_lv_ch0."] #[inline(always)] - #[must_use] pub fn carrier_out_lv(&mut self) -> CARRIER_OUT_LV_W { CARRIER_OUT_LV_W::new(self, 22) } #[doc = "Bit 23 - reg_afifo_rst_ch0."] #[inline(always)] - #[must_use] pub fn afifo_rst(&mut self) -> AFIFO_RST_W { AFIFO_RST_W::new(self, 23) } #[doc = "Bit 24 - reg_reg_conf_update_ch0."] #[inline(always)] - #[must_use] pub fn conf_update(&mut self) -> CONF_UPDATE_W { CONF_UPDATE_W::new(self, 24) } diff --git a/esp32c3/src/rmt/ch_tx_lim.rs b/esp32c3/src/rmt/ch_tx_lim.rs index b5ea8937c4..2a65e28859 100644 --- a/esp32c3/src/rmt/ch_tx_lim.rs +++ b/esp32c3/src/rmt/ch_tx_lim.rs @@ -46,25 +46,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - reg_rmt_tx_lim_ch0."] #[inline(always)] - #[must_use] pub fn tx_lim(&mut self) -> TX_LIM_W { TX_LIM_W::new(self, 0) } #[doc = "Bits 9:18 - reg_rmt_tx_loop_num_ch0."] #[inline(always)] - #[must_use] pub fn tx_loop_num(&mut self) -> TX_LOOP_NUM_W { TX_LOOP_NUM_W::new(self, 9) } #[doc = "Bit 19 - reg_rmt_tx_loop_cnt_en_ch0."] #[inline(always)] - #[must_use] pub fn tx_loop_cnt_en(&mut self) -> TX_LOOP_CNT_EN_W { TX_LOOP_CNT_EN_W::new(self, 19) } #[doc = "Bit 20 - reg_loop_count_reset_ch0."] #[inline(always)] - #[must_use] pub fn loop_count_reset(&mut self) -> LOOP_COUNT_RESET_W { LOOP_COUNT_RESET_W::new(self, 20) } diff --git a/esp32c3/src/rmt/chcarrier_duty.rs b/esp32c3/src/rmt/chcarrier_duty.rs index 96277de37a..0ba3700ffa 100644 --- a/esp32c3/src/rmt/chcarrier_duty.rs +++ b/esp32c3/src/rmt/chcarrier_duty.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - reg_carrier_low_ch0."] #[inline(always)] - #[must_use] pub fn carrier_low(&mut self) -> CARRIER_LOW_W { CARRIER_LOW_W::new(self, 0) } #[doc = "Bits 16:31 - reg_carrier_high_ch0."] #[inline(always)] - #[must_use] pub fn carrier_high(&mut self) -> CARRIER_HIGH_W { CARRIER_HIGH_W::new(self, 16) } diff --git a/esp32c3/src/rmt/chdata.rs b/esp32c3/src/rmt/chdata.rs index b9f0f0234a..75591d675f 100644 --- a/esp32c3/src/rmt/chdata.rs +++ b/esp32c3/src/rmt/chdata.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Reserved."] #[inline(always)] - #[must_use] pub fn data(&mut self) -> DATA_W { DATA_W::new(self, 0) } diff --git a/esp32c3/src/rmt/date.rs b/esp32c3/src/rmt/date.rs index 1650f79f0a..e089d9cb98 100644 --- a/esp32c3/src/rmt/date.rs +++ b/esp32c3/src/rmt/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - reg_rmt_date."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c3/src/rmt/int_clr.rs b/esp32c3/src/rmt/int_clr.rs index 35aa9e8c91..c743bd14ff 100644 --- a/esp32c3/src/rmt/int_clr.rs +++ b/esp32c3/src/rmt/int_clr.rs @@ -25,7 +25,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_END` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_end(&mut self, n: u8) -> CH_TX_END_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -33,13 +32,11 @@ impl W { } #[doc = "Bit 0 - reg_ch0_tx_end_int_clr."] #[inline(always)] - #[must_use] pub fn ch0_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 0) } #[doc = "Bit 1 - reg_ch1_tx_end_int_clr."] #[inline(always)] - #[must_use] pub fn ch1_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 1) } @@ -47,7 +44,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH2_RX_END` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_end(&mut self, n: u8) -> CH_RX_END_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -55,13 +51,11 @@ impl W { } #[doc = "Bit 2 - reg_ch2_rx_end_int_clr."] #[inline(always)] - #[must_use] pub fn ch2_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 2) } #[doc = "Bit 3 - reg_ch2_rx_end_int_clr."] #[inline(always)] - #[must_use] pub fn ch3_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 3) } @@ -69,7 +63,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_ERR` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_err(&mut self, n: u8) -> CH_TX_ERR_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -77,13 +70,11 @@ impl W { } #[doc = "Bit 4 - reg_ch0_err_int_clr."] #[inline(always)] - #[must_use] pub fn ch0_tx_err(&mut self) -> CH_TX_ERR_W { CH_TX_ERR_W::new(self, 4) } #[doc = "Bit 5 - reg_ch1_err_int_clr."] #[inline(always)] - #[must_use] pub fn ch1_tx_err(&mut self) -> CH_TX_ERR_W { CH_TX_ERR_W::new(self, 5) } @@ -91,7 +82,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH2_RX_ERR` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_err(&mut self, n: u8) -> CH_RX_ERR_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -99,13 +89,11 @@ impl W { } #[doc = "Bit 6 - reg_ch2_err_int_clr."] #[inline(always)] - #[must_use] pub fn ch2_rx_err(&mut self) -> CH_RX_ERR_W { CH_RX_ERR_W::new(self, 6) } #[doc = "Bit 7 - reg_ch2_err_int_clr."] #[inline(always)] - #[must_use] pub fn ch3_rx_err(&mut self) -> CH_RX_ERR_W { CH_RX_ERR_W::new(self, 7) } @@ -113,7 +101,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_THR_EVENT` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_thr_event(&mut self, n: u8) -> CH_TX_THR_EVENT_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -121,13 +108,11 @@ impl W { } #[doc = "Bit 8 - reg_ch0_tx_thr_event_int_clr."] #[inline(always)] - #[must_use] pub fn ch0_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 8) } #[doc = "Bit 9 - reg_ch1_tx_thr_event_int_clr."] #[inline(always)] - #[must_use] pub fn ch1_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 9) } @@ -135,7 +120,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH2_RX_THR_EVENT` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_thr_event(&mut self, n: u8) -> CH_RX_THR_EVENT_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -143,13 +127,11 @@ impl W { } #[doc = "Bit 10 - reg_ch2_rx_thr_event_int_clr."] #[inline(always)] - #[must_use] pub fn ch2_rx_thr_event(&mut self) -> CH_RX_THR_EVENT_W { CH_RX_THR_EVENT_W::new(self, 10) } #[doc = "Bit 11 - reg_ch2_rx_thr_event_int_clr."] #[inline(always)] - #[must_use] pub fn ch3_rx_thr_event(&mut self) -> CH_RX_THR_EVENT_W { CH_RX_THR_EVENT_W::new(self, 11) } @@ -157,7 +139,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_LOOP` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_loop(&mut self, n: u8) -> CH_TX_LOOP_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -165,13 +146,11 @@ impl W { } #[doc = "Bit 12 - reg_ch0_tx_loop_int_clr."] #[inline(always)] - #[must_use] pub fn ch0_tx_loop(&mut self) -> CH_TX_LOOP_W { CH_TX_LOOP_W::new(self, 12) } #[doc = "Bit 13 - reg_ch1_tx_loop_int_clr."] #[inline(always)] - #[must_use] pub fn ch1_tx_loop(&mut self) -> CH_TX_LOOP_W { CH_TX_LOOP_W::new(self, 13) } diff --git a/esp32c3/src/rmt/int_ena.rs b/esp32c3/src/rmt/int_ena.rs index 067cf4a6cf..1383ae140c 100644 --- a/esp32c3/src/rmt/int_ena.rs +++ b/esp32c3/src/rmt/int_ena.rs @@ -233,7 +233,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_END` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_end(&mut self, n: u8) -> CH_TX_END_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -241,13 +240,11 @@ impl W { } #[doc = "Bit 0 - reg_ch0_tx_end_int_ena."] #[inline(always)] - #[must_use] pub fn ch0_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 0) } #[doc = "Bit 1 - reg_ch1_tx_end_int_ena."] #[inline(always)] - #[must_use] pub fn ch1_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 1) } @@ -255,7 +252,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH2_RX_END` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_end(&mut self, n: u8) -> CH_RX_END_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -263,13 +259,11 @@ impl W { } #[doc = "Bit 2 - reg_ch2_rx_end_int_ena."] #[inline(always)] - #[must_use] pub fn ch2_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 2) } #[doc = "Bit 3 - reg_ch2_rx_end_int_ena."] #[inline(always)] - #[must_use] pub fn ch3_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 3) } @@ -277,7 +271,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_ERR` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_err(&mut self, n: u8) -> CH_TX_ERR_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -285,13 +278,11 @@ impl W { } #[doc = "Bit 4 - reg_ch0_err_int_ena."] #[inline(always)] - #[must_use] pub fn ch0_tx_err(&mut self) -> CH_TX_ERR_W { CH_TX_ERR_W::new(self, 4) } #[doc = "Bit 5 - reg_ch1_err_int_ena."] #[inline(always)] - #[must_use] pub fn ch1_tx_err(&mut self) -> CH_TX_ERR_W { CH_TX_ERR_W::new(self, 5) } @@ -299,7 +290,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH2_RX_ERR` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_err(&mut self, n: u8) -> CH_RX_ERR_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -307,13 +297,11 @@ impl W { } #[doc = "Bit 6 - reg_ch2_err_int_ena."] #[inline(always)] - #[must_use] pub fn ch2_rx_err(&mut self) -> CH_RX_ERR_W { CH_RX_ERR_W::new(self, 6) } #[doc = "Bit 7 - reg_ch2_err_int_ena."] #[inline(always)] - #[must_use] pub fn ch3_rx_err(&mut self) -> CH_RX_ERR_W { CH_RX_ERR_W::new(self, 7) } @@ -321,7 +309,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_THR_EVENT` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_thr_event(&mut self, n: u8) -> CH_TX_THR_EVENT_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -329,13 +316,11 @@ impl W { } #[doc = "Bit 8 - reg_ch0_tx_thr_event_int_ena."] #[inline(always)] - #[must_use] pub fn ch0_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 8) } #[doc = "Bit 9 - reg_ch1_tx_thr_event_int_ena."] #[inline(always)] - #[must_use] pub fn ch1_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 9) } @@ -343,7 +328,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH2_RX_THR_EVENT` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_thr_event(&mut self, n: u8) -> CH_RX_THR_EVENT_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -351,13 +335,11 @@ impl W { } #[doc = "Bit 10 - reg_ch2_rx_thr_event_int_ena."] #[inline(always)] - #[must_use] pub fn ch2_rx_thr_event(&mut self) -> CH_RX_THR_EVENT_W { CH_RX_THR_EVENT_W::new(self, 10) } #[doc = "Bit 11 - reg_ch2_rx_thr_event_int_ena."] #[inline(always)] - #[must_use] pub fn ch3_rx_thr_event(&mut self) -> CH_RX_THR_EVENT_W { CH_RX_THR_EVENT_W::new(self, 11) } @@ -365,7 +347,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_LOOP` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_loop(&mut self, n: u8) -> CH_TX_LOOP_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -373,13 +354,11 @@ impl W { } #[doc = "Bit 12 - reg_ch0_tx_loop_int_ena."] #[inline(always)] - #[must_use] pub fn ch0_tx_loop(&mut self) -> CH_TX_LOOP_W { CH_TX_LOOP_W::new(self, 12) } #[doc = "Bit 13 - reg_ch1_tx_loop_int_ena."] #[inline(always)] - #[must_use] pub fn ch1_tx_loop(&mut self) -> CH_TX_LOOP_W { CH_TX_LOOP_W::new(self, 13) } diff --git a/esp32c3/src/rmt/int_raw.rs b/esp32c3/src/rmt/int_raw.rs index 3ae83ff1cc..6fe07198ac 100644 --- a/esp32c3/src/rmt/int_raw.rs +++ b/esp32c3/src/rmt/int_raw.rs @@ -233,7 +233,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_END` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_end(&mut self, n: u8) -> CH_TX_END_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -241,13 +240,11 @@ impl W { } #[doc = "Bit 0 - reg_ch0_tx_end_int_raw."] #[inline(always)] - #[must_use] pub fn ch0_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 0) } #[doc = "Bit 1 - reg_ch1_tx_end_int_raw."] #[inline(always)] - #[must_use] pub fn ch1_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 1) } @@ -255,7 +252,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH2_RX_END` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_end(&mut self, n: u8) -> CH_RX_END_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -263,13 +259,11 @@ impl W { } #[doc = "Bit 2 - reg_ch2_rx_end_int_raw."] #[inline(always)] - #[must_use] pub fn ch2_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 2) } #[doc = "Bit 3 - reg_ch2_rx_end_int_raw."] #[inline(always)] - #[must_use] pub fn ch3_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 3) } @@ -277,7 +271,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_ERR` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_err(&mut self, n: u8) -> CH_TX_ERR_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -285,13 +278,11 @@ impl W { } #[doc = "Bit 4 - reg_ch0_err_int_raw."] #[inline(always)] - #[must_use] pub fn ch0_tx_err(&mut self) -> CH_TX_ERR_W { CH_TX_ERR_W::new(self, 4) } #[doc = "Bit 5 - reg_ch1_err_int_raw."] #[inline(always)] - #[must_use] pub fn ch1_tx_err(&mut self) -> CH_TX_ERR_W { CH_TX_ERR_W::new(self, 5) } @@ -299,7 +290,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH2_RX_ERR` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_err(&mut self, n: u8) -> CH_RX_ERR_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -307,13 +297,11 @@ impl W { } #[doc = "Bit 6 - reg_ch2_err_int_raw."] #[inline(always)] - #[must_use] pub fn ch2_rx_err(&mut self) -> CH_RX_ERR_W { CH_RX_ERR_W::new(self, 6) } #[doc = "Bit 7 - reg_ch2_err_int_raw."] #[inline(always)] - #[must_use] pub fn ch3_rx_err(&mut self) -> CH_RX_ERR_W { CH_RX_ERR_W::new(self, 7) } @@ -321,7 +309,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_THR_EVENT` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_thr_event(&mut self, n: u8) -> CH_TX_THR_EVENT_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -329,13 +316,11 @@ impl W { } #[doc = "Bit 8 - reg_ch0_tx_thr_event_int_raw."] #[inline(always)] - #[must_use] pub fn ch0_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 8) } #[doc = "Bit 9 - reg_ch1_tx_thr_event_int_raw."] #[inline(always)] - #[must_use] pub fn ch1_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 9) } @@ -343,7 +328,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH2_RX_THR_EVENT` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_thr_event(&mut self, n: u8) -> CH_RX_THR_EVENT_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -351,13 +335,11 @@ impl W { } #[doc = "Bit 10 - reg_ch2_rx_thr_event_int_raw."] #[inline(always)] - #[must_use] pub fn ch2_rx_thr_event(&mut self) -> CH_RX_THR_EVENT_W { CH_RX_THR_EVENT_W::new(self, 10) } #[doc = "Bit 11 - reg_ch2_rx_thr_event_int_raw."] #[inline(always)] - #[must_use] pub fn ch3_rx_thr_event(&mut self) -> CH_RX_THR_EVENT_W { CH_RX_THR_EVENT_W::new(self, 11) } @@ -365,7 +347,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_LOOP` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_loop(&mut self, n: u8) -> CH_TX_LOOP_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -373,13 +354,11 @@ impl W { } #[doc = "Bit 12 - reg_ch0_tx_loop_int_raw."] #[inline(always)] - #[must_use] pub fn ch0_tx_loop(&mut self) -> CH_TX_LOOP_W { CH_TX_LOOP_W::new(self, 12) } #[doc = "Bit 13 - reg_ch1_tx_loop_int_raw."] #[inline(always)] - #[must_use] pub fn ch1_tx_loop(&mut self) -> CH_TX_LOOP_W { CH_TX_LOOP_W::new(self, 13) } diff --git a/esp32c3/src/rmt/ref_cnt_rst.rs b/esp32c3/src/rmt/ref_cnt_rst.rs index 76e3f9aec0..396a7e0ef0 100644 --- a/esp32c3/src/rmt/ref_cnt_rst.rs +++ b/esp32c3/src/rmt/ref_cnt_rst.rs @@ -17,25 +17,21 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - reg_ref_cnt_rst_ch0."] #[inline(always)] - #[must_use] pub fn ch0(&mut self) -> CH0_W { CH0_W::new(self, 0) } #[doc = "Bit 1 - reg_ref_cnt_rst_ch1."] #[inline(always)] - #[must_use] pub fn ch1(&mut self) -> CH1_W { CH1_W::new(self, 1) } #[doc = "Bit 2 - reg_ref_cnt_rst_ch2."] #[inline(always)] - #[must_use] pub fn ch2(&mut self) -> CH2_W { CH2_W::new(self, 2) } #[doc = "Bit 3 - reg_ref_cnt_rst_ch3."] #[inline(always)] - #[must_use] pub fn ch3(&mut self) -> CH3_W { CH3_W::new(self, 3) } diff --git a/esp32c3/src/rmt/sys_conf.rs b/esp32c3/src/rmt/sys_conf.rs index 5e31ef0380..389182b6ea 100644 --- a/esp32c3/src/rmt/sys_conf.rs +++ b/esp32c3/src/rmt/sys_conf.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_apb_fifo_mask."] #[inline(always)] - #[must_use] pub fn apb_fifo_mask(&mut self) -> APB_FIFO_MASK_W { APB_FIFO_MASK_W::new(self, 0) } #[doc = "Bit 1 - reg_mem_clk_force_on."] #[inline(always)] - #[must_use] pub fn mem_clk_force_on(&mut self) -> MEM_CLK_FORCE_ON_W { MEM_CLK_FORCE_ON_W::new(self, 1) } #[doc = "Bit 2 - reg_rmt_mem_force_pd."] #[inline(always)] - #[must_use] pub fn mem_force_pd(&mut self) -> MEM_FORCE_PD_W { MEM_FORCE_PD_W::new(self, 2) } #[doc = "Bit 3 - reg_rmt_mem_force_pu."] #[inline(always)] - #[must_use] pub fn mem_force_pu(&mut self) -> MEM_FORCE_PU_W { MEM_FORCE_PU_W::new(self, 3) } #[doc = "Bits 4:11 - reg_rmt_sclk_div_num."] #[inline(always)] - #[must_use] pub fn sclk_div_num(&mut self) -> SCLK_DIV_NUM_W { SCLK_DIV_NUM_W::new(self, 4) } #[doc = "Bits 12:17 - reg_rmt_sclk_div_a."] #[inline(always)] - #[must_use] pub fn sclk_div_a(&mut self) -> SCLK_DIV_A_W { SCLK_DIV_A_W::new(self, 12) } #[doc = "Bits 18:23 - reg_rmt_sclk_div_b."] #[inline(always)] - #[must_use] pub fn sclk_div_b(&mut self) -> SCLK_DIV_B_W { SCLK_DIV_B_W::new(self, 18) } #[doc = "Bits 24:25 - reg_rmt_sclk_sel."] #[inline(always)] - #[must_use] pub fn sclk_sel(&mut self) -> SCLK_SEL_W { SCLK_SEL_W::new(self, 24) } #[doc = "Bit 26 - reg_rmt_sclk_active."] #[inline(always)] - #[must_use] pub fn sclk_active(&mut self) -> SCLK_ACTIVE_W { SCLK_ACTIVE_W::new(self, 26) } #[doc = "Bit 31 - reg_clk_en."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32c3/src/rmt/tx_sim.rs b/esp32c3/src/rmt/tx_sim.rs index 3ee9798b90..384947c70d 100644 --- a/esp32c3/src/rmt/tx_sim.rs +++ b/esp32c3/src/rmt/tx_sim.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_rmt_tx_sim_ch0."] #[inline(always)] - #[must_use] pub fn tx_sim_ch0(&mut self) -> TX_SIM_CH0_W { TX_SIM_CH0_W::new(self, 0) } #[doc = "Bit 1 - reg_rmt_tx_sim_ch1."] #[inline(always)] - #[must_use] pub fn tx_sim_ch1(&mut self) -> TX_SIM_CH1_W { TX_SIM_CH1_W::new(self, 1) } #[doc = "Bit 2 - reg_rmt_tx_sim_en."] #[inline(always)] - #[must_use] pub fn tx_sim_en(&mut self) -> TX_SIM_EN_W { TX_SIM_EN_W::new(self, 2) } diff --git a/esp32c3/src/rsa/constant_time.rs b/esp32c3/src/rsa/constant_time.rs index a9b9e36f36..5686c8d6c9 100644 --- a/esp32c3/src/rsa/constant_time.rs +++ b/esp32c3/src/rsa/constant_time.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configure this bit to 0 for acceleration. 0: with acceleration, 1: without acceleration(defalut)."] #[inline(always)] - #[must_use] pub fn constant_time(&mut self) -> CONSTANT_TIME_W { CONSTANT_TIME_W::new(self, 0) } diff --git a/esp32c3/src/rsa/date.rs b/esp32c3/src/rsa/date.rs index cef25e0f52..6fba10de71 100644 --- a/esp32c3/src/rsa/date.rs +++ b/esp32c3/src/rsa/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - rsa version information"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c3/src/rsa/int_clr.rs b/esp32c3/src/rsa/int_clr.rs index d31e2bda61..a83897f174 100644 --- a/esp32c3/src/rsa/int_clr.rs +++ b/esp32c3/src/rsa/int_clr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - set this bit to clear RSA interrupt."] #[inline(always)] - #[must_use] pub fn int_clr(&mut self) -> INT_CLR_W { INT_CLR_W::new(self, 0) } diff --git a/esp32c3/src/rsa/int_ena.rs b/esp32c3/src/rsa/int_ena.rs index 6ad5eb0839..1214080abd 100644 --- a/esp32c3/src/rsa/int_ena.rs +++ b/esp32c3/src/rsa/int_ena.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable interrupt that occurs when rsa calculation is done. 1'b0: disable, 1'b1: enable(default)."] #[inline(always)] - #[must_use] pub fn int_ena(&mut self) -> INT_ENA_W { INT_ENA_W::new(self, 0) } diff --git a/esp32c3/src/rsa/m_prime.rs b/esp32c3/src/rsa/m_prime.rs index c7a29d20a2..fe1ea11340 100644 --- a/esp32c3/src/rsa/m_prime.rs +++ b/esp32c3/src/rsa/m_prime.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits stores m'"] #[inline(always)] - #[must_use] pub fn m_prime(&mut self) -> M_PRIME_W { M_PRIME_W::new(self, 0) } diff --git a/esp32c3/src/rsa/mode.rs b/esp32c3/src/rsa/mode.rs index 18a57bb8bc..f858514621 100644 --- a/esp32c3/src/rsa/mode.rs +++ b/esp32c3/src/rsa/mode.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - rsa mode (rsa length)."] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 0) } diff --git a/esp32c3/src/rsa/search_enable.rs b/esp32c3/src/rsa/search_enable.rs index f0482c5c25..75a30a6046 100644 --- a/esp32c3/src/rsa/search_enable.rs +++ b/esp32c3/src/rsa/search_enable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configure this bit to 1 for acceleration. 1: with acceleration, 0: without acceleration(default). This option should be used together with RSA_SEARCH_POS."] #[inline(always)] - #[must_use] pub fn search_enable(&mut self) -> SEARCH_ENABLE_W { SEARCH_ENABLE_W::new(self, 0) } diff --git a/esp32c3/src/rsa/search_pos.rs b/esp32c3/src/rsa/search_pos.rs index c0d70ac327..3b493f6774 100644 --- a/esp32c3/src/rsa/search_pos.rs +++ b/esp32c3/src/rsa/search_pos.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - Configure this field to set search position. This field should be used together with RSA_SEARCH_ENABLE. The field is only meaningful when RSA_SEARCH_ENABLE is high."] #[inline(always)] - #[must_use] pub fn search_pos(&mut self) -> SEARCH_POS_W { SEARCH_POS_W::new(self, 0) } diff --git a/esp32c3/src/rsa/set_start_modexp.rs b/esp32c3/src/rsa/set_start_modexp.rs index c7aa1893ef..70f52cc9f9 100644 --- a/esp32c3/src/rsa/set_start_modexp.rs +++ b/esp32c3/src/rsa/set_start_modexp.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - start modular exponentiation"] #[inline(always)] - #[must_use] pub fn set_start_modexp(&mut self) -> SET_START_MODEXP_W { SET_START_MODEXP_W::new(self, 0) } diff --git a/esp32c3/src/rsa/set_start_modmult.rs b/esp32c3/src/rsa/set_start_modmult.rs index 4b3490fdc7..fdbd098152 100644 --- a/esp32c3/src/rsa/set_start_modmult.rs +++ b/esp32c3/src/rsa/set_start_modmult.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - start modular multiplication"] #[inline(always)] - #[must_use] pub fn set_start_modmult(&mut self) -> SET_START_MODMULT_W { SET_START_MODMULT_W::new(self, 0) } diff --git a/esp32c3/src/rsa/set_start_mult.rs b/esp32c3/src/rsa/set_start_mult.rs index 5668019695..64a0e82fa6 100644 --- a/esp32c3/src/rsa/set_start_mult.rs +++ b/esp32c3/src/rsa/set_start_mult.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - start multiplicaiton"] #[inline(always)] - #[must_use] pub fn set_start_mult(&mut self) -> SET_START_MULT_W { SET_START_MULT_W::new(self, 0) } diff --git a/esp32c3/src/rtc_cntl/ana_conf.rs b/esp32c3/src/rtc_cntl/ana_conf.rs index 66e84690e7..92bcf63521 100644 --- a/esp32c3/src/rtc_cntl/ana_conf.rs +++ b/esp32c3/src/rtc_cntl/ana_conf.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 18 - force no bypass i2c power on reset"] #[inline(always)] - #[must_use] pub fn reset_por_force_pd(&mut self) -> RESET_POR_FORCE_PD_W { RESET_POR_FORCE_PD_W::new(self, 18) } #[doc = "Bit 19 - force bypass i2c power on reset"] #[inline(always)] - #[must_use] pub fn reset_por_force_pu(&mut self) -> RESET_POR_FORCE_PU_W { RESET_POR_FORCE_PU_W::new(self, 19) } #[doc = "Bit 20 - enable glitch reset"] #[inline(always)] - #[must_use] pub fn glitch_rst_en(&mut self) -> GLITCH_RST_EN_W { GLITCH_RST_EN_W::new(self, 20) } #[doc = "Bit 22 - PLLA force power up"] #[inline(always)] - #[must_use] pub fn sar_i2c_pu(&mut self) -> SAR_I2C_PU_W { SAR_I2C_PU_W::new(self, 22) } #[doc = "Bit 23 - PLLA force power down"] #[inline(always)] - #[must_use] pub fn plla_force_pd(&mut self) -> PLLA_FORCE_PD_W { PLLA_FORCE_PD_W::new(self, 23) } #[doc = "Bit 24 - PLLA force power up"] #[inline(always)] - #[must_use] pub fn plla_force_pu(&mut self) -> PLLA_FORCE_PU_W { PLLA_FORCE_PU_W::new(self, 24) } #[doc = "Bit 25 - start BBPLL calibration during sleep"] #[inline(always)] - #[must_use] pub fn bbpll_cal_slp_start(&mut self) -> BBPLL_CAL_SLP_START_W { BBPLL_CAL_SLP_START_W::new(self, 25) } #[doc = "Bit 26 - 1: PVTMON power up"] #[inline(always)] - #[must_use] pub fn pvtmon_pu(&mut self) -> PVTMON_PU_W { PVTMON_PU_W::new(self, 26) } #[doc = "Bit 27 - 1: TXRF_I2C power up"] #[inline(always)] - #[must_use] pub fn txrf_i2c_pu(&mut self) -> TXRF_I2C_PU_W { TXRF_I2C_PU_W::new(self, 27) } #[doc = "Bit 28 - 1: RFRX_PBUS power up"] #[inline(always)] - #[must_use] pub fn rfrx_pbus_pu(&mut self) -> RFRX_PBUS_PU_W { RFRX_PBUS_PU_W::new(self, 28) } #[doc = "Bit 30 - 1: CKGEN_I2C power up"] #[inline(always)] - #[must_use] pub fn ckgen_i2c_pu(&mut self) -> CKGEN_I2C_PU_W { CKGEN_I2C_PU_W::new(self, 30) } #[doc = "Bit 31 - power up pll i2c"] #[inline(always)] - #[must_use] pub fn pll_i2c_pu(&mut self) -> PLL_I2C_PU_W { PLL_I2C_PU_W::new(self, 31) } diff --git a/esp32c3/src/rtc_cntl/bias_conf.rs b/esp32c3/src/rtc_cntl/bias_conf.rs index 1cece0fac9..3d04af453b 100644 --- a/esp32c3/src/rtc_cntl/bias_conf.rs +++ b/esp32c3/src/rtc_cntl/bias_conf.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn dg_vdd_drv_b_slp(&mut self) -> DG_VDD_DRV_B_SLP_W { DG_VDD_DRV_B_SLP_W::new(self, 0) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn dg_vdd_drv_b_slp_en(&mut self) -> DG_VDD_DRV_B_SLP_EN_W { DG_VDD_DRV_B_SLP_EN_W::new(self, 8) } #[doc = "Bit 10 - bias buf when rtc in normal work state"] #[inline(always)] - #[must_use] pub fn bias_buf_idle(&mut self) -> BIAS_BUF_IDLE_W { BIAS_BUF_IDLE_W::new(self, 10) } #[doc = "Bit 11 - bias buf when rtc in wakeup state"] #[inline(always)] - #[must_use] pub fn bias_buf_wake(&mut self) -> BIAS_BUF_WAKE_W { BIAS_BUF_WAKE_W::new(self, 11) } #[doc = "Bit 12 - bias buf when rtc in sleep state"] #[inline(always)] - #[must_use] pub fn bias_buf_deep_slp(&mut self) -> BIAS_BUF_DEEP_SLP_W { BIAS_BUF_DEEP_SLP_W::new(self, 12) } #[doc = "Bit 13 - bias buf when rtc in monitor state"] #[inline(always)] - #[must_use] pub fn bias_buf_monitor(&mut self) -> BIAS_BUF_MONITOR_W { BIAS_BUF_MONITOR_W::new(self, 13) } #[doc = "Bit 14 - xpd cur when rtc in sleep_state"] #[inline(always)] - #[must_use] pub fn pd_cur_deep_slp(&mut self) -> PD_CUR_DEEP_SLP_W { PD_CUR_DEEP_SLP_W::new(self, 14) } #[doc = "Bit 15 - xpd cur when rtc in monitor state"] #[inline(always)] - #[must_use] pub fn pd_cur_monitor(&mut self) -> PD_CUR_MONITOR_W { PD_CUR_MONITOR_W::new(self, 15) } #[doc = "Bit 16 - bias_sleep when rtc in sleep_state"] #[inline(always)] - #[must_use] pub fn bias_sleep_deep_slp(&mut self) -> BIAS_SLEEP_DEEP_SLP_W { BIAS_SLEEP_DEEP_SLP_W::new(self, 16) } #[doc = "Bit 17 - bias_sleep when rtc in monitor state"] #[inline(always)] - #[must_use] pub fn bias_sleep_monitor(&mut self) -> BIAS_SLEEP_MONITOR_W { BIAS_SLEEP_MONITOR_W::new(self, 17) } #[doc = "Bits 18:21 - DBG_ATTEN when rtc in sleep state"] #[inline(always)] - #[must_use] pub fn dbg_atten_deep_slp(&mut self) -> DBG_ATTEN_DEEP_SLP_W { DBG_ATTEN_DEEP_SLP_W::new(self, 18) } #[doc = "Bits 22:25 - DBG_ATTEN when rtc in monitor state"] #[inline(always)] - #[must_use] pub fn dbg_atten_monitor(&mut self) -> DBG_ATTEN_MONITOR_W { DBG_ATTEN_MONITOR_W::new(self, 22) } diff --git a/esp32c3/src/rtc_cntl/brown_out.rs b/esp32c3/src/rtc_cntl/brown_out.rs index 4a7771020e..8a70cb87f3 100644 --- a/esp32c3/src/rtc_cntl/brown_out.rs +++ b/esp32c3/src/rtc_cntl/brown_out.rs @@ -107,55 +107,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 4:13 - brown out interrupt wait cycles"] #[inline(always)] - #[must_use] pub fn brown_out_int_wait(&mut self) -> BROWN_OUT_INT_WAIT_W { BROWN_OUT_INT_WAIT_W::new(self, 4) } #[doc = "Bit 14 - enable close flash when brown out happens"] #[inline(always)] - #[must_use] pub fn brown_out_close_flash_ena(&mut self) -> BROWN_OUT_CLOSE_FLASH_ENA_W { BROWN_OUT_CLOSE_FLASH_ENA_W::new(self, 14) } #[doc = "Bit 15 - enable power down RF when brown out happens"] #[inline(always)] - #[must_use] pub fn brown_out_pd_rf_ena(&mut self) -> BROWN_OUT_PD_RF_ENA_W { BROWN_OUT_PD_RF_ENA_W::new(self, 15) } #[doc = "Bits 16:25 - brown out reset wait cycles"] #[inline(always)] - #[must_use] pub fn brown_out_rst_wait(&mut self) -> BROWN_OUT_RST_WAIT_W { BROWN_OUT_RST_WAIT_W::new(self, 16) } #[doc = "Bit 26 - enable brown out reset"] #[inline(always)] - #[must_use] pub fn brown_out_rst_ena(&mut self) -> BROWN_OUT_RST_ENA_W { BROWN_OUT_RST_ENA_W::new(self, 26) } #[doc = "Bit 27 - 1: 4-pos reset"] #[inline(always)] - #[must_use] pub fn brown_out_rst_sel(&mut self) -> BROWN_OUT_RST_SEL_W { BROWN_OUT_RST_SEL_W::new(self, 27) } #[doc = "Bit 28 - brown_out origin reset enable"] #[inline(always)] - #[must_use] pub fn brown_out_ana_rst_en(&mut self) -> BROWN_OUT_ANA_RST_EN_W { BROWN_OUT_ANA_RST_EN_W::new(self, 28) } #[doc = "Bit 29 - clear brown out counter"] #[inline(always)] - #[must_use] pub fn brown_out_cnt_clr(&mut self) -> BROWN_OUT_CNT_CLR_W { BROWN_OUT_CNT_CLR_W::new(self, 29) } #[doc = "Bit 30 - enable brown out"] #[inline(always)] - #[must_use] pub fn brown_out_ena(&mut self) -> BROWN_OUT_ENA_W { BROWN_OUT_ENA_W::new(self, 30) } diff --git a/esp32c3/src/rtc_cntl/clk_conf.rs b/esp32c3/src/rtc_cntl/clk_conf.rs index a85f71763f..72473517f0 100644 --- a/esp32c3/src/rtc_cntl/clk_conf.rs +++ b/esp32c3/src/rtc_cntl/clk_conf.rs @@ -207,115 +207,96 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - efuse_clk_force_gating"] #[inline(always)] - #[must_use] pub fn efuse_clk_force_gating(&mut self) -> EFUSE_CLK_FORCE_GATING_W { EFUSE_CLK_FORCE_GATING_W::new(self, 1) } #[doc = "Bit 2 - efuse_clk_force_nogating"] #[inline(always)] - #[must_use] pub fn efuse_clk_force_nogating(&mut self) -> EFUSE_CLK_FORCE_NOGATING_W { EFUSE_CLK_FORCE_NOGATING_W::new(self, 2) } #[doc = "Bit 3 - used to sync reg_ck8m_div_sel bus. Clear vld before set reg_ck8m_div_sel"] #[inline(always)] - #[must_use] pub fn ck8m_div_sel_vld(&mut self) -> CK8M_DIV_SEL_VLD_W { CK8M_DIV_SEL_VLD_W::new(self, 3) } #[doc = "Bits 4:5 - CK8M_D256_OUT divider. 00: div128"] #[inline(always)] - #[must_use] pub fn ck8m_div(&mut self) -> CK8M_DIV_W { CK8M_DIV_W::new(self, 4) } #[doc = "Bit 6 - disable CK8M and CK8M_D256_OUT"] #[inline(always)] - #[must_use] pub fn enb_ck8m(&mut self) -> ENB_CK8M_W { ENB_CK8M_W::new(self, 6) } #[doc = "Bit 7 - 1: CK8M_D256_OUT is actually CK8M"] #[inline(always)] - #[must_use] pub fn enb_ck8m_div(&mut self) -> ENB_CK8M_DIV_W { ENB_CK8M_DIV_W::new(self, 7) } #[doc = "Bit 8 - enable CK_XTAL_32K for digital core (no relationship with RTC core)"] #[inline(always)] - #[must_use] pub fn dig_xtal32k_en(&mut self) -> DIG_XTAL32K_EN_W { DIG_XTAL32K_EN_W::new(self, 8) } #[doc = "Bit 9 - enable CK8M_D256_OUT for digital core (no relationship with RTC core)"] #[inline(always)] - #[must_use] pub fn dig_clk8m_d256_en(&mut self) -> DIG_CLK8M_D256_EN_W { DIG_CLK8M_D256_EN_W::new(self, 9) } #[doc = "Bit 10 - enable CK8M for digital core (no relationship with RTC core)"] #[inline(always)] - #[must_use] pub fn dig_clk8m_en(&mut self) -> DIG_CLK8M_EN_W { DIG_CLK8M_EN_W::new(self, 10) } #[doc = "Bits 12:14 - divider = reg_ck8m_div_sel + 1"] #[inline(always)] - #[must_use] pub fn ck8m_div_sel(&mut self) -> CK8M_DIV_SEL_W { CK8M_DIV_SEL_W::new(self, 12) } #[doc = "Bit 15 - XTAL force no gating during sleep"] #[inline(always)] - #[must_use] pub fn xtal_force_nogating(&mut self) -> XTAL_FORCE_NOGATING_W { XTAL_FORCE_NOGATING_W::new(self, 15) } #[doc = "Bit 16 - CK8M force no gating during sleep"] #[inline(always)] - #[must_use] pub fn ck8m_force_nogating(&mut self) -> CK8M_FORCE_NOGATING_W { CK8M_FORCE_NOGATING_W::new(self, 16) } #[doc = "Bits 17:24 - CK8M_DFREQ"] #[inline(always)] - #[must_use] pub fn ck8m_dfreq(&mut self) -> CK8M_DFREQ_W { CK8M_DFREQ_W::new(self, 17) } #[doc = "Bit 25 - CK8M force power down"] #[inline(always)] - #[must_use] pub fn ck8m_force_pd(&mut self) -> CK8M_FORCE_PD_W { CK8M_FORCE_PD_W::new(self, 25) } #[doc = "Bit 26 - CK8M force power up"] #[inline(always)] - #[must_use] pub fn ck8m_force_pu(&mut self) -> CK8M_FORCE_PU_W { CK8M_FORCE_PU_W::new(self, 26) } #[doc = "Bit 27 - force enable xtal clk gating"] #[inline(always)] - #[must_use] pub fn xtal_global_force_gating(&mut self) -> XTAL_GLOBAL_FORCE_GATING_W { XTAL_GLOBAL_FORCE_GATING_W::new(self, 27) } #[doc = "Bit 28 - force bypass xtal clk gating"] #[inline(always)] - #[must_use] pub fn xtal_global_force_nogating(&mut self) -> XTAL_GLOBAL_FORCE_NOGATING_W { XTAL_GLOBAL_FORCE_NOGATING_W::new(self, 28) } #[doc = "Bit 29 - fast_clk_rtc sel. 0: XTAL div 4"] #[inline(always)] - #[must_use] pub fn fast_clk_rtc_sel(&mut self) -> FAST_CLK_RTC_SEL_W { FAST_CLK_RTC_SEL_W::new(self, 29) } #[doc = "Bits 30:31 - slelect rtc slow clk"] #[inline(always)] - #[must_use] pub fn ana_clk_rtc_sel(&mut self) -> ANA_CLK_RTC_SEL_W { ANA_CLK_RTC_SEL_W::new(self, 30) } diff --git a/esp32c3/src/rtc_cntl/cpu_period_conf.rs b/esp32c3/src/rtc_cntl/cpu_period_conf.rs index 2686a3b269..39fb31953f 100644 --- a/esp32c3/src/rtc_cntl/cpu_period_conf.rs +++ b/esp32c3/src/rtc_cntl/cpu_period_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 29 - CPU sel option"] #[inline(always)] - #[must_use] pub fn cpusel_conf(&mut self) -> CPUSEL_CONF_W { CPUSEL_CONF_W::new(self, 29) } #[doc = "Bits 30:31 - CPU clk sel option"] #[inline(always)] - #[must_use] pub fn cpuperiod_sel(&mut self) -> CPUPERIOD_SEL_W { CPUPERIOD_SEL_W::new(self, 30) } diff --git a/esp32c3/src/rtc_cntl/date.rs b/esp32c3/src/rtc_cntl/date.rs index 835c19cc8f..270570ba94 100644 --- a/esp32c3/src/rtc_cntl/date.rs +++ b/esp32c3/src/rtc_cntl/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - verision"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c3/src/rtc_cntl/dbg_map.rs b/esp32c3/src/rtc_cntl/dbg_map.rs index 466dd2c71a..a1b210368a 100644 --- a/esp32c3/src/rtc_cntl/dbg_map.rs +++ b/esp32c3/src/rtc_cntl/dbg_map.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - use for debug"] #[inline(always)] - #[must_use] pub fn gpio_pin5_mux_sel(&mut self) -> GPIO_PIN5_MUX_SEL_W { GPIO_PIN5_MUX_SEL_W::new(self, 2) } #[doc = "Bit 3 - use for debug"] #[inline(always)] - #[must_use] pub fn gpio_pin4_mux_sel(&mut self) -> GPIO_PIN4_MUX_SEL_W { GPIO_PIN4_MUX_SEL_W::new(self, 3) } #[doc = "Bit 4 - use for debug"] #[inline(always)] - #[must_use] pub fn gpio_pin3_mux_sel(&mut self) -> GPIO_PIN3_MUX_SEL_W { GPIO_PIN3_MUX_SEL_W::new(self, 4) } #[doc = "Bit 5 - use for debug"] #[inline(always)] - #[must_use] pub fn gpio_pin2_mux_sel(&mut self) -> GPIO_PIN2_MUX_SEL_W { GPIO_PIN2_MUX_SEL_W::new(self, 5) } #[doc = "Bit 6 - use for debug"] #[inline(always)] - #[must_use] pub fn gpio_pin1_mux_sel(&mut self) -> GPIO_PIN1_MUX_SEL_W { GPIO_PIN1_MUX_SEL_W::new(self, 6) } #[doc = "Bit 7 - use for debug"] #[inline(always)] - #[must_use] pub fn gpio_pin0_mux_sel(&mut self) -> GPIO_PIN0_MUX_SEL_W { GPIO_PIN0_MUX_SEL_W::new(self, 7) } #[doc = "Bits 8:11 - use for debug"] #[inline(always)] - #[must_use] pub fn gpio_pin5_fun_sel(&mut self) -> GPIO_PIN5_FUN_SEL_W { GPIO_PIN5_FUN_SEL_W::new(self, 8) } #[doc = "Bits 12:15 - use for debug"] #[inline(always)] - #[must_use] pub fn gpio_pin4_fun_sel(&mut self) -> GPIO_PIN4_FUN_SEL_W { GPIO_PIN4_FUN_SEL_W::new(self, 12) } #[doc = "Bits 16:19 - use for debug"] #[inline(always)] - #[must_use] pub fn gpio_pin3_fun_sel(&mut self) -> GPIO_PIN3_FUN_SEL_W { GPIO_PIN3_FUN_SEL_W::new(self, 16) } #[doc = "Bits 20:23 - use for debug"] #[inline(always)] - #[must_use] pub fn gpio_pin2_fun_sel(&mut self) -> GPIO_PIN2_FUN_SEL_W { GPIO_PIN2_FUN_SEL_W::new(self, 20) } #[doc = "Bits 24:27 - use for debug"] #[inline(always)] - #[must_use] pub fn gpio_pin1_fun_sel(&mut self) -> GPIO_PIN1_FUN_SEL_W { GPIO_PIN1_FUN_SEL_W::new(self, 24) } #[doc = "Bits 28:31 - use for debug"] #[inline(always)] - #[must_use] pub fn gpio_pin0_fun_sel(&mut self) -> GPIO_PIN0_FUN_SEL_W { GPIO_PIN0_FUN_SEL_W::new(self, 28) } diff --git a/esp32c3/src/rtc_cntl/dbg_sar_sel.rs b/esp32c3/src/rtc_cntl/dbg_sar_sel.rs index 5392799061..9052e41ef2 100644 --- a/esp32c3/src/rtc_cntl/dbg_sar_sel.rs +++ b/esp32c3/src/rtc_cntl/dbg_sar_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 27:31 - use for debug"] #[inline(always)] - #[must_use] pub fn sar_debug_sel(&mut self) -> SAR_DEBUG_SEL_W { SAR_DEBUG_SEL_W::new(self, 27) } diff --git a/esp32c3/src/rtc_cntl/dbg_sel.rs b/esp32c3/src/rtc_cntl/dbg_sel.rs index 5263c5874a..a4eb1e426d 100644 --- a/esp32c3/src/rtc_cntl/dbg_sel.rs +++ b/esp32c3/src/rtc_cntl/dbg_sel.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - use for debug"] #[inline(always)] - #[must_use] pub fn debug_12m_no_gating(&mut self) -> DEBUG_12M_NO_GATING_W { DEBUG_12M_NO_GATING_W::new(self, 1) } #[doc = "Bits 2:6 - use for debug"] #[inline(always)] - #[must_use] pub fn debug_bit_sel(&mut self) -> DEBUG_BIT_SEL_W { DEBUG_BIT_SEL_W::new(self, 2) } #[doc = "Bits 7:11 - use for debug"] #[inline(always)] - #[must_use] pub fn debug_sel0(&mut self) -> DEBUG_SEL0_W { DEBUG_SEL0_W::new(self, 7) } #[doc = "Bits 12:16 - use for debug"] #[inline(always)] - #[must_use] pub fn debug_sel1(&mut self) -> DEBUG_SEL1_W { DEBUG_SEL1_W::new(self, 12) } #[doc = "Bits 17:21 - use for debug"] #[inline(always)] - #[must_use] pub fn debug_sel2(&mut self) -> DEBUG_SEL2_W { DEBUG_SEL2_W::new(self, 17) } #[doc = "Bits 22:26 - use for debug"] #[inline(always)] - #[must_use] pub fn debug_sel3(&mut self) -> DEBUG_SEL3_W { DEBUG_SEL3_W::new(self, 22) } #[doc = "Bits 27:31 - use for debug"] #[inline(always)] - #[must_use] pub fn debug_sel4(&mut self) -> DEBUG_SEL4_W { DEBUG_SEL4_W::new(self, 27) } diff --git a/esp32c3/src/rtc_cntl/dig_iso.rs b/esp32c3/src/rtc_cntl/dig_iso.rs index a49a711185..2ee7446d6f 100644 --- a/esp32c3/src/rtc_cntl/dig_iso.rs +++ b/esp32c3/src/rtc_cntl/dig_iso.rs @@ -194,109 +194,91 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 7 - DIG_ISO force off"] #[inline(always)] - #[must_use] pub fn force_off(&mut self) -> FORCE_OFF_W { FORCE_OFF_W::new(self, 7) } #[doc = "Bit 8 - DIG_ISO force on"] #[inline(always)] - #[must_use] pub fn force_on(&mut self) -> FORCE_ON_W { FORCE_ON_W::new(self, 8) } #[doc = "Bit 10 - wtite only register to clear digital pad auto-hold"] #[inline(always)] - #[must_use] pub fn clr_dg_pad_autohold(&mut self) -> CLR_DG_PAD_AUTOHOLD_W { CLR_DG_PAD_AUTOHOLD_W::new(self, 10) } #[doc = "Bit 11 - digital pad enable auto-hold"] #[inline(always)] - #[must_use] pub fn dg_pad_autohold_en(&mut self) -> DG_PAD_AUTOHOLD_EN_W { DG_PAD_AUTOHOLD_EN_W::new(self, 11) } #[doc = "Bit 12 - digital pad force no ISO"] #[inline(always)] - #[must_use] pub fn dg_pad_force_noiso(&mut self) -> DG_PAD_FORCE_NOISO_W { DG_PAD_FORCE_NOISO_W::new(self, 12) } #[doc = "Bit 13 - digital pad force ISO"] #[inline(always)] - #[must_use] pub fn dg_pad_force_iso(&mut self) -> DG_PAD_FORCE_ISO_W { DG_PAD_FORCE_ISO_W::new(self, 13) } #[doc = "Bit 14 - digital pad force un-hold"] #[inline(always)] - #[must_use] pub fn dg_pad_force_unhold(&mut self) -> DG_PAD_FORCE_UNHOLD_W { DG_PAD_FORCE_UNHOLD_W::new(self, 14) } #[doc = "Bit 15 - digital pad force hold"] #[inline(always)] - #[must_use] pub fn dg_pad_force_hold(&mut self) -> DG_PAD_FORCE_HOLD_W { DG_PAD_FORCE_HOLD_W::new(self, 15) } #[doc = "Bit 22 - bt force ISO"] #[inline(always)] - #[must_use] pub fn bt_force_iso(&mut self) -> BT_FORCE_ISO_W { BT_FORCE_ISO_W::new(self, 22) } #[doc = "Bit 23 - bt force no ISO"] #[inline(always)] - #[must_use] pub fn bt_force_noiso(&mut self) -> BT_FORCE_NOISO_W { BT_FORCE_NOISO_W::new(self, 23) } #[doc = "Bit 24 - Digital peri force ISO"] #[inline(always)] - #[must_use] pub fn dg_peri_force_iso(&mut self) -> DG_PERI_FORCE_ISO_W { DG_PERI_FORCE_ISO_W::new(self, 24) } #[doc = "Bit 25 - digital peri force no ISO"] #[inline(always)] - #[must_use] pub fn dg_peri_force_noiso(&mut self) -> DG_PERI_FORCE_NOISO_W { DG_PERI_FORCE_NOISO_W::new(self, 25) } #[doc = "Bit 26 - cpu force ISO"] #[inline(always)] - #[must_use] pub fn cpu_top_force_iso(&mut self) -> CPU_TOP_FORCE_ISO_W { CPU_TOP_FORCE_ISO_W::new(self, 26) } #[doc = "Bit 27 - cpu force no ISO"] #[inline(always)] - #[must_use] pub fn cpu_top_force_noiso(&mut self) -> CPU_TOP_FORCE_NOISO_W { CPU_TOP_FORCE_NOISO_W::new(self, 27) } #[doc = "Bit 28 - wifi force ISO"] #[inline(always)] - #[must_use] pub fn wifi_force_iso(&mut self) -> WIFI_FORCE_ISO_W { WIFI_FORCE_ISO_W::new(self, 28) } #[doc = "Bit 29 - wifi force no ISO"] #[inline(always)] - #[must_use] pub fn wifi_force_noiso(&mut self) -> WIFI_FORCE_NOISO_W { WIFI_FORCE_NOISO_W::new(self, 29) } #[doc = "Bit 30 - digital core force ISO"] #[inline(always)] - #[must_use] pub fn dg_wrap_force_iso(&mut self) -> DG_WRAP_FORCE_ISO_W { DG_WRAP_FORCE_ISO_W::new(self, 30) } #[doc = "Bit 31 - digital core force no ISO"] #[inline(always)] - #[must_use] pub fn dg_wrap_force_noiso(&mut self) -> DG_WRAP_FORCE_NOISO_W { DG_WRAP_FORCE_NOISO_W::new(self, 31) } diff --git a/esp32c3/src/rtc_cntl/dig_pad_hold.rs b/esp32c3/src/rtc_cntl/dig_pad_hold.rs index 4267291187..f46f8bd7dd 100644 --- a/esp32c3/src/rtc_cntl/dig_pad_hold.rs +++ b/esp32c3/src/rtc_cntl/dig_pad_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - the configure of digital pad"] #[inline(always)] - #[must_use] pub fn dig_pad_hold(&mut self) -> DIG_PAD_HOLD_W { DIG_PAD_HOLD_W::new(self, 0) } diff --git a/esp32c3/src/rtc_cntl/dig_pwc.rs b/esp32c3/src/rtc_cntl/dig_pwc.rs index fd0e46121c..1986f706dd 100644 --- a/esp32c3/src/rtc_cntl/dig_pwc.rs +++ b/esp32c3/src/rtc_cntl/dig_pwc.rs @@ -224,127 +224,106 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - vdd_spi drv's software value"] #[inline(always)] - #[must_use] pub fn vdd_spi_pwr_drv(&mut self) -> VDD_SPI_PWR_DRV_W { VDD_SPI_PWR_DRV_W::new(self, 0) } #[doc = "Bit 2 - vdd_spi drv use software value"] #[inline(always)] - #[must_use] pub fn vdd_spi_pwr_force(&mut self) -> VDD_SPI_PWR_FORCE_W { VDD_SPI_PWR_FORCE_W::new(self, 2) } #[doc = "Bit 3 - memories in digital core force PD in sleep"] #[inline(always)] - #[must_use] pub fn lslp_mem_force_pd(&mut self) -> LSLP_MEM_FORCE_PD_W { LSLP_MEM_FORCE_PD_W::new(self, 3) } #[doc = "Bit 4 - memories in digital core force PU in sleep"] #[inline(always)] - #[must_use] pub fn lslp_mem_force_pu(&mut self) -> LSLP_MEM_FORCE_PU_W { LSLP_MEM_FORCE_PU_W::new(self, 4) } #[doc = "Bit 11 - bt force power down"] #[inline(always)] - #[must_use] pub fn bt_force_pd(&mut self) -> BT_FORCE_PD_W { BT_FORCE_PD_W::new(self, 11) } #[doc = "Bit 12 - bt force power up"] #[inline(always)] - #[must_use] pub fn bt_force_pu(&mut self) -> BT_FORCE_PU_W { BT_FORCE_PU_W::new(self, 12) } #[doc = "Bit 13 - digital peri force power down"] #[inline(always)] - #[must_use] pub fn dg_peri_force_pd(&mut self) -> DG_PERI_FORCE_PD_W { DG_PERI_FORCE_PD_W::new(self, 13) } #[doc = "Bit 14 - digital peri force power up"] #[inline(always)] - #[must_use] pub fn dg_peri_force_pu(&mut self) -> DG_PERI_FORCE_PU_W { DG_PERI_FORCE_PU_W::new(self, 14) } #[doc = "Bit 15 - fastmemory retention mode in sleep"] #[inline(always)] - #[must_use] pub fn fastmem_force_lpd(&mut self) -> FASTMEM_FORCE_LPD_W { FASTMEM_FORCE_LPD_W::new(self, 15) } #[doc = "Bit 16 - fastmemory donlt entry retention mode in sleep"] #[inline(always)] - #[must_use] pub fn fastmem_force_lpu(&mut self) -> FASTMEM_FORCE_LPU_W { FASTMEM_FORCE_LPU_W::new(self, 16) } #[doc = "Bit 17 - wifi force power down"] #[inline(always)] - #[must_use] pub fn wifi_force_pd(&mut self) -> WIFI_FORCE_PD_W { WIFI_FORCE_PD_W::new(self, 17) } #[doc = "Bit 18 - wifi force power up"] #[inline(always)] - #[must_use] pub fn wifi_force_pu(&mut self) -> WIFI_FORCE_PU_W { WIFI_FORCE_PU_W::new(self, 18) } #[doc = "Bit 19 - digital core force power down"] #[inline(always)] - #[must_use] pub fn dg_wrap_force_pd(&mut self) -> DG_WRAP_FORCE_PD_W { DG_WRAP_FORCE_PD_W::new(self, 19) } #[doc = "Bit 20 - digital core force power up"] #[inline(always)] - #[must_use] pub fn dg_wrap_force_pu(&mut self) -> DG_WRAP_FORCE_PU_W { DG_WRAP_FORCE_PU_W::new(self, 20) } #[doc = "Bit 21 - cpu core force power down"] #[inline(always)] - #[must_use] pub fn cpu_top_force_pd(&mut self) -> CPU_TOP_FORCE_PD_W { CPU_TOP_FORCE_PD_W::new(self, 21) } #[doc = "Bit 22 - cpu force power up"] #[inline(always)] - #[must_use] pub fn cpu_top_force_pu(&mut self) -> CPU_TOP_FORCE_PU_W { CPU_TOP_FORCE_PU_W::new(self, 22) } #[doc = "Bit 27 - enable power down bt in sleep"] #[inline(always)] - #[must_use] pub fn bt_pd_en(&mut self) -> BT_PD_EN_W { BT_PD_EN_W::new(self, 27) } #[doc = "Bit 28 - enable power down digital peri in sleep"] #[inline(always)] - #[must_use] pub fn dg_peri_pd_en(&mut self) -> DG_PERI_PD_EN_W { DG_PERI_PD_EN_W::new(self, 28) } #[doc = "Bit 29 - enable power down cpu in sleep"] #[inline(always)] - #[must_use] pub fn cpu_top_pd_en(&mut self) -> CPU_TOP_PD_EN_W { CPU_TOP_PD_EN_W::new(self, 29) } #[doc = "Bit 30 - enable power down wifi in sleep"] #[inline(always)] - #[must_use] pub fn wifi_pd_en(&mut self) -> WIFI_PD_EN_W { WIFI_PD_EN_W::new(self, 30) } #[doc = "Bit 31 - enable power down digital wrap in sleep"] #[inline(always)] - #[must_use] pub fn dg_wrap_pd_en(&mut self) -> DG_WRAP_PD_EN_W { DG_WRAP_PD_EN_W::new(self, 31) } diff --git a/esp32c3/src/rtc_cntl/ext_wakeup_conf.rs b/esp32c3/src/rtc_cntl/ext_wakeup_conf.rs index 7a6fd715d5..e6815ef848 100644 --- a/esp32c3/src/rtc_cntl/ext_wakeup_conf.rs +++ b/esp32c3/src/rtc_cntl/ext_wakeup_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - enable filter for gpio wakeup event"] #[inline(always)] - #[must_use] pub fn gpio_wakeup_filter(&mut self) -> GPIO_WAKEUP_FILTER_W { GPIO_WAKEUP_FILTER_W::new(self, 31) } diff --git a/esp32c3/src/rtc_cntl/ext_xtl_conf.rs b/esp32c3/src/rtc_cntl/ext_xtl_conf.rs index 29725ffd33..25e063215a 100644 --- a/esp32c3/src/rtc_cntl/ext_xtl_conf.rs +++ b/esp32c3/src/rtc_cntl/ext_xtl_conf.rs @@ -192,103 +192,86 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - xtal 32k watch dog enable"] #[inline(always)] - #[must_use] pub fn xtal32k_wdt_en(&mut self) -> XTAL32K_WDT_EN_W { XTAL32K_WDT_EN_W::new(self, 0) } #[doc = "Bit 1 - xtal 32k watch dog clock force on"] #[inline(always)] - #[must_use] pub fn xtal32k_wdt_clk_fo(&mut self) -> XTAL32K_WDT_CLK_FO_W { XTAL32K_WDT_CLK_FO_W::new(self, 1) } #[doc = "Bit 2 - xtal 32k watch dog sw reset"] #[inline(always)] - #[must_use] pub fn xtal32k_wdt_reset(&mut self) -> XTAL32K_WDT_RESET_W { XTAL32K_WDT_RESET_W::new(self, 2) } #[doc = "Bit 3 - xtal 32k external xtal clock force on"] #[inline(always)] - #[must_use] pub fn xtal32k_ext_clk_fo(&mut self) -> XTAL32K_EXT_CLK_FO_W { XTAL32K_EXT_CLK_FO_W::new(self, 3) } #[doc = "Bit 4 - xtal 32k switch to back up clock when xtal is dead"] #[inline(always)] - #[must_use] pub fn xtal32k_auto_backup(&mut self) -> XTAL32K_AUTO_BACKUP_W { XTAL32K_AUTO_BACKUP_W::new(self, 4) } #[doc = "Bit 5 - xtal 32k restart xtal when xtal is dead"] #[inline(always)] - #[must_use] pub fn xtal32k_auto_restart(&mut self) -> XTAL32K_AUTO_RESTART_W { XTAL32K_AUTO_RESTART_W::new(self, 5) } #[doc = "Bit 6 - xtal 32k switch back xtal when xtal is restarted"] #[inline(always)] - #[must_use] pub fn xtal32k_auto_return(&mut self) -> XTAL32K_AUTO_RETURN_W { XTAL32K_AUTO_RETURN_W::new(self, 6) } #[doc = "Bit 7 - Xtal 32k xpd control by sw or fsm"] #[inline(always)] - #[must_use] pub fn xtal32k_xpd_force(&mut self) -> XTAL32K_XPD_FORCE_W { XTAL32K_XPD_FORCE_W::new(self, 7) } #[doc = "Bit 8 - apply an internal clock to help xtal 32k to start"] #[inline(always)] - #[must_use] pub fn enckinit_xtal_32k(&mut self) -> ENCKINIT_XTAL_32K_W { ENCKINIT_XTAL_32K_W::new(self, 8) } #[doc = "Bit 9 - 0: single-end buffer 1: differential buffer"] #[inline(always)] - #[must_use] pub fn dbuf_xtal_32k(&mut self) -> DBUF_XTAL_32K_W { DBUF_XTAL_32K_W::new(self, 9) } #[doc = "Bits 10:12 - xtal_32k gm control"] #[inline(always)] - #[must_use] pub fn dgm_xtal_32k(&mut self) -> DGM_XTAL_32K_W { DGM_XTAL_32K_W::new(self, 10) } #[doc = "Bits 13:15 - DRES_XTAL_32K"] #[inline(always)] - #[must_use] pub fn dres_xtal_32k(&mut self) -> DRES_XTAL_32K_W { DRES_XTAL_32K_W::new(self, 13) } #[doc = "Bit 16 - XPD_XTAL_32K"] #[inline(always)] - #[must_use] pub fn xpd_xtal_32k(&mut self) -> XPD_XTAL_32K_W { XPD_XTAL_32K_W::new(self, 16) } #[doc = "Bits 17:19 - DAC_XTAL_32K"] #[inline(always)] - #[must_use] pub fn dac_xtal_32k(&mut self) -> DAC_XTAL_32K_W { DAC_XTAL_32K_W::new(self, 17) } #[doc = "Bit 23 - XTAL_32K sel. 0: external XTAL_32K"] #[inline(always)] - #[must_use] pub fn xtal32k_gpio_sel(&mut self) -> XTAL32K_GPIO_SEL_W { XTAL32K_GPIO_SEL_W::new(self, 23) } #[doc = "Bit 30 - 0: power down XTAL at high level"] #[inline(always)] - #[must_use] pub fn xtl_ext_ctr_lv(&mut self) -> XTL_EXT_CTR_LV_W { XTL_EXT_CTR_LV_W::new(self, 30) } #[doc = "Bit 31 - enable gpio configure xtal power on"] #[inline(always)] - #[must_use] pub fn xtl_ext_ctr_en(&mut self) -> XTL_EXT_CTR_EN_W { XTL_EXT_CTR_EN_W::new(self, 31) } diff --git a/esp32c3/src/rtc_cntl/fib_sel.rs b/esp32c3/src/rtc_cntl/fib_sel.rs index 28dbb9b706..16eebd31cc 100644 --- a/esp32c3/src/rtc_cntl/fib_sel.rs +++ b/esp32c3/src/rtc_cntl/fib_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - select use analog fib signal"] #[inline(always)] - #[must_use] pub fn fib_sel(&mut self) -> FIB_SEL_W { FIB_SEL_W::new(self, 0) } diff --git a/esp32c3/src/rtc_cntl/gpio_wakeup.rs b/esp32c3/src/rtc_cntl/gpio_wakeup.rs index 943770b63d..5a952e1e45 100644 --- a/esp32c3/src/rtc_cntl/gpio_wakeup.rs +++ b/esp32c3/src/rtc_cntl/gpio_wakeup.rs @@ -162,85 +162,71 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 6 - clear rtc gpio wakeup flag"] #[inline(always)] - #[must_use] pub fn gpio_wakeup_status_clr(&mut self) -> GPIO_WAKEUP_STATUS_CLR_W { GPIO_WAKEUP_STATUS_CLR_W::new(self, 6) } #[doc = "Bit 7 - enable rtc io clk gate"] #[inline(always)] - #[must_use] pub fn gpio_pin_clk_gate(&mut self) -> GPIO_PIN_CLK_GATE_W { GPIO_PIN_CLK_GATE_W::new(self, 7) } #[doc = "Bits 8:10 - configure gpio wakeup type"] #[inline(always)] - #[must_use] pub fn gpio_pin5_int_type(&mut self) -> GPIO_PIN5_INT_TYPE_W { GPIO_PIN5_INT_TYPE_W::new(self, 8) } #[doc = "Bits 11:13 - configure gpio wakeup type"] #[inline(always)] - #[must_use] pub fn gpio_pin4_int_type(&mut self) -> GPIO_PIN4_INT_TYPE_W { GPIO_PIN4_INT_TYPE_W::new(self, 11) } #[doc = "Bits 14:16 - configure gpio wakeup type"] #[inline(always)] - #[must_use] pub fn gpio_pin3_int_type(&mut self) -> GPIO_PIN3_INT_TYPE_W { GPIO_PIN3_INT_TYPE_W::new(self, 14) } #[doc = "Bits 17:19 - configure gpio wakeup type"] #[inline(always)] - #[must_use] pub fn gpio_pin2_int_type(&mut self) -> GPIO_PIN2_INT_TYPE_W { GPIO_PIN2_INT_TYPE_W::new(self, 17) } #[doc = "Bits 20:22 - configure gpio wakeup type"] #[inline(always)] - #[must_use] pub fn gpio_pin1_int_type(&mut self) -> GPIO_PIN1_INT_TYPE_W { GPIO_PIN1_INT_TYPE_W::new(self, 20) } #[doc = "Bits 23:25 - configure gpio wakeup type"] #[inline(always)] - #[must_use] pub fn gpio_pin0_int_type(&mut self) -> GPIO_PIN0_INT_TYPE_W { GPIO_PIN0_INT_TYPE_W::new(self, 23) } #[doc = "Bit 26 - enable wakeup from rtc gpio5"] #[inline(always)] - #[must_use] pub fn gpio_pin5_wakeup_enable(&mut self) -> GPIO_PIN5_WAKEUP_ENABLE_W { GPIO_PIN5_WAKEUP_ENABLE_W::new(self, 26) } #[doc = "Bit 27 - enable wakeup from rtc gpio4"] #[inline(always)] - #[must_use] pub fn gpio_pin4_wakeup_enable(&mut self) -> GPIO_PIN4_WAKEUP_ENABLE_W { GPIO_PIN4_WAKEUP_ENABLE_W::new(self, 27) } #[doc = "Bit 28 - enable wakeup from rtc gpio3"] #[inline(always)] - #[must_use] pub fn gpio_pin3_wakeup_enable(&mut self) -> GPIO_PIN3_WAKEUP_ENABLE_W { GPIO_PIN3_WAKEUP_ENABLE_W::new(self, 28) } #[doc = "Bit 29 - enable wakeup from rtc gpio2"] #[inline(always)] - #[must_use] pub fn gpio_pin2_wakeup_enable(&mut self) -> GPIO_PIN2_WAKEUP_ENABLE_W { GPIO_PIN2_WAKEUP_ENABLE_W::new(self, 29) } #[doc = "Bit 30 - enable wakeup from rtc gpio1"] #[inline(always)] - #[must_use] pub fn gpio_pin1_wakeup_enable(&mut self) -> GPIO_PIN1_WAKEUP_ENABLE_W { GPIO_PIN1_WAKEUP_ENABLE_W::new(self, 30) } #[doc = "Bit 31 - enable wakeup from rtc gpio0"] #[inline(always)] - #[must_use] pub fn gpio_pin0_wakeup_enable(&mut self) -> GPIO_PIN0_WAKEUP_ENABLE_W { GPIO_PIN0_WAKEUP_ENABLE_W::new(self, 31) } diff --git a/esp32c3/src/rtc_cntl/int_clr.rs b/esp32c3/src/rtc_cntl/int_clr.rs index a55e5b0ab6..ac0b395588 100644 --- a/esp32c3/src/rtc_cntl/int_clr.rs +++ b/esp32c3/src/rtc_cntl/int_clr.rs @@ -27,55 +27,46 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Clear sleep wakeup interrupt state"] #[inline(always)] - #[must_use] pub fn slp_wakeup(&mut self) -> SLP_WAKEUP_W { SLP_WAKEUP_W::new(self, 0) } #[doc = "Bit 1 - Clear sleep reject interrupt state"] #[inline(always)] - #[must_use] pub fn slp_reject(&mut self) -> SLP_REJECT_W { SLP_REJECT_W::new(self, 1) } #[doc = "Bit 3 - Clear RTC WDT interrupt state"] #[inline(always)] - #[must_use] pub fn wdt(&mut self) -> WDT_W { WDT_W::new(self, 3) } #[doc = "Bit 9 - Clear brown out interrupt state"] #[inline(always)] - #[must_use] pub fn brown_out(&mut self) -> BROWN_OUT_W { BROWN_OUT_W::new(self, 9) } #[doc = "Bit 10 - Clear RTC main timer interrupt state"] #[inline(always)] - #[must_use] pub fn main_timer(&mut self) -> MAIN_TIMER_W { MAIN_TIMER_W::new(self, 10) } #[doc = "Bit 15 - Clear super watch dog interrupt state"] #[inline(always)] - #[must_use] pub fn swd(&mut self) -> SWD_W { SWD_W::new(self, 15) } #[doc = "Bit 16 - Clear RTC WDT interrupt state"] #[inline(always)] - #[must_use] pub fn xtal32k_dead(&mut self) -> XTAL32K_DEAD_W { XTAL32K_DEAD_W::new(self, 16) } #[doc = "Bit 19 - Clear glitch det interrupt state"] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 19) } #[doc = "Bit 20 - clear bbpll cal end interrupt state"] #[inline(always)] - #[must_use] pub fn bbpll_cal(&mut self) -> BBPLL_CAL_W { BBPLL_CAL_W::new(self, 20) } diff --git a/esp32c3/src/rtc_cntl/int_ena.rs b/esp32c3/src/rtc_cntl/int_ena.rs index d900958a06..eb44823beb 100644 --- a/esp32c3/src/rtc_cntl/int_ena.rs +++ b/esp32c3/src/rtc_cntl/int_ena.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - enable sleep wakeup interrupt"] #[inline(always)] - #[must_use] pub fn slp_wakeup(&mut self) -> SLP_WAKEUP_W { SLP_WAKEUP_W::new(self, 0) } #[doc = "Bit 1 - enable sleep reject interrupt"] #[inline(always)] - #[must_use] pub fn slp_reject(&mut self) -> SLP_REJECT_W { SLP_REJECT_W::new(self, 1) } #[doc = "Bit 3 - enable RTC WDT interrupt"] #[inline(always)] - #[must_use] pub fn wdt(&mut self) -> WDT_W { WDT_W::new(self, 3) } #[doc = "Bit 9 - enable brown out interrupt"] #[inline(always)] - #[must_use] pub fn brown_out(&mut self) -> BROWN_OUT_W { BROWN_OUT_W::new(self, 9) } #[doc = "Bit 10 - enable RTC main timer interrupt"] #[inline(always)] - #[must_use] pub fn main_timer(&mut self) -> MAIN_TIMER_W { MAIN_TIMER_W::new(self, 10) } #[doc = "Bit 15 - enable super watch dog interrupt"] #[inline(always)] - #[must_use] pub fn swd(&mut self) -> SWD_W { SWD_W::new(self, 15) } #[doc = "Bit 16 - enable xtal32k_dead interrupt"] #[inline(always)] - #[must_use] pub fn xtal32k_dead(&mut self) -> XTAL32K_DEAD_W { XTAL32K_DEAD_W::new(self, 16) } #[doc = "Bit 19 - enbale gitch det interrupt"] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 19) } #[doc = "Bit 20 - enbale bbpll cal end interrupt"] #[inline(always)] - #[must_use] pub fn bbpll_cal(&mut self) -> BBPLL_CAL_W { BBPLL_CAL_W::new(self, 20) } diff --git a/esp32c3/src/rtc_cntl/int_ena_rtc_w1tc.rs b/esp32c3/src/rtc_cntl/int_ena_rtc_w1tc.rs index cef227d5ac..654a332240 100644 --- a/esp32c3/src/rtc_cntl/int_ena_rtc_w1tc.rs +++ b/esp32c3/src/rtc_cntl/int_ena_rtc_w1tc.rs @@ -27,55 +27,46 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - clear sleep wakeup interrupt enable"] #[inline(always)] - #[must_use] pub fn slp_wakeup(&mut self) -> SLP_WAKEUP_W { SLP_WAKEUP_W::new(self, 0) } #[doc = "Bit 1 - clear sleep reject interrupt enable"] #[inline(always)] - #[must_use] pub fn slp_reject(&mut self) -> SLP_REJECT_W { SLP_REJECT_W::new(self, 1) } #[doc = "Bit 3 - clear RTC WDT interrupt enable"] #[inline(always)] - #[must_use] pub fn wdt(&mut self) -> WDT_W { WDT_W::new(self, 3) } #[doc = "Bit 9 - clear brown out interrupt enable"] #[inline(always)] - #[must_use] pub fn brown_out(&mut self) -> BROWN_OUT_W { BROWN_OUT_W::new(self, 9) } #[doc = "Bit 10 - Clear RTC main timer interrupt enable"] #[inline(always)] - #[must_use] pub fn main_timer(&mut self) -> MAIN_TIMER_W { MAIN_TIMER_W::new(self, 10) } #[doc = "Bit 15 - clear super watch dog interrupt enable"] #[inline(always)] - #[must_use] pub fn swd(&mut self) -> SWD_W { SWD_W::new(self, 15) } #[doc = "Bit 16 - clear xtal32k_dead interrupt enable"] #[inline(always)] - #[must_use] pub fn xtal32k_dead(&mut self) -> XTAL32K_DEAD_W { XTAL32K_DEAD_W::new(self, 16) } #[doc = "Bit 19 - clear gitch det interrupt enable"] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 19) } #[doc = "Bit 20 - clear bbpll cal interrupt enable"] #[inline(always)] - #[must_use] pub fn bbpll_cal(&mut self) -> BBPLL_CAL_W { BBPLL_CAL_W::new(self, 20) } diff --git a/esp32c3/src/rtc_cntl/int_ena_rtc_w1ts.rs b/esp32c3/src/rtc_cntl/int_ena_rtc_w1ts.rs index 01fd7aa0d3..2a95deac43 100644 --- a/esp32c3/src/rtc_cntl/int_ena_rtc_w1ts.rs +++ b/esp32c3/src/rtc_cntl/int_ena_rtc_w1ts.rs @@ -27,55 +27,46 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - enable sleep wakeup interrupt"] #[inline(always)] - #[must_use] pub fn slp_wakeup(&mut self) -> SLP_WAKEUP_W { SLP_WAKEUP_W::new(self, 0) } #[doc = "Bit 1 - enable sleep reject interrupt"] #[inline(always)] - #[must_use] pub fn slp_reject(&mut self) -> SLP_REJECT_W { SLP_REJECT_W::new(self, 1) } #[doc = "Bit 3 - enable RTC WDT interrupt"] #[inline(always)] - #[must_use] pub fn wdt(&mut self) -> WDT_W { WDT_W::new(self, 3) } #[doc = "Bit 9 - enable brown out interrupt"] #[inline(always)] - #[must_use] pub fn brown_out(&mut self) -> BROWN_OUT_W { BROWN_OUT_W::new(self, 9) } #[doc = "Bit 10 - enable RTC main timer interrupt"] #[inline(always)] - #[must_use] pub fn main_timer(&mut self) -> MAIN_TIMER_W { MAIN_TIMER_W::new(self, 10) } #[doc = "Bit 15 - enable super watch dog interrupt"] #[inline(always)] - #[must_use] pub fn swd(&mut self) -> SWD_W { SWD_W::new(self, 15) } #[doc = "Bit 16 - enable xtal32k_dead interrupt"] #[inline(always)] - #[must_use] pub fn xtal32k_dead(&mut self) -> XTAL32K_DEAD_W { XTAL32K_DEAD_W::new(self, 16) } #[doc = "Bit 19 - enbale gitch det interrupt"] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 19) } #[doc = "Bit 20 - enbale bbpll cal interrupt"] #[inline(always)] - #[must_use] pub fn bbpll_cal(&mut self) -> BBPLL_CAL_W { BBPLL_CAL_W::new(self, 20) } diff --git a/esp32c3/src/rtc_cntl/option1.rs b/esp32c3/src/rtc_cntl/option1.rs index d4b926717d..30091544cf 100644 --- a/esp32c3/src/rtc_cntl/option1.rs +++ b/esp32c3/src/rtc_cntl/option1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - force chip entry download mode"] #[inline(always)] - #[must_use] pub fn force_download_boot(&mut self) -> FORCE_DOWNLOAD_BOOT_W { FORCE_DOWNLOAD_BOOT_W::new(self, 0) } diff --git a/esp32c3/src/rtc_cntl/options0.rs b/esp32c3/src/rtc_cntl/options0.rs index 6bc17432b0..067bb5dff3 100644 --- a/esp32c3/src/rtc_cntl/options0.rs +++ b/esp32c3/src/rtc_cntl/options0.rs @@ -220,139 +220,116 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - {reg_sw_stall_appcpu_c1\\[5:0\\], reg_sw_stall_appcpu_c0\\[1:0\\]} == 0x86 will stall APP CPU"] #[inline(always)] - #[must_use] pub fn sw_stall_appcpu_c0(&mut self) -> SW_STALL_APPCPU_C0_W { SW_STALL_APPCPU_C0_W::new(self, 0) } #[doc = "Bits 2:3 - {reg_sw_stall_procpu_c1\\[5:0\\], reg_sw_stall_procpu_c0\\[1:0\\]} == 0x86 will stall PRO CPU"] #[inline(always)] - #[must_use] pub fn sw_stall_procpu_c0(&mut self) -> SW_STALL_PROCPU_C0_W { SW_STALL_PROCPU_C0_W::new(self, 2) } #[doc = "Bit 4 - APP CPU SW reset"] #[inline(always)] - #[must_use] pub fn sw_appcpu_rst(&mut self) -> SW_APPCPU_RST_W { SW_APPCPU_RST_W::new(self, 4) } #[doc = "Bit 5 - PRO CPU SW reset"] #[inline(always)] - #[must_use] pub fn sw_procpu_rst(&mut self) -> SW_PROCPU_RST_W { SW_PROCPU_RST_W::new(self, 5) } #[doc = "Bit 6 - BB_I2C force power down"] #[inline(always)] - #[must_use] pub fn bb_i2c_force_pd(&mut self) -> BB_I2C_FORCE_PD_W { BB_I2C_FORCE_PD_W::new(self, 6) } #[doc = "Bit 7 - BB_I2C force power up"] #[inline(always)] - #[must_use] pub fn bb_i2c_force_pu(&mut self) -> BB_I2C_FORCE_PU_W { BB_I2C_FORCE_PU_W::new(self, 7) } #[doc = "Bit 8 - BB_PLL _I2C force power down"] #[inline(always)] - #[must_use] pub fn bbpll_i2c_force_pd(&mut self) -> BBPLL_I2C_FORCE_PD_W { BBPLL_I2C_FORCE_PD_W::new(self, 8) } #[doc = "Bit 9 - BB_PLL_I2C force power up"] #[inline(always)] - #[must_use] pub fn bbpll_i2c_force_pu(&mut self) -> BBPLL_I2C_FORCE_PU_W { BBPLL_I2C_FORCE_PU_W::new(self, 9) } #[doc = "Bit 10 - BB_PLL force power down"] #[inline(always)] - #[must_use] pub fn bbpll_force_pd(&mut self) -> BBPLL_FORCE_PD_W { BBPLL_FORCE_PD_W::new(self, 10) } #[doc = "Bit 11 - BB_PLL force power up"] #[inline(always)] - #[must_use] pub fn bbpll_force_pu(&mut self) -> BBPLL_FORCE_PU_W { BBPLL_FORCE_PU_W::new(self, 11) } #[doc = "Bit 12 - crystall force power down"] #[inline(always)] - #[must_use] pub fn xtl_force_pd(&mut self) -> XTL_FORCE_PD_W { XTL_FORCE_PD_W::new(self, 12) } #[doc = "Bit 13 - crystall force power up"] #[inline(always)] - #[must_use] pub fn xtl_force_pu(&mut self) -> XTL_FORCE_PU_W { XTL_FORCE_PU_W::new(self, 13) } #[doc = "Bits 14:17 - wait bias_sleep and current source wakeup"] #[inline(always)] - #[must_use] pub fn xtl_en_wait(&mut self) -> XTL_EN_WAIT_W { XTL_EN_WAIT_W::new(self, 14) } #[doc = "Bits 20:22 - analog configure"] #[inline(always)] - #[must_use] pub fn xtl_ext_ctr_sel(&mut self) -> XTL_EXT_CTR_SEL_W { XTL_EXT_CTR_SEL_W::new(self, 20) } #[doc = "Bit 23 - analog configure"] #[inline(always)] - #[must_use] pub fn xtl_force_iso(&mut self) -> XTL_FORCE_ISO_W { XTL_FORCE_ISO_W::new(self, 23) } #[doc = "Bit 24 - analog configure"] #[inline(always)] - #[must_use] pub fn pll_force_iso(&mut self) -> PLL_FORCE_ISO_W { PLL_FORCE_ISO_W::new(self, 24) } #[doc = "Bit 25 - analog configure"] #[inline(always)] - #[must_use] pub fn analog_force_iso(&mut self) -> ANALOG_FORCE_ISO_W { ANALOG_FORCE_ISO_W::new(self, 25) } #[doc = "Bit 26 - analog configure"] #[inline(always)] - #[must_use] pub fn xtl_force_noiso(&mut self) -> XTL_FORCE_NOISO_W { XTL_FORCE_NOISO_W::new(self, 26) } #[doc = "Bit 27 - analog configure"] #[inline(always)] - #[must_use] pub fn pll_force_noiso(&mut self) -> PLL_FORCE_NOISO_W { PLL_FORCE_NOISO_W::new(self, 27) } #[doc = "Bit 28 - analog configure"] #[inline(always)] - #[must_use] pub fn analog_force_noiso(&mut self) -> ANALOG_FORCE_NOISO_W { ANALOG_FORCE_NOISO_W::new(self, 28) } #[doc = "Bit 29 - digital wrap force reset in deep sleep"] #[inline(always)] - #[must_use] pub fn dg_wrap_force_rst(&mut self) -> DG_WRAP_FORCE_RST_W { DG_WRAP_FORCE_RST_W::new(self, 29) } #[doc = "Bit 30 - digital core force no reset in deep sleep"] #[inline(always)] - #[must_use] pub fn dg_wrap_force_norst(&mut self) -> DG_WRAP_FORCE_NORST_W { DG_WRAP_FORCE_NORST_W::new(self, 30) } #[doc = "Bit 31 - SW system reset"] #[inline(always)] - #[must_use] pub fn sw_sys_rst(&mut self) -> SW_SYS_RST_W { SW_SYS_RST_W::new(self, 31) } diff --git a/esp32c3/src/rtc_cntl/pad_hold.rs b/esp32c3/src/rtc_cntl/pad_hold.rs index c13c2db8ae..4df438dfe2 100644 --- a/esp32c3/src/rtc_cntl/pad_hold.rs +++ b/esp32c3/src/rtc_cntl/pad_hold.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - the hold configure of rtc gpio0"] #[inline(always)] - #[must_use] pub fn gpio_pin0_hold(&mut self) -> GPIO_PIN0_HOLD_W { GPIO_PIN0_HOLD_W::new(self, 0) } #[doc = "Bit 1 - the hold configure of rtc gpio1"] #[inline(always)] - #[must_use] pub fn gpio_pin1_hold(&mut self) -> GPIO_PIN1_HOLD_W { GPIO_PIN1_HOLD_W::new(self, 1) } #[doc = "Bit 2 - the hold configure of rtc gpio2"] #[inline(always)] - #[must_use] pub fn gpio_pin2_hold(&mut self) -> GPIO_PIN2_HOLD_W { GPIO_PIN2_HOLD_W::new(self, 2) } #[doc = "Bit 3 - the hold configure of rtc gpio3"] #[inline(always)] - #[must_use] pub fn gpio_pin3_hold(&mut self) -> GPIO_PIN3_HOLD_W { GPIO_PIN3_HOLD_W::new(self, 3) } #[doc = "Bit 4 - the hold configure of rtc gpio4"] #[inline(always)] - #[must_use] pub fn gpio_pin4_hold(&mut self) -> GPIO_PIN4_HOLD_W { GPIO_PIN4_HOLD_W::new(self, 4) } #[doc = "Bit 5 - the hold configure of rtc gpio5"] #[inline(always)] - #[must_use] pub fn gpio_pin5_hold(&mut self) -> GPIO_PIN5_HOLD_W { GPIO_PIN5_HOLD_W::new(self, 5) } diff --git a/esp32c3/src/rtc_cntl/pg_ctrl.rs b/esp32c3/src/rtc_cntl/pg_ctrl.rs index 8b4e73496d..032e9e5893 100644 --- a/esp32c3/src/rtc_cntl/pg_ctrl.rs +++ b/esp32c3/src/rtc_cntl/pg_ctrl.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 26:27 - power glitch desense"] #[inline(always)] - #[must_use] pub fn power_glitch_dsense(&mut self) -> POWER_GLITCH_DSENSE_W { POWER_GLITCH_DSENSE_W::new(self, 26) } #[doc = "Bit 28 - force disable power glitch"] #[inline(always)] - #[must_use] pub fn power_glitch_force_pd(&mut self) -> POWER_GLITCH_FORCE_PD_W { POWER_GLITCH_FORCE_PD_W::new(self, 28) } #[doc = "Bit 29 - force enable power glitch"] #[inline(always)] - #[must_use] pub fn power_glitch_force_pu(&mut self) -> POWER_GLITCH_FORCE_PU_W { POWER_GLITCH_FORCE_PU_W::new(self, 29) } #[doc = "Bit 30 - use efuse value control power glitch enable"] #[inline(always)] - #[must_use] pub fn power_glitch_efuse_sel(&mut self) -> POWER_GLITCH_EFUSE_SEL_W { POWER_GLITCH_EFUSE_SEL_W::new(self, 30) } #[doc = "Bit 31 - enable power glitch"] #[inline(always)] - #[must_use] pub fn power_glitch_en(&mut self) -> POWER_GLITCH_EN_W { POWER_GLITCH_EN_W::new(self, 31) } diff --git a/esp32c3/src/rtc_cntl/pwc.rs b/esp32c3/src/rtc_cntl/pwc.rs index 087e6d7634..763b557dee 100644 --- a/esp32c3/src/rtc_cntl/pwc.rs +++ b/esp32c3/src/rtc_cntl/pwc.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 21 - rtc pad force hold"] #[inline(always)] - #[must_use] pub fn pad_force_hold(&mut self) -> PAD_FORCE_HOLD_W { PAD_FORCE_HOLD_W::new(self, 21) } diff --git a/esp32c3/src/rtc_cntl/reset_state.rs b/esp32c3/src/rtc_cntl/reset_state.rs index 86c2b42f9d..0586e9756e 100644 --- a/esp32c3/src/rtc_cntl/reset_state.rs +++ b/esp32c3/src/rtc_cntl/reset_state.rs @@ -130,61 +130,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - APP CPU state vector sel"] #[inline(always)] - #[must_use] pub fn stat_vector_sel_appcpu(&mut self) -> STAT_VECTOR_SEL_APPCPU_W { STAT_VECTOR_SEL_APPCPU_W::new(self, 12) } #[doc = "Bit 13 - PRO CPU state vector sel"] #[inline(always)] - #[must_use] pub fn stat_vector_sel_procpu(&mut self) -> STAT_VECTOR_SEL_PROCPU_W { STAT_VECTOR_SEL_PROCPU_W::new(self, 13) } #[doc = "Bit 16 - clear PRO CPU reset_flag"] #[inline(always)] - #[must_use] pub fn all_reset_flag_clr_procpu(&mut self) -> ALL_RESET_FLAG_CLR_PROCPU_W { ALL_RESET_FLAG_CLR_PROCPU_W::new(self, 16) } #[doc = "Bit 17 - clear APP CPU reset flag"] #[inline(always)] - #[must_use] pub fn all_reset_flag_clr_appcpu(&mut self) -> ALL_RESET_FLAG_CLR_APPCPU_W { ALL_RESET_FLAG_CLR_APPCPU_W::new(self, 17) } #[doc = "Bit 18 - APPCPU OcdHaltOnReset"] #[inline(always)] - #[must_use] pub fn ocd_halt_on_reset_appcpu(&mut self) -> OCD_HALT_ON_RESET_APPCPU_W { OCD_HALT_ON_RESET_APPCPU_W::new(self, 18) } #[doc = "Bit 19 - PROCPU OcdHaltOnReset"] #[inline(always)] - #[must_use] pub fn ocd_halt_on_reset_procpu(&mut self) -> OCD_HALT_ON_RESET_PROCPU_W { OCD_HALT_ON_RESET_PROCPU_W::new(self, 19) } #[doc = "Bit 22 - configure jtag reset configure"] #[inline(always)] - #[must_use] pub fn jtag_reset_flag_clr_procpu(&mut self) -> JTAG_RESET_FLAG_CLR_PROCPU_W { JTAG_RESET_FLAG_CLR_PROCPU_W::new(self, 22) } #[doc = "Bit 23 - configure jtag reset configure"] #[inline(always)] - #[must_use] pub fn jtag_reset_flag_clr_appcpu(&mut self) -> JTAG_RESET_FLAG_CLR_APPCPU_W { JTAG_RESET_FLAG_CLR_APPCPU_W::new(self, 23) } #[doc = "Bit 24 - configure dreset configure"] #[inline(always)] - #[must_use] pub fn dreset_mask_appcpu(&mut self) -> DRESET_MASK_APPCPU_W { DRESET_MASK_APPCPU_W::new(self, 24) } #[doc = "Bit 25 - configure dreset configure"] #[inline(always)] - #[must_use] pub fn dreset_mask_procpu(&mut self) -> DRESET_MASK_PROCPU_W { DRESET_MASK_PROCPU_W::new(self, 25) } diff --git a/esp32c3/src/rtc_cntl/retention_ctrl.rs b/esp32c3/src/rtc_cntl/retention_ctrl.rs index cc8306fe17..a67209c4c5 100644 --- a/esp32c3/src/rtc_cntl/retention_ctrl.rs +++ b/esp32c3/src/rtc_cntl/retention_ctrl.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 18 - Retention clk sel"] #[inline(always)] - #[must_use] pub fn retention_clk_sel(&mut self) -> RETENTION_CLK_SEL_W { RETENTION_CLK_SEL_W::new(self, 18) } #[doc = "Bits 19:21 - Retention done wait time"] #[inline(always)] - #[must_use] pub fn retention_done_wait(&mut self) -> RETENTION_DONE_WAIT_W { RETENTION_DONE_WAIT_W::new(self, 19) } #[doc = "Bits 22:25 - Retention clkoff wait time"] #[inline(always)] - #[must_use] pub fn retention_clkoff_wait(&mut self) -> RETENTION_CLKOFF_WAIT_W { RETENTION_CLKOFF_WAIT_W::new(self, 22) } #[doc = "Bit 26 - enable cpu retention when light sleep"] #[inline(always)] - #[must_use] pub fn retention_en(&mut self) -> RETENTION_EN_W { RETENTION_EN_W::new(self, 26) } #[doc = "Bits 27:31 - wait cycles for rention operation"] #[inline(always)] - #[must_use] pub fn retention_wait(&mut self) -> RETENTION_WAIT_W { RETENTION_WAIT_W::new(self, 27) } diff --git a/esp32c3/src/rtc_cntl/rtc_cntl.rs b/esp32c3/src/rtc_cntl/rtc_cntl.rs index b81977011f..4b1448304d 100644 --- a/esp32c3/src/rtc_cntl/rtc_cntl.rs +++ b/esp32c3/src/rtc_cntl/rtc_cntl.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 7 - software enable digital regulator cali"] #[inline(always)] - #[must_use] pub fn dig_reg_cal_en(&mut self) -> DIG_REG_CAL_EN_W { DIG_REG_CAL_EN_W::new(self, 7) } #[doc = "Bits 14:21 - SCK_DCAP"] #[inline(always)] - #[must_use] pub fn sck_dcap(&mut self) -> SCK_DCAP_W { SCK_DCAP_W::new(self, 14) } #[doc = "Bit 28 - RTC_DBOOST force power down"] #[inline(always)] - #[must_use] pub fn dboost_force_pd(&mut self) -> DBOOST_FORCE_PD_W { DBOOST_FORCE_PD_W::new(self, 28) } #[doc = "Bit 29 - RTC_DBOOST force power up"] #[inline(always)] - #[must_use] pub fn dboost_force_pu(&mut self) -> DBOOST_FORCE_PU_W { DBOOST_FORCE_PU_W::new(self, 29) } #[doc = "Bit 30 - RTC_REG force power down (for RTC_REG power down means decrease the voltage to 0.8v or lower )"] #[inline(always)] - #[must_use] pub fn regulator_force_pd(&mut self) -> REGULATOR_FORCE_PD_W { REGULATOR_FORCE_PD_W::new(self, 30) } #[doc = "Bit 31 - RTC_REG force power up"] #[inline(always)] - #[must_use] pub fn regulator_force_pu(&mut self) -> REGULATOR_FORCE_PU_W { REGULATOR_FORCE_PU_W::new(self, 31) } diff --git a/esp32c3/src/rtc_cntl/sdio_conf.rs b/esp32c3/src/rtc_cntl/sdio_conf.rs index 9456c15f7e..dcf825ae65 100644 --- a/esp32c3/src/rtc_cntl/sdio_conf.rs +++ b/esp32c3/src/rtc_cntl/sdio_conf.rs @@ -172,91 +172,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - timer count to apply reg_sdio_dcap after sdio power on"] #[inline(always)] - #[must_use] pub fn sdio_timer_target(&mut self) -> SDIO_TIMER_TARGET_W { SDIO_TIMER_TARGET_W::new(self, 0) } #[doc = "Bits 9:10 - Tieh = 1 mode drive ability. Initially set to 0 to limit charge current"] #[inline(always)] - #[must_use] pub fn sdio_dthdrv(&mut self) -> SDIO_DTHDRV_W { SDIO_DTHDRV_W::new(self, 9) } #[doc = "Bits 11:12 - ability to prevent LDO from overshoot"] #[inline(always)] - #[must_use] pub fn sdio_dcap(&mut self) -> SDIO_DCAP_W { SDIO_DCAP_W::new(self, 11) } #[doc = "Bits 13:14 - add resistor from ldo output to ground. 0: no res"] #[inline(always)] - #[must_use] pub fn sdio_initi(&mut self) -> SDIO_INITI_W { SDIO_INITI_W::new(self, 13) } #[doc = "Bit 15 - 0 to set init\\[1:0\\]=0"] #[inline(always)] - #[must_use] pub fn sdio_en_initi(&mut self) -> SDIO_EN_INITI_W { SDIO_EN_INITI_W::new(self, 15) } #[doc = "Bits 16:18 - tune current limit threshold when tieh = 0. About 800mA/(8+d)"] #[inline(always)] - #[must_use] pub fn sdio_dcurlim(&mut self) -> SDIO_DCURLIM_W { SDIO_DCURLIM_W::new(self, 16) } #[doc = "Bit 19 - select current limit mode"] #[inline(always)] - #[must_use] pub fn sdio_modecurlim(&mut self) -> SDIO_MODECURLIM_W { SDIO_MODECURLIM_W::new(self, 19) } #[doc = "Bit 20 - enable current limit"] #[inline(always)] - #[must_use] pub fn sdio_encurlim(&mut self) -> SDIO_ENCURLIM_W { SDIO_ENCURLIM_W::new(self, 20) } #[doc = "Bit 21 - power down SDIO_REG in sleep. Only active when reg_sdio_force = 0"] #[inline(always)] - #[must_use] pub fn sdio_reg_pd_en(&mut self) -> SDIO_REG_PD_EN_W { SDIO_REG_PD_EN_W::new(self, 21) } #[doc = "Bit 22 - 1: use SW option to control SDIO_REG"] #[inline(always)] - #[must_use] pub fn sdio_force(&mut self) -> SDIO_FORCE_W { SDIO_FORCE_W::new(self, 22) } #[doc = "Bit 23 - SW option for SDIO_TIEH. Only active when reg_sdio_force = 1"] #[inline(always)] - #[must_use] pub fn sdio_tieh(&mut self) -> SDIO_TIEH_W { SDIO_TIEH_W::new(self, 23) } #[doc = "Bits 25:26 - SW option for DREFL_SDIO. Only active when reg_sdio_force = 1"] #[inline(always)] - #[must_use] pub fn drefl_sdio(&mut self) -> DREFL_SDIO_W { DREFL_SDIO_W::new(self, 25) } #[doc = "Bits 27:28 - SW option for DREFM_SDIO. Only active when reg_sdio_force = 1"] #[inline(always)] - #[must_use] pub fn drefm_sdio(&mut self) -> DREFM_SDIO_W { DREFM_SDIO_W::new(self, 27) } #[doc = "Bits 29:30 - SW option for DREFH_SDIO. Only active when reg_sdio_force = 1"] #[inline(always)] - #[must_use] pub fn drefh_sdio(&mut self) -> DREFH_SDIO_W { DREFH_SDIO_W::new(self, 29) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn xpd_sdio(&mut self) -> XPD_SDIO_W { XPD_SDIO_W::new(self, 31) } diff --git a/esp32c3/src/rtc_cntl/sensor_ctrl.rs b/esp32c3/src/rtc_cntl/sensor_ctrl.rs index 9574a44715..41ac34a001 100644 --- a/esp32c3/src/rtc_cntl/sensor_ctrl.rs +++ b/esp32c3/src/rtc_cntl/sensor_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 27:29 - reg_sar2_pwdet_cct"] #[inline(always)] - #[must_use] pub fn sar2_pwdet_cct(&mut self) -> SAR2_PWDET_CCT_W { SAR2_PWDET_CCT_W::new(self, 27) } #[doc = "Bits 30:31 - force power up SAR"] #[inline(always)] - #[must_use] pub fn force_xpd_sar(&mut self) -> FORCE_XPD_SAR_W { FORCE_XPD_SAR_W::new(self, 30) } diff --git a/esp32c3/src/rtc_cntl/slow_clk_conf.rs b/esp32c3/src/rtc_cntl/slow_clk_conf.rs index 77aef026f7..75e2e0929d 100644 --- a/esp32c3/src/rtc_cntl/slow_clk_conf.rs +++ b/esp32c3/src/rtc_cntl/slow_clk_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 22 - used to sync div bus. clear vld before set reg_rtc_ana_clk_div"] #[inline(always)] - #[must_use] pub fn ana_clk_div_vld(&mut self) -> ANA_CLK_DIV_VLD_W { ANA_CLK_DIV_VLD_W::new(self, 22) } #[doc = "Bits 23:30 - the clk divider num of RTC_CLK"] #[inline(always)] - #[must_use] pub fn ana_clk_div(&mut self) -> ANA_CLK_DIV_W { ANA_CLK_DIV_W::new(self, 23) } #[doc = "Bit 31 - flag rtc_slow_clk_next_edge"] #[inline(always)] - #[must_use] pub fn slow_clk_next_edge(&mut self) -> SLOW_CLK_NEXT_EDGE_W { SLOW_CLK_NEXT_EDGE_W::new(self, 31) } diff --git a/esp32c3/src/rtc_cntl/slp_reject_conf.rs b/esp32c3/src/rtc_cntl/slp_reject_conf.rs index 5e3382de18..5ad2cd396d 100644 --- a/esp32c3/src/rtc_cntl/slp_reject_conf.rs +++ b/esp32c3/src/rtc_cntl/slp_reject_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 12:29 - sleep reject enable"] #[inline(always)] - #[must_use] pub fn sleep_reject_ena(&mut self) -> SLEEP_REJECT_ENA_W { SLEEP_REJECT_ENA_W::new(self, 12) } #[doc = "Bit 30 - enable reject for light sleep"] #[inline(always)] - #[must_use] pub fn light_slp_reject_en(&mut self) -> LIGHT_SLP_REJECT_EN_W { LIGHT_SLP_REJECT_EN_W::new(self, 30) } #[doc = "Bit 31 - enable reject for deep sleep"] #[inline(always)] - #[must_use] pub fn deep_slp_reject_en(&mut self) -> DEEP_SLP_REJECT_EN_W { DEEP_SLP_REJECT_EN_W::new(self, 31) } diff --git a/esp32c3/src/rtc_cntl/slp_timer0.rs b/esp32c3/src/rtc_cntl/slp_timer0.rs index 1c63efe48d..aec9363f8f 100644 --- a/esp32c3/src/rtc_cntl/slp_timer0.rs +++ b/esp32c3/src/rtc_cntl/slp_timer0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - configure the sleep time"] #[inline(always)] - #[must_use] pub fn slp_val_lo(&mut self) -> SLP_VAL_LO_W { SLP_VAL_LO_W::new(self, 0) } diff --git a/esp32c3/src/rtc_cntl/slp_timer1.rs b/esp32c3/src/rtc_cntl/slp_timer1.rs index e2883c514f..c03e279bd0 100644 --- a/esp32c3/src/rtc_cntl/slp_timer1.rs +++ b/esp32c3/src/rtc_cntl/slp_timer1.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - RTC sleep timer high 16 bits"] #[inline(always)] - #[must_use] pub fn slp_val_hi(&mut self) -> SLP_VAL_HI_W { SLP_VAL_HI_W::new(self, 0) } #[doc = "Bit 16 - timer alarm enable bit"] #[inline(always)] - #[must_use] pub fn main_timer_alarm_en(&mut self) -> MAIN_TIMER_ALARM_EN_W { MAIN_TIMER_ALARM_EN_W::new(self, 16) } diff --git a/esp32c3/src/rtc_cntl/state0.rs b/esp32c3/src/rtc_cntl/state0.rs index 3271cb2f17..19f81dd212 100644 --- a/esp32c3/src/rtc_cntl/state0.rs +++ b/esp32c3/src/rtc_cntl/state0.rs @@ -66,37 +66,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - rtc software interrupt to main cpu"] #[inline(always)] - #[must_use] pub fn sw_cpu_int(&mut self) -> SW_CPU_INT_W { SW_CPU_INT_W::new(self, 0) } #[doc = "Bit 1 - clear rtc sleep reject cause"] #[inline(always)] - #[must_use] pub fn slp_reject_cause_clr(&mut self) -> SLP_REJECT_CAUSE_CLR_W { SLP_REJECT_CAUSE_CLR_W::new(self, 1) } #[doc = "Bit 22 - 1: APB to RTC using bridge"] #[inline(always)] - #[must_use] pub fn apb2rtc_bridge_sel(&mut self) -> APB2RTC_BRIDGE_SEL_W { APB2RTC_BRIDGE_SEL_W::new(self, 22) } #[doc = "Bit 29 - leep wakeup bit"] #[inline(always)] - #[must_use] pub fn slp_wakeup(&mut self) -> SLP_WAKEUP_W { SLP_WAKEUP_W::new(self, 29) } #[doc = "Bit 30 - leep reject bit"] #[inline(always)] - #[must_use] pub fn slp_reject(&mut self) -> SLP_REJECT_W { SLP_REJECT_W::new(self, 30) } #[doc = "Bit 31 - sleep enable bit"] #[inline(always)] - #[must_use] pub fn sleep_en(&mut self) -> SLEEP_EN_W { SLEEP_EN_W::new(self, 31) } diff --git a/esp32c3/src/rtc_cntl/store0.rs b/esp32c3/src/rtc_cntl/store0.rs index c9c3a04892..659b24d13e 100644 --- a/esp32c3/src/rtc_cntl/store0.rs +++ b/esp32c3/src/rtc_cntl/store0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reserved register"] #[inline(always)] - #[must_use] pub fn scratch0(&mut self) -> SCRATCH0_W { SCRATCH0_W::new(self, 0) } diff --git a/esp32c3/src/rtc_cntl/store1.rs b/esp32c3/src/rtc_cntl/store1.rs index 2e9d6b4ee7..6d5e541370 100644 --- a/esp32c3/src/rtc_cntl/store1.rs +++ b/esp32c3/src/rtc_cntl/store1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reserved register"] #[inline(always)] - #[must_use] pub fn scratch1(&mut self) -> SCRATCH1_W { SCRATCH1_W::new(self, 0) } diff --git a/esp32c3/src/rtc_cntl/store2.rs b/esp32c3/src/rtc_cntl/store2.rs index 242cb931ec..0754932186 100644 --- a/esp32c3/src/rtc_cntl/store2.rs +++ b/esp32c3/src/rtc_cntl/store2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reserved register"] #[inline(always)] - #[must_use] pub fn scratch2(&mut self) -> SCRATCH2_W { SCRATCH2_W::new(self, 0) } diff --git a/esp32c3/src/rtc_cntl/store3.rs b/esp32c3/src/rtc_cntl/store3.rs index f219c81ec9..49acd9cfc3 100644 --- a/esp32c3/src/rtc_cntl/store3.rs +++ b/esp32c3/src/rtc_cntl/store3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reserved register"] #[inline(always)] - #[must_use] pub fn scratch3(&mut self) -> SCRATCH3_W { SCRATCH3_W::new(self, 0) } diff --git a/esp32c3/src/rtc_cntl/store4.rs b/esp32c3/src/rtc_cntl/store4.rs index 7d0795cc0e..0463297398 100644 --- a/esp32c3/src/rtc_cntl/store4.rs +++ b/esp32c3/src/rtc_cntl/store4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reserved register"] #[inline(always)] - #[must_use] pub fn scratch4(&mut self) -> SCRATCH4_W { SCRATCH4_W::new(self, 0) } diff --git a/esp32c3/src/rtc_cntl/store5.rs b/esp32c3/src/rtc_cntl/store5.rs index c64ec7ac26..8b3b17ceeb 100644 --- a/esp32c3/src/rtc_cntl/store5.rs +++ b/esp32c3/src/rtc_cntl/store5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reserved register"] #[inline(always)] - #[must_use] pub fn scratch5(&mut self) -> SCRATCH5_W { SCRATCH5_W::new(self, 0) } diff --git a/esp32c3/src/rtc_cntl/store6.rs b/esp32c3/src/rtc_cntl/store6.rs index 455eec5f55..ffaa74163d 100644 --- a/esp32c3/src/rtc_cntl/store6.rs +++ b/esp32c3/src/rtc_cntl/store6.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reserved register"] #[inline(always)] - #[must_use] pub fn scratch6(&mut self) -> SCRATCH6_W { SCRATCH6_W::new(self, 0) } diff --git a/esp32c3/src/rtc_cntl/store7.rs b/esp32c3/src/rtc_cntl/store7.rs index 9c35136259..5ce5500dd2 100644 --- a/esp32c3/src/rtc_cntl/store7.rs +++ b/esp32c3/src/rtc_cntl/store7.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reserved register"] #[inline(always)] - #[must_use] pub fn scratch7(&mut self) -> SCRATCH7_W { SCRATCH7_W::new(self, 0) } diff --git a/esp32c3/src/rtc_cntl/sw_cpu_stall.rs b/esp32c3/src/rtc_cntl/sw_cpu_stall.rs index 3cdf1eb6fb..94f1551bfc 100644 --- a/esp32c3/src/rtc_cntl/sw_cpu_stall.rs +++ b/esp32c3/src/rtc_cntl/sw_cpu_stall.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 20:25 - {reg_sw_stall_appcpu_c1\\[5:0\\]"] #[inline(always)] - #[must_use] pub fn sw_stall_appcpu_c1(&mut self) -> SW_STALL_APPCPU_C1_W { SW_STALL_APPCPU_C1_W::new(self, 20) } #[doc = "Bits 26:31 - stall cpu by software"] #[inline(always)] - #[must_use] pub fn sw_stall_procpu_c1(&mut self) -> SW_STALL_PROCPU_C1_W { SW_STALL_PROCPU_C1_W::new(self, 26) } diff --git a/esp32c3/src/rtc_cntl/swd_conf.rs b/esp32c3/src/rtc_cntl/swd_conf.rs index 3b6013d60b..a8535335d9 100644 --- a/esp32c3/src/rtc_cntl/swd_conf.rs +++ b/esp32c3/src/rtc_cntl/swd_conf.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 17 - Bypass swd rst"] #[inline(always)] - #[must_use] pub fn swd_bypass_rst(&mut self) -> SWD_BYPASS_RST_W { SWD_BYPASS_RST_W::new(self, 17) } #[doc = "Bits 18:27 - adjust signal width send to swd"] #[inline(always)] - #[must_use] pub fn swd_signal_width(&mut self) -> SWD_SIGNAL_WIDTH_W { SWD_SIGNAL_WIDTH_W::new(self, 18) } #[doc = "Bit 28 - reset swd reset flag"] #[inline(always)] - #[must_use] pub fn swd_rst_flag_clr(&mut self) -> SWD_RST_FLAG_CLR_W { SWD_RST_FLAG_CLR_W::new(self, 28) } #[doc = "Bit 29 - Sw feed swd"] #[inline(always)] - #[must_use] pub fn swd_feed(&mut self) -> SWD_FEED_W { SWD_FEED_W::new(self, 29) } #[doc = "Bit 30 - disabel SWD"] #[inline(always)] - #[must_use] pub fn swd_disable(&mut self) -> SWD_DISABLE_W { SWD_DISABLE_W::new(self, 30) } #[doc = "Bit 31 - automatically feed swd when int comes"] #[inline(always)] - #[must_use] pub fn swd_auto_feed_en(&mut self) -> SWD_AUTO_FEED_EN_W { SWD_AUTO_FEED_EN_W::new(self, 31) } diff --git a/esp32c3/src/rtc_cntl/swd_wprotect.rs b/esp32c3/src/rtc_cntl/swd_wprotect.rs index 615874e1cd..938caafd8f 100644 --- a/esp32c3/src/rtc_cntl/swd_wprotect.rs +++ b/esp32c3/src/rtc_cntl/swd_wprotect.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - the key of super wdt"] #[inline(always)] - #[must_use] pub fn swd_wkey(&mut self) -> SWD_WKEY_W { SWD_WKEY_W::new(self, 0) } diff --git a/esp32c3/src/rtc_cntl/time_update.rs b/esp32c3/src/rtc_cntl/time_update.rs index 46baf755f2..cdbba9f844 100644 --- a/esp32c3/src/rtc_cntl/time_update.rs +++ b/esp32c3/src/rtc_cntl/time_update.rs @@ -46,25 +46,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 27 - Enable to record system stall time"] #[inline(always)] - #[must_use] pub fn timer_sys_stall(&mut self) -> TIMER_SYS_STALL_W { TIMER_SYS_STALL_W::new(self, 27) } #[doc = "Bit 28 - Enable to record 40M XTAL OFF time"] #[inline(always)] - #[must_use] pub fn timer_xtl_off(&mut self) -> TIMER_XTL_OFF_W { TIMER_XTL_OFF_W::new(self, 28) } #[doc = "Bit 29 - enable to record system reset time"] #[inline(always)] - #[must_use] pub fn timer_sys_rst(&mut self) -> TIMER_SYS_RST_W { TIMER_SYS_RST_W::new(self, 29) } #[doc = "Bit 31 - Set 1: to update register with RTC timer"] #[inline(always)] - #[must_use] pub fn time_update(&mut self) -> TIME_UPDATE_W { TIME_UPDATE_W::new(self, 31) } diff --git a/esp32c3/src/rtc_cntl/timer1.rs b/esp32c3/src/rtc_cntl/timer1.rs index 908833ddd3..f926683651 100644 --- a/esp32c3/src/rtc_cntl/timer1.rs +++ b/esp32c3/src/rtc_cntl/timer1.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - CPU stall enable bit"] #[inline(always)] - #[must_use] pub fn cpu_stall_en(&mut self) -> CPU_STALL_EN_W { CPU_STALL_EN_W::new(self, 0) } #[doc = "Bits 1:5 - CPU stall wait cycles in fast_clk_rtc"] #[inline(always)] - #[must_use] pub fn cpu_stall_wait(&mut self) -> CPU_STALL_WAIT_W { CPU_STALL_WAIT_W::new(self, 1) } #[doc = "Bits 6:13 - CK8M wait cycles in slow_clk_rtc"] #[inline(always)] - #[must_use] pub fn ck8m_wait(&mut self) -> CK8M_WAIT_W { CK8M_WAIT_W::new(self, 6) } #[doc = "Bits 14:23 - XTAL wait cycles in slow_clk_rtc"] #[inline(always)] - #[must_use] pub fn xtl_buf_wait(&mut self) -> XTL_BUF_WAIT_W { XTL_BUF_WAIT_W::new(self, 14) } #[doc = "Bits 24:31 - PLL wait cycles in slow_clk_rtc"] #[inline(always)] - #[must_use] pub fn pll_buf_wait(&mut self) -> PLL_BUF_WAIT_W { PLL_BUF_WAIT_W::new(self, 24) } diff --git a/esp32c3/src/rtc_cntl/timer2.rs b/esp32c3/src/rtc_cntl/timer2.rs index 02d3697433..3f3d11bac9 100644 --- a/esp32c3/src/rtc_cntl/timer2.rs +++ b/esp32c3/src/rtc_cntl/timer2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 24:31 - minimal cycles in slow_clk_rtc for CK8M in power down state"] #[inline(always)] - #[must_use] pub fn min_time_ck8m_off(&mut self) -> MIN_TIME_CK8M_OFF_W { MIN_TIME_CK8M_OFF_W::new(self, 24) } diff --git a/esp32c3/src/rtc_cntl/timer3.rs b/esp32c3/src/rtc_cntl/timer3.rs index b715f792c7..bfaea3fccf 100644 --- a/esp32c3/src/rtc_cntl/timer3.rs +++ b/esp32c3/src/rtc_cntl/timer3.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - wifi power domain wakeup time"] #[inline(always)] - #[must_use] pub fn wifi_wait_timer(&mut self) -> WIFI_WAIT_TIMER_W { WIFI_WAIT_TIMER_W::new(self, 0) } #[doc = "Bits 9:15 - wifi power domain power on time"] #[inline(always)] - #[must_use] pub fn wifi_powerup_timer(&mut self) -> WIFI_POWERUP_TIMER_W { WIFI_POWERUP_TIMER_W::new(self, 9) } #[doc = "Bits 16:24 - bt power domain wakeup time"] #[inline(always)] - #[must_use] pub fn bt_wait_timer(&mut self) -> BT_WAIT_TIMER_W { BT_WAIT_TIMER_W::new(self, 16) } #[doc = "Bits 25:31 - bt power domain power on time"] #[inline(always)] - #[must_use] pub fn bt_powerup_timer(&mut self) -> BT_POWERUP_TIMER_W { BT_POWERUP_TIMER_W::new(self, 25) } diff --git a/esp32c3/src/rtc_cntl/timer4.rs b/esp32c3/src/rtc_cntl/timer4.rs index e99004c294..9d9befe0ae 100644 --- a/esp32c3/src/rtc_cntl/timer4.rs +++ b/esp32c3/src/rtc_cntl/timer4.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - cpu top power domain wakeup time"] #[inline(always)] - #[must_use] pub fn cpu_top_wait_timer(&mut self) -> CPU_TOP_WAIT_TIMER_W { CPU_TOP_WAIT_TIMER_W::new(self, 0) } #[doc = "Bits 9:15 - cpu top power domain power on time"] #[inline(always)] - #[must_use] pub fn cpu_top_powerup_timer(&mut self) -> CPU_TOP_POWERUP_TIMER_W { CPU_TOP_POWERUP_TIMER_W::new(self, 9) } #[doc = "Bits 16:24 - digital wrap power domain wakeup time"] #[inline(always)] - #[must_use] pub fn dg_wrap_wait_timer(&mut self) -> DG_WRAP_WAIT_TIMER_W { DG_WRAP_WAIT_TIMER_W::new(self, 16) } #[doc = "Bits 25:31 - digital wrap power domain power on time"] #[inline(always)] - #[must_use] pub fn dg_wrap_powerup_timer(&mut self) -> DG_WRAP_POWERUP_TIMER_W { DG_WRAP_POWERUP_TIMER_W::new(self, 25) } diff --git a/esp32c3/src/rtc_cntl/timer5.rs b/esp32c3/src/rtc_cntl/timer5.rs index 75198458e5..0fff5d512e 100644 --- a/esp32c3/src/rtc_cntl/timer5.rs +++ b/esp32c3/src/rtc_cntl/timer5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 8:15 - minimal sleep cycles in slow_clk_rtc"] #[inline(always)] - #[must_use] pub fn min_slp_val(&mut self) -> MIN_SLP_VAL_W { MIN_SLP_VAL_W::new(self, 8) } diff --git a/esp32c3/src/rtc_cntl/timer6.rs b/esp32c3/src/rtc_cntl/timer6.rs index c8d10ea178..407d74f620 100644 --- a/esp32c3/src/rtc_cntl/timer6.rs +++ b/esp32c3/src/rtc_cntl/timer6.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:24 - digital peri power domain wakeup time"] #[inline(always)] - #[must_use] pub fn dg_peri_wait_timer(&mut self) -> DG_PERI_WAIT_TIMER_W { DG_PERI_WAIT_TIMER_W::new(self, 16) } #[doc = "Bits 25:31 - digital peri power domain power on time"] #[inline(always)] - #[must_use] pub fn dg_peri_powerup_timer(&mut self) -> DG_PERI_POWERUP_TIMER_W { DG_PERI_POWERUP_TIMER_W::new(self, 25) } diff --git a/esp32c3/src/rtc_cntl/ulp_cp_timer_1.rs b/esp32c3/src/rtc_cntl/ulp_cp_timer_1.rs index 5b5fe15723..17bbc31975 100644 --- a/esp32c3/src/rtc_cntl/ulp_cp_timer_1.rs +++ b/esp32c3/src/rtc_cntl/ulp_cp_timer_1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 8:31 - sleep cycles for ULP-coprocessor timer"] #[inline(always)] - #[must_use] pub fn ulp_cp_timer_slp_cycle(&mut self) -> ULP_CP_TIMER_SLP_CYCLE_W { ULP_CP_TIMER_SLP_CYCLE_W::new(self, 8) } diff --git a/esp32c3/src/rtc_cntl/usb_conf.rs b/esp32c3/src/rtc_cntl/usb_conf.rs index a0d78ab1c6..4e1e584417 100644 --- a/esp32c3/src/rtc_cntl/usb_conf.rs +++ b/esp32c3/src/rtc_cntl/usb_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 18 - disable io_mux reset"] #[inline(always)] - #[must_use] pub fn io_mux_reset_disable(&mut self) -> IO_MUX_RESET_DISABLE_W { IO_MUX_RESET_DISABLE_W::new(self, 18) } diff --git a/esp32c3/src/rtc_cntl/wakeup_state.rs b/esp32c3/src/rtc_cntl/wakeup_state.rs index 6ab52d35f1..01802575f2 100644 --- a/esp32c3/src/rtc_cntl/wakeup_state.rs +++ b/esp32c3/src/rtc_cntl/wakeup_state.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 15:31 - wakeup enable bitmap"] #[inline(always)] - #[must_use] pub fn wakeup_ena(&mut self) -> WAKEUP_ENA_W { WAKEUP_ENA_W::new(self, 15) } diff --git a/esp32c3/src/rtc_cntl/wdtconfig0.rs b/esp32c3/src/rtc_cntl/wdtconfig0.rs index 2f60c92cd6..a07168dcb6 100644 --- a/esp32c3/src/rtc_cntl/wdtconfig0.rs +++ b/esp32c3/src/rtc_cntl/wdtconfig0.rs @@ -144,79 +144,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - chip reset siginal pulse width"] #[inline(always)] - #[must_use] pub fn wdt_chip_reset_width(&mut self) -> WDT_CHIP_RESET_WIDTH_W { WDT_CHIP_RESET_WIDTH_W::new(self, 0) } #[doc = "Bit 8 - wdt reset whole chip enable"] #[inline(always)] - #[must_use] pub fn wdt_chip_reset_en(&mut self) -> WDT_CHIP_RESET_EN_W { WDT_CHIP_RESET_EN_W::new(self, 8) } #[doc = "Bit 9 - pause WDT in sleep"] #[inline(always)] - #[must_use] pub fn wdt_pause_in_slp(&mut self) -> WDT_PAUSE_IN_SLP_W { WDT_PAUSE_IN_SLP_W::new(self, 9) } #[doc = "Bit 10 - enable WDT reset APP CPU"] #[inline(always)] - #[must_use] pub fn wdt_appcpu_reset_en(&mut self) -> WDT_APPCPU_RESET_EN_W { WDT_APPCPU_RESET_EN_W::new(self, 10) } #[doc = "Bit 11 - enable WDT reset PRO CPU"] #[inline(always)] - #[must_use] pub fn wdt_procpu_reset_en(&mut self) -> WDT_PROCPU_RESET_EN_W { WDT_PROCPU_RESET_EN_W::new(self, 11) } #[doc = "Bit 12 - enable WDT in flash boot"] #[inline(always)] - #[must_use] pub fn wdt_flashboot_mod_en(&mut self) -> WDT_FLASHBOOT_MOD_EN_W { WDT_FLASHBOOT_MOD_EN_W::new(self, 12) } #[doc = "Bits 13:15 - system reset counter length"] #[inline(always)] - #[must_use] pub fn wdt_sys_reset_length(&mut self) -> WDT_SYS_RESET_LENGTH_W { WDT_SYS_RESET_LENGTH_W::new(self, 13) } #[doc = "Bits 16:18 - CPU reset counter length"] #[inline(always)] - #[must_use] pub fn wdt_cpu_reset_length(&mut self) -> WDT_CPU_RESET_LENGTH_W { WDT_CPU_RESET_LENGTH_W::new(self, 16) } #[doc = "Bits 19:21 - 1: interrupt stage en"] #[inline(always)] - #[must_use] pub fn wdt_stg3(&mut self) -> WDT_STG3_W { WDT_STG3_W::new(self, 19) } #[doc = "Bits 22:24 - 1: interrupt stage en"] #[inline(always)] - #[must_use] pub fn wdt_stg2(&mut self) -> WDT_STG2_W { WDT_STG2_W::new(self, 22) } #[doc = "Bits 25:27 - 1: interrupt stage en"] #[inline(always)] - #[must_use] pub fn wdt_stg1(&mut self) -> WDT_STG1_W { WDT_STG1_W::new(self, 25) } #[doc = "Bits 28:30 - 1: interrupt stage en"] #[inline(always)] - #[must_use] pub fn wdt_stg0(&mut self) -> WDT_STG0_W { WDT_STG0_W::new(self, 28) } #[doc = "Bit 31 - enable rtc wdt"] #[inline(always)] - #[must_use] pub fn wdt_en(&mut self) -> WDT_EN_W { WDT_EN_W::new(self, 31) } diff --git a/esp32c3/src/rtc_cntl/wdtconfig1.rs b/esp32c3/src/rtc_cntl/wdtconfig1.rs index 96f610a223..1298ebcd1c 100644 --- a/esp32c3/src/rtc_cntl/wdtconfig1.rs +++ b/esp32c3/src/rtc_cntl/wdtconfig1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - the hold time of stage0"] #[inline(always)] - #[must_use] pub fn wdt_stg0_hold(&mut self) -> WDT_STG0_HOLD_W { WDT_STG0_HOLD_W::new(self, 0) } diff --git a/esp32c3/src/rtc_cntl/wdtconfig2.rs b/esp32c3/src/rtc_cntl/wdtconfig2.rs index 94dc96f8a5..19b20d7b3e 100644 --- a/esp32c3/src/rtc_cntl/wdtconfig2.rs +++ b/esp32c3/src/rtc_cntl/wdtconfig2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - the hold time of stage1"] #[inline(always)] - #[must_use] pub fn wdt_stg1_hold(&mut self) -> WDT_STG1_HOLD_W { WDT_STG1_HOLD_W::new(self, 0) } diff --git a/esp32c3/src/rtc_cntl/wdtconfig3.rs b/esp32c3/src/rtc_cntl/wdtconfig3.rs index cff5dba6bc..764f259637 100644 --- a/esp32c3/src/rtc_cntl/wdtconfig3.rs +++ b/esp32c3/src/rtc_cntl/wdtconfig3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - the hold time of stage2"] #[inline(always)] - #[must_use] pub fn wdt_stg2_hold(&mut self) -> WDT_STG2_HOLD_W { WDT_STG2_HOLD_W::new(self, 0) } diff --git a/esp32c3/src/rtc_cntl/wdtconfig4.rs b/esp32c3/src/rtc_cntl/wdtconfig4.rs index 9356ccbf6f..328b8972f8 100644 --- a/esp32c3/src/rtc_cntl/wdtconfig4.rs +++ b/esp32c3/src/rtc_cntl/wdtconfig4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - the hold time of stage3"] #[inline(always)] - #[must_use] pub fn wdt_stg3_hold(&mut self) -> WDT_STG3_HOLD_W { WDT_STG3_HOLD_W::new(self, 0) } diff --git a/esp32c3/src/rtc_cntl/wdtfeed.rs b/esp32c3/src/rtc_cntl/wdtfeed.rs index 3da0f82a5b..926eda4e2d 100644 --- a/esp32c3/src/rtc_cntl/wdtfeed.rs +++ b/esp32c3/src/rtc_cntl/wdtfeed.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - sw feed rtc wdt"] #[inline(always)] - #[must_use] pub fn wdt_feed(&mut self) -> WDT_FEED_W { WDT_FEED_W::new(self, 31) } diff --git a/esp32c3/src/rtc_cntl/wdtwprotect.rs b/esp32c3/src/rtc_cntl/wdtwprotect.rs index 15a89639e9..eaa39b3da4 100644 --- a/esp32c3/src/rtc_cntl/wdtwprotect.rs +++ b/esp32c3/src/rtc_cntl/wdtwprotect.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - the key of rtc wdt"] #[inline(always)] - #[must_use] pub fn wdt_wkey(&mut self) -> WDT_WKEY_W { WDT_WKEY_W::new(self, 0) } diff --git a/esp32c3/src/rtc_cntl/xtal32k_clk_factor.rs b/esp32c3/src/rtc_cntl/xtal32k_clk_factor.rs index 6ba847544d..74abb21cbd 100644 --- a/esp32c3/src/rtc_cntl/xtal32k_clk_factor.rs +++ b/esp32c3/src/rtc_cntl/xtal32k_clk_factor.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - xtal 32k watch dog backup clock factor"] #[inline(always)] - #[must_use] pub fn xtal32k_clk_factor(&mut self) -> XTAL32K_CLK_FACTOR_W { XTAL32K_CLK_FACTOR_W::new(self, 0) } diff --git a/esp32c3/src/rtc_cntl/xtal32k_conf.rs b/esp32c3/src/rtc_cntl/xtal32k_conf.rs index a03db811f3..20609d5b01 100644 --- a/esp32c3/src/rtc_cntl/xtal32k_conf.rs +++ b/esp32c3/src/rtc_cntl/xtal32k_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - cycles to wait to return noral xtal 32k"] #[inline(always)] - #[must_use] pub fn xtal32k_return_wait(&mut self) -> XTAL32K_RETURN_WAIT_W { XTAL32K_RETURN_WAIT_W::new(self, 0) } #[doc = "Bits 4:19 - cycles to wait to repower on xtal 32k"] #[inline(always)] - #[must_use] pub fn xtal32k_restart_wait(&mut self) -> XTAL32K_RESTART_WAIT_W { XTAL32K_RESTART_WAIT_W::new(self, 4) } #[doc = "Bits 20:27 - If no clock detected for this amount of time"] #[inline(always)] - #[must_use] pub fn xtal32k_wdt_timeout(&mut self) -> XTAL32K_WDT_TIMEOUT_W { XTAL32K_WDT_TIMEOUT_W::new(self, 20) } #[doc = "Bits 28:31 - if restarted xtal32k period is smaller than this"] #[inline(always)] - #[must_use] pub fn xtal32k_stable_thres(&mut self) -> XTAL32K_STABLE_THRES_W { XTAL32K_STABLE_THRES_W::new(self, 28) } diff --git a/esp32c3/src/sensitive/apb_peripheral_access_0.rs b/esp32c3/src/sensitive/apb_peripheral_access_0.rs index be5b253a10..def9bc64cf 100644 --- a/esp32c3/src/sensitive/apb_peripheral_access_0.rs +++ b/esp32c3/src/sensitive/apb_peripheral_access_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - apb_peripheral_access_lock"] #[inline(always)] - #[must_use] pub fn apb_peripheral_access_lock( &mut self, ) -> APB_PERIPHERAL_ACCESS_LOCK_W { diff --git a/esp32c3/src/sensitive/apb_peripheral_access_1.rs b/esp32c3/src/sensitive/apb_peripheral_access_1.rs index 6b3abc1257..fd5fd207a0 100644 --- a/esp32c3/src/sensitive/apb_peripheral_access_1.rs +++ b/esp32c3/src/sensitive/apb_peripheral_access_1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - apb_peripheral_access_split_burst"] #[inline(always)] - #[must_use] pub fn apb_peripheral_access_split_burst( &mut self, ) -> APB_PERIPHERAL_ACCESS_SPLIT_BURST_W { diff --git a/esp32c3/src/sensitive/backup_bus_pms_constrain_0.rs b/esp32c3/src/sensitive/backup_bus_pms_constrain_0.rs index 42a2409f8c..be1d8d9431 100644 --- a/esp32c3/src/sensitive/backup_bus_pms_constrain_0.rs +++ b/esp32c3/src/sensitive/backup_bus_pms_constrain_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - backup_bus_pms_constrain_lock"] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_lock( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_LOCK_W { diff --git a/esp32c3/src/sensitive/backup_bus_pms_constrain_1.rs b/esp32c3/src/sensitive/backup_bus_pms_constrain_1.rs index da878f2924..f9c18bbe01 100644 --- a/esp32c3/src/sensitive/backup_bus_pms_constrain_1.rs +++ b/esp32c3/src/sensitive/backup_bus_pms_constrain_1.rs @@ -183,7 +183,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - backup_bus_pms_constrain_uart"] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_uart( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_UART_W { @@ -191,7 +190,6 @@ impl W { } #[doc = "Bits 2:3 - backup_bus_pms_constrain_g0spi_1"] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_g0spi_1( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_G0SPI_1_W { @@ -199,7 +197,6 @@ impl W { } #[doc = "Bits 4:5 - backup_bus_pms_constrain_g0spi_0"] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_g0spi_0( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_G0SPI_0_W { @@ -207,7 +204,6 @@ impl W { } #[doc = "Bits 6:7 - backup_bus_pms_constrain_gpio"] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_gpio( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_GPIO_W { @@ -215,7 +211,6 @@ impl W { } #[doc = "Bits 8:9 - backup_bus_pms_constrain_fe2"] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_fe2( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_FE2_W { @@ -223,7 +218,6 @@ impl W { } #[doc = "Bits 10:11 - backup_bus_pms_constrain_fe"] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_fe( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_FE_W { @@ -231,7 +225,6 @@ impl W { } #[doc = "Bits 12:13 - backup_bus_pms_constrain_timer"] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_timer( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_TIMER_W { @@ -239,7 +232,6 @@ impl W { } #[doc = "Bits 14:15 - backup_bus_pms_constrain_rtc"] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_rtc( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_RTC_W { @@ -247,7 +239,6 @@ impl W { } #[doc = "Bits 16:17 - backup_bus_pms_constrain_io_mux"] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_io_mux( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_IO_MUX_W { @@ -255,7 +246,6 @@ impl W { } #[doc = "Bits 18:19 - backup_bus_pms_constrain_wdg"] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_wdg( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_WDG_W { @@ -263,7 +253,6 @@ impl W { } #[doc = "Bits 24:25 - backup_bus_pms_constrain_misc"] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_misc( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_MISC_W { @@ -271,7 +260,6 @@ impl W { } #[doc = "Bits 26:27 - backup_bus_pms_constrain_i2c"] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_i2c( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_I2C_W { @@ -279,7 +267,6 @@ impl W { } #[doc = "Bits 30:31 - backup_bus_pms_constrain_uart1"] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_uart1( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_UART1_W { diff --git a/esp32c3/src/sensitive/backup_bus_pms_constrain_2.rs b/esp32c3/src/sensitive/backup_bus_pms_constrain_2.rs index f65ccc445b..0ebe424f48 100644 --- a/esp32c3/src/sensitive/backup_bus_pms_constrain_2.rs +++ b/esp32c3/src/sensitive/backup_bus_pms_constrain_2.rs @@ -131,7 +131,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - backup_bus_pms_constrain_bt"] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_bt( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_BT_W { @@ -139,7 +138,6 @@ impl W { } #[doc = "Bits 4:5 - backup_bus_pms_constrain_i2c_ext0"] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_i2c_ext0( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_I2C_EXT0_W { @@ -147,7 +145,6 @@ impl W { } #[doc = "Bits 6:7 - backup_bus_pms_constrain_uhci0"] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_uhci0( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_UHCI0_W { @@ -155,7 +152,6 @@ impl W { } #[doc = "Bits 10:11 - backup_bus_pms_constrain_rmt"] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_rmt( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_RMT_W { @@ -163,7 +159,6 @@ impl W { } #[doc = "Bits 16:17 - backup_bus_pms_constrain_ledc"] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_ledc( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_LEDC_W { @@ -171,7 +166,6 @@ impl W { } #[doc = "Bits 22:23 - backup_bus_pms_constrain_bb"] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_bb( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_BB_W { @@ -179,7 +173,6 @@ impl W { } #[doc = "Bits 26:27 - backup_bus_pms_constrain_timergroup"] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_timergroup( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_TIMERGROUP_W { @@ -187,7 +180,6 @@ impl W { } #[doc = "Bits 28:29 - backup_bus_pms_constrain_timergroup1"] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_timergroup1( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_TIMERGROUP1_W { @@ -195,7 +187,6 @@ impl W { } #[doc = "Bits 30:31 - backup_bus_pms_constrain_systimer"] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_systimer( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_SYSTIMER_W { diff --git a/esp32c3/src/sensitive/backup_bus_pms_constrain_3.rs b/esp32c3/src/sensitive/backup_bus_pms_constrain_3.rs index 007d94940d..220bfe68ab 100644 --- a/esp32c3/src/sensitive/backup_bus_pms_constrain_3.rs +++ b/esp32c3/src/sensitive/backup_bus_pms_constrain_3.rs @@ -105,7 +105,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - backup_bus_pms_constrain_spi_2"] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_spi_2( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_SPI_2_W { @@ -113,7 +112,6 @@ impl W { } #[doc = "Bits 4:5 - backup_bus_pms_constrain_apb_ctrl"] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_apb_ctrl( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_APB_CTRL_W { @@ -121,7 +119,6 @@ impl W { } #[doc = "Bits 10:11 - backup_bus_pms_constrain_can"] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_can( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_CAN_W { @@ -129,7 +126,6 @@ impl W { } #[doc = "Bits 14:15 - backup_bus_pms_constrain_i2s1"] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_i2s1( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_I2S1_W { @@ -137,7 +133,6 @@ impl W { } #[doc = "Bits 22:23 - backup_bus_pms_constrain_rwbt"] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_rwbt( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_RWBT_W { @@ -145,7 +140,6 @@ impl W { } #[doc = "Bits 26:27 - backup_bus_pms_constrain_wifimac"] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_wifimac( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_WIFIMAC_W { @@ -153,7 +147,6 @@ impl W { } #[doc = "Bits 28:29 - backup_bus_pms_constrain_pwr"] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_pwr( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_PWR_W { diff --git a/esp32c3/src/sensitive/backup_bus_pms_constrain_4.rs b/esp32c3/src/sensitive/backup_bus_pms_constrain_4.rs index 2fd66e7e13..c5eaf6fa10 100644 --- a/esp32c3/src/sensitive/backup_bus_pms_constrain_4.rs +++ b/esp32c3/src/sensitive/backup_bus_pms_constrain_4.rs @@ -92,7 +92,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 2:3 - backup_bus_pms_constrain_usb_wrap"] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_usb_wrap( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_USB_WRAP_W { @@ -100,7 +99,6 @@ impl W { } #[doc = "Bits 4:5 - backup_bus_pms_constrain_crypto_peri"] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_crypto_peri( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_CRYPTO_PERI_W { @@ -108,7 +106,6 @@ impl W { } #[doc = "Bits 6:7 - backup_bus_pms_constrain_crypto_dma"] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_crypto_dma( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_CRYPTO_DMA_W { @@ -116,7 +113,6 @@ impl W { } #[doc = "Bits 8:9 - backup_bus_pms_constrain_apb_adc"] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_apb_adc( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_APB_ADC_W { @@ -124,7 +120,6 @@ impl W { } #[doc = "Bits 12:13 - backup_bus_pms_constrain_bt_pwr"] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_bt_pwr( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_BT_PWR_W { @@ -132,7 +127,6 @@ impl W { } #[doc = "Bits 14:15 - backup_bus_pms_constrain_usb_device"] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_usb_device( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_USB_DEVICE_W { diff --git a/esp32c3/src/sensitive/backup_bus_pms_monitor_0.rs b/esp32c3/src/sensitive/backup_bus_pms_monitor_0.rs index c0c447511e..c370b1cb5f 100644 --- a/esp32c3/src/sensitive/backup_bus_pms_monitor_0.rs +++ b/esp32c3/src/sensitive/backup_bus_pms_monitor_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - backup_bus_pms_monitor_lock"] #[inline(always)] - #[must_use] pub fn backup_bus_pms_monitor_lock( &mut self, ) -> BACKUP_BUS_PMS_MONITOR_LOCK_W { diff --git a/esp32c3/src/sensitive/backup_bus_pms_monitor_1.rs b/esp32c3/src/sensitive/backup_bus_pms_monitor_1.rs index 2ed2a1bea5..5c40f4100f 100644 --- a/esp32c3/src/sensitive/backup_bus_pms_monitor_1.rs +++ b/esp32c3/src/sensitive/backup_bus_pms_monitor_1.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - backup_bus_pms_monitor_violate_clr"] #[inline(always)] - #[must_use] pub fn backup_bus_pms_monitor_violate_clr( &mut self, ) -> BACKUP_BUS_PMS_MONITOR_VIOLATE_CLR_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bit 1 - backup_bus_pms_monitor_violate_en"] #[inline(always)] - #[must_use] pub fn backup_bus_pms_monitor_violate_en( &mut self, ) -> BACKUP_BUS_PMS_MONITOR_VIOLATE_EN_W { diff --git a/esp32c3/src/sensitive/cache_mmu_access_0.rs b/esp32c3/src/sensitive/cache_mmu_access_0.rs index ac8c06d35d..24c2e24822 100644 --- a/esp32c3/src/sensitive/cache_mmu_access_0.rs +++ b/esp32c3/src/sensitive/cache_mmu_access_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - cache_mmu_access_lock"] #[inline(always)] - #[must_use] pub fn cache_mmu_access_lock(&mut self) -> CACHE_MMU_ACCESS_LOCK_W { CACHE_MMU_ACCESS_LOCK_W::new(self, 0) } diff --git a/esp32c3/src/sensitive/cache_mmu_access_1.rs b/esp32c3/src/sensitive/cache_mmu_access_1.rs index da2b6ae719..169a1d5d21 100644 --- a/esp32c3/src/sensitive/cache_mmu_access_1.rs +++ b/esp32c3/src/sensitive/cache_mmu_access_1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - pro_mmu_rd_acs"] #[inline(always)] - #[must_use] pub fn pro_mmu_rd_acs(&mut self) -> PRO_MMU_RD_ACS_W { PRO_MMU_RD_ACS_W::new(self, 0) } #[doc = "Bit 1 - pro_mmu_wr_acs"] #[inline(always)] - #[must_use] pub fn pro_mmu_wr_acs(&mut self) -> PRO_MMU_WR_ACS_W { PRO_MMU_WR_ACS_W::new(self, 1) } diff --git a/esp32c3/src/sensitive/cache_tag_access_0.rs b/esp32c3/src/sensitive/cache_tag_access_0.rs index 92fe9093db..578251cdf3 100644 --- a/esp32c3/src/sensitive/cache_tag_access_0.rs +++ b/esp32c3/src/sensitive/cache_tag_access_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - cache_tag_access_lock"] #[inline(always)] - #[must_use] pub fn cache_tag_access_lock(&mut self) -> CACHE_TAG_ACCESS_LOCK_W { CACHE_TAG_ACCESS_LOCK_W::new(self, 0) } diff --git a/esp32c3/src/sensitive/cache_tag_access_1.rs b/esp32c3/src/sensitive/cache_tag_access_1.rs index 21a81a2b46..72394fdb99 100644 --- a/esp32c3/src/sensitive/cache_tag_access_1.rs +++ b/esp32c3/src/sensitive/cache_tag_access_1.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - pro_i_tag_rd_acs"] #[inline(always)] - #[must_use] pub fn pro_i_tag_rd_acs(&mut self) -> PRO_I_TAG_RD_ACS_W { PRO_I_TAG_RD_ACS_W::new(self, 0) } #[doc = "Bit 1 - pro_i_tag_wr_acs"] #[inline(always)] - #[must_use] pub fn pro_i_tag_wr_acs(&mut self) -> PRO_I_TAG_WR_ACS_W { PRO_I_TAG_WR_ACS_W::new(self, 1) } #[doc = "Bit 2 - pro_d_tag_rd_acs"] #[inline(always)] - #[must_use] pub fn pro_d_tag_rd_acs(&mut self) -> PRO_D_TAG_RD_ACS_W { PRO_D_TAG_RD_ACS_W::new(self, 2) } #[doc = "Bit 3 - pro_d_tag_wr_acs"] #[inline(always)] - #[must_use] pub fn pro_d_tag_wr_acs(&mut self) -> PRO_D_TAG_WR_ACS_W { PRO_D_TAG_WR_ACS_W::new(self, 3) } diff --git a/esp32c3/src/sensitive/clock_gate.rs b/esp32c3/src/sensitive/clock_gate.rs index a56ca080ec..c003617eaa 100644 --- a/esp32c3/src/sensitive/clock_gate.rs +++ b/esp32c3/src/sensitive/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - clk_en"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32c3/src/sensitive/core_0_dram0_pms_monitor_0.rs b/esp32c3/src/sensitive/core_0_dram0_pms_monitor_0.rs index aec73ff8b3..597ef48f19 100644 --- a/esp32c3/src/sensitive/core_0_dram0_pms_monitor_0.rs +++ b/esp32c3/src/sensitive/core_0_dram0_pms_monitor_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - core_0_dram0_pms_monitor_lock"] #[inline(always)] - #[must_use] pub fn core_0_dram0_pms_monitor_lock( &mut self, ) -> CORE_0_DRAM0_PMS_MONITOR_LOCK_W { diff --git a/esp32c3/src/sensitive/core_0_dram0_pms_monitor_1.rs b/esp32c3/src/sensitive/core_0_dram0_pms_monitor_1.rs index 1e257dfc35..f4f5076cc1 100644 --- a/esp32c3/src/sensitive/core_0_dram0_pms_monitor_1.rs +++ b/esp32c3/src/sensitive/core_0_dram0_pms_monitor_1.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - core_0_dram0_pms_monitor_violate_clr"] #[inline(always)] - #[must_use] pub fn core_0_dram0_pms_monitor_violate_clr( &mut self, ) -> CORE_0_DRAM0_PMS_MONITOR_VIOLATE_CLR_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bit 1 - core_0_dram0_pms_monitor_violate_en"] #[inline(always)] - #[must_use] pub fn core_0_dram0_pms_monitor_violate_en( &mut self, ) -> CORE_0_DRAM0_PMS_MONITOR_VIOLATE_EN_W { diff --git a/esp32c3/src/sensitive/core_0_iram0_pms_monitor_0.rs b/esp32c3/src/sensitive/core_0_iram0_pms_monitor_0.rs index 55e2c24b7e..6d6ba03fbd 100644 --- a/esp32c3/src/sensitive/core_0_iram0_pms_monitor_0.rs +++ b/esp32c3/src/sensitive/core_0_iram0_pms_monitor_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - core_0_iram0_pms_monitor_lock"] #[inline(always)] - #[must_use] pub fn core_0_iram0_pms_monitor_lock( &mut self, ) -> CORE_0_IRAM0_PMS_MONITOR_LOCK_W { diff --git a/esp32c3/src/sensitive/core_0_iram0_pms_monitor_1.rs b/esp32c3/src/sensitive/core_0_iram0_pms_monitor_1.rs index 4b9398a455..7cdba72855 100644 --- a/esp32c3/src/sensitive/core_0_iram0_pms_monitor_1.rs +++ b/esp32c3/src/sensitive/core_0_iram0_pms_monitor_1.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - core_0_iram0_pms_monitor_violate_clr"] #[inline(always)] - #[must_use] pub fn core_0_iram0_pms_monitor_violate_clr( &mut self, ) -> CORE_0_IRAM0_PMS_MONITOR_VIOLATE_CLR_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bit 1 - core_0_iram0_pms_monitor_violate_en"] #[inline(always)] - #[must_use] pub fn core_0_iram0_pms_monitor_violate_en( &mut self, ) -> CORE_0_IRAM0_PMS_MONITOR_VIOLATE_EN_W { diff --git a/esp32c3/src/sensitive/core_0_pif_pms_constrain_0.rs b/esp32c3/src/sensitive/core_0_pif_pms_constrain_0.rs index dfe744f195..68206c6ace 100644 --- a/esp32c3/src/sensitive/core_0_pif_pms_constrain_0.rs +++ b/esp32c3/src/sensitive/core_0_pif_pms_constrain_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - core_0_pif_pms_constrain_lock"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_lock( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_LOCK_W { diff --git a/esp32c3/src/sensitive/core_0_pif_pms_constrain_1.rs b/esp32c3/src/sensitive/core_0_pif_pms_constrain_1.rs index 973ade0f79..689ebed8b6 100644 --- a/esp32c3/src/sensitive/core_0_pif_pms_constrain_1.rs +++ b/esp32c3/src/sensitive/core_0_pif_pms_constrain_1.rs @@ -193,7 +193,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - core_0_pif_pms_constrain_world_0_uart"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_uart( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_UART_W { @@ -201,7 +200,6 @@ impl W { } #[doc = "Bits 2:3 - core_0_pif_pms_constrain_world_0_g0spi_1"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_g0spi_1( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_G0SPI_1_W { @@ -209,7 +207,6 @@ impl W { } #[doc = "Bits 4:5 - core_0_pif_pms_constrain_world_0_g0spi_0"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_g0spi_0( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_G0SPI_0_W { @@ -217,7 +214,6 @@ impl W { } #[doc = "Bits 6:7 - core_0_pif_pms_constrain_world_0_gpio"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_gpio( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_GPIO_W { @@ -225,7 +221,6 @@ impl W { } #[doc = "Bits 8:9 - core_0_pif_pms_constrain_world_0_fe2"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_fe2( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_FE2_W { @@ -233,7 +228,6 @@ impl W { } #[doc = "Bits 10:11 - core_0_pif_pms_constrain_world_0_fe"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_fe( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_FE_W { @@ -241,7 +235,6 @@ impl W { } #[doc = "Bits 12:13 - core_0_pif_pms_constrain_world_0_timer"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_timer( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_TIMER_W { @@ -249,7 +242,6 @@ impl W { } #[doc = "Bits 14:15 - core_0_pif_pms_constrain_world_0_rtc"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_rtc( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_RTC_W { @@ -257,7 +249,6 @@ impl W { } #[doc = "Bits 16:17 - core_0_pif_pms_constrain_world_0_io_mux"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_io_mux( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_IO_MUX_W { @@ -265,7 +256,6 @@ impl W { } #[doc = "Bits 18:19 - core_0_pif_pms_constrain_world_0_wdg"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_wdg( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_WDG_W { @@ -273,7 +263,6 @@ impl W { } #[doc = "Bits 24:25 - core_0_pif_pms_constrain_world_0_misc"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_misc( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_MISC_W { @@ -281,7 +270,6 @@ impl W { } #[doc = "Bits 26:27 - core_0_pif_pms_constrain_world_0_i2c"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_i2c( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_I2C_W { @@ -289,7 +277,6 @@ impl W { } #[doc = "Bits 30:31 - core_0_pif_pms_constrain_world_0_uart1"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_uart1( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_UART1_W { diff --git a/esp32c3/src/sensitive/core_0_pif_pms_constrain_10.rs b/esp32c3/src/sensitive/core_0_pif_pms_constrain_10.rs index f3979b36a5..938d0a020e 100644 --- a/esp32c3/src/sensitive/core_0_pif_pms_constrain_10.rs +++ b/esp32c3/src/sensitive/core_0_pif_pms_constrain_10.rs @@ -74,7 +74,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - core_0_pif_pms_constrain_rtcfast_world_0_l"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_rtcfast_world_0_l( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_RTCFAST_WORLD_0_L_W { @@ -82,7 +81,6 @@ impl W { } #[doc = "Bits 3:5 - core_0_pif_pms_constrain_rtcfast_world_0_h"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_rtcfast_world_0_h( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_RTCFAST_WORLD_0_H_W { @@ -90,7 +88,6 @@ impl W { } #[doc = "Bits 6:8 - core_0_pif_pms_constrain_rtcfast_world_1_l"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_rtcfast_world_1_l( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_RTCFAST_WORLD_1_L_W { @@ -98,7 +95,6 @@ impl W { } #[doc = "Bits 9:11 - core_0_pif_pms_constrain_rtcfast_world_1_h"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_rtcfast_world_1_h( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_RTCFAST_WORLD_1_H_W { diff --git a/esp32c3/src/sensitive/core_0_pif_pms_constrain_2.rs b/esp32c3/src/sensitive/core_0_pif_pms_constrain_2.rs index 56e414e15f..20ba6fe1d4 100644 --- a/esp32c3/src/sensitive/core_0_pif_pms_constrain_2.rs +++ b/esp32c3/src/sensitive/core_0_pif_pms_constrain_2.rs @@ -141,7 +141,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - core_0_pif_pms_constrain_world_0_bt"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_bt( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_BT_W { @@ -149,7 +148,6 @@ impl W { } #[doc = "Bits 4:5 - core_0_pif_pms_constrain_world_0_i2c_ext0"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_i2c_ext0( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_I2C_EXT0_W { @@ -157,7 +155,6 @@ impl W { } #[doc = "Bits 6:7 - core_0_pif_pms_constrain_world_0_uhci0"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_uhci0( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_UHCI0_W { @@ -165,7 +162,6 @@ impl W { } #[doc = "Bits 10:11 - core_0_pif_pms_constrain_world_0_rmt"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_rmt( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_RMT_W { @@ -173,7 +169,6 @@ impl W { } #[doc = "Bits 16:17 - core_0_pif_pms_constrain_world_0_ledc"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_ledc( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_LEDC_W { @@ -181,7 +176,6 @@ impl W { } #[doc = "Bits 22:23 - core_0_pif_pms_constrain_world_0_bb"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_bb( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_BB_W { @@ -189,7 +183,6 @@ impl W { } #[doc = "Bits 26:27 - core_0_pif_pms_constrain_world_0_timergroup"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_timergroup( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_TIMERGROUP_W { @@ -197,7 +190,6 @@ impl W { } #[doc = "Bits 28:29 - core_0_pif_pms_constrain_world_0_timergroup1"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_timergroup1( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_TIMERGROUP1_W { @@ -205,7 +197,6 @@ impl W { } #[doc = "Bits 30:31 - core_0_pif_pms_constrain_world_0_systimer"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_systimer( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_SYSTIMER_W { diff --git a/esp32c3/src/sensitive/core_0_pif_pms_constrain_3.rs b/esp32c3/src/sensitive/core_0_pif_pms_constrain_3.rs index 3093bab361..86bcf78758 100644 --- a/esp32c3/src/sensitive/core_0_pif_pms_constrain_3.rs +++ b/esp32c3/src/sensitive/core_0_pif_pms_constrain_3.rs @@ -111,7 +111,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - core_0_pif_pms_constrain_world_0_spi_2"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_spi_2( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_SPI_2_W { @@ -119,7 +118,6 @@ impl W { } #[doc = "Bits 4:5 - core_0_pif_pms_constrain_world_0_apb_ctrl"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_apb_ctrl( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_APB_CTRL_W { @@ -127,7 +125,6 @@ impl W { } #[doc = "Bits 10:11 - core_0_pif_pms_constrain_world_0_can"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_can( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_CAN_W { @@ -135,7 +132,6 @@ impl W { } #[doc = "Bits 14:15 - core_0_pif_pms_constrain_world_0_i2s1"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_i2s1( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_I2S1_W { @@ -143,7 +139,6 @@ impl W { } #[doc = "Bits 22:23 - core_0_pif_pms_constrain_world_0_rwbt"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_rwbt( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_RWBT_W { @@ -151,7 +146,6 @@ impl W { } #[doc = "Bits 26:27 - core_0_pif_pms_constrain_world_0_wifimac"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_wifimac( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_WIFIMAC_W { @@ -159,7 +153,6 @@ impl W { } #[doc = "Bits 28:29 - core_0_pif_pms_constrain_world_0_pwr"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_pwr( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_PWR_W { diff --git a/esp32c3/src/sensitive/core_0_pif_pms_constrain_4.rs b/esp32c3/src/sensitive/core_0_pif_pms_constrain_4.rs index be3901cba9..f6d67befa9 100644 --- a/esp32c3/src/sensitive/core_0_pif_pms_constrain_4.rs +++ b/esp32c3/src/sensitive/core_0_pif_pms_constrain_4.rs @@ -221,7 +221,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 2:3 - core_0_pif_pms_constrain_world_0_usb_wrap"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_usb_wrap( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_USB_WRAP_W { @@ -229,7 +228,6 @@ impl W { } #[doc = "Bits 4:5 - core_0_pif_pms_constrain_world_0_crypto_peri"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_crypto_peri( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_CRYPTO_PERI_W { @@ -237,7 +235,6 @@ impl W { } #[doc = "Bits 6:7 - core_0_pif_pms_constrain_world_0_crypto_dma"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_crypto_dma( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_CRYPTO_DMA_W { @@ -245,7 +242,6 @@ impl W { } #[doc = "Bits 8:9 - core_0_pif_pms_constrain_world_0_apb_adc"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_apb_adc( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_APB_ADC_W { @@ -253,7 +249,6 @@ impl W { } #[doc = "Bits 12:13 - core_0_pif_pms_constrain_world_0_bt_pwr"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_bt_pwr( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_BT_PWR_W { @@ -261,7 +256,6 @@ impl W { } #[doc = "Bits 14:15 - core_0_pif_pms_constrain_world_0_usb_device"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_usb_device( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_USB_DEVICE_W { @@ -269,7 +263,6 @@ impl W { } #[doc = "Bits 16:17 - core_0_pif_pms_constrain_world_0_system"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_system( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_SYSTEM_W { @@ -277,7 +270,6 @@ impl W { } #[doc = "Bits 18:19 - core_0_pif_pms_constrain_world_0_sensitive"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_sensitive( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_SENSITIVE_W { @@ -285,7 +277,6 @@ impl W { } #[doc = "Bits 20:21 - core_0_pif_pms_constrain_world_0_interrupt"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_interrupt( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_INTERRUPT_W { @@ -293,7 +284,6 @@ impl W { } #[doc = "Bits 22:23 - core_0_pif_pms_constrain_world_0_dma_copy"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_dma_copy( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_DMA_COPY_W { @@ -301,7 +291,6 @@ impl W { } #[doc = "Bits 24:25 - core_0_pif_pms_constrain_world_0_cache_config"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_cache_config( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_CACHE_CONFIG_W { @@ -309,7 +298,6 @@ impl W { } #[doc = "Bits 26:27 - core_0_pif_pms_constrain_world_0_ad"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_ad( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_AD_W { @@ -317,7 +305,6 @@ impl W { } #[doc = "Bits 28:29 - core_0_pif_pms_constrain_world_0_dio"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_dio( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_DIO_W { @@ -325,7 +312,6 @@ impl W { } #[doc = "Bits 30:31 - core_0_pif_pms_constrain_world_0_world_controller"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_world_controller( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_WORLD_CONTROLLER_W { diff --git a/esp32c3/src/sensitive/core_0_pif_pms_constrain_5.rs b/esp32c3/src/sensitive/core_0_pif_pms_constrain_5.rs index aa8606a5fc..1c55a567b8 100644 --- a/esp32c3/src/sensitive/core_0_pif_pms_constrain_5.rs +++ b/esp32c3/src/sensitive/core_0_pif_pms_constrain_5.rs @@ -193,7 +193,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - core_0_pif_pms_constrain_world_1_uart"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_uart( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_UART_W { @@ -201,7 +200,6 @@ impl W { } #[doc = "Bits 2:3 - core_0_pif_pms_constrain_world_1_g0spi_1"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_g0spi_1( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_G0SPI_1_W { @@ -209,7 +207,6 @@ impl W { } #[doc = "Bits 4:5 - core_0_pif_pms_constrain_world_1_g0spi_0"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_g0spi_0( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_G0SPI_0_W { @@ -217,7 +214,6 @@ impl W { } #[doc = "Bits 6:7 - core_0_pif_pms_constrain_world_1_gpio"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_gpio( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_GPIO_W { @@ -225,7 +221,6 @@ impl W { } #[doc = "Bits 8:9 - core_0_pif_pms_constrain_world_1_fe2"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_fe2( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_FE2_W { @@ -233,7 +228,6 @@ impl W { } #[doc = "Bits 10:11 - core_0_pif_pms_constrain_world_1_fe"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_fe( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_FE_W { @@ -241,7 +235,6 @@ impl W { } #[doc = "Bits 12:13 - core_0_pif_pms_constrain_world_1_timer"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_timer( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_TIMER_W { @@ -249,7 +242,6 @@ impl W { } #[doc = "Bits 14:15 - core_0_pif_pms_constrain_world_1_rtc"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_rtc( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_RTC_W { @@ -257,7 +249,6 @@ impl W { } #[doc = "Bits 16:17 - core_0_pif_pms_constrain_world_1_io_mux"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_io_mux( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_IO_MUX_W { @@ -265,7 +256,6 @@ impl W { } #[doc = "Bits 18:19 - core_0_pif_pms_constrain_world_1_wdg"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_wdg( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_WDG_W { @@ -273,7 +263,6 @@ impl W { } #[doc = "Bits 24:25 - core_0_pif_pms_constrain_world_1_misc"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_misc( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_MISC_W { @@ -281,7 +270,6 @@ impl W { } #[doc = "Bits 26:27 - core_0_pif_pms_constrain_world_1_i2c"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_i2c( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_I2C_W { @@ -289,7 +277,6 @@ impl W { } #[doc = "Bits 30:31 - core_0_pif_pms_constrain_world_1_uart1"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_uart1( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_UART1_W { diff --git a/esp32c3/src/sensitive/core_0_pif_pms_constrain_6.rs b/esp32c3/src/sensitive/core_0_pif_pms_constrain_6.rs index 78d5b57237..036575dd16 100644 --- a/esp32c3/src/sensitive/core_0_pif_pms_constrain_6.rs +++ b/esp32c3/src/sensitive/core_0_pif_pms_constrain_6.rs @@ -141,7 +141,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - core_0_pif_pms_constrain_world_1_bt"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_bt( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_BT_W { @@ -149,7 +148,6 @@ impl W { } #[doc = "Bits 4:5 - core_0_pif_pms_constrain_world_1_i2c_ext0"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_i2c_ext0( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_I2C_EXT0_W { @@ -157,7 +155,6 @@ impl W { } #[doc = "Bits 6:7 - core_0_pif_pms_constrain_world_1_uhci0"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_uhci0( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_UHCI0_W { @@ -165,7 +162,6 @@ impl W { } #[doc = "Bits 10:11 - core_0_pif_pms_constrain_world_1_rmt"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_rmt( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_RMT_W { @@ -173,7 +169,6 @@ impl W { } #[doc = "Bits 16:17 - core_0_pif_pms_constrain_world_1_ledc"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_ledc( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_LEDC_W { @@ -181,7 +176,6 @@ impl W { } #[doc = "Bits 22:23 - core_0_pif_pms_constrain_world_1_bb"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_bb( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_BB_W { @@ -189,7 +183,6 @@ impl W { } #[doc = "Bits 26:27 - core_0_pif_pms_constrain_world_1_timergroup"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_timergroup( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_TIMERGROUP_W { @@ -197,7 +190,6 @@ impl W { } #[doc = "Bits 28:29 - core_0_pif_pms_constrain_world_1_timergroup1"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_timergroup1( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_TIMERGROUP1_W { @@ -205,7 +197,6 @@ impl W { } #[doc = "Bits 30:31 - core_0_pif_pms_constrain_world_1_systimer"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_systimer( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_SYSTIMER_W { diff --git a/esp32c3/src/sensitive/core_0_pif_pms_constrain_7.rs b/esp32c3/src/sensitive/core_0_pif_pms_constrain_7.rs index 2d0626a0ee..79a34880fa 100644 --- a/esp32c3/src/sensitive/core_0_pif_pms_constrain_7.rs +++ b/esp32c3/src/sensitive/core_0_pif_pms_constrain_7.rs @@ -111,7 +111,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - core_0_pif_pms_constrain_world_1_spi_2"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_spi_2( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_SPI_2_W { @@ -119,7 +118,6 @@ impl W { } #[doc = "Bits 4:5 - core_0_pif_pms_constrain_world_1_apb_ctrl"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_apb_ctrl( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_APB_CTRL_W { @@ -127,7 +125,6 @@ impl W { } #[doc = "Bits 10:11 - core_0_pif_pms_constrain_world_1_can"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_can( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_CAN_W { @@ -135,7 +132,6 @@ impl W { } #[doc = "Bits 14:15 - core_0_pif_pms_constrain_world_1_i2s1"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_i2s1( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_I2S1_W { @@ -143,7 +139,6 @@ impl W { } #[doc = "Bits 22:23 - core_0_pif_pms_constrain_world_1_rwbt"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_rwbt( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_RWBT_W { @@ -151,7 +146,6 @@ impl W { } #[doc = "Bits 26:27 - core_0_pif_pms_constrain_world_1_wifimac"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_wifimac( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_WIFIMAC_W { @@ -159,7 +153,6 @@ impl W { } #[doc = "Bits 28:29 - core_0_pif_pms_constrain_world_1_pwr"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_pwr( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_PWR_W { diff --git a/esp32c3/src/sensitive/core_0_pif_pms_constrain_8.rs b/esp32c3/src/sensitive/core_0_pif_pms_constrain_8.rs index ffe2669b27..369ccd5106 100644 --- a/esp32c3/src/sensitive/core_0_pif_pms_constrain_8.rs +++ b/esp32c3/src/sensitive/core_0_pif_pms_constrain_8.rs @@ -221,7 +221,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 2:3 - core_0_pif_pms_constrain_world_1_usb_wrap"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_usb_wrap( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_USB_WRAP_W { @@ -229,7 +228,6 @@ impl W { } #[doc = "Bits 4:5 - core_0_pif_pms_constrain_world_1_crypto_peri"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_crypto_peri( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_CRYPTO_PERI_W { @@ -237,7 +235,6 @@ impl W { } #[doc = "Bits 6:7 - core_0_pif_pms_constrain_world_1_crypto_dma"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_crypto_dma( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_CRYPTO_DMA_W { @@ -245,7 +242,6 @@ impl W { } #[doc = "Bits 8:9 - core_0_pif_pms_constrain_world_1_apb_adc"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_apb_adc( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_APB_ADC_W { @@ -253,7 +249,6 @@ impl W { } #[doc = "Bits 12:13 - core_0_pif_pms_constrain_world_1_bt_pwr"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_bt_pwr( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_BT_PWR_W { @@ -261,7 +256,6 @@ impl W { } #[doc = "Bits 14:15 - core_0_pif_pms_constrain_world_1_usb_device"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_usb_device( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_USB_DEVICE_W { @@ -269,7 +263,6 @@ impl W { } #[doc = "Bits 16:17 - core_0_pif_pms_constrain_world_1_system"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_system( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_SYSTEM_W { @@ -277,7 +270,6 @@ impl W { } #[doc = "Bits 18:19 - core_0_pif_pms_constrain_world_1_sensitive"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_sensitive( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_SENSITIVE_W { @@ -285,7 +277,6 @@ impl W { } #[doc = "Bits 20:21 - core_0_pif_pms_constrain_world_1_interrupt"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_interrupt( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_INTERRUPT_W { @@ -293,7 +284,6 @@ impl W { } #[doc = "Bits 22:23 - core_0_pif_pms_constrain_world_1_dma_copy"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_dma_copy( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_DMA_COPY_W { @@ -301,7 +291,6 @@ impl W { } #[doc = "Bits 24:25 - core_0_pif_pms_constrain_world_1_cache_config"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_cache_config( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_CACHE_CONFIG_W { @@ -309,7 +298,6 @@ impl W { } #[doc = "Bits 26:27 - core_0_pif_pms_constrain_world_1_ad"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_ad( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_AD_W { @@ -317,7 +305,6 @@ impl W { } #[doc = "Bits 28:29 - core_0_pif_pms_constrain_world_1_dio"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_dio( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_DIO_W { @@ -325,7 +312,6 @@ impl W { } #[doc = "Bits 30:31 - core_0_pif_pms_constrain_world_1_world_controller"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_world_controller( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_WORLD_CONTROLLER_W { diff --git a/esp32c3/src/sensitive/core_0_pif_pms_constrain_9.rs b/esp32c3/src/sensitive/core_0_pif_pms_constrain_9.rs index d8b63b480b..e90734f2e9 100644 --- a/esp32c3/src/sensitive/core_0_pif_pms_constrain_9.rs +++ b/esp32c3/src/sensitive/core_0_pif_pms_constrain_9.rs @@ -48,7 +48,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - core_0_pif_pms_constrain_rtcfast_spltaddr_world_0"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_rtcfast_spltaddr_world_0( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_RTCFAST_SPLTADDR_WORLD_0_W { @@ -56,7 +55,6 @@ impl W { } #[doc = "Bits 11:21 - core_0_pif_pms_constrain_rtcfast_spltaddr_world_1"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_rtcfast_spltaddr_world_1( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_RTCFAST_SPLTADDR_WORLD_1_W { diff --git a/esp32c3/src/sensitive/core_0_pif_pms_monitor_0.rs b/esp32c3/src/sensitive/core_0_pif_pms_monitor_0.rs index aab465b22e..8e66dd0631 100644 --- a/esp32c3/src/sensitive/core_0_pif_pms_monitor_0.rs +++ b/esp32c3/src/sensitive/core_0_pif_pms_monitor_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - core_0_pif_pms_monitor_lock"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_monitor_lock( &mut self, ) -> CORE_0_PIF_PMS_MONITOR_LOCK_W { diff --git a/esp32c3/src/sensitive/core_0_pif_pms_monitor_1.rs b/esp32c3/src/sensitive/core_0_pif_pms_monitor_1.rs index 97477625b2..b9f5501920 100644 --- a/esp32c3/src/sensitive/core_0_pif_pms_monitor_1.rs +++ b/esp32c3/src/sensitive/core_0_pif_pms_monitor_1.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - core_0_pif_pms_monitor_violate_clr"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_monitor_violate_clr( &mut self, ) -> CORE_0_PIF_PMS_MONITOR_VIOLATE_CLR_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bit 1 - core_0_pif_pms_monitor_violate_en"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_monitor_violate_en( &mut self, ) -> CORE_0_PIF_PMS_MONITOR_VIOLATE_EN_W { diff --git a/esp32c3/src/sensitive/core_0_pif_pms_monitor_4.rs b/esp32c3/src/sensitive/core_0_pif_pms_monitor_4.rs index 88c2d8ee97..e09cc3180a 100644 --- a/esp32c3/src/sensitive/core_0_pif_pms_monitor_4.rs +++ b/esp32c3/src/sensitive/core_0_pif_pms_monitor_4.rs @@ -44,7 +44,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - core_0_pif_pms_monitor_nonword_violate_clr"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_monitor_nonword_violate_clr( &mut self, ) -> CORE_0_PIF_PMS_MONITOR_NONWORD_VIOLATE_CLR_W { @@ -52,7 +51,6 @@ impl W { } #[doc = "Bit 1 - core_0_pif_pms_monitor_nonword_violate_en"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_monitor_nonword_violate_en( &mut self, ) -> CORE_0_PIF_PMS_MONITOR_NONWORD_VIOLATE_EN_W { diff --git a/esp32c3/src/sensitive/core_x_dram0_pms_constrain_0.rs b/esp32c3/src/sensitive/core_x_dram0_pms_constrain_0.rs index 886bf42c55..34a4f8667c 100644 --- a/esp32c3/src/sensitive/core_x_dram0_pms_constrain_0.rs +++ b/esp32c3/src/sensitive/core_x_dram0_pms_constrain_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - core_x_dram0_pms_constrain_lock"] #[inline(always)] - #[must_use] pub fn core_x_dram0_pms_constrain_lock( &mut self, ) -> CORE_X_DRAM0_PMS_CONSTRAIN_LOCK_W { diff --git a/esp32c3/src/sensitive/core_x_dram0_pms_constrain_1.rs b/esp32c3/src/sensitive/core_x_dram0_pms_constrain_1.rs index 6ff4242c0d..5b5c20d067 100644 --- a/esp32c3/src/sensitive/core_x_dram0_pms_constrain_1.rs +++ b/esp32c3/src/sensitive/core_x_dram0_pms_constrain_1.rs @@ -164,7 +164,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - core_x_dram0_pms_constrain_sram_world_0_pms_0"] #[inline(always)] - #[must_use] pub fn core_x_dram0_pms_constrain_sram_world_0_pms_0( &mut self, ) -> CORE_X_DRAM0_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_0_W { @@ -172,7 +171,6 @@ impl W { } #[doc = "Bits 2:3 - core_x_dram0_pms_constrain_sram_world_0_pms_1"] #[inline(always)] - #[must_use] pub fn core_x_dram0_pms_constrain_sram_world_0_pms_1( &mut self, ) -> CORE_X_DRAM0_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_1_W { @@ -180,7 +178,6 @@ impl W { } #[doc = "Bits 4:5 - core_x_dram0_pms_constrain_sram_world_0_pms_2"] #[inline(always)] - #[must_use] pub fn core_x_dram0_pms_constrain_sram_world_0_pms_2( &mut self, ) -> CORE_X_DRAM0_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_2_W { @@ -188,7 +185,6 @@ impl W { } #[doc = "Bits 6:7 - core_x_dram0_pms_constrain_sram_world_0_pms_3"] #[inline(always)] - #[must_use] pub fn core_x_dram0_pms_constrain_sram_world_0_pms_3( &mut self, ) -> CORE_X_DRAM0_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_3_W { @@ -196,7 +192,6 @@ impl W { } #[doc = "Bits 12:13 - core_x_dram0_pms_constrain_sram_world_1_pms_0"] #[inline(always)] - #[must_use] pub fn core_x_dram0_pms_constrain_sram_world_1_pms_0( &mut self, ) -> CORE_X_DRAM0_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_0_W { @@ -204,7 +199,6 @@ impl W { } #[doc = "Bits 14:15 - core_x_dram0_pms_constrain_sram_world_1_pms_1"] #[inline(always)] - #[must_use] pub fn core_x_dram0_pms_constrain_sram_world_1_pms_1( &mut self, ) -> CORE_X_DRAM0_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_1_W { @@ -212,7 +206,6 @@ impl W { } #[doc = "Bits 16:17 - core_x_dram0_pms_constrain_sram_world_1_pms_2"] #[inline(always)] - #[must_use] pub fn core_x_dram0_pms_constrain_sram_world_1_pms_2( &mut self, ) -> CORE_X_DRAM0_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_2_W { @@ -220,7 +213,6 @@ impl W { } #[doc = "Bits 18:19 - core_x_dram0_pms_constrain_sram_world_1_pms_3"] #[inline(always)] - #[must_use] pub fn core_x_dram0_pms_constrain_sram_world_1_pms_3( &mut self, ) -> CORE_X_DRAM0_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_3_W { @@ -228,7 +220,6 @@ impl W { } #[doc = "Bits 24:25 - core_x_dram0_pms_constrain_rom_world_0_pms"] #[inline(always)] - #[must_use] pub fn core_x_dram0_pms_constrain_rom_world_0_pms( &mut self, ) -> CORE_X_DRAM0_PMS_CONSTRAIN_ROM_WORLD_0_PMS_W { @@ -236,7 +227,6 @@ impl W { } #[doc = "Bits 26:27 - core_x_dram0_pms_constrain_rom_world_1_pms"] #[inline(always)] - #[must_use] pub fn core_x_dram0_pms_constrain_rom_world_1_pms( &mut self, ) -> CORE_X_DRAM0_PMS_CONSTRAIN_ROM_WORLD_1_PMS_W { diff --git a/esp32c3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_0.rs b/esp32c3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_0.rs index dd11a28258..ba37c86108 100644 --- a/esp32c3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_0.rs +++ b/esp32c3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_0.rs @@ -29,7 +29,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - core_x_iram0_dram0_dma_split_line_constrain_lock"] #[inline(always)] - #[must_use] pub fn core_x_iram0_dram0_dma_split_line_constrain_lock( &mut self, ) -> CORE_X_IRAM0_DRAM0_DMA_SPLIT_LINE_CONSTRAIN_LOCK_W< diff --git a/esp32c3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_1.rs b/esp32c3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_1.rs index a0cc01d3ea..d8480babfe 100644 --- a/esp32c3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_1.rs +++ b/esp32c3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_1.rs @@ -72,7 +72,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - core_x_iram0_dram0_dma_sram_category_0"] #[inline(always)] - #[must_use] pub fn core_x_iram0_dram0_dma_sram_category_0( &mut self, ) -> CORE_X_IRAM0_DRAM0_DMA_SRAM_CATEGORY_0_W @@ -81,7 +80,6 @@ impl W { } #[doc = "Bits 2:3 - core_x_iram0_dram0_dma_sram_category_1"] #[inline(always)] - #[must_use] pub fn core_x_iram0_dram0_dma_sram_category_1( &mut self, ) -> CORE_X_IRAM0_DRAM0_DMA_SRAM_CATEGORY_1_W @@ -90,7 +88,6 @@ impl W { } #[doc = "Bits 4:5 - core_x_iram0_dram0_dma_sram_category_2"] #[inline(always)] - #[must_use] pub fn core_x_iram0_dram0_dma_sram_category_2( &mut self, ) -> CORE_X_IRAM0_DRAM0_DMA_SRAM_CATEGORY_2_W @@ -99,7 +96,6 @@ impl W { } #[doc = "Bits 14:21 - core_x_iram0_dram0_dma_sram_splitaddr"] #[inline(always)] - #[must_use] pub fn core_x_iram0_dram0_dma_sram_splitaddr( &mut self, ) -> CORE_X_IRAM0_DRAM0_DMA_SRAM_SPLITADDR_W diff --git a/esp32c3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_2.rs b/esp32c3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_2.rs index 02aada9abb..a1f4f5cc4f 100644 --- a/esp32c3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_2.rs +++ b/esp32c3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_2.rs @@ -66,7 +66,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - core_x_iram0_sram_line_0_category_0"] #[inline(always)] - #[must_use] pub fn core_x_iram0_sram_line_0_category_0( &mut self, ) -> CORE_X_IRAM0_SRAM_LINE_0_CATEGORY_0_W @@ -75,7 +74,6 @@ impl W { } #[doc = "Bits 2:3 - core_x_iram0_sram_line_0_category_1"] #[inline(always)] - #[must_use] pub fn core_x_iram0_sram_line_0_category_1( &mut self, ) -> CORE_X_IRAM0_SRAM_LINE_0_CATEGORY_1_W @@ -84,7 +82,6 @@ impl W { } #[doc = "Bits 4:5 - core_x_iram0_sram_line_0_category_2"] #[inline(always)] - #[must_use] pub fn core_x_iram0_sram_line_0_category_2( &mut self, ) -> CORE_X_IRAM0_SRAM_LINE_0_CATEGORY_2_W @@ -93,7 +90,6 @@ impl W { } #[doc = "Bits 14:21 - core_x_iram0_sram_line_0_splitaddr"] #[inline(always)] - #[must_use] pub fn core_x_iram0_sram_line_0_splitaddr( &mut self, ) -> CORE_X_IRAM0_SRAM_LINE_0_SPLITADDR_W diff --git a/esp32c3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_3.rs b/esp32c3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_3.rs index 88716cafdc..610fbd92c7 100644 --- a/esp32c3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_3.rs +++ b/esp32c3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_3.rs @@ -66,7 +66,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - core_x_iram0_sram_line_1_category_0"] #[inline(always)] - #[must_use] pub fn core_x_iram0_sram_line_1_category_0( &mut self, ) -> CORE_X_IRAM0_SRAM_LINE_1_CATEGORY_0_W @@ -75,7 +74,6 @@ impl W { } #[doc = "Bits 2:3 - core_x_iram0_sram_line_1_category_1"] #[inline(always)] - #[must_use] pub fn core_x_iram0_sram_line_1_category_1( &mut self, ) -> CORE_X_IRAM0_SRAM_LINE_1_CATEGORY_1_W @@ -84,7 +82,6 @@ impl W { } #[doc = "Bits 4:5 - core_x_iram0_sram_line_1_category_2"] #[inline(always)] - #[must_use] pub fn core_x_iram0_sram_line_1_category_2( &mut self, ) -> CORE_X_IRAM0_SRAM_LINE_1_CATEGORY_2_W @@ -93,7 +90,6 @@ impl W { } #[doc = "Bits 14:21 - core_x_iram0_sram_line_1_splitaddr"] #[inline(always)] - #[must_use] pub fn core_x_iram0_sram_line_1_splitaddr( &mut self, ) -> CORE_X_IRAM0_SRAM_LINE_1_SPLITADDR_W diff --git a/esp32c3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_4.rs b/esp32c3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_4.rs index 204a7f6a15..983915508d 100644 --- a/esp32c3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_4.rs +++ b/esp32c3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_4.rs @@ -74,7 +74,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - core_x_dram0_dma_sram_line_0_category_0"] #[inline(always)] - #[must_use] pub fn core_x_dram0_dma_sram_line_0_category_0( &mut self, ) -> CORE_X_DRAM0_DMA_SRAM_LINE_0_CATEGORY_0_W @@ -83,7 +82,6 @@ impl W { } #[doc = "Bits 2:3 - core_x_dram0_dma_sram_line_0_category_1"] #[inline(always)] - #[must_use] pub fn core_x_dram0_dma_sram_line_0_category_1( &mut self, ) -> CORE_X_DRAM0_DMA_SRAM_LINE_0_CATEGORY_1_W @@ -92,7 +90,6 @@ impl W { } #[doc = "Bits 4:5 - core_x_dram0_dma_sram_line_0_category_2"] #[inline(always)] - #[must_use] pub fn core_x_dram0_dma_sram_line_0_category_2( &mut self, ) -> CORE_X_DRAM0_DMA_SRAM_LINE_0_CATEGORY_2_W @@ -101,7 +98,6 @@ impl W { } #[doc = "Bits 14:21 - core_x_dram0_dma_sram_line_0_splitaddr"] #[inline(always)] - #[must_use] pub fn core_x_dram0_dma_sram_line_0_splitaddr( &mut self, ) -> CORE_X_DRAM0_DMA_SRAM_LINE_0_SPLITADDR_W diff --git a/esp32c3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_5.rs b/esp32c3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_5.rs index 8d6a37f5ab..01cf432b8b 100644 --- a/esp32c3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_5.rs +++ b/esp32c3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_5.rs @@ -74,7 +74,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - core_x_dram0_dma_sram_line_1_category_0"] #[inline(always)] - #[must_use] pub fn core_x_dram0_dma_sram_line_1_category_0( &mut self, ) -> CORE_X_DRAM0_DMA_SRAM_LINE_1_CATEGORY_0_W @@ -83,7 +82,6 @@ impl W { } #[doc = "Bits 2:3 - core_x_dram0_dma_sram_line_1_category_1"] #[inline(always)] - #[must_use] pub fn core_x_dram0_dma_sram_line_1_category_1( &mut self, ) -> CORE_X_DRAM0_DMA_SRAM_LINE_1_CATEGORY_1_W @@ -92,7 +90,6 @@ impl W { } #[doc = "Bits 4:5 - core_x_dram0_dma_sram_line_1_category_2"] #[inline(always)] - #[must_use] pub fn core_x_dram0_dma_sram_line_1_category_2( &mut self, ) -> CORE_X_DRAM0_DMA_SRAM_LINE_1_CATEGORY_2_W @@ -101,7 +98,6 @@ impl W { } #[doc = "Bits 14:21 - core_x_dram0_dma_sram_line_1_splitaddr"] #[inline(always)] - #[must_use] pub fn core_x_dram0_dma_sram_line_1_splitaddr( &mut self, ) -> CORE_X_DRAM0_DMA_SRAM_LINE_1_SPLITADDR_W diff --git a/esp32c3/src/sensitive/core_x_iram0_pms_constrain_0.rs b/esp32c3/src/sensitive/core_x_iram0_pms_constrain_0.rs index 8c638baa96..1c8212f558 100644 --- a/esp32c3/src/sensitive/core_x_iram0_pms_constrain_0.rs +++ b/esp32c3/src/sensitive/core_x_iram0_pms_constrain_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - core_x_iram0_pms_constrain_lock"] #[inline(always)] - #[must_use] pub fn core_x_iram0_pms_constrain_lock( &mut self, ) -> CORE_X_IRAM0_PMS_CONSTRAIN_LOCK_W { diff --git a/esp32c3/src/sensitive/core_x_iram0_pms_constrain_1.rs b/esp32c3/src/sensitive/core_x_iram0_pms_constrain_1.rs index 641680eac1..848e7eedaf 100644 --- a/esp32c3/src/sensitive/core_x_iram0_pms_constrain_1.rs +++ b/esp32c3/src/sensitive/core_x_iram0_pms_constrain_1.rs @@ -107,7 +107,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - core_x_iram0_pms_constrain_sram_world_1_pms_0"] #[inline(always)] - #[must_use] pub fn core_x_iram0_pms_constrain_sram_world_1_pms_0( &mut self, ) -> CORE_X_IRAM0_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_0_W { @@ -115,7 +114,6 @@ impl W { } #[doc = "Bits 3:5 - core_x_iram0_pms_constrain_sram_world_1_pms_1"] #[inline(always)] - #[must_use] pub fn core_x_iram0_pms_constrain_sram_world_1_pms_1( &mut self, ) -> CORE_X_IRAM0_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_1_W { @@ -123,7 +121,6 @@ impl W { } #[doc = "Bits 6:8 - core_x_iram0_pms_constrain_sram_world_1_pms_2"] #[inline(always)] - #[must_use] pub fn core_x_iram0_pms_constrain_sram_world_1_pms_2( &mut self, ) -> CORE_X_IRAM0_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_2_W { @@ -131,7 +128,6 @@ impl W { } #[doc = "Bits 9:11 - core_x_iram0_pms_constrain_sram_world_1_pms_3"] #[inline(always)] - #[must_use] pub fn core_x_iram0_pms_constrain_sram_world_1_pms_3( &mut self, ) -> CORE_X_IRAM0_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_3_W { @@ -139,7 +135,6 @@ impl W { } #[doc = "Bits 12:14 - core_x_iram0_pms_constrain_sram_world_1_cachedataarray_pms_0"] #[inline(always)] - #[must_use] pub fn core_x_iram0_pms_constrain_sram_world_1_cachedataarray_pms_0( &mut self, ) -> CORE_X_IRAM0_PMS_CONSTRAIN_SRAM_WORLD_1_CACHEDATAARRAY_PMS_0_W< @@ -149,7 +144,6 @@ impl W { } #[doc = "Bits 18:20 - core_x_iram0_pms_constrain_rom_world_1_pms"] #[inline(always)] - #[must_use] pub fn core_x_iram0_pms_constrain_rom_world_1_pms( &mut self, ) -> CORE_X_IRAM0_PMS_CONSTRAIN_ROM_WORLD_1_PMS_W { diff --git a/esp32c3/src/sensitive/core_x_iram0_pms_constrain_2.rs b/esp32c3/src/sensitive/core_x_iram0_pms_constrain_2.rs index ba63f54922..1e4cad2980 100644 --- a/esp32c3/src/sensitive/core_x_iram0_pms_constrain_2.rs +++ b/esp32c3/src/sensitive/core_x_iram0_pms_constrain_2.rs @@ -107,7 +107,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - core_x_iram0_pms_constrain_sram_world_0_pms_0"] #[inline(always)] - #[must_use] pub fn core_x_iram0_pms_constrain_sram_world_0_pms_0( &mut self, ) -> CORE_X_IRAM0_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_0_W { @@ -115,7 +114,6 @@ impl W { } #[doc = "Bits 3:5 - core_x_iram0_pms_constrain_sram_world_0_pms_1"] #[inline(always)] - #[must_use] pub fn core_x_iram0_pms_constrain_sram_world_0_pms_1( &mut self, ) -> CORE_X_IRAM0_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_1_W { @@ -123,7 +121,6 @@ impl W { } #[doc = "Bits 6:8 - core_x_iram0_pms_constrain_sram_world_0_pms_2"] #[inline(always)] - #[must_use] pub fn core_x_iram0_pms_constrain_sram_world_0_pms_2( &mut self, ) -> CORE_X_IRAM0_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_2_W { @@ -131,7 +128,6 @@ impl W { } #[doc = "Bits 9:11 - core_x_iram0_pms_constrain_sram_world_0_pms_3"] #[inline(always)] - #[must_use] pub fn core_x_iram0_pms_constrain_sram_world_0_pms_3( &mut self, ) -> CORE_X_IRAM0_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_3_W { @@ -139,7 +135,6 @@ impl W { } #[doc = "Bits 12:14 - core_x_iram0_pms_constrain_sram_world_0_cachedataarray_pms_0"] #[inline(always)] - #[must_use] pub fn core_x_iram0_pms_constrain_sram_world_0_cachedataarray_pms_0( &mut self, ) -> CORE_X_IRAM0_PMS_CONSTRAIN_SRAM_WORLD_0_CACHEDATAARRAY_PMS_0_W< @@ -149,7 +144,6 @@ impl W { } #[doc = "Bits 18:20 - core_x_iram0_pms_constrain_rom_world_0_pms"] #[inline(always)] - #[must_use] pub fn core_x_iram0_pms_constrain_rom_world_0_pms( &mut self, ) -> CORE_X_IRAM0_PMS_CONSTRAIN_ROM_WORLD_0_PMS_W { diff --git a/esp32c3/src/sensitive/date.rs b/esp32c3/src/sensitive/date.rs index 10d45b19c3..af0669cec6 100644 --- a/esp32c3/src/sensitive/date.rs +++ b/esp32c3/src/sensitive/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - reg_date"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c3/src/sensitive/dma_apbperi_adc_dac_pms_constrain_0.rs b/esp32c3/src/sensitive/dma_apbperi_adc_dac_pms_constrain_0.rs index 04ac11f657..6d96b12a2e 100644 --- a/esp32c3/src/sensitive/dma_apbperi_adc_dac_pms_constrain_0.rs +++ b/esp32c3/src/sensitive/dma_apbperi_adc_dac_pms_constrain_0.rs @@ -29,7 +29,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - dma_apbperi_adc_dac_pms_constrain_lock"] #[inline(always)] - #[must_use] pub fn dma_apbperi_adc_dac_pms_constrain_lock( &mut self, ) -> DMA_APBPERI_ADC_DAC_PMS_CONSTRAIN_LOCK_W { diff --git a/esp32c3/src/sensitive/dma_apbperi_adc_dac_pms_constrain_1.rs b/esp32c3/src/sensitive/dma_apbperi_adc_dac_pms_constrain_1.rs index 18ecf60da9..2f3aad4e21 100644 --- a/esp32c3/src/sensitive/dma_apbperi_adc_dac_pms_constrain_1.rs +++ b/esp32c3/src/sensitive/dma_apbperi_adc_dac_pms_constrain_1.rs @@ -142,7 +142,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - dma_apbperi_adc_dac_pms_constrain_sram_world_0_pms_0"] #[inline(always)] - #[must_use] pub fn dma_apbperi_adc_dac_pms_constrain_sram_world_0_pms_0( &mut self, ) -> DMA_APBPERI_ADC_DAC_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_0_W< @@ -152,7 +151,6 @@ impl W { } #[doc = "Bits 2:3 - dma_apbperi_adc_dac_pms_constrain_sram_world_0_pms_1"] #[inline(always)] - #[must_use] pub fn dma_apbperi_adc_dac_pms_constrain_sram_world_0_pms_1( &mut self, ) -> DMA_APBPERI_ADC_DAC_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_1_W< @@ -162,7 +160,6 @@ impl W { } #[doc = "Bits 4:5 - dma_apbperi_adc_dac_pms_constrain_sram_world_0_pms_2"] #[inline(always)] - #[must_use] pub fn dma_apbperi_adc_dac_pms_constrain_sram_world_0_pms_2( &mut self, ) -> DMA_APBPERI_ADC_DAC_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_2_W< @@ -172,7 +169,6 @@ impl W { } #[doc = "Bits 6:7 - dma_apbperi_adc_dac_pms_constrain_sram_world_0_pms_3"] #[inline(always)] - #[must_use] pub fn dma_apbperi_adc_dac_pms_constrain_sram_world_0_pms_3( &mut self, ) -> DMA_APBPERI_ADC_DAC_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_3_W< @@ -182,7 +178,6 @@ impl W { } #[doc = "Bits 12:13 - dma_apbperi_adc_dac_pms_constrain_sram_world_1_pms_0"] #[inline(always)] - #[must_use] pub fn dma_apbperi_adc_dac_pms_constrain_sram_world_1_pms_0( &mut self, ) -> DMA_APBPERI_ADC_DAC_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_0_W< @@ -192,7 +187,6 @@ impl W { } #[doc = "Bits 14:15 - dma_apbperi_adc_dac_pms_constrain_sram_world_1_pms_1"] #[inline(always)] - #[must_use] pub fn dma_apbperi_adc_dac_pms_constrain_sram_world_1_pms_1( &mut self, ) -> DMA_APBPERI_ADC_DAC_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_1_W< @@ -202,7 +196,6 @@ impl W { } #[doc = "Bits 16:17 - dma_apbperi_adc_dac_pms_constrain_sram_world_1_pms_2"] #[inline(always)] - #[must_use] pub fn dma_apbperi_adc_dac_pms_constrain_sram_world_1_pms_2( &mut self, ) -> DMA_APBPERI_ADC_DAC_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_2_W< @@ -212,7 +205,6 @@ impl W { } #[doc = "Bits 18:19 - dma_apbperi_adc_dac_pms_constrain_sram_world_1_pms_3"] #[inline(always)] - #[must_use] pub fn dma_apbperi_adc_dac_pms_constrain_sram_world_1_pms_3( &mut self, ) -> DMA_APBPERI_ADC_DAC_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_3_W< diff --git a/esp32c3/src/sensitive/dma_apbperi_aes_pms_constrain_0.rs b/esp32c3/src/sensitive/dma_apbperi_aes_pms_constrain_0.rs index ce05be8b56..7f38066ef1 100644 --- a/esp32c3/src/sensitive/dma_apbperi_aes_pms_constrain_0.rs +++ b/esp32c3/src/sensitive/dma_apbperi_aes_pms_constrain_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - dma_apbperi_aes_pms_constrain_lock"] #[inline(always)] - #[must_use] pub fn dma_apbperi_aes_pms_constrain_lock( &mut self, ) -> DMA_APBPERI_AES_PMS_CONSTRAIN_LOCK_W { diff --git a/esp32c3/src/sensitive/dma_apbperi_aes_pms_constrain_1.rs b/esp32c3/src/sensitive/dma_apbperi_aes_pms_constrain_1.rs index 1bdd184106..45b2bbc000 100644 --- a/esp32c3/src/sensitive/dma_apbperi_aes_pms_constrain_1.rs +++ b/esp32c3/src/sensitive/dma_apbperi_aes_pms_constrain_1.rs @@ -142,7 +142,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - dma_apbperi_aes_pms_constrain_sram_world_0_pms_0"] #[inline(always)] - #[must_use] pub fn dma_apbperi_aes_pms_constrain_sram_world_0_pms_0( &mut self, ) -> DMA_APBPERI_AES_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_0_W @@ -151,7 +150,6 @@ impl W { } #[doc = "Bits 2:3 - dma_apbperi_aes_pms_constrain_sram_world_0_pms_1"] #[inline(always)] - #[must_use] pub fn dma_apbperi_aes_pms_constrain_sram_world_0_pms_1( &mut self, ) -> DMA_APBPERI_AES_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_1_W @@ -160,7 +158,6 @@ impl W { } #[doc = "Bits 4:5 - dma_apbperi_aes_pms_constrain_sram_world_0_pms_2"] #[inline(always)] - #[must_use] pub fn dma_apbperi_aes_pms_constrain_sram_world_0_pms_2( &mut self, ) -> DMA_APBPERI_AES_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_2_W @@ -169,7 +166,6 @@ impl W { } #[doc = "Bits 6:7 - dma_apbperi_aes_pms_constrain_sram_world_0_pms_3"] #[inline(always)] - #[must_use] pub fn dma_apbperi_aes_pms_constrain_sram_world_0_pms_3( &mut self, ) -> DMA_APBPERI_AES_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_3_W @@ -178,7 +174,6 @@ impl W { } #[doc = "Bits 12:13 - dma_apbperi_aes_pms_constrain_sram_world_1_pms_0"] #[inline(always)] - #[must_use] pub fn dma_apbperi_aes_pms_constrain_sram_world_1_pms_0( &mut self, ) -> DMA_APBPERI_AES_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_0_W @@ -187,7 +182,6 @@ impl W { } #[doc = "Bits 14:15 - dma_apbperi_aes_pms_constrain_sram_world_1_pms_1"] #[inline(always)] - #[must_use] pub fn dma_apbperi_aes_pms_constrain_sram_world_1_pms_1( &mut self, ) -> DMA_APBPERI_AES_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_1_W @@ -196,7 +190,6 @@ impl W { } #[doc = "Bits 16:17 - dma_apbperi_aes_pms_constrain_sram_world_1_pms_2"] #[inline(always)] - #[must_use] pub fn dma_apbperi_aes_pms_constrain_sram_world_1_pms_2( &mut self, ) -> DMA_APBPERI_AES_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_2_W @@ -205,7 +198,6 @@ impl W { } #[doc = "Bits 18:19 - dma_apbperi_aes_pms_constrain_sram_world_1_pms_3"] #[inline(always)] - #[must_use] pub fn dma_apbperi_aes_pms_constrain_sram_world_1_pms_3( &mut self, ) -> DMA_APBPERI_AES_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_3_W diff --git a/esp32c3/src/sensitive/dma_apbperi_backup_pms_constrain_0.rs b/esp32c3/src/sensitive/dma_apbperi_backup_pms_constrain_0.rs index 52115a832b..44a88d13f2 100644 --- a/esp32c3/src/sensitive/dma_apbperi_backup_pms_constrain_0.rs +++ b/esp32c3/src/sensitive/dma_apbperi_backup_pms_constrain_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - dma_apbperi_backup_pms_constrain_lock"] #[inline(always)] - #[must_use] pub fn dma_apbperi_backup_pms_constrain_lock( &mut self, ) -> DMA_APBPERI_BACKUP_PMS_CONSTRAIN_LOCK_W { diff --git a/esp32c3/src/sensitive/dma_apbperi_backup_pms_constrain_1.rs b/esp32c3/src/sensitive/dma_apbperi_backup_pms_constrain_1.rs index 6721775032..c7ac5f88bf 100644 --- a/esp32c3/src/sensitive/dma_apbperi_backup_pms_constrain_1.rs +++ b/esp32c3/src/sensitive/dma_apbperi_backup_pms_constrain_1.rs @@ -142,7 +142,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - dma_apbperi_backup_pms_constrain_sram_world_0_pms_0"] #[inline(always)] - #[must_use] pub fn dma_apbperi_backup_pms_constrain_sram_world_0_pms_0( &mut self, ) -> DMA_APBPERI_BACKUP_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_0_W< @@ -152,7 +151,6 @@ impl W { } #[doc = "Bits 2:3 - dma_apbperi_backup_pms_constrain_sram_world_0_pms_1"] #[inline(always)] - #[must_use] pub fn dma_apbperi_backup_pms_constrain_sram_world_0_pms_1( &mut self, ) -> DMA_APBPERI_BACKUP_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_1_W< @@ -162,7 +160,6 @@ impl W { } #[doc = "Bits 4:5 - dma_apbperi_backup_pms_constrain_sram_world_0_pms_2"] #[inline(always)] - #[must_use] pub fn dma_apbperi_backup_pms_constrain_sram_world_0_pms_2( &mut self, ) -> DMA_APBPERI_BACKUP_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_2_W< @@ -172,7 +169,6 @@ impl W { } #[doc = "Bits 6:7 - dma_apbperi_backup_pms_constrain_sram_world_0_pms_3"] #[inline(always)] - #[must_use] pub fn dma_apbperi_backup_pms_constrain_sram_world_0_pms_3( &mut self, ) -> DMA_APBPERI_BACKUP_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_3_W< @@ -182,7 +178,6 @@ impl W { } #[doc = "Bits 12:13 - dma_apbperi_backup_pms_constrain_sram_world_1_pms_0"] #[inline(always)] - #[must_use] pub fn dma_apbperi_backup_pms_constrain_sram_world_1_pms_0( &mut self, ) -> DMA_APBPERI_BACKUP_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_0_W< @@ -192,7 +187,6 @@ impl W { } #[doc = "Bits 14:15 - dma_apbperi_backup_pms_constrain_sram_world_1_pms_1"] #[inline(always)] - #[must_use] pub fn dma_apbperi_backup_pms_constrain_sram_world_1_pms_1( &mut self, ) -> DMA_APBPERI_BACKUP_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_1_W< @@ -202,7 +196,6 @@ impl W { } #[doc = "Bits 16:17 - dma_apbperi_backup_pms_constrain_sram_world_1_pms_2"] #[inline(always)] - #[must_use] pub fn dma_apbperi_backup_pms_constrain_sram_world_1_pms_2( &mut self, ) -> DMA_APBPERI_BACKUP_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_2_W< @@ -212,7 +205,6 @@ impl W { } #[doc = "Bits 18:19 - dma_apbperi_backup_pms_constrain_sram_world_1_pms_3"] #[inline(always)] - #[must_use] pub fn dma_apbperi_backup_pms_constrain_sram_world_1_pms_3( &mut self, ) -> DMA_APBPERI_BACKUP_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_3_W< diff --git a/esp32c3/src/sensitive/dma_apbperi_i2s0_pms_constrain_0.rs b/esp32c3/src/sensitive/dma_apbperi_i2s0_pms_constrain_0.rs index df4a7125ba..d3273c9c57 100644 --- a/esp32c3/src/sensitive/dma_apbperi_i2s0_pms_constrain_0.rs +++ b/esp32c3/src/sensitive/dma_apbperi_i2s0_pms_constrain_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - dma_apbperi_i2s0_pms_constrain_lock"] #[inline(always)] - #[must_use] pub fn dma_apbperi_i2s0_pms_constrain_lock( &mut self, ) -> DMA_APBPERI_I2S0_PMS_CONSTRAIN_LOCK_W { diff --git a/esp32c3/src/sensitive/dma_apbperi_i2s0_pms_constrain_1.rs b/esp32c3/src/sensitive/dma_apbperi_i2s0_pms_constrain_1.rs index f38feffcbd..3d36d3779e 100644 --- a/esp32c3/src/sensitive/dma_apbperi_i2s0_pms_constrain_1.rs +++ b/esp32c3/src/sensitive/dma_apbperi_i2s0_pms_constrain_1.rs @@ -142,7 +142,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - dma_apbperi_i2s0_pms_constrain_sram_world_0_pms_0"] #[inline(always)] - #[must_use] pub fn dma_apbperi_i2s0_pms_constrain_sram_world_0_pms_0( &mut self, ) -> DMA_APBPERI_I2S0_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_0_W @@ -151,7 +150,6 @@ impl W { } #[doc = "Bits 2:3 - dma_apbperi_i2s0_pms_constrain_sram_world_0_pms_1"] #[inline(always)] - #[must_use] pub fn dma_apbperi_i2s0_pms_constrain_sram_world_0_pms_1( &mut self, ) -> DMA_APBPERI_I2S0_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_1_W @@ -160,7 +158,6 @@ impl W { } #[doc = "Bits 4:5 - dma_apbperi_i2s0_pms_constrain_sram_world_0_pms_2"] #[inline(always)] - #[must_use] pub fn dma_apbperi_i2s0_pms_constrain_sram_world_0_pms_2( &mut self, ) -> DMA_APBPERI_I2S0_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_2_W @@ -169,7 +166,6 @@ impl W { } #[doc = "Bits 6:7 - dma_apbperi_i2s0_pms_constrain_sram_world_0_pms_3"] #[inline(always)] - #[must_use] pub fn dma_apbperi_i2s0_pms_constrain_sram_world_0_pms_3( &mut self, ) -> DMA_APBPERI_I2S0_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_3_W @@ -178,7 +174,6 @@ impl W { } #[doc = "Bits 12:13 - dma_apbperi_i2s0_pms_constrain_sram_world_1_pms_0"] #[inline(always)] - #[must_use] pub fn dma_apbperi_i2s0_pms_constrain_sram_world_1_pms_0( &mut self, ) -> DMA_APBPERI_I2S0_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_0_W @@ -187,7 +182,6 @@ impl W { } #[doc = "Bits 14:15 - dma_apbperi_i2s0_pms_constrain_sram_world_1_pms_1"] #[inline(always)] - #[must_use] pub fn dma_apbperi_i2s0_pms_constrain_sram_world_1_pms_1( &mut self, ) -> DMA_APBPERI_I2S0_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_1_W @@ -196,7 +190,6 @@ impl W { } #[doc = "Bits 16:17 - dma_apbperi_i2s0_pms_constrain_sram_world_1_pms_2"] #[inline(always)] - #[must_use] pub fn dma_apbperi_i2s0_pms_constrain_sram_world_1_pms_2( &mut self, ) -> DMA_APBPERI_I2S0_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_2_W @@ -205,7 +198,6 @@ impl W { } #[doc = "Bits 18:19 - dma_apbperi_i2s0_pms_constrain_sram_world_1_pms_3"] #[inline(always)] - #[must_use] pub fn dma_apbperi_i2s0_pms_constrain_sram_world_1_pms_3( &mut self, ) -> DMA_APBPERI_I2S0_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_3_W diff --git a/esp32c3/src/sensitive/dma_apbperi_lc_pms_constrain_0.rs b/esp32c3/src/sensitive/dma_apbperi_lc_pms_constrain_0.rs index 6a2aa81710..278323a8c1 100644 --- a/esp32c3/src/sensitive/dma_apbperi_lc_pms_constrain_0.rs +++ b/esp32c3/src/sensitive/dma_apbperi_lc_pms_constrain_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - dma_apbperi_lc_pms_constrain_lock"] #[inline(always)] - #[must_use] pub fn dma_apbperi_lc_pms_constrain_lock( &mut self, ) -> DMA_APBPERI_LC_PMS_CONSTRAIN_LOCK_W { diff --git a/esp32c3/src/sensitive/dma_apbperi_lc_pms_constrain_1.rs b/esp32c3/src/sensitive/dma_apbperi_lc_pms_constrain_1.rs index a56d2a41e2..27fb472654 100644 --- a/esp32c3/src/sensitive/dma_apbperi_lc_pms_constrain_1.rs +++ b/esp32c3/src/sensitive/dma_apbperi_lc_pms_constrain_1.rs @@ -142,7 +142,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - dma_apbperi_lc_pms_constrain_sram_world_0_pms_0"] #[inline(always)] - #[must_use] pub fn dma_apbperi_lc_pms_constrain_sram_world_0_pms_0( &mut self, ) -> DMA_APBPERI_LC_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_0_W @@ -151,7 +150,6 @@ impl W { } #[doc = "Bits 2:3 - dma_apbperi_lc_pms_constrain_sram_world_0_pms_1"] #[inline(always)] - #[must_use] pub fn dma_apbperi_lc_pms_constrain_sram_world_0_pms_1( &mut self, ) -> DMA_APBPERI_LC_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_1_W @@ -160,7 +158,6 @@ impl W { } #[doc = "Bits 4:5 - dma_apbperi_lc_pms_constrain_sram_world_0_pms_2"] #[inline(always)] - #[must_use] pub fn dma_apbperi_lc_pms_constrain_sram_world_0_pms_2( &mut self, ) -> DMA_APBPERI_LC_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_2_W @@ -169,7 +166,6 @@ impl W { } #[doc = "Bits 6:7 - dma_apbperi_lc_pms_constrain_sram_world_0_pms_3"] #[inline(always)] - #[must_use] pub fn dma_apbperi_lc_pms_constrain_sram_world_0_pms_3( &mut self, ) -> DMA_APBPERI_LC_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_3_W @@ -178,7 +174,6 @@ impl W { } #[doc = "Bits 12:13 - dma_apbperi_lc_pms_constrain_sram_world_1_pms_0"] #[inline(always)] - #[must_use] pub fn dma_apbperi_lc_pms_constrain_sram_world_1_pms_0( &mut self, ) -> DMA_APBPERI_LC_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_0_W @@ -187,7 +182,6 @@ impl W { } #[doc = "Bits 14:15 - dma_apbperi_lc_pms_constrain_sram_world_1_pms_1"] #[inline(always)] - #[must_use] pub fn dma_apbperi_lc_pms_constrain_sram_world_1_pms_1( &mut self, ) -> DMA_APBPERI_LC_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_1_W @@ -196,7 +190,6 @@ impl W { } #[doc = "Bits 16:17 - dma_apbperi_lc_pms_constrain_sram_world_1_pms_2"] #[inline(always)] - #[must_use] pub fn dma_apbperi_lc_pms_constrain_sram_world_1_pms_2( &mut self, ) -> DMA_APBPERI_LC_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_2_W @@ -205,7 +198,6 @@ impl W { } #[doc = "Bits 18:19 - dma_apbperi_lc_pms_constrain_sram_world_1_pms_3"] #[inline(always)] - #[must_use] pub fn dma_apbperi_lc_pms_constrain_sram_world_1_pms_3( &mut self, ) -> DMA_APBPERI_LC_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_3_W diff --git a/esp32c3/src/sensitive/dma_apbperi_mac_pms_constrain_0.rs b/esp32c3/src/sensitive/dma_apbperi_mac_pms_constrain_0.rs index 49bb53685c..9dd42adcbe 100644 --- a/esp32c3/src/sensitive/dma_apbperi_mac_pms_constrain_0.rs +++ b/esp32c3/src/sensitive/dma_apbperi_mac_pms_constrain_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - dma_apbperi_mac_pms_constrain_lock"] #[inline(always)] - #[must_use] pub fn dma_apbperi_mac_pms_constrain_lock( &mut self, ) -> DMA_APBPERI_MAC_PMS_CONSTRAIN_LOCK_W { diff --git a/esp32c3/src/sensitive/dma_apbperi_mac_pms_constrain_1.rs b/esp32c3/src/sensitive/dma_apbperi_mac_pms_constrain_1.rs index 2cbd22111f..0b4a35447c 100644 --- a/esp32c3/src/sensitive/dma_apbperi_mac_pms_constrain_1.rs +++ b/esp32c3/src/sensitive/dma_apbperi_mac_pms_constrain_1.rs @@ -142,7 +142,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - dma_apbperi_mac_pms_constrain_sram_world_0_pms_0"] #[inline(always)] - #[must_use] pub fn dma_apbperi_mac_pms_constrain_sram_world_0_pms_0( &mut self, ) -> DMA_APBPERI_MAC_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_0_W @@ -151,7 +150,6 @@ impl W { } #[doc = "Bits 2:3 - dma_apbperi_mac_pms_constrain_sram_world_0_pms_1"] #[inline(always)] - #[must_use] pub fn dma_apbperi_mac_pms_constrain_sram_world_0_pms_1( &mut self, ) -> DMA_APBPERI_MAC_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_1_W @@ -160,7 +158,6 @@ impl W { } #[doc = "Bits 4:5 - dma_apbperi_mac_pms_constrain_sram_world_0_pms_2"] #[inline(always)] - #[must_use] pub fn dma_apbperi_mac_pms_constrain_sram_world_0_pms_2( &mut self, ) -> DMA_APBPERI_MAC_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_2_W @@ -169,7 +166,6 @@ impl W { } #[doc = "Bits 6:7 - dma_apbperi_mac_pms_constrain_sram_world_0_pms_3"] #[inline(always)] - #[must_use] pub fn dma_apbperi_mac_pms_constrain_sram_world_0_pms_3( &mut self, ) -> DMA_APBPERI_MAC_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_3_W @@ -178,7 +174,6 @@ impl W { } #[doc = "Bits 12:13 - dma_apbperi_mac_pms_constrain_sram_world_1_pms_0"] #[inline(always)] - #[must_use] pub fn dma_apbperi_mac_pms_constrain_sram_world_1_pms_0( &mut self, ) -> DMA_APBPERI_MAC_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_0_W @@ -187,7 +182,6 @@ impl W { } #[doc = "Bits 14:15 - dma_apbperi_mac_pms_constrain_sram_world_1_pms_1"] #[inline(always)] - #[must_use] pub fn dma_apbperi_mac_pms_constrain_sram_world_1_pms_1( &mut self, ) -> DMA_APBPERI_MAC_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_1_W @@ -196,7 +190,6 @@ impl W { } #[doc = "Bits 16:17 - dma_apbperi_mac_pms_constrain_sram_world_1_pms_2"] #[inline(always)] - #[must_use] pub fn dma_apbperi_mac_pms_constrain_sram_world_1_pms_2( &mut self, ) -> DMA_APBPERI_MAC_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_2_W @@ -205,7 +198,6 @@ impl W { } #[doc = "Bits 18:19 - dma_apbperi_mac_pms_constrain_sram_world_1_pms_3"] #[inline(always)] - #[must_use] pub fn dma_apbperi_mac_pms_constrain_sram_world_1_pms_3( &mut self, ) -> DMA_APBPERI_MAC_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_3_W diff --git a/esp32c3/src/sensitive/dma_apbperi_pms_monitor_0.rs b/esp32c3/src/sensitive/dma_apbperi_pms_monitor_0.rs index 908649687f..92b2537c88 100644 --- a/esp32c3/src/sensitive/dma_apbperi_pms_monitor_0.rs +++ b/esp32c3/src/sensitive/dma_apbperi_pms_monitor_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - dma_apbperi_pms_monitor_lock"] #[inline(always)] - #[must_use] pub fn dma_apbperi_pms_monitor_lock( &mut self, ) -> DMA_APBPERI_PMS_MONITOR_LOCK_W { diff --git a/esp32c3/src/sensitive/dma_apbperi_pms_monitor_1.rs b/esp32c3/src/sensitive/dma_apbperi_pms_monitor_1.rs index d91c540a1a..203d08e5c6 100644 --- a/esp32c3/src/sensitive/dma_apbperi_pms_monitor_1.rs +++ b/esp32c3/src/sensitive/dma_apbperi_pms_monitor_1.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - dma_apbperi_pms_monitor_violate_clr"] #[inline(always)] - #[must_use] pub fn dma_apbperi_pms_monitor_violate_clr( &mut self, ) -> DMA_APBPERI_PMS_MONITOR_VIOLATE_CLR_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bit 1 - dma_apbperi_pms_monitor_violate_en"] #[inline(always)] - #[must_use] pub fn dma_apbperi_pms_monitor_violate_en( &mut self, ) -> DMA_APBPERI_PMS_MONITOR_VIOLATE_EN_W { diff --git a/esp32c3/src/sensitive/dma_apbperi_sha_pms_constrain_0.rs b/esp32c3/src/sensitive/dma_apbperi_sha_pms_constrain_0.rs index f565ad3737..8b611033fd 100644 --- a/esp32c3/src/sensitive/dma_apbperi_sha_pms_constrain_0.rs +++ b/esp32c3/src/sensitive/dma_apbperi_sha_pms_constrain_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - dma_apbperi_sha_pms_constrain_lock"] #[inline(always)] - #[must_use] pub fn dma_apbperi_sha_pms_constrain_lock( &mut self, ) -> DMA_APBPERI_SHA_PMS_CONSTRAIN_LOCK_W { diff --git a/esp32c3/src/sensitive/dma_apbperi_sha_pms_constrain_1.rs b/esp32c3/src/sensitive/dma_apbperi_sha_pms_constrain_1.rs index cc3c130d95..92a1da85f2 100644 --- a/esp32c3/src/sensitive/dma_apbperi_sha_pms_constrain_1.rs +++ b/esp32c3/src/sensitive/dma_apbperi_sha_pms_constrain_1.rs @@ -142,7 +142,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - dma_apbperi_sha_pms_constrain_sram_world_0_pms_0"] #[inline(always)] - #[must_use] pub fn dma_apbperi_sha_pms_constrain_sram_world_0_pms_0( &mut self, ) -> DMA_APBPERI_SHA_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_0_W @@ -151,7 +150,6 @@ impl W { } #[doc = "Bits 2:3 - dma_apbperi_sha_pms_constrain_sram_world_0_pms_1"] #[inline(always)] - #[must_use] pub fn dma_apbperi_sha_pms_constrain_sram_world_0_pms_1( &mut self, ) -> DMA_APBPERI_SHA_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_1_W @@ -160,7 +158,6 @@ impl W { } #[doc = "Bits 4:5 - dma_apbperi_sha_pms_constrain_sram_world_0_pms_2"] #[inline(always)] - #[must_use] pub fn dma_apbperi_sha_pms_constrain_sram_world_0_pms_2( &mut self, ) -> DMA_APBPERI_SHA_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_2_W @@ -169,7 +166,6 @@ impl W { } #[doc = "Bits 6:7 - dma_apbperi_sha_pms_constrain_sram_world_0_pms_3"] #[inline(always)] - #[must_use] pub fn dma_apbperi_sha_pms_constrain_sram_world_0_pms_3( &mut self, ) -> DMA_APBPERI_SHA_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_3_W @@ -178,7 +174,6 @@ impl W { } #[doc = "Bits 12:13 - dma_apbperi_sha_pms_constrain_sram_world_1_pms_0"] #[inline(always)] - #[must_use] pub fn dma_apbperi_sha_pms_constrain_sram_world_1_pms_0( &mut self, ) -> DMA_APBPERI_SHA_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_0_W @@ -187,7 +182,6 @@ impl W { } #[doc = "Bits 14:15 - dma_apbperi_sha_pms_constrain_sram_world_1_pms_1"] #[inline(always)] - #[must_use] pub fn dma_apbperi_sha_pms_constrain_sram_world_1_pms_1( &mut self, ) -> DMA_APBPERI_SHA_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_1_W @@ -196,7 +190,6 @@ impl W { } #[doc = "Bits 16:17 - dma_apbperi_sha_pms_constrain_sram_world_1_pms_2"] #[inline(always)] - #[must_use] pub fn dma_apbperi_sha_pms_constrain_sram_world_1_pms_2( &mut self, ) -> DMA_APBPERI_SHA_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_2_W @@ -205,7 +198,6 @@ impl W { } #[doc = "Bits 18:19 - dma_apbperi_sha_pms_constrain_sram_world_1_pms_3"] #[inline(always)] - #[must_use] pub fn dma_apbperi_sha_pms_constrain_sram_world_1_pms_3( &mut self, ) -> DMA_APBPERI_SHA_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_3_W diff --git a/esp32c3/src/sensitive/dma_apbperi_spi2_pms_constrain_0.rs b/esp32c3/src/sensitive/dma_apbperi_spi2_pms_constrain_0.rs index cc47248c4e..f4e946ce2e 100644 --- a/esp32c3/src/sensitive/dma_apbperi_spi2_pms_constrain_0.rs +++ b/esp32c3/src/sensitive/dma_apbperi_spi2_pms_constrain_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - dma_apbperi_spi2_pms_constrain_lock"] #[inline(always)] - #[must_use] pub fn dma_apbperi_spi2_pms_constrain_lock( &mut self, ) -> DMA_APBPERI_SPI2_PMS_CONSTRAIN_LOCK_W { diff --git a/esp32c3/src/sensitive/dma_apbperi_spi2_pms_constrain_1.rs b/esp32c3/src/sensitive/dma_apbperi_spi2_pms_constrain_1.rs index 7cf7d1f790..009901a540 100644 --- a/esp32c3/src/sensitive/dma_apbperi_spi2_pms_constrain_1.rs +++ b/esp32c3/src/sensitive/dma_apbperi_spi2_pms_constrain_1.rs @@ -142,7 +142,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - dma_apbperi_spi2_pms_constrain_sram_world_0_pms_0"] #[inline(always)] - #[must_use] pub fn dma_apbperi_spi2_pms_constrain_sram_world_0_pms_0( &mut self, ) -> DMA_APBPERI_SPI2_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_0_W @@ -151,7 +150,6 @@ impl W { } #[doc = "Bits 2:3 - dma_apbperi_spi2_pms_constrain_sram_world_0_pms_1"] #[inline(always)] - #[must_use] pub fn dma_apbperi_spi2_pms_constrain_sram_world_0_pms_1( &mut self, ) -> DMA_APBPERI_SPI2_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_1_W @@ -160,7 +158,6 @@ impl W { } #[doc = "Bits 4:5 - dma_apbperi_spi2_pms_constrain_sram_world_0_pms_2"] #[inline(always)] - #[must_use] pub fn dma_apbperi_spi2_pms_constrain_sram_world_0_pms_2( &mut self, ) -> DMA_APBPERI_SPI2_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_2_W @@ -169,7 +166,6 @@ impl W { } #[doc = "Bits 6:7 - dma_apbperi_spi2_pms_constrain_sram_world_0_pms_3"] #[inline(always)] - #[must_use] pub fn dma_apbperi_spi2_pms_constrain_sram_world_0_pms_3( &mut self, ) -> DMA_APBPERI_SPI2_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_3_W @@ -178,7 +174,6 @@ impl W { } #[doc = "Bits 12:13 - dma_apbperi_spi2_pms_constrain_sram_world_1_pms_0"] #[inline(always)] - #[must_use] pub fn dma_apbperi_spi2_pms_constrain_sram_world_1_pms_0( &mut self, ) -> DMA_APBPERI_SPI2_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_0_W @@ -187,7 +182,6 @@ impl W { } #[doc = "Bits 14:15 - dma_apbperi_spi2_pms_constrain_sram_world_1_pms_1"] #[inline(always)] - #[must_use] pub fn dma_apbperi_spi2_pms_constrain_sram_world_1_pms_1( &mut self, ) -> DMA_APBPERI_SPI2_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_1_W @@ -196,7 +190,6 @@ impl W { } #[doc = "Bits 16:17 - dma_apbperi_spi2_pms_constrain_sram_world_1_pms_2"] #[inline(always)] - #[must_use] pub fn dma_apbperi_spi2_pms_constrain_sram_world_1_pms_2( &mut self, ) -> DMA_APBPERI_SPI2_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_2_W @@ -205,7 +198,6 @@ impl W { } #[doc = "Bits 18:19 - dma_apbperi_spi2_pms_constrain_sram_world_1_pms_3"] #[inline(always)] - #[must_use] pub fn dma_apbperi_spi2_pms_constrain_sram_world_1_pms_3( &mut self, ) -> DMA_APBPERI_SPI2_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_3_W diff --git a/esp32c3/src/sensitive/dma_apbperi_uchi0_pms_constrain_0.rs b/esp32c3/src/sensitive/dma_apbperi_uchi0_pms_constrain_0.rs index 6f05ffab54..1f4ef4dad0 100644 --- a/esp32c3/src/sensitive/dma_apbperi_uchi0_pms_constrain_0.rs +++ b/esp32c3/src/sensitive/dma_apbperi_uchi0_pms_constrain_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - dma_apbperi_uchi0_pms_constrain_lock"] #[inline(always)] - #[must_use] pub fn dma_apbperi_uchi0_pms_constrain_lock( &mut self, ) -> DMA_APBPERI_UCHI0_PMS_CONSTRAIN_LOCK_W { diff --git a/esp32c3/src/sensitive/dma_apbperi_uchi0_pms_constrain_1.rs b/esp32c3/src/sensitive/dma_apbperi_uchi0_pms_constrain_1.rs index 66d8eff890..88faf5f98f 100644 --- a/esp32c3/src/sensitive/dma_apbperi_uchi0_pms_constrain_1.rs +++ b/esp32c3/src/sensitive/dma_apbperi_uchi0_pms_constrain_1.rs @@ -142,7 +142,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - dma_apbperi_uchi0_pms_constrain_sram_world_0_pms_0"] #[inline(always)] - #[must_use] pub fn dma_apbperi_uchi0_pms_constrain_sram_world_0_pms_0( &mut self, ) -> DMA_APBPERI_UCHI0_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_0_W @@ -151,7 +150,6 @@ impl W { } #[doc = "Bits 2:3 - dma_apbperi_uchi0_pms_constrain_sram_world_0_pms_1"] #[inline(always)] - #[must_use] pub fn dma_apbperi_uchi0_pms_constrain_sram_world_0_pms_1( &mut self, ) -> DMA_APBPERI_UCHI0_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_1_W @@ -160,7 +158,6 @@ impl W { } #[doc = "Bits 4:5 - dma_apbperi_uchi0_pms_constrain_sram_world_0_pms_2"] #[inline(always)] - #[must_use] pub fn dma_apbperi_uchi0_pms_constrain_sram_world_0_pms_2( &mut self, ) -> DMA_APBPERI_UCHI0_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_2_W @@ -169,7 +166,6 @@ impl W { } #[doc = "Bits 6:7 - dma_apbperi_uchi0_pms_constrain_sram_world_0_pms_3"] #[inline(always)] - #[must_use] pub fn dma_apbperi_uchi0_pms_constrain_sram_world_0_pms_3( &mut self, ) -> DMA_APBPERI_UCHI0_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_3_W @@ -178,7 +174,6 @@ impl W { } #[doc = "Bits 12:13 - dma_apbperi_uchi0_pms_constrain_sram_world_1_pms_0"] #[inline(always)] - #[must_use] pub fn dma_apbperi_uchi0_pms_constrain_sram_world_1_pms_0( &mut self, ) -> DMA_APBPERI_UCHI0_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_0_W @@ -187,7 +182,6 @@ impl W { } #[doc = "Bits 14:15 - dma_apbperi_uchi0_pms_constrain_sram_world_1_pms_1"] #[inline(always)] - #[must_use] pub fn dma_apbperi_uchi0_pms_constrain_sram_world_1_pms_1( &mut self, ) -> DMA_APBPERI_UCHI0_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_1_W @@ -196,7 +190,6 @@ impl W { } #[doc = "Bits 16:17 - dma_apbperi_uchi0_pms_constrain_sram_world_1_pms_2"] #[inline(always)] - #[must_use] pub fn dma_apbperi_uchi0_pms_constrain_sram_world_1_pms_2( &mut self, ) -> DMA_APBPERI_UCHI0_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_2_W @@ -205,7 +198,6 @@ impl W { } #[doc = "Bits 18:19 - dma_apbperi_uchi0_pms_constrain_sram_world_1_pms_3"] #[inline(always)] - #[must_use] pub fn dma_apbperi_uchi0_pms_constrain_sram_world_1_pms_3( &mut self, ) -> DMA_APBPERI_UCHI0_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_3_W diff --git a/esp32c3/src/sensitive/internal_sram_usage_0.rs b/esp32c3/src/sensitive/internal_sram_usage_0.rs index 13fe648c80..d85ddcfcad 100644 --- a/esp32c3/src/sensitive/internal_sram_usage_0.rs +++ b/esp32c3/src/sensitive/internal_sram_usage_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - internal_sram_usage_lock"] #[inline(always)] - #[must_use] pub fn internal_sram_usage_lock( &mut self, ) -> INTERNAL_SRAM_USAGE_LOCK_W { diff --git a/esp32c3/src/sensitive/internal_sram_usage_1.rs b/esp32c3/src/sensitive/internal_sram_usage_1.rs index 208a8feb84..ec7d63365d 100644 --- a/esp32c3/src/sensitive/internal_sram_usage_1.rs +++ b/esp32c3/src/sensitive/internal_sram_usage_1.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - internal_sram_usage_cpu_cache"] #[inline(always)] - #[must_use] pub fn internal_sram_usage_cpu_cache( &mut self, ) -> INTERNAL_SRAM_USAGE_CPU_CACHE_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bits 1:3 - internal_sram_usage_cpu_sram"] #[inline(always)] - #[must_use] pub fn internal_sram_usage_cpu_sram( &mut self, ) -> INTERNAL_SRAM_USAGE_CPU_SRAM_W { diff --git a/esp32c3/src/sensitive/internal_sram_usage_3.rs b/esp32c3/src/sensitive/internal_sram_usage_3.rs index ee9eedf5eb..b621f1ddc4 100644 --- a/esp32c3/src/sensitive/internal_sram_usage_3.rs +++ b/esp32c3/src/sensitive/internal_sram_usage_3.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - internal_sram_usage_mac_dump_sram"] #[inline(always)] - #[must_use] pub fn internal_sram_usage_mac_dump_sram( &mut self, ) -> INTERNAL_SRAM_USAGE_MAC_DUMP_SRAM_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bit 3 - internal_sram_alloc_mac_dump"] #[inline(always)] - #[must_use] pub fn internal_sram_alloc_mac_dump( &mut self, ) -> INTERNAL_SRAM_ALLOC_MAC_DUMP_W { diff --git a/esp32c3/src/sensitive/internal_sram_usage_4.rs b/esp32c3/src/sensitive/internal_sram_usage_4.rs index 23aaaf6188..991402fb79 100644 --- a/esp32c3/src/sensitive/internal_sram_usage_4.rs +++ b/esp32c3/src/sensitive/internal_sram_usage_4.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - internal_sram_usage_log_sram"] #[inline(always)] - #[must_use] pub fn internal_sram_usage_log_sram( &mut self, ) -> INTERNAL_SRAM_USAGE_LOG_SRAM_W { diff --git a/esp32c3/src/sensitive/privilege_mode_sel.rs b/esp32c3/src/sensitive/privilege_mode_sel.rs index d52e4ceaf6..4153542673 100644 --- a/esp32c3/src/sensitive/privilege_mode_sel.rs +++ b/esp32c3/src/sensitive/privilege_mode_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - privilege_mode_sel"] #[inline(always)] - #[must_use] pub fn privilege_mode_sel(&mut self) -> PRIVILEGE_MODE_SEL_W { PRIVILEGE_MODE_SEL_W::new(self, 0) } diff --git a/esp32c3/src/sensitive/privilege_mode_sel_lock.rs b/esp32c3/src/sensitive/privilege_mode_sel_lock.rs index 5421307374..4f33dedcc4 100644 --- a/esp32c3/src/sensitive/privilege_mode_sel_lock.rs +++ b/esp32c3/src/sensitive/privilege_mode_sel_lock.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - privilege_mode_sel_lock"] #[inline(always)] - #[must_use] pub fn privilege_mode_sel_lock( &mut self, ) -> PRIVILEGE_MODE_SEL_LOCK_W { diff --git a/esp32c3/src/sensitive/region_pms_constrain_0.rs b/esp32c3/src/sensitive/region_pms_constrain_0.rs index 8412672346..a22026861f 100644 --- a/esp32c3/src/sensitive/region_pms_constrain_0.rs +++ b/esp32c3/src/sensitive/region_pms_constrain_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - region_pms_constrain_lock"] #[inline(always)] - #[must_use] pub fn region_pms_constrain_lock( &mut self, ) -> REGION_PMS_CONSTRAIN_LOCK_W { diff --git a/esp32c3/src/sensitive/region_pms_constrain_1.rs b/esp32c3/src/sensitive/region_pms_constrain_1.rs index 6241781894..0954888241 100644 --- a/esp32c3/src/sensitive/region_pms_constrain_1.rs +++ b/esp32c3/src/sensitive/region_pms_constrain_1.rs @@ -105,7 +105,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - region_pms_constrain_world_0_area_0"] #[inline(always)] - #[must_use] pub fn region_pms_constrain_world_0_area_0( &mut self, ) -> REGION_PMS_CONSTRAIN_WORLD_0_AREA_0_W { @@ -113,7 +112,6 @@ impl W { } #[doc = "Bits 2:3 - region_pms_constrain_world_0_area_1"] #[inline(always)] - #[must_use] pub fn region_pms_constrain_world_0_area_1( &mut self, ) -> REGION_PMS_CONSTRAIN_WORLD_0_AREA_1_W { @@ -121,7 +119,6 @@ impl W { } #[doc = "Bits 4:5 - region_pms_constrain_world_0_area_2"] #[inline(always)] - #[must_use] pub fn region_pms_constrain_world_0_area_2( &mut self, ) -> REGION_PMS_CONSTRAIN_WORLD_0_AREA_2_W { @@ -129,7 +126,6 @@ impl W { } #[doc = "Bits 6:7 - region_pms_constrain_world_0_area_3"] #[inline(always)] - #[must_use] pub fn region_pms_constrain_world_0_area_3( &mut self, ) -> REGION_PMS_CONSTRAIN_WORLD_0_AREA_3_W { @@ -137,7 +133,6 @@ impl W { } #[doc = "Bits 8:9 - region_pms_constrain_world_0_area_4"] #[inline(always)] - #[must_use] pub fn region_pms_constrain_world_0_area_4( &mut self, ) -> REGION_PMS_CONSTRAIN_WORLD_0_AREA_4_W { @@ -145,7 +140,6 @@ impl W { } #[doc = "Bits 10:11 - region_pms_constrain_world_0_area_5"] #[inline(always)] - #[must_use] pub fn region_pms_constrain_world_0_area_5( &mut self, ) -> REGION_PMS_CONSTRAIN_WORLD_0_AREA_5_W { @@ -153,7 +147,6 @@ impl W { } #[doc = "Bits 12:13 - region_pms_constrain_world_0_area_6"] #[inline(always)] - #[must_use] pub fn region_pms_constrain_world_0_area_6( &mut self, ) -> REGION_PMS_CONSTRAIN_WORLD_0_AREA_6_W { diff --git a/esp32c3/src/sensitive/region_pms_constrain_10.rs b/esp32c3/src/sensitive/region_pms_constrain_10.rs index f67343b1dd..bfcc4e7018 100644 --- a/esp32c3/src/sensitive/region_pms_constrain_10.rs +++ b/esp32c3/src/sensitive/region_pms_constrain_10.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - region_pms_constrain_addr_7"] #[inline(always)] - #[must_use] pub fn region_pms_constrain_addr_7( &mut self, ) -> REGION_PMS_CONSTRAIN_ADDR_7_W { diff --git a/esp32c3/src/sensitive/region_pms_constrain_2.rs b/esp32c3/src/sensitive/region_pms_constrain_2.rs index 00122f5aef..7ec1cacfee 100644 --- a/esp32c3/src/sensitive/region_pms_constrain_2.rs +++ b/esp32c3/src/sensitive/region_pms_constrain_2.rs @@ -105,7 +105,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - region_pms_constrain_world_1_area_0"] #[inline(always)] - #[must_use] pub fn region_pms_constrain_world_1_area_0( &mut self, ) -> REGION_PMS_CONSTRAIN_WORLD_1_AREA_0_W { @@ -113,7 +112,6 @@ impl W { } #[doc = "Bits 2:3 - region_pms_constrain_world_1_area_1"] #[inline(always)] - #[must_use] pub fn region_pms_constrain_world_1_area_1( &mut self, ) -> REGION_PMS_CONSTRAIN_WORLD_1_AREA_1_W { @@ -121,7 +119,6 @@ impl W { } #[doc = "Bits 4:5 - region_pms_constrain_world_1_area_2"] #[inline(always)] - #[must_use] pub fn region_pms_constrain_world_1_area_2( &mut self, ) -> REGION_PMS_CONSTRAIN_WORLD_1_AREA_2_W { @@ -129,7 +126,6 @@ impl W { } #[doc = "Bits 6:7 - region_pms_constrain_world_1_area_3"] #[inline(always)] - #[must_use] pub fn region_pms_constrain_world_1_area_3( &mut self, ) -> REGION_PMS_CONSTRAIN_WORLD_1_AREA_3_W { @@ -137,7 +133,6 @@ impl W { } #[doc = "Bits 8:9 - region_pms_constrain_world_1_area_4"] #[inline(always)] - #[must_use] pub fn region_pms_constrain_world_1_area_4( &mut self, ) -> REGION_PMS_CONSTRAIN_WORLD_1_AREA_4_W { @@ -145,7 +140,6 @@ impl W { } #[doc = "Bits 10:11 - region_pms_constrain_world_1_area_5"] #[inline(always)] - #[must_use] pub fn region_pms_constrain_world_1_area_5( &mut self, ) -> REGION_PMS_CONSTRAIN_WORLD_1_AREA_5_W { @@ -153,7 +147,6 @@ impl W { } #[doc = "Bits 12:13 - region_pms_constrain_world_1_area_6"] #[inline(always)] - #[must_use] pub fn region_pms_constrain_world_1_area_6( &mut self, ) -> REGION_PMS_CONSTRAIN_WORLD_1_AREA_6_W { diff --git a/esp32c3/src/sensitive/region_pms_constrain_3.rs b/esp32c3/src/sensitive/region_pms_constrain_3.rs index 58d185934c..0f8d93489f 100644 --- a/esp32c3/src/sensitive/region_pms_constrain_3.rs +++ b/esp32c3/src/sensitive/region_pms_constrain_3.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - region_pms_constrain_addr_0"] #[inline(always)] - #[must_use] pub fn region_pms_constrain_addr_0( &mut self, ) -> REGION_PMS_CONSTRAIN_ADDR_0_W { diff --git a/esp32c3/src/sensitive/region_pms_constrain_4.rs b/esp32c3/src/sensitive/region_pms_constrain_4.rs index 40175707b2..cfd548a057 100644 --- a/esp32c3/src/sensitive/region_pms_constrain_4.rs +++ b/esp32c3/src/sensitive/region_pms_constrain_4.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - region_pms_constrain_addr_1"] #[inline(always)] - #[must_use] pub fn region_pms_constrain_addr_1( &mut self, ) -> REGION_PMS_CONSTRAIN_ADDR_1_W { diff --git a/esp32c3/src/sensitive/region_pms_constrain_5.rs b/esp32c3/src/sensitive/region_pms_constrain_5.rs index 998ea0acf6..3fe2c307d7 100644 --- a/esp32c3/src/sensitive/region_pms_constrain_5.rs +++ b/esp32c3/src/sensitive/region_pms_constrain_5.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - region_pms_constrain_addr_2"] #[inline(always)] - #[must_use] pub fn region_pms_constrain_addr_2( &mut self, ) -> REGION_PMS_CONSTRAIN_ADDR_2_W { diff --git a/esp32c3/src/sensitive/region_pms_constrain_6.rs b/esp32c3/src/sensitive/region_pms_constrain_6.rs index aa5820c6e4..f78c525e94 100644 --- a/esp32c3/src/sensitive/region_pms_constrain_6.rs +++ b/esp32c3/src/sensitive/region_pms_constrain_6.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - region_pms_constrain_addr_3"] #[inline(always)] - #[must_use] pub fn region_pms_constrain_addr_3( &mut self, ) -> REGION_PMS_CONSTRAIN_ADDR_3_W { diff --git a/esp32c3/src/sensitive/region_pms_constrain_7.rs b/esp32c3/src/sensitive/region_pms_constrain_7.rs index d121a16cbc..b55d0d4612 100644 --- a/esp32c3/src/sensitive/region_pms_constrain_7.rs +++ b/esp32c3/src/sensitive/region_pms_constrain_7.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - region_pms_constrain_addr_4"] #[inline(always)] - #[must_use] pub fn region_pms_constrain_addr_4( &mut self, ) -> REGION_PMS_CONSTRAIN_ADDR_4_W { diff --git a/esp32c3/src/sensitive/region_pms_constrain_8.rs b/esp32c3/src/sensitive/region_pms_constrain_8.rs index efeabc748d..5f5b779f4f 100644 --- a/esp32c3/src/sensitive/region_pms_constrain_8.rs +++ b/esp32c3/src/sensitive/region_pms_constrain_8.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - region_pms_constrain_addr_5"] #[inline(always)] - #[must_use] pub fn region_pms_constrain_addr_5( &mut self, ) -> REGION_PMS_CONSTRAIN_ADDR_5_W { diff --git a/esp32c3/src/sensitive/region_pms_constrain_9.rs b/esp32c3/src/sensitive/region_pms_constrain_9.rs index 744412a415..21a8d0bea8 100644 --- a/esp32c3/src/sensitive/region_pms_constrain_9.rs +++ b/esp32c3/src/sensitive/region_pms_constrain_9.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - region_pms_constrain_addr_6"] #[inline(always)] - #[must_use] pub fn region_pms_constrain_addr_6( &mut self, ) -> REGION_PMS_CONSTRAIN_ADDR_6_W { diff --git a/esp32c3/src/sensitive/rom_table.rs b/esp32c3/src/sensitive/rom_table.rs index e46f630b02..f7e6f50f8f 100644 --- a/esp32c3/src/sensitive/rom_table.rs +++ b/esp32c3/src/sensitive/rom_table.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - rom_table"] #[inline(always)] - #[must_use] pub fn rom_table(&mut self) -> ROM_TABLE_W { ROM_TABLE_W::new(self, 0) } diff --git a/esp32c3/src/sensitive/rom_table_lock.rs b/esp32c3/src/sensitive/rom_table_lock.rs index 01a055af12..50c9c29846 100644 --- a/esp32c3/src/sensitive/rom_table_lock.rs +++ b/esp32c3/src/sensitive/rom_table_lock.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - rom_table_lock"] #[inline(always)] - #[must_use] pub fn rom_table_lock(&mut self) -> ROM_TABLE_LOCK_W { ROM_TABLE_LOCK_W::new(self, 0) } diff --git a/esp32c3/src/sha/clear_irq.rs b/esp32c3/src/sha/clear_irq.rs index ce258b7da4..ac34dbeaa9 100644 --- a/esp32c3/src/sha/clear_irq.rs +++ b/esp32c3/src/sha/clear_irq.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Clear sha interrupt."] #[inline(always)] - #[must_use] pub fn clear_interrupt(&mut self) -> CLEAR_INTERRUPT_W { CLEAR_INTERRUPT_W::new(self, 0) } diff --git a/esp32c3/src/sha/continue_.rs b/esp32c3/src/sha/continue_.rs index 27120199be..ead2cd67b6 100644 --- a/esp32c3/src/sha/continue_.rs +++ b/esp32c3/src/sha/continue_.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 1:31 - Reserved."] #[inline(always)] - #[must_use] pub fn continue_(&mut self) -> CONTINUE_W { CONTINUE_W::new(self, 1) } diff --git a/esp32c3/src/sha/date.rs b/esp32c3/src/sha/date.rs index c2cb22bcf1..26ee7381c8 100644 --- a/esp32c3/src/sha/date.rs +++ b/esp32c3/src/sha/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Sha date information/ sha version information."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c3/src/sha/dma_block_num.rs b/esp32c3/src/sha/dma_block_num.rs index 12fd0d0103..658a579ae7 100644 --- a/esp32c3/src/sha/dma_block_num.rs +++ b/esp32c3/src/sha/dma_block_num.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - Dma-sha block number."] #[inline(always)] - #[must_use] pub fn dma_block_num(&mut self) -> DMA_BLOCK_NUM_W { DMA_BLOCK_NUM_W::new(self, 0) } diff --git a/esp32c3/src/sha/dma_continue.rs b/esp32c3/src/sha/dma_continue.rs index 9a52b90032..1e1cfdb7bc 100644 --- a/esp32c3/src/sha/dma_continue.rs +++ b/esp32c3/src/sha/dma_continue.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Continue dma-sha."] #[inline(always)] - #[must_use] pub fn dma_continue(&mut self) -> DMA_CONTINUE_W { DMA_CONTINUE_W::new(self, 0) } diff --git a/esp32c3/src/sha/dma_start.rs b/esp32c3/src/sha/dma_start.rs index 346a607e69..dd22dab31b 100644 --- a/esp32c3/src/sha/dma_start.rs +++ b/esp32c3/src/sha/dma_start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Start dma-sha."] #[inline(always)] - #[must_use] pub fn dma_start(&mut self) -> DMA_START_W { DMA_START_W::new(self, 0) } diff --git a/esp32c3/src/sha/irq_ena.rs b/esp32c3/src/sha/irq_ena.rs index 2a97464d29..9d8bc94a1f 100644 --- a/esp32c3/src/sha/irq_ena.rs +++ b/esp32c3/src/sha/irq_ena.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Sha interrupt enable register. 1'b0: disable(default). 1'b1: enable."] #[inline(always)] - #[must_use] pub fn interrupt_ena(&mut self) -> INTERRUPT_ENA_W { INTERRUPT_ENA_W::new(self, 0) } diff --git a/esp32c3/src/sha/mode.rs b/esp32c3/src/sha/mode.rs index e03dfab74c..e064361f45 100644 --- a/esp32c3/src/sha/mode.rs +++ b/esp32c3/src/sha/mode.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - Sha mode."] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 0) } diff --git a/esp32c3/src/sha/start.rs b/esp32c3/src/sha/start.rs index 54c992b28d..0cdec59d1f 100644 --- a/esp32c3/src/sha/start.rs +++ b/esp32c3/src/sha/start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 1:31 - Reserved."] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 1) } diff --git a/esp32c3/src/sha/t_length.rs b/esp32c3/src/sha/t_length.rs index bfa7857b78..98ff3bfc48 100644 --- a/esp32c3/src/sha/t_length.rs +++ b/esp32c3/src/sha/t_length.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - Sha t_length (used if and only if mode == SHA_512/t)."] #[inline(always)] - #[must_use] pub fn t_length(&mut self) -> T_LENGTH_W { T_LENGTH_W::new(self, 0) } diff --git a/esp32c3/src/sha/t_string.rs b/esp32c3/src/sha/t_string.rs index ec795b2910..216fb30fb1 100644 --- a/esp32c3/src/sha/t_string.rs +++ b/esp32c3/src/sha/t_string.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Sha t_string (used if and only if mode == SHA_512/t)."] #[inline(always)] - #[must_use] pub fn t_string(&mut self) -> T_STRING_W { T_STRING_W::new(self, 0) } diff --git a/esp32c3/src/spi0/cache_fctrl.rs b/esp32c3/src/spi0/cache_fctrl.rs index 116574e8f4..00f6752bc2 100644 --- a/esp32c3/src/spi0/cache_fctrl.rs +++ b/esp32c3/src/spi0/cache_fctrl.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - For SPI0, Cache access enable, 1: enable, 0:disable."] #[inline(always)] - #[must_use] pub fn cache_req_en(&mut self) -> CACHE_REQ_EN_W { CACHE_REQ_EN_W::new(self, 0) } #[doc = "Bit 1 - For SPI0, cache read flash with 4 bytes address, 1: enable, 0:disable."] #[inline(always)] - #[must_use] pub fn cache_usr_addr_4byte(&mut self) -> CACHE_USR_ADDR_4BYTE_W { CACHE_USR_ADDR_4BYTE_W::new(self, 1) } #[doc = "Bit 2 - For SPI0, cache read flash for user define command, 1: enable, 0:disable."] #[inline(always)] - #[must_use] pub fn cache_flash_usr_cmd(&mut self) -> CACHE_FLASH_USR_CMD_W { CACHE_FLASH_USR_CMD_W::new(self, 2) } #[doc = "Bit 3 - For SPI0 flash, din phase apply 2 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_dio."] #[inline(always)] - #[must_use] pub fn fdin_dual(&mut self) -> FDIN_DUAL_W { FDIN_DUAL_W::new(self, 3) } #[doc = "Bit 4 - For SPI0 flash, dout phase apply 2 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_dio."] #[inline(always)] - #[must_use] pub fn fdout_dual(&mut self) -> FDOUT_DUAL_W { FDOUT_DUAL_W::new(self, 4) } #[doc = "Bit 5 - For SPI0 flash, address phase apply 2 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_dio."] #[inline(always)] - #[must_use] pub fn faddr_dual(&mut self) -> FADDR_DUAL_W { FADDR_DUAL_W::new(self, 5) } #[doc = "Bit 6 - For SPI0 flash, din phase apply 4 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_qio."] #[inline(always)] - #[must_use] pub fn fdin_quad(&mut self) -> FDIN_QUAD_W { FDIN_QUAD_W::new(self, 6) } #[doc = "Bit 7 - For SPI0 flash, dout phase apply 4 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_qio."] #[inline(always)] - #[must_use] pub fn fdout_quad(&mut self) -> FDOUT_QUAD_W { FDOUT_QUAD_W::new(self, 7) } #[doc = "Bit 8 - For SPI0 flash, address phase apply 4 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_qio."] #[inline(always)] - #[must_use] pub fn faddr_quad(&mut self) -> FADDR_QUAD_W { FADDR_QUAD_W::new(self, 8) } diff --git a/esp32c3/src/spi0/clock.rs b/esp32c3/src/spi0/clock.rs index b8fc3ec668..67b057222c 100644 --- a/esp32c3/src/spi0/clock.rs +++ b/esp32c3/src/spi0/clock.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In the master mode it must be equal to spi_mem_clkcnt_N."] #[inline(always)] - #[must_use] pub fn clkcnt_l(&mut self) -> CLKCNT_L_W { CLKCNT_L_W::new(self, 0) } #[doc = "Bits 8:15 - In the master mode it must be floor((spi_mem_clkcnt_N+1)/2-1)."] #[inline(always)] - #[must_use] pub fn clkcnt_h(&mut self) -> CLKCNT_H_W { CLKCNT_H_W::new(self, 8) } #[doc = "Bits 16:23 - In the master mode it is the divider of spi_mem_clk. So spi_mem_clk frequency is system/(spi_mem_clkcnt_N+1)"] #[inline(always)] - #[must_use] pub fn clkcnt_n(&mut self) -> CLKCNT_N_W { CLKCNT_N_W::new(self, 16) } #[doc = "Bit 31 - Set this bit in 1-division mode."] #[inline(always)] - #[must_use] pub fn clk_equ_sysclk(&mut self) -> CLK_EQU_SYSCLK_W { CLK_EQU_SYSCLK_W::new(self, 31) } diff --git a/esp32c3/src/spi0/clock_gate.rs b/esp32c3/src/spi0/clock_gate.rs index 86a5536d5c..d2c393bb91 100644 --- a/esp32c3/src/spi0/clock_gate.rs +++ b/esp32c3/src/spi0/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Register clock gate enable signal. 1: Enable. 0: Disable."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32c3/src/spi0/core_clk_sel.rs b/esp32c3/src/spi0/core_clk_sel.rs index 0b435c0579..de48f1414c 100644 --- a/esp32c3/src/spi0/core_clk_sel.rs +++ b/esp32c3/src/spi0/core_clk_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - When the digital system clock selects PLL clock and the frequency of PLL clock is 480MHz, the value of reg_spi01_clk_sel: 0: SPI0/1 module clock (clk) is 80MHz. 1: SPI0/1 module clock (clk) is 120MHz. 2: SPI0/1 module clock (clk) 160MHz. 3: Not used. When the digital system clock selects PLL clock and the frequency of PLL clock is 320MHz, the value of reg_spi01_clk_sel: 0: SPI0/1 module clock (clk) is 80MHz. 1: SPI0/1 module clock (clk) is 80MHz. 2: SPI0/1 module clock (clk) 160MHz. 3: Not used."] #[inline(always)] - #[must_use] pub fn spi01_clk_sel(&mut self) -> SPI01_CLK_SEL_W { SPI01_CLK_SEL_W::new(self, 0) } diff --git a/esp32c3/src/spi0/ctrl.rs b/esp32c3/src/spi0/ctrl.rs index 960235251e..5a1c8af3ad 100644 --- a/esp32c3/src/spi0/ctrl.rs +++ b/esp32c3/src/spi0/ctrl.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - In the dummy phase the signal level of spi is output by the spi controller."] #[inline(always)] - #[must_use] pub fn fdummy_out(&mut self) -> FDUMMY_OUT_W { FDUMMY_OUT_W::new(self, 3) } #[doc = "Bit 7 - Apply 2 signals during command phase 1:enable 0: disable"] #[inline(always)] - #[must_use] pub fn fcmd_dual(&mut self) -> FCMD_DUAL_W { FCMD_DUAL_W::new(self, 7) } #[doc = "Bit 8 - Apply 4 signals during command phase 1:enable 0: disable"] #[inline(always)] - #[must_use] pub fn fcmd_quad(&mut self) -> FCMD_QUAD_W { FCMD_QUAD_W::new(self, 8) } #[doc = "Bit 13 - This bit enable the bits: spi_mem_fread_qio, spi_mem_fread_dio, spi_mem_fread_qout and spi_mem_fread_dout. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fastrd_mode(&mut self) -> FASTRD_MODE_W { FASTRD_MODE_W::new(self, 13) } #[doc = "Bit 14 - In the read operations, read-data phase apply 2 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_dual(&mut self) -> FREAD_DUAL_W { FREAD_DUAL_W::new(self, 14) } #[doc = "Bit 18 - The bit is used to set MISO line polarity, 1: high 0, low"] #[inline(always)] - #[must_use] pub fn q_pol(&mut self) -> Q_POL_W { Q_POL_W::new(self, 18) } #[doc = "Bit 19 - The bit is used to set MOSI line polarity, 1: high 0, low"] #[inline(always)] - #[must_use] pub fn d_pol(&mut self) -> D_POL_W { D_POL_W::new(self, 19) } #[doc = "Bit 20 - In the read operations read-data phase apply 4 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_quad(&mut self) -> FREAD_QUAD_W { FREAD_QUAD_W::new(self, 20) } #[doc = "Bit 21 - Write protect signal output when SPI is idle. 1: output high, 0: output low."] #[inline(always)] - #[must_use] pub fn wp(&mut self) -> WP_W { WP_W::new(self, 21) } #[doc = "Bit 23 - In the read operations address phase and read-data phase apply 2 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_dio(&mut self) -> FREAD_DIO_W { FREAD_DIO_W::new(self, 23) } #[doc = "Bit 24 - In the read operations address phase and read-data phase apply 4 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_qio(&mut self) -> FREAD_QIO_W { FREAD_QIO_W::new(self, 24) } diff --git a/esp32c3/src/spi0/ctrl1.rs b/esp32c3/src/spi0/ctrl1.rs index 4b3f943750..c439d34199 100644 --- a/esp32c3/src/spi0/ctrl1.rs +++ b/esp32c3/src/spi0/ctrl1.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - SPI clock mode bits. 0: SPI clock is off when CS inactive 1: SPI clock is delayed one cycle after CS inactive 2: SPI clock is delayed two cycles after CS inactive 3: SPI clock is alwasy on."] #[inline(always)] - #[must_use] pub fn clk_mode(&mut self) -> CLK_MODE_W { CLK_MODE_W::new(self, 0) } #[doc = "Bit 30 - SPI0 RX FIFO reset signal."] #[inline(always)] - #[must_use] pub fn rxfifo_rst(&mut self) -> RXFIFO_RST_W { RXFIFO_RST_W::new(self, 30) } diff --git a/esp32c3/src/spi0/ctrl2.rs b/esp32c3/src/spi0/ctrl2.rs index 3be3e6bcdc..10f026f7fa 100644 --- a/esp32c3/src/spi0/ctrl2.rs +++ b/esp32c3/src/spi0/ctrl2.rs @@ -46,25 +46,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - (cycles-1) of prepare phase by spi clock this bits are combined with spi_mem_cs_setup bit."] #[inline(always)] - #[must_use] pub fn cs_setup_time(&mut self) -> CS_SETUP_TIME_W { CS_SETUP_TIME_W::new(self, 0) } #[doc = "Bits 5:9 - Spi cs signal is delayed to inactive by spi clock this bits are combined with spi_mem_cs_hold bit."] #[inline(always)] - #[must_use] pub fn cs_hold_time(&mut self) -> CS_HOLD_TIME_W { CS_HOLD_TIME_W::new(self, 5) } #[doc = "Bits 25:30 - These bits are used to set the minimum CS high time tSHSL between SPI burst transfer when accesses to flash. tSHSL is (SPI_MEM_CS_HOLD_DELAY\\[5:0\\] + 1) MSPI core clock cycles."] #[inline(always)] - #[must_use] pub fn cs_hold_delay(&mut self) -> CS_HOLD_DELAY_W { CS_HOLD_DELAY_W::new(self, 25) } #[doc = "Bit 31 - The FSM will be reset."] #[inline(always)] - #[must_use] pub fn sync_reset(&mut self) -> SYNC_RESET_W { SYNC_RESET_W::new(self, 31) } diff --git a/esp32c3/src/spi0/date.rs b/esp32c3/src/spi0/date.rs index 64f78c05ba..c2f31a4c39 100644 --- a/esp32c3/src/spi0/date.rs +++ b/esp32c3/src/spi0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - SPI register version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c3/src/spi0/din_mode.rs b/esp32c3/src/spi0/din_mode.rs index 1fd957fa6b..ba5849a856 100644 --- a/esp32c3/src/spi0/din_mode.rs +++ b/esp32c3/src/spi0/din_mode.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the posedge of clk_160, 4 input with the negedge of clk_160, 5: input with the spi_clk high edge, 6: input with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn din0_mode(&mut self) -> DIN0_MODE_W { DIN0_MODE_W::new(self, 0) } #[doc = "Bits 2:3 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the posedge of clk_160, 4 input with the negedge of clk_160, 5: input with the spi_clk high edge, 6: input with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn din1_mode(&mut self) -> DIN1_MODE_W { DIN1_MODE_W::new(self, 2) } #[doc = "Bits 4:5 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the posedge of clk_160, 4 input with the negedge of clk_160, 5: input with the spi_clk high edge, 6: input with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn din2_mode(&mut self) -> DIN2_MODE_W { DIN2_MODE_W::new(self, 4) } #[doc = "Bits 6:7 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the posedge of clk_160, 4 input with the negedge of clk_160, 5: input with the spi_clk high edge, 6: input with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn din3_mode(&mut self) -> DIN3_MODE_W { DIN3_MODE_W::new(self, 6) } diff --git a/esp32c3/src/spi0/din_num.rs b/esp32c3/src/spi0/din_num.rs index bdacd31257..9e0a62004f 100644 --- a/esp32c3/src/spi0/din_num.rs +++ b/esp32c3/src/spi0/din_num.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn din0_num(&mut self) -> DIN0_NUM_W { DIN0_NUM_W::new(self, 0) } #[doc = "Bits 2:3 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn din1_num(&mut self) -> DIN1_NUM_W { DIN1_NUM_W::new(self, 2) } #[doc = "Bits 4:5 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn din2_num(&mut self) -> DIN2_NUM_W { DIN2_NUM_W::new(self, 4) } #[doc = "Bits 6:7 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn din3_num(&mut self) -> DIN3_NUM_W { DIN3_NUM_W::new(self, 6) } diff --git a/esp32c3/src/spi0/dout_mode.rs b/esp32c3/src/spi0/dout_mode.rs index 1405af00b3..9100b9df3d 100644 --- a/esp32c3/src/spi0/dout_mode.rs +++ b/esp32c3/src/spi0/dout_mode.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the posedge of clk_160,4 output with the negedge of clk_160,5: output with the spi_clk high edge ,6: output with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn dout0_mode(&mut self) -> DOUT0_MODE_W { DOUT0_MODE_W::new(self, 0) } #[doc = "Bit 1 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the posedge of clk_160,4 output with the negedge of clk_160,5: output with the spi_clk high edge ,6: output with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn dout1_mode(&mut self) -> DOUT1_MODE_W { DOUT1_MODE_W::new(self, 1) } #[doc = "Bit 2 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the posedge of clk_160,4 output with the negedge of clk_160,5: output with the spi_clk high edge ,6: output with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn dout2_mode(&mut self) -> DOUT2_MODE_W { DOUT2_MODE_W::new(self, 2) } #[doc = "Bit 3 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the posedge of clk_160,4 output with the negedge of clk_160,5: output with the spi_clk high edge ,6: output with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn dout3_mode(&mut self) -> DOUT3_MODE_W { DOUT3_MODE_W::new(self, 3) } diff --git a/esp32c3/src/spi0/fsm.rs b/esp32c3/src/spi0/fsm.rs index 0f79ecd762..74a8c00e61 100644 --- a/esp32c3/src/spi0/fsm.rs +++ b/esp32c3/src/spi0/fsm.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 7:11 - The lock delay time of SPI0/1 arbiter by spi0_slv_st, after PER is sent by SPI1."] #[inline(always)] - #[must_use] pub fn cspi_lock_delay_time(&mut self) -> CSPI_LOCK_DELAY_TIME_W { CSPI_LOCK_DELAY_TIME_W::new(self, 7) } diff --git a/esp32c3/src/spi0/misc.rs b/esp32c3/src/spi0/misc.rs index fa3f3cb09d..dd94df6cf4 100644 --- a/esp32c3/src/spi0/misc.rs +++ b/esp32c3/src/spi0/misc.rs @@ -77,37 +77,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - The bit is used to indicate the spi0_mst_st controlled transmitting is done."] #[inline(always)] - #[must_use] pub fn trans_end(&mut self) -> TRANS_END_W { TRANS_END_W::new(self, 3) } #[doc = "Bit 4 - The bit is used to enable the interrupt of spi0_mst_st controlled transmitting is done."] #[inline(always)] - #[must_use] pub fn trans_end_int_ena(&mut self) -> TRANS_END_INT_ENA_W { TRANS_END_INT_ENA_W::new(self, 4) } #[doc = "Bit 5 - The bit is used to indicate the spi0_slv_st controlled transmitting is done."] #[inline(always)] - #[must_use] pub fn cspi_st_trans_end(&mut self) -> CSPI_ST_TRANS_END_W { CSPI_ST_TRANS_END_W::new(self, 5) } #[doc = "Bit 6 - The bit is used to enable the interrupt of spi0_slv_st controlled transmitting is done."] #[inline(always)] - #[must_use] pub fn cspi_st_trans_end_int_ena(&mut self) -> CSPI_ST_TRANS_END_INT_ENA_W { CSPI_ST_TRANS_END_INT_ENA_W::new(self, 6) } #[doc = "Bit 9 - 1: spi clk line is high when idle 0: spi clk line is low when idle"] #[inline(always)] - #[must_use] pub fn ck_idle_edge(&mut self) -> CK_IDLE_EDGE_W { CK_IDLE_EDGE_W::new(self, 9) } #[doc = "Bit 10 - spi cs line keep low when the bit is set."] #[inline(always)] - #[must_use] pub fn cs_keep_active(&mut self) -> CS_KEEP_ACTIVE_W { CS_KEEP_ACTIVE_W::new(self, 10) } diff --git a/esp32c3/src/spi0/rd_status.rs b/esp32c3/src/spi0/rd_status.rs index b4976439c0..9426f1bbd0 100644 --- a/esp32c3/src/spi0/rd_status.rs +++ b/esp32c3/src/spi0/rd_status.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:23 - Mode bits in the flash fast read mode it is combined with spi_mem_fastrd_mode bit."] #[inline(always)] - #[must_use] pub fn wb_mode(&mut self) -> WB_MODE_W { WB_MODE_W::new(self, 16) } diff --git a/esp32c3/src/spi0/timing_cali.rs b/esp32c3/src/spi0/timing_cali.rs index 61a91eb9bd..1dd18abcdd 100644 --- a/esp32c3/src/spi0/timing_cali.rs +++ b/esp32c3/src/spi0/timing_cali.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable timing adjust clock for all reading operations."] #[inline(always)] - #[must_use] pub fn timing_clk_ena(&mut self) -> TIMING_CLK_ENA_W { TIMING_CLK_ENA_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to enable timing auto-calibration for all reading operations."] #[inline(always)] - #[must_use] pub fn timing_cali(&mut self) -> TIMING_CALI_W { TIMING_CALI_W::new(self, 1) } #[doc = "Bits 2:4 - add extra dummy spi clock cycle length for spi clock calibration."] #[inline(always)] - #[must_use] pub fn extra_dummy_cyclelen(&mut self) -> EXTRA_DUMMY_CYCLELEN_W { EXTRA_DUMMY_CYCLELEN_W::new(self, 2) } diff --git a/esp32c3/src/spi0/user.rs b/esp32c3/src/spi0/user.rs index f13240b599..b13fd05de8 100644 --- a/esp32c3/src/spi0/user.rs +++ b/esp32c3/src/spi0/user.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 6 - spi cs keep low when spi is in done phase. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn cs_hold(&mut self) -> CS_HOLD_W { CS_HOLD_W::new(self, 6) } #[doc = "Bit 7 - spi cs is enable when spi is in prepare phase. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn cs_setup(&mut self) -> CS_SETUP_W { CS_SETUP_W::new(self, 7) } #[doc = "Bit 9 - the bit combined with spi_mem_mosi_delay_mode bits to set mosi signal delay mode."] #[inline(always)] - #[must_use] pub fn ck_out_edge(&mut self) -> CK_OUT_EDGE_W { CK_OUT_EDGE_W::new(self, 9) } #[doc = "Bit 26 - spi clock is disable in dummy phase when the bit is enable."] #[inline(always)] - #[must_use] pub fn usr_dummy_idle(&mut self) -> USR_DUMMY_IDLE_W { USR_DUMMY_IDLE_W::new(self, 26) } #[doc = "Bit 29 - This bit enable the dummy phase of an operation."] #[inline(always)] - #[must_use] pub fn usr_dummy(&mut self) -> USR_DUMMY_W { USR_DUMMY_W::new(self, 29) } diff --git a/esp32c3/src/spi0/user1.rs b/esp32c3/src/spi0/user1.rs index 8305364ee3..f48db18bf7 100644 --- a/esp32c3/src/spi0/user1.rs +++ b/esp32c3/src/spi0/user1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - The length in spi_mem_clk cycles of dummy phase. The register value shall be (cycle_num-1)."] #[inline(always)] - #[must_use] pub fn usr_dummy_cyclelen(&mut self) -> USR_DUMMY_CYCLELEN_W { USR_DUMMY_CYCLELEN_W::new(self, 0) } #[doc = "Bits 26:31 - The length in bits of address phase. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn usr_addr_bitlen(&mut self) -> USR_ADDR_BITLEN_W { USR_ADDR_BITLEN_W::new(self, 26) } diff --git a/esp32c3/src/spi0/user2.rs b/esp32c3/src/spi0/user2.rs index 36c1b0856c..3b2cf222a2 100644 --- a/esp32c3/src/spi0/user2.rs +++ b/esp32c3/src/spi0/user2.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The value of command."] #[inline(always)] - #[must_use] pub fn usr_command_value(&mut self) -> USR_COMMAND_VALUE_W { USR_COMMAND_VALUE_W::new(self, 0) } #[doc = "Bits 28:31 - The length in bits of command phase. The register value shall be (bit_num-1)"] #[inline(always)] - #[must_use] pub fn usr_command_bitlen(&mut self) -> USR_COMMAND_BITLEN_W { USR_COMMAND_BITLEN_W::new(self, 28) } diff --git a/esp32c3/src/spi1/addr.rs b/esp32c3/src/spi1/addr.rs index a0213e15b9..0d0a1be434 100644 --- a/esp32c3/src/spi1/addr.rs +++ b/esp32c3/src/spi1/addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - In user mode, it is the memory address. other then the bit0-bit23 is the memory address, the bit24-bit31 are the byte length of a transfer."] #[inline(always)] - #[must_use] pub fn usr_addr_value(&mut self) -> USR_ADDR_VALUE_W { USR_ADDR_VALUE_W::new(self, 0) } diff --git a/esp32c3/src/spi1/cache_fctrl.rs b/esp32c3/src/spi1/cache_fctrl.rs index 17da6be7ec..9e6d97ba6a 100644 --- a/esp32c3/src/spi1/cache_fctrl.rs +++ b/esp32c3/src/spi1/cache_fctrl.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - For SPI1, cache read flash with 4 bytes address, 1: enable, 0:disable."] #[inline(always)] - #[must_use] pub fn cache_usr_addr_4byte(&mut self) -> CACHE_USR_ADDR_4BYTE_W { CACHE_USR_ADDR_4BYTE_W::new(self, 1) } #[doc = "Bit 3 - For SPI1, din phase apply 2 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_dio."] #[inline(always)] - #[must_use] pub fn fdin_dual(&mut self) -> FDIN_DUAL_W { FDIN_DUAL_W::new(self, 3) } #[doc = "Bit 4 - For SPI1, dout phase apply 2 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_dio."] #[inline(always)] - #[must_use] pub fn fdout_dual(&mut self) -> FDOUT_DUAL_W { FDOUT_DUAL_W::new(self, 4) } #[doc = "Bit 5 - For SPI1, address phase apply 2 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_dio."] #[inline(always)] - #[must_use] pub fn faddr_dual(&mut self) -> FADDR_DUAL_W { FADDR_DUAL_W::new(self, 5) } #[doc = "Bit 6 - For SPI1, din phase apply 4 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_qio."] #[inline(always)] - #[must_use] pub fn fdin_quad(&mut self) -> FDIN_QUAD_W { FDIN_QUAD_W::new(self, 6) } #[doc = "Bit 7 - For SPI1, dout phase apply 4 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_qio."] #[inline(always)] - #[must_use] pub fn fdout_quad(&mut self) -> FDOUT_QUAD_W { FDOUT_QUAD_W::new(self, 7) } #[doc = "Bit 8 - For SPI1, address phase apply 4 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_qio."] #[inline(always)] - #[must_use] pub fn faddr_quad(&mut self) -> FADDR_QUAD_W { FADDR_QUAD_W::new(self, 8) } diff --git a/esp32c3/src/spi1/clock.rs b/esp32c3/src/spi1/clock.rs index def6403bc3..d789b3face 100644 --- a/esp32c3/src/spi1/clock.rs +++ b/esp32c3/src/spi1/clock.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In the master mode it must be equal to spi_mem_clkcnt_N."] #[inline(always)] - #[must_use] pub fn clkcnt_l(&mut self) -> CLKCNT_L_W { CLKCNT_L_W::new(self, 0) } #[doc = "Bits 8:15 - In the master mode it must be floor((spi_mem_clkcnt_N+1)/2-1)."] #[inline(always)] - #[must_use] pub fn clkcnt_h(&mut self) -> CLKCNT_H_W { CLKCNT_H_W::new(self, 8) } #[doc = "Bits 16:23 - In the master mode it is the divider of spi_mem_clk. So spi_mem_clk frequency is system/(spi_mem_clkcnt_N+1)"] #[inline(always)] - #[must_use] pub fn clkcnt_n(&mut self) -> CLKCNT_N_W { CLKCNT_N_W::new(self, 16) } #[doc = "Bit 31 - reserved"] #[inline(always)] - #[must_use] pub fn clk_equ_sysclk(&mut self) -> CLK_EQU_SYSCLK_W { CLK_EQU_SYSCLK_W::new(self, 31) } diff --git a/esp32c3/src/spi1/clock_gate.rs b/esp32c3/src/spi1/clock_gate.rs index 5c0eb9d0d7..5e04c4947e 100644 --- a/esp32c3/src/spi1/clock_gate.rs +++ b/esp32c3/src/spi1/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Register clock gate enable signal. 1: Enable. 0: Disable."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32c3/src/spi1/cmd.rs b/esp32c3/src/spi1/cmd.rs index 9ac159f42b..8f1d96c955 100644 --- a/esp32c3/src/spi1/cmd.rs +++ b/esp32c3/src/spi1/cmd.rs @@ -180,91 +180,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 17 - In user mode, it is set to indicate that program/erase operation will be triggered. The bit is combined with spi_mem_usr bit. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_pe(&mut self) -> FLASH_PE_W { FLASH_PE_W::new(self, 17) } #[doc = "Bit 18 - User define command enable. An operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn usr(&mut self) -> USR_W { USR_W::new(self, 18) } #[doc = "Bit 19 - Drive Flash into high performance mode. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_hpm(&mut self) -> FLASH_HPM_W { FLASH_HPM_W::new(self, 19) } #[doc = "Bit 20 - This bit combined with reg_resandres bit releases Flash from the power-down state or high performance mode and obtains the devices ID. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_res(&mut self) -> FLASH_RES_W { FLASH_RES_W::new(self, 20) } #[doc = "Bit 21 - Drive Flash into power down. An operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_dp(&mut self) -> FLASH_DP_W { FLASH_DP_W::new(self, 21) } #[doc = "Bit 22 - Chip erase enable. Chip erase operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_ce(&mut self) -> FLASH_CE_W { FLASH_CE_W::new(self, 22) } #[doc = "Bit 23 - Block erase enable(32KB) . Block erase operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_be(&mut self) -> FLASH_BE_W { FLASH_BE_W::new(self, 23) } #[doc = "Bit 24 - Sector erase enable(4KB). Sector erase operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_se(&mut self) -> FLASH_SE_W { FLASH_SE_W::new(self, 24) } #[doc = "Bit 25 - Page program enable(1 byte ~256 bytes data to be programmed). Page program operation will be triggered when the bit is set. The bit will be cleared once the operation done .1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_pp(&mut self) -> FLASH_PP_W { FLASH_PP_W::new(self, 25) } #[doc = "Bit 26 - Write status register enable. Write status operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_wrsr(&mut self) -> FLASH_WRSR_W { FLASH_WRSR_W::new(self, 26) } #[doc = "Bit 27 - Read status register-1. Read status operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_rdsr(&mut self) -> FLASH_RDSR_W { FLASH_RDSR_W::new(self, 27) } #[doc = "Bit 28 - Read JEDEC ID . Read ID command will be sent when the bit is set. The bit will be cleared once the operation done. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_rdid(&mut self) -> FLASH_RDID_W { FLASH_RDID_W::new(self, 28) } #[doc = "Bit 29 - Write flash disable. Write disable command will be sent when the bit is set. The bit will be cleared once the operation done. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_wrdi(&mut self) -> FLASH_WRDI_W { FLASH_WRDI_W::new(self, 29) } #[doc = "Bit 30 - Write flash enable. Write enable command will be sent when the bit is set. The bit will be cleared once the operation done. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_wren(&mut self) -> FLASH_WREN_W { FLASH_WREN_W::new(self, 30) } #[doc = "Bit 31 - Read flash enable. Read flash operation will be triggered when the bit is set. The bit will be cleared once the operation done. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_read(&mut self) -> FLASH_READ_W { FLASH_READ_W::new(self, 31) } diff --git a/esp32c3/src/spi1/ctrl.rs b/esp32c3/src/spi1/ctrl.rs index 7541dfb5ee..795f95c324 100644 --- a/esp32c3/src/spi1/ctrl.rs +++ b/esp32c3/src/spi1/ctrl.rs @@ -164,91 +164,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - In the dummy phase the signal level of spi is output by the spi controller."] #[inline(always)] - #[must_use] pub fn fdummy_out(&mut self) -> FDUMMY_OUT_W { FDUMMY_OUT_W::new(self, 3) } #[doc = "Bit 7 - Apply 2 signals during command phase 1:enable 0: disable"] #[inline(always)] - #[must_use] pub fn fcmd_dual(&mut self) -> FCMD_DUAL_W { FCMD_DUAL_W::new(self, 7) } #[doc = "Bit 8 - Apply 4 signals during command phase 1:enable 0: disable"] #[inline(always)] - #[must_use] pub fn fcmd_quad(&mut self) -> FCMD_QUAD_W { FCMD_QUAD_W::new(self, 8) } #[doc = "Bit 10 - For SPI1, initialize crc32 module before writing encrypted data to flash. Active low."] #[inline(always)] - #[must_use] pub fn fcs_crc_en(&mut self) -> FCS_CRC_EN_W { FCS_CRC_EN_W::new(self, 10) } #[doc = "Bit 11 - For SPI1, enable crc32 when writing encrypted data to flash. 1: enable 0:disable"] #[inline(always)] - #[must_use] pub fn tx_crc_en(&mut self) -> TX_CRC_EN_W { TX_CRC_EN_W::new(self, 11) } #[doc = "Bit 13 - This bit enable the bits: spi_mem_fread_qio, spi_mem_fread_dio, spi_mem_fread_qout and spi_mem_fread_dout. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fastrd_mode(&mut self) -> FASTRD_MODE_W { FASTRD_MODE_W::new(self, 13) } #[doc = "Bit 14 - In the read operations, read-data phase apply 2 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_dual(&mut self) -> FREAD_DUAL_W { FREAD_DUAL_W::new(self, 14) } #[doc = "Bit 15 - The Device ID is read out to SPI_MEM_RD_STATUS register, this bit combine with spi_mem_flash_res bit. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn resandres(&mut self) -> RESANDRES_W { RESANDRES_W::new(self, 15) } #[doc = "Bit 18 - The bit is used to set MISO line polarity, 1: high 0, low"] #[inline(always)] - #[must_use] pub fn q_pol(&mut self) -> Q_POL_W { Q_POL_W::new(self, 18) } #[doc = "Bit 19 - The bit is used to set MOSI line polarity, 1: high 0, low"] #[inline(always)] - #[must_use] pub fn d_pol(&mut self) -> D_POL_W { D_POL_W::new(self, 19) } #[doc = "Bit 20 - In the read operations read-data phase apply 4 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_quad(&mut self) -> FREAD_QUAD_W { FREAD_QUAD_W::new(self, 20) } #[doc = "Bit 21 - Write protect signal output when SPI is idle. 1: output high, 0: output low."] #[inline(always)] - #[must_use] pub fn wp(&mut self) -> WP_W { WP_W::new(self, 21) } #[doc = "Bit 22 - two bytes data will be written to status register when it is set. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn wrsr_2b(&mut self) -> WRSR_2B_W { WRSR_2B_W::new(self, 22) } #[doc = "Bit 23 - In the read operations address phase and read-data phase apply 2 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_dio(&mut self) -> FREAD_DIO_W { FREAD_DIO_W::new(self, 23) } #[doc = "Bit 24 - In the read operations address phase and read-data phase apply 4 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_qio(&mut self) -> FREAD_QIO_W { FREAD_QIO_W::new(self, 24) } diff --git a/esp32c3/src/spi1/ctrl1.rs b/esp32c3/src/spi1/ctrl1.rs index dd42e7f950..c94a99e05f 100644 --- a/esp32c3/src/spi1/ctrl1.rs +++ b/esp32c3/src/spi1/ctrl1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - SPI clock mode bits. 0: SPI clock is off when CS inactive 1: SPI clock is delayed one cycle after CS inactive 2: SPI clock is delayed two cycles after CS inactive 3: SPI clock is alwasy on."] #[inline(always)] - #[must_use] pub fn clk_mode(&mut self) -> CLK_MODE_W { CLK_MODE_W::new(self, 0) } #[doc = "Bits 2:11 - After RES/DP/HPM command is sent, SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 512) SPI_CLK cycles."] #[inline(always)] - #[must_use] pub fn cs_hold_dly_res(&mut self) -> CS_HOLD_DLY_RES_W { CS_HOLD_DLY_RES_W::new(self, 2) } diff --git a/esp32c3/src/spi1/ctrl2.rs b/esp32c3/src/spi1/ctrl2.rs index 0f4c316976..67bff70e6d 100644 --- a/esp32c3/src/spi1/ctrl2.rs +++ b/esp32c3/src/spi1/ctrl2.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - The FSM will be reset."] #[inline(always)] - #[must_use] pub fn sync_reset(&mut self) -> SYNC_RESET_W { SYNC_RESET_W::new(self, 31) } diff --git a/esp32c3/src/spi1/date.rs b/esp32c3/src/spi1/date.rs index 653f849453..006a1ba147 100644 --- a/esp32c3/src/spi1/date.rs +++ b/esp32c3/src/spi1/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Version control register"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c3/src/spi1/flash_sus_cmd.rs b/esp32c3/src/spi1/flash_sus_cmd.rs index 076a1b1d8a..b535943e7b 100644 --- a/esp32c3/src/spi1/flash_sus_cmd.rs +++ b/esp32c3/src/spi1/flash_sus_cmd.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Program/Erase resume command."] #[inline(always)] - #[must_use] pub fn flash_per_command(&mut self) -> FLASH_PER_COMMAND_W { FLASH_PER_COMMAND_W::new(self, 0) } #[doc = "Bits 8:15 - Program/Erase suspend command."] #[inline(always)] - #[must_use] pub fn flash_pes_command(&mut self) -> FLASH_PES_COMMAND_W { FLASH_PES_COMMAND_W::new(self, 8) } #[doc = "Bits 16:31 - Flash SUS/SUS1/SUS2 status bit read command. The command should be sent when SUS/SUS1/SUS2 bit should be checked to insure the suspend or resume status of flash."] #[inline(always)] - #[must_use] pub fn wait_pesr_command(&mut self) -> WAIT_PESR_COMMAND_W { WAIT_PESR_COMMAND_W::new(self, 16) } diff --git a/esp32c3/src/spi1/flash_sus_ctrl.rs b/esp32c3/src/spi1/flash_sus_ctrl.rs index e38be5b6fe..513ee977a3 100644 --- a/esp32c3/src/spi1/flash_sus_ctrl.rs +++ b/esp32c3/src/spi1/flash_sus_ctrl.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - program erase resume bit, program erase suspend operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_per(&mut self) -> FLASH_PER_W { FLASH_PER_W::new(self, 0) } #[doc = "Bit 1 - program erase suspend bit, program erase suspend operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_pes(&mut self) -> FLASH_PES_W { FLASH_PES_W::new(self, 1) } #[doc = "Bit 2 - 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4 or *128) SPI_CLK cycles after program erase resume command is sent. 0: SPI1 does not wait after program erase resume command is sent."] #[inline(always)] - #[must_use] pub fn flash_per_wait_en(&mut self) -> FLASH_PER_WAIT_EN_W { FLASH_PER_WAIT_EN_W::new(self, 2) } #[doc = "Bit 3 - 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4 or *128) SPI_CLK cycles after program erase suspend command is sent. 0: SPI1 does not wait after program erase suspend command is sent."] #[inline(always)] - #[must_use] pub fn flash_pes_wait_en(&mut self) -> FLASH_PES_WAIT_EN_W { FLASH_PES_WAIT_EN_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to enable PES end triggers PER transfer option. If this bit is 0, application should send PER after PES is done."] #[inline(always)] - #[must_use] pub fn pes_per_en(&mut self) -> PES_PER_EN_W { PES_PER_EN_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to enable Auto-suspending function."] #[inline(always)] - #[must_use] pub fn flash_pes_en(&mut self) -> FLASH_PES_EN_W { FLASH_PES_EN_W::new(self, 5) } #[doc = "Bits 6:21 - The mask value when check SUS/SUS1/SUS2 status bit. If the read status value is status_in\\[15:0\\](only status_in\\[7:0\\] is valid when only one byte of data is read out, status_in\\[15:0\\] is valid when two bytes of data are read out), SUS/SUS1/SUS2 = status_in\\[15:0\\]^ SPI_MEM_PESR_END_MSK\\[15:0\\]."] #[inline(always)] - #[must_use] pub fn pesr_end_msk(&mut self) -> PESR_END_MSK_W { PESR_END_MSK_W::new(self, 6) } #[doc = "Bit 22 - 1: Read two bytes when check flash SUS/SUS1/SUS2 status bit. 0: Read one byte when check flash SUS/SUS1/SUS2 status bit"] #[inline(always)] - #[must_use] pub fn rd_sus_2b(&mut self) -> RD_SUS_2B_W { RD_SUS_2B_W::new(self, 22) } #[doc = "Bit 23 - 1: Both WIP and SUS/SUS1/SUS2 bits should be checked to insure the resume status of flash. 0: Only need to check WIP is 0."] #[inline(always)] - #[must_use] pub fn per_end_en(&mut self) -> PER_END_EN_W { PER_END_EN_W::new(self, 23) } #[doc = "Bit 24 - 1: Both WIP and SUS/SUS1/SUS2 bits should be checked to insure the suspend status of flash. 0: Only need to check WIP is 0."] #[inline(always)] - #[must_use] pub fn pes_end_en(&mut self) -> PES_END_EN_W { PES_END_EN_W::new(self, 24) } #[doc = "Bits 25:31 - When SPI1 checks SUS/SUS1/SUS2 bits fail for SPI_MEM_SUS_TIMEOUT_CNT\\[6:0\\] times, it will be treated as check pass."] #[inline(always)] - #[must_use] pub fn sus_timeout_cnt(&mut self) -> SUS_TIMEOUT_CNT_W { SUS_TIMEOUT_CNT_W::new(self, 25) } diff --git a/esp32c3/src/spi1/flash_waiti_ctrl.rs b/esp32c3/src/spi1/flash_waiti_ctrl.rs index 74d737e5f2..08504b9c9b 100644 --- a/esp32c3/src/spi1/flash_waiti_ctrl.rs +++ b/esp32c3/src/spi1/flash_waiti_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - The dummy phase enable when wait flash idle (RDSR)"] #[inline(always)] - #[must_use] pub fn waiti_dummy(&mut self) -> WAITI_DUMMY_W { WAITI_DUMMY_W::new(self, 1) } #[doc = "Bits 2:9 - The command to wait flash idle(RDSR)."] #[inline(always)] - #[must_use] pub fn waiti_cmd(&mut self) -> WAITI_CMD_W { WAITI_CMD_W::new(self, 2) } #[doc = "Bits 10:15 - The dummy cycle length when wait flash idle(RDSR)."] #[inline(always)] - #[must_use] pub fn waiti_dummy_cyclelen(&mut self) -> WAITI_DUMMY_CYCLELEN_W { WAITI_DUMMY_CYCLELEN_W::new(self, 10) } diff --git a/esp32c3/src/spi1/int_clr.rs b/esp32c3/src/spi1/int_clr.rs index e7dbdad314..cc4a2ada7e 100644 --- a/esp32c3/src/spi1/int_clr.rs +++ b/esp32c3/src/spi1/int_clr.rs @@ -19,31 +19,26 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The clear bit for SPI_MEM_PER_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn per_end(&mut self) -> PER_END_W { PER_END_W::new(self, 0) } #[doc = "Bit 1 - The clear bit for SPI_MEM_PES_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn pes_end(&mut self) -> PES_END_W { PES_END_W::new(self, 1) } #[doc = "Bit 2 - The clear bit for SPI_MEM_WPE_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn wpe_end(&mut self) -> WPE_END_W { WPE_END_W::new(self, 2) } #[doc = "Bit 3 - The clear bit for SPI_MEM_SLV_ST_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_st_end(&mut self) -> SLV_ST_END_W { SLV_ST_END_W::new(self, 3) } #[doc = "Bit 4 - The clear bit for SPI_MEM_MST_ST_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_st_end(&mut self) -> MST_ST_END_W { MST_ST_END_W::new(self, 4) } diff --git a/esp32c3/src/spi1/int_ena.rs b/esp32c3/src/spi1/int_ena.rs index 46095649e8..33d7d9e153 100644 --- a/esp32c3/src/spi1/int_ena.rs +++ b/esp32c3/src/spi1/int_ena.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The enable bit for SPI_MEM_PER_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn per_end(&mut self) -> PER_END_W { PER_END_W::new(self, 0) } #[doc = "Bit 1 - The enable bit for SPI_MEM_PES_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn pes_end(&mut self) -> PES_END_W { PES_END_W::new(self, 1) } #[doc = "Bit 2 - The enable bit for SPI_MEM_WPE_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn wpe_end(&mut self) -> WPE_END_W { WPE_END_W::new(self, 2) } #[doc = "Bit 3 - The enable bit for SPI_MEM_SLV_ST_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_st_end(&mut self) -> SLV_ST_END_W { SLV_ST_END_W::new(self, 3) } #[doc = "Bit 4 - The enable bit for SPI_MEM_MST_ST_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_st_end(&mut self) -> MST_ST_END_W { MST_ST_END_W::new(self, 4) } diff --git a/esp32c3/src/spi1/int_raw.rs b/esp32c3/src/spi1/int_raw.rs index e2780e6a85..81d580ab80 100644 --- a/esp32c3/src/spi1/int_raw.rs +++ b/esp32c3/src/spi1/int_raw.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw bit for SPI_MEM_PER_END_INT interrupt. 1: Triggered when Auto Resume command (0x7A) is sent and flash is resumed. 0: Others."] #[inline(always)] - #[must_use] pub fn per_end(&mut self) -> PER_END_W { PER_END_W::new(self, 0) } #[doc = "Bit 1 - The raw bit for SPI_MEM_PES_END_INT interrupt.1: Triggered when Auto Suspend command (0x75) is sent and flash is suspended. 0: Others."] #[inline(always)] - #[must_use] pub fn pes_end(&mut self) -> PES_END_W { PES_END_W::new(self, 1) } #[doc = "Bit 2 - The raw bit for SPI_MEM_WPE_END_INT interrupt. 1: Triggered when WRSR/PP/SE/BE/CE is sent and flash is already idle. 0: Others."] #[inline(always)] - #[must_use] pub fn wpe_end(&mut self) -> WPE_END_W { WPE_END_W::new(self, 2) } #[doc = "Bit 3 - The raw bit for SPI_MEM_SLV_ST_END_INT interrupt. 1: Triggered when spi1_slv_st is changed from non idle state to idle state. It means that SPI_CS raises high. 0: Others"] #[inline(always)] - #[must_use] pub fn slv_st_end(&mut self) -> SLV_ST_END_W { SLV_ST_END_W::new(self, 3) } #[doc = "Bit 4 - The raw bit for SPI_MEM_MST_ST_END_INT interrupt. 1: Triggered when spi1_mst_st is changed from non idle state to idle state. 0: Others."] #[inline(always)] - #[must_use] pub fn mst_st_end(&mut self) -> MST_ST_END_W { MST_ST_END_W::new(self, 4) } diff --git a/esp32c3/src/spi1/misc.rs b/esp32c3/src/spi1/misc.rs index b251d4f517..95a469646c 100644 --- a/esp32c3/src/spi1/misc.rs +++ b/esp32c3/src/spi1/misc.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - SPI_CS0 pin enable, 1: disable SPI_CS0, 0: SPI_CS0 pin is active to select SPI device, such as flash, external RAM and so on."] #[inline(always)] - #[must_use] pub fn cs0_dis(&mut self) -> CS0_DIS_W { CS0_DIS_W::new(self, 0) } #[doc = "Bit 1 - SPI_CS1 pin enable, 1: disable SPI_CS1, 0: SPI_CS1 pin is active to select SPI device, such as flash, external RAM and so on."] #[inline(always)] - #[must_use] pub fn cs1_dis(&mut self) -> CS1_DIS_W { CS1_DIS_W::new(self, 1) } #[doc = "Bit 9 - 1: spi clk line is high when idle 0: spi clk line is low when idle"] #[inline(always)] - #[must_use] pub fn ck_idle_edge(&mut self) -> CK_IDLE_EDGE_W { CK_IDLE_EDGE_W::new(self, 9) } #[doc = "Bit 10 - spi cs line keep low when the bit is set."] #[inline(always)] - #[must_use] pub fn cs_keep_active(&mut self) -> CS_KEEP_ACTIVE_W { CS_KEEP_ACTIVE_W::new(self, 10) } diff --git a/esp32c3/src/spi1/miso_dlen.rs b/esp32c3/src/spi1/miso_dlen.rs index 355ff7019c..deab962597 100644 --- a/esp32c3/src/spi1/miso_dlen.rs +++ b/esp32c3/src/spi1/miso_dlen.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - The length in bits of read-data. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn usr_miso_dbitlen(&mut self) -> USR_MISO_DBITLEN_W { USR_MISO_DBITLEN_W::new(self, 0) } diff --git a/esp32c3/src/spi1/mosi_dlen.rs b/esp32c3/src/spi1/mosi_dlen.rs index 4dfb555067..8f02670550 100644 --- a/esp32c3/src/spi1/mosi_dlen.rs +++ b/esp32c3/src/spi1/mosi_dlen.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - The length in bits of write-data. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn usr_mosi_dbitlen(&mut self) -> USR_MOSI_DBITLEN_W { USR_MOSI_DBITLEN_W::new(self, 0) } diff --git a/esp32c3/src/spi1/rd_status.rs b/esp32c3/src/spi1/rd_status.rs index 32a6a1cf90..c14fefc1ed 100644 --- a/esp32c3/src/spi1/rd_status.rs +++ b/esp32c3/src/spi1/rd_status.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The value is stored when set spi_mem_flash_rdsr bit and spi_mem_flash_res bit."] #[inline(always)] - #[must_use] pub fn status(&mut self) -> STATUS_W { STATUS_W::new(self, 0) } #[doc = "Bits 16:23 - Mode bits in the flash fast read mode it is combined with spi_mem_fastrd_mode bit."] #[inline(always)] - #[must_use] pub fn wb_mode(&mut self) -> WB_MODE_W { WB_MODE_W::new(self, 16) } diff --git a/esp32c3/src/spi1/sus_status.rs b/esp32c3/src/spi1/sus_status.rs index 41124f7170..8122e01af0 100644 --- a/esp32c3/src/spi1/sus_status.rs +++ b/esp32c3/src/spi1/sus_status.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The status of flash suspend, only used in SPI1."] #[inline(always)] - #[must_use] pub fn flash_sus(&mut self) -> FLASH_SUS_W { FLASH_SUS_W::new(self, 0) } #[doc = "Bit 1 - 1: SPI1 sends out SPI_MEM_WAIT_PESR_COMMAND\\[15:0\\] to check SUS/SUS1/SUS2 bit. 0: SPI1 sends out SPI_MEM_WAIT_PESR_COMMAND\\[7:0\\] to check SUS/SUS1/SUS2 bit."] #[inline(always)] - #[must_use] pub fn wait_pesr_cmd_2b(&mut self) -> WAIT_PESR_CMD_2B_W { WAIT_PESR_CMD_2B_W::new(self, 1) } #[doc = "Bit 2 - 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 128) SPI_CLK cycles after HPM command is sent. 0: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4) SPI_CLK cycles after HPM command is sent."] #[inline(always)] - #[must_use] pub fn flash_hpm_dly_128(&mut self) -> FLASH_HPM_DLY_128_W { FLASH_HPM_DLY_128_W::new(self, 2) } #[doc = "Bit 3 - 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 128) SPI_CLK cycles after RES command is sent. 0: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4) SPI_CLK cycles after RES command is sent."] #[inline(always)] - #[must_use] pub fn flash_res_dly_128(&mut self) -> FLASH_RES_DLY_128_W { FLASH_RES_DLY_128_W::new(self, 3) } #[doc = "Bit 4 - 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 128) SPI_CLK cycles after DP command is sent. 0: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4) SPI_CLK cycles after DP command is sent."] #[inline(always)] - #[must_use] pub fn flash_dp_dly_128(&mut self) -> FLASH_DP_DLY_128_W { FLASH_DP_DLY_128_W::new(self, 4) } #[doc = "Bit 5 - Valid when SPI_MEM_FLASH_PER_WAIT_EN is 1. 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 128) SPI_CLK cycles after PER command is sent. 0: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4) SPI_CLK cycles after PER command is sent."] #[inline(always)] - #[must_use] pub fn flash_per_dly_128(&mut self) -> FLASH_PER_DLY_128_W { FLASH_PER_DLY_128_W::new(self, 5) } #[doc = "Bit 6 - Valid when SPI_MEM_FLASH_PES_WAIT_EN is 1. 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 128) SPI_CLK cycles after PES command is sent. 0: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4) SPI_CLK cycles after PES command is sent."] #[inline(always)] - #[must_use] pub fn flash_pes_dly_128(&mut self) -> FLASH_PES_DLY_128_W { FLASH_PES_DLY_128_W::new(self, 6) } #[doc = "Bit 7 - 1: Enable SPI0 lock SPI0/1 arbiter option. 0: Disable it."] #[inline(always)] - #[must_use] pub fn spi0_lock_en(&mut self) -> SPI0_LOCK_EN_W { SPI0_LOCK_EN_W::new(self, 7) } diff --git a/esp32c3/src/spi1/timing_cali.rs b/esp32c3/src/spi1/timing_cali.rs index 001dea3844..280631e3f2 100644 --- a/esp32c3/src/spi1/timing_cali.rs +++ b/esp32c3/src/spi1/timing_cali.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - The bit is used to enable timing auto-calibration for all reading operations."] #[inline(always)] - #[must_use] pub fn timing_cali(&mut self) -> TIMING_CALI_W { TIMING_CALI_W::new(self, 1) } #[doc = "Bits 2:4 - add extra dummy spi clock cycle length for spi clock calibration."] #[inline(always)] - #[must_use] pub fn extra_dummy_cyclelen(&mut self) -> EXTRA_DUMMY_CYCLELEN_W { EXTRA_DUMMY_CYCLELEN_W::new(self, 2) } diff --git a/esp32c3/src/spi1/user.rs b/esp32c3/src/spi1/user.rs index edcf9b1b25..e3d953b415 100644 --- a/esp32c3/src/spi1/user.rs +++ b/esp32c3/src/spi1/user.rs @@ -144,79 +144,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 9 - the bit combined with spi_mem_mosi_delay_mode bits to set mosi signal delay mode."] #[inline(always)] - #[must_use] pub fn ck_out_edge(&mut self) -> CK_OUT_EDGE_W { CK_OUT_EDGE_W::new(self, 9) } #[doc = "Bit 12 - In the write operations read-data phase apply 2 signals"] #[inline(always)] - #[must_use] pub fn fwrite_dual(&mut self) -> FWRITE_DUAL_W { FWRITE_DUAL_W::new(self, 12) } #[doc = "Bit 13 - In the write operations read-data phase apply 4 signals"] #[inline(always)] - #[must_use] pub fn fwrite_quad(&mut self) -> FWRITE_QUAD_W { FWRITE_QUAD_W::new(self, 13) } #[doc = "Bit 14 - In the write operations address phase and read-data phase apply 2 signals."] #[inline(always)] - #[must_use] pub fn fwrite_dio(&mut self) -> FWRITE_DIO_W { FWRITE_DIO_W::new(self, 14) } #[doc = "Bit 15 - In the write operations address phase and read-data phase apply 4 signals."] #[inline(always)] - #[must_use] pub fn fwrite_qio(&mut self) -> FWRITE_QIO_W { FWRITE_QIO_W::new(self, 15) } #[doc = "Bit 24 - read-data phase only access to high-part of the buffer spi_mem_w8~spi_mem_w15. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn usr_miso_highpart(&mut self) -> USR_MISO_HIGHPART_W { USR_MISO_HIGHPART_W::new(self, 24) } #[doc = "Bit 25 - write-data phase only access to high-part of the buffer spi_mem_w8~spi_mem_w15. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn usr_mosi_highpart(&mut self) -> USR_MOSI_HIGHPART_W { USR_MOSI_HIGHPART_W::new(self, 25) } #[doc = "Bit 26 - SPI clock is disable in dummy phase when the bit is enable."] #[inline(always)] - #[must_use] pub fn usr_dummy_idle(&mut self) -> USR_DUMMY_IDLE_W { USR_DUMMY_IDLE_W::new(self, 26) } #[doc = "Bit 27 - This bit enable the write-data phase of an operation."] #[inline(always)] - #[must_use] pub fn usr_mosi(&mut self) -> USR_MOSI_W { USR_MOSI_W::new(self, 27) } #[doc = "Bit 28 - This bit enable the read-data phase of an operation."] #[inline(always)] - #[must_use] pub fn usr_miso(&mut self) -> USR_MISO_W { USR_MISO_W::new(self, 28) } #[doc = "Bit 29 - This bit enable the dummy phase of an operation."] #[inline(always)] - #[must_use] pub fn usr_dummy(&mut self) -> USR_DUMMY_W { USR_DUMMY_W::new(self, 29) } #[doc = "Bit 30 - This bit enable the address phase of an operation."] #[inline(always)] - #[must_use] pub fn usr_addr(&mut self) -> USR_ADDR_W { USR_ADDR_W::new(self, 30) } #[doc = "Bit 31 - This bit enable the command phase of an operation."] #[inline(always)] - #[must_use] pub fn usr_command(&mut self) -> USR_COMMAND_W { USR_COMMAND_W::new(self, 31) } diff --git a/esp32c3/src/spi1/user1.rs b/esp32c3/src/spi1/user1.rs index 02d28231aa..83cd75ed2a 100644 --- a/esp32c3/src/spi1/user1.rs +++ b/esp32c3/src/spi1/user1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - The length in spi_mem_clk cycles of dummy phase. The register value shall be (cycle_num-1)."] #[inline(always)] - #[must_use] pub fn usr_dummy_cyclelen(&mut self) -> USR_DUMMY_CYCLELEN_W { USR_DUMMY_CYCLELEN_W::new(self, 0) } #[doc = "Bits 26:31 - The length in bits of address phase. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn usr_addr_bitlen(&mut self) -> USR_ADDR_BITLEN_W { USR_ADDR_BITLEN_W::new(self, 26) } diff --git a/esp32c3/src/spi1/user2.rs b/esp32c3/src/spi1/user2.rs index 9fc36fcb3c..a3eb906fe6 100644 --- a/esp32c3/src/spi1/user2.rs +++ b/esp32c3/src/spi1/user2.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The value of command."] #[inline(always)] - #[must_use] pub fn usr_command_value(&mut self) -> USR_COMMAND_VALUE_W { USR_COMMAND_VALUE_W::new(self, 0) } #[doc = "Bits 28:31 - The length in bits of command phase. The register value shall be (bit_num-1)"] #[inline(always)] - #[must_use] pub fn usr_command_bitlen(&mut self) -> USR_COMMAND_BITLEN_W { USR_COMMAND_BITLEN_W::new(self, 28) } diff --git a/esp32c3/src/spi1/w.rs b/esp32c3/src/spi1/w.rs index 5b54f2c664..a1537b342a 100644 --- a/esp32c3/src/spi1/w.rs +++ b/esp32c3/src/spi1/w.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - data buffer"] #[inline(always)] - #[must_use] pub fn buf(&mut self) -> BUF_W { BUF_W::new(self, 0) } diff --git a/esp32c3/src/spi2/addr.rs b/esp32c3/src/spi2/addr.rs index 03ea07541d..acb1a7dfa7 100644 --- a/esp32c3/src/spi2/addr.rs +++ b/esp32c3/src/spi2/addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Address to slave. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_addr_value(&mut self) -> USR_ADDR_VALUE_W { USR_ADDR_VALUE_W::new(self, 0) } diff --git a/esp32c3/src/spi2/clk_gate.rs b/esp32c3/src/spi2/clk_gate.rs index 20f0adfc48..a8142d4385 100644 --- a/esp32c3/src/spi2/clk_gate.rs +++ b/esp32c3/src/spi2/clk_gate.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable clk gate"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to power on the SPI module clock."] #[inline(always)] - #[must_use] pub fn mst_clk_active(&mut self) -> MST_CLK_ACTIVE_W { MST_CLK_ACTIVE_W::new(self, 1) } #[doc = "Bit 2 - This bit is used to select SPI module clock source in master mode. 1: PLL_CLK_80M. 0: XTAL CLK."] #[inline(always)] - #[must_use] pub fn mst_clk_sel(&mut self) -> MST_CLK_SEL_W { MST_CLK_SEL_W::new(self, 2) } diff --git a/esp32c3/src/spi2/clock.rs b/esp32c3/src/spi2/clock.rs index 8b450b70fc..78e6f168df 100644 --- a/esp32c3/src/spi2/clock.rs +++ b/esp32c3/src/spi2/clock.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - In the master mode it must be equal to spi_clkcnt_N. In the slave mode it must be 0. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clkcnt_l(&mut self) -> CLKCNT_L_W { CLKCNT_L_W::new(self, 0) } #[doc = "Bits 6:11 - In the master mode it must be floor((spi_clkcnt_N+1)/2-1). In the slave mode it must be 0. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clkcnt_h(&mut self) -> CLKCNT_H_W { CLKCNT_H_W::new(self, 6) } #[doc = "Bits 12:17 - In the master mode it is the divider of spi_clk. So spi_clk frequency is system/(spi_clkdiv_pre+1)/(spi_clkcnt_N+1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clkcnt_n(&mut self) -> CLKCNT_N_W { CLKCNT_N_W::new(self, 12) } #[doc = "Bits 18:21 - In the master mode it is pre-divider of spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clkdiv_pre(&mut self) -> CLKDIV_PRE_W { CLKDIV_PRE_W::new(self, 18) } #[doc = "Bit 31 - In the master mode 1: spi_clk is eqaul to system 0: spi_clk is divided from system clock. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clk_equ_sysclk(&mut self) -> CLK_EQU_SYSCLK_W { CLK_EQU_SYSCLK_W::new(self, 31) } diff --git a/esp32c3/src/spi2/cmd.rs b/esp32c3/src/spi2/cmd.rs index 1ada226097..6946c7b016 100644 --- a/esp32c3/src/spi2/cmd.rs +++ b/esp32c3/src/spi2/cmd.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:17 - Define the APB cycles of SPI_CONF state. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn conf_bitlen(&mut self) -> CONF_BITLEN_W { CONF_BITLEN_W::new(self, 0) } #[doc = "Bit 23 - Set this bit to synchronize SPI registers from APB clock domain into SPI module clock domain, which is only used in SPI master mode."] #[inline(always)] - #[must_use] pub fn update(&mut self) -> UPDATE_W { UPDATE_W::new(self, 23) } #[doc = "Bit 24 - User define command enable. An operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable. Can not be changed by CONF_buf."] #[inline(always)] - #[must_use] pub fn usr(&mut self) -> USR_W { USR_W::new(self, 24) } diff --git a/esp32c3/src/spi2/ctrl.rs b/esp32c3/src/spi2/ctrl.rs index e0443cffab..bd40a9fdb1 100644 --- a/esp32c3/src/spi2/ctrl.rs +++ b/esp32c3/src/spi2/ctrl.rs @@ -144,79 +144,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - In the dummy phase the signal level of spi is output by the spi controller. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dummy_out(&mut self) -> DUMMY_OUT_W { DUMMY_OUT_W::new(self, 3) } #[doc = "Bit 5 - Apply 2 signals during addr phase 1:enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn faddr_dual(&mut self) -> FADDR_DUAL_W { FADDR_DUAL_W::new(self, 5) } #[doc = "Bit 6 - Apply 4 signals during addr phase 1:enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn faddr_quad(&mut self) -> FADDR_QUAD_W { FADDR_QUAD_W::new(self, 6) } #[doc = "Bit 8 - Apply 2 signals during command phase 1:enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fcmd_dual(&mut self) -> FCMD_DUAL_W { FCMD_DUAL_W::new(self, 8) } #[doc = "Bit 9 - Apply 4 signals during command phase 1:enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fcmd_quad(&mut self) -> FCMD_QUAD_W { FCMD_QUAD_W::new(self, 9) } #[doc = "Bit 14 - In the read operations, read-data phase apply 2 signals. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fread_dual(&mut self) -> FREAD_DUAL_W { FREAD_DUAL_W::new(self, 14) } #[doc = "Bit 15 - In the read operations read-data phase apply 4 signals. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fread_quad(&mut self) -> FREAD_QUAD_W { FREAD_QUAD_W::new(self, 15) } #[doc = "Bit 18 - The bit is used to set MISO line polarity, 1: high 0, low. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn q_pol(&mut self) -> Q_POL_W { Q_POL_W::new(self, 18) } #[doc = "Bit 19 - The bit is used to set MOSI line polarity, 1: high 0, low. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn d_pol(&mut self) -> D_POL_W { D_POL_W::new(self, 19) } #[doc = "Bit 20 - SPI_HOLD output value when SPI is idle. 1: output high, 0: output low. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn hold_pol(&mut self) -> HOLD_POL_W { HOLD_POL_W::new(self, 20) } #[doc = "Bit 21 - Write protect signal output when SPI is idle. 1: output high, 0: output low. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn wp_pol(&mut self) -> WP_POL_W { WP_POL_W::new(self, 21) } #[doc = "Bit 25 - In read-data (MISO) phase 1: LSB first 0: MSB first. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn rd_bit_order(&mut self) -> RD_BIT_ORDER_W { RD_BIT_ORDER_W::new(self, 25) } #[doc = "Bit 26 - In command address write-data (MOSI) phases 1: LSB firs 0: MSB first. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn wr_bit_order(&mut self) -> WR_BIT_ORDER_W { WR_BIT_ORDER_W::new(self, 26) } diff --git a/esp32c3/src/spi2/date.rs b/esp32c3/src/spi2/date.rs index 7a2bc5c217..baa95b3cb1 100644 --- a/esp32c3/src/spi2/date.rs +++ b/esp32c3/src/spi2/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - SPI register version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c3/src/spi2/din_mode.rs b/esp32c3/src/spi2/din_mode.rs index eb0eb427e6..60ebe1fa73 100644 --- a/esp32c3/src/spi2/din_mode.rs +++ b/esp32c3/src/spi2/din_mode.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din0_mode(&mut self) -> DIN0_MODE_W { DIN0_MODE_W::new(self, 0) } #[doc = "Bits 2:3 - the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din1_mode(&mut self) -> DIN1_MODE_W { DIN1_MODE_W::new(self, 2) } #[doc = "Bits 4:5 - the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din2_mode(&mut self) -> DIN2_MODE_W { DIN2_MODE_W::new(self, 4) } #[doc = "Bits 6:7 - the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din3_mode(&mut self) -> DIN3_MODE_W { DIN3_MODE_W::new(self, 6) } #[doc = "Bit 16 - 1:enable hclk in SPI input timing module. 0: disable it. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn timing_hclk_active(&mut self) -> TIMING_HCLK_ACTIVE_W { TIMING_HCLK_ACTIVE_W::new(self, 16) } diff --git a/esp32c3/src/spi2/din_num.rs b/esp32c3/src/spi2/din_num.rs index ae07fe09af..c3eb7c70ae 100644 --- a/esp32c3/src/spi2/din_num.rs +++ b/esp32c3/src/spi2/din_num.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din0_num(&mut self) -> DIN0_NUM_W { DIN0_NUM_W::new(self, 0) } #[doc = "Bits 2:3 - the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din1_num(&mut self) -> DIN1_NUM_W { DIN1_NUM_W::new(self, 2) } #[doc = "Bits 4:5 - the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din2_num(&mut self) -> DIN2_NUM_W { DIN2_NUM_W::new(self, 4) } #[doc = "Bits 6:7 - the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din3_num(&mut self) -> DIN3_NUM_W { DIN3_NUM_W::new(self, 6) } diff --git a/esp32c3/src/spi2/dma_conf.rs b/esp32c3/src/spi2/dma_conf.rs index 29f9caade3..f3dd71ba37 100644 --- a/esp32c3/src/spi2/dma_conf.rs +++ b/esp32c3/src/spi2/dma_conf.rs @@ -80,55 +80,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 18 - Enable dma segment transfer in spi dma half slave mode. 1: enable. 0: disable."] #[inline(always)] - #[must_use] pub fn dma_slv_seg_trans_en(&mut self) -> DMA_SLV_SEG_TRANS_EN_W { DMA_SLV_SEG_TRANS_EN_W::new(self, 18) } #[doc = "Bit 19 - 1: spi_dma_infifo_full_vld is cleared by spi slave cmd 5. 0: spi_dma_infifo_full_vld is cleared by spi_trans_done."] #[inline(always)] - #[must_use] pub fn slv_rx_seg_trans_clr_en(&mut self) -> SLV_RX_SEG_TRANS_CLR_EN_W { SLV_RX_SEG_TRANS_CLR_EN_W::new(self, 19) } #[doc = "Bit 20 - 1: spi_dma_outfifo_empty_vld is cleared by spi slave cmd 6. 0: spi_dma_outfifo_empty_vld is cleared by spi_trans_done."] #[inline(always)] - #[must_use] pub fn slv_tx_seg_trans_clr_en(&mut self) -> SLV_TX_SEG_TRANS_CLR_EN_W { SLV_TX_SEG_TRANS_CLR_EN_W::new(self, 20) } #[doc = "Bit 21 - 1: spi_dma_inlink_eof is set when the number of dma pushed data bytes is equal to the value of spi_slv/mst_dma_rd_bytelen\\[19:0\\] in spi dma transition. 0: spi_dma_inlink_eof is set by spi_trans_done in non-seg-trans or spi_dma_seg_trans_done in seg-trans."] #[inline(always)] - #[must_use] pub fn rx_eof_en(&mut self) -> RX_EOF_EN_W { RX_EOF_EN_W::new(self, 21) } #[doc = "Bit 27 - Set this bit to enable SPI DMA controlled receive data mode."] #[inline(always)] - #[must_use] pub fn dma_rx_ena(&mut self) -> DMA_RX_ENA_W { DMA_RX_ENA_W::new(self, 27) } #[doc = "Bit 28 - Set this bit to enable SPI DMA controlled send data mode."] #[inline(always)] - #[must_use] pub fn dma_tx_ena(&mut self) -> DMA_TX_ENA_W { DMA_TX_ENA_W::new(self, 28) } #[doc = "Bit 29 - Set this bit to reset RX AFIFO, which is used to receive data in SPI master and slave mode transfer."] #[inline(always)] - #[must_use] pub fn rx_afifo_rst(&mut self) -> RX_AFIFO_RST_W { RX_AFIFO_RST_W::new(self, 29) } #[doc = "Bit 30 - Set this bit to reset BUF TX AFIFO, which is used send data out in SPI slave CPU controlled mode transfer and master mode transfer."] #[inline(always)] - #[must_use] pub fn buf_afifo_rst(&mut self) -> BUF_AFIFO_RST_W { BUF_AFIFO_RST_W::new(self, 30) } #[doc = "Bit 31 - Set this bit to reset DMA TX AFIFO, which is used to send data out in SPI slave DMA controlled mode transfer."] #[inline(always)] - #[must_use] pub fn dma_afifo_rst(&mut self) -> DMA_AFIFO_RST_W { DMA_AFIFO_RST_W::new(self, 31) } diff --git a/esp32c3/src/spi2/dma_int_clr.rs b/esp32c3/src/spi2/dma_int_clr.rs index 0deead8e58..8d915507be 100644 --- a/esp32c3/src/spi2/dma_int_clr.rs +++ b/esp32c3/src/spi2/dma_int_clr.rs @@ -51,127 +51,106 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The clear bit for SPI_DMA_INFIFO_FULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_infifo_full_err(&mut self) -> DMA_INFIFO_FULL_ERR_W { DMA_INFIFO_FULL_ERR_W::new(self, 0) } #[doc = "Bit 1 - The clear bit for SPI_DMA_OUTFIFO_EMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_outfifo_empty_err(&mut self) -> DMA_OUTFIFO_EMPTY_ERR_W { DMA_OUTFIFO_EMPTY_ERR_W::new(self, 1) } #[doc = "Bit 2 - The clear bit for SPI slave Ex_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_ex_qpi(&mut self) -> SLV_EX_QPI_W { SLV_EX_QPI_W::new(self, 2) } #[doc = "Bit 3 - The clear bit for SPI slave En_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_en_qpi(&mut self) -> SLV_EN_QPI_W { SLV_EN_QPI_W::new(self, 3) } #[doc = "Bit 4 - The clear bit for SPI slave CMD7 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd7(&mut self) -> SLV_CMD7_W { SLV_CMD7_W::new(self, 4) } #[doc = "Bit 5 - The clear bit for SPI slave CMD8 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd8(&mut self) -> SLV_CMD8_W { SLV_CMD8_W::new(self, 5) } #[doc = "Bit 6 - The clear bit for SPI slave CMD9 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd9(&mut self) -> SLV_CMD9_W { SLV_CMD9_W::new(self, 6) } #[doc = "Bit 7 - The clear bit for SPI slave CMDA interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmda(&mut self) -> SLV_CMDA_W { SLV_CMDA_W::new(self, 7) } #[doc = "Bit 8 - The clear bit for SPI_SLV_RD_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_dma_done(&mut self) -> SLV_RD_DMA_DONE_W { SLV_RD_DMA_DONE_W::new(self, 8) } #[doc = "Bit 9 - The clear bit for SPI_SLV_WR_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_dma_done(&mut self) -> SLV_WR_DMA_DONE_W { SLV_WR_DMA_DONE_W::new(self, 9) } #[doc = "Bit 10 - The clear bit for SPI_SLV_RD_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_buf_done(&mut self) -> SLV_RD_BUF_DONE_W { SLV_RD_BUF_DONE_W::new(self, 10) } #[doc = "Bit 11 - The clear bit for SPI_SLV_WR_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_buf_done(&mut self) -> SLV_WR_BUF_DONE_W { SLV_WR_BUF_DONE_W::new(self, 11) } #[doc = "Bit 12 - The clear bit for SPI_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_done(&mut self) -> TRANS_DONE_W { TRANS_DONE_W::new(self, 12) } #[doc = "Bit 13 - The clear bit for SPI_DMA_SEG_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_seg_trans_done(&mut self) -> DMA_SEG_TRANS_DONE_W { DMA_SEG_TRANS_DONE_W::new(self, 13) } #[doc = "Bit 14 - The clear bit for SPI_SEG_MAGIC_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn seg_magic_err(&mut self) -> SEG_MAGIC_ERR_W { SEG_MAGIC_ERR_W::new(self, 14) } #[doc = "Bit 15 - The clear bit for SPI_SLV_BUF_ADDR_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_buf_addr_err(&mut self) -> SLV_BUF_ADDR_ERR_W { SLV_BUF_ADDR_ERR_W::new(self, 15) } #[doc = "Bit 16 - The clear bit for SPI_SLV_CMD_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd_err(&mut self) -> SLV_CMD_ERR_W { SLV_CMD_ERR_W::new(self, 16) } #[doc = "Bit 17 - The clear bit for SPI_MST_RX_AFIFO_WFULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_rx_afifo_wfull_err(&mut self) -> MST_RX_AFIFO_WFULL_ERR_W { MST_RX_AFIFO_WFULL_ERR_W::new(self, 17) } #[doc = "Bit 18 - The clear bit for SPI_MST_TX_AFIFO_REMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_tx_afifo_rempty_err(&mut self) -> MST_TX_AFIFO_REMPTY_ERR_W { MST_TX_AFIFO_REMPTY_ERR_W::new(self, 18) } #[doc = "Bit 19 - The clear bit for SPI_APP2_INT interrupt."] #[inline(always)] - #[must_use] pub fn app2(&mut self) -> APP2_W { APP2_W::new(self, 19) } #[doc = "Bit 20 - The clear bit for SPI_APP1_INT interrupt."] #[inline(always)] - #[must_use] pub fn app1(&mut self) -> APP1_W { APP1_W::new(self, 20) } diff --git a/esp32c3/src/spi2/dma_int_ena.rs b/esp32c3/src/spi2/dma_int_ena.rs index 075a271142..8861e0aea6 100644 --- a/esp32c3/src/spi2/dma_int_ena.rs +++ b/esp32c3/src/spi2/dma_int_ena.rs @@ -224,127 +224,106 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The enable bit for SPI_DMA_INFIFO_FULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_infifo_full_err(&mut self) -> DMA_INFIFO_FULL_ERR_W { DMA_INFIFO_FULL_ERR_W::new(self, 0) } #[doc = "Bit 1 - The enable bit for SPI_DMA_OUTFIFO_EMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_outfifo_empty_err(&mut self) -> DMA_OUTFIFO_EMPTY_ERR_W { DMA_OUTFIFO_EMPTY_ERR_W::new(self, 1) } #[doc = "Bit 2 - The enable bit for SPI slave Ex_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_ex_qpi(&mut self) -> SLV_EX_QPI_W { SLV_EX_QPI_W::new(self, 2) } #[doc = "Bit 3 - The enable bit for SPI slave En_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_en_qpi(&mut self) -> SLV_EN_QPI_W { SLV_EN_QPI_W::new(self, 3) } #[doc = "Bit 4 - The enable bit for SPI slave CMD7 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd7(&mut self) -> SLV_CMD7_W { SLV_CMD7_W::new(self, 4) } #[doc = "Bit 5 - The enable bit for SPI slave CMD8 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd8(&mut self) -> SLV_CMD8_W { SLV_CMD8_W::new(self, 5) } #[doc = "Bit 6 - The enable bit for SPI slave CMD9 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd9(&mut self) -> SLV_CMD9_W { SLV_CMD9_W::new(self, 6) } #[doc = "Bit 7 - The enable bit for SPI slave CMDA interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmda(&mut self) -> SLV_CMDA_W { SLV_CMDA_W::new(self, 7) } #[doc = "Bit 8 - The enable bit for SPI_SLV_RD_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_dma_done(&mut self) -> SLV_RD_DMA_DONE_W { SLV_RD_DMA_DONE_W::new(self, 8) } #[doc = "Bit 9 - The enable bit for SPI_SLV_WR_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_dma_done(&mut self) -> SLV_WR_DMA_DONE_W { SLV_WR_DMA_DONE_W::new(self, 9) } #[doc = "Bit 10 - The enable bit for SPI_SLV_RD_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_buf_done(&mut self) -> SLV_RD_BUF_DONE_W { SLV_RD_BUF_DONE_W::new(self, 10) } #[doc = "Bit 11 - The enable bit for SPI_SLV_WR_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_buf_done(&mut self) -> SLV_WR_BUF_DONE_W { SLV_WR_BUF_DONE_W::new(self, 11) } #[doc = "Bit 12 - The enable bit for SPI_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_done(&mut self) -> TRANS_DONE_W { TRANS_DONE_W::new(self, 12) } #[doc = "Bit 13 - The enable bit for SPI_DMA_SEG_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_seg_trans_done(&mut self) -> DMA_SEG_TRANS_DONE_W { DMA_SEG_TRANS_DONE_W::new(self, 13) } #[doc = "Bit 14 - The enable bit for SPI_SEG_MAGIC_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn seg_magic_err(&mut self) -> SEG_MAGIC_ERR_W { SEG_MAGIC_ERR_W::new(self, 14) } #[doc = "Bit 15 - The enable bit for SPI_SLV_BUF_ADDR_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_buf_addr_err(&mut self) -> SLV_BUF_ADDR_ERR_W { SLV_BUF_ADDR_ERR_W::new(self, 15) } #[doc = "Bit 16 - The enable bit for SPI_SLV_CMD_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd_err(&mut self) -> SLV_CMD_ERR_W { SLV_CMD_ERR_W::new(self, 16) } #[doc = "Bit 17 - The enable bit for SPI_MST_RX_AFIFO_WFULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_rx_afifo_wfull_err(&mut self) -> MST_RX_AFIFO_WFULL_ERR_W { MST_RX_AFIFO_WFULL_ERR_W::new(self, 17) } #[doc = "Bit 18 - The enable bit for SPI_MST_TX_AFIFO_REMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_tx_afifo_rempty_err(&mut self) -> MST_TX_AFIFO_REMPTY_ERR_W { MST_TX_AFIFO_REMPTY_ERR_W::new(self, 18) } #[doc = "Bit 19 - The enable bit for SPI_APP2_INT interrupt."] #[inline(always)] - #[must_use] pub fn app2(&mut self) -> APP2_W { APP2_W::new(self, 19) } #[doc = "Bit 20 - The enable bit for SPI_APP1_INT interrupt."] #[inline(always)] - #[must_use] pub fn app1(&mut self) -> APP1_W { APP1_W::new(self, 20) } diff --git a/esp32c3/src/spi2/dma_int_raw.rs b/esp32c3/src/spi2/dma_int_raw.rs index 6921e4419e..c56a4041d5 100644 --- a/esp32c3/src/spi2/dma_int_raw.rs +++ b/esp32c3/src/spi2/dma_int_raw.rs @@ -224,127 +224,106 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: The current data rate of DMA Rx is smaller than that of SPI, which will lose the receive data. 0: Others."] #[inline(always)] - #[must_use] pub fn dma_infifo_full_err(&mut self) -> DMA_INFIFO_FULL_ERR_W { DMA_INFIFO_FULL_ERR_W::new(self, 0) } #[doc = "Bit 1 - 1: The current data rate of DMA TX is smaller than that of SPI. SPI will stop in master mode and send out all 0 in slave mode. 0: Others."] #[inline(always)] - #[must_use] pub fn dma_outfifo_empty_err(&mut self) -> DMA_OUTFIFO_EMPTY_ERR_W { DMA_OUTFIFO_EMPTY_ERR_W::new(self, 1) } #[doc = "Bit 2 - The raw bit for SPI slave Ex_QPI interrupt. 1: SPI slave mode Ex_QPI transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_ex_qpi(&mut self) -> SLV_EX_QPI_W { SLV_EX_QPI_W::new(self, 2) } #[doc = "Bit 3 - The raw bit for SPI slave En_QPI interrupt. 1: SPI slave mode En_QPI transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_en_qpi(&mut self) -> SLV_EN_QPI_W { SLV_EN_QPI_W::new(self, 3) } #[doc = "Bit 4 - The raw bit for SPI slave CMD7 interrupt. 1: SPI slave mode CMD7 transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_cmd7(&mut self) -> SLV_CMD7_W { SLV_CMD7_W::new(self, 4) } #[doc = "Bit 5 - The raw bit for SPI slave CMD8 interrupt. 1: SPI slave mode CMD8 transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_cmd8(&mut self) -> SLV_CMD8_W { SLV_CMD8_W::new(self, 5) } #[doc = "Bit 6 - The raw bit for SPI slave CMD9 interrupt. 1: SPI slave mode CMD9 transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_cmd9(&mut self) -> SLV_CMD9_W { SLV_CMD9_W::new(self, 6) } #[doc = "Bit 7 - The raw bit for SPI slave CMDA interrupt. 1: SPI slave mode CMDA transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_cmda(&mut self) -> SLV_CMDA_W { SLV_CMDA_W::new(self, 7) } #[doc = "Bit 8 - The raw bit for SPI_SLV_RD_DMA_DONE_INT interrupt. 1: SPI slave mode Rd_DMA transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_rd_dma_done(&mut self) -> SLV_RD_DMA_DONE_W { SLV_RD_DMA_DONE_W::new(self, 8) } #[doc = "Bit 9 - The raw bit for SPI_SLV_WR_DMA_DONE_INT interrupt. 1: SPI slave mode Wr_DMA transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_wr_dma_done(&mut self) -> SLV_WR_DMA_DONE_W { SLV_WR_DMA_DONE_W::new(self, 9) } #[doc = "Bit 10 - The raw bit for SPI_SLV_RD_BUF_DONE_INT interrupt. 1: SPI slave mode Rd_BUF transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_rd_buf_done(&mut self) -> SLV_RD_BUF_DONE_W { SLV_RD_BUF_DONE_W::new(self, 10) } #[doc = "Bit 11 - The raw bit for SPI_SLV_WR_BUF_DONE_INT interrupt. 1: SPI slave mode Wr_BUF transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_wr_buf_done(&mut self) -> SLV_WR_BUF_DONE_W { SLV_WR_BUF_DONE_W::new(self, 11) } #[doc = "Bit 12 - The raw bit for SPI_TRANS_DONE_INT interrupt. 1: SPI master mode transmission is ended. 0: others."] #[inline(always)] - #[must_use] pub fn trans_done(&mut self) -> TRANS_DONE_W { TRANS_DONE_W::new(self, 12) } #[doc = "Bit 13 - The raw bit for SPI_DMA_SEG_TRANS_DONE_INT interrupt. 1: spi master DMA full-duplex/half-duplex seg-conf-trans ends or slave half-duplex seg-trans ends. And data has been pushed to corresponding memory. 0: seg-conf-trans or seg-trans is not ended or not occurred."] #[inline(always)] - #[must_use] pub fn dma_seg_trans_done(&mut self) -> DMA_SEG_TRANS_DONE_W { DMA_SEG_TRANS_DONE_W::new(self, 13) } #[doc = "Bit 14 - The raw bit for SPI_SEG_MAGIC_ERR_INT interrupt. 1: The magic value in CONF buffer is error in the DMA seg-conf-trans. 0: others."] #[inline(always)] - #[must_use] pub fn seg_magic_err(&mut self) -> SEG_MAGIC_ERR_W { SEG_MAGIC_ERR_W::new(self, 14) } #[doc = "Bit 15 - The raw bit for SPI_SLV_BUF_ADDR_ERR_INT interrupt. 1: The accessing data address of the current SPI slave mode CPU controlled FD, Wr_BUF or Rd_BUF transmission is bigger than 63. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_buf_addr_err(&mut self) -> SLV_BUF_ADDR_ERR_W { SLV_BUF_ADDR_ERR_W::new(self, 15) } #[doc = "Bit 16 - The raw bit for SPI_SLV_CMD_ERR_INT interrupt. 1: The slave command value in the current SPI slave HD mode transmission is not supported. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_cmd_err(&mut self) -> SLV_CMD_ERR_W { SLV_CMD_ERR_W::new(self, 16) } #[doc = "Bit 17 - The raw bit for SPI_MST_RX_AFIFO_WFULL_ERR_INT interrupt. 1: There is a RX AFIFO write-full error when SPI inputs data in master mode. 0: Others."] #[inline(always)] - #[must_use] pub fn mst_rx_afifo_wfull_err(&mut self) -> MST_RX_AFIFO_WFULL_ERR_W { MST_RX_AFIFO_WFULL_ERR_W::new(self, 17) } #[doc = "Bit 18 - The raw bit for SPI_MST_TX_AFIFO_REMPTY_ERR_INT interrupt. 1: There is a TX BUF AFIFO read-empty error when SPI outputs data in master mode. 0: Others."] #[inline(always)] - #[must_use] pub fn mst_tx_afifo_rempty_err(&mut self) -> MST_TX_AFIFO_REMPTY_ERR_W { MST_TX_AFIFO_REMPTY_ERR_W::new(self, 18) } #[doc = "Bit 19 - The raw bit for SPI_APP2_INT interrupt. The value is only controlled by application."] #[inline(always)] - #[must_use] pub fn app2(&mut self) -> APP2_W { APP2_W::new(self, 19) } #[doc = "Bit 20 - The raw bit for SPI_APP1_INT interrupt. The value is only controlled by application."] #[inline(always)] - #[must_use] pub fn app1(&mut self) -> APP1_W { APP1_W::new(self, 20) } diff --git a/esp32c3/src/spi2/dout_mode.rs b/esp32c3/src/spi2/dout_mode.rs index 5c11f886ac..e7a88b184e 100644 --- a/esp32c3/src/spi2/dout_mode.rs +++ b/esp32c3/src/spi2/dout_mode.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The output signal 0 is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout0_mode(&mut self) -> DOUT0_MODE_W { DOUT0_MODE_W::new(self, 0) } #[doc = "Bit 1 - The output signal 1 is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout1_mode(&mut self) -> DOUT1_MODE_W { DOUT1_MODE_W::new(self, 1) } #[doc = "Bit 2 - The output signal 2 is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout2_mode(&mut self) -> DOUT2_MODE_W { DOUT2_MODE_W::new(self, 2) } #[doc = "Bit 3 - The output signal 3 is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout3_mode(&mut self) -> DOUT3_MODE_W { DOUT3_MODE_W::new(self, 3) } diff --git a/esp32c3/src/spi2/misc.rs b/esp32c3/src/spi2/misc.rs index da2dcb5d1e..788ca9e85a 100644 --- a/esp32c3/src/spi2/misc.rs +++ b/esp32c3/src/spi2/misc.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - SPI CS0 pin enable, 1: disable CS0, 0: spi_cs0 signal is from/to CS0 pin. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs0_dis(&mut self) -> CS0_DIS_W { CS0_DIS_W::new(self, 0) } #[doc = "Bit 1 - SPI CS1 pin enable, 1: disable CS1, 0: spi_cs1 signal is from/to CS1 pin. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs1_dis(&mut self) -> CS1_DIS_W { CS1_DIS_W::new(self, 1) } #[doc = "Bit 2 - SPI CS2 pin enable, 1: disable CS2, 0: spi_cs2 signal is from/to CS2 pin. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs2_dis(&mut self) -> CS2_DIS_W { CS2_DIS_W::new(self, 2) } #[doc = "Bit 3 - SPI CS3 pin enable, 1: disable CS3, 0: spi_cs3 signal is from/to CS3 pin. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs3_dis(&mut self) -> CS3_DIS_W { CS3_DIS_W::new(self, 3) } #[doc = "Bit 4 - SPI CS4 pin enable, 1: disable CS4, 0: spi_cs4 signal is from/to CS4 pin. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs4_dis(&mut self) -> CS4_DIS_W { CS4_DIS_W::new(self, 4) } #[doc = "Bit 5 - SPI CS5 pin enable, 1: disable CS5, 0: spi_cs5 signal is from/to CS5 pin. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs5_dis(&mut self) -> CS5_DIS_W { CS5_DIS_W::new(self, 5) } #[doc = "Bit 6 - 1: spi clk out disable, 0: spi clk out enable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn ck_dis(&mut self) -> CK_DIS_W { CK_DIS_W::new(self, 6) } #[doc = "Bits 7:12 - In the master mode the bits are the polarity of spi cs line, the value is equivalent to spi_cs ^ spi_master_cs_pol. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn master_cs_pol(&mut self) -> MASTER_CS_POL_W { MASTER_CS_POL_W::new(self, 7) } #[doc = "Bit 23 - spi slave input cs polarity select. 1: inv 0: not change. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn slave_cs_pol(&mut self) -> SLAVE_CS_POL_W { SLAVE_CS_POL_W::new(self, 23) } #[doc = "Bit 29 - 1: spi clk line is high when idle 0: spi clk line is low when idle. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn ck_idle_edge(&mut self) -> CK_IDLE_EDGE_W { CK_IDLE_EDGE_W::new(self, 29) } #[doc = "Bit 30 - spi cs line keep low when the bit is set. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_keep_active(&mut self) -> CS_KEEP_ACTIVE_W { CS_KEEP_ACTIVE_W::new(self, 30) } #[doc = "Bit 31 - 1: spi quad input swap enable 0: spi quad input swap disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn quad_din_pin_swap(&mut self) -> QUAD_DIN_PIN_SWAP_W { QUAD_DIN_PIN_SWAP_W::new(self, 31) } diff --git a/esp32c3/src/spi2/ms_dlen.rs b/esp32c3/src/spi2/ms_dlen.rs index 14a0b1bf7f..fab214224a 100644 --- a/esp32c3/src/spi2/ms_dlen.rs +++ b/esp32c3/src/spi2/ms_dlen.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:17 - The value of these bits is the configured SPI transmission data bit length in master mode DMA controlled transfer or CPU controlled transfer. The value is also the configured bit length in slave mode DMA RX controlled transfer. The register value shall be (bit_num-1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn ms_data_bitlen(&mut self) -> MS_DATA_BITLEN_W { MS_DATA_BITLEN_W::new(self, 0) } diff --git a/esp32c3/src/spi2/slave.rs b/esp32c3/src/spi2/slave.rs index 790884a738..ae7b3d4f66 100644 --- a/esp32c3/src/spi2/slave.rs +++ b/esp32c3/src/spi2/slave.rs @@ -116,67 +116,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - SPI clock mode bits. 0: SPI clock is off when CS inactive 1: SPI clock is delayed one cycle after CS inactive 2: SPI clock is delayed two cycles after CS inactive 3: SPI clock is alwasy on. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clk_mode(&mut self) -> CLK_MODE_W { CLK_MODE_W::new(self, 0) } #[doc = "Bit 2 - {CPOL, CPHA},1: support spi clk mode 1 and 3, first edge output data B\\[0\\]/B\\[7\\]. 0: support spi clk mode 0 and 2, first edge output data B\\[1\\]/B\\[6\\]."] #[inline(always)] - #[must_use] pub fn clk_mode_13(&mut self) -> CLK_MODE_13_W { CLK_MODE_13_W::new(self, 2) } #[doc = "Bit 3 - It saves half a cycle when tsck is the same as rsck. 1: output data at rsck posedge 0: output data at tsck posedge"] #[inline(always)] - #[must_use] pub fn rsck_data_out(&mut self) -> RSCK_DATA_OUT_W { RSCK_DATA_OUT_W::new(self, 3) } #[doc = "Bit 8 - 1: SPI_SLV_DATA_BITLEN stores data bit length of master-read-slave data length in DMA controlled mode(Rd_DMA). 0: others"] #[inline(always)] - #[must_use] pub fn slv_rddma_bitlen_en(&mut self) -> SLV_RDDMA_BITLEN_EN_W { SLV_RDDMA_BITLEN_EN_W::new(self, 8) } #[doc = "Bit 9 - 1: SPI_SLV_DATA_BITLEN stores data bit length of master-write-to-slave data length in DMA controlled mode(Wr_DMA). 0: others"] #[inline(always)] - #[must_use] pub fn slv_wrdma_bitlen_en(&mut self) -> SLV_WRDMA_BITLEN_EN_W { SLV_WRDMA_BITLEN_EN_W::new(self, 9) } #[doc = "Bit 10 - 1: SPI_SLV_DATA_BITLEN stores data bit length of master-read-slave data length in CPU controlled mode(Rd_BUF). 0: others"] #[inline(always)] - #[must_use] pub fn slv_rdbuf_bitlen_en(&mut self) -> SLV_RDBUF_BITLEN_EN_W { SLV_RDBUF_BITLEN_EN_W::new(self, 10) } #[doc = "Bit 11 - 1: SPI_SLV_DATA_BITLEN stores data bit length of master-write-to-slave data length in CPU controlled mode(Wr_BUF). 0: others"] #[inline(always)] - #[must_use] pub fn slv_wrbuf_bitlen_en(&mut self) -> SLV_WRBUF_BITLEN_EN_W { SLV_WRBUF_BITLEN_EN_W::new(self, 11) } #[doc = "Bits 22:25 - The magic value of BM table in master DMA seg-trans."] #[inline(always)] - #[must_use] pub fn dma_seg_magic_value(&mut self) -> DMA_SEG_MAGIC_VALUE_W { DMA_SEG_MAGIC_VALUE_W::new(self, 22) } #[doc = "Bit 26 - Set SPI work mode. 1: slave mode 0: master mode."] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 26) } #[doc = "Bit 27 - Software reset enable, reset the spi clock line cs line and data lines. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn soft_reset(&mut self) -> SOFT_RESET_W { SOFT_RESET_W::new(self, 27) } #[doc = "Bit 28 - 1: Enable the DMA CONF phase of current seg-trans operation, which means seg-trans will start. 0: This is not seg-trans mode."] #[inline(always)] - #[must_use] pub fn usr_conf(&mut self) -> USR_CONF_W { USR_CONF_W::new(self, 28) } diff --git a/esp32c3/src/spi2/slave1.rs b/esp32c3/src/spi2/slave1.rs index 4e464a31b4..2408ff65a5 100644 --- a/esp32c3/src/spi2/slave1.rs +++ b/esp32c3/src/spi2/slave1.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:17 - The transferred data bit length in SPI slave FD and HD mode."] #[inline(always)] - #[must_use] pub fn slv_data_bitlen(&mut self) -> SLV_DATA_BITLEN_W { SLV_DATA_BITLEN_W::new(self, 0) } #[doc = "Bits 18:25 - In the slave mode it is the value of command."] #[inline(always)] - #[must_use] pub fn slv_last_command(&mut self) -> SLV_LAST_COMMAND_W { SLV_LAST_COMMAND_W::new(self, 18) } #[doc = "Bits 26:31 - In the slave mode it is the value of address."] #[inline(always)] - #[must_use] pub fn slv_last_addr(&mut self) -> SLV_LAST_ADDR_W { SLV_LAST_ADDR_W::new(self, 26) } diff --git a/esp32c3/src/spi2/user.rs b/esp32c3/src/spi2/user.rs index 5e21b20152..0f426b8fc7 100644 --- a/esp32c3/src/spi2/user.rs +++ b/esp32c3/src/spi2/user.rs @@ -204,115 +204,96 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set the bit to enable full duplex communication. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn doutdin(&mut self) -> DOUTDIN_W { DOUTDIN_W::new(self, 0) } #[doc = "Bit 3 - Both for master mode and slave mode. 1: spi controller is in QPI mode. 0: others. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn qpi_mode(&mut self) -> QPI_MODE_W { QPI_MODE_W::new(self, 3) } #[doc = "Bit 5 - In the slave mode, this bit can be used to change the polarity of tsck. 0: tsck = spi_ck_i. 1:tsck = !spi_ck_i."] #[inline(always)] - #[must_use] pub fn tsck_i_edge(&mut self) -> TSCK_I_EDGE_W { TSCK_I_EDGE_W::new(self, 5) } #[doc = "Bit 6 - spi cs keep low when spi is in done phase. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_hold(&mut self) -> CS_HOLD_W { CS_HOLD_W::new(self, 6) } #[doc = "Bit 7 - spi cs is enable when spi is in prepare phase. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_setup(&mut self) -> CS_SETUP_W { CS_SETUP_W::new(self, 7) } #[doc = "Bit 8 - In the slave mode, this bit can be used to change the polarity of rsck. 0: rsck = !spi_ck_i. 1:rsck = spi_ck_i."] #[inline(always)] - #[must_use] pub fn rsck_i_edge(&mut self) -> RSCK_I_EDGE_W { RSCK_I_EDGE_W::new(self, 8) } #[doc = "Bit 9 - the bit combined with spi_mosi_delay_mode bits to set mosi signal delay mode. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn ck_out_edge(&mut self) -> CK_OUT_EDGE_W { CK_OUT_EDGE_W::new(self, 9) } #[doc = "Bit 12 - In the write operations read-data phase apply 2 signals. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fwrite_dual(&mut self) -> FWRITE_DUAL_W { FWRITE_DUAL_W::new(self, 12) } #[doc = "Bit 13 - In the write operations read-data phase apply 4 signals. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fwrite_quad(&mut self) -> FWRITE_QUAD_W { FWRITE_QUAD_W::new(self, 13) } #[doc = "Bit 15 - 1: Enable the DMA CONF phase of next seg-trans operation, which means seg-trans will continue. 0: The seg-trans will end after the current SPI seg-trans or this is not seg-trans mode. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_conf_nxt(&mut self) -> USR_CONF_NXT_W { USR_CONF_NXT_W::new(self, 15) } #[doc = "Bit 17 - Set the bit to enable 3-line half duplex communication mosi and miso signals share the same pin. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn sio(&mut self) -> SIO_W { SIO_W::new(self, 17) } #[doc = "Bit 24 - read-data phase only access to high-part of the buffer spi_w8~spi_w15. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_miso_highpart(&mut self) -> USR_MISO_HIGHPART_W { USR_MISO_HIGHPART_W::new(self, 24) } #[doc = "Bit 25 - write-data phase only access to high-part of the buffer spi_w8~spi_w15. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_mosi_highpart(&mut self) -> USR_MOSI_HIGHPART_W { USR_MOSI_HIGHPART_W::new(self, 25) } #[doc = "Bit 26 - spi clock is disable in dummy phase when the bit is enable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_dummy_idle(&mut self) -> USR_DUMMY_IDLE_W { USR_DUMMY_IDLE_W::new(self, 26) } #[doc = "Bit 27 - This bit enable the write-data phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_mosi(&mut self) -> USR_MOSI_W { USR_MOSI_W::new(self, 27) } #[doc = "Bit 28 - This bit enable the read-data phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_miso(&mut self) -> USR_MISO_W { USR_MISO_W::new(self, 28) } #[doc = "Bit 29 - This bit enable the dummy phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_dummy(&mut self) -> USR_DUMMY_W { USR_DUMMY_W::new(self, 29) } #[doc = "Bit 30 - This bit enable the address phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_addr(&mut self) -> USR_ADDR_W { USR_ADDR_W::new(self, 30) } #[doc = "Bit 31 - This bit enable the command phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_command(&mut self) -> USR_COMMAND_W { USR_COMMAND_W::new(self, 31) } diff --git a/esp32c3/src/spi2/user1.rs b/esp32c3/src/spi2/user1.rs index 95f635fa29..ebf323bb54 100644 --- a/esp32c3/src/spi2/user1.rs +++ b/esp32c3/src/spi2/user1.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - The length in spi_clk cycles of dummy phase. The register value shall be (cycle_num-1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_dummy_cyclelen(&mut self) -> USR_DUMMY_CYCLELEN_W { USR_DUMMY_CYCLELEN_W::new(self, 0) } #[doc = "Bit 16 - 1: SPI transfer is ended when SPI RX AFIFO wfull error is valid in GP-SPI master FD/HD-mode. 0: SPI transfer is not ended when SPI RX AFIFO wfull error is valid in GP-SPI master FD/HD-mode."] #[inline(always)] - #[must_use] pub fn mst_wfull_err_end_en(&mut self) -> MST_WFULL_ERR_END_EN_W { MST_WFULL_ERR_END_EN_W::new(self, 16) } #[doc = "Bits 17:21 - (cycles+1) of prepare phase by spi clock this bits are combined with spi_cs_setup bit. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_setup_time(&mut self) -> CS_SETUP_TIME_W { CS_SETUP_TIME_W::new(self, 17) } #[doc = "Bits 22:26 - delay cycles of cs pin by spi clock this bits are combined with spi_cs_hold bit. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_hold_time(&mut self) -> CS_HOLD_TIME_W { CS_HOLD_TIME_W::new(self, 22) } #[doc = "Bits 27:31 - The length in bits of address phase. The register value shall be (bit_num-1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_addr_bitlen(&mut self) -> USR_ADDR_BITLEN_W { USR_ADDR_BITLEN_W::new(self, 27) } diff --git a/esp32c3/src/spi2/user2.rs b/esp32c3/src/spi2/user2.rs index df58aa38b9..3508800e72 100644 --- a/esp32c3/src/spi2/user2.rs +++ b/esp32c3/src/spi2/user2.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The value of command. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_command_value(&mut self) -> USR_COMMAND_VALUE_W { USR_COMMAND_VALUE_W::new(self, 0) } #[doc = "Bit 27 - 1: SPI transfer is ended when SPI TX AFIFO read empty error is valid in GP-SPI master FD/HD-mode. 0: SPI transfer is not ended when SPI TX AFIFO read empty error is valid in GP-SPI master FD/HD-mode."] #[inline(always)] - #[must_use] pub fn mst_rempty_err_end_en(&mut self) -> MST_REMPTY_ERR_END_EN_W { MST_REMPTY_ERR_END_EN_W::new(self, 27) } #[doc = "Bits 28:31 - The length in bits of command phase. The register value shall be (bit_num-1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_command_bitlen(&mut self) -> USR_COMMAND_BITLEN_W { USR_COMMAND_BITLEN_W::new(self, 28) } diff --git a/esp32c3/src/spi2/w.rs b/esp32c3/src/spi2/w.rs index 938ceae002..dfd00d53e3 100644 --- a/esp32c3/src/spi2/w.rs +++ b/esp32c3/src/spi2/w.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - data buffer"] #[inline(always)] - #[must_use] pub fn buf(&mut self) -> BUF_W { BUF_W::new(self, 0) } diff --git a/esp32c3/src/system/bt_lpck_div_frac.rs b/esp32c3/src/system/bt_lpck_div_frac.rs index afcc06819f..b6efa2283a 100644 --- a/esp32c3/src/system/bt_lpck_div_frac.rs +++ b/esp32c3/src/system/bt_lpck_div_frac.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - reg_bt_lpck_div_b"] #[inline(always)] - #[must_use] pub fn bt_lpck_div_b(&mut self) -> BT_LPCK_DIV_B_W { BT_LPCK_DIV_B_W::new(self, 0) } #[doc = "Bits 12:23 - reg_bt_lpck_div_a"] #[inline(always)] - #[must_use] pub fn bt_lpck_div_a(&mut self) -> BT_LPCK_DIV_A_W { BT_LPCK_DIV_A_W::new(self, 12) } #[doc = "Bit 24 - reg_lpclk_sel_rtc_slow"] #[inline(always)] - #[must_use] pub fn lpclk_sel_rtc_slow(&mut self) -> LPCLK_SEL_RTC_SLOW_W { LPCLK_SEL_RTC_SLOW_W::new(self, 24) } #[doc = "Bit 25 - reg_lpclk_sel_8m"] #[inline(always)] - #[must_use] pub fn lpclk_sel_8m(&mut self) -> LPCLK_SEL_8M_W { LPCLK_SEL_8M_W::new(self, 25) } #[doc = "Bit 26 - reg_lpclk_sel_xtal"] #[inline(always)] - #[must_use] pub fn lpclk_sel_xtal(&mut self) -> LPCLK_SEL_XTAL_W { LPCLK_SEL_XTAL_W::new(self, 26) } #[doc = "Bit 27 - reg_lpclk_sel_xtal32k"] #[inline(always)] - #[must_use] pub fn lpclk_sel_xtal32k(&mut self) -> LPCLK_SEL_XTAL32K_W { LPCLK_SEL_XTAL32K_W::new(self, 27) } #[doc = "Bit 28 - reg_lpclk_rtc_en"] #[inline(always)] - #[must_use] pub fn lpclk_rtc_en(&mut self) -> LPCLK_RTC_EN_W { LPCLK_RTC_EN_W::new(self, 28) } diff --git a/esp32c3/src/system/bt_lpck_div_int.rs b/esp32c3/src/system/bt_lpck_div_int.rs index 9b4f010850..1d5f1d9fb3 100644 --- a/esp32c3/src/system/bt_lpck_div_int.rs +++ b/esp32c3/src/system/bt_lpck_div_int.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - reg_bt_lpck_div_num"] #[inline(always)] - #[must_use] pub fn bt_lpck_div_num(&mut self) -> BT_LPCK_DIV_NUM_W { BT_LPCK_DIV_NUM_W::new(self, 0) } diff --git a/esp32c3/src/system/cache_control.rs b/esp32c3/src/system/cache_control.rs index 794f464111..57e86769cd 100644 --- a/esp32c3/src/system/cache_control.rs +++ b/esp32c3/src/system/cache_control.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_icache_clk_on"] #[inline(always)] - #[must_use] pub fn icache_clk_on(&mut self) -> ICACHE_CLK_ON_W { ICACHE_CLK_ON_W::new(self, 0) } #[doc = "Bit 1 - reg_icache_reset"] #[inline(always)] - #[must_use] pub fn icache_reset(&mut self) -> ICACHE_RESET_W { ICACHE_RESET_W::new(self, 1) } #[doc = "Bit 2 - reg_dcache_clk_on"] #[inline(always)] - #[must_use] pub fn dcache_clk_on(&mut self) -> DCACHE_CLK_ON_W { DCACHE_CLK_ON_W::new(self, 2) } #[doc = "Bit 3 - reg_dcache_reset"] #[inline(always)] - #[must_use] pub fn dcache_reset(&mut self) -> DCACHE_RESET_W { DCACHE_RESET_W::new(self, 3) } diff --git a/esp32c3/src/system/clock_gate.rs b/esp32c3/src/system/clock_gate.rs index c11923fb98..a58faa7d65 100644 --- a/esp32c3/src/system/clock_gate.rs +++ b/esp32c3/src/system/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_clk_en"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32c3/src/system/comb_pvt_hvt_conf.rs b/esp32c3/src/system/comb_pvt_hvt_conf.rs index afeafdd16c..4991d758d4 100644 --- a/esp32c3/src/system/comb_pvt_hvt_conf.rs +++ b/esp32c3/src/system/comb_pvt_hvt_conf.rs @@ -36,19 +36,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_comb_path_len_hvt"] #[inline(always)] - #[must_use] pub fn comb_path_len_hvt(&mut self) -> COMB_PATH_LEN_HVT_W { COMB_PATH_LEN_HVT_W::new(self, 0) } #[doc = "Bit 5 - reg_comb_err_cnt_clr_hvt"] #[inline(always)] - #[must_use] pub fn comb_err_cnt_clr_hvt(&mut self) -> COMB_ERR_CNT_CLR_HVT_W { COMB_ERR_CNT_CLR_HVT_W::new(self, 5) } #[doc = "Bit 6 - reg_comb_pvt_monitor_en_hvt"] #[inline(always)] - #[must_use] pub fn comb_pvt_monitor_en_hvt(&mut self) -> COMB_PVT_MONITOR_EN_HVT_W { COMB_PVT_MONITOR_EN_HVT_W::new(self, 6) } diff --git a/esp32c3/src/system/comb_pvt_lvt_conf.rs b/esp32c3/src/system/comb_pvt_lvt_conf.rs index 0432018747..81deebd9d1 100644 --- a/esp32c3/src/system/comb_pvt_lvt_conf.rs +++ b/esp32c3/src/system/comb_pvt_lvt_conf.rs @@ -36,19 +36,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_comb_path_len_lvt"] #[inline(always)] - #[must_use] pub fn comb_path_len_lvt(&mut self) -> COMB_PATH_LEN_LVT_W { COMB_PATH_LEN_LVT_W::new(self, 0) } #[doc = "Bit 5 - reg_comb_err_cnt_clr_lvt"] #[inline(always)] - #[must_use] pub fn comb_err_cnt_clr_lvt(&mut self) -> COMB_ERR_CNT_CLR_LVT_W { COMB_ERR_CNT_CLR_LVT_W::new(self, 5) } #[doc = "Bit 6 - reg_comb_pvt_monitor_en_lvt"] #[inline(always)] - #[must_use] pub fn comb_pvt_monitor_en_lvt(&mut self) -> COMB_PVT_MONITOR_EN_LVT_W { COMB_PVT_MONITOR_EN_LVT_W::new(self, 6) } diff --git a/esp32c3/src/system/comb_pvt_nvt_conf.rs b/esp32c3/src/system/comb_pvt_nvt_conf.rs index 67a3a53a0c..59875b490b 100644 --- a/esp32c3/src/system/comb_pvt_nvt_conf.rs +++ b/esp32c3/src/system/comb_pvt_nvt_conf.rs @@ -36,19 +36,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - reg_comb_path_len_nvt"] #[inline(always)] - #[must_use] pub fn comb_path_len_nvt(&mut self) -> COMB_PATH_LEN_NVT_W { COMB_PATH_LEN_NVT_W::new(self, 0) } #[doc = "Bit 5 - reg_comb_err_cnt_clr_nvt"] #[inline(always)] - #[must_use] pub fn comb_err_cnt_clr_nvt(&mut self) -> COMB_ERR_CNT_CLR_NVT_W { COMB_ERR_CNT_CLR_NVT_W::new(self, 5) } #[doc = "Bit 6 - reg_comb_pvt_monitor_en_nvt"] #[inline(always)] - #[must_use] pub fn comb_pvt_monitor_en_nvt(&mut self) -> COMB_PVT_MONITOR_EN_NVT_W { COMB_PVT_MONITOR_EN_NVT_W::new(self, 6) } diff --git a/esp32c3/src/system/cpu_intr_from_cpu_0.rs b/esp32c3/src/system/cpu_intr_from_cpu_0.rs index 38b0826f1f..84f63d748a 100644 --- a/esp32c3/src/system/cpu_intr_from_cpu_0.rs +++ b/esp32c3/src/system/cpu_intr_from_cpu_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_cpu_intr_from_cpu_0"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_0(&mut self) -> CPU_INTR_FROM_CPU_0_W { CPU_INTR_FROM_CPU_0_W::new(self, 0) } diff --git a/esp32c3/src/system/cpu_intr_from_cpu_1.rs b/esp32c3/src/system/cpu_intr_from_cpu_1.rs index 57643d7b4f..8d4a660655 100644 --- a/esp32c3/src/system/cpu_intr_from_cpu_1.rs +++ b/esp32c3/src/system/cpu_intr_from_cpu_1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_cpu_intr_from_cpu_1"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_1(&mut self) -> CPU_INTR_FROM_CPU_1_W { CPU_INTR_FROM_CPU_1_W::new(self, 0) } diff --git a/esp32c3/src/system/cpu_intr_from_cpu_2.rs b/esp32c3/src/system/cpu_intr_from_cpu_2.rs index 6b05cd54f6..426ab81705 100644 --- a/esp32c3/src/system/cpu_intr_from_cpu_2.rs +++ b/esp32c3/src/system/cpu_intr_from_cpu_2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_cpu_intr_from_cpu_2"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_2(&mut self) -> CPU_INTR_FROM_CPU_2_W { CPU_INTR_FROM_CPU_2_W::new(self, 0) } diff --git a/esp32c3/src/system/cpu_intr_from_cpu_3.rs b/esp32c3/src/system/cpu_intr_from_cpu_3.rs index ca8f552502..86cbb29ffb 100644 --- a/esp32c3/src/system/cpu_intr_from_cpu_3.rs +++ b/esp32c3/src/system/cpu_intr_from_cpu_3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_cpu_intr_from_cpu_3"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_3(&mut self) -> CPU_INTR_FROM_CPU_3_W { CPU_INTR_FROM_CPU_3_W::new(self, 0) } diff --git a/esp32c3/src/system/cpu_per_conf.rs b/esp32c3/src/system/cpu_per_conf.rs index 2205eb4e3a..6da19bac9d 100644 --- a/esp32c3/src/system/cpu_per_conf.rs +++ b/esp32c3/src/system/cpu_per_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - reg_cpuperiod_sel"] #[inline(always)] - #[must_use] pub fn cpuperiod_sel(&mut self) -> CPUPERIOD_SEL_W { CPUPERIOD_SEL_W::new(self, 0) } #[doc = "Bit 2 - reg_pll_freq_sel"] #[inline(always)] - #[must_use] pub fn pll_freq_sel(&mut self) -> PLL_FREQ_SEL_W { PLL_FREQ_SEL_W::new(self, 2) } #[doc = "Bit 3 - reg_cpu_wait_mode_force_on"] #[inline(always)] - #[must_use] pub fn cpu_wait_mode_force_on(&mut self) -> CPU_WAIT_MODE_FORCE_ON_W { CPU_WAIT_MODE_FORCE_ON_W::new(self, 3) } #[doc = "Bits 4:7 - reg_cpu_waiti_delay_num"] #[inline(always)] - #[must_use] pub fn cpu_waiti_delay_num(&mut self) -> CPU_WAITI_DELAY_NUM_W { CPU_WAITI_DELAY_NUM_W::new(self, 4) } diff --git a/esp32c3/src/system/cpu_peri_clk_en.rs b/esp32c3/src/system/cpu_peri_clk_en.rs index b2e214a5f8..966c17c77c 100644 --- a/esp32c3/src/system/cpu_peri_clk_en.rs +++ b/esp32c3/src/system/cpu_peri_clk_en.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 6 - reg_clk_en_assist_debug"] #[inline(always)] - #[must_use] pub fn clk_en_assist_debug(&mut self) -> CLK_EN_ASSIST_DEBUG_W { CLK_EN_ASSIST_DEBUG_W::new(self, 6) } #[doc = "Bit 7 - reg_clk_en_dedicated_gpio"] #[inline(always)] - #[must_use] pub fn clk_en_dedicated_gpio(&mut self) -> CLK_EN_DEDICATED_GPIO_W { CLK_EN_DEDICATED_GPIO_W::new(self, 7) } diff --git a/esp32c3/src/system/cpu_peri_rst_en.rs b/esp32c3/src/system/cpu_peri_rst_en.rs index 1c569eadc4..fe1ffdb415 100644 --- a/esp32c3/src/system/cpu_peri_rst_en.rs +++ b/esp32c3/src/system/cpu_peri_rst_en.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 6 - reg_rst_en_assist_debug"] #[inline(always)] - #[must_use] pub fn rst_en_assist_debug(&mut self) -> RST_EN_ASSIST_DEBUG_W { RST_EN_ASSIST_DEBUG_W::new(self, 6) } #[doc = "Bit 7 - reg_rst_en_dedicated_gpio"] #[inline(always)] - #[must_use] pub fn rst_en_dedicated_gpio(&mut self) -> RST_EN_DEDICATED_GPIO_W { RST_EN_DEDICATED_GPIO_W::new(self, 7) } diff --git a/esp32c3/src/system/edma_ctrl.rs b/esp32c3/src/system/edma_ctrl.rs index 2058a7adf2..598e43f306 100644 --- a/esp32c3/src/system/edma_ctrl.rs +++ b/esp32c3/src/system/edma_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_edma_clk_on"] #[inline(always)] - #[must_use] pub fn edma_clk_on(&mut self) -> EDMA_CLK_ON_W { EDMA_CLK_ON_W::new(self, 0) } #[doc = "Bit 1 - reg_edma_reset"] #[inline(always)] - #[must_use] pub fn edma_reset(&mut self) -> EDMA_RESET_W { EDMA_RESET_W::new(self, 1) } diff --git a/esp32c3/src/system/external_device_encrypt_decrypt_control.rs b/esp32c3/src/system/external_device_encrypt_decrypt_control.rs index 7dab9afb18..aa33994a23 100644 --- a/esp32c3/src/system/external_device_encrypt_decrypt_control.rs +++ b/esp32c3/src/system/external_device_encrypt_decrypt_control.rs @@ -66,7 +66,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_enable_spi_manual_encrypt"] #[inline(always)] - #[must_use] pub fn enable_spi_manual_encrypt( &mut self, ) -> ENABLE_SPI_MANUAL_ENCRYPT_W { @@ -74,7 +73,6 @@ impl W { } #[doc = "Bit 1 - reg_enable_download_db_encrypt"] #[inline(always)] - #[must_use] pub fn enable_download_db_encrypt( &mut self, ) -> ENABLE_DOWNLOAD_DB_ENCRYPT_W { @@ -82,7 +80,6 @@ impl W { } #[doc = "Bit 2 - reg_enable_download_g0cb_decrypt"] #[inline(always)] - #[must_use] pub fn enable_download_g0cb_decrypt( &mut self, ) -> ENABLE_DOWNLOAD_G0CB_DECRYPT_W { @@ -90,7 +87,6 @@ impl W { } #[doc = "Bit 3 - reg_enable_download_manual_encrypt"] #[inline(always)] - #[must_use] pub fn enable_download_manual_encrypt( &mut self, ) -> ENABLE_DOWNLOAD_MANUAL_ENCRYPT_W { diff --git a/esp32c3/src/system/mem_pd_mask.rs b/esp32c3/src/system/mem_pd_mask.rs index 4abbf8cbf7..ee0ebf0039 100644 --- a/esp32c3/src/system/mem_pd_mask.rs +++ b/esp32c3/src/system/mem_pd_mask.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_lslp_mem_pd_mask"] #[inline(always)] - #[must_use] pub fn lslp_mem_pd_mask(&mut self) -> LSLP_MEM_PD_MASK_W { LSLP_MEM_PD_MASK_W::new(self, 0) } diff --git a/esp32c3/src/system/mem_pvt.rs b/esp32c3/src/system/mem_pvt.rs index 372813deea..aaf0a9d443 100644 --- a/esp32c3/src/system/mem_pvt.rs +++ b/esp32c3/src/system/mem_pvt.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - reg_mem_path_len"] #[inline(always)] - #[must_use] pub fn mem_path_len(&mut self) -> MEM_PATH_LEN_W { MEM_PATH_LEN_W::new(self, 0) } #[doc = "Bit 4 - reg_mem_err_cnt_clr"] #[inline(always)] - #[must_use] pub fn mem_err_cnt_clr(&mut self) -> MEM_ERR_CNT_CLR_W { MEM_ERR_CNT_CLR_W::new(self, 4) } #[doc = "Bit 5 - reg_mem_pvt_monitor_en"] #[inline(always)] - #[must_use] pub fn monitor_en(&mut self) -> MONITOR_EN_W { MONITOR_EN_W::new(self, 5) } #[doc = "Bits 22:23 - reg_mem_vt_sel"] #[inline(always)] - #[must_use] pub fn mem_vt_sel(&mut self) -> MEM_VT_SEL_W { MEM_VT_SEL_W::new(self, 22) } diff --git a/esp32c3/src/system/perip_clk_en0.rs b/esp32c3/src/system/perip_clk_en0.rs index 30c173b795..78dafcd0a8 100644 --- a/esp32c3/src/system/perip_clk_en0.rs +++ b/esp32c3/src/system/perip_clk_en0.rs @@ -334,193 +334,161 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_timers_clk_en"] #[inline(always)] - #[must_use] pub fn timers_clk_en(&mut self) -> TIMERS_CLK_EN_W { TIMERS_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - reg_spi01_clk_en"] #[inline(always)] - #[must_use] pub fn spi01_clk_en(&mut self) -> SPI01_CLK_EN_W { SPI01_CLK_EN_W::new(self, 1) } #[doc = "Bit 2 - reg_uart_clk_en"] #[inline(always)] - #[must_use] pub fn uart_clk_en(&mut self) -> UART_CLK_EN_W { UART_CLK_EN_W::new(self, 2) } #[doc = "Bit 3 - reg_wdg_clk_en"] #[inline(always)] - #[must_use] pub fn wdg_clk_en(&mut self) -> WDG_CLK_EN_W { WDG_CLK_EN_W::new(self, 3) } #[doc = "Bit 4 - reg_i2s0_clk_en"] #[inline(always)] - #[must_use] pub fn i2s0_clk_en(&mut self) -> I2S0_CLK_EN_W { I2S0_CLK_EN_W::new(self, 4) } #[doc = "Bit 5 - reg_uart1_clk_en"] #[inline(always)] - #[must_use] pub fn uart1_clk_en(&mut self) -> UART1_CLK_EN_W { UART1_CLK_EN_W::new(self, 5) } #[doc = "Bit 6 - reg_spi2_clk_en"] #[inline(always)] - #[must_use] pub fn spi2_clk_en(&mut self) -> SPI2_CLK_EN_W { SPI2_CLK_EN_W::new(self, 6) } #[doc = "Bit 7 - reg_ext0_clk_en"] #[inline(always)] - #[must_use] pub fn i2c_ext0_clk_en(&mut self) -> I2C_EXT0_CLK_EN_W { I2C_EXT0_CLK_EN_W::new(self, 7) } #[doc = "Bit 8 - reg_uhci0_clk_en"] #[inline(always)] - #[must_use] pub fn uhci0_clk_en(&mut self) -> UHCI0_CLK_EN_W { UHCI0_CLK_EN_W::new(self, 8) } #[doc = "Bit 9 - reg_rmt_clk_en"] #[inline(always)] - #[must_use] pub fn rmt_clk_en(&mut self) -> RMT_CLK_EN_W { RMT_CLK_EN_W::new(self, 9) } #[doc = "Bit 10 - reg_pcnt_clk_en"] #[inline(always)] - #[must_use] pub fn pcnt_clk_en(&mut self) -> PCNT_CLK_EN_W { PCNT_CLK_EN_W::new(self, 10) } #[doc = "Bit 11 - reg_ledc_clk_en"] #[inline(always)] - #[must_use] pub fn ledc_clk_en(&mut self) -> LEDC_CLK_EN_W { LEDC_CLK_EN_W::new(self, 11) } #[doc = "Bit 12 - reg_uhci1_clk_en"] #[inline(always)] - #[must_use] pub fn uhci1_clk_en(&mut self) -> UHCI1_CLK_EN_W { UHCI1_CLK_EN_W::new(self, 12) } #[doc = "Bit 13 - reg_timergroup_clk_en"] #[inline(always)] - #[must_use] pub fn timergroup_clk_en(&mut self) -> TIMERGROUP_CLK_EN_W { TIMERGROUP_CLK_EN_W::new(self, 13) } #[doc = "Bit 14 - reg_efuse_clk_en"] #[inline(always)] - #[must_use] pub fn efuse_clk_en(&mut self) -> EFUSE_CLK_EN_W { EFUSE_CLK_EN_W::new(self, 14) } #[doc = "Bit 15 - reg_timergroup1_clk_en"] #[inline(always)] - #[must_use] pub fn timergroup1_clk_en(&mut self) -> TIMERGROUP1_CLK_EN_W { TIMERGROUP1_CLK_EN_W::new(self, 15) } #[doc = "Bit 16 - reg_spi3_clk_en"] #[inline(always)] - #[must_use] pub fn spi3_clk_en(&mut self) -> SPI3_CLK_EN_W { SPI3_CLK_EN_W::new(self, 16) } #[doc = "Bit 17 - reg_pwm0_clk_en"] #[inline(always)] - #[must_use] pub fn pwm0_clk_en(&mut self) -> PWM0_CLK_EN_W { PWM0_CLK_EN_W::new(self, 17) } #[doc = "Bit 18 - reg_ext1_clk_en"] #[inline(always)] - #[must_use] pub fn ext1_clk_en(&mut self) -> EXT1_CLK_EN_W { EXT1_CLK_EN_W::new(self, 18) } #[doc = "Bit 19 - reg_can_clk_en"] #[inline(always)] - #[must_use] pub fn twai_clk_en(&mut self) -> TWAI_CLK_EN_W { TWAI_CLK_EN_W::new(self, 19) } #[doc = "Bit 20 - reg_pwm1_clk_en"] #[inline(always)] - #[must_use] pub fn pwm1_clk_en(&mut self) -> PWM1_CLK_EN_W { PWM1_CLK_EN_W::new(self, 20) } #[doc = "Bit 21 - reg_i2s1_clk_en"] #[inline(always)] - #[must_use] pub fn i2s1_clk_en(&mut self) -> I2S1_CLK_EN_W { I2S1_CLK_EN_W::new(self, 21) } #[doc = "Bit 22 - reg_spi2_dma_clk_en"] #[inline(always)] - #[must_use] pub fn spi2_dma_clk_en(&mut self) -> SPI2_DMA_CLK_EN_W { SPI2_DMA_CLK_EN_W::new(self, 22) } #[doc = "Bit 23 - reg_usb_device_clk_en"] #[inline(always)] - #[must_use] pub fn usb_device_clk_en(&mut self) -> USB_DEVICE_CLK_EN_W { USB_DEVICE_CLK_EN_W::new(self, 23) } #[doc = "Bit 24 - reg_uart_mem_clk_en"] #[inline(always)] - #[must_use] pub fn uart_mem_clk_en(&mut self) -> UART_MEM_CLK_EN_W { UART_MEM_CLK_EN_W::new(self, 24) } #[doc = "Bit 25 - reg_pwm2_clk_en"] #[inline(always)] - #[must_use] pub fn pwm2_clk_en(&mut self) -> PWM2_CLK_EN_W { PWM2_CLK_EN_W::new(self, 25) } #[doc = "Bit 26 - reg_pwm3_clk_en"] #[inline(always)] - #[must_use] pub fn pwm3_clk_en(&mut self) -> PWM3_CLK_EN_W { PWM3_CLK_EN_W::new(self, 26) } #[doc = "Bit 27 - reg_spi3_dma_clk_en"] #[inline(always)] - #[must_use] pub fn spi3_dma_clk_en(&mut self) -> SPI3_DMA_CLK_EN_W { SPI3_DMA_CLK_EN_W::new(self, 27) } #[doc = "Bit 28 - reg_apb_saradc_clk_en"] #[inline(always)] - #[must_use] pub fn apb_saradc_clk_en(&mut self) -> APB_SARADC_CLK_EN_W { APB_SARADC_CLK_EN_W::new(self, 28) } #[doc = "Bit 29 - reg_systimer_clk_en"] #[inline(always)] - #[must_use] pub fn systimer_clk_en(&mut self) -> SYSTIMER_CLK_EN_W { SYSTIMER_CLK_EN_W::new(self, 29) } #[doc = "Bit 30 - reg_adc2_arb_clk_en"] #[inline(always)] - #[must_use] pub fn adc2_arb_clk_en(&mut self) -> ADC2_ARB_CLK_EN_W { ADC2_ARB_CLK_EN_W::new(self, 30) } #[doc = "Bit 31 - reg_spi4_clk_en"] #[inline(always)] - #[must_use] pub fn spi4_clk_en(&mut self) -> SPI4_CLK_EN_W { SPI4_CLK_EN_W::new(self, 31) } diff --git a/esp32c3/src/system/perip_clk_en1.rs b/esp32c3/src/system/perip_clk_en1.rs index 099906621a..7133c3e523 100644 --- a/esp32c3/src/system/perip_clk_en1.rs +++ b/esp32c3/src/system/perip_clk_en1.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - reg_crypto_aes_clk_en"] #[inline(always)] - #[must_use] pub fn crypto_aes_clk_en(&mut self) -> CRYPTO_AES_CLK_EN_W { CRYPTO_AES_CLK_EN_W::new(self, 1) } #[doc = "Bit 2 - reg_crypto_sha_clk_en"] #[inline(always)] - #[must_use] pub fn crypto_sha_clk_en(&mut self) -> CRYPTO_SHA_CLK_EN_W { CRYPTO_SHA_CLK_EN_W::new(self, 2) } #[doc = "Bit 3 - reg_crypto_rsa_clk_en"] #[inline(always)] - #[must_use] pub fn crypto_rsa_clk_en(&mut self) -> CRYPTO_RSA_CLK_EN_W { CRYPTO_RSA_CLK_EN_W::new(self, 3) } #[doc = "Bit 4 - reg_crypto_ds_clk_en"] #[inline(always)] - #[must_use] pub fn crypto_ds_clk_en(&mut self) -> CRYPTO_DS_CLK_EN_W { CRYPTO_DS_CLK_EN_W::new(self, 4) } #[doc = "Bit 5 - reg_crypto_hmac_clk_en"] #[inline(always)] - #[must_use] pub fn crypto_hmac_clk_en(&mut self) -> CRYPTO_HMAC_CLK_EN_W { CRYPTO_HMAC_CLK_EN_W::new(self, 5) } #[doc = "Bit 6 - reg_dma_clk_en"] #[inline(always)] - #[must_use] pub fn dma_clk_en(&mut self) -> DMA_CLK_EN_W { DMA_CLK_EN_W::new(self, 6) } #[doc = "Bit 7 - reg_sdio_host_clk_en"] #[inline(always)] - #[must_use] pub fn sdio_host_clk_en(&mut self) -> SDIO_HOST_CLK_EN_W { SDIO_HOST_CLK_EN_W::new(self, 7) } #[doc = "Bit 8 - reg_lcd_cam_clk_en"] #[inline(always)] - #[must_use] pub fn lcd_cam_clk_en(&mut self) -> LCD_CAM_CLK_EN_W { LCD_CAM_CLK_EN_W::new(self, 8) } #[doc = "Bit 9 - reg_uart2_clk_en"] #[inline(always)] - #[must_use] pub fn uart2_clk_en(&mut self) -> UART2_CLK_EN_W { UART2_CLK_EN_W::new(self, 9) } #[doc = "Bit 10 - reg_tsens_clk_en"] #[inline(always)] - #[must_use] pub fn tsens_clk_en(&mut self) -> TSENS_CLK_EN_W { TSENS_CLK_EN_W::new(self, 10) } diff --git a/esp32c3/src/system/perip_rst_en0.rs b/esp32c3/src/system/perip_rst_en0.rs index a7fb252cb1..f86f737476 100644 --- a/esp32c3/src/system/perip_rst_en0.rs +++ b/esp32c3/src/system/perip_rst_en0.rs @@ -334,193 +334,161 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_timers_rst"] #[inline(always)] - #[must_use] pub fn timers_rst(&mut self) -> TIMERS_RST_W { TIMERS_RST_W::new(self, 0) } #[doc = "Bit 1 - reg_spi01_rst"] #[inline(always)] - #[must_use] pub fn spi01_rst(&mut self) -> SPI01_RST_W { SPI01_RST_W::new(self, 1) } #[doc = "Bit 2 - reg_uart_rst"] #[inline(always)] - #[must_use] pub fn uart_rst(&mut self) -> UART_RST_W { UART_RST_W::new(self, 2) } #[doc = "Bit 3 - reg_wdg_rst"] #[inline(always)] - #[must_use] pub fn wdg_rst(&mut self) -> WDG_RST_W { WDG_RST_W::new(self, 3) } #[doc = "Bit 4 - reg_i2s0_rst"] #[inline(always)] - #[must_use] pub fn i2s0_rst(&mut self) -> I2S0_RST_W { I2S0_RST_W::new(self, 4) } #[doc = "Bit 5 - reg_uart1_rst"] #[inline(always)] - #[must_use] pub fn uart1_rst(&mut self) -> UART1_RST_W { UART1_RST_W::new(self, 5) } #[doc = "Bit 6 - reg_spi2_rst"] #[inline(always)] - #[must_use] pub fn spi2_rst(&mut self) -> SPI2_RST_W { SPI2_RST_W::new(self, 6) } #[doc = "Bit 7 - reg_ext0_rst"] #[inline(always)] - #[must_use] pub fn i2c_ext0_rst(&mut self) -> I2C_EXT0_RST_W { I2C_EXT0_RST_W::new(self, 7) } #[doc = "Bit 8 - reg_uhci0_rst"] #[inline(always)] - #[must_use] pub fn uhci0_rst(&mut self) -> UHCI0_RST_W { UHCI0_RST_W::new(self, 8) } #[doc = "Bit 9 - reg_rmt_rst"] #[inline(always)] - #[must_use] pub fn rmt_rst(&mut self) -> RMT_RST_W { RMT_RST_W::new(self, 9) } #[doc = "Bit 10 - reg_pcnt_rst"] #[inline(always)] - #[must_use] pub fn pcnt_rst(&mut self) -> PCNT_RST_W { PCNT_RST_W::new(self, 10) } #[doc = "Bit 11 - reg_ledc_rst"] #[inline(always)] - #[must_use] pub fn ledc_rst(&mut self) -> LEDC_RST_W { LEDC_RST_W::new(self, 11) } #[doc = "Bit 12 - reg_uhci1_rst"] #[inline(always)] - #[must_use] pub fn uhci1_rst(&mut self) -> UHCI1_RST_W { UHCI1_RST_W::new(self, 12) } #[doc = "Bit 13 - reg_timergroup_rst"] #[inline(always)] - #[must_use] pub fn timergroup_rst(&mut self) -> TIMERGROUP_RST_W { TIMERGROUP_RST_W::new(self, 13) } #[doc = "Bit 14 - reg_efuse_rst"] #[inline(always)] - #[must_use] pub fn efuse_rst(&mut self) -> EFUSE_RST_W { EFUSE_RST_W::new(self, 14) } #[doc = "Bit 15 - reg_timergroup1_rst"] #[inline(always)] - #[must_use] pub fn timergroup1_rst(&mut self) -> TIMERGROUP1_RST_W { TIMERGROUP1_RST_W::new(self, 15) } #[doc = "Bit 16 - reg_spi3_rst"] #[inline(always)] - #[must_use] pub fn spi3_rst(&mut self) -> SPI3_RST_W { SPI3_RST_W::new(self, 16) } #[doc = "Bit 17 - reg_pwm0_rst"] #[inline(always)] - #[must_use] pub fn pwm0_rst(&mut self) -> PWM0_RST_W { PWM0_RST_W::new(self, 17) } #[doc = "Bit 18 - reg_ext1_rst"] #[inline(always)] - #[must_use] pub fn ext1_rst(&mut self) -> EXT1_RST_W { EXT1_RST_W::new(self, 18) } #[doc = "Bit 19 - reg_can_rst"] #[inline(always)] - #[must_use] pub fn twai_rst(&mut self) -> TWAI_RST_W { TWAI_RST_W::new(self, 19) } #[doc = "Bit 20 - reg_pwm1_rst"] #[inline(always)] - #[must_use] pub fn pwm1_rst(&mut self) -> PWM1_RST_W { PWM1_RST_W::new(self, 20) } #[doc = "Bit 21 - reg_i2s1_rst"] #[inline(always)] - #[must_use] pub fn i2s1_rst(&mut self) -> I2S1_RST_W { I2S1_RST_W::new(self, 21) } #[doc = "Bit 22 - reg_spi2_dma_rst"] #[inline(always)] - #[must_use] pub fn spi2_dma_rst(&mut self) -> SPI2_DMA_RST_W { SPI2_DMA_RST_W::new(self, 22) } #[doc = "Bit 23 - reg_usb_device_rst"] #[inline(always)] - #[must_use] pub fn usb_device_rst(&mut self) -> USB_DEVICE_RST_W { USB_DEVICE_RST_W::new(self, 23) } #[doc = "Bit 24 - reg_uart_mem_rst"] #[inline(always)] - #[must_use] pub fn uart_mem_rst(&mut self) -> UART_MEM_RST_W { UART_MEM_RST_W::new(self, 24) } #[doc = "Bit 25 - reg_pwm2_rst"] #[inline(always)] - #[must_use] pub fn pwm2_rst(&mut self) -> PWM2_RST_W { PWM2_RST_W::new(self, 25) } #[doc = "Bit 26 - reg_pwm3_rst"] #[inline(always)] - #[must_use] pub fn pwm3_rst(&mut self) -> PWM3_RST_W { PWM3_RST_W::new(self, 26) } #[doc = "Bit 27 - reg_spi3_dma_rst"] #[inline(always)] - #[must_use] pub fn spi3_dma_rst(&mut self) -> SPI3_DMA_RST_W { SPI3_DMA_RST_W::new(self, 27) } #[doc = "Bit 28 - reg_apb_saradc_rst"] #[inline(always)] - #[must_use] pub fn apb_saradc_rst(&mut self) -> APB_SARADC_RST_W { APB_SARADC_RST_W::new(self, 28) } #[doc = "Bit 29 - reg_systimer_rst"] #[inline(always)] - #[must_use] pub fn systimer_rst(&mut self) -> SYSTIMER_RST_W { SYSTIMER_RST_W::new(self, 29) } #[doc = "Bit 30 - reg_adc2_arb_rst"] #[inline(always)] - #[must_use] pub fn adc2_arb_rst(&mut self) -> ADC2_ARB_RST_W { ADC2_ARB_RST_W::new(self, 30) } #[doc = "Bit 31 - reg_spi4_rst"] #[inline(always)] - #[must_use] pub fn spi4_rst(&mut self) -> SPI4_RST_W { SPI4_RST_W::new(self, 31) } diff --git a/esp32c3/src/system/perip_rst_en1.rs b/esp32c3/src/system/perip_rst_en1.rs index d56535bf59..d0cc38c9f9 100644 --- a/esp32c3/src/system/perip_rst_en1.rs +++ b/esp32c3/src/system/perip_rst_en1.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - reg_crypto_aes_rst"] #[inline(always)] - #[must_use] pub fn crypto_aes_rst(&mut self) -> CRYPTO_AES_RST_W { CRYPTO_AES_RST_W::new(self, 1) } #[doc = "Bit 2 - reg_crypto_sha_rst"] #[inline(always)] - #[must_use] pub fn crypto_sha_rst(&mut self) -> CRYPTO_SHA_RST_W { CRYPTO_SHA_RST_W::new(self, 2) } #[doc = "Bit 3 - reg_crypto_rsa_rst"] #[inline(always)] - #[must_use] pub fn crypto_rsa_rst(&mut self) -> CRYPTO_RSA_RST_W { CRYPTO_RSA_RST_W::new(self, 3) } #[doc = "Bit 4 - reg_crypto_ds_rst"] #[inline(always)] - #[must_use] pub fn crypto_ds_rst(&mut self) -> CRYPTO_DS_RST_W { CRYPTO_DS_RST_W::new(self, 4) } #[doc = "Bit 5 - reg_crypto_hmac_rst"] #[inline(always)] - #[must_use] pub fn crypto_hmac_rst(&mut self) -> CRYPTO_HMAC_RST_W { CRYPTO_HMAC_RST_W::new(self, 5) } #[doc = "Bit 6 - reg_dma_rst"] #[inline(always)] - #[must_use] pub fn dma_rst(&mut self) -> DMA_RST_W { DMA_RST_W::new(self, 6) } #[doc = "Bit 7 - reg_sdio_host_rst"] #[inline(always)] - #[must_use] pub fn sdio_host_rst(&mut self) -> SDIO_HOST_RST_W { SDIO_HOST_RST_W::new(self, 7) } #[doc = "Bit 8 - reg_lcd_cam_rst"] #[inline(always)] - #[must_use] pub fn lcd_cam_rst(&mut self) -> LCD_CAM_RST_W { LCD_CAM_RST_W::new(self, 8) } #[doc = "Bit 9 - reg_uart2_rst"] #[inline(always)] - #[must_use] pub fn uart2_rst(&mut self) -> UART2_RST_W { UART2_RST_W::new(self, 9) } #[doc = "Bit 10 - reg_tsens_rst"] #[inline(always)] - #[must_use] pub fn tsens_rst(&mut self) -> TSENS_RST_W { TSENS_RST_W::new(self, 10) } diff --git a/esp32c3/src/system/redundant_eco_ctrl.rs b/esp32c3/src/system/redundant_eco_ctrl.rs index 96a422a176..20303d19d9 100644 --- a/esp32c3/src/system/redundant_eco_ctrl.rs +++ b/esp32c3/src/system/redundant_eco_ctrl.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_redundant_eco_drive"] #[inline(always)] - #[must_use] pub fn redundant_eco_drive(&mut self) -> REDUNDANT_ECO_DRIVE_W { REDUNDANT_ECO_DRIVE_W::new(self, 0) } diff --git a/esp32c3/src/system/rsa_pd_ctrl.rs b/esp32c3/src/system/rsa_pd_ctrl.rs index e6d5ef44dc..d8fe12e28b 100644 --- a/esp32c3/src/system/rsa_pd_ctrl.rs +++ b/esp32c3/src/system/rsa_pd_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_rsa_mem_pd"] #[inline(always)] - #[must_use] pub fn rsa_mem_pd(&mut self) -> RSA_MEM_PD_W { RSA_MEM_PD_W::new(self, 0) } #[doc = "Bit 1 - reg_rsa_mem_force_pu"] #[inline(always)] - #[must_use] pub fn rsa_mem_force_pu(&mut self) -> RSA_MEM_FORCE_PU_W { RSA_MEM_FORCE_PU_W::new(self, 1) } #[doc = "Bit 2 - reg_rsa_mem_force_pd"] #[inline(always)] - #[must_use] pub fn rsa_mem_force_pd(&mut self) -> RSA_MEM_FORCE_PD_W { RSA_MEM_FORCE_PD_W::new(self, 2) } diff --git a/esp32c3/src/system/rtc_fastmem_config.rs b/esp32c3/src/system/rtc_fastmem_config.rs index b1267344a0..4ea2708f48 100644 --- a/esp32c3/src/system/rtc_fastmem_config.rs +++ b/esp32c3/src/system/rtc_fastmem_config.rs @@ -52,19 +52,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 8 - reg_rtc_mem_crc_start"] #[inline(always)] - #[must_use] pub fn rtc_mem_crc_start(&mut self) -> RTC_MEM_CRC_START_W { RTC_MEM_CRC_START_W::new(self, 8) } #[doc = "Bits 9:19 - reg_rtc_mem_crc_addr"] #[inline(always)] - #[must_use] pub fn rtc_mem_crc_addr(&mut self) -> RTC_MEM_CRC_ADDR_W { RTC_MEM_CRC_ADDR_W::new(self, 9) } #[doc = "Bits 20:30 - reg_rtc_mem_crc_len"] #[inline(always)] - #[must_use] pub fn rtc_mem_crc_len(&mut self) -> RTC_MEM_CRC_LEN_W { RTC_MEM_CRC_LEN_W::new(self, 20) } diff --git a/esp32c3/src/system/sysclk_conf.rs b/esp32c3/src/system/sysclk_conf.rs index becfc464b7..85a7b715c5 100644 --- a/esp32c3/src/system/sysclk_conf.rs +++ b/esp32c3/src/system/sysclk_conf.rs @@ -50,13 +50,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - reg_pre_div_cnt"] #[inline(always)] - #[must_use] pub fn pre_div_cnt(&mut self) -> PRE_DIV_CNT_W { PRE_DIV_CNT_W::new(self, 0) } #[doc = "Bits 10:11 - reg_soc_clk_sel"] #[inline(always)] - #[must_use] pub fn soc_clk_sel(&mut self) -> SOC_CLK_SEL_W { SOC_CLK_SEL_W::new(self, 10) } diff --git a/esp32c3/src/system/system_reg_date.rs b/esp32c3/src/system/system_reg_date.rs index cd810bad2e..ec7b1983fe 100644 --- a/esp32c3/src/system/system_reg_date.rs +++ b/esp32c3/src/system/system_reg_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - reg_system_reg_date"] #[inline(always)] - #[must_use] pub fn system_reg_date(&mut self) -> SYSTEM_REG_DATE_W { SYSTEM_REG_DATE_W::new(self, 0) } diff --git a/esp32c3/src/systimer/comp_load.rs b/esp32c3/src/systimer/comp_load.rs index ac17ee7f6d..c6f681d1c9 100644 --- a/esp32c3/src/systimer/comp_load.rs +++ b/esp32c3/src/systimer/comp_load.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - timer comp0 load value"] #[inline(always)] - #[must_use] pub fn load(&mut self) -> LOAD_W { LOAD_W::new(self, 0) } diff --git a/esp32c3/src/systimer/conf.rs b/esp32c3/src/systimer/conf.rs index 9aea1cda35..77d72b6d3a 100644 --- a/esp32c3/src/systimer/conf.rs +++ b/esp32c3/src/systimer/conf.rs @@ -136,67 +136,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - systimer clock force on"] #[inline(always)] - #[must_use] pub fn systimer_clk_fo(&mut self) -> SYSTIMER_CLK_FO_W { SYSTIMER_CLK_FO_W::new(self, 0) } #[doc = "Bit 22 - target2 work enable"] #[inline(always)] - #[must_use] pub fn target2_work_en(&mut self) -> TARGET2_WORK_EN_W { TARGET2_WORK_EN_W::new(self, 22) } #[doc = "Bit 23 - target1 work enable"] #[inline(always)] - #[must_use] pub fn target1_work_en(&mut self) -> TARGET1_WORK_EN_W { TARGET1_WORK_EN_W::new(self, 23) } #[doc = "Bit 24 - target0 work enable"] #[inline(always)] - #[must_use] pub fn target0_work_en(&mut self) -> TARGET0_WORK_EN_W { TARGET0_WORK_EN_W::new(self, 24) } #[doc = "Bit 25 - If timer unit1 is stalled when core1 stalled"] #[inline(always)] - #[must_use] pub fn timer_unit1_core1_stall_en(&mut self) -> TIMER_UNIT1_CORE1_STALL_EN_W { TIMER_UNIT1_CORE1_STALL_EN_W::new(self, 25) } #[doc = "Bit 26 - If timer unit1 is stalled when core0 stalled"] #[inline(always)] - #[must_use] pub fn timer_unit1_core0_stall_en(&mut self) -> TIMER_UNIT1_CORE0_STALL_EN_W { TIMER_UNIT1_CORE0_STALL_EN_W::new(self, 26) } #[doc = "Bit 27 - If timer unit0 is stalled when core1 stalled"] #[inline(always)] - #[must_use] pub fn timer_unit0_core1_stall_en(&mut self) -> TIMER_UNIT0_CORE1_STALL_EN_W { TIMER_UNIT0_CORE1_STALL_EN_W::new(self, 27) } #[doc = "Bit 28 - If timer unit0 is stalled when core0 stalled"] #[inline(always)] - #[must_use] pub fn timer_unit0_core0_stall_en(&mut self) -> TIMER_UNIT0_CORE0_STALL_EN_W { TIMER_UNIT0_CORE0_STALL_EN_W::new(self, 28) } #[doc = "Bit 29 - timer unit1 work enable"] #[inline(always)] - #[must_use] pub fn timer_unit1_work_en(&mut self) -> TIMER_UNIT1_WORK_EN_W { TIMER_UNIT1_WORK_EN_W::new(self, 29) } #[doc = "Bit 30 - timer unit0 work enable"] #[inline(always)] - #[must_use] pub fn timer_unit0_work_en(&mut self) -> TIMER_UNIT0_WORK_EN_W { TIMER_UNIT0_WORK_EN_W::new(self, 30) } #[doc = "Bit 31 - register file clk gating"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32c3/src/systimer/date.rs b/esp32c3/src/systimer/date.rs index e7a25bb46a..34f420a0a1 100644 --- a/esp32c3/src/systimer/date.rs +++ b/esp32c3/src/systimer/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_date"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c3/src/systimer/int_clr.rs b/esp32c3/src/systimer/int_clr.rs index 7beed1ce8c..1dba63344c 100644 --- a/esp32c3/src/systimer/int_clr.rs +++ b/esp32c3/src/systimer/int_clr.rs @@ -13,7 +13,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TARGET0` field.
"] #[inline(always)] - #[must_use] pub fn target(&mut self, n: u8) -> TARGET_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -21,19 +20,16 @@ impl W { } #[doc = "Bit 0 - interupt0 clear"] #[inline(always)] - #[must_use] pub fn target0(&mut self) -> TARGET_W { TARGET_W::new(self, 0) } #[doc = "Bit 1 - interupt1 clear"] #[inline(always)] - #[must_use] pub fn target1(&mut self) -> TARGET_W { TARGET_W::new(self, 1) } #[doc = "Bit 2 - interupt2 clear"] #[inline(always)] - #[must_use] pub fn target2(&mut self) -> TARGET_W { TARGET_W::new(self, 2) } @@ -47,7 +43,7 @@ impl crate::RegisterSpec for INT_CLR_SPEC { impl crate::Writable for INT_CLR_SPEC { type Safety = crate::Unsafe; const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0x01; + const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0x07; } #[doc = "`reset()` method sets INT_CLR to value 0"] impl crate::Resettable for INT_CLR_SPEC { diff --git a/esp32c3/src/systimer/int_ena.rs b/esp32c3/src/systimer/int_ena.rs index 7d415fe57a..ea3aa411ff 100644 --- a/esp32c3/src/systimer/int_ena.rs +++ b/esp32c3/src/systimer/int_ena.rs @@ -53,7 +53,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TARGET0` field.
"] #[inline(always)] - #[must_use] pub fn target(&mut self, n: u8) -> TARGET_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -61,19 +60,16 @@ impl W { } #[doc = "Bit 0 - interupt0 enable"] #[inline(always)] - #[must_use] pub fn target0(&mut self) -> TARGET_W { TARGET_W::new(self, 0) } #[doc = "Bit 1 - interupt1 enable"] #[inline(always)] - #[must_use] pub fn target1(&mut self) -> TARGET_W { TARGET_W::new(self, 1) } #[doc = "Bit 2 - interupt2 enable"] #[inline(always)] - #[must_use] pub fn target2(&mut self) -> TARGET_W { TARGET_W::new(self, 2) } diff --git a/esp32c3/src/systimer/int_raw.rs b/esp32c3/src/systimer/int_raw.rs index 736658d2e9..366727c50f 100644 --- a/esp32c3/src/systimer/int_raw.rs +++ b/esp32c3/src/systimer/int_raw.rs @@ -53,7 +53,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TARGET0` field.
"] #[inline(always)] - #[must_use] pub fn target(&mut self, n: u8) -> TARGET_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -61,19 +60,16 @@ impl W { } #[doc = "Bit 0 - interupt0 raw"] #[inline(always)] - #[must_use] pub fn target0(&mut self) -> TARGET_W { TARGET_W::new(self, 0) } #[doc = "Bit 1 - interupt1 raw"] #[inline(always)] - #[must_use] pub fn target1(&mut self) -> TARGET_W { TARGET_W::new(self, 1) } #[doc = "Bit 2 - interupt2 raw"] #[inline(always)] - #[must_use] pub fn target2(&mut self) -> TARGET_W { TARGET_W::new(self, 2) } diff --git a/esp32c3/src/systimer/target_conf.rs b/esp32c3/src/systimer/target_conf.rs index bc7acb9fb6..fc77e2ff33 100644 --- a/esp32c3/src/systimer/target_conf.rs +++ b/esp32c3/src/systimer/target_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:25 - target0 period"] #[inline(always)] - #[must_use] pub fn period(&mut self) -> PERIOD_W { PERIOD_W::new(self, 0) } #[doc = "Bit 30 - Set target0 to period mode"] #[inline(always)] - #[must_use] pub fn period_mode(&mut self) -> PERIOD_MODE_W { PERIOD_MODE_W::new(self, 30) } #[doc = "Bit 31 - select which unit to compare"] #[inline(always)] - #[must_use] pub fn timer_unit_sel(&mut self) -> TIMER_UNIT_SEL_W { TIMER_UNIT_SEL_W::new(self, 31) } diff --git a/esp32c3/src/systimer/trgt/hi.rs b/esp32c3/src/systimer/trgt/hi.rs index 3426a5068c..38a997e0c5 100644 --- a/esp32c3/src/systimer/trgt/hi.rs +++ b/esp32c3/src/systimer/trgt/hi.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - timer taget0 high 32 bit"] #[inline(always)] - #[must_use] pub fn hi(&mut self) -> HI_W { HI_W::new(self, 0) } diff --git a/esp32c3/src/systimer/trgt/lo.rs b/esp32c3/src/systimer/trgt/lo.rs index 8d908407fe..4b68bef37c 100644 --- a/esp32c3/src/systimer/trgt/lo.rs +++ b/esp32c3/src/systimer/trgt/lo.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - timer taget0 low 32 bit"] #[inline(always)] - #[must_use] pub fn lo(&mut self) -> LO_W { LO_W::new(self, 0) } diff --git a/esp32c3/src/systimer/unit_load.rs b/esp32c3/src/systimer/unit_load.rs index cfa747e4f5..a83c3fd4c6 100644 --- a/esp32c3/src/systimer/unit_load.rs +++ b/esp32c3/src/systimer/unit_load.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - timer unit0 load value"] #[inline(always)] - #[must_use] pub fn load(&mut self) -> LOAD_W { LOAD_W::new(self, 0) } diff --git a/esp32c3/src/systimer/unit_op.rs b/esp32c3/src/systimer/unit_op.rs index d857f2ead7..5742bc6642 100644 --- a/esp32c3/src/systimer/unit_op.rs +++ b/esp32c3/src/systimer/unit_op.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - update timer_unit0"] #[inline(always)] - #[must_use] pub fn update(&mut self) -> UPDATE_W { UPDATE_W::new(self, 30) } diff --git a/esp32c3/src/systimer/unitload/hi.rs b/esp32c3/src/systimer/unitload/hi.rs index 911779f669..13018014a9 100644 --- a/esp32c3/src/systimer/unitload/hi.rs +++ b/esp32c3/src/systimer/unitload/hi.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - timer unit0 load high 32 bit"] #[inline(always)] - #[must_use] pub fn load_hi(&mut self) -> LOAD_HI_W { LOAD_HI_W::new(self, 0) } diff --git a/esp32c3/src/systimer/unitload/lo.rs b/esp32c3/src/systimer/unitload/lo.rs index f6b96db271..cd1bb10882 100644 --- a/esp32c3/src/systimer/unitload/lo.rs +++ b/esp32c3/src/systimer/unitload/lo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - timer unit0 load low 32 bit"] #[inline(always)] - #[must_use] pub fn load_lo(&mut self) -> LOAD_LO_W { LOAD_LO_W::new(self, 0) } diff --git a/esp32c3/src/timg0/int_clr.rs b/esp32c3/src/timg0/int_clr.rs index e4e69219d8..eea031597b 100644 --- a/esp32c3/src/timg0/int_clr.rs +++ b/esp32c3/src/timg0/int_clr.rs @@ -15,7 +15,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `T0` field.
"] #[inline(always)] - #[must_use] pub fn t(&mut self, n: u8) -> T_W { #[allow(clippy::no_effect)] [(); 1][n as usize]; @@ -23,13 +22,11 @@ impl W { } #[doc = "Bit 0 - t0_int_clr"] #[inline(always)] - #[must_use] pub fn t0(&mut self) -> T_W { T_W::new(self, 0) } #[doc = "Bit 1 - wdt_int_clr"] #[inline(always)] - #[must_use] pub fn wdt(&mut self) -> WDT_W { WDT_W::new(self, 1) } diff --git a/esp32c3/src/timg0/int_ena.rs b/esp32c3/src/timg0/int_ena.rs index c3f61d5de7..f2f9608b17 100644 --- a/esp32c3/src/timg0/int_ena.rs +++ b/esp32c3/src/timg0/int_ena.rs @@ -51,7 +51,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `T0` field.
"] #[inline(always)] - #[must_use] pub fn t(&mut self, n: u8) -> T_W { #[allow(clippy::no_effect)] [(); 1][n as usize]; @@ -59,13 +58,11 @@ impl W { } #[doc = "Bit 0 - t0_int_ena"] #[inline(always)] - #[must_use] pub fn t0(&mut self) -> T_W { T_W::new(self, 0) } #[doc = "Bit 1 - wdt_int_ena"] #[inline(always)] - #[must_use] pub fn wdt(&mut self) -> WDT_W { WDT_W::new(self, 1) } diff --git a/esp32c3/src/timg0/ntimg_date.rs b/esp32c3/src/timg0/ntimg_date.rs index 3ef906e3f4..ee9610d852 100644 --- a/esp32c3/src/timg0/ntimg_date.rs +++ b/esp32c3/src/timg0/ntimg_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - reg_ntimers_date."] #[inline(always)] - #[must_use] pub fn ntimgs_date(&mut self) -> NTIMGS_DATE_W { NTIMGS_DATE_W::new(self, 0) } diff --git a/esp32c3/src/timg0/regclk.rs b/esp32c3/src/timg0/regclk.rs index 6d2d77c284..5c46cf6231 100644 --- a/esp32c3/src/timg0/regclk.rs +++ b/esp32c3/src/timg0/regclk.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 29 - reg_wdt_clk_is_active."] #[inline(always)] - #[must_use] pub fn wdt_clk_is_active(&mut self) -> WDT_CLK_IS_ACTIVE_W { WDT_CLK_IS_ACTIVE_W::new(self, 29) } #[doc = "Bit 30 - reg_timer_clk_is_active."] #[inline(always)] - #[must_use] pub fn timer_clk_is_active(&mut self) -> TIMER_CLK_IS_ACTIVE_W { TIMER_CLK_IS_ACTIVE_W::new(self, 30) } #[doc = "Bit 31 - reg_clk_en."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32c3/src/timg0/rtccalicfg.rs b/esp32c3/src/timg0/rtccalicfg.rs index b635827889..b537279e0d 100644 --- a/esp32c3/src/timg0/rtccalicfg.rs +++ b/esp32c3/src/timg0/rtccalicfg.rs @@ -62,25 +62,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - reg_rtc_cali_start_cycling."] #[inline(always)] - #[must_use] pub fn rtc_cali_start_cycling(&mut self) -> RTC_CALI_START_CYCLING_W { RTC_CALI_START_CYCLING_W::new(self, 12) } #[doc = "Bits 13:14 - reg_rtc_cali_clk_sel.0:rtcslowclock.1:clk_80m.2:xtal_32k"] #[inline(always)] - #[must_use] pub fn rtc_cali_clk_sel(&mut self) -> RTC_CALI_CLK_SEL_W { RTC_CALI_CLK_SEL_W::new(self, 13) } #[doc = "Bits 16:30 - reg_rtc_cali_max."] #[inline(always)] - #[must_use] pub fn rtc_cali_max(&mut self) -> RTC_CALI_MAX_W { RTC_CALI_MAX_W::new(self, 16) } #[doc = "Bit 31 - reg_rtc_cali_start."] #[inline(always)] - #[must_use] pub fn rtc_cali_start(&mut self) -> RTC_CALI_START_W { RTC_CALI_START_W::new(self, 31) } diff --git a/esp32c3/src/timg0/rtccalicfg2.rs b/esp32c3/src/timg0/rtccalicfg2.rs index 928bead392..4954cf7f7c 100644 --- a/esp32c3/src/timg0/rtccalicfg2.rs +++ b/esp32c3/src/timg0/rtccalicfg2.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 3:6 - reg_rtc_cali_timeout_rst_cnt.Cyclesthatreleasecalibrationtimeoutreset"] #[inline(always)] - #[must_use] pub fn rtc_cali_timeout_rst_cnt(&mut self) -> RTC_CALI_TIMEOUT_RST_CNT_W { RTC_CALI_TIMEOUT_RST_CNT_W::new(self, 3) } #[doc = "Bits 7:31 - reg_rtc_cali_timeout_thres.timeoutifcalivaluecountsoverthreshold"] #[inline(always)] - #[must_use] pub fn rtc_cali_timeout_thres(&mut self) -> RTC_CALI_TIMEOUT_THRES_W { RTC_CALI_TIMEOUT_THRES_W::new(self, 7) } diff --git a/esp32c3/src/timg0/t/alarmhi.rs b/esp32c3/src/timg0/t/alarmhi.rs index 2f1a1939aa..e7e94e721a 100644 --- a/esp32c3/src/timg0/t/alarmhi.rs +++ b/esp32c3/src/timg0/t/alarmhi.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - reg_t0_alarm_hi."] #[inline(always)] - #[must_use] pub fn alarm_hi(&mut self) -> ALARM_HI_W { ALARM_HI_W::new(self, 0) } diff --git a/esp32c3/src/timg0/t/alarmlo.rs b/esp32c3/src/timg0/t/alarmlo.rs index fb23505c64..52b1d1a528 100644 --- a/esp32c3/src/timg0/t/alarmlo.rs +++ b/esp32c3/src/timg0/t/alarmlo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_t0_alarm_lo."] #[inline(always)] - #[must_use] pub fn alarm_lo(&mut self) -> ALARM_LO_W { ALARM_LO_W::new(self, 0) } diff --git a/esp32c3/src/timg0/t/config.rs b/esp32c3/src/timg0/t/config.rs index 2436e82d78..65556f6432 100644 --- a/esp32c3/src/timg0/t/config.rs +++ b/esp32c3/src/timg0/t/config.rs @@ -76,43 +76,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 9 - reg_t0_use_xtal."] #[inline(always)] - #[must_use] pub fn use_xtal(&mut self) -> USE_XTAL_W { USE_XTAL_W::new(self, 9) } #[doc = "Bit 10 - reg_t0_alarm_en."] #[inline(always)] - #[must_use] pub fn alarm_en(&mut self) -> ALARM_EN_W { ALARM_EN_W::new(self, 10) } #[doc = "Bit 12 - reg_t0_divcnt_rst."] #[inline(always)] - #[must_use] pub fn divcnt_rst(&mut self) -> DIVCNT_RST_W { DIVCNT_RST_W::new(self, 12) } #[doc = "Bits 13:28 - reg_t0_divider."] #[inline(always)] - #[must_use] pub fn divider(&mut self) -> DIVIDER_W { DIVIDER_W::new(self, 13) } #[doc = "Bit 29 - reg_t0_autoreload."] #[inline(always)] - #[must_use] pub fn autoreload(&mut self) -> AUTORELOAD_W { AUTORELOAD_W::new(self, 29) } #[doc = "Bit 30 - reg_t0_increase."] #[inline(always)] - #[must_use] pub fn increase(&mut self) -> INCREASE_W { INCREASE_W::new(self, 30) } #[doc = "Bit 31 - reg_t0_en."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 31) } diff --git a/esp32c3/src/timg0/t/load.rs b/esp32c3/src/timg0/t/load.rs index bda6672398..d5c0624a2a 100644 --- a/esp32c3/src/timg0/t/load.rs +++ b/esp32c3/src/timg0/t/load.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - t0_load"] #[inline(always)] - #[must_use] pub fn load(&mut self) -> LOAD_W { LOAD_W::new(self, 0) } diff --git a/esp32c3/src/timg0/t/loadhi.rs b/esp32c3/src/timg0/t/loadhi.rs index 73dfd4d536..533a071b85 100644 --- a/esp32c3/src/timg0/t/loadhi.rs +++ b/esp32c3/src/timg0/t/loadhi.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - reg_t0_load_hi."] #[inline(always)] - #[must_use] pub fn load_hi(&mut self) -> LOAD_HI_W { LOAD_HI_W::new(self, 0) } diff --git a/esp32c3/src/timg0/t/loadlo.rs b/esp32c3/src/timg0/t/loadlo.rs index 0d021cb25d..54fdd34e6b 100644 --- a/esp32c3/src/timg0/t/loadlo.rs +++ b/esp32c3/src/timg0/t/loadlo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_t0_load_lo."] #[inline(always)] - #[must_use] pub fn load_lo(&mut self) -> LOAD_LO_W { LOAD_LO_W::new(self, 0) } diff --git a/esp32c3/src/timg0/t/update.rs b/esp32c3/src/timg0/t/update.rs index 475d2a02b7..0e38dd385d 100644 --- a/esp32c3/src/timg0/t/update.rs +++ b/esp32c3/src/timg0/t/update.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - t0_update"] #[inline(always)] - #[must_use] pub fn update(&mut self) -> UPDATE_W { UPDATE_W::new(self, 31) } diff --git a/esp32c3/src/timg0/wdtconfig0.rs b/esp32c3/src/timg0/wdtconfig0.rs index 61bd3c9acd..b34ada4272 100644 --- a/esp32c3/src/timg0/wdtconfig0.rs +++ b/esp32c3/src/timg0/wdtconfig0.rs @@ -126,73 +126,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - reg_wdt_appcpu_reset_en."] #[inline(always)] - #[must_use] pub fn wdt_appcpu_reset_en(&mut self) -> WDT_APPCPU_RESET_EN_W { WDT_APPCPU_RESET_EN_W::new(self, 12) } #[doc = "Bit 13 - reg_wdt_procpu_reset_en."] #[inline(always)] - #[must_use] pub fn wdt_procpu_reset_en(&mut self) -> WDT_PROCPU_RESET_EN_W { WDT_PROCPU_RESET_EN_W::new(self, 13) } #[doc = "Bit 14 - reg_wdt_flashboot_mod_en."] #[inline(always)] - #[must_use] pub fn wdt_flashboot_mod_en(&mut self) -> WDT_FLASHBOOT_MOD_EN_W { WDT_FLASHBOOT_MOD_EN_W::new(self, 14) } #[doc = "Bits 15:17 - reg_wdt_sys_reset_length."] #[inline(always)] - #[must_use] pub fn wdt_sys_reset_length(&mut self) -> WDT_SYS_RESET_LENGTH_W { WDT_SYS_RESET_LENGTH_W::new(self, 15) } #[doc = "Bits 18:20 - reg_wdt_cpu_reset_length."] #[inline(always)] - #[must_use] pub fn wdt_cpu_reset_length(&mut self) -> WDT_CPU_RESET_LENGTH_W { WDT_CPU_RESET_LENGTH_W::new(self, 18) } #[doc = "Bit 21 - reg_wdt_use_xtal."] #[inline(always)] - #[must_use] pub fn wdt_use_xtal(&mut self) -> WDT_USE_XTAL_W { WDT_USE_XTAL_W::new(self, 21) } #[doc = "Bit 22 - reg_wdt_conf_update_en."] #[inline(always)] - #[must_use] pub fn wdt_conf_update_en(&mut self) -> WDT_CONF_UPDATE_EN_W { WDT_CONF_UPDATE_EN_W::new(self, 22) } #[doc = "Bits 23:24 - reg_wdt_stg3."] #[inline(always)] - #[must_use] pub fn wdt_stg3(&mut self) -> WDT_STG3_W { WDT_STG3_W::new(self, 23) } #[doc = "Bits 25:26 - reg_wdt_stg2."] #[inline(always)] - #[must_use] pub fn wdt_stg2(&mut self) -> WDT_STG2_W { WDT_STG2_W::new(self, 25) } #[doc = "Bits 27:28 - reg_wdt_stg1."] #[inline(always)] - #[must_use] pub fn wdt_stg1(&mut self) -> WDT_STG1_W { WDT_STG1_W::new(self, 27) } #[doc = "Bits 29:30 - reg_wdt_stg0."] #[inline(always)] - #[must_use] pub fn wdt_stg0(&mut self) -> WDT_STG0_W { WDT_STG0_W::new(self, 29) } #[doc = "Bit 31 - reg_wdt_en."] #[inline(always)] - #[must_use] pub fn wdt_en(&mut self) -> WDT_EN_W { WDT_EN_W::new(self, 31) } diff --git a/esp32c3/src/timg0/wdtconfig1.rs b/esp32c3/src/timg0/wdtconfig1.rs index f8003c54bb..07ae8e4751 100644 --- a/esp32c3/src/timg0/wdtconfig1.rs +++ b/esp32c3/src/timg0/wdtconfig1.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_wdt_divcnt_rst."] #[inline(always)] - #[must_use] pub fn wdt_divcnt_rst(&mut self) -> WDT_DIVCNT_RST_W { WDT_DIVCNT_RST_W::new(self, 0) } #[doc = "Bits 16:31 - reg_wdt_clk_prescale."] #[inline(always)] - #[must_use] pub fn wdt_clk_prescale(&mut self) -> WDT_CLK_PRESCALE_W { WDT_CLK_PRESCALE_W::new(self, 16) } diff --git a/esp32c3/src/timg0/wdtconfig2.rs b/esp32c3/src/timg0/wdtconfig2.rs index ad6a0ab5a2..7db7b724bb 100644 --- a/esp32c3/src/timg0/wdtconfig2.rs +++ b/esp32c3/src/timg0/wdtconfig2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_wdt_stg0_hold."] #[inline(always)] - #[must_use] pub fn wdt_stg0_hold(&mut self) -> WDT_STG0_HOLD_W { WDT_STG0_HOLD_W::new(self, 0) } diff --git a/esp32c3/src/timg0/wdtconfig3.rs b/esp32c3/src/timg0/wdtconfig3.rs index 263602cd1a..44dbbe7436 100644 --- a/esp32c3/src/timg0/wdtconfig3.rs +++ b/esp32c3/src/timg0/wdtconfig3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_wdt_stg1_hold."] #[inline(always)] - #[must_use] pub fn wdt_stg1_hold(&mut self) -> WDT_STG1_HOLD_W { WDT_STG1_HOLD_W::new(self, 0) } diff --git a/esp32c3/src/timg0/wdtconfig4.rs b/esp32c3/src/timg0/wdtconfig4.rs index 38ea289aa9..e17b238a80 100644 --- a/esp32c3/src/timg0/wdtconfig4.rs +++ b/esp32c3/src/timg0/wdtconfig4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_wdt_stg2_hold."] #[inline(always)] - #[must_use] pub fn wdt_stg2_hold(&mut self) -> WDT_STG2_HOLD_W { WDT_STG2_HOLD_W::new(self, 0) } diff --git a/esp32c3/src/timg0/wdtconfig5.rs b/esp32c3/src/timg0/wdtconfig5.rs index 5aecdff95d..992da93f9e 100644 --- a/esp32c3/src/timg0/wdtconfig5.rs +++ b/esp32c3/src/timg0/wdtconfig5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_wdt_stg3_hold."] #[inline(always)] - #[must_use] pub fn wdt_stg3_hold(&mut self) -> WDT_STG3_HOLD_W { WDT_STG3_HOLD_W::new(self, 0) } diff --git a/esp32c3/src/timg0/wdtfeed.rs b/esp32c3/src/timg0/wdtfeed.rs index 90cab27ef6..903e54b2a3 100644 --- a/esp32c3/src/timg0/wdtfeed.rs +++ b/esp32c3/src/timg0/wdtfeed.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - wdt_feed"] #[inline(always)] - #[must_use] pub fn wdt_feed(&mut self) -> WDT_FEED_W { WDT_FEED_W::new(self, 0) } diff --git a/esp32c3/src/timg0/wdtwprotect.rs b/esp32c3/src/timg0/wdtwprotect.rs index 67f605e99b..27a4d85d17 100644 --- a/esp32c3/src/timg0/wdtwprotect.rs +++ b/esp32c3/src/timg0/wdtwprotect.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reg_wdt_wkey."] #[inline(always)] - #[must_use] pub fn wdt_wkey(&mut self) -> WDT_WKEY_W { WDT_WKEY_W::new(self, 0) } diff --git a/esp32c3/src/twai0/bus_timing_0.rs b/esp32c3/src/twai0/bus_timing_0.rs index 3acc8fe70a..eaaf1004d0 100644 --- a/esp32c3/src/twai0/bus_timing_0.rs +++ b/esp32c3/src/twai0/bus_timing_0.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - Baud Rate Prescaler, determines the frequency dividing ratio."] #[inline(always)] - #[must_use] pub fn baud_presc(&mut self) -> BAUD_PRESC_W { BAUD_PRESC_W::new(self, 0) } #[doc = "Bits 14:15 - Synchronization Jump Width (SJW), 1 \\verb+~+ 14 Tq wide."] #[inline(always)] - #[must_use] pub fn sync_jump_width(&mut self) -> SYNC_JUMP_WIDTH_W { SYNC_JUMP_WIDTH_W::new(self, 14) } diff --git a/esp32c3/src/twai0/bus_timing_1.rs b/esp32c3/src/twai0/bus_timing_1.rs index edd5e6575c..387797e218 100644 --- a/esp32c3/src/twai0/bus_timing_1.rs +++ b/esp32c3/src/twai0/bus_timing_1.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - The width of PBS1."] #[inline(always)] - #[must_use] pub fn time_seg1(&mut self) -> TIME_SEG1_W { TIME_SEG1_W::new(self, 0) } #[doc = "Bits 4:6 - The width of PBS2."] #[inline(always)] - #[must_use] pub fn time_seg2(&mut self) -> TIME_SEG2_W { TIME_SEG2_W::new(self, 4) } #[doc = "Bit 7 - The number of sample points. 0: the bus is sampled once; 1: the bus is sampled three times"] #[inline(always)] - #[must_use] pub fn time_samp(&mut self) -> TIME_SAMP_W { TIME_SAMP_W::new(self, 7) } diff --git a/esp32c3/src/twai0/clock_divider.rs b/esp32c3/src/twai0/clock_divider.rs index 604cc61578..7c8b88d257 100644 --- a/esp32c3/src/twai0/clock_divider.rs +++ b/esp32c3/src/twai0/clock_divider.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - These bits are used to configure frequency dividing coefficients of the external CLKOUT pin."] #[inline(always)] - #[must_use] pub fn cd(&mut self) -> CD_W { CD_W::new(self, 0) } #[doc = "Bit 8 - This bit can be configured under reset mode. 1: Disable the external CLKOUT pin; 0: Enable the external CLKOUT pin"] #[inline(always)] - #[must_use] pub fn clock_off(&mut self) -> CLOCK_OFF_W { CLOCK_OFF_W::new(self, 8) } diff --git a/esp32c3/src/twai0/cmd.rs b/esp32c3/src/twai0/cmd.rs index 9dec5c5851..7f85b98347 100644 --- a/esp32c3/src/twai0/cmd.rs +++ b/esp32c3/src/twai0/cmd.rs @@ -19,31 +19,26 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set the bit to 1 to allow the driving nodes start transmission."] #[inline(always)] - #[must_use] pub fn tx_req(&mut self) -> TX_REQ_W { TX_REQ_W::new(self, 0) } #[doc = "Bit 1 - Set the bit to 1 to cancel a pending transmission request."] #[inline(always)] - #[must_use] pub fn abort_tx(&mut self) -> ABORT_TX_W { ABORT_TX_W::new(self, 1) } #[doc = "Bit 2 - Set the bit to 1 to release the RX buffer."] #[inline(always)] - #[must_use] pub fn release_buf(&mut self) -> RELEASE_BUF_W { RELEASE_BUF_W::new(self, 2) } #[doc = "Bit 3 - Set the bit to 1 to clear the data overrun status bit."] #[inline(always)] - #[must_use] pub fn clr_overrun(&mut self) -> CLR_OVERRUN_W { CLR_OVERRUN_W::new(self, 3) } #[doc = "Bit 4 - Self reception request command. Set the bit to 1 to allow a message be transmitted and received simultaneously."] #[inline(always)] - #[must_use] pub fn self_rx_req(&mut self) -> SELF_RX_REQ_W { SELF_RX_REQ_W::new(self, 4) } diff --git a/esp32c3/src/twai0/data_0.rs b/esp32c3/src/twai0/data_0.rs index cf5b00f311..66a201d485 100644 --- a/esp32c3/src/twai0/data_0.rs +++ b/esp32c3/src/twai0/data_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance code register 0 with R/W Permission. In operation mode, it stores the 0th byte of the data to be transmitted or received. In operation mode, writing writes to the transmit buffer while reading reads from the receive buffer."] #[inline(always)] - #[must_use] pub fn tx_byte_0(&mut self) -> TX_BYTE_0_W { TX_BYTE_0_W::new(self, 0) } diff --git a/esp32c3/src/twai0/data_1.rs b/esp32c3/src/twai0/data_1.rs index 05c21f3ac0..a94a1dc4d3 100644 --- a/esp32c3/src/twai0/data_1.rs +++ b/esp32c3/src/twai0/data_1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance code register 1 with R/W Permission. In operation mode, it stores the 1st byte of the data to be transmitted or received. In operation mode, writing writes to the transmit buffer while reading reads from the receive buffer."] #[inline(always)] - #[must_use] pub fn tx_byte_1(&mut self) -> TX_BYTE_1_W { TX_BYTE_1_W::new(self, 0) } diff --git a/esp32c3/src/twai0/data_10.rs b/esp32c3/src/twai0/data_10.rs index dc8cce5cbe..2d47724b24 100644 --- a/esp32c3/src/twai0/data_10.rs +++ b/esp32c3/src/twai0/data_10.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In operation mode, it stores the 10th byte of the data to be transmitted or received. In operation mode, writing writes to the transmit buffer while reading reads from the receive buffer."] #[inline(always)] - #[must_use] pub fn tx_byte_10(&mut self) -> TX_BYTE_10_W { TX_BYTE_10_W::new(self, 0) } diff --git a/esp32c3/src/twai0/data_11.rs b/esp32c3/src/twai0/data_11.rs index 9db5c39f0e..ee0d67c20b 100644 --- a/esp32c3/src/twai0/data_11.rs +++ b/esp32c3/src/twai0/data_11.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In operation mode, it stores the 11th byte of the data to be transmitted or received. In operation mode, writing writes to the transmit buffer while reading reads from the receive buffer."] #[inline(always)] - #[must_use] pub fn tx_byte_11(&mut self) -> TX_BYTE_11_W { TX_BYTE_11_W::new(self, 0) } diff --git a/esp32c3/src/twai0/data_12.rs b/esp32c3/src/twai0/data_12.rs index 7773579568..5ad991184c 100644 --- a/esp32c3/src/twai0/data_12.rs +++ b/esp32c3/src/twai0/data_12.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In operation mode, it stores the 12th byte of the data to be transmitted or received. In operation mode, writing writes to the transmit buffer while reading reads from the receive buffer."] #[inline(always)] - #[must_use] pub fn tx_byte_12(&mut self) -> TX_BYTE_12_W { TX_BYTE_12_W::new(self, 0) } diff --git a/esp32c3/src/twai0/data_2.rs b/esp32c3/src/twai0/data_2.rs index 5db9a514e3..084ab3d4fd 100644 --- a/esp32c3/src/twai0/data_2.rs +++ b/esp32c3/src/twai0/data_2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance code register 2 with R/W Permission. In operation mode, it stores the 2nd byte of the data to be transmitted or received. In operation mode, writing writes to the transmit buffer while reading reads from the receive buffer."] #[inline(always)] - #[must_use] pub fn tx_byte_2(&mut self) -> TX_BYTE_2_W { TX_BYTE_2_W::new(self, 0) } diff --git a/esp32c3/src/twai0/data_3.rs b/esp32c3/src/twai0/data_3.rs index b6bf52d85e..c16a98eb10 100644 --- a/esp32c3/src/twai0/data_3.rs +++ b/esp32c3/src/twai0/data_3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance code register 3 with R/W Permission. In operation mode, it stores the 3rd byte of the data to be transmitted or received. In operation mode, writing writes to the transmit buffer while reading reads from the receive buffer."] #[inline(always)] - #[must_use] pub fn tx_byte_3(&mut self) -> TX_BYTE_3_W { TX_BYTE_3_W::new(self, 0) } diff --git a/esp32c3/src/twai0/data_4.rs b/esp32c3/src/twai0/data_4.rs index 146024fe3b..33b546ca04 100644 --- a/esp32c3/src/twai0/data_4.rs +++ b/esp32c3/src/twai0/data_4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance code register 4 with R/W Permission. In operation mode, it stores the 4th byte of the data to be transmitted or received. In operation mode, writing writes to the transmit buffer while reading reads from the receive buffer."] #[inline(always)] - #[must_use] pub fn tx_byte_4(&mut self) -> TX_BYTE_4_W { TX_BYTE_4_W::new(self, 0) } diff --git a/esp32c3/src/twai0/data_5.rs b/esp32c3/src/twai0/data_5.rs index 2d1a5a3b6d..729bf6eef9 100644 --- a/esp32c3/src/twai0/data_5.rs +++ b/esp32c3/src/twai0/data_5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance code register 5 with R/W Permission. In operation mode, it stores the 5th byte of the data to be transmitted or received. In operation mode, writing writes to the transmit buffer while reading reads from the receive buffer."] #[inline(always)] - #[must_use] pub fn tx_byte_5(&mut self) -> TX_BYTE_5_W { TX_BYTE_5_W::new(self, 0) } diff --git a/esp32c3/src/twai0/data_6.rs b/esp32c3/src/twai0/data_6.rs index 444e8d8ec8..b5972283d8 100644 --- a/esp32c3/src/twai0/data_6.rs +++ b/esp32c3/src/twai0/data_6.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance code register 6 with R/W Permission. In operation mode, it stores the 6th byte of the data to be transmitted or received. In operation mode, writing writes to the transmit buffer while reading reads from the receive buffer."] #[inline(always)] - #[must_use] pub fn tx_byte_6(&mut self) -> TX_BYTE_6_W { TX_BYTE_6_W::new(self, 0) } diff --git a/esp32c3/src/twai0/data_7.rs b/esp32c3/src/twai0/data_7.rs index 2da6559bdd..73fbc12854 100644 --- a/esp32c3/src/twai0/data_7.rs +++ b/esp32c3/src/twai0/data_7.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance code register 7 with R/W Permission. In operation mode, it stores the 7th byte of the data to be transmitted or received. In operation mode, writing writes to the transmit buffer while reading reads from the receive buffer."] #[inline(always)] - #[must_use] pub fn tx_byte_7(&mut self) -> TX_BYTE_7_W { TX_BYTE_7_W::new(self, 0) } diff --git a/esp32c3/src/twai0/data_8.rs b/esp32c3/src/twai0/data_8.rs index 7988770a80..517aad8635 100644 --- a/esp32c3/src/twai0/data_8.rs +++ b/esp32c3/src/twai0/data_8.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In operation mode, it stores the 8th byte of the data to be transmitted or received. In operation mode, writing writes to the transmit buffer while reading reads from the receive buffer."] #[inline(always)] - #[must_use] pub fn tx_byte_8(&mut self) -> TX_BYTE_8_W { TX_BYTE_8_W::new(self, 0) } diff --git a/esp32c3/src/twai0/data_9.rs b/esp32c3/src/twai0/data_9.rs index 7e7f44be6f..e2c2e11a55 100644 --- a/esp32c3/src/twai0/data_9.rs +++ b/esp32c3/src/twai0/data_9.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In operation mode, it stores the 9th byte of the data to be transmitted or received. In operation mode, writing writes to the transmit buffer while reading reads from the receive buffer."] #[inline(always)] - #[must_use] pub fn tx_byte_9(&mut self) -> TX_BYTE_9_W { TX_BYTE_9_W::new(self, 0) } diff --git a/esp32c3/src/twai0/err_warning_limit.rs b/esp32c3/src/twai0/err_warning_limit.rs index 4a0c61301c..df1aa0b277 100644 --- a/esp32c3/src/twai0/err_warning_limit.rs +++ b/esp32c3/src/twai0/err_warning_limit.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Error warning threshold. In the case when any of a error counter value exceeds the threshold, or all the error counter values are below the threshold, an error warning interrupt will be triggered (given the enable signal is valid)."] #[inline(always)] - #[must_use] pub fn err_warning_limit(&mut self) -> ERR_WARNING_LIMIT_W { ERR_WARNING_LIMIT_W::new(self, 0) } diff --git a/esp32c3/src/twai0/int_ena.rs b/esp32c3/src/twai0/int_ena.rs index 3b6932558a..d3977eaa4a 100644 --- a/esp32c3/src/twai0/int_ena.rs +++ b/esp32c3/src/twai0/int_ena.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to 1 to enable receive interrupt."] #[inline(always)] - #[must_use] pub fn rx_int_ena(&mut self) -> RX_INT_ENA_W { RX_INT_ENA_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to 1 to enable transmit interrupt."] #[inline(always)] - #[must_use] pub fn tx_int_ena(&mut self) -> TX_INT_ENA_W { TX_INT_ENA_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to 1 to enable error warning interrupt."] #[inline(always)] - #[must_use] pub fn err_warn_int_ena(&mut self) -> ERR_WARN_INT_ENA_W { ERR_WARN_INT_ENA_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to 1 to enable data overrun interrupt."] #[inline(always)] - #[must_use] pub fn overrun_int_ena(&mut self) -> OVERRUN_INT_ENA_W { OVERRUN_INT_ENA_W::new(self, 3) } #[doc = "Bit 5 - Set this bit to 1 to enable error passive interrupt."] #[inline(always)] - #[must_use] pub fn err_passive_int_ena(&mut self) -> ERR_PASSIVE_INT_ENA_W { ERR_PASSIVE_INT_ENA_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to 1 to enable arbitration lost interrupt."] #[inline(always)] - #[must_use] pub fn arb_lost_int_ena(&mut self) -> ARB_LOST_INT_ENA_W { ARB_LOST_INT_ENA_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to 1 to enable error interrupt."] #[inline(always)] - #[must_use] pub fn bus_err_int_ena(&mut self) -> BUS_ERR_INT_ENA_W { BUS_ERR_INT_ENA_W::new(self, 7) } diff --git a/esp32c3/src/twai0/mode.rs b/esp32c3/src/twai0/mode.rs index ddce5ed67c..deebf1574c 100644 --- a/esp32c3/src/twai0/mode.rs +++ b/esp32c3/src/twai0/mode.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to configure the operating mode of the TWAI Controller. 1: Reset mode; 0: Operating mode."] #[inline(always)] - #[must_use] pub fn reset_mode(&mut self) -> RESET_MODE_W { RESET_MODE_W::new(self, 0) } #[doc = "Bit 1 - 1: Listen only mode. In this mode the nodes will only receive messages from the bus, without generating the acknowledge signal nor updating the RX error counter."] #[inline(always)] - #[must_use] pub fn listen_only_mode(&mut self) -> LISTEN_ONLY_MODE_W { LISTEN_ONLY_MODE_W::new(self, 1) } #[doc = "Bit 2 - 1: Self test mode. In this mode the TX nodes can perform a successful transmission without receiving the acknowledge signal. This mode is often used to test a single node with the self reception request command."] #[inline(always)] - #[must_use] pub fn self_test_mode(&mut self) -> SELF_TEST_MODE_W { SELF_TEST_MODE_W::new(self, 2) } #[doc = "Bit 3 - This bit is used to configure the filter mode. 0: Dual filter mode; 1: Single filter mode."] #[inline(always)] - #[must_use] pub fn rx_filter_mode(&mut self) -> RX_FILTER_MODE_W { RX_FILTER_MODE_W::new(self, 3) } diff --git a/esp32c3/src/twai0/rx_err_cnt.rs b/esp32c3/src/twai0/rx_err_cnt.rs index 0e7eedf680..b421e30b14 100644 --- a/esp32c3/src/twai0/rx_err_cnt.rs +++ b/esp32c3/src/twai0/rx_err_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - The RX error counter register, reflects value changes under reception status."] #[inline(always)] - #[must_use] pub fn rx_err_cnt(&mut self) -> RX_ERR_CNT_W { RX_ERR_CNT_W::new(self, 0) } diff --git a/esp32c3/src/twai0/tx_err_cnt.rs b/esp32c3/src/twai0/tx_err_cnt.rs index 64ad2e844e..59fbc2d773 100644 --- a/esp32c3/src/twai0/tx_err_cnt.rs +++ b/esp32c3/src/twai0/tx_err_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - The TX error counter register, reflects value changes under transmission status."] #[inline(always)] - #[must_use] pub fn tx_err_cnt(&mut self) -> TX_ERR_CNT_W { TX_ERR_CNT_W::new(self, 0) } diff --git a/esp32c3/src/uart0/at_cmd_char.rs b/esp32c3/src/uart0/at_cmd_char.rs index 63f615f0bb..0cf119bced 100644 --- a/esp32c3/src/uart0/at_cmd_char.rs +++ b/esp32c3/src/uart0/at_cmd_char.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register is used to configure the content of at_cmd char."] #[inline(always)] - #[must_use] pub fn at_cmd_char(&mut self) -> AT_CMD_CHAR_W { AT_CMD_CHAR_W::new(self, 0) } #[doc = "Bits 8:15 - This register is used to configure the num of continuous at_cmd chars received by receiver."] #[inline(always)] - #[must_use] pub fn char_num(&mut self) -> CHAR_NUM_W { CHAR_NUM_W::new(self, 8) } diff --git a/esp32c3/src/uart0/at_cmd_gaptout.rs b/esp32c3/src/uart0/at_cmd_gaptout.rs index aeb0fab8c1..db829b172f 100644 --- a/esp32c3/src/uart0/at_cmd_gaptout.rs +++ b/esp32c3/src/uart0/at_cmd_gaptout.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the duration time between the at_cmd chars."] #[inline(always)] - #[must_use] pub fn rx_gap_tout(&mut self) -> RX_GAP_TOUT_W { RX_GAP_TOUT_W::new(self, 0) } diff --git a/esp32c3/src/uart0/at_cmd_postcnt.rs b/esp32c3/src/uart0/at_cmd_postcnt.rs index a7bf7d2792..1ca8f0cec9 100644 --- a/esp32c3/src/uart0/at_cmd_postcnt.rs +++ b/esp32c3/src/uart0/at_cmd_postcnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the duration time between the last at_cmd and the next data."] #[inline(always)] - #[must_use] pub fn post_idle_num(&mut self) -> POST_IDLE_NUM_W { POST_IDLE_NUM_W::new(self, 0) } diff --git a/esp32c3/src/uart0/at_cmd_precnt.rs b/esp32c3/src/uart0/at_cmd_precnt.rs index c49f64f592..762bf3e056 100644 --- a/esp32c3/src/uart0/at_cmd_precnt.rs +++ b/esp32c3/src/uart0/at_cmd_precnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the idle duration time before the first at_cmd is received by receiver."] #[inline(always)] - #[must_use] pub fn pre_idle_num(&mut self) -> PRE_IDLE_NUM_W { PRE_IDLE_NUM_W::new(self, 0) } diff --git a/esp32c3/src/uart0/clk_conf.rs b/esp32c3/src/uart0/clk_conf.rs index 1debfdc150..26cf2e7774 100644 --- a/esp32c3/src/uart0/clk_conf.rs +++ b/esp32c3/src/uart0/clk_conf.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - The denominator of the frequency divider factor."] #[inline(always)] - #[must_use] pub fn sclk_div_b(&mut self) -> SCLK_DIV_B_W { SCLK_DIV_B_W::new(self, 0) } #[doc = "Bits 6:11 - The numerator of the frequency divider factor."] #[inline(always)] - #[must_use] pub fn sclk_div_a(&mut self) -> SCLK_DIV_A_W { SCLK_DIV_A_W::new(self, 6) } #[doc = "Bits 12:19 - The integral part of the frequency divider factor."] #[inline(always)] - #[must_use] pub fn sclk_div_num(&mut self) -> SCLK_DIV_NUM_W { SCLK_DIV_NUM_W::new(self, 12) } #[doc = "Bits 20:21 - UART clock source select. 1: 80Mhz, 2: 8Mhz, 3: XTAL."] #[inline(always)] - #[must_use] pub fn sclk_sel(&mut self) -> SCLK_SEL_W { SCLK_SEL_W::new(self, 20) } #[doc = "Bit 22 - Set this bit to enable UART Tx/Rx clock."] #[inline(always)] - #[must_use] pub fn sclk_en(&mut self) -> SCLK_EN_W { SCLK_EN_W::new(self, 22) } #[doc = "Bit 23 - Write 1 then write 0 to this bit, reset UART Tx/Rx."] #[inline(always)] - #[must_use] pub fn rst_core(&mut self) -> RST_CORE_W { RST_CORE_W::new(self, 23) } #[doc = "Bit 24 - Set this bit to enable UART Tx clock."] #[inline(always)] - #[must_use] pub fn tx_sclk_en(&mut self) -> TX_SCLK_EN_W { TX_SCLK_EN_W::new(self, 24) } #[doc = "Bit 25 - Set this bit to enable UART Rx clock."] #[inline(always)] - #[must_use] pub fn rx_sclk_en(&mut self) -> RX_SCLK_EN_W { RX_SCLK_EN_W::new(self, 25) } #[doc = "Bit 26 - Write 1 then write 0 to this bit, reset UART Tx."] #[inline(always)] - #[must_use] pub fn tx_rst_core(&mut self) -> TX_RST_CORE_W { TX_RST_CORE_W::new(self, 26) } #[doc = "Bit 27 - Write 1 then write 0 to this bit, reset UART Rx."] #[inline(always)] - #[must_use] pub fn rx_rst_core(&mut self) -> RX_RST_CORE_W { RX_RST_CORE_W::new(self, 27) } diff --git a/esp32c3/src/uart0/clkdiv.rs b/esp32c3/src/uart0/clkdiv.rs index f5fb653112..4706e2101c 100644 --- a/esp32c3/src/uart0/clkdiv.rs +++ b/esp32c3/src/uart0/clkdiv.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - The integral part of the frequency divider factor."] #[inline(always)] - #[must_use] pub fn clkdiv(&mut self) -> CLKDIV_W { CLKDIV_W::new(self, 0) } #[doc = "Bits 20:23 - The decimal part of the frequency divider factor."] #[inline(always)] - #[must_use] pub fn frag(&mut self) -> FRAG_W { FRAG_W::new(self, 20) } diff --git a/esp32c3/src/uart0/conf0.rs b/esp32c3/src/uart0/conf0.rs index c32c153634..7b36703aba 100644 --- a/esp32c3/src/uart0/conf0.rs +++ b/esp32c3/src/uart0/conf0.rs @@ -284,163 +284,136 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This register is used to configure the parity check mode."] #[inline(always)] - #[must_use] pub fn parity(&mut self) -> PARITY_W { PARITY_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to enable uart parity check."] #[inline(always)] - #[must_use] pub fn parity_en(&mut self) -> PARITY_EN_W { PARITY_EN_W::new(self, 1) } #[doc = "Bits 2:3 - This register is used to set the length of data."] #[inline(always)] - #[must_use] pub fn bit_num(&mut self) -> BIT_NUM_W { BIT_NUM_W::new(self, 2) } #[doc = "Bits 4:5 - This register is used to set the length of stop bit."] #[inline(always)] - #[must_use] pub fn stop_bit_num(&mut self) -> STOP_BIT_NUM_W { STOP_BIT_NUM_W::new(self, 4) } #[doc = "Bit 6 - This register is used to configure the software rts signal which is used in software flow control."] #[inline(always)] - #[must_use] pub fn sw_rts(&mut self) -> SW_RTS_W { SW_RTS_W::new(self, 6) } #[doc = "Bit 7 - This register is used to configure the software dtr signal which is used in software flow control."] #[inline(always)] - #[must_use] pub fn sw_dtr(&mut self) -> SW_DTR_W { SW_DTR_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to enbale transmitter to send NULL when the process of sending data is done."] #[inline(always)] - #[must_use] pub fn txd_brk(&mut self) -> TXD_BRK_W { TXD_BRK_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to enable IrDA loopback mode."] #[inline(always)] - #[must_use] pub fn irda_dplx(&mut self) -> IRDA_DPLX_W { IRDA_DPLX_W::new(self, 9) } #[doc = "Bit 10 - This is the start enable bit for IrDA transmitter."] #[inline(always)] - #[must_use] pub fn irda_tx_en(&mut self) -> IRDA_TX_EN_W { IRDA_TX_EN_W::new(self, 10) } #[doc = "Bit 11 - 1'h1: The IrDA transmitter's 11th bit is the same as 10th bit. 1'h0: Set IrDA transmitter's 11th bit to 0."] #[inline(always)] - #[must_use] pub fn irda_wctl(&mut self) -> IRDA_WCTL_W { IRDA_WCTL_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to invert the level of IrDA transmitter."] #[inline(always)] - #[must_use] pub fn irda_tx_inv(&mut self) -> IRDA_TX_INV_W { IRDA_TX_INV_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to invert the level of IrDA receiver."] #[inline(always)] - #[must_use] pub fn irda_rx_inv(&mut self) -> IRDA_RX_INV_W { IRDA_RX_INV_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to enable uart loopback test mode."] #[inline(always)] - #[must_use] pub fn loopback(&mut self) -> LOOPBACK_W { LOOPBACK_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to enable flow control function for transmitter."] #[inline(always)] - #[must_use] pub fn tx_flow_en(&mut self) -> TX_FLOW_EN_W { TX_FLOW_EN_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to enable IrDA protocol."] #[inline(always)] - #[must_use] pub fn irda_en(&mut self) -> IRDA_EN_W { IRDA_EN_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to reset the uart receive-FIFO."] #[inline(always)] - #[must_use] pub fn rxfifo_rst(&mut self) -> RXFIFO_RST_W { RXFIFO_RST_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to reset the uart transmit-FIFO."] #[inline(always)] - #[must_use] pub fn txfifo_rst(&mut self) -> TXFIFO_RST_W { TXFIFO_RST_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to inverse the level value of uart rxd signal."] #[inline(always)] - #[must_use] pub fn rxd_inv(&mut self) -> RXD_INV_W { RXD_INV_W::new(self, 19) } #[doc = "Bit 20 - Set this bit to inverse the level value of uart cts signal."] #[inline(always)] - #[must_use] pub fn cts_inv(&mut self) -> CTS_INV_W { CTS_INV_W::new(self, 20) } #[doc = "Bit 21 - Set this bit to inverse the level value of uart dsr signal."] #[inline(always)] - #[must_use] pub fn dsr_inv(&mut self) -> DSR_INV_W { DSR_INV_W::new(self, 21) } #[doc = "Bit 22 - Set this bit to inverse the level value of uart txd signal."] #[inline(always)] - #[must_use] pub fn txd_inv(&mut self) -> TXD_INV_W { TXD_INV_W::new(self, 22) } #[doc = "Bit 23 - Set this bit to inverse the level value of uart rts signal."] #[inline(always)] - #[must_use] pub fn rts_inv(&mut self) -> RTS_INV_W { RTS_INV_W::new(self, 23) } #[doc = "Bit 24 - Set this bit to inverse the level value of uart dtr signal."] #[inline(always)] - #[must_use] pub fn dtr_inv(&mut self) -> DTR_INV_W { DTR_INV_W::new(self, 24) } #[doc = "Bit 25 - 1'h1: Force clock on for register. 1'h0: Support clock only when application writes registers."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 25) } #[doc = "Bit 26 - 1'h1: Receiver stops storing data into FIFO when data is wrong. 1'h0: Receiver stores the data even if the received data is wrong."] #[inline(always)] - #[must_use] pub fn err_wr_mask(&mut self) -> ERR_WR_MASK_W { ERR_WR_MASK_W::new(self, 26) } #[doc = "Bit 27 - This is the enable bit for detecting baudrate."] #[inline(always)] - #[must_use] pub fn autobaud_en(&mut self) -> AUTOBAUD_EN_W { AUTOBAUD_EN_W::new(self, 27) } #[doc = "Bit 28 - UART memory clock gate enable signal."] #[inline(always)] - #[must_use] pub fn mem_clk_en(&mut self) -> MEM_CLK_EN_W { MEM_CLK_EN_W::new(self, 28) } diff --git a/esp32c3/src/uart0/conf1.rs b/esp32c3/src/uart0/conf1.rs index acdd8a9f57..8689b25a86 100644 --- a/esp32c3/src/uart0/conf1.rs +++ b/esp32c3/src/uart0/conf1.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - It will produce rxfifo_full_int interrupt when receiver receives more data than this register value."] #[inline(always)] - #[must_use] pub fn rxfifo_full_thrhd(&mut self) -> RXFIFO_FULL_THRHD_W { RXFIFO_FULL_THRHD_W::new(self, 0) } #[doc = "Bits 9:17 - It will produce txfifo_empty_int interrupt when the data amount in Tx-FIFO is less than this register value."] #[inline(always)] - #[must_use] pub fn txfifo_empty_thrhd(&mut self) -> TXFIFO_EMPTY_THRHD_W { TXFIFO_EMPTY_THRHD_W::new(self, 9) } #[doc = "Bit 18 - Disable UART Rx data overflow detect."] #[inline(always)] - #[must_use] pub fn dis_rx_dat_ovf(&mut self) -> DIS_RX_DAT_OVF_W { DIS_RX_DAT_OVF_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to stop accumulating idle_cnt when hardware flow control works."] #[inline(always)] - #[must_use] pub fn rx_tout_flow_dis(&mut self) -> RX_TOUT_FLOW_DIS_W { RX_TOUT_FLOW_DIS_W::new(self, 19) } #[doc = "Bit 20 - This is the flow enable bit for UART receiver."] #[inline(always)] - #[must_use] pub fn rx_flow_en(&mut self) -> RX_FLOW_EN_W { RX_FLOW_EN_W::new(self, 20) } #[doc = "Bit 21 - This is the enble bit for uart receiver's timeout function."] #[inline(always)] - #[must_use] pub fn rx_tout_en(&mut self) -> RX_TOUT_EN_W { RX_TOUT_EN_W::new(self, 21) } diff --git a/esp32c3/src/uart0/date.rs b/esp32c3/src/uart0/date.rs index d89b3d5652..d17dca78f3 100644 --- a/esp32c3/src/uart0/date.rs +++ b/esp32c3/src/uart0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This is the version register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c3/src/uart0/fifo.rs b/esp32c3/src/uart0/fifo.rs index bbd207ed48..044c77bb18 100644 --- a/esp32c3/src/uart0/fifo.rs +++ b/esp32c3/src/uart0/fifo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - UART 0 accesses FIFO via this register."] #[inline(always)] - #[must_use] pub fn rxfifo_rd_byte(&mut self) -> RXFIFO_RD_BYTE_W { RXFIFO_RD_BYTE_W::new(self, 0) } diff --git a/esp32c3/src/uart0/flow_conf.rs b/esp32c3/src/uart0/flow_conf.rs index ec52fe16d3..0e7f83e9dc 100644 --- a/esp32c3/src/uart0/flow_conf.rs +++ b/esp32c3/src/uart0/flow_conf.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable software flow control. It is used with register sw_xon or sw_xoff."] #[inline(always)] - #[must_use] pub fn sw_flow_con_en(&mut self) -> SW_FLOW_CON_EN_W { SW_FLOW_CON_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to remove flow control char from the received data."] #[inline(always)] - #[must_use] pub fn xonoff_del(&mut self) -> XONOFF_DEL_W { XONOFF_DEL_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to enable the transmitter to go on sending data."] #[inline(always)] - #[must_use] pub fn force_xon(&mut self) -> FORCE_XON_W { FORCE_XON_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to stop the transmitter from sending data."] #[inline(always)] - #[must_use] pub fn force_xoff(&mut self) -> FORCE_XOFF_W { FORCE_XOFF_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to send Xon char. It is cleared by hardware automatically."] #[inline(always)] - #[must_use] pub fn send_xon(&mut self) -> SEND_XON_W { SEND_XON_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to send Xoff char. It is cleared by hardware automatically."] #[inline(always)] - #[must_use] pub fn send_xoff(&mut self) -> SEND_XOFF_W { SEND_XOFF_W::new(self, 5) } diff --git a/esp32c3/src/uart0/id.rs b/esp32c3/src/uart0/id.rs index 2e3ddb5969..8466c988d9 100644 --- a/esp32c3/src/uart0/id.rs +++ b/esp32c3/src/uart0/id.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - This register is used to configure the uart_id."] #[inline(always)] - #[must_use] pub fn id(&mut self) -> ID_W { ID_W::new(self, 0) } #[doc = "Bit 30 - This bit used to select synchronize mode. 1: Registers are auto synchronized into UART Core clock and UART core should be keep the same with APB clock. 0: After configure registers, software needs to write 1 to UART_REG_UPDATE to synchronize registers."] #[inline(always)] - #[must_use] pub fn high_speed(&mut self) -> HIGH_SPEED_W { HIGH_SPEED_W::new(self, 30) } #[doc = "Bit 31 - Software write 1 would synchronize registers into UART Core clock domain and would be cleared by hardware after synchronization is done."] #[inline(always)] - #[must_use] pub fn reg_update(&mut self) -> REG_UPDATE_W { REG_UPDATE_W::new(self, 31) } diff --git a/esp32c3/src/uart0/idle_conf.rs b/esp32c3/src/uart0/idle_conf.rs index c3bcd173ed..3e67f9b8b2 100644 --- a/esp32c3/src/uart0/idle_conf.rs +++ b/esp32c3/src/uart0/idle_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - It will produce frame end signal when receiver takes more time to receive one byte data than this register value."] #[inline(always)] - #[must_use] pub fn rx_idle_thrhd(&mut self) -> RX_IDLE_THRHD_W { RX_IDLE_THRHD_W::new(self, 0) } #[doc = "Bits 10:19 - This register is used to configure the duration time between transfers."] #[inline(always)] - #[must_use] pub fn tx_idle_num(&mut self) -> TX_IDLE_NUM_W { TX_IDLE_NUM_W::new(self, 10) } diff --git a/esp32c3/src/uart0/int_clr.rs b/esp32c3/src/uart0/int_clr.rs index 83be88b461..40688a1933 100644 --- a/esp32c3/src/uart0/int_clr.rs +++ b/esp32c3/src/uart0/int_clr.rs @@ -49,121 +49,101 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the rxfifo_full_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_full(&mut self) -> RXFIFO_FULL_W { RXFIFO_FULL_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear txfifo_empty_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_empty(&mut self) -> TXFIFO_EMPTY_W { TXFIFO_EMPTY_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear parity_err_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn parity_err(&mut self) -> PARITY_ERR_W { PARITY_ERR_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear frm_err_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn frm_err(&mut self) -> FRM_ERR_W { FRM_ERR_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear rxfifo_ovf_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the dsr_chg_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn dsr_chg(&mut self) -> DSR_CHG_W { DSR_CHG_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the cts_chg_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn cts_chg(&mut self) -> CTS_CHG_W { CTS_CHG_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the brk_det_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn brk_det(&mut self) -> BRK_DET_W { BRK_DET_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the rxfifo_tout_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_tout(&mut self) -> RXFIFO_TOUT_W { RXFIFO_TOUT_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear the sw_xon_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn sw_xon(&mut self) -> SW_XON_W { SW_XON_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to clear the sw_xoff_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn sw_xoff(&mut self) -> SW_XOFF_W { SW_XOFF_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear the glitch_det_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to clear the tx_brk_done_int_raw interrupt.."] #[inline(always)] - #[must_use] pub fn tx_brk_done(&mut self) -> TX_BRK_DONE_W { TX_BRK_DONE_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to clear the tx_brk_idle_done_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn tx_brk_idle_done(&mut self) -> TX_BRK_IDLE_DONE_W { TX_BRK_IDLE_DONE_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to clear the tx_done_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to clear the rs485_parity_err_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rs485_parity_err(&mut self) -> RS485_PARITY_ERR_W { RS485_PARITY_ERR_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to clear the rs485_frm_err_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rs485_frm_err(&mut self) -> RS485_FRM_ERR_W { RS485_FRM_ERR_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to clear the rs485_clash_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rs485_clash(&mut self) -> RS485_CLASH_W { RS485_CLASH_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to clear the at_cmd_char_det_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn at_cmd_char_det(&mut self) -> AT_CMD_CHAR_DET_W { AT_CMD_CHAR_DET_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to clear the uart_wakeup_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn wakeup(&mut self) -> WAKEUP_W { WAKEUP_W::new(self, 19) } diff --git a/esp32c3/src/uart0/int_ena.rs b/esp32c3/src/uart0/int_ena.rs index dc9361e638..14f56e1ffd 100644 --- a/esp32c3/src/uart0/int_ena.rs +++ b/esp32c3/src/uart0/int_ena.rs @@ -214,121 +214,101 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This is the enable bit for rxfifo_full_int_st register."] #[inline(always)] - #[must_use] pub fn rxfifo_full(&mut self) -> RXFIFO_FULL_W { RXFIFO_FULL_W::new(self, 0) } #[doc = "Bit 1 - This is the enable bit for txfifo_empty_int_st register."] #[inline(always)] - #[must_use] pub fn txfifo_empty(&mut self) -> TXFIFO_EMPTY_W { TXFIFO_EMPTY_W::new(self, 1) } #[doc = "Bit 2 - This is the enable bit for parity_err_int_st register."] #[inline(always)] - #[must_use] pub fn parity_err(&mut self) -> PARITY_ERR_W { PARITY_ERR_W::new(self, 2) } #[doc = "Bit 3 - This is the enable bit for frm_err_int_st register."] #[inline(always)] - #[must_use] pub fn frm_err(&mut self) -> FRM_ERR_W { FRM_ERR_W::new(self, 3) } #[doc = "Bit 4 - This is the enable bit for rxfifo_ovf_int_st register."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - This is the enable bit for dsr_chg_int_st register."] #[inline(always)] - #[must_use] pub fn dsr_chg(&mut self) -> DSR_CHG_W { DSR_CHG_W::new(self, 5) } #[doc = "Bit 6 - This is the enable bit for cts_chg_int_st register."] #[inline(always)] - #[must_use] pub fn cts_chg(&mut self) -> CTS_CHG_W { CTS_CHG_W::new(self, 6) } #[doc = "Bit 7 - This is the enable bit for brk_det_int_st register."] #[inline(always)] - #[must_use] pub fn brk_det(&mut self) -> BRK_DET_W { BRK_DET_W::new(self, 7) } #[doc = "Bit 8 - This is the enable bit for rxfifo_tout_int_st register."] #[inline(always)] - #[must_use] pub fn rxfifo_tout(&mut self) -> RXFIFO_TOUT_W { RXFIFO_TOUT_W::new(self, 8) } #[doc = "Bit 9 - This is the enable bit for sw_xon_int_st register."] #[inline(always)] - #[must_use] pub fn sw_xon(&mut self) -> SW_XON_W { SW_XON_W::new(self, 9) } #[doc = "Bit 10 - This is the enable bit for sw_xoff_int_st register."] #[inline(always)] - #[must_use] pub fn sw_xoff(&mut self) -> SW_XOFF_W { SW_XOFF_W::new(self, 10) } #[doc = "Bit 11 - This is the enable bit for glitch_det_int_st register."] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 11) } #[doc = "Bit 12 - This is the enable bit for tx_brk_done_int_st register."] #[inline(always)] - #[must_use] pub fn tx_brk_done(&mut self) -> TX_BRK_DONE_W { TX_BRK_DONE_W::new(self, 12) } #[doc = "Bit 13 - This is the enable bit for tx_brk_idle_done_int_st register."] #[inline(always)] - #[must_use] pub fn tx_brk_idle_done(&mut self) -> TX_BRK_IDLE_DONE_W { TX_BRK_IDLE_DONE_W::new(self, 13) } #[doc = "Bit 14 - This is the enable bit for tx_done_int_st register."] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 14) } #[doc = "Bit 15 - This is the enable bit for rs485_parity_err_int_st register."] #[inline(always)] - #[must_use] pub fn rs485_parity_err(&mut self) -> RS485_PARITY_ERR_W { RS485_PARITY_ERR_W::new(self, 15) } #[doc = "Bit 16 - This is the enable bit for rs485_parity_err_int_st register."] #[inline(always)] - #[must_use] pub fn rs485_frm_err(&mut self) -> RS485_FRM_ERR_W { RS485_FRM_ERR_W::new(self, 16) } #[doc = "Bit 17 - This is the enable bit for rs485_clash_int_st register."] #[inline(always)] - #[must_use] pub fn rs485_clash(&mut self) -> RS485_CLASH_W { RS485_CLASH_W::new(self, 17) } #[doc = "Bit 18 - This is the enable bit for at_cmd_char_det_int_st register."] #[inline(always)] - #[must_use] pub fn at_cmd_char_det(&mut self) -> AT_CMD_CHAR_DET_W { AT_CMD_CHAR_DET_W::new(self, 18) } #[doc = "Bit 19 - This is the enable bit for uart_wakeup_int_st register."] #[inline(always)] - #[must_use] pub fn wakeup(&mut self) -> WAKEUP_W { WAKEUP_W::new(self, 19) } diff --git a/esp32c3/src/uart0/int_raw.rs b/esp32c3/src/uart0/int_raw.rs index b38649fad2..38182da48b 100644 --- a/esp32c3/src/uart0/int_raw.rs +++ b/esp32c3/src/uart0/int_raw.rs @@ -214,121 +214,101 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This interrupt raw bit turns to high level when receiver receives more data than what rxfifo_full_thrhd specifies."] #[inline(always)] - #[must_use] pub fn rxfifo_full(&mut self) -> RXFIFO_FULL_W { RXFIFO_FULL_W::new(self, 0) } #[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 ."] #[inline(always)] - #[must_use] pub fn txfifo_empty(&mut self) -> TXFIFO_EMPTY_W { TXFIFO_EMPTY_W::new(self, 1) } #[doc = "Bit 2 - This interrupt raw bit turns to high level when receiver detects a parity error in the data."] #[inline(always)] - #[must_use] pub fn parity_err(&mut self) -> PARITY_ERR_W { PARITY_ERR_W::new(self, 2) } #[doc = "Bit 3 - This interrupt raw bit turns to high level when receiver detects a data frame error ."] #[inline(always)] - #[must_use] pub fn frm_err(&mut self) -> FRM_ERR_W { FRM_ERR_W::new(self, 3) } #[doc = "Bit 4 - This interrupt raw bit turns to high level when receiver receives more data than the FIFO can store."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - This interrupt raw bit turns to high level when receiver detects the edge change of DSRn signal."] #[inline(always)] - #[must_use] pub fn dsr_chg(&mut self) -> DSR_CHG_W { DSR_CHG_W::new(self, 5) } #[doc = "Bit 6 - This interrupt raw bit turns to high level when receiver detects the edge change of CTSn signal."] #[inline(always)] - #[must_use] pub fn cts_chg(&mut self) -> CTS_CHG_W { CTS_CHG_W::new(self, 6) } #[doc = "Bit 7 - This interrupt raw bit turns to high level when receiver detects a 0 after the stop bit."] #[inline(always)] - #[must_use] pub fn brk_det(&mut self) -> BRK_DET_W { BRK_DET_W::new(self, 7) } #[doc = "Bit 8 - This interrupt raw bit turns to high level when receiver takes more time than rx_tout_thrhd to receive a byte."] #[inline(always)] - #[must_use] pub fn rxfifo_tout(&mut self) -> RXFIFO_TOUT_W { RXFIFO_TOUT_W::new(self, 8) } #[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."] #[inline(always)] - #[must_use] pub fn sw_xon(&mut self) -> SW_XON_W { SW_XON_W::new(self, 9) } #[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."] #[inline(always)] - #[must_use] pub fn sw_xoff(&mut self) -> SW_XOFF_W { SW_XOFF_W::new(self, 10) } #[doc = "Bit 11 - This interrupt raw bit turns to high level when receiver detects a glitch in the middle of a start bit."] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 11) } #[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."] #[inline(always)] - #[must_use] pub fn tx_brk_done(&mut self) -> TX_BRK_DONE_W { TX_BRK_DONE_W::new(self, 12) } #[doc = "Bit 13 - This interrupt raw bit turns to high level when transmitter has kept the shortest duration after sending the last data."] #[inline(always)] - #[must_use] pub fn tx_brk_idle_done(&mut self) -> TX_BRK_IDLE_DONE_W { TX_BRK_IDLE_DONE_W::new(self, 13) } #[doc = "Bit 14 - This interrupt raw bit turns to high level when transmitter has send out all data in FIFO."] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 14) } #[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."] #[inline(always)] - #[must_use] pub fn rs485_parity_err(&mut self) -> RS485_PARITY_ERR_W { RS485_PARITY_ERR_W::new(self, 15) } #[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."] #[inline(always)] - #[must_use] pub fn rs485_frm_err(&mut self) -> RS485_FRM_ERR_W { RS485_FRM_ERR_W::new(self, 16) } #[doc = "Bit 17 - This interrupt raw bit turns to high level when detects a clash between transmitter and receiver in rs485 mode."] #[inline(always)] - #[must_use] pub fn rs485_clash(&mut self) -> RS485_CLASH_W { RS485_CLASH_W::new(self, 17) } #[doc = "Bit 18 - This interrupt raw bit turns to high level when receiver detects the configured at_cmd char."] #[inline(always)] - #[must_use] pub fn at_cmd_char_det(&mut self) -> AT_CMD_CHAR_DET_W { AT_CMD_CHAR_DET_W::new(self, 18) } #[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."] #[inline(always)] - #[must_use] pub fn wakeup(&mut self) -> WAKEUP_W { WAKEUP_W::new(self, 19) } diff --git a/esp32c3/src/uart0/mem_conf.rs b/esp32c3/src/uart0/mem_conf.rs index fc1b7fd3d7..ed09db1167 100644 --- a/esp32c3/src/uart0/mem_conf.rs +++ b/esp32c3/src/uart0/mem_conf.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 1:3 - This register is used to configure the amount of mem allocated for receive-FIFO. The default number is 128 bytes."] #[inline(always)] - #[must_use] pub fn rx_size(&mut self) -> RX_SIZE_W { RX_SIZE_W::new(self, 1) } #[doc = "Bits 4:6 - This register is used to configure the amount of mem allocated for transmit-FIFO. The default number is 128 bytes."] #[inline(always)] - #[must_use] pub fn tx_size(&mut self) -> TX_SIZE_W { TX_SIZE_W::new(self, 4) } #[doc = "Bits 7:15 - This register is used to configure the maximum amount of data that can be received when hardware flow control works."] #[inline(always)] - #[must_use] pub fn rx_flow_thrhd(&mut self) -> RX_FLOW_THRHD_W { RX_FLOW_THRHD_W::new(self, 7) } #[doc = "Bits 16:25 - This register is used to configure the threshold time that receiver takes to receive one byte. The rxfifo_tout_int interrupt will be trigger when the receiver takes more time to receive one byte with rx_tout_en set to 1."] #[inline(always)] - #[must_use] pub fn rx_tout_thrhd(&mut self) -> RX_TOUT_THRHD_W { RX_TOUT_THRHD_W::new(self, 16) } #[doc = "Bit 26 - Set this bit to force power down UART memory."] #[inline(always)] - #[must_use] pub fn mem_force_pd(&mut self) -> MEM_FORCE_PD_W { MEM_FORCE_PD_W::new(self, 26) } #[doc = "Bit 27 - Set this bit to force power up UART memory."] #[inline(always)] - #[must_use] pub fn mem_force_pu(&mut self) -> MEM_FORCE_PU_W { MEM_FORCE_PU_W::new(self, 27) } diff --git a/esp32c3/src/uart0/rs485_conf.rs b/esp32c3/src/uart0/rs485_conf.rs index 5ee32256ba..4e52a1709a 100644 --- a/esp32c3/src/uart0/rs485_conf.rs +++ b/esp32c3/src/uart0/rs485_conf.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to choose the rs485 mode."] #[inline(always)] - #[must_use] pub fn rs485_en(&mut self) -> RS485_EN_W { RS485_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to delay the stop bit by 1 bit."] #[inline(always)] - #[must_use] pub fn dl0_en(&mut self) -> DL0_EN_W { DL0_EN_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to delay the stop bit by 1 bit."] #[inline(always)] - #[must_use] pub fn dl1_en(&mut self) -> DL1_EN_W { DL1_EN_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to enable receiver could receive data when the transmitter is transmitting data in rs485 mode."] #[inline(always)] - #[must_use] pub fn rs485tx_rx_en(&mut self) -> RS485TX_RX_EN_W { RS485TX_RX_EN_W::new(self, 3) } #[doc = "Bit 4 - 1'h1: enable rs485 transmitter to send data when rs485 receiver line is busy."] #[inline(always)] - #[must_use] pub fn rs485rxby_tx_en(&mut self) -> RS485RXBY_TX_EN_W { RS485RXBY_TX_EN_W::new(self, 4) } #[doc = "Bit 5 - This register is used to delay the receiver's internal data signal."] #[inline(always)] - #[must_use] pub fn rs485_rx_dly_num(&mut self) -> RS485_RX_DLY_NUM_W { RS485_RX_DLY_NUM_W::new(self, 5) } #[doc = "Bits 6:9 - This register is used to delay the transmitter's internal data signal."] #[inline(always)] - #[must_use] pub fn rs485_tx_dly_num(&mut self) -> RS485_TX_DLY_NUM_W { RS485_TX_DLY_NUM_W::new(self, 6) } diff --git a/esp32c3/src/uart0/rx_filt.rs b/esp32c3/src/uart0/rx_filt.rs index bbffbeca7c..dd54720849 100644 --- a/esp32c3/src/uart0/rx_filt.rs +++ b/esp32c3/src/uart0/rx_filt.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - when input pulse width is lower than this value, the pulse is ignored."] #[inline(always)] - #[must_use] pub fn glitch_filt(&mut self) -> GLITCH_FILT_W { GLITCH_FILT_W::new(self, 0) } #[doc = "Bit 8 - Set this bit to enable Rx signal filter."] #[inline(always)] - #[must_use] pub fn glitch_filt_en(&mut self) -> GLITCH_FILT_EN_W { GLITCH_FILT_EN_W::new(self, 8) } diff --git a/esp32c3/src/uart0/sleep_conf.rs b/esp32c3/src/uart0/sleep_conf.rs index 768d10da66..eda255981a 100644 --- a/esp32c3/src/uart0/sleep_conf.rs +++ b/esp32c3/src/uart0/sleep_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - The uart is activated from light sleeping mode when the input rxd edge changes more times than this register value."] #[inline(always)] - #[must_use] pub fn active_threshold(&mut self) -> ACTIVE_THRESHOLD_W { ACTIVE_THRESHOLD_W::new(self, 0) } diff --git a/esp32c3/src/uart0/swfc_conf0.rs b/esp32c3/src/uart0/swfc_conf0.rs index fd80f24ff6..08b28b0d28 100644 --- a/esp32c3/src/uart0/swfc_conf0.rs +++ b/esp32c3/src/uart0/swfc_conf0.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - When the data amount in Rx-FIFO is more than this register value with uart_sw_flow_con_en set to 1, it will send a Xoff char."] #[inline(always)] - #[must_use] pub fn xoff_threshold(&mut self) -> XOFF_THRESHOLD_W { XOFF_THRESHOLD_W::new(self, 0) } #[doc = "Bits 9:16 - This register stores the Xoff flow control char."] #[inline(always)] - #[must_use] pub fn xoff_char(&mut self) -> XOFF_CHAR_W { XOFF_CHAR_W::new(self, 9) } diff --git a/esp32c3/src/uart0/swfc_conf1.rs b/esp32c3/src/uart0/swfc_conf1.rs index 184f9a96b2..f67eb86f9f 100644 --- a/esp32c3/src/uart0/swfc_conf1.rs +++ b/esp32c3/src/uart0/swfc_conf1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - When the data amount in Rx-FIFO is less than this register value with uart_sw_flow_con_en set to 1, it will send a Xon char."] #[inline(always)] - #[must_use] pub fn xon_threshold(&mut self) -> XON_THRESHOLD_W { XON_THRESHOLD_W::new(self, 0) } #[doc = "Bits 9:16 - This register stores the Xon flow control char."] #[inline(always)] - #[must_use] pub fn xon_char(&mut self) -> XON_CHAR_W { XON_CHAR_W::new(self, 9) } diff --git a/esp32c3/src/uart0/txbrk_conf.rs b/esp32c3/src/uart0/txbrk_conf.rs index 3fd0ce2689..7772196638 100644 --- a/esp32c3/src/uart0/txbrk_conf.rs +++ b/esp32c3/src/uart0/txbrk_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register is used to configure the number of 0 to be sent after the process of sending data is done. It is active when txd_brk is set to 1."] #[inline(always)] - #[must_use] pub fn tx_brk_num(&mut self) -> TX_BRK_NUM_W { TX_BRK_NUM_W::new(self, 0) } diff --git a/esp32c3/src/uhci0/ack_num.rs b/esp32c3/src/uhci0/ack_num.rs index 2406389d93..d49eb9b091 100644 --- a/esp32c3/src/uhci0/ack_num.rs +++ b/esp32c3/src/uhci0/ack_num.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - a"] #[inline(always)] - #[must_use] pub fn ack_num(&mut self) -> ACK_NUM_W { ACK_NUM_W::new(self, 0) } #[doc = "Bit 3 - a"] #[inline(always)] - #[must_use] pub fn load(&mut self) -> LOAD_W { LOAD_W::new(self, 3) } diff --git a/esp32c3/src/uhci0/conf0.rs b/esp32c3/src/uhci0/conf0.rs index 1cf9dfd619..c738576b1b 100644 --- a/esp32c3/src/uhci0/conf0.rs +++ b/esp32c3/src/uhci0/conf0.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Write 1, then write 0 to this bit to reset decode state machine."] #[inline(always)] - #[must_use] pub fn tx_rst(&mut self) -> TX_RST_W { TX_RST_W::new(self, 0) } #[doc = "Bit 1 - Write 1, then write 0 to this bit to reset encode state machine."] #[inline(always)] - #[must_use] pub fn rx_rst(&mut self) -> RX_RST_W { RX_RST_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to link up HCI and UART0."] #[inline(always)] - #[must_use] pub fn uart0_ce(&mut self) -> UART0_CE_W { UART0_CE_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to link up HCI and UART1."] #[inline(always)] - #[must_use] pub fn uart1_ce(&mut self) -> UART1_CE_W { UART1_CE_W::new(self, 3) } #[doc = "Bit 5 - Set this bit to separate the data frame using a special char."] #[inline(always)] - #[must_use] pub fn seper_en(&mut self) -> SEPER_EN_W { SEPER_EN_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to encode the data packet with a formatting header."] #[inline(always)] - #[must_use] pub fn head_en(&mut self) -> HEAD_EN_W { HEAD_EN_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to enable UHCI to receive the 16 bit CRC."] #[inline(always)] - #[must_use] pub fn crc_rec_en(&mut self) -> CRC_REC_EN_W { CRC_REC_EN_W::new(self, 7) } #[doc = "Bit 8 - If this bit is set to 1, UHCI will end the payload receiving process when UART has been in idle state."] #[inline(always)] - #[must_use] pub fn uart_idle_eof_en(&mut self) -> UART_IDLE_EOF_EN_W { UART_IDLE_EOF_EN_W::new(self, 8) } #[doc = "Bit 9 - If this bit is set to 1, UHCI decoder receiving payload data is end when the receiving byte count has reached the specified value. The value is payload length indicated by UHCI packet header when UHCI_HEAD_EN is 1 or the value is configuration value when UHCI_HEAD_EN is 0. If this bit is set to 0, UHCI decoder receiving payload data is end when 0xc0 is received."] #[inline(always)] - #[must_use] pub fn len_eof_en(&mut self) -> LEN_EOF_EN_W { LEN_EOF_EN_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to enable data integrity checking by appending a 16 bit CCITT-CRC to end of the payload."] #[inline(always)] - #[must_use] pub fn encode_crc_en(&mut self) -> ENCODE_CRC_EN_W { ENCODE_CRC_EN_W::new(self, 10) } #[doc = "Bit 11 - 1'b1: Force clock on for register. 1'b0: Support clock only when application writes registers."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 11) } #[doc = "Bit 12 - If this bit is set to 1, UHCI will end payload receive process when NULL frame is received by UART."] #[inline(always)] - #[must_use] pub fn uart_rx_brk_eof_en(&mut self) -> UART_RX_BRK_EOF_EN_W { UART_RX_BRK_EOF_EN_W::new(self, 12) } diff --git a/esp32c3/src/uhci0/conf1.rs b/esp32c3/src/uhci0/conf1.rs index 7c33569f03..be7f8a5762 100644 --- a/esp32c3/src/uhci0/conf1.rs +++ b/esp32c3/src/uhci0/conf1.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - a"] #[inline(always)] - #[must_use] pub fn check_sum_en(&mut self) -> CHECK_SUM_EN_W { CHECK_SUM_EN_W::new(self, 0) } #[doc = "Bit 1 - a"] #[inline(always)] - #[must_use] pub fn check_seq_en(&mut self) -> CHECK_SEQ_EN_W { CHECK_SEQ_EN_W::new(self, 1) } #[doc = "Bit 2 - a"] #[inline(always)] - #[must_use] pub fn crc_disable(&mut self) -> CRC_DISABLE_W { CRC_DISABLE_W::new(self, 2) } #[doc = "Bit 3 - a"] #[inline(always)] - #[must_use] pub fn save_head(&mut self) -> SAVE_HEAD_W { SAVE_HEAD_W::new(self, 3) } #[doc = "Bit 4 - a"] #[inline(always)] - #[must_use] pub fn tx_check_sum_re(&mut self) -> TX_CHECK_SUM_RE_W { TX_CHECK_SUM_RE_W::new(self, 4) } #[doc = "Bit 5 - a"] #[inline(always)] - #[must_use] pub fn tx_ack_num_re(&mut self) -> TX_ACK_NUM_RE_W { TX_ACK_NUM_RE_W::new(self, 5) } #[doc = "Bit 7 - a"] #[inline(always)] - #[must_use] pub fn wait_sw_start(&mut self) -> WAIT_SW_START_W { WAIT_SW_START_W::new(self, 7) } #[doc = "Bit 8 - a"] #[inline(always)] - #[must_use] pub fn sw_start(&mut self) -> SW_START_W { SW_START_W::new(self, 8) } diff --git a/esp32c3/src/uhci0/date.rs b/esp32c3/src/uhci0/date.rs index a14f827801..1a83eb55fd 100644 --- a/esp32c3/src/uhci0/date.rs +++ b/esp32c3/src/uhci0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - a"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c3/src/uhci0/esc_conf.rs b/esp32c3/src/uhci0/esc_conf.rs index 7e46dec1ed..a108a38926 100644 --- a/esp32c3/src/uhci0/esc_conf.rs +++ b/esp32c3/src/uhci0/esc_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - a"] #[inline(always)] - #[must_use] pub fn seper_char(&mut self) -> SEPER_CHAR_W { SEPER_CHAR_W::new(self, 0) } #[doc = "Bits 8:15 - a"] #[inline(always)] - #[must_use] pub fn seper_esc_char0(&mut self) -> SEPER_ESC_CHAR0_W { SEPER_ESC_CHAR0_W::new(self, 8) } #[doc = "Bits 16:23 - a"] #[inline(always)] - #[must_use] pub fn seper_esc_char1(&mut self) -> SEPER_ESC_CHAR1_W { SEPER_ESC_CHAR1_W::new(self, 16) } diff --git a/esp32c3/src/uhci0/escape_conf.rs b/esp32c3/src/uhci0/escape_conf.rs index 5b890f617a..d3876fb9b5 100644 --- a/esp32c3/src/uhci0/escape_conf.rs +++ b/esp32c3/src/uhci0/escape_conf.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - a"] #[inline(always)] - #[must_use] pub fn tx_c0_esc_en(&mut self) -> TX_C0_ESC_EN_W { TX_C0_ESC_EN_W::new(self, 0) } #[doc = "Bit 1 - a"] #[inline(always)] - #[must_use] pub fn tx_db_esc_en(&mut self) -> TX_DB_ESC_EN_W { TX_DB_ESC_EN_W::new(self, 1) } #[doc = "Bit 2 - a"] #[inline(always)] - #[must_use] pub fn tx_11_esc_en(&mut self) -> TX_11_ESC_EN_W { TX_11_ESC_EN_W::new(self, 2) } #[doc = "Bit 3 - a"] #[inline(always)] - #[must_use] pub fn tx_13_esc_en(&mut self) -> TX_13_ESC_EN_W { TX_13_ESC_EN_W::new(self, 3) } #[doc = "Bit 4 - a"] #[inline(always)] - #[must_use] pub fn rx_c0_esc_en(&mut self) -> RX_C0_ESC_EN_W { RX_C0_ESC_EN_W::new(self, 4) } #[doc = "Bit 5 - a"] #[inline(always)] - #[must_use] pub fn rx_db_esc_en(&mut self) -> RX_DB_ESC_EN_W { RX_DB_ESC_EN_W::new(self, 5) } #[doc = "Bit 6 - a"] #[inline(always)] - #[must_use] pub fn rx_11_esc_en(&mut self) -> RX_11_ESC_EN_W { RX_11_ESC_EN_W::new(self, 6) } #[doc = "Bit 7 - a"] #[inline(always)] - #[must_use] pub fn rx_13_esc_en(&mut self) -> RX_13_ESC_EN_W { RX_13_ESC_EN_W::new(self, 7) } diff --git a/esp32c3/src/uhci0/hung_conf.rs b/esp32c3/src/uhci0/hung_conf.rs index fbb7a486f3..c61aced322 100644 --- a/esp32c3/src/uhci0/hung_conf.rs +++ b/esp32c3/src/uhci0/hung_conf.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - a"] #[inline(always)] - #[must_use] pub fn txfifo_timeout(&mut self) -> TXFIFO_TIMEOUT_W { TXFIFO_TIMEOUT_W::new(self, 0) } #[doc = "Bits 8:10 - a"] #[inline(always)] - #[must_use] pub fn txfifo_timeout_shift(&mut self) -> TXFIFO_TIMEOUT_SHIFT_W { TXFIFO_TIMEOUT_SHIFT_W::new(self, 8) } #[doc = "Bit 11 - a"] #[inline(always)] - #[must_use] pub fn txfifo_timeout_ena(&mut self) -> TXFIFO_TIMEOUT_ENA_W { TXFIFO_TIMEOUT_ENA_W::new(self, 11) } #[doc = "Bits 12:19 - a"] #[inline(always)] - #[must_use] pub fn rxfifo_timeout(&mut self) -> RXFIFO_TIMEOUT_W { RXFIFO_TIMEOUT_W::new(self, 12) } #[doc = "Bits 20:22 - a"] #[inline(always)] - #[must_use] pub fn rxfifo_timeout_shift(&mut self) -> RXFIFO_TIMEOUT_SHIFT_W { RXFIFO_TIMEOUT_SHIFT_W::new(self, 20) } #[doc = "Bit 23 - a"] #[inline(always)] - #[must_use] pub fn rxfifo_timeout_ena(&mut self) -> RXFIFO_TIMEOUT_ENA_W { RXFIFO_TIMEOUT_ENA_W::new(self, 23) } diff --git a/esp32c3/src/uhci0/int_clr.rs b/esp32c3/src/uhci0/int_clr.rs index a8616216b4..062cd77d81 100644 --- a/esp32c3/src/uhci0/int_clr.rs +++ b/esp32c3/src/uhci0/int_clr.rs @@ -27,55 +27,46 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - a"] #[inline(always)] - #[must_use] pub fn rx_start(&mut self) -> RX_START_W { RX_START_W::new(self, 0) } #[doc = "Bit 1 - a"] #[inline(always)] - #[must_use] pub fn tx_start(&mut self) -> TX_START_W { TX_START_W::new(self, 1) } #[doc = "Bit 2 - a"] #[inline(always)] - #[must_use] pub fn rx_hung(&mut self) -> RX_HUNG_W { RX_HUNG_W::new(self, 2) } #[doc = "Bit 3 - a"] #[inline(always)] - #[must_use] pub fn tx_hung(&mut self) -> TX_HUNG_W { TX_HUNG_W::new(self, 3) } #[doc = "Bit 4 - a"] #[inline(always)] - #[must_use] pub fn send_s_reg_q(&mut self) -> SEND_S_REG_Q_W { SEND_S_REG_Q_W::new(self, 4) } #[doc = "Bit 5 - a"] #[inline(always)] - #[must_use] pub fn send_a_reg_q(&mut self) -> SEND_A_REG_Q_W { SEND_A_REG_Q_W::new(self, 5) } #[doc = "Bit 6 - a"] #[inline(always)] - #[must_use] pub fn outlink_eof_err(&mut self) -> OUTLINK_EOF_ERR_W { OUTLINK_EOF_ERR_W::new(self, 6) } #[doc = "Bit 7 - a"] #[inline(always)] - #[must_use] pub fn app_ctrl0(&mut self) -> APP_CTRL0_W { APP_CTRL0_W::new(self, 7) } #[doc = "Bit 8 - a"] #[inline(always)] - #[must_use] pub fn app_ctrl1(&mut self) -> APP_CTRL1_W { APP_CTRL1_W::new(self, 8) } diff --git a/esp32c3/src/uhci0/int_ena.rs b/esp32c3/src/uhci0/int_ena.rs index aaa4ad3404..5c4709b715 100644 --- a/esp32c3/src/uhci0/int_ena.rs +++ b/esp32c3/src/uhci0/int_ena.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - a"] #[inline(always)] - #[must_use] pub fn rx_start(&mut self) -> RX_START_W { RX_START_W::new(self, 0) } #[doc = "Bit 1 - a"] #[inline(always)] - #[must_use] pub fn tx_start(&mut self) -> TX_START_W { TX_START_W::new(self, 1) } #[doc = "Bit 2 - a"] #[inline(always)] - #[must_use] pub fn rx_hung(&mut self) -> RX_HUNG_W { RX_HUNG_W::new(self, 2) } #[doc = "Bit 3 - a"] #[inline(always)] - #[must_use] pub fn tx_hung(&mut self) -> TX_HUNG_W { TX_HUNG_W::new(self, 3) } #[doc = "Bit 4 - a"] #[inline(always)] - #[must_use] pub fn send_s_reg_q(&mut self) -> SEND_S_REG_Q_W { SEND_S_REG_Q_W::new(self, 4) } #[doc = "Bit 5 - a"] #[inline(always)] - #[must_use] pub fn send_a_reg_q(&mut self) -> SEND_A_REG_Q_W { SEND_A_REG_Q_W::new(self, 5) } #[doc = "Bit 6 - a"] #[inline(always)] - #[must_use] pub fn outlink_eof_err(&mut self) -> OUTLINK_EOF_ERR_W { OUTLINK_EOF_ERR_W::new(self, 6) } #[doc = "Bit 7 - a"] #[inline(always)] - #[must_use] pub fn app_ctrl0(&mut self) -> APP_CTRL0_W { APP_CTRL0_W::new(self, 7) } #[doc = "Bit 8 - a"] #[inline(always)] - #[must_use] pub fn app_ctrl1(&mut self) -> APP_CTRL1_W { APP_CTRL1_W::new(self, 8) } diff --git a/esp32c3/src/uhci0/int_raw.rs b/esp32c3/src/uhci0/int_raw.rs index 0cdac1641d..ecbaf1eee4 100644 --- a/esp32c3/src/uhci0/int_raw.rs +++ b/esp32c3/src/uhci0/int_raw.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - a"] #[inline(always)] - #[must_use] pub fn rx_start(&mut self) -> RX_START_W { RX_START_W::new(self, 0) } #[doc = "Bit 1 - a"] #[inline(always)] - #[must_use] pub fn tx_start(&mut self) -> TX_START_W { TX_START_W::new(self, 1) } #[doc = "Bit 2 - a"] #[inline(always)] - #[must_use] pub fn rx_hung(&mut self) -> RX_HUNG_W { RX_HUNG_W::new(self, 2) } #[doc = "Bit 3 - a"] #[inline(always)] - #[must_use] pub fn tx_hung(&mut self) -> TX_HUNG_W { TX_HUNG_W::new(self, 3) } #[doc = "Bit 4 - a"] #[inline(always)] - #[must_use] pub fn send_s_reg_q(&mut self) -> SEND_S_REG_Q_W { SEND_S_REG_Q_W::new(self, 4) } #[doc = "Bit 5 - a"] #[inline(always)] - #[must_use] pub fn send_a_reg_q(&mut self) -> SEND_A_REG_Q_W { SEND_A_REG_Q_W::new(self, 5) } #[doc = "Bit 6 - This is the interrupt raw bit. Triggered when there are some errors in EOF in the"] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 6) } #[doc = "Bit 7 - Soft control int raw bit."] #[inline(always)] - #[must_use] pub fn app_ctrl0(&mut self) -> APP_CTRL0_W { APP_CTRL0_W::new(self, 7) } #[doc = "Bit 8 - Soft control int raw bit."] #[inline(always)] - #[must_use] pub fn app_ctrl1(&mut self) -> APP_CTRL1_W { APP_CTRL1_W::new(self, 8) } diff --git a/esp32c3/src/uhci0/pkt_thres.rs b/esp32c3/src/uhci0/pkt_thres.rs index 2d21615b5c..a9502c9dd7 100644 --- a/esp32c3/src/uhci0/pkt_thres.rs +++ b/esp32c3/src/uhci0/pkt_thres.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:12 - a"] #[inline(always)] - #[must_use] pub fn pkt_thrs(&mut self) -> PKT_THRS_W { PKT_THRS_W::new(self, 0) } diff --git a/esp32c3/src/uhci0/quick_sent.rs b/esp32c3/src/uhci0/quick_sent.rs index 9e9c953a7a..b23132a205 100644 --- a/esp32c3/src/uhci0/quick_sent.rs +++ b/esp32c3/src/uhci0/quick_sent.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - a"] #[inline(always)] - #[must_use] pub fn single_send_num(&mut self) -> SINGLE_SEND_NUM_W { SINGLE_SEND_NUM_W::new(self, 0) } #[doc = "Bit 3 - a"] #[inline(always)] - #[must_use] pub fn single_send_en(&mut self) -> SINGLE_SEND_EN_W { SINGLE_SEND_EN_W::new(self, 3) } #[doc = "Bits 4:6 - a"] #[inline(always)] - #[must_use] pub fn always_send_num(&mut self) -> ALWAYS_SEND_NUM_W { ALWAYS_SEND_NUM_W::new(self, 4) } #[doc = "Bit 7 - a"] #[inline(always)] - #[must_use] pub fn always_send_en(&mut self) -> ALWAYS_SEND_EN_W { ALWAYS_SEND_EN_W::new(self, 7) } diff --git a/esp32c3/src/uhci0/reg_q/word0.rs b/esp32c3/src/uhci0/reg_q/word0.rs index 30aee66391..aba9e50c07 100644 --- a/esp32c3/src/uhci0/reg_q/word0.rs +++ b/esp32c3/src/uhci0/reg_q/word0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - a"] #[inline(always)] - #[must_use] pub fn send_word(&mut self) -> SEND_WORD_W { SEND_WORD_W::new(self, 0) } diff --git a/esp32c3/src/uhci0/reg_q/word1.rs b/esp32c3/src/uhci0/reg_q/word1.rs index 585b531172..f8b7d5e062 100644 --- a/esp32c3/src/uhci0/reg_q/word1.rs +++ b/esp32c3/src/uhci0/reg_q/word1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - a"] #[inline(always)] - #[must_use] pub fn send_word(&mut self) -> SEND_WORD_W { SEND_WORD_W::new(self, 0) } diff --git a/esp32c3/src/usb_device/conf0.rs b/esp32c3/src/usb_device/conf0.rs index f09c851d41..5d7f7842ae 100644 --- a/esp32c3/src/usb_device/conf0.rs +++ b/esp32c3/src/usb_device/conf0.rs @@ -144,79 +144,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Select internal/external PHY"] #[inline(always)] - #[must_use] pub fn phy_sel(&mut self) -> PHY_SEL_W { PHY_SEL_W::new(self, 0) } #[doc = "Bit 1 - Enable software control USB D+ D- exchange"] #[inline(always)] - #[must_use] pub fn exchg_pins_override(&mut self) -> EXCHG_PINS_OVERRIDE_W { EXCHG_PINS_OVERRIDE_W::new(self, 1) } #[doc = "Bit 2 - USB D+ D- exchange"] #[inline(always)] - #[must_use] pub fn exchg_pins(&mut self) -> EXCHG_PINS_W { EXCHG_PINS_W::new(self, 2) } #[doc = "Bits 3:4 - Control single-end input high threshold,1.76V to 2V, step 80mV"] #[inline(always)] - #[must_use] pub fn vrefh(&mut self) -> VREFH_W { VREFH_W::new(self, 3) } #[doc = "Bits 5:6 - Control single-end input low threshold,0.8V to 1.04V, step 80mV"] #[inline(always)] - #[must_use] pub fn vrefl(&mut self) -> VREFL_W { VREFL_W::new(self, 5) } #[doc = "Bit 7 - Enable software control input threshold"] #[inline(always)] - #[must_use] pub fn vref_override(&mut self) -> VREF_OVERRIDE_W { VREF_OVERRIDE_W::new(self, 7) } #[doc = "Bit 8 - Enable software control USB D+ D- pullup pulldown"] #[inline(always)] - #[must_use] pub fn pad_pull_override(&mut self) -> PAD_PULL_OVERRIDE_W { PAD_PULL_OVERRIDE_W::new(self, 8) } #[doc = "Bit 9 - Control USB D+ pull up."] #[inline(always)] - #[must_use] pub fn dp_pullup(&mut self) -> DP_PULLUP_W { DP_PULLUP_W::new(self, 9) } #[doc = "Bit 10 - Control USB D+ pull down."] #[inline(always)] - #[must_use] pub fn dp_pulldown(&mut self) -> DP_PULLDOWN_W { DP_PULLDOWN_W::new(self, 10) } #[doc = "Bit 11 - Control USB D- pull up."] #[inline(always)] - #[must_use] pub fn dm_pullup(&mut self) -> DM_PULLUP_W { DM_PULLUP_W::new(self, 11) } #[doc = "Bit 12 - Control USB D- pull down."] #[inline(always)] - #[must_use] pub fn dm_pulldown(&mut self) -> DM_PULLDOWN_W { DM_PULLDOWN_W::new(self, 12) } #[doc = "Bit 13 - Control pull up value."] #[inline(always)] - #[must_use] pub fn pullup_value(&mut self) -> PULLUP_VALUE_W { PULLUP_VALUE_W::new(self, 13) } #[doc = "Bit 14 - Enable USB pad function."] #[inline(always)] - #[must_use] pub fn usb_pad_enable(&mut self) -> USB_PAD_ENABLE_W { USB_PAD_ENABLE_W::new(self, 14) } diff --git a/esp32c3/src/usb_device/date.rs b/esp32c3/src/usb_device/date.rs index 253931d945..dd44459c2c 100644 --- a/esp32c3/src/usb_device/date.rs +++ b/esp32c3/src/usb_device/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - register version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c3/src/usb_device/ep1.rs b/esp32c3/src/usb_device/ep1.rs index bb86cd04f2..fd7eb49b8f 100644 --- a/esp32c3/src/usb_device/ep1.rs +++ b/esp32c3/src/usb_device/ep1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Write and read byte data to/from UART Tx/Rx FIFO through this field. When USB_DEVICE_SERIAL_IN_EMPTY_INT is set, then user can write data (up to 64 bytes) into UART Tx FIFO. When USB_DEVICE_SERIAL_OUT_RECV_PKT_INT is set, user can check USB_DEVICE_OUT_EP1_WR_ADDR USB_DEVICE_OUT_EP0_RD_ADDR to know how many data is received, then read data from UART Rx FIFO."] #[inline(always)] - #[must_use] pub fn rdwr_byte(&mut self) -> RDWR_BYTE_W { RDWR_BYTE_W::new(self, 0) } diff --git a/esp32c3/src/usb_device/ep1_conf.rs b/esp32c3/src/usb_device/ep1_conf.rs index 3a04cf526f..dc5cd42266 100644 --- a/esp32c3/src/usb_device/ep1_conf.rs +++ b/esp32c3/src/usb_device/ep1_conf.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to indicate writing byte data to UART Tx FIFO is done."] #[inline(always)] - #[must_use] pub fn wr_done(&mut self) -> WR_DONE_W { WR_DONE_W::new(self, 0) } diff --git a/esp32c3/src/usb_device/int_clr.rs b/esp32c3/src/usb_device/int_clr.rs index 6539a5770d..ddfa5f12a1 100644 --- a/esp32c3/src/usb_device/int_clr.rs +++ b/esp32c3/src/usb_device/int_clr.rs @@ -33,73 +33,61 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the USB_DEVICE_JTAG_IN_FLUSH_INT interrupt."] #[inline(always)] - #[must_use] pub fn jtag_in_flush(&mut self) -> JTAG_IN_FLUSH_W { JTAG_IN_FLUSH_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the USB_DEVICE_JTAG_SOF_INT interrupt."] #[inline(always)] - #[must_use] pub fn sof(&mut self) -> SOF_W { SOF_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the USB_DEVICE_SERIAL_OUT_RECV_PKT_INT interrupt."] #[inline(always)] - #[must_use] pub fn serial_out_recv_pkt(&mut self) -> SERIAL_OUT_RECV_PKT_W { SERIAL_OUT_RECV_PKT_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the USB_DEVICE_SERIAL_IN_EMPTY_INT interrupt."] #[inline(always)] - #[must_use] pub fn serial_in_empty(&mut self) -> SERIAL_IN_EMPTY_W { SERIAL_IN_EMPTY_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear the USB_DEVICE_PID_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn pid_err(&mut self) -> PID_ERR_W { PID_ERR_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the USB_DEVICE_CRC5_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn crc5_err(&mut self) -> CRC5_ERR_W { CRC5_ERR_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the USB_DEVICE_CRC16_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn crc16_err(&mut self) -> CRC16_ERR_W { CRC16_ERR_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the USB_DEVICE_STUFF_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn stuff_err(&mut self) -> STUFF_ERR_W { STUFF_ERR_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the USB_DEVICE_IN_TOKEN_IN_EP1_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_token_rec_in_ep1(&mut self) -> IN_TOKEN_REC_IN_EP1_W { IN_TOKEN_REC_IN_EP1_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear the USB_DEVICE_USB_BUS_RESET_INT interrupt."] #[inline(always)] - #[must_use] pub fn usb_bus_reset(&mut self) -> USB_BUS_RESET_W { USB_BUS_RESET_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to clear the USB_DEVICE_OUT_EP1_ZERO_PAYLOAD_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_ep1_zero_payload(&mut self) -> OUT_EP1_ZERO_PAYLOAD_W { OUT_EP1_ZERO_PAYLOAD_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear the USB_DEVICE_OUT_EP2_ZERO_PAYLOAD_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_ep2_zero_payload(&mut self) -> OUT_EP2_ZERO_PAYLOAD_W { OUT_EP2_ZERO_PAYLOAD_W::new(self, 11) } diff --git a/esp32c3/src/usb_device/int_ena.rs b/esp32c3/src/usb_device/int_ena.rs index 5eb86815f0..1c40a3589f 100644 --- a/esp32c3/src/usb_device/int_ena.rs +++ b/esp32c3/src/usb_device/int_ena.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for the USB_DEVICE_JTAG_IN_FLUSH_INT interrupt."] #[inline(always)] - #[must_use] pub fn jtag_in_flush(&mut self) -> JTAG_IN_FLUSH_W { JTAG_IN_FLUSH_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the USB_DEVICE_SOF_INT interrupt."] #[inline(always)] - #[must_use] pub fn sof(&mut self) -> SOF_W { SOF_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the USB_DEVICE_SERIAL_OUT_RECV_PKT_INT interrupt."] #[inline(always)] - #[must_use] pub fn serial_out_recv_pkt(&mut self) -> SERIAL_OUT_RECV_PKT_W { SERIAL_OUT_RECV_PKT_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the USB_DEVICE_SERIAL_IN_EMPTY_INT interrupt."] #[inline(always)] - #[must_use] pub fn serial_in_empty(&mut self) -> SERIAL_IN_EMPTY_W { SERIAL_IN_EMPTY_W::new(self, 3) } #[doc = "Bit 4 - The interrupt enable bit for the USB_DEVICE_PID_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn pid_err(&mut self) -> PID_ERR_W { PID_ERR_W::new(self, 4) } #[doc = "Bit 5 - The interrupt enable bit for the USB_DEVICE_CRC5_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn crc5_err(&mut self) -> CRC5_ERR_W { CRC5_ERR_W::new(self, 5) } #[doc = "Bit 6 - The interrupt enable bit for the USB_DEVICE_CRC16_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn crc16_err(&mut self) -> CRC16_ERR_W { CRC16_ERR_W::new(self, 6) } #[doc = "Bit 7 - The interrupt enable bit for the USB_DEVICE_STUFF_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn stuff_err(&mut self) -> STUFF_ERR_W { STUFF_ERR_W::new(self, 7) } #[doc = "Bit 8 - The interrupt enable bit for the USB_DEVICE_IN_TOKEN_REC_IN_EP1_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_token_rec_in_ep1(&mut self) -> IN_TOKEN_REC_IN_EP1_W { IN_TOKEN_REC_IN_EP1_W::new(self, 8) } #[doc = "Bit 9 - The interrupt enable bit for the USB_DEVICE_USB_BUS_RESET_INT interrupt."] #[inline(always)] - #[must_use] pub fn usb_bus_reset(&mut self) -> USB_BUS_RESET_W { USB_BUS_RESET_W::new(self, 9) } #[doc = "Bit 10 - The interrupt enable bit for the USB_DEVICE_OUT_EP1_ZERO_PAYLOAD_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_ep1_zero_payload(&mut self) -> OUT_EP1_ZERO_PAYLOAD_W { OUT_EP1_ZERO_PAYLOAD_W::new(self, 10) } #[doc = "Bit 11 - The interrupt enable bit for the USB_DEVICE_OUT_EP2_ZERO_PAYLOAD_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_ep2_zero_payload(&mut self) -> OUT_EP2_ZERO_PAYLOAD_W { OUT_EP2_ZERO_PAYLOAD_W::new(self, 11) } diff --git a/esp32c3/src/usb_device/int_raw.rs b/esp32c3/src/usb_device/int_raw.rs index 1d88e313c8..88163240ff 100644 --- a/esp32c3/src/usb_device/int_raw.rs +++ b/esp32c3/src/usb_device/int_raw.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw interrupt bit turns to high level when flush cmd is received for IN endpoint 2 of JTAG."] #[inline(always)] - #[must_use] pub fn jtag_in_flush(&mut self) -> JTAG_IN_FLUSH_W { JTAG_IN_FLUSH_W::new(self, 0) } #[doc = "Bit 1 - The raw interrupt bit turns to high level when SOF frame is received."] #[inline(always)] - #[must_use] pub fn sof(&mut self) -> SOF_W { SOF_W::new(self, 1) } #[doc = "Bit 2 - The raw interrupt bit turns to high level when Serial Port OUT Endpoint received one packet."] #[inline(always)] - #[must_use] pub fn serial_out_recv_pkt(&mut self) -> SERIAL_OUT_RECV_PKT_W { SERIAL_OUT_RECV_PKT_W::new(self, 2) } #[doc = "Bit 3 - The raw interrupt bit turns to high level when Serial Port IN Endpoint is empty."] #[inline(always)] - #[must_use] pub fn serial_in_empty(&mut self) -> SERIAL_IN_EMPTY_W { SERIAL_IN_EMPTY_W::new(self, 3) } #[doc = "Bit 4 - The raw interrupt bit turns to high level when pid error is detected."] #[inline(always)] - #[must_use] pub fn pid_err(&mut self) -> PID_ERR_W { PID_ERR_W::new(self, 4) } #[doc = "Bit 5 - The raw interrupt bit turns to high level when CRC5 error is detected."] #[inline(always)] - #[must_use] pub fn crc5_err(&mut self) -> CRC5_ERR_W { CRC5_ERR_W::new(self, 5) } #[doc = "Bit 6 - The raw interrupt bit turns to high level when CRC16 error is detected."] #[inline(always)] - #[must_use] pub fn crc16_err(&mut self) -> CRC16_ERR_W { CRC16_ERR_W::new(self, 6) } #[doc = "Bit 7 - The raw interrupt bit turns to high level when stuff error is detected."] #[inline(always)] - #[must_use] pub fn stuff_err(&mut self) -> STUFF_ERR_W { STUFF_ERR_W::new(self, 7) } #[doc = "Bit 8 - The raw interrupt bit turns to high level when IN token for IN endpoint 1 is received."] #[inline(always)] - #[must_use] pub fn in_token_rec_in_ep1(&mut self) -> IN_TOKEN_REC_IN_EP1_W { IN_TOKEN_REC_IN_EP1_W::new(self, 8) } #[doc = "Bit 9 - The raw interrupt bit turns to high level when usb bus reset is detected."] #[inline(always)] - #[must_use] pub fn usb_bus_reset(&mut self) -> USB_BUS_RESET_W { USB_BUS_RESET_W::new(self, 9) } #[doc = "Bit 10 - The raw interrupt bit turns to high level when OUT endpoint 1 received packet with zero palyload."] #[inline(always)] - #[must_use] pub fn out_ep1_zero_payload(&mut self) -> OUT_EP1_ZERO_PAYLOAD_W { OUT_EP1_ZERO_PAYLOAD_W::new(self, 10) } #[doc = "Bit 11 - The raw interrupt bit turns to high level when OUT endpoint 2 received packet with zero palyload."] #[inline(always)] - #[must_use] pub fn out_ep2_zero_payload(&mut self) -> OUT_EP2_ZERO_PAYLOAD_W { OUT_EP2_ZERO_PAYLOAD_W::new(self, 11) } diff --git a/esp32c3/src/usb_device/jfifo_st.rs b/esp32c3/src/usb_device/jfifo_st.rs index d165974417..ec703c22b6 100644 --- a/esp32c3/src/usb_device/jfifo_st.rs +++ b/esp32c3/src/usb_device/jfifo_st.rs @@ -82,13 +82,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 8 - Write 1 to reset JTAG in fifo."] #[inline(always)] - #[must_use] pub fn in_fifo_reset(&mut self) -> IN_FIFO_RESET_W { IN_FIFO_RESET_W::new(self, 8) } #[doc = "Bit 9 - Write 1 to reset JTAG out fifo."] #[inline(always)] - #[must_use] pub fn out_fifo_reset(&mut self) -> OUT_FIFO_RESET_W { OUT_FIFO_RESET_W::new(self, 9) } diff --git a/esp32c3/src/usb_device/mem_conf.rs b/esp32c3/src/usb_device/mem_conf.rs index 7a4c2e7179..b73643b1e2 100644 --- a/esp32c3/src/usb_device/mem_conf.rs +++ b/esp32c3/src/usb_device/mem_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: power down usb memory."] #[inline(always)] - #[must_use] pub fn usb_mem_pd(&mut self) -> USB_MEM_PD_W { USB_MEM_PD_W::new(self, 0) } #[doc = "Bit 1 - 1: Force clock on for usb memory."] #[inline(always)] - #[must_use] pub fn usb_mem_clk_en(&mut self) -> USB_MEM_CLK_EN_W { USB_MEM_CLK_EN_W::new(self, 1) } diff --git a/esp32c3/src/usb_device/misc_conf.rs b/esp32c3/src/usb_device/misc_conf.rs index 9f6d558bc6..f340a879df 100644 --- a/esp32c3/src/usb_device/misc_conf.rs +++ b/esp32c3/src/usb_device/misc_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1'h1: Force clock on for register. 1'h0: Support clock only when application writes registers."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32c3/src/usb_device/test.rs b/esp32c3/src/usb_device/test.rs index 3223cbc515..e4ed112b19 100644 --- a/esp32c3/src/usb_device/test.rs +++ b/esp32c3/src/usb_device/test.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Enable test of the USB pad"] #[inline(always)] - #[must_use] pub fn enable(&mut self) -> ENABLE_W { ENABLE_W::new(self, 0) } #[doc = "Bit 1 - USB pad oen in test"] #[inline(always)] - #[must_use] pub fn usb_oe(&mut self) -> USB_OE_W { USB_OE_W::new(self, 1) } #[doc = "Bit 2 - USB D+ tx value in test"] #[inline(always)] - #[must_use] pub fn tx_dp(&mut self) -> TX_DP_W { TX_DP_W::new(self, 2) } #[doc = "Bit 3 - USB D- tx value in test"] #[inline(always)] - #[must_use] pub fn tx_dm(&mut self) -> TX_DM_W { TX_DM_W::new(self, 3) } diff --git a/esp32c3/src/xts_aes/date.rs b/esp32c3/src/xts_aes/date.rs index 84190b32b2..feb91ffcb6 100644 --- a/esp32c3/src/xts_aes/date.rs +++ b/esp32c3/src/xts_aes/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Those bits stores the version information of XTS-AES."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c3/src/xts_aes/destination.rs b/esp32c3/src/xts_aes/destination.rs index 06008d9b1b..3935c6ad3a 100644 --- a/esp32c3/src/xts_aes/destination.rs +++ b/esp32c3/src/xts_aes/destination.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit stores the destination. 0: flash(default). 1: reserved."] #[inline(always)] - #[must_use] pub fn destination(&mut self) -> DESTINATION_W { DESTINATION_W::new(self, 0) } diff --git a/esp32c3/src/xts_aes/destroy.rs b/esp32c3/src/xts_aes/destroy.rs index ebba4f7aea..60f6b0457b 100644 --- a/esp32c3/src/xts_aes/destroy.rs +++ b/esp32c3/src/xts_aes/destroy.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to destroy XTS-AES result."] #[inline(always)] - #[must_use] pub fn destroy(&mut self) -> DESTROY_W { DESTROY_W::new(self, 0) } diff --git a/esp32c3/src/xts_aes/linesize.rs b/esp32c3/src/xts_aes/linesize.rs index e87758d9d9..7bc159d2e4 100644 --- a/esp32c3/src/xts_aes/linesize.rs +++ b/esp32c3/src/xts_aes/linesize.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit stores the line size parameter. 0: 16Byte, 1: 32Byte."] #[inline(always)] - #[must_use] pub fn linesize(&mut self) -> LINESIZE_W { LINESIZE_W::new(self, 0) } diff --git a/esp32c3/src/xts_aes/physical_address.rs b/esp32c3/src/xts_aes/physical_address.rs index d6a6bef744..bc4d461696 100644 --- a/esp32c3/src/xts_aes/physical_address.rs +++ b/esp32c3/src/xts_aes/physical_address.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Those bits stores the physical address. If linesize is 16-byte, the physical address should be aligned of 16 bytes. If linesize is 32-byte, the physical address should be aligned of 32 bytes."] #[inline(always)] - #[must_use] pub fn physical_address(&mut self) -> PHYSICAL_ADDRESS_W { PHYSICAL_ADDRESS_W::new(self, 0) } diff --git a/esp32c3/src/xts_aes/release.rs b/esp32c3/src/xts_aes/release.rs index 7b9f25a36c..2748ecd975 100644 --- a/esp32c3/src/xts_aes/release.rs +++ b/esp32c3/src/xts_aes/release.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to release the manual encrypted result, after that the result will be visible to spi"] #[inline(always)] - #[must_use] pub fn release(&mut self) -> RELEASE_W { RELEASE_W::new(self, 0) } diff --git a/esp32c3/src/xts_aes/trigger.rs b/esp32c3/src/xts_aes/trigger.rs index 9abf921db3..a396a41530 100644 --- a/esp32c3/src/xts_aes/trigger.rs +++ b/esp32c3/src/xts_aes/trigger.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to start manual encryption calculation"] #[inline(always)] - #[must_use] pub fn trigger(&mut self) -> TRIGGER_W { TRIGGER_W::new(self, 0) } diff --git a/esp32c6-lp/src/generic.rs b/esp32c6-lp/src/generic.rs index d57106cb27..a7cb020aef 100644 --- a/esp32c6-lp/src/generic.rs +++ b/esp32c6-lp/src/generic.rs @@ -524,18 +524,60 @@ impl Reg { #[doc = " ```"] #[doc = " In the latter case, other fields will be set to their reset value."] #[inline(always)] - pub fn write(&self, f: F) + pub fn write(&self, f: F) -> REG::Ux where F: FnOnce(&mut W) -> &mut W, { - self.register.set( - f(&mut W { - bits: REG::RESET_VALUE & !REG::ONE_TO_MODIFY_FIELDS_BITMAP - | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, - _reg: marker::PhantomData, - }) - .bits, - ); + let value = f(&mut W { + bits: REG::RESET_VALUE & !REG::ONE_TO_MODIFY_FIELDS_BITMAP + | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }) + .bits; + self.register.set(value); + value + } + #[doc = " Writes bits to a `Writable` register and produce a value."] + #[doc = ""] + #[doc = " You can write raw bits into a register:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.write_and(|w| unsafe { w.bits(rawbits); });"] + #[doc = " ```"] + #[doc = " or write only the fields you need:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.write_and(|w| {"] + #[doc = " w.field1().bits(newfield1bits)"] + #[doc = " .field2().set_bit()"] + #[doc = " .field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " or an alternative way of saying the same:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.write_and(|w| {"] + #[doc = " w.field1().bits(newfield1bits);"] + #[doc = " w.field2().set_bit();"] + #[doc = " w.field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " In the latter case, other fields will be set to their reset value."] + #[doc = ""] + #[doc = " Values can be returned from the closure:"] + #[doc = " ```ignore"] + #[doc = " let state = periph.reg.write_and(|w| State::set(w.field1()));"] + #[doc = " ```"] + #[inline(always)] + pub fn from_write(&self, f: F) -> T + where + F: FnOnce(&mut W) -> T, + { + let mut writer = W { + bits: REG::RESET_VALUE & !REG::ONE_TO_MODIFY_FIELDS_BITMAP + | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }; + let result = f(&mut writer); + self.register.set(writer.bits); + result } } impl Reg { @@ -547,17 +589,37 @@ impl Reg { #[doc = ""] #[doc = " Unsafe to use with registers which don't allow to write 0."] #[inline(always)] - pub unsafe fn write_with_zero(&self, f: F) + pub unsafe fn write_with_zero(&self, f: F) -> REG::Ux where F: FnOnce(&mut W) -> &mut W, { - self.register.set( - f(&mut W { - bits: REG::Ux::default(), - _reg: marker::PhantomData, - }) - .bits, - ); + let value = f(&mut W { + bits: REG::Ux::default(), + _reg: marker::PhantomData, + }) + .bits; + self.register.set(value); + value + } + #[doc = " Writes 0 to a `Writable` register and produces a value."] + #[doc = ""] + #[doc = " Similar to `write`, but unused bits will contain 0."] + #[doc = ""] + #[doc = " # Safety"] + #[doc = ""] + #[doc = " Unsafe to use with registers which don't allow to write 0."] + #[inline(always)] + pub unsafe fn from_write_with_zero(&self, f: F) -> T + where + F: FnOnce(&mut W) -> T, + { + let mut writer = W { + bits: REG::Ux::default(), + _reg: marker::PhantomData, + }; + let result = f(&mut writer); + self.register.set(writer.bits); + result } } impl Reg { @@ -587,25 +649,75 @@ impl Reg { #[doc = " ```"] #[doc = " Other fields will have the value they had before the call to `modify`."] #[inline(always)] - pub fn modify(&self, f: F) + pub fn modify(&self, f: F) -> REG::Ux where for<'w> F: FnOnce(&R, &'w mut W) -> &'w mut W, { let bits = self.register.get(); - self.register.set( - f( - &R { - bits, - _reg: marker::PhantomData, - }, - &mut W { - bits: bits & !REG::ONE_TO_MODIFY_FIELDS_BITMAP - | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, - _reg: marker::PhantomData, - }, - ) - .bits, + let value = f( + &R { + bits, + _reg: marker::PhantomData, + }, + &mut W { + bits: bits & !REG::ONE_TO_MODIFY_FIELDS_BITMAP | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }, + ) + .bits; + self.register.set(value); + value + } + #[doc = " Modifies the contents of the register by reading and then writing it"] + #[doc = " and produces a value."] + #[doc = ""] + #[doc = " E.g. to do a read-modify-write sequence to change parts of a register:"] + #[doc = " ```ignore"] + #[doc = " let bits = periph.reg.modify(|r, w| {"] + #[doc = " let new_bits = r.bits() | 3;"] + #[doc = " unsafe {"] + #[doc = " w.bits(new_bits);"] + #[doc = " }"] + #[doc = ""] + #[doc = " new_bits"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " or"] + #[doc = " ```ignore"] + #[doc = " periph.reg.modify(|_, w| {"] + #[doc = " w.field1().bits(newfield1bits)"] + #[doc = " .field2().set_bit()"] + #[doc = " .field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " or an alternative way of saying the same:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.modify(|_, w| {"] + #[doc = " w.field1().bits(newfield1bits);"] + #[doc = " w.field2().set_bit();"] + #[doc = " w.field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " Other fields will have the value they had before the call to `modify`."] + #[inline(always)] + pub fn from_modify(&self, f: F) -> T + where + for<'w> F: FnOnce(&R, &'w mut W) -> T, + { + let bits = self.register.get(); + let mut writer = W { + bits: bits & !REG::ONE_TO_MODIFY_FIELDS_BITMAP | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }; + let result = f( + &R { + bits, + _reg: marker::PhantomData, + }, + &mut writer, ); + self.register.set(writer.bits); + result } } impl core::fmt::Debug for crate::generic::Reg diff --git a/esp32c6-lp/src/generic/raw.rs b/esp32c6-lp/src/generic/raw.rs index 81f5779524..d60a23a7cc 100644 --- a/esp32c6-lp/src/generic/raw.rs +++ b/esp32c6-lp/src/generic/raw.rs @@ -41,6 +41,7 @@ impl BitReader { } } } +#[must_use = "after creating `FieldWriter` you need to call field value setting method"] pub struct FieldWriter<'a, REG, const WI: u8, FI = u8, Safety = Unsafe> where REG: Writable + RegisterSpec, @@ -66,6 +67,7 @@ where } } } +#[must_use = "after creating `BitWriter` you need to call bit setting method"] pub struct BitWriter<'a, REG, FI = bool, M = BitM> where REG: Writable + RegisterSpec, diff --git a/esp32c6-lp/src/interrupt.rs b/esp32c6-lp/src/interrupt.rs index 2399dce66b..f810fadc60 100644 --- a/esp32c6-lp/src/interrupt.rs +++ b/esp32c6-lp/src/interrupt.rs @@ -21,6 +21,7 @@ pub enum Interrupt { LP_APM_M1 = 21, } #[doc = r" TryFromInterruptError"] +#[cfg_attr(feature = "defmt", derive(defmt::Format))] #[derive(Debug, Copy, Clone)] pub struct TryFromInterruptError(()); impl Interrupt { diff --git a/esp32c6-lp/src/lib.rs b/esp32c6-lp/src/lib.rs index 00457cf873..0fd04a87a5 100644 --- a/esp32c6-lp/src/lib.rs +++ b/esp32c6-lp/src/lib.rs @@ -1,4 +1,4 @@ -#![doc = "Peripheral access API for ESP32-C6-LP microcontrollers (generated using svd2rust v0.33.4 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next] svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.33.4/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"] +#![doc = "Peripheral access API for ESP32-C6-LP microcontrollers (generated using svd2rust v0.34.0 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next] svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.34.0/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"] #![allow(non_camel_case_types)] #![allow(non_snake_case)] #![doc(html_logo_url = "https://avatars.githubusercontent.com/u/46717278")] diff --git a/esp32c6-lp/src/lp_ana/bod_mode0_cntl.rs b/esp32c6-lp/src/lp_ana/bod_mode0_cntl.rs index 713115a6fd..a18b707743 100644 --- a/esp32c6-lp/src/lp_ana/bod_mode0_cntl.rs +++ b/esp32c6-lp/src/lp_ana/bod_mode0_cntl.rs @@ -97,7 +97,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 6 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0_close_flash_ena( &mut self, ) -> BOD_MODE0_CLOSE_FLASH_ENA_W { @@ -105,43 +104,36 @@ impl W { } #[doc = "Bit 7 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0_pd_rf_ena(&mut self) -> BOD_MODE0_PD_RF_ENA_W { BOD_MODE0_PD_RF_ENA_W::new(self, 7) } #[doc = "Bits 8:17 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0_intr_wait(&mut self) -> BOD_MODE0_INTR_WAIT_W { BOD_MODE0_INTR_WAIT_W::new(self, 8) } #[doc = "Bits 18:27 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0_reset_wait(&mut self) -> BOD_MODE0_RESET_WAIT_W { BOD_MODE0_RESET_WAIT_W::new(self, 18) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0_cnt_clr(&mut self) -> BOD_MODE0_CNT_CLR_W { BOD_MODE0_CNT_CLR_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0_intr_ena(&mut self) -> BOD_MODE0_INTR_ENA_W { BOD_MODE0_INTR_ENA_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0_reset_sel(&mut self) -> BOD_MODE0_RESET_SEL_W { BOD_MODE0_RESET_SEL_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0_reset_ena(&mut self) -> BOD_MODE0_RESET_ENA_W { BOD_MODE0_RESET_ENA_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_ana/bod_mode1_cntl.rs b/esp32c6-lp/src/lp_ana/bod_mode1_cntl.rs index 4e4bdd3972..22e45d3af8 100644 --- a/esp32c6-lp/src/lp_ana/bod_mode1_cntl.rs +++ b/esp32c6-lp/src/lp_ana/bod_mode1_cntl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode1_reset_ena(&mut self) -> BOD_MODE1_RESET_ENA_W { BOD_MODE1_RESET_ENA_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_ana/ck_glitch_cntl.rs b/esp32c6-lp/src/lp_ana/ck_glitch_cntl.rs index d238149382..ec2cfb0a4a 100644 --- a/esp32c6-lp/src/lp_ana/ck_glitch_cntl.rs +++ b/esp32c6-lp/src/lp_ana/ck_glitch_cntl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn ck_glitch_reset_ena(&mut self) -> CK_GLITCH_RESET_ENA_W { CK_GLITCH_RESET_ENA_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_ana/date.rs b/esp32c6-lp/src/lp_ana/date.rs index bf823c520d..c4a31b7eda 100644 --- a/esp32c6-lp/src/lp_ana/date.rs +++ b/esp32c6-lp/src/lp_ana/date.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_ana_date(&mut self) -> LP_ANA_DATE_W { LP_ANA_DATE_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_ana/fib_enable.rs b/esp32c6-lp/src/lp_ana/fib_enable.rs index 4979869992..2b86866a9d 100644 --- a/esp32c6-lp/src/lp_ana/fib_enable.rs +++ b/esp32c6-lp/src/lp_ana/fib_enable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn ana_fib_ena(&mut self) -> ANA_FIB_ENA_W { ANA_FIB_ENA_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_ana/int_clr.rs b/esp32c6-lp/src/lp_ana/int_clr.rs index 03e2f013c2..2e6573134c 100644 --- a/esp32c6-lp/src/lp_ana/int_clr.rs +++ b/esp32c6-lp/src/lp_ana/int_clr.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0(&mut self) -> BOD_MODE0_W { BOD_MODE0_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_ana/int_ena.rs b/esp32c6-lp/src/lp_ana/int_ena.rs index 205a809af3..8448ce9948 100644 --- a/esp32c6-lp/src/lp_ana/int_ena.rs +++ b/esp32c6-lp/src/lp_ana/int_ena.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0(&mut self) -> BOD_MODE0_W { BOD_MODE0_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_ana/int_raw.rs b/esp32c6-lp/src/lp_ana/int_raw.rs index ac9aeb9eb5..27ed000ce6 100644 --- a/esp32c6-lp/src/lp_ana/int_raw.rs +++ b/esp32c6-lp/src/lp_ana/int_raw.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0(&mut self) -> BOD_MODE0_W { BOD_MODE0_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_ana/lp_int_clr.rs b/esp32c6-lp/src/lp_ana/lp_int_clr.rs index eb9b2ebce0..7292611712 100644 --- a/esp32c6-lp/src/lp_ana/lp_int_clr.rs +++ b/esp32c6-lp/src/lp_ana/lp_int_clr.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0(&mut self) -> BOD_MODE0_W { BOD_MODE0_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_ana/lp_int_ena.rs b/esp32c6-lp/src/lp_ana/lp_int_ena.rs index 314ce7d28a..0523553072 100644 --- a/esp32c6-lp/src/lp_ana/lp_int_ena.rs +++ b/esp32c6-lp/src/lp_ana/lp_int_ena.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0(&mut self) -> BOD_MODE0_W { BOD_MODE0_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_ana/lp_int_raw.rs b/esp32c6-lp/src/lp_ana/lp_int_raw.rs index 7680e3d0a0..513f3b59a6 100644 --- a/esp32c6-lp/src/lp_ana/lp_int_raw.rs +++ b/esp32c6-lp/src/lp_ana/lp_int_raw.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0(&mut self) -> BOD_MODE0_W { BOD_MODE0_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_aon/cpucore0_cfg.rs b/esp32c6-lp/src/lp_aon/cpucore0_cfg.rs index c2da5051ec..6b3ee54b80 100644 --- a/esp32c6-lp/src/lp_aon/cpucore0_cfg.rs +++ b/esp32c6-lp/src/lp_aon/cpucore0_cfg.rs @@ -62,19 +62,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - need_des"] #[inline(always)] - #[must_use] pub fn cpu_core0_sw_stall(&mut self) -> CPU_CORE0_SW_STALL_W { CPU_CORE0_SW_STALL_W::new(self, 0) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn cpu_core0_sw_reset(&mut self) -> CPU_CORE0_SW_RESET_W { CPU_CORE0_SW_RESET_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn cpu_core0_ocd_halt_on_reset( &mut self, ) -> CPU_CORE0_OCD_HALT_ON_RESET_W { @@ -82,13 +79,11 @@ impl W { } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn cpu_core0_stat_vector_sel(&mut self) -> CPU_CORE0_STAT_VECTOR_SEL_W { CPU_CORE0_STAT_VECTOR_SEL_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn cpu_core0_dreset_mask(&mut self) -> CPU_CORE0_DRESET_MASK_W { CPU_CORE0_DRESET_MASK_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_aon/date.rs b/esp32c6-lp/src/lp_aon/date.rs index c320e7f5e4..0daa2f2711 100644 --- a/esp32c6-lp/src/lp_aon/date.rs +++ b/esp32c6-lp/src/lp_aon/date.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - need_des"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_aon/ext_wakeup_cntl.rs b/esp32c6-lp/src/lp_aon/ext_wakeup_cntl.rs index 25e9ecb180..6244417aee 100644 --- a/esp32c6-lp/src/lp_aon/ext_wakeup_cntl.rs +++ b/esp32c6-lp/src/lp_aon/ext_wakeup_cntl.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 14 - need_des"] #[inline(always)] - #[must_use] pub fn ext_wakeup_status_clr(&mut self) -> EXT_WAKEUP_STATUS_CLR_W { EXT_WAKEUP_STATUS_CLR_W::new(self, 14) } #[doc = "Bits 15:22 - need_des"] #[inline(always)] - #[must_use] pub fn ext_wakeup_sel(&mut self) -> EXT_WAKEUP_SEL_W { EXT_WAKEUP_SEL_W::new(self, 15) } #[doc = "Bits 23:30 - need_des"] #[inline(always)] - #[must_use] pub fn ext_wakeup_lv(&mut self) -> EXT_WAKEUP_LV_W { EXT_WAKEUP_LV_W::new(self, 23) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn ext_wakeup_filter(&mut self) -> EXT_WAKEUP_FILTER_W { EXT_WAKEUP_FILTER_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_aon/gpio_hold0.rs b/esp32c6-lp/src/lp_aon/gpio_hold0.rs index 4973f30e0a..983073f841 100644 --- a/esp32c6-lp/src/lp_aon/gpio_hold0.rs +++ b/esp32c6-lp/src/lp_aon/gpio_hold0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn gpio_hold0(&mut self) -> GPIO_HOLD0_W { GPIO_HOLD0_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_aon/gpio_hold1.rs b/esp32c6-lp/src/lp_aon/gpio_hold1.rs index d9522183b0..e378ad125d 100644 --- a/esp32c6-lp/src/lp_aon/gpio_hold1.rs +++ b/esp32c6-lp/src/lp_aon/gpio_hold1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn gpio_hold1(&mut self) -> GPIO_HOLD1_W { GPIO_HOLD1_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_aon/gpio_mux.rs b/esp32c6-lp/src/lp_aon/gpio_mux.rs index f137682932..65876f8a11 100644 --- a/esp32c6-lp/src/lp_aon/gpio_mux.rs +++ b/esp32c6-lp/src/lp_aon/gpio_mux.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - need_des"] #[inline(always)] - #[must_use] pub fn sel(&mut self) -> SEL_W { SEL_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_aon/io_mux.rs b/esp32c6-lp/src/lp_aon/io_mux.rs index ef66c1a0b4..e9ef12d5f7 100644 --- a/esp32c6-lp/src/lp_aon/io_mux.rs +++ b/esp32c6-lp/src/lp_aon/io_mux.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn reset_disable(&mut self) -> RESET_DISABLE_W { RESET_DISABLE_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_aon/lpbus.rs b/esp32c6-lp/src/lp_aon/lpbus.rs index 1cc72bb70e..c200832163 100644 --- a/esp32c6-lp/src/lp_aon/lpbus.rs +++ b/esp32c6-lp/src/lp_aon/lpbus.rs @@ -72,31 +72,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:18 - This field controls fast memory WPULSE parameter."] #[inline(always)] - #[must_use] pub fn fast_mem_wpulse(&mut self) -> FAST_MEM_WPULSE_W { FAST_MEM_WPULSE_W::new(self, 16) } #[doc = "Bits 19:21 - This field controls fast memory WA parameter."] #[inline(always)] - #[must_use] pub fn fast_mem_wa(&mut self) -> FAST_MEM_WA_W { FAST_MEM_WA_W::new(self, 19) } #[doc = "Bits 22:23 - This field controls fast memory RA parameter."] #[inline(always)] - #[must_use] pub fn fast_mem_ra(&mut self) -> FAST_MEM_RA_W { FAST_MEM_RA_W::new(self, 22) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn fast_mem_mux_sel_update(&mut self) -> FAST_MEM_MUX_SEL_UPDATE_W { FAST_MEM_MUX_SEL_UPDATE_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn fast_mem_mux_sel(&mut self) -> FAST_MEM_MUX_SEL_W { FAST_MEM_MUX_SEL_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_aon/lpcore.rs b/esp32c6-lp/src/lp_aon/lpcore.rs index a1a1116133..04ee1359c7 100644 --- a/esp32c6-lp/src/lp_aon/lpcore.rs +++ b/esp32c6-lp/src/lp_aon/lpcore.rs @@ -36,19 +36,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn etm_wakeup_flag_clr(&mut self) -> ETM_WAKEUP_FLAG_CLR_W { ETM_WAKEUP_FLAG_CLR_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn etm_wakeup_flag(&mut self) -> ETM_WAKEUP_FLAG_W { ETM_WAKEUP_FLAG_W::new(self, 1) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn disable(&mut self) -> DISABLE_W { DISABLE_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_aon/sar_cct.rs b/esp32c6-lp/src/lp_aon/sar_cct.rs index 540e14be37..a95125eb65 100644 --- a/esp32c6-lp/src/lp_aon/sar_cct.rs +++ b/esp32c6-lp/src/lp_aon/sar_cct.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 29:31 - need_des"] #[inline(always)] - #[must_use] pub fn sar2_pwdet_cct(&mut self) -> SAR2_PWDET_CCT_W { SAR2_PWDET_CCT_W::new(self, 29) } diff --git a/esp32c6-lp/src/lp_aon/sdio_active.rs b/esp32c6-lp/src/lp_aon/sdio_active.rs index 4d4df5877c..192b544eb6 100644 --- a/esp32c6-lp/src/lp_aon/sdio_active.rs +++ b/esp32c6-lp/src/lp_aon/sdio_active.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 22:31 - need_des"] #[inline(always)] - #[must_use] pub fn sdio_act_dnum(&mut self) -> SDIO_ACT_DNUM_W { SDIO_ACT_DNUM_W::new(self, 22) } diff --git a/esp32c6-lp/src/lp_aon/store0.rs b/esp32c6-lp/src/lp_aon/store0.rs index 7f345da854..ff89fa4d43 100644 --- a/esp32c6-lp/src/lp_aon/store0.rs +++ b/esp32c6-lp/src/lp_aon/store0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aon_store0(&mut self) -> LP_AON_STORE0_W { LP_AON_STORE0_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_aon/store1.rs b/esp32c6-lp/src/lp_aon/store1.rs index 1e01078996..efc842feae 100644 --- a/esp32c6-lp/src/lp_aon/store1.rs +++ b/esp32c6-lp/src/lp_aon/store1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aon_store1(&mut self) -> LP_AON_STORE1_W { LP_AON_STORE1_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_aon/store2.rs b/esp32c6-lp/src/lp_aon/store2.rs index aa3ffd0c89..17446aef2d 100644 --- a/esp32c6-lp/src/lp_aon/store2.rs +++ b/esp32c6-lp/src/lp_aon/store2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aon_store2(&mut self) -> LP_AON_STORE2_W { LP_AON_STORE2_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_aon/store3.rs b/esp32c6-lp/src/lp_aon/store3.rs index ceae223ac1..71d71d2c3f 100644 --- a/esp32c6-lp/src/lp_aon/store3.rs +++ b/esp32c6-lp/src/lp_aon/store3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aon_store3(&mut self) -> LP_AON_STORE3_W { LP_AON_STORE3_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_aon/store4.rs b/esp32c6-lp/src/lp_aon/store4.rs index 7317987cb8..ef735d0e31 100644 --- a/esp32c6-lp/src/lp_aon/store4.rs +++ b/esp32c6-lp/src/lp_aon/store4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aon_store4(&mut self) -> LP_AON_STORE4_W { LP_AON_STORE4_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_aon/store5.rs b/esp32c6-lp/src/lp_aon/store5.rs index 2486b31abf..e320cf778d 100644 --- a/esp32c6-lp/src/lp_aon/store5.rs +++ b/esp32c6-lp/src/lp_aon/store5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aon_store5(&mut self) -> LP_AON_STORE5_W { LP_AON_STORE5_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_aon/store6.rs b/esp32c6-lp/src/lp_aon/store6.rs index d3e3be7861..5ceacf745f 100644 --- a/esp32c6-lp/src/lp_aon/store6.rs +++ b/esp32c6-lp/src/lp_aon/store6.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aon_store6(&mut self) -> LP_AON_STORE6_W { LP_AON_STORE6_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_aon/store7.rs b/esp32c6-lp/src/lp_aon/store7.rs index 73b2f906c4..0246db8a25 100644 --- a/esp32c6-lp/src/lp_aon/store7.rs +++ b/esp32c6-lp/src/lp_aon/store7.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aon_store7(&mut self) -> LP_AON_STORE7_W { LP_AON_STORE7_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_aon/store8.rs b/esp32c6-lp/src/lp_aon/store8.rs index bf5f9c611d..20de43cbb5 100644 --- a/esp32c6-lp/src/lp_aon/store8.rs +++ b/esp32c6-lp/src/lp_aon/store8.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aon_store8(&mut self) -> LP_AON_STORE8_W { LP_AON_STORE8_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_aon/store9.rs b/esp32c6-lp/src/lp_aon/store9.rs index 6eca846177..d1a6cbb508 100644 --- a/esp32c6-lp/src/lp_aon/store9.rs +++ b/esp32c6-lp/src/lp_aon/store9.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aon_store9(&mut self) -> LP_AON_STORE9_W { LP_AON_STORE9_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_aon/sys_cfg.rs b/esp32c6-lp/src/lp_aon/sys_cfg.rs index 500866f828..ffbb1c6ba3 100644 --- a/esp32c6-lp/src/lp_aon/sys_cfg.rs +++ b/esp32c6-lp/src/lp_aon/sys_cfg.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn force_download_boot(&mut self) -> FORCE_DOWNLOAD_BOOT_W { FORCE_DOWNLOAD_BOOT_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hpsys_sw_reset(&mut self) -> HPSYS_SW_RESET_W { HPSYS_SW_RESET_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_aon/usb.rs b/esp32c6-lp/src/lp_aon/usb.rs index 44fdcb6e0d..c94659e8e9 100644 --- a/esp32c6-lp/src/lp_aon/usb.rs +++ b/esp32c6-lp/src/lp_aon/usb.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn reset_disable(&mut self) -> RESET_DISABLE_W { RESET_DISABLE_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_apm/clock_gate.rs b/esp32c6-lp/src/lp_apm/clock_gate.rs index c11923fb98..a58faa7d65 100644 --- a/esp32c6-lp/src/lp_apm/clock_gate.rs +++ b/esp32c6-lp/src/lp_apm/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_clk_en"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_apm/date.rs b/esp32c6-lp/src/lp_apm/date.rs index cfb7714639..cbf2bbdcd3 100644 --- a/esp32c6-lp/src/lp_apm/date.rs +++ b/esp32c6-lp/src/lp_apm/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - reg_date"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_apm/func_ctrl.rs b/esp32c6-lp/src/lp_apm/func_ctrl.rs index 9883560c7a..5c550ba39b 100644 --- a/esp32c6-lp/src/lp_apm/func_ctrl.rs +++ b/esp32c6-lp/src/lp_apm/func_ctrl.rs @@ -47,7 +47,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `M0_PMS_FUNC_EN` field.
"] #[inline(always)] - #[must_use] pub fn m_pms_func_en(&mut self, n: u8) -> M_PMS_FUNC_EN_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -55,13 +54,11 @@ impl W { } #[doc = "Bit 0 - PMS M0 function enable"] #[inline(always)] - #[must_use] pub fn m0_pms_func_en(&mut self) -> M_PMS_FUNC_EN_W { M_PMS_FUNC_EN_W::new(self, 0) } #[doc = "Bit 1 - PMS M1 function enable"] #[inline(always)] - #[must_use] pub fn m1_pms_func_en(&mut self) -> M_PMS_FUNC_EN_W { M_PMS_FUNC_EN_W::new(self, 1) } diff --git a/esp32c6-lp/src/lp_apm/int_en.rs b/esp32c6-lp/src/lp_apm/int_en.rs index 7286eb8b50..adf6883253 100644 --- a/esp32c6-lp/src/lp_apm/int_en.rs +++ b/esp32c6-lp/src/lp_apm/int_en.rs @@ -47,7 +47,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `M0_APM` field.
"] #[inline(always)] - #[must_use] pub fn m_apm(&mut self, n: u8) -> M_APM_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -55,13 +54,11 @@ impl W { } #[doc = "Bit 0 - APM M0 interrupt enable"] #[inline(always)] - #[must_use] pub fn m0_apm(&mut self) -> M_APM_W { M_APM_W::new(self, 0) } #[doc = "Bit 1 - APM M1 interrupt enable"] #[inline(always)] - #[must_use] pub fn m1_apm(&mut self) -> M_APM_W { M_APM_W::new(self, 1) } diff --git a/esp32c6-lp/src/lp_apm/m/status_clr.rs b/esp32c6-lp/src/lp_apm/m/status_clr.rs index e4f078f6fc..8da9457594 100644 --- a/esp32c6-lp/src/lp_apm/m/status_clr.rs +++ b/esp32c6-lp/src/lp_apm/m/status_clr.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Clear exception status"] #[inline(always)] - #[must_use] pub fn region_status_clr(&mut self) -> REGION_STATUS_CLR_W { REGION_STATUS_CLR_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_apm/region/addr_end.rs b/esp32c6-lp/src/lp_apm/region/addr_end.rs index 0459ef8236..62145901a9 100644 --- a/esp32c6-lp/src/lp_apm/region/addr_end.rs +++ b/esp32c6-lp/src/lp_apm/region/addr_end.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - End address of region0"] #[inline(always)] - #[must_use] pub fn addr_end(&mut self) -> ADDR_END_W { ADDR_END_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_apm/region/addr_start.rs b/esp32c6-lp/src/lp_apm/region/addr_start.rs index fc14b71b5f..4ae84c3305 100644 --- a/esp32c6-lp/src/lp_apm/region/addr_start.rs +++ b/esp32c6-lp/src/lp_apm/region/addr_start.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Start address of region0"] #[inline(always)] - #[must_use] pub fn addr_start(&mut self) -> ADDR_START_W { ADDR_START_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_apm/region/pms_attr.rs b/esp32c6-lp/src/lp_apm/region/pms_attr.rs index fe5b684b59..2c40327dfb 100644 --- a/esp32c6-lp/src/lp_apm/region/pms_attr.rs +++ b/esp32c6-lp/src/lp_apm/region/pms_attr.rs @@ -127,7 +127,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `R0_PMS_X` field.
"] #[inline(always)] - #[must_use] pub fn r_pms_x(&mut self, n: u8) -> R_PMS_X_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -135,19 +134,16 @@ impl W { } #[doc = "Bit 0 - Region execute authority in REE_MODE0"] #[inline(always)] - #[must_use] pub fn r0_pms_x(&mut self) -> R_PMS_X_W { R_PMS_X_W::new(self, 0) } #[doc = "Bit 4 - Region execute authority in REE_MODE1"] #[inline(always)] - #[must_use] pub fn r1_pms_x(&mut self) -> R_PMS_X_W { R_PMS_X_W::new(self, 4) } #[doc = "Bit 8 - Region execute authority in REE_MODE2"] #[inline(always)] - #[must_use] pub fn r2_pms_x(&mut self) -> R_PMS_X_W { R_PMS_X_W::new(self, 8) } @@ -155,7 +151,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `R0_PMS_W` field.
"] #[inline(always)] - #[must_use] pub fn r_pms_w(&mut self, n: u8) -> R_PMS_W_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -163,19 +158,16 @@ impl W { } #[doc = "Bit 1 - Region write authority in REE_MODE0"] #[inline(always)] - #[must_use] pub fn r0_pms_w(&mut self) -> R_PMS_W_W { R_PMS_W_W::new(self, 1) } #[doc = "Bit 5 - Region write authority in REE_MODE1"] #[inline(always)] - #[must_use] pub fn r1_pms_w(&mut self) -> R_PMS_W_W { R_PMS_W_W::new(self, 5) } #[doc = "Bit 9 - Region write authority in REE_MODE2"] #[inline(always)] - #[must_use] pub fn r2_pms_w(&mut self) -> R_PMS_W_W { R_PMS_W_W::new(self, 9) } @@ -183,7 +175,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `R0_PMS_R` field.
"] #[inline(always)] - #[must_use] pub fn r_pms_r(&mut self, n: u8) -> R_PMS_R_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -191,19 +182,16 @@ impl W { } #[doc = "Bit 2 - Region read authority in REE_MODE0"] #[inline(always)] - #[must_use] pub fn r0_pms_r(&mut self) -> R_PMS_R_W { R_PMS_R_W::new(self, 2) } #[doc = "Bit 6 - Region read authority in REE_MODE1"] #[inline(always)] - #[must_use] pub fn r1_pms_r(&mut self) -> R_PMS_R_W { R_PMS_R_W::new(self, 6) } #[doc = "Bit 10 - Region read authority in REE_MODE2"] #[inline(always)] - #[must_use] pub fn r2_pms_r(&mut self) -> R_PMS_R_W { R_PMS_R_W::new(self, 10) } diff --git a/esp32c6-lp/src/lp_apm/region_filter_en.rs b/esp32c6-lp/src/lp_apm/region_filter_en.rs index 3c26f66d7e..a89782663b 100644 --- a/esp32c6-lp/src/lp_apm/region_filter_en.rs +++ b/esp32c6-lp/src/lp_apm/region_filter_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Region filter enable"] #[inline(always)] - #[must_use] pub fn region_filter_en(&mut self) -> REGION_FILTER_EN_W { REGION_FILTER_EN_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_clkrst/clk_to_hp.rs b/esp32c6-lp/src/lp_clkrst/clk_to_hp.rs index 9c7f5727d7..1a49a3f0f4 100644 --- a/esp32c6-lp/src/lp_clkrst/clk_to_hp.rs +++ b/esp32c6-lp/src/lp_clkrst/clk_to_hp.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn icg_hp_xtal32k(&mut self) -> ICG_HP_XTAL32K_W { ICG_HP_XTAL32K_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn icg_hp_sosc(&mut self) -> ICG_HP_SOSC_W { ICG_HP_SOSC_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn icg_hp_osc32k(&mut self) -> ICG_HP_OSC32K_W { ICG_HP_OSC32K_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn icg_hp_fosc(&mut self) -> ICG_HP_FOSC_W { ICG_HP_FOSC_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_clkrst/cpu_reset.rs b/esp32c6-lp/src/lp_clkrst/cpu_reset.rs index 9b06f596c6..3d7557d5d0 100644 --- a/esp32c6-lp/src/lp_clkrst/cpu_reset.rs +++ b/esp32c6-lp/src/lp_clkrst/cpu_reset.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 22:24 - need_des"] #[inline(always)] - #[must_use] pub fn rtc_wdt_cpu_reset_length(&mut self) -> RTC_WDT_CPU_RESET_LENGTH_W { RTC_WDT_CPU_RESET_LENGTH_W::new(self, 22) } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn rtc_wdt_cpu_reset_en(&mut self) -> RTC_WDT_CPU_RESET_EN_W { RTC_WDT_CPU_RESET_EN_W::new(self, 25) } #[doc = "Bits 26:30 - need_des"] #[inline(always)] - #[must_use] pub fn cpu_stall_wait(&mut self) -> CPU_STALL_WAIT_W { CPU_STALL_WAIT_W::new(self, 26) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn cpu_stall_en(&mut self) -> CPU_STALL_EN_W { CPU_STALL_EN_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_clkrst/date.rs b/esp32c6-lp/src/lp_clkrst/date.rs index 328cc02d6f..a9d3eb5d81 100644 --- a/esp32c6-lp/src/lp_clkrst/date.rs +++ b/esp32c6-lp/src/lp_clkrst/date.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - need_des"] #[inline(always)] - #[must_use] pub fn clkrst_date(&mut self) -> CLKRST_DATE_W { CLKRST_DATE_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_clkrst/fosc_cntl.rs b/esp32c6-lp/src/lp_clkrst/fosc_cntl.rs index 5187c24e4d..4be6c4b7b1 100644 --- a/esp32c6-lp/src/lp_clkrst/fosc_cntl.rs +++ b/esp32c6-lp/src/lp_clkrst/fosc_cntl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 22:31 - need_des"] #[inline(always)] - #[must_use] pub fn fosc_dfreq(&mut self) -> FOSC_DFREQ_W { FOSC_DFREQ_W::new(self, 22) } diff --git a/esp32c6-lp/src/lp_clkrst/lp_clk_conf.rs b/esp32c6-lp/src/lp_clkrst/lp_clk_conf.rs index c27ccd92a1..81efcc8faa 100644 --- a/esp32c6-lp/src/lp_clkrst/lp_clk_conf.rs +++ b/esp32c6-lp/src/lp_clkrst/lp_clk_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - need_des"] #[inline(always)] - #[must_use] pub fn slow_clk_sel(&mut self) -> SLOW_CLK_SEL_W { SLOW_CLK_SEL_W::new(self, 0) } #[doc = "Bit 2 - need_des"] #[inline(always)] - #[must_use] pub fn fast_clk_sel(&mut self) -> FAST_CLK_SEL_W { FAST_CLK_SEL_W::new(self, 2) } #[doc = "Bits 3:10 - need_des"] #[inline(always)] - #[must_use] pub fn lp_peri_div_num(&mut self) -> LP_PERI_DIV_NUM_W { LP_PERI_DIV_NUM_W::new(self, 3) } diff --git a/esp32c6-lp/src/lp_clkrst/lp_clk_en.rs b/esp32c6-lp/src/lp_clkrst/lp_clk_en.rs index 76b08b4883..daff6418b5 100644 --- a/esp32c6-lp/src/lp_clkrst/lp_clk_en.rs +++ b/esp32c6-lp/src/lp_clkrst/lp_clk_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn fast_ori_gate(&mut self) -> FAST_ORI_GATE_W { FAST_ORI_GATE_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_clkrst/lp_clk_po_en.rs b/esp32c6-lp/src/lp_clkrst/lp_clk_po_en.rs index 476bfb7825..c69148900c 100644 --- a/esp32c6-lp/src/lp_clkrst/lp_clk_po_en.rs +++ b/esp32c6-lp/src/lp_clkrst/lp_clk_po_en.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn aon_slow_oen(&mut self) -> AON_SLOW_OEN_W { AON_SLOW_OEN_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn aon_fast_oen(&mut self) -> AON_FAST_OEN_W { AON_FAST_OEN_W::new(self, 1) } #[doc = "Bit 2 - need_des"] #[inline(always)] - #[must_use] pub fn sosc_oen(&mut self) -> SOSC_OEN_W { SOSC_OEN_W::new(self, 2) } #[doc = "Bit 3 - need_des"] #[inline(always)] - #[must_use] pub fn fosc_oen(&mut self) -> FOSC_OEN_W { FOSC_OEN_W::new(self, 3) } #[doc = "Bit 4 - need_des"] #[inline(always)] - #[must_use] pub fn osc32k_oen(&mut self) -> OSC32K_OEN_W { OSC32K_OEN_W::new(self, 4) } #[doc = "Bit 5 - need_des"] #[inline(always)] - #[must_use] pub fn xtal32k_oen(&mut self) -> XTAL32K_OEN_W { XTAL32K_OEN_W::new(self, 5) } #[doc = "Bit 6 - need_des"] #[inline(always)] - #[must_use] pub fn core_efuse_oen(&mut self) -> CORE_EFUSE_OEN_W { CORE_EFUSE_OEN_W::new(self, 6) } #[doc = "Bit 7 - need_des"] #[inline(always)] - #[must_use] pub fn slow_oen(&mut self) -> SLOW_OEN_W { SLOW_OEN_W::new(self, 7) } #[doc = "Bit 8 - need_des"] #[inline(always)] - #[must_use] pub fn fast_oen(&mut self) -> FAST_OEN_W { FAST_OEN_W::new(self, 8) } #[doc = "Bit 9 - need_des"] #[inline(always)] - #[must_use] pub fn rng_oen(&mut self) -> RNG_OEN_W { RNG_OEN_W::new(self, 9) } #[doc = "Bit 10 - need_des"] #[inline(always)] - #[must_use] pub fn lpbus_oen(&mut self) -> LPBUS_OEN_W { LPBUS_OEN_W::new(self, 10) } diff --git a/esp32c6-lp/src/lp_clkrst/lp_rst_en.rs b/esp32c6-lp/src/lp_clkrst/lp_rst_en.rs index dbc74460d2..53a13d27d3 100644 --- a/esp32c6-lp/src/lp_clkrst/lp_rst_en.rs +++ b/esp32c6-lp/src/lp_clkrst/lp_rst_en.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn aon_efuse_core_reset_en(&mut self) -> AON_EFUSE_CORE_RESET_EN_W { AON_EFUSE_CORE_RESET_EN_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn lp_timer_reset_en(&mut self) -> LP_TIMER_RESET_EN_W { LP_TIMER_RESET_EN_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_reset_en(&mut self) -> WDT_RESET_EN_W { WDT_RESET_EN_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn ana_peri_reset_en(&mut self) -> ANA_PERI_RESET_EN_W { ANA_PERI_RESET_EN_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_clkrst/lpmem_force.rs b/esp32c6-lp/src/lp_clkrst/lpmem_force.rs index 3f5f9e6d95..4df9a50d63 100644 --- a/esp32c6-lp/src/lp_clkrst/lpmem_force.rs +++ b/esp32c6-lp/src/lp_clkrst/lpmem_force.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lpmem_clk_force_on(&mut self) -> LPMEM_CLK_FORCE_ON_W { LPMEM_CLK_FORCE_ON_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_clkrst/lpperi.rs b/esp32c6-lp/src/lp_clkrst/lpperi.rs index 1cb0db37f2..89ba2afa2d 100644 --- a/esp32c6-lp/src/lp_clkrst/lpperi.rs +++ b/esp32c6-lp/src/lp_clkrst/lpperi.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_i2c_clk_sel(&mut self) -> LP_I2C_CLK_SEL_W { LP_I2C_CLK_SEL_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_uart_clk_sel(&mut self) -> LP_UART_CLK_SEL_W { LP_UART_CLK_SEL_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_clkrst/rc32k_cntl.rs b/esp32c6-lp/src/lp_clkrst/rc32k_cntl.rs index 1ed06a22dc..126ca9cbb9 100644 --- a/esp32c6-lp/src/lp_clkrst/rc32k_cntl.rs +++ b/esp32c6-lp/src/lp_clkrst/rc32k_cntl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 22:31 - need_des"] #[inline(always)] - #[must_use] pub fn rc32k_dfreq(&mut self) -> RC32K_DFREQ_W { RC32K_DFREQ_W::new(self, 22) } diff --git a/esp32c6-lp/src/lp_clkrst/reset_cause.rs b/esp32c6-lp/src/lp_clkrst/reset_cause.rs index 1b8631e065..1dc581a6e8 100644 --- a/esp32c6-lp/src/lp_clkrst/reset_cause.rs +++ b/esp32c6-lp/src/lp_clkrst/reset_cause.rs @@ -36,19 +36,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn core0_reset_cause_clr(&mut self) -> CORE0_RESET_CAUSE_CLR_W { CORE0_RESET_CAUSE_CLR_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn core0_reset_flag_set(&mut self) -> CORE0_RESET_FLAG_SET_W { CORE0_RESET_FLAG_SET_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn core0_reset_flag_clr(&mut self) -> CORE0_RESET_FLAG_CLR_W { CORE0_RESET_FLAG_CLR_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_clkrst/xtal32k.rs b/esp32c6-lp/src/lp_clkrst/xtal32k.rs index a9535e5edb..9b3e03c2f8 100644 --- a/esp32c6-lp/src/lp_clkrst/xtal32k.rs +++ b/esp32c6-lp/src/lp_clkrst/xtal32k.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 22:24 - need_des"] #[inline(always)] - #[must_use] pub fn dres_xtal32k(&mut self) -> DRES_XTAL32K_W { DRES_XTAL32K_W::new(self, 22) } #[doc = "Bits 25:27 - need_des"] #[inline(always)] - #[must_use] pub fn dgm_xtal32k(&mut self) -> DGM_XTAL32K_W { DGM_XTAL32K_W::new(self, 25) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn dbuf_xtal32k(&mut self) -> DBUF_XTAL32K_W { DBUF_XTAL32K_W::new(self, 28) } #[doc = "Bits 29:31 - need_des"] #[inline(always)] - #[must_use] pub fn dac_xtal32k(&mut self) -> DAC_XTAL32K_W { DAC_XTAL32K_W::new(self, 29) } diff --git a/esp32c6-lp/src/lp_i2c0/clk_conf.rs b/esp32c6-lp/src/lp_i2c0/clk_conf.rs index 70fecdec18..238cb1aafd 100644 --- a/esp32c6-lp/src/lp_i2c0/clk_conf.rs +++ b/esp32c6-lp/src/lp_i2c0/clk_conf.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - the integral part of the fractional divisor for i2c module"] #[inline(always)] - #[must_use] pub fn sclk_div_num(&mut self) -> SCLK_DIV_NUM_W { SCLK_DIV_NUM_W::new(self, 0) } #[doc = "Bits 8:13 - the numerator of the fractional part of the fractional divisor for i2c module"] #[inline(always)] - #[must_use] pub fn sclk_div_a(&mut self) -> SCLK_DIV_A_W { SCLK_DIV_A_W::new(self, 8) } #[doc = "Bits 14:19 - the denominator of the fractional part of the fractional divisor for i2c module"] #[inline(always)] - #[must_use] pub fn sclk_div_b(&mut self) -> SCLK_DIV_B_W { SCLK_DIV_B_W::new(self, 14) } #[doc = "Bit 20 - The clock selection for i2c module:0-XTAL,1-CLK_8MHz."] #[inline(always)] - #[must_use] pub fn sclk_sel(&mut self) -> SCLK_SEL_W { SCLK_SEL_W::new(self, 20) } #[doc = "Bit 21 - The clock switch for i2c module"] #[inline(always)] - #[must_use] pub fn sclk_active(&mut self) -> SCLK_ACTIVE_W { SCLK_ACTIVE_W::new(self, 21) } diff --git a/esp32c6-lp/src/lp_i2c0/comd.rs b/esp32c6-lp/src/lp_i2c0/comd.rs index a041cb10fa..1c61eb6827 100644 --- a/esp32c6-lp/src/lp_i2c0/comd.rs +++ b/esp32c6-lp/src/lp_i2c0/comd.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - This is the content of command 0. It consists of three parts: op_code is the command, 0: RSTART, 1: WRITE, 2: READ, 3: STOP, 4: END. Byte_num represents the number of bytes that need to be sent or received. ack_check_en, ack_exp and ack are used to control the ACK bit. See I2C cmd structure for more Information."] #[inline(always)] - #[must_use] pub fn command(&mut self) -> COMMAND_W { COMMAND_W::new(self, 0) } #[doc = "Bit 31 - When command 0 is done in I2C Master mode, this bit changes to high level."] #[inline(always)] - #[must_use] pub fn command_done(&mut self) -> COMMAND_DONE_W { COMMAND_DONE_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_i2c0/ctr.rs b/esp32c6-lp/src/lp_i2c0/ctr.rs index 382d04a6b9..e271d128e3 100644 --- a/esp32c6-lp/src/lp_i2c0/ctr.rs +++ b/esp32c6-lp/src/lp_i2c0/ctr.rs @@ -100,67 +100,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: direct output, 0: open drain output."] #[inline(always)] - #[must_use] pub fn sda_force_out(&mut self) -> SDA_FORCE_OUT_W { SDA_FORCE_OUT_W::new(self, 0) } #[doc = "Bit 1 - 1: direct output, 0: open drain output."] #[inline(always)] - #[must_use] pub fn scl_force_out(&mut self) -> SCL_FORCE_OUT_W { SCL_FORCE_OUT_W::new(self, 1) } #[doc = "Bit 2 - This register is used to select the sample mode. 1: sample SDA data on the SCL low level. 0: sample SDA data on the SCL high level."] #[inline(always)] - #[must_use] pub fn sample_scl_level(&mut self) -> SAMPLE_SCL_LEVEL_W { SAMPLE_SCL_LEVEL_W::new(self, 2) } #[doc = "Bit 3 - This register is used to configure the ACK value that need to sent by master when the rx_fifo_cnt has reached the threshold."] #[inline(always)] - #[must_use] pub fn rx_full_ack_level(&mut self) -> RX_FULL_ACK_LEVEL_W { RX_FULL_ACK_LEVEL_W::new(self, 3) } #[doc = "Bit 5 - Set this bit to start sending the data in txfifo."] #[inline(always)] - #[must_use] pub fn trans_start(&mut self) -> TRANS_START_W { TRANS_START_W::new(self, 5) } #[doc = "Bit 6 - This bit is used to control the sending mode for data needing to be sent. 1: send data from the least significant bit, 0: send data from the most significant bit."] #[inline(always)] - #[must_use] pub fn tx_lsb_first(&mut self) -> TX_LSB_FIRST_W { TX_LSB_FIRST_W::new(self, 6) } #[doc = "Bit 7 - This bit is used to control the storage mode for received data. 1: receive data from the least significant bit, 0: receive data from the most significant bit."] #[inline(always)] - #[must_use] pub fn rx_lsb_first(&mut self) -> RX_LSB_FIRST_W { RX_LSB_FIRST_W::new(self, 7) } #[doc = "Bit 8 - Reserved"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 8) } #[doc = "Bit 9 - This is the enable bit for arbitration_lost."] #[inline(always)] - #[must_use] pub fn arbitration_en(&mut self) -> ARBITRATION_EN_W { ARBITRATION_EN_W::new(self, 9) } #[doc = "Bit 10 - This register is used to reset the scl FMS."] #[inline(always)] - #[must_use] pub fn fsm_rst(&mut self) -> FSM_RST_W { FSM_RST_W::new(self, 10) } #[doc = "Bit 11 - synchronization bit"] #[inline(always)] - #[must_use] pub fn conf_upgate(&mut self) -> CONF_UPGATE_W { CONF_UPGATE_W::new(self, 11) } diff --git a/esp32c6-lp/src/lp_i2c0/data.rs b/esp32c6-lp/src/lp_i2c0/data.rs index 7b61d0c9b4..85e1cbdac8 100644 --- a/esp32c6-lp/src/lp_i2c0/data.rs +++ b/esp32c6-lp/src/lp_i2c0/data.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - The value of rx FIFO read data."] #[inline(always)] - #[must_use] pub fn fifo_rdata(&mut self) -> FIFO_RDATA_W { FIFO_RDATA_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_i2c0/date.rs b/esp32c6-lp/src/lp_i2c0/date.rs index 1c9ad31092..a28324d146 100644 --- a/esp32c6-lp/src/lp_i2c0/date.rs +++ b/esp32c6-lp/src/lp_i2c0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This is the the version register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_i2c0/fifo_conf.rs b/esp32c6-lp/src/lp_i2c0/fifo_conf.rs index 747fd3be14..e640478fdc 100644 --- a/esp32c6-lp/src/lp_i2c0/fifo_conf.rs +++ b/esp32c6-lp/src/lp_i2c0/fifo_conf.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - The water mark threshold of rx FIFO in nonfifo access mode. When reg_reg_fifo_prt_en is 1 and rx FIFO counter is bigger than reg_rxfifo_wm_thrhd\\[3:0\\], reg_rxfifo_wm_int_raw bit will be valid."] #[inline(always)] - #[must_use] pub fn rxfifo_wm_thrhd(&mut self) -> RXFIFO_WM_THRHD_W { RXFIFO_WM_THRHD_W::new(self, 0) } #[doc = "Bits 5:8 - The water mark threshold of tx FIFO in nonfifo access mode. When reg_reg_fifo_prt_en is 1 and tx FIFO counter is smaller than reg_txfifo_wm_thrhd\\[3:0\\], reg_txfifo_wm_int_raw bit will be valid."] #[inline(always)] - #[must_use] pub fn txfifo_wm_thrhd(&mut self) -> TXFIFO_WM_THRHD_W { TXFIFO_WM_THRHD_W::new(self, 5) } #[doc = "Bit 10 - Set this bit to enable APB nonfifo access."] #[inline(always)] - #[must_use] pub fn nonfifo_en(&mut self) -> NONFIFO_EN_W { NONFIFO_EN_W::new(self, 10) } #[doc = "Bit 12 - Set this bit to reset rx-fifo."] #[inline(always)] - #[must_use] pub fn rx_fifo_rst(&mut self) -> RX_FIFO_RST_W { RX_FIFO_RST_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to reset tx-fifo."] #[inline(always)] - #[must_use] pub fn tx_fifo_rst(&mut self) -> TX_FIFO_RST_W { TX_FIFO_RST_W::new(self, 13) } #[doc = "Bit 14 - The control enable bit of FIFO pointer in non-fifo access mode. This bit controls the valid bits and the interrupts of tx/rx_fifo overflow, underflow, full and empty."] #[inline(always)] - #[must_use] pub fn fifo_prt_en(&mut self) -> FIFO_PRT_EN_W { FIFO_PRT_EN_W::new(self, 14) } diff --git a/esp32c6-lp/src/lp_i2c0/filter_cfg.rs b/esp32c6-lp/src/lp_i2c0/filter_cfg.rs index bfac5394cd..03c1bda7ac 100644 --- a/esp32c6-lp/src/lp_i2c0/filter_cfg.rs +++ b/esp32c6-lp/src/lp_i2c0/filter_cfg.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - When a pulse on the SCL input has smaller width than this register value in I2C module clock cycles, the I2C controller will ignore that pulse."] #[inline(always)] - #[must_use] pub fn scl_filter_thres(&mut self) -> SCL_FILTER_THRES_W { SCL_FILTER_THRES_W::new(self, 0) } #[doc = "Bits 4:7 - When a pulse on the SDA input has smaller width than this register value in I2C module clock cycles, the I2C controller will ignore that pulse."] #[inline(always)] - #[must_use] pub fn sda_filter_thres(&mut self) -> SDA_FILTER_THRES_W { SDA_FILTER_THRES_W::new(self, 4) } #[doc = "Bit 8 - This is the filter enable bit for SCL."] #[inline(always)] - #[must_use] pub fn scl_filter_en(&mut self) -> SCL_FILTER_EN_W { SCL_FILTER_EN_W::new(self, 8) } #[doc = "Bit 9 - This is the filter enable bit for SDA."] #[inline(always)] - #[must_use] pub fn sda_filter_en(&mut self) -> SDA_FILTER_EN_W { SDA_FILTER_EN_W::new(self, 9) } diff --git a/esp32c6-lp/src/lp_i2c0/int_clr.rs b/esp32c6-lp/src/lp_i2c0/int_clr.rs index 7d6d61bb24..4e3248f6db 100644 --- a/esp32c6-lp/src/lp_i2c0/int_clr.rs +++ b/esp32c6-lp/src/lp_i2c0/int_clr.rs @@ -41,97 +41,81 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear I2C_RXFIFO_WM_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_wm(&mut self) -> RXFIFO_WM_W { RXFIFO_WM_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear I2C_TXFIFO_WM_INT interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_wm(&mut self) -> TXFIFO_WM_W { TXFIFO_WM_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear I2C_RXFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the I2C_END_DETECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn end_detect(&mut self) -> END_DETECT_W { END_DETECT_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear the I2C_END_DETECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn byte_trans_done(&mut self) -> BYTE_TRANS_DONE_W { BYTE_TRANS_DONE_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the I2C_ARBITRATION_LOST_INT interrupt."] #[inline(always)] - #[must_use] pub fn arbitration_lost(&mut self) -> ARBITRATION_LOST_W { ARBITRATION_LOST_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear I2C_TRANS_COMPLETE_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_txfifo_udf(&mut self) -> MST_TXFIFO_UDF_W { MST_TXFIFO_UDF_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the I2C_TRANS_COMPLETE_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_complete(&mut self) -> TRANS_COMPLETE_W { TRANS_COMPLETE_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the I2C_TIME_OUT_INT interrupt."] #[inline(always)] - #[must_use] pub fn time_out(&mut self) -> TIME_OUT_W { TIME_OUT_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear the I2C_TRANS_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_start(&mut self) -> TRANS_START_W { TRANS_START_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to clear I2C_SLAVE_STRETCH_INT interrupt."] #[inline(always)] - #[must_use] pub fn nack(&mut self) -> NACK_W { NACK_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear I2C_TXFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_ovf(&mut self) -> TXFIFO_OVF_W { TXFIFO_OVF_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to clear I2C_RXFIFO_UDF_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_udf(&mut self) -> RXFIFO_UDF_W { RXFIFO_UDF_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to clear I2C_SCL_ST_TO_INT interrupt."] #[inline(always)] - #[must_use] pub fn scl_st_to(&mut self) -> SCL_ST_TO_W { SCL_ST_TO_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to clear I2C_SCL_MAIN_ST_TO_INT interrupt."] #[inline(always)] - #[must_use] pub fn scl_main_st_to(&mut self) -> SCL_MAIN_ST_TO_W { SCL_MAIN_ST_TO_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to clear I2C_DET_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn det_start(&mut self) -> DET_START_W { DET_START_W::new(self, 15) } diff --git a/esp32c6-lp/src/lp_i2c0/int_ena.rs b/esp32c6-lp/src/lp_i2c0/int_ena.rs index 07fb2fa5ea..a5e107d5a1 100644 --- a/esp32c6-lp/src/lp_i2c0/int_ena.rs +++ b/esp32c6-lp/src/lp_i2c0/int_ena.rs @@ -174,97 +174,81 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for I2C_RXFIFO_WM_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_wm(&mut self) -> RXFIFO_WM_W { RXFIFO_WM_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for I2C_TXFIFO_WM_INT interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_wm(&mut self) -> TXFIFO_WM_W { TXFIFO_WM_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for I2C_RXFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the I2C_END_DETECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn end_detect(&mut self) -> END_DETECT_W { END_DETECT_W::new(self, 3) } #[doc = "Bit 4 - The interrupt enable bit for the I2C_END_DETECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn byte_trans_done(&mut self) -> BYTE_TRANS_DONE_W { BYTE_TRANS_DONE_W::new(self, 4) } #[doc = "Bit 5 - The interrupt enable bit for the I2C_ARBITRATION_LOST_INT interrupt."] #[inline(always)] - #[must_use] pub fn arbitration_lost(&mut self) -> ARBITRATION_LOST_W { ARBITRATION_LOST_W::new(self, 5) } #[doc = "Bit 6 - The interrupt enable bit for I2C_TRANS_COMPLETE_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_txfifo_udf(&mut self) -> MST_TXFIFO_UDF_W { MST_TXFIFO_UDF_W::new(self, 6) } #[doc = "Bit 7 - The interrupt enable bit for the I2C_TRANS_COMPLETE_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_complete(&mut self) -> TRANS_COMPLETE_W { TRANS_COMPLETE_W::new(self, 7) } #[doc = "Bit 8 - The interrupt enable bit for the I2C_TIME_OUT_INT interrupt."] #[inline(always)] - #[must_use] pub fn time_out(&mut self) -> TIME_OUT_W { TIME_OUT_W::new(self, 8) } #[doc = "Bit 9 - The interrupt enable bit for the I2C_TRANS_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_start(&mut self) -> TRANS_START_W { TRANS_START_W::new(self, 9) } #[doc = "Bit 10 - The interrupt enable bit for I2C_SLAVE_STRETCH_INT interrupt."] #[inline(always)] - #[must_use] pub fn nack(&mut self) -> NACK_W { NACK_W::new(self, 10) } #[doc = "Bit 11 - The interrupt enable bit for I2C_TXFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_ovf(&mut self) -> TXFIFO_OVF_W { TXFIFO_OVF_W::new(self, 11) } #[doc = "Bit 12 - The interrupt enable bit for I2C_RXFIFO_UDF_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_udf(&mut self) -> RXFIFO_UDF_W { RXFIFO_UDF_W::new(self, 12) } #[doc = "Bit 13 - The interrupt enable bit for I2C_SCL_ST_TO_INT interrupt."] #[inline(always)] - #[must_use] pub fn scl_st_to(&mut self) -> SCL_ST_TO_W { SCL_ST_TO_W::new(self, 13) } #[doc = "Bit 14 - The interrupt enable bit for I2C_SCL_MAIN_ST_TO_INT interrupt."] #[inline(always)] - #[must_use] pub fn scl_main_st_to(&mut self) -> SCL_MAIN_ST_TO_W { SCL_MAIN_ST_TO_W::new(self, 14) } #[doc = "Bit 15 - The interrupt enable bit for I2C_DET_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn det_start(&mut self) -> DET_START_W { DET_START_W::new(self, 15) } diff --git a/esp32c6-lp/src/lp_i2c0/scl_high_period.rs b/esp32c6-lp/src/lp_i2c0/scl_high_period.rs index 1153c0e728..2cfa658d0a 100644 --- a/esp32c6-lp/src/lp_i2c0/scl_high_period.rs +++ b/esp32c6-lp/src/lp_i2c0/scl_high_period.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure for how long SCL setup to high level and remains high in master mode, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn scl_high_period(&mut self) -> SCL_HIGH_PERIOD_W { SCL_HIGH_PERIOD_W::new(self, 0) } #[doc = "Bits 9:15 - This register is used to configure for the SCL_FSM's waiting period for SCL high level in master mode, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn scl_wait_high_period(&mut self) -> SCL_WAIT_HIGH_PERIOD_W { SCL_WAIT_HIGH_PERIOD_W::new(self, 9) } diff --git a/esp32c6-lp/src/lp_i2c0/scl_low_period.rs b/esp32c6-lp/src/lp_i2c0/scl_low_period.rs index f8d802b480..9874b6f962 100644 --- a/esp32c6-lp/src/lp_i2c0/scl_low_period.rs +++ b/esp32c6-lp/src/lp_i2c0/scl_low_period.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure for how long SCL remains low in master mode, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn scl_low_period(&mut self) -> SCL_LOW_PERIOD_W { SCL_LOW_PERIOD_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_i2c0/scl_main_st_time_out.rs b/esp32c6-lp/src/lp_i2c0/scl_main_st_time_out.rs index 4b94a84d01..c96787154f 100644 --- a/esp32c6-lp/src/lp_i2c0/scl_main_st_time_out.rs +++ b/esp32c6-lp/src/lp_i2c0/scl_main_st_time_out.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - The threshold value of SCL_MAIN_FSM state unchanged period.nIt should be o more than 23"] #[inline(always)] - #[must_use] pub fn scl_main_st_to_i2c(&mut self) -> SCL_MAIN_ST_TO_I2C_W { SCL_MAIN_ST_TO_I2C_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_i2c0/scl_rstart_setup.rs b/esp32c6-lp/src/lp_i2c0/scl_rstart_setup.rs index c1a7053eec..203436a57b 100644 --- a/esp32c6-lp/src/lp_i2c0/scl_rstart_setup.rs +++ b/esp32c6-lp/src/lp_i2c0/scl_rstart_setup.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure the time between the positive edge of SCL and the negative edge of SDA for a RESTART condition, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_i2c0/scl_sp_conf.rs b/esp32c6-lp/src/lp_i2c0/scl_sp_conf.rs index ed2452044b..dbc65b04e9 100644 --- a/esp32c6-lp/src/lp_i2c0/scl_sp_conf.rs +++ b/esp32c6-lp/src/lp_i2c0/scl_sp_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - When I2C master is IDLE, set this bit to send out SCL pulses. The number of pulses equals to reg_scl_rst_slv_num\\[4:0\\]."] #[inline(always)] - #[must_use] pub fn scl_rst_slv_en(&mut self) -> SCL_RST_SLV_EN_W { SCL_RST_SLV_EN_W::new(self, 0) } #[doc = "Bits 1:5 - Configure the pulses of SCL generated in I2C master mode. Valid when reg_scl_rst_slv_en is 1."] #[inline(always)] - #[must_use] pub fn scl_rst_slv_num(&mut self) -> SCL_RST_SLV_NUM_W { SCL_RST_SLV_NUM_W::new(self, 1) } #[doc = "Bit 6 - The power down enable bit for the I2C output SCL line. 1: Power down. 0: Not power down. Set reg_scl_force_out and reg_scl_pd_en to 1 to stretch SCL low."] #[inline(always)] - #[must_use] pub fn scl_pd_en(&mut self) -> SCL_PD_EN_W { SCL_PD_EN_W::new(self, 6) } #[doc = "Bit 7 - The power down enable bit for the I2C output SDA line. 1: Power down. 0: Not power down. Set reg_sda_force_out and reg_sda_pd_en to 1 to stretch SDA low."] #[inline(always)] - #[must_use] pub fn sda_pd_en(&mut self) -> SDA_PD_EN_W { SDA_PD_EN_W::new(self, 7) } diff --git a/esp32c6-lp/src/lp_i2c0/scl_st_time_out.rs b/esp32c6-lp/src/lp_i2c0/scl_st_time_out.rs index 5d5bb0cdf0..2c4ef3d12d 100644 --- a/esp32c6-lp/src/lp_i2c0/scl_st_time_out.rs +++ b/esp32c6-lp/src/lp_i2c0/scl_st_time_out.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - The threshold value of SCL_FSM state unchanged period. It should be o more than 23"] #[inline(always)] - #[must_use] pub fn scl_st_to_i2c(&mut self) -> SCL_ST_TO_I2C_W { SCL_ST_TO_I2C_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_i2c0/scl_start_hold.rs b/esp32c6-lp/src/lp_i2c0/scl_start_hold.rs index 9c5229f113..efdfbc194d 100644 --- a/esp32c6-lp/src/lp_i2c0/scl_start_hold.rs +++ b/esp32c6-lp/src/lp_i2c0/scl_start_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure the time between the negative edge of SDA and the negative edge of SCL for a START condition, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_i2c0/scl_stop_hold.rs b/esp32c6-lp/src/lp_i2c0/scl_stop_hold.rs index da01c0553d..df2ba1ff1a 100644 --- a/esp32c6-lp/src/lp_i2c0/scl_stop_hold.rs +++ b/esp32c6-lp/src/lp_i2c0/scl_stop_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure the delay after the STOP condition, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_i2c0/scl_stop_setup.rs b/esp32c6-lp/src/lp_i2c0/scl_stop_setup.rs index cfa05ff67e..d1db579730 100644 --- a/esp32c6-lp/src/lp_i2c0/scl_stop_setup.rs +++ b/esp32c6-lp/src/lp_i2c0/scl_stop_setup.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure the time between the positive edge of SCL and the positive edge of SDA, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_i2c0/sda_hold.rs b/esp32c6-lp/src/lp_i2c0/sda_hold.rs index a0d78acbb9..4a67e2222b 100644 --- a/esp32c6-lp/src/lp_i2c0/sda_hold.rs +++ b/esp32c6-lp/src/lp_i2c0/sda_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure the time to hold the data after the negative edge of SCL, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_i2c0/sda_sample.rs b/esp32c6-lp/src/lp_i2c0/sda_sample.rs index b03e34e366..b211168b11 100644 --- a/esp32c6-lp/src/lp_i2c0/sda_sample.rs +++ b/esp32c6-lp/src/lp_i2c0/sda_sample.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure for how long SDA is sampled, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_i2c0/to.rs b/esp32c6-lp/src/lp_i2c0/to.rs index 9b92f1f93a..aa23944258 100644 --- a/esp32c6-lp/src/lp_i2c0/to.rs +++ b/esp32c6-lp/src/lp_i2c0/to.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to configure the timeout for receiving a data bit in APB clock cycles."] #[inline(always)] - #[must_use] pub fn time_out_value(&mut self) -> TIME_OUT_VALUE_W { TIME_OUT_VALUE_W::new(self, 0) } #[doc = "Bit 5 - This is the enable bit for time out control."] #[inline(always)] - #[must_use] pub fn time_out_en(&mut self) -> TIME_OUT_EN_W { TIME_OUT_EN_W::new(self, 5) } diff --git a/esp32c6-lp/src/lp_i2c_ana_mst/ana_conf1.rs b/esp32c6-lp/src/lp_i2c_ana_mst/ana_conf1.rs index 61c0f862b2..6ec70cb556 100644 --- a/esp32c6-lp/src/lp_i2c_ana_mst/ana_conf1.rs +++ b/esp32c6-lp/src/lp_i2c_ana_mst/ana_conf1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - need_des"] #[inline(always)] - #[must_use] pub fn lp_i2c_ana_mast_ana_conf1(&mut self) -> LP_I2C_ANA_MAST_ANA_CONF1_W { LP_I2C_ANA_MAST_ANA_CONF1_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_i2c_ana_mst/date.rs b/esp32c6-lp/src/lp_i2c_ana_mst/date.rs index 6a74a23b07..8623bd90fa 100644 --- a/esp32c6-lp/src/lp_i2c_ana_mst/date.rs +++ b/esp32c6-lp/src/lp_i2c_ana_mst/date.rs @@ -40,13 +40,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - need_des"] #[inline(always)] - #[must_use] pub fn lp_i2c_ana_mast_i2c_mat_date(&mut self) -> LP_I2C_ANA_MAST_I2C_MAT_DATE_W { LP_I2C_ANA_MAST_I2C_MAT_DATE_W::new(self, 0) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn lp_i2c_ana_mast_i2c_mat_clk_en( &mut self, ) -> LP_I2C_ANA_MAST_I2C_MAT_CLK_EN_W { diff --git a/esp32c6-lp/src/lp_i2c_ana_mst/device_en.rs b/esp32c6-lp/src/lp_i2c_ana_mst/device_en.rs index 2f44e3a520..4d211ffe1b 100644 --- a/esp32c6-lp/src/lp_i2c_ana_mst/device_en.rs +++ b/esp32c6-lp/src/lp_i2c_ana_mst/device_en.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - need_des"] #[inline(always)] - #[must_use] pub fn lp_i2c_ana_mast_i2c_device_en( &mut self, ) -> LP_I2C_ANA_MAST_I2C_DEVICE_EN_W { diff --git a/esp32c6-lp/src/lp_i2c_ana_mst/i2c0_conf.rs b/esp32c6-lp/src/lp_i2c_ana_mst/i2c0_conf.rs index e517aad966..73737c5aee 100644 --- a/esp32c6-lp/src/lp_i2c_ana_mst/i2c0_conf.rs +++ b/esp32c6-lp/src/lp_i2c_ana_mst/i2c0_conf.rs @@ -38,7 +38,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - need_des"] #[inline(always)] - #[must_use] pub fn lp_i2c_ana_mast_i2c0_conf(&mut self) -> LP_I2C_ANA_MAST_I2C0_CONF_W { LP_I2C_ANA_MAST_I2C0_CONF_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_i2c_ana_mst/i2c0_ctrl.rs b/esp32c6-lp/src/lp_i2c_ana_mst/i2c0_ctrl.rs index c0e4aeb5cf..fe4661af8f 100644 --- a/esp32c6-lp/src/lp_i2c_ana_mst/i2c0_ctrl.rs +++ b/esp32c6-lp/src/lp_i2c_ana_mst/i2c0_ctrl.rs @@ -38,7 +38,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:24 - need_des"] #[inline(always)] - #[must_use] pub fn lp_i2c_ana_mast_i2c0_ctrl(&mut self) -> LP_I2C_ANA_MAST_I2C0_CTRL_W { LP_I2C_ANA_MAST_I2C0_CTRL_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_i2c_ana_mst/i2c0_data.rs b/esp32c6-lp/src/lp_i2c_ana_mst/i2c0_data.rs index f321a87119..067657fc06 100644 --- a/esp32c6-lp/src/lp_i2c_ana_mst/i2c0_data.rs +++ b/esp32c6-lp/src/lp_i2c_ana_mst/i2c0_data.rs @@ -51,7 +51,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 8:10 - need_des"] #[inline(always)] - #[must_use] pub fn lp_i2c_ana_mast_i2c0_clk_sel( &mut self, ) -> LP_I2C_ANA_MAST_I2C0_CLK_SEL_W { @@ -59,7 +58,6 @@ impl W { } #[doc = "Bit 11 - need des"] #[inline(always)] - #[must_use] pub fn lp_i2c_ana_mast_i2c_mst_sel(&mut self) -> LP_I2C_ANA_MAST_I2C_MST_SEL_W { LP_I2C_ANA_MAST_I2C_MST_SEL_W::new(self, 11) } diff --git a/esp32c6-lp/src/lp_i2c_ana_mst/nouse.rs b/esp32c6-lp/src/lp_i2c_ana_mst/nouse.rs index 9252867f63..2ba602a1ce 100644 --- a/esp32c6-lp/src/lp_i2c_ana_mst/nouse.rs +++ b/esp32c6-lp/src/lp_i2c_ana_mst/nouse.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_i2c_ana_mast_i2c_mst_nouse(&mut self) -> LP_I2C_ANA_MAST_I2C_MST_NOUSE_W { LP_I2C_ANA_MAST_I2C_MST_NOUSE_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_io/date.rs b/esp32c6-lp/src/lp_io/date.rs index b7040f63da..2c1e0f720e 100644 --- a/esp32c6-lp/src/lp_io/date.rs +++ b/esp32c6-lp/src/lp_io/date.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - need des"] #[inline(always)] - #[must_use] pub fn lp_io_date(&mut self) -> LP_IO_DATE_W { LP_IO_DATE_W::new(self, 0) } #[doc = "Bit 31 - need des"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_io/enable.rs b/esp32c6-lp/src/lp_io/enable.rs index cdfd121942..eaa14bfeae 100644 --- a/esp32c6-lp/src/lp_io/enable.rs +++ b/esp32c6-lp/src/lp_io/enable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - set lp gpio output data"] #[inline(always)] - #[must_use] pub fn enable(&mut self) -> ENABLE_W { ENABLE_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_io/enable_w1tc.rs b/esp32c6-lp/src/lp_io/enable_w1tc.rs index 444058fd62..979abf6542 100644 --- a/esp32c6-lp/src/lp_io/enable_w1tc.rs +++ b/esp32c6-lp/src/lp_io/enable_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:7 - clear one time output data"] #[inline(always)] - #[must_use] pub fn enable_w1tc(&mut self) -> ENABLE_W1TC_W { ENABLE_W1TC_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_io/enable_w1ts.rs b/esp32c6-lp/src/lp_io/enable_w1ts.rs index 3d9458dd0a..d3a477d810 100644 --- a/esp32c6-lp/src/lp_io/enable_w1ts.rs +++ b/esp32c6-lp/src/lp_io/enable_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:7 - set one time output data"] #[inline(always)] - #[must_use] pub fn enable_w1ts(&mut self) -> ENABLE_W1TS_W { ENABLE_W1TS_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_io/gpio.rs b/esp32c6-lp/src/lp_io/gpio.rs index c117955c5b..e091cb545c 100644 --- a/esp32c6-lp/src/lp_io/gpio.rs +++ b/esp32c6-lp/src/lp_io/gpio.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need des"] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - need des"] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - need des"] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - need des"] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - need des"] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - need des"] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - need des"] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - need des"] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - need des"] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - need des"] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - need des"] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 12) } diff --git a/esp32c6-lp/src/lp_io/out.rs b/esp32c6-lp/src/lp_io/out.rs index c23f004654..7ed7f95ec8 100644 --- a/esp32c6-lp/src/lp_io/out.rs +++ b/esp32c6-lp/src/lp_io/out.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - set lp gpio output data"] #[inline(always)] - #[must_use] pub fn out_data(&mut self) -> OUT_DATA_W { OUT_DATA_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_io/out_w1tc.rs b/esp32c6-lp/src/lp_io/out_w1tc.rs index ab20192e2b..17d6f6e6c1 100644 --- a/esp32c6-lp/src/lp_io/out_w1tc.rs +++ b/esp32c6-lp/src/lp_io/out_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:7 - clear one time output data"] #[inline(always)] - #[must_use] pub fn out_data_w1tc(&mut self) -> OUT_DATA_W1TC_W { OUT_DATA_W1TC_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_io/out_w1ts.rs b/esp32c6-lp/src/lp_io/out_w1ts.rs index 1e237ee18b..55373d7bc1 100644 --- a/esp32c6-lp/src/lp_io/out_w1ts.rs +++ b/esp32c6-lp/src/lp_io/out_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:7 - set one time output data"] #[inline(always)] - #[must_use] pub fn out_data_w1ts(&mut self) -> OUT_DATA_W1TS_W { OUT_DATA_W1TS_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_io/pin.rs b/esp32c6-lp/src/lp_io/pin.rs index d2da3b4af9..de3578f770 100644 --- a/esp32c6-lp/src/lp_io/pin.rs +++ b/esp32c6-lp/src/lp_io/pin.rs @@ -66,37 +66,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - need des"] #[inline(always)] - #[must_use] pub fn sync_bypass(&mut self) -> SYNC_BYPASS_W { SYNC_BYPASS_W::new(self, 0) } #[doc = "Bit 2 - need des"] #[inline(always)] - #[must_use] pub fn pad_driver(&mut self) -> PAD_DRIVER_W { PAD_DRIVER_W::new(self, 2) } #[doc = "Bit 3 - need des"] #[inline(always)] - #[must_use] pub fn edge_wakeup_clr(&mut self) -> EDGE_WAKEUP_CLR_W { EDGE_WAKEUP_CLR_W::new(self, 3) } #[doc = "Bits 7:9 - need des"] #[inline(always)] - #[must_use] pub fn int_type(&mut self) -> INT_TYPE_W { INT_TYPE_W::new(self, 7) } #[doc = "Bit 10 - need des"] #[inline(always)] - #[must_use] pub fn wakeup_enable(&mut self) -> WAKEUP_ENABLE_W { WAKEUP_ENABLE_W::new(self, 10) } #[doc = "Bit 11 - need des"] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 11) } diff --git a/esp32c6-lp/src/lp_io/status.rs b/esp32c6-lp/src/lp_io/status.rs index 972151c2ce..76fb5db454 100644 --- a/esp32c6-lp/src/lp_io/status.rs +++ b/esp32c6-lp/src/lp_io/status.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - set lp gpio output data"] #[inline(always)] - #[must_use] pub fn interrupt(&mut self) -> INTERRUPT_W { INTERRUPT_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_io/status_w1tc.rs b/esp32c6-lp/src/lp_io/status_w1tc.rs index 95df854d26..2723988f14 100644 --- a/esp32c6-lp/src/lp_io/status_w1tc.rs +++ b/esp32c6-lp/src/lp_io/status_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:7 - clear one time output data"] #[inline(always)] - #[must_use] pub fn status_w1tc(&mut self) -> STATUS_W1TC_W { STATUS_W1TC_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_io/status_w1ts.rs b/esp32c6-lp/src/lp_io/status_w1ts.rs index 57e8018eb6..723ea3cc5e 100644 --- a/esp32c6-lp/src/lp_io/status_w1ts.rs +++ b/esp32c6-lp/src/lp_io/status_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:7 - set one time output data"] #[inline(always)] - #[must_use] pub fn status_w1ts(&mut self) -> STATUS_W1TS_W { STATUS_W1TS_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_peri/bus_timeout.rs b/esp32c6-lp/src/lp_peri/bus_timeout.rs index 79ff1d16dc..89e932dd29 100644 --- a/esp32c6-lp/src/lp_peri/bus_timeout.rs +++ b/esp32c6-lp/src/lp_peri/bus_timeout.rs @@ -39,19 +39,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 14:29 - need_des"] #[inline(always)] - #[must_use] pub fn lp_peri_timeout_thres(&mut self) -> LP_PERI_TIMEOUT_THRES_W { LP_PERI_TIMEOUT_THRES_W::new(self, 14) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_peri_timeout_int_clear(&mut self) -> LP_PERI_TIMEOUT_INT_CLEAR_W { LP_PERI_TIMEOUT_INT_CLEAR_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_peri_timeout_protect_en(&mut self) -> LP_PERI_TIMEOUT_PROTECT_EN_W { LP_PERI_TIMEOUT_PROTECT_EN_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_peri/clk_en.rs b/esp32c6-lp/src/lp_peri/clk_en.rs index 01835da1d6..42f9971ee6 100644 --- a/esp32c6-lp/src/lp_peri/clk_en.rs +++ b/esp32c6-lp/src/lp_peri/clk_en.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 23 - need_des"] #[inline(always)] - #[must_use] pub fn lp_touch_ck_en(&mut self) -> LP_TOUCH_CK_EN_W { LP_TOUCH_CK_EN_W::new(self, 23) } #[doc = "Bit 24 - need_des"] #[inline(always)] - #[must_use] pub fn rng_ck_en(&mut self) -> RNG_CK_EN_W { RNG_CK_EN_W::new(self, 24) } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn otp_dbg_ck_en(&mut self) -> OTP_DBG_CK_EN_W { OTP_DBG_CK_EN_W::new(self, 25) } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn lp_uart_ck_en(&mut self) -> LP_UART_CK_EN_W { LP_UART_CK_EN_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn lp_io_ck_en(&mut self) -> LP_IO_CK_EN_W { LP_IO_CK_EN_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn lp_ext_i2c_ck_en(&mut self) -> LP_EXT_I2C_CK_EN_W { LP_EXT_I2C_CK_EN_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn lp_ana_i2c_ck_en(&mut self) -> LP_ANA_I2C_CK_EN_W { LP_ANA_I2C_CK_EN_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn efuse_ck_en(&mut self) -> EFUSE_CK_EN_W { EFUSE_CK_EN_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_ck_en(&mut self) -> LP_CPU_CK_EN_W { LP_CPU_CK_EN_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_peri/cpu.rs b/esp32c6-lp/src/lp_peri/cpu.rs index e995eef98e..bd16a0dee8 100644 --- a/esp32c6-lp/src/lp_peri/cpu.rs +++ b/esp32c6-lp/src/lp_peri/cpu.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lpcore_dbgm_unavaliable(&mut self) -> LPCORE_DBGM_UNAVALIABLE_W { LPCORE_DBGM_UNAVALIABLE_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_peri/date.rs b/esp32c6-lp/src/lp_peri/date.rs index 8a620eff45..d0ae23250b 100644 --- a/esp32c6-lp/src/lp_peri/date.rs +++ b/esp32c6-lp/src/lp_peri/date.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - need_des"] #[inline(always)] - #[must_use] pub fn lpperi_date(&mut self) -> LPPERI_DATE_W { LPPERI_DATE_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_peri/mem_ctrl.rs b/esp32c6-lp/src/lp_peri/mem_ctrl.rs index bb328a67ef..d99e81fbe2 100644 --- a/esp32c6-lp/src/lp_peri/mem_ctrl.rs +++ b/esp32c6-lp/src/lp_peri/mem_ctrl.rs @@ -56,31 +56,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn uart_wakeup_flag_clr(&mut self) -> UART_WAKEUP_FLAG_CLR_W { UART_WAKEUP_FLAG_CLR_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn uart_wakeup_flag(&mut self) -> UART_WAKEUP_FLAG_W { UART_WAKEUP_FLAG_W::new(self, 1) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn uart_wakeup_en(&mut self) -> UART_WAKEUP_EN_W { UART_WAKEUP_EN_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn uart_mem_force_pd(&mut self) -> UART_MEM_FORCE_PD_W { UART_MEM_FORCE_PD_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn uart_mem_force_pu(&mut self) -> UART_MEM_FORCE_PU_W { UART_MEM_FORCE_PU_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_peri/reset_en.rs b/esp32c6-lp/src/lp_peri/reset_en.rs index 8fba7d89fd..6c7173c198 100644 --- a/esp32c6-lp/src/lp_peri/reset_en.rs +++ b/esp32c6-lp/src/lp_peri/reset_en.rs @@ -88,55 +88,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 23 - need_des"] #[inline(always)] - #[must_use] pub fn bus_reset_en(&mut self) -> BUS_RESET_EN_W { BUS_RESET_EN_W::new(self, 23) } #[doc = "Bit 24 - need_des"] #[inline(always)] - #[must_use] pub fn lp_touch_reset_en(&mut self) -> LP_TOUCH_RESET_EN_W { LP_TOUCH_RESET_EN_W::new(self, 24) } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn otp_dbg_reset_en(&mut self) -> OTP_DBG_RESET_EN_W { OTP_DBG_RESET_EN_W::new(self, 25) } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn lp_uart_reset_en(&mut self) -> LP_UART_RESET_EN_W { LP_UART_RESET_EN_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn lp_io_reset_en(&mut self) -> LP_IO_RESET_EN_W { LP_IO_RESET_EN_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn lp_ext_i2c_reset_en(&mut self) -> LP_EXT_I2C_RESET_EN_W { LP_EXT_I2C_RESET_EN_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn lp_ana_i2c_reset_en(&mut self) -> LP_ANA_I2C_RESET_EN_W { LP_ANA_I2C_RESET_EN_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn efuse_reset_en(&mut self) -> EFUSE_RESET_EN_W { EFUSE_RESET_EN_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_reset_en(&mut self) -> LP_CPU_RESET_EN_W { LP_CPU_RESET_EN_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_tee/clock_gate.rs b/esp32c6-lp/src/lp_tee/clock_gate.rs index 32b396e342..e8e2e74471 100644 --- a/esp32c6-lp/src/lp_tee/clock_gate.rs +++ b/esp32c6-lp/src/lp_tee/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_clk_en"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_tee/date.rs b/esp32c6-lp/src/lp_tee/date.rs index df6edf13b3..2254ad3c3b 100644 --- a/esp32c6-lp/src/lp_tee/date.rs +++ b/esp32c6-lp/src/lp_tee/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - reg_tee_date"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_tee/force_acc_hp.rs b/esp32c6-lp/src/lp_tee/force_acc_hp.rs index d49eecde8e..896e991db0 100644 --- a/esp32c6-lp/src/lp_tee/force_acc_hp.rs +++ b/esp32c6-lp/src/lp_tee/force_acc_hp.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aon_force_acc_hpmem_en(&mut self) -> LP_AON_FORCE_ACC_HPMEM_EN_W { LP_AON_FORCE_ACC_HPMEM_EN_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_tee/m_mode_ctrl.rs b/esp32c6-lp/src/lp_tee/m_mode_ctrl.rs index ca564cef2d..00f64ff0d0 100644 --- a/esp32c6-lp/src/lp_tee/m_mode_ctrl.rs +++ b/esp32c6-lp/src/lp_tee/m_mode_ctrl.rs @@ -107,7 +107,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - M0 security level mode: 2'd3: ree_mode2. 2'd2: ree_mode1. 2'd1: ree_mode0. 2'd0: tee_mode"] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_timer/date.rs b/esp32c6-lp/src/lp_timer/date.rs index 35fd3ed2bf..c93f4ff77a 100644 --- a/esp32c6-lp/src/lp_timer/date.rs +++ b/esp32c6-lp/src/lp_timer/date.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - need_des"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_timer/int_clr.rs b/esp32c6-lp/src/lp_timer/int_clr.rs index 8b8ef14cac..bd1f6dde93 100644 --- a/esp32c6-lp/src/lp_timer/int_clr.rs +++ b/esp32c6-lp/src/lp_timer/int_clr.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn overflow(&mut self) -> OVERFLOW_W { OVERFLOW_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn soc_wakeup(&mut self) -> SOC_WAKEUP_W { SOC_WAKEUP_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_timer/int_ena.rs b/esp32c6-lp/src/lp_timer/int_ena.rs index b79edd4010..2749e28086 100644 --- a/esp32c6-lp/src/lp_timer/int_ena.rs +++ b/esp32c6-lp/src/lp_timer/int_ena.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn overflow(&mut self) -> OVERFLOW_W { OVERFLOW_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn soc_wakeup(&mut self) -> SOC_WAKEUP_W { SOC_WAKEUP_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_timer/int_raw.rs b/esp32c6-lp/src/lp_timer/int_raw.rs index a64ceb0d90..a9d26874dc 100644 --- a/esp32c6-lp/src/lp_timer/int_raw.rs +++ b/esp32c6-lp/src/lp_timer/int_raw.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn overflow(&mut self) -> OVERFLOW_W { OVERFLOW_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn soc_wakeup(&mut self) -> SOC_WAKEUP_W { SOC_WAKEUP_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_timer/lp_int_clr.rs b/esp32c6-lp/src/lp_timer/lp_int_clr.rs index 80f7949cb6..67b3bb4fb9 100644 --- a/esp32c6-lp/src/lp_timer/lp_int_clr.rs +++ b/esp32c6-lp/src/lp_timer/lp_int_clr.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_overflow(&mut self) -> MAIN_TIMER_OVERFLOW_W { MAIN_TIMER_OVERFLOW_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer(&mut self) -> MAIN_TIMER_W { MAIN_TIMER_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_timer/lp_int_ena.rs b/esp32c6-lp/src/lp_timer/lp_int_ena.rs index 514015a432..ec253e0ca7 100644 --- a/esp32c6-lp/src/lp_timer/lp_int_ena.rs +++ b/esp32c6-lp/src/lp_timer/lp_int_ena.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_overflow(&mut self) -> MAIN_TIMER_OVERFLOW_W { MAIN_TIMER_OVERFLOW_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer(&mut self) -> MAIN_TIMER_W { MAIN_TIMER_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_timer/lp_int_raw.rs b/esp32c6-lp/src/lp_timer/lp_int_raw.rs index 135f2f1dec..902617af18 100644 --- a/esp32c6-lp/src/lp_timer/lp_int_raw.rs +++ b/esp32c6-lp/src/lp_timer/lp_int_raw.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_overflow(&mut self) -> MAIN_TIMER_OVERFLOW_W { MAIN_TIMER_OVERFLOW_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer(&mut self) -> MAIN_TIMER_W { MAIN_TIMER_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_timer/main_overflow.rs b/esp32c6-lp/src/lp_timer/main_overflow.rs index 80743012dc..1ed21c16d1 100644 --- a/esp32c6-lp/src/lp_timer/main_overflow.rs +++ b/esp32c6-lp/src/lp_timer/main_overflow.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_alarm_load(&mut self) -> MAIN_TIMER_ALARM_LOAD_W { MAIN_TIMER_ALARM_LOAD_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_timer/tar0_high.rs b/esp32c6-lp/src/lp_timer/tar0_high.rs index c8a67c7e6e..1abc8bc13b 100644 --- a/esp32c6-lp/src/lp_timer/tar0_high.rs +++ b/esp32c6-lp/src/lp_timer/tar0_high.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_tar_high0(&mut self) -> MAIN_TIMER_TAR_HIGH0_W { MAIN_TIMER_TAR_HIGH0_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_tar_en0(&mut self) -> MAIN_TIMER_TAR_EN0_W { MAIN_TIMER_TAR_EN0_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_timer/tar0_low.rs b/esp32c6-lp/src/lp_timer/tar0_low.rs index 2b8de9d157..0f87653d28 100644 --- a/esp32c6-lp/src/lp_timer/tar0_low.rs +++ b/esp32c6-lp/src/lp_timer/tar0_low.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_tar_low0(&mut self) -> MAIN_TIMER_TAR_LOW0_W { MAIN_TIMER_TAR_LOW0_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_timer/tar1_high.rs b/esp32c6-lp/src/lp_timer/tar1_high.rs index 769e72a5e1..c602790138 100644 --- a/esp32c6-lp/src/lp_timer/tar1_high.rs +++ b/esp32c6-lp/src/lp_timer/tar1_high.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_tar_high1(&mut self) -> MAIN_TIMER_TAR_HIGH1_W { MAIN_TIMER_TAR_HIGH1_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_tar_en1(&mut self) -> MAIN_TIMER_TAR_EN1_W { MAIN_TIMER_TAR_EN1_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_timer/tar1_low.rs b/esp32c6-lp/src/lp_timer/tar1_low.rs index acc4ad9993..569245d574 100644 --- a/esp32c6-lp/src/lp_timer/tar1_low.rs +++ b/esp32c6-lp/src/lp_timer/tar1_low.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_tar_low1(&mut self) -> MAIN_TIMER_TAR_LOW1_W { MAIN_TIMER_TAR_LOW1_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_timer/update.rs b/esp32c6-lp/src/lp_timer/update.rs index 5fa60716d1..4ae4ebc4d9 100644 --- a/esp32c6-lp/src/lp_timer/update.rs +++ b/esp32c6-lp/src/lp_timer/update.rs @@ -46,25 +46,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_update(&mut self) -> MAIN_TIMER_UPDATE_W { MAIN_TIMER_UPDATE_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_xtal_off(&mut self) -> MAIN_TIMER_XTAL_OFF_W { MAIN_TIMER_XTAL_OFF_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_sys_stall(&mut self) -> MAIN_TIMER_SYS_STALL_W { MAIN_TIMER_SYS_STALL_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_sys_rst(&mut self) -> MAIN_TIMER_SYS_RST_W { MAIN_TIMER_SYS_RST_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_uart/at_cmd_char_sync.rs b/esp32c6-lp/src/lp_uart/at_cmd_char_sync.rs index efa8404712..3072a3e3b4 100644 --- a/esp32c6-lp/src/lp_uart/at_cmd_char_sync.rs +++ b/esp32c6-lp/src/lp_uart/at_cmd_char_sync.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register is used to configure the content of at_cmd char."] #[inline(always)] - #[must_use] pub fn at_cmd_char(&mut self) -> AT_CMD_CHAR_W { AT_CMD_CHAR_W::new(self, 0) } #[doc = "Bits 8:15 - This register is used to configure the num of continuous at_cmd chars received by receiver."] #[inline(always)] - #[must_use] pub fn char_num(&mut self) -> CHAR_NUM_W { CHAR_NUM_W::new(self, 8) } diff --git a/esp32c6-lp/src/lp_uart/at_cmd_gaptout_sync.rs b/esp32c6-lp/src/lp_uart/at_cmd_gaptout_sync.rs index a98f7ac8d8..bb56e9f7e1 100644 --- a/esp32c6-lp/src/lp_uart/at_cmd_gaptout_sync.rs +++ b/esp32c6-lp/src/lp_uart/at_cmd_gaptout_sync.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the duration time between the at_cmd chars."] #[inline(always)] - #[must_use] pub fn rx_gap_tout(&mut self) -> RX_GAP_TOUT_W { RX_GAP_TOUT_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_uart/at_cmd_postcnt_sync.rs b/esp32c6-lp/src/lp_uart/at_cmd_postcnt_sync.rs index b4f30c30b4..d3cb1d2c69 100644 --- a/esp32c6-lp/src/lp_uart/at_cmd_postcnt_sync.rs +++ b/esp32c6-lp/src/lp_uart/at_cmd_postcnt_sync.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the duration time between the last at_cmd and the next data."] #[inline(always)] - #[must_use] pub fn post_idle_num(&mut self) -> POST_IDLE_NUM_W { POST_IDLE_NUM_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_uart/at_cmd_precnt_sync.rs b/esp32c6-lp/src/lp_uart/at_cmd_precnt_sync.rs index 62f31ba20b..7e10494fc2 100644 --- a/esp32c6-lp/src/lp_uart/at_cmd_precnt_sync.rs +++ b/esp32c6-lp/src/lp_uart/at_cmd_precnt_sync.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the idle duration time before the first at_cmd is received by receiver."] #[inline(always)] - #[must_use] pub fn pre_idle_num(&mut self) -> PRE_IDLE_NUM_W { PRE_IDLE_NUM_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_uart/clk_conf.rs b/esp32c6-lp/src/lp_uart/clk_conf.rs index 65c585b260..3a83cd7cdc 100644 --- a/esp32c6-lp/src/lp_uart/clk_conf.rs +++ b/esp32c6-lp/src/lp_uart/clk_conf.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - The denominator of the frequency divider factor."] #[inline(always)] - #[must_use] pub fn sclk_div_b(&mut self) -> SCLK_DIV_B_W { SCLK_DIV_B_W::new(self, 0) } #[doc = "Bits 6:11 - The numerator of the frequency divider factor."] #[inline(always)] - #[must_use] pub fn sclk_div_a(&mut self) -> SCLK_DIV_A_W { SCLK_DIV_A_W::new(self, 6) } #[doc = "Bits 12:19 - The integral part of the frequency divider factor."] #[inline(always)] - #[must_use] pub fn sclk_div_num(&mut self) -> SCLK_DIV_NUM_W { SCLK_DIV_NUM_W::new(self, 12) } #[doc = "Bits 20:21 - UART clock source select. 1: 80Mhz. 2: 8Mhz. 3: XTAL."] #[inline(always)] - #[must_use] pub fn sclk_sel(&mut self) -> SCLK_SEL_W { SCLK_SEL_W::new(self, 20) } #[doc = "Bit 22 - Set this bit to enable UART Tx/Rx clock."] #[inline(always)] - #[must_use] pub fn sclk_en(&mut self) -> SCLK_EN_W { SCLK_EN_W::new(self, 22) } #[doc = "Bit 23 - Write 1 then write 0 to this bit to reset UART Tx/Rx."] #[inline(always)] - #[must_use] pub fn rst_core(&mut self) -> RST_CORE_W { RST_CORE_W::new(self, 23) } #[doc = "Bit 24 - Set this bit to enable UART Tx clock."] #[inline(always)] - #[must_use] pub fn tx_sclk_en(&mut self) -> TX_SCLK_EN_W { TX_SCLK_EN_W::new(self, 24) } #[doc = "Bit 25 - Set this bit to enable UART Rx clock."] #[inline(always)] - #[must_use] pub fn rx_sclk_en(&mut self) -> RX_SCLK_EN_W { RX_SCLK_EN_W::new(self, 25) } #[doc = "Bit 26 - Write 1 then write 0 to this bit to reset UART Tx."] #[inline(always)] - #[must_use] pub fn tx_rst_core(&mut self) -> TX_RST_CORE_W { TX_RST_CORE_W::new(self, 26) } #[doc = "Bit 27 - Write 1 then write 0 to this bit to reset UART Rx."] #[inline(always)] - #[must_use] pub fn rx_rst_core(&mut self) -> RX_RST_CORE_W { RX_RST_CORE_W::new(self, 27) } diff --git a/esp32c6-lp/src/lp_uart/clkdiv_sync.rs b/esp32c6-lp/src/lp_uart/clkdiv_sync.rs index 9357ed94ea..7d8ad8934f 100644 --- a/esp32c6-lp/src/lp_uart/clkdiv_sync.rs +++ b/esp32c6-lp/src/lp_uart/clkdiv_sync.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - The integral part of the frequency divider factor."] #[inline(always)] - #[must_use] pub fn clkdiv(&mut self) -> CLKDIV_W { CLKDIV_W::new(self, 0) } #[doc = "Bits 20:23 - The decimal part of the frequency divider factor."] #[inline(always)] - #[must_use] pub fn clkdiv_frag(&mut self) -> CLKDIV_FRAG_W { CLKDIV_FRAG_W::new(self, 20) } diff --git a/esp32c6-lp/src/lp_uart/conf0_sync.rs b/esp32c6-lp/src/lp_uart/conf0_sync.rs index 3be42c6d4f..6d17843545 100644 --- a/esp32c6-lp/src/lp_uart/conf0_sync.rs +++ b/esp32c6-lp/src/lp_uart/conf0_sync.rs @@ -164,91 +164,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This register is used to configure the parity check mode."] #[inline(always)] - #[must_use] pub fn parity(&mut self) -> PARITY_W { PARITY_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to enable uart parity check."] #[inline(always)] - #[must_use] pub fn parity_en(&mut self) -> PARITY_EN_W { PARITY_EN_W::new(self, 1) } #[doc = "Bits 2:3 - This register is used to set the length of data."] #[inline(always)] - #[must_use] pub fn bit_num(&mut self) -> BIT_NUM_W { BIT_NUM_W::new(self, 2) } #[doc = "Bits 4:5 - This register is used to set the length of stop bit."] #[inline(always)] - #[must_use] pub fn stop_bit_num(&mut self) -> STOP_BIT_NUM_W { STOP_BIT_NUM_W::new(self, 4) } #[doc = "Bit 6 - Set this bit to enbale transmitter to send NULL when the process of sending data is done."] #[inline(always)] - #[must_use] pub fn txd_brk(&mut self) -> TXD_BRK_W { TXD_BRK_W::new(self, 6) } #[doc = "Bit 12 - Set this bit to enable uart loopback test mode."] #[inline(always)] - #[must_use] pub fn loopback(&mut self) -> LOOPBACK_W { LOOPBACK_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to enable flow control function for transmitter."] #[inline(always)] - #[must_use] pub fn tx_flow_en(&mut self) -> TX_FLOW_EN_W { TX_FLOW_EN_W::new(self, 13) } #[doc = "Bit 15 - Set this bit to inverse the level value of uart rxd signal."] #[inline(always)] - #[must_use] pub fn rxd_inv(&mut self) -> RXD_INV_W { RXD_INV_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to inverse the level value of uart txd signal."] #[inline(always)] - #[must_use] pub fn txd_inv(&mut self) -> TXD_INV_W { TXD_INV_W::new(self, 16) } #[doc = "Bit 17 - Disable UART Rx data overflow detect."] #[inline(always)] - #[must_use] pub fn dis_rx_dat_ovf(&mut self) -> DIS_RX_DAT_OVF_W { DIS_RX_DAT_OVF_W::new(self, 17) } #[doc = "Bit 18 - 1'h1: Receiver stops storing data into FIFO when data is wrong. 1'h0: Receiver stores the data even if the received data is wrong."] #[inline(always)] - #[must_use] pub fn err_wr_mask(&mut self) -> ERR_WR_MASK_W { ERR_WR_MASK_W::new(self, 18) } #[doc = "Bit 20 - UART memory clock gate enable signal."] #[inline(always)] - #[must_use] pub fn mem_clk_en(&mut self) -> MEM_CLK_EN_W { MEM_CLK_EN_W::new(self, 20) } #[doc = "Bit 21 - This register is used to configure the software rts signal which is used in software flow control."] #[inline(always)] - #[must_use] pub fn sw_rts(&mut self) -> SW_RTS_W { SW_RTS_W::new(self, 21) } #[doc = "Bit 22 - Set this bit to reset the uart receive-FIFO."] #[inline(always)] - #[must_use] pub fn rxfifo_rst(&mut self) -> RXFIFO_RST_W { RXFIFO_RST_W::new(self, 22) } #[doc = "Bit 23 - Set this bit to reset the uart transmit-FIFO."] #[inline(always)] - #[must_use] pub fn txfifo_rst(&mut self) -> TXFIFO_RST_W { TXFIFO_RST_W::new(self, 23) } diff --git a/esp32c6-lp/src/lp_uart/conf1.rs b/esp32c6-lp/src/lp_uart/conf1.rs index b658df82b5..afc0b29e3c 100644 --- a/esp32c6-lp/src/lp_uart/conf1.rs +++ b/esp32c6-lp/src/lp_uart/conf1.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 3:7 - It will produce rxfifo_full_int interrupt when receiver receives more data than this register value."] #[inline(always)] - #[must_use] pub fn rxfifo_full_thrhd(&mut self) -> RXFIFO_FULL_THRHD_W { RXFIFO_FULL_THRHD_W::new(self, 3) } #[doc = "Bits 11:15 - It will produce txfifo_empty_int interrupt when the data amount in Tx-FIFO is less than this register value."] #[inline(always)] - #[must_use] pub fn txfifo_empty_thrhd(&mut self) -> TXFIFO_EMPTY_THRHD_W { TXFIFO_EMPTY_THRHD_W::new(self, 11) } #[doc = "Bit 16 - Set this bit to inverse the level value of uart cts signal."] #[inline(always)] - #[must_use] pub fn cts_inv(&mut self) -> CTS_INV_W { CTS_INV_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to inverse the level value of uart dsr signal."] #[inline(always)] - #[must_use] pub fn dsr_inv(&mut self) -> DSR_INV_W { DSR_INV_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to inverse the level value of uart rts signal."] #[inline(always)] - #[must_use] pub fn rts_inv(&mut self) -> RTS_INV_W { RTS_INV_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to inverse the level value of uart dtr signal."] #[inline(always)] - #[must_use] pub fn dtr_inv(&mut self) -> DTR_INV_W { DTR_INV_W::new(self, 19) } #[doc = "Bit 20 - This register is used to configure the software dtr signal which is used in software flow control."] #[inline(always)] - #[must_use] pub fn sw_dtr(&mut self) -> SW_DTR_W { SW_DTR_W::new(self, 20) } #[doc = "Bit 21 - 1'h1: Force clock on for register. 1'h0: Support clock only when application writes registers."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 21) } diff --git a/esp32c6-lp/src/lp_uart/date.rs b/esp32c6-lp/src/lp_uart/date.rs index ee12929a0e..fe002d398c 100644 --- a/esp32c6-lp/src/lp_uart/date.rs +++ b/esp32c6-lp/src/lp_uart/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This is the version register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_uart/fifo.rs b/esp32c6-lp/src/lp_uart/fifo.rs index bbd207ed48..044c77bb18 100644 --- a/esp32c6-lp/src/lp_uart/fifo.rs +++ b/esp32c6-lp/src/lp_uart/fifo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - UART 0 accesses FIFO via this register."] #[inline(always)] - #[must_use] pub fn rxfifo_rd_byte(&mut self) -> RXFIFO_RD_BYTE_W { RXFIFO_RD_BYTE_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_uart/hwfc_conf_sync.rs b/esp32c6-lp/src/lp_uart/hwfc_conf_sync.rs index 34ed2f9d79..40c3e51de3 100644 --- a/esp32c6-lp/src/lp_uart/hwfc_conf_sync.rs +++ b/esp32c6-lp/src/lp_uart/hwfc_conf_sync.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 3:7 - This register is used to configure the maximum amount of data that can be received when hardware flow control works."] #[inline(always)] - #[must_use] pub fn rx_flow_thrhd(&mut self) -> RX_FLOW_THRHD_W { RX_FLOW_THRHD_W::new(self, 3) } #[doc = "Bit 8 - This is the flow enable bit for UART receiver."] #[inline(always)] - #[must_use] pub fn rx_flow_en(&mut self) -> RX_FLOW_EN_W { RX_FLOW_EN_W::new(self, 8) } diff --git a/esp32c6-lp/src/lp_uart/id.rs b/esp32c6-lp/src/lp_uart/id.rs index eb25e6637f..23a8344e90 100644 --- a/esp32c6-lp/src/lp_uart/id.rs +++ b/esp32c6-lp/src/lp_uart/id.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This register is used to configure the uart_id."] #[inline(always)] - #[must_use] pub fn id(&mut self) -> ID_W { ID_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_uart/idle_conf_sync.rs b/esp32c6-lp/src/lp_uart/idle_conf_sync.rs index f90e0dc8bd..caba2ac5b6 100644 --- a/esp32c6-lp/src/lp_uart/idle_conf_sync.rs +++ b/esp32c6-lp/src/lp_uart/idle_conf_sync.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - It will produce frame end signal when receiver takes more time to receive one byte data than this register value."] #[inline(always)] - #[must_use] pub fn rx_idle_thrhd(&mut self) -> RX_IDLE_THRHD_W { RX_IDLE_THRHD_W::new(self, 0) } #[doc = "Bits 10:19 - This register is used to configure the duration time between transfers."] #[inline(always)] - #[must_use] pub fn tx_idle_num(&mut self) -> TX_IDLE_NUM_W { TX_IDLE_NUM_W::new(self, 10) } diff --git a/esp32c6-lp/src/lp_uart/int_clr.rs b/esp32c6-lp/src/lp_uart/int_clr.rs index ee55b72abd..0161761324 100644 --- a/esp32c6-lp/src/lp_uart/int_clr.rs +++ b/esp32c6-lp/src/lp_uart/int_clr.rs @@ -43,103 +43,86 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the rxfifo_full_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_full(&mut self) -> RXFIFO_FULL_W { RXFIFO_FULL_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear txfifo_empty_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_empty(&mut self) -> TXFIFO_EMPTY_W { TXFIFO_EMPTY_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear parity_err_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn parity_err(&mut self) -> PARITY_ERR_W { PARITY_ERR_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear frm_err_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn frm_err(&mut self) -> FRM_ERR_W { FRM_ERR_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear rxfifo_ovf_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the dsr_chg_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn dsr_chg(&mut self) -> DSR_CHG_W { DSR_CHG_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the cts_chg_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn cts_chg(&mut self) -> CTS_CHG_W { CTS_CHG_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the brk_det_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn brk_det(&mut self) -> BRK_DET_W { BRK_DET_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the rxfifo_tout_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_tout(&mut self) -> RXFIFO_TOUT_W { RXFIFO_TOUT_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear the sw_xon_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn sw_xon(&mut self) -> SW_XON_W { SW_XON_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to clear the sw_xoff_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn sw_xoff(&mut self) -> SW_XOFF_W { SW_XOFF_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear the glitch_det_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to clear the tx_brk_done_int_raw interrupt.."] #[inline(always)] - #[must_use] pub fn tx_brk_done(&mut self) -> TX_BRK_DONE_W { TX_BRK_DONE_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to clear the tx_brk_idle_done_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn tx_brk_idle_done(&mut self) -> TX_BRK_IDLE_DONE_W { TX_BRK_IDLE_DONE_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to clear the tx_done_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 14) } #[doc = "Bit 18 - Set this bit to clear the at_cmd_char_det_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn at_cmd_char_det(&mut self) -> AT_CMD_CHAR_DET_W { AT_CMD_CHAR_DET_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to clear the uart_wakeup_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn wakeup(&mut self) -> WAKEUP_W { WAKEUP_W::new(self, 19) } diff --git a/esp32c6-lp/src/lp_uart/int_ena.rs b/esp32c6-lp/src/lp_uart/int_ena.rs index 76036fcd62..ffe3fb5997 100644 --- a/esp32c6-lp/src/lp_uart/int_ena.rs +++ b/esp32c6-lp/src/lp_uart/int_ena.rs @@ -184,103 +184,86 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This is the enable bit for rxfifo_full_int_st register."] #[inline(always)] - #[must_use] pub fn rxfifo_full(&mut self) -> RXFIFO_FULL_W { RXFIFO_FULL_W::new(self, 0) } #[doc = "Bit 1 - This is the enable bit for txfifo_empty_int_st register."] #[inline(always)] - #[must_use] pub fn txfifo_empty(&mut self) -> TXFIFO_EMPTY_W { TXFIFO_EMPTY_W::new(self, 1) } #[doc = "Bit 2 - This is the enable bit for parity_err_int_st register."] #[inline(always)] - #[must_use] pub fn parity_err(&mut self) -> PARITY_ERR_W { PARITY_ERR_W::new(self, 2) } #[doc = "Bit 3 - This is the enable bit for frm_err_int_st register."] #[inline(always)] - #[must_use] pub fn frm_err(&mut self) -> FRM_ERR_W { FRM_ERR_W::new(self, 3) } #[doc = "Bit 4 - This is the enable bit for rxfifo_ovf_int_st register."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - This is the enable bit for dsr_chg_int_st register."] #[inline(always)] - #[must_use] pub fn dsr_chg(&mut self) -> DSR_CHG_W { DSR_CHG_W::new(self, 5) } #[doc = "Bit 6 - This is the enable bit for cts_chg_int_st register."] #[inline(always)] - #[must_use] pub fn cts_chg(&mut self) -> CTS_CHG_W { CTS_CHG_W::new(self, 6) } #[doc = "Bit 7 - This is the enable bit for brk_det_int_st register."] #[inline(always)] - #[must_use] pub fn brk_det(&mut self) -> BRK_DET_W { BRK_DET_W::new(self, 7) } #[doc = "Bit 8 - This is the enable bit for rxfifo_tout_int_st register."] #[inline(always)] - #[must_use] pub fn rxfifo_tout(&mut self) -> RXFIFO_TOUT_W { RXFIFO_TOUT_W::new(self, 8) } #[doc = "Bit 9 - This is the enable bit for sw_xon_int_st register."] #[inline(always)] - #[must_use] pub fn sw_xon(&mut self) -> SW_XON_W { SW_XON_W::new(self, 9) } #[doc = "Bit 10 - This is the enable bit for sw_xoff_int_st register."] #[inline(always)] - #[must_use] pub fn sw_xoff(&mut self) -> SW_XOFF_W { SW_XOFF_W::new(self, 10) } #[doc = "Bit 11 - This is the enable bit for glitch_det_int_st register."] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 11) } #[doc = "Bit 12 - This is the enable bit for tx_brk_done_int_st register."] #[inline(always)] - #[must_use] pub fn tx_brk_done(&mut self) -> TX_BRK_DONE_W { TX_BRK_DONE_W::new(self, 12) } #[doc = "Bit 13 - This is the enable bit for tx_brk_idle_done_int_st register."] #[inline(always)] - #[must_use] pub fn tx_brk_idle_done(&mut self) -> TX_BRK_IDLE_DONE_W { TX_BRK_IDLE_DONE_W::new(self, 13) } #[doc = "Bit 14 - This is the enable bit for tx_done_int_st register."] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 14) } #[doc = "Bit 18 - This is the enable bit for at_cmd_char_det_int_st register."] #[inline(always)] - #[must_use] pub fn at_cmd_char_det(&mut self) -> AT_CMD_CHAR_DET_W { AT_CMD_CHAR_DET_W::new(self, 18) } #[doc = "Bit 19 - This is the enable bit for uart_wakeup_int_st register."] #[inline(always)] - #[must_use] pub fn wakeup(&mut self) -> WAKEUP_W { WAKEUP_W::new(self, 19) } diff --git a/esp32c6-lp/src/lp_uart/int_raw.rs b/esp32c6-lp/src/lp_uart/int_raw.rs index 61c9967e41..eb01f67711 100644 --- a/esp32c6-lp/src/lp_uart/int_raw.rs +++ b/esp32c6-lp/src/lp_uart/int_raw.rs @@ -184,103 +184,86 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This interrupt raw bit turns to high level when receiver receives more data than what rxfifo_full_thrhd specifies."] #[inline(always)] - #[must_use] pub fn rxfifo_full(&mut self) -> RXFIFO_FULL_W { RXFIFO_FULL_W::new(self, 0) } #[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 ."] #[inline(always)] - #[must_use] pub fn txfifo_empty(&mut self) -> TXFIFO_EMPTY_W { TXFIFO_EMPTY_W::new(self, 1) } #[doc = "Bit 2 - This interrupt raw bit turns to high level when receiver detects a parity error in the data."] #[inline(always)] - #[must_use] pub fn parity_err(&mut self) -> PARITY_ERR_W { PARITY_ERR_W::new(self, 2) } #[doc = "Bit 3 - This interrupt raw bit turns to high level when receiver detects a data frame error ."] #[inline(always)] - #[must_use] pub fn frm_err(&mut self) -> FRM_ERR_W { FRM_ERR_W::new(self, 3) } #[doc = "Bit 4 - This interrupt raw bit turns to high level when receiver receives more data than the FIFO can store."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - This interrupt raw bit turns to high level when receiver detects the edge change of DSRn signal."] #[inline(always)] - #[must_use] pub fn dsr_chg(&mut self) -> DSR_CHG_W { DSR_CHG_W::new(self, 5) } #[doc = "Bit 6 - This interrupt raw bit turns to high level when receiver detects the edge change of CTSn signal."] #[inline(always)] - #[must_use] pub fn cts_chg(&mut self) -> CTS_CHG_W { CTS_CHG_W::new(self, 6) } #[doc = "Bit 7 - This interrupt raw bit turns to high level when receiver detects a 0 after the stop bit."] #[inline(always)] - #[must_use] pub fn brk_det(&mut self) -> BRK_DET_W { BRK_DET_W::new(self, 7) } #[doc = "Bit 8 - This interrupt raw bit turns to high level when receiver takes more time than rx_tout_thrhd to receive a byte."] #[inline(always)] - #[must_use] pub fn rxfifo_tout(&mut self) -> RXFIFO_TOUT_W { RXFIFO_TOUT_W::new(self, 8) } #[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."] #[inline(always)] - #[must_use] pub fn sw_xon(&mut self) -> SW_XON_W { SW_XON_W::new(self, 9) } #[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."] #[inline(always)] - #[must_use] pub fn sw_xoff(&mut self) -> SW_XOFF_W { SW_XOFF_W::new(self, 10) } #[doc = "Bit 11 - This interrupt raw bit turns to high level when receiver detects a glitch in the middle of a start bit."] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 11) } #[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."] #[inline(always)] - #[must_use] pub fn tx_brk_done(&mut self) -> TX_BRK_DONE_W { TX_BRK_DONE_W::new(self, 12) } #[doc = "Bit 13 - This interrupt raw bit turns to high level when transmitter has kept the shortest duration after sending the last data."] #[inline(always)] - #[must_use] pub fn tx_brk_idle_done(&mut self) -> TX_BRK_IDLE_DONE_W { TX_BRK_IDLE_DONE_W::new(self, 13) } #[doc = "Bit 14 - This interrupt raw bit turns to high level when transmitter has send out all data in FIFO."] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 14) } #[doc = "Bit 18 - This interrupt raw bit turns to high level when receiver detects the configured at_cmd char."] #[inline(always)] - #[must_use] pub fn at_cmd_char_det(&mut self) -> AT_CMD_CHAR_DET_W { AT_CMD_CHAR_DET_W::new(self, 18) } #[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."] #[inline(always)] - #[must_use] pub fn wakeup(&mut self) -> WAKEUP_W { WAKEUP_W::new(self, 19) } diff --git a/esp32c6-lp/src/lp_uart/mem_conf.rs b/esp32c6-lp/src/lp_uart/mem_conf.rs index 1f787205ea..a67b04163f 100644 --- a/esp32c6-lp/src/lp_uart/mem_conf.rs +++ b/esp32c6-lp/src/lp_uart/mem_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 25 - Set this bit to force power down UART memory."] #[inline(always)] - #[must_use] pub fn mem_force_pd(&mut self) -> MEM_FORCE_PD_W { MEM_FORCE_PD_W::new(self, 25) } #[doc = "Bit 26 - Set this bit to force power up UART memory."] #[inline(always)] - #[must_use] pub fn mem_force_pu(&mut self) -> MEM_FORCE_PU_W { MEM_FORCE_PU_W::new(self, 26) } diff --git a/esp32c6-lp/src/lp_uart/reg_update.rs b/esp32c6-lp/src/lp_uart/reg_update.rs index 0188a4af8b..916c47f8ce 100644 --- a/esp32c6-lp/src/lp_uart/reg_update.rs +++ b/esp32c6-lp/src/lp_uart/reg_update.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Software write 1 would synchronize registers into UART Core clock domain and would be cleared by hardware after synchronization is done."] #[inline(always)] - #[must_use] pub fn reg_update(&mut self) -> REG_UPDATE_W { REG_UPDATE_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_uart/rs485_conf_sync.rs b/esp32c6-lp/src/lp_uart/rs485_conf_sync.rs index df5d20f106..0c881d9c75 100644 --- a/esp32c6-lp/src/lp_uart/rs485_conf_sync.rs +++ b/esp32c6-lp/src/lp_uart/rs485_conf_sync.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - Set this bit to delay the stop bit by 1 bit."] #[inline(always)] - #[must_use] pub fn dl0_en(&mut self) -> DL0_EN_W { DL0_EN_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to delay the stop bit by 1 bit."] #[inline(always)] - #[must_use] pub fn dl1_en(&mut self) -> DL1_EN_W { DL1_EN_W::new(self, 2) } diff --git a/esp32c6-lp/src/lp_uart/rx_filt.rs b/esp32c6-lp/src/lp_uart/rx_filt.rs index e8368344b8..acace76ca6 100644 --- a/esp32c6-lp/src/lp_uart/rx_filt.rs +++ b/esp32c6-lp/src/lp_uart/rx_filt.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - when input pulse width is lower than this value the pulse is ignored."] #[inline(always)] - #[must_use] pub fn glitch_filt(&mut self) -> GLITCH_FILT_W { GLITCH_FILT_W::new(self, 0) } #[doc = "Bit 8 - Set this bit to enable Rx signal filter."] #[inline(always)] - #[must_use] pub fn glitch_filt_en(&mut self) -> GLITCH_FILT_EN_W { GLITCH_FILT_EN_W::new(self, 8) } diff --git a/esp32c6-lp/src/lp_uart/sleep_conf0.rs b/esp32c6-lp/src/lp_uart/sleep_conf0.rs index 631ebdc15f..ab40e70e13 100644 --- a/esp32c6-lp/src/lp_uart/sleep_conf0.rs +++ b/esp32c6-lp/src/lp_uart/sleep_conf0.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register restores the specified wake up char1 to wake up"] #[inline(always)] - #[must_use] pub fn wk_char1(&mut self) -> WK_CHAR1_W { WK_CHAR1_W::new(self, 0) } #[doc = "Bits 8:15 - This register restores the specified wake up char2 to wake up"] #[inline(always)] - #[must_use] pub fn wk_char2(&mut self) -> WK_CHAR2_W { WK_CHAR2_W::new(self, 8) } #[doc = "Bits 16:23 - This register restores the specified wake up char3 to wake up"] #[inline(always)] - #[must_use] pub fn wk_char3(&mut self) -> WK_CHAR3_W { WK_CHAR3_W::new(self, 16) } #[doc = "Bits 24:31 - This register restores the specified wake up char4 to wake up"] #[inline(always)] - #[must_use] pub fn wk_char4(&mut self) -> WK_CHAR4_W { WK_CHAR4_W::new(self, 24) } diff --git a/esp32c6-lp/src/lp_uart/sleep_conf1.rs b/esp32c6-lp/src/lp_uart/sleep_conf1.rs index 8af8538d7d..dadc7d2d8e 100644 --- a/esp32c6-lp/src/lp_uart/sleep_conf1.rs +++ b/esp32c6-lp/src/lp_uart/sleep_conf1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register restores the specified char0 to wake up"] #[inline(always)] - #[must_use] pub fn wk_char0(&mut self) -> WK_CHAR0_W { WK_CHAR0_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_uart/sleep_conf2.rs b/esp32c6-lp/src/lp_uart/sleep_conf2.rs index 0059f5a6a6..206225fad4 100644 --- a/esp32c6-lp/src/lp_uart/sleep_conf2.rs +++ b/esp32c6-lp/src/lp_uart/sleep_conf2.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - The uart is activated from light sleeping mode when the input rxd edge changes more times than this register value."] #[inline(always)] - #[must_use] pub fn active_threshold(&mut self) -> ACTIVE_THRESHOLD_W { ACTIVE_THRESHOLD_W::new(self, 0) } #[doc = "Bits 13:17 - In wake up mode 1 this field is used to set the received data number threshold to wake up chip."] #[inline(always)] - #[must_use] pub fn rx_wake_up_thrhd(&mut self) -> RX_WAKE_UP_THRHD_W { RX_WAKE_UP_THRHD_W::new(self, 13) } #[doc = "Bits 18:20 - This register is used to select number of wake up char."] #[inline(always)] - #[must_use] pub fn wk_char_num(&mut self) -> WK_CHAR_NUM_W { WK_CHAR_NUM_W::new(self, 18) } #[doc = "Bits 21:25 - This register is used to mask wake up char."] #[inline(always)] - #[must_use] pub fn wk_char_mask(&mut self) -> WK_CHAR_MASK_W { WK_CHAR_MASK_W::new(self, 21) } #[doc = "Bits 26:27 - This register is used to select wake up mode. 0: RXD toggling to wake up. 1: received data number larger than"] #[inline(always)] - #[must_use] pub fn wk_mode_sel(&mut self) -> WK_MODE_SEL_W { WK_MODE_SEL_W::new(self, 26) } diff --git a/esp32c6-lp/src/lp_uart/swfc_conf0_sync.rs b/esp32c6-lp/src/lp_uart/swfc_conf0_sync.rs index 4090f8dda5..ba78fa70e7 100644 --- a/esp32c6-lp/src/lp_uart/swfc_conf0_sync.rs +++ b/esp32c6-lp/src/lp_uart/swfc_conf0_sync.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register stores the Xon flow control char."] #[inline(always)] - #[must_use] pub fn xon_char(&mut self) -> XON_CHAR_W { XON_CHAR_W::new(self, 0) } #[doc = "Bits 8:15 - This register stores the Xoff flow control char."] #[inline(always)] - #[must_use] pub fn xoff_char(&mut self) -> XOFF_CHAR_W { XOFF_CHAR_W::new(self, 8) } #[doc = "Bit 16 - In software flow control mode, UART Tx is disabled once UART Rx receives XOFF. In this status, UART Tx can not transmit XOFF even the received data number is larger than UART_XOFF_THRESHOLD. Set this bit to enable UART Tx can transmit XON/XOFF when UART Tx is disabled."] #[inline(always)] - #[must_use] pub fn xon_xoff_still_send(&mut self) -> XON_XOFF_STILL_SEND_W { XON_XOFF_STILL_SEND_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to enable software flow control. It is used with register sw_xon or sw_xoff."] #[inline(always)] - #[must_use] pub fn sw_flow_con_en(&mut self) -> SW_FLOW_CON_EN_W { SW_FLOW_CON_EN_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to remove flow control char from the received data."] #[inline(always)] - #[must_use] pub fn xonoff_del(&mut self) -> XONOFF_DEL_W { XONOFF_DEL_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to enable the transmitter to go on sending data."] #[inline(always)] - #[must_use] pub fn force_xon(&mut self) -> FORCE_XON_W { FORCE_XON_W::new(self, 19) } #[doc = "Bit 20 - Set this bit to stop the transmitter from sending data."] #[inline(always)] - #[must_use] pub fn force_xoff(&mut self) -> FORCE_XOFF_W { FORCE_XOFF_W::new(self, 20) } #[doc = "Bit 21 - Set this bit to send Xon char. It is cleared by hardware automatically."] #[inline(always)] - #[must_use] pub fn send_xon(&mut self) -> SEND_XON_W { SEND_XON_W::new(self, 21) } #[doc = "Bit 22 - Set this bit to send Xoff char. It is cleared by hardware automatically."] #[inline(always)] - #[must_use] pub fn send_xoff(&mut self) -> SEND_XOFF_W { SEND_XOFF_W::new(self, 22) } diff --git a/esp32c6-lp/src/lp_uart/swfc_conf1.rs b/esp32c6-lp/src/lp_uart/swfc_conf1.rs index 43eba04dd6..153f8e5a2a 100644 --- a/esp32c6-lp/src/lp_uart/swfc_conf1.rs +++ b/esp32c6-lp/src/lp_uart/swfc_conf1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 3:7 - When the data amount in Rx-FIFO is less than this register value with uart_sw_flow_con_en set to 1 it will send a Xon char."] #[inline(always)] - #[must_use] pub fn xon_threshold(&mut self) -> XON_THRESHOLD_W { XON_THRESHOLD_W::new(self, 3) } #[doc = "Bits 11:15 - When the data amount in Rx-FIFO is more than this register value with uart_sw_flow_con_en set to 1 it will send a Xoff char."] #[inline(always)] - #[must_use] pub fn xoff_threshold(&mut self) -> XOFF_THRESHOLD_W { XOFF_THRESHOLD_W::new(self, 11) } diff --git a/esp32c6-lp/src/lp_uart/tout_conf_sync.rs b/esp32c6-lp/src/lp_uart/tout_conf_sync.rs index 59fb931d3d..3ed5b81481 100644 --- a/esp32c6-lp/src/lp_uart/tout_conf_sync.rs +++ b/esp32c6-lp/src/lp_uart/tout_conf_sync.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This is the enble bit for uart receiver's timeout function."] #[inline(always)] - #[must_use] pub fn rx_tout_en(&mut self) -> RX_TOUT_EN_W { RX_TOUT_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to stop accumulating idle_cnt when hardware flow control works."] #[inline(always)] - #[must_use] pub fn rx_tout_flow_dis(&mut self) -> RX_TOUT_FLOW_DIS_W { RX_TOUT_FLOW_DIS_W::new(self, 1) } #[doc = "Bits 2:11 - This register is used to configure the threshold time that receiver takes to receive one byte. The rxfifo_tout_int interrupt will be trigger when the receiver takes more time to receive one byte with rx_tout_en set to 1."] #[inline(always)] - #[must_use] pub fn rx_tout_thrhd(&mut self) -> RX_TOUT_THRHD_W { RX_TOUT_THRHD_W::new(self, 2) } diff --git a/esp32c6-lp/src/lp_uart/txbrk_conf_sync.rs b/esp32c6-lp/src/lp_uart/txbrk_conf_sync.rs index 3b9294af84..81f2d4ba6e 100644 --- a/esp32c6-lp/src/lp_uart/txbrk_conf_sync.rs +++ b/esp32c6-lp/src/lp_uart/txbrk_conf_sync.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register is used to configure the number of 0 to be sent after the process of sending data is done. It is active when txd_brk is set to 1."] #[inline(always)] - #[must_use] pub fn tx_brk_num(&mut self) -> TX_BRK_NUM_W { TX_BRK_NUM_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_wdt/config0.rs b/esp32c6-lp/src/lp_wdt/config0.rs index ffca83bdfe..62fa227747 100644 --- a/esp32c6-lp/src/lp_wdt/config0.rs +++ b/esp32c6-lp/src/lp_wdt/config0.rs @@ -144,79 +144,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_chip_reset_width(&mut self) -> WDT_CHIP_RESET_WIDTH_W { WDT_CHIP_RESET_WIDTH_W::new(self, 0) } #[doc = "Bit 8 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_chip_reset_en(&mut self) -> WDT_CHIP_RESET_EN_W { WDT_CHIP_RESET_EN_W::new(self, 8) } #[doc = "Bit 9 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_pause_in_slp(&mut self) -> WDT_PAUSE_IN_SLP_W { WDT_PAUSE_IN_SLP_W::new(self, 9) } #[doc = "Bit 10 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_appcpu_reset_en(&mut self) -> WDT_APPCPU_RESET_EN_W { WDT_APPCPU_RESET_EN_W::new(self, 10) } #[doc = "Bit 11 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_procpu_reset_en(&mut self) -> WDT_PROCPU_RESET_EN_W { WDT_PROCPU_RESET_EN_W::new(self, 11) } #[doc = "Bit 12 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_flashboot_mod_en(&mut self) -> WDT_FLASHBOOT_MOD_EN_W { WDT_FLASHBOOT_MOD_EN_W::new(self, 12) } #[doc = "Bits 13:15 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_sys_reset_length(&mut self) -> WDT_SYS_RESET_LENGTH_W { WDT_SYS_RESET_LENGTH_W::new(self, 13) } #[doc = "Bits 16:18 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_cpu_reset_length(&mut self) -> WDT_CPU_RESET_LENGTH_W { WDT_CPU_RESET_LENGTH_W::new(self, 16) } #[doc = "Bits 19:21 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_stg3(&mut self) -> WDT_STG3_W { WDT_STG3_W::new(self, 19) } #[doc = "Bits 22:24 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_stg2(&mut self) -> WDT_STG2_W { WDT_STG2_W::new(self, 22) } #[doc = "Bits 25:27 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_stg1(&mut self) -> WDT_STG1_W { WDT_STG1_W::new(self, 25) } #[doc = "Bits 28:30 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_stg0(&mut self) -> WDT_STG0_W { WDT_STG0_W::new(self, 28) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_en(&mut self) -> WDT_EN_W { WDT_EN_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_wdt/config1.rs b/esp32c6-lp/src/lp_wdt/config1.rs index 0e01ef69fe..3a4f508b69 100644 --- a/esp32c6-lp/src/lp_wdt/config1.rs +++ b/esp32c6-lp/src/lp_wdt/config1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_stg0_hold(&mut self) -> WDT_STG0_HOLD_W { WDT_STG0_HOLD_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_wdt/config2.rs b/esp32c6-lp/src/lp_wdt/config2.rs index dbf510b976..078f3eaf9d 100644 --- a/esp32c6-lp/src/lp_wdt/config2.rs +++ b/esp32c6-lp/src/lp_wdt/config2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_stg1_hold(&mut self) -> WDT_STG1_HOLD_W { WDT_STG1_HOLD_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_wdt/config3.rs b/esp32c6-lp/src/lp_wdt/config3.rs index 2830618142..54a3c3b522 100644 --- a/esp32c6-lp/src/lp_wdt/config3.rs +++ b/esp32c6-lp/src/lp_wdt/config3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_stg2_hold(&mut self) -> WDT_STG2_HOLD_W { WDT_STG2_HOLD_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_wdt/config4.rs b/esp32c6-lp/src/lp_wdt/config4.rs index 1c42d2046e..09101a6c69 100644 --- a/esp32c6-lp/src/lp_wdt/config4.rs +++ b/esp32c6-lp/src/lp_wdt/config4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_stg3_hold(&mut self) -> WDT_STG3_HOLD_W { WDT_STG3_HOLD_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_wdt/date.rs b/esp32c6-lp/src/lp_wdt/date.rs index 1fdd983592..6f58884e74 100644 --- a/esp32c6-lp/src/lp_wdt/date.rs +++ b/esp32c6-lp/src/lp_wdt/date.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_wdt_date(&mut self) -> LP_WDT_DATE_W { LP_WDT_DATE_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_wdt/feed.rs b/esp32c6-lp/src/lp_wdt/feed.rs index 5e9306c913..c831e1e457 100644 --- a/esp32c6-lp/src/lp_wdt/feed.rs +++ b/esp32c6-lp/src/lp_wdt/feed.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn rtc_wdt_feed(&mut self) -> RTC_WDT_FEED_W { RTC_WDT_FEED_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_wdt/int_clr.rs b/esp32c6-lp/src/lp_wdt/int_clr.rs index 51c7a3307f..d4787cb67f 100644 --- a/esp32c6-lp/src/lp_wdt/int_clr.rs +++ b/esp32c6-lp/src/lp_wdt/int_clr.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn super_wdt(&mut self) -> SUPER_WDT_W { SUPER_WDT_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_wdt(&mut self) -> LP_WDT_W { LP_WDT_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_wdt/int_ena.rs b/esp32c6-lp/src/lp_wdt/int_ena.rs index 464ca8ed80..f899f1a5e8 100644 --- a/esp32c6-lp/src/lp_wdt/int_ena.rs +++ b/esp32c6-lp/src/lp_wdt/int_ena.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn super_wdt(&mut self) -> SUPER_WDT_W { SUPER_WDT_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_wdt(&mut self) -> LP_WDT_W { LP_WDT_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_wdt/int_raw.rs b/esp32c6-lp/src/lp_wdt/int_raw.rs index 59439efb80..74294703d0 100644 --- a/esp32c6-lp/src/lp_wdt/int_raw.rs +++ b/esp32c6-lp/src/lp_wdt/int_raw.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn super_wdt(&mut self) -> SUPER_WDT_W { SUPER_WDT_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_wdt(&mut self) -> LP_WDT_W { LP_WDT_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_wdt/swd_config.rs b/esp32c6-lp/src/lp_wdt/swd_config.rs index 4c7fbec620..a7d8540676 100644 --- a/esp32c6-lp/src/lp_wdt/swd_config.rs +++ b/esp32c6-lp/src/lp_wdt/swd_config.rs @@ -56,31 +56,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 18 - need_des"] #[inline(always)] - #[must_use] pub fn swd_auto_feed_en(&mut self) -> SWD_AUTO_FEED_EN_W { SWD_AUTO_FEED_EN_W::new(self, 18) } #[doc = "Bit 19 - need_des"] #[inline(always)] - #[must_use] pub fn swd_rst_flag_clr(&mut self) -> SWD_RST_FLAG_CLR_W { SWD_RST_FLAG_CLR_W::new(self, 19) } #[doc = "Bits 20:29 - need_des"] #[inline(always)] - #[must_use] pub fn swd_signal_width(&mut self) -> SWD_SIGNAL_WIDTH_W { SWD_SIGNAL_WIDTH_W::new(self, 20) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn swd_disable(&mut self) -> SWD_DISABLE_W { SWD_DISABLE_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn swd_feed(&mut self) -> SWD_FEED_W { SWD_FEED_W::new(self, 31) } diff --git a/esp32c6-lp/src/lp_wdt/swd_wprotect.rs b/esp32c6-lp/src/lp_wdt/swd_wprotect.rs index a1608c1c33..d544b5d85c 100644 --- a/esp32c6-lp/src/lp_wdt/swd_wprotect.rs +++ b/esp32c6-lp/src/lp_wdt/swd_wprotect.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn swd_wkey(&mut self) -> SWD_WKEY_W { SWD_WKEY_W::new(self, 0) } diff --git a/esp32c6-lp/src/lp_wdt/wprotect.rs b/esp32c6-lp/src/lp_wdt/wprotect.rs index 4ae4fba579..6e218af94c 100644 --- a/esp32c6-lp/src/lp_wdt/wprotect.rs +++ b/esp32c6-lp/src/lp_wdt/wprotect.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_wkey(&mut self) -> WDT_WKEY_W { WDT_WKEY_W::new(self, 0) } diff --git a/esp32c6-lp/src/pmu/backup_cfg.rs b/esp32c6-lp/src/pmu/backup_cfg.rs index e57bcdbdb0..6814f032ca 100644 --- a/esp32c6-lp/src/pmu/backup_cfg.rs +++ b/esp32c6-lp/src/pmu/backup_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn backup_sys_clk_no_div(&mut self) -> BACKUP_SYS_CLK_NO_DIV_W { BACKUP_SYS_CLK_NO_DIV_W::new(self, 31) } diff --git a/esp32c6-lp/src/pmu/date.rs b/esp32c6-lp/src/pmu/date.rs index 377dfcbd7a..d468b07380 100644 --- a/esp32c6-lp/src/pmu/date.rs +++ b/esp32c6-lp/src/pmu/date.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - need_des"] #[inline(always)] - #[must_use] pub fn pmu_date(&mut self) -> PMU_DATE_W { PMU_DATE_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32c6-lp/src/pmu/hp_active_backup.rs b/esp32c6-lp/src/pmu/hp_active_backup.rs index ff99cad5fb..1910767b83 100644 --- a/esp32c6-lp/src/pmu/hp_active_backup.rs +++ b/esp32c6-lp/src/pmu/hp_active_backup.rs @@ -154,7 +154,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 4:5 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2active_backup_modem_clk_code( &mut self, ) -> HP_SLEEP2ACTIVE_BACKUP_MODEM_CLK_CODE_W { @@ -162,7 +161,6 @@ impl W { } #[doc = "Bits 6:7 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2active_backup_modem_clk_code( &mut self, ) -> HP_MODEM2ACTIVE_BACKUP_MODEM_CLK_CODE_W { @@ -170,7 +168,6 @@ impl W { } #[doc = "Bit 10 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_retention_mode( &mut self, ) -> HP_ACTIVE_RETENTION_MODE_W { @@ -178,7 +175,6 @@ impl W { } #[doc = "Bit 11 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2active_retention_en( &mut self, ) -> HP_SLEEP2ACTIVE_RETENTION_EN_W { @@ -186,7 +182,6 @@ impl W { } #[doc = "Bit 12 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2active_retention_en( &mut self, ) -> HP_MODEM2ACTIVE_RETENTION_EN_W { @@ -194,7 +189,6 @@ impl W { } #[doc = "Bits 14:15 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2active_backup_clk_sel( &mut self, ) -> HP_SLEEP2ACTIVE_BACKUP_CLK_SEL_W { @@ -202,7 +196,6 @@ impl W { } #[doc = "Bits 16:17 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2active_backup_clk_sel( &mut self, ) -> HP_MODEM2ACTIVE_BACKUP_CLK_SEL_W { @@ -210,7 +203,6 @@ impl W { } #[doc = "Bits 20:22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2active_backup_mode( &mut self, ) -> HP_SLEEP2ACTIVE_BACKUP_MODE_W { @@ -218,7 +210,6 @@ impl W { } #[doc = "Bits 23:25 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2active_backup_mode( &mut self, ) -> HP_MODEM2ACTIVE_BACKUP_MODE_W { @@ -226,7 +217,6 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2active_backup_en( &mut self, ) -> HP_SLEEP2ACTIVE_BACKUP_EN_W { @@ -234,7 +224,6 @@ impl W { } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2active_backup_en( &mut self, ) -> HP_MODEM2ACTIVE_BACKUP_EN_W { diff --git a/esp32c6-lp/src/pmu/hp_active_backup_clk.rs b/esp32c6-lp/src/pmu/hp_active_backup_clk.rs index cd9b3de54b..3f67784a4b 100644 --- a/esp32c6-lp/src/pmu/hp_active_backup_clk.rs +++ b/esp32c6-lp/src/pmu/hp_active_backup_clk.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_backup_icg_func_en( &mut self, ) -> HP_ACTIVE_BACKUP_ICG_FUNC_EN_W { diff --git a/esp32c6-lp/src/pmu/hp_active_bias.rs b/esp32c6-lp/src/pmu/hp_active_bias.rs index 776114ec65..61066d464d 100644 --- a/esp32c6-lp/src/pmu/hp_active_bias.rs +++ b/esp32c6-lp/src/pmu/hp_active_bias.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_xpd_bias(&mut self) -> HP_ACTIVE_XPD_BIAS_W { HP_ACTIVE_XPD_BIAS_W::new(self, 25) } #[doc = "Bits 26:29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_dbg_atten(&mut self) -> HP_ACTIVE_DBG_ATTEN_W { HP_ACTIVE_DBG_ATTEN_W::new(self, 26) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_pd_cur(&mut self) -> HP_ACTIVE_PD_CUR_W { HP_ACTIVE_PD_CUR_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn sleep(&mut self) -> SLEEP_W { SLEEP_W::new(self, 31) } diff --git a/esp32c6-lp/src/pmu/hp_active_dig_power.rs b/esp32c6-lp/src/pmu/hp_active_dig_power.rs index 9aee68d0c0..a26ef3ce94 100644 --- a/esp32c6-lp/src/pmu/hp_active_dig_power.rs +++ b/esp32c6-lp/src/pmu/hp_active_dig_power.rs @@ -96,7 +96,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 21 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_vdd_spi_pd_en( &mut self, ) -> HP_ACTIVE_VDD_SPI_PD_EN_W { @@ -104,13 +103,11 @@ impl W { } #[doc = "Bit 22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_hp_mem_dslp(&mut self) -> HP_ACTIVE_HP_MEM_DSLP_W { HP_ACTIVE_HP_MEM_DSLP_W::new(self, 22) } #[doc = "Bits 23:26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_pd_hp_mem_pd_en( &mut self, ) -> HP_ACTIVE_PD_HP_MEM_PD_EN_W { @@ -118,7 +115,6 @@ impl W { } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_pd_hp_wifi_pd_en( &mut self, ) -> HP_ACTIVE_PD_HP_WIFI_PD_EN_W { @@ -126,7 +122,6 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_pd_hp_cpu_pd_en( &mut self, ) -> HP_ACTIVE_PD_HP_CPU_PD_EN_W { @@ -134,7 +129,6 @@ impl W { } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_pd_hp_aon_pd_en( &mut self, ) -> HP_ACTIVE_PD_HP_AON_PD_EN_W { @@ -142,7 +136,6 @@ impl W { } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_pd_top_pd_en(&mut self) -> HP_ACTIVE_PD_TOP_PD_EN_W { HP_ACTIVE_PD_TOP_PD_EN_W::new(self, 31) } diff --git a/esp32c6-lp/src/pmu/hp_active_hp_ck_power.rs b/esp32c6-lp/src/pmu/hp_active_hp_ck_power.rs index 3e86be5b63..bbc0f43cba 100644 --- a/esp32c6-lp/src/pmu/hp_active_hp_ck_power.rs +++ b/esp32c6-lp/src/pmu/hp_active_hp_ck_power.rs @@ -64,13 +64,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_i2c_iso_en(&mut self) -> HP_ACTIVE_I2C_ISO_EN_W { HP_ACTIVE_I2C_ISO_EN_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_i2c_retention( &mut self, ) -> HP_ACTIVE_I2C_RETENTION_W { @@ -78,13 +76,11 @@ impl W { } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_xpd_bb_i2c(&mut self) -> HP_ACTIVE_XPD_BB_I2C_W { HP_ACTIVE_XPD_BB_I2C_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_xpd_bbpll_i2c( &mut self, ) -> HP_ACTIVE_XPD_BBPLL_I2C_W { @@ -92,7 +88,6 @@ impl W { } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_xpd_bbpll(&mut self) -> HP_ACTIVE_XPD_BBPLL_W { HP_ACTIVE_XPD_BBPLL_W::new(self, 30) } diff --git a/esp32c6-lp/src/pmu/hp_active_hp_regulator0.rs b/esp32c6-lp/src/pmu/hp_active_hp_regulator0.rs index 2805e24761..1fcbd31cb1 100644 --- a/esp32c6-lp/src/pmu/hp_active_hp_regulator0.rs +++ b/esp32c6-lp/src/pmu/hp_active_hp_regulator0.rs @@ -122,7 +122,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 14 - need_des"] #[inline(always)] - #[must_use] pub fn dig_regulator0_dbias_sel( &mut self, ) -> DIG_REGULATOR0_DBIAS_SEL_W { @@ -130,13 +129,11 @@ impl W { } #[doc = "Bit 15 - need_des"] #[inline(always)] - #[must_use] pub fn dig_dbias_init(&mut self) -> DIG_DBIAS_INIT_W { DIG_DBIAS_INIT_W::new(self, 15) } #[doc = "Bit 16 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_hp_regulator_slp_mem_xpd( &mut self, ) -> HP_ACTIVE_HP_REGULATOR_SLP_MEM_XPD_W { @@ -144,7 +141,6 @@ impl W { } #[doc = "Bit 17 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_hp_regulator_slp_logic_xpd( &mut self, ) -> HP_ACTIVE_HP_REGULATOR_SLP_LOGIC_XPD_W { @@ -152,7 +148,6 @@ impl W { } #[doc = "Bit 18 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_hp_regulator_xpd( &mut self, ) -> HP_ACTIVE_HP_REGULATOR_XPD_W { @@ -160,7 +155,6 @@ impl W { } #[doc = "Bits 19:22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_hp_regulator_slp_mem_dbias( &mut self, ) -> HP_ACTIVE_HP_REGULATOR_SLP_MEM_DBIAS_W { @@ -168,7 +162,6 @@ impl W { } #[doc = "Bits 23:26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_hp_regulator_slp_logic_dbias( &mut self, ) -> HP_ACTIVE_HP_REGULATOR_SLP_LOGIC_DBIAS_W { @@ -176,7 +169,6 @@ impl W { } #[doc = "Bits 27:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_hp_regulator_dbias( &mut self, ) -> HP_ACTIVE_HP_REGULATOR_DBIAS_W { diff --git a/esp32c6-lp/src/pmu/hp_active_hp_regulator1.rs b/esp32c6-lp/src/pmu/hp_active_hp_regulator1.rs index 940dd38ece..55d8d50a27 100644 --- a/esp32c6-lp/src/pmu/hp_active_hp_regulator1.rs +++ b/esp32c6-lp/src/pmu/hp_active_hp_regulator1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 8:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_hp_regulator_drv_b( &mut self, ) -> HP_ACTIVE_HP_REGULATOR_DRV_B_W { diff --git a/esp32c6-lp/src/pmu/hp_active_hp_sys_cntl.rs b/esp32c6-lp/src/pmu/hp_active_hp_sys_cntl.rs index 0961204ffd..56885c44e2 100644 --- a/esp32c6-lp/src/pmu/hp_active_hp_sys_cntl.rs +++ b/esp32c6-lp/src/pmu/hp_active_hp_sys_cntl.rs @@ -83,7 +83,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 24 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_uart_wakeup_en( &mut self, ) -> HP_ACTIVE_UART_WAKEUP_EN_W { @@ -91,7 +90,6 @@ impl W { } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_lp_pad_hold_all( &mut self, ) -> HP_ACTIVE_LP_PAD_HOLD_ALL_W { @@ -99,7 +97,6 @@ impl W { } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_hp_pad_hold_all( &mut self, ) -> HP_ACTIVE_HP_PAD_HOLD_ALL_W { @@ -107,7 +104,6 @@ impl W { } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_dig_pad_slp_sel( &mut self, ) -> HP_ACTIVE_DIG_PAD_SLP_SEL_W { @@ -115,7 +111,6 @@ impl W { } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_dig_pause_wdt( &mut self, ) -> HP_ACTIVE_DIG_PAUSE_WDT_W { @@ -123,7 +118,6 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_dig_cpu_stall( &mut self, ) -> HP_ACTIVE_DIG_CPU_STALL_W { diff --git a/esp32c6-lp/src/pmu/hp_active_icg_hp_apb.rs b/esp32c6-lp/src/pmu/hp_active_icg_hp_apb.rs index 1beed99c5b..ec36aae6b9 100644 --- a/esp32c6-lp/src/pmu/hp_active_icg_hp_apb.rs +++ b/esp32c6-lp/src/pmu/hp_active_icg_hp_apb.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_dig_icg_apb_en( &mut self, ) -> HP_ACTIVE_DIG_ICG_APB_EN_W { diff --git a/esp32c6-lp/src/pmu/hp_active_icg_hp_func.rs b/esp32c6-lp/src/pmu/hp_active_icg_hp_func.rs index e16bf388fd..4f8d853807 100644 --- a/esp32c6-lp/src/pmu/hp_active_icg_hp_func.rs +++ b/esp32c6-lp/src/pmu/hp_active_icg_hp_func.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_dig_icg_func_en( &mut self, ) -> HP_ACTIVE_DIG_ICG_FUNC_EN_W { diff --git a/esp32c6-lp/src/pmu/hp_active_icg_modem.rs b/esp32c6-lp/src/pmu/hp_active_icg_modem.rs index ad0b7e9102..75425b3205 100644 --- a/esp32c6-lp/src/pmu/hp_active_icg_modem.rs +++ b/esp32c6-lp/src/pmu/hp_active_icg_modem.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 30:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_dig_icg_modem_code( &mut self, ) -> HP_ACTIVE_DIG_ICG_MODEM_CODE_W { diff --git a/esp32c6-lp/src/pmu/hp_active_sysclk.rs b/esp32c6-lp/src/pmu/hp_active_sysclk.rs index b6047443e5..1f01bd6c4d 100644 --- a/esp32c6-lp/src/pmu/hp_active_sysclk.rs +++ b/esp32c6-lp/src/pmu/hp_active_sysclk.rs @@ -76,7 +76,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_dig_sys_clk_no_div( &mut self, ) -> HP_ACTIVE_DIG_SYS_CLK_NO_DIV_W { @@ -84,7 +83,6 @@ impl W { } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_icg_sys_clock_en( &mut self, ) -> HP_ACTIVE_ICG_SYS_CLOCK_EN_W { @@ -92,7 +90,6 @@ impl W { } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_sys_clk_slp_sel( &mut self, ) -> HP_ACTIVE_SYS_CLK_SLP_SEL_W { @@ -100,13 +97,11 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_icg_slp_sel(&mut self) -> HP_ACTIVE_ICG_SLP_SEL_W { HP_ACTIVE_ICG_SLP_SEL_W::new(self, 29) } #[doc = "Bits 30:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_dig_sys_clk_sel( &mut self, ) -> HP_ACTIVE_DIG_SYS_CLK_SEL_W { diff --git a/esp32c6-lp/src/pmu/hp_active_xtal.rs b/esp32c6-lp/src/pmu/hp_active_xtal.rs index 0e3d95ae10..c23de5bc9e 100644 --- a/esp32c6-lp/src/pmu/hp_active_xtal.rs +++ b/esp32c6-lp/src/pmu/hp_active_xtal.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_xpd_xtal(&mut self) -> HP_ACTIVE_XPD_XTAL_W { HP_ACTIVE_XPD_XTAL_W::new(self, 31) } diff --git a/esp32c6-lp/src/pmu/hp_ck_cntl.rs b/esp32c6-lp/src/pmu/hp_ck_cntl.rs index bcc033e8fb..27f42537f0 100644 --- a/esp32c6-lp/src/pmu/hp_ck_cntl.rs +++ b/esp32c6-lp/src/pmu/hp_ck_cntl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - need_des"] #[inline(always)] - #[must_use] pub fn modify_icg_cntl_wait(&mut self) -> MODIFY_ICG_CNTL_WAIT_W { MODIFY_ICG_CNTL_WAIT_W::new(self, 0) } #[doc = "Bits 8:15 - need_des"] #[inline(always)] - #[must_use] pub fn switch_icg_cntl_wait(&mut self) -> SWITCH_ICG_CNTL_WAIT_W { SWITCH_ICG_CNTL_WAIT_W::new(self, 8) } diff --git a/esp32c6-lp/src/pmu/hp_ck_poweron.rs b/esp32c6-lp/src/pmu/hp_ck_poweron.rs index 066aba60c2..6fadce8253 100644 --- a/esp32c6-lp/src/pmu/hp_ck_poweron.rs +++ b/esp32c6-lp/src/pmu/hp_ck_poweron.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - need_des"] #[inline(always)] - #[must_use] pub fn i2c_por_wait_target(&mut self) -> I2C_POR_WAIT_TARGET_W { I2C_POR_WAIT_TARGET_W::new(self, 0) } diff --git a/esp32c6-lp/src/pmu/hp_lp_cpu_comm.rs b/esp32c6-lp/src/pmu/hp_lp_cpu_comm.rs index 2177dec2c3..75227a51fd 100644 --- a/esp32c6-lp/src/pmu/hp_lp_cpu_comm.rs +++ b/esp32c6-lp/src/pmu/hp_lp_cpu_comm.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_trigger_hp(&mut self) -> LP_TRIGGER_HP_W { LP_TRIGGER_HP_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_trigger_lp(&mut self) -> HP_TRIGGER_LP_W { HP_TRIGGER_LP_W::new(self, 31) } diff --git a/esp32c6-lp/src/pmu/hp_modem_backup.rs b/esp32c6-lp/src/pmu/hp_modem_backup.rs index a95bce0fa9..49df074083 100644 --- a/esp32c6-lp/src/pmu/hp_modem_backup.rs +++ b/esp32c6-lp/src/pmu/hp_modem_backup.rs @@ -86,7 +86,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 4:5 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2modem_backup_modem_clk_code( &mut self, ) -> HP_SLEEP2MODEM_BACKUP_MODEM_CLK_CODE_W { @@ -94,13 +93,11 @@ impl W { } #[doc = "Bit 10 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_retention_mode(&mut self) -> HP_MODEM_RETENTION_MODE_W { HP_MODEM_RETENTION_MODE_W::new(self, 10) } #[doc = "Bit 11 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2modem_retention_en( &mut self, ) -> HP_SLEEP2MODEM_RETENTION_EN_W { @@ -108,7 +105,6 @@ impl W { } #[doc = "Bits 14:15 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2modem_backup_clk_sel( &mut self, ) -> HP_SLEEP2MODEM_BACKUP_CLK_SEL_W { @@ -116,7 +112,6 @@ impl W { } #[doc = "Bits 20:22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2modem_backup_mode( &mut self, ) -> HP_SLEEP2MODEM_BACKUP_MODE_W { @@ -124,7 +119,6 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2modem_backup_en(&mut self) -> HP_SLEEP2MODEM_BACKUP_EN_W { HP_SLEEP2MODEM_BACKUP_EN_W::new(self, 29) } diff --git a/esp32c6-lp/src/pmu/hp_modem_backup_clk.rs b/esp32c6-lp/src/pmu/hp_modem_backup_clk.rs index 2fe722858c..88033e33e2 100644 --- a/esp32c6-lp/src/pmu/hp_modem_backup_clk.rs +++ b/esp32c6-lp/src/pmu/hp_modem_backup_clk.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_backup_icg_func_en( &mut self, ) -> HP_MODEM_BACKUP_ICG_FUNC_EN_W { diff --git a/esp32c6-lp/src/pmu/hp_modem_bias.rs b/esp32c6-lp/src/pmu/hp_modem_bias.rs index 874e71360a..d176ab7b57 100644 --- a/esp32c6-lp/src/pmu/hp_modem_bias.rs +++ b/esp32c6-lp/src/pmu/hp_modem_bias.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_xpd_bias(&mut self) -> HP_MODEM_XPD_BIAS_W { HP_MODEM_XPD_BIAS_W::new(self, 25) } #[doc = "Bits 26:29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_dbg_atten(&mut self) -> HP_MODEM_DBG_ATTEN_W { HP_MODEM_DBG_ATTEN_W::new(self, 26) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_pd_cur(&mut self) -> HP_MODEM_PD_CUR_W { HP_MODEM_PD_CUR_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn sleep(&mut self) -> SLEEP_W { SLEEP_W::new(self, 31) } diff --git a/esp32c6-lp/src/pmu/hp_modem_dig_power.rs b/esp32c6-lp/src/pmu/hp_modem_dig_power.rs index 262df6a7e1..6baf47663f 100644 --- a/esp32c6-lp/src/pmu/hp_modem_dig_power.rs +++ b/esp32c6-lp/src/pmu/hp_modem_dig_power.rs @@ -87,19 +87,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 21 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_vdd_spi_pd_en(&mut self) -> HP_MODEM_VDD_SPI_PD_EN_W { HP_MODEM_VDD_SPI_PD_EN_W::new(self, 21) } #[doc = "Bit 22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_hp_mem_dslp(&mut self) -> HP_MODEM_HP_MEM_DSLP_W { HP_MODEM_HP_MEM_DSLP_W::new(self, 22) } #[doc = "Bits 23:26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_pd_hp_mem_pd_en( &mut self, ) -> HP_MODEM_PD_HP_MEM_PD_EN_W { @@ -107,7 +104,6 @@ impl W { } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_pd_hp_wifi_pd_en( &mut self, ) -> HP_MODEM_PD_HP_WIFI_PD_EN_W { @@ -115,7 +111,6 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_pd_hp_cpu_pd_en( &mut self, ) -> HP_MODEM_PD_HP_CPU_PD_EN_W { @@ -123,7 +118,6 @@ impl W { } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_pd_hp_aon_pd_en( &mut self, ) -> HP_MODEM_PD_HP_AON_PD_EN_W { @@ -131,7 +125,6 @@ impl W { } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_pd_top_pd_en(&mut self) -> HP_MODEM_PD_TOP_PD_EN_W { HP_MODEM_PD_TOP_PD_EN_W::new(self, 31) } diff --git a/esp32c6-lp/src/pmu/hp_modem_hp_ck_power.rs b/esp32c6-lp/src/pmu/hp_modem_hp_ck_power.rs index 76329b1fce..4f25757b8c 100644 --- a/esp32c6-lp/src/pmu/hp_modem_hp_ck_power.rs +++ b/esp32c6-lp/src/pmu/hp_modem_hp_ck_power.rs @@ -64,13 +64,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_i2c_iso_en(&mut self) -> HP_MODEM_I2C_ISO_EN_W { HP_MODEM_I2C_ISO_EN_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_i2c_retention( &mut self, ) -> HP_MODEM_I2C_RETENTION_W { @@ -78,13 +76,11 @@ impl W { } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_xpd_bb_i2c(&mut self) -> HP_MODEM_XPD_BB_I2C_W { HP_MODEM_XPD_BB_I2C_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_xpd_bbpll_i2c( &mut self, ) -> HP_MODEM_XPD_BBPLL_I2C_W { @@ -92,7 +88,6 @@ impl W { } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_xpd_bbpll(&mut self) -> HP_MODEM_XPD_BBPLL_W { HP_MODEM_XPD_BBPLL_W::new(self, 30) } diff --git a/esp32c6-lp/src/pmu/hp_modem_hp_regulator0.rs b/esp32c6-lp/src/pmu/hp_modem_hp_regulator0.rs index d33f191f3e..43ca4787df 100644 --- a/esp32c6-lp/src/pmu/hp_modem_hp_regulator0.rs +++ b/esp32c6-lp/src/pmu/hp_modem_hp_regulator0.rs @@ -92,7 +92,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 16 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_hp_regulator_slp_mem_xpd( &mut self, ) -> HP_MODEM_HP_REGULATOR_SLP_MEM_XPD_W { @@ -100,7 +99,6 @@ impl W { } #[doc = "Bit 17 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_hp_regulator_slp_logic_xpd( &mut self, ) -> HP_MODEM_HP_REGULATOR_SLP_LOGIC_XPD_W { @@ -108,7 +106,6 @@ impl W { } #[doc = "Bit 18 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_hp_regulator_xpd( &mut self, ) -> HP_MODEM_HP_REGULATOR_XPD_W { @@ -116,7 +113,6 @@ impl W { } #[doc = "Bits 19:22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_hp_regulator_slp_mem_dbias( &mut self, ) -> HP_MODEM_HP_REGULATOR_SLP_MEM_DBIAS_W { @@ -124,7 +120,6 @@ impl W { } #[doc = "Bits 23:26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_hp_regulator_slp_logic_dbias( &mut self, ) -> HP_MODEM_HP_REGULATOR_SLP_LOGIC_DBIAS_W { @@ -132,7 +127,6 @@ impl W { } #[doc = "Bits 27:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_hp_regulator_dbias( &mut self, ) -> HP_MODEM_HP_REGULATOR_DBIAS_W { diff --git a/esp32c6-lp/src/pmu/hp_modem_hp_regulator1.rs b/esp32c6-lp/src/pmu/hp_modem_hp_regulator1.rs index 641b019c8c..f2416bf23d 100644 --- a/esp32c6-lp/src/pmu/hp_modem_hp_regulator1.rs +++ b/esp32c6-lp/src/pmu/hp_modem_hp_regulator1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 8:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_hp_regulator_drv_b( &mut self, ) -> HP_MODEM_HP_REGULATOR_DRV_B_W { diff --git a/esp32c6-lp/src/pmu/hp_modem_hp_sys_cntl.rs b/esp32c6-lp/src/pmu/hp_modem_hp_sys_cntl.rs index 692f561206..799aac042f 100644 --- a/esp32c6-lp/src/pmu/hp_modem_hp_sys_cntl.rs +++ b/esp32c6-lp/src/pmu/hp_modem_hp_sys_cntl.rs @@ -74,7 +74,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 24 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_uart_wakeup_en( &mut self, ) -> HP_MODEM_UART_WAKEUP_EN_W { @@ -82,7 +81,6 @@ impl W { } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_lp_pad_hold_all( &mut self, ) -> HP_MODEM_LP_PAD_HOLD_ALL_W { @@ -90,7 +88,6 @@ impl W { } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_hp_pad_hold_all( &mut self, ) -> HP_MODEM_HP_PAD_HOLD_ALL_W { @@ -98,7 +95,6 @@ impl W { } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_dig_pad_slp_sel( &mut self, ) -> HP_MODEM_DIG_PAD_SLP_SEL_W { @@ -106,7 +102,6 @@ impl W { } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_dig_pause_wdt( &mut self, ) -> HP_MODEM_DIG_PAUSE_WDT_W { @@ -114,7 +109,6 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_dig_cpu_stall( &mut self, ) -> HP_MODEM_DIG_CPU_STALL_W { diff --git a/esp32c6-lp/src/pmu/hp_modem_icg_hp_apb.rs b/esp32c6-lp/src/pmu/hp_modem_icg_hp_apb.rs index b64e7347a3..7e6408b368 100644 --- a/esp32c6-lp/src/pmu/hp_modem_icg_hp_apb.rs +++ b/esp32c6-lp/src/pmu/hp_modem_icg_hp_apb.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_dig_icg_apb_en( &mut self, ) -> HP_MODEM_DIG_ICG_APB_EN_W { diff --git a/esp32c6-lp/src/pmu/hp_modem_icg_hp_func.rs b/esp32c6-lp/src/pmu/hp_modem_icg_hp_func.rs index ec018c7f11..bfbe4bca0f 100644 --- a/esp32c6-lp/src/pmu/hp_modem_icg_hp_func.rs +++ b/esp32c6-lp/src/pmu/hp_modem_icg_hp_func.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_dig_icg_func_en( &mut self, ) -> HP_MODEM_DIG_ICG_FUNC_EN_W { diff --git a/esp32c6-lp/src/pmu/hp_modem_icg_modem.rs b/esp32c6-lp/src/pmu/hp_modem_icg_modem.rs index 94da1179a8..11f15b82e2 100644 --- a/esp32c6-lp/src/pmu/hp_modem_icg_modem.rs +++ b/esp32c6-lp/src/pmu/hp_modem_icg_modem.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 30:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_dig_icg_modem_code( &mut self, ) -> HP_MODEM_DIG_ICG_MODEM_CODE_W { diff --git a/esp32c6-lp/src/pmu/hp_modem_sysclk.rs b/esp32c6-lp/src/pmu/hp_modem_sysclk.rs index 912d0e7b46..322e6ca888 100644 --- a/esp32c6-lp/src/pmu/hp_modem_sysclk.rs +++ b/esp32c6-lp/src/pmu/hp_modem_sysclk.rs @@ -70,7 +70,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_dig_sys_clk_no_div( &mut self, ) -> HP_MODEM_DIG_SYS_CLK_NO_DIV_W { @@ -78,7 +77,6 @@ impl W { } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_icg_sys_clock_en( &mut self, ) -> HP_MODEM_ICG_SYS_CLOCK_EN_W { @@ -86,19 +84,16 @@ impl W { } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_sys_clk_slp_sel(&mut self) -> HP_MODEM_SYS_CLK_SLP_SEL_W { HP_MODEM_SYS_CLK_SLP_SEL_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_icg_slp_sel(&mut self) -> HP_MODEM_ICG_SLP_SEL_W { HP_MODEM_ICG_SLP_SEL_W::new(self, 29) } #[doc = "Bits 30:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_dig_sys_clk_sel(&mut self) -> HP_MODEM_DIG_SYS_CLK_SEL_W { HP_MODEM_DIG_SYS_CLK_SEL_W::new(self, 30) } diff --git a/esp32c6-lp/src/pmu/hp_modem_xtal.rs b/esp32c6-lp/src/pmu/hp_modem_xtal.rs index 43151ad026..c528c687ce 100644 --- a/esp32c6-lp/src/pmu/hp_modem_xtal.rs +++ b/esp32c6-lp/src/pmu/hp_modem_xtal.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_xpd_xtal(&mut self) -> HP_MODEM_XPD_XTAL_W { HP_MODEM_XPD_XTAL_W::new(self, 31) } diff --git a/esp32c6-lp/src/pmu/hp_regulator_cfg.rs b/esp32c6-lp/src/pmu/hp_regulator_cfg.rs index e9060b75bd..9c5ff927c9 100644 --- a/esp32c6-lp/src/pmu/hp_regulator_cfg.rs +++ b/esp32c6-lp/src/pmu/hp_regulator_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn dig_regulator_en_cal(&mut self) -> DIG_REGULATOR_EN_CAL_W { DIG_REGULATOR_EN_CAL_W::new(self, 31) } diff --git a/esp32c6-lp/src/pmu/hp_sleep_backup.rs b/esp32c6-lp/src/pmu/hp_sleep_backup.rs index 6a6f9e9a06..c57ad8f946 100644 --- a/esp32c6-lp/src/pmu/hp_sleep_backup.rs +++ b/esp32c6-lp/src/pmu/hp_sleep_backup.rs @@ -151,7 +151,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 6:7 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2sleep_backup_modem_clk_code( &mut self, ) -> HP_MODEM2SLEEP_BACKUP_MODEM_CLK_CODE_W { @@ -159,7 +158,6 @@ impl W { } #[doc = "Bits 8:9 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active2sleep_backup_modem_clk_code( &mut self, ) -> HP_ACTIVE2SLEEP_BACKUP_MODEM_CLK_CODE_W { @@ -167,13 +165,11 @@ impl W { } #[doc = "Bit 10 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_retention_mode(&mut self) -> HP_SLEEP_RETENTION_MODE_W { HP_SLEEP_RETENTION_MODE_W::new(self, 10) } #[doc = "Bit 12 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2sleep_retention_en( &mut self, ) -> HP_MODEM2SLEEP_RETENTION_EN_W { @@ -181,7 +177,6 @@ impl W { } #[doc = "Bit 13 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active2sleep_retention_en( &mut self, ) -> HP_ACTIVE2SLEEP_RETENTION_EN_W { @@ -189,7 +184,6 @@ impl W { } #[doc = "Bits 16:17 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2sleep_backup_clk_sel( &mut self, ) -> HP_MODEM2SLEEP_BACKUP_CLK_SEL_W { @@ -197,7 +191,6 @@ impl W { } #[doc = "Bits 18:19 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active2sleep_backup_clk_sel( &mut self, ) -> HP_ACTIVE2SLEEP_BACKUP_CLK_SEL_W { @@ -205,7 +198,6 @@ impl W { } #[doc = "Bits 23:25 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2sleep_backup_mode( &mut self, ) -> HP_MODEM2SLEEP_BACKUP_MODE_W { @@ -213,7 +205,6 @@ impl W { } #[doc = "Bits 26:28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active2sleep_backup_mode( &mut self, ) -> HP_ACTIVE2SLEEP_BACKUP_MODE_W { @@ -221,13 +212,11 @@ impl W { } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2sleep_backup_en(&mut self) -> HP_MODEM2SLEEP_BACKUP_EN_W { HP_MODEM2SLEEP_BACKUP_EN_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active2sleep_backup_en( &mut self, ) -> HP_ACTIVE2SLEEP_BACKUP_EN_W { diff --git a/esp32c6-lp/src/pmu/hp_sleep_backup_clk.rs b/esp32c6-lp/src/pmu/hp_sleep_backup_clk.rs index 6bf03c5d11..a45c0c4891 100644 --- a/esp32c6-lp/src/pmu/hp_sleep_backup_clk.rs +++ b/esp32c6-lp/src/pmu/hp_sleep_backup_clk.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_backup_icg_func_en( &mut self, ) -> HP_SLEEP_BACKUP_ICG_FUNC_EN_W { diff --git a/esp32c6-lp/src/pmu/hp_sleep_bias.rs b/esp32c6-lp/src/pmu/hp_sleep_bias.rs index 48fb00b571..6e751ccb2c 100644 --- a/esp32c6-lp/src/pmu/hp_sleep_bias.rs +++ b/esp32c6-lp/src/pmu/hp_sleep_bias.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_xpd_bias(&mut self) -> HP_SLEEP_XPD_BIAS_W { HP_SLEEP_XPD_BIAS_W::new(self, 25) } #[doc = "Bits 26:29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_dbg_atten(&mut self) -> HP_SLEEP_DBG_ATTEN_W { HP_SLEEP_DBG_ATTEN_W::new(self, 26) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_pd_cur(&mut self) -> HP_SLEEP_PD_CUR_W { HP_SLEEP_PD_CUR_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn sleep(&mut self) -> SLEEP_W { SLEEP_W::new(self, 31) } diff --git a/esp32c6-lp/src/pmu/hp_sleep_dig_power.rs b/esp32c6-lp/src/pmu/hp_sleep_dig_power.rs index 2bfda189dd..4e85bf0787 100644 --- a/esp32c6-lp/src/pmu/hp_sleep_dig_power.rs +++ b/esp32c6-lp/src/pmu/hp_sleep_dig_power.rs @@ -87,19 +87,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 21 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_vdd_spi_pd_en(&mut self) -> HP_SLEEP_VDD_SPI_PD_EN_W { HP_SLEEP_VDD_SPI_PD_EN_W::new(self, 21) } #[doc = "Bit 22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_hp_mem_dslp(&mut self) -> HP_SLEEP_HP_MEM_DSLP_W { HP_SLEEP_HP_MEM_DSLP_W::new(self, 22) } #[doc = "Bits 23:26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_pd_hp_mem_pd_en( &mut self, ) -> HP_SLEEP_PD_HP_MEM_PD_EN_W { @@ -107,7 +104,6 @@ impl W { } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_pd_hp_wifi_pd_en( &mut self, ) -> HP_SLEEP_PD_HP_WIFI_PD_EN_W { @@ -115,7 +111,6 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_pd_hp_cpu_pd_en( &mut self, ) -> HP_SLEEP_PD_HP_CPU_PD_EN_W { @@ -123,7 +118,6 @@ impl W { } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_pd_hp_aon_pd_en( &mut self, ) -> HP_SLEEP_PD_HP_AON_PD_EN_W { @@ -131,7 +125,6 @@ impl W { } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_pd_top_pd_en(&mut self) -> HP_SLEEP_PD_TOP_PD_EN_W { HP_SLEEP_PD_TOP_PD_EN_W::new(self, 31) } diff --git a/esp32c6-lp/src/pmu/hp_sleep_hp_ck_power.rs b/esp32c6-lp/src/pmu/hp_sleep_hp_ck_power.rs index a9ae39341e..2ad72b59b4 100644 --- a/esp32c6-lp/src/pmu/hp_sleep_hp_ck_power.rs +++ b/esp32c6-lp/src/pmu/hp_sleep_hp_ck_power.rs @@ -64,13 +64,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_i2c_iso_en(&mut self) -> HP_SLEEP_I2C_ISO_EN_W { HP_SLEEP_I2C_ISO_EN_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_i2c_retention( &mut self, ) -> HP_SLEEP_I2C_RETENTION_W { @@ -78,13 +76,11 @@ impl W { } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_xpd_bb_i2c(&mut self) -> HP_SLEEP_XPD_BB_I2C_W { HP_SLEEP_XPD_BB_I2C_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_xpd_bbpll_i2c( &mut self, ) -> HP_SLEEP_XPD_BBPLL_I2C_W { @@ -92,7 +88,6 @@ impl W { } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_xpd_bbpll(&mut self) -> HP_SLEEP_XPD_BBPLL_W { HP_SLEEP_XPD_BBPLL_W::new(self, 30) } diff --git a/esp32c6-lp/src/pmu/hp_sleep_hp_regulator0.rs b/esp32c6-lp/src/pmu/hp_sleep_hp_regulator0.rs index b0db1a77b5..3c2e95ab40 100644 --- a/esp32c6-lp/src/pmu/hp_sleep_hp_regulator0.rs +++ b/esp32c6-lp/src/pmu/hp_sleep_hp_regulator0.rs @@ -92,7 +92,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 16 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_hp_regulator_slp_mem_xpd( &mut self, ) -> HP_SLEEP_HP_REGULATOR_SLP_MEM_XPD_W { @@ -100,7 +99,6 @@ impl W { } #[doc = "Bit 17 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_hp_regulator_slp_logic_xpd( &mut self, ) -> HP_SLEEP_HP_REGULATOR_SLP_LOGIC_XPD_W { @@ -108,7 +106,6 @@ impl W { } #[doc = "Bit 18 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_hp_regulator_xpd( &mut self, ) -> HP_SLEEP_HP_REGULATOR_XPD_W { @@ -116,7 +113,6 @@ impl W { } #[doc = "Bits 19:22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_hp_regulator_slp_mem_dbias( &mut self, ) -> HP_SLEEP_HP_REGULATOR_SLP_MEM_DBIAS_W { @@ -124,7 +120,6 @@ impl W { } #[doc = "Bits 23:26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_hp_regulator_slp_logic_dbias( &mut self, ) -> HP_SLEEP_HP_REGULATOR_SLP_LOGIC_DBIAS_W { @@ -132,7 +127,6 @@ impl W { } #[doc = "Bits 27:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_hp_regulator_dbias( &mut self, ) -> HP_SLEEP_HP_REGULATOR_DBIAS_W { diff --git a/esp32c6-lp/src/pmu/hp_sleep_hp_regulator1.rs b/esp32c6-lp/src/pmu/hp_sleep_hp_regulator1.rs index 24585be350..43814301a5 100644 --- a/esp32c6-lp/src/pmu/hp_sleep_hp_regulator1.rs +++ b/esp32c6-lp/src/pmu/hp_sleep_hp_regulator1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 8:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_hp_regulator_drv_b( &mut self, ) -> HP_SLEEP_HP_REGULATOR_DRV_B_W { diff --git a/esp32c6-lp/src/pmu/hp_sleep_hp_sys_cntl.rs b/esp32c6-lp/src/pmu/hp_sleep_hp_sys_cntl.rs index 547e2834e6..3f3feb0a3d 100644 --- a/esp32c6-lp/src/pmu/hp_sleep_hp_sys_cntl.rs +++ b/esp32c6-lp/src/pmu/hp_sleep_hp_sys_cntl.rs @@ -74,7 +74,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 24 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_uart_wakeup_en( &mut self, ) -> HP_SLEEP_UART_WAKEUP_EN_W { @@ -82,7 +81,6 @@ impl W { } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_lp_pad_hold_all( &mut self, ) -> HP_SLEEP_LP_PAD_HOLD_ALL_W { @@ -90,7 +88,6 @@ impl W { } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_hp_pad_hold_all( &mut self, ) -> HP_SLEEP_HP_PAD_HOLD_ALL_W { @@ -98,7 +95,6 @@ impl W { } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_dig_pad_slp_sel( &mut self, ) -> HP_SLEEP_DIG_PAD_SLP_SEL_W { @@ -106,7 +102,6 @@ impl W { } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_dig_pause_wdt( &mut self, ) -> HP_SLEEP_DIG_PAUSE_WDT_W { @@ -114,7 +109,6 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_dig_cpu_stall( &mut self, ) -> HP_SLEEP_DIG_CPU_STALL_W { diff --git a/esp32c6-lp/src/pmu/hp_sleep_icg_hp_apb.rs b/esp32c6-lp/src/pmu/hp_sleep_icg_hp_apb.rs index f50ae2716f..1c100ebece 100644 --- a/esp32c6-lp/src/pmu/hp_sleep_icg_hp_apb.rs +++ b/esp32c6-lp/src/pmu/hp_sleep_icg_hp_apb.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_dig_icg_apb_en( &mut self, ) -> HP_SLEEP_DIG_ICG_APB_EN_W { diff --git a/esp32c6-lp/src/pmu/hp_sleep_icg_hp_func.rs b/esp32c6-lp/src/pmu/hp_sleep_icg_hp_func.rs index 6a772a5b66..b50ea585fc 100644 --- a/esp32c6-lp/src/pmu/hp_sleep_icg_hp_func.rs +++ b/esp32c6-lp/src/pmu/hp_sleep_icg_hp_func.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_dig_icg_func_en( &mut self, ) -> HP_SLEEP_DIG_ICG_FUNC_EN_W { diff --git a/esp32c6-lp/src/pmu/hp_sleep_icg_modem.rs b/esp32c6-lp/src/pmu/hp_sleep_icg_modem.rs index 1c65c25263..736f62b049 100644 --- a/esp32c6-lp/src/pmu/hp_sleep_icg_modem.rs +++ b/esp32c6-lp/src/pmu/hp_sleep_icg_modem.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 30:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_dig_icg_modem_code( &mut self, ) -> HP_SLEEP_DIG_ICG_MODEM_CODE_W { diff --git a/esp32c6-lp/src/pmu/hp_sleep_lp_ck_power.rs b/esp32c6-lp/src/pmu/hp_sleep_lp_ck_power.rs index 68ac2250d8..fd56808ff8 100644 --- a/esp32c6-lp/src/pmu/hp_sleep_lp_ck_power.rs +++ b/esp32c6-lp/src/pmu/hp_sleep_lp_ck_power.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_xpd_xtal32k(&mut self) -> HP_SLEEP_XPD_XTAL32K_W { HP_SLEEP_XPD_XTAL32K_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_xpd_rc32k(&mut self) -> HP_SLEEP_XPD_RC32K_W { HP_SLEEP_XPD_RC32K_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_xpd_fosc_clk(&mut self) -> HP_SLEEP_XPD_FOSC_CLK_W { HP_SLEEP_XPD_FOSC_CLK_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_pd_osc_clk(&mut self) -> HP_SLEEP_PD_OSC_CLK_W { HP_SLEEP_PD_OSC_CLK_W::new(self, 31) } diff --git a/esp32c6-lp/src/pmu/hp_sleep_lp_dcdc_reserve.rs b/esp32c6-lp/src/pmu/hp_sleep_lp_dcdc_reserve.rs index 8a14263079..611cdf7eaf 100644 --- a/esp32c6-lp/src/pmu/hp_sleep_lp_dcdc_reserve.rs +++ b/esp32c6-lp/src/pmu/hp_sleep_lp_dcdc_reserve.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_lp_dcdc_reserve( &mut self, ) -> HP_SLEEP_LP_DCDC_RESERVE_W { diff --git a/esp32c6-lp/src/pmu/hp_sleep_lp_dig_power.rs b/esp32c6-lp/src/pmu/hp_sleep_lp_dig_power.rs index 35627ffb6b..a825695741 100644 --- a/esp32c6-lp/src/pmu/hp_sleep_lp_dig_power.rs +++ b/esp32c6-lp/src/pmu/hp_sleep_lp_dig_power.rs @@ -37,13 +37,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_lp_mem_dslp(&mut self) -> HP_SLEEP_LP_MEM_DSLP_W { HP_SLEEP_LP_MEM_DSLP_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_pd_lp_peri_pd_en( &mut self, ) -> HP_SLEEP_PD_LP_PERI_PD_EN_W { diff --git a/esp32c6-lp/src/pmu/hp_sleep_lp_regulator0.rs b/esp32c6-lp/src/pmu/hp_sleep_lp_regulator0.rs index a1aa018710..0a7ed2cfb0 100644 --- a/esp32c6-lp/src/pmu/hp_sleep_lp_regulator0.rs +++ b/esp32c6-lp/src/pmu/hp_sleep_lp_regulator0.rs @@ -66,7 +66,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 21 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_lp_regulator_slp_xpd( &mut self, ) -> HP_SLEEP_LP_REGULATOR_SLP_XPD_W { @@ -74,7 +73,6 @@ impl W { } #[doc = "Bit 22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_lp_regulator_xpd( &mut self, ) -> HP_SLEEP_LP_REGULATOR_XPD_W { @@ -82,7 +80,6 @@ impl W { } #[doc = "Bits 23:26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_lp_regulator_slp_dbias( &mut self, ) -> HP_SLEEP_LP_REGULATOR_SLP_DBIAS_W { @@ -90,7 +87,6 @@ impl W { } #[doc = "Bits 27:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_lp_regulator_dbias( &mut self, ) -> HP_SLEEP_LP_REGULATOR_DBIAS_W { diff --git a/esp32c6-lp/src/pmu/hp_sleep_lp_regulator1.rs b/esp32c6-lp/src/pmu/hp_sleep_lp_regulator1.rs index 17cad59be1..e1c7b093a7 100644 --- a/esp32c6-lp/src/pmu/hp_sleep_lp_regulator1.rs +++ b/esp32c6-lp/src/pmu/hp_sleep_lp_regulator1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 28:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_lp_regulator_drv_b( &mut self, ) -> HP_SLEEP_LP_REGULATOR_DRV_B_W { diff --git a/esp32c6-lp/src/pmu/hp_sleep_sysclk.rs b/esp32c6-lp/src/pmu/hp_sleep_sysclk.rs index 0873e5ee63..6453997284 100644 --- a/esp32c6-lp/src/pmu/hp_sleep_sysclk.rs +++ b/esp32c6-lp/src/pmu/hp_sleep_sysclk.rs @@ -70,7 +70,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_dig_sys_clk_no_div( &mut self, ) -> HP_SLEEP_DIG_SYS_CLK_NO_DIV_W { @@ -78,7 +77,6 @@ impl W { } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_icg_sys_clock_en( &mut self, ) -> HP_SLEEP_ICG_SYS_CLOCK_EN_W { @@ -86,19 +84,16 @@ impl W { } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_sys_clk_slp_sel(&mut self) -> HP_SLEEP_SYS_CLK_SLP_SEL_W { HP_SLEEP_SYS_CLK_SLP_SEL_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_icg_slp_sel(&mut self) -> HP_SLEEP_ICG_SLP_SEL_W { HP_SLEEP_ICG_SLP_SEL_W::new(self, 29) } #[doc = "Bits 30:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_dig_sys_clk_sel(&mut self) -> HP_SLEEP_DIG_SYS_CLK_SEL_W { HP_SLEEP_DIG_SYS_CLK_SEL_W::new(self, 30) } diff --git a/esp32c6-lp/src/pmu/hp_sleep_xtal.rs b/esp32c6-lp/src/pmu/hp_sleep_xtal.rs index 3f382cdf24..a2d7ca7739 100644 --- a/esp32c6-lp/src/pmu/hp_sleep_xtal.rs +++ b/esp32c6-lp/src/pmu/hp_sleep_xtal.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_xpd_xtal(&mut self) -> HP_SLEEP_XPD_XTAL_W { HP_SLEEP_XPD_XTAL_W::new(self, 31) } diff --git a/esp32c6-lp/src/pmu/imm_hp_apb_icg.rs b/esp32c6-lp/src/pmu/imm_hp_apb_icg.rs index 3b3fc966b3..df5a3ade8f 100644 --- a/esp32c6-lp/src/pmu/imm_hp_apb_icg.rs +++ b/esp32c6-lp/src/pmu/imm_hp_apb_icg.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn update_dig_icg_apb_en(&mut self) -> UPDATE_DIG_ICG_APB_EN_W { UPDATE_DIG_ICG_APB_EN_W::new(self, 31) } diff --git a/esp32c6-lp/src/pmu/imm_hp_ck_power.rs b/esp32c6-lp/src/pmu/imm_hp_ck_power.rs index 0045f51316..287df1d769 100644 --- a/esp32c6-lp/src/pmu/imm_hp_ck_power.rs +++ b/esp32c6-lp/src/pmu/imm_hp_ck_power.rs @@ -39,49 +39,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_global_bbpll_icg(&mut self) -> TIE_LOW_GLOBAL_BBPLL_ICG_W { TIE_LOW_GLOBAL_BBPLL_ICG_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_global_xtal_icg(&mut self) -> TIE_LOW_GLOBAL_XTAL_ICG_W { TIE_LOW_GLOBAL_XTAL_ICG_W::new(self, 1) } #[doc = "Bit 2 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_i2c_retention(&mut self) -> TIE_LOW_I2C_RETENTION_W { TIE_LOW_I2C_RETENTION_W::new(self, 2) } #[doc = "Bit 3 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_xpd_bb_i2c(&mut self) -> TIE_LOW_XPD_BB_I2C_W { TIE_LOW_XPD_BB_I2C_W::new(self, 3) } #[doc = "Bit 4 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_xpd_bbpll_i2c(&mut self) -> TIE_LOW_XPD_BBPLL_I2C_W { TIE_LOW_XPD_BBPLL_I2C_W::new(self, 4) } #[doc = "Bit 5 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_xpd_bbpll(&mut self) -> TIE_LOW_XPD_BBPLL_W { TIE_LOW_XPD_BBPLL_W::new(self, 5) } #[doc = "Bit 6 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_xpd_xtal(&mut self) -> TIE_LOW_XPD_XTAL_W { TIE_LOW_XPD_XTAL_W::new(self, 6) } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_global_bbpll_icg( &mut self, ) -> TIE_HIGH_GLOBAL_BBPLL_ICG_W { @@ -89,37 +81,31 @@ impl W { } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_global_xtal_icg(&mut self) -> TIE_HIGH_GLOBAL_XTAL_ICG_W { TIE_HIGH_GLOBAL_XTAL_ICG_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_i2c_retention(&mut self) -> TIE_HIGH_I2C_RETENTION_W { TIE_HIGH_I2C_RETENTION_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_xpd_bb_i2c(&mut self) -> TIE_HIGH_XPD_BB_I2C_W { TIE_HIGH_XPD_BB_I2C_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_xpd_bbpll_i2c(&mut self) -> TIE_HIGH_XPD_BBPLL_I2C_W { TIE_HIGH_XPD_BBPLL_I2C_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_xpd_bbpll(&mut self) -> TIE_HIGH_XPD_BBPLL_W { TIE_HIGH_XPD_BBPLL_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_xpd_xtal(&mut self) -> TIE_HIGH_XPD_XTAL_W { TIE_HIGH_XPD_XTAL_W::new(self, 31) } diff --git a/esp32c6-lp/src/pmu/imm_hp_func_icg.rs b/esp32c6-lp/src/pmu/imm_hp_func_icg.rs index 8000f18ab4..dfdf10bdda 100644 --- a/esp32c6-lp/src/pmu/imm_hp_func_icg.rs +++ b/esp32c6-lp/src/pmu/imm_hp_func_icg.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn update_dig_icg_func_en(&mut self) -> UPDATE_DIG_ICG_FUNC_EN_W { UPDATE_DIG_ICG_FUNC_EN_W::new(self, 31) } diff --git a/esp32c6-lp/src/pmu/imm_i2c_iso.rs b/esp32c6-lp/src/pmu/imm_i2c_iso.rs index c39507b619..b3c13e0144 100644 --- a/esp32c6-lp/src/pmu/imm_i2c_iso.rs +++ b/esp32c6-lp/src/pmu/imm_i2c_iso.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_i2c_iso_en(&mut self) -> TIE_HIGH_I2C_ISO_EN_W { TIE_HIGH_I2C_ISO_EN_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_i2c_iso_en(&mut self) -> TIE_LOW_I2C_ISO_EN_W { TIE_LOW_I2C_ISO_EN_W::new(self, 31) } diff --git a/esp32c6-lp/src/pmu/imm_lp_icg.rs b/esp32c6-lp/src/pmu/imm_lp_icg.rs index e91b571eaa..f531bddf91 100644 --- a/esp32c6-lp/src/pmu/imm_lp_icg.rs +++ b/esp32c6-lp/src/pmu/imm_lp_icg.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_lp_rootclk_sel(&mut self) -> TIE_LOW_LP_ROOTCLK_SEL_W { TIE_LOW_LP_ROOTCLK_SEL_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_lp_rootclk_sel(&mut self) -> TIE_HIGH_LP_ROOTCLK_SEL_W { TIE_HIGH_LP_ROOTCLK_SEL_W::new(self, 31) } diff --git a/esp32c6-lp/src/pmu/imm_modem_icg.rs b/esp32c6-lp/src/pmu/imm_modem_icg.rs index 3a1b7629bc..3de95c17f4 100644 --- a/esp32c6-lp/src/pmu/imm_modem_icg.rs +++ b/esp32c6-lp/src/pmu/imm_modem_icg.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn update_dig_icg_modem_en(&mut self) -> UPDATE_DIG_ICG_MODEM_EN_W { UPDATE_DIG_ICG_MODEM_EN_W::new(self, 31) } diff --git a/esp32c6-lp/src/pmu/imm_pad_hold_all.rs b/esp32c6-lp/src/pmu/imm_pad_hold_all.rs index e5b1b5c031..1c5873994a 100644 --- a/esp32c6-lp/src/pmu/imm_pad_hold_all.rs +++ b/esp32c6-lp/src/pmu/imm_pad_hold_all.rs @@ -17,7 +17,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_lp_pad_hold_all( &mut self, ) -> TIE_HIGH_LP_PAD_HOLD_ALL_W { @@ -25,13 +24,11 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_lp_pad_hold_all(&mut self) -> TIE_LOW_LP_PAD_HOLD_ALL_W { TIE_LOW_LP_PAD_HOLD_ALL_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_hp_pad_hold_all( &mut self, ) -> TIE_HIGH_HP_PAD_HOLD_ALL_W { @@ -39,7 +36,6 @@ impl W { } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_hp_pad_hold_all(&mut self) -> TIE_LOW_HP_PAD_HOLD_ALL_W { TIE_LOW_HP_PAD_HOLD_ALL_W::new(self, 31) } diff --git a/esp32c6-lp/src/pmu/imm_sleep_sysclk.rs b/esp32c6-lp/src/pmu/imm_sleep_sysclk.rs index 107b9c732b..6072f2a048 100644 --- a/esp32c6-lp/src/pmu/imm_sleep_sysclk.rs +++ b/esp32c6-lp/src/pmu/imm_sleep_sysclk.rs @@ -17,25 +17,21 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn update_dig_icg_switch(&mut self) -> UPDATE_DIG_ICG_SWITCH_W { UPDATE_DIG_ICG_SWITCH_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_icg_slp_sel(&mut self) -> TIE_LOW_ICG_SLP_SEL_W { TIE_LOW_ICG_SLP_SEL_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_icg_slp_sel(&mut self) -> TIE_HIGH_ICG_SLP_SEL_W { TIE_HIGH_ICG_SLP_SEL_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn update_dig_sys_clk_sel(&mut self) -> UPDATE_DIG_SYS_CLK_SEL_W { UPDATE_DIG_SYS_CLK_SEL_W::new(self, 31) } diff --git a/esp32c6-lp/src/pmu/int_clr.rs b/esp32c6-lp/src/pmu/int_clr.rs index f32d0efe01..2c342a9a35 100644 --- a/esp32c6-lp/src/pmu/int_clr.rs +++ b/esp32c6-lp/src/pmu/int_clr.rs @@ -19,31 +19,26 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_exc(&mut self) -> LP_CPU_EXC_W { LP_CPU_EXC_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn sdio_idle(&mut self) -> SDIO_IDLE_W { SDIO_IDLE_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn sw(&mut self) -> SW_W { SW_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn soc_sleep_reject(&mut self) -> SOC_SLEEP_REJECT_W { SOC_SLEEP_REJECT_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn soc_wakeup(&mut self) -> SOC_WAKEUP_W { SOC_WAKEUP_W::new(self, 31) } diff --git a/esp32c6-lp/src/pmu/int_ena.rs b/esp32c6-lp/src/pmu/int_ena.rs index ce65dcd5cd..02e3e8e17b 100644 --- a/esp32c6-lp/src/pmu/int_ena.rs +++ b/esp32c6-lp/src/pmu/int_ena.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_exc(&mut self) -> LP_CPU_EXC_W { LP_CPU_EXC_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn sdio_idle(&mut self) -> SDIO_IDLE_W { SDIO_IDLE_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn sw(&mut self) -> SW_W { SW_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn soc_sleep_reject(&mut self) -> SOC_SLEEP_REJECT_W { SOC_SLEEP_REJECT_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn soc_wakeup(&mut self) -> SOC_WAKEUP_W { SOC_WAKEUP_W::new(self, 31) } diff --git a/esp32c6-lp/src/pmu/int_raw.rs b/esp32c6-lp/src/pmu/int_raw.rs index 97fbb06c11..84f2835ea6 100644 --- a/esp32c6-lp/src/pmu/int_raw.rs +++ b/esp32c6-lp/src/pmu/int_raw.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_exc(&mut self) -> LP_CPU_EXC_W { LP_CPU_EXC_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn sdio_idle(&mut self) -> SDIO_IDLE_W { SDIO_IDLE_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn sw(&mut self) -> SW_W { SW_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn soc_sleep_reject(&mut self) -> SOC_SLEEP_REJECT_W { SOC_SLEEP_REJECT_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn soc_wakeup(&mut self) -> SOC_WAKEUP_W { SOC_WAKEUP_W::new(self, 31) } diff --git a/esp32c6-lp/src/pmu/lp_cpu_pwr0.rs b/esp32c6-lp/src/pmu/lp_cpu_pwr0.rs index 0cb5ba299f..9a77237497 100644 --- a/esp32c6-lp/src/pmu/lp_cpu_pwr0.rs +++ b/esp32c6-lp/src/pmu/lp_cpu_pwr0.rs @@ -103,43 +103,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 18 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_force_stall(&mut self) -> LP_CPU_FORCE_STALL_W { LP_CPU_FORCE_STALL_W::new(self, 18) } #[doc = "Bit 19 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_slp_waiti_flag_en(&mut self) -> LP_CPU_SLP_WAITI_FLAG_EN_W { LP_CPU_SLP_WAITI_FLAG_EN_W::new(self, 19) } #[doc = "Bit 20 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_slp_stall_flag_en(&mut self) -> LP_CPU_SLP_STALL_FLAG_EN_W { LP_CPU_SLP_STALL_FLAG_EN_W::new(self, 20) } #[doc = "Bits 21:28 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_slp_stall_wait(&mut self) -> LP_CPU_SLP_STALL_WAIT_W { LP_CPU_SLP_STALL_WAIT_W::new(self, 21) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_slp_stall_en(&mut self) -> LP_CPU_SLP_STALL_EN_W { LP_CPU_SLP_STALL_EN_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_slp_reset_en(&mut self) -> LP_CPU_SLP_RESET_EN_W { LP_CPU_SLP_RESET_EN_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_slp_bypass_intr_en(&mut self) -> LP_CPU_SLP_BYPASS_INTR_EN_W { LP_CPU_SLP_BYPASS_INTR_EN_W::new(self, 31) } diff --git a/esp32c6-lp/src/pmu/lp_cpu_pwr1.rs b/esp32c6-lp/src/pmu/lp_cpu_pwr1.rs index 022d67cd6b..1bf58e1974 100644 --- a/esp32c6-lp/src/pmu/lp_cpu_pwr1.rs +++ b/esp32c6-lp/src/pmu/lp_cpu_pwr1.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_wakeup_en(&mut self) -> LP_CPU_WAKEUP_EN_W { LP_CPU_WAKEUP_EN_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_sleep_req(&mut self) -> LP_CPU_SLEEP_REQ_W { LP_CPU_SLEEP_REQ_W::new(self, 31) } diff --git a/esp32c6-lp/src/pmu/lp_int_clr.rs b/esp32c6-lp/src/pmu/lp_int_clr.rs index c0b6382880..0e27abc11f 100644 --- a/esp32c6-lp/src/pmu/lp_int_clr.rs +++ b/esp32c6-lp/src/pmu/lp_int_clr.rs @@ -33,73 +33,61 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 20 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_wakeup(&mut self) -> LP_CPU_WAKEUP_W { LP_CPU_WAKEUP_W::new(self, 20) } #[doc = "Bit 21 - need_des"] #[inline(always)] - #[must_use] pub fn modem_switch_active_end(&mut self) -> MODEM_SWITCH_ACTIVE_END_W { MODEM_SWITCH_ACTIVE_END_W::new(self, 21) } #[doc = "Bit 22 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_active_end(&mut self) -> SLEEP_SWITCH_ACTIVE_END_W { SLEEP_SWITCH_ACTIVE_END_W::new(self, 22) } #[doc = "Bit 23 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_modem_end(&mut self) -> SLEEP_SWITCH_MODEM_END_W { SLEEP_SWITCH_MODEM_END_W::new(self, 23) } #[doc = "Bit 24 - need_des"] #[inline(always)] - #[must_use] pub fn modem_switch_sleep_end(&mut self) -> MODEM_SWITCH_SLEEP_END_W { MODEM_SWITCH_SLEEP_END_W::new(self, 24) } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn active_switch_sleep_end(&mut self) -> ACTIVE_SWITCH_SLEEP_END_W { ACTIVE_SWITCH_SLEEP_END_W::new(self, 25) } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn modem_switch_active_start(&mut self) -> MODEM_SWITCH_ACTIVE_START_W { MODEM_SWITCH_ACTIVE_START_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_active_start(&mut self) -> SLEEP_SWITCH_ACTIVE_START_W { SLEEP_SWITCH_ACTIVE_START_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_modem_start(&mut self) -> SLEEP_SWITCH_MODEM_START_W { SLEEP_SWITCH_MODEM_START_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn modem_switch_sleep_start(&mut self) -> MODEM_SWITCH_SLEEP_START_W { MODEM_SWITCH_SLEEP_START_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn active_switch_sleep_start(&mut self) -> ACTIVE_SWITCH_SLEEP_START_W { ACTIVE_SWITCH_SLEEP_START_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sw_trigger(&mut self) -> HP_SW_TRIGGER_W { HP_SW_TRIGGER_W::new(self, 31) } diff --git a/esp32c6-lp/src/pmu/lp_int_ena.rs b/esp32c6-lp/src/pmu/lp_int_ena.rs index 2d28fb2427..3f70c90aa0 100644 --- a/esp32c6-lp/src/pmu/lp_int_ena.rs +++ b/esp32c6-lp/src/pmu/lp_int_ena.rs @@ -143,73 +143,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 20 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_wakeup(&mut self) -> LP_CPU_WAKEUP_W { LP_CPU_WAKEUP_W::new(self, 20) } #[doc = "Bit 21 - need_des"] #[inline(always)] - #[must_use] pub fn modem_switch_active_end(&mut self) -> MODEM_SWITCH_ACTIVE_END_W { MODEM_SWITCH_ACTIVE_END_W::new(self, 21) } #[doc = "Bit 22 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_active_end(&mut self) -> SLEEP_SWITCH_ACTIVE_END_W { SLEEP_SWITCH_ACTIVE_END_W::new(self, 22) } #[doc = "Bit 23 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_modem_end(&mut self) -> SLEEP_SWITCH_MODEM_END_W { SLEEP_SWITCH_MODEM_END_W::new(self, 23) } #[doc = "Bit 24 - need_des"] #[inline(always)] - #[must_use] pub fn modem_switch_sleep_end(&mut self) -> MODEM_SWITCH_SLEEP_END_W { MODEM_SWITCH_SLEEP_END_W::new(self, 24) } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn active_switch_sleep_end(&mut self) -> ACTIVE_SWITCH_SLEEP_END_W { ACTIVE_SWITCH_SLEEP_END_W::new(self, 25) } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn modem_switch_active_start(&mut self) -> MODEM_SWITCH_ACTIVE_START_W { MODEM_SWITCH_ACTIVE_START_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_active_start(&mut self) -> SLEEP_SWITCH_ACTIVE_START_W { SLEEP_SWITCH_ACTIVE_START_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_modem_start(&mut self) -> SLEEP_SWITCH_MODEM_START_W { SLEEP_SWITCH_MODEM_START_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn modem_switch_sleep_start(&mut self) -> MODEM_SWITCH_SLEEP_START_W { MODEM_SWITCH_SLEEP_START_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn active_switch_sleep_start(&mut self) -> ACTIVE_SWITCH_SLEEP_START_W { ACTIVE_SWITCH_SLEEP_START_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sw_trigger(&mut self) -> HP_SW_TRIGGER_W { HP_SW_TRIGGER_W::new(self, 31) } diff --git a/esp32c6-lp/src/pmu/lp_int_raw.rs b/esp32c6-lp/src/pmu/lp_int_raw.rs index 50925353e9..aefa402635 100644 --- a/esp32c6-lp/src/pmu/lp_int_raw.rs +++ b/esp32c6-lp/src/pmu/lp_int_raw.rs @@ -143,73 +143,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 20 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_wakeup(&mut self) -> LP_CPU_WAKEUP_W { LP_CPU_WAKEUP_W::new(self, 20) } #[doc = "Bit 21 - need_des"] #[inline(always)] - #[must_use] pub fn modem_switch_active_end(&mut self) -> MODEM_SWITCH_ACTIVE_END_W { MODEM_SWITCH_ACTIVE_END_W::new(self, 21) } #[doc = "Bit 22 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_active_end(&mut self) -> SLEEP_SWITCH_ACTIVE_END_W { SLEEP_SWITCH_ACTIVE_END_W::new(self, 22) } #[doc = "Bit 23 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_modem_end(&mut self) -> SLEEP_SWITCH_MODEM_END_W { SLEEP_SWITCH_MODEM_END_W::new(self, 23) } #[doc = "Bit 24 - need_des"] #[inline(always)] - #[must_use] pub fn modem_switch_sleep_end(&mut self) -> MODEM_SWITCH_SLEEP_END_W { MODEM_SWITCH_SLEEP_END_W::new(self, 24) } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn active_switch_sleep_end(&mut self) -> ACTIVE_SWITCH_SLEEP_END_W { ACTIVE_SWITCH_SLEEP_END_W::new(self, 25) } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn modem_switch_active_start(&mut self) -> MODEM_SWITCH_ACTIVE_START_W { MODEM_SWITCH_ACTIVE_START_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_active_start(&mut self) -> SLEEP_SWITCH_ACTIVE_START_W { SLEEP_SWITCH_ACTIVE_START_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_modem_start(&mut self) -> SLEEP_SWITCH_MODEM_START_W { SLEEP_SWITCH_MODEM_START_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn modem_switch_sleep_start(&mut self) -> MODEM_SWITCH_SLEEP_START_W { MODEM_SWITCH_SLEEP_START_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn active_switch_sleep_start(&mut self) -> ACTIVE_SWITCH_SLEEP_START_W { ACTIVE_SWITCH_SLEEP_START_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sw_trigger(&mut self) -> HP_SW_TRIGGER_W { HP_SW_TRIGGER_W::new(self, 31) } diff --git a/esp32c6-lp/src/pmu/lp_sleep_bias.rs b/esp32c6-lp/src/pmu/lp_sleep_bias.rs index 13c71e3fe7..5bab4b9568 100644 --- a/esp32c6-lp/src/pmu/lp_sleep_bias.rs +++ b/esp32c6-lp/src/pmu/lp_sleep_bias.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_xpd_bias(&mut self) -> LP_SLEEP_XPD_BIAS_W { LP_SLEEP_XPD_BIAS_W::new(self, 25) } #[doc = "Bits 26:29 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_dbg_atten(&mut self) -> LP_SLEEP_DBG_ATTEN_W { LP_SLEEP_DBG_ATTEN_W::new(self, 26) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_pd_cur(&mut self) -> LP_SLEEP_PD_CUR_W { LP_SLEEP_PD_CUR_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn sleep(&mut self) -> SLEEP_W { SLEEP_W::new(self, 31) } diff --git a/esp32c6-lp/src/pmu/lp_sleep_lp_bias_reserve.rs b/esp32c6-lp/src/pmu/lp_sleep_lp_bias_reserve.rs index 44c73fc42f..b986ebde49 100644 --- a/esp32c6-lp/src/pmu/lp_sleep_lp_bias_reserve.rs +++ b/esp32c6-lp/src/pmu/lp_sleep_lp_bias_reserve.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_lp_bias_reserve( &mut self, ) -> LP_SLEEP_LP_BIAS_RESERVE_W { diff --git a/esp32c6-lp/src/pmu/lp_sleep_lp_ck_power.rs b/esp32c6-lp/src/pmu/lp_sleep_lp_ck_power.rs index a9dae0ffa1..067af6b778 100644 --- a/esp32c6-lp/src/pmu/lp_sleep_lp_ck_power.rs +++ b/esp32c6-lp/src/pmu/lp_sleep_lp_ck_power.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_xpd_xtal32k(&mut self) -> LP_SLEEP_XPD_XTAL32K_W { LP_SLEEP_XPD_XTAL32K_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_xpd_rc32k(&mut self) -> LP_SLEEP_XPD_RC32K_W { LP_SLEEP_XPD_RC32K_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_xpd_fosc_clk(&mut self) -> LP_SLEEP_XPD_FOSC_CLK_W { LP_SLEEP_XPD_FOSC_CLK_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_pd_osc_clk(&mut self) -> LP_SLEEP_PD_OSC_CLK_W { LP_SLEEP_PD_OSC_CLK_W::new(self, 31) } diff --git a/esp32c6-lp/src/pmu/lp_sleep_lp_dig_power.rs b/esp32c6-lp/src/pmu/lp_sleep_lp_dig_power.rs index d312a2ef48..8aa00e4b60 100644 --- a/esp32c6-lp/src/pmu/lp_sleep_lp_dig_power.rs +++ b/esp32c6-lp/src/pmu/lp_sleep_lp_dig_power.rs @@ -37,13 +37,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_lp_mem_dslp(&mut self) -> LP_SLEEP_LP_MEM_DSLP_W { LP_SLEEP_LP_MEM_DSLP_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_pd_lp_peri_pd_en( &mut self, ) -> LP_SLEEP_PD_LP_PERI_PD_EN_W { diff --git a/esp32c6-lp/src/pmu/lp_sleep_lp_regulator0.rs b/esp32c6-lp/src/pmu/lp_sleep_lp_regulator0.rs index efae946a49..71fce1788a 100644 --- a/esp32c6-lp/src/pmu/lp_sleep_lp_regulator0.rs +++ b/esp32c6-lp/src/pmu/lp_sleep_lp_regulator0.rs @@ -66,7 +66,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 21 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_lp_regulator_slp_xpd( &mut self, ) -> LP_SLEEP_LP_REGULATOR_SLP_XPD_W { @@ -74,7 +73,6 @@ impl W { } #[doc = "Bit 22 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_lp_regulator_xpd( &mut self, ) -> LP_SLEEP_LP_REGULATOR_XPD_W { @@ -82,7 +80,6 @@ impl W { } #[doc = "Bits 23:26 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_lp_regulator_slp_dbias( &mut self, ) -> LP_SLEEP_LP_REGULATOR_SLP_DBIAS_W { @@ -90,7 +87,6 @@ impl W { } #[doc = "Bits 27:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_lp_regulator_dbias( &mut self, ) -> LP_SLEEP_LP_REGULATOR_DBIAS_W { diff --git a/esp32c6-lp/src/pmu/lp_sleep_lp_regulator1.rs b/esp32c6-lp/src/pmu/lp_sleep_lp_regulator1.rs index 431ef7172c..91bc3805d9 100644 --- a/esp32c6-lp/src/pmu/lp_sleep_lp_regulator1.rs +++ b/esp32c6-lp/src/pmu/lp_sleep_lp_regulator1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 28:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_lp_regulator_drv_b( &mut self, ) -> LP_SLEEP_LP_REGULATOR_DRV_B_W { diff --git a/esp32c6-lp/src/pmu/lp_sleep_xtal.rs b/esp32c6-lp/src/pmu/lp_sleep_xtal.rs index 970da0044c..4ad3d9549e 100644 --- a/esp32c6-lp/src/pmu/lp_sleep_xtal.rs +++ b/esp32c6-lp/src/pmu/lp_sleep_xtal.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_xpd_xtal(&mut self) -> LP_SLEEP_XPD_XTAL_W { LP_SLEEP_XPD_XTAL_W::new(self, 31) } diff --git a/esp32c6-lp/src/pmu/power_ck_wait_cntl.rs b/esp32c6-lp/src/pmu/power_ck_wait_cntl.rs index b080a548c1..112dee482f 100644 --- a/esp32c6-lp/src/pmu/power_ck_wait_cntl.rs +++ b/esp32c6-lp/src/pmu/power_ck_wait_cntl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - need_des"] #[inline(always)] - #[must_use] pub fn wait_xtl_stable(&mut self) -> WAIT_XTL_STABLE_W { WAIT_XTL_STABLE_W::new(self, 0) } #[doc = "Bits 16:31 - need_des"] #[inline(always)] - #[must_use] pub fn wait_pll_stable(&mut self) -> WAIT_PLL_STABLE_W { WAIT_PLL_STABLE_W::new(self, 16) } diff --git a/esp32c6-lp/src/pmu/power_hp_pad.rs b/esp32c6-lp/src/pmu/power_hp_pad.rs index 29abe61ecf..d492fa3a23 100644 --- a/esp32c6-lp/src/pmu/power_hp_pad.rs +++ b/esp32c6-lp/src/pmu/power_hp_pad.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_pad_no_iso_all(&mut self) -> FORCE_HP_PAD_NO_ISO_ALL_W { FORCE_HP_PAD_NO_ISO_ALL_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_pad_iso_all(&mut self) -> FORCE_HP_PAD_ISO_ALL_W { FORCE_HP_PAD_ISO_ALL_W::new(self, 1) } diff --git a/esp32c6-lp/src/pmu/power_pd_hpaon_cntl.rs b/esp32c6-lp/src/pmu/power_pd_hpaon_cntl.rs index 6895d40bef..51b5fe9ad2 100644 --- a/esp32c6-lp/src/pmu/power_pd_hpaon_cntl.rs +++ b/esp32c6-lp/src/pmu/power_pd_hpaon_cntl.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_aon_reset(&mut self) -> FORCE_HP_AON_RESET_W { FORCE_HP_AON_RESET_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_aon_iso(&mut self) -> FORCE_HP_AON_ISO_W { FORCE_HP_AON_ISO_W::new(self, 1) } #[doc = "Bit 2 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_aon_pu(&mut self) -> FORCE_HP_AON_PU_W { FORCE_HP_AON_PU_W::new(self, 2) } #[doc = "Bit 3 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_aon_no_reset(&mut self) -> FORCE_HP_AON_NO_RESET_W { FORCE_HP_AON_NO_RESET_W::new(self, 3) } #[doc = "Bit 4 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_aon_no_iso(&mut self) -> FORCE_HP_AON_NO_ISO_W { FORCE_HP_AON_NO_ISO_W::new(self, 4) } #[doc = "Bit 5 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_aon_pd(&mut self) -> FORCE_HP_AON_PD_W { FORCE_HP_AON_PD_W::new(self, 5) } #[doc = "Bits 6:10 - need_des"] #[inline(always)] - #[must_use] pub fn pd_hp_aon_mask(&mut self) -> PD_HP_AON_MASK_W { PD_HP_AON_MASK_W::new(self, 6) } #[doc = "Bits 27:31 - need_des"] #[inline(always)] - #[must_use] pub fn pd_hp_aon_pd_mask(&mut self) -> PD_HP_AON_PD_MASK_W { PD_HP_AON_PD_MASK_W::new(self, 27) } diff --git a/esp32c6-lp/src/pmu/power_pd_hpcpu_cntl.rs b/esp32c6-lp/src/pmu/power_pd_hpcpu_cntl.rs index 4d3b7b3bf9..9ebb77732f 100644 --- a/esp32c6-lp/src/pmu/power_pd_hpcpu_cntl.rs +++ b/esp32c6-lp/src/pmu/power_pd_hpcpu_cntl.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_cpu_reset(&mut self) -> FORCE_HP_CPU_RESET_W { FORCE_HP_CPU_RESET_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_cpu_iso(&mut self) -> FORCE_HP_CPU_ISO_W { FORCE_HP_CPU_ISO_W::new(self, 1) } #[doc = "Bit 2 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_cpu_pu(&mut self) -> FORCE_HP_CPU_PU_W { FORCE_HP_CPU_PU_W::new(self, 2) } #[doc = "Bit 3 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_cpu_no_reset(&mut self) -> FORCE_HP_CPU_NO_RESET_W { FORCE_HP_CPU_NO_RESET_W::new(self, 3) } #[doc = "Bit 4 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_cpu_no_iso(&mut self) -> FORCE_HP_CPU_NO_ISO_W { FORCE_HP_CPU_NO_ISO_W::new(self, 4) } #[doc = "Bit 5 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_cpu_pd(&mut self) -> FORCE_HP_CPU_PD_W { FORCE_HP_CPU_PD_W::new(self, 5) } #[doc = "Bits 6:10 - need_des"] #[inline(always)] - #[must_use] pub fn pd_hp_cpu_mask(&mut self) -> PD_HP_CPU_MASK_W { PD_HP_CPU_MASK_W::new(self, 6) } #[doc = "Bits 27:31 - need_des"] #[inline(always)] - #[must_use] pub fn pd_hp_cpu_pd_mask(&mut self) -> PD_HP_CPU_PD_MASK_W { PD_HP_CPU_PD_MASK_W::new(self, 27) } diff --git a/esp32c6-lp/src/pmu/power_pd_hpperi_reserve.rs b/esp32c6-lp/src/pmu/power_pd_hpperi_reserve.rs index c3ac69dbc0..3a5bd1bdfb 100644 --- a/esp32c6-lp/src/pmu/power_pd_hpperi_reserve.rs +++ b/esp32c6-lp/src/pmu/power_pd_hpperi_reserve.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_peri_reserve(&mut self) -> HP_PERI_RESERVE_W { HP_PERI_RESERVE_W::new(self, 0) } diff --git a/esp32c6-lp/src/pmu/power_pd_hpwifi_cntl.rs b/esp32c6-lp/src/pmu/power_pd_hpwifi_cntl.rs index 04e22c3a30..cb4dc05cc9 100644 --- a/esp32c6-lp/src/pmu/power_pd_hpwifi_cntl.rs +++ b/esp32c6-lp/src/pmu/power_pd_hpwifi_cntl.rs @@ -94,25 +94,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_wifi_reset(&mut self) -> FORCE_HP_WIFI_RESET_W { FORCE_HP_WIFI_RESET_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_wifi_iso(&mut self) -> FORCE_HP_WIFI_ISO_W { FORCE_HP_WIFI_ISO_W::new(self, 1) } #[doc = "Bit 2 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_wifi_pu(&mut self) -> FORCE_HP_WIFI_PU_W { FORCE_HP_WIFI_PU_W::new(self, 2) } #[doc = "Bit 3 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_wifi_no_reset( &mut self, ) -> FORCE_HP_WIFI_NO_RESET_W { @@ -120,25 +116,21 @@ impl W { } #[doc = "Bit 4 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_wifi_no_iso(&mut self) -> FORCE_HP_WIFI_NO_ISO_W { FORCE_HP_WIFI_NO_ISO_W::new(self, 4) } #[doc = "Bit 5 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_wifi_pd(&mut self) -> FORCE_HP_WIFI_PD_W { FORCE_HP_WIFI_PD_W::new(self, 5) } #[doc = "Bits 6:10 - need_des"] #[inline(always)] - #[must_use] pub fn pd_hp_wifi_mask(&mut self) -> PD_HP_WIFI_MASK_W { PD_HP_WIFI_MASK_W::new(self, 6) } #[doc = "Bits 27:31 - need_des"] #[inline(always)] - #[must_use] pub fn pd_hp_wifi_pd_mask(&mut self) -> PD_HP_WIFI_PD_MASK_W { PD_HP_WIFI_PD_MASK_W::new(self, 27) } diff --git a/esp32c6-lp/src/pmu/power_pd_lpperi_cntl.rs b/esp32c6-lp/src/pmu/power_pd_lpperi_cntl.rs index 4f8c1c2e33..4d82fe84c5 100644 --- a/esp32c6-lp/src/pmu/power_pd_lpperi_cntl.rs +++ b/esp32c6-lp/src/pmu/power_pd_lpperi_cntl.rs @@ -74,25 +74,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn force_lp_peri_reset(&mut self) -> FORCE_LP_PERI_RESET_W { FORCE_LP_PERI_RESET_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn force_lp_peri_iso(&mut self) -> FORCE_LP_PERI_ISO_W { FORCE_LP_PERI_ISO_W::new(self, 1) } #[doc = "Bit 2 - need_des"] #[inline(always)] - #[must_use] pub fn force_lp_peri_pu(&mut self) -> FORCE_LP_PERI_PU_W { FORCE_LP_PERI_PU_W::new(self, 2) } #[doc = "Bit 3 - need_des"] #[inline(always)] - #[must_use] pub fn force_lp_peri_no_reset( &mut self, ) -> FORCE_LP_PERI_NO_RESET_W { @@ -100,13 +96,11 @@ impl W { } #[doc = "Bit 4 - need_des"] #[inline(always)] - #[must_use] pub fn force_lp_peri_no_iso(&mut self) -> FORCE_LP_PERI_NO_ISO_W { FORCE_LP_PERI_NO_ISO_W::new(self, 4) } #[doc = "Bit 5 - need_des"] #[inline(always)] - #[must_use] pub fn force_lp_peri_pd(&mut self) -> FORCE_LP_PERI_PD_W { FORCE_LP_PERI_PD_W::new(self, 5) } diff --git a/esp32c6-lp/src/pmu/power_pd_mem_cntl.rs b/esp32c6-lp/src/pmu/power_pd_mem_cntl.rs index 337a8c9abe..561876fd8a 100644 --- a/esp32c6-lp/src/pmu/power_pd_mem_cntl.rs +++ b/esp32c6-lp/src/pmu/power_pd_mem_cntl.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_mem_iso(&mut self) -> FORCE_HP_MEM_ISO_W { FORCE_HP_MEM_ISO_W::new(self, 0) } #[doc = "Bits 4:7 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_mem_pd(&mut self) -> FORCE_HP_MEM_PD_W { FORCE_HP_MEM_PD_W::new(self, 4) } #[doc = "Bits 24:27 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_mem_no_iso(&mut self) -> FORCE_HP_MEM_NO_ISO_W { FORCE_HP_MEM_NO_ISO_W::new(self, 24) } #[doc = "Bits 28:31 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_mem_pu(&mut self) -> FORCE_HP_MEM_PU_W { FORCE_HP_MEM_PU_W::new(self, 28) } diff --git a/esp32c6-lp/src/pmu/power_pd_mem_mask.rs b/esp32c6-lp/src/pmu/power_pd_mem_mask.rs index cd89c7320c..edf856e9ed 100644 --- a/esp32c6-lp/src/pmu/power_pd_mem_mask.rs +++ b/esp32c6-lp/src/pmu/power_pd_mem_mask.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - need_des"] #[inline(always)] - #[must_use] pub fn pd_hp_mem2_pd_mask(&mut self) -> PD_HP_MEM2_PD_MASK_W { PD_HP_MEM2_PD_MASK_W::new(self, 0) } #[doc = "Bits 5:9 - need_des"] #[inline(always)] - #[must_use] pub fn pd_hp_mem1_pd_mask(&mut self) -> PD_HP_MEM1_PD_MASK_W { PD_HP_MEM1_PD_MASK_W::new(self, 5) } #[doc = "Bits 10:14 - need_des"] #[inline(always)] - #[must_use] pub fn pd_hp_mem0_pd_mask(&mut self) -> PD_HP_MEM0_PD_MASK_W { PD_HP_MEM0_PD_MASK_W::new(self, 10) } #[doc = "Bits 17:21 - need_des"] #[inline(always)] - #[must_use] pub fn pd_hp_mem2_mask(&mut self) -> PD_HP_MEM2_MASK_W { PD_HP_MEM2_MASK_W::new(self, 17) } #[doc = "Bits 22:26 - need_des"] #[inline(always)] - #[must_use] pub fn pd_hp_mem1_mask(&mut self) -> PD_HP_MEM1_MASK_W { PD_HP_MEM1_MASK_W::new(self, 22) } #[doc = "Bits 27:31 - need_des"] #[inline(always)] - #[must_use] pub fn pd_hp_mem0_mask(&mut self) -> PD_HP_MEM0_MASK_W { PD_HP_MEM0_MASK_W::new(self, 27) } diff --git a/esp32c6-lp/src/pmu/power_pd_top_cntl.rs b/esp32c6-lp/src/pmu/power_pd_top_cntl.rs index 8d7d667883..fee334d4d9 100644 --- a/esp32c6-lp/src/pmu/power_pd_top_cntl.rs +++ b/esp32c6-lp/src/pmu/power_pd_top_cntl.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn force_top_reset(&mut self) -> FORCE_TOP_RESET_W { FORCE_TOP_RESET_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn force_top_iso(&mut self) -> FORCE_TOP_ISO_W { FORCE_TOP_ISO_W::new(self, 1) } #[doc = "Bit 2 - need_des"] #[inline(always)] - #[must_use] pub fn force_top_pu(&mut self) -> FORCE_TOP_PU_W { FORCE_TOP_PU_W::new(self, 2) } #[doc = "Bit 3 - need_des"] #[inline(always)] - #[must_use] pub fn force_top_no_reset(&mut self) -> FORCE_TOP_NO_RESET_W { FORCE_TOP_NO_RESET_W::new(self, 3) } #[doc = "Bit 4 - need_des"] #[inline(always)] - #[must_use] pub fn force_top_no_iso(&mut self) -> FORCE_TOP_NO_ISO_W { FORCE_TOP_NO_ISO_W::new(self, 4) } #[doc = "Bit 5 - need_des"] #[inline(always)] - #[must_use] pub fn force_top_pd(&mut self) -> FORCE_TOP_PD_W { FORCE_TOP_PD_W::new(self, 5) } #[doc = "Bits 6:10 - need_des"] #[inline(always)] - #[must_use] pub fn pd_top_mask(&mut self) -> PD_TOP_MASK_W { PD_TOP_MASK_W::new(self, 6) } #[doc = "Bits 27:31 - need_des"] #[inline(always)] - #[must_use] pub fn pd_top_pd_mask(&mut self) -> PD_TOP_PD_MASK_W { PD_TOP_PD_MASK_W::new(self, 27) } diff --git a/esp32c6-lp/src/pmu/power_vdd_spi_cntl.rs b/esp32c6-lp/src/pmu/power_vdd_spi_cntl.rs index 822a3e34bf..663cf62f93 100644 --- a/esp32c6-lp/src/pmu/power_vdd_spi_cntl.rs +++ b/esp32c6-lp/src/pmu/power_vdd_spi_cntl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 18:28 - need_des"] #[inline(always)] - #[must_use] pub fn vdd_spi_pwr_wait(&mut self) -> VDD_SPI_PWR_WAIT_W { VDD_SPI_PWR_WAIT_W::new(self, 18) } #[doc = "Bits 29:30 - need_des"] #[inline(always)] - #[must_use] pub fn vdd_spi_pwr_sw(&mut self) -> VDD_SPI_PWR_SW_W { VDD_SPI_PWR_SW_W::new(self, 29) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn vdd_spi_pwr_sel_sw(&mut self) -> VDD_SPI_PWR_SEL_SW_W { VDD_SPI_PWR_SEL_SW_W::new(self, 31) } diff --git a/esp32c6-lp/src/pmu/power_wait_timer0.rs b/esp32c6-lp/src/pmu/power_wait_timer0.rs index df8c5fe27e..dc3b03230d 100644 --- a/esp32c6-lp/src/pmu/power_wait_timer0.rs +++ b/esp32c6-lp/src/pmu/power_wait_timer0.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 5:13 - need_des"] #[inline(always)] - #[must_use] pub fn dg_hp_powerdown_timer(&mut self) -> DG_HP_POWERDOWN_TIMER_W { DG_HP_POWERDOWN_TIMER_W::new(self, 5) } #[doc = "Bits 14:22 - need_des"] #[inline(always)] - #[must_use] pub fn dg_hp_powerup_timer(&mut self) -> DG_HP_POWERUP_TIMER_W { DG_HP_POWERUP_TIMER_W::new(self, 14) } #[doc = "Bits 23:31 - need_des"] #[inline(always)] - #[must_use] pub fn dg_hp_wait_timer(&mut self) -> DG_HP_WAIT_TIMER_W { DG_HP_WAIT_TIMER_W::new(self, 23) } diff --git a/esp32c6-lp/src/pmu/power_wait_timer1.rs b/esp32c6-lp/src/pmu/power_wait_timer1.rs index bcf7cb4ea7..1e7257c58c 100644 --- a/esp32c6-lp/src/pmu/power_wait_timer1.rs +++ b/esp32c6-lp/src/pmu/power_wait_timer1.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 9:15 - need_des"] #[inline(always)] - #[must_use] pub fn dg_lp_powerdown_timer(&mut self) -> DG_LP_POWERDOWN_TIMER_W { DG_LP_POWERDOWN_TIMER_W::new(self, 9) } #[doc = "Bits 16:22 - need_des"] #[inline(always)] - #[must_use] pub fn dg_lp_powerup_timer(&mut self) -> DG_LP_POWERUP_TIMER_W { DG_LP_POWERUP_TIMER_W::new(self, 16) } #[doc = "Bits 23:31 - need_des"] #[inline(always)] - #[must_use] pub fn dg_lp_wait_timer(&mut self) -> DG_LP_WAIT_TIMER_W { DG_LP_WAIT_TIMER_W::new(self, 23) } diff --git a/esp32c6-lp/src/pmu/rf_pwc.rs b/esp32c6-lp/src/pmu/rf_pwc.rs index 9a6efcc33e..334e7ebdb0 100644 --- a/esp32c6-lp/src/pmu/rf_pwc.rs +++ b/esp32c6-lp/src/pmu/rf_pwc.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn perif_i2c_rstb(&mut self) -> PERIF_I2C_RSTB_W { PERIF_I2C_RSTB_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn xpd_perif_i2c(&mut self) -> XPD_PERIF_I2C_W { XPD_PERIF_I2C_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn xpd_txrf_i2c(&mut self) -> XPD_TXRF_I2C_W { XPD_TXRF_I2C_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn xpd_rfrx_pbus(&mut self) -> XPD_RFRX_PBUS_W { XPD_RFRX_PBUS_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn xpd_ckgen_i2c(&mut self) -> XPD_CKGEN_I2C_W { XPD_CKGEN_I2C_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn xpd_pll_i2c(&mut self) -> XPD_PLL_I2C_W { XPD_PLL_I2C_W::new(self, 31) } diff --git a/esp32c6-lp/src/pmu/slp_wakeup_cntl0.rs b/esp32c6-lp/src/pmu/slp_wakeup_cntl0.rs index 3788d582d5..d6525fa254 100644 --- a/esp32c6-lp/src/pmu/slp_wakeup_cntl0.rs +++ b/esp32c6-lp/src/pmu/slp_wakeup_cntl0.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_req(&mut self) -> SLEEP_REQ_W { SLEEP_REQ_W::new(self, 31) } diff --git a/esp32c6-lp/src/pmu/slp_wakeup_cntl1.rs b/esp32c6-lp/src/pmu/slp_wakeup_cntl1.rs index 01dda37312..cb94c5c2c4 100644 --- a/esp32c6-lp/src/pmu/slp_wakeup_cntl1.rs +++ b/esp32c6-lp/src/pmu/slp_wakeup_cntl1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_reject_ena(&mut self) -> SLEEP_REJECT_ENA_W { SLEEP_REJECT_ENA_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn slp_reject_en(&mut self) -> SLP_REJECT_EN_W { SLP_REJECT_EN_W::new(self, 31) } diff --git a/esp32c6-lp/src/pmu/slp_wakeup_cntl2.rs b/esp32c6-lp/src/pmu/slp_wakeup_cntl2.rs index 305dfe5b8c..b54de616f2 100644 --- a/esp32c6-lp/src/pmu/slp_wakeup_cntl2.rs +++ b/esp32c6-lp/src/pmu/slp_wakeup_cntl2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn wakeup_ena(&mut self) -> WAKEUP_ENA_W { WAKEUP_ENA_W::new(self, 0) } diff --git a/esp32c6-lp/src/pmu/slp_wakeup_cntl3.rs b/esp32c6-lp/src/pmu/slp_wakeup_cntl3.rs index eb9bb27846..dac50c0d30 100644 --- a/esp32c6-lp/src/pmu/slp_wakeup_cntl3.rs +++ b/esp32c6-lp/src/pmu/slp_wakeup_cntl3.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - need_des"] #[inline(always)] - #[must_use] pub fn lp_min_slp_val(&mut self) -> LP_MIN_SLP_VAL_W { LP_MIN_SLP_VAL_W::new(self, 0) } #[doc = "Bits 8:15 - need_des"] #[inline(always)] - #[must_use] pub fn hp_min_slp_val(&mut self) -> HP_MIN_SLP_VAL_W { HP_MIN_SLP_VAL_W::new(self, 8) } #[doc = "Bits 16:17 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_prt_sel(&mut self) -> SLEEP_PRT_SEL_W { SLEEP_PRT_SEL_W::new(self, 16) } diff --git a/esp32c6-lp/src/pmu/slp_wakeup_cntl4.rs b/esp32c6-lp/src/pmu/slp_wakeup_cntl4.rs index 4b47fdd7de..259d3595f9 100644 --- a/esp32c6-lp/src/pmu/slp_wakeup_cntl4.rs +++ b/esp32c6-lp/src/pmu/slp_wakeup_cntl4.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn slp_reject_cause_clr(&mut self) -> SLP_REJECT_CAUSE_CLR_W { SLP_REJECT_CAUSE_CLR_W::new(self, 31) } diff --git a/esp32c6-lp/src/pmu/slp_wakeup_cntl5.rs b/esp32c6-lp/src/pmu/slp_wakeup_cntl5.rs index 3cb46e7a28..6ca0547dda 100644 --- a/esp32c6-lp/src/pmu/slp_wakeup_cntl5.rs +++ b/esp32c6-lp/src/pmu/slp_wakeup_cntl5.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - need_des"] #[inline(always)] - #[must_use] pub fn modem_wait_target(&mut self) -> MODEM_WAIT_TARGET_W { MODEM_WAIT_TARGET_W::new(self, 0) } #[doc = "Bits 24:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_ana_wait_target(&mut self) -> LP_ANA_WAIT_TARGET_W { LP_ANA_WAIT_TARGET_W::new(self, 24) } diff --git a/esp32c6-lp/src/pmu/slp_wakeup_cntl6.rs b/esp32c6-lp/src/pmu/slp_wakeup_cntl6.rs index 85054d80b8..e2792cf6bd 100644 --- a/esp32c6-lp/src/pmu/slp_wakeup_cntl6.rs +++ b/esp32c6-lp/src/pmu/slp_wakeup_cntl6.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - need_des"] #[inline(always)] - #[must_use] pub fn soc_wakeup_wait(&mut self) -> SOC_WAKEUP_WAIT_W { SOC_WAKEUP_WAIT_W::new(self, 0) } #[doc = "Bits 30:31 - need_des"] #[inline(always)] - #[must_use] pub fn soc_wakeup_wait_cfg(&mut self) -> SOC_WAKEUP_WAIT_CFG_W { SOC_WAKEUP_WAIT_CFG_W::new(self, 30) } diff --git a/esp32c6-lp/src/pmu/slp_wakeup_cntl7.rs b/esp32c6-lp/src/pmu/slp_wakeup_cntl7.rs index 81ba3ed69d..10ce48136c 100644 --- a/esp32c6-lp/src/pmu/slp_wakeup_cntl7.rs +++ b/esp32c6-lp/src/pmu/slp_wakeup_cntl7.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - need_des"] #[inline(always)] - #[must_use] pub fn ana_wait_target(&mut self) -> ANA_WAIT_TARGET_W { ANA_WAIT_TARGET_W::new(self, 16) } diff --git a/esp32c6/src/aes/aad_block_num.rs b/esp32c6/src/aes/aad_block_num.rs index 69251c94d2..709b31f828 100644 --- a/esp32c6/src/aes/aad_block_num.rs +++ b/esp32c6/src/aes/aad_block_num.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits stores the number of AAD block."] #[inline(always)] - #[must_use] pub fn aad_block_num(&mut self) -> AAD_BLOCK_NUM_W { AAD_BLOCK_NUM_W::new(self, 0) } diff --git a/esp32c6/src/aes/block_mode.rs b/esp32c6/src/aes/block_mode.rs index cb38ed2b65..a386bf1185 100644 --- a/esp32c6/src/aes/block_mode.rs +++ b/esp32c6/src/aes/block_mode.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - Those bits decides which block mode will be used. 0x0: ECB, 0x1: CBC, 0x2: OFB, 0x3: CTR, 0x4: CFB-8, 0x5: CFB-128, 0x6: GCM, 0x7: reserved."] #[inline(always)] - #[must_use] pub fn block_mode(&mut self) -> BLOCK_MODE_W { BLOCK_MODE_W::new(self, 0) } diff --git a/esp32c6/src/aes/block_num.rs b/esp32c6/src/aes/block_num.rs index 5c3719085a..35478ff441 100644 --- a/esp32c6/src/aes/block_num.rs +++ b/esp32c6/src/aes/block_num.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits stores the number of Plaintext/ciphertext block."] #[inline(always)] - #[must_use] pub fn block_num(&mut self) -> BLOCK_NUM_W { BLOCK_NUM_W::new(self, 0) } diff --git a/esp32c6/src/aes/continue_.rs b/esp32c6/src/aes/continue_.rs index 13d71cf7a9..daf54fcf09 100644 --- a/esp32c6/src/aes/continue_.rs +++ b/esp32c6/src/aes/continue_.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to continue GCM operation."] #[inline(always)] - #[must_use] pub fn continue_(&mut self) -> CONTINUE_W { CONTINUE_W::new(self, 0) } diff --git a/esp32c6/src/aes/date.rs b/esp32c6/src/aes/date.rs index 2b4485b861..c860c6be83 100644 --- a/esp32c6/src/aes/date.rs +++ b/esp32c6/src/aes/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - This bits stores the version information of AES."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/aes/dma_enable.rs b/esp32c6/src/aes/dma_enable.rs index 760df2c252..590c271a3e 100644 --- a/esp32c6/src/aes/dma_enable.rs +++ b/esp32c6/src/aes/dma_enable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1'b0: typical AES working mode, 1'b1: DMA-AES working mode."] #[inline(always)] - #[must_use] pub fn dma_enable(&mut self) -> DMA_ENABLE_W { DMA_ENABLE_W::new(self, 0) } diff --git a/esp32c6/src/aes/dma_exit.rs b/esp32c6/src/aes/dma_exit.rs index 5e0e6b4557..8dc4b24b6b 100644 --- a/esp32c6/src/aes/dma_exit.rs +++ b/esp32c6/src/aes/dma_exit.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this register to leave calculation done stage. Recommend to use it after software finishes reading DMA's output buffer."] #[inline(always)] - #[must_use] pub fn dma_exit(&mut self) -> DMA_EXIT_W { DMA_EXIT_W::new(self, 0) } diff --git a/esp32c6/src/aes/endian.rs b/esp32c6/src/aes/endian.rs index 24c40ced4a..dbaf10f41a 100644 --- a/esp32c6/src/aes/endian.rs +++ b/esp32c6/src/aes/endian.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - endian. \\[1:0\\] key endian, \\[3:2\\] text_in endian or in_stream endian, \\[5:4\\] text_out endian or out_stream endian"] #[inline(always)] - #[must_use] pub fn endian(&mut self) -> ENDIAN_W { ENDIAN_W::new(self, 0) } diff --git a/esp32c6/src/aes/inc_sel.rs b/esp32c6/src/aes/inc_sel.rs index 5ea62fcf85..00027a27c8 100644 --- a/esp32c6/src/aes/inc_sel.rs +++ b/esp32c6/src/aes/inc_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit decides the standard incrementing function. 0: INC32. 1: INC128."] #[inline(always)] - #[must_use] pub fn inc_sel(&mut self) -> INC_SEL_W { INC_SEL_W::new(self, 0) } diff --git a/esp32c6/src/aes/int_clr.rs b/esp32c6/src/aes/int_clr.rs index 3f2368572b..30ecad239a 100644 --- a/esp32c6/src/aes/int_clr.rs +++ b/esp32c6/src/aes/int_clr.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the AES interrupt."] #[inline(always)] - #[must_use] pub fn int_clr(&mut self) -> INT_CLR_W { INT_CLR_W::new(self, 0) } diff --git a/esp32c6/src/aes/int_ena.rs b/esp32c6/src/aes/int_ena.rs index 500f071796..c4a6a34927 100644 --- a/esp32c6/src/aes/int_ena.rs +++ b/esp32c6/src/aes/int_ena.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable interrupt that occurs when DMA-AES calculation is done."] #[inline(always)] - #[must_use] pub fn int_ena(&mut self) -> INT_ENA_W { INT_ENA_W::new(self, 0) } diff --git a/esp32c6/src/aes/key.rs b/esp32c6/src/aes/key.rs index 00e0561287..afe084e3bb 100644 --- a/esp32c6/src/aes/key.rs +++ b/esp32c6/src/aes/key.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This bits stores key_0 that is a part of key material."] #[inline(always)] - #[must_use] pub fn key(&mut self) -> KEY_W { KEY_W::new(self, 0) } diff --git a/esp32c6/src/aes/mode.rs b/esp32c6/src/aes/mode.rs index bad1d86223..66f978745b 100644 --- a/esp32c6/src/aes/mode.rs +++ b/esp32c6/src/aes/mode.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - This bits decides which one operation mode will be used. 3'd0: AES-EN-128, 3'd1: AES-EN-192, 3'd2: AES-EN-256, 3'd4: AES-DE-128, 3'd5: AES-DE-192, 3'd6: AES-DE-256."] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 0) } diff --git a/esp32c6/src/aes/remainder_bit_num.rs b/esp32c6/src/aes/remainder_bit_num.rs index c2a124ab9e..3f20adbc9f 100644 --- a/esp32c6/src/aes/remainder_bit_num.rs +++ b/esp32c6/src/aes/remainder_bit_num.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Those bits stores the number of remainder bit."] #[inline(always)] - #[must_use] pub fn remainder_bit_num(&mut self) -> REMAINDER_BIT_NUM_W { REMAINDER_BIT_NUM_W::new(self, 0) } diff --git a/esp32c6/src/aes/text_in.rs b/esp32c6/src/aes/text_in.rs index 18631b63aa..9d22eaffa8 100644 --- a/esp32c6/src/aes/text_in.rs +++ b/esp32c6/src/aes/text_in.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This bits stores text_in_0 that is a part of source text material."] #[inline(always)] - #[must_use] pub fn text_in(&mut self) -> TEXT_IN_W { TEXT_IN_W::new(self, 0) } diff --git a/esp32c6/src/aes/text_out.rs b/esp32c6/src/aes/text_out.rs index e1028d5d06..44471c9f00 100644 --- a/esp32c6/src/aes/text_out.rs +++ b/esp32c6/src/aes/text_out.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This bits stores text_out_0 that is a part of result text material."] #[inline(always)] - #[must_use] pub fn text_out(&mut self) -> TEXT_OUT_W { TEXT_OUT_W::new(self, 0) } diff --git a/esp32c6/src/aes/trigger.rs b/esp32c6/src/aes/trigger.rs index 1b80d9df09..642626d867 100644 --- a/esp32c6/src/aes/trigger.rs +++ b/esp32c6/src/aes/trigger.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to start AES calculation."] #[inline(always)] - #[must_use] pub fn trigger(&mut self) -> TRIGGER_W { TRIGGER_W::new(self, 0) } diff --git a/esp32c6/src/apb_saradc/arb_ctrl.rs b/esp32c6/src/apb_saradc/arb_ctrl.rs index f0576641cb..2b5c60ee94 100644 --- a/esp32c6/src/apb_saradc/arb_ctrl.rs +++ b/esp32c6/src/apb_saradc/arb_ctrl.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - adc2 arbiter force to enableapb controller"] #[inline(always)] - #[must_use] pub fn apb_force(&mut self) -> APB_FORCE_W { APB_FORCE_W::new(self, 2) } #[doc = "Bit 3 - adc2 arbiter force to enable rtc controller"] #[inline(always)] - #[must_use] pub fn rtc_force(&mut self) -> RTC_FORCE_W { RTC_FORCE_W::new(self, 3) } #[doc = "Bit 4 - adc2 arbiter force to enable wifi controller"] #[inline(always)] - #[must_use] pub fn wifi_force(&mut self) -> WIFI_FORCE_W { WIFI_FORCE_W::new(self, 4) } #[doc = "Bit 5 - adc2 arbiter force grant"] #[inline(always)] - #[must_use] pub fn grant_force(&mut self) -> GRANT_FORCE_W { GRANT_FORCE_W::new(self, 5) } #[doc = "Bits 6:7 - Set adc2 arbiterapb priority"] #[inline(always)] - #[must_use] pub fn apb_priority(&mut self) -> APB_PRIORITY_W { APB_PRIORITY_W::new(self, 6) } #[doc = "Bits 8:9 - Set adc2 arbiter rtc priority"] #[inline(always)] - #[must_use] pub fn rtc_priority(&mut self) -> RTC_PRIORITY_W { RTC_PRIORITY_W::new(self, 8) } #[doc = "Bits 10:11 - Set adc2 arbiter wifi priority"] #[inline(always)] - #[must_use] pub fn wifi_priority(&mut self) -> WIFI_PRIORITY_W { WIFI_PRIORITY_W::new(self, 10) } #[doc = "Bit 12 - adc2 arbiter uses fixed priority"] #[inline(always)] - #[must_use] pub fn fix_priority(&mut self) -> FIX_PRIORITY_W { FIX_PRIORITY_W::new(self, 12) } diff --git a/esp32c6/src/apb_saradc/cali.rs b/esp32c6/src/apb_saradc/cali.rs index 28a6e84542..3d7bf9a574 100644 --- a/esp32c6/src/apb_saradc/cali.rs +++ b/esp32c6/src/apb_saradc/cali.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:16 - saradc cali factor"] #[inline(always)] - #[must_use] pub fn cfg(&mut self) -> CFG_W { CFG_W::new(self, 0) } diff --git a/esp32c6/src/apb_saradc/clkm_conf.rs b/esp32c6/src/apb_saradc/clkm_conf.rs index bad3d2a349..0fdb1abe44 100644 --- a/esp32c6/src/apb_saradc/clkm_conf.rs +++ b/esp32c6/src/apb_saradc/clkm_conf.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Integral I2S clock divider value"] #[inline(always)] - #[must_use] pub fn clkm_div_num(&mut self) -> CLKM_DIV_NUM_W { CLKM_DIV_NUM_W::new(self, 0) } #[doc = "Bits 8:13 - Fractional clock divider numerator value"] #[inline(always)] - #[must_use] pub fn clkm_div_b(&mut self) -> CLKM_DIV_B_W { CLKM_DIV_B_W::new(self, 8) } #[doc = "Bits 14:19 - Fractional clock divider denominator value"] #[inline(always)] - #[must_use] pub fn clkm_div_a(&mut self) -> CLKM_DIV_A_W { CLKM_DIV_A_W::new(self, 14) } #[doc = "Bit 20 - reg clk en"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 20) } #[doc = "Bits 21:22 - Set this bit to enable clk_apll"] #[inline(always)] - #[must_use] pub fn clk_sel(&mut self) -> CLK_SEL_W { CLK_SEL_W::new(self, 21) } diff --git a/esp32c6/src/apb_saradc/ctrl.rs b/esp32c6/src/apb_saradc/ctrl.rs index ef3deb57ae..1881c9a284 100644 --- a/esp32c6/src/apb_saradc/ctrl.rs +++ b/esp32c6/src/apb_saradc/ctrl.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - select software enable saradc sample"] #[inline(always)] - #[must_use] pub fn start_force(&mut self) -> START_FORCE_W { START_FORCE_W::new(self, 0) } #[doc = "Bit 1 - software enable saradc sample"] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 1) } #[doc = "Bit 6 - SAR clock gated"] #[inline(always)] - #[must_use] pub fn sar_clk_gated(&mut self) -> SAR_CLK_GATED_W { SAR_CLK_GATED_W::new(self, 6) } #[doc = "Bits 7:14 - SAR clock divider"] #[inline(always)] - #[must_use] pub fn sar_clk_div(&mut self) -> SAR_CLK_DIV_W { SAR_CLK_DIV_W::new(self, 7) } #[doc = "Bits 15:17 - 0 ~ 15 means length 1 ~ 16"] #[inline(always)] - #[must_use] pub fn sar_patt_len(&mut self) -> SAR_PATT_LEN_W { SAR_PATT_LEN_W::new(self, 15) } #[doc = "Bit 23 - clear the pointer of pattern table for DIG ADC1 CTRL"] #[inline(always)] - #[must_use] pub fn sar_patt_p_clear(&mut self) -> SAR_PATT_P_CLEAR_W { SAR_PATT_P_CLEAR_W::new(self, 23) } #[doc = "Bits 27:28 - force option to xpd sar blocks"] #[inline(always)] - #[must_use] pub fn xpd_sar_force(&mut self) -> XPD_SAR_FORCE_W { XPD_SAR_FORCE_W::new(self, 27) } #[doc = "Bit 29 - enable saradc2 power detect driven func."] #[inline(always)] - #[must_use] pub fn saradc2_pwdet_drv(&mut self) -> SARADC2_PWDET_DRV_W { SARADC2_PWDET_DRV_W::new(self, 29) } #[doc = "Bits 30:31 - wait arbit signal stable after sar_done"] #[inline(always)] - #[must_use] pub fn wait_arb_cycle(&mut self) -> WAIT_ARB_CYCLE_W { WAIT_ARB_CYCLE_W::new(self, 30) } diff --git a/esp32c6/src/apb_saradc/ctrl2.rs b/esp32c6/src/apb_saradc/ctrl2.rs index d95b806f30..6dee60f8e8 100644 --- a/esp32c6/src/apb_saradc/ctrl2.rs +++ b/esp32c6/src/apb_saradc/ctrl2.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - enable max meas num"] #[inline(always)] - #[must_use] pub fn meas_num_limit(&mut self) -> MEAS_NUM_LIMIT_W { MEAS_NUM_LIMIT_W::new(self, 0) } #[doc = "Bits 1:8 - max conversion number"] #[inline(always)] - #[must_use] pub fn max_meas_num(&mut self) -> MAX_MEAS_NUM_W { MAX_MEAS_NUM_W::new(self, 1) } #[doc = "Bit 9 - 1: data to DIG ADC1 CTRL is inverted, otherwise not"] #[inline(always)] - #[must_use] pub fn sar1_inv(&mut self) -> SAR1_INV_W { SAR1_INV_W::new(self, 9) } #[doc = "Bit 10 - 1: data to DIG ADC2 CTRL is inverted, otherwise not"] #[inline(always)] - #[must_use] pub fn sar2_inv(&mut self) -> SAR2_INV_W { SAR2_INV_W::new(self, 10) } #[doc = "Bits 12:23 - to set saradc timer target"] #[inline(always)] - #[must_use] pub fn timer_target(&mut self) -> TIMER_TARGET_W { TIMER_TARGET_W::new(self, 12) } #[doc = "Bit 24 - to enable saradc timer trigger"] #[inline(always)] - #[must_use] pub fn timer_en(&mut self) -> TIMER_EN_W { TIMER_EN_W::new(self, 24) } diff --git a/esp32c6/src/apb_saradc/ctrl_date.rs b/esp32c6/src/apb_saradc/ctrl_date.rs index 4c16c0f17d..8078086cdc 100644 --- a/esp32c6/src/apb_saradc/ctrl_date.rs +++ b/esp32c6/src/apb_saradc/ctrl_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - version"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/apb_saradc/dma_conf.rs b/esp32c6/src/apb_saradc/dma_conf.rs index cc3f3427b7..4f36c9308b 100644 --- a/esp32c6/src/apb_saradc/dma_conf.rs +++ b/esp32c6/src/apb_saradc/dma_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - the dma_in_suc_eof gen when sample cnt = spi_eof_num"] #[inline(always)] - #[must_use] pub fn adc_eof_num(&mut self) -> ADC_EOF_NUM_W { ADC_EOF_NUM_W::new(self, 0) } #[doc = "Bit 30 - reset_apb_adc_state"] #[inline(always)] - #[must_use] pub fn adc_reset_fsm(&mut self) -> ADC_RESET_FSM_W { ADC_RESET_FSM_W::new(self, 30) } #[doc = "Bit 31 - enable apb_adc use spi_dma"] #[inline(always)] - #[must_use] pub fn adc_trans(&mut self) -> ADC_TRANS_W { ADC_TRANS_W::new(self, 31) } diff --git a/esp32c6/src/apb_saradc/filter_ctrl0.rs b/esp32c6/src/apb_saradc/filter_ctrl0.rs index 1baa57b97f..0004e12a25 100644 --- a/esp32c6/src/apb_saradc/filter_ctrl0.rs +++ b/esp32c6/src/apb_saradc/filter_ctrl0.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 18:21 - configure filter1 to adc channel"] #[inline(always)] - #[must_use] pub fn filter_channel1(&mut self) -> FILTER_CHANNEL1_W { FILTER_CHANNEL1_W::new(self, 18) } #[doc = "Bits 22:25 - configure filter0 to adc channel"] #[inline(always)] - #[must_use] pub fn filter_channel0(&mut self) -> FILTER_CHANNEL0_W { FILTER_CHANNEL0_W::new(self, 22) } #[doc = "Bit 31 - enable apb_adc1_filter"] #[inline(always)] - #[must_use] pub fn filter_reset(&mut self) -> FILTER_RESET_W { FILTER_RESET_W::new(self, 31) } diff --git a/esp32c6/src/apb_saradc/filter_ctrl1.rs b/esp32c6/src/apb_saradc/filter_ctrl1.rs index 2ba32c65c8..7ca11f4a84 100644 --- a/esp32c6/src/apb_saradc/filter_ctrl1.rs +++ b/esp32c6/src/apb_saradc/filter_ctrl1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 26:28 - Factor of saradc filter1"] #[inline(always)] - #[must_use] pub fn filter_factor1(&mut self) -> FILTER_FACTOR1_W { FILTER_FACTOR1_W::new(self, 26) } #[doc = "Bits 29:31 - Factor of saradc filter0"] #[inline(always)] - #[must_use] pub fn filter_factor0(&mut self) -> FILTER_FACTOR0_W { FILTER_FACTOR0_W::new(self, 29) } diff --git a/esp32c6/src/apb_saradc/fsm_wait.rs b/esp32c6/src/apb_saradc/fsm_wait.rs index 4ac9f6b875..d5db61899b 100644 --- a/esp32c6/src/apb_saradc/fsm_wait.rs +++ b/esp32c6/src/apb_saradc/fsm_wait.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - saradc_xpd_wait"] #[inline(always)] - #[must_use] pub fn xpd_wait(&mut self) -> XPD_WAIT_W { XPD_WAIT_W::new(self, 0) } #[doc = "Bits 8:15 - saradc_rstb_wait"] #[inline(always)] - #[must_use] pub fn rstb_wait(&mut self) -> RSTB_WAIT_W { RSTB_WAIT_W::new(self, 8) } #[doc = "Bits 16:23 - saradc_standby_wait"] #[inline(always)] - #[must_use] pub fn standby_wait(&mut self) -> STANDBY_WAIT_W { STANDBY_WAIT_W::new(self, 16) } diff --git a/esp32c6/src/apb_saradc/int_clr.rs b/esp32c6/src/apb_saradc/int_clr.rs index 935f541d51..e6190b741a 100644 --- a/esp32c6/src/apb_saradc/int_clr.rs +++ b/esp32c6/src/apb_saradc/int_clr.rs @@ -23,43 +23,36 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 25 - saradc tsens interrupt clear"] #[inline(always)] - #[must_use] pub fn tsens(&mut self) -> TSENS_W { TSENS_W::new(self, 25) } #[doc = "Bit 26 - saradc thres1 low interrupt clear"] #[inline(always)] - #[must_use] pub fn thres1_low(&mut self) -> THRES1_LOW_W { THRES1_LOW_W::new(self, 26) } #[doc = "Bit 27 - saradc thres0 low interrupt clear"] #[inline(always)] - #[must_use] pub fn thres0_low(&mut self) -> THRES0_LOW_W { THRES0_LOW_W::new(self, 27) } #[doc = "Bit 28 - saradc thres1 high interrupt clear"] #[inline(always)] - #[must_use] pub fn thres1_high(&mut self) -> THRES1_HIGH_W { THRES1_HIGH_W::new(self, 28) } #[doc = "Bit 29 - saradc thres0 high interrupt clear"] #[inline(always)] - #[must_use] pub fn thres0_high(&mut self) -> THRES0_HIGH_W { THRES0_HIGH_W::new(self, 29) } #[doc = "Bit 30 - saradc2 done interrupt clear"] #[inline(always)] - #[must_use] pub fn adc2_done(&mut self) -> ADC2_DONE_W { ADC2_DONE_W::new(self, 30) } #[doc = "Bit 31 - saradc1 done interrupt clear"] #[inline(always)] - #[must_use] pub fn adc1_done(&mut self) -> ADC1_DONE_W { ADC1_DONE_W::new(self, 31) } diff --git a/esp32c6/src/apb_saradc/int_ena.rs b/esp32c6/src/apb_saradc/int_ena.rs index 25bcce1bc4..708f146703 100644 --- a/esp32c6/src/apb_saradc/int_ena.rs +++ b/esp32c6/src/apb_saradc/int_ena.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 25 - tsens low interrupt enable"] #[inline(always)] - #[must_use] pub fn tsens(&mut self) -> TSENS_W { TSENS_W::new(self, 25) } #[doc = "Bit 26 - saradc thres1 low interrupt enable"] #[inline(always)] - #[must_use] pub fn thres1_low(&mut self) -> THRES1_LOW_W { THRES1_LOW_W::new(self, 26) } #[doc = "Bit 27 - saradc thres0 low interrupt enable"] #[inline(always)] - #[must_use] pub fn thres0_low(&mut self) -> THRES0_LOW_W { THRES0_LOW_W::new(self, 27) } #[doc = "Bit 28 - saradc thres1 high interrupt enable"] #[inline(always)] - #[must_use] pub fn thres1_high(&mut self) -> THRES1_HIGH_W { THRES1_HIGH_W::new(self, 28) } #[doc = "Bit 29 - saradc thres0 high interrupt enable"] #[inline(always)] - #[must_use] pub fn thres0_high(&mut self) -> THRES0_HIGH_W { THRES0_HIGH_W::new(self, 29) } #[doc = "Bit 30 - saradc2 done interrupt enable"] #[inline(always)] - #[must_use] pub fn adc2_done(&mut self) -> ADC2_DONE_W { ADC2_DONE_W::new(self, 30) } #[doc = "Bit 31 - saradc1 done interrupt enable"] #[inline(always)] - #[must_use] pub fn adc1_done(&mut self) -> ADC1_DONE_W { ADC1_DONE_W::new(self, 31) } diff --git a/esp32c6/src/apb_saradc/int_raw.rs b/esp32c6/src/apb_saradc/int_raw.rs index badf1f126c..6afac54ede 100644 --- a/esp32c6/src/apb_saradc/int_raw.rs +++ b/esp32c6/src/apb_saradc/int_raw.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 25 - saradc tsens interrupt raw"] #[inline(always)] - #[must_use] pub fn tsens(&mut self) -> TSENS_W { TSENS_W::new(self, 25) } #[doc = "Bit 26 - saradc thres1 low interrupt raw"] #[inline(always)] - #[must_use] pub fn thres1_low(&mut self) -> THRES1_LOW_W { THRES1_LOW_W::new(self, 26) } #[doc = "Bit 27 - saradc thres0 low interrupt raw"] #[inline(always)] - #[must_use] pub fn thres0_low(&mut self) -> THRES0_LOW_W { THRES0_LOW_W::new(self, 27) } #[doc = "Bit 28 - saradc thres1 high interrupt raw"] #[inline(always)] - #[must_use] pub fn thres1_high(&mut self) -> THRES1_HIGH_W { THRES1_HIGH_W::new(self, 28) } #[doc = "Bit 29 - saradc thres0 high interrupt raw"] #[inline(always)] - #[must_use] pub fn thres0_high(&mut self) -> THRES0_HIGH_W { THRES0_HIGH_W::new(self, 29) } #[doc = "Bit 30 - saradc2 done interrupt raw"] #[inline(always)] - #[must_use] pub fn adc2_done(&mut self) -> ADC2_DONE_W { ADC2_DONE_W::new(self, 30) } #[doc = "Bit 31 - saradc1 done interrupt raw"] #[inline(always)] - #[must_use] pub fn adc1_done(&mut self) -> ADC1_DONE_W { ADC1_DONE_W::new(self, 31) } diff --git a/esp32c6/src/apb_saradc/onetime_sample.rs b/esp32c6/src/apb_saradc/onetime_sample.rs index 95be3e1846..b41f4eb595 100644 --- a/esp32c6/src/apb_saradc/onetime_sample.rs +++ b/esp32c6/src/apb_saradc/onetime_sample.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 23:24 - configure onetime atten"] #[inline(always)] - #[must_use] pub fn onetime_atten(&mut self) -> ONETIME_ATTEN_W { ONETIME_ATTEN_W::new(self, 23) } #[doc = "Bits 25:28 - configure onetime channel"] #[inline(always)] - #[must_use] pub fn onetime_channel(&mut self) -> ONETIME_CHANNEL_W { ONETIME_CHANNEL_W::new(self, 25) } #[doc = "Bit 29 - trigger adc onetime sample"] #[inline(always)] - #[must_use] pub fn onetime_start(&mut self) -> ONETIME_START_W { ONETIME_START_W::new(self, 29) } #[doc = "Bit 30 - enable adc2 onetime sample"] #[inline(always)] - #[must_use] pub fn saradc2_onetime_sample(&mut self) -> SARADC2_ONETIME_SAMPLE_W { SARADC2_ONETIME_SAMPLE_W::new(self, 30) } #[doc = "Bit 31 - enable adc1 onetime sample"] #[inline(always)] - #[must_use] pub fn saradc1_onetime_sample(&mut self) -> SARADC1_ONETIME_SAMPLE_W { SARADC1_ONETIME_SAMPLE_W::new(self, 31) } diff --git a/esp32c6/src/apb_saradc/sar_patt_tab1.rs b/esp32c6/src/apb_saradc/sar_patt_tab1.rs index 4f105c5b98..7c34ad402a 100644 --- a/esp32c6/src/apb_saradc/sar_patt_tab1.rs +++ b/esp32c6/src/apb_saradc/sar_patt_tab1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - item 0 ~ 3 for pattern table 1 (each item one byte)"] #[inline(always)] - #[must_use] pub fn sar_patt_tab1(&mut self) -> SAR_PATT_TAB1_W { SAR_PATT_TAB1_W::new(self, 0) } diff --git a/esp32c6/src/apb_saradc/sar_patt_tab2.rs b/esp32c6/src/apb_saradc/sar_patt_tab2.rs index 9e07f17822..a7880f155a 100644 --- a/esp32c6/src/apb_saradc/sar_patt_tab2.rs +++ b/esp32c6/src/apb_saradc/sar_patt_tab2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - Item 4 ~ 7 for pattern table 1 (each item one byte)"] #[inline(always)] - #[must_use] pub fn sar_patt_tab2(&mut self) -> SAR_PATT_TAB2_W { SAR_PATT_TAB2_W::new(self, 0) } diff --git a/esp32c6/src/apb_saradc/thres0_ctrl.rs b/esp32c6/src/apb_saradc/thres0_ctrl.rs index 5e14de9af6..3bf2ccded3 100644 --- a/esp32c6/src/apb_saradc/thres0_ctrl.rs +++ b/esp32c6/src/apb_saradc/thres0_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - configure thres0 to adc channel"] #[inline(always)] - #[must_use] pub fn thres0_channel(&mut self) -> THRES0_CHANNEL_W { THRES0_CHANNEL_W::new(self, 0) } #[doc = "Bits 5:17 - saradc thres0 monitor thres"] #[inline(always)] - #[must_use] pub fn thres0_high(&mut self) -> THRES0_HIGH_W { THRES0_HIGH_W::new(self, 5) } #[doc = "Bits 18:30 - saradc thres0 monitor thres"] #[inline(always)] - #[must_use] pub fn thres0_low(&mut self) -> THRES0_LOW_W { THRES0_LOW_W::new(self, 18) } diff --git a/esp32c6/src/apb_saradc/thres1_ctrl.rs b/esp32c6/src/apb_saradc/thres1_ctrl.rs index 817c8d4099..0045a242cf 100644 --- a/esp32c6/src/apb_saradc/thres1_ctrl.rs +++ b/esp32c6/src/apb_saradc/thres1_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - configure thres1 to adc channel"] #[inline(always)] - #[must_use] pub fn thres1_channel(&mut self) -> THRES1_CHANNEL_W { THRES1_CHANNEL_W::new(self, 0) } #[doc = "Bits 5:17 - saradc thres1 monitor thres"] #[inline(always)] - #[must_use] pub fn thres1_high(&mut self) -> THRES1_HIGH_W { THRES1_HIGH_W::new(self, 5) } #[doc = "Bits 18:30 - saradc thres1 monitor thres"] #[inline(always)] - #[must_use] pub fn thres1_low(&mut self) -> THRES1_LOW_W { THRES1_LOW_W::new(self, 18) } diff --git a/esp32c6/src/apb_saradc/thres_ctrl.rs b/esp32c6/src/apb_saradc/thres_ctrl.rs index d0b7d93103..7e115dfdc2 100644 --- a/esp32c6/src/apb_saradc/thres_ctrl.rs +++ b/esp32c6/src/apb_saradc/thres_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 27 - enable thres to all channel"] #[inline(always)] - #[must_use] pub fn thres_all_en(&mut self) -> THRES_ALL_EN_W { THRES_ALL_EN_W::new(self, 27) } #[doc = "Bit 30 - enable thres1"] #[inline(always)] - #[must_use] pub fn thres1_en(&mut self) -> THRES1_EN_W { THRES1_EN_W::new(self, 30) } #[doc = "Bit 31 - enable thres0"] #[inline(always)] - #[must_use] pub fn thres0_en(&mut self) -> THRES0_EN_W { THRES0_EN_W::new(self, 31) } diff --git a/esp32c6/src/apb_saradc/tsens_ctrl.rs b/esp32c6/src/apb_saradc/tsens_ctrl.rs index 691e0791ea..3efa3f27df 100644 --- a/esp32c6/src/apb_saradc/tsens_ctrl.rs +++ b/esp32c6/src/apb_saradc/tsens_ctrl.rs @@ -52,19 +52,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - invert temperature sensor data"] #[inline(always)] - #[must_use] pub fn in_inv(&mut self) -> IN_INV_W { IN_INV_W::new(self, 13) } #[doc = "Bits 14:21 - temperature sensor clock divider"] #[inline(always)] - #[must_use] pub fn clk_div(&mut self) -> CLK_DIV_W { CLK_DIV_W::new(self, 14) } #[doc = "Bit 22 - temperature sensor power up"] #[inline(always)] - #[must_use] pub fn pu(&mut self) -> PU_W { PU_W::new(self, 22) } diff --git a/esp32c6/src/apb_saradc/tsens_ctrl2.rs b/esp32c6/src/apb_saradc/tsens_ctrl2.rs index d67da16bf9..05f575cdfc 100644 --- a/esp32c6/src/apb_saradc/tsens_ctrl2.rs +++ b/esp32c6/src/apb_saradc/tsens_ctrl2.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - the time that power up tsens need wait"] #[inline(always)] - #[must_use] pub fn xpd_wait(&mut self) -> XPD_WAIT_W { XPD_WAIT_W::new(self, 0) } #[doc = "Bits 12:13 - force power up tsens"] #[inline(always)] - #[must_use] pub fn xpd_force(&mut self) -> XPD_FORCE_W { XPD_FORCE_W::new(self, 12) } #[doc = "Bit 14 - inv tsens clk"] #[inline(always)] - #[must_use] pub fn clk_inv(&mut self) -> CLK_INV_W { CLK_INV_W::new(self, 14) } #[doc = "Bit 15 - tsens clk select"] #[inline(always)] - #[must_use] pub fn clk_sel(&mut self) -> CLK_SEL_W { CLK_SEL_W::new(self, 15) } diff --git a/esp32c6/src/apb_saradc/tsens_sample.rs b/esp32c6/src/apb_saradc/tsens_sample.rs index 3747a7b686..4b859c95a9 100644 --- a/esp32c6/src/apb_saradc/tsens_sample.rs +++ b/esp32c6/src/apb_saradc/tsens_sample.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - HW sample rate"] #[inline(always)] - #[must_use] pub fn rate(&mut self) -> RATE_W { RATE_W::new(self, 0) } #[doc = "Bit 16 - HW sample en"] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 16) } diff --git a/esp32c6/src/apb_saradc/tsens_wake.rs b/esp32c6/src/apb_saradc/tsens_wake.rs index af3bdda9e3..c46ed5321c 100644 --- a/esp32c6/src/apb_saradc/tsens_wake.rs +++ b/esp32c6/src/apb_saradc/tsens_wake.rs @@ -62,25 +62,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - reg_wakeup_th_low"] #[inline(always)] - #[must_use] pub fn wakeup_th_low(&mut self) -> WAKEUP_TH_LOW_W { WAKEUP_TH_LOW_W::new(self, 0) } #[doc = "Bits 8:15 - reg_wakeup_th_high"] #[inline(always)] - #[must_use] pub fn wakeup_th_high(&mut self) -> WAKEUP_TH_HIGH_W { WAKEUP_TH_HIGH_W::new(self, 8) } #[doc = "Bit 17 - reg_wakeup_mode"] #[inline(always)] - #[must_use] pub fn wakeup_mode(&mut self) -> WAKEUP_MODE_W { WAKEUP_MODE_W::new(self, 17) } #[doc = "Bit 18 - reg_wakeup_en"] #[inline(always)] - #[must_use] pub fn wakeup_en(&mut self) -> WAKEUP_EN_W { WAKEUP_EN_W::new(self, 18) } diff --git a/esp32c6/src/assist_debug/clock_gate.rs b/esp32c6/src/assist_debug/clock_gate.rs index fff3c4abdc..9e22bb2d53 100644 --- a/esp32c6/src/assist_debug/clock_gate.rs +++ b/esp32c6/src/assist_debug/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 force on the clock gate"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32c6/src/assist_debug/core_0_area_dram0_0_max.rs b/esp32c6/src/assist_debug/core_0_area_dram0_0_max.rs index 3ab8a734bd..16dd89b99c 100644 --- a/esp32c6/src/assist_debug/core_0_area_dram0_0_max.rs +++ b/esp32c6/src/assist_debug/core_0_area_dram0_0_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core0 dram0 region0 end addr"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_max( &mut self, ) -> CORE_0_AREA_DRAM0_0_MAX_W { diff --git a/esp32c6/src/assist_debug/core_0_area_dram0_0_min.rs b/esp32c6/src/assist_debug/core_0_area_dram0_0_min.rs index 759d767566..c9de513bea 100644 --- a/esp32c6/src/assist_debug/core_0_area_dram0_0_min.rs +++ b/esp32c6/src/assist_debug/core_0_area_dram0_0_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core0 dram0 region0 start addr"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_min( &mut self, ) -> CORE_0_AREA_DRAM0_0_MIN_W { diff --git a/esp32c6/src/assist_debug/core_0_area_dram0_1_max.rs b/esp32c6/src/assist_debug/core_0_area_dram0_1_max.rs index 18d6fec0d8..1cd2b1757b 100644 --- a/esp32c6/src/assist_debug/core_0_area_dram0_1_max.rs +++ b/esp32c6/src/assist_debug/core_0_area_dram0_1_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core0 dram0 region1 end addr"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_max( &mut self, ) -> CORE_0_AREA_DRAM0_1_MAX_W { diff --git a/esp32c6/src/assist_debug/core_0_area_dram0_1_min.rs b/esp32c6/src/assist_debug/core_0_area_dram0_1_min.rs index 30e80919a6..a7a7e14eed 100644 --- a/esp32c6/src/assist_debug/core_0_area_dram0_1_min.rs +++ b/esp32c6/src/assist_debug/core_0_area_dram0_1_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core0 dram0 region1 start addr"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_min( &mut self, ) -> CORE_0_AREA_DRAM0_1_MIN_W { diff --git a/esp32c6/src/assist_debug/core_0_area_pif_0_max.rs b/esp32c6/src/assist_debug/core_0_area_pif_0_max.rs index 5bcdfb25f7..61602cca8c 100644 --- a/esp32c6/src/assist_debug/core_0_area_pif_0_max.rs +++ b/esp32c6/src/assist_debug/core_0_area_pif_0_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core0 PIF region0 end addr"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_max(&mut self) -> CORE_0_AREA_PIF_0_MAX_W { CORE_0_AREA_PIF_0_MAX_W::new(self, 0) } diff --git a/esp32c6/src/assist_debug/core_0_area_pif_0_min.rs b/esp32c6/src/assist_debug/core_0_area_pif_0_min.rs index f613bb8608..3ecdfc7ac3 100644 --- a/esp32c6/src/assist_debug/core_0_area_pif_0_min.rs +++ b/esp32c6/src/assist_debug/core_0_area_pif_0_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core0 PIF region0 start addr"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_min(&mut self) -> CORE_0_AREA_PIF_0_MIN_W { CORE_0_AREA_PIF_0_MIN_W::new(self, 0) } diff --git a/esp32c6/src/assist_debug/core_0_area_pif_1_max.rs b/esp32c6/src/assist_debug/core_0_area_pif_1_max.rs index 2da306da5d..16410a8f09 100644 --- a/esp32c6/src/assist_debug/core_0_area_pif_1_max.rs +++ b/esp32c6/src/assist_debug/core_0_area_pif_1_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core0 PIF region1 end addr"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_max(&mut self) -> CORE_0_AREA_PIF_1_MAX_W { CORE_0_AREA_PIF_1_MAX_W::new(self, 0) } diff --git a/esp32c6/src/assist_debug/core_0_area_pif_1_min.rs b/esp32c6/src/assist_debug/core_0_area_pif_1_min.rs index fd5cb131f7..1a8d405597 100644 --- a/esp32c6/src/assist_debug/core_0_area_pif_1_min.rs +++ b/esp32c6/src/assist_debug/core_0_area_pif_1_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core0 PIF region1 start addr"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_min(&mut self) -> CORE_0_AREA_PIF_1_MIN_W { CORE_0_AREA_PIF_1_MIN_W::new(self, 0) } diff --git a/esp32c6/src/assist_debug/core_0_intr_clr.rs b/esp32c6/src/assist_debug/core_0_intr_clr.rs index 47a0466f4b..f4a5b202dd 100644 --- a/esp32c6/src/assist_debug/core_0_intr_clr.rs +++ b/esp32c6/src/assist_debug/core_0_intr_clr.rs @@ -33,7 +33,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Core0 dram0 area0 read monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_rd_clr( &mut self, ) -> CORE_0_AREA_DRAM0_0_RD_CLR_W { @@ -41,7 +40,6 @@ impl W { } #[doc = "Bit 1 - Core0 dram0 area0 write monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_wr_clr( &mut self, ) -> CORE_0_AREA_DRAM0_0_WR_CLR_W { @@ -49,7 +47,6 @@ impl W { } #[doc = "Bit 2 - Core0 dram0 area1 read monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_rd_clr( &mut self, ) -> CORE_0_AREA_DRAM0_1_RD_CLR_W { @@ -57,7 +54,6 @@ impl W { } #[doc = "Bit 3 - Core0 dram0 area1 write monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_wr_clr( &mut self, ) -> CORE_0_AREA_DRAM0_1_WR_CLR_W { @@ -65,43 +61,36 @@ impl W { } #[doc = "Bit 4 - Core0 PIF area0 read monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_rd_clr(&mut self) -> CORE_0_AREA_PIF_0_RD_CLR_W { CORE_0_AREA_PIF_0_RD_CLR_W::new(self, 4) } #[doc = "Bit 5 - Core0 PIF area0 write monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_wr_clr(&mut self) -> CORE_0_AREA_PIF_0_WR_CLR_W { CORE_0_AREA_PIF_0_WR_CLR_W::new(self, 5) } #[doc = "Bit 6 - Core0 PIF area1 read monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_rd_clr(&mut self) -> CORE_0_AREA_PIF_1_RD_CLR_W { CORE_0_AREA_PIF_1_RD_CLR_W::new(self, 6) } #[doc = "Bit 7 - Core0 PIF area1 write monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_wr_clr(&mut self) -> CORE_0_AREA_PIF_1_WR_CLR_W { CORE_0_AREA_PIF_1_WR_CLR_W::new(self, 7) } #[doc = "Bit 8 - Core0 stackpoint underflow monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_sp_spill_min_clr(&mut self) -> CORE_0_SP_SPILL_MIN_CLR_W { CORE_0_SP_SPILL_MIN_CLR_W::new(self, 8) } #[doc = "Bit 9 - Core0 stackpoint overflow monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_sp_spill_max_clr(&mut self) -> CORE_0_SP_SPILL_MAX_CLR_W { CORE_0_SP_SPILL_MAX_CLR_W::new(self, 9) } #[doc = "Bit 10 - IBUS busy monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_iram0_exception_monitor_clr( &mut self, ) -> CORE_0_IRAM0_EXCEPTION_MONITOR_CLR_W { @@ -109,7 +98,6 @@ impl W { } #[doc = "Bit 11 - DBUS busy monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_dram0_exception_monitor_clr( &mut self, ) -> CORE_0_DRAM0_EXCEPTION_MONITOR_CLR_W { diff --git a/esp32c6/src/assist_debug/core_0_intr_ena.rs b/esp32c6/src/assist_debug/core_0_intr_ena.rs index 08996fc20b..e5710b9824 100644 --- a/esp32c6/src/assist_debug/core_0_intr_ena.rs +++ b/esp32c6/src/assist_debug/core_0_intr_ena.rs @@ -174,7 +174,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Core0 dram0 area0 read monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_rd_intr_ena( &mut self, ) -> CORE_0_AREA_DRAM0_0_RD_INTR_ENA_W { @@ -182,7 +181,6 @@ impl W { } #[doc = "Bit 1 - Core0 dram0 area0 write monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_wr_intr_ena( &mut self, ) -> CORE_0_AREA_DRAM0_0_WR_INTR_ENA_W { @@ -190,7 +188,6 @@ impl W { } #[doc = "Bit 2 - Core0 dram0 area1 read monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_rd_intr_ena( &mut self, ) -> CORE_0_AREA_DRAM0_1_RD_INTR_ENA_W { @@ -198,7 +195,6 @@ impl W { } #[doc = "Bit 3 - Core0 dram0 area1 write monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_wr_intr_ena( &mut self, ) -> CORE_0_AREA_DRAM0_1_WR_INTR_ENA_W { @@ -206,7 +202,6 @@ impl W { } #[doc = "Bit 4 - Core0 PIF area0 read monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_rd_intr_ena( &mut self, ) -> CORE_0_AREA_PIF_0_RD_INTR_ENA_W { @@ -214,7 +209,6 @@ impl W { } #[doc = "Bit 5 - Core0 PIF area0 write monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_wr_intr_ena( &mut self, ) -> CORE_0_AREA_PIF_0_WR_INTR_ENA_W { @@ -222,7 +216,6 @@ impl W { } #[doc = "Bit 6 - Core0 PIF area1 read monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_rd_intr_ena( &mut self, ) -> CORE_0_AREA_PIF_1_RD_INTR_ENA_W { @@ -230,7 +223,6 @@ impl W { } #[doc = "Bit 7 - Core0 PIF area1 write monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_wr_intr_ena( &mut self, ) -> CORE_0_AREA_PIF_1_WR_INTR_ENA_W { @@ -238,7 +230,6 @@ impl W { } #[doc = "Bit 8 - Core0 stackpoint underflow monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_sp_spill_min_intr_ena( &mut self, ) -> CORE_0_SP_SPILL_MIN_INTR_ENA_W { @@ -246,7 +237,6 @@ impl W { } #[doc = "Bit 9 - Core0 stackpoint overflow monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_sp_spill_max_intr_ena( &mut self, ) -> CORE_0_SP_SPILL_MAX_INTR_ENA_W { @@ -254,7 +244,6 @@ impl W { } #[doc = "Bit 10 - IBUS busy monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_iram0_exception_monitor_intr_ena( &mut self, ) -> CORE_0_IRAM0_EXCEPTION_MONITOR_INTR_ENA_W { @@ -262,7 +251,6 @@ impl W { } #[doc = "Bit 11 - DBUS busy monitor interrupt enbale"] #[inline(always)] - #[must_use] pub fn core_0_dram0_exception_monitor_intr_ena( &mut self, ) -> CORE_0_DRAM0_EXCEPTION_MONITOR_INTR_ENA_W { diff --git a/esp32c6/src/assist_debug/core_0_montr_ena.rs b/esp32c6/src/assist_debug/core_0_montr_ena.rs index 46ae3bf9ad..43cef90287 100644 --- a/esp32c6/src/assist_debug/core_0_montr_ena.rs +++ b/esp32c6/src/assist_debug/core_0_montr_ena.rs @@ -152,7 +152,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Core0 dram0 area0 read monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_rd_ena( &mut self, ) -> CORE_0_AREA_DRAM0_0_RD_ENA_W { @@ -160,7 +159,6 @@ impl W { } #[doc = "Bit 1 - Core0 dram0 area0 write monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_wr_ena( &mut self, ) -> CORE_0_AREA_DRAM0_0_WR_ENA_W { @@ -168,7 +166,6 @@ impl W { } #[doc = "Bit 2 - Core0 dram0 area1 read monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_rd_ena( &mut self, ) -> CORE_0_AREA_DRAM0_1_RD_ENA_W { @@ -176,7 +173,6 @@ impl W { } #[doc = "Bit 3 - Core0 dram0 area1 write monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_wr_ena( &mut self, ) -> CORE_0_AREA_DRAM0_1_WR_ENA_W { @@ -184,7 +180,6 @@ impl W { } #[doc = "Bit 4 - Core0 PIF area0 read monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_rd_ena( &mut self, ) -> CORE_0_AREA_PIF_0_RD_ENA_W { @@ -192,7 +187,6 @@ impl W { } #[doc = "Bit 5 - Core0 PIF area0 write monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_wr_ena( &mut self, ) -> CORE_0_AREA_PIF_0_WR_ENA_W { @@ -200,7 +194,6 @@ impl W { } #[doc = "Bit 6 - Core0 PIF area1 read monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_rd_ena( &mut self, ) -> CORE_0_AREA_PIF_1_RD_ENA_W { @@ -208,7 +201,6 @@ impl W { } #[doc = "Bit 7 - Core0 PIF area1 write monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_wr_ena( &mut self, ) -> CORE_0_AREA_PIF_1_WR_ENA_W { @@ -216,19 +208,16 @@ impl W { } #[doc = "Bit 8 - Core0 stackpoint underflow monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_sp_spill_min_ena(&mut self) -> CORE_0_SP_SPILL_MIN_ENA_W { CORE_0_SP_SPILL_MIN_ENA_W::new(self, 8) } #[doc = "Bit 9 - Core0 stackpoint overflow monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_sp_spill_max_ena(&mut self) -> CORE_0_SP_SPILL_MAX_ENA_W { CORE_0_SP_SPILL_MAX_ENA_W::new(self, 9) } #[doc = "Bit 10 - IBUS busy monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_iram0_exception_monitor_ena( &mut self, ) -> CORE_0_IRAM0_EXCEPTION_MONITOR_ENA_W { @@ -236,7 +225,6 @@ impl W { } #[doc = "Bit 11 - DBUS busy monitor enbale"] #[inline(always)] - #[must_use] pub fn core_0_dram0_exception_monitor_ena( &mut self, ) -> CORE_0_DRAM0_EXCEPTION_MONITOR_ENA_W { diff --git a/esp32c6/src/assist_debug/core_0_rcd_en.rs b/esp32c6/src/assist_debug/core_0_rcd_en.rs index 61590ff866..6612dc98db 100644 --- a/esp32c6/src/assist_debug/core_0_rcd_en.rs +++ b/esp32c6/src/assist_debug/core_0_rcd_en.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable record PC"] #[inline(always)] - #[must_use] pub fn core_0_rcd_recorden(&mut self) -> CORE_0_RCD_RECORDEN_W { CORE_0_RCD_RECORDEN_W::new(self, 0) } #[doc = "Bit 1 - Set 1 to enable cpu pdebug function, must set this bit can get cpu PC"] #[inline(always)] - #[must_use] pub fn core_0_rcd_pdebugen(&mut self) -> CORE_0_RCD_PDEBUGEN_W { CORE_0_RCD_PDEBUGEN_W::new(self, 1) } diff --git a/esp32c6/src/assist_debug/core_0_sp_max.rs b/esp32c6/src/assist_debug/core_0_sp_max.rs index 229e1bff17..4b3727dabe 100644 --- a/esp32c6/src/assist_debug/core_0_sp_max.rs +++ b/esp32c6/src/assist_debug/core_0_sp_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - core0 sp pc status register"] #[inline(always)] - #[must_use] pub fn core_0_sp_max(&mut self) -> CORE_0_SP_MAX_W { CORE_0_SP_MAX_W::new(self, 0) } diff --git a/esp32c6/src/assist_debug/core_0_sp_min.rs b/esp32c6/src/assist_debug/core_0_sp_min.rs index f14c3ad2ea..62f1baddbf 100644 --- a/esp32c6/src/assist_debug/core_0_sp_min.rs +++ b/esp32c6/src/assist_debug/core_0_sp_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - core0 sp region configuration regsiter"] #[inline(always)] - #[must_use] pub fn core_0_sp_min(&mut self) -> CORE_0_SP_MIN_W { CORE_0_SP_MIN_W::new(self, 0) } diff --git a/esp32c6/src/assist_debug/core_x_iram0_dram0_exception_monitor_0.rs b/esp32c6/src/assist_debug/core_x_iram0_dram0_exception_monitor_0.rs index 55d079e564..261c5b2d8f 100644 --- a/esp32c6/src/assist_debug/core_x_iram0_dram0_exception_monitor_0.rs +++ b/esp32c6/src/assist_debug/core_x_iram0_dram0_exception_monitor_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - reg_core_x_iram0_dram0_limit_cycle_0"] #[inline(always)] - #[must_use] pub fn core_x_iram0_dram0_limit_cycle_0( &mut self, ) -> CORE_X_IRAM0_DRAM0_LIMIT_CYCLE_0_W { diff --git a/esp32c6/src/assist_debug/core_x_iram0_dram0_exception_monitor_1.rs b/esp32c6/src/assist_debug/core_x_iram0_dram0_exception_monitor_1.rs index 60024cdb55..b25ebbd5e1 100644 --- a/esp32c6/src/assist_debug/core_x_iram0_dram0_exception_monitor_1.rs +++ b/esp32c6/src/assist_debug/core_x_iram0_dram0_exception_monitor_1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - reg_core_x_iram0_dram0_limit_cycle_1"] #[inline(always)] - #[must_use] pub fn core_x_iram0_dram0_limit_cycle_1( &mut self, ) -> CORE_X_IRAM0_DRAM0_LIMIT_CYCLE_1_W { diff --git a/esp32c6/src/assist_debug/date.rs b/esp32c6/src/assist_debug/date.rs index 5014c9e863..c1b1c467f9 100644 --- a/esp32c6/src/assist_debug/date.rs +++ b/esp32c6/src/assist_debug/date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - version register"] #[inline(always)] - #[must_use] pub fn assist_debug_date(&mut self) -> ASSIST_DEBUG_DATE_W { ASSIST_DEBUG_DATE_W::new(self, 0) } diff --git a/esp32c6/src/atomic/addr_lock.rs b/esp32c6/src/atomic/addr_lock.rs index 8b5802a336..e7ff36f01a 100644 --- a/esp32c6/src/atomic/addr_lock.rs +++ b/esp32c6/src/atomic/addr_lock.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - read to acquire hardware lock, write to release hardware lock"] #[inline(always)] - #[must_use] pub fn lock(&mut self) -> LOCK_W { LOCK_W::new(self, 0) } diff --git a/esp32c6/src/atomic/counter.rs b/esp32c6/src/atomic/counter.rs index 3c66e29c4d..78c447c095 100644 --- a/esp32c6/src/atomic/counter.rs +++ b/esp32c6/src/atomic/counter.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - delay counter"] #[inline(always)] - #[must_use] pub fn wait_counter(&mut self) -> WAIT_COUNTER_W { WAIT_COUNTER_W::new(self, 0) } diff --git a/esp32c6/src/atomic/lr_addr.rs b/esp32c6/src/atomic/lr_addr.rs index 72efca0adb..d7821eb095 100644 --- a/esp32c6/src/atomic/lr_addr.rs +++ b/esp32c6/src/atomic/lr_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - backup gloable address"] #[inline(always)] - #[must_use] pub fn gloable_lr_addr(&mut self) -> GLOABLE_LR_ADDR_W { GLOABLE_LR_ADDR_W::new(self, 0) } diff --git a/esp32c6/src/atomic/lr_value.rs b/esp32c6/src/atomic/lr_value.rs index 2614c5d2c1..2ef3e2a1b4 100644 --- a/esp32c6/src/atomic/lr_value.rs +++ b/esp32c6/src/atomic/lr_value.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - backup gloable value"] #[inline(always)] - #[must_use] pub fn gloable_lr_value(&mut self) -> GLOABLE_LR_VALUE_W { GLOABLE_LR_VALUE_W::new(self, 0) } diff --git a/esp32c6/src/dma/ahb_test.rs b/esp32c6/src/dma/ahb_test.rs index aed39b9b4b..267c4d1c67 100644 --- a/esp32c6/src/dma/ahb_test.rs +++ b/esp32c6/src/dma/ahb_test.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - reserved"] #[inline(always)] - #[must_use] pub fn ahb_testmode(&mut self) -> AHB_TESTMODE_W { AHB_TESTMODE_W::new(self, 0) } #[doc = "Bits 4:5 - reserved"] #[inline(always)] - #[must_use] pub fn ahb_testaddr(&mut self) -> AHB_TESTADDR_W { AHB_TESTADDR_W::new(self, 4) } diff --git a/esp32c6/src/dma/ch/in_conf0.rs b/esp32c6/src/dma/ch/in_conf0.rs index 157b38fc1c..067c6f2a42 100644 --- a/esp32c6/src/dma/ch/in_conf0.rs +++ b/esp32c6/src/dma/ch/in_conf0.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to reset DMA channel 0 Rx FSM and Rx FIFO pointer."] #[inline(always)] - #[must_use] pub fn in_rst(&mut self) -> IN_RST_W { IN_RST_W::new(self, 0) } #[doc = "Bit 1 - reserved"] #[inline(always)] - #[must_use] pub fn in_loop_test(&mut self) -> IN_LOOP_TEST_W { IN_LOOP_TEST_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to 1 to enable INCR burst transfer for Rx channel 0 reading link descriptor when accessing internal SRAM."] #[inline(always)] - #[must_use] pub fn indscr_burst_en(&mut self) -> INDSCR_BURST_EN_W { INDSCR_BURST_EN_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to 1 to enable INCR burst transfer for Rx channel 0 receiving data when accessing internal SRAM."] #[inline(always)] - #[must_use] pub fn in_data_burst_en(&mut self) -> IN_DATA_BURST_EN_W { IN_DATA_BURST_EN_W::new(self, 3) } #[doc = "Bit 4 - Set this bit 1 to enable automatic transmitting data from memory to memory via DMA."] #[inline(always)] - #[must_use] pub fn mem_trans_en(&mut self) -> MEM_TRANS_EN_W { MEM_TRANS_EN_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to 1 to enable etm control mode, dma Rx channel 0 is triggered by etm task."] #[inline(always)] - #[must_use] pub fn in_etm_en(&mut self) -> IN_ETM_EN_W { IN_ETM_EN_W::new(self, 5) } diff --git a/esp32c6/src/dma/ch/in_conf1.rs b/esp32c6/src/dma/ch/in_conf1.rs index 980d973178..2eba44f9f0 100644 --- a/esp32c6/src/dma/ch/in_conf1.rs +++ b/esp32c6/src/dma/ch/in_conf1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - Set this bit to enable checking the owner attribute of the link descriptor."] #[inline(always)] - #[must_use] pub fn in_check_owner(&mut self) -> IN_CHECK_OWNER_W { IN_CHECK_OWNER_W::new(self, 12) } diff --git a/esp32c6/src/dma/ch/in_link.rs b/esp32c6/src/dma/ch/in_link.rs index 12fbfdc89e..dfb89aa855 100644 --- a/esp32c6/src/dma/ch/in_link.rs +++ b/esp32c6/src/dma/ch/in_link.rs @@ -48,31 +48,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - This register stores the 20 least significant bits of the first inlink descriptor's address."] #[inline(always)] - #[must_use] pub fn inlink_addr(&mut self) -> INLINK_ADDR_W { INLINK_ADDR_W::new(self, 0) } #[doc = "Bit 20 - Set this bit to return to current inlink descriptor's address when there are some errors in current receiving data."] #[inline(always)] - #[must_use] pub fn inlink_auto_ret(&mut self) -> INLINK_AUTO_RET_W { INLINK_AUTO_RET_W::new(self, 20) } #[doc = "Bit 21 - Set this bit to stop dealing with the inlink descriptors."] #[inline(always)] - #[must_use] pub fn inlink_stop(&mut self) -> INLINK_STOP_W { INLINK_STOP_W::new(self, 21) } #[doc = "Bit 22 - Set this bit to start dealing with the inlink descriptors."] #[inline(always)] - #[must_use] pub fn inlink_start(&mut self) -> INLINK_START_W { INLINK_START_W::new(self, 22) } #[doc = "Bit 23 - Set this bit to mount a new inlink descriptor."] #[inline(always)] - #[must_use] pub fn inlink_restart(&mut self) -> INLINK_RESTART_W { INLINK_RESTART_W::new(self, 23) } diff --git a/esp32c6/src/dma/ch/in_peri_sel.rs b/esp32c6/src/dma/ch/in_peri_sel.rs index b3cd206d3f..546c2c0414 100644 --- a/esp32c6/src/dma/ch/in_peri_sel.rs +++ b/esp32c6/src/dma/ch/in_peri_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - This register is used to select peripheral for Rx channel 0. 0:SPI2. 1: Dummy. 2: UHCI0. 3: I2S0. 4: Dummy. 5: Dummy. 6: AES. 7: SHA. 8: ADC_DAC. 9: Parallel_IO. 10~15: Dummy"] #[inline(always)] - #[must_use] pub fn peri_in_sel(&mut self) -> PERI_IN_SEL_W { PERI_IN_SEL_W::new(self, 0) } diff --git a/esp32c6/src/dma/ch/in_pop.rs b/esp32c6/src/dma/ch/in_pop.rs index 827a97687f..a7aeb9bf42 100644 --- a/esp32c6/src/dma/ch/in_pop.rs +++ b/esp32c6/src/dma/ch/in_pop.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - Set this bit to pop data from DMA FIFO."] #[inline(always)] - #[must_use] pub fn infifo_pop(&mut self) -> INFIFO_POP_W { INFIFO_POP_W::new(self, 12) } diff --git a/esp32c6/src/dma/ch/in_pri.rs b/esp32c6/src/dma/ch/in_pri.rs index e252b476ee..3a4c4e9b0e 100644 --- a/esp32c6/src/dma/ch/in_pri.rs +++ b/esp32c6/src/dma/ch/in_pri.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - The priority of Rx channel 0. The larger of the value the higher of the priority."] #[inline(always)] - #[must_use] pub fn rx_pri(&mut self) -> RX_PRI_W { RX_PRI_W::new(self, 0) } diff --git a/esp32c6/src/dma/ch/out_conf0.rs b/esp32c6/src/dma/ch/out_conf0.rs index 92064100d9..9723cdb1ad 100644 --- a/esp32c6/src/dma/ch/out_conf0.rs +++ b/esp32c6/src/dma/ch/out_conf0.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to reset DMA channel 1 Tx FSM and Tx FIFO pointer."] #[inline(always)] - #[must_use] pub fn out_rst(&mut self) -> OUT_RST_W { OUT_RST_W::new(self, 0) } #[doc = "Bit 1 - reserved"] #[inline(always)] - #[must_use] pub fn out_loop_test(&mut self) -> OUT_LOOP_TEST_W { OUT_LOOP_TEST_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to enable automatic outlink-writeback when all the data in tx buffer has been transmitted."] #[inline(always)] - #[must_use] pub fn out_auto_wrback(&mut self) -> OUT_AUTO_WRBACK_W { OUT_AUTO_WRBACK_W::new(self, 2) } #[doc = "Bit 3 - EOF flag generation mode when transmitting data. 1: EOF flag for Tx channel 1 is generated when data need to transmit has been popped from FIFO in DMA"] #[inline(always)] - #[must_use] pub fn out_eof_mode(&mut self) -> OUT_EOF_MODE_W { OUT_EOF_MODE_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to 1 to enable INCR burst transfer for Tx channel 1 reading link descriptor when accessing internal SRAM."] #[inline(always)] - #[must_use] pub fn outdscr_burst_en(&mut self) -> OUTDSCR_BURST_EN_W { OUTDSCR_BURST_EN_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to 1 to enable INCR burst transfer for Tx channel 1 transmitting data when accessing internal SRAM."] #[inline(always)] - #[must_use] pub fn out_data_burst_en(&mut self) -> OUT_DATA_BURST_EN_W { OUT_DATA_BURST_EN_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to 1 to enable etm control mode, dma Tx channel 1 is triggered by etm task."] #[inline(always)] - #[must_use] pub fn out_etm_en(&mut self) -> OUT_ETM_EN_W { OUT_ETM_EN_W::new(self, 6) } diff --git a/esp32c6/src/dma/ch/out_conf1.rs b/esp32c6/src/dma/ch/out_conf1.rs index 4ae784e662..b31fcd2a8a 100644 --- a/esp32c6/src/dma/ch/out_conf1.rs +++ b/esp32c6/src/dma/ch/out_conf1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - Set this bit to enable checking the owner attribute of the link descriptor."] #[inline(always)] - #[must_use] pub fn out_check_owner(&mut self) -> OUT_CHECK_OWNER_W { OUT_CHECK_OWNER_W::new(self, 12) } diff --git a/esp32c6/src/dma/ch/out_link.rs b/esp32c6/src/dma/ch/out_link.rs index 935e456d4a..e02e37934b 100644 --- a/esp32c6/src/dma/ch/out_link.rs +++ b/esp32c6/src/dma/ch/out_link.rs @@ -38,25 +38,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - This register stores the 20 least significant bits of the first outlink descriptor's address."] #[inline(always)] - #[must_use] pub fn outlink_addr(&mut self) -> OUTLINK_ADDR_W { OUTLINK_ADDR_W::new(self, 0) } #[doc = "Bit 20 - Set this bit to stop dealing with the outlink descriptors."] #[inline(always)] - #[must_use] pub fn outlink_stop(&mut self) -> OUTLINK_STOP_W { OUTLINK_STOP_W::new(self, 20) } #[doc = "Bit 21 - Set this bit to start dealing with the outlink descriptors."] #[inline(always)] - #[must_use] pub fn outlink_start(&mut self) -> OUTLINK_START_W { OUTLINK_START_W::new(self, 21) } #[doc = "Bit 22 - Set this bit to restart a new outlink from the last address."] #[inline(always)] - #[must_use] pub fn outlink_restart(&mut self) -> OUTLINK_RESTART_W { OUTLINK_RESTART_W::new(self, 22) } diff --git a/esp32c6/src/dma/ch/out_peri_sel.rs b/esp32c6/src/dma/ch/out_peri_sel.rs index 182edc0d72..a9b356c983 100644 --- a/esp32c6/src/dma/ch/out_peri_sel.rs +++ b/esp32c6/src/dma/ch/out_peri_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - This register is used to select peripheral for Tx channel 0. 0:SPI2. 1: Dummy. 2: UHCI0. 3: I2S0. 4: Dummy. 5: Dummy. 6: AES. 7: SHA. 8: ADC_DAC. 9: Parallel_IO. 10~15: Dummy"] #[inline(always)] - #[must_use] pub fn peri_out_sel(&mut self) -> PERI_OUT_SEL_W { PERI_OUT_SEL_W::new(self, 0) } diff --git a/esp32c6/src/dma/ch/out_pri.rs b/esp32c6/src/dma/ch/out_pri.rs index fd677264cd..82f1e2dae6 100644 --- a/esp32c6/src/dma/ch/out_pri.rs +++ b/esp32c6/src/dma/ch/out_pri.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - The priority of Tx channel 0. The larger of the value the higher of the priority."] #[inline(always)] - #[must_use] pub fn tx_pri(&mut self) -> TX_PRI_W { TX_PRI_W::new(self, 0) } diff --git a/esp32c6/src/dma/ch/out_push.rs b/esp32c6/src/dma/ch/out_push.rs index 6c15efbe79..f9e965042a 100644 --- a/esp32c6/src/dma/ch/out_push.rs +++ b/esp32c6/src/dma/ch/out_push.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register stores the data that need to be pushed into DMA FIFO."] #[inline(always)] - #[must_use] pub fn outfifo_wdata(&mut self) -> OUTFIFO_WDATA_W { OUTFIFO_WDATA_W::new(self, 0) } #[doc = "Bit 9 - Set this bit to push data into DMA FIFO."] #[inline(always)] - #[must_use] pub fn outfifo_push(&mut self) -> OUTFIFO_PUSH_W { OUTFIFO_PUSH_W::new(self, 9) } diff --git a/esp32c6/src/dma/date.rs b/esp32c6/src/dma/date.rs index 4480973b43..8a9cb2a685 100644 --- a/esp32c6/src/dma/date.rs +++ b/esp32c6/src/dma/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - register version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/dma/in_int_ch/clr.rs b/esp32c6/src/dma/in_int_ch/clr.rs index 84e75710aa..604b22121d 100644 --- a/esp32c6/src/dma/in_int_ch/clr.rs +++ b/esp32c6/src/dma/in_int_ch/clr.rs @@ -23,43 +23,36 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the IN_DONE_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_done(&mut self) -> IN_DONE_W { IN_DONE_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the IN_SUC_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_suc_eof(&mut self) -> IN_SUC_EOF_W { IN_SUC_EOF_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the IN_ERR_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_err_eof(&mut self) -> IN_ERR_EOF_W { IN_ERR_EOF_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the IN_DSCR_ERR_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_err(&mut self) -> IN_DSCR_ERR_W { IN_DSCR_ERR_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear the IN_DSCR_EMPTY_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_empty(&mut self) -> IN_DSCR_EMPTY_W { IN_DSCR_EMPTY_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the INFIFO_OVF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_ovf(&mut self) -> INFIFO_OVF_W { INFIFO_OVF_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the INFIFO_UDF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_udf(&mut self) -> INFIFO_UDF_W { INFIFO_UDF_W::new(self, 6) } diff --git a/esp32c6/src/dma/in_int_ch/ena.rs b/esp32c6/src/dma/in_int_ch/ena.rs index cd04232062..3fc3795689 100644 --- a/esp32c6/src/dma/in_int_ch/ena.rs +++ b/esp32c6/src/dma/in_int_ch/ena.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for the IN_DONE_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_done(&mut self) -> IN_DONE_W { IN_DONE_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the IN_SUC_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_suc_eof(&mut self) -> IN_SUC_EOF_W { IN_SUC_EOF_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the IN_ERR_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_err_eof(&mut self) -> IN_ERR_EOF_W { IN_ERR_EOF_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the IN_DSCR_ERR_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_err(&mut self) -> IN_DSCR_ERR_W { IN_DSCR_ERR_W::new(self, 3) } #[doc = "Bit 4 - The interrupt enable bit for the IN_DSCR_EMPTY_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_empty(&mut self) -> IN_DSCR_EMPTY_W { IN_DSCR_EMPTY_W::new(self, 4) } #[doc = "Bit 5 - The interrupt enable bit for the INFIFO_OVF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_ovf(&mut self) -> INFIFO_OVF_W { INFIFO_OVF_W::new(self, 5) } #[doc = "Bit 6 - The interrupt enable bit for the INFIFO_UDF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_udf(&mut self) -> INFIFO_UDF_W { INFIFO_UDF_W::new(self, 6) } diff --git a/esp32c6/src/dma/in_int_ch/raw.rs b/esp32c6/src/dma/in_int_ch/raw.rs index 82c8f787ff..02fbabe1c2 100644 --- a/esp32c6/src/dma/in_int_ch/raw.rs +++ b/esp32c6/src/dma/in_int_ch/raw.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw interrupt bit turns to high level when the last data pointed by one inlink descriptor has been received for Rx channel 0."] #[inline(always)] - #[must_use] pub fn in_done(&mut self) -> IN_DONE_W { IN_DONE_W::new(self, 0) } #[doc = "Bit 1 - The raw interrupt bit turns to high level when the last data pointed by one inlink descriptor has been received for Rx channel 0. For UHCI0 the raw interrupt bit turns to high level when the last data pointed by one inlink descriptor has been received and no data error is detected for Rx channel 0."] #[inline(always)] - #[must_use] pub fn in_suc_eof(&mut self) -> IN_SUC_EOF_W { IN_SUC_EOF_W::new(self, 1) } #[doc = "Bit 2 - The raw interrupt bit turns to high level when data error is detected only in the case that the peripheral is UHCI0 for Rx channel 0. For other peripherals this raw interrupt is reserved."] #[inline(always)] - #[must_use] pub fn in_err_eof(&mut self) -> IN_ERR_EOF_W { IN_ERR_EOF_W::new(self, 2) } #[doc = "Bit 3 - The raw interrupt bit turns to high level when detecting inlink descriptor error including owner error and the second and third word error of inlink descriptor for Rx channel 0."] #[inline(always)] - #[must_use] pub fn in_dscr_err(&mut self) -> IN_DSCR_ERR_W { IN_DSCR_ERR_W::new(self, 3) } #[doc = "Bit 4 - The raw interrupt bit turns to high level when Rx buffer pointed by inlink is full and receiving data is not completed but there is no more inlink for Rx channel 0."] #[inline(always)] - #[must_use] pub fn in_dscr_empty(&mut self) -> IN_DSCR_EMPTY_W { IN_DSCR_EMPTY_W::new(self, 4) } #[doc = "Bit 5 - This raw interrupt bit turns to high level when level 1 fifo of Rx channel 0 is overflow."] #[inline(always)] - #[must_use] pub fn infifo_ovf(&mut self) -> INFIFO_OVF_W { INFIFO_OVF_W::new(self, 5) } #[doc = "Bit 6 - This raw interrupt bit turns to high level when level 1 fifo of Rx channel 0 is underflow."] #[inline(always)] - #[must_use] pub fn infifo_udf(&mut self) -> INFIFO_UDF_W { INFIFO_UDF_W::new(self, 6) } diff --git a/esp32c6/src/dma/misc_conf.rs b/esp32c6/src/dma/misc_conf.rs index e993343a4d..4dc31351a7 100644 --- a/esp32c6/src/dma/misc_conf.rs +++ b/esp32c6/src/dma/misc_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit then clear this bit to reset the internal ahb FSM."] #[inline(always)] - #[must_use] pub fn ahbm_rst_inter(&mut self) -> AHBM_RST_INTER_W { AHBM_RST_INTER_W::new(self, 0) } #[doc = "Bit 2 - Set this bit to disable priority arbitration function."] #[inline(always)] - #[must_use] pub fn arb_pri_dis(&mut self) -> ARB_PRI_DIS_W { ARB_PRI_DIS_W::new(self, 2) } #[doc = "Bit 3 - 1'h1: Force clock on for register. 1'h0: Support clock only when application writes registers."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 3) } diff --git a/esp32c6/src/dma/out_int_ch/clr.rs b/esp32c6/src/dma/out_int_ch/clr.rs index 79f96bd63a..c2986c0293 100644 --- a/esp32c6/src/dma/out_int_ch/clr.rs +++ b/esp32c6/src/dma/out_int_ch/clr.rs @@ -21,37 +21,31 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the OUT_DONE_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_done(&mut self) -> OUT_DONE_W { OUT_DONE_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the OUT_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the OUT_DSCR_ERR_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_dscr_err(&mut self) -> OUT_DSCR_ERR_W { OUT_DSCR_ERR_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the OUT_TOTAL_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_total_eof(&mut self) -> OUT_TOTAL_EOF_W { OUT_TOTAL_EOF_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear the OUTFIFO_OVF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_ovf(&mut self) -> OUTFIFO_OVF_W { OUTFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the OUTFIFO_UDF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_udf(&mut self) -> OUTFIFO_UDF_W { OUTFIFO_UDF_W::new(self, 5) } diff --git a/esp32c6/src/dma/out_int_ch/ena.rs b/esp32c6/src/dma/out_int_ch/ena.rs index e5bc27a175..849c884f83 100644 --- a/esp32c6/src/dma/out_int_ch/ena.rs +++ b/esp32c6/src/dma/out_int_ch/ena.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for the OUT_DONE_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_done(&mut self) -> OUT_DONE_W { OUT_DONE_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the OUT_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the OUT_DSCR_ERR_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_dscr_err(&mut self) -> OUT_DSCR_ERR_W { OUT_DSCR_ERR_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the OUT_TOTAL_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_total_eof(&mut self) -> OUT_TOTAL_EOF_W { OUT_TOTAL_EOF_W::new(self, 3) } #[doc = "Bit 4 - The interrupt enable bit for the OUTFIFO_OVF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_ovf(&mut self) -> OUTFIFO_OVF_W { OUTFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - The interrupt enable bit for the OUTFIFO_UDF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_udf(&mut self) -> OUTFIFO_UDF_W { OUTFIFO_UDF_W::new(self, 5) } diff --git a/esp32c6/src/dma/out_int_ch/raw.rs b/esp32c6/src/dma/out_int_ch/raw.rs index b2cff491e5..86075ec146 100644 --- a/esp32c6/src/dma/out_int_ch/raw.rs +++ b/esp32c6/src/dma/out_int_ch/raw.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw interrupt bit turns to high level when the last data pointed by one outlink descriptor has been transmitted to peripherals for Tx channel 0."] #[inline(always)] - #[must_use] pub fn out_done(&mut self) -> OUT_DONE_W { OUT_DONE_W::new(self, 0) } #[doc = "Bit 1 - The raw interrupt bit turns to high level when the last data pointed by one outlink descriptor has been read from memory for Tx channel 0."] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 1) } #[doc = "Bit 2 - The raw interrupt bit turns to high level when detecting outlink descriptor error including owner error and the second and third word error of outlink descriptor for Tx channel 0."] #[inline(always)] - #[must_use] pub fn out_dscr_err(&mut self) -> OUT_DSCR_ERR_W { OUT_DSCR_ERR_W::new(self, 2) } #[doc = "Bit 3 - The raw interrupt bit turns to high level when data corresponding a outlink (includes one link descriptor or few link descriptors) is transmitted out for Tx channel 0."] #[inline(always)] - #[must_use] pub fn out_total_eof(&mut self) -> OUT_TOTAL_EOF_W { OUT_TOTAL_EOF_W::new(self, 3) } #[doc = "Bit 4 - This raw interrupt bit turns to high level when level 1 fifo of Tx channel 0 is overflow."] #[inline(always)] - #[must_use] pub fn outfifo_ovf(&mut self) -> OUTFIFO_OVF_W { OUTFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - This raw interrupt bit turns to high level when level 1 fifo of Tx channel 0 is underflow."] #[inline(always)] - #[must_use] pub fn outfifo_udf(&mut self) -> OUTFIFO_UDF_W { OUTFIFO_UDF_W::new(self, 5) } diff --git a/esp32c6/src/ds/date.rs b/esp32c6/src/ds/date.rs index fef4af5a01..c35aee2471 100644 --- a/esp32c6/src/ds/date.rs +++ b/esp32c6/src/ds/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - ds version information"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/ds/set_continue.rs b/esp32c6/src/ds/set_continue.rs index cf65971fe3..5bf5bf256b 100644 --- a/esp32c6/src/ds/set_continue.rs +++ b/esp32c6/src/ds/set_continue.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - set this bit to continue DS operation."] #[inline(always)] - #[must_use] pub fn set_continue(&mut self) -> SET_CONTINUE_W { SET_CONTINUE_W::new(self, 0) } diff --git a/esp32c6/src/ds/set_finish.rs b/esp32c6/src/ds/set_finish.rs index ea31ff7915..5dcdea9961 100644 --- a/esp32c6/src/ds/set_finish.rs +++ b/esp32c6/src/ds/set_finish.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to finish DS process."] #[inline(always)] - #[must_use] pub fn set_finish(&mut self) -> SET_FINISH_W { SET_FINISH_W::new(self, 0) } diff --git a/esp32c6/src/ds/set_start.rs b/esp32c6/src/ds/set_start.rs index f49f2fb4de..6be02528a5 100644 --- a/esp32c6/src/ds/set_start.rs +++ b/esp32c6/src/ds/set_start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - set this bit to start DS operation."] #[inline(always)] - #[must_use] pub fn set_start(&mut self) -> SET_START_W { SET_START_W::new(self, 0) } diff --git a/esp32c6/src/ecc/mult_conf.rs b/esp32c6/src/ecc/mult_conf.rs index 911c753d53..70c941694b 100644 --- a/esp32c6/src/ecc/mult_conf.rs +++ b/esp32c6/src/ecc/mult_conf.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Write 1 to start caculation of ECC Accelerator. This bit will be self-cleared after the caculatrion is done."] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 0) } #[doc = "Bit 1 - Write 1 to reset ECC Accelerator."] #[inline(always)] - #[must_use] pub fn reset(&mut self) -> RESET_W { RESET_W::new(self, 1) } #[doc = "Bit 2 - The key length mode bit of ECC Accelerator. 0: P-192. 1: P-256."] #[inline(always)] - #[must_use] pub fn key_length(&mut self) -> KEY_LENGTH_W { KEY_LENGTH_W::new(self, 2) } #[doc = "Bit 3 - Reserved"] #[inline(always)] - #[must_use] pub fn security_mode(&mut self) -> SECURITY_MODE_W { SECURITY_MODE_W::new(self, 3) } #[doc = "Bit 4 - Write 1 to force on register clock gate."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 4) } #[doc = "Bits 5:7 - The work mode bits of ECC Accelerator. 0: Point Mult Mode. 1: Division mode. 2: Point verification mode. 3: Point Verif+mult mode. 4: Jacobian Point Mult Mode. 5: Reserved. 6: Jacobian Point Verification Mode. 7: Point Verif + Jacobian Mult Mode."] #[inline(always)] - #[must_use] pub fn work_mode(&mut self) -> WORK_MODE_W { WORK_MODE_W::new(self, 5) } #[doc = "Bit 31 - ECC memory clock gate force on register"] #[inline(always)] - #[must_use] pub fn mem_clock_gate_force_on(&mut self) -> MEM_CLOCK_GATE_FORCE_ON_W { MEM_CLOCK_GATE_FORCE_ON_W::new(self, 31) } diff --git a/esp32c6/src/ecc/mult_date.rs b/esp32c6/src/ecc/mult_date.rs index 92d535520d..3302d1ea3d 100644 --- a/esp32c6/src/ecc/mult_date.rs +++ b/esp32c6/src/ecc/mult_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - ECC mult version control register"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/ecc/mult_int_clr.rs b/esp32c6/src/ecc/mult_int_clr.rs index 19d9a92d96..9ba2e11848 100644 --- a/esp32c6/src/ecc/mult_int_clr.rs +++ b/esp32c6/src/ecc/mult_int_clr.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the ecc_calc_done_int interrupt"] #[inline(always)] - #[must_use] pub fn calc_done(&mut self) -> CALC_DONE_W { CALC_DONE_W::new(self, 0) } diff --git a/esp32c6/src/ecc/mult_int_ena.rs b/esp32c6/src/ecc/mult_int_ena.rs index 0436ea3fc1..f5338072c0 100644 --- a/esp32c6/src/ecc/mult_int_ena.rs +++ b/esp32c6/src/ecc/mult_int_ena.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for the ecc_calc_done_int interrupt"] #[inline(always)] - #[must_use] pub fn calc_done(&mut self) -> CALC_DONE_W { CALC_DONE_W::new(self, 0) } diff --git a/esp32c6/src/efuse/clk.rs b/esp32c6/src/efuse/clk.rs index d6cc524f6d..8dcd6b6a4d 100644 --- a/esp32c6/src/efuse/clk.rs +++ b/esp32c6/src/efuse/clk.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to force eFuse SRAM into power-saving mode."] #[inline(always)] - #[must_use] pub fn mem_force_pd(&mut self) -> MEM_FORCE_PD_W { MEM_FORCE_PD_W::new(self, 0) } #[doc = "Bit 1 - Set this bit and force to activate clock signal of eFuse SRAM."] #[inline(always)] - #[must_use] pub fn mem_clk_force_on(&mut self) -> MEM_CLK_FORCE_ON_W { MEM_CLK_FORCE_ON_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to force eFuse SRAM into working mode."] #[inline(always)] - #[must_use] pub fn mem_force_pu(&mut self) -> MEM_FORCE_PU_W { MEM_FORCE_PU_W::new(self, 2) } #[doc = "Bit 16 - Set this bit to force enable eFuse register configuration clock signal."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 16) } diff --git a/esp32c6/src/efuse/cmd.rs b/esp32c6/src/efuse/cmd.rs index baaf4145e4..fe0688f848 100644 --- a/esp32c6/src/efuse/cmd.rs +++ b/esp32c6/src/efuse/cmd.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to send read command."] #[inline(always)] - #[must_use] pub fn read_cmd(&mut self) -> READ_CMD_W { READ_CMD_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to send programming command."] #[inline(always)] - #[must_use] pub fn pgm_cmd(&mut self) -> PGM_CMD_W { PGM_CMD_W::new(self, 1) } #[doc = "Bits 2:5 - The serial number of the block to be programmed. Value 0-10 corresponds to block number 0-10, respectively."] #[inline(always)] - #[must_use] pub fn blk_num(&mut self) -> BLK_NUM_W { BLK_NUM_W::new(self, 2) } diff --git a/esp32c6/src/efuse/conf.rs b/esp32c6/src/efuse/conf.rs index 4ced3a8fbe..21edd84bcc 100644 --- a/esp32c6/src/efuse/conf.rs +++ b/esp32c6/src/efuse/conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - 0x5A5A: programming operation command 0x5AA5: read operation command."] #[inline(always)] - #[must_use] pub fn op_code(&mut self) -> OP_CODE_W { OP_CODE_W::new(self, 0) } diff --git a/esp32c6/src/efuse/dac_conf.rs b/esp32c6/src/efuse/dac_conf.rs index 386dc3b935..dbc17b47fc 100644 --- a/esp32c6/src/efuse/dac_conf.rs +++ b/esp32c6/src/efuse/dac_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Controls the division factor of the rising clock of the programming voltage."] #[inline(always)] - #[must_use] pub fn dac_clk_div(&mut self) -> DAC_CLK_DIV_W { DAC_CLK_DIV_W::new(self, 0) } #[doc = "Bit 8 - Don't care."] #[inline(always)] - #[must_use] pub fn dac_clk_pad_sel(&mut self) -> DAC_CLK_PAD_SEL_W { DAC_CLK_PAD_SEL_W::new(self, 8) } #[doc = "Bits 9:16 - Controls the rising period of the programming voltage."] #[inline(always)] - #[must_use] pub fn dac_num(&mut self) -> DAC_NUM_W { DAC_NUM_W::new(self, 9) } #[doc = "Bit 17 - Reduces the power supply of the programming voltage."] #[inline(always)] - #[must_use] pub fn oe_clr(&mut self) -> OE_CLR_W { OE_CLR_W::new(self, 17) } diff --git a/esp32c6/src/efuse/date.rs b/esp32c6/src/efuse/date.rs index db2d4029c0..991fc7529b 100644 --- a/esp32c6/src/efuse/date.rs +++ b/esp32c6/src/efuse/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Stores eFuse version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/efuse/int_clr.rs b/esp32c6/src/efuse/int_clr.rs index 670d58f7e5..230f4356f1 100644 --- a/esp32c6/src/efuse/int_clr.rs +++ b/esp32c6/src/efuse/int_clr.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The clear signal for read_done interrupt."] #[inline(always)] - #[must_use] pub fn read_done(&mut self) -> READ_DONE_W { READ_DONE_W::new(self, 0) } #[doc = "Bit 1 - The clear signal for pgm_done interrupt."] #[inline(always)] - #[must_use] pub fn pgm_done(&mut self) -> PGM_DONE_W { PGM_DONE_W::new(self, 1) } diff --git a/esp32c6/src/efuse/int_ena.rs b/esp32c6/src/efuse/int_ena.rs index 424c4f079d..3d4c9086ee 100644 --- a/esp32c6/src/efuse/int_ena.rs +++ b/esp32c6/src/efuse/int_ena.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The enable signal for read_done interrupt."] #[inline(always)] - #[must_use] pub fn read_done(&mut self) -> READ_DONE_W { READ_DONE_W::new(self, 0) } #[doc = "Bit 1 - The enable signal for pgm_done interrupt."] #[inline(always)] - #[must_use] pub fn pgm_done(&mut self) -> PGM_DONE_W { PGM_DONE_W::new(self, 1) } diff --git a/esp32c6/src/efuse/pgm_check_value0.rs b/esp32c6/src/efuse/pgm_check_value0.rs index 680f75c1ae..70d6fd3aec 100644 --- a/esp32c6/src/efuse/pgm_check_value0.rs +++ b/esp32c6/src/efuse/pgm_check_value0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures the 0th 32-bit RS code to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_rs_data_0(&mut self) -> PGM_RS_DATA_0_W { PGM_RS_DATA_0_W::new(self, 0) } diff --git a/esp32c6/src/efuse/pgm_check_value1.rs b/esp32c6/src/efuse/pgm_check_value1.rs index 9552955b55..b796fa5048 100644 --- a/esp32c6/src/efuse/pgm_check_value1.rs +++ b/esp32c6/src/efuse/pgm_check_value1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures the 1st 32-bit RS code to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_rs_data_1(&mut self) -> PGM_RS_DATA_1_W { PGM_RS_DATA_1_W::new(self, 0) } diff --git a/esp32c6/src/efuse/pgm_check_value2.rs b/esp32c6/src/efuse/pgm_check_value2.rs index 8c24f790dc..ac63c2ec10 100644 --- a/esp32c6/src/efuse/pgm_check_value2.rs +++ b/esp32c6/src/efuse/pgm_check_value2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures the 2nd 32-bit RS code to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_rs_data_2(&mut self) -> PGM_RS_DATA_2_W { PGM_RS_DATA_2_W::new(self, 0) } diff --git a/esp32c6/src/efuse/pgm_data0.rs b/esp32c6/src/efuse/pgm_data0.rs index cb78ccdec7..904123e081 100644 --- a/esp32c6/src/efuse/pgm_data0.rs +++ b/esp32c6/src/efuse/pgm_data0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures the 0th 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_0(&mut self) -> PGM_DATA_0_W { PGM_DATA_0_W::new(self, 0) } diff --git a/esp32c6/src/efuse/pgm_data1.rs b/esp32c6/src/efuse/pgm_data1.rs index db4eab01b9..7ee8905973 100644 --- a/esp32c6/src/efuse/pgm_data1.rs +++ b/esp32c6/src/efuse/pgm_data1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures the 1st 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_1(&mut self) -> PGM_DATA_1_W { PGM_DATA_1_W::new(self, 0) } diff --git a/esp32c6/src/efuse/pgm_data2.rs b/esp32c6/src/efuse/pgm_data2.rs index f2d79d83ac..6c357ff169 100644 --- a/esp32c6/src/efuse/pgm_data2.rs +++ b/esp32c6/src/efuse/pgm_data2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures the 2nd 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_2(&mut self) -> PGM_DATA_2_W { PGM_DATA_2_W::new(self, 0) } diff --git a/esp32c6/src/efuse/pgm_data3.rs b/esp32c6/src/efuse/pgm_data3.rs index bce3bf011c..c84a64a608 100644 --- a/esp32c6/src/efuse/pgm_data3.rs +++ b/esp32c6/src/efuse/pgm_data3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures the 3rd 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_3(&mut self) -> PGM_DATA_3_W { PGM_DATA_3_W::new(self, 0) } diff --git a/esp32c6/src/efuse/pgm_data4.rs b/esp32c6/src/efuse/pgm_data4.rs index 83f3b38ca4..96d7412ff2 100644 --- a/esp32c6/src/efuse/pgm_data4.rs +++ b/esp32c6/src/efuse/pgm_data4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures the 4th 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_4(&mut self) -> PGM_DATA_4_W { PGM_DATA_4_W::new(self, 0) } diff --git a/esp32c6/src/efuse/pgm_data5.rs b/esp32c6/src/efuse/pgm_data5.rs index 29bbc4ea61..b804ae8c42 100644 --- a/esp32c6/src/efuse/pgm_data5.rs +++ b/esp32c6/src/efuse/pgm_data5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures the 5th 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_5(&mut self) -> PGM_DATA_5_W { PGM_DATA_5_W::new(self, 0) } diff --git a/esp32c6/src/efuse/pgm_data6.rs b/esp32c6/src/efuse/pgm_data6.rs index c2062d3d24..3fc7cfd9b4 100644 --- a/esp32c6/src/efuse/pgm_data6.rs +++ b/esp32c6/src/efuse/pgm_data6.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures the 6th 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_6(&mut self) -> PGM_DATA_6_W { PGM_DATA_6_W::new(self, 0) } diff --git a/esp32c6/src/efuse/pgm_data7.rs b/esp32c6/src/efuse/pgm_data7.rs index 04a1181824..dac4cc37df 100644 --- a/esp32c6/src/efuse/pgm_data7.rs +++ b/esp32c6/src/efuse/pgm_data7.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures the 7th 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_7(&mut self) -> PGM_DATA_7_W { PGM_DATA_7_W::new(self, 0) } diff --git a/esp32c6/src/efuse/rd_tim_conf.rs b/esp32c6/src/efuse/rd_tim_conf.rs index d70207d050..0dfe5188d2 100644 --- a/esp32c6/src/efuse/rd_tim_conf.rs +++ b/esp32c6/src/efuse/rd_tim_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Configures the read hold time."] #[inline(always)] - #[must_use] pub fn thr_a(&mut self) -> THR_A_W { THR_A_W::new(self, 0) } #[doc = "Bits 8:15 - Configures the read time."] #[inline(always)] - #[must_use] pub fn trd(&mut self) -> TRD_W { TRD_W::new(self, 8) } #[doc = "Bits 16:23 - Configures the read setup time."] #[inline(always)] - #[must_use] pub fn tsur_a(&mut self) -> TSUR_A_W { TSUR_A_W::new(self, 16) } #[doc = "Bits 24:31 - Configures the waiting time of reading eFuse memory."] #[inline(always)] - #[must_use] pub fn read_init_num(&mut self) -> READ_INIT_NUM_W { READ_INIT_NUM_W::new(self, 24) } diff --git a/esp32c6/src/efuse/wr_tim_conf0_rs_bypass.rs b/esp32c6/src/efuse/wr_tim_conf0_rs_bypass.rs index 92ad1e643a..0b041d6c74 100644 --- a/esp32c6/src/efuse/wr_tim_conf0_rs_bypass.rs +++ b/esp32c6/src/efuse/wr_tim_conf0_rs_bypass.rs @@ -46,25 +46,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to bypass reed solomon correction step."] #[inline(always)] - #[must_use] pub fn bypass_rs_correction(&mut self) -> BYPASS_RS_CORRECTION_W { BYPASS_RS_CORRECTION_W::new(self, 0) } #[doc = "Bits 1:11 - Configures block number of programming twice operation."] #[inline(always)] - #[must_use] pub fn bypass_rs_blk_num(&mut self) -> BYPASS_RS_BLK_NUM_W { BYPASS_RS_BLK_NUM_W::new(self, 1) } #[doc = "Bit 12 - Set this bit to update multi-bit register signals."] #[inline(always)] - #[must_use] pub fn update(&mut self) -> UPDATE_W { UPDATE_W::new(self, 12) } #[doc = "Bits 13:20 - Configures the inactive programming time."] #[inline(always)] - #[must_use] pub fn tpgm_inactive(&mut self) -> TPGM_INACTIVE_W { TPGM_INACTIVE_W::new(self, 13) } diff --git a/esp32c6/src/efuse/wr_tim_conf1.rs b/esp32c6/src/efuse/wr_tim_conf1.rs index fdd3d9d416..9badafd199 100644 --- a/esp32c6/src/efuse/wr_tim_conf1.rs +++ b/esp32c6/src/efuse/wr_tim_conf1.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Configures the programming setup time."] #[inline(always)] - #[must_use] pub fn tsup_a(&mut self) -> TSUP_A_W { TSUP_A_W::new(self, 0) } #[doc = "Bits 8:23 - Configures the power up time for VDDQ."] #[inline(always)] - #[must_use] pub fn pwr_on_num(&mut self) -> PWR_ON_NUM_W { PWR_ON_NUM_W::new(self, 8) } #[doc = "Bits 24:31 - Configures the programming hold time."] #[inline(always)] - #[must_use] pub fn thp_a(&mut self) -> THP_A_W { THP_A_W::new(self, 24) } diff --git a/esp32c6/src/efuse/wr_tim_conf2.rs b/esp32c6/src/efuse/wr_tim_conf2.rs index f1b3527a84..a785af76ad 100644 --- a/esp32c6/src/efuse/wr_tim_conf2.rs +++ b/esp32c6/src/efuse/wr_tim_conf2.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Configures the power outage time for VDDQ."] #[inline(always)] - #[must_use] pub fn pwr_off_num(&mut self) -> PWR_OFF_NUM_W { PWR_OFF_NUM_W::new(self, 0) } #[doc = "Bits 16:31 - Configures the active programming time."] #[inline(always)] - #[must_use] pub fn tpgm(&mut self) -> TPGM_W { TPGM_W::new(self, 16) } diff --git a/esp32c6/src/extmem/cache_lock_addr.rs b/esp32c6/src/extmem/cache_lock_addr.rs index 936fad1783..440ca1ac60 100644 --- a/esp32c6/src/extmem/cache_lock_addr.rs +++ b/esp32c6/src/extmem/cache_lock_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are used to configure the start virtual address of the lock/unlock operation, which should be used together with CACHE_LOCK_SIZE_REG"] #[inline(always)] - #[must_use] pub fn cache_lock_addr(&mut self) -> CACHE_LOCK_ADDR_W { CACHE_LOCK_ADDR_W::new(self, 0) } diff --git a/esp32c6/src/extmem/cache_lock_ctrl.rs b/esp32c6/src/extmem/cache_lock_ctrl.rs index 794e769088..0af9e98983 100644 --- a/esp32c6/src/extmem/cache_lock_ctrl.rs +++ b/esp32c6/src/extmem/cache_lock_ctrl.rs @@ -50,13 +50,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable lock operation. It will be cleared by hardware after lock operation done"] #[inline(always)] - #[must_use] pub fn cache_lock_ena(&mut self) -> CACHE_LOCK_ENA_W { CACHE_LOCK_ENA_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to enable unlock operation. It will be cleared by hardware after unlock operation done"] #[inline(always)] - #[must_use] pub fn cache_unlock_ena(&mut self) -> CACHE_UNLOCK_ENA_W { CACHE_UNLOCK_ENA_W::new(self, 1) } diff --git a/esp32c6/src/extmem/cache_lock_map.rs b/esp32c6/src/extmem/cache_lock_map.rs index f3796536d4..628225b1a7 100644 --- a/esp32c6/src/extmem/cache_lock_map.rs +++ b/esp32c6/src/extmem/cache_lock_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - Those bits are used to indicate which caches in the two-level cache structure will apply this lock/unlock operation. \\[4\\]: L1-Cache"] #[inline(always)] - #[must_use] pub fn cache_lock_map(&mut self) -> CACHE_LOCK_MAP_W { CACHE_LOCK_MAP_W::new(self, 0) } diff --git a/esp32c6/src/extmem/cache_lock_size.rs b/esp32c6/src/extmem/cache_lock_size.rs index 607b06233f..ed4967fc59 100644 --- a/esp32c6/src/extmem/cache_lock_size.rs +++ b/esp32c6/src/extmem/cache_lock_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Those bits are used to configure the size of the lock/unlock operation, which should be used together with CACHE_LOCK_ADDR_REG"] #[inline(always)] - #[must_use] pub fn cache_lock_size(&mut self) -> CACHE_LOCK_SIZE_W { CACHE_LOCK_SIZE_W::new(self, 0) } diff --git a/esp32c6/src/extmem/cache_sync_addr.rs b/esp32c6/src/extmem/cache_sync_addr.rs index d1d4edb472..4bdd50d42b 100644 --- a/esp32c6/src/extmem/cache_sync_addr.rs +++ b/esp32c6/src/extmem/cache_sync_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are used to configure the start virtual address of the sync operation, which should be used together with CACHE_SYNC_SIZE_REG"] #[inline(always)] - #[must_use] pub fn cache_sync_addr(&mut self) -> CACHE_SYNC_ADDR_W { CACHE_SYNC_ADDR_W::new(self, 0) } diff --git a/esp32c6/src/extmem/cache_sync_ctrl.rs b/esp32c6/src/extmem/cache_sync_ctrl.rs index 3a16703fb1..a8ba924b9f 100644 --- a/esp32c6/src/extmem/cache_sync_ctrl.rs +++ b/esp32c6/src/extmem/cache_sync_ctrl.rs @@ -73,25 +73,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable invalidate operation. It will be cleared by hardware after invalidate operation done. Note that this bit and the other sync-bits (clean_ena, writeback_ena, writeback_invalidate_ena) are mutually exclusive, that is, those bits can not be set to 1 at the same time."] #[inline(always)] - #[must_use] pub fn cache_invalidate_ena(&mut self) -> CACHE_INVALIDATE_ENA_W { CACHE_INVALIDATE_ENA_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to enable clean operation. It will be cleared by hardware after clean operation done. Note that this bit and the other sync-bits (invalidate_ena, writeback_ena, writeback_invalidate_ena) are mutually exclusive, that is, those bits can not be set to 1 at the same time."] #[inline(always)] - #[must_use] pub fn cache_clean_ena(&mut self) -> CACHE_CLEAN_ENA_W { CACHE_CLEAN_ENA_W::new(self, 1) } #[doc = "Bit 2 - The bit is used to enable writeback operation. It will be cleared by hardware after writeback operation done. Note that this bit and the other sync-bits (invalidate_ena, clean_ena, writeback_invalidate_ena) are mutually exclusive, that is, those bits can not be set to 1 at the same time."] #[inline(always)] - #[must_use] pub fn cache_writeback_ena(&mut self) -> CACHE_WRITEBACK_ENA_W { CACHE_WRITEBACK_ENA_W::new(self, 2) } #[doc = "Bit 3 - The bit is used to enable writeback-invalidate operation. It will be cleared by hardware after writeback-invalidate operation done. Note that this bit and the other sync-bits (invalidate_ena, clean_ena, writeback_ena) are mutually exclusive, that is, those bits can not be set to 1 at the same time."] #[inline(always)] - #[must_use] pub fn cache_writeback_invalidate_ena( &mut self, ) -> CACHE_WRITEBACK_INVALIDATE_ENA_W { diff --git a/esp32c6/src/extmem/cache_sync_map.rs b/esp32c6/src/extmem/cache_sync_map.rs index 770aa604fc..375828cef9 100644 --- a/esp32c6/src/extmem/cache_sync_map.rs +++ b/esp32c6/src/extmem/cache_sync_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - Those bits are used to indicate which caches in the two-level cache structure will apply the sync operation. \\[4\\]: L1-Cache"] #[inline(always)] - #[must_use] pub fn cache_sync_map(&mut self) -> CACHE_SYNC_MAP_W { CACHE_SYNC_MAP_W::new(self, 0) } diff --git a/esp32c6/src/extmem/cache_sync_size.rs b/esp32c6/src/extmem/cache_sync_size.rs index 58f7c7843c..ea35c374cc 100644 --- a/esp32c6/src/extmem/cache_sync_size.rs +++ b/esp32c6/src/extmem/cache_sync_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - Those bits are used to configure the size of the sync operation, which should be used together with CACHE_SYNC_ADDR_REG"] #[inline(always)] - #[must_use] pub fn cache_sync_size(&mut self) -> CACHE_SYNC_SIZE_W { CACHE_SYNC_SIZE_W::new(self, 0) } diff --git a/esp32c6/src/extmem/clock_gate.rs b/esp32c6/src/extmem/clock_gate.rs index a34a470917..6870b56d5b 100644 --- a/esp32c6/src/extmem/clock_gate.rs +++ b/esp32c6/src/extmem/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable clock gate when access all registers in this module."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32c6/src/extmem/date.rs b/esp32c6/src/extmem/date.rs index 80ce2bb9a3..412727c05f 100644 --- a/esp32c6/src/extmem/date.rs +++ b/esp32c6/src/extmem/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - version control register. Note that this default value stored is the latest date when the hardware logic was updated."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/extmem/l1_cache_acs_cnt_ctrl.rs b/esp32c6/src/extmem/l1_cache_acs_cnt_ctrl.rs index 25016db2d1..2901d973d6 100644 --- a/esp32c6/src/extmem/l1_cache_acs_cnt_ctrl.rs +++ b/esp32c6/src/extmem/l1_cache_acs_cnt_ctrl.rs @@ -134,25 +134,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 4 - The bit is used to enable dbus0 counter in L1-DCache."] #[inline(always)] - #[must_use] pub fn l1_bus0_cnt_ena(&mut self) -> L1_BUS0_CNT_ENA_W { L1_BUS0_CNT_ENA_W::new(self, 4) } #[doc = "Bit 5 - The bit is used to enable dbus1 counter in L1-DCache."] #[inline(always)] - #[must_use] pub fn l1_bus1_cnt_ena(&mut self) -> L1_BUS1_CNT_ENA_W { L1_BUS1_CNT_ENA_W::new(self, 5) } #[doc = "Bit 20 - The bit is used to clear dbus0 counter in L1-DCache."] #[inline(always)] - #[must_use] pub fn l1_bus0_cnt_clr(&mut self) -> L1_BUS0_CNT_CLR_W { L1_BUS0_CNT_CLR_W::new(self, 20) } #[doc = "Bit 21 - The bit is used to clear dbus1 counter in L1-DCache."] #[inline(always)] - #[must_use] pub fn l1_bus1_cnt_clr(&mut self) -> L1_BUS1_CNT_CLR_W { L1_BUS1_CNT_CLR_W::new(self, 21) } diff --git a/esp32c6/src/extmem/l1_cache_acs_cnt_int_clr.rs b/esp32c6/src/extmem/l1_cache_acs_cnt_int_clr.rs index a0942bb661..632fbb50d1 100644 --- a/esp32c6/src/extmem/l1_cache_acs_cnt_int_clr.rs +++ b/esp32c6/src/extmem/l1_cache_acs_cnt_int_clr.rs @@ -66,13 +66,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 4 - The bit is used to clear counters overflow interrupt and counters in L1-DCache due to bus0 accesses L1-DCache."] #[inline(always)] - #[must_use] pub fn l1_bus0_ovf_int_clr(&mut self) -> L1_BUS0_OVF_INT_CLR_W { L1_BUS0_OVF_INT_CLR_W::new(self, 4) } #[doc = "Bit 5 - The bit is used to clear counters overflow interrupt and counters in L1-DCache due to bus1 accesses L1-DCache."] #[inline(always)] - #[must_use] pub fn l1_bus1_ovf_int_clr(&mut self) -> L1_BUS1_OVF_INT_CLR_W { L1_BUS1_OVF_INT_CLR_W::new(self, 5) } diff --git a/esp32c6/src/extmem/l1_cache_acs_cnt_int_ena.rs b/esp32c6/src/extmem/l1_cache_acs_cnt_int_ena.rs index a52b3eeb4a..c301db533b 100644 --- a/esp32c6/src/extmem/l1_cache_acs_cnt_int_ena.rs +++ b/esp32c6/src/extmem/l1_cache_acs_cnt_int_ena.rs @@ -82,13 +82,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 4 - The bit is used to enable interrupt of one of counters overflow that occurs in L1-DCache due to bus0 accesses L1-DCache."] #[inline(always)] - #[must_use] pub fn l1_bus0_ovf_int_ena(&mut self) -> L1_BUS0_OVF_INT_ENA_W { L1_BUS0_OVF_INT_ENA_W::new(self, 4) } #[doc = "Bit 5 - The bit is used to enable interrupt of one of counters overflow that occurs in L1-DCache due to bus1 accesses L1-DCache."] #[inline(always)] - #[must_use] pub fn l1_bus1_ovf_int_ena(&mut self) -> L1_BUS1_OVF_INT_ENA_W { L1_BUS1_OVF_INT_ENA_W::new(self, 5) } diff --git a/esp32c6/src/extmem/l1_cache_acs_cnt_int_raw.rs b/esp32c6/src/extmem/l1_cache_acs_cnt_int_raw.rs index 598f2f306b..61134b15af 100644 --- a/esp32c6/src/extmem/l1_cache_acs_cnt_int_raw.rs +++ b/esp32c6/src/extmem/l1_cache_acs_cnt_int_raw.rs @@ -94,7 +94,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw bit of the interrupt of one of counters overflow that occurs in L1-ICache0 due to bus0 accesses L1-ICache0."] #[inline(always)] - #[must_use] pub fn l1_ibus0_ovf_int_raw( &mut self, ) -> L1_IBUS0_OVF_INT_RAW_W { @@ -102,7 +101,6 @@ impl W { } #[doc = "Bit 1 - The raw bit of the interrupt of one of counters overflow that occurs in L1-ICache1 due to bus1 accesses L1-ICache1."] #[inline(always)] - #[must_use] pub fn l1_ibus1_ovf_int_raw( &mut self, ) -> L1_IBUS1_OVF_INT_RAW_W { @@ -110,7 +108,6 @@ impl W { } #[doc = "Bit 2 - The raw bit of the interrupt of one of counters overflow that occurs in L1-ICache2 due to bus2 accesses L1-ICache2."] #[inline(always)] - #[must_use] pub fn l1_ibus2_ovf_int_raw( &mut self, ) -> L1_IBUS2_OVF_INT_RAW_W { @@ -118,7 +115,6 @@ impl W { } #[doc = "Bit 3 - The raw bit of the interrupt of one of counters overflow that occurs in L1-ICache3 due to bus3 accesses L1-ICache3."] #[inline(always)] - #[must_use] pub fn l1_ibus3_ovf_int_raw( &mut self, ) -> L1_IBUS3_OVF_INT_RAW_W { @@ -126,19 +122,16 @@ impl W { } #[doc = "Bit 4 - The raw bit of the interrupt of one of counters overflow that occurs in L1-DCache due to bus0 accesses L1-DCache."] #[inline(always)] - #[must_use] pub fn l1_bus0_ovf_int_raw(&mut self) -> L1_BUS0_OVF_INT_RAW_W { L1_BUS0_OVF_INT_RAW_W::new(self, 4) } #[doc = "Bit 5 - The raw bit of the interrupt of one of counters overflow that occurs in L1-DCache due to bus1 accesses L1-DCache."] #[inline(always)] - #[must_use] pub fn l1_bus1_ovf_int_raw(&mut self) -> L1_BUS1_OVF_INT_RAW_W { L1_BUS1_OVF_INT_RAW_W::new(self, 5) } #[doc = "Bit 6 - The raw bit of the interrupt of one of counters overflow that occurs in L1-DCache due to bus2 accesses L1-DCache."] #[inline(always)] - #[must_use] pub fn l1_dbus2_ovf_int_raw( &mut self, ) -> L1_DBUS2_OVF_INT_RAW_W { @@ -146,7 +139,6 @@ impl W { } #[doc = "Bit 7 - The raw bit of the interrupt of one of counters overflow that occurs in L1-DCache due to bus3 accesses L1-DCache."] #[inline(always)] - #[must_use] pub fn l1_dbus3_ovf_int_raw( &mut self, ) -> L1_DBUS3_OVF_INT_RAW_W { diff --git a/esp32c6/src/extmem/l1_cache_acs_fail_int_clr.rs b/esp32c6/src/extmem/l1_cache_acs_fail_int_clr.rs index 4266ea52b2..005db1a8d3 100644 --- a/esp32c6/src/extmem/l1_cache_acs_fail_int_clr.rs +++ b/esp32c6/src/extmem/l1_cache_acs_fail_int_clr.rs @@ -48,7 +48,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 4 - The bit is used to clear interrupt of access fail that occurs in L1-DCache due to cpu accesses L1-DCache."] #[inline(always)] - #[must_use] pub fn l1_cache_fail_int_clr( &mut self, ) -> L1_CACHE_FAIL_INT_CLR_W { diff --git a/esp32c6/src/extmem/l1_cache_acs_fail_int_ena.rs b/esp32c6/src/extmem/l1_cache_acs_fail_int_ena.rs index 79b54abef7..8fe087a9ec 100644 --- a/esp32c6/src/extmem/l1_cache_acs_fail_int_ena.rs +++ b/esp32c6/src/extmem/l1_cache_acs_fail_int_ena.rs @@ -56,7 +56,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 4 - The bit is used to enable interrupt of access fail that occurs in L1-DCache due to cpu accesses L1-DCache."] #[inline(always)] - #[must_use] pub fn l1_cache_fail_int_ena( &mut self, ) -> L1_CACHE_FAIL_INT_ENA_W { diff --git a/esp32c6/src/extmem/l1_cache_acs_fail_int_raw.rs b/esp32c6/src/extmem/l1_cache_acs_fail_int_raw.rs index 040bf725d1..84ff588d67 100644 --- a/esp32c6/src/extmem/l1_cache_acs_fail_int_raw.rs +++ b/esp32c6/src/extmem/l1_cache_acs_fail_int_raw.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw bit of the interrupt of access fail that occurs in L1-ICache0."] #[inline(always)] - #[must_use] pub fn l1_icache0_fail_int_raw( &mut self, ) -> L1_ICACHE0_FAIL_INT_RAW_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - The raw bit of the interrupt of access fail that occurs in L1-ICache1."] #[inline(always)] - #[must_use] pub fn l1_icache1_fail_int_raw( &mut self, ) -> L1_ICACHE1_FAIL_INT_RAW_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bit 2 - The raw bit of the interrupt of access fail that occurs in L1-ICache2."] #[inline(always)] - #[must_use] pub fn l1_icache2_fail_int_raw( &mut self, ) -> L1_ICACHE2_FAIL_INT_RAW_W { @@ -88,7 +85,6 @@ impl W { } #[doc = "Bit 3 - The raw bit of the interrupt of access fail that occurs in L1-ICache3."] #[inline(always)] - #[must_use] pub fn l1_icache3_fail_int_raw( &mut self, ) -> L1_ICACHE3_FAIL_INT_RAW_W { @@ -96,7 +92,6 @@ impl W { } #[doc = "Bit 4 - The raw bit of the interrupt of access fail that occurs in L1-DCache."] #[inline(always)] - #[must_use] pub fn l1_cache_fail_int_raw( &mut self, ) -> L1_CACHE_FAIL_INT_RAW_W { diff --git a/esp32c6/src/extmem/l1_cache_autoload_buf_clr_ctrl.rs b/esp32c6/src/extmem/l1_cache_autoload_buf_clr_ctrl.rs index cfdc7a388d..1629f981a7 100644 --- a/esp32c6/src/extmem/l1_cache_autoload_buf_clr_ctrl.rs +++ b/esp32c6/src/extmem/l1_cache_autoload_buf_clr_ctrl.rs @@ -56,7 +56,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 4 - set this bit to clear autoload-buffer inside L1-Cache. If this bit is active, autoload will not work in L1-Cache. This bit should not be active when autoload works in L1-Cache."] #[inline(always)] - #[must_use] pub fn l1_cache_ald_buf_clr( &mut self, ) -> L1_CACHE_ALD_BUF_CLR_W { diff --git a/esp32c6/src/extmem/l1_cache_autoload_ctrl.rs b/esp32c6/src/extmem/l1_cache_autoload_ctrl.rs index 84c237376f..9e6e49dfa7 100644 --- a/esp32c6/src/extmem/l1_cache_autoload_ctrl.rs +++ b/esp32c6/src/extmem/l1_cache_autoload_ctrl.rs @@ -111,7 +111,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable and disable autoload operation on L1-Cache. 1: enable, 0: disable."] #[inline(always)] - #[must_use] pub fn l1_cache_autoload_ena( &mut self, ) -> L1_CACHE_AUTOLOAD_ENA_W { @@ -119,7 +118,6 @@ impl W { } #[doc = "Bit 2 - The bit is used to configure the direction of autoload operation on L1-Cache. 0: ascending. 1: descending."] #[inline(always)] - #[must_use] pub fn l1_cache_autoload_order( &mut self, ) -> L1_CACHE_AUTOLOAD_ORDER_W { @@ -127,7 +125,6 @@ impl W { } #[doc = "Bits 3:4 - The field is used to configure trigger mode of autoload operation on L1-Cache. 0/3: miss-trigger, 1: hit-trigger, 2: miss-hit-trigger."] #[inline(always)] - #[must_use] pub fn l1_cache_autoload_trigger_mode( &mut self, ) -> L1_CACHE_AUTOLOAD_TRIGGER_MODE_W { @@ -135,7 +132,6 @@ impl W { } #[doc = "Bit 8 - The bit is used to enable the first section for autoload operation on L1-Cache."] #[inline(always)] - #[must_use] pub fn l1_cache_autoload_sct0_ena( &mut self, ) -> L1_CACHE_AUTOLOAD_SCT0_ENA_W { @@ -143,7 +139,6 @@ impl W { } #[doc = "Bit 9 - The bit is used to enable the second section for autoload operation on L1-Cache."] #[inline(always)] - #[must_use] pub fn l1_cache_autoload_sct1_ena( &mut self, ) -> L1_CACHE_AUTOLOAD_SCT1_ENA_W { diff --git a/esp32c6/src/extmem/l1_cache_autoload_sct0_addr.rs b/esp32c6/src/extmem/l1_cache_autoload_sct0_addr.rs index 972a41948d..1fcfe4e9bc 100644 --- a/esp32c6/src/extmem/l1_cache_autoload_sct0_addr.rs +++ b/esp32c6/src/extmem/l1_cache_autoload_sct0_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are used to configure the start virtual address of the first section for autoload operation on L1-Cache. Note that it should be used together with L1_CACHE_AUTOLOAD_SCT0_SIZE and L1_CACHE_AUTOLOAD_SCT0_ENA."] #[inline(always)] - #[must_use] pub fn l1_cache_autoload_sct0_addr( &mut self, ) -> L1_CACHE_AUTOLOAD_SCT0_ADDR_W { diff --git a/esp32c6/src/extmem/l1_cache_autoload_sct0_size.rs b/esp32c6/src/extmem/l1_cache_autoload_sct0_size.rs index b230428e00..360028fb2f 100644 --- a/esp32c6/src/extmem/l1_cache_autoload_sct0_size.rs +++ b/esp32c6/src/extmem/l1_cache_autoload_sct0_size.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Those bits are used to configure the size of the first section for autoload operation on L1-Cache. Note that it should be used together with L1_CACHE_AUTOLOAD_SCT0_ADDR and L1_CACHE_AUTOLOAD_SCT0_ENA."] #[inline(always)] - #[must_use] pub fn l1_cache_autoload_sct0_size( &mut self, ) -> L1_CACHE_AUTOLOAD_SCT0_SIZE_W { diff --git a/esp32c6/src/extmem/l1_cache_autoload_sct1_addr.rs b/esp32c6/src/extmem/l1_cache_autoload_sct1_addr.rs index fd04bc69c8..27e7f7342c 100644 --- a/esp32c6/src/extmem/l1_cache_autoload_sct1_addr.rs +++ b/esp32c6/src/extmem/l1_cache_autoload_sct1_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are used to configure the start virtual address of the second section for autoload operation on L1-Cache. Note that it should be used together with L1_CACHE_AUTOLOAD_SCT1_SIZE and L1_CACHE_AUTOLOAD_SCT1_ENA."] #[inline(always)] - #[must_use] pub fn l1_cache_autoload_sct1_addr( &mut self, ) -> L1_CACHE_AUTOLOAD_SCT1_ADDR_W { diff --git a/esp32c6/src/extmem/l1_cache_autoload_sct1_size.rs b/esp32c6/src/extmem/l1_cache_autoload_sct1_size.rs index 79a4947959..9dcd21dd2a 100644 --- a/esp32c6/src/extmem/l1_cache_autoload_sct1_size.rs +++ b/esp32c6/src/extmem/l1_cache_autoload_sct1_size.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Those bits are used to configure the size of the second section for autoload operation on L1-Cache. Note that it should be used together with L1_CACHE_AUTOLOAD_SCT1_ADDR and L1_CACHE_AUTOLOAD_SCT1_ENA."] #[inline(always)] - #[must_use] pub fn l1_cache_autoload_sct1_size( &mut self, ) -> L1_CACHE_AUTOLOAD_SCT1_SIZE_W { diff --git a/esp32c6/src/extmem/l1_cache_ctrl.rs b/esp32c6/src/extmem/l1_cache_ctrl.rs index 0df18f15ec..c14710ad0c 100644 --- a/esp32c6/src/extmem/l1_cache_ctrl.rs +++ b/esp32c6/src/extmem/l1_cache_ctrl.rs @@ -68,19 +68,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to disable core0 dbus access L1-Cache, 0: enable, 1: disable"] #[inline(always)] - #[must_use] pub fn l1_cache_shut_bus0(&mut self) -> L1_CACHE_SHUT_BUS0_W { L1_CACHE_SHUT_BUS0_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to disable core1 dbus access L1-Cache, 0: enable, 1: disable"] #[inline(always)] - #[must_use] pub fn l1_cache_shut_bus1(&mut self) -> L1_CACHE_SHUT_BUS1_W { L1_CACHE_SHUT_BUS1_W::new(self, 1) } #[doc = "Bits 8:11 - Reserved"] #[inline(always)] - #[must_use] pub fn l1_cache_undef_op(&mut self) -> L1_CACHE_UNDEF_OP_W { L1_CACHE_UNDEF_OP_W::new(self, 8) } diff --git a/esp32c6/src/extmem/l1_cache_data_mem_acs_conf.rs b/esp32c6/src/extmem/l1_cache_data_mem_acs_conf.rs index 437aacb6a5..4251b6ec33 100644 --- a/esp32c6/src/extmem/l1_cache_data_mem_acs_conf.rs +++ b/esp32c6/src/extmem/l1_cache_data_mem_acs_conf.rs @@ -122,7 +122,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 16 - The bit is used to enable config-bus read L1-Cache data memoryory. 0: disable, 1: enable."] #[inline(always)] - #[must_use] pub fn l1_cache_data_mem_rd_en( &mut self, ) -> L1_CACHE_DATA_MEM_RD_EN_W { @@ -130,7 +129,6 @@ impl W { } #[doc = "Bit 17 - The bit is used to enable config-bus write L1-Cache data memoryory. 0: disable, 1: enable."] #[inline(always)] - #[must_use] pub fn l1_cache_data_mem_wr_en( &mut self, ) -> L1_CACHE_DATA_MEM_WR_EN_W { diff --git a/esp32c6/src/extmem/l1_cache_data_mem_power_ctrl.rs b/esp32c6/src/extmem/l1_cache_data_mem_power_ctrl.rs index b03d0d27f5..9eae763e53 100644 --- a/esp32c6/src/extmem/l1_cache_data_mem_power_ctrl.rs +++ b/esp32c6/src/extmem/l1_cache_data_mem_power_ctrl.rs @@ -185,7 +185,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 16 - The bit is used to close clock gating of L1-Cache data memory. 1: close gating, 0: open clock gating."] #[inline(always)] - #[must_use] pub fn l1_cache_data_mem_force_on( &mut self, ) -> L1_CACHE_DATA_MEM_FORCE_ON_W { @@ -193,7 +192,6 @@ impl W { } #[doc = "Bit 17 - The bit is used to power L1-Cache data memory down. 0: follow rtc_lslp, 1: power down"] #[inline(always)] - #[must_use] pub fn l1_cache_data_mem_force_pd( &mut self, ) -> L1_CACHE_DATA_MEM_FORCE_PD_W { @@ -201,7 +199,6 @@ impl W { } #[doc = "Bit 18 - The bit is used to power L1-Cache data memory up. 0: follow rtc_lslp, 1: power up"] #[inline(always)] - #[must_use] pub fn l1_cache_data_mem_force_pu( &mut self, ) -> L1_CACHE_DATA_MEM_FORCE_PU_W { diff --git a/esp32c6/src/extmem/l1_cache_debug_bus.rs b/esp32c6/src/extmem/l1_cache_debug_bus.rs index cc78c631fa..746efdfacc 100644 --- a/esp32c6/src/extmem/l1_cache_debug_bus.rs +++ b/esp32c6/src/extmem/l1_cache_debug_bus.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This is a constant place where we can write data to or read data from the tag/data memory on the specified cache."] #[inline(always)] - #[must_use] pub fn l1_cache_debug_bus(&mut self) -> L1_CACHE_DEBUG_BUS_W { L1_CACHE_DEBUG_BUS_W::new(self, 0) } diff --git a/esp32c6/src/extmem/l1_cache_freeze_ctrl.rs b/esp32c6/src/extmem/l1_cache_freeze_ctrl.rs index 689551fd5b..0dc1eb9441 100644 --- a/esp32c6/src/extmem/l1_cache_freeze_ctrl.rs +++ b/esp32c6/src/extmem/l1_cache_freeze_ctrl.rs @@ -138,13 +138,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 16 - The bit is used to enable freeze operation on L1-Cache. It can be cleared by software."] #[inline(always)] - #[must_use] pub fn l1_cache_freeze_en(&mut self) -> L1_CACHE_FREEZE_EN_W { L1_CACHE_FREEZE_EN_W::new(self, 16) } #[doc = "Bit 17 - The bit is used to configure mode of freeze operation L1-Cache. 0: a miss-access will not stuck. 1: a miss-access will stuck."] #[inline(always)] - #[must_use] pub fn l1_cache_freeze_mode(&mut self) -> L1_CACHE_FREEZE_MODE_W { L1_CACHE_FREEZE_MODE_W::new(self, 17) } diff --git a/esp32c6/src/extmem/l1_cache_object_ctrl.rs b/esp32c6/src/extmem/l1_cache_object_ctrl.rs index 9dbff75835..fa868f2a35 100644 --- a/esp32c6/src/extmem/l1_cache_object_ctrl.rs +++ b/esp32c6/src/extmem/l1_cache_object_ctrl.rs @@ -98,13 +98,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 4 - Set this bit to set L1-Cache tag memory as object. This bit should be onehot with the others fields inside this register."] #[inline(always)] - #[must_use] pub fn l1_cache_tag_object(&mut self) -> L1_CACHE_TAG_OBJECT_W { L1_CACHE_TAG_OBJECT_W::new(self, 4) } #[doc = "Bit 10 - Set this bit to set L1-Cache data memory as object. This bit should be onehot with the others fields inside this register."] #[inline(always)] - #[must_use] pub fn l1_cache_mem_object(&mut self) -> L1_CACHE_MEM_OBJECT_W { L1_CACHE_MEM_OBJECT_W::new(self, 10) } diff --git a/esp32c6/src/extmem/l1_cache_preload_ctrl.rs b/esp32c6/src/extmem/l1_cache_preload_ctrl.rs index 30543ec7f3..e9a57ed71a 100644 --- a/esp32c6/src/extmem/l1_cache_preload_ctrl.rs +++ b/esp32c6/src/extmem/l1_cache_preload_ctrl.rs @@ -50,13 +50,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable preload operation on L1-Cache. It will be cleared by hardware automatically after preload operation is done."] #[inline(always)] - #[must_use] pub fn l1_cache_preload_ena(&mut self) -> L1_CACHE_PRELOAD_ENA_W { L1_CACHE_PRELOAD_ENA_W::new(self, 0) } #[doc = "Bit 2 - The bit is used to configure the direction of preload operation. 0: ascending, 1: descending."] #[inline(always)] - #[must_use] pub fn l1_cache_preload_order( &mut self, ) -> L1_CACHE_PRELOAD_ORDER_W { diff --git a/esp32c6/src/extmem/l1_cache_preload_rst_ctrl.rs b/esp32c6/src/extmem/l1_cache_preload_rst_ctrl.rs index e912a819f0..96651824af 100644 --- a/esp32c6/src/extmem/l1_cache_preload_rst_ctrl.rs +++ b/esp32c6/src/extmem/l1_cache_preload_rst_ctrl.rs @@ -56,7 +56,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 4 - set this bit to reset preload-logic inside L1-Cache. Recommend that this should only be used to initialize preload-logic when some fatal error of preload-logic occurs."] #[inline(always)] - #[must_use] pub fn l1_cache_pld_rst(&mut self) -> L1_CACHE_PLD_RST_W { L1_CACHE_PLD_RST_W::new(self, 4) } diff --git a/esp32c6/src/extmem/l1_cache_prelock_conf.rs b/esp32c6/src/extmem/l1_cache_prelock_conf.rs index 5d60608aa3..b11f77a3f3 100644 --- a/esp32c6/src/extmem/l1_cache_prelock_conf.rs +++ b/esp32c6/src/extmem/l1_cache_prelock_conf.rs @@ -42,7 +42,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable the first section of prelock function on L1-Cache."] #[inline(always)] - #[must_use] pub fn l1_cache_prelock_sct0_en( &mut self, ) -> L1_CACHE_PRELOCK_SCT0_EN_W { @@ -50,7 +49,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to enable the second section of prelock function on L1-Cache."] #[inline(always)] - #[must_use] pub fn l1_cache_prelock_sct1_en( &mut self, ) -> L1_CACHE_PRELOCK_SCT1_EN_W { diff --git a/esp32c6/src/extmem/l1_cache_prelock_sct0_addr.rs b/esp32c6/src/extmem/l1_cache_prelock_sct0_addr.rs index b9000a9243..dff877e8b1 100644 --- a/esp32c6/src/extmem/l1_cache_prelock_sct0_addr.rs +++ b/esp32c6/src/extmem/l1_cache_prelock_sct0_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are used to configure the start virtual address of the first section of prelock on L1-Cache, which should be used together with L1_CACHE_PRELOCK_SCT0_SIZE_REG"] #[inline(always)] - #[must_use] pub fn l1_cache_prelock_sct0_addr( &mut self, ) -> L1_CACHE_PRELOCK_SCT0_ADDR_W { diff --git a/esp32c6/src/extmem/l1_cache_sync_preload_int_clr.rs b/esp32c6/src/extmem/l1_cache_sync_preload_int_clr.rs index d66b3bf083..e304f1f0b0 100644 --- a/esp32c6/src/extmem/l1_cache_sync_preload_int_clr.rs +++ b/esp32c6/src/extmem/l1_cache_sync_preload_int_clr.rs @@ -110,7 +110,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 4 - The bit is used to clear interrupt that occurs only when L1-Cache preload-operation is done."] #[inline(always)] - #[must_use] pub fn l1_cache_pld_done_int_clr( &mut self, ) -> L1_CACHE_PLD_DONE_INT_CLR_W { @@ -118,7 +117,6 @@ impl W { } #[doc = "Bit 6 - The bit is used to clear interrupt that occurs only when Cache sync-operation is done."] #[inline(always)] - #[must_use] pub fn cache_sync_done_int_clr( &mut self, ) -> CACHE_SYNC_DONE_INT_CLR_W { @@ -126,7 +124,6 @@ impl W { } #[doc = "Bit 11 - The bit is used to clear interrupt of L1-Cache preload-operation error."] #[inline(always)] - #[must_use] pub fn l1_cache_pld_err_int_clr( &mut self, ) -> L1_CACHE_PLD_ERR_INT_CLR_W { @@ -134,7 +131,6 @@ impl W { } #[doc = "Bit 13 - The bit is used to clear interrupt of Cache sync-operation error."] #[inline(always)] - #[must_use] pub fn cache_sync_err_int_clr( &mut self, ) -> CACHE_SYNC_ERR_INT_CLR_W { diff --git a/esp32c6/src/extmem/l1_cache_sync_preload_int_ena.rs b/esp32c6/src/extmem/l1_cache_sync_preload_int_ena.rs index b79e9121c7..a1956080ef 100644 --- a/esp32c6/src/extmem/l1_cache_sync_preload_int_ena.rs +++ b/esp32c6/src/extmem/l1_cache_sync_preload_int_ena.rs @@ -145,7 +145,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 4 - The bit is used to enable interrupt of L1-Cache preload-operation. If preload operation is done, interrupt occurs."] #[inline(always)] - #[must_use] pub fn l1_cache_pld_done_int_ena( &mut self, ) -> L1_CACHE_PLD_DONE_INT_ENA_W { @@ -153,7 +152,6 @@ impl W { } #[doc = "Bit 6 - The bit is used to enable interrupt of Cache sync-operation done."] #[inline(always)] - #[must_use] pub fn cache_sync_done_int_ena( &mut self, ) -> CACHE_SYNC_DONE_INT_ENA_W { @@ -161,7 +159,6 @@ impl W { } #[doc = "Bit 11 - The bit is used to enable interrupt of L1-Cache preload-operation error."] #[inline(always)] - #[must_use] pub fn l1_cache_pld_err_int_ena( &mut self, ) -> L1_CACHE_PLD_ERR_INT_ENA_W { @@ -169,7 +166,6 @@ impl W { } #[doc = "Bit 13 - The bit is used to enable interrupt of Cache sync-operation error."] #[inline(always)] - #[must_use] pub fn cache_sync_err_int_ena( &mut self, ) -> CACHE_SYNC_ERR_INT_ENA_W { diff --git a/esp32c6/src/extmem/l1_cache_sync_preload_int_raw.rs b/esp32c6/src/extmem/l1_cache_sync_preload_int_raw.rs index 82a03bb81f..3625d6050f 100644 --- a/esp32c6/src/extmem/l1_cache_sync_preload_int_raw.rs +++ b/esp32c6/src/extmem/l1_cache_sync_preload_int_raw.rs @@ -161,7 +161,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw bit of the interrupt that occurs only when L1-ICache0 preload-operation is done."] #[inline(always)] - #[must_use] pub fn l1_icache0_pld_done_int_raw( &mut self, ) -> L1_ICACHE0_PLD_DONE_INT_RAW_W { @@ -169,7 +168,6 @@ impl W { } #[doc = "Bit 1 - The raw bit of the interrupt that occurs only when L1-ICache1 preload-operation is done."] #[inline(always)] - #[must_use] pub fn l1_icache1_pld_done_int_raw( &mut self, ) -> L1_ICACHE1_PLD_DONE_INT_RAW_W { @@ -177,7 +175,6 @@ impl W { } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn l1_icache2_pld_done_int_raw( &mut self, ) -> L1_ICACHE2_PLD_DONE_INT_RAW_W { @@ -185,7 +182,6 @@ impl W { } #[doc = "Bit 3 - Reserved"] #[inline(always)] - #[must_use] pub fn l1_icache3_pld_done_int_raw( &mut self, ) -> L1_ICACHE3_PLD_DONE_INT_RAW_W { @@ -193,7 +189,6 @@ impl W { } #[doc = "Bit 4 - The raw bit of the interrupt that occurs only when L1-Cache preload-operation is done."] #[inline(always)] - #[must_use] pub fn l1_cache_pld_done_int_raw( &mut self, ) -> L1_CACHE_PLD_DONE_INT_RAW_W { @@ -201,7 +196,6 @@ impl W { } #[doc = "Bit 6 - The raw bit of the interrupt that occurs only when Cache sync-operation is done."] #[inline(always)] - #[must_use] pub fn cache_sync_done_int_raw( &mut self, ) -> CACHE_SYNC_DONE_INT_RAW_W { @@ -209,7 +203,6 @@ impl W { } #[doc = "Bit 7 - The raw bit of the interrupt that occurs only when L1-ICache0 preload-operation error occurs."] #[inline(always)] - #[must_use] pub fn l1_icache0_pld_err_int_raw( &mut self, ) -> L1_ICACHE0_PLD_ERR_INT_RAW_W { @@ -217,7 +210,6 @@ impl W { } #[doc = "Bit 8 - The raw bit of the interrupt that occurs only when L1-ICache1 preload-operation error occurs."] #[inline(always)] - #[must_use] pub fn l1_icache1_pld_err_int_raw( &mut self, ) -> L1_ICACHE1_PLD_ERR_INT_RAW_W { @@ -225,7 +217,6 @@ impl W { } #[doc = "Bit 9 - Reserved"] #[inline(always)] - #[must_use] pub fn l1_icache2_pld_err_int_raw( &mut self, ) -> L1_ICACHE2_PLD_ERR_INT_RAW_W { @@ -233,7 +224,6 @@ impl W { } #[doc = "Bit 10 - Reserved"] #[inline(always)] - #[must_use] pub fn l1_icache3_pld_err_int_raw( &mut self, ) -> L1_ICACHE3_PLD_ERR_INT_RAW_W { @@ -241,7 +231,6 @@ impl W { } #[doc = "Bit 11 - The raw bit of the interrupt that occurs only when L1-Cache preload-operation error occurs."] #[inline(always)] - #[must_use] pub fn l1_cache_pld_err_int_raw( &mut self, ) -> L1_CACHE_PLD_ERR_INT_RAW_W { @@ -249,7 +238,6 @@ impl W { } #[doc = "Bit 13 - The raw bit of the interrupt that occurs only when Cache sync-operation error occurs."] #[inline(always)] - #[must_use] pub fn cache_sync_err_int_raw( &mut self, ) -> CACHE_SYNC_ERR_INT_RAW_W { diff --git a/esp32c6/src/extmem/l1_cache_sync_rst_ctrl.rs b/esp32c6/src/extmem/l1_cache_sync_rst_ctrl.rs index cbd0848351..20699b8eda 100644 --- a/esp32c6/src/extmem/l1_cache_sync_rst_ctrl.rs +++ b/esp32c6/src/extmem/l1_cache_sync_rst_ctrl.rs @@ -56,7 +56,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 4 - set this bit to reset sync-logic inside L1-Cache. Recommend that this should only be used to initialize sync-logic when some fatal error of sync-logic occurs."] #[inline(always)] - #[must_use] pub fn l1_cache_sync_rst(&mut self) -> L1_CACHE_SYNC_RST_W { L1_CACHE_SYNC_RST_W::new(self, 4) } diff --git a/esp32c6/src/extmem/l1_cache_tag_mem_acs_conf.rs b/esp32c6/src/extmem/l1_cache_tag_mem_acs_conf.rs index 5c093dfd9c..19349add71 100644 --- a/esp32c6/src/extmem/l1_cache_tag_mem_acs_conf.rs +++ b/esp32c6/src/extmem/l1_cache_tag_mem_acs_conf.rs @@ -98,7 +98,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 16 - The bit is used to enable config-bus read L1-Cache tag memoryory. 0: disable, 1: enable."] #[inline(always)] - #[must_use] pub fn l1_cache_tag_mem_rd_en( &mut self, ) -> L1_CACHE_TAG_MEM_RD_EN_W { @@ -106,7 +105,6 @@ impl W { } #[doc = "Bit 17 - The bit is used to enable config-bus write L1-Cache tag memoryory. 0: disable, 1: enable."] #[inline(always)] - #[must_use] pub fn l1_cache_tag_mem_wr_en( &mut self, ) -> L1_CACHE_TAG_MEM_WR_EN_W { diff --git a/esp32c6/src/extmem/l1_cache_tag_mem_power_ctrl.rs b/esp32c6/src/extmem/l1_cache_tag_mem_power_ctrl.rs index 1969cdcbc2..e49ff6b7e3 100644 --- a/esp32c6/src/extmem/l1_cache_tag_mem_power_ctrl.rs +++ b/esp32c6/src/extmem/l1_cache_tag_mem_power_ctrl.rs @@ -185,7 +185,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 16 - The bit is used to close clock gating of L1-Cache tag memory. 1: close gating, 0: open clock gating."] #[inline(always)] - #[must_use] pub fn l1_cache_tag_mem_force_on( &mut self, ) -> L1_CACHE_TAG_MEM_FORCE_ON_W { @@ -193,7 +192,6 @@ impl W { } #[doc = "Bit 17 - The bit is used to power L1-Cache tag memory down. 0: follow rtc_lslp, 1: power down"] #[inline(always)] - #[must_use] pub fn l1_cache_tag_mem_force_pd( &mut self, ) -> L1_CACHE_TAG_MEM_FORCE_PD_W { @@ -201,7 +199,6 @@ impl W { } #[doc = "Bit 18 - The bit is used to power L1-Cache tag memory up. 0: follow rtc_lslp, 1: power up"] #[inline(always)] - #[must_use] pub fn l1_cache_tag_mem_force_pu( &mut self, ) -> L1_CACHE_TAG_MEM_FORCE_PU_W { diff --git a/esp32c6/src/extmem/l1_cache_vaddr.rs b/esp32c6/src/extmem/l1_cache_vaddr.rs index f6bb86666a..709bfebe00 100644 --- a/esp32c6/src/extmem/l1_cache_vaddr.rs +++ b/esp32c6/src/extmem/l1_cache_vaddr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits stores the virtual address which will decide where inside the specified tag memory object will be accessed."] #[inline(always)] - #[must_use] pub fn l1_cache_vaddr(&mut self) -> L1_CACHE_VADDR_W { L1_CACHE_VADDR_W::new(self, 0) } diff --git a/esp32c6/src/extmem/l1_cache_way_object.rs b/esp32c6/src/extmem/l1_cache_way_object.rs index b93309ba38..32d5775206 100644 --- a/esp32c6/src/extmem/l1_cache_way_object.rs +++ b/esp32c6/src/extmem/l1_cache_way_object.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - Set this bits to select which way of the tag-object will be accessed. 0: way0, 1: way1, 2: way2, 3: way3, ?, 7: way7."] #[inline(always)] - #[must_use] pub fn l1_cache_way_object(&mut self) -> L1_CACHE_WAY_OBJECT_W { L1_CACHE_WAY_OBJECT_W::new(self, 0) } diff --git a/esp32c6/src/extmem/l1_cache_wrap_around_ctrl.rs b/esp32c6/src/extmem/l1_cache_wrap_around_ctrl.rs index 547603044c..3a00245c4d 100644 --- a/esp32c6/src/extmem/l1_cache_wrap_around_ctrl.rs +++ b/esp32c6/src/extmem/l1_cache_wrap_around_ctrl.rs @@ -56,7 +56,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 4 - Set this bit as 1 to enable L1-DCache wrap around mode."] #[inline(always)] - #[must_use] pub fn l1_cache_wrap(&mut self) -> L1_CACHE_WRAP_W { L1_CACHE_WRAP_W::new(self, 4) } diff --git a/esp32c6/src/extmem/l1_dcache_preload_addr.rs b/esp32c6/src/extmem/l1_dcache_preload_addr.rs index f6fd22b4ce..a4d31e179a 100644 --- a/esp32c6/src/extmem/l1_dcache_preload_addr.rs +++ b/esp32c6/src/extmem/l1_dcache_preload_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are used to configure the start virtual address of preload on L1-Cache, which should be used together with L1_CACHE_PRELOAD_SIZE_REG"] #[inline(always)] - #[must_use] pub fn l1_cache_preload_addr( &mut self, ) -> L1_CACHE_PRELOAD_ADDR_W { diff --git a/esp32c6/src/extmem/l1_dcache_preload_size.rs b/esp32c6/src/extmem/l1_dcache_preload_size.rs index 820c657da1..d173d9c530 100644 --- a/esp32c6/src/extmem/l1_dcache_preload_size.rs +++ b/esp32c6/src/extmem/l1_dcache_preload_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - Those bits are used to configure the size of the first section of prelock on L1-Cache, which should be used together with L1_CACHE_PRELOAD_ADDR_REG"] #[inline(always)] - #[must_use] pub fn l1_cache_preload_size( &mut self, ) -> L1_CACHE_PRELOAD_SIZE_W { diff --git a/esp32c6/src/extmem/l1_dcache_prelock_sct1_addr.rs b/esp32c6/src/extmem/l1_dcache_prelock_sct1_addr.rs index b95df54f4d..6252c4dd5a 100644 --- a/esp32c6/src/extmem/l1_dcache_prelock_sct1_addr.rs +++ b/esp32c6/src/extmem/l1_dcache_prelock_sct1_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are used to configure the start virtual address of the second section of prelock on L1-Cache, which should be used together with L1_CACHE_PRELOCK_SCT1_SIZE_REG"] #[inline(always)] - #[must_use] pub fn l1_cache_prelock_sct1_addr( &mut self, ) -> L1_CACHE_PRELOCK_SCT1_ADDR_W { diff --git a/esp32c6/src/extmem/l1_dcache_prelock_sct_size.rs b/esp32c6/src/extmem/l1_dcache_prelock_sct_size.rs index c00616db94..d523305c7c 100644 --- a/esp32c6/src/extmem/l1_dcache_prelock_sct_size.rs +++ b/esp32c6/src/extmem/l1_dcache_prelock_sct_size.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - Those bits are used to configure the size of the first section of prelock on L1-Cache, which should be used together with L1_CACHE_PRELOCK_SCT0_ADDR_REG"] #[inline(always)] - #[must_use] pub fn l1_cache_prelock_sct0_size( &mut self, ) -> L1_CACHE_PRELOCK_SCT0_SIZE_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bits 16:29 - Those bits are used to configure the size of the second section of prelock on L1-Cache, which should be used together with L1_CACHE_PRELOCK_SCT1_ADDR_REG"] #[inline(always)] - #[must_use] pub fn l1_cache_prelock_sct1_size( &mut self, ) -> L1_CACHE_PRELOCK_SCT1_SIZE_W { diff --git a/esp32c6/src/extmem/l1_icache0_preload_ctrl.rs b/esp32c6/src/extmem/l1_icache0_preload_ctrl.rs index 9a47146471..ca3d3fd2f2 100644 --- a/esp32c6/src/extmem/l1_icache0_preload_ctrl.rs +++ b/esp32c6/src/extmem/l1_icache0_preload_ctrl.rs @@ -48,7 +48,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable preload operation on L1-ICache0. It will be cleared by hardware automatically after preload operation is done."] #[inline(always)] - #[must_use] pub fn l1_icache0_preload_ena( &mut self, ) -> L1_ICACHE0_PRELOAD_ENA_W { diff --git a/esp32c6/src/extmem/l1_icache1_preload_ctrl.rs b/esp32c6/src/extmem/l1_icache1_preload_ctrl.rs index 4f8b0b6d7e..2ca01e310a 100644 --- a/esp32c6/src/extmem/l1_icache1_preload_ctrl.rs +++ b/esp32c6/src/extmem/l1_icache1_preload_ctrl.rs @@ -48,7 +48,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable preload operation on L1-ICache1. It will be cleared by hardware automatically after preload operation is done."] #[inline(always)] - #[must_use] pub fn l1_icache1_preload_ena( &mut self, ) -> L1_ICACHE1_PRELOAD_ENA_W { diff --git a/esp32c6/src/extmem/l1_icache2_preload_ctrl.rs b/esp32c6/src/extmem/l1_icache2_preload_ctrl.rs index cdd59bc119..0700ff09e3 100644 --- a/esp32c6/src/extmem/l1_icache2_preload_ctrl.rs +++ b/esp32c6/src/extmem/l1_icache2_preload_ctrl.rs @@ -48,7 +48,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable preload operation on L1-ICache2. It will be cleared by hardware automatically after preload operation is done."] #[inline(always)] - #[must_use] pub fn l1_icache2_preload_ena( &mut self, ) -> L1_ICACHE2_PRELOAD_ENA_W { diff --git a/esp32c6/src/extmem/l1_icache3_preload_ctrl.rs b/esp32c6/src/extmem/l1_icache3_preload_ctrl.rs index 7a24e603bd..8eae892d01 100644 --- a/esp32c6/src/extmem/l1_icache3_preload_ctrl.rs +++ b/esp32c6/src/extmem/l1_icache3_preload_ctrl.rs @@ -48,7 +48,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable preload operation on L1-ICache3. It will be cleared by hardware automatically after preload operation is done."] #[inline(always)] - #[must_use] pub fn l1_icache3_preload_ena( &mut self, ) -> L1_ICACHE3_PRELOAD_ENA_W { diff --git a/esp32c6/src/extmem/l1_unallocate_buffer_clear.rs b/esp32c6/src/extmem/l1_unallocate_buffer_clear.rs index aa86826752..d3192ab65e 100644 --- a/esp32c6/src/extmem/l1_unallocate_buffer_clear.rs +++ b/esp32c6/src/extmem/l1_unallocate_buffer_clear.rs @@ -56,7 +56,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 4 - The bit is used to clear the unallocate request buffer of l1 cache where the unallocate request is responsed but not completed."] #[inline(always)] - #[must_use] pub fn l1_cache_unalloc_clr( &mut self, ) -> L1_CACHE_UNALLOC_CLR_W { diff --git a/esp32c6/src/extmem/l2_cache_acs_cnt_int_raw.rs b/esp32c6/src/extmem/l2_cache_acs_cnt_int_raw.rs index b5315e7708..7d095a3fd0 100644 --- a/esp32c6/src/extmem/l2_cache_acs_cnt_int_raw.rs +++ b/esp32c6/src/extmem/l2_cache_acs_cnt_int_raw.rs @@ -94,7 +94,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 8 - The raw bit of the interrupt of one of counters overflow that occurs in L2-Cache due to bus0 accesses L2-ICache0."] #[inline(always)] - #[must_use] pub fn l2_ibus0_ovf_int_raw( &mut self, ) -> L2_IBUS0_OVF_INT_RAW_W { @@ -102,7 +101,6 @@ impl W { } #[doc = "Bit 9 - The raw bit of the interrupt of one of counters overflow that occurs in L2-Cache due to bus1 accesses L2-ICache1."] #[inline(always)] - #[must_use] pub fn l2_ibus1_ovf_int_raw( &mut self, ) -> L2_IBUS1_OVF_INT_RAW_W { @@ -110,7 +108,6 @@ impl W { } #[doc = "Bit 10 - The raw bit of the interrupt of one of counters overflow that occurs in L2-Cache due to bus2 accesses L2-ICache2."] #[inline(always)] - #[must_use] pub fn l2_ibus2_ovf_int_raw( &mut self, ) -> L2_IBUS2_OVF_INT_RAW_W { @@ -118,7 +115,6 @@ impl W { } #[doc = "Bit 11 - The raw bit of the interrupt of one of counters overflow that occurs in L2-Cache due to bus3 accesses L2-ICache3."] #[inline(always)] - #[must_use] pub fn l2_ibus3_ovf_int_raw( &mut self, ) -> L2_IBUS3_OVF_INT_RAW_W { @@ -126,7 +122,6 @@ impl W { } #[doc = "Bit 12 - The raw bit of the interrupt of one of counters overflow that occurs in L2-Cache due to bus0 accesses L2-DCache."] #[inline(always)] - #[must_use] pub fn l2_dbus0_ovf_int_raw( &mut self, ) -> L2_DBUS0_OVF_INT_RAW_W { @@ -134,7 +129,6 @@ impl W { } #[doc = "Bit 13 - The raw bit of the interrupt of one of counters overflow that occurs in L2-Cache due to bus1 accesses L2-DCache."] #[inline(always)] - #[must_use] pub fn l2_dbus1_ovf_int_raw( &mut self, ) -> L2_DBUS1_OVF_INT_RAW_W { @@ -142,7 +136,6 @@ impl W { } #[doc = "Bit 14 - The raw bit of the interrupt of one of counters overflow that occurs in L2-Cache due to bus2 accesses L2-DCache."] #[inline(always)] - #[must_use] pub fn l2_dbus2_ovf_int_raw( &mut self, ) -> L2_DBUS2_OVF_INT_RAW_W { @@ -150,7 +143,6 @@ impl W { } #[doc = "Bit 15 - The raw bit of the interrupt of one of counters overflow that occurs in L2-Cache due to bus3 accesses L2-DCache."] #[inline(always)] - #[must_use] pub fn l2_dbus3_ovf_int_raw( &mut self, ) -> L2_DBUS3_OVF_INT_RAW_W { diff --git a/esp32c6/src/extmem/l2_cache_acs_fail_int_raw.rs b/esp32c6/src/extmem/l2_cache_acs_fail_int_raw.rs index c517cf681a..aa5cb99bb5 100644 --- a/esp32c6/src/extmem/l2_cache_acs_fail_int_raw.rs +++ b/esp32c6/src/extmem/l2_cache_acs_fail_int_raw.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 5 - The raw bit of the interrupt of access fail that occurs in L2-Cache."] #[inline(always)] - #[must_use] pub fn l2_cache_fail_int_raw( &mut self, ) -> L2_CACHE_FAIL_INT_RAW_W { diff --git a/esp32c6/src/extmem/l2_cache_preload_ctrl.rs b/esp32c6/src/extmem/l2_cache_preload_ctrl.rs index e66b70825b..0a4224ae5f 100644 --- a/esp32c6/src/extmem/l2_cache_preload_ctrl.rs +++ b/esp32c6/src/extmem/l2_cache_preload_ctrl.rs @@ -48,7 +48,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable preload operation on L2-Cache. It will be cleared by hardware automatically after preload operation is done."] #[inline(always)] - #[must_use] pub fn l2_cache_preload_ena(&mut self) -> L2_CACHE_PRELOAD_ENA_W { L2_CACHE_PRELOAD_ENA_W::new(self, 0) } diff --git a/esp32c6/src/extmem/l2_cache_sync_preload_int_raw.rs b/esp32c6/src/extmem/l2_cache_sync_preload_int_raw.rs index 7dc6ddc2cc..eb5ac82466 100644 --- a/esp32c6/src/extmem/l2_cache_sync_preload_int_raw.rs +++ b/esp32c6/src/extmem/l2_cache_sync_preload_int_raw.rs @@ -37,7 +37,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 5 - The raw bit of the interrupt that occurs only when L2-Cache preload-operation is done."] #[inline(always)] - #[must_use] pub fn l2_cache_pld_done_int_raw( &mut self, ) -> L2_CACHE_PLD_DONE_INT_RAW_W { @@ -45,7 +44,6 @@ impl W { } #[doc = "Bit 12 - The raw bit of the interrupt that occurs only when L2-Cache preload-operation error occurs."] #[inline(always)] - #[must_use] pub fn l2_cache_pld_err_int_raw( &mut self, ) -> L2_CACHE_PLD_ERR_INT_RAW_W { diff --git a/esp32c6/src/extmem/redundancy_sig0.rs b/esp32c6/src/extmem/redundancy_sig0.rs index db20a1ac5d..29a62ce6a3 100644 --- a/esp32c6/src/extmem/redundancy_sig0.rs +++ b/esp32c6/src/extmem/redundancy_sig0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are prepared for ECO."] #[inline(always)] - #[must_use] pub fn cache_redcy_sig0(&mut self) -> CACHE_REDCY_SIG0_W { CACHE_REDCY_SIG0_W::new(self, 0) } diff --git a/esp32c6/src/extmem/redundancy_sig1.rs b/esp32c6/src/extmem/redundancy_sig1.rs index 5e5eab89dd..00ed42753e 100644 --- a/esp32c6/src/extmem/redundancy_sig1.rs +++ b/esp32c6/src/extmem/redundancy_sig1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are prepared for ECO."] #[inline(always)] - #[must_use] pub fn cache_redcy_sig1(&mut self) -> CACHE_REDCY_SIG1_W { CACHE_REDCY_SIG1_W::new(self, 0) } diff --git a/esp32c6/src/extmem/redundancy_sig2.rs b/esp32c6/src/extmem/redundancy_sig2.rs index 7e5f31cac6..9c392e75de 100644 --- a/esp32c6/src/extmem/redundancy_sig2.rs +++ b/esp32c6/src/extmem/redundancy_sig2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are prepared for ECO."] #[inline(always)] - #[must_use] pub fn cache_redcy_sig2(&mut self) -> CACHE_REDCY_SIG2_W { CACHE_REDCY_SIG2_W::new(self, 0) } diff --git a/esp32c6/src/extmem/redundancy_sig3.rs b/esp32c6/src/extmem/redundancy_sig3.rs index 07f5235093..9264958e49 100644 --- a/esp32c6/src/extmem/redundancy_sig3.rs +++ b/esp32c6/src/extmem/redundancy_sig3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are prepared for ECO."] #[inline(always)] - #[must_use] pub fn cache_redcy_sig3(&mut self) -> CACHE_REDCY_SIG3_W { CACHE_REDCY_SIG3_W::new(self, 0) } diff --git a/esp32c6/src/generic.rs b/esp32c6/src/generic.rs index d57106cb27..a7cb020aef 100644 --- a/esp32c6/src/generic.rs +++ b/esp32c6/src/generic.rs @@ -524,18 +524,60 @@ impl Reg { #[doc = " ```"] #[doc = " In the latter case, other fields will be set to their reset value."] #[inline(always)] - pub fn write(&self, f: F) + pub fn write(&self, f: F) -> REG::Ux where F: FnOnce(&mut W) -> &mut W, { - self.register.set( - f(&mut W { - bits: REG::RESET_VALUE & !REG::ONE_TO_MODIFY_FIELDS_BITMAP - | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, - _reg: marker::PhantomData, - }) - .bits, - ); + let value = f(&mut W { + bits: REG::RESET_VALUE & !REG::ONE_TO_MODIFY_FIELDS_BITMAP + | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }) + .bits; + self.register.set(value); + value + } + #[doc = " Writes bits to a `Writable` register and produce a value."] + #[doc = ""] + #[doc = " You can write raw bits into a register:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.write_and(|w| unsafe { w.bits(rawbits); });"] + #[doc = " ```"] + #[doc = " or write only the fields you need:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.write_and(|w| {"] + #[doc = " w.field1().bits(newfield1bits)"] + #[doc = " .field2().set_bit()"] + #[doc = " .field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " or an alternative way of saying the same:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.write_and(|w| {"] + #[doc = " w.field1().bits(newfield1bits);"] + #[doc = " w.field2().set_bit();"] + #[doc = " w.field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " In the latter case, other fields will be set to their reset value."] + #[doc = ""] + #[doc = " Values can be returned from the closure:"] + #[doc = " ```ignore"] + #[doc = " let state = periph.reg.write_and(|w| State::set(w.field1()));"] + #[doc = " ```"] + #[inline(always)] + pub fn from_write(&self, f: F) -> T + where + F: FnOnce(&mut W) -> T, + { + let mut writer = W { + bits: REG::RESET_VALUE & !REG::ONE_TO_MODIFY_FIELDS_BITMAP + | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }; + let result = f(&mut writer); + self.register.set(writer.bits); + result } } impl Reg { @@ -547,17 +589,37 @@ impl Reg { #[doc = ""] #[doc = " Unsafe to use with registers which don't allow to write 0."] #[inline(always)] - pub unsafe fn write_with_zero(&self, f: F) + pub unsafe fn write_with_zero(&self, f: F) -> REG::Ux where F: FnOnce(&mut W) -> &mut W, { - self.register.set( - f(&mut W { - bits: REG::Ux::default(), - _reg: marker::PhantomData, - }) - .bits, - ); + let value = f(&mut W { + bits: REG::Ux::default(), + _reg: marker::PhantomData, + }) + .bits; + self.register.set(value); + value + } + #[doc = " Writes 0 to a `Writable` register and produces a value."] + #[doc = ""] + #[doc = " Similar to `write`, but unused bits will contain 0."] + #[doc = ""] + #[doc = " # Safety"] + #[doc = ""] + #[doc = " Unsafe to use with registers which don't allow to write 0."] + #[inline(always)] + pub unsafe fn from_write_with_zero(&self, f: F) -> T + where + F: FnOnce(&mut W) -> T, + { + let mut writer = W { + bits: REG::Ux::default(), + _reg: marker::PhantomData, + }; + let result = f(&mut writer); + self.register.set(writer.bits); + result } } impl Reg { @@ -587,25 +649,75 @@ impl Reg { #[doc = " ```"] #[doc = " Other fields will have the value they had before the call to `modify`."] #[inline(always)] - pub fn modify(&self, f: F) + pub fn modify(&self, f: F) -> REG::Ux where for<'w> F: FnOnce(&R, &'w mut W) -> &'w mut W, { let bits = self.register.get(); - self.register.set( - f( - &R { - bits, - _reg: marker::PhantomData, - }, - &mut W { - bits: bits & !REG::ONE_TO_MODIFY_FIELDS_BITMAP - | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, - _reg: marker::PhantomData, - }, - ) - .bits, + let value = f( + &R { + bits, + _reg: marker::PhantomData, + }, + &mut W { + bits: bits & !REG::ONE_TO_MODIFY_FIELDS_BITMAP | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }, + ) + .bits; + self.register.set(value); + value + } + #[doc = " Modifies the contents of the register by reading and then writing it"] + #[doc = " and produces a value."] + #[doc = ""] + #[doc = " E.g. to do a read-modify-write sequence to change parts of a register:"] + #[doc = " ```ignore"] + #[doc = " let bits = periph.reg.modify(|r, w| {"] + #[doc = " let new_bits = r.bits() | 3;"] + #[doc = " unsafe {"] + #[doc = " w.bits(new_bits);"] + #[doc = " }"] + #[doc = ""] + #[doc = " new_bits"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " or"] + #[doc = " ```ignore"] + #[doc = " periph.reg.modify(|_, w| {"] + #[doc = " w.field1().bits(newfield1bits)"] + #[doc = " .field2().set_bit()"] + #[doc = " .field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " or an alternative way of saying the same:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.modify(|_, w| {"] + #[doc = " w.field1().bits(newfield1bits);"] + #[doc = " w.field2().set_bit();"] + #[doc = " w.field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " Other fields will have the value they had before the call to `modify`."] + #[inline(always)] + pub fn from_modify(&self, f: F) -> T + where + for<'w> F: FnOnce(&R, &'w mut W) -> T, + { + let bits = self.register.get(); + let mut writer = W { + bits: bits & !REG::ONE_TO_MODIFY_FIELDS_BITMAP | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }; + let result = f( + &R { + bits, + _reg: marker::PhantomData, + }, + &mut writer, ); + self.register.set(writer.bits); + result } } impl core::fmt::Debug for crate::generic::Reg diff --git a/esp32c6/src/generic/raw.rs b/esp32c6/src/generic/raw.rs index 81f5779524..d60a23a7cc 100644 --- a/esp32c6/src/generic/raw.rs +++ b/esp32c6/src/generic/raw.rs @@ -41,6 +41,7 @@ impl BitReader { } } } +#[must_use = "after creating `FieldWriter` you need to call field value setting method"] pub struct FieldWriter<'a, REG, const WI: u8, FI = u8, Safety = Unsafe> where REG: Writable + RegisterSpec, @@ -66,6 +67,7 @@ where } } } +#[must_use = "after creating `BitWriter` you need to call bit setting method"] pub struct BitWriter<'a, REG, FI = bool, M = BitM> where REG: Writable + RegisterSpec, diff --git a/esp32c6/src/gpio/bt_select.rs b/esp32c6/src/gpio/bt_select.rs index d7b1c5cbd7..1207e6041d 100644 --- a/esp32c6/src/gpio/bt_select.rs +++ b/esp32c6/src/gpio/bt_select.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - GPIO bit select register"] #[inline(always)] - #[must_use] pub fn bt_sel(&mut self) -> BT_SEL_W { BT_SEL_W::new(self, 0) } diff --git a/esp32c6/src/gpio/clock_gate.rs b/esp32c6/src/gpio/clock_gate.rs index dc08365f35..fcb38c1911 100644 --- a/esp32c6/src/gpio/clock_gate.rs +++ b/esp32c6/src/gpio/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - set this bit to enable GPIO clock gate"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32c6/src/gpio/date.rs b/esp32c6/src/gpio/date.rs index 2d58f619bc..a41ac8dbc6 100644 --- a/esp32c6/src/gpio/date.rs +++ b/esp32c6/src/gpio/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - version register"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/gpio/enable.rs b/esp32c6/src/gpio/enable.rs index f88ac51742..ec0fef1ced 100644 --- a/esp32c6/src/gpio/enable.rs +++ b/esp32c6/src/gpio/enable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - GPIO output enable register for GPIO0-31"] #[inline(always)] - #[must_use] pub fn data(&mut self) -> DATA_W { DATA_W::new(self, 0) } diff --git a/esp32c6/src/gpio/enable1.rs b/esp32c6/src/gpio/enable1.rs index 1c85f4f48f..e75265eecd 100644 --- a/esp32c6/src/gpio/enable1.rs +++ b/esp32c6/src/gpio/enable1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - GPIO output enable register for GPIO32-34"] #[inline(always)] - #[must_use] pub fn data(&mut self) -> DATA_W { DATA_W::new(self, 0) } diff --git a/esp32c6/src/gpio/enable1_w1tc.rs b/esp32c6/src/gpio/enable1_w1tc.rs index b36986fad9..a7e9d24c20 100644 --- a/esp32c6/src/gpio/enable1_w1tc.rs +++ b/esp32c6/src/gpio/enable1_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:2 - GPIO output enable clear register for GPIO32-34"] #[inline(always)] - #[must_use] pub fn enable1_w1tc(&mut self) -> ENABLE1_W1TC_W { ENABLE1_W1TC_W::new(self, 0) } diff --git a/esp32c6/src/gpio/enable1_w1ts.rs b/esp32c6/src/gpio/enable1_w1ts.rs index 5b5e8d483f..bbb09e0c42 100644 --- a/esp32c6/src/gpio/enable1_w1ts.rs +++ b/esp32c6/src/gpio/enable1_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:2 - GPIO output enable set register for GPIO32-34"] #[inline(always)] - #[must_use] pub fn enable1_w1ts(&mut self) -> ENABLE1_W1TS_W { ENABLE1_W1TS_W::new(self, 0) } diff --git a/esp32c6/src/gpio/enable_w1tc.rs b/esp32c6/src/gpio/enable_w1tc.rs index 2430ef3d46..2b4f6b45f4 100644 --- a/esp32c6/src/gpio/enable_w1tc.rs +++ b/esp32c6/src/gpio/enable_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - GPIO output enable clear register for GPIO0-31"] #[inline(always)] - #[must_use] pub fn enable_w1tc(&mut self) -> ENABLE_W1TC_W { ENABLE_W1TC_W::new(self, 0) } diff --git a/esp32c6/src/gpio/enable_w1ts.rs b/esp32c6/src/gpio/enable_w1ts.rs index 6078292c22..b282747b2c 100644 --- a/esp32c6/src/gpio/enable_w1ts.rs +++ b/esp32c6/src/gpio/enable_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - GPIO output enable set register for GPIO0-31"] #[inline(always)] - #[must_use] pub fn enable_w1ts(&mut self) -> ENABLE_W1TS_W { ENABLE_W1TS_W::new(self, 0) } diff --git a/esp32c6/src/gpio/func_in_sel_cfg.rs b/esp32c6/src/gpio/func_in_sel_cfg.rs index 065f3aed4a..4fe671a2db 100644 --- a/esp32c6/src/gpio/func_in_sel_cfg.rs +++ b/esp32c6/src/gpio/func_in_sel_cfg.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - set this value: s=0-34: connect GPIO\\[s\\] to this port. s=0x38: set this port always high level. s=0x3C: set this port always low level."] #[inline(always)] - #[must_use] pub fn in_sel(&mut self) -> IN_SEL_W { IN_SEL_W::new(self, 0) } #[doc = "Bit 6 - set this bit to invert input signal. 1:invert. 0:not invert."] #[inline(always)] - #[must_use] pub fn in_inv_sel(&mut self) -> IN_INV_SEL_W { IN_INV_SEL_W::new(self, 6) } #[doc = "Bit 7 - set this bit to bypass GPIO. 1:do not bypass GPIO. 0:bypass GPIO."] #[inline(always)] - #[must_use] pub fn sel(&mut self) -> SEL_W { SEL_W::new(self, 7) } diff --git a/esp32c6/src/gpio/func_out_sel_cfg.rs b/esp32c6/src/gpio/func_out_sel_cfg.rs index 963ab1311e..f11f1ba5ec 100644 --- a/esp32c6/src/gpio/func_out_sel_cfg.rs +++ b/esp32c6/src/gpio/func_out_sel_cfg.rs @@ -2,9 +2,9 @@ pub type R = crate::R; #[doc = "Register `FUNC%s_OUT_SEL_CFG` writer"] pub type W = crate::W; -#[doc = "Field `OUT_SEL` reader - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-127: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=128: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] +#[doc = "Field `OUT_SEL` reader - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-127: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=128: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] pub type OUT_SEL_R = crate::FieldReader; -#[doc = "Field `OUT_SEL` writer - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-127: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=128: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] +#[doc = "Field `OUT_SEL` writer - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-127: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=128: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] pub type OUT_SEL_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; #[doc = "Field `INV_SEL` reader - set this bit to invert output signal.1:invert.0:not invert."] pub type INV_SEL_R = crate::BitReader; @@ -19,7 +19,7 @@ pub type OEN_INV_SEL_R = crate::BitReader; #[doc = "Field `OEN_INV_SEL` writer - set this bit to invert output enable signal.1:invert.0:not invert."] pub type OEN_INV_SEL_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { - #[doc = "Bits 0:7 - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-127: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=128: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] + #[doc = "Bits 0:7 - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-127: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=128: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] #[inline(always)] pub fn out_sel(&self) -> OUT_SEL_R { OUT_SEL_R::new((self.bits & 0xff) as u8) @@ -52,27 +52,23 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bits 0:7 - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-127: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=128: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] + #[doc = "Bits 0:7 - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-127: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=128: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] #[inline(always)] - #[must_use] pub fn out_sel(&mut self) -> OUT_SEL_W { OUT_SEL_W::new(self, 0) } #[doc = "Bit 8 - set this bit to invert output signal.1:invert.0:not invert."] #[inline(always)] - #[must_use] pub fn inv_sel(&mut self) -> INV_SEL_W { INV_SEL_W::new(self, 8) } #[doc = "Bit 9 - set this bit to select output enable signal.1:use GPIO_ENABLE_REG\\[n\\] as output enable signal.0:use peripheral output enable signal."] #[inline(always)] - #[must_use] pub fn oen_sel(&mut self) -> OEN_SEL_W { OEN_SEL_W::new(self, 9) } #[doc = "Bit 10 - set this bit to invert output enable signal.1:invert.0:not invert."] #[inline(always)] - #[must_use] pub fn oen_inv_sel(&mut self) -> OEN_INV_SEL_W { OEN_INV_SEL_W::new(self, 10) } diff --git a/esp32c6/src/gpio/out.rs b/esp32c6/src/gpio/out.rs index 4e8b7d0b21..f52f2a8c9e 100644 --- a/esp32c6/src/gpio/out.rs +++ b/esp32c6/src/gpio/out.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - GPIO output register for GPIO0-31"] #[inline(always)] - #[must_use] pub fn data_orig(&mut self) -> DATA_ORIG_W { DATA_ORIG_W::new(self, 0) } diff --git a/esp32c6/src/gpio/out1.rs b/esp32c6/src/gpio/out1.rs index 7d33f7f242..f751ca06d2 100644 --- a/esp32c6/src/gpio/out1.rs +++ b/esp32c6/src/gpio/out1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - GPIO output register for GPIO32-34"] #[inline(always)] - #[must_use] pub fn data_orig(&mut self) -> DATA_ORIG_W { DATA_ORIG_W::new(self, 0) } diff --git a/esp32c6/src/gpio/out1_w1tc.rs b/esp32c6/src/gpio/out1_w1tc.rs index 0c97922ed3..5514cd9860 100644 --- a/esp32c6/src/gpio/out1_w1tc.rs +++ b/esp32c6/src/gpio/out1_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:2 - GPIO output clear register for GPIO32-34"] #[inline(always)] - #[must_use] pub fn out1_w1tc(&mut self) -> OUT1_W1TC_W { OUT1_W1TC_W::new(self, 0) } diff --git a/esp32c6/src/gpio/out1_w1ts.rs b/esp32c6/src/gpio/out1_w1ts.rs index 4e2d10c10e..3997074950 100644 --- a/esp32c6/src/gpio/out1_w1ts.rs +++ b/esp32c6/src/gpio/out1_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:2 - GPIO output set register for GPIO32-34"] #[inline(always)] - #[must_use] pub fn out1_w1ts(&mut self) -> OUT1_W1TS_W { OUT1_W1TS_W::new(self, 0) } diff --git a/esp32c6/src/gpio/out_w1tc.rs b/esp32c6/src/gpio/out_w1tc.rs index a0260c53ec..a4a932319a 100644 --- a/esp32c6/src/gpio/out_w1tc.rs +++ b/esp32c6/src/gpio/out_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - GPIO output clear register for GPIO0-31"] #[inline(always)] - #[must_use] pub fn out_w1tc(&mut self) -> OUT_W1TC_W { OUT_W1TC_W::new(self, 0) } diff --git a/esp32c6/src/gpio/out_w1ts.rs b/esp32c6/src/gpio/out_w1ts.rs index 70c7af6b7e..33b86ce3b3 100644 --- a/esp32c6/src/gpio/out_w1ts.rs +++ b/esp32c6/src/gpio/out_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - GPIO output set register for GPIO0-31"] #[inline(always)] - #[must_use] pub fn out_w1ts(&mut self) -> OUT_W1TS_W { OUT_W1TS_W::new(self, 0) } diff --git a/esp32c6/src/gpio/pin.rs b/esp32c6/src/gpio/pin.rs index 28a30e66af..5bad7dea08 100644 --- a/esp32c6/src/gpio/pin.rs +++ b/esp32c6/src/gpio/pin.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - set GPIO input_sync2 signal mode. 0:disable. 1:trigger at negedge. 2or3:trigger at posedge."] #[inline(always)] - #[must_use] pub fn sync2_bypass(&mut self) -> SYNC2_BYPASS_W { SYNC2_BYPASS_W::new(self, 0) } #[doc = "Bit 2 - set this bit to select pad driver. 1:open-drain. 0:normal."] #[inline(always)] - #[must_use] pub fn pad_driver(&mut self) -> PAD_DRIVER_W { PAD_DRIVER_W::new(self, 2) } #[doc = "Bits 3:4 - set GPIO input_sync1 signal mode. 0:disable. 1:trigger at negedge. 2or3:trigger at posedge."] #[inline(always)] - #[must_use] pub fn sync1_bypass(&mut self) -> SYNC1_BYPASS_W { SYNC1_BYPASS_W::new(self, 3) } #[doc = "Bits 7:9 - set this value to choose interrupt mode. 0:disable GPIO interrupt. 1:trigger at posedge. 2:trigger at negedge. 3:trigger at any edge. 4:valid at low level. 5:valid at high level"] #[inline(always)] - #[must_use] pub fn int_type(&mut self) -> INT_TYPE_W { INT_TYPE_W::new(self, 7) } #[doc = "Bit 10 - set this bit to enable GPIO wakeup.(can only wakeup CPU from Light-sleep Mode)"] #[inline(always)] - #[must_use] pub fn wakeup_enable(&mut self) -> WAKEUP_ENABLE_W { WAKEUP_ENABLE_W::new(self, 10) } #[doc = "Bits 11:12 - reserved"] #[inline(always)] - #[must_use] pub fn config(&mut self) -> CONFIG_W { CONFIG_W::new(self, 11) } #[doc = "Bits 13:17 - set bit 13 to enable CPU interrupt. set bit 14 to enable CPU(not shielded) interrupt."] #[inline(always)] - #[must_use] pub fn int_ena(&mut self) -> INT_ENA_W { INT_ENA_W::new(self, 13) } diff --git a/esp32c6/src/gpio/sdio_select.rs b/esp32c6/src/gpio/sdio_select.rs index 4099035e5f..20bb242683 100644 --- a/esp32c6/src/gpio/sdio_select.rs +++ b/esp32c6/src/gpio/sdio_select.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - GPIO sdio select register"] #[inline(always)] - #[must_use] pub fn sdio_sel(&mut self) -> SDIO_SEL_W { SDIO_SEL_W::new(self, 0) } diff --git a/esp32c6/src/gpio/status.rs b/esp32c6/src/gpio/status.rs index c98aa95035..d09aa5f9bd 100644 --- a/esp32c6/src/gpio/status.rs +++ b/esp32c6/src/gpio/status.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - GPIO interrupt status register for GPIO0-31"] #[inline(always)] - #[must_use] pub fn interrupt(&mut self) -> INTERRUPT_W { INTERRUPT_W::new(self, 0) } diff --git a/esp32c6/src/gpio/status1.rs b/esp32c6/src/gpio/status1.rs index b24d090023..35011c5190 100644 --- a/esp32c6/src/gpio/status1.rs +++ b/esp32c6/src/gpio/status1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - GPIO interrupt status register for GPIO32-34"] #[inline(always)] - #[must_use] pub fn interrupt(&mut self) -> INTERRUPT_W { INTERRUPT_W::new(self, 0) } diff --git a/esp32c6/src/gpio/status1_w1tc.rs b/esp32c6/src/gpio/status1_w1tc.rs index f5c43ec3c4..b4ecda251e 100644 --- a/esp32c6/src/gpio/status1_w1tc.rs +++ b/esp32c6/src/gpio/status1_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:2 - GPIO interrupt status clear register for GPIO32-34"] #[inline(always)] - #[must_use] pub fn status1_w1tc(&mut self) -> STATUS1_W1TC_W { STATUS1_W1TC_W::new(self, 0) } diff --git a/esp32c6/src/gpio/status1_w1ts.rs b/esp32c6/src/gpio/status1_w1ts.rs index 7fde451583..ca059660ce 100644 --- a/esp32c6/src/gpio/status1_w1ts.rs +++ b/esp32c6/src/gpio/status1_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:2 - GPIO interrupt status set register for GPIO32-34"] #[inline(always)] - #[must_use] pub fn status1_w1ts(&mut self) -> STATUS1_W1TS_W { STATUS1_W1TS_W::new(self, 0) } diff --git a/esp32c6/src/gpio/status_w1tc.rs b/esp32c6/src/gpio/status_w1tc.rs index 823616fd36..2d8a58ef2a 100644 --- a/esp32c6/src/gpio/status_w1tc.rs +++ b/esp32c6/src/gpio/status_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - GPIO interrupt status clear register for GPIO0-31"] #[inline(always)] - #[must_use] pub fn status_w1tc(&mut self) -> STATUS_W1TC_W { STATUS_W1TC_W::new(self, 0) } diff --git a/esp32c6/src/gpio/status_w1ts.rs b/esp32c6/src/gpio/status_w1ts.rs index 0baee1a8e9..b915c312f0 100644 --- a/esp32c6/src/gpio/status_w1ts.rs +++ b/esp32c6/src/gpio/status_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - GPIO interrupt status set register for GPIO0-31"] #[inline(always)] - #[must_use] pub fn status_w1ts(&mut self) -> STATUS_W1TS_W { STATUS_W1TS_W::new(self, 0) } diff --git a/esp32c6/src/gpio_sd/clock_gate.rs b/esp32c6/src/gpio_sd/clock_gate.rs index aaa6927490..7758e66de3 100644 --- a/esp32c6/src/gpio_sd/clock_gate.rs +++ b/esp32c6/src/gpio_sd/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Clock enable bit of configuration registers for sigma delta modulation."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32c6/src/gpio_sd/etm_event_ch_cfg.rs b/esp32c6/src/gpio_sd/etm_event_ch_cfg.rs index 30cc14bcb1..7f4cdb0c0d 100644 --- a/esp32c6/src/gpio_sd/etm_event_ch_cfg.rs +++ b/esp32c6/src/gpio_sd/etm_event_ch_cfg.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Etm event channel select gpio."] #[inline(always)] - #[must_use] pub fn event_sel(&mut self) -> EVENT_SEL_W { EVENT_SEL_W::new(self, 0) } #[doc = "Bit 7 - Etm event send enable bit."] #[inline(always)] - #[must_use] pub fn event_en(&mut self) -> EVENT_EN_W { EVENT_EN_W::new(self, 7) } diff --git a/esp32c6/src/gpio_sd/etm_task_p0_cfg.rs b/esp32c6/src/gpio_sd/etm_task_p0_cfg.rs index de37513f25..832e4cf106 100644 --- a/esp32c6/src/gpio_sd/etm_task_p0_cfg.rs +++ b/esp32c6/src/gpio_sd/etm_task_p0_cfg.rs @@ -102,7 +102,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO0_EN` field.
"] #[inline(always)] - #[must_use] pub fn gpio_en(&mut self, n: u8) -> GPIO_EN_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -110,25 +109,21 @@ impl W { } #[doc = "Bit 0 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio0_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 0) } #[doc = "Bit 8 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio1_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 8) } #[doc = "Bit 16 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio2_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 16) } #[doc = "Bit 24 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio3_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 24) } @@ -136,7 +131,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO0_SEL` field.
"] #[inline(always)] - #[must_use] pub fn gpio_sel(&mut self, n: u8) -> GPIO_SEL_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -144,25 +138,21 @@ impl W { } #[doc = "Bits 1:3 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio0_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 1) } #[doc = "Bits 9:11 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio1_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 9) } #[doc = "Bits 17:19 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio2_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 17) } #[doc = "Bits 25:27 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio3_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 25) } diff --git a/esp32c6/src/gpio_sd/etm_task_p1_cfg.rs b/esp32c6/src/gpio_sd/etm_task_p1_cfg.rs index d177264fab..14016c50b3 100644 --- a/esp32c6/src/gpio_sd/etm_task_p1_cfg.rs +++ b/esp32c6/src/gpio_sd/etm_task_p1_cfg.rs @@ -102,7 +102,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO4_EN` field.
"] #[inline(always)] - #[must_use] pub fn gpio_en(&mut self, n: u8) -> GPIO_EN_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -110,25 +109,21 @@ impl W { } #[doc = "Bit 0 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio4_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 0) } #[doc = "Bit 8 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio5_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 8) } #[doc = "Bit 16 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio6_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 16) } #[doc = "Bit 24 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio7_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 24) } @@ -136,7 +131,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO4_SEL` field.
"] #[inline(always)] - #[must_use] pub fn gpio_sel(&mut self, n: u8) -> GPIO_SEL_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -144,25 +138,21 @@ impl W { } #[doc = "Bits 1:3 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio4_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 1) } #[doc = "Bits 9:11 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio5_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 9) } #[doc = "Bits 17:19 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio6_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 17) } #[doc = "Bits 25:27 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio7_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 25) } diff --git a/esp32c6/src/gpio_sd/etm_task_p2_cfg.rs b/esp32c6/src/gpio_sd/etm_task_p2_cfg.rs index 2bc342032a..469f46bb00 100644 --- a/esp32c6/src/gpio_sd/etm_task_p2_cfg.rs +++ b/esp32c6/src/gpio_sd/etm_task_p2_cfg.rs @@ -102,7 +102,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO8_EN` field.
"] #[inline(always)] - #[must_use] pub fn gpio_en(&mut self, n: u8) -> GPIO_EN_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -110,25 +109,21 @@ impl W { } #[doc = "Bit 0 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio8_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 0) } #[doc = "Bit 8 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio9_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 8) } #[doc = "Bit 16 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio10_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 16) } #[doc = "Bit 24 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio11_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 24) } @@ -136,7 +131,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO8_SEL` field.
"] #[inline(always)] - #[must_use] pub fn gpio_sel(&mut self, n: u8) -> GPIO_SEL_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -144,25 +138,21 @@ impl W { } #[doc = "Bits 1:3 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio8_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 1) } #[doc = "Bits 9:11 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio9_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 9) } #[doc = "Bits 17:19 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio10_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 17) } #[doc = "Bits 25:27 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio11_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 25) } diff --git a/esp32c6/src/gpio_sd/etm_task_p3_cfg.rs b/esp32c6/src/gpio_sd/etm_task_p3_cfg.rs index aac55706ec..61c445d382 100644 --- a/esp32c6/src/gpio_sd/etm_task_p3_cfg.rs +++ b/esp32c6/src/gpio_sd/etm_task_p3_cfg.rs @@ -102,7 +102,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO12_EN` field.
"] #[inline(always)] - #[must_use] pub fn gpio_en(&mut self, n: u8) -> GPIO_EN_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -110,25 +109,21 @@ impl W { } #[doc = "Bit 0 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio12_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 0) } #[doc = "Bit 8 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio13_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 8) } #[doc = "Bit 16 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio14_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 16) } #[doc = "Bit 24 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio15_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 24) } @@ -136,7 +131,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO12_SEL` field.
"] #[inline(always)] - #[must_use] pub fn gpio_sel(&mut self, n: u8) -> GPIO_SEL_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -144,25 +138,21 @@ impl W { } #[doc = "Bits 1:3 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio12_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 1) } #[doc = "Bits 9:11 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio13_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 9) } #[doc = "Bits 17:19 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio14_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 17) } #[doc = "Bits 25:27 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio15_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 25) } diff --git a/esp32c6/src/gpio_sd/etm_task_p4_cfg.rs b/esp32c6/src/gpio_sd/etm_task_p4_cfg.rs index 8e244aab08..27751a588d 100644 --- a/esp32c6/src/gpio_sd/etm_task_p4_cfg.rs +++ b/esp32c6/src/gpio_sd/etm_task_p4_cfg.rs @@ -102,7 +102,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO16_EN` field.
"] #[inline(always)] - #[must_use] pub fn gpio_en(&mut self, n: u8) -> GPIO_EN_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -110,25 +109,21 @@ impl W { } #[doc = "Bit 0 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio16_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 0) } #[doc = "Bit 8 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio17_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 8) } #[doc = "Bit 16 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio18_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 16) } #[doc = "Bit 24 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio19_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 24) } @@ -136,7 +131,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO16_SEL` field.
"] #[inline(always)] - #[must_use] pub fn gpio_sel(&mut self, n: u8) -> GPIO_SEL_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -144,25 +138,21 @@ impl W { } #[doc = "Bits 1:3 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio16_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 1) } #[doc = "Bits 9:11 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio17_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 9) } #[doc = "Bits 17:19 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio18_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 17) } #[doc = "Bits 25:27 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio19_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 25) } diff --git a/esp32c6/src/gpio_sd/etm_task_p5_cfg.rs b/esp32c6/src/gpio_sd/etm_task_p5_cfg.rs index 73c570073b..3b77e4703a 100644 --- a/esp32c6/src/gpio_sd/etm_task_p5_cfg.rs +++ b/esp32c6/src/gpio_sd/etm_task_p5_cfg.rs @@ -102,7 +102,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO20_EN` field.
"] #[inline(always)] - #[must_use] pub fn gpio_en(&mut self, n: u8) -> GPIO_EN_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -110,25 +109,21 @@ impl W { } #[doc = "Bit 0 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio20_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 0) } #[doc = "Bit 8 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio21_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 8) } #[doc = "Bit 16 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio22_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 16) } #[doc = "Bit 24 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio23_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 24) } @@ -136,7 +131,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO20_SEL` field.
"] #[inline(always)] - #[must_use] pub fn gpio_sel(&mut self, n: u8) -> GPIO_SEL_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -144,25 +138,21 @@ impl W { } #[doc = "Bits 1:3 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio20_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 1) } #[doc = "Bits 9:11 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio21_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 9) } #[doc = "Bits 17:19 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio22_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 17) } #[doc = "Bits 25:27 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio23_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 25) } diff --git a/esp32c6/src/gpio_sd/etm_task_p6_cfg.rs b/esp32c6/src/gpio_sd/etm_task_p6_cfg.rs index e050a011da..7feb6c77d9 100644 --- a/esp32c6/src/gpio_sd/etm_task_p6_cfg.rs +++ b/esp32c6/src/gpio_sd/etm_task_p6_cfg.rs @@ -102,7 +102,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO24_EN` field.
"] #[inline(always)] - #[must_use] pub fn gpio_en(&mut self, n: u8) -> GPIO_EN_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -110,25 +109,21 @@ impl W { } #[doc = "Bit 0 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio24_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 0) } #[doc = "Bit 8 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio25_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 8) } #[doc = "Bit 16 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio26_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 16) } #[doc = "Bit 24 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio27_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 24) } @@ -136,7 +131,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO24_SEL` field.
"] #[inline(always)] - #[must_use] pub fn gpio_sel(&mut self, n: u8) -> GPIO_SEL_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -144,25 +138,21 @@ impl W { } #[doc = "Bits 1:3 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio24_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 1) } #[doc = "Bits 9:11 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio25_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 9) } #[doc = "Bits 17:19 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio26_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 17) } #[doc = "Bits 25:27 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio27_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 25) } diff --git a/esp32c6/src/gpio_sd/etm_task_p7_cfg.rs b/esp32c6/src/gpio_sd/etm_task_p7_cfg.rs index d938132c6c..daeede3a2f 100644 --- a/esp32c6/src/gpio_sd/etm_task_p7_cfg.rs +++ b/esp32c6/src/gpio_sd/etm_task_p7_cfg.rs @@ -90,7 +90,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO28_EN` field.
"] #[inline(always)] - #[must_use] pub fn gpio_en(&mut self, n: u8) -> GPIO_EN_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -98,19 +97,16 @@ impl W { } #[doc = "Bit 0 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio28_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 0) } #[doc = "Bit 8 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio29_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 8) } #[doc = "Bit 16 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio30_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 16) } @@ -118,7 +114,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO28_SEL` field.
"] #[inline(always)] - #[must_use] pub fn gpio_sel(&mut self, n: u8) -> GPIO_SEL_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -126,19 +121,16 @@ impl W { } #[doc = "Bits 1:3 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio28_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 1) } #[doc = "Bits 9:11 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio29_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 9) } #[doc = "Bits 17:19 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio30_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 17) } diff --git a/esp32c6/src/gpio_sd/glitch_filter_ch.rs b/esp32c6/src/gpio_sd/glitch_filter_ch.rs index 379e3775cf..ef5b640bcc 100644 --- a/esp32c6/src/gpio_sd/glitch_filter_ch.rs +++ b/esp32c6/src/gpio_sd/glitch_filter_ch.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Glitch Filter channel enable bit."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 0) } #[doc = "Bits 1:6 - Glitch Filter input io number."] #[inline(always)] - #[must_use] pub fn input_io_num(&mut self) -> INPUT_IO_NUM_W { INPUT_IO_NUM_W::new(self, 1) } #[doc = "Bits 7:12 - Glitch Filter window threshold."] #[inline(always)] - #[must_use] pub fn window_thres(&mut self) -> WINDOW_THRES_W { WINDOW_THRES_W::new(self, 7) } #[doc = "Bits 13:18 - Glitch Filter window width."] #[inline(always)] - #[must_use] pub fn window_width(&mut self) -> WINDOW_WIDTH_W { WINDOW_WIDTH_W::new(self, 13) } diff --git a/esp32c6/src/gpio_sd/sigmadelta.rs b/esp32c6/src/gpio_sd/sigmadelta.rs index 38e02d27b9..aed653d231 100644 --- a/esp32c6/src/gpio_sd/sigmadelta.rs +++ b/esp32c6/src/gpio_sd/sigmadelta.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This field is used to configure the duty cycle of sigma delta modulation output."] #[inline(always)] - #[must_use] pub fn in_(&mut self) -> IN_W { IN_W::new(self, 0) } #[doc = "Bits 8:15 - This field is used to set a divider value to divide APB clock."] #[inline(always)] - #[must_use] pub fn prescale(&mut self) -> PRESCALE_W { PRESCALE_W::new(self, 8) } diff --git a/esp32c6/src/gpio_sd/sigmadelta_misc.rs b/esp32c6/src/gpio_sd/sigmadelta_misc.rs index 4ab13a96f5..3f7dca6ec7 100644 --- a/esp32c6/src/gpio_sd/sigmadelta_misc.rs +++ b/esp32c6/src/gpio_sd/sigmadelta_misc.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - Clock enable bit of sigma delta modulation."] #[inline(always)] - #[must_use] pub fn function_clk_en(&mut self) -> FUNCTION_CLK_EN_W { FUNCTION_CLK_EN_W::new(self, 30) } #[doc = "Bit 31 - Reserved."] #[inline(always)] - #[must_use] pub fn spi_swap(&mut self) -> SPI_SWAP_W { SPI_SWAP_W::new(self, 31) } diff --git a/esp32c6/src/gpio_sd/version.rs b/esp32c6/src/gpio_sd/version.rs index 1ab4a80e69..16c4ae442d 100644 --- a/esp32c6/src/gpio_sd/version.rs +++ b/esp32c6/src/gpio_sd/version.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Version control register."] #[inline(always)] - #[must_use] pub fn gpio_sd_date(&mut self) -> GPIO_SD_DATE_W { GPIO_SD_DATE_W::new(self, 0) } diff --git a/esp32c6/src/hinf/cfg_data0.rs b/esp32c6/src/hinf/cfg_data0.rs index cc0f1d3e2e..1db70e8b1c 100644 --- a/esp32c6/src/hinf/cfg_data0.rs +++ b/esp32c6/src/hinf/cfg_data0.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - configure device id of function1 in cis"] #[inline(always)] - #[must_use] pub fn device_id_fn1(&mut self) -> DEVICE_ID_FN1_W { DEVICE_ID_FN1_W::new(self, 0) } #[doc = "Bits 16:31 - configure user id of function1 in cis"] #[inline(always)] - #[must_use] pub fn user_id_fn1(&mut self) -> USER_ID_FN1_W { USER_ID_FN1_W::new(self, 16) } diff --git a/esp32c6/src/hinf/cfg_data1.rs b/esp32c6/src/hinf/cfg_data1.rs index b75296894a..63df8524ab 100644 --- a/esp32c6/src/hinf/cfg_data1.rs +++ b/esp32c6/src/hinf/cfg_data1.rs @@ -150,49 +150,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Sdio clock enable"] #[inline(always)] - #[must_use] pub fn sdio_enable(&mut self) -> SDIO_ENABLE_W { SDIO_ENABLE_W::new(self, 0) } #[doc = "Bit 1 - sdio function1 io ready signal in cis"] #[inline(always)] - #[must_use] pub fn sdio_ioready1(&mut self) -> SDIO_IOREADY1_W { SDIO_IOREADY1_W::new(self, 1) } #[doc = "Bit 2 - Highspeed enable in cccr"] #[inline(always)] - #[must_use] pub fn highspeed_enable(&mut self) -> HIGHSPEED_ENABLE_W { HIGHSPEED_ENABLE_W::new(self, 2) } #[doc = "Bit 4 - sdio card detect enable"] #[inline(always)] - #[must_use] pub fn sdio_cd_enable(&mut self) -> SDIO_CD_ENABLE_W { SDIO_CD_ENABLE_W::new(self, 4) } #[doc = "Bit 5 - sdio function1 io ready signal in cis"] #[inline(always)] - #[must_use] pub fn sdio_ioready2(&mut self) -> SDIO_IOREADY2_W { SDIO_IOREADY2_W::new(self, 5) } #[doc = "Bit 6 - mask sdio interrupt in cccr, high active"] #[inline(always)] - #[must_use] pub fn sdio_int_mask(&mut self) -> SDIO_INT_MASK_W { SDIO_INT_MASK_W::new(self, 6) } #[doc = "Bits 12:23 - sdio version in cccr"] #[inline(always)] - #[must_use] pub fn sdio_ver(&mut self) -> SDIO_VER_W { SDIO_VER_W::new(self, 12) } #[doc = "Bits 25:31 - 29\\],sdio negedge sample enablel.\\[30\\],sdio posedge sample enable.\\[31\\],sdio cmd/dat in delayed cycles control,0:no delay, 1:delay 1 cycle. \\[25\\]: sdio1.1 dat/cmd sending out edge control,1:negedge,0:posedge when highseed mode. \\[26\\]: sdio2.0 dat/cmd sending out edge control,1:negedge when \\[12\\]=0,0:negedge when \\[12\\]=0,posedge when highspeed mode enable. \\[27\\]: sdio interrupt sending out delay control,1:delay one cycle, 0: no delay. \\[28\\]: sdio data pad pull up enable"] #[inline(always)] - #[must_use] pub fn sdio20_conf(&mut self) -> SDIO20_CONF_W { SDIO20_CONF_W::new(self, 25) } diff --git a/esp32c6/src/hinf/cfg_data16.rs b/esp32c6/src/hinf/cfg_data16.rs index a306cff21b..50683a0734 100644 --- a/esp32c6/src/hinf/cfg_data16.rs +++ b/esp32c6/src/hinf/cfg_data16.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - configure device id of function2 in cis"] #[inline(always)] - #[must_use] pub fn device_id_fn2(&mut self) -> DEVICE_ID_FN2_W { DEVICE_ID_FN2_W::new(self, 0) } #[doc = "Bits 16:31 - configure user id of function2 in cis"] #[inline(always)] - #[must_use] pub fn user_id_fn2(&mut self) -> USER_ID_FN2_W { USER_ID_FN2_W::new(self, 16) } diff --git a/esp32c6/src/hinf/cfg_data7.rs b/esp32c6/src/hinf/cfg_data7.rs index 36e3b0c6b1..f738699e39 100644 --- a/esp32c6/src/hinf/cfg_data7.rs +++ b/esp32c6/src/hinf/cfg_data7.rs @@ -176,103 +176,86 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - configure cis addr 318 and 574"] #[inline(always)] - #[must_use] pub fn pin_state(&mut self) -> PIN_STATE_W { PIN_STATE_W::new(self, 0) } #[doc = "Bits 8:15 - configure cis addr 312, 315, 568 and 571"] #[inline(always)] - #[must_use] pub fn chip_state(&mut self) -> CHIP_STATE_W { CHIP_STATE_W::new(self, 8) } #[doc = "Bit 16 - soft reset control for sdio module"] #[inline(always)] - #[must_use] pub fn sdio_rst(&mut self) -> SDIO_RST_W { SDIO_RST_W::new(self, 16) } #[doc = "Bit 17 - sdio io ready, high enable"] #[inline(always)] - #[must_use] pub fn sdio_ioready0(&mut self) -> SDIO_IOREADY0_W { SDIO_IOREADY0_W::new(self, 17) } #[doc = "Bit 18 - sdio memory power down, high active"] #[inline(always)] - #[must_use] pub fn sdio_mem_pd(&mut self) -> SDIO_MEM_PD_W { SDIO_MEM_PD_W::new(self, 18) } #[doc = "Bit 19 - enable sdio interrupt on data1 line"] #[inline(always)] - #[must_use] pub fn esdio_data1_int_en(&mut self) -> ESDIO_DATA1_INT_EN_W { ESDIO_DATA1_INT_EN_W::new(self, 19) } #[doc = "Bit 20 - control switch voltage change to 1.8V by software. 0:3.3V,1:1.8V"] #[inline(always)] - #[must_use] pub fn sdio_switch_volt_sw(&mut self) -> SDIO_SWITCH_VOLT_SW_W { SDIO_SWITCH_VOLT_SW_W::new(self, 20) } #[doc = "Bit 21 - enable block length to be fixed to 512 bytes in ddr50 mode"] #[inline(always)] - #[must_use] pub fn ddr50_blk_len_fix_en(&mut self) -> DDR50_BLK_LEN_FIX_EN_W { DDR50_BLK_LEN_FIX_EN_W::new(self, 21) } #[doc = "Bit 22 - sdio apb clock for configuration force on control:0-gating,1-force on."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 22) } #[doc = "Bit 23 - configure if support sdr50 mode in cccr"] #[inline(always)] - #[must_use] pub fn sddr50(&mut self) -> SDDR50_W { SDDR50_W::new(self, 23) } #[doc = "Bit 24 - configure if support sdr104 mode in cccr"] #[inline(always)] - #[must_use] pub fn ssdr104(&mut self) -> SSDR104_W { SSDR104_W::new(self, 24) } #[doc = "Bit 25 - configure if support ddr50 mode in cccr"] #[inline(always)] - #[must_use] pub fn ssdr50(&mut self) -> SSDR50_W { SSDR50_W::new(self, 25) } #[doc = "Bit 26 - configure if support driver type D in cccr"] #[inline(always)] - #[must_use] pub fn sdtd(&mut self) -> SDTD_W { SDTD_W::new(self, 26) } #[doc = "Bit 27 - configure if support driver type A in cccr"] #[inline(always)] - #[must_use] pub fn sdta(&mut self) -> SDTA_W { SDTA_W::new(self, 27) } #[doc = "Bit 28 - configure if support driver type C in cccr"] #[inline(always)] - #[must_use] pub fn sdtc(&mut self) -> SDTC_W { SDTC_W::new(self, 28) } #[doc = "Bit 29 - configure if support asynchronous interrupt in cccr"] #[inline(always)] - #[must_use] pub fn sai(&mut self) -> SAI_W { SAI_W::new(self, 29) } #[doc = "Bit 30 - clear sdio_wake_up signal after the chip wakes up"] #[inline(always)] - #[must_use] pub fn sdio_wakeup_clr(&mut self) -> SDIO_WAKEUP_CLR_W { SDIO_WAKEUP_CLR_W::new(self, 30) } diff --git a/esp32c6/src/hinf/cfg_timing.rs b/esp32c6/src/hinf/cfg_timing.rs index cf3780ddba..1cf4bd9673 100644 --- a/esp32c6/src/hinf/cfg_timing.rs +++ b/esp32c6/src/hinf/cfg_timing.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - configure Ncrc parameter in sdr50/104 mode, no more than 6."] #[inline(always)] - #[must_use] pub fn ncrc(&mut self) -> NCRC_W { NCRC_W::new(self, 0) } #[doc = "Bits 3:9 - configure cycles to lower cmd after voltage is changed to 1.8V."] #[inline(always)] - #[must_use] pub fn pst_end_cmd_low_value(&mut self) -> PST_END_CMD_LOW_VALUE_W { PST_END_CMD_LOW_VALUE_W::new(self, 3) } #[doc = "Bits 10:15 - configure cycles to lower data after voltage is changed to 1.8V."] #[inline(always)] - #[must_use] pub fn pst_end_data_low_value(&mut self) -> PST_END_DATA_LOW_VALUE_W { PST_END_DATA_LOW_VALUE_W::new(self, 10) } #[doc = "Bits 16:26 - Configure the number of cycles of module clk to judge sdclk has stopped"] #[inline(always)] - #[must_use] pub fn sdclk_stop_thres(&mut self) -> SDCLK_STOP_THRES_W { SDCLK_STOP_THRES_W::new(self, 16) } #[doc = "Bits 28:31 - module clk divider to sample sdclk"] #[inline(always)] - #[must_use] pub fn sample_clk_divider(&mut self) -> SAMPLE_CLK_DIVIDER_W { SAMPLE_CLK_DIVIDER_W::new(self, 28) } diff --git a/esp32c6/src/hinf/cfg_uhs1_int_mode.rs b/esp32c6/src/hinf/cfg_uhs1_int_mode.rs index 459b6b4f6d..77722d3e4e 100644 --- a/esp32c6/src/hinf/cfg_uhs1_int_mode.rs +++ b/esp32c6/src/hinf/cfg_uhs1_int_mode.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - intoe on dat1 end ahead of time: 0/3-no, 1-ahead 1sdclk, 2-ahead 2sdclk"] #[inline(always)] - #[must_use] pub fn intoe_end_ahead_mode(&mut self) -> INTOE_END_AHEAD_MODE_W { INTOE_END_AHEAD_MODE_W::new(self, 0) } #[doc = "Bits 2:3 - int on dat1 end ahead of time: 0/3-no, 1-ahead 1sdclk, 2-ahead 2sdclk"] #[inline(always)] - #[must_use] pub fn int_end_ahead_mode(&mut self) -> INT_END_AHEAD_MODE_W { INT_END_AHEAD_MODE_W::new(self, 2) } #[doc = "Bits 4:5 - intoe on dat1 start ahead of time: 0/3-no, 1-ahead 1sdclk, 2-ahead 2sdclk"] #[inline(always)] - #[must_use] pub fn intoe_st_ahead_mode(&mut self) -> INTOE_ST_AHEAD_MODE_W { INTOE_ST_AHEAD_MODE_W::new(self, 4) } #[doc = "Bits 6:7 - int on dat1 start ahead of time: 0/3-no, 1-ahead 1sdclk, 2-ahead 2sdclk"] #[inline(always)] - #[must_use] pub fn int_st_ahead_mode(&mut self) -> INT_ST_AHEAD_MODE_W { INT_ST_AHEAD_MODE_W::new(self, 6) } diff --git a/esp32c6/src/hinf/cfg_update.rs b/esp32c6/src/hinf/cfg_update.rs index 18cd863762..af365b039f 100644 --- a/esp32c6/src/hinf/cfg_update.rs +++ b/esp32c6/src/hinf/cfg_update.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - update the timing configurations"] #[inline(always)] - #[must_use] pub fn conf_update(&mut self) -> CONF_UPDATE_W { CONF_UPDATE_W::new(self, 0) } diff --git a/esp32c6/src/hinf/cis_conf_w0.rs b/esp32c6/src/hinf/cis_conf_w0.rs index 596f81d1c6..23ae09feea 100644 --- a/esp32c6/src/hinf/cis_conf_w0.rs +++ b/esp32c6/src/hinf/cis_conf_w0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configure cis addr 39~36"] #[inline(always)] - #[must_use] pub fn cis_conf_w0(&mut self) -> CIS_CONF_W0_W { CIS_CONF_W0_W::new(self, 0) } diff --git a/esp32c6/src/hinf/cis_conf_w1.rs b/esp32c6/src/hinf/cis_conf_w1.rs index 2c4d8ec23f..e1cf6ca51e 100644 --- a/esp32c6/src/hinf/cis_conf_w1.rs +++ b/esp32c6/src/hinf/cis_conf_w1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configure cis addr 43~40"] #[inline(always)] - #[must_use] pub fn cis_conf_w1(&mut self) -> CIS_CONF_W1_W { CIS_CONF_W1_W::new(self, 0) } diff --git a/esp32c6/src/hinf/cis_conf_w2.rs b/esp32c6/src/hinf/cis_conf_w2.rs index 6ddddf877b..3e18b0400b 100644 --- a/esp32c6/src/hinf/cis_conf_w2.rs +++ b/esp32c6/src/hinf/cis_conf_w2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configure cis addr 47~44"] #[inline(always)] - #[must_use] pub fn cis_conf_w2(&mut self) -> CIS_CONF_W2_W { CIS_CONF_W2_W::new(self, 0) } diff --git a/esp32c6/src/hinf/cis_conf_w3.rs b/esp32c6/src/hinf/cis_conf_w3.rs index 639577acb1..4711ff6ebb 100644 --- a/esp32c6/src/hinf/cis_conf_w3.rs +++ b/esp32c6/src/hinf/cis_conf_w3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configure cis addr 51~48"] #[inline(always)] - #[must_use] pub fn cis_conf_w3(&mut self) -> CIS_CONF_W3_W { CIS_CONF_W3_W::new(self, 0) } diff --git a/esp32c6/src/hinf/cis_conf_w4.rs b/esp32c6/src/hinf/cis_conf_w4.rs index 2310bfd41b..151fde34f9 100644 --- a/esp32c6/src/hinf/cis_conf_w4.rs +++ b/esp32c6/src/hinf/cis_conf_w4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configure cis addr 55~52"] #[inline(always)] - #[must_use] pub fn cis_conf_w4(&mut self) -> CIS_CONF_W4_W { CIS_CONF_W4_W::new(self, 0) } diff --git a/esp32c6/src/hinf/cis_conf_w5.rs b/esp32c6/src/hinf/cis_conf_w5.rs index aeea0d009d..cc8e5b9aa4 100644 --- a/esp32c6/src/hinf/cis_conf_w5.rs +++ b/esp32c6/src/hinf/cis_conf_w5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configure cis addr 59~56"] #[inline(always)] - #[must_use] pub fn cis_conf_w5(&mut self) -> CIS_CONF_W5_W { CIS_CONF_W5_W::new(self, 0) } diff --git a/esp32c6/src/hinf/cis_conf_w6.rs b/esp32c6/src/hinf/cis_conf_w6.rs index e26986d26e..ec89b65bd4 100644 --- a/esp32c6/src/hinf/cis_conf_w6.rs +++ b/esp32c6/src/hinf/cis_conf_w6.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configure cis addr 63~60"] #[inline(always)] - #[must_use] pub fn cis_conf_w6(&mut self) -> CIS_CONF_W6_W { CIS_CONF_W6_W::new(self, 0) } diff --git a/esp32c6/src/hinf/cis_conf_w7.rs b/esp32c6/src/hinf/cis_conf_w7.rs index 88e8741094..c128010587 100644 --- a/esp32c6/src/hinf/cis_conf_w7.rs +++ b/esp32c6/src/hinf/cis_conf_w7.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configure cis addr 67~64"] #[inline(always)] - #[must_use] pub fn cis_conf_w7(&mut self) -> CIS_CONF_W7_W { CIS_CONF_W7_W::new(self, 0) } diff --git a/esp32c6/src/hinf/sdio_date.rs b/esp32c6/src/hinf/sdio_date.rs index b74afb98bc..8f4074827b 100644 --- a/esp32c6/src/hinf/sdio_date.rs +++ b/esp32c6/src/hinf/sdio_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - sdio version date."] #[inline(always)] - #[must_use] pub fn sdio_date(&mut self) -> SDIO_DATE_W { SDIO_DATE_W::new(self, 0) } diff --git a/esp32c6/src/hinf/sdio_slave_eco_conf.rs b/esp32c6/src/hinf/sdio_slave_eco_conf.rs index e11b602f86..09647fd3d7 100644 --- a/esp32c6/src/hinf/sdio_slave_eco_conf.rs +++ b/esp32c6/src/hinf/sdio_slave_eco_conf.rs @@ -80,13 +80,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - redundant registers for sdio_slave"] #[inline(always)] - #[must_use] pub fn sdio_slave_rdn_ena(&mut self) -> SDIO_SLAVE_RDN_ENA_W { SDIO_SLAVE_RDN_ENA_W::new(self, 1) } #[doc = "Bit 3 - redundant registers for sdio_slave"] #[inline(always)] - #[must_use] pub fn sdio_slave_sdio_clk_rdn_ena( &mut self, ) -> SDIO_SLAVE_SDIO_CLK_RDN_ENA_W { @@ -94,7 +92,6 @@ impl W { } #[doc = "Bit 5 - redundant registers for sdio_slave"] #[inline(always)] - #[must_use] pub fn sdio_slave_sdclk_pad_rdn_ena( &mut self, ) -> SDIO_SLAVE_SDCLK_PAD_RDN_ENA_W { diff --git a/esp32c6/src/hinf/sdio_slave_eco_high.rs b/esp32c6/src/hinf/sdio_slave_eco_high.rs index 828fca5152..419f36ceed 100644 --- a/esp32c6/src/hinf/sdio_slave_eco_high.rs +++ b/esp32c6/src/hinf/sdio_slave_eco_high.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - redundant registers for sdio_slave"] #[inline(always)] - #[must_use] pub fn rdn_eco_high(&mut self) -> RDN_ECO_HIGH_W { RDN_ECO_HIGH_W::new(self, 0) } diff --git a/esp32c6/src/hinf/sdio_slave_eco_low.rs b/esp32c6/src/hinf/sdio_slave_eco_low.rs index ea1dffc117..c22e66d616 100644 --- a/esp32c6/src/hinf/sdio_slave_eco_low.rs +++ b/esp32c6/src/hinf/sdio_slave_eco_low.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - redundant registers for sdio_slave"] #[inline(always)] - #[must_use] pub fn rdn_eco_low(&mut self) -> RDN_ECO_LOW_W { RDN_ECO_LOW_W::new(self, 0) } diff --git a/esp32c6/src/hinf/sdio_slave_ldo_conf.rs b/esp32c6/src/hinf/sdio_slave_ldo_conf.rs index 51de9fb4d7..08dc5cfe72 100644 --- a/esp32c6/src/hinf/sdio_slave_ldo_conf.rs +++ b/esp32c6/src/hinf/sdio_slave_ldo_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - control ldo ready signal by sdio slave itself"] #[inline(always)] - #[must_use] pub fn ldo_ready_ctl_in_en(&mut self) -> LDO_READY_CTL_IN_EN_W { LDO_READY_CTL_IN_EN_W::new(self, 0) } #[doc = "Bits 1:5 - configure ldo ready counting threshold value, the actual counting target is 2^(ldo_ready_thres)-1"] #[inline(always)] - #[must_use] pub fn ldo_ready_thres(&mut self) -> LDO_READY_THRES_W { LDO_READY_THRES_W::new(self, 1) } #[doc = "Bit 6 - ignore ldo ready signal"] #[inline(always)] - #[must_use] pub fn ldo_ready_ignore_en(&mut self) -> LDO_READY_IGNORE_EN_W { LDO_READY_IGNORE_EN_W::new(self, 6) } diff --git a/esp32c6/src/hmac/date.rs b/esp32c6/src/hmac/date.rs index 60e814568a..a0e38f9328 100644 --- a/esp32c6/src/hmac/date.rs +++ b/esp32c6/src/hmac/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Hmac date information/ hmac version information."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/hmac/one_block.rs b/esp32c6/src/hmac/one_block.rs index b43566689f..b4035ad8b6 100644 --- a/esp32c6/src/hmac/one_block.rs +++ b/esp32c6/src/hmac/one_block.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Don't have to do padding."] #[inline(always)] - #[must_use] pub fn set_one_block(&mut self) -> SET_ONE_BLOCK_W { SET_ONE_BLOCK_W::new(self, 0) } diff --git a/esp32c6/src/hmac/set_invalidate_ds.rs b/esp32c6/src/hmac/set_invalidate_ds.rs index 111bcc4282..407f746e9e 100644 --- a/esp32c6/src/hmac/set_invalidate_ds.rs +++ b/esp32c6/src/hmac/set_invalidate_ds.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Clear result from hmac downstream DS."] #[inline(always)] - #[must_use] pub fn set_invalidate_ds(&mut self) -> SET_INVALIDATE_DS_W { SET_INVALIDATE_DS_W::new(self, 0) } diff --git a/esp32c6/src/hmac/set_invalidate_jtag.rs b/esp32c6/src/hmac/set_invalidate_jtag.rs index d3506d5640..82a7427c4a 100644 --- a/esp32c6/src/hmac/set_invalidate_jtag.rs +++ b/esp32c6/src/hmac/set_invalidate_jtag.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Clear result from hmac downstream JTAG."] #[inline(always)] - #[must_use] pub fn set_invalidate_jtag(&mut self) -> SET_INVALIDATE_JTAG_W { SET_INVALIDATE_JTAG_W::new(self, 0) } diff --git a/esp32c6/src/hmac/set_message_end.rs b/esp32c6/src/hmac/set_message_end.rs index 3ae43ef9c8..7006fb27f4 100644 --- a/esp32c6/src/hmac/set_message_end.rs +++ b/esp32c6/src/hmac/set_message_end.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Start hardware padding."] #[inline(always)] - #[must_use] pub fn set_text_end(&mut self) -> SET_TEXT_END_W { SET_TEXT_END_W::new(self, 0) } diff --git a/esp32c6/src/hmac/set_message_ing.rs b/esp32c6/src/hmac/set_message_ing.rs index c325d92c32..663dbe540f 100644 --- a/esp32c6/src/hmac/set_message_ing.rs +++ b/esp32c6/src/hmac/set_message_ing.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Continue typical hmac."] #[inline(always)] - #[must_use] pub fn set_text_ing(&mut self) -> SET_TEXT_ING_W { SET_TEXT_ING_W::new(self, 0) } diff --git a/esp32c6/src/hmac/set_message_one.rs b/esp32c6/src/hmac/set_message_one.rs index 8ef37f11db..d32eb2efd1 100644 --- a/esp32c6/src/hmac/set_message_one.rs +++ b/esp32c6/src/hmac/set_message_one.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Call SHA to calculate one message block."] #[inline(always)] - #[must_use] pub fn set_text_one(&mut self) -> SET_TEXT_ONE_W { SET_TEXT_ONE_W::new(self, 0) } diff --git a/esp32c6/src/hmac/set_message_pad.rs b/esp32c6/src/hmac/set_message_pad.rs index 8739d11add..8877ee730d 100644 --- a/esp32c6/src/hmac/set_message_pad.rs +++ b/esp32c6/src/hmac/set_message_pad.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Start software padding."] #[inline(always)] - #[must_use] pub fn set_text_pad(&mut self) -> SET_TEXT_PAD_W { SET_TEXT_PAD_W::new(self, 0) } diff --git a/esp32c6/src/hmac/set_para_finish.rs b/esp32c6/src/hmac/set_para_finish.rs index 66cbaa057f..15257695f6 100644 --- a/esp32c6/src/hmac/set_para_finish.rs +++ b/esp32c6/src/hmac/set_para_finish.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Finish hmac configuration."] #[inline(always)] - #[must_use] pub fn set_para_end(&mut self) -> SET_PARA_END_W { SET_PARA_END_W::new(self, 0) } diff --git a/esp32c6/src/hmac/set_para_key.rs b/esp32c6/src/hmac/set_para_key.rs index 0bbde55d9d..fe4e62547a 100644 --- a/esp32c6/src/hmac/set_para_key.rs +++ b/esp32c6/src/hmac/set_para_key.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:2 - Set hmac parameter key."] #[inline(always)] - #[must_use] pub fn key_set(&mut self) -> KEY_SET_W { KEY_SET_W::new(self, 0) } diff --git a/esp32c6/src/hmac/set_para_purpose.rs b/esp32c6/src/hmac/set_para_purpose.rs index eafe6bc3e7..fc78aa1598 100644 --- a/esp32c6/src/hmac/set_para_purpose.rs +++ b/esp32c6/src/hmac/set_para_purpose.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:3 - Set hmac parameter purpose."] #[inline(always)] - #[must_use] pub fn purpose_set(&mut self) -> PURPOSE_SET_W { PURPOSE_SET_W::new(self, 0) } diff --git a/esp32c6/src/hmac/set_result_finish.rs b/esp32c6/src/hmac/set_result_finish.rs index ed02cedec4..430f5290fb 100644 --- a/esp32c6/src/hmac/set_result_finish.rs +++ b/esp32c6/src/hmac/set_result_finish.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - After read result from upstream, then let hmac back to idle."] #[inline(always)] - #[must_use] pub fn set_result_end(&mut self) -> SET_RESULT_END_W { SET_RESULT_END_W::new(self, 0) } diff --git a/esp32c6/src/hmac/set_start.rs b/esp32c6/src/hmac/set_start.rs index 293497a4fd..e8e873ce29 100644 --- a/esp32c6/src/hmac/set_start.rs +++ b/esp32c6/src/hmac/set_start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Start hmac operation."] #[inline(always)] - #[must_use] pub fn set_start(&mut self) -> SET_START_W { SET_START_W::new(self, 0) } diff --git a/esp32c6/src/hmac/soft_jtag_ctrl.rs b/esp32c6/src/hmac/soft_jtag_ctrl.rs index 9c7ec8ae3d..368f294e81 100644 --- a/esp32c6/src/hmac/soft_jtag_ctrl.rs +++ b/esp32c6/src/hmac/soft_jtag_ctrl.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Turn on JTAG verification."] #[inline(always)] - #[must_use] pub fn soft_jtag_ctrl(&mut self) -> SOFT_JTAG_CTRL_W { SOFT_JTAG_CTRL_W::new(self, 0) } diff --git a/esp32c6/src/hmac/wr_jtag.rs b/esp32c6/src/hmac/wr_jtag.rs index 98c5adab47..e1bfccc0b9 100644 --- a/esp32c6/src/hmac/wr_jtag.rs +++ b/esp32c6/src/hmac/wr_jtag.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - 32-bit of key to be compared."] #[inline(always)] - #[must_use] pub fn wr_jtag(&mut self) -> WR_JTAG_W { WR_JTAG_W::new(self, 0) } diff --git a/esp32c6/src/hp_apm/clock_gate.rs b/esp32c6/src/hp_apm/clock_gate.rs index c11923fb98..a58faa7d65 100644 --- a/esp32c6/src/hp_apm/clock_gate.rs +++ b/esp32c6/src/hp_apm/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_clk_en"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32c6/src/hp_apm/date.rs b/esp32c6/src/hp_apm/date.rs index cfb7714639..cbf2bbdcd3 100644 --- a/esp32c6/src/hp_apm/date.rs +++ b/esp32c6/src/hp_apm/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - reg_date"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/hp_apm/func_ctrl.rs b/esp32c6/src/hp_apm/func_ctrl.rs index be4df24b4e..9965409791 100644 --- a/esp32c6/src/hp_apm/func_ctrl.rs +++ b/esp32c6/src/hp_apm/func_ctrl.rs @@ -59,7 +59,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `M0_PMS_FUNC_EN` field.
"] #[inline(always)] - #[must_use] pub fn m_pms_func_en(&mut self, n: u8) -> M_PMS_FUNC_EN_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -67,25 +66,21 @@ impl W { } #[doc = "Bit 0 - PMS M0 function enable"] #[inline(always)] - #[must_use] pub fn m0_pms_func_en(&mut self) -> M_PMS_FUNC_EN_W { M_PMS_FUNC_EN_W::new(self, 0) } #[doc = "Bit 1 - PMS M1 function enable"] #[inline(always)] - #[must_use] pub fn m1_pms_func_en(&mut self) -> M_PMS_FUNC_EN_W { M_PMS_FUNC_EN_W::new(self, 1) } #[doc = "Bit 2 - PMS M2 function enable"] #[inline(always)] - #[must_use] pub fn m2_pms_func_en(&mut self) -> M_PMS_FUNC_EN_W { M_PMS_FUNC_EN_W::new(self, 2) } #[doc = "Bit 3 - PMS M3 function enable"] #[inline(always)] - #[must_use] pub fn m3_pms_func_en(&mut self) -> M_PMS_FUNC_EN_W { M_PMS_FUNC_EN_W::new(self, 3) } diff --git a/esp32c6/src/hp_apm/int_en.rs b/esp32c6/src/hp_apm/int_en.rs index 5183ffb37e..ef947198b4 100644 --- a/esp32c6/src/hp_apm/int_en.rs +++ b/esp32c6/src/hp_apm/int_en.rs @@ -59,7 +59,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `M0_APM` field.
"] #[inline(always)] - #[must_use] pub fn m_apm(&mut self, n: u8) -> M_APM_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -67,25 +66,21 @@ impl W { } #[doc = "Bit 0 - APM M0 interrupt enable"] #[inline(always)] - #[must_use] pub fn m0_apm(&mut self) -> M_APM_W { M_APM_W::new(self, 0) } #[doc = "Bit 1 - APM M1 interrupt enable"] #[inline(always)] - #[must_use] pub fn m1_apm(&mut self) -> M_APM_W { M_APM_W::new(self, 1) } #[doc = "Bit 2 - APM M2 interrupt enable"] #[inline(always)] - #[must_use] pub fn m2_apm(&mut self) -> M_APM_W { M_APM_W::new(self, 2) } #[doc = "Bit 3 - APM M3 interrupt enable"] #[inline(always)] - #[must_use] pub fn m3_apm(&mut self) -> M_APM_W { M_APM_W::new(self, 3) } diff --git a/esp32c6/src/hp_apm/m/status_clr.rs b/esp32c6/src/hp_apm/m/status_clr.rs index e4f078f6fc..8da9457594 100644 --- a/esp32c6/src/hp_apm/m/status_clr.rs +++ b/esp32c6/src/hp_apm/m/status_clr.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Clear exception status"] #[inline(always)] - #[must_use] pub fn region_status_clr(&mut self) -> REGION_STATUS_CLR_W { REGION_STATUS_CLR_W::new(self, 0) } diff --git a/esp32c6/src/hp_apm/region/addr_end.rs b/esp32c6/src/hp_apm/region/addr_end.rs index 0459ef8236..62145901a9 100644 --- a/esp32c6/src/hp_apm/region/addr_end.rs +++ b/esp32c6/src/hp_apm/region/addr_end.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - End address of region0"] #[inline(always)] - #[must_use] pub fn addr_end(&mut self) -> ADDR_END_W { ADDR_END_W::new(self, 0) } diff --git a/esp32c6/src/hp_apm/region/addr_start.rs b/esp32c6/src/hp_apm/region/addr_start.rs index fc14b71b5f..4ae84c3305 100644 --- a/esp32c6/src/hp_apm/region/addr_start.rs +++ b/esp32c6/src/hp_apm/region/addr_start.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Start address of region0"] #[inline(always)] - #[must_use] pub fn addr_start(&mut self) -> ADDR_START_W { ADDR_START_W::new(self, 0) } diff --git a/esp32c6/src/hp_apm/region/pms_attr.rs b/esp32c6/src/hp_apm/region/pms_attr.rs index fe5b684b59..2c40327dfb 100644 --- a/esp32c6/src/hp_apm/region/pms_attr.rs +++ b/esp32c6/src/hp_apm/region/pms_attr.rs @@ -127,7 +127,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `R0_PMS_X` field.
"] #[inline(always)] - #[must_use] pub fn r_pms_x(&mut self, n: u8) -> R_PMS_X_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -135,19 +134,16 @@ impl W { } #[doc = "Bit 0 - Region execute authority in REE_MODE0"] #[inline(always)] - #[must_use] pub fn r0_pms_x(&mut self) -> R_PMS_X_W { R_PMS_X_W::new(self, 0) } #[doc = "Bit 4 - Region execute authority in REE_MODE1"] #[inline(always)] - #[must_use] pub fn r1_pms_x(&mut self) -> R_PMS_X_W { R_PMS_X_W::new(self, 4) } #[doc = "Bit 8 - Region execute authority in REE_MODE2"] #[inline(always)] - #[must_use] pub fn r2_pms_x(&mut self) -> R_PMS_X_W { R_PMS_X_W::new(self, 8) } @@ -155,7 +151,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `R0_PMS_W` field.
"] #[inline(always)] - #[must_use] pub fn r_pms_w(&mut self, n: u8) -> R_PMS_W_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -163,19 +158,16 @@ impl W { } #[doc = "Bit 1 - Region write authority in REE_MODE0"] #[inline(always)] - #[must_use] pub fn r0_pms_w(&mut self) -> R_PMS_W_W { R_PMS_W_W::new(self, 1) } #[doc = "Bit 5 - Region write authority in REE_MODE1"] #[inline(always)] - #[must_use] pub fn r1_pms_w(&mut self) -> R_PMS_W_W { R_PMS_W_W::new(self, 5) } #[doc = "Bit 9 - Region write authority in REE_MODE2"] #[inline(always)] - #[must_use] pub fn r2_pms_w(&mut self) -> R_PMS_W_W { R_PMS_W_W::new(self, 9) } @@ -183,7 +175,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `R0_PMS_R` field.
"] #[inline(always)] - #[must_use] pub fn r_pms_r(&mut self, n: u8) -> R_PMS_R_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -191,19 +182,16 @@ impl W { } #[doc = "Bit 2 - Region read authority in REE_MODE0"] #[inline(always)] - #[must_use] pub fn r0_pms_r(&mut self) -> R_PMS_R_W { R_PMS_R_W::new(self, 2) } #[doc = "Bit 6 - Region read authority in REE_MODE1"] #[inline(always)] - #[must_use] pub fn r1_pms_r(&mut self) -> R_PMS_R_W { R_PMS_R_W::new(self, 6) } #[doc = "Bit 10 - Region read authority in REE_MODE2"] #[inline(always)] - #[must_use] pub fn r2_pms_r(&mut self) -> R_PMS_R_W { R_PMS_R_W::new(self, 10) } diff --git a/esp32c6/src/hp_apm/region_filter_en.rs b/esp32c6/src/hp_apm/region_filter_en.rs index f439765051..66abd3262b 100644 --- a/esp32c6/src/hp_apm/region_filter_en.rs +++ b/esp32c6/src/hp_apm/region_filter_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Region filter enable"] #[inline(always)] - #[must_use] pub fn region_filter_en(&mut self) -> REGION_FILTER_EN_W { REGION_FILTER_EN_W::new(self, 0) } diff --git a/esp32c6/src/hp_sys/clock_gate.rs b/esp32c6/src/hp_sys/clock_gate.rs index dbfbee8a56..da63d77246 100644 --- a/esp32c6/src/hp_sys/clock_gate.rs +++ b/esp32c6/src/hp_sys/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit as 1 to force on clock gating."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32c6/src/hp_sys/core_debug_runstall_conf.rs b/esp32c6/src/hp_sys/core_debug_runstall_conf.rs index c257b8b76a..eca8a915a5 100644 --- a/esp32c6/src/hp_sys/core_debug_runstall_conf.rs +++ b/esp32c6/src/hp_sys/core_debug_runstall_conf.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this field to 1 to enable debug runstall feature between HP-core and LP-core."] #[inline(always)] - #[must_use] pub fn core_debug_runstall_enable( &mut self, ) -> CORE_DEBUG_RUNSTALL_ENABLE_W { diff --git a/esp32c6/src/hp_sys/cpu_peri_timeout_conf.rs b/esp32c6/src/hp_sys/cpu_peri_timeout_conf.rs index a61f6fb225..d82a602da2 100644 --- a/esp32c6/src/hp_sys/cpu_peri_timeout_conf.rs +++ b/esp32c6/src/hp_sys/cpu_peri_timeout_conf.rs @@ -39,7 +39,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Set the timeout threshold for bus access, corresponding to the number of clock cycles of the clock domain."] #[inline(always)] - #[must_use] pub fn cpu_peri_timeout_thres( &mut self, ) -> CPU_PERI_TIMEOUT_THRES_W { @@ -47,7 +46,6 @@ impl W { } #[doc = "Bit 16 - Set this bit as 1 to clear timeout interrupt"] #[inline(always)] - #[must_use] pub fn cpu_peri_timeout_int_clear( &mut self, ) -> CPU_PERI_TIMEOUT_INT_CLEAR_W { @@ -55,7 +53,6 @@ impl W { } #[doc = "Bit 17 - Set this bit as 1 to enable timeout protection for accessing cpu peripheral registers"] #[inline(always)] - #[must_use] pub fn cpu_peri_timeout_protect_en( &mut self, ) -> CPU_PERI_TIMEOUT_PROTECT_EN_W { diff --git a/esp32c6/src/hp_sys/cpu_peri_timeout_uid.rs b/esp32c6/src/hp_sys/cpu_peri_timeout_uid.rs index c0461105dc..93887f6757 100644 --- a/esp32c6/src/hp_sys/cpu_peri_timeout_uid.rs +++ b/esp32c6/src/hp_sys/cpu_peri_timeout_uid.rs @@ -1,9 +1,9 @@ #[doc = "Register `CPU_PERI_TIMEOUT_UID` reader"] pub type R = crate::R; -#[doc = "Field `CPU_PERI_TIMEOUT_UID` reader - Record master id\\[4:0\\] & master permission\\[6:5\\] when trigger timeout. This register will be cleared after the interrupt is cleared."] +#[doc = "Field `CPU_PERI_TIMEOUT_UID` reader - Record master id\\[4:0\\] & master permission\\[6:5\\] when trigger timeout. This register will be cleared after the interrupt is cleared."] pub type CPU_PERI_TIMEOUT_UID_R = crate::FieldReader; impl R { - #[doc = "Bits 0:6 - Record master id\\[4:0\\] & master permission\\[6:5\\] when trigger timeout. This register will be cleared after the interrupt is cleared."] + #[doc = "Bits 0:6 - Record master id\\[4:0\\] & master permission\\[6:5\\] when trigger timeout. This register will be cleared after the interrupt is cleared."] #[inline(always)] pub fn cpu_peri_timeout_uid(&self) -> CPU_PERI_TIMEOUT_UID_R { CPU_PERI_TIMEOUT_UID_R::new((self.bits & 0x7f) as u8) diff --git a/esp32c6/src/hp_sys/date.rs b/esp32c6/src/hp_sys/date.rs index e9864e97de..1759f4bce7 100644 --- a/esp32c6/src/hp_sys/date.rs +++ b/esp32c6/src/hp_sys/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - HP-SYSTEM date information/ HP-SYSTEM version information."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/hp_sys/external_device_encrypt_decrypt_control.rs b/esp32c6/src/hp_sys/external_device_encrypt_decrypt_control.rs index 5f24255273..1868a576a6 100644 --- a/esp32c6/src/hp_sys/external_device_encrypt_decrypt_control.rs +++ b/esp32c6/src/hp_sys/external_device_encrypt_decrypt_control.rs @@ -66,7 +66,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit as 1 to enable mspi xts manual encrypt in spi boot mode."] #[inline(always)] - #[must_use] pub fn enable_spi_manual_encrypt( &mut self, ) -> ENABLE_SPI_MANUAL_ENCRYPT_W { @@ -74,7 +73,6 @@ impl W { } #[doc = "Bit 1 - reserved"] #[inline(always)] - #[must_use] pub fn enable_download_db_encrypt( &mut self, ) -> ENABLE_DOWNLOAD_DB_ENCRYPT_W { @@ -82,7 +80,6 @@ impl W { } #[doc = "Bit 2 - Set this bit as 1 to enable mspi xts auto decrypt in download boot mode."] #[inline(always)] - #[must_use] pub fn enable_download_g0cb_decrypt( &mut self, ) -> ENABLE_DOWNLOAD_G0CB_DECRYPT_W { @@ -90,7 +87,6 @@ impl W { } #[doc = "Bit 3 - Set this bit as 1 to enable mspi xts manual encrypt in download boot mode."] #[inline(always)] - #[must_use] pub fn enable_download_manual_encrypt( &mut self, ) -> ENABLE_DOWNLOAD_MANUAL_ENCRYPT_W { diff --git a/esp32c6/src/hp_sys/hp_peri_timeout_conf.rs b/esp32c6/src/hp_sys/hp_peri_timeout_conf.rs index 1658c8d481..7fa32ab548 100644 --- a/esp32c6/src/hp_sys/hp_peri_timeout_conf.rs +++ b/esp32c6/src/hp_sys/hp_peri_timeout_conf.rs @@ -39,13 +39,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Set the timeout threshold for bus access, corresponding to the number of clock cycles of the clock domain."] #[inline(always)] - #[must_use] pub fn hp_peri_timeout_thres(&mut self) -> HP_PERI_TIMEOUT_THRES_W { HP_PERI_TIMEOUT_THRES_W::new(self, 0) } #[doc = "Bit 16 - Set this bit as 1 to clear timeout interrupt"] #[inline(always)] - #[must_use] pub fn hp_peri_timeout_int_clear( &mut self, ) -> HP_PERI_TIMEOUT_INT_CLEAR_W { @@ -53,7 +51,6 @@ impl W { } #[doc = "Bit 17 - Set this bit as 1 to enable timeout protection for accessing hp peripheral registers"] #[inline(always)] - #[must_use] pub fn hp_peri_timeout_protect_en( &mut self, ) -> HP_PERI_TIMEOUT_PROTECT_EN_W { diff --git a/esp32c6/src/hp_sys/hp_peri_timeout_uid.rs b/esp32c6/src/hp_sys/hp_peri_timeout_uid.rs index 049b165bc0..da31ee8756 100644 --- a/esp32c6/src/hp_sys/hp_peri_timeout_uid.rs +++ b/esp32c6/src/hp_sys/hp_peri_timeout_uid.rs @@ -1,9 +1,9 @@ #[doc = "Register `HP_PERI_TIMEOUT_UID` reader"] pub type R = crate::R; -#[doc = "Field `HP_PERI_TIMEOUT_UID` reader - Record master id\\[4:0\\] & master permission\\[6:5\\] when trigger timeout. This register will be cleared after the interrupt is cleared."] +#[doc = "Field `HP_PERI_TIMEOUT_UID` reader - Record master id\\[4:0\\] & master permission\\[6:5\\] when trigger timeout. This register will be cleared after the interrupt is cleared."] pub type HP_PERI_TIMEOUT_UID_R = crate::FieldReader; impl R { - #[doc = "Bits 0:6 - Record master id\\[4:0\\] & master permission\\[6:5\\] when trigger timeout. This register will be cleared after the interrupt is cleared."] + #[doc = "Bits 0:6 - Record master id\\[4:0\\] & master permission\\[6:5\\] when trigger timeout. This register will be cleared after the interrupt is cleared."] #[inline(always)] pub fn hp_peri_timeout_uid(&self) -> HP_PERI_TIMEOUT_UID_R { HP_PERI_TIMEOUT_UID_R::new((self.bits & 0x7f) as u8) diff --git a/esp32c6/src/hp_sys/mem_test_conf.rs b/esp32c6/src/hp_sys/mem_test_conf.rs index 46a6ea6a08..a55b74079a 100644 --- a/esp32c6/src/hp_sys/mem_test_conf.rs +++ b/esp32c6/src/hp_sys/mem_test_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - This field controls hp system memory WPULSE parameter."] #[inline(always)] - #[must_use] pub fn hp_mem_wpulse(&mut self) -> HP_MEM_WPULSE_W { HP_MEM_WPULSE_W::new(self, 0) } #[doc = "Bits 3:5 - This field controls hp system memory WA parameter."] #[inline(always)] - #[must_use] pub fn hp_mem_wa(&mut self) -> HP_MEM_WA_W { HP_MEM_WA_W::new(self, 3) } #[doc = "Bits 6:7 - This field controls hp system memory RA parameter."] #[inline(always)] - #[must_use] pub fn hp_mem_ra(&mut self) -> HP_MEM_RA_W { HP_MEM_RA_W::new(self, 6) } diff --git a/esp32c6/src/hp_sys/modem_peri_timeout_conf.rs b/esp32c6/src/hp_sys/modem_peri_timeout_conf.rs index 9487bbd888..5e93369e01 100644 --- a/esp32c6/src/hp_sys/modem_peri_timeout_conf.rs +++ b/esp32c6/src/hp_sys/modem_peri_timeout_conf.rs @@ -39,7 +39,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Set the timeout threshold for bus access, corresponding to the number of clock cycles of the clock domain."] #[inline(always)] - #[must_use] pub fn modem_peri_timeout_thres( &mut self, ) -> MODEM_PERI_TIMEOUT_THRES_W { @@ -47,7 +46,6 @@ impl W { } #[doc = "Bit 16 - Set this bit as 1 to clear timeout interrupt"] #[inline(always)] - #[must_use] pub fn modem_peri_timeout_int_clear( &mut self, ) -> MODEM_PERI_TIMEOUT_INT_CLEAR_W { @@ -55,7 +53,6 @@ impl W { } #[doc = "Bit 17 - Set this bit as 1 to enable timeout protection for accessing modem registers"] #[inline(always)] - #[must_use] pub fn modem_peri_timeout_protect_en( &mut self, ) -> MODEM_PERI_TIMEOUT_PROTECT_EN_W { diff --git a/esp32c6/src/hp_sys/modem_peri_timeout_uid.rs b/esp32c6/src/hp_sys/modem_peri_timeout_uid.rs index c7684c6b04..bf38427509 100644 --- a/esp32c6/src/hp_sys/modem_peri_timeout_uid.rs +++ b/esp32c6/src/hp_sys/modem_peri_timeout_uid.rs @@ -1,9 +1,9 @@ #[doc = "Register `MODEM_PERI_TIMEOUT_UID` reader"] pub type R = crate::R; -#[doc = "Field `MODEM_PERI_TIMEOUT_UID` reader - Record master id\\[4:0\\] & master permission\\[6:5\\] when trigger timeout. This register will be cleared after the interrupt is cleared."] +#[doc = "Field `MODEM_PERI_TIMEOUT_UID` reader - Record master id\\[4:0\\] & master permission\\[6:5\\] when trigger timeout. This register will be cleared after the interrupt is cleared."] pub type MODEM_PERI_TIMEOUT_UID_R = crate::FieldReader; impl R { - #[doc = "Bits 0:6 - Record master id\\[4:0\\] & master permission\\[6:5\\] when trigger timeout. This register will be cleared after the interrupt is cleared."] + #[doc = "Bits 0:6 - Record master id\\[4:0\\] & master permission\\[6:5\\] when trigger timeout. This register will be cleared after the interrupt is cleared."] #[inline(always)] pub fn modem_peri_timeout_uid(&self) -> MODEM_PERI_TIMEOUT_UID_R { MODEM_PERI_TIMEOUT_UID_R::new((self.bits & 0x7f) as u8) diff --git a/esp32c6/src/hp_sys/retention_conf.rs b/esp32c6/src/hp_sys/retention_conf.rs index a8b06b9a6a..0e1a00841a 100644 --- a/esp32c6/src/hp_sys/retention_conf.rs +++ b/esp32c6/src/hp_sys/retention_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit as 1 to disable retention function. Not disable by default."] #[inline(always)] - #[must_use] pub fn retention_disable(&mut self) -> RETENTION_DISABLE_W { RETENTION_DISABLE_W::new(self, 0) } diff --git a/esp32c6/src/hp_sys/rnd_eco.rs b/esp32c6/src/hp_sys/rnd_eco.rs index f80f827b72..7ed57514ff 100644 --- a/esp32c6/src/hp_sys/rnd_eco.rs +++ b/esp32c6/src/hp_sys/rnd_eco.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Only reserved for ECO."] #[inline(always)] - #[must_use] pub fn redcy_ena(&mut self) -> REDCY_ENA_W { REDCY_ENA_W::new(self, 0) } diff --git a/esp32c6/src/hp_sys/rnd_eco_high.rs b/esp32c6/src/hp_sys/rnd_eco_high.rs index 15c7ac517f..55940f0fc4 100644 --- a/esp32c6/src/hp_sys/rnd_eco_high.rs +++ b/esp32c6/src/hp_sys/rnd_eco_high.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Only reserved for ECO."] #[inline(always)] - #[must_use] pub fn redcy_high(&mut self) -> REDCY_HIGH_W { REDCY_HIGH_W::new(self, 0) } diff --git a/esp32c6/src/hp_sys/rnd_eco_low.rs b/esp32c6/src/hp_sys/rnd_eco_low.rs index 1c9da67470..ff59688040 100644 --- a/esp32c6/src/hp_sys/rnd_eco_low.rs +++ b/esp32c6/src/hp_sys/rnd_eco_low.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Only reserved for ECO."] #[inline(always)] - #[must_use] pub fn redcy_low(&mut self) -> REDCY_LOW_W { REDCY_LOW_W::new(self, 0) } diff --git a/esp32c6/src/hp_sys/rom_table.rs b/esp32c6/src/hp_sys/rom_table.rs index a67d3526b1..fa82edaf6b 100644 --- a/esp32c6/src/hp_sys/rom_table.rs +++ b/esp32c6/src/hp_sys/rom_table.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - XXXX"] #[inline(always)] - #[must_use] pub fn rom_table(&mut self) -> ROM_TABLE_W { ROM_TABLE_W::new(self, 0) } diff --git a/esp32c6/src/hp_sys/rom_table_lock.rs b/esp32c6/src/hp_sys/rom_table_lock.rs index 810d9a1499..dbdeaf751a 100644 --- a/esp32c6/src/hp_sys/rom_table_lock.rs +++ b/esp32c6/src/hp_sys/rom_table_lock.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - XXXX"] #[inline(always)] - #[must_use] pub fn rom_table_lock(&mut self) -> ROM_TABLE_LOCK_W { ROM_TABLE_LOCK_W::new(self, 0) } diff --git a/esp32c6/src/hp_sys/sdio_ctrl.rs b/esp32c6/src/hp_sys/sdio_ctrl.rs index e4ef690545..b9ad6feb86 100644 --- a/esp32c6/src/hp_sys/sdio_ctrl.rs +++ b/esp32c6/src/hp_sys/sdio_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit as 1 to disable SDIO_PROB function. disable by default."] #[inline(always)] - #[must_use] pub fn dis_sdio_prob(&mut self) -> DIS_SDIO_PROB_W { DIS_SDIO_PROB_W::new(self, 0) } #[doc = "Bit 1 - Enable sdio slave to access other peripherals on the chip"] #[inline(always)] - #[must_use] pub fn sdio_win_access_en(&mut self) -> SDIO_WIN_ACCESS_EN_W { SDIO_WIN_ACCESS_EN_W::new(self, 1) } diff --git a/esp32c6/src/hp_sys/sec_dpa_conf.rs b/esp32c6/src/hp_sys/sec_dpa_conf.rs index 2a479f7d42..0fdbc1c5bc 100644 --- a/esp32c6/src/hp_sys/sec_dpa_conf.rs +++ b/esp32c6/src/hp_sys/sec_dpa_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - 0: anti-DPA disable. 1~3: anti-DPA enable with different security level. The larger the number, the stronger the ability to resist DPA attacks and the higher the security level, but it will increase the computational overhead of the hardware crypto-accelerators. Only avaliable if HP_SYS_SEC_DPA_CFG_SEL is 0."] #[inline(always)] - #[must_use] pub fn sec_dpa_level(&mut self) -> SEC_DPA_LEVEL_W { SEC_DPA_LEVEL_W::new(self, 0) } #[doc = "Bit 2 - This field is used to select either HP_SYS_SEC_DPA_LEVEL or EFUSE_SEC_DPA_LEVEL (from efuse) to control dpa_level. 0: EFUSE_SEC_DPA_LEVEL, 1: HP_SYS_SEC_DPA_LEVEL."] #[inline(always)] - #[must_use] pub fn sec_dpa_cfg_sel(&mut self) -> SEC_DPA_CFG_SEL_W { SEC_DPA_CFG_SEL_W::new(self, 2) } diff --git a/esp32c6/src/hp_sys/sram_usage_conf.rs b/esp32c6/src/hp_sys/sram_usage_conf.rs index cd1fef765e..1ce5b477c9 100644 --- a/esp32c6/src/hp_sys/sram_usage_conf.rs +++ b/esp32c6/src/hp_sys/sram_usage_conf.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 8:11 - 0: cpu use hp-memory. 1:mac-dump accessing hp-memory."] #[inline(always)] - #[must_use] pub fn sram_usage(&mut self) -> SRAM_USAGE_W { SRAM_USAGE_W::new(self, 8) } #[doc = "Bit 16 - Set this bit as 1 to add an offset (64KB) when mac-dump accessing hp-memory."] #[inline(always)] - #[must_use] pub fn mac_dump_alloc(&mut self) -> MAC_DUMP_ALLOC_W { MAC_DUMP_ALLOC_W::new(self, 16) } diff --git a/esp32c6/src/i2c0/clk_conf.rs b/esp32c6/src/i2c0/clk_conf.rs index 70fecdec18..238cb1aafd 100644 --- a/esp32c6/src/i2c0/clk_conf.rs +++ b/esp32c6/src/i2c0/clk_conf.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - the integral part of the fractional divisor for i2c module"] #[inline(always)] - #[must_use] pub fn sclk_div_num(&mut self) -> SCLK_DIV_NUM_W { SCLK_DIV_NUM_W::new(self, 0) } #[doc = "Bits 8:13 - the numerator of the fractional part of the fractional divisor for i2c module"] #[inline(always)] - #[must_use] pub fn sclk_div_a(&mut self) -> SCLK_DIV_A_W { SCLK_DIV_A_W::new(self, 8) } #[doc = "Bits 14:19 - the denominator of the fractional part of the fractional divisor for i2c module"] #[inline(always)] - #[must_use] pub fn sclk_div_b(&mut self) -> SCLK_DIV_B_W { SCLK_DIV_B_W::new(self, 14) } #[doc = "Bit 20 - The clock selection for i2c module:0-XTAL,1-CLK_8MHz."] #[inline(always)] - #[must_use] pub fn sclk_sel(&mut self) -> SCLK_SEL_W { SCLK_SEL_W::new(self, 20) } #[doc = "Bit 21 - The clock switch for i2c module"] #[inline(always)] - #[must_use] pub fn sclk_active(&mut self) -> SCLK_ACTIVE_W { SCLK_ACTIVE_W::new(self, 21) } diff --git a/esp32c6/src/i2c0/comd.rs b/esp32c6/src/i2c0/comd.rs index bb55c194e6..7dbcd9c95a 100644 --- a/esp32c6/src/i2c0/comd.rs +++ b/esp32c6/src/i2c0/comd.rs @@ -170,37 +170,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Number of bytes to be sent or received for command %s."] #[inline(always)] - #[must_use] pub fn byte_num(&mut self) -> BYTE_NUM_W { BYTE_NUM_W::new(self, 0) } #[doc = "Bit 8 - Acknowledge check enable for command %s."] #[inline(always)] - #[must_use] pub fn ack_check_en(&mut self) -> ACK_CHECK_EN_W { ACK_CHECK_EN_W::new(self, 8) } #[doc = "Bit 9 - Acknowledge expected for command %s."] #[inline(always)] - #[must_use] pub fn ack_exp(&mut self) -> ACK_EXP_W { ACK_EXP_W::new(self, 9) } #[doc = "Bit 10 - Acknowledge value for command %s."] #[inline(always)] - #[must_use] pub fn ack_value(&mut self) -> ACK_VALUE_W { ACK_VALUE_W::new(self, 10) } #[doc = "Bits 11:13 - Opcode part of command %s."] #[inline(always)] - #[must_use] pub fn opcode(&mut self) -> OPCODE_W { OPCODE_W::new(self, 11) } #[doc = "Bit 31 - When command 0 is done in I2C Master mode, this bit changes to high level."] #[inline(always)] - #[must_use] pub fn command_done(&mut self) -> COMMAND_DONE_W { COMMAND_DONE_W::new(self, 31) } diff --git a/esp32c6/src/i2c0/ctr.rs b/esp32c6/src/i2c0/ctr.rs index 736651f369..cf897b8de1 100644 --- a/esp32c6/src/i2c0/ctr.rs +++ b/esp32c6/src/i2c0/ctr.rs @@ -140,91 +140,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: direct output, 0: open drain output."] #[inline(always)] - #[must_use] pub fn sda_force_out(&mut self) -> SDA_FORCE_OUT_W { SDA_FORCE_OUT_W::new(self, 0) } #[doc = "Bit 1 - 1: direct output, 0: open drain output."] #[inline(always)] - #[must_use] pub fn scl_force_out(&mut self) -> SCL_FORCE_OUT_W { SCL_FORCE_OUT_W::new(self, 1) } #[doc = "Bit 2 - This register is used to select the sample mode. 1: sample SDA data on the SCL low level. 0: sample SDA data on the SCL high level."] #[inline(always)] - #[must_use] pub fn sample_scl_level(&mut self) -> SAMPLE_SCL_LEVEL_W { SAMPLE_SCL_LEVEL_W::new(self, 2) } #[doc = "Bit 3 - This register is used to configure the ACK value that need to sent by master when the rx_fifo_cnt has reached the threshold."] #[inline(always)] - #[must_use] pub fn rx_full_ack_level(&mut self) -> RX_FULL_ACK_LEVEL_W { RX_FULL_ACK_LEVEL_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to configure the module as an I2C Master. Clear this bit to configure the module as an I2C Slave."] #[inline(always)] - #[must_use] pub fn ms_mode(&mut self) -> MS_MODE_W { MS_MODE_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to start sending the data in txfifo."] #[inline(always)] - #[must_use] pub fn trans_start(&mut self) -> TRANS_START_W { TRANS_START_W::new(self, 5) } #[doc = "Bit 6 - This bit is used to control the sending mode for data needing to be sent. 1: send data from the least significant bit, 0: send data from the most significant bit."] #[inline(always)] - #[must_use] pub fn tx_lsb_first(&mut self) -> TX_LSB_FIRST_W { TX_LSB_FIRST_W::new(self, 6) } #[doc = "Bit 7 - This bit is used to control the storage mode for received data. 1: receive data from the least significant bit, 0: receive data from the most significant bit."] #[inline(always)] - #[must_use] pub fn rx_lsb_first(&mut self) -> RX_LSB_FIRST_W { RX_LSB_FIRST_W::new(self, 7) } #[doc = "Bit 8 - Reserved"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 8) } #[doc = "Bit 9 - This is the enable bit for arbitration_lost."] #[inline(always)] - #[must_use] pub fn arbitration_en(&mut self) -> ARBITRATION_EN_W { ARBITRATION_EN_W::new(self, 9) } #[doc = "Bit 10 - This register is used to reset the scl FMS."] #[inline(always)] - #[must_use] pub fn fsm_rst(&mut self) -> FSM_RST_W { FSM_RST_W::new(self, 10) } #[doc = "Bit 11 - synchronization bit"] #[inline(always)] - #[must_use] pub fn conf_upgate(&mut self) -> CONF_UPGATE_W { CONF_UPGATE_W::new(self, 11) } #[doc = "Bit 12 - This is the enable bit for slave to send data automatically"] #[inline(always)] - #[must_use] pub fn slv_tx_auto_start_en(&mut self) -> SLV_TX_AUTO_START_EN_W { SLV_TX_AUTO_START_EN_W::new(self, 12) } #[doc = "Bit 13 - This is the enable bit to check if the r/w bit of 10bit addressing consists with I2C protocol"] #[inline(always)] - #[must_use] pub fn addr_10bit_rw_check_en(&mut self) -> ADDR_10BIT_RW_CHECK_EN_W { ADDR_10BIT_RW_CHECK_EN_W::new(self, 13) } #[doc = "Bit 14 - This is the enable bit to support the 7bit general call function."] #[inline(always)] - #[must_use] pub fn addr_broadcasting_en(&mut self) -> ADDR_BROADCASTING_EN_W { ADDR_BROADCASTING_EN_W::new(self, 14) } diff --git a/esp32c6/src/i2c0/data.rs b/esp32c6/src/i2c0/data.rs index 7b61d0c9b4..85e1cbdac8 100644 --- a/esp32c6/src/i2c0/data.rs +++ b/esp32c6/src/i2c0/data.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - The value of rx FIFO read data."] #[inline(always)] - #[must_use] pub fn fifo_rdata(&mut self) -> FIFO_RDATA_W { FIFO_RDATA_W::new(self, 0) } diff --git a/esp32c6/src/i2c0/date.rs b/esp32c6/src/i2c0/date.rs index 5675348261..1f53bf0a6b 100644 --- a/esp32c6/src/i2c0/date.rs +++ b/esp32c6/src/i2c0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This is the the version register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/i2c0/fifo_conf.rs b/esp32c6/src/i2c0/fifo_conf.rs index 9f814ec804..178ec5c82b 100644 --- a/esp32c6/src/i2c0/fifo_conf.rs +++ b/esp32c6/src/i2c0/fifo_conf.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - The water mark threshold of rx FIFO in nonfifo access mode. When reg_reg_fifo_prt_en is 1 and rx FIFO counter is bigger than reg_rxfifo_wm_thrhd\\[4:0\\], reg_rxfifo_wm_int_raw bit will be valid."] #[inline(always)] - #[must_use] pub fn rxfifo_wm_thrhd(&mut self) -> RXFIFO_WM_THRHD_W { RXFIFO_WM_THRHD_W::new(self, 0) } #[doc = "Bits 5:9 - The water mark threshold of tx FIFO in nonfifo access mode. When reg_reg_fifo_prt_en is 1 and tx FIFO counter is smaller than reg_txfifo_wm_thrhd\\[4:0\\], reg_txfifo_wm_int_raw bit will be valid."] #[inline(always)] - #[must_use] pub fn txfifo_wm_thrhd(&mut self) -> TXFIFO_WM_THRHD_W { TXFIFO_WM_THRHD_W::new(self, 5) } #[doc = "Bit 10 - Set this bit to enable APB nonfifo access."] #[inline(always)] - #[must_use] pub fn nonfifo_en(&mut self) -> NONFIFO_EN_W { NONFIFO_EN_W::new(self, 10) } #[doc = "Bit 11 - When this bit is set to 1, the byte received after the I2C address byte represents the offset address in the I2C Slave RAM."] #[inline(always)] - #[must_use] pub fn fifo_addr_cfg_en(&mut self) -> FIFO_ADDR_CFG_EN_W { FIFO_ADDR_CFG_EN_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to reset rx-fifo."] #[inline(always)] - #[must_use] pub fn rx_fifo_rst(&mut self) -> RX_FIFO_RST_W { RX_FIFO_RST_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to reset tx-fifo."] #[inline(always)] - #[must_use] pub fn tx_fifo_rst(&mut self) -> TX_FIFO_RST_W { TX_FIFO_RST_W::new(self, 13) } #[doc = "Bit 14 - The control enable bit of FIFO pointer in non-fifo access mode. This bit controls the valid bits and the interrupts of tx/rx_fifo overflow, underflow, full and empty."] #[inline(always)] - #[must_use] pub fn fifo_prt_en(&mut self) -> FIFO_PRT_EN_W { FIFO_PRT_EN_W::new(self, 14) } diff --git a/esp32c6/src/i2c0/filter_cfg.rs b/esp32c6/src/i2c0/filter_cfg.rs index bfac5394cd..03c1bda7ac 100644 --- a/esp32c6/src/i2c0/filter_cfg.rs +++ b/esp32c6/src/i2c0/filter_cfg.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - When a pulse on the SCL input has smaller width than this register value in I2C module clock cycles, the I2C controller will ignore that pulse."] #[inline(always)] - #[must_use] pub fn scl_filter_thres(&mut self) -> SCL_FILTER_THRES_W { SCL_FILTER_THRES_W::new(self, 0) } #[doc = "Bits 4:7 - When a pulse on the SDA input has smaller width than this register value in I2C module clock cycles, the I2C controller will ignore that pulse."] #[inline(always)] - #[must_use] pub fn sda_filter_thres(&mut self) -> SDA_FILTER_THRES_W { SDA_FILTER_THRES_W::new(self, 4) } #[doc = "Bit 8 - This is the filter enable bit for SCL."] #[inline(always)] - #[must_use] pub fn scl_filter_en(&mut self) -> SCL_FILTER_EN_W { SCL_FILTER_EN_W::new(self, 8) } #[doc = "Bit 9 - This is the filter enable bit for SDA."] #[inline(always)] - #[must_use] pub fn sda_filter_en(&mut self) -> SDA_FILTER_EN_W { SDA_FILTER_EN_W::new(self, 9) } diff --git a/esp32c6/src/i2c0/int_clr.rs b/esp32c6/src/i2c0/int_clr.rs index 8b45b5fe75..e26508659e 100644 --- a/esp32c6/src/i2c0/int_clr.rs +++ b/esp32c6/src/i2c0/int_clr.rs @@ -47,115 +47,96 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear I2C_RXFIFO_WM_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_wm(&mut self) -> RXFIFO_WM_W { RXFIFO_WM_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear I2C_TXFIFO_WM_INT interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_wm(&mut self) -> TXFIFO_WM_W { TXFIFO_WM_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear I2C_RXFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the I2C_END_DETECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn end_detect(&mut self) -> END_DETECT_W { END_DETECT_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear the I2C_END_DETECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn byte_trans_done(&mut self) -> BYTE_TRANS_DONE_W { BYTE_TRANS_DONE_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the I2C_ARBITRATION_LOST_INT interrupt."] #[inline(always)] - #[must_use] pub fn arbitration_lost(&mut self) -> ARBITRATION_LOST_W { ARBITRATION_LOST_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear I2C_TRANS_COMPLETE_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_txfifo_udf(&mut self) -> MST_TXFIFO_UDF_W { MST_TXFIFO_UDF_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the I2C_TRANS_COMPLETE_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_complete(&mut self) -> TRANS_COMPLETE_W { TRANS_COMPLETE_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the I2C_TIME_OUT_INT interrupt."] #[inline(always)] - #[must_use] pub fn time_out(&mut self) -> TIME_OUT_W { TIME_OUT_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear the I2C_TRANS_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_start(&mut self) -> TRANS_START_W { TRANS_START_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to clear I2C_SLAVE_STRETCH_INT interrupt."] #[inline(always)] - #[must_use] pub fn nack(&mut self) -> NACK_W { NACK_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear I2C_TXFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_ovf(&mut self) -> TXFIFO_OVF_W { TXFIFO_OVF_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to clear I2C_RXFIFO_UDF_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_udf(&mut self) -> RXFIFO_UDF_W { RXFIFO_UDF_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to clear I2C_SCL_ST_TO_INT interrupt."] #[inline(always)] - #[must_use] pub fn scl_st_to(&mut self) -> SCL_ST_TO_W { SCL_ST_TO_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to clear I2C_SCL_MAIN_ST_TO_INT interrupt."] #[inline(always)] - #[must_use] pub fn scl_main_st_to(&mut self) -> SCL_MAIN_ST_TO_W { SCL_MAIN_ST_TO_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to clear I2C_DET_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn det_start(&mut self) -> DET_START_W { DET_START_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to clear I2C_SLAVE_STRETCH_INT interrupt."] #[inline(always)] - #[must_use] pub fn slave_stretch(&mut self) -> SLAVE_STRETCH_W { SLAVE_STRETCH_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to clear I2C_GENARAL_CALL_INT interrupt."] #[inline(always)] - #[must_use] pub fn general_call(&mut self) -> GENERAL_CALL_W { GENERAL_CALL_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to clear I2C_SLAVE_ADDR_UNMATCH_INT_RAW interrupt."] #[inline(always)] - #[must_use] pub fn slave_addr_unmatch(&mut self) -> SLAVE_ADDR_UNMATCH_W { SLAVE_ADDR_UNMATCH_W::new(self, 18) } diff --git a/esp32c6/src/i2c0/int_ena.rs b/esp32c6/src/i2c0/int_ena.rs index dbd33c42dd..805a65204c 100644 --- a/esp32c6/src/i2c0/int_ena.rs +++ b/esp32c6/src/i2c0/int_ena.rs @@ -204,115 +204,96 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for I2C_RXFIFO_WM_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_wm(&mut self) -> RXFIFO_WM_W { RXFIFO_WM_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for I2C_TXFIFO_WM_INT interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_wm(&mut self) -> TXFIFO_WM_W { TXFIFO_WM_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for I2C_RXFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the I2C_END_DETECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn end_detect(&mut self) -> END_DETECT_W { END_DETECT_W::new(self, 3) } #[doc = "Bit 4 - The interrupt enable bit for the I2C_END_DETECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn byte_trans_done(&mut self) -> BYTE_TRANS_DONE_W { BYTE_TRANS_DONE_W::new(self, 4) } #[doc = "Bit 5 - The interrupt enable bit for the I2C_ARBITRATION_LOST_INT interrupt."] #[inline(always)] - #[must_use] pub fn arbitration_lost(&mut self) -> ARBITRATION_LOST_W { ARBITRATION_LOST_W::new(self, 5) } #[doc = "Bit 6 - The interrupt enable bit for I2C_TRANS_COMPLETE_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_txfifo_udf(&mut self) -> MST_TXFIFO_UDF_W { MST_TXFIFO_UDF_W::new(self, 6) } #[doc = "Bit 7 - The interrupt enable bit for the I2C_TRANS_COMPLETE_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_complete(&mut self) -> TRANS_COMPLETE_W { TRANS_COMPLETE_W::new(self, 7) } #[doc = "Bit 8 - The interrupt enable bit for the I2C_TIME_OUT_INT interrupt."] #[inline(always)] - #[must_use] pub fn time_out(&mut self) -> TIME_OUT_W { TIME_OUT_W::new(self, 8) } #[doc = "Bit 9 - The interrupt enable bit for the I2C_TRANS_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_start(&mut self) -> TRANS_START_W { TRANS_START_W::new(self, 9) } #[doc = "Bit 10 - The interrupt enable bit for I2C_SLAVE_STRETCH_INT interrupt."] #[inline(always)] - #[must_use] pub fn nack(&mut self) -> NACK_W { NACK_W::new(self, 10) } #[doc = "Bit 11 - The interrupt enable bit for I2C_TXFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_ovf(&mut self) -> TXFIFO_OVF_W { TXFIFO_OVF_W::new(self, 11) } #[doc = "Bit 12 - The interrupt enable bit for I2C_RXFIFO_UDF_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_udf(&mut self) -> RXFIFO_UDF_W { RXFIFO_UDF_W::new(self, 12) } #[doc = "Bit 13 - The interrupt enable bit for I2C_SCL_ST_TO_INT interrupt."] #[inline(always)] - #[must_use] pub fn scl_st_to(&mut self) -> SCL_ST_TO_W { SCL_ST_TO_W::new(self, 13) } #[doc = "Bit 14 - The interrupt enable bit for I2C_SCL_MAIN_ST_TO_INT interrupt."] #[inline(always)] - #[must_use] pub fn scl_main_st_to(&mut self) -> SCL_MAIN_ST_TO_W { SCL_MAIN_ST_TO_W::new(self, 14) } #[doc = "Bit 15 - The interrupt enable bit for I2C_DET_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn det_start(&mut self) -> DET_START_W { DET_START_W::new(self, 15) } #[doc = "Bit 16 - The interrupt enable bit for I2C_SLAVE_STRETCH_INT interrupt."] #[inline(always)] - #[must_use] pub fn slave_stretch(&mut self) -> SLAVE_STRETCH_W { SLAVE_STRETCH_W::new(self, 16) } #[doc = "Bit 17 - The interrupt enable bit for I2C_GENARAL_CALL_INT interrupt."] #[inline(always)] - #[must_use] pub fn general_call(&mut self) -> GENERAL_CALL_W { GENERAL_CALL_W::new(self, 17) } #[doc = "Bit 18 - The interrupt enable bit for I2C_SLAVE_ADDR_UNMATCH_INT interrupt."] #[inline(always)] - #[must_use] pub fn slave_addr_unmatch(&mut self) -> SLAVE_ADDR_UNMATCH_W { SLAVE_ADDR_UNMATCH_W::new(self, 18) } diff --git a/esp32c6/src/i2c0/scl_high_period.rs b/esp32c6/src/i2c0/scl_high_period.rs index de59a22f03..7f223ad3d7 100644 --- a/esp32c6/src/i2c0/scl_high_period.rs +++ b/esp32c6/src/i2c0/scl_high_period.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure for how long SCL remains high in master mode, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn scl_high_period(&mut self) -> SCL_HIGH_PERIOD_W { SCL_HIGH_PERIOD_W::new(self, 0) } #[doc = "Bits 9:15 - This register is used to configure for the SCL_FSM's waiting period for SCL high level in master mode, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn scl_wait_high_period(&mut self) -> SCL_WAIT_HIGH_PERIOD_W { SCL_WAIT_HIGH_PERIOD_W::new(self, 9) } diff --git a/esp32c6/src/i2c0/scl_low_period.rs b/esp32c6/src/i2c0/scl_low_period.rs index f8d802b480..9874b6f962 100644 --- a/esp32c6/src/i2c0/scl_low_period.rs +++ b/esp32c6/src/i2c0/scl_low_period.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure for how long SCL remains low in master mode, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn scl_low_period(&mut self) -> SCL_LOW_PERIOD_W { SCL_LOW_PERIOD_W::new(self, 0) } diff --git a/esp32c6/src/i2c0/scl_main_st_time_out.rs b/esp32c6/src/i2c0/scl_main_st_time_out.rs index 4b94a84d01..c96787154f 100644 --- a/esp32c6/src/i2c0/scl_main_st_time_out.rs +++ b/esp32c6/src/i2c0/scl_main_st_time_out.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - The threshold value of SCL_MAIN_FSM state unchanged period.nIt should be o more than 23"] #[inline(always)] - #[must_use] pub fn scl_main_st_to_i2c(&mut self) -> SCL_MAIN_ST_TO_I2C_W { SCL_MAIN_ST_TO_I2C_W::new(self, 0) } diff --git a/esp32c6/src/i2c0/scl_rstart_setup.rs b/esp32c6/src/i2c0/scl_rstart_setup.rs index c1a7053eec..203436a57b 100644 --- a/esp32c6/src/i2c0/scl_rstart_setup.rs +++ b/esp32c6/src/i2c0/scl_rstart_setup.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure the time between the positive edge of SCL and the negative edge of SDA for a RESTART condition, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32c6/src/i2c0/scl_sp_conf.rs b/esp32c6/src/i2c0/scl_sp_conf.rs index ed2452044b..dbc65b04e9 100644 --- a/esp32c6/src/i2c0/scl_sp_conf.rs +++ b/esp32c6/src/i2c0/scl_sp_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - When I2C master is IDLE, set this bit to send out SCL pulses. The number of pulses equals to reg_scl_rst_slv_num\\[4:0\\]."] #[inline(always)] - #[must_use] pub fn scl_rst_slv_en(&mut self) -> SCL_RST_SLV_EN_W { SCL_RST_SLV_EN_W::new(self, 0) } #[doc = "Bits 1:5 - Configure the pulses of SCL generated in I2C master mode. Valid when reg_scl_rst_slv_en is 1."] #[inline(always)] - #[must_use] pub fn scl_rst_slv_num(&mut self) -> SCL_RST_SLV_NUM_W { SCL_RST_SLV_NUM_W::new(self, 1) } #[doc = "Bit 6 - The power down enable bit for the I2C output SCL line. 1: Power down. 0: Not power down. Set reg_scl_force_out and reg_scl_pd_en to 1 to stretch SCL low."] #[inline(always)] - #[must_use] pub fn scl_pd_en(&mut self) -> SCL_PD_EN_W { SCL_PD_EN_W::new(self, 6) } #[doc = "Bit 7 - The power down enable bit for the I2C output SDA line. 1: Power down. 0: Not power down. Set reg_sda_force_out and reg_sda_pd_en to 1 to stretch SDA low."] #[inline(always)] - #[must_use] pub fn sda_pd_en(&mut self) -> SDA_PD_EN_W { SDA_PD_EN_W::new(self, 7) } diff --git a/esp32c6/src/i2c0/scl_st_time_out.rs b/esp32c6/src/i2c0/scl_st_time_out.rs index 5d5bb0cdf0..2c4ef3d12d 100644 --- a/esp32c6/src/i2c0/scl_st_time_out.rs +++ b/esp32c6/src/i2c0/scl_st_time_out.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - The threshold value of SCL_FSM state unchanged period. It should be o more than 23"] #[inline(always)] - #[must_use] pub fn scl_st_to_i2c(&mut self) -> SCL_ST_TO_I2C_W { SCL_ST_TO_I2C_W::new(self, 0) } diff --git a/esp32c6/src/i2c0/scl_start_hold.rs b/esp32c6/src/i2c0/scl_start_hold.rs index 9c5229f113..efdfbc194d 100644 --- a/esp32c6/src/i2c0/scl_start_hold.rs +++ b/esp32c6/src/i2c0/scl_start_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure the time between the negative edge of SDA and the negative edge of SCL for a START condition, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32c6/src/i2c0/scl_stop_hold.rs b/esp32c6/src/i2c0/scl_stop_hold.rs index da01c0553d..df2ba1ff1a 100644 --- a/esp32c6/src/i2c0/scl_stop_hold.rs +++ b/esp32c6/src/i2c0/scl_stop_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure the delay after the STOP condition, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32c6/src/i2c0/scl_stop_setup.rs b/esp32c6/src/i2c0/scl_stop_setup.rs index cfa05ff67e..d1db579730 100644 --- a/esp32c6/src/i2c0/scl_stop_setup.rs +++ b/esp32c6/src/i2c0/scl_stop_setup.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure the time between the positive edge of SCL and the positive edge of SDA, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32c6/src/i2c0/scl_stretch_conf.rs b/esp32c6/src/i2c0/scl_stretch_conf.rs index 729b74ea69..8b037fc596 100644 --- a/esp32c6/src/i2c0/scl_stretch_conf.rs +++ b/esp32c6/src/i2c0/scl_stretch_conf.rs @@ -56,31 +56,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - Configure the period of I2C slave stretching SCL line."] #[inline(always)] - #[must_use] pub fn stretch_protect_num(&mut self) -> STRETCH_PROTECT_NUM_W { STRETCH_PROTECT_NUM_W::new(self, 0) } #[doc = "Bit 10 - The enable bit for slave SCL stretch function. 1: Enable. 0: Disable. The SCL output line will be stretched low when reg_slave_scl_stretch_en is 1 and stretch event happens. The stretch cause can be seen in reg_stretch_cause."] #[inline(always)] - #[must_use] pub fn slave_scl_stretch_en(&mut self) -> SLAVE_SCL_STRETCH_EN_W { SLAVE_SCL_STRETCH_EN_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear the I2C slave SCL stretch function."] #[inline(always)] - #[must_use] pub fn slave_scl_stretch_clr(&mut self) -> SLAVE_SCL_STRETCH_CLR_W { SLAVE_SCL_STRETCH_CLR_W::new(self, 11) } #[doc = "Bit 12 - The enable bit for slave to control ACK level function."] #[inline(always)] - #[must_use] pub fn slave_byte_ack_ctl_en(&mut self) -> SLAVE_BYTE_ACK_CTL_EN_W { SLAVE_BYTE_ACK_CTL_EN_W::new(self, 12) } #[doc = "Bit 13 - Set the ACK level when slave controlling ACK level function enables."] #[inline(always)] - #[must_use] pub fn slave_byte_ack_lvl(&mut self) -> SLAVE_BYTE_ACK_LVL_W { SLAVE_BYTE_ACK_LVL_W::new(self, 13) } diff --git a/esp32c6/src/i2c0/sda_hold.rs b/esp32c6/src/i2c0/sda_hold.rs index a0d78acbb9..4a67e2222b 100644 --- a/esp32c6/src/i2c0/sda_hold.rs +++ b/esp32c6/src/i2c0/sda_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure the time to hold the data after the negative edge of SCL, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32c6/src/i2c0/sda_sample.rs b/esp32c6/src/i2c0/sda_sample.rs index b03e34e366..b211168b11 100644 --- a/esp32c6/src/i2c0/sda_sample.rs +++ b/esp32c6/src/i2c0/sda_sample.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure for how long SDA is sampled, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32c6/src/i2c0/slave_addr.rs b/esp32c6/src/i2c0/slave_addr.rs index ee01a15ed5..1b27ba5ce3 100644 --- a/esp32c6/src/i2c0/slave_addr.rs +++ b/esp32c6/src/i2c0/slave_addr.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:14 - When configured as an I2C Slave, this field is used to configure the slave address."] #[inline(always)] - #[must_use] pub fn slave_addr(&mut self) -> SLAVE_ADDR_W { SLAVE_ADDR_W::new(self, 0) } #[doc = "Bit 31 - This field is used to enable the slave 10-bit addressing mode in master mode."] #[inline(always)] - #[must_use] pub fn addr_10bit_en(&mut self) -> ADDR_10BIT_EN_W { ADDR_10BIT_EN_W::new(self, 31) } diff --git a/esp32c6/src/i2c0/to.rs b/esp32c6/src/i2c0/to.rs index 9b92f1f93a..aa23944258 100644 --- a/esp32c6/src/i2c0/to.rs +++ b/esp32c6/src/i2c0/to.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to configure the timeout for receiving a data bit in APB clock cycles."] #[inline(always)] - #[must_use] pub fn time_out_value(&mut self) -> TIME_OUT_VALUE_W { TIME_OUT_VALUE_W::new(self, 0) } #[doc = "Bit 5 - This is the enable bit for time out control."] #[inline(always)] - #[must_use] pub fn time_out_en(&mut self) -> TIME_OUT_EN_W { TIME_OUT_EN_W::new(self, 5) } diff --git a/esp32c6/src/i2s0/conf_sigle_data.rs b/esp32c6/src/i2s0/conf_sigle_data.rs index 50a4d005f8..27ac6bf4a9 100644 --- a/esp32c6/src/i2s0/conf_sigle_data.rs +++ b/esp32c6/src/i2s0/conf_sigle_data.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The configured constant channel data to be sent out."] #[inline(always)] - #[must_use] pub fn single_data(&mut self) -> SINGLE_DATA_W { SINGLE_DATA_W::new(self, 0) } diff --git a/esp32c6/src/i2s0/date.rs b/esp32c6/src/i2s0/date.rs index 8ce1c99423..4e08c69736 100644 --- a/esp32c6/src/i2s0/date.rs +++ b/esp32c6/src/i2s0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - I2S version control register"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/i2s0/etm_conf.rs b/esp32c6/src/i2s0/etm_conf.rs index c29f755899..8e6f914a70 100644 --- a/esp32c6/src/i2s0/etm_conf.rs +++ b/esp32c6/src/i2s0/etm_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - I2S ETM send x words event. When sending word number of reg_etm_tx_send_word_num\\[9:0\\], i2s will trigger an etm event."] #[inline(always)] - #[must_use] pub fn etm_tx_send_word_num(&mut self) -> ETM_TX_SEND_WORD_NUM_W { ETM_TX_SEND_WORD_NUM_W::new(self, 0) } #[doc = "Bits 10:19 - I2S ETM receive x words event. When receiving word number of reg_etm_rx_receive_word_num\\[9:0\\], i2s will trigger an etm event."] #[inline(always)] - #[must_use] pub fn etm_rx_receive_word_num(&mut self) -> ETM_RX_RECEIVE_WORD_NUM_W { ETM_RX_RECEIVE_WORD_NUM_W::new(self, 10) } diff --git a/esp32c6/src/i2s0/int_clr.rs b/esp32c6/src/i2s0/int_clr.rs index c3a99c694f..1719a408f1 100644 --- a/esp32c6/src/i2s0/int_clr.rs +++ b/esp32c6/src/i2s0/int_clr.rs @@ -17,25 +17,21 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the i2s_rx_done_int interrupt"] #[inline(always)] - #[must_use] pub fn rx_done(&mut self) -> RX_DONE_W { RX_DONE_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the i2s_tx_done_int interrupt"] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the i2s_rx_hung_int interrupt"] #[inline(always)] - #[must_use] pub fn rx_hung(&mut self) -> RX_HUNG_W { RX_HUNG_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the i2s_tx_hung_int interrupt"] #[inline(always)] - #[must_use] pub fn tx_hung(&mut self) -> TX_HUNG_W { TX_HUNG_W::new(self, 3) } diff --git a/esp32c6/src/i2s0/int_ena.rs b/esp32c6/src/i2s0/int_ena.rs index 0f2bb7d8e0..c87530a8a6 100644 --- a/esp32c6/src/i2s0/int_ena.rs +++ b/esp32c6/src/i2s0/int_ena.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for the i2s_rx_done_int interrupt"] #[inline(always)] - #[must_use] pub fn rx_done(&mut self) -> RX_DONE_W { RX_DONE_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the i2s_tx_done_int interrupt"] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the i2s_rx_hung_int interrupt"] #[inline(always)] - #[must_use] pub fn rx_hung(&mut self) -> RX_HUNG_W { RX_HUNG_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the i2s_tx_hung_int interrupt"] #[inline(always)] - #[must_use] pub fn tx_hung(&mut self) -> TX_HUNG_W { TX_HUNG_W::new(self, 3) } diff --git a/esp32c6/src/i2s0/lc_hung_conf.rs b/esp32c6/src/i2s0/lc_hung_conf.rs index 187de6aa6f..323187c7df 100644 --- a/esp32c6/src/i2s0/lc_hung_conf.rs +++ b/esp32c6/src/i2s0/lc_hung_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - the i2s_tx_hung_int interrupt or the i2s_rx_hung_int interrupt will be triggered when fifo hung counter is equal to this value"] #[inline(always)] - #[must_use] pub fn lc_fifo_timeout(&mut self) -> LC_FIFO_TIMEOUT_W { LC_FIFO_TIMEOUT_W::new(self, 0) } #[doc = "Bits 8:10 - The bits are used to scale tick counter threshold. The tick counter is reset when counter value >= 88000/2^i2s_lc_fifo_timeout_shift"] #[inline(always)] - #[must_use] pub fn lc_fifo_timeout_shift(&mut self) -> LC_FIFO_TIMEOUT_SHIFT_W { LC_FIFO_TIMEOUT_SHIFT_W::new(self, 8) } #[doc = "Bit 11 - The enable bit for FIFO timeout"] #[inline(always)] - #[must_use] pub fn lc_fifo_timeout_ena(&mut self) -> LC_FIFO_TIMEOUT_ENA_W { LC_FIFO_TIMEOUT_ENA_W::new(self, 11) } diff --git a/esp32c6/src/i2s0/rx_clkm_conf.rs b/esp32c6/src/i2s0/rx_clkm_conf.rs index 89f45bca23..140e2179d1 100644 --- a/esp32c6/src/i2s0/rx_clkm_conf.rs +++ b/esp32c6/src/i2s0/rx_clkm_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Integral I2S clock divider value"] #[inline(always)] - #[must_use] pub fn rx_clkm_div_num(&mut self) -> RX_CLKM_DIV_NUM_W { RX_CLKM_DIV_NUM_W::new(self, 0) } #[doc = "Bit 26 - I2S Rx module clock enable signal."] #[inline(always)] - #[must_use] pub fn rx_clk_active(&mut self) -> RX_CLK_ACTIVE_W { RX_CLK_ACTIVE_W::new(self, 26) } #[doc = "Bits 27:28 - Select I2S Rx module source clock. 0: no clock. 1: APLL. 2: CLK160. 3: I2S_MCLK_in."] #[inline(always)] - #[must_use] pub fn rx_clk_sel(&mut self) -> RX_CLK_SEL_W { RX_CLK_SEL_W::new(self, 27) } #[doc = "Bit 29 - 0: UseI2S Tx module clock as I2S_MCLK_OUT. 1: UseI2S Rx module clock as I2S_MCLK_OUT."] #[inline(always)] - #[must_use] pub fn mclk_sel(&mut self) -> MCLK_SEL_W { MCLK_SEL_W::new(self, 29) } diff --git a/esp32c6/src/i2s0/rx_clkm_div_conf.rs b/esp32c6/src/i2s0/rx_clkm_div_conf.rs index 8ebfa2b7d2..c14256acfa 100644 --- a/esp32c6/src/i2s0/rx_clkm_div_conf.rs +++ b/esp32c6/src/i2s0/rx_clkm_div_conf.rs @@ -2,39 +2,39 @@ pub type R = crate::R; #[doc = "Register `RX_CLKM_DIV_CONF` writer"] pub type W = crate::W; -#[doc = "Field `RX_CLKM_DIV_Z` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] +#[doc = "Field `RX_CLKM_DIV_Z` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] pub type RX_CLKM_DIV_Z_R = crate::FieldReader; -#[doc = "Field `RX_CLKM_DIV_Z` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] +#[doc = "Field `RX_CLKM_DIV_Z` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] pub type RX_CLKM_DIV_Z_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `RX_CLKM_DIV_Y` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] +#[doc = "Field `RX_CLKM_DIV_Y` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] pub type RX_CLKM_DIV_Y_R = crate::FieldReader; -#[doc = "Field `RX_CLKM_DIV_Y` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] +#[doc = "Field `RX_CLKM_DIV_Y` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] pub type RX_CLKM_DIV_Y_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `RX_CLKM_DIV_X` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] +#[doc = "Field `RX_CLKM_DIV_X` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] pub type RX_CLKM_DIV_X_R = crate::FieldReader; -#[doc = "Field `RX_CLKM_DIV_X` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] +#[doc = "Field `RX_CLKM_DIV_X` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] pub type RX_CLKM_DIV_X_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `RX_CLKM_DIV_YN1` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] +#[doc = "Field `RX_CLKM_DIV_YN1` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] pub type RX_CLKM_DIV_YN1_R = crate::BitReader; -#[doc = "Field `RX_CLKM_DIV_YN1` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] +#[doc = "Field `RX_CLKM_DIV_YN1` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] pub type RX_CLKM_DIV_YN1_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { - #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] + #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] #[inline(always)] pub fn rx_clkm_div_z(&self) -> RX_CLKM_DIV_Z_R { RX_CLKM_DIV_Z_R::new((self.bits & 0x01ff) as u16) } - #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] + #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] #[inline(always)] pub fn rx_clkm_div_y(&self) -> RX_CLKM_DIV_Y_R { RX_CLKM_DIV_Y_R::new(((self.bits >> 9) & 0x01ff) as u16) } - #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] + #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] #[inline(always)] pub fn rx_clkm_div_x(&self) -> RX_CLKM_DIV_X_R { RX_CLKM_DIV_X_R::new(((self.bits >> 18) & 0x01ff) as u16) } - #[doc = "Bit 27 - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] + #[doc = "Bit 27 - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] #[inline(always)] pub fn rx_clkm_div_yn1(&self) -> RX_CLKM_DIV_YN1_R { RX_CLKM_DIV_YN1_R::new(((self.bits >> 27) & 1) != 0) @@ -52,27 +52,23 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] + #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] #[inline(always)] - #[must_use] pub fn rx_clkm_div_z(&mut self) -> RX_CLKM_DIV_Z_W { RX_CLKM_DIV_Z_W::new(self, 0) } - #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] + #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] #[inline(always)] - #[must_use] pub fn rx_clkm_div_y(&mut self) -> RX_CLKM_DIV_Y_W { RX_CLKM_DIV_Y_W::new(self, 9) } - #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] + #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] #[inline(always)] - #[must_use] pub fn rx_clkm_div_x(&mut self) -> RX_CLKM_DIV_X_W { RX_CLKM_DIV_X_W::new(self, 18) } - #[doc = "Bit 27 - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] + #[doc = "Bit 27 - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] #[inline(always)] - #[must_use] pub fn rx_clkm_div_yn1(&mut self) -> RX_CLKM_DIV_YN1_W { RX_CLKM_DIV_YN1_W::new(self, 27) } diff --git a/esp32c6/src/i2s0/rx_conf.rs b/esp32c6/src/i2s0/rx_conf.rs index edaa8a1a29..0e70426ffc 100644 --- a/esp32c6/src/i2s0/rx_conf.rs +++ b/esp32c6/src/i2s0/rx_conf.rs @@ -30,9 +30,9 @@ pub type RX_UPDATE_W<'a, REG> = crate::BitWriter<'a, REG>; pub type RX_MONO_FST_VLD_R = crate::BitReader; #[doc = "Field `RX_MONO_FST_VLD` writer - 1: The first channel data value is valid in I2S RX mono mode. 0: The second channel data value is valid in I2S RX mono mode."] pub type RX_MONO_FST_VLD_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `RX_PCM_CONF` reader - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] +#[doc = "Field `RX_PCM_CONF` reader - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] pub type RX_PCM_CONF_R = crate::FieldReader; -#[doc = "Field `RX_PCM_CONF` writer - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] +#[doc = "Field `RX_PCM_CONF` writer - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] pub type RX_PCM_CONF_W<'a, REG> = crate::FieldWriter<'a, REG, 2>; #[doc = "Field `RX_PCM_BYPASS` reader - Set this bit to bypass Compress/Decompress module for received data."] pub type RX_PCM_BYPASS_R = crate::BitReader; @@ -97,7 +97,7 @@ impl R { pub fn rx_mono_fst_vld(&self) -> RX_MONO_FST_VLD_R { RX_MONO_FST_VLD_R::new(((self.bits >> 9) & 1) != 0) } - #[doc = "Bits 10:11 - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] + #[doc = "Bits 10:11 - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] #[inline(always)] pub fn rx_pcm_conf(&self) -> RX_PCM_CONF_R { RX_PCM_CONF_R::new(((self.bits >> 10) & 3) as u8) @@ -168,103 +168,86 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to reset receiver"] #[inline(always)] - #[must_use] pub fn rx_reset(&mut self) -> RX_RESET_W { RX_RESET_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to reset Rx AFIFO"] #[inline(always)] - #[must_use] pub fn rx_fifo_reset(&mut self) -> RX_FIFO_RESET_W { RX_FIFO_RESET_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to start receiving data"] #[inline(always)] - #[must_use] pub fn rx_start(&mut self) -> RX_START_W { RX_START_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to enable slave receiver mode"] #[inline(always)] - #[must_use] pub fn rx_slave_mod(&mut self) -> RX_SLAVE_MOD_W { RX_SLAVE_MOD_W::new(self, 3) } #[doc = "Bit 5 - Set this bit to enable receiver in mono mode"] #[inline(always)] - #[must_use] pub fn rx_mono(&mut self) -> RX_MONO_W { RX_MONO_W::new(self, 5) } #[doc = "Bit 7 - I2S Rx byte endian, 1: low addr value to high addr. 0: low addr with low addr value."] #[inline(always)] - #[must_use] pub fn rx_big_endian(&mut self) -> RX_BIG_ENDIAN_W { RX_BIG_ENDIAN_W::new(self, 7) } #[doc = "Bit 8 - Set 1 to update I2S RX registers from APB clock domain to I2S RX clock domain. This bit will be cleared by hardware after update register done."] #[inline(always)] - #[must_use] pub fn rx_update(&mut self) -> RX_UPDATE_W { RX_UPDATE_W::new(self, 8) } #[doc = "Bit 9 - 1: The first channel data value is valid in I2S RX mono mode. 0: The second channel data value is valid in I2S RX mono mode."] #[inline(always)] - #[must_use] pub fn rx_mono_fst_vld(&mut self) -> RX_MONO_FST_VLD_W { RX_MONO_FST_VLD_W::new(self, 9) } - #[doc = "Bits 10:11 - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] + #[doc = "Bits 10:11 - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] #[inline(always)] - #[must_use] pub fn rx_pcm_conf(&mut self) -> RX_PCM_CONF_W { RX_PCM_CONF_W::new(self, 10) } #[doc = "Bit 12 - Set this bit to bypass Compress/Decompress module for received data."] #[inline(always)] - #[must_use] pub fn rx_pcm_bypass(&mut self) -> RX_PCM_BYPASS_W { RX_PCM_BYPASS_W::new(self, 12) } #[doc = "Bits 13:14 - 0 : I2S Rx only stop when reg_rx_start is cleared. 1: Stop when reg_rx_start is 0 or in_suc_eof is 1. 2: Stop I2S RX when reg_rx_start is 0 or RX FIFO is full."] #[inline(always)] - #[must_use] pub fn rx_stop_mode(&mut self) -> RX_STOP_MODE_W { RX_STOP_MODE_W::new(self, 13) } #[doc = "Bit 15 - 1: I2S RX left alignment mode. 0: I2S RX right alignment mode."] #[inline(always)] - #[must_use] pub fn rx_left_align(&mut self) -> RX_LEFT_ALIGN_W { RX_LEFT_ALIGN_W::new(self, 15) } #[doc = "Bit 16 - 1: store 24 channel bits to 32 bits. 0:store 24 channel bits to 24 bits."] #[inline(always)] - #[must_use] pub fn rx_24_fill_en(&mut self) -> RX_24_FILL_EN_W { RX_24_FILL_EN_W::new(self, 16) } #[doc = "Bit 17 - 0: WS should be 0 when receiving left channel data, and WS is 1in right channel. 1: WS should be 1 when receiving left channel data, and WS is 0in right channel."] #[inline(always)] - #[must_use] pub fn rx_ws_idle_pol(&mut self) -> RX_WS_IDLE_POL_W { RX_WS_IDLE_POL_W::new(self, 17) } #[doc = "Bit 18 - I2S Rx bit endian. 1:small endian, the LSB is received first. 0:big endian, the MSB is received first."] #[inline(always)] - #[must_use] pub fn rx_bit_order(&mut self) -> RX_BIT_ORDER_W { RX_BIT_ORDER_W::new(self, 18) } #[doc = "Bit 19 - 1: Enable I2S TDM Rx mode . 0: Disable."] #[inline(always)] - #[must_use] pub fn rx_tdm_en(&mut self) -> RX_TDM_EN_W { RX_TDM_EN_W::new(self, 19) } #[doc = "Bit 20 - 1: Enable I2S PDM Rx mode . 0: Disable."] #[inline(always)] - #[must_use] pub fn rx_pdm_en(&mut self) -> RX_PDM_EN_W { RX_PDM_EN_W::new(self, 20) } diff --git a/esp32c6/src/i2s0/rx_conf1.rs b/esp32c6/src/i2s0/rx_conf1.rs index d3795df6cb..ba9590de00 100644 --- a/esp32c6/src/i2s0/rx_conf1.rs +++ b/esp32c6/src/i2s0/rx_conf1.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - The width of rx_ws_out in TDM mode is (I2S_RX_TDM_WS_WIDTH\\[6:0\\] +1) * T_bck"] #[inline(always)] - #[must_use] pub fn rx_tdm_ws_width(&mut self) -> RX_TDM_WS_WIDTH_W { RX_TDM_WS_WIDTH_W::new(self, 0) } #[doc = "Bits 7:12 - Bit clock configuration bits in receiver mode."] #[inline(always)] - #[must_use] pub fn rx_bck_div_num(&mut self) -> RX_BCK_DIV_NUM_W { RX_BCK_DIV_NUM_W::new(self, 7) } #[doc = "Bits 13:17 - Set the bits to configure the valid data bit length of I2S receiver channel. 7: all the valid channel data is in 8-bit-mode. 15: all the valid channel data is in 16-bit-mode. 23: all the valid channel data is in 24-bit-mode. 31:all the valid channel data is in 32-bit-mode."] #[inline(always)] - #[must_use] pub fn rx_bits_mod(&mut self) -> RX_BITS_MOD_W { RX_BITS_MOD_W::new(self, 13) } #[doc = "Bits 18:23 - I2S Rx half sample bits -1."] #[inline(always)] - #[must_use] pub fn rx_half_sample_bits(&mut self) -> RX_HALF_SAMPLE_BITS_W { RX_HALF_SAMPLE_BITS_W::new(self, 18) } #[doc = "Bits 24:28 - The Rx bit number for each channel minus 1in TDM mode."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan_bits(&mut self) -> RX_TDM_CHAN_BITS_W { RX_TDM_CHAN_BITS_W::new(self, 24) } #[doc = "Bit 29 - Set this bit to enable receiver in Phillips standard mode"] #[inline(always)] - #[must_use] pub fn rx_msb_shift(&mut self) -> RX_MSB_SHIFT_W { RX_MSB_SHIFT_W::new(self, 29) } diff --git a/esp32c6/src/i2s0/rx_tdm_ctrl.rs b/esp32c6/src/i2s0/rx_tdm_ctrl.rs index 145b893140..430d8487d3 100644 --- a/esp32c6/src/i2s0/rx_tdm_ctrl.rs +++ b/esp32c6/src/i2s0/rx_tdm_ctrl.rs @@ -184,103 +184,86 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: Enable the valid data input of I2S RX TDM or PDM channel 0. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan0_en(&mut self) -> RX_TDM_PDM_CHAN0_EN_W { RX_TDM_PDM_CHAN0_EN_W::new(self, 0) } #[doc = "Bit 1 - 1: Enable the valid data input of I2S RX TDM or PDM channel 1. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan1_en(&mut self) -> RX_TDM_PDM_CHAN1_EN_W { RX_TDM_PDM_CHAN1_EN_W::new(self, 1) } #[doc = "Bit 2 - 1: Enable the valid data input of I2S RX TDM or PDM channel 2. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan2_en(&mut self) -> RX_TDM_PDM_CHAN2_EN_W { RX_TDM_PDM_CHAN2_EN_W::new(self, 2) } #[doc = "Bit 3 - 1: Enable the valid data input of I2S RX TDM or PDM channel 3. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan3_en(&mut self) -> RX_TDM_PDM_CHAN3_EN_W { RX_TDM_PDM_CHAN3_EN_W::new(self, 3) } #[doc = "Bit 4 - 1: Enable the valid data input of I2S RX TDM or PDM channel 4. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan4_en(&mut self) -> RX_TDM_PDM_CHAN4_EN_W { RX_TDM_PDM_CHAN4_EN_W::new(self, 4) } #[doc = "Bit 5 - 1: Enable the valid data input of I2S RX TDM or PDM channel 5. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan5_en(&mut self) -> RX_TDM_PDM_CHAN5_EN_W { RX_TDM_PDM_CHAN5_EN_W::new(self, 5) } #[doc = "Bit 6 - 1: Enable the valid data input of I2S RX TDM or PDM channel 6. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan6_en(&mut self) -> RX_TDM_PDM_CHAN6_EN_W { RX_TDM_PDM_CHAN6_EN_W::new(self, 6) } #[doc = "Bit 7 - 1: Enable the valid data input of I2S RX TDM or PDM channel 7. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan7_en(&mut self) -> RX_TDM_PDM_CHAN7_EN_W { RX_TDM_PDM_CHAN7_EN_W::new(self, 7) } #[doc = "Bit 8 - 1: Enable the valid data input of I2S RX TDM channel 8. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan8_en(&mut self) -> RX_TDM_CHAN8_EN_W { RX_TDM_CHAN8_EN_W::new(self, 8) } #[doc = "Bit 9 - 1: Enable the valid data input of I2S RX TDM channel 9. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan9_en(&mut self) -> RX_TDM_CHAN9_EN_W { RX_TDM_CHAN9_EN_W::new(self, 9) } #[doc = "Bit 10 - 1: Enable the valid data input of I2S RX TDM channel 10. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan10_en(&mut self) -> RX_TDM_CHAN10_EN_W { RX_TDM_CHAN10_EN_W::new(self, 10) } #[doc = "Bit 11 - 1: Enable the valid data input of I2S RX TDM channel 11. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan11_en(&mut self) -> RX_TDM_CHAN11_EN_W { RX_TDM_CHAN11_EN_W::new(self, 11) } #[doc = "Bit 12 - 1: Enable the valid data input of I2S RX TDM channel 12. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan12_en(&mut self) -> RX_TDM_CHAN12_EN_W { RX_TDM_CHAN12_EN_W::new(self, 12) } #[doc = "Bit 13 - 1: Enable the valid data input of I2S RX TDM channel 13. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan13_en(&mut self) -> RX_TDM_CHAN13_EN_W { RX_TDM_CHAN13_EN_W::new(self, 13) } #[doc = "Bit 14 - 1: Enable the valid data input of I2S RX TDM channel 14. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan14_en(&mut self) -> RX_TDM_CHAN14_EN_W { RX_TDM_CHAN14_EN_W::new(self, 14) } #[doc = "Bit 15 - 1: Enable the valid data input of I2S RX TDM channel 15. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan15_en(&mut self) -> RX_TDM_CHAN15_EN_W { RX_TDM_CHAN15_EN_W::new(self, 15) } #[doc = "Bits 16:19 - The total channel number of I2S TX TDM mode."] #[inline(always)] - #[must_use] pub fn rx_tdm_tot_chan_num(&mut self) -> RX_TDM_TOT_CHAN_NUM_W { RX_TDM_TOT_CHAN_NUM_W::new(self, 16) } diff --git a/esp32c6/src/i2s0/rx_timing.rs b/esp32c6/src/i2s0/rx_timing.rs index bb9ba20b42..bcf0d0e4ce 100644 --- a/esp32c6/src/i2s0/rx_timing.rs +++ b/esp32c6/src/i2s0/rx_timing.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - The delay mode of I2S Rx SD input signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_sd_in_dm(&mut self) -> RX_SD_IN_DM_W { RX_SD_IN_DM_W::new(self, 0) } #[doc = "Bits 16:17 - The delay mode of I2S Rx WS output signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_ws_out_dm(&mut self) -> RX_WS_OUT_DM_W { RX_WS_OUT_DM_W::new(self, 16) } #[doc = "Bits 20:21 - The delay mode of I2S Rx BCK output signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_bck_out_dm(&mut self) -> RX_BCK_OUT_DM_W { RX_BCK_OUT_DM_W::new(self, 20) } #[doc = "Bits 24:25 - The delay mode of I2S Rx WS input signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_ws_in_dm(&mut self) -> RX_WS_IN_DM_W { RX_WS_IN_DM_W::new(self, 24) } #[doc = "Bits 28:29 - The delay mode of I2S Rx BCK input signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_bck_in_dm(&mut self) -> RX_BCK_IN_DM_W { RX_BCK_IN_DM_W::new(self, 28) } diff --git a/esp32c6/src/i2s0/rxeof_num.rs b/esp32c6/src/i2s0/rxeof_num.rs index 3cc1cab6bd..e06f8c3e0d 100644 --- a/esp32c6/src/i2s0/rxeof_num.rs +++ b/esp32c6/src/i2s0/rxeof_num.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - The receive data bit length is (I2S_RX_BITS_MOD\\[4:0\\] + 1) * (REG_RX_EOF_NUM\\[11:0\\] + 1) . It will trigger in_suc_eof interrupt in the configured DMA RX channel."] #[inline(always)] - #[must_use] pub fn rx_eof_num(&mut self) -> RX_EOF_NUM_W { RX_EOF_NUM_W::new(self, 0) } diff --git a/esp32c6/src/i2s0/tx_clkm_conf.rs b/esp32c6/src/i2s0/tx_clkm_conf.rs index 24561dcbc6..af8d613b56 100644 --- a/esp32c6/src/i2s0/tx_clkm_conf.rs +++ b/esp32c6/src/i2s0/tx_clkm_conf.rs @@ -2,9 +2,9 @@ pub type R = crate::R; #[doc = "Register `TX_CLKM_CONF` writer"] pub type W = crate::W; -#[doc = "Field `TX_CLKM_DIV_NUM` reader - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] +#[doc = "Field `TX_CLKM_DIV_NUM` reader - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] pub type TX_CLKM_DIV_NUM_R = crate::FieldReader; -#[doc = "Field `TX_CLKM_DIV_NUM` writer - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] +#[doc = "Field `TX_CLKM_DIV_NUM` writer - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] pub type TX_CLKM_DIV_NUM_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; #[doc = "Field `TX_CLK_ACTIVE` reader - I2S Tx module clock enable signal."] pub type TX_CLK_ACTIVE_R = crate::BitReader; @@ -19,7 +19,7 @@ pub type CLK_EN_R = crate::BitReader; #[doc = "Field `CLK_EN` writer - Set this bit to enable clk gate"] pub type CLK_EN_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { - #[doc = "Bits 0:7 - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] + #[doc = "Bits 0:7 - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] #[inline(always)] pub fn tx_clkm_div_num(&self) -> TX_CLKM_DIV_NUM_R { TX_CLKM_DIV_NUM_R::new((self.bits & 0xff) as u8) @@ -52,27 +52,23 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bits 0:7 - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] + #[doc = "Bits 0:7 - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] #[inline(always)] - #[must_use] pub fn tx_clkm_div_num(&mut self) -> TX_CLKM_DIV_NUM_W { TX_CLKM_DIV_NUM_W::new(self, 0) } #[doc = "Bit 26 - I2S Tx module clock enable signal."] #[inline(always)] - #[must_use] pub fn tx_clk_active(&mut self) -> TX_CLK_ACTIVE_W { TX_CLK_ACTIVE_W::new(self, 26) } #[doc = "Bits 27:28 - Select I2S Tx module source clock. 0: XTAL clock. 1: APLL. 2: CLK160. 3: I2S_MCLK_in."] #[inline(always)] - #[must_use] pub fn tx_clk_sel(&mut self) -> TX_CLK_SEL_W { TX_CLK_SEL_W::new(self, 27) } #[doc = "Bit 29 - Set this bit to enable clk gate"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 29) } diff --git a/esp32c6/src/i2s0/tx_clkm_div_conf.rs b/esp32c6/src/i2s0/tx_clkm_div_conf.rs index e7b9c46e13..f8c04d20cf 100644 --- a/esp32c6/src/i2s0/tx_clkm_div_conf.rs +++ b/esp32c6/src/i2s0/tx_clkm_div_conf.rs @@ -2,39 +2,39 @@ pub type R = crate::R; #[doc = "Register `TX_CLKM_DIV_CONF` writer"] pub type W = crate::W; -#[doc = "Field `TX_CLKM_DIV_Z` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] +#[doc = "Field `TX_CLKM_DIV_Z` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] pub type TX_CLKM_DIV_Z_R = crate::FieldReader; -#[doc = "Field `TX_CLKM_DIV_Z` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] +#[doc = "Field `TX_CLKM_DIV_Z` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] pub type TX_CLKM_DIV_Z_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `TX_CLKM_DIV_Y` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] +#[doc = "Field `TX_CLKM_DIV_Y` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] pub type TX_CLKM_DIV_Y_R = crate::FieldReader; -#[doc = "Field `TX_CLKM_DIV_Y` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] +#[doc = "Field `TX_CLKM_DIV_Y` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] pub type TX_CLKM_DIV_Y_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `TX_CLKM_DIV_X` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] +#[doc = "Field `TX_CLKM_DIV_X` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] pub type TX_CLKM_DIV_X_R = crate::FieldReader; -#[doc = "Field `TX_CLKM_DIV_X` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] +#[doc = "Field `TX_CLKM_DIV_X` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] pub type TX_CLKM_DIV_X_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `TX_CLKM_DIV_YN1` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] +#[doc = "Field `TX_CLKM_DIV_YN1` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] pub type TX_CLKM_DIV_YN1_R = crate::BitReader; -#[doc = "Field `TX_CLKM_DIV_YN1` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] +#[doc = "Field `TX_CLKM_DIV_YN1` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] pub type TX_CLKM_DIV_YN1_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { - #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] + #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] #[inline(always)] pub fn tx_clkm_div_z(&self) -> TX_CLKM_DIV_Z_R { TX_CLKM_DIV_Z_R::new((self.bits & 0x01ff) as u16) } - #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] + #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] #[inline(always)] pub fn tx_clkm_div_y(&self) -> TX_CLKM_DIV_Y_R { TX_CLKM_DIV_Y_R::new(((self.bits >> 9) & 0x01ff) as u16) } - #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] + #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] #[inline(always)] pub fn tx_clkm_div_x(&self) -> TX_CLKM_DIV_X_R { TX_CLKM_DIV_X_R::new(((self.bits >> 18) & 0x01ff) as u16) } - #[doc = "Bit 27 - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] + #[doc = "Bit 27 - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] #[inline(always)] pub fn tx_clkm_div_yn1(&self) -> TX_CLKM_DIV_YN1_R { TX_CLKM_DIV_YN1_R::new(((self.bits >> 27) & 1) != 0) @@ -52,27 +52,23 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] + #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] #[inline(always)] - #[must_use] pub fn tx_clkm_div_z(&mut self) -> TX_CLKM_DIV_Z_W { TX_CLKM_DIV_Z_W::new(self, 0) } - #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] + #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] #[inline(always)] - #[must_use] pub fn tx_clkm_div_y(&mut self) -> TX_CLKM_DIV_Y_W { TX_CLKM_DIV_Y_W::new(self, 9) } - #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] + #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] #[inline(always)] - #[must_use] pub fn tx_clkm_div_x(&mut self) -> TX_CLKM_DIV_X_W { TX_CLKM_DIV_X_W::new(self, 18) } - #[doc = "Bit 27 - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] + #[doc = "Bit 27 - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] #[inline(always)] - #[must_use] pub fn tx_clkm_div_yn1(&mut self) -> TX_CLKM_DIV_YN1_W { TX_CLKM_DIV_YN1_W::new(self, 27) } diff --git a/esp32c6/src/i2s0/tx_conf.rs b/esp32c6/src/i2s0/tx_conf.rs index 48f6449414..628e4fb80d 100644 --- a/esp32c6/src/i2s0/tx_conf.rs +++ b/esp32c6/src/i2s0/tx_conf.rs @@ -34,9 +34,9 @@ pub type TX_UPDATE_W<'a, REG> = crate::BitWriter<'a, REG>; pub type TX_MONO_FST_VLD_R = crate::BitReader; #[doc = "Field `TX_MONO_FST_VLD` writer - 1: The first channel data value is valid in I2S TX mono mode. 0: The second channel data value is valid in I2S TX mono mode."] pub type TX_MONO_FST_VLD_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `TX_PCM_CONF` reader - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] +#[doc = "Field `TX_PCM_CONF` reader - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] pub type TX_PCM_CONF_R = crate::FieldReader; -#[doc = "Field `TX_PCM_CONF` writer - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] +#[doc = "Field `TX_PCM_CONF` writer - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] pub type TX_PCM_CONF_W<'a, REG> = crate::FieldWriter<'a, REG, 2>; #[doc = "Field `TX_PCM_BYPASS` reader - Set this bit to bypass Compress/Decompress module for transmitted data."] pub type TX_PCM_BYPASS_R = crate::BitReader; @@ -114,7 +114,7 @@ impl R { pub fn tx_mono_fst_vld(&self) -> TX_MONO_FST_VLD_R { TX_MONO_FST_VLD_R::new(((self.bits >> 9) & 1) != 0) } - #[doc = "Bits 10:11 - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] + #[doc = "Bits 10:11 - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] #[inline(always)] pub fn tx_pcm_conf(&self) -> TX_PCM_CONF_R { TX_PCM_CONF_R::new(((self.bits >> 10) & 3) as u8) @@ -198,121 +198,101 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to reset transmitter"] #[inline(always)] - #[must_use] pub fn tx_reset(&mut self) -> TX_RESET_W { TX_RESET_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to reset Tx AFIFO"] #[inline(always)] - #[must_use] pub fn tx_fifo_reset(&mut self) -> TX_FIFO_RESET_W { TX_FIFO_RESET_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to start transmitting data"] #[inline(always)] - #[must_use] pub fn tx_start(&mut self) -> TX_START_W { TX_START_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to enable slave transmitter mode"] #[inline(always)] - #[must_use] pub fn tx_slave_mod(&mut self) -> TX_SLAVE_MOD_W { TX_SLAVE_MOD_W::new(self, 3) } #[doc = "Bit 5 - Set this bit to enable transmitter in mono mode"] #[inline(always)] - #[must_use] pub fn tx_mono(&mut self) -> TX_MONO_W { TX_MONO_W::new(self, 5) } #[doc = "Bit 6 - 1: The value of Left channel data is equal to the value of right channel data in I2S TX mono mode or TDM channel select mode. 0: The invalid channel data is reg_i2s_single_data in I2S TX mono mode or TDM channel select mode."] #[inline(always)] - #[must_use] pub fn tx_chan_equal(&mut self) -> TX_CHAN_EQUAL_W { TX_CHAN_EQUAL_W::new(self, 6) } #[doc = "Bit 7 - I2S Tx byte endian, 1: low addr value to high addr. 0: low addr with low addr value."] #[inline(always)] - #[must_use] pub fn tx_big_endian(&mut self) -> TX_BIG_ENDIAN_W { TX_BIG_ENDIAN_W::new(self, 7) } #[doc = "Bit 8 - Set 1 to update I2S TX registers from APB clock domain to I2S TX clock domain. This bit will be cleared by hardware after update register done."] #[inline(always)] - #[must_use] pub fn tx_update(&mut self) -> TX_UPDATE_W { TX_UPDATE_W::new(self, 8) } #[doc = "Bit 9 - 1: The first channel data value is valid in I2S TX mono mode. 0: The second channel data value is valid in I2S TX mono mode."] #[inline(always)] - #[must_use] pub fn tx_mono_fst_vld(&mut self) -> TX_MONO_FST_VLD_W { TX_MONO_FST_VLD_W::new(self, 9) } - #[doc = "Bits 10:11 - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] + #[doc = "Bits 10:11 - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] #[inline(always)] - #[must_use] pub fn tx_pcm_conf(&mut self) -> TX_PCM_CONF_W { TX_PCM_CONF_W::new(self, 10) } #[doc = "Bit 12 - Set this bit to bypass Compress/Decompress module for transmitted data."] #[inline(always)] - #[must_use] pub fn tx_pcm_bypass(&mut self) -> TX_PCM_BYPASS_W { TX_PCM_BYPASS_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to stop disable output BCK signal and WS signal when tx FIFO is emtpy"] #[inline(always)] - #[must_use] pub fn tx_stop_en(&mut self) -> TX_STOP_EN_W { TX_STOP_EN_W::new(self, 13) } #[doc = "Bit 15 - 1: I2S TX left alignment mode. 0: I2S TX right alignment mode."] #[inline(always)] - #[must_use] pub fn tx_left_align(&mut self) -> TX_LEFT_ALIGN_W { TX_LEFT_ALIGN_W::new(self, 15) } #[doc = "Bit 16 - 1: Sent 32 bits in 24 channel bits mode. 0: Sent 24 bits in 24 channel bits mode"] #[inline(always)] - #[must_use] pub fn tx_24_fill_en(&mut self) -> TX_24_FILL_EN_W { TX_24_FILL_EN_W::new(self, 16) } #[doc = "Bit 17 - 0: WS should be 0 when sending left channel data, and WS is 1in right channel. 1: WS should be 1 when sending left channel data, and WS is 0in right channel."] #[inline(always)] - #[must_use] pub fn tx_ws_idle_pol(&mut self) -> TX_WS_IDLE_POL_W { TX_WS_IDLE_POL_W::new(self, 17) } #[doc = "Bit 18 - I2S Tx bit endian. 1:small endian, the LSB is sent first. 0:big endian, the MSB is sent first."] #[inline(always)] - #[must_use] pub fn tx_bit_order(&mut self) -> TX_BIT_ORDER_W { TX_BIT_ORDER_W::new(self, 18) } #[doc = "Bit 19 - 1: Enable I2S TDM Tx mode . 0: Disable."] #[inline(always)] - #[must_use] pub fn tx_tdm_en(&mut self) -> TX_TDM_EN_W { TX_TDM_EN_W::new(self, 19) } #[doc = "Bit 20 - 1: Enable I2S PDM Tx mode . 0: Disable."] #[inline(always)] - #[must_use] pub fn tx_pdm_en(&mut self) -> TX_PDM_EN_W { TX_PDM_EN_W::new(self, 20) } #[doc = "Bits 24:26 - I2S transmitter channel mode configuration bits."] #[inline(always)] - #[must_use] pub fn tx_chan_mod(&mut self) -> TX_CHAN_MOD_W { TX_CHAN_MOD_W::new(self, 24) } #[doc = "Bit 27 - Enable signal loop back mode with transmitter module and receiver module sharing the same WS and BCK signals."] #[inline(always)] - #[must_use] pub fn sig_loopback(&mut self) -> SIG_LOOPBACK_W { SIG_LOOPBACK_W::new(self, 27) } diff --git a/esp32c6/src/i2s0/tx_conf1.rs b/esp32c6/src/i2s0/tx_conf1.rs index 196c16c060..ca317bc3f4 100644 --- a/esp32c6/src/i2s0/tx_conf1.rs +++ b/esp32c6/src/i2s0/tx_conf1.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - The width of tx_ws_out in TDM mode is (I2S_TX_TDM_WS_WIDTH\\[6:0\\] +1) * T_bck"] #[inline(always)] - #[must_use] pub fn tx_tdm_ws_width(&mut self) -> TX_TDM_WS_WIDTH_W { TX_TDM_WS_WIDTH_W::new(self, 0) } #[doc = "Bits 7:12 - Bit clock configuration bits in transmitter mode."] #[inline(always)] - #[must_use] pub fn tx_bck_div_num(&mut self) -> TX_BCK_DIV_NUM_W { TX_BCK_DIV_NUM_W::new(self, 7) } #[doc = "Bits 13:17 - Set the bits to configure the valid data bit length of I2S transmitter channel. 7: all the valid channel data is in 8-bit-mode. 15: all the valid channel data is in 16-bit-mode. 23: all the valid channel data is in 24-bit-mode. 31:all the valid channel data is in 32-bit-mode."] #[inline(always)] - #[must_use] pub fn tx_bits_mod(&mut self) -> TX_BITS_MOD_W { TX_BITS_MOD_W::new(self, 13) } #[doc = "Bits 18:23 - I2S Tx half sample bits -1."] #[inline(always)] - #[must_use] pub fn tx_half_sample_bits(&mut self) -> TX_HALF_SAMPLE_BITS_W { TX_HALF_SAMPLE_BITS_W::new(self, 18) } #[doc = "Bits 24:28 - The Tx bit number for each channel minus 1in TDM mode."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan_bits(&mut self) -> TX_TDM_CHAN_BITS_W { TX_TDM_CHAN_BITS_W::new(self, 24) } #[doc = "Bit 29 - Set this bit to enable transmitter in Phillips standard mode"] #[inline(always)] - #[must_use] pub fn tx_msb_shift(&mut self) -> TX_MSB_SHIFT_W { TX_MSB_SHIFT_W::new(self, 29) } #[doc = "Bit 30 - 1: BCK is not delayed to generate pos/neg edge in master mode. 0: BCK is delayed to generate pos/neg edge in master mode."] #[inline(always)] - #[must_use] pub fn tx_bck_no_dly(&mut self) -> TX_BCK_NO_DLY_W { TX_BCK_NO_DLY_W::new(self, 30) } diff --git a/esp32c6/src/i2s0/tx_pcm2pdm_conf.rs b/esp32c6/src/i2s0/tx_pcm2pdm_conf.rs index efaddb2ef6..b58b16a1ad 100644 --- a/esp32c6/src/i2s0/tx_pcm2pdm_conf.rs +++ b/esp32c6/src/i2s0/tx_pcm2pdm_conf.rs @@ -140,43 +140,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - I2S TX PDM bypass hp filter or not. The option has been removed."] #[inline(always)] - #[must_use] pub fn tx_pdm_hp_bypass(&mut self) -> TX_PDM_HP_BYPASS_W { TX_PDM_HP_BYPASS_W::new(self, 0) } #[doc = "Bits 1:4 - I2S TX PDM OSR2 value"] #[inline(always)] - #[must_use] pub fn tx_pdm_sinc_osr2(&mut self) -> TX_PDM_SINC_OSR2_W { TX_PDM_SINC_OSR2_W::new(self, 1) } #[doc = "Bits 5:12 - I2S TX PDM prescale for sigmadelta"] #[inline(always)] - #[must_use] pub fn tx_pdm_prescale(&mut self) -> TX_PDM_PRESCALE_W { TX_PDM_PRESCALE_W::new(self, 5) } #[doc = "Bits 13:14 - I2S TX PDM sigmadelta scale shift number: 0:/2 , 1:x1 , 2:x2 , 3: x4"] #[inline(always)] - #[must_use] pub fn tx_pdm_hp_in_shift(&mut self) -> TX_PDM_HP_IN_SHIFT_W { TX_PDM_HP_IN_SHIFT_W::new(self, 13) } #[doc = "Bits 15:16 - I2S TX PDM sigmadelta scale shift number: 0:/2 , 1:x1 , 2:x2 , 3: x4"] #[inline(always)] - #[must_use] pub fn tx_pdm_lp_in_shift(&mut self) -> TX_PDM_LP_IN_SHIFT_W { TX_PDM_LP_IN_SHIFT_W::new(self, 15) } #[doc = "Bits 17:18 - I2S TX PDM sigmadelta scale shift number: 0:/2 , 1:x1 , 2:x2 , 3: x4"] #[inline(always)] - #[must_use] pub fn tx_pdm_sinc_in_shift(&mut self) -> TX_PDM_SINC_IN_SHIFT_W { TX_PDM_SINC_IN_SHIFT_W::new(self, 17) } #[doc = "Bits 19:20 - I2S TX PDM sigmadelta scale shift number: 0:/2 , 1:x1 , 2:x2 , 3: x4"] #[inline(always)] - #[must_use] pub fn tx_pdm_sigmadelta_in_shift( &mut self, ) -> TX_PDM_SIGMADELTA_IN_SHIFT_W { @@ -184,7 +177,6 @@ impl W { } #[doc = "Bit 21 - I2S TX PDM sigmadelta dither2 value"] #[inline(always)] - #[must_use] pub fn tx_pdm_sigmadelta_dither2( &mut self, ) -> TX_PDM_SIGMADELTA_DITHER2_W { @@ -192,25 +184,21 @@ impl W { } #[doc = "Bit 22 - I2S TX PDM sigmadelta dither value"] #[inline(always)] - #[must_use] pub fn tx_pdm_sigmadelta_dither(&mut self) -> TX_PDM_SIGMADELTA_DITHER_W { TX_PDM_SIGMADELTA_DITHER_W::new(self, 22) } #[doc = "Bit 23 - I2S TX PDM dac mode enable"] #[inline(always)] - #[must_use] pub fn tx_pdm_dac_2out_en(&mut self) -> TX_PDM_DAC_2OUT_EN_W { TX_PDM_DAC_2OUT_EN_W::new(self, 23) } #[doc = "Bit 24 - I2S TX PDM dac 2channel enable"] #[inline(always)] - #[must_use] pub fn tx_pdm_dac_mode_en(&mut self) -> TX_PDM_DAC_MODE_EN_W { TX_PDM_DAC_MODE_EN_W::new(self, 24) } #[doc = "Bit 25 - I2S TX PDM Converter enable"] #[inline(always)] - #[must_use] pub fn pcm2pdm_conv_en(&mut self) -> PCM2PDM_CONV_EN_W { PCM2PDM_CONV_EN_W::new(self, 25) } diff --git a/esp32c6/src/i2s0/tx_pcm2pdm_conf1.rs b/esp32c6/src/i2s0/tx_pcm2pdm_conf1.rs index 7f58eb3572..6ae1a8208e 100644 --- a/esp32c6/src/i2s0/tx_pcm2pdm_conf1.rs +++ b/esp32c6/src/i2s0/tx_pcm2pdm_conf1.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - I2S TX PDM Fp"] #[inline(always)] - #[must_use] pub fn tx_pdm_fp(&mut self) -> TX_PDM_FP_W { TX_PDM_FP_W::new(self, 0) } #[doc = "Bits 10:19 - I2S TX PDM Fs"] #[inline(always)] - #[must_use] pub fn tx_pdm_fs(&mut self) -> TX_PDM_FS_W { TX_PDM_FS_W::new(self, 10) } #[doc = "Bits 20:22 - The fourth parameter of PDM TX IIR_HP filter stage 2 is (504 + I2S_TX_IIR_HP_MULT12_5\\[2:0\\])"] #[inline(always)] - #[must_use] pub fn tx_iir_hp_mult12_5(&mut self) -> TX_IIR_HP_MULT12_5_W { TX_IIR_HP_MULT12_5_W::new(self, 20) } #[doc = "Bits 23:25 - The fourth parameter of PDM TX IIR_HP filter stage 1 is (504 + I2S_TX_IIR_HP_MULT12_0\\[2:0\\])"] #[inline(always)] - #[must_use] pub fn tx_iir_hp_mult12_0(&mut self) -> TX_IIR_HP_MULT12_0_W { TX_IIR_HP_MULT12_0_W::new(self, 23) } diff --git a/esp32c6/src/i2s0/tx_tdm_ctrl.rs b/esp32c6/src/i2s0/tx_tdm_ctrl.rs index 9d5efa9df7..859510cb36 100644 --- a/esp32c6/src/i2s0/tx_tdm_ctrl.rs +++ b/esp32c6/src/i2s0/tx_tdm_ctrl.rs @@ -194,109 +194,91 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: Enable the valid data output of I2S TX TDM channel 0. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan0_en(&mut self) -> TX_TDM_CHAN0_EN_W { TX_TDM_CHAN0_EN_W::new(self, 0) } #[doc = "Bit 1 - 1: Enable the valid data output of I2S TX TDM channel 1. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan1_en(&mut self) -> TX_TDM_CHAN1_EN_W { TX_TDM_CHAN1_EN_W::new(self, 1) } #[doc = "Bit 2 - 1: Enable the valid data output of I2S TX TDM channel 2. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan2_en(&mut self) -> TX_TDM_CHAN2_EN_W { TX_TDM_CHAN2_EN_W::new(self, 2) } #[doc = "Bit 3 - 1: Enable the valid data output of I2S TX TDM channel 3. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan3_en(&mut self) -> TX_TDM_CHAN3_EN_W { TX_TDM_CHAN3_EN_W::new(self, 3) } #[doc = "Bit 4 - 1: Enable the valid data output of I2S TX TDM channel 4. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan4_en(&mut self) -> TX_TDM_CHAN4_EN_W { TX_TDM_CHAN4_EN_W::new(self, 4) } #[doc = "Bit 5 - 1: Enable the valid data output of I2S TX TDM channel 5. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan5_en(&mut self) -> TX_TDM_CHAN5_EN_W { TX_TDM_CHAN5_EN_W::new(self, 5) } #[doc = "Bit 6 - 1: Enable the valid data output of I2S TX TDM channel 6. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan6_en(&mut self) -> TX_TDM_CHAN6_EN_W { TX_TDM_CHAN6_EN_W::new(self, 6) } #[doc = "Bit 7 - 1: Enable the valid data output of I2S TX TDM channel 7. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan7_en(&mut self) -> TX_TDM_CHAN7_EN_W { TX_TDM_CHAN7_EN_W::new(self, 7) } #[doc = "Bit 8 - 1: Enable the valid data output of I2S TX TDM channel 8. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan8_en(&mut self) -> TX_TDM_CHAN8_EN_W { TX_TDM_CHAN8_EN_W::new(self, 8) } #[doc = "Bit 9 - 1: Enable the valid data output of I2S TX TDM channel 9. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan9_en(&mut self) -> TX_TDM_CHAN9_EN_W { TX_TDM_CHAN9_EN_W::new(self, 9) } #[doc = "Bit 10 - 1: Enable the valid data output of I2S TX TDM channel 10. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan10_en(&mut self) -> TX_TDM_CHAN10_EN_W { TX_TDM_CHAN10_EN_W::new(self, 10) } #[doc = "Bit 11 - 1: Enable the valid data output of I2S TX TDM channel 11. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan11_en(&mut self) -> TX_TDM_CHAN11_EN_W { TX_TDM_CHAN11_EN_W::new(self, 11) } #[doc = "Bit 12 - 1: Enable the valid data output of I2S TX TDM channel 12. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan12_en(&mut self) -> TX_TDM_CHAN12_EN_W { TX_TDM_CHAN12_EN_W::new(self, 12) } #[doc = "Bit 13 - 1: Enable the valid data output of I2S TX TDM channel 13. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan13_en(&mut self) -> TX_TDM_CHAN13_EN_W { TX_TDM_CHAN13_EN_W::new(self, 13) } #[doc = "Bit 14 - 1: Enable the valid data output of I2S TX TDM channel 14. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan14_en(&mut self) -> TX_TDM_CHAN14_EN_W { TX_TDM_CHAN14_EN_W::new(self, 14) } #[doc = "Bit 15 - 1: Enable the valid data output of I2S TX TDM channel 15. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan15_en(&mut self) -> TX_TDM_CHAN15_EN_W { TX_TDM_CHAN15_EN_W::new(self, 15) } #[doc = "Bits 16:19 - The total channel number of I2S TX TDM mode."] #[inline(always)] - #[must_use] pub fn tx_tdm_tot_chan_num(&mut self) -> TX_TDM_TOT_CHAN_NUM_W { TX_TDM_TOT_CHAN_NUM_W::new(self, 16) } #[doc = "Bit 20 - When DMA TX buffer stores the data of (REG_TX_TDM_TOT_CHAN_NUM + 1) channels, and only the data of the enabled channels is sent, then this bit should be set. Clear it when all the data stored in DMA TX buffer is for enabled channels."] #[inline(always)] - #[must_use] pub fn tx_tdm_skip_msk_en(&mut self) -> TX_TDM_SKIP_MSK_EN_W { TX_TDM_SKIP_MSK_EN_W::new(self, 20) } diff --git a/esp32c6/src/i2s0/tx_timing.rs b/esp32c6/src/i2s0/tx_timing.rs index 82d20256cd..a9e6a29856 100644 --- a/esp32c6/src/i2s0/tx_timing.rs +++ b/esp32c6/src/i2s0/tx_timing.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - The delay mode of I2S TX SD output signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn tx_sd_out_dm(&mut self) -> TX_SD_OUT_DM_W { TX_SD_OUT_DM_W::new(self, 0) } #[doc = "Bits 4:5 - The delay mode of I2S TX SD1 output signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn tx_sd1_out_dm(&mut self) -> TX_SD1_OUT_DM_W { TX_SD1_OUT_DM_W::new(self, 4) } #[doc = "Bits 16:17 - The delay mode of I2S TX WS output signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn tx_ws_out_dm(&mut self) -> TX_WS_OUT_DM_W { TX_WS_OUT_DM_W::new(self, 16) } #[doc = "Bits 20:21 - The delay mode of I2S TX BCK output signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn tx_bck_out_dm(&mut self) -> TX_BCK_OUT_DM_W { TX_BCK_OUT_DM_W::new(self, 20) } #[doc = "Bits 24:25 - The delay mode of I2S TX WS input signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn tx_ws_in_dm(&mut self) -> TX_WS_IN_DM_W { TX_WS_IN_DM_W::new(self, 24) } #[doc = "Bits 28:29 - The delay mode of I2S TX BCK input signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn tx_bck_in_dm(&mut self) -> TX_BCK_IN_DM_W { TX_BCK_IN_DM_W::new(self, 28) } diff --git a/esp32c6/src/ieee802154/ack_frame_pending_en.rs b/esp32c6/src/ieee802154/ack_frame_pending_en.rs index 949faffac2..560f570e45 100644 --- a/esp32c6/src/ieee802154/ack_frame_pending_en.rs +++ b/esp32c6/src/ieee802154/ack_frame_pending_en.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn ack_frame_pending_en(&mut self) -> ACK_FRAME_PENDING_EN_W { ACK_FRAME_PENDING_EN_W::new(self, 0) } #[doc = "Bits 16:31"] #[inline(always)] - #[must_use] pub fn ack_tx_ack_timeout(&mut self) -> ACK_TX_ACK_TIMEOUT_W { ACK_TX_ACK_TIMEOUT_W::new(self, 16) } diff --git a/esp32c6/src/ieee802154/ack_timeout.rs b/esp32c6/src/ieee802154/ack_timeout.rs index 9e55cfba71..f057a3cb34 100644 --- a/esp32c6/src/ieee802154/ack_timeout.rs +++ b/esp32c6/src/ieee802154/ack_timeout.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn ack_timeout(&mut self) -> ACK_TIMEOUT_W { ACK_TIMEOUT_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/bb_clk.rs b/esp32c6/src/ieee802154/bb_clk.rs index 6ead756547..a214cdd83c 100644 --- a/esp32c6/src/ieee802154/bb_clk.rs +++ b/esp32c6/src/ieee802154/bb_clk.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn freq_minus_1(&mut self) -> FREQ_MINUS_1_W { FREQ_MINUS_1_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/cca_busy_cnt.rs b/esp32c6/src/ieee802154/cca_busy_cnt.rs index 7c787b1f0b..b73e00628e 100644 --- a/esp32c6/src/ieee802154/cca_busy_cnt.rs +++ b/esp32c6/src/ieee802154/cca_busy_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn cca_busy_cnt(&mut self) -> CCA_BUSY_CNT_W { CCA_BUSY_CNT_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/cca_fail_cnt.rs b/esp32c6/src/ieee802154/cca_fail_cnt.rs index bb5b4dfda7..9fe89bdefd 100644 --- a/esp32c6/src/ieee802154/cca_fail_cnt.rs +++ b/esp32c6/src/ieee802154/cca_fail_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn cca_fail_cnt(&mut self) -> CCA_FAIL_CNT_W { CCA_FAIL_CNT_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/channel.rs b/esp32c6/src/ieee802154/channel.rs index 8b4b24f557..b3a5d4d3d2 100644 --- a/esp32c6/src/ieee802154/channel.rs +++ b/esp32c6/src/ieee802154/channel.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn hop(&mut self) -> HOP_W { HOP_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/clk_counter.rs b/esp32c6/src/ieee802154/clk_counter.rs index 14bf0c7598..e869426f95 100644 --- a/esp32c6/src/ieee802154/clk_counter.rs +++ b/esp32c6/src/ieee802154/clk_counter.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn clk_625us_cnt(&mut self) -> CLK_625US_CNT_W { CLK_625US_CNT_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/clk_counter_match_val.rs b/esp32c6/src/ieee802154/clk_counter_match_val.rs index 644a442f1e..8b5801e00b 100644 --- a/esp32c6/src/ieee802154/clk_counter_match_val.rs +++ b/esp32c6/src/ieee802154/clk_counter_match_val.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn clk_count_match_val(&mut self) -> CLK_COUNT_MATCH_VAL_W { CLK_COUNT_MATCH_VAL_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/coex_pti.rs b/esp32c6/src/ieee802154/coex_pti.rs index 5f40a8853b..d67a7dcb66 100644 --- a/esp32c6/src/ieee802154/coex_pti.rs +++ b/esp32c6/src/ieee802154/coex_pti.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3"] #[inline(always)] - #[must_use] pub fn coex_pti(&mut self) -> COEX_PTI_W { COEX_PTI_W::new(self, 0) } #[doc = "Bits 4:7"] #[inline(always)] - #[must_use] pub fn coex_ack_pti(&mut self) -> COEX_ACK_PTI_W { COEX_ACK_PTI_W::new(self, 4) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn close_rf_sel(&mut self) -> CLOSE_RF_SEL_W { CLOSE_RF_SEL_W::new(self, 8) } diff --git a/esp32c6/src/ieee802154/command.rs b/esp32c6/src/ieee802154/command.rs index 33795b0fcc..bc047f5215 100644 --- a/esp32c6/src/ieee802154/command.rs +++ b/esp32c6/src/ieee802154/command.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn opcode(&mut self) -> OPCODE_W { OPCODE_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/cont_rx_delay.rs b/esp32c6/src/ieee802154/cont_rx_delay.rs index 1e336c0d55..e93f737da4 100644 --- a/esp32c6/src/ieee802154/cont_rx_delay.rs +++ b/esp32c6/src/ieee802154/cont_rx_delay.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn cont_rx_delay(&mut self) -> CONT_RX_DELAY_W { CONT_RX_DELAY_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/core_dummy_data.rs b/esp32c6/src/ieee802154/core_dummy_data.rs index 4fe9b2bb81..f114269003 100644 --- a/esp32c6/src/ieee802154/core_dummy_data.rs +++ b/esp32c6/src/ieee802154/core_dummy_data.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn core_dummy_data(&mut self) -> CORE_DUMMY_DATA_W { CORE_DUMMY_DATA_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/core_gck_cfg.rs b/esp32c6/src/ieee802154/core_gck_cfg.rs index 79a3f0424d..f32c048ee4 100644 --- a/esp32c6/src/ieee802154/core_gck_cfg.rs +++ b/esp32c6/src/ieee802154/core_gck_cfg.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn dis_pkt_gck(&mut self) -> DIS_PKT_GCK_W { DIS_PKT_GCK_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn dis_ctrl_gck(&mut self) -> DIS_CTRL_GCK_W { DIS_CTRL_GCK_W::new(self, 1) } diff --git a/esp32c6/src/ieee802154/crc_error_cnt.rs b/esp32c6/src/ieee802154/crc_error_cnt.rs index d4e2e3d26d..3c5eb80fda 100644 --- a/esp32c6/src/ieee802154/crc_error_cnt.rs +++ b/esp32c6/src/ieee802154/crc_error_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn crc_error_cnt(&mut self) -> CRC_ERROR_CNT_W { CRC_ERROR_CNT_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/ctrl_cfg.rs b/esp32c6/src/ieee802154/ctrl_cfg.rs index 8f79f5d9c7..4659b5fa9b 100644 --- a/esp32c6/src/ieee802154/ctrl_cfg.rs +++ b/esp32c6/src/ieee802154/ctrl_cfg.rs @@ -197,43 +197,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn hw_auto_ack_tx_en(&mut self) -> HW_AUTO_ACK_TX_EN_W { HW_AUTO_ACK_TX_EN_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn hw_enhance_ack_tx_en(&mut self) -> HW_ENHANCE_ACK_TX_EN_W { HW_ENHANCE_ACK_TX_EN_W::new(self, 1) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn hw_auto_ack_rx_en(&mut self) -> HW_AUTO_ACK_RX_EN_W { HW_AUTO_ACK_RX_EN_W::new(self, 3) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn dis_ifs_control(&mut self) -> DIS_IFS_CONTROL_W { DIS_IFS_CONTROL_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn pan_coordinator(&mut self) -> PAN_COORDINATOR_W { PAN_COORDINATOR_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn promiscuous_mode(&mut self) -> PROMISCUOUS_MODE_W { PROMISCUOUS_MODE_W::new(self, 7) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn dis_frame_version_rsv_filter( &mut self, ) -> DIS_FRAME_VERSION_RSV_FILTER_W { @@ -241,67 +234,56 @@ impl W { } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn autopend_enhance(&mut self) -> AUTOPEND_ENHANCE_W { AUTOPEND_ENHANCE_W::new(self, 12) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn filter_enhance(&mut self) -> FILTER_ENHANCE_W { FILTER_ENHANCE_W::new(self, 14) } #[doc = "Bits 16:20"] #[inline(always)] - #[must_use] pub fn coex_arb_delay(&mut self) -> COEX_ARB_DELAY_W { COEX_ARB_DELAY_W::new(self, 16) } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn bit_order(&mut self) -> BIT_ORDER_W { BIT_ORDER_W::new(self, 24) } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn no_rss_trk_enb(&mut self) -> NO_RSS_TRK_ENB_W { NO_RSS_TRK_ENB_W::new(self, 25) } #[doc = "Bit 26"] #[inline(always)] - #[must_use] pub fn force_rx_enb(&mut self) -> FORCE_RX_ENB_W { FORCE_RX_ENB_W::new(self, 26) } #[doc = "Bit 27"] #[inline(always)] - #[must_use] pub fn rx_done_trigger_idle(&mut self) -> RX_DONE_TRIGGER_IDLE_W { RX_DONE_TRIGGER_IDLE_W::new(self, 27) } #[doc = "Bit 28"] #[inline(always)] - #[must_use] pub fn mac_inf0_enable(&mut self) -> MAC_INF0_ENABLE_W { MAC_INF0_ENABLE_W::new(self, 28) } #[doc = "Bit 29"] #[inline(always)] - #[must_use] pub fn mac_inf1_enable(&mut self) -> MAC_INF1_ENABLE_W { MAC_INF1_ENABLE_W::new(self, 29) } #[doc = "Bit 30"] #[inline(always)] - #[must_use] pub fn mac_inf2_enable(&mut self) -> MAC_INF2_ENABLE_W { MAC_INF2_ENABLE_W::new(self, 30) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn mac_inf3_enable(&mut self) -> MAC_INF3_ENABLE_W { MAC_INF3_ENABLE_W::new(self, 31) } diff --git a/esp32c6/src/ieee802154/dcdc_ctrl.rs b/esp32c6/src/ieee802154/dcdc_ctrl.rs index c7a3748f20..2cba23630a 100644 --- a/esp32c6/src/ieee802154/dcdc_ctrl.rs +++ b/esp32c6/src/ieee802154/dcdc_ctrl.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn dcdc_pre_up_delay(&mut self) -> DCDC_PRE_UP_DELAY_W { DCDC_PRE_UP_DELAY_W::new(self, 0) } #[doc = "Bits 8:15"] #[inline(always)] - #[must_use] pub fn dcdc_down_delay(&mut self) -> DCDC_DOWN_DELAY_W { DCDC_DOWN_DELAY_W::new(self, 8) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 16) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn tx_dcdc_up(&mut self) -> TX_DCDC_UP_W { TX_DCDC_UP_W::new(self, 31) } diff --git a/esp32c6/src/ieee802154/debug_ctrl.rs b/esp32c6/src/ieee802154/debug_ctrl.rs index 49e76d3d74..2c7189784c 100644 --- a/esp32c6/src/ieee802154/debug_ctrl.rs +++ b/esp32c6/src/ieee802154/debug_ctrl.rs @@ -96,25 +96,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2"] #[inline(always)] - #[must_use] pub fn debug_signal_sel(&mut self) -> DEBUG_SIGNAL_SEL_W { DEBUG_SIGNAL_SEL_W::new(self, 0) } #[doc = "Bits 8:11"] #[inline(always)] - #[must_use] pub fn debug_trigger_state_select(&mut self) -> DEBUG_TRIGGER_STATE_SELECT_W { DEBUG_TRIGGER_STATE_SELECT_W::new(self, 8) } #[doc = "Bits 12:15"] #[inline(always)] - #[must_use] pub fn debug_ser_debug_sel(&mut self) -> DEBUG_SER_DEBUG_SEL_W { DEBUG_SER_DEBUG_SEL_W::new(self, 12) } #[doc = "Bits 16:20"] #[inline(always)] - #[must_use] pub fn debug_trigger_state_match_value( &mut self, ) -> DEBUG_TRIGGER_STATE_MATCH_VALUE_W { @@ -122,19 +118,16 @@ impl W { } #[doc = "Bits 24:26"] #[inline(always)] - #[must_use] pub fn debug_trigger_pulse_select(&mut self) -> DEBUG_TRIGGER_PULSE_SELECT_W { DEBUG_TRIGGER_PULSE_SELECT_W::new(self, 24) } #[doc = "Bit 30"] #[inline(always)] - #[must_use] pub fn debug_state_match_dump_en(&mut self) -> DEBUG_STATE_MATCH_DUMP_EN_W { DEBUG_STATE_MATCH_DUMP_EN_W::new(self, 30) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn debug_trigger_dump_en(&mut self) -> DEBUG_TRIGGER_DUMP_EN_W { DEBUG_TRIGGER_DUMP_EN_W::new(self, 31) } diff --git a/esp32c6/src/ieee802154/dma_dummy.rs b/esp32c6/src/ieee802154/dma_dummy.rs index 28126fb4bb..14cadf632a 100644 --- a/esp32c6/src/ieee802154/dma_dummy.rs +++ b/esp32c6/src/ieee802154/dma_dummy.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn data(&mut self) -> DATA_W { DATA_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/dma_gck_cfg.rs b/esp32c6/src/ieee802154/dma_gck_cfg.rs index 8222ff0c88..207d1c4a6c 100644 --- a/esp32c6/src/ieee802154/dma_gck_cfg.rs +++ b/esp32c6/src/ieee802154/dma_gck_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn dma_gck_cfg(&mut self) -> DMA_GCK_CFG_W { DMA_GCK_CFG_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/dtm_config.rs b/esp32c6/src/ieee802154/dtm_config.rs index ae1d77beaa..70386f7950 100644 --- a/esp32c6/src/ieee802154/dtm_config.rs +++ b/esp32c6/src/ieee802154/dtm_config.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn dtmch_tx_length(&mut self) -> DTMCH_TX_LENGTH_W { DTMCH_TX_LENGTH_W::new(self, 0) } #[doc = "Bits 8:11"] #[inline(always)] - #[must_use] pub fn dtm_tx_pld_type(&mut self) -> DTM_TX_PLD_TYPE_W { DTM_TX_PLD_TYPE_W::new(self, 8) } #[doc = "Bits 16:21"] #[inline(always)] - #[must_use] pub fn dtm_hop_freq(&mut self) -> DTM_HOP_FREQ_W { DTM_HOP_FREQ_W::new(self, 16) } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn dtm_contrx_en(&mut self) -> DTM_CONTRX_EN_W { DTM_CONTRX_EN_W::new(self, 24) } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn dtm_on(&mut self) -> DTM_ON_W { DTM_ON_W::new(self, 25) } diff --git a/esp32c6/src/ieee802154/dtm_pkt_counter.rs b/esp32c6/src/ieee802154/dtm_pkt_counter.rs index 7f9d4580cc..673d668a6a 100644 --- a/esp32c6/src/ieee802154/dtm_pkt_counter.rs +++ b/esp32c6/src/ieee802154/dtm_pkt_counter.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn dtm_txrx_pkt_count(&mut self) -> DTM_TXRX_PKT_COUNT_W { DTM_TXRX_PKT_COUNT_W::new(self, 0) } #[doc = "Bits 16:31"] #[inline(always)] - #[must_use] pub fn dtm_crc_err_pkt_count(&mut self) -> DTM_CRC_ERR_PKT_COUNT_W { DTM_CRC_ERR_PKT_COUNT_W::new(self, 16) } diff --git a/esp32c6/src/ieee802154/dtm_tx_pkt_config.rs b/esp32c6/src/ieee802154/dtm_tx_pkt_config.rs index 2894fe11e9..41947e0cfc 100644 --- a/esp32c6/src/ieee802154/dtm_tx_pkt_config.rs +++ b/esp32c6/src/ieee802154/dtm_tx_pkt_config.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn dtm_tx_pkt_threshold(&mut self) -> DTM_TX_PKT_THRESHOLD_W { DTM_TX_PKT_THRESHOLD_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/ed_abort_cnt.rs b/esp32c6/src/ieee802154/ed_abort_cnt.rs index aaaeb454e9..acdf9ebeda 100644 --- a/esp32c6/src/ieee802154/ed_abort_cnt.rs +++ b/esp32c6/src/ieee802154/ed_abort_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn ed_abort_cnt(&mut self) -> ED_ABORT_CNT_W { ED_ABORT_CNT_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/ed_scan_cfg.rs b/esp32c6/src/ieee802154/ed_scan_cfg.rs index 06b1ec9d8c..ffa43331f2 100644 --- a/esp32c6/src/ieee802154/ed_scan_cfg.rs +++ b/esp32c6/src/ieee802154/ed_scan_cfg.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn cca_ed_threshold(&mut self) -> CCA_ED_THRESHOLD_W { CCA_ED_THRESHOLD_W::new(self, 0) } #[doc = "Bits 11:12"] #[inline(always)] - #[must_use] pub fn ed_sample_mode(&mut self) -> ED_SAMPLE_MODE_W { ED_SAMPLE_MODE_W::new(self, 11) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn dis_ed_power_sel(&mut self) -> DIS_ED_POWER_SEL_W { DIS_ED_POWER_SEL_W::new(self, 13) } #[doc = "Bits 14:15"] #[inline(always)] - #[must_use] pub fn cca_mode(&mut self) -> CCA_MODE_W { CCA_MODE_W::new(self, 14) } #[doc = "Bits 16:23"] #[inline(always)] - #[must_use] pub fn ed_rss(&mut self) -> ED_RSS_W { ED_RSS_W::new(self, 16) } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn cca_busy(&mut self) -> CCA_BUSY_W { CCA_BUSY_W::new(self, 24) } diff --git a/esp32c6/src/ieee802154/ed_scan_coex_cnt.rs b/esp32c6/src/ieee802154/ed_scan_coex_cnt.rs index d1ab12c985..78c9841b19 100644 --- a/esp32c6/src/ieee802154/ed_scan_coex_cnt.rs +++ b/esp32c6/src/ieee802154/ed_scan_coex_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn ed_scan_coex_cnt(&mut self) -> ED_SCAN_COEX_CNT_W { ED_SCAN_COEX_CNT_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/ed_scan_duration.rs b/esp32c6/src/ieee802154/ed_scan_duration.rs index 0953979c04..3e8587f8b9 100644 --- a/esp32c6/src/ieee802154/ed_scan_duration.rs +++ b/esp32c6/src/ieee802154/ed_scan_duration.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23"] #[inline(always)] - #[must_use] pub fn ed_scan_duration(&mut self) -> ED_SCAN_DURATION_W { ED_SCAN_DURATION_W::new(self, 0) } #[doc = "Bits 24:27"] #[inline(always)] - #[must_use] pub fn ed_scan_wait_dly(&mut self) -> ED_SCAN_WAIT_DLY_W { ED_SCAN_WAIT_DLY_W::new(self, 24) } diff --git a/esp32c6/src/ieee802154/enhance_ack_cfg.rs b/esp32c6/src/ieee802154/enhance_ack_cfg.rs index 6662c9178f..a3570a6b86 100644 --- a/esp32c6/src/ieee802154/enhance_ack_cfg.rs +++ b/esp32c6/src/ieee802154/enhance_ack_cfg.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn tx_enh_ack_generate_done_notify( &mut self, ) -> TX_ENH_ACK_GENERATE_DONE_NOTIFY_W { diff --git a/esp32c6/src/ieee802154/error_cnt_clear.rs b/esp32c6/src/ieee802154/error_cnt_clear.rs index 1c2b43d8c6..3898365de7 100644 --- a/esp32c6/src/ieee802154/error_cnt_clear.rs +++ b/esp32c6/src/ieee802154/error_cnt_clear.rs @@ -173,13 +173,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn cca_busy_cnt_clear(&mut self) -> CCA_BUSY_CNT_CLEAR_W { CCA_BUSY_CNT_CLEAR_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn tx_security_error_cnt_clear( &mut self, ) -> TX_SECURITY_ERROR_CNT_CLEAR_W { @@ -187,19 +185,16 @@ impl W { } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn tx_break_coex_cnt_clear(&mut self) -> TX_BREAK_COEX_CNT_CLEAR_W { TX_BREAK_COEX_CNT_CLEAR_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn rx_ack_timeout_cnt_clear(&mut self) -> RX_ACK_TIMEOUT_CNT_CLEAR_W { RX_ACK_TIMEOUT_CNT_CLEAR_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn rx_ack_abort_coex_cnt_clear( &mut self, ) -> RX_ACK_ABORT_COEX_CNT_CLEAR_W { @@ -207,13 +202,11 @@ impl W { } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn ed_scan_coex_cnt_clear(&mut self) -> ED_SCAN_COEX_CNT_CLEAR_W { ED_SCAN_COEX_CNT_CLEAR_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn tx_ack_abort_coex_cnt_clear( &mut self, ) -> TX_ACK_ABORT_COEX_CNT_CLEAR_W { @@ -221,49 +214,41 @@ impl W { } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn rx_restart_cnt_clear(&mut self) -> RX_RESTART_CNT_CLEAR_W { RX_RESTART_CNT_CLEAR_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn rx_abort_coex_cnt_clear(&mut self) -> RX_ABORT_COEX_CNT_CLEAR_W { RX_ABORT_COEX_CNT_CLEAR_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn no_rss_detect_cnt_clear(&mut self) -> NO_RSS_DETECT_CNT_CLEAR_W { NO_RSS_DETECT_CNT_CLEAR_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn rx_filter_fail_cnt_clear(&mut self) -> RX_FILTER_FAIL_CNT_CLEAR_W { RX_FILTER_FAIL_CNT_CLEAR_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn cca_fail_cnt_clear(&mut self) -> CCA_FAIL_CNT_CLEAR_W { CCA_FAIL_CNT_CLEAR_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn ed_abort_cnt_clear(&mut self) -> ED_ABORT_CNT_CLEAR_W { ED_ABORT_CNT_CLEAR_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn crc_error_cnt_clear(&mut self) -> CRC_ERROR_CNT_CLEAR_W { CRC_ERROR_CNT_CLEAR_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn sfd_timeout_cnt_clear(&mut self) -> SFD_TIMEOUT_CNT_CLEAR_W { SFD_TIMEOUT_CNT_CLEAR_W::new(self, 14) } diff --git a/esp32c6/src/ieee802154/event_en.rs b/esp32c6/src/ieee802154/event_en.rs index aa76dc51a3..7c46c4c864 100644 --- a/esp32c6/src/ieee802154/event_en.rs +++ b/esp32c6/src/ieee802154/event_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:12"] #[inline(always)] - #[must_use] pub fn event_en(&mut self) -> EVENT_EN_W { EVENT_EN_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/event_status.rs b/esp32c6/src/ieee802154/event_status.rs index b2e6df073a..d390a07396 100644 --- a/esp32c6/src/ieee802154/event_status.rs +++ b/esp32c6/src/ieee802154/event_status.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:12"] #[inline(always)] - #[must_use] pub fn event_status(&mut self) -> EVENT_STATUS_W { EVENT_STATUS_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/ifs.rs b/esp32c6/src/ieee802154/ifs.rs index b4a2be367b..9819811464 100644 --- a/esp32c6/src/ieee802154/ifs.rs +++ b/esp32c6/src/ieee802154/ifs.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn sifs(&mut self) -> SIFS_W { SIFS_W::new(self, 0) } #[doc = "Bits 16:25"] #[inline(always)] - #[must_use] pub fn lifs(&mut self) -> LIFS_W { LIFS_W::new(self, 16) } diff --git a/esp32c6/src/ieee802154/ifs_counter.rs b/esp32c6/src/ieee802154/ifs_counter.rs index 86b27cf371..385dbf14fe 100644 --- a/esp32c6/src/ieee802154/ifs_counter.rs +++ b/esp32c6/src/ieee802154/ifs_counter.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9"] #[inline(always)] - #[must_use] pub fn ifs_counter(&mut self) -> IFS_COUNTER_W { IFS_COUNTER_W::new(self, 0) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 16) } diff --git a/esp32c6/src/ieee802154/inf0_extend_addr0.rs b/esp32c6/src/ieee802154/inf0_extend_addr0.rs index e8050a6283..44f35a1ec2 100644 --- a/esp32c6/src/ieee802154/inf0_extend_addr0.rs +++ b/esp32c6/src/ieee802154/inf0_extend_addr0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn mac_inf0_extend_addr0(&mut self) -> MAC_INF0_EXTEND_ADDR0_W { MAC_INF0_EXTEND_ADDR0_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/inf0_extend_addr1.rs b/esp32c6/src/ieee802154/inf0_extend_addr1.rs index f0d536726c..783d5cb717 100644 --- a/esp32c6/src/ieee802154/inf0_extend_addr1.rs +++ b/esp32c6/src/ieee802154/inf0_extend_addr1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn mac_inf0_extend_addr1(&mut self) -> MAC_INF0_EXTEND_ADDR1_W { MAC_INF0_EXTEND_ADDR1_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/inf0_pan_id.rs b/esp32c6/src/ieee802154/inf0_pan_id.rs index b07c5ad414..9e47089b67 100644 --- a/esp32c6/src/ieee802154/inf0_pan_id.rs +++ b/esp32c6/src/ieee802154/inf0_pan_id.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn mac_inf0_pan_id(&mut self) -> MAC_INF0_PAN_ID_W { MAC_INF0_PAN_ID_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/inf0_short_addr.rs b/esp32c6/src/ieee802154/inf0_short_addr.rs index a54dfe891f..a86b8f8162 100644 --- a/esp32c6/src/ieee802154/inf0_short_addr.rs +++ b/esp32c6/src/ieee802154/inf0_short_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn mac_inf0_short_addr(&mut self) -> MAC_INF0_SHORT_ADDR_W { MAC_INF0_SHORT_ADDR_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/inf1_extend_addr0.rs b/esp32c6/src/ieee802154/inf1_extend_addr0.rs index dab085a25f..83b82239df 100644 --- a/esp32c6/src/ieee802154/inf1_extend_addr0.rs +++ b/esp32c6/src/ieee802154/inf1_extend_addr0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn mac_inf1_extend_addr0(&mut self) -> MAC_INF1_EXTEND_ADDR0_W { MAC_INF1_EXTEND_ADDR0_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/inf1_extend_addr1.rs b/esp32c6/src/ieee802154/inf1_extend_addr1.rs index 816b0a09cc..5f61c11752 100644 --- a/esp32c6/src/ieee802154/inf1_extend_addr1.rs +++ b/esp32c6/src/ieee802154/inf1_extend_addr1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn mac_inf1_extend_addr1(&mut self) -> MAC_INF1_EXTEND_ADDR1_W { MAC_INF1_EXTEND_ADDR1_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/inf1_pan_id.rs b/esp32c6/src/ieee802154/inf1_pan_id.rs index 4aa0b7e547..520a285d89 100644 --- a/esp32c6/src/ieee802154/inf1_pan_id.rs +++ b/esp32c6/src/ieee802154/inf1_pan_id.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn mac_inf1_pan_id(&mut self) -> MAC_INF1_PAN_ID_W { MAC_INF1_PAN_ID_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/inf1_short_addr.rs b/esp32c6/src/ieee802154/inf1_short_addr.rs index cf8041f00e..bc79b14eed 100644 --- a/esp32c6/src/ieee802154/inf1_short_addr.rs +++ b/esp32c6/src/ieee802154/inf1_short_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn mac_inf1_short_addr(&mut self) -> MAC_INF1_SHORT_ADDR_W { MAC_INF1_SHORT_ADDR_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/inf2_extend_addr0.rs b/esp32c6/src/ieee802154/inf2_extend_addr0.rs index 2d8ca79aa3..bd0e83ba6c 100644 --- a/esp32c6/src/ieee802154/inf2_extend_addr0.rs +++ b/esp32c6/src/ieee802154/inf2_extend_addr0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn mac_inf2_extend_addr0(&mut self) -> MAC_INF2_EXTEND_ADDR0_W { MAC_INF2_EXTEND_ADDR0_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/inf2_extend_addr1.rs b/esp32c6/src/ieee802154/inf2_extend_addr1.rs index 2729506bca..f65ec73bad 100644 --- a/esp32c6/src/ieee802154/inf2_extend_addr1.rs +++ b/esp32c6/src/ieee802154/inf2_extend_addr1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn mac_inf2_extend_addr1(&mut self) -> MAC_INF2_EXTEND_ADDR1_W { MAC_INF2_EXTEND_ADDR1_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/inf2_pan_id.rs b/esp32c6/src/ieee802154/inf2_pan_id.rs index 1e6243940c..9c12442527 100644 --- a/esp32c6/src/ieee802154/inf2_pan_id.rs +++ b/esp32c6/src/ieee802154/inf2_pan_id.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn mac_inf2_pan_id(&mut self) -> MAC_INF2_PAN_ID_W { MAC_INF2_PAN_ID_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/inf2_short_addr.rs b/esp32c6/src/ieee802154/inf2_short_addr.rs index f37bb72a75..7d3d88abea 100644 --- a/esp32c6/src/ieee802154/inf2_short_addr.rs +++ b/esp32c6/src/ieee802154/inf2_short_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn mac_inf2_short_addr(&mut self) -> MAC_INF2_SHORT_ADDR_W { MAC_INF2_SHORT_ADDR_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/inf3_extend_addr0.rs b/esp32c6/src/ieee802154/inf3_extend_addr0.rs index 94c9714fb3..e1186f7893 100644 --- a/esp32c6/src/ieee802154/inf3_extend_addr0.rs +++ b/esp32c6/src/ieee802154/inf3_extend_addr0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn mac_inf3_extend_addr0(&mut self) -> MAC_INF3_EXTEND_ADDR0_W { MAC_INF3_EXTEND_ADDR0_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/inf3_extend_addr1.rs b/esp32c6/src/ieee802154/inf3_extend_addr1.rs index 8fe1b4b9d9..0728455d2c 100644 --- a/esp32c6/src/ieee802154/inf3_extend_addr1.rs +++ b/esp32c6/src/ieee802154/inf3_extend_addr1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn mac_inf3_extend_addr1(&mut self) -> MAC_INF3_EXTEND_ADDR1_W { MAC_INF3_EXTEND_ADDR1_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/inf3_pan_id.rs b/esp32c6/src/ieee802154/inf3_pan_id.rs index dafeaf3ee7..f59344efec 100644 --- a/esp32c6/src/ieee802154/inf3_pan_id.rs +++ b/esp32c6/src/ieee802154/inf3_pan_id.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn mac_inf3_pan_id(&mut self) -> MAC_INF3_PAN_ID_W { MAC_INF3_PAN_ID_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/inf3_short_addr.rs b/esp32c6/src/ieee802154/inf3_short_addr.rs index aaec32f953..df0c3c9148 100644 --- a/esp32c6/src/ieee802154/inf3_short_addr.rs +++ b/esp32c6/src/ieee802154/inf3_short_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn mac_inf3_short_addr(&mut self) -> MAC_INF3_SHORT_ADDR_W { MAC_INF3_SHORT_ADDR_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/mac_date.rs b/esp32c6/src/ieee802154/mac_date.rs index 07289174cf..1f299984f9 100644 --- a/esp32c6/src/ieee802154/mac_date.rs +++ b/esp32c6/src/ieee802154/mac_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn mac_date(&mut self) -> MAC_DATE_W { MAC_DATE_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/no_rss_detect_cnt.rs b/esp32c6/src/ieee802154/no_rss_detect_cnt.rs index 28b9247ebe..1483f27964 100644 --- a/esp32c6/src/ieee802154/no_rss_detect_cnt.rs +++ b/esp32c6/src/ieee802154/no_rss_detect_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn no_rss_detect_cnt(&mut self) -> NO_RSS_DETECT_CNT_W { NO_RSS_DETECT_CNT_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/paon_delay.rs b/esp32c6/src/ieee802154/paon_delay.rs index f3f57a8ae1..b8bf0429af 100644 --- a/esp32c6/src/ieee802154/paon_delay.rs +++ b/esp32c6/src/ieee802154/paon_delay.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9"] #[inline(always)] - #[must_use] pub fn paon_delay(&mut self) -> PAON_DELAY_W { PAON_DELAY_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/rx_abort_coex_cnt.rs b/esp32c6/src/ieee802154/rx_abort_coex_cnt.rs index 311116e9b0..8f0ff79823 100644 --- a/esp32c6/src/ieee802154/rx_abort_coex_cnt.rs +++ b/esp32c6/src/ieee802154/rx_abort_coex_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn rx_abort_coex_cnt(&mut self) -> RX_ABORT_COEX_CNT_W { RX_ABORT_COEX_CNT_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/rx_abort_intr_ctrl.rs b/esp32c6/src/ieee802154/rx_abort_intr_ctrl.rs index e3a14000fb..37ab6a83f4 100644 --- a/esp32c6/src/ieee802154/rx_abort_intr_ctrl.rs +++ b/esp32c6/src/ieee802154/rx_abort_intr_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30"] #[inline(always)] - #[must_use] pub fn rx_abort_intr_ctrl(&mut self) -> RX_ABORT_INTR_CTRL_W { RX_ABORT_INTR_CTRL_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/rx_ack_abort_coex_cnt.rs b/esp32c6/src/ieee802154/rx_ack_abort_coex_cnt.rs index 288810873e..7c6904143f 100644 --- a/esp32c6/src/ieee802154/rx_ack_abort_coex_cnt.rs +++ b/esp32c6/src/ieee802154/rx_ack_abort_coex_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn rx_ack_abort_coex_cnt(&mut self) -> RX_ACK_ABORT_COEX_CNT_W { RX_ACK_ABORT_COEX_CNT_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/rx_ack_timeout_cnt.rs b/esp32c6/src/ieee802154/rx_ack_timeout_cnt.rs index 3cd6d19085..505d65eb5a 100644 --- a/esp32c6/src/ieee802154/rx_ack_timeout_cnt.rs +++ b/esp32c6/src/ieee802154/rx_ack_timeout_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn rx_ack_timeout_cnt(&mut self) -> RX_ACK_TIMEOUT_CNT_W { RX_ACK_TIMEOUT_CNT_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/rx_filter_fail_cnt.rs b/esp32c6/src/ieee802154/rx_filter_fail_cnt.rs index b03f1d836f..20b096847e 100644 --- a/esp32c6/src/ieee802154/rx_filter_fail_cnt.rs +++ b/esp32c6/src/ieee802154/rx_filter_fail_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn rx_filter_fail_cnt(&mut self) -> RX_FILTER_FAIL_CNT_W { RX_FILTER_FAIL_CNT_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/rx_length.rs b/esp32c6/src/ieee802154/rx_length.rs index 7896acd700..e99b31b1f1 100644 --- a/esp32c6/src/ieee802154/rx_length.rs +++ b/esp32c6/src/ieee802154/rx_length.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn rx_length(&mut self) -> RX_LENGTH_W { RX_LENGTH_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/rx_restart_cnt.rs b/esp32c6/src/ieee802154/rx_restart_cnt.rs index bc86dfaea2..22caaaef04 100644 --- a/esp32c6/src/ieee802154/rx_restart_cnt.rs +++ b/esp32c6/src/ieee802154/rx_restart_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn rx_restart_cnt(&mut self) -> RX_RESTART_CNT_W { RX_RESTART_CNT_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/rx_status.rs b/esp32c6/src/ieee802154/rx_status.rs index 1a7e067a97..716461288c 100644 --- a/esp32c6/src/ieee802154/rx_status.rs +++ b/esp32c6/src/ieee802154/rx_status.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3"] #[inline(always)] - #[must_use] pub fn filter_fail_status(&mut self) -> FILTER_FAIL_STATUS_W { FILTER_FAIL_STATUS_W::new(self, 0) } #[doc = "Bits 4:8"] #[inline(always)] - #[must_use] pub fn rx_abort_status(&mut self) -> RX_ABORT_STATUS_W { RX_ABORT_STATUS_W::new(self, 4) } #[doc = "Bits 16:18"] #[inline(always)] - #[must_use] pub fn rx_state(&mut self) -> RX_STATE_W { RX_STATE_W::new(self, 16) } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn preamble_match(&mut self) -> PREAMBLE_MATCH_W { PREAMBLE_MATCH_W::new(self, 20) } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn sfd_match(&mut self) -> SFD_MATCH_W { SFD_MATCH_W::new(self, 21) } diff --git a/esp32c6/src/ieee802154/rxdma_addr.rs b/esp32c6/src/ieee802154/rxdma_addr.rs index d36a8c78ab..2d8fb038a3 100644 --- a/esp32c6/src/ieee802154/rxdma_addr.rs +++ b/esp32c6/src/ieee802154/rxdma_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn rxdma_addr(&mut self) -> RXDMA_ADDR_W { RXDMA_ADDR_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/rxdma_ctrl_state.rs b/esp32c6/src/ieee802154/rxdma_ctrl_state.rs index 23db40d666..ac7608e67a 100644 --- a/esp32c6/src/ieee802154/rxdma_ctrl_state.rs +++ b/esp32c6/src/ieee802154/rxdma_ctrl_state.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2"] #[inline(always)] - #[must_use] pub fn rxdma_water_level(&mut self) -> RXDMA_WATER_LEVEL_W { RXDMA_WATER_LEVEL_W::new(self, 0) } #[doc = "Bits 16:20"] #[inline(always)] - #[must_use] pub fn rxdma_state(&mut self) -> RXDMA_STATE_W { RXDMA_STATE_W::new(self, 16) } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn rxdma_append_lqi_offset(&mut self) -> RXDMA_APPEND_LQI_OFFSET_W { RXDMA_APPEND_LQI_OFFSET_W::new(self, 24) } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn rxdma_append_freq_offset( &mut self, ) -> RXDMA_APPEND_FREQ_OFFSET_W { diff --git a/esp32c6/src/ieee802154/rxdma_err.rs b/esp32c6/src/ieee802154/rxdma_err.rs index 7181192d93..25bb599f01 100644 --- a/esp32c6/src/ieee802154/rxdma_err.rs +++ b/esp32c6/src/ieee802154/rxdma_err.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3"] #[inline(always)] - #[must_use] pub fn rxdma_err(&mut self) -> RXDMA_ERR_W { RXDMA_ERR_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/rxon_delay.rs b/esp32c6/src/ieee802154/rxon_delay.rs index 6e8edf6309..b3584fbd3c 100644 --- a/esp32c6/src/ieee802154/rxon_delay.rs +++ b/esp32c6/src/ieee802154/rxon_delay.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10"] #[inline(always)] - #[must_use] pub fn rxon_delay(&mut self) -> RXON_DELAY_W { RXON_DELAY_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/sec_ctrl.rs b/esp32c6/src/ieee802154/sec_ctrl.rs index 88e4cf48a4..e94cd690d4 100644 --- a/esp32c6/src/ieee802154/sec_ctrl.rs +++ b/esp32c6/src/ieee802154/sec_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn sec_en(&mut self) -> SEC_EN_W { SEC_EN_W::new(self, 0) } #[doc = "Bits 8:14"] #[inline(always)] - #[must_use] pub fn sec_payload_offset(&mut self) -> SEC_PAYLOAD_OFFSET_W { SEC_PAYLOAD_OFFSET_W::new(self, 8) } diff --git a/esp32c6/src/ieee802154/sec_extend_address0.rs b/esp32c6/src/ieee802154/sec_extend_address0.rs index 4b09ea7aeb..1f3d0b5071 100644 --- a/esp32c6/src/ieee802154/sec_extend_address0.rs +++ b/esp32c6/src/ieee802154/sec_extend_address0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn sec_extend_address0(&mut self) -> SEC_EXTEND_ADDRESS0_W { SEC_EXTEND_ADDRESS0_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/sec_extend_address1.rs b/esp32c6/src/ieee802154/sec_extend_address1.rs index 03799d954f..24b9b0ce75 100644 --- a/esp32c6/src/ieee802154/sec_extend_address1.rs +++ b/esp32c6/src/ieee802154/sec_extend_address1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn sec_extend_address1(&mut self) -> SEC_EXTEND_ADDRESS1_W { SEC_EXTEND_ADDRESS1_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/sec_key0.rs b/esp32c6/src/ieee802154/sec_key0.rs index 381d9ef6ac..c063888974 100644 --- a/esp32c6/src/ieee802154/sec_key0.rs +++ b/esp32c6/src/ieee802154/sec_key0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn sec_key0(&mut self) -> SEC_KEY0_W { SEC_KEY0_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/sec_key1.rs b/esp32c6/src/ieee802154/sec_key1.rs index 6b8235d63e..d09a1c4cf6 100644 --- a/esp32c6/src/ieee802154/sec_key1.rs +++ b/esp32c6/src/ieee802154/sec_key1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn sec_key1(&mut self) -> SEC_KEY1_W { SEC_KEY1_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/sec_key2.rs b/esp32c6/src/ieee802154/sec_key2.rs index d3f72d3df6..34159e2b3e 100644 --- a/esp32c6/src/ieee802154/sec_key2.rs +++ b/esp32c6/src/ieee802154/sec_key2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn sec_key2(&mut self) -> SEC_KEY2_W { SEC_KEY2_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/sec_key3.rs b/esp32c6/src/ieee802154/sec_key3.rs index 8a3cf3b151..2f29230869 100644 --- a/esp32c6/src/ieee802154/sec_key3.rs +++ b/esp32c6/src/ieee802154/sec_key3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn sec_key3(&mut self) -> SEC_KEY3_W { SEC_KEY3_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/sfd_timeout_cnt.rs b/esp32c6/src/ieee802154/sfd_timeout_cnt.rs index 6de57e2941..073af876e6 100644 --- a/esp32c6/src/ieee802154/sfd_timeout_cnt.rs +++ b/esp32c6/src/ieee802154/sfd_timeout_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn sfd_timeout_cnt(&mut self) -> SFD_TIMEOUT_CNT_W { SFD_TIMEOUT_CNT_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/sfd_wait_symbol.rs b/esp32c6/src/ieee802154/sfd_wait_symbol.rs index 0fe14d17de..5de50d98e6 100644 --- a/esp32c6/src/ieee802154/sfd_wait_symbol.rs +++ b/esp32c6/src/ieee802154/sfd_wait_symbol.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3"] #[inline(always)] - #[must_use] pub fn num(&mut self) -> NUM_W { NUM_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/test_control.rs b/esp32c6/src/ieee802154/test_control.rs index 035969c307..c57677d890 100644 --- a/esp32c6/src/ieee802154/test_control.rs +++ b/esp32c6/src/ieee802154/test_control.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn wrong_crc(&mut self) -> WRONG_CRC_W { WRONG_CRC_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/time0_threshold.rs b/esp32c6/src/ieee802154/time0_threshold.rs index a153f7220a..7a45570fdc 100644 --- a/esp32c6/src/ieee802154/time0_threshold.rs +++ b/esp32c6/src/ieee802154/time0_threshold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn timer0_threshold(&mut self) -> TIMER0_THRESHOLD_W { TIMER0_THRESHOLD_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/time0_value.rs b/esp32c6/src/ieee802154/time0_value.rs index bd564e6133..759739e7bf 100644 --- a/esp32c6/src/ieee802154/time0_value.rs +++ b/esp32c6/src/ieee802154/time0_value.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn timer0_value(&mut self) -> TIMER0_VALUE_W { TIMER0_VALUE_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/time1_threshold.rs b/esp32c6/src/ieee802154/time1_threshold.rs index 1d418858e6..251cb289fc 100644 --- a/esp32c6/src/ieee802154/time1_threshold.rs +++ b/esp32c6/src/ieee802154/time1_threshold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn timer1_threshold(&mut self) -> TIMER1_THRESHOLD_W { TIMER1_THRESHOLD_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/time1_value.rs b/esp32c6/src/ieee802154/time1_value.rs index 203ffe6278..de3a334148 100644 --- a/esp32c6/src/ieee802154/time1_value.rs +++ b/esp32c6/src/ieee802154/time1_value.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn timer1_value(&mut self) -> TIMER1_VALUE_W { TIMER1_VALUE_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/tx_abort_interrupt_control.rs b/esp32c6/src/ieee802154/tx_abort_interrupt_control.rs index b5ddb76ba8..fe1e382dba 100644 --- a/esp32c6/src/ieee802154/tx_abort_interrupt_control.rs +++ b/esp32c6/src/ieee802154/tx_abort_interrupt_control.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30"] #[inline(always)] - #[must_use] pub fn tx_abort_interrupt_control( &mut self, ) -> TX_ABORT_INTERRUPT_CONTROL_W { diff --git a/esp32c6/src/ieee802154/tx_ack_abort_coex_cnt.rs b/esp32c6/src/ieee802154/tx_ack_abort_coex_cnt.rs index 87270097df..46ed7e8dde 100644 --- a/esp32c6/src/ieee802154/tx_ack_abort_coex_cnt.rs +++ b/esp32c6/src/ieee802154/tx_ack_abort_coex_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn tx_ack_abort_coex_cnt(&mut self) -> TX_ACK_ABORT_COEX_CNT_W { TX_ACK_ABORT_COEX_CNT_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/tx_break_coex_cnt.rs b/esp32c6/src/ieee802154/tx_break_coex_cnt.rs index 10759ccb0a..20d51b985f 100644 --- a/esp32c6/src/ieee802154/tx_break_coex_cnt.rs +++ b/esp32c6/src/ieee802154/tx_break_coex_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn tx_break_coex_cnt(&mut self) -> TX_BREAK_COEX_CNT_W { TX_BREAK_COEX_CNT_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/tx_ccm_schedule_status.rs b/esp32c6/src/ieee802154/tx_ccm_schedule_status.rs index 5b61a127d7..aa217c8e89 100644 --- a/esp32c6/src/ieee802154/tx_ccm_schedule_status.rs +++ b/esp32c6/src/ieee802154/tx_ccm_schedule_status.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30"] #[inline(always)] - #[must_use] pub fn tx_ccm_schedule_status( &mut self, ) -> TX_CCM_SCHEDULE_STATUS_W { diff --git a/esp32c6/src/ieee802154/tx_power.rs b/esp32c6/src/ieee802154/tx_power.rs index 14d9e1c8a7..2e620d3f4d 100644 --- a/esp32c6/src/ieee802154/tx_power.rs +++ b/esp32c6/src/ieee802154/tx_power.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn tx_power(&mut self) -> TX_POWER_W { TX_POWER_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/tx_security_error_cnt.rs b/esp32c6/src/ieee802154/tx_security_error_cnt.rs index 687e0f399c..c1a96ce692 100644 --- a/esp32c6/src/ieee802154/tx_security_error_cnt.rs +++ b/esp32c6/src/ieee802154/tx_security_error_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn tx_security_error_cnt(&mut self) -> TX_SECURITY_ERROR_CNT_W { TX_SECURITY_ERROR_CNT_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/tx_status.rs b/esp32c6/src/ieee802154/tx_status.rs index 1ecd584012..3c4e75c142 100644 --- a/esp32c6/src/ieee802154/tx_status.rs +++ b/esp32c6/src/ieee802154/tx_status.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3"] #[inline(always)] - #[must_use] pub fn tx_state(&mut self) -> TX_STATE_W { TX_STATE_W::new(self, 0) } #[doc = "Bits 4:8"] #[inline(always)] - #[must_use] pub fn tx_abort_status(&mut self) -> TX_ABORT_STATUS_W { TX_ABORT_STATUS_W::new(self, 4) } #[doc = "Bits 16:19"] #[inline(always)] - #[must_use] pub fn tx_sec_error_code(&mut self) -> TX_SEC_ERROR_CODE_W { TX_SEC_ERROR_CODE_W::new(self, 16) } diff --git a/esp32c6/src/ieee802154/txdma_addr.rs b/esp32c6/src/ieee802154/txdma_addr.rs index bbb103dcd9..a2311e9389 100644 --- a/esp32c6/src/ieee802154/txdma_addr.rs +++ b/esp32c6/src/ieee802154/txdma_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn txdma_addr(&mut self) -> TXDMA_ADDR_W { TXDMA_ADDR_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/txdma_ctrl_state.rs b/esp32c6/src/ieee802154/txdma_ctrl_state.rs index ff23bdce05..f5d67e3bfc 100644 --- a/esp32c6/src/ieee802154/txdma_ctrl_state.rs +++ b/esp32c6/src/ieee802154/txdma_ctrl_state.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2"] #[inline(always)] - #[must_use] pub fn txdma_water_level(&mut self) -> TXDMA_WATER_LEVEL_W { TXDMA_WATER_LEVEL_W::new(self, 0) } #[doc = "Bits 4:6"] #[inline(always)] - #[must_use] pub fn txdma_fill_entry(&mut self) -> TXDMA_FILL_ENTRY_W { TXDMA_FILL_ENTRY_W::new(self, 4) } #[doc = "Bits 16:20"] #[inline(always)] - #[must_use] pub fn txdma_state(&mut self) -> TXDMA_STATE_W { TXDMA_STATE_W::new(self, 16) } #[doc = "Bits 24:30"] #[inline(always)] - #[must_use] pub fn txdma_fetch_byte_cnt(&mut self) -> TXDMA_FETCH_BYTE_CNT_W { TXDMA_FETCH_BYTE_CNT_W::new(self, 24) } diff --git a/esp32c6/src/ieee802154/txdma_err.rs b/esp32c6/src/ieee802154/txdma_err.rs index dfa90d297f..37ee230937 100644 --- a/esp32c6/src/ieee802154/txdma_err.rs +++ b/esp32c6/src/ieee802154/txdma_err.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3"] #[inline(always)] - #[must_use] pub fn txdma_err(&mut self) -> TXDMA_ERR_W { TXDMA_ERR_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/txen_stop_delay.rs b/esp32c6/src/ieee802154/txen_stop_delay.rs index 13c6d4b30e..6d9c6a116c 100644 --- a/esp32c6/src/ieee802154/txen_stop_delay.rs +++ b/esp32c6/src/ieee802154/txen_stop_delay.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn txen_stop_dly(&mut self) -> TXEN_STOP_DLY_W { TXEN_STOP_DLY_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/txoff_delay.rs b/esp32c6/src/ieee802154/txoff_delay.rs index 67c1bbbe8a..a3223d1b2a 100644 --- a/esp32c6/src/ieee802154/txoff_delay.rs +++ b/esp32c6/src/ieee802154/txoff_delay.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn txoff_delay(&mut self) -> TXOFF_DELAY_W { TXOFF_DELAY_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/txon_delay.rs b/esp32c6/src/ieee802154/txon_delay.rs index ac10a45591..4a8dd7bb40 100644 --- a/esp32c6/src/ieee802154/txon_delay.rs +++ b/esp32c6/src/ieee802154/txon_delay.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9"] #[inline(always)] - #[must_use] pub fn txon_delay(&mut self) -> TXON_DELAY_W { TXON_DELAY_W::new(self, 0) } diff --git a/esp32c6/src/ieee802154/txrx_path_delay.rs b/esp32c6/src/ieee802154/txrx_path_delay.rs index ffba01d63c..aa790f8e38 100644 --- a/esp32c6/src/ieee802154/txrx_path_delay.rs +++ b/esp32c6/src/ieee802154/txrx_path_delay.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn tx_path_delay(&mut self) -> TX_PATH_DELAY_W { TX_PATH_DELAY_W::new(self, 0) } #[doc = "Bits 16:21"] #[inline(always)] - #[must_use] pub fn rx_path_delay(&mut self) -> RX_PATH_DELAY_W { RX_PATH_DELAY_W::new(self, 16) } diff --git a/esp32c6/src/ieee802154/txrx_status.rs b/esp32c6/src/ieee802154/txrx_status.rs index d4af1fd157..ac7102524b 100644 --- a/esp32c6/src/ieee802154/txrx_status.rs +++ b/esp32c6/src/ieee802154/txrx_status.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3"] #[inline(always)] - #[must_use] pub fn txrx_state(&mut self) -> TXRX_STATE_W { TXRX_STATE_W::new(self, 0) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn tx_proc(&mut self) -> TX_PROC_W { TX_PROC_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn rx_proc(&mut self) -> RX_PROC_W { RX_PROC_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn ed_proc(&mut self) -> ED_PROC_W { ED_PROC_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn ed_trigger_tx_proc(&mut self) -> ED_TRIGGER_TX_PROC_W { ED_TRIGGER_TX_PROC_W::new(self, 11) } #[doc = "Bits 16:19"] #[inline(always)] - #[must_use] pub fn rf_ctrl_state(&mut self) -> RF_CTRL_STATE_W { RF_CTRL_STATE_W::new(self, 16) } diff --git a/esp32c6/src/ieee802154/txrx_switch_delay.rs b/esp32c6/src/ieee802154/txrx_switch_delay.rs index 600f38163b..c72ba9b65f 100644 --- a/esp32c6/src/ieee802154/txrx_switch_delay.rs +++ b/esp32c6/src/ieee802154/txrx_switch_delay.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9"] #[inline(always)] - #[must_use] pub fn txrx_switch_delay(&mut self) -> TXRX_SWITCH_DELAY_W { TXRX_SWITCH_DELAY_W::new(self, 0) } diff --git a/esp32c6/src/interrupt.rs b/esp32c6/src/interrupt.rs index d99473224c..0e66a817f4 100644 --- a/esp32c6/src/interrupt.rs +++ b/esp32c6/src/interrupt.rs @@ -159,6 +159,7 @@ pub enum Interrupt { ECC = 76, } #[doc = r" TryFromInterruptError"] +#[cfg_attr(feature = "defmt", derive(defmt::Format))] #[derive(Debug, Copy, Clone)] pub struct TryFromInterruptError(()); impl Interrupt { diff --git a/esp32c6/src/interrupt_core0/aes_intr_map.rs b/esp32c6/src/interrupt_core0/aes_intr_map.rs index e92d2e92b6..e43670a085 100644 --- a/esp32c6/src/interrupt_core0/aes_intr_map.rs +++ b/esp32c6/src/interrupt_core0/aes_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn aes_intr_map(&mut self) -> AES_INTR_MAP_W { AES_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/apb_adc_intr_map.rs b/esp32c6/src/interrupt_core0/apb_adc_intr_map.rs index 7cc50d5fea..126d52b208 100644 --- a/esp32c6/src/interrupt_core0/apb_adc_intr_map.rs +++ b/esp32c6/src/interrupt_core0/apb_adc_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn apb_adc_intr_map(&mut self) -> APB_ADC_INTR_MAP_W { APB_ADC_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/assist_debug_intr_map.rs b/esp32c6/src/interrupt_core0/assist_debug_intr_map.rs index 4e2e0763cb..e0968058e1 100644 --- a/esp32c6/src/interrupt_core0/assist_debug_intr_map.rs +++ b/esp32c6/src/interrupt_core0/assist_debug_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn assist_debug_intr_map(&mut self) -> ASSIST_DEBUG_INTR_MAP_W { ASSIST_DEBUG_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/ble_sec_intr_map.rs b/esp32c6/src/interrupt_core0/ble_sec_intr_map.rs index 273ce3c2e5..795d1c6058 100644 --- a/esp32c6/src/interrupt_core0/ble_sec_intr_map.rs +++ b/esp32c6/src/interrupt_core0/ble_sec_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn ble_sec_intr_map(&mut self) -> BLE_SEC_INTR_MAP_W { BLE_SEC_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/ble_timer_intr_map.rs b/esp32c6/src/interrupt_core0/ble_timer_intr_map.rs index 795109a0e6..fe588f9a15 100644 --- a/esp32c6/src/interrupt_core0/ble_timer_intr_map.rs +++ b/esp32c6/src/interrupt_core0/ble_timer_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn ble_timer_intr_map(&mut self) -> BLE_TIMER_INTR_MAP_W { BLE_TIMER_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/bt_bb_intr_map.rs b/esp32c6/src/interrupt_core0/bt_bb_intr_map.rs index e709f2a54f..2d1da62c3b 100644 --- a/esp32c6/src/interrupt_core0/bt_bb_intr_map.rs +++ b/esp32c6/src/interrupt_core0/bt_bb_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn bt_bb_intr_map(&mut self) -> BT_BB_INTR_MAP_W { BT_BB_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/bt_bb_nmi_map.rs b/esp32c6/src/interrupt_core0/bt_bb_nmi_map.rs index b64f2c51a9..24ab93c060 100644 --- a/esp32c6/src/interrupt_core0/bt_bb_nmi_map.rs +++ b/esp32c6/src/interrupt_core0/bt_bb_nmi_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn bt_bb_nmi_map(&mut self) -> BT_BB_NMI_MAP_W { BT_BB_NMI_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/bt_mac_intr_map.rs b/esp32c6/src/interrupt_core0/bt_mac_intr_map.rs index f6c087e471..e24cffe5a5 100644 --- a/esp32c6/src/interrupt_core0/bt_mac_intr_map.rs +++ b/esp32c6/src/interrupt_core0/bt_mac_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn bt_mac_intr_map(&mut self) -> BT_MAC_INTR_MAP_W { BT_MAC_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/cache_intr_map.rs b/esp32c6/src/interrupt_core0/cache_intr_map.rs index 3815e989ea..6f41f5a835 100644 --- a/esp32c6/src/interrupt_core0/cache_intr_map.rs +++ b/esp32c6/src/interrupt_core0/cache_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn cache_intr_map(&mut self) -> CACHE_INTR_MAP_W { CACHE_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/can0_intr_map.rs b/esp32c6/src/interrupt_core0/can0_intr_map.rs index 97d7f68676..ec6802c6e4 100644 --- a/esp32c6/src/interrupt_core0/can0_intr_map.rs +++ b/esp32c6/src/interrupt_core0/can0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn can0_intr_map(&mut self) -> CAN0_INTR_MAP_W { CAN0_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/can1_intr_map.rs b/esp32c6/src/interrupt_core0/can1_intr_map.rs index 1290a62e92..4f96eb5de5 100644 --- a/esp32c6/src/interrupt_core0/can1_intr_map.rs +++ b/esp32c6/src/interrupt_core0/can1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn can1_intr_map(&mut self) -> CAN1_INTR_MAP_W { CAN1_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/clock_gate.rs b/esp32c6/src/interrupt_core0/clock_gate.rs index 1f561ef500..6191572643 100644 --- a/esp32c6/src/interrupt_core0/clock_gate.rs +++ b/esp32c6/src/interrupt_core0/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Need add description"] #[inline(always)] - #[must_use] pub fn reg_clk_en(&mut self) -> REG_CLK_EN_W { REG_CLK_EN_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/coex_intr_map.rs b/esp32c6/src/interrupt_core0/coex_intr_map.rs index fa06c03f6c..243c916efc 100644 --- a/esp32c6/src/interrupt_core0/coex_intr_map.rs +++ b/esp32c6/src/interrupt_core0/coex_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn coex_intr_map(&mut self) -> COEX_INTR_MAP_W { COEX_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/cpu_intr_from_cpu_0_map.rs b/esp32c6/src/interrupt_core0/cpu_intr_from_cpu_0_map.rs index 6bf324fcff..5b04a44dcd 100644 --- a/esp32c6/src/interrupt_core0/cpu_intr_from_cpu_0_map.rs +++ b/esp32c6/src/interrupt_core0/cpu_intr_from_cpu_0_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_0_map( &mut self, ) -> CPU_INTR_FROM_CPU_0_MAP_W { diff --git a/esp32c6/src/interrupt_core0/cpu_intr_from_cpu_1_map.rs b/esp32c6/src/interrupt_core0/cpu_intr_from_cpu_1_map.rs index 715d423b13..01ace9cdbf 100644 --- a/esp32c6/src/interrupt_core0/cpu_intr_from_cpu_1_map.rs +++ b/esp32c6/src/interrupt_core0/cpu_intr_from_cpu_1_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_1_map( &mut self, ) -> CPU_INTR_FROM_CPU_1_MAP_W { diff --git a/esp32c6/src/interrupt_core0/cpu_intr_from_cpu_2_map.rs b/esp32c6/src/interrupt_core0/cpu_intr_from_cpu_2_map.rs index 142a1e5b00..28bf5081c5 100644 --- a/esp32c6/src/interrupt_core0/cpu_intr_from_cpu_2_map.rs +++ b/esp32c6/src/interrupt_core0/cpu_intr_from_cpu_2_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_2_map( &mut self, ) -> CPU_INTR_FROM_CPU_2_MAP_W { diff --git a/esp32c6/src/interrupt_core0/cpu_intr_from_cpu_3_map.rs b/esp32c6/src/interrupt_core0/cpu_intr_from_cpu_3_map.rs index 00b228fa29..938d1f836e 100644 --- a/esp32c6/src/interrupt_core0/cpu_intr_from_cpu_3_map.rs +++ b/esp32c6/src/interrupt_core0/cpu_intr_from_cpu_3_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_3_map( &mut self, ) -> CPU_INTR_FROM_CPU_3_MAP_W { diff --git a/esp32c6/src/interrupt_core0/cpu_peri_timeout_intr_map.rs b/esp32c6/src/interrupt_core0/cpu_peri_timeout_intr_map.rs index a0957a9a0d..83a022a216 100644 --- a/esp32c6/src/interrupt_core0/cpu_peri_timeout_intr_map.rs +++ b/esp32c6/src/interrupt_core0/cpu_peri_timeout_intr_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn cpu_peri_timeout_intr_map( &mut self, ) -> CPU_PERI_TIMEOUT_INTR_MAP_W { diff --git a/esp32c6/src/interrupt_core0/dma_in_ch0_intr_map.rs b/esp32c6/src/interrupt_core0/dma_in_ch0_intr_map.rs index 465c793c4f..4de3eae6a6 100644 --- a/esp32c6/src/interrupt_core0/dma_in_ch0_intr_map.rs +++ b/esp32c6/src/interrupt_core0/dma_in_ch0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn dma_in_ch0_intr_map(&mut self) -> DMA_IN_CH0_INTR_MAP_W { DMA_IN_CH0_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/dma_in_ch1_intr_map.rs b/esp32c6/src/interrupt_core0/dma_in_ch1_intr_map.rs index 2d66949341..cec6552b9e 100644 --- a/esp32c6/src/interrupt_core0/dma_in_ch1_intr_map.rs +++ b/esp32c6/src/interrupt_core0/dma_in_ch1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn dma_in_ch1_intr_map(&mut self) -> DMA_IN_CH1_INTR_MAP_W { DMA_IN_CH1_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/dma_in_ch2_intr_map.rs b/esp32c6/src/interrupt_core0/dma_in_ch2_intr_map.rs index 122a3f9246..4e9427c811 100644 --- a/esp32c6/src/interrupt_core0/dma_in_ch2_intr_map.rs +++ b/esp32c6/src/interrupt_core0/dma_in_ch2_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn dma_in_ch2_intr_map(&mut self) -> DMA_IN_CH2_INTR_MAP_W { DMA_IN_CH2_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/dma_out_ch0_intr_map.rs b/esp32c6/src/interrupt_core0/dma_out_ch0_intr_map.rs index 6e690e0c2c..bae61edaaa 100644 --- a/esp32c6/src/interrupt_core0/dma_out_ch0_intr_map.rs +++ b/esp32c6/src/interrupt_core0/dma_out_ch0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn dma_out_ch0_intr_map(&mut self) -> DMA_OUT_CH0_INTR_MAP_W { DMA_OUT_CH0_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/dma_out_ch1_intr_map.rs b/esp32c6/src/interrupt_core0/dma_out_ch1_intr_map.rs index e5fe597622..e910549d8d 100644 --- a/esp32c6/src/interrupt_core0/dma_out_ch1_intr_map.rs +++ b/esp32c6/src/interrupt_core0/dma_out_ch1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn dma_out_ch1_intr_map(&mut self) -> DMA_OUT_CH1_INTR_MAP_W { DMA_OUT_CH1_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/dma_out_ch2_intr_map.rs b/esp32c6/src/interrupt_core0/dma_out_ch2_intr_map.rs index a10399f50f..19e6888fcf 100644 --- a/esp32c6/src/interrupt_core0/dma_out_ch2_intr_map.rs +++ b/esp32c6/src/interrupt_core0/dma_out_ch2_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn dma_out_ch2_intr_map(&mut self) -> DMA_OUT_CH2_INTR_MAP_W { DMA_OUT_CH2_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/ecc_intr_map.rs b/esp32c6/src/interrupt_core0/ecc_intr_map.rs index 194ab2cb0b..44807cc875 100644 --- a/esp32c6/src/interrupt_core0/ecc_intr_map.rs +++ b/esp32c6/src/interrupt_core0/ecc_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn ecc_intr_map(&mut self) -> ECC_INTR_MAP_W { ECC_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/efuse_intr_map.rs b/esp32c6/src/interrupt_core0/efuse_intr_map.rs index 68aab35176..9b3460bea5 100644 --- a/esp32c6/src/interrupt_core0/efuse_intr_map.rs +++ b/esp32c6/src/interrupt_core0/efuse_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn efuse_intr_map(&mut self) -> EFUSE_INTR_MAP_W { EFUSE_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/gpio_interrupt_pro_map.rs b/esp32c6/src/interrupt_core0/gpio_interrupt_pro_map.rs index aceeda82d7..6b93e30195 100644 --- a/esp32c6/src/interrupt_core0/gpio_interrupt_pro_map.rs +++ b/esp32c6/src/interrupt_core0/gpio_interrupt_pro_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn gpio_interrupt_pro_map( &mut self, ) -> GPIO_INTERRUPT_PRO_MAP_W { diff --git a/esp32c6/src/interrupt_core0/gpio_interrupt_pro_nmi_map.rs b/esp32c6/src/interrupt_core0/gpio_interrupt_pro_nmi_map.rs index 6ac69d37c1..372b45b6e1 100644 --- a/esp32c6/src/interrupt_core0/gpio_interrupt_pro_nmi_map.rs +++ b/esp32c6/src/interrupt_core0/gpio_interrupt_pro_nmi_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn gpio_interrupt_pro_nmi_map( &mut self, ) -> GPIO_INTERRUPT_PRO_NMI_MAP_W { diff --git a/esp32c6/src/interrupt_core0/gpspi2_intr_map.rs b/esp32c6/src/interrupt_core0/gpspi2_intr_map.rs index a9466ef9e7..c49209366a 100644 --- a/esp32c6/src/interrupt_core0/gpspi2_intr_map.rs +++ b/esp32c6/src/interrupt_core0/gpspi2_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn gpspi2_intr_map(&mut self) -> GPSPI2_INTR_MAP_W { GPSPI2_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/hp_apm_m0_intr_map.rs b/esp32c6/src/interrupt_core0/hp_apm_m0_intr_map.rs index 6f7ec2d264..de7f4b5529 100644 --- a/esp32c6/src/interrupt_core0/hp_apm_m0_intr_map.rs +++ b/esp32c6/src/interrupt_core0/hp_apm_m0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn hp_apm_m0_intr_map(&mut self) -> HP_APM_M0_INTR_MAP_W { HP_APM_M0_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/hp_apm_m1_intr_map.rs b/esp32c6/src/interrupt_core0/hp_apm_m1_intr_map.rs index 5543e0e80b..bdc39e0bfc 100644 --- a/esp32c6/src/interrupt_core0/hp_apm_m1_intr_map.rs +++ b/esp32c6/src/interrupt_core0/hp_apm_m1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn hp_apm_m1_intr_map(&mut self) -> HP_APM_M1_INTR_MAP_W { HP_APM_M1_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/hp_apm_m2_intr_map.rs b/esp32c6/src/interrupt_core0/hp_apm_m2_intr_map.rs index 1ee948f71f..1c7901d6b7 100644 --- a/esp32c6/src/interrupt_core0/hp_apm_m2_intr_map.rs +++ b/esp32c6/src/interrupt_core0/hp_apm_m2_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn hp_apm_m2_intr_map(&mut self) -> HP_APM_M2_INTR_MAP_W { HP_APM_M2_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/hp_apm_m3_intr_map.rs b/esp32c6/src/interrupt_core0/hp_apm_m3_intr_map.rs index d9cfab9cec..b494840c80 100644 --- a/esp32c6/src/interrupt_core0/hp_apm_m3_intr_map.rs +++ b/esp32c6/src/interrupt_core0/hp_apm_m3_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn hp_apm_m3_intr_map(&mut self) -> HP_APM_M3_INTR_MAP_W { HP_APM_M3_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/hp_peri_timeout_intr_map.rs b/esp32c6/src/interrupt_core0/hp_peri_timeout_intr_map.rs index d801f1855a..cd603213d3 100644 --- a/esp32c6/src/interrupt_core0/hp_peri_timeout_intr_map.rs +++ b/esp32c6/src/interrupt_core0/hp_peri_timeout_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn hp_peri_timeout_intr_map( &mut self, ) -> HP_PERI_TIMEOUT_INTR_MAP_W { diff --git a/esp32c6/src/interrupt_core0/i2c_ext0_intr_map.rs b/esp32c6/src/interrupt_core0/i2c_ext0_intr_map.rs index 133232eb50..64ca2bff46 100644 --- a/esp32c6/src/interrupt_core0/i2c_ext0_intr_map.rs +++ b/esp32c6/src/interrupt_core0/i2c_ext0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn i2c_ext0_intr_map(&mut self) -> I2C_EXT0_INTR_MAP_W { I2C_EXT0_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/i2c_mst_intr_map.rs b/esp32c6/src/interrupt_core0/i2c_mst_intr_map.rs index e109e9fc2c..94e979dc66 100644 --- a/esp32c6/src/interrupt_core0/i2c_mst_intr_map.rs +++ b/esp32c6/src/interrupt_core0/i2c_mst_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn i2c_mst_intr_map(&mut self) -> I2C_MST_INTR_MAP_W { I2C_MST_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/i2s1_intr_map.rs b/esp32c6/src/interrupt_core0/i2s1_intr_map.rs index 3ce35c2cd8..832090a247 100644 --- a/esp32c6/src/interrupt_core0/i2s1_intr_map.rs +++ b/esp32c6/src/interrupt_core0/i2s1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn i2s1_intr_map(&mut self) -> I2S1_INTR_MAP_W { I2S1_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/interrupt_reg_date.rs b/esp32c6/src/interrupt_core0/interrupt_reg_date.rs index 31eb7c513c..05538a6780 100644 --- a/esp32c6/src/interrupt_core0/interrupt_reg_date.rs +++ b/esp32c6/src/interrupt_core0/interrupt_reg_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Need add description"] #[inline(always)] - #[must_use] pub fn interrupt_reg_date(&mut self) -> INTERRUPT_REG_DATE_W { INTERRUPT_REG_DATE_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/ledc_intr_map.rs b/esp32c6/src/interrupt_core0/ledc_intr_map.rs index 0238a079b5..4e1a5453fa 100644 --- a/esp32c6/src/interrupt_core0/ledc_intr_map.rs +++ b/esp32c6/src/interrupt_core0/ledc_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn ledc_intr_map(&mut self) -> LEDC_INTR_MAP_W { LEDC_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/lp_apm0_intr_map.rs b/esp32c6/src/interrupt_core0/lp_apm0_intr_map.rs index 046471d5d3..17934390c7 100644 --- a/esp32c6/src/interrupt_core0/lp_apm0_intr_map.rs +++ b/esp32c6/src/interrupt_core0/lp_apm0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn lp_apm0_intr_map(&mut self) -> LP_APM0_INTR_MAP_W { LP_APM0_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/lp_apm_m0_intr_map.rs b/esp32c6/src/interrupt_core0/lp_apm_m0_intr_map.rs index 1174e66d2a..5d643f8e7c 100644 --- a/esp32c6/src/interrupt_core0/lp_apm_m0_intr_map.rs +++ b/esp32c6/src/interrupt_core0/lp_apm_m0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn lp_apm_m0_intr_map(&mut self) -> LP_APM_M0_INTR_MAP_W { LP_APM_M0_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/lp_apm_m1_intr_map.rs b/esp32c6/src/interrupt_core0/lp_apm_m1_intr_map.rs index fdcee5761c..fbeb7a15f1 100644 --- a/esp32c6/src/interrupt_core0/lp_apm_m1_intr_map.rs +++ b/esp32c6/src/interrupt_core0/lp_apm_m1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn lp_apm_m1_intr_map(&mut self) -> LP_APM_M1_INTR_MAP_W { LP_APM_M1_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/lp_i2c_intr_map.rs b/esp32c6/src/interrupt_core0/lp_i2c_intr_map.rs index cca3a06685..3dff6373e7 100644 --- a/esp32c6/src/interrupt_core0/lp_i2c_intr_map.rs +++ b/esp32c6/src/interrupt_core0/lp_i2c_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn lp_i2c_intr_map(&mut self) -> LP_I2C_INTR_MAP_W { LP_I2C_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/lp_peri_timeout_intr_map.rs b/esp32c6/src/interrupt_core0/lp_peri_timeout_intr_map.rs index ba03976e87..2ab97b884a 100644 --- a/esp32c6/src/interrupt_core0/lp_peri_timeout_intr_map.rs +++ b/esp32c6/src/interrupt_core0/lp_peri_timeout_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn lp_peri_timeout_intr_map( &mut self, ) -> LP_PERI_TIMEOUT_INTR_MAP_W { diff --git a/esp32c6/src/interrupt_core0/lp_rtc_timer_intr_map.rs b/esp32c6/src/interrupt_core0/lp_rtc_timer_intr_map.rs index 46732b1714..6185b01cb2 100644 --- a/esp32c6/src/interrupt_core0/lp_rtc_timer_intr_map.rs +++ b/esp32c6/src/interrupt_core0/lp_rtc_timer_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn lp_rtc_timer_intr_map(&mut self) -> LP_RTC_TIMER_INTR_MAP_W { LP_RTC_TIMER_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/lp_timer_intr_map.rs b/esp32c6/src/interrupt_core0/lp_timer_intr_map.rs index 5286809978..9e28295fa0 100644 --- a/esp32c6/src/interrupt_core0/lp_timer_intr_map.rs +++ b/esp32c6/src/interrupt_core0/lp_timer_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn lp_timer_intr_map(&mut self) -> LP_TIMER_INTR_MAP_W { LP_TIMER_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/lp_uart_intr_map.rs b/esp32c6/src/interrupt_core0/lp_uart_intr_map.rs index 530c3f3b28..dd6a11cbf1 100644 --- a/esp32c6/src/interrupt_core0/lp_uart_intr_map.rs +++ b/esp32c6/src/interrupt_core0/lp_uart_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn lp_uart_intr_map(&mut self) -> LP_UART_INTR_MAP_W { LP_UART_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/lp_wdt_intr_map.rs b/esp32c6/src/interrupt_core0/lp_wdt_intr_map.rs index a88cea1bdc..bba64ff329 100644 --- a/esp32c6/src/interrupt_core0/lp_wdt_intr_map.rs +++ b/esp32c6/src/interrupt_core0/lp_wdt_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn lp_wdt_intr_map(&mut self) -> LP_WDT_INTR_MAP_W { LP_WDT_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/modem_peri_timeout_intr_map.rs b/esp32c6/src/interrupt_core0/modem_peri_timeout_intr_map.rs index 83f4b0bf4d..ffcabae822 100644 --- a/esp32c6/src/interrupt_core0/modem_peri_timeout_intr_map.rs +++ b/esp32c6/src/interrupt_core0/modem_peri_timeout_intr_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn modem_peri_timeout_intr_map( &mut self, ) -> MODEM_PERI_TIMEOUT_INTR_MAP_W { diff --git a/esp32c6/src/interrupt_core0/mspi_intr_map.rs b/esp32c6/src/interrupt_core0/mspi_intr_map.rs index 58dc9d3768..b6bced639d 100644 --- a/esp32c6/src/interrupt_core0/mspi_intr_map.rs +++ b/esp32c6/src/interrupt_core0/mspi_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn mspi_intr_map(&mut self) -> MSPI_INTR_MAP_W { MSPI_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/parl_io_intr_map.rs b/esp32c6/src/interrupt_core0/parl_io_intr_map.rs index 003b8efbf6..adc0c08671 100644 --- a/esp32c6/src/interrupt_core0/parl_io_intr_map.rs +++ b/esp32c6/src/interrupt_core0/parl_io_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn parl_io_intr_map(&mut self) -> PARL_IO_INTR_MAP_W { PARL_IO_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/pau_intr_map.rs b/esp32c6/src/interrupt_core0/pau_intr_map.rs index 84d19f99dc..0b5833a960 100644 --- a/esp32c6/src/interrupt_core0/pau_intr_map.rs +++ b/esp32c6/src/interrupt_core0/pau_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn pau_intr_map(&mut self) -> PAU_INTR_MAP_W { PAU_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/pcnt_intr_map.rs b/esp32c6/src/interrupt_core0/pcnt_intr_map.rs index ee8e20d9a8..4eedfd96b8 100644 --- a/esp32c6/src/interrupt_core0/pcnt_intr_map.rs +++ b/esp32c6/src/interrupt_core0/pcnt_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn pcnt_intr_map(&mut self) -> PCNT_INTR_MAP_W { PCNT_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/pmu_intr_map.rs b/esp32c6/src/interrupt_core0/pmu_intr_map.rs index c4be33fb54..cc23dd3ec5 100644 --- a/esp32c6/src/interrupt_core0/pmu_intr_map.rs +++ b/esp32c6/src/interrupt_core0/pmu_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn pmu_intr_map(&mut self) -> PMU_INTR_MAP_W { PMU_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/pwm_intr_map.rs b/esp32c6/src/interrupt_core0/pwm_intr_map.rs index 55842a8702..e3687f6aa8 100644 --- a/esp32c6/src/interrupt_core0/pwm_intr_map.rs +++ b/esp32c6/src/interrupt_core0/pwm_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn pwm_intr_map(&mut self) -> PWM_INTR_MAP_W { PWM_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/rmt_intr_map.rs b/esp32c6/src/interrupt_core0/rmt_intr_map.rs index c99f9ad60f..2693775ca5 100644 --- a/esp32c6/src/interrupt_core0/rmt_intr_map.rs +++ b/esp32c6/src/interrupt_core0/rmt_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn rmt_intr_map(&mut self) -> RMT_INTR_MAP_W { RMT_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/rsa_intr_map.rs b/esp32c6/src/interrupt_core0/rsa_intr_map.rs index 4aa2916652..3bca32f038 100644 --- a/esp32c6/src/interrupt_core0/rsa_intr_map.rs +++ b/esp32c6/src/interrupt_core0/rsa_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn rsa_intr_map(&mut self) -> RSA_INTR_MAP_W { RSA_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/sha_intr_map.rs b/esp32c6/src/interrupt_core0/sha_intr_map.rs index aaffd672eb..689fa94854 100644 --- a/esp32c6/src/interrupt_core0/sha_intr_map.rs +++ b/esp32c6/src/interrupt_core0/sha_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn sha_intr_map(&mut self) -> SHA_INTR_MAP_W { SHA_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/slc0_intr_map.rs b/esp32c6/src/interrupt_core0/slc0_intr_map.rs index 4ab2073100..390424efab 100644 --- a/esp32c6/src/interrupt_core0/slc0_intr_map.rs +++ b/esp32c6/src/interrupt_core0/slc0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn slc0_intr_map(&mut self) -> SLC0_INTR_MAP_W { SLC0_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/slc1_intr_map.rs b/esp32c6/src/interrupt_core0/slc1_intr_map.rs index a8375cf490..d332f431c6 100644 --- a/esp32c6/src/interrupt_core0/slc1_intr_map.rs +++ b/esp32c6/src/interrupt_core0/slc1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn slc1_intr_map(&mut self) -> SLC1_INTR_MAP_W { SLC1_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/systimer_target0_intr_map.rs b/esp32c6/src/interrupt_core0/systimer_target0_intr_map.rs index 7cbde4fb36..8366f9113b 100644 --- a/esp32c6/src/interrupt_core0/systimer_target0_intr_map.rs +++ b/esp32c6/src/interrupt_core0/systimer_target0_intr_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn systimer_target0_intr_map( &mut self, ) -> SYSTIMER_TARGET0_INTR_MAP_W { diff --git a/esp32c6/src/interrupt_core0/systimer_target1_intr_map.rs b/esp32c6/src/interrupt_core0/systimer_target1_intr_map.rs index 6bf412849d..24ce274090 100644 --- a/esp32c6/src/interrupt_core0/systimer_target1_intr_map.rs +++ b/esp32c6/src/interrupt_core0/systimer_target1_intr_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn systimer_target1_intr_map( &mut self, ) -> SYSTIMER_TARGET1_INTR_MAP_W { diff --git a/esp32c6/src/interrupt_core0/systimer_target2_intr_map.rs b/esp32c6/src/interrupt_core0/systimer_target2_intr_map.rs index 9341eeba2f..b96aeef1e3 100644 --- a/esp32c6/src/interrupt_core0/systimer_target2_intr_map.rs +++ b/esp32c6/src/interrupt_core0/systimer_target2_intr_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn systimer_target2_intr_map( &mut self, ) -> SYSTIMER_TARGET2_INTR_MAP_W { diff --git a/esp32c6/src/interrupt_core0/tg0_t0_intr_map.rs b/esp32c6/src/interrupt_core0/tg0_t0_intr_map.rs index 858b122fc5..2ad2073031 100644 --- a/esp32c6/src/interrupt_core0/tg0_t0_intr_map.rs +++ b/esp32c6/src/interrupt_core0/tg0_t0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn tg0_t0_intr_map(&mut self) -> TG0_T0_INTR_MAP_W { TG0_T0_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/tg0_t1_intr_map.rs b/esp32c6/src/interrupt_core0/tg0_t1_intr_map.rs index d27ae814ad..8ba817c6f2 100644 --- a/esp32c6/src/interrupt_core0/tg0_t1_intr_map.rs +++ b/esp32c6/src/interrupt_core0/tg0_t1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn tg0_t1_intr_map(&mut self) -> TG0_T1_INTR_MAP_W { TG0_T1_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/tg0_wdt_intr_map.rs b/esp32c6/src/interrupt_core0/tg0_wdt_intr_map.rs index 1553914590..40945dfad1 100644 --- a/esp32c6/src/interrupt_core0/tg0_wdt_intr_map.rs +++ b/esp32c6/src/interrupt_core0/tg0_wdt_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn tg0_wdt_intr_map(&mut self) -> TG0_WDT_INTR_MAP_W { TG0_WDT_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/tg1_t0_intr_map.rs b/esp32c6/src/interrupt_core0/tg1_t0_intr_map.rs index 35ea2d9929..f4f552e1d1 100644 --- a/esp32c6/src/interrupt_core0/tg1_t0_intr_map.rs +++ b/esp32c6/src/interrupt_core0/tg1_t0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn tg1_t0_intr_map(&mut self) -> TG1_T0_INTR_MAP_W { TG1_T0_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/tg1_t1_intr_map.rs b/esp32c6/src/interrupt_core0/tg1_t1_intr_map.rs index 07269975d0..15000c2d81 100644 --- a/esp32c6/src/interrupt_core0/tg1_t1_intr_map.rs +++ b/esp32c6/src/interrupt_core0/tg1_t1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn tg1_t1_intr_map(&mut self) -> TG1_T1_INTR_MAP_W { TG1_T1_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/tg1_wdt_intr_map.rs b/esp32c6/src/interrupt_core0/tg1_wdt_intr_map.rs index fda421ffd7..f218c4b82b 100644 --- a/esp32c6/src/interrupt_core0/tg1_wdt_intr_map.rs +++ b/esp32c6/src/interrupt_core0/tg1_wdt_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn tg1_wdt_intr_map(&mut self) -> TG1_WDT_INTR_MAP_W { TG1_WDT_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/trace_intr_map.rs b/esp32c6/src/interrupt_core0/trace_intr_map.rs index 1dc87dba68..cb5524907a 100644 --- a/esp32c6/src/interrupt_core0/trace_intr_map.rs +++ b/esp32c6/src/interrupt_core0/trace_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn trace_intr_map(&mut self) -> TRACE_INTR_MAP_W { TRACE_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/uart0_intr_map.rs b/esp32c6/src/interrupt_core0/uart0_intr_map.rs index 84b04fa2e3..4c6d70cba5 100644 --- a/esp32c6/src/interrupt_core0/uart0_intr_map.rs +++ b/esp32c6/src/interrupt_core0/uart0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn uart0_intr_map(&mut self) -> UART0_INTR_MAP_W { UART0_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/uart1_intr_map.rs b/esp32c6/src/interrupt_core0/uart1_intr_map.rs index 2458fd7d23..c030456d86 100644 --- a/esp32c6/src/interrupt_core0/uart1_intr_map.rs +++ b/esp32c6/src/interrupt_core0/uart1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn uart1_intr_map(&mut self) -> UART1_INTR_MAP_W { UART1_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/uhci0_intr_map.rs b/esp32c6/src/interrupt_core0/uhci0_intr_map.rs index 95bfb267d6..a1f59816ba 100644 --- a/esp32c6/src/interrupt_core0/uhci0_intr_map.rs +++ b/esp32c6/src/interrupt_core0/uhci0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn uhci0_intr_map(&mut self) -> UHCI0_INTR_MAP_W { UHCI0_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/usb_intr_map.rs b/esp32c6/src/interrupt_core0/usb_intr_map.rs index cb9c058299..ed1a5cd262 100644 --- a/esp32c6/src/interrupt_core0/usb_intr_map.rs +++ b/esp32c6/src/interrupt_core0/usb_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn usb_intr_map(&mut self) -> USB_INTR_MAP_W { USB_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/wifi_bb_intr_map.rs b/esp32c6/src/interrupt_core0/wifi_bb_intr_map.rs index aa47070968..07d1e78948 100644 --- a/esp32c6/src/interrupt_core0/wifi_bb_intr_map.rs +++ b/esp32c6/src/interrupt_core0/wifi_bb_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn wifi_bb_intr_map(&mut self) -> WIFI_BB_INTR_MAP_W { WIFI_BB_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/wifi_mac_intr_map.rs b/esp32c6/src/interrupt_core0/wifi_mac_intr_map.rs index 17a2c840a2..9be0956d09 100644 --- a/esp32c6/src/interrupt_core0/wifi_mac_intr_map.rs +++ b/esp32c6/src/interrupt_core0/wifi_mac_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn wifi_mac_intr_map(&mut self) -> WIFI_MAC_INTR_MAP_W { WIFI_MAC_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/wifi_mac_nmi_map.rs b/esp32c6/src/interrupt_core0/wifi_mac_nmi_map.rs index 00f603e233..9d5a81b9bd 100644 --- a/esp32c6/src/interrupt_core0/wifi_mac_nmi_map.rs +++ b/esp32c6/src/interrupt_core0/wifi_mac_nmi_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn wifi_mac_nmi_map(&mut self) -> WIFI_MAC_NMI_MAP_W { WIFI_MAC_NMI_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/wifi_pwr_intr_map.rs b/esp32c6/src/interrupt_core0/wifi_pwr_intr_map.rs index 3d00142084..ce66d53c3a 100644 --- a/esp32c6/src/interrupt_core0/wifi_pwr_intr_map.rs +++ b/esp32c6/src/interrupt_core0/wifi_pwr_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn wifi_pwr_intr_map(&mut self) -> WIFI_PWR_INTR_MAP_W { WIFI_PWR_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/interrupt_core0/zb_mac_intr_map.rs b/esp32c6/src/interrupt_core0/zb_mac_intr_map.rs index 930ed887a3..ee0f9b2b81 100644 --- a/esp32c6/src/interrupt_core0/zb_mac_intr_map.rs +++ b/esp32c6/src/interrupt_core0/zb_mac_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Need add description"] #[inline(always)] - #[must_use] pub fn zb_mac_intr_map(&mut self) -> ZB_MAC_INTR_MAP_W { ZB_MAC_INTR_MAP_W::new(self, 0) } diff --git a/esp32c6/src/intpri/clock_gate.rs b/esp32c6/src/intpri/clock_gate.rs index e23ee373ff..1f5f544af8 100644 --- a/esp32c6/src/intpri/clock_gate.rs +++ b/esp32c6/src/intpri/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Need add description"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32c6/src/intpri/cpu_int_clear.rs b/esp32c6/src/intpri/cpu_int_clear.rs index c15ac70904..c16b116186 100644 --- a/esp32c6/src/intpri/cpu_int_clear.rs +++ b/esp32c6/src/intpri/cpu_int_clear.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Need add description"] #[inline(always)] - #[must_use] pub fn cpu_int_clear(&mut self) -> CPU_INT_CLEAR_W { CPU_INT_CLEAR_W::new(self, 0) } diff --git a/esp32c6/src/intpri/cpu_int_enable.rs b/esp32c6/src/intpri/cpu_int_enable.rs index 73c35cd0af..95c58938bc 100644 --- a/esp32c6/src/intpri/cpu_int_enable.rs +++ b/esp32c6/src/intpri/cpu_int_enable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Need add description"] #[inline(always)] - #[must_use] pub fn cpu_int_enable(&mut self) -> CPU_INT_ENABLE_W { CPU_INT_ENABLE_W::new(self, 0) } diff --git a/esp32c6/src/intpri/cpu_int_pri.rs b/esp32c6/src/intpri/cpu_int_pri.rs index 754c24efec..d4e8054995 100644 --- a/esp32c6/src/intpri/cpu_int_pri.rs +++ b/esp32c6/src/intpri/cpu_int_pri.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Need add description"] #[inline(always)] - #[must_use] pub fn map(&mut self) -> MAP_W { MAP_W::new(self, 0) } diff --git a/esp32c6/src/intpri/cpu_int_thresh.rs b/esp32c6/src/intpri/cpu_int_thresh.rs index 7e1c63e2e8..f543781711 100644 --- a/esp32c6/src/intpri/cpu_int_thresh.rs +++ b/esp32c6/src/intpri/cpu_int_thresh.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Need add description"] #[inline(always)] - #[must_use] pub fn cpu_int_thresh(&mut self) -> CPU_INT_THRESH_W { CPU_INT_THRESH_W::new(self, 0) } diff --git a/esp32c6/src/intpri/cpu_int_type.rs b/esp32c6/src/intpri/cpu_int_type.rs index fd03fef45d..5d8df7577b 100644 --- a/esp32c6/src/intpri/cpu_int_type.rs +++ b/esp32c6/src/intpri/cpu_int_type.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Need add description"] #[inline(always)] - #[must_use] pub fn cpu_int_type(&mut self) -> CPU_INT_TYPE_W { CPU_INT_TYPE_W::new(self, 0) } diff --git a/esp32c6/src/intpri/cpu_intr_from_cpu_0.rs b/esp32c6/src/intpri/cpu_intr_from_cpu_0.rs index 8d818f81b5..5c47fbd94a 100644 --- a/esp32c6/src/intpri/cpu_intr_from_cpu_0.rs +++ b/esp32c6/src/intpri/cpu_intr_from_cpu_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Need add description"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_0(&mut self) -> CPU_INTR_FROM_CPU_0_W { CPU_INTR_FROM_CPU_0_W::new(self, 0) } diff --git a/esp32c6/src/intpri/cpu_intr_from_cpu_1.rs b/esp32c6/src/intpri/cpu_intr_from_cpu_1.rs index 79b6e4af8c..2f76ca080c 100644 --- a/esp32c6/src/intpri/cpu_intr_from_cpu_1.rs +++ b/esp32c6/src/intpri/cpu_intr_from_cpu_1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Need add description"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_1(&mut self) -> CPU_INTR_FROM_CPU_1_W { CPU_INTR_FROM_CPU_1_W::new(self, 0) } diff --git a/esp32c6/src/intpri/cpu_intr_from_cpu_2.rs b/esp32c6/src/intpri/cpu_intr_from_cpu_2.rs index e5c528b58e..ea50ea0de4 100644 --- a/esp32c6/src/intpri/cpu_intr_from_cpu_2.rs +++ b/esp32c6/src/intpri/cpu_intr_from_cpu_2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Need add description"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_2(&mut self) -> CPU_INTR_FROM_CPU_2_W { CPU_INTR_FROM_CPU_2_W::new(self, 0) } diff --git a/esp32c6/src/intpri/cpu_intr_from_cpu_3.rs b/esp32c6/src/intpri/cpu_intr_from_cpu_3.rs index f827e5d3e9..a153b75297 100644 --- a/esp32c6/src/intpri/cpu_intr_from_cpu_3.rs +++ b/esp32c6/src/intpri/cpu_intr_from_cpu_3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Need add description"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_3(&mut self) -> CPU_INTR_FROM_CPU_3_W { CPU_INTR_FROM_CPU_3_W::new(self, 0) } diff --git a/esp32c6/src/intpri/date.rs b/esp32c6/src/intpri/date.rs index 08e7c3fba3..c414fee6e1 100644 --- a/esp32c6/src/intpri/date.rs +++ b/esp32c6/src/intpri/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Need add description"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/intpri/rnd_eco.rs b/esp32c6/src/intpri/rnd_eco.rs index f80f827b72..7ed57514ff 100644 --- a/esp32c6/src/intpri/rnd_eco.rs +++ b/esp32c6/src/intpri/rnd_eco.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Only reserved for ECO."] #[inline(always)] - #[must_use] pub fn redcy_ena(&mut self) -> REDCY_ENA_W { REDCY_ENA_W::new(self, 0) } diff --git a/esp32c6/src/intpri/rnd_eco_high.rs b/esp32c6/src/intpri/rnd_eco_high.rs index 15c7ac517f..55940f0fc4 100644 --- a/esp32c6/src/intpri/rnd_eco_high.rs +++ b/esp32c6/src/intpri/rnd_eco_high.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Only reserved for ECO."] #[inline(always)] - #[must_use] pub fn redcy_high(&mut self) -> REDCY_HIGH_W { REDCY_HIGH_W::new(self, 0) } diff --git a/esp32c6/src/intpri/rnd_eco_low.rs b/esp32c6/src/intpri/rnd_eco_low.rs index 1c9da67470..ff59688040 100644 --- a/esp32c6/src/intpri/rnd_eco_low.rs +++ b/esp32c6/src/intpri/rnd_eco_low.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Only reserved for ECO."] #[inline(always)] - #[must_use] pub fn redcy_low(&mut self) -> REDCY_LOW_W { REDCY_LOW_W::new(self, 0) } diff --git a/esp32c6/src/io_mux/date.rs b/esp32c6/src/io_mux/date.rs index fd033bc199..65844314b3 100644 --- a/esp32c6/src/io_mux/date.rs +++ b/esp32c6/src/io_mux/date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Version control register"] #[inline(always)] - #[must_use] pub fn reg_date(&mut self) -> REG_DATE_W { REG_DATE_W::new(self, 0) } diff --git a/esp32c6/src/io_mux/gpio.rs b/esp32c6/src/io_mux/gpio.rs index 2867212901..97a72331ae 100644 --- a/esp32c6/src/io_mux/gpio.rs +++ b/esp32c6/src/io_mux/gpio.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: output enabled. 0: output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in pad mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad in sleep mode. 1: internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled. 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled. 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - Select the drive strength of the pad during sleep mode. 0: ~5 mA. 1: ~10mA. 2: ~20mA. 3: ~40mA."] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled. 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled. 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. 0: ~5 mA. 1: ~10mA. 2: ~20mA. 3: ~40mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2. etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 0: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32c6/src/io_mux/modem_diag_en.rs b/esp32c6/src/io_mux/modem_diag_en.rs index 94362495ab..bf4137a32f 100644 --- a/esp32c6/src/io_mux/modem_diag_en.rs +++ b/esp32c6/src/io_mux/modem_diag_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - bit i to enable modem_diag\\[i\\] into gpio matrix. 1:enable modem_diag\\[i\\] into gpio matrix. 0:enable other signals into gpio matrix"] #[inline(always)] - #[must_use] pub fn modem_diag_en(&mut self) -> MODEM_DIAG_EN_W { MODEM_DIAG_EN_W::new(self, 0) } diff --git a/esp32c6/src/io_mux/pin_ctrl.rs b/esp32c6/src/io_mux/pin_ctrl.rs index d010c20ba0..8f658bb452 100644 --- a/esp32c6/src/io_mux/pin_ctrl.rs +++ b/esp32c6/src/io_mux/pin_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - If you want to output clock for I2S to CLK_OUT_out1, set this register to 0x0. CLK_OUT_out1 can be found in peripheral output signals."] #[inline(always)] - #[must_use] pub fn clk_out1(&mut self) -> CLK_OUT1_W { CLK_OUT1_W::new(self, 0) } #[doc = "Bits 5:9 - If you want to output clock for I2S to CLK_OUT_out2, set this register to 0x0. CLK_OUT_out2 can be found in peripheral output signals."] #[inline(always)] - #[must_use] pub fn clk_out2(&mut self) -> CLK_OUT2_W { CLK_OUT2_W::new(self, 5) } #[doc = "Bits 10:14 - If you want to output clock for I2S to CLK_OUT_out3, set this register to 0x0. CLK_OUT_out3 can be found in peripheral output signals."] #[inline(always)] - #[must_use] pub fn clk_out3(&mut self) -> CLK_OUT3_W { CLK_OUT3_W::new(self, 10) } diff --git a/esp32c6/src/ledc.rs b/esp32c6/src/ledc.rs index df0bc38fb5..5ad06337c3 100644 --- a/esp32c6/src/ledc.rs +++ b/esp32c6/src/ledc.rs @@ -80,7 +80,7 @@ impl RegisterBlock { #[allow(clippy::no_effect)] [(); 6][n]; unsafe { - &*(self as *const Self) + &*core::ptr::from_ref(self) .cast::() .add(256) .add(16 * n) @@ -92,7 +92,7 @@ impl RegisterBlock { #[inline(always)] pub fn ch_gamma_wr_iter(&self) -> impl Iterator { (0..6).map(move |n| unsafe { - &*(self as *const Self) + &*core::ptr::from_ref(self) .cast::() .add(256) .add(16 * n) @@ -135,7 +135,7 @@ impl RegisterBlock { #[allow(clippy::no_effect)] [(); 6][n]; unsafe { - &*(self as *const Self) + &*core::ptr::from_ref(self) .cast::() .add(260) .add(16 * n) @@ -147,7 +147,7 @@ impl RegisterBlock { #[inline(always)] pub fn ch_gamma_wr_addr_iter(&self) -> impl Iterator { (0..6).map(move |n| unsafe { - &*(self as *const Self) + &*core::ptr::from_ref(self) .cast::() .add(260) .add(16 * n) @@ -190,7 +190,7 @@ impl RegisterBlock { #[allow(clippy::no_effect)] [(); 6][n]; unsafe { - &*(self as *const Self) + &*core::ptr::from_ref(self) .cast::() .add(264) .add(16 * n) @@ -202,7 +202,7 @@ impl RegisterBlock { #[inline(always)] pub fn ch_gamma_rd_addr_iter(&self) -> impl Iterator { (0..6).map(move |n| unsafe { - &*(self as *const Self) + &*core::ptr::from_ref(self) .cast::() .add(264) .add(16 * n) @@ -245,7 +245,7 @@ impl RegisterBlock { #[allow(clippy::no_effect)] [(); 6][n]; unsafe { - &*(self as *const Self) + &*core::ptr::from_ref(self) .cast::() .add(268) .add(16 * n) @@ -257,7 +257,7 @@ impl RegisterBlock { #[inline(always)] pub fn ch_gamma_rd_data_iter(&self) -> impl Iterator { (0..6).map(move |n| unsafe { - &*(self as *const Self) + &*core::ptr::from_ref(self) .cast::() .add(268) .add(16 * n) diff --git a/esp32c6/src/ledc/ch/conf0.rs b/esp32c6/src/ledc/ch/conf0.rs index 142c32bfac..fceaf0c385 100644 --- a/esp32c6/src/ledc/ch/conf0.rs +++ b/esp32c6/src/ledc/ch/conf0.rs @@ -68,43 +68,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - This field is used to select one of timers for channel %s. 0: select timer0, 1: select timer1, 2: select timer2, 3: select timer3"] #[inline(always)] - #[must_use] pub fn timer_sel(&mut self) -> TIMER_SEL_W { TIMER_SEL_W::new(self, 0) } #[doc = "Bit 2 - Set this bit to enable signal output on channel %s."] #[inline(always)] - #[must_use] pub fn sig_out_en(&mut self) -> SIG_OUT_EN_W { SIG_OUT_EN_W::new(self, 2) } #[doc = "Bit 3 - This bit is used to control the output value when channel %s is inactive (when LEDC_SIG_OUT_EN_CH%s is 0)."] #[inline(always)] - #[must_use] pub fn idle_lv(&mut self) -> IDLE_LV_W { IDLE_LV_W::new(self, 3) } #[doc = "Bit 4 - This bit is used to update LEDC_HPOINT_CH%s, LEDC_DUTY_START_CH%s, LEDC_SIG_OUT_EN_CH%s, LEDC_TIMER_SEL_CH%s, LEDC_DUTY_NUM_CH%s, LEDC_DUTY_CYCLE_CH%s, LEDC_DUTY_SCALE_CH%s, LEDC_DUTY_INC_CH%s, and LEDC_OVF_CNT_EN_CH%s fields for channel %s, and will be automatically cleared by hardware."] #[inline(always)] - #[must_use] pub fn para_up(&mut self) -> PARA_UP_W { PARA_UP_W::new(self, 4) } #[doc = "Bits 5:14 - This register is used to configure the maximum times of overflow minus 1. The LEDC_OVF_CNT_CH%s_INT interrupt will be triggered when channel %s overflows for (LEDC_OVF_NUM_CH%s + 1) times."] #[inline(always)] - #[must_use] pub fn ovf_num(&mut self) -> OVF_NUM_W { OVF_NUM_W::new(self, 5) } #[doc = "Bit 15 - This bit is used to enable the ovf_cnt of channel %s."] #[inline(always)] - #[must_use] pub fn ovf_cnt_en(&mut self) -> OVF_CNT_EN_W { OVF_CNT_EN_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to reset the ovf_cnt of channel %s."] #[inline(always)] - #[must_use] pub fn ovf_cnt_reset(&mut self) -> OVF_CNT_RESET_W { OVF_CNT_RESET_W::new(self, 16) } diff --git a/esp32c6/src/ledc/ch/conf1.rs b/esp32c6/src/ledc/ch/conf1.rs index 956d12dbb7..cf6bbc96fa 100644 --- a/esp32c6/src/ledc/ch/conf1.rs +++ b/esp32c6/src/ledc/ch/conf1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - Other configured fields in LEDC_CH%s_CONF1_REG will start to take effect when this bit is set to 1."] #[inline(always)] - #[must_use] pub fn duty_start(&mut self) -> DUTY_START_W { DUTY_START_W::new(self, 31) } diff --git a/esp32c6/src/ledc/ch/duty.rs b/esp32c6/src/ledc/ch/duty.rs index 8a727c6222..902f02d91d 100644 --- a/esp32c6/src/ledc/ch/duty.rs +++ b/esp32c6/src/ledc/ch/duty.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:24 - This register is used to change the output duty by controlling the Lpoint. The output value turns to low when the selected timers has reached the Lpoint."] #[inline(always)] - #[must_use] pub fn duty(&mut self) -> DUTY_W { DUTY_W::new(self, 0) } diff --git a/esp32c6/src/ledc/ch/hpoint.rs b/esp32c6/src/ledc/ch/hpoint.rs index d1731cf287..64762b23b3 100644 --- a/esp32c6/src/ledc/ch/hpoint.rs +++ b/esp32c6/src/ledc/ch/hpoint.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - The output value changes to high when the selected timers has reached the value specified by this register."] #[inline(always)] - #[must_use] pub fn hpoint(&mut self) -> HPOINT_W { HPOINT_W::new(self, 0) } diff --git a/esp32c6/src/ledc/ch_gamma_conf.rs b/esp32c6/src/ledc/ch_gamma_conf.rs index e8b3e7b488..44e04c3d48 100644 --- a/esp32c6/src/ledc/ch_gamma_conf.rs +++ b/esp32c6/src/ledc/ch_gamma_conf.rs @@ -28,19 +28,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Ledc ch%s gamma entry num."] #[inline(always)] - #[must_use] pub fn ch_gamma_entry_num(&mut self) -> CH_GAMMA_ENTRY_NUM_W { CH_GAMMA_ENTRY_NUM_W::new(self, 0) } #[doc = "Bit 5 - Ledc ch%s gamma pause, write 1 to pause."] #[inline(always)] - #[must_use] pub fn ch_gamma_pause(&mut self) -> CH_GAMMA_PAUSE_W { CH_GAMMA_PAUSE_W::new(self, 5) } #[doc = "Bit 6 - Ledc ch%s gamma resume, write 1 to resume."] #[inline(always)] - #[must_use] pub fn ch_gamma_resume(&mut self) -> CH_GAMMA_RESUME_W { CH_GAMMA_RESUME_W::new(self, 6) } diff --git a/esp32c6/src/ledc/ch_gamma_rd_addr.rs b/esp32c6/src/ledc/ch_gamma_rd_addr.rs index b410188baa..143ed8ae39 100644 --- a/esp32c6/src/ledc/ch_gamma_rd_addr.rs +++ b/esp32c6/src/ledc/ch_gamma_rd_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Ledc ch%s gamma ram read address."] #[inline(always)] - #[must_use] pub fn ch_gamma_rd_addr(&mut self) -> CH_GAMMA_RD_ADDR_W { CH_GAMMA_RD_ADDR_W::new(self, 0) } diff --git a/esp32c6/src/ledc/ch_gamma_wr.rs b/esp32c6/src/ledc/ch_gamma_wr.rs index 8587ebfb36..1b002e0665 100644 --- a/esp32c6/src/ledc/ch_gamma_wr.rs +++ b/esp32c6/src/ledc/ch_gamma_wr.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Ledc ch%s gamma duty inc of current ram write address.This register is used to increase or decrease the duty of output signal on channel %s. 1: Increase 0: Decrease."] #[inline(always)] - #[must_use] pub fn ch_gamma_duty_inc(&mut self) -> CH_GAMMA_DUTY_INC_W { CH_GAMMA_DUTY_INC_W::new(self, 0) } #[doc = "Bits 1:10 - Ledc ch%s gamma duty cycle of current ram write address.The duty will change every LEDC_CH%s_GAMMA_DUTY_CYCLE on channel %s."] #[inline(always)] - #[must_use] pub fn ch_gamma_duty_cycle(&mut self) -> CH_GAMMA_DUTY_CYCLE_W { CH_GAMMA_DUTY_CYCLE_W::new(self, 1) } #[doc = "Bits 11:20 - Ledc ch%s gamma scale of current ram write address.This register is used to configure the changing step scale of duty on channel %s."] #[inline(always)] - #[must_use] pub fn ch_gamma_scale(&mut self) -> CH_GAMMA_SCALE_W { CH_GAMMA_SCALE_W::new(self, 11) } #[doc = "Bits 21:30 - Ledc ch%s gamma duty num of current ram write address.This register is used to control the number of times the duty cycle will be changed."] #[inline(always)] - #[must_use] pub fn ch_gamma_duty_num(&mut self) -> CH_GAMMA_DUTY_NUM_W { CH_GAMMA_DUTY_NUM_W::new(self, 21) } diff --git a/esp32c6/src/ledc/ch_gamma_wr_addr.rs b/esp32c6/src/ledc/ch_gamma_wr_addr.rs index 6d609d0ea2..d8217f6605 100644 --- a/esp32c6/src/ledc/ch_gamma_wr_addr.rs +++ b/esp32c6/src/ledc/ch_gamma_wr_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Ledc ch%s gamma ram write address."] #[inline(always)] - #[must_use] pub fn ch_gamma_wr_addr(&mut self) -> CH_GAMMA_WR_ADDR_W { CH_GAMMA_WR_ADDR_W::new(self, 0) } diff --git a/esp32c6/src/ledc/conf.rs b/esp32c6/src/ledc/conf.rs index 5e47c6960d..4d944bb456 100644 --- a/esp32c6/src/ledc/conf.rs +++ b/esp32c6/src/ledc/conf.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - This bit is used to select clock source for the 4 timers . 2'd1: APB_CLK 2'd2: RTC8M_CLK 2'd3: XTAL_CLK"] #[inline(always)] - #[must_use] pub fn apb_clk_sel(&mut self) -> APB_CLK_SEL_W { APB_CLK_SEL_W::new(self, 0) } #[doc = "Bit 2 - This bit is used to control clock. 1'b1: Force clock on for gamma ram. 1'h0: Support clock only when application writes or read gamma ram."] #[inline(always)] - #[must_use] pub fn gamma_ram_clk_en_ch0(&mut self) -> GAMMA_RAM_CLK_EN_CH0_W { GAMMA_RAM_CLK_EN_CH0_W::new(self, 2) } #[doc = "Bit 3 - This bit is used to control clock. 1'b1: Force clock on for gamma ram. 1'h0: Support clock only when application writes or read gamma ram."] #[inline(always)] - #[must_use] pub fn gamma_ram_clk_en_ch1(&mut self) -> GAMMA_RAM_CLK_EN_CH1_W { GAMMA_RAM_CLK_EN_CH1_W::new(self, 3) } #[doc = "Bit 4 - This bit is used to control clock. 1'b1: Force clock on for gamma ram. 1'h0: Support clock only when application writes or read gamma ram."] #[inline(always)] - #[must_use] pub fn gamma_ram_clk_en_ch2(&mut self) -> GAMMA_RAM_CLK_EN_CH2_W { GAMMA_RAM_CLK_EN_CH2_W::new(self, 4) } #[doc = "Bit 5 - This bit is used to control clock. 1'b1: Force clock on for gamma ram. 1'h0: Support clock only when application writes or read gamma ram."] #[inline(always)] - #[must_use] pub fn gamma_ram_clk_en_ch3(&mut self) -> GAMMA_RAM_CLK_EN_CH3_W { GAMMA_RAM_CLK_EN_CH3_W::new(self, 5) } #[doc = "Bit 6 - This bit is used to control clock. 1'b1: Force clock on for gamma ram. 1'h0: Support clock only when application writes or read gamma ram."] #[inline(always)] - #[must_use] pub fn gamma_ram_clk_en_ch4(&mut self) -> GAMMA_RAM_CLK_EN_CH4_W { GAMMA_RAM_CLK_EN_CH4_W::new(self, 6) } #[doc = "Bit 7 - This bit is used to control clock. 1'b1: Force clock on for gamma ram. 1'h0: Support clock only when application writes or read gamma ram."] #[inline(always)] - #[must_use] pub fn gamma_ram_clk_en_ch5(&mut self) -> GAMMA_RAM_CLK_EN_CH5_W { GAMMA_RAM_CLK_EN_CH5_W::new(self, 7) } #[doc = "Bit 31 - This bit is used to control clock. 1'b1: Force clock on for register. 1'h0: Support clock only when application writes registers."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32c6/src/ledc/date.rs b/esp32c6/src/ledc/date.rs index da7b99b523..b08232dffa 100644 --- a/esp32c6/src/ledc/date.rs +++ b/esp32c6/src/ledc/date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - This is the version control register."] #[inline(always)] - #[must_use] pub fn ledc_date(&mut self) -> LEDC_DATE_W { LEDC_DATE_W::new(self, 0) } diff --git a/esp32c6/src/ledc/evt_task_en0.rs b/esp32c6/src/ledc/evt_task_en0.rs index d102a9f25e..0c53e0704f 100644 --- a/esp32c6/src/ledc/evt_task_en0.rs +++ b/esp32c6/src/ledc/evt_task_en0.rs @@ -292,127 +292,106 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Ledc ch0 duty change end event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_duty_chng_end_ch0_en(&mut self) -> EVT_DUTY_CHNG_END_CH0_EN_W { EVT_DUTY_CHNG_END_CH0_EN_W::new(self, 0) } #[doc = "Bit 1 - Ledc ch1 duty change end event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_duty_chng_end_ch1_en(&mut self) -> EVT_DUTY_CHNG_END_CH1_EN_W { EVT_DUTY_CHNG_END_CH1_EN_W::new(self, 1) } #[doc = "Bit 2 - Ledc ch2 duty change end event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_duty_chng_end_ch2_en(&mut self) -> EVT_DUTY_CHNG_END_CH2_EN_W { EVT_DUTY_CHNG_END_CH2_EN_W::new(self, 2) } #[doc = "Bit 3 - Ledc ch3 duty change end event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_duty_chng_end_ch3_en(&mut self) -> EVT_DUTY_CHNG_END_CH3_EN_W { EVT_DUTY_CHNG_END_CH3_EN_W::new(self, 3) } #[doc = "Bit 4 - Ledc ch4 duty change end event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_duty_chng_end_ch4_en(&mut self) -> EVT_DUTY_CHNG_END_CH4_EN_W { EVT_DUTY_CHNG_END_CH4_EN_W::new(self, 4) } #[doc = "Bit 5 - Ledc ch5 duty change end event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_duty_chng_end_ch5_en(&mut self) -> EVT_DUTY_CHNG_END_CH5_EN_W { EVT_DUTY_CHNG_END_CH5_EN_W::new(self, 5) } #[doc = "Bit 8 - Ledc ch0 overflow count pulse event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_ovf_cnt_pls_ch0_en(&mut self) -> EVT_OVF_CNT_PLS_CH0_EN_W { EVT_OVF_CNT_PLS_CH0_EN_W::new(self, 8) } #[doc = "Bit 9 - Ledc ch1 overflow count pulse event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_ovf_cnt_pls_ch1_en(&mut self) -> EVT_OVF_CNT_PLS_CH1_EN_W { EVT_OVF_CNT_PLS_CH1_EN_W::new(self, 9) } #[doc = "Bit 10 - Ledc ch2 overflow count pulse event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_ovf_cnt_pls_ch2_en(&mut self) -> EVT_OVF_CNT_PLS_CH2_EN_W { EVT_OVF_CNT_PLS_CH2_EN_W::new(self, 10) } #[doc = "Bit 11 - Ledc ch3 overflow count pulse event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_ovf_cnt_pls_ch3_en(&mut self) -> EVT_OVF_CNT_PLS_CH3_EN_W { EVT_OVF_CNT_PLS_CH3_EN_W::new(self, 11) } #[doc = "Bit 12 - Ledc ch4 overflow count pulse event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_ovf_cnt_pls_ch4_en(&mut self) -> EVT_OVF_CNT_PLS_CH4_EN_W { EVT_OVF_CNT_PLS_CH4_EN_W::new(self, 12) } #[doc = "Bit 13 - Ledc ch5 overflow count pulse event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_ovf_cnt_pls_ch5_en(&mut self) -> EVT_OVF_CNT_PLS_CH5_EN_W { EVT_OVF_CNT_PLS_CH5_EN_W::new(self, 13) } #[doc = "Bit 16 - Ledc timer0 overflow event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_time_ovf_timer0_en(&mut self) -> EVT_TIME_OVF_TIMER0_EN_W { EVT_TIME_OVF_TIMER0_EN_W::new(self, 16) } #[doc = "Bit 17 - Ledc timer1 overflow event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_time_ovf_timer1_en(&mut self) -> EVT_TIME_OVF_TIMER1_EN_W { EVT_TIME_OVF_TIMER1_EN_W::new(self, 17) } #[doc = "Bit 18 - Ledc timer2 overflow event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_time_ovf_timer2_en(&mut self) -> EVT_TIME_OVF_TIMER2_EN_W { EVT_TIME_OVF_TIMER2_EN_W::new(self, 18) } #[doc = "Bit 19 - Ledc timer3 overflow event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_time_ovf_timer3_en(&mut self) -> EVT_TIME_OVF_TIMER3_EN_W { EVT_TIME_OVF_TIMER3_EN_W::new(self, 19) } #[doc = "Bit 20 - Ledc timer0 compare event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_time0_cmp_en(&mut self) -> EVT_TIME0_CMP_EN_W { EVT_TIME0_CMP_EN_W::new(self, 20) } #[doc = "Bit 21 - Ledc timer1 compare event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_time1_cmp_en(&mut self) -> EVT_TIME1_CMP_EN_W { EVT_TIME1_CMP_EN_W::new(self, 21) } #[doc = "Bit 22 - Ledc timer2 compare event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_time2_cmp_en(&mut self) -> EVT_TIME2_CMP_EN_W { EVT_TIME2_CMP_EN_W::new(self, 22) } #[doc = "Bit 23 - Ledc timer3 compare event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_time3_cmp_en(&mut self) -> EVT_TIME3_CMP_EN_W { EVT_TIME3_CMP_EN_W::new(self, 23) } #[doc = "Bit 24 - Ledc ch0 duty scale update task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_duty_scale_update_ch0_en( &mut self, ) -> TASK_DUTY_SCALE_UPDATE_CH0_EN_W { @@ -420,7 +399,6 @@ impl W { } #[doc = "Bit 25 - Ledc ch1 duty scale update task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_duty_scale_update_ch1_en( &mut self, ) -> TASK_DUTY_SCALE_UPDATE_CH1_EN_W { @@ -428,7 +406,6 @@ impl W { } #[doc = "Bit 26 - Ledc ch2 duty scale update task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_duty_scale_update_ch2_en( &mut self, ) -> TASK_DUTY_SCALE_UPDATE_CH2_EN_W { @@ -436,7 +413,6 @@ impl W { } #[doc = "Bit 27 - Ledc ch3 duty scale update task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_duty_scale_update_ch3_en( &mut self, ) -> TASK_DUTY_SCALE_UPDATE_CH3_EN_W { @@ -444,7 +420,6 @@ impl W { } #[doc = "Bit 28 - Ledc ch4 duty scale update task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_duty_scale_update_ch4_en( &mut self, ) -> TASK_DUTY_SCALE_UPDATE_CH4_EN_W { @@ -452,7 +427,6 @@ impl W { } #[doc = "Bit 29 - Ledc ch5 duty scale update task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_duty_scale_update_ch5_en( &mut self, ) -> TASK_DUTY_SCALE_UPDATE_CH5_EN_W { diff --git a/esp32c6/src/ledc/evt_task_en1.rs b/esp32c6/src/ledc/evt_task_en1.rs index e54431f9c8..2b70180fb3 100644 --- a/esp32c6/src/ledc/evt_task_en1.rs +++ b/esp32c6/src/ledc/evt_task_en1.rs @@ -318,151 +318,126 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Ledc timer0 res update task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_timer0_res_update_en(&mut self) -> TASK_TIMER0_RES_UPDATE_EN_W { TASK_TIMER0_RES_UPDATE_EN_W::new(self, 0) } #[doc = "Bit 1 - Ledc timer1 res update task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_timer1_res_update_en(&mut self) -> TASK_TIMER1_RES_UPDATE_EN_W { TASK_TIMER1_RES_UPDATE_EN_W::new(self, 1) } #[doc = "Bit 2 - Ledc timer2 res update task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_timer2_res_update_en(&mut self) -> TASK_TIMER2_RES_UPDATE_EN_W { TASK_TIMER2_RES_UPDATE_EN_W::new(self, 2) } #[doc = "Bit 3 - Ledc timer3 res update task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_timer3_res_update_en(&mut self) -> TASK_TIMER3_RES_UPDATE_EN_W { TASK_TIMER3_RES_UPDATE_EN_W::new(self, 3) } #[doc = "Bit 4 - Ledc timer0 capture task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_timer0_cap_en(&mut self) -> TASK_TIMER0_CAP_EN_W { TASK_TIMER0_CAP_EN_W::new(self, 4) } #[doc = "Bit 5 - Ledc timer1 capture task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_timer1_cap_en(&mut self) -> TASK_TIMER1_CAP_EN_W { TASK_TIMER1_CAP_EN_W::new(self, 5) } #[doc = "Bit 6 - Ledc timer2 capture task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_timer2_cap_en(&mut self) -> TASK_TIMER2_CAP_EN_W { TASK_TIMER2_CAP_EN_W::new(self, 6) } #[doc = "Bit 7 - Ledc timer3 capture task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_timer3_cap_en(&mut self) -> TASK_TIMER3_CAP_EN_W { TASK_TIMER3_CAP_EN_W::new(self, 7) } #[doc = "Bit 8 - Ledc ch0 signal out disable task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_sig_out_dis_ch0_en(&mut self) -> TASK_SIG_OUT_DIS_CH0_EN_W { TASK_SIG_OUT_DIS_CH0_EN_W::new(self, 8) } #[doc = "Bit 9 - Ledc ch1 signal out disable task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_sig_out_dis_ch1_en(&mut self) -> TASK_SIG_OUT_DIS_CH1_EN_W { TASK_SIG_OUT_DIS_CH1_EN_W::new(self, 9) } #[doc = "Bit 10 - Ledc ch2 signal out disable task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_sig_out_dis_ch2_en(&mut self) -> TASK_SIG_OUT_DIS_CH2_EN_W { TASK_SIG_OUT_DIS_CH2_EN_W::new(self, 10) } #[doc = "Bit 11 - Ledc ch3 signal out disable task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_sig_out_dis_ch3_en(&mut self) -> TASK_SIG_OUT_DIS_CH3_EN_W { TASK_SIG_OUT_DIS_CH3_EN_W::new(self, 11) } #[doc = "Bit 12 - Ledc ch4 signal out disable task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_sig_out_dis_ch4_en(&mut self) -> TASK_SIG_OUT_DIS_CH4_EN_W { TASK_SIG_OUT_DIS_CH4_EN_W::new(self, 12) } #[doc = "Bit 13 - Ledc ch5 signal out disable task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_sig_out_dis_ch5_en(&mut self) -> TASK_SIG_OUT_DIS_CH5_EN_W { TASK_SIG_OUT_DIS_CH5_EN_W::new(self, 13) } #[doc = "Bit 16 - Ledc ch0 overflow count reset task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_ovf_cnt_rst_ch0_en(&mut self) -> TASK_OVF_CNT_RST_CH0_EN_W { TASK_OVF_CNT_RST_CH0_EN_W::new(self, 16) } #[doc = "Bit 17 - Ledc ch1 overflow count reset task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_ovf_cnt_rst_ch1_en(&mut self) -> TASK_OVF_CNT_RST_CH1_EN_W { TASK_OVF_CNT_RST_CH1_EN_W::new(self, 17) } #[doc = "Bit 18 - Ledc ch2 overflow count reset task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_ovf_cnt_rst_ch2_en(&mut self) -> TASK_OVF_CNT_RST_CH2_EN_W { TASK_OVF_CNT_RST_CH2_EN_W::new(self, 18) } #[doc = "Bit 19 - Ledc ch3 overflow count reset task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_ovf_cnt_rst_ch3_en(&mut self) -> TASK_OVF_CNT_RST_CH3_EN_W { TASK_OVF_CNT_RST_CH3_EN_W::new(self, 19) } #[doc = "Bit 20 - Ledc ch4 overflow count reset task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_ovf_cnt_rst_ch4_en(&mut self) -> TASK_OVF_CNT_RST_CH4_EN_W { TASK_OVF_CNT_RST_CH4_EN_W::new(self, 20) } #[doc = "Bit 21 - Ledc ch5 overflow count reset task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_ovf_cnt_rst_ch5_en(&mut self) -> TASK_OVF_CNT_RST_CH5_EN_W { TASK_OVF_CNT_RST_CH5_EN_W::new(self, 21) } #[doc = "Bit 24 - Ledc timer0 reset task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_timer0_rst_en(&mut self) -> TASK_TIMER0_RST_EN_W { TASK_TIMER0_RST_EN_W::new(self, 24) } #[doc = "Bit 25 - Ledc timer1 reset task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_timer1_rst_en(&mut self) -> TASK_TIMER1_RST_EN_W { TASK_TIMER1_RST_EN_W::new(self, 25) } #[doc = "Bit 26 - Ledc timer2 reset task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_timer2_rst_en(&mut self) -> TASK_TIMER2_RST_EN_W { TASK_TIMER2_RST_EN_W::new(self, 26) } #[doc = "Bit 27 - Ledc timer3 reset task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_timer3_rst_en(&mut self) -> TASK_TIMER3_RST_EN_W { TASK_TIMER3_RST_EN_W::new(self, 27) } #[doc = "Bit 28 - Ledc timer0 pause resume task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_timer0_pause_resume_en( &mut self, ) -> TASK_TIMER0_PAUSE_RESUME_EN_W { @@ -470,7 +445,6 @@ impl W { } #[doc = "Bit 29 - Ledc timer1 pause resume task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_timer1_pause_resume_en( &mut self, ) -> TASK_TIMER1_PAUSE_RESUME_EN_W { @@ -478,7 +452,6 @@ impl W { } #[doc = "Bit 30 - Ledc timer2 pause resume task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_timer2_pause_resume_en( &mut self, ) -> TASK_TIMER2_PAUSE_RESUME_EN_W { @@ -486,7 +459,6 @@ impl W { } #[doc = "Bit 31 - Ledc timer3 pause resume task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_timer3_pause_resume_en( &mut self, ) -> TASK_TIMER3_PAUSE_RESUME_EN_W { diff --git a/esp32c6/src/ledc/evt_task_en2.rs b/esp32c6/src/ledc/evt_task_en2.rs index a489eb4a95..1c52028f07 100644 --- a/esp32c6/src/ledc/evt_task_en2.rs +++ b/esp32c6/src/ledc/evt_task_en2.rs @@ -212,109 +212,91 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Ledc ch0 gamma restart task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_gamma_restart_ch0_en(&mut self) -> TASK_GAMMA_RESTART_CH0_EN_W { TASK_GAMMA_RESTART_CH0_EN_W::new(self, 0) } #[doc = "Bit 1 - Ledc ch1 gamma restart task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_gamma_restart_ch1_en(&mut self) -> TASK_GAMMA_RESTART_CH1_EN_W { TASK_GAMMA_RESTART_CH1_EN_W::new(self, 1) } #[doc = "Bit 2 - Ledc ch2 gamma restart task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_gamma_restart_ch2_en(&mut self) -> TASK_GAMMA_RESTART_CH2_EN_W { TASK_GAMMA_RESTART_CH2_EN_W::new(self, 2) } #[doc = "Bit 3 - Ledc ch3 gamma restart task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_gamma_restart_ch3_en(&mut self) -> TASK_GAMMA_RESTART_CH3_EN_W { TASK_GAMMA_RESTART_CH3_EN_W::new(self, 3) } #[doc = "Bit 4 - Ledc ch4 gamma restart task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_gamma_restart_ch4_en(&mut self) -> TASK_GAMMA_RESTART_CH4_EN_W { TASK_GAMMA_RESTART_CH4_EN_W::new(self, 4) } #[doc = "Bit 5 - Ledc ch5 gamma restart task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_gamma_restart_ch5_en(&mut self) -> TASK_GAMMA_RESTART_CH5_EN_W { TASK_GAMMA_RESTART_CH5_EN_W::new(self, 5) } #[doc = "Bit 8 - Ledc ch0 gamma pause task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_gamma_pause_ch0_en(&mut self) -> TASK_GAMMA_PAUSE_CH0_EN_W { TASK_GAMMA_PAUSE_CH0_EN_W::new(self, 8) } #[doc = "Bit 9 - Ledc ch1 gamma pause task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_gamma_pause_ch1_en(&mut self) -> TASK_GAMMA_PAUSE_CH1_EN_W { TASK_GAMMA_PAUSE_CH1_EN_W::new(self, 9) } #[doc = "Bit 10 - Ledc ch2 gamma pause task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_gamma_pause_ch2_en(&mut self) -> TASK_GAMMA_PAUSE_CH2_EN_W { TASK_GAMMA_PAUSE_CH2_EN_W::new(self, 10) } #[doc = "Bit 11 - Ledc ch3 gamma pause task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_gamma_pause_ch3_en(&mut self) -> TASK_GAMMA_PAUSE_CH3_EN_W { TASK_GAMMA_PAUSE_CH3_EN_W::new(self, 11) } #[doc = "Bit 12 - Ledc ch4 gamma pause task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_gamma_pause_ch4_en(&mut self) -> TASK_GAMMA_PAUSE_CH4_EN_W { TASK_GAMMA_PAUSE_CH4_EN_W::new(self, 12) } #[doc = "Bit 13 - Ledc ch5 gamma pause task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_gamma_pause_ch5_en(&mut self) -> TASK_GAMMA_PAUSE_CH5_EN_W { TASK_GAMMA_PAUSE_CH5_EN_W::new(self, 13) } #[doc = "Bit 16 - Ledc ch0 gamma resume task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_gamma_resume_ch0_en(&mut self) -> TASK_GAMMA_RESUME_CH0_EN_W { TASK_GAMMA_RESUME_CH0_EN_W::new(self, 16) } #[doc = "Bit 17 - Ledc ch1 gamma resume task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_gamma_resume_ch1_en(&mut self) -> TASK_GAMMA_RESUME_CH1_EN_W { TASK_GAMMA_RESUME_CH1_EN_W::new(self, 17) } #[doc = "Bit 18 - Ledc ch2 gamma resume task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_gamma_resume_ch2_en(&mut self) -> TASK_GAMMA_RESUME_CH2_EN_W { TASK_GAMMA_RESUME_CH2_EN_W::new(self, 18) } #[doc = "Bit 19 - Ledc ch3 gamma resume task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_gamma_resume_ch3_en(&mut self) -> TASK_GAMMA_RESUME_CH3_EN_W { TASK_GAMMA_RESUME_CH3_EN_W::new(self, 19) } #[doc = "Bit 20 - Ledc ch4 gamma resume task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_gamma_resume_ch4_en(&mut self) -> TASK_GAMMA_RESUME_CH4_EN_W { TASK_GAMMA_RESUME_CH4_EN_W::new(self, 20) } #[doc = "Bit 21 - Ledc ch5 gamma resume task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_gamma_resume_ch5_en(&mut self) -> TASK_GAMMA_RESUME_CH5_EN_W { TASK_GAMMA_RESUME_CH5_EN_W::new(self, 21) } diff --git a/esp32c6/src/ledc/int_clr.rs b/esp32c6/src/ledc/int_clr.rs index 7a6633aadc..421b2dba05 100644 --- a/esp32c6/src/ledc/int_clr.rs +++ b/esp32c6/src/ledc/int_clr.rs @@ -17,7 +17,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TIMER0_OVF` field.
"] #[inline(always)] - #[must_use] pub fn timer_ovf(&mut self, n: u8) -> TIMER_OVF_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -25,25 +24,21 @@ impl W { } #[doc = "Bit 0 - Set this bit to clear the TIMER0_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer0_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the TIMER1_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer1_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the TIMER2_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer2_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the TIMER3_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer3_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 3) } @@ -51,7 +46,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `DUTY_CHNG_END_CH0` field.
"] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch(&mut self, n: u8) -> DUTY_CHNG_END_CH_W { #[allow(clippy::no_effect)] [(); 6][n as usize]; @@ -59,37 +53,31 @@ impl W { } #[doc = "Bit 4 - Set this bit to clear the DUTY_CHNG_END_CH0 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch0(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the DUTY_CHNG_END_CH1 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch1(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the DUTY_CHNG_END_CH2 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch2(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the DUTY_CHNG_END_CH3 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch3(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the DUTY_CHNG_END_CH4 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch4(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear the DUTY_CHNG_END_CH5 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch5(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 9) } @@ -97,7 +85,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `OVF_CNT_CH0` field.
"] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch(&mut self, n: u8) -> OVF_CNT_CH_W { #[allow(clippy::no_effect)] [(); 6][n as usize]; @@ -105,37 +92,31 @@ impl W { } #[doc = "Bit 12 - Set this bit to clear the OVF_CNT_CH0 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch0(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to clear the OVF_CNT_CH1 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch1(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to clear the OVF_CNT_CH2 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch2(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to clear the OVF_CNT_CH3 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch3(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to clear the OVF_CNT_CH4 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch4(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to clear the OVF_CNT_CH5 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch5(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 17) } @@ -149,7 +130,7 @@ impl crate::RegisterSpec for INT_CLR_SPEC { impl crate::Writable for INT_CLR_SPEC { type Safety = crate::Unsafe; const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0x1011; + const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0x0003_f3ff; } #[doc = "`reset()` method sets INT_CLR to value 0"] impl crate::Resettable for INT_CLR_SPEC { diff --git a/esp32c6/src/ledc/int_ena.rs b/esp32c6/src/ledc/int_ena.rs index 9637e03f31..3c4df5355b 100644 --- a/esp32c6/src/ledc/int_ena.rs +++ b/esp32c6/src/ledc/int_ena.rs @@ -169,7 +169,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TIMER0_OVF` field.
"] #[inline(always)] - #[must_use] pub fn timer_ovf(&mut self, n: u8) -> TIMER_OVF_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -177,25 +176,21 @@ impl W { } #[doc = "Bit 0 - The interrupt enable bit for the TIMER0_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer0_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the TIMER1_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer1_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the TIMER2_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer2_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the TIMER3_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer3_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 3) } @@ -203,7 +198,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `DUTY_CHNG_END_CH0` field.
"] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch(&mut self, n: u8) -> DUTY_CHNG_END_CH_W { #[allow(clippy::no_effect)] [(); 6][n as usize]; @@ -211,37 +205,31 @@ impl W { } #[doc = "Bit 4 - The interrupt enable bit for the DUTY_CHNG_END_CH0 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch0(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 4) } #[doc = "Bit 5 - The interrupt enable bit for the DUTY_CHNG_END_CH1 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch1(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 5) } #[doc = "Bit 6 - The interrupt enable bit for the DUTY_CHNG_END_CH2 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch2(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 6) } #[doc = "Bit 7 - The interrupt enable bit for the DUTY_CHNG_END_CH3 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch3(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 7) } #[doc = "Bit 8 - The interrupt enable bit for the DUTY_CHNG_END_CH4 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch4(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 8) } #[doc = "Bit 9 - The interrupt enable bit for the DUTY_CHNG_END_CH5 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch5(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 9) } @@ -249,7 +237,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `OVF_CNT_CH0` field.
"] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch(&mut self, n: u8) -> OVF_CNT_CH_W { #[allow(clippy::no_effect)] [(); 6][n as usize]; @@ -257,37 +244,31 @@ impl W { } #[doc = "Bit 12 - The interrupt enable bit for the OVF_CNT_CH0 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch0(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 12) } #[doc = "Bit 13 - The interrupt enable bit for the OVF_CNT_CH1 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch1(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 13) } #[doc = "Bit 14 - The interrupt enable bit for the OVF_CNT_CH2 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch2(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 14) } #[doc = "Bit 15 - The interrupt enable bit for the OVF_CNT_CH3 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch3(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 15) } #[doc = "Bit 16 - The interrupt enable bit for the OVF_CNT_CH4 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch4(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 16) } #[doc = "Bit 17 - The interrupt enable bit for the OVF_CNT_CH5 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch5(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 17) } diff --git a/esp32c6/src/ledc/int_raw.rs b/esp32c6/src/ledc/int_raw.rs index 1af694d99b..119cf25610 100644 --- a/esp32c6/src/ledc/int_raw.rs +++ b/esp32c6/src/ledc/int_raw.rs @@ -169,7 +169,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TIMER0_OVF` field.
"] #[inline(always)] - #[must_use] pub fn timer_ovf(&mut self, n: u8) -> TIMER_OVF_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -177,25 +176,21 @@ impl W { } #[doc = "Bit 0 - Triggered when the timer0 has reached its maximum counter value."] #[inline(always)] - #[must_use] pub fn timer0_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 0) } #[doc = "Bit 1 - Triggered when the timer1 has reached its maximum counter value."] #[inline(always)] - #[must_use] pub fn timer1_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 1) } #[doc = "Bit 2 - Triggered when the timer2 has reached its maximum counter value."] #[inline(always)] - #[must_use] pub fn timer2_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 2) } #[doc = "Bit 3 - Triggered when the timer3 has reached its maximum counter value."] #[inline(always)] - #[must_use] pub fn timer3_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 3) } @@ -203,7 +198,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `DUTY_CHNG_END_CH0` field.
"] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch(&mut self, n: u8) -> DUTY_CHNG_END_CH_W { #[allow(clippy::no_effect)] [(); 6][n as usize]; @@ -211,37 +205,31 @@ impl W { } #[doc = "Bit 4 - Interrupt raw bit for channel 0. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch0(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 4) } #[doc = "Bit 5 - Interrupt raw bit for channel 1. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch1(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 5) } #[doc = "Bit 6 - Interrupt raw bit for channel 2. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch2(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 6) } #[doc = "Bit 7 - Interrupt raw bit for channel 3. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch3(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 7) } #[doc = "Bit 8 - Interrupt raw bit for channel 4. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch4(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 8) } #[doc = "Bit 9 - Interrupt raw bit for channel 5. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch5(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 9) } @@ -249,7 +237,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `OVF_CNT_CH0` field.
"] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch(&mut self, n: u8) -> OVF_CNT_CH_W { #[allow(clippy::no_effect)] [(); 6][n as usize]; @@ -257,37 +244,31 @@ impl W { } #[doc = "Bit 12 - Interrupt raw bit for channel 0. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch0(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 12) } #[doc = "Bit 13 - Interrupt raw bit for channel 1. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch1(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 13) } #[doc = "Bit 14 - Interrupt raw bit for channel 2. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch2(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 14) } #[doc = "Bit 15 - Interrupt raw bit for channel 3. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch3(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 15) } #[doc = "Bit 16 - Interrupt raw bit for channel 4. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch4(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 16) } #[doc = "Bit 17 - Interrupt raw bit for channel 5. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch5(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 17) } diff --git a/esp32c6/src/ledc/timer/conf.rs b/esp32c6/src/ledc/timer/conf.rs index edc79c2d5b..7e1ddf4281 100644 --- a/esp32c6/src/ledc/timer/conf.rs +++ b/esp32c6/src/ledc/timer/conf.rs @@ -66,37 +66,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to control the range of the counter in timer %s."] #[inline(always)] - #[must_use] pub fn duty_res(&mut self) -> DUTY_RES_W { DUTY_RES_W::new(self, 0) } #[doc = "Bits 5:22 - This register is used to configure the divisor for the divider in timer %s. The least significant eight bits represent the fractional part."] #[inline(always)] - #[must_use] pub fn clk_div(&mut self) -> CLK_DIV_W { CLK_DIV_W::new(self, 5) } #[doc = "Bit 23 - This bit is used to suspend the counter in timer %s."] #[inline(always)] - #[must_use] pub fn pause(&mut self) -> PAUSE_W { PAUSE_W::new(self, 23) } #[doc = "Bit 24 - This bit is used to reset timer %s. The counter will show 0 after reset."] #[inline(always)] - #[must_use] pub fn rst(&mut self) -> RST_W { RST_W::new(self, 24) } #[doc = "Bit 25 - This bit is used to select clock for timer %s. When this bit is set to 1 LEDC_APB_CLK_SEL\\[1:0\\] should be 1, otherwise the timer clock may be not accurate. 1'h0: SLOW_CLK 1'h1: REF_TICK"] #[inline(always)] - #[must_use] pub fn tick_sel(&mut self) -> TICK_SEL_W { TICK_SEL_W::new(self, 25) } #[doc = "Bit 26 - Set this bit to update LEDC_CLK_DIV_TIMER%s and LEDC_TIMER%s_DUTY_RES."] #[inline(always)] - #[must_use] pub fn para_up(&mut self) -> PARA_UP_W { PARA_UP_W::new(self, 26) } diff --git a/esp32c6/src/ledc/timer_cmp.rs b/esp32c6/src/ledc/timer_cmp.rs index e4fe157cda..e4f38a10d9 100644 --- a/esp32c6/src/ledc/timer_cmp.rs +++ b/esp32c6/src/ledc/timer_cmp.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - This register stores ledc timer%s compare value."] #[inline(always)] - #[must_use] pub fn timer_cmp(&mut self) -> TIMER_CMP_W { TIMER_CMP_W::new(self, 0) } diff --git a/esp32c6/src/lib.rs b/esp32c6/src/lib.rs index c4bb525d62..ed41599302 100644 --- a/esp32c6/src/lib.rs +++ b/esp32c6/src/lib.rs @@ -1,4 +1,4 @@ -#![doc = "Peripheral access API for ESP32-C6 microcontrollers (generated using svd2rust v0.33.4 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next] svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.33.4/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"] +#![doc = "Peripheral access API for ESP32-C6 microcontrollers (generated using svd2rust v0.34.0 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next] svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.34.0/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"] #![allow(non_camel_case_types)] #![allow(non_snake_case)] #![doc(html_logo_url = "https://avatars.githubusercontent.com/u/46717278")] diff --git a/esp32c6/src/lp_ana/bod_mode0_cntl.rs b/esp32c6/src/lp_ana/bod_mode0_cntl.rs index 713115a6fd..a18b707743 100644 --- a/esp32c6/src/lp_ana/bod_mode0_cntl.rs +++ b/esp32c6/src/lp_ana/bod_mode0_cntl.rs @@ -97,7 +97,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 6 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0_close_flash_ena( &mut self, ) -> BOD_MODE0_CLOSE_FLASH_ENA_W { @@ -105,43 +104,36 @@ impl W { } #[doc = "Bit 7 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0_pd_rf_ena(&mut self) -> BOD_MODE0_PD_RF_ENA_W { BOD_MODE0_PD_RF_ENA_W::new(self, 7) } #[doc = "Bits 8:17 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0_intr_wait(&mut self) -> BOD_MODE0_INTR_WAIT_W { BOD_MODE0_INTR_WAIT_W::new(self, 8) } #[doc = "Bits 18:27 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0_reset_wait(&mut self) -> BOD_MODE0_RESET_WAIT_W { BOD_MODE0_RESET_WAIT_W::new(self, 18) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0_cnt_clr(&mut self) -> BOD_MODE0_CNT_CLR_W { BOD_MODE0_CNT_CLR_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0_intr_ena(&mut self) -> BOD_MODE0_INTR_ENA_W { BOD_MODE0_INTR_ENA_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0_reset_sel(&mut self) -> BOD_MODE0_RESET_SEL_W { BOD_MODE0_RESET_SEL_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0_reset_ena(&mut self) -> BOD_MODE0_RESET_ENA_W { BOD_MODE0_RESET_ENA_W::new(self, 31) } diff --git a/esp32c6/src/lp_ana/bod_mode1_cntl.rs b/esp32c6/src/lp_ana/bod_mode1_cntl.rs index 4e4bdd3972..22e45d3af8 100644 --- a/esp32c6/src/lp_ana/bod_mode1_cntl.rs +++ b/esp32c6/src/lp_ana/bod_mode1_cntl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode1_reset_ena(&mut self) -> BOD_MODE1_RESET_ENA_W { BOD_MODE1_RESET_ENA_W::new(self, 31) } diff --git a/esp32c6/src/lp_ana/ck_glitch_cntl.rs b/esp32c6/src/lp_ana/ck_glitch_cntl.rs index d238149382..ec2cfb0a4a 100644 --- a/esp32c6/src/lp_ana/ck_glitch_cntl.rs +++ b/esp32c6/src/lp_ana/ck_glitch_cntl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn ck_glitch_reset_ena(&mut self) -> CK_GLITCH_RESET_ENA_W { CK_GLITCH_RESET_ENA_W::new(self, 31) } diff --git a/esp32c6/src/lp_ana/date.rs b/esp32c6/src/lp_ana/date.rs index bf823c520d..c4a31b7eda 100644 --- a/esp32c6/src/lp_ana/date.rs +++ b/esp32c6/src/lp_ana/date.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_ana_date(&mut self) -> LP_ANA_DATE_W { LP_ANA_DATE_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32c6/src/lp_ana/fib_enable.rs b/esp32c6/src/lp_ana/fib_enable.rs index 4979869992..2b86866a9d 100644 --- a/esp32c6/src/lp_ana/fib_enable.rs +++ b/esp32c6/src/lp_ana/fib_enable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn ana_fib_ena(&mut self) -> ANA_FIB_ENA_W { ANA_FIB_ENA_W::new(self, 0) } diff --git a/esp32c6/src/lp_ana/int_clr.rs b/esp32c6/src/lp_ana/int_clr.rs index 03e2f013c2..2e6573134c 100644 --- a/esp32c6/src/lp_ana/int_clr.rs +++ b/esp32c6/src/lp_ana/int_clr.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0(&mut self) -> BOD_MODE0_W { BOD_MODE0_W::new(self, 31) } diff --git a/esp32c6/src/lp_ana/int_ena.rs b/esp32c6/src/lp_ana/int_ena.rs index 205a809af3..8448ce9948 100644 --- a/esp32c6/src/lp_ana/int_ena.rs +++ b/esp32c6/src/lp_ana/int_ena.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0(&mut self) -> BOD_MODE0_W { BOD_MODE0_W::new(self, 31) } diff --git a/esp32c6/src/lp_ana/int_raw.rs b/esp32c6/src/lp_ana/int_raw.rs index ac9aeb9eb5..27ed000ce6 100644 --- a/esp32c6/src/lp_ana/int_raw.rs +++ b/esp32c6/src/lp_ana/int_raw.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0(&mut self) -> BOD_MODE0_W { BOD_MODE0_W::new(self, 31) } diff --git a/esp32c6/src/lp_ana/lp_int_clr.rs b/esp32c6/src/lp_ana/lp_int_clr.rs index eb9b2ebce0..7292611712 100644 --- a/esp32c6/src/lp_ana/lp_int_clr.rs +++ b/esp32c6/src/lp_ana/lp_int_clr.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0(&mut self) -> BOD_MODE0_W { BOD_MODE0_W::new(self, 31) } diff --git a/esp32c6/src/lp_ana/lp_int_ena.rs b/esp32c6/src/lp_ana/lp_int_ena.rs index 314ce7d28a..0523553072 100644 --- a/esp32c6/src/lp_ana/lp_int_ena.rs +++ b/esp32c6/src/lp_ana/lp_int_ena.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0(&mut self) -> BOD_MODE0_W { BOD_MODE0_W::new(self, 31) } diff --git a/esp32c6/src/lp_ana/lp_int_raw.rs b/esp32c6/src/lp_ana/lp_int_raw.rs index 7680e3d0a0..513f3b59a6 100644 --- a/esp32c6/src/lp_ana/lp_int_raw.rs +++ b/esp32c6/src/lp_ana/lp_int_raw.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0(&mut self) -> BOD_MODE0_W { BOD_MODE0_W::new(self, 31) } diff --git a/esp32c6/src/lp_aon/cpucore0_cfg.rs b/esp32c6/src/lp_aon/cpucore0_cfg.rs index c2da5051ec..6b3ee54b80 100644 --- a/esp32c6/src/lp_aon/cpucore0_cfg.rs +++ b/esp32c6/src/lp_aon/cpucore0_cfg.rs @@ -62,19 +62,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - need_des"] #[inline(always)] - #[must_use] pub fn cpu_core0_sw_stall(&mut self) -> CPU_CORE0_SW_STALL_W { CPU_CORE0_SW_STALL_W::new(self, 0) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn cpu_core0_sw_reset(&mut self) -> CPU_CORE0_SW_RESET_W { CPU_CORE0_SW_RESET_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn cpu_core0_ocd_halt_on_reset( &mut self, ) -> CPU_CORE0_OCD_HALT_ON_RESET_W { @@ -82,13 +79,11 @@ impl W { } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn cpu_core0_stat_vector_sel(&mut self) -> CPU_CORE0_STAT_VECTOR_SEL_W { CPU_CORE0_STAT_VECTOR_SEL_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn cpu_core0_dreset_mask(&mut self) -> CPU_CORE0_DRESET_MASK_W { CPU_CORE0_DRESET_MASK_W::new(self, 31) } diff --git a/esp32c6/src/lp_aon/date.rs b/esp32c6/src/lp_aon/date.rs index c320e7f5e4..0daa2f2711 100644 --- a/esp32c6/src/lp_aon/date.rs +++ b/esp32c6/src/lp_aon/date.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - need_des"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32c6/src/lp_aon/ext_wakeup_cntl.rs b/esp32c6/src/lp_aon/ext_wakeup_cntl.rs index 25e9ecb180..6244417aee 100644 --- a/esp32c6/src/lp_aon/ext_wakeup_cntl.rs +++ b/esp32c6/src/lp_aon/ext_wakeup_cntl.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 14 - need_des"] #[inline(always)] - #[must_use] pub fn ext_wakeup_status_clr(&mut self) -> EXT_WAKEUP_STATUS_CLR_W { EXT_WAKEUP_STATUS_CLR_W::new(self, 14) } #[doc = "Bits 15:22 - need_des"] #[inline(always)] - #[must_use] pub fn ext_wakeup_sel(&mut self) -> EXT_WAKEUP_SEL_W { EXT_WAKEUP_SEL_W::new(self, 15) } #[doc = "Bits 23:30 - need_des"] #[inline(always)] - #[must_use] pub fn ext_wakeup_lv(&mut self) -> EXT_WAKEUP_LV_W { EXT_WAKEUP_LV_W::new(self, 23) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn ext_wakeup_filter(&mut self) -> EXT_WAKEUP_FILTER_W { EXT_WAKEUP_FILTER_W::new(self, 31) } diff --git a/esp32c6/src/lp_aon/gpio_hold0.rs b/esp32c6/src/lp_aon/gpio_hold0.rs index 4973f30e0a..983073f841 100644 --- a/esp32c6/src/lp_aon/gpio_hold0.rs +++ b/esp32c6/src/lp_aon/gpio_hold0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn gpio_hold0(&mut self) -> GPIO_HOLD0_W { GPIO_HOLD0_W::new(self, 0) } diff --git a/esp32c6/src/lp_aon/gpio_hold1.rs b/esp32c6/src/lp_aon/gpio_hold1.rs index d9522183b0..e378ad125d 100644 --- a/esp32c6/src/lp_aon/gpio_hold1.rs +++ b/esp32c6/src/lp_aon/gpio_hold1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn gpio_hold1(&mut self) -> GPIO_HOLD1_W { GPIO_HOLD1_W::new(self, 0) } diff --git a/esp32c6/src/lp_aon/gpio_mux.rs b/esp32c6/src/lp_aon/gpio_mux.rs index f137682932..65876f8a11 100644 --- a/esp32c6/src/lp_aon/gpio_mux.rs +++ b/esp32c6/src/lp_aon/gpio_mux.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - need_des"] #[inline(always)] - #[must_use] pub fn sel(&mut self) -> SEL_W { SEL_W::new(self, 0) } diff --git a/esp32c6/src/lp_aon/io_mux.rs b/esp32c6/src/lp_aon/io_mux.rs index ef66c1a0b4..e9ef12d5f7 100644 --- a/esp32c6/src/lp_aon/io_mux.rs +++ b/esp32c6/src/lp_aon/io_mux.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn reset_disable(&mut self) -> RESET_DISABLE_W { RESET_DISABLE_W::new(self, 31) } diff --git a/esp32c6/src/lp_aon/lpbus.rs b/esp32c6/src/lp_aon/lpbus.rs index 1cc72bb70e..c200832163 100644 --- a/esp32c6/src/lp_aon/lpbus.rs +++ b/esp32c6/src/lp_aon/lpbus.rs @@ -72,31 +72,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:18 - This field controls fast memory WPULSE parameter."] #[inline(always)] - #[must_use] pub fn fast_mem_wpulse(&mut self) -> FAST_MEM_WPULSE_W { FAST_MEM_WPULSE_W::new(self, 16) } #[doc = "Bits 19:21 - This field controls fast memory WA parameter."] #[inline(always)] - #[must_use] pub fn fast_mem_wa(&mut self) -> FAST_MEM_WA_W { FAST_MEM_WA_W::new(self, 19) } #[doc = "Bits 22:23 - This field controls fast memory RA parameter."] #[inline(always)] - #[must_use] pub fn fast_mem_ra(&mut self) -> FAST_MEM_RA_W { FAST_MEM_RA_W::new(self, 22) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn fast_mem_mux_sel_update(&mut self) -> FAST_MEM_MUX_SEL_UPDATE_W { FAST_MEM_MUX_SEL_UPDATE_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn fast_mem_mux_sel(&mut self) -> FAST_MEM_MUX_SEL_W { FAST_MEM_MUX_SEL_W::new(self, 31) } diff --git a/esp32c6/src/lp_aon/lpcore.rs b/esp32c6/src/lp_aon/lpcore.rs index a1a1116133..04ee1359c7 100644 --- a/esp32c6/src/lp_aon/lpcore.rs +++ b/esp32c6/src/lp_aon/lpcore.rs @@ -36,19 +36,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn etm_wakeup_flag_clr(&mut self) -> ETM_WAKEUP_FLAG_CLR_W { ETM_WAKEUP_FLAG_CLR_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn etm_wakeup_flag(&mut self) -> ETM_WAKEUP_FLAG_W { ETM_WAKEUP_FLAG_W::new(self, 1) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn disable(&mut self) -> DISABLE_W { DISABLE_W::new(self, 31) } diff --git a/esp32c6/src/lp_aon/sar_cct.rs b/esp32c6/src/lp_aon/sar_cct.rs index 540e14be37..a95125eb65 100644 --- a/esp32c6/src/lp_aon/sar_cct.rs +++ b/esp32c6/src/lp_aon/sar_cct.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 29:31 - need_des"] #[inline(always)] - #[must_use] pub fn sar2_pwdet_cct(&mut self) -> SAR2_PWDET_CCT_W { SAR2_PWDET_CCT_W::new(self, 29) } diff --git a/esp32c6/src/lp_aon/sdio_active.rs b/esp32c6/src/lp_aon/sdio_active.rs index 4d4df5877c..192b544eb6 100644 --- a/esp32c6/src/lp_aon/sdio_active.rs +++ b/esp32c6/src/lp_aon/sdio_active.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 22:31 - need_des"] #[inline(always)] - #[must_use] pub fn sdio_act_dnum(&mut self) -> SDIO_ACT_DNUM_W { SDIO_ACT_DNUM_W::new(self, 22) } diff --git a/esp32c6/src/lp_aon/store0.rs b/esp32c6/src/lp_aon/store0.rs index 7f345da854..ff89fa4d43 100644 --- a/esp32c6/src/lp_aon/store0.rs +++ b/esp32c6/src/lp_aon/store0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aon_store0(&mut self) -> LP_AON_STORE0_W { LP_AON_STORE0_W::new(self, 0) } diff --git a/esp32c6/src/lp_aon/store1.rs b/esp32c6/src/lp_aon/store1.rs index 1e01078996..efc842feae 100644 --- a/esp32c6/src/lp_aon/store1.rs +++ b/esp32c6/src/lp_aon/store1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aon_store1(&mut self) -> LP_AON_STORE1_W { LP_AON_STORE1_W::new(self, 0) } diff --git a/esp32c6/src/lp_aon/store2.rs b/esp32c6/src/lp_aon/store2.rs index aa3ffd0c89..17446aef2d 100644 --- a/esp32c6/src/lp_aon/store2.rs +++ b/esp32c6/src/lp_aon/store2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aon_store2(&mut self) -> LP_AON_STORE2_W { LP_AON_STORE2_W::new(self, 0) } diff --git a/esp32c6/src/lp_aon/store3.rs b/esp32c6/src/lp_aon/store3.rs index ceae223ac1..71d71d2c3f 100644 --- a/esp32c6/src/lp_aon/store3.rs +++ b/esp32c6/src/lp_aon/store3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aon_store3(&mut self) -> LP_AON_STORE3_W { LP_AON_STORE3_W::new(self, 0) } diff --git a/esp32c6/src/lp_aon/store4.rs b/esp32c6/src/lp_aon/store4.rs index 7317987cb8..ef735d0e31 100644 --- a/esp32c6/src/lp_aon/store4.rs +++ b/esp32c6/src/lp_aon/store4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aon_store4(&mut self) -> LP_AON_STORE4_W { LP_AON_STORE4_W::new(self, 0) } diff --git a/esp32c6/src/lp_aon/store5.rs b/esp32c6/src/lp_aon/store5.rs index 2486b31abf..e320cf778d 100644 --- a/esp32c6/src/lp_aon/store5.rs +++ b/esp32c6/src/lp_aon/store5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aon_store5(&mut self) -> LP_AON_STORE5_W { LP_AON_STORE5_W::new(self, 0) } diff --git a/esp32c6/src/lp_aon/store6.rs b/esp32c6/src/lp_aon/store6.rs index d3e3be7861..5ceacf745f 100644 --- a/esp32c6/src/lp_aon/store6.rs +++ b/esp32c6/src/lp_aon/store6.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aon_store6(&mut self) -> LP_AON_STORE6_W { LP_AON_STORE6_W::new(self, 0) } diff --git a/esp32c6/src/lp_aon/store7.rs b/esp32c6/src/lp_aon/store7.rs index 73b2f906c4..0246db8a25 100644 --- a/esp32c6/src/lp_aon/store7.rs +++ b/esp32c6/src/lp_aon/store7.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aon_store7(&mut self) -> LP_AON_STORE7_W { LP_AON_STORE7_W::new(self, 0) } diff --git a/esp32c6/src/lp_aon/store8.rs b/esp32c6/src/lp_aon/store8.rs index bf5f9c611d..20de43cbb5 100644 --- a/esp32c6/src/lp_aon/store8.rs +++ b/esp32c6/src/lp_aon/store8.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aon_store8(&mut self) -> LP_AON_STORE8_W { LP_AON_STORE8_W::new(self, 0) } diff --git a/esp32c6/src/lp_aon/store9.rs b/esp32c6/src/lp_aon/store9.rs index 6eca846177..d1a6cbb508 100644 --- a/esp32c6/src/lp_aon/store9.rs +++ b/esp32c6/src/lp_aon/store9.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aon_store9(&mut self) -> LP_AON_STORE9_W { LP_AON_STORE9_W::new(self, 0) } diff --git a/esp32c6/src/lp_aon/sys_cfg.rs b/esp32c6/src/lp_aon/sys_cfg.rs index 500866f828..ffbb1c6ba3 100644 --- a/esp32c6/src/lp_aon/sys_cfg.rs +++ b/esp32c6/src/lp_aon/sys_cfg.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn force_download_boot(&mut self) -> FORCE_DOWNLOAD_BOOT_W { FORCE_DOWNLOAD_BOOT_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hpsys_sw_reset(&mut self) -> HPSYS_SW_RESET_W { HPSYS_SW_RESET_W::new(self, 31) } diff --git a/esp32c6/src/lp_aon/usb.rs b/esp32c6/src/lp_aon/usb.rs index 44fdcb6e0d..c94659e8e9 100644 --- a/esp32c6/src/lp_aon/usb.rs +++ b/esp32c6/src/lp_aon/usb.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn reset_disable(&mut self) -> RESET_DISABLE_W { RESET_DISABLE_W::new(self, 31) } diff --git a/esp32c6/src/lp_apm/clock_gate.rs b/esp32c6/src/lp_apm/clock_gate.rs index c11923fb98..a58faa7d65 100644 --- a/esp32c6/src/lp_apm/clock_gate.rs +++ b/esp32c6/src/lp_apm/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_clk_en"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32c6/src/lp_apm/date.rs b/esp32c6/src/lp_apm/date.rs index cfb7714639..cbf2bbdcd3 100644 --- a/esp32c6/src/lp_apm/date.rs +++ b/esp32c6/src/lp_apm/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - reg_date"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/lp_apm/func_ctrl.rs b/esp32c6/src/lp_apm/func_ctrl.rs index 9883560c7a..5c550ba39b 100644 --- a/esp32c6/src/lp_apm/func_ctrl.rs +++ b/esp32c6/src/lp_apm/func_ctrl.rs @@ -47,7 +47,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `M0_PMS_FUNC_EN` field.
"] #[inline(always)] - #[must_use] pub fn m_pms_func_en(&mut self, n: u8) -> M_PMS_FUNC_EN_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -55,13 +54,11 @@ impl W { } #[doc = "Bit 0 - PMS M0 function enable"] #[inline(always)] - #[must_use] pub fn m0_pms_func_en(&mut self) -> M_PMS_FUNC_EN_W { M_PMS_FUNC_EN_W::new(self, 0) } #[doc = "Bit 1 - PMS M1 function enable"] #[inline(always)] - #[must_use] pub fn m1_pms_func_en(&mut self) -> M_PMS_FUNC_EN_W { M_PMS_FUNC_EN_W::new(self, 1) } diff --git a/esp32c6/src/lp_apm/int_en.rs b/esp32c6/src/lp_apm/int_en.rs index 7286eb8b50..adf6883253 100644 --- a/esp32c6/src/lp_apm/int_en.rs +++ b/esp32c6/src/lp_apm/int_en.rs @@ -47,7 +47,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `M0_APM` field.
"] #[inline(always)] - #[must_use] pub fn m_apm(&mut self, n: u8) -> M_APM_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -55,13 +54,11 @@ impl W { } #[doc = "Bit 0 - APM M0 interrupt enable"] #[inline(always)] - #[must_use] pub fn m0_apm(&mut self) -> M_APM_W { M_APM_W::new(self, 0) } #[doc = "Bit 1 - APM M1 interrupt enable"] #[inline(always)] - #[must_use] pub fn m1_apm(&mut self) -> M_APM_W { M_APM_W::new(self, 1) } diff --git a/esp32c6/src/lp_apm/m/status_clr.rs b/esp32c6/src/lp_apm/m/status_clr.rs index e4f078f6fc..8da9457594 100644 --- a/esp32c6/src/lp_apm/m/status_clr.rs +++ b/esp32c6/src/lp_apm/m/status_clr.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Clear exception status"] #[inline(always)] - #[must_use] pub fn region_status_clr(&mut self) -> REGION_STATUS_CLR_W { REGION_STATUS_CLR_W::new(self, 0) } diff --git a/esp32c6/src/lp_apm/region/addr_end.rs b/esp32c6/src/lp_apm/region/addr_end.rs index 0459ef8236..62145901a9 100644 --- a/esp32c6/src/lp_apm/region/addr_end.rs +++ b/esp32c6/src/lp_apm/region/addr_end.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - End address of region0"] #[inline(always)] - #[must_use] pub fn addr_end(&mut self) -> ADDR_END_W { ADDR_END_W::new(self, 0) } diff --git a/esp32c6/src/lp_apm/region/addr_start.rs b/esp32c6/src/lp_apm/region/addr_start.rs index fc14b71b5f..4ae84c3305 100644 --- a/esp32c6/src/lp_apm/region/addr_start.rs +++ b/esp32c6/src/lp_apm/region/addr_start.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Start address of region0"] #[inline(always)] - #[must_use] pub fn addr_start(&mut self) -> ADDR_START_W { ADDR_START_W::new(self, 0) } diff --git a/esp32c6/src/lp_apm/region/pms_attr.rs b/esp32c6/src/lp_apm/region/pms_attr.rs index fe5b684b59..2c40327dfb 100644 --- a/esp32c6/src/lp_apm/region/pms_attr.rs +++ b/esp32c6/src/lp_apm/region/pms_attr.rs @@ -127,7 +127,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `R0_PMS_X` field.
"] #[inline(always)] - #[must_use] pub fn r_pms_x(&mut self, n: u8) -> R_PMS_X_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -135,19 +134,16 @@ impl W { } #[doc = "Bit 0 - Region execute authority in REE_MODE0"] #[inline(always)] - #[must_use] pub fn r0_pms_x(&mut self) -> R_PMS_X_W { R_PMS_X_W::new(self, 0) } #[doc = "Bit 4 - Region execute authority in REE_MODE1"] #[inline(always)] - #[must_use] pub fn r1_pms_x(&mut self) -> R_PMS_X_W { R_PMS_X_W::new(self, 4) } #[doc = "Bit 8 - Region execute authority in REE_MODE2"] #[inline(always)] - #[must_use] pub fn r2_pms_x(&mut self) -> R_PMS_X_W { R_PMS_X_W::new(self, 8) } @@ -155,7 +151,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `R0_PMS_W` field.
"] #[inline(always)] - #[must_use] pub fn r_pms_w(&mut self, n: u8) -> R_PMS_W_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -163,19 +158,16 @@ impl W { } #[doc = "Bit 1 - Region write authority in REE_MODE0"] #[inline(always)] - #[must_use] pub fn r0_pms_w(&mut self) -> R_PMS_W_W { R_PMS_W_W::new(self, 1) } #[doc = "Bit 5 - Region write authority in REE_MODE1"] #[inline(always)] - #[must_use] pub fn r1_pms_w(&mut self) -> R_PMS_W_W { R_PMS_W_W::new(self, 5) } #[doc = "Bit 9 - Region write authority in REE_MODE2"] #[inline(always)] - #[must_use] pub fn r2_pms_w(&mut self) -> R_PMS_W_W { R_PMS_W_W::new(self, 9) } @@ -183,7 +175,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `R0_PMS_R` field.
"] #[inline(always)] - #[must_use] pub fn r_pms_r(&mut self, n: u8) -> R_PMS_R_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -191,19 +182,16 @@ impl W { } #[doc = "Bit 2 - Region read authority in REE_MODE0"] #[inline(always)] - #[must_use] pub fn r0_pms_r(&mut self) -> R_PMS_R_W { R_PMS_R_W::new(self, 2) } #[doc = "Bit 6 - Region read authority in REE_MODE1"] #[inline(always)] - #[must_use] pub fn r1_pms_r(&mut self) -> R_PMS_R_W { R_PMS_R_W::new(self, 6) } #[doc = "Bit 10 - Region read authority in REE_MODE2"] #[inline(always)] - #[must_use] pub fn r2_pms_r(&mut self) -> R_PMS_R_W { R_PMS_R_W::new(self, 10) } diff --git a/esp32c6/src/lp_apm/region_filter_en.rs b/esp32c6/src/lp_apm/region_filter_en.rs index 3c26f66d7e..a89782663b 100644 --- a/esp32c6/src/lp_apm/region_filter_en.rs +++ b/esp32c6/src/lp_apm/region_filter_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Region filter enable"] #[inline(always)] - #[must_use] pub fn region_filter_en(&mut self) -> REGION_FILTER_EN_W { REGION_FILTER_EN_W::new(self, 0) } diff --git a/esp32c6/src/lp_apm0/clock_gate.rs b/esp32c6/src/lp_apm0/clock_gate.rs index c11923fb98..a58faa7d65 100644 --- a/esp32c6/src/lp_apm0/clock_gate.rs +++ b/esp32c6/src/lp_apm0/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_clk_en"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32c6/src/lp_apm0/date.rs b/esp32c6/src/lp_apm0/date.rs index cfb7714639..cbf2bbdcd3 100644 --- a/esp32c6/src/lp_apm0/date.rs +++ b/esp32c6/src/lp_apm0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - reg_date"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/lp_apm0/func_ctrl.rs b/esp32c6/src/lp_apm0/func_ctrl.rs index d9a6fe03e6..396a133f7e 100644 --- a/esp32c6/src/lp_apm0/func_ctrl.rs +++ b/esp32c6/src/lp_apm0/func_ctrl.rs @@ -41,7 +41,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `M0_PMS_FUNC_EN` field.
"] #[inline(always)] - #[must_use] pub fn m_pms_func_en(&mut self, n: u8) -> M_PMS_FUNC_EN_W { #[allow(clippy::no_effect)] [(); 1][n as usize]; @@ -49,7 +48,6 @@ impl W { } #[doc = "Bit 0 - PMS M0 function enable"] #[inline(always)] - #[must_use] pub fn m0_pms_func_en(&mut self) -> M_PMS_FUNC_EN_W { M_PMS_FUNC_EN_W::new(self, 0) } diff --git a/esp32c6/src/lp_apm0/int_en.rs b/esp32c6/src/lp_apm0/int_en.rs index 4d6a6fdd7f..a015f02106 100644 --- a/esp32c6/src/lp_apm0/int_en.rs +++ b/esp32c6/src/lp_apm0/int_en.rs @@ -41,7 +41,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `M0_APM` field.
"] #[inline(always)] - #[must_use] pub fn m_apm(&mut self, n: u8) -> M_APM_W { #[allow(clippy::no_effect)] [(); 1][n as usize]; @@ -49,7 +48,6 @@ impl W { } #[doc = "Bit 0 - APM M0 interrupt enable"] #[inline(always)] - #[must_use] pub fn m0_apm(&mut self) -> M_APM_W { M_APM_W::new(self, 0) } diff --git a/esp32c6/src/lp_apm0/m/status_clr.rs b/esp32c6/src/lp_apm0/m/status_clr.rs index e4f078f6fc..8da9457594 100644 --- a/esp32c6/src/lp_apm0/m/status_clr.rs +++ b/esp32c6/src/lp_apm0/m/status_clr.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Clear exception status"] #[inline(always)] - #[must_use] pub fn region_status_clr(&mut self) -> REGION_STATUS_CLR_W { REGION_STATUS_CLR_W::new(self, 0) } diff --git a/esp32c6/src/lp_apm0/region/addr_end.rs b/esp32c6/src/lp_apm0/region/addr_end.rs index 0459ef8236..62145901a9 100644 --- a/esp32c6/src/lp_apm0/region/addr_end.rs +++ b/esp32c6/src/lp_apm0/region/addr_end.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - End address of region0"] #[inline(always)] - #[must_use] pub fn addr_end(&mut self) -> ADDR_END_W { ADDR_END_W::new(self, 0) } diff --git a/esp32c6/src/lp_apm0/region/addr_start.rs b/esp32c6/src/lp_apm0/region/addr_start.rs index fc14b71b5f..4ae84c3305 100644 --- a/esp32c6/src/lp_apm0/region/addr_start.rs +++ b/esp32c6/src/lp_apm0/region/addr_start.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Start address of region0"] #[inline(always)] - #[must_use] pub fn addr_start(&mut self) -> ADDR_START_W { ADDR_START_W::new(self, 0) } diff --git a/esp32c6/src/lp_apm0/region/pms_attr.rs b/esp32c6/src/lp_apm0/region/pms_attr.rs index fe5b684b59..2c40327dfb 100644 --- a/esp32c6/src/lp_apm0/region/pms_attr.rs +++ b/esp32c6/src/lp_apm0/region/pms_attr.rs @@ -127,7 +127,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `R0_PMS_X` field.
"] #[inline(always)] - #[must_use] pub fn r_pms_x(&mut self, n: u8) -> R_PMS_X_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -135,19 +134,16 @@ impl W { } #[doc = "Bit 0 - Region execute authority in REE_MODE0"] #[inline(always)] - #[must_use] pub fn r0_pms_x(&mut self) -> R_PMS_X_W { R_PMS_X_W::new(self, 0) } #[doc = "Bit 4 - Region execute authority in REE_MODE1"] #[inline(always)] - #[must_use] pub fn r1_pms_x(&mut self) -> R_PMS_X_W { R_PMS_X_W::new(self, 4) } #[doc = "Bit 8 - Region execute authority in REE_MODE2"] #[inline(always)] - #[must_use] pub fn r2_pms_x(&mut self) -> R_PMS_X_W { R_PMS_X_W::new(self, 8) } @@ -155,7 +151,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `R0_PMS_W` field.
"] #[inline(always)] - #[must_use] pub fn r_pms_w(&mut self, n: u8) -> R_PMS_W_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -163,19 +158,16 @@ impl W { } #[doc = "Bit 1 - Region write authority in REE_MODE0"] #[inline(always)] - #[must_use] pub fn r0_pms_w(&mut self) -> R_PMS_W_W { R_PMS_W_W::new(self, 1) } #[doc = "Bit 5 - Region write authority in REE_MODE1"] #[inline(always)] - #[must_use] pub fn r1_pms_w(&mut self) -> R_PMS_W_W { R_PMS_W_W::new(self, 5) } #[doc = "Bit 9 - Region write authority in REE_MODE2"] #[inline(always)] - #[must_use] pub fn r2_pms_w(&mut self) -> R_PMS_W_W { R_PMS_W_W::new(self, 9) } @@ -183,7 +175,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `R0_PMS_R` field.
"] #[inline(always)] - #[must_use] pub fn r_pms_r(&mut self, n: u8) -> R_PMS_R_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -191,19 +182,16 @@ impl W { } #[doc = "Bit 2 - Region read authority in REE_MODE0"] #[inline(always)] - #[must_use] pub fn r0_pms_r(&mut self) -> R_PMS_R_W { R_PMS_R_W::new(self, 2) } #[doc = "Bit 6 - Region read authority in REE_MODE1"] #[inline(always)] - #[must_use] pub fn r1_pms_r(&mut self) -> R_PMS_R_W { R_PMS_R_W::new(self, 6) } #[doc = "Bit 10 - Region read authority in REE_MODE2"] #[inline(always)] - #[must_use] pub fn r2_pms_r(&mut self) -> R_PMS_R_W { R_PMS_R_W::new(self, 10) } diff --git a/esp32c6/src/lp_apm0/region_filter_en.rs b/esp32c6/src/lp_apm0/region_filter_en.rs index 3c26f66d7e..a89782663b 100644 --- a/esp32c6/src/lp_apm0/region_filter_en.rs +++ b/esp32c6/src/lp_apm0/region_filter_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Region filter enable"] #[inline(always)] - #[must_use] pub fn region_filter_en(&mut self) -> REGION_FILTER_EN_W { REGION_FILTER_EN_W::new(self, 0) } diff --git a/esp32c6/src/lp_clkrst/clk_to_hp.rs b/esp32c6/src/lp_clkrst/clk_to_hp.rs index 9c7f5727d7..1a49a3f0f4 100644 --- a/esp32c6/src/lp_clkrst/clk_to_hp.rs +++ b/esp32c6/src/lp_clkrst/clk_to_hp.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn icg_hp_xtal32k(&mut self) -> ICG_HP_XTAL32K_W { ICG_HP_XTAL32K_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn icg_hp_sosc(&mut self) -> ICG_HP_SOSC_W { ICG_HP_SOSC_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn icg_hp_osc32k(&mut self) -> ICG_HP_OSC32K_W { ICG_HP_OSC32K_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn icg_hp_fosc(&mut self) -> ICG_HP_FOSC_W { ICG_HP_FOSC_W::new(self, 31) } diff --git a/esp32c6/src/lp_clkrst/cpu_reset.rs b/esp32c6/src/lp_clkrst/cpu_reset.rs index 9b06f596c6..3d7557d5d0 100644 --- a/esp32c6/src/lp_clkrst/cpu_reset.rs +++ b/esp32c6/src/lp_clkrst/cpu_reset.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 22:24 - need_des"] #[inline(always)] - #[must_use] pub fn rtc_wdt_cpu_reset_length(&mut self) -> RTC_WDT_CPU_RESET_LENGTH_W { RTC_WDT_CPU_RESET_LENGTH_W::new(self, 22) } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn rtc_wdt_cpu_reset_en(&mut self) -> RTC_WDT_CPU_RESET_EN_W { RTC_WDT_CPU_RESET_EN_W::new(self, 25) } #[doc = "Bits 26:30 - need_des"] #[inline(always)] - #[must_use] pub fn cpu_stall_wait(&mut self) -> CPU_STALL_WAIT_W { CPU_STALL_WAIT_W::new(self, 26) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn cpu_stall_en(&mut self) -> CPU_STALL_EN_W { CPU_STALL_EN_W::new(self, 31) } diff --git a/esp32c6/src/lp_clkrst/date.rs b/esp32c6/src/lp_clkrst/date.rs index 328cc02d6f..a9d3eb5d81 100644 --- a/esp32c6/src/lp_clkrst/date.rs +++ b/esp32c6/src/lp_clkrst/date.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - need_des"] #[inline(always)] - #[must_use] pub fn clkrst_date(&mut self) -> CLKRST_DATE_W { CLKRST_DATE_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32c6/src/lp_clkrst/fosc_cntl.rs b/esp32c6/src/lp_clkrst/fosc_cntl.rs index 5187c24e4d..4be6c4b7b1 100644 --- a/esp32c6/src/lp_clkrst/fosc_cntl.rs +++ b/esp32c6/src/lp_clkrst/fosc_cntl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 22:31 - need_des"] #[inline(always)] - #[must_use] pub fn fosc_dfreq(&mut self) -> FOSC_DFREQ_W { FOSC_DFREQ_W::new(self, 22) } diff --git a/esp32c6/src/lp_clkrst/lp_clk_conf.rs b/esp32c6/src/lp_clkrst/lp_clk_conf.rs index c27ccd92a1..81efcc8faa 100644 --- a/esp32c6/src/lp_clkrst/lp_clk_conf.rs +++ b/esp32c6/src/lp_clkrst/lp_clk_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - need_des"] #[inline(always)] - #[must_use] pub fn slow_clk_sel(&mut self) -> SLOW_CLK_SEL_W { SLOW_CLK_SEL_W::new(self, 0) } #[doc = "Bit 2 - need_des"] #[inline(always)] - #[must_use] pub fn fast_clk_sel(&mut self) -> FAST_CLK_SEL_W { FAST_CLK_SEL_W::new(self, 2) } #[doc = "Bits 3:10 - need_des"] #[inline(always)] - #[must_use] pub fn lp_peri_div_num(&mut self) -> LP_PERI_DIV_NUM_W { LP_PERI_DIV_NUM_W::new(self, 3) } diff --git a/esp32c6/src/lp_clkrst/lp_clk_en.rs b/esp32c6/src/lp_clkrst/lp_clk_en.rs index 76b08b4883..daff6418b5 100644 --- a/esp32c6/src/lp_clkrst/lp_clk_en.rs +++ b/esp32c6/src/lp_clkrst/lp_clk_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn fast_ori_gate(&mut self) -> FAST_ORI_GATE_W { FAST_ORI_GATE_W::new(self, 31) } diff --git a/esp32c6/src/lp_clkrst/lp_clk_po_en.rs b/esp32c6/src/lp_clkrst/lp_clk_po_en.rs index 476bfb7825..c69148900c 100644 --- a/esp32c6/src/lp_clkrst/lp_clk_po_en.rs +++ b/esp32c6/src/lp_clkrst/lp_clk_po_en.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn aon_slow_oen(&mut self) -> AON_SLOW_OEN_W { AON_SLOW_OEN_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn aon_fast_oen(&mut self) -> AON_FAST_OEN_W { AON_FAST_OEN_W::new(self, 1) } #[doc = "Bit 2 - need_des"] #[inline(always)] - #[must_use] pub fn sosc_oen(&mut self) -> SOSC_OEN_W { SOSC_OEN_W::new(self, 2) } #[doc = "Bit 3 - need_des"] #[inline(always)] - #[must_use] pub fn fosc_oen(&mut self) -> FOSC_OEN_W { FOSC_OEN_W::new(self, 3) } #[doc = "Bit 4 - need_des"] #[inline(always)] - #[must_use] pub fn osc32k_oen(&mut self) -> OSC32K_OEN_W { OSC32K_OEN_W::new(self, 4) } #[doc = "Bit 5 - need_des"] #[inline(always)] - #[must_use] pub fn xtal32k_oen(&mut self) -> XTAL32K_OEN_W { XTAL32K_OEN_W::new(self, 5) } #[doc = "Bit 6 - need_des"] #[inline(always)] - #[must_use] pub fn core_efuse_oen(&mut self) -> CORE_EFUSE_OEN_W { CORE_EFUSE_OEN_W::new(self, 6) } #[doc = "Bit 7 - need_des"] #[inline(always)] - #[must_use] pub fn slow_oen(&mut self) -> SLOW_OEN_W { SLOW_OEN_W::new(self, 7) } #[doc = "Bit 8 - need_des"] #[inline(always)] - #[must_use] pub fn fast_oen(&mut self) -> FAST_OEN_W { FAST_OEN_W::new(self, 8) } #[doc = "Bit 9 - need_des"] #[inline(always)] - #[must_use] pub fn rng_oen(&mut self) -> RNG_OEN_W { RNG_OEN_W::new(self, 9) } #[doc = "Bit 10 - need_des"] #[inline(always)] - #[must_use] pub fn lpbus_oen(&mut self) -> LPBUS_OEN_W { LPBUS_OEN_W::new(self, 10) } diff --git a/esp32c6/src/lp_clkrst/lp_rst_en.rs b/esp32c6/src/lp_clkrst/lp_rst_en.rs index dbc74460d2..53a13d27d3 100644 --- a/esp32c6/src/lp_clkrst/lp_rst_en.rs +++ b/esp32c6/src/lp_clkrst/lp_rst_en.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn aon_efuse_core_reset_en(&mut self) -> AON_EFUSE_CORE_RESET_EN_W { AON_EFUSE_CORE_RESET_EN_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn lp_timer_reset_en(&mut self) -> LP_TIMER_RESET_EN_W { LP_TIMER_RESET_EN_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_reset_en(&mut self) -> WDT_RESET_EN_W { WDT_RESET_EN_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn ana_peri_reset_en(&mut self) -> ANA_PERI_RESET_EN_W { ANA_PERI_RESET_EN_W::new(self, 31) } diff --git a/esp32c6/src/lp_clkrst/lpmem_force.rs b/esp32c6/src/lp_clkrst/lpmem_force.rs index 3f5f9e6d95..4df9a50d63 100644 --- a/esp32c6/src/lp_clkrst/lpmem_force.rs +++ b/esp32c6/src/lp_clkrst/lpmem_force.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lpmem_clk_force_on(&mut self) -> LPMEM_CLK_FORCE_ON_W { LPMEM_CLK_FORCE_ON_W::new(self, 31) } diff --git a/esp32c6/src/lp_clkrst/lpperi.rs b/esp32c6/src/lp_clkrst/lpperi.rs index 1cb0db37f2..89ba2afa2d 100644 --- a/esp32c6/src/lp_clkrst/lpperi.rs +++ b/esp32c6/src/lp_clkrst/lpperi.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_i2c_clk_sel(&mut self) -> LP_I2C_CLK_SEL_W { LP_I2C_CLK_SEL_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_uart_clk_sel(&mut self) -> LP_UART_CLK_SEL_W { LP_UART_CLK_SEL_W::new(self, 31) } diff --git a/esp32c6/src/lp_clkrst/rc32k_cntl.rs b/esp32c6/src/lp_clkrst/rc32k_cntl.rs index 1ed06a22dc..126ca9cbb9 100644 --- a/esp32c6/src/lp_clkrst/rc32k_cntl.rs +++ b/esp32c6/src/lp_clkrst/rc32k_cntl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 22:31 - need_des"] #[inline(always)] - #[must_use] pub fn rc32k_dfreq(&mut self) -> RC32K_DFREQ_W { RC32K_DFREQ_W::new(self, 22) } diff --git a/esp32c6/src/lp_clkrst/reset_cause.rs b/esp32c6/src/lp_clkrst/reset_cause.rs index 1b8631e065..1dc581a6e8 100644 --- a/esp32c6/src/lp_clkrst/reset_cause.rs +++ b/esp32c6/src/lp_clkrst/reset_cause.rs @@ -36,19 +36,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn core0_reset_cause_clr(&mut self) -> CORE0_RESET_CAUSE_CLR_W { CORE0_RESET_CAUSE_CLR_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn core0_reset_flag_set(&mut self) -> CORE0_RESET_FLAG_SET_W { CORE0_RESET_FLAG_SET_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn core0_reset_flag_clr(&mut self) -> CORE0_RESET_FLAG_CLR_W { CORE0_RESET_FLAG_CLR_W::new(self, 31) } diff --git a/esp32c6/src/lp_clkrst/xtal32k.rs b/esp32c6/src/lp_clkrst/xtal32k.rs index a9535e5edb..9b3e03c2f8 100644 --- a/esp32c6/src/lp_clkrst/xtal32k.rs +++ b/esp32c6/src/lp_clkrst/xtal32k.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 22:24 - need_des"] #[inline(always)] - #[must_use] pub fn dres_xtal32k(&mut self) -> DRES_XTAL32K_W { DRES_XTAL32K_W::new(self, 22) } #[doc = "Bits 25:27 - need_des"] #[inline(always)] - #[must_use] pub fn dgm_xtal32k(&mut self) -> DGM_XTAL32K_W { DGM_XTAL32K_W::new(self, 25) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn dbuf_xtal32k(&mut self) -> DBUF_XTAL32K_W { DBUF_XTAL32K_W::new(self, 28) } #[doc = "Bits 29:31 - need_des"] #[inline(always)] - #[must_use] pub fn dac_xtal32k(&mut self) -> DAC_XTAL32K_W { DAC_XTAL32K_W::new(self, 29) } diff --git a/esp32c6/src/lp_i2c0/clk_conf.rs b/esp32c6/src/lp_i2c0/clk_conf.rs index 70fecdec18..238cb1aafd 100644 --- a/esp32c6/src/lp_i2c0/clk_conf.rs +++ b/esp32c6/src/lp_i2c0/clk_conf.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - the integral part of the fractional divisor for i2c module"] #[inline(always)] - #[must_use] pub fn sclk_div_num(&mut self) -> SCLK_DIV_NUM_W { SCLK_DIV_NUM_W::new(self, 0) } #[doc = "Bits 8:13 - the numerator of the fractional part of the fractional divisor for i2c module"] #[inline(always)] - #[must_use] pub fn sclk_div_a(&mut self) -> SCLK_DIV_A_W { SCLK_DIV_A_W::new(self, 8) } #[doc = "Bits 14:19 - the denominator of the fractional part of the fractional divisor for i2c module"] #[inline(always)] - #[must_use] pub fn sclk_div_b(&mut self) -> SCLK_DIV_B_W { SCLK_DIV_B_W::new(self, 14) } #[doc = "Bit 20 - The clock selection for i2c module:0-XTAL,1-CLK_8MHz."] #[inline(always)] - #[must_use] pub fn sclk_sel(&mut self) -> SCLK_SEL_W { SCLK_SEL_W::new(self, 20) } #[doc = "Bit 21 - The clock switch for i2c module"] #[inline(always)] - #[must_use] pub fn sclk_active(&mut self) -> SCLK_ACTIVE_W { SCLK_ACTIVE_W::new(self, 21) } diff --git a/esp32c6/src/lp_i2c0/comd.rs b/esp32c6/src/lp_i2c0/comd.rs index a041cb10fa..1c61eb6827 100644 --- a/esp32c6/src/lp_i2c0/comd.rs +++ b/esp32c6/src/lp_i2c0/comd.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - This is the content of command 0. It consists of three parts: op_code is the command, 0: RSTART, 1: WRITE, 2: READ, 3: STOP, 4: END. Byte_num represents the number of bytes that need to be sent or received. ack_check_en, ack_exp and ack are used to control the ACK bit. See I2C cmd structure for more Information."] #[inline(always)] - #[must_use] pub fn command(&mut self) -> COMMAND_W { COMMAND_W::new(self, 0) } #[doc = "Bit 31 - When command 0 is done in I2C Master mode, this bit changes to high level."] #[inline(always)] - #[must_use] pub fn command_done(&mut self) -> COMMAND_DONE_W { COMMAND_DONE_W::new(self, 31) } diff --git a/esp32c6/src/lp_i2c0/ctr.rs b/esp32c6/src/lp_i2c0/ctr.rs index 382d04a6b9..e271d128e3 100644 --- a/esp32c6/src/lp_i2c0/ctr.rs +++ b/esp32c6/src/lp_i2c0/ctr.rs @@ -100,67 +100,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: direct output, 0: open drain output."] #[inline(always)] - #[must_use] pub fn sda_force_out(&mut self) -> SDA_FORCE_OUT_W { SDA_FORCE_OUT_W::new(self, 0) } #[doc = "Bit 1 - 1: direct output, 0: open drain output."] #[inline(always)] - #[must_use] pub fn scl_force_out(&mut self) -> SCL_FORCE_OUT_W { SCL_FORCE_OUT_W::new(self, 1) } #[doc = "Bit 2 - This register is used to select the sample mode. 1: sample SDA data on the SCL low level. 0: sample SDA data on the SCL high level."] #[inline(always)] - #[must_use] pub fn sample_scl_level(&mut self) -> SAMPLE_SCL_LEVEL_W { SAMPLE_SCL_LEVEL_W::new(self, 2) } #[doc = "Bit 3 - This register is used to configure the ACK value that need to sent by master when the rx_fifo_cnt has reached the threshold."] #[inline(always)] - #[must_use] pub fn rx_full_ack_level(&mut self) -> RX_FULL_ACK_LEVEL_W { RX_FULL_ACK_LEVEL_W::new(self, 3) } #[doc = "Bit 5 - Set this bit to start sending the data in txfifo."] #[inline(always)] - #[must_use] pub fn trans_start(&mut self) -> TRANS_START_W { TRANS_START_W::new(self, 5) } #[doc = "Bit 6 - This bit is used to control the sending mode for data needing to be sent. 1: send data from the least significant bit, 0: send data from the most significant bit."] #[inline(always)] - #[must_use] pub fn tx_lsb_first(&mut self) -> TX_LSB_FIRST_W { TX_LSB_FIRST_W::new(self, 6) } #[doc = "Bit 7 - This bit is used to control the storage mode for received data. 1: receive data from the least significant bit, 0: receive data from the most significant bit."] #[inline(always)] - #[must_use] pub fn rx_lsb_first(&mut self) -> RX_LSB_FIRST_W { RX_LSB_FIRST_W::new(self, 7) } #[doc = "Bit 8 - Reserved"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 8) } #[doc = "Bit 9 - This is the enable bit for arbitration_lost."] #[inline(always)] - #[must_use] pub fn arbitration_en(&mut self) -> ARBITRATION_EN_W { ARBITRATION_EN_W::new(self, 9) } #[doc = "Bit 10 - This register is used to reset the scl FMS."] #[inline(always)] - #[must_use] pub fn fsm_rst(&mut self) -> FSM_RST_W { FSM_RST_W::new(self, 10) } #[doc = "Bit 11 - synchronization bit"] #[inline(always)] - #[must_use] pub fn conf_upgate(&mut self) -> CONF_UPGATE_W { CONF_UPGATE_W::new(self, 11) } diff --git a/esp32c6/src/lp_i2c0/data.rs b/esp32c6/src/lp_i2c0/data.rs index 7b61d0c9b4..85e1cbdac8 100644 --- a/esp32c6/src/lp_i2c0/data.rs +++ b/esp32c6/src/lp_i2c0/data.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - The value of rx FIFO read data."] #[inline(always)] - #[must_use] pub fn fifo_rdata(&mut self) -> FIFO_RDATA_W { FIFO_RDATA_W::new(self, 0) } diff --git a/esp32c6/src/lp_i2c0/date.rs b/esp32c6/src/lp_i2c0/date.rs index 1c9ad31092..a28324d146 100644 --- a/esp32c6/src/lp_i2c0/date.rs +++ b/esp32c6/src/lp_i2c0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This is the the version register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/lp_i2c0/fifo_conf.rs b/esp32c6/src/lp_i2c0/fifo_conf.rs index 747fd3be14..e640478fdc 100644 --- a/esp32c6/src/lp_i2c0/fifo_conf.rs +++ b/esp32c6/src/lp_i2c0/fifo_conf.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - The water mark threshold of rx FIFO in nonfifo access mode. When reg_reg_fifo_prt_en is 1 and rx FIFO counter is bigger than reg_rxfifo_wm_thrhd\\[3:0\\], reg_rxfifo_wm_int_raw bit will be valid."] #[inline(always)] - #[must_use] pub fn rxfifo_wm_thrhd(&mut self) -> RXFIFO_WM_THRHD_W { RXFIFO_WM_THRHD_W::new(self, 0) } #[doc = "Bits 5:8 - The water mark threshold of tx FIFO in nonfifo access mode. When reg_reg_fifo_prt_en is 1 and tx FIFO counter is smaller than reg_txfifo_wm_thrhd\\[3:0\\], reg_txfifo_wm_int_raw bit will be valid."] #[inline(always)] - #[must_use] pub fn txfifo_wm_thrhd(&mut self) -> TXFIFO_WM_THRHD_W { TXFIFO_WM_THRHD_W::new(self, 5) } #[doc = "Bit 10 - Set this bit to enable APB nonfifo access."] #[inline(always)] - #[must_use] pub fn nonfifo_en(&mut self) -> NONFIFO_EN_W { NONFIFO_EN_W::new(self, 10) } #[doc = "Bit 12 - Set this bit to reset rx-fifo."] #[inline(always)] - #[must_use] pub fn rx_fifo_rst(&mut self) -> RX_FIFO_RST_W { RX_FIFO_RST_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to reset tx-fifo."] #[inline(always)] - #[must_use] pub fn tx_fifo_rst(&mut self) -> TX_FIFO_RST_W { TX_FIFO_RST_W::new(self, 13) } #[doc = "Bit 14 - The control enable bit of FIFO pointer in non-fifo access mode. This bit controls the valid bits and the interrupts of tx/rx_fifo overflow, underflow, full and empty."] #[inline(always)] - #[must_use] pub fn fifo_prt_en(&mut self) -> FIFO_PRT_EN_W { FIFO_PRT_EN_W::new(self, 14) } diff --git a/esp32c6/src/lp_i2c0/filter_cfg.rs b/esp32c6/src/lp_i2c0/filter_cfg.rs index bfac5394cd..03c1bda7ac 100644 --- a/esp32c6/src/lp_i2c0/filter_cfg.rs +++ b/esp32c6/src/lp_i2c0/filter_cfg.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - When a pulse on the SCL input has smaller width than this register value in I2C module clock cycles, the I2C controller will ignore that pulse."] #[inline(always)] - #[must_use] pub fn scl_filter_thres(&mut self) -> SCL_FILTER_THRES_W { SCL_FILTER_THRES_W::new(self, 0) } #[doc = "Bits 4:7 - When a pulse on the SDA input has smaller width than this register value in I2C module clock cycles, the I2C controller will ignore that pulse."] #[inline(always)] - #[must_use] pub fn sda_filter_thres(&mut self) -> SDA_FILTER_THRES_W { SDA_FILTER_THRES_W::new(self, 4) } #[doc = "Bit 8 - This is the filter enable bit for SCL."] #[inline(always)] - #[must_use] pub fn scl_filter_en(&mut self) -> SCL_FILTER_EN_W { SCL_FILTER_EN_W::new(self, 8) } #[doc = "Bit 9 - This is the filter enable bit for SDA."] #[inline(always)] - #[must_use] pub fn sda_filter_en(&mut self) -> SDA_FILTER_EN_W { SDA_FILTER_EN_W::new(self, 9) } diff --git a/esp32c6/src/lp_i2c0/int_clr.rs b/esp32c6/src/lp_i2c0/int_clr.rs index 7d6d61bb24..4e3248f6db 100644 --- a/esp32c6/src/lp_i2c0/int_clr.rs +++ b/esp32c6/src/lp_i2c0/int_clr.rs @@ -41,97 +41,81 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear I2C_RXFIFO_WM_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_wm(&mut self) -> RXFIFO_WM_W { RXFIFO_WM_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear I2C_TXFIFO_WM_INT interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_wm(&mut self) -> TXFIFO_WM_W { TXFIFO_WM_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear I2C_RXFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the I2C_END_DETECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn end_detect(&mut self) -> END_DETECT_W { END_DETECT_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear the I2C_END_DETECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn byte_trans_done(&mut self) -> BYTE_TRANS_DONE_W { BYTE_TRANS_DONE_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the I2C_ARBITRATION_LOST_INT interrupt."] #[inline(always)] - #[must_use] pub fn arbitration_lost(&mut self) -> ARBITRATION_LOST_W { ARBITRATION_LOST_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear I2C_TRANS_COMPLETE_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_txfifo_udf(&mut self) -> MST_TXFIFO_UDF_W { MST_TXFIFO_UDF_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the I2C_TRANS_COMPLETE_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_complete(&mut self) -> TRANS_COMPLETE_W { TRANS_COMPLETE_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the I2C_TIME_OUT_INT interrupt."] #[inline(always)] - #[must_use] pub fn time_out(&mut self) -> TIME_OUT_W { TIME_OUT_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear the I2C_TRANS_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_start(&mut self) -> TRANS_START_W { TRANS_START_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to clear I2C_SLAVE_STRETCH_INT interrupt."] #[inline(always)] - #[must_use] pub fn nack(&mut self) -> NACK_W { NACK_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear I2C_TXFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_ovf(&mut self) -> TXFIFO_OVF_W { TXFIFO_OVF_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to clear I2C_RXFIFO_UDF_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_udf(&mut self) -> RXFIFO_UDF_W { RXFIFO_UDF_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to clear I2C_SCL_ST_TO_INT interrupt."] #[inline(always)] - #[must_use] pub fn scl_st_to(&mut self) -> SCL_ST_TO_W { SCL_ST_TO_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to clear I2C_SCL_MAIN_ST_TO_INT interrupt."] #[inline(always)] - #[must_use] pub fn scl_main_st_to(&mut self) -> SCL_MAIN_ST_TO_W { SCL_MAIN_ST_TO_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to clear I2C_DET_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn det_start(&mut self) -> DET_START_W { DET_START_W::new(self, 15) } diff --git a/esp32c6/src/lp_i2c0/int_ena.rs b/esp32c6/src/lp_i2c0/int_ena.rs index 07fb2fa5ea..a5e107d5a1 100644 --- a/esp32c6/src/lp_i2c0/int_ena.rs +++ b/esp32c6/src/lp_i2c0/int_ena.rs @@ -174,97 +174,81 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for I2C_RXFIFO_WM_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_wm(&mut self) -> RXFIFO_WM_W { RXFIFO_WM_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for I2C_TXFIFO_WM_INT interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_wm(&mut self) -> TXFIFO_WM_W { TXFIFO_WM_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for I2C_RXFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the I2C_END_DETECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn end_detect(&mut self) -> END_DETECT_W { END_DETECT_W::new(self, 3) } #[doc = "Bit 4 - The interrupt enable bit for the I2C_END_DETECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn byte_trans_done(&mut self) -> BYTE_TRANS_DONE_W { BYTE_TRANS_DONE_W::new(self, 4) } #[doc = "Bit 5 - The interrupt enable bit for the I2C_ARBITRATION_LOST_INT interrupt."] #[inline(always)] - #[must_use] pub fn arbitration_lost(&mut self) -> ARBITRATION_LOST_W { ARBITRATION_LOST_W::new(self, 5) } #[doc = "Bit 6 - The interrupt enable bit for I2C_TRANS_COMPLETE_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_txfifo_udf(&mut self) -> MST_TXFIFO_UDF_W { MST_TXFIFO_UDF_W::new(self, 6) } #[doc = "Bit 7 - The interrupt enable bit for the I2C_TRANS_COMPLETE_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_complete(&mut self) -> TRANS_COMPLETE_W { TRANS_COMPLETE_W::new(self, 7) } #[doc = "Bit 8 - The interrupt enable bit for the I2C_TIME_OUT_INT interrupt."] #[inline(always)] - #[must_use] pub fn time_out(&mut self) -> TIME_OUT_W { TIME_OUT_W::new(self, 8) } #[doc = "Bit 9 - The interrupt enable bit for the I2C_TRANS_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_start(&mut self) -> TRANS_START_W { TRANS_START_W::new(self, 9) } #[doc = "Bit 10 - The interrupt enable bit for I2C_SLAVE_STRETCH_INT interrupt."] #[inline(always)] - #[must_use] pub fn nack(&mut self) -> NACK_W { NACK_W::new(self, 10) } #[doc = "Bit 11 - The interrupt enable bit for I2C_TXFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_ovf(&mut self) -> TXFIFO_OVF_W { TXFIFO_OVF_W::new(self, 11) } #[doc = "Bit 12 - The interrupt enable bit for I2C_RXFIFO_UDF_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_udf(&mut self) -> RXFIFO_UDF_W { RXFIFO_UDF_W::new(self, 12) } #[doc = "Bit 13 - The interrupt enable bit for I2C_SCL_ST_TO_INT interrupt."] #[inline(always)] - #[must_use] pub fn scl_st_to(&mut self) -> SCL_ST_TO_W { SCL_ST_TO_W::new(self, 13) } #[doc = "Bit 14 - The interrupt enable bit for I2C_SCL_MAIN_ST_TO_INT interrupt."] #[inline(always)] - #[must_use] pub fn scl_main_st_to(&mut self) -> SCL_MAIN_ST_TO_W { SCL_MAIN_ST_TO_W::new(self, 14) } #[doc = "Bit 15 - The interrupt enable bit for I2C_DET_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn det_start(&mut self) -> DET_START_W { DET_START_W::new(self, 15) } diff --git a/esp32c6/src/lp_i2c0/scl_high_period.rs b/esp32c6/src/lp_i2c0/scl_high_period.rs index 1153c0e728..2cfa658d0a 100644 --- a/esp32c6/src/lp_i2c0/scl_high_period.rs +++ b/esp32c6/src/lp_i2c0/scl_high_period.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure for how long SCL setup to high level and remains high in master mode, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn scl_high_period(&mut self) -> SCL_HIGH_PERIOD_W { SCL_HIGH_PERIOD_W::new(self, 0) } #[doc = "Bits 9:15 - This register is used to configure for the SCL_FSM's waiting period for SCL high level in master mode, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn scl_wait_high_period(&mut self) -> SCL_WAIT_HIGH_PERIOD_W { SCL_WAIT_HIGH_PERIOD_W::new(self, 9) } diff --git a/esp32c6/src/lp_i2c0/scl_low_period.rs b/esp32c6/src/lp_i2c0/scl_low_period.rs index f8d802b480..9874b6f962 100644 --- a/esp32c6/src/lp_i2c0/scl_low_period.rs +++ b/esp32c6/src/lp_i2c0/scl_low_period.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure for how long SCL remains low in master mode, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn scl_low_period(&mut self) -> SCL_LOW_PERIOD_W { SCL_LOW_PERIOD_W::new(self, 0) } diff --git a/esp32c6/src/lp_i2c0/scl_main_st_time_out.rs b/esp32c6/src/lp_i2c0/scl_main_st_time_out.rs index 4b94a84d01..c96787154f 100644 --- a/esp32c6/src/lp_i2c0/scl_main_st_time_out.rs +++ b/esp32c6/src/lp_i2c0/scl_main_st_time_out.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - The threshold value of SCL_MAIN_FSM state unchanged period.nIt should be o more than 23"] #[inline(always)] - #[must_use] pub fn scl_main_st_to_i2c(&mut self) -> SCL_MAIN_ST_TO_I2C_W { SCL_MAIN_ST_TO_I2C_W::new(self, 0) } diff --git a/esp32c6/src/lp_i2c0/scl_rstart_setup.rs b/esp32c6/src/lp_i2c0/scl_rstart_setup.rs index c1a7053eec..203436a57b 100644 --- a/esp32c6/src/lp_i2c0/scl_rstart_setup.rs +++ b/esp32c6/src/lp_i2c0/scl_rstart_setup.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure the time between the positive edge of SCL and the negative edge of SDA for a RESTART condition, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32c6/src/lp_i2c0/scl_sp_conf.rs b/esp32c6/src/lp_i2c0/scl_sp_conf.rs index ed2452044b..dbc65b04e9 100644 --- a/esp32c6/src/lp_i2c0/scl_sp_conf.rs +++ b/esp32c6/src/lp_i2c0/scl_sp_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - When I2C master is IDLE, set this bit to send out SCL pulses. The number of pulses equals to reg_scl_rst_slv_num\\[4:0\\]."] #[inline(always)] - #[must_use] pub fn scl_rst_slv_en(&mut self) -> SCL_RST_SLV_EN_W { SCL_RST_SLV_EN_W::new(self, 0) } #[doc = "Bits 1:5 - Configure the pulses of SCL generated in I2C master mode. Valid when reg_scl_rst_slv_en is 1."] #[inline(always)] - #[must_use] pub fn scl_rst_slv_num(&mut self) -> SCL_RST_SLV_NUM_W { SCL_RST_SLV_NUM_W::new(self, 1) } #[doc = "Bit 6 - The power down enable bit for the I2C output SCL line. 1: Power down. 0: Not power down. Set reg_scl_force_out and reg_scl_pd_en to 1 to stretch SCL low."] #[inline(always)] - #[must_use] pub fn scl_pd_en(&mut self) -> SCL_PD_EN_W { SCL_PD_EN_W::new(self, 6) } #[doc = "Bit 7 - The power down enable bit for the I2C output SDA line. 1: Power down. 0: Not power down. Set reg_sda_force_out and reg_sda_pd_en to 1 to stretch SDA low."] #[inline(always)] - #[must_use] pub fn sda_pd_en(&mut self) -> SDA_PD_EN_W { SDA_PD_EN_W::new(self, 7) } diff --git a/esp32c6/src/lp_i2c0/scl_st_time_out.rs b/esp32c6/src/lp_i2c0/scl_st_time_out.rs index 5d5bb0cdf0..2c4ef3d12d 100644 --- a/esp32c6/src/lp_i2c0/scl_st_time_out.rs +++ b/esp32c6/src/lp_i2c0/scl_st_time_out.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - The threshold value of SCL_FSM state unchanged period. It should be o more than 23"] #[inline(always)] - #[must_use] pub fn scl_st_to_i2c(&mut self) -> SCL_ST_TO_I2C_W { SCL_ST_TO_I2C_W::new(self, 0) } diff --git a/esp32c6/src/lp_i2c0/scl_start_hold.rs b/esp32c6/src/lp_i2c0/scl_start_hold.rs index 9c5229f113..efdfbc194d 100644 --- a/esp32c6/src/lp_i2c0/scl_start_hold.rs +++ b/esp32c6/src/lp_i2c0/scl_start_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure the time between the negative edge of SDA and the negative edge of SCL for a START condition, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32c6/src/lp_i2c0/scl_stop_hold.rs b/esp32c6/src/lp_i2c0/scl_stop_hold.rs index da01c0553d..df2ba1ff1a 100644 --- a/esp32c6/src/lp_i2c0/scl_stop_hold.rs +++ b/esp32c6/src/lp_i2c0/scl_stop_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure the delay after the STOP condition, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32c6/src/lp_i2c0/scl_stop_setup.rs b/esp32c6/src/lp_i2c0/scl_stop_setup.rs index cfa05ff67e..d1db579730 100644 --- a/esp32c6/src/lp_i2c0/scl_stop_setup.rs +++ b/esp32c6/src/lp_i2c0/scl_stop_setup.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure the time between the positive edge of SCL and the positive edge of SDA, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32c6/src/lp_i2c0/sda_hold.rs b/esp32c6/src/lp_i2c0/sda_hold.rs index a0d78acbb9..4a67e2222b 100644 --- a/esp32c6/src/lp_i2c0/sda_hold.rs +++ b/esp32c6/src/lp_i2c0/sda_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure the time to hold the data after the negative edge of SCL, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32c6/src/lp_i2c0/sda_sample.rs b/esp32c6/src/lp_i2c0/sda_sample.rs index b03e34e366..b211168b11 100644 --- a/esp32c6/src/lp_i2c0/sda_sample.rs +++ b/esp32c6/src/lp_i2c0/sda_sample.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure for how long SDA is sampled, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32c6/src/lp_i2c0/to.rs b/esp32c6/src/lp_i2c0/to.rs index 9b92f1f93a..aa23944258 100644 --- a/esp32c6/src/lp_i2c0/to.rs +++ b/esp32c6/src/lp_i2c0/to.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to configure the timeout for receiving a data bit in APB clock cycles."] #[inline(always)] - #[must_use] pub fn time_out_value(&mut self) -> TIME_OUT_VALUE_W { TIME_OUT_VALUE_W::new(self, 0) } #[doc = "Bit 5 - This is the enable bit for time out control."] #[inline(always)] - #[must_use] pub fn time_out_en(&mut self) -> TIME_OUT_EN_W { TIME_OUT_EN_W::new(self, 5) } diff --git a/esp32c6/src/lp_i2c_ana_mst/ana_conf1.rs b/esp32c6/src/lp_i2c_ana_mst/ana_conf1.rs index 61c0f862b2..6ec70cb556 100644 --- a/esp32c6/src/lp_i2c_ana_mst/ana_conf1.rs +++ b/esp32c6/src/lp_i2c_ana_mst/ana_conf1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - need_des"] #[inline(always)] - #[must_use] pub fn lp_i2c_ana_mast_ana_conf1(&mut self) -> LP_I2C_ANA_MAST_ANA_CONF1_W { LP_I2C_ANA_MAST_ANA_CONF1_W::new(self, 0) } diff --git a/esp32c6/src/lp_i2c_ana_mst/date.rs b/esp32c6/src/lp_i2c_ana_mst/date.rs index 6a74a23b07..8623bd90fa 100644 --- a/esp32c6/src/lp_i2c_ana_mst/date.rs +++ b/esp32c6/src/lp_i2c_ana_mst/date.rs @@ -40,13 +40,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - need_des"] #[inline(always)] - #[must_use] pub fn lp_i2c_ana_mast_i2c_mat_date(&mut self) -> LP_I2C_ANA_MAST_I2C_MAT_DATE_W { LP_I2C_ANA_MAST_I2C_MAT_DATE_W::new(self, 0) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn lp_i2c_ana_mast_i2c_mat_clk_en( &mut self, ) -> LP_I2C_ANA_MAST_I2C_MAT_CLK_EN_W { diff --git a/esp32c6/src/lp_i2c_ana_mst/device_en.rs b/esp32c6/src/lp_i2c_ana_mst/device_en.rs index 2f44e3a520..4d211ffe1b 100644 --- a/esp32c6/src/lp_i2c_ana_mst/device_en.rs +++ b/esp32c6/src/lp_i2c_ana_mst/device_en.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - need_des"] #[inline(always)] - #[must_use] pub fn lp_i2c_ana_mast_i2c_device_en( &mut self, ) -> LP_I2C_ANA_MAST_I2C_DEVICE_EN_W { diff --git a/esp32c6/src/lp_i2c_ana_mst/i2c0_conf.rs b/esp32c6/src/lp_i2c_ana_mst/i2c0_conf.rs index e517aad966..73737c5aee 100644 --- a/esp32c6/src/lp_i2c_ana_mst/i2c0_conf.rs +++ b/esp32c6/src/lp_i2c_ana_mst/i2c0_conf.rs @@ -38,7 +38,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - need_des"] #[inline(always)] - #[must_use] pub fn lp_i2c_ana_mast_i2c0_conf(&mut self) -> LP_I2C_ANA_MAST_I2C0_CONF_W { LP_I2C_ANA_MAST_I2C0_CONF_W::new(self, 0) } diff --git a/esp32c6/src/lp_i2c_ana_mst/i2c0_ctrl.rs b/esp32c6/src/lp_i2c_ana_mst/i2c0_ctrl.rs index c0e4aeb5cf..fe4661af8f 100644 --- a/esp32c6/src/lp_i2c_ana_mst/i2c0_ctrl.rs +++ b/esp32c6/src/lp_i2c_ana_mst/i2c0_ctrl.rs @@ -38,7 +38,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:24 - need_des"] #[inline(always)] - #[must_use] pub fn lp_i2c_ana_mast_i2c0_ctrl(&mut self) -> LP_I2C_ANA_MAST_I2C0_CTRL_W { LP_I2C_ANA_MAST_I2C0_CTRL_W::new(self, 0) } diff --git a/esp32c6/src/lp_i2c_ana_mst/i2c0_data.rs b/esp32c6/src/lp_i2c_ana_mst/i2c0_data.rs index f321a87119..067657fc06 100644 --- a/esp32c6/src/lp_i2c_ana_mst/i2c0_data.rs +++ b/esp32c6/src/lp_i2c_ana_mst/i2c0_data.rs @@ -51,7 +51,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 8:10 - need_des"] #[inline(always)] - #[must_use] pub fn lp_i2c_ana_mast_i2c0_clk_sel( &mut self, ) -> LP_I2C_ANA_MAST_I2C0_CLK_SEL_W { @@ -59,7 +58,6 @@ impl W { } #[doc = "Bit 11 - need des"] #[inline(always)] - #[must_use] pub fn lp_i2c_ana_mast_i2c_mst_sel(&mut self) -> LP_I2C_ANA_MAST_I2C_MST_SEL_W { LP_I2C_ANA_MAST_I2C_MST_SEL_W::new(self, 11) } diff --git a/esp32c6/src/lp_i2c_ana_mst/nouse.rs b/esp32c6/src/lp_i2c_ana_mst/nouse.rs index 9252867f63..2ba602a1ce 100644 --- a/esp32c6/src/lp_i2c_ana_mst/nouse.rs +++ b/esp32c6/src/lp_i2c_ana_mst/nouse.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_i2c_ana_mast_i2c_mst_nouse(&mut self) -> LP_I2C_ANA_MAST_I2C_MST_NOUSE_W { LP_I2C_ANA_MAST_I2C_MST_NOUSE_W::new(self, 0) } diff --git a/esp32c6/src/lp_io/date.rs b/esp32c6/src/lp_io/date.rs index b7040f63da..2c1e0f720e 100644 --- a/esp32c6/src/lp_io/date.rs +++ b/esp32c6/src/lp_io/date.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - need des"] #[inline(always)] - #[must_use] pub fn lp_io_date(&mut self) -> LP_IO_DATE_W { LP_IO_DATE_W::new(self, 0) } #[doc = "Bit 31 - need des"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32c6/src/lp_io/debug_sel0.rs b/esp32c6/src/lp_io/debug_sel0.rs index a827fa1c37..78cfea5fec 100644 --- a/esp32c6/src/lp_io/debug_sel0.rs +++ b/esp32c6/src/lp_io/debug_sel0.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - need des"] #[inline(always)] - #[must_use] pub fn lp_debug_sel0(&mut self) -> LP_DEBUG_SEL0_W { LP_DEBUG_SEL0_W::new(self, 0) } #[doc = "Bits 7:13 - need des"] #[inline(always)] - #[must_use] pub fn lp_debug_sel1(&mut self) -> LP_DEBUG_SEL1_W { LP_DEBUG_SEL1_W::new(self, 7) } #[doc = "Bits 14:20 - need des"] #[inline(always)] - #[must_use] pub fn lp_debug_sel2(&mut self) -> LP_DEBUG_SEL2_W { LP_DEBUG_SEL2_W::new(self, 14) } #[doc = "Bits 21:27 - need des"] #[inline(always)] - #[must_use] pub fn lp_debug_sel3(&mut self) -> LP_DEBUG_SEL3_W { LP_DEBUG_SEL3_W::new(self, 21) } diff --git a/esp32c6/src/lp_io/debug_sel1.rs b/esp32c6/src/lp_io/debug_sel1.rs index 989cb701a8..594fc8edbd 100644 --- a/esp32c6/src/lp_io/debug_sel1.rs +++ b/esp32c6/src/lp_io/debug_sel1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - need des"] #[inline(always)] - #[must_use] pub fn lp_debug_sel4(&mut self) -> LP_DEBUG_SEL4_W { LP_DEBUG_SEL4_W::new(self, 0) } diff --git a/esp32c6/src/lp_io/gpio.rs b/esp32c6/src/lp_io/gpio.rs index 3fc316e7f6..27d16e2096 100644 --- a/esp32c6/src/lp_io/gpio.rs +++ b/esp32c6/src/lp_io/gpio.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need des"] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - need des"] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - need des"] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - need des"] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - need des"] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - need des"] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - need des"] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - need des"] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - need des"] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - need des"] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - need des"] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } diff --git a/esp32c6/src/lp_io/lpi2c.rs b/esp32c6/src/lp_io/lpi2c.rs index 317df5ab29..25e431a230 100644 --- a/esp32c6/src/lp_io/lpi2c.rs +++ b/esp32c6/src/lp_io/lpi2c.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - need des"] #[inline(always)] - #[must_use] pub fn lp_i2c_sda_ie(&mut self) -> LP_I2C_SDA_IE_W { LP_I2C_SDA_IE_W::new(self, 30) } #[doc = "Bit 31 - need des"] #[inline(always)] - #[must_use] pub fn lp_i2c_scl_ie(&mut self) -> LP_I2C_SCL_IE_W { LP_I2C_SCL_IE_W::new(self, 31) } diff --git a/esp32c6/src/lp_io/out_data.rs b/esp32c6/src/lp_io/out_data.rs index 2bf7132239..66434ebb67 100644 --- a/esp32c6/src/lp_io/out_data.rs +++ b/esp32c6/src/lp_io/out_data.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - set lp gpio output data"] #[inline(always)] - #[must_use] pub fn out_data(&mut self) -> OUT_DATA_W { OUT_DATA_W::new(self, 0) } diff --git a/esp32c6/src/lp_io/out_data_w1tc.rs b/esp32c6/src/lp_io/out_data_w1tc.rs index 1efea505db..3d8238ceb0 100644 --- a/esp32c6/src/lp_io/out_data_w1tc.rs +++ b/esp32c6/src/lp_io/out_data_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:7 - clear one time output data"] #[inline(always)] - #[must_use] pub fn out_data_w1tc(&mut self) -> OUT_DATA_W1TC_W { OUT_DATA_W1TC_W::new(self, 0) } diff --git a/esp32c6/src/lp_io/out_data_w1ts.rs b/esp32c6/src/lp_io/out_data_w1ts.rs index e82f5506ed..0743268619 100644 --- a/esp32c6/src/lp_io/out_data_w1ts.rs +++ b/esp32c6/src/lp_io/out_data_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:7 - set one time output data"] #[inline(always)] - #[must_use] pub fn out_data_w1ts(&mut self) -> OUT_DATA_W1TS_W { OUT_DATA_W1TS_W::new(self, 0) } diff --git a/esp32c6/src/lp_io/out_enable.rs b/esp32c6/src/lp_io/out_enable.rs index 9c93886b34..baa0046482 100644 --- a/esp32c6/src/lp_io/out_enable.rs +++ b/esp32c6/src/lp_io/out_enable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - set lp gpio output data"] #[inline(always)] - #[must_use] pub fn enable(&mut self) -> ENABLE_W { ENABLE_W::new(self, 0) } diff --git a/esp32c6/src/lp_io/out_enable_w1tc.rs b/esp32c6/src/lp_io/out_enable_w1tc.rs index fe6aa6fd1a..35334732b6 100644 --- a/esp32c6/src/lp_io/out_enable_w1tc.rs +++ b/esp32c6/src/lp_io/out_enable_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:7 - clear one time output data"] #[inline(always)] - #[must_use] pub fn enable_w1tc(&mut self) -> ENABLE_W1TC_W { ENABLE_W1TC_W::new(self, 0) } diff --git a/esp32c6/src/lp_io/out_enable_w1ts.rs b/esp32c6/src/lp_io/out_enable_w1ts.rs index 160fabf6be..8521698e6b 100644 --- a/esp32c6/src/lp_io/out_enable_w1ts.rs +++ b/esp32c6/src/lp_io/out_enable_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:7 - set one time output data"] #[inline(always)] - #[must_use] pub fn enable_w1ts(&mut self) -> ENABLE_W1TS_W { ENABLE_W1TS_W::new(self, 0) } diff --git a/esp32c6/src/lp_io/pin.rs b/esp32c6/src/lp_io/pin.rs index d2da3b4af9..de3578f770 100644 --- a/esp32c6/src/lp_io/pin.rs +++ b/esp32c6/src/lp_io/pin.rs @@ -66,37 +66,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - need des"] #[inline(always)] - #[must_use] pub fn sync_bypass(&mut self) -> SYNC_BYPASS_W { SYNC_BYPASS_W::new(self, 0) } #[doc = "Bit 2 - need des"] #[inline(always)] - #[must_use] pub fn pad_driver(&mut self) -> PAD_DRIVER_W { PAD_DRIVER_W::new(self, 2) } #[doc = "Bit 3 - need des"] #[inline(always)] - #[must_use] pub fn edge_wakeup_clr(&mut self) -> EDGE_WAKEUP_CLR_W { EDGE_WAKEUP_CLR_W::new(self, 3) } #[doc = "Bits 7:9 - need des"] #[inline(always)] - #[must_use] pub fn int_type(&mut self) -> INT_TYPE_W { INT_TYPE_W::new(self, 7) } #[doc = "Bit 10 - need des"] #[inline(always)] - #[must_use] pub fn wakeup_enable(&mut self) -> WAKEUP_ENABLE_W { WAKEUP_ENABLE_W::new(self, 10) } #[doc = "Bit 11 - need des"] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 11) } diff --git a/esp32c6/src/lp_io/status.rs b/esp32c6/src/lp_io/status.rs index 972151c2ce..76fb5db454 100644 --- a/esp32c6/src/lp_io/status.rs +++ b/esp32c6/src/lp_io/status.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - set lp gpio output data"] #[inline(always)] - #[must_use] pub fn interrupt(&mut self) -> INTERRUPT_W { INTERRUPT_W::new(self, 0) } diff --git a/esp32c6/src/lp_io/status_w1tc.rs b/esp32c6/src/lp_io/status_w1tc.rs index 95df854d26..2723988f14 100644 --- a/esp32c6/src/lp_io/status_w1tc.rs +++ b/esp32c6/src/lp_io/status_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:7 - clear one time output data"] #[inline(always)] - #[must_use] pub fn status_w1tc(&mut self) -> STATUS_W1TC_W { STATUS_W1TC_W::new(self, 0) } diff --git a/esp32c6/src/lp_io/status_w1ts.rs b/esp32c6/src/lp_io/status_w1ts.rs index 57e8018eb6..723ea3cc5e 100644 --- a/esp32c6/src/lp_io/status_w1ts.rs +++ b/esp32c6/src/lp_io/status_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:7 - set one time output data"] #[inline(always)] - #[must_use] pub fn status_w1ts(&mut self) -> STATUS_W1TS_W { STATUS_W1TS_W::new(self, 0) } diff --git a/esp32c6/src/lp_peri/bus_timeout.rs b/esp32c6/src/lp_peri/bus_timeout.rs index 79ff1d16dc..89e932dd29 100644 --- a/esp32c6/src/lp_peri/bus_timeout.rs +++ b/esp32c6/src/lp_peri/bus_timeout.rs @@ -39,19 +39,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 14:29 - need_des"] #[inline(always)] - #[must_use] pub fn lp_peri_timeout_thres(&mut self) -> LP_PERI_TIMEOUT_THRES_W { LP_PERI_TIMEOUT_THRES_W::new(self, 14) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_peri_timeout_int_clear(&mut self) -> LP_PERI_TIMEOUT_INT_CLEAR_W { LP_PERI_TIMEOUT_INT_CLEAR_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_peri_timeout_protect_en(&mut self) -> LP_PERI_TIMEOUT_PROTECT_EN_W { LP_PERI_TIMEOUT_PROTECT_EN_W::new(self, 31) } diff --git a/esp32c6/src/lp_peri/clk_en.rs b/esp32c6/src/lp_peri/clk_en.rs index 01835da1d6..42f9971ee6 100644 --- a/esp32c6/src/lp_peri/clk_en.rs +++ b/esp32c6/src/lp_peri/clk_en.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 23 - need_des"] #[inline(always)] - #[must_use] pub fn lp_touch_ck_en(&mut self) -> LP_TOUCH_CK_EN_W { LP_TOUCH_CK_EN_W::new(self, 23) } #[doc = "Bit 24 - need_des"] #[inline(always)] - #[must_use] pub fn rng_ck_en(&mut self) -> RNG_CK_EN_W { RNG_CK_EN_W::new(self, 24) } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn otp_dbg_ck_en(&mut self) -> OTP_DBG_CK_EN_W { OTP_DBG_CK_EN_W::new(self, 25) } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn lp_uart_ck_en(&mut self) -> LP_UART_CK_EN_W { LP_UART_CK_EN_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn lp_io_ck_en(&mut self) -> LP_IO_CK_EN_W { LP_IO_CK_EN_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn lp_ext_i2c_ck_en(&mut self) -> LP_EXT_I2C_CK_EN_W { LP_EXT_I2C_CK_EN_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn lp_ana_i2c_ck_en(&mut self) -> LP_ANA_I2C_CK_EN_W { LP_ANA_I2C_CK_EN_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn efuse_ck_en(&mut self) -> EFUSE_CK_EN_W { EFUSE_CK_EN_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_ck_en(&mut self) -> LP_CPU_CK_EN_W { LP_CPU_CK_EN_W::new(self, 31) } diff --git a/esp32c6/src/lp_peri/cpu.rs b/esp32c6/src/lp_peri/cpu.rs index e995eef98e..bd16a0dee8 100644 --- a/esp32c6/src/lp_peri/cpu.rs +++ b/esp32c6/src/lp_peri/cpu.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lpcore_dbgm_unavaliable(&mut self) -> LPCORE_DBGM_UNAVALIABLE_W { LPCORE_DBGM_UNAVALIABLE_W::new(self, 31) } diff --git a/esp32c6/src/lp_peri/date.rs b/esp32c6/src/lp_peri/date.rs index 8a620eff45..d0ae23250b 100644 --- a/esp32c6/src/lp_peri/date.rs +++ b/esp32c6/src/lp_peri/date.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - need_des"] #[inline(always)] - #[must_use] pub fn lpperi_date(&mut self) -> LPPERI_DATE_W { LPPERI_DATE_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32c6/src/lp_peri/mem_ctrl.rs b/esp32c6/src/lp_peri/mem_ctrl.rs index bb328a67ef..d99e81fbe2 100644 --- a/esp32c6/src/lp_peri/mem_ctrl.rs +++ b/esp32c6/src/lp_peri/mem_ctrl.rs @@ -56,31 +56,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn uart_wakeup_flag_clr(&mut self) -> UART_WAKEUP_FLAG_CLR_W { UART_WAKEUP_FLAG_CLR_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn uart_wakeup_flag(&mut self) -> UART_WAKEUP_FLAG_W { UART_WAKEUP_FLAG_W::new(self, 1) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn uart_wakeup_en(&mut self) -> UART_WAKEUP_EN_W { UART_WAKEUP_EN_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn uart_mem_force_pd(&mut self) -> UART_MEM_FORCE_PD_W { UART_MEM_FORCE_PD_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn uart_mem_force_pu(&mut self) -> UART_MEM_FORCE_PU_W { UART_MEM_FORCE_PU_W::new(self, 31) } diff --git a/esp32c6/src/lp_peri/reset_en.rs b/esp32c6/src/lp_peri/reset_en.rs index 8fba7d89fd..6c7173c198 100644 --- a/esp32c6/src/lp_peri/reset_en.rs +++ b/esp32c6/src/lp_peri/reset_en.rs @@ -88,55 +88,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 23 - need_des"] #[inline(always)] - #[must_use] pub fn bus_reset_en(&mut self) -> BUS_RESET_EN_W { BUS_RESET_EN_W::new(self, 23) } #[doc = "Bit 24 - need_des"] #[inline(always)] - #[must_use] pub fn lp_touch_reset_en(&mut self) -> LP_TOUCH_RESET_EN_W { LP_TOUCH_RESET_EN_W::new(self, 24) } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn otp_dbg_reset_en(&mut self) -> OTP_DBG_RESET_EN_W { OTP_DBG_RESET_EN_W::new(self, 25) } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn lp_uart_reset_en(&mut self) -> LP_UART_RESET_EN_W { LP_UART_RESET_EN_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn lp_io_reset_en(&mut self) -> LP_IO_RESET_EN_W { LP_IO_RESET_EN_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn lp_ext_i2c_reset_en(&mut self) -> LP_EXT_I2C_RESET_EN_W { LP_EXT_I2C_RESET_EN_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn lp_ana_i2c_reset_en(&mut self) -> LP_ANA_I2C_RESET_EN_W { LP_ANA_I2C_RESET_EN_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn efuse_reset_en(&mut self) -> EFUSE_RESET_EN_W { EFUSE_RESET_EN_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_reset_en(&mut self) -> LP_CPU_RESET_EN_W { LP_CPU_RESET_EN_W::new(self, 31) } diff --git a/esp32c6/src/lp_tee/clock_gate.rs b/esp32c6/src/lp_tee/clock_gate.rs index 32b396e342..e8e2e74471 100644 --- a/esp32c6/src/lp_tee/clock_gate.rs +++ b/esp32c6/src/lp_tee/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_clk_en"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32c6/src/lp_tee/date.rs b/esp32c6/src/lp_tee/date.rs index df6edf13b3..2254ad3c3b 100644 --- a/esp32c6/src/lp_tee/date.rs +++ b/esp32c6/src/lp_tee/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - reg_tee_date"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/lp_tee/force_acc_hp.rs b/esp32c6/src/lp_tee/force_acc_hp.rs index d49eecde8e..896e991db0 100644 --- a/esp32c6/src/lp_tee/force_acc_hp.rs +++ b/esp32c6/src/lp_tee/force_acc_hp.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aon_force_acc_hpmem_en(&mut self) -> LP_AON_FORCE_ACC_HPMEM_EN_W { LP_AON_FORCE_ACC_HPMEM_EN_W::new(self, 0) } diff --git a/esp32c6/src/lp_tee/m_mode_ctrl.rs b/esp32c6/src/lp_tee/m_mode_ctrl.rs index ca564cef2d..00f64ff0d0 100644 --- a/esp32c6/src/lp_tee/m_mode_ctrl.rs +++ b/esp32c6/src/lp_tee/m_mode_ctrl.rs @@ -107,7 +107,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - M0 security level mode: 2'd3: ree_mode2. 2'd2: ree_mode1. 2'd1: ree_mode0. 2'd0: tee_mode"] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 0) } diff --git a/esp32c6/src/lp_timer/date.rs b/esp32c6/src/lp_timer/date.rs index 35fd3ed2bf..c93f4ff77a 100644 --- a/esp32c6/src/lp_timer/date.rs +++ b/esp32c6/src/lp_timer/date.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - need_des"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32c6/src/lp_timer/int_clr.rs b/esp32c6/src/lp_timer/int_clr.rs index 8b8ef14cac..bd1f6dde93 100644 --- a/esp32c6/src/lp_timer/int_clr.rs +++ b/esp32c6/src/lp_timer/int_clr.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn overflow(&mut self) -> OVERFLOW_W { OVERFLOW_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn soc_wakeup(&mut self) -> SOC_WAKEUP_W { SOC_WAKEUP_W::new(self, 31) } diff --git a/esp32c6/src/lp_timer/int_ena.rs b/esp32c6/src/lp_timer/int_ena.rs index b79edd4010..2749e28086 100644 --- a/esp32c6/src/lp_timer/int_ena.rs +++ b/esp32c6/src/lp_timer/int_ena.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn overflow(&mut self) -> OVERFLOW_W { OVERFLOW_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn soc_wakeup(&mut self) -> SOC_WAKEUP_W { SOC_WAKEUP_W::new(self, 31) } diff --git a/esp32c6/src/lp_timer/int_raw.rs b/esp32c6/src/lp_timer/int_raw.rs index a64ceb0d90..a9d26874dc 100644 --- a/esp32c6/src/lp_timer/int_raw.rs +++ b/esp32c6/src/lp_timer/int_raw.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn overflow(&mut self) -> OVERFLOW_W { OVERFLOW_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn soc_wakeup(&mut self) -> SOC_WAKEUP_W { SOC_WAKEUP_W::new(self, 31) } diff --git a/esp32c6/src/lp_timer/lp_int_clr.rs b/esp32c6/src/lp_timer/lp_int_clr.rs index 80f7949cb6..67b3bb4fb9 100644 --- a/esp32c6/src/lp_timer/lp_int_clr.rs +++ b/esp32c6/src/lp_timer/lp_int_clr.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_overflow(&mut self) -> MAIN_TIMER_OVERFLOW_W { MAIN_TIMER_OVERFLOW_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer(&mut self) -> MAIN_TIMER_W { MAIN_TIMER_W::new(self, 31) } diff --git a/esp32c6/src/lp_timer/lp_int_ena.rs b/esp32c6/src/lp_timer/lp_int_ena.rs index 514015a432..ec253e0ca7 100644 --- a/esp32c6/src/lp_timer/lp_int_ena.rs +++ b/esp32c6/src/lp_timer/lp_int_ena.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_overflow(&mut self) -> MAIN_TIMER_OVERFLOW_W { MAIN_TIMER_OVERFLOW_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer(&mut self) -> MAIN_TIMER_W { MAIN_TIMER_W::new(self, 31) } diff --git a/esp32c6/src/lp_timer/lp_int_raw.rs b/esp32c6/src/lp_timer/lp_int_raw.rs index 135f2f1dec..902617af18 100644 --- a/esp32c6/src/lp_timer/lp_int_raw.rs +++ b/esp32c6/src/lp_timer/lp_int_raw.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_overflow(&mut self) -> MAIN_TIMER_OVERFLOW_W { MAIN_TIMER_OVERFLOW_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer(&mut self) -> MAIN_TIMER_W { MAIN_TIMER_W::new(self, 31) } diff --git a/esp32c6/src/lp_timer/main_overflow.rs b/esp32c6/src/lp_timer/main_overflow.rs index 80743012dc..1ed21c16d1 100644 --- a/esp32c6/src/lp_timer/main_overflow.rs +++ b/esp32c6/src/lp_timer/main_overflow.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_alarm_load(&mut self) -> MAIN_TIMER_ALARM_LOAD_W { MAIN_TIMER_ALARM_LOAD_W::new(self, 31) } diff --git a/esp32c6/src/lp_timer/tar0_high.rs b/esp32c6/src/lp_timer/tar0_high.rs index c8a67c7e6e..1abc8bc13b 100644 --- a/esp32c6/src/lp_timer/tar0_high.rs +++ b/esp32c6/src/lp_timer/tar0_high.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_tar_high0(&mut self) -> MAIN_TIMER_TAR_HIGH0_W { MAIN_TIMER_TAR_HIGH0_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_tar_en0(&mut self) -> MAIN_TIMER_TAR_EN0_W { MAIN_TIMER_TAR_EN0_W::new(self, 31) } diff --git a/esp32c6/src/lp_timer/tar0_low.rs b/esp32c6/src/lp_timer/tar0_low.rs index 2b8de9d157..0f87653d28 100644 --- a/esp32c6/src/lp_timer/tar0_low.rs +++ b/esp32c6/src/lp_timer/tar0_low.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_tar_low0(&mut self) -> MAIN_TIMER_TAR_LOW0_W { MAIN_TIMER_TAR_LOW0_W::new(self, 0) } diff --git a/esp32c6/src/lp_timer/tar1_high.rs b/esp32c6/src/lp_timer/tar1_high.rs index 769e72a5e1..c602790138 100644 --- a/esp32c6/src/lp_timer/tar1_high.rs +++ b/esp32c6/src/lp_timer/tar1_high.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_tar_high1(&mut self) -> MAIN_TIMER_TAR_HIGH1_W { MAIN_TIMER_TAR_HIGH1_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_tar_en1(&mut self) -> MAIN_TIMER_TAR_EN1_W { MAIN_TIMER_TAR_EN1_W::new(self, 31) } diff --git a/esp32c6/src/lp_timer/tar1_low.rs b/esp32c6/src/lp_timer/tar1_low.rs index acc4ad9993..569245d574 100644 --- a/esp32c6/src/lp_timer/tar1_low.rs +++ b/esp32c6/src/lp_timer/tar1_low.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_tar_low1(&mut self) -> MAIN_TIMER_TAR_LOW1_W { MAIN_TIMER_TAR_LOW1_W::new(self, 0) } diff --git a/esp32c6/src/lp_timer/update.rs b/esp32c6/src/lp_timer/update.rs index 5fa60716d1..4ae4ebc4d9 100644 --- a/esp32c6/src/lp_timer/update.rs +++ b/esp32c6/src/lp_timer/update.rs @@ -46,25 +46,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_update(&mut self) -> MAIN_TIMER_UPDATE_W { MAIN_TIMER_UPDATE_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_xtal_off(&mut self) -> MAIN_TIMER_XTAL_OFF_W { MAIN_TIMER_XTAL_OFF_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_sys_stall(&mut self) -> MAIN_TIMER_SYS_STALL_W { MAIN_TIMER_SYS_STALL_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_sys_rst(&mut self) -> MAIN_TIMER_SYS_RST_W { MAIN_TIMER_SYS_RST_W::new(self, 31) } diff --git a/esp32c6/src/lp_uart/at_cmd_char.rs b/esp32c6/src/lp_uart/at_cmd_char.rs index 63f615f0bb..0cf119bced 100644 --- a/esp32c6/src/lp_uart/at_cmd_char.rs +++ b/esp32c6/src/lp_uart/at_cmd_char.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register is used to configure the content of at_cmd char."] #[inline(always)] - #[must_use] pub fn at_cmd_char(&mut self) -> AT_CMD_CHAR_W { AT_CMD_CHAR_W::new(self, 0) } #[doc = "Bits 8:15 - This register is used to configure the num of continuous at_cmd chars received by receiver."] #[inline(always)] - #[must_use] pub fn char_num(&mut self) -> CHAR_NUM_W { CHAR_NUM_W::new(self, 8) } diff --git a/esp32c6/src/lp_uart/at_cmd_gaptout.rs b/esp32c6/src/lp_uart/at_cmd_gaptout.rs index aeb0fab8c1..db829b172f 100644 --- a/esp32c6/src/lp_uart/at_cmd_gaptout.rs +++ b/esp32c6/src/lp_uart/at_cmd_gaptout.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the duration time between the at_cmd chars."] #[inline(always)] - #[must_use] pub fn rx_gap_tout(&mut self) -> RX_GAP_TOUT_W { RX_GAP_TOUT_W::new(self, 0) } diff --git a/esp32c6/src/lp_uart/at_cmd_postcnt.rs b/esp32c6/src/lp_uart/at_cmd_postcnt.rs index a7bf7d2792..1ca8f0cec9 100644 --- a/esp32c6/src/lp_uart/at_cmd_postcnt.rs +++ b/esp32c6/src/lp_uart/at_cmd_postcnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the duration time between the last at_cmd and the next data."] #[inline(always)] - #[must_use] pub fn post_idle_num(&mut self) -> POST_IDLE_NUM_W { POST_IDLE_NUM_W::new(self, 0) } diff --git a/esp32c6/src/lp_uart/at_cmd_precnt.rs b/esp32c6/src/lp_uart/at_cmd_precnt.rs index c49f64f592..762bf3e056 100644 --- a/esp32c6/src/lp_uart/at_cmd_precnt.rs +++ b/esp32c6/src/lp_uart/at_cmd_precnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the idle duration time before the first at_cmd is received by receiver."] #[inline(always)] - #[must_use] pub fn pre_idle_num(&mut self) -> PRE_IDLE_NUM_W { PRE_IDLE_NUM_W::new(self, 0) } diff --git a/esp32c6/src/lp_uart/clk_conf.rs b/esp32c6/src/lp_uart/clk_conf.rs index 65c585b260..3a83cd7cdc 100644 --- a/esp32c6/src/lp_uart/clk_conf.rs +++ b/esp32c6/src/lp_uart/clk_conf.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - The denominator of the frequency divider factor."] #[inline(always)] - #[must_use] pub fn sclk_div_b(&mut self) -> SCLK_DIV_B_W { SCLK_DIV_B_W::new(self, 0) } #[doc = "Bits 6:11 - The numerator of the frequency divider factor."] #[inline(always)] - #[must_use] pub fn sclk_div_a(&mut self) -> SCLK_DIV_A_W { SCLK_DIV_A_W::new(self, 6) } #[doc = "Bits 12:19 - The integral part of the frequency divider factor."] #[inline(always)] - #[must_use] pub fn sclk_div_num(&mut self) -> SCLK_DIV_NUM_W { SCLK_DIV_NUM_W::new(self, 12) } #[doc = "Bits 20:21 - UART clock source select. 1: 80Mhz. 2: 8Mhz. 3: XTAL."] #[inline(always)] - #[must_use] pub fn sclk_sel(&mut self) -> SCLK_SEL_W { SCLK_SEL_W::new(self, 20) } #[doc = "Bit 22 - Set this bit to enable UART Tx/Rx clock."] #[inline(always)] - #[must_use] pub fn sclk_en(&mut self) -> SCLK_EN_W { SCLK_EN_W::new(self, 22) } #[doc = "Bit 23 - Write 1 then write 0 to this bit to reset UART Tx/Rx."] #[inline(always)] - #[must_use] pub fn rst_core(&mut self) -> RST_CORE_W { RST_CORE_W::new(self, 23) } #[doc = "Bit 24 - Set this bit to enable UART Tx clock."] #[inline(always)] - #[must_use] pub fn tx_sclk_en(&mut self) -> TX_SCLK_EN_W { TX_SCLK_EN_W::new(self, 24) } #[doc = "Bit 25 - Set this bit to enable UART Rx clock."] #[inline(always)] - #[must_use] pub fn rx_sclk_en(&mut self) -> RX_SCLK_EN_W { RX_SCLK_EN_W::new(self, 25) } #[doc = "Bit 26 - Write 1 then write 0 to this bit to reset UART Tx."] #[inline(always)] - #[must_use] pub fn tx_rst_core(&mut self) -> TX_RST_CORE_W { TX_RST_CORE_W::new(self, 26) } #[doc = "Bit 27 - Write 1 then write 0 to this bit to reset UART Rx."] #[inline(always)] - #[must_use] pub fn rx_rst_core(&mut self) -> RX_RST_CORE_W { RX_RST_CORE_W::new(self, 27) } diff --git a/esp32c6/src/lp_uart/clkdiv.rs b/esp32c6/src/lp_uart/clkdiv.rs index f5fb653112..4706e2101c 100644 --- a/esp32c6/src/lp_uart/clkdiv.rs +++ b/esp32c6/src/lp_uart/clkdiv.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - The integral part of the frequency divider factor."] #[inline(always)] - #[must_use] pub fn clkdiv(&mut self) -> CLKDIV_W { CLKDIV_W::new(self, 0) } #[doc = "Bits 20:23 - The decimal part of the frequency divider factor."] #[inline(always)] - #[must_use] pub fn frag(&mut self) -> FRAG_W { FRAG_W::new(self, 20) } diff --git a/esp32c6/src/lp_uart/conf0.rs b/esp32c6/src/lp_uart/conf0.rs index 1f50c1beeb..04de0391b2 100644 --- a/esp32c6/src/lp_uart/conf0.rs +++ b/esp32c6/src/lp_uart/conf0.rs @@ -164,91 +164,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This register is used to configure the parity check mode."] #[inline(always)] - #[must_use] pub fn parity(&mut self) -> PARITY_W { PARITY_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to enable uart parity check."] #[inline(always)] - #[must_use] pub fn parity_en(&mut self) -> PARITY_EN_W { PARITY_EN_W::new(self, 1) } #[doc = "Bits 2:3 - This register is used to set the length of data."] #[inline(always)] - #[must_use] pub fn bit_num(&mut self) -> BIT_NUM_W { BIT_NUM_W::new(self, 2) } #[doc = "Bits 4:5 - This register is used to set the length of stop bit."] #[inline(always)] - #[must_use] pub fn stop_bit_num(&mut self) -> STOP_BIT_NUM_W { STOP_BIT_NUM_W::new(self, 4) } #[doc = "Bit 6 - Set this bit to enbale transmitter to send NULL when the process of sending data is done."] #[inline(always)] - #[must_use] pub fn txd_brk(&mut self) -> TXD_BRK_W { TXD_BRK_W::new(self, 6) } #[doc = "Bit 12 - Set this bit to enable uart loopback test mode."] #[inline(always)] - #[must_use] pub fn loopback(&mut self) -> LOOPBACK_W { LOOPBACK_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to enable flow control function for transmitter."] #[inline(always)] - #[must_use] pub fn tx_flow_en(&mut self) -> TX_FLOW_EN_W { TX_FLOW_EN_W::new(self, 13) } #[doc = "Bit 15 - Set this bit to inverse the level value of uart rxd signal."] #[inline(always)] - #[must_use] pub fn rxd_inv(&mut self) -> RXD_INV_W { RXD_INV_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to inverse the level value of uart txd signal."] #[inline(always)] - #[must_use] pub fn txd_inv(&mut self) -> TXD_INV_W { TXD_INV_W::new(self, 16) } #[doc = "Bit 17 - Disable UART Rx data overflow detect."] #[inline(always)] - #[must_use] pub fn dis_rx_dat_ovf(&mut self) -> DIS_RX_DAT_OVF_W { DIS_RX_DAT_OVF_W::new(self, 17) } #[doc = "Bit 18 - 1'h1: Receiver stops storing data into FIFO when data is wrong. 1'h0: Receiver stores the data even if the received data is wrong."] #[inline(always)] - #[must_use] pub fn err_wr_mask(&mut self) -> ERR_WR_MASK_W { ERR_WR_MASK_W::new(self, 18) } #[doc = "Bit 20 - UART memory clock gate enable signal."] #[inline(always)] - #[must_use] pub fn mem_clk_en(&mut self) -> MEM_CLK_EN_W { MEM_CLK_EN_W::new(self, 20) } #[doc = "Bit 21 - This register is used to configure the software rts signal which is used in software flow control."] #[inline(always)] - #[must_use] pub fn sw_rts(&mut self) -> SW_RTS_W { SW_RTS_W::new(self, 21) } #[doc = "Bit 22 - Set this bit to reset the uart receive-FIFO."] #[inline(always)] - #[must_use] pub fn rxfifo_rst(&mut self) -> RXFIFO_RST_W { RXFIFO_RST_W::new(self, 22) } #[doc = "Bit 23 - Set this bit to reset the uart transmit-FIFO."] #[inline(always)] - #[must_use] pub fn txfifo_rst(&mut self) -> TXFIFO_RST_W { TXFIFO_RST_W::new(self, 23) } diff --git a/esp32c6/src/lp_uart/conf1.rs b/esp32c6/src/lp_uart/conf1.rs index b658df82b5..afc0b29e3c 100644 --- a/esp32c6/src/lp_uart/conf1.rs +++ b/esp32c6/src/lp_uart/conf1.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 3:7 - It will produce rxfifo_full_int interrupt when receiver receives more data than this register value."] #[inline(always)] - #[must_use] pub fn rxfifo_full_thrhd(&mut self) -> RXFIFO_FULL_THRHD_W { RXFIFO_FULL_THRHD_W::new(self, 3) } #[doc = "Bits 11:15 - It will produce txfifo_empty_int interrupt when the data amount in Tx-FIFO is less than this register value."] #[inline(always)] - #[must_use] pub fn txfifo_empty_thrhd(&mut self) -> TXFIFO_EMPTY_THRHD_W { TXFIFO_EMPTY_THRHD_W::new(self, 11) } #[doc = "Bit 16 - Set this bit to inverse the level value of uart cts signal."] #[inline(always)] - #[must_use] pub fn cts_inv(&mut self) -> CTS_INV_W { CTS_INV_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to inverse the level value of uart dsr signal."] #[inline(always)] - #[must_use] pub fn dsr_inv(&mut self) -> DSR_INV_W { DSR_INV_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to inverse the level value of uart rts signal."] #[inline(always)] - #[must_use] pub fn rts_inv(&mut self) -> RTS_INV_W { RTS_INV_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to inverse the level value of uart dtr signal."] #[inline(always)] - #[must_use] pub fn dtr_inv(&mut self) -> DTR_INV_W { DTR_INV_W::new(self, 19) } #[doc = "Bit 20 - This register is used to configure the software dtr signal which is used in software flow control."] #[inline(always)] - #[must_use] pub fn sw_dtr(&mut self) -> SW_DTR_W { SW_DTR_W::new(self, 20) } #[doc = "Bit 21 - 1'h1: Force clock on for register. 1'h0: Support clock only when application writes registers."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 21) } diff --git a/esp32c6/src/lp_uart/date.rs b/esp32c6/src/lp_uart/date.rs index ee12929a0e..fe002d398c 100644 --- a/esp32c6/src/lp_uart/date.rs +++ b/esp32c6/src/lp_uart/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This is the version register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/lp_uart/fifo.rs b/esp32c6/src/lp_uart/fifo.rs index bbd207ed48..044c77bb18 100644 --- a/esp32c6/src/lp_uart/fifo.rs +++ b/esp32c6/src/lp_uart/fifo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - UART 0 accesses FIFO via this register."] #[inline(always)] - #[must_use] pub fn rxfifo_rd_byte(&mut self) -> RXFIFO_RD_BYTE_W { RXFIFO_RD_BYTE_W::new(self, 0) } diff --git a/esp32c6/src/lp_uart/hwfc_conf.rs b/esp32c6/src/lp_uart/hwfc_conf.rs index 93ecc19a4e..75cc76cff0 100644 --- a/esp32c6/src/lp_uart/hwfc_conf.rs +++ b/esp32c6/src/lp_uart/hwfc_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 3:7 - This register is used to configure the maximum amount of data that can be received when hardware flow control works."] #[inline(always)] - #[must_use] pub fn rx_flow_thrhd(&mut self) -> RX_FLOW_THRHD_W { RX_FLOW_THRHD_W::new(self, 3) } #[doc = "Bit 8 - This is the flow enable bit for UART receiver."] #[inline(always)] - #[must_use] pub fn rx_flow_en(&mut self) -> RX_FLOW_EN_W { RX_FLOW_EN_W::new(self, 8) } diff --git a/esp32c6/src/lp_uart/id.rs b/esp32c6/src/lp_uart/id.rs index eb25e6637f..23a8344e90 100644 --- a/esp32c6/src/lp_uart/id.rs +++ b/esp32c6/src/lp_uart/id.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This register is used to configure the uart_id."] #[inline(always)] - #[must_use] pub fn id(&mut self) -> ID_W { ID_W::new(self, 0) } diff --git a/esp32c6/src/lp_uart/idle_conf.rs b/esp32c6/src/lp_uart/idle_conf.rs index c3bcd173ed..3e67f9b8b2 100644 --- a/esp32c6/src/lp_uart/idle_conf.rs +++ b/esp32c6/src/lp_uart/idle_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - It will produce frame end signal when receiver takes more time to receive one byte data than this register value."] #[inline(always)] - #[must_use] pub fn rx_idle_thrhd(&mut self) -> RX_IDLE_THRHD_W { RX_IDLE_THRHD_W::new(self, 0) } #[doc = "Bits 10:19 - This register is used to configure the duration time between transfers."] #[inline(always)] - #[must_use] pub fn tx_idle_num(&mut self) -> TX_IDLE_NUM_W { TX_IDLE_NUM_W::new(self, 10) } diff --git a/esp32c6/src/lp_uart/int_clr.rs b/esp32c6/src/lp_uart/int_clr.rs index ee55b72abd..0161761324 100644 --- a/esp32c6/src/lp_uart/int_clr.rs +++ b/esp32c6/src/lp_uart/int_clr.rs @@ -43,103 +43,86 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the rxfifo_full_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_full(&mut self) -> RXFIFO_FULL_W { RXFIFO_FULL_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear txfifo_empty_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_empty(&mut self) -> TXFIFO_EMPTY_W { TXFIFO_EMPTY_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear parity_err_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn parity_err(&mut self) -> PARITY_ERR_W { PARITY_ERR_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear frm_err_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn frm_err(&mut self) -> FRM_ERR_W { FRM_ERR_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear rxfifo_ovf_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the dsr_chg_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn dsr_chg(&mut self) -> DSR_CHG_W { DSR_CHG_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the cts_chg_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn cts_chg(&mut self) -> CTS_CHG_W { CTS_CHG_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the brk_det_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn brk_det(&mut self) -> BRK_DET_W { BRK_DET_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the rxfifo_tout_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_tout(&mut self) -> RXFIFO_TOUT_W { RXFIFO_TOUT_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear the sw_xon_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn sw_xon(&mut self) -> SW_XON_W { SW_XON_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to clear the sw_xoff_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn sw_xoff(&mut self) -> SW_XOFF_W { SW_XOFF_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear the glitch_det_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to clear the tx_brk_done_int_raw interrupt.."] #[inline(always)] - #[must_use] pub fn tx_brk_done(&mut self) -> TX_BRK_DONE_W { TX_BRK_DONE_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to clear the tx_brk_idle_done_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn tx_brk_idle_done(&mut self) -> TX_BRK_IDLE_DONE_W { TX_BRK_IDLE_DONE_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to clear the tx_done_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 14) } #[doc = "Bit 18 - Set this bit to clear the at_cmd_char_det_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn at_cmd_char_det(&mut self) -> AT_CMD_CHAR_DET_W { AT_CMD_CHAR_DET_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to clear the uart_wakeup_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn wakeup(&mut self) -> WAKEUP_W { WAKEUP_W::new(self, 19) } diff --git a/esp32c6/src/lp_uart/int_ena.rs b/esp32c6/src/lp_uart/int_ena.rs index 76036fcd62..ffe3fb5997 100644 --- a/esp32c6/src/lp_uart/int_ena.rs +++ b/esp32c6/src/lp_uart/int_ena.rs @@ -184,103 +184,86 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This is the enable bit for rxfifo_full_int_st register."] #[inline(always)] - #[must_use] pub fn rxfifo_full(&mut self) -> RXFIFO_FULL_W { RXFIFO_FULL_W::new(self, 0) } #[doc = "Bit 1 - This is the enable bit for txfifo_empty_int_st register."] #[inline(always)] - #[must_use] pub fn txfifo_empty(&mut self) -> TXFIFO_EMPTY_W { TXFIFO_EMPTY_W::new(self, 1) } #[doc = "Bit 2 - This is the enable bit for parity_err_int_st register."] #[inline(always)] - #[must_use] pub fn parity_err(&mut self) -> PARITY_ERR_W { PARITY_ERR_W::new(self, 2) } #[doc = "Bit 3 - This is the enable bit for frm_err_int_st register."] #[inline(always)] - #[must_use] pub fn frm_err(&mut self) -> FRM_ERR_W { FRM_ERR_W::new(self, 3) } #[doc = "Bit 4 - This is the enable bit for rxfifo_ovf_int_st register."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - This is the enable bit for dsr_chg_int_st register."] #[inline(always)] - #[must_use] pub fn dsr_chg(&mut self) -> DSR_CHG_W { DSR_CHG_W::new(self, 5) } #[doc = "Bit 6 - This is the enable bit for cts_chg_int_st register."] #[inline(always)] - #[must_use] pub fn cts_chg(&mut self) -> CTS_CHG_W { CTS_CHG_W::new(self, 6) } #[doc = "Bit 7 - This is the enable bit for brk_det_int_st register."] #[inline(always)] - #[must_use] pub fn brk_det(&mut self) -> BRK_DET_W { BRK_DET_W::new(self, 7) } #[doc = "Bit 8 - This is the enable bit for rxfifo_tout_int_st register."] #[inline(always)] - #[must_use] pub fn rxfifo_tout(&mut self) -> RXFIFO_TOUT_W { RXFIFO_TOUT_W::new(self, 8) } #[doc = "Bit 9 - This is the enable bit for sw_xon_int_st register."] #[inline(always)] - #[must_use] pub fn sw_xon(&mut self) -> SW_XON_W { SW_XON_W::new(self, 9) } #[doc = "Bit 10 - This is the enable bit for sw_xoff_int_st register."] #[inline(always)] - #[must_use] pub fn sw_xoff(&mut self) -> SW_XOFF_W { SW_XOFF_W::new(self, 10) } #[doc = "Bit 11 - This is the enable bit for glitch_det_int_st register."] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 11) } #[doc = "Bit 12 - This is the enable bit for tx_brk_done_int_st register."] #[inline(always)] - #[must_use] pub fn tx_brk_done(&mut self) -> TX_BRK_DONE_W { TX_BRK_DONE_W::new(self, 12) } #[doc = "Bit 13 - This is the enable bit for tx_brk_idle_done_int_st register."] #[inline(always)] - #[must_use] pub fn tx_brk_idle_done(&mut self) -> TX_BRK_IDLE_DONE_W { TX_BRK_IDLE_DONE_W::new(self, 13) } #[doc = "Bit 14 - This is the enable bit for tx_done_int_st register."] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 14) } #[doc = "Bit 18 - This is the enable bit for at_cmd_char_det_int_st register."] #[inline(always)] - #[must_use] pub fn at_cmd_char_det(&mut self) -> AT_CMD_CHAR_DET_W { AT_CMD_CHAR_DET_W::new(self, 18) } #[doc = "Bit 19 - This is the enable bit for uart_wakeup_int_st register."] #[inline(always)] - #[must_use] pub fn wakeup(&mut self) -> WAKEUP_W { WAKEUP_W::new(self, 19) } diff --git a/esp32c6/src/lp_uart/int_raw.rs b/esp32c6/src/lp_uart/int_raw.rs index 61c9967e41..eb01f67711 100644 --- a/esp32c6/src/lp_uart/int_raw.rs +++ b/esp32c6/src/lp_uart/int_raw.rs @@ -184,103 +184,86 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This interrupt raw bit turns to high level when receiver receives more data than what rxfifo_full_thrhd specifies."] #[inline(always)] - #[must_use] pub fn rxfifo_full(&mut self) -> RXFIFO_FULL_W { RXFIFO_FULL_W::new(self, 0) } #[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 ."] #[inline(always)] - #[must_use] pub fn txfifo_empty(&mut self) -> TXFIFO_EMPTY_W { TXFIFO_EMPTY_W::new(self, 1) } #[doc = "Bit 2 - This interrupt raw bit turns to high level when receiver detects a parity error in the data."] #[inline(always)] - #[must_use] pub fn parity_err(&mut self) -> PARITY_ERR_W { PARITY_ERR_W::new(self, 2) } #[doc = "Bit 3 - This interrupt raw bit turns to high level when receiver detects a data frame error ."] #[inline(always)] - #[must_use] pub fn frm_err(&mut self) -> FRM_ERR_W { FRM_ERR_W::new(self, 3) } #[doc = "Bit 4 - This interrupt raw bit turns to high level when receiver receives more data than the FIFO can store."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - This interrupt raw bit turns to high level when receiver detects the edge change of DSRn signal."] #[inline(always)] - #[must_use] pub fn dsr_chg(&mut self) -> DSR_CHG_W { DSR_CHG_W::new(self, 5) } #[doc = "Bit 6 - This interrupt raw bit turns to high level when receiver detects the edge change of CTSn signal."] #[inline(always)] - #[must_use] pub fn cts_chg(&mut self) -> CTS_CHG_W { CTS_CHG_W::new(self, 6) } #[doc = "Bit 7 - This interrupt raw bit turns to high level when receiver detects a 0 after the stop bit."] #[inline(always)] - #[must_use] pub fn brk_det(&mut self) -> BRK_DET_W { BRK_DET_W::new(self, 7) } #[doc = "Bit 8 - This interrupt raw bit turns to high level when receiver takes more time than rx_tout_thrhd to receive a byte."] #[inline(always)] - #[must_use] pub fn rxfifo_tout(&mut self) -> RXFIFO_TOUT_W { RXFIFO_TOUT_W::new(self, 8) } #[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."] #[inline(always)] - #[must_use] pub fn sw_xon(&mut self) -> SW_XON_W { SW_XON_W::new(self, 9) } #[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."] #[inline(always)] - #[must_use] pub fn sw_xoff(&mut self) -> SW_XOFF_W { SW_XOFF_W::new(self, 10) } #[doc = "Bit 11 - This interrupt raw bit turns to high level when receiver detects a glitch in the middle of a start bit."] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 11) } #[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."] #[inline(always)] - #[must_use] pub fn tx_brk_done(&mut self) -> TX_BRK_DONE_W { TX_BRK_DONE_W::new(self, 12) } #[doc = "Bit 13 - This interrupt raw bit turns to high level when transmitter has kept the shortest duration after sending the last data."] #[inline(always)] - #[must_use] pub fn tx_brk_idle_done(&mut self) -> TX_BRK_IDLE_DONE_W { TX_BRK_IDLE_DONE_W::new(self, 13) } #[doc = "Bit 14 - This interrupt raw bit turns to high level when transmitter has send out all data in FIFO."] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 14) } #[doc = "Bit 18 - This interrupt raw bit turns to high level when receiver detects the configured at_cmd char."] #[inline(always)] - #[must_use] pub fn at_cmd_char_det(&mut self) -> AT_CMD_CHAR_DET_W { AT_CMD_CHAR_DET_W::new(self, 18) } #[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."] #[inline(always)] - #[must_use] pub fn wakeup(&mut self) -> WAKEUP_W { WAKEUP_W::new(self, 19) } diff --git a/esp32c6/src/lp_uart/mem_conf.rs b/esp32c6/src/lp_uart/mem_conf.rs index 1f787205ea..a67b04163f 100644 --- a/esp32c6/src/lp_uart/mem_conf.rs +++ b/esp32c6/src/lp_uart/mem_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 25 - Set this bit to force power down UART memory."] #[inline(always)] - #[must_use] pub fn mem_force_pd(&mut self) -> MEM_FORCE_PD_W { MEM_FORCE_PD_W::new(self, 25) } #[doc = "Bit 26 - Set this bit to force power up UART memory."] #[inline(always)] - #[must_use] pub fn mem_force_pu(&mut self) -> MEM_FORCE_PU_W { MEM_FORCE_PU_W::new(self, 26) } diff --git a/esp32c6/src/lp_uart/reg_update.rs b/esp32c6/src/lp_uart/reg_update.rs index 0188a4af8b..916c47f8ce 100644 --- a/esp32c6/src/lp_uart/reg_update.rs +++ b/esp32c6/src/lp_uart/reg_update.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Software write 1 would synchronize registers into UART Core clock domain and would be cleared by hardware after synchronization is done."] #[inline(always)] - #[must_use] pub fn reg_update(&mut self) -> REG_UPDATE_W { REG_UPDATE_W::new(self, 0) } diff --git a/esp32c6/src/lp_uart/rs485_conf.rs b/esp32c6/src/lp_uart/rs485_conf.rs index 4006d8c540..ac5d7aaaa0 100644 --- a/esp32c6/src/lp_uart/rs485_conf.rs +++ b/esp32c6/src/lp_uart/rs485_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - Set this bit to delay the stop bit by 1 bit."] #[inline(always)] - #[must_use] pub fn dl0_en(&mut self) -> DL0_EN_W { DL0_EN_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to delay the stop bit by 1 bit."] #[inline(always)] - #[must_use] pub fn dl1_en(&mut self) -> DL1_EN_W { DL1_EN_W::new(self, 2) } diff --git a/esp32c6/src/lp_uart/rx_filt.rs b/esp32c6/src/lp_uart/rx_filt.rs index e8368344b8..acace76ca6 100644 --- a/esp32c6/src/lp_uart/rx_filt.rs +++ b/esp32c6/src/lp_uart/rx_filt.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - when input pulse width is lower than this value the pulse is ignored."] #[inline(always)] - #[must_use] pub fn glitch_filt(&mut self) -> GLITCH_FILT_W { GLITCH_FILT_W::new(self, 0) } #[doc = "Bit 8 - Set this bit to enable Rx signal filter."] #[inline(always)] - #[must_use] pub fn glitch_filt_en(&mut self) -> GLITCH_FILT_EN_W { GLITCH_FILT_EN_W::new(self, 8) } diff --git a/esp32c6/src/lp_uart/sleep_conf0.rs b/esp32c6/src/lp_uart/sleep_conf0.rs index 631ebdc15f..ab40e70e13 100644 --- a/esp32c6/src/lp_uart/sleep_conf0.rs +++ b/esp32c6/src/lp_uart/sleep_conf0.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register restores the specified wake up char1 to wake up"] #[inline(always)] - #[must_use] pub fn wk_char1(&mut self) -> WK_CHAR1_W { WK_CHAR1_W::new(self, 0) } #[doc = "Bits 8:15 - This register restores the specified wake up char2 to wake up"] #[inline(always)] - #[must_use] pub fn wk_char2(&mut self) -> WK_CHAR2_W { WK_CHAR2_W::new(self, 8) } #[doc = "Bits 16:23 - This register restores the specified wake up char3 to wake up"] #[inline(always)] - #[must_use] pub fn wk_char3(&mut self) -> WK_CHAR3_W { WK_CHAR3_W::new(self, 16) } #[doc = "Bits 24:31 - This register restores the specified wake up char4 to wake up"] #[inline(always)] - #[must_use] pub fn wk_char4(&mut self) -> WK_CHAR4_W { WK_CHAR4_W::new(self, 24) } diff --git a/esp32c6/src/lp_uart/sleep_conf1.rs b/esp32c6/src/lp_uart/sleep_conf1.rs index 8af8538d7d..dadc7d2d8e 100644 --- a/esp32c6/src/lp_uart/sleep_conf1.rs +++ b/esp32c6/src/lp_uart/sleep_conf1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register restores the specified char0 to wake up"] #[inline(always)] - #[must_use] pub fn wk_char0(&mut self) -> WK_CHAR0_W { WK_CHAR0_W::new(self, 0) } diff --git a/esp32c6/src/lp_uart/sleep_conf2.rs b/esp32c6/src/lp_uart/sleep_conf2.rs index 0059f5a6a6..206225fad4 100644 --- a/esp32c6/src/lp_uart/sleep_conf2.rs +++ b/esp32c6/src/lp_uart/sleep_conf2.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - The uart is activated from light sleeping mode when the input rxd edge changes more times than this register value."] #[inline(always)] - #[must_use] pub fn active_threshold(&mut self) -> ACTIVE_THRESHOLD_W { ACTIVE_THRESHOLD_W::new(self, 0) } #[doc = "Bits 13:17 - In wake up mode 1 this field is used to set the received data number threshold to wake up chip."] #[inline(always)] - #[must_use] pub fn rx_wake_up_thrhd(&mut self) -> RX_WAKE_UP_THRHD_W { RX_WAKE_UP_THRHD_W::new(self, 13) } #[doc = "Bits 18:20 - This register is used to select number of wake up char."] #[inline(always)] - #[must_use] pub fn wk_char_num(&mut self) -> WK_CHAR_NUM_W { WK_CHAR_NUM_W::new(self, 18) } #[doc = "Bits 21:25 - This register is used to mask wake up char."] #[inline(always)] - #[must_use] pub fn wk_char_mask(&mut self) -> WK_CHAR_MASK_W { WK_CHAR_MASK_W::new(self, 21) } #[doc = "Bits 26:27 - This register is used to select wake up mode. 0: RXD toggling to wake up. 1: received data number larger than"] #[inline(always)] - #[must_use] pub fn wk_mode_sel(&mut self) -> WK_MODE_SEL_W { WK_MODE_SEL_W::new(self, 26) } diff --git a/esp32c6/src/lp_uart/swfc_conf0.rs b/esp32c6/src/lp_uart/swfc_conf0.rs index ee8c28d233..0b7aaf0459 100644 --- a/esp32c6/src/lp_uart/swfc_conf0.rs +++ b/esp32c6/src/lp_uart/swfc_conf0.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register stores the Xon flow control char."] #[inline(always)] - #[must_use] pub fn xon_char(&mut self) -> XON_CHAR_W { XON_CHAR_W::new(self, 0) } #[doc = "Bits 8:15 - This register stores the Xoff flow control char."] #[inline(always)] - #[must_use] pub fn xoff_char(&mut self) -> XOFF_CHAR_W { XOFF_CHAR_W::new(self, 8) } #[doc = "Bit 16 - In software flow control mode, UART Tx is disabled once UART Rx receives XOFF. In this status, UART Tx can not transmit XOFF even the received data number is larger than UART_XOFF_THRESHOLD. Set this bit to enable UART Tx can transmit XON/XOFF when UART Tx is disabled."] #[inline(always)] - #[must_use] pub fn xon_xoff_still_send(&mut self) -> XON_XOFF_STILL_SEND_W { XON_XOFF_STILL_SEND_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to enable software flow control. It is used with register sw_xon or sw_xoff."] #[inline(always)] - #[must_use] pub fn sw_flow_con_en(&mut self) -> SW_FLOW_CON_EN_W { SW_FLOW_CON_EN_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to remove flow control char from the received data."] #[inline(always)] - #[must_use] pub fn xonoff_del(&mut self) -> XONOFF_DEL_W { XONOFF_DEL_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to enable the transmitter to go on sending data."] #[inline(always)] - #[must_use] pub fn force_xon(&mut self) -> FORCE_XON_W { FORCE_XON_W::new(self, 19) } #[doc = "Bit 20 - Set this bit to stop the transmitter from sending data."] #[inline(always)] - #[must_use] pub fn force_xoff(&mut self) -> FORCE_XOFF_W { FORCE_XOFF_W::new(self, 20) } #[doc = "Bit 21 - Set this bit to send Xon char. It is cleared by hardware automatically."] #[inline(always)] - #[must_use] pub fn send_xon(&mut self) -> SEND_XON_W { SEND_XON_W::new(self, 21) } #[doc = "Bit 22 - Set this bit to send Xoff char. It is cleared by hardware automatically."] #[inline(always)] - #[must_use] pub fn send_xoff(&mut self) -> SEND_XOFF_W { SEND_XOFF_W::new(self, 22) } diff --git a/esp32c6/src/lp_uart/swfc_conf1.rs b/esp32c6/src/lp_uart/swfc_conf1.rs index 43eba04dd6..153f8e5a2a 100644 --- a/esp32c6/src/lp_uart/swfc_conf1.rs +++ b/esp32c6/src/lp_uart/swfc_conf1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 3:7 - When the data amount in Rx-FIFO is less than this register value with uart_sw_flow_con_en set to 1 it will send a Xon char."] #[inline(always)] - #[must_use] pub fn xon_threshold(&mut self) -> XON_THRESHOLD_W { XON_THRESHOLD_W::new(self, 3) } #[doc = "Bits 11:15 - When the data amount in Rx-FIFO is more than this register value with uart_sw_flow_con_en set to 1 it will send a Xoff char."] #[inline(always)] - #[must_use] pub fn xoff_threshold(&mut self) -> XOFF_THRESHOLD_W { XOFF_THRESHOLD_W::new(self, 11) } diff --git a/esp32c6/src/lp_uart/tout_conf.rs b/esp32c6/src/lp_uart/tout_conf.rs index 9bc77ee497..d681869b89 100644 --- a/esp32c6/src/lp_uart/tout_conf.rs +++ b/esp32c6/src/lp_uart/tout_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This is the enble bit for uart receiver's timeout function."] #[inline(always)] - #[must_use] pub fn rx_tout_en(&mut self) -> RX_TOUT_EN_W { RX_TOUT_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to stop accumulating idle_cnt when hardware flow control works."] #[inline(always)] - #[must_use] pub fn rx_tout_flow_dis(&mut self) -> RX_TOUT_FLOW_DIS_W { RX_TOUT_FLOW_DIS_W::new(self, 1) } #[doc = "Bits 2:11 - This register is used to configure the threshold time that receiver takes to receive one byte. The rxfifo_tout_int interrupt will be trigger when the receiver takes more time to receive one byte with rx_tout_en set to 1."] #[inline(always)] - #[must_use] pub fn rx_tout_thrhd(&mut self) -> RX_TOUT_THRHD_W { RX_TOUT_THRHD_W::new(self, 2) } diff --git a/esp32c6/src/lp_uart/txbrk_conf.rs b/esp32c6/src/lp_uart/txbrk_conf.rs index 3fd0ce2689..7772196638 100644 --- a/esp32c6/src/lp_uart/txbrk_conf.rs +++ b/esp32c6/src/lp_uart/txbrk_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register is used to configure the number of 0 to be sent after the process of sending data is done. It is active when txd_brk is set to 1."] #[inline(always)] - #[must_use] pub fn tx_brk_num(&mut self) -> TX_BRK_NUM_W { TX_BRK_NUM_W::new(self, 0) } diff --git a/esp32c6/src/lp_wdt/config1.rs b/esp32c6/src/lp_wdt/config1.rs index 0e01ef69fe..3a4f508b69 100644 --- a/esp32c6/src/lp_wdt/config1.rs +++ b/esp32c6/src/lp_wdt/config1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_stg0_hold(&mut self) -> WDT_STG0_HOLD_W { WDT_STG0_HOLD_W::new(self, 0) } diff --git a/esp32c6/src/lp_wdt/config2.rs b/esp32c6/src/lp_wdt/config2.rs index dbf510b976..078f3eaf9d 100644 --- a/esp32c6/src/lp_wdt/config2.rs +++ b/esp32c6/src/lp_wdt/config2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_stg1_hold(&mut self) -> WDT_STG1_HOLD_W { WDT_STG1_HOLD_W::new(self, 0) } diff --git a/esp32c6/src/lp_wdt/config3.rs b/esp32c6/src/lp_wdt/config3.rs index 2830618142..54a3c3b522 100644 --- a/esp32c6/src/lp_wdt/config3.rs +++ b/esp32c6/src/lp_wdt/config3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_stg2_hold(&mut self) -> WDT_STG2_HOLD_W { WDT_STG2_HOLD_W::new(self, 0) } diff --git a/esp32c6/src/lp_wdt/config4.rs b/esp32c6/src/lp_wdt/config4.rs index 1c42d2046e..09101a6c69 100644 --- a/esp32c6/src/lp_wdt/config4.rs +++ b/esp32c6/src/lp_wdt/config4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_stg3_hold(&mut self) -> WDT_STG3_HOLD_W { WDT_STG3_HOLD_W::new(self, 0) } diff --git a/esp32c6/src/lp_wdt/date.rs b/esp32c6/src/lp_wdt/date.rs index 1fdd983592..6f58884e74 100644 --- a/esp32c6/src/lp_wdt/date.rs +++ b/esp32c6/src/lp_wdt/date.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_wdt_date(&mut self) -> LP_WDT_DATE_W { LP_WDT_DATE_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32c6/src/lp_wdt/int_clr.rs b/esp32c6/src/lp_wdt/int_clr.rs index 73dd901f8b..44d08c9bdb 100644 --- a/esp32c6/src/lp_wdt/int_clr.rs +++ b/esp32c6/src/lp_wdt/int_clr.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn super_wdt(&mut self) -> SUPER_WDT_W { SUPER_WDT_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn wdt(&mut self) -> WDT_W { WDT_W::new(self, 31) } diff --git a/esp32c6/src/lp_wdt/int_ena.rs b/esp32c6/src/lp_wdt/int_ena.rs index 3a368372f1..2c64b71037 100644 --- a/esp32c6/src/lp_wdt/int_ena.rs +++ b/esp32c6/src/lp_wdt/int_ena.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn super_wdt(&mut self) -> SUPER_WDT_W { SUPER_WDT_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn wdt(&mut self) -> WDT_W { WDT_W::new(self, 31) } diff --git a/esp32c6/src/lp_wdt/int_raw.rs b/esp32c6/src/lp_wdt/int_raw.rs index 59439efb80..74294703d0 100644 --- a/esp32c6/src/lp_wdt/int_raw.rs +++ b/esp32c6/src/lp_wdt/int_raw.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn super_wdt(&mut self) -> SUPER_WDT_W { SUPER_WDT_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_wdt(&mut self) -> LP_WDT_W { LP_WDT_W::new(self, 31) } diff --git a/esp32c6/src/lp_wdt/swd_conf.rs b/esp32c6/src/lp_wdt/swd_conf.rs index 3922ed576f..979f435d45 100644 --- a/esp32c6/src/lp_wdt/swd_conf.rs +++ b/esp32c6/src/lp_wdt/swd_conf.rs @@ -56,31 +56,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 18 - need_des"] #[inline(always)] - #[must_use] pub fn swd_auto_feed_en(&mut self) -> SWD_AUTO_FEED_EN_W { SWD_AUTO_FEED_EN_W::new(self, 18) } #[doc = "Bit 19 - need_des"] #[inline(always)] - #[must_use] pub fn swd_rst_flag_clr(&mut self) -> SWD_RST_FLAG_CLR_W { SWD_RST_FLAG_CLR_W::new(self, 19) } #[doc = "Bits 20:29 - need_des"] #[inline(always)] - #[must_use] pub fn swd_signal_width(&mut self) -> SWD_SIGNAL_WIDTH_W { SWD_SIGNAL_WIDTH_W::new(self, 20) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn swd_disable(&mut self) -> SWD_DISABLE_W { SWD_DISABLE_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn swd_feed(&mut self) -> SWD_FEED_W { SWD_FEED_W::new(self, 31) } diff --git a/esp32c6/src/lp_wdt/swd_wprotect.rs b/esp32c6/src/lp_wdt/swd_wprotect.rs index a1608c1c33..d544b5d85c 100644 --- a/esp32c6/src/lp_wdt/swd_wprotect.rs +++ b/esp32c6/src/lp_wdt/swd_wprotect.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn swd_wkey(&mut self) -> SWD_WKEY_W { SWD_WKEY_W::new(self, 0) } diff --git a/esp32c6/src/lp_wdt/wdtconfig0.rs b/esp32c6/src/lp_wdt/wdtconfig0.rs index cc575d56c3..67d40a1dd4 100644 --- a/esp32c6/src/lp_wdt/wdtconfig0.rs +++ b/esp32c6/src/lp_wdt/wdtconfig0.rs @@ -144,79 +144,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_chip_reset_width(&mut self) -> WDT_CHIP_RESET_WIDTH_W { WDT_CHIP_RESET_WIDTH_W::new(self, 0) } #[doc = "Bit 8 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_chip_reset_en(&mut self) -> WDT_CHIP_RESET_EN_W { WDT_CHIP_RESET_EN_W::new(self, 8) } #[doc = "Bit 9 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_pause_in_slp(&mut self) -> WDT_PAUSE_IN_SLP_W { WDT_PAUSE_IN_SLP_W::new(self, 9) } #[doc = "Bit 10 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_appcpu_reset_en(&mut self) -> WDT_APPCPU_RESET_EN_W { WDT_APPCPU_RESET_EN_W::new(self, 10) } #[doc = "Bit 11 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_procpu_reset_en(&mut self) -> WDT_PROCPU_RESET_EN_W { WDT_PROCPU_RESET_EN_W::new(self, 11) } #[doc = "Bit 12 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_flashboot_mod_en(&mut self) -> WDT_FLASHBOOT_MOD_EN_W { WDT_FLASHBOOT_MOD_EN_W::new(self, 12) } #[doc = "Bits 13:15 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_sys_reset_length(&mut self) -> WDT_SYS_RESET_LENGTH_W { WDT_SYS_RESET_LENGTH_W::new(self, 13) } #[doc = "Bits 16:18 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_cpu_reset_length(&mut self) -> WDT_CPU_RESET_LENGTH_W { WDT_CPU_RESET_LENGTH_W::new(self, 16) } #[doc = "Bits 19:21 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_stg3(&mut self) -> WDT_STG3_W { WDT_STG3_W::new(self, 19) } #[doc = "Bits 22:24 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_stg2(&mut self) -> WDT_STG2_W { WDT_STG2_W::new(self, 22) } #[doc = "Bits 25:27 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_stg1(&mut self) -> WDT_STG1_W { WDT_STG1_W::new(self, 25) } #[doc = "Bits 28:30 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_stg0(&mut self) -> WDT_STG0_W { WDT_STG0_W::new(self, 28) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_en(&mut self) -> WDT_EN_W { WDT_EN_W::new(self, 31) } diff --git a/esp32c6/src/lp_wdt/wdtfeed.rs b/esp32c6/src/lp_wdt/wdtfeed.rs index 7ca3921077..ee8b41cb54 100644 --- a/esp32c6/src/lp_wdt/wdtfeed.rs +++ b/esp32c6/src/lp_wdt/wdtfeed.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_feed(&mut self) -> WDT_FEED_W { WDT_FEED_W::new(self, 31) } diff --git a/esp32c6/src/lp_wdt/wdtwprotect.rs b/esp32c6/src/lp_wdt/wdtwprotect.rs index 771dfb1c2e..dc523f6e36 100644 --- a/esp32c6/src/lp_wdt/wdtwprotect.rs +++ b/esp32c6/src/lp_wdt/wdtwprotect.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_wkey(&mut self) -> WDT_WKEY_W { WDT_WKEY_W::new(self, 0) } diff --git a/esp32c6/src/mcpwm0/cap_ch_cfg.rs b/esp32c6/src/mcpwm0/cap_ch_cfg.rs index 2eed80ddd9..2d665ef82f 100644 --- a/esp32c6/src/mcpwm0/cap_ch_cfg.rs +++ b/esp32c6/src/mcpwm0/cap_ch_cfg.rs @@ -56,31 +56,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - When set, capture on channel 0 is enabled"] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 0) } #[doc = "Bits 1:2 - Edge of capture on channel 0 after prescaling. When bit0 is set to 1: enable capture on the negative edge, When bit1 is set to 1: enable capture on the positive edge."] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 1) } #[doc = "Bits 3:10 - Value of prescaling on possitive edge of CAP0. Prescale value = PWM_CAP0_PRESCALE + 1"] #[inline(always)] - #[must_use] pub fn prescale(&mut self) -> PRESCALE_W { PRESCALE_W::new(self, 3) } #[doc = "Bit 11 - when set, CAP0 form GPIO matrix is inverted before prescale"] #[inline(always)] - #[must_use] pub fn in_invert(&mut self) -> IN_INVERT_W { IN_INVERT_W::new(self, 11) } #[doc = "Bit 12 - Write 1 will trigger a software forced capture on channel 0"] #[inline(always)] - #[must_use] pub fn sw(&mut self) -> SW_W { SW_W::new(self, 12) } diff --git a/esp32c6/src/mcpwm0/cap_timer_cfg.rs b/esp32c6/src/mcpwm0/cap_timer_cfg.rs index 8e72ed3fc1..da70d0e439 100644 --- a/esp32c6/src/mcpwm0/cap_timer_cfg.rs +++ b/esp32c6/src/mcpwm0/cap_timer_cfg.rs @@ -46,25 +46,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - When set, capture timer incrementing under APB_clk is enabled."] #[inline(always)] - #[must_use] pub fn cap_timer_en(&mut self) -> CAP_TIMER_EN_W { CAP_TIMER_EN_W::new(self, 0) } #[doc = "Bit 1 - When set, capture timer sync is enabled."] #[inline(always)] - #[must_use] pub fn cap_synci_en(&mut self) -> CAP_SYNCI_EN_W { CAP_SYNCI_EN_W::new(self, 1) } #[doc = "Bits 2:4 - capture module sync input selection. 0: none, 1: timer0 sync_out, 2: timer1 sync_out, 3: timer2 sync_out, 4: SYNC0 from GPIO matrix, 5: SYNC1 from GPIO matrix, 6: SYNC2 from GPIO matrix"] #[inline(always)] - #[must_use] pub fn cap_synci_sel(&mut self) -> CAP_SYNCI_SEL_W { CAP_SYNCI_SEL_W::new(self, 2) } #[doc = "Bit 5 - When reg_cap_synci_en is 1, write 1 will trigger a capture timer sync, capture timer is loaded with value in phase register."] #[inline(always)] - #[must_use] pub fn cap_sync_sw(&mut self) -> CAP_SYNC_SW_W { CAP_SYNC_SW_W::new(self, 5) } diff --git a/esp32c6/src/mcpwm0/cap_timer_phase.rs b/esp32c6/src/mcpwm0/cap_timer_phase.rs index bfe38b6fbd..128ee1214f 100644 --- a/esp32c6/src/mcpwm0/cap_timer_phase.rs +++ b/esp32c6/src/mcpwm0/cap_timer_phase.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Phase value for capture timer sync operation."] #[inline(always)] - #[must_use] pub fn cap_phase(&mut self) -> CAP_PHASE_W { CAP_PHASE_W::new(self, 0) } diff --git a/esp32c6/src/mcpwm0/ch.rs b/esp32c6/src/mcpwm0/ch.rs index 6a03507a90..cca1144c96 100644 --- a/esp32c6/src/mcpwm0/ch.rs +++ b/esp32c6/src/mcpwm0/ch.rs @@ -43,6 +43,8 @@ impl CH { &self.gen_force } #[doc = "0x14..0x1c - Actions triggered by events on PWMx%s"] + #[doc = ""] + #[doc = "
`n` is the index of register in the array. `n == 0` corresponds to `GENA` register.
"] #[inline(always)] pub const fn gen(&self, n: usize) -> &GEN { &self.gen[n] diff --git a/esp32c6/src/mcpwm0/ch/carrier_cfg.rs b/esp32c6/src/mcpwm0/ch/carrier_cfg.rs index fdd03b796e..6293ba64a0 100644 --- a/esp32c6/src/mcpwm0/ch/carrier_cfg.rs +++ b/esp32c6/src/mcpwm0/ch/carrier_cfg.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - When set, carrier0 function is enabled. When cleared, carrier0 is bypassed"] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 0) } #[doc = "Bits 1:4 - PWM carrier0 clock (PC_clk) prescale value. Period of PC_clk = period of PWM_clk * (PWM_CARRIER0_PRESCALE + 1)"] #[inline(always)] - #[must_use] pub fn prescale(&mut self) -> PRESCALE_W { PRESCALE_W::new(self, 1) } #[doc = "Bits 5:7 - carrier duty selection. Duty = PWM_CARRIER0_DUTY / 8"] #[inline(always)] - #[must_use] pub fn duty(&mut self) -> DUTY_W { DUTY_W::new(self, 5) } #[doc = "Bits 8:11 - width of the first pulse in number of periods of the carrier"] #[inline(always)] - #[must_use] pub fn oshtwth(&mut self) -> OSHTWTH_W { OSHTWTH_W::new(self, 8) } #[doc = "Bit 12 - when set, invert the output of PWM0A and PWM0B for this submodule"] #[inline(always)] - #[must_use] pub fn out_invert(&mut self) -> OUT_INVERT_W { OUT_INVERT_W::new(self, 12) } #[doc = "Bit 13 - when set, invert the input of PWM0A and PWM0B for this submodule"] #[inline(always)] - #[must_use] pub fn in_invert(&mut self) -> IN_INVERT_W { IN_INVERT_W::new(self, 13) } diff --git a/esp32c6/src/mcpwm0/ch/dt_cfg.rs b/esp32c6/src/mcpwm0/ch/dt_cfg.rs index 4da37a2f86..7720b26f22 100644 --- a/esp32c6/src/mcpwm0/ch/dt_cfg.rs +++ b/esp32c6/src/mcpwm0/ch/dt_cfg.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Update method for FED (rising edge delay) active register. 0: immediate, when bit0 is set to 1: tez, when bit1 is set to 1:tep, when bit2 is set to 1: sync, when bit3 is set to 1: disable the update"] #[inline(always)] - #[must_use] pub fn fed_upmethod(&mut self) -> FED_UPMETHOD_W { FED_UPMETHOD_W::new(self, 0) } #[doc = "Bits 4:7 - Update method for RED (rising edge delay) active register. 0: immediate, when bit0 is set to 1: tez, when bit1 is set to 1:tep, when bit2 is set to 1: sync, when bit3 is set to 1: disable the update"] #[inline(always)] - #[must_use] pub fn red_upmethod(&mut self) -> RED_UPMETHOD_W { RED_UPMETHOD_W::new(self, 4) } #[doc = "Bit 8 - S8 in table, dual-edge B mode, 0: fed/red take effect on different path separately, 1: fed/red take effect on B path, A out is in bypass or dulpB mode"] #[inline(always)] - #[must_use] pub fn deb_mode(&mut self) -> DEB_MODE_W { DEB_MODE_W::new(self, 8) } #[doc = "Bit 9 - S6 in table"] #[inline(always)] - #[must_use] pub fn a_outswap(&mut self) -> A_OUTSWAP_W { A_OUTSWAP_W::new(self, 9) } #[doc = "Bit 10 - S7 in table"] #[inline(always)] - #[must_use] pub fn b_outswap(&mut self) -> B_OUTSWAP_W { B_OUTSWAP_W::new(self, 10) } #[doc = "Bit 11 - S4 in table"] #[inline(always)] - #[must_use] pub fn red_insel(&mut self) -> RED_INSEL_W { RED_INSEL_W::new(self, 11) } #[doc = "Bit 12 - S5 in table"] #[inline(always)] - #[must_use] pub fn fed_insel(&mut self) -> FED_INSEL_W { FED_INSEL_W::new(self, 12) } #[doc = "Bit 13 - S2 in table"] #[inline(always)] - #[must_use] pub fn red_outinvert(&mut self) -> RED_OUTINVERT_W { RED_OUTINVERT_W::new(self, 13) } #[doc = "Bit 14 - S3 in table"] #[inline(always)] - #[must_use] pub fn fed_outinvert(&mut self) -> FED_OUTINVERT_W { FED_OUTINVERT_W::new(self, 14) } #[doc = "Bit 15 - S1 in table"] #[inline(always)] - #[must_use] pub fn a_outbypass(&mut self) -> A_OUTBYPASS_W { A_OUTBYPASS_W::new(self, 15) } #[doc = "Bit 16 - S0 in table"] #[inline(always)] - #[must_use] pub fn b_outbypass(&mut self) -> B_OUTBYPASS_W { B_OUTBYPASS_W::new(self, 16) } #[doc = "Bit 17 - Dead time generator 0 clock selection. 0: PWM_clk, 1: PT_clk"] #[inline(always)] - #[must_use] pub fn clk_sel(&mut self) -> CLK_SEL_W { CLK_SEL_W::new(self, 17) } diff --git a/esp32c6/src/mcpwm0/ch/dt_fed_cfg.rs b/esp32c6/src/mcpwm0/ch/dt_fed_cfg.rs index 38a431a3ce..8be890e070 100644 --- a/esp32c6/src/mcpwm0/ch/dt_fed_cfg.rs +++ b/esp32c6/src/mcpwm0/ch/dt_fed_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Shadow register for FED"] #[inline(always)] - #[must_use] pub fn fed(&mut self) -> FED_W { FED_W::new(self, 0) } diff --git a/esp32c6/src/mcpwm0/ch/dt_red_cfg.rs b/esp32c6/src/mcpwm0/ch/dt_red_cfg.rs index ebc0497725..e481461175 100644 --- a/esp32c6/src/mcpwm0/ch/dt_red_cfg.rs +++ b/esp32c6/src/mcpwm0/ch/dt_red_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Shadow register for RED"] #[inline(always)] - #[must_use] pub fn red(&mut self) -> RED_W { RED_W::new(self, 0) } diff --git a/esp32c6/src/mcpwm0/ch/fh_cfg0.rs b/esp32c6/src/mcpwm0/ch/fh_cfg0.rs index 9df4c2e778..dbe62afd74 100644 --- a/esp32c6/src/mcpwm0/ch/fh_cfg0.rs +++ b/esp32c6/src/mcpwm0/ch/fh_cfg0.rs @@ -174,97 +174,81 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Enable register for software force cycle-by-cycle mode action. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn sw_cbc(&mut self) -> SW_CBC_W { SW_CBC_W::new(self, 0) } #[doc = "Bit 1 - event_f2 will trigger cycle-by-cycle mode action. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn f2_cbc(&mut self) -> F2_CBC_W { F2_CBC_W::new(self, 1) } #[doc = "Bit 2 - event_f1 will trigger cycle-by-cycle mode action. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn f1_cbc(&mut self) -> F1_CBC_W { F1_CBC_W::new(self, 2) } #[doc = "Bit 3 - event_f0 will trigger cycle-by-cycle mode action. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn f0_cbc(&mut self) -> F0_CBC_W { F0_CBC_W::new(self, 3) } #[doc = "Bit 4 - Enable register for software force one-shot mode action. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn sw_ost(&mut self) -> SW_OST_W { SW_OST_W::new(self, 4) } #[doc = "Bit 5 - event_f2 will trigger one-shot mode action. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn f2_ost(&mut self) -> F2_OST_W { F2_OST_W::new(self, 5) } #[doc = "Bit 6 - event_f1 will trigger one-shot mode action. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn f1_ost(&mut self) -> F1_OST_W { F1_OST_W::new(self, 6) } #[doc = "Bit 7 - event_f0 will trigger one-shot mode action. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn f0_ost(&mut self) -> F0_OST_W { F0_OST_W::new(self, 7) } #[doc = "Bits 8:9 - Cycle-by-cycle mode action on PWM0A when fault event occurs and timer is decreasing. 0: do nothing, 1: force low, 2: force high, 3: toggle"] #[inline(always)] - #[must_use] pub fn a_cbc_d(&mut self) -> A_CBC_D_W { A_CBC_D_W::new(self, 8) } #[doc = "Bits 10:11 - Cycle-by-cycle mode action on PWM0A when fault event occurs and timer is increasing. 0: do nothing, 1: force low, 2: force high, 3: toggle"] #[inline(always)] - #[must_use] pub fn a_cbc_u(&mut self) -> A_CBC_U_W { A_CBC_U_W::new(self, 10) } #[doc = "Bits 12:13 - One-shot mode action on PWM0A when fault event occurs and timer is decreasing. 0: do nothing, 1: force low, 2: force high, 3: toggle"] #[inline(always)] - #[must_use] pub fn a_ost_d(&mut self) -> A_OST_D_W { A_OST_D_W::new(self, 12) } #[doc = "Bits 14:15 - One-shot mode action on PWM0A when fault event occurs and timer is increasing. 0: do nothing, 1: force low, 2: force high, 3: toggle"] #[inline(always)] - #[must_use] pub fn a_ost_u(&mut self) -> A_OST_U_W { A_OST_U_W::new(self, 14) } #[doc = "Bits 16:17 - Cycle-by-cycle mode action on PWM0B when fault event occurs and timer is decreasing. 0: do nothing, 1: force low, 2: force high, 3: toggle"] #[inline(always)] - #[must_use] pub fn b_cbc_d(&mut self) -> B_CBC_D_W { B_CBC_D_W::new(self, 16) } #[doc = "Bits 18:19 - Cycle-by-cycle mode action on PWM0B when fault event occurs and timer is increasing. 0: do nothing,1: force low, 2: force high, 3: toggle"] #[inline(always)] - #[must_use] pub fn b_cbc_u(&mut self) -> B_CBC_U_W { B_CBC_U_W::new(self, 18) } #[doc = "Bits 20:21 - One-shot mode action on PWM0B when fault event occurs and timer is decreasing. 0: do nothing, 1: force low, 2: force high, 3: toggle"] #[inline(always)] - #[must_use] pub fn b_ost_d(&mut self) -> B_OST_D_W { B_OST_D_W::new(self, 20) } #[doc = "Bits 22:23 - One-shot mode action on PWM0B when fault event occurs and timer is increasing. 0: do nothing, 1: force low, 2: force high, 3: toggle"] #[inline(always)] - #[must_use] pub fn b_ost_u(&mut self) -> B_OST_U_W { B_OST_U_W::new(self, 22) } diff --git a/esp32c6/src/mcpwm0/ch/fh_cfg1.rs b/esp32c6/src/mcpwm0/ch/fh_cfg1.rs index aa12011432..59ddd93769 100644 --- a/esp32c6/src/mcpwm0/ch/fh_cfg1.rs +++ b/esp32c6/src/mcpwm0/ch/fh_cfg1.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - a rising edge will clear on going one-shot mode action"] #[inline(always)] - #[must_use] pub fn clr_ost(&mut self) -> CLR_OST_W { CLR_OST_W::new(self, 0) } #[doc = "Bits 1:2 - cycle-by-cycle mode action refresh moment selection. When bit0 is set to 1: TEZ, when bit1 is set to 1:TEP"] #[inline(always)] - #[must_use] pub fn cbcpulse(&mut self) -> CBCPULSE_W { CBCPULSE_W::new(self, 1) } #[doc = "Bit 3 - a toggle trigger a cycle-by-cycle mode action"] #[inline(always)] - #[must_use] pub fn force_cbc(&mut self) -> FORCE_CBC_W { FORCE_CBC_W::new(self, 3) } #[doc = "Bit 4 - a toggle (software negate its value) triggers a one-shot mode action"] #[inline(always)] - #[must_use] pub fn force_ost(&mut self) -> FORCE_OST_W { FORCE_OST_W::new(self, 4) } diff --git a/esp32c6/src/mcpwm0/ch/gen.rs b/esp32c6/src/mcpwm0/ch/gen.rs index 14cc231d33..86886c7611 100644 --- a/esp32c6/src/mcpwm0/ch/gen.rs +++ b/esp32c6/src/mcpwm0/ch/gen.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Action on PWM0A triggered by event TEZ when timer increasing"] #[inline(always)] - #[must_use] pub fn utez(&mut self) -> UTEZ_W { UTEZ_W::new(self, 0) } #[doc = "Bits 2:3 - Action on PWM0A triggered by event TEP when timer increasing"] #[inline(always)] - #[must_use] pub fn utep(&mut self) -> UTEP_W { UTEP_W::new(self, 2) } #[doc = "Bits 4:5 - Action on PWM0A triggered by event TEA when timer increasing"] #[inline(always)] - #[must_use] pub fn utea(&mut self) -> UTEA_W { UTEA_W::new(self, 4) } #[doc = "Bits 6:7 - Action on PWM0A triggered by event TEB when timer increasing"] #[inline(always)] - #[must_use] pub fn uteb(&mut self) -> UTEB_W { UTEB_W::new(self, 6) } #[doc = "Bits 8:9 - Action on PWM0A triggered by event_t0 when timer increasing"] #[inline(always)] - #[must_use] pub fn ut0(&mut self) -> UT0_W { UT0_W::new(self, 8) } #[doc = "Bits 10:11 - Action on PWM0A triggered by event_t1 when timer increasing"] #[inline(always)] - #[must_use] pub fn ut1(&mut self) -> UT1_W { UT1_W::new(self, 10) } #[doc = "Bits 12:13 - Action on PWM0A triggered by event TEZ when timer decreasing"] #[inline(always)] - #[must_use] pub fn dtez(&mut self) -> DTEZ_W { DTEZ_W::new(self, 12) } #[doc = "Bits 14:15 - Action on PWM0A triggered by event TEP when timer decreasing"] #[inline(always)] - #[must_use] pub fn dtep(&mut self) -> DTEP_W { DTEP_W::new(self, 14) } #[doc = "Bits 16:17 - Action on PWM0A triggered by event TEA when timer decreasing"] #[inline(always)] - #[must_use] pub fn dtea(&mut self) -> DTEA_W { DTEA_W::new(self, 16) } #[doc = "Bits 18:19 - Action on PWM0A triggered by event TEB when timer decreasing"] #[inline(always)] - #[must_use] pub fn dteb(&mut self) -> DTEB_W { DTEB_W::new(self, 18) } #[doc = "Bits 20:21 - Action on PWM0A triggered by event_t0 when timer decreasing"] #[inline(always)] - #[must_use] pub fn dt0(&mut self) -> DT0_W { DT0_W::new(self, 20) } #[doc = "Bits 22:23 - Action on PWM0A triggered by event_t1 when timer decreasing. 0: no change, 1: low, 2: high, 3: toggle"] #[inline(always)] - #[must_use] pub fn dt1(&mut self) -> DT1_W { DT1_W::new(self, 22) } diff --git a/esp32c6/src/mcpwm0/ch/gen_cfg0.rs b/esp32c6/src/mcpwm0/ch/gen_cfg0.rs index 71bd40db05..704df172cc 100644 --- a/esp32c6/src/mcpwm0/ch/gen_cfg0.rs +++ b/esp32c6/src/mcpwm0/ch/gen_cfg0.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Update method for PWM generator 0's active register of configuration. When all bits are set to 0: immediately, when bit0 is set to 1: TEZ, when bit1 is set to 1:TEP,when bit2 is set to 1:sync,when bit3 is set to 1:disable the update"] #[inline(always)] - #[must_use] pub fn cfg_upmethod(&mut self) -> CFG_UPMETHOD_W { CFG_UPMETHOD_W::new(self, 0) } #[doc = "Bits 4:6 - Source selection for PWM generator 0 event_t0, take effect immediately, 0: fault_event0, 1: fault_event1, 2: fault_event2, 3: sync_taken, 4: none"] #[inline(always)] - #[must_use] pub fn t0_sel(&mut self) -> T0_SEL_W { T0_SEL_W::new(self, 4) } #[doc = "Bits 7:9 - Source selection for PWM generator 0 event_t1, take effect immediately, 0: fault_event0, 1: fault_event1, 2: fault_event2, 3: sync_taken, 4: none"] #[inline(always)] - #[must_use] pub fn t1_sel(&mut self) -> T1_SEL_W { T1_SEL_W::new(self, 7) } diff --git a/esp32c6/src/mcpwm0/ch/gen_force.rs b/esp32c6/src/mcpwm0/ch/gen_force.rs index 752e3fbccb..2e358f06d7 100644 --- a/esp32c6/src/mcpwm0/ch/gen_force.rs +++ b/esp32c6/src/mcpwm0/ch/gen_force.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - Updating method for continuous software force of PWM generator0. When all bits are set to 0: immediately, when bit0 is set to 1: TEZ,,when bit1 is set to 1: TEP, when bit2 is set to 1: TEA, when bit3 is set to 1: TEB, when bit4 is set to 1: sync, when bit5 is set to 1: disable update. (TEA/B here and below means an event generated when the timer's value equals to that of register A/B.)"] #[inline(always)] - #[must_use] pub fn cntuforce_upmethod(&mut self) -> CNTUFORCE_UPMETHOD_W { CNTUFORCE_UPMETHOD_W::new(self, 0) } #[doc = "Bits 6:7 - Continuous software force mode for PWM0A. 0: disabled, 1: low, 2: high, 3: disabled"] #[inline(always)] - #[must_use] pub fn a_cntuforce_mode(&mut self) -> A_CNTUFORCE_MODE_W { A_CNTUFORCE_MODE_W::new(self, 6) } #[doc = "Bits 8:9 - Continuous software force mode for PWM0B. 0: disabled, 1: low, 2: high, 3: disabled"] #[inline(always)] - #[must_use] pub fn b_cntuforce_mode(&mut self) -> B_CNTUFORCE_MODE_W { B_CNTUFORCE_MODE_W::new(self, 8) } #[doc = "Bit 10 - Trigger of non-continuous immediate software-force event for PWM0A, a toggle will trigger a force event."] #[inline(always)] - #[must_use] pub fn a_nciforce(&mut self) -> A_NCIFORCE_W { A_NCIFORCE_W::new(self, 10) } #[doc = "Bits 11:12 - non-continuous immediate software force mode for PWM0A, 0: disabled, 1: low, 2: high, 3: disabled"] #[inline(always)] - #[must_use] pub fn a_nciforce_mode(&mut self) -> A_NCIFORCE_MODE_W { A_NCIFORCE_MODE_W::new(self, 11) } #[doc = "Bit 13 - Trigger of non-continuous immediate software-force event for PWM0B, a toggle will trigger a force event."] #[inline(always)] - #[must_use] pub fn b_nciforce(&mut self) -> B_NCIFORCE_W { B_NCIFORCE_W::new(self, 13) } #[doc = "Bits 14:15 - non-continuous immediate software force mode for PWM0B, 0: disabled, 1: low, 2: high, 3: disabled"] #[inline(always)] - #[must_use] pub fn b_nciforce_mode(&mut self) -> B_NCIFORCE_MODE_W { B_NCIFORCE_MODE_W::new(self, 14) } diff --git a/esp32c6/src/mcpwm0/ch/gen_stmp_cfg.rs b/esp32c6/src/mcpwm0/ch/gen_stmp_cfg.rs index 01ae2ef3e9..b6c42450ae 100644 --- a/esp32c6/src/mcpwm0/ch/gen_stmp_cfg.rs +++ b/esp32c6/src/mcpwm0/ch/gen_stmp_cfg.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Update method for PWM generator 0 time stamp A's active register. When all bits are set to 0: immediately, when bit0 is set to 1: TEZ, when bit1 is set to 1: TEP,when bit2 is set to 1: sync, when bit3 is set to 1: disable the update."] #[inline(always)] - #[must_use] pub fn a_upmethod(&mut self) -> A_UPMETHOD_W { A_UPMETHOD_W::new(self, 0) } #[doc = "Bits 4:7 - Update method for PWM generator 0 time stamp B's active register. When all bits are set to 0: immediately, when bit0 is set to 1: TEZ, when bit1 is set to 1: TEP,when bit2 is set to 1: sync, when bit3 is set to 1: disable the update."] #[inline(always)] - #[must_use] pub fn b_upmethod(&mut self) -> B_UPMETHOD_W { B_UPMETHOD_W::new(self, 4) } #[doc = "Bit 8 - Set and reset by hardware. If set, PWM generator 0 time stamp A's shadow reg is filled and waiting to be transferred to A's active reg. If cleared, A's active reg has been updated with shadow register latest value"] #[inline(always)] - #[must_use] pub fn a_shdw_full(&mut self) -> A_SHDW_FULL_W { A_SHDW_FULL_W::new(self, 8) } #[doc = "Bit 9 - Set and reset by hardware. If set, PWM generator 0 time stamp B's shadow reg is filled and waiting to be transferred to B's active reg. If cleared, B's active reg has been updated with shadow register latest value"] #[inline(always)] - #[must_use] pub fn b_shdw_full(&mut self) -> B_SHDW_FULL_W { B_SHDW_FULL_W::new(self, 9) } diff --git a/esp32c6/src/mcpwm0/ch/gen_tstmp_a.rs b/esp32c6/src/mcpwm0/ch/gen_tstmp_a.rs index 590d32157f..c53695b75d 100644 --- a/esp32c6/src/mcpwm0/ch/gen_tstmp_a.rs +++ b/esp32c6/src/mcpwm0/ch/gen_tstmp_a.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - PWM generator 0 time stamp A's shadow register"] #[inline(always)] - #[must_use] pub fn a(&mut self) -> A_W { A_W::new(self, 0) } diff --git a/esp32c6/src/mcpwm0/ch/gen_tstmp_b.rs b/esp32c6/src/mcpwm0/ch/gen_tstmp_b.rs index a3fd5194dd..469871e575 100644 --- a/esp32c6/src/mcpwm0/ch/gen_tstmp_b.rs +++ b/esp32c6/src/mcpwm0/ch/gen_tstmp_b.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - PWM generator 0 time stamp B's shadow register"] #[inline(always)] - #[must_use] pub fn b(&mut self) -> B_W { B_W::new(self, 0) } diff --git a/esp32c6/src/mcpwm0/clk.rs b/esp32c6/src/mcpwm0/clk.rs index c4670f574f..96b434258d 100644 --- a/esp32c6/src/mcpwm0/clk.rs +++ b/esp32c6/src/mcpwm0/clk.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Force clock on for this register file"] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 0) } diff --git a/esp32c6/src/mcpwm0/clk_cfg.rs b/esp32c6/src/mcpwm0/clk_cfg.rs index ed95a9e94d..a28c881f05 100644 --- a/esp32c6/src/mcpwm0/clk_cfg.rs +++ b/esp32c6/src/mcpwm0/clk_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Period of PWM_clk = 6.25ns * (PWM_CLK_PRESCALE + 1)"] #[inline(always)] - #[must_use] pub fn clk_prescale(&mut self) -> CLK_PRESCALE_W { CLK_PRESCALE_W::new(self, 0) } diff --git a/esp32c6/src/mcpwm0/evt_en.rs b/esp32c6/src/mcpwm0/evt_en.rs index 7d34e41adf..dd88623e38 100644 --- a/esp32c6/src/mcpwm0/evt_en.rs +++ b/esp32c6/src/mcpwm0/evt_en.rs @@ -314,181 +314,151 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - set this bit high to enable timer0 stop event generate"] #[inline(always)] - #[must_use] pub fn evt_timer0_stop_en(&mut self) -> EVT_TIMER0_STOP_EN_W { EVT_TIMER0_STOP_EN_W::new(self, 0) } #[doc = "Bit 1 - set this bit high to enable timer1 stop event generate"] #[inline(always)] - #[must_use] pub fn evt_timer1_stop_en(&mut self) -> EVT_TIMER1_STOP_EN_W { EVT_TIMER1_STOP_EN_W::new(self, 1) } #[doc = "Bit 2 - set this bit high to enable timer2 stop event generate"] #[inline(always)] - #[must_use] pub fn evt_timer2_stop_en(&mut self) -> EVT_TIMER2_STOP_EN_W { EVT_TIMER2_STOP_EN_W::new(self, 2) } #[doc = "Bit 3 - set this bit high to enable timer0 equal zero event generate"] #[inline(always)] - #[must_use] pub fn evt_timer0_tez_en(&mut self) -> EVT_TIMER0_TEZ_EN_W { EVT_TIMER0_TEZ_EN_W::new(self, 3) } #[doc = "Bit 4 - set this bit high to enable timer1 equal zero event generate"] #[inline(always)] - #[must_use] pub fn evt_timer1_tez_en(&mut self) -> EVT_TIMER1_TEZ_EN_W { EVT_TIMER1_TEZ_EN_W::new(self, 4) } #[doc = "Bit 5 - set this bit high to enable timer2 equal zero event generate"] #[inline(always)] - #[must_use] pub fn evt_timer2_tez_en(&mut self) -> EVT_TIMER2_TEZ_EN_W { EVT_TIMER2_TEZ_EN_W::new(self, 5) } #[doc = "Bit 6 - set this bit high to enable timer0 equal period event generate"] #[inline(always)] - #[must_use] pub fn evt_timer0_tep_en(&mut self) -> EVT_TIMER0_TEP_EN_W { EVT_TIMER0_TEP_EN_W::new(self, 6) } #[doc = "Bit 7 - set this bit high to enable timer1 equal period event generate"] #[inline(always)] - #[must_use] pub fn evt_timer1_tep_en(&mut self) -> EVT_TIMER1_TEP_EN_W { EVT_TIMER1_TEP_EN_W::new(self, 7) } #[doc = "Bit 8 - set this bit high to enable timer2 equal period event generate"] #[inline(always)] - #[must_use] pub fn evt_timer2_tep_en(&mut self) -> EVT_TIMER2_TEP_EN_W { EVT_TIMER2_TEP_EN_W::new(self, 8) } #[doc = "Bit 9 - set this bit high to enable PWM generator0 timer equal a event generate"] #[inline(always)] - #[must_use] pub fn evt_op0_tea_en(&mut self) -> EVT_OP0_TEA_EN_W { EVT_OP0_TEA_EN_W::new(self, 9) } #[doc = "Bit 10 - set this bit high to enable PWM generator1 timer equal a event generate"] #[inline(always)] - #[must_use] pub fn evt_op1_tea_en(&mut self) -> EVT_OP1_TEA_EN_W { EVT_OP1_TEA_EN_W::new(self, 10) } #[doc = "Bit 11 - set this bit high to enable PWM generator2 timer equal a event generate"] #[inline(always)] - #[must_use] pub fn evt_op2_tea_en(&mut self) -> EVT_OP2_TEA_EN_W { EVT_OP2_TEA_EN_W::new(self, 11) } #[doc = "Bit 12 - set this bit high to enable PWM generator0 timer equal b event generate"] #[inline(always)] - #[must_use] pub fn evt_op0_teb_en(&mut self) -> EVT_OP0_TEB_EN_W { EVT_OP0_TEB_EN_W::new(self, 12) } #[doc = "Bit 13 - set this bit high to enable PWM generator1 timer equal b event generate"] #[inline(always)] - #[must_use] pub fn evt_op1_teb_en(&mut self) -> EVT_OP1_TEB_EN_W { EVT_OP1_TEB_EN_W::new(self, 13) } #[doc = "Bit 14 - set this bit high to enable PWM generator2 timer equal b event generate"] #[inline(always)] - #[must_use] pub fn evt_op2_teb_en(&mut self) -> EVT_OP2_TEB_EN_W { EVT_OP2_TEB_EN_W::new(self, 14) } #[doc = "Bit 15 - set this bit high to enable fault0 event generate"] #[inline(always)] - #[must_use] pub fn evt_f0_en(&mut self) -> EVT_F0_EN_W { EVT_F0_EN_W::new(self, 15) } #[doc = "Bit 16 - set this bit high to enable fault1 event generate"] #[inline(always)] - #[must_use] pub fn evt_f1_en(&mut self) -> EVT_F1_EN_W { EVT_F1_EN_W::new(self, 16) } #[doc = "Bit 17 - set this bit high to enable fault2 event generate"] #[inline(always)] - #[must_use] pub fn evt_f2_en(&mut self) -> EVT_F2_EN_W { EVT_F2_EN_W::new(self, 17) } #[doc = "Bit 18 - set this bit high to enable fault0 clear event generate"] #[inline(always)] - #[must_use] pub fn evt_f0_clr_en(&mut self) -> EVT_F0_CLR_EN_W { EVT_F0_CLR_EN_W::new(self, 18) } #[doc = "Bit 19 - set this bit high to enable fault1 clear event generate"] #[inline(always)] - #[must_use] pub fn evt_f1_clr_en(&mut self) -> EVT_F1_CLR_EN_W { EVT_F1_CLR_EN_W::new(self, 19) } #[doc = "Bit 20 - set this bit high to enable fault2 clear event generate"] #[inline(always)] - #[must_use] pub fn evt_f2_clr_en(&mut self) -> EVT_F2_CLR_EN_W { EVT_F2_CLR_EN_W::new(self, 20) } #[doc = "Bit 21 - set this bit high to enable cycle by cycle trip0 event generate"] #[inline(always)] - #[must_use] pub fn evt_tz0_cbc_en(&mut self) -> EVT_TZ0_CBC_EN_W { EVT_TZ0_CBC_EN_W::new(self, 21) } #[doc = "Bit 22 - set this bit high to enable cycle by cycle trip1 event generate"] #[inline(always)] - #[must_use] pub fn evt_tz1_cbc_en(&mut self) -> EVT_TZ1_CBC_EN_W { EVT_TZ1_CBC_EN_W::new(self, 22) } #[doc = "Bit 23 - set this bit high to enable cycle by cycle trip2 event generate"] #[inline(always)] - #[must_use] pub fn evt_tz2_cbc_en(&mut self) -> EVT_TZ2_CBC_EN_W { EVT_TZ2_CBC_EN_W::new(self, 23) } #[doc = "Bit 24 - set this bit high to enable one shot trip0 event generate"] #[inline(always)] - #[must_use] pub fn evt_tz0_ost_en(&mut self) -> EVT_TZ0_OST_EN_W { EVT_TZ0_OST_EN_W::new(self, 24) } #[doc = "Bit 25 - set this bit high to enable one shot trip1 event generate"] #[inline(always)] - #[must_use] pub fn evt_tz1_ost_en(&mut self) -> EVT_TZ1_OST_EN_W { EVT_TZ1_OST_EN_W::new(self, 25) } #[doc = "Bit 26 - set this bit high to enable one shot trip2 event generate"] #[inline(always)] - #[must_use] pub fn evt_tz2_ost_en(&mut self) -> EVT_TZ2_OST_EN_W { EVT_TZ2_OST_EN_W::new(self, 26) } #[doc = "Bit 27 - set this bit high to enable capture0 event generate"] #[inline(always)] - #[must_use] pub fn evt_cap0_en(&mut self) -> EVT_CAP0_EN_W { EVT_CAP0_EN_W::new(self, 27) } #[doc = "Bit 28 - set this bit high to enable capture1 event generate"] #[inline(always)] - #[must_use] pub fn evt_cap1_en(&mut self) -> EVT_CAP1_EN_W { EVT_CAP1_EN_W::new(self, 28) } #[doc = "Bit 29 - set this bit high to enable capture2 event generate"] #[inline(always)] - #[must_use] pub fn evt_cap2_en(&mut self) -> EVT_CAP2_EN_W { EVT_CAP2_EN_W::new(self, 29) } diff --git a/esp32c6/src/mcpwm0/fault_detect.rs b/esp32c6/src/mcpwm0/fault_detect.rs index a8284997cc..774c7e5f2f 100644 --- a/esp32c6/src/mcpwm0/fault_detect.rs +++ b/esp32c6/src/mcpwm0/fault_detect.rs @@ -98,37 +98,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - When set, event_f0 generation is enabled"] #[inline(always)] - #[must_use] pub fn f0_en(&mut self) -> F0_EN_W { F0_EN_W::new(self, 0) } #[doc = "Bit 1 - When set, event_f1 generation is enabled"] #[inline(always)] - #[must_use] pub fn f1_en(&mut self) -> F1_EN_W { F1_EN_W::new(self, 1) } #[doc = "Bit 2 - When set, event_f2 generation is enabled"] #[inline(always)] - #[must_use] pub fn f2_en(&mut self) -> F2_EN_W { F2_EN_W::new(self, 2) } #[doc = "Bit 3 - Set event_f0 trigger polarity on FAULT2 source from GPIO matrix. 0: level low, 1: level high"] #[inline(always)] - #[must_use] pub fn f0_pole(&mut self) -> F0_POLE_W { F0_POLE_W::new(self, 3) } #[doc = "Bit 4 - Set event_f1 trigger polarity on FAULT2 source from GPIO matrix. 0: level low, 1: level high"] #[inline(always)] - #[must_use] pub fn f1_pole(&mut self) -> F1_POLE_W { F1_POLE_W::new(self, 4) } #[doc = "Bit 5 - Set event_f2 trigger polarity on FAULT2 source from GPIO matrix. 0: level low, 1: level high"] #[inline(always)] - #[must_use] pub fn f2_pole(&mut self) -> F2_POLE_W { F2_POLE_W::new(self, 5) } diff --git a/esp32c6/src/mcpwm0/int_clr.rs b/esp32c6/src/mcpwm0/int_clr.rs index 183623d7c7..14b6ef10dc 100644 --- a/esp32c6/src/mcpwm0/int_clr.rs +++ b/esp32c6/src/mcpwm0/int_clr.rs @@ -69,181 +69,151 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the interrupt triggered when the timer 0 stops."] #[inline(always)] - #[must_use] pub fn timer0_stop(&mut self) -> TIMER0_STOP_W { TIMER0_STOP_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the interrupt triggered when the timer 1 stops."] #[inline(always)] - #[must_use] pub fn timer1_stop(&mut self) -> TIMER1_STOP_W { TIMER1_STOP_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the interrupt triggered when the timer 2 stops."] #[inline(always)] - #[must_use] pub fn timer2_stop(&mut self) -> TIMER2_STOP_W { TIMER2_STOP_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the interrupt triggered by a PWM timer 0 TEZ event."] #[inline(always)] - #[must_use] pub fn timer0_tez(&mut self) -> TIMER0_TEZ_W { TIMER0_TEZ_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear the interrupt triggered by a PWM timer 1 TEZ event."] #[inline(always)] - #[must_use] pub fn timer1_tez(&mut self) -> TIMER1_TEZ_W { TIMER1_TEZ_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the interrupt triggered by a PWM timer 2 TEZ event."] #[inline(always)] - #[must_use] pub fn timer2_tez(&mut self) -> TIMER2_TEZ_W { TIMER2_TEZ_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the interrupt triggered by a PWM timer 0 TEP event."] #[inline(always)] - #[must_use] pub fn timer0_tep(&mut self) -> TIMER0_TEP_W { TIMER0_TEP_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the interrupt triggered by a PWM timer 1 TEP event."] #[inline(always)] - #[must_use] pub fn timer1_tep(&mut self) -> TIMER1_TEP_W { TIMER1_TEP_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the interrupt triggered by a PWM timer 2 TEP event."] #[inline(always)] - #[must_use] pub fn timer2_tep(&mut self) -> TIMER2_TEP_W { TIMER2_TEP_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear the interrupt triggered when event_f0 starts."] #[inline(always)] - #[must_use] pub fn fault0(&mut self) -> FAULT0_W { FAULT0_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to clear the interrupt triggered when event_f1 starts."] #[inline(always)] - #[must_use] pub fn fault1(&mut self) -> FAULT1_W { FAULT1_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear the interrupt triggered when event_f2 starts."] #[inline(always)] - #[must_use] pub fn fault2(&mut self) -> FAULT2_W { FAULT2_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to clear the interrupt triggered when event_f0 ends."] #[inline(always)] - #[must_use] pub fn fault0_clr(&mut self) -> FAULT0_CLR_W { FAULT0_CLR_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to clear the interrupt triggered when event_f1 ends."] #[inline(always)] - #[must_use] pub fn fault1_clr(&mut self) -> FAULT1_CLR_W { FAULT1_CLR_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to clear the interrupt triggered when event_f2 ends."] #[inline(always)] - #[must_use] pub fn fault2_clr(&mut self) -> FAULT2_CLR_W { FAULT2_CLR_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to clear the interrupt triggered by a PWM operator 0 TEA event"] #[inline(always)] - #[must_use] pub fn cmpr0_tea(&mut self) -> CMPR0_TEA_W { CMPR0_TEA_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to clear the interrupt triggered by a PWM operator 1 TEA event"] #[inline(always)] - #[must_use] pub fn cmpr1_tea(&mut self) -> CMPR1_TEA_W { CMPR1_TEA_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to clear the interrupt triggered by a PWM operator 2 TEA event"] #[inline(always)] - #[must_use] pub fn cmpr2_tea(&mut self) -> CMPR2_TEA_W { CMPR2_TEA_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to clear the interrupt triggered by a PWM operator 0 TEB event"] #[inline(always)] - #[must_use] pub fn cmpr0_teb(&mut self) -> CMPR0_TEB_W { CMPR0_TEB_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to clear the interrupt triggered by a PWM operator 1 TEB event"] #[inline(always)] - #[must_use] pub fn cmpr1_teb(&mut self) -> CMPR1_TEB_W { CMPR1_TEB_W::new(self, 19) } #[doc = "Bit 20 - Set this bit to clear the interrupt triggered by a PWM operator 2 TEB event"] #[inline(always)] - #[must_use] pub fn cmpr2_teb(&mut self) -> CMPR2_TEB_W { CMPR2_TEB_W::new(self, 20) } #[doc = "Bit 21 - Set this bit to clear the interrupt triggered by a cycle-by-cycle mode action on PWM0."] #[inline(always)] - #[must_use] pub fn tz0_cbc(&mut self) -> TZ0_CBC_W { TZ0_CBC_W::new(self, 21) } #[doc = "Bit 22 - Set this bit to clear the interrupt triggered by a cycle-by-cycle mode action on PWM1."] #[inline(always)] - #[must_use] pub fn tz1_cbc(&mut self) -> TZ1_CBC_W { TZ1_CBC_W::new(self, 22) } #[doc = "Bit 23 - Set this bit to clear the interrupt triggered by a cycle-by-cycle mode action on PWM2."] #[inline(always)] - #[must_use] pub fn tz2_cbc(&mut self) -> TZ2_CBC_W { TZ2_CBC_W::new(self, 23) } #[doc = "Bit 24 - Set this bit to clear the interrupt triggered by a one-shot mode action on PWM0."] #[inline(always)] - #[must_use] pub fn tz0_ost(&mut self) -> TZ0_OST_W { TZ0_OST_W::new(self, 24) } #[doc = "Bit 25 - Set this bit to clear the interrupt triggered by a one-shot mode action on PWM1."] #[inline(always)] - #[must_use] pub fn tz1_ost(&mut self) -> TZ1_OST_W { TZ1_OST_W::new(self, 25) } #[doc = "Bit 26 - Set this bit to clear the interrupt triggered by a one-shot mode action on PWM2."] #[inline(always)] - #[must_use] pub fn tz2_ost(&mut self) -> TZ2_OST_W { TZ2_OST_W::new(self, 26) } #[doc = "Bit 27 - Set this bit to clear the interrupt triggered by capture on channel 0."] #[inline(always)] - #[must_use] pub fn cap0(&mut self) -> CAP0_W { CAP0_W::new(self, 27) } #[doc = "Bit 28 - Set this bit to clear the interrupt triggered by capture on channel 1."] #[inline(always)] - #[must_use] pub fn cap1(&mut self) -> CAP1_W { CAP1_W::new(self, 28) } #[doc = "Bit 29 - Set this bit to clear the interrupt triggered by capture on channel 2."] #[inline(always)] - #[must_use] pub fn cap2(&mut self) -> CAP2_W { CAP2_W::new(self, 29) } diff --git a/esp32c6/src/mcpwm0/int_ena.rs b/esp32c6/src/mcpwm0/int_ena.rs index 7e6edb52ea..4dc8e3cb23 100644 --- a/esp32c6/src/mcpwm0/int_ena.rs +++ b/esp32c6/src/mcpwm0/int_ena.rs @@ -314,181 +314,151 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The enable bit for the interrupt triggered when the timer 0 stops."] #[inline(always)] - #[must_use] pub fn timer0_stop(&mut self) -> TIMER0_STOP_W { TIMER0_STOP_W::new(self, 0) } #[doc = "Bit 1 - The enable bit for the interrupt triggered when the timer 1 stops."] #[inline(always)] - #[must_use] pub fn timer1_stop(&mut self) -> TIMER1_STOP_W { TIMER1_STOP_W::new(self, 1) } #[doc = "Bit 2 - The enable bit for the interrupt triggered when the timer 2 stops."] #[inline(always)] - #[must_use] pub fn timer2_stop(&mut self) -> TIMER2_STOP_W { TIMER2_STOP_W::new(self, 2) } #[doc = "Bit 3 - The enable bit for the interrupt triggered by a PWM timer 0 TEZ event."] #[inline(always)] - #[must_use] pub fn timer0_tez(&mut self) -> TIMER0_TEZ_W { TIMER0_TEZ_W::new(self, 3) } #[doc = "Bit 4 - The enable bit for the interrupt triggered by a PWM timer 1 TEZ event."] #[inline(always)] - #[must_use] pub fn timer1_tez(&mut self) -> TIMER1_TEZ_W { TIMER1_TEZ_W::new(self, 4) } #[doc = "Bit 5 - The enable bit for the interrupt triggered by a PWM timer 2 TEZ event."] #[inline(always)] - #[must_use] pub fn timer2_tez(&mut self) -> TIMER2_TEZ_W { TIMER2_TEZ_W::new(self, 5) } #[doc = "Bit 6 - The enable bit for the interrupt triggered by a PWM timer 0 TEP event."] #[inline(always)] - #[must_use] pub fn timer0_tep(&mut self) -> TIMER0_TEP_W { TIMER0_TEP_W::new(self, 6) } #[doc = "Bit 7 - The enable bit for the interrupt triggered by a PWM timer 1 TEP event."] #[inline(always)] - #[must_use] pub fn timer1_tep(&mut self) -> TIMER1_TEP_W { TIMER1_TEP_W::new(self, 7) } #[doc = "Bit 8 - The enable bit for the interrupt triggered by a PWM timer 2 TEP event."] #[inline(always)] - #[must_use] pub fn timer2_tep(&mut self) -> TIMER2_TEP_W { TIMER2_TEP_W::new(self, 8) } #[doc = "Bit 9 - The enable bit for the interrupt triggered when event_f0 starts."] #[inline(always)] - #[must_use] pub fn fault0(&mut self) -> FAULT0_W { FAULT0_W::new(self, 9) } #[doc = "Bit 10 - The enable bit for the interrupt triggered when event_f1 starts."] #[inline(always)] - #[must_use] pub fn fault1(&mut self) -> FAULT1_W { FAULT1_W::new(self, 10) } #[doc = "Bit 11 - The enable bit for the interrupt triggered when event_f2 starts."] #[inline(always)] - #[must_use] pub fn fault2(&mut self) -> FAULT2_W { FAULT2_W::new(self, 11) } #[doc = "Bit 12 - The enable bit for the interrupt triggered when event_f0 ends."] #[inline(always)] - #[must_use] pub fn fault0_clr(&mut self) -> FAULT0_CLR_W { FAULT0_CLR_W::new(self, 12) } #[doc = "Bit 13 - The enable bit for the interrupt triggered when event_f1 ends."] #[inline(always)] - #[must_use] pub fn fault1_clr(&mut self) -> FAULT1_CLR_W { FAULT1_CLR_W::new(self, 13) } #[doc = "Bit 14 - The enable bit for the interrupt triggered when event_f2 ends."] #[inline(always)] - #[must_use] pub fn fault2_clr(&mut self) -> FAULT2_CLR_W { FAULT2_CLR_W::new(self, 14) } #[doc = "Bit 15 - The enable bit for the interrupt triggered by a PWM operator 0 TEA event"] #[inline(always)] - #[must_use] pub fn cmpr0_tea(&mut self) -> CMPR0_TEA_W { CMPR0_TEA_W::new(self, 15) } #[doc = "Bit 16 - The enable bit for the interrupt triggered by a PWM operator 1 TEA event"] #[inline(always)] - #[must_use] pub fn cmpr1_tea(&mut self) -> CMPR1_TEA_W { CMPR1_TEA_W::new(self, 16) } #[doc = "Bit 17 - The enable bit for the interrupt triggered by a PWM operator 2 TEA event"] #[inline(always)] - #[must_use] pub fn cmpr2_tea(&mut self) -> CMPR2_TEA_W { CMPR2_TEA_W::new(self, 17) } #[doc = "Bit 18 - The enable bit for the interrupt triggered by a PWM operator 0 TEB event"] #[inline(always)] - #[must_use] pub fn cmpr0_teb(&mut self) -> CMPR0_TEB_W { CMPR0_TEB_W::new(self, 18) } #[doc = "Bit 19 - The enable bit for the interrupt triggered by a PWM operator 1 TEB event"] #[inline(always)] - #[must_use] pub fn cmpr1_teb(&mut self) -> CMPR1_TEB_W { CMPR1_TEB_W::new(self, 19) } #[doc = "Bit 20 - The enable bit for the interrupt triggered by a PWM operator 2 TEB event"] #[inline(always)] - #[must_use] pub fn cmpr2_teb(&mut self) -> CMPR2_TEB_W { CMPR2_TEB_W::new(self, 20) } #[doc = "Bit 21 - The enable bit for the interrupt triggered by a cycle-by-cycle mode action on PWM0."] #[inline(always)] - #[must_use] pub fn tz0_cbc(&mut self) -> TZ0_CBC_W { TZ0_CBC_W::new(self, 21) } #[doc = "Bit 22 - The enable bit for the interrupt triggered by a cycle-by-cycle mode action on PWM1."] #[inline(always)] - #[must_use] pub fn tz1_cbc(&mut self) -> TZ1_CBC_W { TZ1_CBC_W::new(self, 22) } #[doc = "Bit 23 - The enable bit for the interrupt triggered by a cycle-by-cycle mode action on PWM2."] #[inline(always)] - #[must_use] pub fn tz2_cbc(&mut self) -> TZ2_CBC_W { TZ2_CBC_W::new(self, 23) } #[doc = "Bit 24 - The enable bit for the interrupt triggered by a one-shot mode action on PWM0."] #[inline(always)] - #[must_use] pub fn tz0_ost(&mut self) -> TZ0_OST_W { TZ0_OST_W::new(self, 24) } #[doc = "Bit 25 - The enable bit for the interrupt triggered by a one-shot mode action on PWM1."] #[inline(always)] - #[must_use] pub fn tz1_ost(&mut self) -> TZ1_OST_W { TZ1_OST_W::new(self, 25) } #[doc = "Bit 26 - The enable bit for the interrupt triggered by a one-shot mode action on PWM2."] #[inline(always)] - #[must_use] pub fn tz2_ost(&mut self) -> TZ2_OST_W { TZ2_OST_W::new(self, 26) } #[doc = "Bit 27 - The enable bit for the interrupt triggered by capture on channel 0."] #[inline(always)] - #[must_use] pub fn cap0(&mut self) -> CAP0_W { CAP0_W::new(self, 27) } #[doc = "Bit 28 - The enable bit for the interrupt triggered by capture on channel 1."] #[inline(always)] - #[must_use] pub fn cap1(&mut self) -> CAP1_W { CAP1_W::new(self, 28) } #[doc = "Bit 29 - The enable bit for the interrupt triggered by capture on channel 2."] #[inline(always)] - #[must_use] pub fn cap2(&mut self) -> CAP2_W { CAP2_W::new(self, 29) } diff --git a/esp32c6/src/mcpwm0/int_raw.rs b/esp32c6/src/mcpwm0/int_raw.rs index 56632ef162..dfb1e4d34b 100644 --- a/esp32c6/src/mcpwm0/int_raw.rs +++ b/esp32c6/src/mcpwm0/int_raw.rs @@ -314,181 +314,151 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw status bit for the interrupt triggered when the timer 0 stops."] #[inline(always)] - #[must_use] pub fn timer0_stop(&mut self) -> TIMER0_STOP_W { TIMER0_STOP_W::new(self, 0) } #[doc = "Bit 1 - The raw status bit for the interrupt triggered when the timer 1 stops."] #[inline(always)] - #[must_use] pub fn timer1_stop(&mut self) -> TIMER1_STOP_W { TIMER1_STOP_W::new(self, 1) } #[doc = "Bit 2 - The raw status bit for the interrupt triggered when the timer 2 stops."] #[inline(always)] - #[must_use] pub fn timer2_stop(&mut self) -> TIMER2_STOP_W { TIMER2_STOP_W::new(self, 2) } #[doc = "Bit 3 - The raw status bit for the interrupt triggered by a PWM timer 0 TEZ event."] #[inline(always)] - #[must_use] pub fn timer0_tez(&mut self) -> TIMER0_TEZ_W { TIMER0_TEZ_W::new(self, 3) } #[doc = "Bit 4 - The raw status bit for the interrupt triggered by a PWM timer 1 TEZ event."] #[inline(always)] - #[must_use] pub fn timer1_tez(&mut self) -> TIMER1_TEZ_W { TIMER1_TEZ_W::new(self, 4) } #[doc = "Bit 5 - The raw status bit for the interrupt triggered by a PWM timer 2 TEZ event."] #[inline(always)] - #[must_use] pub fn timer2_tez(&mut self) -> TIMER2_TEZ_W { TIMER2_TEZ_W::new(self, 5) } #[doc = "Bit 6 - The raw status bit for the interrupt triggered by a PWM timer 0 TEP event."] #[inline(always)] - #[must_use] pub fn timer0_tep(&mut self) -> TIMER0_TEP_W { TIMER0_TEP_W::new(self, 6) } #[doc = "Bit 7 - The raw status bit for the interrupt triggered by a PWM timer 1 TEP event."] #[inline(always)] - #[must_use] pub fn timer1_tep(&mut self) -> TIMER1_TEP_W { TIMER1_TEP_W::new(self, 7) } #[doc = "Bit 8 - The raw status bit for the interrupt triggered by a PWM timer 2 TEP event."] #[inline(always)] - #[must_use] pub fn timer2_tep(&mut self) -> TIMER2_TEP_W { TIMER2_TEP_W::new(self, 8) } #[doc = "Bit 9 - The raw status bit for the interrupt triggered when event_f0 starts."] #[inline(always)] - #[must_use] pub fn fault0(&mut self) -> FAULT0_W { FAULT0_W::new(self, 9) } #[doc = "Bit 10 - The raw status bit for the interrupt triggered when event_f1 starts."] #[inline(always)] - #[must_use] pub fn fault1(&mut self) -> FAULT1_W { FAULT1_W::new(self, 10) } #[doc = "Bit 11 - The raw status bit for the interrupt triggered when event_f2 starts."] #[inline(always)] - #[must_use] pub fn fault2(&mut self) -> FAULT2_W { FAULT2_W::new(self, 11) } #[doc = "Bit 12 - The raw status bit for the interrupt triggered when event_f0 ends."] #[inline(always)] - #[must_use] pub fn fault0_clr(&mut self) -> FAULT0_CLR_W { FAULT0_CLR_W::new(self, 12) } #[doc = "Bit 13 - The raw status bit for the interrupt triggered when event_f1 ends."] #[inline(always)] - #[must_use] pub fn fault1_clr(&mut self) -> FAULT1_CLR_W { FAULT1_CLR_W::new(self, 13) } #[doc = "Bit 14 - The raw status bit for the interrupt triggered when event_f2 ends."] #[inline(always)] - #[must_use] pub fn fault2_clr(&mut self) -> FAULT2_CLR_W { FAULT2_CLR_W::new(self, 14) } #[doc = "Bit 15 - The raw status bit for the interrupt triggered by a PWM operator 0 TEA event"] #[inline(always)] - #[must_use] pub fn cmpr0_tea(&mut self) -> CMPR0_TEA_W { CMPR0_TEA_W::new(self, 15) } #[doc = "Bit 16 - The raw status bit for the interrupt triggered by a PWM operator 1 TEA event"] #[inline(always)] - #[must_use] pub fn cmpr1_tea(&mut self) -> CMPR1_TEA_W { CMPR1_TEA_W::new(self, 16) } #[doc = "Bit 17 - The raw status bit for the interrupt triggered by a PWM operator 2 TEA event"] #[inline(always)] - #[must_use] pub fn cmpr2_tea(&mut self) -> CMPR2_TEA_W { CMPR2_TEA_W::new(self, 17) } #[doc = "Bit 18 - The raw status bit for the interrupt triggered by a PWM operator 0 TEB event"] #[inline(always)] - #[must_use] pub fn cmpr0_teb(&mut self) -> CMPR0_TEB_W { CMPR0_TEB_W::new(self, 18) } #[doc = "Bit 19 - The raw status bit for the interrupt triggered by a PWM operator 1 TEB event"] #[inline(always)] - #[must_use] pub fn cmpr1_teb(&mut self) -> CMPR1_TEB_W { CMPR1_TEB_W::new(self, 19) } #[doc = "Bit 20 - The raw status bit for the interrupt triggered by a PWM operator 2 TEB event"] #[inline(always)] - #[must_use] pub fn cmpr2_teb(&mut self) -> CMPR2_TEB_W { CMPR2_TEB_W::new(self, 20) } #[doc = "Bit 21 - The raw status bit for the interrupt triggered by a cycle-by-cycle mode action on PWM0."] #[inline(always)] - #[must_use] pub fn tz0_cbc(&mut self) -> TZ0_CBC_W { TZ0_CBC_W::new(self, 21) } #[doc = "Bit 22 - The raw status bit for the interrupt triggered by a cycle-by-cycle mode action on PWM1."] #[inline(always)] - #[must_use] pub fn tz1_cbc(&mut self) -> TZ1_CBC_W { TZ1_CBC_W::new(self, 22) } #[doc = "Bit 23 - The raw status bit for the interrupt triggered by a cycle-by-cycle mode action on PWM2."] #[inline(always)] - #[must_use] pub fn tz2_cbc(&mut self) -> TZ2_CBC_W { TZ2_CBC_W::new(self, 23) } #[doc = "Bit 24 - The raw status bit for the interrupt triggered by a one-shot mode action on PWM0."] #[inline(always)] - #[must_use] pub fn tz0_ost(&mut self) -> TZ0_OST_W { TZ0_OST_W::new(self, 24) } #[doc = "Bit 25 - The raw status bit for the interrupt triggered by a one-shot mode action on PWM1."] #[inline(always)] - #[must_use] pub fn tz1_ost(&mut self) -> TZ1_OST_W { TZ1_OST_W::new(self, 25) } #[doc = "Bit 26 - The raw status bit for the interrupt triggered by a one-shot mode action on PWM2."] #[inline(always)] - #[must_use] pub fn tz2_ost(&mut self) -> TZ2_OST_W { TZ2_OST_W::new(self, 26) } #[doc = "Bit 27 - The raw status bit for the interrupt triggered by capture on channel 0."] #[inline(always)] - #[must_use] pub fn cap0(&mut self) -> CAP0_W { CAP0_W::new(self, 27) } #[doc = "Bit 28 - The raw status bit for the interrupt triggered by capture on channel 1."] #[inline(always)] - #[must_use] pub fn cap1(&mut self) -> CAP1_W { CAP1_W::new(self, 28) } #[doc = "Bit 29 - The raw status bit for the interrupt triggered by capture on channel 2."] #[inline(always)] - #[must_use] pub fn cap2(&mut self) -> CAP2_W { CAP2_W::new(self, 29) } diff --git a/esp32c6/src/mcpwm0/operator_timersel.rs b/esp32c6/src/mcpwm0/operator_timersel.rs index 7b6e102810..a78f548536 100644 --- a/esp32c6/src/mcpwm0/operator_timersel.rs +++ b/esp32c6/src/mcpwm0/operator_timersel.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Select which PWM timer's is the timing reference for PWM operator0, 0: timer0, 1: timer1, 2: timer2"] #[inline(always)] - #[must_use] pub fn operator0_timersel(&mut self) -> OPERATOR0_TIMERSEL_W { OPERATOR0_TIMERSEL_W::new(self, 0) } #[doc = "Bits 2:3 - Select which PWM timer's is the timing reference for PWM operator1, 0: timer0, 1: timer1, 2: timer2"] #[inline(always)] - #[must_use] pub fn operator1_timersel(&mut self) -> OPERATOR1_TIMERSEL_W { OPERATOR1_TIMERSEL_W::new(self, 2) } #[doc = "Bits 4:5 - Select which PWM timer's is the timing reference for PWM operator2, 0: timer0, 1: timer1, 2: timer2"] #[inline(always)] - #[must_use] pub fn operator2_timersel(&mut self) -> OPERATOR2_TIMERSEL_W { OPERATOR2_TIMERSEL_W::new(self, 4) } diff --git a/esp32c6/src/mcpwm0/task_en.rs b/esp32c6/src/mcpwm0/task_en.rs index 0b95f6c4f1..9b823dc032 100644 --- a/esp32c6/src/mcpwm0/task_en.rs +++ b/esp32c6/src/mcpwm0/task_en.rs @@ -234,133 +234,111 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - set this bit high to enable PWM generator0 timer stamp A's shadow register update task receive"] #[inline(always)] - #[must_use] pub fn task_cmpr0_a_up_en(&mut self) -> TASK_CMPR0_A_UP_EN_W { TASK_CMPR0_A_UP_EN_W::new(self, 0) } #[doc = "Bit 1 - set this bit high to enable PWM generator1 timer stamp A's shadow register update task receive"] #[inline(always)] - #[must_use] pub fn task_cmpr1_a_up_en(&mut self) -> TASK_CMPR1_A_UP_EN_W { TASK_CMPR1_A_UP_EN_W::new(self, 1) } #[doc = "Bit 2 - set this bit high to enable PWM generator2 timer stamp A's shadow register update task receive"] #[inline(always)] - #[must_use] pub fn task_cmpr2_a_up_en(&mut self) -> TASK_CMPR2_A_UP_EN_W { TASK_CMPR2_A_UP_EN_W::new(self, 2) } #[doc = "Bit 3 - set this bit high to enable PWM generator0 timer stamp B's shadow register update task receive"] #[inline(always)] - #[must_use] pub fn task_cmpr0_b_up_en(&mut self) -> TASK_CMPR0_B_UP_EN_W { TASK_CMPR0_B_UP_EN_W::new(self, 3) } #[doc = "Bit 4 - set this bit high to enable PWM generator1 timer stamp B's shadow register update task receive"] #[inline(always)] - #[must_use] pub fn task_cmpr1_b_up_en(&mut self) -> TASK_CMPR1_B_UP_EN_W { TASK_CMPR1_B_UP_EN_W::new(self, 4) } #[doc = "Bit 5 - set this bit high to enable PWM generator2 timer stamp B's shadow register update task receive"] #[inline(always)] - #[must_use] pub fn task_cmpr2_b_up_en(&mut self) -> TASK_CMPR2_B_UP_EN_W { TASK_CMPR2_B_UP_EN_W::new(self, 5) } #[doc = "Bit 6 - set this bit high to enable all PWM generate stop task receive"] #[inline(always)] - #[must_use] pub fn task_gen_stop_en(&mut self) -> TASK_GEN_STOP_EN_W { TASK_GEN_STOP_EN_W::new(self, 6) } #[doc = "Bit 7 - set this bit high to enable timer0 sync task receive"] #[inline(always)] - #[must_use] pub fn task_timer0_sync_en(&mut self) -> TASK_TIMER0_SYNC_EN_W { TASK_TIMER0_SYNC_EN_W::new(self, 7) } #[doc = "Bit 8 - set this bit high to enable timer1 sync task receive"] #[inline(always)] - #[must_use] pub fn task_timer1_sync_en(&mut self) -> TASK_TIMER1_SYNC_EN_W { TASK_TIMER1_SYNC_EN_W::new(self, 8) } #[doc = "Bit 9 - set this bit high to enable timer2 sync task receive"] #[inline(always)] - #[must_use] pub fn task_timer2_sync_en(&mut self) -> TASK_TIMER2_SYNC_EN_W { TASK_TIMER2_SYNC_EN_W::new(self, 9) } #[doc = "Bit 10 - set this bit high to enable timer0 period update task receive"] #[inline(always)] - #[must_use] pub fn task_timer0_period_up_en(&mut self) -> TASK_TIMER0_PERIOD_UP_EN_W { TASK_TIMER0_PERIOD_UP_EN_W::new(self, 10) } #[doc = "Bit 11 - set this bit high to enable timer1 period update task receive"] #[inline(always)] - #[must_use] pub fn task_timer1_period_up_en(&mut self) -> TASK_TIMER1_PERIOD_UP_EN_W { TASK_TIMER1_PERIOD_UP_EN_W::new(self, 11) } #[doc = "Bit 12 - set this bit high to enable timer2 period update task receive"] #[inline(always)] - #[must_use] pub fn task_timer2_period_up_en(&mut self) -> TASK_TIMER2_PERIOD_UP_EN_W { TASK_TIMER2_PERIOD_UP_EN_W::new(self, 12) } #[doc = "Bit 13 - set this bit high to enable one shot trip0 task receive"] #[inline(always)] - #[must_use] pub fn task_tz0_ost_en(&mut self) -> TASK_TZ0_OST_EN_W { TASK_TZ0_OST_EN_W::new(self, 13) } #[doc = "Bit 14 - set this bit high to enable one shot trip1 task receive"] #[inline(always)] - #[must_use] pub fn task_tz1_ost_en(&mut self) -> TASK_TZ1_OST_EN_W { TASK_TZ1_OST_EN_W::new(self, 14) } #[doc = "Bit 15 - set this bit high to enable one shot trip2 task receive"] #[inline(always)] - #[must_use] pub fn task_tz2_ost_en(&mut self) -> TASK_TZ2_OST_EN_W { TASK_TZ2_OST_EN_W::new(self, 15) } #[doc = "Bit 16 - set this bit high to enable one shot trip0 clear task receive"] #[inline(always)] - #[must_use] pub fn task_clr0_ost_en(&mut self) -> TASK_CLR0_OST_EN_W { TASK_CLR0_OST_EN_W::new(self, 16) } #[doc = "Bit 17 - set this bit high to enable one shot trip1 clear task receive"] #[inline(always)] - #[must_use] pub fn task_clr1_ost_en(&mut self) -> TASK_CLR1_OST_EN_W { TASK_CLR1_OST_EN_W::new(self, 17) } #[doc = "Bit 18 - set this bit high to enable one shot trip2 clear task receive"] #[inline(always)] - #[must_use] pub fn task_clr2_ost_en(&mut self) -> TASK_CLR2_OST_EN_W { TASK_CLR2_OST_EN_W::new(self, 18) } #[doc = "Bit 19 - set this bit high to enable capture0 task receive"] #[inline(always)] - #[must_use] pub fn task_cap0_en(&mut self) -> TASK_CAP0_EN_W { TASK_CAP0_EN_W::new(self, 19) } #[doc = "Bit 20 - set this bit high to enable capture1 task receive"] #[inline(always)] - #[must_use] pub fn task_cap1_en(&mut self) -> TASK_CAP1_EN_W { TASK_CAP1_EN_W::new(self, 20) } #[doc = "Bit 21 - set this bit high to enable capture2 task receive"] #[inline(always)] - #[must_use] pub fn task_cap2_en(&mut self) -> TASK_CAP2_EN_W { TASK_CAP2_EN_W::new(self, 21) } diff --git a/esp32c6/src/mcpwm0/timer/cfg0.rs b/esp32c6/src/mcpwm0/timer/cfg0.rs index 1a8215a1a5..c9709a150c 100644 --- a/esp32c6/src/mcpwm0/timer/cfg0.rs +++ b/esp32c6/src/mcpwm0/timer/cfg0.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - period of PT0_clk = Period of PWM_clk * (PWM_TIMER0_PRESCALE + 1)"] #[inline(always)] - #[must_use] pub fn prescale(&mut self) -> PRESCALE_W { PRESCALE_W::new(self, 0) } #[doc = "Bits 8:23 - period shadow register of PWM timer0"] #[inline(always)] - #[must_use] pub fn period(&mut self) -> PERIOD_W { PERIOD_W::new(self, 8) } #[doc = "Bits 24:25 - Update method for active register of PWM timer0 period, 0: immediate, 1: TEZ, 2: sync, 3: TEZ | sync. TEZ here and below means timer equal zero event"] #[inline(always)] - #[must_use] pub fn period_upmethod(&mut self) -> PERIOD_UPMETHOD_W { PERIOD_UPMETHOD_W::new(self, 24) } diff --git a/esp32c6/src/mcpwm0/timer/cfg1.rs b/esp32c6/src/mcpwm0/timer/cfg1.rs index 6130b98b09..383c708679 100644 --- a/esp32c6/src/mcpwm0/timer/cfg1.rs +++ b/esp32c6/src/mcpwm0/timer/cfg1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - PWM timer0 start and stop control. 0: if PWM timer0 starts, then stops at TEZ, 1: if timer0 starts, then stops at TEP, 2: PWM timer0 starts and runs on, 3: timer0 starts and stops at the next TEZ, 4: timer0 starts and stops at the next TEP. TEP here and below means the event that happens when the timer equals to period"] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 0) } #[doc = "Bits 3:4 - PWM timer0 working mode, 0: freeze, 1: increase mode, 2: decrease mode, 3: up-down mode"] #[inline(always)] - #[must_use] pub fn mod_(&mut self) -> MOD_W { MOD_W::new(self, 3) } diff --git a/esp32c6/src/mcpwm0/timer/sync.rs b/esp32c6/src/mcpwm0/timer/sync.rs index 7e328661c7..33493e13ce 100644 --- a/esp32c6/src/mcpwm0/timer/sync.rs +++ b/esp32c6/src/mcpwm0/timer/sync.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - When set, timer reloading with phase on sync input event is enabled."] #[inline(always)] - #[must_use] pub fn synci_en(&mut self) -> SYNCI_EN_W { SYNCI_EN_W::new(self, 0) } #[doc = "Bit 1 - Toggling this bit will trigger a software sync."] #[inline(always)] - #[must_use] pub fn sw(&mut self) -> SW_W { SW_W::new(self, 1) } #[doc = "Bits 2:3 - PWM timer0 sync_out selection, 0: sync_in, 1: TEZ, 2: TEP, and sync out will always generate when toggling the reg_timer0_sync_sw bit"] #[inline(always)] - #[must_use] pub fn synco_sel(&mut self) -> SYNCO_SEL_W { SYNCO_SEL_W::new(self, 2) } #[doc = "Bits 4:19 - phase for timer reload on sync event"] #[inline(always)] - #[must_use] pub fn phase(&mut self) -> PHASE_W { PHASE_W::new(self, 4) } #[doc = "Bit 20 - Configure the PWM timer0's direction when timer0 mode is up-down mode: 0-increase,1-decrease"] #[inline(always)] - #[must_use] pub fn phase_direction(&mut self) -> PHASE_DIRECTION_W { PHASE_DIRECTION_W::new(self, 20) } diff --git a/esp32c6/src/mcpwm0/timer_synci_cfg.rs b/esp32c6/src/mcpwm0/timer_synci_cfg.rs index 758cd1ba89..407f77e118 100644 --- a/esp32c6/src/mcpwm0/timer_synci_cfg.rs +++ b/esp32c6/src/mcpwm0/timer_synci_cfg.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - select sync input for PWM timer0, 1: PWM timer0 sync_out, 2: PWM timer1 sync_out, 3: PWM timer2 sync_out, 4: SYNC0 from GPIO matrix, 5: SYNC1 from GPIO matrix, 6: SYNC2 from GPIO matrix, other values: no sync input selected"] #[inline(always)] - #[must_use] pub fn timer0_syncisel(&mut self) -> TIMER0_SYNCISEL_W { TIMER0_SYNCISEL_W::new(self, 0) } #[doc = "Bits 3:5 - select sync input for PWM timer1, 1: PWM timer0 sync_out, 2: PWM timer1 sync_out, 3: PWM timer2 sync_out, 4: SYNC0 from GPIO matrix, 5: SYNC1 from GPIO matrix, 6: SYNC2 from GPIO matrix, other values: no sync input selected"] #[inline(always)] - #[must_use] pub fn timer1_syncisel(&mut self) -> TIMER1_SYNCISEL_W { TIMER1_SYNCISEL_W::new(self, 3) } #[doc = "Bits 6:8 - select sync input for PWM timer2, 1: PWM timer0 sync_out, 2: PWM timer1 sync_out, 3: PWM timer2 sync_out, 4: SYNC0 from GPIO matrix, 5: SYNC1 from GPIO matrix, 6: SYNC2 from GPIO matrix, other values: no sync input selected"] #[inline(always)] - #[must_use] pub fn timer2_syncisel(&mut self) -> TIMER2_SYNCISEL_W { TIMER2_SYNCISEL_W::new(self, 6) } #[doc = "Bit 9 - invert SYNC0 from GPIO matrix"] #[inline(always)] - #[must_use] pub fn external_synci0_invert(&mut self) -> EXTERNAL_SYNCI0_INVERT_W { EXTERNAL_SYNCI0_INVERT_W::new(self, 9) } #[doc = "Bit 10 - invert SYNC1 from GPIO matrix"] #[inline(always)] - #[must_use] pub fn external_synci1_invert(&mut self) -> EXTERNAL_SYNCI1_INVERT_W { EXTERNAL_SYNCI1_INVERT_W::new(self, 10) } #[doc = "Bit 11 - invert SYNC2 from GPIO matrix"] #[inline(always)] - #[must_use] pub fn external_synci2_invert(&mut self) -> EXTERNAL_SYNCI2_INVERT_W { EXTERNAL_SYNCI2_INVERT_W::new(self, 11) } diff --git a/esp32c6/src/mcpwm0/update_cfg.rs b/esp32c6/src/mcpwm0/update_cfg.rs index fd1ba718fb..c972b8a148 100644 --- a/esp32c6/src/mcpwm0/update_cfg.rs +++ b/esp32c6/src/mcpwm0/update_cfg.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The global enable of update of all active registers in MCPWM module"] #[inline(always)] - #[must_use] pub fn global_up_en(&mut self) -> GLOBAL_UP_EN_W { GLOBAL_UP_EN_W::new(self, 0) } #[doc = "Bit 1 - a toggle (software invert its value) will trigger a forced update of all active registers in MCPWM module"] #[inline(always)] - #[must_use] pub fn global_force_up(&mut self) -> GLOBAL_FORCE_UP_W { GLOBAL_FORCE_UP_W::new(self, 1) } #[doc = "Bit 2 - When set and PWM_GLOBAL_UP_EN is set, update of active registers in PWM operator 0 are enabled"] #[inline(always)] - #[must_use] pub fn op0_up_en(&mut self) -> OP0_UP_EN_W { OP0_UP_EN_W::new(self, 2) } #[doc = "Bit 3 - a toggle (software invert its value) will trigger a forced update of active registers in PWM operator 0"] #[inline(always)] - #[must_use] pub fn op0_force_up(&mut self) -> OP0_FORCE_UP_W { OP0_FORCE_UP_W::new(self, 3) } #[doc = "Bit 4 - When set and PWM_GLOBAL_UP_EN is set, update of active registers in PWM operator 1 are enabled"] #[inline(always)] - #[must_use] pub fn op1_up_en(&mut self) -> OP1_UP_EN_W { OP1_UP_EN_W::new(self, 4) } #[doc = "Bit 5 - a toggle (software invert its value) will trigger a forced update of active registers in PWM operator 1"] #[inline(always)] - #[must_use] pub fn op1_force_up(&mut self) -> OP1_FORCE_UP_W { OP1_FORCE_UP_W::new(self, 5) } #[doc = "Bit 6 - When set and PWM_GLOBAL_UP_EN is set, update of active registers in PWM operator 2 are enabled"] #[inline(always)] - #[must_use] pub fn op2_up_en(&mut self) -> OP2_UP_EN_W { OP2_UP_EN_W::new(self, 6) } #[doc = "Bit 7 - a toggle (software invert its value) will trigger a forced update of active registers in PWM operator 2"] #[inline(always)] - #[must_use] pub fn op2_force_up(&mut self) -> OP2_FORCE_UP_W { OP2_FORCE_UP_W::new(self, 7) } diff --git a/esp32c6/src/mcpwm0/version.rs b/esp32c6/src/mcpwm0/version.rs index 349ce95b49..e66e1c5527 100644 --- a/esp32c6/src/mcpwm0/version.rs +++ b/esp32c6/src/mcpwm0/version.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Version of this register file"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/mem_monitor/clock_gate.rs b/esp32c6/src/mem_monitor/clock_gate.rs index 82e4559831..14a4abe7c3 100644 --- a/esp32c6/src/mem_monitor/clock_gate.rs +++ b/esp32c6/src/mem_monitor/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to force on the clk of mem_monitor register"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32c6/src/mem_monitor/date.rs b/esp32c6/src/mem_monitor/date.rs index 0f802fc801..846a74e1c0 100644 --- a/esp32c6/src/mem_monitor/date.rs +++ b/esp32c6/src/mem_monitor/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - version register"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/mem_monitor/log_check_data.rs b/esp32c6/src/mem_monitor/log_check_data.rs index 767ae41bf4..d704afc2ea 100644 --- a/esp32c6/src/mem_monitor/log_check_data.rs +++ b/esp32c6/src/mem_monitor/log_check_data.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The special check data, when write this special data, it will trigger logging."] #[inline(always)] - #[must_use] pub fn log_check_data(&mut self) -> LOG_CHECK_DATA_W { LOG_CHECK_DATA_W::new(self, 0) } diff --git a/esp32c6/src/mem_monitor/log_data_mask.rs b/esp32c6/src/mem_monitor/log_data_mask.rs index c2732706fe..ecbf01e345 100644 --- a/esp32c6/src/mem_monitor/log_data_mask.rs +++ b/esp32c6/src/mem_monitor/log_data_mask.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - byte mask enable, BIT0 mask the first byte of MEM_MONITOR_LOG_CHECK_DATA, and BIT1 mask second byte, and so on."] #[inline(always)] - #[must_use] pub fn log_data_mask(&mut self) -> LOG_DATA_MASK_W { LOG_DATA_MASK_W::new(self, 0) } diff --git a/esp32c6/src/mem_monitor/log_max.rs b/esp32c6/src/mem_monitor/log_max.rs index 2821e33154..5b63d66b54 100644 --- a/esp32c6/src/mem_monitor/log_max.rs +++ b/esp32c6/src/mem_monitor/log_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - the max address of log range"] #[inline(always)] - #[must_use] pub fn log_max(&mut self) -> LOG_MAX_W { LOG_MAX_W::new(self, 0) } diff --git a/esp32c6/src/mem_monitor/log_mem_addr_update.rs b/esp32c6/src/mem_monitor/log_mem_addr_update.rs index cdf61f3a03..31b961c8ac 100644 --- a/esp32c6/src/mem_monitor/log_mem_addr_update.rs +++ b/esp32c6/src/mem_monitor/log_mem_addr_update.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set 1 to updata MEM_MONITOR_LOG_MEM_CURRENT_ADDR, when set 1, MEM_MONITOR_LOG_MEM_CURRENT_ADDR will update to MEM_MONITOR_LOG_MEM_START"] #[inline(always)] - #[must_use] pub fn log_mem_addr_update(&mut self) -> LOG_MEM_ADDR_UPDATE_W { LOG_MEM_ADDR_UPDATE_W::new(self, 0) } diff --git a/esp32c6/src/mem_monitor/log_mem_end.rs b/esp32c6/src/mem_monitor/log_mem_end.rs index 8571e23232..c5889d45c1 100644 --- a/esp32c6/src/mem_monitor/log_mem_end.rs +++ b/esp32c6/src/mem_monitor/log_mem_end.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - the end address of writing logging message"] #[inline(always)] - #[must_use] pub fn log_mem_end(&mut self) -> LOG_MEM_END_W { LOG_MEM_END_W::new(self, 0) } diff --git a/esp32c6/src/mem_monitor/log_mem_full_flag.rs b/esp32c6/src/mem_monitor/log_mem_full_flag.rs index efb9e5f3fe..dc3a355c23 100644 --- a/esp32c6/src/mem_monitor/log_mem_full_flag.rs +++ b/esp32c6/src/mem_monitor/log_mem_full_flag.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - Set 1 to clr MEM_MONITOR_LOG_MEM_FULL_FLAG"] #[inline(always)] - #[must_use] pub fn clr_log_mem_full_flag(&mut self) -> CLR_LOG_MEM_FULL_FLAG_W { CLR_LOG_MEM_FULL_FLAG_W::new(self, 1) } diff --git a/esp32c6/src/mem_monitor/log_mem_start.rs b/esp32c6/src/mem_monitor/log_mem_start.rs index 79655cf3d1..4e910a89ec 100644 --- a/esp32c6/src/mem_monitor/log_mem_start.rs +++ b/esp32c6/src/mem_monitor/log_mem_start.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - the start address of writing logging message"] #[inline(always)] - #[must_use] pub fn log_mem_start(&mut self) -> LOG_MEM_START_W { LOG_MEM_START_W::new(self, 0) } diff --git a/esp32c6/src/mem_monitor/log_min.rs b/esp32c6/src/mem_monitor/log_min.rs index 180a8cc4d1..6c45655f34 100644 --- a/esp32c6/src/mem_monitor/log_min.rs +++ b/esp32c6/src/mem_monitor/log_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - the min address of log range"] #[inline(always)] - #[must_use] pub fn log_min(&mut self) -> LOG_MIN_W { LOG_MIN_W::new(self, 0) } diff --git a/esp32c6/src/mem_monitor/log_setting.rs b/esp32c6/src/mem_monitor/log_setting.rs index c88a9eb13e..28fcfc511c 100644 --- a/esp32c6/src/mem_monitor/log_setting.rs +++ b/esp32c6/src/mem_monitor/log_setting.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - enable bus log. BIT0: hp-cpu, BIT1: lp-cpu, BIT2: DMA."] #[inline(always)] - #[must_use] pub fn log_ena(&mut self) -> LOG_ENA_W { LOG_ENA_W::new(self, 0) } #[doc = "Bits 3:6 - This field must be onehot. 4'b0001 : WR monitor, 4'b0010: WORD monitor, 4'b0100: HALFWORD monitor, 4'b1000: BYTE monitor."] #[inline(always)] - #[must_use] pub fn log_mode(&mut self) -> LOG_MODE_W { LOG_MODE_W::new(self, 3) } #[doc = "Bit 7 - Set 1 enable mem_loop, it will loop write at the range of MEM_START and MEM_END"] #[inline(always)] - #[must_use] pub fn log_mem_loop_enable(&mut self) -> LOG_MEM_LOOP_ENABLE_W { LOG_MEM_LOOP_ENABLE_W::new(self, 7) } diff --git a/esp32c6/src/modem_lpcon/clk_conf.rs b/esp32c6/src/modem_lpcon/clk_conf.rs index 0ddc13d1cc..fce38b1ac6 100644 --- a/esp32c6/src/modem_lpcon/clk_conf.rs +++ b/esp32c6/src/modem_lpcon/clk_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn clk_wifipwr_en(&mut self) -> CLK_WIFIPWR_EN_W { CLK_WIFIPWR_EN_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn clk_coex_en(&mut self) -> CLK_COEX_EN_W { CLK_COEX_EN_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn clk_i2c_mst_en(&mut self) -> CLK_I2C_MST_EN_W { CLK_I2C_MST_EN_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn clk_lp_timer_en(&mut self) -> CLK_LP_TIMER_EN_W { CLK_LP_TIMER_EN_W::new(self, 3) } diff --git a/esp32c6/src/modem_lpcon/clk_conf_force_on.rs b/esp32c6/src/modem_lpcon/clk_conf_force_on.rs index 82e5bc95f9..00ad2d3e4c 100644 --- a/esp32c6/src/modem_lpcon/clk_conf_force_on.rs +++ b/esp32c6/src/modem_lpcon/clk_conf_force_on.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn clk_wifipwr_fo(&mut self) -> CLK_WIFIPWR_FO_W { CLK_WIFIPWR_FO_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn clk_coex_fo(&mut self) -> CLK_COEX_FO_W { CLK_COEX_FO_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn clk_i2c_mst_fo(&mut self) -> CLK_I2C_MST_FO_W { CLK_I2C_MST_FO_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn clk_lp_timer_fo(&mut self) -> CLK_LP_TIMER_FO_W { CLK_LP_TIMER_FO_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn clk_bcmem_fo(&mut self) -> CLK_BCMEM_FO_W { CLK_BCMEM_FO_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn clk_i2c_mst_mem_fo(&mut self) -> CLK_I2C_MST_MEM_FO_W { CLK_I2C_MST_MEM_FO_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn clk_chan_freq_mem_fo(&mut self) -> CLK_CHAN_FREQ_MEM_FO_W { CLK_CHAN_FREQ_MEM_FO_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn clk_pbus_mem_fo(&mut self) -> CLK_PBUS_MEM_FO_W { CLK_PBUS_MEM_FO_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn clk_agc_mem_fo(&mut self) -> CLK_AGC_MEM_FO_W { CLK_AGC_MEM_FO_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn clk_dc_mem_fo(&mut self) -> CLK_DC_MEM_FO_W { CLK_DC_MEM_FO_W::new(self, 9) } diff --git a/esp32c6/src/modem_lpcon/clk_conf_power_st.rs b/esp32c6/src/modem_lpcon/clk_conf_power_st.rs index 7880309b14..8977fc1c46 100644 --- a/esp32c6/src/modem_lpcon/clk_conf_power_st.rs +++ b/esp32c6/src/modem_lpcon/clk_conf_power_st.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:19"] #[inline(always)] - #[must_use] pub fn clk_wifipwr_st_map(&mut self) -> CLK_WIFIPWR_ST_MAP_W { CLK_WIFIPWR_ST_MAP_W::new(self, 16) } #[doc = "Bits 20:23"] #[inline(always)] - #[must_use] pub fn clk_coex_st_map(&mut self) -> CLK_COEX_ST_MAP_W { CLK_COEX_ST_MAP_W::new(self, 20) } #[doc = "Bits 24:27"] #[inline(always)] - #[must_use] pub fn clk_i2c_mst_st_map(&mut self) -> CLK_I2C_MST_ST_MAP_W { CLK_I2C_MST_ST_MAP_W::new(self, 24) } #[doc = "Bits 28:31"] #[inline(always)] - #[must_use] pub fn clk_lp_apb_st_map(&mut self) -> CLK_LP_APB_ST_MAP_W { CLK_LP_APB_ST_MAP_W::new(self, 28) } diff --git a/esp32c6/src/modem_lpcon/coex_lp_clk_conf.rs b/esp32c6/src/modem_lpcon/coex_lp_clk_conf.rs index 94b46ad956..4c7ba18c80 100644 --- a/esp32c6/src/modem_lpcon/coex_lp_clk_conf.rs +++ b/esp32c6/src/modem_lpcon/coex_lp_clk_conf.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn clk_coex_lp_sel_osc_slow( &mut self, ) -> CLK_COEX_LP_SEL_OSC_SLOW_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn clk_coex_lp_sel_osc_fast( &mut self, ) -> CLK_COEX_LP_SEL_OSC_FAST_W { @@ -80,19 +78,16 @@ impl W { } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn clk_coex_lp_sel_xtal(&mut self) -> CLK_COEX_LP_SEL_XTAL_W { CLK_COEX_LP_SEL_XTAL_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn clk_coex_lp_sel_xtal32k(&mut self) -> CLK_COEX_LP_SEL_XTAL32K_W { CLK_COEX_LP_SEL_XTAL32K_W::new(self, 3) } #[doc = "Bits 4:15"] #[inline(always)] - #[must_use] pub fn clk_coex_lp_div_num(&mut self) -> CLK_COEX_LP_DIV_NUM_W { CLK_COEX_LP_DIV_NUM_W::new(self, 4) } diff --git a/esp32c6/src/modem_lpcon/date.rs b/esp32c6/src/modem_lpcon/date.rs index 53b4c76ede..bc9c68ac4f 100644 --- a/esp32c6/src/modem_lpcon/date.rs +++ b/esp32c6/src/modem_lpcon/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/modem_lpcon/i2c_mst_clk_conf.rs b/esp32c6/src/modem_lpcon/i2c_mst_clk_conf.rs index e72420f161..9e3ef2aac3 100644 --- a/esp32c6/src/modem_lpcon/i2c_mst_clk_conf.rs +++ b/esp32c6/src/modem_lpcon/i2c_mst_clk_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn clk_i2c_mst_sel_160m(&mut self) -> CLK_I2C_MST_SEL_160M_W { CLK_I2C_MST_SEL_160M_W::new(self, 0) } diff --git a/esp32c6/src/modem_lpcon/lp_timer_conf.rs b/esp32c6/src/modem_lpcon/lp_timer_conf.rs index 1f5248e1ba..fdf5fae88d 100644 --- a/esp32c6/src/modem_lpcon/lp_timer_conf.rs +++ b/esp32c6/src/modem_lpcon/lp_timer_conf.rs @@ -70,31 +70,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn clk_lp_timer_sel_osc_slow(&mut self) -> CLK_LP_TIMER_SEL_OSC_SLOW_W { CLK_LP_TIMER_SEL_OSC_SLOW_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn clk_lp_timer_sel_osc_fast(&mut self) -> CLK_LP_TIMER_SEL_OSC_FAST_W { CLK_LP_TIMER_SEL_OSC_FAST_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn clk_lp_timer_sel_xtal(&mut self) -> CLK_LP_TIMER_SEL_XTAL_W { CLK_LP_TIMER_SEL_XTAL_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn clk_lp_timer_sel_xtal32k(&mut self) -> CLK_LP_TIMER_SEL_XTAL32K_W { CLK_LP_TIMER_SEL_XTAL32K_W::new(self, 3) } #[doc = "Bits 4:15"] #[inline(always)] - #[must_use] pub fn clk_lp_timer_div_num(&mut self) -> CLK_LP_TIMER_DIV_NUM_W { CLK_LP_TIMER_DIV_NUM_W::new(self, 4) } diff --git a/esp32c6/src/modem_lpcon/mem_conf.rs b/esp32c6/src/modem_lpcon/mem_conf.rs index 491d5aae07..ee2dcd3c19 100644 --- a/esp32c6/src/modem_lpcon/mem_conf.rs +++ b/esp32c6/src/modem_lpcon/mem_conf.rs @@ -164,91 +164,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn dc_mem_force_pu(&mut self) -> DC_MEM_FORCE_PU_W { DC_MEM_FORCE_PU_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn dc_mem_force_pd(&mut self) -> DC_MEM_FORCE_PD_W { DC_MEM_FORCE_PD_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn agc_mem_force_pu(&mut self) -> AGC_MEM_FORCE_PU_W { AGC_MEM_FORCE_PU_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn agc_mem_force_pd(&mut self) -> AGC_MEM_FORCE_PD_W { AGC_MEM_FORCE_PD_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn pbus_mem_force_pu(&mut self) -> PBUS_MEM_FORCE_PU_W { PBUS_MEM_FORCE_PU_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn pbus_mem_force_pd(&mut self) -> PBUS_MEM_FORCE_PD_W { PBUS_MEM_FORCE_PD_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn bc_mem_force_pu(&mut self) -> BC_MEM_FORCE_PU_W { BC_MEM_FORCE_PU_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn bc_mem_force_pd(&mut self) -> BC_MEM_FORCE_PD_W { BC_MEM_FORCE_PD_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn i2c_mst_mem_force_pu(&mut self) -> I2C_MST_MEM_FORCE_PU_W { I2C_MST_MEM_FORCE_PU_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn i2c_mst_mem_force_pd(&mut self) -> I2C_MST_MEM_FORCE_PD_W { I2C_MST_MEM_FORCE_PD_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn chan_freq_mem_force_pu(&mut self) -> CHAN_FREQ_MEM_FORCE_PU_W { CHAN_FREQ_MEM_FORCE_PU_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn chan_freq_mem_force_pd(&mut self) -> CHAN_FREQ_MEM_FORCE_PD_W { CHAN_FREQ_MEM_FORCE_PD_W::new(self, 11) } #[doc = "Bits 12:14"] #[inline(always)] - #[must_use] pub fn modem_pwr_mem_wp(&mut self) -> MODEM_PWR_MEM_WP_W { MODEM_PWR_MEM_WP_W::new(self, 12) } #[doc = "Bits 15:17"] #[inline(always)] - #[must_use] pub fn modem_pwr_mem_wa(&mut self) -> MODEM_PWR_MEM_WA_W { MODEM_PWR_MEM_WA_W::new(self, 15) } #[doc = "Bits 18:19"] #[inline(always)] - #[must_use] pub fn modem_pwr_mem_ra(&mut self) -> MODEM_PWR_MEM_RA_W { MODEM_PWR_MEM_RA_W::new(self, 18) } diff --git a/esp32c6/src/modem_lpcon/modem_32k_clk_conf.rs b/esp32c6/src/modem_lpcon/modem_32k_clk_conf.rs index 59104b1e14..3b017eb550 100644 --- a/esp32c6/src/modem_lpcon/modem_32k_clk_conf.rs +++ b/esp32c6/src/modem_lpcon/modem_32k_clk_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn clk_modem_32k_sel(&mut self) -> CLK_MODEM_32K_SEL_W { CLK_MODEM_32K_SEL_W::new(self, 0) } diff --git a/esp32c6/src/modem_lpcon/rst_conf.rs b/esp32c6/src/modem_lpcon/rst_conf.rs index 3c88f55c91..4e542b3642 100644 --- a/esp32c6/src/modem_lpcon/rst_conf.rs +++ b/esp32c6/src/modem_lpcon/rst_conf.rs @@ -17,25 +17,21 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn rst_wifipwr(&mut self) -> RST_WIFIPWR_W { RST_WIFIPWR_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn rst_coex(&mut self) -> RST_COEX_W { RST_COEX_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn rst_i2c_mst(&mut self) -> RST_I2C_MST_W { RST_I2C_MST_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn rst_lp_timer(&mut self) -> RST_LP_TIMER_W { RST_LP_TIMER_W::new(self, 3) } diff --git a/esp32c6/src/modem_lpcon/test_conf.rs b/esp32c6/src/modem_lpcon/test_conf.rs index 03b2a296f8..42e359512d 100644 --- a/esp32c6/src/modem_lpcon/test_conf.rs +++ b/esp32c6/src/modem_lpcon/test_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn clk_debug_ena(&mut self) -> CLK_DEBUG_ENA_W { CLK_DEBUG_ENA_W::new(self, 1) } diff --git a/esp32c6/src/modem_lpcon/wifi_lp_clk_conf.rs b/esp32c6/src/modem_lpcon/wifi_lp_clk_conf.rs index 3a3bca2b4e..843a288023 100644 --- a/esp32c6/src/modem_lpcon/wifi_lp_clk_conf.rs +++ b/esp32c6/src/modem_lpcon/wifi_lp_clk_conf.rs @@ -73,7 +73,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn clk_wifipwr_lp_sel_osc_slow( &mut self, ) -> CLK_WIFIPWR_LP_SEL_OSC_SLOW_W { @@ -81,7 +80,6 @@ impl W { } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn clk_wifipwr_lp_sel_osc_fast( &mut self, ) -> CLK_WIFIPWR_LP_SEL_OSC_FAST_W { @@ -89,13 +87,11 @@ impl W { } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn clk_wifipwr_lp_sel_xtal(&mut self) -> CLK_WIFIPWR_LP_SEL_XTAL_W { CLK_WIFIPWR_LP_SEL_XTAL_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn clk_wifipwr_lp_sel_xtal32k( &mut self, ) -> CLK_WIFIPWR_LP_SEL_XTAL32K_W { @@ -103,7 +99,6 @@ impl W { } #[doc = "Bits 4:15"] #[inline(always)] - #[must_use] pub fn clk_wifipwr_lp_div_num(&mut self) -> CLK_WIFIPWR_LP_DIV_NUM_W { CLK_WIFIPWR_LP_DIV_NUM_W::new(self, 4) } diff --git a/esp32c6/src/modem_syscon/clk_conf.rs b/esp32c6/src/modem_syscon/clk_conf.rs index 301df00f37..a96b6a3493 100644 --- a/esp32c6/src/modem_syscon/clk_conf.rs +++ b/esp32c6/src/modem_syscon/clk_conf.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn clk_data_dump_mux(&mut self) -> CLK_DATA_DUMP_MUX_W { CLK_DATA_DUMP_MUX_W::new(self, 21) } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn clk_etm_en(&mut self) -> CLK_ETM_EN_W { CLK_ETM_EN_W::new(self, 22) } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn clk_zb_apb_en(&mut self) -> CLK_ZB_APB_EN_W { CLK_ZB_APB_EN_W::new(self, 23) } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn clk_zb_mac_en(&mut self) -> CLK_ZB_MAC_EN_W { CLK_ZB_MAC_EN_W::new(self, 24) } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn clk_modem_sec_ecb_en(&mut self) -> CLK_MODEM_SEC_ECB_EN_W { CLK_MODEM_SEC_ECB_EN_W::new(self, 25) } #[doc = "Bit 26"] #[inline(always)] - #[must_use] pub fn clk_modem_sec_ccm_en(&mut self) -> CLK_MODEM_SEC_CCM_EN_W { CLK_MODEM_SEC_CCM_EN_W::new(self, 26) } #[doc = "Bit 27"] #[inline(always)] - #[must_use] pub fn clk_modem_sec_bah_en(&mut self) -> CLK_MODEM_SEC_BAH_EN_W { CLK_MODEM_SEC_BAH_EN_W::new(self, 27) } #[doc = "Bit 28"] #[inline(always)] - #[must_use] pub fn clk_modem_sec_apb_en(&mut self) -> CLK_MODEM_SEC_APB_EN_W { CLK_MODEM_SEC_APB_EN_W::new(self, 28) } #[doc = "Bit 29"] #[inline(always)] - #[must_use] pub fn clk_modem_sec_en(&mut self) -> CLK_MODEM_SEC_EN_W { CLK_MODEM_SEC_EN_W::new(self, 29) } #[doc = "Bit 30"] #[inline(always)] - #[must_use] pub fn clk_ble_timer_en(&mut self) -> CLK_BLE_TIMER_EN_W { CLK_BLE_TIMER_EN_W::new(self, 30) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn clk_data_dump_en(&mut self) -> CLK_DATA_DUMP_EN_W { CLK_DATA_DUMP_EN_W::new(self, 31) } diff --git a/esp32c6/src/modem_syscon/clk_conf1.rs b/esp32c6/src/modem_syscon/clk_conf1.rs index 9da7219f94..ad34baf0d6 100644 --- a/esp32c6/src/modem_syscon/clk_conf1.rs +++ b/esp32c6/src/modem_syscon/clk_conf1.rs @@ -254,145 +254,121 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn clk_wifibb_22m_en(&mut self) -> CLK_WIFIBB_22M_EN_W { CLK_WIFIBB_22M_EN_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn clk_wifibb_40m_en(&mut self) -> CLK_WIFIBB_40M_EN_W { CLK_WIFIBB_40M_EN_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn clk_wifibb_44m_en(&mut self) -> CLK_WIFIBB_44M_EN_W { CLK_WIFIBB_44M_EN_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn clk_wifibb_80m_en(&mut self) -> CLK_WIFIBB_80M_EN_W { CLK_WIFIBB_80M_EN_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn clk_wifibb_40x_en(&mut self) -> CLK_WIFIBB_40X_EN_W { CLK_WIFIBB_40X_EN_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn clk_wifibb_80x_en(&mut self) -> CLK_WIFIBB_80X_EN_W { CLK_WIFIBB_80X_EN_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn clk_wifibb_40x1_en(&mut self) -> CLK_WIFIBB_40X1_EN_W { CLK_WIFIBB_40X1_EN_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn clk_wifibb_80x1_en(&mut self) -> CLK_WIFIBB_80X1_EN_W { CLK_WIFIBB_80X1_EN_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn clk_wifibb_160x1_en(&mut self) -> CLK_WIFIBB_160X1_EN_W { CLK_WIFIBB_160X1_EN_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn clk_wifimac_en(&mut self) -> CLK_WIFIMAC_EN_W { CLK_WIFIMAC_EN_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn clk_wifi_apb_en(&mut self) -> CLK_WIFI_APB_EN_W { CLK_WIFI_APB_EN_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn clk_fe_20m_en(&mut self) -> CLK_FE_20M_EN_W { CLK_FE_20M_EN_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn clk_fe_40m_en(&mut self) -> CLK_FE_40M_EN_W { CLK_FE_40M_EN_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn clk_fe_80m_en(&mut self) -> CLK_FE_80M_EN_W { CLK_FE_80M_EN_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn clk_fe_160m_en(&mut self) -> CLK_FE_160M_EN_W { CLK_FE_160M_EN_W::new(self, 14) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn clk_fe_cal_160m_en(&mut self) -> CLK_FE_CAL_160M_EN_W { CLK_FE_CAL_160M_EN_W::new(self, 15) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn clk_fe_apb_en(&mut self) -> CLK_FE_APB_EN_W { CLK_FE_APB_EN_W::new(self, 16) } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn clk_bt_apb_en(&mut self) -> CLK_BT_APB_EN_W { CLK_BT_APB_EN_W::new(self, 17) } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn clk_bt_en(&mut self) -> CLK_BT_EN_W { CLK_BT_EN_W::new(self, 18) } #[doc = "Bit 19"] #[inline(always)] - #[must_use] pub fn clk_wifibb_480m_en(&mut self) -> CLK_WIFIBB_480M_EN_W { CLK_WIFIBB_480M_EN_W::new(self, 19) } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn clk_fe_480m_en(&mut self) -> CLK_FE_480M_EN_W { CLK_FE_480M_EN_W::new(self, 20) } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn clk_fe_anamode_40m_en(&mut self) -> CLK_FE_ANAMODE_40M_EN_W { CLK_FE_ANAMODE_40M_EN_W::new(self, 21) } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn clk_fe_anamode_80m_en(&mut self) -> CLK_FE_ANAMODE_80M_EN_W { CLK_FE_ANAMODE_80M_EN_W::new(self, 22) } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn clk_fe_anamode_160m_en(&mut self) -> CLK_FE_ANAMODE_160M_EN_W { CLK_FE_ANAMODE_160M_EN_W::new(self, 23) } diff --git a/esp32c6/src/modem_syscon/clk_conf1_force_on.rs b/esp32c6/src/modem_syscon/clk_conf1_force_on.rs index 1a84f6459f..5317b7eb34 100644 --- a/esp32c6/src/modem_syscon/clk_conf1_force_on.rs +++ b/esp32c6/src/modem_syscon/clk_conf1_force_on.rs @@ -254,145 +254,121 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn clk_wifibb_22m_fo(&mut self) -> CLK_WIFIBB_22M_FO_W { CLK_WIFIBB_22M_FO_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn clk_wifibb_40m_fo(&mut self) -> CLK_WIFIBB_40M_FO_W { CLK_WIFIBB_40M_FO_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn clk_wifibb_44m_fo(&mut self) -> CLK_WIFIBB_44M_FO_W { CLK_WIFIBB_44M_FO_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn clk_wifibb_80m_fo(&mut self) -> CLK_WIFIBB_80M_FO_W { CLK_WIFIBB_80M_FO_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn clk_wifibb_40x_fo(&mut self) -> CLK_WIFIBB_40X_FO_W { CLK_WIFIBB_40X_FO_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn clk_wifibb_80x_fo(&mut self) -> CLK_WIFIBB_80X_FO_W { CLK_WIFIBB_80X_FO_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn clk_wifibb_40x1_fo(&mut self) -> CLK_WIFIBB_40X1_FO_W { CLK_WIFIBB_40X1_FO_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn clk_wifibb_80x1_fo(&mut self) -> CLK_WIFIBB_80X1_FO_W { CLK_WIFIBB_80X1_FO_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn clk_wifibb_160x1_fo(&mut self) -> CLK_WIFIBB_160X1_FO_W { CLK_WIFIBB_160X1_FO_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn clk_wifimac_fo(&mut self) -> CLK_WIFIMAC_FO_W { CLK_WIFIMAC_FO_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn clk_wifi_apb_fo(&mut self) -> CLK_WIFI_APB_FO_W { CLK_WIFI_APB_FO_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn clk_fe_20m_fo(&mut self) -> CLK_FE_20M_FO_W { CLK_FE_20M_FO_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn clk_fe_40m_fo(&mut self) -> CLK_FE_40M_FO_W { CLK_FE_40M_FO_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn clk_fe_80m_fo(&mut self) -> CLK_FE_80M_FO_W { CLK_FE_80M_FO_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn clk_fe_160m_fo(&mut self) -> CLK_FE_160M_FO_W { CLK_FE_160M_FO_W::new(self, 14) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn clk_fe_cal_160m_fo(&mut self) -> CLK_FE_CAL_160M_FO_W { CLK_FE_CAL_160M_FO_W::new(self, 15) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn clk_fe_apb_fo(&mut self) -> CLK_FE_APB_FO_W { CLK_FE_APB_FO_W::new(self, 16) } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn clk_bt_apb_fo(&mut self) -> CLK_BT_APB_FO_W { CLK_BT_APB_FO_W::new(self, 17) } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn clk_bt_fo(&mut self) -> CLK_BT_FO_W { CLK_BT_FO_W::new(self, 18) } #[doc = "Bit 19"] #[inline(always)] - #[must_use] pub fn clk_wifibb_480m_fo(&mut self) -> CLK_WIFIBB_480M_FO_W { CLK_WIFIBB_480M_FO_W::new(self, 19) } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn clk_fe_480m_fo(&mut self) -> CLK_FE_480M_FO_W { CLK_FE_480M_FO_W::new(self, 20) } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn clk_fe_anamode_40m_fo(&mut self) -> CLK_FE_ANAMODE_40M_FO_W { CLK_FE_ANAMODE_40M_FO_W::new(self, 21) } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn clk_fe_anamode_80m_fo(&mut self) -> CLK_FE_ANAMODE_80M_FO_W { CLK_FE_ANAMODE_80M_FO_W::new(self, 22) } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn clk_fe_anamode_160m_fo(&mut self) -> CLK_FE_ANAMODE_160M_FO_W { CLK_FE_ANAMODE_160M_FO_W::new(self, 23) } diff --git a/esp32c6/src/modem_syscon/clk_conf_force_on.rs b/esp32c6/src/modem_syscon/clk_conf_force_on.rs index 9f2174828d..bfe5e3f8ef 100644 --- a/esp32c6/src/modem_syscon/clk_conf_force_on.rs +++ b/esp32c6/src/modem_syscon/clk_conf_force_on.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn clk_etm_fo(&mut self) -> CLK_ETM_FO_W { CLK_ETM_FO_W::new(self, 22) } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn clk_zb_apb_fo(&mut self) -> CLK_ZB_APB_FO_W { CLK_ZB_APB_FO_W::new(self, 23) } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn clk_zb_mac_fo(&mut self) -> CLK_ZB_MAC_FO_W { CLK_ZB_MAC_FO_W::new(self, 24) } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn clk_modem_sec_ecb_fo(&mut self) -> CLK_MODEM_SEC_ECB_FO_W { CLK_MODEM_SEC_ECB_FO_W::new(self, 25) } #[doc = "Bit 26"] #[inline(always)] - #[must_use] pub fn clk_modem_sec_ccm_fo(&mut self) -> CLK_MODEM_SEC_CCM_FO_W { CLK_MODEM_SEC_CCM_FO_W::new(self, 26) } #[doc = "Bit 27"] #[inline(always)] - #[must_use] pub fn clk_modem_sec_bah_fo(&mut self) -> CLK_MODEM_SEC_BAH_FO_W { CLK_MODEM_SEC_BAH_FO_W::new(self, 27) } #[doc = "Bit 28"] #[inline(always)] - #[must_use] pub fn clk_modem_sec_apb_fo(&mut self) -> CLK_MODEM_SEC_APB_FO_W { CLK_MODEM_SEC_APB_FO_W::new(self, 28) } #[doc = "Bit 29"] #[inline(always)] - #[must_use] pub fn clk_modem_sec_fo(&mut self) -> CLK_MODEM_SEC_FO_W { CLK_MODEM_SEC_FO_W::new(self, 29) } #[doc = "Bit 30"] #[inline(always)] - #[must_use] pub fn clk_ble_timer_fo(&mut self) -> CLK_BLE_TIMER_FO_W { CLK_BLE_TIMER_FO_W::new(self, 30) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn clk_data_dump_fo(&mut self) -> CLK_DATA_DUMP_FO_W { CLK_DATA_DUMP_FO_W::new(self, 31) } diff --git a/esp32c6/src/modem_syscon/clk_conf_power_st.rs b/esp32c6/src/modem_syscon/clk_conf_power_st.rs index f51c7dec00..9620ba0b9f 100644 --- a/esp32c6/src/modem_syscon/clk_conf_power_st.rs +++ b/esp32c6/src/modem_syscon/clk_conf_power_st.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 8:11"] #[inline(always)] - #[must_use] pub fn clk_zb_st_map(&mut self) -> CLK_ZB_ST_MAP_W { CLK_ZB_ST_MAP_W::new(self, 8) } #[doc = "Bits 12:15"] #[inline(always)] - #[must_use] pub fn clk_fe_st_map(&mut self) -> CLK_FE_ST_MAP_W { CLK_FE_ST_MAP_W::new(self, 12) } #[doc = "Bits 16:19"] #[inline(always)] - #[must_use] pub fn clk_bt_st_map(&mut self) -> CLK_BT_ST_MAP_W { CLK_BT_ST_MAP_W::new(self, 16) } #[doc = "Bits 20:23"] #[inline(always)] - #[must_use] pub fn clk_wifi_st_map(&mut self) -> CLK_WIFI_ST_MAP_W { CLK_WIFI_ST_MAP_W::new(self, 20) } #[doc = "Bits 24:27"] #[inline(always)] - #[must_use] pub fn clk_modem_peri_st_map(&mut self) -> CLK_MODEM_PERI_ST_MAP_W { CLK_MODEM_PERI_ST_MAP_W::new(self, 24) } #[doc = "Bits 28:31"] #[inline(always)] - #[must_use] pub fn clk_modem_apb_st_map(&mut self) -> CLK_MODEM_APB_ST_MAP_W { CLK_MODEM_APB_ST_MAP_W::new(self, 28) } diff --git a/esp32c6/src/modem_syscon/date.rs b/esp32c6/src/modem_syscon/date.rs index 37644afe51..29b71d0e24 100644 --- a/esp32c6/src/modem_syscon/date.rs +++ b/esp32c6/src/modem_syscon/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/modem_syscon/mem_conf.rs b/esp32c6/src/modem_syscon/mem_conf.rs index 889ca908a8..8701d5e217 100644 --- a/esp32c6/src/modem_syscon/mem_conf.rs +++ b/esp32c6/src/modem_syscon/mem_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2"] #[inline(always)] - #[must_use] pub fn modem_mem_wp(&mut self) -> MODEM_MEM_WP_W { MODEM_MEM_WP_W::new(self, 0) } #[doc = "Bits 3:5"] #[inline(always)] - #[must_use] pub fn modem_mem_wa(&mut self) -> MODEM_MEM_WA_W { MODEM_MEM_WA_W::new(self, 3) } #[doc = "Bits 6:7"] #[inline(always)] - #[must_use] pub fn modem_mem_ra(&mut self) -> MODEM_MEM_RA_W { MODEM_MEM_RA_W::new(self, 6) } diff --git a/esp32c6/src/modem_syscon/modem_rst_conf.rs b/esp32c6/src/modem_syscon/modem_rst_conf.rs index 430054ea7e..6159ec1c95 100644 --- a/esp32c6/src/modem_syscon/modem_rst_conf.rs +++ b/esp32c6/src/modem_syscon/modem_rst_conf.rs @@ -164,91 +164,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn rst_wifibb(&mut self) -> RST_WIFIBB_W { RST_WIFIBB_W::new(self, 8) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn rst_wifimac(&mut self) -> RST_WIFIMAC_W { RST_WIFIMAC_W::new(self, 10) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn rst_fe(&mut self) -> RST_FE_W { RST_FE_W::new(self, 14) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn rst_btmac_apb(&mut self) -> RST_BTMAC_APB_W { RST_BTMAC_APB_W::new(self, 15) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn rst_btmac(&mut self) -> RST_BTMAC_W { RST_BTMAC_W::new(self, 16) } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn rst_btbb_apb(&mut self) -> RST_BTBB_APB_W { RST_BTBB_APB_W::new(self, 17) } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn rst_btbb(&mut self) -> RST_BTBB_W { RST_BTBB_W::new(self, 18) } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn rst_etm(&mut self) -> RST_ETM_W { RST_ETM_W::new(self, 22) } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn rst_zbmac(&mut self) -> RST_ZBMAC_W { RST_ZBMAC_W::new(self, 24) } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn rst_modem_ecb(&mut self) -> RST_MODEM_ECB_W { RST_MODEM_ECB_W::new(self, 25) } #[doc = "Bit 26"] #[inline(always)] - #[must_use] pub fn rst_modem_ccm(&mut self) -> RST_MODEM_CCM_W { RST_MODEM_CCM_W::new(self, 26) } #[doc = "Bit 27"] #[inline(always)] - #[must_use] pub fn rst_modem_bah(&mut self) -> RST_MODEM_BAH_W { RST_MODEM_BAH_W::new(self, 27) } #[doc = "Bit 29"] #[inline(always)] - #[must_use] pub fn rst_modem_sec(&mut self) -> RST_MODEM_SEC_W { RST_MODEM_SEC_W::new(self, 29) } #[doc = "Bit 30"] #[inline(always)] - #[must_use] pub fn rst_ble_timer(&mut self) -> RST_BLE_TIMER_W { RST_BLE_TIMER_W::new(self, 30) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn rst_data_dump(&mut self) -> RST_DATA_DUMP_W { RST_DATA_DUMP_W::new(self, 31) } diff --git a/esp32c6/src/modem_syscon/test_conf.rs b/esp32c6/src/modem_syscon/test_conf.rs index 8de0e0c3f5..bffccfbde6 100644 --- a/esp32c6/src/modem_syscon/test_conf.rs +++ b/esp32c6/src/modem_syscon/test_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32c6/src/modem_syscon/wifi_bb_cfg.rs b/esp32c6/src/modem_syscon/wifi_bb_cfg.rs index d7bb7244d6..5bde8ca55e 100644 --- a/esp32c6/src/modem_syscon/wifi_bb_cfg.rs +++ b/esp32c6/src/modem_syscon/wifi_bb_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn wifi_bb_cfg(&mut self) -> WIFI_BB_CFG_W { WIFI_BB_CFG_W::new(self, 0) } diff --git a/esp32c6/src/otp_debug/apb2otp_en.rs b/esp32c6/src/otp_debug/apb2otp_en.rs index 0c24f39b8b..377afe41d9 100644 --- a/esp32c6/src/otp_debug/apb2otp_en.rs +++ b/esp32c6/src/otp_debug/apb2otp_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Debug mode enable signal."] #[inline(always)] - #[must_use] pub fn apb2otp_en(&mut self) -> APB2OTP_EN_W { APB2OTP_EN_W::new(self, 0) } diff --git a/esp32c6/src/otp_debug/clk.rs b/esp32c6/src/otp_debug/clk.rs index 8bcdf540af..664da195c4 100644 --- a/esp32c6/src/otp_debug/clk.rs +++ b/esp32c6/src/otp_debug/clk.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Force clock on for this register file."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 0) } diff --git a/esp32c6/src/otp_debug/date.rs b/esp32c6/src/otp_debug/date.rs index 033a2f43ce..7624631d3d 100644 --- a/esp32c6/src/otp_debug/date.rs +++ b/esp32c6/src/otp_debug/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Stores otp_debug version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/parl_io/clk.rs b/esp32c6/src/parl_io/clk.rs index dba39da385..d85f416f3d 100644 --- a/esp32c6/src/parl_io/clk.rs +++ b/esp32c6/src/parl_io/clk.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Force clock on for this register file"] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 0) } diff --git a/esp32c6/src/parl_io/int_clr.rs b/esp32c6/src/parl_io/int_clr.rs index 9ecaa5862a..ead08c8987 100644 --- a/esp32c6/src/parl_io/int_clr.rs +++ b/esp32c6/src/parl_io/int_clr.rs @@ -15,19 +15,16 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to clear TX_FIFO_REMPTY_INTR."] #[inline(always)] - #[must_use] pub fn tx_fifo_rempty(&mut self) -> TX_FIFO_REMPTY_W { TX_FIFO_REMPTY_W::new(self, 0) } #[doc = "Bit 1 - Write 1 to clear RX_FIFO_WOVF_INTR."] #[inline(always)] - #[must_use] pub fn rx_fifo_wovf(&mut self) -> RX_FIFO_WOVF_W { RX_FIFO_WOVF_W::new(self, 1) } #[doc = "Bit 2 - Write 1 to clear TX_EOF_INTR."] #[inline(always)] - #[must_use] pub fn tx_eof(&mut self) -> TX_EOF_W { TX_EOF_W::new(self, 2) } diff --git a/esp32c6/src/parl_io/int_ena.rs b/esp32c6/src/parl_io/int_ena.rs index 7602f53cf4..ba392d4556 100644 --- a/esp32c6/src/parl_io/int_ena.rs +++ b/esp32c6/src/parl_io/int_ena.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Write 1 to enable TX_FIFO_REMPTY_INTR."] #[inline(always)] - #[must_use] pub fn tx_fifo_rempty(&mut self) -> TX_FIFO_REMPTY_W { TX_FIFO_REMPTY_W::new(self, 0) } #[doc = "Bit 1 - Write 1 to enable RX_FIFO_WOVF_INTR."] #[inline(always)] - #[must_use] pub fn rx_fifo_wovf(&mut self) -> RX_FIFO_WOVF_W { RX_FIFO_WOVF_W::new(self, 1) } #[doc = "Bit 2 - Write 1 to enable TX_EOF_INTR."] #[inline(always)] - #[must_use] pub fn tx_eof(&mut self) -> TX_EOF_W { TX_EOF_W::new(self, 2) } diff --git a/esp32c6/src/parl_io/int_raw.rs b/esp32c6/src/parl_io/int_raw.rs index 10ce5cd7ad..ac5fcd815a 100644 --- a/esp32c6/src/parl_io/int_raw.rs +++ b/esp32c6/src/parl_io/int_raw.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw interrupt status of TX_FIFO_REMPTY_INTR."] #[inline(always)] - #[must_use] pub fn tx_fifo_rempty(&mut self) -> TX_FIFO_REMPTY_W { TX_FIFO_REMPTY_W::new(self, 0) } #[doc = "Bit 1 - The raw interrupt status of RX_FIFO_WOVF_INTR."] #[inline(always)] - #[must_use] pub fn rx_fifo_wovf(&mut self) -> RX_FIFO_WOVF_W { RX_FIFO_WOVF_W::new(self, 1) } #[doc = "Bit 2 - The raw interrupt status of TX_EOF_INTR."] #[inline(always)] - #[must_use] pub fn tx_eof(&mut self) -> TX_EOF_W { TX_EOF_W::new(self, 2) } diff --git a/esp32c6/src/parl_io/rx_cfg0.rs b/esp32c6/src/parl_io/rx_cfg0.rs index 930de646fd..60f3703cce 100644 --- a/esp32c6/src/parl_io/rx_cfg0.rs +++ b/esp32c6/src/parl_io/rx_cfg0.rs @@ -18,9 +18,9 @@ pub type RX_DATA_BYTELEN_W<'a, REG> = crate::FieldWriter<'a, REG, 16, u16>; pub type RX_SW_EN_R = crate::BitReader; #[doc = "Field `RX_SW_EN` writer - Write 1 to enable software data sampling."] pub type RX_SW_EN_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `RX_PULSE_SUBMODE_SEL` reader - Pulse submode selection. 0000: positive pulse start(data bit included) && positive pulse end(data bit included) 0001: positive pulse start(data bit included) && positive pulse end (data bit excluded) 0010: positive pulse start(data bit excluded) && positive pulse end (data bit included) 0011: positive pulse start(data bit excluded) && positive pulse end (data bit excluded) 0100: positive pulse start(data bit included) && length end 0101: positive pulse start(data bit excluded) && length end 0110: negative pulse start(data bit included) && negative pulse end(data bit included) 0111: negative pulse start(data bit included) && negative pulse end (data bit excluded) 1000: negative pulse start(data bit excluded) && negative pulse end (data bit included) 1001: negative pulse start(data bit excluded) && negative pulse end (data bit excluded) 1010: negative pulse start(data bit included) && length end 1011: negative pulse start(data bit excluded) && length end"] +#[doc = "Field `RX_PULSE_SUBMODE_SEL` reader - Pulse submode selection. 0000: positive pulse start(data bit included) && positive pulse end(data bit included) 0001: positive pulse start(data bit included) && positive pulse end (data bit excluded) 0010: positive pulse start(data bit excluded) && positive pulse end (data bit included) 0011: positive pulse start(data bit excluded) && positive pulse end (data bit excluded) 0100: positive pulse start(data bit included) && length end 0101: positive pulse start(data bit excluded) && length end 0110: negative pulse start(data bit included) && negative pulse end(data bit included) 0111: negative pulse start(data bit included) && negative pulse end (data bit excluded) 1000: negative pulse start(data bit excluded) && negative pulse end (data bit included) 1001: negative pulse start(data bit excluded) && negative pulse end (data bit excluded) 1010: negative pulse start(data bit included) && length end 1011: negative pulse start(data bit excluded) && length end"] pub type RX_PULSE_SUBMODE_SEL_R = crate::FieldReader; -#[doc = "Field `RX_PULSE_SUBMODE_SEL` writer - Pulse submode selection. 0000: positive pulse start(data bit included) && positive pulse end(data bit included) 0001: positive pulse start(data bit included) && positive pulse end (data bit excluded) 0010: positive pulse start(data bit excluded) && positive pulse end (data bit included) 0011: positive pulse start(data bit excluded) && positive pulse end (data bit excluded) 0100: positive pulse start(data bit included) && length end 0101: positive pulse start(data bit excluded) && length end 0110: negative pulse start(data bit included) && negative pulse end(data bit included) 0111: negative pulse start(data bit included) && negative pulse end (data bit excluded) 1000: negative pulse start(data bit excluded) && negative pulse end (data bit included) 1001: negative pulse start(data bit excluded) && negative pulse end (data bit excluded) 1010: negative pulse start(data bit included) && length end 1011: negative pulse start(data bit excluded) && length end"] +#[doc = "Field `RX_PULSE_SUBMODE_SEL` writer - Pulse submode selection. 0000: positive pulse start(data bit included) && positive pulse end(data bit included) 0001: positive pulse start(data bit included) && positive pulse end (data bit excluded) 0010: positive pulse start(data bit excluded) && positive pulse end (data bit included) 0011: positive pulse start(data bit excluded) && positive pulse end (data bit excluded) 0100: positive pulse start(data bit included) && length end 0101: positive pulse start(data bit excluded) && length end 0110: negative pulse start(data bit included) && negative pulse end(data bit included) 0111: negative pulse start(data bit included) && negative pulse end (data bit excluded) 1000: negative pulse start(data bit excluded) && negative pulse end (data bit included) 1001: negative pulse start(data bit excluded) && negative pulse end (data bit excluded) 1010: negative pulse start(data bit included) && length end 1011: negative pulse start(data bit excluded) && length end"] pub type RX_PULSE_SUBMODE_SEL_W<'a, REG> = crate::FieldWriter<'a, REG, 4>; #[doc = "Field `RX_LEVEL_SUBMODE_SEL` reader - Write 0 to sample data at high level of external enable signal. Write 1 to sample data at low level of external enable signal."] pub type RX_LEVEL_SUBMODE_SEL_R = crate::BitReader; @@ -67,7 +67,7 @@ impl R { pub fn rx_sw_en(&self) -> RX_SW_EN_R { RX_SW_EN_R::new(((self.bits >> 18) & 1) != 0) } - #[doc = "Bits 19:22 - Pulse submode selection. 0000: positive pulse start(data bit included) && positive pulse end(data bit included) 0001: positive pulse start(data bit included) && positive pulse end (data bit excluded) 0010: positive pulse start(data bit excluded) && positive pulse end (data bit included) 0011: positive pulse start(data bit excluded) && positive pulse end (data bit excluded) 0100: positive pulse start(data bit included) && length end 0101: positive pulse start(data bit excluded) && length end 0110: negative pulse start(data bit included) && negative pulse end(data bit included) 0111: negative pulse start(data bit included) && negative pulse end (data bit excluded) 1000: negative pulse start(data bit excluded) && negative pulse end (data bit included) 1001: negative pulse start(data bit excluded) && negative pulse end (data bit excluded) 1010: negative pulse start(data bit included) && length end 1011: negative pulse start(data bit excluded) && length end"] + #[doc = "Bits 19:22 - Pulse submode selection. 0000: positive pulse start(data bit included) && positive pulse end(data bit included) 0001: positive pulse start(data bit included) && positive pulse end (data bit excluded) 0010: positive pulse start(data bit excluded) && positive pulse end (data bit included) 0011: positive pulse start(data bit excluded) && positive pulse end (data bit excluded) 0100: positive pulse start(data bit included) && length end 0101: positive pulse start(data bit excluded) && length end 0110: negative pulse start(data bit included) && negative pulse end(data bit included) 0111: negative pulse start(data bit included) && negative pulse end (data bit excluded) 1000: negative pulse start(data bit excluded) && negative pulse end (data bit included) 1001: negative pulse start(data bit excluded) && negative pulse end (data bit excluded) 1010: negative pulse start(data bit included) && length end 1011: negative pulse start(data bit excluded) && length end"] #[inline(always)] pub fn rx_pulse_submode_sel(&self) -> RX_PULSE_SUBMODE_SEL_R { RX_PULSE_SUBMODE_SEL_R::new(((self.bits >> 19) & 0x0f) as u8) @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Write 0 to select eof generated manchnism by configured data byte length. Write 1 to select eof generated manchnism by external enable signal."] #[inline(always)] - #[must_use] pub fn rx_eof_gen_sel(&mut self) -> RX_EOF_GEN_SEL_W { RX_EOF_GEN_SEL_W::new(self, 0) } #[doc = "Bit 1 - Write 1 to start rx global data sampling."] #[inline(always)] - #[must_use] pub fn rx_start(&mut self) -> RX_START_W { RX_START_W::new(self, 1) } #[doc = "Bits 2:17 - Configures rx receieved data byte length."] #[inline(always)] - #[must_use] pub fn rx_data_bytelen(&mut self) -> RX_DATA_BYTELEN_W { RX_DATA_BYTELEN_W::new(self, 2) } #[doc = "Bit 18 - Write 1 to enable software data sampling."] #[inline(always)] - #[must_use] pub fn rx_sw_en(&mut self) -> RX_SW_EN_W { RX_SW_EN_W::new(self, 18) } - #[doc = "Bits 19:22 - Pulse submode selection. 0000: positive pulse start(data bit included) && positive pulse end(data bit included) 0001: positive pulse start(data bit included) && positive pulse end (data bit excluded) 0010: positive pulse start(data bit excluded) && positive pulse end (data bit included) 0011: positive pulse start(data bit excluded) && positive pulse end (data bit excluded) 0100: positive pulse start(data bit included) && length end 0101: positive pulse start(data bit excluded) && length end 0110: negative pulse start(data bit included) && negative pulse end(data bit included) 0111: negative pulse start(data bit included) && negative pulse end (data bit excluded) 1000: negative pulse start(data bit excluded) && negative pulse end (data bit included) 1001: negative pulse start(data bit excluded) && negative pulse end (data bit excluded) 1010: negative pulse start(data bit included) && length end 1011: negative pulse start(data bit excluded) && length end"] + #[doc = "Bits 19:22 - Pulse submode selection. 0000: positive pulse start(data bit included) && positive pulse end(data bit included) 0001: positive pulse start(data bit included) && positive pulse end (data bit excluded) 0010: positive pulse start(data bit excluded) && positive pulse end (data bit included) 0011: positive pulse start(data bit excluded) && positive pulse end (data bit excluded) 0100: positive pulse start(data bit included) && length end 0101: positive pulse start(data bit excluded) && length end 0110: negative pulse start(data bit included) && negative pulse end(data bit included) 0111: negative pulse start(data bit included) && negative pulse end (data bit excluded) 1000: negative pulse start(data bit excluded) && negative pulse end (data bit included) 1001: negative pulse start(data bit excluded) && negative pulse end (data bit excluded) 1010: negative pulse start(data bit included) && length end 1011: negative pulse start(data bit excluded) && length end"] #[inline(always)] - #[must_use] pub fn rx_pulse_submode_sel(&mut self) -> RX_PULSE_SUBMODE_SEL_W { RX_PULSE_SUBMODE_SEL_W::new(self, 19) } #[doc = "Bit 23 - Write 0 to sample data at high level of external enable signal. Write 1 to sample data at low level of external enable signal."] #[inline(always)] - #[must_use] pub fn rx_level_submode_sel(&mut self) -> RX_LEVEL_SUBMODE_SEL_W { RX_LEVEL_SUBMODE_SEL_W::new(self, 23) } #[doc = "Bits 24:25 - Rx data sampling mode selection. 000: external level enable mode 001: external pulse enable mode 010: internal software enable mode"] #[inline(always)] - #[must_use] pub fn rx_smp_mode_sel(&mut self) -> RX_SMP_MODE_SEL_W { RX_SMP_MODE_SEL_W::new(self, 24) } #[doc = "Bit 26 - Write 0 to enable sampling data on the rising edge of rx clock. Write 0 to enable sampling data on the falling edge of rx clock."] #[inline(always)] - #[must_use] pub fn rx_clk_edge_sel(&mut self) -> RX_CLK_EDGE_SEL_W { RX_CLK_EDGE_SEL_W::new(self, 26) } #[doc = "Bit 27 - Write 0 to pack bits into 1byte from MSB when data bus width is 4/2/1 bits. Write 0 to pack bits into 1byte from LSB when data bus width is 4/2/1 bits."] #[inline(always)] - #[must_use] pub fn rx_bit_pack_order(&mut self) -> RX_BIT_PACK_ORDER_W { RX_BIT_PACK_ORDER_W::new(self, 27) } #[doc = "Bits 28:30 - Rx data bus width selection. 100: bus width is 1 bit 011: bus width is 2 bits 010: bus width is 4 bits 001: bus width is 8 bits 000: bus width is 16 bits"] #[inline(always)] - #[must_use] pub fn rx_bus_wid_sel(&mut self) -> RX_BUS_WID_SEL_W { RX_BUS_WID_SEL_W::new(self, 28) } #[doc = "Bit 31 - Write 1 to enable soft reset of async fifo in rx module."] #[inline(always)] - #[must_use] pub fn rx_fifo_srst(&mut self) -> RX_FIFO_SRST_W { RX_FIFO_SRST_W::new(self, 31) } diff --git a/esp32c6/src/parl_io/rx_cfg1.rs b/esp32c6/src/parl_io/rx_cfg1.rs index e648b99dea..ff5dedee77 100644 --- a/esp32c6/src/parl_io/rx_cfg1.rs +++ b/esp32c6/src/parl_io/rx_cfg1.rs @@ -46,25 +46,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - Write 1 to update rx register configuration signals."] #[inline(always)] - #[must_use] pub fn rx_reg_update(&mut self) -> RX_REG_UPDATE_W { RX_REG_UPDATE_W::new(self, 2) } #[doc = "Bit 3 - Write 1 to enable timeout count to generate error eof."] #[inline(always)] - #[must_use] pub fn rx_timeout_en(&mut self) -> RX_TIMEOUT_EN_W { RX_TIMEOUT_EN_W::new(self, 3) } #[doc = "Bits 12:15 - Configures rx external enable signal selection from 16 data lines."] #[inline(always)] - #[must_use] pub fn rx_ext_en_sel(&mut self) -> RX_EXT_EN_SEL_W { RX_EXT_EN_SEL_W::new(self, 12) } #[doc = "Bits 16:31 - Configures rx threshold of timeout counter."] #[inline(always)] - #[must_use] pub fn rx_timeout_threshold(&mut self) -> RX_TIMEOUT_THRESHOLD_W { RX_TIMEOUT_THRESHOLD_W::new(self, 16) } diff --git a/esp32c6/src/parl_io/tx_cfg0.rs b/esp32c6/src/parl_io/tx_cfg0.rs index 7dd8d80d13..89bdbc5594 100644 --- a/esp32c6/src/parl_io/tx_cfg0.rs +++ b/esp32c6/src/parl_io/tx_cfg0.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 2:17 - Configures tx sending data byte length."] #[inline(always)] - #[must_use] pub fn tx_bytelen(&mut self) -> TX_BYTELEN_W { TX_BYTELEN_W::new(self, 2) } #[doc = "Bit 18 - Write 1 to enable output tx clock gating."] #[inline(always)] - #[must_use] pub fn tx_gating_en(&mut self) -> TX_GATING_EN_W { TX_GATING_EN_W::new(self, 18) } #[doc = "Bit 19 - Write 1 to start tx global data output."] #[inline(always)] - #[must_use] pub fn tx_start(&mut self) -> TX_START_W { TX_START_W::new(self, 19) } #[doc = "Bit 20 - Write 1 to enable tx hardware data valid signal."] #[inline(always)] - #[must_use] pub fn tx_hw_valid_en(&mut self) -> TX_HW_VALID_EN_W { TX_HW_VALID_EN_W::new(self, 20) } #[doc = "Bit 25 - Write 0 to enable sampling data on the rising edge of tx clock. Write 0 to enable sampling data on the falling edge of tx clock."] #[inline(always)] - #[must_use] pub fn tx_smp_edge_sel(&mut self) -> TX_SMP_EDGE_SEL_W { TX_SMP_EDGE_SEL_W::new(self, 25) } #[doc = "Bit 26 - Write 0 to unpack bits from 1byte from MSB when data bus width is 4/2/1 bits. Write 0 to unpack bits from 1byte from LSB when data bus width is 4/2/1 bits."] #[inline(always)] - #[must_use] pub fn tx_bit_unpack_order(&mut self) -> TX_BIT_UNPACK_ORDER_W { TX_BIT_UNPACK_ORDER_W::new(self, 26) } #[doc = "Bits 27:29 - Tx data bus width selection. 100: bus width is 1 bit 011: bus width is 2 bits 010: bus width is 4 bits 001: bus width is 8 bits 000: bus width is 16 bits"] #[inline(always)] - #[must_use] pub fn tx_bus_wid_sel(&mut self) -> TX_BUS_WID_SEL_W { TX_BUS_WID_SEL_W::new(self, 27) } #[doc = "Bit 30 - Write 1 to enable soft reset of async fifo in tx module."] #[inline(always)] - #[must_use] pub fn tx_fifo_srst(&mut self) -> TX_FIFO_SRST_W { TX_FIFO_SRST_W::new(self, 30) } diff --git a/esp32c6/src/parl_io/tx_cfg1.rs b/esp32c6/src/parl_io/tx_cfg1.rs index cbff467e9e..4508acbf00 100644 --- a/esp32c6/src/parl_io/tx_cfg1.rs +++ b/esp32c6/src/parl_io/tx_cfg1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Configures data value on tx bus when IDLE state."] #[inline(always)] - #[must_use] pub fn tx_idle_value(&mut self) -> TX_IDLE_VALUE_W { TX_IDLE_VALUE_W::new(self, 16) } diff --git a/esp32c6/src/parl_io/version.rs b/esp32c6/src/parl_io/version.rs index 7bd5e87d4a..35e25ed423 100644 --- a/esp32c6/src/parl_io/version.rs +++ b/esp32c6/src/parl_io/version.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Version of this register file"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/pau/date.rs b/esp32c6/src/pau/date.rs index ac21f8ebc5..b6d2fe089b 100644 --- a/esp32c6/src/pau/date.rs +++ b/esp32c6/src/pau/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - REGDMA date information/ REGDMA version information."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/pau/int_clr.rs b/esp32c6/src/pau/int_clr.rs index 5e5abb30bf..d604697537 100644 --- a/esp32c6/src/pau/int_clr.rs +++ b/esp32c6/src/pau/int_clr.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - backup done flag"] #[inline(always)] - #[must_use] pub fn done(&mut self) -> DONE_W { DONE_W::new(self, 0) } #[doc = "Bit 1 - error flag"] #[inline(always)] - #[must_use] pub fn error(&mut self) -> ERROR_W { ERROR_W::new(self, 1) } diff --git a/esp32c6/src/pau/int_ena.rs b/esp32c6/src/pau/int_ena.rs index 62e3097ffa..aaa57635a1 100644 --- a/esp32c6/src/pau/int_ena.rs +++ b/esp32c6/src/pau/int_ena.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - backup done flag"] #[inline(always)] - #[must_use] pub fn done(&mut self) -> DONE_W { DONE_W::new(self, 0) } #[doc = "Bit 1 - error flag"] #[inline(always)] - #[must_use] pub fn error(&mut self) -> ERROR_W { ERROR_W::new(self, 1) } diff --git a/esp32c6/src/pau/int_raw.rs b/esp32c6/src/pau/int_raw.rs index fe97e5cb67..e67ce1e70d 100644 --- a/esp32c6/src/pau/int_raw.rs +++ b/esp32c6/src/pau/int_raw.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - backup done flag"] #[inline(always)] - #[must_use] pub fn done(&mut self) -> DONE_W { DONE_W::new(self, 0) } #[doc = "Bit 1 - error flag"] #[inline(always)] - #[must_use] pub fn error(&mut self) -> ERROR_W { ERROR_W::new(self, 1) } diff --git a/esp32c6/src/pau/regdma_bkp_conf.rs b/esp32c6/src/pau/regdma_bkp_conf.rs index 43b0a37181..07a80d5c7f 100644 --- a/esp32c6/src/pau/regdma_bkp_conf.rs +++ b/esp32c6/src/pau/regdma_bkp_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Link read_interval"] #[inline(always)] - #[must_use] pub fn read_interval(&mut self) -> READ_INTERVAL_W { READ_INTERVAL_W::new(self, 0) } #[doc = "Bits 7:16 - link wait timeout threshold"] #[inline(always)] - #[must_use] pub fn link_tout_thres(&mut self) -> LINK_TOUT_THRES_W { LINK_TOUT_THRES_W::new(self, 7) } #[doc = "Bits 17:21 - burst limit"] #[inline(always)] - #[must_use] pub fn burst_limit(&mut self) -> BURST_LIMIT_W { BURST_LIMIT_W::new(self, 17) } #[doc = "Bits 22:31 - Backup timeout threshold"] #[inline(always)] - #[must_use] pub fn backup_tout_thres(&mut self) -> BACKUP_TOUT_THRES_W { BACKUP_TOUT_THRES_W::new(self, 22) } diff --git a/esp32c6/src/pau/regdma_clk_conf.rs b/esp32c6/src/pau/regdma_clk_conf.rs index 4d54af1ba3..737d1dbeed 100644 --- a/esp32c6/src/pau/regdma_clk_conf.rs +++ b/esp32c6/src/pau/regdma_clk_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - clock enable"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32c6/src/pau/regdma_conf.rs b/esp32c6/src/pau/regdma_conf.rs index aa85c3171d..8a993beb06 100644 --- a/esp32c6/src/pau/regdma_conf.rs +++ b/esp32c6/src/pau/regdma_conf.rs @@ -66,37 +66,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - backup start signal"] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 3) } #[doc = "Bit 4 - backup direction(reg to mem / mem to reg)"] #[inline(always)] - #[must_use] pub fn to_mem(&mut self) -> TO_MEM_W { TO_MEM_W::new(self, 4) } #[doc = "Bits 5:6 - Link select"] #[inline(always)] - #[must_use] pub fn link_sel(&mut self) -> LINK_SEL_W { LINK_SEL_W::new(self, 5) } #[doc = "Bit 7 - mac sw backup start signal"] #[inline(always)] - #[must_use] pub fn start_mac(&mut self) -> START_MAC_W { START_MAC_W::new(self, 7) } #[doc = "Bit 8 - mac sw backup direction(reg to mem / mem to reg)"] #[inline(always)] - #[must_use] pub fn to_mem_mac(&mut self) -> TO_MEM_MAC_W { TO_MEM_MAC_W::new(self, 8) } #[doc = "Bit 9 - mac hw/sw select"] #[inline(always)] - #[must_use] pub fn sel_mac(&mut self) -> SEL_MAC_W { SEL_MAC_W::new(self, 9) } diff --git a/esp32c6/src/pau/regdma_etm_ctrl.rs b/esp32c6/src/pau/regdma_etm_ctrl.rs index 92ee03c88d..3b7713e2a0 100644 --- a/esp32c6/src/pau/regdma_etm_ctrl.rs +++ b/esp32c6/src/pau/regdma_etm_ctrl.rs @@ -17,25 +17,21 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - etm_start_0 reg"] #[inline(always)] - #[must_use] pub fn etm_start_0(&mut self) -> ETM_START_0_W { ETM_START_0_W::new(self, 0) } #[doc = "Bit 1 - etm_start_1 reg"] #[inline(always)] - #[must_use] pub fn etm_start_1(&mut self) -> ETM_START_1_W { ETM_START_1_W::new(self, 1) } #[doc = "Bit 2 - etm_start_2 reg"] #[inline(always)] - #[must_use] pub fn etm_start_2(&mut self) -> ETM_START_2_W { ETM_START_2_W::new(self, 2) } #[doc = "Bit 3 - etm_start_3 reg"] #[inline(always)] - #[must_use] pub fn etm_start_3(&mut self) -> ETM_START_3_W { ETM_START_3_W::new(self, 3) } diff --git a/esp32c6/src/pau/regdma_link_0_addr.rs b/esp32c6/src/pau/regdma_link_0_addr.rs index ddac79e07d..012008b984 100644 --- a/esp32c6/src/pau/regdma_link_0_addr.rs +++ b/esp32c6/src/pau/regdma_link_0_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - link_0_addr reg"] #[inline(always)] - #[must_use] pub fn link_addr_0(&mut self) -> LINK_ADDR_0_W { LINK_ADDR_0_W::new(self, 0) } diff --git a/esp32c6/src/pau/regdma_link_1_addr.rs b/esp32c6/src/pau/regdma_link_1_addr.rs index 7e288f8812..42f205b789 100644 --- a/esp32c6/src/pau/regdma_link_1_addr.rs +++ b/esp32c6/src/pau/regdma_link_1_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Link_1_addr reg"] #[inline(always)] - #[must_use] pub fn link_addr_1(&mut self) -> LINK_ADDR_1_W { LINK_ADDR_1_W::new(self, 0) } diff --git a/esp32c6/src/pau/regdma_link_2_addr.rs b/esp32c6/src/pau/regdma_link_2_addr.rs index 65bf9bc97e..b1b51dfb0c 100644 --- a/esp32c6/src/pau/regdma_link_2_addr.rs +++ b/esp32c6/src/pau/regdma_link_2_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Link_2_addr reg"] #[inline(always)] - #[must_use] pub fn link_addr_2(&mut self) -> LINK_ADDR_2_W { LINK_ADDR_2_W::new(self, 0) } diff --git a/esp32c6/src/pau/regdma_link_3_addr.rs b/esp32c6/src/pau/regdma_link_3_addr.rs index 11fb8ec16a..c953bbea81 100644 --- a/esp32c6/src/pau/regdma_link_3_addr.rs +++ b/esp32c6/src/pau/regdma_link_3_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Link_3_addr reg"] #[inline(always)] - #[must_use] pub fn link_addr_3(&mut self) -> LINK_ADDR_3_W { LINK_ADDR_3_W::new(self, 0) } diff --git a/esp32c6/src/pau/regdma_link_mac_addr.rs b/esp32c6/src/pau/regdma_link_mac_addr.rs index 82b2beb321..01af3a97fc 100644 --- a/esp32c6/src/pau/regdma_link_mac_addr.rs +++ b/esp32c6/src/pau/regdma_link_mac_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Link_mac_addr reg"] #[inline(always)] - #[must_use] pub fn link_addr_mac(&mut self) -> LINK_ADDR_MAC_W { LINK_ADDR_MAC_W::new(self, 0) } diff --git a/esp32c6/src/pau/retention_cfg.rs b/esp32c6/src/pau/retention_cfg.rs index 8030535a21..c48d39a7b4 100644 --- a/esp32c6/src/pau/retention_cfg.rs +++ b/esp32c6/src/pau/retention_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - retention inv scan out"] #[inline(always)] - #[must_use] pub fn ret_inv_cfg(&mut self) -> RET_INV_CFG_W { RET_INV_CFG_W::new(self, 0) } diff --git a/esp32c6/src/pau/retention_link_base.rs b/esp32c6/src/pau/retention_link_base.rs index 4863fd7ed3..2360fd745a 100644 --- a/esp32c6/src/pau/retention_link_base.rs +++ b/esp32c6/src/pau/retention_link_base.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:26 - retention dma link base"] #[inline(always)] - #[must_use] pub fn link_base_addr(&mut self) -> LINK_BASE_ADDR_W { LINK_BASE_ADDR_W::new(self, 0) } diff --git a/esp32c6/src/pcnt/ctrl.rs b/esp32c6/src/pcnt/ctrl.rs index 9ea11d8451..baec6079be 100644 --- a/esp32c6/src/pcnt/ctrl.rs +++ b/esp32c6/src/pcnt/ctrl.rs @@ -112,7 +112,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CNT_RST_U0` field.
"] #[inline(always)] - #[must_use] pub fn cnt_rst_u(&mut self, n: u8) -> CNT_RST_U_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -120,25 +119,21 @@ impl W { } #[doc = "Bit 0 - Set this bit to clear unit0's counter."] #[inline(always)] - #[must_use] pub fn cnt_rst_u0(&mut self) -> CNT_RST_U_W { CNT_RST_U_W::new(self, 0) } #[doc = "Bit 2 - Set this bit to clear unit1's counter."] #[inline(always)] - #[must_use] pub fn cnt_rst_u1(&mut self) -> CNT_RST_U_W { CNT_RST_U_W::new(self, 2) } #[doc = "Bit 4 - Set this bit to clear unit2's counter."] #[inline(always)] - #[must_use] pub fn cnt_rst_u2(&mut self) -> CNT_RST_U_W { CNT_RST_U_W::new(self, 4) } #[doc = "Bit 6 - Set this bit to clear unit3's counter."] #[inline(always)] - #[must_use] pub fn cnt_rst_u3(&mut self) -> CNT_RST_U_W { CNT_RST_U_W::new(self, 6) } @@ -146,7 +141,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CNT_PAUSE_U0` field.
"] #[inline(always)] - #[must_use] pub fn cnt_pause_u(&mut self, n: u8) -> CNT_PAUSE_U_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -154,31 +148,26 @@ impl W { } #[doc = "Bit 1 - Set this bit to pause unit0's counter."] #[inline(always)] - #[must_use] pub fn cnt_pause_u0(&mut self) -> CNT_PAUSE_U_W { CNT_PAUSE_U_W::new(self, 1) } #[doc = "Bit 3 - Set this bit to pause unit1's counter."] #[inline(always)] - #[must_use] pub fn cnt_pause_u1(&mut self) -> CNT_PAUSE_U_W { CNT_PAUSE_U_W::new(self, 3) } #[doc = "Bit 5 - Set this bit to pause unit2's counter."] #[inline(always)] - #[must_use] pub fn cnt_pause_u2(&mut self) -> CNT_PAUSE_U_W { CNT_PAUSE_U_W::new(self, 5) } #[doc = "Bit 7 - Set this bit to pause unit3's counter."] #[inline(always)] - #[must_use] pub fn cnt_pause_u3(&mut self) -> CNT_PAUSE_U_W { CNT_PAUSE_U_W::new(self, 7) } #[doc = "Bit 16 - The registers clock gate enable signal of PCNT module. 1: the registers can be read and written by application. 0: the registers can not be read or written by application"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 16) } diff --git a/esp32c6/src/pcnt/date.rs b/esp32c6/src/pcnt/date.rs index 62c52e7519..e946eed689 100644 --- a/esp32c6/src/pcnt/date.rs +++ b/esp32c6/src/pcnt/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This is the PCNT version control register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/pcnt/int_clr.rs b/esp32c6/src/pcnt/int_clr.rs index 60d2b9e5fc..8122a1e7bd 100644 --- a/esp32c6/src/pcnt/int_clr.rs +++ b/esp32c6/src/pcnt/int_clr.rs @@ -13,7 +13,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CNT_THR_EVENT_U0` field.
"] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u(&mut self, n: u8) -> CNT_THR_EVENT_U_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -21,25 +20,21 @@ impl W { } #[doc = "Bit 0 - Set this bit to clear the PCNT_CNT_THR_EVENT_U0_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u0(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the PCNT_CNT_THR_EVENT_U1_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u1(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the PCNT_CNT_THR_EVENT_U2_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u2(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the PCNT_CNT_THR_EVENT_U3_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u3(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 3) } diff --git a/esp32c6/src/pcnt/int_ena.rs b/esp32c6/src/pcnt/int_ena.rs index 97405ab4c3..c96e98eacf 100644 --- a/esp32c6/src/pcnt/int_ena.rs +++ b/esp32c6/src/pcnt/int_ena.rs @@ -59,7 +59,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CNT_THR_EVENT_U0` field.
"] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u(&mut self, n: u8) -> CNT_THR_EVENT_U_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -67,25 +66,21 @@ impl W { } #[doc = "Bit 0 - The interrupt enable bit for the PCNT_CNT_THR_EVENT_U0_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u0(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the PCNT_CNT_THR_EVENT_U1_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u1(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the PCNT_CNT_THR_EVENT_U2_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u2(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the PCNT_CNT_THR_EVENT_U3_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u3(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 3) } diff --git a/esp32c6/src/pcnt/unit/conf0.rs b/esp32c6/src/pcnt/unit/conf0.rs index 5e715c9173..11efe74c98 100644 --- a/esp32c6/src/pcnt/unit/conf0.rs +++ b/esp32c6/src/pcnt/unit/conf0.rs @@ -346,43 +346,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - This sets the maximum threshold, in APB_CLK cycles, for the filter. Any pulses with width less than this will be ignored when the filter is enabled."] #[inline(always)] - #[must_use] pub fn filter_thres(&mut self) -> FILTER_THRES_W { FILTER_THRES_W::new(self, 0) } #[doc = "Bit 10 - This is the enable bit for unit %s's input filter."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 10) } #[doc = "Bit 11 - This is the enable bit for unit %s's zero comparator."] #[inline(always)] - #[must_use] pub fn thr_zero_en(&mut self) -> THR_ZERO_EN_W { THR_ZERO_EN_W::new(self, 11) } #[doc = "Bit 12 - This is the enable bit for unit %s's thr_h_lim comparator."] #[inline(always)] - #[must_use] pub fn thr_h_lim_en(&mut self) -> THR_H_LIM_EN_W { THR_H_LIM_EN_W::new(self, 12) } #[doc = "Bit 13 - This is the enable bit for unit %s's thr_l_lim comparator."] #[inline(always)] - #[must_use] pub fn thr_l_lim_en(&mut self) -> THR_L_LIM_EN_W { THR_L_LIM_EN_W::new(self, 13) } #[doc = "Bit 14 - This is the enable bit for unit %s's thres0 comparator."] #[inline(always)] - #[must_use] pub fn thr_thres0_en(&mut self) -> THR_THRES0_EN_W { THR_THRES0_EN_W::new(self, 14) } #[doc = "Bit 15 - This is the enable bit for unit %s's thres1 comparator."] #[inline(always)] - #[must_use] pub fn thr_thres1_en(&mut self) -> THR_THRES1_EN_W { THR_THRES1_EN_W::new(self, 15) } @@ -390,7 +383,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_NEG_MODE` field.
"] #[inline(always)] - #[must_use] pub fn ch_neg_mode(&mut self, n: u8) -> CH_NEG_MODE_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -398,13 +390,11 @@ impl W { } #[doc = "Bits 16:17 - Configures the behavior when the signal input of channel 0 detects a negative edge."] #[inline(always)] - #[must_use] pub fn ch0_neg_mode(&mut self) -> CH_NEG_MODE_W { CH_NEG_MODE_W::new(self, 16) } #[doc = "Bits 24:25 - Configures the behavior when the signal input of channel 1 detects a negative edge."] #[inline(always)] - #[must_use] pub fn ch1_neg_mode(&mut self) -> CH_NEG_MODE_W { CH_NEG_MODE_W::new(self, 24) } @@ -412,7 +402,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_POS_MODE` field.
"] #[inline(always)] - #[must_use] pub fn ch_pos_mode(&mut self, n: u8) -> CH_POS_MODE_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -420,13 +409,11 @@ impl W { } #[doc = "Bits 18:19 - Configures the behavior when the signal input of channel 0 detects a positive edge."] #[inline(always)] - #[must_use] pub fn ch0_pos_mode(&mut self) -> CH_POS_MODE_W { CH_POS_MODE_W::new(self, 18) } #[doc = "Bits 26:27 - Configures the behavior when the signal input of channel 1 detects a positive edge."] #[inline(always)] - #[must_use] pub fn ch1_pos_mode(&mut self) -> CH_POS_MODE_W { CH_POS_MODE_W::new(self, 26) } @@ -434,7 +421,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_HCTRL_MODE` field.
"] #[inline(always)] - #[must_use] pub fn ch_hctrl_mode(&mut self, n: u8) -> CH_HCTRL_MODE_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -442,13 +428,11 @@ impl W { } #[doc = "Bits 20:21 - Configures how the CHn_POS_MODE/CHn_NEG_MODE settings will be modified when the control signal is high."] #[inline(always)] - #[must_use] pub fn ch0_hctrl_mode(&mut self) -> CH_HCTRL_MODE_W { CH_HCTRL_MODE_W::new(self, 20) } #[doc = "Bits 28:29 - Configures how the CHn_POS_MODE/CHn_NEG_MODE settings will be modified when the control signal is high."] #[inline(always)] - #[must_use] pub fn ch1_hctrl_mode(&mut self) -> CH_HCTRL_MODE_W { CH_HCTRL_MODE_W::new(self, 28) } @@ -456,7 +440,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_LCTRL_MODE` field.
"] #[inline(always)] - #[must_use] pub fn ch_lctrl_mode(&mut self, n: u8) -> CH_LCTRL_MODE_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -464,13 +447,11 @@ impl W { } #[doc = "Bits 22:23 - Configures how the CHn_POS_MODE/CHn_NEG_MODE settings will be modified when the control signal is low."] #[inline(always)] - #[must_use] pub fn ch0_lctrl_mode(&mut self) -> CH_LCTRL_MODE_W { CH_LCTRL_MODE_W::new(self, 22) } #[doc = "Bits 30:31 - Configures how the CHn_POS_MODE/CHn_NEG_MODE settings will be modified when the control signal is low."] #[inline(always)] - #[must_use] pub fn ch1_lctrl_mode(&mut self) -> CH_LCTRL_MODE_W { CH_LCTRL_MODE_W::new(self, 30) } diff --git a/esp32c6/src/pcnt/unit/conf1.rs b/esp32c6/src/pcnt/unit/conf1.rs index 1585465b67..e88cae6aae 100644 --- a/esp32c6/src/pcnt/unit/conf1.rs +++ b/esp32c6/src/pcnt/unit/conf1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the thres0 value for unit %s."] #[inline(always)] - #[must_use] pub fn cnt_thres0(&mut self) -> CNT_THRES0_W { CNT_THRES0_W::new(self, 0) } #[doc = "Bits 16:31 - This register is used to configure the thres1 value for unit %s."] #[inline(always)] - #[must_use] pub fn cnt_thres1(&mut self) -> CNT_THRES1_W { CNT_THRES1_W::new(self, 16) } diff --git a/esp32c6/src/pcnt/unit/conf2.rs b/esp32c6/src/pcnt/unit/conf2.rs index cfc60509ee..d7b4aaa798 100644 --- a/esp32c6/src/pcnt/unit/conf2.rs +++ b/esp32c6/src/pcnt/unit/conf2.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the thr_h_lim value for unit %s."] #[inline(always)] - #[must_use] pub fn cnt_h_lim(&mut self) -> CNT_H_LIM_W { CNT_H_LIM_W::new(self, 0) } #[doc = "Bits 16:31 - This register is used to configure the thr_l_lim value for unit %s."] #[inline(always)] - #[must_use] pub fn cnt_l_lim(&mut self) -> CNT_L_LIM_W { CNT_L_LIM_W::new(self, 16) } diff --git a/esp32c6/src/pcr/aes_conf.rs b/esp32c6/src/pcr/aes_conf.rs index b2c1100902..2a7b79705e 100644 --- a/esp32c6/src/pcr/aes_conf.rs +++ b/esp32c6/src/pcr/aes_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable aes clock"] #[inline(always)] - #[must_use] pub fn aes_clk_en(&mut self) -> AES_CLK_EN_W { AES_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset aes module"] #[inline(always)] - #[must_use] pub fn aes_rst_en(&mut self) -> AES_RST_EN_W { AES_RST_EN_W::new(self, 1) } diff --git a/esp32c6/src/pcr/ahb_freq_conf.rs b/esp32c6/src/pcr/ahb_freq_conf.rs index 2a18b92289..12f0135f1f 100644 --- a/esp32c6/src/pcr/ahb_freq_conf.rs +++ b/esp32c6/src/pcr/ahb_freq_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Set as one within (0,1,3,7) to generate clk_ahb drived by clk_hproot. The clk_ahb is div1(default)/div2/div4/div8 of clk_hproot. This field is only avaliable for low-speed clock-source such as XTAL/FOSC, and should be used together with PCR_CPU_LS_DIV_NUM."] #[inline(always)] - #[must_use] pub fn ahb_ls_div_num(&mut self) -> AHB_LS_DIV_NUM_W { AHB_LS_DIV_NUM_W::new(self, 0) } #[doc = "Bits 8:15 - Set as one within (3,7,15) to generate clk_ahb drived by clk_hproot. The clk_ahb is div4(default)/div8/div16 of clk_hproot. This field is only avaliable for high-speed clock-source such as SPLL, and should be used together with PCR_CPU_HS_DIV_NUM."] #[inline(always)] - #[must_use] pub fn ahb_hs_div_num(&mut self) -> AHB_HS_DIV_NUM_W { AHB_HS_DIV_NUM_W::new(self, 8) } diff --git a/esp32c6/src/pcr/apb_freq_conf.rs b/esp32c6/src/pcr/apb_freq_conf.rs index 98cee8a4cc..048756b858 100644 --- a/esp32c6/src/pcr/apb_freq_conf.rs +++ b/esp32c6/src/pcr/apb_freq_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - If this field's value is grater than PCR_APB_DIV_NUM, the clk_apb will be automatically down to clk_apb_decrease only when no access is on apb-bus, and will recover to the previous frequency when a new access appears on apb-bus. Set as one within (0,1,3) to set clk_apb_decrease as div1/div2/div4(default) of clk_ahb. Note that enable this function will reduce performance. Users can set this field as zero to disable the auto-decrease-apb-freq function. By default, this function is disable."] #[inline(always)] - #[must_use] pub fn apb_decrease_div_num(&mut self) -> APB_DECREASE_DIV_NUM_W { APB_DECREASE_DIV_NUM_W::new(self, 0) } #[doc = "Bits 8:15 - Set as one within (0,1,3) to generate clk_apb drived by clk_ahb. The clk_apb is div1(default)/div2/div4 of clk_ahb."] #[inline(always)] - #[must_use] pub fn apb_div_num(&mut self) -> APB_DIV_NUM_W { APB_DIV_NUM_W::new(self, 8) } diff --git a/esp32c6/src/pcr/assist_conf.rs b/esp32c6/src/pcr/assist_conf.rs index 90c8f81da5..9ab218a3d9 100644 --- a/esp32c6/src/pcr/assist_conf.rs +++ b/esp32c6/src/pcr/assist_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable assist clock"] #[inline(always)] - #[must_use] pub fn assist_clk_en(&mut self) -> ASSIST_CLK_EN_W { ASSIST_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset assist module"] #[inline(always)] - #[must_use] pub fn assist_rst_en(&mut self) -> ASSIST_RST_EN_W { ASSIST_RST_EN_W::new(self, 1) } diff --git a/esp32c6/src/pcr/cache_conf.rs b/esp32c6/src/pcr/cache_conf.rs index 241fb65f98..ead9675db2 100644 --- a/esp32c6/src/pcr/cache_conf.rs +++ b/esp32c6/src/pcr/cache_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable cache clock"] #[inline(always)] - #[must_use] pub fn cache_clk_en(&mut self) -> CACHE_CLK_EN_W { CACHE_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset cache module"] #[inline(always)] - #[must_use] pub fn cache_rst_en(&mut self) -> CACHE_RST_EN_W { CACHE_RST_EN_W::new(self, 1) } diff --git a/esp32c6/src/pcr/clock_gate.rs b/esp32c6/src/pcr/clock_gate.rs index f607723e32..7fd9318a23 100644 --- a/esp32c6/src/pcr/clock_gate.rs +++ b/esp32c6/src/pcr/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit as 1 to force on clock gating."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32c6/src/pcr/cpu_freq_conf.rs b/esp32c6/src/pcr/cpu_freq_conf.rs index ed0808cf45..d5c231a033 100644 --- a/esp32c6/src/pcr/cpu_freq_conf.rs +++ b/esp32c6/src/pcr/cpu_freq_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Set as one within (0,1,3) to generate clk_cpu drived by clk_hproot. The clk_cpu is div1(default)/div2/div4 of clk_hproot. This field is only avaliable for low-speed clock-source such as XTAL/FOSC, and should be used together with PCR_AHB_LS_DIV_NUM."] #[inline(always)] - #[must_use] pub fn cpu_ls_div_num(&mut self) -> CPU_LS_DIV_NUM_W { CPU_LS_DIV_NUM_W::new(self, 0) } #[doc = "Bits 8:15 - Set as one within (0,1,3) to generate clk_cpu drived by clk_hproot. The clk_cpu is div1(default)/div2/div4 of clk_hproot. This field is only avaliable for high-speed clock-source such as SPLL, and should be used together with PCR_AHB_HS_DIV_NUM."] #[inline(always)] - #[must_use] pub fn cpu_hs_div_num(&mut self) -> CPU_HS_DIV_NUM_W { CPU_HS_DIV_NUM_W::new(self, 8) } #[doc = "Bit 16 - Given that PCR_CPU_HS_DIV_NUM is 0, set this field as 1 to force clk_cpu at 120MHz. Only avaliable when PCR_CPU_HS_DIV_NUM is 0 and clk_cpu is driven by SPLL."] #[inline(always)] - #[must_use] pub fn cpu_hs_120m_force(&mut self) -> CPU_HS_120M_FORCE_W { CPU_HS_120M_FORCE_W::new(self, 16) } diff --git a/esp32c6/src/pcr/cpu_waiti_conf.rs b/esp32c6/src/pcr/cpu_waiti_conf.rs index 2e0336689b..b2006669f0 100644 --- a/esp32c6/src/pcr/cpu_waiti_conf.rs +++ b/esp32c6/src/pcr/cpu_waiti_conf.rs @@ -50,13 +50,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - Set 1 to force cpu_waiti_clk enable."] #[inline(always)] - #[must_use] pub fn cpu_wait_mode_force_on(&mut self) -> CPU_WAIT_MODE_FORCE_ON_W { CPU_WAIT_MODE_FORCE_ON_W::new(self, 3) } #[doc = "Bits 4:7 - This field used to set delay cycle when cpu enter waiti mode, after delay waiti_clk will close"] #[inline(always)] - #[must_use] pub fn cpu_waiti_delay_num(&mut self) -> CPU_WAITI_DELAY_NUM_W { CPU_WAITI_DELAY_NUM_W::new(self, 4) } diff --git a/esp32c6/src/pcr/ctrl_32k_conf.rs b/esp32c6/src/pcr/ctrl_32k_conf.rs index 35198e054b..8c178cc4b1 100644 --- a/esp32c6/src/pcr/ctrl_32k_conf.rs +++ b/esp32c6/src/pcr/ctrl_32k_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - This field indicates which one 32KHz clock will be used by MODEM_SYSTEM and timergroup. 0: OSC32K(default), 1: XTAL32K, 2/3: 32KHz from pad GPIO0."] #[inline(always)] - #[must_use] pub fn clk_32k_sel(&mut self) -> CLK_32K_SEL_W { CLK_32K_SEL_W::new(self, 0) } diff --git a/esp32c6/src/pcr/ctrl_clk_out_en.rs b/esp32c6/src/pcr/ctrl_clk_out_en.rs index 6c15c95df5..9e77127aa4 100644 --- a/esp32c6/src/pcr/ctrl_clk_out_en.rs +++ b/esp32c6/src/pcr/ctrl_clk_out_en.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable 20m clock"] #[inline(always)] - #[must_use] pub fn clk20_oen(&mut self) -> CLK20_OEN_W { CLK20_OEN_W::new(self, 0) } #[doc = "Bit 1 - Set 1 to enable 22m clock"] #[inline(always)] - #[must_use] pub fn clk22_oen(&mut self) -> CLK22_OEN_W { CLK22_OEN_W::new(self, 1) } #[doc = "Bit 2 - Set 1 to enable 44m clock"] #[inline(always)] - #[must_use] pub fn clk44_oen(&mut self) -> CLK44_OEN_W { CLK44_OEN_W::new(self, 2) } #[doc = "Bit 3 - Set 1 to enable bb clock"] #[inline(always)] - #[must_use] pub fn clk_bb_oen(&mut self) -> CLK_BB_OEN_W { CLK_BB_OEN_W::new(self, 3) } #[doc = "Bit 4 - Set 1 to enable 80m clock"] #[inline(always)] - #[must_use] pub fn clk80_oen(&mut self) -> CLK80_OEN_W { CLK80_OEN_W::new(self, 4) } #[doc = "Bit 5 - Set 1 to enable 160m clock"] #[inline(always)] - #[must_use] pub fn clk160_oen(&mut self) -> CLK160_OEN_W { CLK160_OEN_W::new(self, 5) } #[doc = "Bit 6 - Set 1 to enable 320m clock"] #[inline(always)] - #[must_use] pub fn clk_320m_oen(&mut self) -> CLK_320M_OEN_W { CLK_320M_OEN_W::new(self, 6) } #[doc = "Bit 7 - Reserved"] #[inline(always)] - #[must_use] pub fn clk_adc_inf_oen(&mut self) -> CLK_ADC_INF_OEN_W { CLK_ADC_INF_OEN_W::new(self, 7) } #[doc = "Bit 8 - Reserved"] #[inline(always)] - #[must_use] pub fn clk_dac_cpu_oen(&mut self) -> CLK_DAC_CPU_OEN_W { CLK_DAC_CPU_OEN_W::new(self, 8) } #[doc = "Bit 9 - Set 1 to enable 40x_bb clock"] #[inline(always)] - #[must_use] pub fn clk40x_bb_oen(&mut self) -> CLK40X_BB_OEN_W { CLK40X_BB_OEN_W::new(self, 9) } #[doc = "Bit 10 - Set 1 to enable xtal clock"] #[inline(always)] - #[must_use] pub fn clk_xtal_oen(&mut self) -> CLK_XTAL_OEN_W { CLK_XTAL_OEN_W::new(self, 10) } diff --git a/esp32c6/src/pcr/ctrl_tick_conf.rs b/esp32c6/src/pcr/ctrl_tick_conf.rs index 0670173fd9..e931c4c0f9 100644 --- a/esp32c6/src/pcr/ctrl_tick_conf.rs +++ b/esp32c6/src/pcr/ctrl_tick_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn xtal_tick_num(&mut self) -> XTAL_TICK_NUM_W { XTAL_TICK_NUM_W::new(self, 0) } #[doc = "Bits 8:15 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn fosc_tick_num(&mut self) -> FOSC_TICK_NUM_W { FOSC_TICK_NUM_W::new(self, 8) } #[doc = "Bit 16 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn tick_enable(&mut self) -> TICK_ENABLE_W { TICK_ENABLE_W::new(self, 16) } #[doc = "Bit 17 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn rst_tick_cnt(&mut self) -> RST_TICK_CNT_W { RST_TICK_CNT_W::new(self, 17) } diff --git a/esp32c6/src/pcr/date.rs b/esp32c6/src/pcr/date.rs index 3f402dd73e..5ec1293d6b 100644 --- a/esp32c6/src/pcr/date.rs +++ b/esp32c6/src/pcr/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - PCR version information."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/pcr/ds_conf.rs b/esp32c6/src/pcr/ds_conf.rs index b77ad6171f..8d86ed5320 100644 --- a/esp32c6/src/pcr/ds_conf.rs +++ b/esp32c6/src/pcr/ds_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable ds clock"] #[inline(always)] - #[must_use] pub fn ds_clk_en(&mut self) -> DS_CLK_EN_W { DS_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset ds module"] #[inline(always)] - #[must_use] pub fn ds_rst_en(&mut self) -> DS_RST_EN_W { DS_RST_EN_W::new(self, 1) } diff --git a/esp32c6/src/pcr/ecc_conf.rs b/esp32c6/src/pcr/ecc_conf.rs index fa1b242b36..49f92bb114 100644 --- a/esp32c6/src/pcr/ecc_conf.rs +++ b/esp32c6/src/pcr/ecc_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable ecc clock"] #[inline(always)] - #[must_use] pub fn ecc_clk_en(&mut self) -> ECC_CLK_EN_W { ECC_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset ecc module"] #[inline(always)] - #[must_use] pub fn ecc_rst_en(&mut self) -> ECC_RST_EN_W { ECC_RST_EN_W::new(self, 1) } diff --git a/esp32c6/src/pcr/ecc_pd_ctrl.rs b/esp32c6/src/pcr/ecc_pd_ctrl.rs index d366f0a516..fced3400fb 100644 --- a/esp32c6/src/pcr/ecc_pd_ctrl.rs +++ b/esp32c6/src/pcr/ecc_pd_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to power down ecc internal memory."] #[inline(always)] - #[must_use] pub fn ecc_mem_pd(&mut self) -> ECC_MEM_PD_W { ECC_MEM_PD_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to force power up ecc internal memory"] #[inline(always)] - #[must_use] pub fn ecc_mem_force_pu(&mut self) -> ECC_MEM_FORCE_PU_W { ECC_MEM_FORCE_PU_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to force power down ecc internal memory."] #[inline(always)] - #[must_use] pub fn ecc_mem_force_pd(&mut self) -> ECC_MEM_FORCE_PD_W { ECC_MEM_FORCE_PD_W::new(self, 2) } diff --git a/esp32c6/src/pcr/etm_conf.rs b/esp32c6/src/pcr/etm_conf.rs index 24272e1a01..a5a2e7f4bf 100644 --- a/esp32c6/src/pcr/etm_conf.rs +++ b/esp32c6/src/pcr/etm_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable etm clock"] #[inline(always)] - #[must_use] pub fn etm_clk_en(&mut self) -> ETM_CLK_EN_W { ETM_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset etm module"] #[inline(always)] - #[must_use] pub fn etm_rst_en(&mut self) -> ETM_RST_EN_W { ETM_RST_EN_W::new(self, 1) } diff --git a/esp32c6/src/pcr/fpga_debug.rs b/esp32c6/src/pcr/fpga_debug.rs index 87ce4bbf5e..762fbf6fe8 100644 --- a/esp32c6/src/pcr/fpga_debug.rs +++ b/esp32c6/src/pcr/fpga_debug.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Only used in fpga debug."] #[inline(always)] - #[must_use] pub fn fpga_debug(&mut self) -> FPGA_DEBUG_W { FPGA_DEBUG_W::new(self, 0) } diff --git a/esp32c6/src/pcr/gdma_conf.rs b/esp32c6/src/pcr/gdma_conf.rs index 2932d854dd..d3020a0d64 100644 --- a/esp32c6/src/pcr/gdma_conf.rs +++ b/esp32c6/src/pcr/gdma_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable gdma clock"] #[inline(always)] - #[must_use] pub fn gdma_clk_en(&mut self) -> GDMA_CLK_EN_W { GDMA_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset gdma module"] #[inline(always)] - #[must_use] pub fn gdma_rst_en(&mut self) -> GDMA_RST_EN_W { GDMA_RST_EN_W::new(self, 1) } diff --git a/esp32c6/src/pcr/hmac_conf.rs b/esp32c6/src/pcr/hmac_conf.rs index cac6120f55..399c716afa 100644 --- a/esp32c6/src/pcr/hmac_conf.rs +++ b/esp32c6/src/pcr/hmac_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable hmac clock"] #[inline(always)] - #[must_use] pub fn hmac_clk_en(&mut self) -> HMAC_CLK_EN_W { HMAC_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset hmac module"] #[inline(always)] - #[must_use] pub fn hmac_rst_en(&mut self) -> HMAC_RST_EN_W { HMAC_RST_EN_W::new(self, 1) } diff --git a/esp32c6/src/pcr/i2c0_conf.rs b/esp32c6/src/pcr/i2c0_conf.rs index b5a9805f02..f4f0f0763a 100644 --- a/esp32c6/src/pcr/i2c0_conf.rs +++ b/esp32c6/src/pcr/i2c0_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable i2c apb clock"] #[inline(always)] - #[must_use] pub fn i2c0_clk_en(&mut self) -> I2C0_CLK_EN_W { I2C0_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset i2c module"] #[inline(always)] - #[must_use] pub fn i2c0_rst_en(&mut self) -> I2C0_RST_EN_W { I2C0_RST_EN_W::new(self, 1) } diff --git a/esp32c6/src/pcr/i2c_sclk_conf.rs b/esp32c6/src/pcr/i2c_sclk_conf.rs index 4e3a99ea96..3803aae95f 100644 --- a/esp32c6/src/pcr/i2c_sclk_conf.rs +++ b/esp32c6/src/pcr/i2c_sclk_conf.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - The denominator of the frequency divider factor of the i2c function clock."] #[inline(always)] - #[must_use] pub fn i2c_sclk_div_a(&mut self) -> I2C_SCLK_DIV_A_W { I2C_SCLK_DIV_A_W::new(self, 0) } #[doc = "Bits 6:11 - The numerator of the frequency divider factor of the i2c function clock."] #[inline(always)] - #[must_use] pub fn i2c_sclk_div_b(&mut self) -> I2C_SCLK_DIV_B_W { I2C_SCLK_DIV_B_W::new(self, 6) } #[doc = "Bits 12:19 - The integral part of the frequency divider factor of the i2c function clock."] #[inline(always)] - #[must_use] pub fn i2c_sclk_div_num(&mut self) -> I2C_SCLK_DIV_NUM_W { I2C_SCLK_DIV_NUM_W::new(self, 12) } #[doc = "Bit 20 - set this field to select clock-source. 0(default): XTAL, 1: FOSC."] #[inline(always)] - #[must_use] pub fn i2c_sclk_sel(&mut self) -> I2C_SCLK_SEL_W { I2C_SCLK_SEL_W::new(self, 20) } #[doc = "Bit 22 - Set 1 to enable i2c function clock"] #[inline(always)] - #[must_use] pub fn i2c_sclk_en(&mut self) -> I2C_SCLK_EN_W { I2C_SCLK_EN_W::new(self, 22) } diff --git a/esp32c6/src/pcr/i2s_conf.rs b/esp32c6/src/pcr/i2s_conf.rs index c0c3b1de37..e9f91bf72c 100644 --- a/esp32c6/src/pcr/i2s_conf.rs +++ b/esp32c6/src/pcr/i2s_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable i2s apb clock"] #[inline(always)] - #[must_use] pub fn i2s_clk_en(&mut self) -> I2S_CLK_EN_W { I2S_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset i2s module"] #[inline(always)] - #[must_use] pub fn i2s_rst_en(&mut self) -> I2S_RST_EN_W { I2S_RST_EN_W::new(self, 1) } diff --git a/esp32c6/src/pcr/i2s_rx_clkm_conf.rs b/esp32c6/src/pcr/i2s_rx_clkm_conf.rs index 32554d8934..3596df4854 100644 --- a/esp32c6/src/pcr/i2s_rx_clkm_conf.rs +++ b/esp32c6/src/pcr/i2s_rx_clkm_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 12:19 - Integral I2S clock divider value"] #[inline(always)] - #[must_use] pub fn i2s_rx_clkm_div_num(&mut self) -> I2S_RX_CLKM_DIV_NUM_W { I2S_RX_CLKM_DIV_NUM_W::new(self, 12) } #[doc = "Bits 20:21 - Select I2S Rx module source clock. 0: no clock. 1: APLL. 2: CLK160. 3: I2S_MCLK_in."] #[inline(always)] - #[must_use] pub fn i2s_rx_clkm_sel(&mut self) -> I2S_RX_CLKM_SEL_W { I2S_RX_CLKM_SEL_W::new(self, 20) } #[doc = "Bit 22 - Set 1 to enable i2s_rx function clock"] #[inline(always)] - #[must_use] pub fn i2s_rx_clkm_en(&mut self) -> I2S_RX_CLKM_EN_W { I2S_RX_CLKM_EN_W::new(self, 22) } #[doc = "Bit 23 - This field is used to select master-clock. 0(default): clk_i2s_rx, 1: clk_i2s_tx"] #[inline(always)] - #[must_use] pub fn i2s_mclk_sel(&mut self) -> I2S_MCLK_SEL_W { I2S_MCLK_SEL_W::new(self, 23) } diff --git a/esp32c6/src/pcr/i2s_rx_clkm_div_conf.rs b/esp32c6/src/pcr/i2s_rx_clkm_div_conf.rs index 2ef4e12517..7cd6095b38 100644 --- a/esp32c6/src/pcr/i2s_rx_clkm_div_conf.rs +++ b/esp32c6/src/pcr/i2s_rx_clkm_div_conf.rs @@ -2,39 +2,39 @@ pub type R = crate::R; #[doc = "Register `I2S_RX_CLKM_DIV_CONF` writer"] pub type W = crate::W; -#[doc = "Field `I2S_RX_CLKM_DIV_Z` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] +#[doc = "Field `I2S_RX_CLKM_DIV_Z` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] pub type I2S_RX_CLKM_DIV_Z_R = crate::FieldReader; -#[doc = "Field `I2S_RX_CLKM_DIV_Z` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] +#[doc = "Field `I2S_RX_CLKM_DIV_Z` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] pub type I2S_RX_CLKM_DIV_Z_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `I2S_RX_CLKM_DIV_Y` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] +#[doc = "Field `I2S_RX_CLKM_DIV_Y` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] pub type I2S_RX_CLKM_DIV_Y_R = crate::FieldReader; -#[doc = "Field `I2S_RX_CLKM_DIV_Y` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] +#[doc = "Field `I2S_RX_CLKM_DIV_Y` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] pub type I2S_RX_CLKM_DIV_Y_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `I2S_RX_CLKM_DIV_X` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] +#[doc = "Field `I2S_RX_CLKM_DIV_X` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] pub type I2S_RX_CLKM_DIV_X_R = crate::FieldReader; -#[doc = "Field `I2S_RX_CLKM_DIV_X` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] +#[doc = "Field `I2S_RX_CLKM_DIV_X` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] pub type I2S_RX_CLKM_DIV_X_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `I2S_RX_CLKM_DIV_YN1` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] +#[doc = "Field `I2S_RX_CLKM_DIV_YN1` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] pub type I2S_RX_CLKM_DIV_YN1_R = crate::BitReader; -#[doc = "Field `I2S_RX_CLKM_DIV_YN1` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] +#[doc = "Field `I2S_RX_CLKM_DIV_YN1` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] pub type I2S_RX_CLKM_DIV_YN1_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { - #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] + #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] #[inline(always)] pub fn i2s_rx_clkm_div_z(&self) -> I2S_RX_CLKM_DIV_Z_R { I2S_RX_CLKM_DIV_Z_R::new((self.bits & 0x01ff) as u16) } - #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] + #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] #[inline(always)] pub fn i2s_rx_clkm_div_y(&self) -> I2S_RX_CLKM_DIV_Y_R { I2S_RX_CLKM_DIV_Y_R::new(((self.bits >> 9) & 0x01ff) as u16) } - #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] + #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] #[inline(always)] pub fn i2s_rx_clkm_div_x(&self) -> I2S_RX_CLKM_DIV_X_R { I2S_RX_CLKM_DIV_X_R::new(((self.bits >> 18) & 0x01ff) as u16) } - #[doc = "Bit 27 - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] + #[doc = "Bit 27 - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] #[inline(always)] pub fn i2s_rx_clkm_div_yn1(&self) -> I2S_RX_CLKM_DIV_YN1_R { I2S_RX_CLKM_DIV_YN1_R::new(((self.bits >> 27) & 1) != 0) @@ -52,27 +52,23 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] + #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] #[inline(always)] - #[must_use] pub fn i2s_rx_clkm_div_z(&mut self) -> I2S_RX_CLKM_DIV_Z_W { I2S_RX_CLKM_DIV_Z_W::new(self, 0) } - #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] + #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] #[inline(always)] - #[must_use] pub fn i2s_rx_clkm_div_y(&mut self) -> I2S_RX_CLKM_DIV_Y_W { I2S_RX_CLKM_DIV_Y_W::new(self, 9) } - #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] + #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] #[inline(always)] - #[must_use] pub fn i2s_rx_clkm_div_x(&mut self) -> I2S_RX_CLKM_DIV_X_W { I2S_RX_CLKM_DIV_X_W::new(self, 18) } - #[doc = "Bit 27 - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] + #[doc = "Bit 27 - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] #[inline(always)] - #[must_use] pub fn i2s_rx_clkm_div_yn1(&mut self) -> I2S_RX_CLKM_DIV_YN1_W { I2S_RX_CLKM_DIV_YN1_W::new(self, 27) } diff --git a/esp32c6/src/pcr/i2s_tx_clkm_conf.rs b/esp32c6/src/pcr/i2s_tx_clkm_conf.rs index d410515c52..7573eef969 100644 --- a/esp32c6/src/pcr/i2s_tx_clkm_conf.rs +++ b/esp32c6/src/pcr/i2s_tx_clkm_conf.rs @@ -2,9 +2,9 @@ pub type R = crate::R; #[doc = "Register `I2S_TX_CLKM_CONF` writer"] pub type W = crate::W; -#[doc = "Field `I2S_TX_CLKM_DIV_NUM` reader - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] +#[doc = "Field `I2S_TX_CLKM_DIV_NUM` reader - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] pub type I2S_TX_CLKM_DIV_NUM_R = crate::FieldReader; -#[doc = "Field `I2S_TX_CLKM_DIV_NUM` writer - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] +#[doc = "Field `I2S_TX_CLKM_DIV_NUM` writer - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] pub type I2S_TX_CLKM_DIV_NUM_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; #[doc = "Field `I2S_TX_CLKM_SEL` reader - Select I2S Tx module source clock. 0: XTAL clock. 1: APLL. 2: CLK160. 3: I2S_MCLK_in."] pub type I2S_TX_CLKM_SEL_R = crate::FieldReader; @@ -15,7 +15,7 @@ pub type I2S_TX_CLKM_EN_R = crate::BitReader; #[doc = "Field `I2S_TX_CLKM_EN` writer - Set 1 to enable i2s_tx function clock"] pub type I2S_TX_CLKM_EN_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { - #[doc = "Bits 12:19 - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] + #[doc = "Bits 12:19 - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] #[inline(always)] pub fn i2s_tx_clkm_div_num(&self) -> I2S_TX_CLKM_DIV_NUM_R { I2S_TX_CLKM_DIV_NUM_R::new(((self.bits >> 12) & 0xff) as u8) @@ -42,21 +42,18 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bits 12:19 - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] + #[doc = "Bits 12:19 - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] #[inline(always)] - #[must_use] pub fn i2s_tx_clkm_div_num(&mut self) -> I2S_TX_CLKM_DIV_NUM_W { I2S_TX_CLKM_DIV_NUM_W::new(self, 12) } #[doc = "Bits 20:21 - Select I2S Tx module source clock. 0: XTAL clock. 1: APLL. 2: CLK160. 3: I2S_MCLK_in."] #[inline(always)] - #[must_use] pub fn i2s_tx_clkm_sel(&mut self) -> I2S_TX_CLKM_SEL_W { I2S_TX_CLKM_SEL_W::new(self, 20) } #[doc = "Bit 22 - Set 1 to enable i2s_tx function clock"] #[inline(always)] - #[must_use] pub fn i2s_tx_clkm_en(&mut self) -> I2S_TX_CLKM_EN_W { I2S_TX_CLKM_EN_W::new(self, 22) } diff --git a/esp32c6/src/pcr/i2s_tx_clkm_div_conf.rs b/esp32c6/src/pcr/i2s_tx_clkm_div_conf.rs index f41f90d66f..1acfec93f8 100644 --- a/esp32c6/src/pcr/i2s_tx_clkm_div_conf.rs +++ b/esp32c6/src/pcr/i2s_tx_clkm_div_conf.rs @@ -2,39 +2,39 @@ pub type R = crate::R; #[doc = "Register `I2S_TX_CLKM_DIV_CONF` writer"] pub type W = crate::W; -#[doc = "Field `I2S_TX_CLKM_DIV_Z` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] +#[doc = "Field `I2S_TX_CLKM_DIV_Z` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] pub type I2S_TX_CLKM_DIV_Z_R = crate::FieldReader; -#[doc = "Field `I2S_TX_CLKM_DIV_Z` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] +#[doc = "Field `I2S_TX_CLKM_DIV_Z` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] pub type I2S_TX_CLKM_DIV_Z_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `I2S_TX_CLKM_DIV_Y` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] +#[doc = "Field `I2S_TX_CLKM_DIV_Y` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] pub type I2S_TX_CLKM_DIV_Y_R = crate::FieldReader; -#[doc = "Field `I2S_TX_CLKM_DIV_Y` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] +#[doc = "Field `I2S_TX_CLKM_DIV_Y` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] pub type I2S_TX_CLKM_DIV_Y_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `I2S_TX_CLKM_DIV_X` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] +#[doc = "Field `I2S_TX_CLKM_DIV_X` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] pub type I2S_TX_CLKM_DIV_X_R = crate::FieldReader; -#[doc = "Field `I2S_TX_CLKM_DIV_X` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] +#[doc = "Field `I2S_TX_CLKM_DIV_X` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] pub type I2S_TX_CLKM_DIV_X_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `I2S_TX_CLKM_DIV_YN1` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] +#[doc = "Field `I2S_TX_CLKM_DIV_YN1` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] pub type I2S_TX_CLKM_DIV_YN1_R = crate::BitReader; -#[doc = "Field `I2S_TX_CLKM_DIV_YN1` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] +#[doc = "Field `I2S_TX_CLKM_DIV_YN1` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] pub type I2S_TX_CLKM_DIV_YN1_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { - #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] + #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] #[inline(always)] pub fn i2s_tx_clkm_div_z(&self) -> I2S_TX_CLKM_DIV_Z_R { I2S_TX_CLKM_DIV_Z_R::new((self.bits & 0x01ff) as u16) } - #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] + #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] #[inline(always)] pub fn i2s_tx_clkm_div_y(&self) -> I2S_TX_CLKM_DIV_Y_R { I2S_TX_CLKM_DIV_Y_R::new(((self.bits >> 9) & 0x01ff) as u16) } - #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] + #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] #[inline(always)] pub fn i2s_tx_clkm_div_x(&self) -> I2S_TX_CLKM_DIV_X_R { I2S_TX_CLKM_DIV_X_R::new(((self.bits >> 18) & 0x01ff) as u16) } - #[doc = "Bit 27 - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] + #[doc = "Bit 27 - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] #[inline(always)] pub fn i2s_tx_clkm_div_yn1(&self) -> I2S_TX_CLKM_DIV_YN1_R { I2S_TX_CLKM_DIV_YN1_R::new(((self.bits >> 27) & 1) != 0) @@ -52,27 +52,23 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] + #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] #[inline(always)] - #[must_use] pub fn i2s_tx_clkm_div_z(&mut self) -> I2S_TX_CLKM_DIV_Z_W { I2S_TX_CLKM_DIV_Z_W::new(self, 0) } - #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] + #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] #[inline(always)] - #[must_use] pub fn i2s_tx_clkm_div_y(&mut self) -> I2S_TX_CLKM_DIV_Y_W { I2S_TX_CLKM_DIV_Y_W::new(self, 9) } - #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] + #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] #[inline(always)] - #[must_use] pub fn i2s_tx_clkm_div_x(&mut self) -> I2S_TX_CLKM_DIV_X_W { I2S_TX_CLKM_DIV_X_W::new(self, 18) } - #[doc = "Bit 27 - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] + #[doc = "Bit 27 - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] #[inline(always)] - #[must_use] pub fn i2s_tx_clkm_div_yn1(&mut self) -> I2S_TX_CLKM_DIV_YN1_W { I2S_TX_CLKM_DIV_YN1_W::new(self, 27) } diff --git a/esp32c6/src/pcr/intmtx_conf.rs b/esp32c6/src/pcr/intmtx_conf.rs index 19942724b3..bbdf3a4f61 100644 --- a/esp32c6/src/pcr/intmtx_conf.rs +++ b/esp32c6/src/pcr/intmtx_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable intmtx clock"] #[inline(always)] - #[must_use] pub fn intmtx_clk_en(&mut self) -> INTMTX_CLK_EN_W { INTMTX_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset intmtx module"] #[inline(always)] - #[must_use] pub fn intmtx_rst_en(&mut self) -> INTMTX_RST_EN_W { INTMTX_RST_EN_W::new(self, 1) } diff --git a/esp32c6/src/pcr/iomux_clk_conf.rs b/esp32c6/src/pcr/iomux_clk_conf.rs index f33b110df9..596cfadbeb 100644 --- a/esp32c6/src/pcr/iomux_clk_conf.rs +++ b/esp32c6/src/pcr/iomux_clk_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 20:21 - set this field to select clock-source. 0: do not select anyone clock, 1: 80MHz, 2: FOSC, 3(default): XTAL."] #[inline(always)] - #[must_use] pub fn iomux_func_clk_sel(&mut self) -> IOMUX_FUNC_CLK_SEL_W { IOMUX_FUNC_CLK_SEL_W::new(self, 20) } #[doc = "Bit 22 - Set 1 to enable iomux function clock"] #[inline(always)] - #[must_use] pub fn iomux_func_clk_en(&mut self) -> IOMUX_FUNC_CLK_EN_W { IOMUX_FUNC_CLK_EN_W::new(self, 22) } diff --git a/esp32c6/src/pcr/iomux_conf.rs b/esp32c6/src/pcr/iomux_conf.rs index 4437457cb6..704fd8625c 100644 --- a/esp32c6/src/pcr/iomux_conf.rs +++ b/esp32c6/src/pcr/iomux_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable iomux apb clock"] #[inline(always)] - #[must_use] pub fn iomux_clk_en(&mut self) -> IOMUX_CLK_EN_W { IOMUX_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset iomux module"] #[inline(always)] - #[must_use] pub fn iomux_rst_en(&mut self) -> IOMUX_RST_EN_W { IOMUX_RST_EN_W::new(self, 1) } diff --git a/esp32c6/src/pcr/ledc_conf.rs b/esp32c6/src/pcr/ledc_conf.rs index cfde8b549c..0ebebfa659 100644 --- a/esp32c6/src/pcr/ledc_conf.rs +++ b/esp32c6/src/pcr/ledc_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable ledc apb clock"] #[inline(always)] - #[must_use] pub fn ledc_clk_en(&mut self) -> LEDC_CLK_EN_W { LEDC_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset ledc module"] #[inline(always)] - #[must_use] pub fn ledc_rst_en(&mut self) -> LEDC_RST_EN_W { LEDC_RST_EN_W::new(self, 1) } diff --git a/esp32c6/src/pcr/ledc_sclk_conf.rs b/esp32c6/src/pcr/ledc_sclk_conf.rs index cc4f3c1d02..cdd93662bb 100644 --- a/esp32c6/src/pcr/ledc_sclk_conf.rs +++ b/esp32c6/src/pcr/ledc_sclk_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 20:21 - set this field to select clock-source. 0(default): do not select anyone clock, 1: 80MHz, 2: FOSC, 3: XTAL."] #[inline(always)] - #[must_use] pub fn ledc_sclk_sel(&mut self) -> LEDC_SCLK_SEL_W { LEDC_SCLK_SEL_W::new(self, 20) } #[doc = "Bit 22 - Set 1 to enable ledc function clock"] #[inline(always)] - #[must_use] pub fn ledc_sclk_en(&mut self) -> LEDC_SCLK_EN_W { LEDC_SCLK_EN_W::new(self, 22) } diff --git a/esp32c6/src/pcr/mem_monitor_conf.rs b/esp32c6/src/pcr/mem_monitor_conf.rs index c1fd049001..9aced02e95 100644 --- a/esp32c6/src/pcr/mem_monitor_conf.rs +++ b/esp32c6/src/pcr/mem_monitor_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable mem_monitor clock"] #[inline(always)] - #[must_use] pub fn mem_monitor_clk_en(&mut self) -> MEM_MONITOR_CLK_EN_W { MEM_MONITOR_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset mem_monitor module"] #[inline(always)] - #[must_use] pub fn mem_monitor_rst_en(&mut self) -> MEM_MONITOR_RST_EN_W { MEM_MONITOR_RST_EN_W::new(self, 1) } diff --git a/esp32c6/src/pcr/modem_apb_conf.rs b/esp32c6/src/pcr/modem_apb_conf.rs index 2550eba5de..810098fa72 100644 --- a/esp32c6/src/pcr/modem_apb_conf.rs +++ b/esp32c6/src/pcr/modem_apb_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This field indicates if modem_apb clock is enable. 0: disable, 1: enable(default)."] #[inline(always)] - #[must_use] pub fn modem_apb_clk_en(&mut self) -> MODEM_APB_CLK_EN_W { MODEM_APB_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this file as 1 to reset modem-subsystem."] #[inline(always)] - #[must_use] pub fn modem_rst_en(&mut self) -> MODEM_RST_EN_W { MODEM_RST_EN_W::new(self, 1) } diff --git a/esp32c6/src/pcr/mspi_clk_conf.rs b/esp32c6/src/pcr/mspi_clk_conf.rs index e1ad7aefc4..4d437b7441 100644 --- a/esp32c6/src/pcr/mspi_clk_conf.rs +++ b/esp32c6/src/pcr/mspi_clk_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Set as one within (0,1,2) to generate div1(default)/div2/div4 of low-speed clock-source to drive clk_mspi_fast. Only avaiable whe the clck-source is a low-speed clock-source such as XTAL/FOSC."] #[inline(always)] - #[must_use] pub fn mspi_fast_ls_div_num(&mut self) -> MSPI_FAST_LS_DIV_NUM_W { MSPI_FAST_LS_DIV_NUM_W::new(self, 0) } #[doc = "Bits 8:15 - Set as one within (3,4,5) to generate div4(default)/div5/div6 of high-speed clock-source to drive clk_mspi_fast. Only avaiable whe the clck-source is a high-speed clock-source such as SPLL."] #[inline(always)] - #[must_use] pub fn mspi_fast_hs_div_num(&mut self) -> MSPI_FAST_HS_DIV_NUM_W { MSPI_FAST_HS_DIV_NUM_W::new(self, 8) } diff --git a/esp32c6/src/pcr/mspi_conf.rs b/esp32c6/src/pcr/mspi_conf.rs index a616921e75..0bdc2da148 100644 --- a/esp32c6/src/pcr/mspi_conf.rs +++ b/esp32c6/src/pcr/mspi_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable mspi clock, include mspi pll clock"] #[inline(always)] - #[must_use] pub fn mspi_clk_en(&mut self) -> MSPI_CLK_EN_W { MSPI_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset mspi module"] #[inline(always)] - #[must_use] pub fn mspi_rst_en(&mut self) -> MSPI_RST_EN_W { MSPI_RST_EN_W::new(self, 1) } #[doc = "Bit 2 - Set 1 to enable mspi pll clock"] #[inline(always)] - #[must_use] pub fn mspi_pll_clk_en(&mut self) -> MSPI_PLL_CLK_EN_W { MSPI_PLL_CLK_EN_W::new(self, 2) } diff --git a/esp32c6/src/pcr/parl_clk_rx_conf.rs b/esp32c6/src/pcr/parl_clk_rx_conf.rs index de8c5d366a..e950486e62 100644 --- a/esp32c6/src/pcr/parl_clk_rx_conf.rs +++ b/esp32c6/src/pcr/parl_clk_rx_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The integral part of the frequency divider factor of the parl rx clock."] #[inline(always)] - #[must_use] pub fn parl_clk_rx_div_num(&mut self) -> PARL_CLK_RX_DIV_NUM_W { PARL_CLK_RX_DIV_NUM_W::new(self, 0) } #[doc = "Bits 16:17 - set this field to select clock-source. 0(default): XTAL, 1: 240MHz, 2: FOSC, 3: user clock from pad."] #[inline(always)] - #[must_use] pub fn parl_clk_rx_sel(&mut self) -> PARL_CLK_RX_SEL_W { PARL_CLK_RX_SEL_W::new(self, 16) } #[doc = "Bit 18 - Set 1 to enable parl rx clock"] #[inline(always)] - #[must_use] pub fn parl_clk_rx_en(&mut self) -> PARL_CLK_RX_EN_W { PARL_CLK_RX_EN_W::new(self, 18) } #[doc = "Bit 19 - Set 0 to reset parl rx module"] #[inline(always)] - #[must_use] pub fn parl_rx_rst_en(&mut self) -> PARL_RX_RST_EN_W { PARL_RX_RST_EN_W::new(self, 19) } diff --git a/esp32c6/src/pcr/parl_clk_tx_conf.rs b/esp32c6/src/pcr/parl_clk_tx_conf.rs index 3031558e81..b9bdc60e21 100644 --- a/esp32c6/src/pcr/parl_clk_tx_conf.rs +++ b/esp32c6/src/pcr/parl_clk_tx_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The integral part of the frequency divider factor of the parl tx clock."] #[inline(always)] - #[must_use] pub fn parl_clk_tx_div_num(&mut self) -> PARL_CLK_TX_DIV_NUM_W { PARL_CLK_TX_DIV_NUM_W::new(self, 0) } #[doc = "Bits 16:17 - set this field to select clock-source. 0(default): XTAL, 1: 240MHz, 2: FOSC, 3: user clock from pad."] #[inline(always)] - #[must_use] pub fn parl_clk_tx_sel(&mut self) -> PARL_CLK_TX_SEL_W { PARL_CLK_TX_SEL_W::new(self, 16) } #[doc = "Bit 18 - Set 1 to enable parl tx clock"] #[inline(always)] - #[must_use] pub fn parl_clk_tx_en(&mut self) -> PARL_CLK_TX_EN_W { PARL_CLK_TX_EN_W::new(self, 18) } #[doc = "Bit 19 - Set 0 to reset parl tx module"] #[inline(always)] - #[must_use] pub fn parl_tx_rst_en(&mut self) -> PARL_TX_RST_EN_W { PARL_TX_RST_EN_W::new(self, 19) } diff --git a/esp32c6/src/pcr/parl_io_conf.rs b/esp32c6/src/pcr/parl_io_conf.rs index 73e8f346e0..27ab221438 100644 --- a/esp32c6/src/pcr/parl_io_conf.rs +++ b/esp32c6/src/pcr/parl_io_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable parl apb clock"] #[inline(always)] - #[must_use] pub fn parl_clk_en(&mut self) -> PARL_CLK_EN_W { PARL_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset parl apb reg"] #[inline(always)] - #[must_use] pub fn parl_rst_en(&mut self) -> PARL_RST_EN_W { PARL_RST_EN_W::new(self, 1) } diff --git a/esp32c6/src/pcr/pcnt_conf.rs b/esp32c6/src/pcr/pcnt_conf.rs index d213e906af..33799330ff 100644 --- a/esp32c6/src/pcr/pcnt_conf.rs +++ b/esp32c6/src/pcr/pcnt_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable pcnt clock"] #[inline(always)] - #[must_use] pub fn pcnt_clk_en(&mut self) -> PCNT_CLK_EN_W { PCNT_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset pcnt module"] #[inline(always)] - #[must_use] pub fn pcnt_rst_en(&mut self) -> PCNT_RST_EN_W { PCNT_RST_EN_W::new(self, 1) } diff --git a/esp32c6/src/pcr/pll_div_clk_en.rs b/esp32c6/src/pcr/pll_div_clk_en.rs index a3533ff4e7..46ed139848 100644 --- a/esp32c6/src/pcr/pll_div_clk_en.rs +++ b/esp32c6/src/pcr/pll_div_clk_en.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This field is used to open 240 MHz clock (div2 of SPLL) drived from SPLL. 0: close, 1: open(default). Only avaliable when high-speed clock-source SPLL is active."] #[inline(always)] - #[must_use] pub fn pll_240m_clk_en(&mut self) -> PLL_240M_CLK_EN_W { PLL_240M_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - This field is used to open 160 MHz clock (div3 of SPLL) drived from SPLL. 0: close, 1: open(default). Only avaliable when high-speed clock-source SPLL is active."] #[inline(always)] - #[must_use] pub fn pll_160m_clk_en(&mut self) -> PLL_160M_CLK_EN_W { PLL_160M_CLK_EN_W::new(self, 1) } #[doc = "Bit 2 - This field is used to open 120 MHz clock (div4 of SPLL) drived from SPLL. 0: close, 1: open(default). Only avaliable when high-speed clock-source SPLL is active."] #[inline(always)] - #[must_use] pub fn pll_120m_clk_en(&mut self) -> PLL_120M_CLK_EN_W { PLL_120M_CLK_EN_W::new(self, 2) } #[doc = "Bit 3 - This field is used to open 80 MHz clock (div6 of SPLL) drived from SPLL. 0: close, 1: open(default). Only avaliable when high-speed clock-source SPLL is active."] #[inline(always)] - #[must_use] pub fn pll_80m_clk_en(&mut self) -> PLL_80M_CLK_EN_W { PLL_80M_CLK_EN_W::new(self, 3) } #[doc = "Bit 4 - This field is used to open 48 MHz clock (div10 of SPLL) drived from SPLL. 0: close, 1: open(default). Only avaliable when high-speed clock-source SPLL is active."] #[inline(always)] - #[must_use] pub fn pll_48m_clk_en(&mut self) -> PLL_48M_CLK_EN_W { PLL_48M_CLK_EN_W::new(self, 4) } #[doc = "Bit 5 - This field is used to open 40 MHz clock (div12 of SPLL) drived from SPLL. 0: close, 1: open(default). Only avaliable when high-speed clock-source SPLL is active."] #[inline(always)] - #[must_use] pub fn pll_40m_clk_en(&mut self) -> PLL_40M_CLK_EN_W { PLL_40M_CLK_EN_W::new(self, 5) } #[doc = "Bit 6 - This field is used to open 20 MHz clock (div24 of SPLL) drived from SPLL. 0: close, 1: open(default). Only avaliable when high-speed clock-source SPLL is active."] #[inline(always)] - #[must_use] pub fn pll_20m_clk_en(&mut self) -> PLL_20M_CLK_EN_W { PLL_20M_CLK_EN_W::new(self, 6) } diff --git a/esp32c6/src/pcr/pvt_monitor_conf.rs b/esp32c6/src/pcr/pvt_monitor_conf.rs index 6fb4558f0f..76fdcc51d4 100644 --- a/esp32c6/src/pcr/pvt_monitor_conf.rs +++ b/esp32c6/src/pcr/pvt_monitor_conf.rs @@ -64,19 +64,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable apb clock of pvt module"] #[inline(always)] - #[must_use] pub fn pvt_monitor_clk_en(&mut self) -> PVT_MONITOR_CLK_EN_W { PVT_MONITOR_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset all pvt monitor module"] #[inline(always)] - #[must_use] pub fn pvt_monitor_rst_en(&mut self) -> PVT_MONITOR_RST_EN_W { PVT_MONITOR_RST_EN_W::new(self, 1) } #[doc = "Bit 2 - Set 1 to enable function clock of modem pvt module"] #[inline(always)] - #[must_use] pub fn pvt_monitor_site1_clk_en( &mut self, ) -> PVT_MONITOR_SITE1_CLK_EN_W { @@ -84,7 +81,6 @@ impl W { } #[doc = "Bit 3 - Set 1 to enable function clock of cpu pvt module"] #[inline(always)] - #[must_use] pub fn pvt_monitor_site2_clk_en( &mut self, ) -> PVT_MONITOR_SITE2_CLK_EN_W { @@ -92,7 +88,6 @@ impl W { } #[doc = "Bit 4 - Set 1 to enable function clock of hp_peri pvt module"] #[inline(always)] - #[must_use] pub fn pvt_monitor_site3_clk_en( &mut self, ) -> PVT_MONITOR_SITE3_CLK_EN_W { diff --git a/esp32c6/src/pcr/pvt_monitor_func_clk_conf.rs b/esp32c6/src/pcr/pvt_monitor_func_clk_conf.rs index 92deb91fbb..1c3b9cea53 100644 --- a/esp32c6/src/pcr/pvt_monitor_func_clk_conf.rs +++ b/esp32c6/src/pcr/pvt_monitor_func_clk_conf.rs @@ -47,7 +47,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - The integral part of the frequency divider factor of the pvt_monitor function clock."] #[inline(always)] - #[must_use] pub fn pvt_monitor_func_clk_div_num( &mut self, ) -> PVT_MONITOR_FUNC_CLK_DIV_NUM_W { @@ -55,7 +54,6 @@ impl W { } #[doc = "Bit 20 - set this field to select clock-source. 0: XTAL, 1(default): 160MHz drived by SPLL divided by 3."] #[inline(always)] - #[must_use] pub fn pvt_monitor_func_clk_sel( &mut self, ) -> PVT_MONITOR_FUNC_CLK_SEL_W { @@ -63,7 +61,6 @@ impl W { } #[doc = "Bit 22 - Set 1 to enable source clock of pvt sitex"] #[inline(always)] - #[must_use] pub fn pvt_monitor_func_clk_en( &mut self, ) -> PVT_MONITOR_FUNC_CLK_EN_W { diff --git a/esp32c6/src/pcr/pwm_clk_conf.rs b/esp32c6/src/pcr/pwm_clk_conf.rs index 306afb0b2b..048a3d7f46 100644 --- a/esp32c6/src/pcr/pwm_clk_conf.rs +++ b/esp32c6/src/pcr/pwm_clk_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 12:19 - The integral part of the frequency divider factor of the pwm function clock."] #[inline(always)] - #[must_use] pub fn pwm_div_num(&mut self) -> PWM_DIV_NUM_W { PWM_DIV_NUM_W::new(self, 12) } #[doc = "Bits 20:21 - set this field to select clock-source. 0(default): do not select anyone clock, 1: 160MHz, 2: XTAL, 3: FOSC."] #[inline(always)] - #[must_use] pub fn pwm_clkm_sel(&mut self) -> PWM_CLKM_SEL_W { PWM_CLKM_SEL_W::new(self, 20) } #[doc = "Bit 22 - set this field as 1 to activate pwm clkm."] #[inline(always)] - #[must_use] pub fn pwm_clkm_en(&mut self) -> PWM_CLKM_EN_W { PWM_CLKM_EN_W::new(self, 22) } diff --git a/esp32c6/src/pcr/pwm_conf.rs b/esp32c6/src/pcr/pwm_conf.rs index 5b6ed51c87..69f595198b 100644 --- a/esp32c6/src/pcr/pwm_conf.rs +++ b/esp32c6/src/pcr/pwm_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable pwm clock"] #[inline(always)] - #[must_use] pub fn pwm_clk_en(&mut self) -> PWM_CLK_EN_W { PWM_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset pwm module"] #[inline(always)] - #[must_use] pub fn pwm_rst_en(&mut self) -> PWM_RST_EN_W { PWM_RST_EN_W::new(self, 1) } diff --git a/esp32c6/src/pcr/regdma_conf.rs b/esp32c6/src/pcr/regdma_conf.rs index af80c079b0..0ac7c6393c 100644 --- a/esp32c6/src/pcr/regdma_conf.rs +++ b/esp32c6/src/pcr/regdma_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable regdma clock"] #[inline(always)] - #[must_use] pub fn regdma_clk_en(&mut self) -> REGDMA_CLK_EN_W { REGDMA_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset regdma module"] #[inline(always)] - #[must_use] pub fn regdma_rst_en(&mut self) -> REGDMA_RST_EN_W { REGDMA_RST_EN_W::new(self, 1) } diff --git a/esp32c6/src/pcr/reset_event_bypass.rs b/esp32c6/src/pcr/reset_event_bypass.rs index 64e78d38c4..20ef2d5cb1 100644 --- a/esp32c6/src/pcr/reset_event_bypass.rs +++ b/esp32c6/src/pcr/reset_event_bypass.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This field is used to control reset event relationship for tee_reg/apm_reg/hp_system_reg. 1: tee_reg/apm_reg/hp_system_reg will only be reset by power-reset. some reset event will be bypass. 0: tee_reg/apm_reg/hp_system_reg will not only be reset by power-reset, but also some reset event."] #[inline(always)] - #[must_use] pub fn apm(&mut self) -> APM_W { APM_W::new(self, 0) } #[doc = "Bit 1 - This field is used to control reset event relationship for system-bus. 1: system bus (including arbiter/router) will only be reset by power-reset. some reset event will be bypass. 0: system bus (including arbiter/router) will not only be reset by power-reset, but also some reset event."] #[inline(always)] - #[must_use] pub fn reset_event_bypass(&mut self) -> RESET_EVENT_BYPASS_W { RESET_EVENT_BYPASS_W::new(self, 1) } diff --git a/esp32c6/src/pcr/retention_conf.rs b/esp32c6/src/pcr/retention_conf.rs index 23521b0778..4a68ff06d1 100644 --- a/esp32c6/src/pcr/retention_conf.rs +++ b/esp32c6/src/pcr/retention_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable retention clock"] #[inline(always)] - #[must_use] pub fn retention_clk_en(&mut self) -> RETENTION_CLK_EN_W { RETENTION_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset retention module"] #[inline(always)] - #[must_use] pub fn retention_rst_en(&mut self) -> RETENTION_RST_EN_W { RETENTION_RST_EN_W::new(self, 1) } diff --git a/esp32c6/src/pcr/rmt_conf.rs b/esp32c6/src/pcr/rmt_conf.rs index c4f16d683f..2e28e58210 100644 --- a/esp32c6/src/pcr/rmt_conf.rs +++ b/esp32c6/src/pcr/rmt_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable rmt apb clock"] #[inline(always)] - #[must_use] pub fn rmt_clk_en(&mut self) -> RMT_CLK_EN_W { RMT_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset rmt module"] #[inline(always)] - #[must_use] pub fn rmt_rst_en(&mut self) -> RMT_RST_EN_W { RMT_RST_EN_W::new(self, 1) } diff --git a/esp32c6/src/pcr/rmt_sclk_conf.rs b/esp32c6/src/pcr/rmt_sclk_conf.rs index bda063c410..1aff5b09c1 100644 --- a/esp32c6/src/pcr/rmt_sclk_conf.rs +++ b/esp32c6/src/pcr/rmt_sclk_conf.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - The denominator of the frequency divider factor of the rmt function clock."] #[inline(always)] - #[must_use] pub fn sclk_div_a(&mut self) -> SCLK_DIV_A_W { SCLK_DIV_A_W::new(self, 0) } #[doc = "Bits 6:11 - The numerator of the frequency divider factor of the rmt function clock."] #[inline(always)] - #[must_use] pub fn sclk_div_b(&mut self) -> SCLK_DIV_B_W { SCLK_DIV_B_W::new(self, 6) } #[doc = "Bits 12:19 - The integral part of the frequency divider factor of the rmt function clock."] #[inline(always)] - #[must_use] pub fn sclk_div_num(&mut self) -> SCLK_DIV_NUM_W { SCLK_DIV_NUM_W::new(self, 12) } #[doc = "Bits 20:21 - set this field to select clock-source. 0: do not select anyone clock, 1(default): 80MHz, 2: FOSC, 3: XTAL."] #[inline(always)] - #[must_use] pub fn sclk_sel(&mut self) -> SCLK_SEL_W { SCLK_SEL_W::new(self, 20) } #[doc = "Bit 22 - Set 1 to enable rmt function clock"] #[inline(always)] - #[must_use] pub fn sclk_en(&mut self) -> SCLK_EN_W { SCLK_EN_W::new(self, 22) } diff --git a/esp32c6/src/pcr/rsa_conf.rs b/esp32c6/src/pcr/rsa_conf.rs index fbd12c08a2..9621a3d151 100644 --- a/esp32c6/src/pcr/rsa_conf.rs +++ b/esp32c6/src/pcr/rsa_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable rsa clock"] #[inline(always)] - #[must_use] pub fn rsa_clk_en(&mut self) -> RSA_CLK_EN_W { RSA_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset rsa module"] #[inline(always)] - #[must_use] pub fn rsa_rst_en(&mut self) -> RSA_RST_EN_W { RSA_RST_EN_W::new(self, 1) } diff --git a/esp32c6/src/pcr/rsa_pd_ctrl.rs b/esp32c6/src/pcr/rsa_pd_ctrl.rs index d12a4b0cb6..36e55a4d3c 100644 --- a/esp32c6/src/pcr/rsa_pd_ctrl.rs +++ b/esp32c6/src/pcr/rsa_pd_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to power down rsa internal memory."] #[inline(always)] - #[must_use] pub fn rsa_mem_pd(&mut self) -> RSA_MEM_PD_W { RSA_MEM_PD_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to force power up rsa internal memory"] #[inline(always)] - #[must_use] pub fn rsa_mem_force_pu(&mut self) -> RSA_MEM_FORCE_PU_W { RSA_MEM_FORCE_PU_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to force power down rsa internal memory."] #[inline(always)] - #[must_use] pub fn rsa_mem_force_pd(&mut self) -> RSA_MEM_FORCE_PD_W { RSA_MEM_FORCE_PD_W::new(self, 2) } diff --git a/esp32c6/src/pcr/saradc_clkm_conf.rs b/esp32c6/src/pcr/saradc_clkm_conf.rs index 0ea79fa6d6..2d4162fe68 100644 --- a/esp32c6/src/pcr/saradc_clkm_conf.rs +++ b/esp32c6/src/pcr/saradc_clkm_conf.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - The denominator of the frequency divider factor of the saradc function clock."] #[inline(always)] - #[must_use] pub fn saradc_clkm_div_a(&mut self) -> SARADC_CLKM_DIV_A_W { SARADC_CLKM_DIV_A_W::new(self, 0) } #[doc = "Bits 6:11 - The numerator of the frequency divider factor of the saradc function clock."] #[inline(always)] - #[must_use] pub fn saradc_clkm_div_b(&mut self) -> SARADC_CLKM_DIV_B_W { SARADC_CLKM_DIV_B_W::new(self, 6) } #[doc = "Bits 12:19 - The integral part of the frequency divider factor of the saradc function clock."] #[inline(always)] - #[must_use] pub fn saradc_clkm_div_num(&mut self) -> SARADC_CLKM_DIV_NUM_W { SARADC_CLKM_DIV_NUM_W::new(self, 12) } #[doc = "Bits 20:21 - set this field to select clock-source. 0(default): XTAL, 1: 240MHz, 2: FOSC, 3: reserved."] #[inline(always)] - #[must_use] pub fn saradc_clkm_sel(&mut self) -> SARADC_CLKM_SEL_W { SARADC_CLKM_SEL_W::new(self, 20) } #[doc = "Bit 22 - Set 1 to enable saradc function clock"] #[inline(always)] - #[must_use] pub fn saradc_clkm_en(&mut self) -> SARADC_CLKM_EN_W { SARADC_CLKM_EN_W::new(self, 22) } diff --git a/esp32c6/src/pcr/saradc_conf.rs b/esp32c6/src/pcr/saradc_conf.rs index 8dc74b10de..b90f074a8e 100644 --- a/esp32c6/src/pcr/saradc_conf.rs +++ b/esp32c6/src/pcr/saradc_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - no use"] #[inline(always)] - #[must_use] pub fn saradc_clk_en(&mut self) -> SARADC_CLK_EN_W { SARADC_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset function_register of saradc module"] #[inline(always)] - #[must_use] pub fn saradc_rst_en(&mut self) -> SARADC_RST_EN_W { SARADC_RST_EN_W::new(self, 1) } #[doc = "Bit 2 - Set 1 to enable saradc apb clock"] #[inline(always)] - #[must_use] pub fn saradc_reg_clk_en(&mut self) -> SARADC_REG_CLK_EN_W { SARADC_REG_CLK_EN_W::new(self, 2) } #[doc = "Bit 3 - Set 0 to reset apb_register of saradc module"] #[inline(always)] - #[must_use] pub fn saradc_reg_rst_en(&mut self) -> SARADC_REG_RST_EN_W { SARADC_REG_RST_EN_W::new(self, 3) } diff --git a/esp32c6/src/pcr/sdio_slave_conf.rs b/esp32c6/src/pcr/sdio_slave_conf.rs index 0b1935ac89..b955fa240a 100644 --- a/esp32c6/src/pcr/sdio_slave_conf.rs +++ b/esp32c6/src/pcr/sdio_slave_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable sdio_slave clock"] #[inline(always)] - #[must_use] pub fn sdio_slave_clk_en(&mut self) -> SDIO_SLAVE_CLK_EN_W { SDIO_SLAVE_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset sdio_slave module"] #[inline(always)] - #[must_use] pub fn sdio_slave_rst_en(&mut self) -> SDIO_SLAVE_RST_EN_W { SDIO_SLAVE_RST_EN_W::new(self, 1) } diff --git a/esp32c6/src/pcr/sha_conf.rs b/esp32c6/src/pcr/sha_conf.rs index 90778961ca..5cfb30f203 100644 --- a/esp32c6/src/pcr/sha_conf.rs +++ b/esp32c6/src/pcr/sha_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable sha clock"] #[inline(always)] - #[must_use] pub fn sha_clk_en(&mut self) -> SHA_CLK_EN_W { SHA_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset sha module"] #[inline(always)] - #[must_use] pub fn sha_rst_en(&mut self) -> SHA_RST_EN_W { SHA_RST_EN_W::new(self, 1) } diff --git a/esp32c6/src/pcr/spi2_clkm_conf.rs b/esp32c6/src/pcr/spi2_clkm_conf.rs index bd721f5269..b85696551e 100644 --- a/esp32c6/src/pcr/spi2_clkm_conf.rs +++ b/esp32c6/src/pcr/spi2_clkm_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 20:21 - set this field to select clock-source. 0(default): XTAL, 1: 80MHz, 2: FOSC, 3: reserved."] #[inline(always)] - #[must_use] pub fn spi2_clkm_sel(&mut self) -> SPI2_CLKM_SEL_W { SPI2_CLKM_SEL_W::new(self, 20) } #[doc = "Bit 22 - Set 1 to enable spi2 function clock"] #[inline(always)] - #[must_use] pub fn spi2_clkm_en(&mut self) -> SPI2_CLKM_EN_W { SPI2_CLKM_EN_W::new(self, 22) } diff --git a/esp32c6/src/pcr/spi2_conf.rs b/esp32c6/src/pcr/spi2_conf.rs index 8e9abcbc77..5672c58961 100644 --- a/esp32c6/src/pcr/spi2_conf.rs +++ b/esp32c6/src/pcr/spi2_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable spi2 apb clock"] #[inline(always)] - #[must_use] pub fn spi2_clk_en(&mut self) -> SPI2_CLK_EN_W { SPI2_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset spi2 module"] #[inline(always)] - #[must_use] pub fn spi2_rst_en(&mut self) -> SPI2_RST_EN_W { SPI2_RST_EN_W::new(self, 1) } diff --git a/esp32c6/src/pcr/sram_power_conf.rs b/esp32c6/src/pcr/sram_power_conf.rs index 4fbe9f5897..a4f9202636 100644 --- a/esp32c6/src/pcr/sram_power_conf.rs +++ b/esp32c6/src/pcr/sram_power_conf.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Set this bit to force power up SRAM"] #[inline(always)] - #[must_use] pub fn sram_force_pu(&mut self) -> SRAM_FORCE_PU_W { SRAM_FORCE_PU_W::new(self, 0) } #[doc = "Bits 4:7 - Set this bit to force power down SRAM."] #[inline(always)] - #[must_use] pub fn sram_force_pd(&mut self) -> SRAM_FORCE_PD_W { SRAM_FORCE_PD_W::new(self, 4) } #[doc = "Bits 8:11 - 1: Force to open the clock and bypass the gate-clock when accessing the SRAM. 0: A gate-clock will be used when accessing the SRAM."] #[inline(always)] - #[must_use] pub fn sram_clkgate_force_on(&mut self) -> SRAM_CLKGATE_FORCE_ON_W { SRAM_CLKGATE_FORCE_ON_W::new(self, 8) } #[doc = "Bits 12:14 - Set this bit to force power up ROM"] #[inline(always)] - #[must_use] pub fn rom_force_pu(&mut self) -> ROM_FORCE_PU_W { ROM_FORCE_PU_W::new(self, 12) } #[doc = "Bits 15:17 - Set this bit to force power down ROM."] #[inline(always)] - #[must_use] pub fn rom_force_pd(&mut self) -> ROM_FORCE_PD_W { ROM_FORCE_PD_W::new(self, 15) } #[doc = "Bits 18:20 - 1: Force to open the clock and bypass the gate-clock when accessing the ROM. 0: A gate-clock will be used when accessing the ROM."] #[inline(always)] - #[must_use] pub fn rom_clkgate_force_on(&mut self) -> ROM_CLKGATE_FORCE_ON_W { ROM_CLKGATE_FORCE_ON_W::new(self, 18) } diff --git a/esp32c6/src/pcr/sysclk_conf.rs b/esp32c6/src/pcr/sysclk_conf.rs index 28d3634d3a..296125c012 100644 --- a/esp32c6/src/pcr/sysclk_conf.rs +++ b/esp32c6/src/pcr/sysclk_conf.rs @@ -48,7 +48,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:17 - This field is used to select clock source. 0: XTAL, 1: SPLL, 2: FOSC, 3: reserved."] #[inline(always)] - #[must_use] pub fn soc_clk_sel(&mut self) -> SOC_CLK_SEL_W { SOC_CLK_SEL_W::new(self, 16) } diff --git a/esp32c6/src/pcr/systimer_conf.rs b/esp32c6/src/pcr/systimer_conf.rs index 282f7168fb..e0222b7e55 100644 --- a/esp32c6/src/pcr/systimer_conf.rs +++ b/esp32c6/src/pcr/systimer_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable systimer apb clock"] #[inline(always)] - #[must_use] pub fn systimer_clk_en(&mut self) -> SYSTIMER_CLK_EN_W { SYSTIMER_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset systimer module"] #[inline(always)] - #[must_use] pub fn systimer_rst_en(&mut self) -> SYSTIMER_RST_EN_W { SYSTIMER_RST_EN_W::new(self, 1) } diff --git a/esp32c6/src/pcr/systimer_func_clk_conf.rs b/esp32c6/src/pcr/systimer_func_clk_conf.rs index 4bd79a2e9c..24f5667e72 100644 --- a/esp32c6/src/pcr/systimer_func_clk_conf.rs +++ b/esp32c6/src/pcr/systimer_func_clk_conf.rs @@ -34,7 +34,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 20 - set this field to select clock-source. 0(default): XTAL, 1: FOSC."] #[inline(always)] - #[must_use] pub fn systimer_func_clk_sel( &mut self, ) -> SYSTIMER_FUNC_CLK_SEL_W { @@ -42,7 +41,6 @@ impl W { } #[doc = "Bit 22 - Set 1 to enable systimer function clock"] #[inline(always)] - #[must_use] pub fn systimer_func_clk_en(&mut self) -> SYSTIMER_FUNC_CLK_EN_W { SYSTIMER_FUNC_CLK_EN_W::new(self, 22) } diff --git a/esp32c6/src/pcr/timeout_conf.rs b/esp32c6/src/pcr/timeout_conf.rs index be32ebdd72..6d75ffbdfa 100644 --- a/esp32c6/src/pcr/timeout_conf.rs +++ b/esp32c6/src/pcr/timeout_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - Set 0 to reset cpu_peri timeout module"] #[inline(always)] - #[must_use] pub fn cpu_timeout_rst_en(&mut self) -> CPU_TIMEOUT_RST_EN_W { CPU_TIMEOUT_RST_EN_W::new(self, 1) } #[doc = "Bit 2 - Set 0 to reset hp_peri timeout module and hp_modem timeout module"] #[inline(always)] - #[must_use] pub fn hp_timeout_rst_en(&mut self) -> HP_TIMEOUT_RST_EN_W { HP_TIMEOUT_RST_EN_W::new(self, 2) } diff --git a/esp32c6/src/pcr/timergroup0_conf.rs b/esp32c6/src/pcr/timergroup0_conf.rs index bc30d5210d..6312b69337 100644 --- a/esp32c6/src/pcr/timergroup0_conf.rs +++ b/esp32c6/src/pcr/timergroup0_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable timer_group0 apb clock"] #[inline(always)] - #[must_use] pub fn tg0_clk_en(&mut self) -> TG0_CLK_EN_W { TG0_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset timer_group0 module"] #[inline(always)] - #[must_use] pub fn tg0_rst_en(&mut self) -> TG0_RST_EN_W { TG0_RST_EN_W::new(self, 1) } diff --git a/esp32c6/src/pcr/timergroup0_timer_clk_conf.rs b/esp32c6/src/pcr/timergroup0_timer_clk_conf.rs index 070bf938c5..cd37fecea2 100644 --- a/esp32c6/src/pcr/timergroup0_timer_clk_conf.rs +++ b/esp32c6/src/pcr/timergroup0_timer_clk_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 20:21 - set this field to select clock-source. 0(default): XTAL, 1: 80MHz, 2: FOSC, 3: reserved."] #[inline(always)] - #[must_use] pub fn tg0_timer_clk_sel(&mut self) -> TG0_TIMER_CLK_SEL_W { TG0_TIMER_CLK_SEL_W::new(self, 20) } #[doc = "Bit 22 - Set 1 to enable timer_group0 timer clock"] #[inline(always)] - #[must_use] pub fn tg0_timer_clk_en(&mut self) -> TG0_TIMER_CLK_EN_W { TG0_TIMER_CLK_EN_W::new(self, 22) } diff --git a/esp32c6/src/pcr/timergroup0_wdt_clk_conf.rs b/esp32c6/src/pcr/timergroup0_wdt_clk_conf.rs index a5173703b0..fe22c48abd 100644 --- a/esp32c6/src/pcr/timergroup0_wdt_clk_conf.rs +++ b/esp32c6/src/pcr/timergroup0_wdt_clk_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 20:21 - set this field to select clock-source. 0(default): XTAL, 1: 80MHz, 2: FOSC, 3: reserved."] #[inline(always)] - #[must_use] pub fn tg0_wdt_clk_sel(&mut self) -> TG0_WDT_CLK_SEL_W { TG0_WDT_CLK_SEL_W::new(self, 20) } #[doc = "Bit 22 - Set 1 to enable timer_group0 wdt clock"] #[inline(always)] - #[must_use] pub fn tg0_wdt_clk_en(&mut self) -> TG0_WDT_CLK_EN_W { TG0_WDT_CLK_EN_W::new(self, 22) } diff --git a/esp32c6/src/pcr/timergroup1_conf.rs b/esp32c6/src/pcr/timergroup1_conf.rs index 8ed8f2d940..dc0dbac33a 100644 --- a/esp32c6/src/pcr/timergroup1_conf.rs +++ b/esp32c6/src/pcr/timergroup1_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable timer_group1 apb clock"] #[inline(always)] - #[must_use] pub fn tg1_clk_en(&mut self) -> TG1_CLK_EN_W { TG1_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset timer_group1 module"] #[inline(always)] - #[must_use] pub fn tg1_rst_en(&mut self) -> TG1_RST_EN_W { TG1_RST_EN_W::new(self, 1) } diff --git a/esp32c6/src/pcr/timergroup1_timer_clk_conf.rs b/esp32c6/src/pcr/timergroup1_timer_clk_conf.rs index 56ef4d6be1..85d7290285 100644 --- a/esp32c6/src/pcr/timergroup1_timer_clk_conf.rs +++ b/esp32c6/src/pcr/timergroup1_timer_clk_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 20:21 - set this field to select clock-source. 0(default): XTAL, 1: 80MHz, 2: FOSC, 3: reserved."] #[inline(always)] - #[must_use] pub fn tg1_timer_clk_sel(&mut self) -> TG1_TIMER_CLK_SEL_W { TG1_TIMER_CLK_SEL_W::new(self, 20) } #[doc = "Bit 22 - Set 1 to enable timer_group1 timer clock"] #[inline(always)] - #[must_use] pub fn tg1_timer_clk_en(&mut self) -> TG1_TIMER_CLK_EN_W { TG1_TIMER_CLK_EN_W::new(self, 22) } diff --git a/esp32c6/src/pcr/timergroup1_wdt_clk_conf.rs b/esp32c6/src/pcr/timergroup1_wdt_clk_conf.rs index 17610affac..cc483aabc5 100644 --- a/esp32c6/src/pcr/timergroup1_wdt_clk_conf.rs +++ b/esp32c6/src/pcr/timergroup1_wdt_clk_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 20:21 - set this field to select clock-source. 0(default): XTAL, 1: 80MHz, 2: FOSC, 3: reserved."] #[inline(always)] - #[must_use] pub fn tg1_wdt_clk_sel(&mut self) -> TG1_WDT_CLK_SEL_W { TG1_WDT_CLK_SEL_W::new(self, 20) } #[doc = "Bit 22 - Set 1 to enable timer_group0 wdt clock"] #[inline(always)] - #[must_use] pub fn tg1_wdt_clk_en(&mut self) -> TG1_WDT_CLK_EN_W { TG1_WDT_CLK_EN_W::new(self, 22) } diff --git a/esp32c6/src/pcr/trace_conf.rs b/esp32c6/src/pcr/trace_conf.rs index c9934e2002..820a06ad9f 100644 --- a/esp32c6/src/pcr/trace_conf.rs +++ b/esp32c6/src/pcr/trace_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable trace clock"] #[inline(always)] - #[must_use] pub fn trace_clk_en(&mut self) -> TRACE_CLK_EN_W { TRACE_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset trace module"] #[inline(always)] - #[must_use] pub fn trace_rst_en(&mut self) -> TRACE_RST_EN_W { TRACE_RST_EN_W::new(self, 1) } diff --git a/esp32c6/src/pcr/tsens_clk_conf.rs b/esp32c6/src/pcr/tsens_clk_conf.rs index d0b7761d2c..d36a6c7ec7 100644 --- a/esp32c6/src/pcr/tsens_clk_conf.rs +++ b/esp32c6/src/pcr/tsens_clk_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 20 - set this field to select clock-source. 0(default): FOSC, 1: XTAL."] #[inline(always)] - #[must_use] pub fn tsens_clk_sel(&mut self) -> TSENS_CLK_SEL_W { TSENS_CLK_SEL_W::new(self, 20) } #[doc = "Bit 22 - Set 1 to enable tsens clock"] #[inline(always)] - #[must_use] pub fn tsens_clk_en(&mut self) -> TSENS_CLK_EN_W { TSENS_CLK_EN_W::new(self, 22) } #[doc = "Bit 23 - Set 0 to reset tsens module"] #[inline(always)] - #[must_use] pub fn tsens_rst_en(&mut self) -> TSENS_RST_EN_W { TSENS_RST_EN_W::new(self, 23) } diff --git a/esp32c6/src/pcr/twai0_conf.rs b/esp32c6/src/pcr/twai0_conf.rs index c8f3bc5e3c..b372b74924 100644 --- a/esp32c6/src/pcr/twai0_conf.rs +++ b/esp32c6/src/pcr/twai0_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable twai0 apb clock"] #[inline(always)] - #[must_use] pub fn twai0_clk_en(&mut self) -> TWAI0_CLK_EN_W { TWAI0_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset twai0 module"] #[inline(always)] - #[must_use] pub fn twai0_rst_en(&mut self) -> TWAI0_RST_EN_W { TWAI0_RST_EN_W::new(self, 1) } diff --git a/esp32c6/src/pcr/twai0_func_clk_conf.rs b/esp32c6/src/pcr/twai0_func_clk_conf.rs index 2bc40a9d83..10ba6b324b 100644 --- a/esp32c6/src/pcr/twai0_func_clk_conf.rs +++ b/esp32c6/src/pcr/twai0_func_clk_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 20 - set this field to select clock-source. 0(default): XTAL, 1: FOSC."] #[inline(always)] - #[must_use] pub fn twai0_func_clk_sel(&mut self) -> TWAI0_FUNC_CLK_SEL_W { TWAI0_FUNC_CLK_SEL_W::new(self, 20) } #[doc = "Bit 22 - Set 1 to enable twai0 function clock"] #[inline(always)] - #[must_use] pub fn twai0_func_clk_en(&mut self) -> TWAI0_FUNC_CLK_EN_W { TWAI0_FUNC_CLK_EN_W::new(self, 22) } diff --git a/esp32c6/src/pcr/twai1_conf.rs b/esp32c6/src/pcr/twai1_conf.rs index 67b4e7f903..fc3435bce6 100644 --- a/esp32c6/src/pcr/twai1_conf.rs +++ b/esp32c6/src/pcr/twai1_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable twai1 apb clock"] #[inline(always)] - #[must_use] pub fn twai1_clk_en(&mut self) -> TWAI1_CLK_EN_W { TWAI1_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset twai1 module"] #[inline(always)] - #[must_use] pub fn twai1_rst_en(&mut self) -> TWAI1_RST_EN_W { TWAI1_RST_EN_W::new(self, 1) } diff --git a/esp32c6/src/pcr/twai1_func_clk_conf.rs b/esp32c6/src/pcr/twai1_func_clk_conf.rs index eb77430740..22419fe1f9 100644 --- a/esp32c6/src/pcr/twai1_func_clk_conf.rs +++ b/esp32c6/src/pcr/twai1_func_clk_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 20 - set this field to select clock-source. 0(default): XTAL, 1: FOSC."] #[inline(always)] - #[must_use] pub fn twai1_func_clk_sel(&mut self) -> TWAI1_FUNC_CLK_SEL_W { TWAI1_FUNC_CLK_SEL_W::new(self, 20) } #[doc = "Bit 22 - Set 1 to enable twai1 function clock"] #[inline(always)] - #[must_use] pub fn twai1_func_clk_en(&mut self) -> TWAI1_FUNC_CLK_EN_W { TWAI1_FUNC_CLK_EN_W::new(self, 22) } diff --git a/esp32c6/src/pcr/uart0_conf.rs b/esp32c6/src/pcr/uart0_conf.rs index 547466cf9e..0ff756f4ef 100644 --- a/esp32c6/src/pcr/uart0_conf.rs +++ b/esp32c6/src/pcr/uart0_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable uart0 apb clock"] #[inline(always)] - #[must_use] pub fn uart0_clk_en(&mut self) -> UART0_CLK_EN_W { UART0_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset uart0 module"] #[inline(always)] - #[must_use] pub fn uart0_rst_en(&mut self) -> UART0_RST_EN_W { UART0_RST_EN_W::new(self, 1) } diff --git a/esp32c6/src/pcr/uart0_pd_ctrl.rs b/esp32c6/src/pcr/uart0_pd_ctrl.rs index 3536056e88..b62eb3f30c 100644 --- a/esp32c6/src/pcr/uart0_pd_ctrl.rs +++ b/esp32c6/src/pcr/uart0_pd_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - Set this bit to force power down UART0 memory."] #[inline(always)] - #[must_use] pub fn uart0_mem_force_pu(&mut self) -> UART0_MEM_FORCE_PU_W { UART0_MEM_FORCE_PU_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to force power up UART0 memory."] #[inline(always)] - #[must_use] pub fn uart0_mem_force_pd(&mut self) -> UART0_MEM_FORCE_PD_W { UART0_MEM_FORCE_PD_W::new(self, 2) } diff --git a/esp32c6/src/pcr/uart0_sclk_conf.rs b/esp32c6/src/pcr/uart0_sclk_conf.rs index 57d549b09d..9ed835c311 100644 --- a/esp32c6/src/pcr/uart0_sclk_conf.rs +++ b/esp32c6/src/pcr/uart0_sclk_conf.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - The denominator of the frequency divider factor of the uart0 function clock."] #[inline(always)] - #[must_use] pub fn uart0_sclk_div_a(&mut self) -> UART0_SCLK_DIV_A_W { UART0_SCLK_DIV_A_W::new(self, 0) } #[doc = "Bits 6:11 - The numerator of the frequency divider factor of the uart0 function clock."] #[inline(always)] - #[must_use] pub fn uart0_sclk_div_b(&mut self) -> UART0_SCLK_DIV_B_W { UART0_SCLK_DIV_B_W::new(self, 6) } #[doc = "Bits 12:19 - The integral part of the frequency divider factor of the uart0 function clock."] #[inline(always)] - #[must_use] pub fn uart0_sclk_div_num(&mut self) -> UART0_SCLK_DIV_NUM_W { UART0_SCLK_DIV_NUM_W::new(self, 12) } #[doc = "Bits 20:21 - set this field to select clock-source. 0: do not select anyone clock, 1: 80MHz, 2: FOSC, 3(default): XTAL."] #[inline(always)] - #[must_use] pub fn uart0_sclk_sel(&mut self) -> UART0_SCLK_SEL_W { UART0_SCLK_SEL_W::new(self, 20) } #[doc = "Bit 22 - Set 1 to enable uart0 function clock"] #[inline(always)] - #[must_use] pub fn uart0_sclk_en(&mut self) -> UART0_SCLK_EN_W { UART0_SCLK_EN_W::new(self, 22) } diff --git a/esp32c6/src/pcr/uart1_conf.rs b/esp32c6/src/pcr/uart1_conf.rs index f43e3b1e47..5b75fa5e53 100644 --- a/esp32c6/src/pcr/uart1_conf.rs +++ b/esp32c6/src/pcr/uart1_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable uart1 apb clock"] #[inline(always)] - #[must_use] pub fn uart1_clk_en(&mut self) -> UART1_CLK_EN_W { UART1_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset uart1 module"] #[inline(always)] - #[must_use] pub fn uart1_rst_en(&mut self) -> UART1_RST_EN_W { UART1_RST_EN_W::new(self, 1) } diff --git a/esp32c6/src/pcr/uart1_pd_ctrl.rs b/esp32c6/src/pcr/uart1_pd_ctrl.rs index 949f1d2ccb..02c57d4b5b 100644 --- a/esp32c6/src/pcr/uart1_pd_ctrl.rs +++ b/esp32c6/src/pcr/uart1_pd_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - Set this bit to force power down UART1 memory."] #[inline(always)] - #[must_use] pub fn uart1_mem_force_pu(&mut self) -> UART1_MEM_FORCE_PU_W { UART1_MEM_FORCE_PU_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to force power up UART1 memory."] #[inline(always)] - #[must_use] pub fn uart1_mem_force_pd(&mut self) -> UART1_MEM_FORCE_PD_W { UART1_MEM_FORCE_PD_W::new(self, 2) } diff --git a/esp32c6/src/pcr/uart1_sclk_conf.rs b/esp32c6/src/pcr/uart1_sclk_conf.rs index 21ccfbdb15..8441ecc6c3 100644 --- a/esp32c6/src/pcr/uart1_sclk_conf.rs +++ b/esp32c6/src/pcr/uart1_sclk_conf.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - The denominator of the frequency divider factor of the uart1 function clock."] #[inline(always)] - #[must_use] pub fn uart1_sclk_div_a(&mut self) -> UART1_SCLK_DIV_A_W { UART1_SCLK_DIV_A_W::new(self, 0) } #[doc = "Bits 6:11 - The numerator of the frequency divider factor of the uart1 function clock."] #[inline(always)] - #[must_use] pub fn uart1_sclk_div_b(&mut self) -> UART1_SCLK_DIV_B_W { UART1_SCLK_DIV_B_W::new(self, 6) } #[doc = "Bits 12:19 - The integral part of the frequency divider factor of the uart1 function clock."] #[inline(always)] - #[must_use] pub fn uart1_sclk_div_num(&mut self) -> UART1_SCLK_DIV_NUM_W { UART1_SCLK_DIV_NUM_W::new(self, 12) } #[doc = "Bits 20:21 - set this field to select clock-source. 0: do not select anyone clock, 1: 80MHz, 2: FOSC, 3(default): XTAL."] #[inline(always)] - #[must_use] pub fn uart1_sclk_sel(&mut self) -> UART1_SCLK_SEL_W { UART1_SCLK_SEL_W::new(self, 20) } #[doc = "Bit 22 - Set 1 to enable uart0 function clock"] #[inline(always)] - #[must_use] pub fn uart1_sclk_en(&mut self) -> UART1_SCLK_EN_W { UART1_SCLK_EN_W::new(self, 22) } diff --git a/esp32c6/src/pcr/uhci_conf.rs b/esp32c6/src/pcr/uhci_conf.rs index 2b1c810921..f37c494c32 100644 --- a/esp32c6/src/pcr/uhci_conf.rs +++ b/esp32c6/src/pcr/uhci_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable uhci clock"] #[inline(always)] - #[must_use] pub fn uhci_clk_en(&mut self) -> UHCI_CLK_EN_W { UHCI_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset uhci module"] #[inline(always)] - #[must_use] pub fn uhci_rst_en(&mut self) -> UHCI_RST_EN_W { UHCI_RST_EN_W::new(self, 1) } diff --git a/esp32c6/src/pcr/usb_device_conf.rs b/esp32c6/src/pcr/usb_device_conf.rs index bef9fc5175..4cf6a52a8f 100644 --- a/esp32c6/src/pcr/usb_device_conf.rs +++ b/esp32c6/src/pcr/usb_device_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable usb_device clock"] #[inline(always)] - #[must_use] pub fn usb_device_clk_en(&mut self) -> USB_DEVICE_CLK_EN_W { USB_DEVICE_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset usb_device module"] #[inline(always)] - #[must_use] pub fn usb_device_rst_en(&mut self) -> USB_DEVICE_RST_EN_W { USB_DEVICE_RST_EN_W::new(self, 1) } diff --git a/esp32c6/src/plic_mx/mxint_claim.rs b/esp32c6/src/plic_mx/mxint_claim.rs index b206880f66..cd7d8d8cbc 100644 --- a/esp32c6/src/plic_mx/mxint_claim.rs +++ b/esp32c6/src/plic_mx/mxint_claim.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - hp_mb_int is generated after writing 32'h20200721 to core0_lp_intr_flag."] #[inline(always)] - #[must_use] pub fn cpu_mxint_claim(&mut self) -> CPU_MXINT_CLAIM_W { CPU_MXINT_CLAIM_W::new(self, 0) } diff --git a/esp32c6/src/plic_mx/mxint_clear.rs b/esp32c6/src/plic_mx/mxint_clear.rs index 90c63b5bdd..6c872ff301 100644 --- a/esp32c6/src/plic_mx/mxint_clear.rs +++ b/esp32c6/src/plic_mx/mxint_clear.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn cpu_mxint_clear(&mut self) -> CPU_MXINT_CLEAR_W { CPU_MXINT_CLEAR_W::new(self, 0) } diff --git a/esp32c6/src/plic_mx/mxint_enable.rs b/esp32c6/src/plic_mx/mxint_enable.rs index 281b4e37b9..0f93e3c013 100644 --- a/esp32c6/src/plic_mx/mxint_enable.rs +++ b/esp32c6/src/plic_mx/mxint_enable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn cpu_mxint_enable(&mut self) -> CPU_MXINT_ENABLE_W { CPU_MXINT_ENABLE_W::new(self, 0) } diff --git a/esp32c6/src/plic_mx/mxint_pri.rs b/esp32c6/src/plic_mx/mxint_pri.rs index abea8833cb..b612dc153f 100644 --- a/esp32c6/src/plic_mx/mxint_pri.rs +++ b/esp32c6/src/plic_mx/mxint_pri.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3"] #[inline(always)] - #[must_use] pub fn cpu_mxint_pri(&mut self) -> CPU_MXINT_PRI_W { CPU_MXINT_PRI_W::new(self, 0) } diff --git a/esp32c6/src/plic_mx/mxint_thresh.rs b/esp32c6/src/plic_mx/mxint_thresh.rs index 513db39cdc..7f9d4f83f4 100644 --- a/esp32c6/src/plic_mx/mxint_thresh.rs +++ b/esp32c6/src/plic_mx/mxint_thresh.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn cpu_mxint_thresh(&mut self) -> CPU_MXINT_THRESH_W { CPU_MXINT_THRESH_W::new(self, 0) } diff --git a/esp32c6/src/plic_mx/mxint_type.rs b/esp32c6/src/plic_mx/mxint_type.rs index 5ad347650c..955eebca79 100644 --- a/esp32c6/src/plic_mx/mxint_type.rs +++ b/esp32c6/src/plic_mx/mxint_type.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn cpu_mxint_type(&mut self) -> CPU_MXINT_TYPE_W { CPU_MXINT_TYPE_W::new(self, 0) } diff --git a/esp32c6/src/plic_ux/uxint_claim.rs b/esp32c6/src/plic_ux/uxint_claim.rs index 0cb35fc7d5..4ef113f37b 100644 --- a/esp32c6/src/plic_ux/uxint_claim.rs +++ b/esp32c6/src/plic_ux/uxint_claim.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - hp_mb_int is generated after writing 32'h20200721 to core0_lp_intr_flag."] #[inline(always)] - #[must_use] pub fn cpu_uxint_claim(&mut self) -> CPU_UXINT_CLAIM_W { CPU_UXINT_CLAIM_W::new(self, 0) } diff --git a/esp32c6/src/plic_ux/uxint_clear.rs b/esp32c6/src/plic_ux/uxint_clear.rs index d11f236dd1..de61a694e4 100644 --- a/esp32c6/src/plic_ux/uxint_clear.rs +++ b/esp32c6/src/plic_ux/uxint_clear.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn cpu_uxint_clear(&mut self) -> CPU_UXINT_CLEAR_W { CPU_UXINT_CLEAR_W::new(self, 0) } diff --git a/esp32c6/src/plic_ux/uxint_enable.rs b/esp32c6/src/plic_ux/uxint_enable.rs index db3bf4e2df..b28ff4e88c 100644 --- a/esp32c6/src/plic_ux/uxint_enable.rs +++ b/esp32c6/src/plic_ux/uxint_enable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn cpu_uxint_enable(&mut self) -> CPU_UXINT_ENABLE_W { CPU_UXINT_ENABLE_W::new(self, 0) } diff --git a/esp32c6/src/plic_ux/uxint_pri.rs b/esp32c6/src/plic_ux/uxint_pri.rs index fce7025fee..d91d11cbb2 100644 --- a/esp32c6/src/plic_ux/uxint_pri.rs +++ b/esp32c6/src/plic_ux/uxint_pri.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3"] #[inline(always)] - #[must_use] pub fn cpu_uxint_pri(&mut self) -> CPU_UXINT_PRI_W { CPU_UXINT_PRI_W::new(self, 0) } diff --git a/esp32c6/src/plic_ux/uxint_thresh.rs b/esp32c6/src/plic_ux/uxint_thresh.rs index 41a1a258db..181a90eb88 100644 --- a/esp32c6/src/plic_ux/uxint_thresh.rs +++ b/esp32c6/src/plic_ux/uxint_thresh.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn cpu_uxint_thresh(&mut self) -> CPU_UXINT_THRESH_W { CPU_UXINT_THRESH_W::new(self, 0) } diff --git a/esp32c6/src/plic_ux/uxint_type.rs b/esp32c6/src/plic_ux/uxint_type.rs index 36f4d6fd11..f40f259199 100644 --- a/esp32c6/src/plic_ux/uxint_type.rs +++ b/esp32c6/src/plic_ux/uxint_type.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn cpu_uxint_type(&mut self) -> CPU_UXINT_TYPE_W { CPU_UXINT_TYPE_W::new(self, 0) } diff --git a/esp32c6/src/pmu/backup_cfg.rs b/esp32c6/src/pmu/backup_cfg.rs index e57bcdbdb0..6814f032ca 100644 --- a/esp32c6/src/pmu/backup_cfg.rs +++ b/esp32c6/src/pmu/backup_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn backup_sys_clk_no_div(&mut self) -> BACKUP_SYS_CLK_NO_DIV_W { BACKUP_SYS_CLK_NO_DIV_W::new(self, 31) } diff --git a/esp32c6/src/pmu/date.rs b/esp32c6/src/pmu/date.rs index 377dfcbd7a..d468b07380 100644 --- a/esp32c6/src/pmu/date.rs +++ b/esp32c6/src/pmu/date.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - need_des"] #[inline(always)] - #[must_use] pub fn pmu_date(&mut self) -> PMU_DATE_W { PMU_DATE_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32c6/src/pmu/hp_active_backup.rs b/esp32c6/src/pmu/hp_active_backup.rs index ff99cad5fb..1910767b83 100644 --- a/esp32c6/src/pmu/hp_active_backup.rs +++ b/esp32c6/src/pmu/hp_active_backup.rs @@ -154,7 +154,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 4:5 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2active_backup_modem_clk_code( &mut self, ) -> HP_SLEEP2ACTIVE_BACKUP_MODEM_CLK_CODE_W { @@ -162,7 +161,6 @@ impl W { } #[doc = "Bits 6:7 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2active_backup_modem_clk_code( &mut self, ) -> HP_MODEM2ACTIVE_BACKUP_MODEM_CLK_CODE_W { @@ -170,7 +168,6 @@ impl W { } #[doc = "Bit 10 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_retention_mode( &mut self, ) -> HP_ACTIVE_RETENTION_MODE_W { @@ -178,7 +175,6 @@ impl W { } #[doc = "Bit 11 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2active_retention_en( &mut self, ) -> HP_SLEEP2ACTIVE_RETENTION_EN_W { @@ -186,7 +182,6 @@ impl W { } #[doc = "Bit 12 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2active_retention_en( &mut self, ) -> HP_MODEM2ACTIVE_RETENTION_EN_W { @@ -194,7 +189,6 @@ impl W { } #[doc = "Bits 14:15 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2active_backup_clk_sel( &mut self, ) -> HP_SLEEP2ACTIVE_BACKUP_CLK_SEL_W { @@ -202,7 +196,6 @@ impl W { } #[doc = "Bits 16:17 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2active_backup_clk_sel( &mut self, ) -> HP_MODEM2ACTIVE_BACKUP_CLK_SEL_W { @@ -210,7 +203,6 @@ impl W { } #[doc = "Bits 20:22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2active_backup_mode( &mut self, ) -> HP_SLEEP2ACTIVE_BACKUP_MODE_W { @@ -218,7 +210,6 @@ impl W { } #[doc = "Bits 23:25 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2active_backup_mode( &mut self, ) -> HP_MODEM2ACTIVE_BACKUP_MODE_W { @@ -226,7 +217,6 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2active_backup_en( &mut self, ) -> HP_SLEEP2ACTIVE_BACKUP_EN_W { @@ -234,7 +224,6 @@ impl W { } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2active_backup_en( &mut self, ) -> HP_MODEM2ACTIVE_BACKUP_EN_W { diff --git a/esp32c6/src/pmu/hp_active_backup_clk.rs b/esp32c6/src/pmu/hp_active_backup_clk.rs index cd9b3de54b..3f67784a4b 100644 --- a/esp32c6/src/pmu/hp_active_backup_clk.rs +++ b/esp32c6/src/pmu/hp_active_backup_clk.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_backup_icg_func_en( &mut self, ) -> HP_ACTIVE_BACKUP_ICG_FUNC_EN_W { diff --git a/esp32c6/src/pmu/hp_active_bias.rs b/esp32c6/src/pmu/hp_active_bias.rs index 776114ec65..61066d464d 100644 --- a/esp32c6/src/pmu/hp_active_bias.rs +++ b/esp32c6/src/pmu/hp_active_bias.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_xpd_bias(&mut self) -> HP_ACTIVE_XPD_BIAS_W { HP_ACTIVE_XPD_BIAS_W::new(self, 25) } #[doc = "Bits 26:29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_dbg_atten(&mut self) -> HP_ACTIVE_DBG_ATTEN_W { HP_ACTIVE_DBG_ATTEN_W::new(self, 26) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_pd_cur(&mut self) -> HP_ACTIVE_PD_CUR_W { HP_ACTIVE_PD_CUR_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn sleep(&mut self) -> SLEEP_W { SLEEP_W::new(self, 31) } diff --git a/esp32c6/src/pmu/hp_active_dig_power.rs b/esp32c6/src/pmu/hp_active_dig_power.rs index 9aee68d0c0..a26ef3ce94 100644 --- a/esp32c6/src/pmu/hp_active_dig_power.rs +++ b/esp32c6/src/pmu/hp_active_dig_power.rs @@ -96,7 +96,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 21 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_vdd_spi_pd_en( &mut self, ) -> HP_ACTIVE_VDD_SPI_PD_EN_W { @@ -104,13 +103,11 @@ impl W { } #[doc = "Bit 22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_hp_mem_dslp(&mut self) -> HP_ACTIVE_HP_MEM_DSLP_W { HP_ACTIVE_HP_MEM_DSLP_W::new(self, 22) } #[doc = "Bits 23:26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_pd_hp_mem_pd_en( &mut self, ) -> HP_ACTIVE_PD_HP_MEM_PD_EN_W { @@ -118,7 +115,6 @@ impl W { } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_pd_hp_wifi_pd_en( &mut self, ) -> HP_ACTIVE_PD_HP_WIFI_PD_EN_W { @@ -126,7 +122,6 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_pd_hp_cpu_pd_en( &mut self, ) -> HP_ACTIVE_PD_HP_CPU_PD_EN_W { @@ -134,7 +129,6 @@ impl W { } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_pd_hp_aon_pd_en( &mut self, ) -> HP_ACTIVE_PD_HP_AON_PD_EN_W { @@ -142,7 +136,6 @@ impl W { } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_pd_top_pd_en(&mut self) -> HP_ACTIVE_PD_TOP_PD_EN_W { HP_ACTIVE_PD_TOP_PD_EN_W::new(self, 31) } diff --git a/esp32c6/src/pmu/hp_active_hp_ck_power.rs b/esp32c6/src/pmu/hp_active_hp_ck_power.rs index 3e86be5b63..bbc0f43cba 100644 --- a/esp32c6/src/pmu/hp_active_hp_ck_power.rs +++ b/esp32c6/src/pmu/hp_active_hp_ck_power.rs @@ -64,13 +64,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_i2c_iso_en(&mut self) -> HP_ACTIVE_I2C_ISO_EN_W { HP_ACTIVE_I2C_ISO_EN_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_i2c_retention( &mut self, ) -> HP_ACTIVE_I2C_RETENTION_W { @@ -78,13 +76,11 @@ impl W { } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_xpd_bb_i2c(&mut self) -> HP_ACTIVE_XPD_BB_I2C_W { HP_ACTIVE_XPD_BB_I2C_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_xpd_bbpll_i2c( &mut self, ) -> HP_ACTIVE_XPD_BBPLL_I2C_W { @@ -92,7 +88,6 @@ impl W { } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_xpd_bbpll(&mut self) -> HP_ACTIVE_XPD_BBPLL_W { HP_ACTIVE_XPD_BBPLL_W::new(self, 30) } diff --git a/esp32c6/src/pmu/hp_active_hp_regulator0.rs b/esp32c6/src/pmu/hp_active_hp_regulator0.rs index 2805e24761..1fcbd31cb1 100644 --- a/esp32c6/src/pmu/hp_active_hp_regulator0.rs +++ b/esp32c6/src/pmu/hp_active_hp_regulator0.rs @@ -122,7 +122,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 14 - need_des"] #[inline(always)] - #[must_use] pub fn dig_regulator0_dbias_sel( &mut self, ) -> DIG_REGULATOR0_DBIAS_SEL_W { @@ -130,13 +129,11 @@ impl W { } #[doc = "Bit 15 - need_des"] #[inline(always)] - #[must_use] pub fn dig_dbias_init(&mut self) -> DIG_DBIAS_INIT_W { DIG_DBIAS_INIT_W::new(self, 15) } #[doc = "Bit 16 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_hp_regulator_slp_mem_xpd( &mut self, ) -> HP_ACTIVE_HP_REGULATOR_SLP_MEM_XPD_W { @@ -144,7 +141,6 @@ impl W { } #[doc = "Bit 17 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_hp_regulator_slp_logic_xpd( &mut self, ) -> HP_ACTIVE_HP_REGULATOR_SLP_LOGIC_XPD_W { @@ -152,7 +148,6 @@ impl W { } #[doc = "Bit 18 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_hp_regulator_xpd( &mut self, ) -> HP_ACTIVE_HP_REGULATOR_XPD_W { @@ -160,7 +155,6 @@ impl W { } #[doc = "Bits 19:22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_hp_regulator_slp_mem_dbias( &mut self, ) -> HP_ACTIVE_HP_REGULATOR_SLP_MEM_DBIAS_W { @@ -168,7 +162,6 @@ impl W { } #[doc = "Bits 23:26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_hp_regulator_slp_logic_dbias( &mut self, ) -> HP_ACTIVE_HP_REGULATOR_SLP_LOGIC_DBIAS_W { @@ -176,7 +169,6 @@ impl W { } #[doc = "Bits 27:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_hp_regulator_dbias( &mut self, ) -> HP_ACTIVE_HP_REGULATOR_DBIAS_W { diff --git a/esp32c6/src/pmu/hp_active_hp_regulator1.rs b/esp32c6/src/pmu/hp_active_hp_regulator1.rs index 940dd38ece..55d8d50a27 100644 --- a/esp32c6/src/pmu/hp_active_hp_regulator1.rs +++ b/esp32c6/src/pmu/hp_active_hp_regulator1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 8:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_hp_regulator_drv_b( &mut self, ) -> HP_ACTIVE_HP_REGULATOR_DRV_B_W { diff --git a/esp32c6/src/pmu/hp_active_hp_sys_cntl.rs b/esp32c6/src/pmu/hp_active_hp_sys_cntl.rs index 0961204ffd..56885c44e2 100644 --- a/esp32c6/src/pmu/hp_active_hp_sys_cntl.rs +++ b/esp32c6/src/pmu/hp_active_hp_sys_cntl.rs @@ -83,7 +83,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 24 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_uart_wakeup_en( &mut self, ) -> HP_ACTIVE_UART_WAKEUP_EN_W { @@ -91,7 +90,6 @@ impl W { } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_lp_pad_hold_all( &mut self, ) -> HP_ACTIVE_LP_PAD_HOLD_ALL_W { @@ -99,7 +97,6 @@ impl W { } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_hp_pad_hold_all( &mut self, ) -> HP_ACTIVE_HP_PAD_HOLD_ALL_W { @@ -107,7 +104,6 @@ impl W { } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_dig_pad_slp_sel( &mut self, ) -> HP_ACTIVE_DIG_PAD_SLP_SEL_W { @@ -115,7 +111,6 @@ impl W { } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_dig_pause_wdt( &mut self, ) -> HP_ACTIVE_DIG_PAUSE_WDT_W { @@ -123,7 +118,6 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_dig_cpu_stall( &mut self, ) -> HP_ACTIVE_DIG_CPU_STALL_W { diff --git a/esp32c6/src/pmu/hp_active_icg_hp_apb.rs b/esp32c6/src/pmu/hp_active_icg_hp_apb.rs index 1beed99c5b..ec36aae6b9 100644 --- a/esp32c6/src/pmu/hp_active_icg_hp_apb.rs +++ b/esp32c6/src/pmu/hp_active_icg_hp_apb.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_dig_icg_apb_en( &mut self, ) -> HP_ACTIVE_DIG_ICG_APB_EN_W { diff --git a/esp32c6/src/pmu/hp_active_icg_hp_func.rs b/esp32c6/src/pmu/hp_active_icg_hp_func.rs index e16bf388fd..4f8d853807 100644 --- a/esp32c6/src/pmu/hp_active_icg_hp_func.rs +++ b/esp32c6/src/pmu/hp_active_icg_hp_func.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_dig_icg_func_en( &mut self, ) -> HP_ACTIVE_DIG_ICG_FUNC_EN_W { diff --git a/esp32c6/src/pmu/hp_active_icg_modem.rs b/esp32c6/src/pmu/hp_active_icg_modem.rs index ad0b7e9102..75425b3205 100644 --- a/esp32c6/src/pmu/hp_active_icg_modem.rs +++ b/esp32c6/src/pmu/hp_active_icg_modem.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 30:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_dig_icg_modem_code( &mut self, ) -> HP_ACTIVE_DIG_ICG_MODEM_CODE_W { diff --git a/esp32c6/src/pmu/hp_active_sysclk.rs b/esp32c6/src/pmu/hp_active_sysclk.rs index b6047443e5..1f01bd6c4d 100644 --- a/esp32c6/src/pmu/hp_active_sysclk.rs +++ b/esp32c6/src/pmu/hp_active_sysclk.rs @@ -76,7 +76,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_dig_sys_clk_no_div( &mut self, ) -> HP_ACTIVE_DIG_SYS_CLK_NO_DIV_W { @@ -84,7 +83,6 @@ impl W { } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_icg_sys_clock_en( &mut self, ) -> HP_ACTIVE_ICG_SYS_CLOCK_EN_W { @@ -92,7 +90,6 @@ impl W { } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_sys_clk_slp_sel( &mut self, ) -> HP_ACTIVE_SYS_CLK_SLP_SEL_W { @@ -100,13 +97,11 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_icg_slp_sel(&mut self) -> HP_ACTIVE_ICG_SLP_SEL_W { HP_ACTIVE_ICG_SLP_SEL_W::new(self, 29) } #[doc = "Bits 30:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_dig_sys_clk_sel( &mut self, ) -> HP_ACTIVE_DIG_SYS_CLK_SEL_W { diff --git a/esp32c6/src/pmu/hp_active_xtal.rs b/esp32c6/src/pmu/hp_active_xtal.rs index 0e3d95ae10..c23de5bc9e 100644 --- a/esp32c6/src/pmu/hp_active_xtal.rs +++ b/esp32c6/src/pmu/hp_active_xtal.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_xpd_xtal(&mut self) -> HP_ACTIVE_XPD_XTAL_W { HP_ACTIVE_XPD_XTAL_W::new(self, 31) } diff --git a/esp32c6/src/pmu/hp_ck_cntl.rs b/esp32c6/src/pmu/hp_ck_cntl.rs index bcc033e8fb..27f42537f0 100644 --- a/esp32c6/src/pmu/hp_ck_cntl.rs +++ b/esp32c6/src/pmu/hp_ck_cntl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - need_des"] #[inline(always)] - #[must_use] pub fn modify_icg_cntl_wait(&mut self) -> MODIFY_ICG_CNTL_WAIT_W { MODIFY_ICG_CNTL_WAIT_W::new(self, 0) } #[doc = "Bits 8:15 - need_des"] #[inline(always)] - #[must_use] pub fn switch_icg_cntl_wait(&mut self) -> SWITCH_ICG_CNTL_WAIT_W { SWITCH_ICG_CNTL_WAIT_W::new(self, 8) } diff --git a/esp32c6/src/pmu/hp_ck_poweron.rs b/esp32c6/src/pmu/hp_ck_poweron.rs index 066aba60c2..6fadce8253 100644 --- a/esp32c6/src/pmu/hp_ck_poweron.rs +++ b/esp32c6/src/pmu/hp_ck_poweron.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - need_des"] #[inline(always)] - #[must_use] pub fn i2c_por_wait_target(&mut self) -> I2C_POR_WAIT_TARGET_W { I2C_POR_WAIT_TARGET_W::new(self, 0) } diff --git a/esp32c6/src/pmu/hp_lp_cpu_comm.rs b/esp32c6/src/pmu/hp_lp_cpu_comm.rs index 2177dec2c3..75227a51fd 100644 --- a/esp32c6/src/pmu/hp_lp_cpu_comm.rs +++ b/esp32c6/src/pmu/hp_lp_cpu_comm.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_trigger_hp(&mut self) -> LP_TRIGGER_HP_W { LP_TRIGGER_HP_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_trigger_lp(&mut self) -> HP_TRIGGER_LP_W { HP_TRIGGER_LP_W::new(self, 31) } diff --git a/esp32c6/src/pmu/hp_modem_backup.rs b/esp32c6/src/pmu/hp_modem_backup.rs index a95bce0fa9..49df074083 100644 --- a/esp32c6/src/pmu/hp_modem_backup.rs +++ b/esp32c6/src/pmu/hp_modem_backup.rs @@ -86,7 +86,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 4:5 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2modem_backup_modem_clk_code( &mut self, ) -> HP_SLEEP2MODEM_BACKUP_MODEM_CLK_CODE_W { @@ -94,13 +93,11 @@ impl W { } #[doc = "Bit 10 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_retention_mode(&mut self) -> HP_MODEM_RETENTION_MODE_W { HP_MODEM_RETENTION_MODE_W::new(self, 10) } #[doc = "Bit 11 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2modem_retention_en( &mut self, ) -> HP_SLEEP2MODEM_RETENTION_EN_W { @@ -108,7 +105,6 @@ impl W { } #[doc = "Bits 14:15 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2modem_backup_clk_sel( &mut self, ) -> HP_SLEEP2MODEM_BACKUP_CLK_SEL_W { @@ -116,7 +112,6 @@ impl W { } #[doc = "Bits 20:22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2modem_backup_mode( &mut self, ) -> HP_SLEEP2MODEM_BACKUP_MODE_W { @@ -124,7 +119,6 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2modem_backup_en(&mut self) -> HP_SLEEP2MODEM_BACKUP_EN_W { HP_SLEEP2MODEM_BACKUP_EN_W::new(self, 29) } diff --git a/esp32c6/src/pmu/hp_modem_backup_clk.rs b/esp32c6/src/pmu/hp_modem_backup_clk.rs index 2fe722858c..88033e33e2 100644 --- a/esp32c6/src/pmu/hp_modem_backup_clk.rs +++ b/esp32c6/src/pmu/hp_modem_backup_clk.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_backup_icg_func_en( &mut self, ) -> HP_MODEM_BACKUP_ICG_FUNC_EN_W { diff --git a/esp32c6/src/pmu/hp_modem_bias.rs b/esp32c6/src/pmu/hp_modem_bias.rs index 874e71360a..d176ab7b57 100644 --- a/esp32c6/src/pmu/hp_modem_bias.rs +++ b/esp32c6/src/pmu/hp_modem_bias.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_xpd_bias(&mut self) -> HP_MODEM_XPD_BIAS_W { HP_MODEM_XPD_BIAS_W::new(self, 25) } #[doc = "Bits 26:29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_dbg_atten(&mut self) -> HP_MODEM_DBG_ATTEN_W { HP_MODEM_DBG_ATTEN_W::new(self, 26) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_pd_cur(&mut self) -> HP_MODEM_PD_CUR_W { HP_MODEM_PD_CUR_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn sleep(&mut self) -> SLEEP_W { SLEEP_W::new(self, 31) } diff --git a/esp32c6/src/pmu/hp_modem_dig_power.rs b/esp32c6/src/pmu/hp_modem_dig_power.rs index 262df6a7e1..6baf47663f 100644 --- a/esp32c6/src/pmu/hp_modem_dig_power.rs +++ b/esp32c6/src/pmu/hp_modem_dig_power.rs @@ -87,19 +87,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 21 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_vdd_spi_pd_en(&mut self) -> HP_MODEM_VDD_SPI_PD_EN_W { HP_MODEM_VDD_SPI_PD_EN_W::new(self, 21) } #[doc = "Bit 22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_hp_mem_dslp(&mut self) -> HP_MODEM_HP_MEM_DSLP_W { HP_MODEM_HP_MEM_DSLP_W::new(self, 22) } #[doc = "Bits 23:26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_pd_hp_mem_pd_en( &mut self, ) -> HP_MODEM_PD_HP_MEM_PD_EN_W { @@ -107,7 +104,6 @@ impl W { } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_pd_hp_wifi_pd_en( &mut self, ) -> HP_MODEM_PD_HP_WIFI_PD_EN_W { @@ -115,7 +111,6 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_pd_hp_cpu_pd_en( &mut self, ) -> HP_MODEM_PD_HP_CPU_PD_EN_W { @@ -123,7 +118,6 @@ impl W { } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_pd_hp_aon_pd_en( &mut self, ) -> HP_MODEM_PD_HP_AON_PD_EN_W { @@ -131,7 +125,6 @@ impl W { } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_pd_top_pd_en(&mut self) -> HP_MODEM_PD_TOP_PD_EN_W { HP_MODEM_PD_TOP_PD_EN_W::new(self, 31) } diff --git a/esp32c6/src/pmu/hp_modem_hp_ck_power.rs b/esp32c6/src/pmu/hp_modem_hp_ck_power.rs index 76329b1fce..4f25757b8c 100644 --- a/esp32c6/src/pmu/hp_modem_hp_ck_power.rs +++ b/esp32c6/src/pmu/hp_modem_hp_ck_power.rs @@ -64,13 +64,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_i2c_iso_en(&mut self) -> HP_MODEM_I2C_ISO_EN_W { HP_MODEM_I2C_ISO_EN_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_i2c_retention( &mut self, ) -> HP_MODEM_I2C_RETENTION_W { @@ -78,13 +76,11 @@ impl W { } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_xpd_bb_i2c(&mut self) -> HP_MODEM_XPD_BB_I2C_W { HP_MODEM_XPD_BB_I2C_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_xpd_bbpll_i2c( &mut self, ) -> HP_MODEM_XPD_BBPLL_I2C_W { @@ -92,7 +88,6 @@ impl W { } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_xpd_bbpll(&mut self) -> HP_MODEM_XPD_BBPLL_W { HP_MODEM_XPD_BBPLL_W::new(self, 30) } diff --git a/esp32c6/src/pmu/hp_modem_hp_regulator0.rs b/esp32c6/src/pmu/hp_modem_hp_regulator0.rs index d33f191f3e..43ca4787df 100644 --- a/esp32c6/src/pmu/hp_modem_hp_regulator0.rs +++ b/esp32c6/src/pmu/hp_modem_hp_regulator0.rs @@ -92,7 +92,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 16 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_hp_regulator_slp_mem_xpd( &mut self, ) -> HP_MODEM_HP_REGULATOR_SLP_MEM_XPD_W { @@ -100,7 +99,6 @@ impl W { } #[doc = "Bit 17 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_hp_regulator_slp_logic_xpd( &mut self, ) -> HP_MODEM_HP_REGULATOR_SLP_LOGIC_XPD_W { @@ -108,7 +106,6 @@ impl W { } #[doc = "Bit 18 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_hp_regulator_xpd( &mut self, ) -> HP_MODEM_HP_REGULATOR_XPD_W { @@ -116,7 +113,6 @@ impl W { } #[doc = "Bits 19:22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_hp_regulator_slp_mem_dbias( &mut self, ) -> HP_MODEM_HP_REGULATOR_SLP_MEM_DBIAS_W { @@ -124,7 +120,6 @@ impl W { } #[doc = "Bits 23:26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_hp_regulator_slp_logic_dbias( &mut self, ) -> HP_MODEM_HP_REGULATOR_SLP_LOGIC_DBIAS_W { @@ -132,7 +127,6 @@ impl W { } #[doc = "Bits 27:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_hp_regulator_dbias( &mut self, ) -> HP_MODEM_HP_REGULATOR_DBIAS_W { diff --git a/esp32c6/src/pmu/hp_modem_hp_regulator1.rs b/esp32c6/src/pmu/hp_modem_hp_regulator1.rs index 641b019c8c..f2416bf23d 100644 --- a/esp32c6/src/pmu/hp_modem_hp_regulator1.rs +++ b/esp32c6/src/pmu/hp_modem_hp_regulator1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 8:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_hp_regulator_drv_b( &mut self, ) -> HP_MODEM_HP_REGULATOR_DRV_B_W { diff --git a/esp32c6/src/pmu/hp_modem_hp_sys_cntl.rs b/esp32c6/src/pmu/hp_modem_hp_sys_cntl.rs index 692f561206..799aac042f 100644 --- a/esp32c6/src/pmu/hp_modem_hp_sys_cntl.rs +++ b/esp32c6/src/pmu/hp_modem_hp_sys_cntl.rs @@ -74,7 +74,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 24 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_uart_wakeup_en( &mut self, ) -> HP_MODEM_UART_WAKEUP_EN_W { @@ -82,7 +81,6 @@ impl W { } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_lp_pad_hold_all( &mut self, ) -> HP_MODEM_LP_PAD_HOLD_ALL_W { @@ -90,7 +88,6 @@ impl W { } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_hp_pad_hold_all( &mut self, ) -> HP_MODEM_HP_PAD_HOLD_ALL_W { @@ -98,7 +95,6 @@ impl W { } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_dig_pad_slp_sel( &mut self, ) -> HP_MODEM_DIG_PAD_SLP_SEL_W { @@ -106,7 +102,6 @@ impl W { } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_dig_pause_wdt( &mut self, ) -> HP_MODEM_DIG_PAUSE_WDT_W { @@ -114,7 +109,6 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_dig_cpu_stall( &mut self, ) -> HP_MODEM_DIG_CPU_STALL_W { diff --git a/esp32c6/src/pmu/hp_modem_icg_hp_apb.rs b/esp32c6/src/pmu/hp_modem_icg_hp_apb.rs index b64e7347a3..7e6408b368 100644 --- a/esp32c6/src/pmu/hp_modem_icg_hp_apb.rs +++ b/esp32c6/src/pmu/hp_modem_icg_hp_apb.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_dig_icg_apb_en( &mut self, ) -> HP_MODEM_DIG_ICG_APB_EN_W { diff --git a/esp32c6/src/pmu/hp_modem_icg_hp_func.rs b/esp32c6/src/pmu/hp_modem_icg_hp_func.rs index ec018c7f11..bfbe4bca0f 100644 --- a/esp32c6/src/pmu/hp_modem_icg_hp_func.rs +++ b/esp32c6/src/pmu/hp_modem_icg_hp_func.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_dig_icg_func_en( &mut self, ) -> HP_MODEM_DIG_ICG_FUNC_EN_W { diff --git a/esp32c6/src/pmu/hp_modem_icg_modem.rs b/esp32c6/src/pmu/hp_modem_icg_modem.rs index 94da1179a8..11f15b82e2 100644 --- a/esp32c6/src/pmu/hp_modem_icg_modem.rs +++ b/esp32c6/src/pmu/hp_modem_icg_modem.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 30:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_dig_icg_modem_code( &mut self, ) -> HP_MODEM_DIG_ICG_MODEM_CODE_W { diff --git a/esp32c6/src/pmu/hp_modem_sysclk.rs b/esp32c6/src/pmu/hp_modem_sysclk.rs index 912d0e7b46..322e6ca888 100644 --- a/esp32c6/src/pmu/hp_modem_sysclk.rs +++ b/esp32c6/src/pmu/hp_modem_sysclk.rs @@ -70,7 +70,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_dig_sys_clk_no_div( &mut self, ) -> HP_MODEM_DIG_SYS_CLK_NO_DIV_W { @@ -78,7 +77,6 @@ impl W { } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_icg_sys_clock_en( &mut self, ) -> HP_MODEM_ICG_SYS_CLOCK_EN_W { @@ -86,19 +84,16 @@ impl W { } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_sys_clk_slp_sel(&mut self) -> HP_MODEM_SYS_CLK_SLP_SEL_W { HP_MODEM_SYS_CLK_SLP_SEL_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_icg_slp_sel(&mut self) -> HP_MODEM_ICG_SLP_SEL_W { HP_MODEM_ICG_SLP_SEL_W::new(self, 29) } #[doc = "Bits 30:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_dig_sys_clk_sel(&mut self) -> HP_MODEM_DIG_SYS_CLK_SEL_W { HP_MODEM_DIG_SYS_CLK_SEL_W::new(self, 30) } diff --git a/esp32c6/src/pmu/hp_modem_xtal.rs b/esp32c6/src/pmu/hp_modem_xtal.rs index 43151ad026..c528c687ce 100644 --- a/esp32c6/src/pmu/hp_modem_xtal.rs +++ b/esp32c6/src/pmu/hp_modem_xtal.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_xpd_xtal(&mut self) -> HP_MODEM_XPD_XTAL_W { HP_MODEM_XPD_XTAL_W::new(self, 31) } diff --git a/esp32c6/src/pmu/hp_regulator_cfg.rs b/esp32c6/src/pmu/hp_regulator_cfg.rs index e9060b75bd..9c5ff927c9 100644 --- a/esp32c6/src/pmu/hp_regulator_cfg.rs +++ b/esp32c6/src/pmu/hp_regulator_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn dig_regulator_en_cal(&mut self) -> DIG_REGULATOR_EN_CAL_W { DIG_REGULATOR_EN_CAL_W::new(self, 31) } diff --git a/esp32c6/src/pmu/hp_sleep_backup.rs b/esp32c6/src/pmu/hp_sleep_backup.rs index 6a6f9e9a06..c57ad8f946 100644 --- a/esp32c6/src/pmu/hp_sleep_backup.rs +++ b/esp32c6/src/pmu/hp_sleep_backup.rs @@ -151,7 +151,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 6:7 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2sleep_backup_modem_clk_code( &mut self, ) -> HP_MODEM2SLEEP_BACKUP_MODEM_CLK_CODE_W { @@ -159,7 +158,6 @@ impl W { } #[doc = "Bits 8:9 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active2sleep_backup_modem_clk_code( &mut self, ) -> HP_ACTIVE2SLEEP_BACKUP_MODEM_CLK_CODE_W { @@ -167,13 +165,11 @@ impl W { } #[doc = "Bit 10 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_retention_mode(&mut self) -> HP_SLEEP_RETENTION_MODE_W { HP_SLEEP_RETENTION_MODE_W::new(self, 10) } #[doc = "Bit 12 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2sleep_retention_en( &mut self, ) -> HP_MODEM2SLEEP_RETENTION_EN_W { @@ -181,7 +177,6 @@ impl W { } #[doc = "Bit 13 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active2sleep_retention_en( &mut self, ) -> HP_ACTIVE2SLEEP_RETENTION_EN_W { @@ -189,7 +184,6 @@ impl W { } #[doc = "Bits 16:17 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2sleep_backup_clk_sel( &mut self, ) -> HP_MODEM2SLEEP_BACKUP_CLK_SEL_W { @@ -197,7 +191,6 @@ impl W { } #[doc = "Bits 18:19 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active2sleep_backup_clk_sel( &mut self, ) -> HP_ACTIVE2SLEEP_BACKUP_CLK_SEL_W { @@ -205,7 +198,6 @@ impl W { } #[doc = "Bits 23:25 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2sleep_backup_mode( &mut self, ) -> HP_MODEM2SLEEP_BACKUP_MODE_W { @@ -213,7 +205,6 @@ impl W { } #[doc = "Bits 26:28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active2sleep_backup_mode( &mut self, ) -> HP_ACTIVE2SLEEP_BACKUP_MODE_W { @@ -221,13 +212,11 @@ impl W { } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2sleep_backup_en(&mut self) -> HP_MODEM2SLEEP_BACKUP_EN_W { HP_MODEM2SLEEP_BACKUP_EN_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active2sleep_backup_en( &mut self, ) -> HP_ACTIVE2SLEEP_BACKUP_EN_W { diff --git a/esp32c6/src/pmu/hp_sleep_backup_clk.rs b/esp32c6/src/pmu/hp_sleep_backup_clk.rs index 6bf03c5d11..a45c0c4891 100644 --- a/esp32c6/src/pmu/hp_sleep_backup_clk.rs +++ b/esp32c6/src/pmu/hp_sleep_backup_clk.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_backup_icg_func_en( &mut self, ) -> HP_SLEEP_BACKUP_ICG_FUNC_EN_W { diff --git a/esp32c6/src/pmu/hp_sleep_bias.rs b/esp32c6/src/pmu/hp_sleep_bias.rs index 48fb00b571..6e751ccb2c 100644 --- a/esp32c6/src/pmu/hp_sleep_bias.rs +++ b/esp32c6/src/pmu/hp_sleep_bias.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_xpd_bias(&mut self) -> HP_SLEEP_XPD_BIAS_W { HP_SLEEP_XPD_BIAS_W::new(self, 25) } #[doc = "Bits 26:29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_dbg_atten(&mut self) -> HP_SLEEP_DBG_ATTEN_W { HP_SLEEP_DBG_ATTEN_W::new(self, 26) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_pd_cur(&mut self) -> HP_SLEEP_PD_CUR_W { HP_SLEEP_PD_CUR_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn sleep(&mut self) -> SLEEP_W { SLEEP_W::new(self, 31) } diff --git a/esp32c6/src/pmu/hp_sleep_dig_power.rs b/esp32c6/src/pmu/hp_sleep_dig_power.rs index 2bfda189dd..4e85bf0787 100644 --- a/esp32c6/src/pmu/hp_sleep_dig_power.rs +++ b/esp32c6/src/pmu/hp_sleep_dig_power.rs @@ -87,19 +87,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 21 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_vdd_spi_pd_en(&mut self) -> HP_SLEEP_VDD_SPI_PD_EN_W { HP_SLEEP_VDD_SPI_PD_EN_W::new(self, 21) } #[doc = "Bit 22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_hp_mem_dslp(&mut self) -> HP_SLEEP_HP_MEM_DSLP_W { HP_SLEEP_HP_MEM_DSLP_W::new(self, 22) } #[doc = "Bits 23:26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_pd_hp_mem_pd_en( &mut self, ) -> HP_SLEEP_PD_HP_MEM_PD_EN_W { @@ -107,7 +104,6 @@ impl W { } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_pd_hp_wifi_pd_en( &mut self, ) -> HP_SLEEP_PD_HP_WIFI_PD_EN_W { @@ -115,7 +111,6 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_pd_hp_cpu_pd_en( &mut self, ) -> HP_SLEEP_PD_HP_CPU_PD_EN_W { @@ -123,7 +118,6 @@ impl W { } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_pd_hp_aon_pd_en( &mut self, ) -> HP_SLEEP_PD_HP_AON_PD_EN_W { @@ -131,7 +125,6 @@ impl W { } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_pd_top_pd_en(&mut self) -> HP_SLEEP_PD_TOP_PD_EN_W { HP_SLEEP_PD_TOP_PD_EN_W::new(self, 31) } diff --git a/esp32c6/src/pmu/hp_sleep_hp_ck_power.rs b/esp32c6/src/pmu/hp_sleep_hp_ck_power.rs index a9ae39341e..2ad72b59b4 100644 --- a/esp32c6/src/pmu/hp_sleep_hp_ck_power.rs +++ b/esp32c6/src/pmu/hp_sleep_hp_ck_power.rs @@ -64,13 +64,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_i2c_iso_en(&mut self) -> HP_SLEEP_I2C_ISO_EN_W { HP_SLEEP_I2C_ISO_EN_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_i2c_retention( &mut self, ) -> HP_SLEEP_I2C_RETENTION_W { @@ -78,13 +76,11 @@ impl W { } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_xpd_bb_i2c(&mut self) -> HP_SLEEP_XPD_BB_I2C_W { HP_SLEEP_XPD_BB_I2C_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_xpd_bbpll_i2c( &mut self, ) -> HP_SLEEP_XPD_BBPLL_I2C_W { @@ -92,7 +88,6 @@ impl W { } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_xpd_bbpll(&mut self) -> HP_SLEEP_XPD_BBPLL_W { HP_SLEEP_XPD_BBPLL_W::new(self, 30) } diff --git a/esp32c6/src/pmu/hp_sleep_hp_regulator0.rs b/esp32c6/src/pmu/hp_sleep_hp_regulator0.rs index b0db1a77b5..3c2e95ab40 100644 --- a/esp32c6/src/pmu/hp_sleep_hp_regulator0.rs +++ b/esp32c6/src/pmu/hp_sleep_hp_regulator0.rs @@ -92,7 +92,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 16 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_hp_regulator_slp_mem_xpd( &mut self, ) -> HP_SLEEP_HP_REGULATOR_SLP_MEM_XPD_W { @@ -100,7 +99,6 @@ impl W { } #[doc = "Bit 17 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_hp_regulator_slp_logic_xpd( &mut self, ) -> HP_SLEEP_HP_REGULATOR_SLP_LOGIC_XPD_W { @@ -108,7 +106,6 @@ impl W { } #[doc = "Bit 18 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_hp_regulator_xpd( &mut self, ) -> HP_SLEEP_HP_REGULATOR_XPD_W { @@ -116,7 +113,6 @@ impl W { } #[doc = "Bits 19:22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_hp_regulator_slp_mem_dbias( &mut self, ) -> HP_SLEEP_HP_REGULATOR_SLP_MEM_DBIAS_W { @@ -124,7 +120,6 @@ impl W { } #[doc = "Bits 23:26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_hp_regulator_slp_logic_dbias( &mut self, ) -> HP_SLEEP_HP_REGULATOR_SLP_LOGIC_DBIAS_W { @@ -132,7 +127,6 @@ impl W { } #[doc = "Bits 27:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_hp_regulator_dbias( &mut self, ) -> HP_SLEEP_HP_REGULATOR_DBIAS_W { diff --git a/esp32c6/src/pmu/hp_sleep_hp_regulator1.rs b/esp32c6/src/pmu/hp_sleep_hp_regulator1.rs index 24585be350..43814301a5 100644 --- a/esp32c6/src/pmu/hp_sleep_hp_regulator1.rs +++ b/esp32c6/src/pmu/hp_sleep_hp_regulator1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 8:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_hp_regulator_drv_b( &mut self, ) -> HP_SLEEP_HP_REGULATOR_DRV_B_W { diff --git a/esp32c6/src/pmu/hp_sleep_hp_sys_cntl.rs b/esp32c6/src/pmu/hp_sleep_hp_sys_cntl.rs index 547e2834e6..3f3feb0a3d 100644 --- a/esp32c6/src/pmu/hp_sleep_hp_sys_cntl.rs +++ b/esp32c6/src/pmu/hp_sleep_hp_sys_cntl.rs @@ -74,7 +74,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 24 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_uart_wakeup_en( &mut self, ) -> HP_SLEEP_UART_WAKEUP_EN_W { @@ -82,7 +81,6 @@ impl W { } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_lp_pad_hold_all( &mut self, ) -> HP_SLEEP_LP_PAD_HOLD_ALL_W { @@ -90,7 +88,6 @@ impl W { } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_hp_pad_hold_all( &mut self, ) -> HP_SLEEP_HP_PAD_HOLD_ALL_W { @@ -98,7 +95,6 @@ impl W { } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_dig_pad_slp_sel( &mut self, ) -> HP_SLEEP_DIG_PAD_SLP_SEL_W { @@ -106,7 +102,6 @@ impl W { } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_dig_pause_wdt( &mut self, ) -> HP_SLEEP_DIG_PAUSE_WDT_W { @@ -114,7 +109,6 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_dig_cpu_stall( &mut self, ) -> HP_SLEEP_DIG_CPU_STALL_W { diff --git a/esp32c6/src/pmu/hp_sleep_icg_hp_apb.rs b/esp32c6/src/pmu/hp_sleep_icg_hp_apb.rs index f50ae2716f..1c100ebece 100644 --- a/esp32c6/src/pmu/hp_sleep_icg_hp_apb.rs +++ b/esp32c6/src/pmu/hp_sleep_icg_hp_apb.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_dig_icg_apb_en( &mut self, ) -> HP_SLEEP_DIG_ICG_APB_EN_W { diff --git a/esp32c6/src/pmu/hp_sleep_icg_hp_func.rs b/esp32c6/src/pmu/hp_sleep_icg_hp_func.rs index 6a772a5b66..b50ea585fc 100644 --- a/esp32c6/src/pmu/hp_sleep_icg_hp_func.rs +++ b/esp32c6/src/pmu/hp_sleep_icg_hp_func.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_dig_icg_func_en( &mut self, ) -> HP_SLEEP_DIG_ICG_FUNC_EN_W { diff --git a/esp32c6/src/pmu/hp_sleep_icg_modem.rs b/esp32c6/src/pmu/hp_sleep_icg_modem.rs index 1c65c25263..736f62b049 100644 --- a/esp32c6/src/pmu/hp_sleep_icg_modem.rs +++ b/esp32c6/src/pmu/hp_sleep_icg_modem.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 30:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_dig_icg_modem_code( &mut self, ) -> HP_SLEEP_DIG_ICG_MODEM_CODE_W { diff --git a/esp32c6/src/pmu/hp_sleep_lp_ck_power.rs b/esp32c6/src/pmu/hp_sleep_lp_ck_power.rs index 68ac2250d8..fd56808ff8 100644 --- a/esp32c6/src/pmu/hp_sleep_lp_ck_power.rs +++ b/esp32c6/src/pmu/hp_sleep_lp_ck_power.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_xpd_xtal32k(&mut self) -> HP_SLEEP_XPD_XTAL32K_W { HP_SLEEP_XPD_XTAL32K_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_xpd_rc32k(&mut self) -> HP_SLEEP_XPD_RC32K_W { HP_SLEEP_XPD_RC32K_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_xpd_fosc_clk(&mut self) -> HP_SLEEP_XPD_FOSC_CLK_W { HP_SLEEP_XPD_FOSC_CLK_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_pd_osc_clk(&mut self) -> HP_SLEEP_PD_OSC_CLK_W { HP_SLEEP_PD_OSC_CLK_W::new(self, 31) } diff --git a/esp32c6/src/pmu/hp_sleep_lp_dcdc_reserve.rs b/esp32c6/src/pmu/hp_sleep_lp_dcdc_reserve.rs index 8a14263079..611cdf7eaf 100644 --- a/esp32c6/src/pmu/hp_sleep_lp_dcdc_reserve.rs +++ b/esp32c6/src/pmu/hp_sleep_lp_dcdc_reserve.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_lp_dcdc_reserve( &mut self, ) -> HP_SLEEP_LP_DCDC_RESERVE_W { diff --git a/esp32c6/src/pmu/hp_sleep_lp_dig_power.rs b/esp32c6/src/pmu/hp_sleep_lp_dig_power.rs index 35627ffb6b..a825695741 100644 --- a/esp32c6/src/pmu/hp_sleep_lp_dig_power.rs +++ b/esp32c6/src/pmu/hp_sleep_lp_dig_power.rs @@ -37,13 +37,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_lp_mem_dslp(&mut self) -> HP_SLEEP_LP_MEM_DSLP_W { HP_SLEEP_LP_MEM_DSLP_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_pd_lp_peri_pd_en( &mut self, ) -> HP_SLEEP_PD_LP_PERI_PD_EN_W { diff --git a/esp32c6/src/pmu/hp_sleep_lp_regulator0.rs b/esp32c6/src/pmu/hp_sleep_lp_regulator0.rs index a1aa018710..0a7ed2cfb0 100644 --- a/esp32c6/src/pmu/hp_sleep_lp_regulator0.rs +++ b/esp32c6/src/pmu/hp_sleep_lp_regulator0.rs @@ -66,7 +66,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 21 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_lp_regulator_slp_xpd( &mut self, ) -> HP_SLEEP_LP_REGULATOR_SLP_XPD_W { @@ -74,7 +73,6 @@ impl W { } #[doc = "Bit 22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_lp_regulator_xpd( &mut self, ) -> HP_SLEEP_LP_REGULATOR_XPD_W { @@ -82,7 +80,6 @@ impl W { } #[doc = "Bits 23:26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_lp_regulator_slp_dbias( &mut self, ) -> HP_SLEEP_LP_REGULATOR_SLP_DBIAS_W { @@ -90,7 +87,6 @@ impl W { } #[doc = "Bits 27:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_lp_regulator_dbias( &mut self, ) -> HP_SLEEP_LP_REGULATOR_DBIAS_W { diff --git a/esp32c6/src/pmu/hp_sleep_lp_regulator1.rs b/esp32c6/src/pmu/hp_sleep_lp_regulator1.rs index 17cad59be1..e1c7b093a7 100644 --- a/esp32c6/src/pmu/hp_sleep_lp_regulator1.rs +++ b/esp32c6/src/pmu/hp_sleep_lp_regulator1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 28:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_lp_regulator_drv_b( &mut self, ) -> HP_SLEEP_LP_REGULATOR_DRV_B_W { diff --git a/esp32c6/src/pmu/hp_sleep_sysclk.rs b/esp32c6/src/pmu/hp_sleep_sysclk.rs index 0873e5ee63..6453997284 100644 --- a/esp32c6/src/pmu/hp_sleep_sysclk.rs +++ b/esp32c6/src/pmu/hp_sleep_sysclk.rs @@ -70,7 +70,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_dig_sys_clk_no_div( &mut self, ) -> HP_SLEEP_DIG_SYS_CLK_NO_DIV_W { @@ -78,7 +77,6 @@ impl W { } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_icg_sys_clock_en( &mut self, ) -> HP_SLEEP_ICG_SYS_CLOCK_EN_W { @@ -86,19 +84,16 @@ impl W { } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_sys_clk_slp_sel(&mut self) -> HP_SLEEP_SYS_CLK_SLP_SEL_W { HP_SLEEP_SYS_CLK_SLP_SEL_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_icg_slp_sel(&mut self) -> HP_SLEEP_ICG_SLP_SEL_W { HP_SLEEP_ICG_SLP_SEL_W::new(self, 29) } #[doc = "Bits 30:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_dig_sys_clk_sel(&mut self) -> HP_SLEEP_DIG_SYS_CLK_SEL_W { HP_SLEEP_DIG_SYS_CLK_SEL_W::new(self, 30) } diff --git a/esp32c6/src/pmu/hp_sleep_xtal.rs b/esp32c6/src/pmu/hp_sleep_xtal.rs index 3f382cdf24..a2d7ca7739 100644 --- a/esp32c6/src/pmu/hp_sleep_xtal.rs +++ b/esp32c6/src/pmu/hp_sleep_xtal.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_xpd_xtal(&mut self) -> HP_SLEEP_XPD_XTAL_W { HP_SLEEP_XPD_XTAL_W::new(self, 31) } diff --git a/esp32c6/src/pmu/imm_hp_apb_icg.rs b/esp32c6/src/pmu/imm_hp_apb_icg.rs index 3b3fc966b3..df5a3ade8f 100644 --- a/esp32c6/src/pmu/imm_hp_apb_icg.rs +++ b/esp32c6/src/pmu/imm_hp_apb_icg.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn update_dig_icg_apb_en(&mut self) -> UPDATE_DIG_ICG_APB_EN_W { UPDATE_DIG_ICG_APB_EN_W::new(self, 31) } diff --git a/esp32c6/src/pmu/imm_hp_ck_power.rs b/esp32c6/src/pmu/imm_hp_ck_power.rs index 0045f51316..287df1d769 100644 --- a/esp32c6/src/pmu/imm_hp_ck_power.rs +++ b/esp32c6/src/pmu/imm_hp_ck_power.rs @@ -39,49 +39,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_global_bbpll_icg(&mut self) -> TIE_LOW_GLOBAL_BBPLL_ICG_W { TIE_LOW_GLOBAL_BBPLL_ICG_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_global_xtal_icg(&mut self) -> TIE_LOW_GLOBAL_XTAL_ICG_W { TIE_LOW_GLOBAL_XTAL_ICG_W::new(self, 1) } #[doc = "Bit 2 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_i2c_retention(&mut self) -> TIE_LOW_I2C_RETENTION_W { TIE_LOW_I2C_RETENTION_W::new(self, 2) } #[doc = "Bit 3 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_xpd_bb_i2c(&mut self) -> TIE_LOW_XPD_BB_I2C_W { TIE_LOW_XPD_BB_I2C_W::new(self, 3) } #[doc = "Bit 4 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_xpd_bbpll_i2c(&mut self) -> TIE_LOW_XPD_BBPLL_I2C_W { TIE_LOW_XPD_BBPLL_I2C_W::new(self, 4) } #[doc = "Bit 5 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_xpd_bbpll(&mut self) -> TIE_LOW_XPD_BBPLL_W { TIE_LOW_XPD_BBPLL_W::new(self, 5) } #[doc = "Bit 6 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_xpd_xtal(&mut self) -> TIE_LOW_XPD_XTAL_W { TIE_LOW_XPD_XTAL_W::new(self, 6) } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_global_bbpll_icg( &mut self, ) -> TIE_HIGH_GLOBAL_BBPLL_ICG_W { @@ -89,37 +81,31 @@ impl W { } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_global_xtal_icg(&mut self) -> TIE_HIGH_GLOBAL_XTAL_ICG_W { TIE_HIGH_GLOBAL_XTAL_ICG_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_i2c_retention(&mut self) -> TIE_HIGH_I2C_RETENTION_W { TIE_HIGH_I2C_RETENTION_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_xpd_bb_i2c(&mut self) -> TIE_HIGH_XPD_BB_I2C_W { TIE_HIGH_XPD_BB_I2C_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_xpd_bbpll_i2c(&mut self) -> TIE_HIGH_XPD_BBPLL_I2C_W { TIE_HIGH_XPD_BBPLL_I2C_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_xpd_bbpll(&mut self) -> TIE_HIGH_XPD_BBPLL_W { TIE_HIGH_XPD_BBPLL_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_xpd_xtal(&mut self) -> TIE_HIGH_XPD_XTAL_W { TIE_HIGH_XPD_XTAL_W::new(self, 31) } diff --git a/esp32c6/src/pmu/imm_hp_func_icg.rs b/esp32c6/src/pmu/imm_hp_func_icg.rs index 8000f18ab4..dfdf10bdda 100644 --- a/esp32c6/src/pmu/imm_hp_func_icg.rs +++ b/esp32c6/src/pmu/imm_hp_func_icg.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn update_dig_icg_func_en(&mut self) -> UPDATE_DIG_ICG_FUNC_EN_W { UPDATE_DIG_ICG_FUNC_EN_W::new(self, 31) } diff --git a/esp32c6/src/pmu/imm_i2c_iso.rs b/esp32c6/src/pmu/imm_i2c_iso.rs index c39507b619..b3c13e0144 100644 --- a/esp32c6/src/pmu/imm_i2c_iso.rs +++ b/esp32c6/src/pmu/imm_i2c_iso.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_i2c_iso_en(&mut self) -> TIE_HIGH_I2C_ISO_EN_W { TIE_HIGH_I2C_ISO_EN_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_i2c_iso_en(&mut self) -> TIE_LOW_I2C_ISO_EN_W { TIE_LOW_I2C_ISO_EN_W::new(self, 31) } diff --git a/esp32c6/src/pmu/imm_lp_icg.rs b/esp32c6/src/pmu/imm_lp_icg.rs index e91b571eaa..f531bddf91 100644 --- a/esp32c6/src/pmu/imm_lp_icg.rs +++ b/esp32c6/src/pmu/imm_lp_icg.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_lp_rootclk_sel(&mut self) -> TIE_LOW_LP_ROOTCLK_SEL_W { TIE_LOW_LP_ROOTCLK_SEL_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_lp_rootclk_sel(&mut self) -> TIE_HIGH_LP_ROOTCLK_SEL_W { TIE_HIGH_LP_ROOTCLK_SEL_W::new(self, 31) } diff --git a/esp32c6/src/pmu/imm_modem_icg.rs b/esp32c6/src/pmu/imm_modem_icg.rs index 3a1b7629bc..3de95c17f4 100644 --- a/esp32c6/src/pmu/imm_modem_icg.rs +++ b/esp32c6/src/pmu/imm_modem_icg.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn update_dig_icg_modem_en(&mut self) -> UPDATE_DIG_ICG_MODEM_EN_W { UPDATE_DIG_ICG_MODEM_EN_W::new(self, 31) } diff --git a/esp32c6/src/pmu/imm_pad_hold_all.rs b/esp32c6/src/pmu/imm_pad_hold_all.rs index e5b1b5c031..1c5873994a 100644 --- a/esp32c6/src/pmu/imm_pad_hold_all.rs +++ b/esp32c6/src/pmu/imm_pad_hold_all.rs @@ -17,7 +17,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_lp_pad_hold_all( &mut self, ) -> TIE_HIGH_LP_PAD_HOLD_ALL_W { @@ -25,13 +24,11 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_lp_pad_hold_all(&mut self) -> TIE_LOW_LP_PAD_HOLD_ALL_W { TIE_LOW_LP_PAD_HOLD_ALL_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_hp_pad_hold_all( &mut self, ) -> TIE_HIGH_HP_PAD_HOLD_ALL_W { @@ -39,7 +36,6 @@ impl W { } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_hp_pad_hold_all(&mut self) -> TIE_LOW_HP_PAD_HOLD_ALL_W { TIE_LOW_HP_PAD_HOLD_ALL_W::new(self, 31) } diff --git a/esp32c6/src/pmu/imm_sleep_sysclk.rs b/esp32c6/src/pmu/imm_sleep_sysclk.rs index 107b9c732b..6072f2a048 100644 --- a/esp32c6/src/pmu/imm_sleep_sysclk.rs +++ b/esp32c6/src/pmu/imm_sleep_sysclk.rs @@ -17,25 +17,21 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn update_dig_icg_switch(&mut self) -> UPDATE_DIG_ICG_SWITCH_W { UPDATE_DIG_ICG_SWITCH_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_icg_slp_sel(&mut self) -> TIE_LOW_ICG_SLP_SEL_W { TIE_LOW_ICG_SLP_SEL_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_icg_slp_sel(&mut self) -> TIE_HIGH_ICG_SLP_SEL_W { TIE_HIGH_ICG_SLP_SEL_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn update_dig_sys_clk_sel(&mut self) -> UPDATE_DIG_SYS_CLK_SEL_W { UPDATE_DIG_SYS_CLK_SEL_W::new(self, 31) } diff --git a/esp32c6/src/pmu/int_clr.rs b/esp32c6/src/pmu/int_clr.rs index f32d0efe01..2c342a9a35 100644 --- a/esp32c6/src/pmu/int_clr.rs +++ b/esp32c6/src/pmu/int_clr.rs @@ -19,31 +19,26 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_exc(&mut self) -> LP_CPU_EXC_W { LP_CPU_EXC_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn sdio_idle(&mut self) -> SDIO_IDLE_W { SDIO_IDLE_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn sw(&mut self) -> SW_W { SW_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn soc_sleep_reject(&mut self) -> SOC_SLEEP_REJECT_W { SOC_SLEEP_REJECT_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn soc_wakeup(&mut self) -> SOC_WAKEUP_W { SOC_WAKEUP_W::new(self, 31) } diff --git a/esp32c6/src/pmu/int_ena.rs b/esp32c6/src/pmu/int_ena.rs index ce65dcd5cd..02e3e8e17b 100644 --- a/esp32c6/src/pmu/int_ena.rs +++ b/esp32c6/src/pmu/int_ena.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_exc(&mut self) -> LP_CPU_EXC_W { LP_CPU_EXC_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn sdio_idle(&mut self) -> SDIO_IDLE_W { SDIO_IDLE_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn sw(&mut self) -> SW_W { SW_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn soc_sleep_reject(&mut self) -> SOC_SLEEP_REJECT_W { SOC_SLEEP_REJECT_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn soc_wakeup(&mut self) -> SOC_WAKEUP_W { SOC_WAKEUP_W::new(self, 31) } diff --git a/esp32c6/src/pmu/int_raw.rs b/esp32c6/src/pmu/int_raw.rs index 97fbb06c11..84f2835ea6 100644 --- a/esp32c6/src/pmu/int_raw.rs +++ b/esp32c6/src/pmu/int_raw.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_exc(&mut self) -> LP_CPU_EXC_W { LP_CPU_EXC_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn sdio_idle(&mut self) -> SDIO_IDLE_W { SDIO_IDLE_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn sw(&mut self) -> SW_W { SW_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn soc_sleep_reject(&mut self) -> SOC_SLEEP_REJECT_W { SOC_SLEEP_REJECT_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn soc_wakeup(&mut self) -> SOC_WAKEUP_W { SOC_WAKEUP_W::new(self, 31) } diff --git a/esp32c6/src/pmu/lp_cpu_pwr0.rs b/esp32c6/src/pmu/lp_cpu_pwr0.rs index 0cb5ba299f..9a77237497 100644 --- a/esp32c6/src/pmu/lp_cpu_pwr0.rs +++ b/esp32c6/src/pmu/lp_cpu_pwr0.rs @@ -103,43 +103,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 18 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_force_stall(&mut self) -> LP_CPU_FORCE_STALL_W { LP_CPU_FORCE_STALL_W::new(self, 18) } #[doc = "Bit 19 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_slp_waiti_flag_en(&mut self) -> LP_CPU_SLP_WAITI_FLAG_EN_W { LP_CPU_SLP_WAITI_FLAG_EN_W::new(self, 19) } #[doc = "Bit 20 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_slp_stall_flag_en(&mut self) -> LP_CPU_SLP_STALL_FLAG_EN_W { LP_CPU_SLP_STALL_FLAG_EN_W::new(self, 20) } #[doc = "Bits 21:28 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_slp_stall_wait(&mut self) -> LP_CPU_SLP_STALL_WAIT_W { LP_CPU_SLP_STALL_WAIT_W::new(self, 21) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_slp_stall_en(&mut self) -> LP_CPU_SLP_STALL_EN_W { LP_CPU_SLP_STALL_EN_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_slp_reset_en(&mut self) -> LP_CPU_SLP_RESET_EN_W { LP_CPU_SLP_RESET_EN_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_slp_bypass_intr_en(&mut self) -> LP_CPU_SLP_BYPASS_INTR_EN_W { LP_CPU_SLP_BYPASS_INTR_EN_W::new(self, 31) } diff --git a/esp32c6/src/pmu/lp_cpu_pwr1.rs b/esp32c6/src/pmu/lp_cpu_pwr1.rs index 022d67cd6b..1bf58e1974 100644 --- a/esp32c6/src/pmu/lp_cpu_pwr1.rs +++ b/esp32c6/src/pmu/lp_cpu_pwr1.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_wakeup_en(&mut self) -> LP_CPU_WAKEUP_EN_W { LP_CPU_WAKEUP_EN_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_sleep_req(&mut self) -> LP_CPU_SLEEP_REQ_W { LP_CPU_SLEEP_REQ_W::new(self, 31) } diff --git a/esp32c6/src/pmu/lp_int_clr.rs b/esp32c6/src/pmu/lp_int_clr.rs index c0b6382880..0e27abc11f 100644 --- a/esp32c6/src/pmu/lp_int_clr.rs +++ b/esp32c6/src/pmu/lp_int_clr.rs @@ -33,73 +33,61 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 20 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_wakeup(&mut self) -> LP_CPU_WAKEUP_W { LP_CPU_WAKEUP_W::new(self, 20) } #[doc = "Bit 21 - need_des"] #[inline(always)] - #[must_use] pub fn modem_switch_active_end(&mut self) -> MODEM_SWITCH_ACTIVE_END_W { MODEM_SWITCH_ACTIVE_END_W::new(self, 21) } #[doc = "Bit 22 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_active_end(&mut self) -> SLEEP_SWITCH_ACTIVE_END_W { SLEEP_SWITCH_ACTIVE_END_W::new(self, 22) } #[doc = "Bit 23 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_modem_end(&mut self) -> SLEEP_SWITCH_MODEM_END_W { SLEEP_SWITCH_MODEM_END_W::new(self, 23) } #[doc = "Bit 24 - need_des"] #[inline(always)] - #[must_use] pub fn modem_switch_sleep_end(&mut self) -> MODEM_SWITCH_SLEEP_END_W { MODEM_SWITCH_SLEEP_END_W::new(self, 24) } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn active_switch_sleep_end(&mut self) -> ACTIVE_SWITCH_SLEEP_END_W { ACTIVE_SWITCH_SLEEP_END_W::new(self, 25) } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn modem_switch_active_start(&mut self) -> MODEM_SWITCH_ACTIVE_START_W { MODEM_SWITCH_ACTIVE_START_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_active_start(&mut self) -> SLEEP_SWITCH_ACTIVE_START_W { SLEEP_SWITCH_ACTIVE_START_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_modem_start(&mut self) -> SLEEP_SWITCH_MODEM_START_W { SLEEP_SWITCH_MODEM_START_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn modem_switch_sleep_start(&mut self) -> MODEM_SWITCH_SLEEP_START_W { MODEM_SWITCH_SLEEP_START_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn active_switch_sleep_start(&mut self) -> ACTIVE_SWITCH_SLEEP_START_W { ACTIVE_SWITCH_SLEEP_START_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sw_trigger(&mut self) -> HP_SW_TRIGGER_W { HP_SW_TRIGGER_W::new(self, 31) } diff --git a/esp32c6/src/pmu/lp_int_ena.rs b/esp32c6/src/pmu/lp_int_ena.rs index 2d28fb2427..3f70c90aa0 100644 --- a/esp32c6/src/pmu/lp_int_ena.rs +++ b/esp32c6/src/pmu/lp_int_ena.rs @@ -143,73 +143,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 20 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_wakeup(&mut self) -> LP_CPU_WAKEUP_W { LP_CPU_WAKEUP_W::new(self, 20) } #[doc = "Bit 21 - need_des"] #[inline(always)] - #[must_use] pub fn modem_switch_active_end(&mut self) -> MODEM_SWITCH_ACTIVE_END_W { MODEM_SWITCH_ACTIVE_END_W::new(self, 21) } #[doc = "Bit 22 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_active_end(&mut self) -> SLEEP_SWITCH_ACTIVE_END_W { SLEEP_SWITCH_ACTIVE_END_W::new(self, 22) } #[doc = "Bit 23 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_modem_end(&mut self) -> SLEEP_SWITCH_MODEM_END_W { SLEEP_SWITCH_MODEM_END_W::new(self, 23) } #[doc = "Bit 24 - need_des"] #[inline(always)] - #[must_use] pub fn modem_switch_sleep_end(&mut self) -> MODEM_SWITCH_SLEEP_END_W { MODEM_SWITCH_SLEEP_END_W::new(self, 24) } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn active_switch_sleep_end(&mut self) -> ACTIVE_SWITCH_SLEEP_END_W { ACTIVE_SWITCH_SLEEP_END_W::new(self, 25) } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn modem_switch_active_start(&mut self) -> MODEM_SWITCH_ACTIVE_START_W { MODEM_SWITCH_ACTIVE_START_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_active_start(&mut self) -> SLEEP_SWITCH_ACTIVE_START_W { SLEEP_SWITCH_ACTIVE_START_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_modem_start(&mut self) -> SLEEP_SWITCH_MODEM_START_W { SLEEP_SWITCH_MODEM_START_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn modem_switch_sleep_start(&mut self) -> MODEM_SWITCH_SLEEP_START_W { MODEM_SWITCH_SLEEP_START_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn active_switch_sleep_start(&mut self) -> ACTIVE_SWITCH_SLEEP_START_W { ACTIVE_SWITCH_SLEEP_START_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sw_trigger(&mut self) -> HP_SW_TRIGGER_W { HP_SW_TRIGGER_W::new(self, 31) } diff --git a/esp32c6/src/pmu/lp_int_raw.rs b/esp32c6/src/pmu/lp_int_raw.rs index 50925353e9..aefa402635 100644 --- a/esp32c6/src/pmu/lp_int_raw.rs +++ b/esp32c6/src/pmu/lp_int_raw.rs @@ -143,73 +143,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 20 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_wakeup(&mut self) -> LP_CPU_WAKEUP_W { LP_CPU_WAKEUP_W::new(self, 20) } #[doc = "Bit 21 - need_des"] #[inline(always)] - #[must_use] pub fn modem_switch_active_end(&mut self) -> MODEM_SWITCH_ACTIVE_END_W { MODEM_SWITCH_ACTIVE_END_W::new(self, 21) } #[doc = "Bit 22 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_active_end(&mut self) -> SLEEP_SWITCH_ACTIVE_END_W { SLEEP_SWITCH_ACTIVE_END_W::new(self, 22) } #[doc = "Bit 23 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_modem_end(&mut self) -> SLEEP_SWITCH_MODEM_END_W { SLEEP_SWITCH_MODEM_END_W::new(self, 23) } #[doc = "Bit 24 - need_des"] #[inline(always)] - #[must_use] pub fn modem_switch_sleep_end(&mut self) -> MODEM_SWITCH_SLEEP_END_W { MODEM_SWITCH_SLEEP_END_W::new(self, 24) } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn active_switch_sleep_end(&mut self) -> ACTIVE_SWITCH_SLEEP_END_W { ACTIVE_SWITCH_SLEEP_END_W::new(self, 25) } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn modem_switch_active_start(&mut self) -> MODEM_SWITCH_ACTIVE_START_W { MODEM_SWITCH_ACTIVE_START_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_active_start(&mut self) -> SLEEP_SWITCH_ACTIVE_START_W { SLEEP_SWITCH_ACTIVE_START_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_modem_start(&mut self) -> SLEEP_SWITCH_MODEM_START_W { SLEEP_SWITCH_MODEM_START_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn modem_switch_sleep_start(&mut self) -> MODEM_SWITCH_SLEEP_START_W { MODEM_SWITCH_SLEEP_START_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn active_switch_sleep_start(&mut self) -> ACTIVE_SWITCH_SLEEP_START_W { ACTIVE_SWITCH_SLEEP_START_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sw_trigger(&mut self) -> HP_SW_TRIGGER_W { HP_SW_TRIGGER_W::new(self, 31) } diff --git a/esp32c6/src/pmu/lp_sleep_bias.rs b/esp32c6/src/pmu/lp_sleep_bias.rs index 13c71e3fe7..5bab4b9568 100644 --- a/esp32c6/src/pmu/lp_sleep_bias.rs +++ b/esp32c6/src/pmu/lp_sleep_bias.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_xpd_bias(&mut self) -> LP_SLEEP_XPD_BIAS_W { LP_SLEEP_XPD_BIAS_W::new(self, 25) } #[doc = "Bits 26:29 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_dbg_atten(&mut self) -> LP_SLEEP_DBG_ATTEN_W { LP_SLEEP_DBG_ATTEN_W::new(self, 26) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_pd_cur(&mut self) -> LP_SLEEP_PD_CUR_W { LP_SLEEP_PD_CUR_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn sleep(&mut self) -> SLEEP_W { SLEEP_W::new(self, 31) } diff --git a/esp32c6/src/pmu/lp_sleep_lp_bias_reserve.rs b/esp32c6/src/pmu/lp_sleep_lp_bias_reserve.rs index 44c73fc42f..b986ebde49 100644 --- a/esp32c6/src/pmu/lp_sleep_lp_bias_reserve.rs +++ b/esp32c6/src/pmu/lp_sleep_lp_bias_reserve.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_lp_bias_reserve( &mut self, ) -> LP_SLEEP_LP_BIAS_RESERVE_W { diff --git a/esp32c6/src/pmu/lp_sleep_lp_ck_power.rs b/esp32c6/src/pmu/lp_sleep_lp_ck_power.rs index a9dae0ffa1..067af6b778 100644 --- a/esp32c6/src/pmu/lp_sleep_lp_ck_power.rs +++ b/esp32c6/src/pmu/lp_sleep_lp_ck_power.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_xpd_xtal32k(&mut self) -> LP_SLEEP_XPD_XTAL32K_W { LP_SLEEP_XPD_XTAL32K_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_xpd_rc32k(&mut self) -> LP_SLEEP_XPD_RC32K_W { LP_SLEEP_XPD_RC32K_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_xpd_fosc_clk(&mut self) -> LP_SLEEP_XPD_FOSC_CLK_W { LP_SLEEP_XPD_FOSC_CLK_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_pd_osc_clk(&mut self) -> LP_SLEEP_PD_OSC_CLK_W { LP_SLEEP_PD_OSC_CLK_W::new(self, 31) } diff --git a/esp32c6/src/pmu/lp_sleep_lp_dig_power.rs b/esp32c6/src/pmu/lp_sleep_lp_dig_power.rs index d312a2ef48..8aa00e4b60 100644 --- a/esp32c6/src/pmu/lp_sleep_lp_dig_power.rs +++ b/esp32c6/src/pmu/lp_sleep_lp_dig_power.rs @@ -37,13 +37,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_lp_mem_dslp(&mut self) -> LP_SLEEP_LP_MEM_DSLP_W { LP_SLEEP_LP_MEM_DSLP_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_pd_lp_peri_pd_en( &mut self, ) -> LP_SLEEP_PD_LP_PERI_PD_EN_W { diff --git a/esp32c6/src/pmu/lp_sleep_lp_regulator0.rs b/esp32c6/src/pmu/lp_sleep_lp_regulator0.rs index efae946a49..71fce1788a 100644 --- a/esp32c6/src/pmu/lp_sleep_lp_regulator0.rs +++ b/esp32c6/src/pmu/lp_sleep_lp_regulator0.rs @@ -66,7 +66,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 21 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_lp_regulator_slp_xpd( &mut self, ) -> LP_SLEEP_LP_REGULATOR_SLP_XPD_W { @@ -74,7 +73,6 @@ impl W { } #[doc = "Bit 22 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_lp_regulator_xpd( &mut self, ) -> LP_SLEEP_LP_REGULATOR_XPD_W { @@ -82,7 +80,6 @@ impl W { } #[doc = "Bits 23:26 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_lp_regulator_slp_dbias( &mut self, ) -> LP_SLEEP_LP_REGULATOR_SLP_DBIAS_W { @@ -90,7 +87,6 @@ impl W { } #[doc = "Bits 27:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_lp_regulator_dbias( &mut self, ) -> LP_SLEEP_LP_REGULATOR_DBIAS_W { diff --git a/esp32c6/src/pmu/lp_sleep_lp_regulator1.rs b/esp32c6/src/pmu/lp_sleep_lp_regulator1.rs index 431ef7172c..91bc3805d9 100644 --- a/esp32c6/src/pmu/lp_sleep_lp_regulator1.rs +++ b/esp32c6/src/pmu/lp_sleep_lp_regulator1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 28:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_lp_regulator_drv_b( &mut self, ) -> LP_SLEEP_LP_REGULATOR_DRV_B_W { diff --git a/esp32c6/src/pmu/lp_sleep_xtal.rs b/esp32c6/src/pmu/lp_sleep_xtal.rs index 970da0044c..4ad3d9549e 100644 --- a/esp32c6/src/pmu/lp_sleep_xtal.rs +++ b/esp32c6/src/pmu/lp_sleep_xtal.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_xpd_xtal(&mut self) -> LP_SLEEP_XPD_XTAL_W { LP_SLEEP_XPD_XTAL_W::new(self, 31) } diff --git a/esp32c6/src/pmu/power_ck_wait_cntl.rs b/esp32c6/src/pmu/power_ck_wait_cntl.rs index b080a548c1..112dee482f 100644 --- a/esp32c6/src/pmu/power_ck_wait_cntl.rs +++ b/esp32c6/src/pmu/power_ck_wait_cntl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - need_des"] #[inline(always)] - #[must_use] pub fn wait_xtl_stable(&mut self) -> WAIT_XTL_STABLE_W { WAIT_XTL_STABLE_W::new(self, 0) } #[doc = "Bits 16:31 - need_des"] #[inline(always)] - #[must_use] pub fn wait_pll_stable(&mut self) -> WAIT_PLL_STABLE_W { WAIT_PLL_STABLE_W::new(self, 16) } diff --git a/esp32c6/src/pmu/power_hp_pad.rs b/esp32c6/src/pmu/power_hp_pad.rs index 29abe61ecf..d492fa3a23 100644 --- a/esp32c6/src/pmu/power_hp_pad.rs +++ b/esp32c6/src/pmu/power_hp_pad.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_pad_no_iso_all(&mut self) -> FORCE_HP_PAD_NO_ISO_ALL_W { FORCE_HP_PAD_NO_ISO_ALL_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_pad_iso_all(&mut self) -> FORCE_HP_PAD_ISO_ALL_W { FORCE_HP_PAD_ISO_ALL_W::new(self, 1) } diff --git a/esp32c6/src/pmu/power_pd_hpaon_cntl.rs b/esp32c6/src/pmu/power_pd_hpaon_cntl.rs index 6895d40bef..51b5fe9ad2 100644 --- a/esp32c6/src/pmu/power_pd_hpaon_cntl.rs +++ b/esp32c6/src/pmu/power_pd_hpaon_cntl.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_aon_reset(&mut self) -> FORCE_HP_AON_RESET_W { FORCE_HP_AON_RESET_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_aon_iso(&mut self) -> FORCE_HP_AON_ISO_W { FORCE_HP_AON_ISO_W::new(self, 1) } #[doc = "Bit 2 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_aon_pu(&mut self) -> FORCE_HP_AON_PU_W { FORCE_HP_AON_PU_W::new(self, 2) } #[doc = "Bit 3 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_aon_no_reset(&mut self) -> FORCE_HP_AON_NO_RESET_W { FORCE_HP_AON_NO_RESET_W::new(self, 3) } #[doc = "Bit 4 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_aon_no_iso(&mut self) -> FORCE_HP_AON_NO_ISO_W { FORCE_HP_AON_NO_ISO_W::new(self, 4) } #[doc = "Bit 5 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_aon_pd(&mut self) -> FORCE_HP_AON_PD_W { FORCE_HP_AON_PD_W::new(self, 5) } #[doc = "Bits 6:10 - need_des"] #[inline(always)] - #[must_use] pub fn pd_hp_aon_mask(&mut self) -> PD_HP_AON_MASK_W { PD_HP_AON_MASK_W::new(self, 6) } #[doc = "Bits 27:31 - need_des"] #[inline(always)] - #[must_use] pub fn pd_hp_aon_pd_mask(&mut self) -> PD_HP_AON_PD_MASK_W { PD_HP_AON_PD_MASK_W::new(self, 27) } diff --git a/esp32c6/src/pmu/power_pd_hpcpu_cntl.rs b/esp32c6/src/pmu/power_pd_hpcpu_cntl.rs index 4d3b7b3bf9..9ebb77732f 100644 --- a/esp32c6/src/pmu/power_pd_hpcpu_cntl.rs +++ b/esp32c6/src/pmu/power_pd_hpcpu_cntl.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_cpu_reset(&mut self) -> FORCE_HP_CPU_RESET_W { FORCE_HP_CPU_RESET_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_cpu_iso(&mut self) -> FORCE_HP_CPU_ISO_W { FORCE_HP_CPU_ISO_W::new(self, 1) } #[doc = "Bit 2 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_cpu_pu(&mut self) -> FORCE_HP_CPU_PU_W { FORCE_HP_CPU_PU_W::new(self, 2) } #[doc = "Bit 3 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_cpu_no_reset(&mut self) -> FORCE_HP_CPU_NO_RESET_W { FORCE_HP_CPU_NO_RESET_W::new(self, 3) } #[doc = "Bit 4 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_cpu_no_iso(&mut self) -> FORCE_HP_CPU_NO_ISO_W { FORCE_HP_CPU_NO_ISO_W::new(self, 4) } #[doc = "Bit 5 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_cpu_pd(&mut self) -> FORCE_HP_CPU_PD_W { FORCE_HP_CPU_PD_W::new(self, 5) } #[doc = "Bits 6:10 - need_des"] #[inline(always)] - #[must_use] pub fn pd_hp_cpu_mask(&mut self) -> PD_HP_CPU_MASK_W { PD_HP_CPU_MASK_W::new(self, 6) } #[doc = "Bits 27:31 - need_des"] #[inline(always)] - #[must_use] pub fn pd_hp_cpu_pd_mask(&mut self) -> PD_HP_CPU_PD_MASK_W { PD_HP_CPU_PD_MASK_W::new(self, 27) } diff --git a/esp32c6/src/pmu/power_pd_hpperi_reserve.rs b/esp32c6/src/pmu/power_pd_hpperi_reserve.rs index c3ac69dbc0..3a5bd1bdfb 100644 --- a/esp32c6/src/pmu/power_pd_hpperi_reserve.rs +++ b/esp32c6/src/pmu/power_pd_hpperi_reserve.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_peri_reserve(&mut self) -> HP_PERI_RESERVE_W { HP_PERI_RESERVE_W::new(self, 0) } diff --git a/esp32c6/src/pmu/power_pd_hpwifi_cntl.rs b/esp32c6/src/pmu/power_pd_hpwifi_cntl.rs index 04e22c3a30..cb4dc05cc9 100644 --- a/esp32c6/src/pmu/power_pd_hpwifi_cntl.rs +++ b/esp32c6/src/pmu/power_pd_hpwifi_cntl.rs @@ -94,25 +94,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_wifi_reset(&mut self) -> FORCE_HP_WIFI_RESET_W { FORCE_HP_WIFI_RESET_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_wifi_iso(&mut self) -> FORCE_HP_WIFI_ISO_W { FORCE_HP_WIFI_ISO_W::new(self, 1) } #[doc = "Bit 2 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_wifi_pu(&mut self) -> FORCE_HP_WIFI_PU_W { FORCE_HP_WIFI_PU_W::new(self, 2) } #[doc = "Bit 3 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_wifi_no_reset( &mut self, ) -> FORCE_HP_WIFI_NO_RESET_W { @@ -120,25 +116,21 @@ impl W { } #[doc = "Bit 4 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_wifi_no_iso(&mut self) -> FORCE_HP_WIFI_NO_ISO_W { FORCE_HP_WIFI_NO_ISO_W::new(self, 4) } #[doc = "Bit 5 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_wifi_pd(&mut self) -> FORCE_HP_WIFI_PD_W { FORCE_HP_WIFI_PD_W::new(self, 5) } #[doc = "Bits 6:10 - need_des"] #[inline(always)] - #[must_use] pub fn pd_hp_wifi_mask(&mut self) -> PD_HP_WIFI_MASK_W { PD_HP_WIFI_MASK_W::new(self, 6) } #[doc = "Bits 27:31 - need_des"] #[inline(always)] - #[must_use] pub fn pd_hp_wifi_pd_mask(&mut self) -> PD_HP_WIFI_PD_MASK_W { PD_HP_WIFI_PD_MASK_W::new(self, 27) } diff --git a/esp32c6/src/pmu/power_pd_lpperi_cntl.rs b/esp32c6/src/pmu/power_pd_lpperi_cntl.rs index 4f8c1c2e33..4d82fe84c5 100644 --- a/esp32c6/src/pmu/power_pd_lpperi_cntl.rs +++ b/esp32c6/src/pmu/power_pd_lpperi_cntl.rs @@ -74,25 +74,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn force_lp_peri_reset(&mut self) -> FORCE_LP_PERI_RESET_W { FORCE_LP_PERI_RESET_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn force_lp_peri_iso(&mut self) -> FORCE_LP_PERI_ISO_W { FORCE_LP_PERI_ISO_W::new(self, 1) } #[doc = "Bit 2 - need_des"] #[inline(always)] - #[must_use] pub fn force_lp_peri_pu(&mut self) -> FORCE_LP_PERI_PU_W { FORCE_LP_PERI_PU_W::new(self, 2) } #[doc = "Bit 3 - need_des"] #[inline(always)] - #[must_use] pub fn force_lp_peri_no_reset( &mut self, ) -> FORCE_LP_PERI_NO_RESET_W { @@ -100,13 +96,11 @@ impl W { } #[doc = "Bit 4 - need_des"] #[inline(always)] - #[must_use] pub fn force_lp_peri_no_iso(&mut self) -> FORCE_LP_PERI_NO_ISO_W { FORCE_LP_PERI_NO_ISO_W::new(self, 4) } #[doc = "Bit 5 - need_des"] #[inline(always)] - #[must_use] pub fn force_lp_peri_pd(&mut self) -> FORCE_LP_PERI_PD_W { FORCE_LP_PERI_PD_W::new(self, 5) } diff --git a/esp32c6/src/pmu/power_pd_mem_cntl.rs b/esp32c6/src/pmu/power_pd_mem_cntl.rs index 337a8c9abe..561876fd8a 100644 --- a/esp32c6/src/pmu/power_pd_mem_cntl.rs +++ b/esp32c6/src/pmu/power_pd_mem_cntl.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_mem_iso(&mut self) -> FORCE_HP_MEM_ISO_W { FORCE_HP_MEM_ISO_W::new(self, 0) } #[doc = "Bits 4:7 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_mem_pd(&mut self) -> FORCE_HP_MEM_PD_W { FORCE_HP_MEM_PD_W::new(self, 4) } #[doc = "Bits 24:27 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_mem_no_iso(&mut self) -> FORCE_HP_MEM_NO_ISO_W { FORCE_HP_MEM_NO_ISO_W::new(self, 24) } #[doc = "Bits 28:31 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_mem_pu(&mut self) -> FORCE_HP_MEM_PU_W { FORCE_HP_MEM_PU_W::new(self, 28) } diff --git a/esp32c6/src/pmu/power_pd_mem_mask.rs b/esp32c6/src/pmu/power_pd_mem_mask.rs index cd89c7320c..edf856e9ed 100644 --- a/esp32c6/src/pmu/power_pd_mem_mask.rs +++ b/esp32c6/src/pmu/power_pd_mem_mask.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - need_des"] #[inline(always)] - #[must_use] pub fn pd_hp_mem2_pd_mask(&mut self) -> PD_HP_MEM2_PD_MASK_W { PD_HP_MEM2_PD_MASK_W::new(self, 0) } #[doc = "Bits 5:9 - need_des"] #[inline(always)] - #[must_use] pub fn pd_hp_mem1_pd_mask(&mut self) -> PD_HP_MEM1_PD_MASK_W { PD_HP_MEM1_PD_MASK_W::new(self, 5) } #[doc = "Bits 10:14 - need_des"] #[inline(always)] - #[must_use] pub fn pd_hp_mem0_pd_mask(&mut self) -> PD_HP_MEM0_PD_MASK_W { PD_HP_MEM0_PD_MASK_W::new(self, 10) } #[doc = "Bits 17:21 - need_des"] #[inline(always)] - #[must_use] pub fn pd_hp_mem2_mask(&mut self) -> PD_HP_MEM2_MASK_W { PD_HP_MEM2_MASK_W::new(self, 17) } #[doc = "Bits 22:26 - need_des"] #[inline(always)] - #[must_use] pub fn pd_hp_mem1_mask(&mut self) -> PD_HP_MEM1_MASK_W { PD_HP_MEM1_MASK_W::new(self, 22) } #[doc = "Bits 27:31 - need_des"] #[inline(always)] - #[must_use] pub fn pd_hp_mem0_mask(&mut self) -> PD_HP_MEM0_MASK_W { PD_HP_MEM0_MASK_W::new(self, 27) } diff --git a/esp32c6/src/pmu/power_pd_top_cntl.rs b/esp32c6/src/pmu/power_pd_top_cntl.rs index 8d7d667883..fee334d4d9 100644 --- a/esp32c6/src/pmu/power_pd_top_cntl.rs +++ b/esp32c6/src/pmu/power_pd_top_cntl.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn force_top_reset(&mut self) -> FORCE_TOP_RESET_W { FORCE_TOP_RESET_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn force_top_iso(&mut self) -> FORCE_TOP_ISO_W { FORCE_TOP_ISO_W::new(self, 1) } #[doc = "Bit 2 - need_des"] #[inline(always)] - #[must_use] pub fn force_top_pu(&mut self) -> FORCE_TOP_PU_W { FORCE_TOP_PU_W::new(self, 2) } #[doc = "Bit 3 - need_des"] #[inline(always)] - #[must_use] pub fn force_top_no_reset(&mut self) -> FORCE_TOP_NO_RESET_W { FORCE_TOP_NO_RESET_W::new(self, 3) } #[doc = "Bit 4 - need_des"] #[inline(always)] - #[must_use] pub fn force_top_no_iso(&mut self) -> FORCE_TOP_NO_ISO_W { FORCE_TOP_NO_ISO_W::new(self, 4) } #[doc = "Bit 5 - need_des"] #[inline(always)] - #[must_use] pub fn force_top_pd(&mut self) -> FORCE_TOP_PD_W { FORCE_TOP_PD_W::new(self, 5) } #[doc = "Bits 6:10 - need_des"] #[inline(always)] - #[must_use] pub fn pd_top_mask(&mut self) -> PD_TOP_MASK_W { PD_TOP_MASK_W::new(self, 6) } #[doc = "Bits 27:31 - need_des"] #[inline(always)] - #[must_use] pub fn pd_top_pd_mask(&mut self) -> PD_TOP_PD_MASK_W { PD_TOP_PD_MASK_W::new(self, 27) } diff --git a/esp32c6/src/pmu/power_vdd_spi_cntl.rs b/esp32c6/src/pmu/power_vdd_spi_cntl.rs index 822a3e34bf..663cf62f93 100644 --- a/esp32c6/src/pmu/power_vdd_spi_cntl.rs +++ b/esp32c6/src/pmu/power_vdd_spi_cntl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 18:28 - need_des"] #[inline(always)] - #[must_use] pub fn vdd_spi_pwr_wait(&mut self) -> VDD_SPI_PWR_WAIT_W { VDD_SPI_PWR_WAIT_W::new(self, 18) } #[doc = "Bits 29:30 - need_des"] #[inline(always)] - #[must_use] pub fn vdd_spi_pwr_sw(&mut self) -> VDD_SPI_PWR_SW_W { VDD_SPI_PWR_SW_W::new(self, 29) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn vdd_spi_pwr_sel_sw(&mut self) -> VDD_SPI_PWR_SEL_SW_W { VDD_SPI_PWR_SEL_SW_W::new(self, 31) } diff --git a/esp32c6/src/pmu/power_wait_timer0.rs b/esp32c6/src/pmu/power_wait_timer0.rs index df8c5fe27e..dc3b03230d 100644 --- a/esp32c6/src/pmu/power_wait_timer0.rs +++ b/esp32c6/src/pmu/power_wait_timer0.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 5:13 - need_des"] #[inline(always)] - #[must_use] pub fn dg_hp_powerdown_timer(&mut self) -> DG_HP_POWERDOWN_TIMER_W { DG_HP_POWERDOWN_TIMER_W::new(self, 5) } #[doc = "Bits 14:22 - need_des"] #[inline(always)] - #[must_use] pub fn dg_hp_powerup_timer(&mut self) -> DG_HP_POWERUP_TIMER_W { DG_HP_POWERUP_TIMER_W::new(self, 14) } #[doc = "Bits 23:31 - need_des"] #[inline(always)] - #[must_use] pub fn dg_hp_wait_timer(&mut self) -> DG_HP_WAIT_TIMER_W { DG_HP_WAIT_TIMER_W::new(self, 23) } diff --git a/esp32c6/src/pmu/power_wait_timer1.rs b/esp32c6/src/pmu/power_wait_timer1.rs index bcf7cb4ea7..1e7257c58c 100644 --- a/esp32c6/src/pmu/power_wait_timer1.rs +++ b/esp32c6/src/pmu/power_wait_timer1.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 9:15 - need_des"] #[inline(always)] - #[must_use] pub fn dg_lp_powerdown_timer(&mut self) -> DG_LP_POWERDOWN_TIMER_W { DG_LP_POWERDOWN_TIMER_W::new(self, 9) } #[doc = "Bits 16:22 - need_des"] #[inline(always)] - #[must_use] pub fn dg_lp_powerup_timer(&mut self) -> DG_LP_POWERUP_TIMER_W { DG_LP_POWERUP_TIMER_W::new(self, 16) } #[doc = "Bits 23:31 - need_des"] #[inline(always)] - #[must_use] pub fn dg_lp_wait_timer(&mut self) -> DG_LP_WAIT_TIMER_W { DG_LP_WAIT_TIMER_W::new(self, 23) } diff --git a/esp32c6/src/pmu/rf_pwc.rs b/esp32c6/src/pmu/rf_pwc.rs index 9a6efcc33e..334e7ebdb0 100644 --- a/esp32c6/src/pmu/rf_pwc.rs +++ b/esp32c6/src/pmu/rf_pwc.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn perif_i2c_rstb(&mut self) -> PERIF_I2C_RSTB_W { PERIF_I2C_RSTB_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn xpd_perif_i2c(&mut self) -> XPD_PERIF_I2C_W { XPD_PERIF_I2C_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn xpd_txrf_i2c(&mut self) -> XPD_TXRF_I2C_W { XPD_TXRF_I2C_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn xpd_rfrx_pbus(&mut self) -> XPD_RFRX_PBUS_W { XPD_RFRX_PBUS_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn xpd_ckgen_i2c(&mut self) -> XPD_CKGEN_I2C_W { XPD_CKGEN_I2C_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn xpd_pll_i2c(&mut self) -> XPD_PLL_I2C_W { XPD_PLL_I2C_W::new(self, 31) } diff --git a/esp32c6/src/pmu/slp_wakeup_cntl0.rs b/esp32c6/src/pmu/slp_wakeup_cntl0.rs index 3788d582d5..d6525fa254 100644 --- a/esp32c6/src/pmu/slp_wakeup_cntl0.rs +++ b/esp32c6/src/pmu/slp_wakeup_cntl0.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_req(&mut self) -> SLEEP_REQ_W { SLEEP_REQ_W::new(self, 31) } diff --git a/esp32c6/src/pmu/slp_wakeup_cntl1.rs b/esp32c6/src/pmu/slp_wakeup_cntl1.rs index 01dda37312..cb94c5c2c4 100644 --- a/esp32c6/src/pmu/slp_wakeup_cntl1.rs +++ b/esp32c6/src/pmu/slp_wakeup_cntl1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_reject_ena(&mut self) -> SLEEP_REJECT_ENA_W { SLEEP_REJECT_ENA_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn slp_reject_en(&mut self) -> SLP_REJECT_EN_W { SLP_REJECT_EN_W::new(self, 31) } diff --git a/esp32c6/src/pmu/slp_wakeup_cntl2.rs b/esp32c6/src/pmu/slp_wakeup_cntl2.rs index 305dfe5b8c..b54de616f2 100644 --- a/esp32c6/src/pmu/slp_wakeup_cntl2.rs +++ b/esp32c6/src/pmu/slp_wakeup_cntl2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn wakeup_ena(&mut self) -> WAKEUP_ENA_W { WAKEUP_ENA_W::new(self, 0) } diff --git a/esp32c6/src/pmu/slp_wakeup_cntl3.rs b/esp32c6/src/pmu/slp_wakeup_cntl3.rs index eb9bb27846..dac50c0d30 100644 --- a/esp32c6/src/pmu/slp_wakeup_cntl3.rs +++ b/esp32c6/src/pmu/slp_wakeup_cntl3.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - need_des"] #[inline(always)] - #[must_use] pub fn lp_min_slp_val(&mut self) -> LP_MIN_SLP_VAL_W { LP_MIN_SLP_VAL_W::new(self, 0) } #[doc = "Bits 8:15 - need_des"] #[inline(always)] - #[must_use] pub fn hp_min_slp_val(&mut self) -> HP_MIN_SLP_VAL_W { HP_MIN_SLP_VAL_W::new(self, 8) } #[doc = "Bits 16:17 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_prt_sel(&mut self) -> SLEEP_PRT_SEL_W { SLEEP_PRT_SEL_W::new(self, 16) } diff --git a/esp32c6/src/pmu/slp_wakeup_cntl4.rs b/esp32c6/src/pmu/slp_wakeup_cntl4.rs index 4b47fdd7de..259d3595f9 100644 --- a/esp32c6/src/pmu/slp_wakeup_cntl4.rs +++ b/esp32c6/src/pmu/slp_wakeup_cntl4.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn slp_reject_cause_clr(&mut self) -> SLP_REJECT_CAUSE_CLR_W { SLP_REJECT_CAUSE_CLR_W::new(self, 31) } diff --git a/esp32c6/src/pmu/slp_wakeup_cntl5.rs b/esp32c6/src/pmu/slp_wakeup_cntl5.rs index 3cb46e7a28..6ca0547dda 100644 --- a/esp32c6/src/pmu/slp_wakeup_cntl5.rs +++ b/esp32c6/src/pmu/slp_wakeup_cntl5.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - need_des"] #[inline(always)] - #[must_use] pub fn modem_wait_target(&mut self) -> MODEM_WAIT_TARGET_W { MODEM_WAIT_TARGET_W::new(self, 0) } #[doc = "Bits 24:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_ana_wait_target(&mut self) -> LP_ANA_WAIT_TARGET_W { LP_ANA_WAIT_TARGET_W::new(self, 24) } diff --git a/esp32c6/src/pmu/slp_wakeup_cntl6.rs b/esp32c6/src/pmu/slp_wakeup_cntl6.rs index 85054d80b8..e2792cf6bd 100644 --- a/esp32c6/src/pmu/slp_wakeup_cntl6.rs +++ b/esp32c6/src/pmu/slp_wakeup_cntl6.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - need_des"] #[inline(always)] - #[must_use] pub fn soc_wakeup_wait(&mut self) -> SOC_WAKEUP_WAIT_W { SOC_WAKEUP_WAIT_W::new(self, 0) } #[doc = "Bits 30:31 - need_des"] #[inline(always)] - #[must_use] pub fn soc_wakeup_wait_cfg(&mut self) -> SOC_WAKEUP_WAIT_CFG_W { SOC_WAKEUP_WAIT_CFG_W::new(self, 30) } diff --git a/esp32c6/src/pmu/slp_wakeup_cntl7.rs b/esp32c6/src/pmu/slp_wakeup_cntl7.rs index 81ba3ed69d..10ce48136c 100644 --- a/esp32c6/src/pmu/slp_wakeup_cntl7.rs +++ b/esp32c6/src/pmu/slp_wakeup_cntl7.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - need_des"] #[inline(always)] - #[must_use] pub fn ana_wait_target(&mut self) -> ANA_WAIT_TARGET_W { ANA_WAIT_TARGET_W::new(self, 16) } diff --git a/esp32c6/src/rmt.rs b/esp32c6/src/rmt.rs index 51a6784594..e86f8544fa 100644 --- a/esp32c6/src/rmt.rs +++ b/esp32c6/src/rmt.rs @@ -78,18 +78,31 @@ impl RegisterBlock { self.ch_tx_conf0(1) } #[doc = "0x18..0x20 - Channel %s configure register 0"] + #[doc = ""] + #[doc = "
`n` is the index of register in the array. `n == 0` corresponds to `CH2_RX_CONF0` register.
"] #[inline(always)] pub const fn ch_rx_conf0(&self, n: usize) -> &CH_RX_CONF0 { #[allow(clippy::no_effect)] [(); 2][n]; - unsafe { &*(self as *const Self).cast::().add(24).add(8 * n).cast() } + unsafe { + &*core::ptr::from_ref(self) + .cast::() + .add(24) + .add(8 * n) + .cast() + } } #[doc = "Iterator for array of:"] #[doc = "0x18..0x20 - Channel %s configure register 0"] #[inline(always)] pub fn ch_rx_conf0_iter(&self) -> impl Iterator { - (0..2) - .map(move |n| unsafe { &*(self as *const Self).cast::().add(24).add(8 * n).cast() }) + (0..2).map(move |n| unsafe { + &*core::ptr::from_ref(self) + .cast::() + .add(24) + .add(8 * n) + .cast() + }) } #[doc = "0x18 - Channel 2 configure register 0"] #[inline(always)] @@ -102,18 +115,31 @@ impl RegisterBlock { self.ch_rx_conf0(1) } #[doc = "0x1c..0x24 - Channel %s configure register 1"] + #[doc = ""] + #[doc = "
`n` is the index of register in the array. `n == 0` corresponds to `CH2_RX_CONF1` register.
"] #[inline(always)] pub const fn ch_rx_conf1(&self, n: usize) -> &CH_RX_CONF1 { #[allow(clippy::no_effect)] [(); 2][n]; - unsafe { &*(self as *const Self).cast::().add(28).add(8 * n).cast() } + unsafe { + &*core::ptr::from_ref(self) + .cast::() + .add(28) + .add(8 * n) + .cast() + } } #[doc = "Iterator for array of:"] #[doc = "0x1c..0x24 - Channel %s configure register 1"] #[inline(always)] pub fn ch_rx_conf1_iter(&self) -> impl Iterator { - (0..2) - .map(move |n| unsafe { &*(self as *const Self).cast::().add(28).add(8 * n).cast() }) + (0..2).map(move |n| unsafe { + &*core::ptr::from_ref(self) + .cast::() + .add(28) + .add(8 * n) + .cast() + }) } #[doc = "0x1c - Channel 2 configure register 1"] #[inline(always)] diff --git a/esp32c6/src/rmt/ch_rx_carrier_rm.rs b/esp32c6/src/rmt/ch_rx_carrier_rm.rs index 44001ff925..0444342463 100644 --- a/esp32c6/src/rmt/ch_rx_carrier_rm.rs +++ b/esp32c6/src/rmt/ch_rx_carrier_rm.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The low level period in a carrier modulation mode is (REG_RMT_REG_CARRIER_LOW_THRES_CH%s + 1) for channel %s."] #[inline(always)] - #[must_use] pub fn carrier_low_thres(&mut self) -> CARRIER_LOW_THRES_W { CARRIER_LOW_THRES_W::new(self, 0) } #[doc = "Bits 16:31 - The high level period in a carrier modulation mode is (REG_RMT_REG_CARRIER_HIGH_THRES_CH%s + 1) for channel %s."] #[inline(always)] - #[must_use] pub fn carrier_high_thres(&mut self) -> CARRIER_HIGH_THRES_W { CARRIER_HIGH_THRES_W::new(self, 16) } diff --git a/esp32c6/src/rmt/ch_rx_conf0.rs b/esp32c6/src/rmt/ch_rx_conf0.rs index 12bc7d282b..0140d77b44 100644 --- a/esp32c6/src/rmt/ch_rx_conf0.rs +++ b/esp32c6/src/rmt/ch_rx_conf0.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register is used to configure the divider for clock of CHANNEL%s."] #[inline(always)] - #[must_use] pub fn div_cnt(&mut self) -> DIV_CNT_W { DIV_CNT_W::new(self, 0) } #[doc = "Bits 8:22 - When no edge is detected on the input signal and continuous clock cycles is longer than this register value, received process is finished."] #[inline(always)] - #[must_use] pub fn idle_thres(&mut self) -> IDLE_THRES_W { IDLE_THRES_W::new(self, 8) } #[doc = "Bits 23:25 - This register is used to configure the maximum size of memory allocated to CHANNEL%s."] #[inline(always)] - #[must_use] pub fn mem_size(&mut self) -> MEM_SIZE_W { MEM_SIZE_W::new(self, 23) } #[doc = "Bit 28 - This is the carrier modulation enable-control bit for CHANNEL%s. 1: Add carrier modulation in the output signal. 0: No carrier modulation in sig_out."] #[inline(always)] - #[must_use] pub fn carrier_en(&mut self) -> CARRIER_EN_W { CARRIER_EN_W::new(self, 28) } #[doc = "Bit 29 - This bit is used to configure the position of carrier wave for CHANNEL%s. 1'h0: add carrier wave on low level. 1'h1: add carrier wave on high level."] #[inline(always)] - #[must_use] pub fn carrier_out_lv(&mut self) -> CARRIER_OUT_LV_W { CARRIER_OUT_LV_W::new(self, 29) } diff --git a/esp32c6/src/rmt/ch_rx_conf1.rs b/esp32c6/src/rmt/ch_rx_conf1.rs index befc5121de..a9d38cf260 100644 --- a/esp32c6/src/rmt/ch_rx_conf1.rs +++ b/esp32c6/src/rmt/ch_rx_conf1.rs @@ -72,55 +72,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable receiver to receive data on CHANNEL%s."] #[inline(always)] - #[must_use] pub fn rx_en(&mut self) -> RX_EN_W { RX_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to reset write ram address for CHANNEL%s by accessing receiver."] #[inline(always)] - #[must_use] pub fn mem_wr_rst(&mut self) -> MEM_WR_RST_W { MEM_WR_RST_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to reset W/R ram address for CHANNEL%s by accessing apb fifo."] #[inline(always)] - #[must_use] pub fn apb_mem_rst(&mut self) -> APB_MEM_RST_W { APB_MEM_RST_W::new(self, 2) } #[doc = "Bit 3 - This register marks the ownership of CHANNEL%s's ram block. 1'h1: Receiver is using the ram. 1'h0: APB bus is using the ram."] #[inline(always)] - #[must_use] pub fn mem_owner(&mut self) -> MEM_OWNER_W { MEM_OWNER_W::new(self, 3) } #[doc = "Bit 4 - This is the receive filter's enable bit for CHANNEL%s."] #[inline(always)] - #[must_use] pub fn rx_filter_en(&mut self) -> RX_FILTER_EN_W { RX_FILTER_EN_W::new(self, 4) } #[doc = "Bits 5:12 - Ignores the input pulse when its width is smaller than this register value in APB clock periods (in receive mode)."] #[inline(always)] - #[must_use] pub fn rx_filter_thres(&mut self) -> RX_FILTER_THRES_W { RX_FILTER_THRES_W::new(self, 5) } #[doc = "Bit 13 - This is the channel %s enable bit for wraparound mode: it will resume receiving at the start when the data to be received is more than its memory size."] #[inline(always)] - #[must_use] pub fn mem_rx_wrap_en(&mut self) -> MEM_RX_WRAP_EN_W { MEM_RX_WRAP_EN_W::new(self, 13) } #[doc = "Bit 14 - Reserved"] #[inline(always)] - #[must_use] pub fn afifo_rst(&mut self) -> AFIFO_RST_W { AFIFO_RST_W::new(self, 14) } #[doc = "Bit 15 - synchronization bit for CHANNEL%s"] #[inline(always)] - #[must_use] pub fn conf_update(&mut self) -> CONF_UPDATE_W { CONF_UPDATE_W::new(self, 15) } diff --git a/esp32c6/src/rmt/ch_rx_lim.rs b/esp32c6/src/rmt/ch_rx_lim.rs index 94352ffdbb..bbbd892900 100644 --- a/esp32c6/src/rmt/ch_rx_lim.rs +++ b/esp32c6/src/rmt/ch_rx_lim.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure the maximum entries that CHANNEL%s can receive."] #[inline(always)] - #[must_use] pub fn rmt_rx_lim(&mut self) -> RMT_RX_LIM_W { RMT_RX_LIM_W::new(self, 0) } diff --git a/esp32c6/src/rmt/ch_tx_conf0.rs b/esp32c6/src/rmt/ch_tx_conf0.rs index 6037420b3f..cb31c3e926 100644 --- a/esp32c6/src/rmt/ch_tx_conf0.rs +++ b/esp32c6/src/rmt/ch_tx_conf0.rs @@ -124,91 +124,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to start sending data on CHANNEL%s."] #[inline(always)] - #[must_use] pub fn tx_start(&mut self) -> TX_START_W { TX_START_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to reset read ram address for CHANNEL%s by accessing transmitter."] #[inline(always)] - #[must_use] pub fn mem_rd_rst(&mut self) -> MEM_RD_RST_W { MEM_RD_RST_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to reset W/R ram address for CHANNEL%s by accessing apb fifo."] #[inline(always)] - #[must_use] pub fn apb_mem_rst(&mut self) -> APB_MEM_RST_W { APB_MEM_RST_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to restart transmission from the first data to the last data in CHANNEL%s."] #[inline(always)] - #[must_use] pub fn tx_conti_mode(&mut self) -> TX_CONTI_MODE_W { TX_CONTI_MODE_W::new(self, 3) } #[doc = "Bit 4 - This is the channel %s enable bit for wraparound mode: it will resume sending at the start when the data to be sent is more than its memory size."] #[inline(always)] - #[must_use] pub fn mem_tx_wrap_en(&mut self) -> MEM_TX_WRAP_EN_W { MEM_TX_WRAP_EN_W::new(self, 4) } #[doc = "Bit 5 - This bit configures the level of output signal in CHANNEL%s when the latter is in IDLE state."] #[inline(always)] - #[must_use] pub fn idle_out_lv(&mut self) -> IDLE_OUT_LV_W { IDLE_OUT_LV_W::new(self, 5) } #[doc = "Bit 6 - This is the output enable-control bit for CHANNEL%s in IDLE state."] #[inline(always)] - #[must_use] pub fn idle_out_en(&mut self) -> IDLE_OUT_EN_W { IDLE_OUT_EN_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to stop the transmitter of CHANNEL%s sending data out."] #[inline(always)] - #[must_use] pub fn tx_stop(&mut self) -> TX_STOP_W { TX_STOP_W::new(self, 7) } #[doc = "Bits 8:15 - This register is used to configure the divider for clock of CHANNEL%s."] #[inline(always)] - #[must_use] pub fn div_cnt(&mut self) -> DIV_CNT_W { DIV_CNT_W::new(self, 8) } #[doc = "Bits 16:18 - This register is used to configure the maximum size of memory allocated to CHANNEL%s."] #[inline(always)] - #[must_use] pub fn mem_size(&mut self) -> MEM_SIZE_W { MEM_SIZE_W::new(self, 16) } #[doc = "Bit 20 - 1: Add carrier modulation on the output signal only at the send data state for CHANNEL%s. 0: Add carrier modulation on the output signal at all state for CHANNEL%s. Only valid when RMT_CARRIER_EN_CH%s is 1."] #[inline(always)] - #[must_use] pub fn carrier_eff_en(&mut self) -> CARRIER_EFF_EN_W { CARRIER_EFF_EN_W::new(self, 20) } #[doc = "Bit 21 - This is the carrier modulation enable-control bit for CHANNEL%s. 1: Add carrier modulation in the output signal. 0: No carrier modulation in sig_out."] #[inline(always)] - #[must_use] pub fn carrier_en(&mut self) -> CARRIER_EN_W { CARRIER_EN_W::new(self, 21) } #[doc = "Bit 22 - This bit is used to configure the position of carrier wave for CHANNEL%s. 1'h0: add carrier wave on low level. 1'h1: add carrier wave on high level."] #[inline(always)] - #[must_use] pub fn carrier_out_lv(&mut self) -> CARRIER_OUT_LV_W { CARRIER_OUT_LV_W::new(self, 22) } #[doc = "Bit 23 - Reserved"] #[inline(always)] - #[must_use] pub fn afifo_rst(&mut self) -> AFIFO_RST_W { AFIFO_RST_W::new(self, 23) } #[doc = "Bit 24 - synchronization bit for CHANNEL%s"] #[inline(always)] - #[must_use] pub fn conf_update(&mut self) -> CONF_UPDATE_W { CONF_UPDATE_W::new(self, 24) } diff --git a/esp32c6/src/rmt/ch_tx_lim.rs b/esp32c6/src/rmt/ch_tx_lim.rs index 34f227c619..39debf5c5b 100644 --- a/esp32c6/src/rmt/ch_tx_lim.rs +++ b/esp32c6/src/rmt/ch_tx_lim.rs @@ -56,31 +56,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure the maximum entries that CHANNEL%s can send out."] #[inline(always)] - #[must_use] pub fn tx_lim(&mut self) -> TX_LIM_W { TX_LIM_W::new(self, 0) } #[doc = "Bits 9:18 - This register is used to configure the maximum loop count when tx_conti_mode is valid."] #[inline(always)] - #[must_use] pub fn tx_loop_num(&mut self) -> TX_LOOP_NUM_W { TX_LOOP_NUM_W::new(self, 9) } #[doc = "Bit 19 - This register is the enabled bit for loop count."] #[inline(always)] - #[must_use] pub fn tx_loop_cnt_en(&mut self) -> TX_LOOP_CNT_EN_W { TX_LOOP_CNT_EN_W::new(self, 19) } #[doc = "Bit 20 - This register is used to reset the loop count when tx_conti_mode is valid."] #[inline(always)] - #[must_use] pub fn loop_count_reset(&mut self) -> LOOP_COUNT_RESET_W { LOOP_COUNT_RESET_W::new(self, 20) } #[doc = "Bit 21 - This bit is used to enable the loop send stop function after the loop counter counts to loop number for CHANNEL%s."] #[inline(always)] - #[must_use] pub fn loop_stop_en(&mut self) -> LOOP_STOP_EN_W { LOOP_STOP_EN_W::new(self, 21) } diff --git a/esp32c6/src/rmt/chcarrier_duty.rs b/esp32c6/src/rmt/chcarrier_duty.rs index 1aedd08615..a45cf0e6ed 100644 --- a/esp32c6/src/rmt/chcarrier_duty.rs +++ b/esp32c6/src/rmt/chcarrier_duty.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure carrier wave 's low level clock period for CHANNEL%s."] #[inline(always)] - #[must_use] pub fn carrier_low(&mut self) -> CARRIER_LOW_W { CARRIER_LOW_W::new(self, 0) } #[doc = "Bits 16:31 - This register is used to configure carrier wave 's high level clock period for CHANNEL%s."] #[inline(always)] - #[must_use] pub fn carrier_high(&mut self) -> CARRIER_HIGH_W { CARRIER_HIGH_W::new(self, 16) } diff --git a/esp32c6/src/rmt/chdata.rs b/esp32c6/src/rmt/chdata.rs index 7fce764b5e..9cdbe81915 100644 --- a/esp32c6/src/rmt/chdata.rs +++ b/esp32c6/src/rmt/chdata.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Read and write data for channel %s via APB FIFO."] #[inline(always)] - #[must_use] pub fn data(&mut self) -> DATA_W { DATA_W::new(self, 0) } diff --git a/esp32c6/src/rmt/date.rs b/esp32c6/src/rmt/date.rs index 331c5ed948..fde16c91ed 100644 --- a/esp32c6/src/rmt/date.rs +++ b/esp32c6/src/rmt/date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - This is the version register."] #[inline(always)] - #[must_use] pub fn rmt_date(&mut self) -> RMT_DATE_W { RMT_DATE_W::new(self, 0) } diff --git a/esp32c6/src/rmt/int_clr.rs b/esp32c6/src/rmt/int_clr.rs index 78a27520f6..e0a6ad0255 100644 --- a/esp32c6/src/rmt/int_clr.rs +++ b/esp32c6/src/rmt/int_clr.rs @@ -25,7 +25,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_END` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_end(&mut self, n: u8) -> CH_TX_END_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -33,13 +32,11 @@ impl W { } #[doc = "Bit 0 - Set this bit to clear theCH0_TX_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch0_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear theCH1_TX_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch1_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 1) } @@ -47,7 +44,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH2_RX_END` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_end(&mut self, n: u8) -> CH_RX_END_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -55,13 +51,11 @@ impl W { } #[doc = "Bit 2 - Set this bit to clear theCH2_RX_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch2_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear theCH2_RX_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch3_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 3) } @@ -69,7 +63,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_ERR` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_err(&mut self, n: u8) -> CH_TX_ERR_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -77,13 +70,11 @@ impl W { } #[doc = "Bit 4 - Set this bit to clear theCH4_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch0_tx_err(&mut self) -> CH_TX_ERR_W { CH_TX_ERR_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear theCH4_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch1_tx_err(&mut self) -> CH_TX_ERR_W { CH_TX_ERR_W::new(self, 5) } @@ -91,7 +82,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH2_RX_ERR` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_err(&mut self, n: u8) -> CH_RX_ERR_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -99,13 +89,11 @@ impl W { } #[doc = "Bit 6 - Set this bit to clear theCH6_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch2_rx_err(&mut self) -> CH_RX_ERR_W { CH_RX_ERR_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear theCH6_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch3_rx_err(&mut self) -> CH_RX_ERR_W { CH_RX_ERR_W::new(self, 7) } @@ -113,7 +101,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_THR_EVENT` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_thr_event(&mut self, n: u8) -> CH_TX_THR_EVENT_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -121,13 +108,11 @@ impl W { } #[doc = "Bit 8 - Set this bit to clear theCH0_TX_THR_EVENT_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch0_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear theCH1_TX_THR_EVENT_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch1_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 9) } @@ -135,7 +120,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH2_RX_THR_EVENT` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_thr_event(&mut self, n: u8) -> CH_RX_THR_EVENT_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -143,13 +127,11 @@ impl W { } #[doc = "Bit 10 - Set this bit to clear theCH2_RX_THR_EVENT_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch2_rx_thr_event(&mut self) -> CH_RX_THR_EVENT_W { CH_RX_THR_EVENT_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear theCH2_RX_THR_EVENT_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch3_rx_thr_event(&mut self) -> CH_RX_THR_EVENT_W { CH_RX_THR_EVENT_W::new(self, 11) } @@ -157,7 +139,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_LOOP` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_loop(&mut self, n: u8) -> CH_TX_LOOP_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -165,13 +146,11 @@ impl W { } #[doc = "Bit 12 - Set this bit to clear theCH0_TX_LOOP_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch0_tx_loop(&mut self) -> CH_TX_LOOP_W { CH_TX_LOOP_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to clear theCH1_TX_LOOP_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch1_tx_loop(&mut self) -> CH_TX_LOOP_W { CH_TX_LOOP_W::new(self, 13) } diff --git a/esp32c6/src/rmt/int_ena.rs b/esp32c6/src/rmt/int_ena.rs index 3b3383a3af..63a8861e4b 100644 --- a/esp32c6/src/rmt/int_ena.rs +++ b/esp32c6/src/rmt/int_ena.rs @@ -233,7 +233,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_END` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_end(&mut self, n: u8) -> CH_TX_END_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -241,13 +240,11 @@ impl W { } #[doc = "Bit 0 - The interrupt enable bit for CH0_TX_END_INT."] #[inline(always)] - #[must_use] pub fn ch0_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for CH1_TX_END_INT."] #[inline(always)] - #[must_use] pub fn ch1_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 1) } @@ -255,7 +252,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH2_RX_END` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_end(&mut self, n: u8) -> CH_RX_END_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -263,13 +259,11 @@ impl W { } #[doc = "Bit 2 - The interrupt enable bit for CH2_RX_END_INT."] #[inline(always)] - #[must_use] pub fn ch2_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for CH2_RX_END_INT."] #[inline(always)] - #[must_use] pub fn ch3_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 3) } @@ -277,7 +271,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_ERR` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_err(&mut self, n: u8) -> CH_TX_ERR_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -285,13 +278,11 @@ impl W { } #[doc = "Bit 4 - The interrupt enable bit for CH4_ERR_INT."] #[inline(always)] - #[must_use] pub fn ch0_tx_err(&mut self) -> CH_TX_ERR_W { CH_TX_ERR_W::new(self, 4) } #[doc = "Bit 5 - The interrupt enable bit for CH4_ERR_INT."] #[inline(always)] - #[must_use] pub fn ch1_tx_err(&mut self) -> CH_TX_ERR_W { CH_TX_ERR_W::new(self, 5) } @@ -299,7 +290,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH2_RX_ERR` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_err(&mut self, n: u8) -> CH_RX_ERR_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -307,13 +297,11 @@ impl W { } #[doc = "Bit 6 - The interrupt enable bit for CH6_ERR_INT."] #[inline(always)] - #[must_use] pub fn ch2_rx_err(&mut self) -> CH_RX_ERR_W { CH_RX_ERR_W::new(self, 6) } #[doc = "Bit 7 - The interrupt enable bit for CH6_ERR_INT."] #[inline(always)] - #[must_use] pub fn ch3_rx_err(&mut self) -> CH_RX_ERR_W { CH_RX_ERR_W::new(self, 7) } @@ -321,7 +309,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_THR_EVENT` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_thr_event(&mut self, n: u8) -> CH_TX_THR_EVENT_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -329,13 +316,11 @@ impl W { } #[doc = "Bit 8 - The interrupt enable bit for CH0_TX_THR_EVENT_INT."] #[inline(always)] - #[must_use] pub fn ch0_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 8) } #[doc = "Bit 9 - The interrupt enable bit for CH1_TX_THR_EVENT_INT."] #[inline(always)] - #[must_use] pub fn ch1_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 9) } @@ -343,7 +328,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH2_RX_THR_EVENT` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_thr_event(&mut self, n: u8) -> CH_RX_THR_EVENT_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -351,13 +335,11 @@ impl W { } #[doc = "Bit 10 - The interrupt enable bit for CH2_RX_THR_EVENT_INT."] #[inline(always)] - #[must_use] pub fn ch2_rx_thr_event(&mut self) -> CH_RX_THR_EVENT_W { CH_RX_THR_EVENT_W::new(self, 10) } #[doc = "Bit 11 - The interrupt enable bit for CH2_RX_THR_EVENT_INT."] #[inline(always)] - #[must_use] pub fn ch3_rx_thr_event(&mut self) -> CH_RX_THR_EVENT_W { CH_RX_THR_EVENT_W::new(self, 11) } @@ -365,7 +347,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_X_LOOP` field.
"] #[inline(always)] - #[must_use] pub fn ch_x_loop(&mut self, n: u8) -> CH_X_LOOP_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -373,13 +354,11 @@ impl W { } #[doc = "Bit 12 - The interrupt enable bit for CH0_TX_LOOP_INT."] #[inline(always)] - #[must_use] pub fn ch0_x_loop(&mut self) -> CH_X_LOOP_W { CH_X_LOOP_W::new(self, 12) } #[doc = "Bit 13 - The interrupt enable bit for CH1_TX_LOOP_INT."] #[inline(always)] - #[must_use] pub fn ch1_x_loop(&mut self) -> CH_X_LOOP_W { CH_X_LOOP_W::new(self, 13) } diff --git a/esp32c6/src/rmt/int_raw.rs b/esp32c6/src/rmt/int_raw.rs index ac388df2f7..fb7759606b 100644 --- a/esp32c6/src/rmt/int_raw.rs +++ b/esp32c6/src/rmt/int_raw.rs @@ -233,7 +233,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_END` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_end(&mut self, n: u8) -> CH_TX_END_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -241,13 +240,11 @@ impl W { } #[doc = "Bit 0 - The interrupt raw bit for CHANNEL0. Triggered when transmission done."] #[inline(always)] - #[must_use] pub fn ch0_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 0) } #[doc = "Bit 1 - The interrupt raw bit for CHANNEL1. Triggered when transmission done."] #[inline(always)] - #[must_use] pub fn ch1_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 1) } @@ -255,7 +252,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH2_RX_END` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_end(&mut self, n: u8) -> CH_RX_END_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -263,13 +259,11 @@ impl W { } #[doc = "Bit 2 - The interrupt raw bit for CHANNEL2. Triggered when reception done."] #[inline(always)] - #[must_use] pub fn ch2_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 2) } #[doc = "Bit 3 - The interrupt raw bit for CHANNEL2. Triggered when reception done."] #[inline(always)] - #[must_use] pub fn ch3_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 3) } @@ -277,7 +271,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_ERR` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_err(&mut self, n: u8) -> CH_TX_ERR_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -285,13 +278,11 @@ impl W { } #[doc = "Bit 4 - The interrupt raw bit for CHANNEL4. Triggered when error occurs."] #[inline(always)] - #[must_use] pub fn ch0_tx_err(&mut self) -> CH_TX_ERR_W { CH_TX_ERR_W::new(self, 4) } #[doc = "Bit 5 - The interrupt raw bit for CHANNEL4. Triggered when error occurs."] #[inline(always)] - #[must_use] pub fn ch1_tx_err(&mut self) -> CH_TX_ERR_W { CH_TX_ERR_W::new(self, 5) } @@ -299,7 +290,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH2_RX_ERR` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_err(&mut self, n: u8) -> CH_RX_ERR_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -307,13 +297,11 @@ impl W { } #[doc = "Bit 6 - The interrupt raw bit for CHANNEL6. Triggered when error occurs."] #[inline(always)] - #[must_use] pub fn ch2_rx_err(&mut self) -> CH_RX_ERR_W { CH_RX_ERR_W::new(self, 6) } #[doc = "Bit 7 - The interrupt raw bit for CHANNEL6. Triggered when error occurs."] #[inline(always)] - #[must_use] pub fn ch3_rx_err(&mut self) -> CH_RX_ERR_W { CH_RX_ERR_W::new(self, 7) } @@ -321,7 +309,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_THR_EVENT` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_thr_event(&mut self, n: u8) -> CH_TX_THR_EVENT_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -329,13 +316,11 @@ impl W { } #[doc = "Bit 8 - The interrupt raw bit for CHANNEL0. Triggered when transmitter sent more data than configured value."] #[inline(always)] - #[must_use] pub fn ch0_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 8) } #[doc = "Bit 9 - The interrupt raw bit for CHANNEL1. Triggered when transmitter sent more data than configured value."] #[inline(always)] - #[must_use] pub fn ch1_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 9) } @@ -343,7 +328,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH2_RX_THR_EVENT` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_thr_event(&mut self, n: u8) -> CH_RX_THR_EVENT_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -351,13 +335,11 @@ impl W { } #[doc = "Bit 10 - The interrupt raw bit for CHANNEL2. Triggered when receiver receive more data than configured value."] #[inline(always)] - #[must_use] pub fn ch2_rx_thr_event(&mut self) -> CH_RX_THR_EVENT_W { CH_RX_THR_EVENT_W::new(self, 10) } #[doc = "Bit 11 - The interrupt raw bit for CHANNEL2. Triggered when receiver receive more data than configured value."] #[inline(always)] - #[must_use] pub fn ch3_rx_thr_event(&mut self) -> CH_RX_THR_EVENT_W { CH_RX_THR_EVENT_W::new(self, 11) } @@ -365,7 +347,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_LOOP` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_loop(&mut self, n: u8) -> CH_TX_LOOP_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -373,13 +354,11 @@ impl W { } #[doc = "Bit 12 - The interrupt raw bit for CHANNEL0. Triggered when the loop count reaches the configured threshold value."] #[inline(always)] - #[must_use] pub fn ch0_tx_loop(&mut self) -> CH_TX_LOOP_W { CH_TX_LOOP_W::new(self, 12) } #[doc = "Bit 13 - The interrupt raw bit for CHANNEL1. Triggered when the loop count reaches the configured threshold value."] #[inline(always)] - #[must_use] pub fn ch1_tx_loop(&mut self) -> CH_TX_LOOP_W { CH_TX_LOOP_W::new(self, 13) } diff --git a/esp32c6/src/rmt/ref_cnt_rst.rs b/esp32c6/src/rmt/ref_cnt_rst.rs index e378b3db9f..3f6543113f 100644 --- a/esp32c6/src/rmt/ref_cnt_rst.rs +++ b/esp32c6/src/rmt/ref_cnt_rst.rs @@ -17,25 +17,21 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - This register is used to reset the clock divider of CHANNEL0."] #[inline(always)] - #[must_use] pub fn tx_ref_cnt_rst(&mut self) -> TX_REF_CNT_RST_W { TX_REF_CNT_RST_W::new(self, 0) } #[doc = "Bit 1 - This register is used to reset the clock divider of CHANNEL1."] #[inline(always)] - #[must_use] pub fn tx_ref_cnt_rst_ch1(&mut self) -> TX_REF_CNT_RST_CH1_W { TX_REF_CNT_RST_CH1_W::new(self, 1) } #[doc = "Bit 2 - This register is used to reset the clock divider of CHANNEL2."] #[inline(always)] - #[must_use] pub fn rx_ref_cnt_rst_ch2(&mut self) -> RX_REF_CNT_RST_CH2_W { RX_REF_CNT_RST_CH2_W::new(self, 2) } #[doc = "Bit 3 - This register is used to reset the clock divider of CHANNEL3."] #[inline(always)] - #[must_use] pub fn rx_ref_cnt_rst_ch3(&mut self) -> RX_REF_CNT_RST_CH3_W { RX_REF_CNT_RST_CH3_W::new(self, 3) } diff --git a/esp32c6/src/rmt/sys_conf.rs b/esp32c6/src/rmt/sys_conf.rs index 9feb7895e4..31b92e9cbe 100644 --- a/esp32c6/src/rmt/sys_conf.rs +++ b/esp32c6/src/rmt/sys_conf.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1'h1: access memory directly. 1'h0: access memory by FIFO."] #[inline(always)] - #[must_use] pub fn apb_fifo_mask(&mut self) -> APB_FIFO_MASK_W { APB_FIFO_MASK_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to enable the clock for RMT memory."] #[inline(always)] - #[must_use] pub fn mem_clk_force_on(&mut self) -> MEM_CLK_FORCE_ON_W { MEM_CLK_FORCE_ON_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to power down RMT memory."] #[inline(always)] - #[must_use] pub fn mem_force_pd(&mut self) -> MEM_FORCE_PD_W { MEM_FORCE_PD_W::new(self, 2) } #[doc = "Bit 3 - 1: Disable RMT memory light sleep power down function. 0: Power down RMT memory when RMT is in light sleep mode."] #[inline(always)] - #[must_use] pub fn mem_force_pu(&mut self) -> MEM_FORCE_PU_W { MEM_FORCE_PU_W::new(self, 3) } #[doc = "Bit 31 - RMT register clock gate enable signal. 1: Power up the drive clock of registers. 0: Power down the drive clock of registers"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32c6/src/rmt/tx_sim.rs b/esp32c6/src/rmt/tx_sim.rs index 5ae3335101..fb83875c81 100644 --- a/esp32c6/src/rmt/tx_sim.rs +++ b/esp32c6/src/rmt/tx_sim.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable CHANNEL0 to start sending data synchronously with other enabled channels."] #[inline(always)] - #[must_use] pub fn ch0(&mut self) -> CH0_W { CH0_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to enable CHANNEL1 to start sending data synchronously with other enabled channels."] #[inline(always)] - #[must_use] pub fn ch1(&mut self) -> CH1_W { CH1_W::new(self, 1) } #[doc = "Bit 2 - This register is used to enable multiple of channels to start sending data synchronously."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 2) } diff --git a/esp32c6/src/rsa/constant_time.rs b/esp32c6/src/rsa/constant_time.rs index a9b9e36f36..5686c8d6c9 100644 --- a/esp32c6/src/rsa/constant_time.rs +++ b/esp32c6/src/rsa/constant_time.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configure this bit to 0 for acceleration. 0: with acceleration, 1: without acceleration(defalut)."] #[inline(always)] - #[must_use] pub fn constant_time(&mut self) -> CONSTANT_TIME_W { CONSTANT_TIME_W::new(self, 0) } diff --git a/esp32c6/src/rsa/date.rs b/esp32c6/src/rsa/date.rs index cef25e0f52..6fba10de71 100644 --- a/esp32c6/src/rsa/date.rs +++ b/esp32c6/src/rsa/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - rsa version information"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/rsa/int_clr.rs b/esp32c6/src/rsa/int_clr.rs index d31e2bda61..a83897f174 100644 --- a/esp32c6/src/rsa/int_clr.rs +++ b/esp32c6/src/rsa/int_clr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - set this bit to clear RSA interrupt."] #[inline(always)] - #[must_use] pub fn int_clr(&mut self) -> INT_CLR_W { INT_CLR_W::new(self, 0) } diff --git a/esp32c6/src/rsa/int_ena.rs b/esp32c6/src/rsa/int_ena.rs index 6ad5eb0839..1214080abd 100644 --- a/esp32c6/src/rsa/int_ena.rs +++ b/esp32c6/src/rsa/int_ena.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable interrupt that occurs when rsa calculation is done. 1'b0: disable, 1'b1: enable(default)."] #[inline(always)] - #[must_use] pub fn int_ena(&mut self) -> INT_ENA_W { INT_ENA_W::new(self, 0) } diff --git a/esp32c6/src/rsa/m_prime.rs b/esp32c6/src/rsa/m_prime.rs index c7a29d20a2..fe1ea11340 100644 --- a/esp32c6/src/rsa/m_prime.rs +++ b/esp32c6/src/rsa/m_prime.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits stores m'"] #[inline(always)] - #[must_use] pub fn m_prime(&mut self) -> M_PRIME_W { M_PRIME_W::new(self, 0) } diff --git a/esp32c6/src/rsa/mode.rs b/esp32c6/src/rsa/mode.rs index 18a57bb8bc..f858514621 100644 --- a/esp32c6/src/rsa/mode.rs +++ b/esp32c6/src/rsa/mode.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - rsa mode (rsa length)."] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 0) } diff --git a/esp32c6/src/rsa/search_enable.rs b/esp32c6/src/rsa/search_enable.rs index f0482c5c25..75a30a6046 100644 --- a/esp32c6/src/rsa/search_enable.rs +++ b/esp32c6/src/rsa/search_enable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configure this bit to 1 for acceleration. 1: with acceleration, 0: without acceleration(default). This option should be used together with RSA_SEARCH_POS."] #[inline(always)] - #[must_use] pub fn search_enable(&mut self) -> SEARCH_ENABLE_W { SEARCH_ENABLE_W::new(self, 0) } diff --git a/esp32c6/src/rsa/search_pos.rs b/esp32c6/src/rsa/search_pos.rs index c0d70ac327..3b493f6774 100644 --- a/esp32c6/src/rsa/search_pos.rs +++ b/esp32c6/src/rsa/search_pos.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - Configure this field to set search position. This field should be used together with RSA_SEARCH_ENABLE. The field is only meaningful when RSA_SEARCH_ENABLE is high."] #[inline(always)] - #[must_use] pub fn search_pos(&mut self) -> SEARCH_POS_W { SEARCH_POS_W::new(self, 0) } diff --git a/esp32c6/src/rsa/set_start_modexp.rs b/esp32c6/src/rsa/set_start_modexp.rs index c7aa1893ef..70f52cc9f9 100644 --- a/esp32c6/src/rsa/set_start_modexp.rs +++ b/esp32c6/src/rsa/set_start_modexp.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - start modular exponentiation"] #[inline(always)] - #[must_use] pub fn set_start_modexp(&mut self) -> SET_START_MODEXP_W { SET_START_MODEXP_W::new(self, 0) } diff --git a/esp32c6/src/rsa/set_start_modmult.rs b/esp32c6/src/rsa/set_start_modmult.rs index 4b3490fdc7..fdbd098152 100644 --- a/esp32c6/src/rsa/set_start_modmult.rs +++ b/esp32c6/src/rsa/set_start_modmult.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - start modular multiplication"] #[inline(always)] - #[must_use] pub fn set_start_modmult(&mut self) -> SET_START_MODMULT_W { SET_START_MODMULT_W::new(self, 0) } diff --git a/esp32c6/src/rsa/set_start_mult.rs b/esp32c6/src/rsa/set_start_mult.rs index 5668019695..64a0e82fa6 100644 --- a/esp32c6/src/rsa/set_start_mult.rs +++ b/esp32c6/src/rsa/set_start_mult.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - start multiplicaiton"] #[inline(always)] - #[must_use] pub fn set_start_mult(&mut self) -> SET_START_MULT_W { SET_START_MULT_W::new(self, 0) } diff --git a/esp32c6/src/sha/clear_irq.rs b/esp32c6/src/sha/clear_irq.rs index ce258b7da4..ac34dbeaa9 100644 --- a/esp32c6/src/sha/clear_irq.rs +++ b/esp32c6/src/sha/clear_irq.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Clear sha interrupt."] #[inline(always)] - #[must_use] pub fn clear_interrupt(&mut self) -> CLEAR_INTERRUPT_W { CLEAR_INTERRUPT_W::new(self, 0) } diff --git a/esp32c6/src/sha/continue_.rs b/esp32c6/src/sha/continue_.rs index 27120199be..ead2cd67b6 100644 --- a/esp32c6/src/sha/continue_.rs +++ b/esp32c6/src/sha/continue_.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 1:31 - Reserved."] #[inline(always)] - #[must_use] pub fn continue_(&mut self) -> CONTINUE_W { CONTINUE_W::new(self, 1) } diff --git a/esp32c6/src/sha/date.rs b/esp32c6/src/sha/date.rs index cc11d403f7..78b507ed0b 100644 --- a/esp32c6/src/sha/date.rs +++ b/esp32c6/src/sha/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Sha date information/ sha version information."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/sha/dma_block_num.rs b/esp32c6/src/sha/dma_block_num.rs index 12fd0d0103..658a579ae7 100644 --- a/esp32c6/src/sha/dma_block_num.rs +++ b/esp32c6/src/sha/dma_block_num.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - Dma-sha block number."] #[inline(always)] - #[must_use] pub fn dma_block_num(&mut self) -> DMA_BLOCK_NUM_W { DMA_BLOCK_NUM_W::new(self, 0) } diff --git a/esp32c6/src/sha/dma_continue.rs b/esp32c6/src/sha/dma_continue.rs index 9a52b90032..1e1cfdb7bc 100644 --- a/esp32c6/src/sha/dma_continue.rs +++ b/esp32c6/src/sha/dma_continue.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Continue dma-sha."] #[inline(always)] - #[must_use] pub fn dma_continue(&mut self) -> DMA_CONTINUE_W { DMA_CONTINUE_W::new(self, 0) } diff --git a/esp32c6/src/sha/dma_start.rs b/esp32c6/src/sha/dma_start.rs index 346a607e69..dd22dab31b 100644 --- a/esp32c6/src/sha/dma_start.rs +++ b/esp32c6/src/sha/dma_start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Start dma-sha."] #[inline(always)] - #[must_use] pub fn dma_start(&mut self) -> DMA_START_W { DMA_START_W::new(self, 0) } diff --git a/esp32c6/src/sha/irq_ena.rs b/esp32c6/src/sha/irq_ena.rs index 2a97464d29..9d8bc94a1f 100644 --- a/esp32c6/src/sha/irq_ena.rs +++ b/esp32c6/src/sha/irq_ena.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Sha interrupt enable register. 1'b0: disable(default). 1'b1: enable."] #[inline(always)] - #[must_use] pub fn interrupt_ena(&mut self) -> INTERRUPT_ENA_W { INTERRUPT_ENA_W::new(self, 0) } diff --git a/esp32c6/src/sha/mode.rs b/esp32c6/src/sha/mode.rs index e03dfab74c..e064361f45 100644 --- a/esp32c6/src/sha/mode.rs +++ b/esp32c6/src/sha/mode.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - Sha mode."] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 0) } diff --git a/esp32c6/src/sha/start.rs b/esp32c6/src/sha/start.rs index 54c992b28d..0cdec59d1f 100644 --- a/esp32c6/src/sha/start.rs +++ b/esp32c6/src/sha/start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 1:31 - Reserved."] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 1) } diff --git a/esp32c6/src/sha/t_length.rs b/esp32c6/src/sha/t_length.rs index bfa7857b78..98ff3bfc48 100644 --- a/esp32c6/src/sha/t_length.rs +++ b/esp32c6/src/sha/t_length.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - Sha t_length (used if and only if mode == SHA_512/t)."] #[inline(always)] - #[must_use] pub fn t_length(&mut self) -> T_LENGTH_W { T_LENGTH_W::new(self, 0) } diff --git a/esp32c6/src/sha/t_string.rs b/esp32c6/src/sha/t_string.rs index ec795b2910..216fb30fb1 100644 --- a/esp32c6/src/sha/t_string.rs +++ b/esp32c6/src/sha/t_string.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Sha t_string (used if and only if mode == SHA_512/t)."] #[inline(always)] - #[must_use] pub fn t_string(&mut self) -> T_STRING_W { T_STRING_W::new(self, 0) } diff --git a/esp32c6/src/slchost/conf.rs b/esp32c6/src/slchost/conf.rs index fa2832f30a..ff637e5224 100644 --- a/esp32c6/src/slchost/conf.rs +++ b/esp32c6/src/slchost/conf.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - *******Description***********"] #[inline(always)] - #[must_use] pub fn frc_sdio11(&mut self) -> FRC_SDIO11_W { FRC_SDIO11_W::new(self, 0) } #[doc = "Bits 5:9 - *******Description***********"] #[inline(always)] - #[must_use] pub fn frc_sdio20(&mut self) -> FRC_SDIO20_W { FRC_SDIO20_W::new(self, 5) } #[doc = "Bits 10:14 - *******Description***********"] #[inline(always)] - #[must_use] pub fn frc_neg_samp(&mut self) -> FRC_NEG_SAMP_W { FRC_NEG_SAMP_W::new(self, 10) } #[doc = "Bits 15:19 - *******Description***********"] #[inline(always)] - #[must_use] pub fn frc_pos_samp(&mut self) -> FRC_POS_SAMP_W { FRC_POS_SAMP_W::new(self, 15) } #[doc = "Bits 20:24 - *******Description***********"] #[inline(always)] - #[must_use] pub fn frc_quick_in(&mut self) -> FRC_QUICK_IN_W { FRC_QUICK_IN_W::new(self, 20) } #[doc = "Bit 25 - *******Description***********"] #[inline(always)] - #[must_use] pub fn sdio20_int_delay(&mut self) -> SDIO20_INT_DELAY_W { SDIO20_INT_DELAY_W::new(self, 25) } #[doc = "Bit 26 - *******Description***********"] #[inline(always)] - #[must_use] pub fn sdio_pad_pullup(&mut self) -> SDIO_PAD_PULLUP_W { SDIO_PAD_PULLUP_W::new(self, 26) } #[doc = "Bit 27 - *******Description***********"] #[inline(always)] - #[must_use] pub fn hspeed_con_en(&mut self) -> HSPEED_CON_EN_W { HSPEED_CON_EN_W::new(self, 27) } diff --git a/esp32c6/src/slchost/conf_w0.rs b/esp32c6/src/slchost/conf_w0.rs index d28aa1beb7..8fc4f902cb 100644 --- a/esp32c6/src/slchost/conf_w0.rs +++ b/esp32c6/src/slchost/conf_w0.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf0(&mut self) -> SLCHOST_CONF0_W { SLCHOST_CONF0_W::new(self, 0) } #[doc = "Bits 8:15 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf1(&mut self) -> SLCHOST_CONF1_W { SLCHOST_CONF1_W::new(self, 8) } #[doc = "Bits 16:23 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf2(&mut self) -> SLCHOST_CONF2_W { SLCHOST_CONF2_W::new(self, 16) } #[doc = "Bits 24:31 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf3(&mut self) -> SLCHOST_CONF3_W { SLCHOST_CONF3_W::new(self, 24) } diff --git a/esp32c6/src/slchost/conf_w1.rs b/esp32c6/src/slchost/conf_w1.rs index 904f94942d..88eb162b35 100644 --- a/esp32c6/src/slchost/conf_w1.rs +++ b/esp32c6/src/slchost/conf_w1.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf4(&mut self) -> SLCHOST_CONF4_W { SLCHOST_CONF4_W::new(self, 0) } #[doc = "Bits 8:15 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf5(&mut self) -> SLCHOST_CONF5_W { SLCHOST_CONF5_W::new(self, 8) } #[doc = "Bits 16:23 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf6(&mut self) -> SLCHOST_CONF6_W { SLCHOST_CONF6_W::new(self, 16) } #[doc = "Bits 24:31 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf7(&mut self) -> SLCHOST_CONF7_W { SLCHOST_CONF7_W::new(self, 24) } diff --git a/esp32c6/src/slchost/conf_w10.rs b/esp32c6/src/slchost/conf_w10.rs index 69950dcde3..c4a7d7ab5e 100644 --- a/esp32c6/src/slchost/conf_w10.rs +++ b/esp32c6/src/slchost/conf_w10.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf40(&mut self) -> SLCHOST_CONF40_W { SLCHOST_CONF40_W::new(self, 0) } #[doc = "Bits 8:15 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf41(&mut self) -> SLCHOST_CONF41_W { SLCHOST_CONF41_W::new(self, 8) } #[doc = "Bits 16:23 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf42(&mut self) -> SLCHOST_CONF42_W { SLCHOST_CONF42_W::new(self, 16) } #[doc = "Bits 24:31 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf43(&mut self) -> SLCHOST_CONF43_W { SLCHOST_CONF43_W::new(self, 24) } diff --git a/esp32c6/src/slchost/conf_w11.rs b/esp32c6/src/slchost/conf_w11.rs index 7edf3edb80..22cd4cf7d1 100644 --- a/esp32c6/src/slchost/conf_w11.rs +++ b/esp32c6/src/slchost/conf_w11.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf44(&mut self) -> SLCHOST_CONF44_W { SLCHOST_CONF44_W::new(self, 0) } #[doc = "Bits 8:15 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf45(&mut self) -> SLCHOST_CONF45_W { SLCHOST_CONF45_W::new(self, 8) } #[doc = "Bits 16:23 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf46(&mut self) -> SLCHOST_CONF46_W { SLCHOST_CONF46_W::new(self, 16) } #[doc = "Bits 24:31 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf47(&mut self) -> SLCHOST_CONF47_W { SLCHOST_CONF47_W::new(self, 24) } diff --git a/esp32c6/src/slchost/conf_w12.rs b/esp32c6/src/slchost/conf_w12.rs index c07d7c8ebd..d142cbbd72 100644 --- a/esp32c6/src/slchost/conf_w12.rs +++ b/esp32c6/src/slchost/conf_w12.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf48(&mut self) -> SLCHOST_CONF48_W { SLCHOST_CONF48_W::new(self, 0) } #[doc = "Bits 8:15 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf49(&mut self) -> SLCHOST_CONF49_W { SLCHOST_CONF49_W::new(self, 8) } #[doc = "Bits 16:23 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf50(&mut self) -> SLCHOST_CONF50_W { SLCHOST_CONF50_W::new(self, 16) } #[doc = "Bits 24:31 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf51(&mut self) -> SLCHOST_CONF51_W { SLCHOST_CONF51_W::new(self, 24) } diff --git a/esp32c6/src/slchost/conf_w13.rs b/esp32c6/src/slchost/conf_w13.rs index 85dba79213..de4f52b5d3 100644 --- a/esp32c6/src/slchost/conf_w13.rs +++ b/esp32c6/src/slchost/conf_w13.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf52(&mut self) -> SLCHOST_CONF52_W { SLCHOST_CONF52_W::new(self, 0) } #[doc = "Bits 8:15 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf53(&mut self) -> SLCHOST_CONF53_W { SLCHOST_CONF53_W::new(self, 8) } #[doc = "Bits 16:23 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf54(&mut self) -> SLCHOST_CONF54_W { SLCHOST_CONF54_W::new(self, 16) } #[doc = "Bits 24:31 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf55(&mut self) -> SLCHOST_CONF55_W { SLCHOST_CONF55_W::new(self, 24) } diff --git a/esp32c6/src/slchost/conf_w14.rs b/esp32c6/src/slchost/conf_w14.rs index 230093f91b..ce1221872f 100644 --- a/esp32c6/src/slchost/conf_w14.rs +++ b/esp32c6/src/slchost/conf_w14.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf56(&mut self) -> SLCHOST_CONF56_W { SLCHOST_CONF56_W::new(self, 0) } #[doc = "Bits 8:15 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf57(&mut self) -> SLCHOST_CONF57_W { SLCHOST_CONF57_W::new(self, 8) } #[doc = "Bits 16:23 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf58(&mut self) -> SLCHOST_CONF58_W { SLCHOST_CONF58_W::new(self, 16) } #[doc = "Bits 24:31 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf59(&mut self) -> SLCHOST_CONF59_W { SLCHOST_CONF59_W::new(self, 24) } diff --git a/esp32c6/src/slchost/conf_w15.rs b/esp32c6/src/slchost/conf_w15.rs index 0230a8e1b6..a85110f55b 100644 --- a/esp32c6/src/slchost/conf_w15.rs +++ b/esp32c6/src/slchost/conf_w15.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf60(&mut self) -> SLCHOST_CONF60_W { SLCHOST_CONF60_W::new(self, 0) } #[doc = "Bits 8:15 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf61(&mut self) -> SLCHOST_CONF61_W { SLCHOST_CONF61_W::new(self, 8) } #[doc = "Bits 16:23 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf62(&mut self) -> SLCHOST_CONF62_W { SLCHOST_CONF62_W::new(self, 16) } #[doc = "Bits 24:31 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf63(&mut self) -> SLCHOST_CONF63_W { SLCHOST_CONF63_W::new(self, 24) } diff --git a/esp32c6/src/slchost/conf_w2.rs b/esp32c6/src/slchost/conf_w2.rs index 67628362b9..53926a316a 100644 --- a/esp32c6/src/slchost/conf_w2.rs +++ b/esp32c6/src/slchost/conf_w2.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf8(&mut self) -> SLCHOST_CONF8_W { SLCHOST_CONF8_W::new(self, 0) } #[doc = "Bits 8:15 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf9(&mut self) -> SLCHOST_CONF9_W { SLCHOST_CONF9_W::new(self, 8) } #[doc = "Bits 16:23 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf10(&mut self) -> SLCHOST_CONF10_W { SLCHOST_CONF10_W::new(self, 16) } #[doc = "Bits 24:31 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf11(&mut self) -> SLCHOST_CONF11_W { SLCHOST_CONF11_W::new(self, 24) } diff --git a/esp32c6/src/slchost/conf_w3.rs b/esp32c6/src/slchost/conf_w3.rs index 2ec6cfd931..c23ffa64f5 100644 --- a/esp32c6/src/slchost/conf_w3.rs +++ b/esp32c6/src/slchost/conf_w3.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf12(&mut self) -> SLCHOST_CONF12_W { SLCHOST_CONF12_W::new(self, 0) } #[doc = "Bits 8:15 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf13(&mut self) -> SLCHOST_CONF13_W { SLCHOST_CONF13_W::new(self, 8) } #[doc = "Bits 16:23 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf14(&mut self) -> SLCHOST_CONF14_W { SLCHOST_CONF14_W::new(self, 16) } #[doc = "Bits 24:31 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf15(&mut self) -> SLCHOST_CONF15_W { SLCHOST_CONF15_W::new(self, 24) } diff --git a/esp32c6/src/slchost/conf_w4.rs b/esp32c6/src/slchost/conf_w4.rs index ab55050042..eee4683775 100644 --- a/esp32c6/src/slchost/conf_w4.rs +++ b/esp32c6/src/slchost/conf_w4.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf16(&mut self) -> SLCHOST_CONF16_W { SLCHOST_CONF16_W::new(self, 0) } #[doc = "Bits 8:15 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf17(&mut self) -> SLCHOST_CONF17_W { SLCHOST_CONF17_W::new(self, 8) } #[doc = "Bits 16:23 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf18(&mut self) -> SLCHOST_CONF18_W { SLCHOST_CONF18_W::new(self, 16) } #[doc = "Bits 24:31 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf19(&mut self) -> SLCHOST_CONF19_W { SLCHOST_CONF19_W::new(self, 24) } diff --git a/esp32c6/src/slchost/conf_w5.rs b/esp32c6/src/slchost/conf_w5.rs index 328bd1fc7f..402111dad8 100644 --- a/esp32c6/src/slchost/conf_w5.rs +++ b/esp32c6/src/slchost/conf_w5.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf20(&mut self) -> SLCHOST_CONF20_W { SLCHOST_CONF20_W::new(self, 0) } #[doc = "Bits 8:15 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf21(&mut self) -> SLCHOST_CONF21_W { SLCHOST_CONF21_W::new(self, 8) } #[doc = "Bits 16:23 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf22(&mut self) -> SLCHOST_CONF22_W { SLCHOST_CONF22_W::new(self, 16) } #[doc = "Bits 24:31 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf23(&mut self) -> SLCHOST_CONF23_W { SLCHOST_CONF23_W::new(self, 24) } diff --git a/esp32c6/src/slchost/conf_w6.rs b/esp32c6/src/slchost/conf_w6.rs index 1cade422be..729ae5b395 100644 --- a/esp32c6/src/slchost/conf_w6.rs +++ b/esp32c6/src/slchost/conf_w6.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf24(&mut self) -> SLCHOST_CONF24_W { SLCHOST_CONF24_W::new(self, 0) } #[doc = "Bits 8:15 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf25(&mut self) -> SLCHOST_CONF25_W { SLCHOST_CONF25_W::new(self, 8) } #[doc = "Bits 16:23 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf26(&mut self) -> SLCHOST_CONF26_W { SLCHOST_CONF26_W::new(self, 16) } #[doc = "Bits 24:31 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf27(&mut self) -> SLCHOST_CONF27_W { SLCHOST_CONF27_W::new(self, 24) } diff --git a/esp32c6/src/slchost/conf_w7.rs b/esp32c6/src/slchost/conf_w7.rs index ec6a6df43e..f18fcf451b 100644 --- a/esp32c6/src/slchost/conf_w7.rs +++ b/esp32c6/src/slchost/conf_w7.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf28(&mut self) -> SLCHOST_CONF28_W { SLCHOST_CONF28_W::new(self, 0) } #[doc = "Bits 8:15 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf29(&mut self) -> SLCHOST_CONF29_W { SLCHOST_CONF29_W::new(self, 8) } #[doc = "Bits 16:23 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf30(&mut self) -> SLCHOST_CONF30_W { SLCHOST_CONF30_W::new(self, 16) } #[doc = "Bits 24:31 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf31(&mut self) -> SLCHOST_CONF31_W { SLCHOST_CONF31_W::new(self, 24) } diff --git a/esp32c6/src/slchost/conf_w8.rs b/esp32c6/src/slchost/conf_w8.rs index b1254ed280..bc2e60178a 100644 --- a/esp32c6/src/slchost/conf_w8.rs +++ b/esp32c6/src/slchost/conf_w8.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf32(&mut self) -> SLCHOST_CONF32_W { SLCHOST_CONF32_W::new(self, 0) } #[doc = "Bits 8:15 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf33(&mut self) -> SLCHOST_CONF33_W { SLCHOST_CONF33_W::new(self, 8) } #[doc = "Bits 16:23 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf34(&mut self) -> SLCHOST_CONF34_W { SLCHOST_CONF34_W::new(self, 16) } #[doc = "Bits 24:31 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf35(&mut self) -> SLCHOST_CONF35_W { SLCHOST_CONF35_W::new(self, 24) } diff --git a/esp32c6/src/slchost/conf_w9.rs b/esp32c6/src/slchost/conf_w9.rs index b5ca546a53..7de448d911 100644 --- a/esp32c6/src/slchost/conf_w9.rs +++ b/esp32c6/src/slchost/conf_w9.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf36(&mut self) -> SLCHOST_CONF36_W { SLCHOST_CONF36_W::new(self, 0) } #[doc = "Bits 8:15 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf37(&mut self) -> SLCHOST_CONF37_W { SLCHOST_CONF37_W::new(self, 8) } #[doc = "Bits 16:23 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf38(&mut self) -> SLCHOST_CONF38_W { SLCHOST_CONF38_W::new(self, 16) } #[doc = "Bits 24:31 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_conf39(&mut self) -> SLCHOST_CONF39_W { SLCHOST_CONF39_W::new(self, 24) } diff --git a/esp32c6/src/slchost/func2_0.rs b/esp32c6/src/slchost/func2_0.rs index 4e65e3a36a..9522f7a48e 100644 --- a/esp32c6/src/slchost/func2_0.rs +++ b/esp32c6/src/slchost/func2_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 24 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc_func2_int(&mut self) -> SLC_FUNC2_INT_W { SLC_FUNC2_INT_W::new(self, 24) } diff --git a/esp32c6/src/slchost/func2_1.rs b/esp32c6/src/slchost/func2_1.rs index 46987e39b8..794833cafd 100644 --- a/esp32c6/src/slchost/func2_1.rs +++ b/esp32c6/src/slchost/func2_1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc_func2_int_en(&mut self) -> SLC_FUNC2_INT_EN_W { SLC_FUNC2_INT_EN_W::new(self, 0) } diff --git a/esp32c6/src/slchost/func2_2.rs b/esp32c6/src/slchost/func2_2.rs index acbb19e3de..1a9680d462 100644 --- a/esp32c6/src/slchost/func2_2.rs +++ b/esp32c6/src/slchost/func2_2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc_func1_mdstat(&mut self) -> SLC_FUNC1_MDSTAT_W { SLC_FUNC1_MDSTAT_W::new(self, 0) } diff --git a/esp32c6/src/slchost/inf_st.rs b/esp32c6/src/slchost/inf_st.rs index 103d88168f..1c3dada5a2 100644 --- a/esp32c6/src/slchost/inf_st.rs +++ b/esp32c6/src/slchost/inf_st.rs @@ -78,25 +78,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 15 - dll is controlled by software"] #[inline(always)] - #[must_use] pub fn dll_on_sw(&mut self) -> DLL_ON_SW_W { DLL_ON_SW_W::new(self, 15) } #[doc = "Bit 16 - Software dll on"] #[inline(always)] - #[must_use] pub fn dll_on(&mut self) -> DLL_ON_W { DLL_ON_W::new(self, 16) } #[doc = "Bit 17 - dll clock mode is controlled by software"] #[inline(always)] - #[must_use] pub fn clk_mode_sw(&mut self) -> CLK_MODE_SW_W { CLK_MODE_SW_W::new(self, 17) } #[doc = "Bits 18:19 - Software set clock mode"] #[inline(always)] - #[must_use] pub fn clk_mode(&mut self) -> CLK_MODE_W { CLK_MODE_W::new(self, 18) } diff --git a/esp32c6/src/slchost/rdclr0.rs b/esp32c6/src/slchost/rdclr0.rs index d8f9377f40..0cbedb3c60 100644 --- a/esp32c6/src/slchost/rdclr0.rs +++ b/esp32c6/src/slchost/rdclr0.rs @@ -40,13 +40,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_slc0_bit7_clraddr(&mut self) -> SLCHOST_SLC0_BIT7_CLRADDR_W { SLCHOST_SLC0_BIT7_CLRADDR_W::new(self, 0) } #[doc = "Bits 9:17 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_slc0_bit6_clraddr(&mut self) -> SLCHOST_SLC0_BIT6_CLRADDR_W { SLCHOST_SLC0_BIT6_CLRADDR_W::new(self, 9) } diff --git a/esp32c6/src/slchost/rdclr1.rs b/esp32c6/src/slchost/rdclr1.rs index 5e85160d9f..21c7d2ac10 100644 --- a/esp32c6/src/slchost/rdclr1.rs +++ b/esp32c6/src/slchost/rdclr1.rs @@ -40,13 +40,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_slc1_bit7_clraddr(&mut self) -> SLCHOST_SLC1_BIT7_CLRADDR_W { SLCHOST_SLC1_BIT7_CLRADDR_W::new(self, 0) } #[doc = "Bits 9:17 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_slc1_bit6_clraddr(&mut self) -> SLCHOST_SLC1_BIT6_CLRADDR_W { SLCHOST_SLC1_BIT6_CLRADDR_W::new(self, 9) } diff --git a/esp32c6/src/slchost/slc0host_func1_int_ena.rs b/esp32c6/src/slchost/slc0host_func1_int_ena.rs index d785162890..0872d8c4a9 100644 --- a/esp32c6/src/slchost/slc0host_func1_int_ena.rs +++ b/esp32c6/src/slchost/slc0host_func1_int_ena.rs @@ -343,7 +343,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc0_tohost_bit0_int_ena( &mut self, ) -> FN1_SLC0_TOHOST_BIT0_INT_ENA_W { @@ -351,7 +350,6 @@ impl W { } #[doc = "Bit 1 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc0_tohost_bit1_int_ena( &mut self, ) -> FN1_SLC0_TOHOST_BIT1_INT_ENA_W { @@ -359,7 +357,6 @@ impl W { } #[doc = "Bit 2 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc0_tohost_bit2_int_ena( &mut self, ) -> FN1_SLC0_TOHOST_BIT2_INT_ENA_W { @@ -367,7 +364,6 @@ impl W { } #[doc = "Bit 3 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc0_tohost_bit3_int_ena( &mut self, ) -> FN1_SLC0_TOHOST_BIT3_INT_ENA_W { @@ -375,7 +371,6 @@ impl W { } #[doc = "Bit 4 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc0_tohost_bit4_int_ena( &mut self, ) -> FN1_SLC0_TOHOST_BIT4_INT_ENA_W { @@ -383,7 +378,6 @@ impl W { } #[doc = "Bit 5 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc0_tohost_bit5_int_ena( &mut self, ) -> FN1_SLC0_TOHOST_BIT5_INT_ENA_W { @@ -391,7 +385,6 @@ impl W { } #[doc = "Bit 6 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc0_tohost_bit6_int_ena( &mut self, ) -> FN1_SLC0_TOHOST_BIT6_INT_ENA_W { @@ -399,7 +392,6 @@ impl W { } #[doc = "Bit 7 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc0_tohost_bit7_int_ena( &mut self, ) -> FN1_SLC0_TOHOST_BIT7_INT_ENA_W { @@ -407,7 +399,6 @@ impl W { } #[doc = "Bit 8 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc0_token0_1to0_int_ena( &mut self, ) -> FN1_SLC0_TOKEN0_1TO0_INT_ENA_W { @@ -415,7 +406,6 @@ impl W { } #[doc = "Bit 9 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc0_token1_1to0_int_ena( &mut self, ) -> FN1_SLC0_TOKEN1_1TO0_INT_ENA_W { @@ -423,7 +413,6 @@ impl W { } #[doc = "Bit 10 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc0_token0_0to1_int_ena( &mut self, ) -> FN1_SLC0_TOKEN0_0TO1_INT_ENA_W { @@ -431,7 +420,6 @@ impl W { } #[doc = "Bit 11 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc0_token1_0to1_int_ena( &mut self, ) -> FN1_SLC0_TOKEN1_0TO1_INT_ENA_W { @@ -439,7 +427,6 @@ impl W { } #[doc = "Bit 12 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc0host_rx_sof_int_ena( &mut self, ) -> FN1_SLC0HOST_RX_SOF_INT_ENA_W { @@ -447,7 +434,6 @@ impl W { } #[doc = "Bit 13 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc0host_rx_eof_int_ena( &mut self, ) -> FN1_SLC0HOST_RX_EOF_INT_ENA_W { @@ -455,7 +441,6 @@ impl W { } #[doc = "Bit 14 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc0host_rx_start_int_ena( &mut self, ) -> FN1_SLC0HOST_RX_START_INT_ENA_W { @@ -463,7 +448,6 @@ impl W { } #[doc = "Bit 15 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc0host_tx_start_int_ena( &mut self, ) -> FN1_SLC0HOST_TX_START_INT_ENA_W { @@ -471,7 +455,6 @@ impl W { } #[doc = "Bit 16 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc0_rx_udf_int_ena( &mut self, ) -> FN1_SLC0_RX_UDF_INT_ENA_W { @@ -479,7 +462,6 @@ impl W { } #[doc = "Bit 17 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc0_tx_ovf_int_ena( &mut self, ) -> FN1_SLC0_TX_OVF_INT_ENA_W { @@ -487,7 +469,6 @@ impl W { } #[doc = "Bit 18 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc0_rx_pf_valid_int_ena( &mut self, ) -> FN1_SLC0_RX_PF_VALID_INT_ENA_W { @@ -495,7 +476,6 @@ impl W { } #[doc = "Bit 19 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc0_ext_bit0_int_ena( &mut self, ) -> FN1_SLC0_EXT_BIT0_INT_ENA_W { @@ -503,7 +483,6 @@ impl W { } #[doc = "Bit 20 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc0_ext_bit1_int_ena( &mut self, ) -> FN1_SLC0_EXT_BIT1_INT_ENA_W { @@ -511,7 +490,6 @@ impl W { } #[doc = "Bit 21 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc0_ext_bit2_int_ena( &mut self, ) -> FN1_SLC0_EXT_BIT2_INT_ENA_W { @@ -519,7 +497,6 @@ impl W { } #[doc = "Bit 22 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc0_ext_bit3_int_ena( &mut self, ) -> FN1_SLC0_EXT_BIT3_INT_ENA_W { @@ -527,7 +504,6 @@ impl W { } #[doc = "Bit 23 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc0_rx_new_packet_int_ena( &mut self, ) -> FN1_SLC0_RX_NEW_PACKET_INT_ENA_W { @@ -535,7 +511,6 @@ impl W { } #[doc = "Bit 24 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc0_host_rd_retry_int_ena( &mut self, ) -> FN1_SLC0_HOST_RD_RETRY_INT_ENA_W { @@ -543,7 +518,6 @@ impl W { } #[doc = "Bit 25 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_gpio_sdio_int_ena( &mut self, ) -> FN1_GPIO_SDIO_INT_ENA_W { diff --git a/esp32c6/src/slchost/slc0host_func2_int_ena.rs b/esp32c6/src/slchost/slc0host_func2_int_ena.rs index 26cab97992..b2db5a2da1 100644 --- a/esp32c6/src/slchost/slc0host_func2_int_ena.rs +++ b/esp32c6/src/slchost/slc0host_func2_int_ena.rs @@ -343,7 +343,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc0_tohost_bit0_int_ena( &mut self, ) -> FN2_SLC0_TOHOST_BIT0_INT_ENA_W { @@ -351,7 +350,6 @@ impl W { } #[doc = "Bit 1 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc0_tohost_bit1_int_ena( &mut self, ) -> FN2_SLC0_TOHOST_BIT1_INT_ENA_W { @@ -359,7 +357,6 @@ impl W { } #[doc = "Bit 2 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc0_tohost_bit2_int_ena( &mut self, ) -> FN2_SLC0_TOHOST_BIT2_INT_ENA_W { @@ -367,7 +364,6 @@ impl W { } #[doc = "Bit 3 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc0_tohost_bit3_int_ena( &mut self, ) -> FN2_SLC0_TOHOST_BIT3_INT_ENA_W { @@ -375,7 +371,6 @@ impl W { } #[doc = "Bit 4 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc0_tohost_bit4_int_ena( &mut self, ) -> FN2_SLC0_TOHOST_BIT4_INT_ENA_W { @@ -383,7 +378,6 @@ impl W { } #[doc = "Bit 5 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc0_tohost_bit5_int_ena( &mut self, ) -> FN2_SLC0_TOHOST_BIT5_INT_ENA_W { @@ -391,7 +385,6 @@ impl W { } #[doc = "Bit 6 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc0_tohost_bit6_int_ena( &mut self, ) -> FN2_SLC0_TOHOST_BIT6_INT_ENA_W { @@ -399,7 +392,6 @@ impl W { } #[doc = "Bit 7 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc0_tohost_bit7_int_ena( &mut self, ) -> FN2_SLC0_TOHOST_BIT7_INT_ENA_W { @@ -407,7 +399,6 @@ impl W { } #[doc = "Bit 8 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc0_token0_1to0_int_ena( &mut self, ) -> FN2_SLC0_TOKEN0_1TO0_INT_ENA_W { @@ -415,7 +406,6 @@ impl W { } #[doc = "Bit 9 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc0_token1_1to0_int_ena( &mut self, ) -> FN2_SLC0_TOKEN1_1TO0_INT_ENA_W { @@ -423,7 +413,6 @@ impl W { } #[doc = "Bit 10 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc0_token0_0to1_int_ena( &mut self, ) -> FN2_SLC0_TOKEN0_0TO1_INT_ENA_W { @@ -431,7 +420,6 @@ impl W { } #[doc = "Bit 11 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc0_token1_0to1_int_ena( &mut self, ) -> FN2_SLC0_TOKEN1_0TO1_INT_ENA_W { @@ -439,7 +427,6 @@ impl W { } #[doc = "Bit 12 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc0host_rx_sof_int_ena( &mut self, ) -> FN2_SLC0HOST_RX_SOF_INT_ENA_W { @@ -447,7 +434,6 @@ impl W { } #[doc = "Bit 13 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc0host_rx_eof_int_ena( &mut self, ) -> FN2_SLC0HOST_RX_EOF_INT_ENA_W { @@ -455,7 +441,6 @@ impl W { } #[doc = "Bit 14 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc0host_rx_start_int_ena( &mut self, ) -> FN2_SLC0HOST_RX_START_INT_ENA_W { @@ -463,7 +448,6 @@ impl W { } #[doc = "Bit 15 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc0host_tx_start_int_ena( &mut self, ) -> FN2_SLC0HOST_TX_START_INT_ENA_W { @@ -471,7 +455,6 @@ impl W { } #[doc = "Bit 16 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc0_rx_udf_int_ena( &mut self, ) -> FN2_SLC0_RX_UDF_INT_ENA_W { @@ -479,7 +462,6 @@ impl W { } #[doc = "Bit 17 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc0_tx_ovf_int_ena( &mut self, ) -> FN2_SLC0_TX_OVF_INT_ENA_W { @@ -487,7 +469,6 @@ impl W { } #[doc = "Bit 18 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc0_rx_pf_valid_int_ena( &mut self, ) -> FN2_SLC0_RX_PF_VALID_INT_ENA_W { @@ -495,7 +476,6 @@ impl W { } #[doc = "Bit 19 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc0_ext_bit0_int_ena( &mut self, ) -> FN2_SLC0_EXT_BIT0_INT_ENA_W { @@ -503,7 +483,6 @@ impl W { } #[doc = "Bit 20 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc0_ext_bit1_int_ena( &mut self, ) -> FN2_SLC0_EXT_BIT1_INT_ENA_W { @@ -511,7 +490,6 @@ impl W { } #[doc = "Bit 21 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc0_ext_bit2_int_ena( &mut self, ) -> FN2_SLC0_EXT_BIT2_INT_ENA_W { @@ -519,7 +497,6 @@ impl W { } #[doc = "Bit 22 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc0_ext_bit3_int_ena( &mut self, ) -> FN2_SLC0_EXT_BIT3_INT_ENA_W { @@ -527,7 +504,6 @@ impl W { } #[doc = "Bit 23 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc0_rx_new_packet_int_ena( &mut self, ) -> FN2_SLC0_RX_NEW_PACKET_INT_ENA_W { @@ -535,7 +511,6 @@ impl W { } #[doc = "Bit 24 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc0_host_rd_retry_int_ena( &mut self, ) -> FN2_SLC0_HOST_RD_RETRY_INT_ENA_W { @@ -543,7 +518,6 @@ impl W { } #[doc = "Bit 25 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_gpio_sdio_int_ena( &mut self, ) -> FN2_GPIO_SDIO_INT_ENA_W { diff --git a/esp32c6/src/slchost/slc0host_int_clr.rs b/esp32c6/src/slchost/slc0host_int_clr.rs index b006c6ba96..3f30cd034f 100644 --- a/esp32c6/src/slchost/slc0host_int_clr.rs +++ b/esp32c6/src/slchost/slc0host_int_clr.rs @@ -61,7 +61,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_tohost_bit0_int_clr( &mut self, ) -> SLC0_TOHOST_BIT0_INT_CLR_W { @@ -69,7 +68,6 @@ impl W { } #[doc = "Bit 1 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_tohost_bit1_int_clr( &mut self, ) -> SLC0_TOHOST_BIT1_INT_CLR_W { @@ -77,7 +75,6 @@ impl W { } #[doc = "Bit 2 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_tohost_bit2_int_clr( &mut self, ) -> SLC0_TOHOST_BIT2_INT_CLR_W { @@ -85,7 +82,6 @@ impl W { } #[doc = "Bit 3 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_tohost_bit3_int_clr( &mut self, ) -> SLC0_TOHOST_BIT3_INT_CLR_W { @@ -93,7 +89,6 @@ impl W { } #[doc = "Bit 4 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_tohost_bit4_int_clr( &mut self, ) -> SLC0_TOHOST_BIT4_INT_CLR_W { @@ -101,7 +96,6 @@ impl W { } #[doc = "Bit 5 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_tohost_bit5_int_clr( &mut self, ) -> SLC0_TOHOST_BIT5_INT_CLR_W { @@ -109,7 +103,6 @@ impl W { } #[doc = "Bit 6 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_tohost_bit6_int_clr( &mut self, ) -> SLC0_TOHOST_BIT6_INT_CLR_W { @@ -117,7 +110,6 @@ impl W { } #[doc = "Bit 7 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_tohost_bit7_int_clr( &mut self, ) -> SLC0_TOHOST_BIT7_INT_CLR_W { @@ -125,7 +117,6 @@ impl W { } #[doc = "Bit 8 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_token0_1to0_int_clr( &mut self, ) -> SLC0_TOKEN0_1TO0_INT_CLR_W { @@ -133,7 +124,6 @@ impl W { } #[doc = "Bit 9 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_token1_1to0_int_clr( &mut self, ) -> SLC0_TOKEN1_1TO0_INT_CLR_W { @@ -141,7 +131,6 @@ impl W { } #[doc = "Bit 10 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_token0_0to1_int_clr( &mut self, ) -> SLC0_TOKEN0_0TO1_INT_CLR_W { @@ -149,7 +138,6 @@ impl W { } #[doc = "Bit 11 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_token1_0to1_int_clr( &mut self, ) -> SLC0_TOKEN1_0TO1_INT_CLR_W { @@ -157,19 +145,16 @@ impl W { } #[doc = "Bit 12 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0host_rx_sof_int_clr(&mut self) -> SLC0HOST_RX_SOF_INT_CLR_W { SLC0HOST_RX_SOF_INT_CLR_W::new(self, 12) } #[doc = "Bit 13 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0host_rx_eof_int_clr(&mut self) -> SLC0HOST_RX_EOF_INT_CLR_W { SLC0HOST_RX_EOF_INT_CLR_W::new(self, 13) } #[doc = "Bit 14 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0host_rx_start_int_clr( &mut self, ) -> SLC0HOST_RX_START_INT_CLR_W { @@ -177,7 +162,6 @@ impl W { } #[doc = "Bit 15 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0host_tx_start_int_clr( &mut self, ) -> SLC0HOST_TX_START_INT_CLR_W { @@ -185,19 +169,16 @@ impl W { } #[doc = "Bit 16 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_rx_udf_int_clr(&mut self) -> SLC0_RX_UDF_INT_CLR_W { SLC0_RX_UDF_INT_CLR_W::new(self, 16) } #[doc = "Bit 17 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_tx_ovf_int_clr(&mut self) -> SLC0_TX_OVF_INT_CLR_W { SLC0_TX_OVF_INT_CLR_W::new(self, 17) } #[doc = "Bit 18 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_rx_pf_valid_int_clr( &mut self, ) -> SLC0_RX_PF_VALID_INT_CLR_W { @@ -205,31 +186,26 @@ impl W { } #[doc = "Bit 19 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_ext_bit0_int_clr(&mut self) -> SLC0_EXT_BIT0_INT_CLR_W { SLC0_EXT_BIT0_INT_CLR_W::new(self, 19) } #[doc = "Bit 20 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_ext_bit1_int_clr(&mut self) -> SLC0_EXT_BIT1_INT_CLR_W { SLC0_EXT_BIT1_INT_CLR_W::new(self, 20) } #[doc = "Bit 21 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_ext_bit2_int_clr(&mut self) -> SLC0_EXT_BIT2_INT_CLR_W { SLC0_EXT_BIT2_INT_CLR_W::new(self, 21) } #[doc = "Bit 22 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_ext_bit3_int_clr(&mut self) -> SLC0_EXT_BIT3_INT_CLR_W { SLC0_EXT_BIT3_INT_CLR_W::new(self, 22) } #[doc = "Bit 23 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_rx_new_packet_int_clr( &mut self, ) -> SLC0_RX_NEW_PACKET_INT_CLR_W { @@ -237,7 +213,6 @@ impl W { } #[doc = "Bit 24 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_host_rd_retry_int_clr( &mut self, ) -> SLC0_HOST_RD_RETRY_INT_CLR_W { @@ -245,7 +220,6 @@ impl W { } #[doc = "Bit 25 - *******Description***********"] #[inline(always)] - #[must_use] pub fn gpio_sdio_int_clr(&mut self) -> GPIO_SDIO_INT_CLR_W { GPIO_SDIO_INT_CLR_W::new(self, 25) } diff --git a/esp32c6/src/slchost/slc0host_int_ena.rs b/esp32c6/src/slchost/slc0host_int_ena.rs index e1526f3dda..b5245ea968 100644 --- a/esp32c6/src/slchost/slc0host_int_ena.rs +++ b/esp32c6/src/slchost/slc0host_int_ena.rs @@ -286,7 +286,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_tohost_bit0_int_ena( &mut self, ) -> SLC0_TOHOST_BIT0_INT_ENA_W { @@ -294,7 +293,6 @@ impl W { } #[doc = "Bit 1 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_tohost_bit1_int_ena( &mut self, ) -> SLC0_TOHOST_BIT1_INT_ENA_W { @@ -302,7 +300,6 @@ impl W { } #[doc = "Bit 2 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_tohost_bit2_int_ena( &mut self, ) -> SLC0_TOHOST_BIT2_INT_ENA_W { @@ -310,7 +307,6 @@ impl W { } #[doc = "Bit 3 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_tohost_bit3_int_ena( &mut self, ) -> SLC0_TOHOST_BIT3_INT_ENA_W { @@ -318,7 +314,6 @@ impl W { } #[doc = "Bit 4 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_tohost_bit4_int_ena( &mut self, ) -> SLC0_TOHOST_BIT4_INT_ENA_W { @@ -326,7 +321,6 @@ impl W { } #[doc = "Bit 5 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_tohost_bit5_int_ena( &mut self, ) -> SLC0_TOHOST_BIT5_INT_ENA_W { @@ -334,7 +328,6 @@ impl W { } #[doc = "Bit 6 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_tohost_bit6_int_ena( &mut self, ) -> SLC0_TOHOST_BIT6_INT_ENA_W { @@ -342,7 +335,6 @@ impl W { } #[doc = "Bit 7 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_tohost_bit7_int_ena( &mut self, ) -> SLC0_TOHOST_BIT7_INT_ENA_W { @@ -350,7 +342,6 @@ impl W { } #[doc = "Bit 8 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_token0_1to0_int_ena( &mut self, ) -> SLC0_TOKEN0_1TO0_INT_ENA_W { @@ -358,7 +349,6 @@ impl W { } #[doc = "Bit 9 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_token1_1to0_int_ena( &mut self, ) -> SLC0_TOKEN1_1TO0_INT_ENA_W { @@ -366,7 +356,6 @@ impl W { } #[doc = "Bit 10 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_token0_0to1_int_ena( &mut self, ) -> SLC0_TOKEN0_0TO1_INT_ENA_W { @@ -374,7 +363,6 @@ impl W { } #[doc = "Bit 11 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_token1_0to1_int_ena( &mut self, ) -> SLC0_TOKEN1_0TO1_INT_ENA_W { @@ -382,19 +370,16 @@ impl W { } #[doc = "Bit 12 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0host_rx_sof_int_ena(&mut self) -> SLC0HOST_RX_SOF_INT_ENA_W { SLC0HOST_RX_SOF_INT_ENA_W::new(self, 12) } #[doc = "Bit 13 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0host_rx_eof_int_ena(&mut self) -> SLC0HOST_RX_EOF_INT_ENA_W { SLC0HOST_RX_EOF_INT_ENA_W::new(self, 13) } #[doc = "Bit 14 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0host_rx_start_int_ena( &mut self, ) -> SLC0HOST_RX_START_INT_ENA_W { @@ -402,7 +387,6 @@ impl W { } #[doc = "Bit 15 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0host_tx_start_int_ena( &mut self, ) -> SLC0HOST_TX_START_INT_ENA_W { @@ -410,19 +394,16 @@ impl W { } #[doc = "Bit 16 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_rx_udf_int_ena(&mut self) -> SLC0_RX_UDF_INT_ENA_W { SLC0_RX_UDF_INT_ENA_W::new(self, 16) } #[doc = "Bit 17 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_tx_ovf_int_ena(&mut self) -> SLC0_TX_OVF_INT_ENA_W { SLC0_TX_OVF_INT_ENA_W::new(self, 17) } #[doc = "Bit 18 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_rx_pf_valid_int_ena( &mut self, ) -> SLC0_RX_PF_VALID_INT_ENA_W { @@ -430,31 +411,26 @@ impl W { } #[doc = "Bit 19 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_ext_bit0_int_ena(&mut self) -> SLC0_EXT_BIT0_INT_ENA_W { SLC0_EXT_BIT0_INT_ENA_W::new(self, 19) } #[doc = "Bit 20 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_ext_bit1_int_ena(&mut self) -> SLC0_EXT_BIT1_INT_ENA_W { SLC0_EXT_BIT1_INT_ENA_W::new(self, 20) } #[doc = "Bit 21 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_ext_bit2_int_ena(&mut self) -> SLC0_EXT_BIT2_INT_ENA_W { SLC0_EXT_BIT2_INT_ENA_W::new(self, 21) } #[doc = "Bit 22 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_ext_bit3_int_ena(&mut self) -> SLC0_EXT_BIT3_INT_ENA_W { SLC0_EXT_BIT3_INT_ENA_W::new(self, 22) } #[doc = "Bit 23 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_rx_new_packet_int_ena( &mut self, ) -> SLC0_RX_NEW_PACKET_INT_ENA_W { @@ -462,7 +438,6 @@ impl W { } #[doc = "Bit 24 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_host_rd_retry_int_ena( &mut self, ) -> SLC0_HOST_RD_RETRY_INT_ENA_W { @@ -470,7 +445,6 @@ impl W { } #[doc = "Bit 25 - *******Description***********"] #[inline(always)] - #[must_use] pub fn gpio_sdio_int_ena(&mut self) -> GPIO_SDIO_INT_ENA_W { GPIO_SDIO_INT_ENA_W::new(self, 25) } diff --git a/esp32c6/src/slchost/slc0host_int_ena1.rs b/esp32c6/src/slchost/slc0host_int_ena1.rs index f9f16a540a..c3133817fe 100644 --- a/esp32c6/src/slchost/slc0host_int_ena1.rs +++ b/esp32c6/src/slchost/slc0host_int_ena1.rs @@ -325,7 +325,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_tohost_bit0_int_ena1( &mut self, ) -> SLC0_TOHOST_BIT0_INT_ENA1_W { @@ -333,7 +332,6 @@ impl W { } #[doc = "Bit 1 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_tohost_bit1_int_ena1( &mut self, ) -> SLC0_TOHOST_BIT1_INT_ENA1_W { @@ -341,7 +339,6 @@ impl W { } #[doc = "Bit 2 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_tohost_bit2_int_ena1( &mut self, ) -> SLC0_TOHOST_BIT2_INT_ENA1_W { @@ -349,7 +346,6 @@ impl W { } #[doc = "Bit 3 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_tohost_bit3_int_ena1( &mut self, ) -> SLC0_TOHOST_BIT3_INT_ENA1_W { @@ -357,7 +353,6 @@ impl W { } #[doc = "Bit 4 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_tohost_bit4_int_ena1( &mut self, ) -> SLC0_TOHOST_BIT4_INT_ENA1_W { @@ -365,7 +360,6 @@ impl W { } #[doc = "Bit 5 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_tohost_bit5_int_ena1( &mut self, ) -> SLC0_TOHOST_BIT5_INT_ENA1_W { @@ -373,7 +367,6 @@ impl W { } #[doc = "Bit 6 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_tohost_bit6_int_ena1( &mut self, ) -> SLC0_TOHOST_BIT6_INT_ENA1_W { @@ -381,7 +374,6 @@ impl W { } #[doc = "Bit 7 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_tohost_bit7_int_ena1( &mut self, ) -> SLC0_TOHOST_BIT7_INT_ENA1_W { @@ -389,7 +381,6 @@ impl W { } #[doc = "Bit 8 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_token0_1to0_int_ena1( &mut self, ) -> SLC0_TOKEN0_1TO0_INT_ENA1_W { @@ -397,7 +388,6 @@ impl W { } #[doc = "Bit 9 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_token1_1to0_int_ena1( &mut self, ) -> SLC0_TOKEN1_1TO0_INT_ENA1_W { @@ -405,7 +395,6 @@ impl W { } #[doc = "Bit 10 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_token0_0to1_int_ena1( &mut self, ) -> SLC0_TOKEN0_0TO1_INT_ENA1_W { @@ -413,7 +402,6 @@ impl W { } #[doc = "Bit 11 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_token1_0to1_int_ena1( &mut self, ) -> SLC0_TOKEN1_0TO1_INT_ENA1_W { @@ -421,7 +409,6 @@ impl W { } #[doc = "Bit 12 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0host_rx_sof_int_ena1( &mut self, ) -> SLC0HOST_RX_SOF_INT_ENA1_W { @@ -429,7 +416,6 @@ impl W { } #[doc = "Bit 13 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0host_rx_eof_int_ena1( &mut self, ) -> SLC0HOST_RX_EOF_INT_ENA1_W { @@ -437,7 +423,6 @@ impl W { } #[doc = "Bit 14 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0host_rx_start_int_ena1( &mut self, ) -> SLC0HOST_RX_START_INT_ENA1_W { @@ -445,7 +430,6 @@ impl W { } #[doc = "Bit 15 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0host_tx_start_int_ena1( &mut self, ) -> SLC0HOST_TX_START_INT_ENA1_W { @@ -453,19 +437,16 @@ impl W { } #[doc = "Bit 16 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_rx_udf_int_ena1(&mut self) -> SLC0_RX_UDF_INT_ENA1_W { SLC0_RX_UDF_INT_ENA1_W::new(self, 16) } #[doc = "Bit 17 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_tx_ovf_int_ena1(&mut self) -> SLC0_TX_OVF_INT_ENA1_W { SLC0_TX_OVF_INT_ENA1_W::new(self, 17) } #[doc = "Bit 18 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_rx_pf_valid_int_ena1( &mut self, ) -> SLC0_RX_PF_VALID_INT_ENA1_W { @@ -473,31 +454,26 @@ impl W { } #[doc = "Bit 19 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_ext_bit0_int_ena1(&mut self) -> SLC0_EXT_BIT0_INT_ENA1_W { SLC0_EXT_BIT0_INT_ENA1_W::new(self, 19) } #[doc = "Bit 20 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_ext_bit1_int_ena1(&mut self) -> SLC0_EXT_BIT1_INT_ENA1_W { SLC0_EXT_BIT1_INT_ENA1_W::new(self, 20) } #[doc = "Bit 21 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_ext_bit2_int_ena1(&mut self) -> SLC0_EXT_BIT2_INT_ENA1_W { SLC0_EXT_BIT2_INT_ENA1_W::new(self, 21) } #[doc = "Bit 22 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_ext_bit3_int_ena1(&mut self) -> SLC0_EXT_BIT3_INT_ENA1_W { SLC0_EXT_BIT3_INT_ENA1_W::new(self, 22) } #[doc = "Bit 23 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_rx_new_packet_int_ena1( &mut self, ) -> SLC0_RX_NEW_PACKET_INT_ENA1_W { @@ -505,7 +481,6 @@ impl W { } #[doc = "Bit 24 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_host_rd_retry_int_ena1( &mut self, ) -> SLC0_HOST_RD_RETRY_INT_ENA1_W { @@ -513,7 +488,6 @@ impl W { } #[doc = "Bit 25 - *******Description***********"] #[inline(always)] - #[must_use] pub fn gpio_sdio_int_ena1(&mut self) -> GPIO_SDIO_INT_ENA1_W { GPIO_SDIO_INT_ENA1_W::new(self, 25) } diff --git a/esp32c6/src/slchost/slc0host_int_raw.rs b/esp32c6/src/slchost/slc0host_int_raw.rs index 8a5bc6f17b..8e8c5d636f 100644 --- a/esp32c6/src/slchost/slc0host_int_raw.rs +++ b/esp32c6/src/slchost/slc0host_int_raw.rs @@ -286,7 +286,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_tohost_bit0_int_raw( &mut self, ) -> SLC0_TOHOST_BIT0_INT_RAW_W { @@ -294,7 +293,6 @@ impl W { } #[doc = "Bit 1 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_tohost_bit1_int_raw( &mut self, ) -> SLC0_TOHOST_BIT1_INT_RAW_W { @@ -302,7 +300,6 @@ impl W { } #[doc = "Bit 2 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_tohost_bit2_int_raw( &mut self, ) -> SLC0_TOHOST_BIT2_INT_RAW_W { @@ -310,7 +307,6 @@ impl W { } #[doc = "Bit 3 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_tohost_bit3_int_raw( &mut self, ) -> SLC0_TOHOST_BIT3_INT_RAW_W { @@ -318,7 +314,6 @@ impl W { } #[doc = "Bit 4 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_tohost_bit4_int_raw( &mut self, ) -> SLC0_TOHOST_BIT4_INT_RAW_W { @@ -326,7 +321,6 @@ impl W { } #[doc = "Bit 5 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_tohost_bit5_int_raw( &mut self, ) -> SLC0_TOHOST_BIT5_INT_RAW_W { @@ -334,7 +328,6 @@ impl W { } #[doc = "Bit 6 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_tohost_bit6_int_raw( &mut self, ) -> SLC0_TOHOST_BIT6_INT_RAW_W { @@ -342,7 +335,6 @@ impl W { } #[doc = "Bit 7 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_tohost_bit7_int_raw( &mut self, ) -> SLC0_TOHOST_BIT7_INT_RAW_W { @@ -350,7 +342,6 @@ impl W { } #[doc = "Bit 8 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_token0_1to0_int_raw( &mut self, ) -> SLC0_TOKEN0_1TO0_INT_RAW_W { @@ -358,7 +349,6 @@ impl W { } #[doc = "Bit 9 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_token1_1to0_int_raw( &mut self, ) -> SLC0_TOKEN1_1TO0_INT_RAW_W { @@ -366,7 +356,6 @@ impl W { } #[doc = "Bit 10 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_token0_0to1_int_raw( &mut self, ) -> SLC0_TOKEN0_0TO1_INT_RAW_W { @@ -374,7 +363,6 @@ impl W { } #[doc = "Bit 11 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_token1_0to1_int_raw( &mut self, ) -> SLC0_TOKEN1_0TO1_INT_RAW_W { @@ -382,19 +370,16 @@ impl W { } #[doc = "Bit 12 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0host_rx_sof_int_raw(&mut self) -> SLC0HOST_RX_SOF_INT_RAW_W { SLC0HOST_RX_SOF_INT_RAW_W::new(self, 12) } #[doc = "Bit 13 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0host_rx_eof_int_raw(&mut self) -> SLC0HOST_RX_EOF_INT_RAW_W { SLC0HOST_RX_EOF_INT_RAW_W::new(self, 13) } #[doc = "Bit 14 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0host_rx_start_int_raw( &mut self, ) -> SLC0HOST_RX_START_INT_RAW_W { @@ -402,7 +387,6 @@ impl W { } #[doc = "Bit 15 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0host_tx_start_int_raw( &mut self, ) -> SLC0HOST_TX_START_INT_RAW_W { @@ -410,19 +394,16 @@ impl W { } #[doc = "Bit 16 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_rx_udf_int_raw(&mut self) -> SLC0_RX_UDF_INT_RAW_W { SLC0_RX_UDF_INT_RAW_W::new(self, 16) } #[doc = "Bit 17 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_tx_ovf_int_raw(&mut self) -> SLC0_TX_OVF_INT_RAW_W { SLC0_TX_OVF_INT_RAW_W::new(self, 17) } #[doc = "Bit 18 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_rx_pf_valid_int_raw( &mut self, ) -> SLC0_RX_PF_VALID_INT_RAW_W { @@ -430,31 +411,26 @@ impl W { } #[doc = "Bit 19 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_ext_bit0_int_raw(&mut self) -> SLC0_EXT_BIT0_INT_RAW_W { SLC0_EXT_BIT0_INT_RAW_W::new(self, 19) } #[doc = "Bit 20 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_ext_bit1_int_raw(&mut self) -> SLC0_EXT_BIT1_INT_RAW_W { SLC0_EXT_BIT1_INT_RAW_W::new(self, 20) } #[doc = "Bit 21 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_ext_bit2_int_raw(&mut self) -> SLC0_EXT_BIT2_INT_RAW_W { SLC0_EXT_BIT2_INT_RAW_W::new(self, 21) } #[doc = "Bit 22 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_ext_bit3_int_raw(&mut self) -> SLC0_EXT_BIT3_INT_RAW_W { SLC0_EXT_BIT3_INT_RAW_W::new(self, 22) } #[doc = "Bit 23 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_rx_new_packet_int_raw( &mut self, ) -> SLC0_RX_NEW_PACKET_INT_RAW_W { @@ -462,7 +438,6 @@ impl W { } #[doc = "Bit 24 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0_host_rd_retry_int_raw( &mut self, ) -> SLC0_HOST_RD_RETRY_INT_RAW_W { @@ -470,7 +445,6 @@ impl W { } #[doc = "Bit 25 - *******Description***********"] #[inline(always)] - #[must_use] pub fn gpio_sdio_int_raw(&mut self) -> GPIO_SDIO_INT_RAW_W { GPIO_SDIO_INT_RAW_W::new(self, 25) } diff --git a/esp32c6/src/slchost/slc0host_len_wd.rs b/esp32c6/src/slchost/slc0host_len_wd.rs index 5c4626527c..2957aff818 100644 --- a/esp32c6/src/slchost/slc0host_len_wd.rs +++ b/esp32c6/src/slchost/slc0host_len_wd.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0host_len_wd(&mut self) -> SLC0HOST_LEN_WD_W { SLC0HOST_LEN_WD_W::new(self, 0) } diff --git a/esp32c6/src/slchost/slc0host_rx_infor.rs b/esp32c6/src/slchost/slc0host_rx_infor.rs index c7634238d7..34e69d3780 100644 --- a/esp32c6/src/slchost/slc0host_rx_infor.rs +++ b/esp32c6/src/slchost/slc0host_rx_infor.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0host_rx_infor(&mut self) -> SLC0HOST_RX_INFOR_W { SLC0HOST_RX_INFOR_W::new(self, 0) } diff --git a/esp32c6/src/slchost/slc0host_token_wdata.rs b/esp32c6/src/slchost/slc0host_token_wdata.rs index 17e46e9ea8..6e7079849c 100644 --- a/esp32c6/src/slchost/slc0host_token_wdata.rs +++ b/esp32c6/src/slchost/slc0host_token_wdata.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0host_token0_wd(&mut self) -> SLC0HOST_TOKEN0_WD_W { SLC0HOST_TOKEN0_WD_W::new(self, 0) } #[doc = "Bits 16:27 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0host_token1_wd(&mut self) -> SLC0HOST_TOKEN1_WD_W { SLC0HOST_TOKEN1_WD_W::new(self, 16) } diff --git a/esp32c6/src/slchost/slc1host_func1_int_ena.rs b/esp32c6/src/slchost/slc1host_func1_int_ena.rs index e16cf491fc..25840b82a8 100644 --- a/esp32c6/src/slchost/slc1host_func1_int_ena.rs +++ b/esp32c6/src/slchost/slc1host_func1_int_ena.rs @@ -346,7 +346,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc1_tohost_bit0_int_ena( &mut self, ) -> FN1_SLC1_TOHOST_BIT0_INT_ENA_W { @@ -354,7 +353,6 @@ impl W { } #[doc = "Bit 1 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc1_tohost_bit1_int_ena( &mut self, ) -> FN1_SLC1_TOHOST_BIT1_INT_ENA_W { @@ -362,7 +360,6 @@ impl W { } #[doc = "Bit 2 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc1_tohost_bit2_int_ena( &mut self, ) -> FN1_SLC1_TOHOST_BIT2_INT_ENA_W { @@ -370,7 +367,6 @@ impl W { } #[doc = "Bit 3 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc1_tohost_bit3_int_ena( &mut self, ) -> FN1_SLC1_TOHOST_BIT3_INT_ENA_W { @@ -378,7 +374,6 @@ impl W { } #[doc = "Bit 4 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc1_tohost_bit4_int_ena( &mut self, ) -> FN1_SLC1_TOHOST_BIT4_INT_ENA_W { @@ -386,7 +381,6 @@ impl W { } #[doc = "Bit 5 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc1_tohost_bit5_int_ena( &mut self, ) -> FN1_SLC1_TOHOST_BIT5_INT_ENA_W { @@ -394,7 +388,6 @@ impl W { } #[doc = "Bit 6 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc1_tohost_bit6_int_ena( &mut self, ) -> FN1_SLC1_TOHOST_BIT6_INT_ENA_W { @@ -402,7 +395,6 @@ impl W { } #[doc = "Bit 7 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc1_tohost_bit7_int_ena( &mut self, ) -> FN1_SLC1_TOHOST_BIT7_INT_ENA_W { @@ -410,7 +402,6 @@ impl W { } #[doc = "Bit 8 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc1_token0_1to0_int_ena( &mut self, ) -> FN1_SLC1_TOKEN0_1TO0_INT_ENA_W { @@ -418,7 +409,6 @@ impl W { } #[doc = "Bit 9 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc1_token1_1to0_int_ena( &mut self, ) -> FN1_SLC1_TOKEN1_1TO0_INT_ENA_W { @@ -426,7 +416,6 @@ impl W { } #[doc = "Bit 10 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc1_token0_0to1_int_ena( &mut self, ) -> FN1_SLC1_TOKEN0_0TO1_INT_ENA_W { @@ -434,7 +423,6 @@ impl W { } #[doc = "Bit 11 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc1_token1_0to1_int_ena( &mut self, ) -> FN1_SLC1_TOKEN1_0TO1_INT_ENA_W { @@ -442,7 +430,6 @@ impl W { } #[doc = "Bit 12 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc1host_rx_sof_int_ena( &mut self, ) -> FN1_SLC1HOST_RX_SOF_INT_ENA_W { @@ -450,7 +437,6 @@ impl W { } #[doc = "Bit 13 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc1host_rx_eof_int_ena( &mut self, ) -> FN1_SLC1HOST_RX_EOF_INT_ENA_W { @@ -458,7 +444,6 @@ impl W { } #[doc = "Bit 14 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc1host_rx_start_int_ena( &mut self, ) -> FN1_SLC1HOST_RX_START_INT_ENA_W { @@ -466,7 +451,6 @@ impl W { } #[doc = "Bit 15 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc1host_tx_start_int_ena( &mut self, ) -> FN1_SLC1HOST_TX_START_INT_ENA_W { @@ -474,7 +458,6 @@ impl W { } #[doc = "Bit 16 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc1_rx_udf_int_ena( &mut self, ) -> FN1_SLC1_RX_UDF_INT_ENA_W { @@ -482,7 +465,6 @@ impl W { } #[doc = "Bit 17 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc1_tx_ovf_int_ena( &mut self, ) -> FN1_SLC1_TX_OVF_INT_ENA_W { @@ -490,7 +472,6 @@ impl W { } #[doc = "Bit 18 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc1_rx_pf_valid_int_ena( &mut self, ) -> FN1_SLC1_RX_PF_VALID_INT_ENA_W { @@ -498,7 +479,6 @@ impl W { } #[doc = "Bit 19 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc1_ext_bit0_int_ena( &mut self, ) -> FN1_SLC1_EXT_BIT0_INT_ENA_W { @@ -506,7 +486,6 @@ impl W { } #[doc = "Bit 20 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc1_ext_bit1_int_ena( &mut self, ) -> FN1_SLC1_EXT_BIT1_INT_ENA_W { @@ -514,7 +493,6 @@ impl W { } #[doc = "Bit 21 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc1_ext_bit2_int_ena( &mut self, ) -> FN1_SLC1_EXT_BIT2_INT_ENA_W { @@ -522,7 +500,6 @@ impl W { } #[doc = "Bit 22 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc1_ext_bit3_int_ena( &mut self, ) -> FN1_SLC1_EXT_BIT3_INT_ENA_W { @@ -530,7 +507,6 @@ impl W { } #[doc = "Bit 23 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc1_wifi_rx_new_packet_int_ena( &mut self, ) -> FN1_SLC1_WIFI_RX_NEW_PACKET_INT_ENA_W { @@ -538,7 +514,6 @@ impl W { } #[doc = "Bit 24 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc1_host_rd_retry_int_ena( &mut self, ) -> FN1_SLC1_HOST_RD_RETRY_INT_ENA_W { @@ -546,7 +521,6 @@ impl W { } #[doc = "Bit 25 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn1_slc1_bt_rx_new_packet_int_ena( &mut self, ) -> FN1_SLC1_BT_RX_NEW_PACKET_INT_ENA_W { diff --git a/esp32c6/src/slchost/slc1host_func2_int_ena.rs b/esp32c6/src/slchost/slc1host_func2_int_ena.rs index bf4d3a4046..6aa23e1758 100644 --- a/esp32c6/src/slchost/slc1host_func2_int_ena.rs +++ b/esp32c6/src/slchost/slc1host_func2_int_ena.rs @@ -346,7 +346,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc1_tohost_bit0_int_ena( &mut self, ) -> FN2_SLC1_TOHOST_BIT0_INT_ENA_W { @@ -354,7 +353,6 @@ impl W { } #[doc = "Bit 1 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc1_tohost_bit1_int_ena( &mut self, ) -> FN2_SLC1_TOHOST_BIT1_INT_ENA_W { @@ -362,7 +360,6 @@ impl W { } #[doc = "Bit 2 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc1_tohost_bit2_int_ena( &mut self, ) -> FN2_SLC1_TOHOST_BIT2_INT_ENA_W { @@ -370,7 +367,6 @@ impl W { } #[doc = "Bit 3 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc1_tohost_bit3_int_ena( &mut self, ) -> FN2_SLC1_TOHOST_BIT3_INT_ENA_W { @@ -378,7 +374,6 @@ impl W { } #[doc = "Bit 4 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc1_tohost_bit4_int_ena( &mut self, ) -> FN2_SLC1_TOHOST_BIT4_INT_ENA_W { @@ -386,7 +381,6 @@ impl W { } #[doc = "Bit 5 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc1_tohost_bit5_int_ena( &mut self, ) -> FN2_SLC1_TOHOST_BIT5_INT_ENA_W { @@ -394,7 +388,6 @@ impl W { } #[doc = "Bit 6 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc1_tohost_bit6_int_ena( &mut self, ) -> FN2_SLC1_TOHOST_BIT6_INT_ENA_W { @@ -402,7 +395,6 @@ impl W { } #[doc = "Bit 7 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc1_tohost_bit7_int_ena( &mut self, ) -> FN2_SLC1_TOHOST_BIT7_INT_ENA_W { @@ -410,7 +402,6 @@ impl W { } #[doc = "Bit 8 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc1_token0_1to0_int_ena( &mut self, ) -> FN2_SLC1_TOKEN0_1TO0_INT_ENA_W { @@ -418,7 +409,6 @@ impl W { } #[doc = "Bit 9 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc1_token1_1to0_int_ena( &mut self, ) -> FN2_SLC1_TOKEN1_1TO0_INT_ENA_W { @@ -426,7 +416,6 @@ impl W { } #[doc = "Bit 10 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc1_token0_0to1_int_ena( &mut self, ) -> FN2_SLC1_TOKEN0_0TO1_INT_ENA_W { @@ -434,7 +423,6 @@ impl W { } #[doc = "Bit 11 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc1_token1_0to1_int_ena( &mut self, ) -> FN2_SLC1_TOKEN1_0TO1_INT_ENA_W { @@ -442,7 +430,6 @@ impl W { } #[doc = "Bit 12 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc1host_rx_sof_int_ena( &mut self, ) -> FN2_SLC1HOST_RX_SOF_INT_ENA_W { @@ -450,7 +437,6 @@ impl W { } #[doc = "Bit 13 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc1host_rx_eof_int_ena( &mut self, ) -> FN2_SLC1HOST_RX_EOF_INT_ENA_W { @@ -458,7 +444,6 @@ impl W { } #[doc = "Bit 14 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc1host_rx_start_int_ena( &mut self, ) -> FN2_SLC1HOST_RX_START_INT_ENA_W { @@ -466,7 +451,6 @@ impl W { } #[doc = "Bit 15 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc1host_tx_start_int_ena( &mut self, ) -> FN2_SLC1HOST_TX_START_INT_ENA_W { @@ -474,7 +458,6 @@ impl W { } #[doc = "Bit 16 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc1_rx_udf_int_ena( &mut self, ) -> FN2_SLC1_RX_UDF_INT_ENA_W { @@ -482,7 +465,6 @@ impl W { } #[doc = "Bit 17 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc1_tx_ovf_int_ena( &mut self, ) -> FN2_SLC1_TX_OVF_INT_ENA_W { @@ -490,7 +472,6 @@ impl W { } #[doc = "Bit 18 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc1_rx_pf_valid_int_ena( &mut self, ) -> FN2_SLC1_RX_PF_VALID_INT_ENA_W { @@ -498,7 +479,6 @@ impl W { } #[doc = "Bit 19 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc1_ext_bit0_int_ena( &mut self, ) -> FN2_SLC1_EXT_BIT0_INT_ENA_W { @@ -506,7 +486,6 @@ impl W { } #[doc = "Bit 20 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc1_ext_bit1_int_ena( &mut self, ) -> FN2_SLC1_EXT_BIT1_INT_ENA_W { @@ -514,7 +493,6 @@ impl W { } #[doc = "Bit 21 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc1_ext_bit2_int_ena( &mut self, ) -> FN2_SLC1_EXT_BIT2_INT_ENA_W { @@ -522,7 +500,6 @@ impl W { } #[doc = "Bit 22 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc1_ext_bit3_int_ena( &mut self, ) -> FN2_SLC1_EXT_BIT3_INT_ENA_W { @@ -530,7 +507,6 @@ impl W { } #[doc = "Bit 23 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc1_wifi_rx_new_packet_int_ena( &mut self, ) -> FN2_SLC1_WIFI_RX_NEW_PACKET_INT_ENA_W { @@ -538,7 +514,6 @@ impl W { } #[doc = "Bit 24 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc1_host_rd_retry_int_ena( &mut self, ) -> FN2_SLC1_HOST_RD_RETRY_INT_ENA_W { @@ -546,7 +521,6 @@ impl W { } #[doc = "Bit 25 - *******Description***********"] #[inline(always)] - #[must_use] pub fn fn2_slc1_bt_rx_new_packet_int_ena( &mut self, ) -> FN2_SLC1_BT_RX_NEW_PACKET_INT_ENA_W { diff --git a/esp32c6/src/slchost/slc1host_int_clr.rs b/esp32c6/src/slchost/slc1host_int_clr.rs index 0e7da707e5..e45b58efe5 100644 --- a/esp32c6/src/slchost/slc1host_int_clr.rs +++ b/esp32c6/src/slchost/slc1host_int_clr.rs @@ -61,7 +61,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_tohost_bit0_int_clr( &mut self, ) -> SLC1_TOHOST_BIT0_INT_CLR_W { @@ -69,7 +68,6 @@ impl W { } #[doc = "Bit 1 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_tohost_bit1_int_clr( &mut self, ) -> SLC1_TOHOST_BIT1_INT_CLR_W { @@ -77,7 +75,6 @@ impl W { } #[doc = "Bit 2 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_tohost_bit2_int_clr( &mut self, ) -> SLC1_TOHOST_BIT2_INT_CLR_W { @@ -85,7 +82,6 @@ impl W { } #[doc = "Bit 3 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_tohost_bit3_int_clr( &mut self, ) -> SLC1_TOHOST_BIT3_INT_CLR_W { @@ -93,7 +89,6 @@ impl W { } #[doc = "Bit 4 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_tohost_bit4_int_clr( &mut self, ) -> SLC1_TOHOST_BIT4_INT_CLR_W { @@ -101,7 +96,6 @@ impl W { } #[doc = "Bit 5 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_tohost_bit5_int_clr( &mut self, ) -> SLC1_TOHOST_BIT5_INT_CLR_W { @@ -109,7 +103,6 @@ impl W { } #[doc = "Bit 6 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_tohost_bit6_int_clr( &mut self, ) -> SLC1_TOHOST_BIT6_INT_CLR_W { @@ -117,7 +110,6 @@ impl W { } #[doc = "Bit 7 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_tohost_bit7_int_clr( &mut self, ) -> SLC1_TOHOST_BIT7_INT_CLR_W { @@ -125,7 +117,6 @@ impl W { } #[doc = "Bit 8 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_token0_1to0_int_clr( &mut self, ) -> SLC1_TOKEN0_1TO0_INT_CLR_W { @@ -133,7 +124,6 @@ impl W { } #[doc = "Bit 9 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_token1_1to0_int_clr( &mut self, ) -> SLC1_TOKEN1_1TO0_INT_CLR_W { @@ -141,7 +131,6 @@ impl W { } #[doc = "Bit 10 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_token0_0to1_int_clr( &mut self, ) -> SLC1_TOKEN0_0TO1_INT_CLR_W { @@ -149,7 +138,6 @@ impl W { } #[doc = "Bit 11 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_token1_0to1_int_clr( &mut self, ) -> SLC1_TOKEN1_0TO1_INT_CLR_W { @@ -157,19 +145,16 @@ impl W { } #[doc = "Bit 12 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1host_rx_sof_int_clr(&mut self) -> SLC1HOST_RX_SOF_INT_CLR_W { SLC1HOST_RX_SOF_INT_CLR_W::new(self, 12) } #[doc = "Bit 13 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1host_rx_eof_int_clr(&mut self) -> SLC1HOST_RX_EOF_INT_CLR_W { SLC1HOST_RX_EOF_INT_CLR_W::new(self, 13) } #[doc = "Bit 14 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1host_rx_start_int_clr( &mut self, ) -> SLC1HOST_RX_START_INT_CLR_W { @@ -177,7 +162,6 @@ impl W { } #[doc = "Bit 15 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1host_tx_start_int_clr( &mut self, ) -> SLC1HOST_TX_START_INT_CLR_W { @@ -185,19 +169,16 @@ impl W { } #[doc = "Bit 16 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_rx_udf_int_clr(&mut self) -> SLC1_RX_UDF_INT_CLR_W { SLC1_RX_UDF_INT_CLR_W::new(self, 16) } #[doc = "Bit 17 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_tx_ovf_int_clr(&mut self) -> SLC1_TX_OVF_INT_CLR_W { SLC1_TX_OVF_INT_CLR_W::new(self, 17) } #[doc = "Bit 18 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_rx_pf_valid_int_clr( &mut self, ) -> SLC1_RX_PF_VALID_INT_CLR_W { @@ -205,31 +186,26 @@ impl W { } #[doc = "Bit 19 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_ext_bit0_int_clr(&mut self) -> SLC1_EXT_BIT0_INT_CLR_W { SLC1_EXT_BIT0_INT_CLR_W::new(self, 19) } #[doc = "Bit 20 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_ext_bit1_int_clr(&mut self) -> SLC1_EXT_BIT1_INT_CLR_W { SLC1_EXT_BIT1_INT_CLR_W::new(self, 20) } #[doc = "Bit 21 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_ext_bit2_int_clr(&mut self) -> SLC1_EXT_BIT2_INT_CLR_W { SLC1_EXT_BIT2_INT_CLR_W::new(self, 21) } #[doc = "Bit 22 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_ext_bit3_int_clr(&mut self) -> SLC1_EXT_BIT3_INT_CLR_W { SLC1_EXT_BIT3_INT_CLR_W::new(self, 22) } #[doc = "Bit 23 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_wifi_rx_new_packet_int_clr( &mut self, ) -> SLC1_WIFI_RX_NEW_PACKET_INT_CLR_W { @@ -237,7 +213,6 @@ impl W { } #[doc = "Bit 24 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_host_rd_retry_int_clr( &mut self, ) -> SLC1_HOST_RD_RETRY_INT_CLR_W { @@ -245,7 +220,6 @@ impl W { } #[doc = "Bit 25 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_bt_rx_new_packet_int_clr( &mut self, ) -> SLC1_BT_RX_NEW_PACKET_INT_CLR_W { diff --git a/esp32c6/src/slchost/slc1host_int_ena.rs b/esp32c6/src/slchost/slc1host_int_ena.rs index f785b72b8f..bc22a8d24b 100644 --- a/esp32c6/src/slchost/slc1host_int_ena.rs +++ b/esp32c6/src/slchost/slc1host_int_ena.rs @@ -289,7 +289,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_tohost_bit0_int_ena( &mut self, ) -> SLC1_TOHOST_BIT0_INT_ENA_W { @@ -297,7 +296,6 @@ impl W { } #[doc = "Bit 1 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_tohost_bit1_int_ena( &mut self, ) -> SLC1_TOHOST_BIT1_INT_ENA_W { @@ -305,7 +303,6 @@ impl W { } #[doc = "Bit 2 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_tohost_bit2_int_ena( &mut self, ) -> SLC1_TOHOST_BIT2_INT_ENA_W { @@ -313,7 +310,6 @@ impl W { } #[doc = "Bit 3 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_tohost_bit3_int_ena( &mut self, ) -> SLC1_TOHOST_BIT3_INT_ENA_W { @@ -321,7 +317,6 @@ impl W { } #[doc = "Bit 4 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_tohost_bit4_int_ena( &mut self, ) -> SLC1_TOHOST_BIT4_INT_ENA_W { @@ -329,7 +324,6 @@ impl W { } #[doc = "Bit 5 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_tohost_bit5_int_ena( &mut self, ) -> SLC1_TOHOST_BIT5_INT_ENA_W { @@ -337,7 +331,6 @@ impl W { } #[doc = "Bit 6 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_tohost_bit6_int_ena( &mut self, ) -> SLC1_TOHOST_BIT6_INT_ENA_W { @@ -345,7 +338,6 @@ impl W { } #[doc = "Bit 7 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_tohost_bit7_int_ena( &mut self, ) -> SLC1_TOHOST_BIT7_INT_ENA_W { @@ -353,7 +345,6 @@ impl W { } #[doc = "Bit 8 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_token0_1to0_int_ena( &mut self, ) -> SLC1_TOKEN0_1TO0_INT_ENA_W { @@ -361,7 +352,6 @@ impl W { } #[doc = "Bit 9 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_token1_1to0_int_ena( &mut self, ) -> SLC1_TOKEN1_1TO0_INT_ENA_W { @@ -369,7 +359,6 @@ impl W { } #[doc = "Bit 10 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_token0_0to1_int_ena( &mut self, ) -> SLC1_TOKEN0_0TO1_INT_ENA_W { @@ -377,7 +366,6 @@ impl W { } #[doc = "Bit 11 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_token1_0to1_int_ena( &mut self, ) -> SLC1_TOKEN1_0TO1_INT_ENA_W { @@ -385,19 +373,16 @@ impl W { } #[doc = "Bit 12 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1host_rx_sof_int_ena(&mut self) -> SLC1HOST_RX_SOF_INT_ENA_W { SLC1HOST_RX_SOF_INT_ENA_W::new(self, 12) } #[doc = "Bit 13 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1host_rx_eof_int_ena(&mut self) -> SLC1HOST_RX_EOF_INT_ENA_W { SLC1HOST_RX_EOF_INT_ENA_W::new(self, 13) } #[doc = "Bit 14 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1host_rx_start_int_ena( &mut self, ) -> SLC1HOST_RX_START_INT_ENA_W { @@ -405,7 +390,6 @@ impl W { } #[doc = "Bit 15 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1host_tx_start_int_ena( &mut self, ) -> SLC1HOST_TX_START_INT_ENA_W { @@ -413,19 +397,16 @@ impl W { } #[doc = "Bit 16 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_rx_udf_int_ena(&mut self) -> SLC1_RX_UDF_INT_ENA_W { SLC1_RX_UDF_INT_ENA_W::new(self, 16) } #[doc = "Bit 17 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_tx_ovf_int_ena(&mut self) -> SLC1_TX_OVF_INT_ENA_W { SLC1_TX_OVF_INT_ENA_W::new(self, 17) } #[doc = "Bit 18 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_rx_pf_valid_int_ena( &mut self, ) -> SLC1_RX_PF_VALID_INT_ENA_W { @@ -433,31 +414,26 @@ impl W { } #[doc = "Bit 19 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_ext_bit0_int_ena(&mut self) -> SLC1_EXT_BIT0_INT_ENA_W { SLC1_EXT_BIT0_INT_ENA_W::new(self, 19) } #[doc = "Bit 20 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_ext_bit1_int_ena(&mut self) -> SLC1_EXT_BIT1_INT_ENA_W { SLC1_EXT_BIT1_INT_ENA_W::new(self, 20) } #[doc = "Bit 21 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_ext_bit2_int_ena(&mut self) -> SLC1_EXT_BIT2_INT_ENA_W { SLC1_EXT_BIT2_INT_ENA_W::new(self, 21) } #[doc = "Bit 22 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_ext_bit3_int_ena(&mut self) -> SLC1_EXT_BIT3_INT_ENA_W { SLC1_EXT_BIT3_INT_ENA_W::new(self, 22) } #[doc = "Bit 23 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_wifi_rx_new_packet_int_ena( &mut self, ) -> SLC1_WIFI_RX_NEW_PACKET_INT_ENA_W { @@ -465,7 +441,6 @@ impl W { } #[doc = "Bit 24 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_host_rd_retry_int_ena( &mut self, ) -> SLC1_HOST_RD_RETRY_INT_ENA_W { @@ -473,7 +448,6 @@ impl W { } #[doc = "Bit 25 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_bt_rx_new_packet_int_ena( &mut self, ) -> SLC1_BT_RX_NEW_PACKET_INT_ENA_W { diff --git a/esp32c6/src/slchost/slc1host_int_ena1.rs b/esp32c6/src/slchost/slc1host_int_ena1.rs index 51843d0cea..f5ac172560 100644 --- a/esp32c6/src/slchost/slc1host_int_ena1.rs +++ b/esp32c6/src/slchost/slc1host_int_ena1.rs @@ -328,7 +328,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_tohost_bit0_int_ena1( &mut self, ) -> SLC1_TOHOST_BIT0_INT_ENA1_W { @@ -336,7 +335,6 @@ impl W { } #[doc = "Bit 1 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_tohost_bit1_int_ena1( &mut self, ) -> SLC1_TOHOST_BIT1_INT_ENA1_W { @@ -344,7 +342,6 @@ impl W { } #[doc = "Bit 2 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_tohost_bit2_int_ena1( &mut self, ) -> SLC1_TOHOST_BIT2_INT_ENA1_W { @@ -352,7 +349,6 @@ impl W { } #[doc = "Bit 3 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_tohost_bit3_int_ena1( &mut self, ) -> SLC1_TOHOST_BIT3_INT_ENA1_W { @@ -360,7 +356,6 @@ impl W { } #[doc = "Bit 4 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_tohost_bit4_int_ena1( &mut self, ) -> SLC1_TOHOST_BIT4_INT_ENA1_W { @@ -368,7 +363,6 @@ impl W { } #[doc = "Bit 5 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_tohost_bit5_int_ena1( &mut self, ) -> SLC1_TOHOST_BIT5_INT_ENA1_W { @@ -376,7 +370,6 @@ impl W { } #[doc = "Bit 6 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_tohost_bit6_int_ena1( &mut self, ) -> SLC1_TOHOST_BIT6_INT_ENA1_W { @@ -384,7 +377,6 @@ impl W { } #[doc = "Bit 7 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_tohost_bit7_int_ena1( &mut self, ) -> SLC1_TOHOST_BIT7_INT_ENA1_W { @@ -392,7 +384,6 @@ impl W { } #[doc = "Bit 8 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_token0_1to0_int_ena1( &mut self, ) -> SLC1_TOKEN0_1TO0_INT_ENA1_W { @@ -400,7 +391,6 @@ impl W { } #[doc = "Bit 9 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_token1_1to0_int_ena1( &mut self, ) -> SLC1_TOKEN1_1TO0_INT_ENA1_W { @@ -408,7 +398,6 @@ impl W { } #[doc = "Bit 10 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_token0_0to1_int_ena1( &mut self, ) -> SLC1_TOKEN0_0TO1_INT_ENA1_W { @@ -416,7 +405,6 @@ impl W { } #[doc = "Bit 11 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_token1_0to1_int_ena1( &mut self, ) -> SLC1_TOKEN1_0TO1_INT_ENA1_W { @@ -424,7 +412,6 @@ impl W { } #[doc = "Bit 12 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1host_rx_sof_int_ena1( &mut self, ) -> SLC1HOST_RX_SOF_INT_ENA1_W { @@ -432,7 +419,6 @@ impl W { } #[doc = "Bit 13 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1host_rx_eof_int_ena1( &mut self, ) -> SLC1HOST_RX_EOF_INT_ENA1_W { @@ -440,7 +426,6 @@ impl W { } #[doc = "Bit 14 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1host_rx_start_int_ena1( &mut self, ) -> SLC1HOST_RX_START_INT_ENA1_W { @@ -448,7 +433,6 @@ impl W { } #[doc = "Bit 15 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1host_tx_start_int_ena1( &mut self, ) -> SLC1HOST_TX_START_INT_ENA1_W { @@ -456,19 +440,16 @@ impl W { } #[doc = "Bit 16 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_rx_udf_int_ena1(&mut self) -> SLC1_RX_UDF_INT_ENA1_W { SLC1_RX_UDF_INT_ENA1_W::new(self, 16) } #[doc = "Bit 17 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_tx_ovf_int_ena1(&mut self) -> SLC1_TX_OVF_INT_ENA1_W { SLC1_TX_OVF_INT_ENA1_W::new(self, 17) } #[doc = "Bit 18 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_rx_pf_valid_int_ena1( &mut self, ) -> SLC1_RX_PF_VALID_INT_ENA1_W { @@ -476,31 +457,26 @@ impl W { } #[doc = "Bit 19 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_ext_bit0_int_ena1(&mut self) -> SLC1_EXT_BIT0_INT_ENA1_W { SLC1_EXT_BIT0_INT_ENA1_W::new(self, 19) } #[doc = "Bit 20 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_ext_bit1_int_ena1(&mut self) -> SLC1_EXT_BIT1_INT_ENA1_W { SLC1_EXT_BIT1_INT_ENA1_W::new(self, 20) } #[doc = "Bit 21 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_ext_bit2_int_ena1(&mut self) -> SLC1_EXT_BIT2_INT_ENA1_W { SLC1_EXT_BIT2_INT_ENA1_W::new(self, 21) } #[doc = "Bit 22 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_ext_bit3_int_ena1(&mut self) -> SLC1_EXT_BIT3_INT_ENA1_W { SLC1_EXT_BIT3_INT_ENA1_W::new(self, 22) } #[doc = "Bit 23 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_wifi_rx_new_packet_int_ena1( &mut self, ) -> SLC1_WIFI_RX_NEW_PACKET_INT_ENA1_W { @@ -508,7 +484,6 @@ impl W { } #[doc = "Bit 24 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_host_rd_retry_int_ena1( &mut self, ) -> SLC1_HOST_RD_RETRY_INT_ENA1_W { @@ -516,7 +491,6 @@ impl W { } #[doc = "Bit 25 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_bt_rx_new_packet_int_ena1( &mut self, ) -> SLC1_BT_RX_NEW_PACKET_INT_ENA1_W { diff --git a/esp32c6/src/slchost/slc1host_int_raw.rs b/esp32c6/src/slchost/slc1host_int_raw.rs index d6f9f525f8..e40ab49015 100644 --- a/esp32c6/src/slchost/slc1host_int_raw.rs +++ b/esp32c6/src/slchost/slc1host_int_raw.rs @@ -289,7 +289,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_tohost_bit0_int_raw( &mut self, ) -> SLC1_TOHOST_BIT0_INT_RAW_W { @@ -297,7 +296,6 @@ impl W { } #[doc = "Bit 1 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_tohost_bit1_int_raw( &mut self, ) -> SLC1_TOHOST_BIT1_INT_RAW_W { @@ -305,7 +303,6 @@ impl W { } #[doc = "Bit 2 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_tohost_bit2_int_raw( &mut self, ) -> SLC1_TOHOST_BIT2_INT_RAW_W { @@ -313,7 +310,6 @@ impl W { } #[doc = "Bit 3 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_tohost_bit3_int_raw( &mut self, ) -> SLC1_TOHOST_BIT3_INT_RAW_W { @@ -321,7 +317,6 @@ impl W { } #[doc = "Bit 4 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_tohost_bit4_int_raw( &mut self, ) -> SLC1_TOHOST_BIT4_INT_RAW_W { @@ -329,7 +324,6 @@ impl W { } #[doc = "Bit 5 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_tohost_bit5_int_raw( &mut self, ) -> SLC1_TOHOST_BIT5_INT_RAW_W { @@ -337,7 +331,6 @@ impl W { } #[doc = "Bit 6 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_tohost_bit6_int_raw( &mut self, ) -> SLC1_TOHOST_BIT6_INT_RAW_W { @@ -345,7 +338,6 @@ impl W { } #[doc = "Bit 7 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_tohost_bit7_int_raw( &mut self, ) -> SLC1_TOHOST_BIT7_INT_RAW_W { @@ -353,7 +345,6 @@ impl W { } #[doc = "Bit 8 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_token0_1to0_int_raw( &mut self, ) -> SLC1_TOKEN0_1TO0_INT_RAW_W { @@ -361,7 +352,6 @@ impl W { } #[doc = "Bit 9 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_token1_1to0_int_raw( &mut self, ) -> SLC1_TOKEN1_1TO0_INT_RAW_W { @@ -369,7 +359,6 @@ impl W { } #[doc = "Bit 10 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_token0_0to1_int_raw( &mut self, ) -> SLC1_TOKEN0_0TO1_INT_RAW_W { @@ -377,7 +366,6 @@ impl W { } #[doc = "Bit 11 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_token1_0to1_int_raw( &mut self, ) -> SLC1_TOKEN1_0TO1_INT_RAW_W { @@ -385,19 +373,16 @@ impl W { } #[doc = "Bit 12 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1host_rx_sof_int_raw(&mut self) -> SLC1HOST_RX_SOF_INT_RAW_W { SLC1HOST_RX_SOF_INT_RAW_W::new(self, 12) } #[doc = "Bit 13 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1host_rx_eof_int_raw(&mut self) -> SLC1HOST_RX_EOF_INT_RAW_W { SLC1HOST_RX_EOF_INT_RAW_W::new(self, 13) } #[doc = "Bit 14 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1host_rx_start_int_raw( &mut self, ) -> SLC1HOST_RX_START_INT_RAW_W { @@ -405,7 +390,6 @@ impl W { } #[doc = "Bit 15 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1host_tx_start_int_raw( &mut self, ) -> SLC1HOST_TX_START_INT_RAW_W { @@ -413,19 +397,16 @@ impl W { } #[doc = "Bit 16 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_rx_udf_int_raw(&mut self) -> SLC1_RX_UDF_INT_RAW_W { SLC1_RX_UDF_INT_RAW_W::new(self, 16) } #[doc = "Bit 17 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_tx_ovf_int_raw(&mut self) -> SLC1_TX_OVF_INT_RAW_W { SLC1_TX_OVF_INT_RAW_W::new(self, 17) } #[doc = "Bit 18 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_rx_pf_valid_int_raw( &mut self, ) -> SLC1_RX_PF_VALID_INT_RAW_W { @@ -433,31 +414,26 @@ impl W { } #[doc = "Bit 19 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_ext_bit0_int_raw(&mut self) -> SLC1_EXT_BIT0_INT_RAW_W { SLC1_EXT_BIT0_INT_RAW_W::new(self, 19) } #[doc = "Bit 20 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_ext_bit1_int_raw(&mut self) -> SLC1_EXT_BIT1_INT_RAW_W { SLC1_EXT_BIT1_INT_RAW_W::new(self, 20) } #[doc = "Bit 21 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_ext_bit2_int_raw(&mut self) -> SLC1_EXT_BIT2_INT_RAW_W { SLC1_EXT_BIT2_INT_RAW_W::new(self, 21) } #[doc = "Bit 22 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_ext_bit3_int_raw(&mut self) -> SLC1_EXT_BIT3_INT_RAW_W { SLC1_EXT_BIT3_INT_RAW_W::new(self, 22) } #[doc = "Bit 23 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_wifi_rx_new_packet_int_raw( &mut self, ) -> SLC1_WIFI_RX_NEW_PACKET_INT_RAW_W { @@ -465,7 +441,6 @@ impl W { } #[doc = "Bit 24 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_host_rd_retry_int_raw( &mut self, ) -> SLC1_HOST_RD_RETRY_INT_RAW_W { @@ -473,7 +448,6 @@ impl W { } #[doc = "Bit 25 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1_bt_rx_new_packet_int_raw( &mut self, ) -> SLC1_BT_RX_NEW_PACKET_INT_RAW_W { diff --git a/esp32c6/src/slchost/slc1host_rx_infor.rs b/esp32c6/src/slchost/slc1host_rx_infor.rs index b599e42fdc..eaa11356bc 100644 --- a/esp32c6/src/slchost/slc1host_rx_infor.rs +++ b/esp32c6/src/slchost/slc1host_rx_infor.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1host_rx_infor(&mut self) -> SLC1HOST_RX_INFOR_W { SLC1HOST_RX_INFOR_W::new(self, 0) } diff --git a/esp32c6/src/slchost/slc1host_token_wdata.rs b/esp32c6/src/slchost/slc1host_token_wdata.rs index e77ca6451c..d66d682bce 100644 --- a/esp32c6/src/slchost/slc1host_token_wdata.rs +++ b/esp32c6/src/slchost/slc1host_token_wdata.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1host_token0_wd(&mut self) -> SLC1HOST_TOKEN0_WD_W { SLC1HOST_TOKEN0_WD_W::new(self, 0) } #[doc = "Bits 16:27 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1host_token1_wd(&mut self) -> SLC1HOST_TOKEN1_WD_W { SLC1HOST_TOKEN1_WD_W::new(self, 16) } diff --git a/esp32c6/src/slchost/slc_apbwin_conf.rs b/esp32c6/src/slchost/slc_apbwin_conf.rs index 9eeaa72cce..967aef2fb8 100644 --- a/esp32c6/src/slchost/slc_apbwin_conf.rs +++ b/esp32c6/src/slchost/slc_apbwin_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc_apbwin_addr(&mut self) -> SLC_APBWIN_ADDR_W { SLC_APBWIN_ADDR_W::new(self, 0) } #[doc = "Bit 28 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc_apbwin_wr(&mut self) -> SLC_APBWIN_WR_W { SLC_APBWIN_WR_W::new(self, 28) } #[doc = "Bit 29 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc_apbwin_start(&mut self) -> SLC_APBWIN_START_W { SLC_APBWIN_START_W::new(self, 29) } diff --git a/esp32c6/src/slchost/slc_apbwin_wdata.rs b/esp32c6/src/slchost/slc_apbwin_wdata.rs index 25afddc1fa..52c8a7bf7e 100644 --- a/esp32c6/src/slchost/slc_apbwin_wdata.rs +++ b/esp32c6/src/slchost/slc_apbwin_wdata.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc_apbwin_wdata(&mut self) -> SLC_APBWIN_WDATA_W { SLC_APBWIN_WDATA_W::new(self, 0) } diff --git a/esp32c6/src/slchost/slchostdate.rs b/esp32c6/src/slchost/slchostdate.rs index 5c74ae77c2..669c997b69 100644 --- a/esp32c6/src/slchost/slchostdate.rs +++ b/esp32c6/src/slchost/slchostdate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_date(&mut self) -> SLCHOST_DATE_W { SLCHOST_DATE_W::new(self, 0) } diff --git a/esp32c6/src/slchost/slchostid.rs b/esp32c6/src/slchost/slchostid.rs index 469d96067e..f36ef3235f 100644 --- a/esp32c6/src/slchost/slchostid.rs +++ b/esp32c6/src/slchost/slchostid.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_id(&mut self) -> SLCHOST_ID_W { SLCHOST_ID_W::new(self, 0) } diff --git a/esp32c6/src/slchost/token_con.rs b/esp32c6/src/slchost/token_con.rs index 2d818d4f5f..558e2ef287 100644 --- a/esp32c6/src/slchost/token_con.rs +++ b/esp32c6/src/slchost/token_con.rs @@ -27,55 +27,46 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0host_token0_dec(&mut self) -> SLC0HOST_TOKEN0_DEC_W { SLC0HOST_TOKEN0_DEC_W::new(self, 0) } #[doc = "Bit 1 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0host_token1_dec(&mut self) -> SLC0HOST_TOKEN1_DEC_W { SLC0HOST_TOKEN1_DEC_W::new(self, 1) } #[doc = "Bit 2 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0host_token0_wr(&mut self) -> SLC0HOST_TOKEN0_WR_W { SLC0HOST_TOKEN0_WR_W::new(self, 2) } #[doc = "Bit 3 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0host_token1_wr(&mut self) -> SLC0HOST_TOKEN1_WR_W { SLC0HOST_TOKEN1_WR_W::new(self, 3) } #[doc = "Bit 4 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1host_token0_dec(&mut self) -> SLC1HOST_TOKEN0_DEC_W { SLC1HOST_TOKEN0_DEC_W::new(self, 4) } #[doc = "Bit 5 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1host_token1_dec(&mut self) -> SLC1HOST_TOKEN1_DEC_W { SLC1HOST_TOKEN1_DEC_W::new(self, 5) } #[doc = "Bit 6 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1host_token0_wr(&mut self) -> SLC1HOST_TOKEN0_WR_W { SLC1HOST_TOKEN0_WR_W::new(self, 6) } #[doc = "Bit 7 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc1host_token1_wr(&mut self) -> SLC1HOST_TOKEN1_WR_W { SLC1HOST_TOKEN1_WR_W::new(self, 7) } #[doc = "Bit 8 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slc0host_len_wr(&mut self) -> SLC0HOST_LEN_WR_W { SLC0HOST_LEN_WR_W::new(self, 8) } diff --git a/esp32c6/src/slchost/win_cmd.rs b/esp32c6/src/slchost/win_cmd.rs index 755512eb46..c245d0b107 100644 --- a/esp32c6/src/slchost/win_cmd.rs +++ b/esp32c6/src/slchost/win_cmd.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - *******Description***********"] #[inline(always)] - #[must_use] pub fn slchost_win_cmd(&mut self) -> SLCHOST_WIN_CMD_W { SLCHOST_WIN_CMD_W::new(self, 0) } diff --git a/esp32c6/src/soc_etm/ch/evt_id.rs b/esp32c6/src/soc_etm/ch/evt_id.rs index 48ba238e66..f3b745d22b 100644 --- a/esp32c6/src/soc_etm/ch/evt_id.rs +++ b/esp32c6/src/soc_etm/ch/evt_id.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - ch0_evt_id"] #[inline(always)] - #[must_use] pub fn evt_id(&mut self) -> EVT_ID_W { EVT_ID_W::new(self, 0) } diff --git a/esp32c6/src/soc_etm/ch/task_id.rs b/esp32c6/src/soc_etm/ch/task_id.rs index af2df54177..f8d7dcb8a4 100644 --- a/esp32c6/src/soc_etm/ch/task_id.rs +++ b/esp32c6/src/soc_etm/ch/task_id.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - ch0_task_id"] #[inline(always)] - #[must_use] pub fn task_id(&mut self) -> TASK_ID_W { TASK_ID_W::new(self, 0) } diff --git a/esp32c6/src/soc_etm/ch_ena_ad0.rs b/esp32c6/src/soc_etm/ch_ena_ad0.rs index db3ac0fb04..b0418ce6b0 100644 --- a/esp32c6/src/soc_etm/ch_ena_ad0.rs +++ b/esp32c6/src/soc_etm/ch_ena_ad0.rs @@ -227,7 +227,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH_ENA0` field.
"] #[inline(always)] - #[must_use] pub fn ch_ena(&mut self, n: u8) -> CH_ENA_W { #[allow(clippy::no_effect)] [(); 32][n as usize]; @@ -235,193 +234,161 @@ impl W { } #[doc = "Bit 0 - ch0 enable"] #[inline(always)] - #[must_use] pub fn ch_ena0(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 0) } #[doc = "Bit 1 - ch1 enable"] #[inline(always)] - #[must_use] pub fn ch_ena1(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 1) } #[doc = "Bit 2 - ch2 enable"] #[inline(always)] - #[must_use] pub fn ch_ena2(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 2) } #[doc = "Bit 3 - ch3 enable"] #[inline(always)] - #[must_use] pub fn ch_ena3(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 3) } #[doc = "Bit 4 - ch4 enable"] #[inline(always)] - #[must_use] pub fn ch_ena4(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 4) } #[doc = "Bit 5 - ch5 enable"] #[inline(always)] - #[must_use] pub fn ch_ena5(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 5) } #[doc = "Bit 6 - ch6 enable"] #[inline(always)] - #[must_use] pub fn ch_ena6(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 6) } #[doc = "Bit 7 - ch7 enable"] #[inline(always)] - #[must_use] pub fn ch_ena7(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 7) } #[doc = "Bit 8 - ch8 enable"] #[inline(always)] - #[must_use] pub fn ch_ena8(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 8) } #[doc = "Bit 9 - ch9 enable"] #[inline(always)] - #[must_use] pub fn ch_ena9(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 9) } #[doc = "Bit 10 - ch10 enable"] #[inline(always)] - #[must_use] pub fn ch_ena10(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 10) } #[doc = "Bit 11 - ch11 enable"] #[inline(always)] - #[must_use] pub fn ch_ena11(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 11) } #[doc = "Bit 12 - ch12 enable"] #[inline(always)] - #[must_use] pub fn ch_ena12(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 12) } #[doc = "Bit 13 - ch13 enable"] #[inline(always)] - #[must_use] pub fn ch_ena13(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 13) } #[doc = "Bit 14 - ch14 enable"] #[inline(always)] - #[must_use] pub fn ch_ena14(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 14) } #[doc = "Bit 15 - ch15 enable"] #[inline(always)] - #[must_use] pub fn ch_ena15(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 15) } #[doc = "Bit 16 - ch16 enable"] #[inline(always)] - #[must_use] pub fn ch_ena16(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 16) } #[doc = "Bit 17 - ch17 enable"] #[inline(always)] - #[must_use] pub fn ch_ena17(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 17) } #[doc = "Bit 18 - ch18 enable"] #[inline(always)] - #[must_use] pub fn ch_ena18(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 18) } #[doc = "Bit 19 - ch19 enable"] #[inline(always)] - #[must_use] pub fn ch_ena19(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 19) } #[doc = "Bit 20 - ch20 enable"] #[inline(always)] - #[must_use] pub fn ch_ena20(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 20) } #[doc = "Bit 21 - ch21 enable"] #[inline(always)] - #[must_use] pub fn ch_ena21(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 21) } #[doc = "Bit 22 - ch22 enable"] #[inline(always)] - #[must_use] pub fn ch_ena22(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 22) } #[doc = "Bit 23 - ch23 enable"] #[inline(always)] - #[must_use] pub fn ch_ena23(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 23) } #[doc = "Bit 24 - ch24 enable"] #[inline(always)] - #[must_use] pub fn ch_ena24(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 24) } #[doc = "Bit 25 - ch25 enable"] #[inline(always)] - #[must_use] pub fn ch_ena25(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 25) } #[doc = "Bit 26 - ch26 enable"] #[inline(always)] - #[must_use] pub fn ch_ena26(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 26) } #[doc = "Bit 27 - ch27 enable"] #[inline(always)] - #[must_use] pub fn ch_ena27(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 27) } #[doc = "Bit 28 - ch28 enable"] #[inline(always)] - #[must_use] pub fn ch_ena28(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 28) } #[doc = "Bit 29 - ch29 enable"] #[inline(always)] - #[must_use] pub fn ch_ena29(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 29) } #[doc = "Bit 30 - ch30 enable"] #[inline(always)] - #[must_use] pub fn ch_ena30(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 30) } #[doc = "Bit 31 - ch31 enable"] #[inline(always)] - #[must_use] pub fn ch_ena31(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 31) } diff --git a/esp32c6/src/soc_etm/ch_ena_ad0_clr.rs b/esp32c6/src/soc_etm/ch_ena_ad0_clr.rs index d2479e459a..3f47e29e49 100644 --- a/esp32c6/src/soc_etm/ch_ena_ad0_clr.rs +++ b/esp32c6/src/soc_etm/ch_ena_ad0_clr.rs @@ -13,7 +13,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH_CLR0` field.
"] #[inline(always)] - #[must_use] pub fn ch_clr(&mut self, n: u8) -> CH_CLR_W { #[allow(clippy::no_effect)] [(); 32][n as usize]; @@ -21,193 +20,161 @@ impl W { } #[doc = "Bit 0 - ch0 clear"] #[inline(always)] - #[must_use] pub fn ch_clr0(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 0) } #[doc = "Bit 1 - ch1 clear"] #[inline(always)] - #[must_use] pub fn ch_clr1(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 1) } #[doc = "Bit 2 - ch2 clear"] #[inline(always)] - #[must_use] pub fn ch_clr2(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 2) } #[doc = "Bit 3 - ch3 clear"] #[inline(always)] - #[must_use] pub fn ch_clr3(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 3) } #[doc = "Bit 4 - ch4 clear"] #[inline(always)] - #[must_use] pub fn ch_clr4(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 4) } #[doc = "Bit 5 - ch5 clear"] #[inline(always)] - #[must_use] pub fn ch_clr5(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 5) } #[doc = "Bit 6 - ch6 clear"] #[inline(always)] - #[must_use] pub fn ch_clr6(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 6) } #[doc = "Bit 7 - ch7 clear"] #[inline(always)] - #[must_use] pub fn ch_clr7(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 7) } #[doc = "Bit 8 - ch8 clear"] #[inline(always)] - #[must_use] pub fn ch_clr8(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 8) } #[doc = "Bit 9 - ch9 clear"] #[inline(always)] - #[must_use] pub fn ch_clr9(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 9) } #[doc = "Bit 10 - ch10 clear"] #[inline(always)] - #[must_use] pub fn ch_clr10(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 10) } #[doc = "Bit 11 - ch11 clear"] #[inline(always)] - #[must_use] pub fn ch_clr11(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 11) } #[doc = "Bit 12 - ch12 clear"] #[inline(always)] - #[must_use] pub fn ch_clr12(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 12) } #[doc = "Bit 13 - ch13 clear"] #[inline(always)] - #[must_use] pub fn ch_clr13(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 13) } #[doc = "Bit 14 - ch14 clear"] #[inline(always)] - #[must_use] pub fn ch_clr14(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 14) } #[doc = "Bit 15 - ch15 clear"] #[inline(always)] - #[must_use] pub fn ch_clr15(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 15) } #[doc = "Bit 16 - ch16 clear"] #[inline(always)] - #[must_use] pub fn ch_clr16(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 16) } #[doc = "Bit 17 - ch17 clear"] #[inline(always)] - #[must_use] pub fn ch_clr17(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 17) } #[doc = "Bit 18 - ch18 clear"] #[inline(always)] - #[must_use] pub fn ch_clr18(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 18) } #[doc = "Bit 19 - ch19 clear"] #[inline(always)] - #[must_use] pub fn ch_clr19(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 19) } #[doc = "Bit 20 - ch20 clear"] #[inline(always)] - #[must_use] pub fn ch_clr20(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 20) } #[doc = "Bit 21 - ch21 clear"] #[inline(always)] - #[must_use] pub fn ch_clr21(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 21) } #[doc = "Bit 22 - ch22 clear"] #[inline(always)] - #[must_use] pub fn ch_clr22(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 22) } #[doc = "Bit 23 - ch23 clear"] #[inline(always)] - #[must_use] pub fn ch_clr23(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 23) } #[doc = "Bit 24 - ch24 clear"] #[inline(always)] - #[must_use] pub fn ch_clr24(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 24) } #[doc = "Bit 25 - ch25 clear"] #[inline(always)] - #[must_use] pub fn ch_clr25(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 25) } #[doc = "Bit 26 - ch26 clear"] #[inline(always)] - #[must_use] pub fn ch_clr26(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 26) } #[doc = "Bit 27 - ch27 clear"] #[inline(always)] - #[must_use] pub fn ch_clr27(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 27) } #[doc = "Bit 28 - ch28 clear"] #[inline(always)] - #[must_use] pub fn ch_clr28(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 28) } #[doc = "Bit 29 - ch29 clear"] #[inline(always)] - #[must_use] pub fn ch_clr29(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 29) } #[doc = "Bit 30 - ch30 clear"] #[inline(always)] - #[must_use] pub fn ch_clr30(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 30) } #[doc = "Bit 31 - ch31 clear"] #[inline(always)] - #[must_use] pub fn ch_clr31(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 31) } diff --git a/esp32c6/src/soc_etm/ch_ena_ad0_set.rs b/esp32c6/src/soc_etm/ch_ena_ad0_set.rs index c608671f3a..2e735fcf73 100644 --- a/esp32c6/src/soc_etm/ch_ena_ad0_set.rs +++ b/esp32c6/src/soc_etm/ch_ena_ad0_set.rs @@ -13,7 +13,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH_SET0` field.
"] #[inline(always)] - #[must_use] pub fn ch_set(&mut self, n: u8) -> CH_SET_W { #[allow(clippy::no_effect)] [(); 32][n as usize]; @@ -21,193 +20,161 @@ impl W { } #[doc = "Bit 0 - ch0 set"] #[inline(always)] - #[must_use] pub fn ch_set0(&mut self) -> CH_SET_W { CH_SET_W::new(self, 0) } #[doc = "Bit 1 - ch1 set"] #[inline(always)] - #[must_use] pub fn ch_set1(&mut self) -> CH_SET_W { CH_SET_W::new(self, 1) } #[doc = "Bit 2 - ch2 set"] #[inline(always)] - #[must_use] pub fn ch_set2(&mut self) -> CH_SET_W { CH_SET_W::new(self, 2) } #[doc = "Bit 3 - ch3 set"] #[inline(always)] - #[must_use] pub fn ch_set3(&mut self) -> CH_SET_W { CH_SET_W::new(self, 3) } #[doc = "Bit 4 - ch4 set"] #[inline(always)] - #[must_use] pub fn ch_set4(&mut self) -> CH_SET_W { CH_SET_W::new(self, 4) } #[doc = "Bit 5 - ch5 set"] #[inline(always)] - #[must_use] pub fn ch_set5(&mut self) -> CH_SET_W { CH_SET_W::new(self, 5) } #[doc = "Bit 6 - ch6 set"] #[inline(always)] - #[must_use] pub fn ch_set6(&mut self) -> CH_SET_W { CH_SET_W::new(self, 6) } #[doc = "Bit 7 - ch7 set"] #[inline(always)] - #[must_use] pub fn ch_set7(&mut self) -> CH_SET_W { CH_SET_W::new(self, 7) } #[doc = "Bit 8 - ch8 set"] #[inline(always)] - #[must_use] pub fn ch_set8(&mut self) -> CH_SET_W { CH_SET_W::new(self, 8) } #[doc = "Bit 9 - ch9 set"] #[inline(always)] - #[must_use] pub fn ch_set9(&mut self) -> CH_SET_W { CH_SET_W::new(self, 9) } #[doc = "Bit 10 - ch10 set"] #[inline(always)] - #[must_use] pub fn ch_set10(&mut self) -> CH_SET_W { CH_SET_W::new(self, 10) } #[doc = "Bit 11 - ch11 set"] #[inline(always)] - #[must_use] pub fn ch_set11(&mut self) -> CH_SET_W { CH_SET_W::new(self, 11) } #[doc = "Bit 12 - ch12 set"] #[inline(always)] - #[must_use] pub fn ch_set12(&mut self) -> CH_SET_W { CH_SET_W::new(self, 12) } #[doc = "Bit 13 - ch13 set"] #[inline(always)] - #[must_use] pub fn ch_set13(&mut self) -> CH_SET_W { CH_SET_W::new(self, 13) } #[doc = "Bit 14 - ch14 set"] #[inline(always)] - #[must_use] pub fn ch_set14(&mut self) -> CH_SET_W { CH_SET_W::new(self, 14) } #[doc = "Bit 15 - ch15 set"] #[inline(always)] - #[must_use] pub fn ch_set15(&mut self) -> CH_SET_W { CH_SET_W::new(self, 15) } #[doc = "Bit 16 - ch16 set"] #[inline(always)] - #[must_use] pub fn ch_set16(&mut self) -> CH_SET_W { CH_SET_W::new(self, 16) } #[doc = "Bit 17 - ch17 set"] #[inline(always)] - #[must_use] pub fn ch_set17(&mut self) -> CH_SET_W { CH_SET_W::new(self, 17) } #[doc = "Bit 18 - ch18 set"] #[inline(always)] - #[must_use] pub fn ch_set18(&mut self) -> CH_SET_W { CH_SET_W::new(self, 18) } #[doc = "Bit 19 - ch19 set"] #[inline(always)] - #[must_use] pub fn ch_set19(&mut self) -> CH_SET_W { CH_SET_W::new(self, 19) } #[doc = "Bit 20 - ch20 set"] #[inline(always)] - #[must_use] pub fn ch_set20(&mut self) -> CH_SET_W { CH_SET_W::new(self, 20) } #[doc = "Bit 21 - ch21 set"] #[inline(always)] - #[must_use] pub fn ch_set21(&mut self) -> CH_SET_W { CH_SET_W::new(self, 21) } #[doc = "Bit 22 - ch22 set"] #[inline(always)] - #[must_use] pub fn ch_set22(&mut self) -> CH_SET_W { CH_SET_W::new(self, 22) } #[doc = "Bit 23 - ch23 set"] #[inline(always)] - #[must_use] pub fn ch_set23(&mut self) -> CH_SET_W { CH_SET_W::new(self, 23) } #[doc = "Bit 24 - ch24 set"] #[inline(always)] - #[must_use] pub fn ch_set24(&mut self) -> CH_SET_W { CH_SET_W::new(self, 24) } #[doc = "Bit 25 - ch25 set"] #[inline(always)] - #[must_use] pub fn ch_set25(&mut self) -> CH_SET_W { CH_SET_W::new(self, 25) } #[doc = "Bit 26 - ch26 set"] #[inline(always)] - #[must_use] pub fn ch_set26(&mut self) -> CH_SET_W { CH_SET_W::new(self, 26) } #[doc = "Bit 27 - ch27 set"] #[inline(always)] - #[must_use] pub fn ch_set27(&mut self) -> CH_SET_W { CH_SET_W::new(self, 27) } #[doc = "Bit 28 - ch28 set"] #[inline(always)] - #[must_use] pub fn ch_set28(&mut self) -> CH_SET_W { CH_SET_W::new(self, 28) } #[doc = "Bit 29 - ch29 set"] #[inline(always)] - #[must_use] pub fn ch_set29(&mut self) -> CH_SET_W { CH_SET_W::new(self, 29) } #[doc = "Bit 30 - ch30 set"] #[inline(always)] - #[must_use] pub fn ch_set30(&mut self) -> CH_SET_W { CH_SET_W::new(self, 30) } #[doc = "Bit 31 - ch31 set"] #[inline(always)] - #[must_use] pub fn ch_set31(&mut self) -> CH_SET_W { CH_SET_W::new(self, 31) } diff --git a/esp32c6/src/soc_etm/ch_ena_ad1.rs b/esp32c6/src/soc_etm/ch_ena_ad1.rs index d02630d009..0c903b8dfd 100644 --- a/esp32c6/src/soc_etm/ch_ena_ad1.rs +++ b/esp32c6/src/soc_etm/ch_ena_ad1.rs @@ -143,7 +143,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH_ENA32` field.
"] #[inline(always)] - #[must_use] pub fn ch_ena(&mut self, n: u8) -> CH_ENA_W { #[allow(clippy::no_effect)] [(); 18][n as usize]; @@ -151,109 +150,91 @@ impl W { } #[doc = "Bit 0 - ch32 enable"] #[inline(always)] - #[must_use] pub fn ch_ena32(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 0) } #[doc = "Bit 1 - ch33 enable"] #[inline(always)] - #[must_use] pub fn ch_ena33(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 1) } #[doc = "Bit 2 - ch34 enable"] #[inline(always)] - #[must_use] pub fn ch_ena34(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 2) } #[doc = "Bit 3 - ch35 enable"] #[inline(always)] - #[must_use] pub fn ch_ena35(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 3) } #[doc = "Bit 4 - ch36 enable"] #[inline(always)] - #[must_use] pub fn ch_ena36(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 4) } #[doc = "Bit 5 - ch37 enable"] #[inline(always)] - #[must_use] pub fn ch_ena37(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 5) } #[doc = "Bit 6 - ch38 enable"] #[inline(always)] - #[must_use] pub fn ch_ena38(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 6) } #[doc = "Bit 7 - ch39 enable"] #[inline(always)] - #[must_use] pub fn ch_ena39(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 7) } #[doc = "Bit 8 - ch40 enable"] #[inline(always)] - #[must_use] pub fn ch_ena40(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 8) } #[doc = "Bit 9 - ch41 enable"] #[inline(always)] - #[must_use] pub fn ch_ena41(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 9) } #[doc = "Bit 10 - ch42 enable"] #[inline(always)] - #[must_use] pub fn ch_ena42(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 10) } #[doc = "Bit 11 - ch43 enable"] #[inline(always)] - #[must_use] pub fn ch_ena43(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 11) } #[doc = "Bit 12 - ch44 enable"] #[inline(always)] - #[must_use] pub fn ch_ena44(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 12) } #[doc = "Bit 13 - ch45 enable"] #[inline(always)] - #[must_use] pub fn ch_ena45(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 13) } #[doc = "Bit 14 - ch46 enable"] #[inline(always)] - #[must_use] pub fn ch_ena46(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 14) } #[doc = "Bit 15 - ch47 enable"] #[inline(always)] - #[must_use] pub fn ch_ena47(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 15) } #[doc = "Bit 16 - ch48 enable"] #[inline(always)] - #[must_use] pub fn ch_ena48(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 16) } #[doc = "Bit 17 - ch49 enable"] #[inline(always)] - #[must_use] pub fn ch_ena49(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 17) } diff --git a/esp32c6/src/soc_etm/ch_ena_ad1_clr.rs b/esp32c6/src/soc_etm/ch_ena_ad1_clr.rs index c95b07d298..10e8b4624c 100644 --- a/esp32c6/src/soc_etm/ch_ena_ad1_clr.rs +++ b/esp32c6/src/soc_etm/ch_ena_ad1_clr.rs @@ -13,7 +13,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH_CLR32` field.
"] #[inline(always)] - #[must_use] pub fn ch_clr(&mut self, n: u8) -> CH_CLR_W { #[allow(clippy::no_effect)] [(); 18][n as usize]; @@ -21,109 +20,91 @@ impl W { } #[doc = "Bit 0 - ch32 clear"] #[inline(always)] - #[must_use] pub fn ch_clr32(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 0) } #[doc = "Bit 1 - ch33 clear"] #[inline(always)] - #[must_use] pub fn ch_clr33(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 1) } #[doc = "Bit 2 - ch34 clear"] #[inline(always)] - #[must_use] pub fn ch_clr34(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 2) } #[doc = "Bit 3 - ch35 clear"] #[inline(always)] - #[must_use] pub fn ch_clr35(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 3) } #[doc = "Bit 4 - ch36 clear"] #[inline(always)] - #[must_use] pub fn ch_clr36(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 4) } #[doc = "Bit 5 - ch37 clear"] #[inline(always)] - #[must_use] pub fn ch_clr37(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 5) } #[doc = "Bit 6 - ch38 clear"] #[inline(always)] - #[must_use] pub fn ch_clr38(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 6) } #[doc = "Bit 7 - ch39 clear"] #[inline(always)] - #[must_use] pub fn ch_clr39(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 7) } #[doc = "Bit 8 - ch40 clear"] #[inline(always)] - #[must_use] pub fn ch_clr40(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 8) } #[doc = "Bit 9 - ch41 clear"] #[inline(always)] - #[must_use] pub fn ch_clr41(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 9) } #[doc = "Bit 10 - ch42 clear"] #[inline(always)] - #[must_use] pub fn ch_clr42(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 10) } #[doc = "Bit 11 - ch43 clear"] #[inline(always)] - #[must_use] pub fn ch_clr43(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 11) } #[doc = "Bit 12 - ch44 clear"] #[inline(always)] - #[must_use] pub fn ch_clr44(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 12) } #[doc = "Bit 13 - ch45 clear"] #[inline(always)] - #[must_use] pub fn ch_clr45(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 13) } #[doc = "Bit 14 - ch46 clear"] #[inline(always)] - #[must_use] pub fn ch_clr46(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 14) } #[doc = "Bit 15 - ch47 clear"] #[inline(always)] - #[must_use] pub fn ch_clr47(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 15) } #[doc = "Bit 16 - ch48 clear"] #[inline(always)] - #[must_use] pub fn ch_clr48(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 16) } #[doc = "Bit 17 - ch49 clear"] #[inline(always)] - #[must_use] pub fn ch_clr49(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 17) } diff --git a/esp32c6/src/soc_etm/ch_ena_ad1_set.rs b/esp32c6/src/soc_etm/ch_ena_ad1_set.rs index 1f592d9835..9cde838cf2 100644 --- a/esp32c6/src/soc_etm/ch_ena_ad1_set.rs +++ b/esp32c6/src/soc_etm/ch_ena_ad1_set.rs @@ -13,7 +13,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH_SET32` field.
"] #[inline(always)] - #[must_use] pub fn ch_set(&mut self, n: u8) -> CH_SET_W { #[allow(clippy::no_effect)] [(); 18][n as usize]; @@ -21,109 +20,91 @@ impl W { } #[doc = "Bit 0 - ch32 set"] #[inline(always)] - #[must_use] pub fn ch_set32(&mut self) -> CH_SET_W { CH_SET_W::new(self, 0) } #[doc = "Bit 1 - ch33 set"] #[inline(always)] - #[must_use] pub fn ch_set33(&mut self) -> CH_SET_W { CH_SET_W::new(self, 1) } #[doc = "Bit 2 - ch34 set"] #[inline(always)] - #[must_use] pub fn ch_set34(&mut self) -> CH_SET_W { CH_SET_W::new(self, 2) } #[doc = "Bit 3 - ch35 set"] #[inline(always)] - #[must_use] pub fn ch_set35(&mut self) -> CH_SET_W { CH_SET_W::new(self, 3) } #[doc = "Bit 4 - ch36 set"] #[inline(always)] - #[must_use] pub fn ch_set36(&mut self) -> CH_SET_W { CH_SET_W::new(self, 4) } #[doc = "Bit 5 - ch37 set"] #[inline(always)] - #[must_use] pub fn ch_set37(&mut self) -> CH_SET_W { CH_SET_W::new(self, 5) } #[doc = "Bit 6 - ch38 set"] #[inline(always)] - #[must_use] pub fn ch_set38(&mut self) -> CH_SET_W { CH_SET_W::new(self, 6) } #[doc = "Bit 7 - ch39 set"] #[inline(always)] - #[must_use] pub fn ch_set39(&mut self) -> CH_SET_W { CH_SET_W::new(self, 7) } #[doc = "Bit 8 - ch40 set"] #[inline(always)] - #[must_use] pub fn ch_set40(&mut self) -> CH_SET_W { CH_SET_W::new(self, 8) } #[doc = "Bit 9 - ch41 set"] #[inline(always)] - #[must_use] pub fn ch_set41(&mut self) -> CH_SET_W { CH_SET_W::new(self, 9) } #[doc = "Bit 10 - ch42 set"] #[inline(always)] - #[must_use] pub fn ch_set42(&mut self) -> CH_SET_W { CH_SET_W::new(self, 10) } #[doc = "Bit 11 - ch43 set"] #[inline(always)] - #[must_use] pub fn ch_set43(&mut self) -> CH_SET_W { CH_SET_W::new(self, 11) } #[doc = "Bit 12 - ch44 set"] #[inline(always)] - #[must_use] pub fn ch_set44(&mut self) -> CH_SET_W { CH_SET_W::new(self, 12) } #[doc = "Bit 13 - ch45 set"] #[inline(always)] - #[must_use] pub fn ch_set45(&mut self) -> CH_SET_W { CH_SET_W::new(self, 13) } #[doc = "Bit 14 - ch46 set"] #[inline(always)] - #[must_use] pub fn ch_set46(&mut self) -> CH_SET_W { CH_SET_W::new(self, 14) } #[doc = "Bit 15 - ch47 set"] #[inline(always)] - #[must_use] pub fn ch_set47(&mut self) -> CH_SET_W { CH_SET_W::new(self, 15) } #[doc = "Bit 16 - ch48 set"] #[inline(always)] - #[must_use] pub fn ch_set48(&mut self) -> CH_SET_W { CH_SET_W::new(self, 16) } #[doc = "Bit 17 - ch49 set"] #[inline(always)] - #[must_use] pub fn ch_set49(&mut self) -> CH_SET_W { CH_SET_W::new(self, 17) } diff --git a/esp32c6/src/soc_etm/clk_en.rs b/esp32c6/src/soc_etm/clk_en.rs index c21c7847a4..40f013042c 100644 --- a/esp32c6/src/soc_etm/clk_en.rs +++ b/esp32c6/src/soc_etm/clk_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - clock enable"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32c6/src/soc_etm/date.rs b/esp32c6/src/soc_etm/date.rs index 041d8cac80..43eeb2e23a 100644 --- a/esp32c6/src/soc_etm/date.rs +++ b/esp32c6/src/soc_etm/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - date"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/spi0/cache_fctrl.rs b/esp32c6/src/spi0/cache_fctrl.rs index 9ada475ec9..693075a168 100644 --- a/esp32c6/src/spi0/cache_fctrl.rs +++ b/esp32c6/src/spi0/cache_fctrl.rs @@ -125,61 +125,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - For SPI0, AXI master access enable, 1: enable, 0:disable."] #[inline(always)] - #[must_use] pub fn axi_req_en(&mut self) -> AXI_REQ_EN_W { AXI_REQ_EN_W::new(self, 0) } #[doc = "Bit 1 - For SPI0, cache read flash with 4 bytes address, 1: enable, 0:disable."] #[inline(always)] - #[must_use] pub fn cache_usr_addr_4byte(&mut self) -> CACHE_USR_ADDR_4BYTE_W { CACHE_USR_ADDR_4BYTE_W::new(self, 1) } #[doc = "Bit 2 - For SPI0, cache read flash for user define command, 1: enable, 0:disable."] #[inline(always)] - #[must_use] pub fn cache_flash_usr_cmd(&mut self) -> CACHE_FLASH_USR_CMD_W { CACHE_FLASH_USR_CMD_W::new(self, 2) } #[doc = "Bit 3 - For SPI0 flash, din phase apply 2 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_dio."] #[inline(always)] - #[must_use] pub fn fdin_dual(&mut self) -> FDIN_DUAL_W { FDIN_DUAL_W::new(self, 3) } #[doc = "Bit 4 - For SPI0 flash, dout phase apply 2 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_dio."] #[inline(always)] - #[must_use] pub fn fdout_dual(&mut self) -> FDOUT_DUAL_W { FDOUT_DUAL_W::new(self, 4) } #[doc = "Bit 5 - For SPI0 flash, address phase apply 2 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_dio."] #[inline(always)] - #[must_use] pub fn faddr_dual(&mut self) -> FADDR_DUAL_W { FADDR_DUAL_W::new(self, 5) } #[doc = "Bit 6 - For SPI0 flash, din phase apply 4 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_qio."] #[inline(always)] - #[must_use] pub fn fdin_quad(&mut self) -> FDIN_QUAD_W { FDIN_QUAD_W::new(self, 6) } #[doc = "Bit 7 - For SPI0 flash, dout phase apply 4 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_qio."] #[inline(always)] - #[must_use] pub fn fdout_quad(&mut self) -> FDOUT_QUAD_W { FDOUT_QUAD_W::new(self, 7) } #[doc = "Bit 8 - For SPI0 flash, address phase apply 4 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_qio."] #[inline(always)] - #[must_use] pub fn faddr_quad(&mut self) -> FADDR_QUAD_W { FADDR_QUAD_W::new(self, 8) } #[doc = "Bit 31 - Set this bit to close AXI read/write transfer to MSPI, which means that only SLV_ERR will be replied to BRESP/RRESP."] #[inline(always)] - #[must_use] pub fn spi_close_axi_inf_en(&mut self) -> SPI_CLOSE_AXI_INF_EN_W { SPI_CLOSE_AXI_INF_EN_W::new(self, 31) } diff --git a/esp32c6/src/spi0/clock.rs b/esp32c6/src/spi0/clock.rs index c93e28a318..c3aa1391e9 100644 --- a/esp32c6/src/spi0/clock.rs +++ b/esp32c6/src/spi0/clock.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In the master mode it must be equal to spi_mem_clkcnt_N."] #[inline(always)] - #[must_use] pub fn clkcnt_l(&mut self) -> CLKCNT_L_W { CLKCNT_L_W::new(self, 0) } #[doc = "Bits 8:15 - In the master mode it must be floor((spi_mem_clkcnt_N+1)/2-1)."] #[inline(always)] - #[must_use] pub fn clkcnt_h(&mut self) -> CLKCNT_H_W { CLKCNT_H_W::new(self, 8) } #[doc = "Bits 16:23 - In the master mode it is the divider of spi_mem_clk. So spi_mem_clk frequency is system/(spi_mem_clkcnt_N+1)"] #[inline(always)] - #[must_use] pub fn clkcnt_n(&mut self) -> CLKCNT_N_W { CLKCNT_N_W::new(self, 16) } #[doc = "Bit 31 - 1: 1-division mode, the frequency of SPI bus clock equals to that of MSPI module clock."] #[inline(always)] - #[must_use] pub fn clk_equ_sysclk(&mut self) -> CLK_EQU_SYSCLK_W { CLK_EQU_SYSCLK_W::new(self, 31) } diff --git a/esp32c6/src/spi0/clock_gate.rs b/esp32c6/src/spi0/clock_gate.rs index eaba212d60..c3ad7465e0 100644 --- a/esp32c6/src/spi0/clock_gate.rs +++ b/esp32c6/src/spi0/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Register clock gate enable signal. 1: Enable. 0: Disable."] #[inline(always)] - #[must_use] pub fn spi_clk_en(&mut self) -> SPI_CLK_EN_W { SPI_CLK_EN_W::new(self, 0) } diff --git a/esp32c6/src/spi0/ctrl.rs b/esp32c6/src/spi0/ctrl.rs index 49088991d9..abdb5c590b 100644 --- a/esp32c6/src/spi0/ctrl.rs +++ b/esp32c6/src/spi0/ctrl.rs @@ -192,79 +192,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - In the dummy phase of an MSPI write data transfer when accesses to flash, the level of SPI_IO\\[7:0\\] is output by the MSPI controller."] #[inline(always)] - #[must_use] pub fn wdummy_always_out(&mut self) -> WDUMMY_ALWAYS_OUT_W { WDUMMY_ALWAYS_OUT_W::new(self, 1) } #[doc = "Bit 2 - In an MSPI read data transfer when accesses to flash, the level of SPI_IO\\[7:0\\] is output by the MSPI controller in the first half part of dummy phase. It is used to mask invalid SPI_DQS in the half part of dummy phase."] #[inline(always)] - #[must_use] pub fn fdummy_rin(&mut self) -> FDUMMY_RIN_W { FDUMMY_RIN_W::new(self, 2) } #[doc = "Bit 3 - In an MSPI write data transfer when accesses to flash, the level of SPI_IO\\[7:0\\] is output by the MSPI controller in the second half part of dummy phase. It is used to pre-drive flash."] #[inline(always)] - #[must_use] pub fn fdummy_wout(&mut self) -> FDUMMY_WOUT_W { FDUMMY_WOUT_W::new(self, 3) } #[doc = "Bit 8 - Apply 4 signals during command phase 1:enable 0: disable"] #[inline(always)] - #[must_use] pub fn fcmd_quad(&mut self) -> FCMD_QUAD_W { FCMD_QUAD_W::new(self, 8) } #[doc = "Bit 13 - This bit enable the bits: SPI_MEM_FREAD_QIO, SPI_MEM_FREAD_DIO, SPI_MEM_FREAD_QOUT and SPI_MEM_FREAD_DOUT. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fastrd_mode(&mut self) -> FASTRD_MODE_W { FASTRD_MODE_W::new(self, 13) } #[doc = "Bit 14 - In the read operations, read-data phase apply 2 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_dual(&mut self) -> FREAD_DUAL_W { FREAD_DUAL_W::new(self, 14) } #[doc = "Bit 18 - The bit is used to set MISO line polarity, 1: high 0, low"] #[inline(always)] - #[must_use] pub fn q_pol(&mut self) -> Q_POL_W { Q_POL_W::new(self, 18) } #[doc = "Bit 19 - The bit is used to set MOSI line polarity, 1: high 0, low"] #[inline(always)] - #[must_use] pub fn d_pol(&mut self) -> D_POL_W { D_POL_W::new(self, 19) } #[doc = "Bit 20 - In the read operations read-data phase apply 4 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_quad(&mut self) -> FREAD_QUAD_W { FREAD_QUAD_W::new(self, 20) } #[doc = "Bit 21 - Write protect signal output when SPI is idle. 1: output high, 0: output low."] #[inline(always)] - #[must_use] pub fn wp(&mut self) -> WP_W { WP_W::new(self, 21) } #[doc = "Bit 23 - In the read operations address phase and read-data phase apply 2 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_dio(&mut self) -> FREAD_DIO_W { FREAD_DIO_W::new(self, 23) } #[doc = "Bit 24 - In the read operations address phase and read-data phase apply 4 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_qio(&mut self) -> FREAD_QIO_W { FREAD_QIO_W::new(self, 24) } #[doc = "Bit 31 - When accesses to flash, 1: the IE signals of pads connected to SPI_IO\\[7:0\\] are always 1. 0: Others."] #[inline(always)] - #[must_use] pub fn data_ie_always_on(&mut self) -> DATA_IE_ALWAYS_ON_W { DATA_IE_ALWAYS_ON_W::new(self, 31) } diff --git a/esp32c6/src/spi0/ctrl1.rs b/esp32c6/src/spi0/ctrl1.rs index 6324b7b07b..e5af385fc2 100644 --- a/esp32c6/src/spi0/ctrl1.rs +++ b/esp32c6/src/spi0/ctrl1.rs @@ -114,43 +114,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - SPI clock mode bits. 0: SPI clock is off when CS inactive 1: SPI clock is delayed one cycle after CS inactive 2: SPI clock is delayed two cycles after CS inactive 3: SPI clock is alwasy on."] #[inline(always)] - #[must_use] pub fn clk_mode(&mut self) -> CLK_MODE_W { CLK_MODE_W::new(self, 0) } #[doc = "Bit 21 - 1: MSPI supports ARSIZE 0~3. When ARSIZE =0~2, MSPI read address is 4*n and reply the real AXI read data back. 0: When ARSIZE 0~1, MSPI reply SLV_ERR."] #[inline(always)] - #[must_use] pub fn spi_ar_size0_1_support_en(&mut self) -> SPI_AR_SIZE0_1_SUPPORT_EN_W { SPI_AR_SIZE0_1_SUPPORT_EN_W::new(self, 21) } #[doc = "Bit 22 - 1: MSPI supports AWSIZE 0~3. 0: When AWSIZE 0~1, MSPI reply SLV_ERR."] #[inline(always)] - #[must_use] pub fn spi_aw_size0_1_support_en(&mut self) -> SPI_AW_SIZE0_1_SUPPORT_EN_W { SPI_AW_SIZE0_1_SUPPORT_EN_W::new(self, 22) } #[doc = "Bit 24 - 1: RRESP is SLV_ERR when there is a ECC error in AXI read data. 0: RRESP is OKAY when there is a ECC error in AXI read data. The ECC error information is recorded in SPI_MEM_ECC_ERR_ADDR_REG."] #[inline(always)] - #[must_use] pub fn rresp_ecc_err_en(&mut self) -> RRESP_ECC_ERR_EN_W { RRESP_ECC_ERR_EN_W::new(self, 24) } #[doc = "Bit 29 - Set this bit to write data faster, do not wait write data has been stored in tx_bus_fifo_l2. It will wait 4*T_clk_ctrl to insure the write data has been stored in tx_bus_fifo_l2."] #[inline(always)] - #[must_use] pub fn fast_write_en(&mut self) -> FAST_WRITE_EN_W { FAST_WRITE_EN_W::new(self, 29) } #[doc = "Bit 30 - The synchronous reset signal for SPI0 RX AFIFO and all the AES_MSPI SYNC FIFO to receive signals from AXI. Set this bit to reset these FIFO."] #[inline(always)] - #[must_use] pub fn rxfifo_rst(&mut self) -> RXFIFO_RST_W { RXFIFO_RST_W::new(self, 30) } #[doc = "Bit 31 - The synchronous reset signal for SPI0 TX AFIFO and all the AES_MSPI SYNC FIFO to send signals to AXI. Set this bit to reset these FIFO."] #[inline(always)] - #[must_use] pub fn txfifo_rst(&mut self) -> TXFIFO_RST_W { TXFIFO_RST_W::new(self, 31) } diff --git a/esp32c6/src/spi0/ctrl2.rs b/esp32c6/src/spi0/ctrl2.rs index 271a5b7fc5..6625d9e645 100644 --- a/esp32c6/src/spi0/ctrl2.rs +++ b/esp32c6/src/spi0/ctrl2.rs @@ -78,25 +78,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - (cycles-1) of prepare phase by SPI Bus clock, this bits are combined with SPI_MEM_CS_SETUP bit."] #[inline(always)] - #[must_use] pub fn cs_setup_time(&mut self) -> CS_SETUP_TIME_W { CS_SETUP_TIME_W::new(self, 0) } #[doc = "Bits 5:9 - SPI CS signal is delayed to inactive by SPI bus clock, this bits are combined with SPI_MEM_CS_HOLD bit."] #[inline(always)] - #[must_use] pub fn cs_hold_time(&mut self) -> CS_HOLD_TIME_W { CS_HOLD_TIME_W::new(self, 5) } #[doc = "Bits 25:30 - These bits are used to set the minimum CS high time tSHSL between SPI burst transfer when accesses to flash. tSHSL is (SPI_MEM_CS_HOLD_DELAY\\[5:0\\] + 1) MSPI core clock cycles."] #[inline(always)] - #[must_use] pub fn cs_hold_delay(&mut self) -> CS_HOLD_DELAY_W { CS_HOLD_DELAY_W::new(self, 25) } #[doc = "Bit 31 - The spi0_mst_st and spi0_slv_st will be reset."] #[inline(always)] - #[must_use] pub fn sync_reset(&mut self) -> SYNC_RESET_W { SYNC_RESET_W::new(self, 31) } diff --git a/esp32c6/src/spi0/date.rs b/esp32c6/src/spi0/date.rs index 5dae5a751d..ab9a5e8140 100644 --- a/esp32c6/src/spi0/date.rs +++ b/esp32c6/src/spi0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - SPI0 register version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/spi0/din_mode.rs b/esp32c6/src/spi0/din_mode.rs index 628fcc812d..85bbe0e1e1 100644 --- a/esp32c6/src/spi0/din_mode.rs +++ b/esp32c6/src/spi0/din_mode.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the posedge of clk_160, 4 input with the negedge of clk_160, 5: input with the spi_clk high edge, 6: input with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn din0_mode(&mut self) -> DIN0_MODE_W { DIN0_MODE_W::new(self, 0) } #[doc = "Bits 3:5 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the posedge of clk_160, 4 input with the negedge of clk_160, 5: input with the spi_clk high edge, 6: input with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn din1_mode(&mut self) -> DIN1_MODE_W { DIN1_MODE_W::new(self, 3) } #[doc = "Bits 6:8 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the posedge of clk_160, 4 input with the negedge of clk_160, 5: input with the spi_clk high edge, 6: input with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn din2_mode(&mut self) -> DIN2_MODE_W { DIN2_MODE_W::new(self, 6) } #[doc = "Bits 9:11 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the posedge of clk_160, 4 input with the negedge of clk_160, 5: input with the spi_clk high edge, 6: input with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn din3_mode(&mut self) -> DIN3_MODE_W { DIN3_MODE_W::new(self, 9) } #[doc = "Bits 12:14 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk"] #[inline(always)] - #[must_use] pub fn din4_mode(&mut self) -> DIN4_MODE_W { DIN4_MODE_W::new(self, 12) } #[doc = "Bits 15:17 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk"] #[inline(always)] - #[must_use] pub fn din5_mode(&mut self) -> DIN5_MODE_W { DIN5_MODE_W::new(self, 15) } #[doc = "Bits 18:20 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk"] #[inline(always)] - #[must_use] pub fn din6_mode(&mut self) -> DIN6_MODE_W { DIN6_MODE_W::new(self, 18) } #[doc = "Bits 21:23 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk"] #[inline(always)] - #[must_use] pub fn din7_mode(&mut self) -> DIN7_MODE_W { DIN7_MODE_W::new(self, 21) } #[doc = "Bits 24:26 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk"] #[inline(always)] - #[must_use] pub fn dins_mode(&mut self) -> DINS_MODE_W { DINS_MODE_W::new(self, 24) } diff --git a/esp32c6/src/spi0/din_num.rs b/esp32c6/src/spi0/din_num.rs index 4f428ea9b5..0fba2adad9 100644 --- a/esp32c6/src/spi0/din_num.rs +++ b/esp32c6/src/spi0/din_num.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn din0_num(&mut self) -> DIN0_NUM_W { DIN0_NUM_W::new(self, 0) } #[doc = "Bits 2:3 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn din1_num(&mut self) -> DIN1_NUM_W { DIN1_NUM_W::new(self, 2) } #[doc = "Bits 4:5 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn din2_num(&mut self) -> DIN2_NUM_W { DIN2_NUM_W::new(self, 4) } #[doc = "Bits 6:7 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn din3_num(&mut self) -> DIN3_NUM_W { DIN3_NUM_W::new(self, 6) } #[doc = "Bits 8:9 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn din4_num(&mut self) -> DIN4_NUM_W { DIN4_NUM_W::new(self, 8) } #[doc = "Bits 10:11 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn din5_num(&mut self) -> DIN5_NUM_W { DIN5_NUM_W::new(self, 10) } #[doc = "Bits 12:13 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn din6_num(&mut self) -> DIN6_NUM_W { DIN6_NUM_W::new(self, 12) } #[doc = "Bits 14:15 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn din7_num(&mut self) -> DIN7_NUM_W { DIN7_NUM_W::new(self, 14) } #[doc = "Bits 16:17 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn dins_num(&mut self) -> DINS_NUM_W { DINS_NUM_W::new(self, 16) } diff --git a/esp32c6/src/spi0/dout_mode.rs b/esp32c6/src/spi0/dout_mode.rs index d871c9b864..8809a4a59b 100644 --- a/esp32c6/src/spi0/dout_mode.rs +++ b/esp32c6/src/spi0/dout_mode.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the posedge of clk_160,4 output with the negedge of clk_160,5: output with the spi_clk high edge ,6: output with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn dout0_mode(&mut self) -> DOUT0_MODE_W { DOUT0_MODE_W::new(self, 0) } #[doc = "Bit 1 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the posedge of clk_160,4 output with the negedge of clk_160,5: output with the spi_clk high edge ,6: output with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn dout1_mode(&mut self) -> DOUT1_MODE_W { DOUT1_MODE_W::new(self, 1) } #[doc = "Bit 2 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the posedge of clk_160,4 output with the negedge of clk_160,5: output with the spi_clk high edge ,6: output with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn dout2_mode(&mut self) -> DOUT2_MODE_W { DOUT2_MODE_W::new(self, 2) } #[doc = "Bit 3 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the posedge of clk_160,4 output with the negedge of clk_160,5: output with the spi_clk high edge ,6: output with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn dout3_mode(&mut self) -> DOUT3_MODE_W { DOUT3_MODE_W::new(self, 3) } #[doc = "Bit 4 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the spi_clk"] #[inline(always)] - #[must_use] pub fn dout4_mode(&mut self) -> DOUT4_MODE_W { DOUT4_MODE_W::new(self, 4) } #[doc = "Bit 5 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the spi_clk"] #[inline(always)] - #[must_use] pub fn dout5_mode(&mut self) -> DOUT5_MODE_W { DOUT5_MODE_W::new(self, 5) } #[doc = "Bit 6 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the spi_clk"] #[inline(always)] - #[must_use] pub fn dout6_mode(&mut self) -> DOUT6_MODE_W { DOUT6_MODE_W::new(self, 6) } #[doc = "Bit 7 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the spi_clk"] #[inline(always)] - #[must_use] pub fn dout7_mode(&mut self) -> DOUT7_MODE_W { DOUT7_MODE_W::new(self, 7) } #[doc = "Bit 8 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the spi_clk"] #[inline(always)] - #[must_use] pub fn douts_mode(&mut self) -> DOUTS_MODE_W { DOUTS_MODE_W::new(self, 8) } diff --git a/esp32c6/src/spi0/dpa_ctrl.rs b/esp32c6/src/spi0/dpa_ctrl.rs index 3d3e1ba5c3..b2c918051a 100644 --- a/esp32c6/src/spi0/dpa_ctrl.rs +++ b/esp32c6/src/spi0/dpa_ctrl.rs @@ -47,19 +47,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - Set the security level of spi mem cryption. 0: Shut off cryption DPA funtion. 1-7: The bigger the number is, the more secure the cryption is. (Note that the performance of cryption will decrease together with this number increasing)"] #[inline(always)] - #[must_use] pub fn spi_crypt_security_level(&mut self) -> SPI_CRYPT_SECURITY_LEVEL_W { SPI_CRYPT_SECURITY_LEVEL_W::new(self, 0) } #[doc = "Bit 3 - Only available when SPI_CRYPT_SECURITY_LEVEL is not 0. 1: Enable DPA in the calculation that using key 1 or key 2. 0: Enable DPA only in the calculation that using key 1."] #[inline(always)] - #[must_use] pub fn spi_crypt_calc_d_dpa_en(&mut self) -> SPI_CRYPT_CALC_D_DPA_EN_W { SPI_CRYPT_CALC_D_DPA_EN_W::new(self, 3) } #[doc = "Bit 4 - 1: MSPI XTS DPA clock gate is controlled by SPI_CRYPT_CALC_D_DPA_EN and SPI_CRYPT_SECURITY_LEVEL. 0: Controlled by efuse bits."] #[inline(always)] - #[must_use] pub fn spi_crypt_dpa_select_register( &mut self, ) -> SPI_CRYPT_DPA_SELECT_REGISTER_W { diff --git a/esp32c6/src/spi0/ecc_ctrl.rs b/esp32c6/src/spi0/ecc_ctrl.rs index cf2a8e520e..ef00f363f9 100644 --- a/esp32c6/src/spi0/ecc_ctrl.rs +++ b/esp32c6/src/spi0/ecc_ctrl.rs @@ -75,7 +75,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 18:19 - Set the page size of the flash accessed by MSPI. 0: 256 bytes. 1: 512 bytes. 2: 1024 bytes. 3: 2048 bytes."] #[inline(always)] - #[must_use] pub fn spi_fmem_page_size(&mut self) -> SPI_FMEM_PAGE_SIZE_W { SPI_FMEM_PAGE_SIZE_W::new(self, 18) } diff --git a/esp32c6/src/spi0/fsm.rs b/esp32c6/src/spi0/fsm.rs index 804ef1059f..12657b2ed0 100644 --- a/esp32c6/src/spi0/fsm.rs +++ b/esp32c6/src/spi0/fsm.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 7:11 - The lock delay time of SPI0/1 arbiter by spi0_slv_st, after PER is sent by SPI1."] #[inline(always)] - #[must_use] pub fn lock_delay_time(&mut self) -> LOCK_DELAY_TIME_W { LOCK_DELAY_TIME_W::new(self, 7) } diff --git a/esp32c6/src/spi0/int_clr.rs b/esp32c6/src/spi0/int_clr.rs index 52421142ba..cc7394c1f0 100644 --- a/esp32c6/src/spi0/int_clr.rs +++ b/esp32c6/src/spi0/int_clr.rs @@ -46,25 +46,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - The clear bit for SPI_MEM_SLV_ST_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_st_end(&mut self) -> SLV_ST_END_W { SLV_ST_END_W::new(self, 3) } #[doc = "Bit 4 - The clear bit for SPI_MEM_MST_ST_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_st_end(&mut self) -> MST_ST_END_W { MST_ST_END_W::new(self, 4) } #[doc = "Bit 6 - The clear bit for SPI_MEM_PMS_REJECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn pms_reject(&mut self) -> PMS_REJECT_W { PMS_REJECT_W::new(self, 6) } #[doc = "Bit 7 - The clear bit for SPI_MEM_AXI_RADDR_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn axi_raddr_err(&mut self) -> AXI_RADDR_ERR_W { AXI_RADDR_ERR_W::new(self, 7) } diff --git a/esp32c6/src/spi0/int_ena.rs b/esp32c6/src/spi0/int_ena.rs index 36ad6c43c7..c2de5b2ae0 100644 --- a/esp32c6/src/spi0/int_ena.rs +++ b/esp32c6/src/spi0/int_ena.rs @@ -78,25 +78,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - The enable bit for SPI_MEM_SLV_ST_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_st_end(&mut self) -> SLV_ST_END_W { SLV_ST_END_W::new(self, 3) } #[doc = "Bit 4 - The enable bit for SPI_MEM_MST_ST_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_st_end(&mut self) -> MST_ST_END_W { MST_ST_END_W::new(self, 4) } #[doc = "Bit 6 - The enable bit for SPI_MEM_PMS_REJECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn pms_reject(&mut self) -> PMS_REJECT_W { PMS_REJECT_W::new(self, 6) } #[doc = "Bit 7 - The enable bit for SPI_MEM_AXI_RADDR_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn axi_raddr_err(&mut self) -> AXI_RADDR_ERR_W { AXI_RADDR_ERR_W::new(self, 7) } diff --git a/esp32c6/src/spi0/int_raw.rs b/esp32c6/src/spi0/int_raw.rs index 325ea18d28..a587e147a0 100644 --- a/esp32c6/src/spi0/int_raw.rs +++ b/esp32c6/src/spi0/int_raw.rs @@ -78,25 +78,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - The raw bit for SPI_MEM_SLV_ST_END_INT interrupt. 1: Triggered when spi0_slv_st is changed from non idle state to idle state. It means that SPI_CS raises high. 0: Others"] #[inline(always)] - #[must_use] pub fn slv_st_end(&mut self) -> SLV_ST_END_W { SLV_ST_END_W::new(self, 3) } #[doc = "Bit 4 - The raw bit for SPI_MEM_MST_ST_END_INT interrupt. 1: Triggered when spi0_mst_st is changed from non idle state to idle state. 0: Others."] #[inline(always)] - #[must_use] pub fn mst_st_end(&mut self) -> MST_ST_END_W { MST_ST_END_W::new(self, 4) } #[doc = "Bit 6 - The raw bit for SPI_MEM_PMS_REJECT_INT interrupt. 1: Triggered when SPI1 access is rejected. 0: Others."] #[inline(always)] - #[must_use] pub fn pms_reject(&mut self) -> PMS_REJECT_W { PMS_REJECT_W::new(self, 6) } #[doc = "Bit 7 - The raw bit for SPI_MEM_AXI_RADDR_ERR_INT interrupt. 1: Triggered when AXI read address is invalid by compared to MMU configuration. 0: Others."] #[inline(always)] - #[must_use] pub fn axi_raddr_err(&mut self) -> AXI_RADDR_ERR_W { AXI_RADDR_ERR_W::new(self, 7) } diff --git a/esp32c6/src/spi0/misc.rs b/esp32c6/src/spi0/misc.rs index b0c1a40bb1..4856e255a0 100644 --- a/esp32c6/src/spi0/misc.rs +++ b/esp32c6/src/spi0/misc.rs @@ -50,13 +50,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 9 - 1: SPI_CLK line is high when idle 0: spi clk line is low when idle"] #[inline(always)] - #[must_use] pub fn ck_idle_edge(&mut self) -> CK_IDLE_EDGE_W { CK_IDLE_EDGE_W::new(self, 9) } #[doc = "Bit 10 - SPI_CS line keep low when the bit is set."] #[inline(always)] - #[must_use] pub fn cs_keep_active(&mut self) -> CS_KEEP_ACTIVE_W { CS_KEEP_ACTIVE_W::new(self, 10) } diff --git a/esp32c6/src/spi0/mmu_item_content.rs b/esp32c6/src/spi0/mmu_item_content.rs index 756070a575..2ae290e0d2 100644 --- a/esp32c6/src/spi0/mmu_item_content.rs +++ b/esp32c6/src/spi0/mmu_item_content.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - MSPI-MMU item content"] #[inline(always)] - #[must_use] pub fn spi_mmu_item_content(&mut self) -> SPI_MMU_ITEM_CONTENT_W { SPI_MMU_ITEM_CONTENT_W::new(self, 0) } diff --git a/esp32c6/src/spi0/mmu_item_index.rs b/esp32c6/src/spi0/mmu_item_index.rs index bd32804a14..f2409113ae 100644 --- a/esp32c6/src/spi0/mmu_item_index.rs +++ b/esp32c6/src/spi0/mmu_item_index.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - MSPI-MMU item index"] #[inline(always)] - #[must_use] pub fn spi_mmu_item_index(&mut self) -> SPI_MMU_ITEM_INDEX_W { SPI_MMU_ITEM_INDEX_W::new(self, 0) } diff --git a/esp32c6/src/spi0/mmu_power_ctrl.rs b/esp32c6/src/spi0/mmu_power_ctrl.rs index 6d90ccc5eb..13274a049a 100644 --- a/esp32c6/src/spi0/mmu_power_ctrl.rs +++ b/esp32c6/src/spi0/mmu_power_ctrl.rs @@ -78,25 +78,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable mmu-memory clock force on"] #[inline(always)] - #[must_use] pub fn spi_mmu_mem_force_on(&mut self) -> SPI_MMU_MEM_FORCE_ON_W { SPI_MMU_MEM_FORCE_ON_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to force mmu-memory powerdown"] #[inline(always)] - #[must_use] pub fn spi_mmu_mem_force_pd(&mut self) -> SPI_MMU_MEM_FORCE_PD_W { SPI_MMU_MEM_FORCE_PD_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to force mmu-memory powerup, in this case, the power should also be controlled by rtc."] #[inline(always)] - #[must_use] pub fn spi_mmu_mem_force_pu(&mut self) -> SPI_MMU_MEM_FORCE_PU_W { SPI_MMU_MEM_FORCE_PU_W::new(self, 2) } #[doc = "Bits 3:4 - 0: Max page size , 1: Max page size/2 , 2: Max page size/4, 3: Max page size/8"] #[inline(always)] - #[must_use] pub fn spi_mmu_page_size(&mut self) -> SPI_MMU_PAGE_SIZE_W { SPI_MMU_PAGE_SIZE_W::new(self, 3) } diff --git a/esp32c6/src/spi0/pms_reject.rs b/esp32c6/src/spi0/pms_reject.rs index e3a41b3a12..de829acb62 100644 --- a/esp32c6/src/spi0/pms_reject.rs +++ b/esp32c6/src/spi0/pms_reject.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 26 - Set this bit to enable SPI0/1 transfer permission control function."] #[inline(always)] - #[must_use] pub fn pm_en(&mut self) -> PM_EN_W { PM_EN_W::new(self, 26) } diff --git a/esp32c6/src/spi0/rd_status.rs b/esp32c6/src/spi0/rd_status.rs index b4976439c0..9426f1bbd0 100644 --- a/esp32c6/src/spi0/rd_status.rs +++ b/esp32c6/src/spi0/rd_status.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:23 - Mode bits in the flash fast read mode it is combined with spi_mem_fastrd_mode bit."] #[inline(always)] - #[must_use] pub fn wb_mode(&mut self) -> WB_MODE_W { WB_MODE_W::new(self, 16) } diff --git a/esp32c6/src/spi0/spi_fmem_pms_addr.rs b/esp32c6/src/spi0/spi_fmem_pms_addr.rs index 09ba79004c..9e28e71ecf 100644 --- a/esp32c6/src/spi0/spi_fmem_pms_addr.rs +++ b/esp32c6/src/spi0/spi_fmem_pms_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:25 - SPI1 flash ACE section %s start address value"] #[inline(always)] - #[must_use] pub fn s(&mut self) -> S_W { S_W::new(self, 0) } diff --git a/esp32c6/src/spi0/spi_fmem_pms_attr.rs b/esp32c6/src/spi0/spi_fmem_pms_attr.rs index 6d64cbe4c2..da54b75b12 100644 --- a/esp32c6/src/spi0/spi_fmem_pms_attr.rs +++ b/esp32c6/src/spi0/spi_fmem_pms_attr.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: SPI1 flash ACE section %s read accessible. 0: Not allowed."] #[inline(always)] - #[must_use] pub fn spi_fmem_pms_rd_attr(&mut self) -> SPI_FMEM_PMS_RD_ATTR_W { SPI_FMEM_PMS_RD_ATTR_W::new(self, 0) } #[doc = "Bit 1 - 1: SPI1 flash ACE section %s write accessible. 0: Not allowed."] #[inline(always)] - #[must_use] pub fn spi_fmem_pms_wr_attr(&mut self) -> SPI_FMEM_PMS_WR_ATTR_W { SPI_FMEM_PMS_WR_ATTR_W::new(self, 1) } #[doc = "Bit 2 - SPI1 flash ACE section %s ECC mode, 1: enable ECC mode. 0: Disable it. The flash ACE section %s is configured by registers SPI_FMEM_PMS%s_ADDR_REG and SPI_FMEM_PMS%s_SIZE_REG."] #[inline(always)] - #[must_use] pub fn spi_fmem_pms_ecc(&mut self) -> SPI_FMEM_PMS_ECC_W { SPI_FMEM_PMS_ECC_W::new(self, 2) } diff --git a/esp32c6/src/spi0/spi_fmem_pms_size.rs b/esp32c6/src/spi0/spi_fmem_pms_size.rs index 804f966133..2ce25a23ee 100644 --- a/esp32c6/src/spi0/spi_fmem_pms_size.rs +++ b/esp32c6/src/spi0/spi_fmem_pms_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - SPI1 flash ACE section %s address region is (SPI_FMEM_PMS%s_ADDR_S, SPI_FMEM_PMS%s_ADDR_S + SPI_FMEM_PMS%s_SIZE)"] #[inline(always)] - #[must_use] pub fn spi_fmem_pms_size(&mut self) -> SPI_FMEM_PMS_SIZE_W { SPI_FMEM_PMS_SIZE_W::new(self, 0) } diff --git a/esp32c6/src/spi0/spi_smem_pms_addr.rs b/esp32c6/src/spi0/spi_smem_pms_addr.rs index e6e4487379..656b45ab2d 100644 --- a/esp32c6/src/spi0/spi_smem_pms_addr.rs +++ b/esp32c6/src/spi0/spi_smem_pms_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:25 - SPI1 external RAM ACE section %s start address value"] #[inline(always)] - #[must_use] pub fn s(&mut self) -> S_W { S_W::new(self, 0) } diff --git a/esp32c6/src/spi0/spi_smem_pms_attr.rs b/esp32c6/src/spi0/spi_smem_pms_attr.rs index c383b0d587..d50ec2dde4 100644 --- a/esp32c6/src/spi0/spi_smem_pms_attr.rs +++ b/esp32c6/src/spi0/spi_smem_pms_attr.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: SPI1 external RAM ACE section %s read accessible. 0: Not allowed."] #[inline(always)] - #[must_use] pub fn spi_smem_pms_rd_attr(&mut self) -> SPI_SMEM_PMS_RD_ATTR_W { SPI_SMEM_PMS_RD_ATTR_W::new(self, 0) } #[doc = "Bit 1 - 1: SPI1 external RAM ACE section %s write accessible. 0: Not allowed."] #[inline(always)] - #[must_use] pub fn spi_smem_pms_wr_attr(&mut self) -> SPI_SMEM_PMS_WR_ATTR_W { SPI_SMEM_PMS_WR_ATTR_W::new(self, 1) } #[doc = "Bit 2 - SPI1 external RAM ACE section %s ECC mode, 1: enable ECC mode. 0: Disable it. The external RAM ACE section %s is configured by registers SPI_SMEM_PMS%s_ADDR_REG and SPI_SMEM_PMS%s_SIZE_REG."] #[inline(always)] - #[must_use] pub fn spi_smem_pms_ecc(&mut self) -> SPI_SMEM_PMS_ECC_W { SPI_SMEM_PMS_ECC_W::new(self, 2) } diff --git a/esp32c6/src/spi0/spi_smem_pms_size.rs b/esp32c6/src/spi0/spi_smem_pms_size.rs index 36b2420090..184e9ac80a 100644 --- a/esp32c6/src/spi0/spi_smem_pms_size.rs +++ b/esp32c6/src/spi0/spi_smem_pms_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - SPI1 external RAM ACE section %s address region is (SPI_SMEM_PMS%s_ADDR_S, SPI_SMEM_PMS%s_ADDR_S + SPI_SMEM_PMS%s_SIZE)"] #[inline(always)] - #[must_use] pub fn spi_smem_pms_size(&mut self) -> SPI_SMEM_PMS_SIZE_W { SPI_SMEM_PMS_SIZE_W::new(self, 0) } diff --git a/esp32c6/src/spi0/sram_cmd.rs b/esp32c6/src/spi0/sram_cmd.rs index d3de847a63..ec956d7272 100644 --- a/esp32c6/src/spi0/sram_cmd.rs +++ b/esp32c6/src/spi0/sram_cmd.rs @@ -180,7 +180,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 22 - In the dummy phase of a MSPI read data transfer when accesses to external RAM, the signal level of SPI bus is output by the MSPI controller."] #[inline(always)] - #[must_use] pub fn sdummy_rin(&mut self) -> SDUMMY_RIN_W { SDUMMY_RIN_W::new(self, 22) } diff --git a/esp32c6/src/spi0/timing_cali.rs b/esp32c6/src/spi0/timing_cali.rs index d9d33286ce..c0bdd7a6ba 100644 --- a/esp32c6/src/spi0/timing_cali.rs +++ b/esp32c6/src/spi0/timing_cali.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable timing adjust clock for all reading operations."] #[inline(always)] - #[must_use] pub fn timing_clk_ena(&mut self) -> TIMING_CLK_ENA_W { TIMING_CLK_ENA_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to enable timing auto-calibration for all reading operations."] #[inline(always)] - #[must_use] pub fn timing_cali(&mut self) -> TIMING_CALI_W { TIMING_CALI_W::new(self, 1) } #[doc = "Bits 2:4 - add extra dummy spi clock cycle length for spi clock calibration."] #[inline(always)] - #[must_use] pub fn extra_dummy_cyclelen(&mut self) -> EXTRA_DUMMY_CYCLELEN_W { EXTRA_DUMMY_CYCLELEN_W::new(self, 2) } #[doc = "Bit 6 - Set this bit to update delay mode, delay num and extra dummy in MSPI."] #[inline(always)] - #[must_use] pub fn update(&mut self) -> UPDATE_W { UPDATE_W::new(self, 6) } diff --git a/esp32c6/src/spi0/user.rs b/esp32c6/src/spi0/user.rs index f221da2010..c770c5fd45 100644 --- a/esp32c6/src/spi0/user.rs +++ b/esp32c6/src/spi0/user.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 6 - spi cs keep low when spi is in done phase. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn cs_hold(&mut self) -> CS_HOLD_W { CS_HOLD_W::new(self, 6) } #[doc = "Bit 7 - spi cs is enable when spi is in prepare phase. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn cs_setup(&mut self) -> CS_SETUP_W { CS_SETUP_W::new(self, 7) } #[doc = "Bit 9 - The bit combined with SPI_MEM_CK_IDLE_EDGE bit to control SPI clock mode 0~3."] #[inline(always)] - #[must_use] pub fn ck_out_edge(&mut self) -> CK_OUT_EDGE_W { CK_OUT_EDGE_W::new(self, 9) } #[doc = "Bit 26 - spi clock is disable in dummy phase when the bit is enable."] #[inline(always)] - #[must_use] pub fn usr_dummy_idle(&mut self) -> USR_DUMMY_IDLE_W { USR_DUMMY_IDLE_W::new(self, 26) } #[doc = "Bit 29 - This bit enable the dummy phase of an operation."] #[inline(always)] - #[must_use] pub fn usr_dummy(&mut self) -> USR_DUMMY_W { USR_DUMMY_W::new(self, 29) } diff --git a/esp32c6/src/spi0/user1.rs b/esp32c6/src/spi0/user1.rs index b696f286a1..2c79bbe642 100644 --- a/esp32c6/src/spi0/user1.rs +++ b/esp32c6/src/spi0/user1.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - The length in spi_mem_clk cycles of dummy phase. The register value shall be (cycle_num-1)."] #[inline(always)] - #[must_use] pub fn usr_dummy_cyclelen(&mut self) -> USR_DUMMY_CYCLELEN_W { USR_DUMMY_CYCLELEN_W::new(self, 0) } #[doc = "Bits 26:31 - The length in bits of address phase. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn usr_addr_bitlen(&mut self) -> USR_ADDR_BITLEN_W { USR_ADDR_BITLEN_W::new(self, 26) } diff --git a/esp32c6/src/spi0/user2.rs b/esp32c6/src/spi0/user2.rs index 36c1b0856c..3b2cf222a2 100644 --- a/esp32c6/src/spi0/user2.rs +++ b/esp32c6/src/spi0/user2.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The value of command."] #[inline(always)] - #[must_use] pub fn usr_command_value(&mut self) -> USR_COMMAND_VALUE_W { USR_COMMAND_VALUE_W::new(self, 0) } #[doc = "Bits 28:31 - The length in bits of command phase. The register value shall be (bit_num-1)"] #[inline(always)] - #[must_use] pub fn usr_command_bitlen(&mut self) -> USR_COMMAND_BITLEN_W { USR_COMMAND_BITLEN_W::new(self, 28) } diff --git a/esp32c6/src/spi0/xts_date.rs b/esp32c6/src/spi0/xts_date.rs index ea43c3b458..3fffd1e49d 100644 --- a/esp32c6/src/spi0/xts_date.rs +++ b/esp32c6/src/spi0/xts_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - This bits stores the last modified-time of manual encryption feature."] #[inline(always)] - #[must_use] pub fn spi_xts_date(&mut self) -> SPI_XTS_DATE_W { SPI_XTS_DATE_W::new(self, 0) } diff --git a/esp32c6/src/spi0/xts_destination.rs b/esp32c6/src/spi0/xts_destination.rs index 76f2925e1e..e59350016a 100644 --- a/esp32c6/src/spi0/xts_destination.rs +++ b/esp32c6/src/spi0/xts_destination.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit stores the destination parameter which will be used in manual encryption calculation. 0: flash(default), 1: psram(reserved). Only default value can be used."] #[inline(always)] - #[must_use] pub fn spi_xts_destination(&mut self) -> SPI_XTS_DESTINATION_W { SPI_XTS_DESTINATION_W::new(self, 0) } diff --git a/esp32c6/src/spi0/xts_destroy.rs b/esp32c6/src/spi0/xts_destroy.rs index 7d3b051202..b2634eb8aa 100644 --- a/esp32c6/src/spi0/xts_destroy.rs +++ b/esp32c6/src/spi0/xts_destroy.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to destroy encrypted result. This action should be asserted only when manual encryption status is 3. After this action, manual encryption status will become 0."] #[inline(always)] - #[must_use] pub fn spi_xts_destroy(&mut self) -> SPI_XTS_DESTROY_W { SPI_XTS_DESTROY_W::new(self, 0) } diff --git a/esp32c6/src/spi0/xts_linesize.rs b/esp32c6/src/spi0/xts_linesize.rs index e6ffb87b23..2a7c10eae0 100644 --- a/esp32c6/src/spi0/xts_linesize.rs +++ b/esp32c6/src/spi0/xts_linesize.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - This bits stores the line-size parameter which will be used in manual encryption calculation. It decides how many bytes will be encrypted one time. 0: 16-bytes, 1: 32-bytes, 2: 64-bytes, 3:reserved."] #[inline(always)] - #[must_use] pub fn spi_xts_linesize(&mut self) -> SPI_XTS_LINESIZE_W { SPI_XTS_LINESIZE_W::new(self, 0) } diff --git a/esp32c6/src/spi0/xts_physical_address.rs b/esp32c6/src/spi0/xts_physical_address.rs index b1ed99352f..b796479fae 100644 --- a/esp32c6/src/spi0/xts_physical_address.rs +++ b/esp32c6/src/spi0/xts_physical_address.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:25 - This bits stores the physical-address parameter which will be used in manual encryption calculation. This value should aligned with byte number decided by line-size parameter."] #[inline(always)] - #[must_use] pub fn spi_xts_physical_address( &mut self, ) -> SPI_XTS_PHYSICAL_ADDRESS_W { diff --git a/esp32c6/src/spi0/xts_plain_base.rs b/esp32c6/src/spi0/xts_plain_base.rs index 39600139ec..eddbd5cc48 100644 --- a/esp32c6/src/spi0/xts_plain_base.rs +++ b/esp32c6/src/spi0/xts_plain_base.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This field is only used to generate include file in c case. This field is useless. Please do not use this field."] #[inline(always)] - #[must_use] pub fn spi_xts_plain(&mut self) -> SPI_XTS_PLAIN_W { SPI_XTS_PLAIN_W::new(self, 0) } diff --git a/esp32c6/src/spi0/xts_release.rs b/esp32c6/src/spi0/xts_release.rs index 860686d075..b6090f76cc 100644 --- a/esp32c6/src/spi0/xts_release.rs +++ b/esp32c6/src/spi0/xts_release.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to release encrypted result to mspi. This action should only be asserted when manual encryption status is 2. After this action, manual encryption status will become 3."] #[inline(always)] - #[must_use] pub fn spi_xts_release(&mut self) -> SPI_XTS_RELEASE_W { SPI_XTS_RELEASE_W::new(self, 0) } diff --git a/esp32c6/src/spi0/xts_trigger.rs b/esp32c6/src/spi0/xts_trigger.rs index 898775a90c..a7c0855a76 100644 --- a/esp32c6/src/spi0/xts_trigger.rs +++ b/esp32c6/src/spi0/xts_trigger.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to trigger the process of manual encryption calculation. This action should only be asserted when manual encryption status is 0. After this action, manual encryption status becomes 1. After calculation is done, manual encryption status becomes 2."] #[inline(always)] - #[must_use] pub fn spi_xts_trigger(&mut self) -> SPI_XTS_TRIGGER_W { SPI_XTS_TRIGGER_W::new(self, 0) } diff --git a/esp32c6/src/spi1/addr.rs b/esp32c6/src/spi1/addr.rs index a0213e15b9..0d0a1be434 100644 --- a/esp32c6/src/spi1/addr.rs +++ b/esp32c6/src/spi1/addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - In user mode, it is the memory address. other then the bit0-bit23 is the memory address, the bit24-bit31 are the byte length of a transfer."] #[inline(always)] - #[must_use] pub fn usr_addr_value(&mut self) -> USR_ADDR_VALUE_W { USR_ADDR_VALUE_W::new(self, 0) } diff --git a/esp32c6/src/spi1/cache_fctrl.rs b/esp32c6/src/spi1/cache_fctrl.rs index 17da6be7ec..9e6d97ba6a 100644 --- a/esp32c6/src/spi1/cache_fctrl.rs +++ b/esp32c6/src/spi1/cache_fctrl.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - For SPI1, cache read flash with 4 bytes address, 1: enable, 0:disable."] #[inline(always)] - #[must_use] pub fn cache_usr_addr_4byte(&mut self) -> CACHE_USR_ADDR_4BYTE_W { CACHE_USR_ADDR_4BYTE_W::new(self, 1) } #[doc = "Bit 3 - For SPI1, din phase apply 2 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_dio."] #[inline(always)] - #[must_use] pub fn fdin_dual(&mut self) -> FDIN_DUAL_W { FDIN_DUAL_W::new(self, 3) } #[doc = "Bit 4 - For SPI1, dout phase apply 2 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_dio."] #[inline(always)] - #[must_use] pub fn fdout_dual(&mut self) -> FDOUT_DUAL_W { FDOUT_DUAL_W::new(self, 4) } #[doc = "Bit 5 - For SPI1, address phase apply 2 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_dio."] #[inline(always)] - #[must_use] pub fn faddr_dual(&mut self) -> FADDR_DUAL_W { FADDR_DUAL_W::new(self, 5) } #[doc = "Bit 6 - For SPI1, din phase apply 4 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_qio."] #[inline(always)] - #[must_use] pub fn fdin_quad(&mut self) -> FDIN_QUAD_W { FDIN_QUAD_W::new(self, 6) } #[doc = "Bit 7 - For SPI1, dout phase apply 4 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_qio."] #[inline(always)] - #[must_use] pub fn fdout_quad(&mut self) -> FDOUT_QUAD_W { FDOUT_QUAD_W::new(self, 7) } #[doc = "Bit 8 - For SPI1, address phase apply 4 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_qio."] #[inline(always)] - #[must_use] pub fn faddr_quad(&mut self) -> FADDR_QUAD_W { FADDR_QUAD_W::new(self, 8) } diff --git a/esp32c6/src/spi1/clock.rs b/esp32c6/src/spi1/clock.rs index def6403bc3..d789b3face 100644 --- a/esp32c6/src/spi1/clock.rs +++ b/esp32c6/src/spi1/clock.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In the master mode it must be equal to spi_mem_clkcnt_N."] #[inline(always)] - #[must_use] pub fn clkcnt_l(&mut self) -> CLKCNT_L_W { CLKCNT_L_W::new(self, 0) } #[doc = "Bits 8:15 - In the master mode it must be floor((spi_mem_clkcnt_N+1)/2-1)."] #[inline(always)] - #[must_use] pub fn clkcnt_h(&mut self) -> CLKCNT_H_W { CLKCNT_H_W::new(self, 8) } #[doc = "Bits 16:23 - In the master mode it is the divider of spi_mem_clk. So spi_mem_clk frequency is system/(spi_mem_clkcnt_N+1)"] #[inline(always)] - #[must_use] pub fn clkcnt_n(&mut self) -> CLKCNT_N_W { CLKCNT_N_W::new(self, 16) } #[doc = "Bit 31 - reserved"] #[inline(always)] - #[must_use] pub fn clk_equ_sysclk(&mut self) -> CLK_EQU_SYSCLK_W { CLK_EQU_SYSCLK_W::new(self, 31) } diff --git a/esp32c6/src/spi1/clock_gate.rs b/esp32c6/src/spi1/clock_gate.rs index 5c0eb9d0d7..5e04c4947e 100644 --- a/esp32c6/src/spi1/clock_gate.rs +++ b/esp32c6/src/spi1/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Register clock gate enable signal. 1: Enable. 0: Disable."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32c6/src/spi1/cmd.rs b/esp32c6/src/spi1/cmd.rs index fa4ef927c7..ddebe43618 100644 --- a/esp32c6/src/spi1/cmd.rs +++ b/esp32c6/src/spi1/cmd.rs @@ -180,91 +180,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 17 - In user mode, it is set to indicate that program/erase operation will be triggered. The bit is combined with spi_mem_usr bit. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_pe(&mut self) -> FLASH_PE_W { FLASH_PE_W::new(self, 17) } #[doc = "Bit 18 - User define command enable. An operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn usr(&mut self) -> USR_W { USR_W::new(self, 18) } #[doc = "Bit 19 - Drive Flash into high performance mode. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_hpm(&mut self) -> FLASH_HPM_W { FLASH_HPM_W::new(self, 19) } #[doc = "Bit 20 - This bit combined with reg_resandres bit releases Flash from the power-down state or high performance mode and obtains the devices ID. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_res(&mut self) -> FLASH_RES_W { FLASH_RES_W::new(self, 20) } #[doc = "Bit 21 - Drive Flash into power down. An operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_dp(&mut self) -> FLASH_DP_W { FLASH_DP_W::new(self, 21) } #[doc = "Bit 22 - Chip erase enable. Chip erase operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_ce(&mut self) -> FLASH_CE_W { FLASH_CE_W::new(self, 22) } #[doc = "Bit 23 - Block erase enable(32KB) . Block erase operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_be(&mut self) -> FLASH_BE_W { FLASH_BE_W::new(self, 23) } #[doc = "Bit 24 - Sector erase enable(4KB). Sector erase operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_se(&mut self) -> FLASH_SE_W { FLASH_SE_W::new(self, 24) } #[doc = "Bit 25 - Page program enable(1 byte ~256 bytes data to be programmed). Page program operation will be triggered when the bit is set. The bit will be cleared once the operation done .1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_pp(&mut self) -> FLASH_PP_W { FLASH_PP_W::new(self, 25) } #[doc = "Bit 26 - Write status register enable. Write status operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_wrsr(&mut self) -> FLASH_WRSR_W { FLASH_WRSR_W::new(self, 26) } #[doc = "Bit 27 - Read status register-1. Read status operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_rdsr(&mut self) -> FLASH_RDSR_W { FLASH_RDSR_W::new(self, 27) } #[doc = "Bit 28 - Read JEDEC ID . Read ID command will be sent when the bit is set. The bit will be cleared once the operation done. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_rdid(&mut self) -> FLASH_RDID_W { FLASH_RDID_W::new(self, 28) } #[doc = "Bit 29 - Write flash disable. Write disable command will be sent when the bit is set. The bit will be cleared once the operation done. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_wrdi(&mut self) -> FLASH_WRDI_W { FLASH_WRDI_W::new(self, 29) } #[doc = "Bit 30 - Write flash enable. Write enable command will be sent when the bit is set. The bit will be cleared once the operation done. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_wren(&mut self) -> FLASH_WREN_W { FLASH_WREN_W::new(self, 30) } #[doc = "Bit 31 - Read flash enable. Read flash operation will be triggered when the bit is set. The bit will be cleared once the operation done. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_read(&mut self) -> FLASH_READ_W { FLASH_READ_W::new(self, 31) } diff --git a/esp32c6/src/spi1/ctrl.rs b/esp32c6/src/spi1/ctrl.rs index 33a0709f8d..752575de62 100644 --- a/esp32c6/src/spi1/ctrl.rs +++ b/esp32c6/src/spi1/ctrl.rs @@ -192,79 +192,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - In the dummy phase of a MSPI read data transfer when accesses to flash, the signal level of SPI bus is output by the MSPI controller."] #[inline(always)] - #[must_use] pub fn fdummy_rin(&mut self) -> FDUMMY_RIN_W { FDUMMY_RIN_W::new(self, 2) } #[doc = "Bit 3 - In the dummy phase of a MSPI write data transfer when accesses to flash, the signal level of SPI bus is output by the MSPI controller."] #[inline(always)] - #[must_use] pub fn fdummy_wout(&mut self) -> FDUMMY_WOUT_W { FDUMMY_WOUT_W::new(self, 3) } #[doc = "Bit 8 - Apply 4 signals during command phase 1:enable 0: disable"] #[inline(always)] - #[must_use] pub fn fcmd_quad(&mut self) -> FCMD_QUAD_W { FCMD_QUAD_W::new(self, 8) } #[doc = "Bit 13 - This bit enable the bits: spi_mem_fread_qio, spi_mem_fread_dio, spi_mem_fread_qout and spi_mem_fread_dout. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fastrd_mode(&mut self) -> FASTRD_MODE_W { FASTRD_MODE_W::new(self, 13) } #[doc = "Bit 14 - In the read operations, read-data phase apply 2 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_dual(&mut self) -> FREAD_DUAL_W { FREAD_DUAL_W::new(self, 14) } #[doc = "Bit 15 - The Device ID is read out to SPI_MEM_RD_STATUS register, this bit combine with spi_mem_flash_res bit. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn resandres(&mut self) -> RESANDRES_W { RESANDRES_W::new(self, 15) } #[doc = "Bit 18 - The bit is used to set MISO line polarity, 1: high 0, low"] #[inline(always)] - #[must_use] pub fn q_pol(&mut self) -> Q_POL_W { Q_POL_W::new(self, 18) } #[doc = "Bit 19 - The bit is used to set MOSI line polarity, 1: high 0, low"] #[inline(always)] - #[must_use] pub fn d_pol(&mut self) -> D_POL_W { D_POL_W::new(self, 19) } #[doc = "Bit 20 - In the read operations read-data phase apply 4 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_quad(&mut self) -> FREAD_QUAD_W { FREAD_QUAD_W::new(self, 20) } #[doc = "Bit 21 - Write protect signal output when SPI is idle. 1: output high, 0: output low."] #[inline(always)] - #[must_use] pub fn wp(&mut self) -> WP_W { WP_W::new(self, 21) } #[doc = "Bit 22 - two bytes data will be written to status register when it is set. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn wrsr_2b(&mut self) -> WRSR_2B_W { WRSR_2B_W::new(self, 22) } #[doc = "Bit 23 - In the read operations address phase and read-data phase apply 2 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_dio(&mut self) -> FREAD_DIO_W { FREAD_DIO_W::new(self, 23) } #[doc = "Bit 24 - In the read operations address phase and read-data phase apply 4 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_qio(&mut self) -> FREAD_QIO_W { FREAD_QIO_W::new(self, 24) } diff --git a/esp32c6/src/spi1/ctrl1.rs b/esp32c6/src/spi1/ctrl1.rs index dd42e7f950..c94a99e05f 100644 --- a/esp32c6/src/spi1/ctrl1.rs +++ b/esp32c6/src/spi1/ctrl1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - SPI clock mode bits. 0: SPI clock is off when CS inactive 1: SPI clock is delayed one cycle after CS inactive 2: SPI clock is delayed two cycles after CS inactive 3: SPI clock is alwasy on."] #[inline(always)] - #[must_use] pub fn clk_mode(&mut self) -> CLK_MODE_W { CLK_MODE_W::new(self, 0) } #[doc = "Bits 2:11 - After RES/DP/HPM command is sent, SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 512) SPI_CLK cycles."] #[inline(always)] - #[must_use] pub fn cs_hold_dly_res(&mut self) -> CS_HOLD_DLY_RES_W { CS_HOLD_DLY_RES_W::new(self, 2) } diff --git a/esp32c6/src/spi1/ctrl2.rs b/esp32c6/src/spi1/ctrl2.rs index 0f4c316976..67bff70e6d 100644 --- a/esp32c6/src/spi1/ctrl2.rs +++ b/esp32c6/src/spi1/ctrl2.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - The FSM will be reset."] #[inline(always)] - #[must_use] pub fn sync_reset(&mut self) -> SYNC_RESET_W { SYNC_RESET_W::new(self, 31) } diff --git a/esp32c6/src/spi1/date.rs b/esp32c6/src/spi1/date.rs index 2a2a4597f0..834611efc7 100644 --- a/esp32c6/src/spi1/date.rs +++ b/esp32c6/src/spi1/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Version control register"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/spi1/flash_sus_cmd.rs b/esp32c6/src/spi1/flash_sus_cmd.rs index 1f44880988..c3121dd40e 100644 --- a/esp32c6/src/spi1/flash_sus_cmd.rs +++ b/esp32c6/src/spi1/flash_sus_cmd.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Program/Erase suspend command."] #[inline(always)] - #[must_use] pub fn flash_pes_command(&mut self) -> FLASH_PES_COMMAND_W { FLASH_PES_COMMAND_W::new(self, 0) } #[doc = "Bits 16:31 - Flash SUS/SUS1/SUS2 status bit read command. The command should be sent when SUS/SUS1/SUS2 bit should be checked to insure the suspend or resume status of flash."] #[inline(always)] - #[must_use] pub fn wait_pesr_command(&mut self) -> WAIT_PESR_COMMAND_W { WAIT_PESR_COMMAND_W::new(self, 16) } diff --git a/esp32c6/src/spi1/flash_sus_ctrl.rs b/esp32c6/src/spi1/flash_sus_ctrl.rs index d40a8c8819..d26c2550e6 100644 --- a/esp32c6/src/spi1/flash_sus_ctrl.rs +++ b/esp32c6/src/spi1/flash_sus_ctrl.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - program erase resume bit, program erase suspend operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_per(&mut self) -> FLASH_PER_W { FLASH_PER_W::new(self, 0) } #[doc = "Bit 1 - program erase suspend bit, program erase suspend operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_pes(&mut self) -> FLASH_PES_W { FLASH_PES_W::new(self, 1) } #[doc = "Bit 2 - 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4 or *128) SPI_CLK cycles after program erase resume command is sent. 0: SPI1 does not wait after program erase resume command is sent."] #[inline(always)] - #[must_use] pub fn flash_per_wait_en(&mut self) -> FLASH_PER_WAIT_EN_W { FLASH_PER_WAIT_EN_W::new(self, 2) } #[doc = "Bit 3 - 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4 or *128) SPI_CLK cycles after program erase suspend command is sent. 0: SPI1 does not wait after program erase suspend command is sent."] #[inline(always)] - #[must_use] pub fn flash_pes_wait_en(&mut self) -> FLASH_PES_WAIT_EN_W { FLASH_PES_WAIT_EN_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to enable PES end triggers PER transfer option. If this bit is 0, application should send PER after PES is done."] #[inline(always)] - #[must_use] pub fn pes_per_en(&mut self) -> PES_PER_EN_W { PES_PER_EN_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to enable Auto-suspending function."] #[inline(always)] - #[must_use] pub fn flash_pes_en(&mut self) -> FLASH_PES_EN_W { FLASH_PES_EN_W::new(self, 5) } #[doc = "Bits 6:21 - The mask value when check SUS/SUS1/SUS2 status bit. If the read status value is status_in\\[15:0\\](only status_in\\[7:0\\] is valid when only one byte of data is read out, status_in\\[15:0\\] is valid when two bytes of data are read out), SUS/SUS1/SUS2 = status_in\\[15:0\\]^ SPI_MEM_PESR_END_MSK\\[15:0\\]."] #[inline(always)] - #[must_use] pub fn pesr_end_msk(&mut self) -> PESR_END_MSK_W { PESR_END_MSK_W::new(self, 6) } #[doc = "Bit 22 - 1: Read two bytes when check flash SUS/SUS1/SUS2 status bit. 0: Read one byte when check flash SUS/SUS1/SUS2 status bit"] #[inline(always)] - #[must_use] pub fn spi_fmem_rd_sus_2b(&mut self) -> SPI_FMEM_RD_SUS_2B_W { SPI_FMEM_RD_SUS_2B_W::new(self, 22) } #[doc = "Bit 23 - 1: Both WIP and SUS/SUS1/SUS2 bits should be checked to insure the resume status of flash. 0: Only need to check WIP is 0."] #[inline(always)] - #[must_use] pub fn per_end_en(&mut self) -> PER_END_EN_W { PER_END_EN_W::new(self, 23) } #[doc = "Bit 24 - 1: Both WIP and SUS/SUS1/SUS2 bits should be checked to insure the suspend status of flash. 0: Only need to check WIP is 0."] #[inline(always)] - #[must_use] pub fn pes_end_en(&mut self) -> PES_END_EN_W { PES_END_EN_W::new(self, 24) } #[doc = "Bits 25:31 - When SPI1 checks SUS/SUS1/SUS2 bits fail for SPI_MEM_SUS_TIMEOUT_CNT\\[6:0\\] times, it will be treated as check pass."] #[inline(always)] - #[must_use] pub fn sus_timeout_cnt(&mut self) -> SUS_TIMEOUT_CNT_W { SUS_TIMEOUT_CNT_W::new(self, 25) } diff --git a/esp32c6/src/spi1/flash_waiti_ctrl.rs b/esp32c6/src/spi1/flash_waiti_ctrl.rs index c5cf5f21e4..1b7e5ba333 100644 --- a/esp32c6/src/spi1/flash_waiti_ctrl.rs +++ b/esp32c6/src/spi1/flash_waiti_ctrl.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: The hardware will wait idle after SE/PP/WRSR automatically, and hardware auto Suspend/Resume can be enabled. 0: The functions of hardware wait idle and auto Suspend/Resume are not supported."] #[inline(always)] - #[must_use] pub fn waiti_en(&mut self) -> WAITI_EN_W { WAITI_EN_W::new(self, 0) } #[doc = "Bit 1 - The dummy phase enable when wait flash idle (RDSR)"] #[inline(always)] - #[must_use] pub fn waiti_dummy(&mut self) -> WAITI_DUMMY_W { WAITI_DUMMY_W::new(self, 1) } #[doc = "Bit 2 - 1: Output address 0 in RDSR or read SUS command transfer. 0: Do not send out address in RDSR or read SUS command transfer."] #[inline(always)] - #[must_use] pub fn waiti_addr_en(&mut self) -> WAITI_ADDR_EN_W { WAITI_ADDR_EN_W::new(self, 2) } #[doc = "Bits 3:4 - When SPI_MEM_WAITI_ADDR_EN is set, the cycle length of sent out address is (SPI_MEM_WAITI_ADDR_CYCLELEN\\[1:0\\] + 1) SPI bus clock cycles. It is not active when SPI_MEM_WAITI_ADDR_EN is cleared."] #[inline(always)] - #[must_use] pub fn waiti_addr_cyclelen(&mut self) -> WAITI_ADDR_CYCLELEN_W { WAITI_ADDR_CYCLELEN_W::new(self, 3) } #[doc = "Bit 9 - 1:The wait idle command bit length is 16. 0: The wait idle command bit length is 8."] #[inline(always)] - #[must_use] pub fn waiti_cmd_2b(&mut self) -> WAITI_CMD_2B_W { WAITI_CMD_2B_W::new(self, 9) } #[doc = "Bits 10:15 - The dummy cycle length when wait flash idle(RDSR)."] #[inline(always)] - #[must_use] pub fn waiti_dummy_cyclelen(&mut self) -> WAITI_DUMMY_CYCLELEN_W { WAITI_DUMMY_CYCLELEN_W::new(self, 10) } #[doc = "Bits 16:31 - The command value to wait flash idle(RDSR)."] #[inline(always)] - #[must_use] pub fn waiti_cmd(&mut self) -> WAITI_CMD_W { WAITI_CMD_W::new(self, 16) } diff --git a/esp32c6/src/spi1/int_clr.rs b/esp32c6/src/spi1/int_clr.rs index 6ead645df2..eba52d58b9 100644 --- a/esp32c6/src/spi1/int_clr.rs +++ b/esp32c6/src/spi1/int_clr.rs @@ -21,37 +21,31 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The clear bit for SPI_MEM_PER_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn per_end(&mut self) -> PER_END_W { PER_END_W::new(self, 0) } #[doc = "Bit 1 - The clear bit for SPI_MEM_PES_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn pes_end(&mut self) -> PES_END_W { PES_END_W::new(self, 1) } #[doc = "Bit 2 - The clear bit for SPI_MEM_WPE_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn wpe_end(&mut self) -> WPE_END_W { WPE_END_W::new(self, 2) } #[doc = "Bit 3 - The clear bit for SPI_MEM_SLV_ST_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_st_end(&mut self) -> SLV_ST_END_W { SLV_ST_END_W::new(self, 3) } #[doc = "Bit 4 - The clear bit for SPI_MEM_MST_ST_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_st_end(&mut self) -> MST_ST_END_W { MST_ST_END_W::new(self, 4) } #[doc = "Bit 10 - The status bit for SPI_MEM_BROWN_OUT_INT interrupt."] #[inline(always)] - #[must_use] pub fn brown_out(&mut self) -> BROWN_OUT_W { BROWN_OUT_W::new(self, 10) } diff --git a/esp32c6/src/spi1/int_ena.rs b/esp32c6/src/spi1/int_ena.rs index 5a8192140b..52895d72a7 100644 --- a/esp32c6/src/spi1/int_ena.rs +++ b/esp32c6/src/spi1/int_ena.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The enable bit for SPI_MEM_PER_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn per_end(&mut self) -> PER_END_W { PER_END_W::new(self, 0) } #[doc = "Bit 1 - The enable bit for SPI_MEM_PES_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn pes_end(&mut self) -> PES_END_W { PES_END_W::new(self, 1) } #[doc = "Bit 2 - The enable bit for SPI_MEM_WPE_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn wpe_end(&mut self) -> WPE_END_W { WPE_END_W::new(self, 2) } #[doc = "Bit 3 - The enable bit for SPI_MEM_SLV_ST_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_st_end(&mut self) -> SLV_ST_END_W { SLV_ST_END_W::new(self, 3) } #[doc = "Bit 4 - The enable bit for SPI_MEM_MST_ST_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_st_end(&mut self) -> MST_ST_END_W { MST_ST_END_W::new(self, 4) } #[doc = "Bit 10 - The enable bit for SPI_MEM_BROWN_OUT_INT interrupt."] #[inline(always)] - #[must_use] pub fn brown_out(&mut self) -> BROWN_OUT_W { BROWN_OUT_W::new(self, 10) } diff --git a/esp32c6/src/spi1/int_raw.rs b/esp32c6/src/spi1/int_raw.rs index 8cb118af69..5fe4c0f4e5 100644 --- a/esp32c6/src/spi1/int_raw.rs +++ b/esp32c6/src/spi1/int_raw.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw bit for SPI_MEM_PER_END_INT interrupt. 1: Triggered when Auto Resume command (0x7A) is sent and flash is resumed successfully. 0: Others."] #[inline(always)] - #[must_use] pub fn per_end(&mut self) -> PER_END_W { PER_END_W::new(self, 0) } #[doc = "Bit 1 - The raw bit for SPI_MEM_PES_END_INT interrupt.1: Triggered when Auto Suspend command (0x75) is sent and flash is suspended successfully. 0: Others."] #[inline(always)] - #[must_use] pub fn pes_end(&mut self) -> PES_END_W { PES_END_W::new(self, 1) } #[doc = "Bit 2 - The raw bit for SPI_MEM_WPE_END_INT interrupt. 1: Triggered when WRSR/PP/SE/BE/CE is sent and flash is already idle. 0: Others."] #[inline(always)] - #[must_use] pub fn wpe_end(&mut self) -> WPE_END_W { WPE_END_W::new(self, 2) } #[doc = "Bit 3 - The raw bit for SPI_MEM_SLV_ST_END_INT interrupt. 1: Triggered when spi1_slv_st is changed from non idle state to idle state. It means that SPI_CS raises high. 0: Others"] #[inline(always)] - #[must_use] pub fn slv_st_end(&mut self) -> SLV_ST_END_W { SLV_ST_END_W::new(self, 3) } #[doc = "Bit 4 - The raw bit for SPI_MEM_MST_ST_END_INT interrupt. 1: Triggered when spi1_mst_st is changed from non idle state to idle state. 0: Others."] #[inline(always)] - #[must_use] pub fn mst_st_end(&mut self) -> MST_ST_END_W { MST_ST_END_W::new(self, 4) } #[doc = "Bit 10 - The raw bit for SPI_MEM_BROWN_OUT_INT interrupt. 1: Triggered condition is that chip is loosing power and RTC module sends out brown out close flash request to SPI1. After SPI1 sends out suspend command to flash, this interrupt is triggered and MSPI returns to idle state. 0: Others."] #[inline(always)] - #[must_use] pub fn brown_out(&mut self) -> BROWN_OUT_W { BROWN_OUT_W::new(self, 10) } diff --git a/esp32c6/src/spi1/misc.rs b/esp32c6/src/spi1/misc.rs index b251d4f517..95a469646c 100644 --- a/esp32c6/src/spi1/misc.rs +++ b/esp32c6/src/spi1/misc.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - SPI_CS0 pin enable, 1: disable SPI_CS0, 0: SPI_CS0 pin is active to select SPI device, such as flash, external RAM and so on."] #[inline(always)] - #[must_use] pub fn cs0_dis(&mut self) -> CS0_DIS_W { CS0_DIS_W::new(self, 0) } #[doc = "Bit 1 - SPI_CS1 pin enable, 1: disable SPI_CS1, 0: SPI_CS1 pin is active to select SPI device, such as flash, external RAM and so on."] #[inline(always)] - #[must_use] pub fn cs1_dis(&mut self) -> CS1_DIS_W { CS1_DIS_W::new(self, 1) } #[doc = "Bit 9 - 1: spi clk line is high when idle 0: spi clk line is low when idle"] #[inline(always)] - #[must_use] pub fn ck_idle_edge(&mut self) -> CK_IDLE_EDGE_W { CK_IDLE_EDGE_W::new(self, 9) } #[doc = "Bit 10 - spi cs line keep low when the bit is set."] #[inline(always)] - #[must_use] pub fn cs_keep_active(&mut self) -> CS_KEEP_ACTIVE_W { CS_KEEP_ACTIVE_W::new(self, 10) } diff --git a/esp32c6/src/spi1/miso_dlen.rs b/esp32c6/src/spi1/miso_dlen.rs index 355ff7019c..deab962597 100644 --- a/esp32c6/src/spi1/miso_dlen.rs +++ b/esp32c6/src/spi1/miso_dlen.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - The length in bits of read-data. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn usr_miso_dbitlen(&mut self) -> USR_MISO_DBITLEN_W { USR_MISO_DBITLEN_W::new(self, 0) } diff --git a/esp32c6/src/spi1/mosi_dlen.rs b/esp32c6/src/spi1/mosi_dlen.rs index 4dfb555067..8f02670550 100644 --- a/esp32c6/src/spi1/mosi_dlen.rs +++ b/esp32c6/src/spi1/mosi_dlen.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - The length in bits of write-data. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn usr_mosi_dbitlen(&mut self) -> USR_MOSI_DBITLEN_W { USR_MOSI_DBITLEN_W::new(self, 0) } diff --git a/esp32c6/src/spi1/rd_status.rs b/esp32c6/src/spi1/rd_status.rs index 32a6a1cf90..c14fefc1ed 100644 --- a/esp32c6/src/spi1/rd_status.rs +++ b/esp32c6/src/spi1/rd_status.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The value is stored when set spi_mem_flash_rdsr bit and spi_mem_flash_res bit."] #[inline(always)] - #[must_use] pub fn status(&mut self) -> STATUS_W { STATUS_W::new(self, 0) } #[doc = "Bits 16:23 - Mode bits in the flash fast read mode it is combined with spi_mem_fastrd_mode bit."] #[inline(always)] - #[must_use] pub fn wb_mode(&mut self) -> WB_MODE_W { WB_MODE_W::new(self, 16) } diff --git a/esp32c6/src/spi1/sus_status.rs b/esp32c6/src/spi1/sus_status.rs index 0c3db2068b..8f2ed8c240 100644 --- a/esp32c6/src/spi1/sus_status.rs +++ b/esp32c6/src/spi1/sus_status.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The status of flash suspend, only used in SPI1."] #[inline(always)] - #[must_use] pub fn flash_sus(&mut self) -> FLASH_SUS_W { FLASH_SUS_W::new(self, 0) } #[doc = "Bit 1 - 1: SPI1 sends out SPI_MEM_WAIT_PESR_COMMAND\\[15:0\\] to check SUS/SUS1/SUS2 bit. 0: SPI1 sends out SPI_MEM_WAIT_PESR_COMMAND\\[7:0\\] to check SUS/SUS1/SUS2 bit."] #[inline(always)] - #[must_use] pub fn wait_pesr_cmd_2b(&mut self) -> WAIT_PESR_CMD_2B_W { WAIT_PESR_CMD_2B_W::new(self, 1) } #[doc = "Bit 2 - 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 128) SPI_CLK cycles after HPM command is sent. 0: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4) SPI_CLK cycles after HPM command is sent."] #[inline(always)] - #[must_use] pub fn flash_hpm_dly_128(&mut self) -> FLASH_HPM_DLY_128_W { FLASH_HPM_DLY_128_W::new(self, 2) } #[doc = "Bit 3 - 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 128) SPI_CLK cycles after RES command is sent. 0: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4) SPI_CLK cycles after RES command is sent."] #[inline(always)] - #[must_use] pub fn flash_res_dly_128(&mut self) -> FLASH_RES_DLY_128_W { FLASH_RES_DLY_128_W::new(self, 3) } #[doc = "Bit 4 - 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 128) SPI_CLK cycles after DP command is sent. 0: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4) SPI_CLK cycles after DP command is sent."] #[inline(always)] - #[must_use] pub fn flash_dp_dly_128(&mut self) -> FLASH_DP_DLY_128_W { FLASH_DP_DLY_128_W::new(self, 4) } #[doc = "Bit 5 - Valid when SPI_MEM_FLASH_PER_WAIT_EN is 1. 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 128) SPI_CLK cycles after PER command is sent. 0: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4) SPI_CLK cycles after PER command is sent."] #[inline(always)] - #[must_use] pub fn flash_per_dly_128(&mut self) -> FLASH_PER_DLY_128_W { FLASH_PER_DLY_128_W::new(self, 5) } #[doc = "Bit 6 - Valid when SPI_MEM_FLASH_PES_WAIT_EN is 1. 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 128) SPI_CLK cycles after PES command is sent. 0: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4) SPI_CLK cycles after PES command is sent."] #[inline(always)] - #[must_use] pub fn flash_pes_dly_128(&mut self) -> FLASH_PES_DLY_128_W { FLASH_PES_DLY_128_W::new(self, 6) } #[doc = "Bit 7 - 1: Enable SPI0 lock SPI0/1 arbiter option. 0: Disable it."] #[inline(always)] - #[must_use] pub fn spi0_lock_en(&mut self) -> SPI0_LOCK_EN_W { SPI0_LOCK_EN_W::new(self, 7) } #[doc = "Bit 15 - 1: The bit length of Program/Erase Suspend/Resume command is 16. 0: The bit length of Program/Erase Suspend/Resume command is 8."] #[inline(always)] - #[must_use] pub fn flash_pesr_cmd_2b(&mut self) -> FLASH_PESR_CMD_2B_W { FLASH_PESR_CMD_2B_W::new(self, 15) } #[doc = "Bits 16:31 - Program/Erase resume command."] #[inline(always)] - #[must_use] pub fn flash_per_command(&mut self) -> FLASH_PER_COMMAND_W { FLASH_PER_COMMAND_W::new(self, 16) } diff --git a/esp32c6/src/spi1/timing_cali.rs b/esp32c6/src/spi1/timing_cali.rs index 001dea3844..280631e3f2 100644 --- a/esp32c6/src/spi1/timing_cali.rs +++ b/esp32c6/src/spi1/timing_cali.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - The bit is used to enable timing auto-calibration for all reading operations."] #[inline(always)] - #[must_use] pub fn timing_cali(&mut self) -> TIMING_CALI_W { TIMING_CALI_W::new(self, 1) } #[doc = "Bits 2:4 - add extra dummy spi clock cycle length for spi clock calibration."] #[inline(always)] - #[must_use] pub fn extra_dummy_cyclelen(&mut self) -> EXTRA_DUMMY_CYCLELEN_W { EXTRA_DUMMY_CYCLELEN_W::new(self, 2) } diff --git a/esp32c6/src/spi1/user.rs b/esp32c6/src/spi1/user.rs index 1c419b2dc0..aea9d0794b 100644 --- a/esp32c6/src/spi1/user.rs +++ b/esp32c6/src/spi1/user.rs @@ -140,67 +140,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 9 - the bit combined with spi_mem_mosi_delay_mode bits to set mosi signal delay mode."] #[inline(always)] - #[must_use] pub fn ck_out_edge(&mut self) -> CK_OUT_EDGE_W { CK_OUT_EDGE_W::new(self, 9) } #[doc = "Bit 12 - In the write operations read-data phase apply 2 signals"] #[inline(always)] - #[must_use] pub fn fwrite_dual(&mut self) -> FWRITE_DUAL_W { FWRITE_DUAL_W::new(self, 12) } #[doc = "Bit 13 - In the write operations read-data phase apply 4 signals"] #[inline(always)] - #[must_use] pub fn fwrite_quad(&mut self) -> FWRITE_QUAD_W { FWRITE_QUAD_W::new(self, 13) } #[doc = "Bit 14 - In the write operations address phase and read-data phase apply 2 signals."] #[inline(always)] - #[must_use] pub fn fwrite_dio(&mut self) -> FWRITE_DIO_W { FWRITE_DIO_W::new(self, 14) } #[doc = "Bit 15 - In the write operations address phase and read-data phase apply 4 signals."] #[inline(always)] - #[must_use] pub fn fwrite_qio(&mut self) -> FWRITE_QIO_W { FWRITE_QIO_W::new(self, 15) } #[doc = "Bit 26 - SPI clock is disable in dummy phase when the bit is enable."] #[inline(always)] - #[must_use] pub fn usr_dummy_idle(&mut self) -> USR_DUMMY_IDLE_W { USR_DUMMY_IDLE_W::new(self, 26) } #[doc = "Bit 27 - This bit enable the write-data phase of an operation."] #[inline(always)] - #[must_use] pub fn usr_mosi(&mut self) -> USR_MOSI_W { USR_MOSI_W::new(self, 27) } #[doc = "Bit 28 - This bit enable the read-data phase of an operation."] #[inline(always)] - #[must_use] pub fn usr_miso(&mut self) -> USR_MISO_W { USR_MISO_W::new(self, 28) } #[doc = "Bit 29 - This bit enable the dummy phase of an operation."] #[inline(always)] - #[must_use] pub fn usr_dummy(&mut self) -> USR_DUMMY_W { USR_DUMMY_W::new(self, 29) } #[doc = "Bit 30 - This bit enable the address phase of an operation."] #[inline(always)] - #[must_use] pub fn usr_addr(&mut self) -> USR_ADDR_W { USR_ADDR_W::new(self, 30) } #[doc = "Bit 31 - This bit enable the command phase of an operation."] #[inline(always)] - #[must_use] pub fn usr_command(&mut self) -> USR_COMMAND_W { USR_COMMAND_W::new(self, 31) } diff --git a/esp32c6/src/spi1/user1.rs b/esp32c6/src/spi1/user1.rs index 02d28231aa..83cd75ed2a 100644 --- a/esp32c6/src/spi1/user1.rs +++ b/esp32c6/src/spi1/user1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - The length in spi_mem_clk cycles of dummy phase. The register value shall be (cycle_num-1)."] #[inline(always)] - #[must_use] pub fn usr_dummy_cyclelen(&mut self) -> USR_DUMMY_CYCLELEN_W { USR_DUMMY_CYCLELEN_W::new(self, 0) } #[doc = "Bits 26:31 - The length in bits of address phase. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn usr_addr_bitlen(&mut self) -> USR_ADDR_BITLEN_W { USR_ADDR_BITLEN_W::new(self, 26) } diff --git a/esp32c6/src/spi1/user2.rs b/esp32c6/src/spi1/user2.rs index 9fc36fcb3c..a3eb906fe6 100644 --- a/esp32c6/src/spi1/user2.rs +++ b/esp32c6/src/spi1/user2.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The value of command."] #[inline(always)] - #[must_use] pub fn usr_command_value(&mut self) -> USR_COMMAND_VALUE_W { USR_COMMAND_VALUE_W::new(self, 0) } #[doc = "Bits 28:31 - The length in bits of command phase. The register value shall be (bit_num-1)"] #[inline(always)] - #[must_use] pub fn usr_command_bitlen(&mut self) -> USR_COMMAND_BITLEN_W { USR_COMMAND_BITLEN_W::new(self, 28) } diff --git a/esp32c6/src/spi1/w.rs b/esp32c6/src/spi1/w.rs index 5b54f2c664..a1537b342a 100644 --- a/esp32c6/src/spi1/w.rs +++ b/esp32c6/src/spi1/w.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - data buffer"] #[inline(always)] - #[must_use] pub fn buf(&mut self) -> BUF_W { BUF_W::new(self, 0) } diff --git a/esp32c6/src/spi2/addr.rs b/esp32c6/src/spi2/addr.rs index 03ea07541d..acb1a7dfa7 100644 --- a/esp32c6/src/spi2/addr.rs +++ b/esp32c6/src/spi2/addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Address to slave. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_addr_value(&mut self) -> USR_ADDR_VALUE_W { USR_ADDR_VALUE_W::new(self, 0) } diff --git a/esp32c6/src/spi2/clk_gate.rs b/esp32c6/src/spi2/clk_gate.rs index 20f0adfc48..a8142d4385 100644 --- a/esp32c6/src/spi2/clk_gate.rs +++ b/esp32c6/src/spi2/clk_gate.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable clk gate"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to power on the SPI module clock."] #[inline(always)] - #[must_use] pub fn mst_clk_active(&mut self) -> MST_CLK_ACTIVE_W { MST_CLK_ACTIVE_W::new(self, 1) } #[doc = "Bit 2 - This bit is used to select SPI module clock source in master mode. 1: PLL_CLK_80M. 0: XTAL CLK."] #[inline(always)] - #[must_use] pub fn mst_clk_sel(&mut self) -> MST_CLK_SEL_W { MST_CLK_SEL_W::new(self, 2) } diff --git a/esp32c6/src/spi2/clock.rs b/esp32c6/src/spi2/clock.rs index 8b450b70fc..78e6f168df 100644 --- a/esp32c6/src/spi2/clock.rs +++ b/esp32c6/src/spi2/clock.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - In the master mode it must be equal to spi_clkcnt_N. In the slave mode it must be 0. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clkcnt_l(&mut self) -> CLKCNT_L_W { CLKCNT_L_W::new(self, 0) } #[doc = "Bits 6:11 - In the master mode it must be floor((spi_clkcnt_N+1)/2-1). In the slave mode it must be 0. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clkcnt_h(&mut self) -> CLKCNT_H_W { CLKCNT_H_W::new(self, 6) } #[doc = "Bits 12:17 - In the master mode it is the divider of spi_clk. So spi_clk frequency is system/(spi_clkdiv_pre+1)/(spi_clkcnt_N+1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clkcnt_n(&mut self) -> CLKCNT_N_W { CLKCNT_N_W::new(self, 12) } #[doc = "Bits 18:21 - In the master mode it is pre-divider of spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clkdiv_pre(&mut self) -> CLKDIV_PRE_W { CLKDIV_PRE_W::new(self, 18) } #[doc = "Bit 31 - In the master mode 1: spi_clk is eqaul to system 0: spi_clk is divided from system clock. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clk_equ_sysclk(&mut self) -> CLK_EQU_SYSCLK_W { CLK_EQU_SYSCLK_W::new(self, 31) } diff --git a/esp32c6/src/spi2/cmd.rs b/esp32c6/src/spi2/cmd.rs index 1ada226097..6946c7b016 100644 --- a/esp32c6/src/spi2/cmd.rs +++ b/esp32c6/src/spi2/cmd.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:17 - Define the APB cycles of SPI_CONF state. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn conf_bitlen(&mut self) -> CONF_BITLEN_W { CONF_BITLEN_W::new(self, 0) } #[doc = "Bit 23 - Set this bit to synchronize SPI registers from APB clock domain into SPI module clock domain, which is only used in SPI master mode."] #[inline(always)] - #[must_use] pub fn update(&mut self) -> UPDATE_W { UPDATE_W::new(self, 23) } #[doc = "Bit 24 - User define command enable. An operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable. Can not be changed by CONF_buf."] #[inline(always)] - #[must_use] pub fn usr(&mut self) -> USR_W { USR_W::new(self, 24) } diff --git a/esp32c6/src/spi2/ctrl.rs b/esp32c6/src/spi2/ctrl.rs index 0e3978da15..ae5fb125ef 100644 --- a/esp32c6/src/spi2/ctrl.rs +++ b/esp32c6/src/spi2/ctrl.rs @@ -168,79 +168,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - 0: In the dummy phase, the FSPI bus signals are not output. 1: In the dummy phase, the FSPI bus signals are output. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dummy_out(&mut self) -> DUMMY_OUT_W { DUMMY_OUT_W::new(self, 3) } #[doc = "Bit 5 - Apply 2 signals during addr phase 1:enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn faddr_dual(&mut self) -> FADDR_DUAL_W { FADDR_DUAL_W::new(self, 5) } #[doc = "Bit 6 - Apply 4 signals during addr phase 1:enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn faddr_quad(&mut self) -> FADDR_QUAD_W { FADDR_QUAD_W::new(self, 6) } #[doc = "Bit 8 - Apply 2 signals during command phase 1:enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fcmd_dual(&mut self) -> FCMD_DUAL_W { FCMD_DUAL_W::new(self, 8) } #[doc = "Bit 9 - Apply 4 signals during command phase 1:enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fcmd_quad(&mut self) -> FCMD_QUAD_W { FCMD_QUAD_W::new(self, 9) } #[doc = "Bit 14 - In the read operations, read-data phase apply 2 signals. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fread_dual(&mut self) -> FREAD_DUAL_W { FREAD_DUAL_W::new(self, 14) } #[doc = "Bit 15 - In the read operations read-data phase apply 4 signals. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fread_quad(&mut self) -> FREAD_QUAD_W { FREAD_QUAD_W::new(self, 15) } #[doc = "Bit 18 - The bit is used to set MISO line polarity, 1: high 0, low. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn q_pol(&mut self) -> Q_POL_W { Q_POL_W::new(self, 18) } #[doc = "Bit 19 - The bit is used to set MOSI line polarity, 1: high 0, low. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn d_pol(&mut self) -> D_POL_W { D_POL_W::new(self, 19) } #[doc = "Bit 20 - SPI_HOLD output value when SPI is idle. 1: output high, 0: output low. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn hold_pol(&mut self) -> HOLD_POL_W { HOLD_POL_W::new(self, 20) } #[doc = "Bit 21 - Write protect signal output when SPI is idle. 1: output high, 0: output low. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn wp_pol(&mut self) -> WP_POL_W { WP_POL_W::new(self, 21) } #[doc = "Bits 23:24 - In read-data (MISO) phase 1: LSB first 0: MSB first. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn rd_bit_order(&mut self) -> RD_BIT_ORDER_W { RD_BIT_ORDER_W::new(self, 23) } #[doc = "Bits 25:26 - In command address write-data (MOSI) phases 1: LSB firs 0: MSB first. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn wr_bit_order(&mut self) -> WR_BIT_ORDER_W { WR_BIT_ORDER_W::new(self, 25) } diff --git a/esp32c6/src/spi2/date.rs b/esp32c6/src/spi2/date.rs index cc24508707..52a9f8d479 100644 --- a/esp32c6/src/spi2/date.rs +++ b/esp32c6/src/spi2/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - SPI register version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/spi2/din_mode.rs b/esp32c6/src/spi2/din_mode.rs index 12cf96a7d4..b0fdf56aba 100644 --- a/esp32c6/src/spi2/din_mode.rs +++ b/esp32c6/src/spi2/din_mode.rs @@ -96,31 +96,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din0_mode(&mut self) -> DIN0_MODE_W { DIN0_MODE_W::new(self, 0) } #[doc = "Bits 2:3 - the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din1_mode(&mut self) -> DIN1_MODE_W { DIN1_MODE_W::new(self, 2) } #[doc = "Bits 4:5 - the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din2_mode(&mut self) -> DIN2_MODE_W { DIN2_MODE_W::new(self, 4) } #[doc = "Bits 6:7 - the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din3_mode(&mut self) -> DIN3_MODE_W { DIN3_MODE_W::new(self, 6) } #[doc = "Bit 16 - 1:enable hclk in SPI input timing module. 0: disable it. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn timing_hclk_active(&mut self) -> TIMING_HCLK_ACTIVE_W { TIMING_HCLK_ACTIVE_W::new(self, 16) } diff --git a/esp32c6/src/spi2/din_num.rs b/esp32c6/src/spi2/din_num.rs index 7681a210ee..bf9fc8bfb1 100644 --- a/esp32c6/src/spi2/din_num.rs +++ b/esp32c6/src/spi2/din_num.rs @@ -86,25 +86,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din0_num(&mut self) -> DIN0_NUM_W { DIN0_NUM_W::new(self, 0) } #[doc = "Bits 2:3 - the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din1_num(&mut self) -> DIN1_NUM_W { DIN1_NUM_W::new(self, 2) } #[doc = "Bits 4:5 - the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din2_num(&mut self) -> DIN2_NUM_W { DIN2_NUM_W::new(self, 4) } #[doc = "Bits 6:7 - the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din3_num(&mut self) -> DIN3_NUM_W { DIN3_NUM_W::new(self, 6) } diff --git a/esp32c6/src/spi2/dma_conf.rs b/esp32c6/src/spi2/dma_conf.rs index 83e8fa3de1..29de1d9bb0 100644 --- a/esp32c6/src/spi2/dma_conf.rs +++ b/esp32c6/src/spi2/dma_conf.rs @@ -96,55 +96,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 18 - Enable dma segment transfer in spi dma half slave mode. 1: enable. 0: disable."] #[inline(always)] - #[must_use] pub fn dma_slv_seg_trans_en(&mut self) -> DMA_SLV_SEG_TRANS_EN_W { DMA_SLV_SEG_TRANS_EN_W::new(self, 18) } #[doc = "Bit 19 - 1: spi_dma_infifo_full_vld is cleared by spi slave cmd 5. 0: spi_dma_infifo_full_vld is cleared by spi_trans_done."] #[inline(always)] - #[must_use] pub fn slv_rx_seg_trans_clr_en(&mut self) -> SLV_RX_SEG_TRANS_CLR_EN_W { SLV_RX_SEG_TRANS_CLR_EN_W::new(self, 19) } #[doc = "Bit 20 - 1: spi_dma_outfifo_empty_vld is cleared by spi slave cmd 6. 0: spi_dma_outfifo_empty_vld is cleared by spi_trans_done."] #[inline(always)] - #[must_use] pub fn slv_tx_seg_trans_clr_en(&mut self) -> SLV_TX_SEG_TRANS_CLR_EN_W { SLV_TX_SEG_TRANS_CLR_EN_W::new(self, 20) } #[doc = "Bit 21 - 1: spi_dma_inlink_eof is set when the number of dma pushed data bytes is equal to the value of spi_slv/mst_dma_rd_bytelen\\[19:0\\] in spi dma transition. 0: spi_dma_inlink_eof is set by spi_trans_done in non-seg-trans or spi_dma_seg_trans_done in seg-trans."] #[inline(always)] - #[must_use] pub fn rx_eof_en(&mut self) -> RX_EOF_EN_W { RX_EOF_EN_W::new(self, 21) } #[doc = "Bit 27 - Set this bit to enable SPI DMA controlled receive data mode."] #[inline(always)] - #[must_use] pub fn dma_rx_ena(&mut self) -> DMA_RX_ENA_W { DMA_RX_ENA_W::new(self, 27) } #[doc = "Bit 28 - Set this bit to enable SPI DMA controlled send data mode."] #[inline(always)] - #[must_use] pub fn dma_tx_ena(&mut self) -> DMA_TX_ENA_W { DMA_TX_ENA_W::new(self, 28) } #[doc = "Bit 29 - Set this bit to reset RX AFIFO, which is used to receive data in SPI master and slave mode transfer."] #[inline(always)] - #[must_use] pub fn rx_afifo_rst(&mut self) -> RX_AFIFO_RST_W { RX_AFIFO_RST_W::new(self, 29) } #[doc = "Bit 30 - Set this bit to reset BUF TX AFIFO, which is used send data out in SPI slave CPU controlled mode transfer and master mode transfer."] #[inline(always)] - #[must_use] pub fn buf_afifo_rst(&mut self) -> BUF_AFIFO_RST_W { BUF_AFIFO_RST_W::new(self, 30) } #[doc = "Bit 31 - Set this bit to reset DMA TX AFIFO, which is used to send data out in SPI slave DMA controlled mode transfer."] #[inline(always)] - #[must_use] pub fn dma_afifo_rst(&mut self) -> DMA_AFIFO_RST_W { DMA_AFIFO_RST_W::new(self, 31) } diff --git a/esp32c6/src/spi2/dma_int_clr.rs b/esp32c6/src/spi2/dma_int_clr.rs index f313dfe4f1..5de2402ddc 100644 --- a/esp32c6/src/spi2/dma_int_clr.rs +++ b/esp32c6/src/spi2/dma_int_clr.rs @@ -51,127 +51,106 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The clear bit for SPI_DMA_INFIFO_FULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_infifo_full_err(&mut self) -> DMA_INFIFO_FULL_ERR_W { DMA_INFIFO_FULL_ERR_W::new(self, 0) } #[doc = "Bit 1 - The clear bit for SPI_DMA_OUTFIFO_EMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_outfifo_empty_err(&mut self) -> DMA_OUTFIFO_EMPTY_ERR_W { DMA_OUTFIFO_EMPTY_ERR_W::new(self, 1) } #[doc = "Bit 2 - The clear bit for SPI slave Ex_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_ex_qpi(&mut self) -> SLV_EX_QPI_W { SLV_EX_QPI_W::new(self, 2) } #[doc = "Bit 3 - The clear bit for SPI slave En_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_en_qpi(&mut self) -> SLV_EN_QPI_W { SLV_EN_QPI_W::new(self, 3) } #[doc = "Bit 4 - The clear bit for SPI slave CMD7 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd7(&mut self) -> SLV_CMD7_W { SLV_CMD7_W::new(self, 4) } #[doc = "Bit 5 - The clear bit for SPI slave CMD8 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd8(&mut self) -> SLV_CMD8_W { SLV_CMD8_W::new(self, 5) } #[doc = "Bit 6 - The clear bit for SPI slave CMD9 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd9(&mut self) -> SLV_CMD9_W { SLV_CMD9_W::new(self, 6) } #[doc = "Bit 7 - The clear bit for SPI slave CMDA interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmda(&mut self) -> SLV_CMDA_W { SLV_CMDA_W::new(self, 7) } #[doc = "Bit 8 - The clear bit for SPI_SLV_RD_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_dma_done(&mut self) -> SLV_RD_DMA_DONE_W { SLV_RD_DMA_DONE_W::new(self, 8) } #[doc = "Bit 9 - The clear bit for SPI_SLV_WR_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_dma_done(&mut self) -> SLV_WR_DMA_DONE_W { SLV_WR_DMA_DONE_W::new(self, 9) } #[doc = "Bit 10 - The clear bit for SPI_SLV_RD_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_buf_done(&mut self) -> SLV_RD_BUF_DONE_W { SLV_RD_BUF_DONE_W::new(self, 10) } #[doc = "Bit 11 - The clear bit for SPI_SLV_WR_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_buf_done(&mut self) -> SLV_WR_BUF_DONE_W { SLV_WR_BUF_DONE_W::new(self, 11) } #[doc = "Bit 12 - The clear bit for SPI_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_done(&mut self) -> TRANS_DONE_W { TRANS_DONE_W::new(self, 12) } #[doc = "Bit 13 - The clear bit for SPI_DMA_SEG_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_seg_trans_done(&mut self) -> DMA_SEG_TRANS_DONE_W { DMA_SEG_TRANS_DONE_W::new(self, 13) } #[doc = "Bit 14 - The clear bit for SPI_SEG_MAGIC_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn seg_magic_err(&mut self) -> SEG_MAGIC_ERR_W { SEG_MAGIC_ERR_W::new(self, 14) } #[doc = "Bit 15 - The clear bit for SPI_SLV_BUF_ADDR_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_buf_addr_err(&mut self) -> SLV_BUF_ADDR_ERR_W { SLV_BUF_ADDR_ERR_W::new(self, 15) } #[doc = "Bit 16 - The clear bit for SPI_SLV_CMD_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd_err(&mut self) -> SLV_CMD_ERR_W { SLV_CMD_ERR_W::new(self, 16) } #[doc = "Bit 17 - The clear bit for SPI_MST_RX_AFIFO_WFULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_rx_afifo_wfull_err(&mut self) -> MST_RX_AFIFO_WFULL_ERR_W { MST_RX_AFIFO_WFULL_ERR_W::new(self, 17) } #[doc = "Bit 18 - The clear bit for SPI_MST_TX_AFIFO_REMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_tx_afifo_rempty_err(&mut self) -> MST_TX_AFIFO_REMPTY_ERR_W { MST_TX_AFIFO_REMPTY_ERR_W::new(self, 18) } #[doc = "Bit 19 - The clear bit for SPI_APP2_INT interrupt."] #[inline(always)] - #[must_use] pub fn app2(&mut self) -> APP2_W { APP2_W::new(self, 19) } #[doc = "Bit 20 - The clear bit for SPI_APP1_INT interrupt."] #[inline(always)] - #[must_use] pub fn app1(&mut self) -> APP1_W { APP1_W::new(self, 20) } diff --git a/esp32c6/src/spi2/dma_int_ena.rs b/esp32c6/src/spi2/dma_int_ena.rs index 05ed98c335..f90d704190 100644 --- a/esp32c6/src/spi2/dma_int_ena.rs +++ b/esp32c6/src/spi2/dma_int_ena.rs @@ -224,127 +224,106 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The enable bit for SPI_DMA_INFIFO_FULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_infifo_full_err(&mut self) -> DMA_INFIFO_FULL_ERR_W { DMA_INFIFO_FULL_ERR_W::new(self, 0) } #[doc = "Bit 1 - The enable bit for SPI_DMA_OUTFIFO_EMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_outfifo_empty_err(&mut self) -> DMA_OUTFIFO_EMPTY_ERR_W { DMA_OUTFIFO_EMPTY_ERR_W::new(self, 1) } #[doc = "Bit 2 - The enable bit for SPI slave Ex_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_ex_qpi(&mut self) -> SLV_EX_QPI_W { SLV_EX_QPI_W::new(self, 2) } #[doc = "Bit 3 - The enable bit for SPI slave En_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_en_qpi(&mut self) -> SLV_EN_QPI_W { SLV_EN_QPI_W::new(self, 3) } #[doc = "Bit 4 - The enable bit for SPI slave CMD7 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd7(&mut self) -> SLV_CMD7_W { SLV_CMD7_W::new(self, 4) } #[doc = "Bit 5 - The enable bit for SPI slave CMD8 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd8(&mut self) -> SLV_CMD8_W { SLV_CMD8_W::new(self, 5) } #[doc = "Bit 6 - The enable bit for SPI slave CMD9 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd9(&mut self) -> SLV_CMD9_W { SLV_CMD9_W::new(self, 6) } #[doc = "Bit 7 - The enable bit for SPI slave CMDA interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmda(&mut self) -> SLV_CMDA_W { SLV_CMDA_W::new(self, 7) } #[doc = "Bit 8 - The enable bit for SPI_SLV_RD_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_dma_done(&mut self) -> SLV_RD_DMA_DONE_W { SLV_RD_DMA_DONE_W::new(self, 8) } #[doc = "Bit 9 - The enable bit for SPI_SLV_WR_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_dma_done(&mut self) -> SLV_WR_DMA_DONE_W { SLV_WR_DMA_DONE_W::new(self, 9) } #[doc = "Bit 10 - The enable bit for SPI_SLV_RD_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_buf_done(&mut self) -> SLV_RD_BUF_DONE_W { SLV_RD_BUF_DONE_W::new(self, 10) } #[doc = "Bit 11 - The enable bit for SPI_SLV_WR_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_buf_done(&mut self) -> SLV_WR_BUF_DONE_W { SLV_WR_BUF_DONE_W::new(self, 11) } #[doc = "Bit 12 - The enable bit for SPI_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_done(&mut self) -> TRANS_DONE_W { TRANS_DONE_W::new(self, 12) } #[doc = "Bit 13 - The enable bit for SPI_DMA_SEG_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_seg_trans_done(&mut self) -> DMA_SEG_TRANS_DONE_W { DMA_SEG_TRANS_DONE_W::new(self, 13) } #[doc = "Bit 14 - The enable bit for SPI_SEG_MAGIC_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn seg_magic_err(&mut self) -> SEG_MAGIC_ERR_W { SEG_MAGIC_ERR_W::new(self, 14) } #[doc = "Bit 15 - The enable bit for SPI_SLV_BUF_ADDR_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_buf_addr_err(&mut self) -> SLV_BUF_ADDR_ERR_W { SLV_BUF_ADDR_ERR_W::new(self, 15) } #[doc = "Bit 16 - The enable bit for SPI_SLV_CMD_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd_err(&mut self) -> SLV_CMD_ERR_W { SLV_CMD_ERR_W::new(self, 16) } #[doc = "Bit 17 - The enable bit for SPI_MST_RX_AFIFO_WFULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_rx_afifo_wfull_err(&mut self) -> MST_RX_AFIFO_WFULL_ERR_W { MST_RX_AFIFO_WFULL_ERR_W::new(self, 17) } #[doc = "Bit 18 - The enable bit for SPI_MST_TX_AFIFO_REMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_tx_afifo_rempty_err(&mut self) -> MST_TX_AFIFO_REMPTY_ERR_W { MST_TX_AFIFO_REMPTY_ERR_W::new(self, 18) } #[doc = "Bit 19 - The enable bit for SPI_APP2_INT interrupt."] #[inline(always)] - #[must_use] pub fn app2(&mut self) -> APP2_W { APP2_W::new(self, 19) } #[doc = "Bit 20 - The enable bit for SPI_APP1_INT interrupt."] #[inline(always)] - #[must_use] pub fn app1(&mut self) -> APP1_W { APP1_W::new(self, 20) } diff --git a/esp32c6/src/spi2/dma_int_raw.rs b/esp32c6/src/spi2/dma_int_raw.rs index 36e00d4a8f..5ad114f0ce 100644 --- a/esp32c6/src/spi2/dma_int_raw.rs +++ b/esp32c6/src/spi2/dma_int_raw.rs @@ -224,127 +224,106 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: The current data rate of DMA Rx is smaller than that of SPI, which will lose the receive data. 0: Others."] #[inline(always)] - #[must_use] pub fn dma_infifo_full_err(&mut self) -> DMA_INFIFO_FULL_ERR_W { DMA_INFIFO_FULL_ERR_W::new(self, 0) } #[doc = "Bit 1 - 1: The current data rate of DMA TX is smaller than that of SPI. SPI will stop in master mode and send out all 0 in slave mode. 0: Others."] #[inline(always)] - #[must_use] pub fn dma_outfifo_empty_err(&mut self) -> DMA_OUTFIFO_EMPTY_ERR_W { DMA_OUTFIFO_EMPTY_ERR_W::new(self, 1) } #[doc = "Bit 2 - The raw bit for SPI slave Ex_QPI interrupt. 1: SPI slave mode Ex_QPI transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_ex_qpi(&mut self) -> SLV_EX_QPI_W { SLV_EX_QPI_W::new(self, 2) } #[doc = "Bit 3 - The raw bit for SPI slave En_QPI interrupt. 1: SPI slave mode En_QPI transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_en_qpi(&mut self) -> SLV_EN_QPI_W { SLV_EN_QPI_W::new(self, 3) } #[doc = "Bit 4 - The raw bit for SPI slave CMD7 interrupt. 1: SPI slave mode CMD7 transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_cmd7(&mut self) -> SLV_CMD7_W { SLV_CMD7_W::new(self, 4) } #[doc = "Bit 5 - The raw bit for SPI slave CMD8 interrupt. 1: SPI slave mode CMD8 transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_cmd8(&mut self) -> SLV_CMD8_W { SLV_CMD8_W::new(self, 5) } #[doc = "Bit 6 - The raw bit for SPI slave CMD9 interrupt. 1: SPI slave mode CMD9 transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_cmd9(&mut self) -> SLV_CMD9_W { SLV_CMD9_W::new(self, 6) } #[doc = "Bit 7 - The raw bit for SPI slave CMDA interrupt. 1: SPI slave mode CMDA transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_cmda(&mut self) -> SLV_CMDA_W { SLV_CMDA_W::new(self, 7) } #[doc = "Bit 8 - The raw bit for SPI_SLV_RD_DMA_DONE_INT interrupt. 1: SPI slave mode Rd_DMA transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_rd_dma_done(&mut self) -> SLV_RD_DMA_DONE_W { SLV_RD_DMA_DONE_W::new(self, 8) } #[doc = "Bit 9 - The raw bit for SPI_SLV_WR_DMA_DONE_INT interrupt. 1: SPI slave mode Wr_DMA transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_wr_dma_done(&mut self) -> SLV_WR_DMA_DONE_W { SLV_WR_DMA_DONE_W::new(self, 9) } #[doc = "Bit 10 - The raw bit for SPI_SLV_RD_BUF_DONE_INT interrupt. 1: SPI slave mode Rd_BUF transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_rd_buf_done(&mut self) -> SLV_RD_BUF_DONE_W { SLV_RD_BUF_DONE_W::new(self, 10) } #[doc = "Bit 11 - The raw bit for SPI_SLV_WR_BUF_DONE_INT interrupt. 1: SPI slave mode Wr_BUF transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_wr_buf_done(&mut self) -> SLV_WR_BUF_DONE_W { SLV_WR_BUF_DONE_W::new(self, 11) } #[doc = "Bit 12 - The raw bit for SPI_TRANS_DONE_INT interrupt. 1: SPI master mode transmission is ended. 0: others."] #[inline(always)] - #[must_use] pub fn trans_done(&mut self) -> TRANS_DONE_W { TRANS_DONE_W::new(self, 12) } #[doc = "Bit 13 - The raw bit for SPI_DMA_SEG_TRANS_DONE_INT interrupt. 1: spi master DMA full-duplex/half-duplex seg-conf-trans ends or slave half-duplex seg-trans ends. And data has been pushed to corresponding memory. 0: seg-conf-trans or seg-trans is not ended or not occurred."] #[inline(always)] - #[must_use] pub fn dma_seg_trans_done(&mut self) -> DMA_SEG_TRANS_DONE_W { DMA_SEG_TRANS_DONE_W::new(self, 13) } #[doc = "Bit 14 - The raw bit for SPI_SEG_MAGIC_ERR_INT interrupt. 1: The magic value in CONF buffer is error in the DMA seg-conf-trans. 0: others."] #[inline(always)] - #[must_use] pub fn seg_magic_err(&mut self) -> SEG_MAGIC_ERR_W { SEG_MAGIC_ERR_W::new(self, 14) } #[doc = "Bit 15 - The raw bit for SPI_SLV_BUF_ADDR_ERR_INT interrupt. 1: The accessing data address of the current SPI slave mode CPU controlled FD, Wr_BUF or Rd_BUF transmission is bigger than 63. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_buf_addr_err(&mut self) -> SLV_BUF_ADDR_ERR_W { SLV_BUF_ADDR_ERR_W::new(self, 15) } #[doc = "Bit 16 - The raw bit for SPI_SLV_CMD_ERR_INT interrupt. 1: The slave command value in the current SPI slave HD mode transmission is not supported. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_cmd_err(&mut self) -> SLV_CMD_ERR_W { SLV_CMD_ERR_W::new(self, 16) } #[doc = "Bit 17 - The raw bit for SPI_MST_RX_AFIFO_WFULL_ERR_INT interrupt. 1: There is a RX AFIFO write-full error when SPI inputs data in master mode. 0: Others."] #[inline(always)] - #[must_use] pub fn mst_rx_afifo_wfull_err(&mut self) -> MST_RX_AFIFO_WFULL_ERR_W { MST_RX_AFIFO_WFULL_ERR_W::new(self, 17) } #[doc = "Bit 18 - The raw bit for SPI_MST_TX_AFIFO_REMPTY_ERR_INT interrupt. 1: There is a TX BUF AFIFO read-empty error when SPI outputs data in master mode. 0: Others."] #[inline(always)] - #[must_use] pub fn mst_tx_afifo_rempty_err(&mut self) -> MST_TX_AFIFO_REMPTY_ERR_W { MST_TX_AFIFO_REMPTY_ERR_W::new(self, 18) } #[doc = "Bit 19 - The raw bit for SPI_APP2_INT interrupt. The value is only controlled by software."] #[inline(always)] - #[must_use] pub fn app2(&mut self) -> APP2_W { APP2_W::new(self, 19) } #[doc = "Bit 20 - The raw bit for SPI_APP1_INT interrupt. The value is only controlled by software."] #[inline(always)] - #[must_use] pub fn app1(&mut self) -> APP1_W { APP1_W::new(self, 20) } diff --git a/esp32c6/src/spi2/dma_int_set.rs b/esp32c6/src/spi2/dma_int_set.rs index 3da095f20a..aa2d02d1e4 100644 --- a/esp32c6/src/spi2/dma_int_set.rs +++ b/esp32c6/src/spi2/dma_int_set.rs @@ -51,7 +51,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The software set bit for SPI_DMA_INFIFO_FULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_infifo_full_err_int_set( &mut self, ) -> DMA_INFIFO_FULL_ERR_INT_SET_W { @@ -59,7 +58,6 @@ impl W { } #[doc = "Bit 1 - The software set bit for SPI_DMA_OUTFIFO_EMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_outfifo_empty_err_int_set( &mut self, ) -> DMA_OUTFIFO_EMPTY_ERR_INT_SET_W { @@ -67,97 +65,81 @@ impl W { } #[doc = "Bit 2 - The software set bit for SPI slave Ex_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_ex_qpi_int_set(&mut self) -> SLV_EX_QPI_INT_SET_W { SLV_EX_QPI_INT_SET_W::new(self, 2) } #[doc = "Bit 3 - The software set bit for SPI slave En_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_en_qpi_int_set(&mut self) -> SLV_EN_QPI_INT_SET_W { SLV_EN_QPI_INT_SET_W::new(self, 3) } #[doc = "Bit 4 - The software set bit for SPI slave CMD7 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd7_int_set(&mut self) -> SLV_CMD7_INT_SET_W { SLV_CMD7_INT_SET_W::new(self, 4) } #[doc = "Bit 5 - The software set bit for SPI slave CMD8 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd8_int_set(&mut self) -> SLV_CMD8_INT_SET_W { SLV_CMD8_INT_SET_W::new(self, 5) } #[doc = "Bit 6 - The software set bit for SPI slave CMD9 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd9_int_set(&mut self) -> SLV_CMD9_INT_SET_W { SLV_CMD9_INT_SET_W::new(self, 6) } #[doc = "Bit 7 - The software set bit for SPI slave CMDA interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmda_int_set(&mut self) -> SLV_CMDA_INT_SET_W { SLV_CMDA_INT_SET_W::new(self, 7) } #[doc = "Bit 8 - The software set bit for SPI_SLV_RD_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_dma_done_int_set(&mut self) -> SLV_RD_DMA_DONE_INT_SET_W { SLV_RD_DMA_DONE_INT_SET_W::new(self, 8) } #[doc = "Bit 9 - The software set bit for SPI_SLV_WR_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_dma_done_int_set(&mut self) -> SLV_WR_DMA_DONE_INT_SET_W { SLV_WR_DMA_DONE_INT_SET_W::new(self, 9) } #[doc = "Bit 10 - The software set bit for SPI_SLV_RD_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_buf_done_int_set(&mut self) -> SLV_RD_BUF_DONE_INT_SET_W { SLV_RD_BUF_DONE_INT_SET_W::new(self, 10) } #[doc = "Bit 11 - The software set bit for SPI_SLV_WR_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_buf_done_int_set(&mut self) -> SLV_WR_BUF_DONE_INT_SET_W { SLV_WR_BUF_DONE_INT_SET_W::new(self, 11) } #[doc = "Bit 12 - The software set bit for SPI_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_done_int_set(&mut self) -> TRANS_DONE_INT_SET_W { TRANS_DONE_INT_SET_W::new(self, 12) } #[doc = "Bit 13 - The software set bit for SPI_DMA_SEG_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_seg_trans_done_int_set(&mut self) -> DMA_SEG_TRANS_DONE_INT_SET_W { DMA_SEG_TRANS_DONE_INT_SET_W::new(self, 13) } #[doc = "Bit 14 - The software set bit for SPI_SEG_MAGIC_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn seg_magic_err_int_set(&mut self) -> SEG_MAGIC_ERR_INT_SET_W { SEG_MAGIC_ERR_INT_SET_W::new(self, 14) } #[doc = "Bit 15 - The software set bit for SPI_SLV_BUF_ADDR_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_buf_addr_err_int_set(&mut self) -> SLV_BUF_ADDR_ERR_INT_SET_W { SLV_BUF_ADDR_ERR_INT_SET_W::new(self, 15) } #[doc = "Bit 16 - The software set bit for SPI_SLV_CMD_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd_err_int_set(&mut self) -> SLV_CMD_ERR_INT_SET_W { SLV_CMD_ERR_INT_SET_W::new(self, 16) } #[doc = "Bit 17 - The software set bit for SPI_MST_RX_AFIFO_WFULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_rx_afifo_wfull_err_int_set( &mut self, ) -> MST_RX_AFIFO_WFULL_ERR_INT_SET_W { @@ -165,7 +147,6 @@ impl W { } #[doc = "Bit 18 - The software set bit for SPI_MST_TX_AFIFO_REMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_tx_afifo_rempty_err_int_set( &mut self, ) -> MST_TX_AFIFO_REMPTY_ERR_INT_SET_W { @@ -173,13 +154,11 @@ impl W { } #[doc = "Bit 19 - The software set bit for SPI_APP2_INT interrupt."] #[inline(always)] - #[must_use] pub fn app2_int_set(&mut self) -> APP2_INT_SET_W { APP2_INT_SET_W::new(self, 19) } #[doc = "Bit 20 - The software set bit for SPI_APP1_INT interrupt."] #[inline(always)] - #[must_use] pub fn app1_int_set(&mut self) -> APP1_INT_SET_W { APP1_INT_SET_W::new(self, 20) } diff --git a/esp32c6/src/spi2/dout_mode.rs b/esp32c6/src/spi2/dout_mode.rs index 2e63d5801e..f3060c3137 100644 --- a/esp32c6/src/spi2/dout_mode.rs +++ b/esp32c6/src/spi2/dout_mode.rs @@ -94,25 +94,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The output signal 0 is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout0_mode(&mut self) -> DOUT0_MODE_W { DOUT0_MODE_W::new(self, 0) } #[doc = "Bit 1 - The output signal 1 is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout1_mode(&mut self) -> DOUT1_MODE_W { DOUT1_MODE_W::new(self, 1) } #[doc = "Bit 2 - The output signal 2 is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout2_mode(&mut self) -> DOUT2_MODE_W { DOUT2_MODE_W::new(self, 2) } #[doc = "Bit 3 - The output signal 3 is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout3_mode(&mut self) -> DOUT3_MODE_W { DOUT3_MODE_W::new(self, 3) } diff --git a/esp32c6/src/spi2/misc.rs b/esp32c6/src/spi2/misc.rs index 992a699e3e..624f0678ea 100644 --- a/esp32c6/src/spi2/misc.rs +++ b/esp32c6/src/spi2/misc.rs @@ -174,73 +174,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - SPI CS0 pin enable, 1: disable CS0, 0: spi_cs0 signal is from/to CS0 pin. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs0_dis(&mut self) -> CS0_DIS_W { CS0_DIS_W::new(self, 0) } #[doc = "Bit 1 - SPI CS1 pin enable, 1: disable CS1, 0: spi_cs1 signal is from/to CS1 pin. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs1_dis(&mut self) -> CS1_DIS_W { CS1_DIS_W::new(self, 1) } #[doc = "Bit 2 - SPI CS2 pin enable, 1: disable CS2, 0: spi_cs2 signal is from/to CS2 pin. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs2_dis(&mut self) -> CS2_DIS_W { CS2_DIS_W::new(self, 2) } #[doc = "Bit 3 - SPI CS3 pin enable, 1: disable CS3, 0: spi_cs3 signal is from/to CS3 pin. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs3_dis(&mut self) -> CS3_DIS_W { CS3_DIS_W::new(self, 3) } #[doc = "Bit 4 - SPI CS4 pin enable, 1: disable CS4, 0: spi_cs4 signal is from/to CS4 pin. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs4_dis(&mut self) -> CS4_DIS_W { CS4_DIS_W::new(self, 4) } #[doc = "Bit 5 - SPI CS5 pin enable, 1: disable CS5, 0: spi_cs5 signal is from/to CS5 pin. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs5_dis(&mut self) -> CS5_DIS_W { CS5_DIS_W::new(self, 5) } #[doc = "Bit 6 - 1: spi clk out disable, 0: spi clk out enable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn ck_dis(&mut self) -> CK_DIS_W { CK_DIS_W::new(self, 6) } #[doc = "Bits 7:12 - In the master mode the bits are the polarity of spi cs line, the value is equivalent to spi_cs ^ spi_master_cs_pol. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn master_cs_pol(&mut self) -> MASTER_CS_POL_W { MASTER_CS_POL_W::new(self, 7) } #[doc = "Bit 23 - spi slave input cs polarity select. 1: inv 0: not change. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn slave_cs_pol(&mut self) -> SLAVE_CS_POL_W { SLAVE_CS_POL_W::new(self, 23) } #[doc = "Bit 29 - 1: spi clk line is high when idle 0: spi clk line is low when idle. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn ck_idle_edge(&mut self) -> CK_IDLE_EDGE_W { CK_IDLE_EDGE_W::new(self, 29) } #[doc = "Bit 30 - spi cs line keep low when the bit is set. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_keep_active(&mut self) -> CS_KEEP_ACTIVE_W { CS_KEEP_ACTIVE_W::new(self, 30) } #[doc = "Bit 31 - 1: SPI quad input swap enable, swap FSPID with FSPIQ, swap FSPIWP with FSPIHD. 0: spi quad input swap disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn quad_din_pin_swap(&mut self) -> QUAD_DIN_PIN_SWAP_W { QUAD_DIN_PIN_SWAP_W::new(self, 31) } diff --git a/esp32c6/src/spi2/ms_dlen.rs b/esp32c6/src/spi2/ms_dlen.rs index 14a0b1bf7f..fab214224a 100644 --- a/esp32c6/src/spi2/ms_dlen.rs +++ b/esp32c6/src/spi2/ms_dlen.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:17 - The value of these bits is the configured SPI transmission data bit length in master mode DMA controlled transfer or CPU controlled transfer. The value is also the configured bit length in slave mode DMA RX controlled transfer. The register value shall be (bit_num-1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn ms_data_bitlen(&mut self) -> MS_DATA_BITLEN_W { MS_DATA_BITLEN_W::new(self, 0) } diff --git a/esp32c6/src/spi2/slave.rs b/esp32c6/src/spi2/slave.rs index fda67b7cb7..3cd44a1502 100644 --- a/esp32c6/src/spi2/slave.rs +++ b/esp32c6/src/spi2/slave.rs @@ -126,73 +126,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - SPI clock mode bits. 0: SPI clock is off when CS inactive 1: SPI clock is delayed one cycle after CS inactive 2: SPI clock is delayed two cycles after CS inactive 3: SPI clock is alwasy on. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clk_mode(&mut self) -> CLK_MODE_W { CLK_MODE_W::new(self, 0) } #[doc = "Bit 2 - {CPOL, CPHA},1: support spi clk mode 1 and 3, first edge output data B\\[0\\]/B\\[7\\]. 0: support spi clk mode 0 and 2, first edge output data B\\[1\\]/B\\[6\\]."] #[inline(always)] - #[must_use] pub fn clk_mode_13(&mut self) -> CLK_MODE_13_W { CLK_MODE_13_W::new(self, 2) } #[doc = "Bit 3 - It saves half a cycle when tsck is the same as rsck. 1: output data at rsck posedge 0: output data at tsck posedge"] #[inline(always)] - #[must_use] pub fn rsck_data_out(&mut self) -> RSCK_DATA_OUT_W { RSCK_DATA_OUT_W::new(self, 3) } #[doc = "Bit 8 - 1: SPI_SLV_DATA_BITLEN stores data bit length of master-read-slave data length in DMA controlled mode(Rd_DMA). 0: others"] #[inline(always)] - #[must_use] pub fn slv_rddma_bitlen_en(&mut self) -> SLV_RDDMA_BITLEN_EN_W { SLV_RDDMA_BITLEN_EN_W::new(self, 8) } #[doc = "Bit 9 - 1: SPI_SLV_DATA_BITLEN stores data bit length of master-write-to-slave data length in DMA controlled mode(Wr_DMA). 0: others"] #[inline(always)] - #[must_use] pub fn slv_wrdma_bitlen_en(&mut self) -> SLV_WRDMA_BITLEN_EN_W { SLV_WRDMA_BITLEN_EN_W::new(self, 9) } #[doc = "Bit 10 - 1: SPI_SLV_DATA_BITLEN stores data bit length of master-read-slave data length in CPU controlled mode(Rd_BUF). 0: others"] #[inline(always)] - #[must_use] pub fn slv_rdbuf_bitlen_en(&mut self) -> SLV_RDBUF_BITLEN_EN_W { SLV_RDBUF_BITLEN_EN_W::new(self, 10) } #[doc = "Bit 11 - 1: SPI_SLV_DATA_BITLEN stores data bit length of master-write-to-slave data length in CPU controlled mode(Wr_BUF). 0: others"] #[inline(always)] - #[must_use] pub fn slv_wrbuf_bitlen_en(&mut self) -> SLV_WRBUF_BITLEN_EN_W { SLV_WRBUF_BITLEN_EN_W::new(self, 11) } #[doc = "Bits 22:25 - The magic value of BM table in master DMA seg-trans."] #[inline(always)] - #[must_use] pub fn dma_seg_magic_value(&mut self) -> DMA_SEG_MAGIC_VALUE_W { DMA_SEG_MAGIC_VALUE_W::new(self, 22) } #[doc = "Bit 26 - Set SPI work mode. 1: slave mode 0: master mode."] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 26) } #[doc = "Bit 27 - Software reset enable, reset the spi clock line cs line and data lines. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn soft_reset(&mut self) -> SOFT_RESET_W { SOFT_RESET_W::new(self, 27) } #[doc = "Bit 28 - 1: Enable the DMA CONF phase of current seg-trans operation, which means seg-trans will start. 0: This is not seg-trans mode."] #[inline(always)] - #[must_use] pub fn usr_conf(&mut self) -> USR_CONF_W { USR_CONF_W::new(self, 28) } #[doc = "Bit 29 - In master full-duplex mode, 1: GP-SPI will wait DMA TX data is ready before starting SPI transfer. 0: GP-SPI does not wait DMA TX data before starting SPI transfer."] #[inline(always)] - #[must_use] pub fn mst_fd_wait_dma_tx_data(&mut self) -> MST_FD_WAIT_DMA_TX_DATA_W { MST_FD_WAIT_DMA_TX_DATA_W::new(self, 29) } diff --git a/esp32c6/src/spi2/slave1.rs b/esp32c6/src/spi2/slave1.rs index 4e464a31b4..2408ff65a5 100644 --- a/esp32c6/src/spi2/slave1.rs +++ b/esp32c6/src/spi2/slave1.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:17 - The transferred data bit length in SPI slave FD and HD mode."] #[inline(always)] - #[must_use] pub fn slv_data_bitlen(&mut self) -> SLV_DATA_BITLEN_W { SLV_DATA_BITLEN_W::new(self, 0) } #[doc = "Bits 18:25 - In the slave mode it is the value of command."] #[inline(always)] - #[must_use] pub fn slv_last_command(&mut self) -> SLV_LAST_COMMAND_W { SLV_LAST_COMMAND_W::new(self, 18) } #[doc = "Bits 26:31 - In the slave mode it is the value of address."] #[inline(always)] - #[must_use] pub fn slv_last_addr(&mut self) -> SLV_LAST_ADDR_W { SLV_LAST_ADDR_W::new(self, 26) } diff --git a/esp32c6/src/spi2/user.rs b/esp32c6/src/spi2/user.rs index f3097650e8..3d2ed530a7 100644 --- a/esp32c6/src/spi2/user.rs +++ b/esp32c6/src/spi2/user.rs @@ -220,115 +220,96 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set the bit to enable full duplex communication. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn doutdin(&mut self) -> DOUTDIN_W { DOUTDIN_W::new(self, 0) } #[doc = "Bit 3 - Both for master mode and slave mode. 1: spi controller is in QPI mode. 0: others. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn qpi_mode(&mut self) -> QPI_MODE_W { QPI_MODE_W::new(self, 3) } #[doc = "Bit 5 - In the slave mode, this bit can be used to change the polarity of tsck. 0: tsck = spi_ck_i. 1:tsck = !spi_ck_i."] #[inline(always)] - #[must_use] pub fn tsck_i_edge(&mut self) -> TSCK_I_EDGE_W { TSCK_I_EDGE_W::new(self, 5) } #[doc = "Bit 6 - spi cs keep low when spi is in done phase. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_hold(&mut self) -> CS_HOLD_W { CS_HOLD_W::new(self, 6) } #[doc = "Bit 7 - spi cs is enable when spi is in prepare phase. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_setup(&mut self) -> CS_SETUP_W { CS_SETUP_W::new(self, 7) } #[doc = "Bit 8 - In the slave mode, this bit can be used to change the polarity of rsck. 0: rsck = !spi_ck_i. 1:rsck = spi_ck_i."] #[inline(always)] - #[must_use] pub fn rsck_i_edge(&mut self) -> RSCK_I_EDGE_W { RSCK_I_EDGE_W::new(self, 8) } #[doc = "Bit 9 - the bit combined with spi_mosi_delay_mode bits to set mosi signal delay mode. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn ck_out_edge(&mut self) -> CK_OUT_EDGE_W { CK_OUT_EDGE_W::new(self, 9) } #[doc = "Bit 12 - In the write operations read-data phase apply 2 signals. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fwrite_dual(&mut self) -> FWRITE_DUAL_W { FWRITE_DUAL_W::new(self, 12) } #[doc = "Bit 13 - In the write operations read-data phase apply 4 signals. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fwrite_quad(&mut self) -> FWRITE_QUAD_W { FWRITE_QUAD_W::new(self, 13) } #[doc = "Bit 15 - 1: Enable the DMA CONF phase of next seg-trans operation, which means seg-trans will continue. 0: The seg-trans will end after the current SPI seg-trans or this is not seg-trans mode. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_conf_nxt(&mut self) -> USR_CONF_NXT_W { USR_CONF_NXT_W::new(self, 15) } #[doc = "Bit 17 - Set the bit to enable 3-line half duplex communication mosi and miso signals share the same pin. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn sio(&mut self) -> SIO_W { SIO_W::new(self, 17) } #[doc = "Bit 24 - read-data phase only access to high-part of the buffer spi_w8~spi_w15. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_miso_highpart(&mut self) -> USR_MISO_HIGHPART_W { USR_MISO_HIGHPART_W::new(self, 24) } #[doc = "Bit 25 - write-data phase only access to high-part of the buffer spi_w8~spi_w15. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_mosi_highpart(&mut self) -> USR_MOSI_HIGHPART_W { USR_MOSI_HIGHPART_W::new(self, 25) } #[doc = "Bit 26 - spi clock is disable in dummy phase when the bit is enable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_dummy_idle(&mut self) -> USR_DUMMY_IDLE_W { USR_DUMMY_IDLE_W::new(self, 26) } #[doc = "Bit 27 - This bit enable the write-data phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_mosi(&mut self) -> USR_MOSI_W { USR_MOSI_W::new(self, 27) } #[doc = "Bit 28 - This bit enable the read-data phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_miso(&mut self) -> USR_MISO_W { USR_MISO_W::new(self, 28) } #[doc = "Bit 29 - This bit enable the dummy phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_dummy(&mut self) -> USR_DUMMY_W { USR_DUMMY_W::new(self, 29) } #[doc = "Bit 30 - This bit enable the address phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_addr(&mut self) -> USR_ADDR_W { USR_ADDR_W::new(self, 30) } #[doc = "Bit 31 - This bit enable the command phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_command(&mut self) -> USR_COMMAND_W { USR_COMMAND_W::new(self, 31) } diff --git a/esp32c6/src/spi2/user1.rs b/esp32c6/src/spi2/user1.rs index 95f635fa29..ebf323bb54 100644 --- a/esp32c6/src/spi2/user1.rs +++ b/esp32c6/src/spi2/user1.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - The length in spi_clk cycles of dummy phase. The register value shall be (cycle_num-1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_dummy_cyclelen(&mut self) -> USR_DUMMY_CYCLELEN_W { USR_DUMMY_CYCLELEN_W::new(self, 0) } #[doc = "Bit 16 - 1: SPI transfer is ended when SPI RX AFIFO wfull error is valid in GP-SPI master FD/HD-mode. 0: SPI transfer is not ended when SPI RX AFIFO wfull error is valid in GP-SPI master FD/HD-mode."] #[inline(always)] - #[must_use] pub fn mst_wfull_err_end_en(&mut self) -> MST_WFULL_ERR_END_EN_W { MST_WFULL_ERR_END_EN_W::new(self, 16) } #[doc = "Bits 17:21 - (cycles+1) of prepare phase by spi clock this bits are combined with spi_cs_setup bit. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_setup_time(&mut self) -> CS_SETUP_TIME_W { CS_SETUP_TIME_W::new(self, 17) } #[doc = "Bits 22:26 - delay cycles of cs pin by spi clock this bits are combined with spi_cs_hold bit. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_hold_time(&mut self) -> CS_HOLD_TIME_W { CS_HOLD_TIME_W::new(self, 22) } #[doc = "Bits 27:31 - The length in bits of address phase. The register value shall be (bit_num-1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_addr_bitlen(&mut self) -> USR_ADDR_BITLEN_W { USR_ADDR_BITLEN_W::new(self, 27) } diff --git a/esp32c6/src/spi2/user2.rs b/esp32c6/src/spi2/user2.rs index df58aa38b9..3508800e72 100644 --- a/esp32c6/src/spi2/user2.rs +++ b/esp32c6/src/spi2/user2.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The value of command. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_command_value(&mut self) -> USR_COMMAND_VALUE_W { USR_COMMAND_VALUE_W::new(self, 0) } #[doc = "Bit 27 - 1: SPI transfer is ended when SPI TX AFIFO read empty error is valid in GP-SPI master FD/HD-mode. 0: SPI transfer is not ended when SPI TX AFIFO read empty error is valid in GP-SPI master FD/HD-mode."] #[inline(always)] - #[must_use] pub fn mst_rempty_err_end_en(&mut self) -> MST_REMPTY_ERR_END_EN_W { MST_REMPTY_ERR_END_EN_W::new(self, 27) } #[doc = "Bits 28:31 - The length in bits of command phase. The register value shall be (bit_num-1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_command_bitlen(&mut self) -> USR_COMMAND_BITLEN_W { USR_COMMAND_BITLEN_W::new(self, 28) } diff --git a/esp32c6/src/spi2/w.rs b/esp32c6/src/spi2/w.rs index 938ceae002..dfd00d53e3 100644 --- a/esp32c6/src/spi2/w.rs +++ b/esp32c6/src/spi2/w.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - data buffer"] #[inline(always)] - #[must_use] pub fn buf(&mut self) -> BUF_W { BUF_W::new(self, 0) } diff --git a/esp32c6/src/systimer/comp_load.rs b/esp32c6/src/systimer/comp_load.rs index 3194371312..65145bf616 100644 --- a/esp32c6/src/systimer/comp_load.rs +++ b/esp32c6/src/systimer/comp_load.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - timer comp0 sync enable signal"] #[inline(always)] - #[must_use] pub fn load(&mut self) -> LOAD_W { LOAD_W::new(self, 0) } diff --git a/esp32c6/src/systimer/conf.rs b/esp32c6/src/systimer/conf.rs index cc41037744..0f0010318b 100644 --- a/esp32c6/src/systimer/conf.rs +++ b/esp32c6/src/systimer/conf.rs @@ -146,73 +146,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - systimer clock force on"] #[inline(always)] - #[must_use] pub fn systimer_clk_fo(&mut self) -> SYSTIMER_CLK_FO_W { SYSTIMER_CLK_FO_W::new(self, 0) } #[doc = "Bit 1 - enable systimer's etm task and event"] #[inline(always)] - #[must_use] pub fn etm_en(&mut self) -> ETM_EN_W { ETM_EN_W::new(self, 1) } #[doc = "Bit 22 - target2 work enable"] #[inline(always)] - #[must_use] pub fn target2_work_en(&mut self) -> TARGET2_WORK_EN_W { TARGET2_WORK_EN_W::new(self, 22) } #[doc = "Bit 23 - target1 work enable"] #[inline(always)] - #[must_use] pub fn target1_work_en(&mut self) -> TARGET1_WORK_EN_W { TARGET1_WORK_EN_W::new(self, 23) } #[doc = "Bit 24 - target0 work enable"] #[inline(always)] - #[must_use] pub fn target0_work_en(&mut self) -> TARGET0_WORK_EN_W { TARGET0_WORK_EN_W::new(self, 24) } #[doc = "Bit 25 - If timer unit1 is stalled when core1 stalled"] #[inline(always)] - #[must_use] pub fn timer_unit1_core1_stall_en(&mut self) -> TIMER_UNIT1_CORE1_STALL_EN_W { TIMER_UNIT1_CORE1_STALL_EN_W::new(self, 25) } #[doc = "Bit 26 - If timer unit1 is stalled when core0 stalled"] #[inline(always)] - #[must_use] pub fn timer_unit1_core0_stall_en(&mut self) -> TIMER_UNIT1_CORE0_STALL_EN_W { TIMER_UNIT1_CORE0_STALL_EN_W::new(self, 26) } #[doc = "Bit 27 - If timer unit0 is stalled when core1 stalled"] #[inline(always)] - #[must_use] pub fn timer_unit0_core1_stall_en(&mut self) -> TIMER_UNIT0_CORE1_STALL_EN_W { TIMER_UNIT0_CORE1_STALL_EN_W::new(self, 27) } #[doc = "Bit 28 - If timer unit0 is stalled when core0 stalled"] #[inline(always)] - #[must_use] pub fn timer_unit0_core0_stall_en(&mut self) -> TIMER_UNIT0_CORE0_STALL_EN_W { TIMER_UNIT0_CORE0_STALL_EN_W::new(self, 28) } #[doc = "Bit 29 - timer unit1 work enable"] #[inline(always)] - #[must_use] pub fn timer_unit1_work_en(&mut self) -> TIMER_UNIT1_WORK_EN_W { TIMER_UNIT1_WORK_EN_W::new(self, 29) } #[doc = "Bit 30 - timer unit0 work enable"] #[inline(always)] - #[must_use] pub fn timer_unit0_work_en(&mut self) -> TIMER_UNIT0_WORK_EN_W { TIMER_UNIT0_WORK_EN_W::new(self, 30) } #[doc = "Bit 31 - register file clk gating"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32c6/src/systimer/date.rs b/esp32c6/src/systimer/date.rs index 95e1c9957e..baf7098490 100644 --- a/esp32c6/src/systimer/date.rs +++ b/esp32c6/src/systimer/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - systimer register version"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/systimer/int_clr.rs b/esp32c6/src/systimer/int_clr.rs index 06260e5ca1..7a322a9bd7 100644 --- a/esp32c6/src/systimer/int_clr.rs +++ b/esp32c6/src/systimer/int_clr.rs @@ -13,7 +13,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TARGET0` field.
"] #[inline(always)] - #[must_use] pub fn target(&mut self, n: u8) -> TARGET_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -21,19 +20,16 @@ impl W { } #[doc = "Bit 0 - interupt0 clear"] #[inline(always)] - #[must_use] pub fn target0(&mut self) -> TARGET_W { TARGET_W::new(self, 0) } #[doc = "Bit 1 - interupt1 clear"] #[inline(always)] - #[must_use] pub fn target1(&mut self) -> TARGET_W { TARGET_W::new(self, 1) } #[doc = "Bit 2 - interupt2 clear"] #[inline(always)] - #[must_use] pub fn target2(&mut self) -> TARGET_W { TARGET_W::new(self, 2) } @@ -47,7 +43,7 @@ impl crate::RegisterSpec for INT_CLR_SPEC { impl crate::Writable for INT_CLR_SPEC { type Safety = crate::Unsafe; const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0x01; + const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0x07; } #[doc = "`reset()` method sets INT_CLR to value 0"] impl crate::Resettable for INT_CLR_SPEC { diff --git a/esp32c6/src/systimer/int_ena.rs b/esp32c6/src/systimer/int_ena.rs index 23d45402ff..82161f02c6 100644 --- a/esp32c6/src/systimer/int_ena.rs +++ b/esp32c6/src/systimer/int_ena.rs @@ -53,7 +53,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TARGET0` field.
"] #[inline(always)] - #[must_use] pub fn target(&mut self, n: u8) -> TARGET_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -61,19 +60,16 @@ impl W { } #[doc = "Bit 0 - interupt0 enable"] #[inline(always)] - #[must_use] pub fn target0(&mut self) -> TARGET_W { TARGET_W::new(self, 0) } #[doc = "Bit 1 - interupt1 enable"] #[inline(always)] - #[must_use] pub fn target1(&mut self) -> TARGET_W { TARGET_W::new(self, 1) } #[doc = "Bit 2 - interupt2 enable"] #[inline(always)] - #[must_use] pub fn target2(&mut self) -> TARGET_W { TARGET_W::new(self, 2) } diff --git a/esp32c6/src/systimer/int_raw.rs b/esp32c6/src/systimer/int_raw.rs index ad619febb9..017321fd87 100644 --- a/esp32c6/src/systimer/int_raw.rs +++ b/esp32c6/src/systimer/int_raw.rs @@ -53,7 +53,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TARGET0` field.
"] #[inline(always)] - #[must_use] pub fn target(&mut self, n: u8) -> TARGET_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -61,19 +60,16 @@ impl W { } #[doc = "Bit 0 - interupt0 raw"] #[inline(always)] - #[must_use] pub fn target0(&mut self) -> TARGET_W { TARGET_W::new(self, 0) } #[doc = "Bit 1 - interupt1 raw"] #[inline(always)] - #[must_use] pub fn target1(&mut self) -> TARGET_W { TARGET_W::new(self, 1) } #[doc = "Bit 2 - interupt2 raw"] #[inline(always)] - #[must_use] pub fn target2(&mut self) -> TARGET_W { TARGET_W::new(self, 2) } diff --git a/esp32c6/src/systimer/target_conf.rs b/esp32c6/src/systimer/target_conf.rs index ad465124d5..9d3229b115 100644 --- a/esp32c6/src/systimer/target_conf.rs +++ b/esp32c6/src/systimer/target_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:25 - target0 period"] #[inline(always)] - #[must_use] pub fn period(&mut self) -> PERIOD_W { PERIOD_W::new(self, 0) } #[doc = "Bit 30 - Set target0 to period mode"] #[inline(always)] - #[must_use] pub fn period_mode(&mut self) -> PERIOD_MODE_W { PERIOD_MODE_W::new(self, 30) } #[doc = "Bit 31 - select which unit to compare"] #[inline(always)] - #[must_use] pub fn timer_unit_sel(&mut self) -> TIMER_UNIT_SEL_W { TIMER_UNIT_SEL_W::new(self, 31) } diff --git a/esp32c6/src/systimer/trgt/hi.rs b/esp32c6/src/systimer/trgt/hi.rs index 36b8397729..c34aac1756 100644 --- a/esp32c6/src/systimer/trgt/hi.rs +++ b/esp32c6/src/systimer/trgt/hi.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - timer taget0 high 20 bits"] #[inline(always)] - #[must_use] pub fn hi(&mut self) -> HI_W { HI_W::new(self, 0) } diff --git a/esp32c6/src/systimer/trgt/lo.rs b/esp32c6/src/systimer/trgt/lo.rs index 4b9aba9b31..3ac0a3df6b 100644 --- a/esp32c6/src/systimer/trgt/lo.rs +++ b/esp32c6/src/systimer/trgt/lo.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - timer taget0 low 32 bits"] #[inline(always)] - #[must_use] pub fn lo(&mut self) -> LO_W { LO_W::new(self, 0) } diff --git a/esp32c6/src/systimer/unit_load.rs b/esp32c6/src/systimer/unit_load.rs index d7131aea74..94a217b2b0 100644 --- a/esp32c6/src/systimer/unit_load.rs +++ b/esp32c6/src/systimer/unit_load.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - timer unit0 sync enable signal"] #[inline(always)] - #[must_use] pub fn load(&mut self) -> LOAD_W { LOAD_W::new(self, 0) } diff --git a/esp32c6/src/systimer/unit_op.rs b/esp32c6/src/systimer/unit_op.rs index 89b506eb04..f4f5c65665 100644 --- a/esp32c6/src/systimer/unit_op.rs +++ b/esp32c6/src/systimer/unit_op.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - update timer_unit0"] #[inline(always)] - #[must_use] pub fn update(&mut self) -> UPDATE_W { UPDATE_W::new(self, 30) } diff --git a/esp32c6/src/systimer/unitload/hi.rs b/esp32c6/src/systimer/unitload/hi.rs index 63e3720842..ff49b6d094 100644 --- a/esp32c6/src/systimer/unitload/hi.rs +++ b/esp32c6/src/systimer/unitload/hi.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - timer unit0 load high 20 bits"] #[inline(always)] - #[must_use] pub fn load_hi(&mut self) -> LOAD_HI_W { LOAD_HI_W::new(self, 0) } diff --git a/esp32c6/src/systimer/unitload/lo.rs b/esp32c6/src/systimer/unitload/lo.rs index 9569a393b8..f8b0d7491b 100644 --- a/esp32c6/src/systimer/unitload/lo.rs +++ b/esp32c6/src/systimer/unitload/lo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - timer unit0 load low 32 bits"] #[inline(always)] - #[must_use] pub fn load_lo(&mut self) -> LOAD_LO_W { LOAD_LO_W::new(self, 0) } diff --git a/esp32c6/src/tee/clock_gate.rs b/esp32c6/src/tee/clock_gate.rs index 32b396e342..e8e2e74471 100644 --- a/esp32c6/src/tee/clock_gate.rs +++ b/esp32c6/src/tee/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_clk_en"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32c6/src/tee/date.rs b/esp32c6/src/tee/date.rs index d7011e4a5c..a91d1d62fd 100644 --- a/esp32c6/src/tee/date.rs +++ b/esp32c6/src/tee/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - reg_tee_date"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/tee/m_mode_ctrl.rs b/esp32c6/src/tee/m_mode_ctrl.rs index 577ac5d26c..229e43082f 100644 --- a/esp32c6/src/tee/m_mode_ctrl.rs +++ b/esp32c6/src/tee/m_mode_ctrl.rs @@ -107,7 +107,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - M0 security level mode: 2'd3: ree_mode2. 2'd2: ree_mode1. 2'd1: ree_mode0. 2'd0: tee_mode"] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 0) } diff --git a/esp32c6/src/timg0/int_clr.rs b/esp32c6/src/timg0/int_clr.rs index 6ed8576634..2bcfa155ce 100644 --- a/esp32c6/src/timg0/int_clr.rs +++ b/esp32c6/src/timg0/int_clr.rs @@ -15,7 +15,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `T0` field.
"] #[inline(always)] - #[must_use] pub fn t(&mut self, n: u8) -> T_W { #[allow(clippy::no_effect)] [(); 1][n as usize]; @@ -23,13 +22,11 @@ impl W { } #[doc = "Bit 0 - Set this bit to clear the TIMG_T0_INT interrupt."] #[inline(always)] - #[must_use] pub fn t0(&mut self) -> T_W { T_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the TIMG_WDT_INT interrupt."] #[inline(always)] - #[must_use] pub fn wdt(&mut self) -> WDT_W { WDT_W::new(self, 1) } diff --git a/esp32c6/src/timg0/int_ena.rs b/esp32c6/src/timg0/int_ena.rs index 19bedb24ba..6a9813be15 100644 --- a/esp32c6/src/timg0/int_ena.rs +++ b/esp32c6/src/timg0/int_ena.rs @@ -51,7 +51,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `T0` field.
"] #[inline(always)] - #[must_use] pub fn t(&mut self, n: u8) -> T_W { #[allow(clippy::no_effect)] [(); 1][n as usize]; @@ -59,13 +58,11 @@ impl W { } #[doc = "Bit 0 - The interrupt enable bit for the TIMG_T0_INT interrupt."] #[inline(always)] - #[must_use] pub fn t0(&mut self) -> T_W { T_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the TIMG_WDT_INT interrupt."] #[inline(always)] - #[must_use] pub fn wdt(&mut self) -> WDT_W { WDT_W::new(self, 1) } diff --git a/esp32c6/src/timg0/ntimers_date.rs b/esp32c6/src/timg0/ntimers_date.rs index a95a9fcc54..feaba52a49 100644 --- a/esp32c6/src/timg0/ntimers_date.rs +++ b/esp32c6/src/timg0/ntimers_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Timer version control register"] #[inline(always)] - #[must_use] pub fn ntimgs_date(&mut self) -> NTIMGS_DATE_W { NTIMGS_DATE_W::new(self, 0) } diff --git a/esp32c6/src/timg0/regclk.rs b/esp32c6/src/timg0/regclk.rs index d0233d5efe..fb12e0fc28 100644 --- a/esp32c6/src/timg0/regclk.rs +++ b/esp32c6/src/timg0/regclk.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 28 - enable timer's etm task and event"] #[inline(always)] - #[must_use] pub fn etm_en(&mut self) -> ETM_EN_W { ETM_EN_W::new(self, 28) } #[doc = "Bit 29 - enable WDT's clock"] #[inline(always)] - #[must_use] pub fn wdt_clk_is_active(&mut self) -> WDT_CLK_IS_ACTIVE_W { WDT_CLK_IS_ACTIVE_W::new(self, 29) } #[doc = "Bit 30 - enable Timer 30's clock"] #[inline(always)] - #[must_use] pub fn timer_clk_is_active(&mut self) -> TIMER_CLK_IS_ACTIVE_W { TIMER_CLK_IS_ACTIVE_W::new(self, 30) } #[doc = "Bit 31 - Register clock gate signal. 1: Registers can be read and written to by software. 0: Registers can not be read or written to by software."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32c6/src/timg0/rtccalicfg.rs b/esp32c6/src/timg0/rtccalicfg.rs index 21b5c09681..93ca8766cf 100644 --- a/esp32c6/src/timg0/rtccalicfg.rs +++ b/esp32c6/src/timg0/rtccalicfg.rs @@ -62,25 +62,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - 0: one-shot frequency calculation,1: periodic frequency calculation,"] #[inline(always)] - #[must_use] pub fn rtc_cali_start_cycling(&mut self) -> RTC_CALI_START_CYCLING_W { RTC_CALI_START_CYCLING_W::new(self, 12) } #[doc = "Bits 13:14 - 0:rtc slow clock. 1:clk_8m, 2:xtal_32k."] #[inline(always)] - #[must_use] pub fn rtc_cali_clk_sel(&mut self) -> RTC_CALI_CLK_SEL_W { RTC_CALI_CLK_SEL_W::new(self, 13) } #[doc = "Bits 16:30 - Configure the time to calculate RTC slow clock's frequency."] #[inline(always)] - #[must_use] pub fn rtc_cali_max(&mut self) -> RTC_CALI_MAX_W { RTC_CALI_MAX_W::new(self, 16) } #[doc = "Bit 31 - Set this bit to start one-shot frequency calculation."] #[inline(always)] - #[must_use] pub fn rtc_cali_start(&mut self) -> RTC_CALI_START_W { RTC_CALI_START_W::new(self, 31) } diff --git a/esp32c6/src/timg0/rtccalicfg2.rs b/esp32c6/src/timg0/rtccalicfg2.rs index 9bcb8e66e3..c8e2a89280 100644 --- a/esp32c6/src/timg0/rtccalicfg2.rs +++ b/esp32c6/src/timg0/rtccalicfg2.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 3:6 - Cycles that release calibration timeout reset"] #[inline(always)] - #[must_use] pub fn rtc_cali_timeout_rst_cnt(&mut self) -> RTC_CALI_TIMEOUT_RST_CNT_W { RTC_CALI_TIMEOUT_RST_CNT_W::new(self, 3) } #[doc = "Bits 7:31 - Threshold value for the RTC calibration timer. If the calibration timer's value exceeds this threshold, a timeout is triggered."] #[inline(always)] - #[must_use] pub fn rtc_cali_timeout_thres(&mut self) -> RTC_CALI_TIMEOUT_THRES_W { RTC_CALI_TIMEOUT_THRES_W::new(self, 7) } diff --git a/esp32c6/src/timg0/t/alarmhi.rs b/esp32c6/src/timg0/t/alarmhi.rs index 24c896aae8..bda963e20f 100644 --- a/esp32c6/src/timg0/t/alarmhi.rs +++ b/esp32c6/src/timg0/t/alarmhi.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - Timer %s alarm trigger time-base counter value, high 22 bits."] #[inline(always)] - #[must_use] pub fn alarm_hi(&mut self) -> ALARM_HI_W { ALARM_HI_W::new(self, 0) } diff --git a/esp32c6/src/timg0/t/alarmlo.rs b/esp32c6/src/timg0/t/alarmlo.rs index 9dae08ae1e..ddbac0e99b 100644 --- a/esp32c6/src/timg0/t/alarmlo.rs +++ b/esp32c6/src/timg0/t/alarmlo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Timer %s alarm trigger time-base counter value, low 32 bits."] #[inline(always)] - #[must_use] pub fn alarm_lo(&mut self) -> ALARM_LO_W { ALARM_LO_W::new(self, 0) } diff --git a/esp32c6/src/timg0/t/config.rs b/esp32c6/src/timg0/t/config.rs index 9ece678cf4..1095e84fcd 100644 --- a/esp32c6/src/timg0/t/config.rs +++ b/esp32c6/src/timg0/t/config.rs @@ -76,43 +76,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 9 - 1: Use XTAL_CLK as the source clock of timer group. 0: Use APB_CLK as the source clock of timer group."] #[inline(always)] - #[must_use] pub fn use_xtal(&mut self) -> USE_XTAL_W { USE_XTAL_W::new(self, 9) } #[doc = "Bit 10 - When set, the alarm is enabled. This bit is automatically cleared once an alarm occurs."] #[inline(always)] - #[must_use] pub fn alarm_en(&mut self) -> ALARM_EN_W { ALARM_EN_W::new(self, 10) } #[doc = "Bit 12 - When set, Timer %s 's clock divider counter will be reset."] #[inline(always)] - #[must_use] pub fn divcnt_rst(&mut self) -> DIVCNT_RST_W { DIVCNT_RST_W::new(self, 12) } #[doc = "Bits 13:28 - Timer %s clock (T%s_clk) prescaler value."] #[inline(always)] - #[must_use] pub fn divider(&mut self) -> DIVIDER_W { DIVIDER_W::new(self, 13) } #[doc = "Bit 29 - When set, timer %s auto-reload at alarm is enabled."] #[inline(always)] - #[must_use] pub fn autoreload(&mut self) -> AUTORELOAD_W { AUTORELOAD_W::new(self, 29) } #[doc = "Bit 30 - When set, the timer %s time-base counter will increment every clock tick. When cleared, the timer %s time-base counter will decrement."] #[inline(always)] - #[must_use] pub fn increase(&mut self) -> INCREASE_W { INCREASE_W::new(self, 30) } #[doc = "Bit 31 - When set, the timer %s time-base counter is enabled."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 31) } diff --git a/esp32c6/src/timg0/t/load.rs b/esp32c6/src/timg0/t/load.rs index b2b162f4bd..8ff971209d 100644 --- a/esp32c6/src/timg0/t/load.rs +++ b/esp32c6/src/timg0/t/load.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - Write any value to trigger a timer %s time-base counter reload."] #[inline(always)] - #[must_use] pub fn load(&mut self) -> LOAD_W { LOAD_W::new(self, 0) } diff --git a/esp32c6/src/timg0/t/loadhi.rs b/esp32c6/src/timg0/t/loadhi.rs index abf461cb0a..2e3c3628ac 100644 --- a/esp32c6/src/timg0/t/loadhi.rs +++ b/esp32c6/src/timg0/t/loadhi.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - High 22 bits of the value that a reload will load onto timer %s time-base counter."] #[inline(always)] - #[must_use] pub fn load_hi(&mut self) -> LOAD_HI_W { LOAD_HI_W::new(self, 0) } diff --git a/esp32c6/src/timg0/t/loadlo.rs b/esp32c6/src/timg0/t/loadlo.rs index 4f6b2c5bda..ed1fe163c4 100644 --- a/esp32c6/src/timg0/t/loadlo.rs +++ b/esp32c6/src/timg0/t/loadlo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Low 32 bits of the value that a reload will load onto timer %s time-base Counter."] #[inline(always)] - #[must_use] pub fn load_lo(&mut self) -> LOAD_LO_W { LOAD_LO_W::new(self, 0) } diff --git a/esp32c6/src/timg0/t/update.rs b/esp32c6/src/timg0/t/update.rs index d550912640..dbe99022bb 100644 --- a/esp32c6/src/timg0/t/update.rs +++ b/esp32c6/src/timg0/t/update.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - After writing 0 or 1 to TIMG_T%sUPDATE_REG, the counter value is latched."] #[inline(always)] - #[must_use] pub fn update(&mut self) -> UPDATE_W { UPDATE_W::new(self, 31) } diff --git a/esp32c6/src/timg0/wdtconfig0.rs b/esp32c6/src/timg0/wdtconfig0.rs index 6a227d7920..338f7c58c3 100644 --- a/esp32c6/src/timg0/wdtconfig0.rs +++ b/esp32c6/src/timg0/wdtconfig0.rs @@ -126,73 +126,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - WDT reset CPU enable."] #[inline(always)] - #[must_use] pub fn wdt_appcpu_reset_en(&mut self) -> WDT_APPCPU_RESET_EN_W { WDT_APPCPU_RESET_EN_W::new(self, 12) } #[doc = "Bit 13 - WDT reset CPU enable."] #[inline(always)] - #[must_use] pub fn wdt_procpu_reset_en(&mut self) -> WDT_PROCPU_RESET_EN_W { WDT_PROCPU_RESET_EN_W::new(self, 13) } #[doc = "Bit 14 - When set, Flash boot protection is enabled."] #[inline(always)] - #[must_use] pub fn wdt_flashboot_mod_en(&mut self) -> WDT_FLASHBOOT_MOD_EN_W { WDT_FLASHBOOT_MOD_EN_W::new(self, 14) } #[doc = "Bits 15:17 - System reset signal length selection. 0: 100 ns, 1: 200 ns, 2: 300 ns, 3: 400 ns, 4: 500 ns, 5: 800 ns, 6: 1.6 us, 7: 3.2 us."] #[inline(always)] - #[must_use] pub fn wdt_sys_reset_length(&mut self) -> WDT_SYS_RESET_LENGTH_W { WDT_SYS_RESET_LENGTH_W::new(self, 15) } #[doc = "Bits 18:20 - CPU reset signal length selection. 0: 100 ns, 1: 200 ns, 2: 300 ns, 3: 400 ns, 4: 500 ns, 5: 800 ns, 6: 1.6 us, 7: 3.2 us."] #[inline(always)] - #[must_use] pub fn wdt_cpu_reset_length(&mut self) -> WDT_CPU_RESET_LENGTH_W { WDT_CPU_RESET_LENGTH_W::new(self, 18) } #[doc = "Bit 21 - choose WDT clock:0-apb_clk, 1-xtal_clk."] #[inline(always)] - #[must_use] pub fn wdt_use_xtal(&mut self) -> WDT_USE_XTAL_W { WDT_USE_XTAL_W::new(self, 21) } #[doc = "Bit 22 - update the WDT configuration registers"] #[inline(always)] - #[must_use] pub fn wdt_conf_update_en(&mut self) -> WDT_CONF_UPDATE_EN_W { WDT_CONF_UPDATE_EN_W::new(self, 22) } #[doc = "Bits 23:24 - Stage 3 configuration. 0: off, 1: interrupt, 2: reset CPU, 3: reset system."] #[inline(always)] - #[must_use] pub fn wdt_stg3(&mut self) -> WDT_STG3_W { WDT_STG3_W::new(self, 23) } #[doc = "Bits 25:26 - Stage 2 configuration. 0: off, 1: interrupt, 2: reset CPU, 3: reset system."] #[inline(always)] - #[must_use] pub fn wdt_stg2(&mut self) -> WDT_STG2_W { WDT_STG2_W::new(self, 25) } #[doc = "Bits 27:28 - Stage 1 configuration. 0: off, 1: interrupt, 2: reset CPU, 3: reset system."] #[inline(always)] - #[must_use] pub fn wdt_stg1(&mut self) -> WDT_STG1_W { WDT_STG1_W::new(self, 27) } #[doc = "Bits 29:30 - Stage 0 configuration. 0: off, 1: interrupt, 2: reset CPU, 3: reset system."] #[inline(always)] - #[must_use] pub fn wdt_stg0(&mut self) -> WDT_STG0_W { WDT_STG0_W::new(self, 29) } #[doc = "Bit 31 - When set, MWDT is enabled."] #[inline(always)] - #[must_use] pub fn wdt_en(&mut self) -> WDT_EN_W { WDT_EN_W::new(self, 31) } diff --git a/esp32c6/src/timg0/wdtconfig1.rs b/esp32c6/src/timg0/wdtconfig1.rs index 5185123b6b..8649221be4 100644 --- a/esp32c6/src/timg0/wdtconfig1.rs +++ b/esp32c6/src/timg0/wdtconfig1.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - When set, WDT 's clock divider counter will be reset."] #[inline(always)] - #[must_use] pub fn wdt_divcnt_rst(&mut self) -> WDT_DIVCNT_RST_W { WDT_DIVCNT_RST_W::new(self, 0) } #[doc = "Bits 16:31 - MWDT clock prescaler value. MWDT clock period = 12.5 ns * TIMG_WDT_CLK_PRESCALE."] #[inline(always)] - #[must_use] pub fn wdt_clk_prescale(&mut self) -> WDT_CLK_PRESCALE_W { WDT_CLK_PRESCALE_W::new(self, 16) } diff --git a/esp32c6/src/timg0/wdtconfig2.rs b/esp32c6/src/timg0/wdtconfig2.rs index d7aedad9be..2eb13ae372 100644 --- a/esp32c6/src/timg0/wdtconfig2.rs +++ b/esp32c6/src/timg0/wdtconfig2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stage 0 timeout value, in MWDT clock cycles."] #[inline(always)] - #[must_use] pub fn wdt_stg0_hold(&mut self) -> WDT_STG0_HOLD_W { WDT_STG0_HOLD_W::new(self, 0) } diff --git a/esp32c6/src/timg0/wdtconfig3.rs b/esp32c6/src/timg0/wdtconfig3.rs index 3eb96b1e93..353e861c97 100644 --- a/esp32c6/src/timg0/wdtconfig3.rs +++ b/esp32c6/src/timg0/wdtconfig3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stage 1 timeout value, in MWDT clock cycles."] #[inline(always)] - #[must_use] pub fn wdt_stg1_hold(&mut self) -> WDT_STG1_HOLD_W { WDT_STG1_HOLD_W::new(self, 0) } diff --git a/esp32c6/src/timg0/wdtconfig4.rs b/esp32c6/src/timg0/wdtconfig4.rs index c522268b4c..adb732fce4 100644 --- a/esp32c6/src/timg0/wdtconfig4.rs +++ b/esp32c6/src/timg0/wdtconfig4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stage 2 timeout value, in MWDT clock cycles."] #[inline(always)] - #[must_use] pub fn wdt_stg2_hold(&mut self) -> WDT_STG2_HOLD_W { WDT_STG2_HOLD_W::new(self, 0) } diff --git a/esp32c6/src/timg0/wdtconfig5.rs b/esp32c6/src/timg0/wdtconfig5.rs index 61c6bfb1e1..a56ba8caeb 100644 --- a/esp32c6/src/timg0/wdtconfig5.rs +++ b/esp32c6/src/timg0/wdtconfig5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stage 3 timeout value, in MWDT clock cycles."] #[inline(always)] - #[must_use] pub fn wdt_stg3_hold(&mut self) -> WDT_STG3_HOLD_W { WDT_STG3_HOLD_W::new(self, 0) } diff --git a/esp32c6/src/timg0/wdtfeed.rs b/esp32c6/src/timg0/wdtfeed.rs index 5b3ae9b1dc..cd788cbe3e 100644 --- a/esp32c6/src/timg0/wdtfeed.rs +++ b/esp32c6/src/timg0/wdtfeed.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - Write any value to feed the MWDT. (WO)"] #[inline(always)] - #[must_use] pub fn wdt_feed(&mut self) -> WDT_FEED_W { WDT_FEED_W::new(self, 0) } diff --git a/esp32c6/src/timg0/wdtwprotect.rs b/esp32c6/src/timg0/wdtwprotect.rs index f3d13ea457..db5716850f 100644 --- a/esp32c6/src/timg0/wdtwprotect.rs +++ b/esp32c6/src/timg0/wdtwprotect.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - If the register contains a different value than its reset value, write protection is enabled."] #[inline(always)] - #[must_use] pub fn wdt_wkey(&mut self) -> WDT_WKEY_W { WDT_WKEY_W::new(self, 0) } diff --git a/esp32c6/src/trace/clock_gate.rs b/esp32c6/src/trace/clock_gate.rs index a34a470917..6870b56d5b 100644 --- a/esp32c6/src/trace/clock_gate.rs +++ b/esp32c6/src/trace/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable clock gate when access all registers in this module."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32c6/src/trace/date.rs b/esp32c6/src/trace/date.rs index b7543f7a48..9e0e582d3b 100644 --- a/esp32c6/src/trace/date.rs +++ b/esp32c6/src/trace/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - version control register. Note that this default value stored is the latest date when the hardware logic was updated."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/trace/intr_clr.rs b/esp32c6/src/trace/intr_clr.rs index 22944bf006..33c3b34319 100644 --- a/esp32c6/src/trace/intr_clr.rs +++ b/esp32c6/src/trace/intr_clr.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set 1 clr fifo overflow interrupt"] #[inline(always)] - #[must_use] pub fn fifo_overflow_intr_clr(&mut self) -> FIFO_OVERFLOW_INTR_CLR_W { FIFO_OVERFLOW_INTR_CLR_W::new(self, 0) } #[doc = "Bit 1 - Set 1 clr mem full interrupt"] #[inline(always)] - #[must_use] pub fn mem_full_intr_clr(&mut self) -> MEM_FULL_INTR_CLR_W { MEM_FULL_INTR_CLR_W::new(self, 1) } diff --git a/esp32c6/src/trace/intr_ena.rs b/esp32c6/src/trace/intr_ena.rs index 96c37dc1fd..f9ab9236d1 100644 --- a/esp32c6/src/trace/intr_ena.rs +++ b/esp32c6/src/trace/intr_ena.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 enable fifo_overflow interrupt"] #[inline(always)] - #[must_use] pub fn fifo_overflow_intr_ena(&mut self) -> FIFO_OVERFLOW_INTR_ENA_W { FIFO_OVERFLOW_INTR_ENA_W::new(self, 0) } #[doc = "Bit 1 - Set 1 enable mem_full interrupt"] #[inline(always)] - #[must_use] pub fn mem_full_intr_ena(&mut self) -> MEM_FULL_INTR_ENA_W { MEM_FULL_INTR_ENA_W::new(self, 1) } diff --git a/esp32c6/src/trace/mem_addr_update.rs b/esp32c6/src/trace/mem_addr_update.rs index 693933d204..2841817e4d 100644 --- a/esp32c6/src/trace/mem_addr_update.rs +++ b/esp32c6/src/trace/mem_addr_update.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - when set this reg, the current_mem_addr will update to start_addr"] #[inline(always)] - #[must_use] pub fn mem_current_addr_update(&mut self) -> MEM_CURRENT_ADDR_UPDATE_W { MEM_CURRENT_ADDR_UPDATE_W::new(self, 0) } diff --git a/esp32c6/src/trace/mem_end_addr.rs b/esp32c6/src/trace/mem_end_addr.rs index 42474c70d3..a6009c25da 100644 --- a/esp32c6/src/trace/mem_end_addr.rs +++ b/esp32c6/src/trace/mem_end_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The end address of trace memory"] #[inline(always)] - #[must_use] pub fn mem_end_addr(&mut self) -> MEM_END_ADDR_W { MEM_END_ADDR_W::new(self, 0) } diff --git a/esp32c6/src/trace/mem_start_addr.rs b/esp32c6/src/trace/mem_start_addr.rs index 9388d7d3d8..add425580f 100644 --- a/esp32c6/src/trace/mem_start_addr.rs +++ b/esp32c6/src/trace/mem_start_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The start address of trace memory"] #[inline(always)] - #[must_use] pub fn mem_start_addr(&mut self) -> MEM_START_ADDR_W { MEM_START_ADDR_W::new(self, 0) } diff --git a/esp32c6/src/trace/resync_prolonged.rs b/esp32c6/src/trace/resync_prolonged.rs index e0a14e2c2e..4f9fc2e093 100644 --- a/esp32c6/src/trace/resync_prolonged.rs +++ b/esp32c6/src/trace/resync_prolonged.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - count number, when count to this value, send a sync package"] #[inline(always)] - #[must_use] pub fn resync_prolonged(&mut self) -> RESYNC_PROLONGED_W { RESYNC_PROLONGED_W::new(self, 0) } #[doc = "Bit 24 - resyc mode sel: 0: default, cycle count 1: package num count"] #[inline(always)] - #[must_use] pub fn resync_mode(&mut self) -> RESYNC_MODE_W { RESYNC_MODE_W::new(self, 24) } diff --git a/esp32c6/src/trace/trigger.rs b/esp32c6/src/trace/trigger.rs index 74d75f4eae..51ae1186ed 100644 --- a/esp32c6/src/trace/trigger.rs +++ b/esp32c6/src/trace/trigger.rs @@ -38,25 +38,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 0\\] set 1 start trace."] #[inline(always)] - #[must_use] pub fn on(&mut self) -> ON_W { ON_W::new(self, 0) } #[doc = "Bit 1 - set 1 stop trace."] #[inline(always)] - #[must_use] pub fn off(&mut self) -> OFF_W { OFF_W::new(self, 1) } #[doc = "Bit 2 - if this reg is 1, trace will loop wrtie trace_mem. If is 0, when mem_current_addr at mem_end_addr, it will stop at the mem_end_addr"] #[inline(always)] - #[must_use] pub fn mem_loop(&mut self) -> MEM_LOOP_W { MEM_LOOP_W::new(self, 2) } #[doc = "Bit 3 - enable encoder auto-restart, when lost package, the encoder will end, if enable auto-restart, when fifo empty, encoder will restart and send a sync package."] #[inline(always)] - #[must_use] pub fn restart_ena(&mut self) -> RESTART_ENA_W { RESTART_ENA_W::new(self, 3) } diff --git a/esp32c6/src/twai0/bus_timing_0.rs b/esp32c6/src/twai0/bus_timing_0.rs index 61ba7f9077..87039b7af2 100644 --- a/esp32c6/src/twai0/bus_timing_0.rs +++ b/esp32c6/src/twai0/bus_timing_0.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - The period of the TWAI system clock is programmable and determines the individual bit timing. Software has R/W permission in reset mode and RO permission in operation mode."] #[inline(always)] - #[must_use] pub fn baud_presc(&mut self) -> BAUD_PRESC_W { BAUD_PRESC_W::new(self, 0) } #[doc = "Bits 14:15 - The synchronization jump width defines the maximum number of clock cycles a bit period may be shortened or lengthened. Software has R/W permission in reset mode and RO in operation mode."] #[inline(always)] - #[must_use] pub fn sync_jump_width(&mut self) -> SYNC_JUMP_WIDTH_W { SYNC_JUMP_WIDTH_W::new(self, 14) } diff --git a/esp32c6/src/twai0/bus_timing_1.rs b/esp32c6/src/twai0/bus_timing_1.rs index cf9ca9d7d0..e46228e06a 100644 --- a/esp32c6/src/twai0/bus_timing_1.rs +++ b/esp32c6/src/twai0/bus_timing_1.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - The number of clock cycles in TSEG1 per bit timing. Software has R/W permission in reset mode and RO in operation mode."] #[inline(always)] - #[must_use] pub fn time_seg1(&mut self) -> TIME_SEG1_W { TIME_SEG1_W::new(self, 0) } #[doc = "Bits 4:6 - The number of clock cycles in TSEG2 per bit timing. Software has R/W permission in reset mode and RO in operation mode."] #[inline(always)] - #[must_use] pub fn time_seg2(&mut self) -> TIME_SEG2_W { TIME_SEG2_W::new(self, 4) } #[doc = "Bit 7 - 1: triple, the bus is sampled three times. 0: single, the bus is sampled once. Software has R/W permission in reset mode and RO in operation mode."] #[inline(always)] - #[must_use] pub fn time_samp(&mut self) -> TIME_SAMP_W { TIME_SAMP_W::new(self, 7) } diff --git a/esp32c6/src/twai0/clock_divider.rs b/esp32c6/src/twai0/clock_divider.rs index e5721b1077..0738784a04 100644 --- a/esp32c6/src/twai0/clock_divider.rs +++ b/esp32c6/src/twai0/clock_divider.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - These bits are used to define the frequency at the external CLKOUT pin."] #[inline(always)] - #[must_use] pub fn cd(&mut self) -> CD_W { CD_W::new(self, 0) } #[doc = "Bit 8 - 1: Disable the external CLKOUT pin. 0: Enable the external CLKOUT pin. Software has R/W permission in reset mode and RO in operation mode."] #[inline(always)] - #[must_use] pub fn clock_off(&mut self) -> CLOCK_OFF_W { CLOCK_OFF_W::new(self, 8) } diff --git a/esp32c6/src/twai0/cmd.rs b/esp32c6/src/twai0/cmd.rs index 9520ff1437..fe523d8b9a 100644 --- a/esp32c6/src/twai0/cmd.rs +++ b/esp32c6/src/twai0/cmd.rs @@ -19,31 +19,26 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - 1: present, a message shall be transmitted. 0: absent"] #[inline(always)] - #[must_use] pub fn tx_req(&mut self) -> TX_REQ_W { TX_REQ_W::new(self, 0) } #[doc = "Bit 1 - 1: present, if not already in progress, a pending transmission request is cancelled. 0: absent"] #[inline(always)] - #[must_use] pub fn abort_tx(&mut self) -> ABORT_TX_W { ABORT_TX_W::new(self, 1) } #[doc = "Bit 2 - 1: released, the receive buffer, representing the message memory space in the RXFIFO is released. 0: no action"] #[inline(always)] - #[must_use] pub fn release_buf(&mut self) -> RELEASE_BUF_W { RELEASE_BUF_W::new(self, 2) } #[doc = "Bit 3 - 1: clear, the data overrun status bit is cleared. 0: no action."] #[inline(always)] - #[must_use] pub fn clear_data_overrun(&mut self) -> CLEAR_DATA_OVERRUN_W { CLEAR_DATA_OVERRUN_W::new(self, 3) } #[doc = "Bit 4 - 1: present, a message shall be transmitted and received simultaneously. 0: absent."] #[inline(always)] - #[must_use] pub fn self_rx_req(&mut self) -> SELF_RX_REQ_W { SELF_RX_REQ_W::new(self, 4) } diff --git a/esp32c6/src/twai0/data_0.rs b/esp32c6/src/twai0/data_0.rs index 8f6df56aaa..429a627691 100644 --- a/esp32c6/src/twai0/data_0.rs +++ b/esp32c6/src/twai0/data_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance code register 0 with R/W Permission. In operation mode, when software initiate write operation, it is tx data register 0 and when software initiate read operation, it is rx data register 0."] #[inline(always)] - #[must_use] pub fn tx_byte_0(&mut self) -> TX_BYTE_0_W { TX_BYTE_0_W::new(self, 0) } diff --git a/esp32c6/src/twai0/data_1.rs b/esp32c6/src/twai0/data_1.rs index e39492a026..5c6c705acb 100644 --- a/esp32c6/src/twai0/data_1.rs +++ b/esp32c6/src/twai0/data_1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance code register 1 with R/W Permission. In operation mode, when software initiate write operation, it is tx data register 1 and when software initiate read operation, it is rx data register 1."] #[inline(always)] - #[must_use] pub fn tx_byte_1(&mut self) -> TX_BYTE_1_W { TX_BYTE_1_W::new(self, 0) } diff --git a/esp32c6/src/twai0/data_10.rs b/esp32c6/src/twai0/data_10.rs index e9a65b0ddd..d1929c0a90 100644 --- a/esp32c6/src/twai0/data_10.rs +++ b/esp32c6/src/twai0/data_10.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, reserved with RO. In operation mode, when software initiate write operation, it is tx data register 10 and when software initiate read operation, it is rx data register 10."] #[inline(always)] - #[must_use] pub fn tx_byte_10(&mut self) -> TX_BYTE_10_W { TX_BYTE_10_W::new(self, 0) } diff --git a/esp32c6/src/twai0/data_11.rs b/esp32c6/src/twai0/data_11.rs index fd218ff232..65179aae16 100644 --- a/esp32c6/src/twai0/data_11.rs +++ b/esp32c6/src/twai0/data_11.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, reserved with RO. In operation mode, when software initiate write operation, it is tx data register 11 and when software initiate read operation, it is rx data register 11."] #[inline(always)] - #[must_use] pub fn tx_byte_11(&mut self) -> TX_BYTE_11_W { TX_BYTE_11_W::new(self, 0) } diff --git a/esp32c6/src/twai0/data_12.rs b/esp32c6/src/twai0/data_12.rs index 19aafd4498..e74278fc53 100644 --- a/esp32c6/src/twai0/data_12.rs +++ b/esp32c6/src/twai0/data_12.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, reserved with RO. In operation mode, when software initiate write operation, it is tx data register 12 and when software initiate read operation, it is rx data register 12."] #[inline(always)] - #[must_use] pub fn tx_byte_12(&mut self) -> TX_BYTE_12_W { TX_BYTE_12_W::new(self, 0) } diff --git a/esp32c6/src/twai0/data_2.rs b/esp32c6/src/twai0/data_2.rs index 3eb78c0f1a..291cd5902d 100644 --- a/esp32c6/src/twai0/data_2.rs +++ b/esp32c6/src/twai0/data_2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance code register 2 with R/W Permission. In operation mode, when software initiate write operation, it is tx data register 2 and when software initiate read operation, it is rx data register 2."] #[inline(always)] - #[must_use] pub fn tx_byte_2(&mut self) -> TX_BYTE_2_W { TX_BYTE_2_W::new(self, 0) } diff --git a/esp32c6/src/twai0/data_3.rs b/esp32c6/src/twai0/data_3.rs index 52e5719778..448e3f0672 100644 --- a/esp32c6/src/twai0/data_3.rs +++ b/esp32c6/src/twai0/data_3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance code register 3 with R/W Permission. In operation mode, when software initiate write operation, it is tx data register 3 and when software initiate read operation, it is rx data register 3."] #[inline(always)] - #[must_use] pub fn tx_byte_3(&mut self) -> TX_BYTE_3_W { TX_BYTE_3_W::new(self, 0) } diff --git a/esp32c6/src/twai0/data_4.rs b/esp32c6/src/twai0/data_4.rs index d27ba84ff3..bb45ab21ec 100644 --- a/esp32c6/src/twai0/data_4.rs +++ b/esp32c6/src/twai0/data_4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance mask register 0 with R/W Permission. In operation mode, when software initiate write operation, it is tx data register 4 and when software initiate read operation, it is rx data register 4."] #[inline(always)] - #[must_use] pub fn tx_byte_4(&mut self) -> TX_BYTE_4_W { TX_BYTE_4_W::new(self, 0) } diff --git a/esp32c6/src/twai0/data_5.rs b/esp32c6/src/twai0/data_5.rs index e192d48944..5eaf74fb6a 100644 --- a/esp32c6/src/twai0/data_5.rs +++ b/esp32c6/src/twai0/data_5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance mask register 1 with R/W Permission. In operation mode, when software initiate write operation, it is tx data register 5 and when software initiate read operation, it is rx data register 5."] #[inline(always)] - #[must_use] pub fn tx_byte_5(&mut self) -> TX_BYTE_5_W { TX_BYTE_5_W::new(self, 0) } diff --git a/esp32c6/src/twai0/data_6.rs b/esp32c6/src/twai0/data_6.rs index 16fb9ac2a0..200d991a23 100644 --- a/esp32c6/src/twai0/data_6.rs +++ b/esp32c6/src/twai0/data_6.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance mask register 2 with R/W Permission. In operation mode, when software initiate write operation, it is tx data register 6 and when software initiate read operation, it is rx data register 6."] #[inline(always)] - #[must_use] pub fn tx_byte_6(&mut self) -> TX_BYTE_6_W { TX_BYTE_6_W::new(self, 0) } diff --git a/esp32c6/src/twai0/data_7.rs b/esp32c6/src/twai0/data_7.rs index 036d96ac1e..040e6a6318 100644 --- a/esp32c6/src/twai0/data_7.rs +++ b/esp32c6/src/twai0/data_7.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance mask register 3 with R/W Permission. In operation mode, when software initiate write operation, it is tx data register 7 and when software initiate read operation, it is rx data register 7."] #[inline(always)] - #[must_use] pub fn tx_byte_7(&mut self) -> TX_BYTE_7_W { TX_BYTE_7_W::new(self, 0) } diff --git a/esp32c6/src/twai0/data_8.rs b/esp32c6/src/twai0/data_8.rs index 7174de6a78..079693735e 100644 --- a/esp32c6/src/twai0/data_8.rs +++ b/esp32c6/src/twai0/data_8.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, reserved with RO. In operation mode, when software initiate write operation, it is tx data register 8 and when software initiate read operation, it is rx data register 8."] #[inline(always)] - #[must_use] pub fn tx_byte_8(&mut self) -> TX_BYTE_8_W { TX_BYTE_8_W::new(self, 0) } diff --git a/esp32c6/src/twai0/data_9.rs b/esp32c6/src/twai0/data_9.rs index 870936f896..cf99309a0a 100644 --- a/esp32c6/src/twai0/data_9.rs +++ b/esp32c6/src/twai0/data_9.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, reserved with RO. In operation mode, when software initiate write operation, it is tx data register 9 and when software initiate read operation, it is rx data register 9."] #[inline(always)] - #[must_use] pub fn data_9(&mut self) -> DATA_9_W { DATA_9_W::new(self, 0) } diff --git a/esp32c6/src/twai0/eco_cfg.rs b/esp32c6/src/twai0/eco_cfg.rs index af2eb9cfb2..63158aed1f 100644 --- a/esp32c6/src/twai0/eco_cfg.rs +++ b/esp32c6/src/twai0/eco_cfg.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Enable eco module."] #[inline(always)] - #[must_use] pub fn rdn_ena(&mut self) -> RDN_ENA_W { RDN_ENA_W::new(self, 0) } diff --git a/esp32c6/src/twai0/err_warning_limit.rs b/esp32c6/src/twai0/err_warning_limit.rs index e41dd0394b..c106164220 100644 --- a/esp32c6/src/twai0/err_warning_limit.rs +++ b/esp32c6/src/twai0/err_warning_limit.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - The threshold that trigger error warning interrupt when this interrupt is enabled. Software has R/W permission in reset mode and RO in operation mode."] #[inline(always)] - #[must_use] pub fn err_warning_limit(&mut self) -> ERR_WARNING_LIMIT_W { ERR_WARNING_LIMIT_W::new(self, 0) } diff --git a/esp32c6/src/twai0/hw_cfg.rs b/esp32c6/src/twai0/hw_cfg.rs index f6458175db..2b41b18ff1 100644 --- a/esp32c6/src/twai0/hw_cfg.rs +++ b/esp32c6/src/twai0/hw_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Enable function that hardware control standby pin."] #[inline(always)] - #[must_use] pub fn hw_standby_en(&mut self) -> HW_STANDBY_EN_W { HW_STANDBY_EN_W::new(self, 0) } diff --git a/esp32c6/src/twai0/hw_standby_cnt.rs b/esp32c6/src/twai0/hw_standby_cnt.rs index 2f6ab1d6ac..c27b493d1a 100644 --- a/esp32c6/src/twai0/hw_standby_cnt.rs +++ b/esp32c6/src/twai0/hw_standby_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configure the number of cycles before standby becomes high when TWAI_HW_STANDBY_EN is enabled."] #[inline(always)] - #[must_use] pub fn standby_wait_cnt(&mut self) -> STANDBY_WAIT_CNT_W { STANDBY_WAIT_CNT_W::new(self, 0) } diff --git a/esp32c6/src/twai0/idle_intr_cnt.rs b/esp32c6/src/twai0/idle_intr_cnt.rs index c94de31b66..6008f23259 100644 --- a/esp32c6/src/twai0/idle_intr_cnt.rs +++ b/esp32c6/src/twai0/idle_intr_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configure the number of cycles before triggering idle interrupt."] #[inline(always)] - #[must_use] pub fn idle_intr_cnt(&mut self) -> IDLE_INTR_CNT_W { IDLE_INTR_CNT_W::new(self, 0) } diff --git a/esp32c6/src/twai0/interrupt_enable.rs b/esp32c6/src/twai0/interrupt_enable.rs index be40a3136c..a3f82226df 100644 --- a/esp32c6/src/twai0/interrupt_enable.rs +++ b/esp32c6/src/twai0/interrupt_enable.rs @@ -92,25 +92,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: enabled, when the receive buffer status is 'full' the TWAI controller requests the respective interrupt. 0: disable"] #[inline(always)] - #[must_use] pub fn ext_receive_int_ena(&mut self) -> EXT_RECEIVE_INT_ENA_W { EXT_RECEIVE_INT_ENA_W::new(self, 0) } #[doc = "Bit 1 - 1: enabled, when a message has been successfully transmitted or the transmit buffer is accessible again (e.g. after an abort transmission command), the TWAI controller requests the respective interrupt. 0: disable"] #[inline(always)] - #[must_use] pub fn ext_transmit_int_ena(&mut self) -> EXT_TRANSMIT_INT_ENA_W { EXT_TRANSMIT_INT_ENA_W::new(self, 1) } #[doc = "Bit 2 - 1: enabled, if the error or bus status change (see status register. Table 14), the TWAI controllerrequests the respective interrupt. 0: disable"] #[inline(always)] - #[must_use] pub fn ext_err_warning_int_ena(&mut self) -> EXT_ERR_WARNING_INT_ENA_W { EXT_ERR_WARNING_INT_ENA_W::new(self, 2) } #[doc = "Bit 3 - 1: enabled, if the data overrun status bit is set (see status register. Table 14), the TWAI controllerrequests the respective interrupt. 0: disable"] #[inline(always)] - #[must_use] pub fn ext_data_overrun_int_ena( &mut self, ) -> EXT_DATA_OVERRUN_INT_ENA_W { @@ -118,13 +114,11 @@ impl W { } #[doc = "Bit 5 - 1: enabled, if the error status of the TWAI controller changes from error active to error passive or vice versa, the respective interrupt is requested. 0: disable"] #[inline(always)] - #[must_use] pub fn err_passive_int_ena(&mut self) -> ERR_PASSIVE_INT_ENA_W { ERR_PASSIVE_INT_ENA_W::new(self, 5) } #[doc = "Bit 6 - 1: enabled, if the TWAI controller has lost arbitration, the respective interrupt is requested. 0: disable"] #[inline(always)] - #[must_use] pub fn arbitration_lost_int_ena( &mut self, ) -> ARBITRATION_LOST_INT_ENA_W { @@ -132,7 +126,6 @@ impl W { } #[doc = "Bit 7 - 1: enabled, if an bus error has been detected, the TWAI controller requests the respective interrupt. 0: disable"] #[inline(always)] - #[must_use] pub fn bus_err_int_ena(&mut self) -> BUS_ERR_INT_ENA_W { BUS_ERR_INT_ENA_W::new(self, 7) } diff --git a/esp32c6/src/twai0/mode.rs b/esp32c6/src/twai0/mode.rs index b2527e4cbf..f0bebf4172 100644 --- a/esp32c6/src/twai0/mode.rs +++ b/esp32c6/src/twai0/mode.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: reset, detection of a set reset mode bit results in aborting the current transmission/reception of a message and entering the reset mode. 0: normal, on the '1-to-0' transition of the reset mode bit, the TWAI controller returns to the operating mode."] #[inline(always)] - #[must_use] pub fn reset_mode(&mut self) -> RESET_MODE_W { RESET_MODE_W::new(self, 0) } #[doc = "Bit 1 - 1: listen only, in this mode the TWAI controller would give no acknowledge to the TWAI-bus, even if a message is received successfully. The error counters are stopped at the current value. 0: normal."] #[inline(always)] - #[must_use] pub fn listen_only_mode(&mut self) -> LISTEN_ONLY_MODE_W { LISTEN_ONLY_MODE_W::new(self, 1) } #[doc = "Bit 2 - 1: self test, in this mode a full node test is possible without any other active node on the bus using the self reception request command. The TWAI controller will perform a successful transmission, even if there is no acknowledge received. 0: normal, an acknowledge is required for successful transmission."] #[inline(always)] - #[must_use] pub fn self_test_mode(&mut self) -> SELF_TEST_MODE_W { SELF_TEST_MODE_W::new(self, 2) } #[doc = "Bit 3 - 1:single, the single acceptance filter option is enabled (one filter with the length of 32 bit is active). 0:dual, the dual acceptance filter option is enabled (two filters, each with the length of 16 bit are active)."] #[inline(always)] - #[must_use] pub fn rx_filter_mode(&mut self) -> RX_FILTER_MODE_W { RX_FILTER_MODE_W::new(self, 3) } diff --git a/esp32c6/src/twai0/rx_err_cnt.rs b/esp32c6/src/twai0/rx_err_cnt.rs index 784a490910..6d9c46bfa9 100644 --- a/esp32c6/src/twai0/rx_err_cnt.rs +++ b/esp32c6/src/twai0/rx_err_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - The RX error counter register reflects the current value of the transmit error counter. Software has R/W permission in reset mode and RO in operation mode."] #[inline(always)] - #[must_use] pub fn rx_err_cnt(&mut self) -> RX_ERR_CNT_W { RX_ERR_CNT_W::new(self, 0) } diff --git a/esp32c6/src/twai0/sw_standby_cfg.rs b/esp32c6/src/twai0/sw_standby_cfg.rs index d3b1779c31..4163b9a685 100644 --- a/esp32c6/src/twai0/sw_standby_cfg.rs +++ b/esp32c6/src/twai0/sw_standby_cfg.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Enable standby pin."] #[inline(always)] - #[must_use] pub fn sw_standby_en(&mut self) -> SW_STANDBY_EN_W { SW_STANDBY_EN_W::new(self, 0) } #[doc = "Bit 1 - Clear standby pin."] #[inline(always)] - #[must_use] pub fn sw_standby_clr(&mut self) -> SW_STANDBY_CLR_W { SW_STANDBY_CLR_W::new(self, 1) } diff --git a/esp32c6/src/twai0/tx_err_cnt.rs b/esp32c6/src/twai0/tx_err_cnt.rs index d0452c6f06..5f20fc6768 100644 --- a/esp32c6/src/twai0/tx_err_cnt.rs +++ b/esp32c6/src/twai0/tx_err_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - The TX error counter register reflects the current value of the transmit error counter. Software has R/W permission in reset mode and RO in operation mode."] #[inline(always)] - #[must_use] pub fn tx_err_cnt(&mut self) -> TX_ERR_CNT_W { TX_ERR_CNT_W::new(self, 0) } diff --git a/esp32c6/src/uart0/at_cmd_char.rs b/esp32c6/src/uart0/at_cmd_char.rs index 63f615f0bb..0cf119bced 100644 --- a/esp32c6/src/uart0/at_cmd_char.rs +++ b/esp32c6/src/uart0/at_cmd_char.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register is used to configure the content of at_cmd char."] #[inline(always)] - #[must_use] pub fn at_cmd_char(&mut self) -> AT_CMD_CHAR_W { AT_CMD_CHAR_W::new(self, 0) } #[doc = "Bits 8:15 - This register is used to configure the num of continuous at_cmd chars received by receiver."] #[inline(always)] - #[must_use] pub fn char_num(&mut self) -> CHAR_NUM_W { CHAR_NUM_W::new(self, 8) } diff --git a/esp32c6/src/uart0/at_cmd_gaptout.rs b/esp32c6/src/uart0/at_cmd_gaptout.rs index aeb0fab8c1..db829b172f 100644 --- a/esp32c6/src/uart0/at_cmd_gaptout.rs +++ b/esp32c6/src/uart0/at_cmd_gaptout.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the duration time between the at_cmd chars."] #[inline(always)] - #[must_use] pub fn rx_gap_tout(&mut self) -> RX_GAP_TOUT_W { RX_GAP_TOUT_W::new(self, 0) } diff --git a/esp32c6/src/uart0/at_cmd_postcnt.rs b/esp32c6/src/uart0/at_cmd_postcnt.rs index a7bf7d2792..1ca8f0cec9 100644 --- a/esp32c6/src/uart0/at_cmd_postcnt.rs +++ b/esp32c6/src/uart0/at_cmd_postcnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the duration time between the last at_cmd and the next data."] #[inline(always)] - #[must_use] pub fn post_idle_num(&mut self) -> POST_IDLE_NUM_W { POST_IDLE_NUM_W::new(self, 0) } diff --git a/esp32c6/src/uart0/at_cmd_precnt.rs b/esp32c6/src/uart0/at_cmd_precnt.rs index c49f64f592..762bf3e056 100644 --- a/esp32c6/src/uart0/at_cmd_precnt.rs +++ b/esp32c6/src/uart0/at_cmd_precnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the idle duration time before the first at_cmd is received by receiver."] #[inline(always)] - #[must_use] pub fn pre_idle_num(&mut self) -> PRE_IDLE_NUM_W { PRE_IDLE_NUM_W::new(self, 0) } diff --git a/esp32c6/src/uart0/clk_conf.rs b/esp32c6/src/uart0/clk_conf.rs index 65c585b260..3a83cd7cdc 100644 --- a/esp32c6/src/uart0/clk_conf.rs +++ b/esp32c6/src/uart0/clk_conf.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - The denominator of the frequency divider factor."] #[inline(always)] - #[must_use] pub fn sclk_div_b(&mut self) -> SCLK_DIV_B_W { SCLK_DIV_B_W::new(self, 0) } #[doc = "Bits 6:11 - The numerator of the frequency divider factor."] #[inline(always)] - #[must_use] pub fn sclk_div_a(&mut self) -> SCLK_DIV_A_W { SCLK_DIV_A_W::new(self, 6) } #[doc = "Bits 12:19 - The integral part of the frequency divider factor."] #[inline(always)] - #[must_use] pub fn sclk_div_num(&mut self) -> SCLK_DIV_NUM_W { SCLK_DIV_NUM_W::new(self, 12) } #[doc = "Bits 20:21 - UART clock source select. 1: 80Mhz. 2: 8Mhz. 3: XTAL."] #[inline(always)] - #[must_use] pub fn sclk_sel(&mut self) -> SCLK_SEL_W { SCLK_SEL_W::new(self, 20) } #[doc = "Bit 22 - Set this bit to enable UART Tx/Rx clock."] #[inline(always)] - #[must_use] pub fn sclk_en(&mut self) -> SCLK_EN_W { SCLK_EN_W::new(self, 22) } #[doc = "Bit 23 - Write 1 then write 0 to this bit to reset UART Tx/Rx."] #[inline(always)] - #[must_use] pub fn rst_core(&mut self) -> RST_CORE_W { RST_CORE_W::new(self, 23) } #[doc = "Bit 24 - Set this bit to enable UART Tx clock."] #[inline(always)] - #[must_use] pub fn tx_sclk_en(&mut self) -> TX_SCLK_EN_W { TX_SCLK_EN_W::new(self, 24) } #[doc = "Bit 25 - Set this bit to enable UART Rx clock."] #[inline(always)] - #[must_use] pub fn rx_sclk_en(&mut self) -> RX_SCLK_EN_W { RX_SCLK_EN_W::new(self, 25) } #[doc = "Bit 26 - Write 1 then write 0 to this bit to reset UART Tx."] #[inline(always)] - #[must_use] pub fn tx_rst_core(&mut self) -> TX_RST_CORE_W { TX_RST_CORE_W::new(self, 26) } #[doc = "Bit 27 - Write 1 then write 0 to this bit to reset UART Rx."] #[inline(always)] - #[must_use] pub fn rx_rst_core(&mut self) -> RX_RST_CORE_W { RX_RST_CORE_W::new(self, 27) } diff --git a/esp32c6/src/uart0/clkdiv.rs b/esp32c6/src/uart0/clkdiv.rs index f5fb653112..4706e2101c 100644 --- a/esp32c6/src/uart0/clkdiv.rs +++ b/esp32c6/src/uart0/clkdiv.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - The integral part of the frequency divider factor."] #[inline(always)] - #[must_use] pub fn clkdiv(&mut self) -> CLKDIV_W { CLKDIV_W::new(self, 0) } #[doc = "Bits 20:23 - The decimal part of the frequency divider factor."] #[inline(always)] - #[must_use] pub fn frag(&mut self) -> FRAG_W { FRAG_W::new(self, 20) } diff --git a/esp32c6/src/uart0/conf0.rs b/esp32c6/src/uart0/conf0.rs index efe11633c6..0d47a030ab 100644 --- a/esp32c6/src/uart0/conf0.rs +++ b/esp32c6/src/uart0/conf0.rs @@ -234,133 +234,111 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This register is used to configure the parity check mode."] #[inline(always)] - #[must_use] pub fn parity(&mut self) -> PARITY_W { PARITY_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to enable uart parity check."] #[inline(always)] - #[must_use] pub fn parity_en(&mut self) -> PARITY_EN_W { PARITY_EN_W::new(self, 1) } #[doc = "Bits 2:3 - This register is used to set the length of data."] #[inline(always)] - #[must_use] pub fn bit_num(&mut self) -> BIT_NUM_W { BIT_NUM_W::new(self, 2) } #[doc = "Bits 4:5 - This register is used to set the length of stop bit."] #[inline(always)] - #[must_use] pub fn stop_bit_num(&mut self) -> STOP_BIT_NUM_W { STOP_BIT_NUM_W::new(self, 4) } #[doc = "Bit 6 - Set this bit to enbale transmitter to send NULL when the process of sending data is done."] #[inline(always)] - #[must_use] pub fn txd_brk(&mut self) -> TXD_BRK_W { TXD_BRK_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to enable IrDA loopback mode."] #[inline(always)] - #[must_use] pub fn irda_dplx(&mut self) -> IRDA_DPLX_W { IRDA_DPLX_W::new(self, 7) } #[doc = "Bit 8 - This is the start enable bit for IrDA transmitter."] #[inline(always)] - #[must_use] pub fn irda_tx_en(&mut self) -> IRDA_TX_EN_W { IRDA_TX_EN_W::new(self, 8) } #[doc = "Bit 9 - 1'h1: The IrDA transmitter's 11th bit is the same as 10th bit. 1'h0: Set IrDA transmitter's 11th bit to 0."] #[inline(always)] - #[must_use] pub fn irda_wctl(&mut self) -> IRDA_WCTL_W { IRDA_WCTL_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to invert the level of IrDA transmitter."] #[inline(always)] - #[must_use] pub fn irda_tx_inv(&mut self) -> IRDA_TX_INV_W { IRDA_TX_INV_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to invert the level of IrDA receiver."] #[inline(always)] - #[must_use] pub fn irda_rx_inv(&mut self) -> IRDA_RX_INV_W { IRDA_RX_INV_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to enable uart loopback test mode."] #[inline(always)] - #[must_use] pub fn loopback(&mut self) -> LOOPBACK_W { LOOPBACK_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to enable flow control function for transmitter."] #[inline(always)] - #[must_use] pub fn tx_flow_en(&mut self) -> TX_FLOW_EN_W { TX_FLOW_EN_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to enable IrDA protocol."] #[inline(always)] - #[must_use] pub fn irda_en(&mut self) -> IRDA_EN_W { IRDA_EN_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to inverse the level value of uart rxd signal."] #[inline(always)] - #[must_use] pub fn rxd_inv(&mut self) -> RXD_INV_W { RXD_INV_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to inverse the level value of uart txd signal."] #[inline(always)] - #[must_use] pub fn txd_inv(&mut self) -> TXD_INV_W { TXD_INV_W::new(self, 16) } #[doc = "Bit 17 - Disable UART Rx data overflow detect."] #[inline(always)] - #[must_use] pub fn dis_rx_dat_ovf(&mut self) -> DIS_RX_DAT_OVF_W { DIS_RX_DAT_OVF_W::new(self, 17) } #[doc = "Bit 18 - 1'h1: Receiver stops storing data into FIFO when data is wrong. 1'h0: Receiver stores the data even if the received data is wrong."] #[inline(always)] - #[must_use] pub fn err_wr_mask(&mut self) -> ERR_WR_MASK_W { ERR_WR_MASK_W::new(self, 18) } #[doc = "Bit 19 - This is the enable bit for detecting baudrate."] #[inline(always)] - #[must_use] pub fn autobaud_en(&mut self) -> AUTOBAUD_EN_W { AUTOBAUD_EN_W::new(self, 19) } #[doc = "Bit 20 - UART memory clock gate enable signal."] #[inline(always)] - #[must_use] pub fn mem_clk_en(&mut self) -> MEM_CLK_EN_W { MEM_CLK_EN_W::new(self, 20) } #[doc = "Bit 21 - This register is used to configure the software rts signal which is used in software flow control."] #[inline(always)] - #[must_use] pub fn sw_rts(&mut self) -> SW_RTS_W { SW_RTS_W::new(self, 21) } #[doc = "Bit 22 - Set this bit to reset the uart receive-FIFO."] #[inline(always)] - #[must_use] pub fn rxfifo_rst(&mut self) -> RXFIFO_RST_W { RXFIFO_RST_W::new(self, 22) } #[doc = "Bit 23 - Set this bit to reset the uart transmit-FIFO."] #[inline(always)] - #[must_use] pub fn txfifo_rst(&mut self) -> TXFIFO_RST_W { TXFIFO_RST_W::new(self, 23) } diff --git a/esp32c6/src/uart0/conf1.rs b/esp32c6/src/uart0/conf1.rs index ce3e56a81b..0c5f51a063 100644 --- a/esp32c6/src/uart0/conf1.rs +++ b/esp32c6/src/uart0/conf1.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - It will produce rxfifo_full_int interrupt when receiver receives more data than this register value."] #[inline(always)] - #[must_use] pub fn rxfifo_full_thrhd(&mut self) -> RXFIFO_FULL_THRHD_W { RXFIFO_FULL_THRHD_W::new(self, 0) } #[doc = "Bits 8:15 - It will produce txfifo_empty_int interrupt when the data amount in Tx-FIFO is less than this register value."] #[inline(always)] - #[must_use] pub fn txfifo_empty_thrhd(&mut self) -> TXFIFO_EMPTY_THRHD_W { TXFIFO_EMPTY_THRHD_W::new(self, 8) } #[doc = "Bit 16 - Set this bit to inverse the level value of uart cts signal."] #[inline(always)] - #[must_use] pub fn cts_inv(&mut self) -> CTS_INV_W { CTS_INV_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to inverse the level value of uart dsr signal."] #[inline(always)] - #[must_use] pub fn dsr_inv(&mut self) -> DSR_INV_W { DSR_INV_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to inverse the level value of uart rts signal."] #[inline(always)] - #[must_use] pub fn rts_inv(&mut self) -> RTS_INV_W { RTS_INV_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to inverse the level value of uart dtr signal."] #[inline(always)] - #[must_use] pub fn dtr_inv(&mut self) -> DTR_INV_W { DTR_INV_W::new(self, 19) } #[doc = "Bit 20 - This register is used to configure the software dtr signal which is used in software flow control."] #[inline(always)] - #[must_use] pub fn sw_dtr(&mut self) -> SW_DTR_W { SW_DTR_W::new(self, 20) } #[doc = "Bit 21 - 1'h1: Force clock on for register. 1'h0: Support clock only when application writes registers."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 21) } diff --git a/esp32c6/src/uart0/date.rs b/esp32c6/src/uart0/date.rs index ee12929a0e..fe002d398c 100644 --- a/esp32c6/src/uart0/date.rs +++ b/esp32c6/src/uart0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This is the version register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/uart0/fifo.rs b/esp32c6/src/uart0/fifo.rs index bbd207ed48..044c77bb18 100644 --- a/esp32c6/src/uart0/fifo.rs +++ b/esp32c6/src/uart0/fifo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - UART 0 accesses FIFO via this register."] #[inline(always)] - #[must_use] pub fn rxfifo_rd_byte(&mut self) -> RXFIFO_RD_BYTE_W { RXFIFO_RD_BYTE_W::new(self, 0) } diff --git a/esp32c6/src/uart0/hwfc_conf.rs b/esp32c6/src/uart0/hwfc_conf.rs index 4498df7d34..629a2ddd8f 100644 --- a/esp32c6/src/uart0/hwfc_conf.rs +++ b/esp32c6/src/uart0/hwfc_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register is used to configure the maximum amount of data that can be received when hardware flow control works."] #[inline(always)] - #[must_use] pub fn rx_flow_thrhd(&mut self) -> RX_FLOW_THRHD_W { RX_FLOW_THRHD_W::new(self, 0) } #[doc = "Bit 8 - This is the flow enable bit for UART receiver."] #[inline(always)] - #[must_use] pub fn rx_flow_en(&mut self) -> RX_FLOW_EN_W { RX_FLOW_EN_W::new(self, 8) } diff --git a/esp32c6/src/uart0/id.rs b/esp32c6/src/uart0/id.rs index eb25e6637f..23a8344e90 100644 --- a/esp32c6/src/uart0/id.rs +++ b/esp32c6/src/uart0/id.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This register is used to configure the uart_id."] #[inline(always)] - #[must_use] pub fn id(&mut self) -> ID_W { ID_W::new(self, 0) } diff --git a/esp32c6/src/uart0/idle_conf.rs b/esp32c6/src/uart0/idle_conf.rs index c3bcd173ed..3e67f9b8b2 100644 --- a/esp32c6/src/uart0/idle_conf.rs +++ b/esp32c6/src/uart0/idle_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - It will produce frame end signal when receiver takes more time to receive one byte data than this register value."] #[inline(always)] - #[must_use] pub fn rx_idle_thrhd(&mut self) -> RX_IDLE_THRHD_W { RX_IDLE_THRHD_W::new(self, 0) } #[doc = "Bits 10:19 - This register is used to configure the duration time between transfers."] #[inline(always)] - #[must_use] pub fn tx_idle_num(&mut self) -> TX_IDLE_NUM_W { TX_IDLE_NUM_W::new(self, 10) } diff --git a/esp32c6/src/uart0/int_clr.rs b/esp32c6/src/uart0/int_clr.rs index 83be88b461..40688a1933 100644 --- a/esp32c6/src/uart0/int_clr.rs +++ b/esp32c6/src/uart0/int_clr.rs @@ -49,121 +49,101 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the rxfifo_full_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_full(&mut self) -> RXFIFO_FULL_W { RXFIFO_FULL_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear txfifo_empty_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_empty(&mut self) -> TXFIFO_EMPTY_W { TXFIFO_EMPTY_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear parity_err_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn parity_err(&mut self) -> PARITY_ERR_W { PARITY_ERR_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear frm_err_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn frm_err(&mut self) -> FRM_ERR_W { FRM_ERR_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear rxfifo_ovf_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the dsr_chg_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn dsr_chg(&mut self) -> DSR_CHG_W { DSR_CHG_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the cts_chg_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn cts_chg(&mut self) -> CTS_CHG_W { CTS_CHG_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the brk_det_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn brk_det(&mut self) -> BRK_DET_W { BRK_DET_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the rxfifo_tout_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_tout(&mut self) -> RXFIFO_TOUT_W { RXFIFO_TOUT_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear the sw_xon_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn sw_xon(&mut self) -> SW_XON_W { SW_XON_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to clear the sw_xoff_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn sw_xoff(&mut self) -> SW_XOFF_W { SW_XOFF_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear the glitch_det_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to clear the tx_brk_done_int_raw interrupt.."] #[inline(always)] - #[must_use] pub fn tx_brk_done(&mut self) -> TX_BRK_DONE_W { TX_BRK_DONE_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to clear the tx_brk_idle_done_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn tx_brk_idle_done(&mut self) -> TX_BRK_IDLE_DONE_W { TX_BRK_IDLE_DONE_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to clear the tx_done_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to clear the rs485_parity_err_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rs485_parity_err(&mut self) -> RS485_PARITY_ERR_W { RS485_PARITY_ERR_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to clear the rs485_frm_err_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rs485_frm_err(&mut self) -> RS485_FRM_ERR_W { RS485_FRM_ERR_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to clear the rs485_clash_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rs485_clash(&mut self) -> RS485_CLASH_W { RS485_CLASH_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to clear the at_cmd_char_det_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn at_cmd_char_det(&mut self) -> AT_CMD_CHAR_DET_W { AT_CMD_CHAR_DET_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to clear the uart_wakeup_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn wakeup(&mut self) -> WAKEUP_W { WAKEUP_W::new(self, 19) } diff --git a/esp32c6/src/uart0/int_ena.rs b/esp32c6/src/uart0/int_ena.rs index dc9361e638..14f56e1ffd 100644 --- a/esp32c6/src/uart0/int_ena.rs +++ b/esp32c6/src/uart0/int_ena.rs @@ -214,121 +214,101 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This is the enable bit for rxfifo_full_int_st register."] #[inline(always)] - #[must_use] pub fn rxfifo_full(&mut self) -> RXFIFO_FULL_W { RXFIFO_FULL_W::new(self, 0) } #[doc = "Bit 1 - This is the enable bit for txfifo_empty_int_st register."] #[inline(always)] - #[must_use] pub fn txfifo_empty(&mut self) -> TXFIFO_EMPTY_W { TXFIFO_EMPTY_W::new(self, 1) } #[doc = "Bit 2 - This is the enable bit for parity_err_int_st register."] #[inline(always)] - #[must_use] pub fn parity_err(&mut self) -> PARITY_ERR_W { PARITY_ERR_W::new(self, 2) } #[doc = "Bit 3 - This is the enable bit for frm_err_int_st register."] #[inline(always)] - #[must_use] pub fn frm_err(&mut self) -> FRM_ERR_W { FRM_ERR_W::new(self, 3) } #[doc = "Bit 4 - This is the enable bit for rxfifo_ovf_int_st register."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - This is the enable bit for dsr_chg_int_st register."] #[inline(always)] - #[must_use] pub fn dsr_chg(&mut self) -> DSR_CHG_W { DSR_CHG_W::new(self, 5) } #[doc = "Bit 6 - This is the enable bit for cts_chg_int_st register."] #[inline(always)] - #[must_use] pub fn cts_chg(&mut self) -> CTS_CHG_W { CTS_CHG_W::new(self, 6) } #[doc = "Bit 7 - This is the enable bit for brk_det_int_st register."] #[inline(always)] - #[must_use] pub fn brk_det(&mut self) -> BRK_DET_W { BRK_DET_W::new(self, 7) } #[doc = "Bit 8 - This is the enable bit for rxfifo_tout_int_st register."] #[inline(always)] - #[must_use] pub fn rxfifo_tout(&mut self) -> RXFIFO_TOUT_W { RXFIFO_TOUT_W::new(self, 8) } #[doc = "Bit 9 - This is the enable bit for sw_xon_int_st register."] #[inline(always)] - #[must_use] pub fn sw_xon(&mut self) -> SW_XON_W { SW_XON_W::new(self, 9) } #[doc = "Bit 10 - This is the enable bit for sw_xoff_int_st register."] #[inline(always)] - #[must_use] pub fn sw_xoff(&mut self) -> SW_XOFF_W { SW_XOFF_W::new(self, 10) } #[doc = "Bit 11 - This is the enable bit for glitch_det_int_st register."] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 11) } #[doc = "Bit 12 - This is the enable bit for tx_brk_done_int_st register."] #[inline(always)] - #[must_use] pub fn tx_brk_done(&mut self) -> TX_BRK_DONE_W { TX_BRK_DONE_W::new(self, 12) } #[doc = "Bit 13 - This is the enable bit for tx_brk_idle_done_int_st register."] #[inline(always)] - #[must_use] pub fn tx_brk_idle_done(&mut self) -> TX_BRK_IDLE_DONE_W { TX_BRK_IDLE_DONE_W::new(self, 13) } #[doc = "Bit 14 - This is the enable bit for tx_done_int_st register."] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 14) } #[doc = "Bit 15 - This is the enable bit for rs485_parity_err_int_st register."] #[inline(always)] - #[must_use] pub fn rs485_parity_err(&mut self) -> RS485_PARITY_ERR_W { RS485_PARITY_ERR_W::new(self, 15) } #[doc = "Bit 16 - This is the enable bit for rs485_parity_err_int_st register."] #[inline(always)] - #[must_use] pub fn rs485_frm_err(&mut self) -> RS485_FRM_ERR_W { RS485_FRM_ERR_W::new(self, 16) } #[doc = "Bit 17 - This is the enable bit for rs485_clash_int_st register."] #[inline(always)] - #[must_use] pub fn rs485_clash(&mut self) -> RS485_CLASH_W { RS485_CLASH_W::new(self, 17) } #[doc = "Bit 18 - This is the enable bit for at_cmd_char_det_int_st register."] #[inline(always)] - #[must_use] pub fn at_cmd_char_det(&mut self) -> AT_CMD_CHAR_DET_W { AT_CMD_CHAR_DET_W::new(self, 18) } #[doc = "Bit 19 - This is the enable bit for uart_wakeup_int_st register."] #[inline(always)] - #[must_use] pub fn wakeup(&mut self) -> WAKEUP_W { WAKEUP_W::new(self, 19) } diff --git a/esp32c6/src/uart0/int_raw.rs b/esp32c6/src/uart0/int_raw.rs index 675c083a64..28af6e89b8 100644 --- a/esp32c6/src/uart0/int_raw.rs +++ b/esp32c6/src/uart0/int_raw.rs @@ -214,121 +214,101 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This interrupt raw bit turns to high level when receiver receives more data than what rxfifo_full_thrhd specifies."] #[inline(always)] - #[must_use] pub fn rxfifo_full(&mut self) -> RXFIFO_FULL_W { RXFIFO_FULL_W::new(self, 0) } #[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 ."] #[inline(always)] - #[must_use] pub fn txfifo_empty(&mut self) -> TXFIFO_EMPTY_W { TXFIFO_EMPTY_W::new(self, 1) } #[doc = "Bit 2 - This interrupt raw bit turns to high level when receiver detects a parity error in the data."] #[inline(always)] - #[must_use] pub fn parity_err(&mut self) -> PARITY_ERR_W { PARITY_ERR_W::new(self, 2) } #[doc = "Bit 3 - This interrupt raw bit turns to high level when receiver detects a data frame error ."] #[inline(always)] - #[must_use] pub fn frm_err(&mut self) -> FRM_ERR_W { FRM_ERR_W::new(self, 3) } #[doc = "Bit 4 - This interrupt raw bit turns to high level when receiver receives more data than the FIFO can store."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - This interrupt raw bit turns to high level when receiver detects the edge change of DSRn signal."] #[inline(always)] - #[must_use] pub fn dsr_chg(&mut self) -> DSR_CHG_W { DSR_CHG_W::new(self, 5) } #[doc = "Bit 6 - This interrupt raw bit turns to high level when receiver detects the edge change of CTSn signal."] #[inline(always)] - #[must_use] pub fn cts_chg(&mut self) -> CTS_CHG_W { CTS_CHG_W::new(self, 6) } #[doc = "Bit 7 - This interrupt raw bit turns to high level when receiver detects a 0 after the stop bit."] #[inline(always)] - #[must_use] pub fn brk_det(&mut self) -> BRK_DET_W { BRK_DET_W::new(self, 7) } #[doc = "Bit 8 - This interrupt raw bit turns to high level when receiver takes more time than rx_tout_thrhd to receive a byte."] #[inline(always)] - #[must_use] pub fn rxfifo_tout(&mut self) -> RXFIFO_TOUT_W { RXFIFO_TOUT_W::new(self, 8) } #[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."] #[inline(always)] - #[must_use] pub fn sw_xon(&mut self) -> SW_XON_W { SW_XON_W::new(self, 9) } #[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."] #[inline(always)] - #[must_use] pub fn sw_xoff(&mut self) -> SW_XOFF_W { SW_XOFF_W::new(self, 10) } #[doc = "Bit 11 - This interrupt raw bit turns to high level when receiver detects a glitch in the middle of a start bit."] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 11) } #[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."] #[inline(always)] - #[must_use] pub fn tx_brk_done(&mut self) -> TX_BRK_DONE_W { TX_BRK_DONE_W::new(self, 12) } #[doc = "Bit 13 - This interrupt raw bit turns to high level when transmitter has kept the shortest duration after sending the last data."] #[inline(always)] - #[must_use] pub fn tx_brk_idle_done(&mut self) -> TX_BRK_IDLE_DONE_W { TX_BRK_IDLE_DONE_W::new(self, 13) } #[doc = "Bit 14 - This interrupt raw bit turns to high level when transmitter has send out all data in FIFO."] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 14) } #[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."] #[inline(always)] - #[must_use] pub fn rs485_parity_err(&mut self) -> RS485_PARITY_ERR_W { RS485_PARITY_ERR_W::new(self, 15) } #[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."] #[inline(always)] - #[must_use] pub fn rs485_frm_err(&mut self) -> RS485_FRM_ERR_W { RS485_FRM_ERR_W::new(self, 16) } #[doc = "Bit 17 - This interrupt raw bit turns to high level when detects a clash between transmitter and receiver in rs485 mode."] #[inline(always)] - #[must_use] pub fn rs485_clash(&mut self) -> RS485_CLASH_W { RS485_CLASH_W::new(self, 17) } #[doc = "Bit 18 - This interrupt raw bit turns to high level when receiver detects the configured at_cmd char."] #[inline(always)] - #[must_use] pub fn at_cmd_char_det(&mut self) -> AT_CMD_CHAR_DET_W { AT_CMD_CHAR_DET_W::new(self, 18) } #[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."] #[inline(always)] - #[must_use] pub fn wakeup(&mut self) -> WAKEUP_W { WAKEUP_W::new(self, 19) } diff --git a/esp32c6/src/uart0/mem_conf.rs b/esp32c6/src/uart0/mem_conf.rs index 1f787205ea..a67b04163f 100644 --- a/esp32c6/src/uart0/mem_conf.rs +++ b/esp32c6/src/uart0/mem_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 25 - Set this bit to force power down UART memory."] #[inline(always)] - #[must_use] pub fn mem_force_pd(&mut self) -> MEM_FORCE_PD_W { MEM_FORCE_PD_W::new(self, 25) } #[doc = "Bit 26 - Set this bit to force power up UART memory."] #[inline(always)] - #[must_use] pub fn mem_force_pu(&mut self) -> MEM_FORCE_PU_W { MEM_FORCE_PU_W::new(self, 26) } diff --git a/esp32c6/src/uart0/reg_update.rs b/esp32c6/src/uart0/reg_update.rs index 0188a4af8b..916c47f8ce 100644 --- a/esp32c6/src/uart0/reg_update.rs +++ b/esp32c6/src/uart0/reg_update.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Software write 1 would synchronize registers into UART Core clock domain and would be cleared by hardware after synchronization is done."] #[inline(always)] - #[must_use] pub fn reg_update(&mut self) -> REG_UPDATE_W { REG_UPDATE_W::new(self, 0) } diff --git a/esp32c6/src/uart0/rs485_conf.rs b/esp32c6/src/uart0/rs485_conf.rs index 5ee32256ba..4e52a1709a 100644 --- a/esp32c6/src/uart0/rs485_conf.rs +++ b/esp32c6/src/uart0/rs485_conf.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to choose the rs485 mode."] #[inline(always)] - #[must_use] pub fn rs485_en(&mut self) -> RS485_EN_W { RS485_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to delay the stop bit by 1 bit."] #[inline(always)] - #[must_use] pub fn dl0_en(&mut self) -> DL0_EN_W { DL0_EN_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to delay the stop bit by 1 bit."] #[inline(always)] - #[must_use] pub fn dl1_en(&mut self) -> DL1_EN_W { DL1_EN_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to enable receiver could receive data when the transmitter is transmitting data in rs485 mode."] #[inline(always)] - #[must_use] pub fn rs485tx_rx_en(&mut self) -> RS485TX_RX_EN_W { RS485TX_RX_EN_W::new(self, 3) } #[doc = "Bit 4 - 1'h1: enable rs485 transmitter to send data when rs485 receiver line is busy."] #[inline(always)] - #[must_use] pub fn rs485rxby_tx_en(&mut self) -> RS485RXBY_TX_EN_W { RS485RXBY_TX_EN_W::new(self, 4) } #[doc = "Bit 5 - This register is used to delay the receiver's internal data signal."] #[inline(always)] - #[must_use] pub fn rs485_rx_dly_num(&mut self) -> RS485_RX_DLY_NUM_W { RS485_RX_DLY_NUM_W::new(self, 5) } #[doc = "Bits 6:9 - This register is used to delay the transmitter's internal data signal."] #[inline(always)] - #[must_use] pub fn rs485_tx_dly_num(&mut self) -> RS485_TX_DLY_NUM_W { RS485_TX_DLY_NUM_W::new(self, 6) } diff --git a/esp32c6/src/uart0/rx_filt.rs b/esp32c6/src/uart0/rx_filt.rs index e8368344b8..acace76ca6 100644 --- a/esp32c6/src/uart0/rx_filt.rs +++ b/esp32c6/src/uart0/rx_filt.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - when input pulse width is lower than this value the pulse is ignored."] #[inline(always)] - #[must_use] pub fn glitch_filt(&mut self) -> GLITCH_FILT_W { GLITCH_FILT_W::new(self, 0) } #[doc = "Bit 8 - Set this bit to enable Rx signal filter."] #[inline(always)] - #[must_use] pub fn glitch_filt_en(&mut self) -> GLITCH_FILT_EN_W { GLITCH_FILT_EN_W::new(self, 8) } diff --git a/esp32c6/src/uart0/sleep_conf0.rs b/esp32c6/src/uart0/sleep_conf0.rs index 631ebdc15f..ab40e70e13 100644 --- a/esp32c6/src/uart0/sleep_conf0.rs +++ b/esp32c6/src/uart0/sleep_conf0.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register restores the specified wake up char1 to wake up"] #[inline(always)] - #[must_use] pub fn wk_char1(&mut self) -> WK_CHAR1_W { WK_CHAR1_W::new(self, 0) } #[doc = "Bits 8:15 - This register restores the specified wake up char2 to wake up"] #[inline(always)] - #[must_use] pub fn wk_char2(&mut self) -> WK_CHAR2_W { WK_CHAR2_W::new(self, 8) } #[doc = "Bits 16:23 - This register restores the specified wake up char3 to wake up"] #[inline(always)] - #[must_use] pub fn wk_char3(&mut self) -> WK_CHAR3_W { WK_CHAR3_W::new(self, 16) } #[doc = "Bits 24:31 - This register restores the specified wake up char4 to wake up"] #[inline(always)] - #[must_use] pub fn wk_char4(&mut self) -> WK_CHAR4_W { WK_CHAR4_W::new(self, 24) } diff --git a/esp32c6/src/uart0/sleep_conf1.rs b/esp32c6/src/uart0/sleep_conf1.rs index 8af8538d7d..dadc7d2d8e 100644 --- a/esp32c6/src/uart0/sleep_conf1.rs +++ b/esp32c6/src/uart0/sleep_conf1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register restores the specified char0 to wake up"] #[inline(always)] - #[must_use] pub fn wk_char0(&mut self) -> WK_CHAR0_W { WK_CHAR0_W::new(self, 0) } diff --git a/esp32c6/src/uart0/sleep_conf2.rs b/esp32c6/src/uart0/sleep_conf2.rs index 7e3e2dd223..7020f4872f 100644 --- a/esp32c6/src/uart0/sleep_conf2.rs +++ b/esp32c6/src/uart0/sleep_conf2.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - The uart is activated from light sleeping mode when the input rxd edge changes more times than this register value."] #[inline(always)] - #[must_use] pub fn active_threshold(&mut self) -> ACTIVE_THRESHOLD_W { ACTIVE_THRESHOLD_W::new(self, 0) } #[doc = "Bits 10:17 - In wake up mode 1 this field is used to set the received data number threshold to wake up chip."] #[inline(always)] - #[must_use] pub fn rx_wake_up_thrhd(&mut self) -> RX_WAKE_UP_THRHD_W { RX_WAKE_UP_THRHD_W::new(self, 10) } #[doc = "Bits 18:20 - This register is used to select number of wake up char."] #[inline(always)] - #[must_use] pub fn wk_char_num(&mut self) -> WK_CHAR_NUM_W { WK_CHAR_NUM_W::new(self, 18) } #[doc = "Bits 21:25 - This register is used to mask wake up char."] #[inline(always)] - #[must_use] pub fn wk_char_mask(&mut self) -> WK_CHAR_MASK_W { WK_CHAR_MASK_W::new(self, 21) } #[doc = "Bits 26:27 - This register is used to select wake up mode. 0: RXD toggling to wake up. 1: received data number larger than"] #[inline(always)] - #[must_use] pub fn wk_mode_sel(&mut self) -> WK_MODE_SEL_W { WK_MODE_SEL_W::new(self, 26) } diff --git a/esp32c6/src/uart0/swfc_conf0.rs b/esp32c6/src/uart0/swfc_conf0.rs index ee8c28d233..0b7aaf0459 100644 --- a/esp32c6/src/uart0/swfc_conf0.rs +++ b/esp32c6/src/uart0/swfc_conf0.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register stores the Xon flow control char."] #[inline(always)] - #[must_use] pub fn xon_char(&mut self) -> XON_CHAR_W { XON_CHAR_W::new(self, 0) } #[doc = "Bits 8:15 - This register stores the Xoff flow control char."] #[inline(always)] - #[must_use] pub fn xoff_char(&mut self) -> XOFF_CHAR_W { XOFF_CHAR_W::new(self, 8) } #[doc = "Bit 16 - In software flow control mode, UART Tx is disabled once UART Rx receives XOFF. In this status, UART Tx can not transmit XOFF even the received data number is larger than UART_XOFF_THRESHOLD. Set this bit to enable UART Tx can transmit XON/XOFF when UART Tx is disabled."] #[inline(always)] - #[must_use] pub fn xon_xoff_still_send(&mut self) -> XON_XOFF_STILL_SEND_W { XON_XOFF_STILL_SEND_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to enable software flow control. It is used with register sw_xon or sw_xoff."] #[inline(always)] - #[must_use] pub fn sw_flow_con_en(&mut self) -> SW_FLOW_CON_EN_W { SW_FLOW_CON_EN_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to remove flow control char from the received data."] #[inline(always)] - #[must_use] pub fn xonoff_del(&mut self) -> XONOFF_DEL_W { XONOFF_DEL_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to enable the transmitter to go on sending data."] #[inline(always)] - #[must_use] pub fn force_xon(&mut self) -> FORCE_XON_W { FORCE_XON_W::new(self, 19) } #[doc = "Bit 20 - Set this bit to stop the transmitter from sending data."] #[inline(always)] - #[must_use] pub fn force_xoff(&mut self) -> FORCE_XOFF_W { FORCE_XOFF_W::new(self, 20) } #[doc = "Bit 21 - Set this bit to send Xon char. It is cleared by hardware automatically."] #[inline(always)] - #[must_use] pub fn send_xon(&mut self) -> SEND_XON_W { SEND_XON_W::new(self, 21) } #[doc = "Bit 22 - Set this bit to send Xoff char. It is cleared by hardware automatically."] #[inline(always)] - #[must_use] pub fn send_xoff(&mut self) -> SEND_XOFF_W { SEND_XOFF_W::new(self, 22) } diff --git a/esp32c6/src/uart0/swfc_conf1.rs b/esp32c6/src/uart0/swfc_conf1.rs index 0fc4cc40f6..972024ee10 100644 --- a/esp32c6/src/uart0/swfc_conf1.rs +++ b/esp32c6/src/uart0/swfc_conf1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - When the data amount in Rx-FIFO is less than this register value with uart_sw_flow_con_en set to 1 it will send a Xon char."] #[inline(always)] - #[must_use] pub fn xon_threshold(&mut self) -> XON_THRESHOLD_W { XON_THRESHOLD_W::new(self, 0) } #[doc = "Bits 8:15 - When the data amount in Rx-FIFO is more than this register value with uart_sw_flow_con_en set to 1 it will send a Xoff char."] #[inline(always)] - #[must_use] pub fn xoff_threshold(&mut self) -> XOFF_THRESHOLD_W { XOFF_THRESHOLD_W::new(self, 8) } diff --git a/esp32c6/src/uart0/tout_conf.rs b/esp32c6/src/uart0/tout_conf.rs index 9bc77ee497..d681869b89 100644 --- a/esp32c6/src/uart0/tout_conf.rs +++ b/esp32c6/src/uart0/tout_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This is the enble bit for uart receiver's timeout function."] #[inline(always)] - #[must_use] pub fn rx_tout_en(&mut self) -> RX_TOUT_EN_W { RX_TOUT_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to stop accumulating idle_cnt when hardware flow control works."] #[inline(always)] - #[must_use] pub fn rx_tout_flow_dis(&mut self) -> RX_TOUT_FLOW_DIS_W { RX_TOUT_FLOW_DIS_W::new(self, 1) } #[doc = "Bits 2:11 - This register is used to configure the threshold time that receiver takes to receive one byte. The rxfifo_tout_int interrupt will be trigger when the receiver takes more time to receive one byte with rx_tout_en set to 1."] #[inline(always)] - #[must_use] pub fn rx_tout_thrhd(&mut self) -> RX_TOUT_THRHD_W { RX_TOUT_THRHD_W::new(self, 2) } diff --git a/esp32c6/src/uart0/txbrk_conf.rs b/esp32c6/src/uart0/txbrk_conf.rs index 3fd0ce2689..7772196638 100644 --- a/esp32c6/src/uart0/txbrk_conf.rs +++ b/esp32c6/src/uart0/txbrk_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register is used to configure the number of 0 to be sent after the process of sending data is done. It is active when txd_brk is set to 1."] #[inline(always)] - #[must_use] pub fn tx_brk_num(&mut self) -> TX_BRK_NUM_W { TX_BRK_NUM_W::new(self, 0) } diff --git a/esp32c6/src/uhci0/ack_num.rs b/esp32c6/src/uhci0/ack_num.rs index d253a59fcd..4af224ed80 100644 --- a/esp32c6/src/uhci0/ack_num.rs +++ b/esp32c6/src/uhci0/ack_num.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - Indicates the ACK number during software flow control."] #[inline(always)] - #[must_use] pub fn ack_num(&mut self) -> ACK_NUM_W { ACK_NUM_W::new(self, 0) } #[doc = "Bit 3 - Set this bit to load the ACK value of UHCI_ACK_NUM."] #[inline(always)] - #[must_use] pub fn load(&mut self) -> LOAD_W { LOAD_W::new(self, 3) } diff --git a/esp32c6/src/uhci0/conf0.rs b/esp32c6/src/uhci0/conf0.rs index d54777130d..d989b228a5 100644 --- a/esp32c6/src/uhci0/conf0.rs +++ b/esp32c6/src/uhci0/conf0.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Write 1 then write 0 to this bit to reset decode state machine."] #[inline(always)] - #[must_use] pub fn tx_rst(&mut self) -> TX_RST_W { TX_RST_W::new(self, 0) } #[doc = "Bit 1 - Write 1 then write 0 to this bit to reset encode state machine."] #[inline(always)] - #[must_use] pub fn rx_rst(&mut self) -> RX_RST_W { RX_RST_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to link up HCI and UART0."] #[inline(always)] - #[must_use] pub fn uart0_ce(&mut self) -> UART0_CE_W { UART0_CE_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to link up HCI and UART1."] #[inline(always)] - #[must_use] pub fn uart1_ce(&mut self) -> UART1_CE_W { UART1_CE_W::new(self, 3) } #[doc = "Bit 5 - Set this bit to separate the data frame using a special char."] #[inline(always)] - #[must_use] pub fn seper_en(&mut self) -> SEPER_EN_W { SEPER_EN_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to encode the data packet with a formatting header."] #[inline(always)] - #[must_use] pub fn head_en(&mut self) -> HEAD_EN_W { HEAD_EN_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to enable UHCI to receive the 16 bit CRC."] #[inline(always)] - #[must_use] pub fn crc_rec_en(&mut self) -> CRC_REC_EN_W { CRC_REC_EN_W::new(self, 7) } #[doc = "Bit 8 - If this bit is set to 1 UHCI will end the payload receiving process when UART has been in idle state."] #[inline(always)] - #[must_use] pub fn uart_idle_eof_en(&mut self) -> UART_IDLE_EOF_EN_W { UART_IDLE_EOF_EN_W::new(self, 8) } #[doc = "Bit 9 - If this bit is set to 1 UHCI decoder receiving payload data is end when the receiving byte count has reached the specified value. The value is payload length indicated by UHCI packet header when UHCI_HEAD_EN is 1 or the value is configuration value when UHCI_HEAD_EN is 0. If this bit is set to 0 UHCI decoder receiving payload data is end when 0xc0 is received."] #[inline(always)] - #[must_use] pub fn len_eof_en(&mut self) -> LEN_EOF_EN_W { LEN_EOF_EN_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to enable data integrity checking by appending a 16 bit CCITT-CRC to end of the payload."] #[inline(always)] - #[must_use] pub fn encode_crc_en(&mut self) -> ENCODE_CRC_EN_W { ENCODE_CRC_EN_W::new(self, 10) } #[doc = "Bit 11 - 1'b1: Force clock on for register. 1'b0: Support clock only when application writes registers."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 11) } #[doc = "Bit 12 - If this bit is set to 1 UHCI will end payload receive process when NULL frame is received by UART."] #[inline(always)] - #[must_use] pub fn uart_rx_brk_eof_en(&mut self) -> UART_RX_BRK_EOF_EN_W { UART_RX_BRK_EOF_EN_W::new(self, 12) } diff --git a/esp32c6/src/uhci0/conf1.rs b/esp32c6/src/uhci0/conf1.rs index 77965f3470..adad62afb7 100644 --- a/esp32c6/src/uhci0/conf1.rs +++ b/esp32c6/src/uhci0/conf1.rs @@ -86,49 +86,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable head checksum check when receiving."] #[inline(always)] - #[must_use] pub fn check_sum_en(&mut self) -> CHECK_SUM_EN_W { CHECK_SUM_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to enable sequence number check when receiving."] #[inline(always)] - #[must_use] pub fn check_seq_en(&mut self) -> CHECK_SEQ_EN_W { CHECK_SEQ_EN_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to support CRC calculation, and data integrity check bit should 1."] #[inline(always)] - #[must_use] pub fn crc_disable(&mut self) -> CRC_DISABLE_W { CRC_DISABLE_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to save data packet head when UHCI receive data."] #[inline(always)] - #[must_use] pub fn save_head(&mut self) -> SAVE_HEAD_W { SAVE_HEAD_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to encode data packet with checksum."] #[inline(always)] - #[must_use] pub fn tx_check_sum_re(&mut self) -> TX_CHECK_SUM_RE_W { TX_CHECK_SUM_RE_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to encode data packet with ACK when reliable data packet is ready."] #[inline(always)] - #[must_use] pub fn tx_ack_num_re(&mut self) -> TX_ACK_NUM_RE_W { TX_ACK_NUM_RE_W::new(self, 5) } #[doc = "Bit 7 - Set this bit to enable UHCI encoder transfer to ST_SW_WAIT status."] #[inline(always)] - #[must_use] pub fn wait_sw_start(&mut self) -> WAIT_SW_START_W { WAIT_SW_START_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to transmit data packet if UCHI_ENCODE_STATE is ST_SW_WAIT."] #[inline(always)] - #[must_use] pub fn sw_start(&mut self) -> SW_START_W { SW_START_W::new(self, 8) } diff --git a/esp32c6/src/uhci0/date.rs b/esp32c6/src/uhci0/date.rs index 0998043219..b73d3064a0 100644 --- a/esp32c6/src/uhci0/date.rs +++ b/esp32c6/src/uhci0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/uhci0/esc_conf.rs b/esp32c6/src/uhci0/esc_conf.rs index 6e9f52800f..693f421996 100644 --- a/esp32c6/src/uhci0/esc_conf.rs +++ b/esp32c6/src/uhci0/esc_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Configures the delimiter for encoding, default value is 0xC0."] #[inline(always)] - #[must_use] pub fn seper_char(&mut self) -> SEPER_CHAR_W { SEPER_CHAR_W::new(self, 0) } #[doc = "Bits 8:15 - Configures the first char of SLIP escape character, default value is 0xDB."] #[inline(always)] - #[must_use] pub fn seper_esc_char0(&mut self) -> SEPER_ESC_CHAR0_W { SEPER_ESC_CHAR0_W::new(self, 8) } #[doc = "Bits 16:23 - Configures the second char of SLIP escape character, default value is 0xDC."] #[inline(always)] - #[must_use] pub fn seper_esc_char1(&mut self) -> SEPER_ESC_CHAR1_W { SEPER_ESC_CHAR1_W::new(self, 16) } diff --git a/esp32c6/src/uhci0/escape_conf.rs b/esp32c6/src/uhci0/escape_conf.rs index 9d1dc9c47d..b705e782a9 100644 --- a/esp32c6/src/uhci0/escape_conf.rs +++ b/esp32c6/src/uhci0/escape_conf.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable resolve char 0xC0 when DMA receiving data."] #[inline(always)] - #[must_use] pub fn tx_c0_esc_en(&mut self) -> TX_C0_ESC_EN_W { TX_C0_ESC_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to enable resolve char 0xDB when DMA receiving data."] #[inline(always)] - #[must_use] pub fn tx_db_esc_en(&mut self) -> TX_DB_ESC_EN_W { TX_DB_ESC_EN_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to enable resolve flow control char 0x11 when DMA receiving data."] #[inline(always)] - #[must_use] pub fn tx_11_esc_en(&mut self) -> TX_11_ESC_EN_W { TX_11_ESC_EN_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to enable resolve flow control char 0x13 when DMA receiving data."] #[inline(always)] - #[must_use] pub fn tx_13_esc_en(&mut self) -> TX_13_ESC_EN_W { TX_13_ESC_EN_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to enable replacing 0xC0 with special char when DMA receiving data."] #[inline(always)] - #[must_use] pub fn rx_c0_esc_en(&mut self) -> RX_C0_ESC_EN_W { RX_C0_ESC_EN_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to enable replacing 0xDB with special char when DMA receiving data."] #[inline(always)] - #[must_use] pub fn rx_db_esc_en(&mut self) -> RX_DB_ESC_EN_W { RX_DB_ESC_EN_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to enable replacing 0x11 with special char when DMA receiving data."] #[inline(always)] - #[must_use] pub fn rx_11_esc_en(&mut self) -> RX_11_ESC_EN_W { RX_11_ESC_EN_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to enable replacing 0x13 with special char when DMA receiving data."] #[inline(always)] - #[must_use] pub fn rx_13_esc_en(&mut self) -> RX_13_ESC_EN_W { RX_13_ESC_EN_W::new(self, 7) } diff --git a/esp32c6/src/uhci0/hung_conf.rs b/esp32c6/src/uhci0/hung_conf.rs index e69e7dacd4..1ac565336c 100644 --- a/esp32c6/src/uhci0/hung_conf.rs +++ b/esp32c6/src/uhci0/hung_conf.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Stores the timeout value. DMA generates UHCI_TX_HUNG_INT for timeout when receiving data."] #[inline(always)] - #[must_use] pub fn txfifo_timeout(&mut self) -> TXFIFO_TIMEOUT_W { TXFIFO_TIMEOUT_W::new(self, 0) } #[doc = "Bits 8:10 - Configures the maximum counter value."] #[inline(always)] - #[must_use] pub fn txfifo_timeout_shift(&mut self) -> TXFIFO_TIMEOUT_SHIFT_W { TXFIFO_TIMEOUT_SHIFT_W::new(self, 8) } #[doc = "Bit 11 - Set this bit to enable TX FIFO timeout when receiving."] #[inline(always)] - #[must_use] pub fn txfifo_timeout_ena(&mut self) -> TXFIFO_TIMEOUT_ENA_W { TXFIFO_TIMEOUT_ENA_W::new(self, 11) } #[doc = "Bits 12:19 - Stores the timeout value. DMA generates UHCI_TX_HUNG_INT for timeout when reading RAM data."] #[inline(always)] - #[must_use] pub fn rxfifo_timeout(&mut self) -> RXFIFO_TIMEOUT_W { RXFIFO_TIMEOUT_W::new(self, 12) } #[doc = "Bits 20:22 - Configures the maximum counter value."] #[inline(always)] - #[must_use] pub fn rxfifo_timeout_shift(&mut self) -> RXFIFO_TIMEOUT_SHIFT_W { RXFIFO_TIMEOUT_SHIFT_W::new(self, 20) } #[doc = "Bit 23 - Set this bit to enable TX FIFO timeout when DMA sending data."] #[inline(always)] - #[must_use] pub fn rxfifo_timeout_ena(&mut self) -> RXFIFO_TIMEOUT_ENA_W { RXFIFO_TIMEOUT_ENA_W::new(self, 23) } diff --git a/esp32c6/src/uhci0/int_clr.rs b/esp32c6/src/uhci0/int_clr.rs index 96e28c2f44..c6288cfe21 100644 --- a/esp32c6/src/uhci0/int_clr.rs +++ b/esp32c6/src/uhci0/int_clr.rs @@ -27,55 +27,46 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the raw interrupt of UHCI_RX_START_INT."] #[inline(always)] - #[must_use] pub fn rx_start(&mut self) -> RX_START_W { RX_START_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the raw interrupt of UHCI_TX_START_INT."] #[inline(always)] - #[must_use] pub fn tx_start(&mut self) -> TX_START_W { TX_START_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the raw interrupt of UHCI_RX_HUNG_INT."] #[inline(always)] - #[must_use] pub fn rx_hung(&mut self) -> RX_HUNG_W { RX_HUNG_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the raw interrupt of UHCI_TX_HUNG_INT."] #[inline(always)] - #[must_use] pub fn tx_hung(&mut self) -> TX_HUNG_W { TX_HUNG_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear the raw interrupt of UHCI_SEND_S_REG_Q_INT."] #[inline(always)] - #[must_use] pub fn send_s_reg_q(&mut self) -> SEND_S_REG_Q_W { SEND_S_REG_Q_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the raw interrupt of UHCI_SEND_A_REG_Q_INT."] #[inline(always)] - #[must_use] pub fn send_a_reg_q(&mut self) -> SEND_A_REG_Q_W { SEND_A_REG_Q_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the raw interrupt of UHCI_OUT_EOF_INT."] #[inline(always)] - #[must_use] pub fn outlink_eof_err(&mut self) -> OUTLINK_EOF_ERR_W { OUTLINK_EOF_ERR_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the raw interrupt of UHCI_APP_CTRL0_INT."] #[inline(always)] - #[must_use] pub fn app_ctrl0(&mut self) -> APP_CTRL0_W { APP_CTRL0_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the raw interrupt of UHCI_APP_CTRL1_INT."] #[inline(always)] - #[must_use] pub fn app_ctrl1(&mut self) -> APP_CTRL1_W { APP_CTRL1_W::new(self, 8) } diff --git a/esp32c6/src/uhci0/int_ena.rs b/esp32c6/src/uhci0/int_ena.rs index 8f64ae0857..c71bdd5fe0 100644 --- a/esp32c6/src/uhci0/int_ena.rs +++ b/esp32c6/src/uhci0/int_ena.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable the interrupt of UHCI_RX_START_INT."] #[inline(always)] - #[must_use] pub fn rx_start(&mut self) -> RX_START_W { RX_START_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to enable the interrupt of UHCI_TX_START_INT."] #[inline(always)] - #[must_use] pub fn tx_start(&mut self) -> TX_START_W { TX_START_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to enable the interrupt of UHCI_RX_HUNG_INT."] #[inline(always)] - #[must_use] pub fn rx_hung(&mut self) -> RX_HUNG_W { RX_HUNG_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to enable the interrupt of UHCI_TX_HUNG_INT."] #[inline(always)] - #[must_use] pub fn tx_hung(&mut self) -> TX_HUNG_W { TX_HUNG_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to enable the interrupt of UHCI_SEND_S_REG_Q_INT."] #[inline(always)] - #[must_use] pub fn send_s_reg_q(&mut self) -> SEND_S_REG_Q_W { SEND_S_REG_Q_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to enable the interrupt of UHCI_SEND_A_REG_Q_INT."] #[inline(always)] - #[must_use] pub fn send_a_reg_q(&mut self) -> SEND_A_REG_Q_W { SEND_A_REG_Q_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to enable the interrupt of UHCI_OUT_EOF_INT."] #[inline(always)] - #[must_use] pub fn outlink_eof_err(&mut self) -> OUTLINK_EOF_ERR_W { OUTLINK_EOF_ERR_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to enable the interrupt of UHCI_APP_CTRL0_INT."] #[inline(always)] - #[must_use] pub fn app_ctrl0(&mut self) -> APP_CTRL0_W { APP_CTRL0_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to enable the interrupt of UHCI_APP_CTRL1_INT."] #[inline(always)] - #[must_use] pub fn app_ctrl1(&mut self) -> APP_CTRL1_W { APP_CTRL1_W::new(self, 8) } diff --git a/esp32c6/src/uhci0/int_raw.rs b/esp32c6/src/uhci0/int_raw.rs index baa2d2ca68..9dea25cfd1 100644 --- a/esp32c6/src/uhci0/int_raw.rs +++ b/esp32c6/src/uhci0/int_raw.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Indicates the raw interrupt of UHCI_RX_START_INT. Interrupt will be triggered when delimiter is sent successfully."] #[inline(always)] - #[must_use] pub fn rx_start(&mut self) -> RX_START_W { RX_START_W::new(self, 0) } #[doc = "Bit 1 - Indicates the raw interrupt of UHCI_TX_START_INT. Interrupt will be triggered when DMA detects delimiter."] #[inline(always)] - #[must_use] pub fn tx_start(&mut self) -> TX_START_W { TX_START_W::new(self, 1) } #[doc = "Bit 2 - Indicates the raw interrupt of UHCI_RX_HUNG_INT. Interrupt will be triggered when the required time of DMA receiving data exceeds the configuration value."] #[inline(always)] - #[must_use] pub fn rx_hung(&mut self) -> RX_HUNG_W { RX_HUNG_W::new(self, 2) } #[doc = "Bit 3 - Indicates the raw interrupt of UHCI_TX_HUNG_INT. Interrupt will be triggered when the required time of DMA reading RAM data exceeds the configuration value."] #[inline(always)] - #[must_use] pub fn tx_hung(&mut self) -> TX_HUNG_W { TX_HUNG_W::new(self, 3) } #[doc = "Bit 4 - Indicates the raw interrupt of UHCI_SEND_S_REG_Q_INT. Interrupt will be triggered when UHCI sends short packet successfully with single_send mode."] #[inline(always)] - #[must_use] pub fn send_s_reg_q(&mut self) -> SEND_S_REG_Q_W { SEND_S_REG_Q_W::new(self, 4) } #[doc = "Bit 5 - Indicates the raw interrupt of UHCI_SEND_A_REG_Q_INT. Interrupt will be triggered when UHCI sends short packet successfully with always_send mode."] #[inline(always)] - #[must_use] pub fn send_a_reg_q(&mut self) -> SEND_A_REG_Q_W { SEND_A_REG_Q_W::new(self, 5) } #[doc = "Bit 6 - Indicates the raw interrupt of UHCI_OUT_EOF_INT. Interrupt will be triggered when there are errors in EOF."] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 6) } #[doc = "Bit 7 - Indicates the raw interrupt of UHCI_APP_CTRL0_INT. Interrupt will be triggered when UHCI_APP_CTRL0_IN_SET is set to 1."] #[inline(always)] - #[must_use] pub fn app_ctrl0(&mut self) -> APP_CTRL0_W { APP_CTRL0_W::new(self, 7) } #[doc = "Bit 8 - Indicates the raw interrupt of UHCI_APP_CTRL1_INT. Interrupt will be triggered when UHCI_APP_CTRL1_IN_SET is set to 1."] #[inline(always)] - #[must_use] pub fn app_ctrl1(&mut self) -> APP_CTRL1_W { APP_CTRL1_W::new(self, 8) } diff --git a/esp32c6/src/uhci0/pkt_thres.rs b/esp32c6/src/uhci0/pkt_thres.rs index b2f31a983a..85ef228007 100644 --- a/esp32c6/src/uhci0/pkt_thres.rs +++ b/esp32c6/src/uhci0/pkt_thres.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:12 - Configures the data packet's maximum length when UHCI_HEAD_EN is 0."] #[inline(always)] - #[must_use] pub fn pkt_thrs(&mut self) -> PKT_THRS_W { PKT_THRS_W::new(self, 0) } diff --git a/esp32c6/src/uhci0/quick_sent.rs b/esp32c6/src/uhci0/quick_sent.rs index dfcb49920e..e21dc0d910 100644 --- a/esp32c6/src/uhci0/quick_sent.rs +++ b/esp32c6/src/uhci0/quick_sent.rs @@ -46,25 +46,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - Configures single_send mode."] #[inline(always)] - #[must_use] pub fn single_send_num(&mut self) -> SINGLE_SEND_NUM_W { SINGLE_SEND_NUM_W::new(self, 0) } #[doc = "Bit 3 - Set this bit to enable sending short packet with single_send mode."] #[inline(always)] - #[must_use] pub fn single_send_en(&mut self) -> SINGLE_SEND_EN_W { SINGLE_SEND_EN_W::new(self, 3) } #[doc = "Bits 4:6 - Configures always_send mode."] #[inline(always)] - #[must_use] pub fn always_send_num(&mut self) -> ALWAYS_SEND_NUM_W { ALWAYS_SEND_NUM_W::new(self, 4) } #[doc = "Bit 7 - Set this bit to enable sending short packet with always_send mode."] #[inline(always)] - #[must_use] pub fn always_send_en(&mut self) -> ALWAYS_SEND_EN_W { ALWAYS_SEND_EN_W::new(self, 7) } diff --git a/esp32c6/src/uhci0/reg_q/word0.rs b/esp32c6/src/uhci0/reg_q/word0.rs index fad77d8b60..7b1f017e69 100644 --- a/esp32c6/src/uhci0/reg_q/word0.rs +++ b/esp32c6/src/uhci0/reg_q/word0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Serves as quick sending register in specified mode in UHCI_ALWAYS_SEND_NUM or UHCI_SINGLE_SEND_NUM."] #[inline(always)] - #[must_use] pub fn send_word(&mut self) -> SEND_WORD_W { SEND_WORD_W::new(self, 0) } diff --git a/esp32c6/src/uhci0/reg_q/word1.rs b/esp32c6/src/uhci0/reg_q/word1.rs index 8b7be1657f..1ff7c6a2bb 100644 --- a/esp32c6/src/uhci0/reg_q/word1.rs +++ b/esp32c6/src/uhci0/reg_q/word1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Serves as quick sending register in specified mode in UHCI_ALWAYS_SEND_NUM or UHCI_SINGLE_SEND_NUM."] #[inline(always)] - #[must_use] pub fn send_word(&mut self) -> SEND_WORD_W { SEND_WORD_W::new(self, 0) } diff --git a/esp32c6/src/usb_device/chip_rst.rs b/esp32c6/src/usb_device/chip_rst.rs index 45c0df5a8d..8e32db3f90 100644 --- a/esp32c6/src/usb_device/chip_rst.rs +++ b/esp32c6/src/usb_device/chip_rst.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - Set this bit to disable chip reset from usb serial channel to reset chip."] #[inline(always)] - #[must_use] pub fn usb_uart_chip_rst_dis(&mut self) -> USB_UART_CHIP_RST_DIS_W { USB_UART_CHIP_RST_DIS_W::new(self, 2) } diff --git a/esp32c6/src/usb_device/conf0.rs b/esp32c6/src/usb_device/conf0.rs index f45e47b525..57fd0d01aa 100644 --- a/esp32c6/src/usb_device/conf0.rs +++ b/esp32c6/src/usb_device/conf0.rs @@ -154,85 +154,71 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Select internal/external PHY"] #[inline(always)] - #[must_use] pub fn phy_sel(&mut self) -> PHY_SEL_W { PHY_SEL_W::new(self, 0) } #[doc = "Bit 1 - Enable software control USB D+ D- exchange"] #[inline(always)] - #[must_use] pub fn exchg_pins_override(&mut self) -> EXCHG_PINS_OVERRIDE_W { EXCHG_PINS_OVERRIDE_W::new(self, 1) } #[doc = "Bit 2 - USB D+ D- exchange"] #[inline(always)] - #[must_use] pub fn exchg_pins(&mut self) -> EXCHG_PINS_W { EXCHG_PINS_W::new(self, 2) } #[doc = "Bits 3:4 - Control single-end input high threshold,1.76V to 2V, step 80mV"] #[inline(always)] - #[must_use] pub fn vrefh(&mut self) -> VREFH_W { VREFH_W::new(self, 3) } #[doc = "Bits 5:6 - Control single-end input low threshold,0.8V to 1.04V, step 80mV"] #[inline(always)] - #[must_use] pub fn vrefl(&mut self) -> VREFL_W { VREFL_W::new(self, 5) } #[doc = "Bit 7 - Enable software control input threshold"] #[inline(always)] - #[must_use] pub fn vref_override(&mut self) -> VREF_OVERRIDE_W { VREF_OVERRIDE_W::new(self, 7) } #[doc = "Bit 8 - Enable software control USB D+ D- pullup pulldown"] #[inline(always)] - #[must_use] pub fn pad_pull_override(&mut self) -> PAD_PULL_OVERRIDE_W { PAD_PULL_OVERRIDE_W::new(self, 8) } #[doc = "Bit 9 - Control USB D+ pull up."] #[inline(always)] - #[must_use] pub fn dp_pullup(&mut self) -> DP_PULLUP_W { DP_PULLUP_W::new(self, 9) } #[doc = "Bit 10 - Control USB D+ pull down."] #[inline(always)] - #[must_use] pub fn dp_pulldown(&mut self) -> DP_PULLDOWN_W { DP_PULLDOWN_W::new(self, 10) } #[doc = "Bit 11 - Control USB D- pull up."] #[inline(always)] - #[must_use] pub fn dm_pullup(&mut self) -> DM_PULLUP_W { DM_PULLUP_W::new(self, 11) } #[doc = "Bit 12 - Control USB D- pull down."] #[inline(always)] - #[must_use] pub fn dm_pulldown(&mut self) -> DM_PULLDOWN_W { DM_PULLDOWN_W::new(self, 12) } #[doc = "Bit 13 - Control pull up value."] #[inline(always)] - #[must_use] pub fn pullup_value(&mut self) -> PULLUP_VALUE_W { PULLUP_VALUE_W::new(self, 13) } #[doc = "Bit 14 - Enable USB pad function."] #[inline(always)] - #[must_use] pub fn usb_pad_enable(&mut self) -> USB_PAD_ENABLE_W { USB_PAD_ENABLE_W::new(self, 14) } #[doc = "Bit 15 - Set this bit usb_jtag, the connection between usb_jtag and internal JTAG is disconnected, and MTMS, MTDI, MTCK are output through GPIO Matrix, MTDO is input through GPIO Matrix."] #[inline(always)] - #[must_use] pub fn usb_jtag_bridge_en(&mut self) -> USB_JTAG_BRIDGE_EN_W { USB_JTAG_BRIDGE_EN_W::new(self, 15) } diff --git a/esp32c6/src/usb_device/config_update.rs b/esp32c6/src/usb_device/config_update.rs index de2fbac26f..07ce01ac89 100644 --- a/esp32c6/src/usb_device/config_update.rs +++ b/esp32c6/src/usb_device/config_update.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to this register would update the value of configure registers from APB clock domain to 48MHz clock domain."] #[inline(always)] - #[must_use] pub fn config_update(&mut self) -> CONFIG_UPDATE_W { CONFIG_UPDATE_W::new(self, 0) } diff --git a/esp32c6/src/usb_device/date.rs b/esp32c6/src/usb_device/date.rs index 2d1ee9e13c..ea3ef01b43 100644 --- a/esp32c6/src/usb_device/date.rs +++ b/esp32c6/src/usb_device/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - register version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32c6/src/usb_device/ep1.rs b/esp32c6/src/usb_device/ep1.rs index f649db8d47..836db112f2 100644 --- a/esp32c6/src/usb_device/ep1.rs +++ b/esp32c6/src/usb_device/ep1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Write and read byte data to/from UART Tx/Rx FIFO through this field. When USB_DEVICE_SERIAL_IN_EMPTY_INT is set, then user can write data (up to 64 bytes) into UART Tx FIFO. When USB_DEVICE_SERIAL_OUT_RECV_PKT_INT is set, user can check USB_DEVICE_OUT_EP1_WR_ADDR USB_DEVICE_OUT_EP0_RD_ADDR to know how many data is received, then read data from UART Rx FIFO."] #[inline(always)] - #[must_use] pub fn rdwr_byte(&mut self) -> RDWR_BYTE_W { RDWR_BYTE_W::new(self, 0) } diff --git a/esp32c6/src/usb_device/ep1_conf.rs b/esp32c6/src/usb_device/ep1_conf.rs index ff9c0ab58a..1c5d7d0a07 100644 --- a/esp32c6/src/usb_device/ep1_conf.rs +++ b/esp32c6/src/usb_device/ep1_conf.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to indicate writing byte data to UART Tx FIFO is done."] #[inline(always)] - #[must_use] pub fn wr_done(&mut self) -> WR_DONE_W { WR_DONE_W::new(self, 0) } diff --git a/esp32c6/src/usb_device/get_line_code_w0.rs b/esp32c6/src/usb_device/get_line_code_w0.rs index 331dd324f8..ebe82aaa13 100644 --- a/esp32c6/src/usb_device/get_line_code_w0.rs +++ b/esp32c6/src/usb_device/get_line_code_w0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The value of dwDTERate set by software which is requested by GET_LINE_CODING command."] #[inline(always)] - #[must_use] pub fn get_dw_dte_rate(&mut self) -> GET_DW_DTE_RATE_W { GET_DW_DTE_RATE_W::new(self, 0) } diff --git a/esp32c6/src/usb_device/get_line_code_w1.rs b/esp32c6/src/usb_device/get_line_code_w1.rs index a757756dba..6c98da3555 100644 --- a/esp32c6/src/usb_device/get_line_code_w1.rs +++ b/esp32c6/src/usb_device/get_line_code_w1.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - The value of bCharFormat set by software which is requested by GET_LINE_CODING command."] #[inline(always)] - #[must_use] pub fn get_bdata_bits(&mut self) -> GET_BDATA_BITS_W { GET_BDATA_BITS_W::new(self, 0) } #[doc = "Bits 8:15 - The value of bParityTpye set by software which is requested by GET_LINE_CODING command."] #[inline(always)] - #[must_use] pub fn get_bparity_type(&mut self) -> GET_BPARITY_TYPE_W { GET_BPARITY_TYPE_W::new(self, 8) } #[doc = "Bits 16:23 - The value of bDataBits set by software which is requested by GET_LINE_CODING command."] #[inline(always)] - #[must_use] pub fn get_bchar_format(&mut self) -> GET_BCHAR_FORMAT_W { GET_BCHAR_FORMAT_W::new(self, 16) } diff --git a/esp32c6/src/usb_device/int_clr.rs b/esp32c6/src/usb_device/int_clr.rs index b40d597bf6..88ff6bb8d3 100644 --- a/esp32c6/src/usb_device/int_clr.rs +++ b/esp32c6/src/usb_device/int_clr.rs @@ -41,97 +41,81 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the USB_DEVICE_JTAG_IN_FLUSH_INT interrupt."] #[inline(always)] - #[must_use] pub fn jtag_in_flush(&mut self) -> JTAG_IN_FLUSH_W { JTAG_IN_FLUSH_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the USB_DEVICE_JTAG_SOF_INT interrupt."] #[inline(always)] - #[must_use] pub fn sof(&mut self) -> SOF_W { SOF_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the USB_DEVICE_SERIAL_OUT_RECV_PKT_INT interrupt."] #[inline(always)] - #[must_use] pub fn serial_out_recv_pkt(&mut self) -> SERIAL_OUT_RECV_PKT_W { SERIAL_OUT_RECV_PKT_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the USB_DEVICE_SERIAL_IN_EMPTY_INT interrupt."] #[inline(always)] - #[must_use] pub fn serial_in_empty(&mut self) -> SERIAL_IN_EMPTY_W { SERIAL_IN_EMPTY_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear the USB_DEVICE_PID_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn pid_err(&mut self) -> PID_ERR_W { PID_ERR_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the USB_DEVICE_CRC5_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn crc5_err(&mut self) -> CRC5_ERR_W { CRC5_ERR_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the USB_DEVICE_CRC16_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn crc16_err(&mut self) -> CRC16_ERR_W { CRC16_ERR_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the USB_DEVICE_STUFF_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn stuff_err(&mut self) -> STUFF_ERR_W { STUFF_ERR_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the USB_DEVICE_IN_TOKEN_IN_EP1_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_token_rec_in_ep1(&mut self) -> IN_TOKEN_REC_IN_EP1_W { IN_TOKEN_REC_IN_EP1_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear the USB_DEVICE_USB_BUS_RESET_INT interrupt."] #[inline(always)] - #[must_use] pub fn usb_bus_reset(&mut self) -> USB_BUS_RESET_W { USB_BUS_RESET_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to clear the USB_DEVICE_OUT_EP1_ZERO_PAYLOAD_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_ep1_zero_payload(&mut self) -> OUT_EP1_ZERO_PAYLOAD_W { OUT_EP1_ZERO_PAYLOAD_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear the USB_DEVICE_OUT_EP2_ZERO_PAYLOAD_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_ep2_zero_payload(&mut self) -> OUT_EP2_ZERO_PAYLOAD_W { OUT_EP2_ZERO_PAYLOAD_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to clear the USB_DEVICE_RTS_CHG_INT interrupt."] #[inline(always)] - #[must_use] pub fn rts_chg(&mut self) -> RTS_CHG_W { RTS_CHG_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to clear the USB_DEVICE_DTR_CHG_INT interrupt."] #[inline(always)] - #[must_use] pub fn dtr_chg(&mut self) -> DTR_CHG_W { DTR_CHG_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to clear the USB_DEVICE_GET_LINE_CODE_INT interrupt."] #[inline(always)] - #[must_use] pub fn get_line_code(&mut self) -> GET_LINE_CODE_W { GET_LINE_CODE_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to clear the USB_DEVICE_SET_LINE_CODE_INT interrupt."] #[inline(always)] - #[must_use] pub fn set_line_code(&mut self) -> SET_LINE_CODE_W { SET_LINE_CODE_W::new(self, 15) } diff --git a/esp32c6/src/usb_device/int_ena.rs b/esp32c6/src/usb_device/int_ena.rs index af5477b304..1910f4b0f3 100644 --- a/esp32c6/src/usb_device/int_ena.rs +++ b/esp32c6/src/usb_device/int_ena.rs @@ -174,97 +174,81 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for the USB_DEVICE_JTAG_IN_FLUSH_INT interrupt."] #[inline(always)] - #[must_use] pub fn jtag_in_flush(&mut self) -> JTAG_IN_FLUSH_W { JTAG_IN_FLUSH_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the USB_DEVICE_SOF_INT interrupt."] #[inline(always)] - #[must_use] pub fn sof(&mut self) -> SOF_W { SOF_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the USB_DEVICE_SERIAL_OUT_RECV_PKT_INT interrupt."] #[inline(always)] - #[must_use] pub fn serial_out_recv_pkt(&mut self) -> SERIAL_OUT_RECV_PKT_W { SERIAL_OUT_RECV_PKT_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the USB_DEVICE_SERIAL_IN_EMPTY_INT interrupt."] #[inline(always)] - #[must_use] pub fn serial_in_empty(&mut self) -> SERIAL_IN_EMPTY_W { SERIAL_IN_EMPTY_W::new(self, 3) } #[doc = "Bit 4 - The interrupt enable bit for the USB_DEVICE_PID_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn pid_err(&mut self) -> PID_ERR_W { PID_ERR_W::new(self, 4) } #[doc = "Bit 5 - The interrupt enable bit for the USB_DEVICE_CRC5_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn crc5_err(&mut self) -> CRC5_ERR_W { CRC5_ERR_W::new(self, 5) } #[doc = "Bit 6 - The interrupt enable bit for the USB_DEVICE_CRC16_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn crc16_err(&mut self) -> CRC16_ERR_W { CRC16_ERR_W::new(self, 6) } #[doc = "Bit 7 - The interrupt enable bit for the USB_DEVICE_STUFF_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn stuff_err(&mut self) -> STUFF_ERR_W { STUFF_ERR_W::new(self, 7) } #[doc = "Bit 8 - The interrupt enable bit for the USB_DEVICE_IN_TOKEN_REC_IN_EP1_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_token_rec_in_ep1(&mut self) -> IN_TOKEN_REC_IN_EP1_W { IN_TOKEN_REC_IN_EP1_W::new(self, 8) } #[doc = "Bit 9 - The interrupt enable bit for the USB_DEVICE_USB_BUS_RESET_INT interrupt."] #[inline(always)] - #[must_use] pub fn usb_bus_reset(&mut self) -> USB_BUS_RESET_W { USB_BUS_RESET_W::new(self, 9) } #[doc = "Bit 10 - The interrupt enable bit for the USB_DEVICE_OUT_EP1_ZERO_PAYLOAD_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_ep1_zero_payload(&mut self) -> OUT_EP1_ZERO_PAYLOAD_W { OUT_EP1_ZERO_PAYLOAD_W::new(self, 10) } #[doc = "Bit 11 - The interrupt enable bit for the USB_DEVICE_OUT_EP2_ZERO_PAYLOAD_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_ep2_zero_payload(&mut self) -> OUT_EP2_ZERO_PAYLOAD_W { OUT_EP2_ZERO_PAYLOAD_W::new(self, 11) } #[doc = "Bit 12 - The interrupt enable bit for the USB_DEVICE_RTS_CHG_INT interrupt."] #[inline(always)] - #[must_use] pub fn rts_chg(&mut self) -> RTS_CHG_W { RTS_CHG_W::new(self, 12) } #[doc = "Bit 13 - The interrupt enable bit for the USB_DEVICE_DTR_CHG_INT interrupt."] #[inline(always)] - #[must_use] pub fn dtr_chg(&mut self) -> DTR_CHG_W { DTR_CHG_W::new(self, 13) } #[doc = "Bit 14 - The interrupt enable bit for the USB_DEVICE_GET_LINE_CODE_INT interrupt."] #[inline(always)] - #[must_use] pub fn get_line_code(&mut self) -> GET_LINE_CODE_W { GET_LINE_CODE_W::new(self, 14) } #[doc = "Bit 15 - The interrupt enable bit for the USB_DEVICE_SET_LINE_CODE_INT interrupt."] #[inline(always)] - #[must_use] pub fn set_line_code(&mut self) -> SET_LINE_CODE_W { SET_LINE_CODE_W::new(self, 15) } diff --git a/esp32c6/src/usb_device/int_raw.rs b/esp32c6/src/usb_device/int_raw.rs index f27aaca151..d03d08fe4d 100644 --- a/esp32c6/src/usb_device/int_raw.rs +++ b/esp32c6/src/usb_device/int_raw.rs @@ -174,97 +174,81 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw interrupt bit turns to high level when flush cmd is received for IN endpoint 2 of JTAG."] #[inline(always)] - #[must_use] pub fn jtag_in_flush(&mut self) -> JTAG_IN_FLUSH_W { JTAG_IN_FLUSH_W::new(self, 0) } #[doc = "Bit 1 - The raw interrupt bit turns to high level when SOF frame is received."] #[inline(always)] - #[must_use] pub fn sof(&mut self) -> SOF_W { SOF_W::new(self, 1) } #[doc = "Bit 2 - The raw interrupt bit turns to high level when Serial Port OUT Endpoint received one packet."] #[inline(always)] - #[must_use] pub fn serial_out_recv_pkt(&mut self) -> SERIAL_OUT_RECV_PKT_W { SERIAL_OUT_RECV_PKT_W::new(self, 2) } #[doc = "Bit 3 - The raw interrupt bit turns to high level when Serial Port IN Endpoint is empty."] #[inline(always)] - #[must_use] pub fn serial_in_empty(&mut self) -> SERIAL_IN_EMPTY_W { SERIAL_IN_EMPTY_W::new(self, 3) } #[doc = "Bit 4 - The raw interrupt bit turns to high level when pid error is detected."] #[inline(always)] - #[must_use] pub fn pid_err(&mut self) -> PID_ERR_W { PID_ERR_W::new(self, 4) } #[doc = "Bit 5 - The raw interrupt bit turns to high level when CRC5 error is detected."] #[inline(always)] - #[must_use] pub fn crc5_err(&mut self) -> CRC5_ERR_W { CRC5_ERR_W::new(self, 5) } #[doc = "Bit 6 - The raw interrupt bit turns to high level when CRC16 error is detected."] #[inline(always)] - #[must_use] pub fn crc16_err(&mut self) -> CRC16_ERR_W { CRC16_ERR_W::new(self, 6) } #[doc = "Bit 7 - The raw interrupt bit turns to high level when stuff error is detected."] #[inline(always)] - #[must_use] pub fn stuff_err(&mut self) -> STUFF_ERR_W { STUFF_ERR_W::new(self, 7) } #[doc = "Bit 8 - The raw interrupt bit turns to high level when IN token for IN endpoint 1 is received."] #[inline(always)] - #[must_use] pub fn in_token_rec_in_ep1(&mut self) -> IN_TOKEN_REC_IN_EP1_W { IN_TOKEN_REC_IN_EP1_W::new(self, 8) } #[doc = "Bit 9 - The raw interrupt bit turns to high level when usb bus reset is detected."] #[inline(always)] - #[must_use] pub fn usb_bus_reset(&mut self) -> USB_BUS_RESET_W { USB_BUS_RESET_W::new(self, 9) } #[doc = "Bit 10 - The raw interrupt bit turns to high level when OUT endpoint 1 received packet with zero palyload."] #[inline(always)] - #[must_use] pub fn out_ep1_zero_payload(&mut self) -> OUT_EP1_ZERO_PAYLOAD_W { OUT_EP1_ZERO_PAYLOAD_W::new(self, 10) } #[doc = "Bit 11 - The raw interrupt bit turns to high level when OUT endpoint 2 received packet with zero palyload."] #[inline(always)] - #[must_use] pub fn out_ep2_zero_payload(&mut self) -> OUT_EP2_ZERO_PAYLOAD_W { OUT_EP2_ZERO_PAYLOAD_W::new(self, 11) } #[doc = "Bit 12 - The raw interrupt bit turns to high level when level of RTS from usb serial channel is changed."] #[inline(always)] - #[must_use] pub fn rts_chg(&mut self) -> RTS_CHG_W { RTS_CHG_W::new(self, 12) } #[doc = "Bit 13 - The raw interrupt bit turns to high level when level of DTR from usb serial channel is changed."] #[inline(always)] - #[must_use] pub fn dtr_chg(&mut self) -> DTR_CHG_W { DTR_CHG_W::new(self, 13) } #[doc = "Bit 14 - The raw interrupt bit turns to high level when level of GET LINE CODING request is received."] #[inline(always)] - #[must_use] pub fn get_line_code(&mut self) -> GET_LINE_CODE_W { GET_LINE_CODE_W::new(self, 14) } #[doc = "Bit 15 - The raw interrupt bit turns to high level when level of SET LINE CODING request is received."] #[inline(always)] - #[must_use] pub fn set_line_code(&mut self) -> SET_LINE_CODE_W { SET_LINE_CODE_W::new(self, 15) } diff --git a/esp32c6/src/usb_device/jfifo_st.rs b/esp32c6/src/usb_device/jfifo_st.rs index a0c5816b77..8fd1874c80 100644 --- a/esp32c6/src/usb_device/jfifo_st.rs +++ b/esp32c6/src/usb_device/jfifo_st.rs @@ -82,13 +82,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 8 - Write 1 to reset JTAG in fifo."] #[inline(always)] - #[must_use] pub fn in_fifo_reset(&mut self) -> IN_FIFO_RESET_W { IN_FIFO_RESET_W::new(self, 8) } #[doc = "Bit 9 - Write 1 to reset JTAG out fifo."] #[inline(always)] - #[must_use] pub fn out_fifo_reset(&mut self) -> OUT_FIFO_RESET_W { OUT_FIFO_RESET_W::new(self, 9) } diff --git a/esp32c6/src/usb_device/mem_conf.rs b/esp32c6/src/usb_device/mem_conf.rs index ca8fa18cd2..93304554f1 100644 --- a/esp32c6/src/usb_device/mem_conf.rs +++ b/esp32c6/src/usb_device/mem_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: power down usb memory."] #[inline(always)] - #[must_use] pub fn usb_mem_pd(&mut self) -> USB_MEM_PD_W { USB_MEM_PD_W::new(self, 0) } #[doc = "Bit 1 - 1: Force clock on for usb memory."] #[inline(always)] - #[must_use] pub fn usb_mem_clk_en(&mut self) -> USB_MEM_CLK_EN_W { USB_MEM_CLK_EN_W::new(self, 1) } diff --git a/esp32c6/src/usb_device/misc_conf.rs b/esp32c6/src/usb_device/misc_conf.rs index bdfa3cddfd..df0741ba72 100644 --- a/esp32c6/src/usb_device/misc_conf.rs +++ b/esp32c6/src/usb_device/misc_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1'h1: Force clock on for register. 1'h0: Support clock only when application writes registers."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32c6/src/usb_device/ser_afifo_config.rs b/esp32c6/src/usb_device/ser_afifo_config.rs index f580a78d6e..d12f280ef6 100644 --- a/esp32c6/src/usb_device/ser_afifo_config.rs +++ b/esp32c6/src/usb_device/ser_afifo_config.rs @@ -76,7 +76,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Write 1 to reset CDC_ACM IN async FIFO write clock domain."] #[inline(always)] - #[must_use] pub fn serial_in_afifo_reset_wr( &mut self, ) -> SERIAL_IN_AFIFO_RESET_WR_W { @@ -84,7 +83,6 @@ impl W { } #[doc = "Bit 1 - Write 1 to reset CDC_ACM IN async FIFO read clock domain."] #[inline(always)] - #[must_use] pub fn serial_in_afifo_reset_rd( &mut self, ) -> SERIAL_IN_AFIFO_RESET_RD_W { @@ -92,7 +90,6 @@ impl W { } #[doc = "Bit 2 - Write 1 to reset CDC_ACM OUT async FIFO write clock domain."] #[inline(always)] - #[must_use] pub fn serial_out_afifo_reset_wr( &mut self, ) -> SERIAL_OUT_AFIFO_RESET_WR_W { @@ -100,7 +97,6 @@ impl W { } #[doc = "Bit 3 - Write 1 to reset CDC_ACM OUT async FIFO read clock domain."] #[inline(always)] - #[must_use] pub fn serial_out_afifo_reset_rd( &mut self, ) -> SERIAL_OUT_AFIFO_RESET_RD_W { diff --git a/esp32c6/src/usb_device/test.rs b/esp32c6/src/usb_device/test.rs index 9afefc73e1..cef97fa041 100644 --- a/esp32c6/src/usb_device/test.rs +++ b/esp32c6/src/usb_device/test.rs @@ -78,25 +78,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Enable test of the USB pad"] #[inline(always)] - #[must_use] pub fn test_enable(&mut self) -> TEST_ENABLE_W { TEST_ENABLE_W::new(self, 0) } #[doc = "Bit 1 - USB pad oen in test"] #[inline(always)] - #[must_use] pub fn test_usb_oe(&mut self) -> TEST_USB_OE_W { TEST_USB_OE_W::new(self, 1) } #[doc = "Bit 2 - USB D+ tx value in test"] #[inline(always)] - #[must_use] pub fn test_tx_dp(&mut self) -> TEST_TX_DP_W { TEST_TX_DP_W::new(self, 2) } #[doc = "Bit 3 - USB D- tx value in test"] #[inline(always)] - #[must_use] pub fn test_tx_dm(&mut self) -> TEST_TX_DM_W { TEST_TX_DM_W::new(self, 3) } diff --git a/esp32h2/src/aes/aad_block_num.rs b/esp32h2/src/aes/aad_block_num.rs index 69251c94d2..709b31f828 100644 --- a/esp32h2/src/aes/aad_block_num.rs +++ b/esp32h2/src/aes/aad_block_num.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits stores the number of AAD block."] #[inline(always)] - #[must_use] pub fn aad_block_num(&mut self) -> AAD_BLOCK_NUM_W { AAD_BLOCK_NUM_W::new(self, 0) } diff --git a/esp32h2/src/aes/block_mode.rs b/esp32h2/src/aes/block_mode.rs index cb38ed2b65..a386bf1185 100644 --- a/esp32h2/src/aes/block_mode.rs +++ b/esp32h2/src/aes/block_mode.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - Those bits decides which block mode will be used. 0x0: ECB, 0x1: CBC, 0x2: OFB, 0x3: CTR, 0x4: CFB-8, 0x5: CFB-128, 0x6: GCM, 0x7: reserved."] #[inline(always)] - #[must_use] pub fn block_mode(&mut self) -> BLOCK_MODE_W { BLOCK_MODE_W::new(self, 0) } diff --git a/esp32h2/src/aes/block_num.rs b/esp32h2/src/aes/block_num.rs index 5c3719085a..35478ff441 100644 --- a/esp32h2/src/aes/block_num.rs +++ b/esp32h2/src/aes/block_num.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits stores the number of Plaintext/ciphertext block."] #[inline(always)] - #[must_use] pub fn block_num(&mut self) -> BLOCK_NUM_W { BLOCK_NUM_W::new(self, 0) } diff --git a/esp32h2/src/aes/continue_.rs b/esp32h2/src/aes/continue_.rs index 13d71cf7a9..daf54fcf09 100644 --- a/esp32h2/src/aes/continue_.rs +++ b/esp32h2/src/aes/continue_.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to continue GCM operation."] #[inline(always)] - #[must_use] pub fn continue_(&mut self) -> CONTINUE_W { CONTINUE_W::new(self, 0) } diff --git a/esp32h2/src/aes/date.rs b/esp32h2/src/aes/date.rs index 2b4485b861..c860c6be83 100644 --- a/esp32h2/src/aes/date.rs +++ b/esp32h2/src/aes/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - This bits stores the version information of AES."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32h2/src/aes/dma_enable.rs b/esp32h2/src/aes/dma_enable.rs index 760df2c252..590c271a3e 100644 --- a/esp32h2/src/aes/dma_enable.rs +++ b/esp32h2/src/aes/dma_enable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1'b0: typical AES working mode, 1'b1: DMA-AES working mode."] #[inline(always)] - #[must_use] pub fn dma_enable(&mut self) -> DMA_ENABLE_W { DMA_ENABLE_W::new(self, 0) } diff --git a/esp32h2/src/aes/dma_exit.rs b/esp32h2/src/aes/dma_exit.rs index 5e0e6b4557..8dc4b24b6b 100644 --- a/esp32h2/src/aes/dma_exit.rs +++ b/esp32h2/src/aes/dma_exit.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this register to leave calculation done stage. Recommend to use it after software finishes reading DMA's output buffer."] #[inline(always)] - #[must_use] pub fn dma_exit(&mut self) -> DMA_EXIT_W { DMA_EXIT_W::new(self, 0) } diff --git a/esp32h2/src/aes/endian.rs b/esp32h2/src/aes/endian.rs index 24c40ced4a..dbaf10f41a 100644 --- a/esp32h2/src/aes/endian.rs +++ b/esp32h2/src/aes/endian.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - endian. \\[1:0\\] key endian, \\[3:2\\] text_in endian or in_stream endian, \\[5:4\\] text_out endian or out_stream endian"] #[inline(always)] - #[must_use] pub fn endian(&mut self) -> ENDIAN_W { ENDIAN_W::new(self, 0) } diff --git a/esp32h2/src/aes/inc_sel.rs b/esp32h2/src/aes/inc_sel.rs index 5ea62fcf85..00027a27c8 100644 --- a/esp32h2/src/aes/inc_sel.rs +++ b/esp32h2/src/aes/inc_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit decides the standard incrementing function. 0: INC32. 1: INC128."] #[inline(always)] - #[must_use] pub fn inc_sel(&mut self) -> INC_SEL_W { INC_SEL_W::new(self, 0) } diff --git a/esp32h2/src/aes/int_clr.rs b/esp32h2/src/aes/int_clr.rs index 3f2368572b..30ecad239a 100644 --- a/esp32h2/src/aes/int_clr.rs +++ b/esp32h2/src/aes/int_clr.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the AES interrupt."] #[inline(always)] - #[must_use] pub fn int_clr(&mut self) -> INT_CLR_W { INT_CLR_W::new(self, 0) } diff --git a/esp32h2/src/aes/int_ena.rs b/esp32h2/src/aes/int_ena.rs index 500f071796..c4a6a34927 100644 --- a/esp32h2/src/aes/int_ena.rs +++ b/esp32h2/src/aes/int_ena.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable interrupt that occurs when DMA-AES calculation is done."] #[inline(always)] - #[must_use] pub fn int_ena(&mut self) -> INT_ENA_W { INT_ENA_W::new(self, 0) } diff --git a/esp32h2/src/aes/key.rs b/esp32h2/src/aes/key.rs index 00e0561287..afe084e3bb 100644 --- a/esp32h2/src/aes/key.rs +++ b/esp32h2/src/aes/key.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This bits stores key_0 that is a part of key material."] #[inline(always)] - #[must_use] pub fn key(&mut self) -> KEY_W { KEY_W::new(self, 0) } diff --git a/esp32h2/src/aes/mode.rs b/esp32h2/src/aes/mode.rs index bad1d86223..66f978745b 100644 --- a/esp32h2/src/aes/mode.rs +++ b/esp32h2/src/aes/mode.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - This bits decides which one operation mode will be used. 3'd0: AES-EN-128, 3'd1: AES-EN-192, 3'd2: AES-EN-256, 3'd4: AES-DE-128, 3'd5: AES-DE-192, 3'd6: AES-DE-256."] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 0) } diff --git a/esp32h2/src/aes/remainder_bit_num.rs b/esp32h2/src/aes/remainder_bit_num.rs index c2a124ab9e..3f20adbc9f 100644 --- a/esp32h2/src/aes/remainder_bit_num.rs +++ b/esp32h2/src/aes/remainder_bit_num.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Those bits stores the number of remainder bit."] #[inline(always)] - #[must_use] pub fn remainder_bit_num(&mut self) -> REMAINDER_BIT_NUM_W { REMAINDER_BIT_NUM_W::new(self, 0) } diff --git a/esp32h2/src/aes/text_in.rs b/esp32h2/src/aes/text_in.rs index 18631b63aa..9d22eaffa8 100644 --- a/esp32h2/src/aes/text_in.rs +++ b/esp32h2/src/aes/text_in.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This bits stores text_in_0 that is a part of source text material."] #[inline(always)] - #[must_use] pub fn text_in(&mut self) -> TEXT_IN_W { TEXT_IN_W::new(self, 0) } diff --git a/esp32h2/src/aes/text_out.rs b/esp32h2/src/aes/text_out.rs index e1028d5d06..44471c9f00 100644 --- a/esp32h2/src/aes/text_out.rs +++ b/esp32h2/src/aes/text_out.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This bits stores text_out_0 that is a part of result text material."] #[inline(always)] - #[must_use] pub fn text_out(&mut self) -> TEXT_OUT_W { TEXT_OUT_W::new(self, 0) } diff --git a/esp32h2/src/aes/trigger.rs b/esp32h2/src/aes/trigger.rs index 1b80d9df09..642626d867 100644 --- a/esp32h2/src/aes/trigger.rs +++ b/esp32h2/src/aes/trigger.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to start AES calculation."] #[inline(always)] - #[must_use] pub fn trigger(&mut self) -> TRIGGER_W { TRIGGER_W::new(self, 0) } diff --git a/esp32h2/src/apb_saradc/arb_ctrl.rs b/esp32h2/src/apb_saradc/arb_ctrl.rs index f0576641cb..2b5c60ee94 100644 --- a/esp32h2/src/apb_saradc/arb_ctrl.rs +++ b/esp32h2/src/apb_saradc/arb_ctrl.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - adc2 arbiter force to enableapb controller"] #[inline(always)] - #[must_use] pub fn apb_force(&mut self) -> APB_FORCE_W { APB_FORCE_W::new(self, 2) } #[doc = "Bit 3 - adc2 arbiter force to enable rtc controller"] #[inline(always)] - #[must_use] pub fn rtc_force(&mut self) -> RTC_FORCE_W { RTC_FORCE_W::new(self, 3) } #[doc = "Bit 4 - adc2 arbiter force to enable wifi controller"] #[inline(always)] - #[must_use] pub fn wifi_force(&mut self) -> WIFI_FORCE_W { WIFI_FORCE_W::new(self, 4) } #[doc = "Bit 5 - adc2 arbiter force grant"] #[inline(always)] - #[must_use] pub fn grant_force(&mut self) -> GRANT_FORCE_W { GRANT_FORCE_W::new(self, 5) } #[doc = "Bits 6:7 - Set adc2 arbiterapb priority"] #[inline(always)] - #[must_use] pub fn apb_priority(&mut self) -> APB_PRIORITY_W { APB_PRIORITY_W::new(self, 6) } #[doc = "Bits 8:9 - Set adc2 arbiter rtc priority"] #[inline(always)] - #[must_use] pub fn rtc_priority(&mut self) -> RTC_PRIORITY_W { RTC_PRIORITY_W::new(self, 8) } #[doc = "Bits 10:11 - Set adc2 arbiter wifi priority"] #[inline(always)] - #[must_use] pub fn wifi_priority(&mut self) -> WIFI_PRIORITY_W { WIFI_PRIORITY_W::new(self, 10) } #[doc = "Bit 12 - adc2 arbiter uses fixed priority"] #[inline(always)] - #[must_use] pub fn fix_priority(&mut self) -> FIX_PRIORITY_W { FIX_PRIORITY_W::new(self, 12) } diff --git a/esp32h2/src/apb_saradc/cali.rs b/esp32h2/src/apb_saradc/cali.rs index 28a6e84542..3d7bf9a574 100644 --- a/esp32h2/src/apb_saradc/cali.rs +++ b/esp32h2/src/apb_saradc/cali.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:16 - saradc cali factor"] #[inline(always)] - #[must_use] pub fn cfg(&mut self) -> CFG_W { CFG_W::new(self, 0) } diff --git a/esp32h2/src/apb_saradc/clkm_conf.rs b/esp32h2/src/apb_saradc/clkm_conf.rs index bad3d2a349..0fdb1abe44 100644 --- a/esp32h2/src/apb_saradc/clkm_conf.rs +++ b/esp32h2/src/apb_saradc/clkm_conf.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Integral I2S clock divider value"] #[inline(always)] - #[must_use] pub fn clkm_div_num(&mut self) -> CLKM_DIV_NUM_W { CLKM_DIV_NUM_W::new(self, 0) } #[doc = "Bits 8:13 - Fractional clock divider numerator value"] #[inline(always)] - #[must_use] pub fn clkm_div_b(&mut self) -> CLKM_DIV_B_W { CLKM_DIV_B_W::new(self, 8) } #[doc = "Bits 14:19 - Fractional clock divider denominator value"] #[inline(always)] - #[must_use] pub fn clkm_div_a(&mut self) -> CLKM_DIV_A_W { CLKM_DIV_A_W::new(self, 14) } #[doc = "Bit 20 - reg clk en"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 20) } #[doc = "Bits 21:22 - Set this bit to enable clk_apll"] #[inline(always)] - #[must_use] pub fn clk_sel(&mut self) -> CLK_SEL_W { CLK_SEL_W::new(self, 21) } diff --git a/esp32h2/src/apb_saradc/ctrl.rs b/esp32h2/src/apb_saradc/ctrl.rs index ef3deb57ae..1881c9a284 100644 --- a/esp32h2/src/apb_saradc/ctrl.rs +++ b/esp32h2/src/apb_saradc/ctrl.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - select software enable saradc sample"] #[inline(always)] - #[must_use] pub fn start_force(&mut self) -> START_FORCE_W { START_FORCE_W::new(self, 0) } #[doc = "Bit 1 - software enable saradc sample"] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 1) } #[doc = "Bit 6 - SAR clock gated"] #[inline(always)] - #[must_use] pub fn sar_clk_gated(&mut self) -> SAR_CLK_GATED_W { SAR_CLK_GATED_W::new(self, 6) } #[doc = "Bits 7:14 - SAR clock divider"] #[inline(always)] - #[must_use] pub fn sar_clk_div(&mut self) -> SAR_CLK_DIV_W { SAR_CLK_DIV_W::new(self, 7) } #[doc = "Bits 15:17 - 0 ~ 15 means length 1 ~ 16"] #[inline(always)] - #[must_use] pub fn sar_patt_len(&mut self) -> SAR_PATT_LEN_W { SAR_PATT_LEN_W::new(self, 15) } #[doc = "Bit 23 - clear the pointer of pattern table for DIG ADC1 CTRL"] #[inline(always)] - #[must_use] pub fn sar_patt_p_clear(&mut self) -> SAR_PATT_P_CLEAR_W { SAR_PATT_P_CLEAR_W::new(self, 23) } #[doc = "Bits 27:28 - force option to xpd sar blocks"] #[inline(always)] - #[must_use] pub fn xpd_sar_force(&mut self) -> XPD_SAR_FORCE_W { XPD_SAR_FORCE_W::new(self, 27) } #[doc = "Bit 29 - enable saradc2 power detect driven func."] #[inline(always)] - #[must_use] pub fn saradc2_pwdet_drv(&mut self) -> SARADC2_PWDET_DRV_W { SARADC2_PWDET_DRV_W::new(self, 29) } #[doc = "Bits 30:31 - wait arbit signal stable after sar_done"] #[inline(always)] - #[must_use] pub fn wait_arb_cycle(&mut self) -> WAIT_ARB_CYCLE_W { WAIT_ARB_CYCLE_W::new(self, 30) } diff --git a/esp32h2/src/apb_saradc/ctrl2.rs b/esp32h2/src/apb_saradc/ctrl2.rs index d95b806f30..6dee60f8e8 100644 --- a/esp32h2/src/apb_saradc/ctrl2.rs +++ b/esp32h2/src/apb_saradc/ctrl2.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - enable max meas num"] #[inline(always)] - #[must_use] pub fn meas_num_limit(&mut self) -> MEAS_NUM_LIMIT_W { MEAS_NUM_LIMIT_W::new(self, 0) } #[doc = "Bits 1:8 - max conversion number"] #[inline(always)] - #[must_use] pub fn max_meas_num(&mut self) -> MAX_MEAS_NUM_W { MAX_MEAS_NUM_W::new(self, 1) } #[doc = "Bit 9 - 1: data to DIG ADC1 CTRL is inverted, otherwise not"] #[inline(always)] - #[must_use] pub fn sar1_inv(&mut self) -> SAR1_INV_W { SAR1_INV_W::new(self, 9) } #[doc = "Bit 10 - 1: data to DIG ADC2 CTRL is inverted, otherwise not"] #[inline(always)] - #[must_use] pub fn sar2_inv(&mut self) -> SAR2_INV_W { SAR2_INV_W::new(self, 10) } #[doc = "Bits 12:23 - to set saradc timer target"] #[inline(always)] - #[must_use] pub fn timer_target(&mut self) -> TIMER_TARGET_W { TIMER_TARGET_W::new(self, 12) } #[doc = "Bit 24 - to enable saradc timer trigger"] #[inline(always)] - #[must_use] pub fn timer_en(&mut self) -> TIMER_EN_W { TIMER_EN_W::new(self, 24) } diff --git a/esp32h2/src/apb_saradc/ctrl_date.rs b/esp32h2/src/apb_saradc/ctrl_date.rs index 4c16c0f17d..8078086cdc 100644 --- a/esp32h2/src/apb_saradc/ctrl_date.rs +++ b/esp32h2/src/apb_saradc/ctrl_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - version"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32h2/src/apb_saradc/dma_conf.rs b/esp32h2/src/apb_saradc/dma_conf.rs index cc3f3427b7..4f36c9308b 100644 --- a/esp32h2/src/apb_saradc/dma_conf.rs +++ b/esp32h2/src/apb_saradc/dma_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - the dma_in_suc_eof gen when sample cnt = spi_eof_num"] #[inline(always)] - #[must_use] pub fn adc_eof_num(&mut self) -> ADC_EOF_NUM_W { ADC_EOF_NUM_W::new(self, 0) } #[doc = "Bit 30 - reset_apb_adc_state"] #[inline(always)] - #[must_use] pub fn adc_reset_fsm(&mut self) -> ADC_RESET_FSM_W { ADC_RESET_FSM_W::new(self, 30) } #[doc = "Bit 31 - enable apb_adc use spi_dma"] #[inline(always)] - #[must_use] pub fn adc_trans(&mut self) -> ADC_TRANS_W { ADC_TRANS_W::new(self, 31) } diff --git a/esp32h2/src/apb_saradc/filter_ctrl0.rs b/esp32h2/src/apb_saradc/filter_ctrl0.rs index 1baa57b97f..0004e12a25 100644 --- a/esp32h2/src/apb_saradc/filter_ctrl0.rs +++ b/esp32h2/src/apb_saradc/filter_ctrl0.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 18:21 - configure filter1 to adc channel"] #[inline(always)] - #[must_use] pub fn filter_channel1(&mut self) -> FILTER_CHANNEL1_W { FILTER_CHANNEL1_W::new(self, 18) } #[doc = "Bits 22:25 - configure filter0 to adc channel"] #[inline(always)] - #[must_use] pub fn filter_channel0(&mut self) -> FILTER_CHANNEL0_W { FILTER_CHANNEL0_W::new(self, 22) } #[doc = "Bit 31 - enable apb_adc1_filter"] #[inline(always)] - #[must_use] pub fn filter_reset(&mut self) -> FILTER_RESET_W { FILTER_RESET_W::new(self, 31) } diff --git a/esp32h2/src/apb_saradc/filter_ctrl1.rs b/esp32h2/src/apb_saradc/filter_ctrl1.rs index 2ba32c65c8..7ca11f4a84 100644 --- a/esp32h2/src/apb_saradc/filter_ctrl1.rs +++ b/esp32h2/src/apb_saradc/filter_ctrl1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 26:28 - Factor of saradc filter1"] #[inline(always)] - #[must_use] pub fn filter_factor1(&mut self) -> FILTER_FACTOR1_W { FILTER_FACTOR1_W::new(self, 26) } #[doc = "Bits 29:31 - Factor of saradc filter0"] #[inline(always)] - #[must_use] pub fn filter_factor0(&mut self) -> FILTER_FACTOR0_W { FILTER_FACTOR0_W::new(self, 29) } diff --git a/esp32h2/src/apb_saradc/fsm_wait.rs b/esp32h2/src/apb_saradc/fsm_wait.rs index 4ac9f6b875..d5db61899b 100644 --- a/esp32h2/src/apb_saradc/fsm_wait.rs +++ b/esp32h2/src/apb_saradc/fsm_wait.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - saradc_xpd_wait"] #[inline(always)] - #[must_use] pub fn xpd_wait(&mut self) -> XPD_WAIT_W { XPD_WAIT_W::new(self, 0) } #[doc = "Bits 8:15 - saradc_rstb_wait"] #[inline(always)] - #[must_use] pub fn rstb_wait(&mut self) -> RSTB_WAIT_W { RSTB_WAIT_W::new(self, 8) } #[doc = "Bits 16:23 - saradc_standby_wait"] #[inline(always)] - #[must_use] pub fn standby_wait(&mut self) -> STANDBY_WAIT_W { STANDBY_WAIT_W::new(self, 16) } diff --git a/esp32h2/src/apb_saradc/int_clr.rs b/esp32h2/src/apb_saradc/int_clr.rs index 935f541d51..e6190b741a 100644 --- a/esp32h2/src/apb_saradc/int_clr.rs +++ b/esp32h2/src/apb_saradc/int_clr.rs @@ -23,43 +23,36 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 25 - saradc tsens interrupt clear"] #[inline(always)] - #[must_use] pub fn tsens(&mut self) -> TSENS_W { TSENS_W::new(self, 25) } #[doc = "Bit 26 - saradc thres1 low interrupt clear"] #[inline(always)] - #[must_use] pub fn thres1_low(&mut self) -> THRES1_LOW_W { THRES1_LOW_W::new(self, 26) } #[doc = "Bit 27 - saradc thres0 low interrupt clear"] #[inline(always)] - #[must_use] pub fn thres0_low(&mut self) -> THRES0_LOW_W { THRES0_LOW_W::new(self, 27) } #[doc = "Bit 28 - saradc thres1 high interrupt clear"] #[inline(always)] - #[must_use] pub fn thres1_high(&mut self) -> THRES1_HIGH_W { THRES1_HIGH_W::new(self, 28) } #[doc = "Bit 29 - saradc thres0 high interrupt clear"] #[inline(always)] - #[must_use] pub fn thres0_high(&mut self) -> THRES0_HIGH_W { THRES0_HIGH_W::new(self, 29) } #[doc = "Bit 30 - saradc2 done interrupt clear"] #[inline(always)] - #[must_use] pub fn adc2_done(&mut self) -> ADC2_DONE_W { ADC2_DONE_W::new(self, 30) } #[doc = "Bit 31 - saradc1 done interrupt clear"] #[inline(always)] - #[must_use] pub fn adc1_done(&mut self) -> ADC1_DONE_W { ADC1_DONE_W::new(self, 31) } diff --git a/esp32h2/src/apb_saradc/int_ena.rs b/esp32h2/src/apb_saradc/int_ena.rs index 25bcce1bc4..708f146703 100644 --- a/esp32h2/src/apb_saradc/int_ena.rs +++ b/esp32h2/src/apb_saradc/int_ena.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 25 - tsens low interrupt enable"] #[inline(always)] - #[must_use] pub fn tsens(&mut self) -> TSENS_W { TSENS_W::new(self, 25) } #[doc = "Bit 26 - saradc thres1 low interrupt enable"] #[inline(always)] - #[must_use] pub fn thres1_low(&mut self) -> THRES1_LOW_W { THRES1_LOW_W::new(self, 26) } #[doc = "Bit 27 - saradc thres0 low interrupt enable"] #[inline(always)] - #[must_use] pub fn thres0_low(&mut self) -> THRES0_LOW_W { THRES0_LOW_W::new(self, 27) } #[doc = "Bit 28 - saradc thres1 high interrupt enable"] #[inline(always)] - #[must_use] pub fn thres1_high(&mut self) -> THRES1_HIGH_W { THRES1_HIGH_W::new(self, 28) } #[doc = "Bit 29 - saradc thres0 high interrupt enable"] #[inline(always)] - #[must_use] pub fn thres0_high(&mut self) -> THRES0_HIGH_W { THRES0_HIGH_W::new(self, 29) } #[doc = "Bit 30 - saradc2 done interrupt enable"] #[inline(always)] - #[must_use] pub fn adc2_done(&mut self) -> ADC2_DONE_W { ADC2_DONE_W::new(self, 30) } #[doc = "Bit 31 - saradc1 done interrupt enable"] #[inline(always)] - #[must_use] pub fn adc1_done(&mut self) -> ADC1_DONE_W { ADC1_DONE_W::new(self, 31) } diff --git a/esp32h2/src/apb_saradc/int_raw.rs b/esp32h2/src/apb_saradc/int_raw.rs index badf1f126c..6afac54ede 100644 --- a/esp32h2/src/apb_saradc/int_raw.rs +++ b/esp32h2/src/apb_saradc/int_raw.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 25 - saradc tsens interrupt raw"] #[inline(always)] - #[must_use] pub fn tsens(&mut self) -> TSENS_W { TSENS_W::new(self, 25) } #[doc = "Bit 26 - saradc thres1 low interrupt raw"] #[inline(always)] - #[must_use] pub fn thres1_low(&mut self) -> THRES1_LOW_W { THRES1_LOW_W::new(self, 26) } #[doc = "Bit 27 - saradc thres0 low interrupt raw"] #[inline(always)] - #[must_use] pub fn thres0_low(&mut self) -> THRES0_LOW_W { THRES0_LOW_W::new(self, 27) } #[doc = "Bit 28 - saradc thres1 high interrupt raw"] #[inline(always)] - #[must_use] pub fn thres1_high(&mut self) -> THRES1_HIGH_W { THRES1_HIGH_W::new(self, 28) } #[doc = "Bit 29 - saradc thres0 high interrupt raw"] #[inline(always)] - #[must_use] pub fn thres0_high(&mut self) -> THRES0_HIGH_W { THRES0_HIGH_W::new(self, 29) } #[doc = "Bit 30 - saradc2 done interrupt raw"] #[inline(always)] - #[must_use] pub fn adc2_done(&mut self) -> ADC2_DONE_W { ADC2_DONE_W::new(self, 30) } #[doc = "Bit 31 - saradc1 done interrupt raw"] #[inline(always)] - #[must_use] pub fn adc1_done(&mut self) -> ADC1_DONE_W { ADC1_DONE_W::new(self, 31) } diff --git a/esp32h2/src/apb_saradc/onetime_sample.rs b/esp32h2/src/apb_saradc/onetime_sample.rs index 95be3e1846..b41f4eb595 100644 --- a/esp32h2/src/apb_saradc/onetime_sample.rs +++ b/esp32h2/src/apb_saradc/onetime_sample.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 23:24 - configure onetime atten"] #[inline(always)] - #[must_use] pub fn onetime_atten(&mut self) -> ONETIME_ATTEN_W { ONETIME_ATTEN_W::new(self, 23) } #[doc = "Bits 25:28 - configure onetime channel"] #[inline(always)] - #[must_use] pub fn onetime_channel(&mut self) -> ONETIME_CHANNEL_W { ONETIME_CHANNEL_W::new(self, 25) } #[doc = "Bit 29 - trigger adc onetime sample"] #[inline(always)] - #[must_use] pub fn onetime_start(&mut self) -> ONETIME_START_W { ONETIME_START_W::new(self, 29) } #[doc = "Bit 30 - enable adc2 onetime sample"] #[inline(always)] - #[must_use] pub fn saradc2_onetime_sample(&mut self) -> SARADC2_ONETIME_SAMPLE_W { SARADC2_ONETIME_SAMPLE_W::new(self, 30) } #[doc = "Bit 31 - enable adc1 onetime sample"] #[inline(always)] - #[must_use] pub fn saradc1_onetime_sample(&mut self) -> SARADC1_ONETIME_SAMPLE_W { SARADC1_ONETIME_SAMPLE_W::new(self, 31) } diff --git a/esp32h2/src/apb_saradc/sar_patt_tab1.rs b/esp32h2/src/apb_saradc/sar_patt_tab1.rs index 4f105c5b98..7c34ad402a 100644 --- a/esp32h2/src/apb_saradc/sar_patt_tab1.rs +++ b/esp32h2/src/apb_saradc/sar_patt_tab1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - item 0 ~ 3 for pattern table 1 (each item one byte)"] #[inline(always)] - #[must_use] pub fn sar_patt_tab1(&mut self) -> SAR_PATT_TAB1_W { SAR_PATT_TAB1_W::new(self, 0) } diff --git a/esp32h2/src/apb_saradc/sar_patt_tab2.rs b/esp32h2/src/apb_saradc/sar_patt_tab2.rs index 9e07f17822..a7880f155a 100644 --- a/esp32h2/src/apb_saradc/sar_patt_tab2.rs +++ b/esp32h2/src/apb_saradc/sar_patt_tab2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - Item 4 ~ 7 for pattern table 1 (each item one byte)"] #[inline(always)] - #[must_use] pub fn sar_patt_tab2(&mut self) -> SAR_PATT_TAB2_W { SAR_PATT_TAB2_W::new(self, 0) } diff --git a/esp32h2/src/apb_saradc/thres0_ctrl.rs b/esp32h2/src/apb_saradc/thres0_ctrl.rs index 5e14de9af6..3bf2ccded3 100644 --- a/esp32h2/src/apb_saradc/thres0_ctrl.rs +++ b/esp32h2/src/apb_saradc/thres0_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - configure thres0 to adc channel"] #[inline(always)] - #[must_use] pub fn thres0_channel(&mut self) -> THRES0_CHANNEL_W { THRES0_CHANNEL_W::new(self, 0) } #[doc = "Bits 5:17 - saradc thres0 monitor thres"] #[inline(always)] - #[must_use] pub fn thres0_high(&mut self) -> THRES0_HIGH_W { THRES0_HIGH_W::new(self, 5) } #[doc = "Bits 18:30 - saradc thres0 monitor thres"] #[inline(always)] - #[must_use] pub fn thres0_low(&mut self) -> THRES0_LOW_W { THRES0_LOW_W::new(self, 18) } diff --git a/esp32h2/src/apb_saradc/thres1_ctrl.rs b/esp32h2/src/apb_saradc/thres1_ctrl.rs index 817c8d4099..0045a242cf 100644 --- a/esp32h2/src/apb_saradc/thres1_ctrl.rs +++ b/esp32h2/src/apb_saradc/thres1_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - configure thres1 to adc channel"] #[inline(always)] - #[must_use] pub fn thres1_channel(&mut self) -> THRES1_CHANNEL_W { THRES1_CHANNEL_W::new(self, 0) } #[doc = "Bits 5:17 - saradc thres1 monitor thres"] #[inline(always)] - #[must_use] pub fn thres1_high(&mut self) -> THRES1_HIGH_W { THRES1_HIGH_W::new(self, 5) } #[doc = "Bits 18:30 - saradc thres1 monitor thres"] #[inline(always)] - #[must_use] pub fn thres1_low(&mut self) -> THRES1_LOW_W { THRES1_LOW_W::new(self, 18) } diff --git a/esp32h2/src/apb_saradc/thres_ctrl.rs b/esp32h2/src/apb_saradc/thres_ctrl.rs index d0b7d93103..7e115dfdc2 100644 --- a/esp32h2/src/apb_saradc/thres_ctrl.rs +++ b/esp32h2/src/apb_saradc/thres_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 27 - enable thres to all channel"] #[inline(always)] - #[must_use] pub fn thres_all_en(&mut self) -> THRES_ALL_EN_W { THRES_ALL_EN_W::new(self, 27) } #[doc = "Bit 30 - enable thres1"] #[inline(always)] - #[must_use] pub fn thres1_en(&mut self) -> THRES1_EN_W { THRES1_EN_W::new(self, 30) } #[doc = "Bit 31 - enable thres0"] #[inline(always)] - #[must_use] pub fn thres0_en(&mut self) -> THRES0_EN_W { THRES0_EN_W::new(self, 31) } diff --git a/esp32h2/src/apb_saradc/tsens_ctrl.rs b/esp32h2/src/apb_saradc/tsens_ctrl.rs index 691e0791ea..3efa3f27df 100644 --- a/esp32h2/src/apb_saradc/tsens_ctrl.rs +++ b/esp32h2/src/apb_saradc/tsens_ctrl.rs @@ -52,19 +52,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - invert temperature sensor data"] #[inline(always)] - #[must_use] pub fn in_inv(&mut self) -> IN_INV_W { IN_INV_W::new(self, 13) } #[doc = "Bits 14:21 - temperature sensor clock divider"] #[inline(always)] - #[must_use] pub fn clk_div(&mut self) -> CLK_DIV_W { CLK_DIV_W::new(self, 14) } #[doc = "Bit 22 - temperature sensor power up"] #[inline(always)] - #[must_use] pub fn pu(&mut self) -> PU_W { PU_W::new(self, 22) } diff --git a/esp32h2/src/apb_saradc/tsens_ctrl2.rs b/esp32h2/src/apb_saradc/tsens_ctrl2.rs index d67da16bf9..05f575cdfc 100644 --- a/esp32h2/src/apb_saradc/tsens_ctrl2.rs +++ b/esp32h2/src/apb_saradc/tsens_ctrl2.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - the time that power up tsens need wait"] #[inline(always)] - #[must_use] pub fn xpd_wait(&mut self) -> XPD_WAIT_W { XPD_WAIT_W::new(self, 0) } #[doc = "Bits 12:13 - force power up tsens"] #[inline(always)] - #[must_use] pub fn xpd_force(&mut self) -> XPD_FORCE_W { XPD_FORCE_W::new(self, 12) } #[doc = "Bit 14 - inv tsens clk"] #[inline(always)] - #[must_use] pub fn clk_inv(&mut self) -> CLK_INV_W { CLK_INV_W::new(self, 14) } #[doc = "Bit 15 - tsens clk select"] #[inline(always)] - #[must_use] pub fn clk_sel(&mut self) -> CLK_SEL_W { CLK_SEL_W::new(self, 15) } diff --git a/esp32h2/src/apb_saradc/tsens_sample.rs b/esp32h2/src/apb_saradc/tsens_sample.rs index 3747a7b686..4b859c95a9 100644 --- a/esp32h2/src/apb_saradc/tsens_sample.rs +++ b/esp32h2/src/apb_saradc/tsens_sample.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - HW sample rate"] #[inline(always)] - #[must_use] pub fn rate(&mut self) -> RATE_W { RATE_W::new(self, 0) } #[doc = "Bit 16 - HW sample en"] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 16) } diff --git a/esp32h2/src/apb_saradc/tsens_wake.rs b/esp32h2/src/apb_saradc/tsens_wake.rs index af3bdda9e3..c46ed5321c 100644 --- a/esp32h2/src/apb_saradc/tsens_wake.rs +++ b/esp32h2/src/apb_saradc/tsens_wake.rs @@ -62,25 +62,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - reg_wakeup_th_low"] #[inline(always)] - #[must_use] pub fn wakeup_th_low(&mut self) -> WAKEUP_TH_LOW_W { WAKEUP_TH_LOW_W::new(self, 0) } #[doc = "Bits 8:15 - reg_wakeup_th_high"] #[inline(always)] - #[must_use] pub fn wakeup_th_high(&mut self) -> WAKEUP_TH_HIGH_W { WAKEUP_TH_HIGH_W::new(self, 8) } #[doc = "Bit 17 - reg_wakeup_mode"] #[inline(always)] - #[must_use] pub fn wakeup_mode(&mut self) -> WAKEUP_MODE_W { WAKEUP_MODE_W::new(self, 17) } #[doc = "Bit 18 - reg_wakeup_en"] #[inline(always)] - #[must_use] pub fn wakeup_en(&mut self) -> WAKEUP_EN_W { WAKEUP_EN_W::new(self, 18) } diff --git a/esp32h2/src/assist_debug/clock_gate.rs b/esp32h2/src/assist_debug/clock_gate.rs index fff3c4abdc..9e22bb2d53 100644 --- a/esp32h2/src/assist_debug/clock_gate.rs +++ b/esp32h2/src/assist_debug/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 force on the clock gate"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32h2/src/assist_debug/core_0_area_dram0_0_max.rs b/esp32h2/src/assist_debug/core_0_area_dram0_0_max.rs index 3ab8a734bd..16dd89b99c 100644 --- a/esp32h2/src/assist_debug/core_0_area_dram0_0_max.rs +++ b/esp32h2/src/assist_debug/core_0_area_dram0_0_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core0 dram0 region0 end addr"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_max( &mut self, ) -> CORE_0_AREA_DRAM0_0_MAX_W { diff --git a/esp32h2/src/assist_debug/core_0_area_dram0_0_min.rs b/esp32h2/src/assist_debug/core_0_area_dram0_0_min.rs index 759d767566..c9de513bea 100644 --- a/esp32h2/src/assist_debug/core_0_area_dram0_0_min.rs +++ b/esp32h2/src/assist_debug/core_0_area_dram0_0_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core0 dram0 region0 start addr"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_min( &mut self, ) -> CORE_0_AREA_DRAM0_0_MIN_W { diff --git a/esp32h2/src/assist_debug/core_0_area_dram0_1_max.rs b/esp32h2/src/assist_debug/core_0_area_dram0_1_max.rs index 18d6fec0d8..1cd2b1757b 100644 --- a/esp32h2/src/assist_debug/core_0_area_dram0_1_max.rs +++ b/esp32h2/src/assist_debug/core_0_area_dram0_1_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core0 dram0 region1 end addr"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_max( &mut self, ) -> CORE_0_AREA_DRAM0_1_MAX_W { diff --git a/esp32h2/src/assist_debug/core_0_area_dram0_1_min.rs b/esp32h2/src/assist_debug/core_0_area_dram0_1_min.rs index 30e80919a6..a7a7e14eed 100644 --- a/esp32h2/src/assist_debug/core_0_area_dram0_1_min.rs +++ b/esp32h2/src/assist_debug/core_0_area_dram0_1_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core0 dram0 region1 start addr"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_min( &mut self, ) -> CORE_0_AREA_DRAM0_1_MIN_W { diff --git a/esp32h2/src/assist_debug/core_0_area_pif_0_max.rs b/esp32h2/src/assist_debug/core_0_area_pif_0_max.rs index 5bcdfb25f7..61602cca8c 100644 --- a/esp32h2/src/assist_debug/core_0_area_pif_0_max.rs +++ b/esp32h2/src/assist_debug/core_0_area_pif_0_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core0 PIF region0 end addr"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_max(&mut self) -> CORE_0_AREA_PIF_0_MAX_W { CORE_0_AREA_PIF_0_MAX_W::new(self, 0) } diff --git a/esp32h2/src/assist_debug/core_0_area_pif_0_min.rs b/esp32h2/src/assist_debug/core_0_area_pif_0_min.rs index f613bb8608..3ecdfc7ac3 100644 --- a/esp32h2/src/assist_debug/core_0_area_pif_0_min.rs +++ b/esp32h2/src/assist_debug/core_0_area_pif_0_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core0 PIF region0 start addr"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_min(&mut self) -> CORE_0_AREA_PIF_0_MIN_W { CORE_0_AREA_PIF_0_MIN_W::new(self, 0) } diff --git a/esp32h2/src/assist_debug/core_0_area_pif_1_max.rs b/esp32h2/src/assist_debug/core_0_area_pif_1_max.rs index 2da306da5d..16410a8f09 100644 --- a/esp32h2/src/assist_debug/core_0_area_pif_1_max.rs +++ b/esp32h2/src/assist_debug/core_0_area_pif_1_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core0 PIF region1 end addr"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_max(&mut self) -> CORE_0_AREA_PIF_1_MAX_W { CORE_0_AREA_PIF_1_MAX_W::new(self, 0) } diff --git a/esp32h2/src/assist_debug/core_0_area_pif_1_min.rs b/esp32h2/src/assist_debug/core_0_area_pif_1_min.rs index fd5cb131f7..1a8d405597 100644 --- a/esp32h2/src/assist_debug/core_0_area_pif_1_min.rs +++ b/esp32h2/src/assist_debug/core_0_area_pif_1_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core0 PIF region1 start addr"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_min(&mut self) -> CORE_0_AREA_PIF_1_MIN_W { CORE_0_AREA_PIF_1_MIN_W::new(self, 0) } diff --git a/esp32h2/src/assist_debug/core_0_intr_clr.rs b/esp32h2/src/assist_debug/core_0_intr_clr.rs index 47a0466f4b..f4a5b202dd 100644 --- a/esp32h2/src/assist_debug/core_0_intr_clr.rs +++ b/esp32h2/src/assist_debug/core_0_intr_clr.rs @@ -33,7 +33,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Core0 dram0 area0 read monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_rd_clr( &mut self, ) -> CORE_0_AREA_DRAM0_0_RD_CLR_W { @@ -41,7 +40,6 @@ impl W { } #[doc = "Bit 1 - Core0 dram0 area0 write monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_wr_clr( &mut self, ) -> CORE_0_AREA_DRAM0_0_WR_CLR_W { @@ -49,7 +47,6 @@ impl W { } #[doc = "Bit 2 - Core0 dram0 area1 read monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_rd_clr( &mut self, ) -> CORE_0_AREA_DRAM0_1_RD_CLR_W { @@ -57,7 +54,6 @@ impl W { } #[doc = "Bit 3 - Core0 dram0 area1 write monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_wr_clr( &mut self, ) -> CORE_0_AREA_DRAM0_1_WR_CLR_W { @@ -65,43 +61,36 @@ impl W { } #[doc = "Bit 4 - Core0 PIF area0 read monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_rd_clr(&mut self) -> CORE_0_AREA_PIF_0_RD_CLR_W { CORE_0_AREA_PIF_0_RD_CLR_W::new(self, 4) } #[doc = "Bit 5 - Core0 PIF area0 write monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_wr_clr(&mut self) -> CORE_0_AREA_PIF_0_WR_CLR_W { CORE_0_AREA_PIF_0_WR_CLR_W::new(self, 5) } #[doc = "Bit 6 - Core0 PIF area1 read monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_rd_clr(&mut self) -> CORE_0_AREA_PIF_1_RD_CLR_W { CORE_0_AREA_PIF_1_RD_CLR_W::new(self, 6) } #[doc = "Bit 7 - Core0 PIF area1 write monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_wr_clr(&mut self) -> CORE_0_AREA_PIF_1_WR_CLR_W { CORE_0_AREA_PIF_1_WR_CLR_W::new(self, 7) } #[doc = "Bit 8 - Core0 stackpoint underflow monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_sp_spill_min_clr(&mut self) -> CORE_0_SP_SPILL_MIN_CLR_W { CORE_0_SP_SPILL_MIN_CLR_W::new(self, 8) } #[doc = "Bit 9 - Core0 stackpoint overflow monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_sp_spill_max_clr(&mut self) -> CORE_0_SP_SPILL_MAX_CLR_W { CORE_0_SP_SPILL_MAX_CLR_W::new(self, 9) } #[doc = "Bit 10 - IBUS busy monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_iram0_exception_monitor_clr( &mut self, ) -> CORE_0_IRAM0_EXCEPTION_MONITOR_CLR_W { @@ -109,7 +98,6 @@ impl W { } #[doc = "Bit 11 - DBUS busy monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_dram0_exception_monitor_clr( &mut self, ) -> CORE_0_DRAM0_EXCEPTION_MONITOR_CLR_W { diff --git a/esp32h2/src/assist_debug/core_0_intr_ena.rs b/esp32h2/src/assist_debug/core_0_intr_ena.rs index 08996fc20b..e5710b9824 100644 --- a/esp32h2/src/assist_debug/core_0_intr_ena.rs +++ b/esp32h2/src/assist_debug/core_0_intr_ena.rs @@ -174,7 +174,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Core0 dram0 area0 read monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_rd_intr_ena( &mut self, ) -> CORE_0_AREA_DRAM0_0_RD_INTR_ENA_W { @@ -182,7 +181,6 @@ impl W { } #[doc = "Bit 1 - Core0 dram0 area0 write monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_wr_intr_ena( &mut self, ) -> CORE_0_AREA_DRAM0_0_WR_INTR_ENA_W { @@ -190,7 +188,6 @@ impl W { } #[doc = "Bit 2 - Core0 dram0 area1 read monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_rd_intr_ena( &mut self, ) -> CORE_0_AREA_DRAM0_1_RD_INTR_ENA_W { @@ -198,7 +195,6 @@ impl W { } #[doc = "Bit 3 - Core0 dram0 area1 write monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_wr_intr_ena( &mut self, ) -> CORE_0_AREA_DRAM0_1_WR_INTR_ENA_W { @@ -206,7 +202,6 @@ impl W { } #[doc = "Bit 4 - Core0 PIF area0 read monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_rd_intr_ena( &mut self, ) -> CORE_0_AREA_PIF_0_RD_INTR_ENA_W { @@ -214,7 +209,6 @@ impl W { } #[doc = "Bit 5 - Core0 PIF area0 write monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_wr_intr_ena( &mut self, ) -> CORE_0_AREA_PIF_0_WR_INTR_ENA_W { @@ -222,7 +216,6 @@ impl W { } #[doc = "Bit 6 - Core0 PIF area1 read monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_rd_intr_ena( &mut self, ) -> CORE_0_AREA_PIF_1_RD_INTR_ENA_W { @@ -230,7 +223,6 @@ impl W { } #[doc = "Bit 7 - Core0 PIF area1 write monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_wr_intr_ena( &mut self, ) -> CORE_0_AREA_PIF_1_WR_INTR_ENA_W { @@ -238,7 +230,6 @@ impl W { } #[doc = "Bit 8 - Core0 stackpoint underflow monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_sp_spill_min_intr_ena( &mut self, ) -> CORE_0_SP_SPILL_MIN_INTR_ENA_W { @@ -246,7 +237,6 @@ impl W { } #[doc = "Bit 9 - Core0 stackpoint overflow monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_sp_spill_max_intr_ena( &mut self, ) -> CORE_0_SP_SPILL_MAX_INTR_ENA_W { @@ -254,7 +244,6 @@ impl W { } #[doc = "Bit 10 - IBUS busy monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_iram0_exception_monitor_intr_ena( &mut self, ) -> CORE_0_IRAM0_EXCEPTION_MONITOR_INTR_ENA_W { @@ -262,7 +251,6 @@ impl W { } #[doc = "Bit 11 - DBUS busy monitor interrupt enbale"] #[inline(always)] - #[must_use] pub fn core_0_dram0_exception_monitor_intr_ena( &mut self, ) -> CORE_0_DRAM0_EXCEPTION_MONITOR_INTR_ENA_W { diff --git a/esp32h2/src/assist_debug/core_0_montr_ena.rs b/esp32h2/src/assist_debug/core_0_montr_ena.rs index 46ae3bf9ad..43cef90287 100644 --- a/esp32h2/src/assist_debug/core_0_montr_ena.rs +++ b/esp32h2/src/assist_debug/core_0_montr_ena.rs @@ -152,7 +152,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Core0 dram0 area0 read monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_rd_ena( &mut self, ) -> CORE_0_AREA_DRAM0_0_RD_ENA_W { @@ -160,7 +159,6 @@ impl W { } #[doc = "Bit 1 - Core0 dram0 area0 write monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_wr_ena( &mut self, ) -> CORE_0_AREA_DRAM0_0_WR_ENA_W { @@ -168,7 +166,6 @@ impl W { } #[doc = "Bit 2 - Core0 dram0 area1 read monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_rd_ena( &mut self, ) -> CORE_0_AREA_DRAM0_1_RD_ENA_W { @@ -176,7 +173,6 @@ impl W { } #[doc = "Bit 3 - Core0 dram0 area1 write monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_wr_ena( &mut self, ) -> CORE_0_AREA_DRAM0_1_WR_ENA_W { @@ -184,7 +180,6 @@ impl W { } #[doc = "Bit 4 - Core0 PIF area0 read monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_rd_ena( &mut self, ) -> CORE_0_AREA_PIF_0_RD_ENA_W { @@ -192,7 +187,6 @@ impl W { } #[doc = "Bit 5 - Core0 PIF area0 write monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_wr_ena( &mut self, ) -> CORE_0_AREA_PIF_0_WR_ENA_W { @@ -200,7 +194,6 @@ impl W { } #[doc = "Bit 6 - Core0 PIF area1 read monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_rd_ena( &mut self, ) -> CORE_0_AREA_PIF_1_RD_ENA_W { @@ -208,7 +201,6 @@ impl W { } #[doc = "Bit 7 - Core0 PIF area1 write monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_wr_ena( &mut self, ) -> CORE_0_AREA_PIF_1_WR_ENA_W { @@ -216,19 +208,16 @@ impl W { } #[doc = "Bit 8 - Core0 stackpoint underflow monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_sp_spill_min_ena(&mut self) -> CORE_0_SP_SPILL_MIN_ENA_W { CORE_0_SP_SPILL_MIN_ENA_W::new(self, 8) } #[doc = "Bit 9 - Core0 stackpoint overflow monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_sp_spill_max_ena(&mut self) -> CORE_0_SP_SPILL_MAX_ENA_W { CORE_0_SP_SPILL_MAX_ENA_W::new(self, 9) } #[doc = "Bit 10 - IBUS busy monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_iram0_exception_monitor_ena( &mut self, ) -> CORE_0_IRAM0_EXCEPTION_MONITOR_ENA_W { @@ -236,7 +225,6 @@ impl W { } #[doc = "Bit 11 - DBUS busy monitor enbale"] #[inline(always)] - #[must_use] pub fn core_0_dram0_exception_monitor_ena( &mut self, ) -> CORE_0_DRAM0_EXCEPTION_MONITOR_ENA_W { diff --git a/esp32h2/src/assist_debug/core_0_rcd_en.rs b/esp32h2/src/assist_debug/core_0_rcd_en.rs index 61590ff866..6612dc98db 100644 --- a/esp32h2/src/assist_debug/core_0_rcd_en.rs +++ b/esp32h2/src/assist_debug/core_0_rcd_en.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable record PC"] #[inline(always)] - #[must_use] pub fn core_0_rcd_recorden(&mut self) -> CORE_0_RCD_RECORDEN_W { CORE_0_RCD_RECORDEN_W::new(self, 0) } #[doc = "Bit 1 - Set 1 to enable cpu pdebug function, must set this bit can get cpu PC"] #[inline(always)] - #[must_use] pub fn core_0_rcd_pdebugen(&mut self) -> CORE_0_RCD_PDEBUGEN_W { CORE_0_RCD_PDEBUGEN_W::new(self, 1) } diff --git a/esp32h2/src/assist_debug/core_0_sp_max.rs b/esp32h2/src/assist_debug/core_0_sp_max.rs index 229e1bff17..4b3727dabe 100644 --- a/esp32h2/src/assist_debug/core_0_sp_max.rs +++ b/esp32h2/src/assist_debug/core_0_sp_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - core0 sp pc status register"] #[inline(always)] - #[must_use] pub fn core_0_sp_max(&mut self) -> CORE_0_SP_MAX_W { CORE_0_SP_MAX_W::new(self, 0) } diff --git a/esp32h2/src/assist_debug/core_0_sp_min.rs b/esp32h2/src/assist_debug/core_0_sp_min.rs index f14c3ad2ea..62f1baddbf 100644 --- a/esp32h2/src/assist_debug/core_0_sp_min.rs +++ b/esp32h2/src/assist_debug/core_0_sp_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - core0 sp region configuration regsiter"] #[inline(always)] - #[must_use] pub fn core_0_sp_min(&mut self) -> CORE_0_SP_MIN_W { CORE_0_SP_MIN_W::new(self, 0) } diff --git a/esp32h2/src/assist_debug/core_x_iram0_dram0_exception_monitor_0.rs b/esp32h2/src/assist_debug/core_x_iram0_dram0_exception_monitor_0.rs index 55d079e564..261c5b2d8f 100644 --- a/esp32h2/src/assist_debug/core_x_iram0_dram0_exception_monitor_0.rs +++ b/esp32h2/src/assist_debug/core_x_iram0_dram0_exception_monitor_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - reg_core_x_iram0_dram0_limit_cycle_0"] #[inline(always)] - #[must_use] pub fn core_x_iram0_dram0_limit_cycle_0( &mut self, ) -> CORE_X_IRAM0_DRAM0_LIMIT_CYCLE_0_W { diff --git a/esp32h2/src/assist_debug/core_x_iram0_dram0_exception_monitor_1.rs b/esp32h2/src/assist_debug/core_x_iram0_dram0_exception_monitor_1.rs index 60024cdb55..b25ebbd5e1 100644 --- a/esp32h2/src/assist_debug/core_x_iram0_dram0_exception_monitor_1.rs +++ b/esp32h2/src/assist_debug/core_x_iram0_dram0_exception_monitor_1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - reg_core_x_iram0_dram0_limit_cycle_1"] #[inline(always)] - #[must_use] pub fn core_x_iram0_dram0_limit_cycle_1( &mut self, ) -> CORE_X_IRAM0_DRAM0_LIMIT_CYCLE_1_W { diff --git a/esp32h2/src/assist_debug/date.rs b/esp32h2/src/assist_debug/date.rs index 5014c9e863..c1b1c467f9 100644 --- a/esp32h2/src/assist_debug/date.rs +++ b/esp32h2/src/assist_debug/date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - version register"] #[inline(always)] - #[must_use] pub fn assist_debug_date(&mut self) -> ASSIST_DEBUG_DATE_W { ASSIST_DEBUG_DATE_W::new(self, 0) } diff --git a/esp32h2/src/dma/ahb_test.rs b/esp32h2/src/dma/ahb_test.rs index aed39b9b4b..267c4d1c67 100644 --- a/esp32h2/src/dma/ahb_test.rs +++ b/esp32h2/src/dma/ahb_test.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - reserved"] #[inline(always)] - #[must_use] pub fn ahb_testmode(&mut self) -> AHB_TESTMODE_W { AHB_TESTMODE_W::new(self, 0) } #[doc = "Bits 4:5 - reserved"] #[inline(always)] - #[must_use] pub fn ahb_testaddr(&mut self) -> AHB_TESTADDR_W { AHB_TESTADDR_W::new(self, 4) } diff --git a/esp32h2/src/dma/ch/in_conf0.rs b/esp32h2/src/dma/ch/in_conf0.rs index 157b38fc1c..067c6f2a42 100644 --- a/esp32h2/src/dma/ch/in_conf0.rs +++ b/esp32h2/src/dma/ch/in_conf0.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to reset DMA channel 0 Rx FSM and Rx FIFO pointer."] #[inline(always)] - #[must_use] pub fn in_rst(&mut self) -> IN_RST_W { IN_RST_W::new(self, 0) } #[doc = "Bit 1 - reserved"] #[inline(always)] - #[must_use] pub fn in_loop_test(&mut self) -> IN_LOOP_TEST_W { IN_LOOP_TEST_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to 1 to enable INCR burst transfer for Rx channel 0 reading link descriptor when accessing internal SRAM."] #[inline(always)] - #[must_use] pub fn indscr_burst_en(&mut self) -> INDSCR_BURST_EN_W { INDSCR_BURST_EN_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to 1 to enable INCR burst transfer for Rx channel 0 receiving data when accessing internal SRAM."] #[inline(always)] - #[must_use] pub fn in_data_burst_en(&mut self) -> IN_DATA_BURST_EN_W { IN_DATA_BURST_EN_W::new(self, 3) } #[doc = "Bit 4 - Set this bit 1 to enable automatic transmitting data from memory to memory via DMA."] #[inline(always)] - #[must_use] pub fn mem_trans_en(&mut self) -> MEM_TRANS_EN_W { MEM_TRANS_EN_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to 1 to enable etm control mode, dma Rx channel 0 is triggered by etm task."] #[inline(always)] - #[must_use] pub fn in_etm_en(&mut self) -> IN_ETM_EN_W { IN_ETM_EN_W::new(self, 5) } diff --git a/esp32h2/src/dma/ch/in_conf1.rs b/esp32h2/src/dma/ch/in_conf1.rs index 980d973178..2eba44f9f0 100644 --- a/esp32h2/src/dma/ch/in_conf1.rs +++ b/esp32h2/src/dma/ch/in_conf1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - Set this bit to enable checking the owner attribute of the link descriptor."] #[inline(always)] - #[must_use] pub fn in_check_owner(&mut self) -> IN_CHECK_OWNER_W { IN_CHECK_OWNER_W::new(self, 12) } diff --git a/esp32h2/src/dma/ch/in_link.rs b/esp32h2/src/dma/ch/in_link.rs index 12fbfdc89e..dfb89aa855 100644 --- a/esp32h2/src/dma/ch/in_link.rs +++ b/esp32h2/src/dma/ch/in_link.rs @@ -48,31 +48,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - This register stores the 20 least significant bits of the first inlink descriptor's address."] #[inline(always)] - #[must_use] pub fn inlink_addr(&mut self) -> INLINK_ADDR_W { INLINK_ADDR_W::new(self, 0) } #[doc = "Bit 20 - Set this bit to return to current inlink descriptor's address when there are some errors in current receiving data."] #[inline(always)] - #[must_use] pub fn inlink_auto_ret(&mut self) -> INLINK_AUTO_RET_W { INLINK_AUTO_RET_W::new(self, 20) } #[doc = "Bit 21 - Set this bit to stop dealing with the inlink descriptors."] #[inline(always)] - #[must_use] pub fn inlink_stop(&mut self) -> INLINK_STOP_W { INLINK_STOP_W::new(self, 21) } #[doc = "Bit 22 - Set this bit to start dealing with the inlink descriptors."] #[inline(always)] - #[must_use] pub fn inlink_start(&mut self) -> INLINK_START_W { INLINK_START_W::new(self, 22) } #[doc = "Bit 23 - Set this bit to mount a new inlink descriptor."] #[inline(always)] - #[must_use] pub fn inlink_restart(&mut self) -> INLINK_RESTART_W { INLINK_RESTART_W::new(self, 23) } diff --git a/esp32h2/src/dma/ch/in_peri_sel.rs b/esp32h2/src/dma/ch/in_peri_sel.rs index b3cd206d3f..546c2c0414 100644 --- a/esp32h2/src/dma/ch/in_peri_sel.rs +++ b/esp32h2/src/dma/ch/in_peri_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - This register is used to select peripheral for Rx channel 0. 0:SPI2. 1: Dummy. 2: UHCI0. 3: I2S0. 4: Dummy. 5: Dummy. 6: AES. 7: SHA. 8: ADC_DAC. 9: Parallel_IO. 10~15: Dummy"] #[inline(always)] - #[must_use] pub fn peri_in_sel(&mut self) -> PERI_IN_SEL_W { PERI_IN_SEL_W::new(self, 0) } diff --git a/esp32h2/src/dma/ch/in_pop.rs b/esp32h2/src/dma/ch/in_pop.rs index 827a97687f..a7aeb9bf42 100644 --- a/esp32h2/src/dma/ch/in_pop.rs +++ b/esp32h2/src/dma/ch/in_pop.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - Set this bit to pop data from DMA FIFO."] #[inline(always)] - #[must_use] pub fn infifo_pop(&mut self) -> INFIFO_POP_W { INFIFO_POP_W::new(self, 12) } diff --git a/esp32h2/src/dma/ch/in_pri.rs b/esp32h2/src/dma/ch/in_pri.rs index e252b476ee..3a4c4e9b0e 100644 --- a/esp32h2/src/dma/ch/in_pri.rs +++ b/esp32h2/src/dma/ch/in_pri.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - The priority of Rx channel 0. The larger of the value the higher of the priority."] #[inline(always)] - #[must_use] pub fn rx_pri(&mut self) -> RX_PRI_W { RX_PRI_W::new(self, 0) } diff --git a/esp32h2/src/dma/ch/out_conf0.rs b/esp32h2/src/dma/ch/out_conf0.rs index 92064100d9..9723cdb1ad 100644 --- a/esp32h2/src/dma/ch/out_conf0.rs +++ b/esp32h2/src/dma/ch/out_conf0.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to reset DMA channel 1 Tx FSM and Tx FIFO pointer."] #[inline(always)] - #[must_use] pub fn out_rst(&mut self) -> OUT_RST_W { OUT_RST_W::new(self, 0) } #[doc = "Bit 1 - reserved"] #[inline(always)] - #[must_use] pub fn out_loop_test(&mut self) -> OUT_LOOP_TEST_W { OUT_LOOP_TEST_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to enable automatic outlink-writeback when all the data in tx buffer has been transmitted."] #[inline(always)] - #[must_use] pub fn out_auto_wrback(&mut self) -> OUT_AUTO_WRBACK_W { OUT_AUTO_WRBACK_W::new(self, 2) } #[doc = "Bit 3 - EOF flag generation mode when transmitting data. 1: EOF flag for Tx channel 1 is generated when data need to transmit has been popped from FIFO in DMA"] #[inline(always)] - #[must_use] pub fn out_eof_mode(&mut self) -> OUT_EOF_MODE_W { OUT_EOF_MODE_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to 1 to enable INCR burst transfer for Tx channel 1 reading link descriptor when accessing internal SRAM."] #[inline(always)] - #[must_use] pub fn outdscr_burst_en(&mut self) -> OUTDSCR_BURST_EN_W { OUTDSCR_BURST_EN_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to 1 to enable INCR burst transfer for Tx channel 1 transmitting data when accessing internal SRAM."] #[inline(always)] - #[must_use] pub fn out_data_burst_en(&mut self) -> OUT_DATA_BURST_EN_W { OUT_DATA_BURST_EN_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to 1 to enable etm control mode, dma Tx channel 1 is triggered by etm task."] #[inline(always)] - #[must_use] pub fn out_etm_en(&mut self) -> OUT_ETM_EN_W { OUT_ETM_EN_W::new(self, 6) } diff --git a/esp32h2/src/dma/ch/out_conf1.rs b/esp32h2/src/dma/ch/out_conf1.rs index 4ae784e662..b31fcd2a8a 100644 --- a/esp32h2/src/dma/ch/out_conf1.rs +++ b/esp32h2/src/dma/ch/out_conf1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - Set this bit to enable checking the owner attribute of the link descriptor."] #[inline(always)] - #[must_use] pub fn out_check_owner(&mut self) -> OUT_CHECK_OWNER_W { OUT_CHECK_OWNER_W::new(self, 12) } diff --git a/esp32h2/src/dma/ch/out_link.rs b/esp32h2/src/dma/ch/out_link.rs index 935e456d4a..e02e37934b 100644 --- a/esp32h2/src/dma/ch/out_link.rs +++ b/esp32h2/src/dma/ch/out_link.rs @@ -38,25 +38,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - This register stores the 20 least significant bits of the first outlink descriptor's address."] #[inline(always)] - #[must_use] pub fn outlink_addr(&mut self) -> OUTLINK_ADDR_W { OUTLINK_ADDR_W::new(self, 0) } #[doc = "Bit 20 - Set this bit to stop dealing with the outlink descriptors."] #[inline(always)] - #[must_use] pub fn outlink_stop(&mut self) -> OUTLINK_STOP_W { OUTLINK_STOP_W::new(self, 20) } #[doc = "Bit 21 - Set this bit to start dealing with the outlink descriptors."] #[inline(always)] - #[must_use] pub fn outlink_start(&mut self) -> OUTLINK_START_W { OUTLINK_START_W::new(self, 21) } #[doc = "Bit 22 - Set this bit to restart a new outlink from the last address."] #[inline(always)] - #[must_use] pub fn outlink_restart(&mut self) -> OUTLINK_RESTART_W { OUTLINK_RESTART_W::new(self, 22) } diff --git a/esp32h2/src/dma/ch/out_peri_sel.rs b/esp32h2/src/dma/ch/out_peri_sel.rs index 182edc0d72..a9b356c983 100644 --- a/esp32h2/src/dma/ch/out_peri_sel.rs +++ b/esp32h2/src/dma/ch/out_peri_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - This register is used to select peripheral for Tx channel 0. 0:SPI2. 1: Dummy. 2: UHCI0. 3: I2S0. 4: Dummy. 5: Dummy. 6: AES. 7: SHA. 8: ADC_DAC. 9: Parallel_IO. 10~15: Dummy"] #[inline(always)] - #[must_use] pub fn peri_out_sel(&mut self) -> PERI_OUT_SEL_W { PERI_OUT_SEL_W::new(self, 0) } diff --git a/esp32h2/src/dma/ch/out_pri.rs b/esp32h2/src/dma/ch/out_pri.rs index fd677264cd..82f1e2dae6 100644 --- a/esp32h2/src/dma/ch/out_pri.rs +++ b/esp32h2/src/dma/ch/out_pri.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - The priority of Tx channel 0. The larger of the value the higher of the priority."] #[inline(always)] - #[must_use] pub fn tx_pri(&mut self) -> TX_PRI_W { TX_PRI_W::new(self, 0) } diff --git a/esp32h2/src/dma/ch/out_push.rs b/esp32h2/src/dma/ch/out_push.rs index 6c15efbe79..f9e965042a 100644 --- a/esp32h2/src/dma/ch/out_push.rs +++ b/esp32h2/src/dma/ch/out_push.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register stores the data that need to be pushed into DMA FIFO."] #[inline(always)] - #[must_use] pub fn outfifo_wdata(&mut self) -> OUTFIFO_WDATA_W { OUTFIFO_WDATA_W::new(self, 0) } #[doc = "Bit 9 - Set this bit to push data into DMA FIFO."] #[inline(always)] - #[must_use] pub fn outfifo_push(&mut self) -> OUTFIFO_PUSH_W { OUTFIFO_PUSH_W::new(self, 9) } diff --git a/esp32h2/src/dma/date.rs b/esp32h2/src/dma/date.rs index 4480973b43..8a9cb2a685 100644 --- a/esp32h2/src/dma/date.rs +++ b/esp32h2/src/dma/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - register version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32h2/src/dma/in_int_ch/clr.rs b/esp32h2/src/dma/in_int_ch/clr.rs index 84e75710aa..604b22121d 100644 --- a/esp32h2/src/dma/in_int_ch/clr.rs +++ b/esp32h2/src/dma/in_int_ch/clr.rs @@ -23,43 +23,36 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the IN_DONE_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_done(&mut self) -> IN_DONE_W { IN_DONE_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the IN_SUC_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_suc_eof(&mut self) -> IN_SUC_EOF_W { IN_SUC_EOF_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the IN_ERR_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_err_eof(&mut self) -> IN_ERR_EOF_W { IN_ERR_EOF_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the IN_DSCR_ERR_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_err(&mut self) -> IN_DSCR_ERR_W { IN_DSCR_ERR_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear the IN_DSCR_EMPTY_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_empty(&mut self) -> IN_DSCR_EMPTY_W { IN_DSCR_EMPTY_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the INFIFO_OVF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_ovf(&mut self) -> INFIFO_OVF_W { INFIFO_OVF_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the INFIFO_UDF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_udf(&mut self) -> INFIFO_UDF_W { INFIFO_UDF_W::new(self, 6) } diff --git a/esp32h2/src/dma/in_int_ch/ena.rs b/esp32h2/src/dma/in_int_ch/ena.rs index cd04232062..3fc3795689 100644 --- a/esp32h2/src/dma/in_int_ch/ena.rs +++ b/esp32h2/src/dma/in_int_ch/ena.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for the IN_DONE_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_done(&mut self) -> IN_DONE_W { IN_DONE_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the IN_SUC_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_suc_eof(&mut self) -> IN_SUC_EOF_W { IN_SUC_EOF_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the IN_ERR_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_err_eof(&mut self) -> IN_ERR_EOF_W { IN_ERR_EOF_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the IN_DSCR_ERR_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_err(&mut self) -> IN_DSCR_ERR_W { IN_DSCR_ERR_W::new(self, 3) } #[doc = "Bit 4 - The interrupt enable bit for the IN_DSCR_EMPTY_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_empty(&mut self) -> IN_DSCR_EMPTY_W { IN_DSCR_EMPTY_W::new(self, 4) } #[doc = "Bit 5 - The interrupt enable bit for the INFIFO_OVF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_ovf(&mut self) -> INFIFO_OVF_W { INFIFO_OVF_W::new(self, 5) } #[doc = "Bit 6 - The interrupt enable bit for the INFIFO_UDF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_udf(&mut self) -> INFIFO_UDF_W { INFIFO_UDF_W::new(self, 6) } diff --git a/esp32h2/src/dma/in_int_ch/raw.rs b/esp32h2/src/dma/in_int_ch/raw.rs index 82c8f787ff..02fbabe1c2 100644 --- a/esp32h2/src/dma/in_int_ch/raw.rs +++ b/esp32h2/src/dma/in_int_ch/raw.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw interrupt bit turns to high level when the last data pointed by one inlink descriptor has been received for Rx channel 0."] #[inline(always)] - #[must_use] pub fn in_done(&mut self) -> IN_DONE_W { IN_DONE_W::new(self, 0) } #[doc = "Bit 1 - The raw interrupt bit turns to high level when the last data pointed by one inlink descriptor has been received for Rx channel 0. For UHCI0 the raw interrupt bit turns to high level when the last data pointed by one inlink descriptor has been received and no data error is detected for Rx channel 0."] #[inline(always)] - #[must_use] pub fn in_suc_eof(&mut self) -> IN_SUC_EOF_W { IN_SUC_EOF_W::new(self, 1) } #[doc = "Bit 2 - The raw interrupt bit turns to high level when data error is detected only in the case that the peripheral is UHCI0 for Rx channel 0. For other peripherals this raw interrupt is reserved."] #[inline(always)] - #[must_use] pub fn in_err_eof(&mut self) -> IN_ERR_EOF_W { IN_ERR_EOF_W::new(self, 2) } #[doc = "Bit 3 - The raw interrupt bit turns to high level when detecting inlink descriptor error including owner error and the second and third word error of inlink descriptor for Rx channel 0."] #[inline(always)] - #[must_use] pub fn in_dscr_err(&mut self) -> IN_DSCR_ERR_W { IN_DSCR_ERR_W::new(self, 3) } #[doc = "Bit 4 - The raw interrupt bit turns to high level when Rx buffer pointed by inlink is full and receiving data is not completed but there is no more inlink for Rx channel 0."] #[inline(always)] - #[must_use] pub fn in_dscr_empty(&mut self) -> IN_DSCR_EMPTY_W { IN_DSCR_EMPTY_W::new(self, 4) } #[doc = "Bit 5 - This raw interrupt bit turns to high level when level 1 fifo of Rx channel 0 is overflow."] #[inline(always)] - #[must_use] pub fn infifo_ovf(&mut self) -> INFIFO_OVF_W { INFIFO_OVF_W::new(self, 5) } #[doc = "Bit 6 - This raw interrupt bit turns to high level when level 1 fifo of Rx channel 0 is underflow."] #[inline(always)] - #[must_use] pub fn infifo_udf(&mut self) -> INFIFO_UDF_W { INFIFO_UDF_W::new(self, 6) } diff --git a/esp32h2/src/dma/misc_conf.rs b/esp32h2/src/dma/misc_conf.rs index e993343a4d..4dc31351a7 100644 --- a/esp32h2/src/dma/misc_conf.rs +++ b/esp32h2/src/dma/misc_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit then clear this bit to reset the internal ahb FSM."] #[inline(always)] - #[must_use] pub fn ahbm_rst_inter(&mut self) -> AHBM_RST_INTER_W { AHBM_RST_INTER_W::new(self, 0) } #[doc = "Bit 2 - Set this bit to disable priority arbitration function."] #[inline(always)] - #[must_use] pub fn arb_pri_dis(&mut self) -> ARB_PRI_DIS_W { ARB_PRI_DIS_W::new(self, 2) } #[doc = "Bit 3 - 1'h1: Force clock on for register. 1'h0: Support clock only when application writes registers."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 3) } diff --git a/esp32h2/src/dma/out_int_ch/clr.rs b/esp32h2/src/dma/out_int_ch/clr.rs index 79f96bd63a..c2986c0293 100644 --- a/esp32h2/src/dma/out_int_ch/clr.rs +++ b/esp32h2/src/dma/out_int_ch/clr.rs @@ -21,37 +21,31 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the OUT_DONE_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_done(&mut self) -> OUT_DONE_W { OUT_DONE_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the OUT_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the OUT_DSCR_ERR_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_dscr_err(&mut self) -> OUT_DSCR_ERR_W { OUT_DSCR_ERR_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the OUT_TOTAL_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_total_eof(&mut self) -> OUT_TOTAL_EOF_W { OUT_TOTAL_EOF_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear the OUTFIFO_OVF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_ovf(&mut self) -> OUTFIFO_OVF_W { OUTFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the OUTFIFO_UDF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_udf(&mut self) -> OUTFIFO_UDF_W { OUTFIFO_UDF_W::new(self, 5) } diff --git a/esp32h2/src/dma/out_int_ch/ena.rs b/esp32h2/src/dma/out_int_ch/ena.rs index e5bc27a175..849c884f83 100644 --- a/esp32h2/src/dma/out_int_ch/ena.rs +++ b/esp32h2/src/dma/out_int_ch/ena.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for the OUT_DONE_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_done(&mut self) -> OUT_DONE_W { OUT_DONE_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the OUT_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the OUT_DSCR_ERR_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_dscr_err(&mut self) -> OUT_DSCR_ERR_W { OUT_DSCR_ERR_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the OUT_TOTAL_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_total_eof(&mut self) -> OUT_TOTAL_EOF_W { OUT_TOTAL_EOF_W::new(self, 3) } #[doc = "Bit 4 - The interrupt enable bit for the OUTFIFO_OVF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_ovf(&mut self) -> OUTFIFO_OVF_W { OUTFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - The interrupt enable bit for the OUTFIFO_UDF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_udf(&mut self) -> OUTFIFO_UDF_W { OUTFIFO_UDF_W::new(self, 5) } diff --git a/esp32h2/src/dma/out_int_ch/raw.rs b/esp32h2/src/dma/out_int_ch/raw.rs index b2cff491e5..86075ec146 100644 --- a/esp32h2/src/dma/out_int_ch/raw.rs +++ b/esp32h2/src/dma/out_int_ch/raw.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw interrupt bit turns to high level when the last data pointed by one outlink descriptor has been transmitted to peripherals for Tx channel 0."] #[inline(always)] - #[must_use] pub fn out_done(&mut self) -> OUT_DONE_W { OUT_DONE_W::new(self, 0) } #[doc = "Bit 1 - The raw interrupt bit turns to high level when the last data pointed by one outlink descriptor has been read from memory for Tx channel 0."] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 1) } #[doc = "Bit 2 - The raw interrupt bit turns to high level when detecting outlink descriptor error including owner error and the second and third word error of outlink descriptor for Tx channel 0."] #[inline(always)] - #[must_use] pub fn out_dscr_err(&mut self) -> OUT_DSCR_ERR_W { OUT_DSCR_ERR_W::new(self, 2) } #[doc = "Bit 3 - The raw interrupt bit turns to high level when data corresponding a outlink (includes one link descriptor or few link descriptors) is transmitted out for Tx channel 0."] #[inline(always)] - #[must_use] pub fn out_total_eof(&mut self) -> OUT_TOTAL_EOF_W { OUT_TOTAL_EOF_W::new(self, 3) } #[doc = "Bit 4 - This raw interrupt bit turns to high level when level 1 fifo of Tx channel 0 is overflow."] #[inline(always)] - #[must_use] pub fn outfifo_ovf(&mut self) -> OUTFIFO_OVF_W { OUTFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - This raw interrupt bit turns to high level when level 1 fifo of Tx channel 0 is underflow."] #[inline(always)] - #[must_use] pub fn outfifo_udf(&mut self) -> OUTFIFO_UDF_W { OUTFIFO_UDF_W::new(self, 5) } diff --git a/esp32h2/src/ds/date.rs b/esp32h2/src/ds/date.rs index fef4af5a01..c35aee2471 100644 --- a/esp32h2/src/ds/date.rs +++ b/esp32h2/src/ds/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - ds version information"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32h2/src/ds/set_continue.rs b/esp32h2/src/ds/set_continue.rs index cf65971fe3..5bf5bf256b 100644 --- a/esp32h2/src/ds/set_continue.rs +++ b/esp32h2/src/ds/set_continue.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - set this bit to continue DS operation."] #[inline(always)] - #[must_use] pub fn set_continue(&mut self) -> SET_CONTINUE_W { SET_CONTINUE_W::new(self, 0) } diff --git a/esp32h2/src/ds/set_finish.rs b/esp32h2/src/ds/set_finish.rs index ea31ff7915..5dcdea9961 100644 --- a/esp32h2/src/ds/set_finish.rs +++ b/esp32h2/src/ds/set_finish.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to finish DS process."] #[inline(always)] - #[must_use] pub fn set_finish(&mut self) -> SET_FINISH_W { SET_FINISH_W::new(self, 0) } diff --git a/esp32h2/src/ds/set_start.rs b/esp32h2/src/ds/set_start.rs index f49f2fb4de..6be02528a5 100644 --- a/esp32h2/src/ds/set_start.rs +++ b/esp32h2/src/ds/set_start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - set this bit to start DS operation."] #[inline(always)] - #[must_use] pub fn set_start(&mut self) -> SET_START_W { SET_START_W::new(self, 0) } diff --git a/esp32h2/src/ecc/mult_conf.rs b/esp32h2/src/ecc/mult_conf.rs index 1256b771f6..f4d757dd0e 100644 --- a/esp32h2/src/ecc/mult_conf.rs +++ b/esp32h2/src/ecc/mult_conf.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Write 1 to start caculation of ECC Accelerator. This bit will be self-cleared after the caculatrion is done."] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 0) } #[doc = "Bit 1 - Write 1 to reset ECC Accelerator."] #[inline(always)] - #[must_use] pub fn reset(&mut self) -> RESET_W { RESET_W::new(self, 1) } #[doc = "Bit 2 - The key length mode bit of ECC Accelerator. 0: P-192. 1: P-256."] #[inline(always)] - #[must_use] pub fn key_length(&mut self) -> KEY_LENGTH_W { KEY_LENGTH_W::new(self, 2) } #[doc = "Bit 3 - The mod base of mod operation, only valid in work_mode 8-11. 0: n(order of curve). 1: p(mod base of curve)"] #[inline(always)] - #[must_use] pub fn mod_base(&mut self) -> MOD_BASE_W { MOD_BASE_W::new(self, 3) } #[doc = "Bits 4:7 - The work mode bits of ECC Accelerator. 0: Point Mult Mode. 1: Reserved. 2: Point verification mode. 3: Point Verif+mult mode. 4: Jacobian Point Mult Mode. 5: Point Add Mode. 6: Jacobian Point Verification Mode. 7: Point Verif + Jacobian Mult Mode. 8: mod addition. 9. mod substraction. 10: mod multiplication. 11: mod division."] #[inline(always)] - #[must_use] pub fn work_mode(&mut self) -> WORK_MODE_W { WORK_MODE_W::new(self, 4) } #[doc = "Bit 8 - Reserved"] #[inline(always)] - #[must_use] pub fn security_mode(&mut self) -> SECURITY_MODE_W { SECURITY_MODE_W::new(self, 8) } #[doc = "Bit 30 - Write 1 to force on register clock gate."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 30) } #[doc = "Bit 31 - ECC memory clock gate force on register"] #[inline(always)] - #[must_use] pub fn mem_clock_gate_force_on(&mut self) -> MEM_CLOCK_GATE_FORCE_ON_W { MEM_CLOCK_GATE_FORCE_ON_W::new(self, 31) } diff --git a/esp32h2/src/ecc/mult_date.rs b/esp32h2/src/ecc/mult_date.rs index 2174d52674..96586a2857 100644 --- a/esp32h2/src/ecc/mult_date.rs +++ b/esp32h2/src/ecc/mult_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - ECC mult version control register"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32h2/src/ecc/mult_int_clr.rs b/esp32h2/src/ecc/mult_int_clr.rs index 19d9a92d96..9ba2e11848 100644 --- a/esp32h2/src/ecc/mult_int_clr.rs +++ b/esp32h2/src/ecc/mult_int_clr.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the ecc_calc_done_int interrupt"] #[inline(always)] - #[must_use] pub fn calc_done(&mut self) -> CALC_DONE_W { CALC_DONE_W::new(self, 0) } diff --git a/esp32h2/src/ecc/mult_int_ena.rs b/esp32h2/src/ecc/mult_int_ena.rs index 0436ea3fc1..f5338072c0 100644 --- a/esp32h2/src/ecc/mult_int_ena.rs +++ b/esp32h2/src/ecc/mult_int_ena.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for the ecc_calc_done_int interrupt"] #[inline(always)] - #[must_use] pub fn calc_done(&mut self) -> CALC_DONE_W { CALC_DONE_W::new(self, 0) } diff --git a/esp32h2/src/efuse/clk.rs b/esp32h2/src/efuse/clk.rs index d6cc524f6d..8dcd6b6a4d 100644 --- a/esp32h2/src/efuse/clk.rs +++ b/esp32h2/src/efuse/clk.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to force eFuse SRAM into power-saving mode."] #[inline(always)] - #[must_use] pub fn mem_force_pd(&mut self) -> MEM_FORCE_PD_W { MEM_FORCE_PD_W::new(self, 0) } #[doc = "Bit 1 - Set this bit and force to activate clock signal of eFuse SRAM."] #[inline(always)] - #[must_use] pub fn mem_clk_force_on(&mut self) -> MEM_CLK_FORCE_ON_W { MEM_CLK_FORCE_ON_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to force eFuse SRAM into working mode."] #[inline(always)] - #[must_use] pub fn mem_force_pu(&mut self) -> MEM_FORCE_PU_W { MEM_FORCE_PU_W::new(self, 2) } #[doc = "Bit 16 - Set this bit to force enable eFuse register configuration clock signal."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 16) } diff --git a/esp32h2/src/efuse/cmd.rs b/esp32h2/src/efuse/cmd.rs index baaf4145e4..fe0688f848 100644 --- a/esp32h2/src/efuse/cmd.rs +++ b/esp32h2/src/efuse/cmd.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to send read command."] #[inline(always)] - #[must_use] pub fn read_cmd(&mut self) -> READ_CMD_W { READ_CMD_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to send programming command."] #[inline(always)] - #[must_use] pub fn pgm_cmd(&mut self) -> PGM_CMD_W { PGM_CMD_W::new(self, 1) } #[doc = "Bits 2:5 - The serial number of the block to be programmed. Value 0-10 corresponds to block number 0-10, respectively."] #[inline(always)] - #[must_use] pub fn blk_num(&mut self) -> BLK_NUM_W { BLK_NUM_W::new(self, 2) } diff --git a/esp32h2/src/efuse/conf.rs b/esp32h2/src/efuse/conf.rs index 1ec06566e4..9058c04a18 100644 --- a/esp32h2/src/efuse/conf.rs +++ b/esp32h2/src/efuse/conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - 0x5A5A: programming operation command 0x5AA5: read operation command."] #[inline(always)] - #[must_use] pub fn op_code(&mut self) -> OP_CODE_W { OP_CODE_W::new(self, 0) } #[doc = "Bits 16:19 - Configures which block to use for ECDSA key output."] #[inline(always)] - #[must_use] pub fn cfg_ecdsa_blk(&mut self) -> CFG_ECDSA_BLK_W { CFG_ECDSA_BLK_W::new(self, 16) } diff --git a/esp32h2/src/efuse/dac_conf.rs b/esp32h2/src/efuse/dac_conf.rs index 8e8c367293..da6da390f2 100644 --- a/esp32h2/src/efuse/dac_conf.rs +++ b/esp32h2/src/efuse/dac_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Controls the division factor of the rising clock of the programming voltage."] #[inline(always)] - #[must_use] pub fn dac_clk_div(&mut self) -> DAC_CLK_DIV_W { DAC_CLK_DIV_W::new(self, 0) } #[doc = "Bit 8 - Don't care."] #[inline(always)] - #[must_use] pub fn dac_clk_pad_sel(&mut self) -> DAC_CLK_PAD_SEL_W { DAC_CLK_PAD_SEL_W::new(self, 8) } #[doc = "Bits 9:16 - Controls the rising period of the programming voltage."] #[inline(always)] - #[must_use] pub fn dac_num(&mut self) -> DAC_NUM_W { DAC_NUM_W::new(self, 9) } #[doc = "Bit 17 - Reduces the power supply of the programming voltage."] #[inline(always)] - #[must_use] pub fn oe_clr(&mut self) -> OE_CLR_W { OE_CLR_W::new(self, 17) } diff --git a/esp32h2/src/efuse/date.rs b/esp32h2/src/efuse/date.rs index e8f3d12a0f..8561cd7bdf 100644 --- a/esp32h2/src/efuse/date.rs +++ b/esp32h2/src/efuse/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Stores eFuse version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32h2/src/efuse/int_clr.rs b/esp32h2/src/efuse/int_clr.rs index 670d58f7e5..230f4356f1 100644 --- a/esp32h2/src/efuse/int_clr.rs +++ b/esp32h2/src/efuse/int_clr.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The clear signal for read_done interrupt."] #[inline(always)] - #[must_use] pub fn read_done(&mut self) -> READ_DONE_W { READ_DONE_W::new(self, 0) } #[doc = "Bit 1 - The clear signal for pgm_done interrupt."] #[inline(always)] - #[must_use] pub fn pgm_done(&mut self) -> PGM_DONE_W { PGM_DONE_W::new(self, 1) } diff --git a/esp32h2/src/efuse/int_ena.rs b/esp32h2/src/efuse/int_ena.rs index 424c4f079d..3d4c9086ee 100644 --- a/esp32h2/src/efuse/int_ena.rs +++ b/esp32h2/src/efuse/int_ena.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The enable signal for read_done interrupt."] #[inline(always)] - #[must_use] pub fn read_done(&mut self) -> READ_DONE_W { READ_DONE_W::new(self, 0) } #[doc = "Bit 1 - The enable signal for pgm_done interrupt."] #[inline(always)] - #[must_use] pub fn pgm_done(&mut self) -> PGM_DONE_W { PGM_DONE_W::new(self, 1) } diff --git a/esp32h2/src/efuse/pgm_check_value0.rs b/esp32h2/src/efuse/pgm_check_value0.rs index 680f75c1ae..70d6fd3aec 100644 --- a/esp32h2/src/efuse/pgm_check_value0.rs +++ b/esp32h2/src/efuse/pgm_check_value0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures the 0th 32-bit RS code to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_rs_data_0(&mut self) -> PGM_RS_DATA_0_W { PGM_RS_DATA_0_W::new(self, 0) } diff --git a/esp32h2/src/efuse/pgm_check_value1.rs b/esp32h2/src/efuse/pgm_check_value1.rs index 9552955b55..b796fa5048 100644 --- a/esp32h2/src/efuse/pgm_check_value1.rs +++ b/esp32h2/src/efuse/pgm_check_value1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures the 1st 32-bit RS code to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_rs_data_1(&mut self) -> PGM_RS_DATA_1_W { PGM_RS_DATA_1_W::new(self, 0) } diff --git a/esp32h2/src/efuse/pgm_check_value2.rs b/esp32h2/src/efuse/pgm_check_value2.rs index 8c24f790dc..ac63c2ec10 100644 --- a/esp32h2/src/efuse/pgm_check_value2.rs +++ b/esp32h2/src/efuse/pgm_check_value2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures the 2nd 32-bit RS code to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_rs_data_2(&mut self) -> PGM_RS_DATA_2_W { PGM_RS_DATA_2_W::new(self, 0) } diff --git a/esp32h2/src/efuse/pgm_data0.rs b/esp32h2/src/efuse/pgm_data0.rs index cb78ccdec7..904123e081 100644 --- a/esp32h2/src/efuse/pgm_data0.rs +++ b/esp32h2/src/efuse/pgm_data0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures the 0th 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_0(&mut self) -> PGM_DATA_0_W { PGM_DATA_0_W::new(self, 0) } diff --git a/esp32h2/src/efuse/pgm_data1.rs b/esp32h2/src/efuse/pgm_data1.rs index db4eab01b9..7ee8905973 100644 --- a/esp32h2/src/efuse/pgm_data1.rs +++ b/esp32h2/src/efuse/pgm_data1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures the 1st 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_1(&mut self) -> PGM_DATA_1_W { PGM_DATA_1_W::new(self, 0) } diff --git a/esp32h2/src/efuse/pgm_data2.rs b/esp32h2/src/efuse/pgm_data2.rs index f2d79d83ac..6c357ff169 100644 --- a/esp32h2/src/efuse/pgm_data2.rs +++ b/esp32h2/src/efuse/pgm_data2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures the 2nd 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_2(&mut self) -> PGM_DATA_2_W { PGM_DATA_2_W::new(self, 0) } diff --git a/esp32h2/src/efuse/pgm_data3.rs b/esp32h2/src/efuse/pgm_data3.rs index bce3bf011c..c84a64a608 100644 --- a/esp32h2/src/efuse/pgm_data3.rs +++ b/esp32h2/src/efuse/pgm_data3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures the 3rd 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_3(&mut self) -> PGM_DATA_3_W { PGM_DATA_3_W::new(self, 0) } diff --git a/esp32h2/src/efuse/pgm_data4.rs b/esp32h2/src/efuse/pgm_data4.rs index 83f3b38ca4..96d7412ff2 100644 --- a/esp32h2/src/efuse/pgm_data4.rs +++ b/esp32h2/src/efuse/pgm_data4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures the 4th 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_4(&mut self) -> PGM_DATA_4_W { PGM_DATA_4_W::new(self, 0) } diff --git a/esp32h2/src/efuse/pgm_data5.rs b/esp32h2/src/efuse/pgm_data5.rs index 29bbc4ea61..b804ae8c42 100644 --- a/esp32h2/src/efuse/pgm_data5.rs +++ b/esp32h2/src/efuse/pgm_data5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures the 5th 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_5(&mut self) -> PGM_DATA_5_W { PGM_DATA_5_W::new(self, 0) } diff --git a/esp32h2/src/efuse/pgm_data6.rs b/esp32h2/src/efuse/pgm_data6.rs index c2062d3d24..3fc7cfd9b4 100644 --- a/esp32h2/src/efuse/pgm_data6.rs +++ b/esp32h2/src/efuse/pgm_data6.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures the 6th 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_6(&mut self) -> PGM_DATA_6_W { PGM_DATA_6_W::new(self, 0) } diff --git a/esp32h2/src/efuse/pgm_data7.rs b/esp32h2/src/efuse/pgm_data7.rs index 04a1181824..dac4cc37df 100644 --- a/esp32h2/src/efuse/pgm_data7.rs +++ b/esp32h2/src/efuse/pgm_data7.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures the 7th 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_7(&mut self) -> PGM_DATA_7_W { PGM_DATA_7_W::new(self, 0) } diff --git a/esp32h2/src/efuse/rd_tim_conf.rs b/esp32h2/src/efuse/rd_tim_conf.rs index 2e84c9c1c1..bc24075c76 100644 --- a/esp32h2/src/efuse/rd_tim_conf.rs +++ b/esp32h2/src/efuse/rd_tim_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Configures the read hold time."] #[inline(always)] - #[must_use] pub fn thr_a(&mut self) -> THR_A_W { THR_A_W::new(self, 0) } #[doc = "Bits 8:15 - Configures the read time."] #[inline(always)] - #[must_use] pub fn trd(&mut self) -> TRD_W { TRD_W::new(self, 8) } #[doc = "Bits 16:23 - Configures the read setup time."] #[inline(always)] - #[must_use] pub fn tsur_a(&mut self) -> TSUR_A_W { TSUR_A_W::new(self, 16) } #[doc = "Bits 24:31 - Configures the waiting time of reading eFuse memory."] #[inline(always)] - #[must_use] pub fn read_init_num(&mut self) -> READ_INIT_NUM_W { READ_INIT_NUM_W::new(self, 24) } diff --git a/esp32h2/src/efuse/wr_tim_conf0_rs_bypass.rs b/esp32h2/src/efuse/wr_tim_conf0_rs_bypass.rs index 92ad1e643a..0b041d6c74 100644 --- a/esp32h2/src/efuse/wr_tim_conf0_rs_bypass.rs +++ b/esp32h2/src/efuse/wr_tim_conf0_rs_bypass.rs @@ -46,25 +46,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to bypass reed solomon correction step."] #[inline(always)] - #[must_use] pub fn bypass_rs_correction(&mut self) -> BYPASS_RS_CORRECTION_W { BYPASS_RS_CORRECTION_W::new(self, 0) } #[doc = "Bits 1:11 - Configures block number of programming twice operation."] #[inline(always)] - #[must_use] pub fn bypass_rs_blk_num(&mut self) -> BYPASS_RS_BLK_NUM_W { BYPASS_RS_BLK_NUM_W::new(self, 1) } #[doc = "Bit 12 - Set this bit to update multi-bit register signals."] #[inline(always)] - #[must_use] pub fn update(&mut self) -> UPDATE_W { UPDATE_W::new(self, 12) } #[doc = "Bits 13:20 - Configures the inactive programming time."] #[inline(always)] - #[must_use] pub fn tpgm_inactive(&mut self) -> TPGM_INACTIVE_W { TPGM_INACTIVE_W::new(self, 13) } diff --git a/esp32h2/src/efuse/wr_tim_conf1.rs b/esp32h2/src/efuse/wr_tim_conf1.rs index 2d6a7f1780..6802faa6bc 100644 --- a/esp32h2/src/efuse/wr_tim_conf1.rs +++ b/esp32h2/src/efuse/wr_tim_conf1.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Configures the programming setup time."] #[inline(always)] - #[must_use] pub fn tsup_a(&mut self) -> TSUP_A_W { TSUP_A_W::new(self, 0) } #[doc = "Bits 8:23 - Configures the power up time for VDDQ."] #[inline(always)] - #[must_use] pub fn pwr_on_num(&mut self) -> PWR_ON_NUM_W { PWR_ON_NUM_W::new(self, 8) } #[doc = "Bits 24:31 - Configures the programming hold time."] #[inline(always)] - #[must_use] pub fn thp_a(&mut self) -> THP_A_W { THP_A_W::new(self, 24) } diff --git a/esp32h2/src/efuse/wr_tim_conf2.rs b/esp32h2/src/efuse/wr_tim_conf2.rs index d202922d6b..5f635eaff3 100644 --- a/esp32h2/src/efuse/wr_tim_conf2.rs +++ b/esp32h2/src/efuse/wr_tim_conf2.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Configures the power outage time for VDDQ."] #[inline(always)] - #[must_use] pub fn pwr_off_num(&mut self) -> PWR_OFF_NUM_W { PWR_OFF_NUM_W::new(self, 0) } #[doc = "Bits 16:31 - Configures the active programming time."] #[inline(always)] - #[must_use] pub fn tpgm(&mut self) -> TPGM_W { TPGM_W::new(self, 16) } diff --git a/esp32h2/src/generic.rs b/esp32h2/src/generic.rs index d57106cb27..a7cb020aef 100644 --- a/esp32h2/src/generic.rs +++ b/esp32h2/src/generic.rs @@ -524,18 +524,60 @@ impl Reg { #[doc = " ```"] #[doc = " In the latter case, other fields will be set to their reset value."] #[inline(always)] - pub fn write(&self, f: F) + pub fn write(&self, f: F) -> REG::Ux where F: FnOnce(&mut W) -> &mut W, { - self.register.set( - f(&mut W { - bits: REG::RESET_VALUE & !REG::ONE_TO_MODIFY_FIELDS_BITMAP - | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, - _reg: marker::PhantomData, - }) - .bits, - ); + let value = f(&mut W { + bits: REG::RESET_VALUE & !REG::ONE_TO_MODIFY_FIELDS_BITMAP + | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }) + .bits; + self.register.set(value); + value + } + #[doc = " Writes bits to a `Writable` register and produce a value."] + #[doc = ""] + #[doc = " You can write raw bits into a register:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.write_and(|w| unsafe { w.bits(rawbits); });"] + #[doc = " ```"] + #[doc = " or write only the fields you need:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.write_and(|w| {"] + #[doc = " w.field1().bits(newfield1bits)"] + #[doc = " .field2().set_bit()"] + #[doc = " .field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " or an alternative way of saying the same:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.write_and(|w| {"] + #[doc = " w.field1().bits(newfield1bits);"] + #[doc = " w.field2().set_bit();"] + #[doc = " w.field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " In the latter case, other fields will be set to their reset value."] + #[doc = ""] + #[doc = " Values can be returned from the closure:"] + #[doc = " ```ignore"] + #[doc = " let state = periph.reg.write_and(|w| State::set(w.field1()));"] + #[doc = " ```"] + #[inline(always)] + pub fn from_write(&self, f: F) -> T + where + F: FnOnce(&mut W) -> T, + { + let mut writer = W { + bits: REG::RESET_VALUE & !REG::ONE_TO_MODIFY_FIELDS_BITMAP + | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }; + let result = f(&mut writer); + self.register.set(writer.bits); + result } } impl Reg { @@ -547,17 +589,37 @@ impl Reg { #[doc = ""] #[doc = " Unsafe to use with registers which don't allow to write 0."] #[inline(always)] - pub unsafe fn write_with_zero(&self, f: F) + pub unsafe fn write_with_zero(&self, f: F) -> REG::Ux where F: FnOnce(&mut W) -> &mut W, { - self.register.set( - f(&mut W { - bits: REG::Ux::default(), - _reg: marker::PhantomData, - }) - .bits, - ); + let value = f(&mut W { + bits: REG::Ux::default(), + _reg: marker::PhantomData, + }) + .bits; + self.register.set(value); + value + } + #[doc = " Writes 0 to a `Writable` register and produces a value."] + #[doc = ""] + #[doc = " Similar to `write`, but unused bits will contain 0."] + #[doc = ""] + #[doc = " # Safety"] + #[doc = ""] + #[doc = " Unsafe to use with registers which don't allow to write 0."] + #[inline(always)] + pub unsafe fn from_write_with_zero(&self, f: F) -> T + where + F: FnOnce(&mut W) -> T, + { + let mut writer = W { + bits: REG::Ux::default(), + _reg: marker::PhantomData, + }; + let result = f(&mut writer); + self.register.set(writer.bits); + result } } impl Reg { @@ -587,25 +649,75 @@ impl Reg { #[doc = " ```"] #[doc = " Other fields will have the value they had before the call to `modify`."] #[inline(always)] - pub fn modify(&self, f: F) + pub fn modify(&self, f: F) -> REG::Ux where for<'w> F: FnOnce(&R, &'w mut W) -> &'w mut W, { let bits = self.register.get(); - self.register.set( - f( - &R { - bits, - _reg: marker::PhantomData, - }, - &mut W { - bits: bits & !REG::ONE_TO_MODIFY_FIELDS_BITMAP - | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, - _reg: marker::PhantomData, - }, - ) - .bits, + let value = f( + &R { + bits, + _reg: marker::PhantomData, + }, + &mut W { + bits: bits & !REG::ONE_TO_MODIFY_FIELDS_BITMAP | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }, + ) + .bits; + self.register.set(value); + value + } + #[doc = " Modifies the contents of the register by reading and then writing it"] + #[doc = " and produces a value."] + #[doc = ""] + #[doc = " E.g. to do a read-modify-write sequence to change parts of a register:"] + #[doc = " ```ignore"] + #[doc = " let bits = periph.reg.modify(|r, w| {"] + #[doc = " let new_bits = r.bits() | 3;"] + #[doc = " unsafe {"] + #[doc = " w.bits(new_bits);"] + #[doc = " }"] + #[doc = ""] + #[doc = " new_bits"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " or"] + #[doc = " ```ignore"] + #[doc = " periph.reg.modify(|_, w| {"] + #[doc = " w.field1().bits(newfield1bits)"] + #[doc = " .field2().set_bit()"] + #[doc = " .field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " or an alternative way of saying the same:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.modify(|_, w| {"] + #[doc = " w.field1().bits(newfield1bits);"] + #[doc = " w.field2().set_bit();"] + #[doc = " w.field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " Other fields will have the value they had before the call to `modify`."] + #[inline(always)] + pub fn from_modify(&self, f: F) -> T + where + for<'w> F: FnOnce(&R, &'w mut W) -> T, + { + let bits = self.register.get(); + let mut writer = W { + bits: bits & !REG::ONE_TO_MODIFY_FIELDS_BITMAP | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }; + let result = f( + &R { + bits, + _reg: marker::PhantomData, + }, + &mut writer, ); + self.register.set(writer.bits); + result } } impl core::fmt::Debug for crate::generic::Reg diff --git a/esp32h2/src/generic/raw.rs b/esp32h2/src/generic/raw.rs index 81f5779524..d60a23a7cc 100644 --- a/esp32h2/src/generic/raw.rs +++ b/esp32h2/src/generic/raw.rs @@ -41,6 +41,7 @@ impl BitReader { } } } +#[must_use = "after creating `FieldWriter` you need to call field value setting method"] pub struct FieldWriter<'a, REG, const WI: u8, FI = u8, Safety = Unsafe> where REG: Writable + RegisterSpec, @@ -66,6 +67,7 @@ where } } } +#[must_use = "after creating `BitWriter` you need to call bit setting method"] pub struct BitWriter<'a, REG, FI = bool, M = BitM> where REG: Writable + RegisterSpec, diff --git a/esp32h2/src/gpio/bt_select.rs b/esp32h2/src/gpio/bt_select.rs index d7b1c5cbd7..1207e6041d 100644 --- a/esp32h2/src/gpio/bt_select.rs +++ b/esp32h2/src/gpio/bt_select.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - GPIO bit select register"] #[inline(always)] - #[must_use] pub fn bt_sel(&mut self) -> BT_SEL_W { BT_SEL_W::new(self, 0) } diff --git a/esp32h2/src/gpio/clock_gate.rs b/esp32h2/src/gpio/clock_gate.rs index dc08365f35..fcb38c1911 100644 --- a/esp32h2/src/gpio/clock_gate.rs +++ b/esp32h2/src/gpio/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - set this bit to enable GPIO clock gate"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32h2/src/gpio/date.rs b/esp32h2/src/gpio/date.rs index 2d58f619bc..a41ac8dbc6 100644 --- a/esp32h2/src/gpio/date.rs +++ b/esp32h2/src/gpio/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - version register"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32h2/src/gpio/enable.rs b/esp32h2/src/gpio/enable.rs index f88ac51742..ec0fef1ced 100644 --- a/esp32h2/src/gpio/enable.rs +++ b/esp32h2/src/gpio/enable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - GPIO output enable register for GPIO0-31"] #[inline(always)] - #[must_use] pub fn data(&mut self) -> DATA_W { DATA_W::new(self, 0) } diff --git a/esp32h2/src/gpio/enable_w1tc.rs b/esp32h2/src/gpio/enable_w1tc.rs index 2430ef3d46..2b4f6b45f4 100644 --- a/esp32h2/src/gpio/enable_w1tc.rs +++ b/esp32h2/src/gpio/enable_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - GPIO output enable clear register for GPIO0-31"] #[inline(always)] - #[must_use] pub fn enable_w1tc(&mut self) -> ENABLE_W1TC_W { ENABLE_W1TC_W::new(self, 0) } diff --git a/esp32h2/src/gpio/enable_w1ts.rs b/esp32h2/src/gpio/enable_w1ts.rs index 6078292c22..b282747b2c 100644 --- a/esp32h2/src/gpio/enable_w1ts.rs +++ b/esp32h2/src/gpio/enable_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - GPIO output enable set register for GPIO0-31"] #[inline(always)] - #[must_use] pub fn enable_w1ts(&mut self) -> ENABLE_W1TS_W { ENABLE_W1TS_W::new(self, 0) } diff --git a/esp32h2/src/gpio/func_in_sel_cfg.rs b/esp32h2/src/gpio/func_in_sel_cfg.rs index 065f3aed4a..4fe671a2db 100644 --- a/esp32h2/src/gpio/func_in_sel_cfg.rs +++ b/esp32h2/src/gpio/func_in_sel_cfg.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - set this value: s=0-34: connect GPIO\\[s\\] to this port. s=0x38: set this port always high level. s=0x3C: set this port always low level."] #[inline(always)] - #[must_use] pub fn in_sel(&mut self) -> IN_SEL_W { IN_SEL_W::new(self, 0) } #[doc = "Bit 6 - set this bit to invert input signal. 1:invert. 0:not invert."] #[inline(always)] - #[must_use] pub fn in_inv_sel(&mut self) -> IN_INV_SEL_W { IN_INV_SEL_W::new(self, 6) } #[doc = "Bit 7 - set this bit to bypass GPIO. 1:do not bypass GPIO. 0:bypass GPIO."] #[inline(always)] - #[must_use] pub fn sel(&mut self) -> SEL_W { SEL_W::new(self, 7) } diff --git a/esp32h2/src/gpio/func_out_sel_cfg.rs b/esp32h2/src/gpio/func_out_sel_cfg.rs index 963ab1311e..f11f1ba5ec 100644 --- a/esp32h2/src/gpio/func_out_sel_cfg.rs +++ b/esp32h2/src/gpio/func_out_sel_cfg.rs @@ -2,9 +2,9 @@ pub type R = crate::R; #[doc = "Register `FUNC%s_OUT_SEL_CFG` writer"] pub type W = crate::W; -#[doc = "Field `OUT_SEL` reader - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-127: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=128: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] +#[doc = "Field `OUT_SEL` reader - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-127: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=128: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] pub type OUT_SEL_R = crate::FieldReader; -#[doc = "Field `OUT_SEL` writer - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-127: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=128: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] +#[doc = "Field `OUT_SEL` writer - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-127: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=128: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] pub type OUT_SEL_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; #[doc = "Field `INV_SEL` reader - set this bit to invert output signal.1:invert.0:not invert."] pub type INV_SEL_R = crate::BitReader; @@ -19,7 +19,7 @@ pub type OEN_INV_SEL_R = crate::BitReader; #[doc = "Field `OEN_INV_SEL` writer - set this bit to invert output enable signal.1:invert.0:not invert."] pub type OEN_INV_SEL_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { - #[doc = "Bits 0:7 - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-127: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=128: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] + #[doc = "Bits 0:7 - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-127: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=128: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] #[inline(always)] pub fn out_sel(&self) -> OUT_SEL_R { OUT_SEL_R::new((self.bits & 0xff) as u8) @@ -52,27 +52,23 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bits 0:7 - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-127: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=128: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] + #[doc = "Bits 0:7 - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-127: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=128: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] #[inline(always)] - #[must_use] pub fn out_sel(&mut self) -> OUT_SEL_W { OUT_SEL_W::new(self, 0) } #[doc = "Bit 8 - set this bit to invert output signal.1:invert.0:not invert."] #[inline(always)] - #[must_use] pub fn inv_sel(&mut self) -> INV_SEL_W { INV_SEL_W::new(self, 8) } #[doc = "Bit 9 - set this bit to select output enable signal.1:use GPIO_ENABLE_REG\\[n\\] as output enable signal.0:use peripheral output enable signal."] #[inline(always)] - #[must_use] pub fn oen_sel(&mut self) -> OEN_SEL_W { OEN_SEL_W::new(self, 9) } #[doc = "Bit 10 - set this bit to invert output enable signal.1:invert.0:not invert."] #[inline(always)] - #[must_use] pub fn oen_inv_sel(&mut self) -> OEN_INV_SEL_W { OEN_INV_SEL_W::new(self, 10) } diff --git a/esp32h2/src/gpio/out.rs b/esp32h2/src/gpio/out.rs index 4e8b7d0b21..f52f2a8c9e 100644 --- a/esp32h2/src/gpio/out.rs +++ b/esp32h2/src/gpio/out.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - GPIO output register for GPIO0-31"] #[inline(always)] - #[must_use] pub fn data_orig(&mut self) -> DATA_ORIG_W { DATA_ORIG_W::new(self, 0) } diff --git a/esp32h2/src/gpio/out_w1tc.rs b/esp32h2/src/gpio/out_w1tc.rs index a0260c53ec..a4a932319a 100644 --- a/esp32h2/src/gpio/out_w1tc.rs +++ b/esp32h2/src/gpio/out_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - GPIO output clear register for GPIO0-31"] #[inline(always)] - #[must_use] pub fn out_w1tc(&mut self) -> OUT_W1TC_W { OUT_W1TC_W::new(self, 0) } diff --git a/esp32h2/src/gpio/out_w1ts.rs b/esp32h2/src/gpio/out_w1ts.rs index 70c7af6b7e..33b86ce3b3 100644 --- a/esp32h2/src/gpio/out_w1ts.rs +++ b/esp32h2/src/gpio/out_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - GPIO output set register for GPIO0-31"] #[inline(always)] - #[must_use] pub fn out_w1ts(&mut self) -> OUT_W1TS_W { OUT_W1TS_W::new(self, 0) } diff --git a/esp32h2/src/gpio/pin.rs b/esp32h2/src/gpio/pin.rs index 28a30e66af..5bad7dea08 100644 --- a/esp32h2/src/gpio/pin.rs +++ b/esp32h2/src/gpio/pin.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - set GPIO input_sync2 signal mode. 0:disable. 1:trigger at negedge. 2or3:trigger at posedge."] #[inline(always)] - #[must_use] pub fn sync2_bypass(&mut self) -> SYNC2_BYPASS_W { SYNC2_BYPASS_W::new(self, 0) } #[doc = "Bit 2 - set this bit to select pad driver. 1:open-drain. 0:normal."] #[inline(always)] - #[must_use] pub fn pad_driver(&mut self) -> PAD_DRIVER_W { PAD_DRIVER_W::new(self, 2) } #[doc = "Bits 3:4 - set GPIO input_sync1 signal mode. 0:disable. 1:trigger at negedge. 2or3:trigger at posedge."] #[inline(always)] - #[must_use] pub fn sync1_bypass(&mut self) -> SYNC1_BYPASS_W { SYNC1_BYPASS_W::new(self, 3) } #[doc = "Bits 7:9 - set this value to choose interrupt mode. 0:disable GPIO interrupt. 1:trigger at posedge. 2:trigger at negedge. 3:trigger at any edge. 4:valid at low level. 5:valid at high level"] #[inline(always)] - #[must_use] pub fn int_type(&mut self) -> INT_TYPE_W { INT_TYPE_W::new(self, 7) } #[doc = "Bit 10 - set this bit to enable GPIO wakeup.(can only wakeup CPU from Light-sleep Mode)"] #[inline(always)] - #[must_use] pub fn wakeup_enable(&mut self) -> WAKEUP_ENABLE_W { WAKEUP_ENABLE_W::new(self, 10) } #[doc = "Bits 11:12 - reserved"] #[inline(always)] - #[must_use] pub fn config(&mut self) -> CONFIG_W { CONFIG_W::new(self, 11) } #[doc = "Bits 13:17 - set bit 13 to enable CPU interrupt. set bit 14 to enable CPU(not shielded) interrupt."] #[inline(always)] - #[must_use] pub fn int_ena(&mut self) -> INT_ENA_W { INT_ENA_W::new(self, 13) } diff --git a/esp32h2/src/gpio/sdio_select.rs b/esp32h2/src/gpio/sdio_select.rs index 4099035e5f..20bb242683 100644 --- a/esp32h2/src/gpio/sdio_select.rs +++ b/esp32h2/src/gpio/sdio_select.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - GPIO sdio select register"] #[inline(always)] - #[must_use] pub fn sdio_sel(&mut self) -> SDIO_SEL_W { SDIO_SEL_W::new(self, 0) } diff --git a/esp32h2/src/gpio/status.rs b/esp32h2/src/gpio/status.rs index c98aa95035..d09aa5f9bd 100644 --- a/esp32h2/src/gpio/status.rs +++ b/esp32h2/src/gpio/status.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - GPIO interrupt status register for GPIO0-31"] #[inline(always)] - #[must_use] pub fn interrupt(&mut self) -> INTERRUPT_W { INTERRUPT_W::new(self, 0) } diff --git a/esp32h2/src/gpio/status_w1tc.rs b/esp32h2/src/gpio/status_w1tc.rs index 823616fd36..2d8a58ef2a 100644 --- a/esp32h2/src/gpio/status_w1tc.rs +++ b/esp32h2/src/gpio/status_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - GPIO interrupt status clear register for GPIO0-31"] #[inline(always)] - #[must_use] pub fn status_w1tc(&mut self) -> STATUS_W1TC_W { STATUS_W1TC_W::new(self, 0) } diff --git a/esp32h2/src/gpio/status_w1ts.rs b/esp32h2/src/gpio/status_w1ts.rs index 0baee1a8e9..b915c312f0 100644 --- a/esp32h2/src/gpio/status_w1ts.rs +++ b/esp32h2/src/gpio/status_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - GPIO interrupt status set register for GPIO0-31"] #[inline(always)] - #[must_use] pub fn status_w1ts(&mut self) -> STATUS_W1TS_W { STATUS_W1TS_W::new(self, 0) } diff --git a/esp32h2/src/gpio_sd/clock_gate.rs b/esp32h2/src/gpio_sd/clock_gate.rs index aaa6927490..7758e66de3 100644 --- a/esp32h2/src/gpio_sd/clock_gate.rs +++ b/esp32h2/src/gpio_sd/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Clock enable bit of configuration registers for sigma delta modulation."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32h2/src/gpio_sd/etm_event_ch_cfg.rs b/esp32h2/src/gpio_sd/etm_event_ch_cfg.rs index 30cc14bcb1..7f4cdb0c0d 100644 --- a/esp32h2/src/gpio_sd/etm_event_ch_cfg.rs +++ b/esp32h2/src/gpio_sd/etm_event_ch_cfg.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Etm event channel select gpio."] #[inline(always)] - #[must_use] pub fn event_sel(&mut self) -> EVENT_SEL_W { EVENT_SEL_W::new(self, 0) } #[doc = "Bit 7 - Etm event send enable bit."] #[inline(always)] - #[must_use] pub fn event_en(&mut self) -> EVENT_EN_W { EVENT_EN_W::new(self, 7) } diff --git a/esp32h2/src/gpio_sd/etm_task_p0_cfg.rs b/esp32h2/src/gpio_sd/etm_task_p0_cfg.rs index de37513f25..832e4cf106 100644 --- a/esp32h2/src/gpio_sd/etm_task_p0_cfg.rs +++ b/esp32h2/src/gpio_sd/etm_task_p0_cfg.rs @@ -102,7 +102,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO0_EN` field.
"] #[inline(always)] - #[must_use] pub fn gpio_en(&mut self, n: u8) -> GPIO_EN_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -110,25 +109,21 @@ impl W { } #[doc = "Bit 0 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio0_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 0) } #[doc = "Bit 8 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio1_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 8) } #[doc = "Bit 16 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio2_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 16) } #[doc = "Bit 24 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio3_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 24) } @@ -136,7 +131,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO0_SEL` field.
"] #[inline(always)] - #[must_use] pub fn gpio_sel(&mut self, n: u8) -> GPIO_SEL_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -144,25 +138,21 @@ impl W { } #[doc = "Bits 1:3 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio0_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 1) } #[doc = "Bits 9:11 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio1_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 9) } #[doc = "Bits 17:19 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio2_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 17) } #[doc = "Bits 25:27 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio3_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 25) } diff --git a/esp32h2/src/gpio_sd/etm_task_p1_cfg.rs b/esp32h2/src/gpio_sd/etm_task_p1_cfg.rs index d177264fab..14016c50b3 100644 --- a/esp32h2/src/gpio_sd/etm_task_p1_cfg.rs +++ b/esp32h2/src/gpio_sd/etm_task_p1_cfg.rs @@ -102,7 +102,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO4_EN` field.
"] #[inline(always)] - #[must_use] pub fn gpio_en(&mut self, n: u8) -> GPIO_EN_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -110,25 +109,21 @@ impl W { } #[doc = "Bit 0 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio4_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 0) } #[doc = "Bit 8 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio5_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 8) } #[doc = "Bit 16 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio6_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 16) } #[doc = "Bit 24 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio7_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 24) } @@ -136,7 +131,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO4_SEL` field.
"] #[inline(always)] - #[must_use] pub fn gpio_sel(&mut self, n: u8) -> GPIO_SEL_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -144,25 +138,21 @@ impl W { } #[doc = "Bits 1:3 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio4_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 1) } #[doc = "Bits 9:11 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio5_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 9) } #[doc = "Bits 17:19 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio6_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 17) } #[doc = "Bits 25:27 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio7_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 25) } diff --git a/esp32h2/src/gpio_sd/etm_task_p2_cfg.rs b/esp32h2/src/gpio_sd/etm_task_p2_cfg.rs index 2bc342032a..469f46bb00 100644 --- a/esp32h2/src/gpio_sd/etm_task_p2_cfg.rs +++ b/esp32h2/src/gpio_sd/etm_task_p2_cfg.rs @@ -102,7 +102,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO8_EN` field.
"] #[inline(always)] - #[must_use] pub fn gpio_en(&mut self, n: u8) -> GPIO_EN_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -110,25 +109,21 @@ impl W { } #[doc = "Bit 0 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio8_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 0) } #[doc = "Bit 8 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio9_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 8) } #[doc = "Bit 16 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio10_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 16) } #[doc = "Bit 24 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio11_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 24) } @@ -136,7 +131,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO8_SEL` field.
"] #[inline(always)] - #[must_use] pub fn gpio_sel(&mut self, n: u8) -> GPIO_SEL_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -144,25 +138,21 @@ impl W { } #[doc = "Bits 1:3 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio8_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 1) } #[doc = "Bits 9:11 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio9_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 9) } #[doc = "Bits 17:19 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio10_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 17) } #[doc = "Bits 25:27 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio11_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 25) } diff --git a/esp32h2/src/gpio_sd/etm_task_p3_cfg.rs b/esp32h2/src/gpio_sd/etm_task_p3_cfg.rs index aac55706ec..61c445d382 100644 --- a/esp32h2/src/gpio_sd/etm_task_p3_cfg.rs +++ b/esp32h2/src/gpio_sd/etm_task_p3_cfg.rs @@ -102,7 +102,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO12_EN` field.
"] #[inline(always)] - #[must_use] pub fn gpio_en(&mut self, n: u8) -> GPIO_EN_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -110,25 +109,21 @@ impl W { } #[doc = "Bit 0 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio12_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 0) } #[doc = "Bit 8 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio13_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 8) } #[doc = "Bit 16 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio14_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 16) } #[doc = "Bit 24 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio15_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 24) } @@ -136,7 +131,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO12_SEL` field.
"] #[inline(always)] - #[must_use] pub fn gpio_sel(&mut self, n: u8) -> GPIO_SEL_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -144,25 +138,21 @@ impl W { } #[doc = "Bits 1:3 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio12_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 1) } #[doc = "Bits 9:11 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio13_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 9) } #[doc = "Bits 17:19 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio14_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 17) } #[doc = "Bits 25:27 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio15_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 25) } diff --git a/esp32h2/src/gpio_sd/etm_task_p4_cfg.rs b/esp32h2/src/gpio_sd/etm_task_p4_cfg.rs index 8e244aab08..27751a588d 100644 --- a/esp32h2/src/gpio_sd/etm_task_p4_cfg.rs +++ b/esp32h2/src/gpio_sd/etm_task_p4_cfg.rs @@ -102,7 +102,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO16_EN` field.
"] #[inline(always)] - #[must_use] pub fn gpio_en(&mut self, n: u8) -> GPIO_EN_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -110,25 +109,21 @@ impl W { } #[doc = "Bit 0 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio16_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 0) } #[doc = "Bit 8 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio17_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 8) } #[doc = "Bit 16 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio18_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 16) } #[doc = "Bit 24 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio19_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 24) } @@ -136,7 +131,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO16_SEL` field.
"] #[inline(always)] - #[must_use] pub fn gpio_sel(&mut self, n: u8) -> GPIO_SEL_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -144,25 +138,21 @@ impl W { } #[doc = "Bits 1:3 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio16_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 1) } #[doc = "Bits 9:11 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio17_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 9) } #[doc = "Bits 17:19 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio18_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 17) } #[doc = "Bits 25:27 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio19_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 25) } diff --git a/esp32h2/src/gpio_sd/etm_task_p5_cfg.rs b/esp32h2/src/gpio_sd/etm_task_p5_cfg.rs index 73c570073b..3b77e4703a 100644 --- a/esp32h2/src/gpio_sd/etm_task_p5_cfg.rs +++ b/esp32h2/src/gpio_sd/etm_task_p5_cfg.rs @@ -102,7 +102,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO20_EN` field.
"] #[inline(always)] - #[must_use] pub fn gpio_en(&mut self, n: u8) -> GPIO_EN_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -110,25 +109,21 @@ impl W { } #[doc = "Bit 0 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio20_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 0) } #[doc = "Bit 8 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio21_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 8) } #[doc = "Bit 16 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio22_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 16) } #[doc = "Bit 24 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio23_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 24) } @@ -136,7 +131,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO20_SEL` field.
"] #[inline(always)] - #[must_use] pub fn gpio_sel(&mut self, n: u8) -> GPIO_SEL_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -144,25 +138,21 @@ impl W { } #[doc = "Bits 1:3 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio20_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 1) } #[doc = "Bits 9:11 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio21_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 9) } #[doc = "Bits 17:19 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio22_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 17) } #[doc = "Bits 25:27 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio23_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 25) } diff --git a/esp32h2/src/gpio_sd/etm_task_p6_cfg.rs b/esp32h2/src/gpio_sd/etm_task_p6_cfg.rs index e050a011da..7feb6c77d9 100644 --- a/esp32h2/src/gpio_sd/etm_task_p6_cfg.rs +++ b/esp32h2/src/gpio_sd/etm_task_p6_cfg.rs @@ -102,7 +102,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO24_EN` field.
"] #[inline(always)] - #[must_use] pub fn gpio_en(&mut self, n: u8) -> GPIO_EN_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -110,25 +109,21 @@ impl W { } #[doc = "Bit 0 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio24_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 0) } #[doc = "Bit 8 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio25_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 8) } #[doc = "Bit 16 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio26_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 16) } #[doc = "Bit 24 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio27_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 24) } @@ -136,7 +131,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO24_SEL` field.
"] #[inline(always)] - #[must_use] pub fn gpio_sel(&mut self, n: u8) -> GPIO_SEL_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -144,25 +138,21 @@ impl W { } #[doc = "Bits 1:3 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio24_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 1) } #[doc = "Bits 9:11 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio25_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 9) } #[doc = "Bits 17:19 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio26_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 17) } #[doc = "Bits 25:27 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio27_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 25) } diff --git a/esp32h2/src/gpio_sd/glitch_filter_ch.rs b/esp32h2/src/gpio_sd/glitch_filter_ch.rs index 379e3775cf..ef5b640bcc 100644 --- a/esp32h2/src/gpio_sd/glitch_filter_ch.rs +++ b/esp32h2/src/gpio_sd/glitch_filter_ch.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Glitch Filter channel enable bit."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 0) } #[doc = "Bits 1:6 - Glitch Filter input io number."] #[inline(always)] - #[must_use] pub fn input_io_num(&mut self) -> INPUT_IO_NUM_W { INPUT_IO_NUM_W::new(self, 1) } #[doc = "Bits 7:12 - Glitch Filter window threshold."] #[inline(always)] - #[must_use] pub fn window_thres(&mut self) -> WINDOW_THRES_W { WINDOW_THRES_W::new(self, 7) } #[doc = "Bits 13:18 - Glitch Filter window width."] #[inline(always)] - #[must_use] pub fn window_width(&mut self) -> WINDOW_WIDTH_W { WINDOW_WIDTH_W::new(self, 13) } diff --git a/esp32h2/src/gpio_sd/int_clr.rs b/esp32h2/src/gpio_sd/int_clr.rs index 506eaee4db..f91e717f5d 100644 --- a/esp32h2/src/gpio_sd/int_clr.rs +++ b/esp32h2/src/gpio_sd/int_clr.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Pad compare interrupt clear"] #[inline(always)] - #[must_use] pub fn pad_comp(&mut self) -> PAD_COMP_W { PAD_COMP_W::new(self, 0) } diff --git a/esp32h2/src/gpio_sd/int_ena.rs b/esp32h2/src/gpio_sd/int_ena.rs index f9e53ef7cf..329494a32c 100644 --- a/esp32h2/src/gpio_sd/int_ena.rs +++ b/esp32h2/src/gpio_sd/int_ena.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Pad compare interrupt enable"] #[inline(always)] - #[must_use] pub fn pad_comp(&mut self) -> PAD_COMP_W { PAD_COMP_W::new(self, 0) } diff --git a/esp32h2/src/gpio_sd/pad_comp_config.rs b/esp32h2/src/gpio_sd/pad_comp_config.rs index e35f23db0e..f015e8f15b 100644 --- a/esp32h2/src/gpio_sd/pad_comp_config.rs +++ b/esp32h2/src/gpio_sd/pad_comp_config.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Pad compare enable bit."] #[inline(always)] - #[must_use] pub fn xpd_comp(&mut self) -> XPD_COMP_W { XPD_COMP_W::new(self, 0) } #[doc = "Bit 1 - 1 to enable external reference from PAD\\[0\\]. 0 to enable internal reference, meanwhile PAD\\[0\\] can be used as a regular GPIO."] #[inline(always)] - #[must_use] pub fn mode_comp(&mut self) -> MODE_COMP_W { MODE_COMP_W::new(self, 1) } #[doc = "Bits 2:4 - internal reference voltage tuning bit. 0V to 0.7*VDDPST step 0.1*VDDPST."] #[inline(always)] - #[must_use] pub fn dref_comp(&mut self) -> DREF_COMP_W { DREF_COMP_W::new(self, 2) } #[doc = "Bits 5:6 - Zero Detect mode select."] #[inline(always)] - #[must_use] pub fn zero_det_mode(&mut self) -> ZERO_DET_MODE_W { ZERO_DET_MODE_W::new(self, 5) } diff --git a/esp32h2/src/gpio_sd/pad_comp_filter.rs b/esp32h2/src/gpio_sd/pad_comp_filter.rs index 4caeeb58a1..45056ba851 100644 --- a/esp32h2/src/gpio_sd/pad_comp_filter.rs +++ b/esp32h2/src/gpio_sd/pad_comp_filter.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Zero Detect filter cycle length"] #[inline(always)] - #[must_use] pub fn zero_det_filter_cnt(&mut self) -> ZERO_DET_FILTER_CNT_W { ZERO_DET_FILTER_CNT_W::new(self, 0) } diff --git a/esp32h2/src/gpio_sd/sigmadelta.rs b/esp32h2/src/gpio_sd/sigmadelta.rs index 38e02d27b9..aed653d231 100644 --- a/esp32h2/src/gpio_sd/sigmadelta.rs +++ b/esp32h2/src/gpio_sd/sigmadelta.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This field is used to configure the duty cycle of sigma delta modulation output."] #[inline(always)] - #[must_use] pub fn in_(&mut self) -> IN_W { IN_W::new(self, 0) } #[doc = "Bits 8:15 - This field is used to set a divider value to divide APB clock."] #[inline(always)] - #[must_use] pub fn prescale(&mut self) -> PRESCALE_W { PRESCALE_W::new(self, 8) } diff --git a/esp32h2/src/gpio_sd/sigmadelta_misc.rs b/esp32h2/src/gpio_sd/sigmadelta_misc.rs index 4ab13a96f5..3f7dca6ec7 100644 --- a/esp32h2/src/gpio_sd/sigmadelta_misc.rs +++ b/esp32h2/src/gpio_sd/sigmadelta_misc.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - Clock enable bit of sigma delta modulation."] #[inline(always)] - #[must_use] pub fn function_clk_en(&mut self) -> FUNCTION_CLK_EN_W { FUNCTION_CLK_EN_W::new(self, 30) } #[doc = "Bit 31 - Reserved."] #[inline(always)] - #[must_use] pub fn spi_swap(&mut self) -> SPI_SWAP_W { SPI_SWAP_W::new(self, 31) } diff --git a/esp32h2/src/gpio_sd/version.rs b/esp32h2/src/gpio_sd/version.rs index b88e10a868..40c67be9cf 100644 --- a/esp32h2/src/gpio_sd/version.rs +++ b/esp32h2/src/gpio_sd/version.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Version control register."] #[inline(always)] - #[must_use] pub fn gpio_sd_date(&mut self) -> GPIO_SD_DATE_W { GPIO_SD_DATE_W::new(self, 0) } diff --git a/esp32h2/src/hmac/date.rs b/esp32h2/src/hmac/date.rs index 60e814568a..a0e38f9328 100644 --- a/esp32h2/src/hmac/date.rs +++ b/esp32h2/src/hmac/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Hmac date information/ hmac version information."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32h2/src/hmac/one_block.rs b/esp32h2/src/hmac/one_block.rs index b43566689f..b4035ad8b6 100644 --- a/esp32h2/src/hmac/one_block.rs +++ b/esp32h2/src/hmac/one_block.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Don't have to do padding."] #[inline(always)] - #[must_use] pub fn set_one_block(&mut self) -> SET_ONE_BLOCK_W { SET_ONE_BLOCK_W::new(self, 0) } diff --git a/esp32h2/src/hmac/set_invalidate_ds.rs b/esp32h2/src/hmac/set_invalidate_ds.rs index 111bcc4282..407f746e9e 100644 --- a/esp32h2/src/hmac/set_invalidate_ds.rs +++ b/esp32h2/src/hmac/set_invalidate_ds.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Clear result from hmac downstream DS."] #[inline(always)] - #[must_use] pub fn set_invalidate_ds(&mut self) -> SET_INVALIDATE_DS_W { SET_INVALIDATE_DS_W::new(self, 0) } diff --git a/esp32h2/src/hmac/set_invalidate_jtag.rs b/esp32h2/src/hmac/set_invalidate_jtag.rs index d3506d5640..82a7427c4a 100644 --- a/esp32h2/src/hmac/set_invalidate_jtag.rs +++ b/esp32h2/src/hmac/set_invalidate_jtag.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Clear result from hmac downstream JTAG."] #[inline(always)] - #[must_use] pub fn set_invalidate_jtag(&mut self) -> SET_INVALIDATE_JTAG_W { SET_INVALIDATE_JTAG_W::new(self, 0) } diff --git a/esp32h2/src/hmac/set_message_end.rs b/esp32h2/src/hmac/set_message_end.rs index 3ae43ef9c8..7006fb27f4 100644 --- a/esp32h2/src/hmac/set_message_end.rs +++ b/esp32h2/src/hmac/set_message_end.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Start hardware padding."] #[inline(always)] - #[must_use] pub fn set_text_end(&mut self) -> SET_TEXT_END_W { SET_TEXT_END_W::new(self, 0) } diff --git a/esp32h2/src/hmac/set_message_ing.rs b/esp32h2/src/hmac/set_message_ing.rs index c325d92c32..663dbe540f 100644 --- a/esp32h2/src/hmac/set_message_ing.rs +++ b/esp32h2/src/hmac/set_message_ing.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Continue typical hmac."] #[inline(always)] - #[must_use] pub fn set_text_ing(&mut self) -> SET_TEXT_ING_W { SET_TEXT_ING_W::new(self, 0) } diff --git a/esp32h2/src/hmac/set_message_one.rs b/esp32h2/src/hmac/set_message_one.rs index 8ef37f11db..d32eb2efd1 100644 --- a/esp32h2/src/hmac/set_message_one.rs +++ b/esp32h2/src/hmac/set_message_one.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Call SHA to calculate one message block."] #[inline(always)] - #[must_use] pub fn set_text_one(&mut self) -> SET_TEXT_ONE_W { SET_TEXT_ONE_W::new(self, 0) } diff --git a/esp32h2/src/hmac/set_message_pad.rs b/esp32h2/src/hmac/set_message_pad.rs index 8739d11add..8877ee730d 100644 --- a/esp32h2/src/hmac/set_message_pad.rs +++ b/esp32h2/src/hmac/set_message_pad.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Start software padding."] #[inline(always)] - #[must_use] pub fn set_text_pad(&mut self) -> SET_TEXT_PAD_W { SET_TEXT_PAD_W::new(self, 0) } diff --git a/esp32h2/src/hmac/set_para_finish.rs b/esp32h2/src/hmac/set_para_finish.rs index 66cbaa057f..15257695f6 100644 --- a/esp32h2/src/hmac/set_para_finish.rs +++ b/esp32h2/src/hmac/set_para_finish.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Finish hmac configuration."] #[inline(always)] - #[must_use] pub fn set_para_end(&mut self) -> SET_PARA_END_W { SET_PARA_END_W::new(self, 0) } diff --git a/esp32h2/src/hmac/set_para_key.rs b/esp32h2/src/hmac/set_para_key.rs index 0bbde55d9d..fe4e62547a 100644 --- a/esp32h2/src/hmac/set_para_key.rs +++ b/esp32h2/src/hmac/set_para_key.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:2 - Set hmac parameter key."] #[inline(always)] - #[must_use] pub fn key_set(&mut self) -> KEY_SET_W { KEY_SET_W::new(self, 0) } diff --git a/esp32h2/src/hmac/set_para_purpose.rs b/esp32h2/src/hmac/set_para_purpose.rs index eafe6bc3e7..fc78aa1598 100644 --- a/esp32h2/src/hmac/set_para_purpose.rs +++ b/esp32h2/src/hmac/set_para_purpose.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:3 - Set hmac parameter purpose."] #[inline(always)] - #[must_use] pub fn purpose_set(&mut self) -> PURPOSE_SET_W { PURPOSE_SET_W::new(self, 0) } diff --git a/esp32h2/src/hmac/set_result_finish.rs b/esp32h2/src/hmac/set_result_finish.rs index ed02cedec4..430f5290fb 100644 --- a/esp32h2/src/hmac/set_result_finish.rs +++ b/esp32h2/src/hmac/set_result_finish.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - After read result from upstream, then let hmac back to idle."] #[inline(always)] - #[must_use] pub fn set_result_end(&mut self) -> SET_RESULT_END_W { SET_RESULT_END_W::new(self, 0) } diff --git a/esp32h2/src/hmac/set_start.rs b/esp32h2/src/hmac/set_start.rs index 293497a4fd..e8e873ce29 100644 --- a/esp32h2/src/hmac/set_start.rs +++ b/esp32h2/src/hmac/set_start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Start hmac operation."] #[inline(always)] - #[must_use] pub fn set_start(&mut self) -> SET_START_W { SET_START_W::new(self, 0) } diff --git a/esp32h2/src/hmac/soft_jtag_ctrl.rs b/esp32h2/src/hmac/soft_jtag_ctrl.rs index 9c7ec8ae3d..368f294e81 100644 --- a/esp32h2/src/hmac/soft_jtag_ctrl.rs +++ b/esp32h2/src/hmac/soft_jtag_ctrl.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Turn on JTAG verification."] #[inline(always)] - #[must_use] pub fn soft_jtag_ctrl(&mut self) -> SOFT_JTAG_CTRL_W { SOFT_JTAG_CTRL_W::new(self, 0) } diff --git a/esp32h2/src/hmac/wr_jtag.rs b/esp32h2/src/hmac/wr_jtag.rs index 98c5adab47..e1bfccc0b9 100644 --- a/esp32h2/src/hmac/wr_jtag.rs +++ b/esp32h2/src/hmac/wr_jtag.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - 32-bit of key to be compared."] #[inline(always)] - #[must_use] pub fn wr_jtag(&mut self) -> WR_JTAG_W { WR_JTAG_W::new(self, 0) } diff --git a/esp32h2/src/hp_apm/clock_gate.rs b/esp32h2/src/hp_apm/clock_gate.rs index c11923fb98..a58faa7d65 100644 --- a/esp32h2/src/hp_apm/clock_gate.rs +++ b/esp32h2/src/hp_apm/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_clk_en"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32h2/src/hp_apm/date.rs b/esp32h2/src/hp_apm/date.rs index cfb7714639..cbf2bbdcd3 100644 --- a/esp32h2/src/hp_apm/date.rs +++ b/esp32h2/src/hp_apm/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - reg_date"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32h2/src/hp_apm/func_ctrl.rs b/esp32h2/src/hp_apm/func_ctrl.rs index be4df24b4e..9965409791 100644 --- a/esp32h2/src/hp_apm/func_ctrl.rs +++ b/esp32h2/src/hp_apm/func_ctrl.rs @@ -59,7 +59,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `M0_PMS_FUNC_EN` field.
"] #[inline(always)] - #[must_use] pub fn m_pms_func_en(&mut self, n: u8) -> M_PMS_FUNC_EN_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -67,25 +66,21 @@ impl W { } #[doc = "Bit 0 - PMS M0 function enable"] #[inline(always)] - #[must_use] pub fn m0_pms_func_en(&mut self) -> M_PMS_FUNC_EN_W { M_PMS_FUNC_EN_W::new(self, 0) } #[doc = "Bit 1 - PMS M1 function enable"] #[inline(always)] - #[must_use] pub fn m1_pms_func_en(&mut self) -> M_PMS_FUNC_EN_W { M_PMS_FUNC_EN_W::new(self, 1) } #[doc = "Bit 2 - PMS M2 function enable"] #[inline(always)] - #[must_use] pub fn m2_pms_func_en(&mut self) -> M_PMS_FUNC_EN_W { M_PMS_FUNC_EN_W::new(self, 2) } #[doc = "Bit 3 - PMS M3 function enable"] #[inline(always)] - #[must_use] pub fn m3_pms_func_en(&mut self) -> M_PMS_FUNC_EN_W { M_PMS_FUNC_EN_W::new(self, 3) } diff --git a/esp32h2/src/hp_apm/int_en.rs b/esp32h2/src/hp_apm/int_en.rs index 5183ffb37e..ef947198b4 100644 --- a/esp32h2/src/hp_apm/int_en.rs +++ b/esp32h2/src/hp_apm/int_en.rs @@ -59,7 +59,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `M0_APM` field.
"] #[inline(always)] - #[must_use] pub fn m_apm(&mut self, n: u8) -> M_APM_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -67,25 +66,21 @@ impl W { } #[doc = "Bit 0 - APM M0 interrupt enable"] #[inline(always)] - #[must_use] pub fn m0_apm(&mut self) -> M_APM_W { M_APM_W::new(self, 0) } #[doc = "Bit 1 - APM M1 interrupt enable"] #[inline(always)] - #[must_use] pub fn m1_apm(&mut self) -> M_APM_W { M_APM_W::new(self, 1) } #[doc = "Bit 2 - APM M2 interrupt enable"] #[inline(always)] - #[must_use] pub fn m2_apm(&mut self) -> M_APM_W { M_APM_W::new(self, 2) } #[doc = "Bit 3 - APM M3 interrupt enable"] #[inline(always)] - #[must_use] pub fn m3_apm(&mut self) -> M_APM_W { M_APM_W::new(self, 3) } diff --git a/esp32h2/src/hp_apm/m/status_clr.rs b/esp32h2/src/hp_apm/m/status_clr.rs index e4f078f6fc..8da9457594 100644 --- a/esp32h2/src/hp_apm/m/status_clr.rs +++ b/esp32h2/src/hp_apm/m/status_clr.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Clear exception status"] #[inline(always)] - #[must_use] pub fn region_status_clr(&mut self) -> REGION_STATUS_CLR_W { REGION_STATUS_CLR_W::new(self, 0) } diff --git a/esp32h2/src/hp_apm/region/addr_end.rs b/esp32h2/src/hp_apm/region/addr_end.rs index 0459ef8236..62145901a9 100644 --- a/esp32h2/src/hp_apm/region/addr_end.rs +++ b/esp32h2/src/hp_apm/region/addr_end.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - End address of region0"] #[inline(always)] - #[must_use] pub fn addr_end(&mut self) -> ADDR_END_W { ADDR_END_W::new(self, 0) } diff --git a/esp32h2/src/hp_apm/region/addr_start.rs b/esp32h2/src/hp_apm/region/addr_start.rs index fc14b71b5f..4ae84c3305 100644 --- a/esp32h2/src/hp_apm/region/addr_start.rs +++ b/esp32h2/src/hp_apm/region/addr_start.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Start address of region0"] #[inline(always)] - #[must_use] pub fn addr_start(&mut self) -> ADDR_START_W { ADDR_START_W::new(self, 0) } diff --git a/esp32h2/src/hp_apm/region/pms_attr.rs b/esp32h2/src/hp_apm/region/pms_attr.rs index fe5b684b59..2c40327dfb 100644 --- a/esp32h2/src/hp_apm/region/pms_attr.rs +++ b/esp32h2/src/hp_apm/region/pms_attr.rs @@ -127,7 +127,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `R0_PMS_X` field.
"] #[inline(always)] - #[must_use] pub fn r_pms_x(&mut self, n: u8) -> R_PMS_X_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -135,19 +134,16 @@ impl W { } #[doc = "Bit 0 - Region execute authority in REE_MODE0"] #[inline(always)] - #[must_use] pub fn r0_pms_x(&mut self) -> R_PMS_X_W { R_PMS_X_W::new(self, 0) } #[doc = "Bit 4 - Region execute authority in REE_MODE1"] #[inline(always)] - #[must_use] pub fn r1_pms_x(&mut self) -> R_PMS_X_W { R_PMS_X_W::new(self, 4) } #[doc = "Bit 8 - Region execute authority in REE_MODE2"] #[inline(always)] - #[must_use] pub fn r2_pms_x(&mut self) -> R_PMS_X_W { R_PMS_X_W::new(self, 8) } @@ -155,7 +151,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `R0_PMS_W` field.
"] #[inline(always)] - #[must_use] pub fn r_pms_w(&mut self, n: u8) -> R_PMS_W_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -163,19 +158,16 @@ impl W { } #[doc = "Bit 1 - Region write authority in REE_MODE0"] #[inline(always)] - #[must_use] pub fn r0_pms_w(&mut self) -> R_PMS_W_W { R_PMS_W_W::new(self, 1) } #[doc = "Bit 5 - Region write authority in REE_MODE1"] #[inline(always)] - #[must_use] pub fn r1_pms_w(&mut self) -> R_PMS_W_W { R_PMS_W_W::new(self, 5) } #[doc = "Bit 9 - Region write authority in REE_MODE2"] #[inline(always)] - #[must_use] pub fn r2_pms_w(&mut self) -> R_PMS_W_W { R_PMS_W_W::new(self, 9) } @@ -183,7 +175,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `R0_PMS_R` field.
"] #[inline(always)] - #[must_use] pub fn r_pms_r(&mut self, n: u8) -> R_PMS_R_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -191,19 +182,16 @@ impl W { } #[doc = "Bit 2 - Region read authority in REE_MODE0"] #[inline(always)] - #[must_use] pub fn r0_pms_r(&mut self) -> R_PMS_R_W { R_PMS_R_W::new(self, 2) } #[doc = "Bit 6 - Region read authority in REE_MODE1"] #[inline(always)] - #[must_use] pub fn r1_pms_r(&mut self) -> R_PMS_R_W { R_PMS_R_W::new(self, 6) } #[doc = "Bit 10 - Region read authority in REE_MODE2"] #[inline(always)] - #[must_use] pub fn r2_pms_r(&mut self) -> R_PMS_R_W { R_PMS_R_W::new(self, 10) } diff --git a/esp32h2/src/hp_apm/region_filter_en.rs b/esp32h2/src/hp_apm/region_filter_en.rs index f439765051..66abd3262b 100644 --- a/esp32h2/src/hp_apm/region_filter_en.rs +++ b/esp32h2/src/hp_apm/region_filter_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Region filter enable"] #[inline(always)] - #[must_use] pub fn region_filter_en(&mut self) -> REGION_FILTER_EN_W { REGION_FILTER_EN_W::new(self, 0) } diff --git a/esp32h2/src/hp_sys/clock_gate.rs b/esp32h2/src/hp_sys/clock_gate.rs index dbfbee8a56..da63d77246 100644 --- a/esp32h2/src/hp_sys/clock_gate.rs +++ b/esp32h2/src/hp_sys/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit as 1 to force on clock gating."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32h2/src/hp_sys/cpu_peri_timeout_conf.rs b/esp32h2/src/hp_sys/cpu_peri_timeout_conf.rs index a61f6fb225..d82a602da2 100644 --- a/esp32h2/src/hp_sys/cpu_peri_timeout_conf.rs +++ b/esp32h2/src/hp_sys/cpu_peri_timeout_conf.rs @@ -39,7 +39,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Set the timeout threshold for bus access, corresponding to the number of clock cycles of the clock domain."] #[inline(always)] - #[must_use] pub fn cpu_peri_timeout_thres( &mut self, ) -> CPU_PERI_TIMEOUT_THRES_W { @@ -47,7 +46,6 @@ impl W { } #[doc = "Bit 16 - Set this bit as 1 to clear timeout interrupt"] #[inline(always)] - #[must_use] pub fn cpu_peri_timeout_int_clear( &mut self, ) -> CPU_PERI_TIMEOUT_INT_CLEAR_W { @@ -55,7 +53,6 @@ impl W { } #[doc = "Bit 17 - Set this bit as 1 to enable timeout protection for accessing cpu peripheral registers"] #[inline(always)] - #[must_use] pub fn cpu_peri_timeout_protect_en( &mut self, ) -> CPU_PERI_TIMEOUT_PROTECT_EN_W { diff --git a/esp32h2/src/hp_sys/cpu_peri_timeout_uid.rs b/esp32h2/src/hp_sys/cpu_peri_timeout_uid.rs index c0461105dc..93887f6757 100644 --- a/esp32h2/src/hp_sys/cpu_peri_timeout_uid.rs +++ b/esp32h2/src/hp_sys/cpu_peri_timeout_uid.rs @@ -1,9 +1,9 @@ #[doc = "Register `CPU_PERI_TIMEOUT_UID` reader"] pub type R = crate::R; -#[doc = "Field `CPU_PERI_TIMEOUT_UID` reader - Record master id\\[4:0\\] & master permission\\[6:5\\] when trigger timeout. This register will be cleared after the interrupt is cleared."] +#[doc = "Field `CPU_PERI_TIMEOUT_UID` reader - Record master id\\[4:0\\] & master permission\\[6:5\\] when trigger timeout. This register will be cleared after the interrupt is cleared."] pub type CPU_PERI_TIMEOUT_UID_R = crate::FieldReader; impl R { - #[doc = "Bits 0:6 - Record master id\\[4:0\\] & master permission\\[6:5\\] when trigger timeout. This register will be cleared after the interrupt is cleared."] + #[doc = "Bits 0:6 - Record master id\\[4:0\\] & master permission\\[6:5\\] when trigger timeout. This register will be cleared after the interrupt is cleared."] #[inline(always)] pub fn cpu_peri_timeout_uid(&self) -> CPU_PERI_TIMEOUT_UID_R { CPU_PERI_TIMEOUT_UID_R::new((self.bits & 0x7f) as u8) diff --git a/esp32h2/src/hp_sys/date.rs b/esp32h2/src/hp_sys/date.rs index 57310ffb5c..695f249072 100644 --- a/esp32h2/src/hp_sys/date.rs +++ b/esp32h2/src/hp_sys/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - HP-SYSTEM date information/ HP-SYSTEM version information."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32h2/src/hp_sys/external_device_encrypt_decrypt_control.rs b/esp32h2/src/hp_sys/external_device_encrypt_decrypt_control.rs index e632dad5b0..52c1f0749c 100644 --- a/esp32h2/src/hp_sys/external_device_encrypt_decrypt_control.rs +++ b/esp32h2/src/hp_sys/external_device_encrypt_decrypt_control.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit as 1 to enable mspi xts manual encrypt in spi boot mode."] #[inline(always)] - #[must_use] pub fn enable_spi_manual_encrypt( &mut self, ) -> ENABLE_SPI_MANUAL_ENCRYPT_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 2 - Set this bit as 1 to enable mspi xts auto decrypt in download boot mode."] #[inline(always)] - #[must_use] pub fn enable_download_g0cb_decrypt( &mut self, ) -> ENABLE_DOWNLOAD_G0CB_DECRYPT_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bit 3 - Set this bit as 1 to enable mspi xts manual encrypt in download boot mode."] #[inline(always)] - #[must_use] pub fn enable_download_manual_encrypt( &mut self, ) -> ENABLE_DOWNLOAD_MANUAL_ENCRYPT_W { diff --git a/esp32h2/src/hp_sys/hp_peri_timeout_conf.rs b/esp32h2/src/hp_sys/hp_peri_timeout_conf.rs index 1658c8d481..7fa32ab548 100644 --- a/esp32h2/src/hp_sys/hp_peri_timeout_conf.rs +++ b/esp32h2/src/hp_sys/hp_peri_timeout_conf.rs @@ -39,13 +39,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Set the timeout threshold for bus access, corresponding to the number of clock cycles of the clock domain."] #[inline(always)] - #[must_use] pub fn hp_peri_timeout_thres(&mut self) -> HP_PERI_TIMEOUT_THRES_W { HP_PERI_TIMEOUT_THRES_W::new(self, 0) } #[doc = "Bit 16 - Set this bit as 1 to clear timeout interrupt"] #[inline(always)] - #[must_use] pub fn hp_peri_timeout_int_clear( &mut self, ) -> HP_PERI_TIMEOUT_INT_CLEAR_W { @@ -53,7 +51,6 @@ impl W { } #[doc = "Bit 17 - Set this bit as 1 to enable timeout protection for accessing hp peripheral registers"] #[inline(always)] - #[must_use] pub fn hp_peri_timeout_protect_en( &mut self, ) -> HP_PERI_TIMEOUT_PROTECT_EN_W { diff --git a/esp32h2/src/hp_sys/hp_peri_timeout_uid.rs b/esp32h2/src/hp_sys/hp_peri_timeout_uid.rs index 049b165bc0..da31ee8756 100644 --- a/esp32h2/src/hp_sys/hp_peri_timeout_uid.rs +++ b/esp32h2/src/hp_sys/hp_peri_timeout_uid.rs @@ -1,9 +1,9 @@ #[doc = "Register `HP_PERI_TIMEOUT_UID` reader"] pub type R = crate::R; -#[doc = "Field `HP_PERI_TIMEOUT_UID` reader - Record master id\\[4:0\\] & master permission\\[6:5\\] when trigger timeout. This register will be cleared after the interrupt is cleared."] +#[doc = "Field `HP_PERI_TIMEOUT_UID` reader - Record master id\\[4:0\\] & master permission\\[6:5\\] when trigger timeout. This register will be cleared after the interrupt is cleared."] pub type HP_PERI_TIMEOUT_UID_R = crate::FieldReader; impl R { - #[doc = "Bits 0:6 - Record master id\\[4:0\\] & master permission\\[6:5\\] when trigger timeout. This register will be cleared after the interrupt is cleared."] + #[doc = "Bits 0:6 - Record master id\\[4:0\\] & master permission\\[6:5\\] when trigger timeout. This register will be cleared after the interrupt is cleared."] #[inline(always)] pub fn hp_peri_timeout_uid(&self) -> HP_PERI_TIMEOUT_UID_R { HP_PERI_TIMEOUT_UID_R::new((self.bits & 0x7f) as u8) diff --git a/esp32h2/src/hp_sys/mem_test_conf.rs b/esp32h2/src/hp_sys/mem_test_conf.rs index b2a553b871..24dd020191 100644 --- a/esp32h2/src/hp_sys/mem_test_conf.rs +++ b/esp32h2/src/hp_sys/mem_test_conf.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - This field controls hp system memory WPULSE parameter. 0b000 for 1.1V/1.0V/0.9V operating Voltage."] #[inline(always)] - #[must_use] pub fn hp_mem_wpulse(&mut self) -> HP_MEM_WPULSE_W { HP_MEM_WPULSE_W::new(self, 0) } #[doc = "Bits 3:5 - This field controls hp system memory WA parameter. 0b100 for 1.1V operating Voltage, 0b101 for 1.0V, 0b110 for 0.9V."] #[inline(always)] - #[must_use] pub fn hp_mem_wa(&mut self) -> HP_MEM_WA_W { HP_MEM_WA_W::new(self, 3) } #[doc = "Bits 6:7 - This field controls hp system memory RA parameter. 0b00 for 1.1V/1.0V operating Voltage, 0b01 for 0.9V."] #[inline(always)] - #[must_use] pub fn hp_mem_ra(&mut self) -> HP_MEM_RA_W { HP_MEM_RA_W::new(self, 6) } #[doc = "Bits 8:11 - This field controls hp system memory RM parameter. 0b0011 for 1.1V operating Voltage, 0b0010 for 1.0V, 0b0000 for 0.9V."] #[inline(always)] - #[must_use] pub fn hp_mem_rm(&mut self) -> HP_MEM_RM_W { HP_MEM_RM_W::new(self, 8) } #[doc = "Bits 12:15 - This field controls rom RM parameter. 0b0011 for 1.1V operating Voltage, 0b0010 for 1.0V, 0b0010(default) or 0b0001(slow) for 0.9V."] #[inline(always)] - #[must_use] pub fn rom_rm(&mut self) -> ROM_RM_W { ROM_RM_W::new(self, 12) } diff --git a/esp32h2/src/hp_sys/rnd_eco.rs b/esp32h2/src/hp_sys/rnd_eco.rs index f80f827b72..7ed57514ff 100644 --- a/esp32h2/src/hp_sys/rnd_eco.rs +++ b/esp32h2/src/hp_sys/rnd_eco.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Only reserved for ECO."] #[inline(always)] - #[must_use] pub fn redcy_ena(&mut self) -> REDCY_ENA_W { REDCY_ENA_W::new(self, 0) } diff --git a/esp32h2/src/hp_sys/rnd_eco_high.rs b/esp32h2/src/hp_sys/rnd_eco_high.rs index 15c7ac517f..55940f0fc4 100644 --- a/esp32h2/src/hp_sys/rnd_eco_high.rs +++ b/esp32h2/src/hp_sys/rnd_eco_high.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Only reserved for ECO."] #[inline(always)] - #[must_use] pub fn redcy_high(&mut self) -> REDCY_HIGH_W { REDCY_HIGH_W::new(self, 0) } diff --git a/esp32h2/src/hp_sys/rnd_eco_low.rs b/esp32h2/src/hp_sys/rnd_eco_low.rs index 1c9da67470..ff59688040 100644 --- a/esp32h2/src/hp_sys/rnd_eco_low.rs +++ b/esp32h2/src/hp_sys/rnd_eco_low.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Only reserved for ECO."] #[inline(always)] - #[must_use] pub fn redcy_low(&mut self) -> REDCY_LOW_W { REDCY_LOW_W::new(self, 0) } diff --git a/esp32h2/src/hp_sys/rom_table.rs b/esp32h2/src/hp_sys/rom_table.rs index a67d3526b1..fa82edaf6b 100644 --- a/esp32h2/src/hp_sys/rom_table.rs +++ b/esp32h2/src/hp_sys/rom_table.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - XXXX"] #[inline(always)] - #[must_use] pub fn rom_table(&mut self) -> ROM_TABLE_W { ROM_TABLE_W::new(self, 0) } diff --git a/esp32h2/src/hp_sys/rom_table_lock.rs b/esp32h2/src/hp_sys/rom_table_lock.rs index 810d9a1499..dbdeaf751a 100644 --- a/esp32h2/src/hp_sys/rom_table_lock.rs +++ b/esp32h2/src/hp_sys/rom_table_lock.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - XXXX"] #[inline(always)] - #[must_use] pub fn rom_table_lock(&mut self) -> ROM_TABLE_LOCK_W { ROM_TABLE_LOCK_W::new(self, 0) } diff --git a/esp32h2/src/hp_sys/sec_dpa_conf.rs b/esp32h2/src/hp_sys/sec_dpa_conf.rs index 2a479f7d42..0fdbc1c5bc 100644 --- a/esp32h2/src/hp_sys/sec_dpa_conf.rs +++ b/esp32h2/src/hp_sys/sec_dpa_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - 0: anti-DPA disable. 1~3: anti-DPA enable with different security level. The larger the number, the stronger the ability to resist DPA attacks and the higher the security level, but it will increase the computational overhead of the hardware crypto-accelerators. Only avaliable if HP_SYS_SEC_DPA_CFG_SEL is 0."] #[inline(always)] - #[must_use] pub fn sec_dpa_level(&mut self) -> SEC_DPA_LEVEL_W { SEC_DPA_LEVEL_W::new(self, 0) } #[doc = "Bit 2 - This field is used to select either HP_SYS_SEC_DPA_LEVEL or EFUSE_SEC_DPA_LEVEL (from efuse) to control dpa_level. 0: EFUSE_SEC_DPA_LEVEL, 1: HP_SYS_SEC_DPA_LEVEL."] #[inline(always)] - #[must_use] pub fn sec_dpa_cfg_sel(&mut self) -> SEC_DPA_CFG_SEL_W { SEC_DPA_CFG_SEL_W::new(self, 2) } diff --git a/esp32h2/src/hp_sys/sram_usage_conf.rs b/esp32h2/src/hp_sys/sram_usage_conf.rs index 20b65bb48b..0e6493801f 100644 --- a/esp32h2/src/hp_sys/sram_usage_conf.rs +++ b/esp32h2/src/hp_sys/sram_usage_conf.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 10:14 - 0: cpu use hp-memory. 1: mac-dump accessing hp-memory."] #[inline(always)] - #[must_use] pub fn sram_usage(&mut self) -> SRAM_USAGE_W { SRAM_USAGE_W::new(self, 10) } #[doc = "Bits 20:24 - reserved."] #[inline(always)] - #[must_use] pub fn mac_dump_alloc(&mut self) -> MAC_DUMP_ALLOC_W { MAC_DUMP_ALLOC_W::new(self, 20) } diff --git a/esp32h2/src/i2c0/clk_conf.rs b/esp32h2/src/i2c0/clk_conf.rs index 70fecdec18..238cb1aafd 100644 --- a/esp32h2/src/i2c0/clk_conf.rs +++ b/esp32h2/src/i2c0/clk_conf.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - the integral part of the fractional divisor for i2c module"] #[inline(always)] - #[must_use] pub fn sclk_div_num(&mut self) -> SCLK_DIV_NUM_W { SCLK_DIV_NUM_W::new(self, 0) } #[doc = "Bits 8:13 - the numerator of the fractional part of the fractional divisor for i2c module"] #[inline(always)] - #[must_use] pub fn sclk_div_a(&mut self) -> SCLK_DIV_A_W { SCLK_DIV_A_W::new(self, 8) } #[doc = "Bits 14:19 - the denominator of the fractional part of the fractional divisor for i2c module"] #[inline(always)] - #[must_use] pub fn sclk_div_b(&mut self) -> SCLK_DIV_B_W { SCLK_DIV_B_W::new(self, 14) } #[doc = "Bit 20 - The clock selection for i2c module:0-XTAL,1-CLK_8MHz."] #[inline(always)] - #[must_use] pub fn sclk_sel(&mut self) -> SCLK_SEL_W { SCLK_SEL_W::new(self, 20) } #[doc = "Bit 21 - The clock switch for i2c module"] #[inline(always)] - #[must_use] pub fn sclk_active(&mut self) -> SCLK_ACTIVE_W { SCLK_ACTIVE_W::new(self, 21) } diff --git a/esp32h2/src/i2c0/comd.rs b/esp32h2/src/i2c0/comd.rs index bb55c194e6..7dbcd9c95a 100644 --- a/esp32h2/src/i2c0/comd.rs +++ b/esp32h2/src/i2c0/comd.rs @@ -170,37 +170,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Number of bytes to be sent or received for command %s."] #[inline(always)] - #[must_use] pub fn byte_num(&mut self) -> BYTE_NUM_W { BYTE_NUM_W::new(self, 0) } #[doc = "Bit 8 - Acknowledge check enable for command %s."] #[inline(always)] - #[must_use] pub fn ack_check_en(&mut self) -> ACK_CHECK_EN_W { ACK_CHECK_EN_W::new(self, 8) } #[doc = "Bit 9 - Acknowledge expected for command %s."] #[inline(always)] - #[must_use] pub fn ack_exp(&mut self) -> ACK_EXP_W { ACK_EXP_W::new(self, 9) } #[doc = "Bit 10 - Acknowledge value for command %s."] #[inline(always)] - #[must_use] pub fn ack_value(&mut self) -> ACK_VALUE_W { ACK_VALUE_W::new(self, 10) } #[doc = "Bits 11:13 - Opcode part of command %s."] #[inline(always)] - #[must_use] pub fn opcode(&mut self) -> OPCODE_W { OPCODE_W::new(self, 11) } #[doc = "Bit 31 - When command 0 is done in I2C Master mode, this bit changes to high level."] #[inline(always)] - #[must_use] pub fn command_done(&mut self) -> COMMAND_DONE_W { COMMAND_DONE_W::new(self, 31) } diff --git a/esp32h2/src/i2c0/ctr.rs b/esp32h2/src/i2c0/ctr.rs index 736651f369..cf897b8de1 100644 --- a/esp32h2/src/i2c0/ctr.rs +++ b/esp32h2/src/i2c0/ctr.rs @@ -140,91 +140,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: direct output, 0: open drain output."] #[inline(always)] - #[must_use] pub fn sda_force_out(&mut self) -> SDA_FORCE_OUT_W { SDA_FORCE_OUT_W::new(self, 0) } #[doc = "Bit 1 - 1: direct output, 0: open drain output."] #[inline(always)] - #[must_use] pub fn scl_force_out(&mut self) -> SCL_FORCE_OUT_W { SCL_FORCE_OUT_W::new(self, 1) } #[doc = "Bit 2 - This register is used to select the sample mode. 1: sample SDA data on the SCL low level. 0: sample SDA data on the SCL high level."] #[inline(always)] - #[must_use] pub fn sample_scl_level(&mut self) -> SAMPLE_SCL_LEVEL_W { SAMPLE_SCL_LEVEL_W::new(self, 2) } #[doc = "Bit 3 - This register is used to configure the ACK value that need to sent by master when the rx_fifo_cnt has reached the threshold."] #[inline(always)] - #[must_use] pub fn rx_full_ack_level(&mut self) -> RX_FULL_ACK_LEVEL_W { RX_FULL_ACK_LEVEL_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to configure the module as an I2C Master. Clear this bit to configure the module as an I2C Slave."] #[inline(always)] - #[must_use] pub fn ms_mode(&mut self) -> MS_MODE_W { MS_MODE_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to start sending the data in txfifo."] #[inline(always)] - #[must_use] pub fn trans_start(&mut self) -> TRANS_START_W { TRANS_START_W::new(self, 5) } #[doc = "Bit 6 - This bit is used to control the sending mode for data needing to be sent. 1: send data from the least significant bit, 0: send data from the most significant bit."] #[inline(always)] - #[must_use] pub fn tx_lsb_first(&mut self) -> TX_LSB_FIRST_W { TX_LSB_FIRST_W::new(self, 6) } #[doc = "Bit 7 - This bit is used to control the storage mode for received data. 1: receive data from the least significant bit, 0: receive data from the most significant bit."] #[inline(always)] - #[must_use] pub fn rx_lsb_first(&mut self) -> RX_LSB_FIRST_W { RX_LSB_FIRST_W::new(self, 7) } #[doc = "Bit 8 - Reserved"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 8) } #[doc = "Bit 9 - This is the enable bit for arbitration_lost."] #[inline(always)] - #[must_use] pub fn arbitration_en(&mut self) -> ARBITRATION_EN_W { ARBITRATION_EN_W::new(self, 9) } #[doc = "Bit 10 - This register is used to reset the scl FMS."] #[inline(always)] - #[must_use] pub fn fsm_rst(&mut self) -> FSM_RST_W { FSM_RST_W::new(self, 10) } #[doc = "Bit 11 - synchronization bit"] #[inline(always)] - #[must_use] pub fn conf_upgate(&mut self) -> CONF_UPGATE_W { CONF_UPGATE_W::new(self, 11) } #[doc = "Bit 12 - This is the enable bit for slave to send data automatically"] #[inline(always)] - #[must_use] pub fn slv_tx_auto_start_en(&mut self) -> SLV_TX_AUTO_START_EN_W { SLV_TX_AUTO_START_EN_W::new(self, 12) } #[doc = "Bit 13 - This is the enable bit to check if the r/w bit of 10bit addressing consists with I2C protocol"] #[inline(always)] - #[must_use] pub fn addr_10bit_rw_check_en(&mut self) -> ADDR_10BIT_RW_CHECK_EN_W { ADDR_10BIT_RW_CHECK_EN_W::new(self, 13) } #[doc = "Bit 14 - This is the enable bit to support the 7bit general call function."] #[inline(always)] - #[must_use] pub fn addr_broadcasting_en(&mut self) -> ADDR_BROADCASTING_EN_W { ADDR_BROADCASTING_EN_W::new(self, 14) } diff --git a/esp32h2/src/i2c0/data.rs b/esp32h2/src/i2c0/data.rs index 7b61d0c9b4..85e1cbdac8 100644 --- a/esp32h2/src/i2c0/data.rs +++ b/esp32h2/src/i2c0/data.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - The value of rx FIFO read data."] #[inline(always)] - #[must_use] pub fn fifo_rdata(&mut self) -> FIFO_RDATA_W { FIFO_RDATA_W::new(self, 0) } diff --git a/esp32h2/src/i2c0/date.rs b/esp32h2/src/i2c0/date.rs index 5675348261..1f53bf0a6b 100644 --- a/esp32h2/src/i2c0/date.rs +++ b/esp32h2/src/i2c0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This is the the version register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32h2/src/i2c0/fifo_conf.rs b/esp32h2/src/i2c0/fifo_conf.rs index 9f814ec804..178ec5c82b 100644 --- a/esp32h2/src/i2c0/fifo_conf.rs +++ b/esp32h2/src/i2c0/fifo_conf.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - The water mark threshold of rx FIFO in nonfifo access mode. When reg_reg_fifo_prt_en is 1 and rx FIFO counter is bigger than reg_rxfifo_wm_thrhd\\[4:0\\], reg_rxfifo_wm_int_raw bit will be valid."] #[inline(always)] - #[must_use] pub fn rxfifo_wm_thrhd(&mut self) -> RXFIFO_WM_THRHD_W { RXFIFO_WM_THRHD_W::new(self, 0) } #[doc = "Bits 5:9 - The water mark threshold of tx FIFO in nonfifo access mode. When reg_reg_fifo_prt_en is 1 and tx FIFO counter is smaller than reg_txfifo_wm_thrhd\\[4:0\\], reg_txfifo_wm_int_raw bit will be valid."] #[inline(always)] - #[must_use] pub fn txfifo_wm_thrhd(&mut self) -> TXFIFO_WM_THRHD_W { TXFIFO_WM_THRHD_W::new(self, 5) } #[doc = "Bit 10 - Set this bit to enable APB nonfifo access."] #[inline(always)] - #[must_use] pub fn nonfifo_en(&mut self) -> NONFIFO_EN_W { NONFIFO_EN_W::new(self, 10) } #[doc = "Bit 11 - When this bit is set to 1, the byte received after the I2C address byte represents the offset address in the I2C Slave RAM."] #[inline(always)] - #[must_use] pub fn fifo_addr_cfg_en(&mut self) -> FIFO_ADDR_CFG_EN_W { FIFO_ADDR_CFG_EN_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to reset rx-fifo."] #[inline(always)] - #[must_use] pub fn rx_fifo_rst(&mut self) -> RX_FIFO_RST_W { RX_FIFO_RST_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to reset tx-fifo."] #[inline(always)] - #[must_use] pub fn tx_fifo_rst(&mut self) -> TX_FIFO_RST_W { TX_FIFO_RST_W::new(self, 13) } #[doc = "Bit 14 - The control enable bit of FIFO pointer in non-fifo access mode. This bit controls the valid bits and the interrupts of tx/rx_fifo overflow, underflow, full and empty."] #[inline(always)] - #[must_use] pub fn fifo_prt_en(&mut self) -> FIFO_PRT_EN_W { FIFO_PRT_EN_W::new(self, 14) } diff --git a/esp32h2/src/i2c0/filter_cfg.rs b/esp32h2/src/i2c0/filter_cfg.rs index bfac5394cd..03c1bda7ac 100644 --- a/esp32h2/src/i2c0/filter_cfg.rs +++ b/esp32h2/src/i2c0/filter_cfg.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - When a pulse on the SCL input has smaller width than this register value in I2C module clock cycles, the I2C controller will ignore that pulse."] #[inline(always)] - #[must_use] pub fn scl_filter_thres(&mut self) -> SCL_FILTER_THRES_W { SCL_FILTER_THRES_W::new(self, 0) } #[doc = "Bits 4:7 - When a pulse on the SDA input has smaller width than this register value in I2C module clock cycles, the I2C controller will ignore that pulse."] #[inline(always)] - #[must_use] pub fn sda_filter_thres(&mut self) -> SDA_FILTER_THRES_W { SDA_FILTER_THRES_W::new(self, 4) } #[doc = "Bit 8 - This is the filter enable bit for SCL."] #[inline(always)] - #[must_use] pub fn scl_filter_en(&mut self) -> SCL_FILTER_EN_W { SCL_FILTER_EN_W::new(self, 8) } #[doc = "Bit 9 - This is the filter enable bit for SDA."] #[inline(always)] - #[must_use] pub fn sda_filter_en(&mut self) -> SDA_FILTER_EN_W { SDA_FILTER_EN_W::new(self, 9) } diff --git a/esp32h2/src/i2c0/int_clr.rs b/esp32h2/src/i2c0/int_clr.rs index 8b45b5fe75..e26508659e 100644 --- a/esp32h2/src/i2c0/int_clr.rs +++ b/esp32h2/src/i2c0/int_clr.rs @@ -47,115 +47,96 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear I2C_RXFIFO_WM_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_wm(&mut self) -> RXFIFO_WM_W { RXFIFO_WM_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear I2C_TXFIFO_WM_INT interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_wm(&mut self) -> TXFIFO_WM_W { TXFIFO_WM_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear I2C_RXFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the I2C_END_DETECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn end_detect(&mut self) -> END_DETECT_W { END_DETECT_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear the I2C_END_DETECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn byte_trans_done(&mut self) -> BYTE_TRANS_DONE_W { BYTE_TRANS_DONE_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the I2C_ARBITRATION_LOST_INT interrupt."] #[inline(always)] - #[must_use] pub fn arbitration_lost(&mut self) -> ARBITRATION_LOST_W { ARBITRATION_LOST_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear I2C_TRANS_COMPLETE_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_txfifo_udf(&mut self) -> MST_TXFIFO_UDF_W { MST_TXFIFO_UDF_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the I2C_TRANS_COMPLETE_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_complete(&mut self) -> TRANS_COMPLETE_W { TRANS_COMPLETE_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the I2C_TIME_OUT_INT interrupt."] #[inline(always)] - #[must_use] pub fn time_out(&mut self) -> TIME_OUT_W { TIME_OUT_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear the I2C_TRANS_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_start(&mut self) -> TRANS_START_W { TRANS_START_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to clear I2C_SLAVE_STRETCH_INT interrupt."] #[inline(always)] - #[must_use] pub fn nack(&mut self) -> NACK_W { NACK_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear I2C_TXFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_ovf(&mut self) -> TXFIFO_OVF_W { TXFIFO_OVF_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to clear I2C_RXFIFO_UDF_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_udf(&mut self) -> RXFIFO_UDF_W { RXFIFO_UDF_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to clear I2C_SCL_ST_TO_INT interrupt."] #[inline(always)] - #[must_use] pub fn scl_st_to(&mut self) -> SCL_ST_TO_W { SCL_ST_TO_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to clear I2C_SCL_MAIN_ST_TO_INT interrupt."] #[inline(always)] - #[must_use] pub fn scl_main_st_to(&mut self) -> SCL_MAIN_ST_TO_W { SCL_MAIN_ST_TO_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to clear I2C_DET_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn det_start(&mut self) -> DET_START_W { DET_START_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to clear I2C_SLAVE_STRETCH_INT interrupt."] #[inline(always)] - #[must_use] pub fn slave_stretch(&mut self) -> SLAVE_STRETCH_W { SLAVE_STRETCH_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to clear I2C_GENARAL_CALL_INT interrupt."] #[inline(always)] - #[must_use] pub fn general_call(&mut self) -> GENERAL_CALL_W { GENERAL_CALL_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to clear I2C_SLAVE_ADDR_UNMATCH_INT_RAW interrupt."] #[inline(always)] - #[must_use] pub fn slave_addr_unmatch(&mut self) -> SLAVE_ADDR_UNMATCH_W { SLAVE_ADDR_UNMATCH_W::new(self, 18) } diff --git a/esp32h2/src/i2c0/int_ena.rs b/esp32h2/src/i2c0/int_ena.rs index dbd33c42dd..805a65204c 100644 --- a/esp32h2/src/i2c0/int_ena.rs +++ b/esp32h2/src/i2c0/int_ena.rs @@ -204,115 +204,96 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for I2C_RXFIFO_WM_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_wm(&mut self) -> RXFIFO_WM_W { RXFIFO_WM_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for I2C_TXFIFO_WM_INT interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_wm(&mut self) -> TXFIFO_WM_W { TXFIFO_WM_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for I2C_RXFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the I2C_END_DETECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn end_detect(&mut self) -> END_DETECT_W { END_DETECT_W::new(self, 3) } #[doc = "Bit 4 - The interrupt enable bit for the I2C_END_DETECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn byte_trans_done(&mut self) -> BYTE_TRANS_DONE_W { BYTE_TRANS_DONE_W::new(self, 4) } #[doc = "Bit 5 - The interrupt enable bit for the I2C_ARBITRATION_LOST_INT interrupt."] #[inline(always)] - #[must_use] pub fn arbitration_lost(&mut self) -> ARBITRATION_LOST_W { ARBITRATION_LOST_W::new(self, 5) } #[doc = "Bit 6 - The interrupt enable bit for I2C_TRANS_COMPLETE_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_txfifo_udf(&mut self) -> MST_TXFIFO_UDF_W { MST_TXFIFO_UDF_W::new(self, 6) } #[doc = "Bit 7 - The interrupt enable bit for the I2C_TRANS_COMPLETE_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_complete(&mut self) -> TRANS_COMPLETE_W { TRANS_COMPLETE_W::new(self, 7) } #[doc = "Bit 8 - The interrupt enable bit for the I2C_TIME_OUT_INT interrupt."] #[inline(always)] - #[must_use] pub fn time_out(&mut self) -> TIME_OUT_W { TIME_OUT_W::new(self, 8) } #[doc = "Bit 9 - The interrupt enable bit for the I2C_TRANS_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_start(&mut self) -> TRANS_START_W { TRANS_START_W::new(self, 9) } #[doc = "Bit 10 - The interrupt enable bit for I2C_SLAVE_STRETCH_INT interrupt."] #[inline(always)] - #[must_use] pub fn nack(&mut self) -> NACK_W { NACK_W::new(self, 10) } #[doc = "Bit 11 - The interrupt enable bit for I2C_TXFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_ovf(&mut self) -> TXFIFO_OVF_W { TXFIFO_OVF_W::new(self, 11) } #[doc = "Bit 12 - The interrupt enable bit for I2C_RXFIFO_UDF_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_udf(&mut self) -> RXFIFO_UDF_W { RXFIFO_UDF_W::new(self, 12) } #[doc = "Bit 13 - The interrupt enable bit for I2C_SCL_ST_TO_INT interrupt."] #[inline(always)] - #[must_use] pub fn scl_st_to(&mut self) -> SCL_ST_TO_W { SCL_ST_TO_W::new(self, 13) } #[doc = "Bit 14 - The interrupt enable bit for I2C_SCL_MAIN_ST_TO_INT interrupt."] #[inline(always)] - #[must_use] pub fn scl_main_st_to(&mut self) -> SCL_MAIN_ST_TO_W { SCL_MAIN_ST_TO_W::new(self, 14) } #[doc = "Bit 15 - The interrupt enable bit for I2C_DET_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn det_start(&mut self) -> DET_START_W { DET_START_W::new(self, 15) } #[doc = "Bit 16 - The interrupt enable bit for I2C_SLAVE_STRETCH_INT interrupt."] #[inline(always)] - #[must_use] pub fn slave_stretch(&mut self) -> SLAVE_STRETCH_W { SLAVE_STRETCH_W::new(self, 16) } #[doc = "Bit 17 - The interrupt enable bit for I2C_GENARAL_CALL_INT interrupt."] #[inline(always)] - #[must_use] pub fn general_call(&mut self) -> GENERAL_CALL_W { GENERAL_CALL_W::new(self, 17) } #[doc = "Bit 18 - The interrupt enable bit for I2C_SLAVE_ADDR_UNMATCH_INT interrupt."] #[inline(always)] - #[must_use] pub fn slave_addr_unmatch(&mut self) -> SLAVE_ADDR_UNMATCH_W { SLAVE_ADDR_UNMATCH_W::new(self, 18) } diff --git a/esp32h2/src/i2c0/scl_high_period.rs b/esp32h2/src/i2c0/scl_high_period.rs index de59a22f03..7f223ad3d7 100644 --- a/esp32h2/src/i2c0/scl_high_period.rs +++ b/esp32h2/src/i2c0/scl_high_period.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure for how long SCL remains high in master mode, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn scl_high_period(&mut self) -> SCL_HIGH_PERIOD_W { SCL_HIGH_PERIOD_W::new(self, 0) } #[doc = "Bits 9:15 - This register is used to configure for the SCL_FSM's waiting period for SCL high level in master mode, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn scl_wait_high_period(&mut self) -> SCL_WAIT_HIGH_PERIOD_W { SCL_WAIT_HIGH_PERIOD_W::new(self, 9) } diff --git a/esp32h2/src/i2c0/scl_low_period.rs b/esp32h2/src/i2c0/scl_low_period.rs index f8d802b480..9874b6f962 100644 --- a/esp32h2/src/i2c0/scl_low_period.rs +++ b/esp32h2/src/i2c0/scl_low_period.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure for how long SCL remains low in master mode, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn scl_low_period(&mut self) -> SCL_LOW_PERIOD_W { SCL_LOW_PERIOD_W::new(self, 0) } diff --git a/esp32h2/src/i2c0/scl_main_st_time_out.rs b/esp32h2/src/i2c0/scl_main_st_time_out.rs index 4b94a84d01..c96787154f 100644 --- a/esp32h2/src/i2c0/scl_main_st_time_out.rs +++ b/esp32h2/src/i2c0/scl_main_st_time_out.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - The threshold value of SCL_MAIN_FSM state unchanged period.nIt should be o more than 23"] #[inline(always)] - #[must_use] pub fn scl_main_st_to_i2c(&mut self) -> SCL_MAIN_ST_TO_I2C_W { SCL_MAIN_ST_TO_I2C_W::new(self, 0) } diff --git a/esp32h2/src/i2c0/scl_rstart_setup.rs b/esp32h2/src/i2c0/scl_rstart_setup.rs index c1a7053eec..203436a57b 100644 --- a/esp32h2/src/i2c0/scl_rstart_setup.rs +++ b/esp32h2/src/i2c0/scl_rstart_setup.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure the time between the positive edge of SCL and the negative edge of SDA for a RESTART condition, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32h2/src/i2c0/scl_sp_conf.rs b/esp32h2/src/i2c0/scl_sp_conf.rs index ed2452044b..dbc65b04e9 100644 --- a/esp32h2/src/i2c0/scl_sp_conf.rs +++ b/esp32h2/src/i2c0/scl_sp_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - When I2C master is IDLE, set this bit to send out SCL pulses. The number of pulses equals to reg_scl_rst_slv_num\\[4:0\\]."] #[inline(always)] - #[must_use] pub fn scl_rst_slv_en(&mut self) -> SCL_RST_SLV_EN_W { SCL_RST_SLV_EN_W::new(self, 0) } #[doc = "Bits 1:5 - Configure the pulses of SCL generated in I2C master mode. Valid when reg_scl_rst_slv_en is 1."] #[inline(always)] - #[must_use] pub fn scl_rst_slv_num(&mut self) -> SCL_RST_SLV_NUM_W { SCL_RST_SLV_NUM_W::new(self, 1) } #[doc = "Bit 6 - The power down enable bit for the I2C output SCL line. 1: Power down. 0: Not power down. Set reg_scl_force_out and reg_scl_pd_en to 1 to stretch SCL low."] #[inline(always)] - #[must_use] pub fn scl_pd_en(&mut self) -> SCL_PD_EN_W { SCL_PD_EN_W::new(self, 6) } #[doc = "Bit 7 - The power down enable bit for the I2C output SDA line. 1: Power down. 0: Not power down. Set reg_sda_force_out and reg_sda_pd_en to 1 to stretch SDA low."] #[inline(always)] - #[must_use] pub fn sda_pd_en(&mut self) -> SDA_PD_EN_W { SDA_PD_EN_W::new(self, 7) } diff --git a/esp32h2/src/i2c0/scl_st_time_out.rs b/esp32h2/src/i2c0/scl_st_time_out.rs index 5d5bb0cdf0..2c4ef3d12d 100644 --- a/esp32h2/src/i2c0/scl_st_time_out.rs +++ b/esp32h2/src/i2c0/scl_st_time_out.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - The threshold value of SCL_FSM state unchanged period. It should be o more than 23"] #[inline(always)] - #[must_use] pub fn scl_st_to_i2c(&mut self) -> SCL_ST_TO_I2C_W { SCL_ST_TO_I2C_W::new(self, 0) } diff --git a/esp32h2/src/i2c0/scl_start_hold.rs b/esp32h2/src/i2c0/scl_start_hold.rs index 9c5229f113..efdfbc194d 100644 --- a/esp32h2/src/i2c0/scl_start_hold.rs +++ b/esp32h2/src/i2c0/scl_start_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure the time between the negative edge of SDA and the negative edge of SCL for a START condition, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32h2/src/i2c0/scl_stop_hold.rs b/esp32h2/src/i2c0/scl_stop_hold.rs index da01c0553d..df2ba1ff1a 100644 --- a/esp32h2/src/i2c0/scl_stop_hold.rs +++ b/esp32h2/src/i2c0/scl_stop_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure the delay after the STOP condition, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32h2/src/i2c0/scl_stop_setup.rs b/esp32h2/src/i2c0/scl_stop_setup.rs index cfa05ff67e..d1db579730 100644 --- a/esp32h2/src/i2c0/scl_stop_setup.rs +++ b/esp32h2/src/i2c0/scl_stop_setup.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure the time between the positive edge of SCL and the positive edge of SDA, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32h2/src/i2c0/scl_stretch_conf.rs b/esp32h2/src/i2c0/scl_stretch_conf.rs index 729b74ea69..8b037fc596 100644 --- a/esp32h2/src/i2c0/scl_stretch_conf.rs +++ b/esp32h2/src/i2c0/scl_stretch_conf.rs @@ -56,31 +56,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - Configure the period of I2C slave stretching SCL line."] #[inline(always)] - #[must_use] pub fn stretch_protect_num(&mut self) -> STRETCH_PROTECT_NUM_W { STRETCH_PROTECT_NUM_W::new(self, 0) } #[doc = "Bit 10 - The enable bit for slave SCL stretch function. 1: Enable. 0: Disable. The SCL output line will be stretched low when reg_slave_scl_stretch_en is 1 and stretch event happens. The stretch cause can be seen in reg_stretch_cause."] #[inline(always)] - #[must_use] pub fn slave_scl_stretch_en(&mut self) -> SLAVE_SCL_STRETCH_EN_W { SLAVE_SCL_STRETCH_EN_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear the I2C slave SCL stretch function."] #[inline(always)] - #[must_use] pub fn slave_scl_stretch_clr(&mut self) -> SLAVE_SCL_STRETCH_CLR_W { SLAVE_SCL_STRETCH_CLR_W::new(self, 11) } #[doc = "Bit 12 - The enable bit for slave to control ACK level function."] #[inline(always)] - #[must_use] pub fn slave_byte_ack_ctl_en(&mut self) -> SLAVE_BYTE_ACK_CTL_EN_W { SLAVE_BYTE_ACK_CTL_EN_W::new(self, 12) } #[doc = "Bit 13 - Set the ACK level when slave controlling ACK level function enables."] #[inline(always)] - #[must_use] pub fn slave_byte_ack_lvl(&mut self) -> SLAVE_BYTE_ACK_LVL_W { SLAVE_BYTE_ACK_LVL_W::new(self, 13) } diff --git a/esp32h2/src/i2c0/sda_hold.rs b/esp32h2/src/i2c0/sda_hold.rs index a0d78acbb9..4a67e2222b 100644 --- a/esp32h2/src/i2c0/sda_hold.rs +++ b/esp32h2/src/i2c0/sda_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure the time to hold the data after the negative edge of SCL, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32h2/src/i2c0/sda_sample.rs b/esp32h2/src/i2c0/sda_sample.rs index b03e34e366..b211168b11 100644 --- a/esp32h2/src/i2c0/sda_sample.rs +++ b/esp32h2/src/i2c0/sda_sample.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure for how long SDA is sampled, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32h2/src/i2c0/slave_addr.rs b/esp32h2/src/i2c0/slave_addr.rs index ee01a15ed5..1b27ba5ce3 100644 --- a/esp32h2/src/i2c0/slave_addr.rs +++ b/esp32h2/src/i2c0/slave_addr.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:14 - When configured as an I2C Slave, this field is used to configure the slave address."] #[inline(always)] - #[must_use] pub fn slave_addr(&mut self) -> SLAVE_ADDR_W { SLAVE_ADDR_W::new(self, 0) } #[doc = "Bit 31 - This field is used to enable the slave 10-bit addressing mode in master mode."] #[inline(always)] - #[must_use] pub fn addr_10bit_en(&mut self) -> ADDR_10BIT_EN_W { ADDR_10BIT_EN_W::new(self, 31) } diff --git a/esp32h2/src/i2c0/to.rs b/esp32h2/src/i2c0/to.rs index 9b92f1f93a..aa23944258 100644 --- a/esp32h2/src/i2c0/to.rs +++ b/esp32h2/src/i2c0/to.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to configure the timeout for receiving a data bit in APB clock cycles."] #[inline(always)] - #[must_use] pub fn time_out_value(&mut self) -> TIME_OUT_VALUE_W { TIME_OUT_VALUE_W::new(self, 0) } #[doc = "Bit 5 - This is the enable bit for time out control."] #[inline(always)] - #[must_use] pub fn time_out_en(&mut self) -> TIME_OUT_EN_W { TIME_OUT_EN_W::new(self, 5) } diff --git a/esp32h2/src/i2s0/conf_sigle_data.rs b/esp32h2/src/i2s0/conf_sigle_data.rs index 50a4d005f8..27ac6bf4a9 100644 --- a/esp32h2/src/i2s0/conf_sigle_data.rs +++ b/esp32h2/src/i2s0/conf_sigle_data.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The configured constant channel data to be sent out."] #[inline(always)] - #[must_use] pub fn single_data(&mut self) -> SINGLE_DATA_W { SINGLE_DATA_W::new(self, 0) } diff --git a/esp32h2/src/i2s0/date.rs b/esp32h2/src/i2s0/date.rs index 07b316f8b0..33bb8598f6 100644 --- a/esp32h2/src/i2s0/date.rs +++ b/esp32h2/src/i2s0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - I2S version control register"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32h2/src/i2s0/etm_conf.rs b/esp32h2/src/i2s0/etm_conf.rs index c29f755899..8e6f914a70 100644 --- a/esp32h2/src/i2s0/etm_conf.rs +++ b/esp32h2/src/i2s0/etm_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - I2S ETM send x words event. When sending word number of reg_etm_tx_send_word_num\\[9:0\\], i2s will trigger an etm event."] #[inline(always)] - #[must_use] pub fn etm_tx_send_word_num(&mut self) -> ETM_TX_SEND_WORD_NUM_W { ETM_TX_SEND_WORD_NUM_W::new(self, 0) } #[doc = "Bits 10:19 - I2S ETM receive x words event. When receiving word number of reg_etm_rx_receive_word_num\\[9:0\\], i2s will trigger an etm event."] #[inline(always)] - #[must_use] pub fn etm_rx_receive_word_num(&mut self) -> ETM_RX_RECEIVE_WORD_NUM_W { ETM_RX_RECEIVE_WORD_NUM_W::new(self, 10) } diff --git a/esp32h2/src/i2s0/int_clr.rs b/esp32h2/src/i2s0/int_clr.rs index c3a99c694f..1719a408f1 100644 --- a/esp32h2/src/i2s0/int_clr.rs +++ b/esp32h2/src/i2s0/int_clr.rs @@ -17,25 +17,21 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the i2s_rx_done_int interrupt"] #[inline(always)] - #[must_use] pub fn rx_done(&mut self) -> RX_DONE_W { RX_DONE_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the i2s_tx_done_int interrupt"] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the i2s_rx_hung_int interrupt"] #[inline(always)] - #[must_use] pub fn rx_hung(&mut self) -> RX_HUNG_W { RX_HUNG_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the i2s_tx_hung_int interrupt"] #[inline(always)] - #[must_use] pub fn tx_hung(&mut self) -> TX_HUNG_W { TX_HUNG_W::new(self, 3) } diff --git a/esp32h2/src/i2s0/int_ena.rs b/esp32h2/src/i2s0/int_ena.rs index 0f2bb7d8e0..c87530a8a6 100644 --- a/esp32h2/src/i2s0/int_ena.rs +++ b/esp32h2/src/i2s0/int_ena.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for the i2s_rx_done_int interrupt"] #[inline(always)] - #[must_use] pub fn rx_done(&mut self) -> RX_DONE_W { RX_DONE_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the i2s_tx_done_int interrupt"] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the i2s_rx_hung_int interrupt"] #[inline(always)] - #[must_use] pub fn rx_hung(&mut self) -> RX_HUNG_W { RX_HUNG_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the i2s_tx_hung_int interrupt"] #[inline(always)] - #[must_use] pub fn tx_hung(&mut self) -> TX_HUNG_W { TX_HUNG_W::new(self, 3) } diff --git a/esp32h2/src/i2s0/lc_hung_conf.rs b/esp32h2/src/i2s0/lc_hung_conf.rs index 187de6aa6f..323187c7df 100644 --- a/esp32h2/src/i2s0/lc_hung_conf.rs +++ b/esp32h2/src/i2s0/lc_hung_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - the i2s_tx_hung_int interrupt or the i2s_rx_hung_int interrupt will be triggered when fifo hung counter is equal to this value"] #[inline(always)] - #[must_use] pub fn lc_fifo_timeout(&mut self) -> LC_FIFO_TIMEOUT_W { LC_FIFO_TIMEOUT_W::new(self, 0) } #[doc = "Bits 8:10 - The bits are used to scale tick counter threshold. The tick counter is reset when counter value >= 88000/2^i2s_lc_fifo_timeout_shift"] #[inline(always)] - #[must_use] pub fn lc_fifo_timeout_shift(&mut self) -> LC_FIFO_TIMEOUT_SHIFT_W { LC_FIFO_TIMEOUT_SHIFT_W::new(self, 8) } #[doc = "Bit 11 - The enable bit for FIFO timeout"] #[inline(always)] - #[must_use] pub fn lc_fifo_timeout_ena(&mut self) -> LC_FIFO_TIMEOUT_ENA_W { LC_FIFO_TIMEOUT_ENA_W::new(self, 11) } diff --git a/esp32h2/src/i2s0/rx_clkm_conf.rs b/esp32h2/src/i2s0/rx_clkm_conf.rs index 89f45bca23..140e2179d1 100644 --- a/esp32h2/src/i2s0/rx_clkm_conf.rs +++ b/esp32h2/src/i2s0/rx_clkm_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Integral I2S clock divider value"] #[inline(always)] - #[must_use] pub fn rx_clkm_div_num(&mut self) -> RX_CLKM_DIV_NUM_W { RX_CLKM_DIV_NUM_W::new(self, 0) } #[doc = "Bit 26 - I2S Rx module clock enable signal."] #[inline(always)] - #[must_use] pub fn rx_clk_active(&mut self) -> RX_CLK_ACTIVE_W { RX_CLK_ACTIVE_W::new(self, 26) } #[doc = "Bits 27:28 - Select I2S Rx module source clock. 0: no clock. 1: APLL. 2: CLK160. 3: I2S_MCLK_in."] #[inline(always)] - #[must_use] pub fn rx_clk_sel(&mut self) -> RX_CLK_SEL_W { RX_CLK_SEL_W::new(self, 27) } #[doc = "Bit 29 - 0: UseI2S Tx module clock as I2S_MCLK_OUT. 1: UseI2S Rx module clock as I2S_MCLK_OUT."] #[inline(always)] - #[must_use] pub fn mclk_sel(&mut self) -> MCLK_SEL_W { MCLK_SEL_W::new(self, 29) } diff --git a/esp32h2/src/i2s0/rx_clkm_div_conf.rs b/esp32h2/src/i2s0/rx_clkm_div_conf.rs index 8ebfa2b7d2..c14256acfa 100644 --- a/esp32h2/src/i2s0/rx_clkm_div_conf.rs +++ b/esp32h2/src/i2s0/rx_clkm_div_conf.rs @@ -2,39 +2,39 @@ pub type R = crate::R; #[doc = "Register `RX_CLKM_DIV_CONF` writer"] pub type W = crate::W; -#[doc = "Field `RX_CLKM_DIV_Z` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] +#[doc = "Field `RX_CLKM_DIV_Z` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] pub type RX_CLKM_DIV_Z_R = crate::FieldReader; -#[doc = "Field `RX_CLKM_DIV_Z` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] +#[doc = "Field `RX_CLKM_DIV_Z` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] pub type RX_CLKM_DIV_Z_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `RX_CLKM_DIV_Y` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] +#[doc = "Field `RX_CLKM_DIV_Y` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] pub type RX_CLKM_DIV_Y_R = crate::FieldReader; -#[doc = "Field `RX_CLKM_DIV_Y` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] +#[doc = "Field `RX_CLKM_DIV_Y` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] pub type RX_CLKM_DIV_Y_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `RX_CLKM_DIV_X` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] +#[doc = "Field `RX_CLKM_DIV_X` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] pub type RX_CLKM_DIV_X_R = crate::FieldReader; -#[doc = "Field `RX_CLKM_DIV_X` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] +#[doc = "Field `RX_CLKM_DIV_X` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] pub type RX_CLKM_DIV_X_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `RX_CLKM_DIV_YN1` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] +#[doc = "Field `RX_CLKM_DIV_YN1` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] pub type RX_CLKM_DIV_YN1_R = crate::BitReader; -#[doc = "Field `RX_CLKM_DIV_YN1` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] +#[doc = "Field `RX_CLKM_DIV_YN1` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] pub type RX_CLKM_DIV_YN1_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { - #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] + #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] #[inline(always)] pub fn rx_clkm_div_z(&self) -> RX_CLKM_DIV_Z_R { RX_CLKM_DIV_Z_R::new((self.bits & 0x01ff) as u16) } - #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] + #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] #[inline(always)] pub fn rx_clkm_div_y(&self) -> RX_CLKM_DIV_Y_R { RX_CLKM_DIV_Y_R::new(((self.bits >> 9) & 0x01ff) as u16) } - #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] + #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] #[inline(always)] pub fn rx_clkm_div_x(&self) -> RX_CLKM_DIV_X_R { RX_CLKM_DIV_X_R::new(((self.bits >> 18) & 0x01ff) as u16) } - #[doc = "Bit 27 - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] + #[doc = "Bit 27 - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] #[inline(always)] pub fn rx_clkm_div_yn1(&self) -> RX_CLKM_DIV_YN1_R { RX_CLKM_DIV_YN1_R::new(((self.bits >> 27) & 1) != 0) @@ -52,27 +52,23 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] + #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] #[inline(always)] - #[must_use] pub fn rx_clkm_div_z(&mut self) -> RX_CLKM_DIV_Z_W { RX_CLKM_DIV_Z_W::new(self, 0) } - #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] + #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] #[inline(always)] - #[must_use] pub fn rx_clkm_div_y(&mut self) -> RX_CLKM_DIV_Y_W { RX_CLKM_DIV_Y_W::new(self, 9) } - #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] + #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] #[inline(always)] - #[must_use] pub fn rx_clkm_div_x(&mut self) -> RX_CLKM_DIV_X_W { RX_CLKM_DIV_X_W::new(self, 18) } - #[doc = "Bit 27 - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] + #[doc = "Bit 27 - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] #[inline(always)] - #[must_use] pub fn rx_clkm_div_yn1(&mut self) -> RX_CLKM_DIV_YN1_W { RX_CLKM_DIV_YN1_W::new(self, 27) } diff --git a/esp32h2/src/i2s0/rx_conf.rs b/esp32h2/src/i2s0/rx_conf.rs index a08898e2b0..b918262d6b 100644 --- a/esp32h2/src/i2s0/rx_conf.rs +++ b/esp32h2/src/i2s0/rx_conf.rs @@ -34,9 +34,9 @@ pub type RX_UPDATE_W<'a, REG> = crate::BitWriter<'a, REG>; pub type RX_MONO_FST_VLD_R = crate::BitReader; #[doc = "Field `RX_MONO_FST_VLD` writer - 1: The first channel data value is valid in I2S RX mono mode. 0: The second channel data value is valid in I2S RX mono mode."] pub type RX_MONO_FST_VLD_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `RX_PCM_CONF` reader - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] +#[doc = "Field `RX_PCM_CONF` reader - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] pub type RX_PCM_CONF_R = crate::FieldReader; -#[doc = "Field `RX_PCM_CONF` writer - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] +#[doc = "Field `RX_PCM_CONF` writer - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] pub type RX_PCM_CONF_W<'a, REG> = crate::FieldWriter<'a, REG, 2>; #[doc = "Field `RX_PCM_BYPASS` reader - Set this bit to bypass Compress/Decompress module for received data."] pub type RX_PCM_BYPASS_R = crate::BitReader; @@ -110,7 +110,7 @@ impl R { pub fn rx_mono_fst_vld(&self) -> RX_MONO_FST_VLD_R { RX_MONO_FST_VLD_R::new(((self.bits >> 9) & 1) != 0) } - #[doc = "Bits 10:11 - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] + #[doc = "Bits 10:11 - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] #[inline(always)] pub fn rx_pcm_conf(&self) -> RX_PCM_CONF_R { RX_PCM_CONF_R::new(((self.bits >> 10) & 3) as u8) @@ -188,115 +188,96 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to reset receiver"] #[inline(always)] - #[must_use] pub fn rx_reset(&mut self) -> RX_RESET_W { RX_RESET_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to reset Rx AFIFO"] #[inline(always)] - #[must_use] pub fn rx_fifo_reset(&mut self) -> RX_FIFO_RESET_W { RX_FIFO_RESET_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to start receiving data"] #[inline(always)] - #[must_use] pub fn rx_start(&mut self) -> RX_START_W { RX_START_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to enable slave receiver mode"] #[inline(always)] - #[must_use] pub fn rx_slave_mod(&mut self) -> RX_SLAVE_MOD_W { RX_SLAVE_MOD_W::new(self, 3) } #[doc = "Bits 4:5 - 0 : I2S Rx only stop when reg_rx_start is cleared. 1: Stop when reg_rx_start is 0 or in_suc_eof is 1. 2: Stop I2S RX when reg_rx_start is 0 or RX FIFO is full."] #[inline(always)] - #[must_use] pub fn rx_stop_mode(&mut self) -> RX_STOP_MODE_W { RX_STOP_MODE_W::new(self, 4) } #[doc = "Bit 6 - Set this bit to enable receiver in mono mode"] #[inline(always)] - #[must_use] pub fn rx_mono(&mut self) -> RX_MONO_W { RX_MONO_W::new(self, 6) } #[doc = "Bit 7 - I2S Rx byte endian, 1: low addr value to high addr. 0: low addr with low addr value."] #[inline(always)] - #[must_use] pub fn rx_big_endian(&mut self) -> RX_BIG_ENDIAN_W { RX_BIG_ENDIAN_W::new(self, 7) } #[doc = "Bit 8 - Set 1 to update I2S RX registers from APB clock domain to I2S RX clock domain. This bit will be cleared by hardware after update register done."] #[inline(always)] - #[must_use] pub fn rx_update(&mut self) -> RX_UPDATE_W { RX_UPDATE_W::new(self, 8) } #[doc = "Bit 9 - 1: The first channel data value is valid in I2S RX mono mode. 0: The second channel data value is valid in I2S RX mono mode."] #[inline(always)] - #[must_use] pub fn rx_mono_fst_vld(&mut self) -> RX_MONO_FST_VLD_W { RX_MONO_FST_VLD_W::new(self, 9) } - #[doc = "Bits 10:11 - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] + #[doc = "Bits 10:11 - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] #[inline(always)] - #[must_use] pub fn rx_pcm_conf(&mut self) -> RX_PCM_CONF_W { RX_PCM_CONF_W::new(self, 10) } #[doc = "Bit 12 - Set this bit to bypass Compress/Decompress module for received data."] #[inline(always)] - #[must_use] pub fn rx_pcm_bypass(&mut self) -> RX_PCM_BYPASS_W { RX_PCM_BYPASS_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to enable receiver in Phillips standard mode"] #[inline(always)] - #[must_use] pub fn rx_msb_shift(&mut self) -> RX_MSB_SHIFT_W { RX_MSB_SHIFT_W::new(self, 13) } #[doc = "Bit 15 - 1: I2S RX left alignment mode. 0: I2S RX right alignment mode."] #[inline(always)] - #[must_use] pub fn rx_left_align(&mut self) -> RX_LEFT_ALIGN_W { RX_LEFT_ALIGN_W::new(self, 15) } #[doc = "Bit 16 - 1: store 24 channel bits to 32 bits. 0:store 24 channel bits to 24 bits."] #[inline(always)] - #[must_use] pub fn rx_24_fill_en(&mut self) -> RX_24_FILL_EN_W { RX_24_FILL_EN_W::new(self, 16) } #[doc = "Bit 17 - 0: WS should be 0 when receiving left channel data, and WS is 1in right channel. 1: WS should be 1 when receiving left channel data, and WS is 0in right channel."] #[inline(always)] - #[must_use] pub fn rx_ws_idle_pol(&mut self) -> RX_WS_IDLE_POL_W { RX_WS_IDLE_POL_W::new(self, 17) } #[doc = "Bit 18 - I2S Rx bit endian. 1:small endian, the LSB is received first. 0:big endian, the MSB is received first."] #[inline(always)] - #[must_use] pub fn rx_bit_order(&mut self) -> RX_BIT_ORDER_W { RX_BIT_ORDER_W::new(self, 18) } #[doc = "Bit 19 - 1: Enable I2S TDM Rx mode . 0: Disable."] #[inline(always)] - #[must_use] pub fn rx_tdm_en(&mut self) -> RX_TDM_EN_W { RX_TDM_EN_W::new(self, 19) } #[doc = "Bit 20 - 1: Enable I2S PDM Rx mode . 0: Disable."] #[inline(always)] - #[must_use] pub fn rx_pdm_en(&mut self) -> RX_PDM_EN_W { RX_PDM_EN_W::new(self, 20) } #[doc = "Bits 21:26 - Bit clock configuration bits in receiver mode."] #[inline(always)] - #[must_use] pub fn rx_bck_div_num(&mut self) -> RX_BCK_DIV_NUM_W { RX_BCK_DIV_NUM_W::new(self, 21) } diff --git a/esp32h2/src/i2s0/rx_conf1.rs b/esp32h2/src/i2s0/rx_conf1.rs index acb203bef8..da162bf11c 100644 --- a/esp32h2/src/i2s0/rx_conf1.rs +++ b/esp32h2/src/i2s0/rx_conf1.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - The width of rx_ws_out at idle level in TDM mode is (I2S_RX_TDM_WS_WIDTH\\[8:0\\] +1) * T_bck"] #[inline(always)] - #[must_use] pub fn rx_tdm_ws_width(&mut self) -> RX_TDM_WS_WIDTH_W { RX_TDM_WS_WIDTH_W::new(self, 0) } #[doc = "Bits 14:18 - Set the bits to configure the valid data bit length of I2S receiver channel. 7: all the valid channel data is in 8-bit-mode. 15: all the valid channel data is in 16-bit-mode. 23: all the valid channel data is in 24-bit-mode. 31:all the valid channel data is in 32-bit-mode."] #[inline(always)] - #[must_use] pub fn rx_bits_mod(&mut self) -> RX_BITS_MOD_W { RX_BITS_MOD_W::new(self, 14) } #[doc = "Bits 19:26 - I2S Rx half sample bits -1."] #[inline(always)] - #[must_use] pub fn rx_half_sample_bits(&mut self) -> RX_HALF_SAMPLE_BITS_W { RX_HALF_SAMPLE_BITS_W::new(self, 19) } #[doc = "Bits 27:31 - The Rx bit number for each channel minus 1in TDM mode."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan_bits(&mut self) -> RX_TDM_CHAN_BITS_W { RX_TDM_CHAN_BITS_W::new(self, 27) } diff --git a/esp32h2/src/i2s0/rx_tdm_ctrl.rs b/esp32h2/src/i2s0/rx_tdm_ctrl.rs index 145b893140..430d8487d3 100644 --- a/esp32h2/src/i2s0/rx_tdm_ctrl.rs +++ b/esp32h2/src/i2s0/rx_tdm_ctrl.rs @@ -184,103 +184,86 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: Enable the valid data input of I2S RX TDM or PDM channel 0. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan0_en(&mut self) -> RX_TDM_PDM_CHAN0_EN_W { RX_TDM_PDM_CHAN0_EN_W::new(self, 0) } #[doc = "Bit 1 - 1: Enable the valid data input of I2S RX TDM or PDM channel 1. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan1_en(&mut self) -> RX_TDM_PDM_CHAN1_EN_W { RX_TDM_PDM_CHAN1_EN_W::new(self, 1) } #[doc = "Bit 2 - 1: Enable the valid data input of I2S RX TDM or PDM channel 2. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan2_en(&mut self) -> RX_TDM_PDM_CHAN2_EN_W { RX_TDM_PDM_CHAN2_EN_W::new(self, 2) } #[doc = "Bit 3 - 1: Enable the valid data input of I2S RX TDM or PDM channel 3. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan3_en(&mut self) -> RX_TDM_PDM_CHAN3_EN_W { RX_TDM_PDM_CHAN3_EN_W::new(self, 3) } #[doc = "Bit 4 - 1: Enable the valid data input of I2S RX TDM or PDM channel 4. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan4_en(&mut self) -> RX_TDM_PDM_CHAN4_EN_W { RX_TDM_PDM_CHAN4_EN_W::new(self, 4) } #[doc = "Bit 5 - 1: Enable the valid data input of I2S RX TDM or PDM channel 5. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan5_en(&mut self) -> RX_TDM_PDM_CHAN5_EN_W { RX_TDM_PDM_CHAN5_EN_W::new(self, 5) } #[doc = "Bit 6 - 1: Enable the valid data input of I2S RX TDM or PDM channel 6. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan6_en(&mut self) -> RX_TDM_PDM_CHAN6_EN_W { RX_TDM_PDM_CHAN6_EN_W::new(self, 6) } #[doc = "Bit 7 - 1: Enable the valid data input of I2S RX TDM or PDM channel 7. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan7_en(&mut self) -> RX_TDM_PDM_CHAN7_EN_W { RX_TDM_PDM_CHAN7_EN_W::new(self, 7) } #[doc = "Bit 8 - 1: Enable the valid data input of I2S RX TDM channel 8. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan8_en(&mut self) -> RX_TDM_CHAN8_EN_W { RX_TDM_CHAN8_EN_W::new(self, 8) } #[doc = "Bit 9 - 1: Enable the valid data input of I2S RX TDM channel 9. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan9_en(&mut self) -> RX_TDM_CHAN9_EN_W { RX_TDM_CHAN9_EN_W::new(self, 9) } #[doc = "Bit 10 - 1: Enable the valid data input of I2S RX TDM channel 10. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan10_en(&mut self) -> RX_TDM_CHAN10_EN_W { RX_TDM_CHAN10_EN_W::new(self, 10) } #[doc = "Bit 11 - 1: Enable the valid data input of I2S RX TDM channel 11. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan11_en(&mut self) -> RX_TDM_CHAN11_EN_W { RX_TDM_CHAN11_EN_W::new(self, 11) } #[doc = "Bit 12 - 1: Enable the valid data input of I2S RX TDM channel 12. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan12_en(&mut self) -> RX_TDM_CHAN12_EN_W { RX_TDM_CHAN12_EN_W::new(self, 12) } #[doc = "Bit 13 - 1: Enable the valid data input of I2S RX TDM channel 13. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan13_en(&mut self) -> RX_TDM_CHAN13_EN_W { RX_TDM_CHAN13_EN_W::new(self, 13) } #[doc = "Bit 14 - 1: Enable the valid data input of I2S RX TDM channel 14. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan14_en(&mut self) -> RX_TDM_CHAN14_EN_W { RX_TDM_CHAN14_EN_W::new(self, 14) } #[doc = "Bit 15 - 1: Enable the valid data input of I2S RX TDM channel 15. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan15_en(&mut self) -> RX_TDM_CHAN15_EN_W { RX_TDM_CHAN15_EN_W::new(self, 15) } #[doc = "Bits 16:19 - The total channel number of I2S TX TDM mode."] #[inline(always)] - #[must_use] pub fn rx_tdm_tot_chan_num(&mut self) -> RX_TDM_TOT_CHAN_NUM_W { RX_TDM_TOT_CHAN_NUM_W::new(self, 16) } diff --git a/esp32h2/src/i2s0/rx_timing.rs b/esp32h2/src/i2s0/rx_timing.rs index bb9ba20b42..bcf0d0e4ce 100644 --- a/esp32h2/src/i2s0/rx_timing.rs +++ b/esp32h2/src/i2s0/rx_timing.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - The delay mode of I2S Rx SD input signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_sd_in_dm(&mut self) -> RX_SD_IN_DM_W { RX_SD_IN_DM_W::new(self, 0) } #[doc = "Bits 16:17 - The delay mode of I2S Rx WS output signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_ws_out_dm(&mut self) -> RX_WS_OUT_DM_W { RX_WS_OUT_DM_W::new(self, 16) } #[doc = "Bits 20:21 - The delay mode of I2S Rx BCK output signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_bck_out_dm(&mut self) -> RX_BCK_OUT_DM_W { RX_BCK_OUT_DM_W::new(self, 20) } #[doc = "Bits 24:25 - The delay mode of I2S Rx WS input signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_ws_in_dm(&mut self) -> RX_WS_IN_DM_W { RX_WS_IN_DM_W::new(self, 24) } #[doc = "Bits 28:29 - The delay mode of I2S Rx BCK input signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_bck_in_dm(&mut self) -> RX_BCK_IN_DM_W { RX_BCK_IN_DM_W::new(self, 28) } diff --git a/esp32h2/src/i2s0/rxeof_num.rs b/esp32h2/src/i2s0/rxeof_num.rs index 3cc1cab6bd..e06f8c3e0d 100644 --- a/esp32h2/src/i2s0/rxeof_num.rs +++ b/esp32h2/src/i2s0/rxeof_num.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - The receive data bit length is (I2S_RX_BITS_MOD\\[4:0\\] + 1) * (REG_RX_EOF_NUM\\[11:0\\] + 1) . It will trigger in_suc_eof interrupt in the configured DMA RX channel."] #[inline(always)] - #[must_use] pub fn rx_eof_num(&mut self) -> RX_EOF_NUM_W { RX_EOF_NUM_W::new(self, 0) } diff --git a/esp32h2/src/i2s0/tx_clkm_conf.rs b/esp32h2/src/i2s0/tx_clkm_conf.rs index 24561dcbc6..af8d613b56 100644 --- a/esp32h2/src/i2s0/tx_clkm_conf.rs +++ b/esp32h2/src/i2s0/tx_clkm_conf.rs @@ -2,9 +2,9 @@ pub type R = crate::R; #[doc = "Register `TX_CLKM_CONF` writer"] pub type W = crate::W; -#[doc = "Field `TX_CLKM_DIV_NUM` reader - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] +#[doc = "Field `TX_CLKM_DIV_NUM` reader - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] pub type TX_CLKM_DIV_NUM_R = crate::FieldReader; -#[doc = "Field `TX_CLKM_DIV_NUM` writer - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] +#[doc = "Field `TX_CLKM_DIV_NUM` writer - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] pub type TX_CLKM_DIV_NUM_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; #[doc = "Field `TX_CLK_ACTIVE` reader - I2S Tx module clock enable signal."] pub type TX_CLK_ACTIVE_R = crate::BitReader; @@ -19,7 +19,7 @@ pub type CLK_EN_R = crate::BitReader; #[doc = "Field `CLK_EN` writer - Set this bit to enable clk gate"] pub type CLK_EN_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { - #[doc = "Bits 0:7 - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] + #[doc = "Bits 0:7 - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] #[inline(always)] pub fn tx_clkm_div_num(&self) -> TX_CLKM_DIV_NUM_R { TX_CLKM_DIV_NUM_R::new((self.bits & 0xff) as u8) @@ -52,27 +52,23 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bits 0:7 - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] + #[doc = "Bits 0:7 - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] #[inline(always)] - #[must_use] pub fn tx_clkm_div_num(&mut self) -> TX_CLKM_DIV_NUM_W { TX_CLKM_DIV_NUM_W::new(self, 0) } #[doc = "Bit 26 - I2S Tx module clock enable signal."] #[inline(always)] - #[must_use] pub fn tx_clk_active(&mut self) -> TX_CLK_ACTIVE_W { TX_CLK_ACTIVE_W::new(self, 26) } #[doc = "Bits 27:28 - Select I2S Tx module source clock. 0: XTAL clock. 1: APLL. 2: CLK160. 3: I2S_MCLK_in."] #[inline(always)] - #[must_use] pub fn tx_clk_sel(&mut self) -> TX_CLK_SEL_W { TX_CLK_SEL_W::new(self, 27) } #[doc = "Bit 29 - Set this bit to enable clk gate"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 29) } diff --git a/esp32h2/src/i2s0/tx_clkm_div_conf.rs b/esp32h2/src/i2s0/tx_clkm_div_conf.rs index e7b9c46e13..f8c04d20cf 100644 --- a/esp32h2/src/i2s0/tx_clkm_div_conf.rs +++ b/esp32h2/src/i2s0/tx_clkm_div_conf.rs @@ -2,39 +2,39 @@ pub type R = crate::R; #[doc = "Register `TX_CLKM_DIV_CONF` writer"] pub type W = crate::W; -#[doc = "Field `TX_CLKM_DIV_Z` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] +#[doc = "Field `TX_CLKM_DIV_Z` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] pub type TX_CLKM_DIV_Z_R = crate::FieldReader; -#[doc = "Field `TX_CLKM_DIV_Z` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] +#[doc = "Field `TX_CLKM_DIV_Z` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] pub type TX_CLKM_DIV_Z_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `TX_CLKM_DIV_Y` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] +#[doc = "Field `TX_CLKM_DIV_Y` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] pub type TX_CLKM_DIV_Y_R = crate::FieldReader; -#[doc = "Field `TX_CLKM_DIV_Y` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] +#[doc = "Field `TX_CLKM_DIV_Y` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] pub type TX_CLKM_DIV_Y_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `TX_CLKM_DIV_X` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] +#[doc = "Field `TX_CLKM_DIV_X` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] pub type TX_CLKM_DIV_X_R = crate::FieldReader; -#[doc = "Field `TX_CLKM_DIV_X` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] +#[doc = "Field `TX_CLKM_DIV_X` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] pub type TX_CLKM_DIV_X_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `TX_CLKM_DIV_YN1` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] +#[doc = "Field `TX_CLKM_DIV_YN1` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] pub type TX_CLKM_DIV_YN1_R = crate::BitReader; -#[doc = "Field `TX_CLKM_DIV_YN1` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] +#[doc = "Field `TX_CLKM_DIV_YN1` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] pub type TX_CLKM_DIV_YN1_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { - #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] + #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] #[inline(always)] pub fn tx_clkm_div_z(&self) -> TX_CLKM_DIV_Z_R { TX_CLKM_DIV_Z_R::new((self.bits & 0x01ff) as u16) } - #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] + #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] #[inline(always)] pub fn tx_clkm_div_y(&self) -> TX_CLKM_DIV_Y_R { TX_CLKM_DIV_Y_R::new(((self.bits >> 9) & 0x01ff) as u16) } - #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] + #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] #[inline(always)] pub fn tx_clkm_div_x(&self) -> TX_CLKM_DIV_X_R { TX_CLKM_DIV_X_R::new(((self.bits >> 18) & 0x01ff) as u16) } - #[doc = "Bit 27 - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] + #[doc = "Bit 27 - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] #[inline(always)] pub fn tx_clkm_div_yn1(&self) -> TX_CLKM_DIV_YN1_R { TX_CLKM_DIV_YN1_R::new(((self.bits >> 27) & 1) != 0) @@ -52,27 +52,23 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] + #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] #[inline(always)] - #[must_use] pub fn tx_clkm_div_z(&mut self) -> TX_CLKM_DIV_Z_W { TX_CLKM_DIV_Z_W::new(self, 0) } - #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] + #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] #[inline(always)] - #[must_use] pub fn tx_clkm_div_y(&mut self) -> TX_CLKM_DIV_Y_W { TX_CLKM_DIV_Y_W::new(self, 9) } - #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] + #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] #[inline(always)] - #[must_use] pub fn tx_clkm_div_x(&mut self) -> TX_CLKM_DIV_X_W { TX_CLKM_DIV_X_W::new(self, 18) } - #[doc = "Bit 27 - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] + #[doc = "Bit 27 - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] #[inline(always)] - #[must_use] pub fn tx_clkm_div_yn1(&mut self) -> TX_CLKM_DIV_YN1_W { TX_CLKM_DIV_YN1_W::new(self, 27) } diff --git a/esp32h2/src/i2s0/tx_conf.rs b/esp32h2/src/i2s0/tx_conf.rs index c266255460..04faa5bddd 100644 --- a/esp32h2/src/i2s0/tx_conf.rs +++ b/esp32h2/src/i2s0/tx_conf.rs @@ -38,9 +38,9 @@ pub type TX_UPDATE_W<'a, REG> = crate::BitWriter<'a, REG>; pub type TX_MONO_FST_VLD_R = crate::BitReader; #[doc = "Field `TX_MONO_FST_VLD` writer - 1: The first channel data value is valid in I2S TX mono mode. 0: The second channel data value is valid in I2S TX mono mode."] pub type TX_MONO_FST_VLD_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `TX_PCM_CONF` reader - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] +#[doc = "Field `TX_PCM_CONF` reader - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] pub type TX_PCM_CONF_R = crate::FieldReader; -#[doc = "Field `TX_PCM_CONF` writer - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] +#[doc = "Field `TX_PCM_CONF` writer - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] pub type TX_PCM_CONF_W<'a, REG> = crate::FieldWriter<'a, REG, 2>; #[doc = "Field `TX_PCM_BYPASS` reader - Set this bit to bypass Compress/Decompress module for transmitted data."] pub type TX_PCM_BYPASS_R = crate::BitReader; @@ -131,7 +131,7 @@ impl R { pub fn tx_mono_fst_vld(&self) -> TX_MONO_FST_VLD_R { TX_MONO_FST_VLD_R::new(((self.bits >> 9) & 1) != 0) } - #[doc = "Bits 10:11 - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] + #[doc = "Bits 10:11 - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] #[inline(always)] pub fn tx_pcm_conf(&self) -> TX_PCM_CONF_R { TX_PCM_CONF_R::new(((self.bits >> 10) & 3) as u8) @@ -228,139 +228,116 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to reset transmitter"] #[inline(always)] - #[must_use] pub fn tx_reset(&mut self) -> TX_RESET_W { TX_RESET_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to reset Tx AFIFO"] #[inline(always)] - #[must_use] pub fn tx_fifo_reset(&mut self) -> TX_FIFO_RESET_W { TX_FIFO_RESET_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to start transmitting data"] #[inline(always)] - #[must_use] pub fn tx_start(&mut self) -> TX_START_W { TX_START_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to enable slave transmitter mode"] #[inline(always)] - #[must_use] pub fn tx_slave_mod(&mut self) -> TX_SLAVE_MOD_W { TX_SLAVE_MOD_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to stop disable output BCK signal and WS signal when tx FIFO is emtpy"] #[inline(always)] - #[must_use] pub fn tx_stop_en(&mut self) -> TX_STOP_EN_W { TX_STOP_EN_W::new(self, 4) } #[doc = "Bit 5 - 1: The value of Left channel data is equal to the value of right channel data in I2S TX mono mode or TDM channel select mode. 0: The invalid channel data is reg_i2s_single_data in I2S TX mono mode or TDM channel select mode."] #[inline(always)] - #[must_use] pub fn tx_chan_equal(&mut self) -> TX_CHAN_EQUAL_W { TX_CHAN_EQUAL_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to enable transmitter in mono mode"] #[inline(always)] - #[must_use] pub fn tx_mono(&mut self) -> TX_MONO_W { TX_MONO_W::new(self, 6) } #[doc = "Bit 7 - I2S Tx byte endian, 1: low addr value to high addr. 0: low addr with low addr value."] #[inline(always)] - #[must_use] pub fn tx_big_endian(&mut self) -> TX_BIG_ENDIAN_W { TX_BIG_ENDIAN_W::new(self, 7) } #[doc = "Bit 8 - Set 1 to update I2S TX registers from APB clock domain to I2S TX clock domain. This bit will be cleared by hardware after update register done."] #[inline(always)] - #[must_use] pub fn tx_update(&mut self) -> TX_UPDATE_W { TX_UPDATE_W::new(self, 8) } #[doc = "Bit 9 - 1: The first channel data value is valid in I2S TX mono mode. 0: The second channel data value is valid in I2S TX mono mode."] #[inline(always)] - #[must_use] pub fn tx_mono_fst_vld(&mut self) -> TX_MONO_FST_VLD_W { TX_MONO_FST_VLD_W::new(self, 9) } - #[doc = "Bits 10:11 - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] + #[doc = "Bits 10:11 - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] #[inline(always)] - #[must_use] pub fn tx_pcm_conf(&mut self) -> TX_PCM_CONF_W { TX_PCM_CONF_W::new(self, 10) } #[doc = "Bit 12 - Set this bit to bypass Compress/Decompress module for transmitted data."] #[inline(always)] - #[must_use] pub fn tx_pcm_bypass(&mut self) -> TX_PCM_BYPASS_W { TX_PCM_BYPASS_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to enable transmitter in Phillips standard mode"] #[inline(always)] - #[must_use] pub fn tx_msb_shift(&mut self) -> TX_MSB_SHIFT_W { TX_MSB_SHIFT_W::new(self, 13) } #[doc = "Bit 14 - 1: BCK is not delayed to generate pos/neg edge in master mode. 0: BCK is delayed to generate pos/neg edge in master mode."] #[inline(always)] - #[must_use] pub fn tx_bck_no_dly(&mut self) -> TX_BCK_NO_DLY_W { TX_BCK_NO_DLY_W::new(self, 14) } #[doc = "Bit 15 - 1: I2S TX left alignment mode. 0: I2S TX right alignment mode."] #[inline(always)] - #[must_use] pub fn tx_left_align(&mut self) -> TX_LEFT_ALIGN_W { TX_LEFT_ALIGN_W::new(self, 15) } #[doc = "Bit 16 - 1: Sent 32 bits in 24 channel bits mode. 0: Sent 24 bits in 24 channel bits mode"] #[inline(always)] - #[must_use] pub fn tx_24_fill_en(&mut self) -> TX_24_FILL_EN_W { TX_24_FILL_EN_W::new(self, 16) } #[doc = "Bit 17 - 0: WS should be 0 when sending left channel data, and WS is 1in right channel. 1: WS should be 1 when sending left channel data, and WS is 0in right channel."] #[inline(always)] - #[must_use] pub fn tx_ws_idle_pol(&mut self) -> TX_WS_IDLE_POL_W { TX_WS_IDLE_POL_W::new(self, 17) } #[doc = "Bit 18 - I2S Tx bit endian. 1:small endian, the LSB is sent first. 0:big endian, the MSB is sent first."] #[inline(always)] - #[must_use] pub fn tx_bit_order(&mut self) -> TX_BIT_ORDER_W { TX_BIT_ORDER_W::new(self, 18) } #[doc = "Bit 19 - 1: Enable I2S TDM Tx mode . 0: Disable."] #[inline(always)] - #[must_use] pub fn tx_tdm_en(&mut self) -> TX_TDM_EN_W { TX_TDM_EN_W::new(self, 19) } #[doc = "Bit 20 - 1: Enable I2S PDM Tx mode . 0: Disable."] #[inline(always)] - #[must_use] pub fn tx_pdm_en(&mut self) -> TX_PDM_EN_W { TX_PDM_EN_W::new(self, 20) } #[doc = "Bits 21:26 - Bit clock configuration bits in transmitter mode."] #[inline(always)] - #[must_use] pub fn tx_bck_div_num(&mut self) -> TX_BCK_DIV_NUM_W { TX_BCK_DIV_NUM_W::new(self, 21) } #[doc = "Bits 27:29 - I2S transmitter channel mode configuration bits."] #[inline(always)] - #[must_use] pub fn tx_chan_mod(&mut self) -> TX_CHAN_MOD_W { TX_CHAN_MOD_W::new(self, 27) } #[doc = "Bit 30 - Enable signal loop back mode with transmitter module and receiver module sharing the same WS and BCK signals."] #[inline(always)] - #[must_use] pub fn sig_loopback(&mut self) -> SIG_LOOPBACK_W { SIG_LOOPBACK_W::new(self, 30) } diff --git a/esp32h2/src/i2s0/tx_conf1.rs b/esp32h2/src/i2s0/tx_conf1.rs index 7412f4664d..f192d614f5 100644 --- a/esp32h2/src/i2s0/tx_conf1.rs +++ b/esp32h2/src/i2s0/tx_conf1.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - The width of tx_ws_out at idle level in TDM mode is (I2S_TX_TDM_WS_WIDTH\\[8:0\\] +1) * T_bck"] #[inline(always)] - #[must_use] pub fn tx_tdm_ws_width(&mut self) -> TX_TDM_WS_WIDTH_W { TX_TDM_WS_WIDTH_W::new(self, 0) } #[doc = "Bits 14:18 - Set the bits to configure the valid data bit length of I2S transmitter channel. 7: all the valid channel data is in 8-bit-mode. 15: all the valid channel data is in 16-bit-mode. 23: all the valid channel data is in 24-bit-mode. 31:all the valid channel data is in 32-bit-mode."] #[inline(always)] - #[must_use] pub fn tx_bits_mod(&mut self) -> TX_BITS_MOD_W { TX_BITS_MOD_W::new(self, 14) } #[doc = "Bits 19:26 - I2S Tx half sample bits -1."] #[inline(always)] - #[must_use] pub fn tx_half_sample_bits(&mut self) -> TX_HALF_SAMPLE_BITS_W { TX_HALF_SAMPLE_BITS_W::new(self, 19) } #[doc = "Bits 27:31 - The Tx bit number for each channel minus 1in TDM mode."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan_bits(&mut self) -> TX_TDM_CHAN_BITS_W { TX_TDM_CHAN_BITS_W::new(self, 27) } diff --git a/esp32h2/src/i2s0/tx_pcm2pdm_conf.rs b/esp32h2/src/i2s0/tx_pcm2pdm_conf.rs index efaddb2ef6..b58b16a1ad 100644 --- a/esp32h2/src/i2s0/tx_pcm2pdm_conf.rs +++ b/esp32h2/src/i2s0/tx_pcm2pdm_conf.rs @@ -140,43 +140,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - I2S TX PDM bypass hp filter or not. The option has been removed."] #[inline(always)] - #[must_use] pub fn tx_pdm_hp_bypass(&mut self) -> TX_PDM_HP_BYPASS_W { TX_PDM_HP_BYPASS_W::new(self, 0) } #[doc = "Bits 1:4 - I2S TX PDM OSR2 value"] #[inline(always)] - #[must_use] pub fn tx_pdm_sinc_osr2(&mut self) -> TX_PDM_SINC_OSR2_W { TX_PDM_SINC_OSR2_W::new(self, 1) } #[doc = "Bits 5:12 - I2S TX PDM prescale for sigmadelta"] #[inline(always)] - #[must_use] pub fn tx_pdm_prescale(&mut self) -> TX_PDM_PRESCALE_W { TX_PDM_PRESCALE_W::new(self, 5) } #[doc = "Bits 13:14 - I2S TX PDM sigmadelta scale shift number: 0:/2 , 1:x1 , 2:x2 , 3: x4"] #[inline(always)] - #[must_use] pub fn tx_pdm_hp_in_shift(&mut self) -> TX_PDM_HP_IN_SHIFT_W { TX_PDM_HP_IN_SHIFT_W::new(self, 13) } #[doc = "Bits 15:16 - I2S TX PDM sigmadelta scale shift number: 0:/2 , 1:x1 , 2:x2 , 3: x4"] #[inline(always)] - #[must_use] pub fn tx_pdm_lp_in_shift(&mut self) -> TX_PDM_LP_IN_SHIFT_W { TX_PDM_LP_IN_SHIFT_W::new(self, 15) } #[doc = "Bits 17:18 - I2S TX PDM sigmadelta scale shift number: 0:/2 , 1:x1 , 2:x2 , 3: x4"] #[inline(always)] - #[must_use] pub fn tx_pdm_sinc_in_shift(&mut self) -> TX_PDM_SINC_IN_SHIFT_W { TX_PDM_SINC_IN_SHIFT_W::new(self, 17) } #[doc = "Bits 19:20 - I2S TX PDM sigmadelta scale shift number: 0:/2 , 1:x1 , 2:x2 , 3: x4"] #[inline(always)] - #[must_use] pub fn tx_pdm_sigmadelta_in_shift( &mut self, ) -> TX_PDM_SIGMADELTA_IN_SHIFT_W { @@ -184,7 +177,6 @@ impl W { } #[doc = "Bit 21 - I2S TX PDM sigmadelta dither2 value"] #[inline(always)] - #[must_use] pub fn tx_pdm_sigmadelta_dither2( &mut self, ) -> TX_PDM_SIGMADELTA_DITHER2_W { @@ -192,25 +184,21 @@ impl W { } #[doc = "Bit 22 - I2S TX PDM sigmadelta dither value"] #[inline(always)] - #[must_use] pub fn tx_pdm_sigmadelta_dither(&mut self) -> TX_PDM_SIGMADELTA_DITHER_W { TX_PDM_SIGMADELTA_DITHER_W::new(self, 22) } #[doc = "Bit 23 - I2S TX PDM dac mode enable"] #[inline(always)] - #[must_use] pub fn tx_pdm_dac_2out_en(&mut self) -> TX_PDM_DAC_2OUT_EN_W { TX_PDM_DAC_2OUT_EN_W::new(self, 23) } #[doc = "Bit 24 - I2S TX PDM dac 2channel enable"] #[inline(always)] - #[must_use] pub fn tx_pdm_dac_mode_en(&mut self) -> TX_PDM_DAC_MODE_EN_W { TX_PDM_DAC_MODE_EN_W::new(self, 24) } #[doc = "Bit 25 - I2S TX PDM Converter enable"] #[inline(always)] - #[must_use] pub fn pcm2pdm_conv_en(&mut self) -> PCM2PDM_CONV_EN_W { PCM2PDM_CONV_EN_W::new(self, 25) } diff --git a/esp32h2/src/i2s0/tx_pcm2pdm_conf1.rs b/esp32h2/src/i2s0/tx_pcm2pdm_conf1.rs index 7f58eb3572..6ae1a8208e 100644 --- a/esp32h2/src/i2s0/tx_pcm2pdm_conf1.rs +++ b/esp32h2/src/i2s0/tx_pcm2pdm_conf1.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - I2S TX PDM Fp"] #[inline(always)] - #[must_use] pub fn tx_pdm_fp(&mut self) -> TX_PDM_FP_W { TX_PDM_FP_W::new(self, 0) } #[doc = "Bits 10:19 - I2S TX PDM Fs"] #[inline(always)] - #[must_use] pub fn tx_pdm_fs(&mut self) -> TX_PDM_FS_W { TX_PDM_FS_W::new(self, 10) } #[doc = "Bits 20:22 - The fourth parameter of PDM TX IIR_HP filter stage 2 is (504 + I2S_TX_IIR_HP_MULT12_5\\[2:0\\])"] #[inline(always)] - #[must_use] pub fn tx_iir_hp_mult12_5(&mut self) -> TX_IIR_HP_MULT12_5_W { TX_IIR_HP_MULT12_5_W::new(self, 20) } #[doc = "Bits 23:25 - The fourth parameter of PDM TX IIR_HP filter stage 1 is (504 + I2S_TX_IIR_HP_MULT12_0\\[2:0\\])"] #[inline(always)] - #[must_use] pub fn tx_iir_hp_mult12_0(&mut self) -> TX_IIR_HP_MULT12_0_W { TX_IIR_HP_MULT12_0_W::new(self, 23) } diff --git a/esp32h2/src/i2s0/tx_tdm_ctrl.rs b/esp32h2/src/i2s0/tx_tdm_ctrl.rs index 9d5efa9df7..859510cb36 100644 --- a/esp32h2/src/i2s0/tx_tdm_ctrl.rs +++ b/esp32h2/src/i2s0/tx_tdm_ctrl.rs @@ -194,109 +194,91 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: Enable the valid data output of I2S TX TDM channel 0. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan0_en(&mut self) -> TX_TDM_CHAN0_EN_W { TX_TDM_CHAN0_EN_W::new(self, 0) } #[doc = "Bit 1 - 1: Enable the valid data output of I2S TX TDM channel 1. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan1_en(&mut self) -> TX_TDM_CHAN1_EN_W { TX_TDM_CHAN1_EN_W::new(self, 1) } #[doc = "Bit 2 - 1: Enable the valid data output of I2S TX TDM channel 2. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan2_en(&mut self) -> TX_TDM_CHAN2_EN_W { TX_TDM_CHAN2_EN_W::new(self, 2) } #[doc = "Bit 3 - 1: Enable the valid data output of I2S TX TDM channel 3. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan3_en(&mut self) -> TX_TDM_CHAN3_EN_W { TX_TDM_CHAN3_EN_W::new(self, 3) } #[doc = "Bit 4 - 1: Enable the valid data output of I2S TX TDM channel 4. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan4_en(&mut self) -> TX_TDM_CHAN4_EN_W { TX_TDM_CHAN4_EN_W::new(self, 4) } #[doc = "Bit 5 - 1: Enable the valid data output of I2S TX TDM channel 5. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan5_en(&mut self) -> TX_TDM_CHAN5_EN_W { TX_TDM_CHAN5_EN_W::new(self, 5) } #[doc = "Bit 6 - 1: Enable the valid data output of I2S TX TDM channel 6. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan6_en(&mut self) -> TX_TDM_CHAN6_EN_W { TX_TDM_CHAN6_EN_W::new(self, 6) } #[doc = "Bit 7 - 1: Enable the valid data output of I2S TX TDM channel 7. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan7_en(&mut self) -> TX_TDM_CHAN7_EN_W { TX_TDM_CHAN7_EN_W::new(self, 7) } #[doc = "Bit 8 - 1: Enable the valid data output of I2S TX TDM channel 8. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan8_en(&mut self) -> TX_TDM_CHAN8_EN_W { TX_TDM_CHAN8_EN_W::new(self, 8) } #[doc = "Bit 9 - 1: Enable the valid data output of I2S TX TDM channel 9. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan9_en(&mut self) -> TX_TDM_CHAN9_EN_W { TX_TDM_CHAN9_EN_W::new(self, 9) } #[doc = "Bit 10 - 1: Enable the valid data output of I2S TX TDM channel 10. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan10_en(&mut self) -> TX_TDM_CHAN10_EN_W { TX_TDM_CHAN10_EN_W::new(self, 10) } #[doc = "Bit 11 - 1: Enable the valid data output of I2S TX TDM channel 11. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan11_en(&mut self) -> TX_TDM_CHAN11_EN_W { TX_TDM_CHAN11_EN_W::new(self, 11) } #[doc = "Bit 12 - 1: Enable the valid data output of I2S TX TDM channel 12. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan12_en(&mut self) -> TX_TDM_CHAN12_EN_W { TX_TDM_CHAN12_EN_W::new(self, 12) } #[doc = "Bit 13 - 1: Enable the valid data output of I2S TX TDM channel 13. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan13_en(&mut self) -> TX_TDM_CHAN13_EN_W { TX_TDM_CHAN13_EN_W::new(self, 13) } #[doc = "Bit 14 - 1: Enable the valid data output of I2S TX TDM channel 14. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan14_en(&mut self) -> TX_TDM_CHAN14_EN_W { TX_TDM_CHAN14_EN_W::new(self, 14) } #[doc = "Bit 15 - 1: Enable the valid data output of I2S TX TDM channel 15. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan15_en(&mut self) -> TX_TDM_CHAN15_EN_W { TX_TDM_CHAN15_EN_W::new(self, 15) } #[doc = "Bits 16:19 - The total channel number of I2S TX TDM mode."] #[inline(always)] - #[must_use] pub fn tx_tdm_tot_chan_num(&mut self) -> TX_TDM_TOT_CHAN_NUM_W { TX_TDM_TOT_CHAN_NUM_W::new(self, 16) } #[doc = "Bit 20 - When DMA TX buffer stores the data of (REG_TX_TDM_TOT_CHAN_NUM + 1) channels, and only the data of the enabled channels is sent, then this bit should be set. Clear it when all the data stored in DMA TX buffer is for enabled channels."] #[inline(always)] - #[must_use] pub fn tx_tdm_skip_msk_en(&mut self) -> TX_TDM_SKIP_MSK_EN_W { TX_TDM_SKIP_MSK_EN_W::new(self, 20) } diff --git a/esp32h2/src/i2s0/tx_timing.rs b/esp32h2/src/i2s0/tx_timing.rs index 82d20256cd..a9e6a29856 100644 --- a/esp32h2/src/i2s0/tx_timing.rs +++ b/esp32h2/src/i2s0/tx_timing.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - The delay mode of I2S TX SD output signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn tx_sd_out_dm(&mut self) -> TX_SD_OUT_DM_W { TX_SD_OUT_DM_W::new(self, 0) } #[doc = "Bits 4:5 - The delay mode of I2S TX SD1 output signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn tx_sd1_out_dm(&mut self) -> TX_SD1_OUT_DM_W { TX_SD1_OUT_DM_W::new(self, 4) } #[doc = "Bits 16:17 - The delay mode of I2S TX WS output signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn tx_ws_out_dm(&mut self) -> TX_WS_OUT_DM_W { TX_WS_OUT_DM_W::new(self, 16) } #[doc = "Bits 20:21 - The delay mode of I2S TX BCK output signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn tx_bck_out_dm(&mut self) -> TX_BCK_OUT_DM_W { TX_BCK_OUT_DM_W::new(self, 20) } #[doc = "Bits 24:25 - The delay mode of I2S TX WS input signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn tx_ws_in_dm(&mut self) -> TX_WS_IN_DM_W { TX_WS_IN_DM_W::new(self, 24) } #[doc = "Bits 28:29 - The delay mode of I2S TX BCK input signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn tx_bck_in_dm(&mut self) -> TX_BCK_IN_DM_W { TX_BCK_IN_DM_W::new(self, 28) } diff --git a/esp32h2/src/ieee802154/ack_frame_pending_en.rs b/esp32h2/src/ieee802154/ack_frame_pending_en.rs index 949faffac2..560f570e45 100644 --- a/esp32h2/src/ieee802154/ack_frame_pending_en.rs +++ b/esp32h2/src/ieee802154/ack_frame_pending_en.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn ack_frame_pending_en(&mut self) -> ACK_FRAME_PENDING_EN_W { ACK_FRAME_PENDING_EN_W::new(self, 0) } #[doc = "Bits 16:31"] #[inline(always)] - #[must_use] pub fn ack_tx_ack_timeout(&mut self) -> ACK_TX_ACK_TIMEOUT_W { ACK_TX_ACK_TIMEOUT_W::new(self, 16) } diff --git a/esp32h2/src/ieee802154/ack_timeout.rs b/esp32h2/src/ieee802154/ack_timeout.rs index 9e55cfba71..f057a3cb34 100644 --- a/esp32h2/src/ieee802154/ack_timeout.rs +++ b/esp32h2/src/ieee802154/ack_timeout.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn ack_timeout(&mut self) -> ACK_TIMEOUT_W { ACK_TIMEOUT_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/bb_clk.rs b/esp32h2/src/ieee802154/bb_clk.rs index 6ead756547..a214cdd83c 100644 --- a/esp32h2/src/ieee802154/bb_clk.rs +++ b/esp32h2/src/ieee802154/bb_clk.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn freq_minus_1(&mut self) -> FREQ_MINUS_1_W { FREQ_MINUS_1_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/cca_busy_cnt.rs b/esp32h2/src/ieee802154/cca_busy_cnt.rs index 7c787b1f0b..b73e00628e 100644 --- a/esp32h2/src/ieee802154/cca_busy_cnt.rs +++ b/esp32h2/src/ieee802154/cca_busy_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn cca_busy_cnt(&mut self) -> CCA_BUSY_CNT_W { CCA_BUSY_CNT_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/cca_fail_cnt.rs b/esp32h2/src/ieee802154/cca_fail_cnt.rs index bb5b4dfda7..9fe89bdefd 100644 --- a/esp32h2/src/ieee802154/cca_fail_cnt.rs +++ b/esp32h2/src/ieee802154/cca_fail_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn cca_fail_cnt(&mut self) -> CCA_FAIL_CNT_W { CCA_FAIL_CNT_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/channel.rs b/esp32h2/src/ieee802154/channel.rs index 8b4b24f557..b3a5d4d3d2 100644 --- a/esp32h2/src/ieee802154/channel.rs +++ b/esp32h2/src/ieee802154/channel.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn hop(&mut self) -> HOP_W { HOP_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/clk_counter.rs b/esp32h2/src/ieee802154/clk_counter.rs index 14bf0c7598..e869426f95 100644 --- a/esp32h2/src/ieee802154/clk_counter.rs +++ b/esp32h2/src/ieee802154/clk_counter.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn clk_625us_cnt(&mut self) -> CLK_625US_CNT_W { CLK_625US_CNT_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/clk_counter_match_val.rs b/esp32h2/src/ieee802154/clk_counter_match_val.rs index 644a442f1e..8b5801e00b 100644 --- a/esp32h2/src/ieee802154/clk_counter_match_val.rs +++ b/esp32h2/src/ieee802154/clk_counter_match_val.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn clk_count_match_val(&mut self) -> CLK_COUNT_MATCH_VAL_W { CLK_COUNT_MATCH_VAL_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/coex_pti.rs b/esp32h2/src/ieee802154/coex_pti.rs index 5f40a8853b..d67a7dcb66 100644 --- a/esp32h2/src/ieee802154/coex_pti.rs +++ b/esp32h2/src/ieee802154/coex_pti.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3"] #[inline(always)] - #[must_use] pub fn coex_pti(&mut self) -> COEX_PTI_W { COEX_PTI_W::new(self, 0) } #[doc = "Bits 4:7"] #[inline(always)] - #[must_use] pub fn coex_ack_pti(&mut self) -> COEX_ACK_PTI_W { COEX_ACK_PTI_W::new(self, 4) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn close_rf_sel(&mut self) -> CLOSE_RF_SEL_W { CLOSE_RF_SEL_W::new(self, 8) } diff --git a/esp32h2/src/ieee802154/command.rs b/esp32h2/src/ieee802154/command.rs index 33795b0fcc..bc047f5215 100644 --- a/esp32h2/src/ieee802154/command.rs +++ b/esp32h2/src/ieee802154/command.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn opcode(&mut self) -> OPCODE_W { OPCODE_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/cont_rx_delay.rs b/esp32h2/src/ieee802154/cont_rx_delay.rs index 1e336c0d55..e93f737da4 100644 --- a/esp32h2/src/ieee802154/cont_rx_delay.rs +++ b/esp32h2/src/ieee802154/cont_rx_delay.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn cont_rx_delay(&mut self) -> CONT_RX_DELAY_W { CONT_RX_DELAY_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/core_dummy_data.rs b/esp32h2/src/ieee802154/core_dummy_data.rs index 4fe9b2bb81..f114269003 100644 --- a/esp32h2/src/ieee802154/core_dummy_data.rs +++ b/esp32h2/src/ieee802154/core_dummy_data.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn core_dummy_data(&mut self) -> CORE_DUMMY_DATA_W { CORE_DUMMY_DATA_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/core_gck_cfg.rs b/esp32h2/src/ieee802154/core_gck_cfg.rs index 79a3f0424d..f32c048ee4 100644 --- a/esp32h2/src/ieee802154/core_gck_cfg.rs +++ b/esp32h2/src/ieee802154/core_gck_cfg.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn dis_pkt_gck(&mut self) -> DIS_PKT_GCK_W { DIS_PKT_GCK_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn dis_ctrl_gck(&mut self) -> DIS_CTRL_GCK_W { DIS_CTRL_GCK_W::new(self, 1) } diff --git a/esp32h2/src/ieee802154/crc_error_cnt.rs b/esp32h2/src/ieee802154/crc_error_cnt.rs index d4e2e3d26d..3c5eb80fda 100644 --- a/esp32h2/src/ieee802154/crc_error_cnt.rs +++ b/esp32h2/src/ieee802154/crc_error_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn crc_error_cnt(&mut self) -> CRC_ERROR_CNT_W { CRC_ERROR_CNT_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/ctrl_cfg.rs b/esp32h2/src/ieee802154/ctrl_cfg.rs index 8f79f5d9c7..4659b5fa9b 100644 --- a/esp32h2/src/ieee802154/ctrl_cfg.rs +++ b/esp32h2/src/ieee802154/ctrl_cfg.rs @@ -197,43 +197,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn hw_auto_ack_tx_en(&mut self) -> HW_AUTO_ACK_TX_EN_W { HW_AUTO_ACK_TX_EN_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn hw_enhance_ack_tx_en(&mut self) -> HW_ENHANCE_ACK_TX_EN_W { HW_ENHANCE_ACK_TX_EN_W::new(self, 1) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn hw_auto_ack_rx_en(&mut self) -> HW_AUTO_ACK_RX_EN_W { HW_AUTO_ACK_RX_EN_W::new(self, 3) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn dis_ifs_control(&mut self) -> DIS_IFS_CONTROL_W { DIS_IFS_CONTROL_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn pan_coordinator(&mut self) -> PAN_COORDINATOR_W { PAN_COORDINATOR_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn promiscuous_mode(&mut self) -> PROMISCUOUS_MODE_W { PROMISCUOUS_MODE_W::new(self, 7) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn dis_frame_version_rsv_filter( &mut self, ) -> DIS_FRAME_VERSION_RSV_FILTER_W { @@ -241,67 +234,56 @@ impl W { } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn autopend_enhance(&mut self) -> AUTOPEND_ENHANCE_W { AUTOPEND_ENHANCE_W::new(self, 12) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn filter_enhance(&mut self) -> FILTER_ENHANCE_W { FILTER_ENHANCE_W::new(self, 14) } #[doc = "Bits 16:20"] #[inline(always)] - #[must_use] pub fn coex_arb_delay(&mut self) -> COEX_ARB_DELAY_W { COEX_ARB_DELAY_W::new(self, 16) } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn bit_order(&mut self) -> BIT_ORDER_W { BIT_ORDER_W::new(self, 24) } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn no_rss_trk_enb(&mut self) -> NO_RSS_TRK_ENB_W { NO_RSS_TRK_ENB_W::new(self, 25) } #[doc = "Bit 26"] #[inline(always)] - #[must_use] pub fn force_rx_enb(&mut self) -> FORCE_RX_ENB_W { FORCE_RX_ENB_W::new(self, 26) } #[doc = "Bit 27"] #[inline(always)] - #[must_use] pub fn rx_done_trigger_idle(&mut self) -> RX_DONE_TRIGGER_IDLE_W { RX_DONE_TRIGGER_IDLE_W::new(self, 27) } #[doc = "Bit 28"] #[inline(always)] - #[must_use] pub fn mac_inf0_enable(&mut self) -> MAC_INF0_ENABLE_W { MAC_INF0_ENABLE_W::new(self, 28) } #[doc = "Bit 29"] #[inline(always)] - #[must_use] pub fn mac_inf1_enable(&mut self) -> MAC_INF1_ENABLE_W { MAC_INF1_ENABLE_W::new(self, 29) } #[doc = "Bit 30"] #[inline(always)] - #[must_use] pub fn mac_inf2_enable(&mut self) -> MAC_INF2_ENABLE_W { MAC_INF2_ENABLE_W::new(self, 30) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn mac_inf3_enable(&mut self) -> MAC_INF3_ENABLE_W { MAC_INF3_ENABLE_W::new(self, 31) } diff --git a/esp32h2/src/ieee802154/dcdc_ctrl.rs b/esp32h2/src/ieee802154/dcdc_ctrl.rs index c7a3748f20..2cba23630a 100644 --- a/esp32h2/src/ieee802154/dcdc_ctrl.rs +++ b/esp32h2/src/ieee802154/dcdc_ctrl.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn dcdc_pre_up_delay(&mut self) -> DCDC_PRE_UP_DELAY_W { DCDC_PRE_UP_DELAY_W::new(self, 0) } #[doc = "Bits 8:15"] #[inline(always)] - #[must_use] pub fn dcdc_down_delay(&mut self) -> DCDC_DOWN_DELAY_W { DCDC_DOWN_DELAY_W::new(self, 8) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 16) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn tx_dcdc_up(&mut self) -> TX_DCDC_UP_W { TX_DCDC_UP_W::new(self, 31) } diff --git a/esp32h2/src/ieee802154/debug_ctrl.rs b/esp32h2/src/ieee802154/debug_ctrl.rs index 49e76d3d74..2c7189784c 100644 --- a/esp32h2/src/ieee802154/debug_ctrl.rs +++ b/esp32h2/src/ieee802154/debug_ctrl.rs @@ -96,25 +96,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2"] #[inline(always)] - #[must_use] pub fn debug_signal_sel(&mut self) -> DEBUG_SIGNAL_SEL_W { DEBUG_SIGNAL_SEL_W::new(self, 0) } #[doc = "Bits 8:11"] #[inline(always)] - #[must_use] pub fn debug_trigger_state_select(&mut self) -> DEBUG_TRIGGER_STATE_SELECT_W { DEBUG_TRIGGER_STATE_SELECT_W::new(self, 8) } #[doc = "Bits 12:15"] #[inline(always)] - #[must_use] pub fn debug_ser_debug_sel(&mut self) -> DEBUG_SER_DEBUG_SEL_W { DEBUG_SER_DEBUG_SEL_W::new(self, 12) } #[doc = "Bits 16:20"] #[inline(always)] - #[must_use] pub fn debug_trigger_state_match_value( &mut self, ) -> DEBUG_TRIGGER_STATE_MATCH_VALUE_W { @@ -122,19 +118,16 @@ impl W { } #[doc = "Bits 24:26"] #[inline(always)] - #[must_use] pub fn debug_trigger_pulse_select(&mut self) -> DEBUG_TRIGGER_PULSE_SELECT_W { DEBUG_TRIGGER_PULSE_SELECT_W::new(self, 24) } #[doc = "Bit 30"] #[inline(always)] - #[must_use] pub fn debug_state_match_dump_en(&mut self) -> DEBUG_STATE_MATCH_DUMP_EN_W { DEBUG_STATE_MATCH_DUMP_EN_W::new(self, 30) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn debug_trigger_dump_en(&mut self) -> DEBUG_TRIGGER_DUMP_EN_W { DEBUG_TRIGGER_DUMP_EN_W::new(self, 31) } diff --git a/esp32h2/src/ieee802154/debug_sel_cfg0.rs b/esp32h2/src/ieee802154/debug_sel_cfg0.rs index 8fe9967722..6766257f6b 100644 --- a/esp32h2/src/ieee802154/debug_sel_cfg0.rs +++ b/esp32h2/src/ieee802154/debug_sel_cfg0.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn debug_field0_sel(&mut self) -> DEBUG_FIELD0_SEL_W { DEBUG_FIELD0_SEL_W::new(self, 0) } #[doc = "Bits 8:12"] #[inline(always)] - #[must_use] pub fn debug_field1_sel(&mut self) -> DEBUG_FIELD1_SEL_W { DEBUG_FIELD1_SEL_W::new(self, 8) } #[doc = "Bits 16:20"] #[inline(always)] - #[must_use] pub fn debug_field2_sel(&mut self) -> DEBUG_FIELD2_SEL_W { DEBUG_FIELD2_SEL_W::new(self, 16) } #[doc = "Bits 24:28"] #[inline(always)] - #[must_use] pub fn debug_field3_sel(&mut self) -> DEBUG_FIELD3_SEL_W { DEBUG_FIELD3_SEL_W::new(self, 24) } diff --git a/esp32h2/src/ieee802154/debug_sel_cfg1.rs b/esp32h2/src/ieee802154/debug_sel_cfg1.rs index 085411514d..a2f6425c61 100644 --- a/esp32h2/src/ieee802154/debug_sel_cfg1.rs +++ b/esp32h2/src/ieee802154/debug_sel_cfg1.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn debug_field4_sel(&mut self) -> DEBUG_FIELD4_SEL_W { DEBUG_FIELD4_SEL_W::new(self, 0) } #[doc = "Bits 8:12"] #[inline(always)] - #[must_use] pub fn debug_field5_sel(&mut self) -> DEBUG_FIELD5_SEL_W { DEBUG_FIELD5_SEL_W::new(self, 8) } #[doc = "Bits 16:20"] #[inline(always)] - #[must_use] pub fn debug_field6_sel(&mut self) -> DEBUG_FIELD6_SEL_W { DEBUG_FIELD6_SEL_W::new(self, 16) } #[doc = "Bits 24:28"] #[inline(always)] - #[must_use] pub fn debug_field7_sel(&mut self) -> DEBUG_FIELD7_SEL_W { DEBUG_FIELD7_SEL_W::new(self, 24) } diff --git a/esp32h2/src/ieee802154/dma_dummy.rs b/esp32h2/src/ieee802154/dma_dummy.rs index 28126fb4bb..14cadf632a 100644 --- a/esp32h2/src/ieee802154/dma_dummy.rs +++ b/esp32h2/src/ieee802154/dma_dummy.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn data(&mut self) -> DATA_W { DATA_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/dma_gck_cfg.rs b/esp32h2/src/ieee802154/dma_gck_cfg.rs index 8222ff0c88..207d1c4a6c 100644 --- a/esp32h2/src/ieee802154/dma_gck_cfg.rs +++ b/esp32h2/src/ieee802154/dma_gck_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn dma_gck_cfg(&mut self) -> DMA_GCK_CFG_W { DMA_GCK_CFG_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/dtm_config.rs b/esp32h2/src/ieee802154/dtm_config.rs index ae1d77beaa..70386f7950 100644 --- a/esp32h2/src/ieee802154/dtm_config.rs +++ b/esp32h2/src/ieee802154/dtm_config.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn dtmch_tx_length(&mut self) -> DTMCH_TX_LENGTH_W { DTMCH_TX_LENGTH_W::new(self, 0) } #[doc = "Bits 8:11"] #[inline(always)] - #[must_use] pub fn dtm_tx_pld_type(&mut self) -> DTM_TX_PLD_TYPE_W { DTM_TX_PLD_TYPE_W::new(self, 8) } #[doc = "Bits 16:21"] #[inline(always)] - #[must_use] pub fn dtm_hop_freq(&mut self) -> DTM_HOP_FREQ_W { DTM_HOP_FREQ_W::new(self, 16) } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn dtm_contrx_en(&mut self) -> DTM_CONTRX_EN_W { DTM_CONTRX_EN_W::new(self, 24) } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn dtm_on(&mut self) -> DTM_ON_W { DTM_ON_W::new(self, 25) } diff --git a/esp32h2/src/ieee802154/dtm_pkt_counter.rs b/esp32h2/src/ieee802154/dtm_pkt_counter.rs index 7f9d4580cc..673d668a6a 100644 --- a/esp32h2/src/ieee802154/dtm_pkt_counter.rs +++ b/esp32h2/src/ieee802154/dtm_pkt_counter.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn dtm_txrx_pkt_count(&mut self) -> DTM_TXRX_PKT_COUNT_W { DTM_TXRX_PKT_COUNT_W::new(self, 0) } #[doc = "Bits 16:31"] #[inline(always)] - #[must_use] pub fn dtm_crc_err_pkt_count(&mut self) -> DTM_CRC_ERR_PKT_COUNT_W { DTM_CRC_ERR_PKT_COUNT_W::new(self, 16) } diff --git a/esp32h2/src/ieee802154/dtm_tx_pkt_config.rs b/esp32h2/src/ieee802154/dtm_tx_pkt_config.rs index 2894fe11e9..41947e0cfc 100644 --- a/esp32h2/src/ieee802154/dtm_tx_pkt_config.rs +++ b/esp32h2/src/ieee802154/dtm_tx_pkt_config.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn dtm_tx_pkt_threshold(&mut self) -> DTM_TX_PKT_THRESHOLD_W { DTM_TX_PKT_THRESHOLD_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/ed_abort_cnt.rs b/esp32h2/src/ieee802154/ed_abort_cnt.rs index aaaeb454e9..acdf9ebeda 100644 --- a/esp32h2/src/ieee802154/ed_abort_cnt.rs +++ b/esp32h2/src/ieee802154/ed_abort_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn ed_abort_cnt(&mut self) -> ED_ABORT_CNT_W { ED_ABORT_CNT_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/ed_scan_cfg.rs b/esp32h2/src/ieee802154/ed_scan_cfg.rs index 06b1ec9d8c..ffa43331f2 100644 --- a/esp32h2/src/ieee802154/ed_scan_cfg.rs +++ b/esp32h2/src/ieee802154/ed_scan_cfg.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn cca_ed_threshold(&mut self) -> CCA_ED_THRESHOLD_W { CCA_ED_THRESHOLD_W::new(self, 0) } #[doc = "Bits 11:12"] #[inline(always)] - #[must_use] pub fn ed_sample_mode(&mut self) -> ED_SAMPLE_MODE_W { ED_SAMPLE_MODE_W::new(self, 11) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn dis_ed_power_sel(&mut self) -> DIS_ED_POWER_SEL_W { DIS_ED_POWER_SEL_W::new(self, 13) } #[doc = "Bits 14:15"] #[inline(always)] - #[must_use] pub fn cca_mode(&mut self) -> CCA_MODE_W { CCA_MODE_W::new(self, 14) } #[doc = "Bits 16:23"] #[inline(always)] - #[must_use] pub fn ed_rss(&mut self) -> ED_RSS_W { ED_RSS_W::new(self, 16) } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn cca_busy(&mut self) -> CCA_BUSY_W { CCA_BUSY_W::new(self, 24) } diff --git a/esp32h2/src/ieee802154/ed_scan_coex_cnt.rs b/esp32h2/src/ieee802154/ed_scan_coex_cnt.rs index d1ab12c985..78c9841b19 100644 --- a/esp32h2/src/ieee802154/ed_scan_coex_cnt.rs +++ b/esp32h2/src/ieee802154/ed_scan_coex_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn ed_scan_coex_cnt(&mut self) -> ED_SCAN_COEX_CNT_W { ED_SCAN_COEX_CNT_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/ed_scan_duration.rs b/esp32h2/src/ieee802154/ed_scan_duration.rs index 0953979c04..3e8587f8b9 100644 --- a/esp32h2/src/ieee802154/ed_scan_duration.rs +++ b/esp32h2/src/ieee802154/ed_scan_duration.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23"] #[inline(always)] - #[must_use] pub fn ed_scan_duration(&mut self) -> ED_SCAN_DURATION_W { ED_SCAN_DURATION_W::new(self, 0) } #[doc = "Bits 24:27"] #[inline(always)] - #[must_use] pub fn ed_scan_wait_dly(&mut self) -> ED_SCAN_WAIT_DLY_W { ED_SCAN_WAIT_DLY_W::new(self, 24) } diff --git a/esp32h2/src/ieee802154/enhance_ack_cfg.rs b/esp32h2/src/ieee802154/enhance_ack_cfg.rs index 6662c9178f..a3570a6b86 100644 --- a/esp32h2/src/ieee802154/enhance_ack_cfg.rs +++ b/esp32h2/src/ieee802154/enhance_ack_cfg.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn tx_enh_ack_generate_done_notify( &mut self, ) -> TX_ENH_ACK_GENERATE_DONE_NOTIFY_W { diff --git a/esp32h2/src/ieee802154/error_cnt_clear.rs b/esp32h2/src/ieee802154/error_cnt_clear.rs index 1c2b43d8c6..3898365de7 100644 --- a/esp32h2/src/ieee802154/error_cnt_clear.rs +++ b/esp32h2/src/ieee802154/error_cnt_clear.rs @@ -173,13 +173,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn cca_busy_cnt_clear(&mut self) -> CCA_BUSY_CNT_CLEAR_W { CCA_BUSY_CNT_CLEAR_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn tx_security_error_cnt_clear( &mut self, ) -> TX_SECURITY_ERROR_CNT_CLEAR_W { @@ -187,19 +185,16 @@ impl W { } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn tx_break_coex_cnt_clear(&mut self) -> TX_BREAK_COEX_CNT_CLEAR_W { TX_BREAK_COEX_CNT_CLEAR_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn rx_ack_timeout_cnt_clear(&mut self) -> RX_ACK_TIMEOUT_CNT_CLEAR_W { RX_ACK_TIMEOUT_CNT_CLEAR_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn rx_ack_abort_coex_cnt_clear( &mut self, ) -> RX_ACK_ABORT_COEX_CNT_CLEAR_W { @@ -207,13 +202,11 @@ impl W { } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn ed_scan_coex_cnt_clear(&mut self) -> ED_SCAN_COEX_CNT_CLEAR_W { ED_SCAN_COEX_CNT_CLEAR_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn tx_ack_abort_coex_cnt_clear( &mut self, ) -> TX_ACK_ABORT_COEX_CNT_CLEAR_W { @@ -221,49 +214,41 @@ impl W { } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn rx_restart_cnt_clear(&mut self) -> RX_RESTART_CNT_CLEAR_W { RX_RESTART_CNT_CLEAR_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn rx_abort_coex_cnt_clear(&mut self) -> RX_ABORT_COEX_CNT_CLEAR_W { RX_ABORT_COEX_CNT_CLEAR_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn no_rss_detect_cnt_clear(&mut self) -> NO_RSS_DETECT_CNT_CLEAR_W { NO_RSS_DETECT_CNT_CLEAR_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn rx_filter_fail_cnt_clear(&mut self) -> RX_FILTER_FAIL_CNT_CLEAR_W { RX_FILTER_FAIL_CNT_CLEAR_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn cca_fail_cnt_clear(&mut self) -> CCA_FAIL_CNT_CLEAR_W { CCA_FAIL_CNT_CLEAR_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn ed_abort_cnt_clear(&mut self) -> ED_ABORT_CNT_CLEAR_W { ED_ABORT_CNT_CLEAR_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn crc_error_cnt_clear(&mut self) -> CRC_ERROR_CNT_CLEAR_W { CRC_ERROR_CNT_CLEAR_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn sfd_timeout_cnt_clear(&mut self) -> SFD_TIMEOUT_CNT_CLEAR_W { SFD_TIMEOUT_CNT_CLEAR_W::new(self, 14) } diff --git a/esp32h2/src/ieee802154/event_en.rs b/esp32h2/src/ieee802154/event_en.rs index aa76dc51a3..7c46c4c864 100644 --- a/esp32h2/src/ieee802154/event_en.rs +++ b/esp32h2/src/ieee802154/event_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:12"] #[inline(always)] - #[must_use] pub fn event_en(&mut self) -> EVENT_EN_W { EVENT_EN_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/event_status.rs b/esp32h2/src/ieee802154/event_status.rs index b2e6df073a..d390a07396 100644 --- a/esp32h2/src/ieee802154/event_status.rs +++ b/esp32h2/src/ieee802154/event_status.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:12"] #[inline(always)] - #[must_use] pub fn event_status(&mut self) -> EVENT_STATUS_W { EVENT_STATUS_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/ifs.rs b/esp32h2/src/ieee802154/ifs.rs index b4a2be367b..9819811464 100644 --- a/esp32h2/src/ieee802154/ifs.rs +++ b/esp32h2/src/ieee802154/ifs.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn sifs(&mut self) -> SIFS_W { SIFS_W::new(self, 0) } #[doc = "Bits 16:25"] #[inline(always)] - #[must_use] pub fn lifs(&mut self) -> LIFS_W { LIFS_W::new(self, 16) } diff --git a/esp32h2/src/ieee802154/ifs_counter.rs b/esp32h2/src/ieee802154/ifs_counter.rs index 86b27cf371..385dbf14fe 100644 --- a/esp32h2/src/ieee802154/ifs_counter.rs +++ b/esp32h2/src/ieee802154/ifs_counter.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9"] #[inline(always)] - #[must_use] pub fn ifs_counter(&mut self) -> IFS_COUNTER_W { IFS_COUNTER_W::new(self, 0) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 16) } diff --git a/esp32h2/src/ieee802154/inf0_extend_addr0.rs b/esp32h2/src/ieee802154/inf0_extend_addr0.rs index e8050a6283..44f35a1ec2 100644 --- a/esp32h2/src/ieee802154/inf0_extend_addr0.rs +++ b/esp32h2/src/ieee802154/inf0_extend_addr0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn mac_inf0_extend_addr0(&mut self) -> MAC_INF0_EXTEND_ADDR0_W { MAC_INF0_EXTEND_ADDR0_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/inf0_extend_addr1.rs b/esp32h2/src/ieee802154/inf0_extend_addr1.rs index f0d536726c..783d5cb717 100644 --- a/esp32h2/src/ieee802154/inf0_extend_addr1.rs +++ b/esp32h2/src/ieee802154/inf0_extend_addr1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn mac_inf0_extend_addr1(&mut self) -> MAC_INF0_EXTEND_ADDR1_W { MAC_INF0_EXTEND_ADDR1_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/inf0_pan_id.rs b/esp32h2/src/ieee802154/inf0_pan_id.rs index b07c5ad414..9e47089b67 100644 --- a/esp32h2/src/ieee802154/inf0_pan_id.rs +++ b/esp32h2/src/ieee802154/inf0_pan_id.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn mac_inf0_pan_id(&mut self) -> MAC_INF0_PAN_ID_W { MAC_INF0_PAN_ID_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/inf0_short_addr.rs b/esp32h2/src/ieee802154/inf0_short_addr.rs index a54dfe891f..a86b8f8162 100644 --- a/esp32h2/src/ieee802154/inf0_short_addr.rs +++ b/esp32h2/src/ieee802154/inf0_short_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn mac_inf0_short_addr(&mut self) -> MAC_INF0_SHORT_ADDR_W { MAC_INF0_SHORT_ADDR_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/inf1_extend_addr0.rs b/esp32h2/src/ieee802154/inf1_extend_addr0.rs index dab085a25f..83b82239df 100644 --- a/esp32h2/src/ieee802154/inf1_extend_addr0.rs +++ b/esp32h2/src/ieee802154/inf1_extend_addr0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn mac_inf1_extend_addr0(&mut self) -> MAC_INF1_EXTEND_ADDR0_W { MAC_INF1_EXTEND_ADDR0_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/inf1_extend_addr1.rs b/esp32h2/src/ieee802154/inf1_extend_addr1.rs index 816b0a09cc..5f61c11752 100644 --- a/esp32h2/src/ieee802154/inf1_extend_addr1.rs +++ b/esp32h2/src/ieee802154/inf1_extend_addr1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn mac_inf1_extend_addr1(&mut self) -> MAC_INF1_EXTEND_ADDR1_W { MAC_INF1_EXTEND_ADDR1_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/inf1_pan_id.rs b/esp32h2/src/ieee802154/inf1_pan_id.rs index 4aa0b7e547..520a285d89 100644 --- a/esp32h2/src/ieee802154/inf1_pan_id.rs +++ b/esp32h2/src/ieee802154/inf1_pan_id.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn mac_inf1_pan_id(&mut self) -> MAC_INF1_PAN_ID_W { MAC_INF1_PAN_ID_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/inf1_short_addr.rs b/esp32h2/src/ieee802154/inf1_short_addr.rs index cf8041f00e..bc79b14eed 100644 --- a/esp32h2/src/ieee802154/inf1_short_addr.rs +++ b/esp32h2/src/ieee802154/inf1_short_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn mac_inf1_short_addr(&mut self) -> MAC_INF1_SHORT_ADDR_W { MAC_INF1_SHORT_ADDR_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/inf2_extend_addr0.rs b/esp32h2/src/ieee802154/inf2_extend_addr0.rs index 2d8ca79aa3..bd0e83ba6c 100644 --- a/esp32h2/src/ieee802154/inf2_extend_addr0.rs +++ b/esp32h2/src/ieee802154/inf2_extend_addr0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn mac_inf2_extend_addr0(&mut self) -> MAC_INF2_EXTEND_ADDR0_W { MAC_INF2_EXTEND_ADDR0_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/inf2_extend_addr1.rs b/esp32h2/src/ieee802154/inf2_extend_addr1.rs index 2729506bca..f65ec73bad 100644 --- a/esp32h2/src/ieee802154/inf2_extend_addr1.rs +++ b/esp32h2/src/ieee802154/inf2_extend_addr1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn mac_inf2_extend_addr1(&mut self) -> MAC_INF2_EXTEND_ADDR1_W { MAC_INF2_EXTEND_ADDR1_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/inf2_pan_id.rs b/esp32h2/src/ieee802154/inf2_pan_id.rs index 1e6243940c..9c12442527 100644 --- a/esp32h2/src/ieee802154/inf2_pan_id.rs +++ b/esp32h2/src/ieee802154/inf2_pan_id.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn mac_inf2_pan_id(&mut self) -> MAC_INF2_PAN_ID_W { MAC_INF2_PAN_ID_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/inf2_short_addr.rs b/esp32h2/src/ieee802154/inf2_short_addr.rs index f37bb72a75..7d3d88abea 100644 --- a/esp32h2/src/ieee802154/inf2_short_addr.rs +++ b/esp32h2/src/ieee802154/inf2_short_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn mac_inf2_short_addr(&mut self) -> MAC_INF2_SHORT_ADDR_W { MAC_INF2_SHORT_ADDR_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/inf3_extend_addr0.rs b/esp32h2/src/ieee802154/inf3_extend_addr0.rs index 94c9714fb3..e1186f7893 100644 --- a/esp32h2/src/ieee802154/inf3_extend_addr0.rs +++ b/esp32h2/src/ieee802154/inf3_extend_addr0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn mac_inf3_extend_addr0(&mut self) -> MAC_INF3_EXTEND_ADDR0_W { MAC_INF3_EXTEND_ADDR0_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/inf3_extend_addr1.rs b/esp32h2/src/ieee802154/inf3_extend_addr1.rs index 8fe1b4b9d9..0728455d2c 100644 --- a/esp32h2/src/ieee802154/inf3_extend_addr1.rs +++ b/esp32h2/src/ieee802154/inf3_extend_addr1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn mac_inf3_extend_addr1(&mut self) -> MAC_INF3_EXTEND_ADDR1_W { MAC_INF3_EXTEND_ADDR1_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/inf3_pan_id.rs b/esp32h2/src/ieee802154/inf3_pan_id.rs index dafeaf3ee7..f59344efec 100644 --- a/esp32h2/src/ieee802154/inf3_pan_id.rs +++ b/esp32h2/src/ieee802154/inf3_pan_id.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn mac_inf3_pan_id(&mut self) -> MAC_INF3_PAN_ID_W { MAC_INF3_PAN_ID_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/inf3_short_addr.rs b/esp32h2/src/ieee802154/inf3_short_addr.rs index aaec32f953..df0c3c9148 100644 --- a/esp32h2/src/ieee802154/inf3_short_addr.rs +++ b/esp32h2/src/ieee802154/inf3_short_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn mac_inf3_short_addr(&mut self) -> MAC_INF3_SHORT_ADDR_W { MAC_INF3_SHORT_ADDR_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/mac_date.rs b/esp32h2/src/ieee802154/mac_date.rs index 07289174cf..1f299984f9 100644 --- a/esp32h2/src/ieee802154/mac_date.rs +++ b/esp32h2/src/ieee802154/mac_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn mac_date(&mut self) -> MAC_DATE_W { MAC_DATE_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/no_rss_detect_cnt.rs b/esp32h2/src/ieee802154/no_rss_detect_cnt.rs index 28b9247ebe..1483f27964 100644 --- a/esp32h2/src/ieee802154/no_rss_detect_cnt.rs +++ b/esp32h2/src/ieee802154/no_rss_detect_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn no_rss_detect_cnt(&mut self) -> NO_RSS_DETECT_CNT_W { NO_RSS_DETECT_CNT_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/paon_delay.rs b/esp32h2/src/ieee802154/paon_delay.rs index f3f57a8ae1..b8bf0429af 100644 --- a/esp32h2/src/ieee802154/paon_delay.rs +++ b/esp32h2/src/ieee802154/paon_delay.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9"] #[inline(always)] - #[must_use] pub fn paon_delay(&mut self) -> PAON_DELAY_W { PAON_DELAY_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/rx_abort_coex_cnt.rs b/esp32h2/src/ieee802154/rx_abort_coex_cnt.rs index 311116e9b0..8f0ff79823 100644 --- a/esp32h2/src/ieee802154/rx_abort_coex_cnt.rs +++ b/esp32h2/src/ieee802154/rx_abort_coex_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn rx_abort_coex_cnt(&mut self) -> RX_ABORT_COEX_CNT_W { RX_ABORT_COEX_CNT_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/rx_abort_intr_ctrl.rs b/esp32h2/src/ieee802154/rx_abort_intr_ctrl.rs index e3a14000fb..37ab6a83f4 100644 --- a/esp32h2/src/ieee802154/rx_abort_intr_ctrl.rs +++ b/esp32h2/src/ieee802154/rx_abort_intr_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30"] #[inline(always)] - #[must_use] pub fn rx_abort_intr_ctrl(&mut self) -> RX_ABORT_INTR_CTRL_W { RX_ABORT_INTR_CTRL_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/rx_ack_abort_coex_cnt.rs b/esp32h2/src/ieee802154/rx_ack_abort_coex_cnt.rs index 288810873e..7c6904143f 100644 --- a/esp32h2/src/ieee802154/rx_ack_abort_coex_cnt.rs +++ b/esp32h2/src/ieee802154/rx_ack_abort_coex_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn rx_ack_abort_coex_cnt(&mut self) -> RX_ACK_ABORT_COEX_CNT_W { RX_ACK_ABORT_COEX_CNT_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/rx_ack_timeout_cnt.rs b/esp32h2/src/ieee802154/rx_ack_timeout_cnt.rs index 3cd6d19085..505d65eb5a 100644 --- a/esp32h2/src/ieee802154/rx_ack_timeout_cnt.rs +++ b/esp32h2/src/ieee802154/rx_ack_timeout_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn rx_ack_timeout_cnt(&mut self) -> RX_ACK_TIMEOUT_CNT_W { RX_ACK_TIMEOUT_CNT_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/rx_filter_fail_cnt.rs b/esp32h2/src/ieee802154/rx_filter_fail_cnt.rs index b03f1d836f..20b096847e 100644 --- a/esp32h2/src/ieee802154/rx_filter_fail_cnt.rs +++ b/esp32h2/src/ieee802154/rx_filter_fail_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn rx_filter_fail_cnt(&mut self) -> RX_FILTER_FAIL_CNT_W { RX_FILTER_FAIL_CNT_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/rx_length.rs b/esp32h2/src/ieee802154/rx_length.rs index 7896acd700..e99b31b1f1 100644 --- a/esp32h2/src/ieee802154/rx_length.rs +++ b/esp32h2/src/ieee802154/rx_length.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn rx_length(&mut self) -> RX_LENGTH_W { RX_LENGTH_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/rx_restart_cnt.rs b/esp32h2/src/ieee802154/rx_restart_cnt.rs index bc86dfaea2..22caaaef04 100644 --- a/esp32h2/src/ieee802154/rx_restart_cnt.rs +++ b/esp32h2/src/ieee802154/rx_restart_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn rx_restart_cnt(&mut self) -> RX_RESTART_CNT_W { RX_RESTART_CNT_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/rx_status.rs b/esp32h2/src/ieee802154/rx_status.rs index 1a7e067a97..716461288c 100644 --- a/esp32h2/src/ieee802154/rx_status.rs +++ b/esp32h2/src/ieee802154/rx_status.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3"] #[inline(always)] - #[must_use] pub fn filter_fail_status(&mut self) -> FILTER_FAIL_STATUS_W { FILTER_FAIL_STATUS_W::new(self, 0) } #[doc = "Bits 4:8"] #[inline(always)] - #[must_use] pub fn rx_abort_status(&mut self) -> RX_ABORT_STATUS_W { RX_ABORT_STATUS_W::new(self, 4) } #[doc = "Bits 16:18"] #[inline(always)] - #[must_use] pub fn rx_state(&mut self) -> RX_STATE_W { RX_STATE_W::new(self, 16) } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn preamble_match(&mut self) -> PREAMBLE_MATCH_W { PREAMBLE_MATCH_W::new(self, 20) } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn sfd_match(&mut self) -> SFD_MATCH_W { SFD_MATCH_W::new(self, 21) } diff --git a/esp32h2/src/ieee802154/rxdma_addr.rs b/esp32h2/src/ieee802154/rxdma_addr.rs index d36a8c78ab..2d8fb038a3 100644 --- a/esp32h2/src/ieee802154/rxdma_addr.rs +++ b/esp32h2/src/ieee802154/rxdma_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn rxdma_addr(&mut self) -> RXDMA_ADDR_W { RXDMA_ADDR_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/rxdma_ctrl_state.rs b/esp32h2/src/ieee802154/rxdma_ctrl_state.rs index 23db40d666..ac7608e67a 100644 --- a/esp32h2/src/ieee802154/rxdma_ctrl_state.rs +++ b/esp32h2/src/ieee802154/rxdma_ctrl_state.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2"] #[inline(always)] - #[must_use] pub fn rxdma_water_level(&mut self) -> RXDMA_WATER_LEVEL_W { RXDMA_WATER_LEVEL_W::new(self, 0) } #[doc = "Bits 16:20"] #[inline(always)] - #[must_use] pub fn rxdma_state(&mut self) -> RXDMA_STATE_W { RXDMA_STATE_W::new(self, 16) } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn rxdma_append_lqi_offset(&mut self) -> RXDMA_APPEND_LQI_OFFSET_W { RXDMA_APPEND_LQI_OFFSET_W::new(self, 24) } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn rxdma_append_freq_offset( &mut self, ) -> RXDMA_APPEND_FREQ_OFFSET_W { diff --git a/esp32h2/src/ieee802154/rxdma_err.rs b/esp32h2/src/ieee802154/rxdma_err.rs index 7181192d93..25bb599f01 100644 --- a/esp32h2/src/ieee802154/rxdma_err.rs +++ b/esp32h2/src/ieee802154/rxdma_err.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3"] #[inline(always)] - #[must_use] pub fn rxdma_err(&mut self) -> RXDMA_ERR_W { RXDMA_ERR_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/rxon_delay.rs b/esp32h2/src/ieee802154/rxon_delay.rs index 6e8edf6309..b3584fbd3c 100644 --- a/esp32h2/src/ieee802154/rxon_delay.rs +++ b/esp32h2/src/ieee802154/rxon_delay.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10"] #[inline(always)] - #[must_use] pub fn rxon_delay(&mut self) -> RXON_DELAY_W { RXON_DELAY_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/sec_ctrl.rs b/esp32h2/src/ieee802154/sec_ctrl.rs index 88e4cf48a4..e94cd690d4 100644 --- a/esp32h2/src/ieee802154/sec_ctrl.rs +++ b/esp32h2/src/ieee802154/sec_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn sec_en(&mut self) -> SEC_EN_W { SEC_EN_W::new(self, 0) } #[doc = "Bits 8:14"] #[inline(always)] - #[must_use] pub fn sec_payload_offset(&mut self) -> SEC_PAYLOAD_OFFSET_W { SEC_PAYLOAD_OFFSET_W::new(self, 8) } diff --git a/esp32h2/src/ieee802154/sec_extend_address0.rs b/esp32h2/src/ieee802154/sec_extend_address0.rs index 4b09ea7aeb..1f3d0b5071 100644 --- a/esp32h2/src/ieee802154/sec_extend_address0.rs +++ b/esp32h2/src/ieee802154/sec_extend_address0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn sec_extend_address0(&mut self) -> SEC_EXTEND_ADDRESS0_W { SEC_EXTEND_ADDRESS0_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/sec_extend_address1.rs b/esp32h2/src/ieee802154/sec_extend_address1.rs index 03799d954f..24b9b0ce75 100644 --- a/esp32h2/src/ieee802154/sec_extend_address1.rs +++ b/esp32h2/src/ieee802154/sec_extend_address1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn sec_extend_address1(&mut self) -> SEC_EXTEND_ADDRESS1_W { SEC_EXTEND_ADDRESS1_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/sec_key0.rs b/esp32h2/src/ieee802154/sec_key0.rs index 381d9ef6ac..c063888974 100644 --- a/esp32h2/src/ieee802154/sec_key0.rs +++ b/esp32h2/src/ieee802154/sec_key0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn sec_key0(&mut self) -> SEC_KEY0_W { SEC_KEY0_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/sec_key1.rs b/esp32h2/src/ieee802154/sec_key1.rs index 6b8235d63e..d09a1c4cf6 100644 --- a/esp32h2/src/ieee802154/sec_key1.rs +++ b/esp32h2/src/ieee802154/sec_key1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn sec_key1(&mut self) -> SEC_KEY1_W { SEC_KEY1_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/sec_key2.rs b/esp32h2/src/ieee802154/sec_key2.rs index d3f72d3df6..34159e2b3e 100644 --- a/esp32h2/src/ieee802154/sec_key2.rs +++ b/esp32h2/src/ieee802154/sec_key2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn sec_key2(&mut self) -> SEC_KEY2_W { SEC_KEY2_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/sec_key3.rs b/esp32h2/src/ieee802154/sec_key3.rs index 8a3cf3b151..2f29230869 100644 --- a/esp32h2/src/ieee802154/sec_key3.rs +++ b/esp32h2/src/ieee802154/sec_key3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn sec_key3(&mut self) -> SEC_KEY3_W { SEC_KEY3_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/sfd_timeout_cnt.rs b/esp32h2/src/ieee802154/sfd_timeout_cnt.rs index 6de57e2941..073af876e6 100644 --- a/esp32h2/src/ieee802154/sfd_timeout_cnt.rs +++ b/esp32h2/src/ieee802154/sfd_timeout_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn sfd_timeout_cnt(&mut self) -> SFD_TIMEOUT_CNT_W { SFD_TIMEOUT_CNT_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/sfd_wait_symbol.rs b/esp32h2/src/ieee802154/sfd_wait_symbol.rs index 0fe14d17de..5de50d98e6 100644 --- a/esp32h2/src/ieee802154/sfd_wait_symbol.rs +++ b/esp32h2/src/ieee802154/sfd_wait_symbol.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3"] #[inline(always)] - #[must_use] pub fn num(&mut self) -> NUM_W { NUM_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/test_control.rs b/esp32h2/src/ieee802154/test_control.rs index 035969c307..c57677d890 100644 --- a/esp32h2/src/ieee802154/test_control.rs +++ b/esp32h2/src/ieee802154/test_control.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn wrong_crc(&mut self) -> WRONG_CRC_W { WRONG_CRC_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/time0_threshold.rs b/esp32h2/src/ieee802154/time0_threshold.rs index a153f7220a..7a45570fdc 100644 --- a/esp32h2/src/ieee802154/time0_threshold.rs +++ b/esp32h2/src/ieee802154/time0_threshold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn timer0_threshold(&mut self) -> TIMER0_THRESHOLD_W { TIMER0_THRESHOLD_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/time0_value.rs b/esp32h2/src/ieee802154/time0_value.rs index bd564e6133..759739e7bf 100644 --- a/esp32h2/src/ieee802154/time0_value.rs +++ b/esp32h2/src/ieee802154/time0_value.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn timer0_value(&mut self) -> TIMER0_VALUE_W { TIMER0_VALUE_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/time1_threshold.rs b/esp32h2/src/ieee802154/time1_threshold.rs index 1d418858e6..251cb289fc 100644 --- a/esp32h2/src/ieee802154/time1_threshold.rs +++ b/esp32h2/src/ieee802154/time1_threshold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn timer1_threshold(&mut self) -> TIMER1_THRESHOLD_W { TIMER1_THRESHOLD_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/time1_value.rs b/esp32h2/src/ieee802154/time1_value.rs index 203ffe6278..de3a334148 100644 --- a/esp32h2/src/ieee802154/time1_value.rs +++ b/esp32h2/src/ieee802154/time1_value.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn timer1_value(&mut self) -> TIMER1_VALUE_W { TIMER1_VALUE_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/tx_abort_interrupt_control.rs b/esp32h2/src/ieee802154/tx_abort_interrupt_control.rs index b5ddb76ba8..fe1e382dba 100644 --- a/esp32h2/src/ieee802154/tx_abort_interrupt_control.rs +++ b/esp32h2/src/ieee802154/tx_abort_interrupt_control.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30"] #[inline(always)] - #[must_use] pub fn tx_abort_interrupt_control( &mut self, ) -> TX_ABORT_INTERRUPT_CONTROL_W { diff --git a/esp32h2/src/ieee802154/tx_ack_abort_coex_cnt.rs b/esp32h2/src/ieee802154/tx_ack_abort_coex_cnt.rs index 87270097df..46ed7e8dde 100644 --- a/esp32h2/src/ieee802154/tx_ack_abort_coex_cnt.rs +++ b/esp32h2/src/ieee802154/tx_ack_abort_coex_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn tx_ack_abort_coex_cnt(&mut self) -> TX_ACK_ABORT_COEX_CNT_W { TX_ACK_ABORT_COEX_CNT_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/tx_break_coex_cnt.rs b/esp32h2/src/ieee802154/tx_break_coex_cnt.rs index 10759ccb0a..20d51b985f 100644 --- a/esp32h2/src/ieee802154/tx_break_coex_cnt.rs +++ b/esp32h2/src/ieee802154/tx_break_coex_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn tx_break_coex_cnt(&mut self) -> TX_BREAK_COEX_CNT_W { TX_BREAK_COEX_CNT_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/tx_ccm_schedule_status.rs b/esp32h2/src/ieee802154/tx_ccm_schedule_status.rs index 5b61a127d7..aa217c8e89 100644 --- a/esp32h2/src/ieee802154/tx_ccm_schedule_status.rs +++ b/esp32h2/src/ieee802154/tx_ccm_schedule_status.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30"] #[inline(always)] - #[must_use] pub fn tx_ccm_schedule_status( &mut self, ) -> TX_CCM_SCHEDULE_STATUS_W { diff --git a/esp32h2/src/ieee802154/tx_power.rs b/esp32h2/src/ieee802154/tx_power.rs index 14d9e1c8a7..2e620d3f4d 100644 --- a/esp32h2/src/ieee802154/tx_power.rs +++ b/esp32h2/src/ieee802154/tx_power.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn tx_power(&mut self) -> TX_POWER_W { TX_POWER_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/tx_security_error_cnt.rs b/esp32h2/src/ieee802154/tx_security_error_cnt.rs index 687e0f399c..c1a96ce692 100644 --- a/esp32h2/src/ieee802154/tx_security_error_cnt.rs +++ b/esp32h2/src/ieee802154/tx_security_error_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn tx_security_error_cnt(&mut self) -> TX_SECURITY_ERROR_CNT_W { TX_SECURITY_ERROR_CNT_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/tx_status.rs b/esp32h2/src/ieee802154/tx_status.rs index 1ecd584012..3c4e75c142 100644 --- a/esp32h2/src/ieee802154/tx_status.rs +++ b/esp32h2/src/ieee802154/tx_status.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3"] #[inline(always)] - #[must_use] pub fn tx_state(&mut self) -> TX_STATE_W { TX_STATE_W::new(self, 0) } #[doc = "Bits 4:8"] #[inline(always)] - #[must_use] pub fn tx_abort_status(&mut self) -> TX_ABORT_STATUS_W { TX_ABORT_STATUS_W::new(self, 4) } #[doc = "Bits 16:19"] #[inline(always)] - #[must_use] pub fn tx_sec_error_code(&mut self) -> TX_SEC_ERROR_CODE_W { TX_SEC_ERROR_CODE_W::new(self, 16) } diff --git a/esp32h2/src/ieee802154/txdma_addr.rs b/esp32h2/src/ieee802154/txdma_addr.rs index bbb103dcd9..a2311e9389 100644 --- a/esp32h2/src/ieee802154/txdma_addr.rs +++ b/esp32h2/src/ieee802154/txdma_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn txdma_addr(&mut self) -> TXDMA_ADDR_W { TXDMA_ADDR_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/txdma_ctrl_state.rs b/esp32h2/src/ieee802154/txdma_ctrl_state.rs index ff23bdce05..f5d67e3bfc 100644 --- a/esp32h2/src/ieee802154/txdma_ctrl_state.rs +++ b/esp32h2/src/ieee802154/txdma_ctrl_state.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2"] #[inline(always)] - #[must_use] pub fn txdma_water_level(&mut self) -> TXDMA_WATER_LEVEL_W { TXDMA_WATER_LEVEL_W::new(self, 0) } #[doc = "Bits 4:6"] #[inline(always)] - #[must_use] pub fn txdma_fill_entry(&mut self) -> TXDMA_FILL_ENTRY_W { TXDMA_FILL_ENTRY_W::new(self, 4) } #[doc = "Bits 16:20"] #[inline(always)] - #[must_use] pub fn txdma_state(&mut self) -> TXDMA_STATE_W { TXDMA_STATE_W::new(self, 16) } #[doc = "Bits 24:30"] #[inline(always)] - #[must_use] pub fn txdma_fetch_byte_cnt(&mut self) -> TXDMA_FETCH_BYTE_CNT_W { TXDMA_FETCH_BYTE_CNT_W::new(self, 24) } diff --git a/esp32h2/src/ieee802154/txdma_err.rs b/esp32h2/src/ieee802154/txdma_err.rs index dfa90d297f..37ee230937 100644 --- a/esp32h2/src/ieee802154/txdma_err.rs +++ b/esp32h2/src/ieee802154/txdma_err.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3"] #[inline(always)] - #[must_use] pub fn txdma_err(&mut self) -> TXDMA_ERR_W { TXDMA_ERR_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/txen_stop_delay.rs b/esp32h2/src/ieee802154/txen_stop_delay.rs index 13c6d4b30e..6d9c6a116c 100644 --- a/esp32h2/src/ieee802154/txen_stop_delay.rs +++ b/esp32h2/src/ieee802154/txen_stop_delay.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn txen_stop_dly(&mut self) -> TXEN_STOP_DLY_W { TXEN_STOP_DLY_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/txoff_delay.rs b/esp32h2/src/ieee802154/txoff_delay.rs index 67c1bbbe8a..a3223d1b2a 100644 --- a/esp32h2/src/ieee802154/txoff_delay.rs +++ b/esp32h2/src/ieee802154/txoff_delay.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn txoff_delay(&mut self) -> TXOFF_DELAY_W { TXOFF_DELAY_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/txon_delay.rs b/esp32h2/src/ieee802154/txon_delay.rs index ac10a45591..4a8dd7bb40 100644 --- a/esp32h2/src/ieee802154/txon_delay.rs +++ b/esp32h2/src/ieee802154/txon_delay.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9"] #[inline(always)] - #[must_use] pub fn txon_delay(&mut self) -> TXON_DELAY_W { TXON_DELAY_W::new(self, 0) } diff --git a/esp32h2/src/ieee802154/txrx_path_delay.rs b/esp32h2/src/ieee802154/txrx_path_delay.rs index ffba01d63c..aa790f8e38 100644 --- a/esp32h2/src/ieee802154/txrx_path_delay.rs +++ b/esp32h2/src/ieee802154/txrx_path_delay.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn tx_path_delay(&mut self) -> TX_PATH_DELAY_W { TX_PATH_DELAY_W::new(self, 0) } #[doc = "Bits 16:21"] #[inline(always)] - #[must_use] pub fn rx_path_delay(&mut self) -> RX_PATH_DELAY_W { RX_PATH_DELAY_W::new(self, 16) } diff --git a/esp32h2/src/ieee802154/txrx_status.rs b/esp32h2/src/ieee802154/txrx_status.rs index d4af1fd157..ac7102524b 100644 --- a/esp32h2/src/ieee802154/txrx_status.rs +++ b/esp32h2/src/ieee802154/txrx_status.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3"] #[inline(always)] - #[must_use] pub fn txrx_state(&mut self) -> TXRX_STATE_W { TXRX_STATE_W::new(self, 0) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn tx_proc(&mut self) -> TX_PROC_W { TX_PROC_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn rx_proc(&mut self) -> RX_PROC_W { RX_PROC_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn ed_proc(&mut self) -> ED_PROC_W { ED_PROC_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn ed_trigger_tx_proc(&mut self) -> ED_TRIGGER_TX_PROC_W { ED_TRIGGER_TX_PROC_W::new(self, 11) } #[doc = "Bits 16:19"] #[inline(always)] - #[must_use] pub fn rf_ctrl_state(&mut self) -> RF_CTRL_STATE_W { RF_CTRL_STATE_W::new(self, 16) } diff --git a/esp32h2/src/ieee802154/txrx_switch_delay.rs b/esp32h2/src/ieee802154/txrx_switch_delay.rs index 600f38163b..c72ba9b65f 100644 --- a/esp32h2/src/ieee802154/txrx_switch_delay.rs +++ b/esp32h2/src/ieee802154/txrx_switch_delay.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9"] #[inline(always)] - #[must_use] pub fn txrx_switch_delay(&mut self) -> TXRX_SWITCH_DELAY_W { TXRX_SWITCH_DELAY_W::new(self, 0) } diff --git a/esp32h2/src/interrupt.rs b/esp32h2/src/interrupt.rs index b76c2d73f5..924f3098e7 100644 --- a/esp32h2/src/interrupt.rs +++ b/esp32h2/src/interrupt.rs @@ -135,6 +135,7 @@ pub enum Interrupt { ECDSA = 64, } #[doc = r" TryFromInterruptError"] +#[cfg_attr(feature = "defmt", derive(defmt::Format))] #[derive(Debug, Copy, Clone)] pub struct TryFromInterruptError(()); impl Interrupt { diff --git a/esp32h2/src/interrupt_core0/aes_intr_map.rs b/esp32h2/src/interrupt_core0/aes_intr_map.rs index 85e9746baa..94ca24ab6c 100644 --- a/esp32h2/src/interrupt_core0/aes_intr_map.rs +++ b/esp32h2/src/interrupt_core0/aes_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_AES_INTR mapping register"] #[inline(always)] - #[must_use] pub fn aes_intr_map(&mut self) -> AES_INTR_MAP_W { AES_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/apb_adc_intr_map.rs b/esp32h2/src/interrupt_core0/apb_adc_intr_map.rs index aca5dbf2e6..77b9e6b1dd 100644 --- a/esp32h2/src/interrupt_core0/apb_adc_intr_map.rs +++ b/esp32h2/src/interrupt_core0/apb_adc_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_APB_ADC_INTR mapping register"] #[inline(always)] - #[must_use] pub fn apb_adc_intr_map(&mut self) -> APB_ADC_INTR_MAP_W { APB_ADC_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/assist_debug_intr_map.rs b/esp32h2/src/interrupt_core0/assist_debug_intr_map.rs index e3e0d85513..89d6756edb 100644 --- a/esp32h2/src/interrupt_core0/assist_debug_intr_map.rs +++ b/esp32h2/src/interrupt_core0/assist_debug_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_ASSIST_DEBUG_INTR mapping register"] #[inline(always)] - #[must_use] pub fn assist_debug_intr_map(&mut self) -> ASSIST_DEBUG_INTR_MAP_W { ASSIST_DEBUG_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/ble_sec_intr_map.rs b/esp32h2/src/interrupt_core0/ble_sec_intr_map.rs index 19549302e4..a4cdcf38b8 100644 --- a/esp32h2/src/interrupt_core0/ble_sec_intr_map.rs +++ b/esp32h2/src/interrupt_core0/ble_sec_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_BLE_SEC_INTR mapping register"] #[inline(always)] - #[must_use] pub fn ble_sec_intr_map(&mut self) -> BLE_SEC_INTR_MAP_W { BLE_SEC_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/ble_timer_intr_map.rs b/esp32h2/src/interrupt_core0/ble_timer_intr_map.rs index 0e9ad682f2..d13bda84a3 100644 --- a/esp32h2/src/interrupt_core0/ble_timer_intr_map.rs +++ b/esp32h2/src/interrupt_core0/ble_timer_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_BLE_TIMER_INTR mapping register"] #[inline(always)] - #[must_use] pub fn ble_timer_intr_map(&mut self) -> BLE_TIMER_INTR_MAP_W { BLE_TIMER_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/bt_bb_intr_map.rs b/esp32h2/src/interrupt_core0/bt_bb_intr_map.rs index d855937a95..5a9d37ff87 100644 --- a/esp32h2/src/interrupt_core0/bt_bb_intr_map.rs +++ b/esp32h2/src/interrupt_core0/bt_bb_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_BT_BB_INTR mapping register"] #[inline(always)] - #[must_use] pub fn bt_bb_intr_map(&mut self) -> BT_BB_INTR_MAP_W { BT_BB_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/bt_bb_nmi_map.rs b/esp32h2/src/interrupt_core0/bt_bb_nmi_map.rs index 4e19e177b8..f4622100f4 100644 --- a/esp32h2/src/interrupt_core0/bt_bb_nmi_map.rs +++ b/esp32h2/src/interrupt_core0/bt_bb_nmi_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_BT_BB_NMI mapping register"] #[inline(always)] - #[must_use] pub fn bt_bb_nmi_map(&mut self) -> BT_BB_NMI_MAP_W { BT_BB_NMI_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/bt_mac_intr_map.rs b/esp32h2/src/interrupt_core0/bt_mac_intr_map.rs index a6c6c20f44..0ee79a2379 100644 --- a/esp32h2/src/interrupt_core0/bt_mac_intr_map.rs +++ b/esp32h2/src/interrupt_core0/bt_mac_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_BT_MAC_INTR mapping register"] #[inline(always)] - #[must_use] pub fn bt_mac_intr_map(&mut self) -> BT_MAC_INTR_MAP_W { BT_MAC_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/cache_intr_map.rs b/esp32h2/src/interrupt_core0/cache_intr_map.rs index 9eabc42a32..9a5d446812 100644 --- a/esp32h2/src/interrupt_core0/cache_intr_map.rs +++ b/esp32h2/src/interrupt_core0/cache_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_CACHE_INTR mapping register"] #[inline(always)] - #[must_use] pub fn cache_intr_map(&mut self) -> CACHE_INTR_MAP_W { CACHE_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/can0_intr_map.rs b/esp32h2/src/interrupt_core0/can0_intr_map.rs index 412998207b..336f9ff77d 100644 --- a/esp32h2/src/interrupt_core0/can0_intr_map.rs +++ b/esp32h2/src/interrupt_core0/can0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_CAN0_INTR mapping register"] #[inline(always)] - #[must_use] pub fn can0_intr_map(&mut self) -> CAN0_INTR_MAP_W { CAN0_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/clock_gate.rs b/esp32h2/src/interrupt_core0/clock_gate.rs index 7a3aa72c17..8dc1990637 100644 --- a/esp32h2/src/interrupt_core0/clock_gate.rs +++ b/esp32h2/src/interrupt_core0/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Clock register"] #[inline(always)] - #[must_use] pub fn reg_clk_en(&mut self) -> REG_CLK_EN_W { REG_CLK_EN_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/coex_intr_map.rs b/esp32h2/src/interrupt_core0/coex_intr_map.rs index 0f4b1a7743..0e2cea79d8 100644 --- a/esp32h2/src/interrupt_core0/coex_intr_map.rs +++ b/esp32h2/src/interrupt_core0/coex_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_COEX_INTR mapping register"] #[inline(always)] - #[must_use] pub fn coex_intr_map(&mut self) -> COEX_INTR_MAP_W { COEX_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/cpu_intr_from_cpu_0_map.rs b/esp32h2/src/interrupt_core0/cpu_intr_from_cpu_0_map.rs index 880f97a5d6..9ecd76a555 100644 --- a/esp32h2/src/interrupt_core0/cpu_intr_from_cpu_0_map.rs +++ b/esp32h2/src/interrupt_core0/cpu_intr_from_cpu_0_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_CPU_INTR_FROM_CPU_0 mapping register"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_0_map( &mut self, ) -> CPU_INTR_FROM_CPU_0_MAP_W { diff --git a/esp32h2/src/interrupt_core0/cpu_intr_from_cpu_1_map.rs b/esp32h2/src/interrupt_core0/cpu_intr_from_cpu_1_map.rs index 1480d3d3ee..d92289e77b 100644 --- a/esp32h2/src/interrupt_core0/cpu_intr_from_cpu_1_map.rs +++ b/esp32h2/src/interrupt_core0/cpu_intr_from_cpu_1_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_CPU_INTR_FROM_CPU_1 mapping register"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_1_map( &mut self, ) -> CPU_INTR_FROM_CPU_1_MAP_W { diff --git a/esp32h2/src/interrupt_core0/cpu_intr_from_cpu_2_map.rs b/esp32h2/src/interrupt_core0/cpu_intr_from_cpu_2_map.rs index 19e74c9884..1da4fa8613 100644 --- a/esp32h2/src/interrupt_core0/cpu_intr_from_cpu_2_map.rs +++ b/esp32h2/src/interrupt_core0/cpu_intr_from_cpu_2_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_CPU_INTR_FROM_CPU_2 mapping register"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_2_map( &mut self, ) -> CPU_INTR_FROM_CPU_2_MAP_W { diff --git a/esp32h2/src/interrupt_core0/cpu_intr_from_cpu_3_map.rs b/esp32h2/src/interrupt_core0/cpu_intr_from_cpu_3_map.rs index eeb06c332e..84e4837307 100644 --- a/esp32h2/src/interrupt_core0/cpu_intr_from_cpu_3_map.rs +++ b/esp32h2/src/interrupt_core0/cpu_intr_from_cpu_3_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_CPU_INTR_FROM_CPU_3 mapping register"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_3_map( &mut self, ) -> CPU_INTR_FROM_CPU_3_MAP_W { diff --git a/esp32h2/src/interrupt_core0/cpu_peri_timeout_intr_map.rs b/esp32h2/src/interrupt_core0/cpu_peri_timeout_intr_map.rs index e2bcb6b81d..03c7632330 100644 --- a/esp32h2/src/interrupt_core0/cpu_peri_timeout_intr_map.rs +++ b/esp32h2/src/interrupt_core0/cpu_peri_timeout_intr_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_CPU_PERI_TIMEOUT_INTR mapping register"] #[inline(always)] - #[must_use] pub fn cpu_peri_timeout_intr_map( &mut self, ) -> CPU_PERI_TIMEOUT_INTR_MAP_W { diff --git a/esp32h2/src/interrupt_core0/dma_in_ch0_intr_map.rs b/esp32h2/src/interrupt_core0/dma_in_ch0_intr_map.rs index e550056707..bd39064294 100644 --- a/esp32h2/src/interrupt_core0/dma_in_ch0_intr_map.rs +++ b/esp32h2/src/interrupt_core0/dma_in_ch0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_DMA_IN_CH0_INTR mapping register"] #[inline(always)] - #[must_use] pub fn dma_in_ch0_intr_map(&mut self) -> DMA_IN_CH0_INTR_MAP_W { DMA_IN_CH0_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/dma_in_ch1_intr_map.rs b/esp32h2/src/interrupt_core0/dma_in_ch1_intr_map.rs index 2e5e731dc0..9b9da69c40 100644 --- a/esp32h2/src/interrupt_core0/dma_in_ch1_intr_map.rs +++ b/esp32h2/src/interrupt_core0/dma_in_ch1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_DMA_IN_CH1_INTR mapping register"] #[inline(always)] - #[must_use] pub fn dma_in_ch1_intr_map(&mut self) -> DMA_IN_CH1_INTR_MAP_W { DMA_IN_CH1_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/dma_in_ch2_intr_map.rs b/esp32h2/src/interrupt_core0/dma_in_ch2_intr_map.rs index 3b6f87f23c..d086be1b69 100644 --- a/esp32h2/src/interrupt_core0/dma_in_ch2_intr_map.rs +++ b/esp32h2/src/interrupt_core0/dma_in_ch2_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_DMA_IN_CH2_INTR mapping register"] #[inline(always)] - #[must_use] pub fn dma_in_ch2_intr_map(&mut self) -> DMA_IN_CH2_INTR_MAP_W { DMA_IN_CH2_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/dma_out_ch0_intr_map.rs b/esp32h2/src/interrupt_core0/dma_out_ch0_intr_map.rs index 9fc41a95ff..5f99367135 100644 --- a/esp32h2/src/interrupt_core0/dma_out_ch0_intr_map.rs +++ b/esp32h2/src/interrupt_core0/dma_out_ch0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_DMA_OUT_CH0_INTR mapping register"] #[inline(always)] - #[must_use] pub fn dma_out_ch0_intr_map(&mut self) -> DMA_OUT_CH0_INTR_MAP_W { DMA_OUT_CH0_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/dma_out_ch1_intr_map.rs b/esp32h2/src/interrupt_core0/dma_out_ch1_intr_map.rs index 0338e6e292..14ede401bb 100644 --- a/esp32h2/src/interrupt_core0/dma_out_ch1_intr_map.rs +++ b/esp32h2/src/interrupt_core0/dma_out_ch1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_DMA_OUT_CH1_INTR mapping register"] #[inline(always)] - #[must_use] pub fn dma_out_ch1_intr_map(&mut self) -> DMA_OUT_CH1_INTR_MAP_W { DMA_OUT_CH1_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/dma_out_ch2_intr_map.rs b/esp32h2/src/interrupt_core0/dma_out_ch2_intr_map.rs index 73ed5a09c3..a1a2b61a34 100644 --- a/esp32h2/src/interrupt_core0/dma_out_ch2_intr_map.rs +++ b/esp32h2/src/interrupt_core0/dma_out_ch2_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_DMA_OUT_CH2_INTR mapping register"] #[inline(always)] - #[must_use] pub fn dma_out_ch2_intr_map(&mut self) -> DMA_OUT_CH2_INTR_MAP_W { DMA_OUT_CH2_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/ecc_intr_map.rs b/esp32h2/src/interrupt_core0/ecc_intr_map.rs index dbf4ee70ed..4e33b4a090 100644 --- a/esp32h2/src/interrupt_core0/ecc_intr_map.rs +++ b/esp32h2/src/interrupt_core0/ecc_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_ECC_INTR mapping register"] #[inline(always)] - #[must_use] pub fn ecc_intr_map(&mut self) -> ECC_INTR_MAP_W { ECC_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/ecdsa_intr_map.rs b/esp32h2/src/interrupt_core0/ecdsa_intr_map.rs index 348c76e381..2b08b42ea4 100644 --- a/esp32h2/src/interrupt_core0/ecdsa_intr_map.rs +++ b/esp32h2/src/interrupt_core0/ecdsa_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_ECDSA_INTR mapping register"] #[inline(always)] - #[must_use] pub fn ecdsa_intr_map(&mut self) -> ECDSA_INTR_MAP_W { ECDSA_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/efuse_intr_map.rs b/esp32h2/src/interrupt_core0/efuse_intr_map.rs index 7b58909270..706dddac2d 100644 --- a/esp32h2/src/interrupt_core0/efuse_intr_map.rs +++ b/esp32h2/src/interrupt_core0/efuse_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_EFUSE_INTR mapping register"] #[inline(always)] - #[must_use] pub fn efuse_intr_map(&mut self) -> EFUSE_INTR_MAP_W { EFUSE_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/gpio_interrupt_pro_map.rs b/esp32h2/src/interrupt_core0/gpio_interrupt_pro_map.rs index e5b5b9c68d..7829d002ad 100644 --- a/esp32h2/src/interrupt_core0/gpio_interrupt_pro_map.rs +++ b/esp32h2/src/interrupt_core0/gpio_interrupt_pro_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_GPIO_INTERRUPT_PRO mapping register"] #[inline(always)] - #[must_use] pub fn gpio_interrupt_pro_map( &mut self, ) -> GPIO_INTERRUPT_PRO_MAP_W { diff --git a/esp32h2/src/interrupt_core0/gpio_interrupt_pro_nmi_map.rs b/esp32h2/src/interrupt_core0/gpio_interrupt_pro_nmi_map.rs index aa94fea753..7bcdfe4d65 100644 --- a/esp32h2/src/interrupt_core0/gpio_interrupt_pro_nmi_map.rs +++ b/esp32h2/src/interrupt_core0/gpio_interrupt_pro_nmi_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_GPIO_INTERRUPT_PRO_NMI mapping register"] #[inline(always)] - #[must_use] pub fn gpio_interrupt_pro_nmi_map( &mut self, ) -> GPIO_INTERRUPT_PRO_NMI_MAP_W { diff --git a/esp32h2/src/interrupt_core0/gpspi2_intr_map.rs b/esp32h2/src/interrupt_core0/gpspi2_intr_map.rs index d47bdd6e91..f9d34ac622 100644 --- a/esp32h2/src/interrupt_core0/gpspi2_intr_map.rs +++ b/esp32h2/src/interrupt_core0/gpspi2_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_GPSPI2_INTR mapping register"] #[inline(always)] - #[must_use] pub fn gpspi2_intr_map(&mut self) -> GPSPI2_INTR_MAP_W { GPSPI2_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/hp_apm_m0_intr_map.rs b/esp32h2/src/interrupt_core0/hp_apm_m0_intr_map.rs index 5b7b930464..3d03aa89e4 100644 --- a/esp32h2/src/interrupt_core0/hp_apm_m0_intr_map.rs +++ b/esp32h2/src/interrupt_core0/hp_apm_m0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_HP_APM_M0_INTR mapping register"] #[inline(always)] - #[must_use] pub fn hp_apm_m0_intr_map(&mut self) -> HP_APM_M0_INTR_MAP_W { HP_APM_M0_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/hp_apm_m1_intr_map.rs b/esp32h2/src/interrupt_core0/hp_apm_m1_intr_map.rs index 0ffddcf893..c927659511 100644 --- a/esp32h2/src/interrupt_core0/hp_apm_m1_intr_map.rs +++ b/esp32h2/src/interrupt_core0/hp_apm_m1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_HP_APM_M1_INTR mapping register"] #[inline(always)] - #[must_use] pub fn hp_apm_m1_intr_map(&mut self) -> HP_APM_M1_INTR_MAP_W { HP_APM_M1_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/hp_apm_m2_intr_map.rs b/esp32h2/src/interrupt_core0/hp_apm_m2_intr_map.rs index 80fd1f9fd3..1db64a554c 100644 --- a/esp32h2/src/interrupt_core0/hp_apm_m2_intr_map.rs +++ b/esp32h2/src/interrupt_core0/hp_apm_m2_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_HP_APM_M2_INTR mapping register"] #[inline(always)] - #[must_use] pub fn hp_apm_m2_intr_map(&mut self) -> HP_APM_M2_INTR_MAP_W { HP_APM_M2_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/hp_apm_m3_intr_map.rs b/esp32h2/src/interrupt_core0/hp_apm_m3_intr_map.rs index 95ce9d0c23..188752f89d 100644 --- a/esp32h2/src/interrupt_core0/hp_apm_m3_intr_map.rs +++ b/esp32h2/src/interrupt_core0/hp_apm_m3_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_HP_APM_M3_INTR mapping register"] #[inline(always)] - #[must_use] pub fn hp_apm_m3_intr_map(&mut self) -> HP_APM_M3_INTR_MAP_W { HP_APM_M3_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/hp_peri_timeout_intr_map.rs b/esp32h2/src/interrupt_core0/hp_peri_timeout_intr_map.rs index 1cb4014ac0..9c92ac8c76 100644 --- a/esp32h2/src/interrupt_core0/hp_peri_timeout_intr_map.rs +++ b/esp32h2/src/interrupt_core0/hp_peri_timeout_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_HP_PERI_TIMEOUT_INTR mapping register"] #[inline(always)] - #[must_use] pub fn hp_peri_timeout_intr_map( &mut self, ) -> HP_PERI_TIMEOUT_INTR_MAP_W { diff --git a/esp32h2/src/interrupt_core0/i2c_ext0_intr_map.rs b/esp32h2/src/interrupt_core0/i2c_ext0_intr_map.rs index c570179198..2e6baf0ed2 100644 --- a/esp32h2/src/interrupt_core0/i2c_ext0_intr_map.rs +++ b/esp32h2/src/interrupt_core0/i2c_ext0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_I2C_EXT0_INTR mapping register"] #[inline(always)] - #[must_use] pub fn i2c_ext0_intr_map(&mut self) -> I2C_EXT0_INTR_MAP_W { I2C_EXT0_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/i2c_ext1_intr_map.rs b/esp32h2/src/interrupt_core0/i2c_ext1_intr_map.rs index fcc5df71dc..2363b09947 100644 --- a/esp32h2/src/interrupt_core0/i2c_ext1_intr_map.rs +++ b/esp32h2/src/interrupt_core0/i2c_ext1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_I2C_EXT1_INTR mapping register"] #[inline(always)] - #[must_use] pub fn i2c_ext1_intr_map(&mut self) -> I2C_EXT1_INTR_MAP_W { I2C_EXT1_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/i2s1_intr_map.rs b/esp32h2/src/interrupt_core0/i2s1_intr_map.rs index 4b7069e905..589f5a0cb0 100644 --- a/esp32h2/src/interrupt_core0/i2s1_intr_map.rs +++ b/esp32h2/src/interrupt_core0/i2s1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_I2S1_INTR mapping register"] #[inline(always)] - #[must_use] pub fn i2s1_intr_map(&mut self) -> I2S1_INTR_MAP_W { I2S1_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/interrupt_reg_date.rs b/esp32h2/src/interrupt_core0/interrupt_reg_date.rs index d7c8b0f2de..58ff0eb4ba 100644 --- a/esp32h2/src/interrupt_core0/interrupt_reg_date.rs +++ b/esp32h2/src/interrupt_core0/interrupt_reg_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Version control register"] #[inline(always)] - #[must_use] pub fn interrupt_reg_date(&mut self) -> INTERRUPT_REG_DATE_W { INTERRUPT_REG_DATE_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/ledc_intr_map.rs b/esp32h2/src/interrupt_core0/ledc_intr_map.rs index de2d21ef60..99a5eb1a8c 100644 --- a/esp32h2/src/interrupt_core0/ledc_intr_map.rs +++ b/esp32h2/src/interrupt_core0/ledc_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_LEDC_INTR mapping register"] #[inline(always)] - #[must_use] pub fn ledc_intr_map(&mut self) -> LEDC_INTR_MAP_W { LEDC_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/lp_apm_m0_intr_map.rs b/esp32h2/src/interrupt_core0/lp_apm_m0_intr_map.rs index b27c24ee40..43134feaab 100644 --- a/esp32h2/src/interrupt_core0/lp_apm_m0_intr_map.rs +++ b/esp32h2/src/interrupt_core0/lp_apm_m0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_LP_APM_M0_INTR mapping register"] #[inline(always)] - #[must_use] pub fn lp_apm_m0_intr_map(&mut self) -> LP_APM_M0_INTR_MAP_W { LP_APM_M0_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/lp_ble_timer_intr_map.rs b/esp32h2/src/interrupt_core0/lp_ble_timer_intr_map.rs index 08d47ca306..1897923bb2 100644 --- a/esp32h2/src/interrupt_core0/lp_ble_timer_intr_map.rs +++ b/esp32h2/src/interrupt_core0/lp_ble_timer_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_LP_BLE_TIMER_INTR mapping register"] #[inline(always)] - #[must_use] pub fn lp_ble_timer_intr_map(&mut self) -> LP_BLE_TIMER_INTR_MAP_W { LP_BLE_TIMER_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/lp_peri_timeout_intr_map.rs b/esp32h2/src/interrupt_core0/lp_peri_timeout_intr_map.rs index 0ef277e70a..254a39d3ab 100644 --- a/esp32h2/src/interrupt_core0/lp_peri_timeout_intr_map.rs +++ b/esp32h2/src/interrupt_core0/lp_peri_timeout_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_LP_PERI_TIMEOUT_INTR mapping register"] #[inline(always)] - #[must_use] pub fn lp_peri_timeout_intr_map( &mut self, ) -> LP_PERI_TIMEOUT_INTR_MAP_W { diff --git a/esp32h2/src/interrupt_core0/lp_rtc_timer_intr_map.rs b/esp32h2/src/interrupt_core0/lp_rtc_timer_intr_map.rs index 65b38cdd69..1fbb51b51f 100644 --- a/esp32h2/src/interrupt_core0/lp_rtc_timer_intr_map.rs +++ b/esp32h2/src/interrupt_core0/lp_rtc_timer_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_LP_RTC_TIMER_INTR mapping register"] #[inline(always)] - #[must_use] pub fn lp_rtc_timer_intr_map(&mut self) -> LP_RTC_TIMER_INTR_MAP_W { LP_RTC_TIMER_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/lp_wdt_intr_map.rs b/esp32h2/src/interrupt_core0/lp_wdt_intr_map.rs index eb6f899a6a..1e72a4f413 100644 --- a/esp32h2/src/interrupt_core0/lp_wdt_intr_map.rs +++ b/esp32h2/src/interrupt_core0/lp_wdt_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_LP_WDT_INTR mapping register"] #[inline(always)] - #[must_use] pub fn lp_wdt_intr_map(&mut self) -> LP_WDT_INTR_MAP_W { LP_WDT_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/mspi_intr_map.rs b/esp32h2/src/interrupt_core0/mspi_intr_map.rs index c67c277014..0bcc78cf8f 100644 --- a/esp32h2/src/interrupt_core0/mspi_intr_map.rs +++ b/esp32h2/src/interrupt_core0/mspi_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_MSPI_INTR mapping register"] #[inline(always)] - #[must_use] pub fn mspi_intr_map(&mut self) -> MSPI_INTR_MAP_W { MSPI_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/parl_io_rx_intr_map.rs b/esp32h2/src/interrupt_core0/parl_io_rx_intr_map.rs index fc4d00b857..4a89d85fb0 100644 --- a/esp32h2/src/interrupt_core0/parl_io_rx_intr_map.rs +++ b/esp32h2/src/interrupt_core0/parl_io_rx_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_PARL_IO_RX_INTR mapping register"] #[inline(always)] - #[must_use] pub fn parl_io_rx_intr_map(&mut self) -> PARL_IO_RX_INTR_MAP_W { PARL_IO_RX_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/parl_io_tx_intr_map.rs b/esp32h2/src/interrupt_core0/parl_io_tx_intr_map.rs index 8ff790fd07..179bc97db9 100644 --- a/esp32h2/src/interrupt_core0/parl_io_tx_intr_map.rs +++ b/esp32h2/src/interrupt_core0/parl_io_tx_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_PARL_IO_TX_INTR mapping register"] #[inline(always)] - #[must_use] pub fn parl_io_tx_intr_map(&mut self) -> PARL_IO_TX_INTR_MAP_W { PARL_IO_TX_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/pau_intr_map.rs b/esp32h2/src/interrupt_core0/pau_intr_map.rs index 1711a3e7a4..86c237967b 100644 --- a/esp32h2/src/interrupt_core0/pau_intr_map.rs +++ b/esp32h2/src/interrupt_core0/pau_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_PAU_INTR mapping register"] #[inline(always)] - #[must_use] pub fn pau_intr_map(&mut self) -> PAU_INTR_MAP_W { PAU_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/pcnt_intr_map.rs b/esp32h2/src/interrupt_core0/pcnt_intr_map.rs index a7310d7a60..204d98578b 100644 --- a/esp32h2/src/interrupt_core0/pcnt_intr_map.rs +++ b/esp32h2/src/interrupt_core0/pcnt_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_PCNT_INTR mapping register"] #[inline(always)] - #[must_use] pub fn pcnt_intr_map(&mut self) -> PCNT_INTR_MAP_W { PCNT_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/pmu_intr_map.rs b/esp32h2/src/interrupt_core0/pmu_intr_map.rs index f86aa64c82..a61d2bb419 100644 --- a/esp32h2/src/interrupt_core0/pmu_intr_map.rs +++ b/esp32h2/src/interrupt_core0/pmu_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_PMU_INTR mapping register"] #[inline(always)] - #[must_use] pub fn pmu_intr_map(&mut self) -> PMU_INTR_MAP_W { PMU_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/pwm_intr_map.rs b/esp32h2/src/interrupt_core0/pwm_intr_map.rs index 606e39e7a8..aca5f23d88 100644 --- a/esp32h2/src/interrupt_core0/pwm_intr_map.rs +++ b/esp32h2/src/interrupt_core0/pwm_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_PWM_INTR mapping register"] #[inline(always)] - #[must_use] pub fn pwm_intr_map(&mut self) -> PWM_INTR_MAP_W { PWM_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/rmt_intr_map.rs b/esp32h2/src/interrupt_core0/rmt_intr_map.rs index 5ab9549e4f..1956a7ca17 100644 --- a/esp32h2/src/interrupt_core0/rmt_intr_map.rs +++ b/esp32h2/src/interrupt_core0/rmt_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_RMT_INTR mapping register"] #[inline(always)] - #[must_use] pub fn rmt_intr_map(&mut self) -> RMT_INTR_MAP_W { RMT_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/rsa_intr_map.rs b/esp32h2/src/interrupt_core0/rsa_intr_map.rs index 8db3e06699..aa5927a1dd 100644 --- a/esp32h2/src/interrupt_core0/rsa_intr_map.rs +++ b/esp32h2/src/interrupt_core0/rsa_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_RSA_INTR mapping register"] #[inline(always)] - #[must_use] pub fn rsa_intr_map(&mut self) -> RSA_INTR_MAP_W { RSA_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/sha_intr_map.rs b/esp32h2/src/interrupt_core0/sha_intr_map.rs index 5ff29b57c5..b976c69be7 100644 --- a/esp32h2/src/interrupt_core0/sha_intr_map.rs +++ b/esp32h2/src/interrupt_core0/sha_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_SHA_INTR mapping register"] #[inline(always)] - #[must_use] pub fn sha_intr_map(&mut self) -> SHA_INTR_MAP_W { SHA_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/systimer_target0_intr_map.rs b/esp32h2/src/interrupt_core0/systimer_target0_intr_map.rs index 713e24592c..945d1a6874 100644 --- a/esp32h2/src/interrupt_core0/systimer_target0_intr_map.rs +++ b/esp32h2/src/interrupt_core0/systimer_target0_intr_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_SYSTIMER_TARGET0_INTR mapping register"] #[inline(always)] - #[must_use] pub fn systimer_target0_intr_map( &mut self, ) -> SYSTIMER_TARGET0_INTR_MAP_W { diff --git a/esp32h2/src/interrupt_core0/systimer_target1_intr_map.rs b/esp32h2/src/interrupt_core0/systimer_target1_intr_map.rs index ac88101e00..34831314d0 100644 --- a/esp32h2/src/interrupt_core0/systimer_target1_intr_map.rs +++ b/esp32h2/src/interrupt_core0/systimer_target1_intr_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_SYSTIMER_TARGET1_INTR mapping register"] #[inline(always)] - #[must_use] pub fn systimer_target1_intr_map( &mut self, ) -> SYSTIMER_TARGET1_INTR_MAP_W { diff --git a/esp32h2/src/interrupt_core0/systimer_target2_intr_map.rs b/esp32h2/src/interrupt_core0/systimer_target2_intr_map.rs index 4d4906ae22..dde075c319 100644 --- a/esp32h2/src/interrupt_core0/systimer_target2_intr_map.rs +++ b/esp32h2/src/interrupt_core0/systimer_target2_intr_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_SYSTIMER_TARGET2_INTR mapping register"] #[inline(always)] - #[must_use] pub fn systimer_target2_intr_map( &mut self, ) -> SYSTIMER_TARGET2_INTR_MAP_W { diff --git a/esp32h2/src/interrupt_core0/tg0_t0_intr_map.rs b/esp32h2/src/interrupt_core0/tg0_t0_intr_map.rs index 8d28bf9c2e..ec490e2139 100644 --- a/esp32h2/src/interrupt_core0/tg0_t0_intr_map.rs +++ b/esp32h2/src/interrupt_core0/tg0_t0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_TG0_T0_INTR mapping register"] #[inline(always)] - #[must_use] pub fn tg0_t0_intr_map(&mut self) -> TG0_T0_INTR_MAP_W { TG0_T0_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/tg0_wdt_intr_map.rs b/esp32h2/src/interrupt_core0/tg0_wdt_intr_map.rs index 70187f56da..bec722c38a 100644 --- a/esp32h2/src/interrupt_core0/tg0_wdt_intr_map.rs +++ b/esp32h2/src/interrupt_core0/tg0_wdt_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_TG0_WDT_INTR mapping register"] #[inline(always)] - #[must_use] pub fn tg0_wdt_intr_map(&mut self) -> TG0_WDT_INTR_MAP_W { TG0_WDT_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/tg1_t0_intr_map.rs b/esp32h2/src/interrupt_core0/tg1_t0_intr_map.rs index b9056f5212..2a1ac903b0 100644 --- a/esp32h2/src/interrupt_core0/tg1_t0_intr_map.rs +++ b/esp32h2/src/interrupt_core0/tg1_t0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_TG1_T0_INTR mapping register"] #[inline(always)] - #[must_use] pub fn tg1_t0_intr_map(&mut self) -> TG1_T0_INTR_MAP_W { TG1_T0_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/tg1_wdt_intr_map.rs b/esp32h2/src/interrupt_core0/tg1_wdt_intr_map.rs index 4106f9df29..32359753fa 100644 --- a/esp32h2/src/interrupt_core0/tg1_wdt_intr_map.rs +++ b/esp32h2/src/interrupt_core0/tg1_wdt_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_TG1_WDT_INTR mapping register"] #[inline(always)] - #[must_use] pub fn tg1_wdt_intr_map(&mut self) -> TG1_WDT_INTR_MAP_W { TG1_WDT_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/trace_intr_map.rs b/esp32h2/src/interrupt_core0/trace_intr_map.rs index 9b5eeddc3e..18b556b68a 100644 --- a/esp32h2/src/interrupt_core0/trace_intr_map.rs +++ b/esp32h2/src/interrupt_core0/trace_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_TRACE_INTR mapping register"] #[inline(always)] - #[must_use] pub fn trace_intr_map(&mut self) -> TRACE_INTR_MAP_W { TRACE_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/uart0_intr_map.rs b/esp32h2/src/interrupt_core0/uart0_intr_map.rs index 51b549b1ae..ee62a2af1b 100644 --- a/esp32h2/src/interrupt_core0/uart0_intr_map.rs +++ b/esp32h2/src/interrupt_core0/uart0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_UART0_INTR mapping register"] #[inline(always)] - #[must_use] pub fn uart0_intr_map(&mut self) -> UART0_INTR_MAP_W { UART0_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/uart1_intr_map.rs b/esp32h2/src/interrupt_core0/uart1_intr_map.rs index f120378bd1..c6a457b5f8 100644 --- a/esp32h2/src/interrupt_core0/uart1_intr_map.rs +++ b/esp32h2/src/interrupt_core0/uart1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_UART1_INTR mapping register"] #[inline(always)] - #[must_use] pub fn uart1_intr_map(&mut self) -> UART1_INTR_MAP_W { UART1_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/uhci0_intr_map.rs b/esp32h2/src/interrupt_core0/uhci0_intr_map.rs index 259b37a537..655c2abc5c 100644 --- a/esp32h2/src/interrupt_core0/uhci0_intr_map.rs +++ b/esp32h2/src/interrupt_core0/uhci0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_UHCI0_INTR mapping register"] #[inline(always)] - #[must_use] pub fn uhci0_intr_map(&mut self) -> UHCI0_INTR_MAP_W { UHCI0_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/usb_intr_map.rs b/esp32h2/src/interrupt_core0/usb_intr_map.rs index ee0b6bec2a..cf131111a7 100644 --- a/esp32h2/src/interrupt_core0/usb_intr_map.rs +++ b/esp32h2/src/interrupt_core0/usb_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_USB_INTR mapping register"] #[inline(always)] - #[must_use] pub fn usb_intr_map(&mut self) -> USB_INTR_MAP_W { USB_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/interrupt_core0/zb_mac_intr_map.rs b/esp32h2/src/interrupt_core0/zb_mac_intr_map.rs index cdcd84a669..873e933391 100644 --- a/esp32h2/src/interrupt_core0/zb_mac_intr_map.rs +++ b/esp32h2/src/interrupt_core0/zb_mac_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - CORE0_ZB_MAC_INTR mapping register"] #[inline(always)] - #[must_use] pub fn zb_mac_intr_map(&mut self) -> ZB_MAC_INTR_MAP_W { ZB_MAC_INTR_MAP_W::new(self, 0) } diff --git a/esp32h2/src/intpri/clock_gate.rs b/esp32h2/src/intpri/clock_gate.rs index e23ee373ff..1f5f544af8 100644 --- a/esp32h2/src/intpri/clock_gate.rs +++ b/esp32h2/src/intpri/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Need add description"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32h2/src/intpri/cpu_int_clear.rs b/esp32h2/src/intpri/cpu_int_clear.rs index c15ac70904..c16b116186 100644 --- a/esp32h2/src/intpri/cpu_int_clear.rs +++ b/esp32h2/src/intpri/cpu_int_clear.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Need add description"] #[inline(always)] - #[must_use] pub fn cpu_int_clear(&mut self) -> CPU_INT_CLEAR_W { CPU_INT_CLEAR_W::new(self, 0) } diff --git a/esp32h2/src/intpri/cpu_int_enable.rs b/esp32h2/src/intpri/cpu_int_enable.rs index 73c35cd0af..95c58938bc 100644 --- a/esp32h2/src/intpri/cpu_int_enable.rs +++ b/esp32h2/src/intpri/cpu_int_enable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Need add description"] #[inline(always)] - #[must_use] pub fn cpu_int_enable(&mut self) -> CPU_INT_ENABLE_W { CPU_INT_ENABLE_W::new(self, 0) } diff --git a/esp32h2/src/intpri/cpu_int_pri.rs b/esp32h2/src/intpri/cpu_int_pri.rs index 754c24efec..d4e8054995 100644 --- a/esp32h2/src/intpri/cpu_int_pri.rs +++ b/esp32h2/src/intpri/cpu_int_pri.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Need add description"] #[inline(always)] - #[must_use] pub fn map(&mut self) -> MAP_W { MAP_W::new(self, 0) } diff --git a/esp32h2/src/intpri/cpu_int_thresh.rs b/esp32h2/src/intpri/cpu_int_thresh.rs index 7e1c63e2e8..f543781711 100644 --- a/esp32h2/src/intpri/cpu_int_thresh.rs +++ b/esp32h2/src/intpri/cpu_int_thresh.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Need add description"] #[inline(always)] - #[must_use] pub fn cpu_int_thresh(&mut self) -> CPU_INT_THRESH_W { CPU_INT_THRESH_W::new(self, 0) } diff --git a/esp32h2/src/intpri/cpu_int_type.rs b/esp32h2/src/intpri/cpu_int_type.rs index fd03fef45d..5d8df7577b 100644 --- a/esp32h2/src/intpri/cpu_int_type.rs +++ b/esp32h2/src/intpri/cpu_int_type.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Need add description"] #[inline(always)] - #[must_use] pub fn cpu_int_type(&mut self) -> CPU_INT_TYPE_W { CPU_INT_TYPE_W::new(self, 0) } diff --git a/esp32h2/src/intpri/cpu_intr_from_cpu_0.rs b/esp32h2/src/intpri/cpu_intr_from_cpu_0.rs index 8d818f81b5..5c47fbd94a 100644 --- a/esp32h2/src/intpri/cpu_intr_from_cpu_0.rs +++ b/esp32h2/src/intpri/cpu_intr_from_cpu_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Need add description"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_0(&mut self) -> CPU_INTR_FROM_CPU_0_W { CPU_INTR_FROM_CPU_0_W::new(self, 0) } diff --git a/esp32h2/src/intpri/cpu_intr_from_cpu_1.rs b/esp32h2/src/intpri/cpu_intr_from_cpu_1.rs index 79b6e4af8c..2f76ca080c 100644 --- a/esp32h2/src/intpri/cpu_intr_from_cpu_1.rs +++ b/esp32h2/src/intpri/cpu_intr_from_cpu_1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Need add description"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_1(&mut self) -> CPU_INTR_FROM_CPU_1_W { CPU_INTR_FROM_CPU_1_W::new(self, 0) } diff --git a/esp32h2/src/intpri/cpu_intr_from_cpu_2.rs b/esp32h2/src/intpri/cpu_intr_from_cpu_2.rs index e5c528b58e..ea50ea0de4 100644 --- a/esp32h2/src/intpri/cpu_intr_from_cpu_2.rs +++ b/esp32h2/src/intpri/cpu_intr_from_cpu_2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Need add description"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_2(&mut self) -> CPU_INTR_FROM_CPU_2_W { CPU_INTR_FROM_CPU_2_W::new(self, 0) } diff --git a/esp32h2/src/intpri/cpu_intr_from_cpu_3.rs b/esp32h2/src/intpri/cpu_intr_from_cpu_3.rs index f827e5d3e9..a153b75297 100644 --- a/esp32h2/src/intpri/cpu_intr_from_cpu_3.rs +++ b/esp32h2/src/intpri/cpu_intr_from_cpu_3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Need add description"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_3(&mut self) -> CPU_INTR_FROM_CPU_3_W { CPU_INTR_FROM_CPU_3_W::new(self, 0) } diff --git a/esp32h2/src/intpri/date.rs b/esp32h2/src/intpri/date.rs index 08e7c3fba3..c414fee6e1 100644 --- a/esp32h2/src/intpri/date.rs +++ b/esp32h2/src/intpri/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Need add description"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32h2/src/intpri/rnd_eco.rs b/esp32h2/src/intpri/rnd_eco.rs index f80f827b72..7ed57514ff 100644 --- a/esp32h2/src/intpri/rnd_eco.rs +++ b/esp32h2/src/intpri/rnd_eco.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Only reserved for ECO."] #[inline(always)] - #[must_use] pub fn redcy_ena(&mut self) -> REDCY_ENA_W { REDCY_ENA_W::new(self, 0) } diff --git a/esp32h2/src/intpri/rnd_eco_high.rs b/esp32h2/src/intpri/rnd_eco_high.rs index 15c7ac517f..55940f0fc4 100644 --- a/esp32h2/src/intpri/rnd_eco_high.rs +++ b/esp32h2/src/intpri/rnd_eco_high.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Only reserved for ECO."] #[inline(always)] - #[must_use] pub fn redcy_high(&mut self) -> REDCY_HIGH_W { REDCY_HIGH_W::new(self, 0) } diff --git a/esp32h2/src/intpri/rnd_eco_low.rs b/esp32h2/src/intpri/rnd_eco_low.rs index 1c9da67470..ff59688040 100644 --- a/esp32h2/src/intpri/rnd_eco_low.rs +++ b/esp32h2/src/intpri/rnd_eco_low.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Only reserved for ECO."] #[inline(always)] - #[must_use] pub fn redcy_low(&mut self) -> REDCY_LOW_W { REDCY_LOW_W::new(self, 0) } diff --git a/esp32h2/src/io_mux/date.rs b/esp32h2/src/io_mux/date.rs index 83efa141a3..88b8ffc017 100644 --- a/esp32h2/src/io_mux/date.rs +++ b/esp32h2/src/io_mux/date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Version control register"] #[inline(always)] - #[must_use] pub fn reg_date(&mut self) -> REG_DATE_W { REG_DATE_W::new(self, 0) } diff --git a/esp32h2/src/io_mux/gpio.rs b/esp32h2/src/io_mux/gpio.rs index 497885c36d..ae2f7b8acf 100644 --- a/esp32h2/src/io_mux/gpio.rs +++ b/esp32h2/src/io_mux/gpio.rs @@ -154,85 +154,71 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: output enabled. 0: output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in pad mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad in sleep mode. 1: internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled. 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled. 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - Select the drive strength of the pad during sleep mode. 0: ~5 mA. 1: ~10mA. 2: ~20mA. 3: ~40mA."] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled. 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled. 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. 0: ~5 mA. 1: ~10mA. 2: ~20mA. 3: ~40mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2. etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 0: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } #[doc = "Bit 16 - Software enables hysteresis function for the pad. 1: Hysteresis enabled. 0: Hysteresis disabled."] #[inline(always)] - #[must_use] pub fn hys_en(&mut self) -> HYS_EN_W { HYS_EN_W::new(self, 16) } #[doc = "Bit 17 - Select enabling signals of the pad from software and efuse hardware. 1: Select enabling siganl from slftware. 0: Select enabling signal from efuse hardware."] #[inline(always)] - #[must_use] pub fn hys_sel(&mut self) -> HYS_SEL_W { HYS_SEL_W::new(self, 17) } diff --git a/esp32h2/src/io_mux/modem_diag_en.rs b/esp32h2/src/io_mux/modem_diag_en.rs index 94362495ab..bf4137a32f 100644 --- a/esp32h2/src/io_mux/modem_diag_en.rs +++ b/esp32h2/src/io_mux/modem_diag_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - bit i to enable modem_diag\\[i\\] into gpio matrix. 1:enable modem_diag\\[i\\] into gpio matrix. 0:enable other signals into gpio matrix"] #[inline(always)] - #[must_use] pub fn modem_diag_en(&mut self) -> MODEM_DIAG_EN_W { MODEM_DIAG_EN_W::new(self, 0) } diff --git a/esp32h2/src/io_mux/pin_ctrl.rs b/esp32h2/src/io_mux/pin_ctrl.rs index d010c20ba0..8f658bb452 100644 --- a/esp32h2/src/io_mux/pin_ctrl.rs +++ b/esp32h2/src/io_mux/pin_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - If you want to output clock for I2S to CLK_OUT_out1, set this register to 0x0. CLK_OUT_out1 can be found in peripheral output signals."] #[inline(always)] - #[must_use] pub fn clk_out1(&mut self) -> CLK_OUT1_W { CLK_OUT1_W::new(self, 0) } #[doc = "Bits 5:9 - If you want to output clock for I2S to CLK_OUT_out2, set this register to 0x0. CLK_OUT_out2 can be found in peripheral output signals."] #[inline(always)] - #[must_use] pub fn clk_out2(&mut self) -> CLK_OUT2_W { CLK_OUT2_W::new(self, 5) } #[doc = "Bits 10:14 - If you want to output clock for I2S to CLK_OUT_out3, set this register to 0x0. CLK_OUT_out3 can be found in peripheral output signals."] #[inline(always)] - #[must_use] pub fn clk_out3(&mut self) -> CLK_OUT3_W { CLK_OUT3_W::new(self, 10) } diff --git a/esp32h2/src/ledc.rs b/esp32h2/src/ledc.rs index df0bc38fb5..5ad06337c3 100644 --- a/esp32h2/src/ledc.rs +++ b/esp32h2/src/ledc.rs @@ -80,7 +80,7 @@ impl RegisterBlock { #[allow(clippy::no_effect)] [(); 6][n]; unsafe { - &*(self as *const Self) + &*core::ptr::from_ref(self) .cast::() .add(256) .add(16 * n) @@ -92,7 +92,7 @@ impl RegisterBlock { #[inline(always)] pub fn ch_gamma_wr_iter(&self) -> impl Iterator { (0..6).map(move |n| unsafe { - &*(self as *const Self) + &*core::ptr::from_ref(self) .cast::() .add(256) .add(16 * n) @@ -135,7 +135,7 @@ impl RegisterBlock { #[allow(clippy::no_effect)] [(); 6][n]; unsafe { - &*(self as *const Self) + &*core::ptr::from_ref(self) .cast::() .add(260) .add(16 * n) @@ -147,7 +147,7 @@ impl RegisterBlock { #[inline(always)] pub fn ch_gamma_wr_addr_iter(&self) -> impl Iterator { (0..6).map(move |n| unsafe { - &*(self as *const Self) + &*core::ptr::from_ref(self) .cast::() .add(260) .add(16 * n) @@ -190,7 +190,7 @@ impl RegisterBlock { #[allow(clippy::no_effect)] [(); 6][n]; unsafe { - &*(self as *const Self) + &*core::ptr::from_ref(self) .cast::() .add(264) .add(16 * n) @@ -202,7 +202,7 @@ impl RegisterBlock { #[inline(always)] pub fn ch_gamma_rd_addr_iter(&self) -> impl Iterator { (0..6).map(move |n| unsafe { - &*(self as *const Self) + &*core::ptr::from_ref(self) .cast::() .add(264) .add(16 * n) @@ -245,7 +245,7 @@ impl RegisterBlock { #[allow(clippy::no_effect)] [(); 6][n]; unsafe { - &*(self as *const Self) + &*core::ptr::from_ref(self) .cast::() .add(268) .add(16 * n) @@ -257,7 +257,7 @@ impl RegisterBlock { #[inline(always)] pub fn ch_gamma_rd_data_iter(&self) -> impl Iterator { (0..6).map(move |n| unsafe { - &*(self as *const Self) + &*core::ptr::from_ref(self) .cast::() .add(268) .add(16 * n) diff --git a/esp32h2/src/ledc/ch/conf0.rs b/esp32h2/src/ledc/ch/conf0.rs index 142c32bfac..fceaf0c385 100644 --- a/esp32h2/src/ledc/ch/conf0.rs +++ b/esp32h2/src/ledc/ch/conf0.rs @@ -68,43 +68,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - This field is used to select one of timers for channel %s. 0: select timer0, 1: select timer1, 2: select timer2, 3: select timer3"] #[inline(always)] - #[must_use] pub fn timer_sel(&mut self) -> TIMER_SEL_W { TIMER_SEL_W::new(self, 0) } #[doc = "Bit 2 - Set this bit to enable signal output on channel %s."] #[inline(always)] - #[must_use] pub fn sig_out_en(&mut self) -> SIG_OUT_EN_W { SIG_OUT_EN_W::new(self, 2) } #[doc = "Bit 3 - This bit is used to control the output value when channel %s is inactive (when LEDC_SIG_OUT_EN_CH%s is 0)."] #[inline(always)] - #[must_use] pub fn idle_lv(&mut self) -> IDLE_LV_W { IDLE_LV_W::new(self, 3) } #[doc = "Bit 4 - This bit is used to update LEDC_HPOINT_CH%s, LEDC_DUTY_START_CH%s, LEDC_SIG_OUT_EN_CH%s, LEDC_TIMER_SEL_CH%s, LEDC_DUTY_NUM_CH%s, LEDC_DUTY_CYCLE_CH%s, LEDC_DUTY_SCALE_CH%s, LEDC_DUTY_INC_CH%s, and LEDC_OVF_CNT_EN_CH%s fields for channel %s, and will be automatically cleared by hardware."] #[inline(always)] - #[must_use] pub fn para_up(&mut self) -> PARA_UP_W { PARA_UP_W::new(self, 4) } #[doc = "Bits 5:14 - This register is used to configure the maximum times of overflow minus 1. The LEDC_OVF_CNT_CH%s_INT interrupt will be triggered when channel %s overflows for (LEDC_OVF_NUM_CH%s + 1) times."] #[inline(always)] - #[must_use] pub fn ovf_num(&mut self) -> OVF_NUM_W { OVF_NUM_W::new(self, 5) } #[doc = "Bit 15 - This bit is used to enable the ovf_cnt of channel %s."] #[inline(always)] - #[must_use] pub fn ovf_cnt_en(&mut self) -> OVF_CNT_EN_W { OVF_CNT_EN_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to reset the ovf_cnt of channel %s."] #[inline(always)] - #[must_use] pub fn ovf_cnt_reset(&mut self) -> OVF_CNT_RESET_W { OVF_CNT_RESET_W::new(self, 16) } diff --git a/esp32h2/src/ledc/ch/conf1.rs b/esp32h2/src/ledc/ch/conf1.rs index 956d12dbb7..cf6bbc96fa 100644 --- a/esp32h2/src/ledc/ch/conf1.rs +++ b/esp32h2/src/ledc/ch/conf1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - Other configured fields in LEDC_CH%s_CONF1_REG will start to take effect when this bit is set to 1."] #[inline(always)] - #[must_use] pub fn duty_start(&mut self) -> DUTY_START_W { DUTY_START_W::new(self, 31) } diff --git a/esp32h2/src/ledc/ch/duty.rs b/esp32h2/src/ledc/ch/duty.rs index 8a727c6222..902f02d91d 100644 --- a/esp32h2/src/ledc/ch/duty.rs +++ b/esp32h2/src/ledc/ch/duty.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:24 - This register is used to change the output duty by controlling the Lpoint. The output value turns to low when the selected timers has reached the Lpoint."] #[inline(always)] - #[must_use] pub fn duty(&mut self) -> DUTY_W { DUTY_W::new(self, 0) } diff --git a/esp32h2/src/ledc/ch/hpoint.rs b/esp32h2/src/ledc/ch/hpoint.rs index d1731cf287..64762b23b3 100644 --- a/esp32h2/src/ledc/ch/hpoint.rs +++ b/esp32h2/src/ledc/ch/hpoint.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - The output value changes to high when the selected timers has reached the value specified by this register."] #[inline(always)] - #[must_use] pub fn hpoint(&mut self) -> HPOINT_W { HPOINT_W::new(self, 0) } diff --git a/esp32h2/src/ledc/ch_gamma_conf.rs b/esp32h2/src/ledc/ch_gamma_conf.rs index e8b3e7b488..44e04c3d48 100644 --- a/esp32h2/src/ledc/ch_gamma_conf.rs +++ b/esp32h2/src/ledc/ch_gamma_conf.rs @@ -28,19 +28,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Ledc ch%s gamma entry num."] #[inline(always)] - #[must_use] pub fn ch_gamma_entry_num(&mut self) -> CH_GAMMA_ENTRY_NUM_W { CH_GAMMA_ENTRY_NUM_W::new(self, 0) } #[doc = "Bit 5 - Ledc ch%s gamma pause, write 1 to pause."] #[inline(always)] - #[must_use] pub fn ch_gamma_pause(&mut self) -> CH_GAMMA_PAUSE_W { CH_GAMMA_PAUSE_W::new(self, 5) } #[doc = "Bit 6 - Ledc ch%s gamma resume, write 1 to resume."] #[inline(always)] - #[must_use] pub fn ch_gamma_resume(&mut self) -> CH_GAMMA_RESUME_W { CH_GAMMA_RESUME_W::new(self, 6) } diff --git a/esp32h2/src/ledc/ch_gamma_rd_addr.rs b/esp32h2/src/ledc/ch_gamma_rd_addr.rs index b410188baa..143ed8ae39 100644 --- a/esp32h2/src/ledc/ch_gamma_rd_addr.rs +++ b/esp32h2/src/ledc/ch_gamma_rd_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Ledc ch%s gamma ram read address."] #[inline(always)] - #[must_use] pub fn ch_gamma_rd_addr(&mut self) -> CH_GAMMA_RD_ADDR_W { CH_GAMMA_RD_ADDR_W::new(self, 0) } diff --git a/esp32h2/src/ledc/ch_gamma_wr.rs b/esp32h2/src/ledc/ch_gamma_wr.rs index 8587ebfb36..1b002e0665 100644 --- a/esp32h2/src/ledc/ch_gamma_wr.rs +++ b/esp32h2/src/ledc/ch_gamma_wr.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Ledc ch%s gamma duty inc of current ram write address.This register is used to increase or decrease the duty of output signal on channel %s. 1: Increase 0: Decrease."] #[inline(always)] - #[must_use] pub fn ch_gamma_duty_inc(&mut self) -> CH_GAMMA_DUTY_INC_W { CH_GAMMA_DUTY_INC_W::new(self, 0) } #[doc = "Bits 1:10 - Ledc ch%s gamma duty cycle of current ram write address.The duty will change every LEDC_CH%s_GAMMA_DUTY_CYCLE on channel %s."] #[inline(always)] - #[must_use] pub fn ch_gamma_duty_cycle(&mut self) -> CH_GAMMA_DUTY_CYCLE_W { CH_GAMMA_DUTY_CYCLE_W::new(self, 1) } #[doc = "Bits 11:20 - Ledc ch%s gamma scale of current ram write address.This register is used to configure the changing step scale of duty on channel %s."] #[inline(always)] - #[must_use] pub fn ch_gamma_scale(&mut self) -> CH_GAMMA_SCALE_W { CH_GAMMA_SCALE_W::new(self, 11) } #[doc = "Bits 21:30 - Ledc ch%s gamma duty num of current ram write address.This register is used to control the number of times the duty cycle will be changed."] #[inline(always)] - #[must_use] pub fn ch_gamma_duty_num(&mut self) -> CH_GAMMA_DUTY_NUM_W { CH_GAMMA_DUTY_NUM_W::new(self, 21) } diff --git a/esp32h2/src/ledc/ch_gamma_wr_addr.rs b/esp32h2/src/ledc/ch_gamma_wr_addr.rs index 6d609d0ea2..d8217f6605 100644 --- a/esp32h2/src/ledc/ch_gamma_wr_addr.rs +++ b/esp32h2/src/ledc/ch_gamma_wr_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Ledc ch%s gamma ram write address."] #[inline(always)] - #[must_use] pub fn ch_gamma_wr_addr(&mut self) -> CH_GAMMA_WR_ADDR_W { CH_GAMMA_WR_ADDR_W::new(self, 0) } diff --git a/esp32h2/src/ledc/conf.rs b/esp32h2/src/ledc/conf.rs index 5e47c6960d..4d944bb456 100644 --- a/esp32h2/src/ledc/conf.rs +++ b/esp32h2/src/ledc/conf.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - This bit is used to select clock source for the 4 timers . 2'd1: APB_CLK 2'd2: RTC8M_CLK 2'd3: XTAL_CLK"] #[inline(always)] - #[must_use] pub fn apb_clk_sel(&mut self) -> APB_CLK_SEL_W { APB_CLK_SEL_W::new(self, 0) } #[doc = "Bit 2 - This bit is used to control clock. 1'b1: Force clock on for gamma ram. 1'h0: Support clock only when application writes or read gamma ram."] #[inline(always)] - #[must_use] pub fn gamma_ram_clk_en_ch0(&mut self) -> GAMMA_RAM_CLK_EN_CH0_W { GAMMA_RAM_CLK_EN_CH0_W::new(self, 2) } #[doc = "Bit 3 - This bit is used to control clock. 1'b1: Force clock on for gamma ram. 1'h0: Support clock only when application writes or read gamma ram."] #[inline(always)] - #[must_use] pub fn gamma_ram_clk_en_ch1(&mut self) -> GAMMA_RAM_CLK_EN_CH1_W { GAMMA_RAM_CLK_EN_CH1_W::new(self, 3) } #[doc = "Bit 4 - This bit is used to control clock. 1'b1: Force clock on for gamma ram. 1'h0: Support clock only when application writes or read gamma ram."] #[inline(always)] - #[must_use] pub fn gamma_ram_clk_en_ch2(&mut self) -> GAMMA_RAM_CLK_EN_CH2_W { GAMMA_RAM_CLK_EN_CH2_W::new(self, 4) } #[doc = "Bit 5 - This bit is used to control clock. 1'b1: Force clock on for gamma ram. 1'h0: Support clock only when application writes or read gamma ram."] #[inline(always)] - #[must_use] pub fn gamma_ram_clk_en_ch3(&mut self) -> GAMMA_RAM_CLK_EN_CH3_W { GAMMA_RAM_CLK_EN_CH3_W::new(self, 5) } #[doc = "Bit 6 - This bit is used to control clock. 1'b1: Force clock on for gamma ram. 1'h0: Support clock only when application writes or read gamma ram."] #[inline(always)] - #[must_use] pub fn gamma_ram_clk_en_ch4(&mut self) -> GAMMA_RAM_CLK_EN_CH4_W { GAMMA_RAM_CLK_EN_CH4_W::new(self, 6) } #[doc = "Bit 7 - This bit is used to control clock. 1'b1: Force clock on for gamma ram. 1'h0: Support clock only when application writes or read gamma ram."] #[inline(always)] - #[must_use] pub fn gamma_ram_clk_en_ch5(&mut self) -> GAMMA_RAM_CLK_EN_CH5_W { GAMMA_RAM_CLK_EN_CH5_W::new(self, 7) } #[doc = "Bit 31 - This bit is used to control clock. 1'b1: Force clock on for register. 1'h0: Support clock only when application writes registers."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32h2/src/ledc/date.rs b/esp32h2/src/ledc/date.rs index da7b99b523..b08232dffa 100644 --- a/esp32h2/src/ledc/date.rs +++ b/esp32h2/src/ledc/date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - This is the version control register."] #[inline(always)] - #[must_use] pub fn ledc_date(&mut self) -> LEDC_DATE_W { LEDC_DATE_W::new(self, 0) } diff --git a/esp32h2/src/ledc/evt_task_en0.rs b/esp32h2/src/ledc/evt_task_en0.rs index d102a9f25e..0c53e0704f 100644 --- a/esp32h2/src/ledc/evt_task_en0.rs +++ b/esp32h2/src/ledc/evt_task_en0.rs @@ -292,127 +292,106 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Ledc ch0 duty change end event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_duty_chng_end_ch0_en(&mut self) -> EVT_DUTY_CHNG_END_CH0_EN_W { EVT_DUTY_CHNG_END_CH0_EN_W::new(self, 0) } #[doc = "Bit 1 - Ledc ch1 duty change end event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_duty_chng_end_ch1_en(&mut self) -> EVT_DUTY_CHNG_END_CH1_EN_W { EVT_DUTY_CHNG_END_CH1_EN_W::new(self, 1) } #[doc = "Bit 2 - Ledc ch2 duty change end event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_duty_chng_end_ch2_en(&mut self) -> EVT_DUTY_CHNG_END_CH2_EN_W { EVT_DUTY_CHNG_END_CH2_EN_W::new(self, 2) } #[doc = "Bit 3 - Ledc ch3 duty change end event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_duty_chng_end_ch3_en(&mut self) -> EVT_DUTY_CHNG_END_CH3_EN_W { EVT_DUTY_CHNG_END_CH3_EN_W::new(self, 3) } #[doc = "Bit 4 - Ledc ch4 duty change end event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_duty_chng_end_ch4_en(&mut self) -> EVT_DUTY_CHNG_END_CH4_EN_W { EVT_DUTY_CHNG_END_CH4_EN_W::new(self, 4) } #[doc = "Bit 5 - Ledc ch5 duty change end event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_duty_chng_end_ch5_en(&mut self) -> EVT_DUTY_CHNG_END_CH5_EN_W { EVT_DUTY_CHNG_END_CH5_EN_W::new(self, 5) } #[doc = "Bit 8 - Ledc ch0 overflow count pulse event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_ovf_cnt_pls_ch0_en(&mut self) -> EVT_OVF_CNT_PLS_CH0_EN_W { EVT_OVF_CNT_PLS_CH0_EN_W::new(self, 8) } #[doc = "Bit 9 - Ledc ch1 overflow count pulse event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_ovf_cnt_pls_ch1_en(&mut self) -> EVT_OVF_CNT_PLS_CH1_EN_W { EVT_OVF_CNT_PLS_CH1_EN_W::new(self, 9) } #[doc = "Bit 10 - Ledc ch2 overflow count pulse event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_ovf_cnt_pls_ch2_en(&mut self) -> EVT_OVF_CNT_PLS_CH2_EN_W { EVT_OVF_CNT_PLS_CH2_EN_W::new(self, 10) } #[doc = "Bit 11 - Ledc ch3 overflow count pulse event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_ovf_cnt_pls_ch3_en(&mut self) -> EVT_OVF_CNT_PLS_CH3_EN_W { EVT_OVF_CNT_PLS_CH3_EN_W::new(self, 11) } #[doc = "Bit 12 - Ledc ch4 overflow count pulse event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_ovf_cnt_pls_ch4_en(&mut self) -> EVT_OVF_CNT_PLS_CH4_EN_W { EVT_OVF_CNT_PLS_CH4_EN_W::new(self, 12) } #[doc = "Bit 13 - Ledc ch5 overflow count pulse event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_ovf_cnt_pls_ch5_en(&mut self) -> EVT_OVF_CNT_PLS_CH5_EN_W { EVT_OVF_CNT_PLS_CH5_EN_W::new(self, 13) } #[doc = "Bit 16 - Ledc timer0 overflow event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_time_ovf_timer0_en(&mut self) -> EVT_TIME_OVF_TIMER0_EN_W { EVT_TIME_OVF_TIMER0_EN_W::new(self, 16) } #[doc = "Bit 17 - Ledc timer1 overflow event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_time_ovf_timer1_en(&mut self) -> EVT_TIME_OVF_TIMER1_EN_W { EVT_TIME_OVF_TIMER1_EN_W::new(self, 17) } #[doc = "Bit 18 - Ledc timer2 overflow event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_time_ovf_timer2_en(&mut self) -> EVT_TIME_OVF_TIMER2_EN_W { EVT_TIME_OVF_TIMER2_EN_W::new(self, 18) } #[doc = "Bit 19 - Ledc timer3 overflow event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_time_ovf_timer3_en(&mut self) -> EVT_TIME_OVF_TIMER3_EN_W { EVT_TIME_OVF_TIMER3_EN_W::new(self, 19) } #[doc = "Bit 20 - Ledc timer0 compare event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_time0_cmp_en(&mut self) -> EVT_TIME0_CMP_EN_W { EVT_TIME0_CMP_EN_W::new(self, 20) } #[doc = "Bit 21 - Ledc timer1 compare event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_time1_cmp_en(&mut self) -> EVT_TIME1_CMP_EN_W { EVT_TIME1_CMP_EN_W::new(self, 21) } #[doc = "Bit 22 - Ledc timer2 compare event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_time2_cmp_en(&mut self) -> EVT_TIME2_CMP_EN_W { EVT_TIME2_CMP_EN_W::new(self, 22) } #[doc = "Bit 23 - Ledc timer3 compare event enable register, write 1 to enable this event."] #[inline(always)] - #[must_use] pub fn evt_time3_cmp_en(&mut self) -> EVT_TIME3_CMP_EN_W { EVT_TIME3_CMP_EN_W::new(self, 23) } #[doc = "Bit 24 - Ledc ch0 duty scale update task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_duty_scale_update_ch0_en( &mut self, ) -> TASK_DUTY_SCALE_UPDATE_CH0_EN_W { @@ -420,7 +399,6 @@ impl W { } #[doc = "Bit 25 - Ledc ch1 duty scale update task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_duty_scale_update_ch1_en( &mut self, ) -> TASK_DUTY_SCALE_UPDATE_CH1_EN_W { @@ -428,7 +406,6 @@ impl W { } #[doc = "Bit 26 - Ledc ch2 duty scale update task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_duty_scale_update_ch2_en( &mut self, ) -> TASK_DUTY_SCALE_UPDATE_CH2_EN_W { @@ -436,7 +413,6 @@ impl W { } #[doc = "Bit 27 - Ledc ch3 duty scale update task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_duty_scale_update_ch3_en( &mut self, ) -> TASK_DUTY_SCALE_UPDATE_CH3_EN_W { @@ -444,7 +420,6 @@ impl W { } #[doc = "Bit 28 - Ledc ch4 duty scale update task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_duty_scale_update_ch4_en( &mut self, ) -> TASK_DUTY_SCALE_UPDATE_CH4_EN_W { @@ -452,7 +427,6 @@ impl W { } #[doc = "Bit 29 - Ledc ch5 duty scale update task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_duty_scale_update_ch5_en( &mut self, ) -> TASK_DUTY_SCALE_UPDATE_CH5_EN_W { diff --git a/esp32h2/src/ledc/evt_task_en1.rs b/esp32h2/src/ledc/evt_task_en1.rs index e54431f9c8..2b70180fb3 100644 --- a/esp32h2/src/ledc/evt_task_en1.rs +++ b/esp32h2/src/ledc/evt_task_en1.rs @@ -318,151 +318,126 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Ledc timer0 res update task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_timer0_res_update_en(&mut self) -> TASK_TIMER0_RES_UPDATE_EN_W { TASK_TIMER0_RES_UPDATE_EN_W::new(self, 0) } #[doc = "Bit 1 - Ledc timer1 res update task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_timer1_res_update_en(&mut self) -> TASK_TIMER1_RES_UPDATE_EN_W { TASK_TIMER1_RES_UPDATE_EN_W::new(self, 1) } #[doc = "Bit 2 - Ledc timer2 res update task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_timer2_res_update_en(&mut self) -> TASK_TIMER2_RES_UPDATE_EN_W { TASK_TIMER2_RES_UPDATE_EN_W::new(self, 2) } #[doc = "Bit 3 - Ledc timer3 res update task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_timer3_res_update_en(&mut self) -> TASK_TIMER3_RES_UPDATE_EN_W { TASK_TIMER3_RES_UPDATE_EN_W::new(self, 3) } #[doc = "Bit 4 - Ledc timer0 capture task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_timer0_cap_en(&mut self) -> TASK_TIMER0_CAP_EN_W { TASK_TIMER0_CAP_EN_W::new(self, 4) } #[doc = "Bit 5 - Ledc timer1 capture task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_timer1_cap_en(&mut self) -> TASK_TIMER1_CAP_EN_W { TASK_TIMER1_CAP_EN_W::new(self, 5) } #[doc = "Bit 6 - Ledc timer2 capture task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_timer2_cap_en(&mut self) -> TASK_TIMER2_CAP_EN_W { TASK_TIMER2_CAP_EN_W::new(self, 6) } #[doc = "Bit 7 - Ledc timer3 capture task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_timer3_cap_en(&mut self) -> TASK_TIMER3_CAP_EN_W { TASK_TIMER3_CAP_EN_W::new(self, 7) } #[doc = "Bit 8 - Ledc ch0 signal out disable task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_sig_out_dis_ch0_en(&mut self) -> TASK_SIG_OUT_DIS_CH0_EN_W { TASK_SIG_OUT_DIS_CH0_EN_W::new(self, 8) } #[doc = "Bit 9 - Ledc ch1 signal out disable task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_sig_out_dis_ch1_en(&mut self) -> TASK_SIG_OUT_DIS_CH1_EN_W { TASK_SIG_OUT_DIS_CH1_EN_W::new(self, 9) } #[doc = "Bit 10 - Ledc ch2 signal out disable task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_sig_out_dis_ch2_en(&mut self) -> TASK_SIG_OUT_DIS_CH2_EN_W { TASK_SIG_OUT_DIS_CH2_EN_W::new(self, 10) } #[doc = "Bit 11 - Ledc ch3 signal out disable task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_sig_out_dis_ch3_en(&mut self) -> TASK_SIG_OUT_DIS_CH3_EN_W { TASK_SIG_OUT_DIS_CH3_EN_W::new(self, 11) } #[doc = "Bit 12 - Ledc ch4 signal out disable task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_sig_out_dis_ch4_en(&mut self) -> TASK_SIG_OUT_DIS_CH4_EN_W { TASK_SIG_OUT_DIS_CH4_EN_W::new(self, 12) } #[doc = "Bit 13 - Ledc ch5 signal out disable task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_sig_out_dis_ch5_en(&mut self) -> TASK_SIG_OUT_DIS_CH5_EN_W { TASK_SIG_OUT_DIS_CH5_EN_W::new(self, 13) } #[doc = "Bit 16 - Ledc ch0 overflow count reset task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_ovf_cnt_rst_ch0_en(&mut self) -> TASK_OVF_CNT_RST_CH0_EN_W { TASK_OVF_CNT_RST_CH0_EN_W::new(self, 16) } #[doc = "Bit 17 - Ledc ch1 overflow count reset task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_ovf_cnt_rst_ch1_en(&mut self) -> TASK_OVF_CNT_RST_CH1_EN_W { TASK_OVF_CNT_RST_CH1_EN_W::new(self, 17) } #[doc = "Bit 18 - Ledc ch2 overflow count reset task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_ovf_cnt_rst_ch2_en(&mut self) -> TASK_OVF_CNT_RST_CH2_EN_W { TASK_OVF_CNT_RST_CH2_EN_W::new(self, 18) } #[doc = "Bit 19 - Ledc ch3 overflow count reset task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_ovf_cnt_rst_ch3_en(&mut self) -> TASK_OVF_CNT_RST_CH3_EN_W { TASK_OVF_CNT_RST_CH3_EN_W::new(self, 19) } #[doc = "Bit 20 - Ledc ch4 overflow count reset task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_ovf_cnt_rst_ch4_en(&mut self) -> TASK_OVF_CNT_RST_CH4_EN_W { TASK_OVF_CNT_RST_CH4_EN_W::new(self, 20) } #[doc = "Bit 21 - Ledc ch5 overflow count reset task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_ovf_cnt_rst_ch5_en(&mut self) -> TASK_OVF_CNT_RST_CH5_EN_W { TASK_OVF_CNT_RST_CH5_EN_W::new(self, 21) } #[doc = "Bit 24 - Ledc timer0 reset task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_timer0_rst_en(&mut self) -> TASK_TIMER0_RST_EN_W { TASK_TIMER0_RST_EN_W::new(self, 24) } #[doc = "Bit 25 - Ledc timer1 reset task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_timer1_rst_en(&mut self) -> TASK_TIMER1_RST_EN_W { TASK_TIMER1_RST_EN_W::new(self, 25) } #[doc = "Bit 26 - Ledc timer2 reset task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_timer2_rst_en(&mut self) -> TASK_TIMER2_RST_EN_W { TASK_TIMER2_RST_EN_W::new(self, 26) } #[doc = "Bit 27 - Ledc timer3 reset task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_timer3_rst_en(&mut self) -> TASK_TIMER3_RST_EN_W { TASK_TIMER3_RST_EN_W::new(self, 27) } #[doc = "Bit 28 - Ledc timer0 pause resume task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_timer0_pause_resume_en( &mut self, ) -> TASK_TIMER0_PAUSE_RESUME_EN_W { @@ -470,7 +445,6 @@ impl W { } #[doc = "Bit 29 - Ledc timer1 pause resume task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_timer1_pause_resume_en( &mut self, ) -> TASK_TIMER1_PAUSE_RESUME_EN_W { @@ -478,7 +452,6 @@ impl W { } #[doc = "Bit 30 - Ledc timer2 pause resume task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_timer2_pause_resume_en( &mut self, ) -> TASK_TIMER2_PAUSE_RESUME_EN_W { @@ -486,7 +459,6 @@ impl W { } #[doc = "Bit 31 - Ledc timer3 pause resume task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_timer3_pause_resume_en( &mut self, ) -> TASK_TIMER3_PAUSE_RESUME_EN_W { diff --git a/esp32h2/src/ledc/evt_task_en2.rs b/esp32h2/src/ledc/evt_task_en2.rs index a489eb4a95..1c52028f07 100644 --- a/esp32h2/src/ledc/evt_task_en2.rs +++ b/esp32h2/src/ledc/evt_task_en2.rs @@ -212,109 +212,91 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Ledc ch0 gamma restart task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_gamma_restart_ch0_en(&mut self) -> TASK_GAMMA_RESTART_CH0_EN_W { TASK_GAMMA_RESTART_CH0_EN_W::new(self, 0) } #[doc = "Bit 1 - Ledc ch1 gamma restart task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_gamma_restart_ch1_en(&mut self) -> TASK_GAMMA_RESTART_CH1_EN_W { TASK_GAMMA_RESTART_CH1_EN_W::new(self, 1) } #[doc = "Bit 2 - Ledc ch2 gamma restart task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_gamma_restart_ch2_en(&mut self) -> TASK_GAMMA_RESTART_CH2_EN_W { TASK_GAMMA_RESTART_CH2_EN_W::new(self, 2) } #[doc = "Bit 3 - Ledc ch3 gamma restart task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_gamma_restart_ch3_en(&mut self) -> TASK_GAMMA_RESTART_CH3_EN_W { TASK_GAMMA_RESTART_CH3_EN_W::new(self, 3) } #[doc = "Bit 4 - Ledc ch4 gamma restart task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_gamma_restart_ch4_en(&mut self) -> TASK_GAMMA_RESTART_CH4_EN_W { TASK_GAMMA_RESTART_CH4_EN_W::new(self, 4) } #[doc = "Bit 5 - Ledc ch5 gamma restart task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_gamma_restart_ch5_en(&mut self) -> TASK_GAMMA_RESTART_CH5_EN_W { TASK_GAMMA_RESTART_CH5_EN_W::new(self, 5) } #[doc = "Bit 8 - Ledc ch0 gamma pause task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_gamma_pause_ch0_en(&mut self) -> TASK_GAMMA_PAUSE_CH0_EN_W { TASK_GAMMA_PAUSE_CH0_EN_W::new(self, 8) } #[doc = "Bit 9 - Ledc ch1 gamma pause task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_gamma_pause_ch1_en(&mut self) -> TASK_GAMMA_PAUSE_CH1_EN_W { TASK_GAMMA_PAUSE_CH1_EN_W::new(self, 9) } #[doc = "Bit 10 - Ledc ch2 gamma pause task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_gamma_pause_ch2_en(&mut self) -> TASK_GAMMA_PAUSE_CH2_EN_W { TASK_GAMMA_PAUSE_CH2_EN_W::new(self, 10) } #[doc = "Bit 11 - Ledc ch3 gamma pause task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_gamma_pause_ch3_en(&mut self) -> TASK_GAMMA_PAUSE_CH3_EN_W { TASK_GAMMA_PAUSE_CH3_EN_W::new(self, 11) } #[doc = "Bit 12 - Ledc ch4 gamma pause task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_gamma_pause_ch4_en(&mut self) -> TASK_GAMMA_PAUSE_CH4_EN_W { TASK_GAMMA_PAUSE_CH4_EN_W::new(self, 12) } #[doc = "Bit 13 - Ledc ch5 gamma pause task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_gamma_pause_ch5_en(&mut self) -> TASK_GAMMA_PAUSE_CH5_EN_W { TASK_GAMMA_PAUSE_CH5_EN_W::new(self, 13) } #[doc = "Bit 16 - Ledc ch0 gamma resume task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_gamma_resume_ch0_en(&mut self) -> TASK_GAMMA_RESUME_CH0_EN_W { TASK_GAMMA_RESUME_CH0_EN_W::new(self, 16) } #[doc = "Bit 17 - Ledc ch1 gamma resume task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_gamma_resume_ch1_en(&mut self) -> TASK_GAMMA_RESUME_CH1_EN_W { TASK_GAMMA_RESUME_CH1_EN_W::new(self, 17) } #[doc = "Bit 18 - Ledc ch2 gamma resume task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_gamma_resume_ch2_en(&mut self) -> TASK_GAMMA_RESUME_CH2_EN_W { TASK_GAMMA_RESUME_CH2_EN_W::new(self, 18) } #[doc = "Bit 19 - Ledc ch3 gamma resume task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_gamma_resume_ch3_en(&mut self) -> TASK_GAMMA_RESUME_CH3_EN_W { TASK_GAMMA_RESUME_CH3_EN_W::new(self, 19) } #[doc = "Bit 20 - Ledc ch4 gamma resume task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_gamma_resume_ch4_en(&mut self) -> TASK_GAMMA_RESUME_CH4_EN_W { TASK_GAMMA_RESUME_CH4_EN_W::new(self, 20) } #[doc = "Bit 21 - Ledc ch5 gamma resume task enable register, write 1 to enable this task."] #[inline(always)] - #[must_use] pub fn task_gamma_resume_ch5_en(&mut self) -> TASK_GAMMA_RESUME_CH5_EN_W { TASK_GAMMA_RESUME_CH5_EN_W::new(self, 21) } diff --git a/esp32h2/src/ledc/int_clr.rs b/esp32h2/src/ledc/int_clr.rs index 7a6633aadc..421b2dba05 100644 --- a/esp32h2/src/ledc/int_clr.rs +++ b/esp32h2/src/ledc/int_clr.rs @@ -17,7 +17,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TIMER0_OVF` field.
"] #[inline(always)] - #[must_use] pub fn timer_ovf(&mut self, n: u8) -> TIMER_OVF_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -25,25 +24,21 @@ impl W { } #[doc = "Bit 0 - Set this bit to clear the TIMER0_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer0_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the TIMER1_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer1_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the TIMER2_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer2_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the TIMER3_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer3_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 3) } @@ -51,7 +46,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `DUTY_CHNG_END_CH0` field.
"] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch(&mut self, n: u8) -> DUTY_CHNG_END_CH_W { #[allow(clippy::no_effect)] [(); 6][n as usize]; @@ -59,37 +53,31 @@ impl W { } #[doc = "Bit 4 - Set this bit to clear the DUTY_CHNG_END_CH0 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch0(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the DUTY_CHNG_END_CH1 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch1(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the DUTY_CHNG_END_CH2 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch2(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the DUTY_CHNG_END_CH3 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch3(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the DUTY_CHNG_END_CH4 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch4(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear the DUTY_CHNG_END_CH5 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch5(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 9) } @@ -97,7 +85,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `OVF_CNT_CH0` field.
"] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch(&mut self, n: u8) -> OVF_CNT_CH_W { #[allow(clippy::no_effect)] [(); 6][n as usize]; @@ -105,37 +92,31 @@ impl W { } #[doc = "Bit 12 - Set this bit to clear the OVF_CNT_CH0 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch0(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to clear the OVF_CNT_CH1 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch1(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to clear the OVF_CNT_CH2 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch2(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to clear the OVF_CNT_CH3 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch3(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to clear the OVF_CNT_CH4 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch4(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to clear the OVF_CNT_CH5 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch5(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 17) } @@ -149,7 +130,7 @@ impl crate::RegisterSpec for INT_CLR_SPEC { impl crate::Writable for INT_CLR_SPEC { type Safety = crate::Unsafe; const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0x1011; + const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0x0003_f3ff; } #[doc = "`reset()` method sets INT_CLR to value 0"] impl crate::Resettable for INT_CLR_SPEC { diff --git a/esp32h2/src/ledc/int_ena.rs b/esp32h2/src/ledc/int_ena.rs index 9637e03f31..3c4df5355b 100644 --- a/esp32h2/src/ledc/int_ena.rs +++ b/esp32h2/src/ledc/int_ena.rs @@ -169,7 +169,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TIMER0_OVF` field.
"] #[inline(always)] - #[must_use] pub fn timer_ovf(&mut self, n: u8) -> TIMER_OVF_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -177,25 +176,21 @@ impl W { } #[doc = "Bit 0 - The interrupt enable bit for the TIMER0_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer0_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the TIMER1_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer1_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the TIMER2_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer2_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the TIMER3_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer3_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 3) } @@ -203,7 +198,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `DUTY_CHNG_END_CH0` field.
"] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch(&mut self, n: u8) -> DUTY_CHNG_END_CH_W { #[allow(clippy::no_effect)] [(); 6][n as usize]; @@ -211,37 +205,31 @@ impl W { } #[doc = "Bit 4 - The interrupt enable bit for the DUTY_CHNG_END_CH0 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch0(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 4) } #[doc = "Bit 5 - The interrupt enable bit for the DUTY_CHNG_END_CH1 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch1(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 5) } #[doc = "Bit 6 - The interrupt enable bit for the DUTY_CHNG_END_CH2 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch2(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 6) } #[doc = "Bit 7 - The interrupt enable bit for the DUTY_CHNG_END_CH3 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch3(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 7) } #[doc = "Bit 8 - The interrupt enable bit for the DUTY_CHNG_END_CH4 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch4(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 8) } #[doc = "Bit 9 - The interrupt enable bit for the DUTY_CHNG_END_CH5 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch5(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 9) } @@ -249,7 +237,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `OVF_CNT_CH0` field.
"] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch(&mut self, n: u8) -> OVF_CNT_CH_W { #[allow(clippy::no_effect)] [(); 6][n as usize]; @@ -257,37 +244,31 @@ impl W { } #[doc = "Bit 12 - The interrupt enable bit for the OVF_CNT_CH0 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch0(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 12) } #[doc = "Bit 13 - The interrupt enable bit for the OVF_CNT_CH1 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch1(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 13) } #[doc = "Bit 14 - The interrupt enable bit for the OVF_CNT_CH2 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch2(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 14) } #[doc = "Bit 15 - The interrupt enable bit for the OVF_CNT_CH3 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch3(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 15) } #[doc = "Bit 16 - The interrupt enable bit for the OVF_CNT_CH4 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch4(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 16) } #[doc = "Bit 17 - The interrupt enable bit for the OVF_CNT_CH5 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch5(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 17) } diff --git a/esp32h2/src/ledc/int_raw.rs b/esp32h2/src/ledc/int_raw.rs index 1af694d99b..119cf25610 100644 --- a/esp32h2/src/ledc/int_raw.rs +++ b/esp32h2/src/ledc/int_raw.rs @@ -169,7 +169,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TIMER0_OVF` field.
"] #[inline(always)] - #[must_use] pub fn timer_ovf(&mut self, n: u8) -> TIMER_OVF_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -177,25 +176,21 @@ impl W { } #[doc = "Bit 0 - Triggered when the timer0 has reached its maximum counter value."] #[inline(always)] - #[must_use] pub fn timer0_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 0) } #[doc = "Bit 1 - Triggered when the timer1 has reached its maximum counter value."] #[inline(always)] - #[must_use] pub fn timer1_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 1) } #[doc = "Bit 2 - Triggered when the timer2 has reached its maximum counter value."] #[inline(always)] - #[must_use] pub fn timer2_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 2) } #[doc = "Bit 3 - Triggered when the timer3 has reached its maximum counter value."] #[inline(always)] - #[must_use] pub fn timer3_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 3) } @@ -203,7 +198,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `DUTY_CHNG_END_CH0` field.
"] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch(&mut self, n: u8) -> DUTY_CHNG_END_CH_W { #[allow(clippy::no_effect)] [(); 6][n as usize]; @@ -211,37 +205,31 @@ impl W { } #[doc = "Bit 4 - Interrupt raw bit for channel 0. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch0(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 4) } #[doc = "Bit 5 - Interrupt raw bit for channel 1. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch1(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 5) } #[doc = "Bit 6 - Interrupt raw bit for channel 2. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch2(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 6) } #[doc = "Bit 7 - Interrupt raw bit for channel 3. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch3(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 7) } #[doc = "Bit 8 - Interrupt raw bit for channel 4. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch4(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 8) } #[doc = "Bit 9 - Interrupt raw bit for channel 5. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch5(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 9) } @@ -249,7 +237,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `OVF_CNT_CH0` field.
"] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch(&mut self, n: u8) -> OVF_CNT_CH_W { #[allow(clippy::no_effect)] [(); 6][n as usize]; @@ -257,37 +244,31 @@ impl W { } #[doc = "Bit 12 - Interrupt raw bit for channel 0. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch0(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 12) } #[doc = "Bit 13 - Interrupt raw bit for channel 1. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch1(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 13) } #[doc = "Bit 14 - Interrupt raw bit for channel 2. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch2(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 14) } #[doc = "Bit 15 - Interrupt raw bit for channel 3. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch3(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 15) } #[doc = "Bit 16 - Interrupt raw bit for channel 4. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch4(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 16) } #[doc = "Bit 17 - Interrupt raw bit for channel 5. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch5(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 17) } diff --git a/esp32h2/src/ledc/timer/conf.rs b/esp32h2/src/ledc/timer/conf.rs index edc79c2d5b..7e1ddf4281 100644 --- a/esp32h2/src/ledc/timer/conf.rs +++ b/esp32h2/src/ledc/timer/conf.rs @@ -66,37 +66,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to control the range of the counter in timer %s."] #[inline(always)] - #[must_use] pub fn duty_res(&mut self) -> DUTY_RES_W { DUTY_RES_W::new(self, 0) } #[doc = "Bits 5:22 - This register is used to configure the divisor for the divider in timer %s. The least significant eight bits represent the fractional part."] #[inline(always)] - #[must_use] pub fn clk_div(&mut self) -> CLK_DIV_W { CLK_DIV_W::new(self, 5) } #[doc = "Bit 23 - This bit is used to suspend the counter in timer %s."] #[inline(always)] - #[must_use] pub fn pause(&mut self) -> PAUSE_W { PAUSE_W::new(self, 23) } #[doc = "Bit 24 - This bit is used to reset timer %s. The counter will show 0 after reset."] #[inline(always)] - #[must_use] pub fn rst(&mut self) -> RST_W { RST_W::new(self, 24) } #[doc = "Bit 25 - This bit is used to select clock for timer %s. When this bit is set to 1 LEDC_APB_CLK_SEL\\[1:0\\] should be 1, otherwise the timer clock may be not accurate. 1'h0: SLOW_CLK 1'h1: REF_TICK"] #[inline(always)] - #[must_use] pub fn tick_sel(&mut self) -> TICK_SEL_W { TICK_SEL_W::new(self, 25) } #[doc = "Bit 26 - Set this bit to update LEDC_CLK_DIV_TIMER%s and LEDC_TIMER%s_DUTY_RES."] #[inline(always)] - #[must_use] pub fn para_up(&mut self) -> PARA_UP_W { PARA_UP_W::new(self, 26) } diff --git a/esp32h2/src/ledc/timer_cmp.rs b/esp32h2/src/ledc/timer_cmp.rs index e4fe157cda..e4f38a10d9 100644 --- a/esp32h2/src/ledc/timer_cmp.rs +++ b/esp32h2/src/ledc/timer_cmp.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - This register stores ledc timer%s compare value."] #[inline(always)] - #[must_use] pub fn timer_cmp(&mut self) -> TIMER_CMP_W { TIMER_CMP_W::new(self, 0) } diff --git a/esp32h2/src/lib.rs b/esp32h2/src/lib.rs index cfc389e799..6dee20e537 100644 --- a/esp32h2/src/lib.rs +++ b/esp32h2/src/lib.rs @@ -1,4 +1,4 @@ -#![doc = "Peripheral access API for ESP32-H2 microcontrollers (generated using svd2rust v0.33.4 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next] svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.33.4/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"] +#![doc = "Peripheral access API for ESP32-H2 microcontrollers (generated using svd2rust v0.34.0 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next] svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.34.0/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"] #![allow(non_camel_case_types)] #![allow(non_snake_case)] #![doc(html_logo_url = "https://avatars.githubusercontent.com/u/46717278")] diff --git a/esp32h2/src/lp_ana/bod_mode0_cntl.rs b/esp32h2/src/lp_ana/bod_mode0_cntl.rs index 713115a6fd..a18b707743 100644 --- a/esp32h2/src/lp_ana/bod_mode0_cntl.rs +++ b/esp32h2/src/lp_ana/bod_mode0_cntl.rs @@ -97,7 +97,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 6 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0_close_flash_ena( &mut self, ) -> BOD_MODE0_CLOSE_FLASH_ENA_W { @@ -105,43 +104,36 @@ impl W { } #[doc = "Bit 7 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0_pd_rf_ena(&mut self) -> BOD_MODE0_PD_RF_ENA_W { BOD_MODE0_PD_RF_ENA_W::new(self, 7) } #[doc = "Bits 8:17 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0_intr_wait(&mut self) -> BOD_MODE0_INTR_WAIT_W { BOD_MODE0_INTR_WAIT_W::new(self, 8) } #[doc = "Bits 18:27 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0_reset_wait(&mut self) -> BOD_MODE0_RESET_WAIT_W { BOD_MODE0_RESET_WAIT_W::new(self, 18) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0_cnt_clr(&mut self) -> BOD_MODE0_CNT_CLR_W { BOD_MODE0_CNT_CLR_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0_intr_ena(&mut self) -> BOD_MODE0_INTR_ENA_W { BOD_MODE0_INTR_ENA_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0_reset_sel(&mut self) -> BOD_MODE0_RESET_SEL_W { BOD_MODE0_RESET_SEL_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0_reset_ena(&mut self) -> BOD_MODE0_RESET_ENA_W { BOD_MODE0_RESET_ENA_W::new(self, 31) } diff --git a/esp32h2/src/lp_ana/bod_mode1_cntl.rs b/esp32h2/src/lp_ana/bod_mode1_cntl.rs index 4e4bdd3972..22e45d3af8 100644 --- a/esp32h2/src/lp_ana/bod_mode1_cntl.rs +++ b/esp32h2/src/lp_ana/bod_mode1_cntl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode1_reset_ena(&mut self) -> BOD_MODE1_RESET_ENA_W { BOD_MODE1_RESET_ENA_W::new(self, 31) } diff --git a/esp32h2/src/lp_ana/ck_glitch_cntl.rs b/esp32h2/src/lp_ana/ck_glitch_cntl.rs index d238149382..ec2cfb0a4a 100644 --- a/esp32h2/src/lp_ana/ck_glitch_cntl.rs +++ b/esp32h2/src/lp_ana/ck_glitch_cntl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn ck_glitch_reset_ena(&mut self) -> CK_GLITCH_RESET_ENA_W { CK_GLITCH_RESET_ENA_W::new(self, 31) } diff --git a/esp32h2/src/lp_ana/date.rs b/esp32h2/src/lp_ana/date.rs index c5c9628f65..6c69ae1fd5 100644 --- a/esp32h2/src/lp_ana/date.rs +++ b/esp32h2/src/lp_ana/date.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_ana_date(&mut self) -> LP_ANA_DATE_W { LP_ANA_DATE_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32h2/src/lp_ana/fib_enable.rs b/esp32h2/src/lp_ana/fib_enable.rs index 4979869992..2b86866a9d 100644 --- a/esp32h2/src/lp_ana/fib_enable.rs +++ b/esp32h2/src/lp_ana/fib_enable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn ana_fib_ena(&mut self) -> ANA_FIB_ENA_W { ANA_FIB_ENA_W::new(self, 0) } diff --git a/esp32h2/src/lp_ana/int_clr.rs b/esp32h2/src/lp_ana/int_clr.rs index 7c8974e79e..f4d0fea991 100644 --- a/esp32h2/src/lp_ana/int_clr.rs +++ b/esp32h2/src/lp_ana/int_clr.rs @@ -19,31 +19,26 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_charge_upvoltage(&mut self) -> VDDBAT_CHARGE_UPVOLTAGE_W { VDDBAT_CHARGE_UPVOLTAGE_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_charge_undervoltage(&mut self) -> VDDBAT_CHARGE_UNDERVOLTAGE_W { VDDBAT_CHARGE_UNDERVOLTAGE_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_upvoltage(&mut self) -> VDDBAT_UPVOLTAGE_W { VDDBAT_UPVOLTAGE_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_undervoltage(&mut self) -> VDDBAT_UNDERVOLTAGE_W { VDDBAT_UNDERVOLTAGE_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0(&mut self) -> BOD_MODE0_W { BOD_MODE0_W::new(self, 31) } diff --git a/esp32h2/src/lp_ana/int_ena.rs b/esp32h2/src/lp_ana/int_ena.rs index 90a85d24d6..8b78636ba5 100644 --- a/esp32h2/src/lp_ana/int_ena.rs +++ b/esp32h2/src/lp_ana/int_ena.rs @@ -67,31 +67,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_charge_upvoltage(&mut self) -> VDDBAT_CHARGE_UPVOLTAGE_W { VDDBAT_CHARGE_UPVOLTAGE_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_charge_undervoltage(&mut self) -> VDDBAT_CHARGE_UNDERVOLTAGE_W { VDDBAT_CHARGE_UNDERVOLTAGE_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_upvoltage(&mut self) -> VDDBAT_UPVOLTAGE_W { VDDBAT_UPVOLTAGE_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_undervoltage(&mut self) -> VDDBAT_UNDERVOLTAGE_W { VDDBAT_UNDERVOLTAGE_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0(&mut self) -> BOD_MODE0_W { BOD_MODE0_W::new(self, 31) } diff --git a/esp32h2/src/lp_ana/int_raw.rs b/esp32h2/src/lp_ana/int_raw.rs index 279782ec72..a6dc9b012c 100644 --- a/esp32h2/src/lp_ana/int_raw.rs +++ b/esp32h2/src/lp_ana/int_raw.rs @@ -67,31 +67,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_charge_upvoltage(&mut self) -> VDDBAT_CHARGE_UPVOLTAGE_W { VDDBAT_CHARGE_UPVOLTAGE_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_charge_undervoltage(&mut self) -> VDDBAT_CHARGE_UNDERVOLTAGE_W { VDDBAT_CHARGE_UNDERVOLTAGE_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_upvoltage(&mut self) -> VDDBAT_UPVOLTAGE_W { VDDBAT_UPVOLTAGE_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_undervoltage(&mut self) -> VDDBAT_UNDERVOLTAGE_W { VDDBAT_UNDERVOLTAGE_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0(&mut self) -> BOD_MODE0_W { BOD_MODE0_W::new(self, 31) } diff --git a/esp32h2/src/lp_ana/lp_int_clr.rs b/esp32h2/src/lp_ana/lp_int_clr.rs index eb9b2ebce0..7292611712 100644 --- a/esp32h2/src/lp_ana/lp_int_clr.rs +++ b/esp32h2/src/lp_ana/lp_int_clr.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0(&mut self) -> BOD_MODE0_W { BOD_MODE0_W::new(self, 31) } diff --git a/esp32h2/src/lp_ana/lp_int_ena.rs b/esp32h2/src/lp_ana/lp_int_ena.rs index 314ce7d28a..0523553072 100644 --- a/esp32h2/src/lp_ana/lp_int_ena.rs +++ b/esp32h2/src/lp_ana/lp_int_ena.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0(&mut self) -> BOD_MODE0_W { BOD_MODE0_W::new(self, 31) } diff --git a/esp32h2/src/lp_ana/lp_int_raw.rs b/esp32h2/src/lp_ana/lp_int_raw.rs index 7680e3d0a0..513f3b59a6 100644 --- a/esp32h2/src/lp_ana/lp_int_raw.rs +++ b/esp32h2/src/lp_ana/lp_int_raw.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0(&mut self) -> BOD_MODE0_W { BOD_MODE0_W::new(self, 31) } diff --git a/esp32h2/src/lp_ana/pg_glitch_cntl.rs b/esp32h2/src/lp_ana/pg_glitch_cntl.rs index a66249b0ff..25958f6aff 100644 --- a/esp32h2/src/lp_ana/pg_glitch_cntl.rs +++ b/esp32h2/src/lp_ana/pg_glitch_cntl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn power_glitch_reset_ena(&mut self) -> POWER_GLITCH_RESET_ENA_W { POWER_GLITCH_RESET_ENA_W::new(self, 31) } diff --git a/esp32h2/src/lp_ana/vdd_source_cntl.rs b/esp32h2/src/lp_ana/vdd_source_cntl.rs index 7b34edb761..12eb08e0e2 100644 --- a/esp32h2/src/lp_ana/vdd_source_cntl.rs +++ b/esp32h2/src/lp_ana/vdd_source_cntl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - need_des"] #[inline(always)] - #[must_use] pub fn detmode_sel(&mut self) -> DETMODE_SEL_W { DETMODE_SEL_W::new(self, 0) } #[doc = "Bits 16:23 - need_des"] #[inline(always)] - #[must_use] pub fn vbat_event_record_clr(&mut self) -> VBAT_EVENT_RECORD_CLR_W { VBAT_EVENT_RECORD_CLR_W::new(self, 16) } #[doc = "Bits 24:31 - need_des"] #[inline(always)] - #[must_use] pub fn bod_source_ena(&mut self) -> BOD_SOURCE_ENA_W { BOD_SOURCE_ENA_W::new(self, 24) } diff --git a/esp32h2/src/lp_ana/vddbat_bod_cntl.rs b/esp32h2/src/lp_ana/vddbat_bod_cntl.rs index 2a624c3691..d0c2203002 100644 --- a/esp32h2/src/lp_ana/vddbat_bod_cntl.rs +++ b/esp32h2/src/lp_ana/vddbat_bod_cntl.rs @@ -65,25 +65,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 10 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_charger(&mut self) -> VDDBAT_CHARGER_W { VDDBAT_CHARGER_W::new(self, 10) } #[doc = "Bit 11 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_cnt_clr(&mut self) -> VDDBAT_CNT_CLR_W { VDDBAT_CNT_CLR_W::new(self, 11) } #[doc = "Bits 12:21 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_upvoltage_target(&mut self) -> VDDBAT_UPVOLTAGE_TARGET_W { VDDBAT_UPVOLTAGE_TARGET_W::new(self, 12) } #[doc = "Bits 22:31 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_undervoltage_target( &mut self, ) -> VDDBAT_UNDERVOLTAGE_TARGET_W { diff --git a/esp32h2/src/lp_ana/vddbat_charge_cntl.rs b/esp32h2/src/lp_ana/vddbat_charge_cntl.rs index c27668e8ff..b21be01f93 100644 --- a/esp32h2/src/lp_ana/vddbat_charge_cntl.rs +++ b/esp32h2/src/lp_ana/vddbat_charge_cntl.rs @@ -71,19 +71,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 10 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_charge_charger(&mut self) -> VDDBAT_CHARGE_CHARGER_W { VDDBAT_CHARGE_CHARGER_W::new(self, 10) } #[doc = "Bit 11 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_charge_cnt_clr(&mut self) -> VDDBAT_CHARGE_CNT_CLR_W { VDDBAT_CHARGE_CNT_CLR_W::new(self, 11) } #[doc = "Bits 12:21 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_charge_upvoltage_target( &mut self, ) -> VDDBAT_CHARGE_UPVOLTAGE_TARGET_W { @@ -91,7 +88,6 @@ impl W { } #[doc = "Bits 22:31 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_charge_undervoltage_target( &mut self, ) -> VDDBAT_CHARGE_UNDERVOLTAGE_TARGET_W { diff --git a/esp32h2/src/lp_aon/cpucore0_cfg.rs b/esp32h2/src/lp_aon/cpucore0_cfg.rs index c2da5051ec..6b3ee54b80 100644 --- a/esp32h2/src/lp_aon/cpucore0_cfg.rs +++ b/esp32h2/src/lp_aon/cpucore0_cfg.rs @@ -62,19 +62,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - need_des"] #[inline(always)] - #[must_use] pub fn cpu_core0_sw_stall(&mut self) -> CPU_CORE0_SW_STALL_W { CPU_CORE0_SW_STALL_W::new(self, 0) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn cpu_core0_sw_reset(&mut self) -> CPU_CORE0_SW_RESET_W { CPU_CORE0_SW_RESET_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn cpu_core0_ocd_halt_on_reset( &mut self, ) -> CPU_CORE0_OCD_HALT_ON_RESET_W { @@ -82,13 +79,11 @@ impl W { } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn cpu_core0_stat_vector_sel(&mut self) -> CPU_CORE0_STAT_VECTOR_SEL_W { CPU_CORE0_STAT_VECTOR_SEL_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn cpu_core0_dreset_mask(&mut self) -> CPU_CORE0_DRESET_MASK_W { CPU_CORE0_DRESET_MASK_W::new(self, 31) } diff --git a/esp32h2/src/lp_aon/date.rs b/esp32h2/src/lp_aon/date.rs index fca3521380..9c3a5dd732 100644 --- a/esp32h2/src/lp_aon/date.rs +++ b/esp32h2/src/lp_aon/date.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - need_des"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32h2/src/lp_aon/ext_wakeup_cntl.rs b/esp32h2/src/lp_aon/ext_wakeup_cntl.rs index 25e9ecb180..6244417aee 100644 --- a/esp32h2/src/lp_aon/ext_wakeup_cntl.rs +++ b/esp32h2/src/lp_aon/ext_wakeup_cntl.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 14 - need_des"] #[inline(always)] - #[must_use] pub fn ext_wakeup_status_clr(&mut self) -> EXT_WAKEUP_STATUS_CLR_W { EXT_WAKEUP_STATUS_CLR_W::new(self, 14) } #[doc = "Bits 15:22 - need_des"] #[inline(always)] - #[must_use] pub fn ext_wakeup_sel(&mut self) -> EXT_WAKEUP_SEL_W { EXT_WAKEUP_SEL_W::new(self, 15) } #[doc = "Bits 23:30 - need_des"] #[inline(always)] - #[must_use] pub fn ext_wakeup_lv(&mut self) -> EXT_WAKEUP_LV_W { EXT_WAKEUP_LV_W::new(self, 23) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn ext_wakeup_filter(&mut self) -> EXT_WAKEUP_FILTER_W { EXT_WAKEUP_FILTER_W::new(self, 31) } diff --git a/esp32h2/src/lp_aon/gpio_hold0.rs b/esp32h2/src/lp_aon/gpio_hold0.rs index 4973f30e0a..983073f841 100644 --- a/esp32h2/src/lp_aon/gpio_hold0.rs +++ b/esp32h2/src/lp_aon/gpio_hold0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn gpio_hold0(&mut self) -> GPIO_HOLD0_W { GPIO_HOLD0_W::new(self, 0) } diff --git a/esp32h2/src/lp_aon/gpio_hold1.rs b/esp32h2/src/lp_aon/gpio_hold1.rs index d9522183b0..e378ad125d 100644 --- a/esp32h2/src/lp_aon/gpio_hold1.rs +++ b/esp32h2/src/lp_aon/gpio_hold1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn gpio_hold1(&mut self) -> GPIO_HOLD1_W { GPIO_HOLD1_W::new(self, 0) } diff --git a/esp32h2/src/lp_aon/gpio_mux.rs b/esp32h2/src/lp_aon/gpio_mux.rs index f137682932..65876f8a11 100644 --- a/esp32h2/src/lp_aon/gpio_mux.rs +++ b/esp32h2/src/lp_aon/gpio_mux.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - need_des"] #[inline(always)] - #[must_use] pub fn sel(&mut self) -> SEL_W { SEL_W::new(self, 0) } diff --git a/esp32h2/src/lp_aon/io_mux.rs b/esp32h2/src/lp_aon/io_mux.rs index cfde381acf..8bcc31aa8a 100644 --- a/esp32h2/src/lp_aon/io_mux.rs +++ b/esp32h2/src/lp_aon/io_mux.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 28:30 - need_des"] #[inline(always)] - #[must_use] pub fn pull_ldo(&mut self) -> PULL_LDO_W { PULL_LDO_W::new(self, 28) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn reset_disable(&mut self) -> RESET_DISABLE_W { RESET_DISABLE_W::new(self, 31) } diff --git a/esp32h2/src/lp_aon/jtag_sel.rs b/esp32h2/src/lp_aon/jtag_sel.rs index 7ca19ace75..4c2097e237 100644 --- a/esp32h2/src/lp_aon/jtag_sel.rs +++ b/esp32h2/src/lp_aon/jtag_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - If strapping_sel_jtag feature is disabled by efuse, and if neither pad_jtag or usb_jtag is disabled by efuse, this field determines which one jtag between usb_jtag and pad_jtag will be used. 1'b1(default): usb_jtag, 1'b0: pad_jtag."] #[inline(always)] - #[must_use] pub fn soft(&mut self) -> SOFT_W { SOFT_W::new(self, 31) } diff --git a/esp32h2/src/lp_aon/lpbus.rs b/esp32h2/src/lp_aon/lpbus.rs index 19ed61f2fc..703fbb3ce2 100644 --- a/esp32h2/src/lp_aon/lpbus.rs +++ b/esp32h2/src/lp_aon/lpbus.rs @@ -86,25 +86,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:18 - This field controls fast memory WPULSE parameter. 0b000 for 1.1V/1.0V/0.9V operating Voltage."] #[inline(always)] - #[must_use] pub fn fast_mem_wpulse(&mut self) -> FAST_MEM_WPULSE_W { FAST_MEM_WPULSE_W::new(self, 16) } #[doc = "Bits 19:21 - This field controls fast memory WA parameter. 0b100 for 1.1V operating Voltage, 0b101 for 1.0V, 0b110 for 0.9V."] #[inline(always)] - #[must_use] pub fn fast_mem_wa(&mut self) -> FAST_MEM_WA_W { FAST_MEM_WA_W::new(self, 19) } #[doc = "Bits 22:23 - This field controls fast memory RA parameter. 0b00 for 1.1V/1.0V operating Voltage, 0b01 for 0.9V."] #[inline(always)] - #[must_use] pub fn fast_mem_ra(&mut self) -> FAST_MEM_RA_W { FAST_MEM_RA_W::new(self, 22) } #[doc = "Bits 24:27 - This field controls fast memory RM parameter. 0b0011 for 1.1V operating Voltage, 0b0010 for 1.0V, 0b0000 for 0.9V."] #[inline(always)] - #[must_use] pub fn fast_mem_rm(&mut self) -> FAST_MEM_RM_W { FAST_MEM_RM_W::new(self, 24) } diff --git a/esp32h2/src/lp_aon/lpcore.rs b/esp32h2/src/lp_aon/lpcore.rs index a1a1116133..04ee1359c7 100644 --- a/esp32h2/src/lp_aon/lpcore.rs +++ b/esp32h2/src/lp_aon/lpcore.rs @@ -36,19 +36,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn etm_wakeup_flag_clr(&mut self) -> ETM_WAKEUP_FLAG_CLR_W { ETM_WAKEUP_FLAG_CLR_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn etm_wakeup_flag(&mut self) -> ETM_WAKEUP_FLAG_W { ETM_WAKEUP_FLAG_W::new(self, 1) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn disable(&mut self) -> DISABLE_W { DISABLE_W::new(self, 31) } diff --git a/esp32h2/src/lp_aon/sar_cct.rs b/esp32h2/src/lp_aon/sar_cct.rs index 540e14be37..a95125eb65 100644 --- a/esp32h2/src/lp_aon/sar_cct.rs +++ b/esp32h2/src/lp_aon/sar_cct.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 29:31 - need_des"] #[inline(always)] - #[must_use] pub fn sar2_pwdet_cct(&mut self) -> SAR2_PWDET_CCT_W { SAR2_PWDET_CCT_W::new(self, 29) } diff --git a/esp32h2/src/lp_aon/sdio_active.rs b/esp32h2/src/lp_aon/sdio_active.rs index 4d4df5877c..192b544eb6 100644 --- a/esp32h2/src/lp_aon/sdio_active.rs +++ b/esp32h2/src/lp_aon/sdio_active.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 22:31 - need_des"] #[inline(always)] - #[must_use] pub fn sdio_act_dnum(&mut self) -> SDIO_ACT_DNUM_W { SDIO_ACT_DNUM_W::new(self, 22) } diff --git a/esp32h2/src/lp_aon/store0.rs b/esp32h2/src/lp_aon/store0.rs index 7f345da854..ff89fa4d43 100644 --- a/esp32h2/src/lp_aon/store0.rs +++ b/esp32h2/src/lp_aon/store0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aon_store0(&mut self) -> LP_AON_STORE0_W { LP_AON_STORE0_W::new(self, 0) } diff --git a/esp32h2/src/lp_aon/store1.rs b/esp32h2/src/lp_aon/store1.rs index 1e01078996..efc842feae 100644 --- a/esp32h2/src/lp_aon/store1.rs +++ b/esp32h2/src/lp_aon/store1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aon_store1(&mut self) -> LP_AON_STORE1_W { LP_AON_STORE1_W::new(self, 0) } diff --git a/esp32h2/src/lp_aon/store2.rs b/esp32h2/src/lp_aon/store2.rs index aa3ffd0c89..17446aef2d 100644 --- a/esp32h2/src/lp_aon/store2.rs +++ b/esp32h2/src/lp_aon/store2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aon_store2(&mut self) -> LP_AON_STORE2_W { LP_AON_STORE2_W::new(self, 0) } diff --git a/esp32h2/src/lp_aon/store3.rs b/esp32h2/src/lp_aon/store3.rs index ceae223ac1..71d71d2c3f 100644 --- a/esp32h2/src/lp_aon/store3.rs +++ b/esp32h2/src/lp_aon/store3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aon_store3(&mut self) -> LP_AON_STORE3_W { LP_AON_STORE3_W::new(self, 0) } diff --git a/esp32h2/src/lp_aon/store4.rs b/esp32h2/src/lp_aon/store4.rs index 7317987cb8..ef735d0e31 100644 --- a/esp32h2/src/lp_aon/store4.rs +++ b/esp32h2/src/lp_aon/store4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aon_store4(&mut self) -> LP_AON_STORE4_W { LP_AON_STORE4_W::new(self, 0) } diff --git a/esp32h2/src/lp_aon/store5.rs b/esp32h2/src/lp_aon/store5.rs index 2486b31abf..e320cf778d 100644 --- a/esp32h2/src/lp_aon/store5.rs +++ b/esp32h2/src/lp_aon/store5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aon_store5(&mut self) -> LP_AON_STORE5_W { LP_AON_STORE5_W::new(self, 0) } diff --git a/esp32h2/src/lp_aon/store6.rs b/esp32h2/src/lp_aon/store6.rs index d3e3be7861..5ceacf745f 100644 --- a/esp32h2/src/lp_aon/store6.rs +++ b/esp32h2/src/lp_aon/store6.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aon_store6(&mut self) -> LP_AON_STORE6_W { LP_AON_STORE6_W::new(self, 0) } diff --git a/esp32h2/src/lp_aon/store7.rs b/esp32h2/src/lp_aon/store7.rs index 73b2f906c4..0246db8a25 100644 --- a/esp32h2/src/lp_aon/store7.rs +++ b/esp32h2/src/lp_aon/store7.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aon_store7(&mut self) -> LP_AON_STORE7_W { LP_AON_STORE7_W::new(self, 0) } diff --git a/esp32h2/src/lp_aon/store8.rs b/esp32h2/src/lp_aon/store8.rs index bf5f9c611d..20de43cbb5 100644 --- a/esp32h2/src/lp_aon/store8.rs +++ b/esp32h2/src/lp_aon/store8.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aon_store8(&mut self) -> LP_AON_STORE8_W { LP_AON_STORE8_W::new(self, 0) } diff --git a/esp32h2/src/lp_aon/store9.rs b/esp32h2/src/lp_aon/store9.rs index 6eca846177..d1a6cbb508 100644 --- a/esp32h2/src/lp_aon/store9.rs +++ b/esp32h2/src/lp_aon/store9.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aon_store9(&mut self) -> LP_AON_STORE9_W { LP_AON_STORE9_W::new(self, 0) } diff --git a/esp32h2/src/lp_aon/sys_cfg.rs b/esp32h2/src/lp_aon/sys_cfg.rs index 5210dc13ba..bda78ab994 100644 --- a/esp32h2/src/lp_aon/sys_cfg.rs +++ b/esp32h2/src/lp_aon/sys_cfg.rs @@ -50,13 +50,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn force_download_boot(&mut self) -> FORCE_DOWNLOAD_BOOT_W { FORCE_DOWNLOAD_BOOT_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hpsys_sw_reset(&mut self) -> HPSYS_SW_RESET_W { HPSYS_SW_RESET_W::new(self, 31) } diff --git a/esp32h2/src/lp_aon/usb.rs b/esp32h2/src/lp_aon/usb.rs index 44fdcb6e0d..c94659e8e9 100644 --- a/esp32h2/src/lp_aon/usb.rs +++ b/esp32h2/src/lp_aon/usb.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn reset_disable(&mut self) -> RESET_DISABLE_W { RESET_DISABLE_W::new(self, 31) } diff --git a/esp32h2/src/lp_apm/clock_gate.rs b/esp32h2/src/lp_apm/clock_gate.rs index c11923fb98..a58faa7d65 100644 --- a/esp32h2/src/lp_apm/clock_gate.rs +++ b/esp32h2/src/lp_apm/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_clk_en"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32h2/src/lp_apm/date.rs b/esp32h2/src/lp_apm/date.rs index d0dc1d48da..53482e53e7 100644 --- a/esp32h2/src/lp_apm/date.rs +++ b/esp32h2/src/lp_apm/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - reg_date"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32h2/src/lp_apm/func_ctrl.rs b/esp32h2/src/lp_apm/func_ctrl.rs index d9a6fe03e6..396a133f7e 100644 --- a/esp32h2/src/lp_apm/func_ctrl.rs +++ b/esp32h2/src/lp_apm/func_ctrl.rs @@ -41,7 +41,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `M0_PMS_FUNC_EN` field.
"] #[inline(always)] - #[must_use] pub fn m_pms_func_en(&mut self, n: u8) -> M_PMS_FUNC_EN_W { #[allow(clippy::no_effect)] [(); 1][n as usize]; @@ -49,7 +48,6 @@ impl W { } #[doc = "Bit 0 - PMS M0 function enable"] #[inline(always)] - #[must_use] pub fn m0_pms_func_en(&mut self) -> M_PMS_FUNC_EN_W { M_PMS_FUNC_EN_W::new(self, 0) } diff --git a/esp32h2/src/lp_apm/int_en.rs b/esp32h2/src/lp_apm/int_en.rs index 4d6a6fdd7f..a015f02106 100644 --- a/esp32h2/src/lp_apm/int_en.rs +++ b/esp32h2/src/lp_apm/int_en.rs @@ -41,7 +41,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `M0_APM` field.
"] #[inline(always)] - #[must_use] pub fn m_apm(&mut self, n: u8) -> M_APM_W { #[allow(clippy::no_effect)] [(); 1][n as usize]; @@ -49,7 +48,6 @@ impl W { } #[doc = "Bit 0 - APM M0 interrupt enable"] #[inline(always)] - #[must_use] pub fn m0_apm(&mut self) -> M_APM_W { M_APM_W::new(self, 0) } diff --git a/esp32h2/src/lp_apm/m/status_clr.rs b/esp32h2/src/lp_apm/m/status_clr.rs index e4f078f6fc..8da9457594 100644 --- a/esp32h2/src/lp_apm/m/status_clr.rs +++ b/esp32h2/src/lp_apm/m/status_clr.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Clear exception status"] #[inline(always)] - #[must_use] pub fn region_status_clr(&mut self) -> REGION_STATUS_CLR_W { REGION_STATUS_CLR_W::new(self, 0) } diff --git a/esp32h2/src/lp_apm/region/addr_end.rs b/esp32h2/src/lp_apm/region/addr_end.rs index 0459ef8236..62145901a9 100644 --- a/esp32h2/src/lp_apm/region/addr_end.rs +++ b/esp32h2/src/lp_apm/region/addr_end.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - End address of region0"] #[inline(always)] - #[must_use] pub fn addr_end(&mut self) -> ADDR_END_W { ADDR_END_W::new(self, 0) } diff --git a/esp32h2/src/lp_apm/region/addr_start.rs b/esp32h2/src/lp_apm/region/addr_start.rs index fc14b71b5f..4ae84c3305 100644 --- a/esp32h2/src/lp_apm/region/addr_start.rs +++ b/esp32h2/src/lp_apm/region/addr_start.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Start address of region0"] #[inline(always)] - #[must_use] pub fn addr_start(&mut self) -> ADDR_START_W { ADDR_START_W::new(self, 0) } diff --git a/esp32h2/src/lp_apm/region/pms_attr.rs b/esp32h2/src/lp_apm/region/pms_attr.rs index fe5b684b59..2c40327dfb 100644 --- a/esp32h2/src/lp_apm/region/pms_attr.rs +++ b/esp32h2/src/lp_apm/region/pms_attr.rs @@ -127,7 +127,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `R0_PMS_X` field.
"] #[inline(always)] - #[must_use] pub fn r_pms_x(&mut self, n: u8) -> R_PMS_X_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -135,19 +134,16 @@ impl W { } #[doc = "Bit 0 - Region execute authority in REE_MODE0"] #[inline(always)] - #[must_use] pub fn r0_pms_x(&mut self) -> R_PMS_X_W { R_PMS_X_W::new(self, 0) } #[doc = "Bit 4 - Region execute authority in REE_MODE1"] #[inline(always)] - #[must_use] pub fn r1_pms_x(&mut self) -> R_PMS_X_W { R_PMS_X_W::new(self, 4) } #[doc = "Bit 8 - Region execute authority in REE_MODE2"] #[inline(always)] - #[must_use] pub fn r2_pms_x(&mut self) -> R_PMS_X_W { R_PMS_X_W::new(self, 8) } @@ -155,7 +151,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `R0_PMS_W` field.
"] #[inline(always)] - #[must_use] pub fn r_pms_w(&mut self, n: u8) -> R_PMS_W_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -163,19 +158,16 @@ impl W { } #[doc = "Bit 1 - Region write authority in REE_MODE0"] #[inline(always)] - #[must_use] pub fn r0_pms_w(&mut self) -> R_PMS_W_W { R_PMS_W_W::new(self, 1) } #[doc = "Bit 5 - Region write authority in REE_MODE1"] #[inline(always)] - #[must_use] pub fn r1_pms_w(&mut self) -> R_PMS_W_W { R_PMS_W_W::new(self, 5) } #[doc = "Bit 9 - Region write authority in REE_MODE2"] #[inline(always)] - #[must_use] pub fn r2_pms_w(&mut self) -> R_PMS_W_W { R_PMS_W_W::new(self, 9) } @@ -183,7 +175,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `R0_PMS_R` field.
"] #[inline(always)] - #[must_use] pub fn r_pms_r(&mut self, n: u8) -> R_PMS_R_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -191,19 +182,16 @@ impl W { } #[doc = "Bit 2 - Region read authority in REE_MODE0"] #[inline(always)] - #[must_use] pub fn r0_pms_r(&mut self) -> R_PMS_R_W { R_PMS_R_W::new(self, 2) } #[doc = "Bit 6 - Region read authority in REE_MODE1"] #[inline(always)] - #[must_use] pub fn r1_pms_r(&mut self) -> R_PMS_R_W { R_PMS_R_W::new(self, 6) } #[doc = "Bit 10 - Region read authority in REE_MODE2"] #[inline(always)] - #[must_use] pub fn r2_pms_r(&mut self) -> R_PMS_R_W { R_PMS_R_W::new(self, 10) } diff --git a/esp32h2/src/lp_apm/region_filter_en.rs b/esp32h2/src/lp_apm/region_filter_en.rs index 3f42fd693d..4f25791036 100644 --- a/esp32h2/src/lp_apm/region_filter_en.rs +++ b/esp32h2/src/lp_apm/region_filter_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Region filter enable"] #[inline(always)] - #[must_use] pub fn region_filter_en(&mut self) -> REGION_FILTER_EN_W { REGION_FILTER_EN_W::new(self, 0) } diff --git a/esp32h2/src/lp_clkrst/clk_to_hp.rs b/esp32h2/src/lp_clkrst/clk_to_hp.rs index 9c7f5727d7..1a49a3f0f4 100644 --- a/esp32h2/src/lp_clkrst/clk_to_hp.rs +++ b/esp32h2/src/lp_clkrst/clk_to_hp.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn icg_hp_xtal32k(&mut self) -> ICG_HP_XTAL32K_W { ICG_HP_XTAL32K_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn icg_hp_sosc(&mut self) -> ICG_HP_SOSC_W { ICG_HP_SOSC_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn icg_hp_osc32k(&mut self) -> ICG_HP_OSC32K_W { ICG_HP_OSC32K_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn icg_hp_fosc(&mut self) -> ICG_HP_FOSC_W { ICG_HP_FOSC_W::new(self, 31) } diff --git a/esp32h2/src/lp_clkrst/cpu_reset.rs b/esp32h2/src/lp_clkrst/cpu_reset.rs index 9b06f596c6..3d7557d5d0 100644 --- a/esp32h2/src/lp_clkrst/cpu_reset.rs +++ b/esp32h2/src/lp_clkrst/cpu_reset.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 22:24 - need_des"] #[inline(always)] - #[must_use] pub fn rtc_wdt_cpu_reset_length(&mut self) -> RTC_WDT_CPU_RESET_LENGTH_W { RTC_WDT_CPU_RESET_LENGTH_W::new(self, 22) } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn rtc_wdt_cpu_reset_en(&mut self) -> RTC_WDT_CPU_RESET_EN_W { RTC_WDT_CPU_RESET_EN_W::new(self, 25) } #[doc = "Bits 26:30 - need_des"] #[inline(always)] - #[must_use] pub fn cpu_stall_wait(&mut self) -> CPU_STALL_WAIT_W { CPU_STALL_WAIT_W::new(self, 26) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn cpu_stall_en(&mut self) -> CPU_STALL_EN_W { CPU_STALL_EN_W::new(self, 31) } diff --git a/esp32h2/src/lp_clkrst/date.rs b/esp32h2/src/lp_clkrst/date.rs index 2ca45d114f..196fb1e196 100644 --- a/esp32h2/src/lp_clkrst/date.rs +++ b/esp32h2/src/lp_clkrst/date.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - need_des"] #[inline(always)] - #[must_use] pub fn clkrst_date(&mut self) -> CLKRST_DATE_W { CLKRST_DATE_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32h2/src/lp_clkrst/fosc_cntl.rs b/esp32h2/src/lp_clkrst/fosc_cntl.rs index cbb3da4858..7ef937fd0a 100644 --- a/esp32h2/src/lp_clkrst/fosc_cntl.rs +++ b/esp32h2/src/lp_clkrst/fosc_cntl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 22:31 - need_des"] #[inline(always)] - #[must_use] pub fn fosc_dfreq(&mut self) -> FOSC_DFREQ_W { FOSC_DFREQ_W::new(self, 22) } diff --git a/esp32h2/src/lp_clkrst/lp_clk_conf.rs b/esp32h2/src/lp_clkrst/lp_clk_conf.rs index d924ee3a27..8a3cc43e60 100644 --- a/esp32h2/src/lp_clkrst/lp_clk_conf.rs +++ b/esp32h2/src/lp_clkrst/lp_clk_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - need_des"] #[inline(always)] - #[must_use] pub fn slow_clk_sel(&mut self) -> SLOW_CLK_SEL_W { SLOW_CLK_SEL_W::new(self, 0) } #[doc = "Bits 2:3 - need_des"] #[inline(always)] - #[must_use] pub fn fast_clk_sel(&mut self) -> FAST_CLK_SEL_W { FAST_CLK_SEL_W::new(self, 2) } #[doc = "Bits 4:11 - need_des"] #[inline(always)] - #[must_use] pub fn lp_peri_div_num(&mut self) -> LP_PERI_DIV_NUM_W { LP_PERI_DIV_NUM_W::new(self, 4) } diff --git a/esp32h2/src/lp_clkrst/lp_clk_en.rs b/esp32h2/src/lp_clkrst/lp_clk_en.rs index 76b08b4883..daff6418b5 100644 --- a/esp32h2/src/lp_clkrst/lp_clk_en.rs +++ b/esp32h2/src/lp_clkrst/lp_clk_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn fast_ori_gate(&mut self) -> FAST_ORI_GATE_W { FAST_ORI_GATE_W::new(self, 31) } diff --git a/esp32h2/src/lp_clkrst/lp_clk_po_en.rs b/esp32h2/src/lp_clkrst/lp_clk_po_en.rs index 476bfb7825..c69148900c 100644 --- a/esp32h2/src/lp_clkrst/lp_clk_po_en.rs +++ b/esp32h2/src/lp_clkrst/lp_clk_po_en.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn aon_slow_oen(&mut self) -> AON_SLOW_OEN_W { AON_SLOW_OEN_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn aon_fast_oen(&mut self) -> AON_FAST_OEN_W { AON_FAST_OEN_W::new(self, 1) } #[doc = "Bit 2 - need_des"] #[inline(always)] - #[must_use] pub fn sosc_oen(&mut self) -> SOSC_OEN_W { SOSC_OEN_W::new(self, 2) } #[doc = "Bit 3 - need_des"] #[inline(always)] - #[must_use] pub fn fosc_oen(&mut self) -> FOSC_OEN_W { FOSC_OEN_W::new(self, 3) } #[doc = "Bit 4 - need_des"] #[inline(always)] - #[must_use] pub fn osc32k_oen(&mut self) -> OSC32K_OEN_W { OSC32K_OEN_W::new(self, 4) } #[doc = "Bit 5 - need_des"] #[inline(always)] - #[must_use] pub fn xtal32k_oen(&mut self) -> XTAL32K_OEN_W { XTAL32K_OEN_W::new(self, 5) } #[doc = "Bit 6 - need_des"] #[inline(always)] - #[must_use] pub fn core_efuse_oen(&mut self) -> CORE_EFUSE_OEN_W { CORE_EFUSE_OEN_W::new(self, 6) } #[doc = "Bit 7 - need_des"] #[inline(always)] - #[must_use] pub fn slow_oen(&mut self) -> SLOW_OEN_W { SLOW_OEN_W::new(self, 7) } #[doc = "Bit 8 - need_des"] #[inline(always)] - #[must_use] pub fn fast_oen(&mut self) -> FAST_OEN_W { FAST_OEN_W::new(self, 8) } #[doc = "Bit 9 - need_des"] #[inline(always)] - #[must_use] pub fn rng_oen(&mut self) -> RNG_OEN_W { RNG_OEN_W::new(self, 9) } #[doc = "Bit 10 - need_des"] #[inline(always)] - #[must_use] pub fn lpbus_oen(&mut self) -> LPBUS_OEN_W { LPBUS_OEN_W::new(self, 10) } diff --git a/esp32h2/src/lp_clkrst/lp_rst_en.rs b/esp32h2/src/lp_clkrst/lp_rst_en.rs index dbc74460d2..53a13d27d3 100644 --- a/esp32h2/src/lp_clkrst/lp_rst_en.rs +++ b/esp32h2/src/lp_clkrst/lp_rst_en.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn aon_efuse_core_reset_en(&mut self) -> AON_EFUSE_CORE_RESET_EN_W { AON_EFUSE_CORE_RESET_EN_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn lp_timer_reset_en(&mut self) -> LP_TIMER_RESET_EN_W { LP_TIMER_RESET_EN_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_reset_en(&mut self) -> WDT_RESET_EN_W { WDT_RESET_EN_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn ana_peri_reset_en(&mut self) -> ANA_PERI_RESET_EN_W { ANA_PERI_RESET_EN_W::new(self, 31) } diff --git a/esp32h2/src/lp_clkrst/lpmem_force.rs b/esp32h2/src/lp_clkrst/lpmem_force.rs index 3f5f9e6d95..4df9a50d63 100644 --- a/esp32h2/src/lp_clkrst/lpmem_force.rs +++ b/esp32h2/src/lp_clkrst/lpmem_force.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lpmem_clk_force_on(&mut self) -> LPMEM_CLK_FORCE_ON_W { LPMEM_CLK_FORCE_ON_W::new(self, 31) } diff --git a/esp32h2/src/lp_clkrst/lpperi.rs b/esp32h2/src/lp_clkrst/lpperi.rs index c98cfcb3ca..46ba447a92 100644 --- a/esp32h2/src/lp_clkrst/lpperi.rs +++ b/esp32h2/src/lp_clkrst/lpperi.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 12:23 - need_des"] #[inline(always)] - #[must_use] pub fn lp_bletimer_div_num(&mut self) -> LP_BLETIMER_DIV_NUM_W { LP_BLETIMER_DIV_NUM_W::new(self, 12) } #[doc = "Bits 24:25 - need_des"] #[inline(always)] - #[must_use] pub fn lp_bletimer_32k_sel(&mut self) -> LP_BLETIMER_32K_SEL_W { LP_BLETIMER_32K_SEL_W::new(self, 24) } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sel_osc_slow(&mut self) -> LP_SEL_OSC_SLOW_W { LP_SEL_OSC_SLOW_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sel_osc_fast(&mut self) -> LP_SEL_OSC_FAST_W { LP_SEL_OSC_FAST_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sel_xtal(&mut self) -> LP_SEL_XTAL_W { LP_SEL_XTAL_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sel_xtal32k(&mut self) -> LP_SEL_XTAL32K_W { LP_SEL_XTAL32K_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_i2c_clk_sel(&mut self) -> LP_I2C_CLK_SEL_W { LP_I2C_CLK_SEL_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_uart_clk_sel(&mut self) -> LP_UART_CLK_SEL_W { LP_UART_CLK_SEL_W::new(self, 31) } diff --git a/esp32h2/src/lp_clkrst/rc32k_cntl.rs b/esp32h2/src/lp_clkrst/rc32k_cntl.rs index 0f95b12746..6bfab8310a 100644 --- a/esp32h2/src/lp_clkrst/rc32k_cntl.rs +++ b/esp32h2/src/lp_clkrst/rc32k_cntl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 22:31 - need_des"] #[inline(always)] - #[must_use] pub fn rc32k_dfreq(&mut self) -> RC32K_DFREQ_W { RC32K_DFREQ_W::new(self, 22) } diff --git a/esp32h2/src/lp_clkrst/reset_cause.rs b/esp32h2/src/lp_clkrst/reset_cause.rs index 1b8631e065..1dc581a6e8 100644 --- a/esp32h2/src/lp_clkrst/reset_cause.rs +++ b/esp32h2/src/lp_clkrst/reset_cause.rs @@ -36,19 +36,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn core0_reset_cause_clr(&mut self) -> CORE0_RESET_CAUSE_CLR_W { CORE0_RESET_CAUSE_CLR_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn core0_reset_flag_set(&mut self) -> CORE0_RESET_FLAG_SET_W { CORE0_RESET_FLAG_SET_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn core0_reset_flag_clr(&mut self) -> CORE0_RESET_FLAG_CLR_W { CORE0_RESET_FLAG_CLR_W::new(self, 31) } diff --git a/esp32h2/src/lp_clkrst/xtal32k.rs b/esp32h2/src/lp_clkrst/xtal32k.rs index a9535e5edb..9b3e03c2f8 100644 --- a/esp32h2/src/lp_clkrst/xtal32k.rs +++ b/esp32h2/src/lp_clkrst/xtal32k.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 22:24 - need_des"] #[inline(always)] - #[must_use] pub fn dres_xtal32k(&mut self) -> DRES_XTAL32K_W { DRES_XTAL32K_W::new(self, 22) } #[doc = "Bits 25:27 - need_des"] #[inline(always)] - #[must_use] pub fn dgm_xtal32k(&mut self) -> DGM_XTAL32K_W { DGM_XTAL32K_W::new(self, 25) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn dbuf_xtal32k(&mut self) -> DBUF_XTAL32K_W { DBUF_XTAL32K_W::new(self, 28) } #[doc = "Bits 29:31 - need_des"] #[inline(always)] - #[must_use] pub fn dac_xtal32k(&mut self) -> DAC_XTAL32K_W { DAC_XTAL32K_W::new(self, 29) } diff --git a/esp32h2/src/lp_peri/bus_timeout.rs b/esp32h2/src/lp_peri/bus_timeout.rs index 79ff1d16dc..89e932dd29 100644 --- a/esp32h2/src/lp_peri/bus_timeout.rs +++ b/esp32h2/src/lp_peri/bus_timeout.rs @@ -39,19 +39,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 14:29 - need_des"] #[inline(always)] - #[must_use] pub fn lp_peri_timeout_thres(&mut self) -> LP_PERI_TIMEOUT_THRES_W { LP_PERI_TIMEOUT_THRES_W::new(self, 14) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_peri_timeout_int_clear(&mut self) -> LP_PERI_TIMEOUT_INT_CLEAR_W { LP_PERI_TIMEOUT_INT_CLEAR_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_peri_timeout_protect_en(&mut self) -> LP_PERI_TIMEOUT_PROTECT_EN_W { LP_PERI_TIMEOUT_PROTECT_EN_W::new(self, 31) } diff --git a/esp32h2/src/lp_peri/clk_en.rs b/esp32h2/src/lp_peri/clk_en.rs index 2bad7f3acc..dc6394887d 100644 --- a/esp32h2/src/lp_peri/clk_en.rs +++ b/esp32h2/src/lp_peri/clk_en.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 24 - need_des"] #[inline(always)] - #[must_use] pub fn rng_ck_en(&mut self) -> RNG_CK_EN_W { RNG_CK_EN_W::new(self, 24) } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn otp_dbg_ck_en(&mut self) -> OTP_DBG_CK_EN_W { OTP_DBG_CK_EN_W::new(self, 25) } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn lp_uart_ck_en(&mut self) -> LP_UART_CK_EN_W { LP_UART_CK_EN_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn lp_io_ck_en(&mut self) -> LP_IO_CK_EN_W { LP_IO_CK_EN_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn lp_ext_i2c_ck_en(&mut self) -> LP_EXT_I2C_CK_EN_W { LP_EXT_I2C_CK_EN_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn lp_ana_i2c_ck_en(&mut self) -> LP_ANA_I2C_CK_EN_W { LP_ANA_I2C_CK_EN_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn efuse_ck_en(&mut self) -> EFUSE_CK_EN_W { EFUSE_CK_EN_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_ck_en(&mut self) -> LP_CPU_CK_EN_W { LP_CPU_CK_EN_W::new(self, 31) } diff --git a/esp32h2/src/lp_peri/cpu.rs b/esp32h2/src/lp_peri/cpu.rs index e995eef98e..bd16a0dee8 100644 --- a/esp32h2/src/lp_peri/cpu.rs +++ b/esp32h2/src/lp_peri/cpu.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lpcore_dbgm_unavaliable(&mut self) -> LPCORE_DBGM_UNAVALIABLE_W { LPCORE_DBGM_UNAVALIABLE_W::new(self, 31) } diff --git a/esp32h2/src/lp_peri/date.rs b/esp32h2/src/lp_peri/date.rs index 8a620eff45..d0ae23250b 100644 --- a/esp32h2/src/lp_peri/date.rs +++ b/esp32h2/src/lp_peri/date.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - need_des"] #[inline(always)] - #[must_use] pub fn lpperi_date(&mut self) -> LPPERI_DATE_W { LPPERI_DATE_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32h2/src/lp_peri/debug_sel0.rs b/esp32h2/src/lp_peri/debug_sel0.rs index c31dc68f02..8a43021c71 100644 --- a/esp32h2/src/lp_peri/debug_sel0.rs +++ b/esp32h2/src/lp_peri/debug_sel0.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - need des"] #[inline(always)] - #[must_use] pub fn debug_sel0(&mut self) -> DEBUG_SEL0_W { DEBUG_SEL0_W::new(self, 0) } #[doc = "Bits 7:13 - need des"] #[inline(always)] - #[must_use] pub fn debug_sel1(&mut self) -> DEBUG_SEL1_W { DEBUG_SEL1_W::new(self, 7) } #[doc = "Bits 14:20 - need des"] #[inline(always)] - #[must_use] pub fn debug_sel2(&mut self) -> DEBUG_SEL2_W { DEBUG_SEL2_W::new(self, 14) } #[doc = "Bits 21:27 - need des"] #[inline(always)] - #[must_use] pub fn debug_sel3(&mut self) -> DEBUG_SEL3_W { DEBUG_SEL3_W::new(self, 21) } diff --git a/esp32h2/src/lp_peri/debug_sel1.rs b/esp32h2/src/lp_peri/debug_sel1.rs index 310e774a0c..042e3ef365 100644 --- a/esp32h2/src/lp_peri/debug_sel1.rs +++ b/esp32h2/src/lp_peri/debug_sel1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - need des"] #[inline(always)] - #[must_use] pub fn debug_sel4(&mut self) -> DEBUG_SEL4_W { DEBUG_SEL4_W::new(self, 0) } diff --git a/esp32h2/src/lp_peri/mem_ctrl.rs b/esp32h2/src/lp_peri/mem_ctrl.rs index bb328a67ef..d99e81fbe2 100644 --- a/esp32h2/src/lp_peri/mem_ctrl.rs +++ b/esp32h2/src/lp_peri/mem_ctrl.rs @@ -56,31 +56,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn uart_wakeup_flag_clr(&mut self) -> UART_WAKEUP_FLAG_CLR_W { UART_WAKEUP_FLAG_CLR_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn uart_wakeup_flag(&mut self) -> UART_WAKEUP_FLAG_W { UART_WAKEUP_FLAG_W::new(self, 1) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn uart_wakeup_en(&mut self) -> UART_WAKEUP_EN_W { UART_WAKEUP_EN_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn uart_mem_force_pd(&mut self) -> UART_MEM_FORCE_PD_W { UART_MEM_FORCE_PD_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn uart_mem_force_pu(&mut self) -> UART_MEM_FORCE_PU_W { UART_MEM_FORCE_PU_W::new(self, 31) } diff --git a/esp32h2/src/lp_peri/reset_en.rs b/esp32h2/src/lp_peri/reset_en.rs index fdddca987a..7c613b49f3 100644 --- a/esp32h2/src/lp_peri/reset_en.rs +++ b/esp32h2/src/lp_peri/reset_en.rs @@ -88,55 +88,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 23 - need_des"] #[inline(always)] - #[must_use] pub fn bus_reset_en(&mut self) -> BUS_RESET_EN_W { BUS_RESET_EN_W::new(self, 23) } #[doc = "Bit 24 - need_des"] #[inline(always)] - #[must_use] pub fn lp_ble_timer_reset_en(&mut self) -> LP_BLE_TIMER_RESET_EN_W { LP_BLE_TIMER_RESET_EN_W::new(self, 24) } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn otp_dbg_reset_en(&mut self) -> OTP_DBG_RESET_EN_W { OTP_DBG_RESET_EN_W::new(self, 25) } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn lp_uart_reset_en(&mut self) -> LP_UART_RESET_EN_W { LP_UART_RESET_EN_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn lp_io_reset_en(&mut self) -> LP_IO_RESET_EN_W { LP_IO_RESET_EN_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn lp_ext_i2c_reset_en(&mut self) -> LP_EXT_I2C_RESET_EN_W { LP_EXT_I2C_RESET_EN_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn lp_ana_i2c_reset_en(&mut self) -> LP_ANA_I2C_RESET_EN_W { LP_ANA_I2C_RESET_EN_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn efuse_reset_en(&mut self) -> EFUSE_RESET_EN_W { EFUSE_RESET_EN_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_reset_en(&mut self) -> LP_CPU_RESET_EN_W { LP_CPU_RESET_EN_W::new(self, 31) } diff --git a/esp32h2/src/lp_timer/date.rs b/esp32h2/src/lp_timer/date.rs index 35fd3ed2bf..c93f4ff77a 100644 --- a/esp32h2/src/lp_timer/date.rs +++ b/esp32h2/src/lp_timer/date.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - need_des"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32h2/src/lp_timer/int_clr.rs b/esp32h2/src/lp_timer/int_clr.rs index d72022c410..b2123336ca 100644 --- a/esp32h2/src/lp_timer/int_clr.rs +++ b/esp32h2/src/lp_timer/int_clr.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn overflow_clr(&mut self) -> OVERFLOW_CLR_W { OVERFLOW_CLR_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn soc_wakeup_int_clr(&mut self) -> SOC_WAKEUP_INT_CLR_W { SOC_WAKEUP_INT_CLR_W::new(self, 31) } diff --git a/esp32h2/src/lp_timer/int_ena.rs b/esp32h2/src/lp_timer/int_ena.rs index 116faa93ec..8b1c39dfd2 100644 --- a/esp32h2/src/lp_timer/int_ena.rs +++ b/esp32h2/src/lp_timer/int_ena.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn overflow_ena(&mut self) -> OVERFLOW_ENA_W { OVERFLOW_ENA_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn soc_wakeup_int_ena(&mut self) -> SOC_WAKEUP_INT_ENA_W { SOC_WAKEUP_INT_ENA_W::new(self, 31) } diff --git a/esp32h2/src/lp_timer/int_raw.rs b/esp32h2/src/lp_timer/int_raw.rs index 274cbda3ae..4e1637723c 100644 --- a/esp32h2/src/lp_timer/int_raw.rs +++ b/esp32h2/src/lp_timer/int_raw.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn overflow_raw(&mut self) -> OVERFLOW_RAW_W { OVERFLOW_RAW_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn soc_wakeup_int_raw(&mut self) -> SOC_WAKEUP_INT_RAW_W { SOC_WAKEUP_INT_RAW_W::new(self, 31) } diff --git a/esp32h2/src/lp_timer/main_overflow.rs b/esp32h2/src/lp_timer/main_overflow.rs index 80743012dc..1ed21c16d1 100644 --- a/esp32h2/src/lp_timer/main_overflow.rs +++ b/esp32h2/src/lp_timer/main_overflow.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_alarm_load(&mut self) -> MAIN_TIMER_ALARM_LOAD_W { MAIN_TIMER_ALARM_LOAD_W::new(self, 31) } diff --git a/esp32h2/src/lp_timer/tar0_high.rs b/esp32h2/src/lp_timer/tar0_high.rs index c8a67c7e6e..1abc8bc13b 100644 --- a/esp32h2/src/lp_timer/tar0_high.rs +++ b/esp32h2/src/lp_timer/tar0_high.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_tar_high0(&mut self) -> MAIN_TIMER_TAR_HIGH0_W { MAIN_TIMER_TAR_HIGH0_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_tar_en0(&mut self) -> MAIN_TIMER_TAR_EN0_W { MAIN_TIMER_TAR_EN0_W::new(self, 31) } diff --git a/esp32h2/src/lp_timer/tar0_low.rs b/esp32h2/src/lp_timer/tar0_low.rs index 2b8de9d157..0f87653d28 100644 --- a/esp32h2/src/lp_timer/tar0_low.rs +++ b/esp32h2/src/lp_timer/tar0_low.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_tar_low0(&mut self) -> MAIN_TIMER_TAR_LOW0_W { MAIN_TIMER_TAR_LOW0_W::new(self, 0) } diff --git a/esp32h2/src/lp_timer/update.rs b/esp32h2/src/lp_timer/update.rs index 5fa60716d1..4ae4ebc4d9 100644 --- a/esp32h2/src/lp_timer/update.rs +++ b/esp32h2/src/lp_timer/update.rs @@ -46,25 +46,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_update(&mut self) -> MAIN_TIMER_UPDATE_W { MAIN_TIMER_UPDATE_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_xtal_off(&mut self) -> MAIN_TIMER_XTAL_OFF_W { MAIN_TIMER_XTAL_OFF_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_sys_stall(&mut self) -> MAIN_TIMER_SYS_STALL_W { MAIN_TIMER_SYS_STALL_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_sys_rst(&mut self) -> MAIN_TIMER_SYS_RST_W { MAIN_TIMER_SYS_RST_W::new(self, 31) } diff --git a/esp32h2/src/lp_wdt/config1.rs b/esp32h2/src/lp_wdt/config1.rs index 0e01ef69fe..3a4f508b69 100644 --- a/esp32h2/src/lp_wdt/config1.rs +++ b/esp32h2/src/lp_wdt/config1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_stg0_hold(&mut self) -> WDT_STG0_HOLD_W { WDT_STG0_HOLD_W::new(self, 0) } diff --git a/esp32h2/src/lp_wdt/config2.rs b/esp32h2/src/lp_wdt/config2.rs index dbf510b976..078f3eaf9d 100644 --- a/esp32h2/src/lp_wdt/config2.rs +++ b/esp32h2/src/lp_wdt/config2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_stg1_hold(&mut self) -> WDT_STG1_HOLD_W { WDT_STG1_HOLD_W::new(self, 0) } diff --git a/esp32h2/src/lp_wdt/config3.rs b/esp32h2/src/lp_wdt/config3.rs index 2830618142..54a3c3b522 100644 --- a/esp32h2/src/lp_wdt/config3.rs +++ b/esp32h2/src/lp_wdt/config3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_stg2_hold(&mut self) -> WDT_STG2_HOLD_W { WDT_STG2_HOLD_W::new(self, 0) } diff --git a/esp32h2/src/lp_wdt/config4.rs b/esp32h2/src/lp_wdt/config4.rs index 1c42d2046e..09101a6c69 100644 --- a/esp32h2/src/lp_wdt/config4.rs +++ b/esp32h2/src/lp_wdt/config4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_stg3_hold(&mut self) -> WDT_STG3_HOLD_W { WDT_STG3_HOLD_W::new(self, 0) } diff --git a/esp32h2/src/lp_wdt/config5.rs b/esp32h2/src/lp_wdt/config5.rs index e0c0bd1716..c2ae0a8a08 100644 --- a/esp32h2/src/lp_wdt/config5.rs +++ b/esp32h2/src/lp_wdt/config5.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - need_des"] #[inline(always)] - #[must_use] pub fn chip_reset_target(&mut self) -> CHIP_RESET_TARGET_W { CHIP_RESET_TARGET_W::new(self, 0) } #[doc = "Bit 8 - need_des"] #[inline(always)] - #[must_use] pub fn chip_reset_en(&mut self) -> CHIP_RESET_EN_W { CHIP_RESET_EN_W::new(self, 8) } #[doc = "Bits 9:16 - need_des"] #[inline(always)] - #[must_use] pub fn chip_reset_key(&mut self) -> CHIP_RESET_KEY_W { CHIP_RESET_KEY_W::new(self, 9) } diff --git a/esp32h2/src/lp_wdt/date.rs b/esp32h2/src/lp_wdt/date.rs index 1fdd983592..6f58884e74 100644 --- a/esp32h2/src/lp_wdt/date.rs +++ b/esp32h2/src/lp_wdt/date.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_wdt_date(&mut self) -> LP_WDT_DATE_W { LP_WDT_DATE_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32h2/src/lp_wdt/int_clr.rs b/esp32h2/src/lp_wdt/int_clr.rs index 73dd901f8b..44d08c9bdb 100644 --- a/esp32h2/src/lp_wdt/int_clr.rs +++ b/esp32h2/src/lp_wdt/int_clr.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn super_wdt(&mut self) -> SUPER_WDT_W { SUPER_WDT_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn wdt(&mut self) -> WDT_W { WDT_W::new(self, 31) } diff --git a/esp32h2/src/lp_wdt/int_ena.rs b/esp32h2/src/lp_wdt/int_ena.rs index 3a368372f1..2c64b71037 100644 --- a/esp32h2/src/lp_wdt/int_ena.rs +++ b/esp32h2/src/lp_wdt/int_ena.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn super_wdt(&mut self) -> SUPER_WDT_W { SUPER_WDT_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn wdt(&mut self) -> WDT_W { WDT_W::new(self, 31) } diff --git a/esp32h2/src/lp_wdt/int_raw.rs b/esp32h2/src/lp_wdt/int_raw.rs index 59439efb80..74294703d0 100644 --- a/esp32h2/src/lp_wdt/int_raw.rs +++ b/esp32h2/src/lp_wdt/int_raw.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn super_wdt(&mut self) -> SUPER_WDT_W { SUPER_WDT_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_wdt(&mut self) -> LP_WDT_W { LP_WDT_W::new(self, 31) } diff --git a/esp32h2/src/lp_wdt/swd_conf.rs b/esp32h2/src/lp_wdt/swd_conf.rs index 3922ed576f..979f435d45 100644 --- a/esp32h2/src/lp_wdt/swd_conf.rs +++ b/esp32h2/src/lp_wdt/swd_conf.rs @@ -56,31 +56,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 18 - need_des"] #[inline(always)] - #[must_use] pub fn swd_auto_feed_en(&mut self) -> SWD_AUTO_FEED_EN_W { SWD_AUTO_FEED_EN_W::new(self, 18) } #[doc = "Bit 19 - need_des"] #[inline(always)] - #[must_use] pub fn swd_rst_flag_clr(&mut self) -> SWD_RST_FLAG_CLR_W { SWD_RST_FLAG_CLR_W::new(self, 19) } #[doc = "Bits 20:29 - need_des"] #[inline(always)] - #[must_use] pub fn swd_signal_width(&mut self) -> SWD_SIGNAL_WIDTH_W { SWD_SIGNAL_WIDTH_W::new(self, 20) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn swd_disable(&mut self) -> SWD_DISABLE_W { SWD_DISABLE_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn swd_feed(&mut self) -> SWD_FEED_W { SWD_FEED_W::new(self, 31) } diff --git a/esp32h2/src/lp_wdt/swd_wprotect.rs b/esp32h2/src/lp_wdt/swd_wprotect.rs index a1608c1c33..d544b5d85c 100644 --- a/esp32h2/src/lp_wdt/swd_wprotect.rs +++ b/esp32h2/src/lp_wdt/swd_wprotect.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn swd_wkey(&mut self) -> SWD_WKEY_W { SWD_WKEY_W::new(self, 0) } diff --git a/esp32h2/src/lp_wdt/wdtconfig0.rs b/esp32h2/src/lp_wdt/wdtconfig0.rs index 2299530321..b888454c36 100644 --- a/esp32h2/src/lp_wdt/wdtconfig0.rs +++ b/esp32h2/src/lp_wdt/wdtconfig0.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 9 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_pause_in_slp(&mut self) -> WDT_PAUSE_IN_SLP_W { WDT_PAUSE_IN_SLP_W::new(self, 9) } #[doc = "Bit 10 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_appcpu_reset_en(&mut self) -> WDT_APPCPU_RESET_EN_W { WDT_APPCPU_RESET_EN_W::new(self, 10) } #[doc = "Bit 11 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_procpu_reset_en(&mut self) -> WDT_PROCPU_RESET_EN_W { WDT_PROCPU_RESET_EN_W::new(self, 11) } #[doc = "Bit 12 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_flashboot_mod_en(&mut self) -> WDT_FLASHBOOT_MOD_EN_W { WDT_FLASHBOOT_MOD_EN_W::new(self, 12) } #[doc = "Bits 13:15 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_sys_reset_length(&mut self) -> WDT_SYS_RESET_LENGTH_W { WDT_SYS_RESET_LENGTH_W::new(self, 13) } #[doc = "Bits 16:18 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_cpu_reset_length(&mut self) -> WDT_CPU_RESET_LENGTH_W { WDT_CPU_RESET_LENGTH_W::new(self, 16) } #[doc = "Bits 19:21 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_stg3(&mut self) -> WDT_STG3_W { WDT_STG3_W::new(self, 19) } #[doc = "Bits 22:24 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_stg2(&mut self) -> WDT_STG2_W { WDT_STG2_W::new(self, 22) } #[doc = "Bits 25:27 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_stg1(&mut self) -> WDT_STG1_W { WDT_STG1_W::new(self, 25) } #[doc = "Bits 28:30 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_stg0(&mut self) -> WDT_STG0_W { WDT_STG0_W::new(self, 28) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_en(&mut self) -> WDT_EN_W { WDT_EN_W::new(self, 31) } diff --git a/esp32h2/src/lp_wdt/wdtfeed.rs b/esp32h2/src/lp_wdt/wdtfeed.rs index 7ca3921077..ee8b41cb54 100644 --- a/esp32h2/src/lp_wdt/wdtfeed.rs +++ b/esp32h2/src/lp_wdt/wdtfeed.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_feed(&mut self) -> WDT_FEED_W { WDT_FEED_W::new(self, 31) } diff --git a/esp32h2/src/lp_wdt/wdtwprotect.rs b/esp32h2/src/lp_wdt/wdtwprotect.rs index 771dfb1c2e..dc523f6e36 100644 --- a/esp32h2/src/lp_wdt/wdtwprotect.rs +++ b/esp32h2/src/lp_wdt/wdtwprotect.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_wkey(&mut self) -> WDT_WKEY_W { WDT_WKEY_W::new(self, 0) } diff --git a/esp32h2/src/mcpwm0/cap_ch_cfg.rs b/esp32h2/src/mcpwm0/cap_ch_cfg.rs index 2eed80ddd9..2d665ef82f 100644 --- a/esp32h2/src/mcpwm0/cap_ch_cfg.rs +++ b/esp32h2/src/mcpwm0/cap_ch_cfg.rs @@ -56,31 +56,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - When set, capture on channel 0 is enabled"] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 0) } #[doc = "Bits 1:2 - Edge of capture on channel 0 after prescaling. When bit0 is set to 1: enable capture on the negative edge, When bit1 is set to 1: enable capture on the positive edge."] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 1) } #[doc = "Bits 3:10 - Value of prescaling on possitive edge of CAP0. Prescale value = PWM_CAP0_PRESCALE + 1"] #[inline(always)] - #[must_use] pub fn prescale(&mut self) -> PRESCALE_W { PRESCALE_W::new(self, 3) } #[doc = "Bit 11 - when set, CAP0 form GPIO matrix is inverted before prescale"] #[inline(always)] - #[must_use] pub fn in_invert(&mut self) -> IN_INVERT_W { IN_INVERT_W::new(self, 11) } #[doc = "Bit 12 - Write 1 will trigger a software forced capture on channel 0"] #[inline(always)] - #[must_use] pub fn sw(&mut self) -> SW_W { SW_W::new(self, 12) } diff --git a/esp32h2/src/mcpwm0/cap_timer_cfg.rs b/esp32h2/src/mcpwm0/cap_timer_cfg.rs index 8e72ed3fc1..da70d0e439 100644 --- a/esp32h2/src/mcpwm0/cap_timer_cfg.rs +++ b/esp32h2/src/mcpwm0/cap_timer_cfg.rs @@ -46,25 +46,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - When set, capture timer incrementing under APB_clk is enabled."] #[inline(always)] - #[must_use] pub fn cap_timer_en(&mut self) -> CAP_TIMER_EN_W { CAP_TIMER_EN_W::new(self, 0) } #[doc = "Bit 1 - When set, capture timer sync is enabled."] #[inline(always)] - #[must_use] pub fn cap_synci_en(&mut self) -> CAP_SYNCI_EN_W { CAP_SYNCI_EN_W::new(self, 1) } #[doc = "Bits 2:4 - capture module sync input selection. 0: none, 1: timer0 sync_out, 2: timer1 sync_out, 3: timer2 sync_out, 4: SYNC0 from GPIO matrix, 5: SYNC1 from GPIO matrix, 6: SYNC2 from GPIO matrix"] #[inline(always)] - #[must_use] pub fn cap_synci_sel(&mut self) -> CAP_SYNCI_SEL_W { CAP_SYNCI_SEL_W::new(self, 2) } #[doc = "Bit 5 - When reg_cap_synci_en is 1, write 1 will trigger a capture timer sync, capture timer is loaded with value in phase register."] #[inline(always)] - #[must_use] pub fn cap_sync_sw(&mut self) -> CAP_SYNC_SW_W { CAP_SYNC_SW_W::new(self, 5) } diff --git a/esp32h2/src/mcpwm0/cap_timer_phase.rs b/esp32h2/src/mcpwm0/cap_timer_phase.rs index bfe38b6fbd..128ee1214f 100644 --- a/esp32h2/src/mcpwm0/cap_timer_phase.rs +++ b/esp32h2/src/mcpwm0/cap_timer_phase.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Phase value for capture timer sync operation."] #[inline(always)] - #[must_use] pub fn cap_phase(&mut self) -> CAP_PHASE_W { CAP_PHASE_W::new(self, 0) } diff --git a/esp32h2/src/mcpwm0/ch.rs b/esp32h2/src/mcpwm0/ch.rs index 6a03507a90..cca1144c96 100644 --- a/esp32h2/src/mcpwm0/ch.rs +++ b/esp32h2/src/mcpwm0/ch.rs @@ -43,6 +43,8 @@ impl CH { &self.gen_force } #[doc = "0x14..0x1c - Actions triggered by events on PWMx%s"] + #[doc = ""] + #[doc = "
`n` is the index of register in the array. `n == 0` corresponds to `GENA` register.
"] #[inline(always)] pub const fn gen(&self, n: usize) -> &GEN { &self.gen[n] diff --git a/esp32h2/src/mcpwm0/ch/carrier_cfg.rs b/esp32h2/src/mcpwm0/ch/carrier_cfg.rs index fdd03b796e..6293ba64a0 100644 --- a/esp32h2/src/mcpwm0/ch/carrier_cfg.rs +++ b/esp32h2/src/mcpwm0/ch/carrier_cfg.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - When set, carrier0 function is enabled. When cleared, carrier0 is bypassed"] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 0) } #[doc = "Bits 1:4 - PWM carrier0 clock (PC_clk) prescale value. Period of PC_clk = period of PWM_clk * (PWM_CARRIER0_PRESCALE + 1)"] #[inline(always)] - #[must_use] pub fn prescale(&mut self) -> PRESCALE_W { PRESCALE_W::new(self, 1) } #[doc = "Bits 5:7 - carrier duty selection. Duty = PWM_CARRIER0_DUTY / 8"] #[inline(always)] - #[must_use] pub fn duty(&mut self) -> DUTY_W { DUTY_W::new(self, 5) } #[doc = "Bits 8:11 - width of the first pulse in number of periods of the carrier"] #[inline(always)] - #[must_use] pub fn oshtwth(&mut self) -> OSHTWTH_W { OSHTWTH_W::new(self, 8) } #[doc = "Bit 12 - when set, invert the output of PWM0A and PWM0B for this submodule"] #[inline(always)] - #[must_use] pub fn out_invert(&mut self) -> OUT_INVERT_W { OUT_INVERT_W::new(self, 12) } #[doc = "Bit 13 - when set, invert the input of PWM0A and PWM0B for this submodule"] #[inline(always)] - #[must_use] pub fn in_invert(&mut self) -> IN_INVERT_W { IN_INVERT_W::new(self, 13) } diff --git a/esp32h2/src/mcpwm0/ch/dt_cfg.rs b/esp32h2/src/mcpwm0/ch/dt_cfg.rs index 4da37a2f86..7720b26f22 100644 --- a/esp32h2/src/mcpwm0/ch/dt_cfg.rs +++ b/esp32h2/src/mcpwm0/ch/dt_cfg.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Update method for FED (rising edge delay) active register. 0: immediate, when bit0 is set to 1: tez, when bit1 is set to 1:tep, when bit2 is set to 1: sync, when bit3 is set to 1: disable the update"] #[inline(always)] - #[must_use] pub fn fed_upmethod(&mut self) -> FED_UPMETHOD_W { FED_UPMETHOD_W::new(self, 0) } #[doc = "Bits 4:7 - Update method for RED (rising edge delay) active register. 0: immediate, when bit0 is set to 1: tez, when bit1 is set to 1:tep, when bit2 is set to 1: sync, when bit3 is set to 1: disable the update"] #[inline(always)] - #[must_use] pub fn red_upmethod(&mut self) -> RED_UPMETHOD_W { RED_UPMETHOD_W::new(self, 4) } #[doc = "Bit 8 - S8 in table, dual-edge B mode, 0: fed/red take effect on different path separately, 1: fed/red take effect on B path, A out is in bypass or dulpB mode"] #[inline(always)] - #[must_use] pub fn deb_mode(&mut self) -> DEB_MODE_W { DEB_MODE_W::new(self, 8) } #[doc = "Bit 9 - S6 in table"] #[inline(always)] - #[must_use] pub fn a_outswap(&mut self) -> A_OUTSWAP_W { A_OUTSWAP_W::new(self, 9) } #[doc = "Bit 10 - S7 in table"] #[inline(always)] - #[must_use] pub fn b_outswap(&mut self) -> B_OUTSWAP_W { B_OUTSWAP_W::new(self, 10) } #[doc = "Bit 11 - S4 in table"] #[inline(always)] - #[must_use] pub fn red_insel(&mut self) -> RED_INSEL_W { RED_INSEL_W::new(self, 11) } #[doc = "Bit 12 - S5 in table"] #[inline(always)] - #[must_use] pub fn fed_insel(&mut self) -> FED_INSEL_W { FED_INSEL_W::new(self, 12) } #[doc = "Bit 13 - S2 in table"] #[inline(always)] - #[must_use] pub fn red_outinvert(&mut self) -> RED_OUTINVERT_W { RED_OUTINVERT_W::new(self, 13) } #[doc = "Bit 14 - S3 in table"] #[inline(always)] - #[must_use] pub fn fed_outinvert(&mut self) -> FED_OUTINVERT_W { FED_OUTINVERT_W::new(self, 14) } #[doc = "Bit 15 - S1 in table"] #[inline(always)] - #[must_use] pub fn a_outbypass(&mut self) -> A_OUTBYPASS_W { A_OUTBYPASS_W::new(self, 15) } #[doc = "Bit 16 - S0 in table"] #[inline(always)] - #[must_use] pub fn b_outbypass(&mut self) -> B_OUTBYPASS_W { B_OUTBYPASS_W::new(self, 16) } #[doc = "Bit 17 - Dead time generator 0 clock selection. 0: PWM_clk, 1: PT_clk"] #[inline(always)] - #[must_use] pub fn clk_sel(&mut self) -> CLK_SEL_W { CLK_SEL_W::new(self, 17) } diff --git a/esp32h2/src/mcpwm0/ch/dt_fed_cfg.rs b/esp32h2/src/mcpwm0/ch/dt_fed_cfg.rs index 38a431a3ce..8be890e070 100644 --- a/esp32h2/src/mcpwm0/ch/dt_fed_cfg.rs +++ b/esp32h2/src/mcpwm0/ch/dt_fed_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Shadow register for FED"] #[inline(always)] - #[must_use] pub fn fed(&mut self) -> FED_W { FED_W::new(self, 0) } diff --git a/esp32h2/src/mcpwm0/ch/dt_red_cfg.rs b/esp32h2/src/mcpwm0/ch/dt_red_cfg.rs index ebc0497725..e481461175 100644 --- a/esp32h2/src/mcpwm0/ch/dt_red_cfg.rs +++ b/esp32h2/src/mcpwm0/ch/dt_red_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Shadow register for RED"] #[inline(always)] - #[must_use] pub fn red(&mut self) -> RED_W { RED_W::new(self, 0) } diff --git a/esp32h2/src/mcpwm0/ch/fh_cfg0.rs b/esp32h2/src/mcpwm0/ch/fh_cfg0.rs index 9df4c2e778..dbe62afd74 100644 --- a/esp32h2/src/mcpwm0/ch/fh_cfg0.rs +++ b/esp32h2/src/mcpwm0/ch/fh_cfg0.rs @@ -174,97 +174,81 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Enable register for software force cycle-by-cycle mode action. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn sw_cbc(&mut self) -> SW_CBC_W { SW_CBC_W::new(self, 0) } #[doc = "Bit 1 - event_f2 will trigger cycle-by-cycle mode action. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn f2_cbc(&mut self) -> F2_CBC_W { F2_CBC_W::new(self, 1) } #[doc = "Bit 2 - event_f1 will trigger cycle-by-cycle mode action. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn f1_cbc(&mut self) -> F1_CBC_W { F1_CBC_W::new(self, 2) } #[doc = "Bit 3 - event_f0 will trigger cycle-by-cycle mode action. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn f0_cbc(&mut self) -> F0_CBC_W { F0_CBC_W::new(self, 3) } #[doc = "Bit 4 - Enable register for software force one-shot mode action. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn sw_ost(&mut self) -> SW_OST_W { SW_OST_W::new(self, 4) } #[doc = "Bit 5 - event_f2 will trigger one-shot mode action. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn f2_ost(&mut self) -> F2_OST_W { F2_OST_W::new(self, 5) } #[doc = "Bit 6 - event_f1 will trigger one-shot mode action. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn f1_ost(&mut self) -> F1_OST_W { F1_OST_W::new(self, 6) } #[doc = "Bit 7 - event_f0 will trigger one-shot mode action. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn f0_ost(&mut self) -> F0_OST_W { F0_OST_W::new(self, 7) } #[doc = "Bits 8:9 - Cycle-by-cycle mode action on PWM0A when fault event occurs and timer is decreasing. 0: do nothing, 1: force low, 2: force high, 3: toggle"] #[inline(always)] - #[must_use] pub fn a_cbc_d(&mut self) -> A_CBC_D_W { A_CBC_D_W::new(self, 8) } #[doc = "Bits 10:11 - Cycle-by-cycle mode action on PWM0A when fault event occurs and timer is increasing. 0: do nothing, 1: force low, 2: force high, 3: toggle"] #[inline(always)] - #[must_use] pub fn a_cbc_u(&mut self) -> A_CBC_U_W { A_CBC_U_W::new(self, 10) } #[doc = "Bits 12:13 - One-shot mode action on PWM0A when fault event occurs and timer is decreasing. 0: do nothing, 1: force low, 2: force high, 3: toggle"] #[inline(always)] - #[must_use] pub fn a_ost_d(&mut self) -> A_OST_D_W { A_OST_D_W::new(self, 12) } #[doc = "Bits 14:15 - One-shot mode action on PWM0A when fault event occurs and timer is increasing. 0: do nothing, 1: force low, 2: force high, 3: toggle"] #[inline(always)] - #[must_use] pub fn a_ost_u(&mut self) -> A_OST_U_W { A_OST_U_W::new(self, 14) } #[doc = "Bits 16:17 - Cycle-by-cycle mode action on PWM0B when fault event occurs and timer is decreasing. 0: do nothing, 1: force low, 2: force high, 3: toggle"] #[inline(always)] - #[must_use] pub fn b_cbc_d(&mut self) -> B_CBC_D_W { B_CBC_D_W::new(self, 16) } #[doc = "Bits 18:19 - Cycle-by-cycle mode action on PWM0B when fault event occurs and timer is increasing. 0: do nothing,1: force low, 2: force high, 3: toggle"] #[inline(always)] - #[must_use] pub fn b_cbc_u(&mut self) -> B_CBC_U_W { B_CBC_U_W::new(self, 18) } #[doc = "Bits 20:21 - One-shot mode action on PWM0B when fault event occurs and timer is decreasing. 0: do nothing, 1: force low, 2: force high, 3: toggle"] #[inline(always)] - #[must_use] pub fn b_ost_d(&mut self) -> B_OST_D_W { B_OST_D_W::new(self, 20) } #[doc = "Bits 22:23 - One-shot mode action on PWM0B when fault event occurs and timer is increasing. 0: do nothing, 1: force low, 2: force high, 3: toggle"] #[inline(always)] - #[must_use] pub fn b_ost_u(&mut self) -> B_OST_U_W { B_OST_U_W::new(self, 22) } diff --git a/esp32h2/src/mcpwm0/ch/fh_cfg1.rs b/esp32h2/src/mcpwm0/ch/fh_cfg1.rs index aa12011432..59ddd93769 100644 --- a/esp32h2/src/mcpwm0/ch/fh_cfg1.rs +++ b/esp32h2/src/mcpwm0/ch/fh_cfg1.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - a rising edge will clear on going one-shot mode action"] #[inline(always)] - #[must_use] pub fn clr_ost(&mut self) -> CLR_OST_W { CLR_OST_W::new(self, 0) } #[doc = "Bits 1:2 - cycle-by-cycle mode action refresh moment selection. When bit0 is set to 1: TEZ, when bit1 is set to 1:TEP"] #[inline(always)] - #[must_use] pub fn cbcpulse(&mut self) -> CBCPULSE_W { CBCPULSE_W::new(self, 1) } #[doc = "Bit 3 - a toggle trigger a cycle-by-cycle mode action"] #[inline(always)] - #[must_use] pub fn force_cbc(&mut self) -> FORCE_CBC_W { FORCE_CBC_W::new(self, 3) } #[doc = "Bit 4 - a toggle (software negate its value) triggers a one-shot mode action"] #[inline(always)] - #[must_use] pub fn force_ost(&mut self) -> FORCE_OST_W { FORCE_OST_W::new(self, 4) } diff --git a/esp32h2/src/mcpwm0/ch/gen.rs b/esp32h2/src/mcpwm0/ch/gen.rs index 14cc231d33..86886c7611 100644 --- a/esp32h2/src/mcpwm0/ch/gen.rs +++ b/esp32h2/src/mcpwm0/ch/gen.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Action on PWM0A triggered by event TEZ when timer increasing"] #[inline(always)] - #[must_use] pub fn utez(&mut self) -> UTEZ_W { UTEZ_W::new(self, 0) } #[doc = "Bits 2:3 - Action on PWM0A triggered by event TEP when timer increasing"] #[inline(always)] - #[must_use] pub fn utep(&mut self) -> UTEP_W { UTEP_W::new(self, 2) } #[doc = "Bits 4:5 - Action on PWM0A triggered by event TEA when timer increasing"] #[inline(always)] - #[must_use] pub fn utea(&mut self) -> UTEA_W { UTEA_W::new(self, 4) } #[doc = "Bits 6:7 - Action on PWM0A triggered by event TEB when timer increasing"] #[inline(always)] - #[must_use] pub fn uteb(&mut self) -> UTEB_W { UTEB_W::new(self, 6) } #[doc = "Bits 8:9 - Action on PWM0A triggered by event_t0 when timer increasing"] #[inline(always)] - #[must_use] pub fn ut0(&mut self) -> UT0_W { UT0_W::new(self, 8) } #[doc = "Bits 10:11 - Action on PWM0A triggered by event_t1 when timer increasing"] #[inline(always)] - #[must_use] pub fn ut1(&mut self) -> UT1_W { UT1_W::new(self, 10) } #[doc = "Bits 12:13 - Action on PWM0A triggered by event TEZ when timer decreasing"] #[inline(always)] - #[must_use] pub fn dtez(&mut self) -> DTEZ_W { DTEZ_W::new(self, 12) } #[doc = "Bits 14:15 - Action on PWM0A triggered by event TEP when timer decreasing"] #[inline(always)] - #[must_use] pub fn dtep(&mut self) -> DTEP_W { DTEP_W::new(self, 14) } #[doc = "Bits 16:17 - Action on PWM0A triggered by event TEA when timer decreasing"] #[inline(always)] - #[must_use] pub fn dtea(&mut self) -> DTEA_W { DTEA_W::new(self, 16) } #[doc = "Bits 18:19 - Action on PWM0A triggered by event TEB when timer decreasing"] #[inline(always)] - #[must_use] pub fn dteb(&mut self) -> DTEB_W { DTEB_W::new(self, 18) } #[doc = "Bits 20:21 - Action on PWM0A triggered by event_t0 when timer decreasing"] #[inline(always)] - #[must_use] pub fn dt0(&mut self) -> DT0_W { DT0_W::new(self, 20) } #[doc = "Bits 22:23 - Action on PWM0A triggered by event_t1 when timer decreasing. 0: no change, 1: low, 2: high, 3: toggle"] #[inline(always)] - #[must_use] pub fn dt1(&mut self) -> DT1_W { DT1_W::new(self, 22) } diff --git a/esp32h2/src/mcpwm0/ch/gen_cfg0.rs b/esp32h2/src/mcpwm0/ch/gen_cfg0.rs index 71bd40db05..704df172cc 100644 --- a/esp32h2/src/mcpwm0/ch/gen_cfg0.rs +++ b/esp32h2/src/mcpwm0/ch/gen_cfg0.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Update method for PWM generator 0's active register of configuration. When all bits are set to 0: immediately, when bit0 is set to 1: TEZ, when bit1 is set to 1:TEP,when bit2 is set to 1:sync,when bit3 is set to 1:disable the update"] #[inline(always)] - #[must_use] pub fn cfg_upmethod(&mut self) -> CFG_UPMETHOD_W { CFG_UPMETHOD_W::new(self, 0) } #[doc = "Bits 4:6 - Source selection for PWM generator 0 event_t0, take effect immediately, 0: fault_event0, 1: fault_event1, 2: fault_event2, 3: sync_taken, 4: none"] #[inline(always)] - #[must_use] pub fn t0_sel(&mut self) -> T0_SEL_W { T0_SEL_W::new(self, 4) } #[doc = "Bits 7:9 - Source selection for PWM generator 0 event_t1, take effect immediately, 0: fault_event0, 1: fault_event1, 2: fault_event2, 3: sync_taken, 4: none"] #[inline(always)] - #[must_use] pub fn t1_sel(&mut self) -> T1_SEL_W { T1_SEL_W::new(self, 7) } diff --git a/esp32h2/src/mcpwm0/ch/gen_force.rs b/esp32h2/src/mcpwm0/ch/gen_force.rs index 752e3fbccb..2e358f06d7 100644 --- a/esp32h2/src/mcpwm0/ch/gen_force.rs +++ b/esp32h2/src/mcpwm0/ch/gen_force.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - Updating method for continuous software force of PWM generator0. When all bits are set to 0: immediately, when bit0 is set to 1: TEZ,,when bit1 is set to 1: TEP, when bit2 is set to 1: TEA, when bit3 is set to 1: TEB, when bit4 is set to 1: sync, when bit5 is set to 1: disable update. (TEA/B here and below means an event generated when the timer's value equals to that of register A/B.)"] #[inline(always)] - #[must_use] pub fn cntuforce_upmethod(&mut self) -> CNTUFORCE_UPMETHOD_W { CNTUFORCE_UPMETHOD_W::new(self, 0) } #[doc = "Bits 6:7 - Continuous software force mode for PWM0A. 0: disabled, 1: low, 2: high, 3: disabled"] #[inline(always)] - #[must_use] pub fn a_cntuforce_mode(&mut self) -> A_CNTUFORCE_MODE_W { A_CNTUFORCE_MODE_W::new(self, 6) } #[doc = "Bits 8:9 - Continuous software force mode for PWM0B. 0: disabled, 1: low, 2: high, 3: disabled"] #[inline(always)] - #[must_use] pub fn b_cntuforce_mode(&mut self) -> B_CNTUFORCE_MODE_W { B_CNTUFORCE_MODE_W::new(self, 8) } #[doc = "Bit 10 - Trigger of non-continuous immediate software-force event for PWM0A, a toggle will trigger a force event."] #[inline(always)] - #[must_use] pub fn a_nciforce(&mut self) -> A_NCIFORCE_W { A_NCIFORCE_W::new(self, 10) } #[doc = "Bits 11:12 - non-continuous immediate software force mode for PWM0A, 0: disabled, 1: low, 2: high, 3: disabled"] #[inline(always)] - #[must_use] pub fn a_nciforce_mode(&mut self) -> A_NCIFORCE_MODE_W { A_NCIFORCE_MODE_W::new(self, 11) } #[doc = "Bit 13 - Trigger of non-continuous immediate software-force event for PWM0B, a toggle will trigger a force event."] #[inline(always)] - #[must_use] pub fn b_nciforce(&mut self) -> B_NCIFORCE_W { B_NCIFORCE_W::new(self, 13) } #[doc = "Bits 14:15 - non-continuous immediate software force mode for PWM0B, 0: disabled, 1: low, 2: high, 3: disabled"] #[inline(always)] - #[must_use] pub fn b_nciforce_mode(&mut self) -> B_NCIFORCE_MODE_W { B_NCIFORCE_MODE_W::new(self, 14) } diff --git a/esp32h2/src/mcpwm0/ch/gen_stmp_cfg.rs b/esp32h2/src/mcpwm0/ch/gen_stmp_cfg.rs index 01ae2ef3e9..b6c42450ae 100644 --- a/esp32h2/src/mcpwm0/ch/gen_stmp_cfg.rs +++ b/esp32h2/src/mcpwm0/ch/gen_stmp_cfg.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Update method for PWM generator 0 time stamp A's active register. When all bits are set to 0: immediately, when bit0 is set to 1: TEZ, when bit1 is set to 1: TEP,when bit2 is set to 1: sync, when bit3 is set to 1: disable the update."] #[inline(always)] - #[must_use] pub fn a_upmethod(&mut self) -> A_UPMETHOD_W { A_UPMETHOD_W::new(self, 0) } #[doc = "Bits 4:7 - Update method for PWM generator 0 time stamp B's active register. When all bits are set to 0: immediately, when bit0 is set to 1: TEZ, when bit1 is set to 1: TEP,when bit2 is set to 1: sync, when bit3 is set to 1: disable the update."] #[inline(always)] - #[must_use] pub fn b_upmethod(&mut self) -> B_UPMETHOD_W { B_UPMETHOD_W::new(self, 4) } #[doc = "Bit 8 - Set and reset by hardware. If set, PWM generator 0 time stamp A's shadow reg is filled and waiting to be transferred to A's active reg. If cleared, A's active reg has been updated with shadow register latest value"] #[inline(always)] - #[must_use] pub fn a_shdw_full(&mut self) -> A_SHDW_FULL_W { A_SHDW_FULL_W::new(self, 8) } #[doc = "Bit 9 - Set and reset by hardware. If set, PWM generator 0 time stamp B's shadow reg is filled and waiting to be transferred to B's active reg. If cleared, B's active reg has been updated with shadow register latest value"] #[inline(always)] - #[must_use] pub fn b_shdw_full(&mut self) -> B_SHDW_FULL_W { B_SHDW_FULL_W::new(self, 9) } diff --git a/esp32h2/src/mcpwm0/ch/gen_tstmp_a.rs b/esp32h2/src/mcpwm0/ch/gen_tstmp_a.rs index 590d32157f..c53695b75d 100644 --- a/esp32h2/src/mcpwm0/ch/gen_tstmp_a.rs +++ b/esp32h2/src/mcpwm0/ch/gen_tstmp_a.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - PWM generator 0 time stamp A's shadow register"] #[inline(always)] - #[must_use] pub fn a(&mut self) -> A_W { A_W::new(self, 0) } diff --git a/esp32h2/src/mcpwm0/ch/gen_tstmp_b.rs b/esp32h2/src/mcpwm0/ch/gen_tstmp_b.rs index a3fd5194dd..469871e575 100644 --- a/esp32h2/src/mcpwm0/ch/gen_tstmp_b.rs +++ b/esp32h2/src/mcpwm0/ch/gen_tstmp_b.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - PWM generator 0 time stamp B's shadow register"] #[inline(always)] - #[must_use] pub fn b(&mut self) -> B_W { B_W::new(self, 0) } diff --git a/esp32h2/src/mcpwm0/clk.rs b/esp32h2/src/mcpwm0/clk.rs index c4670f574f..96b434258d 100644 --- a/esp32h2/src/mcpwm0/clk.rs +++ b/esp32h2/src/mcpwm0/clk.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Force clock on for this register file"] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 0) } diff --git a/esp32h2/src/mcpwm0/clk_cfg.rs b/esp32h2/src/mcpwm0/clk_cfg.rs index ed95a9e94d..a28c881f05 100644 --- a/esp32h2/src/mcpwm0/clk_cfg.rs +++ b/esp32h2/src/mcpwm0/clk_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Period of PWM_clk = 6.25ns * (PWM_CLK_PRESCALE + 1)"] #[inline(always)] - #[must_use] pub fn clk_prescale(&mut self) -> CLK_PRESCALE_W { CLK_PRESCALE_W::new(self, 0) } diff --git a/esp32h2/src/mcpwm0/evt_en.rs b/esp32h2/src/mcpwm0/evt_en.rs index 7d34e41adf..dd88623e38 100644 --- a/esp32h2/src/mcpwm0/evt_en.rs +++ b/esp32h2/src/mcpwm0/evt_en.rs @@ -314,181 +314,151 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - set this bit high to enable timer0 stop event generate"] #[inline(always)] - #[must_use] pub fn evt_timer0_stop_en(&mut self) -> EVT_TIMER0_STOP_EN_W { EVT_TIMER0_STOP_EN_W::new(self, 0) } #[doc = "Bit 1 - set this bit high to enable timer1 stop event generate"] #[inline(always)] - #[must_use] pub fn evt_timer1_stop_en(&mut self) -> EVT_TIMER1_STOP_EN_W { EVT_TIMER1_STOP_EN_W::new(self, 1) } #[doc = "Bit 2 - set this bit high to enable timer2 stop event generate"] #[inline(always)] - #[must_use] pub fn evt_timer2_stop_en(&mut self) -> EVT_TIMER2_STOP_EN_W { EVT_TIMER2_STOP_EN_W::new(self, 2) } #[doc = "Bit 3 - set this bit high to enable timer0 equal zero event generate"] #[inline(always)] - #[must_use] pub fn evt_timer0_tez_en(&mut self) -> EVT_TIMER0_TEZ_EN_W { EVT_TIMER0_TEZ_EN_W::new(self, 3) } #[doc = "Bit 4 - set this bit high to enable timer1 equal zero event generate"] #[inline(always)] - #[must_use] pub fn evt_timer1_tez_en(&mut self) -> EVT_TIMER1_TEZ_EN_W { EVT_TIMER1_TEZ_EN_W::new(self, 4) } #[doc = "Bit 5 - set this bit high to enable timer2 equal zero event generate"] #[inline(always)] - #[must_use] pub fn evt_timer2_tez_en(&mut self) -> EVT_TIMER2_TEZ_EN_W { EVT_TIMER2_TEZ_EN_W::new(self, 5) } #[doc = "Bit 6 - set this bit high to enable timer0 equal period event generate"] #[inline(always)] - #[must_use] pub fn evt_timer0_tep_en(&mut self) -> EVT_TIMER0_TEP_EN_W { EVT_TIMER0_TEP_EN_W::new(self, 6) } #[doc = "Bit 7 - set this bit high to enable timer1 equal period event generate"] #[inline(always)] - #[must_use] pub fn evt_timer1_tep_en(&mut self) -> EVT_TIMER1_TEP_EN_W { EVT_TIMER1_TEP_EN_W::new(self, 7) } #[doc = "Bit 8 - set this bit high to enable timer2 equal period event generate"] #[inline(always)] - #[must_use] pub fn evt_timer2_tep_en(&mut self) -> EVT_TIMER2_TEP_EN_W { EVT_TIMER2_TEP_EN_W::new(self, 8) } #[doc = "Bit 9 - set this bit high to enable PWM generator0 timer equal a event generate"] #[inline(always)] - #[must_use] pub fn evt_op0_tea_en(&mut self) -> EVT_OP0_TEA_EN_W { EVT_OP0_TEA_EN_W::new(self, 9) } #[doc = "Bit 10 - set this bit high to enable PWM generator1 timer equal a event generate"] #[inline(always)] - #[must_use] pub fn evt_op1_tea_en(&mut self) -> EVT_OP1_TEA_EN_W { EVT_OP1_TEA_EN_W::new(self, 10) } #[doc = "Bit 11 - set this bit high to enable PWM generator2 timer equal a event generate"] #[inline(always)] - #[must_use] pub fn evt_op2_tea_en(&mut self) -> EVT_OP2_TEA_EN_W { EVT_OP2_TEA_EN_W::new(self, 11) } #[doc = "Bit 12 - set this bit high to enable PWM generator0 timer equal b event generate"] #[inline(always)] - #[must_use] pub fn evt_op0_teb_en(&mut self) -> EVT_OP0_TEB_EN_W { EVT_OP0_TEB_EN_W::new(self, 12) } #[doc = "Bit 13 - set this bit high to enable PWM generator1 timer equal b event generate"] #[inline(always)] - #[must_use] pub fn evt_op1_teb_en(&mut self) -> EVT_OP1_TEB_EN_W { EVT_OP1_TEB_EN_W::new(self, 13) } #[doc = "Bit 14 - set this bit high to enable PWM generator2 timer equal b event generate"] #[inline(always)] - #[must_use] pub fn evt_op2_teb_en(&mut self) -> EVT_OP2_TEB_EN_W { EVT_OP2_TEB_EN_W::new(self, 14) } #[doc = "Bit 15 - set this bit high to enable fault0 event generate"] #[inline(always)] - #[must_use] pub fn evt_f0_en(&mut self) -> EVT_F0_EN_W { EVT_F0_EN_W::new(self, 15) } #[doc = "Bit 16 - set this bit high to enable fault1 event generate"] #[inline(always)] - #[must_use] pub fn evt_f1_en(&mut self) -> EVT_F1_EN_W { EVT_F1_EN_W::new(self, 16) } #[doc = "Bit 17 - set this bit high to enable fault2 event generate"] #[inline(always)] - #[must_use] pub fn evt_f2_en(&mut self) -> EVT_F2_EN_W { EVT_F2_EN_W::new(self, 17) } #[doc = "Bit 18 - set this bit high to enable fault0 clear event generate"] #[inline(always)] - #[must_use] pub fn evt_f0_clr_en(&mut self) -> EVT_F0_CLR_EN_W { EVT_F0_CLR_EN_W::new(self, 18) } #[doc = "Bit 19 - set this bit high to enable fault1 clear event generate"] #[inline(always)] - #[must_use] pub fn evt_f1_clr_en(&mut self) -> EVT_F1_CLR_EN_W { EVT_F1_CLR_EN_W::new(self, 19) } #[doc = "Bit 20 - set this bit high to enable fault2 clear event generate"] #[inline(always)] - #[must_use] pub fn evt_f2_clr_en(&mut self) -> EVT_F2_CLR_EN_W { EVT_F2_CLR_EN_W::new(self, 20) } #[doc = "Bit 21 - set this bit high to enable cycle by cycle trip0 event generate"] #[inline(always)] - #[must_use] pub fn evt_tz0_cbc_en(&mut self) -> EVT_TZ0_CBC_EN_W { EVT_TZ0_CBC_EN_W::new(self, 21) } #[doc = "Bit 22 - set this bit high to enable cycle by cycle trip1 event generate"] #[inline(always)] - #[must_use] pub fn evt_tz1_cbc_en(&mut self) -> EVT_TZ1_CBC_EN_W { EVT_TZ1_CBC_EN_W::new(self, 22) } #[doc = "Bit 23 - set this bit high to enable cycle by cycle trip2 event generate"] #[inline(always)] - #[must_use] pub fn evt_tz2_cbc_en(&mut self) -> EVT_TZ2_CBC_EN_W { EVT_TZ2_CBC_EN_W::new(self, 23) } #[doc = "Bit 24 - set this bit high to enable one shot trip0 event generate"] #[inline(always)] - #[must_use] pub fn evt_tz0_ost_en(&mut self) -> EVT_TZ0_OST_EN_W { EVT_TZ0_OST_EN_W::new(self, 24) } #[doc = "Bit 25 - set this bit high to enable one shot trip1 event generate"] #[inline(always)] - #[must_use] pub fn evt_tz1_ost_en(&mut self) -> EVT_TZ1_OST_EN_W { EVT_TZ1_OST_EN_W::new(self, 25) } #[doc = "Bit 26 - set this bit high to enable one shot trip2 event generate"] #[inline(always)] - #[must_use] pub fn evt_tz2_ost_en(&mut self) -> EVT_TZ2_OST_EN_W { EVT_TZ2_OST_EN_W::new(self, 26) } #[doc = "Bit 27 - set this bit high to enable capture0 event generate"] #[inline(always)] - #[must_use] pub fn evt_cap0_en(&mut self) -> EVT_CAP0_EN_W { EVT_CAP0_EN_W::new(self, 27) } #[doc = "Bit 28 - set this bit high to enable capture1 event generate"] #[inline(always)] - #[must_use] pub fn evt_cap1_en(&mut self) -> EVT_CAP1_EN_W { EVT_CAP1_EN_W::new(self, 28) } #[doc = "Bit 29 - set this bit high to enable capture2 event generate"] #[inline(always)] - #[must_use] pub fn evt_cap2_en(&mut self) -> EVT_CAP2_EN_W { EVT_CAP2_EN_W::new(self, 29) } diff --git a/esp32h2/src/mcpwm0/fault_detect.rs b/esp32h2/src/mcpwm0/fault_detect.rs index a8284997cc..774c7e5f2f 100644 --- a/esp32h2/src/mcpwm0/fault_detect.rs +++ b/esp32h2/src/mcpwm0/fault_detect.rs @@ -98,37 +98,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - When set, event_f0 generation is enabled"] #[inline(always)] - #[must_use] pub fn f0_en(&mut self) -> F0_EN_W { F0_EN_W::new(self, 0) } #[doc = "Bit 1 - When set, event_f1 generation is enabled"] #[inline(always)] - #[must_use] pub fn f1_en(&mut self) -> F1_EN_W { F1_EN_W::new(self, 1) } #[doc = "Bit 2 - When set, event_f2 generation is enabled"] #[inline(always)] - #[must_use] pub fn f2_en(&mut self) -> F2_EN_W { F2_EN_W::new(self, 2) } #[doc = "Bit 3 - Set event_f0 trigger polarity on FAULT2 source from GPIO matrix. 0: level low, 1: level high"] #[inline(always)] - #[must_use] pub fn f0_pole(&mut self) -> F0_POLE_W { F0_POLE_W::new(self, 3) } #[doc = "Bit 4 - Set event_f1 trigger polarity on FAULT2 source from GPIO matrix. 0: level low, 1: level high"] #[inline(always)] - #[must_use] pub fn f1_pole(&mut self) -> F1_POLE_W { F1_POLE_W::new(self, 4) } #[doc = "Bit 5 - Set event_f2 trigger polarity on FAULT2 source from GPIO matrix. 0: level low, 1: level high"] #[inline(always)] - #[must_use] pub fn f2_pole(&mut self) -> F2_POLE_W { F2_POLE_W::new(self, 5) } diff --git a/esp32h2/src/mcpwm0/int_clr.rs b/esp32h2/src/mcpwm0/int_clr.rs index 183623d7c7..14b6ef10dc 100644 --- a/esp32h2/src/mcpwm0/int_clr.rs +++ b/esp32h2/src/mcpwm0/int_clr.rs @@ -69,181 +69,151 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the interrupt triggered when the timer 0 stops."] #[inline(always)] - #[must_use] pub fn timer0_stop(&mut self) -> TIMER0_STOP_W { TIMER0_STOP_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the interrupt triggered when the timer 1 stops."] #[inline(always)] - #[must_use] pub fn timer1_stop(&mut self) -> TIMER1_STOP_W { TIMER1_STOP_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the interrupt triggered when the timer 2 stops."] #[inline(always)] - #[must_use] pub fn timer2_stop(&mut self) -> TIMER2_STOP_W { TIMER2_STOP_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the interrupt triggered by a PWM timer 0 TEZ event."] #[inline(always)] - #[must_use] pub fn timer0_tez(&mut self) -> TIMER0_TEZ_W { TIMER0_TEZ_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear the interrupt triggered by a PWM timer 1 TEZ event."] #[inline(always)] - #[must_use] pub fn timer1_tez(&mut self) -> TIMER1_TEZ_W { TIMER1_TEZ_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the interrupt triggered by a PWM timer 2 TEZ event."] #[inline(always)] - #[must_use] pub fn timer2_tez(&mut self) -> TIMER2_TEZ_W { TIMER2_TEZ_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the interrupt triggered by a PWM timer 0 TEP event."] #[inline(always)] - #[must_use] pub fn timer0_tep(&mut self) -> TIMER0_TEP_W { TIMER0_TEP_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the interrupt triggered by a PWM timer 1 TEP event."] #[inline(always)] - #[must_use] pub fn timer1_tep(&mut self) -> TIMER1_TEP_W { TIMER1_TEP_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the interrupt triggered by a PWM timer 2 TEP event."] #[inline(always)] - #[must_use] pub fn timer2_tep(&mut self) -> TIMER2_TEP_W { TIMER2_TEP_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear the interrupt triggered when event_f0 starts."] #[inline(always)] - #[must_use] pub fn fault0(&mut self) -> FAULT0_W { FAULT0_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to clear the interrupt triggered when event_f1 starts."] #[inline(always)] - #[must_use] pub fn fault1(&mut self) -> FAULT1_W { FAULT1_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear the interrupt triggered when event_f2 starts."] #[inline(always)] - #[must_use] pub fn fault2(&mut self) -> FAULT2_W { FAULT2_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to clear the interrupt triggered when event_f0 ends."] #[inline(always)] - #[must_use] pub fn fault0_clr(&mut self) -> FAULT0_CLR_W { FAULT0_CLR_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to clear the interrupt triggered when event_f1 ends."] #[inline(always)] - #[must_use] pub fn fault1_clr(&mut self) -> FAULT1_CLR_W { FAULT1_CLR_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to clear the interrupt triggered when event_f2 ends."] #[inline(always)] - #[must_use] pub fn fault2_clr(&mut self) -> FAULT2_CLR_W { FAULT2_CLR_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to clear the interrupt triggered by a PWM operator 0 TEA event"] #[inline(always)] - #[must_use] pub fn cmpr0_tea(&mut self) -> CMPR0_TEA_W { CMPR0_TEA_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to clear the interrupt triggered by a PWM operator 1 TEA event"] #[inline(always)] - #[must_use] pub fn cmpr1_tea(&mut self) -> CMPR1_TEA_W { CMPR1_TEA_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to clear the interrupt triggered by a PWM operator 2 TEA event"] #[inline(always)] - #[must_use] pub fn cmpr2_tea(&mut self) -> CMPR2_TEA_W { CMPR2_TEA_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to clear the interrupt triggered by a PWM operator 0 TEB event"] #[inline(always)] - #[must_use] pub fn cmpr0_teb(&mut self) -> CMPR0_TEB_W { CMPR0_TEB_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to clear the interrupt triggered by a PWM operator 1 TEB event"] #[inline(always)] - #[must_use] pub fn cmpr1_teb(&mut self) -> CMPR1_TEB_W { CMPR1_TEB_W::new(self, 19) } #[doc = "Bit 20 - Set this bit to clear the interrupt triggered by a PWM operator 2 TEB event"] #[inline(always)] - #[must_use] pub fn cmpr2_teb(&mut self) -> CMPR2_TEB_W { CMPR2_TEB_W::new(self, 20) } #[doc = "Bit 21 - Set this bit to clear the interrupt triggered by a cycle-by-cycle mode action on PWM0."] #[inline(always)] - #[must_use] pub fn tz0_cbc(&mut self) -> TZ0_CBC_W { TZ0_CBC_W::new(self, 21) } #[doc = "Bit 22 - Set this bit to clear the interrupt triggered by a cycle-by-cycle mode action on PWM1."] #[inline(always)] - #[must_use] pub fn tz1_cbc(&mut self) -> TZ1_CBC_W { TZ1_CBC_W::new(self, 22) } #[doc = "Bit 23 - Set this bit to clear the interrupt triggered by a cycle-by-cycle mode action on PWM2."] #[inline(always)] - #[must_use] pub fn tz2_cbc(&mut self) -> TZ2_CBC_W { TZ2_CBC_W::new(self, 23) } #[doc = "Bit 24 - Set this bit to clear the interrupt triggered by a one-shot mode action on PWM0."] #[inline(always)] - #[must_use] pub fn tz0_ost(&mut self) -> TZ0_OST_W { TZ0_OST_W::new(self, 24) } #[doc = "Bit 25 - Set this bit to clear the interrupt triggered by a one-shot mode action on PWM1."] #[inline(always)] - #[must_use] pub fn tz1_ost(&mut self) -> TZ1_OST_W { TZ1_OST_W::new(self, 25) } #[doc = "Bit 26 - Set this bit to clear the interrupt triggered by a one-shot mode action on PWM2."] #[inline(always)] - #[must_use] pub fn tz2_ost(&mut self) -> TZ2_OST_W { TZ2_OST_W::new(self, 26) } #[doc = "Bit 27 - Set this bit to clear the interrupt triggered by capture on channel 0."] #[inline(always)] - #[must_use] pub fn cap0(&mut self) -> CAP0_W { CAP0_W::new(self, 27) } #[doc = "Bit 28 - Set this bit to clear the interrupt triggered by capture on channel 1."] #[inline(always)] - #[must_use] pub fn cap1(&mut self) -> CAP1_W { CAP1_W::new(self, 28) } #[doc = "Bit 29 - Set this bit to clear the interrupt triggered by capture on channel 2."] #[inline(always)] - #[must_use] pub fn cap2(&mut self) -> CAP2_W { CAP2_W::new(self, 29) } diff --git a/esp32h2/src/mcpwm0/int_ena.rs b/esp32h2/src/mcpwm0/int_ena.rs index 7e6edb52ea..4dc8e3cb23 100644 --- a/esp32h2/src/mcpwm0/int_ena.rs +++ b/esp32h2/src/mcpwm0/int_ena.rs @@ -314,181 +314,151 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The enable bit for the interrupt triggered when the timer 0 stops."] #[inline(always)] - #[must_use] pub fn timer0_stop(&mut self) -> TIMER0_STOP_W { TIMER0_STOP_W::new(self, 0) } #[doc = "Bit 1 - The enable bit for the interrupt triggered when the timer 1 stops."] #[inline(always)] - #[must_use] pub fn timer1_stop(&mut self) -> TIMER1_STOP_W { TIMER1_STOP_W::new(self, 1) } #[doc = "Bit 2 - The enable bit for the interrupt triggered when the timer 2 stops."] #[inline(always)] - #[must_use] pub fn timer2_stop(&mut self) -> TIMER2_STOP_W { TIMER2_STOP_W::new(self, 2) } #[doc = "Bit 3 - The enable bit for the interrupt triggered by a PWM timer 0 TEZ event."] #[inline(always)] - #[must_use] pub fn timer0_tez(&mut self) -> TIMER0_TEZ_W { TIMER0_TEZ_W::new(self, 3) } #[doc = "Bit 4 - The enable bit for the interrupt triggered by a PWM timer 1 TEZ event."] #[inline(always)] - #[must_use] pub fn timer1_tez(&mut self) -> TIMER1_TEZ_W { TIMER1_TEZ_W::new(self, 4) } #[doc = "Bit 5 - The enable bit for the interrupt triggered by a PWM timer 2 TEZ event."] #[inline(always)] - #[must_use] pub fn timer2_tez(&mut self) -> TIMER2_TEZ_W { TIMER2_TEZ_W::new(self, 5) } #[doc = "Bit 6 - The enable bit for the interrupt triggered by a PWM timer 0 TEP event."] #[inline(always)] - #[must_use] pub fn timer0_tep(&mut self) -> TIMER0_TEP_W { TIMER0_TEP_W::new(self, 6) } #[doc = "Bit 7 - The enable bit for the interrupt triggered by a PWM timer 1 TEP event."] #[inline(always)] - #[must_use] pub fn timer1_tep(&mut self) -> TIMER1_TEP_W { TIMER1_TEP_W::new(self, 7) } #[doc = "Bit 8 - The enable bit for the interrupt triggered by a PWM timer 2 TEP event."] #[inline(always)] - #[must_use] pub fn timer2_tep(&mut self) -> TIMER2_TEP_W { TIMER2_TEP_W::new(self, 8) } #[doc = "Bit 9 - The enable bit for the interrupt triggered when event_f0 starts."] #[inline(always)] - #[must_use] pub fn fault0(&mut self) -> FAULT0_W { FAULT0_W::new(self, 9) } #[doc = "Bit 10 - The enable bit for the interrupt triggered when event_f1 starts."] #[inline(always)] - #[must_use] pub fn fault1(&mut self) -> FAULT1_W { FAULT1_W::new(self, 10) } #[doc = "Bit 11 - The enable bit for the interrupt triggered when event_f2 starts."] #[inline(always)] - #[must_use] pub fn fault2(&mut self) -> FAULT2_W { FAULT2_W::new(self, 11) } #[doc = "Bit 12 - The enable bit for the interrupt triggered when event_f0 ends."] #[inline(always)] - #[must_use] pub fn fault0_clr(&mut self) -> FAULT0_CLR_W { FAULT0_CLR_W::new(self, 12) } #[doc = "Bit 13 - The enable bit for the interrupt triggered when event_f1 ends."] #[inline(always)] - #[must_use] pub fn fault1_clr(&mut self) -> FAULT1_CLR_W { FAULT1_CLR_W::new(self, 13) } #[doc = "Bit 14 - The enable bit for the interrupt triggered when event_f2 ends."] #[inline(always)] - #[must_use] pub fn fault2_clr(&mut self) -> FAULT2_CLR_W { FAULT2_CLR_W::new(self, 14) } #[doc = "Bit 15 - The enable bit for the interrupt triggered by a PWM operator 0 TEA event"] #[inline(always)] - #[must_use] pub fn cmpr0_tea(&mut self) -> CMPR0_TEA_W { CMPR0_TEA_W::new(self, 15) } #[doc = "Bit 16 - The enable bit for the interrupt triggered by a PWM operator 1 TEA event"] #[inline(always)] - #[must_use] pub fn cmpr1_tea(&mut self) -> CMPR1_TEA_W { CMPR1_TEA_W::new(self, 16) } #[doc = "Bit 17 - The enable bit for the interrupt triggered by a PWM operator 2 TEA event"] #[inline(always)] - #[must_use] pub fn cmpr2_tea(&mut self) -> CMPR2_TEA_W { CMPR2_TEA_W::new(self, 17) } #[doc = "Bit 18 - The enable bit for the interrupt triggered by a PWM operator 0 TEB event"] #[inline(always)] - #[must_use] pub fn cmpr0_teb(&mut self) -> CMPR0_TEB_W { CMPR0_TEB_W::new(self, 18) } #[doc = "Bit 19 - The enable bit for the interrupt triggered by a PWM operator 1 TEB event"] #[inline(always)] - #[must_use] pub fn cmpr1_teb(&mut self) -> CMPR1_TEB_W { CMPR1_TEB_W::new(self, 19) } #[doc = "Bit 20 - The enable bit for the interrupt triggered by a PWM operator 2 TEB event"] #[inline(always)] - #[must_use] pub fn cmpr2_teb(&mut self) -> CMPR2_TEB_W { CMPR2_TEB_W::new(self, 20) } #[doc = "Bit 21 - The enable bit for the interrupt triggered by a cycle-by-cycle mode action on PWM0."] #[inline(always)] - #[must_use] pub fn tz0_cbc(&mut self) -> TZ0_CBC_W { TZ0_CBC_W::new(self, 21) } #[doc = "Bit 22 - The enable bit for the interrupt triggered by a cycle-by-cycle mode action on PWM1."] #[inline(always)] - #[must_use] pub fn tz1_cbc(&mut self) -> TZ1_CBC_W { TZ1_CBC_W::new(self, 22) } #[doc = "Bit 23 - The enable bit for the interrupt triggered by a cycle-by-cycle mode action on PWM2."] #[inline(always)] - #[must_use] pub fn tz2_cbc(&mut self) -> TZ2_CBC_W { TZ2_CBC_W::new(self, 23) } #[doc = "Bit 24 - The enable bit for the interrupt triggered by a one-shot mode action on PWM0."] #[inline(always)] - #[must_use] pub fn tz0_ost(&mut self) -> TZ0_OST_W { TZ0_OST_W::new(self, 24) } #[doc = "Bit 25 - The enable bit for the interrupt triggered by a one-shot mode action on PWM1."] #[inline(always)] - #[must_use] pub fn tz1_ost(&mut self) -> TZ1_OST_W { TZ1_OST_W::new(self, 25) } #[doc = "Bit 26 - The enable bit for the interrupt triggered by a one-shot mode action on PWM2."] #[inline(always)] - #[must_use] pub fn tz2_ost(&mut self) -> TZ2_OST_W { TZ2_OST_W::new(self, 26) } #[doc = "Bit 27 - The enable bit for the interrupt triggered by capture on channel 0."] #[inline(always)] - #[must_use] pub fn cap0(&mut self) -> CAP0_W { CAP0_W::new(self, 27) } #[doc = "Bit 28 - The enable bit for the interrupt triggered by capture on channel 1."] #[inline(always)] - #[must_use] pub fn cap1(&mut self) -> CAP1_W { CAP1_W::new(self, 28) } #[doc = "Bit 29 - The enable bit for the interrupt triggered by capture on channel 2."] #[inline(always)] - #[must_use] pub fn cap2(&mut self) -> CAP2_W { CAP2_W::new(self, 29) } diff --git a/esp32h2/src/mcpwm0/int_raw.rs b/esp32h2/src/mcpwm0/int_raw.rs index 56632ef162..dfb1e4d34b 100644 --- a/esp32h2/src/mcpwm0/int_raw.rs +++ b/esp32h2/src/mcpwm0/int_raw.rs @@ -314,181 +314,151 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw status bit for the interrupt triggered when the timer 0 stops."] #[inline(always)] - #[must_use] pub fn timer0_stop(&mut self) -> TIMER0_STOP_W { TIMER0_STOP_W::new(self, 0) } #[doc = "Bit 1 - The raw status bit for the interrupt triggered when the timer 1 stops."] #[inline(always)] - #[must_use] pub fn timer1_stop(&mut self) -> TIMER1_STOP_W { TIMER1_STOP_W::new(self, 1) } #[doc = "Bit 2 - The raw status bit for the interrupt triggered when the timer 2 stops."] #[inline(always)] - #[must_use] pub fn timer2_stop(&mut self) -> TIMER2_STOP_W { TIMER2_STOP_W::new(self, 2) } #[doc = "Bit 3 - The raw status bit for the interrupt triggered by a PWM timer 0 TEZ event."] #[inline(always)] - #[must_use] pub fn timer0_tez(&mut self) -> TIMER0_TEZ_W { TIMER0_TEZ_W::new(self, 3) } #[doc = "Bit 4 - The raw status bit for the interrupt triggered by a PWM timer 1 TEZ event."] #[inline(always)] - #[must_use] pub fn timer1_tez(&mut self) -> TIMER1_TEZ_W { TIMER1_TEZ_W::new(self, 4) } #[doc = "Bit 5 - The raw status bit for the interrupt triggered by a PWM timer 2 TEZ event."] #[inline(always)] - #[must_use] pub fn timer2_tez(&mut self) -> TIMER2_TEZ_W { TIMER2_TEZ_W::new(self, 5) } #[doc = "Bit 6 - The raw status bit for the interrupt triggered by a PWM timer 0 TEP event."] #[inline(always)] - #[must_use] pub fn timer0_tep(&mut self) -> TIMER0_TEP_W { TIMER0_TEP_W::new(self, 6) } #[doc = "Bit 7 - The raw status bit for the interrupt triggered by a PWM timer 1 TEP event."] #[inline(always)] - #[must_use] pub fn timer1_tep(&mut self) -> TIMER1_TEP_W { TIMER1_TEP_W::new(self, 7) } #[doc = "Bit 8 - The raw status bit for the interrupt triggered by a PWM timer 2 TEP event."] #[inline(always)] - #[must_use] pub fn timer2_tep(&mut self) -> TIMER2_TEP_W { TIMER2_TEP_W::new(self, 8) } #[doc = "Bit 9 - The raw status bit for the interrupt triggered when event_f0 starts."] #[inline(always)] - #[must_use] pub fn fault0(&mut self) -> FAULT0_W { FAULT0_W::new(self, 9) } #[doc = "Bit 10 - The raw status bit for the interrupt triggered when event_f1 starts."] #[inline(always)] - #[must_use] pub fn fault1(&mut self) -> FAULT1_W { FAULT1_W::new(self, 10) } #[doc = "Bit 11 - The raw status bit for the interrupt triggered when event_f2 starts."] #[inline(always)] - #[must_use] pub fn fault2(&mut self) -> FAULT2_W { FAULT2_W::new(self, 11) } #[doc = "Bit 12 - The raw status bit for the interrupt triggered when event_f0 ends."] #[inline(always)] - #[must_use] pub fn fault0_clr(&mut self) -> FAULT0_CLR_W { FAULT0_CLR_W::new(self, 12) } #[doc = "Bit 13 - The raw status bit for the interrupt triggered when event_f1 ends."] #[inline(always)] - #[must_use] pub fn fault1_clr(&mut self) -> FAULT1_CLR_W { FAULT1_CLR_W::new(self, 13) } #[doc = "Bit 14 - The raw status bit for the interrupt triggered when event_f2 ends."] #[inline(always)] - #[must_use] pub fn fault2_clr(&mut self) -> FAULT2_CLR_W { FAULT2_CLR_W::new(self, 14) } #[doc = "Bit 15 - The raw status bit for the interrupt triggered by a PWM operator 0 TEA event"] #[inline(always)] - #[must_use] pub fn cmpr0_tea(&mut self) -> CMPR0_TEA_W { CMPR0_TEA_W::new(self, 15) } #[doc = "Bit 16 - The raw status bit for the interrupt triggered by a PWM operator 1 TEA event"] #[inline(always)] - #[must_use] pub fn cmpr1_tea(&mut self) -> CMPR1_TEA_W { CMPR1_TEA_W::new(self, 16) } #[doc = "Bit 17 - The raw status bit for the interrupt triggered by a PWM operator 2 TEA event"] #[inline(always)] - #[must_use] pub fn cmpr2_tea(&mut self) -> CMPR2_TEA_W { CMPR2_TEA_W::new(self, 17) } #[doc = "Bit 18 - The raw status bit for the interrupt triggered by a PWM operator 0 TEB event"] #[inline(always)] - #[must_use] pub fn cmpr0_teb(&mut self) -> CMPR0_TEB_W { CMPR0_TEB_W::new(self, 18) } #[doc = "Bit 19 - The raw status bit for the interrupt triggered by a PWM operator 1 TEB event"] #[inline(always)] - #[must_use] pub fn cmpr1_teb(&mut self) -> CMPR1_TEB_W { CMPR1_TEB_W::new(self, 19) } #[doc = "Bit 20 - The raw status bit for the interrupt triggered by a PWM operator 2 TEB event"] #[inline(always)] - #[must_use] pub fn cmpr2_teb(&mut self) -> CMPR2_TEB_W { CMPR2_TEB_W::new(self, 20) } #[doc = "Bit 21 - The raw status bit for the interrupt triggered by a cycle-by-cycle mode action on PWM0."] #[inline(always)] - #[must_use] pub fn tz0_cbc(&mut self) -> TZ0_CBC_W { TZ0_CBC_W::new(self, 21) } #[doc = "Bit 22 - The raw status bit for the interrupt triggered by a cycle-by-cycle mode action on PWM1."] #[inline(always)] - #[must_use] pub fn tz1_cbc(&mut self) -> TZ1_CBC_W { TZ1_CBC_W::new(self, 22) } #[doc = "Bit 23 - The raw status bit for the interrupt triggered by a cycle-by-cycle mode action on PWM2."] #[inline(always)] - #[must_use] pub fn tz2_cbc(&mut self) -> TZ2_CBC_W { TZ2_CBC_W::new(self, 23) } #[doc = "Bit 24 - The raw status bit for the interrupt triggered by a one-shot mode action on PWM0."] #[inline(always)] - #[must_use] pub fn tz0_ost(&mut self) -> TZ0_OST_W { TZ0_OST_W::new(self, 24) } #[doc = "Bit 25 - The raw status bit for the interrupt triggered by a one-shot mode action on PWM1."] #[inline(always)] - #[must_use] pub fn tz1_ost(&mut self) -> TZ1_OST_W { TZ1_OST_W::new(self, 25) } #[doc = "Bit 26 - The raw status bit for the interrupt triggered by a one-shot mode action on PWM2."] #[inline(always)] - #[must_use] pub fn tz2_ost(&mut self) -> TZ2_OST_W { TZ2_OST_W::new(self, 26) } #[doc = "Bit 27 - The raw status bit for the interrupt triggered by capture on channel 0."] #[inline(always)] - #[must_use] pub fn cap0(&mut self) -> CAP0_W { CAP0_W::new(self, 27) } #[doc = "Bit 28 - The raw status bit for the interrupt triggered by capture on channel 1."] #[inline(always)] - #[must_use] pub fn cap1(&mut self) -> CAP1_W { CAP1_W::new(self, 28) } #[doc = "Bit 29 - The raw status bit for the interrupt triggered by capture on channel 2."] #[inline(always)] - #[must_use] pub fn cap2(&mut self) -> CAP2_W { CAP2_W::new(self, 29) } diff --git a/esp32h2/src/mcpwm0/operator_timersel.rs b/esp32h2/src/mcpwm0/operator_timersel.rs index 7b6e102810..a78f548536 100644 --- a/esp32h2/src/mcpwm0/operator_timersel.rs +++ b/esp32h2/src/mcpwm0/operator_timersel.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Select which PWM timer's is the timing reference for PWM operator0, 0: timer0, 1: timer1, 2: timer2"] #[inline(always)] - #[must_use] pub fn operator0_timersel(&mut self) -> OPERATOR0_TIMERSEL_W { OPERATOR0_TIMERSEL_W::new(self, 0) } #[doc = "Bits 2:3 - Select which PWM timer's is the timing reference for PWM operator1, 0: timer0, 1: timer1, 2: timer2"] #[inline(always)] - #[must_use] pub fn operator1_timersel(&mut self) -> OPERATOR1_TIMERSEL_W { OPERATOR1_TIMERSEL_W::new(self, 2) } #[doc = "Bits 4:5 - Select which PWM timer's is the timing reference for PWM operator2, 0: timer0, 1: timer1, 2: timer2"] #[inline(always)] - #[must_use] pub fn operator2_timersel(&mut self) -> OPERATOR2_TIMERSEL_W { OPERATOR2_TIMERSEL_W::new(self, 4) } diff --git a/esp32h2/src/mcpwm0/task_en.rs b/esp32h2/src/mcpwm0/task_en.rs index 0b95f6c4f1..9b823dc032 100644 --- a/esp32h2/src/mcpwm0/task_en.rs +++ b/esp32h2/src/mcpwm0/task_en.rs @@ -234,133 +234,111 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - set this bit high to enable PWM generator0 timer stamp A's shadow register update task receive"] #[inline(always)] - #[must_use] pub fn task_cmpr0_a_up_en(&mut self) -> TASK_CMPR0_A_UP_EN_W { TASK_CMPR0_A_UP_EN_W::new(self, 0) } #[doc = "Bit 1 - set this bit high to enable PWM generator1 timer stamp A's shadow register update task receive"] #[inline(always)] - #[must_use] pub fn task_cmpr1_a_up_en(&mut self) -> TASK_CMPR1_A_UP_EN_W { TASK_CMPR1_A_UP_EN_W::new(self, 1) } #[doc = "Bit 2 - set this bit high to enable PWM generator2 timer stamp A's shadow register update task receive"] #[inline(always)] - #[must_use] pub fn task_cmpr2_a_up_en(&mut self) -> TASK_CMPR2_A_UP_EN_W { TASK_CMPR2_A_UP_EN_W::new(self, 2) } #[doc = "Bit 3 - set this bit high to enable PWM generator0 timer stamp B's shadow register update task receive"] #[inline(always)] - #[must_use] pub fn task_cmpr0_b_up_en(&mut self) -> TASK_CMPR0_B_UP_EN_W { TASK_CMPR0_B_UP_EN_W::new(self, 3) } #[doc = "Bit 4 - set this bit high to enable PWM generator1 timer stamp B's shadow register update task receive"] #[inline(always)] - #[must_use] pub fn task_cmpr1_b_up_en(&mut self) -> TASK_CMPR1_B_UP_EN_W { TASK_CMPR1_B_UP_EN_W::new(self, 4) } #[doc = "Bit 5 - set this bit high to enable PWM generator2 timer stamp B's shadow register update task receive"] #[inline(always)] - #[must_use] pub fn task_cmpr2_b_up_en(&mut self) -> TASK_CMPR2_B_UP_EN_W { TASK_CMPR2_B_UP_EN_W::new(self, 5) } #[doc = "Bit 6 - set this bit high to enable all PWM generate stop task receive"] #[inline(always)] - #[must_use] pub fn task_gen_stop_en(&mut self) -> TASK_GEN_STOP_EN_W { TASK_GEN_STOP_EN_W::new(self, 6) } #[doc = "Bit 7 - set this bit high to enable timer0 sync task receive"] #[inline(always)] - #[must_use] pub fn task_timer0_sync_en(&mut self) -> TASK_TIMER0_SYNC_EN_W { TASK_TIMER0_SYNC_EN_W::new(self, 7) } #[doc = "Bit 8 - set this bit high to enable timer1 sync task receive"] #[inline(always)] - #[must_use] pub fn task_timer1_sync_en(&mut self) -> TASK_TIMER1_SYNC_EN_W { TASK_TIMER1_SYNC_EN_W::new(self, 8) } #[doc = "Bit 9 - set this bit high to enable timer2 sync task receive"] #[inline(always)] - #[must_use] pub fn task_timer2_sync_en(&mut self) -> TASK_TIMER2_SYNC_EN_W { TASK_TIMER2_SYNC_EN_W::new(self, 9) } #[doc = "Bit 10 - set this bit high to enable timer0 period update task receive"] #[inline(always)] - #[must_use] pub fn task_timer0_period_up_en(&mut self) -> TASK_TIMER0_PERIOD_UP_EN_W { TASK_TIMER0_PERIOD_UP_EN_W::new(self, 10) } #[doc = "Bit 11 - set this bit high to enable timer1 period update task receive"] #[inline(always)] - #[must_use] pub fn task_timer1_period_up_en(&mut self) -> TASK_TIMER1_PERIOD_UP_EN_W { TASK_TIMER1_PERIOD_UP_EN_W::new(self, 11) } #[doc = "Bit 12 - set this bit high to enable timer2 period update task receive"] #[inline(always)] - #[must_use] pub fn task_timer2_period_up_en(&mut self) -> TASK_TIMER2_PERIOD_UP_EN_W { TASK_TIMER2_PERIOD_UP_EN_W::new(self, 12) } #[doc = "Bit 13 - set this bit high to enable one shot trip0 task receive"] #[inline(always)] - #[must_use] pub fn task_tz0_ost_en(&mut self) -> TASK_TZ0_OST_EN_W { TASK_TZ0_OST_EN_W::new(self, 13) } #[doc = "Bit 14 - set this bit high to enable one shot trip1 task receive"] #[inline(always)] - #[must_use] pub fn task_tz1_ost_en(&mut self) -> TASK_TZ1_OST_EN_W { TASK_TZ1_OST_EN_W::new(self, 14) } #[doc = "Bit 15 - set this bit high to enable one shot trip2 task receive"] #[inline(always)] - #[must_use] pub fn task_tz2_ost_en(&mut self) -> TASK_TZ2_OST_EN_W { TASK_TZ2_OST_EN_W::new(self, 15) } #[doc = "Bit 16 - set this bit high to enable one shot trip0 clear task receive"] #[inline(always)] - #[must_use] pub fn task_clr0_ost_en(&mut self) -> TASK_CLR0_OST_EN_W { TASK_CLR0_OST_EN_W::new(self, 16) } #[doc = "Bit 17 - set this bit high to enable one shot trip1 clear task receive"] #[inline(always)] - #[must_use] pub fn task_clr1_ost_en(&mut self) -> TASK_CLR1_OST_EN_W { TASK_CLR1_OST_EN_W::new(self, 17) } #[doc = "Bit 18 - set this bit high to enable one shot trip2 clear task receive"] #[inline(always)] - #[must_use] pub fn task_clr2_ost_en(&mut self) -> TASK_CLR2_OST_EN_W { TASK_CLR2_OST_EN_W::new(self, 18) } #[doc = "Bit 19 - set this bit high to enable capture0 task receive"] #[inline(always)] - #[must_use] pub fn task_cap0_en(&mut self) -> TASK_CAP0_EN_W { TASK_CAP0_EN_W::new(self, 19) } #[doc = "Bit 20 - set this bit high to enable capture1 task receive"] #[inline(always)] - #[must_use] pub fn task_cap1_en(&mut self) -> TASK_CAP1_EN_W { TASK_CAP1_EN_W::new(self, 20) } #[doc = "Bit 21 - set this bit high to enable capture2 task receive"] #[inline(always)] - #[must_use] pub fn task_cap2_en(&mut self) -> TASK_CAP2_EN_W { TASK_CAP2_EN_W::new(self, 21) } diff --git a/esp32h2/src/mcpwm0/timer/cfg0.rs b/esp32h2/src/mcpwm0/timer/cfg0.rs index 1a8215a1a5..c9709a150c 100644 --- a/esp32h2/src/mcpwm0/timer/cfg0.rs +++ b/esp32h2/src/mcpwm0/timer/cfg0.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - period of PT0_clk = Period of PWM_clk * (PWM_TIMER0_PRESCALE + 1)"] #[inline(always)] - #[must_use] pub fn prescale(&mut self) -> PRESCALE_W { PRESCALE_W::new(self, 0) } #[doc = "Bits 8:23 - period shadow register of PWM timer0"] #[inline(always)] - #[must_use] pub fn period(&mut self) -> PERIOD_W { PERIOD_W::new(self, 8) } #[doc = "Bits 24:25 - Update method for active register of PWM timer0 period, 0: immediate, 1: TEZ, 2: sync, 3: TEZ | sync. TEZ here and below means timer equal zero event"] #[inline(always)] - #[must_use] pub fn period_upmethod(&mut self) -> PERIOD_UPMETHOD_W { PERIOD_UPMETHOD_W::new(self, 24) } diff --git a/esp32h2/src/mcpwm0/timer/cfg1.rs b/esp32h2/src/mcpwm0/timer/cfg1.rs index 6130b98b09..383c708679 100644 --- a/esp32h2/src/mcpwm0/timer/cfg1.rs +++ b/esp32h2/src/mcpwm0/timer/cfg1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - PWM timer0 start and stop control. 0: if PWM timer0 starts, then stops at TEZ, 1: if timer0 starts, then stops at TEP, 2: PWM timer0 starts and runs on, 3: timer0 starts and stops at the next TEZ, 4: timer0 starts and stops at the next TEP. TEP here and below means the event that happens when the timer equals to period"] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 0) } #[doc = "Bits 3:4 - PWM timer0 working mode, 0: freeze, 1: increase mode, 2: decrease mode, 3: up-down mode"] #[inline(always)] - #[must_use] pub fn mod_(&mut self) -> MOD_W { MOD_W::new(self, 3) } diff --git a/esp32h2/src/mcpwm0/timer/sync.rs b/esp32h2/src/mcpwm0/timer/sync.rs index 7e328661c7..33493e13ce 100644 --- a/esp32h2/src/mcpwm0/timer/sync.rs +++ b/esp32h2/src/mcpwm0/timer/sync.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - When set, timer reloading with phase on sync input event is enabled."] #[inline(always)] - #[must_use] pub fn synci_en(&mut self) -> SYNCI_EN_W { SYNCI_EN_W::new(self, 0) } #[doc = "Bit 1 - Toggling this bit will trigger a software sync."] #[inline(always)] - #[must_use] pub fn sw(&mut self) -> SW_W { SW_W::new(self, 1) } #[doc = "Bits 2:3 - PWM timer0 sync_out selection, 0: sync_in, 1: TEZ, 2: TEP, and sync out will always generate when toggling the reg_timer0_sync_sw bit"] #[inline(always)] - #[must_use] pub fn synco_sel(&mut self) -> SYNCO_SEL_W { SYNCO_SEL_W::new(self, 2) } #[doc = "Bits 4:19 - phase for timer reload on sync event"] #[inline(always)] - #[must_use] pub fn phase(&mut self) -> PHASE_W { PHASE_W::new(self, 4) } #[doc = "Bit 20 - Configure the PWM timer0's direction when timer0 mode is up-down mode: 0-increase,1-decrease"] #[inline(always)] - #[must_use] pub fn phase_direction(&mut self) -> PHASE_DIRECTION_W { PHASE_DIRECTION_W::new(self, 20) } diff --git a/esp32h2/src/mcpwm0/timer_synci_cfg.rs b/esp32h2/src/mcpwm0/timer_synci_cfg.rs index 758cd1ba89..407f77e118 100644 --- a/esp32h2/src/mcpwm0/timer_synci_cfg.rs +++ b/esp32h2/src/mcpwm0/timer_synci_cfg.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - select sync input for PWM timer0, 1: PWM timer0 sync_out, 2: PWM timer1 sync_out, 3: PWM timer2 sync_out, 4: SYNC0 from GPIO matrix, 5: SYNC1 from GPIO matrix, 6: SYNC2 from GPIO matrix, other values: no sync input selected"] #[inline(always)] - #[must_use] pub fn timer0_syncisel(&mut self) -> TIMER0_SYNCISEL_W { TIMER0_SYNCISEL_W::new(self, 0) } #[doc = "Bits 3:5 - select sync input for PWM timer1, 1: PWM timer0 sync_out, 2: PWM timer1 sync_out, 3: PWM timer2 sync_out, 4: SYNC0 from GPIO matrix, 5: SYNC1 from GPIO matrix, 6: SYNC2 from GPIO matrix, other values: no sync input selected"] #[inline(always)] - #[must_use] pub fn timer1_syncisel(&mut self) -> TIMER1_SYNCISEL_W { TIMER1_SYNCISEL_W::new(self, 3) } #[doc = "Bits 6:8 - select sync input for PWM timer2, 1: PWM timer0 sync_out, 2: PWM timer1 sync_out, 3: PWM timer2 sync_out, 4: SYNC0 from GPIO matrix, 5: SYNC1 from GPIO matrix, 6: SYNC2 from GPIO matrix, other values: no sync input selected"] #[inline(always)] - #[must_use] pub fn timer2_syncisel(&mut self) -> TIMER2_SYNCISEL_W { TIMER2_SYNCISEL_W::new(self, 6) } #[doc = "Bit 9 - invert SYNC0 from GPIO matrix"] #[inline(always)] - #[must_use] pub fn external_synci0_invert(&mut self) -> EXTERNAL_SYNCI0_INVERT_W { EXTERNAL_SYNCI0_INVERT_W::new(self, 9) } #[doc = "Bit 10 - invert SYNC1 from GPIO matrix"] #[inline(always)] - #[must_use] pub fn external_synci1_invert(&mut self) -> EXTERNAL_SYNCI1_INVERT_W { EXTERNAL_SYNCI1_INVERT_W::new(self, 10) } #[doc = "Bit 11 - invert SYNC2 from GPIO matrix"] #[inline(always)] - #[must_use] pub fn external_synci2_invert(&mut self) -> EXTERNAL_SYNCI2_INVERT_W { EXTERNAL_SYNCI2_INVERT_W::new(self, 11) } diff --git a/esp32h2/src/mcpwm0/update_cfg.rs b/esp32h2/src/mcpwm0/update_cfg.rs index fd1ba718fb..c972b8a148 100644 --- a/esp32h2/src/mcpwm0/update_cfg.rs +++ b/esp32h2/src/mcpwm0/update_cfg.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The global enable of update of all active registers in MCPWM module"] #[inline(always)] - #[must_use] pub fn global_up_en(&mut self) -> GLOBAL_UP_EN_W { GLOBAL_UP_EN_W::new(self, 0) } #[doc = "Bit 1 - a toggle (software invert its value) will trigger a forced update of all active registers in MCPWM module"] #[inline(always)] - #[must_use] pub fn global_force_up(&mut self) -> GLOBAL_FORCE_UP_W { GLOBAL_FORCE_UP_W::new(self, 1) } #[doc = "Bit 2 - When set and PWM_GLOBAL_UP_EN is set, update of active registers in PWM operator 0 are enabled"] #[inline(always)] - #[must_use] pub fn op0_up_en(&mut self) -> OP0_UP_EN_W { OP0_UP_EN_W::new(self, 2) } #[doc = "Bit 3 - a toggle (software invert its value) will trigger a forced update of active registers in PWM operator 0"] #[inline(always)] - #[must_use] pub fn op0_force_up(&mut self) -> OP0_FORCE_UP_W { OP0_FORCE_UP_W::new(self, 3) } #[doc = "Bit 4 - When set and PWM_GLOBAL_UP_EN is set, update of active registers in PWM operator 1 are enabled"] #[inline(always)] - #[must_use] pub fn op1_up_en(&mut self) -> OP1_UP_EN_W { OP1_UP_EN_W::new(self, 4) } #[doc = "Bit 5 - a toggle (software invert its value) will trigger a forced update of active registers in PWM operator 1"] #[inline(always)] - #[must_use] pub fn op1_force_up(&mut self) -> OP1_FORCE_UP_W { OP1_FORCE_UP_W::new(self, 5) } #[doc = "Bit 6 - When set and PWM_GLOBAL_UP_EN is set, update of active registers in PWM operator 2 are enabled"] #[inline(always)] - #[must_use] pub fn op2_up_en(&mut self) -> OP2_UP_EN_W { OP2_UP_EN_W::new(self, 6) } #[doc = "Bit 7 - a toggle (software invert its value) will trigger a forced update of active registers in PWM operator 2"] #[inline(always)] - #[must_use] pub fn op2_force_up(&mut self) -> OP2_FORCE_UP_W { OP2_FORCE_UP_W::new(self, 7) } diff --git a/esp32h2/src/mcpwm0/version.rs b/esp32h2/src/mcpwm0/version.rs index 349ce95b49..e66e1c5527 100644 --- a/esp32h2/src/mcpwm0/version.rs +++ b/esp32h2/src/mcpwm0/version.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Version of this register file"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32h2/src/mem_monitor/clock_gate.rs b/esp32h2/src/mem_monitor/clock_gate.rs index 82e4559831..14a4abe7c3 100644 --- a/esp32h2/src/mem_monitor/clock_gate.rs +++ b/esp32h2/src/mem_monitor/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to force on the clk of mem_monitor register"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32h2/src/mem_monitor/date.rs b/esp32h2/src/mem_monitor/date.rs index 0f802fc801..846a74e1c0 100644 --- a/esp32h2/src/mem_monitor/date.rs +++ b/esp32h2/src/mem_monitor/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - version register"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32h2/src/mem_monitor/log_check_data.rs b/esp32h2/src/mem_monitor/log_check_data.rs index 767ae41bf4..d704afc2ea 100644 --- a/esp32h2/src/mem_monitor/log_check_data.rs +++ b/esp32h2/src/mem_monitor/log_check_data.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The special check data, when write this special data, it will trigger logging."] #[inline(always)] - #[must_use] pub fn log_check_data(&mut self) -> LOG_CHECK_DATA_W { LOG_CHECK_DATA_W::new(self, 0) } diff --git a/esp32h2/src/mem_monitor/log_data_mask.rs b/esp32h2/src/mem_monitor/log_data_mask.rs index c2732706fe..ecbf01e345 100644 --- a/esp32h2/src/mem_monitor/log_data_mask.rs +++ b/esp32h2/src/mem_monitor/log_data_mask.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - byte mask enable, BIT0 mask the first byte of MEM_MONITOR_LOG_CHECK_DATA, and BIT1 mask second byte, and so on."] #[inline(always)] - #[must_use] pub fn log_data_mask(&mut self) -> LOG_DATA_MASK_W { LOG_DATA_MASK_W::new(self, 0) } diff --git a/esp32h2/src/mem_monitor/log_max.rs b/esp32h2/src/mem_monitor/log_max.rs index 2821e33154..5b63d66b54 100644 --- a/esp32h2/src/mem_monitor/log_max.rs +++ b/esp32h2/src/mem_monitor/log_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - the max address of log range"] #[inline(always)] - #[must_use] pub fn log_max(&mut self) -> LOG_MAX_W { LOG_MAX_W::new(self, 0) } diff --git a/esp32h2/src/mem_monitor/log_mem_addr_update.rs b/esp32h2/src/mem_monitor/log_mem_addr_update.rs index cdf61f3a03..31b961c8ac 100644 --- a/esp32h2/src/mem_monitor/log_mem_addr_update.rs +++ b/esp32h2/src/mem_monitor/log_mem_addr_update.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set 1 to updata MEM_MONITOR_LOG_MEM_CURRENT_ADDR, when set 1, MEM_MONITOR_LOG_MEM_CURRENT_ADDR will update to MEM_MONITOR_LOG_MEM_START"] #[inline(always)] - #[must_use] pub fn log_mem_addr_update(&mut self) -> LOG_MEM_ADDR_UPDATE_W { LOG_MEM_ADDR_UPDATE_W::new(self, 0) } diff --git a/esp32h2/src/mem_monitor/log_mem_end.rs b/esp32h2/src/mem_monitor/log_mem_end.rs index 8571e23232..c5889d45c1 100644 --- a/esp32h2/src/mem_monitor/log_mem_end.rs +++ b/esp32h2/src/mem_monitor/log_mem_end.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - the end address of writing logging message"] #[inline(always)] - #[must_use] pub fn log_mem_end(&mut self) -> LOG_MEM_END_W { LOG_MEM_END_W::new(self, 0) } diff --git a/esp32h2/src/mem_monitor/log_mem_full_flag.rs b/esp32h2/src/mem_monitor/log_mem_full_flag.rs index efb9e5f3fe..dc3a355c23 100644 --- a/esp32h2/src/mem_monitor/log_mem_full_flag.rs +++ b/esp32h2/src/mem_monitor/log_mem_full_flag.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - Set 1 to clr MEM_MONITOR_LOG_MEM_FULL_FLAG"] #[inline(always)] - #[must_use] pub fn clr_log_mem_full_flag(&mut self) -> CLR_LOG_MEM_FULL_FLAG_W { CLR_LOG_MEM_FULL_FLAG_W::new(self, 1) } diff --git a/esp32h2/src/mem_monitor/log_mem_start.rs b/esp32h2/src/mem_monitor/log_mem_start.rs index 79655cf3d1..4e910a89ec 100644 --- a/esp32h2/src/mem_monitor/log_mem_start.rs +++ b/esp32h2/src/mem_monitor/log_mem_start.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - the start address of writing logging message"] #[inline(always)] - #[must_use] pub fn log_mem_start(&mut self) -> LOG_MEM_START_W { LOG_MEM_START_W::new(self, 0) } diff --git a/esp32h2/src/mem_monitor/log_min.rs b/esp32h2/src/mem_monitor/log_min.rs index 180a8cc4d1..6c45655f34 100644 --- a/esp32h2/src/mem_monitor/log_min.rs +++ b/esp32h2/src/mem_monitor/log_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - the min address of log range"] #[inline(always)] - #[must_use] pub fn log_min(&mut self) -> LOG_MIN_W { LOG_MIN_W::new(self, 0) } diff --git a/esp32h2/src/mem_monitor/log_setting.rs b/esp32h2/src/mem_monitor/log_setting.rs index a6f16efd69..f85753996c 100644 --- a/esp32h2/src/mem_monitor/log_setting.rs +++ b/esp32h2/src/mem_monitor/log_setting.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - enable bus log. BIT0: hp-cpu, BIT1: lp-cpu, BIT2: DMA.823 don't support lp-cpu"] #[inline(always)] - #[must_use] pub fn log_ena(&mut self) -> LOG_ENA_W { LOG_ENA_W::new(self, 0) } #[doc = "Bits 3:6 - This field must be onehot. 4'b0001 : WR monitor, 4'b0010: WORD monitor, 4'b0100: HALFWORD monitor, 4'b1000: BYTE monitor."] #[inline(always)] - #[must_use] pub fn log_mode(&mut self) -> LOG_MODE_W { LOG_MODE_W::new(self, 3) } #[doc = "Bit 7 - Set 1 enable mem_loop, it will loop write at the range of MEM_START and MEM_END"] #[inline(always)] - #[must_use] pub fn log_mem_loop_enable(&mut self) -> LOG_MEM_LOOP_ENABLE_W { LOG_MEM_LOOP_ENABLE_W::new(self, 7) } diff --git a/esp32h2/src/modem_lpcon/clk_conf.rs b/esp32h2/src/modem_lpcon/clk_conf.rs index bed124f746..6371bb4c9f 100644 --- a/esp32h2/src/modem_lpcon/clk_conf.rs +++ b/esp32h2/src/modem_lpcon/clk_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn clk_coex_en(&mut self) -> CLK_COEX_EN_W { CLK_COEX_EN_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn clk_i2c_mst_en(&mut self) -> CLK_I2C_MST_EN_W { CLK_I2C_MST_EN_W::new(self, 2) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn clk_fe_mem_en(&mut self) -> CLK_FE_MEM_EN_W { CLK_FE_MEM_EN_W::new(self, 5) } diff --git a/esp32h2/src/modem_lpcon/clk_conf_force_on.rs b/esp32h2/src/modem_lpcon/clk_conf_force_on.rs index 8c9c10d519..27984342c9 100644 --- a/esp32h2/src/modem_lpcon/clk_conf_force_on.rs +++ b/esp32h2/src/modem_lpcon/clk_conf_force_on.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn clk_coex_fo(&mut self) -> CLK_COEX_FO_W { CLK_COEX_FO_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn clk_i2c_mst_fo(&mut self) -> CLK_I2C_MST_FO_W { CLK_I2C_MST_FO_W::new(self, 2) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn clk_fe_mem_fo(&mut self) -> CLK_FE_MEM_FO_W { CLK_FE_MEM_FO_W::new(self, 5) } diff --git a/esp32h2/src/modem_lpcon/coex_lp_clk_conf.rs b/esp32h2/src/modem_lpcon/coex_lp_clk_conf.rs index 94b46ad956..4c7ba18c80 100644 --- a/esp32h2/src/modem_lpcon/coex_lp_clk_conf.rs +++ b/esp32h2/src/modem_lpcon/coex_lp_clk_conf.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn clk_coex_lp_sel_osc_slow( &mut self, ) -> CLK_COEX_LP_SEL_OSC_SLOW_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn clk_coex_lp_sel_osc_fast( &mut self, ) -> CLK_COEX_LP_SEL_OSC_FAST_W { @@ -80,19 +78,16 @@ impl W { } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn clk_coex_lp_sel_xtal(&mut self) -> CLK_COEX_LP_SEL_XTAL_W { CLK_COEX_LP_SEL_XTAL_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn clk_coex_lp_sel_xtal32k(&mut self) -> CLK_COEX_LP_SEL_XTAL32K_W { CLK_COEX_LP_SEL_XTAL32K_W::new(self, 3) } #[doc = "Bits 4:15"] #[inline(always)] - #[must_use] pub fn clk_coex_lp_div_num(&mut self) -> CLK_COEX_LP_DIV_NUM_W { CLK_COEX_LP_DIV_NUM_W::new(self, 4) } diff --git a/esp32h2/src/modem_lpcon/date.rs b/esp32h2/src/modem_lpcon/date.rs index f50bc6dca4..1c2acd8028 100644 --- a/esp32h2/src/modem_lpcon/date.rs +++ b/esp32h2/src/modem_lpcon/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32h2/src/modem_lpcon/mem_conf.rs b/esp32h2/src/modem_lpcon/mem_conf.rs index 62aa69740a..06009f0dbc 100644 --- a/esp32h2/src/modem_lpcon/mem_conf.rs +++ b/esp32h2/src/modem_lpcon/mem_conf.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn agc_mem_force_pu(&mut self) -> AGC_MEM_FORCE_PU_W { AGC_MEM_FORCE_PU_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn agc_mem_force_pd(&mut self) -> AGC_MEM_FORCE_PD_W { AGC_MEM_FORCE_PD_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn pbus_mem_force_pu(&mut self) -> PBUS_MEM_FORCE_PU_W { PBUS_MEM_FORCE_PU_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn pbus_mem_force_pd(&mut self) -> PBUS_MEM_FORCE_PD_W { PBUS_MEM_FORCE_PD_W::new(self, 5) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn i2c_mst_mem_force_pu(&mut self) -> I2C_MST_MEM_FORCE_PU_W { I2C_MST_MEM_FORCE_PU_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn i2c_mst_mem_force_pd(&mut self) -> I2C_MST_MEM_FORCE_PD_W { I2C_MST_MEM_FORCE_PD_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn chan_freq_mem_force_pu(&mut self) -> CHAN_FREQ_MEM_FORCE_PU_W { CHAN_FREQ_MEM_FORCE_PU_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn chan_freq_mem_force_pd(&mut self) -> CHAN_FREQ_MEM_FORCE_PD_W { CHAN_FREQ_MEM_FORCE_PD_W::new(self, 11) } #[doc = "Bits 12:14"] #[inline(always)] - #[must_use] pub fn modem_pwr_mem_wp(&mut self) -> MODEM_PWR_MEM_WP_W { MODEM_PWR_MEM_WP_W::new(self, 12) } #[doc = "Bits 15:17"] #[inline(always)] - #[must_use] pub fn modem_pwr_mem_wa(&mut self) -> MODEM_PWR_MEM_WA_W { MODEM_PWR_MEM_WA_W::new(self, 15) } #[doc = "Bits 18:19"] #[inline(always)] - #[must_use] pub fn modem_pwr_mem_ra(&mut self) -> MODEM_PWR_MEM_RA_W { MODEM_PWR_MEM_RA_W::new(self, 18) } #[doc = "Bits 20:23"] #[inline(always)] - #[must_use] pub fn modem_pwr_mem_rm(&mut self) -> MODEM_PWR_MEM_RM_W { MODEM_PWR_MEM_RM_W::new(self, 20) } diff --git a/esp32h2/src/modem_lpcon/rst_conf.rs b/esp32h2/src/modem_lpcon/rst_conf.rs index e60e2a965d..8624e1766b 100644 --- a/esp32h2/src/modem_lpcon/rst_conf.rs +++ b/esp32h2/src/modem_lpcon/rst_conf.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn rst_coex(&mut self) -> RST_COEX_W { RST_COEX_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn rst_i2c_mst(&mut self) -> RST_I2C_MST_W { RST_I2C_MST_W::new(self, 2) } diff --git a/esp32h2/src/modem_lpcon/test_conf.rs b/esp32h2/src/modem_lpcon/test_conf.rs index 8de0e0c3f5..bffccfbde6 100644 --- a/esp32h2/src/modem_lpcon/test_conf.rs +++ b/esp32h2/src/modem_lpcon/test_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32h2/src/modem_lpcon/tick_conf.rs b/esp32h2/src/modem_lpcon/tick_conf.rs index 25cf8e8b3a..ed4cb8b63b 100644 --- a/esp32h2/src/modem_lpcon/tick_conf.rs +++ b/esp32h2/src/modem_lpcon/tick_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5"] #[inline(always)] - #[must_use] pub fn pwr_tick_target(&mut self) -> PWR_TICK_TARGET_W { PWR_TICK_TARGET_W::new(self, 0) } diff --git a/esp32h2/src/modem_syscon/clk_conf.rs b/esp32h2/src/modem_syscon/clk_conf.rs index a9e0a90de4..a7010ad19b 100644 --- a/esp32h2/src/modem_syscon/clk_conf.rs +++ b/esp32h2/src/modem_syscon/clk_conf.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn clk_etm_en(&mut self) -> CLK_ETM_EN_W { CLK_ETM_EN_W::new(self, 21) } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn clk_zb_apb_en(&mut self) -> CLK_ZB_APB_EN_W { CLK_ZB_APB_EN_W::new(self, 22) } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn clk_zb_mac_en(&mut self) -> CLK_ZB_MAC_EN_W { CLK_ZB_MAC_EN_W::new(self, 23) } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn clk_modem_sec_ecb_en(&mut self) -> CLK_MODEM_SEC_ECB_EN_W { CLK_MODEM_SEC_ECB_EN_W::new(self, 24) } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn clk_modem_sec_ccm_en(&mut self) -> CLK_MODEM_SEC_CCM_EN_W { CLK_MODEM_SEC_CCM_EN_W::new(self, 25) } #[doc = "Bit 26"] #[inline(always)] - #[must_use] pub fn clk_modem_sec_bah_en(&mut self) -> CLK_MODEM_SEC_BAH_EN_W { CLK_MODEM_SEC_BAH_EN_W::new(self, 26) } #[doc = "Bit 27"] #[inline(always)] - #[must_use] pub fn clk_modem_sec_apb_en(&mut self) -> CLK_MODEM_SEC_APB_EN_W { CLK_MODEM_SEC_APB_EN_W::new(self, 27) } #[doc = "Bit 28"] #[inline(always)] - #[must_use] pub fn clk_modem_sec_en(&mut self) -> CLK_MODEM_SEC_EN_W { CLK_MODEM_SEC_EN_W::new(self, 28) } #[doc = "Bit 29"] #[inline(always)] - #[must_use] pub fn clk_ble_timer_apb_en(&mut self) -> CLK_BLE_TIMER_APB_EN_W { CLK_BLE_TIMER_APB_EN_W::new(self, 29) } #[doc = "Bit 30"] #[inline(always)] - #[must_use] pub fn clk_ble_timer_en(&mut self) -> CLK_BLE_TIMER_EN_W { CLK_BLE_TIMER_EN_W::new(self, 30) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn clk_data_dump_en(&mut self) -> CLK_DATA_DUMP_EN_W { CLK_DATA_DUMP_EN_W::new(self, 31) } diff --git a/esp32h2/src/modem_syscon/clk_conf1.rs b/esp32h2/src/modem_syscon/clk_conf1.rs index 5589aa22b2..c915a37a53 100644 --- a/esp32h2/src/modem_syscon/clk_conf1.rs +++ b/esp32h2/src/modem_syscon/clk_conf1.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn clk_fe_16m_en(&mut self) -> CLK_FE_16M_EN_W { CLK_FE_16M_EN_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn clk_fe_32m_en(&mut self) -> CLK_FE_32M_EN_W { CLK_FE_32M_EN_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn clk_fe_sdm_en(&mut self) -> CLK_FE_SDM_EN_W { CLK_FE_SDM_EN_W::new(self, 14) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn clk_fe_adc_en(&mut self) -> CLK_FE_ADC_EN_W { CLK_FE_ADC_EN_W::new(self, 15) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn clk_fe_apb_en(&mut self) -> CLK_FE_APB_EN_W { CLK_FE_APB_EN_W::new(self, 16) } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn clk_bt_apb_en(&mut self) -> CLK_BT_APB_EN_W { CLK_BT_APB_EN_W::new(self, 17) } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn clk_bt_en(&mut self) -> CLK_BT_EN_W { CLK_BT_EN_W::new(self, 18) } diff --git a/esp32h2/src/modem_syscon/clk_conf1_force_on.rs b/esp32h2/src/modem_syscon/clk_conf1_force_on.rs index 47d1058001..aacbf6123a 100644 --- a/esp32h2/src/modem_syscon/clk_conf1_force_on.rs +++ b/esp32h2/src/modem_syscon/clk_conf1_force_on.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn clk_fe_fo(&mut self) -> CLK_FE_FO_W { CLK_FE_FO_W::new(self, 16) } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn clk_bt_fo(&mut self) -> CLK_BT_FO_W { CLK_BT_FO_W::new(self, 18) } diff --git a/esp32h2/src/modem_syscon/clk_conf_force_on.rs b/esp32h2/src/modem_syscon/clk_conf_force_on.rs index e59fe58e32..456d9fd94c 100644 --- a/esp32h2/src/modem_syscon/clk_conf_force_on.rs +++ b/esp32h2/src/modem_syscon/clk_conf_force_on.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn clk_etm_fo(&mut self) -> CLK_ETM_FO_W { CLK_ETM_FO_W::new(self, 22) } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn clk_zb_fo(&mut self) -> CLK_ZB_FO_W { CLK_ZB_FO_W::new(self, 24) } #[doc = "Bit 29"] #[inline(always)] - #[must_use] pub fn clk_modem_sec_fo(&mut self) -> CLK_MODEM_SEC_FO_W { CLK_MODEM_SEC_FO_W::new(self, 29) } #[doc = "Bit 30"] #[inline(always)] - #[must_use] pub fn clk_ble_timer_fo(&mut self) -> CLK_BLE_TIMER_FO_W { CLK_BLE_TIMER_FO_W::new(self, 30) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn clk_data_dump_fo(&mut self) -> CLK_DATA_DUMP_FO_W { CLK_DATA_DUMP_FO_W::new(self, 31) } diff --git a/esp32h2/src/modem_syscon/date.rs b/esp32h2/src/modem_syscon/date.rs index aba6fcfead..477a46c220 100644 --- a/esp32h2/src/modem_syscon/date.rs +++ b/esp32h2/src/modem_syscon/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32h2/src/modem_syscon/mem_conf.rs b/esp32h2/src/modem_syscon/mem_conf.rs index 889ca908a8..8701d5e217 100644 --- a/esp32h2/src/modem_syscon/mem_conf.rs +++ b/esp32h2/src/modem_syscon/mem_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2"] #[inline(always)] - #[must_use] pub fn modem_mem_wp(&mut self) -> MODEM_MEM_WP_W { MODEM_MEM_WP_W::new(self, 0) } #[doc = "Bits 3:5"] #[inline(always)] - #[must_use] pub fn modem_mem_wa(&mut self) -> MODEM_MEM_WA_W { MODEM_MEM_WA_W::new(self, 3) } #[doc = "Bits 6:7"] #[inline(always)] - #[must_use] pub fn modem_mem_ra(&mut self) -> MODEM_MEM_RA_W { MODEM_MEM_RA_W::new(self, 6) } diff --git a/esp32h2/src/modem_syscon/modem_rst_conf.rs b/esp32h2/src/modem_syscon/modem_rst_conf.rs index a7607e3031..e8c4fa3a23 100644 --- a/esp32h2/src/modem_syscon/modem_rst_conf.rs +++ b/esp32h2/src/modem_syscon/modem_rst_conf.rs @@ -144,79 +144,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn rst_fe(&mut self) -> RST_FE_W { RST_FE_W::new(self, 14) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn rst_btmac_apb(&mut self) -> RST_BTMAC_APB_W { RST_BTMAC_APB_W::new(self, 15) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn rst_btmac(&mut self) -> RST_BTMAC_W { RST_BTMAC_W::new(self, 16) } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn rst_btbb_apb(&mut self) -> RST_BTBB_APB_W { RST_BTBB_APB_W::new(self, 17) } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn rst_btbb(&mut self) -> RST_BTBB_W { RST_BTBB_W::new(self, 18) } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn rst_etm(&mut self) -> RST_ETM_W { RST_ETM_W::new(self, 22) } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn rst_zbmac(&mut self) -> RST_ZBMAC_W { RST_ZBMAC_W::new(self, 24) } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn rst_modem_ecb(&mut self) -> RST_MODEM_ECB_W { RST_MODEM_ECB_W::new(self, 25) } #[doc = "Bit 26"] #[inline(always)] - #[must_use] pub fn rst_modem_ccm(&mut self) -> RST_MODEM_CCM_W { RST_MODEM_CCM_W::new(self, 26) } #[doc = "Bit 27"] #[inline(always)] - #[must_use] pub fn rst_modem_bah(&mut self) -> RST_MODEM_BAH_W { RST_MODEM_BAH_W::new(self, 27) } #[doc = "Bit 29"] #[inline(always)] - #[must_use] pub fn rst_modem_sec(&mut self) -> RST_MODEM_SEC_W { RST_MODEM_SEC_W::new(self, 29) } #[doc = "Bit 30"] #[inline(always)] - #[must_use] pub fn rst_ble_timer(&mut self) -> RST_BLE_TIMER_W { RST_BLE_TIMER_W::new(self, 30) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn rst_data_dump(&mut self) -> RST_DATA_DUMP_W { RST_DATA_DUMP_W::new(self, 31) } diff --git a/esp32h2/src/modem_syscon/test_conf.rs b/esp32h2/src/modem_syscon/test_conf.rs index 8de0e0c3f5..bffccfbde6 100644 --- a/esp32h2/src/modem_syscon/test_conf.rs +++ b/esp32h2/src/modem_syscon/test_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32h2/src/otp_debug/apb2otp_en.rs b/esp32h2/src/otp_debug/apb2otp_en.rs index 0c24f39b8b..377afe41d9 100644 --- a/esp32h2/src/otp_debug/apb2otp_en.rs +++ b/esp32h2/src/otp_debug/apb2otp_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Debug mode enable signal."] #[inline(always)] - #[must_use] pub fn apb2otp_en(&mut self) -> APB2OTP_EN_W { APB2OTP_EN_W::new(self, 0) } diff --git a/esp32h2/src/otp_debug/clk.rs b/esp32h2/src/otp_debug/clk.rs index 8bcdf540af..664da195c4 100644 --- a/esp32h2/src/otp_debug/clk.rs +++ b/esp32h2/src/otp_debug/clk.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Force clock on for this register file."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 0) } diff --git a/esp32h2/src/otp_debug/date.rs b/esp32h2/src/otp_debug/date.rs index 033a2f43ce..7624631d3d 100644 --- a/esp32h2/src/otp_debug/date.rs +++ b/esp32h2/src/otp_debug/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Stores otp_debug version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32h2/src/parl_io/clk.rs b/esp32h2/src/parl_io/clk.rs index 4b1a8218d6..0c21dcb00b 100644 --- a/esp32h2/src/parl_io/clk.rs +++ b/esp32h2/src/parl_io/clk.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - Force clock on for this register file"] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 31) } diff --git a/esp32h2/src/parl_io/fifo_cfg.rs b/esp32h2/src/parl_io/fifo_cfg.rs index 60e0dd6259..9d961657b2 100644 --- a/esp32h2/src/parl_io/fifo_cfg.rs +++ b/esp32h2/src/parl_io/fifo_cfg.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - Set this bit to reset async fifo in tx module."] #[inline(always)] - #[must_use] pub fn tx_fifo_srst(&mut self) -> TX_FIFO_SRST_W { TX_FIFO_SRST_W::new(self, 30) } #[doc = "Bit 31 - Set this bit to reset async fifo in rx module."] #[inline(always)] - #[must_use] pub fn rx_fifo_srst(&mut self) -> RX_FIFO_SRST_W { RX_FIFO_SRST_W::new(self, 31) } diff --git a/esp32h2/src/parl_io/int_clr.rs b/esp32h2/src/parl_io/int_clr.rs index 93b28d174a..4570e86dae 100644 --- a/esp32h2/src/parl_io/int_clr.rs +++ b/esp32h2/src/parl_io/int_clr.rs @@ -15,19 +15,16 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear TX_FIFO_REMPTY_INT."] #[inline(always)] - #[must_use] pub fn tx_fifo_rempty(&mut self) -> TX_FIFO_REMPTY_W { TX_FIFO_REMPTY_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear RX_FIFO_WOVF_INT."] #[inline(always)] - #[must_use] pub fn rx_fifo_wovf(&mut self) -> RX_FIFO_WOVF_W { RX_FIFO_WOVF_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear TX_EOF_INT."] #[inline(always)] - #[must_use] pub fn tx_eof(&mut self) -> TX_EOF_W { TX_EOF_W::new(self, 2) } diff --git a/esp32h2/src/parl_io/int_ena.rs b/esp32h2/src/parl_io/int_ena.rs index 37d9ca9963..08e3487235 100644 --- a/esp32h2/src/parl_io/int_ena.rs +++ b/esp32h2/src/parl_io/int_ena.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable TX_FIFO_REMPTY_INT."] #[inline(always)] - #[must_use] pub fn tx_fifo_rempty(&mut self) -> TX_FIFO_REMPTY_W { TX_FIFO_REMPTY_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to enable RX_FIFO_WOVF_INT."] #[inline(always)] - #[must_use] pub fn rx_fifo_wovf(&mut self) -> RX_FIFO_WOVF_W { RX_FIFO_WOVF_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to enable TX_EOF_INT."] #[inline(always)] - #[must_use] pub fn tx_eof(&mut self) -> TX_EOF_W { TX_EOF_W::new(self, 2) } diff --git a/esp32h2/src/parl_io/int_raw.rs b/esp32h2/src/parl_io/int_raw.rs index 9b35a9b7ad..f9f323bcb9 100644 --- a/esp32h2/src/parl_io/int_raw.rs +++ b/esp32h2/src/parl_io/int_raw.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw interrupt status of TX_FIFO_REMPTY_INT."] #[inline(always)] - #[must_use] pub fn tx_fifo_rempty(&mut self) -> TX_FIFO_REMPTY_W { TX_FIFO_REMPTY_W::new(self, 0) } #[doc = "Bit 1 - The raw interrupt status of RX_FIFO_WOVF_INT."] #[inline(always)] - #[must_use] pub fn rx_fifo_wovf(&mut self) -> RX_FIFO_WOVF_W { RX_FIFO_WOVF_W::new(self, 1) } #[doc = "Bit 2 - The raw interrupt status of TX_EOF_INT."] #[inline(always)] - #[must_use] pub fn tx_eof(&mut self) -> TX_EOF_W { TX_EOF_W::new(self, 2) } diff --git a/esp32h2/src/parl_io/reg_update.rs b/esp32h2/src/parl_io/reg_update.rs index 44f445e9c6..ed367ee15f 100644 --- a/esp32h2/src/parl_io/reg_update.rs +++ b/esp32h2/src/parl_io/reg_update.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - Set this bit to update rx register configuration."] #[inline(always)] - #[must_use] pub fn rx_reg_update(&mut self) -> RX_REG_UPDATE_W { RX_REG_UPDATE_W::new(self, 31) } diff --git a/esp32h2/src/parl_io/rx_clk_cfg.rs b/esp32h2/src/parl_io/rx_clk_cfg.rs index 0718e9b3a5..f729b4f976 100644 --- a/esp32h2/src/parl_io/rx_clk_cfg.rs +++ b/esp32h2/src/parl_io/rx_clk_cfg.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - Set this bit to invert the input Rx core clock."] #[inline(always)] - #[must_use] pub fn rx_clk_i_inv(&mut self) -> RX_CLK_I_INV_W { RX_CLK_I_INV_W::new(self, 30) } #[doc = "Bit 31 - Set this bit to invert the output Rx core clock."] #[inline(always)] - #[must_use] pub fn rx_clk_o_inv(&mut self) -> RX_CLK_O_INV_W { RX_CLK_O_INV_W::new(self, 31) } diff --git a/esp32h2/src/parl_io/rx_data_cfg.rs b/esp32h2/src/parl_io/rx_data_cfg.rs index a27f38f2d8..6a47e2b196 100644 --- a/esp32h2/src/parl_io/rx_data_cfg.rs +++ b/esp32h2/src/parl_io/rx_data_cfg.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 9:27 - Configures expected byte number of received data."] #[inline(always)] - #[must_use] pub fn rx_bitlen(&mut self) -> RX_BITLEN_W { RX_BITLEN_W::new(self, 9) } #[doc = "Bit 28 - Set this bit to invert bit order of one byte sent from RX_FIFO to DMA."] #[inline(always)] - #[must_use] pub fn rx_data_order_inv(&mut self) -> RX_DATA_ORDER_INV_W { RX_DATA_ORDER_INV_W::new(self, 28) } #[doc = "Bits 29:31 - Configures the rxd bus width. 3'd0: bus width is 1. 3'd1: bus width is 2. 3'd2: bus width is 4. 3'd3: bus width is 8."] #[inline(always)] - #[must_use] pub fn rx_bus_wid_sel(&mut self) -> RX_BUS_WID_SEL_W { RX_BUS_WID_SEL_W::new(self, 29) } diff --git a/esp32h2/src/parl_io/rx_genrl_cfg.rs b/esp32h2/src/parl_io/rx_genrl_cfg.rs index 42dabe78a1..f0f78dacd3 100644 --- a/esp32h2/src/parl_io/rx_genrl_cfg.rs +++ b/esp32h2/src/parl_io/rx_genrl_cfg.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - Set this bit to enable the clock gating of output rx clock."] #[inline(always)] - #[must_use] pub fn rx_gating_en(&mut self) -> RX_GATING_EN_W { RX_GATING_EN_W::new(self, 12) } #[doc = "Bits 13:28 - Configures threshold of timeout counter."] #[inline(always)] - #[must_use] pub fn rx_timeout_thres(&mut self) -> RX_TIMEOUT_THRES_W { RX_TIMEOUT_THRES_W::new(self, 13) } #[doc = "Bit 29 - Set this bit to enable timeout function to generate error eof."] #[inline(always)] - #[must_use] pub fn rx_timeout_en(&mut self) -> RX_TIMEOUT_EN_W { RX_TIMEOUT_EN_W::new(self, 29) } #[doc = "Bit 30 - Configures the DMA eof generated mechanism. 1'b0: eof generated by data byte length. 1'b1: eof generated by external enable signal."] #[inline(always)] - #[must_use] pub fn rx_eof_gen_sel(&mut self) -> RX_EOF_GEN_SEL_W { RX_EOF_GEN_SEL_W::new(self, 30) } diff --git a/esp32h2/src/parl_io/rx_mode_cfg.rs b/esp32h2/src/parl_io/rx_mode_cfg.rs index cf494f1f3a..1dd78136c5 100644 --- a/esp32h2/src/parl_io/rx_mode_cfg.rs +++ b/esp32h2/src/parl_io/rx_mode_cfg.rs @@ -14,9 +14,9 @@ pub type RX_SW_EN_W<'a, REG> = crate::BitWriter<'a, REG>; pub type RX_EXT_EN_INV_R = crate::BitReader; #[doc = "Field `RX_EXT_EN_INV` writer - Set this bit to invert the external enable signal."] pub type RX_EXT_EN_INV_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `RX_PULSE_SUBMODE_SEL` reader - Configures the rxd pulse sampling submode. 4'd0: positive pulse start(data bit included) && positive pulse end(data bit included) 4'd1: positive pulse start(data bit included) && positive pulse end (data bit excluded) 4'd2: positive pulse start(data bit excluded) && positive pulse end (data bit included) 4'd3: positive pulse start(data bit excluded) && positive pulse end (data bit excluded) 4'd4: positive pulse start(data bit included) && length end 4'd5: positive pulse start(data bit excluded) && length end"] +#[doc = "Field `RX_PULSE_SUBMODE_SEL` reader - Configures the rxd pulse sampling submode. 4'd0: positive pulse start(data bit included) && positive pulse end(data bit included) 4'd1: positive pulse start(data bit included) && positive pulse end (data bit excluded) 4'd2: positive pulse start(data bit excluded) && positive pulse end (data bit included) 4'd3: positive pulse start(data bit excluded) && positive pulse end (data bit excluded) 4'd4: positive pulse start(data bit included) && length end 4'd5: positive pulse start(data bit excluded) && length end"] pub type RX_PULSE_SUBMODE_SEL_R = crate::FieldReader; -#[doc = "Field `RX_PULSE_SUBMODE_SEL` writer - Configures the rxd pulse sampling submode. 4'd0: positive pulse start(data bit included) && positive pulse end(data bit included) 4'd1: positive pulse start(data bit included) && positive pulse end (data bit excluded) 4'd2: positive pulse start(data bit excluded) && positive pulse end (data bit included) 4'd3: positive pulse start(data bit excluded) && positive pulse end (data bit excluded) 4'd4: positive pulse start(data bit included) && length end 4'd5: positive pulse start(data bit excluded) && length end"] +#[doc = "Field `RX_PULSE_SUBMODE_SEL` writer - Configures the rxd pulse sampling submode. 4'd0: positive pulse start(data bit included) && positive pulse end(data bit included) 4'd1: positive pulse start(data bit included) && positive pulse end (data bit excluded) 4'd2: positive pulse start(data bit excluded) && positive pulse end (data bit included) 4'd3: positive pulse start(data bit excluded) && positive pulse end (data bit excluded) 4'd4: positive pulse start(data bit included) && length end 4'd5: positive pulse start(data bit excluded) && length end"] pub type RX_PULSE_SUBMODE_SEL_W<'a, REG> = crate::FieldWriter<'a, REG, 3>; #[doc = "Field `RX_SMP_MODE_SEL` reader - Configures the rxd sampling mode. 2'b00: external level enable mode 2'b01: external pulse enable mode 2'b10: internal software enable mode"] pub type RX_SMP_MODE_SEL_R = crate::FieldReader; @@ -38,7 +38,7 @@ impl R { pub fn rx_ext_en_inv(&self) -> RX_EXT_EN_INV_R { RX_EXT_EN_INV_R::new(((self.bits >> 26) & 1) != 0) } - #[doc = "Bits 27:29 - Configures the rxd pulse sampling submode. 4'd0: positive pulse start(data bit included) && positive pulse end(data bit included) 4'd1: positive pulse start(data bit included) && positive pulse end (data bit excluded) 4'd2: positive pulse start(data bit excluded) && positive pulse end (data bit included) 4'd3: positive pulse start(data bit excluded) && positive pulse end (data bit excluded) 4'd4: positive pulse start(data bit included) && length end 4'd5: positive pulse start(data bit excluded) && length end"] + #[doc = "Bits 27:29 - Configures the rxd pulse sampling submode. 4'd0: positive pulse start(data bit included) && positive pulse end(data bit included) 4'd1: positive pulse start(data bit included) && positive pulse end (data bit excluded) 4'd2: positive pulse start(data bit excluded) && positive pulse end (data bit included) 4'd3: positive pulse start(data bit excluded) && positive pulse end (data bit excluded) 4'd4: positive pulse start(data bit included) && length end 4'd5: positive pulse start(data bit excluded) && length end"] #[inline(always)] pub fn rx_pulse_submode_sel(&self) -> RX_PULSE_SUBMODE_SEL_R { RX_PULSE_SUBMODE_SEL_R::new(((self.bits >> 27) & 7) as u8) @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 21:24 - Configures rx external enable signal selection from IO PAD."] #[inline(always)] - #[must_use] pub fn rx_ext_en_sel(&mut self) -> RX_EXT_EN_SEL_W { RX_EXT_EN_SEL_W::new(self, 21) } #[doc = "Bit 25 - Set this bit to enable data sampling by software."] #[inline(always)] - #[must_use] pub fn rx_sw_en(&mut self) -> RX_SW_EN_W { RX_SW_EN_W::new(self, 25) } #[doc = "Bit 26 - Set this bit to invert the external enable signal."] #[inline(always)] - #[must_use] pub fn rx_ext_en_inv(&mut self) -> RX_EXT_EN_INV_W { RX_EXT_EN_INV_W::new(self, 26) } - #[doc = "Bits 27:29 - Configures the rxd pulse sampling submode. 4'd0: positive pulse start(data bit included) && positive pulse end(data bit included) 4'd1: positive pulse start(data bit included) && positive pulse end (data bit excluded) 4'd2: positive pulse start(data bit excluded) && positive pulse end (data bit included) 4'd3: positive pulse start(data bit excluded) && positive pulse end (data bit excluded) 4'd4: positive pulse start(data bit included) && length end 4'd5: positive pulse start(data bit excluded) && length end"] + #[doc = "Bits 27:29 - Configures the rxd pulse sampling submode. 4'd0: positive pulse start(data bit included) && positive pulse end(data bit included) 4'd1: positive pulse start(data bit included) && positive pulse end (data bit excluded) 4'd2: positive pulse start(data bit excluded) && positive pulse end (data bit included) 4'd3: positive pulse start(data bit excluded) && positive pulse end (data bit excluded) 4'd4: positive pulse start(data bit included) && length end 4'd5: positive pulse start(data bit excluded) && length end"] #[inline(always)] - #[must_use] pub fn rx_pulse_submode_sel(&mut self) -> RX_PULSE_SUBMODE_SEL_W { RX_PULSE_SUBMODE_SEL_W::new(self, 27) } #[doc = "Bits 30:31 - Configures the rxd sampling mode. 2'b00: external level enable mode 2'b01: external pulse enable mode 2'b10: internal software enable mode"] #[inline(always)] - #[must_use] pub fn rx_smp_mode_sel(&mut self) -> RX_SMP_MODE_SEL_W { RX_SMP_MODE_SEL_W::new(self, 30) } diff --git a/esp32h2/src/parl_io/rx_start_cfg.rs b/esp32h2/src/parl_io/rx_start_cfg.rs index 4017ebe15e..043d1876f0 100644 --- a/esp32h2/src/parl_io/rx_start_cfg.rs +++ b/esp32h2/src/parl_io/rx_start_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - Set this bit to start rx data sampling."] #[inline(always)] - #[must_use] pub fn rx_start(&mut self) -> RX_START_W { RX_START_W::new(self, 31) } diff --git a/esp32h2/src/parl_io/tx_clk_cfg.rs b/esp32h2/src/parl_io/tx_clk_cfg.rs index a25825a03b..ae5c1ad428 100644 --- a/esp32h2/src/parl_io/tx_clk_cfg.rs +++ b/esp32h2/src/parl_io/tx_clk_cfg.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - Set this bit to invert the input Tx core clock."] #[inline(always)] - #[must_use] pub fn tx_clk_i_inv(&mut self) -> TX_CLK_I_INV_W { TX_CLK_I_INV_W::new(self, 30) } #[doc = "Bit 31 - Set this bit to invert the output Tx core clock."] #[inline(always)] - #[must_use] pub fn tx_clk_o_inv(&mut self) -> TX_CLK_O_INV_W { TX_CLK_O_INV_W::new(self, 31) } diff --git a/esp32h2/src/parl_io/tx_data_cfg.rs b/esp32h2/src/parl_io/tx_data_cfg.rs index f60fc0d4ba..d0e7a24095 100644 --- a/esp32h2/src/parl_io/tx_data_cfg.rs +++ b/esp32h2/src/parl_io/tx_data_cfg.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 9:27 - Configures expected byte number of sent data."] #[inline(always)] - #[must_use] pub fn tx_bitlen(&mut self) -> TX_BITLEN_W { TX_BITLEN_W::new(self, 9) } #[doc = "Bit 28 - Set this bit to invert bit order of one byte sent from TX_FIFO to IO data."] #[inline(always)] - #[must_use] pub fn tx_data_order_inv(&mut self) -> TX_DATA_ORDER_INV_W { TX_DATA_ORDER_INV_W::new(self, 28) } #[doc = "Bits 29:31 - Configures the txd bus width. 3'd0: bus width is 1. 3'd1: bus width is 2. 3'd2: bus width is 4. 3'd3: bus width is 8."] #[inline(always)] - #[must_use] pub fn tx_bus_wid_sel(&mut self) -> TX_BUS_WID_SEL_W { TX_BUS_WID_SEL_W::new(self, 29) } diff --git a/esp32h2/src/parl_io/tx_genrl_cfg.rs b/esp32h2/src/parl_io/tx_genrl_cfg.rs index 594d06916a..bf50875e9f 100644 --- a/esp32h2/src/parl_io/tx_genrl_cfg.rs +++ b/esp32h2/src/parl_io/tx_genrl_cfg.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 14:29 - Configures bus value of transmitter in IDLE state."] #[inline(always)] - #[must_use] pub fn tx_idle_value(&mut self) -> TX_IDLE_VALUE_W { TX_IDLE_VALUE_W::new(self, 14) } #[doc = "Bit 30 - Set this bit to enable the clock gating of output tx clock."] #[inline(always)] - #[must_use] pub fn tx_gating_en(&mut self) -> TX_GATING_EN_W { TX_GATING_EN_W::new(self, 30) } #[doc = "Bit 31 - Set this bit to enable the output of tx data valid signal."] #[inline(always)] - #[must_use] pub fn tx_valid_output_en(&mut self) -> TX_VALID_OUTPUT_EN_W { TX_VALID_OUTPUT_EN_W::new(self, 31) } diff --git a/esp32h2/src/parl_io/tx_start_cfg.rs b/esp32h2/src/parl_io/tx_start_cfg.rs index 542480274a..d9973b499f 100644 --- a/esp32h2/src/parl_io/tx_start_cfg.rs +++ b/esp32h2/src/parl_io/tx_start_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - Set this bit to start tx data transmit."] #[inline(always)] - #[must_use] pub fn tx_start(&mut self) -> TX_START_W { TX_START_W::new(self, 31) } diff --git a/esp32h2/src/parl_io/version.rs b/esp32h2/src/parl_io/version.rs index 15cde714f3..7e7a26a44a 100644 --- a/esp32h2/src/parl_io/version.rs +++ b/esp32h2/src/parl_io/version.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Version of this register file"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32h2/src/pau/date.rs b/esp32h2/src/pau/date.rs index ac21f8ebc5..b6d2fe089b 100644 --- a/esp32h2/src/pau/date.rs +++ b/esp32h2/src/pau/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - REGDMA date information/ REGDMA version information."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32h2/src/pau/int_clr.rs b/esp32h2/src/pau/int_clr.rs index 5e5abb30bf..d604697537 100644 --- a/esp32h2/src/pau/int_clr.rs +++ b/esp32h2/src/pau/int_clr.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - backup done flag"] #[inline(always)] - #[must_use] pub fn done(&mut self) -> DONE_W { DONE_W::new(self, 0) } #[doc = "Bit 1 - error flag"] #[inline(always)] - #[must_use] pub fn error(&mut self) -> ERROR_W { ERROR_W::new(self, 1) } diff --git a/esp32h2/src/pau/int_ena.rs b/esp32h2/src/pau/int_ena.rs index 62e3097ffa..aaa57635a1 100644 --- a/esp32h2/src/pau/int_ena.rs +++ b/esp32h2/src/pau/int_ena.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - backup done flag"] #[inline(always)] - #[must_use] pub fn done(&mut self) -> DONE_W { DONE_W::new(self, 0) } #[doc = "Bit 1 - error flag"] #[inline(always)] - #[must_use] pub fn error(&mut self) -> ERROR_W { ERROR_W::new(self, 1) } diff --git a/esp32h2/src/pau/int_raw.rs b/esp32h2/src/pau/int_raw.rs index fe97e5cb67..e67ce1e70d 100644 --- a/esp32h2/src/pau/int_raw.rs +++ b/esp32h2/src/pau/int_raw.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - backup done flag"] #[inline(always)] - #[must_use] pub fn done(&mut self) -> DONE_W { DONE_W::new(self, 0) } #[doc = "Bit 1 - error flag"] #[inline(always)] - #[must_use] pub fn error(&mut self) -> ERROR_W { ERROR_W::new(self, 1) } diff --git a/esp32h2/src/pau/regdma_bkp_conf.rs b/esp32h2/src/pau/regdma_bkp_conf.rs index 43b0a37181..07a80d5c7f 100644 --- a/esp32h2/src/pau/regdma_bkp_conf.rs +++ b/esp32h2/src/pau/regdma_bkp_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Link read_interval"] #[inline(always)] - #[must_use] pub fn read_interval(&mut self) -> READ_INTERVAL_W { READ_INTERVAL_W::new(self, 0) } #[doc = "Bits 7:16 - link wait timeout threshold"] #[inline(always)] - #[must_use] pub fn link_tout_thres(&mut self) -> LINK_TOUT_THRES_W { LINK_TOUT_THRES_W::new(self, 7) } #[doc = "Bits 17:21 - burst limit"] #[inline(always)] - #[must_use] pub fn burst_limit(&mut self) -> BURST_LIMIT_W { BURST_LIMIT_W::new(self, 17) } #[doc = "Bits 22:31 - Backup timeout threshold"] #[inline(always)] - #[must_use] pub fn backup_tout_thres(&mut self) -> BACKUP_TOUT_THRES_W { BACKUP_TOUT_THRES_W::new(self, 22) } diff --git a/esp32h2/src/pau/regdma_clk_conf.rs b/esp32h2/src/pau/regdma_clk_conf.rs index 4d54af1ba3..737d1dbeed 100644 --- a/esp32h2/src/pau/regdma_clk_conf.rs +++ b/esp32h2/src/pau/regdma_clk_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - clock enable"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32h2/src/pau/regdma_conf.rs b/esp32h2/src/pau/regdma_conf.rs index aa85c3171d..8a993beb06 100644 --- a/esp32h2/src/pau/regdma_conf.rs +++ b/esp32h2/src/pau/regdma_conf.rs @@ -66,37 +66,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - backup start signal"] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 3) } #[doc = "Bit 4 - backup direction(reg to mem / mem to reg)"] #[inline(always)] - #[must_use] pub fn to_mem(&mut self) -> TO_MEM_W { TO_MEM_W::new(self, 4) } #[doc = "Bits 5:6 - Link select"] #[inline(always)] - #[must_use] pub fn link_sel(&mut self) -> LINK_SEL_W { LINK_SEL_W::new(self, 5) } #[doc = "Bit 7 - mac sw backup start signal"] #[inline(always)] - #[must_use] pub fn start_mac(&mut self) -> START_MAC_W { START_MAC_W::new(self, 7) } #[doc = "Bit 8 - mac sw backup direction(reg to mem / mem to reg)"] #[inline(always)] - #[must_use] pub fn to_mem_mac(&mut self) -> TO_MEM_MAC_W { TO_MEM_MAC_W::new(self, 8) } #[doc = "Bit 9 - mac hw/sw select"] #[inline(always)] - #[must_use] pub fn sel_mac(&mut self) -> SEL_MAC_W { SEL_MAC_W::new(self, 9) } diff --git a/esp32h2/src/pau/regdma_etm_ctrl.rs b/esp32h2/src/pau/regdma_etm_ctrl.rs index 92ee03c88d..3b7713e2a0 100644 --- a/esp32h2/src/pau/regdma_etm_ctrl.rs +++ b/esp32h2/src/pau/regdma_etm_ctrl.rs @@ -17,25 +17,21 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - etm_start_0 reg"] #[inline(always)] - #[must_use] pub fn etm_start_0(&mut self) -> ETM_START_0_W { ETM_START_0_W::new(self, 0) } #[doc = "Bit 1 - etm_start_1 reg"] #[inline(always)] - #[must_use] pub fn etm_start_1(&mut self) -> ETM_START_1_W { ETM_START_1_W::new(self, 1) } #[doc = "Bit 2 - etm_start_2 reg"] #[inline(always)] - #[must_use] pub fn etm_start_2(&mut self) -> ETM_START_2_W { ETM_START_2_W::new(self, 2) } #[doc = "Bit 3 - etm_start_3 reg"] #[inline(always)] - #[must_use] pub fn etm_start_3(&mut self) -> ETM_START_3_W { ETM_START_3_W::new(self, 3) } diff --git a/esp32h2/src/pau/regdma_link_0_addr.rs b/esp32h2/src/pau/regdma_link_0_addr.rs index ddac79e07d..012008b984 100644 --- a/esp32h2/src/pau/regdma_link_0_addr.rs +++ b/esp32h2/src/pau/regdma_link_0_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - link_0_addr reg"] #[inline(always)] - #[must_use] pub fn link_addr_0(&mut self) -> LINK_ADDR_0_W { LINK_ADDR_0_W::new(self, 0) } diff --git a/esp32h2/src/pau/regdma_link_1_addr.rs b/esp32h2/src/pau/regdma_link_1_addr.rs index 7e288f8812..42f205b789 100644 --- a/esp32h2/src/pau/regdma_link_1_addr.rs +++ b/esp32h2/src/pau/regdma_link_1_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Link_1_addr reg"] #[inline(always)] - #[must_use] pub fn link_addr_1(&mut self) -> LINK_ADDR_1_W { LINK_ADDR_1_W::new(self, 0) } diff --git a/esp32h2/src/pau/regdma_link_2_addr.rs b/esp32h2/src/pau/regdma_link_2_addr.rs index 65bf9bc97e..b1b51dfb0c 100644 --- a/esp32h2/src/pau/regdma_link_2_addr.rs +++ b/esp32h2/src/pau/regdma_link_2_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Link_2_addr reg"] #[inline(always)] - #[must_use] pub fn link_addr_2(&mut self) -> LINK_ADDR_2_W { LINK_ADDR_2_W::new(self, 0) } diff --git a/esp32h2/src/pau/regdma_link_3_addr.rs b/esp32h2/src/pau/regdma_link_3_addr.rs index 11fb8ec16a..c953bbea81 100644 --- a/esp32h2/src/pau/regdma_link_3_addr.rs +++ b/esp32h2/src/pau/regdma_link_3_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Link_3_addr reg"] #[inline(always)] - #[must_use] pub fn link_addr_3(&mut self) -> LINK_ADDR_3_W { LINK_ADDR_3_W::new(self, 0) } diff --git a/esp32h2/src/pau/regdma_link_mac_addr.rs b/esp32h2/src/pau/regdma_link_mac_addr.rs index 82b2beb321..01af3a97fc 100644 --- a/esp32h2/src/pau/regdma_link_mac_addr.rs +++ b/esp32h2/src/pau/regdma_link_mac_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Link_mac_addr reg"] #[inline(always)] - #[must_use] pub fn link_addr_mac(&mut self) -> LINK_ADDR_MAC_W { LINK_ADDR_MAC_W::new(self, 0) } diff --git a/esp32h2/src/pau/retention_cfg.rs b/esp32h2/src/pau/retention_cfg.rs index 8030535a21..c48d39a7b4 100644 --- a/esp32h2/src/pau/retention_cfg.rs +++ b/esp32h2/src/pau/retention_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - retention inv scan out"] #[inline(always)] - #[must_use] pub fn ret_inv_cfg(&mut self) -> RET_INV_CFG_W { RET_INV_CFG_W::new(self, 0) } diff --git a/esp32h2/src/pau/retention_link_base.rs b/esp32h2/src/pau/retention_link_base.rs index 4863fd7ed3..2360fd745a 100644 --- a/esp32h2/src/pau/retention_link_base.rs +++ b/esp32h2/src/pau/retention_link_base.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:26 - retention dma link base"] #[inline(always)] - #[must_use] pub fn link_base_addr(&mut self) -> LINK_BASE_ADDR_W { LINK_BASE_ADDR_W::new(self, 0) } diff --git a/esp32h2/src/pcnt/ctrl.rs b/esp32h2/src/pcnt/ctrl.rs index 9ea11d8451..baec6079be 100644 --- a/esp32h2/src/pcnt/ctrl.rs +++ b/esp32h2/src/pcnt/ctrl.rs @@ -112,7 +112,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CNT_RST_U0` field.
"] #[inline(always)] - #[must_use] pub fn cnt_rst_u(&mut self, n: u8) -> CNT_RST_U_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -120,25 +119,21 @@ impl W { } #[doc = "Bit 0 - Set this bit to clear unit0's counter."] #[inline(always)] - #[must_use] pub fn cnt_rst_u0(&mut self) -> CNT_RST_U_W { CNT_RST_U_W::new(self, 0) } #[doc = "Bit 2 - Set this bit to clear unit1's counter."] #[inline(always)] - #[must_use] pub fn cnt_rst_u1(&mut self) -> CNT_RST_U_W { CNT_RST_U_W::new(self, 2) } #[doc = "Bit 4 - Set this bit to clear unit2's counter."] #[inline(always)] - #[must_use] pub fn cnt_rst_u2(&mut self) -> CNT_RST_U_W { CNT_RST_U_W::new(self, 4) } #[doc = "Bit 6 - Set this bit to clear unit3's counter."] #[inline(always)] - #[must_use] pub fn cnt_rst_u3(&mut self) -> CNT_RST_U_W { CNT_RST_U_W::new(self, 6) } @@ -146,7 +141,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CNT_PAUSE_U0` field.
"] #[inline(always)] - #[must_use] pub fn cnt_pause_u(&mut self, n: u8) -> CNT_PAUSE_U_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -154,31 +148,26 @@ impl W { } #[doc = "Bit 1 - Set this bit to pause unit0's counter."] #[inline(always)] - #[must_use] pub fn cnt_pause_u0(&mut self) -> CNT_PAUSE_U_W { CNT_PAUSE_U_W::new(self, 1) } #[doc = "Bit 3 - Set this bit to pause unit1's counter."] #[inline(always)] - #[must_use] pub fn cnt_pause_u1(&mut self) -> CNT_PAUSE_U_W { CNT_PAUSE_U_W::new(self, 3) } #[doc = "Bit 5 - Set this bit to pause unit2's counter."] #[inline(always)] - #[must_use] pub fn cnt_pause_u2(&mut self) -> CNT_PAUSE_U_W { CNT_PAUSE_U_W::new(self, 5) } #[doc = "Bit 7 - Set this bit to pause unit3's counter."] #[inline(always)] - #[must_use] pub fn cnt_pause_u3(&mut self) -> CNT_PAUSE_U_W { CNT_PAUSE_U_W::new(self, 7) } #[doc = "Bit 16 - The registers clock gate enable signal of PCNT module. 1: the registers can be read and written by application. 0: the registers can not be read or written by application"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 16) } diff --git a/esp32h2/src/pcnt/date.rs b/esp32h2/src/pcnt/date.rs index 649203b91b..5b774db4b7 100644 --- a/esp32h2/src/pcnt/date.rs +++ b/esp32h2/src/pcnt/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This is the PCNT version control register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32h2/src/pcnt/int_clr.rs b/esp32h2/src/pcnt/int_clr.rs index 60d2b9e5fc..8122a1e7bd 100644 --- a/esp32h2/src/pcnt/int_clr.rs +++ b/esp32h2/src/pcnt/int_clr.rs @@ -13,7 +13,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CNT_THR_EVENT_U0` field.
"] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u(&mut self, n: u8) -> CNT_THR_EVENT_U_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -21,25 +20,21 @@ impl W { } #[doc = "Bit 0 - Set this bit to clear the PCNT_CNT_THR_EVENT_U0_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u0(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the PCNT_CNT_THR_EVENT_U1_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u1(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the PCNT_CNT_THR_EVENT_U2_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u2(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the PCNT_CNT_THR_EVENT_U3_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u3(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 3) } diff --git a/esp32h2/src/pcnt/int_ena.rs b/esp32h2/src/pcnt/int_ena.rs index 97405ab4c3..c96e98eacf 100644 --- a/esp32h2/src/pcnt/int_ena.rs +++ b/esp32h2/src/pcnt/int_ena.rs @@ -59,7 +59,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CNT_THR_EVENT_U0` field.
"] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u(&mut self, n: u8) -> CNT_THR_EVENT_U_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -67,25 +66,21 @@ impl W { } #[doc = "Bit 0 - The interrupt enable bit for the PCNT_CNT_THR_EVENT_U0_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u0(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the PCNT_CNT_THR_EVENT_U1_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u1(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the PCNT_CNT_THR_EVENT_U2_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u2(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the PCNT_CNT_THR_EVENT_U3_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u3(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 3) } diff --git a/esp32h2/src/pcnt/int_raw.rs b/esp32h2/src/pcnt/int_raw.rs index 798bb7d1a4..458089f681 100644 --- a/esp32h2/src/pcnt/int_raw.rs +++ b/esp32h2/src/pcnt/int_raw.rs @@ -59,7 +59,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CNT_THR_EVENT_U0` field.
"] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u(&mut self, n: u8) -> CNT_THR_EVENT_U_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -67,25 +66,21 @@ impl W { } #[doc = "Bit 0 - The raw interrupt status bit for the PCNT_CNT_THR_EVENT_U0_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u0(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 0) } #[doc = "Bit 1 - The raw interrupt status bit for the PCNT_CNT_THR_EVENT_U1_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u1(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 1) } #[doc = "Bit 2 - The raw interrupt status bit for the PCNT_CNT_THR_EVENT_U2_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u2(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 2) } #[doc = "Bit 3 - The raw interrupt status bit for the PCNT_CNT_THR_EVENT_U3_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u3(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 3) } diff --git a/esp32h2/src/pcnt/unit/conf0.rs b/esp32h2/src/pcnt/unit/conf0.rs index ebbcd0c287..4183b942a8 100644 --- a/esp32h2/src/pcnt/unit/conf0.rs +++ b/esp32h2/src/pcnt/unit/conf0.rs @@ -346,43 +346,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - This sets the maximum threshold, in APB_CLK cycles, for the filter. Any pulses with width less than this will be ignored when the filter is enabled."] #[inline(always)] - #[must_use] pub fn filter_thres(&mut self) -> FILTER_THRES_W { FILTER_THRES_W::new(self, 0) } #[doc = "Bit 10 - This is the enable bit for unit %s's input filter."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 10) } #[doc = "Bit 11 - This is the enable bit for unit %s's zero comparator."] #[inline(always)] - #[must_use] pub fn thr_zero_en(&mut self) -> THR_ZERO_EN_W { THR_ZERO_EN_W::new(self, 11) } #[doc = "Bit 12 - This is the enable bit for unit %s's thr_h_lim comparator. Configures it to enable the high limit interrupt."] #[inline(always)] - #[must_use] pub fn thr_h_lim_en(&mut self) -> THR_H_LIM_EN_W { THR_H_LIM_EN_W::new(self, 12) } #[doc = "Bit 13 - This is the enable bit for unit %s's thr_l_lim comparator. Configures it to enable the low limit interrupt."] #[inline(always)] - #[must_use] pub fn thr_l_lim_en(&mut self) -> THR_L_LIM_EN_W { THR_L_LIM_EN_W::new(self, 13) } #[doc = "Bit 14 - This is the enable bit for unit %s's thres0 comparator."] #[inline(always)] - #[must_use] pub fn thr_thres0_en(&mut self) -> THR_THRES0_EN_W { THR_THRES0_EN_W::new(self, 14) } #[doc = "Bit 15 - This is the enable bit for unit %s's thres1 comparator."] #[inline(always)] - #[must_use] pub fn thr_thres1_en(&mut self) -> THR_THRES1_EN_W { THR_THRES1_EN_W::new(self, 15) } @@ -390,7 +383,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_NEG_MODE` field.
"] #[inline(always)] - #[must_use] pub fn ch_neg_mode(&mut self, n: u8) -> CH_NEG_MODE_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -398,13 +390,11 @@ impl W { } #[doc = "Bits 16:17 - Configures the behavior when the signal input of channel 0 detects a negative edge."] #[inline(always)] - #[must_use] pub fn ch0_neg_mode(&mut self) -> CH_NEG_MODE_W { CH_NEG_MODE_W::new(self, 16) } #[doc = "Bits 24:25 - Configures the behavior when the signal input of channel 1 detects a negative edge."] #[inline(always)] - #[must_use] pub fn ch1_neg_mode(&mut self) -> CH_NEG_MODE_W { CH_NEG_MODE_W::new(self, 24) } @@ -412,7 +402,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_POS_MODE` field.
"] #[inline(always)] - #[must_use] pub fn ch_pos_mode(&mut self, n: u8) -> CH_POS_MODE_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -420,13 +409,11 @@ impl W { } #[doc = "Bits 18:19 - Configures the behavior when the signal input of channel 0 detects a positive edge."] #[inline(always)] - #[must_use] pub fn ch0_pos_mode(&mut self) -> CH_POS_MODE_W { CH_POS_MODE_W::new(self, 18) } #[doc = "Bits 26:27 - Configures the behavior when the signal input of channel 1 detects a positive edge."] #[inline(always)] - #[must_use] pub fn ch1_pos_mode(&mut self) -> CH_POS_MODE_W { CH_POS_MODE_W::new(self, 26) } @@ -434,7 +421,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_HCTRL_MODE` field.
"] #[inline(always)] - #[must_use] pub fn ch_hctrl_mode(&mut self, n: u8) -> CH_HCTRL_MODE_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -442,13 +428,11 @@ impl W { } #[doc = "Bits 20:21 - Configures how the CHn_POS_MODE/CHn_NEG_MODE settings will be modified when the control signal is high."] #[inline(always)] - #[must_use] pub fn ch0_hctrl_mode(&mut self) -> CH_HCTRL_MODE_W { CH_HCTRL_MODE_W::new(self, 20) } #[doc = "Bits 28:29 - Configures how the CHn_POS_MODE/CHn_NEG_MODE settings will be modified when the control signal is high."] #[inline(always)] - #[must_use] pub fn ch1_hctrl_mode(&mut self) -> CH_HCTRL_MODE_W { CH_HCTRL_MODE_W::new(self, 28) } @@ -456,7 +440,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_LCTRL_MODE` field.
"] #[inline(always)] - #[must_use] pub fn ch_lctrl_mode(&mut self, n: u8) -> CH_LCTRL_MODE_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -464,13 +447,11 @@ impl W { } #[doc = "Bits 22:23 - Configures how the CHn_POS_MODE/CHn_NEG_MODE settings will be modified when the control signal is low."] #[inline(always)] - #[must_use] pub fn ch0_lctrl_mode(&mut self) -> CH_LCTRL_MODE_W { CH_LCTRL_MODE_W::new(self, 22) } #[doc = "Bits 30:31 - Configures how the CHn_POS_MODE/CHn_NEG_MODE settings will be modified when the control signal is low."] #[inline(always)] - #[must_use] pub fn ch1_lctrl_mode(&mut self) -> CH_LCTRL_MODE_W { CH_LCTRL_MODE_W::new(self, 30) } diff --git a/esp32h2/src/pcnt/unit/conf1.rs b/esp32h2/src/pcnt/unit/conf1.rs index 1585465b67..e88cae6aae 100644 --- a/esp32h2/src/pcnt/unit/conf1.rs +++ b/esp32h2/src/pcnt/unit/conf1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the thres0 value for unit %s."] #[inline(always)] - #[must_use] pub fn cnt_thres0(&mut self) -> CNT_THRES0_W { CNT_THRES0_W::new(self, 0) } #[doc = "Bits 16:31 - This register is used to configure the thres1 value for unit %s."] #[inline(always)] - #[must_use] pub fn cnt_thres1(&mut self) -> CNT_THRES1_W { CNT_THRES1_W::new(self, 16) } diff --git a/esp32h2/src/pcnt/unit/conf2.rs b/esp32h2/src/pcnt/unit/conf2.rs index 490cf071a0..55263918b5 100644 --- a/esp32h2/src/pcnt/unit/conf2.rs +++ b/esp32h2/src/pcnt/unit/conf2.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the thr_h_lim value for unit %s. When pluse_cnt reaches this value, the counter will be cleared to 0."] #[inline(always)] - #[must_use] pub fn cnt_h_lim(&mut self) -> CNT_H_LIM_W { CNT_H_LIM_W::new(self, 0) } #[doc = "Bits 16:31 - This register is used to configure the thr_l_lim value for unit %s. When pluse_cnt reaches this value, the counter will be cleared to 0."] #[inline(always)] - #[must_use] pub fn cnt_l_lim(&mut self) -> CNT_L_LIM_W { CNT_L_LIM_W::new(self, 16) } diff --git a/esp32h2/src/pcr/adc_inv_phase_conf.rs b/esp32h2/src/pcr/adc_inv_phase_conf.rs index aececf4340..51693e4e51 100644 --- a/esp32h2/src/pcr/adc_inv_phase_conf.rs +++ b/esp32h2/src/pcr/adc_inv_phase_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - xxxx"] #[inline(always)] - #[must_use] pub fn clk_adc_inv_phase_ena(&mut self) -> CLK_ADC_INV_PHASE_ENA_W { CLK_ADC_INV_PHASE_ENA_W::new(self, 0) } diff --git a/esp32h2/src/pcr/aes_conf.rs b/esp32h2/src/pcr/aes_conf.rs index 3f766d3712..236b3c369b 100644 --- a/esp32h2/src/pcr/aes_conf.rs +++ b/esp32h2/src/pcr/aes_conf.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable aes clock"] #[inline(always)] - #[must_use] pub fn aes_clk_en(&mut self) -> AES_CLK_EN_W { AES_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset aes module"] #[inline(always)] - #[must_use] pub fn aes_rst_en(&mut self) -> AES_RST_EN_W { AES_RST_EN_W::new(self, 1) } diff --git a/esp32h2/src/pcr/ahb_freq_conf.rs b/esp32h2/src/pcr/ahb_freq_conf.rs index cd81ade4c1..0e46a4781e 100644 --- a/esp32h2/src/pcr/ahb_freq_conf.rs +++ b/esp32h2/src/pcr/ahb_freq_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Set this field to generate clk_ahb drived by clk_hproot. The clk_ahb is div1(default)/div2/div4/div8 of clk_hproot. This field is only avaliable for low-speed clock-source such as XTAL/FOSC, and should be used together with PCR_CPU_DIV_NUM."] #[inline(always)] - #[must_use] pub fn ahb_div_num(&mut self) -> AHB_DIV_NUM_W { AHB_DIV_NUM_W::new(self, 0) } diff --git a/esp32h2/src/pcr/apb_freq_conf.rs b/esp32h2/src/pcr/apb_freq_conf.rs index 98cee8a4cc..048756b858 100644 --- a/esp32h2/src/pcr/apb_freq_conf.rs +++ b/esp32h2/src/pcr/apb_freq_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - If this field's value is grater than PCR_APB_DIV_NUM, the clk_apb will be automatically down to clk_apb_decrease only when no access is on apb-bus, and will recover to the previous frequency when a new access appears on apb-bus. Set as one within (0,1,3) to set clk_apb_decrease as div1/div2/div4(default) of clk_ahb. Note that enable this function will reduce performance. Users can set this field as zero to disable the auto-decrease-apb-freq function. By default, this function is disable."] #[inline(always)] - #[must_use] pub fn apb_decrease_div_num(&mut self) -> APB_DECREASE_DIV_NUM_W { APB_DECREASE_DIV_NUM_W::new(self, 0) } #[doc = "Bits 8:15 - Set as one within (0,1,3) to generate clk_apb drived by clk_ahb. The clk_apb is div1(default)/div2/div4 of clk_ahb."] #[inline(always)] - #[must_use] pub fn apb_div_num(&mut self) -> APB_DIV_NUM_W { APB_DIV_NUM_W::new(self, 8) } diff --git a/esp32h2/src/pcr/assist_conf.rs b/esp32h2/src/pcr/assist_conf.rs index 90c8f81da5..9ab218a3d9 100644 --- a/esp32h2/src/pcr/assist_conf.rs +++ b/esp32h2/src/pcr/assist_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable assist clock"] #[inline(always)] - #[must_use] pub fn assist_clk_en(&mut self) -> ASSIST_CLK_EN_W { ASSIST_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset assist module"] #[inline(always)] - #[must_use] pub fn assist_rst_en(&mut self) -> ASSIST_RST_EN_W { ASSIST_RST_EN_W::new(self, 1) } diff --git a/esp32h2/src/pcr/bus_clk_update.rs b/esp32h2/src/pcr/bus_clk_update.rs index 0b40d612c4..bbd3cf7109 100644 --- a/esp32h2/src/pcr/bus_clk_update.rs +++ b/esp32h2/src/pcr/bus_clk_update.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - xxxx"] #[inline(always)] - #[must_use] pub fn bus_clock_update(&mut self) -> BUS_CLOCK_UPDATE_W { BUS_CLOCK_UPDATE_W::new(self, 0) } diff --git a/esp32h2/src/pcr/cache_conf.rs b/esp32h2/src/pcr/cache_conf.rs index 241fb65f98..ead9675db2 100644 --- a/esp32h2/src/pcr/cache_conf.rs +++ b/esp32h2/src/pcr/cache_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable cache clock"] #[inline(always)] - #[must_use] pub fn cache_clk_en(&mut self) -> CACHE_CLK_EN_W { CACHE_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset cache module"] #[inline(always)] - #[must_use] pub fn cache_rst_en(&mut self) -> CACHE_RST_EN_W { CACHE_RST_EN_W::new(self, 1) } diff --git a/esp32h2/src/pcr/clock_gate.rs b/esp32h2/src/pcr/clock_gate.rs index f607723e32..7fd9318a23 100644 --- a/esp32h2/src/pcr/clock_gate.rs +++ b/esp32h2/src/pcr/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit as 1 to force on clock gating."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32h2/src/pcr/cpu_freq_conf.rs b/esp32h2/src/pcr/cpu_freq_conf.rs index 7c38c9c317..22f860e75b 100644 --- a/esp32h2/src/pcr/cpu_freq_conf.rs +++ b/esp32h2/src/pcr/cpu_freq_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Set this field to generate clk_cpu drived by clk_hproot. The clk_cpu is div1(default)/div2/div4 of clk_hproot. This field is only avaliable for low-speed clock-source such as XTAL/FOSC, and should be used together with PCR_AHB_DIV_NUM."] #[inline(always)] - #[must_use] pub fn cpu_div_num(&mut self) -> CPU_DIV_NUM_W { CPU_DIV_NUM_W::new(self, 0) } diff --git a/esp32h2/src/pcr/cpu_waiti_conf.rs b/esp32h2/src/pcr/cpu_waiti_conf.rs index bdf5683097..cfd5f57d00 100644 --- a/esp32h2/src/pcr/cpu_waiti_conf.rs +++ b/esp32h2/src/pcr/cpu_waiti_conf.rs @@ -50,13 +50,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - Set 1 to force cpu_waiti_clk enable."] #[inline(always)] - #[must_use] pub fn cpu_wait_mode_force_on(&mut self) -> CPU_WAIT_MODE_FORCE_ON_W { CPU_WAIT_MODE_FORCE_ON_W::new(self, 3) } #[doc = "Bits 4:7 - This field used to set delay cycle when cpu enter waiti mode, after delay waiti_clk will close"] #[inline(always)] - #[must_use] pub fn cpu_waiti_delay_num(&mut self) -> CPU_WAITI_DELAY_NUM_W { CPU_WAITI_DELAY_NUM_W::new(self, 4) } diff --git a/esp32h2/src/pcr/ctrl_32k_conf.rs b/esp32h2/src/pcr/ctrl_32k_conf.rs index a5fcb19644..c5fa85768b 100644 --- a/esp32h2/src/pcr/ctrl_32k_conf.rs +++ b/esp32h2/src/pcr/ctrl_32k_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - This field indicates which one 32KHz clock will be used by timergroup. 0: OSC32K(default), 1: XTAL32K, 2/3: 32KHz from pad GPIO0."] #[inline(always)] - #[must_use] pub fn clk_32k_sel(&mut self) -> CLK_32K_SEL_W { CLK_32K_SEL_W::new(self, 0) } #[doc = "Bits 2:3 - This field indicates which one 32KHz clock will be used by MODEM_SYSTEM. 0: OSC32K(default), 1: XTAL32K, 2/3: 32KHz from pad GPIO0."] #[inline(always)] - #[must_use] pub fn _32k_modem_sel(&mut self) -> _32K_MODEM_SEL_W { _32K_MODEM_SEL_W::new(self, 2) } diff --git a/esp32h2/src/pcr/ctrl_clk_out_en.rs b/esp32h2/src/pcr/ctrl_clk_out_en.rs index 6b83684798..72678b775c 100644 --- a/esp32h2/src/pcr/ctrl_clk_out_en.rs +++ b/esp32h2/src/pcr/ctrl_clk_out_en.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable 8m clock"] #[inline(always)] - #[must_use] pub fn clk8_oen(&mut self) -> CLK8_OEN_W { CLK8_OEN_W::new(self, 0) } #[doc = "Bit 1 - Set 1 to enable 16m clock"] #[inline(always)] - #[must_use] pub fn clk16_oen(&mut self) -> CLK16_OEN_W { CLK16_OEN_W::new(self, 1) } #[doc = "Bit 2 - Set 1 to enable 32m clock"] #[inline(always)] - #[must_use] pub fn clk32_oen(&mut self) -> CLK32_OEN_W { CLK32_OEN_W::new(self, 2) } #[doc = "Bit 3 - Reserved"] #[inline(always)] - #[must_use] pub fn clk_adc_inf_oen(&mut self) -> CLK_ADC_INF_OEN_W { CLK_ADC_INF_OEN_W::new(self, 3) } #[doc = "Bit 4 - Reserved"] #[inline(always)] - #[must_use] pub fn clk_dfm_inf_oen(&mut self) -> CLK_DFM_INF_OEN_W { CLK_DFM_INF_OEN_W::new(self, 4) } #[doc = "Bit 5 - Reserved"] #[inline(always)] - #[must_use] pub fn clk_sdm_mod_oen(&mut self) -> CLK_SDM_MOD_OEN_W { CLK_SDM_MOD_OEN_W::new(self, 5) } #[doc = "Bit 6 - Set 1 to enable xtal clock"] #[inline(always)] - #[must_use] pub fn clk_xtal_oen(&mut self) -> CLK_XTAL_OEN_W { CLK_XTAL_OEN_W::new(self, 6) } diff --git a/esp32h2/src/pcr/ctrl_tick_conf.rs b/esp32h2/src/pcr/ctrl_tick_conf.rs index 0670173fd9..e931c4c0f9 100644 --- a/esp32h2/src/pcr/ctrl_tick_conf.rs +++ b/esp32h2/src/pcr/ctrl_tick_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn xtal_tick_num(&mut self) -> XTAL_TICK_NUM_W { XTAL_TICK_NUM_W::new(self, 0) } #[doc = "Bits 8:15 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn fosc_tick_num(&mut self) -> FOSC_TICK_NUM_W { FOSC_TICK_NUM_W::new(self, 8) } #[doc = "Bit 16 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn tick_enable(&mut self) -> TICK_ENABLE_W { TICK_ENABLE_W::new(self, 16) } #[doc = "Bit 17 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn rst_tick_cnt(&mut self) -> RST_TICK_CNT_W { RST_TICK_CNT_W::new(self, 17) } diff --git a/esp32h2/src/pcr/date.rs b/esp32h2/src/pcr/date.rs index 7d637ce8f1..b44ec667d4 100644 --- a/esp32h2/src/pcr/date.rs +++ b/esp32h2/src/pcr/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - PCR version information."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32h2/src/pcr/ds_conf.rs b/esp32h2/src/pcr/ds_conf.rs index 5b55825935..7a82f818d1 100644 --- a/esp32h2/src/pcr/ds_conf.rs +++ b/esp32h2/src/pcr/ds_conf.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable ds clock"] #[inline(always)] - #[must_use] pub fn ds_clk_en(&mut self) -> DS_CLK_EN_W { DS_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset ds module"] #[inline(always)] - #[must_use] pub fn ds_rst_en(&mut self) -> DS_RST_EN_W { DS_RST_EN_W::new(self, 1) } diff --git a/esp32h2/src/pcr/ecc_conf.rs b/esp32h2/src/pcr/ecc_conf.rs index f37ff6276c..4561833bd4 100644 --- a/esp32h2/src/pcr/ecc_conf.rs +++ b/esp32h2/src/pcr/ecc_conf.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable ecc clock"] #[inline(always)] - #[must_use] pub fn ecc_clk_en(&mut self) -> ECC_CLK_EN_W { ECC_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset ecc module"] #[inline(always)] - #[must_use] pub fn ecc_rst_en(&mut self) -> ECC_RST_EN_W { ECC_RST_EN_W::new(self, 1) } diff --git a/esp32h2/src/pcr/ecc_pd_ctrl.rs b/esp32h2/src/pcr/ecc_pd_ctrl.rs index d366f0a516..fced3400fb 100644 --- a/esp32h2/src/pcr/ecc_pd_ctrl.rs +++ b/esp32h2/src/pcr/ecc_pd_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to power down ecc internal memory."] #[inline(always)] - #[must_use] pub fn ecc_mem_pd(&mut self) -> ECC_MEM_PD_W { ECC_MEM_PD_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to force power up ecc internal memory"] #[inline(always)] - #[must_use] pub fn ecc_mem_force_pu(&mut self) -> ECC_MEM_FORCE_PU_W { ECC_MEM_FORCE_PU_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to force power down ecc internal memory."] #[inline(always)] - #[must_use] pub fn ecc_mem_force_pd(&mut self) -> ECC_MEM_FORCE_PD_W { ECC_MEM_FORCE_PD_W::new(self, 2) } diff --git a/esp32h2/src/pcr/ecdsa_conf.rs b/esp32h2/src/pcr/ecdsa_conf.rs index f31fe0546f..d2f52a5643 100644 --- a/esp32h2/src/pcr/ecdsa_conf.rs +++ b/esp32h2/src/pcr/ecdsa_conf.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable ecdsa clock"] #[inline(always)] - #[must_use] pub fn ecdsa_clk_en(&mut self) -> ECDSA_CLK_EN_W { ECDSA_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset ecdsa module"] #[inline(always)] - #[must_use] pub fn ecdsa_rst_en(&mut self) -> ECDSA_RST_EN_W { ECDSA_RST_EN_W::new(self, 1) } diff --git a/esp32h2/src/pcr/etm_conf.rs b/esp32h2/src/pcr/etm_conf.rs index 53db94c2fb..cdcb232db8 100644 --- a/esp32h2/src/pcr/etm_conf.rs +++ b/esp32h2/src/pcr/etm_conf.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable etm clock"] #[inline(always)] - #[must_use] pub fn etm_clk_en(&mut self) -> ETM_CLK_EN_W { ETM_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset etm module"] #[inline(always)] - #[must_use] pub fn etm_rst_en(&mut self) -> ETM_RST_EN_W { ETM_RST_EN_W::new(self, 1) } diff --git a/esp32h2/src/pcr/fpga_debug.rs b/esp32h2/src/pcr/fpga_debug.rs index 87ce4bbf5e..762fbf6fe8 100644 --- a/esp32h2/src/pcr/fpga_debug.rs +++ b/esp32h2/src/pcr/fpga_debug.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Only used in fpga debug."] #[inline(always)] - #[must_use] pub fn fpga_debug(&mut self) -> FPGA_DEBUG_W { FPGA_DEBUG_W::new(self, 0) } diff --git a/esp32h2/src/pcr/gdma_conf.rs b/esp32h2/src/pcr/gdma_conf.rs index 2932d854dd..d3020a0d64 100644 --- a/esp32h2/src/pcr/gdma_conf.rs +++ b/esp32h2/src/pcr/gdma_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable gdma clock"] #[inline(always)] - #[must_use] pub fn gdma_clk_en(&mut self) -> GDMA_CLK_EN_W { GDMA_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset gdma module"] #[inline(always)] - #[must_use] pub fn gdma_rst_en(&mut self) -> GDMA_RST_EN_W { GDMA_RST_EN_W::new(self, 1) } diff --git a/esp32h2/src/pcr/hmac_conf.rs b/esp32h2/src/pcr/hmac_conf.rs index 051f9dc914..a8e0e69958 100644 --- a/esp32h2/src/pcr/hmac_conf.rs +++ b/esp32h2/src/pcr/hmac_conf.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable hmac clock"] #[inline(always)] - #[must_use] pub fn hmac_clk_en(&mut self) -> HMAC_CLK_EN_W { HMAC_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset hmac module"] #[inline(always)] - #[must_use] pub fn hmac_rst_en(&mut self) -> HMAC_RST_EN_W { HMAC_RST_EN_W::new(self, 1) } diff --git a/esp32h2/src/pcr/i2c0_conf.rs b/esp32h2/src/pcr/i2c0_conf.rs index 8888add16e..adc8715bc2 100644 --- a/esp32h2/src/pcr/i2c0_conf.rs +++ b/esp32h2/src/pcr/i2c0_conf.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable i2c apb clock"] #[inline(always)] - #[must_use] pub fn i2c0_clk_en(&mut self) -> I2C0_CLK_EN_W { I2C0_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset i2c module"] #[inline(always)] - #[must_use] pub fn i2c0_rst_en(&mut self) -> I2C0_RST_EN_W { I2C0_RST_EN_W::new(self, 1) } diff --git a/esp32h2/src/pcr/i2c0_sclk_conf.rs b/esp32h2/src/pcr/i2c0_sclk_conf.rs index f7db07bc26..f712bdd579 100644 --- a/esp32h2/src/pcr/i2c0_sclk_conf.rs +++ b/esp32h2/src/pcr/i2c0_sclk_conf.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - The denominator of the frequency divider factor of the i2c function clock."] #[inline(always)] - #[must_use] pub fn i2c0_sclk_div_a(&mut self) -> I2C0_SCLK_DIV_A_W { I2C0_SCLK_DIV_A_W::new(self, 0) } #[doc = "Bits 6:11 - The numerator of the frequency divider factor of the i2c function clock."] #[inline(always)] - #[must_use] pub fn i2c0_sclk_div_b(&mut self) -> I2C0_SCLK_DIV_B_W { I2C0_SCLK_DIV_B_W::new(self, 6) } #[doc = "Bits 12:19 - The integral part of the frequency divider factor of the i2c function clock."] #[inline(always)] - #[must_use] pub fn i2c0_sclk_div_num(&mut self) -> I2C0_SCLK_DIV_NUM_W { I2C0_SCLK_DIV_NUM_W::new(self, 12) } #[doc = "Bit 20 - set this field to select clock-source. 0(default): XTAL, 1: FOSC."] #[inline(always)] - #[must_use] pub fn i2c0_sclk_sel(&mut self) -> I2C0_SCLK_SEL_W { I2C0_SCLK_SEL_W::new(self, 20) } #[doc = "Bit 22 - Set 1 to enable i2c function clock"] #[inline(always)] - #[must_use] pub fn i2c0_sclk_en(&mut self) -> I2C0_SCLK_EN_W { I2C0_SCLK_EN_W::new(self, 22) } diff --git a/esp32h2/src/pcr/i2c1_conf.rs b/esp32h2/src/pcr/i2c1_conf.rs index 119624fe4b..3b6d0114be 100644 --- a/esp32h2/src/pcr/i2c1_conf.rs +++ b/esp32h2/src/pcr/i2c1_conf.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable i2c apb clock"] #[inline(always)] - #[must_use] pub fn i2c1_clk_en(&mut self) -> I2C1_CLK_EN_W { I2C1_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset i2c module"] #[inline(always)] - #[must_use] pub fn i2c1_rst_en(&mut self) -> I2C1_RST_EN_W { I2C1_RST_EN_W::new(self, 1) } diff --git a/esp32h2/src/pcr/i2c1_sclk_conf.rs b/esp32h2/src/pcr/i2c1_sclk_conf.rs index 6dc273ed8e..ad6c16d377 100644 --- a/esp32h2/src/pcr/i2c1_sclk_conf.rs +++ b/esp32h2/src/pcr/i2c1_sclk_conf.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - The denominator of the frequency divider factor of the i2c function clock."] #[inline(always)] - #[must_use] pub fn i2c1_sclk_div_a(&mut self) -> I2C1_SCLK_DIV_A_W { I2C1_SCLK_DIV_A_W::new(self, 0) } #[doc = "Bits 6:11 - The numerator of the frequency divider factor of the i2c function clock."] #[inline(always)] - #[must_use] pub fn i2c1_sclk_div_b(&mut self) -> I2C1_SCLK_DIV_B_W { I2C1_SCLK_DIV_B_W::new(self, 6) } #[doc = "Bits 12:19 - The integral part of the frequency divider factor of the i2c function clock."] #[inline(always)] - #[must_use] pub fn i2c1_sclk_div_num(&mut self) -> I2C1_SCLK_DIV_NUM_W { I2C1_SCLK_DIV_NUM_W::new(self, 12) } #[doc = "Bit 20 - set this field to select clock-source. 0(default): XTAL, 1: FOSC."] #[inline(always)] - #[must_use] pub fn i2c1_sclk_sel(&mut self) -> I2C1_SCLK_SEL_W { I2C1_SCLK_SEL_W::new(self, 20) } #[doc = "Bit 22 - Set 1 to enable i2c function clock"] #[inline(always)] - #[must_use] pub fn i2c1_sclk_en(&mut self) -> I2C1_SCLK_EN_W { I2C1_SCLK_EN_W::new(self, 22) } diff --git a/esp32h2/src/pcr/i2s_conf.rs b/esp32h2/src/pcr/i2s_conf.rs index a985a56980..3774ea2ab7 100644 --- a/esp32h2/src/pcr/i2s_conf.rs +++ b/esp32h2/src/pcr/i2s_conf.rs @@ -50,13 +50,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable i2s apb clock"] #[inline(always)] - #[must_use] pub fn i2s_clk_en(&mut self) -> I2S_CLK_EN_W { I2S_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset i2s module"] #[inline(always)] - #[must_use] pub fn i2s_rst_en(&mut self) -> I2S_RST_EN_W { I2S_RST_EN_W::new(self, 1) } diff --git a/esp32h2/src/pcr/i2s_rx_clkm_conf.rs b/esp32h2/src/pcr/i2s_rx_clkm_conf.rs index 32554d8934..3596df4854 100644 --- a/esp32h2/src/pcr/i2s_rx_clkm_conf.rs +++ b/esp32h2/src/pcr/i2s_rx_clkm_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 12:19 - Integral I2S clock divider value"] #[inline(always)] - #[must_use] pub fn i2s_rx_clkm_div_num(&mut self) -> I2S_RX_CLKM_DIV_NUM_W { I2S_RX_CLKM_DIV_NUM_W::new(self, 12) } #[doc = "Bits 20:21 - Select I2S Rx module source clock. 0: no clock. 1: APLL. 2: CLK160. 3: I2S_MCLK_in."] #[inline(always)] - #[must_use] pub fn i2s_rx_clkm_sel(&mut self) -> I2S_RX_CLKM_SEL_W { I2S_RX_CLKM_SEL_W::new(self, 20) } #[doc = "Bit 22 - Set 1 to enable i2s_rx function clock"] #[inline(always)] - #[must_use] pub fn i2s_rx_clkm_en(&mut self) -> I2S_RX_CLKM_EN_W { I2S_RX_CLKM_EN_W::new(self, 22) } #[doc = "Bit 23 - This field is used to select master-clock. 0(default): clk_i2s_rx, 1: clk_i2s_tx"] #[inline(always)] - #[must_use] pub fn i2s_mclk_sel(&mut self) -> I2S_MCLK_SEL_W { I2S_MCLK_SEL_W::new(self, 23) } diff --git a/esp32h2/src/pcr/i2s_rx_clkm_div_conf.rs b/esp32h2/src/pcr/i2s_rx_clkm_div_conf.rs index 2ef4e12517..7cd6095b38 100644 --- a/esp32h2/src/pcr/i2s_rx_clkm_div_conf.rs +++ b/esp32h2/src/pcr/i2s_rx_clkm_div_conf.rs @@ -2,39 +2,39 @@ pub type R = crate::R; #[doc = "Register `I2S_RX_CLKM_DIV_CONF` writer"] pub type W = crate::W; -#[doc = "Field `I2S_RX_CLKM_DIV_Z` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] +#[doc = "Field `I2S_RX_CLKM_DIV_Z` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] pub type I2S_RX_CLKM_DIV_Z_R = crate::FieldReader; -#[doc = "Field `I2S_RX_CLKM_DIV_Z` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] +#[doc = "Field `I2S_RX_CLKM_DIV_Z` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] pub type I2S_RX_CLKM_DIV_Z_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `I2S_RX_CLKM_DIV_Y` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] +#[doc = "Field `I2S_RX_CLKM_DIV_Y` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] pub type I2S_RX_CLKM_DIV_Y_R = crate::FieldReader; -#[doc = "Field `I2S_RX_CLKM_DIV_Y` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] +#[doc = "Field `I2S_RX_CLKM_DIV_Y` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] pub type I2S_RX_CLKM_DIV_Y_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `I2S_RX_CLKM_DIV_X` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] +#[doc = "Field `I2S_RX_CLKM_DIV_X` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] pub type I2S_RX_CLKM_DIV_X_R = crate::FieldReader; -#[doc = "Field `I2S_RX_CLKM_DIV_X` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] +#[doc = "Field `I2S_RX_CLKM_DIV_X` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] pub type I2S_RX_CLKM_DIV_X_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `I2S_RX_CLKM_DIV_YN1` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] +#[doc = "Field `I2S_RX_CLKM_DIV_YN1` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] pub type I2S_RX_CLKM_DIV_YN1_R = crate::BitReader; -#[doc = "Field `I2S_RX_CLKM_DIV_YN1` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] +#[doc = "Field `I2S_RX_CLKM_DIV_YN1` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] pub type I2S_RX_CLKM_DIV_YN1_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { - #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] + #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] #[inline(always)] pub fn i2s_rx_clkm_div_z(&self) -> I2S_RX_CLKM_DIV_Z_R { I2S_RX_CLKM_DIV_Z_R::new((self.bits & 0x01ff) as u16) } - #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] + #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] #[inline(always)] pub fn i2s_rx_clkm_div_y(&self) -> I2S_RX_CLKM_DIV_Y_R { I2S_RX_CLKM_DIV_Y_R::new(((self.bits >> 9) & 0x01ff) as u16) } - #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] + #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] #[inline(always)] pub fn i2s_rx_clkm_div_x(&self) -> I2S_RX_CLKM_DIV_X_R { I2S_RX_CLKM_DIV_X_R::new(((self.bits >> 18) & 0x01ff) as u16) } - #[doc = "Bit 27 - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] + #[doc = "Bit 27 - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] #[inline(always)] pub fn i2s_rx_clkm_div_yn1(&self) -> I2S_RX_CLKM_DIV_YN1_R { I2S_RX_CLKM_DIV_YN1_R::new(((self.bits >> 27) & 1) != 0) @@ -52,27 +52,23 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] + #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] #[inline(always)] - #[must_use] pub fn i2s_rx_clkm_div_z(&mut self) -> I2S_RX_CLKM_DIV_Z_W { I2S_RX_CLKM_DIV_Z_W::new(self, 0) } - #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] + #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] #[inline(always)] - #[must_use] pub fn i2s_rx_clkm_div_y(&mut self) -> I2S_RX_CLKM_DIV_Y_W { I2S_RX_CLKM_DIV_Y_W::new(self, 9) } - #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] + #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] #[inline(always)] - #[must_use] pub fn i2s_rx_clkm_div_x(&mut self) -> I2S_RX_CLKM_DIV_X_W { I2S_RX_CLKM_DIV_X_W::new(self, 18) } - #[doc = "Bit 27 - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] + #[doc = "Bit 27 - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] #[inline(always)] - #[must_use] pub fn i2s_rx_clkm_div_yn1(&mut self) -> I2S_RX_CLKM_DIV_YN1_W { I2S_RX_CLKM_DIV_YN1_W::new(self, 27) } diff --git a/esp32h2/src/pcr/i2s_tx_clkm_conf.rs b/esp32h2/src/pcr/i2s_tx_clkm_conf.rs index d410515c52..7573eef969 100644 --- a/esp32h2/src/pcr/i2s_tx_clkm_conf.rs +++ b/esp32h2/src/pcr/i2s_tx_clkm_conf.rs @@ -2,9 +2,9 @@ pub type R = crate::R; #[doc = "Register `I2S_TX_CLKM_CONF` writer"] pub type W = crate::W; -#[doc = "Field `I2S_TX_CLKM_DIV_NUM` reader - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] +#[doc = "Field `I2S_TX_CLKM_DIV_NUM` reader - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] pub type I2S_TX_CLKM_DIV_NUM_R = crate::FieldReader; -#[doc = "Field `I2S_TX_CLKM_DIV_NUM` writer - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] +#[doc = "Field `I2S_TX_CLKM_DIV_NUM` writer - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] pub type I2S_TX_CLKM_DIV_NUM_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; #[doc = "Field `I2S_TX_CLKM_SEL` reader - Select I2S Tx module source clock. 0: XTAL clock. 1: APLL. 2: CLK160. 3: I2S_MCLK_in."] pub type I2S_TX_CLKM_SEL_R = crate::FieldReader; @@ -15,7 +15,7 @@ pub type I2S_TX_CLKM_EN_R = crate::BitReader; #[doc = "Field `I2S_TX_CLKM_EN` writer - Set 1 to enable i2s_tx function clock"] pub type I2S_TX_CLKM_EN_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { - #[doc = "Bits 12:19 - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] + #[doc = "Bits 12:19 - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] #[inline(always)] pub fn i2s_tx_clkm_div_num(&self) -> I2S_TX_CLKM_DIV_NUM_R { I2S_TX_CLKM_DIV_NUM_R::new(((self.bits >> 12) & 0xff) as u8) @@ -42,21 +42,18 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bits 12:19 - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] + #[doc = "Bits 12:19 - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] #[inline(always)] - #[must_use] pub fn i2s_tx_clkm_div_num(&mut self) -> I2S_TX_CLKM_DIV_NUM_W { I2S_TX_CLKM_DIV_NUM_W::new(self, 12) } #[doc = "Bits 20:21 - Select I2S Tx module source clock. 0: XTAL clock. 1: APLL. 2: CLK160. 3: I2S_MCLK_in."] #[inline(always)] - #[must_use] pub fn i2s_tx_clkm_sel(&mut self) -> I2S_TX_CLKM_SEL_W { I2S_TX_CLKM_SEL_W::new(self, 20) } #[doc = "Bit 22 - Set 1 to enable i2s_tx function clock"] #[inline(always)] - #[must_use] pub fn i2s_tx_clkm_en(&mut self) -> I2S_TX_CLKM_EN_W { I2S_TX_CLKM_EN_W::new(self, 22) } diff --git a/esp32h2/src/pcr/i2s_tx_clkm_div_conf.rs b/esp32h2/src/pcr/i2s_tx_clkm_div_conf.rs index f41f90d66f..1acfec93f8 100644 --- a/esp32h2/src/pcr/i2s_tx_clkm_div_conf.rs +++ b/esp32h2/src/pcr/i2s_tx_clkm_div_conf.rs @@ -2,39 +2,39 @@ pub type R = crate::R; #[doc = "Register `I2S_TX_CLKM_DIV_CONF` writer"] pub type W = crate::W; -#[doc = "Field `I2S_TX_CLKM_DIV_Z` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] +#[doc = "Field `I2S_TX_CLKM_DIV_Z` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] pub type I2S_TX_CLKM_DIV_Z_R = crate::FieldReader; -#[doc = "Field `I2S_TX_CLKM_DIV_Z` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] +#[doc = "Field `I2S_TX_CLKM_DIV_Z` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] pub type I2S_TX_CLKM_DIV_Z_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `I2S_TX_CLKM_DIV_Y` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] +#[doc = "Field `I2S_TX_CLKM_DIV_Y` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] pub type I2S_TX_CLKM_DIV_Y_R = crate::FieldReader; -#[doc = "Field `I2S_TX_CLKM_DIV_Y` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] +#[doc = "Field `I2S_TX_CLKM_DIV_Y` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] pub type I2S_TX_CLKM_DIV_Y_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `I2S_TX_CLKM_DIV_X` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] +#[doc = "Field `I2S_TX_CLKM_DIV_X` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] pub type I2S_TX_CLKM_DIV_X_R = crate::FieldReader; -#[doc = "Field `I2S_TX_CLKM_DIV_X` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] +#[doc = "Field `I2S_TX_CLKM_DIV_X` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] pub type I2S_TX_CLKM_DIV_X_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `I2S_TX_CLKM_DIV_YN1` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] +#[doc = "Field `I2S_TX_CLKM_DIV_YN1` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] pub type I2S_TX_CLKM_DIV_YN1_R = crate::BitReader; -#[doc = "Field `I2S_TX_CLKM_DIV_YN1` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] +#[doc = "Field `I2S_TX_CLKM_DIV_YN1` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] pub type I2S_TX_CLKM_DIV_YN1_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { - #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] + #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] #[inline(always)] pub fn i2s_tx_clkm_div_z(&self) -> I2S_TX_CLKM_DIV_Z_R { I2S_TX_CLKM_DIV_Z_R::new((self.bits & 0x01ff) as u16) } - #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] + #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] #[inline(always)] pub fn i2s_tx_clkm_div_y(&self) -> I2S_TX_CLKM_DIV_Y_R { I2S_TX_CLKM_DIV_Y_R::new(((self.bits >> 9) & 0x01ff) as u16) } - #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] + #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] #[inline(always)] pub fn i2s_tx_clkm_div_x(&self) -> I2S_TX_CLKM_DIV_X_R { I2S_TX_CLKM_DIV_X_R::new(((self.bits >> 18) & 0x01ff) as u16) } - #[doc = "Bit 27 - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] + #[doc = "Bit 27 - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] #[inline(always)] pub fn i2s_tx_clkm_div_yn1(&self) -> I2S_TX_CLKM_DIV_YN1_R { I2S_TX_CLKM_DIV_YN1_R::new(((self.bits >> 27) & 1) != 0) @@ -52,27 +52,23 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] + #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] #[inline(always)] - #[must_use] pub fn i2s_tx_clkm_div_z(&mut self) -> I2S_TX_CLKM_DIV_Z_W { I2S_TX_CLKM_DIV_Z_W::new(self, 0) } - #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] + #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] #[inline(always)] - #[must_use] pub fn i2s_tx_clkm_div_y(&mut self) -> I2S_TX_CLKM_DIV_Y_W { I2S_TX_CLKM_DIV_Y_W::new(self, 9) } - #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] + #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] #[inline(always)] - #[must_use] pub fn i2s_tx_clkm_div_x(&mut self) -> I2S_TX_CLKM_DIV_X_W { I2S_TX_CLKM_DIV_X_W::new(self, 18) } - #[doc = "Bit 27 - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] + #[doc = "Bit 27 - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] #[inline(always)] - #[must_use] pub fn i2s_tx_clkm_div_yn1(&mut self) -> I2S_TX_CLKM_DIV_YN1_W { I2S_TX_CLKM_DIV_YN1_W::new(self, 27) } diff --git a/esp32h2/src/pcr/intmtx_conf.rs b/esp32h2/src/pcr/intmtx_conf.rs index 00d60c1211..544f5f50d7 100644 --- a/esp32h2/src/pcr/intmtx_conf.rs +++ b/esp32h2/src/pcr/intmtx_conf.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable intmtx clock"] #[inline(always)] - #[must_use] pub fn intmtx_clk_en(&mut self) -> INTMTX_CLK_EN_W { INTMTX_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset intmtx module"] #[inline(always)] - #[must_use] pub fn intmtx_rst_en(&mut self) -> INTMTX_RST_EN_W { INTMTX_RST_EN_W::new(self, 1) } diff --git a/esp32h2/src/pcr/iomux_clk_conf.rs b/esp32h2/src/pcr/iomux_clk_conf.rs index 798bfee517..bdc5153160 100644 --- a/esp32h2/src/pcr/iomux_clk_conf.rs +++ b/esp32h2/src/pcr/iomux_clk_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 20:21 - set this field to select clock-source. 0: do not select anyone clock, 1: 80MHz, 2: FOSC, 3(default): XTAL."] #[inline(always)] - #[must_use] pub fn iomux_func_clk_sel(&mut self) -> IOMUX_FUNC_CLK_SEL_W { IOMUX_FUNC_CLK_SEL_W::new(self, 20) } #[doc = "Bit 22 - Set 1 to enable iomux function clock"] #[inline(always)] - #[must_use] pub fn iomux_func_clk_en(&mut self) -> IOMUX_FUNC_CLK_EN_W { IOMUX_FUNC_CLK_EN_W::new(self, 22) } diff --git a/esp32h2/src/pcr/iomux_conf.rs b/esp32h2/src/pcr/iomux_conf.rs index 4437457cb6..704fd8625c 100644 --- a/esp32h2/src/pcr/iomux_conf.rs +++ b/esp32h2/src/pcr/iomux_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable iomux apb clock"] #[inline(always)] - #[must_use] pub fn iomux_clk_en(&mut self) -> IOMUX_CLK_EN_W { IOMUX_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset iomux module"] #[inline(always)] - #[must_use] pub fn iomux_rst_en(&mut self) -> IOMUX_RST_EN_W { IOMUX_RST_EN_W::new(self, 1) } diff --git a/esp32h2/src/pcr/ledc_conf.rs b/esp32h2/src/pcr/ledc_conf.rs index eae83e2176..cc93b14e67 100644 --- a/esp32h2/src/pcr/ledc_conf.rs +++ b/esp32h2/src/pcr/ledc_conf.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable ledc apb clock"] #[inline(always)] - #[must_use] pub fn ledc_clk_en(&mut self) -> LEDC_CLK_EN_W { LEDC_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset ledc module"] #[inline(always)] - #[must_use] pub fn ledc_rst_en(&mut self) -> LEDC_RST_EN_W { LEDC_RST_EN_W::new(self, 1) } diff --git a/esp32h2/src/pcr/ledc_sclk_conf.rs b/esp32h2/src/pcr/ledc_sclk_conf.rs index cc4f3c1d02..cdd93662bb 100644 --- a/esp32h2/src/pcr/ledc_sclk_conf.rs +++ b/esp32h2/src/pcr/ledc_sclk_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 20:21 - set this field to select clock-source. 0(default): do not select anyone clock, 1: 80MHz, 2: FOSC, 3: XTAL."] #[inline(always)] - #[must_use] pub fn ledc_sclk_sel(&mut self) -> LEDC_SCLK_SEL_W { LEDC_SCLK_SEL_W::new(self, 20) } #[doc = "Bit 22 - Set 1 to enable ledc function clock"] #[inline(always)] - #[must_use] pub fn ledc_sclk_en(&mut self) -> LEDC_SCLK_EN_W { LEDC_SCLK_EN_W::new(self, 22) } diff --git a/esp32h2/src/pcr/mem_monitor_conf.rs b/esp32h2/src/pcr/mem_monitor_conf.rs index b9ad780de7..61013005b0 100644 --- a/esp32h2/src/pcr/mem_monitor_conf.rs +++ b/esp32h2/src/pcr/mem_monitor_conf.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable mem_monitor clock"] #[inline(always)] - #[must_use] pub fn mem_monitor_clk_en(&mut self) -> MEM_MONITOR_CLK_EN_W { MEM_MONITOR_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset mem_monitor module"] #[inline(always)] - #[must_use] pub fn mem_monitor_rst_en(&mut self) -> MEM_MONITOR_RST_EN_W { MEM_MONITOR_RST_EN_W::new(self, 1) } diff --git a/esp32h2/src/pcr/modem_conf.rs b/esp32h2/src/pcr/modem_conf.rs index 1a2a2cc693..9db0bb2a37 100644 --- a/esp32h2/src/pcr/modem_conf.rs +++ b/esp32h2/src/pcr/modem_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - xxxx"] #[inline(always)] - #[must_use] pub fn modem_clk_sel(&mut self) -> MODEM_CLK_SEL_W { MODEM_CLK_SEL_W::new(self, 0) } #[doc = "Bit 1 - xxxx"] #[inline(always)] - #[must_use] pub fn modem_clk_en(&mut self) -> MODEM_CLK_EN_W { MODEM_CLK_EN_W::new(self, 1) } #[doc = "Bit 2 - Set this file as 1 to reset modem-subsystem."] #[inline(always)] - #[must_use] pub fn modem_rst_en(&mut self) -> MODEM_RST_EN_W { MODEM_RST_EN_W::new(self, 2) } diff --git a/esp32h2/src/pcr/mspi_clk_conf.rs b/esp32h2/src/pcr/mspi_clk_conf.rs index f881484089..e5875ad433 100644 --- a/esp32h2/src/pcr/mspi_clk_conf.rs +++ b/esp32h2/src/pcr/mspi_clk_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Set as one within (0,1,2) to generate div1(default)/div2/div4 of low-speed clock-source to drive clk_mspi_fast. Only avaiable whe the clck-source is a low-speed clock-source such as XTAL/FOSC."] #[inline(always)] - #[must_use] pub fn mspi_fast_div_num(&mut self) -> MSPI_FAST_DIV_NUM_W { MSPI_FAST_DIV_NUM_W::new(self, 0) } diff --git a/esp32h2/src/pcr/mspi_conf.rs b/esp32h2/src/pcr/mspi_conf.rs index 971f5f665b..e3dace942a 100644 --- a/esp32h2/src/pcr/mspi_conf.rs +++ b/esp32h2/src/pcr/mspi_conf.rs @@ -62,25 +62,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable mspi clock, include mspi pll clock"] #[inline(always)] - #[must_use] pub fn mspi_clk_en(&mut self) -> MSPI_CLK_EN_W { MSPI_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset mspi module"] #[inline(always)] - #[must_use] pub fn mspi_rst_en(&mut self) -> MSPI_RST_EN_W { MSPI_RST_EN_W::new(self, 1) } #[doc = "Bit 2 - Set 1 to enable mspi pll clock"] #[inline(always)] - #[must_use] pub fn mspi_pll_clk_en(&mut self) -> MSPI_PLL_CLK_EN_W { MSPI_PLL_CLK_EN_W::new(self, 2) } #[doc = "Bits 3:4 - set this field to select clock-source."] #[inline(always)] - #[must_use] pub fn mspi_clk_sel(&mut self) -> MSPI_CLK_SEL_W { MSPI_CLK_SEL_W::new(self, 3) } diff --git a/esp32h2/src/pcr/parl_clk_rx_conf.rs b/esp32h2/src/pcr/parl_clk_rx_conf.rs index de8c5d366a..e950486e62 100644 --- a/esp32h2/src/pcr/parl_clk_rx_conf.rs +++ b/esp32h2/src/pcr/parl_clk_rx_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The integral part of the frequency divider factor of the parl rx clock."] #[inline(always)] - #[must_use] pub fn parl_clk_rx_div_num(&mut self) -> PARL_CLK_RX_DIV_NUM_W { PARL_CLK_RX_DIV_NUM_W::new(self, 0) } #[doc = "Bits 16:17 - set this field to select clock-source. 0(default): XTAL, 1: 240MHz, 2: FOSC, 3: user clock from pad."] #[inline(always)] - #[must_use] pub fn parl_clk_rx_sel(&mut self) -> PARL_CLK_RX_SEL_W { PARL_CLK_RX_SEL_W::new(self, 16) } #[doc = "Bit 18 - Set 1 to enable parl rx clock"] #[inline(always)] - #[must_use] pub fn parl_clk_rx_en(&mut self) -> PARL_CLK_RX_EN_W { PARL_CLK_RX_EN_W::new(self, 18) } #[doc = "Bit 19 - Set 0 to reset parl rx module"] #[inline(always)] - #[must_use] pub fn parl_rx_rst_en(&mut self) -> PARL_RX_RST_EN_W { PARL_RX_RST_EN_W::new(self, 19) } diff --git a/esp32h2/src/pcr/parl_clk_tx_conf.rs b/esp32h2/src/pcr/parl_clk_tx_conf.rs index 3031558e81..b9bdc60e21 100644 --- a/esp32h2/src/pcr/parl_clk_tx_conf.rs +++ b/esp32h2/src/pcr/parl_clk_tx_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The integral part of the frequency divider factor of the parl tx clock."] #[inline(always)] - #[must_use] pub fn parl_clk_tx_div_num(&mut self) -> PARL_CLK_TX_DIV_NUM_W { PARL_CLK_TX_DIV_NUM_W::new(self, 0) } #[doc = "Bits 16:17 - set this field to select clock-source. 0(default): XTAL, 1: 240MHz, 2: FOSC, 3: user clock from pad."] #[inline(always)] - #[must_use] pub fn parl_clk_tx_sel(&mut self) -> PARL_CLK_TX_SEL_W { PARL_CLK_TX_SEL_W::new(self, 16) } #[doc = "Bit 18 - Set 1 to enable parl tx clock"] #[inline(always)] - #[must_use] pub fn parl_clk_tx_en(&mut self) -> PARL_CLK_TX_EN_W { PARL_CLK_TX_EN_W::new(self, 18) } #[doc = "Bit 19 - Set 0 to reset parl tx module"] #[inline(always)] - #[must_use] pub fn parl_tx_rst_en(&mut self) -> PARL_TX_RST_EN_W { PARL_TX_RST_EN_W::new(self, 19) } diff --git a/esp32h2/src/pcr/parl_io_conf.rs b/esp32h2/src/pcr/parl_io_conf.rs index b7b4f4f158..bfd31bf914 100644 --- a/esp32h2/src/pcr/parl_io_conf.rs +++ b/esp32h2/src/pcr/parl_io_conf.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable parl apb clock"] #[inline(always)] - #[must_use] pub fn parl_clk_en(&mut self) -> PARL_CLK_EN_W { PARL_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset parl apb reg"] #[inline(always)] - #[must_use] pub fn parl_rst_en(&mut self) -> PARL_RST_EN_W { PARL_RST_EN_W::new(self, 1) } diff --git a/esp32h2/src/pcr/pcnt_conf.rs b/esp32h2/src/pcr/pcnt_conf.rs index d676be159e..985bc4bf1b 100644 --- a/esp32h2/src/pcr/pcnt_conf.rs +++ b/esp32h2/src/pcr/pcnt_conf.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable pcnt clock"] #[inline(always)] - #[must_use] pub fn pcnt_clk_en(&mut self) -> PCNT_CLK_EN_W { PCNT_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset pcnt module"] #[inline(always)] - #[must_use] pub fn pcnt_rst_en(&mut self) -> PCNT_RST_EN_W { PCNT_RST_EN_W::new(self, 1) } diff --git a/esp32h2/src/pcr/pll_div_clk_en.rs b/esp32h2/src/pcr/pll_div_clk_en.rs index 2515329427..05d439177f 100644 --- a/esp32h2/src/pcr/pll_div_clk_en.rs +++ b/esp32h2/src/pcr/pll_div_clk_en.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This field is used to open 96 MHz clock (SPLL) drived from SPLL. 0: close, 1: open(default). Only avaliable when high-speed clock-source SPLL is active."] #[inline(always)] - #[must_use] pub fn pll_240m_clk_en(&mut self) -> PLL_240M_CLK_EN_W { PLL_240M_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - This field is used to open 64 MHz clock (div3 of SPLL) drived from SPLL. 0: close, 1: open(default). Only avaliable when high-speed clock-source SPLL is active."] #[inline(always)] - #[must_use] pub fn pll_160m_clk_en(&mut self) -> PLL_160M_CLK_EN_W { PLL_160M_CLK_EN_W::new(self, 1) } #[doc = "Bit 2 - This field is used to open 48 MHz clock (div4 of SPLL) drived from SPLL. 0: close, 1: open(default). Only avaliable when high-speed clock-source SPLL is active."] #[inline(always)] - #[must_use] pub fn pll_120m_clk_en(&mut self) -> PLL_120M_CLK_EN_W { PLL_120M_CLK_EN_W::new(self, 2) } #[doc = "Bit 3 - This field is used to open 32 MHz clock (div6 of SPLL) drived from SPLL. 0: close, 1: open(default). Only avaliable when high-speed clock-source SPLL is active."] #[inline(always)] - #[must_use] pub fn pll_80m_clk_en(&mut self) -> PLL_80M_CLK_EN_W { PLL_80M_CLK_EN_W::new(self, 3) } #[doc = "Bit 4 - This field is used to open 16 MHz clock (div10 of SPLL) drived from SPLL. 0: close, 1: open(default). Only avaliable when high-speed clock-source SPLL is active."] #[inline(always)] - #[must_use] pub fn pll_48m_clk_en(&mut self) -> PLL_48M_CLK_EN_W { PLL_48M_CLK_EN_W::new(self, 4) } #[doc = "Bit 5 - This field is used to open 8 MHz clock (div12 of SPLL) drived from SPLL. 0: close, 1: open(default). Only avaliable when high-speed clock-source SPLL is active."] #[inline(always)] - #[must_use] pub fn pll_40m_clk_en(&mut self) -> PLL_40M_CLK_EN_W { PLL_40M_CLK_EN_W::new(self, 5) } diff --git a/esp32h2/src/pcr/pvt_monitor_conf.rs b/esp32h2/src/pcr/pvt_monitor_conf.rs index 6fb4558f0f..76fdcc51d4 100644 --- a/esp32h2/src/pcr/pvt_monitor_conf.rs +++ b/esp32h2/src/pcr/pvt_monitor_conf.rs @@ -64,19 +64,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable apb clock of pvt module"] #[inline(always)] - #[must_use] pub fn pvt_monitor_clk_en(&mut self) -> PVT_MONITOR_CLK_EN_W { PVT_MONITOR_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset all pvt monitor module"] #[inline(always)] - #[must_use] pub fn pvt_monitor_rst_en(&mut self) -> PVT_MONITOR_RST_EN_W { PVT_MONITOR_RST_EN_W::new(self, 1) } #[doc = "Bit 2 - Set 1 to enable function clock of modem pvt module"] #[inline(always)] - #[must_use] pub fn pvt_monitor_site1_clk_en( &mut self, ) -> PVT_MONITOR_SITE1_CLK_EN_W { @@ -84,7 +81,6 @@ impl W { } #[doc = "Bit 3 - Set 1 to enable function clock of cpu pvt module"] #[inline(always)] - #[must_use] pub fn pvt_monitor_site2_clk_en( &mut self, ) -> PVT_MONITOR_SITE2_CLK_EN_W { @@ -92,7 +88,6 @@ impl W { } #[doc = "Bit 4 - Set 1 to enable function clock of hp_peri pvt module"] #[inline(always)] - #[must_use] pub fn pvt_monitor_site3_clk_en( &mut self, ) -> PVT_MONITOR_SITE3_CLK_EN_W { diff --git a/esp32h2/src/pcr/pvt_monitor_func_clk_conf.rs b/esp32h2/src/pcr/pvt_monitor_func_clk_conf.rs index 92deb91fbb..1c3b9cea53 100644 --- a/esp32h2/src/pcr/pvt_monitor_func_clk_conf.rs +++ b/esp32h2/src/pcr/pvt_monitor_func_clk_conf.rs @@ -47,7 +47,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - The integral part of the frequency divider factor of the pvt_monitor function clock."] #[inline(always)] - #[must_use] pub fn pvt_monitor_func_clk_div_num( &mut self, ) -> PVT_MONITOR_FUNC_CLK_DIV_NUM_W { @@ -55,7 +54,6 @@ impl W { } #[doc = "Bit 20 - set this field to select clock-source. 0: XTAL, 1(default): 160MHz drived by SPLL divided by 3."] #[inline(always)] - #[must_use] pub fn pvt_monitor_func_clk_sel( &mut self, ) -> PVT_MONITOR_FUNC_CLK_SEL_W { @@ -63,7 +61,6 @@ impl W { } #[doc = "Bit 22 - Set 1 to enable source clock of pvt sitex"] #[inline(always)] - #[must_use] pub fn pvt_monitor_func_clk_en( &mut self, ) -> PVT_MONITOR_FUNC_CLK_EN_W { diff --git a/esp32h2/src/pcr/pwdet_sar_clk_conf.rs b/esp32h2/src/pcr/pwdet_sar_clk_conf.rs index 8dad5d6be0..3ca858cb02 100644 --- a/esp32h2/src/pcr/pwdet_sar_clk_conf.rs +++ b/esp32h2/src/pcr/pwdet_sar_clk_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - xxxx"] #[inline(always)] - #[must_use] pub fn pwdet_sar_clk_div_num(&mut self) -> PWDET_SAR_CLK_DIV_NUM_W { PWDET_SAR_CLK_DIV_NUM_W::new(self, 0) } #[doc = "Bit 8 - xxxx"] #[inline(always)] - #[must_use] pub fn pwdet_sar_reader_en(&mut self) -> PWDET_SAR_READER_EN_W { PWDET_SAR_READER_EN_W::new(self, 8) } diff --git a/esp32h2/src/pcr/pwm_clk_conf.rs b/esp32h2/src/pcr/pwm_clk_conf.rs index 306afb0b2b..048a3d7f46 100644 --- a/esp32h2/src/pcr/pwm_clk_conf.rs +++ b/esp32h2/src/pcr/pwm_clk_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 12:19 - The integral part of the frequency divider factor of the pwm function clock."] #[inline(always)] - #[must_use] pub fn pwm_div_num(&mut self) -> PWM_DIV_NUM_W { PWM_DIV_NUM_W::new(self, 12) } #[doc = "Bits 20:21 - set this field to select clock-source. 0(default): do not select anyone clock, 1: 160MHz, 2: XTAL, 3: FOSC."] #[inline(always)] - #[must_use] pub fn pwm_clkm_sel(&mut self) -> PWM_CLKM_SEL_W { PWM_CLKM_SEL_W::new(self, 20) } #[doc = "Bit 22 - set this field as 1 to activate pwm clkm."] #[inline(always)] - #[must_use] pub fn pwm_clkm_en(&mut self) -> PWM_CLKM_EN_W { PWM_CLKM_EN_W::new(self, 22) } diff --git a/esp32h2/src/pcr/pwm_conf.rs b/esp32h2/src/pcr/pwm_conf.rs index d47579d341..1c5353e1af 100644 --- a/esp32h2/src/pcr/pwm_conf.rs +++ b/esp32h2/src/pcr/pwm_conf.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable pwm clock"] #[inline(always)] - #[must_use] pub fn pwm_clk_en(&mut self) -> PWM_CLK_EN_W { PWM_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset pwm module"] #[inline(always)] - #[must_use] pub fn pwm_rst_en(&mut self) -> PWM_RST_EN_W { PWM_RST_EN_W::new(self, 1) } diff --git a/esp32h2/src/pcr/regdma_conf.rs b/esp32h2/src/pcr/regdma_conf.rs index af80c079b0..0ac7c6393c 100644 --- a/esp32h2/src/pcr/regdma_conf.rs +++ b/esp32h2/src/pcr/regdma_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable regdma clock"] #[inline(always)] - #[must_use] pub fn regdma_clk_en(&mut self) -> REGDMA_CLK_EN_W { REGDMA_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset regdma module"] #[inline(always)] - #[must_use] pub fn regdma_rst_en(&mut self) -> REGDMA_RST_EN_W { REGDMA_RST_EN_W::new(self, 1) } diff --git a/esp32h2/src/pcr/reset_event_bypass.rs b/esp32h2/src/pcr/reset_event_bypass.rs index 64e78d38c4..20ef2d5cb1 100644 --- a/esp32h2/src/pcr/reset_event_bypass.rs +++ b/esp32h2/src/pcr/reset_event_bypass.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This field is used to control reset event relationship for tee_reg/apm_reg/hp_system_reg. 1: tee_reg/apm_reg/hp_system_reg will only be reset by power-reset. some reset event will be bypass. 0: tee_reg/apm_reg/hp_system_reg will not only be reset by power-reset, but also some reset event."] #[inline(always)] - #[must_use] pub fn apm(&mut self) -> APM_W { APM_W::new(self, 0) } #[doc = "Bit 1 - This field is used to control reset event relationship for system-bus. 1: system bus (including arbiter/router) will only be reset by power-reset. some reset event will be bypass. 0: system bus (including arbiter/router) will not only be reset by power-reset, but also some reset event."] #[inline(always)] - #[must_use] pub fn reset_event_bypass(&mut self) -> RESET_EVENT_BYPASS_W { RESET_EVENT_BYPASS_W::new(self, 1) } diff --git a/esp32h2/src/pcr/rmt_conf.rs b/esp32h2/src/pcr/rmt_conf.rs index 5067066528..7a6b029eef 100644 --- a/esp32h2/src/pcr/rmt_conf.rs +++ b/esp32h2/src/pcr/rmt_conf.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable rmt apb clock"] #[inline(always)] - #[must_use] pub fn rmt_clk_en(&mut self) -> RMT_CLK_EN_W { RMT_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset rmt module"] #[inline(always)] - #[must_use] pub fn rmt_rst_en(&mut self) -> RMT_RST_EN_W { RMT_RST_EN_W::new(self, 1) } diff --git a/esp32h2/src/pcr/rmt_sclk_conf.rs b/esp32h2/src/pcr/rmt_sclk_conf.rs index 5f33051850..0dedd0e0fe 100644 --- a/esp32h2/src/pcr/rmt_sclk_conf.rs +++ b/esp32h2/src/pcr/rmt_sclk_conf.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - The denominator of the frequency divider factor of the rmt function clock."] #[inline(always)] - #[must_use] pub fn sclk_div_a(&mut self) -> SCLK_DIV_A_W { SCLK_DIV_A_W::new(self, 0) } #[doc = "Bits 6:11 - The numerator of the frequency divider factor of the rmt function clock."] #[inline(always)] - #[must_use] pub fn sclk_div_b(&mut self) -> SCLK_DIV_B_W { SCLK_DIV_B_W::new(self, 6) } #[doc = "Bits 12:19 - The integral part of the frequency divider factor of the rmt function clock."] #[inline(always)] - #[must_use] pub fn sclk_div_num(&mut self) -> SCLK_DIV_NUM_W { SCLK_DIV_NUM_W::new(self, 12) } #[doc = "Bit 20 - set this field to select clock-source. 0: do not select anyone clock, 1(default): 80MHz, 2: FOSC, 3: XTAL."] #[inline(always)] - #[must_use] pub fn sclk_sel(&mut self) -> SCLK_SEL_W { SCLK_SEL_W::new(self, 20) } #[doc = "Bit 21 - Set 1 to enable rmt function clock"] #[inline(always)] - #[must_use] pub fn sclk_en(&mut self) -> SCLK_EN_W { SCLK_EN_W::new(self, 21) } diff --git a/esp32h2/src/pcr/rsa_conf.rs b/esp32h2/src/pcr/rsa_conf.rs index 79d2c684eb..6bc982ccc4 100644 --- a/esp32h2/src/pcr/rsa_conf.rs +++ b/esp32h2/src/pcr/rsa_conf.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable rsa clock"] #[inline(always)] - #[must_use] pub fn rsa_clk_en(&mut self) -> RSA_CLK_EN_W { RSA_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset rsa module"] #[inline(always)] - #[must_use] pub fn rsa_rst_en(&mut self) -> RSA_RST_EN_W { RSA_RST_EN_W::new(self, 1) } diff --git a/esp32h2/src/pcr/rsa_pd_ctrl.rs b/esp32h2/src/pcr/rsa_pd_ctrl.rs index d12a4b0cb6..36e55a4d3c 100644 --- a/esp32h2/src/pcr/rsa_pd_ctrl.rs +++ b/esp32h2/src/pcr/rsa_pd_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to power down rsa internal memory."] #[inline(always)] - #[must_use] pub fn rsa_mem_pd(&mut self) -> RSA_MEM_PD_W { RSA_MEM_PD_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to force power up rsa internal memory"] #[inline(always)] - #[must_use] pub fn rsa_mem_force_pu(&mut self) -> RSA_MEM_FORCE_PU_W { RSA_MEM_FORCE_PU_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to force power down rsa internal memory."] #[inline(always)] - #[must_use] pub fn rsa_mem_force_pd(&mut self) -> RSA_MEM_FORCE_PD_W { RSA_MEM_FORCE_PD_W::new(self, 2) } diff --git a/esp32h2/src/pcr/sar_clk_div.rs b/esp32h2/src/pcr/sar_clk_div.rs index 62751e5391..fda5a56b6c 100644 --- a/esp32h2/src/pcr/sar_clk_div.rs +++ b/esp32h2/src/pcr/sar_clk_div.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - xxxx"] #[inline(always)] - #[must_use] pub fn sar2_clk_div_num(&mut self) -> SAR2_CLK_DIV_NUM_W { SAR2_CLK_DIV_NUM_W::new(self, 0) } #[doc = "Bits 8:15 - xxxx"] #[inline(always)] - #[must_use] pub fn sar1_clk_div_num(&mut self) -> SAR1_CLK_DIV_NUM_W { SAR1_CLK_DIV_NUM_W::new(self, 8) } diff --git a/esp32h2/src/pcr/saradc_clkm_conf.rs b/esp32h2/src/pcr/saradc_clkm_conf.rs index 0ea79fa6d6..2d4162fe68 100644 --- a/esp32h2/src/pcr/saradc_clkm_conf.rs +++ b/esp32h2/src/pcr/saradc_clkm_conf.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - The denominator of the frequency divider factor of the saradc function clock."] #[inline(always)] - #[must_use] pub fn saradc_clkm_div_a(&mut self) -> SARADC_CLKM_DIV_A_W { SARADC_CLKM_DIV_A_W::new(self, 0) } #[doc = "Bits 6:11 - The numerator of the frequency divider factor of the saradc function clock."] #[inline(always)] - #[must_use] pub fn saradc_clkm_div_b(&mut self) -> SARADC_CLKM_DIV_B_W { SARADC_CLKM_DIV_B_W::new(self, 6) } #[doc = "Bits 12:19 - The integral part of the frequency divider factor of the saradc function clock."] #[inline(always)] - #[must_use] pub fn saradc_clkm_div_num(&mut self) -> SARADC_CLKM_DIV_NUM_W { SARADC_CLKM_DIV_NUM_W::new(self, 12) } #[doc = "Bits 20:21 - set this field to select clock-source. 0(default): XTAL, 1: 240MHz, 2: FOSC, 3: reserved."] #[inline(always)] - #[must_use] pub fn saradc_clkm_sel(&mut self) -> SARADC_CLKM_SEL_W { SARADC_CLKM_SEL_W::new(self, 20) } #[doc = "Bit 22 - Set 1 to enable saradc function clock"] #[inline(always)] - #[must_use] pub fn saradc_clkm_en(&mut self) -> SARADC_CLKM_EN_W { SARADC_CLKM_EN_W::new(self, 22) } diff --git a/esp32h2/src/pcr/saradc_conf.rs b/esp32h2/src/pcr/saradc_conf.rs index 8dc74b10de..b90f074a8e 100644 --- a/esp32h2/src/pcr/saradc_conf.rs +++ b/esp32h2/src/pcr/saradc_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - no use"] #[inline(always)] - #[must_use] pub fn saradc_clk_en(&mut self) -> SARADC_CLK_EN_W { SARADC_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset function_register of saradc module"] #[inline(always)] - #[must_use] pub fn saradc_rst_en(&mut self) -> SARADC_RST_EN_W { SARADC_RST_EN_W::new(self, 1) } #[doc = "Bit 2 - Set 1 to enable saradc apb clock"] #[inline(always)] - #[must_use] pub fn saradc_reg_clk_en(&mut self) -> SARADC_REG_CLK_EN_W { SARADC_REG_CLK_EN_W::new(self, 2) } #[doc = "Bit 3 - Set 0 to reset apb_register of saradc module"] #[inline(always)] - #[must_use] pub fn saradc_reg_rst_en(&mut self) -> SARADC_REG_RST_EN_W { SARADC_REG_RST_EN_W::new(self, 3) } diff --git a/esp32h2/src/pcr/sdm_inv_phase_conf.rs b/esp32h2/src/pcr/sdm_inv_phase_conf.rs index 18fa1a3466..b2995a5527 100644 --- a/esp32h2/src/pcr/sdm_inv_phase_conf.rs +++ b/esp32h2/src/pcr/sdm_inv_phase_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - xxxx"] #[inline(always)] - #[must_use] pub fn clk_sdm_inv_phase_ena(&mut self) -> CLK_SDM_INV_PHASE_ENA_W { CLK_SDM_INV_PHASE_ENA_W::new(self, 0) } #[doc = "Bits 1:3 - xxxx"] #[inline(always)] - #[must_use] pub fn clk_sdm_inv_phase_sel(&mut self) -> CLK_SDM_INV_PHASE_SEL_W { CLK_SDM_INV_PHASE_SEL_W::new(self, 1) } diff --git a/esp32h2/src/pcr/sec_conf.rs b/esp32h2/src/pcr/sec_conf.rs index 2fcce06672..c206e2161f 100644 --- a/esp32h2/src/pcr/sec_conf.rs +++ b/esp32h2/src/pcr/sec_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - xxxx"] #[inline(always)] - #[must_use] pub fn sec_clk_sel(&mut self) -> SEC_CLK_SEL_W { SEC_CLK_SEL_W::new(self, 0) } diff --git a/esp32h2/src/pcr/sha_conf.rs b/esp32h2/src/pcr/sha_conf.rs index 5fee684d4a..902122b243 100644 --- a/esp32h2/src/pcr/sha_conf.rs +++ b/esp32h2/src/pcr/sha_conf.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable sha clock"] #[inline(always)] - #[must_use] pub fn sha_clk_en(&mut self) -> SHA_CLK_EN_W { SHA_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset sha module"] #[inline(always)] - #[must_use] pub fn sha_rst_en(&mut self) -> SHA_RST_EN_W { SHA_RST_EN_W::new(self, 1) } diff --git a/esp32h2/src/pcr/spi2_clkm_conf.rs b/esp32h2/src/pcr/spi2_clkm_conf.rs index bd721f5269..b85696551e 100644 --- a/esp32h2/src/pcr/spi2_clkm_conf.rs +++ b/esp32h2/src/pcr/spi2_clkm_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 20:21 - set this field to select clock-source. 0(default): XTAL, 1: 80MHz, 2: FOSC, 3: reserved."] #[inline(always)] - #[must_use] pub fn spi2_clkm_sel(&mut self) -> SPI2_CLKM_SEL_W { SPI2_CLKM_SEL_W::new(self, 20) } #[doc = "Bit 22 - Set 1 to enable spi2 function clock"] #[inline(always)] - #[must_use] pub fn spi2_clkm_en(&mut self) -> SPI2_CLKM_EN_W { SPI2_CLKM_EN_W::new(self, 22) } diff --git a/esp32h2/src/pcr/spi2_conf.rs b/esp32h2/src/pcr/spi2_conf.rs index 782279e6bd..6525df2a08 100644 --- a/esp32h2/src/pcr/spi2_conf.rs +++ b/esp32h2/src/pcr/spi2_conf.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable spi2 apb clock"] #[inline(always)] - #[must_use] pub fn spi2_clk_en(&mut self) -> SPI2_CLK_EN_W { SPI2_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset spi2 module"] #[inline(always)] - #[must_use] pub fn spi2_rst_en(&mut self) -> SPI2_RST_EN_W { SPI2_RST_EN_W::new(self, 1) } diff --git a/esp32h2/src/pcr/sram_power_conf_0.rs b/esp32h2/src/pcr/sram_power_conf_0.rs index f6f83f10af..ca7d9bad0c 100644 --- a/esp32h2/src/pcr/sram_power_conf_0.rs +++ b/esp32h2/src/pcr/sram_power_conf_0.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 13:14 - Set this bit to force power up ROM"] #[inline(always)] - #[must_use] pub fn rom_force_pu(&mut self) -> ROM_FORCE_PU_W { ROM_FORCE_PU_W::new(self, 13) } #[doc = "Bits 15:16 - Set this bit to force power down ROM."] #[inline(always)] - #[must_use] pub fn rom_force_pd(&mut self) -> ROM_FORCE_PD_W { ROM_FORCE_PD_W::new(self, 15) } #[doc = "Bits 17:18 - 1: Force to open the clock and bypass the gate-clock when accessing the ROM. 0: A gate-clock will be used when accessing the ROM."] #[inline(always)] - #[must_use] pub fn rom_clkgate_force_on(&mut self) -> ROM_CLKGATE_FORCE_ON_W { ROM_CLKGATE_FORCE_ON_W::new(self, 17) } diff --git a/esp32h2/src/pcr/sram_power_conf_1.rs b/esp32h2/src/pcr/sram_power_conf_1.rs index 40d36d761c..9364ade08b 100644 --- a/esp32h2/src/pcr/sram_power_conf_1.rs +++ b/esp32h2/src/pcr/sram_power_conf_1.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Set this bit to force power up SRAM"] #[inline(always)] - #[must_use] pub fn sram_force_pu(&mut self) -> SRAM_FORCE_PU_W { SRAM_FORCE_PU_W::new(self, 0) } #[doc = "Bits 10:14 - Set this bit to force power down SRAM."] #[inline(always)] - #[must_use] pub fn sram_force_pd(&mut self) -> SRAM_FORCE_PD_W { SRAM_FORCE_PD_W::new(self, 10) } #[doc = "Bits 25:29 - 1: Force to open the clock and bypass the gate-clock when accessing the SRAM. 0: A gate-clock will be used when accessing the SRAM."] #[inline(always)] - #[must_use] pub fn sram_clkgate_force_on(&mut self) -> SRAM_CLKGATE_FORCE_ON_W { SRAM_CLKGATE_FORCE_ON_W::new(self, 25) } diff --git a/esp32h2/src/pcr/sysclk_conf.rs b/esp32h2/src/pcr/sysclk_conf.rs index 4b8a01ec66..40fe8f7626 100644 --- a/esp32h2/src/pcr/sysclk_conf.rs +++ b/esp32h2/src/pcr/sysclk_conf.rs @@ -48,7 +48,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:17 - This field is used to select clock source. 0: XTAL, 1: SPLL, 2: FOSC, 3: reserved."] #[inline(always)] - #[must_use] pub fn soc_clk_sel(&mut self) -> SOC_CLK_SEL_W { SOC_CLK_SEL_W::new(self, 16) } diff --git a/esp32h2/src/pcr/systimer_conf.rs b/esp32h2/src/pcr/systimer_conf.rs index a51870e420..abc47de428 100644 --- a/esp32h2/src/pcr/systimer_conf.rs +++ b/esp32h2/src/pcr/systimer_conf.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable systimer apb clock"] #[inline(always)] - #[must_use] pub fn systimer_clk_en(&mut self) -> SYSTIMER_CLK_EN_W { SYSTIMER_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset systimer module"] #[inline(always)] - #[must_use] pub fn systimer_rst_en(&mut self) -> SYSTIMER_RST_EN_W { SYSTIMER_RST_EN_W::new(self, 1) } diff --git a/esp32h2/src/pcr/systimer_func_clk_conf.rs b/esp32h2/src/pcr/systimer_func_clk_conf.rs index 4bd79a2e9c..24f5667e72 100644 --- a/esp32h2/src/pcr/systimer_func_clk_conf.rs +++ b/esp32h2/src/pcr/systimer_func_clk_conf.rs @@ -34,7 +34,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 20 - set this field to select clock-source. 0(default): XTAL, 1: FOSC."] #[inline(always)] - #[must_use] pub fn systimer_func_clk_sel( &mut self, ) -> SYSTIMER_FUNC_CLK_SEL_W { @@ -42,7 +41,6 @@ impl W { } #[doc = "Bit 22 - Set 1 to enable systimer function clock"] #[inline(always)] - #[must_use] pub fn systimer_func_clk_en(&mut self) -> SYSTIMER_FUNC_CLK_EN_W { SYSTIMER_FUNC_CLK_EN_W::new(self, 22) } diff --git a/esp32h2/src/pcr/timeout_conf.rs b/esp32h2/src/pcr/timeout_conf.rs index be32ebdd72..6d75ffbdfa 100644 --- a/esp32h2/src/pcr/timeout_conf.rs +++ b/esp32h2/src/pcr/timeout_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - Set 0 to reset cpu_peri timeout module"] #[inline(always)] - #[must_use] pub fn cpu_timeout_rst_en(&mut self) -> CPU_TIMEOUT_RST_EN_W { CPU_TIMEOUT_RST_EN_W::new(self, 1) } #[doc = "Bit 2 - Set 0 to reset hp_peri timeout module and hp_modem timeout module"] #[inline(always)] - #[must_use] pub fn hp_timeout_rst_en(&mut self) -> HP_TIMEOUT_RST_EN_W { HP_TIMEOUT_RST_EN_W::new(self, 2) } diff --git a/esp32h2/src/pcr/timergroup0_conf.rs b/esp32h2/src/pcr/timergroup0_conf.rs index 5d8704a868..24f89952c8 100644 --- a/esp32h2/src/pcr/timergroup0_conf.rs +++ b/esp32h2/src/pcr/timergroup0_conf.rs @@ -58,13 +58,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable timer_group0 apb clock"] #[inline(always)] - #[must_use] pub fn tg0_clk_en(&mut self) -> TG0_CLK_EN_W { TG0_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset timer_group0 module"] #[inline(always)] - #[must_use] pub fn tg0_rst_en(&mut self) -> TG0_RST_EN_W { TG0_RST_EN_W::new(self, 1) } diff --git a/esp32h2/src/pcr/timergroup0_timer_clk_conf.rs b/esp32h2/src/pcr/timergroup0_timer_clk_conf.rs index 070bf938c5..cd37fecea2 100644 --- a/esp32h2/src/pcr/timergroup0_timer_clk_conf.rs +++ b/esp32h2/src/pcr/timergroup0_timer_clk_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 20:21 - set this field to select clock-source. 0(default): XTAL, 1: 80MHz, 2: FOSC, 3: reserved."] #[inline(always)] - #[must_use] pub fn tg0_timer_clk_sel(&mut self) -> TG0_TIMER_CLK_SEL_W { TG0_TIMER_CLK_SEL_W::new(self, 20) } #[doc = "Bit 22 - Set 1 to enable timer_group0 timer clock"] #[inline(always)] - #[must_use] pub fn tg0_timer_clk_en(&mut self) -> TG0_TIMER_CLK_EN_W { TG0_TIMER_CLK_EN_W::new(self, 22) } diff --git a/esp32h2/src/pcr/timergroup0_wdt_clk_conf.rs b/esp32h2/src/pcr/timergroup0_wdt_clk_conf.rs index a5173703b0..fe22c48abd 100644 --- a/esp32h2/src/pcr/timergroup0_wdt_clk_conf.rs +++ b/esp32h2/src/pcr/timergroup0_wdt_clk_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 20:21 - set this field to select clock-source. 0(default): XTAL, 1: 80MHz, 2: FOSC, 3: reserved."] #[inline(always)] - #[must_use] pub fn tg0_wdt_clk_sel(&mut self) -> TG0_WDT_CLK_SEL_W { TG0_WDT_CLK_SEL_W::new(self, 20) } #[doc = "Bit 22 - Set 1 to enable timer_group0 wdt clock"] #[inline(always)] - #[must_use] pub fn tg0_wdt_clk_en(&mut self) -> TG0_WDT_CLK_EN_W { TG0_WDT_CLK_EN_W::new(self, 22) } diff --git a/esp32h2/src/pcr/timergroup1_conf.rs b/esp32h2/src/pcr/timergroup1_conf.rs index 4779df2f8a..2970ea6915 100644 --- a/esp32h2/src/pcr/timergroup1_conf.rs +++ b/esp32h2/src/pcr/timergroup1_conf.rs @@ -58,13 +58,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable timer_group1 apb clock"] #[inline(always)] - #[must_use] pub fn tg1_clk_en(&mut self) -> TG1_CLK_EN_W { TG1_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset timer_group1 module"] #[inline(always)] - #[must_use] pub fn tg1_rst_en(&mut self) -> TG1_RST_EN_W { TG1_RST_EN_W::new(self, 1) } diff --git a/esp32h2/src/pcr/timergroup1_timer_clk_conf.rs b/esp32h2/src/pcr/timergroup1_timer_clk_conf.rs index 56ef4d6be1..85d7290285 100644 --- a/esp32h2/src/pcr/timergroup1_timer_clk_conf.rs +++ b/esp32h2/src/pcr/timergroup1_timer_clk_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 20:21 - set this field to select clock-source. 0(default): XTAL, 1: 80MHz, 2: FOSC, 3: reserved."] #[inline(always)] - #[must_use] pub fn tg1_timer_clk_sel(&mut self) -> TG1_TIMER_CLK_SEL_W { TG1_TIMER_CLK_SEL_W::new(self, 20) } #[doc = "Bit 22 - Set 1 to enable timer_group1 timer clock"] #[inline(always)] - #[must_use] pub fn tg1_timer_clk_en(&mut self) -> TG1_TIMER_CLK_EN_W { TG1_TIMER_CLK_EN_W::new(self, 22) } diff --git a/esp32h2/src/pcr/timergroup1_wdt_clk_conf.rs b/esp32h2/src/pcr/timergroup1_wdt_clk_conf.rs index 17610affac..cc483aabc5 100644 --- a/esp32h2/src/pcr/timergroup1_wdt_clk_conf.rs +++ b/esp32h2/src/pcr/timergroup1_wdt_clk_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 20:21 - set this field to select clock-source. 0(default): XTAL, 1: 80MHz, 2: FOSC, 3: reserved."] #[inline(always)] - #[must_use] pub fn tg1_wdt_clk_sel(&mut self) -> TG1_WDT_CLK_SEL_W { TG1_WDT_CLK_SEL_W::new(self, 20) } #[doc = "Bit 22 - Set 1 to enable timer_group0 wdt clock"] #[inline(always)] - #[must_use] pub fn tg1_wdt_clk_en(&mut self) -> TG1_WDT_CLK_EN_W { TG1_WDT_CLK_EN_W::new(self, 22) } diff --git a/esp32h2/src/pcr/trace_conf.rs b/esp32h2/src/pcr/trace_conf.rs index c9934e2002..820a06ad9f 100644 --- a/esp32h2/src/pcr/trace_conf.rs +++ b/esp32h2/src/pcr/trace_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable trace clock"] #[inline(always)] - #[must_use] pub fn trace_clk_en(&mut self) -> TRACE_CLK_EN_W { TRACE_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset trace module"] #[inline(always)] - #[must_use] pub fn trace_rst_en(&mut self) -> TRACE_RST_EN_W { TRACE_RST_EN_W::new(self, 1) } diff --git a/esp32h2/src/pcr/tsens_clk_conf.rs b/esp32h2/src/pcr/tsens_clk_conf.rs index d0b7761d2c..d36a6c7ec7 100644 --- a/esp32h2/src/pcr/tsens_clk_conf.rs +++ b/esp32h2/src/pcr/tsens_clk_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 20 - set this field to select clock-source. 0(default): FOSC, 1: XTAL."] #[inline(always)] - #[must_use] pub fn tsens_clk_sel(&mut self) -> TSENS_CLK_SEL_W { TSENS_CLK_SEL_W::new(self, 20) } #[doc = "Bit 22 - Set 1 to enable tsens clock"] #[inline(always)] - #[must_use] pub fn tsens_clk_en(&mut self) -> TSENS_CLK_EN_W { TSENS_CLK_EN_W::new(self, 22) } #[doc = "Bit 23 - Set 0 to reset tsens module"] #[inline(always)] - #[must_use] pub fn tsens_rst_en(&mut self) -> TSENS_RST_EN_W { TSENS_RST_EN_W::new(self, 23) } diff --git a/esp32h2/src/pcr/twai0_conf.rs b/esp32h2/src/pcr/twai0_conf.rs index dd135c3211..c266649a4b 100644 --- a/esp32h2/src/pcr/twai0_conf.rs +++ b/esp32h2/src/pcr/twai0_conf.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable twai0 apb clock"] #[inline(always)] - #[must_use] pub fn twai0_clk_en(&mut self) -> TWAI0_CLK_EN_W { TWAI0_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset twai0 module"] #[inline(always)] - #[must_use] pub fn twai0_rst_en(&mut self) -> TWAI0_RST_EN_W { TWAI0_RST_EN_W::new(self, 1) } diff --git a/esp32h2/src/pcr/twai0_func_clk_conf.rs b/esp32h2/src/pcr/twai0_func_clk_conf.rs index 2bc40a9d83..10ba6b324b 100644 --- a/esp32h2/src/pcr/twai0_func_clk_conf.rs +++ b/esp32h2/src/pcr/twai0_func_clk_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 20 - set this field to select clock-source. 0(default): XTAL, 1: FOSC."] #[inline(always)] - #[must_use] pub fn twai0_func_clk_sel(&mut self) -> TWAI0_FUNC_CLK_SEL_W { TWAI0_FUNC_CLK_SEL_W::new(self, 20) } #[doc = "Bit 22 - Set 1 to enable twai0 function clock"] #[inline(always)] - #[must_use] pub fn twai0_func_clk_en(&mut self) -> TWAI0_FUNC_CLK_EN_W { TWAI0_FUNC_CLK_EN_W::new(self, 22) } diff --git a/esp32h2/src/pcr/uart0_conf.rs b/esp32h2/src/pcr/uart0_conf.rs index 22afa10185..0472b74378 100644 --- a/esp32h2/src/pcr/uart0_conf.rs +++ b/esp32h2/src/pcr/uart0_conf.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable uart0 apb clock"] #[inline(always)] - #[must_use] pub fn uart0_clk_en(&mut self) -> UART0_CLK_EN_W { UART0_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset uart0 module"] #[inline(always)] - #[must_use] pub fn uart0_rst_en(&mut self) -> UART0_RST_EN_W { UART0_RST_EN_W::new(self, 1) } diff --git a/esp32h2/src/pcr/uart0_pd_ctrl.rs b/esp32h2/src/pcr/uart0_pd_ctrl.rs index 3536056e88..b62eb3f30c 100644 --- a/esp32h2/src/pcr/uart0_pd_ctrl.rs +++ b/esp32h2/src/pcr/uart0_pd_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - Set this bit to force power down UART0 memory."] #[inline(always)] - #[must_use] pub fn uart0_mem_force_pu(&mut self) -> UART0_MEM_FORCE_PU_W { UART0_MEM_FORCE_PU_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to force power up UART0 memory."] #[inline(always)] - #[must_use] pub fn uart0_mem_force_pd(&mut self) -> UART0_MEM_FORCE_PD_W { UART0_MEM_FORCE_PD_W::new(self, 2) } diff --git a/esp32h2/src/pcr/uart0_sclk_conf.rs b/esp32h2/src/pcr/uart0_sclk_conf.rs index 57d549b09d..9ed835c311 100644 --- a/esp32h2/src/pcr/uart0_sclk_conf.rs +++ b/esp32h2/src/pcr/uart0_sclk_conf.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - The denominator of the frequency divider factor of the uart0 function clock."] #[inline(always)] - #[must_use] pub fn uart0_sclk_div_a(&mut self) -> UART0_SCLK_DIV_A_W { UART0_SCLK_DIV_A_W::new(self, 0) } #[doc = "Bits 6:11 - The numerator of the frequency divider factor of the uart0 function clock."] #[inline(always)] - #[must_use] pub fn uart0_sclk_div_b(&mut self) -> UART0_SCLK_DIV_B_W { UART0_SCLK_DIV_B_W::new(self, 6) } #[doc = "Bits 12:19 - The integral part of the frequency divider factor of the uart0 function clock."] #[inline(always)] - #[must_use] pub fn uart0_sclk_div_num(&mut self) -> UART0_SCLK_DIV_NUM_W { UART0_SCLK_DIV_NUM_W::new(self, 12) } #[doc = "Bits 20:21 - set this field to select clock-source. 0: do not select anyone clock, 1: 80MHz, 2: FOSC, 3(default): XTAL."] #[inline(always)] - #[must_use] pub fn uart0_sclk_sel(&mut self) -> UART0_SCLK_SEL_W { UART0_SCLK_SEL_W::new(self, 20) } #[doc = "Bit 22 - Set 1 to enable uart0 function clock"] #[inline(always)] - #[must_use] pub fn uart0_sclk_en(&mut self) -> UART0_SCLK_EN_W { UART0_SCLK_EN_W::new(self, 22) } diff --git a/esp32h2/src/pcr/uart1_conf.rs b/esp32h2/src/pcr/uart1_conf.rs index 63dc09ad8a..50274776c0 100644 --- a/esp32h2/src/pcr/uart1_conf.rs +++ b/esp32h2/src/pcr/uart1_conf.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable uart1 apb clock"] #[inline(always)] - #[must_use] pub fn uart1_clk_en(&mut self) -> UART1_CLK_EN_W { UART1_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset uart1 module"] #[inline(always)] - #[must_use] pub fn uart1_rst_en(&mut self) -> UART1_RST_EN_W { UART1_RST_EN_W::new(self, 1) } diff --git a/esp32h2/src/pcr/uart1_pd_ctrl.rs b/esp32h2/src/pcr/uart1_pd_ctrl.rs index 949f1d2ccb..02c57d4b5b 100644 --- a/esp32h2/src/pcr/uart1_pd_ctrl.rs +++ b/esp32h2/src/pcr/uart1_pd_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - Set this bit to force power down UART1 memory."] #[inline(always)] - #[must_use] pub fn uart1_mem_force_pu(&mut self) -> UART1_MEM_FORCE_PU_W { UART1_MEM_FORCE_PU_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to force power up UART1 memory."] #[inline(always)] - #[must_use] pub fn uart1_mem_force_pd(&mut self) -> UART1_MEM_FORCE_PD_W { UART1_MEM_FORCE_PD_W::new(self, 2) } diff --git a/esp32h2/src/pcr/uart1_sclk_conf.rs b/esp32h2/src/pcr/uart1_sclk_conf.rs index 21ccfbdb15..8441ecc6c3 100644 --- a/esp32h2/src/pcr/uart1_sclk_conf.rs +++ b/esp32h2/src/pcr/uart1_sclk_conf.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - The denominator of the frequency divider factor of the uart1 function clock."] #[inline(always)] - #[must_use] pub fn uart1_sclk_div_a(&mut self) -> UART1_SCLK_DIV_A_W { UART1_SCLK_DIV_A_W::new(self, 0) } #[doc = "Bits 6:11 - The numerator of the frequency divider factor of the uart1 function clock."] #[inline(always)] - #[must_use] pub fn uart1_sclk_div_b(&mut self) -> UART1_SCLK_DIV_B_W { UART1_SCLK_DIV_B_W::new(self, 6) } #[doc = "Bits 12:19 - The integral part of the frequency divider factor of the uart1 function clock."] #[inline(always)] - #[must_use] pub fn uart1_sclk_div_num(&mut self) -> UART1_SCLK_DIV_NUM_W { UART1_SCLK_DIV_NUM_W::new(self, 12) } #[doc = "Bits 20:21 - set this field to select clock-source. 0: do not select anyone clock, 1: 80MHz, 2: FOSC, 3(default): XTAL."] #[inline(always)] - #[must_use] pub fn uart1_sclk_sel(&mut self) -> UART1_SCLK_SEL_W { UART1_SCLK_SEL_W::new(self, 20) } #[doc = "Bit 22 - Set 1 to enable uart0 function clock"] #[inline(always)] - #[must_use] pub fn uart1_sclk_en(&mut self) -> UART1_SCLK_EN_W { UART1_SCLK_EN_W::new(self, 22) } diff --git a/esp32h2/src/pcr/uhci_conf.rs b/esp32h2/src/pcr/uhci_conf.rs index d745e8b7a8..6870132d7f 100644 --- a/esp32h2/src/pcr/uhci_conf.rs +++ b/esp32h2/src/pcr/uhci_conf.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable uhci clock"] #[inline(always)] - #[must_use] pub fn uhci_clk_en(&mut self) -> UHCI_CLK_EN_W { UHCI_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset uhci module"] #[inline(always)] - #[must_use] pub fn uhci_rst_en(&mut self) -> UHCI_RST_EN_W { UHCI_RST_EN_W::new(self, 1) } diff --git a/esp32h2/src/pcr/usb_device_conf.rs b/esp32h2/src/pcr/usb_device_conf.rs index bb795606eb..cf22a14b95 100644 --- a/esp32h2/src/pcr/usb_device_conf.rs +++ b/esp32h2/src/pcr/usb_device_conf.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable usb_device clock"] #[inline(always)] - #[must_use] pub fn usb_device_clk_en(&mut self) -> USB_DEVICE_CLK_EN_W { USB_DEVICE_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 0 to reset usb_device module"] #[inline(always)] - #[must_use] pub fn usb_device_rst_en(&mut self) -> USB_DEVICE_RST_EN_W { USB_DEVICE_RST_EN_W::new(self, 1) } diff --git a/esp32h2/src/plic_mx/mxint_claim.rs b/esp32h2/src/plic_mx/mxint_claim.rs index b206880f66..cd7d8d8cbc 100644 --- a/esp32h2/src/plic_mx/mxint_claim.rs +++ b/esp32h2/src/plic_mx/mxint_claim.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - hp_mb_int is generated after writing 32'h20200721 to core0_lp_intr_flag."] #[inline(always)] - #[must_use] pub fn cpu_mxint_claim(&mut self) -> CPU_MXINT_CLAIM_W { CPU_MXINT_CLAIM_W::new(self, 0) } diff --git a/esp32h2/src/plic_mx/mxint_clear.rs b/esp32h2/src/plic_mx/mxint_clear.rs index 90c63b5bdd..6c872ff301 100644 --- a/esp32h2/src/plic_mx/mxint_clear.rs +++ b/esp32h2/src/plic_mx/mxint_clear.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn cpu_mxint_clear(&mut self) -> CPU_MXINT_CLEAR_W { CPU_MXINT_CLEAR_W::new(self, 0) } diff --git a/esp32h2/src/plic_mx/mxint_enable.rs b/esp32h2/src/plic_mx/mxint_enable.rs index 281b4e37b9..0f93e3c013 100644 --- a/esp32h2/src/plic_mx/mxint_enable.rs +++ b/esp32h2/src/plic_mx/mxint_enable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn cpu_mxint_enable(&mut self) -> CPU_MXINT_ENABLE_W { CPU_MXINT_ENABLE_W::new(self, 0) } diff --git a/esp32h2/src/plic_mx/mxint_pri.rs b/esp32h2/src/plic_mx/mxint_pri.rs index abea8833cb..b612dc153f 100644 --- a/esp32h2/src/plic_mx/mxint_pri.rs +++ b/esp32h2/src/plic_mx/mxint_pri.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3"] #[inline(always)] - #[must_use] pub fn cpu_mxint_pri(&mut self) -> CPU_MXINT_PRI_W { CPU_MXINT_PRI_W::new(self, 0) } diff --git a/esp32h2/src/plic_mx/mxint_thresh.rs b/esp32h2/src/plic_mx/mxint_thresh.rs index 513db39cdc..7f9d4f83f4 100644 --- a/esp32h2/src/plic_mx/mxint_thresh.rs +++ b/esp32h2/src/plic_mx/mxint_thresh.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn cpu_mxint_thresh(&mut self) -> CPU_MXINT_THRESH_W { CPU_MXINT_THRESH_W::new(self, 0) } diff --git a/esp32h2/src/plic_mx/mxint_type.rs b/esp32h2/src/plic_mx/mxint_type.rs index 5ad347650c..955eebca79 100644 --- a/esp32h2/src/plic_mx/mxint_type.rs +++ b/esp32h2/src/plic_mx/mxint_type.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn cpu_mxint_type(&mut self) -> CPU_MXINT_TYPE_W { CPU_MXINT_TYPE_W::new(self, 0) } diff --git a/esp32h2/src/plic_ux/uxint_claim.rs b/esp32h2/src/plic_ux/uxint_claim.rs index 0cb35fc7d5..4ef113f37b 100644 --- a/esp32h2/src/plic_ux/uxint_claim.rs +++ b/esp32h2/src/plic_ux/uxint_claim.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - hp_mb_int is generated after writing 32'h20200721 to core0_lp_intr_flag."] #[inline(always)] - #[must_use] pub fn cpu_uxint_claim(&mut self) -> CPU_UXINT_CLAIM_W { CPU_UXINT_CLAIM_W::new(self, 0) } diff --git a/esp32h2/src/plic_ux/uxint_clear.rs b/esp32h2/src/plic_ux/uxint_clear.rs index d11f236dd1..de61a694e4 100644 --- a/esp32h2/src/plic_ux/uxint_clear.rs +++ b/esp32h2/src/plic_ux/uxint_clear.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn cpu_uxint_clear(&mut self) -> CPU_UXINT_CLEAR_W { CPU_UXINT_CLEAR_W::new(self, 0) } diff --git a/esp32h2/src/plic_ux/uxint_enable.rs b/esp32h2/src/plic_ux/uxint_enable.rs index db3bf4e2df..b28ff4e88c 100644 --- a/esp32h2/src/plic_ux/uxint_enable.rs +++ b/esp32h2/src/plic_ux/uxint_enable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn cpu_uxint_enable(&mut self) -> CPU_UXINT_ENABLE_W { CPU_UXINT_ENABLE_W::new(self, 0) } diff --git a/esp32h2/src/plic_ux/uxint_pri.rs b/esp32h2/src/plic_ux/uxint_pri.rs index fce7025fee..d91d11cbb2 100644 --- a/esp32h2/src/plic_ux/uxint_pri.rs +++ b/esp32h2/src/plic_ux/uxint_pri.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3"] #[inline(always)] - #[must_use] pub fn cpu_uxint_pri(&mut self) -> CPU_UXINT_PRI_W { CPU_UXINT_PRI_W::new(self, 0) } diff --git a/esp32h2/src/plic_ux/uxint_thresh.rs b/esp32h2/src/plic_ux/uxint_thresh.rs index 41a1a258db..181a90eb88 100644 --- a/esp32h2/src/plic_ux/uxint_thresh.rs +++ b/esp32h2/src/plic_ux/uxint_thresh.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn cpu_uxint_thresh(&mut self) -> CPU_UXINT_THRESH_W { CPU_UXINT_THRESH_W::new(self, 0) } diff --git a/esp32h2/src/plic_ux/uxint_type.rs b/esp32h2/src/plic_ux/uxint_type.rs index 36f4d6fd11..f40f259199 100644 --- a/esp32h2/src/plic_ux/uxint_type.rs +++ b/esp32h2/src/plic_ux/uxint_type.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn cpu_uxint_type(&mut self) -> CPU_UXINT_TYPE_W { CPU_UXINT_TYPE_W::new(self, 0) } diff --git a/esp32h2/src/pmu/backup_cfg.rs b/esp32h2/src/pmu/backup_cfg.rs index e57bcdbdb0..6814f032ca 100644 --- a/esp32h2/src/pmu/backup_cfg.rs +++ b/esp32h2/src/pmu/backup_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn backup_sys_clk_no_div(&mut self) -> BACKUP_SYS_CLK_NO_DIV_W { BACKUP_SYS_CLK_NO_DIV_W::new(self, 31) } diff --git a/esp32h2/src/pmu/date.rs b/esp32h2/src/pmu/date.rs index 500987f1b0..b2bcb06a06 100644 --- a/esp32h2/src/pmu/date.rs +++ b/esp32h2/src/pmu/date.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - need_des"] #[inline(always)] - #[must_use] pub fn pmu_date(&mut self) -> PMU_DATE_W { PMU_DATE_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32h2/src/pmu/hp_active_backup.rs b/esp32h2/src/pmu/hp_active_backup.rs index ff99cad5fb..1910767b83 100644 --- a/esp32h2/src/pmu/hp_active_backup.rs +++ b/esp32h2/src/pmu/hp_active_backup.rs @@ -154,7 +154,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 4:5 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2active_backup_modem_clk_code( &mut self, ) -> HP_SLEEP2ACTIVE_BACKUP_MODEM_CLK_CODE_W { @@ -162,7 +161,6 @@ impl W { } #[doc = "Bits 6:7 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2active_backup_modem_clk_code( &mut self, ) -> HP_MODEM2ACTIVE_BACKUP_MODEM_CLK_CODE_W { @@ -170,7 +168,6 @@ impl W { } #[doc = "Bit 10 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_retention_mode( &mut self, ) -> HP_ACTIVE_RETENTION_MODE_W { @@ -178,7 +175,6 @@ impl W { } #[doc = "Bit 11 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2active_retention_en( &mut self, ) -> HP_SLEEP2ACTIVE_RETENTION_EN_W { @@ -186,7 +182,6 @@ impl W { } #[doc = "Bit 12 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2active_retention_en( &mut self, ) -> HP_MODEM2ACTIVE_RETENTION_EN_W { @@ -194,7 +189,6 @@ impl W { } #[doc = "Bits 14:15 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2active_backup_clk_sel( &mut self, ) -> HP_SLEEP2ACTIVE_BACKUP_CLK_SEL_W { @@ -202,7 +196,6 @@ impl W { } #[doc = "Bits 16:17 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2active_backup_clk_sel( &mut self, ) -> HP_MODEM2ACTIVE_BACKUP_CLK_SEL_W { @@ -210,7 +203,6 @@ impl W { } #[doc = "Bits 20:22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2active_backup_mode( &mut self, ) -> HP_SLEEP2ACTIVE_BACKUP_MODE_W { @@ -218,7 +210,6 @@ impl W { } #[doc = "Bits 23:25 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2active_backup_mode( &mut self, ) -> HP_MODEM2ACTIVE_BACKUP_MODE_W { @@ -226,7 +217,6 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2active_backup_en( &mut self, ) -> HP_SLEEP2ACTIVE_BACKUP_EN_W { @@ -234,7 +224,6 @@ impl W { } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2active_backup_en( &mut self, ) -> HP_MODEM2ACTIVE_BACKUP_EN_W { diff --git a/esp32h2/src/pmu/hp_active_backup_clk.rs b/esp32h2/src/pmu/hp_active_backup_clk.rs index cd9b3de54b..3f67784a4b 100644 --- a/esp32h2/src/pmu/hp_active_backup_clk.rs +++ b/esp32h2/src/pmu/hp_active_backup_clk.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_backup_icg_func_en( &mut self, ) -> HP_ACTIVE_BACKUP_ICG_FUNC_EN_W { diff --git a/esp32h2/src/pmu/hp_active_bias.rs b/esp32h2/src/pmu/hp_active_bias.rs index cb16c50519..81553f0223 100644 --- a/esp32h2/src/pmu/hp_active_bias.rs +++ b/esp32h2/src/pmu/hp_active_bias.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 24 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_xpd_trx(&mut self) -> HP_ACTIVE_XPD_TRX_W { HP_ACTIVE_XPD_TRX_W::new(self, 24) } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_xpd_bias(&mut self) -> HP_ACTIVE_XPD_BIAS_W { HP_ACTIVE_XPD_BIAS_W::new(self, 25) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_pd_cur(&mut self) -> HP_ACTIVE_PD_CUR_W { HP_ACTIVE_PD_CUR_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn sleep(&mut self) -> SLEEP_W { SLEEP_W::new(self, 31) } diff --git a/esp32h2/src/pmu/hp_active_dig_power.rs b/esp32h2/src/pmu/hp_active_dig_power.rs index 9aee68d0c0..a26ef3ce94 100644 --- a/esp32h2/src/pmu/hp_active_dig_power.rs +++ b/esp32h2/src/pmu/hp_active_dig_power.rs @@ -96,7 +96,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 21 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_vdd_spi_pd_en( &mut self, ) -> HP_ACTIVE_VDD_SPI_PD_EN_W { @@ -104,13 +103,11 @@ impl W { } #[doc = "Bit 22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_hp_mem_dslp(&mut self) -> HP_ACTIVE_HP_MEM_DSLP_W { HP_ACTIVE_HP_MEM_DSLP_W::new(self, 22) } #[doc = "Bits 23:26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_pd_hp_mem_pd_en( &mut self, ) -> HP_ACTIVE_PD_HP_MEM_PD_EN_W { @@ -118,7 +115,6 @@ impl W { } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_pd_hp_wifi_pd_en( &mut self, ) -> HP_ACTIVE_PD_HP_WIFI_PD_EN_W { @@ -126,7 +122,6 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_pd_hp_cpu_pd_en( &mut self, ) -> HP_ACTIVE_PD_HP_CPU_PD_EN_W { @@ -134,7 +129,6 @@ impl W { } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_pd_hp_aon_pd_en( &mut self, ) -> HP_ACTIVE_PD_HP_AON_PD_EN_W { @@ -142,7 +136,6 @@ impl W { } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_pd_top_pd_en(&mut self) -> HP_ACTIVE_PD_TOP_PD_EN_W { HP_ACTIVE_PD_TOP_PD_EN_W::new(self, 31) } diff --git a/esp32h2/src/pmu/hp_active_hp_ck_power.rs b/esp32h2/src/pmu/hp_active_hp_ck_power.rs index 3e86be5b63..bbc0f43cba 100644 --- a/esp32h2/src/pmu/hp_active_hp_ck_power.rs +++ b/esp32h2/src/pmu/hp_active_hp_ck_power.rs @@ -64,13 +64,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_i2c_iso_en(&mut self) -> HP_ACTIVE_I2C_ISO_EN_W { HP_ACTIVE_I2C_ISO_EN_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_i2c_retention( &mut self, ) -> HP_ACTIVE_I2C_RETENTION_W { @@ -78,13 +76,11 @@ impl W { } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_xpd_bb_i2c(&mut self) -> HP_ACTIVE_XPD_BB_I2C_W { HP_ACTIVE_XPD_BB_I2C_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_xpd_bbpll_i2c( &mut self, ) -> HP_ACTIVE_XPD_BBPLL_I2C_W { @@ -92,7 +88,6 @@ impl W { } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_xpd_bbpll(&mut self) -> HP_ACTIVE_XPD_BBPLL_W { HP_ACTIVE_XPD_BBPLL_W::new(self, 30) } diff --git a/esp32h2/src/pmu/hp_active_hp_regulator0.rs b/esp32h2/src/pmu/hp_active_hp_regulator0.rs index 09416c02be..a359ed834a 100644 --- a/esp32h2/src/pmu/hp_active_hp_regulator0.rs +++ b/esp32h2/src/pmu/hp_active_hp_regulator0.rs @@ -135,7 +135,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_hp_power_det_bypass( &mut self, ) -> HP_ACTIVE_HP_POWER_DET_BYPASS_W { @@ -143,7 +142,6 @@ impl W { } #[doc = "Bit 14 - need_des"] #[inline(always)] - #[must_use] pub fn dig_regulator0_dbias_sel( &mut self, ) -> DIG_REGULATOR0_DBIAS_SEL_W { @@ -151,13 +149,11 @@ impl W { } #[doc = "Bit 15 - need_des"] #[inline(always)] - #[must_use] pub fn dig_dbias_init(&mut self) -> DIG_DBIAS_INIT_W { DIG_DBIAS_INIT_W::new(self, 15) } #[doc = "Bit 16 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_hp_regulator_slp_mem_xpd( &mut self, ) -> HP_ACTIVE_HP_REGULATOR_SLP_MEM_XPD_W { @@ -165,7 +161,6 @@ impl W { } #[doc = "Bit 17 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_hp_regulator_slp_logic_xpd( &mut self, ) -> HP_ACTIVE_HP_REGULATOR_SLP_LOGIC_XPD_W { @@ -173,7 +168,6 @@ impl W { } #[doc = "Bit 18 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_hp_regulator_xpd( &mut self, ) -> HP_ACTIVE_HP_REGULATOR_XPD_W { @@ -181,7 +175,6 @@ impl W { } #[doc = "Bits 19:22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_hp_regulator_slp_mem_dbias( &mut self, ) -> HP_ACTIVE_HP_REGULATOR_SLP_MEM_DBIAS_W { @@ -189,7 +182,6 @@ impl W { } #[doc = "Bits 23:26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_hp_regulator_slp_logic_dbias( &mut self, ) -> HP_ACTIVE_HP_REGULATOR_SLP_LOGIC_DBIAS_W { @@ -197,7 +189,6 @@ impl W { } #[doc = "Bits 27:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_hp_regulator_dbias( &mut self, ) -> HP_ACTIVE_HP_REGULATOR_DBIAS_W { diff --git a/esp32h2/src/pmu/hp_active_hp_regulator1.rs b/esp32h2/src/pmu/hp_active_hp_regulator1.rs index 940dd38ece..55d8d50a27 100644 --- a/esp32h2/src/pmu/hp_active_hp_regulator1.rs +++ b/esp32h2/src/pmu/hp_active_hp_regulator1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 8:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_hp_regulator_drv_b( &mut self, ) -> HP_ACTIVE_HP_REGULATOR_DRV_B_W { diff --git a/esp32h2/src/pmu/hp_active_hp_sys_cntl.rs b/esp32h2/src/pmu/hp_active_hp_sys_cntl.rs index 0961204ffd..56885c44e2 100644 --- a/esp32h2/src/pmu/hp_active_hp_sys_cntl.rs +++ b/esp32h2/src/pmu/hp_active_hp_sys_cntl.rs @@ -83,7 +83,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 24 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_uart_wakeup_en( &mut self, ) -> HP_ACTIVE_UART_WAKEUP_EN_W { @@ -91,7 +90,6 @@ impl W { } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_lp_pad_hold_all( &mut self, ) -> HP_ACTIVE_LP_PAD_HOLD_ALL_W { @@ -99,7 +97,6 @@ impl W { } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_hp_pad_hold_all( &mut self, ) -> HP_ACTIVE_HP_PAD_HOLD_ALL_W { @@ -107,7 +104,6 @@ impl W { } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_dig_pad_slp_sel( &mut self, ) -> HP_ACTIVE_DIG_PAD_SLP_SEL_W { @@ -115,7 +111,6 @@ impl W { } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_dig_pause_wdt( &mut self, ) -> HP_ACTIVE_DIG_PAUSE_WDT_W { @@ -123,7 +118,6 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_dig_cpu_stall( &mut self, ) -> HP_ACTIVE_DIG_CPU_STALL_W { diff --git a/esp32h2/src/pmu/hp_active_icg_hp_apb.rs b/esp32h2/src/pmu/hp_active_icg_hp_apb.rs index 1beed99c5b..ec36aae6b9 100644 --- a/esp32h2/src/pmu/hp_active_icg_hp_apb.rs +++ b/esp32h2/src/pmu/hp_active_icg_hp_apb.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_dig_icg_apb_en( &mut self, ) -> HP_ACTIVE_DIG_ICG_APB_EN_W { diff --git a/esp32h2/src/pmu/hp_active_icg_hp_func.rs b/esp32h2/src/pmu/hp_active_icg_hp_func.rs index e16bf388fd..4f8d853807 100644 --- a/esp32h2/src/pmu/hp_active_icg_hp_func.rs +++ b/esp32h2/src/pmu/hp_active_icg_hp_func.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_dig_icg_func_en( &mut self, ) -> HP_ACTIVE_DIG_ICG_FUNC_EN_W { diff --git a/esp32h2/src/pmu/hp_active_icg_modem.rs b/esp32h2/src/pmu/hp_active_icg_modem.rs index ad0b7e9102..75425b3205 100644 --- a/esp32h2/src/pmu/hp_active_icg_modem.rs +++ b/esp32h2/src/pmu/hp_active_icg_modem.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 30:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_dig_icg_modem_code( &mut self, ) -> HP_ACTIVE_DIG_ICG_MODEM_CODE_W { diff --git a/esp32h2/src/pmu/hp_active_sysclk.rs b/esp32h2/src/pmu/hp_active_sysclk.rs index b6047443e5..1f01bd6c4d 100644 --- a/esp32h2/src/pmu/hp_active_sysclk.rs +++ b/esp32h2/src/pmu/hp_active_sysclk.rs @@ -76,7 +76,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_dig_sys_clk_no_div( &mut self, ) -> HP_ACTIVE_DIG_SYS_CLK_NO_DIV_W { @@ -84,7 +83,6 @@ impl W { } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_icg_sys_clock_en( &mut self, ) -> HP_ACTIVE_ICG_SYS_CLOCK_EN_W { @@ -92,7 +90,6 @@ impl W { } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_sys_clk_slp_sel( &mut self, ) -> HP_ACTIVE_SYS_CLK_SLP_SEL_W { @@ -100,13 +97,11 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_icg_slp_sel(&mut self) -> HP_ACTIVE_ICG_SLP_SEL_W { HP_ACTIVE_ICG_SLP_SEL_W::new(self, 29) } #[doc = "Bits 30:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_dig_sys_clk_sel( &mut self, ) -> HP_ACTIVE_DIG_SYS_CLK_SEL_W { diff --git a/esp32h2/src/pmu/hp_active_xtal.rs b/esp32h2/src/pmu/hp_active_xtal.rs index 0e3d95ae10..c23de5bc9e 100644 --- a/esp32h2/src/pmu/hp_active_xtal.rs +++ b/esp32h2/src/pmu/hp_active_xtal.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_xpd_xtal(&mut self) -> HP_ACTIVE_XPD_XTAL_W { HP_ACTIVE_XPD_XTAL_W::new(self, 31) } diff --git a/esp32h2/src/pmu/hp_ck_cntl.rs b/esp32h2/src/pmu/hp_ck_cntl.rs index bcc033e8fb..27f42537f0 100644 --- a/esp32h2/src/pmu/hp_ck_cntl.rs +++ b/esp32h2/src/pmu/hp_ck_cntl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - need_des"] #[inline(always)] - #[must_use] pub fn modify_icg_cntl_wait(&mut self) -> MODIFY_ICG_CNTL_WAIT_W { MODIFY_ICG_CNTL_WAIT_W::new(self, 0) } #[doc = "Bits 8:15 - need_des"] #[inline(always)] - #[must_use] pub fn switch_icg_cntl_wait(&mut self) -> SWITCH_ICG_CNTL_WAIT_W { SWITCH_ICG_CNTL_WAIT_W::new(self, 8) } diff --git a/esp32h2/src/pmu/hp_ck_poweron.rs b/esp32h2/src/pmu/hp_ck_poweron.rs index 066aba60c2..6fadce8253 100644 --- a/esp32h2/src/pmu/hp_ck_poweron.rs +++ b/esp32h2/src/pmu/hp_ck_poweron.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - need_des"] #[inline(always)] - #[must_use] pub fn i2c_por_wait_target(&mut self) -> I2C_POR_WAIT_TARGET_W { I2C_POR_WAIT_TARGET_W::new(self, 0) } diff --git a/esp32h2/src/pmu/hp_lp_cpu_comm.rs b/esp32h2/src/pmu/hp_lp_cpu_comm.rs index 2177dec2c3..75227a51fd 100644 --- a/esp32h2/src/pmu/hp_lp_cpu_comm.rs +++ b/esp32h2/src/pmu/hp_lp_cpu_comm.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_trigger_hp(&mut self) -> LP_TRIGGER_HP_W { LP_TRIGGER_HP_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_trigger_lp(&mut self) -> HP_TRIGGER_LP_W { HP_TRIGGER_LP_W::new(self, 31) } diff --git a/esp32h2/src/pmu/hp_modem_backup.rs b/esp32h2/src/pmu/hp_modem_backup.rs index a95bce0fa9..49df074083 100644 --- a/esp32h2/src/pmu/hp_modem_backup.rs +++ b/esp32h2/src/pmu/hp_modem_backup.rs @@ -86,7 +86,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 4:5 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2modem_backup_modem_clk_code( &mut self, ) -> HP_SLEEP2MODEM_BACKUP_MODEM_CLK_CODE_W { @@ -94,13 +93,11 @@ impl W { } #[doc = "Bit 10 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_retention_mode(&mut self) -> HP_MODEM_RETENTION_MODE_W { HP_MODEM_RETENTION_MODE_W::new(self, 10) } #[doc = "Bit 11 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2modem_retention_en( &mut self, ) -> HP_SLEEP2MODEM_RETENTION_EN_W { @@ -108,7 +105,6 @@ impl W { } #[doc = "Bits 14:15 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2modem_backup_clk_sel( &mut self, ) -> HP_SLEEP2MODEM_BACKUP_CLK_SEL_W { @@ -116,7 +112,6 @@ impl W { } #[doc = "Bits 20:22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2modem_backup_mode( &mut self, ) -> HP_SLEEP2MODEM_BACKUP_MODE_W { @@ -124,7 +119,6 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2modem_backup_en(&mut self) -> HP_SLEEP2MODEM_BACKUP_EN_W { HP_SLEEP2MODEM_BACKUP_EN_W::new(self, 29) } diff --git a/esp32h2/src/pmu/hp_modem_backup_clk.rs b/esp32h2/src/pmu/hp_modem_backup_clk.rs index 2fe722858c..88033e33e2 100644 --- a/esp32h2/src/pmu/hp_modem_backup_clk.rs +++ b/esp32h2/src/pmu/hp_modem_backup_clk.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_backup_icg_func_en( &mut self, ) -> HP_MODEM_BACKUP_ICG_FUNC_EN_W { diff --git a/esp32h2/src/pmu/hp_modem_bias.rs b/esp32h2/src/pmu/hp_modem_bias.rs index 51c9d44ae8..f4eba2ddcc 100644 --- a/esp32h2/src/pmu/hp_modem_bias.rs +++ b/esp32h2/src/pmu/hp_modem_bias.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 24 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_xpd_trx(&mut self) -> HP_MODEM_XPD_TRX_W { HP_MODEM_XPD_TRX_W::new(self, 24) } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_xpd_bias(&mut self) -> HP_MODEM_XPD_BIAS_W { HP_MODEM_XPD_BIAS_W::new(self, 25) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_pd_cur(&mut self) -> HP_MODEM_PD_CUR_W { HP_MODEM_PD_CUR_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn sleep(&mut self) -> SLEEP_W { SLEEP_W::new(self, 31) } diff --git a/esp32h2/src/pmu/hp_modem_dig_power.rs b/esp32h2/src/pmu/hp_modem_dig_power.rs index 262df6a7e1..6baf47663f 100644 --- a/esp32h2/src/pmu/hp_modem_dig_power.rs +++ b/esp32h2/src/pmu/hp_modem_dig_power.rs @@ -87,19 +87,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 21 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_vdd_spi_pd_en(&mut self) -> HP_MODEM_VDD_SPI_PD_EN_W { HP_MODEM_VDD_SPI_PD_EN_W::new(self, 21) } #[doc = "Bit 22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_hp_mem_dslp(&mut self) -> HP_MODEM_HP_MEM_DSLP_W { HP_MODEM_HP_MEM_DSLP_W::new(self, 22) } #[doc = "Bits 23:26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_pd_hp_mem_pd_en( &mut self, ) -> HP_MODEM_PD_HP_MEM_PD_EN_W { @@ -107,7 +104,6 @@ impl W { } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_pd_hp_wifi_pd_en( &mut self, ) -> HP_MODEM_PD_HP_WIFI_PD_EN_W { @@ -115,7 +111,6 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_pd_hp_cpu_pd_en( &mut self, ) -> HP_MODEM_PD_HP_CPU_PD_EN_W { @@ -123,7 +118,6 @@ impl W { } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_pd_hp_aon_pd_en( &mut self, ) -> HP_MODEM_PD_HP_AON_PD_EN_W { @@ -131,7 +125,6 @@ impl W { } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_pd_top_pd_en(&mut self) -> HP_MODEM_PD_TOP_PD_EN_W { HP_MODEM_PD_TOP_PD_EN_W::new(self, 31) } diff --git a/esp32h2/src/pmu/hp_modem_hp_ck_power.rs b/esp32h2/src/pmu/hp_modem_hp_ck_power.rs index 76329b1fce..4f25757b8c 100644 --- a/esp32h2/src/pmu/hp_modem_hp_ck_power.rs +++ b/esp32h2/src/pmu/hp_modem_hp_ck_power.rs @@ -64,13 +64,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_i2c_iso_en(&mut self) -> HP_MODEM_I2C_ISO_EN_W { HP_MODEM_I2C_ISO_EN_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_i2c_retention( &mut self, ) -> HP_MODEM_I2C_RETENTION_W { @@ -78,13 +76,11 @@ impl W { } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_xpd_bb_i2c(&mut self) -> HP_MODEM_XPD_BB_I2C_W { HP_MODEM_XPD_BB_I2C_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_xpd_bbpll_i2c( &mut self, ) -> HP_MODEM_XPD_BBPLL_I2C_W { @@ -92,7 +88,6 @@ impl W { } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_xpd_bbpll(&mut self) -> HP_MODEM_XPD_BBPLL_W { HP_MODEM_XPD_BBPLL_W::new(self, 30) } diff --git a/esp32h2/src/pmu/hp_modem_hp_regulator0.rs b/esp32h2/src/pmu/hp_modem_hp_regulator0.rs index e5349954a3..d10b449c9d 100644 --- a/esp32h2/src/pmu/hp_modem_hp_regulator0.rs +++ b/esp32h2/src/pmu/hp_modem_hp_regulator0.rs @@ -105,7 +105,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_hp_power_det_bypass( &mut self, ) -> HP_MODEM_HP_POWER_DET_BYPASS_W { @@ -113,7 +112,6 @@ impl W { } #[doc = "Bit 16 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_hp_regulator_slp_mem_xpd( &mut self, ) -> HP_MODEM_HP_REGULATOR_SLP_MEM_XPD_W { @@ -121,7 +119,6 @@ impl W { } #[doc = "Bit 17 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_hp_regulator_slp_logic_xpd( &mut self, ) -> HP_MODEM_HP_REGULATOR_SLP_LOGIC_XPD_W { @@ -129,7 +126,6 @@ impl W { } #[doc = "Bit 18 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_hp_regulator_xpd( &mut self, ) -> HP_MODEM_HP_REGULATOR_XPD_W { @@ -137,7 +133,6 @@ impl W { } #[doc = "Bits 19:22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_hp_regulator_slp_mem_dbias( &mut self, ) -> HP_MODEM_HP_REGULATOR_SLP_MEM_DBIAS_W { @@ -145,7 +140,6 @@ impl W { } #[doc = "Bits 23:26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_hp_regulator_slp_logic_dbias( &mut self, ) -> HP_MODEM_HP_REGULATOR_SLP_LOGIC_DBIAS_W { @@ -153,7 +147,6 @@ impl W { } #[doc = "Bits 27:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_hp_regulator_dbias( &mut self, ) -> HP_MODEM_HP_REGULATOR_DBIAS_W { diff --git a/esp32h2/src/pmu/hp_modem_hp_regulator1.rs b/esp32h2/src/pmu/hp_modem_hp_regulator1.rs index 641b019c8c..f2416bf23d 100644 --- a/esp32h2/src/pmu/hp_modem_hp_regulator1.rs +++ b/esp32h2/src/pmu/hp_modem_hp_regulator1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 8:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_hp_regulator_drv_b( &mut self, ) -> HP_MODEM_HP_REGULATOR_DRV_B_W { diff --git a/esp32h2/src/pmu/hp_modem_hp_sys_cntl.rs b/esp32h2/src/pmu/hp_modem_hp_sys_cntl.rs index 692f561206..799aac042f 100644 --- a/esp32h2/src/pmu/hp_modem_hp_sys_cntl.rs +++ b/esp32h2/src/pmu/hp_modem_hp_sys_cntl.rs @@ -74,7 +74,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 24 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_uart_wakeup_en( &mut self, ) -> HP_MODEM_UART_WAKEUP_EN_W { @@ -82,7 +81,6 @@ impl W { } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_lp_pad_hold_all( &mut self, ) -> HP_MODEM_LP_PAD_HOLD_ALL_W { @@ -90,7 +88,6 @@ impl W { } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_hp_pad_hold_all( &mut self, ) -> HP_MODEM_HP_PAD_HOLD_ALL_W { @@ -98,7 +95,6 @@ impl W { } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_dig_pad_slp_sel( &mut self, ) -> HP_MODEM_DIG_PAD_SLP_SEL_W { @@ -106,7 +102,6 @@ impl W { } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_dig_pause_wdt( &mut self, ) -> HP_MODEM_DIG_PAUSE_WDT_W { @@ -114,7 +109,6 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_dig_cpu_stall( &mut self, ) -> HP_MODEM_DIG_CPU_STALL_W { diff --git a/esp32h2/src/pmu/hp_modem_icg_hp_apb.rs b/esp32h2/src/pmu/hp_modem_icg_hp_apb.rs index b64e7347a3..7e6408b368 100644 --- a/esp32h2/src/pmu/hp_modem_icg_hp_apb.rs +++ b/esp32h2/src/pmu/hp_modem_icg_hp_apb.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_dig_icg_apb_en( &mut self, ) -> HP_MODEM_DIG_ICG_APB_EN_W { diff --git a/esp32h2/src/pmu/hp_modem_icg_hp_func.rs b/esp32h2/src/pmu/hp_modem_icg_hp_func.rs index ec018c7f11..bfbe4bca0f 100644 --- a/esp32h2/src/pmu/hp_modem_icg_hp_func.rs +++ b/esp32h2/src/pmu/hp_modem_icg_hp_func.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_dig_icg_func_en( &mut self, ) -> HP_MODEM_DIG_ICG_FUNC_EN_W { diff --git a/esp32h2/src/pmu/hp_modem_icg_modem.rs b/esp32h2/src/pmu/hp_modem_icg_modem.rs index 94da1179a8..11f15b82e2 100644 --- a/esp32h2/src/pmu/hp_modem_icg_modem.rs +++ b/esp32h2/src/pmu/hp_modem_icg_modem.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 30:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_dig_icg_modem_code( &mut self, ) -> HP_MODEM_DIG_ICG_MODEM_CODE_W { diff --git a/esp32h2/src/pmu/hp_modem_sysclk.rs b/esp32h2/src/pmu/hp_modem_sysclk.rs index 912d0e7b46..322e6ca888 100644 --- a/esp32h2/src/pmu/hp_modem_sysclk.rs +++ b/esp32h2/src/pmu/hp_modem_sysclk.rs @@ -70,7 +70,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_dig_sys_clk_no_div( &mut self, ) -> HP_MODEM_DIG_SYS_CLK_NO_DIV_W { @@ -78,7 +77,6 @@ impl W { } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_icg_sys_clock_en( &mut self, ) -> HP_MODEM_ICG_SYS_CLOCK_EN_W { @@ -86,19 +84,16 @@ impl W { } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_sys_clk_slp_sel(&mut self) -> HP_MODEM_SYS_CLK_SLP_SEL_W { HP_MODEM_SYS_CLK_SLP_SEL_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_icg_slp_sel(&mut self) -> HP_MODEM_ICG_SLP_SEL_W { HP_MODEM_ICG_SLP_SEL_W::new(self, 29) } #[doc = "Bits 30:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_dig_sys_clk_sel(&mut self) -> HP_MODEM_DIG_SYS_CLK_SEL_W { HP_MODEM_DIG_SYS_CLK_SEL_W::new(self, 30) } diff --git a/esp32h2/src/pmu/hp_modem_xtal.rs b/esp32h2/src/pmu/hp_modem_xtal.rs index 43151ad026..c528c687ce 100644 --- a/esp32h2/src/pmu/hp_modem_xtal.rs +++ b/esp32h2/src/pmu/hp_modem_xtal.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_xpd_xtal(&mut self) -> HP_MODEM_XPD_XTAL_W { HP_MODEM_XPD_XTAL_W::new(self, 31) } diff --git a/esp32h2/src/pmu/hp_regulator_cfg.rs b/esp32h2/src/pmu/hp_regulator_cfg.rs index e9060b75bd..9c5ff927c9 100644 --- a/esp32h2/src/pmu/hp_regulator_cfg.rs +++ b/esp32h2/src/pmu/hp_regulator_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn dig_regulator_en_cal(&mut self) -> DIG_REGULATOR_EN_CAL_W { DIG_REGULATOR_EN_CAL_W::new(self, 31) } diff --git a/esp32h2/src/pmu/hp_sleep_backup.rs b/esp32h2/src/pmu/hp_sleep_backup.rs index 6a6f9e9a06..c57ad8f946 100644 --- a/esp32h2/src/pmu/hp_sleep_backup.rs +++ b/esp32h2/src/pmu/hp_sleep_backup.rs @@ -151,7 +151,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 6:7 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2sleep_backup_modem_clk_code( &mut self, ) -> HP_MODEM2SLEEP_BACKUP_MODEM_CLK_CODE_W { @@ -159,7 +158,6 @@ impl W { } #[doc = "Bits 8:9 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active2sleep_backup_modem_clk_code( &mut self, ) -> HP_ACTIVE2SLEEP_BACKUP_MODEM_CLK_CODE_W { @@ -167,13 +165,11 @@ impl W { } #[doc = "Bit 10 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_retention_mode(&mut self) -> HP_SLEEP_RETENTION_MODE_W { HP_SLEEP_RETENTION_MODE_W::new(self, 10) } #[doc = "Bit 12 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2sleep_retention_en( &mut self, ) -> HP_MODEM2SLEEP_RETENTION_EN_W { @@ -181,7 +177,6 @@ impl W { } #[doc = "Bit 13 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active2sleep_retention_en( &mut self, ) -> HP_ACTIVE2SLEEP_RETENTION_EN_W { @@ -189,7 +184,6 @@ impl W { } #[doc = "Bits 16:17 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2sleep_backup_clk_sel( &mut self, ) -> HP_MODEM2SLEEP_BACKUP_CLK_SEL_W { @@ -197,7 +191,6 @@ impl W { } #[doc = "Bits 18:19 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active2sleep_backup_clk_sel( &mut self, ) -> HP_ACTIVE2SLEEP_BACKUP_CLK_SEL_W { @@ -205,7 +198,6 @@ impl W { } #[doc = "Bits 23:25 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2sleep_backup_mode( &mut self, ) -> HP_MODEM2SLEEP_BACKUP_MODE_W { @@ -213,7 +205,6 @@ impl W { } #[doc = "Bits 26:28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active2sleep_backup_mode( &mut self, ) -> HP_ACTIVE2SLEEP_BACKUP_MODE_W { @@ -221,13 +212,11 @@ impl W { } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2sleep_backup_en(&mut self) -> HP_MODEM2SLEEP_BACKUP_EN_W { HP_MODEM2SLEEP_BACKUP_EN_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active2sleep_backup_en( &mut self, ) -> HP_ACTIVE2SLEEP_BACKUP_EN_W { diff --git a/esp32h2/src/pmu/hp_sleep_backup_clk.rs b/esp32h2/src/pmu/hp_sleep_backup_clk.rs index 6bf03c5d11..a45c0c4891 100644 --- a/esp32h2/src/pmu/hp_sleep_backup_clk.rs +++ b/esp32h2/src/pmu/hp_sleep_backup_clk.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_backup_icg_func_en( &mut self, ) -> HP_SLEEP_BACKUP_ICG_FUNC_EN_W { diff --git a/esp32h2/src/pmu/hp_sleep_bias.rs b/esp32h2/src/pmu/hp_sleep_bias.rs index ab01b8d5e8..3084b772d9 100644 --- a/esp32h2/src/pmu/hp_sleep_bias.rs +++ b/esp32h2/src/pmu/hp_sleep_bias.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 24 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_xpd_trx(&mut self) -> HP_SLEEP_XPD_TRX_W { HP_SLEEP_XPD_TRX_W::new(self, 24) } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_xpd_bias(&mut self) -> HP_SLEEP_XPD_BIAS_W { HP_SLEEP_XPD_BIAS_W::new(self, 25) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_pd_cur(&mut self) -> HP_SLEEP_PD_CUR_W { HP_SLEEP_PD_CUR_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn sleep(&mut self) -> SLEEP_W { SLEEP_W::new(self, 31) } diff --git a/esp32h2/src/pmu/hp_sleep_dig_power.rs b/esp32h2/src/pmu/hp_sleep_dig_power.rs index 2bfda189dd..4e85bf0787 100644 --- a/esp32h2/src/pmu/hp_sleep_dig_power.rs +++ b/esp32h2/src/pmu/hp_sleep_dig_power.rs @@ -87,19 +87,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 21 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_vdd_spi_pd_en(&mut self) -> HP_SLEEP_VDD_SPI_PD_EN_W { HP_SLEEP_VDD_SPI_PD_EN_W::new(self, 21) } #[doc = "Bit 22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_hp_mem_dslp(&mut self) -> HP_SLEEP_HP_MEM_DSLP_W { HP_SLEEP_HP_MEM_DSLP_W::new(self, 22) } #[doc = "Bits 23:26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_pd_hp_mem_pd_en( &mut self, ) -> HP_SLEEP_PD_HP_MEM_PD_EN_W { @@ -107,7 +104,6 @@ impl W { } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_pd_hp_wifi_pd_en( &mut self, ) -> HP_SLEEP_PD_HP_WIFI_PD_EN_W { @@ -115,7 +111,6 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_pd_hp_cpu_pd_en( &mut self, ) -> HP_SLEEP_PD_HP_CPU_PD_EN_W { @@ -123,7 +118,6 @@ impl W { } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_pd_hp_aon_pd_en( &mut self, ) -> HP_SLEEP_PD_HP_AON_PD_EN_W { @@ -131,7 +125,6 @@ impl W { } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_pd_top_pd_en(&mut self) -> HP_SLEEP_PD_TOP_PD_EN_W { HP_SLEEP_PD_TOP_PD_EN_W::new(self, 31) } diff --git a/esp32h2/src/pmu/hp_sleep_hp_ck_power.rs b/esp32h2/src/pmu/hp_sleep_hp_ck_power.rs index a9ae39341e..2ad72b59b4 100644 --- a/esp32h2/src/pmu/hp_sleep_hp_ck_power.rs +++ b/esp32h2/src/pmu/hp_sleep_hp_ck_power.rs @@ -64,13 +64,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_i2c_iso_en(&mut self) -> HP_SLEEP_I2C_ISO_EN_W { HP_SLEEP_I2C_ISO_EN_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_i2c_retention( &mut self, ) -> HP_SLEEP_I2C_RETENTION_W { @@ -78,13 +76,11 @@ impl W { } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_xpd_bb_i2c(&mut self) -> HP_SLEEP_XPD_BB_I2C_W { HP_SLEEP_XPD_BB_I2C_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_xpd_bbpll_i2c( &mut self, ) -> HP_SLEEP_XPD_BBPLL_I2C_W { @@ -92,7 +88,6 @@ impl W { } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_xpd_bbpll(&mut self) -> HP_SLEEP_XPD_BBPLL_W { HP_SLEEP_XPD_BBPLL_W::new(self, 30) } diff --git a/esp32h2/src/pmu/hp_sleep_hp_regulator0.rs b/esp32h2/src/pmu/hp_sleep_hp_regulator0.rs index 37c6c9b188..fefcf2d340 100644 --- a/esp32h2/src/pmu/hp_sleep_hp_regulator0.rs +++ b/esp32h2/src/pmu/hp_sleep_hp_regulator0.rs @@ -105,7 +105,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_hp_power_det_bypass( &mut self, ) -> HP_SLEEP_HP_POWER_DET_BYPASS_W { @@ -113,7 +112,6 @@ impl W { } #[doc = "Bit 16 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_hp_regulator_slp_mem_xpd( &mut self, ) -> HP_SLEEP_HP_REGULATOR_SLP_MEM_XPD_W { @@ -121,7 +119,6 @@ impl W { } #[doc = "Bit 17 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_hp_regulator_slp_logic_xpd( &mut self, ) -> HP_SLEEP_HP_REGULATOR_SLP_LOGIC_XPD_W { @@ -129,7 +126,6 @@ impl W { } #[doc = "Bit 18 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_hp_regulator_xpd( &mut self, ) -> HP_SLEEP_HP_REGULATOR_XPD_W { @@ -137,7 +133,6 @@ impl W { } #[doc = "Bits 19:22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_hp_regulator_slp_mem_dbias( &mut self, ) -> HP_SLEEP_HP_REGULATOR_SLP_MEM_DBIAS_W { @@ -145,7 +140,6 @@ impl W { } #[doc = "Bits 23:26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_hp_regulator_slp_logic_dbias( &mut self, ) -> HP_SLEEP_HP_REGULATOR_SLP_LOGIC_DBIAS_W { @@ -153,7 +147,6 @@ impl W { } #[doc = "Bits 27:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_hp_regulator_dbias( &mut self, ) -> HP_SLEEP_HP_REGULATOR_DBIAS_W { diff --git a/esp32h2/src/pmu/hp_sleep_hp_regulator1.rs b/esp32h2/src/pmu/hp_sleep_hp_regulator1.rs index 24585be350..43814301a5 100644 --- a/esp32h2/src/pmu/hp_sleep_hp_regulator1.rs +++ b/esp32h2/src/pmu/hp_sleep_hp_regulator1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 8:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_hp_regulator_drv_b( &mut self, ) -> HP_SLEEP_HP_REGULATOR_DRV_B_W { diff --git a/esp32h2/src/pmu/hp_sleep_hp_sys_cntl.rs b/esp32h2/src/pmu/hp_sleep_hp_sys_cntl.rs index 547e2834e6..3f3feb0a3d 100644 --- a/esp32h2/src/pmu/hp_sleep_hp_sys_cntl.rs +++ b/esp32h2/src/pmu/hp_sleep_hp_sys_cntl.rs @@ -74,7 +74,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 24 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_uart_wakeup_en( &mut self, ) -> HP_SLEEP_UART_WAKEUP_EN_W { @@ -82,7 +81,6 @@ impl W { } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_lp_pad_hold_all( &mut self, ) -> HP_SLEEP_LP_PAD_HOLD_ALL_W { @@ -90,7 +88,6 @@ impl W { } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_hp_pad_hold_all( &mut self, ) -> HP_SLEEP_HP_PAD_HOLD_ALL_W { @@ -98,7 +95,6 @@ impl W { } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_dig_pad_slp_sel( &mut self, ) -> HP_SLEEP_DIG_PAD_SLP_SEL_W { @@ -106,7 +102,6 @@ impl W { } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_dig_pause_wdt( &mut self, ) -> HP_SLEEP_DIG_PAUSE_WDT_W { @@ -114,7 +109,6 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_dig_cpu_stall( &mut self, ) -> HP_SLEEP_DIG_CPU_STALL_W { diff --git a/esp32h2/src/pmu/hp_sleep_icg_hp_apb.rs b/esp32h2/src/pmu/hp_sleep_icg_hp_apb.rs index f50ae2716f..1c100ebece 100644 --- a/esp32h2/src/pmu/hp_sleep_icg_hp_apb.rs +++ b/esp32h2/src/pmu/hp_sleep_icg_hp_apb.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_dig_icg_apb_en( &mut self, ) -> HP_SLEEP_DIG_ICG_APB_EN_W { diff --git a/esp32h2/src/pmu/hp_sleep_icg_hp_func.rs b/esp32h2/src/pmu/hp_sleep_icg_hp_func.rs index 6a772a5b66..b50ea585fc 100644 --- a/esp32h2/src/pmu/hp_sleep_icg_hp_func.rs +++ b/esp32h2/src/pmu/hp_sleep_icg_hp_func.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_dig_icg_func_en( &mut self, ) -> HP_SLEEP_DIG_ICG_FUNC_EN_W { diff --git a/esp32h2/src/pmu/hp_sleep_icg_modem.rs b/esp32h2/src/pmu/hp_sleep_icg_modem.rs index 1c65c25263..736f62b049 100644 --- a/esp32h2/src/pmu/hp_sleep_icg_modem.rs +++ b/esp32h2/src/pmu/hp_sleep_icg_modem.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 30:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_dig_icg_modem_code( &mut self, ) -> HP_SLEEP_DIG_ICG_MODEM_CODE_W { diff --git a/esp32h2/src/pmu/hp_sleep_lp_ck_power.rs b/esp32h2/src/pmu/hp_sleep_lp_ck_power.rs index eda3a86242..0bac83a467 100644 --- a/esp32h2/src/pmu/hp_sleep_lp_ck_power.rs +++ b/esp32h2/src/pmu/hp_sleep_lp_ck_power.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_xpd_lppll(&mut self) -> HP_SLEEP_XPD_LPPLL_W { HP_SLEEP_XPD_LPPLL_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_xpd_xtal32k(&mut self) -> HP_SLEEP_XPD_XTAL32K_W { HP_SLEEP_XPD_XTAL32K_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_xpd_rc32k(&mut self) -> HP_SLEEP_XPD_RC32K_W { HP_SLEEP_XPD_RC32K_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_xpd_fosc_clk(&mut self) -> HP_SLEEP_XPD_FOSC_CLK_W { HP_SLEEP_XPD_FOSC_CLK_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_pd_osc_clk(&mut self) -> HP_SLEEP_PD_OSC_CLK_W { HP_SLEEP_PD_OSC_CLK_W::new(self, 31) } diff --git a/esp32h2/src/pmu/hp_sleep_lp_dcdc_reserve.rs b/esp32h2/src/pmu/hp_sleep_lp_dcdc_reserve.rs index 8a14263079..611cdf7eaf 100644 --- a/esp32h2/src/pmu/hp_sleep_lp_dcdc_reserve.rs +++ b/esp32h2/src/pmu/hp_sleep_lp_dcdc_reserve.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_lp_dcdc_reserve( &mut self, ) -> HP_SLEEP_LP_DCDC_RESERVE_W { diff --git a/esp32h2/src/pmu/hp_sleep_lp_dig_power.rs b/esp32h2/src/pmu/hp_sleep_lp_dig_power.rs index 4fb63096ec..92dcb59ec1 100644 --- a/esp32h2/src/pmu/hp_sleep_lp_dig_power.rs +++ b/esp32h2/src/pmu/hp_sleep_lp_dig_power.rs @@ -57,7 +57,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_bod_source_sel( &mut self, ) -> HP_SLEEP_BOD_SOURCE_SEL_W { @@ -65,19 +64,16 @@ impl W { } #[doc = "Bits 28:29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_vddbat_mode(&mut self) -> HP_SLEEP_VDDBAT_MODE_W { HP_SLEEP_VDDBAT_MODE_W::new(self, 28) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_lp_mem_dslp(&mut self) -> HP_SLEEP_LP_MEM_DSLP_W { HP_SLEEP_LP_MEM_DSLP_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_pd_lp_peri_pd_en( &mut self, ) -> HP_SLEEP_PD_LP_PERI_PD_EN_W { diff --git a/esp32h2/src/pmu/hp_sleep_lp_regulator0.rs b/esp32h2/src/pmu/hp_sleep_lp_regulator0.rs index 7ae3ff1c35..9b4317ec89 100644 --- a/esp32h2/src/pmu/hp_sleep_lp_regulator0.rs +++ b/esp32h2/src/pmu/hp_sleep_lp_regulator0.rs @@ -66,7 +66,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 21 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_lp_regulator_slp_xpd( &mut self, ) -> HP_SLEEP_LP_REGULATOR_SLP_XPD_W { @@ -74,7 +73,6 @@ impl W { } #[doc = "Bit 22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_lp_regulator_xpd( &mut self, ) -> HP_SLEEP_LP_REGULATOR_XPD_W { @@ -82,7 +80,6 @@ impl W { } #[doc = "Bits 23:26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_lp_regulator_slp_dbias( &mut self, ) -> HP_SLEEP_LP_REGULATOR_SLP_DBIAS_W { @@ -90,7 +87,6 @@ impl W { } #[doc = "Bits 27:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_lp_regulator_dbias( &mut self, ) -> HP_SLEEP_LP_REGULATOR_DBIAS_W { diff --git a/esp32h2/src/pmu/hp_sleep_lp_regulator1.rs b/esp32h2/src/pmu/hp_sleep_lp_regulator1.rs index 17cad59be1..e1c7b093a7 100644 --- a/esp32h2/src/pmu/hp_sleep_lp_regulator1.rs +++ b/esp32h2/src/pmu/hp_sleep_lp_regulator1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 28:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_lp_regulator_drv_b( &mut self, ) -> HP_SLEEP_LP_REGULATOR_DRV_B_W { diff --git a/esp32h2/src/pmu/hp_sleep_sysclk.rs b/esp32h2/src/pmu/hp_sleep_sysclk.rs index 0873e5ee63..6453997284 100644 --- a/esp32h2/src/pmu/hp_sleep_sysclk.rs +++ b/esp32h2/src/pmu/hp_sleep_sysclk.rs @@ -70,7 +70,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_dig_sys_clk_no_div( &mut self, ) -> HP_SLEEP_DIG_SYS_CLK_NO_DIV_W { @@ -78,7 +77,6 @@ impl W { } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_icg_sys_clock_en( &mut self, ) -> HP_SLEEP_ICG_SYS_CLOCK_EN_W { @@ -86,19 +84,16 @@ impl W { } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_sys_clk_slp_sel(&mut self) -> HP_SLEEP_SYS_CLK_SLP_SEL_W { HP_SLEEP_SYS_CLK_SLP_SEL_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_icg_slp_sel(&mut self) -> HP_SLEEP_ICG_SLP_SEL_W { HP_SLEEP_ICG_SLP_SEL_W::new(self, 29) } #[doc = "Bits 30:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_dig_sys_clk_sel(&mut self) -> HP_SLEEP_DIG_SYS_CLK_SEL_W { HP_SLEEP_DIG_SYS_CLK_SEL_W::new(self, 30) } diff --git a/esp32h2/src/pmu/hp_sleep_xtal.rs b/esp32h2/src/pmu/hp_sleep_xtal.rs index 3f382cdf24..a2d7ca7739 100644 --- a/esp32h2/src/pmu/hp_sleep_xtal.rs +++ b/esp32h2/src/pmu/hp_sleep_xtal.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_xpd_xtal(&mut self) -> HP_SLEEP_XPD_XTAL_W { HP_SLEEP_XPD_XTAL_W::new(self, 31) } diff --git a/esp32h2/src/pmu/imm_hp_apb_icg.rs b/esp32h2/src/pmu/imm_hp_apb_icg.rs index 3b3fc966b3..df5a3ade8f 100644 --- a/esp32h2/src/pmu/imm_hp_apb_icg.rs +++ b/esp32h2/src/pmu/imm_hp_apb_icg.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn update_dig_icg_apb_en(&mut self) -> UPDATE_DIG_ICG_APB_EN_W { UPDATE_DIG_ICG_APB_EN_W::new(self, 31) } diff --git a/esp32h2/src/pmu/imm_hp_ck_power.rs b/esp32h2/src/pmu/imm_hp_ck_power.rs index 0045f51316..287df1d769 100644 --- a/esp32h2/src/pmu/imm_hp_ck_power.rs +++ b/esp32h2/src/pmu/imm_hp_ck_power.rs @@ -39,49 +39,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_global_bbpll_icg(&mut self) -> TIE_LOW_GLOBAL_BBPLL_ICG_W { TIE_LOW_GLOBAL_BBPLL_ICG_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_global_xtal_icg(&mut self) -> TIE_LOW_GLOBAL_XTAL_ICG_W { TIE_LOW_GLOBAL_XTAL_ICG_W::new(self, 1) } #[doc = "Bit 2 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_i2c_retention(&mut self) -> TIE_LOW_I2C_RETENTION_W { TIE_LOW_I2C_RETENTION_W::new(self, 2) } #[doc = "Bit 3 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_xpd_bb_i2c(&mut self) -> TIE_LOW_XPD_BB_I2C_W { TIE_LOW_XPD_BB_I2C_W::new(self, 3) } #[doc = "Bit 4 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_xpd_bbpll_i2c(&mut self) -> TIE_LOW_XPD_BBPLL_I2C_W { TIE_LOW_XPD_BBPLL_I2C_W::new(self, 4) } #[doc = "Bit 5 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_xpd_bbpll(&mut self) -> TIE_LOW_XPD_BBPLL_W { TIE_LOW_XPD_BBPLL_W::new(self, 5) } #[doc = "Bit 6 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_xpd_xtal(&mut self) -> TIE_LOW_XPD_XTAL_W { TIE_LOW_XPD_XTAL_W::new(self, 6) } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_global_bbpll_icg( &mut self, ) -> TIE_HIGH_GLOBAL_BBPLL_ICG_W { @@ -89,37 +81,31 @@ impl W { } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_global_xtal_icg(&mut self) -> TIE_HIGH_GLOBAL_XTAL_ICG_W { TIE_HIGH_GLOBAL_XTAL_ICG_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_i2c_retention(&mut self) -> TIE_HIGH_I2C_RETENTION_W { TIE_HIGH_I2C_RETENTION_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_xpd_bb_i2c(&mut self) -> TIE_HIGH_XPD_BB_I2C_W { TIE_HIGH_XPD_BB_I2C_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_xpd_bbpll_i2c(&mut self) -> TIE_HIGH_XPD_BBPLL_I2C_W { TIE_HIGH_XPD_BBPLL_I2C_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_xpd_bbpll(&mut self) -> TIE_HIGH_XPD_BBPLL_W { TIE_HIGH_XPD_BBPLL_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_xpd_xtal(&mut self) -> TIE_HIGH_XPD_XTAL_W { TIE_HIGH_XPD_XTAL_W::new(self, 31) } diff --git a/esp32h2/src/pmu/imm_hp_func_icg.rs b/esp32h2/src/pmu/imm_hp_func_icg.rs index 8000f18ab4..dfdf10bdda 100644 --- a/esp32h2/src/pmu/imm_hp_func_icg.rs +++ b/esp32h2/src/pmu/imm_hp_func_icg.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn update_dig_icg_func_en(&mut self) -> UPDATE_DIG_ICG_FUNC_EN_W { UPDATE_DIG_ICG_FUNC_EN_W::new(self, 31) } diff --git a/esp32h2/src/pmu/imm_i2c_iso.rs b/esp32h2/src/pmu/imm_i2c_iso.rs index c39507b619..b3c13e0144 100644 --- a/esp32h2/src/pmu/imm_i2c_iso.rs +++ b/esp32h2/src/pmu/imm_i2c_iso.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_i2c_iso_en(&mut self) -> TIE_HIGH_I2C_ISO_EN_W { TIE_HIGH_I2C_ISO_EN_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_i2c_iso_en(&mut self) -> TIE_LOW_I2C_ISO_EN_W { TIE_LOW_I2C_ISO_EN_W::new(self, 31) } diff --git a/esp32h2/src/pmu/imm_lp_icg.rs b/esp32h2/src/pmu/imm_lp_icg.rs index e91b571eaa..f531bddf91 100644 --- a/esp32h2/src/pmu/imm_lp_icg.rs +++ b/esp32h2/src/pmu/imm_lp_icg.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_lp_rootclk_sel(&mut self) -> TIE_LOW_LP_ROOTCLK_SEL_W { TIE_LOW_LP_ROOTCLK_SEL_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_lp_rootclk_sel(&mut self) -> TIE_HIGH_LP_ROOTCLK_SEL_W { TIE_HIGH_LP_ROOTCLK_SEL_W::new(self, 31) } diff --git a/esp32h2/src/pmu/imm_modem_icg.rs b/esp32h2/src/pmu/imm_modem_icg.rs index 3a1b7629bc..3de95c17f4 100644 --- a/esp32h2/src/pmu/imm_modem_icg.rs +++ b/esp32h2/src/pmu/imm_modem_icg.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn update_dig_icg_modem_en(&mut self) -> UPDATE_DIG_ICG_MODEM_EN_W { UPDATE_DIG_ICG_MODEM_EN_W::new(self, 31) } diff --git a/esp32h2/src/pmu/imm_pad_hold_all.rs b/esp32h2/src/pmu/imm_pad_hold_all.rs index e5b1b5c031..1c5873994a 100644 --- a/esp32h2/src/pmu/imm_pad_hold_all.rs +++ b/esp32h2/src/pmu/imm_pad_hold_all.rs @@ -17,7 +17,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_lp_pad_hold_all( &mut self, ) -> TIE_HIGH_LP_PAD_HOLD_ALL_W { @@ -25,13 +24,11 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_lp_pad_hold_all(&mut self) -> TIE_LOW_LP_PAD_HOLD_ALL_W { TIE_LOW_LP_PAD_HOLD_ALL_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_hp_pad_hold_all( &mut self, ) -> TIE_HIGH_HP_PAD_HOLD_ALL_W { @@ -39,7 +36,6 @@ impl W { } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_hp_pad_hold_all(&mut self) -> TIE_LOW_HP_PAD_HOLD_ALL_W { TIE_LOW_HP_PAD_HOLD_ALL_W::new(self, 31) } diff --git a/esp32h2/src/pmu/imm_sleep_sysclk.rs b/esp32h2/src/pmu/imm_sleep_sysclk.rs index 107b9c732b..6072f2a048 100644 --- a/esp32h2/src/pmu/imm_sleep_sysclk.rs +++ b/esp32h2/src/pmu/imm_sleep_sysclk.rs @@ -17,25 +17,21 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn update_dig_icg_switch(&mut self) -> UPDATE_DIG_ICG_SWITCH_W { UPDATE_DIG_ICG_SWITCH_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_icg_slp_sel(&mut self) -> TIE_LOW_ICG_SLP_SEL_W { TIE_LOW_ICG_SLP_SEL_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_icg_slp_sel(&mut self) -> TIE_HIGH_ICG_SLP_SEL_W { TIE_HIGH_ICG_SLP_SEL_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn update_dig_sys_clk_sel(&mut self) -> UPDATE_DIG_SYS_CLK_SEL_W { UPDATE_DIG_SYS_CLK_SEL_W::new(self, 31) } diff --git a/esp32h2/src/pmu/int_clr.rs b/esp32h2/src/pmu/int_clr.rs index f32d0efe01..2c342a9a35 100644 --- a/esp32h2/src/pmu/int_clr.rs +++ b/esp32h2/src/pmu/int_clr.rs @@ -19,31 +19,26 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_exc(&mut self) -> LP_CPU_EXC_W { LP_CPU_EXC_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn sdio_idle(&mut self) -> SDIO_IDLE_W { SDIO_IDLE_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn sw(&mut self) -> SW_W { SW_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn soc_sleep_reject(&mut self) -> SOC_SLEEP_REJECT_W { SOC_SLEEP_REJECT_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn soc_wakeup(&mut self) -> SOC_WAKEUP_W { SOC_WAKEUP_W::new(self, 31) } diff --git a/esp32h2/src/pmu/int_ena.rs b/esp32h2/src/pmu/int_ena.rs index ce65dcd5cd..02e3e8e17b 100644 --- a/esp32h2/src/pmu/int_ena.rs +++ b/esp32h2/src/pmu/int_ena.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_exc(&mut self) -> LP_CPU_EXC_W { LP_CPU_EXC_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn sdio_idle(&mut self) -> SDIO_IDLE_W { SDIO_IDLE_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn sw(&mut self) -> SW_W { SW_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn soc_sleep_reject(&mut self) -> SOC_SLEEP_REJECT_W { SOC_SLEEP_REJECT_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn soc_wakeup(&mut self) -> SOC_WAKEUP_W { SOC_WAKEUP_W::new(self, 31) } diff --git a/esp32h2/src/pmu/int_raw.rs b/esp32h2/src/pmu/int_raw.rs index 97fbb06c11..84f2835ea6 100644 --- a/esp32h2/src/pmu/int_raw.rs +++ b/esp32h2/src/pmu/int_raw.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_exc(&mut self) -> LP_CPU_EXC_W { LP_CPU_EXC_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn sdio_idle(&mut self) -> SDIO_IDLE_W { SDIO_IDLE_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn sw(&mut self) -> SW_W { SW_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn soc_sleep_reject(&mut self) -> SOC_SLEEP_REJECT_W { SOC_SLEEP_REJECT_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn soc_wakeup(&mut self) -> SOC_WAKEUP_W { SOC_WAKEUP_W::new(self, 31) } diff --git a/esp32h2/src/pmu/lp_cpu_pwr0.rs b/esp32h2/src/pmu/lp_cpu_pwr0.rs index 0cb5ba299f..9a77237497 100644 --- a/esp32h2/src/pmu/lp_cpu_pwr0.rs +++ b/esp32h2/src/pmu/lp_cpu_pwr0.rs @@ -103,43 +103,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 18 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_force_stall(&mut self) -> LP_CPU_FORCE_STALL_W { LP_CPU_FORCE_STALL_W::new(self, 18) } #[doc = "Bit 19 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_slp_waiti_flag_en(&mut self) -> LP_CPU_SLP_WAITI_FLAG_EN_W { LP_CPU_SLP_WAITI_FLAG_EN_W::new(self, 19) } #[doc = "Bit 20 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_slp_stall_flag_en(&mut self) -> LP_CPU_SLP_STALL_FLAG_EN_W { LP_CPU_SLP_STALL_FLAG_EN_W::new(self, 20) } #[doc = "Bits 21:28 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_slp_stall_wait(&mut self) -> LP_CPU_SLP_STALL_WAIT_W { LP_CPU_SLP_STALL_WAIT_W::new(self, 21) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_slp_stall_en(&mut self) -> LP_CPU_SLP_STALL_EN_W { LP_CPU_SLP_STALL_EN_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_slp_reset_en(&mut self) -> LP_CPU_SLP_RESET_EN_W { LP_CPU_SLP_RESET_EN_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_slp_bypass_intr_en(&mut self) -> LP_CPU_SLP_BYPASS_INTR_EN_W { LP_CPU_SLP_BYPASS_INTR_EN_W::new(self, 31) } diff --git a/esp32h2/src/pmu/lp_cpu_pwr1.rs b/esp32h2/src/pmu/lp_cpu_pwr1.rs index 022d67cd6b..1bf58e1974 100644 --- a/esp32h2/src/pmu/lp_cpu_pwr1.rs +++ b/esp32h2/src/pmu/lp_cpu_pwr1.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_wakeup_en(&mut self) -> LP_CPU_WAKEUP_EN_W { LP_CPU_WAKEUP_EN_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_sleep_req(&mut self) -> LP_CPU_SLEEP_REQ_W { LP_CPU_SLEEP_REQ_W::new(self, 31) } diff --git a/esp32h2/src/pmu/lp_int_clr.rs b/esp32h2/src/pmu/lp_int_clr.rs index c0b6382880..0e27abc11f 100644 --- a/esp32h2/src/pmu/lp_int_clr.rs +++ b/esp32h2/src/pmu/lp_int_clr.rs @@ -33,73 +33,61 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 20 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_wakeup(&mut self) -> LP_CPU_WAKEUP_W { LP_CPU_WAKEUP_W::new(self, 20) } #[doc = "Bit 21 - need_des"] #[inline(always)] - #[must_use] pub fn modem_switch_active_end(&mut self) -> MODEM_SWITCH_ACTIVE_END_W { MODEM_SWITCH_ACTIVE_END_W::new(self, 21) } #[doc = "Bit 22 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_active_end(&mut self) -> SLEEP_SWITCH_ACTIVE_END_W { SLEEP_SWITCH_ACTIVE_END_W::new(self, 22) } #[doc = "Bit 23 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_modem_end(&mut self) -> SLEEP_SWITCH_MODEM_END_W { SLEEP_SWITCH_MODEM_END_W::new(self, 23) } #[doc = "Bit 24 - need_des"] #[inline(always)] - #[must_use] pub fn modem_switch_sleep_end(&mut self) -> MODEM_SWITCH_SLEEP_END_W { MODEM_SWITCH_SLEEP_END_W::new(self, 24) } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn active_switch_sleep_end(&mut self) -> ACTIVE_SWITCH_SLEEP_END_W { ACTIVE_SWITCH_SLEEP_END_W::new(self, 25) } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn modem_switch_active_start(&mut self) -> MODEM_SWITCH_ACTIVE_START_W { MODEM_SWITCH_ACTIVE_START_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_active_start(&mut self) -> SLEEP_SWITCH_ACTIVE_START_W { SLEEP_SWITCH_ACTIVE_START_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_modem_start(&mut self) -> SLEEP_SWITCH_MODEM_START_W { SLEEP_SWITCH_MODEM_START_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn modem_switch_sleep_start(&mut self) -> MODEM_SWITCH_SLEEP_START_W { MODEM_SWITCH_SLEEP_START_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn active_switch_sleep_start(&mut self) -> ACTIVE_SWITCH_SLEEP_START_W { ACTIVE_SWITCH_SLEEP_START_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sw_trigger(&mut self) -> HP_SW_TRIGGER_W { HP_SW_TRIGGER_W::new(self, 31) } diff --git a/esp32h2/src/pmu/lp_int_ena.rs b/esp32h2/src/pmu/lp_int_ena.rs index 2d28fb2427..3f70c90aa0 100644 --- a/esp32h2/src/pmu/lp_int_ena.rs +++ b/esp32h2/src/pmu/lp_int_ena.rs @@ -143,73 +143,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 20 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_wakeup(&mut self) -> LP_CPU_WAKEUP_W { LP_CPU_WAKEUP_W::new(self, 20) } #[doc = "Bit 21 - need_des"] #[inline(always)] - #[must_use] pub fn modem_switch_active_end(&mut self) -> MODEM_SWITCH_ACTIVE_END_W { MODEM_SWITCH_ACTIVE_END_W::new(self, 21) } #[doc = "Bit 22 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_active_end(&mut self) -> SLEEP_SWITCH_ACTIVE_END_W { SLEEP_SWITCH_ACTIVE_END_W::new(self, 22) } #[doc = "Bit 23 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_modem_end(&mut self) -> SLEEP_SWITCH_MODEM_END_W { SLEEP_SWITCH_MODEM_END_W::new(self, 23) } #[doc = "Bit 24 - need_des"] #[inline(always)] - #[must_use] pub fn modem_switch_sleep_end(&mut self) -> MODEM_SWITCH_SLEEP_END_W { MODEM_SWITCH_SLEEP_END_W::new(self, 24) } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn active_switch_sleep_end(&mut self) -> ACTIVE_SWITCH_SLEEP_END_W { ACTIVE_SWITCH_SLEEP_END_W::new(self, 25) } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn modem_switch_active_start(&mut self) -> MODEM_SWITCH_ACTIVE_START_W { MODEM_SWITCH_ACTIVE_START_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_active_start(&mut self) -> SLEEP_SWITCH_ACTIVE_START_W { SLEEP_SWITCH_ACTIVE_START_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_modem_start(&mut self) -> SLEEP_SWITCH_MODEM_START_W { SLEEP_SWITCH_MODEM_START_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn modem_switch_sleep_start(&mut self) -> MODEM_SWITCH_SLEEP_START_W { MODEM_SWITCH_SLEEP_START_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn active_switch_sleep_start(&mut self) -> ACTIVE_SWITCH_SLEEP_START_W { ACTIVE_SWITCH_SLEEP_START_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sw_trigger(&mut self) -> HP_SW_TRIGGER_W { HP_SW_TRIGGER_W::new(self, 31) } diff --git a/esp32h2/src/pmu/lp_int_raw.rs b/esp32h2/src/pmu/lp_int_raw.rs index 50925353e9..aefa402635 100644 --- a/esp32h2/src/pmu/lp_int_raw.rs +++ b/esp32h2/src/pmu/lp_int_raw.rs @@ -143,73 +143,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 20 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_wakeup(&mut self) -> LP_CPU_WAKEUP_W { LP_CPU_WAKEUP_W::new(self, 20) } #[doc = "Bit 21 - need_des"] #[inline(always)] - #[must_use] pub fn modem_switch_active_end(&mut self) -> MODEM_SWITCH_ACTIVE_END_W { MODEM_SWITCH_ACTIVE_END_W::new(self, 21) } #[doc = "Bit 22 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_active_end(&mut self) -> SLEEP_SWITCH_ACTIVE_END_W { SLEEP_SWITCH_ACTIVE_END_W::new(self, 22) } #[doc = "Bit 23 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_modem_end(&mut self) -> SLEEP_SWITCH_MODEM_END_W { SLEEP_SWITCH_MODEM_END_W::new(self, 23) } #[doc = "Bit 24 - need_des"] #[inline(always)] - #[must_use] pub fn modem_switch_sleep_end(&mut self) -> MODEM_SWITCH_SLEEP_END_W { MODEM_SWITCH_SLEEP_END_W::new(self, 24) } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn active_switch_sleep_end(&mut self) -> ACTIVE_SWITCH_SLEEP_END_W { ACTIVE_SWITCH_SLEEP_END_W::new(self, 25) } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn modem_switch_active_start(&mut self) -> MODEM_SWITCH_ACTIVE_START_W { MODEM_SWITCH_ACTIVE_START_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_active_start(&mut self) -> SLEEP_SWITCH_ACTIVE_START_W { SLEEP_SWITCH_ACTIVE_START_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_modem_start(&mut self) -> SLEEP_SWITCH_MODEM_START_W { SLEEP_SWITCH_MODEM_START_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn modem_switch_sleep_start(&mut self) -> MODEM_SWITCH_SLEEP_START_W { MODEM_SWITCH_SLEEP_START_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn active_switch_sleep_start(&mut self) -> ACTIVE_SWITCH_SLEEP_START_W { ACTIVE_SWITCH_SLEEP_START_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sw_trigger(&mut self) -> HP_SW_TRIGGER_W { HP_SW_TRIGGER_W::new(self, 31) } diff --git a/esp32h2/src/pmu/lp_sleep_bias.rs b/esp32h2/src/pmu/lp_sleep_bias.rs index 3587f07ad6..5671c1d554 100644 --- a/esp32h2/src/pmu/lp_sleep_bias.rs +++ b/esp32h2/src/pmu/lp_sleep_bias.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_xpd_bias(&mut self) -> LP_SLEEP_XPD_BIAS_W { LP_SLEEP_XPD_BIAS_W::new(self, 25) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_pd_cur(&mut self) -> LP_SLEEP_PD_CUR_W { LP_SLEEP_PD_CUR_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn sleep(&mut self) -> SLEEP_W { SLEEP_W::new(self, 31) } diff --git a/esp32h2/src/pmu/lp_sleep_lp_bias_reserve.rs b/esp32h2/src/pmu/lp_sleep_lp_bias_reserve.rs index 44c73fc42f..b986ebde49 100644 --- a/esp32h2/src/pmu/lp_sleep_lp_bias_reserve.rs +++ b/esp32h2/src/pmu/lp_sleep_lp_bias_reserve.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_lp_bias_reserve( &mut self, ) -> LP_SLEEP_LP_BIAS_RESERVE_W { diff --git a/esp32h2/src/pmu/lp_sleep_lp_ck_power.rs b/esp32h2/src/pmu/lp_sleep_lp_ck_power.rs index b5b5646245..ae70cecb91 100644 --- a/esp32h2/src/pmu/lp_sleep_lp_ck_power.rs +++ b/esp32h2/src/pmu/lp_sleep_lp_ck_power.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_xpd_lppll(&mut self) -> LP_SLEEP_XPD_LPPLL_W { LP_SLEEP_XPD_LPPLL_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_xpd_xtal32k(&mut self) -> LP_SLEEP_XPD_XTAL32K_W { LP_SLEEP_XPD_XTAL32K_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_xpd_rc32k(&mut self) -> LP_SLEEP_XPD_RC32K_W { LP_SLEEP_XPD_RC32K_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_xpd_fosc_clk(&mut self) -> LP_SLEEP_XPD_FOSC_CLK_W { LP_SLEEP_XPD_FOSC_CLK_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_pd_osc_clk(&mut self) -> LP_SLEEP_PD_OSC_CLK_W { LP_SLEEP_PD_OSC_CLK_W::new(self, 31) } diff --git a/esp32h2/src/pmu/lp_sleep_lp_dig_power.rs b/esp32h2/src/pmu/lp_sleep_lp_dig_power.rs index 3bf3a973b8..984938a376 100644 --- a/esp32h2/src/pmu/lp_sleep_lp_dig_power.rs +++ b/esp32h2/src/pmu/lp_sleep_lp_dig_power.rs @@ -57,7 +57,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_bod_source_sel( &mut self, ) -> LP_SLEEP_BOD_SOURCE_SEL_W { @@ -65,19 +64,16 @@ impl W { } #[doc = "Bits 28:29 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_vddbat_mode(&mut self) -> LP_SLEEP_VDDBAT_MODE_W { LP_SLEEP_VDDBAT_MODE_W::new(self, 28) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_lp_mem_dslp(&mut self) -> LP_SLEEP_LP_MEM_DSLP_W { LP_SLEEP_LP_MEM_DSLP_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_pd_lp_peri_pd_en( &mut self, ) -> LP_SLEEP_PD_LP_PERI_PD_EN_W { diff --git a/esp32h2/src/pmu/lp_sleep_lp_regulator0.rs b/esp32h2/src/pmu/lp_sleep_lp_regulator0.rs index ccfef0c60c..5702d84392 100644 --- a/esp32h2/src/pmu/lp_sleep_lp_regulator0.rs +++ b/esp32h2/src/pmu/lp_sleep_lp_regulator0.rs @@ -66,7 +66,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 21 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_lp_regulator_slp_xpd( &mut self, ) -> LP_SLEEP_LP_REGULATOR_SLP_XPD_W { @@ -74,7 +73,6 @@ impl W { } #[doc = "Bit 22 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_lp_regulator_xpd( &mut self, ) -> LP_SLEEP_LP_REGULATOR_XPD_W { @@ -82,7 +80,6 @@ impl W { } #[doc = "Bits 23:26 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_lp_regulator_slp_dbias( &mut self, ) -> LP_SLEEP_LP_REGULATOR_SLP_DBIAS_W { @@ -90,7 +87,6 @@ impl W { } #[doc = "Bits 27:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_lp_regulator_dbias( &mut self, ) -> LP_SLEEP_LP_REGULATOR_DBIAS_W { diff --git a/esp32h2/src/pmu/lp_sleep_lp_regulator1.rs b/esp32h2/src/pmu/lp_sleep_lp_regulator1.rs index 431ef7172c..91bc3805d9 100644 --- a/esp32h2/src/pmu/lp_sleep_lp_regulator1.rs +++ b/esp32h2/src/pmu/lp_sleep_lp_regulator1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 28:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_lp_regulator_drv_b( &mut self, ) -> LP_SLEEP_LP_REGULATOR_DRV_B_W { diff --git a/esp32h2/src/pmu/lp_sleep_xtal.rs b/esp32h2/src/pmu/lp_sleep_xtal.rs index 970da0044c..4ad3d9549e 100644 --- a/esp32h2/src/pmu/lp_sleep_xtal.rs +++ b/esp32h2/src/pmu/lp_sleep_xtal.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_xpd_xtal(&mut self) -> LP_SLEEP_XPD_XTAL_W { LP_SLEEP_XPD_XTAL_W::new(self, 31) } diff --git a/esp32h2/src/pmu/power_ck_wait_cntl.rs b/esp32h2/src/pmu/power_ck_wait_cntl.rs index b080a548c1..112dee482f 100644 --- a/esp32h2/src/pmu/power_ck_wait_cntl.rs +++ b/esp32h2/src/pmu/power_ck_wait_cntl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - need_des"] #[inline(always)] - #[must_use] pub fn wait_xtl_stable(&mut self) -> WAIT_XTL_STABLE_W { WAIT_XTL_STABLE_W::new(self, 0) } #[doc = "Bits 16:31 - need_des"] #[inline(always)] - #[must_use] pub fn wait_pll_stable(&mut self) -> WAIT_PLL_STABLE_W { WAIT_PLL_STABLE_W::new(self, 16) } diff --git a/esp32h2/src/pmu/power_hp_pad.rs b/esp32h2/src/pmu/power_hp_pad.rs index 29abe61ecf..d492fa3a23 100644 --- a/esp32h2/src/pmu/power_hp_pad.rs +++ b/esp32h2/src/pmu/power_hp_pad.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_pad_no_iso_all(&mut self) -> FORCE_HP_PAD_NO_ISO_ALL_W { FORCE_HP_PAD_NO_ISO_ALL_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_pad_iso_all(&mut self) -> FORCE_HP_PAD_ISO_ALL_W { FORCE_HP_PAD_ISO_ALL_W::new(self, 1) } diff --git a/esp32h2/src/pmu/power_pd_hpaon_cntl.rs b/esp32h2/src/pmu/power_pd_hpaon_cntl.rs index 6895d40bef..51b5fe9ad2 100644 --- a/esp32h2/src/pmu/power_pd_hpaon_cntl.rs +++ b/esp32h2/src/pmu/power_pd_hpaon_cntl.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_aon_reset(&mut self) -> FORCE_HP_AON_RESET_W { FORCE_HP_AON_RESET_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_aon_iso(&mut self) -> FORCE_HP_AON_ISO_W { FORCE_HP_AON_ISO_W::new(self, 1) } #[doc = "Bit 2 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_aon_pu(&mut self) -> FORCE_HP_AON_PU_W { FORCE_HP_AON_PU_W::new(self, 2) } #[doc = "Bit 3 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_aon_no_reset(&mut self) -> FORCE_HP_AON_NO_RESET_W { FORCE_HP_AON_NO_RESET_W::new(self, 3) } #[doc = "Bit 4 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_aon_no_iso(&mut self) -> FORCE_HP_AON_NO_ISO_W { FORCE_HP_AON_NO_ISO_W::new(self, 4) } #[doc = "Bit 5 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_aon_pd(&mut self) -> FORCE_HP_AON_PD_W { FORCE_HP_AON_PD_W::new(self, 5) } #[doc = "Bits 6:10 - need_des"] #[inline(always)] - #[must_use] pub fn pd_hp_aon_mask(&mut self) -> PD_HP_AON_MASK_W { PD_HP_AON_MASK_W::new(self, 6) } #[doc = "Bits 27:31 - need_des"] #[inline(always)] - #[must_use] pub fn pd_hp_aon_pd_mask(&mut self) -> PD_HP_AON_PD_MASK_W { PD_HP_AON_PD_MASK_W::new(self, 27) } diff --git a/esp32h2/src/pmu/power_pd_hpcpu_cntl.rs b/esp32h2/src/pmu/power_pd_hpcpu_cntl.rs index 4d3b7b3bf9..9ebb77732f 100644 --- a/esp32h2/src/pmu/power_pd_hpcpu_cntl.rs +++ b/esp32h2/src/pmu/power_pd_hpcpu_cntl.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_cpu_reset(&mut self) -> FORCE_HP_CPU_RESET_W { FORCE_HP_CPU_RESET_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_cpu_iso(&mut self) -> FORCE_HP_CPU_ISO_W { FORCE_HP_CPU_ISO_W::new(self, 1) } #[doc = "Bit 2 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_cpu_pu(&mut self) -> FORCE_HP_CPU_PU_W { FORCE_HP_CPU_PU_W::new(self, 2) } #[doc = "Bit 3 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_cpu_no_reset(&mut self) -> FORCE_HP_CPU_NO_RESET_W { FORCE_HP_CPU_NO_RESET_W::new(self, 3) } #[doc = "Bit 4 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_cpu_no_iso(&mut self) -> FORCE_HP_CPU_NO_ISO_W { FORCE_HP_CPU_NO_ISO_W::new(self, 4) } #[doc = "Bit 5 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_cpu_pd(&mut self) -> FORCE_HP_CPU_PD_W { FORCE_HP_CPU_PD_W::new(self, 5) } #[doc = "Bits 6:10 - need_des"] #[inline(always)] - #[must_use] pub fn pd_hp_cpu_mask(&mut self) -> PD_HP_CPU_MASK_W { PD_HP_CPU_MASK_W::new(self, 6) } #[doc = "Bits 27:31 - need_des"] #[inline(always)] - #[must_use] pub fn pd_hp_cpu_pd_mask(&mut self) -> PD_HP_CPU_PD_MASK_W { PD_HP_CPU_PD_MASK_W::new(self, 27) } diff --git a/esp32h2/src/pmu/power_pd_hpperi_reserve.rs b/esp32h2/src/pmu/power_pd_hpperi_reserve.rs index c3ac69dbc0..3a5bd1bdfb 100644 --- a/esp32h2/src/pmu/power_pd_hpperi_reserve.rs +++ b/esp32h2/src/pmu/power_pd_hpperi_reserve.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_peri_reserve(&mut self) -> HP_PERI_RESERVE_W { HP_PERI_RESERVE_W::new(self, 0) } diff --git a/esp32h2/src/pmu/power_pd_hpwifi_cntl.rs b/esp32h2/src/pmu/power_pd_hpwifi_cntl.rs index 04e22c3a30..cb4dc05cc9 100644 --- a/esp32h2/src/pmu/power_pd_hpwifi_cntl.rs +++ b/esp32h2/src/pmu/power_pd_hpwifi_cntl.rs @@ -94,25 +94,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_wifi_reset(&mut self) -> FORCE_HP_WIFI_RESET_W { FORCE_HP_WIFI_RESET_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_wifi_iso(&mut self) -> FORCE_HP_WIFI_ISO_W { FORCE_HP_WIFI_ISO_W::new(self, 1) } #[doc = "Bit 2 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_wifi_pu(&mut self) -> FORCE_HP_WIFI_PU_W { FORCE_HP_WIFI_PU_W::new(self, 2) } #[doc = "Bit 3 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_wifi_no_reset( &mut self, ) -> FORCE_HP_WIFI_NO_RESET_W { @@ -120,25 +116,21 @@ impl W { } #[doc = "Bit 4 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_wifi_no_iso(&mut self) -> FORCE_HP_WIFI_NO_ISO_W { FORCE_HP_WIFI_NO_ISO_W::new(self, 4) } #[doc = "Bit 5 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_wifi_pd(&mut self) -> FORCE_HP_WIFI_PD_W { FORCE_HP_WIFI_PD_W::new(self, 5) } #[doc = "Bits 6:10 - need_des"] #[inline(always)] - #[must_use] pub fn pd_hp_wifi_mask(&mut self) -> PD_HP_WIFI_MASK_W { PD_HP_WIFI_MASK_W::new(self, 6) } #[doc = "Bits 27:31 - need_des"] #[inline(always)] - #[must_use] pub fn pd_hp_wifi_pd_mask(&mut self) -> PD_HP_WIFI_PD_MASK_W { PD_HP_WIFI_PD_MASK_W::new(self, 27) } diff --git a/esp32h2/src/pmu/power_pd_lpperi_cntl.rs b/esp32h2/src/pmu/power_pd_lpperi_cntl.rs index 4f8c1c2e33..4d82fe84c5 100644 --- a/esp32h2/src/pmu/power_pd_lpperi_cntl.rs +++ b/esp32h2/src/pmu/power_pd_lpperi_cntl.rs @@ -74,25 +74,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn force_lp_peri_reset(&mut self) -> FORCE_LP_PERI_RESET_W { FORCE_LP_PERI_RESET_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn force_lp_peri_iso(&mut self) -> FORCE_LP_PERI_ISO_W { FORCE_LP_PERI_ISO_W::new(self, 1) } #[doc = "Bit 2 - need_des"] #[inline(always)] - #[must_use] pub fn force_lp_peri_pu(&mut self) -> FORCE_LP_PERI_PU_W { FORCE_LP_PERI_PU_W::new(self, 2) } #[doc = "Bit 3 - need_des"] #[inline(always)] - #[must_use] pub fn force_lp_peri_no_reset( &mut self, ) -> FORCE_LP_PERI_NO_RESET_W { @@ -100,13 +96,11 @@ impl W { } #[doc = "Bit 4 - need_des"] #[inline(always)] - #[must_use] pub fn force_lp_peri_no_iso(&mut self) -> FORCE_LP_PERI_NO_ISO_W { FORCE_LP_PERI_NO_ISO_W::new(self, 4) } #[doc = "Bit 5 - need_des"] #[inline(always)] - #[must_use] pub fn force_lp_peri_pd(&mut self) -> FORCE_LP_PERI_PD_W { FORCE_LP_PERI_PD_W::new(self, 5) } diff --git a/esp32h2/src/pmu/power_pd_mem_cntl.rs b/esp32h2/src/pmu/power_pd_mem_cntl.rs index 337a8c9abe..561876fd8a 100644 --- a/esp32h2/src/pmu/power_pd_mem_cntl.rs +++ b/esp32h2/src/pmu/power_pd_mem_cntl.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_mem_iso(&mut self) -> FORCE_HP_MEM_ISO_W { FORCE_HP_MEM_ISO_W::new(self, 0) } #[doc = "Bits 4:7 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_mem_pd(&mut self) -> FORCE_HP_MEM_PD_W { FORCE_HP_MEM_PD_W::new(self, 4) } #[doc = "Bits 24:27 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_mem_no_iso(&mut self) -> FORCE_HP_MEM_NO_ISO_W { FORCE_HP_MEM_NO_ISO_W::new(self, 24) } #[doc = "Bits 28:31 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_mem_pu(&mut self) -> FORCE_HP_MEM_PU_W { FORCE_HP_MEM_PU_W::new(self, 28) } diff --git a/esp32h2/src/pmu/power_pd_mem_mask.rs b/esp32h2/src/pmu/power_pd_mem_mask.rs index cd89c7320c..edf856e9ed 100644 --- a/esp32h2/src/pmu/power_pd_mem_mask.rs +++ b/esp32h2/src/pmu/power_pd_mem_mask.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - need_des"] #[inline(always)] - #[must_use] pub fn pd_hp_mem2_pd_mask(&mut self) -> PD_HP_MEM2_PD_MASK_W { PD_HP_MEM2_PD_MASK_W::new(self, 0) } #[doc = "Bits 5:9 - need_des"] #[inline(always)] - #[must_use] pub fn pd_hp_mem1_pd_mask(&mut self) -> PD_HP_MEM1_PD_MASK_W { PD_HP_MEM1_PD_MASK_W::new(self, 5) } #[doc = "Bits 10:14 - need_des"] #[inline(always)] - #[must_use] pub fn pd_hp_mem0_pd_mask(&mut self) -> PD_HP_MEM0_PD_MASK_W { PD_HP_MEM0_PD_MASK_W::new(self, 10) } #[doc = "Bits 17:21 - need_des"] #[inline(always)] - #[must_use] pub fn pd_hp_mem2_mask(&mut self) -> PD_HP_MEM2_MASK_W { PD_HP_MEM2_MASK_W::new(self, 17) } #[doc = "Bits 22:26 - need_des"] #[inline(always)] - #[must_use] pub fn pd_hp_mem1_mask(&mut self) -> PD_HP_MEM1_MASK_W { PD_HP_MEM1_MASK_W::new(self, 22) } #[doc = "Bits 27:31 - need_des"] #[inline(always)] - #[must_use] pub fn pd_hp_mem0_mask(&mut self) -> PD_HP_MEM0_MASK_W { PD_HP_MEM0_MASK_W::new(self, 27) } diff --git a/esp32h2/src/pmu/power_pd_top_cntl.rs b/esp32h2/src/pmu/power_pd_top_cntl.rs index 8d7d667883..fee334d4d9 100644 --- a/esp32h2/src/pmu/power_pd_top_cntl.rs +++ b/esp32h2/src/pmu/power_pd_top_cntl.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn force_top_reset(&mut self) -> FORCE_TOP_RESET_W { FORCE_TOP_RESET_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn force_top_iso(&mut self) -> FORCE_TOP_ISO_W { FORCE_TOP_ISO_W::new(self, 1) } #[doc = "Bit 2 - need_des"] #[inline(always)] - #[must_use] pub fn force_top_pu(&mut self) -> FORCE_TOP_PU_W { FORCE_TOP_PU_W::new(self, 2) } #[doc = "Bit 3 - need_des"] #[inline(always)] - #[must_use] pub fn force_top_no_reset(&mut self) -> FORCE_TOP_NO_RESET_W { FORCE_TOP_NO_RESET_W::new(self, 3) } #[doc = "Bit 4 - need_des"] #[inline(always)] - #[must_use] pub fn force_top_no_iso(&mut self) -> FORCE_TOP_NO_ISO_W { FORCE_TOP_NO_ISO_W::new(self, 4) } #[doc = "Bit 5 - need_des"] #[inline(always)] - #[must_use] pub fn force_top_pd(&mut self) -> FORCE_TOP_PD_W { FORCE_TOP_PD_W::new(self, 5) } #[doc = "Bits 6:10 - need_des"] #[inline(always)] - #[must_use] pub fn pd_top_mask(&mut self) -> PD_TOP_MASK_W { PD_TOP_MASK_W::new(self, 6) } #[doc = "Bits 27:31 - need_des"] #[inline(always)] - #[must_use] pub fn pd_top_pd_mask(&mut self) -> PD_TOP_PD_MASK_W { PD_TOP_PD_MASK_W::new(self, 27) } diff --git a/esp32h2/src/pmu/power_vdd_spi_cntl.rs b/esp32h2/src/pmu/power_vdd_spi_cntl.rs index 822a3e34bf..663cf62f93 100644 --- a/esp32h2/src/pmu/power_vdd_spi_cntl.rs +++ b/esp32h2/src/pmu/power_vdd_spi_cntl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 18:28 - need_des"] #[inline(always)] - #[must_use] pub fn vdd_spi_pwr_wait(&mut self) -> VDD_SPI_PWR_WAIT_W { VDD_SPI_PWR_WAIT_W::new(self, 18) } #[doc = "Bits 29:30 - need_des"] #[inline(always)] - #[must_use] pub fn vdd_spi_pwr_sw(&mut self) -> VDD_SPI_PWR_SW_W { VDD_SPI_PWR_SW_W::new(self, 29) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn vdd_spi_pwr_sel_sw(&mut self) -> VDD_SPI_PWR_SEL_SW_W { VDD_SPI_PWR_SEL_SW_W::new(self, 31) } diff --git a/esp32h2/src/pmu/power_wait_timer0.rs b/esp32h2/src/pmu/power_wait_timer0.rs index df8c5fe27e..dc3b03230d 100644 --- a/esp32h2/src/pmu/power_wait_timer0.rs +++ b/esp32h2/src/pmu/power_wait_timer0.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 5:13 - need_des"] #[inline(always)] - #[must_use] pub fn dg_hp_powerdown_timer(&mut self) -> DG_HP_POWERDOWN_TIMER_W { DG_HP_POWERDOWN_TIMER_W::new(self, 5) } #[doc = "Bits 14:22 - need_des"] #[inline(always)] - #[must_use] pub fn dg_hp_powerup_timer(&mut self) -> DG_HP_POWERUP_TIMER_W { DG_HP_POWERUP_TIMER_W::new(self, 14) } #[doc = "Bits 23:31 - need_des"] #[inline(always)] - #[must_use] pub fn dg_hp_wait_timer(&mut self) -> DG_HP_WAIT_TIMER_W { DG_HP_WAIT_TIMER_W::new(self, 23) } diff --git a/esp32h2/src/pmu/power_wait_timer1.rs b/esp32h2/src/pmu/power_wait_timer1.rs index bcf7cb4ea7..1e7257c58c 100644 --- a/esp32h2/src/pmu/power_wait_timer1.rs +++ b/esp32h2/src/pmu/power_wait_timer1.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 9:15 - need_des"] #[inline(always)] - #[must_use] pub fn dg_lp_powerdown_timer(&mut self) -> DG_LP_POWERDOWN_TIMER_W { DG_LP_POWERDOWN_TIMER_W::new(self, 9) } #[doc = "Bits 16:22 - need_des"] #[inline(always)] - #[must_use] pub fn dg_lp_powerup_timer(&mut self) -> DG_LP_POWERUP_TIMER_W { DG_LP_POWERUP_TIMER_W::new(self, 16) } #[doc = "Bits 23:31 - need_des"] #[inline(always)] - #[must_use] pub fn dg_lp_wait_timer(&mut self) -> DG_LP_WAIT_TIMER_W { DG_LP_WAIT_TIMER_W::new(self, 23) } diff --git a/esp32h2/src/pmu/rf_pwc.rs b/esp32h2/src/pmu/rf_pwc.rs index 212ea89ed0..8d18965100 100644 --- a/esp32h2/src/pmu/rf_pwc.rs +++ b/esp32h2/src/pmu/rf_pwc.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn xpd_perif_i2c(&mut self) -> XPD_PERIF_I2C_W { XPD_PERIF_I2C_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn xpd_rftx_i2c(&mut self) -> XPD_RFTX_I2C_W { XPD_RFTX_I2C_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn xpd_rfrx_i2c(&mut self) -> XPD_RFRX_I2C_W { XPD_RFRX_I2C_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn xpd_rfpll(&mut self) -> XPD_RFPLL_W { XPD_RFPLL_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn xpd_force_rfpll(&mut self) -> XPD_FORCE_RFPLL_W { XPD_FORCE_RFPLL_W::new(self, 31) } diff --git a/esp32h2/src/pmu/slp_wakeup_cntl0.rs b/esp32h2/src/pmu/slp_wakeup_cntl0.rs index 3788d582d5..d6525fa254 100644 --- a/esp32h2/src/pmu/slp_wakeup_cntl0.rs +++ b/esp32h2/src/pmu/slp_wakeup_cntl0.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_req(&mut self) -> SLEEP_REQ_W { SLEEP_REQ_W::new(self, 31) } diff --git a/esp32h2/src/pmu/slp_wakeup_cntl1.rs b/esp32h2/src/pmu/slp_wakeup_cntl1.rs index 01dda37312..cb94c5c2c4 100644 --- a/esp32h2/src/pmu/slp_wakeup_cntl1.rs +++ b/esp32h2/src/pmu/slp_wakeup_cntl1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_reject_ena(&mut self) -> SLEEP_REJECT_ENA_W { SLEEP_REJECT_ENA_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn slp_reject_en(&mut self) -> SLP_REJECT_EN_W { SLP_REJECT_EN_W::new(self, 31) } diff --git a/esp32h2/src/pmu/slp_wakeup_cntl2.rs b/esp32h2/src/pmu/slp_wakeup_cntl2.rs index 305dfe5b8c..b54de616f2 100644 --- a/esp32h2/src/pmu/slp_wakeup_cntl2.rs +++ b/esp32h2/src/pmu/slp_wakeup_cntl2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn wakeup_ena(&mut self) -> WAKEUP_ENA_W { WAKEUP_ENA_W::new(self, 0) } diff --git a/esp32h2/src/pmu/slp_wakeup_cntl3.rs b/esp32h2/src/pmu/slp_wakeup_cntl3.rs index eb9bb27846..dac50c0d30 100644 --- a/esp32h2/src/pmu/slp_wakeup_cntl3.rs +++ b/esp32h2/src/pmu/slp_wakeup_cntl3.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - need_des"] #[inline(always)] - #[must_use] pub fn lp_min_slp_val(&mut self) -> LP_MIN_SLP_VAL_W { LP_MIN_SLP_VAL_W::new(self, 0) } #[doc = "Bits 8:15 - need_des"] #[inline(always)] - #[must_use] pub fn hp_min_slp_val(&mut self) -> HP_MIN_SLP_VAL_W { HP_MIN_SLP_VAL_W::new(self, 8) } #[doc = "Bits 16:17 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_prt_sel(&mut self) -> SLEEP_PRT_SEL_W { SLEEP_PRT_SEL_W::new(self, 16) } diff --git a/esp32h2/src/pmu/slp_wakeup_cntl4.rs b/esp32h2/src/pmu/slp_wakeup_cntl4.rs index 4b47fdd7de..259d3595f9 100644 --- a/esp32h2/src/pmu/slp_wakeup_cntl4.rs +++ b/esp32h2/src/pmu/slp_wakeup_cntl4.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn slp_reject_cause_clr(&mut self) -> SLP_REJECT_CAUSE_CLR_W { SLP_REJECT_CAUSE_CLR_W::new(self, 31) } diff --git a/esp32h2/src/pmu/slp_wakeup_cntl5.rs b/esp32h2/src/pmu/slp_wakeup_cntl5.rs index 3cb46e7a28..6ca0547dda 100644 --- a/esp32h2/src/pmu/slp_wakeup_cntl5.rs +++ b/esp32h2/src/pmu/slp_wakeup_cntl5.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - need_des"] #[inline(always)] - #[must_use] pub fn modem_wait_target(&mut self) -> MODEM_WAIT_TARGET_W { MODEM_WAIT_TARGET_W::new(self, 0) } #[doc = "Bits 24:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_ana_wait_target(&mut self) -> LP_ANA_WAIT_TARGET_W { LP_ANA_WAIT_TARGET_W::new(self, 24) } diff --git a/esp32h2/src/pmu/slp_wakeup_cntl6.rs b/esp32h2/src/pmu/slp_wakeup_cntl6.rs index 85054d80b8..e2792cf6bd 100644 --- a/esp32h2/src/pmu/slp_wakeup_cntl6.rs +++ b/esp32h2/src/pmu/slp_wakeup_cntl6.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - need_des"] #[inline(always)] - #[must_use] pub fn soc_wakeup_wait(&mut self) -> SOC_WAKEUP_WAIT_W { SOC_WAKEUP_WAIT_W::new(self, 0) } #[doc = "Bits 30:31 - need_des"] #[inline(always)] - #[must_use] pub fn soc_wakeup_wait_cfg(&mut self) -> SOC_WAKEUP_WAIT_CFG_W { SOC_WAKEUP_WAIT_CFG_W::new(self, 30) } diff --git a/esp32h2/src/pmu/slp_wakeup_cntl7.rs b/esp32h2/src/pmu/slp_wakeup_cntl7.rs index 81ba3ed69d..10ce48136c 100644 --- a/esp32h2/src/pmu/slp_wakeup_cntl7.rs +++ b/esp32h2/src/pmu/slp_wakeup_cntl7.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - need_des"] #[inline(always)] - #[must_use] pub fn ana_wait_target(&mut self) -> ANA_WAIT_TARGET_W { ANA_WAIT_TARGET_W::new(self, 16) } diff --git a/esp32h2/src/pmu/vddbat_cfg.rs b/esp32h2/src/pmu/vddbat_cfg.rs index 1374d3108b..49c28388b8 100644 --- a/esp32h2/src/pmu/vddbat_cfg.rs +++ b/esp32h2/src/pmu/vddbat_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_sw_update(&mut self) -> VDDBAT_SW_UPDATE_W { VDDBAT_SW_UPDATE_W::new(self, 31) } diff --git a/esp32h2/src/rmt.rs b/esp32h2/src/rmt.rs index 51a6784594..e86f8544fa 100644 --- a/esp32h2/src/rmt.rs +++ b/esp32h2/src/rmt.rs @@ -78,18 +78,31 @@ impl RegisterBlock { self.ch_tx_conf0(1) } #[doc = "0x18..0x20 - Channel %s configure register 0"] + #[doc = ""] + #[doc = "
`n` is the index of register in the array. `n == 0` corresponds to `CH2_RX_CONF0` register.
"] #[inline(always)] pub const fn ch_rx_conf0(&self, n: usize) -> &CH_RX_CONF0 { #[allow(clippy::no_effect)] [(); 2][n]; - unsafe { &*(self as *const Self).cast::().add(24).add(8 * n).cast() } + unsafe { + &*core::ptr::from_ref(self) + .cast::() + .add(24) + .add(8 * n) + .cast() + } } #[doc = "Iterator for array of:"] #[doc = "0x18..0x20 - Channel %s configure register 0"] #[inline(always)] pub fn ch_rx_conf0_iter(&self) -> impl Iterator { - (0..2) - .map(move |n| unsafe { &*(self as *const Self).cast::().add(24).add(8 * n).cast() }) + (0..2).map(move |n| unsafe { + &*core::ptr::from_ref(self) + .cast::() + .add(24) + .add(8 * n) + .cast() + }) } #[doc = "0x18 - Channel 2 configure register 0"] #[inline(always)] @@ -102,18 +115,31 @@ impl RegisterBlock { self.ch_rx_conf0(1) } #[doc = "0x1c..0x24 - Channel %s configure register 1"] + #[doc = ""] + #[doc = "
`n` is the index of register in the array. `n == 0` corresponds to `CH2_RX_CONF1` register.
"] #[inline(always)] pub const fn ch_rx_conf1(&self, n: usize) -> &CH_RX_CONF1 { #[allow(clippy::no_effect)] [(); 2][n]; - unsafe { &*(self as *const Self).cast::().add(28).add(8 * n).cast() } + unsafe { + &*core::ptr::from_ref(self) + .cast::() + .add(28) + .add(8 * n) + .cast() + } } #[doc = "Iterator for array of:"] #[doc = "0x1c..0x24 - Channel %s configure register 1"] #[inline(always)] pub fn ch_rx_conf1_iter(&self) -> impl Iterator { - (0..2) - .map(move |n| unsafe { &*(self as *const Self).cast::().add(28).add(8 * n).cast() }) + (0..2).map(move |n| unsafe { + &*core::ptr::from_ref(self) + .cast::() + .add(28) + .add(8 * n) + .cast() + }) } #[doc = "0x1c - Channel 2 configure register 1"] #[inline(always)] diff --git a/esp32h2/src/rmt/ch_rx_carrier_rm.rs b/esp32h2/src/rmt/ch_rx_carrier_rm.rs index 44001ff925..0444342463 100644 --- a/esp32h2/src/rmt/ch_rx_carrier_rm.rs +++ b/esp32h2/src/rmt/ch_rx_carrier_rm.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The low level period in a carrier modulation mode is (REG_RMT_REG_CARRIER_LOW_THRES_CH%s + 1) for channel %s."] #[inline(always)] - #[must_use] pub fn carrier_low_thres(&mut self) -> CARRIER_LOW_THRES_W { CARRIER_LOW_THRES_W::new(self, 0) } #[doc = "Bits 16:31 - The high level period in a carrier modulation mode is (REG_RMT_REG_CARRIER_HIGH_THRES_CH%s + 1) for channel %s."] #[inline(always)] - #[must_use] pub fn carrier_high_thres(&mut self) -> CARRIER_HIGH_THRES_W { CARRIER_HIGH_THRES_W::new(self, 16) } diff --git a/esp32h2/src/rmt/ch_rx_conf0.rs b/esp32h2/src/rmt/ch_rx_conf0.rs index 12bc7d282b..0140d77b44 100644 --- a/esp32h2/src/rmt/ch_rx_conf0.rs +++ b/esp32h2/src/rmt/ch_rx_conf0.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register is used to configure the divider for clock of CHANNEL%s."] #[inline(always)] - #[must_use] pub fn div_cnt(&mut self) -> DIV_CNT_W { DIV_CNT_W::new(self, 0) } #[doc = "Bits 8:22 - When no edge is detected on the input signal and continuous clock cycles is longer than this register value, received process is finished."] #[inline(always)] - #[must_use] pub fn idle_thres(&mut self) -> IDLE_THRES_W { IDLE_THRES_W::new(self, 8) } #[doc = "Bits 23:25 - This register is used to configure the maximum size of memory allocated to CHANNEL%s."] #[inline(always)] - #[must_use] pub fn mem_size(&mut self) -> MEM_SIZE_W { MEM_SIZE_W::new(self, 23) } #[doc = "Bit 28 - This is the carrier modulation enable-control bit for CHANNEL%s. 1: Add carrier modulation in the output signal. 0: No carrier modulation in sig_out."] #[inline(always)] - #[must_use] pub fn carrier_en(&mut self) -> CARRIER_EN_W { CARRIER_EN_W::new(self, 28) } #[doc = "Bit 29 - This bit is used to configure the position of carrier wave for CHANNEL%s. 1'h0: add carrier wave on low level. 1'h1: add carrier wave on high level."] #[inline(always)] - #[must_use] pub fn carrier_out_lv(&mut self) -> CARRIER_OUT_LV_W { CARRIER_OUT_LV_W::new(self, 29) } diff --git a/esp32h2/src/rmt/ch_rx_conf1.rs b/esp32h2/src/rmt/ch_rx_conf1.rs index befc5121de..a9d38cf260 100644 --- a/esp32h2/src/rmt/ch_rx_conf1.rs +++ b/esp32h2/src/rmt/ch_rx_conf1.rs @@ -72,55 +72,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable receiver to receive data on CHANNEL%s."] #[inline(always)] - #[must_use] pub fn rx_en(&mut self) -> RX_EN_W { RX_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to reset write ram address for CHANNEL%s by accessing receiver."] #[inline(always)] - #[must_use] pub fn mem_wr_rst(&mut self) -> MEM_WR_RST_W { MEM_WR_RST_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to reset W/R ram address for CHANNEL%s by accessing apb fifo."] #[inline(always)] - #[must_use] pub fn apb_mem_rst(&mut self) -> APB_MEM_RST_W { APB_MEM_RST_W::new(self, 2) } #[doc = "Bit 3 - This register marks the ownership of CHANNEL%s's ram block. 1'h1: Receiver is using the ram. 1'h0: APB bus is using the ram."] #[inline(always)] - #[must_use] pub fn mem_owner(&mut self) -> MEM_OWNER_W { MEM_OWNER_W::new(self, 3) } #[doc = "Bit 4 - This is the receive filter's enable bit for CHANNEL%s."] #[inline(always)] - #[must_use] pub fn rx_filter_en(&mut self) -> RX_FILTER_EN_W { RX_FILTER_EN_W::new(self, 4) } #[doc = "Bits 5:12 - Ignores the input pulse when its width is smaller than this register value in APB clock periods (in receive mode)."] #[inline(always)] - #[must_use] pub fn rx_filter_thres(&mut self) -> RX_FILTER_THRES_W { RX_FILTER_THRES_W::new(self, 5) } #[doc = "Bit 13 - This is the channel %s enable bit for wraparound mode: it will resume receiving at the start when the data to be received is more than its memory size."] #[inline(always)] - #[must_use] pub fn mem_rx_wrap_en(&mut self) -> MEM_RX_WRAP_EN_W { MEM_RX_WRAP_EN_W::new(self, 13) } #[doc = "Bit 14 - Reserved"] #[inline(always)] - #[must_use] pub fn afifo_rst(&mut self) -> AFIFO_RST_W { AFIFO_RST_W::new(self, 14) } #[doc = "Bit 15 - synchronization bit for CHANNEL%s"] #[inline(always)] - #[must_use] pub fn conf_update(&mut self) -> CONF_UPDATE_W { CONF_UPDATE_W::new(self, 15) } diff --git a/esp32h2/src/rmt/ch_rx_lim.rs b/esp32h2/src/rmt/ch_rx_lim.rs index 94352ffdbb..bbbd892900 100644 --- a/esp32h2/src/rmt/ch_rx_lim.rs +++ b/esp32h2/src/rmt/ch_rx_lim.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure the maximum entries that CHANNEL%s can receive."] #[inline(always)] - #[must_use] pub fn rmt_rx_lim(&mut self) -> RMT_RX_LIM_W { RMT_RX_LIM_W::new(self, 0) } diff --git a/esp32h2/src/rmt/ch_tx_conf0.rs b/esp32h2/src/rmt/ch_tx_conf0.rs index 6037420b3f..cb31c3e926 100644 --- a/esp32h2/src/rmt/ch_tx_conf0.rs +++ b/esp32h2/src/rmt/ch_tx_conf0.rs @@ -124,91 +124,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to start sending data on CHANNEL%s."] #[inline(always)] - #[must_use] pub fn tx_start(&mut self) -> TX_START_W { TX_START_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to reset read ram address for CHANNEL%s by accessing transmitter."] #[inline(always)] - #[must_use] pub fn mem_rd_rst(&mut self) -> MEM_RD_RST_W { MEM_RD_RST_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to reset W/R ram address for CHANNEL%s by accessing apb fifo."] #[inline(always)] - #[must_use] pub fn apb_mem_rst(&mut self) -> APB_MEM_RST_W { APB_MEM_RST_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to restart transmission from the first data to the last data in CHANNEL%s."] #[inline(always)] - #[must_use] pub fn tx_conti_mode(&mut self) -> TX_CONTI_MODE_W { TX_CONTI_MODE_W::new(self, 3) } #[doc = "Bit 4 - This is the channel %s enable bit for wraparound mode: it will resume sending at the start when the data to be sent is more than its memory size."] #[inline(always)] - #[must_use] pub fn mem_tx_wrap_en(&mut self) -> MEM_TX_WRAP_EN_W { MEM_TX_WRAP_EN_W::new(self, 4) } #[doc = "Bit 5 - This bit configures the level of output signal in CHANNEL%s when the latter is in IDLE state."] #[inline(always)] - #[must_use] pub fn idle_out_lv(&mut self) -> IDLE_OUT_LV_W { IDLE_OUT_LV_W::new(self, 5) } #[doc = "Bit 6 - This is the output enable-control bit for CHANNEL%s in IDLE state."] #[inline(always)] - #[must_use] pub fn idle_out_en(&mut self) -> IDLE_OUT_EN_W { IDLE_OUT_EN_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to stop the transmitter of CHANNEL%s sending data out."] #[inline(always)] - #[must_use] pub fn tx_stop(&mut self) -> TX_STOP_W { TX_STOP_W::new(self, 7) } #[doc = "Bits 8:15 - This register is used to configure the divider for clock of CHANNEL%s."] #[inline(always)] - #[must_use] pub fn div_cnt(&mut self) -> DIV_CNT_W { DIV_CNT_W::new(self, 8) } #[doc = "Bits 16:18 - This register is used to configure the maximum size of memory allocated to CHANNEL%s."] #[inline(always)] - #[must_use] pub fn mem_size(&mut self) -> MEM_SIZE_W { MEM_SIZE_W::new(self, 16) } #[doc = "Bit 20 - 1: Add carrier modulation on the output signal only at the send data state for CHANNEL%s. 0: Add carrier modulation on the output signal at all state for CHANNEL%s. Only valid when RMT_CARRIER_EN_CH%s is 1."] #[inline(always)] - #[must_use] pub fn carrier_eff_en(&mut self) -> CARRIER_EFF_EN_W { CARRIER_EFF_EN_W::new(self, 20) } #[doc = "Bit 21 - This is the carrier modulation enable-control bit for CHANNEL%s. 1: Add carrier modulation in the output signal. 0: No carrier modulation in sig_out."] #[inline(always)] - #[must_use] pub fn carrier_en(&mut self) -> CARRIER_EN_W { CARRIER_EN_W::new(self, 21) } #[doc = "Bit 22 - This bit is used to configure the position of carrier wave for CHANNEL%s. 1'h0: add carrier wave on low level. 1'h1: add carrier wave on high level."] #[inline(always)] - #[must_use] pub fn carrier_out_lv(&mut self) -> CARRIER_OUT_LV_W { CARRIER_OUT_LV_W::new(self, 22) } #[doc = "Bit 23 - Reserved"] #[inline(always)] - #[must_use] pub fn afifo_rst(&mut self) -> AFIFO_RST_W { AFIFO_RST_W::new(self, 23) } #[doc = "Bit 24 - synchronization bit for CHANNEL%s"] #[inline(always)] - #[must_use] pub fn conf_update(&mut self) -> CONF_UPDATE_W { CONF_UPDATE_W::new(self, 24) } diff --git a/esp32h2/src/rmt/ch_tx_lim.rs b/esp32h2/src/rmt/ch_tx_lim.rs index 34f227c619..39debf5c5b 100644 --- a/esp32h2/src/rmt/ch_tx_lim.rs +++ b/esp32h2/src/rmt/ch_tx_lim.rs @@ -56,31 +56,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure the maximum entries that CHANNEL%s can send out."] #[inline(always)] - #[must_use] pub fn tx_lim(&mut self) -> TX_LIM_W { TX_LIM_W::new(self, 0) } #[doc = "Bits 9:18 - This register is used to configure the maximum loop count when tx_conti_mode is valid."] #[inline(always)] - #[must_use] pub fn tx_loop_num(&mut self) -> TX_LOOP_NUM_W { TX_LOOP_NUM_W::new(self, 9) } #[doc = "Bit 19 - This register is the enabled bit for loop count."] #[inline(always)] - #[must_use] pub fn tx_loop_cnt_en(&mut self) -> TX_LOOP_CNT_EN_W { TX_LOOP_CNT_EN_W::new(self, 19) } #[doc = "Bit 20 - This register is used to reset the loop count when tx_conti_mode is valid."] #[inline(always)] - #[must_use] pub fn loop_count_reset(&mut self) -> LOOP_COUNT_RESET_W { LOOP_COUNT_RESET_W::new(self, 20) } #[doc = "Bit 21 - This bit is used to enable the loop send stop function after the loop counter counts to loop number for CHANNEL%s."] #[inline(always)] - #[must_use] pub fn loop_stop_en(&mut self) -> LOOP_STOP_EN_W { LOOP_STOP_EN_W::new(self, 21) } diff --git a/esp32h2/src/rmt/chcarrier_duty.rs b/esp32h2/src/rmt/chcarrier_duty.rs index 1aedd08615..a45cf0e6ed 100644 --- a/esp32h2/src/rmt/chcarrier_duty.rs +++ b/esp32h2/src/rmt/chcarrier_duty.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure carrier wave 's low level clock period for CHANNEL%s."] #[inline(always)] - #[must_use] pub fn carrier_low(&mut self) -> CARRIER_LOW_W { CARRIER_LOW_W::new(self, 0) } #[doc = "Bits 16:31 - This register is used to configure carrier wave 's high level clock period for CHANNEL%s."] #[inline(always)] - #[must_use] pub fn carrier_high(&mut self) -> CARRIER_HIGH_W { CARRIER_HIGH_W::new(self, 16) } diff --git a/esp32h2/src/rmt/chdata.rs b/esp32h2/src/rmt/chdata.rs index 7fce764b5e..9cdbe81915 100644 --- a/esp32h2/src/rmt/chdata.rs +++ b/esp32h2/src/rmt/chdata.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Read and write data for channel %s via APB FIFO."] #[inline(always)] - #[must_use] pub fn data(&mut self) -> DATA_W { DATA_W::new(self, 0) } diff --git a/esp32h2/src/rmt/date.rs b/esp32h2/src/rmt/date.rs index 331c5ed948..fde16c91ed 100644 --- a/esp32h2/src/rmt/date.rs +++ b/esp32h2/src/rmt/date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - This is the version register."] #[inline(always)] - #[must_use] pub fn rmt_date(&mut self) -> RMT_DATE_W { RMT_DATE_W::new(self, 0) } diff --git a/esp32h2/src/rmt/int_clr.rs b/esp32h2/src/rmt/int_clr.rs index 78a27520f6..e0a6ad0255 100644 --- a/esp32h2/src/rmt/int_clr.rs +++ b/esp32h2/src/rmt/int_clr.rs @@ -25,7 +25,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_END` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_end(&mut self, n: u8) -> CH_TX_END_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -33,13 +32,11 @@ impl W { } #[doc = "Bit 0 - Set this bit to clear theCH0_TX_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch0_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear theCH1_TX_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch1_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 1) } @@ -47,7 +44,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH2_RX_END` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_end(&mut self, n: u8) -> CH_RX_END_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -55,13 +51,11 @@ impl W { } #[doc = "Bit 2 - Set this bit to clear theCH2_RX_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch2_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear theCH2_RX_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch3_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 3) } @@ -69,7 +63,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_ERR` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_err(&mut self, n: u8) -> CH_TX_ERR_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -77,13 +70,11 @@ impl W { } #[doc = "Bit 4 - Set this bit to clear theCH4_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch0_tx_err(&mut self) -> CH_TX_ERR_W { CH_TX_ERR_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear theCH4_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch1_tx_err(&mut self) -> CH_TX_ERR_W { CH_TX_ERR_W::new(self, 5) } @@ -91,7 +82,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH2_RX_ERR` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_err(&mut self, n: u8) -> CH_RX_ERR_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -99,13 +89,11 @@ impl W { } #[doc = "Bit 6 - Set this bit to clear theCH6_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch2_rx_err(&mut self) -> CH_RX_ERR_W { CH_RX_ERR_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear theCH6_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch3_rx_err(&mut self) -> CH_RX_ERR_W { CH_RX_ERR_W::new(self, 7) } @@ -113,7 +101,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_THR_EVENT` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_thr_event(&mut self, n: u8) -> CH_TX_THR_EVENT_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -121,13 +108,11 @@ impl W { } #[doc = "Bit 8 - Set this bit to clear theCH0_TX_THR_EVENT_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch0_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear theCH1_TX_THR_EVENT_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch1_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 9) } @@ -135,7 +120,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH2_RX_THR_EVENT` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_thr_event(&mut self, n: u8) -> CH_RX_THR_EVENT_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -143,13 +127,11 @@ impl W { } #[doc = "Bit 10 - Set this bit to clear theCH2_RX_THR_EVENT_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch2_rx_thr_event(&mut self) -> CH_RX_THR_EVENT_W { CH_RX_THR_EVENT_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear theCH2_RX_THR_EVENT_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch3_rx_thr_event(&mut self) -> CH_RX_THR_EVENT_W { CH_RX_THR_EVENT_W::new(self, 11) } @@ -157,7 +139,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_LOOP` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_loop(&mut self, n: u8) -> CH_TX_LOOP_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -165,13 +146,11 @@ impl W { } #[doc = "Bit 12 - Set this bit to clear theCH0_TX_LOOP_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch0_tx_loop(&mut self) -> CH_TX_LOOP_W { CH_TX_LOOP_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to clear theCH1_TX_LOOP_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch1_tx_loop(&mut self) -> CH_TX_LOOP_W { CH_TX_LOOP_W::new(self, 13) } diff --git a/esp32h2/src/rmt/int_ena.rs b/esp32h2/src/rmt/int_ena.rs index 3b3383a3af..63a8861e4b 100644 --- a/esp32h2/src/rmt/int_ena.rs +++ b/esp32h2/src/rmt/int_ena.rs @@ -233,7 +233,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_END` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_end(&mut self, n: u8) -> CH_TX_END_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -241,13 +240,11 @@ impl W { } #[doc = "Bit 0 - The interrupt enable bit for CH0_TX_END_INT."] #[inline(always)] - #[must_use] pub fn ch0_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for CH1_TX_END_INT."] #[inline(always)] - #[must_use] pub fn ch1_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 1) } @@ -255,7 +252,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH2_RX_END` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_end(&mut self, n: u8) -> CH_RX_END_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -263,13 +259,11 @@ impl W { } #[doc = "Bit 2 - The interrupt enable bit for CH2_RX_END_INT."] #[inline(always)] - #[must_use] pub fn ch2_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for CH2_RX_END_INT."] #[inline(always)] - #[must_use] pub fn ch3_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 3) } @@ -277,7 +271,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_ERR` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_err(&mut self, n: u8) -> CH_TX_ERR_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -285,13 +278,11 @@ impl W { } #[doc = "Bit 4 - The interrupt enable bit for CH4_ERR_INT."] #[inline(always)] - #[must_use] pub fn ch0_tx_err(&mut self) -> CH_TX_ERR_W { CH_TX_ERR_W::new(self, 4) } #[doc = "Bit 5 - The interrupt enable bit for CH4_ERR_INT."] #[inline(always)] - #[must_use] pub fn ch1_tx_err(&mut self) -> CH_TX_ERR_W { CH_TX_ERR_W::new(self, 5) } @@ -299,7 +290,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH2_RX_ERR` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_err(&mut self, n: u8) -> CH_RX_ERR_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -307,13 +297,11 @@ impl W { } #[doc = "Bit 6 - The interrupt enable bit for CH6_ERR_INT."] #[inline(always)] - #[must_use] pub fn ch2_rx_err(&mut self) -> CH_RX_ERR_W { CH_RX_ERR_W::new(self, 6) } #[doc = "Bit 7 - The interrupt enable bit for CH6_ERR_INT."] #[inline(always)] - #[must_use] pub fn ch3_rx_err(&mut self) -> CH_RX_ERR_W { CH_RX_ERR_W::new(self, 7) } @@ -321,7 +309,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_THR_EVENT` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_thr_event(&mut self, n: u8) -> CH_TX_THR_EVENT_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -329,13 +316,11 @@ impl W { } #[doc = "Bit 8 - The interrupt enable bit for CH0_TX_THR_EVENT_INT."] #[inline(always)] - #[must_use] pub fn ch0_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 8) } #[doc = "Bit 9 - The interrupt enable bit for CH1_TX_THR_EVENT_INT."] #[inline(always)] - #[must_use] pub fn ch1_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 9) } @@ -343,7 +328,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH2_RX_THR_EVENT` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_thr_event(&mut self, n: u8) -> CH_RX_THR_EVENT_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -351,13 +335,11 @@ impl W { } #[doc = "Bit 10 - The interrupt enable bit for CH2_RX_THR_EVENT_INT."] #[inline(always)] - #[must_use] pub fn ch2_rx_thr_event(&mut self) -> CH_RX_THR_EVENT_W { CH_RX_THR_EVENT_W::new(self, 10) } #[doc = "Bit 11 - The interrupt enable bit for CH2_RX_THR_EVENT_INT."] #[inline(always)] - #[must_use] pub fn ch3_rx_thr_event(&mut self) -> CH_RX_THR_EVENT_W { CH_RX_THR_EVENT_W::new(self, 11) } @@ -365,7 +347,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_X_LOOP` field.
"] #[inline(always)] - #[must_use] pub fn ch_x_loop(&mut self, n: u8) -> CH_X_LOOP_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -373,13 +354,11 @@ impl W { } #[doc = "Bit 12 - The interrupt enable bit for CH0_TX_LOOP_INT."] #[inline(always)] - #[must_use] pub fn ch0_x_loop(&mut self) -> CH_X_LOOP_W { CH_X_LOOP_W::new(self, 12) } #[doc = "Bit 13 - The interrupt enable bit for CH1_TX_LOOP_INT."] #[inline(always)] - #[must_use] pub fn ch1_x_loop(&mut self) -> CH_X_LOOP_W { CH_X_LOOP_W::new(self, 13) } diff --git a/esp32h2/src/rmt/int_raw.rs b/esp32h2/src/rmt/int_raw.rs index ac388df2f7..fb7759606b 100644 --- a/esp32h2/src/rmt/int_raw.rs +++ b/esp32h2/src/rmt/int_raw.rs @@ -233,7 +233,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_END` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_end(&mut self, n: u8) -> CH_TX_END_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -241,13 +240,11 @@ impl W { } #[doc = "Bit 0 - The interrupt raw bit for CHANNEL0. Triggered when transmission done."] #[inline(always)] - #[must_use] pub fn ch0_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 0) } #[doc = "Bit 1 - The interrupt raw bit for CHANNEL1. Triggered when transmission done."] #[inline(always)] - #[must_use] pub fn ch1_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 1) } @@ -255,7 +252,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH2_RX_END` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_end(&mut self, n: u8) -> CH_RX_END_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -263,13 +259,11 @@ impl W { } #[doc = "Bit 2 - The interrupt raw bit for CHANNEL2. Triggered when reception done."] #[inline(always)] - #[must_use] pub fn ch2_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 2) } #[doc = "Bit 3 - The interrupt raw bit for CHANNEL2. Triggered when reception done."] #[inline(always)] - #[must_use] pub fn ch3_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 3) } @@ -277,7 +271,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_ERR` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_err(&mut self, n: u8) -> CH_TX_ERR_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -285,13 +278,11 @@ impl W { } #[doc = "Bit 4 - The interrupt raw bit for CHANNEL4. Triggered when error occurs."] #[inline(always)] - #[must_use] pub fn ch0_tx_err(&mut self) -> CH_TX_ERR_W { CH_TX_ERR_W::new(self, 4) } #[doc = "Bit 5 - The interrupt raw bit for CHANNEL4. Triggered when error occurs."] #[inline(always)] - #[must_use] pub fn ch1_tx_err(&mut self) -> CH_TX_ERR_W { CH_TX_ERR_W::new(self, 5) } @@ -299,7 +290,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH2_RX_ERR` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_err(&mut self, n: u8) -> CH_RX_ERR_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -307,13 +297,11 @@ impl W { } #[doc = "Bit 6 - The interrupt raw bit for CHANNEL6. Triggered when error occurs."] #[inline(always)] - #[must_use] pub fn ch2_rx_err(&mut self) -> CH_RX_ERR_W { CH_RX_ERR_W::new(self, 6) } #[doc = "Bit 7 - The interrupt raw bit for CHANNEL6. Triggered when error occurs."] #[inline(always)] - #[must_use] pub fn ch3_rx_err(&mut self) -> CH_RX_ERR_W { CH_RX_ERR_W::new(self, 7) } @@ -321,7 +309,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_THR_EVENT` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_thr_event(&mut self, n: u8) -> CH_TX_THR_EVENT_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -329,13 +316,11 @@ impl W { } #[doc = "Bit 8 - The interrupt raw bit for CHANNEL0. Triggered when transmitter sent more data than configured value."] #[inline(always)] - #[must_use] pub fn ch0_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 8) } #[doc = "Bit 9 - The interrupt raw bit for CHANNEL1. Triggered when transmitter sent more data than configured value."] #[inline(always)] - #[must_use] pub fn ch1_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 9) } @@ -343,7 +328,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH2_RX_THR_EVENT` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_thr_event(&mut self, n: u8) -> CH_RX_THR_EVENT_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -351,13 +335,11 @@ impl W { } #[doc = "Bit 10 - The interrupt raw bit for CHANNEL2. Triggered when receiver receive more data than configured value."] #[inline(always)] - #[must_use] pub fn ch2_rx_thr_event(&mut self) -> CH_RX_THR_EVENT_W { CH_RX_THR_EVENT_W::new(self, 10) } #[doc = "Bit 11 - The interrupt raw bit for CHANNEL2. Triggered when receiver receive more data than configured value."] #[inline(always)] - #[must_use] pub fn ch3_rx_thr_event(&mut self) -> CH_RX_THR_EVENT_W { CH_RX_THR_EVENT_W::new(self, 11) } @@ -365,7 +347,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_LOOP` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_loop(&mut self, n: u8) -> CH_TX_LOOP_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -373,13 +354,11 @@ impl W { } #[doc = "Bit 12 - The interrupt raw bit for CHANNEL0. Triggered when the loop count reaches the configured threshold value."] #[inline(always)] - #[must_use] pub fn ch0_tx_loop(&mut self) -> CH_TX_LOOP_W { CH_TX_LOOP_W::new(self, 12) } #[doc = "Bit 13 - The interrupt raw bit for CHANNEL1. Triggered when the loop count reaches the configured threshold value."] #[inline(always)] - #[must_use] pub fn ch1_tx_loop(&mut self) -> CH_TX_LOOP_W { CH_TX_LOOP_W::new(self, 13) } diff --git a/esp32h2/src/rmt/ref_cnt_rst.rs b/esp32h2/src/rmt/ref_cnt_rst.rs index e378b3db9f..3f6543113f 100644 --- a/esp32h2/src/rmt/ref_cnt_rst.rs +++ b/esp32h2/src/rmt/ref_cnt_rst.rs @@ -17,25 +17,21 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - This register is used to reset the clock divider of CHANNEL0."] #[inline(always)] - #[must_use] pub fn tx_ref_cnt_rst(&mut self) -> TX_REF_CNT_RST_W { TX_REF_CNT_RST_W::new(self, 0) } #[doc = "Bit 1 - This register is used to reset the clock divider of CHANNEL1."] #[inline(always)] - #[must_use] pub fn tx_ref_cnt_rst_ch1(&mut self) -> TX_REF_CNT_RST_CH1_W { TX_REF_CNT_RST_CH1_W::new(self, 1) } #[doc = "Bit 2 - This register is used to reset the clock divider of CHANNEL2."] #[inline(always)] - #[must_use] pub fn rx_ref_cnt_rst_ch2(&mut self) -> RX_REF_CNT_RST_CH2_W { RX_REF_CNT_RST_CH2_W::new(self, 2) } #[doc = "Bit 3 - This register is used to reset the clock divider of CHANNEL3."] #[inline(always)] - #[must_use] pub fn rx_ref_cnt_rst_ch3(&mut self) -> RX_REF_CNT_RST_CH3_W { RX_REF_CNT_RST_CH3_W::new(self, 3) } diff --git a/esp32h2/src/rmt/sys_conf.rs b/esp32h2/src/rmt/sys_conf.rs index 9feb7895e4..31b92e9cbe 100644 --- a/esp32h2/src/rmt/sys_conf.rs +++ b/esp32h2/src/rmt/sys_conf.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1'h1: access memory directly. 1'h0: access memory by FIFO."] #[inline(always)] - #[must_use] pub fn apb_fifo_mask(&mut self) -> APB_FIFO_MASK_W { APB_FIFO_MASK_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to enable the clock for RMT memory."] #[inline(always)] - #[must_use] pub fn mem_clk_force_on(&mut self) -> MEM_CLK_FORCE_ON_W { MEM_CLK_FORCE_ON_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to power down RMT memory."] #[inline(always)] - #[must_use] pub fn mem_force_pd(&mut self) -> MEM_FORCE_PD_W { MEM_FORCE_PD_W::new(self, 2) } #[doc = "Bit 3 - 1: Disable RMT memory light sleep power down function. 0: Power down RMT memory when RMT is in light sleep mode."] #[inline(always)] - #[must_use] pub fn mem_force_pu(&mut self) -> MEM_FORCE_PU_W { MEM_FORCE_PU_W::new(self, 3) } #[doc = "Bit 31 - RMT register clock gate enable signal. 1: Power up the drive clock of registers. 0: Power down the drive clock of registers"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32h2/src/rmt/tx_sim.rs b/esp32h2/src/rmt/tx_sim.rs index 5ae3335101..fb83875c81 100644 --- a/esp32h2/src/rmt/tx_sim.rs +++ b/esp32h2/src/rmt/tx_sim.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable CHANNEL0 to start sending data synchronously with other enabled channels."] #[inline(always)] - #[must_use] pub fn ch0(&mut self) -> CH0_W { CH0_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to enable CHANNEL1 to start sending data synchronously with other enabled channels."] #[inline(always)] - #[must_use] pub fn ch1(&mut self) -> CH1_W { CH1_W::new(self, 1) } #[doc = "Bit 2 - This register is used to enable multiple of channels to start sending data synchronously."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 2) } diff --git a/esp32h2/src/rsa/constant_time.rs b/esp32h2/src/rsa/constant_time.rs index 6519756062..ec267e3790 100644 --- a/esp32h2/src/rsa/constant_time.rs +++ b/esp32h2/src/rsa/constant_time.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configures the constant_time option. 0: Acceleration 1: No acceleration (default)"] #[inline(always)] - #[must_use] pub fn constant_time(&mut self) -> CONSTANT_TIME_W { CONSTANT_TIME_W::new(self, 0) } diff --git a/esp32h2/src/rsa/date.rs b/esp32h2/src/rsa/date.rs index ae5b4dc30d..e0d6f4efc9 100644 --- a/esp32h2/src/rsa/date.rs +++ b/esp32h2/src/rsa/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Version control register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32h2/src/rsa/int_clr.rs b/esp32h2/src/rsa/int_clr.rs index 2cef709989..86151bd713 100644 --- a/esp32h2/src/rsa/int_clr.rs +++ b/esp32h2/src/rsa/int_clr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Write 1 to clear the RSA interrupt."] #[inline(always)] - #[must_use] pub fn int_clr(&mut self) -> INT_CLR_W { INT_CLR_W::new(self, 0) } diff --git a/esp32h2/src/rsa/int_ena.rs b/esp32h2/src/rsa/int_ena.rs index 39be95e9c6..46f493e03c 100644 --- a/esp32h2/src/rsa/int_ena.rs +++ b/esp32h2/src/rsa/int_ena.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Write 1 to enable the RSA interrupt."] #[inline(always)] - #[must_use] pub fn int_ena(&mut self) -> INT_ENA_W { INT_ENA_W::new(self, 0) } diff --git a/esp32h2/src/rsa/m_prime.rs b/esp32h2/src/rsa/m_prime.rs index a81b791d24..08872f4c97 100644 --- a/esp32h2/src/rsa/m_prime.rs +++ b/esp32h2/src/rsa/m_prime.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Represents M’"] #[inline(always)] - #[must_use] pub fn m_prime(&mut self) -> M_PRIME_W { M_PRIME_W::new(self, 0) } diff --git a/esp32h2/src/rsa/mode.rs b/esp32h2/src/rsa/mode.rs index 5593c38095..1b68dd2662 100644 --- a/esp32h2/src/rsa/mode.rs +++ b/esp32h2/src/rsa/mode.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Configures the RSA length."] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 0) } diff --git a/esp32h2/src/rsa/search_enable.rs b/esp32h2/src/rsa/search_enable.rs index 5f9bb952d0..b42df508e7 100644 --- a/esp32h2/src/rsa/search_enable.rs +++ b/esp32h2/src/rsa/search_enable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configure the search option. 0: No acceleration (default) 1: Acceleration This option should be used together with RSA_SEARCH_POS."] #[inline(always)] - #[must_use] pub fn search_enable(&mut self) -> SEARCH_ENABLE_W { SEARCH_ENABLE_W::new(self, 0) } diff --git a/esp32h2/src/rsa/search_pos.rs b/esp32h2/src/rsa/search_pos.rs index 5efc5f49f1..5512c10f3b 100644 --- a/esp32h2/src/rsa/search_pos.rs +++ b/esp32h2/src/rsa/search_pos.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - Configures the starting address to start search. This field should be used together with RSA_SEARCH_ENABLE. The field is only valid when RSA_SEARCH_ENABLE is high."] #[inline(always)] - #[must_use] pub fn search_pos(&mut self) -> SEARCH_POS_W { SEARCH_POS_W::new(self, 0) } diff --git a/esp32h2/src/rsa/set_start_modexp.rs b/esp32h2/src/rsa/set_start_modexp.rs index 5f30ce176e..8c97dfc08e 100644 --- a/esp32h2/src/rsa/set_start_modexp.rs +++ b/esp32h2/src/rsa/set_start_modexp.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Configure whether or not to start the modular exponentiation. 0: No effect 1: Start"] #[inline(always)] - #[must_use] pub fn set_start_modexp(&mut self) -> SET_START_MODEXP_W { SET_START_MODEXP_W::new(self, 0) } diff --git a/esp32h2/src/rsa/set_start_modmult.rs b/esp32h2/src/rsa/set_start_modmult.rs index 82c1c8ab36..2e8f31409e 100644 --- a/esp32h2/src/rsa/set_start_modmult.rs +++ b/esp32h2/src/rsa/set_start_modmult.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Configure whether or not to start the modular multiplication. 0: No effect 1: Start"] #[inline(always)] - #[must_use] pub fn set_start_modmult(&mut self) -> SET_START_MODMULT_W { SET_START_MODMULT_W::new(self, 0) } diff --git a/esp32h2/src/rsa/set_start_mult.rs b/esp32h2/src/rsa/set_start_mult.rs index fc7fc2e97a..b035a9859f 100644 --- a/esp32h2/src/rsa/set_start_mult.rs +++ b/esp32h2/src/rsa/set_start_mult.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Configure whether or not to start the multiplication. 0: No effect 1: Start"] #[inline(always)] - #[must_use] pub fn set_start_mult(&mut self) -> SET_START_MULT_W { SET_START_MULT_W::new(self, 0) } diff --git a/esp32h2/src/sha/clear_irq.rs b/esp32h2/src/sha/clear_irq.rs index ce258b7da4..ac34dbeaa9 100644 --- a/esp32h2/src/sha/clear_irq.rs +++ b/esp32h2/src/sha/clear_irq.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Clear sha interrupt."] #[inline(always)] - #[must_use] pub fn clear_interrupt(&mut self) -> CLEAR_INTERRUPT_W { CLEAR_INTERRUPT_W::new(self, 0) } diff --git a/esp32h2/src/sha/continue_.rs b/esp32h2/src/sha/continue_.rs index 27120199be..ead2cd67b6 100644 --- a/esp32h2/src/sha/continue_.rs +++ b/esp32h2/src/sha/continue_.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 1:31 - Reserved."] #[inline(always)] - #[must_use] pub fn continue_(&mut self) -> CONTINUE_W { CONTINUE_W::new(self, 1) } diff --git a/esp32h2/src/sha/date.rs b/esp32h2/src/sha/date.rs index cc11d403f7..78b507ed0b 100644 --- a/esp32h2/src/sha/date.rs +++ b/esp32h2/src/sha/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Sha date information/ sha version information."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32h2/src/sha/dma_block_num.rs b/esp32h2/src/sha/dma_block_num.rs index 12fd0d0103..658a579ae7 100644 --- a/esp32h2/src/sha/dma_block_num.rs +++ b/esp32h2/src/sha/dma_block_num.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - Dma-sha block number."] #[inline(always)] - #[must_use] pub fn dma_block_num(&mut self) -> DMA_BLOCK_NUM_W { DMA_BLOCK_NUM_W::new(self, 0) } diff --git a/esp32h2/src/sha/dma_continue.rs b/esp32h2/src/sha/dma_continue.rs index 9a52b90032..1e1cfdb7bc 100644 --- a/esp32h2/src/sha/dma_continue.rs +++ b/esp32h2/src/sha/dma_continue.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Continue dma-sha."] #[inline(always)] - #[must_use] pub fn dma_continue(&mut self) -> DMA_CONTINUE_W { DMA_CONTINUE_W::new(self, 0) } diff --git a/esp32h2/src/sha/dma_start.rs b/esp32h2/src/sha/dma_start.rs index 346a607e69..dd22dab31b 100644 --- a/esp32h2/src/sha/dma_start.rs +++ b/esp32h2/src/sha/dma_start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Start dma-sha."] #[inline(always)] - #[must_use] pub fn dma_start(&mut self) -> DMA_START_W { DMA_START_W::new(self, 0) } diff --git a/esp32h2/src/sha/irq_ena.rs b/esp32h2/src/sha/irq_ena.rs index 2a97464d29..9d8bc94a1f 100644 --- a/esp32h2/src/sha/irq_ena.rs +++ b/esp32h2/src/sha/irq_ena.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Sha interrupt enable register. 1'b0: disable(default). 1'b1: enable."] #[inline(always)] - #[must_use] pub fn interrupt_ena(&mut self) -> INTERRUPT_ENA_W { INTERRUPT_ENA_W::new(self, 0) } diff --git a/esp32h2/src/sha/mode.rs b/esp32h2/src/sha/mode.rs index e03dfab74c..e064361f45 100644 --- a/esp32h2/src/sha/mode.rs +++ b/esp32h2/src/sha/mode.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - Sha mode."] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 0) } diff --git a/esp32h2/src/sha/start.rs b/esp32h2/src/sha/start.rs index 54c992b28d..0cdec59d1f 100644 --- a/esp32h2/src/sha/start.rs +++ b/esp32h2/src/sha/start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 1:31 - Reserved."] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 1) } diff --git a/esp32h2/src/sha/t_length.rs b/esp32h2/src/sha/t_length.rs index bfa7857b78..98ff3bfc48 100644 --- a/esp32h2/src/sha/t_length.rs +++ b/esp32h2/src/sha/t_length.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - Sha t_length (used if and only if mode == SHA_512/t)."] #[inline(always)] - #[must_use] pub fn t_length(&mut self) -> T_LENGTH_W { T_LENGTH_W::new(self, 0) } diff --git a/esp32h2/src/sha/t_string.rs b/esp32h2/src/sha/t_string.rs index ec795b2910..216fb30fb1 100644 --- a/esp32h2/src/sha/t_string.rs +++ b/esp32h2/src/sha/t_string.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Sha t_string (used if and only if mode == SHA_512/t)."] #[inline(always)] - #[must_use] pub fn t_string(&mut self) -> T_STRING_W { T_STRING_W::new(self, 0) } diff --git a/esp32h2/src/soc_etm/ch/evt_id.rs b/esp32h2/src/soc_etm/ch/evt_id.rs index 48ba238e66..f3b745d22b 100644 --- a/esp32h2/src/soc_etm/ch/evt_id.rs +++ b/esp32h2/src/soc_etm/ch/evt_id.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - ch0_evt_id"] #[inline(always)] - #[must_use] pub fn evt_id(&mut self) -> EVT_ID_W { EVT_ID_W::new(self, 0) } diff --git a/esp32h2/src/soc_etm/ch/task_id.rs b/esp32h2/src/soc_etm/ch/task_id.rs index af2df54177..f8d7dcb8a4 100644 --- a/esp32h2/src/soc_etm/ch/task_id.rs +++ b/esp32h2/src/soc_etm/ch/task_id.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - ch0_task_id"] #[inline(always)] - #[must_use] pub fn task_id(&mut self) -> TASK_ID_W { TASK_ID_W::new(self, 0) } diff --git a/esp32h2/src/soc_etm/ch_ena_ad0.rs b/esp32h2/src/soc_etm/ch_ena_ad0.rs index db3ac0fb04..b0418ce6b0 100644 --- a/esp32h2/src/soc_etm/ch_ena_ad0.rs +++ b/esp32h2/src/soc_etm/ch_ena_ad0.rs @@ -227,7 +227,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH_ENA0` field.
"] #[inline(always)] - #[must_use] pub fn ch_ena(&mut self, n: u8) -> CH_ENA_W { #[allow(clippy::no_effect)] [(); 32][n as usize]; @@ -235,193 +234,161 @@ impl W { } #[doc = "Bit 0 - ch0 enable"] #[inline(always)] - #[must_use] pub fn ch_ena0(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 0) } #[doc = "Bit 1 - ch1 enable"] #[inline(always)] - #[must_use] pub fn ch_ena1(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 1) } #[doc = "Bit 2 - ch2 enable"] #[inline(always)] - #[must_use] pub fn ch_ena2(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 2) } #[doc = "Bit 3 - ch3 enable"] #[inline(always)] - #[must_use] pub fn ch_ena3(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 3) } #[doc = "Bit 4 - ch4 enable"] #[inline(always)] - #[must_use] pub fn ch_ena4(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 4) } #[doc = "Bit 5 - ch5 enable"] #[inline(always)] - #[must_use] pub fn ch_ena5(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 5) } #[doc = "Bit 6 - ch6 enable"] #[inline(always)] - #[must_use] pub fn ch_ena6(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 6) } #[doc = "Bit 7 - ch7 enable"] #[inline(always)] - #[must_use] pub fn ch_ena7(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 7) } #[doc = "Bit 8 - ch8 enable"] #[inline(always)] - #[must_use] pub fn ch_ena8(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 8) } #[doc = "Bit 9 - ch9 enable"] #[inline(always)] - #[must_use] pub fn ch_ena9(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 9) } #[doc = "Bit 10 - ch10 enable"] #[inline(always)] - #[must_use] pub fn ch_ena10(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 10) } #[doc = "Bit 11 - ch11 enable"] #[inline(always)] - #[must_use] pub fn ch_ena11(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 11) } #[doc = "Bit 12 - ch12 enable"] #[inline(always)] - #[must_use] pub fn ch_ena12(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 12) } #[doc = "Bit 13 - ch13 enable"] #[inline(always)] - #[must_use] pub fn ch_ena13(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 13) } #[doc = "Bit 14 - ch14 enable"] #[inline(always)] - #[must_use] pub fn ch_ena14(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 14) } #[doc = "Bit 15 - ch15 enable"] #[inline(always)] - #[must_use] pub fn ch_ena15(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 15) } #[doc = "Bit 16 - ch16 enable"] #[inline(always)] - #[must_use] pub fn ch_ena16(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 16) } #[doc = "Bit 17 - ch17 enable"] #[inline(always)] - #[must_use] pub fn ch_ena17(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 17) } #[doc = "Bit 18 - ch18 enable"] #[inline(always)] - #[must_use] pub fn ch_ena18(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 18) } #[doc = "Bit 19 - ch19 enable"] #[inline(always)] - #[must_use] pub fn ch_ena19(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 19) } #[doc = "Bit 20 - ch20 enable"] #[inline(always)] - #[must_use] pub fn ch_ena20(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 20) } #[doc = "Bit 21 - ch21 enable"] #[inline(always)] - #[must_use] pub fn ch_ena21(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 21) } #[doc = "Bit 22 - ch22 enable"] #[inline(always)] - #[must_use] pub fn ch_ena22(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 22) } #[doc = "Bit 23 - ch23 enable"] #[inline(always)] - #[must_use] pub fn ch_ena23(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 23) } #[doc = "Bit 24 - ch24 enable"] #[inline(always)] - #[must_use] pub fn ch_ena24(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 24) } #[doc = "Bit 25 - ch25 enable"] #[inline(always)] - #[must_use] pub fn ch_ena25(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 25) } #[doc = "Bit 26 - ch26 enable"] #[inline(always)] - #[must_use] pub fn ch_ena26(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 26) } #[doc = "Bit 27 - ch27 enable"] #[inline(always)] - #[must_use] pub fn ch_ena27(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 27) } #[doc = "Bit 28 - ch28 enable"] #[inline(always)] - #[must_use] pub fn ch_ena28(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 28) } #[doc = "Bit 29 - ch29 enable"] #[inline(always)] - #[must_use] pub fn ch_ena29(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 29) } #[doc = "Bit 30 - ch30 enable"] #[inline(always)] - #[must_use] pub fn ch_ena30(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 30) } #[doc = "Bit 31 - ch31 enable"] #[inline(always)] - #[must_use] pub fn ch_ena31(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 31) } diff --git a/esp32h2/src/soc_etm/ch_ena_ad0_clr.rs b/esp32h2/src/soc_etm/ch_ena_ad0_clr.rs index d2479e459a..3f47e29e49 100644 --- a/esp32h2/src/soc_etm/ch_ena_ad0_clr.rs +++ b/esp32h2/src/soc_etm/ch_ena_ad0_clr.rs @@ -13,7 +13,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH_CLR0` field.
"] #[inline(always)] - #[must_use] pub fn ch_clr(&mut self, n: u8) -> CH_CLR_W { #[allow(clippy::no_effect)] [(); 32][n as usize]; @@ -21,193 +20,161 @@ impl W { } #[doc = "Bit 0 - ch0 clear"] #[inline(always)] - #[must_use] pub fn ch_clr0(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 0) } #[doc = "Bit 1 - ch1 clear"] #[inline(always)] - #[must_use] pub fn ch_clr1(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 1) } #[doc = "Bit 2 - ch2 clear"] #[inline(always)] - #[must_use] pub fn ch_clr2(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 2) } #[doc = "Bit 3 - ch3 clear"] #[inline(always)] - #[must_use] pub fn ch_clr3(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 3) } #[doc = "Bit 4 - ch4 clear"] #[inline(always)] - #[must_use] pub fn ch_clr4(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 4) } #[doc = "Bit 5 - ch5 clear"] #[inline(always)] - #[must_use] pub fn ch_clr5(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 5) } #[doc = "Bit 6 - ch6 clear"] #[inline(always)] - #[must_use] pub fn ch_clr6(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 6) } #[doc = "Bit 7 - ch7 clear"] #[inline(always)] - #[must_use] pub fn ch_clr7(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 7) } #[doc = "Bit 8 - ch8 clear"] #[inline(always)] - #[must_use] pub fn ch_clr8(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 8) } #[doc = "Bit 9 - ch9 clear"] #[inline(always)] - #[must_use] pub fn ch_clr9(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 9) } #[doc = "Bit 10 - ch10 clear"] #[inline(always)] - #[must_use] pub fn ch_clr10(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 10) } #[doc = "Bit 11 - ch11 clear"] #[inline(always)] - #[must_use] pub fn ch_clr11(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 11) } #[doc = "Bit 12 - ch12 clear"] #[inline(always)] - #[must_use] pub fn ch_clr12(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 12) } #[doc = "Bit 13 - ch13 clear"] #[inline(always)] - #[must_use] pub fn ch_clr13(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 13) } #[doc = "Bit 14 - ch14 clear"] #[inline(always)] - #[must_use] pub fn ch_clr14(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 14) } #[doc = "Bit 15 - ch15 clear"] #[inline(always)] - #[must_use] pub fn ch_clr15(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 15) } #[doc = "Bit 16 - ch16 clear"] #[inline(always)] - #[must_use] pub fn ch_clr16(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 16) } #[doc = "Bit 17 - ch17 clear"] #[inline(always)] - #[must_use] pub fn ch_clr17(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 17) } #[doc = "Bit 18 - ch18 clear"] #[inline(always)] - #[must_use] pub fn ch_clr18(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 18) } #[doc = "Bit 19 - ch19 clear"] #[inline(always)] - #[must_use] pub fn ch_clr19(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 19) } #[doc = "Bit 20 - ch20 clear"] #[inline(always)] - #[must_use] pub fn ch_clr20(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 20) } #[doc = "Bit 21 - ch21 clear"] #[inline(always)] - #[must_use] pub fn ch_clr21(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 21) } #[doc = "Bit 22 - ch22 clear"] #[inline(always)] - #[must_use] pub fn ch_clr22(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 22) } #[doc = "Bit 23 - ch23 clear"] #[inline(always)] - #[must_use] pub fn ch_clr23(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 23) } #[doc = "Bit 24 - ch24 clear"] #[inline(always)] - #[must_use] pub fn ch_clr24(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 24) } #[doc = "Bit 25 - ch25 clear"] #[inline(always)] - #[must_use] pub fn ch_clr25(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 25) } #[doc = "Bit 26 - ch26 clear"] #[inline(always)] - #[must_use] pub fn ch_clr26(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 26) } #[doc = "Bit 27 - ch27 clear"] #[inline(always)] - #[must_use] pub fn ch_clr27(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 27) } #[doc = "Bit 28 - ch28 clear"] #[inline(always)] - #[must_use] pub fn ch_clr28(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 28) } #[doc = "Bit 29 - ch29 clear"] #[inline(always)] - #[must_use] pub fn ch_clr29(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 29) } #[doc = "Bit 30 - ch30 clear"] #[inline(always)] - #[must_use] pub fn ch_clr30(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 30) } #[doc = "Bit 31 - ch31 clear"] #[inline(always)] - #[must_use] pub fn ch_clr31(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 31) } diff --git a/esp32h2/src/soc_etm/ch_ena_ad0_set.rs b/esp32h2/src/soc_etm/ch_ena_ad0_set.rs index c608671f3a..2e735fcf73 100644 --- a/esp32h2/src/soc_etm/ch_ena_ad0_set.rs +++ b/esp32h2/src/soc_etm/ch_ena_ad0_set.rs @@ -13,7 +13,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH_SET0` field.
"] #[inline(always)] - #[must_use] pub fn ch_set(&mut self, n: u8) -> CH_SET_W { #[allow(clippy::no_effect)] [(); 32][n as usize]; @@ -21,193 +20,161 @@ impl W { } #[doc = "Bit 0 - ch0 set"] #[inline(always)] - #[must_use] pub fn ch_set0(&mut self) -> CH_SET_W { CH_SET_W::new(self, 0) } #[doc = "Bit 1 - ch1 set"] #[inline(always)] - #[must_use] pub fn ch_set1(&mut self) -> CH_SET_W { CH_SET_W::new(self, 1) } #[doc = "Bit 2 - ch2 set"] #[inline(always)] - #[must_use] pub fn ch_set2(&mut self) -> CH_SET_W { CH_SET_W::new(self, 2) } #[doc = "Bit 3 - ch3 set"] #[inline(always)] - #[must_use] pub fn ch_set3(&mut self) -> CH_SET_W { CH_SET_W::new(self, 3) } #[doc = "Bit 4 - ch4 set"] #[inline(always)] - #[must_use] pub fn ch_set4(&mut self) -> CH_SET_W { CH_SET_W::new(self, 4) } #[doc = "Bit 5 - ch5 set"] #[inline(always)] - #[must_use] pub fn ch_set5(&mut self) -> CH_SET_W { CH_SET_W::new(self, 5) } #[doc = "Bit 6 - ch6 set"] #[inline(always)] - #[must_use] pub fn ch_set6(&mut self) -> CH_SET_W { CH_SET_W::new(self, 6) } #[doc = "Bit 7 - ch7 set"] #[inline(always)] - #[must_use] pub fn ch_set7(&mut self) -> CH_SET_W { CH_SET_W::new(self, 7) } #[doc = "Bit 8 - ch8 set"] #[inline(always)] - #[must_use] pub fn ch_set8(&mut self) -> CH_SET_W { CH_SET_W::new(self, 8) } #[doc = "Bit 9 - ch9 set"] #[inline(always)] - #[must_use] pub fn ch_set9(&mut self) -> CH_SET_W { CH_SET_W::new(self, 9) } #[doc = "Bit 10 - ch10 set"] #[inline(always)] - #[must_use] pub fn ch_set10(&mut self) -> CH_SET_W { CH_SET_W::new(self, 10) } #[doc = "Bit 11 - ch11 set"] #[inline(always)] - #[must_use] pub fn ch_set11(&mut self) -> CH_SET_W { CH_SET_W::new(self, 11) } #[doc = "Bit 12 - ch12 set"] #[inline(always)] - #[must_use] pub fn ch_set12(&mut self) -> CH_SET_W { CH_SET_W::new(self, 12) } #[doc = "Bit 13 - ch13 set"] #[inline(always)] - #[must_use] pub fn ch_set13(&mut self) -> CH_SET_W { CH_SET_W::new(self, 13) } #[doc = "Bit 14 - ch14 set"] #[inline(always)] - #[must_use] pub fn ch_set14(&mut self) -> CH_SET_W { CH_SET_W::new(self, 14) } #[doc = "Bit 15 - ch15 set"] #[inline(always)] - #[must_use] pub fn ch_set15(&mut self) -> CH_SET_W { CH_SET_W::new(self, 15) } #[doc = "Bit 16 - ch16 set"] #[inline(always)] - #[must_use] pub fn ch_set16(&mut self) -> CH_SET_W { CH_SET_W::new(self, 16) } #[doc = "Bit 17 - ch17 set"] #[inline(always)] - #[must_use] pub fn ch_set17(&mut self) -> CH_SET_W { CH_SET_W::new(self, 17) } #[doc = "Bit 18 - ch18 set"] #[inline(always)] - #[must_use] pub fn ch_set18(&mut self) -> CH_SET_W { CH_SET_W::new(self, 18) } #[doc = "Bit 19 - ch19 set"] #[inline(always)] - #[must_use] pub fn ch_set19(&mut self) -> CH_SET_W { CH_SET_W::new(self, 19) } #[doc = "Bit 20 - ch20 set"] #[inline(always)] - #[must_use] pub fn ch_set20(&mut self) -> CH_SET_W { CH_SET_W::new(self, 20) } #[doc = "Bit 21 - ch21 set"] #[inline(always)] - #[must_use] pub fn ch_set21(&mut self) -> CH_SET_W { CH_SET_W::new(self, 21) } #[doc = "Bit 22 - ch22 set"] #[inline(always)] - #[must_use] pub fn ch_set22(&mut self) -> CH_SET_W { CH_SET_W::new(self, 22) } #[doc = "Bit 23 - ch23 set"] #[inline(always)] - #[must_use] pub fn ch_set23(&mut self) -> CH_SET_W { CH_SET_W::new(self, 23) } #[doc = "Bit 24 - ch24 set"] #[inline(always)] - #[must_use] pub fn ch_set24(&mut self) -> CH_SET_W { CH_SET_W::new(self, 24) } #[doc = "Bit 25 - ch25 set"] #[inline(always)] - #[must_use] pub fn ch_set25(&mut self) -> CH_SET_W { CH_SET_W::new(self, 25) } #[doc = "Bit 26 - ch26 set"] #[inline(always)] - #[must_use] pub fn ch_set26(&mut self) -> CH_SET_W { CH_SET_W::new(self, 26) } #[doc = "Bit 27 - ch27 set"] #[inline(always)] - #[must_use] pub fn ch_set27(&mut self) -> CH_SET_W { CH_SET_W::new(self, 27) } #[doc = "Bit 28 - ch28 set"] #[inline(always)] - #[must_use] pub fn ch_set28(&mut self) -> CH_SET_W { CH_SET_W::new(self, 28) } #[doc = "Bit 29 - ch29 set"] #[inline(always)] - #[must_use] pub fn ch_set29(&mut self) -> CH_SET_W { CH_SET_W::new(self, 29) } #[doc = "Bit 30 - ch30 set"] #[inline(always)] - #[must_use] pub fn ch_set30(&mut self) -> CH_SET_W { CH_SET_W::new(self, 30) } #[doc = "Bit 31 - ch31 set"] #[inline(always)] - #[must_use] pub fn ch_set31(&mut self) -> CH_SET_W { CH_SET_W::new(self, 31) } diff --git a/esp32h2/src/soc_etm/ch_ena_ad1.rs b/esp32h2/src/soc_etm/ch_ena_ad1.rs index d02630d009..0c903b8dfd 100644 --- a/esp32h2/src/soc_etm/ch_ena_ad1.rs +++ b/esp32h2/src/soc_etm/ch_ena_ad1.rs @@ -143,7 +143,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH_ENA32` field.
"] #[inline(always)] - #[must_use] pub fn ch_ena(&mut self, n: u8) -> CH_ENA_W { #[allow(clippy::no_effect)] [(); 18][n as usize]; @@ -151,109 +150,91 @@ impl W { } #[doc = "Bit 0 - ch32 enable"] #[inline(always)] - #[must_use] pub fn ch_ena32(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 0) } #[doc = "Bit 1 - ch33 enable"] #[inline(always)] - #[must_use] pub fn ch_ena33(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 1) } #[doc = "Bit 2 - ch34 enable"] #[inline(always)] - #[must_use] pub fn ch_ena34(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 2) } #[doc = "Bit 3 - ch35 enable"] #[inline(always)] - #[must_use] pub fn ch_ena35(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 3) } #[doc = "Bit 4 - ch36 enable"] #[inline(always)] - #[must_use] pub fn ch_ena36(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 4) } #[doc = "Bit 5 - ch37 enable"] #[inline(always)] - #[must_use] pub fn ch_ena37(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 5) } #[doc = "Bit 6 - ch38 enable"] #[inline(always)] - #[must_use] pub fn ch_ena38(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 6) } #[doc = "Bit 7 - ch39 enable"] #[inline(always)] - #[must_use] pub fn ch_ena39(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 7) } #[doc = "Bit 8 - ch40 enable"] #[inline(always)] - #[must_use] pub fn ch_ena40(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 8) } #[doc = "Bit 9 - ch41 enable"] #[inline(always)] - #[must_use] pub fn ch_ena41(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 9) } #[doc = "Bit 10 - ch42 enable"] #[inline(always)] - #[must_use] pub fn ch_ena42(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 10) } #[doc = "Bit 11 - ch43 enable"] #[inline(always)] - #[must_use] pub fn ch_ena43(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 11) } #[doc = "Bit 12 - ch44 enable"] #[inline(always)] - #[must_use] pub fn ch_ena44(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 12) } #[doc = "Bit 13 - ch45 enable"] #[inline(always)] - #[must_use] pub fn ch_ena45(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 13) } #[doc = "Bit 14 - ch46 enable"] #[inline(always)] - #[must_use] pub fn ch_ena46(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 14) } #[doc = "Bit 15 - ch47 enable"] #[inline(always)] - #[must_use] pub fn ch_ena47(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 15) } #[doc = "Bit 16 - ch48 enable"] #[inline(always)] - #[must_use] pub fn ch_ena48(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 16) } #[doc = "Bit 17 - ch49 enable"] #[inline(always)] - #[must_use] pub fn ch_ena49(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 17) } diff --git a/esp32h2/src/soc_etm/ch_ena_ad1_clr.rs b/esp32h2/src/soc_etm/ch_ena_ad1_clr.rs index c95b07d298..10e8b4624c 100644 --- a/esp32h2/src/soc_etm/ch_ena_ad1_clr.rs +++ b/esp32h2/src/soc_etm/ch_ena_ad1_clr.rs @@ -13,7 +13,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH_CLR32` field.
"] #[inline(always)] - #[must_use] pub fn ch_clr(&mut self, n: u8) -> CH_CLR_W { #[allow(clippy::no_effect)] [(); 18][n as usize]; @@ -21,109 +20,91 @@ impl W { } #[doc = "Bit 0 - ch32 clear"] #[inline(always)] - #[must_use] pub fn ch_clr32(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 0) } #[doc = "Bit 1 - ch33 clear"] #[inline(always)] - #[must_use] pub fn ch_clr33(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 1) } #[doc = "Bit 2 - ch34 clear"] #[inline(always)] - #[must_use] pub fn ch_clr34(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 2) } #[doc = "Bit 3 - ch35 clear"] #[inline(always)] - #[must_use] pub fn ch_clr35(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 3) } #[doc = "Bit 4 - ch36 clear"] #[inline(always)] - #[must_use] pub fn ch_clr36(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 4) } #[doc = "Bit 5 - ch37 clear"] #[inline(always)] - #[must_use] pub fn ch_clr37(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 5) } #[doc = "Bit 6 - ch38 clear"] #[inline(always)] - #[must_use] pub fn ch_clr38(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 6) } #[doc = "Bit 7 - ch39 clear"] #[inline(always)] - #[must_use] pub fn ch_clr39(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 7) } #[doc = "Bit 8 - ch40 clear"] #[inline(always)] - #[must_use] pub fn ch_clr40(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 8) } #[doc = "Bit 9 - ch41 clear"] #[inline(always)] - #[must_use] pub fn ch_clr41(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 9) } #[doc = "Bit 10 - ch42 clear"] #[inline(always)] - #[must_use] pub fn ch_clr42(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 10) } #[doc = "Bit 11 - ch43 clear"] #[inline(always)] - #[must_use] pub fn ch_clr43(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 11) } #[doc = "Bit 12 - ch44 clear"] #[inline(always)] - #[must_use] pub fn ch_clr44(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 12) } #[doc = "Bit 13 - ch45 clear"] #[inline(always)] - #[must_use] pub fn ch_clr45(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 13) } #[doc = "Bit 14 - ch46 clear"] #[inline(always)] - #[must_use] pub fn ch_clr46(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 14) } #[doc = "Bit 15 - ch47 clear"] #[inline(always)] - #[must_use] pub fn ch_clr47(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 15) } #[doc = "Bit 16 - ch48 clear"] #[inline(always)] - #[must_use] pub fn ch_clr48(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 16) } #[doc = "Bit 17 - ch49 clear"] #[inline(always)] - #[must_use] pub fn ch_clr49(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 17) } diff --git a/esp32h2/src/soc_etm/ch_ena_ad1_set.rs b/esp32h2/src/soc_etm/ch_ena_ad1_set.rs index 1f592d9835..9cde838cf2 100644 --- a/esp32h2/src/soc_etm/ch_ena_ad1_set.rs +++ b/esp32h2/src/soc_etm/ch_ena_ad1_set.rs @@ -13,7 +13,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH_SET32` field.
"] #[inline(always)] - #[must_use] pub fn ch_set(&mut self, n: u8) -> CH_SET_W { #[allow(clippy::no_effect)] [(); 18][n as usize]; @@ -21,109 +20,91 @@ impl W { } #[doc = "Bit 0 - ch32 set"] #[inline(always)] - #[must_use] pub fn ch_set32(&mut self) -> CH_SET_W { CH_SET_W::new(self, 0) } #[doc = "Bit 1 - ch33 set"] #[inline(always)] - #[must_use] pub fn ch_set33(&mut self) -> CH_SET_W { CH_SET_W::new(self, 1) } #[doc = "Bit 2 - ch34 set"] #[inline(always)] - #[must_use] pub fn ch_set34(&mut self) -> CH_SET_W { CH_SET_W::new(self, 2) } #[doc = "Bit 3 - ch35 set"] #[inline(always)] - #[must_use] pub fn ch_set35(&mut self) -> CH_SET_W { CH_SET_W::new(self, 3) } #[doc = "Bit 4 - ch36 set"] #[inline(always)] - #[must_use] pub fn ch_set36(&mut self) -> CH_SET_W { CH_SET_W::new(self, 4) } #[doc = "Bit 5 - ch37 set"] #[inline(always)] - #[must_use] pub fn ch_set37(&mut self) -> CH_SET_W { CH_SET_W::new(self, 5) } #[doc = "Bit 6 - ch38 set"] #[inline(always)] - #[must_use] pub fn ch_set38(&mut self) -> CH_SET_W { CH_SET_W::new(self, 6) } #[doc = "Bit 7 - ch39 set"] #[inline(always)] - #[must_use] pub fn ch_set39(&mut self) -> CH_SET_W { CH_SET_W::new(self, 7) } #[doc = "Bit 8 - ch40 set"] #[inline(always)] - #[must_use] pub fn ch_set40(&mut self) -> CH_SET_W { CH_SET_W::new(self, 8) } #[doc = "Bit 9 - ch41 set"] #[inline(always)] - #[must_use] pub fn ch_set41(&mut self) -> CH_SET_W { CH_SET_W::new(self, 9) } #[doc = "Bit 10 - ch42 set"] #[inline(always)] - #[must_use] pub fn ch_set42(&mut self) -> CH_SET_W { CH_SET_W::new(self, 10) } #[doc = "Bit 11 - ch43 set"] #[inline(always)] - #[must_use] pub fn ch_set43(&mut self) -> CH_SET_W { CH_SET_W::new(self, 11) } #[doc = "Bit 12 - ch44 set"] #[inline(always)] - #[must_use] pub fn ch_set44(&mut self) -> CH_SET_W { CH_SET_W::new(self, 12) } #[doc = "Bit 13 - ch45 set"] #[inline(always)] - #[must_use] pub fn ch_set45(&mut self) -> CH_SET_W { CH_SET_W::new(self, 13) } #[doc = "Bit 14 - ch46 set"] #[inline(always)] - #[must_use] pub fn ch_set46(&mut self) -> CH_SET_W { CH_SET_W::new(self, 14) } #[doc = "Bit 15 - ch47 set"] #[inline(always)] - #[must_use] pub fn ch_set47(&mut self) -> CH_SET_W { CH_SET_W::new(self, 15) } #[doc = "Bit 16 - ch48 set"] #[inline(always)] - #[must_use] pub fn ch_set48(&mut self) -> CH_SET_W { CH_SET_W::new(self, 16) } #[doc = "Bit 17 - ch49 set"] #[inline(always)] - #[must_use] pub fn ch_set49(&mut self) -> CH_SET_W { CH_SET_W::new(self, 17) } diff --git a/esp32h2/src/soc_etm/clk_en.rs b/esp32h2/src/soc_etm/clk_en.rs index c21c7847a4..40f013042c 100644 --- a/esp32h2/src/soc_etm/clk_en.rs +++ b/esp32h2/src/soc_etm/clk_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - clock enable"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32h2/src/soc_etm/date.rs b/esp32h2/src/soc_etm/date.rs index 041d8cac80..43eeb2e23a 100644 --- a/esp32h2/src/soc_etm/date.rs +++ b/esp32h2/src/soc_etm/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - date"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32h2/src/spi0/cache_fctrl.rs b/esp32h2/src/spi0/cache_fctrl.rs index 9ada475ec9..693075a168 100644 --- a/esp32h2/src/spi0/cache_fctrl.rs +++ b/esp32h2/src/spi0/cache_fctrl.rs @@ -125,61 +125,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - For SPI0, AXI master access enable, 1: enable, 0:disable."] #[inline(always)] - #[must_use] pub fn axi_req_en(&mut self) -> AXI_REQ_EN_W { AXI_REQ_EN_W::new(self, 0) } #[doc = "Bit 1 - For SPI0, cache read flash with 4 bytes address, 1: enable, 0:disable."] #[inline(always)] - #[must_use] pub fn cache_usr_addr_4byte(&mut self) -> CACHE_USR_ADDR_4BYTE_W { CACHE_USR_ADDR_4BYTE_W::new(self, 1) } #[doc = "Bit 2 - For SPI0, cache read flash for user define command, 1: enable, 0:disable."] #[inline(always)] - #[must_use] pub fn cache_flash_usr_cmd(&mut self) -> CACHE_FLASH_USR_CMD_W { CACHE_FLASH_USR_CMD_W::new(self, 2) } #[doc = "Bit 3 - For SPI0 flash, din phase apply 2 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_dio."] #[inline(always)] - #[must_use] pub fn fdin_dual(&mut self) -> FDIN_DUAL_W { FDIN_DUAL_W::new(self, 3) } #[doc = "Bit 4 - For SPI0 flash, dout phase apply 2 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_dio."] #[inline(always)] - #[must_use] pub fn fdout_dual(&mut self) -> FDOUT_DUAL_W { FDOUT_DUAL_W::new(self, 4) } #[doc = "Bit 5 - For SPI0 flash, address phase apply 2 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_dio."] #[inline(always)] - #[must_use] pub fn faddr_dual(&mut self) -> FADDR_DUAL_W { FADDR_DUAL_W::new(self, 5) } #[doc = "Bit 6 - For SPI0 flash, din phase apply 4 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_qio."] #[inline(always)] - #[must_use] pub fn fdin_quad(&mut self) -> FDIN_QUAD_W { FDIN_QUAD_W::new(self, 6) } #[doc = "Bit 7 - For SPI0 flash, dout phase apply 4 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_qio."] #[inline(always)] - #[must_use] pub fn fdout_quad(&mut self) -> FDOUT_QUAD_W { FDOUT_QUAD_W::new(self, 7) } #[doc = "Bit 8 - For SPI0 flash, address phase apply 4 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_qio."] #[inline(always)] - #[must_use] pub fn faddr_quad(&mut self) -> FADDR_QUAD_W { FADDR_QUAD_W::new(self, 8) } #[doc = "Bit 31 - Set this bit to close AXI read/write transfer to MSPI, which means that only SLV_ERR will be replied to BRESP/RRESP."] #[inline(always)] - #[must_use] pub fn spi_close_axi_inf_en(&mut self) -> SPI_CLOSE_AXI_INF_EN_W { SPI_CLOSE_AXI_INF_EN_W::new(self, 31) } diff --git a/esp32h2/src/spi0/clock.rs b/esp32h2/src/spi0/clock.rs index c93e28a318..c3aa1391e9 100644 --- a/esp32h2/src/spi0/clock.rs +++ b/esp32h2/src/spi0/clock.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In the master mode it must be equal to spi_mem_clkcnt_N."] #[inline(always)] - #[must_use] pub fn clkcnt_l(&mut self) -> CLKCNT_L_W { CLKCNT_L_W::new(self, 0) } #[doc = "Bits 8:15 - In the master mode it must be floor((spi_mem_clkcnt_N+1)/2-1)."] #[inline(always)] - #[must_use] pub fn clkcnt_h(&mut self) -> CLKCNT_H_W { CLKCNT_H_W::new(self, 8) } #[doc = "Bits 16:23 - In the master mode it is the divider of spi_mem_clk. So spi_mem_clk frequency is system/(spi_mem_clkcnt_N+1)"] #[inline(always)] - #[must_use] pub fn clkcnt_n(&mut self) -> CLKCNT_N_W { CLKCNT_N_W::new(self, 16) } #[doc = "Bit 31 - 1: 1-division mode, the frequency of SPI bus clock equals to that of MSPI module clock."] #[inline(always)] - #[must_use] pub fn clk_equ_sysclk(&mut self) -> CLK_EQU_SYSCLK_W { CLK_EQU_SYSCLK_W::new(self, 31) } diff --git a/esp32h2/src/spi0/clock_gate.rs b/esp32h2/src/spi0/clock_gate.rs index eaba212d60..c3ad7465e0 100644 --- a/esp32h2/src/spi0/clock_gate.rs +++ b/esp32h2/src/spi0/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Register clock gate enable signal. 1: Enable. 0: Disable."] #[inline(always)] - #[must_use] pub fn spi_clk_en(&mut self) -> SPI_CLK_EN_W { SPI_CLK_EN_W::new(self, 0) } diff --git a/esp32h2/src/spi0/ctrl.rs b/esp32h2/src/spi0/ctrl.rs index 49088991d9..abdb5c590b 100644 --- a/esp32h2/src/spi0/ctrl.rs +++ b/esp32h2/src/spi0/ctrl.rs @@ -192,79 +192,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - In the dummy phase of an MSPI write data transfer when accesses to flash, the level of SPI_IO\\[7:0\\] is output by the MSPI controller."] #[inline(always)] - #[must_use] pub fn wdummy_always_out(&mut self) -> WDUMMY_ALWAYS_OUT_W { WDUMMY_ALWAYS_OUT_W::new(self, 1) } #[doc = "Bit 2 - In an MSPI read data transfer when accesses to flash, the level of SPI_IO\\[7:0\\] is output by the MSPI controller in the first half part of dummy phase. It is used to mask invalid SPI_DQS in the half part of dummy phase."] #[inline(always)] - #[must_use] pub fn fdummy_rin(&mut self) -> FDUMMY_RIN_W { FDUMMY_RIN_W::new(self, 2) } #[doc = "Bit 3 - In an MSPI write data transfer when accesses to flash, the level of SPI_IO\\[7:0\\] is output by the MSPI controller in the second half part of dummy phase. It is used to pre-drive flash."] #[inline(always)] - #[must_use] pub fn fdummy_wout(&mut self) -> FDUMMY_WOUT_W { FDUMMY_WOUT_W::new(self, 3) } #[doc = "Bit 8 - Apply 4 signals during command phase 1:enable 0: disable"] #[inline(always)] - #[must_use] pub fn fcmd_quad(&mut self) -> FCMD_QUAD_W { FCMD_QUAD_W::new(self, 8) } #[doc = "Bit 13 - This bit enable the bits: SPI_MEM_FREAD_QIO, SPI_MEM_FREAD_DIO, SPI_MEM_FREAD_QOUT and SPI_MEM_FREAD_DOUT. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fastrd_mode(&mut self) -> FASTRD_MODE_W { FASTRD_MODE_W::new(self, 13) } #[doc = "Bit 14 - In the read operations, read-data phase apply 2 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_dual(&mut self) -> FREAD_DUAL_W { FREAD_DUAL_W::new(self, 14) } #[doc = "Bit 18 - The bit is used to set MISO line polarity, 1: high 0, low"] #[inline(always)] - #[must_use] pub fn q_pol(&mut self) -> Q_POL_W { Q_POL_W::new(self, 18) } #[doc = "Bit 19 - The bit is used to set MOSI line polarity, 1: high 0, low"] #[inline(always)] - #[must_use] pub fn d_pol(&mut self) -> D_POL_W { D_POL_W::new(self, 19) } #[doc = "Bit 20 - In the read operations read-data phase apply 4 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_quad(&mut self) -> FREAD_QUAD_W { FREAD_QUAD_W::new(self, 20) } #[doc = "Bit 21 - Write protect signal output when SPI is idle. 1: output high, 0: output low."] #[inline(always)] - #[must_use] pub fn wp(&mut self) -> WP_W { WP_W::new(self, 21) } #[doc = "Bit 23 - In the read operations address phase and read-data phase apply 2 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_dio(&mut self) -> FREAD_DIO_W { FREAD_DIO_W::new(self, 23) } #[doc = "Bit 24 - In the read operations address phase and read-data phase apply 4 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_qio(&mut self) -> FREAD_QIO_W { FREAD_QIO_W::new(self, 24) } #[doc = "Bit 31 - When accesses to flash, 1: the IE signals of pads connected to SPI_IO\\[7:0\\] are always 1. 0: Others."] #[inline(always)] - #[must_use] pub fn data_ie_always_on(&mut self) -> DATA_IE_ALWAYS_ON_W { DATA_IE_ALWAYS_ON_W::new(self, 31) } diff --git a/esp32h2/src/spi0/ctrl1.rs b/esp32h2/src/spi0/ctrl1.rs index 6324b7b07b..e5af385fc2 100644 --- a/esp32h2/src/spi0/ctrl1.rs +++ b/esp32h2/src/spi0/ctrl1.rs @@ -114,43 +114,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - SPI clock mode bits. 0: SPI clock is off when CS inactive 1: SPI clock is delayed one cycle after CS inactive 2: SPI clock is delayed two cycles after CS inactive 3: SPI clock is alwasy on."] #[inline(always)] - #[must_use] pub fn clk_mode(&mut self) -> CLK_MODE_W { CLK_MODE_W::new(self, 0) } #[doc = "Bit 21 - 1: MSPI supports ARSIZE 0~3. When ARSIZE =0~2, MSPI read address is 4*n and reply the real AXI read data back. 0: When ARSIZE 0~1, MSPI reply SLV_ERR."] #[inline(always)] - #[must_use] pub fn spi_ar_size0_1_support_en(&mut self) -> SPI_AR_SIZE0_1_SUPPORT_EN_W { SPI_AR_SIZE0_1_SUPPORT_EN_W::new(self, 21) } #[doc = "Bit 22 - 1: MSPI supports AWSIZE 0~3. 0: When AWSIZE 0~1, MSPI reply SLV_ERR."] #[inline(always)] - #[must_use] pub fn spi_aw_size0_1_support_en(&mut self) -> SPI_AW_SIZE0_1_SUPPORT_EN_W { SPI_AW_SIZE0_1_SUPPORT_EN_W::new(self, 22) } #[doc = "Bit 24 - 1: RRESP is SLV_ERR when there is a ECC error in AXI read data. 0: RRESP is OKAY when there is a ECC error in AXI read data. The ECC error information is recorded in SPI_MEM_ECC_ERR_ADDR_REG."] #[inline(always)] - #[must_use] pub fn rresp_ecc_err_en(&mut self) -> RRESP_ECC_ERR_EN_W { RRESP_ECC_ERR_EN_W::new(self, 24) } #[doc = "Bit 29 - Set this bit to write data faster, do not wait write data has been stored in tx_bus_fifo_l2. It will wait 4*T_clk_ctrl to insure the write data has been stored in tx_bus_fifo_l2."] #[inline(always)] - #[must_use] pub fn fast_write_en(&mut self) -> FAST_WRITE_EN_W { FAST_WRITE_EN_W::new(self, 29) } #[doc = "Bit 30 - The synchronous reset signal for SPI0 RX AFIFO and all the AES_MSPI SYNC FIFO to receive signals from AXI. Set this bit to reset these FIFO."] #[inline(always)] - #[must_use] pub fn rxfifo_rst(&mut self) -> RXFIFO_RST_W { RXFIFO_RST_W::new(self, 30) } #[doc = "Bit 31 - The synchronous reset signal for SPI0 TX AFIFO and all the AES_MSPI SYNC FIFO to send signals to AXI. Set this bit to reset these FIFO."] #[inline(always)] - #[must_use] pub fn txfifo_rst(&mut self) -> TXFIFO_RST_W { TXFIFO_RST_W::new(self, 31) } diff --git a/esp32h2/src/spi0/ctrl2.rs b/esp32h2/src/spi0/ctrl2.rs index 271a5b7fc5..6625d9e645 100644 --- a/esp32h2/src/spi0/ctrl2.rs +++ b/esp32h2/src/spi0/ctrl2.rs @@ -78,25 +78,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - (cycles-1) of prepare phase by SPI Bus clock, this bits are combined with SPI_MEM_CS_SETUP bit."] #[inline(always)] - #[must_use] pub fn cs_setup_time(&mut self) -> CS_SETUP_TIME_W { CS_SETUP_TIME_W::new(self, 0) } #[doc = "Bits 5:9 - SPI CS signal is delayed to inactive by SPI bus clock, this bits are combined with SPI_MEM_CS_HOLD bit."] #[inline(always)] - #[must_use] pub fn cs_hold_time(&mut self) -> CS_HOLD_TIME_W { CS_HOLD_TIME_W::new(self, 5) } #[doc = "Bits 25:30 - These bits are used to set the minimum CS high time tSHSL between SPI burst transfer when accesses to flash. tSHSL is (SPI_MEM_CS_HOLD_DELAY\\[5:0\\] + 1) MSPI core clock cycles."] #[inline(always)] - #[must_use] pub fn cs_hold_delay(&mut self) -> CS_HOLD_DELAY_W { CS_HOLD_DELAY_W::new(self, 25) } #[doc = "Bit 31 - The spi0_mst_st and spi0_slv_st will be reset."] #[inline(always)] - #[must_use] pub fn sync_reset(&mut self) -> SYNC_RESET_W { SYNC_RESET_W::new(self, 31) } diff --git a/esp32h2/src/spi0/date.rs b/esp32h2/src/spi0/date.rs index 5dae5a751d..ab9a5e8140 100644 --- a/esp32h2/src/spi0/date.rs +++ b/esp32h2/src/spi0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - SPI0 register version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32h2/src/spi0/din_mode.rs b/esp32h2/src/spi0/din_mode.rs index 628fcc812d..85bbe0e1e1 100644 --- a/esp32h2/src/spi0/din_mode.rs +++ b/esp32h2/src/spi0/din_mode.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the posedge of clk_160, 4 input with the negedge of clk_160, 5: input with the spi_clk high edge, 6: input with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn din0_mode(&mut self) -> DIN0_MODE_W { DIN0_MODE_W::new(self, 0) } #[doc = "Bits 3:5 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the posedge of clk_160, 4 input with the negedge of clk_160, 5: input with the spi_clk high edge, 6: input with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn din1_mode(&mut self) -> DIN1_MODE_W { DIN1_MODE_W::new(self, 3) } #[doc = "Bits 6:8 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the posedge of clk_160, 4 input with the negedge of clk_160, 5: input with the spi_clk high edge, 6: input with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn din2_mode(&mut self) -> DIN2_MODE_W { DIN2_MODE_W::new(self, 6) } #[doc = "Bits 9:11 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the posedge of clk_160, 4 input with the negedge of clk_160, 5: input with the spi_clk high edge, 6: input with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn din3_mode(&mut self) -> DIN3_MODE_W { DIN3_MODE_W::new(self, 9) } #[doc = "Bits 12:14 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk"] #[inline(always)] - #[must_use] pub fn din4_mode(&mut self) -> DIN4_MODE_W { DIN4_MODE_W::new(self, 12) } #[doc = "Bits 15:17 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk"] #[inline(always)] - #[must_use] pub fn din5_mode(&mut self) -> DIN5_MODE_W { DIN5_MODE_W::new(self, 15) } #[doc = "Bits 18:20 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk"] #[inline(always)] - #[must_use] pub fn din6_mode(&mut self) -> DIN6_MODE_W { DIN6_MODE_W::new(self, 18) } #[doc = "Bits 21:23 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk"] #[inline(always)] - #[must_use] pub fn din7_mode(&mut self) -> DIN7_MODE_W { DIN7_MODE_W::new(self, 21) } #[doc = "Bits 24:26 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk"] #[inline(always)] - #[must_use] pub fn dins_mode(&mut self) -> DINS_MODE_W { DINS_MODE_W::new(self, 24) } diff --git a/esp32h2/src/spi0/din_num.rs b/esp32h2/src/spi0/din_num.rs index 4f428ea9b5..0fba2adad9 100644 --- a/esp32h2/src/spi0/din_num.rs +++ b/esp32h2/src/spi0/din_num.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn din0_num(&mut self) -> DIN0_NUM_W { DIN0_NUM_W::new(self, 0) } #[doc = "Bits 2:3 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn din1_num(&mut self) -> DIN1_NUM_W { DIN1_NUM_W::new(self, 2) } #[doc = "Bits 4:5 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn din2_num(&mut self) -> DIN2_NUM_W { DIN2_NUM_W::new(self, 4) } #[doc = "Bits 6:7 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn din3_num(&mut self) -> DIN3_NUM_W { DIN3_NUM_W::new(self, 6) } #[doc = "Bits 8:9 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn din4_num(&mut self) -> DIN4_NUM_W { DIN4_NUM_W::new(self, 8) } #[doc = "Bits 10:11 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn din5_num(&mut self) -> DIN5_NUM_W { DIN5_NUM_W::new(self, 10) } #[doc = "Bits 12:13 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn din6_num(&mut self) -> DIN6_NUM_W { DIN6_NUM_W::new(self, 12) } #[doc = "Bits 14:15 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn din7_num(&mut self) -> DIN7_NUM_W { DIN7_NUM_W::new(self, 14) } #[doc = "Bits 16:17 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn dins_num(&mut self) -> DINS_NUM_W { DINS_NUM_W::new(self, 16) } diff --git a/esp32h2/src/spi0/dout_mode.rs b/esp32h2/src/spi0/dout_mode.rs index d871c9b864..8809a4a59b 100644 --- a/esp32h2/src/spi0/dout_mode.rs +++ b/esp32h2/src/spi0/dout_mode.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the posedge of clk_160,4 output with the negedge of clk_160,5: output with the spi_clk high edge ,6: output with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn dout0_mode(&mut self) -> DOUT0_MODE_W { DOUT0_MODE_W::new(self, 0) } #[doc = "Bit 1 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the posedge of clk_160,4 output with the negedge of clk_160,5: output with the spi_clk high edge ,6: output with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn dout1_mode(&mut self) -> DOUT1_MODE_W { DOUT1_MODE_W::new(self, 1) } #[doc = "Bit 2 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the posedge of clk_160,4 output with the negedge of clk_160,5: output with the spi_clk high edge ,6: output with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn dout2_mode(&mut self) -> DOUT2_MODE_W { DOUT2_MODE_W::new(self, 2) } #[doc = "Bit 3 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the posedge of clk_160,4 output with the negedge of clk_160,5: output with the spi_clk high edge ,6: output with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn dout3_mode(&mut self) -> DOUT3_MODE_W { DOUT3_MODE_W::new(self, 3) } #[doc = "Bit 4 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the spi_clk"] #[inline(always)] - #[must_use] pub fn dout4_mode(&mut self) -> DOUT4_MODE_W { DOUT4_MODE_W::new(self, 4) } #[doc = "Bit 5 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the spi_clk"] #[inline(always)] - #[must_use] pub fn dout5_mode(&mut self) -> DOUT5_MODE_W { DOUT5_MODE_W::new(self, 5) } #[doc = "Bit 6 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the spi_clk"] #[inline(always)] - #[must_use] pub fn dout6_mode(&mut self) -> DOUT6_MODE_W { DOUT6_MODE_W::new(self, 6) } #[doc = "Bit 7 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the spi_clk"] #[inline(always)] - #[must_use] pub fn dout7_mode(&mut self) -> DOUT7_MODE_W { DOUT7_MODE_W::new(self, 7) } #[doc = "Bit 8 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the spi_clk"] #[inline(always)] - #[must_use] pub fn douts_mode(&mut self) -> DOUTS_MODE_W { DOUTS_MODE_W::new(self, 8) } diff --git a/esp32h2/src/spi0/dpa_ctrl.rs b/esp32h2/src/spi0/dpa_ctrl.rs index 3d3e1ba5c3..b2c918051a 100644 --- a/esp32h2/src/spi0/dpa_ctrl.rs +++ b/esp32h2/src/spi0/dpa_ctrl.rs @@ -47,19 +47,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - Set the security level of spi mem cryption. 0: Shut off cryption DPA funtion. 1-7: The bigger the number is, the more secure the cryption is. (Note that the performance of cryption will decrease together with this number increasing)"] #[inline(always)] - #[must_use] pub fn spi_crypt_security_level(&mut self) -> SPI_CRYPT_SECURITY_LEVEL_W { SPI_CRYPT_SECURITY_LEVEL_W::new(self, 0) } #[doc = "Bit 3 - Only available when SPI_CRYPT_SECURITY_LEVEL is not 0. 1: Enable DPA in the calculation that using key 1 or key 2. 0: Enable DPA only in the calculation that using key 1."] #[inline(always)] - #[must_use] pub fn spi_crypt_calc_d_dpa_en(&mut self) -> SPI_CRYPT_CALC_D_DPA_EN_W { SPI_CRYPT_CALC_D_DPA_EN_W::new(self, 3) } #[doc = "Bit 4 - 1: MSPI XTS DPA clock gate is controlled by SPI_CRYPT_CALC_D_DPA_EN and SPI_CRYPT_SECURITY_LEVEL. 0: Controlled by efuse bits."] #[inline(always)] - #[must_use] pub fn spi_crypt_dpa_select_register( &mut self, ) -> SPI_CRYPT_DPA_SELECT_REGISTER_W { diff --git a/esp32h2/src/spi0/ecc_ctrl.rs b/esp32h2/src/spi0/ecc_ctrl.rs index cf2a8e520e..ef00f363f9 100644 --- a/esp32h2/src/spi0/ecc_ctrl.rs +++ b/esp32h2/src/spi0/ecc_ctrl.rs @@ -75,7 +75,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 18:19 - Set the page size of the flash accessed by MSPI. 0: 256 bytes. 1: 512 bytes. 2: 1024 bytes. 3: 2048 bytes."] #[inline(always)] - #[must_use] pub fn spi_fmem_page_size(&mut self) -> SPI_FMEM_PAGE_SIZE_W { SPI_FMEM_PAGE_SIZE_W::new(self, 18) } diff --git a/esp32h2/src/spi0/fsm.rs b/esp32h2/src/spi0/fsm.rs index 804ef1059f..12657b2ed0 100644 --- a/esp32h2/src/spi0/fsm.rs +++ b/esp32h2/src/spi0/fsm.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 7:11 - The lock delay time of SPI0/1 arbiter by spi0_slv_st, after PER is sent by SPI1."] #[inline(always)] - #[must_use] pub fn lock_delay_time(&mut self) -> LOCK_DELAY_TIME_W { LOCK_DELAY_TIME_W::new(self, 7) } diff --git a/esp32h2/src/spi0/int_clr.rs b/esp32h2/src/spi0/int_clr.rs index 52421142ba..cc7394c1f0 100644 --- a/esp32h2/src/spi0/int_clr.rs +++ b/esp32h2/src/spi0/int_clr.rs @@ -46,25 +46,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - The clear bit for SPI_MEM_SLV_ST_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_st_end(&mut self) -> SLV_ST_END_W { SLV_ST_END_W::new(self, 3) } #[doc = "Bit 4 - The clear bit for SPI_MEM_MST_ST_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_st_end(&mut self) -> MST_ST_END_W { MST_ST_END_W::new(self, 4) } #[doc = "Bit 6 - The clear bit for SPI_MEM_PMS_REJECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn pms_reject(&mut self) -> PMS_REJECT_W { PMS_REJECT_W::new(self, 6) } #[doc = "Bit 7 - The clear bit for SPI_MEM_AXI_RADDR_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn axi_raddr_err(&mut self) -> AXI_RADDR_ERR_W { AXI_RADDR_ERR_W::new(self, 7) } diff --git a/esp32h2/src/spi0/int_ena.rs b/esp32h2/src/spi0/int_ena.rs index 36ad6c43c7..c2de5b2ae0 100644 --- a/esp32h2/src/spi0/int_ena.rs +++ b/esp32h2/src/spi0/int_ena.rs @@ -78,25 +78,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - The enable bit for SPI_MEM_SLV_ST_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_st_end(&mut self) -> SLV_ST_END_W { SLV_ST_END_W::new(self, 3) } #[doc = "Bit 4 - The enable bit for SPI_MEM_MST_ST_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_st_end(&mut self) -> MST_ST_END_W { MST_ST_END_W::new(self, 4) } #[doc = "Bit 6 - The enable bit for SPI_MEM_PMS_REJECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn pms_reject(&mut self) -> PMS_REJECT_W { PMS_REJECT_W::new(self, 6) } #[doc = "Bit 7 - The enable bit for SPI_MEM_AXI_RADDR_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn axi_raddr_err(&mut self) -> AXI_RADDR_ERR_W { AXI_RADDR_ERR_W::new(self, 7) } diff --git a/esp32h2/src/spi0/int_raw.rs b/esp32h2/src/spi0/int_raw.rs index 325ea18d28..a587e147a0 100644 --- a/esp32h2/src/spi0/int_raw.rs +++ b/esp32h2/src/spi0/int_raw.rs @@ -78,25 +78,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - The raw bit for SPI_MEM_SLV_ST_END_INT interrupt. 1: Triggered when spi0_slv_st is changed from non idle state to idle state. It means that SPI_CS raises high. 0: Others"] #[inline(always)] - #[must_use] pub fn slv_st_end(&mut self) -> SLV_ST_END_W { SLV_ST_END_W::new(self, 3) } #[doc = "Bit 4 - The raw bit for SPI_MEM_MST_ST_END_INT interrupt. 1: Triggered when spi0_mst_st is changed from non idle state to idle state. 0: Others."] #[inline(always)] - #[must_use] pub fn mst_st_end(&mut self) -> MST_ST_END_W { MST_ST_END_W::new(self, 4) } #[doc = "Bit 6 - The raw bit for SPI_MEM_PMS_REJECT_INT interrupt. 1: Triggered when SPI1 access is rejected. 0: Others."] #[inline(always)] - #[must_use] pub fn pms_reject(&mut self) -> PMS_REJECT_W { PMS_REJECT_W::new(self, 6) } #[doc = "Bit 7 - The raw bit for SPI_MEM_AXI_RADDR_ERR_INT interrupt. 1: Triggered when AXI read address is invalid by compared to MMU configuration. 0: Others."] #[inline(always)] - #[must_use] pub fn axi_raddr_err(&mut self) -> AXI_RADDR_ERR_W { AXI_RADDR_ERR_W::new(self, 7) } diff --git a/esp32h2/src/spi0/misc.rs b/esp32h2/src/spi0/misc.rs index b0c1a40bb1..4856e255a0 100644 --- a/esp32h2/src/spi0/misc.rs +++ b/esp32h2/src/spi0/misc.rs @@ -50,13 +50,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 9 - 1: SPI_CLK line is high when idle 0: spi clk line is low when idle"] #[inline(always)] - #[must_use] pub fn ck_idle_edge(&mut self) -> CK_IDLE_EDGE_W { CK_IDLE_EDGE_W::new(self, 9) } #[doc = "Bit 10 - SPI_CS line keep low when the bit is set."] #[inline(always)] - #[must_use] pub fn cs_keep_active(&mut self) -> CS_KEEP_ACTIVE_W { CS_KEEP_ACTIVE_W::new(self, 10) } diff --git a/esp32h2/src/spi0/mmu_item_content.rs b/esp32h2/src/spi0/mmu_item_content.rs index 756070a575..2ae290e0d2 100644 --- a/esp32h2/src/spi0/mmu_item_content.rs +++ b/esp32h2/src/spi0/mmu_item_content.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - MSPI-MMU item content"] #[inline(always)] - #[must_use] pub fn spi_mmu_item_content(&mut self) -> SPI_MMU_ITEM_CONTENT_W { SPI_MMU_ITEM_CONTENT_W::new(self, 0) } diff --git a/esp32h2/src/spi0/mmu_item_index.rs b/esp32h2/src/spi0/mmu_item_index.rs index bd32804a14..f2409113ae 100644 --- a/esp32h2/src/spi0/mmu_item_index.rs +++ b/esp32h2/src/spi0/mmu_item_index.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - MSPI-MMU item index"] #[inline(always)] - #[must_use] pub fn spi_mmu_item_index(&mut self) -> SPI_MMU_ITEM_INDEX_W { SPI_MMU_ITEM_INDEX_W::new(self, 0) } diff --git a/esp32h2/src/spi0/mmu_power_ctrl.rs b/esp32h2/src/spi0/mmu_power_ctrl.rs index 6d90ccc5eb..13274a049a 100644 --- a/esp32h2/src/spi0/mmu_power_ctrl.rs +++ b/esp32h2/src/spi0/mmu_power_ctrl.rs @@ -78,25 +78,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable mmu-memory clock force on"] #[inline(always)] - #[must_use] pub fn spi_mmu_mem_force_on(&mut self) -> SPI_MMU_MEM_FORCE_ON_W { SPI_MMU_MEM_FORCE_ON_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to force mmu-memory powerdown"] #[inline(always)] - #[must_use] pub fn spi_mmu_mem_force_pd(&mut self) -> SPI_MMU_MEM_FORCE_PD_W { SPI_MMU_MEM_FORCE_PD_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to force mmu-memory powerup, in this case, the power should also be controlled by rtc."] #[inline(always)] - #[must_use] pub fn spi_mmu_mem_force_pu(&mut self) -> SPI_MMU_MEM_FORCE_PU_W { SPI_MMU_MEM_FORCE_PU_W::new(self, 2) } #[doc = "Bits 3:4 - 0: Max page size , 1: Max page size/2 , 2: Max page size/4, 3: Max page size/8"] #[inline(always)] - #[must_use] pub fn spi_mmu_page_size(&mut self) -> SPI_MMU_PAGE_SIZE_W { SPI_MMU_PAGE_SIZE_W::new(self, 3) } diff --git a/esp32h2/src/spi0/pms_reject.rs b/esp32h2/src/spi0/pms_reject.rs index e3a41b3a12..de829acb62 100644 --- a/esp32h2/src/spi0/pms_reject.rs +++ b/esp32h2/src/spi0/pms_reject.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 26 - Set this bit to enable SPI0/1 transfer permission control function."] #[inline(always)] - #[must_use] pub fn pm_en(&mut self) -> PM_EN_W { PM_EN_W::new(self, 26) } diff --git a/esp32h2/src/spi0/rd_status.rs b/esp32h2/src/spi0/rd_status.rs index b4976439c0..9426f1bbd0 100644 --- a/esp32h2/src/spi0/rd_status.rs +++ b/esp32h2/src/spi0/rd_status.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:23 - Mode bits in the flash fast read mode it is combined with spi_mem_fastrd_mode bit."] #[inline(always)] - #[must_use] pub fn wb_mode(&mut self) -> WB_MODE_W { WB_MODE_W::new(self, 16) } diff --git a/esp32h2/src/spi0/spi_fmem_pms_addr.rs b/esp32h2/src/spi0/spi_fmem_pms_addr.rs index 09ba79004c..9e28e71ecf 100644 --- a/esp32h2/src/spi0/spi_fmem_pms_addr.rs +++ b/esp32h2/src/spi0/spi_fmem_pms_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:25 - SPI1 flash ACE section %s start address value"] #[inline(always)] - #[must_use] pub fn s(&mut self) -> S_W { S_W::new(self, 0) } diff --git a/esp32h2/src/spi0/spi_fmem_pms_attr.rs b/esp32h2/src/spi0/spi_fmem_pms_attr.rs index 6d64cbe4c2..da54b75b12 100644 --- a/esp32h2/src/spi0/spi_fmem_pms_attr.rs +++ b/esp32h2/src/spi0/spi_fmem_pms_attr.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: SPI1 flash ACE section %s read accessible. 0: Not allowed."] #[inline(always)] - #[must_use] pub fn spi_fmem_pms_rd_attr(&mut self) -> SPI_FMEM_PMS_RD_ATTR_W { SPI_FMEM_PMS_RD_ATTR_W::new(self, 0) } #[doc = "Bit 1 - 1: SPI1 flash ACE section %s write accessible. 0: Not allowed."] #[inline(always)] - #[must_use] pub fn spi_fmem_pms_wr_attr(&mut self) -> SPI_FMEM_PMS_WR_ATTR_W { SPI_FMEM_PMS_WR_ATTR_W::new(self, 1) } #[doc = "Bit 2 - SPI1 flash ACE section %s ECC mode, 1: enable ECC mode. 0: Disable it. The flash ACE section %s is configured by registers SPI_FMEM_PMS%s_ADDR_REG and SPI_FMEM_PMS%s_SIZE_REG."] #[inline(always)] - #[must_use] pub fn spi_fmem_pms_ecc(&mut self) -> SPI_FMEM_PMS_ECC_W { SPI_FMEM_PMS_ECC_W::new(self, 2) } diff --git a/esp32h2/src/spi0/spi_fmem_pms_size.rs b/esp32h2/src/spi0/spi_fmem_pms_size.rs index 804f966133..2ce25a23ee 100644 --- a/esp32h2/src/spi0/spi_fmem_pms_size.rs +++ b/esp32h2/src/spi0/spi_fmem_pms_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - SPI1 flash ACE section %s address region is (SPI_FMEM_PMS%s_ADDR_S, SPI_FMEM_PMS%s_ADDR_S + SPI_FMEM_PMS%s_SIZE)"] #[inline(always)] - #[must_use] pub fn spi_fmem_pms_size(&mut self) -> SPI_FMEM_PMS_SIZE_W { SPI_FMEM_PMS_SIZE_W::new(self, 0) } diff --git a/esp32h2/src/spi0/spi_smem_pms_addr.rs b/esp32h2/src/spi0/spi_smem_pms_addr.rs index e6e4487379..656b45ab2d 100644 --- a/esp32h2/src/spi0/spi_smem_pms_addr.rs +++ b/esp32h2/src/spi0/spi_smem_pms_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:25 - SPI1 external RAM ACE section %s start address value"] #[inline(always)] - #[must_use] pub fn s(&mut self) -> S_W { S_W::new(self, 0) } diff --git a/esp32h2/src/spi0/spi_smem_pms_attr.rs b/esp32h2/src/spi0/spi_smem_pms_attr.rs index c383b0d587..d50ec2dde4 100644 --- a/esp32h2/src/spi0/spi_smem_pms_attr.rs +++ b/esp32h2/src/spi0/spi_smem_pms_attr.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: SPI1 external RAM ACE section %s read accessible. 0: Not allowed."] #[inline(always)] - #[must_use] pub fn spi_smem_pms_rd_attr(&mut self) -> SPI_SMEM_PMS_RD_ATTR_W { SPI_SMEM_PMS_RD_ATTR_W::new(self, 0) } #[doc = "Bit 1 - 1: SPI1 external RAM ACE section %s write accessible. 0: Not allowed."] #[inline(always)] - #[must_use] pub fn spi_smem_pms_wr_attr(&mut self) -> SPI_SMEM_PMS_WR_ATTR_W { SPI_SMEM_PMS_WR_ATTR_W::new(self, 1) } #[doc = "Bit 2 - SPI1 external RAM ACE section %s ECC mode, 1: enable ECC mode. 0: Disable it. The external RAM ACE section %s is configured by registers SPI_SMEM_PMS%s_ADDR_REG and SPI_SMEM_PMS%s_SIZE_REG."] #[inline(always)] - #[must_use] pub fn spi_smem_pms_ecc(&mut self) -> SPI_SMEM_PMS_ECC_W { SPI_SMEM_PMS_ECC_W::new(self, 2) } diff --git a/esp32h2/src/spi0/spi_smem_pms_size.rs b/esp32h2/src/spi0/spi_smem_pms_size.rs index 36b2420090..184e9ac80a 100644 --- a/esp32h2/src/spi0/spi_smem_pms_size.rs +++ b/esp32h2/src/spi0/spi_smem_pms_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - SPI1 external RAM ACE section %s address region is (SPI_SMEM_PMS%s_ADDR_S, SPI_SMEM_PMS%s_ADDR_S + SPI_SMEM_PMS%s_SIZE)"] #[inline(always)] - #[must_use] pub fn spi_smem_pms_size(&mut self) -> SPI_SMEM_PMS_SIZE_W { SPI_SMEM_PMS_SIZE_W::new(self, 0) } diff --git a/esp32h2/src/spi0/sram_cmd.rs b/esp32h2/src/spi0/sram_cmd.rs index d3de847a63..ec956d7272 100644 --- a/esp32h2/src/spi0/sram_cmd.rs +++ b/esp32h2/src/spi0/sram_cmd.rs @@ -180,7 +180,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 22 - In the dummy phase of a MSPI read data transfer when accesses to external RAM, the signal level of SPI bus is output by the MSPI controller."] #[inline(always)] - #[must_use] pub fn sdummy_rin(&mut self) -> SDUMMY_RIN_W { SDUMMY_RIN_W::new(self, 22) } diff --git a/esp32h2/src/spi0/timing_cali.rs b/esp32h2/src/spi0/timing_cali.rs index d9d33286ce..c0bdd7a6ba 100644 --- a/esp32h2/src/spi0/timing_cali.rs +++ b/esp32h2/src/spi0/timing_cali.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable timing adjust clock for all reading operations."] #[inline(always)] - #[must_use] pub fn timing_clk_ena(&mut self) -> TIMING_CLK_ENA_W { TIMING_CLK_ENA_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to enable timing auto-calibration for all reading operations."] #[inline(always)] - #[must_use] pub fn timing_cali(&mut self) -> TIMING_CALI_W { TIMING_CALI_W::new(self, 1) } #[doc = "Bits 2:4 - add extra dummy spi clock cycle length for spi clock calibration."] #[inline(always)] - #[must_use] pub fn extra_dummy_cyclelen(&mut self) -> EXTRA_DUMMY_CYCLELEN_W { EXTRA_DUMMY_CYCLELEN_W::new(self, 2) } #[doc = "Bit 6 - Set this bit to update delay mode, delay num and extra dummy in MSPI."] #[inline(always)] - #[must_use] pub fn update(&mut self) -> UPDATE_W { UPDATE_W::new(self, 6) } diff --git a/esp32h2/src/spi0/user.rs b/esp32h2/src/spi0/user.rs index f221da2010..c770c5fd45 100644 --- a/esp32h2/src/spi0/user.rs +++ b/esp32h2/src/spi0/user.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 6 - spi cs keep low when spi is in done phase. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn cs_hold(&mut self) -> CS_HOLD_W { CS_HOLD_W::new(self, 6) } #[doc = "Bit 7 - spi cs is enable when spi is in prepare phase. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn cs_setup(&mut self) -> CS_SETUP_W { CS_SETUP_W::new(self, 7) } #[doc = "Bit 9 - The bit combined with SPI_MEM_CK_IDLE_EDGE bit to control SPI clock mode 0~3."] #[inline(always)] - #[must_use] pub fn ck_out_edge(&mut self) -> CK_OUT_EDGE_W { CK_OUT_EDGE_W::new(self, 9) } #[doc = "Bit 26 - spi clock is disable in dummy phase when the bit is enable."] #[inline(always)] - #[must_use] pub fn usr_dummy_idle(&mut self) -> USR_DUMMY_IDLE_W { USR_DUMMY_IDLE_W::new(self, 26) } #[doc = "Bit 29 - This bit enable the dummy phase of an operation."] #[inline(always)] - #[must_use] pub fn usr_dummy(&mut self) -> USR_DUMMY_W { USR_DUMMY_W::new(self, 29) } diff --git a/esp32h2/src/spi0/user1.rs b/esp32h2/src/spi0/user1.rs index b696f286a1..2c79bbe642 100644 --- a/esp32h2/src/spi0/user1.rs +++ b/esp32h2/src/spi0/user1.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - The length in spi_mem_clk cycles of dummy phase. The register value shall be (cycle_num-1)."] #[inline(always)] - #[must_use] pub fn usr_dummy_cyclelen(&mut self) -> USR_DUMMY_CYCLELEN_W { USR_DUMMY_CYCLELEN_W::new(self, 0) } #[doc = "Bits 26:31 - The length in bits of address phase. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn usr_addr_bitlen(&mut self) -> USR_ADDR_BITLEN_W { USR_ADDR_BITLEN_W::new(self, 26) } diff --git a/esp32h2/src/spi0/user2.rs b/esp32h2/src/spi0/user2.rs index 36c1b0856c..3b2cf222a2 100644 --- a/esp32h2/src/spi0/user2.rs +++ b/esp32h2/src/spi0/user2.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The value of command."] #[inline(always)] - #[must_use] pub fn usr_command_value(&mut self) -> USR_COMMAND_VALUE_W { USR_COMMAND_VALUE_W::new(self, 0) } #[doc = "Bits 28:31 - The length in bits of command phase. The register value shall be (bit_num-1)"] #[inline(always)] - #[must_use] pub fn usr_command_bitlen(&mut self) -> USR_COMMAND_BITLEN_W { USR_COMMAND_BITLEN_W::new(self, 28) } diff --git a/esp32h2/src/spi0/xts_date.rs b/esp32h2/src/spi0/xts_date.rs index ea43c3b458..3fffd1e49d 100644 --- a/esp32h2/src/spi0/xts_date.rs +++ b/esp32h2/src/spi0/xts_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - This bits stores the last modified-time of manual encryption feature."] #[inline(always)] - #[must_use] pub fn spi_xts_date(&mut self) -> SPI_XTS_DATE_W { SPI_XTS_DATE_W::new(self, 0) } diff --git a/esp32h2/src/spi0/xts_destination.rs b/esp32h2/src/spi0/xts_destination.rs index 76f2925e1e..e59350016a 100644 --- a/esp32h2/src/spi0/xts_destination.rs +++ b/esp32h2/src/spi0/xts_destination.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit stores the destination parameter which will be used in manual encryption calculation. 0: flash(default), 1: psram(reserved). Only default value can be used."] #[inline(always)] - #[must_use] pub fn spi_xts_destination(&mut self) -> SPI_XTS_DESTINATION_W { SPI_XTS_DESTINATION_W::new(self, 0) } diff --git a/esp32h2/src/spi0/xts_destroy.rs b/esp32h2/src/spi0/xts_destroy.rs index 7d3b051202..b2634eb8aa 100644 --- a/esp32h2/src/spi0/xts_destroy.rs +++ b/esp32h2/src/spi0/xts_destroy.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to destroy encrypted result. This action should be asserted only when manual encryption status is 3. After this action, manual encryption status will become 0."] #[inline(always)] - #[must_use] pub fn spi_xts_destroy(&mut self) -> SPI_XTS_DESTROY_W { SPI_XTS_DESTROY_W::new(self, 0) } diff --git a/esp32h2/src/spi0/xts_linesize.rs b/esp32h2/src/spi0/xts_linesize.rs index e6ffb87b23..2a7c10eae0 100644 --- a/esp32h2/src/spi0/xts_linesize.rs +++ b/esp32h2/src/spi0/xts_linesize.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - This bits stores the line-size parameter which will be used in manual encryption calculation. It decides how many bytes will be encrypted one time. 0: 16-bytes, 1: 32-bytes, 2: 64-bytes, 3:reserved."] #[inline(always)] - #[must_use] pub fn spi_xts_linesize(&mut self) -> SPI_XTS_LINESIZE_W { SPI_XTS_LINESIZE_W::new(self, 0) } diff --git a/esp32h2/src/spi0/xts_physical_address.rs b/esp32h2/src/spi0/xts_physical_address.rs index b1ed99352f..b796479fae 100644 --- a/esp32h2/src/spi0/xts_physical_address.rs +++ b/esp32h2/src/spi0/xts_physical_address.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:25 - This bits stores the physical-address parameter which will be used in manual encryption calculation. This value should aligned with byte number decided by line-size parameter."] #[inline(always)] - #[must_use] pub fn spi_xts_physical_address( &mut self, ) -> SPI_XTS_PHYSICAL_ADDRESS_W { diff --git a/esp32h2/src/spi0/xts_plain_base.rs b/esp32h2/src/spi0/xts_plain_base.rs index 39600139ec..eddbd5cc48 100644 --- a/esp32h2/src/spi0/xts_plain_base.rs +++ b/esp32h2/src/spi0/xts_plain_base.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This field is only used to generate include file in c case. This field is useless. Please do not use this field."] #[inline(always)] - #[must_use] pub fn spi_xts_plain(&mut self) -> SPI_XTS_PLAIN_W { SPI_XTS_PLAIN_W::new(self, 0) } diff --git a/esp32h2/src/spi0/xts_release.rs b/esp32h2/src/spi0/xts_release.rs index 860686d075..b6090f76cc 100644 --- a/esp32h2/src/spi0/xts_release.rs +++ b/esp32h2/src/spi0/xts_release.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to release encrypted result to mspi. This action should only be asserted when manual encryption status is 2. After this action, manual encryption status will become 3."] #[inline(always)] - #[must_use] pub fn spi_xts_release(&mut self) -> SPI_XTS_RELEASE_W { SPI_XTS_RELEASE_W::new(self, 0) } diff --git a/esp32h2/src/spi0/xts_trigger.rs b/esp32h2/src/spi0/xts_trigger.rs index 898775a90c..a7c0855a76 100644 --- a/esp32h2/src/spi0/xts_trigger.rs +++ b/esp32h2/src/spi0/xts_trigger.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to trigger the process of manual encryption calculation. This action should only be asserted when manual encryption status is 0. After this action, manual encryption status becomes 1. After calculation is done, manual encryption status becomes 2."] #[inline(always)] - #[must_use] pub fn spi_xts_trigger(&mut self) -> SPI_XTS_TRIGGER_W { SPI_XTS_TRIGGER_W::new(self, 0) } diff --git a/esp32h2/src/spi1/addr.rs b/esp32h2/src/spi1/addr.rs index a0213e15b9..0d0a1be434 100644 --- a/esp32h2/src/spi1/addr.rs +++ b/esp32h2/src/spi1/addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - In user mode, it is the memory address. other then the bit0-bit23 is the memory address, the bit24-bit31 are the byte length of a transfer."] #[inline(always)] - #[must_use] pub fn usr_addr_value(&mut self) -> USR_ADDR_VALUE_W { USR_ADDR_VALUE_W::new(self, 0) } diff --git a/esp32h2/src/spi1/cache_fctrl.rs b/esp32h2/src/spi1/cache_fctrl.rs index 17da6be7ec..9e6d97ba6a 100644 --- a/esp32h2/src/spi1/cache_fctrl.rs +++ b/esp32h2/src/spi1/cache_fctrl.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - For SPI1, cache read flash with 4 bytes address, 1: enable, 0:disable."] #[inline(always)] - #[must_use] pub fn cache_usr_addr_4byte(&mut self) -> CACHE_USR_ADDR_4BYTE_W { CACHE_USR_ADDR_4BYTE_W::new(self, 1) } #[doc = "Bit 3 - For SPI1, din phase apply 2 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_dio."] #[inline(always)] - #[must_use] pub fn fdin_dual(&mut self) -> FDIN_DUAL_W { FDIN_DUAL_W::new(self, 3) } #[doc = "Bit 4 - For SPI1, dout phase apply 2 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_dio."] #[inline(always)] - #[must_use] pub fn fdout_dual(&mut self) -> FDOUT_DUAL_W { FDOUT_DUAL_W::new(self, 4) } #[doc = "Bit 5 - For SPI1, address phase apply 2 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_dio."] #[inline(always)] - #[must_use] pub fn faddr_dual(&mut self) -> FADDR_DUAL_W { FADDR_DUAL_W::new(self, 5) } #[doc = "Bit 6 - For SPI1, din phase apply 4 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_qio."] #[inline(always)] - #[must_use] pub fn fdin_quad(&mut self) -> FDIN_QUAD_W { FDIN_QUAD_W::new(self, 6) } #[doc = "Bit 7 - For SPI1, dout phase apply 4 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_qio."] #[inline(always)] - #[must_use] pub fn fdout_quad(&mut self) -> FDOUT_QUAD_W { FDOUT_QUAD_W::new(self, 7) } #[doc = "Bit 8 - For SPI1, address phase apply 4 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_qio."] #[inline(always)] - #[must_use] pub fn faddr_quad(&mut self) -> FADDR_QUAD_W { FADDR_QUAD_W::new(self, 8) } diff --git a/esp32h2/src/spi1/clock.rs b/esp32h2/src/spi1/clock.rs index def6403bc3..d789b3face 100644 --- a/esp32h2/src/spi1/clock.rs +++ b/esp32h2/src/spi1/clock.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In the master mode it must be equal to spi_mem_clkcnt_N."] #[inline(always)] - #[must_use] pub fn clkcnt_l(&mut self) -> CLKCNT_L_W { CLKCNT_L_W::new(self, 0) } #[doc = "Bits 8:15 - In the master mode it must be floor((spi_mem_clkcnt_N+1)/2-1)."] #[inline(always)] - #[must_use] pub fn clkcnt_h(&mut self) -> CLKCNT_H_W { CLKCNT_H_W::new(self, 8) } #[doc = "Bits 16:23 - In the master mode it is the divider of spi_mem_clk. So spi_mem_clk frequency is system/(spi_mem_clkcnt_N+1)"] #[inline(always)] - #[must_use] pub fn clkcnt_n(&mut self) -> CLKCNT_N_W { CLKCNT_N_W::new(self, 16) } #[doc = "Bit 31 - reserved"] #[inline(always)] - #[must_use] pub fn clk_equ_sysclk(&mut self) -> CLK_EQU_SYSCLK_W { CLK_EQU_SYSCLK_W::new(self, 31) } diff --git a/esp32h2/src/spi1/clock_gate.rs b/esp32h2/src/spi1/clock_gate.rs index 5c0eb9d0d7..5e04c4947e 100644 --- a/esp32h2/src/spi1/clock_gate.rs +++ b/esp32h2/src/spi1/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Register clock gate enable signal. 1: Enable. 0: Disable."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32h2/src/spi1/cmd.rs b/esp32h2/src/spi1/cmd.rs index fa4ef927c7..ddebe43618 100644 --- a/esp32h2/src/spi1/cmd.rs +++ b/esp32h2/src/spi1/cmd.rs @@ -180,91 +180,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 17 - In user mode, it is set to indicate that program/erase operation will be triggered. The bit is combined with spi_mem_usr bit. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_pe(&mut self) -> FLASH_PE_W { FLASH_PE_W::new(self, 17) } #[doc = "Bit 18 - User define command enable. An operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn usr(&mut self) -> USR_W { USR_W::new(self, 18) } #[doc = "Bit 19 - Drive Flash into high performance mode. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_hpm(&mut self) -> FLASH_HPM_W { FLASH_HPM_W::new(self, 19) } #[doc = "Bit 20 - This bit combined with reg_resandres bit releases Flash from the power-down state or high performance mode and obtains the devices ID. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_res(&mut self) -> FLASH_RES_W { FLASH_RES_W::new(self, 20) } #[doc = "Bit 21 - Drive Flash into power down. An operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_dp(&mut self) -> FLASH_DP_W { FLASH_DP_W::new(self, 21) } #[doc = "Bit 22 - Chip erase enable. Chip erase operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_ce(&mut self) -> FLASH_CE_W { FLASH_CE_W::new(self, 22) } #[doc = "Bit 23 - Block erase enable(32KB) . Block erase operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_be(&mut self) -> FLASH_BE_W { FLASH_BE_W::new(self, 23) } #[doc = "Bit 24 - Sector erase enable(4KB). Sector erase operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_se(&mut self) -> FLASH_SE_W { FLASH_SE_W::new(self, 24) } #[doc = "Bit 25 - Page program enable(1 byte ~256 bytes data to be programmed). Page program operation will be triggered when the bit is set. The bit will be cleared once the operation done .1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_pp(&mut self) -> FLASH_PP_W { FLASH_PP_W::new(self, 25) } #[doc = "Bit 26 - Write status register enable. Write status operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_wrsr(&mut self) -> FLASH_WRSR_W { FLASH_WRSR_W::new(self, 26) } #[doc = "Bit 27 - Read status register-1. Read status operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_rdsr(&mut self) -> FLASH_RDSR_W { FLASH_RDSR_W::new(self, 27) } #[doc = "Bit 28 - Read JEDEC ID . Read ID command will be sent when the bit is set. The bit will be cleared once the operation done. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_rdid(&mut self) -> FLASH_RDID_W { FLASH_RDID_W::new(self, 28) } #[doc = "Bit 29 - Write flash disable. Write disable command will be sent when the bit is set. The bit will be cleared once the operation done. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_wrdi(&mut self) -> FLASH_WRDI_W { FLASH_WRDI_W::new(self, 29) } #[doc = "Bit 30 - Write flash enable. Write enable command will be sent when the bit is set. The bit will be cleared once the operation done. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_wren(&mut self) -> FLASH_WREN_W { FLASH_WREN_W::new(self, 30) } #[doc = "Bit 31 - Read flash enable. Read flash operation will be triggered when the bit is set. The bit will be cleared once the operation done. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_read(&mut self) -> FLASH_READ_W { FLASH_READ_W::new(self, 31) } diff --git a/esp32h2/src/spi1/ctrl.rs b/esp32h2/src/spi1/ctrl.rs index 33a0709f8d..752575de62 100644 --- a/esp32h2/src/spi1/ctrl.rs +++ b/esp32h2/src/spi1/ctrl.rs @@ -192,79 +192,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - In the dummy phase of a MSPI read data transfer when accesses to flash, the signal level of SPI bus is output by the MSPI controller."] #[inline(always)] - #[must_use] pub fn fdummy_rin(&mut self) -> FDUMMY_RIN_W { FDUMMY_RIN_W::new(self, 2) } #[doc = "Bit 3 - In the dummy phase of a MSPI write data transfer when accesses to flash, the signal level of SPI bus is output by the MSPI controller."] #[inline(always)] - #[must_use] pub fn fdummy_wout(&mut self) -> FDUMMY_WOUT_W { FDUMMY_WOUT_W::new(self, 3) } #[doc = "Bit 8 - Apply 4 signals during command phase 1:enable 0: disable"] #[inline(always)] - #[must_use] pub fn fcmd_quad(&mut self) -> FCMD_QUAD_W { FCMD_QUAD_W::new(self, 8) } #[doc = "Bit 13 - This bit enable the bits: spi_mem_fread_qio, spi_mem_fread_dio, spi_mem_fread_qout and spi_mem_fread_dout. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fastrd_mode(&mut self) -> FASTRD_MODE_W { FASTRD_MODE_W::new(self, 13) } #[doc = "Bit 14 - In the read operations, read-data phase apply 2 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_dual(&mut self) -> FREAD_DUAL_W { FREAD_DUAL_W::new(self, 14) } #[doc = "Bit 15 - The Device ID is read out to SPI_MEM_RD_STATUS register, this bit combine with spi_mem_flash_res bit. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn resandres(&mut self) -> RESANDRES_W { RESANDRES_W::new(self, 15) } #[doc = "Bit 18 - The bit is used to set MISO line polarity, 1: high 0, low"] #[inline(always)] - #[must_use] pub fn q_pol(&mut self) -> Q_POL_W { Q_POL_W::new(self, 18) } #[doc = "Bit 19 - The bit is used to set MOSI line polarity, 1: high 0, low"] #[inline(always)] - #[must_use] pub fn d_pol(&mut self) -> D_POL_W { D_POL_W::new(self, 19) } #[doc = "Bit 20 - In the read operations read-data phase apply 4 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_quad(&mut self) -> FREAD_QUAD_W { FREAD_QUAD_W::new(self, 20) } #[doc = "Bit 21 - Write protect signal output when SPI is idle. 1: output high, 0: output low."] #[inline(always)] - #[must_use] pub fn wp(&mut self) -> WP_W { WP_W::new(self, 21) } #[doc = "Bit 22 - two bytes data will be written to status register when it is set. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn wrsr_2b(&mut self) -> WRSR_2B_W { WRSR_2B_W::new(self, 22) } #[doc = "Bit 23 - In the read operations address phase and read-data phase apply 2 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_dio(&mut self) -> FREAD_DIO_W { FREAD_DIO_W::new(self, 23) } #[doc = "Bit 24 - In the read operations address phase and read-data phase apply 4 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_qio(&mut self) -> FREAD_QIO_W { FREAD_QIO_W::new(self, 24) } diff --git a/esp32h2/src/spi1/ctrl1.rs b/esp32h2/src/spi1/ctrl1.rs index dd42e7f950..c94a99e05f 100644 --- a/esp32h2/src/spi1/ctrl1.rs +++ b/esp32h2/src/spi1/ctrl1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - SPI clock mode bits. 0: SPI clock is off when CS inactive 1: SPI clock is delayed one cycle after CS inactive 2: SPI clock is delayed two cycles after CS inactive 3: SPI clock is alwasy on."] #[inline(always)] - #[must_use] pub fn clk_mode(&mut self) -> CLK_MODE_W { CLK_MODE_W::new(self, 0) } #[doc = "Bits 2:11 - After RES/DP/HPM command is sent, SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 512) SPI_CLK cycles."] #[inline(always)] - #[must_use] pub fn cs_hold_dly_res(&mut self) -> CS_HOLD_DLY_RES_W { CS_HOLD_DLY_RES_W::new(self, 2) } diff --git a/esp32h2/src/spi1/ctrl2.rs b/esp32h2/src/spi1/ctrl2.rs index 0f4c316976..67bff70e6d 100644 --- a/esp32h2/src/spi1/ctrl2.rs +++ b/esp32h2/src/spi1/ctrl2.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - The FSM will be reset."] #[inline(always)] - #[must_use] pub fn sync_reset(&mut self) -> SYNC_RESET_W { SYNC_RESET_W::new(self, 31) } diff --git a/esp32h2/src/spi1/date.rs b/esp32h2/src/spi1/date.rs index 2a2a4597f0..834611efc7 100644 --- a/esp32h2/src/spi1/date.rs +++ b/esp32h2/src/spi1/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Version control register"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32h2/src/spi1/flash_sus_cmd.rs b/esp32h2/src/spi1/flash_sus_cmd.rs index 1f44880988..c3121dd40e 100644 --- a/esp32h2/src/spi1/flash_sus_cmd.rs +++ b/esp32h2/src/spi1/flash_sus_cmd.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Program/Erase suspend command."] #[inline(always)] - #[must_use] pub fn flash_pes_command(&mut self) -> FLASH_PES_COMMAND_W { FLASH_PES_COMMAND_W::new(self, 0) } #[doc = "Bits 16:31 - Flash SUS/SUS1/SUS2 status bit read command. The command should be sent when SUS/SUS1/SUS2 bit should be checked to insure the suspend or resume status of flash."] #[inline(always)] - #[must_use] pub fn wait_pesr_command(&mut self) -> WAIT_PESR_COMMAND_W { WAIT_PESR_COMMAND_W::new(self, 16) } diff --git a/esp32h2/src/spi1/flash_sus_ctrl.rs b/esp32h2/src/spi1/flash_sus_ctrl.rs index d40a8c8819..d26c2550e6 100644 --- a/esp32h2/src/spi1/flash_sus_ctrl.rs +++ b/esp32h2/src/spi1/flash_sus_ctrl.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - program erase resume bit, program erase suspend operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_per(&mut self) -> FLASH_PER_W { FLASH_PER_W::new(self, 0) } #[doc = "Bit 1 - program erase suspend bit, program erase suspend operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_pes(&mut self) -> FLASH_PES_W { FLASH_PES_W::new(self, 1) } #[doc = "Bit 2 - 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4 or *128) SPI_CLK cycles after program erase resume command is sent. 0: SPI1 does not wait after program erase resume command is sent."] #[inline(always)] - #[must_use] pub fn flash_per_wait_en(&mut self) -> FLASH_PER_WAIT_EN_W { FLASH_PER_WAIT_EN_W::new(self, 2) } #[doc = "Bit 3 - 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4 or *128) SPI_CLK cycles after program erase suspend command is sent. 0: SPI1 does not wait after program erase suspend command is sent."] #[inline(always)] - #[must_use] pub fn flash_pes_wait_en(&mut self) -> FLASH_PES_WAIT_EN_W { FLASH_PES_WAIT_EN_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to enable PES end triggers PER transfer option. If this bit is 0, application should send PER after PES is done."] #[inline(always)] - #[must_use] pub fn pes_per_en(&mut self) -> PES_PER_EN_W { PES_PER_EN_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to enable Auto-suspending function."] #[inline(always)] - #[must_use] pub fn flash_pes_en(&mut self) -> FLASH_PES_EN_W { FLASH_PES_EN_W::new(self, 5) } #[doc = "Bits 6:21 - The mask value when check SUS/SUS1/SUS2 status bit. If the read status value is status_in\\[15:0\\](only status_in\\[7:0\\] is valid when only one byte of data is read out, status_in\\[15:0\\] is valid when two bytes of data are read out), SUS/SUS1/SUS2 = status_in\\[15:0\\]^ SPI_MEM_PESR_END_MSK\\[15:0\\]."] #[inline(always)] - #[must_use] pub fn pesr_end_msk(&mut self) -> PESR_END_MSK_W { PESR_END_MSK_W::new(self, 6) } #[doc = "Bit 22 - 1: Read two bytes when check flash SUS/SUS1/SUS2 status bit. 0: Read one byte when check flash SUS/SUS1/SUS2 status bit"] #[inline(always)] - #[must_use] pub fn spi_fmem_rd_sus_2b(&mut self) -> SPI_FMEM_RD_SUS_2B_W { SPI_FMEM_RD_SUS_2B_W::new(self, 22) } #[doc = "Bit 23 - 1: Both WIP and SUS/SUS1/SUS2 bits should be checked to insure the resume status of flash. 0: Only need to check WIP is 0."] #[inline(always)] - #[must_use] pub fn per_end_en(&mut self) -> PER_END_EN_W { PER_END_EN_W::new(self, 23) } #[doc = "Bit 24 - 1: Both WIP and SUS/SUS1/SUS2 bits should be checked to insure the suspend status of flash. 0: Only need to check WIP is 0."] #[inline(always)] - #[must_use] pub fn pes_end_en(&mut self) -> PES_END_EN_W { PES_END_EN_W::new(self, 24) } #[doc = "Bits 25:31 - When SPI1 checks SUS/SUS1/SUS2 bits fail for SPI_MEM_SUS_TIMEOUT_CNT\\[6:0\\] times, it will be treated as check pass."] #[inline(always)] - #[must_use] pub fn sus_timeout_cnt(&mut self) -> SUS_TIMEOUT_CNT_W { SUS_TIMEOUT_CNT_W::new(self, 25) } diff --git a/esp32h2/src/spi1/flash_waiti_ctrl.rs b/esp32h2/src/spi1/flash_waiti_ctrl.rs index c5cf5f21e4..1b7e5ba333 100644 --- a/esp32h2/src/spi1/flash_waiti_ctrl.rs +++ b/esp32h2/src/spi1/flash_waiti_ctrl.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: The hardware will wait idle after SE/PP/WRSR automatically, and hardware auto Suspend/Resume can be enabled. 0: The functions of hardware wait idle and auto Suspend/Resume are not supported."] #[inline(always)] - #[must_use] pub fn waiti_en(&mut self) -> WAITI_EN_W { WAITI_EN_W::new(self, 0) } #[doc = "Bit 1 - The dummy phase enable when wait flash idle (RDSR)"] #[inline(always)] - #[must_use] pub fn waiti_dummy(&mut self) -> WAITI_DUMMY_W { WAITI_DUMMY_W::new(self, 1) } #[doc = "Bit 2 - 1: Output address 0 in RDSR or read SUS command transfer. 0: Do not send out address in RDSR or read SUS command transfer."] #[inline(always)] - #[must_use] pub fn waiti_addr_en(&mut self) -> WAITI_ADDR_EN_W { WAITI_ADDR_EN_W::new(self, 2) } #[doc = "Bits 3:4 - When SPI_MEM_WAITI_ADDR_EN is set, the cycle length of sent out address is (SPI_MEM_WAITI_ADDR_CYCLELEN\\[1:0\\] + 1) SPI bus clock cycles. It is not active when SPI_MEM_WAITI_ADDR_EN is cleared."] #[inline(always)] - #[must_use] pub fn waiti_addr_cyclelen(&mut self) -> WAITI_ADDR_CYCLELEN_W { WAITI_ADDR_CYCLELEN_W::new(self, 3) } #[doc = "Bit 9 - 1:The wait idle command bit length is 16. 0: The wait idle command bit length is 8."] #[inline(always)] - #[must_use] pub fn waiti_cmd_2b(&mut self) -> WAITI_CMD_2B_W { WAITI_CMD_2B_W::new(self, 9) } #[doc = "Bits 10:15 - The dummy cycle length when wait flash idle(RDSR)."] #[inline(always)] - #[must_use] pub fn waiti_dummy_cyclelen(&mut self) -> WAITI_DUMMY_CYCLELEN_W { WAITI_DUMMY_CYCLELEN_W::new(self, 10) } #[doc = "Bits 16:31 - The command value to wait flash idle(RDSR)."] #[inline(always)] - #[must_use] pub fn waiti_cmd(&mut self) -> WAITI_CMD_W { WAITI_CMD_W::new(self, 16) } diff --git a/esp32h2/src/spi1/int_clr.rs b/esp32h2/src/spi1/int_clr.rs index 6ead645df2..eba52d58b9 100644 --- a/esp32h2/src/spi1/int_clr.rs +++ b/esp32h2/src/spi1/int_clr.rs @@ -21,37 +21,31 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The clear bit for SPI_MEM_PER_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn per_end(&mut self) -> PER_END_W { PER_END_W::new(self, 0) } #[doc = "Bit 1 - The clear bit for SPI_MEM_PES_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn pes_end(&mut self) -> PES_END_W { PES_END_W::new(self, 1) } #[doc = "Bit 2 - The clear bit for SPI_MEM_WPE_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn wpe_end(&mut self) -> WPE_END_W { WPE_END_W::new(self, 2) } #[doc = "Bit 3 - The clear bit for SPI_MEM_SLV_ST_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_st_end(&mut self) -> SLV_ST_END_W { SLV_ST_END_W::new(self, 3) } #[doc = "Bit 4 - The clear bit for SPI_MEM_MST_ST_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_st_end(&mut self) -> MST_ST_END_W { MST_ST_END_W::new(self, 4) } #[doc = "Bit 10 - The status bit for SPI_MEM_BROWN_OUT_INT interrupt."] #[inline(always)] - #[must_use] pub fn brown_out(&mut self) -> BROWN_OUT_W { BROWN_OUT_W::new(self, 10) } diff --git a/esp32h2/src/spi1/int_ena.rs b/esp32h2/src/spi1/int_ena.rs index 5a8192140b..52895d72a7 100644 --- a/esp32h2/src/spi1/int_ena.rs +++ b/esp32h2/src/spi1/int_ena.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The enable bit for SPI_MEM_PER_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn per_end(&mut self) -> PER_END_W { PER_END_W::new(self, 0) } #[doc = "Bit 1 - The enable bit for SPI_MEM_PES_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn pes_end(&mut self) -> PES_END_W { PES_END_W::new(self, 1) } #[doc = "Bit 2 - The enable bit for SPI_MEM_WPE_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn wpe_end(&mut self) -> WPE_END_W { WPE_END_W::new(self, 2) } #[doc = "Bit 3 - The enable bit for SPI_MEM_SLV_ST_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_st_end(&mut self) -> SLV_ST_END_W { SLV_ST_END_W::new(self, 3) } #[doc = "Bit 4 - The enable bit for SPI_MEM_MST_ST_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_st_end(&mut self) -> MST_ST_END_W { MST_ST_END_W::new(self, 4) } #[doc = "Bit 10 - The enable bit for SPI_MEM_BROWN_OUT_INT interrupt."] #[inline(always)] - #[must_use] pub fn brown_out(&mut self) -> BROWN_OUT_W { BROWN_OUT_W::new(self, 10) } diff --git a/esp32h2/src/spi1/int_raw.rs b/esp32h2/src/spi1/int_raw.rs index 8cb118af69..5fe4c0f4e5 100644 --- a/esp32h2/src/spi1/int_raw.rs +++ b/esp32h2/src/spi1/int_raw.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw bit for SPI_MEM_PER_END_INT interrupt. 1: Triggered when Auto Resume command (0x7A) is sent and flash is resumed successfully. 0: Others."] #[inline(always)] - #[must_use] pub fn per_end(&mut self) -> PER_END_W { PER_END_W::new(self, 0) } #[doc = "Bit 1 - The raw bit for SPI_MEM_PES_END_INT interrupt.1: Triggered when Auto Suspend command (0x75) is sent and flash is suspended successfully. 0: Others."] #[inline(always)] - #[must_use] pub fn pes_end(&mut self) -> PES_END_W { PES_END_W::new(self, 1) } #[doc = "Bit 2 - The raw bit for SPI_MEM_WPE_END_INT interrupt. 1: Triggered when WRSR/PP/SE/BE/CE is sent and flash is already idle. 0: Others."] #[inline(always)] - #[must_use] pub fn wpe_end(&mut self) -> WPE_END_W { WPE_END_W::new(self, 2) } #[doc = "Bit 3 - The raw bit for SPI_MEM_SLV_ST_END_INT interrupt. 1: Triggered when spi1_slv_st is changed from non idle state to idle state. It means that SPI_CS raises high. 0: Others"] #[inline(always)] - #[must_use] pub fn slv_st_end(&mut self) -> SLV_ST_END_W { SLV_ST_END_W::new(self, 3) } #[doc = "Bit 4 - The raw bit for SPI_MEM_MST_ST_END_INT interrupt. 1: Triggered when spi1_mst_st is changed from non idle state to idle state. 0: Others."] #[inline(always)] - #[must_use] pub fn mst_st_end(&mut self) -> MST_ST_END_W { MST_ST_END_W::new(self, 4) } #[doc = "Bit 10 - The raw bit for SPI_MEM_BROWN_OUT_INT interrupt. 1: Triggered condition is that chip is loosing power and RTC module sends out brown out close flash request to SPI1. After SPI1 sends out suspend command to flash, this interrupt is triggered and MSPI returns to idle state. 0: Others."] #[inline(always)] - #[must_use] pub fn brown_out(&mut self) -> BROWN_OUT_W { BROWN_OUT_W::new(self, 10) } diff --git a/esp32h2/src/spi1/misc.rs b/esp32h2/src/spi1/misc.rs index b251d4f517..95a469646c 100644 --- a/esp32h2/src/spi1/misc.rs +++ b/esp32h2/src/spi1/misc.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - SPI_CS0 pin enable, 1: disable SPI_CS0, 0: SPI_CS0 pin is active to select SPI device, such as flash, external RAM and so on."] #[inline(always)] - #[must_use] pub fn cs0_dis(&mut self) -> CS0_DIS_W { CS0_DIS_W::new(self, 0) } #[doc = "Bit 1 - SPI_CS1 pin enable, 1: disable SPI_CS1, 0: SPI_CS1 pin is active to select SPI device, such as flash, external RAM and so on."] #[inline(always)] - #[must_use] pub fn cs1_dis(&mut self) -> CS1_DIS_W { CS1_DIS_W::new(self, 1) } #[doc = "Bit 9 - 1: spi clk line is high when idle 0: spi clk line is low when idle"] #[inline(always)] - #[must_use] pub fn ck_idle_edge(&mut self) -> CK_IDLE_EDGE_W { CK_IDLE_EDGE_W::new(self, 9) } #[doc = "Bit 10 - spi cs line keep low when the bit is set."] #[inline(always)] - #[must_use] pub fn cs_keep_active(&mut self) -> CS_KEEP_ACTIVE_W { CS_KEEP_ACTIVE_W::new(self, 10) } diff --git a/esp32h2/src/spi1/miso_dlen.rs b/esp32h2/src/spi1/miso_dlen.rs index 355ff7019c..deab962597 100644 --- a/esp32h2/src/spi1/miso_dlen.rs +++ b/esp32h2/src/spi1/miso_dlen.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - The length in bits of read-data. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn usr_miso_dbitlen(&mut self) -> USR_MISO_DBITLEN_W { USR_MISO_DBITLEN_W::new(self, 0) } diff --git a/esp32h2/src/spi1/mosi_dlen.rs b/esp32h2/src/spi1/mosi_dlen.rs index 4dfb555067..8f02670550 100644 --- a/esp32h2/src/spi1/mosi_dlen.rs +++ b/esp32h2/src/spi1/mosi_dlen.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - The length in bits of write-data. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn usr_mosi_dbitlen(&mut self) -> USR_MOSI_DBITLEN_W { USR_MOSI_DBITLEN_W::new(self, 0) } diff --git a/esp32h2/src/spi1/rd_status.rs b/esp32h2/src/spi1/rd_status.rs index 32a6a1cf90..c14fefc1ed 100644 --- a/esp32h2/src/spi1/rd_status.rs +++ b/esp32h2/src/spi1/rd_status.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The value is stored when set spi_mem_flash_rdsr bit and spi_mem_flash_res bit."] #[inline(always)] - #[must_use] pub fn status(&mut self) -> STATUS_W { STATUS_W::new(self, 0) } #[doc = "Bits 16:23 - Mode bits in the flash fast read mode it is combined with spi_mem_fastrd_mode bit."] #[inline(always)] - #[must_use] pub fn wb_mode(&mut self) -> WB_MODE_W { WB_MODE_W::new(self, 16) } diff --git a/esp32h2/src/spi1/sus_status.rs b/esp32h2/src/spi1/sus_status.rs index 0c3db2068b..8f2ed8c240 100644 --- a/esp32h2/src/spi1/sus_status.rs +++ b/esp32h2/src/spi1/sus_status.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The status of flash suspend, only used in SPI1."] #[inline(always)] - #[must_use] pub fn flash_sus(&mut self) -> FLASH_SUS_W { FLASH_SUS_W::new(self, 0) } #[doc = "Bit 1 - 1: SPI1 sends out SPI_MEM_WAIT_PESR_COMMAND\\[15:0\\] to check SUS/SUS1/SUS2 bit. 0: SPI1 sends out SPI_MEM_WAIT_PESR_COMMAND\\[7:0\\] to check SUS/SUS1/SUS2 bit."] #[inline(always)] - #[must_use] pub fn wait_pesr_cmd_2b(&mut self) -> WAIT_PESR_CMD_2B_W { WAIT_PESR_CMD_2B_W::new(self, 1) } #[doc = "Bit 2 - 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 128) SPI_CLK cycles after HPM command is sent. 0: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4) SPI_CLK cycles after HPM command is sent."] #[inline(always)] - #[must_use] pub fn flash_hpm_dly_128(&mut self) -> FLASH_HPM_DLY_128_W { FLASH_HPM_DLY_128_W::new(self, 2) } #[doc = "Bit 3 - 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 128) SPI_CLK cycles after RES command is sent. 0: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4) SPI_CLK cycles after RES command is sent."] #[inline(always)] - #[must_use] pub fn flash_res_dly_128(&mut self) -> FLASH_RES_DLY_128_W { FLASH_RES_DLY_128_W::new(self, 3) } #[doc = "Bit 4 - 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 128) SPI_CLK cycles after DP command is sent. 0: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4) SPI_CLK cycles after DP command is sent."] #[inline(always)] - #[must_use] pub fn flash_dp_dly_128(&mut self) -> FLASH_DP_DLY_128_W { FLASH_DP_DLY_128_W::new(self, 4) } #[doc = "Bit 5 - Valid when SPI_MEM_FLASH_PER_WAIT_EN is 1. 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 128) SPI_CLK cycles after PER command is sent. 0: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4) SPI_CLK cycles after PER command is sent."] #[inline(always)] - #[must_use] pub fn flash_per_dly_128(&mut self) -> FLASH_PER_DLY_128_W { FLASH_PER_DLY_128_W::new(self, 5) } #[doc = "Bit 6 - Valid when SPI_MEM_FLASH_PES_WAIT_EN is 1. 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 128) SPI_CLK cycles after PES command is sent. 0: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4) SPI_CLK cycles after PES command is sent."] #[inline(always)] - #[must_use] pub fn flash_pes_dly_128(&mut self) -> FLASH_PES_DLY_128_W { FLASH_PES_DLY_128_W::new(self, 6) } #[doc = "Bit 7 - 1: Enable SPI0 lock SPI0/1 arbiter option. 0: Disable it."] #[inline(always)] - #[must_use] pub fn spi0_lock_en(&mut self) -> SPI0_LOCK_EN_W { SPI0_LOCK_EN_W::new(self, 7) } #[doc = "Bit 15 - 1: The bit length of Program/Erase Suspend/Resume command is 16. 0: The bit length of Program/Erase Suspend/Resume command is 8."] #[inline(always)] - #[must_use] pub fn flash_pesr_cmd_2b(&mut self) -> FLASH_PESR_CMD_2B_W { FLASH_PESR_CMD_2B_W::new(self, 15) } #[doc = "Bits 16:31 - Program/Erase resume command."] #[inline(always)] - #[must_use] pub fn flash_per_command(&mut self) -> FLASH_PER_COMMAND_W { FLASH_PER_COMMAND_W::new(self, 16) } diff --git a/esp32h2/src/spi1/timing_cali.rs b/esp32h2/src/spi1/timing_cali.rs index 001dea3844..280631e3f2 100644 --- a/esp32h2/src/spi1/timing_cali.rs +++ b/esp32h2/src/spi1/timing_cali.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - The bit is used to enable timing auto-calibration for all reading operations."] #[inline(always)] - #[must_use] pub fn timing_cali(&mut self) -> TIMING_CALI_W { TIMING_CALI_W::new(self, 1) } #[doc = "Bits 2:4 - add extra dummy spi clock cycle length for spi clock calibration."] #[inline(always)] - #[must_use] pub fn extra_dummy_cyclelen(&mut self) -> EXTRA_DUMMY_CYCLELEN_W { EXTRA_DUMMY_CYCLELEN_W::new(self, 2) } diff --git a/esp32h2/src/spi1/user.rs b/esp32h2/src/spi1/user.rs index 1c419b2dc0..aea9d0794b 100644 --- a/esp32h2/src/spi1/user.rs +++ b/esp32h2/src/spi1/user.rs @@ -140,67 +140,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 9 - the bit combined with spi_mem_mosi_delay_mode bits to set mosi signal delay mode."] #[inline(always)] - #[must_use] pub fn ck_out_edge(&mut self) -> CK_OUT_EDGE_W { CK_OUT_EDGE_W::new(self, 9) } #[doc = "Bit 12 - In the write operations read-data phase apply 2 signals"] #[inline(always)] - #[must_use] pub fn fwrite_dual(&mut self) -> FWRITE_DUAL_W { FWRITE_DUAL_W::new(self, 12) } #[doc = "Bit 13 - In the write operations read-data phase apply 4 signals"] #[inline(always)] - #[must_use] pub fn fwrite_quad(&mut self) -> FWRITE_QUAD_W { FWRITE_QUAD_W::new(self, 13) } #[doc = "Bit 14 - In the write operations address phase and read-data phase apply 2 signals."] #[inline(always)] - #[must_use] pub fn fwrite_dio(&mut self) -> FWRITE_DIO_W { FWRITE_DIO_W::new(self, 14) } #[doc = "Bit 15 - In the write operations address phase and read-data phase apply 4 signals."] #[inline(always)] - #[must_use] pub fn fwrite_qio(&mut self) -> FWRITE_QIO_W { FWRITE_QIO_W::new(self, 15) } #[doc = "Bit 26 - SPI clock is disable in dummy phase when the bit is enable."] #[inline(always)] - #[must_use] pub fn usr_dummy_idle(&mut self) -> USR_DUMMY_IDLE_W { USR_DUMMY_IDLE_W::new(self, 26) } #[doc = "Bit 27 - This bit enable the write-data phase of an operation."] #[inline(always)] - #[must_use] pub fn usr_mosi(&mut self) -> USR_MOSI_W { USR_MOSI_W::new(self, 27) } #[doc = "Bit 28 - This bit enable the read-data phase of an operation."] #[inline(always)] - #[must_use] pub fn usr_miso(&mut self) -> USR_MISO_W { USR_MISO_W::new(self, 28) } #[doc = "Bit 29 - This bit enable the dummy phase of an operation."] #[inline(always)] - #[must_use] pub fn usr_dummy(&mut self) -> USR_DUMMY_W { USR_DUMMY_W::new(self, 29) } #[doc = "Bit 30 - This bit enable the address phase of an operation."] #[inline(always)] - #[must_use] pub fn usr_addr(&mut self) -> USR_ADDR_W { USR_ADDR_W::new(self, 30) } #[doc = "Bit 31 - This bit enable the command phase of an operation."] #[inline(always)] - #[must_use] pub fn usr_command(&mut self) -> USR_COMMAND_W { USR_COMMAND_W::new(self, 31) } diff --git a/esp32h2/src/spi1/user1.rs b/esp32h2/src/spi1/user1.rs index 02d28231aa..83cd75ed2a 100644 --- a/esp32h2/src/spi1/user1.rs +++ b/esp32h2/src/spi1/user1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - The length in spi_mem_clk cycles of dummy phase. The register value shall be (cycle_num-1)."] #[inline(always)] - #[must_use] pub fn usr_dummy_cyclelen(&mut self) -> USR_DUMMY_CYCLELEN_W { USR_DUMMY_CYCLELEN_W::new(self, 0) } #[doc = "Bits 26:31 - The length in bits of address phase. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn usr_addr_bitlen(&mut self) -> USR_ADDR_BITLEN_W { USR_ADDR_BITLEN_W::new(self, 26) } diff --git a/esp32h2/src/spi1/user2.rs b/esp32h2/src/spi1/user2.rs index 9fc36fcb3c..a3eb906fe6 100644 --- a/esp32h2/src/spi1/user2.rs +++ b/esp32h2/src/spi1/user2.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The value of command."] #[inline(always)] - #[must_use] pub fn usr_command_value(&mut self) -> USR_COMMAND_VALUE_W { USR_COMMAND_VALUE_W::new(self, 0) } #[doc = "Bits 28:31 - The length in bits of command phase. The register value shall be (bit_num-1)"] #[inline(always)] - #[must_use] pub fn usr_command_bitlen(&mut self) -> USR_COMMAND_BITLEN_W { USR_COMMAND_BITLEN_W::new(self, 28) } diff --git a/esp32h2/src/spi1/w.rs b/esp32h2/src/spi1/w.rs index 5b54f2c664..a1537b342a 100644 --- a/esp32h2/src/spi1/w.rs +++ b/esp32h2/src/spi1/w.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - data buffer"] #[inline(always)] - #[must_use] pub fn buf(&mut self) -> BUF_W { BUF_W::new(self, 0) } diff --git a/esp32h2/src/spi2/addr.rs b/esp32h2/src/spi2/addr.rs index 03ea07541d..acb1a7dfa7 100644 --- a/esp32h2/src/spi2/addr.rs +++ b/esp32h2/src/spi2/addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Address to slave. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_addr_value(&mut self) -> USR_ADDR_VALUE_W { USR_ADDR_VALUE_W::new(self, 0) } diff --git a/esp32h2/src/spi2/clk_gate.rs b/esp32h2/src/spi2/clk_gate.rs index 20f0adfc48..a8142d4385 100644 --- a/esp32h2/src/spi2/clk_gate.rs +++ b/esp32h2/src/spi2/clk_gate.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable clk gate"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to power on the SPI module clock."] #[inline(always)] - #[must_use] pub fn mst_clk_active(&mut self) -> MST_CLK_ACTIVE_W { MST_CLK_ACTIVE_W::new(self, 1) } #[doc = "Bit 2 - This bit is used to select SPI module clock source in master mode. 1: PLL_CLK_80M. 0: XTAL CLK."] #[inline(always)] - #[must_use] pub fn mst_clk_sel(&mut self) -> MST_CLK_SEL_W { MST_CLK_SEL_W::new(self, 2) } diff --git a/esp32h2/src/spi2/clock.rs b/esp32h2/src/spi2/clock.rs index 8b450b70fc..78e6f168df 100644 --- a/esp32h2/src/spi2/clock.rs +++ b/esp32h2/src/spi2/clock.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - In the master mode it must be equal to spi_clkcnt_N. In the slave mode it must be 0. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clkcnt_l(&mut self) -> CLKCNT_L_W { CLKCNT_L_W::new(self, 0) } #[doc = "Bits 6:11 - In the master mode it must be floor((spi_clkcnt_N+1)/2-1). In the slave mode it must be 0. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clkcnt_h(&mut self) -> CLKCNT_H_W { CLKCNT_H_W::new(self, 6) } #[doc = "Bits 12:17 - In the master mode it is the divider of spi_clk. So spi_clk frequency is system/(spi_clkdiv_pre+1)/(spi_clkcnt_N+1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clkcnt_n(&mut self) -> CLKCNT_N_W { CLKCNT_N_W::new(self, 12) } #[doc = "Bits 18:21 - In the master mode it is pre-divider of spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clkdiv_pre(&mut self) -> CLKDIV_PRE_W { CLKDIV_PRE_W::new(self, 18) } #[doc = "Bit 31 - In the master mode 1: spi_clk is eqaul to system 0: spi_clk is divided from system clock. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clk_equ_sysclk(&mut self) -> CLK_EQU_SYSCLK_W { CLK_EQU_SYSCLK_W::new(self, 31) } diff --git a/esp32h2/src/spi2/cmd.rs b/esp32h2/src/spi2/cmd.rs index 1ada226097..6946c7b016 100644 --- a/esp32h2/src/spi2/cmd.rs +++ b/esp32h2/src/spi2/cmd.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:17 - Define the APB cycles of SPI_CONF state. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn conf_bitlen(&mut self) -> CONF_BITLEN_W { CONF_BITLEN_W::new(self, 0) } #[doc = "Bit 23 - Set this bit to synchronize SPI registers from APB clock domain into SPI module clock domain, which is only used in SPI master mode."] #[inline(always)] - #[must_use] pub fn update(&mut self) -> UPDATE_W { UPDATE_W::new(self, 23) } #[doc = "Bit 24 - User define command enable. An operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable. Can not be changed by CONF_buf."] #[inline(always)] - #[must_use] pub fn usr(&mut self) -> USR_W { USR_W::new(self, 24) } diff --git a/esp32h2/src/spi2/ctrl.rs b/esp32h2/src/spi2/ctrl.rs index 0e3978da15..ae5fb125ef 100644 --- a/esp32h2/src/spi2/ctrl.rs +++ b/esp32h2/src/spi2/ctrl.rs @@ -168,79 +168,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - 0: In the dummy phase, the FSPI bus signals are not output. 1: In the dummy phase, the FSPI bus signals are output. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dummy_out(&mut self) -> DUMMY_OUT_W { DUMMY_OUT_W::new(self, 3) } #[doc = "Bit 5 - Apply 2 signals during addr phase 1:enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn faddr_dual(&mut self) -> FADDR_DUAL_W { FADDR_DUAL_W::new(self, 5) } #[doc = "Bit 6 - Apply 4 signals during addr phase 1:enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn faddr_quad(&mut self) -> FADDR_QUAD_W { FADDR_QUAD_W::new(self, 6) } #[doc = "Bit 8 - Apply 2 signals during command phase 1:enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fcmd_dual(&mut self) -> FCMD_DUAL_W { FCMD_DUAL_W::new(self, 8) } #[doc = "Bit 9 - Apply 4 signals during command phase 1:enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fcmd_quad(&mut self) -> FCMD_QUAD_W { FCMD_QUAD_W::new(self, 9) } #[doc = "Bit 14 - In the read operations, read-data phase apply 2 signals. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fread_dual(&mut self) -> FREAD_DUAL_W { FREAD_DUAL_W::new(self, 14) } #[doc = "Bit 15 - In the read operations read-data phase apply 4 signals. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fread_quad(&mut self) -> FREAD_QUAD_W { FREAD_QUAD_W::new(self, 15) } #[doc = "Bit 18 - The bit is used to set MISO line polarity, 1: high 0, low. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn q_pol(&mut self) -> Q_POL_W { Q_POL_W::new(self, 18) } #[doc = "Bit 19 - The bit is used to set MOSI line polarity, 1: high 0, low. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn d_pol(&mut self) -> D_POL_W { D_POL_W::new(self, 19) } #[doc = "Bit 20 - SPI_HOLD output value when SPI is idle. 1: output high, 0: output low. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn hold_pol(&mut self) -> HOLD_POL_W { HOLD_POL_W::new(self, 20) } #[doc = "Bit 21 - Write protect signal output when SPI is idle. 1: output high, 0: output low. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn wp_pol(&mut self) -> WP_POL_W { WP_POL_W::new(self, 21) } #[doc = "Bits 23:24 - In read-data (MISO) phase 1: LSB first 0: MSB first. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn rd_bit_order(&mut self) -> RD_BIT_ORDER_W { RD_BIT_ORDER_W::new(self, 23) } #[doc = "Bits 25:26 - In command address write-data (MOSI) phases 1: LSB firs 0: MSB first. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn wr_bit_order(&mut self) -> WR_BIT_ORDER_W { WR_BIT_ORDER_W::new(self, 25) } diff --git a/esp32h2/src/spi2/date.rs b/esp32h2/src/spi2/date.rs index cc24508707..52a9f8d479 100644 --- a/esp32h2/src/spi2/date.rs +++ b/esp32h2/src/spi2/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - SPI register version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32h2/src/spi2/din_mode.rs b/esp32h2/src/spi2/din_mode.rs index 0394c64e9d..7f06118712 100644 --- a/esp32h2/src/spi2/din_mode.rs +++ b/esp32h2/src/spi2/din_mode.rs @@ -96,31 +96,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din0_mode(&mut self) -> DIN0_MODE_W { DIN0_MODE_W::new(self, 0) } #[doc = "Bits 2:3 - the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din1_mode(&mut self) -> DIN1_MODE_W { DIN1_MODE_W::new(self, 2) } #[doc = "Bits 4:5 - the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din2_mode(&mut self) -> DIN2_MODE_W { DIN2_MODE_W::new(self, 4) } #[doc = "Bits 6:7 - the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din3_mode(&mut self) -> DIN3_MODE_W { DIN3_MODE_W::new(self, 6) } #[doc = "Bit 16 - 1:enable hclk in SPI input timing module. 0: disable it. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn timing_hclk_active(&mut self) -> TIMING_HCLK_ACTIVE_W { TIMING_HCLK_ACTIVE_W::new(self, 16) } diff --git a/esp32h2/src/spi2/din_num.rs b/esp32h2/src/spi2/din_num.rs index 7681a210ee..bf9fc8bfb1 100644 --- a/esp32h2/src/spi2/din_num.rs +++ b/esp32h2/src/spi2/din_num.rs @@ -86,25 +86,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din0_num(&mut self) -> DIN0_NUM_W { DIN0_NUM_W::new(self, 0) } #[doc = "Bits 2:3 - the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din1_num(&mut self) -> DIN1_NUM_W { DIN1_NUM_W::new(self, 2) } #[doc = "Bits 4:5 - the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din2_num(&mut self) -> DIN2_NUM_W { DIN2_NUM_W::new(self, 4) } #[doc = "Bits 6:7 - the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din3_num(&mut self) -> DIN3_NUM_W { DIN3_NUM_W::new(self, 6) } diff --git a/esp32h2/src/spi2/dma_conf.rs b/esp32h2/src/spi2/dma_conf.rs index 83e8fa3de1..29de1d9bb0 100644 --- a/esp32h2/src/spi2/dma_conf.rs +++ b/esp32h2/src/spi2/dma_conf.rs @@ -96,55 +96,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 18 - Enable dma segment transfer in spi dma half slave mode. 1: enable. 0: disable."] #[inline(always)] - #[must_use] pub fn dma_slv_seg_trans_en(&mut self) -> DMA_SLV_SEG_TRANS_EN_W { DMA_SLV_SEG_TRANS_EN_W::new(self, 18) } #[doc = "Bit 19 - 1: spi_dma_infifo_full_vld is cleared by spi slave cmd 5. 0: spi_dma_infifo_full_vld is cleared by spi_trans_done."] #[inline(always)] - #[must_use] pub fn slv_rx_seg_trans_clr_en(&mut self) -> SLV_RX_SEG_TRANS_CLR_EN_W { SLV_RX_SEG_TRANS_CLR_EN_W::new(self, 19) } #[doc = "Bit 20 - 1: spi_dma_outfifo_empty_vld is cleared by spi slave cmd 6. 0: spi_dma_outfifo_empty_vld is cleared by spi_trans_done."] #[inline(always)] - #[must_use] pub fn slv_tx_seg_trans_clr_en(&mut self) -> SLV_TX_SEG_TRANS_CLR_EN_W { SLV_TX_SEG_TRANS_CLR_EN_W::new(self, 20) } #[doc = "Bit 21 - 1: spi_dma_inlink_eof is set when the number of dma pushed data bytes is equal to the value of spi_slv/mst_dma_rd_bytelen\\[19:0\\] in spi dma transition. 0: spi_dma_inlink_eof is set by spi_trans_done in non-seg-trans or spi_dma_seg_trans_done in seg-trans."] #[inline(always)] - #[must_use] pub fn rx_eof_en(&mut self) -> RX_EOF_EN_W { RX_EOF_EN_W::new(self, 21) } #[doc = "Bit 27 - Set this bit to enable SPI DMA controlled receive data mode."] #[inline(always)] - #[must_use] pub fn dma_rx_ena(&mut self) -> DMA_RX_ENA_W { DMA_RX_ENA_W::new(self, 27) } #[doc = "Bit 28 - Set this bit to enable SPI DMA controlled send data mode."] #[inline(always)] - #[must_use] pub fn dma_tx_ena(&mut self) -> DMA_TX_ENA_W { DMA_TX_ENA_W::new(self, 28) } #[doc = "Bit 29 - Set this bit to reset RX AFIFO, which is used to receive data in SPI master and slave mode transfer."] #[inline(always)] - #[must_use] pub fn rx_afifo_rst(&mut self) -> RX_AFIFO_RST_W { RX_AFIFO_RST_W::new(self, 29) } #[doc = "Bit 30 - Set this bit to reset BUF TX AFIFO, which is used send data out in SPI slave CPU controlled mode transfer and master mode transfer."] #[inline(always)] - #[must_use] pub fn buf_afifo_rst(&mut self) -> BUF_AFIFO_RST_W { BUF_AFIFO_RST_W::new(self, 30) } #[doc = "Bit 31 - Set this bit to reset DMA TX AFIFO, which is used to send data out in SPI slave DMA controlled mode transfer."] #[inline(always)] - #[must_use] pub fn dma_afifo_rst(&mut self) -> DMA_AFIFO_RST_W { DMA_AFIFO_RST_W::new(self, 31) } diff --git a/esp32h2/src/spi2/dma_int_clr.rs b/esp32h2/src/spi2/dma_int_clr.rs index f313dfe4f1..5de2402ddc 100644 --- a/esp32h2/src/spi2/dma_int_clr.rs +++ b/esp32h2/src/spi2/dma_int_clr.rs @@ -51,127 +51,106 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The clear bit for SPI_DMA_INFIFO_FULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_infifo_full_err(&mut self) -> DMA_INFIFO_FULL_ERR_W { DMA_INFIFO_FULL_ERR_W::new(self, 0) } #[doc = "Bit 1 - The clear bit for SPI_DMA_OUTFIFO_EMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_outfifo_empty_err(&mut self) -> DMA_OUTFIFO_EMPTY_ERR_W { DMA_OUTFIFO_EMPTY_ERR_W::new(self, 1) } #[doc = "Bit 2 - The clear bit for SPI slave Ex_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_ex_qpi(&mut self) -> SLV_EX_QPI_W { SLV_EX_QPI_W::new(self, 2) } #[doc = "Bit 3 - The clear bit for SPI slave En_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_en_qpi(&mut self) -> SLV_EN_QPI_W { SLV_EN_QPI_W::new(self, 3) } #[doc = "Bit 4 - The clear bit for SPI slave CMD7 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd7(&mut self) -> SLV_CMD7_W { SLV_CMD7_W::new(self, 4) } #[doc = "Bit 5 - The clear bit for SPI slave CMD8 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd8(&mut self) -> SLV_CMD8_W { SLV_CMD8_W::new(self, 5) } #[doc = "Bit 6 - The clear bit for SPI slave CMD9 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd9(&mut self) -> SLV_CMD9_W { SLV_CMD9_W::new(self, 6) } #[doc = "Bit 7 - The clear bit for SPI slave CMDA interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmda(&mut self) -> SLV_CMDA_W { SLV_CMDA_W::new(self, 7) } #[doc = "Bit 8 - The clear bit for SPI_SLV_RD_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_dma_done(&mut self) -> SLV_RD_DMA_DONE_W { SLV_RD_DMA_DONE_W::new(self, 8) } #[doc = "Bit 9 - The clear bit for SPI_SLV_WR_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_dma_done(&mut self) -> SLV_WR_DMA_DONE_W { SLV_WR_DMA_DONE_W::new(self, 9) } #[doc = "Bit 10 - The clear bit for SPI_SLV_RD_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_buf_done(&mut self) -> SLV_RD_BUF_DONE_W { SLV_RD_BUF_DONE_W::new(self, 10) } #[doc = "Bit 11 - The clear bit for SPI_SLV_WR_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_buf_done(&mut self) -> SLV_WR_BUF_DONE_W { SLV_WR_BUF_DONE_W::new(self, 11) } #[doc = "Bit 12 - The clear bit for SPI_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_done(&mut self) -> TRANS_DONE_W { TRANS_DONE_W::new(self, 12) } #[doc = "Bit 13 - The clear bit for SPI_DMA_SEG_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_seg_trans_done(&mut self) -> DMA_SEG_TRANS_DONE_W { DMA_SEG_TRANS_DONE_W::new(self, 13) } #[doc = "Bit 14 - The clear bit for SPI_SEG_MAGIC_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn seg_magic_err(&mut self) -> SEG_MAGIC_ERR_W { SEG_MAGIC_ERR_W::new(self, 14) } #[doc = "Bit 15 - The clear bit for SPI_SLV_BUF_ADDR_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_buf_addr_err(&mut self) -> SLV_BUF_ADDR_ERR_W { SLV_BUF_ADDR_ERR_W::new(self, 15) } #[doc = "Bit 16 - The clear bit for SPI_SLV_CMD_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd_err(&mut self) -> SLV_CMD_ERR_W { SLV_CMD_ERR_W::new(self, 16) } #[doc = "Bit 17 - The clear bit for SPI_MST_RX_AFIFO_WFULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_rx_afifo_wfull_err(&mut self) -> MST_RX_AFIFO_WFULL_ERR_W { MST_RX_AFIFO_WFULL_ERR_W::new(self, 17) } #[doc = "Bit 18 - The clear bit for SPI_MST_TX_AFIFO_REMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_tx_afifo_rempty_err(&mut self) -> MST_TX_AFIFO_REMPTY_ERR_W { MST_TX_AFIFO_REMPTY_ERR_W::new(self, 18) } #[doc = "Bit 19 - The clear bit for SPI_APP2_INT interrupt."] #[inline(always)] - #[must_use] pub fn app2(&mut self) -> APP2_W { APP2_W::new(self, 19) } #[doc = "Bit 20 - The clear bit for SPI_APP1_INT interrupt."] #[inline(always)] - #[must_use] pub fn app1(&mut self) -> APP1_W { APP1_W::new(self, 20) } diff --git a/esp32h2/src/spi2/dma_int_ena.rs b/esp32h2/src/spi2/dma_int_ena.rs index 05ed98c335..f90d704190 100644 --- a/esp32h2/src/spi2/dma_int_ena.rs +++ b/esp32h2/src/spi2/dma_int_ena.rs @@ -224,127 +224,106 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The enable bit for SPI_DMA_INFIFO_FULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_infifo_full_err(&mut self) -> DMA_INFIFO_FULL_ERR_W { DMA_INFIFO_FULL_ERR_W::new(self, 0) } #[doc = "Bit 1 - The enable bit for SPI_DMA_OUTFIFO_EMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_outfifo_empty_err(&mut self) -> DMA_OUTFIFO_EMPTY_ERR_W { DMA_OUTFIFO_EMPTY_ERR_W::new(self, 1) } #[doc = "Bit 2 - The enable bit for SPI slave Ex_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_ex_qpi(&mut self) -> SLV_EX_QPI_W { SLV_EX_QPI_W::new(self, 2) } #[doc = "Bit 3 - The enable bit for SPI slave En_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_en_qpi(&mut self) -> SLV_EN_QPI_W { SLV_EN_QPI_W::new(self, 3) } #[doc = "Bit 4 - The enable bit for SPI slave CMD7 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd7(&mut self) -> SLV_CMD7_W { SLV_CMD7_W::new(self, 4) } #[doc = "Bit 5 - The enable bit for SPI slave CMD8 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd8(&mut self) -> SLV_CMD8_W { SLV_CMD8_W::new(self, 5) } #[doc = "Bit 6 - The enable bit for SPI slave CMD9 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd9(&mut self) -> SLV_CMD9_W { SLV_CMD9_W::new(self, 6) } #[doc = "Bit 7 - The enable bit for SPI slave CMDA interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmda(&mut self) -> SLV_CMDA_W { SLV_CMDA_W::new(self, 7) } #[doc = "Bit 8 - The enable bit for SPI_SLV_RD_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_dma_done(&mut self) -> SLV_RD_DMA_DONE_W { SLV_RD_DMA_DONE_W::new(self, 8) } #[doc = "Bit 9 - The enable bit for SPI_SLV_WR_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_dma_done(&mut self) -> SLV_WR_DMA_DONE_W { SLV_WR_DMA_DONE_W::new(self, 9) } #[doc = "Bit 10 - The enable bit for SPI_SLV_RD_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_buf_done(&mut self) -> SLV_RD_BUF_DONE_W { SLV_RD_BUF_DONE_W::new(self, 10) } #[doc = "Bit 11 - The enable bit for SPI_SLV_WR_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_buf_done(&mut self) -> SLV_WR_BUF_DONE_W { SLV_WR_BUF_DONE_W::new(self, 11) } #[doc = "Bit 12 - The enable bit for SPI_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_done(&mut self) -> TRANS_DONE_W { TRANS_DONE_W::new(self, 12) } #[doc = "Bit 13 - The enable bit for SPI_DMA_SEG_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_seg_trans_done(&mut self) -> DMA_SEG_TRANS_DONE_W { DMA_SEG_TRANS_DONE_W::new(self, 13) } #[doc = "Bit 14 - The enable bit for SPI_SEG_MAGIC_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn seg_magic_err(&mut self) -> SEG_MAGIC_ERR_W { SEG_MAGIC_ERR_W::new(self, 14) } #[doc = "Bit 15 - The enable bit for SPI_SLV_BUF_ADDR_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_buf_addr_err(&mut self) -> SLV_BUF_ADDR_ERR_W { SLV_BUF_ADDR_ERR_W::new(self, 15) } #[doc = "Bit 16 - The enable bit for SPI_SLV_CMD_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd_err(&mut self) -> SLV_CMD_ERR_W { SLV_CMD_ERR_W::new(self, 16) } #[doc = "Bit 17 - The enable bit for SPI_MST_RX_AFIFO_WFULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_rx_afifo_wfull_err(&mut self) -> MST_RX_AFIFO_WFULL_ERR_W { MST_RX_AFIFO_WFULL_ERR_W::new(self, 17) } #[doc = "Bit 18 - The enable bit for SPI_MST_TX_AFIFO_REMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_tx_afifo_rempty_err(&mut self) -> MST_TX_AFIFO_REMPTY_ERR_W { MST_TX_AFIFO_REMPTY_ERR_W::new(self, 18) } #[doc = "Bit 19 - The enable bit for SPI_APP2_INT interrupt."] #[inline(always)] - #[must_use] pub fn app2(&mut self) -> APP2_W { APP2_W::new(self, 19) } #[doc = "Bit 20 - The enable bit for SPI_APP1_INT interrupt."] #[inline(always)] - #[must_use] pub fn app1(&mut self) -> APP1_W { APP1_W::new(self, 20) } diff --git a/esp32h2/src/spi2/dma_int_raw.rs b/esp32h2/src/spi2/dma_int_raw.rs index 36e00d4a8f..5ad114f0ce 100644 --- a/esp32h2/src/spi2/dma_int_raw.rs +++ b/esp32h2/src/spi2/dma_int_raw.rs @@ -224,127 +224,106 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: The current data rate of DMA Rx is smaller than that of SPI, which will lose the receive data. 0: Others."] #[inline(always)] - #[must_use] pub fn dma_infifo_full_err(&mut self) -> DMA_INFIFO_FULL_ERR_W { DMA_INFIFO_FULL_ERR_W::new(self, 0) } #[doc = "Bit 1 - 1: The current data rate of DMA TX is smaller than that of SPI. SPI will stop in master mode and send out all 0 in slave mode. 0: Others."] #[inline(always)] - #[must_use] pub fn dma_outfifo_empty_err(&mut self) -> DMA_OUTFIFO_EMPTY_ERR_W { DMA_OUTFIFO_EMPTY_ERR_W::new(self, 1) } #[doc = "Bit 2 - The raw bit for SPI slave Ex_QPI interrupt. 1: SPI slave mode Ex_QPI transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_ex_qpi(&mut self) -> SLV_EX_QPI_W { SLV_EX_QPI_W::new(self, 2) } #[doc = "Bit 3 - The raw bit for SPI slave En_QPI interrupt. 1: SPI slave mode En_QPI transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_en_qpi(&mut self) -> SLV_EN_QPI_W { SLV_EN_QPI_W::new(self, 3) } #[doc = "Bit 4 - The raw bit for SPI slave CMD7 interrupt. 1: SPI slave mode CMD7 transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_cmd7(&mut self) -> SLV_CMD7_W { SLV_CMD7_W::new(self, 4) } #[doc = "Bit 5 - The raw bit for SPI slave CMD8 interrupt. 1: SPI slave mode CMD8 transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_cmd8(&mut self) -> SLV_CMD8_W { SLV_CMD8_W::new(self, 5) } #[doc = "Bit 6 - The raw bit for SPI slave CMD9 interrupt. 1: SPI slave mode CMD9 transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_cmd9(&mut self) -> SLV_CMD9_W { SLV_CMD9_W::new(self, 6) } #[doc = "Bit 7 - The raw bit for SPI slave CMDA interrupt. 1: SPI slave mode CMDA transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_cmda(&mut self) -> SLV_CMDA_W { SLV_CMDA_W::new(self, 7) } #[doc = "Bit 8 - The raw bit for SPI_SLV_RD_DMA_DONE_INT interrupt. 1: SPI slave mode Rd_DMA transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_rd_dma_done(&mut self) -> SLV_RD_DMA_DONE_W { SLV_RD_DMA_DONE_W::new(self, 8) } #[doc = "Bit 9 - The raw bit for SPI_SLV_WR_DMA_DONE_INT interrupt. 1: SPI slave mode Wr_DMA transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_wr_dma_done(&mut self) -> SLV_WR_DMA_DONE_W { SLV_WR_DMA_DONE_W::new(self, 9) } #[doc = "Bit 10 - The raw bit for SPI_SLV_RD_BUF_DONE_INT interrupt. 1: SPI slave mode Rd_BUF transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_rd_buf_done(&mut self) -> SLV_RD_BUF_DONE_W { SLV_RD_BUF_DONE_W::new(self, 10) } #[doc = "Bit 11 - The raw bit for SPI_SLV_WR_BUF_DONE_INT interrupt. 1: SPI slave mode Wr_BUF transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_wr_buf_done(&mut self) -> SLV_WR_BUF_DONE_W { SLV_WR_BUF_DONE_W::new(self, 11) } #[doc = "Bit 12 - The raw bit for SPI_TRANS_DONE_INT interrupt. 1: SPI master mode transmission is ended. 0: others."] #[inline(always)] - #[must_use] pub fn trans_done(&mut self) -> TRANS_DONE_W { TRANS_DONE_W::new(self, 12) } #[doc = "Bit 13 - The raw bit for SPI_DMA_SEG_TRANS_DONE_INT interrupt. 1: spi master DMA full-duplex/half-duplex seg-conf-trans ends or slave half-duplex seg-trans ends. And data has been pushed to corresponding memory. 0: seg-conf-trans or seg-trans is not ended or not occurred."] #[inline(always)] - #[must_use] pub fn dma_seg_trans_done(&mut self) -> DMA_SEG_TRANS_DONE_W { DMA_SEG_TRANS_DONE_W::new(self, 13) } #[doc = "Bit 14 - The raw bit for SPI_SEG_MAGIC_ERR_INT interrupt. 1: The magic value in CONF buffer is error in the DMA seg-conf-trans. 0: others."] #[inline(always)] - #[must_use] pub fn seg_magic_err(&mut self) -> SEG_MAGIC_ERR_W { SEG_MAGIC_ERR_W::new(self, 14) } #[doc = "Bit 15 - The raw bit for SPI_SLV_BUF_ADDR_ERR_INT interrupt. 1: The accessing data address of the current SPI slave mode CPU controlled FD, Wr_BUF or Rd_BUF transmission is bigger than 63. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_buf_addr_err(&mut self) -> SLV_BUF_ADDR_ERR_W { SLV_BUF_ADDR_ERR_W::new(self, 15) } #[doc = "Bit 16 - The raw bit for SPI_SLV_CMD_ERR_INT interrupt. 1: The slave command value in the current SPI slave HD mode transmission is not supported. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_cmd_err(&mut self) -> SLV_CMD_ERR_W { SLV_CMD_ERR_W::new(self, 16) } #[doc = "Bit 17 - The raw bit for SPI_MST_RX_AFIFO_WFULL_ERR_INT interrupt. 1: There is a RX AFIFO write-full error when SPI inputs data in master mode. 0: Others."] #[inline(always)] - #[must_use] pub fn mst_rx_afifo_wfull_err(&mut self) -> MST_RX_AFIFO_WFULL_ERR_W { MST_RX_AFIFO_WFULL_ERR_W::new(self, 17) } #[doc = "Bit 18 - The raw bit for SPI_MST_TX_AFIFO_REMPTY_ERR_INT interrupt. 1: There is a TX BUF AFIFO read-empty error when SPI outputs data in master mode. 0: Others."] #[inline(always)] - #[must_use] pub fn mst_tx_afifo_rempty_err(&mut self) -> MST_TX_AFIFO_REMPTY_ERR_W { MST_TX_AFIFO_REMPTY_ERR_W::new(self, 18) } #[doc = "Bit 19 - The raw bit for SPI_APP2_INT interrupt. The value is only controlled by software."] #[inline(always)] - #[must_use] pub fn app2(&mut self) -> APP2_W { APP2_W::new(self, 19) } #[doc = "Bit 20 - The raw bit for SPI_APP1_INT interrupt. The value is only controlled by software."] #[inline(always)] - #[must_use] pub fn app1(&mut self) -> APP1_W { APP1_W::new(self, 20) } diff --git a/esp32h2/src/spi2/dma_int_set.rs b/esp32h2/src/spi2/dma_int_set.rs index 3da095f20a..aa2d02d1e4 100644 --- a/esp32h2/src/spi2/dma_int_set.rs +++ b/esp32h2/src/spi2/dma_int_set.rs @@ -51,7 +51,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The software set bit for SPI_DMA_INFIFO_FULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_infifo_full_err_int_set( &mut self, ) -> DMA_INFIFO_FULL_ERR_INT_SET_W { @@ -59,7 +58,6 @@ impl W { } #[doc = "Bit 1 - The software set bit for SPI_DMA_OUTFIFO_EMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_outfifo_empty_err_int_set( &mut self, ) -> DMA_OUTFIFO_EMPTY_ERR_INT_SET_W { @@ -67,97 +65,81 @@ impl W { } #[doc = "Bit 2 - The software set bit for SPI slave Ex_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_ex_qpi_int_set(&mut self) -> SLV_EX_QPI_INT_SET_W { SLV_EX_QPI_INT_SET_W::new(self, 2) } #[doc = "Bit 3 - The software set bit for SPI slave En_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_en_qpi_int_set(&mut self) -> SLV_EN_QPI_INT_SET_W { SLV_EN_QPI_INT_SET_W::new(self, 3) } #[doc = "Bit 4 - The software set bit for SPI slave CMD7 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd7_int_set(&mut self) -> SLV_CMD7_INT_SET_W { SLV_CMD7_INT_SET_W::new(self, 4) } #[doc = "Bit 5 - The software set bit for SPI slave CMD8 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd8_int_set(&mut self) -> SLV_CMD8_INT_SET_W { SLV_CMD8_INT_SET_W::new(self, 5) } #[doc = "Bit 6 - The software set bit for SPI slave CMD9 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd9_int_set(&mut self) -> SLV_CMD9_INT_SET_W { SLV_CMD9_INT_SET_W::new(self, 6) } #[doc = "Bit 7 - The software set bit for SPI slave CMDA interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmda_int_set(&mut self) -> SLV_CMDA_INT_SET_W { SLV_CMDA_INT_SET_W::new(self, 7) } #[doc = "Bit 8 - The software set bit for SPI_SLV_RD_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_dma_done_int_set(&mut self) -> SLV_RD_DMA_DONE_INT_SET_W { SLV_RD_DMA_DONE_INT_SET_W::new(self, 8) } #[doc = "Bit 9 - The software set bit for SPI_SLV_WR_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_dma_done_int_set(&mut self) -> SLV_WR_DMA_DONE_INT_SET_W { SLV_WR_DMA_DONE_INT_SET_W::new(self, 9) } #[doc = "Bit 10 - The software set bit for SPI_SLV_RD_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_buf_done_int_set(&mut self) -> SLV_RD_BUF_DONE_INT_SET_W { SLV_RD_BUF_DONE_INT_SET_W::new(self, 10) } #[doc = "Bit 11 - The software set bit for SPI_SLV_WR_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_buf_done_int_set(&mut self) -> SLV_WR_BUF_DONE_INT_SET_W { SLV_WR_BUF_DONE_INT_SET_W::new(self, 11) } #[doc = "Bit 12 - The software set bit for SPI_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_done_int_set(&mut self) -> TRANS_DONE_INT_SET_W { TRANS_DONE_INT_SET_W::new(self, 12) } #[doc = "Bit 13 - The software set bit for SPI_DMA_SEG_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_seg_trans_done_int_set(&mut self) -> DMA_SEG_TRANS_DONE_INT_SET_W { DMA_SEG_TRANS_DONE_INT_SET_W::new(self, 13) } #[doc = "Bit 14 - The software set bit for SPI_SEG_MAGIC_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn seg_magic_err_int_set(&mut self) -> SEG_MAGIC_ERR_INT_SET_W { SEG_MAGIC_ERR_INT_SET_W::new(self, 14) } #[doc = "Bit 15 - The software set bit for SPI_SLV_BUF_ADDR_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_buf_addr_err_int_set(&mut self) -> SLV_BUF_ADDR_ERR_INT_SET_W { SLV_BUF_ADDR_ERR_INT_SET_W::new(self, 15) } #[doc = "Bit 16 - The software set bit for SPI_SLV_CMD_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd_err_int_set(&mut self) -> SLV_CMD_ERR_INT_SET_W { SLV_CMD_ERR_INT_SET_W::new(self, 16) } #[doc = "Bit 17 - The software set bit for SPI_MST_RX_AFIFO_WFULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_rx_afifo_wfull_err_int_set( &mut self, ) -> MST_RX_AFIFO_WFULL_ERR_INT_SET_W { @@ -165,7 +147,6 @@ impl W { } #[doc = "Bit 18 - The software set bit for SPI_MST_TX_AFIFO_REMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_tx_afifo_rempty_err_int_set( &mut self, ) -> MST_TX_AFIFO_REMPTY_ERR_INT_SET_W { @@ -173,13 +154,11 @@ impl W { } #[doc = "Bit 19 - The software set bit for SPI_APP2_INT interrupt."] #[inline(always)] - #[must_use] pub fn app2_int_set(&mut self) -> APP2_INT_SET_W { APP2_INT_SET_W::new(self, 19) } #[doc = "Bit 20 - The software set bit for SPI_APP1_INT interrupt."] #[inline(always)] - #[must_use] pub fn app1_int_set(&mut self) -> APP1_INT_SET_W { APP1_INT_SET_W::new(self, 20) } diff --git a/esp32h2/src/spi2/dout_mode.rs b/esp32h2/src/spi2/dout_mode.rs index 2e63d5801e..f3060c3137 100644 --- a/esp32h2/src/spi2/dout_mode.rs +++ b/esp32h2/src/spi2/dout_mode.rs @@ -94,25 +94,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The output signal 0 is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout0_mode(&mut self) -> DOUT0_MODE_W { DOUT0_MODE_W::new(self, 0) } #[doc = "Bit 1 - The output signal 1 is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout1_mode(&mut self) -> DOUT1_MODE_W { DOUT1_MODE_W::new(self, 1) } #[doc = "Bit 2 - The output signal 2 is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout2_mode(&mut self) -> DOUT2_MODE_W { DOUT2_MODE_W::new(self, 2) } #[doc = "Bit 3 - The output signal 3 is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout3_mode(&mut self) -> DOUT3_MODE_W { DOUT3_MODE_W::new(self, 3) } diff --git a/esp32h2/src/spi2/misc.rs b/esp32h2/src/spi2/misc.rs index 992a699e3e..624f0678ea 100644 --- a/esp32h2/src/spi2/misc.rs +++ b/esp32h2/src/spi2/misc.rs @@ -174,73 +174,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - SPI CS0 pin enable, 1: disable CS0, 0: spi_cs0 signal is from/to CS0 pin. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs0_dis(&mut self) -> CS0_DIS_W { CS0_DIS_W::new(self, 0) } #[doc = "Bit 1 - SPI CS1 pin enable, 1: disable CS1, 0: spi_cs1 signal is from/to CS1 pin. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs1_dis(&mut self) -> CS1_DIS_W { CS1_DIS_W::new(self, 1) } #[doc = "Bit 2 - SPI CS2 pin enable, 1: disable CS2, 0: spi_cs2 signal is from/to CS2 pin. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs2_dis(&mut self) -> CS2_DIS_W { CS2_DIS_W::new(self, 2) } #[doc = "Bit 3 - SPI CS3 pin enable, 1: disable CS3, 0: spi_cs3 signal is from/to CS3 pin. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs3_dis(&mut self) -> CS3_DIS_W { CS3_DIS_W::new(self, 3) } #[doc = "Bit 4 - SPI CS4 pin enable, 1: disable CS4, 0: spi_cs4 signal is from/to CS4 pin. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs4_dis(&mut self) -> CS4_DIS_W { CS4_DIS_W::new(self, 4) } #[doc = "Bit 5 - SPI CS5 pin enable, 1: disable CS5, 0: spi_cs5 signal is from/to CS5 pin. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs5_dis(&mut self) -> CS5_DIS_W { CS5_DIS_W::new(self, 5) } #[doc = "Bit 6 - 1: spi clk out disable, 0: spi clk out enable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn ck_dis(&mut self) -> CK_DIS_W { CK_DIS_W::new(self, 6) } #[doc = "Bits 7:12 - In the master mode the bits are the polarity of spi cs line, the value is equivalent to spi_cs ^ spi_master_cs_pol. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn master_cs_pol(&mut self) -> MASTER_CS_POL_W { MASTER_CS_POL_W::new(self, 7) } #[doc = "Bit 23 - spi slave input cs polarity select. 1: inv 0: not change. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn slave_cs_pol(&mut self) -> SLAVE_CS_POL_W { SLAVE_CS_POL_W::new(self, 23) } #[doc = "Bit 29 - 1: spi clk line is high when idle 0: spi clk line is low when idle. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn ck_idle_edge(&mut self) -> CK_IDLE_EDGE_W { CK_IDLE_EDGE_W::new(self, 29) } #[doc = "Bit 30 - spi cs line keep low when the bit is set. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_keep_active(&mut self) -> CS_KEEP_ACTIVE_W { CS_KEEP_ACTIVE_W::new(self, 30) } #[doc = "Bit 31 - 1: SPI quad input swap enable, swap FSPID with FSPIQ, swap FSPIWP with FSPIHD. 0: spi quad input swap disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn quad_din_pin_swap(&mut self) -> QUAD_DIN_PIN_SWAP_W { QUAD_DIN_PIN_SWAP_W::new(self, 31) } diff --git a/esp32h2/src/spi2/ms_dlen.rs b/esp32h2/src/spi2/ms_dlen.rs index 14a0b1bf7f..fab214224a 100644 --- a/esp32h2/src/spi2/ms_dlen.rs +++ b/esp32h2/src/spi2/ms_dlen.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:17 - The value of these bits is the configured SPI transmission data bit length in master mode DMA controlled transfer or CPU controlled transfer. The value is also the configured bit length in slave mode DMA RX controlled transfer. The register value shall be (bit_num-1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn ms_data_bitlen(&mut self) -> MS_DATA_BITLEN_W { MS_DATA_BITLEN_W::new(self, 0) } diff --git a/esp32h2/src/spi2/slave.rs b/esp32h2/src/spi2/slave.rs index fda67b7cb7..3cd44a1502 100644 --- a/esp32h2/src/spi2/slave.rs +++ b/esp32h2/src/spi2/slave.rs @@ -126,73 +126,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - SPI clock mode bits. 0: SPI clock is off when CS inactive 1: SPI clock is delayed one cycle after CS inactive 2: SPI clock is delayed two cycles after CS inactive 3: SPI clock is alwasy on. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clk_mode(&mut self) -> CLK_MODE_W { CLK_MODE_W::new(self, 0) } #[doc = "Bit 2 - {CPOL, CPHA},1: support spi clk mode 1 and 3, first edge output data B\\[0\\]/B\\[7\\]. 0: support spi clk mode 0 and 2, first edge output data B\\[1\\]/B\\[6\\]."] #[inline(always)] - #[must_use] pub fn clk_mode_13(&mut self) -> CLK_MODE_13_W { CLK_MODE_13_W::new(self, 2) } #[doc = "Bit 3 - It saves half a cycle when tsck is the same as rsck. 1: output data at rsck posedge 0: output data at tsck posedge"] #[inline(always)] - #[must_use] pub fn rsck_data_out(&mut self) -> RSCK_DATA_OUT_W { RSCK_DATA_OUT_W::new(self, 3) } #[doc = "Bit 8 - 1: SPI_SLV_DATA_BITLEN stores data bit length of master-read-slave data length in DMA controlled mode(Rd_DMA). 0: others"] #[inline(always)] - #[must_use] pub fn slv_rddma_bitlen_en(&mut self) -> SLV_RDDMA_BITLEN_EN_W { SLV_RDDMA_BITLEN_EN_W::new(self, 8) } #[doc = "Bit 9 - 1: SPI_SLV_DATA_BITLEN stores data bit length of master-write-to-slave data length in DMA controlled mode(Wr_DMA). 0: others"] #[inline(always)] - #[must_use] pub fn slv_wrdma_bitlen_en(&mut self) -> SLV_WRDMA_BITLEN_EN_W { SLV_WRDMA_BITLEN_EN_W::new(self, 9) } #[doc = "Bit 10 - 1: SPI_SLV_DATA_BITLEN stores data bit length of master-read-slave data length in CPU controlled mode(Rd_BUF). 0: others"] #[inline(always)] - #[must_use] pub fn slv_rdbuf_bitlen_en(&mut self) -> SLV_RDBUF_BITLEN_EN_W { SLV_RDBUF_BITLEN_EN_W::new(self, 10) } #[doc = "Bit 11 - 1: SPI_SLV_DATA_BITLEN stores data bit length of master-write-to-slave data length in CPU controlled mode(Wr_BUF). 0: others"] #[inline(always)] - #[must_use] pub fn slv_wrbuf_bitlen_en(&mut self) -> SLV_WRBUF_BITLEN_EN_W { SLV_WRBUF_BITLEN_EN_W::new(self, 11) } #[doc = "Bits 22:25 - The magic value of BM table in master DMA seg-trans."] #[inline(always)] - #[must_use] pub fn dma_seg_magic_value(&mut self) -> DMA_SEG_MAGIC_VALUE_W { DMA_SEG_MAGIC_VALUE_W::new(self, 22) } #[doc = "Bit 26 - Set SPI work mode. 1: slave mode 0: master mode."] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 26) } #[doc = "Bit 27 - Software reset enable, reset the spi clock line cs line and data lines. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn soft_reset(&mut self) -> SOFT_RESET_W { SOFT_RESET_W::new(self, 27) } #[doc = "Bit 28 - 1: Enable the DMA CONF phase of current seg-trans operation, which means seg-trans will start. 0: This is not seg-trans mode."] #[inline(always)] - #[must_use] pub fn usr_conf(&mut self) -> USR_CONF_W { USR_CONF_W::new(self, 28) } #[doc = "Bit 29 - In master full-duplex mode, 1: GP-SPI will wait DMA TX data is ready before starting SPI transfer. 0: GP-SPI does not wait DMA TX data before starting SPI transfer."] #[inline(always)] - #[must_use] pub fn mst_fd_wait_dma_tx_data(&mut self) -> MST_FD_WAIT_DMA_TX_DATA_W { MST_FD_WAIT_DMA_TX_DATA_W::new(self, 29) } diff --git a/esp32h2/src/spi2/slave1.rs b/esp32h2/src/spi2/slave1.rs index 4e464a31b4..2408ff65a5 100644 --- a/esp32h2/src/spi2/slave1.rs +++ b/esp32h2/src/spi2/slave1.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:17 - The transferred data bit length in SPI slave FD and HD mode."] #[inline(always)] - #[must_use] pub fn slv_data_bitlen(&mut self) -> SLV_DATA_BITLEN_W { SLV_DATA_BITLEN_W::new(self, 0) } #[doc = "Bits 18:25 - In the slave mode it is the value of command."] #[inline(always)] - #[must_use] pub fn slv_last_command(&mut self) -> SLV_LAST_COMMAND_W { SLV_LAST_COMMAND_W::new(self, 18) } #[doc = "Bits 26:31 - In the slave mode it is the value of address."] #[inline(always)] - #[must_use] pub fn slv_last_addr(&mut self) -> SLV_LAST_ADDR_W { SLV_LAST_ADDR_W::new(self, 26) } diff --git a/esp32h2/src/spi2/user.rs b/esp32h2/src/spi2/user.rs index f3097650e8..3d2ed530a7 100644 --- a/esp32h2/src/spi2/user.rs +++ b/esp32h2/src/spi2/user.rs @@ -220,115 +220,96 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set the bit to enable full duplex communication. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn doutdin(&mut self) -> DOUTDIN_W { DOUTDIN_W::new(self, 0) } #[doc = "Bit 3 - Both for master mode and slave mode. 1: spi controller is in QPI mode. 0: others. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn qpi_mode(&mut self) -> QPI_MODE_W { QPI_MODE_W::new(self, 3) } #[doc = "Bit 5 - In the slave mode, this bit can be used to change the polarity of tsck. 0: tsck = spi_ck_i. 1:tsck = !spi_ck_i."] #[inline(always)] - #[must_use] pub fn tsck_i_edge(&mut self) -> TSCK_I_EDGE_W { TSCK_I_EDGE_W::new(self, 5) } #[doc = "Bit 6 - spi cs keep low when spi is in done phase. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_hold(&mut self) -> CS_HOLD_W { CS_HOLD_W::new(self, 6) } #[doc = "Bit 7 - spi cs is enable when spi is in prepare phase. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_setup(&mut self) -> CS_SETUP_W { CS_SETUP_W::new(self, 7) } #[doc = "Bit 8 - In the slave mode, this bit can be used to change the polarity of rsck. 0: rsck = !spi_ck_i. 1:rsck = spi_ck_i."] #[inline(always)] - #[must_use] pub fn rsck_i_edge(&mut self) -> RSCK_I_EDGE_W { RSCK_I_EDGE_W::new(self, 8) } #[doc = "Bit 9 - the bit combined with spi_mosi_delay_mode bits to set mosi signal delay mode. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn ck_out_edge(&mut self) -> CK_OUT_EDGE_W { CK_OUT_EDGE_W::new(self, 9) } #[doc = "Bit 12 - In the write operations read-data phase apply 2 signals. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fwrite_dual(&mut self) -> FWRITE_DUAL_W { FWRITE_DUAL_W::new(self, 12) } #[doc = "Bit 13 - In the write operations read-data phase apply 4 signals. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fwrite_quad(&mut self) -> FWRITE_QUAD_W { FWRITE_QUAD_W::new(self, 13) } #[doc = "Bit 15 - 1: Enable the DMA CONF phase of next seg-trans operation, which means seg-trans will continue. 0: The seg-trans will end after the current SPI seg-trans or this is not seg-trans mode. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_conf_nxt(&mut self) -> USR_CONF_NXT_W { USR_CONF_NXT_W::new(self, 15) } #[doc = "Bit 17 - Set the bit to enable 3-line half duplex communication mosi and miso signals share the same pin. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn sio(&mut self) -> SIO_W { SIO_W::new(self, 17) } #[doc = "Bit 24 - read-data phase only access to high-part of the buffer spi_w8~spi_w15. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_miso_highpart(&mut self) -> USR_MISO_HIGHPART_W { USR_MISO_HIGHPART_W::new(self, 24) } #[doc = "Bit 25 - write-data phase only access to high-part of the buffer spi_w8~spi_w15. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_mosi_highpart(&mut self) -> USR_MOSI_HIGHPART_W { USR_MOSI_HIGHPART_W::new(self, 25) } #[doc = "Bit 26 - spi clock is disable in dummy phase when the bit is enable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_dummy_idle(&mut self) -> USR_DUMMY_IDLE_W { USR_DUMMY_IDLE_W::new(self, 26) } #[doc = "Bit 27 - This bit enable the write-data phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_mosi(&mut self) -> USR_MOSI_W { USR_MOSI_W::new(self, 27) } #[doc = "Bit 28 - This bit enable the read-data phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_miso(&mut self) -> USR_MISO_W { USR_MISO_W::new(self, 28) } #[doc = "Bit 29 - This bit enable the dummy phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_dummy(&mut self) -> USR_DUMMY_W { USR_DUMMY_W::new(self, 29) } #[doc = "Bit 30 - This bit enable the address phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_addr(&mut self) -> USR_ADDR_W { USR_ADDR_W::new(self, 30) } #[doc = "Bit 31 - This bit enable the command phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_command(&mut self) -> USR_COMMAND_W { USR_COMMAND_W::new(self, 31) } diff --git a/esp32h2/src/spi2/user1.rs b/esp32h2/src/spi2/user1.rs index 95f635fa29..ebf323bb54 100644 --- a/esp32h2/src/spi2/user1.rs +++ b/esp32h2/src/spi2/user1.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - The length in spi_clk cycles of dummy phase. The register value shall be (cycle_num-1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_dummy_cyclelen(&mut self) -> USR_DUMMY_CYCLELEN_W { USR_DUMMY_CYCLELEN_W::new(self, 0) } #[doc = "Bit 16 - 1: SPI transfer is ended when SPI RX AFIFO wfull error is valid in GP-SPI master FD/HD-mode. 0: SPI transfer is not ended when SPI RX AFIFO wfull error is valid in GP-SPI master FD/HD-mode."] #[inline(always)] - #[must_use] pub fn mst_wfull_err_end_en(&mut self) -> MST_WFULL_ERR_END_EN_W { MST_WFULL_ERR_END_EN_W::new(self, 16) } #[doc = "Bits 17:21 - (cycles+1) of prepare phase by spi clock this bits are combined with spi_cs_setup bit. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_setup_time(&mut self) -> CS_SETUP_TIME_W { CS_SETUP_TIME_W::new(self, 17) } #[doc = "Bits 22:26 - delay cycles of cs pin by spi clock this bits are combined with spi_cs_hold bit. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_hold_time(&mut self) -> CS_HOLD_TIME_W { CS_HOLD_TIME_W::new(self, 22) } #[doc = "Bits 27:31 - The length in bits of address phase. The register value shall be (bit_num-1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_addr_bitlen(&mut self) -> USR_ADDR_BITLEN_W { USR_ADDR_BITLEN_W::new(self, 27) } diff --git a/esp32h2/src/spi2/user2.rs b/esp32h2/src/spi2/user2.rs index df58aa38b9..3508800e72 100644 --- a/esp32h2/src/spi2/user2.rs +++ b/esp32h2/src/spi2/user2.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The value of command. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_command_value(&mut self) -> USR_COMMAND_VALUE_W { USR_COMMAND_VALUE_W::new(self, 0) } #[doc = "Bit 27 - 1: SPI transfer is ended when SPI TX AFIFO read empty error is valid in GP-SPI master FD/HD-mode. 0: SPI transfer is not ended when SPI TX AFIFO read empty error is valid in GP-SPI master FD/HD-mode."] #[inline(always)] - #[must_use] pub fn mst_rempty_err_end_en(&mut self) -> MST_REMPTY_ERR_END_EN_W { MST_REMPTY_ERR_END_EN_W::new(self, 27) } #[doc = "Bits 28:31 - The length in bits of command phase. The register value shall be (bit_num-1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_command_bitlen(&mut self) -> USR_COMMAND_BITLEN_W { USR_COMMAND_BITLEN_W::new(self, 28) } diff --git a/esp32h2/src/spi2/w.rs b/esp32h2/src/spi2/w.rs index 938ceae002..dfd00d53e3 100644 --- a/esp32h2/src/spi2/w.rs +++ b/esp32h2/src/spi2/w.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - data buffer"] #[inline(always)] - #[must_use] pub fn buf(&mut self) -> BUF_W { BUF_W::new(self, 0) } diff --git a/esp32h2/src/systimer/comp_load.rs b/esp32h2/src/systimer/comp_load.rs index 3194371312..65145bf616 100644 --- a/esp32h2/src/systimer/comp_load.rs +++ b/esp32h2/src/systimer/comp_load.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - timer comp0 sync enable signal"] #[inline(always)] - #[must_use] pub fn load(&mut self) -> LOAD_W { LOAD_W::new(self, 0) } diff --git a/esp32h2/src/systimer/conf.rs b/esp32h2/src/systimer/conf.rs index cc41037744..0f0010318b 100644 --- a/esp32h2/src/systimer/conf.rs +++ b/esp32h2/src/systimer/conf.rs @@ -146,73 +146,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - systimer clock force on"] #[inline(always)] - #[must_use] pub fn systimer_clk_fo(&mut self) -> SYSTIMER_CLK_FO_W { SYSTIMER_CLK_FO_W::new(self, 0) } #[doc = "Bit 1 - enable systimer's etm task and event"] #[inline(always)] - #[must_use] pub fn etm_en(&mut self) -> ETM_EN_W { ETM_EN_W::new(self, 1) } #[doc = "Bit 22 - target2 work enable"] #[inline(always)] - #[must_use] pub fn target2_work_en(&mut self) -> TARGET2_WORK_EN_W { TARGET2_WORK_EN_W::new(self, 22) } #[doc = "Bit 23 - target1 work enable"] #[inline(always)] - #[must_use] pub fn target1_work_en(&mut self) -> TARGET1_WORK_EN_W { TARGET1_WORK_EN_W::new(self, 23) } #[doc = "Bit 24 - target0 work enable"] #[inline(always)] - #[must_use] pub fn target0_work_en(&mut self) -> TARGET0_WORK_EN_W { TARGET0_WORK_EN_W::new(self, 24) } #[doc = "Bit 25 - If timer unit1 is stalled when core1 stalled"] #[inline(always)] - #[must_use] pub fn timer_unit1_core1_stall_en(&mut self) -> TIMER_UNIT1_CORE1_STALL_EN_W { TIMER_UNIT1_CORE1_STALL_EN_W::new(self, 25) } #[doc = "Bit 26 - If timer unit1 is stalled when core0 stalled"] #[inline(always)] - #[must_use] pub fn timer_unit1_core0_stall_en(&mut self) -> TIMER_UNIT1_CORE0_STALL_EN_W { TIMER_UNIT1_CORE0_STALL_EN_W::new(self, 26) } #[doc = "Bit 27 - If timer unit0 is stalled when core1 stalled"] #[inline(always)] - #[must_use] pub fn timer_unit0_core1_stall_en(&mut self) -> TIMER_UNIT0_CORE1_STALL_EN_W { TIMER_UNIT0_CORE1_STALL_EN_W::new(self, 27) } #[doc = "Bit 28 - If timer unit0 is stalled when core0 stalled"] #[inline(always)] - #[must_use] pub fn timer_unit0_core0_stall_en(&mut self) -> TIMER_UNIT0_CORE0_STALL_EN_W { TIMER_UNIT0_CORE0_STALL_EN_W::new(self, 28) } #[doc = "Bit 29 - timer unit1 work enable"] #[inline(always)] - #[must_use] pub fn timer_unit1_work_en(&mut self) -> TIMER_UNIT1_WORK_EN_W { TIMER_UNIT1_WORK_EN_W::new(self, 29) } #[doc = "Bit 30 - timer unit0 work enable"] #[inline(always)] - #[must_use] pub fn timer_unit0_work_en(&mut self) -> TIMER_UNIT0_WORK_EN_W { TIMER_UNIT0_WORK_EN_W::new(self, 30) } #[doc = "Bit 31 - register file clk gating"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32h2/src/systimer/date.rs b/esp32h2/src/systimer/date.rs index 95e1c9957e..baf7098490 100644 --- a/esp32h2/src/systimer/date.rs +++ b/esp32h2/src/systimer/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - systimer register version"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32h2/src/systimer/int_clr.rs b/esp32h2/src/systimer/int_clr.rs index 06260e5ca1..7a322a9bd7 100644 --- a/esp32h2/src/systimer/int_clr.rs +++ b/esp32h2/src/systimer/int_clr.rs @@ -13,7 +13,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TARGET0` field.
"] #[inline(always)] - #[must_use] pub fn target(&mut self, n: u8) -> TARGET_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -21,19 +20,16 @@ impl W { } #[doc = "Bit 0 - interupt0 clear"] #[inline(always)] - #[must_use] pub fn target0(&mut self) -> TARGET_W { TARGET_W::new(self, 0) } #[doc = "Bit 1 - interupt1 clear"] #[inline(always)] - #[must_use] pub fn target1(&mut self) -> TARGET_W { TARGET_W::new(self, 1) } #[doc = "Bit 2 - interupt2 clear"] #[inline(always)] - #[must_use] pub fn target2(&mut self) -> TARGET_W { TARGET_W::new(self, 2) } @@ -47,7 +43,7 @@ impl crate::RegisterSpec for INT_CLR_SPEC { impl crate::Writable for INT_CLR_SPEC { type Safety = crate::Unsafe; const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0x01; + const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0x07; } #[doc = "`reset()` method sets INT_CLR to value 0"] impl crate::Resettable for INT_CLR_SPEC { diff --git a/esp32h2/src/systimer/int_ena.rs b/esp32h2/src/systimer/int_ena.rs index 23d45402ff..82161f02c6 100644 --- a/esp32h2/src/systimer/int_ena.rs +++ b/esp32h2/src/systimer/int_ena.rs @@ -53,7 +53,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TARGET0` field.
"] #[inline(always)] - #[must_use] pub fn target(&mut self, n: u8) -> TARGET_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -61,19 +60,16 @@ impl W { } #[doc = "Bit 0 - interupt0 enable"] #[inline(always)] - #[must_use] pub fn target0(&mut self) -> TARGET_W { TARGET_W::new(self, 0) } #[doc = "Bit 1 - interupt1 enable"] #[inline(always)] - #[must_use] pub fn target1(&mut self) -> TARGET_W { TARGET_W::new(self, 1) } #[doc = "Bit 2 - interupt2 enable"] #[inline(always)] - #[must_use] pub fn target2(&mut self) -> TARGET_W { TARGET_W::new(self, 2) } diff --git a/esp32h2/src/systimer/int_raw.rs b/esp32h2/src/systimer/int_raw.rs index ad619febb9..017321fd87 100644 --- a/esp32h2/src/systimer/int_raw.rs +++ b/esp32h2/src/systimer/int_raw.rs @@ -53,7 +53,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TARGET0` field.
"] #[inline(always)] - #[must_use] pub fn target(&mut self, n: u8) -> TARGET_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -61,19 +60,16 @@ impl W { } #[doc = "Bit 0 - interupt0 raw"] #[inline(always)] - #[must_use] pub fn target0(&mut self) -> TARGET_W { TARGET_W::new(self, 0) } #[doc = "Bit 1 - interupt1 raw"] #[inline(always)] - #[must_use] pub fn target1(&mut self) -> TARGET_W { TARGET_W::new(self, 1) } #[doc = "Bit 2 - interupt2 raw"] #[inline(always)] - #[must_use] pub fn target2(&mut self) -> TARGET_W { TARGET_W::new(self, 2) } diff --git a/esp32h2/src/systimer/target_conf.rs b/esp32h2/src/systimer/target_conf.rs index ad465124d5..9d3229b115 100644 --- a/esp32h2/src/systimer/target_conf.rs +++ b/esp32h2/src/systimer/target_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:25 - target0 period"] #[inline(always)] - #[must_use] pub fn period(&mut self) -> PERIOD_W { PERIOD_W::new(self, 0) } #[doc = "Bit 30 - Set target0 to period mode"] #[inline(always)] - #[must_use] pub fn period_mode(&mut self) -> PERIOD_MODE_W { PERIOD_MODE_W::new(self, 30) } #[doc = "Bit 31 - select which unit to compare"] #[inline(always)] - #[must_use] pub fn timer_unit_sel(&mut self) -> TIMER_UNIT_SEL_W { TIMER_UNIT_SEL_W::new(self, 31) } diff --git a/esp32h2/src/systimer/trgt/hi.rs b/esp32h2/src/systimer/trgt/hi.rs index 36b8397729..c34aac1756 100644 --- a/esp32h2/src/systimer/trgt/hi.rs +++ b/esp32h2/src/systimer/trgt/hi.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - timer taget0 high 20 bits"] #[inline(always)] - #[must_use] pub fn hi(&mut self) -> HI_W { HI_W::new(self, 0) } diff --git a/esp32h2/src/systimer/trgt/lo.rs b/esp32h2/src/systimer/trgt/lo.rs index 4b9aba9b31..3ac0a3df6b 100644 --- a/esp32h2/src/systimer/trgt/lo.rs +++ b/esp32h2/src/systimer/trgt/lo.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - timer taget0 low 32 bits"] #[inline(always)] - #[must_use] pub fn lo(&mut self) -> LO_W { LO_W::new(self, 0) } diff --git a/esp32h2/src/systimer/unit_load.rs b/esp32h2/src/systimer/unit_load.rs index d7131aea74..94a217b2b0 100644 --- a/esp32h2/src/systimer/unit_load.rs +++ b/esp32h2/src/systimer/unit_load.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - timer unit0 sync enable signal"] #[inline(always)] - #[must_use] pub fn load(&mut self) -> LOAD_W { LOAD_W::new(self, 0) } diff --git a/esp32h2/src/systimer/unit_op.rs b/esp32h2/src/systimer/unit_op.rs index 89b506eb04..f4f5c65665 100644 --- a/esp32h2/src/systimer/unit_op.rs +++ b/esp32h2/src/systimer/unit_op.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - update timer_unit0"] #[inline(always)] - #[must_use] pub fn update(&mut self) -> UPDATE_W { UPDATE_W::new(self, 30) } diff --git a/esp32h2/src/systimer/unitload/hi.rs b/esp32h2/src/systimer/unitload/hi.rs index 63e3720842..ff49b6d094 100644 --- a/esp32h2/src/systimer/unitload/hi.rs +++ b/esp32h2/src/systimer/unitload/hi.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - timer unit0 load high 20 bits"] #[inline(always)] - #[must_use] pub fn load_hi(&mut self) -> LOAD_HI_W { LOAD_HI_W::new(self, 0) } diff --git a/esp32h2/src/systimer/unitload/lo.rs b/esp32h2/src/systimer/unitload/lo.rs index 9569a393b8..f8b0d7491b 100644 --- a/esp32h2/src/systimer/unitload/lo.rs +++ b/esp32h2/src/systimer/unitload/lo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - timer unit0 load low 32 bits"] #[inline(always)] - #[must_use] pub fn load_lo(&mut self) -> LOAD_LO_W { LOAD_LO_W::new(self, 0) } diff --git a/esp32h2/src/tee/clock_gate.rs b/esp32h2/src/tee/clock_gate.rs index 32b396e342..e8e2e74471 100644 --- a/esp32h2/src/tee/clock_gate.rs +++ b/esp32h2/src/tee/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_clk_en"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32h2/src/tee/date.rs b/esp32h2/src/tee/date.rs index d7011e4a5c..a91d1d62fd 100644 --- a/esp32h2/src/tee/date.rs +++ b/esp32h2/src/tee/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - reg_tee_date"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32h2/src/tee/m_mode_ctrl.rs b/esp32h2/src/tee/m_mode_ctrl.rs index 577ac5d26c..229e43082f 100644 --- a/esp32h2/src/tee/m_mode_ctrl.rs +++ b/esp32h2/src/tee/m_mode_ctrl.rs @@ -107,7 +107,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - M0 security level mode: 2'd3: ree_mode2. 2'd2: ree_mode1. 2'd1: ree_mode0. 2'd0: tee_mode"] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 0) } diff --git a/esp32h2/src/timg0/int_clr.rs b/esp32h2/src/timg0/int_clr.rs index 6ed8576634..2bcfa155ce 100644 --- a/esp32h2/src/timg0/int_clr.rs +++ b/esp32h2/src/timg0/int_clr.rs @@ -15,7 +15,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `T0` field.
"] #[inline(always)] - #[must_use] pub fn t(&mut self, n: u8) -> T_W { #[allow(clippy::no_effect)] [(); 1][n as usize]; @@ -23,13 +22,11 @@ impl W { } #[doc = "Bit 0 - Set this bit to clear the TIMG_T0_INT interrupt."] #[inline(always)] - #[must_use] pub fn t0(&mut self) -> T_W { T_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the TIMG_WDT_INT interrupt."] #[inline(always)] - #[must_use] pub fn wdt(&mut self) -> WDT_W { WDT_W::new(self, 1) } diff --git a/esp32h2/src/timg0/int_ena.rs b/esp32h2/src/timg0/int_ena.rs index 19bedb24ba..6a9813be15 100644 --- a/esp32h2/src/timg0/int_ena.rs +++ b/esp32h2/src/timg0/int_ena.rs @@ -51,7 +51,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `T0` field.
"] #[inline(always)] - #[must_use] pub fn t(&mut self, n: u8) -> T_W { #[allow(clippy::no_effect)] [(); 1][n as usize]; @@ -59,13 +58,11 @@ impl W { } #[doc = "Bit 0 - The interrupt enable bit for the TIMG_T0_INT interrupt."] #[inline(always)] - #[must_use] pub fn t0(&mut self) -> T_W { T_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the TIMG_WDT_INT interrupt."] #[inline(always)] - #[must_use] pub fn wdt(&mut self) -> WDT_W { WDT_W::new(self, 1) } diff --git a/esp32h2/src/timg0/ntimers_date.rs b/esp32h2/src/timg0/ntimers_date.rs index a95a9fcc54..feaba52a49 100644 --- a/esp32h2/src/timg0/ntimers_date.rs +++ b/esp32h2/src/timg0/ntimers_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Timer version control register"] #[inline(always)] - #[must_use] pub fn ntimgs_date(&mut self) -> NTIMGS_DATE_W { NTIMGS_DATE_W::new(self, 0) } diff --git a/esp32h2/src/timg0/regclk.rs b/esp32h2/src/timg0/regclk.rs index d0233d5efe..fb12e0fc28 100644 --- a/esp32h2/src/timg0/regclk.rs +++ b/esp32h2/src/timg0/regclk.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 28 - enable timer's etm task and event"] #[inline(always)] - #[must_use] pub fn etm_en(&mut self) -> ETM_EN_W { ETM_EN_W::new(self, 28) } #[doc = "Bit 29 - enable WDT's clock"] #[inline(always)] - #[must_use] pub fn wdt_clk_is_active(&mut self) -> WDT_CLK_IS_ACTIVE_W { WDT_CLK_IS_ACTIVE_W::new(self, 29) } #[doc = "Bit 30 - enable Timer 30's clock"] #[inline(always)] - #[must_use] pub fn timer_clk_is_active(&mut self) -> TIMER_CLK_IS_ACTIVE_W { TIMER_CLK_IS_ACTIVE_W::new(self, 30) } #[doc = "Bit 31 - Register clock gate signal. 1: Registers can be read and written to by software. 0: Registers can not be read or written to by software."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32h2/src/timg0/rtccalicfg.rs b/esp32h2/src/timg0/rtccalicfg.rs index 21b5c09681..93ca8766cf 100644 --- a/esp32h2/src/timg0/rtccalicfg.rs +++ b/esp32h2/src/timg0/rtccalicfg.rs @@ -62,25 +62,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - 0: one-shot frequency calculation,1: periodic frequency calculation,"] #[inline(always)] - #[must_use] pub fn rtc_cali_start_cycling(&mut self) -> RTC_CALI_START_CYCLING_W { RTC_CALI_START_CYCLING_W::new(self, 12) } #[doc = "Bits 13:14 - 0:rtc slow clock. 1:clk_8m, 2:xtal_32k."] #[inline(always)] - #[must_use] pub fn rtc_cali_clk_sel(&mut self) -> RTC_CALI_CLK_SEL_W { RTC_CALI_CLK_SEL_W::new(self, 13) } #[doc = "Bits 16:30 - Configure the time to calculate RTC slow clock's frequency."] #[inline(always)] - #[must_use] pub fn rtc_cali_max(&mut self) -> RTC_CALI_MAX_W { RTC_CALI_MAX_W::new(self, 16) } #[doc = "Bit 31 - Set this bit to start one-shot frequency calculation."] #[inline(always)] - #[must_use] pub fn rtc_cali_start(&mut self) -> RTC_CALI_START_W { RTC_CALI_START_W::new(self, 31) } diff --git a/esp32h2/src/timg0/rtccalicfg2.rs b/esp32h2/src/timg0/rtccalicfg2.rs index 9bcb8e66e3..c8e2a89280 100644 --- a/esp32h2/src/timg0/rtccalicfg2.rs +++ b/esp32h2/src/timg0/rtccalicfg2.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 3:6 - Cycles that release calibration timeout reset"] #[inline(always)] - #[must_use] pub fn rtc_cali_timeout_rst_cnt(&mut self) -> RTC_CALI_TIMEOUT_RST_CNT_W { RTC_CALI_TIMEOUT_RST_CNT_W::new(self, 3) } #[doc = "Bits 7:31 - Threshold value for the RTC calibration timer. If the calibration timer's value exceeds this threshold, a timeout is triggered."] #[inline(always)] - #[must_use] pub fn rtc_cali_timeout_thres(&mut self) -> RTC_CALI_TIMEOUT_THRES_W { RTC_CALI_TIMEOUT_THRES_W::new(self, 7) } diff --git a/esp32h2/src/timg0/t/alarmhi.rs b/esp32h2/src/timg0/t/alarmhi.rs index 24c896aae8..bda963e20f 100644 --- a/esp32h2/src/timg0/t/alarmhi.rs +++ b/esp32h2/src/timg0/t/alarmhi.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - Timer %s alarm trigger time-base counter value, high 22 bits."] #[inline(always)] - #[must_use] pub fn alarm_hi(&mut self) -> ALARM_HI_W { ALARM_HI_W::new(self, 0) } diff --git a/esp32h2/src/timg0/t/alarmlo.rs b/esp32h2/src/timg0/t/alarmlo.rs index 9dae08ae1e..ddbac0e99b 100644 --- a/esp32h2/src/timg0/t/alarmlo.rs +++ b/esp32h2/src/timg0/t/alarmlo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Timer %s alarm trigger time-base counter value, low 32 bits."] #[inline(always)] - #[must_use] pub fn alarm_lo(&mut self) -> ALARM_LO_W { ALARM_LO_W::new(self, 0) } diff --git a/esp32h2/src/timg0/t/config.rs b/esp32h2/src/timg0/t/config.rs index 9ece678cf4..1095e84fcd 100644 --- a/esp32h2/src/timg0/t/config.rs +++ b/esp32h2/src/timg0/t/config.rs @@ -76,43 +76,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 9 - 1: Use XTAL_CLK as the source clock of timer group. 0: Use APB_CLK as the source clock of timer group."] #[inline(always)] - #[must_use] pub fn use_xtal(&mut self) -> USE_XTAL_W { USE_XTAL_W::new(self, 9) } #[doc = "Bit 10 - When set, the alarm is enabled. This bit is automatically cleared once an alarm occurs."] #[inline(always)] - #[must_use] pub fn alarm_en(&mut self) -> ALARM_EN_W { ALARM_EN_W::new(self, 10) } #[doc = "Bit 12 - When set, Timer %s 's clock divider counter will be reset."] #[inline(always)] - #[must_use] pub fn divcnt_rst(&mut self) -> DIVCNT_RST_W { DIVCNT_RST_W::new(self, 12) } #[doc = "Bits 13:28 - Timer %s clock (T%s_clk) prescaler value."] #[inline(always)] - #[must_use] pub fn divider(&mut self) -> DIVIDER_W { DIVIDER_W::new(self, 13) } #[doc = "Bit 29 - When set, timer %s auto-reload at alarm is enabled."] #[inline(always)] - #[must_use] pub fn autoreload(&mut self) -> AUTORELOAD_W { AUTORELOAD_W::new(self, 29) } #[doc = "Bit 30 - When set, the timer %s time-base counter will increment every clock tick. When cleared, the timer %s time-base counter will decrement."] #[inline(always)] - #[must_use] pub fn increase(&mut self) -> INCREASE_W { INCREASE_W::new(self, 30) } #[doc = "Bit 31 - When set, the timer %s time-base counter is enabled."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 31) } diff --git a/esp32h2/src/timg0/t/load.rs b/esp32h2/src/timg0/t/load.rs index b2b162f4bd..8ff971209d 100644 --- a/esp32h2/src/timg0/t/load.rs +++ b/esp32h2/src/timg0/t/load.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - Write any value to trigger a timer %s time-base counter reload."] #[inline(always)] - #[must_use] pub fn load(&mut self) -> LOAD_W { LOAD_W::new(self, 0) } diff --git a/esp32h2/src/timg0/t/loadhi.rs b/esp32h2/src/timg0/t/loadhi.rs index abf461cb0a..2e3c3628ac 100644 --- a/esp32h2/src/timg0/t/loadhi.rs +++ b/esp32h2/src/timg0/t/loadhi.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - High 22 bits of the value that a reload will load onto timer %s time-base counter."] #[inline(always)] - #[must_use] pub fn load_hi(&mut self) -> LOAD_HI_W { LOAD_HI_W::new(self, 0) } diff --git a/esp32h2/src/timg0/t/loadlo.rs b/esp32h2/src/timg0/t/loadlo.rs index 4f6b2c5bda..ed1fe163c4 100644 --- a/esp32h2/src/timg0/t/loadlo.rs +++ b/esp32h2/src/timg0/t/loadlo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Low 32 bits of the value that a reload will load onto timer %s time-base Counter."] #[inline(always)] - #[must_use] pub fn load_lo(&mut self) -> LOAD_LO_W { LOAD_LO_W::new(self, 0) } diff --git a/esp32h2/src/timg0/t/update.rs b/esp32h2/src/timg0/t/update.rs index d550912640..dbe99022bb 100644 --- a/esp32h2/src/timg0/t/update.rs +++ b/esp32h2/src/timg0/t/update.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - After writing 0 or 1 to TIMG_T%sUPDATE_REG, the counter value is latched."] #[inline(always)] - #[must_use] pub fn update(&mut self) -> UPDATE_W { UPDATE_W::new(self, 31) } diff --git a/esp32h2/src/timg0/wdtconfig0.rs b/esp32h2/src/timg0/wdtconfig0.rs index 6a227d7920..338f7c58c3 100644 --- a/esp32h2/src/timg0/wdtconfig0.rs +++ b/esp32h2/src/timg0/wdtconfig0.rs @@ -126,73 +126,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - WDT reset CPU enable."] #[inline(always)] - #[must_use] pub fn wdt_appcpu_reset_en(&mut self) -> WDT_APPCPU_RESET_EN_W { WDT_APPCPU_RESET_EN_W::new(self, 12) } #[doc = "Bit 13 - WDT reset CPU enable."] #[inline(always)] - #[must_use] pub fn wdt_procpu_reset_en(&mut self) -> WDT_PROCPU_RESET_EN_W { WDT_PROCPU_RESET_EN_W::new(self, 13) } #[doc = "Bit 14 - When set, Flash boot protection is enabled."] #[inline(always)] - #[must_use] pub fn wdt_flashboot_mod_en(&mut self) -> WDT_FLASHBOOT_MOD_EN_W { WDT_FLASHBOOT_MOD_EN_W::new(self, 14) } #[doc = "Bits 15:17 - System reset signal length selection. 0: 100 ns, 1: 200 ns, 2: 300 ns, 3: 400 ns, 4: 500 ns, 5: 800 ns, 6: 1.6 us, 7: 3.2 us."] #[inline(always)] - #[must_use] pub fn wdt_sys_reset_length(&mut self) -> WDT_SYS_RESET_LENGTH_W { WDT_SYS_RESET_LENGTH_W::new(self, 15) } #[doc = "Bits 18:20 - CPU reset signal length selection. 0: 100 ns, 1: 200 ns, 2: 300 ns, 3: 400 ns, 4: 500 ns, 5: 800 ns, 6: 1.6 us, 7: 3.2 us."] #[inline(always)] - #[must_use] pub fn wdt_cpu_reset_length(&mut self) -> WDT_CPU_RESET_LENGTH_W { WDT_CPU_RESET_LENGTH_W::new(self, 18) } #[doc = "Bit 21 - choose WDT clock:0-apb_clk, 1-xtal_clk."] #[inline(always)] - #[must_use] pub fn wdt_use_xtal(&mut self) -> WDT_USE_XTAL_W { WDT_USE_XTAL_W::new(self, 21) } #[doc = "Bit 22 - update the WDT configuration registers"] #[inline(always)] - #[must_use] pub fn wdt_conf_update_en(&mut self) -> WDT_CONF_UPDATE_EN_W { WDT_CONF_UPDATE_EN_W::new(self, 22) } #[doc = "Bits 23:24 - Stage 3 configuration. 0: off, 1: interrupt, 2: reset CPU, 3: reset system."] #[inline(always)] - #[must_use] pub fn wdt_stg3(&mut self) -> WDT_STG3_W { WDT_STG3_W::new(self, 23) } #[doc = "Bits 25:26 - Stage 2 configuration. 0: off, 1: interrupt, 2: reset CPU, 3: reset system."] #[inline(always)] - #[must_use] pub fn wdt_stg2(&mut self) -> WDT_STG2_W { WDT_STG2_W::new(self, 25) } #[doc = "Bits 27:28 - Stage 1 configuration. 0: off, 1: interrupt, 2: reset CPU, 3: reset system."] #[inline(always)] - #[must_use] pub fn wdt_stg1(&mut self) -> WDT_STG1_W { WDT_STG1_W::new(self, 27) } #[doc = "Bits 29:30 - Stage 0 configuration. 0: off, 1: interrupt, 2: reset CPU, 3: reset system."] #[inline(always)] - #[must_use] pub fn wdt_stg0(&mut self) -> WDT_STG0_W { WDT_STG0_W::new(self, 29) } #[doc = "Bit 31 - When set, MWDT is enabled."] #[inline(always)] - #[must_use] pub fn wdt_en(&mut self) -> WDT_EN_W { WDT_EN_W::new(self, 31) } diff --git a/esp32h2/src/timg0/wdtconfig1.rs b/esp32h2/src/timg0/wdtconfig1.rs index 5185123b6b..8649221be4 100644 --- a/esp32h2/src/timg0/wdtconfig1.rs +++ b/esp32h2/src/timg0/wdtconfig1.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - When set, WDT 's clock divider counter will be reset."] #[inline(always)] - #[must_use] pub fn wdt_divcnt_rst(&mut self) -> WDT_DIVCNT_RST_W { WDT_DIVCNT_RST_W::new(self, 0) } #[doc = "Bits 16:31 - MWDT clock prescaler value. MWDT clock period = 12.5 ns * TIMG_WDT_CLK_PRESCALE."] #[inline(always)] - #[must_use] pub fn wdt_clk_prescale(&mut self) -> WDT_CLK_PRESCALE_W { WDT_CLK_PRESCALE_W::new(self, 16) } diff --git a/esp32h2/src/timg0/wdtconfig2.rs b/esp32h2/src/timg0/wdtconfig2.rs index d7aedad9be..2eb13ae372 100644 --- a/esp32h2/src/timg0/wdtconfig2.rs +++ b/esp32h2/src/timg0/wdtconfig2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stage 0 timeout value, in MWDT clock cycles."] #[inline(always)] - #[must_use] pub fn wdt_stg0_hold(&mut self) -> WDT_STG0_HOLD_W { WDT_STG0_HOLD_W::new(self, 0) } diff --git a/esp32h2/src/timg0/wdtconfig3.rs b/esp32h2/src/timg0/wdtconfig3.rs index 3eb96b1e93..353e861c97 100644 --- a/esp32h2/src/timg0/wdtconfig3.rs +++ b/esp32h2/src/timg0/wdtconfig3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stage 1 timeout value, in MWDT clock cycles."] #[inline(always)] - #[must_use] pub fn wdt_stg1_hold(&mut self) -> WDT_STG1_HOLD_W { WDT_STG1_HOLD_W::new(self, 0) } diff --git a/esp32h2/src/timg0/wdtconfig4.rs b/esp32h2/src/timg0/wdtconfig4.rs index c522268b4c..adb732fce4 100644 --- a/esp32h2/src/timg0/wdtconfig4.rs +++ b/esp32h2/src/timg0/wdtconfig4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stage 2 timeout value, in MWDT clock cycles."] #[inline(always)] - #[must_use] pub fn wdt_stg2_hold(&mut self) -> WDT_STG2_HOLD_W { WDT_STG2_HOLD_W::new(self, 0) } diff --git a/esp32h2/src/timg0/wdtconfig5.rs b/esp32h2/src/timg0/wdtconfig5.rs index 61c6bfb1e1..a56ba8caeb 100644 --- a/esp32h2/src/timg0/wdtconfig5.rs +++ b/esp32h2/src/timg0/wdtconfig5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stage 3 timeout value, in MWDT clock cycles."] #[inline(always)] - #[must_use] pub fn wdt_stg3_hold(&mut self) -> WDT_STG3_HOLD_W { WDT_STG3_HOLD_W::new(self, 0) } diff --git a/esp32h2/src/timg0/wdtfeed.rs b/esp32h2/src/timg0/wdtfeed.rs index 5b3ae9b1dc..cd788cbe3e 100644 --- a/esp32h2/src/timg0/wdtfeed.rs +++ b/esp32h2/src/timg0/wdtfeed.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - Write any value to feed the MWDT. (WO)"] #[inline(always)] - #[must_use] pub fn wdt_feed(&mut self) -> WDT_FEED_W { WDT_FEED_W::new(self, 0) } diff --git a/esp32h2/src/timg0/wdtwprotect.rs b/esp32h2/src/timg0/wdtwprotect.rs index f3d13ea457..db5716850f 100644 --- a/esp32h2/src/timg0/wdtwprotect.rs +++ b/esp32h2/src/timg0/wdtwprotect.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - If the register contains a different value than its reset value, write protection is enabled."] #[inline(always)] - #[must_use] pub fn wdt_wkey(&mut self) -> WDT_WKEY_W { WDT_WKEY_W::new(self, 0) } diff --git a/esp32h2/src/trace/clock_gate.rs b/esp32h2/src/trace/clock_gate.rs index a34a470917..6870b56d5b 100644 --- a/esp32h2/src/trace/clock_gate.rs +++ b/esp32h2/src/trace/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable clock gate when access all registers in this module."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32h2/src/trace/date.rs b/esp32h2/src/trace/date.rs index b7543f7a48..9e0e582d3b 100644 --- a/esp32h2/src/trace/date.rs +++ b/esp32h2/src/trace/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - version control register. Note that this default value stored is the latest date when the hardware logic was updated."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32h2/src/trace/intr_clr.rs b/esp32h2/src/trace/intr_clr.rs index 22944bf006..33c3b34319 100644 --- a/esp32h2/src/trace/intr_clr.rs +++ b/esp32h2/src/trace/intr_clr.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set 1 clr fifo overflow interrupt"] #[inline(always)] - #[must_use] pub fn fifo_overflow_intr_clr(&mut self) -> FIFO_OVERFLOW_INTR_CLR_W { FIFO_OVERFLOW_INTR_CLR_W::new(self, 0) } #[doc = "Bit 1 - Set 1 clr mem full interrupt"] #[inline(always)] - #[must_use] pub fn mem_full_intr_clr(&mut self) -> MEM_FULL_INTR_CLR_W { MEM_FULL_INTR_CLR_W::new(self, 1) } diff --git a/esp32h2/src/trace/intr_ena.rs b/esp32h2/src/trace/intr_ena.rs index 96c37dc1fd..f9ab9236d1 100644 --- a/esp32h2/src/trace/intr_ena.rs +++ b/esp32h2/src/trace/intr_ena.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 enable fifo_overflow interrupt"] #[inline(always)] - #[must_use] pub fn fifo_overflow_intr_ena(&mut self) -> FIFO_OVERFLOW_INTR_ENA_W { FIFO_OVERFLOW_INTR_ENA_W::new(self, 0) } #[doc = "Bit 1 - Set 1 enable mem_full interrupt"] #[inline(always)] - #[must_use] pub fn mem_full_intr_ena(&mut self) -> MEM_FULL_INTR_ENA_W { MEM_FULL_INTR_ENA_W::new(self, 1) } diff --git a/esp32h2/src/trace/mem_addr_update.rs b/esp32h2/src/trace/mem_addr_update.rs index 693933d204..2841817e4d 100644 --- a/esp32h2/src/trace/mem_addr_update.rs +++ b/esp32h2/src/trace/mem_addr_update.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - when set this reg, the current_mem_addr will update to start_addr"] #[inline(always)] - #[must_use] pub fn mem_current_addr_update(&mut self) -> MEM_CURRENT_ADDR_UPDATE_W { MEM_CURRENT_ADDR_UPDATE_W::new(self, 0) } diff --git a/esp32h2/src/trace/mem_end_addr.rs b/esp32h2/src/trace/mem_end_addr.rs index 42474c70d3..a6009c25da 100644 --- a/esp32h2/src/trace/mem_end_addr.rs +++ b/esp32h2/src/trace/mem_end_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The end address of trace memory"] #[inline(always)] - #[must_use] pub fn mem_end_addr(&mut self) -> MEM_END_ADDR_W { MEM_END_ADDR_W::new(self, 0) } diff --git a/esp32h2/src/trace/mem_start_addr.rs b/esp32h2/src/trace/mem_start_addr.rs index 9388d7d3d8..add425580f 100644 --- a/esp32h2/src/trace/mem_start_addr.rs +++ b/esp32h2/src/trace/mem_start_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The start address of trace memory"] #[inline(always)] - #[must_use] pub fn mem_start_addr(&mut self) -> MEM_START_ADDR_W { MEM_START_ADDR_W::new(self, 0) } diff --git a/esp32h2/src/trace/resync_prolonged.rs b/esp32h2/src/trace/resync_prolonged.rs index e0a14e2c2e..4f9fc2e093 100644 --- a/esp32h2/src/trace/resync_prolonged.rs +++ b/esp32h2/src/trace/resync_prolonged.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - count number, when count to this value, send a sync package"] #[inline(always)] - #[must_use] pub fn resync_prolonged(&mut self) -> RESYNC_PROLONGED_W { RESYNC_PROLONGED_W::new(self, 0) } #[doc = "Bit 24 - resyc mode sel: 0: default, cycle count 1: package num count"] #[inline(always)] - #[must_use] pub fn resync_mode(&mut self) -> RESYNC_MODE_W { RESYNC_MODE_W::new(self, 24) } diff --git a/esp32h2/src/trace/trigger.rs b/esp32h2/src/trace/trigger.rs index 74d75f4eae..51ae1186ed 100644 --- a/esp32h2/src/trace/trigger.rs +++ b/esp32h2/src/trace/trigger.rs @@ -38,25 +38,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 0\\] set 1 start trace."] #[inline(always)] - #[must_use] pub fn on(&mut self) -> ON_W { ON_W::new(self, 0) } #[doc = "Bit 1 - set 1 stop trace."] #[inline(always)] - #[must_use] pub fn off(&mut self) -> OFF_W { OFF_W::new(self, 1) } #[doc = "Bit 2 - if this reg is 1, trace will loop wrtie trace_mem. If is 0, when mem_current_addr at mem_end_addr, it will stop at the mem_end_addr"] #[inline(always)] - #[must_use] pub fn mem_loop(&mut self) -> MEM_LOOP_W { MEM_LOOP_W::new(self, 2) } #[doc = "Bit 3 - enable encoder auto-restart, when lost package, the encoder will end, if enable auto-restart, when fifo empty, encoder will restart and send a sync package."] #[inline(always)] - #[must_use] pub fn restart_ena(&mut self) -> RESTART_ENA_W { RESTART_ENA_W::new(self, 3) } diff --git a/esp32h2/src/twai0/bus_timing_0.rs b/esp32h2/src/twai0/bus_timing_0.rs index 61ba7f9077..87039b7af2 100644 --- a/esp32h2/src/twai0/bus_timing_0.rs +++ b/esp32h2/src/twai0/bus_timing_0.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - The period of the TWAI system clock is programmable and determines the individual bit timing. Software has R/W permission in reset mode and RO permission in operation mode."] #[inline(always)] - #[must_use] pub fn baud_presc(&mut self) -> BAUD_PRESC_W { BAUD_PRESC_W::new(self, 0) } #[doc = "Bits 14:15 - The synchronization jump width defines the maximum number of clock cycles a bit period may be shortened or lengthened. Software has R/W permission in reset mode and RO in operation mode."] #[inline(always)] - #[must_use] pub fn sync_jump_width(&mut self) -> SYNC_JUMP_WIDTH_W { SYNC_JUMP_WIDTH_W::new(self, 14) } diff --git a/esp32h2/src/twai0/bus_timing_1.rs b/esp32h2/src/twai0/bus_timing_1.rs index cf9ca9d7d0..e46228e06a 100644 --- a/esp32h2/src/twai0/bus_timing_1.rs +++ b/esp32h2/src/twai0/bus_timing_1.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - The number of clock cycles in TSEG1 per bit timing. Software has R/W permission in reset mode and RO in operation mode."] #[inline(always)] - #[must_use] pub fn time_seg1(&mut self) -> TIME_SEG1_W { TIME_SEG1_W::new(self, 0) } #[doc = "Bits 4:6 - The number of clock cycles in TSEG2 per bit timing. Software has R/W permission in reset mode and RO in operation mode."] #[inline(always)] - #[must_use] pub fn time_seg2(&mut self) -> TIME_SEG2_W { TIME_SEG2_W::new(self, 4) } #[doc = "Bit 7 - 1: triple, the bus is sampled three times. 0: single, the bus is sampled once. Software has R/W permission in reset mode and RO in operation mode."] #[inline(always)] - #[must_use] pub fn time_samp(&mut self) -> TIME_SAMP_W { TIME_SAMP_W::new(self, 7) } diff --git a/esp32h2/src/twai0/clock_divider.rs b/esp32h2/src/twai0/clock_divider.rs index e5721b1077..0738784a04 100644 --- a/esp32h2/src/twai0/clock_divider.rs +++ b/esp32h2/src/twai0/clock_divider.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - These bits are used to define the frequency at the external CLKOUT pin."] #[inline(always)] - #[must_use] pub fn cd(&mut self) -> CD_W { CD_W::new(self, 0) } #[doc = "Bit 8 - 1: Disable the external CLKOUT pin. 0: Enable the external CLKOUT pin. Software has R/W permission in reset mode and RO in operation mode."] #[inline(always)] - #[must_use] pub fn clock_off(&mut self) -> CLOCK_OFF_W { CLOCK_OFF_W::new(self, 8) } diff --git a/esp32h2/src/twai0/cmd.rs b/esp32h2/src/twai0/cmd.rs index 9520ff1437..fe523d8b9a 100644 --- a/esp32h2/src/twai0/cmd.rs +++ b/esp32h2/src/twai0/cmd.rs @@ -19,31 +19,26 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - 1: present, a message shall be transmitted. 0: absent"] #[inline(always)] - #[must_use] pub fn tx_req(&mut self) -> TX_REQ_W { TX_REQ_W::new(self, 0) } #[doc = "Bit 1 - 1: present, if not already in progress, a pending transmission request is cancelled. 0: absent"] #[inline(always)] - #[must_use] pub fn abort_tx(&mut self) -> ABORT_TX_W { ABORT_TX_W::new(self, 1) } #[doc = "Bit 2 - 1: released, the receive buffer, representing the message memory space in the RXFIFO is released. 0: no action"] #[inline(always)] - #[must_use] pub fn release_buf(&mut self) -> RELEASE_BUF_W { RELEASE_BUF_W::new(self, 2) } #[doc = "Bit 3 - 1: clear, the data overrun status bit is cleared. 0: no action."] #[inline(always)] - #[must_use] pub fn clear_data_overrun(&mut self) -> CLEAR_DATA_OVERRUN_W { CLEAR_DATA_OVERRUN_W::new(self, 3) } #[doc = "Bit 4 - 1: present, a message shall be transmitted and received simultaneously. 0: absent."] #[inline(always)] - #[must_use] pub fn self_rx_req(&mut self) -> SELF_RX_REQ_W { SELF_RX_REQ_W::new(self, 4) } diff --git a/esp32h2/src/twai0/data_0.rs b/esp32h2/src/twai0/data_0.rs index 8f6df56aaa..429a627691 100644 --- a/esp32h2/src/twai0/data_0.rs +++ b/esp32h2/src/twai0/data_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance code register 0 with R/W Permission. In operation mode, when software initiate write operation, it is tx data register 0 and when software initiate read operation, it is rx data register 0."] #[inline(always)] - #[must_use] pub fn tx_byte_0(&mut self) -> TX_BYTE_0_W { TX_BYTE_0_W::new(self, 0) } diff --git a/esp32h2/src/twai0/data_1.rs b/esp32h2/src/twai0/data_1.rs index e39492a026..5c6c705acb 100644 --- a/esp32h2/src/twai0/data_1.rs +++ b/esp32h2/src/twai0/data_1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance code register 1 with R/W Permission. In operation mode, when software initiate write operation, it is tx data register 1 and when software initiate read operation, it is rx data register 1."] #[inline(always)] - #[must_use] pub fn tx_byte_1(&mut self) -> TX_BYTE_1_W { TX_BYTE_1_W::new(self, 0) } diff --git a/esp32h2/src/twai0/data_10.rs b/esp32h2/src/twai0/data_10.rs index e9a65b0ddd..d1929c0a90 100644 --- a/esp32h2/src/twai0/data_10.rs +++ b/esp32h2/src/twai0/data_10.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, reserved with RO. In operation mode, when software initiate write operation, it is tx data register 10 and when software initiate read operation, it is rx data register 10."] #[inline(always)] - #[must_use] pub fn tx_byte_10(&mut self) -> TX_BYTE_10_W { TX_BYTE_10_W::new(self, 0) } diff --git a/esp32h2/src/twai0/data_11.rs b/esp32h2/src/twai0/data_11.rs index fd218ff232..65179aae16 100644 --- a/esp32h2/src/twai0/data_11.rs +++ b/esp32h2/src/twai0/data_11.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, reserved with RO. In operation mode, when software initiate write operation, it is tx data register 11 and when software initiate read operation, it is rx data register 11."] #[inline(always)] - #[must_use] pub fn tx_byte_11(&mut self) -> TX_BYTE_11_W { TX_BYTE_11_W::new(self, 0) } diff --git a/esp32h2/src/twai0/data_12.rs b/esp32h2/src/twai0/data_12.rs index 19aafd4498..e74278fc53 100644 --- a/esp32h2/src/twai0/data_12.rs +++ b/esp32h2/src/twai0/data_12.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, reserved with RO. In operation mode, when software initiate write operation, it is tx data register 12 and when software initiate read operation, it is rx data register 12."] #[inline(always)] - #[must_use] pub fn tx_byte_12(&mut self) -> TX_BYTE_12_W { TX_BYTE_12_W::new(self, 0) } diff --git a/esp32h2/src/twai0/data_2.rs b/esp32h2/src/twai0/data_2.rs index 3eb78c0f1a..291cd5902d 100644 --- a/esp32h2/src/twai0/data_2.rs +++ b/esp32h2/src/twai0/data_2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance code register 2 with R/W Permission. In operation mode, when software initiate write operation, it is tx data register 2 and when software initiate read operation, it is rx data register 2."] #[inline(always)] - #[must_use] pub fn tx_byte_2(&mut self) -> TX_BYTE_2_W { TX_BYTE_2_W::new(self, 0) } diff --git a/esp32h2/src/twai0/data_3.rs b/esp32h2/src/twai0/data_3.rs index 52e5719778..448e3f0672 100644 --- a/esp32h2/src/twai0/data_3.rs +++ b/esp32h2/src/twai0/data_3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance code register 3 with R/W Permission. In operation mode, when software initiate write operation, it is tx data register 3 and when software initiate read operation, it is rx data register 3."] #[inline(always)] - #[must_use] pub fn tx_byte_3(&mut self) -> TX_BYTE_3_W { TX_BYTE_3_W::new(self, 0) } diff --git a/esp32h2/src/twai0/data_4.rs b/esp32h2/src/twai0/data_4.rs index d27ba84ff3..bb45ab21ec 100644 --- a/esp32h2/src/twai0/data_4.rs +++ b/esp32h2/src/twai0/data_4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance mask register 0 with R/W Permission. In operation mode, when software initiate write operation, it is tx data register 4 and when software initiate read operation, it is rx data register 4."] #[inline(always)] - #[must_use] pub fn tx_byte_4(&mut self) -> TX_BYTE_4_W { TX_BYTE_4_W::new(self, 0) } diff --git a/esp32h2/src/twai0/data_5.rs b/esp32h2/src/twai0/data_5.rs index e192d48944..5eaf74fb6a 100644 --- a/esp32h2/src/twai0/data_5.rs +++ b/esp32h2/src/twai0/data_5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance mask register 1 with R/W Permission. In operation mode, when software initiate write operation, it is tx data register 5 and when software initiate read operation, it is rx data register 5."] #[inline(always)] - #[must_use] pub fn tx_byte_5(&mut self) -> TX_BYTE_5_W { TX_BYTE_5_W::new(self, 0) } diff --git a/esp32h2/src/twai0/data_6.rs b/esp32h2/src/twai0/data_6.rs index 16fb9ac2a0..200d991a23 100644 --- a/esp32h2/src/twai0/data_6.rs +++ b/esp32h2/src/twai0/data_6.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance mask register 2 with R/W Permission. In operation mode, when software initiate write operation, it is tx data register 6 and when software initiate read operation, it is rx data register 6."] #[inline(always)] - #[must_use] pub fn tx_byte_6(&mut self) -> TX_BYTE_6_W { TX_BYTE_6_W::new(self, 0) } diff --git a/esp32h2/src/twai0/data_7.rs b/esp32h2/src/twai0/data_7.rs index 036d96ac1e..040e6a6318 100644 --- a/esp32h2/src/twai0/data_7.rs +++ b/esp32h2/src/twai0/data_7.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance mask register 3 with R/W Permission. In operation mode, when software initiate write operation, it is tx data register 7 and when software initiate read operation, it is rx data register 7."] #[inline(always)] - #[must_use] pub fn tx_byte_7(&mut self) -> TX_BYTE_7_W { TX_BYTE_7_W::new(self, 0) } diff --git a/esp32h2/src/twai0/data_8.rs b/esp32h2/src/twai0/data_8.rs index 7174de6a78..079693735e 100644 --- a/esp32h2/src/twai0/data_8.rs +++ b/esp32h2/src/twai0/data_8.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, reserved with RO. In operation mode, when software initiate write operation, it is tx data register 8 and when software initiate read operation, it is rx data register 8."] #[inline(always)] - #[must_use] pub fn tx_byte_8(&mut self) -> TX_BYTE_8_W { TX_BYTE_8_W::new(self, 0) } diff --git a/esp32h2/src/twai0/data_9.rs b/esp32h2/src/twai0/data_9.rs index 86fec711e1..8359c2eed9 100644 --- a/esp32h2/src/twai0/data_9.rs +++ b/esp32h2/src/twai0/data_9.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, reserved with RO. In operation mode, when software initiate write operation, it is tx data register 9 and when software initiate read operation, it is rx data register 9."] #[inline(always)] - #[must_use] pub fn tx_byte_9(&mut self) -> TX_BYTE_9_W { TX_BYTE_9_W::new(self, 0) } diff --git a/esp32h2/src/twai0/eco_cfg.rs b/esp32h2/src/twai0/eco_cfg.rs index af2eb9cfb2..63158aed1f 100644 --- a/esp32h2/src/twai0/eco_cfg.rs +++ b/esp32h2/src/twai0/eco_cfg.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Enable eco module."] #[inline(always)] - #[must_use] pub fn rdn_ena(&mut self) -> RDN_ENA_W { RDN_ENA_W::new(self, 0) } diff --git a/esp32h2/src/twai0/err_warning_limit.rs b/esp32h2/src/twai0/err_warning_limit.rs index e41dd0394b..c106164220 100644 --- a/esp32h2/src/twai0/err_warning_limit.rs +++ b/esp32h2/src/twai0/err_warning_limit.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - The threshold that trigger error warning interrupt when this interrupt is enabled. Software has R/W permission in reset mode and RO in operation mode."] #[inline(always)] - #[must_use] pub fn err_warning_limit(&mut self) -> ERR_WARNING_LIMIT_W { ERR_WARNING_LIMIT_W::new(self, 0) } diff --git a/esp32h2/src/twai0/hw_cfg.rs b/esp32h2/src/twai0/hw_cfg.rs index f6458175db..2b41b18ff1 100644 --- a/esp32h2/src/twai0/hw_cfg.rs +++ b/esp32h2/src/twai0/hw_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Enable function that hardware control standby pin."] #[inline(always)] - #[must_use] pub fn hw_standby_en(&mut self) -> HW_STANDBY_EN_W { HW_STANDBY_EN_W::new(self, 0) } diff --git a/esp32h2/src/twai0/hw_standby_cnt.rs b/esp32h2/src/twai0/hw_standby_cnt.rs index 2f6ab1d6ac..c27b493d1a 100644 --- a/esp32h2/src/twai0/hw_standby_cnt.rs +++ b/esp32h2/src/twai0/hw_standby_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configure the number of cycles before standby becomes high when TWAI_HW_STANDBY_EN is enabled."] #[inline(always)] - #[must_use] pub fn standby_wait_cnt(&mut self) -> STANDBY_WAIT_CNT_W { STANDBY_WAIT_CNT_W::new(self, 0) } diff --git a/esp32h2/src/twai0/idle_intr_cnt.rs b/esp32h2/src/twai0/idle_intr_cnt.rs index c94de31b66..6008f23259 100644 --- a/esp32h2/src/twai0/idle_intr_cnt.rs +++ b/esp32h2/src/twai0/idle_intr_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configure the number of cycles before triggering idle interrupt."] #[inline(always)] - #[must_use] pub fn idle_intr_cnt(&mut self) -> IDLE_INTR_CNT_W { IDLE_INTR_CNT_W::new(self, 0) } diff --git a/esp32h2/src/twai0/interrupt_enable.rs b/esp32h2/src/twai0/interrupt_enable.rs index be40a3136c..a3f82226df 100644 --- a/esp32h2/src/twai0/interrupt_enable.rs +++ b/esp32h2/src/twai0/interrupt_enable.rs @@ -92,25 +92,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: enabled, when the receive buffer status is 'full' the TWAI controller requests the respective interrupt. 0: disable"] #[inline(always)] - #[must_use] pub fn ext_receive_int_ena(&mut self) -> EXT_RECEIVE_INT_ENA_W { EXT_RECEIVE_INT_ENA_W::new(self, 0) } #[doc = "Bit 1 - 1: enabled, when a message has been successfully transmitted or the transmit buffer is accessible again (e.g. after an abort transmission command), the TWAI controller requests the respective interrupt. 0: disable"] #[inline(always)] - #[must_use] pub fn ext_transmit_int_ena(&mut self) -> EXT_TRANSMIT_INT_ENA_W { EXT_TRANSMIT_INT_ENA_W::new(self, 1) } #[doc = "Bit 2 - 1: enabled, if the error or bus status change (see status register. Table 14), the TWAI controllerrequests the respective interrupt. 0: disable"] #[inline(always)] - #[must_use] pub fn ext_err_warning_int_ena(&mut self) -> EXT_ERR_WARNING_INT_ENA_W { EXT_ERR_WARNING_INT_ENA_W::new(self, 2) } #[doc = "Bit 3 - 1: enabled, if the data overrun status bit is set (see status register. Table 14), the TWAI controllerrequests the respective interrupt. 0: disable"] #[inline(always)] - #[must_use] pub fn ext_data_overrun_int_ena( &mut self, ) -> EXT_DATA_OVERRUN_INT_ENA_W { @@ -118,13 +114,11 @@ impl W { } #[doc = "Bit 5 - 1: enabled, if the error status of the TWAI controller changes from error active to error passive or vice versa, the respective interrupt is requested. 0: disable"] #[inline(always)] - #[must_use] pub fn err_passive_int_ena(&mut self) -> ERR_PASSIVE_INT_ENA_W { ERR_PASSIVE_INT_ENA_W::new(self, 5) } #[doc = "Bit 6 - 1: enabled, if the TWAI controller has lost arbitration, the respective interrupt is requested. 0: disable"] #[inline(always)] - #[must_use] pub fn arbitration_lost_int_ena( &mut self, ) -> ARBITRATION_LOST_INT_ENA_W { @@ -132,7 +126,6 @@ impl W { } #[doc = "Bit 7 - 1: enabled, if an bus error has been detected, the TWAI controller requests the respective interrupt. 0: disable"] #[inline(always)] - #[must_use] pub fn bus_err_int_ena(&mut self) -> BUS_ERR_INT_ENA_W { BUS_ERR_INT_ENA_W::new(self, 7) } diff --git a/esp32h2/src/twai0/mode.rs b/esp32h2/src/twai0/mode.rs index b2527e4cbf..f0bebf4172 100644 --- a/esp32h2/src/twai0/mode.rs +++ b/esp32h2/src/twai0/mode.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: reset, detection of a set reset mode bit results in aborting the current transmission/reception of a message and entering the reset mode. 0: normal, on the '1-to-0' transition of the reset mode bit, the TWAI controller returns to the operating mode."] #[inline(always)] - #[must_use] pub fn reset_mode(&mut self) -> RESET_MODE_W { RESET_MODE_W::new(self, 0) } #[doc = "Bit 1 - 1: listen only, in this mode the TWAI controller would give no acknowledge to the TWAI-bus, even if a message is received successfully. The error counters are stopped at the current value. 0: normal."] #[inline(always)] - #[must_use] pub fn listen_only_mode(&mut self) -> LISTEN_ONLY_MODE_W { LISTEN_ONLY_MODE_W::new(self, 1) } #[doc = "Bit 2 - 1: self test, in this mode a full node test is possible without any other active node on the bus using the self reception request command. The TWAI controller will perform a successful transmission, even if there is no acknowledge received. 0: normal, an acknowledge is required for successful transmission."] #[inline(always)] - #[must_use] pub fn self_test_mode(&mut self) -> SELF_TEST_MODE_W { SELF_TEST_MODE_W::new(self, 2) } #[doc = "Bit 3 - 1:single, the single acceptance filter option is enabled (one filter with the length of 32 bit is active). 0:dual, the dual acceptance filter option is enabled (two filters, each with the length of 16 bit are active)."] #[inline(always)] - #[must_use] pub fn rx_filter_mode(&mut self) -> RX_FILTER_MODE_W { RX_FILTER_MODE_W::new(self, 3) } diff --git a/esp32h2/src/twai0/rx_err_cnt.rs b/esp32h2/src/twai0/rx_err_cnt.rs index 784a490910..6d9c46bfa9 100644 --- a/esp32h2/src/twai0/rx_err_cnt.rs +++ b/esp32h2/src/twai0/rx_err_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - The RX error counter register reflects the current value of the transmit error counter. Software has R/W permission in reset mode and RO in operation mode."] #[inline(always)] - #[must_use] pub fn rx_err_cnt(&mut self) -> RX_ERR_CNT_W { RX_ERR_CNT_W::new(self, 0) } diff --git a/esp32h2/src/twai0/sw_standby_cfg.rs b/esp32h2/src/twai0/sw_standby_cfg.rs index d3b1779c31..4163b9a685 100644 --- a/esp32h2/src/twai0/sw_standby_cfg.rs +++ b/esp32h2/src/twai0/sw_standby_cfg.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Enable standby pin."] #[inline(always)] - #[must_use] pub fn sw_standby_en(&mut self) -> SW_STANDBY_EN_W { SW_STANDBY_EN_W::new(self, 0) } #[doc = "Bit 1 - Clear standby pin."] #[inline(always)] - #[must_use] pub fn sw_standby_clr(&mut self) -> SW_STANDBY_CLR_W { SW_STANDBY_CLR_W::new(self, 1) } diff --git a/esp32h2/src/twai0/tx_err_cnt.rs b/esp32h2/src/twai0/tx_err_cnt.rs index d0452c6f06..5f20fc6768 100644 --- a/esp32h2/src/twai0/tx_err_cnt.rs +++ b/esp32h2/src/twai0/tx_err_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - The TX error counter register reflects the current value of the transmit error counter. Software has R/W permission in reset mode and RO in operation mode."] #[inline(always)] - #[must_use] pub fn tx_err_cnt(&mut self) -> TX_ERR_CNT_W { TX_ERR_CNT_W::new(self, 0) } diff --git a/esp32h2/src/uart0/at_cmd_char.rs b/esp32h2/src/uart0/at_cmd_char.rs index 63f615f0bb..0cf119bced 100644 --- a/esp32h2/src/uart0/at_cmd_char.rs +++ b/esp32h2/src/uart0/at_cmd_char.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register is used to configure the content of at_cmd char."] #[inline(always)] - #[must_use] pub fn at_cmd_char(&mut self) -> AT_CMD_CHAR_W { AT_CMD_CHAR_W::new(self, 0) } #[doc = "Bits 8:15 - This register is used to configure the num of continuous at_cmd chars received by receiver."] #[inline(always)] - #[must_use] pub fn char_num(&mut self) -> CHAR_NUM_W { CHAR_NUM_W::new(self, 8) } diff --git a/esp32h2/src/uart0/at_cmd_gaptout.rs b/esp32h2/src/uart0/at_cmd_gaptout.rs index aeb0fab8c1..db829b172f 100644 --- a/esp32h2/src/uart0/at_cmd_gaptout.rs +++ b/esp32h2/src/uart0/at_cmd_gaptout.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the duration time between the at_cmd chars."] #[inline(always)] - #[must_use] pub fn rx_gap_tout(&mut self) -> RX_GAP_TOUT_W { RX_GAP_TOUT_W::new(self, 0) } diff --git a/esp32h2/src/uart0/at_cmd_postcnt.rs b/esp32h2/src/uart0/at_cmd_postcnt.rs index a7bf7d2792..1ca8f0cec9 100644 --- a/esp32h2/src/uart0/at_cmd_postcnt.rs +++ b/esp32h2/src/uart0/at_cmd_postcnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the duration time between the last at_cmd and the next data."] #[inline(always)] - #[must_use] pub fn post_idle_num(&mut self) -> POST_IDLE_NUM_W { POST_IDLE_NUM_W::new(self, 0) } diff --git a/esp32h2/src/uart0/at_cmd_precnt.rs b/esp32h2/src/uart0/at_cmd_precnt.rs index c49f64f592..762bf3e056 100644 --- a/esp32h2/src/uart0/at_cmd_precnt.rs +++ b/esp32h2/src/uart0/at_cmd_precnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the idle duration time before the first at_cmd is received by receiver."] #[inline(always)] - #[must_use] pub fn pre_idle_num(&mut self) -> PRE_IDLE_NUM_W { PRE_IDLE_NUM_W::new(self, 0) } diff --git a/esp32h2/src/uart0/clk_conf.rs b/esp32h2/src/uart0/clk_conf.rs index 36248062f3..9a0528cc4f 100644 --- a/esp32h2/src/uart0/clk_conf.rs +++ b/esp32h2/src/uart0/clk_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 24 - Set this bit to enable UART Tx clock."] #[inline(always)] - #[must_use] pub fn tx_sclk_en(&mut self) -> TX_SCLK_EN_W { TX_SCLK_EN_W::new(self, 24) } #[doc = "Bit 25 - Set this bit to enable UART Rx clock."] #[inline(always)] - #[must_use] pub fn sclk_en(&mut self) -> SCLK_EN_W { SCLK_EN_W::new(self, 25) } #[doc = "Bit 26 - Write 1 then write 0 to this bit to reset UART Tx."] #[inline(always)] - #[must_use] pub fn tx_rst_core(&mut self) -> TX_RST_CORE_W { TX_RST_CORE_W::new(self, 26) } #[doc = "Bit 27 - Write 1 then write 0 to this bit to reset UART Rx."] #[inline(always)] - #[must_use] pub fn rst_core(&mut self) -> RST_CORE_W { RST_CORE_W::new(self, 27) } diff --git a/esp32h2/src/uart0/clkdiv.rs b/esp32h2/src/uart0/clkdiv.rs index f5fb653112..4706e2101c 100644 --- a/esp32h2/src/uart0/clkdiv.rs +++ b/esp32h2/src/uart0/clkdiv.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - The integral part of the frequency divider factor."] #[inline(always)] - #[must_use] pub fn clkdiv(&mut self) -> CLKDIV_W { CLKDIV_W::new(self, 0) } #[doc = "Bits 20:23 - The decimal part of the frequency divider factor."] #[inline(always)] - #[must_use] pub fn frag(&mut self) -> FRAG_W { FRAG_W::new(self, 20) } diff --git a/esp32h2/src/uart0/conf0.rs b/esp32h2/src/uart0/conf0.rs index efe11633c6..0d47a030ab 100644 --- a/esp32h2/src/uart0/conf0.rs +++ b/esp32h2/src/uart0/conf0.rs @@ -234,133 +234,111 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This register is used to configure the parity check mode."] #[inline(always)] - #[must_use] pub fn parity(&mut self) -> PARITY_W { PARITY_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to enable uart parity check."] #[inline(always)] - #[must_use] pub fn parity_en(&mut self) -> PARITY_EN_W { PARITY_EN_W::new(self, 1) } #[doc = "Bits 2:3 - This register is used to set the length of data."] #[inline(always)] - #[must_use] pub fn bit_num(&mut self) -> BIT_NUM_W { BIT_NUM_W::new(self, 2) } #[doc = "Bits 4:5 - This register is used to set the length of stop bit."] #[inline(always)] - #[must_use] pub fn stop_bit_num(&mut self) -> STOP_BIT_NUM_W { STOP_BIT_NUM_W::new(self, 4) } #[doc = "Bit 6 - Set this bit to enbale transmitter to send NULL when the process of sending data is done."] #[inline(always)] - #[must_use] pub fn txd_brk(&mut self) -> TXD_BRK_W { TXD_BRK_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to enable IrDA loopback mode."] #[inline(always)] - #[must_use] pub fn irda_dplx(&mut self) -> IRDA_DPLX_W { IRDA_DPLX_W::new(self, 7) } #[doc = "Bit 8 - This is the start enable bit for IrDA transmitter."] #[inline(always)] - #[must_use] pub fn irda_tx_en(&mut self) -> IRDA_TX_EN_W { IRDA_TX_EN_W::new(self, 8) } #[doc = "Bit 9 - 1'h1: The IrDA transmitter's 11th bit is the same as 10th bit. 1'h0: Set IrDA transmitter's 11th bit to 0."] #[inline(always)] - #[must_use] pub fn irda_wctl(&mut self) -> IRDA_WCTL_W { IRDA_WCTL_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to invert the level of IrDA transmitter."] #[inline(always)] - #[must_use] pub fn irda_tx_inv(&mut self) -> IRDA_TX_INV_W { IRDA_TX_INV_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to invert the level of IrDA receiver."] #[inline(always)] - #[must_use] pub fn irda_rx_inv(&mut self) -> IRDA_RX_INV_W { IRDA_RX_INV_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to enable uart loopback test mode."] #[inline(always)] - #[must_use] pub fn loopback(&mut self) -> LOOPBACK_W { LOOPBACK_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to enable flow control function for transmitter."] #[inline(always)] - #[must_use] pub fn tx_flow_en(&mut self) -> TX_FLOW_EN_W { TX_FLOW_EN_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to enable IrDA protocol."] #[inline(always)] - #[must_use] pub fn irda_en(&mut self) -> IRDA_EN_W { IRDA_EN_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to inverse the level value of uart rxd signal."] #[inline(always)] - #[must_use] pub fn rxd_inv(&mut self) -> RXD_INV_W { RXD_INV_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to inverse the level value of uart txd signal."] #[inline(always)] - #[must_use] pub fn txd_inv(&mut self) -> TXD_INV_W { TXD_INV_W::new(self, 16) } #[doc = "Bit 17 - Disable UART Rx data overflow detect."] #[inline(always)] - #[must_use] pub fn dis_rx_dat_ovf(&mut self) -> DIS_RX_DAT_OVF_W { DIS_RX_DAT_OVF_W::new(self, 17) } #[doc = "Bit 18 - 1'h1: Receiver stops storing data into FIFO when data is wrong. 1'h0: Receiver stores the data even if the received data is wrong."] #[inline(always)] - #[must_use] pub fn err_wr_mask(&mut self) -> ERR_WR_MASK_W { ERR_WR_MASK_W::new(self, 18) } #[doc = "Bit 19 - This is the enable bit for detecting baudrate."] #[inline(always)] - #[must_use] pub fn autobaud_en(&mut self) -> AUTOBAUD_EN_W { AUTOBAUD_EN_W::new(self, 19) } #[doc = "Bit 20 - UART memory clock gate enable signal."] #[inline(always)] - #[must_use] pub fn mem_clk_en(&mut self) -> MEM_CLK_EN_W { MEM_CLK_EN_W::new(self, 20) } #[doc = "Bit 21 - This register is used to configure the software rts signal which is used in software flow control."] #[inline(always)] - #[must_use] pub fn sw_rts(&mut self) -> SW_RTS_W { SW_RTS_W::new(self, 21) } #[doc = "Bit 22 - Set this bit to reset the uart receive-FIFO."] #[inline(always)] - #[must_use] pub fn rxfifo_rst(&mut self) -> RXFIFO_RST_W { RXFIFO_RST_W::new(self, 22) } #[doc = "Bit 23 - Set this bit to reset the uart transmit-FIFO."] #[inline(always)] - #[must_use] pub fn txfifo_rst(&mut self) -> TXFIFO_RST_W { TXFIFO_RST_W::new(self, 23) } diff --git a/esp32h2/src/uart0/conf1.rs b/esp32h2/src/uart0/conf1.rs index ce3e56a81b..0c5f51a063 100644 --- a/esp32h2/src/uart0/conf1.rs +++ b/esp32h2/src/uart0/conf1.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - It will produce rxfifo_full_int interrupt when receiver receives more data than this register value."] #[inline(always)] - #[must_use] pub fn rxfifo_full_thrhd(&mut self) -> RXFIFO_FULL_THRHD_W { RXFIFO_FULL_THRHD_W::new(self, 0) } #[doc = "Bits 8:15 - It will produce txfifo_empty_int interrupt when the data amount in Tx-FIFO is less than this register value."] #[inline(always)] - #[must_use] pub fn txfifo_empty_thrhd(&mut self) -> TXFIFO_EMPTY_THRHD_W { TXFIFO_EMPTY_THRHD_W::new(self, 8) } #[doc = "Bit 16 - Set this bit to inverse the level value of uart cts signal."] #[inline(always)] - #[must_use] pub fn cts_inv(&mut self) -> CTS_INV_W { CTS_INV_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to inverse the level value of uart dsr signal."] #[inline(always)] - #[must_use] pub fn dsr_inv(&mut self) -> DSR_INV_W { DSR_INV_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to inverse the level value of uart rts signal."] #[inline(always)] - #[must_use] pub fn rts_inv(&mut self) -> RTS_INV_W { RTS_INV_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to inverse the level value of uart dtr signal."] #[inline(always)] - #[must_use] pub fn dtr_inv(&mut self) -> DTR_INV_W { DTR_INV_W::new(self, 19) } #[doc = "Bit 20 - This register is used to configure the software dtr signal which is used in software flow control."] #[inline(always)] - #[must_use] pub fn sw_dtr(&mut self) -> SW_DTR_W { SW_DTR_W::new(self, 20) } #[doc = "Bit 21 - 1'h1: Force clock on for register. 1'h0: Support clock only when application writes registers."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 21) } diff --git a/esp32h2/src/uart0/date.rs b/esp32h2/src/uart0/date.rs index 21b7914fe2..59738915d5 100644 --- a/esp32h2/src/uart0/date.rs +++ b/esp32h2/src/uart0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This is the version register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32h2/src/uart0/fifo.rs b/esp32h2/src/uart0/fifo.rs index bbd207ed48..044c77bb18 100644 --- a/esp32h2/src/uart0/fifo.rs +++ b/esp32h2/src/uart0/fifo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - UART 0 accesses FIFO via this register."] #[inline(always)] - #[must_use] pub fn rxfifo_rd_byte(&mut self) -> RXFIFO_RD_BYTE_W { RXFIFO_RD_BYTE_W::new(self, 0) } diff --git a/esp32h2/src/uart0/hwfc_conf.rs b/esp32h2/src/uart0/hwfc_conf.rs index 4498df7d34..629a2ddd8f 100644 --- a/esp32h2/src/uart0/hwfc_conf.rs +++ b/esp32h2/src/uart0/hwfc_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register is used to configure the maximum amount of data that can be received when hardware flow control works."] #[inline(always)] - #[must_use] pub fn rx_flow_thrhd(&mut self) -> RX_FLOW_THRHD_W { RX_FLOW_THRHD_W::new(self, 0) } #[doc = "Bit 8 - This is the flow enable bit for UART receiver."] #[inline(always)] - #[must_use] pub fn rx_flow_en(&mut self) -> RX_FLOW_EN_W { RX_FLOW_EN_W::new(self, 8) } diff --git a/esp32h2/src/uart0/id.rs b/esp32h2/src/uart0/id.rs index eb25e6637f..23a8344e90 100644 --- a/esp32h2/src/uart0/id.rs +++ b/esp32h2/src/uart0/id.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This register is used to configure the uart_id."] #[inline(always)] - #[must_use] pub fn id(&mut self) -> ID_W { ID_W::new(self, 0) } diff --git a/esp32h2/src/uart0/idle_conf.rs b/esp32h2/src/uart0/idle_conf.rs index c3bcd173ed..3e67f9b8b2 100644 --- a/esp32h2/src/uart0/idle_conf.rs +++ b/esp32h2/src/uart0/idle_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - It will produce frame end signal when receiver takes more time to receive one byte data than this register value."] #[inline(always)] - #[must_use] pub fn rx_idle_thrhd(&mut self) -> RX_IDLE_THRHD_W { RX_IDLE_THRHD_W::new(self, 0) } #[doc = "Bits 10:19 - This register is used to configure the duration time between transfers."] #[inline(always)] - #[must_use] pub fn tx_idle_num(&mut self) -> TX_IDLE_NUM_W { TX_IDLE_NUM_W::new(self, 10) } diff --git a/esp32h2/src/uart0/int_clr.rs b/esp32h2/src/uart0/int_clr.rs index 83be88b461..40688a1933 100644 --- a/esp32h2/src/uart0/int_clr.rs +++ b/esp32h2/src/uart0/int_clr.rs @@ -49,121 +49,101 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the rxfifo_full_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_full(&mut self) -> RXFIFO_FULL_W { RXFIFO_FULL_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear txfifo_empty_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_empty(&mut self) -> TXFIFO_EMPTY_W { TXFIFO_EMPTY_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear parity_err_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn parity_err(&mut self) -> PARITY_ERR_W { PARITY_ERR_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear frm_err_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn frm_err(&mut self) -> FRM_ERR_W { FRM_ERR_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear rxfifo_ovf_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the dsr_chg_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn dsr_chg(&mut self) -> DSR_CHG_W { DSR_CHG_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the cts_chg_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn cts_chg(&mut self) -> CTS_CHG_W { CTS_CHG_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the brk_det_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn brk_det(&mut self) -> BRK_DET_W { BRK_DET_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the rxfifo_tout_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_tout(&mut self) -> RXFIFO_TOUT_W { RXFIFO_TOUT_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear the sw_xon_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn sw_xon(&mut self) -> SW_XON_W { SW_XON_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to clear the sw_xoff_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn sw_xoff(&mut self) -> SW_XOFF_W { SW_XOFF_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear the glitch_det_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to clear the tx_brk_done_int_raw interrupt.."] #[inline(always)] - #[must_use] pub fn tx_brk_done(&mut self) -> TX_BRK_DONE_W { TX_BRK_DONE_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to clear the tx_brk_idle_done_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn tx_brk_idle_done(&mut self) -> TX_BRK_IDLE_DONE_W { TX_BRK_IDLE_DONE_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to clear the tx_done_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to clear the rs485_parity_err_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rs485_parity_err(&mut self) -> RS485_PARITY_ERR_W { RS485_PARITY_ERR_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to clear the rs485_frm_err_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rs485_frm_err(&mut self) -> RS485_FRM_ERR_W { RS485_FRM_ERR_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to clear the rs485_clash_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rs485_clash(&mut self) -> RS485_CLASH_W { RS485_CLASH_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to clear the at_cmd_char_det_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn at_cmd_char_det(&mut self) -> AT_CMD_CHAR_DET_W { AT_CMD_CHAR_DET_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to clear the uart_wakeup_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn wakeup(&mut self) -> WAKEUP_W { WAKEUP_W::new(self, 19) } diff --git a/esp32h2/src/uart0/int_ena.rs b/esp32h2/src/uart0/int_ena.rs index dc9361e638..14f56e1ffd 100644 --- a/esp32h2/src/uart0/int_ena.rs +++ b/esp32h2/src/uart0/int_ena.rs @@ -214,121 +214,101 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This is the enable bit for rxfifo_full_int_st register."] #[inline(always)] - #[must_use] pub fn rxfifo_full(&mut self) -> RXFIFO_FULL_W { RXFIFO_FULL_W::new(self, 0) } #[doc = "Bit 1 - This is the enable bit for txfifo_empty_int_st register."] #[inline(always)] - #[must_use] pub fn txfifo_empty(&mut self) -> TXFIFO_EMPTY_W { TXFIFO_EMPTY_W::new(self, 1) } #[doc = "Bit 2 - This is the enable bit for parity_err_int_st register."] #[inline(always)] - #[must_use] pub fn parity_err(&mut self) -> PARITY_ERR_W { PARITY_ERR_W::new(self, 2) } #[doc = "Bit 3 - This is the enable bit for frm_err_int_st register."] #[inline(always)] - #[must_use] pub fn frm_err(&mut self) -> FRM_ERR_W { FRM_ERR_W::new(self, 3) } #[doc = "Bit 4 - This is the enable bit for rxfifo_ovf_int_st register."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - This is the enable bit for dsr_chg_int_st register."] #[inline(always)] - #[must_use] pub fn dsr_chg(&mut self) -> DSR_CHG_W { DSR_CHG_W::new(self, 5) } #[doc = "Bit 6 - This is the enable bit for cts_chg_int_st register."] #[inline(always)] - #[must_use] pub fn cts_chg(&mut self) -> CTS_CHG_W { CTS_CHG_W::new(self, 6) } #[doc = "Bit 7 - This is the enable bit for brk_det_int_st register."] #[inline(always)] - #[must_use] pub fn brk_det(&mut self) -> BRK_DET_W { BRK_DET_W::new(self, 7) } #[doc = "Bit 8 - This is the enable bit for rxfifo_tout_int_st register."] #[inline(always)] - #[must_use] pub fn rxfifo_tout(&mut self) -> RXFIFO_TOUT_W { RXFIFO_TOUT_W::new(self, 8) } #[doc = "Bit 9 - This is the enable bit for sw_xon_int_st register."] #[inline(always)] - #[must_use] pub fn sw_xon(&mut self) -> SW_XON_W { SW_XON_W::new(self, 9) } #[doc = "Bit 10 - This is the enable bit for sw_xoff_int_st register."] #[inline(always)] - #[must_use] pub fn sw_xoff(&mut self) -> SW_XOFF_W { SW_XOFF_W::new(self, 10) } #[doc = "Bit 11 - This is the enable bit for glitch_det_int_st register."] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 11) } #[doc = "Bit 12 - This is the enable bit for tx_brk_done_int_st register."] #[inline(always)] - #[must_use] pub fn tx_brk_done(&mut self) -> TX_BRK_DONE_W { TX_BRK_DONE_W::new(self, 12) } #[doc = "Bit 13 - This is the enable bit for tx_brk_idle_done_int_st register."] #[inline(always)] - #[must_use] pub fn tx_brk_idle_done(&mut self) -> TX_BRK_IDLE_DONE_W { TX_BRK_IDLE_DONE_W::new(self, 13) } #[doc = "Bit 14 - This is the enable bit for tx_done_int_st register."] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 14) } #[doc = "Bit 15 - This is the enable bit for rs485_parity_err_int_st register."] #[inline(always)] - #[must_use] pub fn rs485_parity_err(&mut self) -> RS485_PARITY_ERR_W { RS485_PARITY_ERR_W::new(self, 15) } #[doc = "Bit 16 - This is the enable bit for rs485_parity_err_int_st register."] #[inline(always)] - #[must_use] pub fn rs485_frm_err(&mut self) -> RS485_FRM_ERR_W { RS485_FRM_ERR_W::new(self, 16) } #[doc = "Bit 17 - This is the enable bit for rs485_clash_int_st register."] #[inline(always)] - #[must_use] pub fn rs485_clash(&mut self) -> RS485_CLASH_W { RS485_CLASH_W::new(self, 17) } #[doc = "Bit 18 - This is the enable bit for at_cmd_char_det_int_st register."] #[inline(always)] - #[must_use] pub fn at_cmd_char_det(&mut self) -> AT_CMD_CHAR_DET_W { AT_CMD_CHAR_DET_W::new(self, 18) } #[doc = "Bit 19 - This is the enable bit for uart_wakeup_int_st register."] #[inline(always)] - #[must_use] pub fn wakeup(&mut self) -> WAKEUP_W { WAKEUP_W::new(self, 19) } diff --git a/esp32h2/src/uart0/int_raw.rs b/esp32h2/src/uart0/int_raw.rs index 675c083a64..28af6e89b8 100644 --- a/esp32h2/src/uart0/int_raw.rs +++ b/esp32h2/src/uart0/int_raw.rs @@ -214,121 +214,101 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This interrupt raw bit turns to high level when receiver receives more data than what rxfifo_full_thrhd specifies."] #[inline(always)] - #[must_use] pub fn rxfifo_full(&mut self) -> RXFIFO_FULL_W { RXFIFO_FULL_W::new(self, 0) } #[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 ."] #[inline(always)] - #[must_use] pub fn txfifo_empty(&mut self) -> TXFIFO_EMPTY_W { TXFIFO_EMPTY_W::new(self, 1) } #[doc = "Bit 2 - This interrupt raw bit turns to high level when receiver detects a parity error in the data."] #[inline(always)] - #[must_use] pub fn parity_err(&mut self) -> PARITY_ERR_W { PARITY_ERR_W::new(self, 2) } #[doc = "Bit 3 - This interrupt raw bit turns to high level when receiver detects a data frame error ."] #[inline(always)] - #[must_use] pub fn frm_err(&mut self) -> FRM_ERR_W { FRM_ERR_W::new(self, 3) } #[doc = "Bit 4 - This interrupt raw bit turns to high level when receiver receives more data than the FIFO can store."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - This interrupt raw bit turns to high level when receiver detects the edge change of DSRn signal."] #[inline(always)] - #[must_use] pub fn dsr_chg(&mut self) -> DSR_CHG_W { DSR_CHG_W::new(self, 5) } #[doc = "Bit 6 - This interrupt raw bit turns to high level when receiver detects the edge change of CTSn signal."] #[inline(always)] - #[must_use] pub fn cts_chg(&mut self) -> CTS_CHG_W { CTS_CHG_W::new(self, 6) } #[doc = "Bit 7 - This interrupt raw bit turns to high level when receiver detects a 0 after the stop bit."] #[inline(always)] - #[must_use] pub fn brk_det(&mut self) -> BRK_DET_W { BRK_DET_W::new(self, 7) } #[doc = "Bit 8 - This interrupt raw bit turns to high level when receiver takes more time than rx_tout_thrhd to receive a byte."] #[inline(always)] - #[must_use] pub fn rxfifo_tout(&mut self) -> RXFIFO_TOUT_W { RXFIFO_TOUT_W::new(self, 8) } #[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."] #[inline(always)] - #[must_use] pub fn sw_xon(&mut self) -> SW_XON_W { SW_XON_W::new(self, 9) } #[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."] #[inline(always)] - #[must_use] pub fn sw_xoff(&mut self) -> SW_XOFF_W { SW_XOFF_W::new(self, 10) } #[doc = "Bit 11 - This interrupt raw bit turns to high level when receiver detects a glitch in the middle of a start bit."] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 11) } #[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."] #[inline(always)] - #[must_use] pub fn tx_brk_done(&mut self) -> TX_BRK_DONE_W { TX_BRK_DONE_W::new(self, 12) } #[doc = "Bit 13 - This interrupt raw bit turns to high level when transmitter has kept the shortest duration after sending the last data."] #[inline(always)] - #[must_use] pub fn tx_brk_idle_done(&mut self) -> TX_BRK_IDLE_DONE_W { TX_BRK_IDLE_DONE_W::new(self, 13) } #[doc = "Bit 14 - This interrupt raw bit turns to high level when transmitter has send out all data in FIFO."] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 14) } #[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."] #[inline(always)] - #[must_use] pub fn rs485_parity_err(&mut self) -> RS485_PARITY_ERR_W { RS485_PARITY_ERR_W::new(self, 15) } #[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."] #[inline(always)] - #[must_use] pub fn rs485_frm_err(&mut self) -> RS485_FRM_ERR_W { RS485_FRM_ERR_W::new(self, 16) } #[doc = "Bit 17 - This interrupt raw bit turns to high level when detects a clash between transmitter and receiver in rs485 mode."] #[inline(always)] - #[must_use] pub fn rs485_clash(&mut self) -> RS485_CLASH_W { RS485_CLASH_W::new(self, 17) } #[doc = "Bit 18 - This interrupt raw bit turns to high level when receiver detects the configured at_cmd char."] #[inline(always)] - #[must_use] pub fn at_cmd_char_det(&mut self) -> AT_CMD_CHAR_DET_W { AT_CMD_CHAR_DET_W::new(self, 18) } #[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."] #[inline(always)] - #[must_use] pub fn wakeup(&mut self) -> WAKEUP_W { WAKEUP_W::new(self, 19) } diff --git a/esp32h2/src/uart0/mem_conf.rs b/esp32h2/src/uart0/mem_conf.rs index 1f787205ea..a67b04163f 100644 --- a/esp32h2/src/uart0/mem_conf.rs +++ b/esp32h2/src/uart0/mem_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 25 - Set this bit to force power down UART memory."] #[inline(always)] - #[must_use] pub fn mem_force_pd(&mut self) -> MEM_FORCE_PD_W { MEM_FORCE_PD_W::new(self, 25) } #[doc = "Bit 26 - Set this bit to force power up UART memory."] #[inline(always)] - #[must_use] pub fn mem_force_pu(&mut self) -> MEM_FORCE_PU_W { MEM_FORCE_PU_W::new(self, 26) } diff --git a/esp32h2/src/uart0/reg_update.rs b/esp32h2/src/uart0/reg_update.rs index 0188a4af8b..916c47f8ce 100644 --- a/esp32h2/src/uart0/reg_update.rs +++ b/esp32h2/src/uart0/reg_update.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Software write 1 would synchronize registers into UART Core clock domain and would be cleared by hardware after synchronization is done."] #[inline(always)] - #[must_use] pub fn reg_update(&mut self) -> REG_UPDATE_W { REG_UPDATE_W::new(self, 0) } diff --git a/esp32h2/src/uart0/rs485_conf.rs b/esp32h2/src/uart0/rs485_conf.rs index 5ee32256ba..4e52a1709a 100644 --- a/esp32h2/src/uart0/rs485_conf.rs +++ b/esp32h2/src/uart0/rs485_conf.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to choose the rs485 mode."] #[inline(always)] - #[must_use] pub fn rs485_en(&mut self) -> RS485_EN_W { RS485_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to delay the stop bit by 1 bit."] #[inline(always)] - #[must_use] pub fn dl0_en(&mut self) -> DL0_EN_W { DL0_EN_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to delay the stop bit by 1 bit."] #[inline(always)] - #[must_use] pub fn dl1_en(&mut self) -> DL1_EN_W { DL1_EN_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to enable receiver could receive data when the transmitter is transmitting data in rs485 mode."] #[inline(always)] - #[must_use] pub fn rs485tx_rx_en(&mut self) -> RS485TX_RX_EN_W { RS485TX_RX_EN_W::new(self, 3) } #[doc = "Bit 4 - 1'h1: enable rs485 transmitter to send data when rs485 receiver line is busy."] #[inline(always)] - #[must_use] pub fn rs485rxby_tx_en(&mut self) -> RS485RXBY_TX_EN_W { RS485RXBY_TX_EN_W::new(self, 4) } #[doc = "Bit 5 - This register is used to delay the receiver's internal data signal."] #[inline(always)] - #[must_use] pub fn rs485_rx_dly_num(&mut self) -> RS485_RX_DLY_NUM_W { RS485_RX_DLY_NUM_W::new(self, 5) } #[doc = "Bits 6:9 - This register is used to delay the transmitter's internal data signal."] #[inline(always)] - #[must_use] pub fn rs485_tx_dly_num(&mut self) -> RS485_TX_DLY_NUM_W { RS485_TX_DLY_NUM_W::new(self, 6) } diff --git a/esp32h2/src/uart0/rx_filt.rs b/esp32h2/src/uart0/rx_filt.rs index e8368344b8..acace76ca6 100644 --- a/esp32h2/src/uart0/rx_filt.rs +++ b/esp32h2/src/uart0/rx_filt.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - when input pulse width is lower than this value the pulse is ignored."] #[inline(always)] - #[must_use] pub fn glitch_filt(&mut self) -> GLITCH_FILT_W { GLITCH_FILT_W::new(self, 0) } #[doc = "Bit 8 - Set this bit to enable Rx signal filter."] #[inline(always)] - #[must_use] pub fn glitch_filt_en(&mut self) -> GLITCH_FILT_EN_W { GLITCH_FILT_EN_W::new(self, 8) } diff --git a/esp32h2/src/uart0/sleep_conf0.rs b/esp32h2/src/uart0/sleep_conf0.rs index 631ebdc15f..ab40e70e13 100644 --- a/esp32h2/src/uart0/sleep_conf0.rs +++ b/esp32h2/src/uart0/sleep_conf0.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register restores the specified wake up char1 to wake up"] #[inline(always)] - #[must_use] pub fn wk_char1(&mut self) -> WK_CHAR1_W { WK_CHAR1_W::new(self, 0) } #[doc = "Bits 8:15 - This register restores the specified wake up char2 to wake up"] #[inline(always)] - #[must_use] pub fn wk_char2(&mut self) -> WK_CHAR2_W { WK_CHAR2_W::new(self, 8) } #[doc = "Bits 16:23 - This register restores the specified wake up char3 to wake up"] #[inline(always)] - #[must_use] pub fn wk_char3(&mut self) -> WK_CHAR3_W { WK_CHAR3_W::new(self, 16) } #[doc = "Bits 24:31 - This register restores the specified wake up char4 to wake up"] #[inline(always)] - #[must_use] pub fn wk_char4(&mut self) -> WK_CHAR4_W { WK_CHAR4_W::new(self, 24) } diff --git a/esp32h2/src/uart0/sleep_conf1.rs b/esp32h2/src/uart0/sleep_conf1.rs index 8af8538d7d..dadc7d2d8e 100644 --- a/esp32h2/src/uart0/sleep_conf1.rs +++ b/esp32h2/src/uart0/sleep_conf1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register restores the specified char0 to wake up"] #[inline(always)] - #[must_use] pub fn wk_char0(&mut self) -> WK_CHAR0_W { WK_CHAR0_W::new(self, 0) } diff --git a/esp32h2/src/uart0/sleep_conf2.rs b/esp32h2/src/uart0/sleep_conf2.rs index 7e3e2dd223..7020f4872f 100644 --- a/esp32h2/src/uart0/sleep_conf2.rs +++ b/esp32h2/src/uart0/sleep_conf2.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - The uart is activated from light sleeping mode when the input rxd edge changes more times than this register value."] #[inline(always)] - #[must_use] pub fn active_threshold(&mut self) -> ACTIVE_THRESHOLD_W { ACTIVE_THRESHOLD_W::new(self, 0) } #[doc = "Bits 10:17 - In wake up mode 1 this field is used to set the received data number threshold to wake up chip."] #[inline(always)] - #[must_use] pub fn rx_wake_up_thrhd(&mut self) -> RX_WAKE_UP_THRHD_W { RX_WAKE_UP_THRHD_W::new(self, 10) } #[doc = "Bits 18:20 - This register is used to select number of wake up char."] #[inline(always)] - #[must_use] pub fn wk_char_num(&mut self) -> WK_CHAR_NUM_W { WK_CHAR_NUM_W::new(self, 18) } #[doc = "Bits 21:25 - This register is used to mask wake up char."] #[inline(always)] - #[must_use] pub fn wk_char_mask(&mut self) -> WK_CHAR_MASK_W { WK_CHAR_MASK_W::new(self, 21) } #[doc = "Bits 26:27 - This register is used to select wake up mode. 0: RXD toggling to wake up. 1: received data number larger than"] #[inline(always)] - #[must_use] pub fn wk_mode_sel(&mut self) -> WK_MODE_SEL_W { WK_MODE_SEL_W::new(self, 26) } diff --git a/esp32h2/src/uart0/swfc_conf0.rs b/esp32h2/src/uart0/swfc_conf0.rs index ee8c28d233..0b7aaf0459 100644 --- a/esp32h2/src/uart0/swfc_conf0.rs +++ b/esp32h2/src/uart0/swfc_conf0.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register stores the Xon flow control char."] #[inline(always)] - #[must_use] pub fn xon_char(&mut self) -> XON_CHAR_W { XON_CHAR_W::new(self, 0) } #[doc = "Bits 8:15 - This register stores the Xoff flow control char."] #[inline(always)] - #[must_use] pub fn xoff_char(&mut self) -> XOFF_CHAR_W { XOFF_CHAR_W::new(self, 8) } #[doc = "Bit 16 - In software flow control mode, UART Tx is disabled once UART Rx receives XOFF. In this status, UART Tx can not transmit XOFF even the received data number is larger than UART_XOFF_THRESHOLD. Set this bit to enable UART Tx can transmit XON/XOFF when UART Tx is disabled."] #[inline(always)] - #[must_use] pub fn xon_xoff_still_send(&mut self) -> XON_XOFF_STILL_SEND_W { XON_XOFF_STILL_SEND_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to enable software flow control. It is used with register sw_xon or sw_xoff."] #[inline(always)] - #[must_use] pub fn sw_flow_con_en(&mut self) -> SW_FLOW_CON_EN_W { SW_FLOW_CON_EN_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to remove flow control char from the received data."] #[inline(always)] - #[must_use] pub fn xonoff_del(&mut self) -> XONOFF_DEL_W { XONOFF_DEL_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to enable the transmitter to go on sending data."] #[inline(always)] - #[must_use] pub fn force_xon(&mut self) -> FORCE_XON_W { FORCE_XON_W::new(self, 19) } #[doc = "Bit 20 - Set this bit to stop the transmitter from sending data."] #[inline(always)] - #[must_use] pub fn force_xoff(&mut self) -> FORCE_XOFF_W { FORCE_XOFF_W::new(self, 20) } #[doc = "Bit 21 - Set this bit to send Xon char. It is cleared by hardware automatically."] #[inline(always)] - #[must_use] pub fn send_xon(&mut self) -> SEND_XON_W { SEND_XON_W::new(self, 21) } #[doc = "Bit 22 - Set this bit to send Xoff char. It is cleared by hardware automatically."] #[inline(always)] - #[must_use] pub fn send_xoff(&mut self) -> SEND_XOFF_W { SEND_XOFF_W::new(self, 22) } diff --git a/esp32h2/src/uart0/swfc_conf1.rs b/esp32h2/src/uart0/swfc_conf1.rs index 0fc4cc40f6..972024ee10 100644 --- a/esp32h2/src/uart0/swfc_conf1.rs +++ b/esp32h2/src/uart0/swfc_conf1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - When the data amount in Rx-FIFO is less than this register value with uart_sw_flow_con_en set to 1 it will send a Xon char."] #[inline(always)] - #[must_use] pub fn xon_threshold(&mut self) -> XON_THRESHOLD_W { XON_THRESHOLD_W::new(self, 0) } #[doc = "Bits 8:15 - When the data amount in Rx-FIFO is more than this register value with uart_sw_flow_con_en set to 1 it will send a Xoff char."] #[inline(always)] - #[must_use] pub fn xoff_threshold(&mut self) -> XOFF_THRESHOLD_W { XOFF_THRESHOLD_W::new(self, 8) } diff --git a/esp32h2/src/uart0/tout_conf.rs b/esp32h2/src/uart0/tout_conf.rs index 9bc77ee497..d681869b89 100644 --- a/esp32h2/src/uart0/tout_conf.rs +++ b/esp32h2/src/uart0/tout_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This is the enble bit for uart receiver's timeout function."] #[inline(always)] - #[must_use] pub fn rx_tout_en(&mut self) -> RX_TOUT_EN_W { RX_TOUT_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to stop accumulating idle_cnt when hardware flow control works."] #[inline(always)] - #[must_use] pub fn rx_tout_flow_dis(&mut self) -> RX_TOUT_FLOW_DIS_W { RX_TOUT_FLOW_DIS_W::new(self, 1) } #[doc = "Bits 2:11 - This register is used to configure the threshold time that receiver takes to receive one byte. The rxfifo_tout_int interrupt will be trigger when the receiver takes more time to receive one byte with rx_tout_en set to 1."] #[inline(always)] - #[must_use] pub fn rx_tout_thrhd(&mut self) -> RX_TOUT_THRHD_W { RX_TOUT_THRHD_W::new(self, 2) } diff --git a/esp32h2/src/uart0/txbrk_conf.rs b/esp32h2/src/uart0/txbrk_conf.rs index 3fd0ce2689..7772196638 100644 --- a/esp32h2/src/uart0/txbrk_conf.rs +++ b/esp32h2/src/uart0/txbrk_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register is used to configure the number of 0 to be sent after the process of sending data is done. It is active when txd_brk is set to 1."] #[inline(always)] - #[must_use] pub fn tx_brk_num(&mut self) -> TX_BRK_NUM_W { TX_BRK_NUM_W::new(self, 0) } diff --git a/esp32h2/src/uhci0/ack_num.rs b/esp32h2/src/uhci0/ack_num.rs index 334f8b2a79..d366e6d306 100644 --- a/esp32h2/src/uhci0/ack_num.rs +++ b/esp32h2/src/uhci0/ack_num.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - a"] #[inline(always)] - #[must_use] pub fn ack_num(&mut self) -> ACK_NUM_W { ACK_NUM_W::new(self, 0) } #[doc = "Bit 3 - a"] #[inline(always)] - #[must_use] pub fn load(&mut self) -> LOAD_W { LOAD_W::new(self, 3) } diff --git a/esp32h2/src/uhci0/conf0.rs b/esp32h2/src/uhci0/conf0.rs index 9e7637db1f..fc615d4d50 100644 --- a/esp32h2/src/uhci0/conf0.rs +++ b/esp32h2/src/uhci0/conf0.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Write 1 then write 0 to this bit to reset decode state machine."] #[inline(always)] - #[must_use] pub fn tx_rst(&mut self) -> TX_RST_W { TX_RST_W::new(self, 0) } #[doc = "Bit 1 - Write 1 then write 0 to this bit to reset encode state machine."] #[inline(always)] - #[must_use] pub fn rx_rst(&mut self) -> RX_RST_W { RX_RST_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to link up HCI and UART0."] #[inline(always)] - #[must_use] pub fn uart0_ce(&mut self) -> UART0_CE_W { UART0_CE_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to link up HCI and UART1."] #[inline(always)] - #[must_use] pub fn uart1_ce(&mut self) -> UART1_CE_W { UART1_CE_W::new(self, 3) } #[doc = "Bit 5 - Set this bit to separate the data frame using a special char."] #[inline(always)] - #[must_use] pub fn seper_en(&mut self) -> SEPER_EN_W { SEPER_EN_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to encode the data packet with a formatting header."] #[inline(always)] - #[must_use] pub fn head_en(&mut self) -> HEAD_EN_W { HEAD_EN_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to enable UHCI to receive the 16 bit CRC."] #[inline(always)] - #[must_use] pub fn crc_rec_en(&mut self) -> CRC_REC_EN_W { CRC_REC_EN_W::new(self, 7) } #[doc = "Bit 8 - If this bit is set to 1 UHCI will end the payload receiving process when UART has been in idle state."] #[inline(always)] - #[must_use] pub fn uart_idle_eof_en(&mut self) -> UART_IDLE_EOF_EN_W { UART_IDLE_EOF_EN_W::new(self, 8) } #[doc = "Bit 9 - If this bit is set to 1 UHCI decoder receiving payload data is end when the receiving byte count has reached the specified value. The value is payload length indicated by UHCI packet header when UHCI_HEAD_EN is 1 or the value is configuration value when UHCI_HEAD_EN is 0. If this bit is set to 0 UHCI decoder receiving payload data is end when 0xc0 is received."] #[inline(always)] - #[must_use] pub fn len_eof_en(&mut self) -> LEN_EOF_EN_W { LEN_EOF_EN_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to enable data integrity checking by appending a 16 bit CCITT-CRC to end of the payload."] #[inline(always)] - #[must_use] pub fn encode_crc_en(&mut self) -> ENCODE_CRC_EN_W { ENCODE_CRC_EN_W::new(self, 10) } #[doc = "Bit 11 - 1'b1: Force clock on for register. 1'b0: Support clock only when application writes registers."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 11) } #[doc = "Bit 12 - If this bit is set to 1 UHCI will end payload receive process when NULL frame is received by UART."] #[inline(always)] - #[must_use] pub fn uart_rx_brk_eof_en(&mut self) -> UART_RX_BRK_EOF_EN_W { UART_RX_BRK_EOF_EN_W::new(self, 12) } diff --git a/esp32h2/src/uhci0/conf1.rs b/esp32h2/src/uhci0/conf1.rs index 8bb3fcbc8c..3259438f32 100644 --- a/esp32h2/src/uhci0/conf1.rs +++ b/esp32h2/src/uhci0/conf1.rs @@ -86,49 +86,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - a"] #[inline(always)] - #[must_use] pub fn check_sum_en(&mut self) -> CHECK_SUM_EN_W { CHECK_SUM_EN_W::new(self, 0) } #[doc = "Bit 1 - a"] #[inline(always)] - #[must_use] pub fn check_seq_en(&mut self) -> CHECK_SEQ_EN_W { CHECK_SEQ_EN_W::new(self, 1) } #[doc = "Bit 2 - a"] #[inline(always)] - #[must_use] pub fn crc_disable(&mut self) -> CRC_DISABLE_W { CRC_DISABLE_W::new(self, 2) } #[doc = "Bit 3 - a"] #[inline(always)] - #[must_use] pub fn save_head(&mut self) -> SAVE_HEAD_W { SAVE_HEAD_W::new(self, 3) } #[doc = "Bit 4 - a"] #[inline(always)] - #[must_use] pub fn tx_check_sum_re(&mut self) -> TX_CHECK_SUM_RE_W { TX_CHECK_SUM_RE_W::new(self, 4) } #[doc = "Bit 5 - a"] #[inline(always)] - #[must_use] pub fn tx_ack_num_re(&mut self) -> TX_ACK_NUM_RE_W { TX_ACK_NUM_RE_W::new(self, 5) } #[doc = "Bit 7 - a"] #[inline(always)] - #[must_use] pub fn wait_sw_start(&mut self) -> WAIT_SW_START_W { WAIT_SW_START_W::new(self, 7) } #[doc = "Bit 8 - a"] #[inline(always)] - #[must_use] pub fn sw_start(&mut self) -> SW_START_W { SW_START_W::new(self, 8) } diff --git a/esp32h2/src/uhci0/date.rs b/esp32h2/src/uhci0/date.rs index e1adca37f3..7e931b5889 100644 --- a/esp32h2/src/uhci0/date.rs +++ b/esp32h2/src/uhci0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - a"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32h2/src/uhci0/esc_conf.rs b/esp32h2/src/uhci0/esc_conf.rs index 7e46dec1ed..a108a38926 100644 --- a/esp32h2/src/uhci0/esc_conf.rs +++ b/esp32h2/src/uhci0/esc_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - a"] #[inline(always)] - #[must_use] pub fn seper_char(&mut self) -> SEPER_CHAR_W { SEPER_CHAR_W::new(self, 0) } #[doc = "Bits 8:15 - a"] #[inline(always)] - #[must_use] pub fn seper_esc_char0(&mut self) -> SEPER_ESC_CHAR0_W { SEPER_ESC_CHAR0_W::new(self, 8) } #[doc = "Bits 16:23 - a"] #[inline(always)] - #[must_use] pub fn seper_esc_char1(&mut self) -> SEPER_ESC_CHAR1_W { SEPER_ESC_CHAR1_W::new(self, 16) } diff --git a/esp32h2/src/uhci0/escape_conf.rs b/esp32h2/src/uhci0/escape_conf.rs index 5b890f617a..d3876fb9b5 100644 --- a/esp32h2/src/uhci0/escape_conf.rs +++ b/esp32h2/src/uhci0/escape_conf.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - a"] #[inline(always)] - #[must_use] pub fn tx_c0_esc_en(&mut self) -> TX_C0_ESC_EN_W { TX_C0_ESC_EN_W::new(self, 0) } #[doc = "Bit 1 - a"] #[inline(always)] - #[must_use] pub fn tx_db_esc_en(&mut self) -> TX_DB_ESC_EN_W { TX_DB_ESC_EN_W::new(self, 1) } #[doc = "Bit 2 - a"] #[inline(always)] - #[must_use] pub fn tx_11_esc_en(&mut self) -> TX_11_ESC_EN_W { TX_11_ESC_EN_W::new(self, 2) } #[doc = "Bit 3 - a"] #[inline(always)] - #[must_use] pub fn tx_13_esc_en(&mut self) -> TX_13_ESC_EN_W { TX_13_ESC_EN_W::new(self, 3) } #[doc = "Bit 4 - a"] #[inline(always)] - #[must_use] pub fn rx_c0_esc_en(&mut self) -> RX_C0_ESC_EN_W { RX_C0_ESC_EN_W::new(self, 4) } #[doc = "Bit 5 - a"] #[inline(always)] - #[must_use] pub fn rx_db_esc_en(&mut self) -> RX_DB_ESC_EN_W { RX_DB_ESC_EN_W::new(self, 5) } #[doc = "Bit 6 - a"] #[inline(always)] - #[must_use] pub fn rx_11_esc_en(&mut self) -> RX_11_ESC_EN_W { RX_11_ESC_EN_W::new(self, 6) } #[doc = "Bit 7 - a"] #[inline(always)] - #[must_use] pub fn rx_13_esc_en(&mut self) -> RX_13_ESC_EN_W { RX_13_ESC_EN_W::new(self, 7) } diff --git a/esp32h2/src/uhci0/hung_conf.rs b/esp32h2/src/uhci0/hung_conf.rs index fbb7a486f3..c61aced322 100644 --- a/esp32h2/src/uhci0/hung_conf.rs +++ b/esp32h2/src/uhci0/hung_conf.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - a"] #[inline(always)] - #[must_use] pub fn txfifo_timeout(&mut self) -> TXFIFO_TIMEOUT_W { TXFIFO_TIMEOUT_W::new(self, 0) } #[doc = "Bits 8:10 - a"] #[inline(always)] - #[must_use] pub fn txfifo_timeout_shift(&mut self) -> TXFIFO_TIMEOUT_SHIFT_W { TXFIFO_TIMEOUT_SHIFT_W::new(self, 8) } #[doc = "Bit 11 - a"] #[inline(always)] - #[must_use] pub fn txfifo_timeout_ena(&mut self) -> TXFIFO_TIMEOUT_ENA_W { TXFIFO_TIMEOUT_ENA_W::new(self, 11) } #[doc = "Bits 12:19 - a"] #[inline(always)] - #[must_use] pub fn rxfifo_timeout(&mut self) -> RXFIFO_TIMEOUT_W { RXFIFO_TIMEOUT_W::new(self, 12) } #[doc = "Bits 20:22 - a"] #[inline(always)] - #[must_use] pub fn rxfifo_timeout_shift(&mut self) -> RXFIFO_TIMEOUT_SHIFT_W { RXFIFO_TIMEOUT_SHIFT_W::new(self, 20) } #[doc = "Bit 23 - a"] #[inline(always)] - #[must_use] pub fn rxfifo_timeout_ena(&mut self) -> RXFIFO_TIMEOUT_ENA_W { RXFIFO_TIMEOUT_ENA_W::new(self, 23) } diff --git a/esp32h2/src/uhci0/int_clr.rs b/esp32h2/src/uhci0/int_clr.rs index a8616216b4..062cd77d81 100644 --- a/esp32h2/src/uhci0/int_clr.rs +++ b/esp32h2/src/uhci0/int_clr.rs @@ -27,55 +27,46 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - a"] #[inline(always)] - #[must_use] pub fn rx_start(&mut self) -> RX_START_W { RX_START_W::new(self, 0) } #[doc = "Bit 1 - a"] #[inline(always)] - #[must_use] pub fn tx_start(&mut self) -> TX_START_W { TX_START_W::new(self, 1) } #[doc = "Bit 2 - a"] #[inline(always)] - #[must_use] pub fn rx_hung(&mut self) -> RX_HUNG_W { RX_HUNG_W::new(self, 2) } #[doc = "Bit 3 - a"] #[inline(always)] - #[must_use] pub fn tx_hung(&mut self) -> TX_HUNG_W { TX_HUNG_W::new(self, 3) } #[doc = "Bit 4 - a"] #[inline(always)] - #[must_use] pub fn send_s_reg_q(&mut self) -> SEND_S_REG_Q_W { SEND_S_REG_Q_W::new(self, 4) } #[doc = "Bit 5 - a"] #[inline(always)] - #[must_use] pub fn send_a_reg_q(&mut self) -> SEND_A_REG_Q_W { SEND_A_REG_Q_W::new(self, 5) } #[doc = "Bit 6 - a"] #[inline(always)] - #[must_use] pub fn outlink_eof_err(&mut self) -> OUTLINK_EOF_ERR_W { OUTLINK_EOF_ERR_W::new(self, 6) } #[doc = "Bit 7 - a"] #[inline(always)] - #[must_use] pub fn app_ctrl0(&mut self) -> APP_CTRL0_W { APP_CTRL0_W::new(self, 7) } #[doc = "Bit 8 - a"] #[inline(always)] - #[must_use] pub fn app_ctrl1(&mut self) -> APP_CTRL1_W { APP_CTRL1_W::new(self, 8) } diff --git a/esp32h2/src/uhci0/int_ena.rs b/esp32h2/src/uhci0/int_ena.rs index aaa4ad3404..5c4709b715 100644 --- a/esp32h2/src/uhci0/int_ena.rs +++ b/esp32h2/src/uhci0/int_ena.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - a"] #[inline(always)] - #[must_use] pub fn rx_start(&mut self) -> RX_START_W { RX_START_W::new(self, 0) } #[doc = "Bit 1 - a"] #[inline(always)] - #[must_use] pub fn tx_start(&mut self) -> TX_START_W { TX_START_W::new(self, 1) } #[doc = "Bit 2 - a"] #[inline(always)] - #[must_use] pub fn rx_hung(&mut self) -> RX_HUNG_W { RX_HUNG_W::new(self, 2) } #[doc = "Bit 3 - a"] #[inline(always)] - #[must_use] pub fn tx_hung(&mut self) -> TX_HUNG_W { TX_HUNG_W::new(self, 3) } #[doc = "Bit 4 - a"] #[inline(always)] - #[must_use] pub fn send_s_reg_q(&mut self) -> SEND_S_REG_Q_W { SEND_S_REG_Q_W::new(self, 4) } #[doc = "Bit 5 - a"] #[inline(always)] - #[must_use] pub fn send_a_reg_q(&mut self) -> SEND_A_REG_Q_W { SEND_A_REG_Q_W::new(self, 5) } #[doc = "Bit 6 - a"] #[inline(always)] - #[must_use] pub fn outlink_eof_err(&mut self) -> OUTLINK_EOF_ERR_W { OUTLINK_EOF_ERR_W::new(self, 6) } #[doc = "Bit 7 - a"] #[inline(always)] - #[must_use] pub fn app_ctrl0(&mut self) -> APP_CTRL0_W { APP_CTRL0_W::new(self, 7) } #[doc = "Bit 8 - a"] #[inline(always)] - #[must_use] pub fn app_ctrl1(&mut self) -> APP_CTRL1_W { APP_CTRL1_W::new(self, 8) } diff --git a/esp32h2/src/uhci0/int_raw.rs b/esp32h2/src/uhci0/int_raw.rs index 0cdac1641d..ecbaf1eee4 100644 --- a/esp32h2/src/uhci0/int_raw.rs +++ b/esp32h2/src/uhci0/int_raw.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - a"] #[inline(always)] - #[must_use] pub fn rx_start(&mut self) -> RX_START_W { RX_START_W::new(self, 0) } #[doc = "Bit 1 - a"] #[inline(always)] - #[must_use] pub fn tx_start(&mut self) -> TX_START_W { TX_START_W::new(self, 1) } #[doc = "Bit 2 - a"] #[inline(always)] - #[must_use] pub fn rx_hung(&mut self) -> RX_HUNG_W { RX_HUNG_W::new(self, 2) } #[doc = "Bit 3 - a"] #[inline(always)] - #[must_use] pub fn tx_hung(&mut self) -> TX_HUNG_W { TX_HUNG_W::new(self, 3) } #[doc = "Bit 4 - a"] #[inline(always)] - #[must_use] pub fn send_s_reg_q(&mut self) -> SEND_S_REG_Q_W { SEND_S_REG_Q_W::new(self, 4) } #[doc = "Bit 5 - a"] #[inline(always)] - #[must_use] pub fn send_a_reg_q(&mut self) -> SEND_A_REG_Q_W { SEND_A_REG_Q_W::new(self, 5) } #[doc = "Bit 6 - This is the interrupt raw bit. Triggered when there are some errors in EOF in the"] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 6) } #[doc = "Bit 7 - Soft control int raw bit."] #[inline(always)] - #[must_use] pub fn app_ctrl0(&mut self) -> APP_CTRL0_W { APP_CTRL0_W::new(self, 7) } #[doc = "Bit 8 - Soft control int raw bit."] #[inline(always)] - #[must_use] pub fn app_ctrl1(&mut self) -> APP_CTRL1_W { APP_CTRL1_W::new(self, 8) } diff --git a/esp32h2/src/uhci0/pkt_thres.rs b/esp32h2/src/uhci0/pkt_thres.rs index 2d21615b5c..a9502c9dd7 100644 --- a/esp32h2/src/uhci0/pkt_thres.rs +++ b/esp32h2/src/uhci0/pkt_thres.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:12 - a"] #[inline(always)] - #[must_use] pub fn pkt_thrs(&mut self) -> PKT_THRS_W { PKT_THRS_W::new(self, 0) } diff --git a/esp32h2/src/uhci0/quick_sent.rs b/esp32h2/src/uhci0/quick_sent.rs index 86d9953d95..47fb657ae3 100644 --- a/esp32h2/src/uhci0/quick_sent.rs +++ b/esp32h2/src/uhci0/quick_sent.rs @@ -46,25 +46,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - a"] #[inline(always)] - #[must_use] pub fn single_send_num(&mut self) -> SINGLE_SEND_NUM_W { SINGLE_SEND_NUM_W::new(self, 0) } #[doc = "Bit 3 - a"] #[inline(always)] - #[must_use] pub fn single_send_en(&mut self) -> SINGLE_SEND_EN_W { SINGLE_SEND_EN_W::new(self, 3) } #[doc = "Bits 4:6 - a"] #[inline(always)] - #[must_use] pub fn always_send_num(&mut self) -> ALWAYS_SEND_NUM_W { ALWAYS_SEND_NUM_W::new(self, 4) } #[doc = "Bit 7 - a"] #[inline(always)] - #[must_use] pub fn always_send_en(&mut self) -> ALWAYS_SEND_EN_W { ALWAYS_SEND_EN_W::new(self, 7) } diff --git a/esp32h2/src/uhci0/reg_q/word0.rs b/esp32h2/src/uhci0/reg_q/word0.rs index 30aee66391..aba9e50c07 100644 --- a/esp32h2/src/uhci0/reg_q/word0.rs +++ b/esp32h2/src/uhci0/reg_q/word0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - a"] #[inline(always)] - #[must_use] pub fn send_word(&mut self) -> SEND_WORD_W { SEND_WORD_W::new(self, 0) } diff --git a/esp32h2/src/uhci0/reg_q/word1.rs b/esp32h2/src/uhci0/reg_q/word1.rs index 585b531172..f8b7d5e062 100644 --- a/esp32h2/src/uhci0/reg_q/word1.rs +++ b/esp32h2/src/uhci0/reg_q/word1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - a"] #[inline(always)] - #[must_use] pub fn send_word(&mut self) -> SEND_WORD_W { SEND_WORD_W::new(self, 0) } diff --git a/esp32h2/src/usb_device/chip_rst.rs b/esp32h2/src/usb_device/chip_rst.rs index 45c0df5a8d..8e32db3f90 100644 --- a/esp32h2/src/usb_device/chip_rst.rs +++ b/esp32h2/src/usb_device/chip_rst.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - Set this bit to disable chip reset from usb serial channel to reset chip."] #[inline(always)] - #[must_use] pub fn usb_uart_chip_rst_dis(&mut self) -> USB_UART_CHIP_RST_DIS_W { USB_UART_CHIP_RST_DIS_W::new(self, 2) } diff --git a/esp32h2/src/usb_device/conf0.rs b/esp32h2/src/usb_device/conf0.rs index f45e47b525..57fd0d01aa 100644 --- a/esp32h2/src/usb_device/conf0.rs +++ b/esp32h2/src/usb_device/conf0.rs @@ -154,85 +154,71 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Select internal/external PHY"] #[inline(always)] - #[must_use] pub fn phy_sel(&mut self) -> PHY_SEL_W { PHY_SEL_W::new(self, 0) } #[doc = "Bit 1 - Enable software control USB D+ D- exchange"] #[inline(always)] - #[must_use] pub fn exchg_pins_override(&mut self) -> EXCHG_PINS_OVERRIDE_W { EXCHG_PINS_OVERRIDE_W::new(self, 1) } #[doc = "Bit 2 - USB D+ D- exchange"] #[inline(always)] - #[must_use] pub fn exchg_pins(&mut self) -> EXCHG_PINS_W { EXCHG_PINS_W::new(self, 2) } #[doc = "Bits 3:4 - Control single-end input high threshold,1.76V to 2V, step 80mV"] #[inline(always)] - #[must_use] pub fn vrefh(&mut self) -> VREFH_W { VREFH_W::new(self, 3) } #[doc = "Bits 5:6 - Control single-end input low threshold,0.8V to 1.04V, step 80mV"] #[inline(always)] - #[must_use] pub fn vrefl(&mut self) -> VREFL_W { VREFL_W::new(self, 5) } #[doc = "Bit 7 - Enable software control input threshold"] #[inline(always)] - #[must_use] pub fn vref_override(&mut self) -> VREF_OVERRIDE_W { VREF_OVERRIDE_W::new(self, 7) } #[doc = "Bit 8 - Enable software control USB D+ D- pullup pulldown"] #[inline(always)] - #[must_use] pub fn pad_pull_override(&mut self) -> PAD_PULL_OVERRIDE_W { PAD_PULL_OVERRIDE_W::new(self, 8) } #[doc = "Bit 9 - Control USB D+ pull up."] #[inline(always)] - #[must_use] pub fn dp_pullup(&mut self) -> DP_PULLUP_W { DP_PULLUP_W::new(self, 9) } #[doc = "Bit 10 - Control USB D+ pull down."] #[inline(always)] - #[must_use] pub fn dp_pulldown(&mut self) -> DP_PULLDOWN_W { DP_PULLDOWN_W::new(self, 10) } #[doc = "Bit 11 - Control USB D- pull up."] #[inline(always)] - #[must_use] pub fn dm_pullup(&mut self) -> DM_PULLUP_W { DM_PULLUP_W::new(self, 11) } #[doc = "Bit 12 - Control USB D- pull down."] #[inline(always)] - #[must_use] pub fn dm_pulldown(&mut self) -> DM_PULLDOWN_W { DM_PULLDOWN_W::new(self, 12) } #[doc = "Bit 13 - Control pull up value."] #[inline(always)] - #[must_use] pub fn pullup_value(&mut self) -> PULLUP_VALUE_W { PULLUP_VALUE_W::new(self, 13) } #[doc = "Bit 14 - Enable USB pad function."] #[inline(always)] - #[must_use] pub fn usb_pad_enable(&mut self) -> USB_PAD_ENABLE_W { USB_PAD_ENABLE_W::new(self, 14) } #[doc = "Bit 15 - Set this bit usb_jtag, the connection between usb_jtag and internal JTAG is disconnected, and MTMS, MTDI, MTCK are output through GPIO Matrix, MTDO is input through GPIO Matrix."] #[inline(always)] - #[must_use] pub fn usb_jtag_bridge_en(&mut self) -> USB_JTAG_BRIDGE_EN_W { USB_JTAG_BRIDGE_EN_W::new(self, 15) } diff --git a/esp32h2/src/usb_device/config_update.rs b/esp32h2/src/usb_device/config_update.rs index de2fbac26f..07ce01ac89 100644 --- a/esp32h2/src/usb_device/config_update.rs +++ b/esp32h2/src/usb_device/config_update.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to this register would update the value of configure registers from APB clock domain to 48MHz clock domain."] #[inline(always)] - #[must_use] pub fn config_update(&mut self) -> CONFIG_UPDATE_W { CONFIG_UPDATE_W::new(self, 0) } diff --git a/esp32h2/src/usb_device/date.rs b/esp32h2/src/usb_device/date.rs index 2d1ee9e13c..ea3ef01b43 100644 --- a/esp32h2/src/usb_device/date.rs +++ b/esp32h2/src/usb_device/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - register version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32h2/src/usb_device/ep1.rs b/esp32h2/src/usb_device/ep1.rs index f649db8d47..836db112f2 100644 --- a/esp32h2/src/usb_device/ep1.rs +++ b/esp32h2/src/usb_device/ep1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Write and read byte data to/from UART Tx/Rx FIFO through this field. When USB_DEVICE_SERIAL_IN_EMPTY_INT is set, then user can write data (up to 64 bytes) into UART Tx FIFO. When USB_DEVICE_SERIAL_OUT_RECV_PKT_INT is set, user can check USB_DEVICE_OUT_EP1_WR_ADDR USB_DEVICE_OUT_EP0_RD_ADDR to know how many data is received, then read data from UART Rx FIFO."] #[inline(always)] - #[must_use] pub fn rdwr_byte(&mut self) -> RDWR_BYTE_W { RDWR_BYTE_W::new(self, 0) } diff --git a/esp32h2/src/usb_device/ep1_conf.rs b/esp32h2/src/usb_device/ep1_conf.rs index ff9c0ab58a..1c5d7d0a07 100644 --- a/esp32h2/src/usb_device/ep1_conf.rs +++ b/esp32h2/src/usb_device/ep1_conf.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to indicate writing byte data to UART Tx FIFO is done."] #[inline(always)] - #[must_use] pub fn wr_done(&mut self) -> WR_DONE_W { WR_DONE_W::new(self, 0) } diff --git a/esp32h2/src/usb_device/get_line_code_w0.rs b/esp32h2/src/usb_device/get_line_code_w0.rs index 331dd324f8..ebe82aaa13 100644 --- a/esp32h2/src/usb_device/get_line_code_w0.rs +++ b/esp32h2/src/usb_device/get_line_code_w0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The value of dwDTERate set by software which is requested by GET_LINE_CODING command."] #[inline(always)] - #[must_use] pub fn get_dw_dte_rate(&mut self) -> GET_DW_DTE_RATE_W { GET_DW_DTE_RATE_W::new(self, 0) } diff --git a/esp32h2/src/usb_device/get_line_code_w1.rs b/esp32h2/src/usb_device/get_line_code_w1.rs index a757756dba..6c98da3555 100644 --- a/esp32h2/src/usb_device/get_line_code_w1.rs +++ b/esp32h2/src/usb_device/get_line_code_w1.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - The value of bCharFormat set by software which is requested by GET_LINE_CODING command."] #[inline(always)] - #[must_use] pub fn get_bdata_bits(&mut self) -> GET_BDATA_BITS_W { GET_BDATA_BITS_W::new(self, 0) } #[doc = "Bits 8:15 - The value of bParityTpye set by software which is requested by GET_LINE_CODING command."] #[inline(always)] - #[must_use] pub fn get_bparity_type(&mut self) -> GET_BPARITY_TYPE_W { GET_BPARITY_TYPE_W::new(self, 8) } #[doc = "Bits 16:23 - The value of bDataBits set by software which is requested by GET_LINE_CODING command."] #[inline(always)] - #[must_use] pub fn get_bchar_format(&mut self) -> GET_BCHAR_FORMAT_W { GET_BCHAR_FORMAT_W::new(self, 16) } diff --git a/esp32h2/src/usb_device/int_clr.rs b/esp32h2/src/usb_device/int_clr.rs index b40d597bf6..88ff6bb8d3 100644 --- a/esp32h2/src/usb_device/int_clr.rs +++ b/esp32h2/src/usb_device/int_clr.rs @@ -41,97 +41,81 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the USB_DEVICE_JTAG_IN_FLUSH_INT interrupt."] #[inline(always)] - #[must_use] pub fn jtag_in_flush(&mut self) -> JTAG_IN_FLUSH_W { JTAG_IN_FLUSH_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the USB_DEVICE_JTAG_SOF_INT interrupt."] #[inline(always)] - #[must_use] pub fn sof(&mut self) -> SOF_W { SOF_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the USB_DEVICE_SERIAL_OUT_RECV_PKT_INT interrupt."] #[inline(always)] - #[must_use] pub fn serial_out_recv_pkt(&mut self) -> SERIAL_OUT_RECV_PKT_W { SERIAL_OUT_RECV_PKT_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the USB_DEVICE_SERIAL_IN_EMPTY_INT interrupt."] #[inline(always)] - #[must_use] pub fn serial_in_empty(&mut self) -> SERIAL_IN_EMPTY_W { SERIAL_IN_EMPTY_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear the USB_DEVICE_PID_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn pid_err(&mut self) -> PID_ERR_W { PID_ERR_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the USB_DEVICE_CRC5_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn crc5_err(&mut self) -> CRC5_ERR_W { CRC5_ERR_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the USB_DEVICE_CRC16_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn crc16_err(&mut self) -> CRC16_ERR_W { CRC16_ERR_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the USB_DEVICE_STUFF_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn stuff_err(&mut self) -> STUFF_ERR_W { STUFF_ERR_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the USB_DEVICE_IN_TOKEN_IN_EP1_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_token_rec_in_ep1(&mut self) -> IN_TOKEN_REC_IN_EP1_W { IN_TOKEN_REC_IN_EP1_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear the USB_DEVICE_USB_BUS_RESET_INT interrupt."] #[inline(always)] - #[must_use] pub fn usb_bus_reset(&mut self) -> USB_BUS_RESET_W { USB_BUS_RESET_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to clear the USB_DEVICE_OUT_EP1_ZERO_PAYLOAD_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_ep1_zero_payload(&mut self) -> OUT_EP1_ZERO_PAYLOAD_W { OUT_EP1_ZERO_PAYLOAD_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear the USB_DEVICE_OUT_EP2_ZERO_PAYLOAD_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_ep2_zero_payload(&mut self) -> OUT_EP2_ZERO_PAYLOAD_W { OUT_EP2_ZERO_PAYLOAD_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to clear the USB_DEVICE_RTS_CHG_INT interrupt."] #[inline(always)] - #[must_use] pub fn rts_chg(&mut self) -> RTS_CHG_W { RTS_CHG_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to clear the USB_DEVICE_DTR_CHG_INT interrupt."] #[inline(always)] - #[must_use] pub fn dtr_chg(&mut self) -> DTR_CHG_W { DTR_CHG_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to clear the USB_DEVICE_GET_LINE_CODE_INT interrupt."] #[inline(always)] - #[must_use] pub fn get_line_code(&mut self) -> GET_LINE_CODE_W { GET_LINE_CODE_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to clear the USB_DEVICE_SET_LINE_CODE_INT interrupt."] #[inline(always)] - #[must_use] pub fn set_line_code(&mut self) -> SET_LINE_CODE_W { SET_LINE_CODE_W::new(self, 15) } diff --git a/esp32h2/src/usb_device/int_ena.rs b/esp32h2/src/usb_device/int_ena.rs index af5477b304..1910f4b0f3 100644 --- a/esp32h2/src/usb_device/int_ena.rs +++ b/esp32h2/src/usb_device/int_ena.rs @@ -174,97 +174,81 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for the USB_DEVICE_JTAG_IN_FLUSH_INT interrupt."] #[inline(always)] - #[must_use] pub fn jtag_in_flush(&mut self) -> JTAG_IN_FLUSH_W { JTAG_IN_FLUSH_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the USB_DEVICE_SOF_INT interrupt."] #[inline(always)] - #[must_use] pub fn sof(&mut self) -> SOF_W { SOF_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the USB_DEVICE_SERIAL_OUT_RECV_PKT_INT interrupt."] #[inline(always)] - #[must_use] pub fn serial_out_recv_pkt(&mut self) -> SERIAL_OUT_RECV_PKT_W { SERIAL_OUT_RECV_PKT_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the USB_DEVICE_SERIAL_IN_EMPTY_INT interrupt."] #[inline(always)] - #[must_use] pub fn serial_in_empty(&mut self) -> SERIAL_IN_EMPTY_W { SERIAL_IN_EMPTY_W::new(self, 3) } #[doc = "Bit 4 - The interrupt enable bit for the USB_DEVICE_PID_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn pid_err(&mut self) -> PID_ERR_W { PID_ERR_W::new(self, 4) } #[doc = "Bit 5 - The interrupt enable bit for the USB_DEVICE_CRC5_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn crc5_err(&mut self) -> CRC5_ERR_W { CRC5_ERR_W::new(self, 5) } #[doc = "Bit 6 - The interrupt enable bit for the USB_DEVICE_CRC16_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn crc16_err(&mut self) -> CRC16_ERR_W { CRC16_ERR_W::new(self, 6) } #[doc = "Bit 7 - The interrupt enable bit for the USB_DEVICE_STUFF_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn stuff_err(&mut self) -> STUFF_ERR_W { STUFF_ERR_W::new(self, 7) } #[doc = "Bit 8 - The interrupt enable bit for the USB_DEVICE_IN_TOKEN_REC_IN_EP1_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_token_rec_in_ep1(&mut self) -> IN_TOKEN_REC_IN_EP1_W { IN_TOKEN_REC_IN_EP1_W::new(self, 8) } #[doc = "Bit 9 - The interrupt enable bit for the USB_DEVICE_USB_BUS_RESET_INT interrupt."] #[inline(always)] - #[must_use] pub fn usb_bus_reset(&mut self) -> USB_BUS_RESET_W { USB_BUS_RESET_W::new(self, 9) } #[doc = "Bit 10 - The interrupt enable bit for the USB_DEVICE_OUT_EP1_ZERO_PAYLOAD_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_ep1_zero_payload(&mut self) -> OUT_EP1_ZERO_PAYLOAD_W { OUT_EP1_ZERO_PAYLOAD_W::new(self, 10) } #[doc = "Bit 11 - The interrupt enable bit for the USB_DEVICE_OUT_EP2_ZERO_PAYLOAD_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_ep2_zero_payload(&mut self) -> OUT_EP2_ZERO_PAYLOAD_W { OUT_EP2_ZERO_PAYLOAD_W::new(self, 11) } #[doc = "Bit 12 - The interrupt enable bit for the USB_DEVICE_RTS_CHG_INT interrupt."] #[inline(always)] - #[must_use] pub fn rts_chg(&mut self) -> RTS_CHG_W { RTS_CHG_W::new(self, 12) } #[doc = "Bit 13 - The interrupt enable bit for the USB_DEVICE_DTR_CHG_INT interrupt."] #[inline(always)] - #[must_use] pub fn dtr_chg(&mut self) -> DTR_CHG_W { DTR_CHG_W::new(self, 13) } #[doc = "Bit 14 - The interrupt enable bit for the USB_DEVICE_GET_LINE_CODE_INT interrupt."] #[inline(always)] - #[must_use] pub fn get_line_code(&mut self) -> GET_LINE_CODE_W { GET_LINE_CODE_W::new(self, 14) } #[doc = "Bit 15 - The interrupt enable bit for the USB_DEVICE_SET_LINE_CODE_INT interrupt."] #[inline(always)] - #[must_use] pub fn set_line_code(&mut self) -> SET_LINE_CODE_W { SET_LINE_CODE_W::new(self, 15) } diff --git a/esp32h2/src/usb_device/int_raw.rs b/esp32h2/src/usb_device/int_raw.rs index f27aaca151..d03d08fe4d 100644 --- a/esp32h2/src/usb_device/int_raw.rs +++ b/esp32h2/src/usb_device/int_raw.rs @@ -174,97 +174,81 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw interrupt bit turns to high level when flush cmd is received for IN endpoint 2 of JTAG."] #[inline(always)] - #[must_use] pub fn jtag_in_flush(&mut self) -> JTAG_IN_FLUSH_W { JTAG_IN_FLUSH_W::new(self, 0) } #[doc = "Bit 1 - The raw interrupt bit turns to high level when SOF frame is received."] #[inline(always)] - #[must_use] pub fn sof(&mut self) -> SOF_W { SOF_W::new(self, 1) } #[doc = "Bit 2 - The raw interrupt bit turns to high level when Serial Port OUT Endpoint received one packet."] #[inline(always)] - #[must_use] pub fn serial_out_recv_pkt(&mut self) -> SERIAL_OUT_RECV_PKT_W { SERIAL_OUT_RECV_PKT_W::new(self, 2) } #[doc = "Bit 3 - The raw interrupt bit turns to high level when Serial Port IN Endpoint is empty."] #[inline(always)] - #[must_use] pub fn serial_in_empty(&mut self) -> SERIAL_IN_EMPTY_W { SERIAL_IN_EMPTY_W::new(self, 3) } #[doc = "Bit 4 - The raw interrupt bit turns to high level when pid error is detected."] #[inline(always)] - #[must_use] pub fn pid_err(&mut self) -> PID_ERR_W { PID_ERR_W::new(self, 4) } #[doc = "Bit 5 - The raw interrupt bit turns to high level when CRC5 error is detected."] #[inline(always)] - #[must_use] pub fn crc5_err(&mut self) -> CRC5_ERR_W { CRC5_ERR_W::new(self, 5) } #[doc = "Bit 6 - The raw interrupt bit turns to high level when CRC16 error is detected."] #[inline(always)] - #[must_use] pub fn crc16_err(&mut self) -> CRC16_ERR_W { CRC16_ERR_W::new(self, 6) } #[doc = "Bit 7 - The raw interrupt bit turns to high level when stuff error is detected."] #[inline(always)] - #[must_use] pub fn stuff_err(&mut self) -> STUFF_ERR_W { STUFF_ERR_W::new(self, 7) } #[doc = "Bit 8 - The raw interrupt bit turns to high level when IN token for IN endpoint 1 is received."] #[inline(always)] - #[must_use] pub fn in_token_rec_in_ep1(&mut self) -> IN_TOKEN_REC_IN_EP1_W { IN_TOKEN_REC_IN_EP1_W::new(self, 8) } #[doc = "Bit 9 - The raw interrupt bit turns to high level when usb bus reset is detected."] #[inline(always)] - #[must_use] pub fn usb_bus_reset(&mut self) -> USB_BUS_RESET_W { USB_BUS_RESET_W::new(self, 9) } #[doc = "Bit 10 - The raw interrupt bit turns to high level when OUT endpoint 1 received packet with zero palyload."] #[inline(always)] - #[must_use] pub fn out_ep1_zero_payload(&mut self) -> OUT_EP1_ZERO_PAYLOAD_W { OUT_EP1_ZERO_PAYLOAD_W::new(self, 10) } #[doc = "Bit 11 - The raw interrupt bit turns to high level when OUT endpoint 2 received packet with zero palyload."] #[inline(always)] - #[must_use] pub fn out_ep2_zero_payload(&mut self) -> OUT_EP2_ZERO_PAYLOAD_W { OUT_EP2_ZERO_PAYLOAD_W::new(self, 11) } #[doc = "Bit 12 - The raw interrupt bit turns to high level when level of RTS from usb serial channel is changed."] #[inline(always)] - #[must_use] pub fn rts_chg(&mut self) -> RTS_CHG_W { RTS_CHG_W::new(self, 12) } #[doc = "Bit 13 - The raw interrupt bit turns to high level when level of DTR from usb serial channel is changed."] #[inline(always)] - #[must_use] pub fn dtr_chg(&mut self) -> DTR_CHG_W { DTR_CHG_W::new(self, 13) } #[doc = "Bit 14 - The raw interrupt bit turns to high level when level of GET LINE CODING request is received."] #[inline(always)] - #[must_use] pub fn get_line_code(&mut self) -> GET_LINE_CODE_W { GET_LINE_CODE_W::new(self, 14) } #[doc = "Bit 15 - The raw interrupt bit turns to high level when level of SET LINE CODING request is received."] #[inline(always)] - #[must_use] pub fn set_line_code(&mut self) -> SET_LINE_CODE_W { SET_LINE_CODE_W::new(self, 15) } diff --git a/esp32h2/src/usb_device/jfifo_st.rs b/esp32h2/src/usb_device/jfifo_st.rs index a0c5816b77..8fd1874c80 100644 --- a/esp32h2/src/usb_device/jfifo_st.rs +++ b/esp32h2/src/usb_device/jfifo_st.rs @@ -82,13 +82,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 8 - Write 1 to reset JTAG in fifo."] #[inline(always)] - #[must_use] pub fn in_fifo_reset(&mut self) -> IN_FIFO_RESET_W { IN_FIFO_RESET_W::new(self, 8) } #[doc = "Bit 9 - Write 1 to reset JTAG out fifo."] #[inline(always)] - #[must_use] pub fn out_fifo_reset(&mut self) -> OUT_FIFO_RESET_W { OUT_FIFO_RESET_W::new(self, 9) } diff --git a/esp32h2/src/usb_device/mem_conf.rs b/esp32h2/src/usb_device/mem_conf.rs index ca8fa18cd2..93304554f1 100644 --- a/esp32h2/src/usb_device/mem_conf.rs +++ b/esp32h2/src/usb_device/mem_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: power down usb memory."] #[inline(always)] - #[must_use] pub fn usb_mem_pd(&mut self) -> USB_MEM_PD_W { USB_MEM_PD_W::new(self, 0) } #[doc = "Bit 1 - 1: Force clock on for usb memory."] #[inline(always)] - #[must_use] pub fn usb_mem_clk_en(&mut self) -> USB_MEM_CLK_EN_W { USB_MEM_CLK_EN_W::new(self, 1) } diff --git a/esp32h2/src/usb_device/misc_conf.rs b/esp32h2/src/usb_device/misc_conf.rs index bdfa3cddfd..df0741ba72 100644 --- a/esp32h2/src/usb_device/misc_conf.rs +++ b/esp32h2/src/usb_device/misc_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1'h1: Force clock on for register. 1'h0: Support clock only when application writes registers."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32h2/src/usb_device/ser_afifo_config.rs b/esp32h2/src/usb_device/ser_afifo_config.rs index f580a78d6e..d12f280ef6 100644 --- a/esp32h2/src/usb_device/ser_afifo_config.rs +++ b/esp32h2/src/usb_device/ser_afifo_config.rs @@ -76,7 +76,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Write 1 to reset CDC_ACM IN async FIFO write clock domain."] #[inline(always)] - #[must_use] pub fn serial_in_afifo_reset_wr( &mut self, ) -> SERIAL_IN_AFIFO_RESET_WR_W { @@ -84,7 +83,6 @@ impl W { } #[doc = "Bit 1 - Write 1 to reset CDC_ACM IN async FIFO read clock domain."] #[inline(always)] - #[must_use] pub fn serial_in_afifo_reset_rd( &mut self, ) -> SERIAL_IN_AFIFO_RESET_RD_W { @@ -92,7 +90,6 @@ impl W { } #[doc = "Bit 2 - Write 1 to reset CDC_ACM OUT async FIFO write clock domain."] #[inline(always)] - #[must_use] pub fn serial_out_afifo_reset_wr( &mut self, ) -> SERIAL_OUT_AFIFO_RESET_WR_W { @@ -100,7 +97,6 @@ impl W { } #[doc = "Bit 3 - Write 1 to reset CDC_ACM OUT async FIFO read clock domain."] #[inline(always)] - #[must_use] pub fn serial_out_afifo_reset_rd( &mut self, ) -> SERIAL_OUT_AFIFO_RESET_RD_W { diff --git a/esp32h2/src/usb_device/test.rs b/esp32h2/src/usb_device/test.rs index 9afefc73e1..cef97fa041 100644 --- a/esp32h2/src/usb_device/test.rs +++ b/esp32h2/src/usb_device/test.rs @@ -78,25 +78,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Enable test of the USB pad"] #[inline(always)] - #[must_use] pub fn test_enable(&mut self) -> TEST_ENABLE_W { TEST_ENABLE_W::new(self, 0) } #[doc = "Bit 1 - USB pad oen in test"] #[inline(always)] - #[must_use] pub fn test_usb_oe(&mut self) -> TEST_USB_OE_W { TEST_USB_OE_W::new(self, 1) } #[doc = "Bit 2 - USB D+ tx value in test"] #[inline(always)] - #[must_use] pub fn test_tx_dp(&mut self) -> TEST_TX_DP_W { TEST_TX_DP_W::new(self, 2) } #[doc = "Bit 3 - USB D- tx value in test"] #[inline(always)] - #[must_use] pub fn test_tx_dm(&mut self) -> TEST_TX_DM_W { TEST_TX_DM_W::new(self, 3) } diff --git a/esp32p4/src/adc/arb_ctrl.rs b/esp32p4/src/adc/arb_ctrl.rs index c1aa31c1fc..b98aeb4c06 100644 --- a/esp32p4/src/adc/arb_ctrl.rs +++ b/esp32p4/src/adc/arb_ctrl.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - adc2 arbiter force to enableapb controller"] #[inline(always)] - #[must_use] pub fn apb_force(&mut self) -> APB_FORCE_W { APB_FORCE_W::new(self, 2) } #[doc = "Bit 3 - adc2 arbiter force to enable rtc controller"] #[inline(always)] - #[must_use] pub fn rtc_force(&mut self) -> RTC_FORCE_W { RTC_FORCE_W::new(self, 3) } #[doc = "Bit 4 - adc2 arbiter force to enable wifi controller"] #[inline(always)] - #[must_use] pub fn wifi_force(&mut self) -> WIFI_FORCE_W { WIFI_FORCE_W::new(self, 4) } #[doc = "Bit 5 - adc2 arbiter force grant"] #[inline(always)] - #[must_use] pub fn grant_force(&mut self) -> GRANT_FORCE_W { GRANT_FORCE_W::new(self, 5) } #[doc = "Bits 6:7 - Set adc2 arbiterapb priority"] #[inline(always)] - #[must_use] pub fn apb_priority(&mut self) -> APB_PRIORITY_W { APB_PRIORITY_W::new(self, 6) } #[doc = "Bits 8:9 - Set adc2 arbiter rtc priority"] #[inline(always)] - #[must_use] pub fn rtc_priority(&mut self) -> RTC_PRIORITY_W { RTC_PRIORITY_W::new(self, 8) } #[doc = "Bits 10:11 - Set adc2 arbiter wifi priority"] #[inline(always)] - #[must_use] pub fn wifi_priority(&mut self) -> WIFI_PRIORITY_W { WIFI_PRIORITY_W::new(self, 10) } #[doc = "Bit 12 - adc2 arbiter uses fixed priority"] #[inline(always)] - #[must_use] pub fn fix_priority(&mut self) -> FIX_PRIORITY_W { FIX_PRIORITY_W::new(self, 12) } diff --git a/esp32p4/src/adc/cali.rs b/esp32p4/src/adc/cali.rs index 46dbed062d..791e2092b8 100644 --- a/esp32p4/src/adc/cali.rs +++ b/esp32p4/src/adc/cali.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:16 - need_des"] #[inline(always)] - #[must_use] pub fn cfg(&mut self) -> CFG_W { CFG_W::new(self, 0) } diff --git a/esp32p4/src/adc/ctrl.rs b/esp32p4/src/adc/ctrl.rs index 3da9cb3669..8400f16be3 100644 --- a/esp32p4/src/adc/ctrl.rs +++ b/esp32p4/src/adc/ctrl.rs @@ -164,91 +164,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn start_force(&mut self) -> START_FORCE_W { START_FORCE_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 1) } #[doc = "Bits 2:3 - 0: single mode, 1: double mode, 2: alternate mode"] #[inline(always)] - #[must_use] pub fn work_mode(&mut self) -> WORK_MODE_W { WORK_MODE_W::new(self, 2) } #[doc = "Bit 4 - 0: SAR1, 1: SAR2, only work for single SAR mode"] #[inline(always)] - #[must_use] pub fn sar_sel(&mut self) -> SAR_SEL_W { SAR_SEL_W::new(self, 4) } #[doc = "Bit 5 - need_des"] #[inline(always)] - #[must_use] pub fn sar_clk_gated(&mut self) -> SAR_CLK_GATED_W { SAR_CLK_GATED_W::new(self, 5) } #[doc = "Bits 6:13 - SAR clock divider"] #[inline(always)] - #[must_use] pub fn sar_clk_div(&mut self) -> SAR_CLK_DIV_W { SAR_CLK_DIV_W::new(self, 6) } #[doc = "Bits 14:17 - 0 ~ 15 means length 1 ~ 16"] #[inline(always)] - #[must_use] pub fn sar1_patt_len(&mut self) -> SAR1_PATT_LEN_W { SAR1_PATT_LEN_W::new(self, 14) } #[doc = "Bits 18:21 - 0 ~ 15 means length 1 ~ 16"] #[inline(always)] - #[must_use] pub fn sar2_patt_len(&mut self) -> SAR2_PATT_LEN_W { SAR2_PATT_LEN_W::new(self, 18) } #[doc = "Bit 22 - clear the pointer of pattern table for DIG ADC1 CTRL"] #[inline(always)] - #[must_use] pub fn sar1_patt_p_clear(&mut self) -> SAR1_PATT_P_CLEAR_W { SAR1_PATT_P_CLEAR_W::new(self, 22) } #[doc = "Bit 23 - clear the pointer of pattern table for DIG ADC2 CTRL"] #[inline(always)] - #[must_use] pub fn sar2_patt_p_clear(&mut self) -> SAR2_PATT_P_CLEAR_W { SAR2_PATT_P_CLEAR_W::new(self, 23) } #[doc = "Bit 24 - 1: sar_sel will be coded by the MSB of the 16-bit output data, in this case the resolution should not be larger than 11 bits."] #[inline(always)] - #[must_use] pub fn data_sar_sel(&mut self) -> DATA_SAR_SEL_W { DATA_SAR_SEL_W::new(self, 24) } #[doc = "Bit 25 - 1: I2S input data is from SAR ADC (for DMA), 0: I2S input data is from GPIO matrix"] #[inline(always)] - #[must_use] pub fn data_to_i2s(&mut self) -> DATA_TO_I2S_W { DATA_TO_I2S_W::new(self, 25) } #[doc = "Bits 26:27 - force option to xpd sar1 blocks"] #[inline(always)] - #[must_use] pub fn xpd_sar1_force(&mut self) -> XPD_SAR1_FORCE_W { XPD_SAR1_FORCE_W::new(self, 26) } #[doc = "Bits 28:29 - force option to xpd sar2 blocks"] #[inline(always)] - #[must_use] pub fn xpd_sar2_force(&mut self) -> XPD_SAR2_FORCE_W { XPD_SAR2_FORCE_W::new(self, 28) } #[doc = "Bits 30:31 - wait arbit signal stable after sar_done"] #[inline(always)] - #[must_use] pub fn wait_arb_cycle(&mut self) -> WAIT_ARB_CYCLE_W { WAIT_ARB_CYCLE_W::new(self, 30) } diff --git a/esp32p4/src/adc/ctrl2.rs b/esp32p4/src/adc/ctrl2.rs index 4cb4287ead..2648132adf 100644 --- a/esp32p4/src/adc/ctrl2.rs +++ b/esp32p4/src/adc/ctrl2.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn meas_num_limit(&mut self) -> MEAS_NUM_LIMIT_W { MEAS_NUM_LIMIT_W::new(self, 0) } #[doc = "Bits 1:8 - max conversion number"] #[inline(always)] - #[must_use] pub fn max_meas_num(&mut self) -> MAX_MEAS_NUM_W { MAX_MEAS_NUM_W::new(self, 1) } #[doc = "Bit 9 - 1: data to DIG ADC1 CTRL is inverted, otherwise not"] #[inline(always)] - #[must_use] pub fn sar1_inv(&mut self) -> SAR1_INV_W { SAR1_INV_W::new(self, 9) } #[doc = "Bit 10 - 1: data to DIG ADC2 CTRL is inverted, otherwise not"] #[inline(always)] - #[must_use] pub fn sar2_inv(&mut self) -> SAR2_INV_W { SAR2_INV_W::new(self, 10) } #[doc = "Bit 11 - 1: select saradc timer 0: i2s_ws trigger"] #[inline(always)] - #[must_use] pub fn timer_sel(&mut self) -> TIMER_SEL_W { TIMER_SEL_W::new(self, 11) } #[doc = "Bits 12:23 - to set saradc timer target"] #[inline(always)] - #[must_use] pub fn timer_target(&mut self) -> TIMER_TARGET_W { TIMER_TARGET_W::new(self, 12) } #[doc = "Bit 24 - to enable saradc timer trigger"] #[inline(always)] - #[must_use] pub fn timer_en(&mut self) -> TIMER_EN_W { TIMER_EN_W::new(self, 24) } diff --git a/esp32p4/src/adc/ctrl_date.rs b/esp32p4/src/adc/ctrl_date.rs index 452f0279a4..c74198da3d 100644 --- a/esp32p4/src/adc/ctrl_date.rs +++ b/esp32p4/src/adc/ctrl_date.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - need_des"] #[inline(always)] - #[must_use] pub fn ctrl_date(&mut self) -> CTRL_DATE_W { CTRL_DATE_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32p4/src/adc/dma_conf.rs b/esp32p4/src/adc/dma_conf.rs index 4535763cc2..28e96bf171 100644 --- a/esp32p4/src/adc/dma_conf.rs +++ b/esp32p4/src/adc/dma_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - the dma_in_suc_eof gen when sample cnt = spi_eof_num"] #[inline(always)] - #[must_use] pub fn adc_eof_num(&mut self) -> ADC_EOF_NUM_W { ADC_EOF_NUM_W::new(self, 0) } #[doc = "Bit 30 - reset_apb_adc_state"] #[inline(always)] - #[must_use] pub fn adc_reset_fsm(&mut self) -> ADC_RESET_FSM_W { ADC_RESET_FSM_W::new(self, 30) } #[doc = "Bit 31 - enable apb_adc use spi_dma"] #[inline(always)] - #[must_use] pub fn adc_trans(&mut self) -> ADC_TRANS_W { ADC_TRANS_W::new(self, 31) } diff --git a/esp32p4/src/adc/filter_ctrl0.rs b/esp32p4/src/adc/filter_ctrl0.rs index 8d29e673ab..e7f7b4c04c 100644 --- a/esp32p4/src/adc/filter_ctrl0.rs +++ b/esp32p4/src/adc/filter_ctrl0.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 14:18 - need_des"] #[inline(always)] - #[must_use] pub fn filter_channel1(&mut self) -> FILTER_CHANNEL1_W { FILTER_CHANNEL1_W::new(self, 14) } #[doc = "Bits 19:23 - apb_adc1_filter_factor"] #[inline(always)] - #[must_use] pub fn filter_channel0(&mut self) -> FILTER_CHANNEL0_W { FILTER_CHANNEL0_W::new(self, 19) } #[doc = "Bit 31 - enable apb_adc1_filter"] #[inline(always)] - #[must_use] pub fn filter_reset(&mut self) -> FILTER_RESET_W { FILTER_RESET_W::new(self, 31) } diff --git a/esp32p4/src/adc/filter_ctrl1.rs b/esp32p4/src/adc/filter_ctrl1.rs index 56669a1b54..4996dfdbce 100644 --- a/esp32p4/src/adc/filter_ctrl1.rs +++ b/esp32p4/src/adc/filter_ctrl1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 26:28 - need_des"] #[inline(always)] - #[must_use] pub fn filter_factor1(&mut self) -> FILTER_FACTOR1_W { FILTER_FACTOR1_W::new(self, 26) } #[doc = "Bits 29:31 - need_des"] #[inline(always)] - #[must_use] pub fn filter_factor0(&mut self) -> FILTER_FACTOR0_W { FILTER_FACTOR0_W::new(self, 29) } diff --git a/esp32p4/src/adc/fsm_wait.rs b/esp32p4/src/adc/fsm_wait.rs index b12824281a..6a568a8f85 100644 --- a/esp32p4/src/adc/fsm_wait.rs +++ b/esp32p4/src/adc/fsm_wait.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - need_des"] #[inline(always)] - #[must_use] pub fn xpd_wait(&mut self) -> XPD_WAIT_W { XPD_WAIT_W::new(self, 0) } #[doc = "Bits 8:15 - need_des"] #[inline(always)] - #[must_use] pub fn rstb_wait(&mut self) -> RSTB_WAIT_W { RSTB_WAIT_W::new(self, 8) } #[doc = "Bits 16:23 - need_des"] #[inline(always)] - #[must_use] pub fn standby_wait(&mut self) -> STANDBY_WAIT_W { STANDBY_WAIT_W::new(self, 16) } diff --git a/esp32p4/src/adc/int_clr.rs b/esp32p4/src/adc/int_clr.rs index 93ef355070..f45cba859d 100644 --- a/esp32p4/src/adc/int_clr.rs +++ b/esp32p4/src/adc/int_clr.rs @@ -21,37 +21,31 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn thres1_low(&mut self) -> THRES1_LOW_W { THRES1_LOW_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn thres0_low(&mut self) -> THRES0_LOW_W { THRES0_LOW_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn thres1_high(&mut self) -> THRES1_HIGH_W { THRES1_HIGH_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn thres0_high(&mut self) -> THRES0_HIGH_W { THRES0_HIGH_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn adc2_done(&mut self) -> ADC2_DONE_W { ADC2_DONE_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn adc1_done(&mut self) -> ADC1_DONE_W { ADC1_DONE_W::new(self, 31) } diff --git a/esp32p4/src/adc/int_ena.rs b/esp32p4/src/adc/int_ena.rs index eb02fb5071..8ef4b2ee4f 100644 --- a/esp32p4/src/adc/int_ena.rs +++ b/esp32p4/src/adc/int_ena.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn thres1_low(&mut self) -> THRES1_LOW_W { THRES1_LOW_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn thres0_low(&mut self) -> THRES0_LOW_W { THRES0_LOW_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn thres1_high(&mut self) -> THRES1_HIGH_W { THRES1_HIGH_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn thres0_high(&mut self) -> THRES0_HIGH_W { THRES0_HIGH_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn adc2_done(&mut self) -> ADC2_DONE_W { ADC2_DONE_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn adc1_done(&mut self) -> ADC1_DONE_W { ADC1_DONE_W::new(self, 31) } diff --git a/esp32p4/src/adc/int_raw.rs b/esp32p4/src/adc/int_raw.rs index aae7150a97..6d49a5804c 100644 --- a/esp32p4/src/adc/int_raw.rs +++ b/esp32p4/src/adc/int_raw.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn thres1_low(&mut self) -> THRES1_LOW_W { THRES1_LOW_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn thres0_low(&mut self) -> THRES0_LOW_W { THRES0_LOW_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn thres1_high(&mut self) -> THRES1_HIGH_W { THRES1_HIGH_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn thres0_high(&mut self) -> THRES0_HIGH_W { THRES0_HIGH_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn adc2_done(&mut self) -> ADC2_DONE_W { ADC2_DONE_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn adc1_done(&mut self) -> ADC1_DONE_W { ADC1_DONE_W::new(self, 31) } diff --git a/esp32p4/src/adc/rnd_eco_cs.rs b/esp32p4/src/adc/rnd_eco_cs.rs index b022f95919..d5463a5aeb 100644 --- a/esp32p4/src/adc/rnd_eco_cs.rs +++ b/esp32p4/src/adc/rnd_eco_cs.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn rnd_eco_en(&mut self) -> RND_ECO_EN_W { RND_ECO_EN_W::new(self, 0) } diff --git a/esp32p4/src/adc/rnd_eco_high.rs b/esp32p4/src/adc/rnd_eco_high.rs index 635ef6d9e0..e1cd1e2ff9 100644 --- a/esp32p4/src/adc/rnd_eco_high.rs +++ b/esp32p4/src/adc/rnd_eco_high.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - rnd eco high"] #[inline(always)] - #[must_use] pub fn rnd_eco_high(&mut self) -> RND_ECO_HIGH_W { RND_ECO_HIGH_W::new(self, 0) } diff --git a/esp32p4/src/adc/rnd_eco_low.rs b/esp32p4/src/adc/rnd_eco_low.rs index 8584ddad0d..02062453ca 100644 --- a/esp32p4/src/adc/rnd_eco_low.rs +++ b/esp32p4/src/adc/rnd_eco_low.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - rnd eco low"] #[inline(always)] - #[must_use] pub fn rnd_eco_low(&mut self) -> RND_ECO_LOW_W { RND_ECO_LOW_W::new(self, 0) } diff --git a/esp32p4/src/adc/sar1_patt_tab1.rs b/esp32p4/src/adc/sar1_patt_tab1.rs index b468e46b81..0f9af1b424 100644 --- a/esp32p4/src/adc/sar1_patt_tab1.rs +++ b/esp32p4/src/adc/sar1_patt_tab1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - item 0 ~ 3 for pattern table 1 (each item one byte)"] #[inline(always)] - #[must_use] pub fn sar1_patt_tab1(&mut self) -> SAR1_PATT_TAB1_W { SAR1_PATT_TAB1_W::new(self, 0) } diff --git a/esp32p4/src/adc/sar1_patt_tab2.rs b/esp32p4/src/adc/sar1_patt_tab2.rs index 75a15b5aeb..7ffa6e5e4c 100644 --- a/esp32p4/src/adc/sar1_patt_tab2.rs +++ b/esp32p4/src/adc/sar1_patt_tab2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - Item 4 ~ 7 for pattern table 1 (each item one byte)"] #[inline(always)] - #[must_use] pub fn sar1_patt_tab2(&mut self) -> SAR1_PATT_TAB2_W { SAR1_PATT_TAB2_W::new(self, 0) } diff --git a/esp32p4/src/adc/sar1_patt_tab3.rs b/esp32p4/src/adc/sar1_patt_tab3.rs index a49af7535c..325d4c8e73 100644 --- a/esp32p4/src/adc/sar1_patt_tab3.rs +++ b/esp32p4/src/adc/sar1_patt_tab3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - Item 8 ~ 11 for pattern table 1 (each item one byte)"] #[inline(always)] - #[must_use] pub fn sar1_patt_tab3(&mut self) -> SAR1_PATT_TAB3_W { SAR1_PATT_TAB3_W::new(self, 0) } diff --git a/esp32p4/src/adc/sar1_patt_tab4.rs b/esp32p4/src/adc/sar1_patt_tab4.rs index 8cdd4d2369..4fe10ded93 100644 --- a/esp32p4/src/adc/sar1_patt_tab4.rs +++ b/esp32p4/src/adc/sar1_patt_tab4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - Item 12 ~ 15 for pattern table 1 (each item one byte)"] #[inline(always)] - #[must_use] pub fn sar1_patt_tab4(&mut self) -> SAR1_PATT_TAB4_W { SAR1_PATT_TAB4_W::new(self, 0) } diff --git a/esp32p4/src/adc/sar2_patt_tab1.rs b/esp32p4/src/adc/sar2_patt_tab1.rs index c65446cb00..f1de7d0ef7 100644 --- a/esp32p4/src/adc/sar2_patt_tab1.rs +++ b/esp32p4/src/adc/sar2_patt_tab1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - item 0 ~ 3 for pattern table 2 (each item one byte)"] #[inline(always)] - #[must_use] pub fn sar2_patt_tab1(&mut self) -> SAR2_PATT_TAB1_W { SAR2_PATT_TAB1_W::new(self, 0) } diff --git a/esp32p4/src/adc/sar2_patt_tab2.rs b/esp32p4/src/adc/sar2_patt_tab2.rs index 7bfe2de9fd..510228a204 100644 --- a/esp32p4/src/adc/sar2_patt_tab2.rs +++ b/esp32p4/src/adc/sar2_patt_tab2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - Item 4 ~ 7 for pattern table 2 (each item one byte)"] #[inline(always)] - #[must_use] pub fn sar2_patt_tab2(&mut self) -> SAR2_PATT_TAB2_W { SAR2_PATT_TAB2_W::new(self, 0) } diff --git a/esp32p4/src/adc/sar2_patt_tab3.rs b/esp32p4/src/adc/sar2_patt_tab3.rs index 34e1e1a288..b103172d1a 100644 --- a/esp32p4/src/adc/sar2_patt_tab3.rs +++ b/esp32p4/src/adc/sar2_patt_tab3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - Item 8 ~ 11 for pattern table 2 (each item one byte)"] #[inline(always)] - #[must_use] pub fn sar2_patt_tab3(&mut self) -> SAR2_PATT_TAB3_W { SAR2_PATT_TAB3_W::new(self, 0) } diff --git a/esp32p4/src/adc/sar2_patt_tab4.rs b/esp32p4/src/adc/sar2_patt_tab4.rs index 3357a92bba..967ca1bd7a 100644 --- a/esp32p4/src/adc/sar2_patt_tab4.rs +++ b/esp32p4/src/adc/sar2_patt_tab4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - Item 12 ~ 15 for pattern table 2 (each item one byte)"] #[inline(always)] - #[must_use] pub fn sar2_patt_tab4(&mut self) -> SAR2_PATT_TAB4_W { SAR2_PATT_TAB4_W::new(self, 0) } diff --git a/esp32p4/src/adc/thres0_ctrl.rs b/esp32p4/src/adc/thres0_ctrl.rs index ef910ae827..78605dd943 100644 --- a/esp32p4/src/adc/thres0_ctrl.rs +++ b/esp32p4/src/adc/thres0_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - need_des"] #[inline(always)] - #[must_use] pub fn thres0_channel(&mut self) -> THRES0_CHANNEL_W { THRES0_CHANNEL_W::new(self, 0) } #[doc = "Bits 5:17 - saradc1's thres0 monitor thres"] #[inline(always)] - #[must_use] pub fn thres0_high(&mut self) -> THRES0_HIGH_W { THRES0_HIGH_W::new(self, 5) } #[doc = "Bits 18:30 - saradc1's thres0 monitor thres"] #[inline(always)] - #[must_use] pub fn thres0_low(&mut self) -> THRES0_LOW_W { THRES0_LOW_W::new(self, 18) } diff --git a/esp32p4/src/adc/thres1_ctrl.rs b/esp32p4/src/adc/thres1_ctrl.rs index 964116f23d..4605afd4c5 100644 --- a/esp32p4/src/adc/thres1_ctrl.rs +++ b/esp32p4/src/adc/thres1_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - need_des"] #[inline(always)] - #[must_use] pub fn thres1_channel(&mut self) -> THRES1_CHANNEL_W { THRES1_CHANNEL_W::new(self, 0) } #[doc = "Bits 5:17 - saradc1's thres0 monitor thres"] #[inline(always)] - #[must_use] pub fn thres1_high(&mut self) -> THRES1_HIGH_W { THRES1_HIGH_W::new(self, 5) } #[doc = "Bits 18:30 - saradc1's thres0 monitor thres"] #[inline(always)] - #[must_use] pub fn thres1_low(&mut self) -> THRES1_LOW_W { THRES1_LOW_W::new(self, 18) } diff --git a/esp32p4/src/adc/thres_ctrl.rs b/esp32p4/src/adc/thres_ctrl.rs index fd18dd5165..4554cdde34 100644 --- a/esp32p4/src/adc/thres_ctrl.rs +++ b/esp32p4/src/adc/thres_ctrl.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn thres_all_en(&mut self) -> THRES_ALL_EN_W { THRES_ALL_EN_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn thres3_en(&mut self) -> THRES3_EN_W { THRES3_EN_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn thres2_en(&mut self) -> THRES2_EN_W { THRES2_EN_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn thres1_en(&mut self) -> THRES1_EN_W { THRES1_EN_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn thres0_en(&mut self) -> THRES0_EN_W { THRES0_EN_W::new(self, 31) } diff --git a/esp32p4/src/aes/aad_block_num.rs b/esp32p4/src/aes/aad_block_num.rs index 69251c94d2..709b31f828 100644 --- a/esp32p4/src/aes/aad_block_num.rs +++ b/esp32p4/src/aes/aad_block_num.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits stores the number of AAD block."] #[inline(always)] - #[must_use] pub fn aad_block_num(&mut self) -> AAD_BLOCK_NUM_W { AAD_BLOCK_NUM_W::new(self, 0) } diff --git a/esp32p4/src/aes/block_mode.rs b/esp32p4/src/aes/block_mode.rs index cb38ed2b65..a386bf1185 100644 --- a/esp32p4/src/aes/block_mode.rs +++ b/esp32p4/src/aes/block_mode.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - Those bits decides which block mode will be used. 0x0: ECB, 0x1: CBC, 0x2: OFB, 0x3: CTR, 0x4: CFB-8, 0x5: CFB-128, 0x6: GCM, 0x7: reserved."] #[inline(always)] - #[must_use] pub fn block_mode(&mut self) -> BLOCK_MODE_W { BLOCK_MODE_W::new(self, 0) } diff --git a/esp32p4/src/aes/block_num.rs b/esp32p4/src/aes/block_num.rs index 5c3719085a..35478ff441 100644 --- a/esp32p4/src/aes/block_num.rs +++ b/esp32p4/src/aes/block_num.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits stores the number of Plaintext/ciphertext block."] #[inline(always)] - #[must_use] pub fn block_num(&mut self) -> BLOCK_NUM_W { BLOCK_NUM_W::new(self, 0) } diff --git a/esp32p4/src/aes/continue_.rs b/esp32p4/src/aes/continue_.rs index 13d71cf7a9..daf54fcf09 100644 --- a/esp32p4/src/aes/continue_.rs +++ b/esp32p4/src/aes/continue_.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to continue GCM operation."] #[inline(always)] - #[must_use] pub fn continue_(&mut self) -> CONTINUE_W { CONTINUE_W::new(self, 0) } diff --git a/esp32p4/src/aes/date.rs b/esp32p4/src/aes/date.rs index 2b4485b861..c860c6be83 100644 --- a/esp32p4/src/aes/date.rs +++ b/esp32p4/src/aes/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - This bits stores the version information of AES."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32p4/src/aes/dma_enable.rs b/esp32p4/src/aes/dma_enable.rs index 760df2c252..590c271a3e 100644 --- a/esp32p4/src/aes/dma_enable.rs +++ b/esp32p4/src/aes/dma_enable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1'b0: typical AES working mode, 1'b1: DMA-AES working mode."] #[inline(always)] - #[must_use] pub fn dma_enable(&mut self) -> DMA_ENABLE_W { DMA_ENABLE_W::new(self, 0) } diff --git a/esp32p4/src/aes/dma_exit.rs b/esp32p4/src/aes/dma_exit.rs index 5e0e6b4557..8dc4b24b6b 100644 --- a/esp32p4/src/aes/dma_exit.rs +++ b/esp32p4/src/aes/dma_exit.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this register to leave calculation done stage. Recommend to use it after software finishes reading DMA's output buffer."] #[inline(always)] - #[must_use] pub fn dma_exit(&mut self) -> DMA_EXIT_W { DMA_EXIT_W::new(self, 0) } diff --git a/esp32p4/src/aes/endian.rs b/esp32p4/src/aes/endian.rs index 24c40ced4a..dbaf10f41a 100644 --- a/esp32p4/src/aes/endian.rs +++ b/esp32p4/src/aes/endian.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - endian. \\[1:0\\] key endian, \\[3:2\\] text_in endian or in_stream endian, \\[5:4\\] text_out endian or out_stream endian"] #[inline(always)] - #[must_use] pub fn endian(&mut self) -> ENDIAN_W { ENDIAN_W::new(self, 0) } diff --git a/esp32p4/src/aes/inc_sel.rs b/esp32p4/src/aes/inc_sel.rs index 5ea62fcf85..00027a27c8 100644 --- a/esp32p4/src/aes/inc_sel.rs +++ b/esp32p4/src/aes/inc_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit decides the standard incrementing function. 0: INC32. 1: INC128."] #[inline(always)] - #[must_use] pub fn inc_sel(&mut self) -> INC_SEL_W { INC_SEL_W::new(self, 0) } diff --git a/esp32p4/src/aes/int_clr.rs b/esp32p4/src/aes/int_clr.rs index 3f2368572b..30ecad239a 100644 --- a/esp32p4/src/aes/int_clr.rs +++ b/esp32p4/src/aes/int_clr.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the AES interrupt."] #[inline(always)] - #[must_use] pub fn int_clr(&mut self) -> INT_CLR_W { INT_CLR_W::new(self, 0) } diff --git a/esp32p4/src/aes/int_ena.rs b/esp32p4/src/aes/int_ena.rs index 500f071796..c4a6a34927 100644 --- a/esp32p4/src/aes/int_ena.rs +++ b/esp32p4/src/aes/int_ena.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable interrupt that occurs when DMA-AES calculation is done."] #[inline(always)] - #[must_use] pub fn int_ena(&mut self) -> INT_ENA_W { INT_ENA_W::new(self, 0) } diff --git a/esp32p4/src/aes/key.rs b/esp32p4/src/aes/key.rs index 00e0561287..afe084e3bb 100644 --- a/esp32p4/src/aes/key.rs +++ b/esp32p4/src/aes/key.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This bits stores key_0 that is a part of key material."] #[inline(always)] - #[must_use] pub fn key(&mut self) -> KEY_W { KEY_W::new(self, 0) } diff --git a/esp32p4/src/aes/mode.rs b/esp32p4/src/aes/mode.rs index bad1d86223..66f978745b 100644 --- a/esp32p4/src/aes/mode.rs +++ b/esp32p4/src/aes/mode.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - This bits decides which one operation mode will be used. 3'd0: AES-EN-128, 3'd1: AES-EN-192, 3'd2: AES-EN-256, 3'd4: AES-DE-128, 3'd5: AES-DE-192, 3'd6: AES-DE-256."] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 0) } diff --git a/esp32p4/src/aes/remainder_bit_num.rs b/esp32p4/src/aes/remainder_bit_num.rs index c2a124ab9e..3f20adbc9f 100644 --- a/esp32p4/src/aes/remainder_bit_num.rs +++ b/esp32p4/src/aes/remainder_bit_num.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Those bits stores the number of remainder bit."] #[inline(always)] - #[must_use] pub fn remainder_bit_num(&mut self) -> REMAINDER_BIT_NUM_W { REMAINDER_BIT_NUM_W::new(self, 0) } diff --git a/esp32p4/src/aes/text_in.rs b/esp32p4/src/aes/text_in.rs index 18631b63aa..9d22eaffa8 100644 --- a/esp32p4/src/aes/text_in.rs +++ b/esp32p4/src/aes/text_in.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This bits stores text_in_0 that is a part of source text material."] #[inline(always)] - #[must_use] pub fn text_in(&mut self) -> TEXT_IN_W { TEXT_IN_W::new(self, 0) } diff --git a/esp32p4/src/aes/text_out.rs b/esp32p4/src/aes/text_out.rs index e1028d5d06..44471c9f00 100644 --- a/esp32p4/src/aes/text_out.rs +++ b/esp32p4/src/aes/text_out.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This bits stores text_out_0 that is a part of result text material."] #[inline(always)] - #[must_use] pub fn text_out(&mut self) -> TEXT_OUT_W { TEXT_OUT_W::new(self, 0) } diff --git a/esp32p4/src/aes/trigger.rs b/esp32p4/src/aes/trigger.rs index 1b80d9df09..642626d867 100644 --- a/esp32p4/src/aes/trigger.rs +++ b/esp32p4/src/aes/trigger.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to start AES calculation."] #[inline(always)] - #[must_use] pub fn trigger(&mut self) -> TRIGGER_W { TRIGGER_W::new(self, 0) } diff --git a/esp32p4/src/ahb_dma/ahb_test.rs b/esp32p4/src/ahb_dma/ahb_test.rs index aed39b9b4b..267c4d1c67 100644 --- a/esp32p4/src/ahb_dma/ahb_test.rs +++ b/esp32p4/src/ahb_dma/ahb_test.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - reserved"] #[inline(always)] - #[must_use] pub fn ahb_testmode(&mut self) -> AHB_TESTMODE_W { AHB_TESTMODE_W::new(self, 0) } #[doc = "Bits 4:5 - reserved"] #[inline(always)] - #[must_use] pub fn ahb_testaddr(&mut self) -> AHB_TESTADDR_W { AHB_TESTADDR_W::new(self, 4) } diff --git a/esp32p4/src/ahb_dma/arb_timeout_rx.rs b/esp32p4/src/ahb_dma/arb_timeout_rx.rs index 72a219a3af..796776e530 100644 --- a/esp32p4/src/ahb_dma/arb_timeout_rx.rs +++ b/esp32p4/src/ahb_dma/arb_timeout_rx.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to config arbiter time out value"] #[inline(always)] - #[must_use] pub fn arb_timeout_rx(&mut self) -> ARB_TIMEOUT_RX_W { ARB_TIMEOUT_RX_W::new(self, 0) } diff --git a/esp32p4/src/ahb_dma/arb_timeout_tx.rs b/esp32p4/src/ahb_dma/arb_timeout_tx.rs index 545f10c11d..535e59841a 100644 --- a/esp32p4/src/ahb_dma/arb_timeout_tx.rs +++ b/esp32p4/src/ahb_dma/arb_timeout_tx.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to config arbiter time out value"] #[inline(always)] - #[must_use] pub fn arb_timeout_tx(&mut self) -> ARB_TIMEOUT_TX_W { ARB_TIMEOUT_TX_W::new(self, 0) } diff --git a/esp32p4/src/ahb_dma/ch/in_conf0.rs b/esp32p4/src/ahb_dma/ch/in_conf0.rs index 69bba5075f..ab1d6d5111 100644 --- a/esp32p4/src/ahb_dma/ch/in_conf0.rs +++ b/esp32p4/src/ahb_dma/ch/in_conf0.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to reset AHB_DMA channel 0 Rx FSM and Rx FIFO pointer."] #[inline(always)] - #[must_use] pub fn in_rst(&mut self) -> IN_RST_W { IN_RST_W::new(self, 0) } #[doc = "Bit 1 - reserved"] #[inline(always)] - #[must_use] pub fn in_loop_test(&mut self) -> IN_LOOP_TEST_W { IN_LOOP_TEST_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to 1 to enable INCR burst transfer for Rx channel 0 reading link descriptor when accessing internal SRAM."] #[inline(always)] - #[must_use] pub fn indscr_burst_en(&mut self) -> INDSCR_BURST_EN_W { INDSCR_BURST_EN_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to 1 to enable INCR burst transfer for Rx channel 0 receiving data when accessing internal SRAM."] #[inline(always)] - #[must_use] pub fn in_data_burst_en(&mut self) -> IN_DATA_BURST_EN_W { IN_DATA_BURST_EN_W::new(self, 3) } #[doc = "Bit 4 - Set this bit 1 to enable automatic transmitting data from memory to memory via AHB_DMA."] #[inline(always)] - #[must_use] pub fn mem_trans_en(&mut self) -> MEM_TRANS_EN_W { MEM_TRANS_EN_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to 1 to enable etm control mode, dma Rx channel 0 is triggered by etm task."] #[inline(always)] - #[must_use] pub fn in_etm_en(&mut self) -> IN_ETM_EN_W { IN_ETM_EN_W::new(self, 5) } diff --git a/esp32p4/src/ahb_dma/ch/in_conf1.rs b/esp32p4/src/ahb_dma/ch/in_conf1.rs index 980d973178..2eba44f9f0 100644 --- a/esp32p4/src/ahb_dma/ch/in_conf1.rs +++ b/esp32p4/src/ahb_dma/ch/in_conf1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - Set this bit to enable checking the owner attribute of the link descriptor."] #[inline(always)] - #[must_use] pub fn in_check_owner(&mut self) -> IN_CHECK_OWNER_W { IN_CHECK_OWNER_W::new(self, 12) } diff --git a/esp32p4/src/ahb_dma/ch/in_link.rs b/esp32p4/src/ahb_dma/ch/in_link.rs index d207173b09..e8bf803276 100644 --- a/esp32p4/src/ahb_dma/ch/in_link.rs +++ b/esp32p4/src/ahb_dma/ch/in_link.rs @@ -38,25 +38,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to return to current inlink descriptor's address when there are some errors in current receiving data."] #[inline(always)] - #[must_use] pub fn inlink_auto_ret(&mut self) -> INLINK_AUTO_RET_W { INLINK_AUTO_RET_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to stop dealing with the inlink descriptors."] #[inline(always)] - #[must_use] pub fn inlink_stop(&mut self) -> INLINK_STOP_W { INLINK_STOP_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to start dealing with the inlink descriptors."] #[inline(always)] - #[must_use] pub fn inlink_start(&mut self) -> INLINK_START_W { INLINK_START_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to mount a new inlink descriptor."] #[inline(always)] - #[must_use] pub fn inlink_restart(&mut self) -> INLINK_RESTART_W { INLINK_RESTART_W::new(self, 3) } diff --git a/esp32p4/src/ahb_dma/ch/in_peri_sel.rs b/esp32p4/src/ahb_dma/ch/in_peri_sel.rs index 6e1aa3964f..e04004385a 100644 --- a/esp32p4/src/ahb_dma/ch/in_peri_sel.rs +++ b/esp32p4/src/ahb_dma/ch/in_peri_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - This register is used to select peripheral for Rx channel 0. I3C. 1: Dummy. 2: UHCI0. 3: I2S0. 4: I2S1. 5: I2S2. 6: Dummy. 7: Dummy. 8: ADC_DAC. 9: Dummy. 10: RMT,11~15: Dummy"] #[inline(always)] - #[must_use] pub fn peri_in_sel(&mut self) -> PERI_IN_SEL_W { PERI_IN_SEL_W::new(self, 0) } diff --git a/esp32p4/src/ahb_dma/ch/in_pop.rs b/esp32p4/src/ahb_dma/ch/in_pop.rs index f822e0dc2c..a6c0669ff4 100644 --- a/esp32p4/src/ahb_dma/ch/in_pop.rs +++ b/esp32p4/src/ahb_dma/ch/in_pop.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - Set this bit to pop data from AHB_DMA FIFO."] #[inline(always)] - #[must_use] pub fn infifo_pop(&mut self) -> INFIFO_POP_W { INFIFO_POP_W::new(self, 12) } diff --git a/esp32p4/src/ahb_dma/ch/in_pri.rs b/esp32p4/src/ahb_dma/ch/in_pri.rs index e252b476ee..3a4c4e9b0e 100644 --- a/esp32p4/src/ahb_dma/ch/in_pri.rs +++ b/esp32p4/src/ahb_dma/ch/in_pri.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - The priority of Rx channel 0. The larger of the value the higher of the priority."] #[inline(always)] - #[must_use] pub fn rx_pri(&mut self) -> RX_PRI_W { RX_PRI_W::new(self, 0) } diff --git a/esp32p4/src/ahb_dma/ch/out_conf0.rs b/esp32p4/src/ahb_dma/ch/out_conf0.rs index 81a1c7c629..7ca300f20f 100644 --- a/esp32p4/src/ahb_dma/ch/out_conf0.rs +++ b/esp32p4/src/ahb_dma/ch/out_conf0.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to reset AHB_DMA channel 1 Tx FSM and Tx FIFO pointer."] #[inline(always)] - #[must_use] pub fn out_rst(&mut self) -> OUT_RST_W { OUT_RST_W::new(self, 0) } #[doc = "Bit 1 - reserved"] #[inline(always)] - #[must_use] pub fn out_loop_test(&mut self) -> OUT_LOOP_TEST_W { OUT_LOOP_TEST_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to enable automatic outlink-writeback when all the data in tx buffer has been transmitted."] #[inline(always)] - #[must_use] pub fn out_auto_wrback(&mut self) -> OUT_AUTO_WRBACK_W { OUT_AUTO_WRBACK_W::new(self, 2) } #[doc = "Bit 3 - EOF flag generation mode when transmitting data. 1: EOF flag for Tx channel 1 is generated when data need to transmit has been popped from FIFO in AHB_DMA"] #[inline(always)] - #[must_use] pub fn out_eof_mode(&mut self) -> OUT_EOF_MODE_W { OUT_EOF_MODE_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to 1 to enable INCR burst transfer for Tx channel 1 reading link descriptor when accessing internal SRAM."] #[inline(always)] - #[must_use] pub fn outdscr_burst_en(&mut self) -> OUTDSCR_BURST_EN_W { OUTDSCR_BURST_EN_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to 1 to enable INCR burst transfer for Tx channel 1 transmitting data when accessing internal SRAM."] #[inline(always)] - #[must_use] pub fn out_data_burst_en(&mut self) -> OUT_DATA_BURST_EN_W { OUT_DATA_BURST_EN_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to 1 to enable etm control mode, dma Tx channel 1 is triggered by etm task."] #[inline(always)] - #[must_use] pub fn out_etm_en(&mut self) -> OUT_ETM_EN_W { OUT_ETM_EN_W::new(self, 6) } diff --git a/esp32p4/src/ahb_dma/ch/out_conf1.rs b/esp32p4/src/ahb_dma/ch/out_conf1.rs index 4ae784e662..b31fcd2a8a 100644 --- a/esp32p4/src/ahb_dma/ch/out_conf1.rs +++ b/esp32p4/src/ahb_dma/ch/out_conf1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - Set this bit to enable checking the owner attribute of the link descriptor."] #[inline(always)] - #[must_use] pub fn out_check_owner(&mut self) -> OUT_CHECK_OWNER_W { OUT_CHECK_OWNER_W::new(self, 12) } diff --git a/esp32p4/src/ahb_dma/ch/out_link.rs b/esp32p4/src/ahb_dma/ch/out_link.rs index 4b68c59a4b..19fae08f93 100644 --- a/esp32p4/src/ahb_dma/ch/out_link.rs +++ b/esp32p4/src/ahb_dma/ch/out_link.rs @@ -28,19 +28,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to stop dealing with the outlink descriptors."] #[inline(always)] - #[must_use] pub fn outlink_stop(&mut self) -> OUTLINK_STOP_W { OUTLINK_STOP_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to start dealing with the outlink descriptors."] #[inline(always)] - #[must_use] pub fn outlink_start(&mut self) -> OUTLINK_START_W { OUTLINK_START_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to restart a new outlink from the last address."] #[inline(always)] - #[must_use] pub fn outlink_restart(&mut self) -> OUTLINK_RESTART_W { OUTLINK_RESTART_W::new(self, 2) } diff --git a/esp32p4/src/ahb_dma/ch/out_peri_sel.rs b/esp32p4/src/ahb_dma/ch/out_peri_sel.rs index 4dd810cace..b0c6a8584a 100644 --- a/esp32p4/src/ahb_dma/ch/out_peri_sel.rs +++ b/esp32p4/src/ahb_dma/ch/out_peri_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - This register is used to select peripheral for Tx channel 0. I3C. 1: Dummy. 2: UHCI0. 3: I2S0. 4: I2S1. 5: I2S2. 6: Dummy. 7: Dummy. 8: ADC_DAC. 9: Dummy. 10: RMT,11~15: Dummy"] #[inline(always)] - #[must_use] pub fn peri_out_sel(&mut self) -> PERI_OUT_SEL_W { PERI_OUT_SEL_W::new(self, 0) } diff --git a/esp32p4/src/ahb_dma/ch/out_pri.rs b/esp32p4/src/ahb_dma/ch/out_pri.rs index fd677264cd..82f1e2dae6 100644 --- a/esp32p4/src/ahb_dma/ch/out_pri.rs +++ b/esp32p4/src/ahb_dma/ch/out_pri.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - The priority of Tx channel 0. The larger of the value the higher of the priority."] #[inline(always)] - #[must_use] pub fn tx_pri(&mut self) -> TX_PRI_W { TX_PRI_W::new(self, 0) } diff --git a/esp32p4/src/ahb_dma/ch/out_push.rs b/esp32p4/src/ahb_dma/ch/out_push.rs index a1908fbab3..cfa8c87c61 100644 --- a/esp32p4/src/ahb_dma/ch/out_push.rs +++ b/esp32p4/src/ahb_dma/ch/out_push.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register stores the data that need to be pushed into AHB_DMA FIFO."] #[inline(always)] - #[must_use] pub fn outfifo_wdata(&mut self) -> OUTFIFO_WDATA_W { OUTFIFO_WDATA_W::new(self, 0) } #[doc = "Bit 9 - Set this bit to push data into AHB_DMA FIFO."] #[inline(always)] - #[must_use] pub fn outfifo_push(&mut self) -> OUTFIFO_PUSH_W { OUTFIFO_PUSH_W::new(self, 9) } diff --git a/esp32p4/src/ahb_dma/date.rs b/esp32p4/src/ahb_dma/date.rs index 19faa085c1..43dc3330eb 100644 --- a/esp32p4/src/ahb_dma/date.rs +++ b/esp32p4/src/ahb_dma/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - register version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32p4/src/ahb_dma/in_crc_ch.rs b/esp32p4/src/ahb_dma/in_crc_ch.rs index 9c19af3c74..aebe58939e 100644 --- a/esp32p4/src/ahb_dma/in_crc_ch.rs +++ b/esp32p4/src/ahb_dma/in_crc_ch.rs @@ -19,7 +19,7 @@ impl IN_CRC_CH { pub const fn in_crc_init_data(&self) -> &IN_CRC_INIT_DATA { &self.in_crc_init_data } - #[doc = "0x04 - This register is used to confiig rx ch0 crc result width,2'b00 mean crc_width <=8bit,2'b01 8<crc_width<=16 ,2'b10 mean 16<crc_width <=24,2'b11 mean 24<crc_width<=32"] + #[doc = "0x04 - This register is used to confiig rx ch0 crc result width,2'b00 mean crc_width <=8bit,2'b01 8 &RX_CRC_WIDTH { &self.rx_crc_width @@ -69,9 +69,9 @@ impl IN_CRC_CH { pub type IN_CRC_INIT_DATA = crate::Reg; #[doc = "This register is used to config ch0 crc initial data(max 32 bit)"] pub mod in_crc_init_data; -#[doc = "RX_CRC_WIDTH (rw) register accessor: This register is used to confiig rx ch0 crc result width,2'b00 mean crc_width <=8bit,2'b01 8<crc_width<=16 ,2'b10 mean 16<crc_width <=24,2'b11 mean 24<crc_width<=32\n\nYou can [`read`](crate::Reg::read) this register and get [`rx_crc_width::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`rx_crc_width::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@rx_crc_width`] module"] +#[doc = "RX_CRC_WIDTH (rw) register accessor: This register is used to confiig rx ch0 crc result width,2'b00 mean crc_width <=8bit,2'b01 8; -#[doc = "This register is used to confiig rx ch0 crc result width,2'b00 mean crc_width <=8bit,2'b01 8<crc_width<=16 ,2'b10 mean 16<crc_width <=24,2'b11 mean 24<crc_width<=32"] +#[doc = "This register is used to confiig rx ch0 crc result width,2'b00 mean crc_width <=8bit,2'b01 8; diff --git a/esp32p4/src/ahb_dma/in_crc_ch/in_crc_clear.rs b/esp32p4/src/ahb_dma/in_crc_ch/in_crc_clear.rs index 4c911173c5..6f2bbd2ea7 100644 --- a/esp32p4/src/ahb_dma/in_crc_ch/in_crc_clear.rs +++ b/esp32p4/src/ahb_dma/in_crc_ch/in_crc_clear.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This register is used to clear ch0 of rx crc result"] #[inline(always)] - #[must_use] pub fn in_crc_clear(&mut self) -> IN_CRC_CLEAR_W { IN_CRC_CLEAR_W::new(self, 0) } diff --git a/esp32p4/src/ahb_dma/in_crc_ch/in_crc_init_data.rs b/esp32p4/src/ahb_dma/in_crc_ch/in_crc_init_data.rs index 2a0ee8f8fd..b1405381bb 100644 --- a/esp32p4/src/ahb_dma/in_crc_ch/in_crc_init_data.rs +++ b/esp32p4/src/ahb_dma/in_crc_ch/in_crc_init_data.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This register is used to config ch0 of rx crc initial value"] #[inline(always)] - #[must_use] pub fn in_crc_init_data(&mut self) -> IN_CRC_INIT_DATA_W { IN_CRC_INIT_DATA_W::new(self, 0) } diff --git a/esp32p4/src/ahb_dma/in_crc_ch/rx_arb_weigh_opt_dir.rs b/esp32p4/src/ahb_dma/in_crc_ch/rx_arb_weigh_opt_dir.rs index 6ef18042fb..56ec885a32 100644 --- a/esp32p4/src/ahb_dma/in_crc_ch/rx_arb_weigh_opt_dir.rs +++ b/esp32p4/src/ahb_dma/in_crc_ch/rx_arb_weigh_opt_dir.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reserved"] #[inline(always)] - #[must_use] pub fn rx_arb_weigh_opt_dir(&mut self) -> RX_ARB_WEIGH_OPT_DIR_W { RX_ARB_WEIGH_OPT_DIR_W::new(self, 0) } diff --git a/esp32p4/src/ahb_dma/in_crc_ch/rx_ch_arb_weigh.rs b/esp32p4/src/ahb_dma/in_crc_ch/rx_ch_arb_weigh.rs index 4360189e4d..133cc28459 100644 --- a/esp32p4/src/ahb_dma/in_crc_ch/rx_ch_arb_weigh.rs +++ b/esp32p4/src/ahb_dma/in_crc_ch/rx_ch_arb_weigh.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - reserved"] #[inline(always)] - #[must_use] pub fn rx_ch_arb_weigh(&mut self) -> RX_CH_ARB_WEIGH_W { RX_CH_ARB_WEIGH_W::new(self, 0) } diff --git a/esp32p4/src/ahb_dma/in_crc_ch/rx_crc_data_en_addr.rs b/esp32p4/src/ahb_dma/in_crc_ch/rx_crc_data_en_addr.rs index 30c1ac8741..5011777986 100644 --- a/esp32p4/src/ahb_dma/in_crc_ch/rx_crc_data_en_addr.rs +++ b/esp32p4/src/ahb_dma/in_crc_ch/rx_crc_data_en_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reserved"] #[inline(always)] - #[must_use] pub fn rx_crc_data_en_addr(&mut self) -> RX_CRC_DATA_EN_ADDR_W { RX_CRC_DATA_EN_ADDR_W::new(self, 0) } diff --git a/esp32p4/src/ahb_dma/in_crc_ch/rx_crc_data_en_wr_data.rs b/esp32p4/src/ahb_dma/in_crc_ch/rx_crc_data_en_wr_data.rs index 4cc68f947a..007582831d 100644 --- a/esp32p4/src/ahb_dma/in_crc_ch/rx_crc_data_en_wr_data.rs +++ b/esp32p4/src/ahb_dma/in_crc_ch/rx_crc_data_en_wr_data.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - reserved"] #[inline(always)] - #[must_use] pub fn rx_crc_data_en_wr_data( &mut self, ) -> RX_CRC_DATA_EN_WR_DATA_W { diff --git a/esp32p4/src/ahb_dma/in_crc_ch/rx_crc_en_addr.rs b/esp32p4/src/ahb_dma/in_crc_ch/rx_crc_en_addr.rs index 6f771eba2d..c27cc58b0b 100644 --- a/esp32p4/src/ahb_dma/in_crc_ch/rx_crc_en_addr.rs +++ b/esp32p4/src/ahb_dma/in_crc_ch/rx_crc_en_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reserved"] #[inline(always)] - #[must_use] pub fn rx_crc_en_addr(&mut self) -> RX_CRC_EN_ADDR_W { RX_CRC_EN_ADDR_W::new(self, 0) } diff --git a/esp32p4/src/ahb_dma/in_crc_ch/rx_crc_en_wr_data.rs b/esp32p4/src/ahb_dma/in_crc_ch/rx_crc_en_wr_data.rs index c5dc8d035e..66d21c8520 100644 --- a/esp32p4/src/ahb_dma/in_crc_ch/rx_crc_en_wr_data.rs +++ b/esp32p4/src/ahb_dma/in_crc_ch/rx_crc_en_wr_data.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This register is used to enable rx ch0 crc 32bit on/off"] #[inline(always)] - #[must_use] pub fn rx_crc_en_wr_data(&mut self) -> RX_CRC_EN_WR_DATA_W { RX_CRC_EN_WR_DATA_W::new(self, 0) } diff --git a/esp32p4/src/ahb_dma/in_crc_ch/rx_crc_width.rs b/esp32p4/src/ahb_dma/in_crc_ch/rx_crc_width.rs index 6303cd8ff5..aa8d961698 100644 --- a/esp32p4/src/ahb_dma/in_crc_ch/rx_crc_width.rs +++ b/esp32p4/src/ahb_dma/in_crc_ch/rx_crc_width.rs @@ -34,18 +34,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - reserved"] #[inline(always)] - #[must_use] pub fn rx_crc_width(&mut self) -> RX_CRC_WIDTH_W { RX_CRC_WIDTH_W::new(self, 0) } #[doc = "Bit 2 - reserved"] #[inline(always)] - #[must_use] pub fn rx_crc_lautch_flga(&mut self) -> RX_CRC_LAUTCH_FLGA_W { RX_CRC_LAUTCH_FLGA_W::new(self, 2) } } -#[doc = "This register is used to confiig rx ch0 crc result width,2'b00 mean crc_width <=8bit,2'b01 8<crc_width<=16 ,2'b10 mean 16<crc_width <=24,2'b11 mean 24<crc_width<=32\n\nYou can [`read`](crate::Reg::read) this register and get [`rx_crc_width::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`rx_crc_width::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] +#[doc = "This register is used to confiig rx ch0 crc result width,2'b00 mean crc_width <=8bit,2'b01 8 { impl W { #[doc = "Bit 0 - Set this bit to clear the IN_DONE_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_done(&mut self) -> IN_DONE_W { IN_DONE_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the IN_SUC_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_suc_eof(&mut self) -> IN_SUC_EOF_W { IN_SUC_EOF_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the IN_ERR_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_err_eof(&mut self) -> IN_ERR_EOF_W { IN_ERR_EOF_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the IN_DSCR_ERR_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_err(&mut self) -> IN_DSCR_ERR_W { IN_DSCR_ERR_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear the IN_DSCR_EMPTY_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_empty(&mut self) -> IN_DSCR_EMPTY_W { IN_DSCR_EMPTY_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the INFIFO_OVF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_ovf(&mut self) -> INFIFO_OVF_W { INFIFO_OVF_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the INFIFO_UDF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_udf(&mut self) -> INFIFO_UDF_W { INFIFO_UDF_W::new(self, 6) } diff --git a/esp32p4/src/ahb_dma/in_int_ch/ena.rs b/esp32p4/src/ahb_dma/in_int_ch/ena.rs index cd04232062..3fc3795689 100644 --- a/esp32p4/src/ahb_dma/in_int_ch/ena.rs +++ b/esp32p4/src/ahb_dma/in_int_ch/ena.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for the IN_DONE_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_done(&mut self) -> IN_DONE_W { IN_DONE_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the IN_SUC_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_suc_eof(&mut self) -> IN_SUC_EOF_W { IN_SUC_EOF_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the IN_ERR_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_err_eof(&mut self) -> IN_ERR_EOF_W { IN_ERR_EOF_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the IN_DSCR_ERR_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_err(&mut self) -> IN_DSCR_ERR_W { IN_DSCR_ERR_W::new(self, 3) } #[doc = "Bit 4 - The interrupt enable bit for the IN_DSCR_EMPTY_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_empty(&mut self) -> IN_DSCR_EMPTY_W { IN_DSCR_EMPTY_W::new(self, 4) } #[doc = "Bit 5 - The interrupt enable bit for the INFIFO_OVF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_ovf(&mut self) -> INFIFO_OVF_W { INFIFO_OVF_W::new(self, 5) } #[doc = "Bit 6 - The interrupt enable bit for the INFIFO_UDF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_udf(&mut self) -> INFIFO_UDF_W { INFIFO_UDF_W::new(self, 6) } diff --git a/esp32p4/src/ahb_dma/in_int_ch/raw.rs b/esp32p4/src/ahb_dma/in_int_ch/raw.rs index 82c8f787ff..02fbabe1c2 100644 --- a/esp32p4/src/ahb_dma/in_int_ch/raw.rs +++ b/esp32p4/src/ahb_dma/in_int_ch/raw.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw interrupt bit turns to high level when the last data pointed by one inlink descriptor has been received for Rx channel 0."] #[inline(always)] - #[must_use] pub fn in_done(&mut self) -> IN_DONE_W { IN_DONE_W::new(self, 0) } #[doc = "Bit 1 - The raw interrupt bit turns to high level when the last data pointed by one inlink descriptor has been received for Rx channel 0. For UHCI0 the raw interrupt bit turns to high level when the last data pointed by one inlink descriptor has been received and no data error is detected for Rx channel 0."] #[inline(always)] - #[must_use] pub fn in_suc_eof(&mut self) -> IN_SUC_EOF_W { IN_SUC_EOF_W::new(self, 1) } #[doc = "Bit 2 - The raw interrupt bit turns to high level when data error is detected only in the case that the peripheral is UHCI0 for Rx channel 0. For other peripherals this raw interrupt is reserved."] #[inline(always)] - #[must_use] pub fn in_err_eof(&mut self) -> IN_ERR_EOF_W { IN_ERR_EOF_W::new(self, 2) } #[doc = "Bit 3 - The raw interrupt bit turns to high level when detecting inlink descriptor error including owner error and the second and third word error of inlink descriptor for Rx channel 0."] #[inline(always)] - #[must_use] pub fn in_dscr_err(&mut self) -> IN_DSCR_ERR_W { IN_DSCR_ERR_W::new(self, 3) } #[doc = "Bit 4 - The raw interrupt bit turns to high level when Rx buffer pointed by inlink is full and receiving data is not completed but there is no more inlink for Rx channel 0."] #[inline(always)] - #[must_use] pub fn in_dscr_empty(&mut self) -> IN_DSCR_EMPTY_W { IN_DSCR_EMPTY_W::new(self, 4) } #[doc = "Bit 5 - This raw interrupt bit turns to high level when level 1 fifo of Rx channel 0 is overflow."] #[inline(always)] - #[must_use] pub fn infifo_ovf(&mut self) -> INFIFO_OVF_W { INFIFO_OVF_W::new(self, 5) } #[doc = "Bit 6 - This raw interrupt bit turns to high level when level 1 fifo of Rx channel 0 is underflow."] #[inline(always)] - #[must_use] pub fn infifo_udf(&mut self) -> INFIFO_UDF_W { INFIFO_UDF_W::new(self, 6) } diff --git a/esp32p4/src/ahb_dma/in_link_addr_ch.rs b/esp32p4/src/ahb_dma/in_link_addr_ch.rs index 331caca4eb..eea71c79fe 100644 --- a/esp32p4/src/ahb_dma/in_link_addr_ch.rs +++ b/esp32p4/src/ahb_dma/in_link_addr_ch.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This register stores the 32 least significant bits of the first inlink descriptor's address."] #[inline(always)] - #[must_use] pub fn inlink_addr(&mut self) -> INLINK_ADDR_W { INLINK_ADDR_W::new(self, 0) } diff --git a/esp32p4/src/ahb_dma/intr_mem_end_addr.rs b/esp32p4/src/ahb_dma/intr_mem_end_addr.rs index 4084184126..5c47e0e468 100644 --- a/esp32p4/src/ahb_dma/intr_mem_end_addr.rs +++ b/esp32p4/src/ahb_dma/intr_mem_end_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The end address of accessible address space. The access address beyond this range would lead to descriptor error."] #[inline(always)] - #[must_use] pub fn access_intr_mem_end_addr( &mut self, ) -> ACCESS_INTR_MEM_END_ADDR_W { diff --git a/esp32p4/src/ahb_dma/intr_mem_start_addr.rs b/esp32p4/src/ahb_dma/intr_mem_start_addr.rs index fbdb6d55e3..d74bad625c 100644 --- a/esp32p4/src/ahb_dma/intr_mem_start_addr.rs +++ b/esp32p4/src/ahb_dma/intr_mem_start_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The start address of accessible address space."] #[inline(always)] - #[must_use] pub fn access_intr_mem_start_addr( &mut self, ) -> ACCESS_INTR_MEM_START_ADDR_W { diff --git a/esp32p4/src/ahb_dma/misc_conf.rs b/esp32p4/src/ahb_dma/misc_conf.rs index e993343a4d..4dc31351a7 100644 --- a/esp32p4/src/ahb_dma/misc_conf.rs +++ b/esp32p4/src/ahb_dma/misc_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit then clear this bit to reset the internal ahb FSM."] #[inline(always)] - #[must_use] pub fn ahbm_rst_inter(&mut self) -> AHBM_RST_INTER_W { AHBM_RST_INTER_W::new(self, 0) } #[doc = "Bit 2 - Set this bit to disable priority arbitration function."] #[inline(always)] - #[must_use] pub fn arb_pri_dis(&mut self) -> ARB_PRI_DIS_W { ARB_PRI_DIS_W::new(self, 2) } #[doc = "Bit 3 - 1'h1: Force clock on for register. 1'h0: Support clock only when application writes registers."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 3) } diff --git a/esp32p4/src/ahb_dma/out_crc_ch.rs b/esp32p4/src/ahb_dma/out_crc_ch.rs index 785a1805d4..7fc48b55f3 100644 --- a/esp32p4/src/ahb_dma/out_crc_ch.rs +++ b/esp32p4/src/ahb_dma/out_crc_ch.rs @@ -19,7 +19,7 @@ impl OUT_CRC_CH { pub const fn out_crc_init_data(&self) -> &OUT_CRC_INIT_DATA { &self.out_crc_init_data } - #[doc = "0x04 - This register is used to confiig tx ch0 crc result width,2'b00 mean crc_width <=8bit,2'b01 8<crc_width<=16 ,2'b10 mean 16<crc_width <=24,2'b11 mean 24<crc_width<=32"] + #[doc = "0x04 - This register is used to confiig tx ch0 crc result width,2'b00 mean crc_width <=8bit,2'b01 8 &TX_CRC_WIDTH { &self.tx_crc_width @@ -69,9 +69,9 @@ impl OUT_CRC_CH { pub type OUT_CRC_INIT_DATA = crate::Reg; #[doc = "This register is used to config ch0 crc initial data(max 32 bit)"] pub mod out_crc_init_data; -#[doc = "TX_CRC_WIDTH (rw) register accessor: This register is used to confiig tx ch0 crc result width,2'b00 mean crc_width <=8bit,2'b01 8<crc_width<=16 ,2'b10 mean 16<crc_width <=24,2'b11 mean 24<crc_width<=32\n\nYou can [`read`](crate::Reg::read) this register and get [`tx_crc_width::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`tx_crc_width::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@tx_crc_width`] module"] +#[doc = "TX_CRC_WIDTH (rw) register accessor: This register is used to confiig tx ch0 crc result width,2'b00 mean crc_width <=8bit,2'b01 8; -#[doc = "This register is used to confiig tx ch0 crc result width,2'b00 mean crc_width <=8bit,2'b01 8<crc_width<=16 ,2'b10 mean 16<crc_width <=24,2'b11 mean 24<crc_width<=32"] +#[doc = "This register is used to confiig tx ch0 crc result width,2'b00 mean crc_width <=8bit,2'b01 8; diff --git a/esp32p4/src/ahb_dma/out_crc_ch/out_crc_clear.rs b/esp32p4/src/ahb_dma/out_crc_ch/out_crc_clear.rs index 70c0a3dca1..e3164c8a24 100644 --- a/esp32p4/src/ahb_dma/out_crc_ch/out_crc_clear.rs +++ b/esp32p4/src/ahb_dma/out_crc_ch/out_crc_clear.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This register is used to clear ch0 of tx crc result"] #[inline(always)] - #[must_use] pub fn out_crc_clear(&mut self) -> OUT_CRC_CLEAR_W { OUT_CRC_CLEAR_W::new(self, 0) } diff --git a/esp32p4/src/ahb_dma/out_crc_ch/out_crc_init_data.rs b/esp32p4/src/ahb_dma/out_crc_ch/out_crc_init_data.rs index 4f59c610f0..7f0c468c9f 100644 --- a/esp32p4/src/ahb_dma/out_crc_ch/out_crc_init_data.rs +++ b/esp32p4/src/ahb_dma/out_crc_ch/out_crc_init_data.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This register is used to config ch0 of tx crc initial value"] #[inline(always)] - #[must_use] pub fn out_crc_init_data(&mut self) -> OUT_CRC_INIT_DATA_W { OUT_CRC_INIT_DATA_W::new(self, 0) } diff --git a/esp32p4/src/ahb_dma/out_crc_ch/tx_arb_weigh_opt_dir.rs b/esp32p4/src/ahb_dma/out_crc_ch/tx_arb_weigh_opt_dir.rs index 33d51b571b..64ba77f609 100644 --- a/esp32p4/src/ahb_dma/out_crc_ch/tx_arb_weigh_opt_dir.rs +++ b/esp32p4/src/ahb_dma/out_crc_ch/tx_arb_weigh_opt_dir.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reserved"] #[inline(always)] - #[must_use] pub fn tx_arb_weigh_opt_dir(&mut self) -> TX_ARB_WEIGH_OPT_DIR_W { TX_ARB_WEIGH_OPT_DIR_W::new(self, 0) } diff --git a/esp32p4/src/ahb_dma/out_crc_ch/tx_ch_arb_weigh.rs b/esp32p4/src/ahb_dma/out_crc_ch/tx_ch_arb_weigh.rs index d5fafc604f..c3c325ca3c 100644 --- a/esp32p4/src/ahb_dma/out_crc_ch/tx_ch_arb_weigh.rs +++ b/esp32p4/src/ahb_dma/out_crc_ch/tx_ch_arb_weigh.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - reserved"] #[inline(always)] - #[must_use] pub fn tx_ch_arb_weigh(&mut self) -> TX_CH_ARB_WEIGH_W { TX_CH_ARB_WEIGH_W::new(self, 0) } diff --git a/esp32p4/src/ahb_dma/out_crc_ch/tx_crc_data_en_addr.rs b/esp32p4/src/ahb_dma/out_crc_ch/tx_crc_data_en_addr.rs index 0e58ddb17b..05fa0307dd 100644 --- a/esp32p4/src/ahb_dma/out_crc_ch/tx_crc_data_en_addr.rs +++ b/esp32p4/src/ahb_dma/out_crc_ch/tx_crc_data_en_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reserved"] #[inline(always)] - #[must_use] pub fn tx_crc_data_en_addr(&mut self) -> TX_CRC_DATA_EN_ADDR_W { TX_CRC_DATA_EN_ADDR_W::new(self, 0) } diff --git a/esp32p4/src/ahb_dma/out_crc_ch/tx_crc_data_en_wr_data.rs b/esp32p4/src/ahb_dma/out_crc_ch/tx_crc_data_en_wr_data.rs index 448d818bf6..825a7934e7 100644 --- a/esp32p4/src/ahb_dma/out_crc_ch/tx_crc_data_en_wr_data.rs +++ b/esp32p4/src/ahb_dma/out_crc_ch/tx_crc_data_en_wr_data.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - reserved"] #[inline(always)] - #[must_use] pub fn tx_crc_data_en_wr_data( &mut self, ) -> TX_CRC_DATA_EN_WR_DATA_W { diff --git a/esp32p4/src/ahb_dma/out_crc_ch/tx_crc_en_addr.rs b/esp32p4/src/ahb_dma/out_crc_ch/tx_crc_en_addr.rs index 10fe624c41..3b863b6088 100644 --- a/esp32p4/src/ahb_dma/out_crc_ch/tx_crc_en_addr.rs +++ b/esp32p4/src/ahb_dma/out_crc_ch/tx_crc_en_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reserved"] #[inline(always)] - #[must_use] pub fn tx_crc_en_addr(&mut self) -> TX_CRC_EN_ADDR_W { TX_CRC_EN_ADDR_W::new(self, 0) } diff --git a/esp32p4/src/ahb_dma/out_crc_ch/tx_crc_en_wr_data.rs b/esp32p4/src/ahb_dma/out_crc_ch/tx_crc_en_wr_data.rs index 8eb9520d66..0591d394aa 100644 --- a/esp32p4/src/ahb_dma/out_crc_ch/tx_crc_en_wr_data.rs +++ b/esp32p4/src/ahb_dma/out_crc_ch/tx_crc_en_wr_data.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This register is used to enable tx ch0 crc 32bit on/off"] #[inline(always)] - #[must_use] pub fn tx_crc_en_wr_data(&mut self) -> TX_CRC_EN_WR_DATA_W { TX_CRC_EN_WR_DATA_W::new(self, 0) } diff --git a/esp32p4/src/ahb_dma/out_crc_ch/tx_crc_width.rs b/esp32p4/src/ahb_dma/out_crc_ch/tx_crc_width.rs index 851c1f53e4..ee452cdf96 100644 --- a/esp32p4/src/ahb_dma/out_crc_ch/tx_crc_width.rs +++ b/esp32p4/src/ahb_dma/out_crc_ch/tx_crc_width.rs @@ -34,18 +34,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - reserved"] #[inline(always)] - #[must_use] pub fn tx_crc_width(&mut self) -> TX_CRC_WIDTH_W { TX_CRC_WIDTH_W::new(self, 0) } #[doc = "Bit 2 - reserved"] #[inline(always)] - #[must_use] pub fn tx_crc_lautch_flga(&mut self) -> TX_CRC_LAUTCH_FLGA_W { TX_CRC_LAUTCH_FLGA_W::new(self, 2) } } -#[doc = "This register is used to confiig tx ch0 crc result width,2'b00 mean crc_width <=8bit,2'b01 8<crc_width<=16 ,2'b10 mean 16<crc_width <=24,2'b11 mean 24<crc_width<=32\n\nYou can [`read`](crate::Reg::read) this register and get [`tx_crc_width::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`tx_crc_width::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] +#[doc = "This register is used to confiig tx ch0 crc result width,2'b00 mean crc_width <=8bit,2'b01 8 { impl W { #[doc = "Bit 0 - Set this bit to clear the OUT_DONE_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_done(&mut self) -> OUT_DONE_W { OUT_DONE_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the OUT_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the OUT_DSCR_ERR_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_dscr_err(&mut self) -> OUT_DSCR_ERR_W { OUT_DSCR_ERR_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the OUT_TOTAL_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_total_eof(&mut self) -> OUT_TOTAL_EOF_W { OUT_TOTAL_EOF_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear the OUTFIFO_OVF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_ovf(&mut self) -> OUTFIFO_OVF_W { OUTFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the OUTFIFO_UDF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_udf(&mut self) -> OUTFIFO_UDF_W { OUTFIFO_UDF_W::new(self, 5) } diff --git a/esp32p4/src/ahb_dma/out_int_ch/ena.rs b/esp32p4/src/ahb_dma/out_int_ch/ena.rs index e5bc27a175..849c884f83 100644 --- a/esp32p4/src/ahb_dma/out_int_ch/ena.rs +++ b/esp32p4/src/ahb_dma/out_int_ch/ena.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for the OUT_DONE_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_done(&mut self) -> OUT_DONE_W { OUT_DONE_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the OUT_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the OUT_DSCR_ERR_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_dscr_err(&mut self) -> OUT_DSCR_ERR_W { OUT_DSCR_ERR_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the OUT_TOTAL_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_total_eof(&mut self) -> OUT_TOTAL_EOF_W { OUT_TOTAL_EOF_W::new(self, 3) } #[doc = "Bit 4 - The interrupt enable bit for the OUTFIFO_OVF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_ovf(&mut self) -> OUTFIFO_OVF_W { OUTFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - The interrupt enable bit for the OUTFIFO_UDF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_udf(&mut self) -> OUTFIFO_UDF_W { OUTFIFO_UDF_W::new(self, 5) } diff --git a/esp32p4/src/ahb_dma/out_int_ch/raw.rs b/esp32p4/src/ahb_dma/out_int_ch/raw.rs index b2cff491e5..86075ec146 100644 --- a/esp32p4/src/ahb_dma/out_int_ch/raw.rs +++ b/esp32p4/src/ahb_dma/out_int_ch/raw.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw interrupt bit turns to high level when the last data pointed by one outlink descriptor has been transmitted to peripherals for Tx channel 0."] #[inline(always)] - #[must_use] pub fn out_done(&mut self) -> OUT_DONE_W { OUT_DONE_W::new(self, 0) } #[doc = "Bit 1 - The raw interrupt bit turns to high level when the last data pointed by one outlink descriptor has been read from memory for Tx channel 0."] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 1) } #[doc = "Bit 2 - The raw interrupt bit turns to high level when detecting outlink descriptor error including owner error and the second and third word error of outlink descriptor for Tx channel 0."] #[inline(always)] - #[must_use] pub fn out_dscr_err(&mut self) -> OUT_DSCR_ERR_W { OUT_DSCR_ERR_W::new(self, 2) } #[doc = "Bit 3 - The raw interrupt bit turns to high level when data corresponding a outlink (includes one link descriptor or few link descriptors) is transmitted out for Tx channel 0."] #[inline(always)] - #[must_use] pub fn out_total_eof(&mut self) -> OUT_TOTAL_EOF_W { OUT_TOTAL_EOF_W::new(self, 3) } #[doc = "Bit 4 - This raw interrupt bit turns to high level when level 1 fifo of Tx channel 0 is overflow."] #[inline(always)] - #[must_use] pub fn outfifo_ovf(&mut self) -> OUTFIFO_OVF_W { OUTFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - This raw interrupt bit turns to high level when level 1 fifo of Tx channel 0 is underflow."] #[inline(always)] - #[must_use] pub fn outfifo_udf(&mut self) -> OUTFIFO_UDF_W { OUTFIFO_UDF_W::new(self, 5) } diff --git a/esp32p4/src/ahb_dma/out_link_addr_ch.rs b/esp32p4/src/ahb_dma/out_link_addr_ch.rs index eb0b45816d..4f770a9015 100644 --- a/esp32p4/src/ahb_dma/out_link_addr_ch.rs +++ b/esp32p4/src/ahb_dma/out_link_addr_ch.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This register stores the 32 least significant bits of the first outlink descriptor's address."] #[inline(always)] - #[must_use] pub fn outlink_addr(&mut self) -> OUTLINK_ADDR_W { OUTLINK_ADDR_W::new(self, 0) } diff --git a/esp32p4/src/ahb_dma/weight_en_rx.rs b/esp32p4/src/ahb_dma/weight_en_rx.rs index 6aa18aa3ac..885042f6d7 100644 --- a/esp32p4/src/ahb_dma/weight_en_rx.rs +++ b/esp32p4/src/ahb_dma/weight_en_rx.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This register is used to config arbiter weight function off/on"] #[inline(always)] - #[must_use] pub fn weight_en_rx(&mut self) -> WEIGHT_EN_RX_W { WEIGHT_EN_RX_W::new(self, 0) } diff --git a/esp32p4/src/ahb_dma/weight_en_tx.rs b/esp32p4/src/ahb_dma/weight_en_tx.rs index 68273da003..ef17a725fd 100644 --- a/esp32p4/src/ahb_dma/weight_en_tx.rs +++ b/esp32p4/src/ahb_dma/weight_en_tx.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This register is used to config arbiter weight function off/on"] #[inline(always)] - #[must_use] pub fn weight_en_tx(&mut self) -> WEIGHT_EN_TX_W { WEIGHT_EN_TX_W::new(self, 0) } diff --git a/esp32p4/src/assist_debug/clock_gate.rs b/esp32p4/src/assist_debug/clock_gate.rs index fff3c4abdc..9e22bb2d53 100644 --- a/esp32p4/src/assist_debug/clock_gate.rs +++ b/esp32p4/src/assist_debug/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 force on the clock gate"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32p4/src/assist_debug/core_0_area_dram0_0_max.rs b/esp32p4/src/assist_debug/core_0_area_dram0_0_max.rs index 3ab8a734bd..16dd89b99c 100644 --- a/esp32p4/src/assist_debug/core_0_area_dram0_0_max.rs +++ b/esp32p4/src/assist_debug/core_0_area_dram0_0_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core0 dram0 region0 end addr"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_max( &mut self, ) -> CORE_0_AREA_DRAM0_0_MAX_W { diff --git a/esp32p4/src/assist_debug/core_0_area_dram0_0_min.rs b/esp32p4/src/assist_debug/core_0_area_dram0_0_min.rs index 759d767566..c9de513bea 100644 --- a/esp32p4/src/assist_debug/core_0_area_dram0_0_min.rs +++ b/esp32p4/src/assist_debug/core_0_area_dram0_0_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core0 dram0 region0 start addr"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_min( &mut self, ) -> CORE_0_AREA_DRAM0_0_MIN_W { diff --git a/esp32p4/src/assist_debug/core_0_area_dram0_1_max.rs b/esp32p4/src/assist_debug/core_0_area_dram0_1_max.rs index 18d6fec0d8..1cd2b1757b 100644 --- a/esp32p4/src/assist_debug/core_0_area_dram0_1_max.rs +++ b/esp32p4/src/assist_debug/core_0_area_dram0_1_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core0 dram0 region1 end addr"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_max( &mut self, ) -> CORE_0_AREA_DRAM0_1_MAX_W { diff --git a/esp32p4/src/assist_debug/core_0_area_dram0_1_min.rs b/esp32p4/src/assist_debug/core_0_area_dram0_1_min.rs index 30e80919a6..a7a7e14eed 100644 --- a/esp32p4/src/assist_debug/core_0_area_dram0_1_min.rs +++ b/esp32p4/src/assist_debug/core_0_area_dram0_1_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core0 dram0 region1 start addr"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_min( &mut self, ) -> CORE_0_AREA_DRAM0_1_MIN_W { diff --git a/esp32p4/src/assist_debug/core_0_area_pif_0_max.rs b/esp32p4/src/assist_debug/core_0_area_pif_0_max.rs index 5bcdfb25f7..61602cca8c 100644 --- a/esp32p4/src/assist_debug/core_0_area_pif_0_max.rs +++ b/esp32p4/src/assist_debug/core_0_area_pif_0_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core0 PIF region0 end addr"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_max(&mut self) -> CORE_0_AREA_PIF_0_MAX_W { CORE_0_AREA_PIF_0_MAX_W::new(self, 0) } diff --git a/esp32p4/src/assist_debug/core_0_area_pif_0_min.rs b/esp32p4/src/assist_debug/core_0_area_pif_0_min.rs index f613bb8608..3ecdfc7ac3 100644 --- a/esp32p4/src/assist_debug/core_0_area_pif_0_min.rs +++ b/esp32p4/src/assist_debug/core_0_area_pif_0_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core0 PIF region0 start addr"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_min(&mut self) -> CORE_0_AREA_PIF_0_MIN_W { CORE_0_AREA_PIF_0_MIN_W::new(self, 0) } diff --git a/esp32p4/src/assist_debug/core_0_area_pif_1_max.rs b/esp32p4/src/assist_debug/core_0_area_pif_1_max.rs index 2da306da5d..16410a8f09 100644 --- a/esp32p4/src/assist_debug/core_0_area_pif_1_max.rs +++ b/esp32p4/src/assist_debug/core_0_area_pif_1_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core0 PIF region1 end addr"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_max(&mut self) -> CORE_0_AREA_PIF_1_MAX_W { CORE_0_AREA_PIF_1_MAX_W::new(self, 0) } diff --git a/esp32p4/src/assist_debug/core_0_area_pif_1_min.rs b/esp32p4/src/assist_debug/core_0_area_pif_1_min.rs index fd5cb131f7..1a8d405597 100644 --- a/esp32p4/src/assist_debug/core_0_area_pif_1_min.rs +++ b/esp32p4/src/assist_debug/core_0_area_pif_1_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core0 PIF region1 start addr"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_min(&mut self) -> CORE_0_AREA_PIF_1_MIN_W { CORE_0_AREA_PIF_1_MIN_W::new(self, 0) } diff --git a/esp32p4/src/assist_debug/core_0_intr_clr.rs b/esp32p4/src/assist_debug/core_0_intr_clr.rs index 47a0466f4b..f4a5b202dd 100644 --- a/esp32p4/src/assist_debug/core_0_intr_clr.rs +++ b/esp32p4/src/assist_debug/core_0_intr_clr.rs @@ -33,7 +33,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Core0 dram0 area0 read monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_rd_clr( &mut self, ) -> CORE_0_AREA_DRAM0_0_RD_CLR_W { @@ -41,7 +40,6 @@ impl W { } #[doc = "Bit 1 - Core0 dram0 area0 write monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_wr_clr( &mut self, ) -> CORE_0_AREA_DRAM0_0_WR_CLR_W { @@ -49,7 +47,6 @@ impl W { } #[doc = "Bit 2 - Core0 dram0 area1 read monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_rd_clr( &mut self, ) -> CORE_0_AREA_DRAM0_1_RD_CLR_W { @@ -57,7 +54,6 @@ impl W { } #[doc = "Bit 3 - Core0 dram0 area1 write monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_wr_clr( &mut self, ) -> CORE_0_AREA_DRAM0_1_WR_CLR_W { @@ -65,43 +61,36 @@ impl W { } #[doc = "Bit 4 - Core0 PIF area0 read monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_rd_clr(&mut self) -> CORE_0_AREA_PIF_0_RD_CLR_W { CORE_0_AREA_PIF_0_RD_CLR_W::new(self, 4) } #[doc = "Bit 5 - Core0 PIF area0 write monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_wr_clr(&mut self) -> CORE_0_AREA_PIF_0_WR_CLR_W { CORE_0_AREA_PIF_0_WR_CLR_W::new(self, 5) } #[doc = "Bit 6 - Core0 PIF area1 read monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_rd_clr(&mut self) -> CORE_0_AREA_PIF_1_RD_CLR_W { CORE_0_AREA_PIF_1_RD_CLR_W::new(self, 6) } #[doc = "Bit 7 - Core0 PIF area1 write monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_wr_clr(&mut self) -> CORE_0_AREA_PIF_1_WR_CLR_W { CORE_0_AREA_PIF_1_WR_CLR_W::new(self, 7) } #[doc = "Bit 8 - Core0 stackpoint underflow monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_sp_spill_min_clr(&mut self) -> CORE_0_SP_SPILL_MIN_CLR_W { CORE_0_SP_SPILL_MIN_CLR_W::new(self, 8) } #[doc = "Bit 9 - Core0 stackpoint overflow monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_sp_spill_max_clr(&mut self) -> CORE_0_SP_SPILL_MAX_CLR_W { CORE_0_SP_SPILL_MAX_CLR_W::new(self, 9) } #[doc = "Bit 10 - IBUS busy monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_iram0_exception_monitor_clr( &mut self, ) -> CORE_0_IRAM0_EXCEPTION_MONITOR_CLR_W { @@ -109,7 +98,6 @@ impl W { } #[doc = "Bit 11 - DBUS busy monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_dram0_exception_monitor_clr( &mut self, ) -> CORE_0_DRAM0_EXCEPTION_MONITOR_CLR_W { diff --git a/esp32p4/src/assist_debug/core_0_intr_ena.rs b/esp32p4/src/assist_debug/core_0_intr_ena.rs index 36a9c25e2a..fb3cee9cf2 100644 --- a/esp32p4/src/assist_debug/core_0_intr_ena.rs +++ b/esp32p4/src/assist_debug/core_0_intr_ena.rs @@ -152,7 +152,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Core0 dram0 area0 read monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_rd_ena( &mut self, ) -> CORE_0_AREA_DRAM0_0_RD_ENA_W { @@ -160,7 +159,6 @@ impl W { } #[doc = "Bit 1 - Core0 dram0 area0 write monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_wr_ena( &mut self, ) -> CORE_0_AREA_DRAM0_0_WR_ENA_W { @@ -168,7 +166,6 @@ impl W { } #[doc = "Bit 2 - Core0 dram0 area1 read monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_rd_ena( &mut self, ) -> CORE_0_AREA_DRAM0_1_RD_ENA_W { @@ -176,7 +173,6 @@ impl W { } #[doc = "Bit 3 - Core0 dram0 area1 write monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_wr_ena( &mut self, ) -> CORE_0_AREA_DRAM0_1_WR_ENA_W { @@ -184,43 +180,36 @@ impl W { } #[doc = "Bit 4 - Core0 PIF area0 read monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_rd_ena(&mut self) -> CORE_0_AREA_PIF_0_RD_ENA_W { CORE_0_AREA_PIF_0_RD_ENA_W::new(self, 4) } #[doc = "Bit 5 - Core0 PIF area0 write monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_wr_ena(&mut self) -> CORE_0_AREA_PIF_0_WR_ENA_W { CORE_0_AREA_PIF_0_WR_ENA_W::new(self, 5) } #[doc = "Bit 6 - Core0 PIF area1 read monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_rd_ena(&mut self) -> CORE_0_AREA_PIF_1_RD_ENA_W { CORE_0_AREA_PIF_1_RD_ENA_W::new(self, 6) } #[doc = "Bit 7 - Core0 PIF area1 write monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_wr_ena(&mut self) -> CORE_0_AREA_PIF_1_WR_ENA_W { CORE_0_AREA_PIF_1_WR_ENA_W::new(self, 7) } #[doc = "Bit 8 - Core0 stackpoint underflow monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_sp_spill_min_ena(&mut self) -> CORE_0_SP_SPILL_MIN_ENA_W { CORE_0_SP_SPILL_MIN_ENA_W::new(self, 8) } #[doc = "Bit 9 - Core0 stackpoint overflow monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_sp_spill_max_ena(&mut self) -> CORE_0_SP_SPILL_MAX_ENA_W { CORE_0_SP_SPILL_MAX_ENA_W::new(self, 9) } #[doc = "Bit 10 - IBUS busy monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_iram0_exception_monitor_ena( &mut self, ) -> CORE_0_IRAM0_EXCEPTION_MONITOR_ENA_W { @@ -228,7 +217,6 @@ impl W { } #[doc = "Bit 11 - DBUS busy monitor enbale"] #[inline(always)] - #[must_use] pub fn core_0_dram0_exception_monitor_ena( &mut self, ) -> CORE_0_DRAM0_EXCEPTION_MONITOR_ENA_W { diff --git a/esp32p4/src/assist_debug/core_0_intr_rls.rs b/esp32p4/src/assist_debug/core_0_intr_rls.rs index 7338b3cc7c..8cd2101f91 100644 --- a/esp32p4/src/assist_debug/core_0_intr_rls.rs +++ b/esp32p4/src/assist_debug/core_0_intr_rls.rs @@ -152,7 +152,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Core0 dram0 area0 read monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_rd_rls( &mut self, ) -> CORE_0_AREA_DRAM0_0_RD_RLS_W { @@ -160,7 +159,6 @@ impl W { } #[doc = "Bit 1 - Core0 dram0 area0 write monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_wr_rls( &mut self, ) -> CORE_0_AREA_DRAM0_0_WR_RLS_W { @@ -168,7 +166,6 @@ impl W { } #[doc = "Bit 2 - Core0 dram0 area1 read monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_rd_rls( &mut self, ) -> CORE_0_AREA_DRAM0_1_RD_RLS_W { @@ -176,7 +173,6 @@ impl W { } #[doc = "Bit 3 - Core0 dram0 area1 write monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_wr_rls( &mut self, ) -> CORE_0_AREA_DRAM0_1_WR_RLS_W { @@ -184,43 +180,36 @@ impl W { } #[doc = "Bit 4 - Core0 PIF area0 read monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_rd_rls(&mut self) -> CORE_0_AREA_PIF_0_RD_RLS_W { CORE_0_AREA_PIF_0_RD_RLS_W::new(self, 4) } #[doc = "Bit 5 - Core0 PIF area0 write monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_wr_rls(&mut self) -> CORE_0_AREA_PIF_0_WR_RLS_W { CORE_0_AREA_PIF_0_WR_RLS_W::new(self, 5) } #[doc = "Bit 6 - Core0 PIF area1 read monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_rd_rls(&mut self) -> CORE_0_AREA_PIF_1_RD_RLS_W { CORE_0_AREA_PIF_1_RD_RLS_W::new(self, 6) } #[doc = "Bit 7 - Core0 PIF area1 write monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_wr_rls(&mut self) -> CORE_0_AREA_PIF_1_WR_RLS_W { CORE_0_AREA_PIF_1_WR_RLS_W::new(self, 7) } #[doc = "Bit 8 - Core0 stackpoint underflow monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_sp_spill_min_rls(&mut self) -> CORE_0_SP_SPILL_MIN_RLS_W { CORE_0_SP_SPILL_MIN_RLS_W::new(self, 8) } #[doc = "Bit 9 - Core0 stackpoint overflow monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_sp_spill_max_rls(&mut self) -> CORE_0_SP_SPILL_MAX_RLS_W { CORE_0_SP_SPILL_MAX_RLS_W::new(self, 9) } #[doc = "Bit 10 - IBUS busy monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_iram0_exception_monitor_rls( &mut self, ) -> CORE_0_IRAM0_EXCEPTION_MONITOR_RLS_W { @@ -228,7 +217,6 @@ impl W { } #[doc = "Bit 11 - DBUS busy monitor interrupt enbale"] #[inline(always)] - #[must_use] pub fn core_0_dram0_exception_monitor_rls( &mut self, ) -> CORE_0_DRAM0_EXCEPTION_MONITOR_RLS_W { diff --git a/esp32p4/src/assist_debug/core_0_rcd_en.rs b/esp32p4/src/assist_debug/core_0_rcd_en.rs index 61590ff866..6612dc98db 100644 --- a/esp32p4/src/assist_debug/core_0_rcd_en.rs +++ b/esp32p4/src/assist_debug/core_0_rcd_en.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable record PC"] #[inline(always)] - #[must_use] pub fn core_0_rcd_recorden(&mut self) -> CORE_0_RCD_RECORDEN_W { CORE_0_RCD_RECORDEN_W::new(self, 0) } #[doc = "Bit 1 - Set 1 to enable cpu pdebug function, must set this bit can get cpu PC"] #[inline(always)] - #[must_use] pub fn core_0_rcd_pdebugen(&mut self) -> CORE_0_RCD_PDEBUGEN_W { CORE_0_RCD_PDEBUGEN_W::new(self, 1) } diff --git a/esp32p4/src/assist_debug/core_0_sp_max.rs b/esp32p4/src/assist_debug/core_0_sp_max.rs index 229e1bff17..4b3727dabe 100644 --- a/esp32p4/src/assist_debug/core_0_sp_max.rs +++ b/esp32p4/src/assist_debug/core_0_sp_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - core0 sp pc status register"] #[inline(always)] - #[must_use] pub fn core_0_sp_max(&mut self) -> CORE_0_SP_MAX_W { CORE_0_SP_MAX_W::new(self, 0) } diff --git a/esp32p4/src/assist_debug/core_0_sp_min.rs b/esp32p4/src/assist_debug/core_0_sp_min.rs index f14c3ad2ea..62f1baddbf 100644 --- a/esp32p4/src/assist_debug/core_0_sp_min.rs +++ b/esp32p4/src/assist_debug/core_0_sp_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - core0 sp region configuration regsiter"] #[inline(always)] - #[must_use] pub fn core_0_sp_min(&mut self) -> CORE_0_SP_MIN_W { CORE_0_SP_MIN_W::new(self, 0) } diff --git a/esp32p4/src/assist_debug/core_1_area_dram0_0_max.rs b/esp32p4/src/assist_debug/core_1_area_dram0_0_max.rs index 43fe4823e1..ed1e2414b2 100644 --- a/esp32p4/src/assist_debug/core_1_area_dram0_0_max.rs +++ b/esp32p4/src/assist_debug/core_1_area_dram0_0_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core1 dram0 region0 end addr"] #[inline(always)] - #[must_use] pub fn core_1_area_dram0_0_max( &mut self, ) -> CORE_1_AREA_DRAM0_0_MAX_W { diff --git a/esp32p4/src/assist_debug/core_1_area_dram0_0_min.rs b/esp32p4/src/assist_debug/core_1_area_dram0_0_min.rs index 645c9cce3a..29e29d60c8 100644 --- a/esp32p4/src/assist_debug/core_1_area_dram0_0_min.rs +++ b/esp32p4/src/assist_debug/core_1_area_dram0_0_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core1 dram0 region0 start addr"] #[inline(always)] - #[must_use] pub fn core_1_area_dram0_0_min( &mut self, ) -> CORE_1_AREA_DRAM0_0_MIN_W { diff --git a/esp32p4/src/assist_debug/core_1_area_dram0_1_max.rs b/esp32p4/src/assist_debug/core_1_area_dram0_1_max.rs index ad1afb4cfe..c64dd74da3 100644 --- a/esp32p4/src/assist_debug/core_1_area_dram0_1_max.rs +++ b/esp32p4/src/assist_debug/core_1_area_dram0_1_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core1 dram0 region1 end addr"] #[inline(always)] - #[must_use] pub fn core_1_area_dram0_1_max( &mut self, ) -> CORE_1_AREA_DRAM0_1_MAX_W { diff --git a/esp32p4/src/assist_debug/core_1_area_dram0_1_min.rs b/esp32p4/src/assist_debug/core_1_area_dram0_1_min.rs index a0a54d55ee..cd99b635d1 100644 --- a/esp32p4/src/assist_debug/core_1_area_dram0_1_min.rs +++ b/esp32p4/src/assist_debug/core_1_area_dram0_1_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core1 dram0 region1 start addr"] #[inline(always)] - #[must_use] pub fn core_1_area_dram0_1_min( &mut self, ) -> CORE_1_AREA_DRAM0_1_MIN_W { diff --git a/esp32p4/src/assist_debug/core_1_area_pif_0_max.rs b/esp32p4/src/assist_debug/core_1_area_pif_0_max.rs index 4994238663..ee47e4a0cd 100644 --- a/esp32p4/src/assist_debug/core_1_area_pif_0_max.rs +++ b/esp32p4/src/assist_debug/core_1_area_pif_0_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core1 PIF region0 end addr"] #[inline(always)] - #[must_use] pub fn core_1_area_pif_0_max(&mut self) -> CORE_1_AREA_PIF_0_MAX_W { CORE_1_AREA_PIF_0_MAX_W::new(self, 0) } diff --git a/esp32p4/src/assist_debug/core_1_area_pif_0_min.rs b/esp32p4/src/assist_debug/core_1_area_pif_0_min.rs index 3072c4dea9..1b66f961ef 100644 --- a/esp32p4/src/assist_debug/core_1_area_pif_0_min.rs +++ b/esp32p4/src/assist_debug/core_1_area_pif_0_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core1 PIF region0 start addr"] #[inline(always)] - #[must_use] pub fn core_1_area_pif_0_min(&mut self) -> CORE_1_AREA_PIF_0_MIN_W { CORE_1_AREA_PIF_0_MIN_W::new(self, 0) } diff --git a/esp32p4/src/assist_debug/core_1_area_pif_1_max.rs b/esp32p4/src/assist_debug/core_1_area_pif_1_max.rs index 55e158a70b..cfcf66bf60 100644 --- a/esp32p4/src/assist_debug/core_1_area_pif_1_max.rs +++ b/esp32p4/src/assist_debug/core_1_area_pif_1_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core1 PIF region1 end addr"] #[inline(always)] - #[must_use] pub fn core_1_area_pif_1_max(&mut self) -> CORE_1_AREA_PIF_1_MAX_W { CORE_1_AREA_PIF_1_MAX_W::new(self, 0) } diff --git a/esp32p4/src/assist_debug/core_1_area_pif_1_min.rs b/esp32p4/src/assist_debug/core_1_area_pif_1_min.rs index d6fb83bc77..4ab5f9b92c 100644 --- a/esp32p4/src/assist_debug/core_1_area_pif_1_min.rs +++ b/esp32p4/src/assist_debug/core_1_area_pif_1_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core1 PIF region1 start addr"] #[inline(always)] - #[must_use] pub fn core_1_area_pif_1_min(&mut self) -> CORE_1_AREA_PIF_1_MIN_W { CORE_1_AREA_PIF_1_MIN_W::new(self, 0) } diff --git a/esp32p4/src/assist_debug/core_1_intr_clr.rs b/esp32p4/src/assist_debug/core_1_intr_clr.rs index d5ab68ff20..9522c04ea1 100644 --- a/esp32p4/src/assist_debug/core_1_intr_clr.rs +++ b/esp32p4/src/assist_debug/core_1_intr_clr.rs @@ -33,7 +33,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Core1 dram0 area0 read monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_1_area_dram0_0_rd_clr( &mut self, ) -> CORE_1_AREA_DRAM0_0_RD_CLR_W { @@ -41,7 +40,6 @@ impl W { } #[doc = "Bit 1 - Core1 dram0 area0 write monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_1_area_dram0_0_wr_clr( &mut self, ) -> CORE_1_AREA_DRAM0_0_WR_CLR_W { @@ -49,7 +47,6 @@ impl W { } #[doc = "Bit 2 - Core1 dram0 area1 read monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_1_area_dram0_1_rd_clr( &mut self, ) -> CORE_1_AREA_DRAM0_1_RD_CLR_W { @@ -57,7 +54,6 @@ impl W { } #[doc = "Bit 3 - Core1 dram0 area1 write monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_1_area_dram0_1_wr_clr( &mut self, ) -> CORE_1_AREA_DRAM0_1_WR_CLR_W { @@ -65,43 +61,36 @@ impl W { } #[doc = "Bit 4 - Core1 PIF area0 read monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_1_area_pif_0_rd_clr(&mut self) -> CORE_1_AREA_PIF_0_RD_CLR_W { CORE_1_AREA_PIF_0_RD_CLR_W::new(self, 4) } #[doc = "Bit 5 - Core1 PIF area0 write monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_1_area_pif_0_wr_clr(&mut self) -> CORE_1_AREA_PIF_0_WR_CLR_W { CORE_1_AREA_PIF_0_WR_CLR_W::new(self, 5) } #[doc = "Bit 6 - Core1 PIF area1 read monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_1_area_pif_1_rd_clr(&mut self) -> CORE_1_AREA_PIF_1_RD_CLR_W { CORE_1_AREA_PIF_1_RD_CLR_W::new(self, 6) } #[doc = "Bit 7 - Core1 PIF area1 write monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_1_area_pif_1_wr_clr(&mut self) -> CORE_1_AREA_PIF_1_WR_CLR_W { CORE_1_AREA_PIF_1_WR_CLR_W::new(self, 7) } #[doc = "Bit 8 - Core1 stackpoint underflow monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_1_sp_spill_min_clr(&mut self) -> CORE_1_SP_SPILL_MIN_CLR_W { CORE_1_SP_SPILL_MIN_CLR_W::new(self, 8) } #[doc = "Bit 9 - Core1 stackpoint overflow monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_1_sp_spill_max_clr(&mut self) -> CORE_1_SP_SPILL_MAX_CLR_W { CORE_1_SP_SPILL_MAX_CLR_W::new(self, 9) } #[doc = "Bit 10 - IBUS busy monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_1_iram0_exception_monitor_clr( &mut self, ) -> CORE_1_IRAM0_EXCEPTION_MONITOR_CLR_W { @@ -109,7 +98,6 @@ impl W { } #[doc = "Bit 11 - DBUS busy monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_1_dram0_exception_monitor_clr( &mut self, ) -> CORE_1_DRAM0_EXCEPTION_MONITOR_CLR_W { diff --git a/esp32p4/src/assist_debug/core_1_intr_ena.rs b/esp32p4/src/assist_debug/core_1_intr_ena.rs index 5b4c3a0e56..a2a5fb5814 100644 --- a/esp32p4/src/assist_debug/core_1_intr_ena.rs +++ b/esp32p4/src/assist_debug/core_1_intr_ena.rs @@ -152,7 +152,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Core1 dram0 area0 read monitor enable"] #[inline(always)] - #[must_use] pub fn core_1_area_dram0_0_rd_ena( &mut self, ) -> CORE_1_AREA_DRAM0_0_RD_ENA_W { @@ -160,7 +159,6 @@ impl W { } #[doc = "Bit 1 - Core1 dram0 area0 write monitor enable"] #[inline(always)] - #[must_use] pub fn core_1_area_dram0_0_wr_ena( &mut self, ) -> CORE_1_AREA_DRAM0_0_WR_ENA_W { @@ -168,7 +166,6 @@ impl W { } #[doc = "Bit 2 - Core1 dram0 area1 read monitor enable"] #[inline(always)] - #[must_use] pub fn core_1_area_dram0_1_rd_ena( &mut self, ) -> CORE_1_AREA_DRAM0_1_RD_ENA_W { @@ -176,7 +173,6 @@ impl W { } #[doc = "Bit 3 - Core1 dram0 area1 write monitor enable"] #[inline(always)] - #[must_use] pub fn core_1_area_dram0_1_wr_ena( &mut self, ) -> CORE_1_AREA_DRAM0_1_WR_ENA_W { @@ -184,43 +180,36 @@ impl W { } #[doc = "Bit 4 - Core1 PIF area0 read monitor enable"] #[inline(always)] - #[must_use] pub fn core_1_area_pif_0_rd_ena(&mut self) -> CORE_1_AREA_PIF_0_RD_ENA_W { CORE_1_AREA_PIF_0_RD_ENA_W::new(self, 4) } #[doc = "Bit 5 - Core1 PIF area0 write monitor enable"] #[inline(always)] - #[must_use] pub fn core_1_area_pif_0_wr_ena(&mut self) -> CORE_1_AREA_PIF_0_WR_ENA_W { CORE_1_AREA_PIF_0_WR_ENA_W::new(self, 5) } #[doc = "Bit 6 - Core1 PIF area1 read monitor enable"] #[inline(always)] - #[must_use] pub fn core_1_area_pif_1_rd_ena(&mut self) -> CORE_1_AREA_PIF_1_RD_ENA_W { CORE_1_AREA_PIF_1_RD_ENA_W::new(self, 6) } #[doc = "Bit 7 - Core1 PIF area1 write monitor enable"] #[inline(always)] - #[must_use] pub fn core_1_area_pif_1_wr_ena(&mut self) -> CORE_1_AREA_PIF_1_WR_ENA_W { CORE_1_AREA_PIF_1_WR_ENA_W::new(self, 7) } #[doc = "Bit 8 - Core1 stackpoint underflow monitor enable"] #[inline(always)] - #[must_use] pub fn core_1_sp_spill_min_ena(&mut self) -> CORE_1_SP_SPILL_MIN_ENA_W { CORE_1_SP_SPILL_MIN_ENA_W::new(self, 8) } #[doc = "Bit 9 - Core1 stackpoint overflow monitor enable"] #[inline(always)] - #[must_use] pub fn core_1_sp_spill_max_ena(&mut self) -> CORE_1_SP_SPILL_MAX_ENA_W { CORE_1_SP_SPILL_MAX_ENA_W::new(self, 9) } #[doc = "Bit 10 - IBUS busy monitor enable"] #[inline(always)] - #[must_use] pub fn core_1_iram0_exception_monitor_ena( &mut self, ) -> CORE_1_IRAM0_EXCEPTION_MONITOR_ENA_W { @@ -228,7 +217,6 @@ impl W { } #[doc = "Bit 11 - DBUS busy monitor enbale"] #[inline(always)] - #[must_use] pub fn core_1_dram0_exception_monitor_ena( &mut self, ) -> CORE_1_DRAM0_EXCEPTION_MONITOR_ENA_W { diff --git a/esp32p4/src/assist_debug/core_1_intr_rls.rs b/esp32p4/src/assist_debug/core_1_intr_rls.rs index 9eb64a32c7..220e76ee1d 100644 --- a/esp32p4/src/assist_debug/core_1_intr_rls.rs +++ b/esp32p4/src/assist_debug/core_1_intr_rls.rs @@ -152,7 +152,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Core1 dram0 area0 read monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_1_area_dram0_0_rd_rls( &mut self, ) -> CORE_1_AREA_DRAM0_0_RD_RLS_W { @@ -160,7 +159,6 @@ impl W { } #[doc = "Bit 1 - Core1 dram0 area0 write monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_1_area_dram0_0_wr_rls( &mut self, ) -> CORE_1_AREA_DRAM0_0_WR_RLS_W { @@ -168,7 +166,6 @@ impl W { } #[doc = "Bit 2 - Core1 dram0 area1 read monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_1_area_dram0_1_rd_rls( &mut self, ) -> CORE_1_AREA_DRAM0_1_RD_RLS_W { @@ -176,7 +173,6 @@ impl W { } #[doc = "Bit 3 - Core1 dram0 area1 write monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_1_area_dram0_1_wr_rls( &mut self, ) -> CORE_1_AREA_DRAM0_1_WR_RLS_W { @@ -184,43 +180,36 @@ impl W { } #[doc = "Bit 4 - Core1 PIF area0 read monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_1_area_pif_0_rd_rls(&mut self) -> CORE_1_AREA_PIF_0_RD_RLS_W { CORE_1_AREA_PIF_0_RD_RLS_W::new(self, 4) } #[doc = "Bit 5 - Core1 PIF area0 write monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_1_area_pif_0_wr_rls(&mut self) -> CORE_1_AREA_PIF_0_WR_RLS_W { CORE_1_AREA_PIF_0_WR_RLS_W::new(self, 5) } #[doc = "Bit 6 - Core1 PIF area1 read monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_1_area_pif_1_rd_rls(&mut self) -> CORE_1_AREA_PIF_1_RD_RLS_W { CORE_1_AREA_PIF_1_RD_RLS_W::new(self, 6) } #[doc = "Bit 7 - Core1 PIF area1 write monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_1_area_pif_1_wr_rls(&mut self) -> CORE_1_AREA_PIF_1_WR_RLS_W { CORE_1_AREA_PIF_1_WR_RLS_W::new(self, 7) } #[doc = "Bit 8 - Core1 stackpoint underflow monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_1_sp_spill_min_rls(&mut self) -> CORE_1_SP_SPILL_MIN_RLS_W { CORE_1_SP_SPILL_MIN_RLS_W::new(self, 8) } #[doc = "Bit 9 - Core1 stackpoint overflow monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_1_sp_spill_max_rls(&mut self) -> CORE_1_SP_SPILL_MAX_RLS_W { CORE_1_SP_SPILL_MAX_RLS_W::new(self, 9) } #[doc = "Bit 10 - IBUS busy monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_1_iram0_exception_monitor_rls( &mut self, ) -> CORE_1_IRAM0_EXCEPTION_MONITOR_RLS_W { @@ -228,7 +217,6 @@ impl W { } #[doc = "Bit 11 - DBUS busy monitor interrupt enbale"] #[inline(always)] - #[must_use] pub fn core_1_dram0_exception_monitor_rls( &mut self, ) -> CORE_1_DRAM0_EXCEPTION_MONITOR_RLS_W { diff --git a/esp32p4/src/assist_debug/core_1_rcd_en.rs b/esp32p4/src/assist_debug/core_1_rcd_en.rs index 9949b5008b..91406f177c 100644 --- a/esp32p4/src/assist_debug/core_1_rcd_en.rs +++ b/esp32p4/src/assist_debug/core_1_rcd_en.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable record PC"] #[inline(always)] - #[must_use] pub fn core_1_rcd_recorden(&mut self) -> CORE_1_RCD_RECORDEN_W { CORE_1_RCD_RECORDEN_W::new(self, 0) } #[doc = "Bit 1 - Set 1 to enable cpu pdebug function, must set this bit can get cpu PC"] #[inline(always)] - #[must_use] pub fn core_1_rcd_pdebugen(&mut self) -> CORE_1_RCD_PDEBUGEN_W { CORE_1_RCD_PDEBUGEN_W::new(self, 1) } diff --git a/esp32p4/src/assist_debug/core_1_sp_max.rs b/esp32p4/src/assist_debug/core_1_sp_max.rs index 1e24b234b4..08e3b090c9 100644 --- a/esp32p4/src/assist_debug/core_1_sp_max.rs +++ b/esp32p4/src/assist_debug/core_1_sp_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - core1 sp pc status register"] #[inline(always)] - #[must_use] pub fn core_1_sp_max(&mut self) -> CORE_1_SP_MAX_W { CORE_1_SP_MAX_W::new(self, 0) } diff --git a/esp32p4/src/assist_debug/core_1_sp_min.rs b/esp32p4/src/assist_debug/core_1_sp_min.rs index 22803c8c9b..ca6c9c8a35 100644 --- a/esp32p4/src/assist_debug/core_1_sp_min.rs +++ b/esp32p4/src/assist_debug/core_1_sp_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - core1 sp region configuration regsiter"] #[inline(always)] - #[must_use] pub fn core_1_sp_min(&mut self) -> CORE_1_SP_MIN_W { CORE_1_SP_MIN_W::new(self, 0) } diff --git a/esp32p4/src/assist_debug/core_x_iram0_dram0_exception_monitor_0.rs b/esp32p4/src/assist_debug/core_x_iram0_dram0_exception_monitor_0.rs index 55d079e564..261c5b2d8f 100644 --- a/esp32p4/src/assist_debug/core_x_iram0_dram0_exception_monitor_0.rs +++ b/esp32p4/src/assist_debug/core_x_iram0_dram0_exception_monitor_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - reg_core_x_iram0_dram0_limit_cycle_0"] #[inline(always)] - #[must_use] pub fn core_x_iram0_dram0_limit_cycle_0( &mut self, ) -> CORE_X_IRAM0_DRAM0_LIMIT_CYCLE_0_W { diff --git a/esp32p4/src/assist_debug/core_x_iram0_dram0_exception_monitor_1.rs b/esp32p4/src/assist_debug/core_x_iram0_dram0_exception_monitor_1.rs index 60024cdb55..b25ebbd5e1 100644 --- a/esp32p4/src/assist_debug/core_x_iram0_dram0_exception_monitor_1.rs +++ b/esp32p4/src/assist_debug/core_x_iram0_dram0_exception_monitor_1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - reg_core_x_iram0_dram0_limit_cycle_1"] #[inline(always)] - #[must_use] pub fn core_x_iram0_dram0_limit_cycle_1( &mut self, ) -> CORE_X_IRAM0_DRAM0_LIMIT_CYCLE_1_W { diff --git a/esp32p4/src/assist_debug/date.rs b/esp32p4/src/assist_debug/date.rs index 5014c9e863..c1b1c467f9 100644 --- a/esp32p4/src/assist_debug/date.rs +++ b/esp32p4/src/assist_debug/date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - version register"] #[inline(always)] - #[must_use] pub fn assist_debug_date(&mut self) -> ASSIST_DEBUG_DATE_W { ASSIST_DEBUG_DATE_W::new(self, 0) } diff --git a/esp32p4/src/axi_dma/arb_timeout.rs b/esp32p4/src/axi_dma/arb_timeout.rs index 609e098bd3..bbc3bb78d3 100644 --- a/esp32p4/src/axi_dma/arb_timeout.rs +++ b/esp32p4/src/axi_dma/arb_timeout.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to config tx arbiter time out value"] #[inline(always)] - #[must_use] pub fn tx(&mut self) -> TX_W { TX_W::new(self, 0) } #[doc = "Bits 16:31 - This register is used to config rx arbiter time out value"] #[inline(always)] - #[must_use] pub fn rx(&mut self) -> RX_W { RX_W::new(self, 16) } diff --git a/esp32p4/src/axi_dma/date.rs b/esp32p4/src/axi_dma/date.rs index 19faa085c1..43dc3330eb 100644 --- a/esp32p4/src/axi_dma/date.rs +++ b/esp32p4/src/axi_dma/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - register version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32p4/src/axi_dma/extr_mem_end_addr.rs b/esp32p4/src/axi_dma/extr_mem_end_addr.rs index a1e4eaafb2..cef1d0c208 100644 --- a/esp32p4/src/axi_dma/extr_mem_end_addr.rs +++ b/esp32p4/src/axi_dma/extr_mem_end_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The end address of accessible address space. The access address beyond this range would lead to descriptor error."] #[inline(always)] - #[must_use] pub fn access_extr_mem_end_addr( &mut self, ) -> ACCESS_EXTR_MEM_END_ADDR_W { diff --git a/esp32p4/src/axi_dma/extr_mem_start_addr.rs b/esp32p4/src/axi_dma/extr_mem_start_addr.rs index dc9d8a712b..ec1eddb475 100644 --- a/esp32p4/src/axi_dma/extr_mem_start_addr.rs +++ b/esp32p4/src/axi_dma/extr_mem_start_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The start address of accessible address space."] #[inline(always)] - #[must_use] pub fn access_extr_mem_start_addr( &mut self, ) -> ACCESS_EXTR_MEM_START_ADDR_W { diff --git a/esp32p4/src/axi_dma/in_ch/crc.rs b/esp32p4/src/axi_dma/in_ch/crc.rs index 5861f0267d..093074ed2d 100644 --- a/esp32p4/src/axi_dma/in_ch/crc.rs +++ b/esp32p4/src/axi_dma/in_ch/crc.rs @@ -17,7 +17,7 @@ impl CRC { pub const fn in_crc_init_data(&self) -> &IN_CRC_INIT_DATA { &self.in_crc_init_data } - #[doc = "0x04 - This register is used to confiig rx ch0 crc result width,2'b00 mean crc_width <=8bit,2'b01 8<crc_width<=16 ,2'b10 mean 16<crc_width <=24,2'b11 mean 24<crc_width<=32"] + #[doc = "0x04 - This register is used to confiig rx ch0 crc result width,2'b00 mean crc_width <=8bit,2'b01 8 &RX_CRC_WIDTH { &self.rx_crc_width @@ -57,9 +57,9 @@ impl CRC { pub type IN_CRC_INIT_DATA = crate::Reg; #[doc = "This register is used to config ch0 crc initial data(max 32 bit)"] pub mod in_crc_init_data; -#[doc = "RX_CRC_WIDTH (rw) register accessor: This register is used to confiig rx ch0 crc result width,2'b00 mean crc_width <=8bit,2'b01 8<crc_width<=16 ,2'b10 mean 16<crc_width <=24,2'b11 mean 24<crc_width<=32\n\nYou can [`read`](crate::Reg::read) this register and get [`rx_crc_width::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`rx_crc_width::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@rx_crc_width`] module"] +#[doc = "RX_CRC_WIDTH (rw) register accessor: This register is used to confiig rx ch0 crc result width,2'b00 mean crc_width <=8bit,2'b01 8; -#[doc = "This register is used to confiig rx ch0 crc result width,2'b00 mean crc_width <=8bit,2'b01 8<crc_width<=16 ,2'b10 mean 16<crc_width <=24,2'b11 mean 24<crc_width<=32"] +#[doc = "This register is used to confiig rx ch0 crc result width,2'b00 mean crc_width <=8bit,2'b01 8; diff --git a/esp32p4/src/axi_dma/in_ch/crc/in_crc_clear.rs b/esp32p4/src/axi_dma/in_ch/crc/in_crc_clear.rs index 4c911173c5..6f2bbd2ea7 100644 --- a/esp32p4/src/axi_dma/in_ch/crc/in_crc_clear.rs +++ b/esp32p4/src/axi_dma/in_ch/crc/in_crc_clear.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This register is used to clear ch0 of rx crc result"] #[inline(always)] - #[must_use] pub fn in_crc_clear(&mut self) -> IN_CRC_CLEAR_W { IN_CRC_CLEAR_W::new(self, 0) } diff --git a/esp32p4/src/axi_dma/in_ch/crc/in_crc_init_data.rs b/esp32p4/src/axi_dma/in_ch/crc/in_crc_init_data.rs index 2a0ee8f8fd..b1405381bb 100644 --- a/esp32p4/src/axi_dma/in_ch/crc/in_crc_init_data.rs +++ b/esp32p4/src/axi_dma/in_ch/crc/in_crc_init_data.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This register is used to config ch0 of rx crc initial value"] #[inline(always)] - #[must_use] pub fn in_crc_init_data(&mut self) -> IN_CRC_INIT_DATA_W { IN_CRC_INIT_DATA_W::new(self, 0) } diff --git a/esp32p4/src/axi_dma/in_ch/crc/rx_crc_data_en_addr.rs b/esp32p4/src/axi_dma/in_ch/crc/rx_crc_data_en_addr.rs index 30c1ac8741..5011777986 100644 --- a/esp32p4/src/axi_dma/in_ch/crc/rx_crc_data_en_addr.rs +++ b/esp32p4/src/axi_dma/in_ch/crc/rx_crc_data_en_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reserved"] #[inline(always)] - #[must_use] pub fn rx_crc_data_en_addr(&mut self) -> RX_CRC_DATA_EN_ADDR_W { RX_CRC_DATA_EN_ADDR_W::new(self, 0) } diff --git a/esp32p4/src/axi_dma/in_ch/crc/rx_crc_data_en_wr_data.rs b/esp32p4/src/axi_dma/in_ch/crc/rx_crc_data_en_wr_data.rs index d982c24725..28fc8242d7 100644 --- a/esp32p4/src/axi_dma/in_ch/crc/rx_crc_data_en_wr_data.rs +++ b/esp32p4/src/axi_dma/in_ch/crc/rx_crc_data_en_wr_data.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - reserved"] #[inline(always)] - #[must_use] pub fn rx_crc_data_en_wr_data( &mut self, ) -> RX_CRC_DATA_EN_WR_DATA_W { diff --git a/esp32p4/src/axi_dma/in_ch/crc/rx_crc_en_addr.rs b/esp32p4/src/axi_dma/in_ch/crc/rx_crc_en_addr.rs index 6f771eba2d..c27cc58b0b 100644 --- a/esp32p4/src/axi_dma/in_ch/crc/rx_crc_en_addr.rs +++ b/esp32p4/src/axi_dma/in_ch/crc/rx_crc_en_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reserved"] #[inline(always)] - #[must_use] pub fn rx_crc_en_addr(&mut self) -> RX_CRC_EN_ADDR_W { RX_CRC_EN_ADDR_W::new(self, 0) } diff --git a/esp32p4/src/axi_dma/in_ch/crc/rx_crc_en_wr_data.rs b/esp32p4/src/axi_dma/in_ch/crc/rx_crc_en_wr_data.rs index c5dc8d035e..66d21c8520 100644 --- a/esp32p4/src/axi_dma/in_ch/crc/rx_crc_en_wr_data.rs +++ b/esp32p4/src/axi_dma/in_ch/crc/rx_crc_en_wr_data.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This register is used to enable rx ch0 crc 32bit on/off"] #[inline(always)] - #[must_use] pub fn rx_crc_en_wr_data(&mut self) -> RX_CRC_EN_WR_DATA_W { RX_CRC_EN_WR_DATA_W::new(self, 0) } diff --git a/esp32p4/src/axi_dma/in_ch/crc/rx_crc_width.rs b/esp32p4/src/axi_dma/in_ch/crc/rx_crc_width.rs index 6303cd8ff5..aa8d961698 100644 --- a/esp32p4/src/axi_dma/in_ch/crc/rx_crc_width.rs +++ b/esp32p4/src/axi_dma/in_ch/crc/rx_crc_width.rs @@ -34,18 +34,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - reserved"] #[inline(always)] - #[must_use] pub fn rx_crc_width(&mut self) -> RX_CRC_WIDTH_W { RX_CRC_WIDTH_W::new(self, 0) } #[doc = "Bit 2 - reserved"] #[inline(always)] - #[must_use] pub fn rx_crc_lautch_flga(&mut self) -> RX_CRC_LAUTCH_FLGA_W { RX_CRC_LAUTCH_FLGA_W::new(self, 2) } } -#[doc = "This register is used to confiig rx ch0 crc result width,2'b00 mean crc_width <=8bit,2'b01 8<crc_width<=16 ,2'b10 mean 16<crc_width <=24,2'b11 mean 24<crc_width<=32\n\nYou can [`read`](crate::Reg::read) this register and get [`rx_crc_width::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`rx_crc_width::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] +#[doc = "This register is used to confiig rx ch0 crc result width,2'b00 mean crc_width <=8bit,2'b01 8 IN_RST_W { IN_RST_W::new(self, 0) } #[doc = "Bit 1 - reserved"] #[inline(always)] - #[must_use] pub fn in_loop_test(&mut self) -> IN_LOOP_TEST_W { IN_LOOP_TEST_W::new(self, 1) } #[doc = "Bit 2 - Set this bit 1 to enable automatic transmitting data from memory to memory via AXI_DMA."] #[inline(always)] - #[must_use] pub fn mem_trans_en(&mut self) -> MEM_TRANS_EN_W { MEM_TRANS_EN_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to 1 to enable etm control mode, dma Rx channel 0 is triggered by etm task."] #[inline(always)] - #[must_use] pub fn in_etm_en(&mut self) -> IN_ETM_EN_W { IN_ETM_EN_W::new(self, 3) } #[doc = "Bits 4:6 - 3'b000-3'b100:burst length 8byte~128byte"] #[inline(always)] - #[must_use] pub fn in_burst_size_sel(&mut self) -> IN_BURST_SIZE_SEL_W { IN_BURST_SIZE_SEL_W::new(self, 4) } #[doc = "Bit 7 - 1:mean disable cmd of this ch0"] #[inline(always)] - #[must_use] pub fn in_cmd_disable(&mut self) -> IN_CMD_DISABLE_W { IN_CMD_DISABLE_W::new(self, 7) } #[doc = "Bit 8 - 1: mean access ecc or aes domain,0: mean not"] #[inline(always)] - #[must_use] pub fn in_ecc_aec_en(&mut self) -> IN_ECC_AEC_EN_W { IN_ECC_AEC_EN_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to 1 to enable INCR burst transfer for Rx channel 0 reading link descriptor when accessing internal SRAM."] #[inline(always)] - #[must_use] pub fn indscr_burst_en(&mut self) -> INDSCR_BURST_EN_W { INDSCR_BURST_EN_W::new(self, 9) } diff --git a/esp32p4/src/axi_dma/in_ch/in_conf1.rs b/esp32p4/src/axi_dma/in_ch/in_conf1.rs index 980d973178..2eba44f9f0 100644 --- a/esp32p4/src/axi_dma/in_ch/in_conf1.rs +++ b/esp32p4/src/axi_dma/in_ch/in_conf1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - Set this bit to enable checking the owner attribute of the link descriptor."] #[inline(always)] - #[must_use] pub fn in_check_owner(&mut self) -> IN_CHECK_OWNER_W { IN_CHECK_OWNER_W::new(self, 12) } diff --git a/esp32p4/src/axi_dma/in_ch/in_int/clr.rs b/esp32p4/src/axi_dma/in_ch/in_int/clr.rs index 1683a27278..435c4d6a18 100644 --- a/esp32p4/src/axi_dma/in_ch/in_int/clr.rs +++ b/esp32p4/src/axi_dma/in_ch/in_int/clr.rs @@ -31,67 +31,56 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the IN_DONE_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_done(&mut self) -> IN_DONE_W { IN_DONE_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the IN_SUC_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_suc_eof(&mut self) -> IN_SUC_EOF_W { IN_SUC_EOF_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the IN_ERR_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_err_eof(&mut self) -> IN_ERR_EOF_W { IN_ERR_EOF_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the IN_DSCR_ERR_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_err(&mut self) -> IN_DSCR_ERR_W { IN_DSCR_ERR_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear the IN_DSCR_EMPTY_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_empty(&mut self) -> IN_DSCR_EMPTY_W { IN_DSCR_EMPTY_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the INFIFO_OVF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_l1_ovf(&mut self) -> INFIFO_L1_OVF_W { INFIFO_L1_OVF_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the INFIFO_UDF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_l1_udf(&mut self) -> INFIFO_L1_UDF_W { INFIFO_L1_UDF_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the INFIFO_OVF_L2_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_l2_ovf(&mut self) -> INFIFO_L2_OVF_W { INFIFO_L2_OVF_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the INFIFO_UDF_L2_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_l2_udf(&mut self) -> INFIFO_L2_UDF_W { INFIFO_L2_UDF_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear the INFIFO_OVF_L3_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_l3_ovf(&mut self) -> INFIFO_L3_OVF_W { INFIFO_L3_OVF_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to clear the INFIFO_UDF_L3_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_l3_udf(&mut self) -> INFIFO_L3_UDF_W { INFIFO_L3_UDF_W::new(self, 10) } diff --git a/esp32p4/src/axi_dma/in_ch/in_int/ena.rs b/esp32p4/src/axi_dma/in_ch/in_int/ena.rs index 387a83dd9f..5ad5d2f585 100644 --- a/esp32p4/src/axi_dma/in_ch/in_int/ena.rs +++ b/esp32p4/src/axi_dma/in_ch/in_int/ena.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for the IN_DONE_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_done(&mut self) -> IN_DONE_W { IN_DONE_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the IN_SUC_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_suc_eof(&mut self) -> IN_SUC_EOF_W { IN_SUC_EOF_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the IN_ERR_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_err_eof(&mut self) -> IN_ERR_EOF_W { IN_ERR_EOF_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the IN_DSCR_ERR_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_err(&mut self) -> IN_DSCR_ERR_W { IN_DSCR_ERR_W::new(self, 3) } #[doc = "Bit 4 - The interrupt enable bit for the IN_DSCR_EMPTY_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_empty(&mut self) -> IN_DSCR_EMPTY_W { IN_DSCR_EMPTY_W::new(self, 4) } #[doc = "Bit 5 - The interrupt enable bit for the INFIFO_OVF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_l1_ovf(&mut self) -> INFIFO_L1_OVF_W { INFIFO_L1_OVF_W::new(self, 5) } #[doc = "Bit 6 - The interrupt enable bit for the INFIFO_UDF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_l1_udf(&mut self) -> INFIFO_L1_UDF_W { INFIFO_L1_UDF_W::new(self, 6) } #[doc = "Bit 7 - The interrupt enable bit for the INFIFO_OVF_L2_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_l2_ovf(&mut self) -> INFIFO_L2_OVF_W { INFIFO_L2_OVF_W::new(self, 7) } #[doc = "Bit 8 - The interrupt enable bit for the INFIFO_UDF_L2_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_l2_udf(&mut self) -> INFIFO_L2_UDF_W { INFIFO_L2_UDF_W::new(self, 8) } #[doc = "Bit 9 - The interrupt enable bit for the INFIFO_OVF_L3_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_l3_ovf(&mut self) -> INFIFO_L3_OVF_W { INFIFO_L3_OVF_W::new(self, 9) } #[doc = "Bit 10 - The interrupt enable bit for the INFIFO_UDF_L3_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_l3_udf(&mut self) -> INFIFO_L3_UDF_W { INFIFO_L3_UDF_W::new(self, 10) } diff --git a/esp32p4/src/axi_dma/in_ch/in_int/raw.rs b/esp32p4/src/axi_dma/in_ch/in_int/raw.rs index 6dfe13a75f..abff0d03cf 100644 --- a/esp32p4/src/axi_dma/in_ch/in_int/raw.rs +++ b/esp32p4/src/axi_dma/in_ch/in_int/raw.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw interrupt bit turns to high level when the last data pointed by one inlink descriptor has been received for Rx channel 0."] #[inline(always)] - #[must_use] pub fn in_done(&mut self) -> IN_DONE_W { IN_DONE_W::new(self, 0) } #[doc = "Bit 1 - The raw interrupt bit turns to high level when the last data pointed by one inlink descriptor has been received for Rx channel 0. For UHCI0 the raw interrupt bit turns to high level when the last data pointed by one inlink descriptor has been received and no data error is detected for Rx channel 0."] #[inline(always)] - #[must_use] pub fn in_suc_eof(&mut self) -> IN_SUC_EOF_W { IN_SUC_EOF_W::new(self, 1) } #[doc = "Bit 2 - The raw interrupt bit turns to high level when data error is detected only in the case that the peripheral is UHCI0 for Rx channel 0. For other peripherals this raw interrupt is reserved."] #[inline(always)] - #[must_use] pub fn in_err_eof(&mut self) -> IN_ERR_EOF_W { IN_ERR_EOF_W::new(self, 2) } #[doc = "Bit 3 - The raw interrupt bit turns to high level when detecting inlink descriptor error including owner error and the second and third word error of inlink descriptor for Rx channel 0."] #[inline(always)] - #[must_use] pub fn in_dscr_err(&mut self) -> IN_DSCR_ERR_W { IN_DSCR_ERR_W::new(self, 3) } #[doc = "Bit 4 - The raw interrupt bit turns to high level when Rx buffer pointed by inlink is full and receiving data is not completed but there is no more inlink for Rx channel 0."] #[inline(always)] - #[must_use] pub fn in_dscr_empty(&mut self) -> IN_DSCR_EMPTY_W { IN_DSCR_EMPTY_W::new(self, 4) } #[doc = "Bit 5 - This raw interrupt bit turns to high level when level 1 fifo of Rx channel 0 is overflow."] #[inline(always)] - #[must_use] pub fn infifo_l1_ovf(&mut self) -> INFIFO_L1_OVF_W { INFIFO_L1_OVF_W::new(self, 5) } #[doc = "Bit 6 - This raw interrupt bit turns to high level when level 1 fifo of Rx channel 0 is underflow."] #[inline(always)] - #[must_use] pub fn infifo_l1_udf(&mut self) -> INFIFO_L1_UDF_W { INFIFO_L1_UDF_W::new(self, 6) } #[doc = "Bit 7 - This raw interrupt bit turns to high level when level 1 fifo of Rx channel 0 is overflow."] #[inline(always)] - #[must_use] pub fn infifo_l2_ovf(&mut self) -> INFIFO_L2_OVF_W { INFIFO_L2_OVF_W::new(self, 7) } #[doc = "Bit 8 - This raw interrupt bit turns to high level when level 1 fifo of Rx channel 0 is underflow."] #[inline(always)] - #[must_use] pub fn infifo_l2_udf(&mut self) -> INFIFO_L2_UDF_W { INFIFO_L2_UDF_W::new(self, 8) } #[doc = "Bit 9 - This raw interrupt bit turns to high level when level 1 fifo of Rx channel 0 is overflow."] #[inline(always)] - #[must_use] pub fn infifo_l3_ovf(&mut self) -> INFIFO_L3_OVF_W { INFIFO_L3_OVF_W::new(self, 9) } #[doc = "Bit 10 - This raw interrupt bit turns to high level when level 1 fifo of Rx channel 0 is underflow."] #[inline(always)] - #[must_use] pub fn infifo_l3_udf(&mut self) -> INFIFO_L3_UDF_W { INFIFO_L3_UDF_W::new(self, 10) } diff --git a/esp32p4/src/axi_dma/in_ch/in_link1.rs b/esp32p4/src/axi_dma/in_ch/in_link1.rs index 4b9915ffe0..475ae17ab1 100644 --- a/esp32p4/src/axi_dma/in_ch/in_link1.rs +++ b/esp32p4/src/axi_dma/in_ch/in_link1.rs @@ -38,25 +38,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to return to current inlink descriptor's address when there are some errors in current receiving data."] #[inline(always)] - #[must_use] pub fn inlink_auto_ret(&mut self) -> INLINK_AUTO_RET_W { INLINK_AUTO_RET_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to stop dealing with the inlink descriptors."] #[inline(always)] - #[must_use] pub fn inlink_stop(&mut self) -> INLINK_STOP_W { INLINK_STOP_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to start dealing with the inlink descriptors."] #[inline(always)] - #[must_use] pub fn inlink_start(&mut self) -> INLINK_START_W { INLINK_START_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to mount a new inlink descriptor."] #[inline(always)] - #[must_use] pub fn inlink_restart(&mut self) -> INLINK_RESTART_W { INLINK_RESTART_W::new(self, 3) } diff --git a/esp32p4/src/axi_dma/in_ch/in_link2.rs b/esp32p4/src/axi_dma/in_ch/in_link2.rs index a1c3a7d6fd..47fd34a72f 100644 --- a/esp32p4/src/axi_dma/in_ch/in_link2.rs +++ b/esp32p4/src/axi_dma/in_ch/in_link2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This register stores the 20 least significant bits of the first inlink descriptor's address."] #[inline(always)] - #[must_use] pub fn inlink_addr(&mut self) -> INLINK_ADDR_W { INLINK_ADDR_W::new(self, 0) } diff --git a/esp32p4/src/axi_dma/in_ch/in_peri_sel.rs b/esp32p4/src/axi_dma/in_ch/in_peri_sel.rs index 1f8dfa0558..43fe042661 100644 --- a/esp32p4/src/axi_dma/in_ch/in_peri_sel.rs +++ b/esp32p4/src/axi_dma/in_ch/in_peri_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - This register is used to select peripheral for Rx channel 0. 0:lcdcam. 1: gpspi_2. 2: gpspi_3. 3: parl_io. 4: aes. 5: sha. 6~15: Dummy"] #[inline(always)] - #[must_use] pub fn peri_in_sel(&mut self) -> PERI_IN_SEL_W { PERI_IN_SEL_W::new(self, 0) } diff --git a/esp32p4/src/axi_dma/in_ch/in_pop.rs b/esp32p4/src/axi_dma/in_ch/in_pop.rs index fb2c3a806c..677fdfd8cd 100644 --- a/esp32p4/src/axi_dma/in_ch/in_pop.rs +++ b/esp32p4/src/axi_dma/in_ch/in_pop.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - Set this bit to pop data from AXI_DMA FIFO."] #[inline(always)] - #[must_use] pub fn infifo_pop(&mut self) -> INFIFO_POP_W { INFIFO_POP_W::new(self, 12) } diff --git a/esp32p4/src/axi_dma/in_ch/in_pri.rs b/esp32p4/src/axi_dma/in_ch/in_pri.rs index ee50e9d13b..6d406123dc 100644 --- a/esp32p4/src/axi_dma/in_ch/in_pri.rs +++ b/esp32p4/src/axi_dma/in_ch/in_pri.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - The priority of Rx channel 0. The larger of the value the higher of the priority."] #[inline(always)] - #[must_use] pub fn rx_pri(&mut self) -> RX_PRI_W { RX_PRI_W::new(self, 0) } #[doc = "Bits 4:7 - The weight of Rx channel 0"] #[inline(always)] - #[must_use] pub fn rx_ch_arb_weigh(&mut self) -> RX_CH_ARB_WEIGH_W { RX_CH_ARB_WEIGH_W::new(self, 4) } #[doc = "Bit 8 - 0: mean not optimazation weight function ,1: mean optimazation"] #[inline(always)] - #[must_use] pub fn rx_arb_weigh_opt_dir(&mut self) -> RX_ARB_WEIGH_OPT_DIR_W { RX_ARB_WEIGH_OPT_DIR_W::new(self, 8) } diff --git a/esp32p4/src/axi_dma/in_mem_conf.rs b/esp32p4/src/axi_dma/in_mem_conf.rs index 9c8f01d47c..943789e386 100644 --- a/esp32p4/src/axi_dma/in_mem_conf.rs +++ b/esp32p4/src/axi_dma/in_mem_conf.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: Force to open the clock and bypass the gate-clock when accessing the RAM in AXI_DMA. 0: A gate-clock will be used when accessing the RAM in AXI_DMA."] #[inline(always)] - #[must_use] pub fn in_mem_clk_force_en(&mut self) -> IN_MEM_CLK_FORCE_EN_W { IN_MEM_CLK_FORCE_EN_W::new(self, 0) } #[doc = "Bit 1 - Force power up ram"] #[inline(always)] - #[must_use] pub fn in_mem_force_pu(&mut self) -> IN_MEM_FORCE_PU_W { IN_MEM_FORCE_PU_W::new(self, 1) } #[doc = "Bit 2 - Force power down ram"] #[inline(always)] - #[must_use] pub fn in_mem_force_pd(&mut self) -> IN_MEM_FORCE_PD_W { IN_MEM_FORCE_PD_W::new(self, 2) } #[doc = "Bit 3 - 1: Force to open the clock and bypass the gate-clock when accessing the RAM in AXI_DMA. 0: A gate-clock will be used when accessing the RAM in AXI_DMA."] #[inline(always)] - #[must_use] pub fn out_mem_clk_force_en(&mut self) -> OUT_MEM_CLK_FORCE_EN_W { OUT_MEM_CLK_FORCE_EN_W::new(self, 3) } #[doc = "Bit 4 - Force power up ram"] #[inline(always)] - #[must_use] pub fn out_mem_force_pu(&mut self) -> OUT_MEM_FORCE_PU_W { OUT_MEM_FORCE_PU_W::new(self, 4) } #[doc = "Bit 5 - Force power down ram"] #[inline(always)] - #[must_use] pub fn out_mem_force_pd(&mut self) -> OUT_MEM_FORCE_PD_W { OUT_MEM_FORCE_PD_W::new(self, 5) } diff --git a/esp32p4/src/axi_dma/intr_mem_end_addr.rs b/esp32p4/src/axi_dma/intr_mem_end_addr.rs index 271d6b81a3..210127810d 100644 --- a/esp32p4/src/axi_dma/intr_mem_end_addr.rs +++ b/esp32p4/src/axi_dma/intr_mem_end_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The end address of accessible address space. The access address beyond this range would lead to descriptor error."] #[inline(always)] - #[must_use] pub fn access_intr_mem_end_addr( &mut self, ) -> ACCESS_INTR_MEM_END_ADDR_W { diff --git a/esp32p4/src/axi_dma/intr_mem_start_addr.rs b/esp32p4/src/axi_dma/intr_mem_start_addr.rs index b12119ae43..92ddaefc9d 100644 --- a/esp32p4/src/axi_dma/intr_mem_start_addr.rs +++ b/esp32p4/src/axi_dma/intr_mem_start_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The start address of accessible address space."] #[inline(always)] - #[must_use] pub fn access_intr_mem_start_addr( &mut self, ) -> ACCESS_INTR_MEM_START_ADDR_W { diff --git a/esp32p4/src/axi_dma/misc_conf.rs b/esp32p4/src/axi_dma/misc_conf.rs index 35db26ef20..38a9b2b31d 100644 --- a/esp32p4/src/axi_dma/misc_conf.rs +++ b/esp32p4/src/axi_dma/misc_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit then clear this bit to reset the internal axi_wr FSM."] #[inline(always)] - #[must_use] pub fn axim_rst_wr_inter(&mut self) -> AXIM_RST_WR_INTER_W { AXIM_RST_WR_INTER_W::new(self, 0) } #[doc = "Bit 1 - Set this bit then clear this bit to reset the internal axi_rd FSM."] #[inline(always)] - #[must_use] pub fn axim_rst_rd_inter(&mut self) -> AXIM_RST_RD_INTER_W { AXIM_RST_RD_INTER_W::new(self, 1) } #[doc = "Bit 3 - Set this bit to disable priority arbitration function."] #[inline(always)] - #[must_use] pub fn arb_pri_dis(&mut self) -> ARB_PRI_DIS_W { ARB_PRI_DIS_W::new(self, 3) } #[doc = "Bit 4 - 1'h1: Force clock on for register. 1'h0: Support clock only when application writes registers."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 4) } diff --git a/esp32p4/src/axi_dma/out_ch/crc.rs b/esp32p4/src/axi_dma/out_ch/crc.rs index 0fd79a3096..afb23f6f72 100644 --- a/esp32p4/src/axi_dma/out_ch/crc.rs +++ b/esp32p4/src/axi_dma/out_ch/crc.rs @@ -17,7 +17,7 @@ impl CRC { pub const fn out_crc_init_data(&self) -> &OUT_CRC_INIT_DATA { &self.out_crc_init_data } - #[doc = "0x04 - This register is used to confiig tx ch0 crc result width,2'b00 mean crc_width <=8bit,2'b01 8<crc_width<=16 ,2'b10 mean 16<crc_width <=24,2'b11 mean 24<crc_width<=32"] + #[doc = "0x04 - This register is used to confiig tx ch0 crc result width,2'b00 mean crc_width <=8bit,2'b01 8 &TX_CRC_WIDTH { &self.tx_crc_width @@ -57,9 +57,9 @@ impl CRC { pub type OUT_CRC_INIT_DATA = crate::Reg; #[doc = "This register is used to config ch0 crc initial data(max 32 bit)"] pub mod out_crc_init_data; -#[doc = "TX_CRC_WIDTH (rw) register accessor: This register is used to confiig tx ch0 crc result width,2'b00 mean crc_width <=8bit,2'b01 8<crc_width<=16 ,2'b10 mean 16<crc_width <=24,2'b11 mean 24<crc_width<=32\n\nYou can [`read`](crate::Reg::read) this register and get [`tx_crc_width::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`tx_crc_width::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@tx_crc_width`] module"] +#[doc = "TX_CRC_WIDTH (rw) register accessor: This register is used to confiig tx ch0 crc result width,2'b00 mean crc_width <=8bit,2'b01 8; -#[doc = "This register is used to confiig tx ch0 crc result width,2'b00 mean crc_width <=8bit,2'b01 8<crc_width<=16 ,2'b10 mean 16<crc_width <=24,2'b11 mean 24<crc_width<=32"] +#[doc = "This register is used to confiig tx ch0 crc result width,2'b00 mean crc_width <=8bit,2'b01 8; diff --git a/esp32p4/src/axi_dma/out_ch/crc/out_crc_clear.rs b/esp32p4/src/axi_dma/out_ch/crc/out_crc_clear.rs index 70c0a3dca1..e3164c8a24 100644 --- a/esp32p4/src/axi_dma/out_ch/crc/out_crc_clear.rs +++ b/esp32p4/src/axi_dma/out_ch/crc/out_crc_clear.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This register is used to clear ch0 of tx crc result"] #[inline(always)] - #[must_use] pub fn out_crc_clear(&mut self) -> OUT_CRC_CLEAR_W { OUT_CRC_CLEAR_W::new(self, 0) } diff --git a/esp32p4/src/axi_dma/out_ch/crc/out_crc_init_data.rs b/esp32p4/src/axi_dma/out_ch/crc/out_crc_init_data.rs index 4f59c610f0..7f0c468c9f 100644 --- a/esp32p4/src/axi_dma/out_ch/crc/out_crc_init_data.rs +++ b/esp32p4/src/axi_dma/out_ch/crc/out_crc_init_data.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This register is used to config ch0 of tx crc initial value"] #[inline(always)] - #[must_use] pub fn out_crc_init_data(&mut self) -> OUT_CRC_INIT_DATA_W { OUT_CRC_INIT_DATA_W::new(self, 0) } diff --git a/esp32p4/src/axi_dma/out_ch/crc/tx_crc_data_en_addr.rs b/esp32p4/src/axi_dma/out_ch/crc/tx_crc_data_en_addr.rs index 0e58ddb17b..05fa0307dd 100644 --- a/esp32p4/src/axi_dma/out_ch/crc/tx_crc_data_en_addr.rs +++ b/esp32p4/src/axi_dma/out_ch/crc/tx_crc_data_en_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reserved"] #[inline(always)] - #[must_use] pub fn tx_crc_data_en_addr(&mut self) -> TX_CRC_DATA_EN_ADDR_W { TX_CRC_DATA_EN_ADDR_W::new(self, 0) } diff --git a/esp32p4/src/axi_dma/out_ch/crc/tx_crc_data_en_wr_data.rs b/esp32p4/src/axi_dma/out_ch/crc/tx_crc_data_en_wr_data.rs index 79779dd95d..4bc3832345 100644 --- a/esp32p4/src/axi_dma/out_ch/crc/tx_crc_data_en_wr_data.rs +++ b/esp32p4/src/axi_dma/out_ch/crc/tx_crc_data_en_wr_data.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - reserved"] #[inline(always)] - #[must_use] pub fn tx_crc_data_en_wr_data( &mut self, ) -> TX_CRC_DATA_EN_WR_DATA_W { diff --git a/esp32p4/src/axi_dma/out_ch/crc/tx_crc_en_addr.rs b/esp32p4/src/axi_dma/out_ch/crc/tx_crc_en_addr.rs index 10fe624c41..3b863b6088 100644 --- a/esp32p4/src/axi_dma/out_ch/crc/tx_crc_en_addr.rs +++ b/esp32p4/src/axi_dma/out_ch/crc/tx_crc_en_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reserved"] #[inline(always)] - #[must_use] pub fn tx_crc_en_addr(&mut self) -> TX_CRC_EN_ADDR_W { TX_CRC_EN_ADDR_W::new(self, 0) } diff --git a/esp32p4/src/axi_dma/out_ch/crc/tx_crc_en_wr_data.rs b/esp32p4/src/axi_dma/out_ch/crc/tx_crc_en_wr_data.rs index 8eb9520d66..0591d394aa 100644 --- a/esp32p4/src/axi_dma/out_ch/crc/tx_crc_en_wr_data.rs +++ b/esp32p4/src/axi_dma/out_ch/crc/tx_crc_en_wr_data.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This register is used to enable tx ch0 crc 32bit on/off"] #[inline(always)] - #[must_use] pub fn tx_crc_en_wr_data(&mut self) -> TX_CRC_EN_WR_DATA_W { TX_CRC_EN_WR_DATA_W::new(self, 0) } diff --git a/esp32p4/src/axi_dma/out_ch/crc/tx_crc_width.rs b/esp32p4/src/axi_dma/out_ch/crc/tx_crc_width.rs index 851c1f53e4..ee452cdf96 100644 --- a/esp32p4/src/axi_dma/out_ch/crc/tx_crc_width.rs +++ b/esp32p4/src/axi_dma/out_ch/crc/tx_crc_width.rs @@ -34,18 +34,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - reserved"] #[inline(always)] - #[must_use] pub fn tx_crc_width(&mut self) -> TX_CRC_WIDTH_W { TX_CRC_WIDTH_W::new(self, 0) } #[doc = "Bit 2 - reserved"] #[inline(always)] - #[must_use] pub fn tx_crc_lautch_flga(&mut self) -> TX_CRC_LAUTCH_FLGA_W { TX_CRC_LAUTCH_FLGA_W::new(self, 2) } } -#[doc = "This register is used to confiig tx ch0 crc result width,2'b00 mean crc_width <=8bit,2'b01 8<crc_width<=16 ,2'b10 mean 16<crc_width <=24,2'b11 mean 24<crc_width<=32\n\nYou can [`read`](crate::Reg::read) this register and get [`tx_crc_width::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`tx_crc_width::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."] +#[doc = "This register is used to confiig tx ch0 crc result width,2'b00 mean crc_width <=8bit,2'b01 8 OUT_RST_W { OUT_RST_W::new(self, 0) } #[doc = "Bit 1 - reserved"] #[inline(always)] - #[must_use] pub fn out_loop_test(&mut self) -> OUT_LOOP_TEST_W { OUT_LOOP_TEST_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to enable automatic outlink-writeback when all the data in tx buffer has been transmitted."] #[inline(always)] - #[must_use] pub fn out_auto_wrback(&mut self) -> OUT_AUTO_WRBACK_W { OUT_AUTO_WRBACK_W::new(self, 2) } #[doc = "Bit 3 - EOF flag generation mode when transmitting data. 1: EOF flag for Tx channel0 is generated when data need to transmit has been popped from FIFO in AXI_DMA"] #[inline(always)] - #[must_use] pub fn out_eof_mode(&mut self) -> OUT_EOF_MODE_W { OUT_EOF_MODE_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to 1 to enable etm control mode, dma Tx channel0 is triggered by etm task."] #[inline(always)] - #[must_use] pub fn out_etm_en(&mut self) -> OUT_ETM_EN_W { OUT_ETM_EN_W::new(self, 4) } #[doc = "Bits 5:7 - 3'b000-3'b100:burst length 8byte~128byte"] #[inline(always)] - #[must_use] pub fn out_burst_size_sel(&mut self) -> OUT_BURST_SIZE_SEL_W { OUT_BURST_SIZE_SEL_W::new(self, 5) } #[doc = "Bit 8 - 1:mean disable cmd of this ch0"] #[inline(always)] - #[must_use] pub fn out_cmd_disable(&mut self) -> OUT_CMD_DISABLE_W { OUT_CMD_DISABLE_W::new(self, 8) } #[doc = "Bit 9 - 1: mean access ecc or aes domain,0: mean not"] #[inline(always)] - #[must_use] pub fn out_ecc_aec_en(&mut self) -> OUT_ECC_AEC_EN_W { OUT_ECC_AEC_EN_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to 1 to enable INCR burst transfer for Tx channel0 reading link descriptor when accessing internal SRAM."] #[inline(always)] - #[must_use] pub fn outdscr_burst_en(&mut self) -> OUTDSCR_BURST_EN_W { OUTDSCR_BURST_EN_W::new(self, 10) } diff --git a/esp32p4/src/axi_dma/out_ch/out_conf1.rs b/esp32p4/src/axi_dma/out_ch/out_conf1.rs index bfab1e1d66..1d9675a930 100644 --- a/esp32p4/src/axi_dma/out_ch/out_conf1.rs +++ b/esp32p4/src/axi_dma/out_ch/out_conf1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - Set this bit to enable checking the owner attribute of the link descriptor."] #[inline(always)] - #[must_use] pub fn out_check_owner(&mut self) -> OUT_CHECK_OWNER_W { OUT_CHECK_OWNER_W::new(self, 12) } diff --git a/esp32p4/src/axi_dma/out_ch/out_int/clr.rs b/esp32p4/src/axi_dma/out_ch/out_int/clr.rs index 8efa4b36f6..9adab3f359 100644 --- a/esp32p4/src/axi_dma/out_ch/out_int/clr.rs +++ b/esp32p4/src/axi_dma/out_ch/out_int/clr.rs @@ -29,61 +29,51 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the OUT_DONE_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_done(&mut self) -> OUT_DONE_W { OUT_DONE_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the OUT_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the OUT_DSCR_ERR_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_dscr_err(&mut self) -> OUT_DSCR_ERR_W { OUT_DSCR_ERR_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the OUT_TOTAL_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_total_eof(&mut self) -> OUT_TOTAL_EOF_W { OUT_TOTAL_EOF_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear the OUTFIFO_OVF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_l1_ovf(&mut self) -> OUTFIFO_L1_OVF_W { OUTFIFO_L1_OVF_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the OUTFIFO_UDF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_l1_udf(&mut self) -> OUTFIFO_L1_UDF_W { OUTFIFO_L1_UDF_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the OUTFIFO_OVF_L2_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_l2_ovf(&mut self) -> OUTFIFO_L2_OVF_W { OUTFIFO_L2_OVF_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the OUTFIFO_UDF_L2_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_l2_udf(&mut self) -> OUTFIFO_L2_UDF_W { OUTFIFO_L2_UDF_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the OUTFIFO_OVF_L3_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_l3_ovf(&mut self) -> OUTFIFO_L3_OVF_W { OUTFIFO_L3_OVF_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear the OUTFIFO_UDF_L3_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_l3_udf(&mut self) -> OUTFIFO_L3_UDF_W { OUTFIFO_L3_UDF_W::new(self, 9) } diff --git a/esp32p4/src/axi_dma/out_ch/out_int/ena.rs b/esp32p4/src/axi_dma/out_ch/out_int/ena.rs index cee06654ca..7c8f9af4b4 100644 --- a/esp32p4/src/axi_dma/out_ch/out_int/ena.rs +++ b/esp32p4/src/axi_dma/out_ch/out_int/ena.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for the OUT_DONE_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_done(&mut self) -> OUT_DONE_W { OUT_DONE_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the OUT_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the OUT_DSCR_ERR_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_dscr_err(&mut self) -> OUT_DSCR_ERR_W { OUT_DSCR_ERR_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the OUT_TOTAL_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_total_eof(&mut self) -> OUT_TOTAL_EOF_W { OUT_TOTAL_EOF_W::new(self, 3) } #[doc = "Bit 4 - The interrupt enable bit for the OUTFIFO_OVF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_l1_ovf(&mut self) -> OUTFIFO_L1_OVF_W { OUTFIFO_L1_OVF_W::new(self, 4) } #[doc = "Bit 5 - The interrupt enable bit for the OUTFIFO_UDF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_l1_udf(&mut self) -> OUTFIFO_L1_UDF_W { OUTFIFO_L1_UDF_W::new(self, 5) } #[doc = "Bit 6 - The interrupt enable bit for the OUTFIFO_OVF_L2_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_l2_ovf(&mut self) -> OUTFIFO_L2_OVF_W { OUTFIFO_L2_OVF_W::new(self, 6) } #[doc = "Bit 7 - The interrupt enable bit for the OUTFIFO_UDF_L2_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_l2_udf(&mut self) -> OUTFIFO_L2_UDF_W { OUTFIFO_L2_UDF_W::new(self, 7) } #[doc = "Bit 8 - The interrupt enable bit for the OUTFIFO_OVF_L3_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_l3_ovf(&mut self) -> OUTFIFO_L3_OVF_W { OUTFIFO_L3_OVF_W::new(self, 8) } #[doc = "Bit 9 - The interrupt enable bit for the OUTFIFO_UDF_L3_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_l3_udf(&mut self) -> OUTFIFO_L3_UDF_W { OUTFIFO_L3_UDF_W::new(self, 9) } diff --git a/esp32p4/src/axi_dma/out_ch/out_int/raw.rs b/esp32p4/src/axi_dma/out_ch/out_int/raw.rs index 41a8cf3eca..d129e65d4f 100644 --- a/esp32p4/src/axi_dma/out_ch/out_int/raw.rs +++ b/esp32p4/src/axi_dma/out_ch/out_int/raw.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw interrupt bit turns to high level when the last data pointed by one outlink descriptor has been transmitted to peripherals for Tx channel0."] #[inline(always)] - #[must_use] pub fn out_done(&mut self) -> OUT_DONE_W { OUT_DONE_W::new(self, 0) } #[doc = "Bit 1 - The raw interrupt bit turns to high level when the last data pointed by one outlink descriptor has been read from memory for Tx channel0."] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 1) } #[doc = "Bit 2 - The raw interrupt bit turns to high level when detecting outlink descriptor error including owner error and the second and third word error of outlink descriptor for Tx channel0."] #[inline(always)] - #[must_use] pub fn out_dscr_err(&mut self) -> OUT_DSCR_ERR_W { OUT_DSCR_ERR_W::new(self, 2) } #[doc = "Bit 3 - The raw interrupt bit turns to high level when data corresponding a outlink (includes one link descriptor or few link descriptors) is transmitted out for Tx channel0."] #[inline(always)] - #[must_use] pub fn out_total_eof(&mut self) -> OUT_TOTAL_EOF_W { OUT_TOTAL_EOF_W::new(self, 3) } #[doc = "Bit 4 - This raw interrupt bit turns to high level when level 1 fifo of Tx channel0 is overflow."] #[inline(always)] - #[must_use] pub fn outfifo_l1_ovf(&mut self) -> OUTFIFO_L1_OVF_W { OUTFIFO_L1_OVF_W::new(self, 4) } #[doc = "Bit 5 - This raw interrupt bit turns to high level when level 1 fifo of Tx channel0 is underflow."] #[inline(always)] - #[must_use] pub fn outfifo_l1_udf(&mut self) -> OUTFIFO_L1_UDF_W { OUTFIFO_L1_UDF_W::new(self, 5) } #[doc = "Bit 6 - This raw interrupt bit turns to high level when level 1 fifo of Tx channel0 is overflow."] #[inline(always)] - #[must_use] pub fn outfifo_l2_ovf(&mut self) -> OUTFIFO_L2_OVF_W { OUTFIFO_L2_OVF_W::new(self, 6) } #[doc = "Bit 7 - This raw interrupt bit turns to high level when level 1 fifo of Tx channel0 is underflow."] #[inline(always)] - #[must_use] pub fn outfifo_l2_udf(&mut self) -> OUTFIFO_L2_UDF_W { OUTFIFO_L2_UDF_W::new(self, 7) } #[doc = "Bit 8 - This raw interrupt bit turns to high level when level 1 fifo of Tx channel0 is overflow."] #[inline(always)] - #[must_use] pub fn outfifo_l3_ovf(&mut self) -> OUTFIFO_L3_OVF_W { OUTFIFO_L3_OVF_W::new(self, 8) } #[doc = "Bit 9 - This raw interrupt bit turns to high level when level 1 fifo of Tx channel0 is underflow."] #[inline(always)] - #[must_use] pub fn outfifo_l3_udf(&mut self) -> OUTFIFO_L3_UDF_W { OUTFIFO_L3_UDF_W::new(self, 9) } diff --git a/esp32p4/src/axi_dma/out_ch/out_link1.rs b/esp32p4/src/axi_dma/out_ch/out_link1.rs index 1b92974c5d..be9f67622c 100644 --- a/esp32p4/src/axi_dma/out_ch/out_link1.rs +++ b/esp32p4/src/axi_dma/out_ch/out_link1.rs @@ -28,19 +28,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to stop dealing with the outlink descriptors."] #[inline(always)] - #[must_use] pub fn outlink_stop(&mut self) -> OUTLINK_STOP_W { OUTLINK_STOP_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to start dealing with the outlink descriptors."] #[inline(always)] - #[must_use] pub fn outlink_start(&mut self) -> OUTLINK_START_W { OUTLINK_START_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to restart a new outlink from the last address."] #[inline(always)] - #[must_use] pub fn outlink_restart(&mut self) -> OUTLINK_RESTART_W { OUTLINK_RESTART_W::new(self, 2) } diff --git a/esp32p4/src/axi_dma/out_ch/out_link2.rs b/esp32p4/src/axi_dma/out_ch/out_link2.rs index b4426b1ed3..253df9b908 100644 --- a/esp32p4/src/axi_dma/out_ch/out_link2.rs +++ b/esp32p4/src/axi_dma/out_ch/out_link2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This register stores the 32 least significant bits of the first outlink descriptor's address."] #[inline(always)] - #[must_use] pub fn outlink_addr(&mut self) -> OUTLINK_ADDR_W { OUTLINK_ADDR_W::new(self, 0) } diff --git a/esp32p4/src/axi_dma/out_ch/out_peri_sel.rs b/esp32p4/src/axi_dma/out_ch/out_peri_sel.rs index 93ebbcdc33..812bfb651b 100644 --- a/esp32p4/src/axi_dma/out_ch/out_peri_sel.rs +++ b/esp32p4/src/axi_dma/out_ch/out_peri_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - This register is used to select peripheral for Tx channel0. 0:lcdcam. 1: gpspi_2. 2: gpspi_3. 3: parl_io. 4: aes. 5: sha. 6~15: Dummy"] #[inline(always)] - #[must_use] pub fn peri_out_sel(&mut self) -> PERI_OUT_SEL_W { PERI_OUT_SEL_W::new(self, 0) } diff --git a/esp32p4/src/axi_dma/out_ch/out_pri.rs b/esp32p4/src/axi_dma/out_ch/out_pri.rs index 7daa370aa9..c263672351 100644 --- a/esp32p4/src/axi_dma/out_ch/out_pri.rs +++ b/esp32p4/src/axi_dma/out_ch/out_pri.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - The priority of Tx channel0. The larger of the value the higher of the priority."] #[inline(always)] - #[must_use] pub fn tx_pri(&mut self) -> TX_PRI_W { TX_PRI_W::new(self, 0) } #[doc = "Bits 4:7 - The weight of Tx channel0"] #[inline(always)] - #[must_use] pub fn tx_ch_arb_weigh(&mut self) -> TX_CH_ARB_WEIGH_W { TX_CH_ARB_WEIGH_W::new(self, 4) } #[doc = "Bit 8 - 0: mean not optimazation weight function ,1: mean optimazation"] #[inline(always)] - #[must_use] pub fn tx_arb_weigh_opt_dir(&mut self) -> TX_ARB_WEIGH_OPT_DIR_W { TX_ARB_WEIGH_OPT_DIR_W::new(self, 8) } diff --git a/esp32p4/src/axi_dma/out_ch/out_push.rs b/esp32p4/src/axi_dma/out_ch/out_push.rs index e65c470d8b..75311da056 100644 --- a/esp32p4/src/axi_dma/out_ch/out_push.rs +++ b/esp32p4/src/axi_dma/out_ch/out_push.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register stores the data that need to be pushed into AXI_DMA FIFO."] #[inline(always)] - #[must_use] pub fn outfifo_wdata(&mut self) -> OUTFIFO_WDATA_W { OUTFIFO_WDATA_W::new(self, 0) } #[doc = "Bit 9 - Set this bit to push data into AXI_DMA FIFO."] #[inline(always)] - #[must_use] pub fn outfifo_push(&mut self) -> OUTFIFO_PUSH_W { OUTFIFO_PUSH_W::new(self, 9) } diff --git a/esp32p4/src/axi_dma/rdn_eco_high.rs b/esp32p4/src/axi_dma/rdn_eco_high.rs index 96d7b1e40c..5e544aa3f4 100644 --- a/esp32p4/src/axi_dma/rdn_eco_high.rs +++ b/esp32p4/src/axi_dma/rdn_eco_high.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The start address of accessible address space."] #[inline(always)] - #[must_use] pub fn rdn_eco_high(&mut self) -> RDN_ECO_HIGH_W { RDN_ECO_HIGH_W::new(self, 0) } diff --git a/esp32p4/src/axi_dma/rdn_eco_low.rs b/esp32p4/src/axi_dma/rdn_eco_low.rs index 7b37a761bf..b9f9c50527 100644 --- a/esp32p4/src/axi_dma/rdn_eco_low.rs +++ b/esp32p4/src/axi_dma/rdn_eco_low.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The start address of accessible address space."] #[inline(always)] - #[must_use] pub fn rdn_eco_low(&mut self) -> RDN_ECO_LOW_W { RDN_ECO_LOW_W::new(self, 0) } diff --git a/esp32p4/src/axi_dma/rdn_result.rs b/esp32p4/src/axi_dma/rdn_result.rs index 0a4edf5317..37ac1b87da 100644 --- a/esp32p4/src/axi_dma/rdn_result.rs +++ b/esp32p4/src/axi_dma/rdn_result.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reserved"] #[inline(always)] - #[must_use] pub fn rdn_ena(&mut self) -> RDN_ENA_W { RDN_ENA_W::new(self, 0) } diff --git a/esp32p4/src/axi_dma/weight_en.rs b/esp32p4/src/axi_dma/weight_en.rs index ddbeb081b8..cab591a1ab 100644 --- a/esp32p4/src/axi_dma/weight_en.rs +++ b/esp32p4/src/axi_dma/weight_en.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This register is used to config tx arbiter weight function off/on"] #[inline(always)] - #[must_use] pub fn tx(&mut self) -> TX_W { TX_W::new(self, 0) } #[doc = "Bit 1 - This register is used to config rx arbiter weight function off/on"] #[inline(always)] - #[must_use] pub fn rx(&mut self) -> RX_W { RX_W::new(self, 1) } diff --git a/esp32p4/src/axi_icm/cmd.rs b/esp32p4/src/axi_icm/cmd.rs index 480885d440..1327037911 100644 --- a/esp32p4/src/axi_icm/cmd.rs +++ b/esp32p4/src/axi_icm/cmd.rs @@ -85,37 +85,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - NA"] #[inline(always)] - #[must_use] pub fn icm_reg_axi_cmd(&mut self) -> ICM_REG_AXI_CMD_W { ICM_REG_AXI_CMD_W::new(self, 0) } #[doc = "Bit 7 - NA"] #[inline(always)] - #[must_use] pub fn icm_reg_rd_wr_chan(&mut self) -> ICM_REG_RD_WR_CHAN_W { ICM_REG_RD_WR_CHAN_W::new(self, 7) } #[doc = "Bits 8:11 - NA"] #[inline(always)] - #[must_use] pub fn icm_reg_axi_master_port(&mut self) -> ICM_REG_AXI_MASTER_PORT_W { ICM_REG_AXI_MASTER_PORT_W::new(self, 8) } #[doc = "Bit 29 - NA"] #[inline(always)] - #[must_use] pub fn icm_reg_axi_soft_reset_bit(&mut self) -> ICM_REG_AXI_SOFT_RESET_BIT_W { ICM_REG_AXI_SOFT_RESET_BIT_W::new(self, 29) } #[doc = "Bit 30 - NA"] #[inline(always)] - #[must_use] pub fn icm_reg_axi_rd_wr_cmd(&mut self) -> ICM_REG_AXI_RD_WR_CMD_W { ICM_REG_AXI_RD_WR_CMD_W::new(self, 30) } #[doc = "Bit 31 - NA"] #[inline(always)] - #[must_use] pub fn icm_reg_axi_cmd_en(&mut self) -> ICM_REG_AXI_CMD_EN_W { ICM_REG_AXI_CMD_EN_W::new(self, 31) } diff --git a/esp32p4/src/axi_icm/data.rs b/esp32p4/src/axi_icm/data.rs index 823ce0fb94..d546a1b30a 100644 --- a/esp32p4/src/axi_icm/data.rs +++ b/esp32p4/src/axi_icm/data.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - NA"] #[inline(always)] - #[must_use] pub fn icm_reg_data(&mut self) -> ICM_REG_DATA_W { ICM_REG_DATA_W::new(self, 0) } diff --git a/esp32p4/src/bitscrambler/rx_ctrl.rs b/esp32p4/src/bitscrambler/rx_ctrl.rs index c8a094bfd0..bc659f8df4 100644 --- a/esp32p4/src/bitscrambler/rx_ctrl.rs +++ b/esp32p4/src/bitscrambler/rx_ctrl.rs @@ -96,55 +96,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - write this bit to enable the bitscrambler rx"] #[inline(always)] - #[must_use] pub fn rx_ena(&mut self) -> RX_ENA_W { RX_ENA_W::new(self, 0) } #[doc = "Bit 1 - write this bit to pause the bitscrambler rx core"] #[inline(always)] - #[must_use] pub fn rx_pause(&mut self) -> RX_PAUSE_W { RX_PAUSE_W::new(self, 1) } #[doc = "Bit 2 - write this bit to halt the bitscrambler rx core"] #[inline(always)] - #[must_use] pub fn rx_halt(&mut self) -> RX_HALT_W { RX_HALT_W::new(self, 2) } #[doc = "Bit 3 - write this bit to ser the bitscrambler rx core EOF signal generating mode which is combined with reg_bitscrambler_rx_tailing_bits, 0: counter by read peripheral buffer, 0 counter by write dma fifo"] #[inline(always)] - #[must_use] pub fn rx_eof_mode(&mut self) -> RX_EOF_MODE_W { RX_EOF_MODE_W::new(self, 3) } #[doc = "Bit 4 - write this bit to specify the LOOP instruction condition mode of bitscrambler rx core, 0: use the little than operator to get the condition, 1: use not equal operator to get the condition"] #[inline(always)] - #[must_use] pub fn rx_cond_mode(&mut self) -> RX_COND_MODE_W { RX_COND_MODE_W::new(self, 4) } #[doc = "Bit 5 - write this bit to set the bitscrambler rx core fetch instruction mode, 0: prefetch by reset, 1: fetch by instrutions"] #[inline(always)] - #[must_use] pub fn rx_fetch_mode(&mut self) -> RX_FETCH_MODE_W { RX_FETCH_MODE_W::new(self, 5) } #[doc = "Bit 6 - write this bit to set the bitscrambler rx core halt mode when rx_halt is set, 0: wait write data back done, , 1: ignore write data back"] #[inline(always)] - #[must_use] pub fn rx_halt_mode(&mut self) -> RX_HALT_MODE_W { RX_HALT_MODE_W::new(self, 6) } #[doc = "Bit 7 - write this bit to set the bitscrambler rx core read data mode when EOF received.0: wait read data, 1: ignore read data"] #[inline(always)] - #[must_use] pub fn rx_rd_dummy(&mut self) -> RX_RD_DUMMY_W { RX_RD_DUMMY_W::new(self, 7) } #[doc = "Bit 8 - write this bit to reset the bitscrambler rx fifo"] #[inline(always)] - #[must_use] pub fn rx_fifo_rst(&mut self) -> RX_FIFO_RST_W { RX_FIFO_RST_W::new(self, 8) } diff --git a/esp32p4/src/bitscrambler/rx_inst_cfg0.rs b/esp32p4/src/bitscrambler/rx_inst_cfg0.rs index 8af58c25d7..decac9b7f3 100644 --- a/esp32p4/src/bitscrambler/rx_inst_cfg0.rs +++ b/esp32p4/src/bitscrambler/rx_inst_cfg0.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - write this bits to specify the one of 8 instruction"] #[inline(always)] - #[must_use] pub fn rx_inst_idx(&mut self) -> RX_INST_IDX_W { RX_INST_IDX_W::new(self, 0) } #[doc = "Bits 3:6 - write this bits to specify the bit position of 257 bit instruction which in units of 32 bits"] #[inline(always)] - #[must_use] pub fn rx_inst_pos(&mut self) -> RX_INST_POS_W { RX_INST_POS_W::new(self, 3) } diff --git a/esp32p4/src/bitscrambler/rx_inst_cfg1.rs b/esp32p4/src/bitscrambler/rx_inst_cfg1.rs index 17596cc20b..8c9c192f40 100644 --- a/esp32p4/src/bitscrambler/rx_inst_cfg1.rs +++ b/esp32p4/src/bitscrambler/rx_inst_cfg1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - write this bits to update instruction which specified by BITSCRAMBLER_RX_INST_CFG0_REG, Read this bits to get instruction which specified by BITSCRAMBLER_RX_INST_CFG0_REG"] #[inline(always)] - #[must_use] pub fn rx_inst(&mut self) -> RX_INST_W { RX_INST_W::new(self, 0) } diff --git a/esp32p4/src/bitscrambler/rx_lut_cfg0.rs b/esp32p4/src/bitscrambler/rx_lut_cfg0.rs index 63fb7fab72..88bd0c2094 100644 --- a/esp32p4/src/bitscrambler/rx_lut_cfg0.rs +++ b/esp32p4/src/bitscrambler/rx_lut_cfg0.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - write this bits to specify the bytes position of LUT RAM based on reg_bitscrambler_rx_lut_mode"] #[inline(always)] - #[must_use] pub fn rx_lut_idx(&mut self) -> RX_LUT_IDX_W { RX_LUT_IDX_W::new(self, 0) } #[doc = "Bits 11:12 - write this bits to specify the bytes mode of LUT RAM, 0: 1 byte,1: 2bytes, 2: 4 bytes"] #[inline(always)] - #[must_use] pub fn rx_lut_mode(&mut self) -> RX_LUT_MODE_W { RX_LUT_MODE_W::new(self, 11) } diff --git a/esp32p4/src/bitscrambler/rx_lut_cfg1.rs b/esp32p4/src/bitscrambler/rx_lut_cfg1.rs index 560d324002..5ad3f40e4d 100644 --- a/esp32p4/src/bitscrambler/rx_lut_cfg1.rs +++ b/esp32p4/src/bitscrambler/rx_lut_cfg1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - write this bits to update LUT which specified by BITSCRAMBLER_RX_LUT_CFG0_REG, Read this bits to get LUT which specified by BITSCRAMBLER_RX_LUT_CFG0_REG"] #[inline(always)] - #[must_use] pub fn rx_lut(&mut self) -> RX_LUT_W { RX_LUT_W::new(self, 0) } diff --git a/esp32p4/src/bitscrambler/rx_state.rs b/esp32p4/src/bitscrambler/rx_state.rs index e817acaabe..058a2a0c78 100644 --- a/esp32p4/src/bitscrambler/rx_state.rs +++ b/esp32p4/src/bitscrambler/rx_state.rs @@ -72,7 +72,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - write this bit to clear reg_bitscrambler_rx_eof_overload and reg_bitscrambler_rx_eof_get_cnt registers"] #[inline(always)] - #[must_use] pub fn rx_eof_trace_clr(&mut self) -> RX_EOF_TRACE_CLR_W { RX_EOF_TRACE_CLR_W::new(self, 31) } diff --git a/esp32p4/src/bitscrambler/rx_tailing_bits.rs b/esp32p4/src/bitscrambler/rx_tailing_bits.rs index b31ade2f82..5161185991 100644 --- a/esp32p4/src/bitscrambler/rx_tailing_bits.rs +++ b/esp32p4/src/bitscrambler/rx_tailing_bits.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - write this bits to specify the extra data bit length after getting EOF"] #[inline(always)] - #[must_use] pub fn rx_tailing_bits(&mut self) -> RX_TAILING_BITS_W { RX_TAILING_BITS_W::new(self, 0) } diff --git a/esp32p4/src/bitscrambler/sys.rs b/esp32p4/src/bitscrambler/sys.rs index 6f81588249..7dc9d83580 100644 --- a/esp32p4/src/bitscrambler/sys.rs +++ b/esp32p4/src/bitscrambler/sys.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - write this bit to set the bitscrambler tx loop back to DMA rx"] #[inline(always)] - #[must_use] pub fn loop_mode(&mut self) -> LOOP_MODE_W { LOOP_MODE_W::new(self, 0) } #[doc = "Bit 31 - Reserved"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32p4/src/bitscrambler/tx_ctrl.rs b/esp32p4/src/bitscrambler/tx_ctrl.rs index 233f4148a6..80ab3ca122 100644 --- a/esp32p4/src/bitscrambler/tx_ctrl.rs +++ b/esp32p4/src/bitscrambler/tx_ctrl.rs @@ -96,55 +96,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - write this bit to enable the bitscrambler tx"] #[inline(always)] - #[must_use] pub fn tx_ena(&mut self) -> TX_ENA_W { TX_ENA_W::new(self, 0) } #[doc = "Bit 1 - write this bit to pause the bitscrambler tx core"] #[inline(always)] - #[must_use] pub fn tx_pause(&mut self) -> TX_PAUSE_W { TX_PAUSE_W::new(self, 1) } #[doc = "Bit 2 - write this bit to halt the bitscrambler tx core"] #[inline(always)] - #[must_use] pub fn tx_halt(&mut self) -> TX_HALT_W { TX_HALT_W::new(self, 2) } #[doc = "Bit 3 - write this bit to ser the bitscrambler tx core EOF signal generating mode which is combined with reg_bitscrambler_tx_tailing_bits, 0: counter by read dma fifo, 0 counter by write peripheral buffer"] #[inline(always)] - #[must_use] pub fn tx_eof_mode(&mut self) -> TX_EOF_MODE_W { TX_EOF_MODE_W::new(self, 3) } #[doc = "Bit 4 - write this bit to specify the LOOP instruction condition mode of bitscrambler tx core, 0: use the little than operator to get the condition, 1: use not equal operator to get the condition"] #[inline(always)] - #[must_use] pub fn tx_cond_mode(&mut self) -> TX_COND_MODE_W { TX_COND_MODE_W::new(self, 4) } #[doc = "Bit 5 - write this bit to set the bitscrambler tx core fetch instruction mode, 0: prefetch by reset, 1: fetch by instrutions"] #[inline(always)] - #[must_use] pub fn tx_fetch_mode(&mut self) -> TX_FETCH_MODE_W { TX_FETCH_MODE_W::new(self, 5) } #[doc = "Bit 6 - write this bit to set the bitscrambler tx core halt mode when tx_halt is set, 0: wait write data back done, , 1: ignore write data back"] #[inline(always)] - #[must_use] pub fn tx_halt_mode(&mut self) -> TX_HALT_MODE_W { TX_HALT_MODE_W::new(self, 6) } #[doc = "Bit 7 - write this bit to set the bitscrambler tx core read data mode when EOF received.0: wait read data, 1: ignore read data"] #[inline(always)] - #[must_use] pub fn tx_rd_dummy(&mut self) -> TX_RD_DUMMY_W { TX_RD_DUMMY_W::new(self, 7) } #[doc = "Bit 8 - write this bit to reset the bitscrambler tx fifo"] #[inline(always)] - #[must_use] pub fn tx_fifo_rst(&mut self) -> TX_FIFO_RST_W { TX_FIFO_RST_W::new(self, 8) } diff --git a/esp32p4/src/bitscrambler/tx_inst_cfg0.rs b/esp32p4/src/bitscrambler/tx_inst_cfg0.rs index 1bdcc7570c..53231cd047 100644 --- a/esp32p4/src/bitscrambler/tx_inst_cfg0.rs +++ b/esp32p4/src/bitscrambler/tx_inst_cfg0.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - write this bits to specify the one of 8 instruction"] #[inline(always)] - #[must_use] pub fn tx_inst_idx(&mut self) -> TX_INST_IDX_W { TX_INST_IDX_W::new(self, 0) } #[doc = "Bits 3:6 - write this bits to specify the bit position of 257 bit instruction which in units of 32 bits"] #[inline(always)] - #[must_use] pub fn tx_inst_pos(&mut self) -> TX_INST_POS_W { TX_INST_POS_W::new(self, 3) } diff --git a/esp32p4/src/bitscrambler/tx_inst_cfg1.rs b/esp32p4/src/bitscrambler/tx_inst_cfg1.rs index 217ecfe106..c272310c95 100644 --- a/esp32p4/src/bitscrambler/tx_inst_cfg1.rs +++ b/esp32p4/src/bitscrambler/tx_inst_cfg1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - write this bits to update instruction which specified by BITSCRAMBLER_TX_INST_CFG0_REG, Read this bits to get instruction which specified by BITSCRAMBLER_TX_INST_CFG0_REG"] #[inline(always)] - #[must_use] pub fn tx_inst(&mut self) -> TX_INST_W { TX_INST_W::new(self, 0) } diff --git a/esp32p4/src/bitscrambler/tx_lut_cfg0.rs b/esp32p4/src/bitscrambler/tx_lut_cfg0.rs index c7a1792f03..757a37ec63 100644 --- a/esp32p4/src/bitscrambler/tx_lut_cfg0.rs +++ b/esp32p4/src/bitscrambler/tx_lut_cfg0.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - write this bits to specify the bytes position of LUT RAM based on reg_bitscrambler_tx_lut_mode"] #[inline(always)] - #[must_use] pub fn tx_lut_idx(&mut self) -> TX_LUT_IDX_W { TX_LUT_IDX_W::new(self, 0) } #[doc = "Bits 11:12 - write this bits to specify the bytes mode of LUT RAM, 0: 1 byte,1: 2bytes, 2: 4 bytes"] #[inline(always)] - #[must_use] pub fn tx_lut_mode(&mut self) -> TX_LUT_MODE_W { TX_LUT_MODE_W::new(self, 11) } diff --git a/esp32p4/src/bitscrambler/tx_lut_cfg1.rs b/esp32p4/src/bitscrambler/tx_lut_cfg1.rs index 4416dbc64a..a5ad93e4a9 100644 --- a/esp32p4/src/bitscrambler/tx_lut_cfg1.rs +++ b/esp32p4/src/bitscrambler/tx_lut_cfg1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - write this bits to update LUT which specified by BITSCRAMBLER_TX_LUT_CFG0_REG, Read this bits to get LUT which specified by BITSCRAMBLER_TX_LUT_CFG0_REG"] #[inline(always)] - #[must_use] pub fn tx_lut(&mut self) -> TX_LUT_W { TX_LUT_W::new(self, 0) } diff --git a/esp32p4/src/bitscrambler/tx_state.rs b/esp32p4/src/bitscrambler/tx_state.rs index b3c57bf0f2..5ac7d2d1e8 100644 --- a/esp32p4/src/bitscrambler/tx_state.rs +++ b/esp32p4/src/bitscrambler/tx_state.rs @@ -72,7 +72,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - write this bit to clear reg_bitscrambler_tx_eof_overload and reg_bitscrambler_tx_eof_get_cnt registers"] #[inline(always)] - #[must_use] pub fn tx_eof_trace_clr(&mut self) -> TX_EOF_TRACE_CLR_W { TX_EOF_TRACE_CLR_W::new(self, 31) } diff --git a/esp32p4/src/bitscrambler/tx_tailing_bits.rs b/esp32p4/src/bitscrambler/tx_tailing_bits.rs index b711ce9330..5c0812d267 100644 --- a/esp32p4/src/bitscrambler/tx_tailing_bits.rs +++ b/esp32p4/src/bitscrambler/tx_tailing_bits.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - write this bits to specify the extra data bit length after getting EOF"] #[inline(always)] - #[must_use] pub fn tx_tailing_bits(&mut self) -> TX_TAILING_BITS_W { TX_TAILING_BITS_W::new(self, 0) } diff --git a/esp32p4/src/bitscrambler/version.rs b/esp32p4/src/bitscrambler/version.rs index 8ebd7a2d73..0020378081 100644 --- a/esp32p4/src/bitscrambler/version.rs +++ b/esp32p4/src/bitscrambler/version.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Reserved"] #[inline(always)] - #[must_use] pub fn bitscrambler_ver(&mut self) -> BITSCRAMBLER_VER_W { BITSCRAMBLER_VER_W::new(self, 0) } diff --git a/esp32p4/src/cache/clock_gate.rs b/esp32p4/src/cache/clock_gate.rs index a34a470917..6870b56d5b 100644 --- a/esp32p4/src/cache/clock_gate.rs +++ b/esp32p4/src/cache/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable clock gate when access all registers in this module."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32p4/src/cache/date.rs b/esp32p4/src/cache/date.rs index 1f0722e95b..fc5cc0cb2a 100644 --- a/esp32p4/src/cache/date.rs +++ b/esp32p4/src/cache/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - version control register. Note that this default value stored is the latest date when the hardware logic was updated."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32p4/src/cache/l1_bypass_cache_conf.rs b/esp32p4/src/cache/l1_bypass_cache_conf.rs index be832569a3..814819929a 100644 --- a/esp32p4/src/cache/l1_bypass_cache_conf.rs +++ b/esp32p4/src/cache/l1_bypass_cache_conf.rs @@ -60,19 +60,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable bypass L1-ICache0. 0: disable bypass, 1: enable bypass."] #[inline(always)] - #[must_use] pub fn bypass_l1_icache0_en(&mut self) -> BYPASS_L1_ICACHE0_EN_W { BYPASS_L1_ICACHE0_EN_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to enable bypass L1-ICache1. 0: disable bypass, 1: enable bypass."] #[inline(always)] - #[must_use] pub fn bypass_l1_icache1_en(&mut self) -> BYPASS_L1_ICACHE1_EN_W { BYPASS_L1_ICACHE1_EN_W::new(self, 1) } #[doc = "Bit 4 - The bit is used to enable bypass L1-DCache. 0: disable bypass, 1: enable bypass."] #[inline(always)] - #[must_use] pub fn bypass_l1_dcache_en(&mut self) -> BYPASS_L1_DCACHE_EN_W { BYPASS_L1_DCACHE_EN_W::new(self, 4) } diff --git a/esp32p4/src/cache/l1_cache_acs_cnt_ctrl.rs b/esp32p4/src/cache/l1_cache_acs_cnt_ctrl.rs index 3c19b1fb84..ddf01769b1 100644 --- a/esp32p4/src/cache/l1_cache_acs_cnt_ctrl.rs +++ b/esp32p4/src/cache/l1_cache_acs_cnt_ctrl.rs @@ -126,49 +126,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable ibus0 counter in L1-ICache0."] #[inline(always)] - #[must_use] pub fn l1_ibus0_cnt_ena(&mut self) -> L1_IBUS0_CNT_ENA_W { L1_IBUS0_CNT_ENA_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to enable ibus1 counter in L1-ICache1."] #[inline(always)] - #[must_use] pub fn l1_ibus1_cnt_ena(&mut self) -> L1_IBUS1_CNT_ENA_W { L1_IBUS1_CNT_ENA_W::new(self, 1) } #[doc = "Bit 4 - The bit is used to enable dbus0 counter in L1-DCache."] #[inline(always)] - #[must_use] pub fn l1_dbus0_cnt_ena(&mut self) -> L1_DBUS0_CNT_ENA_W { L1_DBUS0_CNT_ENA_W::new(self, 4) } #[doc = "Bit 5 - The bit is used to enable dbus1 counter in L1-DCache."] #[inline(always)] - #[must_use] pub fn l1_dbus1_cnt_ena(&mut self) -> L1_DBUS1_CNT_ENA_W { L1_DBUS1_CNT_ENA_W::new(self, 5) } #[doc = "Bit 16 - The bit is used to clear ibus0 counter in L1-ICache0."] #[inline(always)] - #[must_use] pub fn l1_ibus0_cnt_clr(&mut self) -> L1_IBUS0_CNT_CLR_W { L1_IBUS0_CNT_CLR_W::new(self, 16) } #[doc = "Bit 17 - The bit is used to clear ibus1 counter in L1-ICache1."] #[inline(always)] - #[must_use] pub fn l1_ibus1_cnt_clr(&mut self) -> L1_IBUS1_CNT_CLR_W { L1_IBUS1_CNT_CLR_W::new(self, 17) } #[doc = "Bit 20 - The bit is used to clear dbus0 counter in L1-DCache."] #[inline(always)] - #[must_use] pub fn l1_dbus0_cnt_clr(&mut self) -> L1_DBUS0_CNT_CLR_W { L1_DBUS0_CNT_CLR_W::new(self, 20) } #[doc = "Bit 21 - The bit is used to clear dbus1 counter in L1-DCache."] #[inline(always)] - #[must_use] pub fn l1_dbus1_cnt_clr(&mut self) -> L1_DBUS1_CNT_CLR_W { L1_DBUS1_CNT_CLR_W::new(self, 21) } diff --git a/esp32p4/src/cache/l1_cache_acs_cnt_int_clr.rs b/esp32p4/src/cache/l1_cache_acs_cnt_int_clr.rs index 5d46cd2121..307de70e30 100644 --- a/esp32p4/src/cache/l1_cache_acs_cnt_int_clr.rs +++ b/esp32p4/src/cache/l1_cache_acs_cnt_int_clr.rs @@ -54,7 +54,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to clear counters overflow interrupt and counters in L1-ICache0 due to bus0 accesses L1-ICache0."] #[inline(always)] - #[must_use] pub fn l1_ibus0_ovf_int_clr( &mut self, ) -> L1_IBUS0_OVF_INT_CLR_W { @@ -62,7 +61,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to clear counters overflow interrupt and counters in L1-ICache1 due to bus1 accesses L1-ICache1."] #[inline(always)] - #[must_use] pub fn l1_ibus1_ovf_int_clr( &mut self, ) -> L1_IBUS1_OVF_INT_CLR_W { @@ -70,7 +68,6 @@ impl W { } #[doc = "Bit 4 - The bit is used to clear counters overflow interrupt and counters in L1-DCache due to bus0 accesses L1-DCache."] #[inline(always)] - #[must_use] pub fn l1_dbus0_ovf_int_clr( &mut self, ) -> L1_DBUS0_OVF_INT_CLR_W { @@ -78,7 +75,6 @@ impl W { } #[doc = "Bit 5 - The bit is used to clear counters overflow interrupt and counters in L1-DCache due to bus1 accesses L1-DCache."] #[inline(always)] - #[must_use] pub fn l1_dbus1_ovf_int_clr( &mut self, ) -> L1_DBUS1_OVF_INT_CLR_W { diff --git a/esp32p4/src/cache/l1_cache_acs_cnt_int_ena.rs b/esp32p4/src/cache/l1_cache_acs_cnt_int_ena.rs index d77ca561aa..f05fd890ac 100644 --- a/esp32p4/src/cache/l1_cache_acs_cnt_int_ena.rs +++ b/esp32p4/src/cache/l1_cache_acs_cnt_int_ena.rs @@ -86,7 +86,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable interrupt of one of counters overflow that occurs in L1-ICache0 due to bus0 accesses L1-ICache0."] #[inline(always)] - #[must_use] pub fn l1_ibus0_ovf_int_ena( &mut self, ) -> L1_IBUS0_OVF_INT_ENA_W { @@ -94,7 +93,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to enable interrupt of one of counters overflow that occurs in L1-ICache1 due to bus1 accesses L1-ICache1."] #[inline(always)] - #[must_use] pub fn l1_ibus1_ovf_int_ena( &mut self, ) -> L1_IBUS1_OVF_INT_ENA_W { @@ -102,7 +100,6 @@ impl W { } #[doc = "Bit 4 - The bit is used to enable interrupt of one of counters overflow that occurs in L1-DCache due to bus0 accesses L1-DCache."] #[inline(always)] - #[must_use] pub fn l1_dbus0_ovf_int_ena( &mut self, ) -> L1_DBUS0_OVF_INT_ENA_W { @@ -110,7 +107,6 @@ impl W { } #[doc = "Bit 5 - The bit is used to enable interrupt of one of counters overflow that occurs in L1-DCache due to bus1 accesses L1-DCache."] #[inline(always)] - #[must_use] pub fn l1_dbus1_ovf_int_ena( &mut self, ) -> L1_DBUS1_OVF_INT_ENA_W { diff --git a/esp32p4/src/cache/l1_cache_acs_cnt_int_raw.rs b/esp32p4/src/cache/l1_cache_acs_cnt_int_raw.rs index 9d07dcea83..f12f1eb4a7 100644 --- a/esp32p4/src/cache/l1_cache_acs_cnt_int_raw.rs +++ b/esp32p4/src/cache/l1_cache_acs_cnt_int_raw.rs @@ -94,7 +94,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw bit of the interrupt of one of counters overflow that occurs in L1-ICache0 due to bus0 accesses L1-ICache0."] #[inline(always)] - #[must_use] pub fn l1_ibus0_ovf_int_raw( &mut self, ) -> L1_IBUS0_OVF_INT_RAW_W { @@ -102,7 +101,6 @@ impl W { } #[doc = "Bit 1 - The raw bit of the interrupt of one of counters overflow that occurs in L1-ICache1 due to bus1 accesses L1-ICache1."] #[inline(always)] - #[must_use] pub fn l1_ibus1_ovf_int_raw( &mut self, ) -> L1_IBUS1_OVF_INT_RAW_W { @@ -110,7 +108,6 @@ impl W { } #[doc = "Bit 2 - The raw bit of the interrupt of one of counters overflow that occurs in L1-ICache2 due to bus2 accesses L1-ICache2."] #[inline(always)] - #[must_use] pub fn l1_ibus2_ovf_int_raw( &mut self, ) -> L1_IBUS2_OVF_INT_RAW_W { @@ -118,7 +115,6 @@ impl W { } #[doc = "Bit 3 - The raw bit of the interrupt of one of counters overflow that occurs in L1-ICache3 due to bus3 accesses L1-ICache3."] #[inline(always)] - #[must_use] pub fn l1_ibus3_ovf_int_raw( &mut self, ) -> L1_IBUS3_OVF_INT_RAW_W { @@ -126,7 +122,6 @@ impl W { } #[doc = "Bit 4 - The raw bit of the interrupt of one of counters overflow that occurs in L1-DCache due to bus0 accesses L1-DCache."] #[inline(always)] - #[must_use] pub fn l1_dbus0_ovf_int_raw( &mut self, ) -> L1_DBUS0_OVF_INT_RAW_W { @@ -134,7 +129,6 @@ impl W { } #[doc = "Bit 5 - The raw bit of the interrupt of one of counters overflow that occurs in L1-DCache due to bus1 accesses L1-DCache."] #[inline(always)] - #[must_use] pub fn l1_dbus1_ovf_int_raw( &mut self, ) -> L1_DBUS1_OVF_INT_RAW_W { @@ -142,7 +136,6 @@ impl W { } #[doc = "Bit 6 - The raw bit of the interrupt of one of counters overflow that occurs in L1-DCache due to bus2 accesses L1-DCache."] #[inline(always)] - #[must_use] pub fn l1_dbus2_ovf_int_raw( &mut self, ) -> L1_DBUS2_OVF_INT_RAW_W { @@ -150,7 +143,6 @@ impl W { } #[doc = "Bit 7 - The raw bit of the interrupt of one of counters overflow that occurs in L1-DCache due to bus3 accesses L1-DCache."] #[inline(always)] - #[must_use] pub fn l1_dbus3_ovf_int_raw( &mut self, ) -> L1_DBUS3_OVF_INT_RAW_W { diff --git a/esp32p4/src/cache/l1_cache_acs_fail_ctrl.rs b/esp32p4/src/cache/l1_cache_acs_fail_ctrl.rs index c0333909a6..16c93dea9e 100644 --- a/esp32p4/src/cache/l1_cache_acs_fail_ctrl.rs +++ b/esp32p4/src/cache/l1_cache_acs_fail_ctrl.rs @@ -79,7 +79,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to configure l1 icache0 access fail check mode. 0: the access fail is not propagated to the request, 1: the access fail is propagated to the request"] #[inline(always)] - #[must_use] pub fn l1_icache0_acs_fail_check_mode( &mut self, ) -> L1_ICACHE0_ACS_FAIL_CHECK_MODE_W { @@ -87,7 +86,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to configure l1 icache1 access fail check mode. 0: the access fail is not propagated to the request, 1: the access fail is propagated to the request"] #[inline(always)] - #[must_use] pub fn l1_icache1_acs_fail_check_mode( &mut self, ) -> L1_ICACHE1_ACS_FAIL_CHECK_MODE_W { @@ -95,7 +93,6 @@ impl W { } #[doc = "Bit 2 - The bit is used to configure l1 icache2 access fail check mode. 0: the access fail is not propagated to the request, 1: the access fail is propagated to the request"] #[inline(always)] - #[must_use] pub fn l1_icache2_acs_fail_check_mode( &mut self, ) -> L1_ICACHE2_ACS_FAIL_CHECK_MODE_W { @@ -103,7 +100,6 @@ impl W { } #[doc = "Bit 3 - The bit is used to configure l1 icache3 access fail check mode. 0: the access fail is not propagated to the request, 1: the access fail is propagated to the request"] #[inline(always)] - #[must_use] pub fn l1_icache3_acs_fail_check_mode( &mut self, ) -> L1_ICACHE3_ACS_FAIL_CHECK_MODE_W { @@ -111,7 +107,6 @@ impl W { } #[doc = "Bit 4 - The bit is used to configure l1 dcache access fail check mode. 0: the access fail is not propagated to the request, 1: the access fail is propagated to the request"] #[inline(always)] - #[must_use] pub fn l1_dcache_acs_fail_check_mode( &mut self, ) -> L1_DCACHE_ACS_FAIL_CHECK_MODE_W { diff --git a/esp32p4/src/cache/l1_cache_acs_fail_int_clr.rs b/esp32p4/src/cache/l1_cache_acs_fail_int_clr.rs index a1435815bb..5b30eb8aec 100644 --- a/esp32p4/src/cache/l1_cache_acs_fail_int_clr.rs +++ b/esp32p4/src/cache/l1_cache_acs_fail_int_clr.rs @@ -36,7 +36,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to clear interrupt of access fail that occurs in L1-ICache0 due to cpu accesses L1-ICache0."] #[inline(always)] - #[must_use] pub fn l1_icache0_fail_int_clr( &mut self, ) -> L1_ICACHE0_FAIL_INT_CLR_W { @@ -44,7 +43,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to clear interrupt of access fail that occurs in L1-ICache1 due to cpu accesses L1-ICache1."] #[inline(always)] - #[must_use] pub fn l1_icache1_fail_int_clr( &mut self, ) -> L1_ICACHE1_FAIL_INT_CLR_W { @@ -52,7 +50,6 @@ impl W { } #[doc = "Bit 4 - The bit is used to clear interrupt of access fail that occurs in L1-DCache due to cpu accesses L1-DCache."] #[inline(always)] - #[must_use] pub fn l1_dcache_fail_int_clr( &mut self, ) -> L1_DCACHE_FAIL_INT_CLR_W { diff --git a/esp32p4/src/cache/l1_cache_acs_fail_int_ena.rs b/esp32p4/src/cache/l1_cache_acs_fail_int_ena.rs index f5661123c2..cf96509456 100644 --- a/esp32p4/src/cache/l1_cache_acs_fail_int_ena.rs +++ b/esp32p4/src/cache/l1_cache_acs_fail_int_ena.rs @@ -60,7 +60,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable interrupt of access fail that occurs in L1-ICache0 due to cpu accesses L1-ICache0."] #[inline(always)] - #[must_use] pub fn l1_icache0_fail_int_ena( &mut self, ) -> L1_ICACHE0_FAIL_INT_ENA_W { @@ -68,7 +67,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to enable interrupt of access fail that occurs in L1-ICache1 due to cpu accesses L1-ICache1."] #[inline(always)] - #[must_use] pub fn l1_icache1_fail_int_ena( &mut self, ) -> L1_ICACHE1_FAIL_INT_ENA_W { @@ -76,7 +74,6 @@ impl W { } #[doc = "Bit 4 - The bit is used to enable interrupt of access fail that occurs in L1-DCache due to cpu accesses L1-DCache."] #[inline(always)] - #[must_use] pub fn l1_dcache_fail_int_ena( &mut self, ) -> L1_DCACHE_FAIL_INT_ENA_W { diff --git a/esp32p4/src/cache/l1_cache_acs_fail_int_raw.rs b/esp32p4/src/cache/l1_cache_acs_fail_int_raw.rs index f1a1f2e145..b2c1ec338f 100644 --- a/esp32p4/src/cache/l1_cache_acs_fail_int_raw.rs +++ b/esp32p4/src/cache/l1_cache_acs_fail_int_raw.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw bit of the interrupt of access fail that occurs in L1-ICache0."] #[inline(always)] - #[must_use] pub fn l1_icache0_fail_int_raw( &mut self, ) -> L1_ICACHE0_FAIL_INT_RAW_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - The raw bit of the interrupt of access fail that occurs in L1-ICache1."] #[inline(always)] - #[must_use] pub fn l1_icache1_fail_int_raw( &mut self, ) -> L1_ICACHE1_FAIL_INT_RAW_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bit 2 - The raw bit of the interrupt of access fail that occurs in L1-ICache2."] #[inline(always)] - #[must_use] pub fn l1_icache2_fail_int_raw( &mut self, ) -> L1_ICACHE2_FAIL_INT_RAW_W { @@ -88,7 +85,6 @@ impl W { } #[doc = "Bit 3 - The raw bit of the interrupt of access fail that occurs in L1-ICache3."] #[inline(always)] - #[must_use] pub fn l1_icache3_fail_int_raw( &mut self, ) -> L1_ICACHE3_FAIL_INT_RAW_W { @@ -96,7 +92,6 @@ impl W { } #[doc = "Bit 4 - The raw bit of the interrupt of access fail that occurs in L1-DCache."] #[inline(always)] - #[must_use] pub fn l1_dcache_fail_int_raw( &mut self, ) -> L1_DCACHE_FAIL_INT_RAW_W { diff --git a/esp32p4/src/cache/l1_cache_atomic_conf.rs b/esp32p4/src/cache/l1_cache_atomic_conf.rs index e9f1328bd5..cae187fd2e 100644 --- a/esp32p4/src/cache/l1_cache_atomic_conf.rs +++ b/esp32p4/src/cache/l1_cache_atomic_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable atomic feature on L1-DCache when multiple cores access L1-DCache. 1: disable, 1: enable."] #[inline(always)] - #[must_use] pub fn l1_dcache_atomic_en(&mut self) -> L1_DCACHE_ATOMIC_EN_W { L1_DCACHE_ATOMIC_EN_W::new(self, 0) } diff --git a/esp32p4/src/cache/l1_cache_autoload_buf_clr_ctrl.rs b/esp32p4/src/cache/l1_cache_autoload_buf_clr_ctrl.rs index 113ec2c0da..2f764aeec1 100644 --- a/esp32p4/src/cache/l1_cache_autoload_buf_clr_ctrl.rs +++ b/esp32p4/src/cache/l1_cache_autoload_buf_clr_ctrl.rs @@ -60,7 +60,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - set this bit to clear autoload-buffer inside L1-ICache0. If this bit is active, autoload will not work in L1-ICache0. This bit should not be active when autoload works in L1-ICache0."] #[inline(always)] - #[must_use] pub fn l1_icache0_ald_buf_clr( &mut self, ) -> L1_ICACHE0_ALD_BUF_CLR_W { @@ -68,7 +67,6 @@ impl W { } #[doc = "Bit 1 - set this bit to clear autoload-buffer inside L1-ICache1. If this bit is active, autoload will not work in L1-ICache1. This bit should not be active when autoload works in L1-ICache1."] #[inline(always)] - #[must_use] pub fn l1_icache1_ald_buf_clr( &mut self, ) -> L1_ICACHE1_ALD_BUF_CLR_W { @@ -76,7 +74,6 @@ impl W { } #[doc = "Bit 4 - set this bit to clear autoload-buffer inside L1-DCache. If this bit is active, autoload will not work in L1-DCache. This bit should not be active when autoload works in L1-DCache."] #[inline(always)] - #[must_use] pub fn l1_dcache_ald_buf_clr( &mut self, ) -> L1_DCACHE_ALD_BUF_CLR_W { diff --git a/esp32p4/src/cache/l1_cache_data_mem_acs_conf.rs b/esp32p4/src/cache/l1_cache_data_mem_acs_conf.rs index cf2813f2f9..7424b13f11 100644 --- a/esp32p4/src/cache/l1_cache_data_mem_acs_conf.rs +++ b/esp32p4/src/cache/l1_cache_data_mem_acs_conf.rs @@ -130,7 +130,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable config-bus read L1-ICache0 data memoryory. 0: disable, 1: enable."] #[inline(always)] - #[must_use] pub fn l1_icache0_data_mem_rd_en( &mut self, ) -> L1_ICACHE0_DATA_MEM_RD_EN_W { @@ -138,7 +137,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to enable config-bus write L1-ICache0 data memoryory. 0: disable, 1: enable."] #[inline(always)] - #[must_use] pub fn l1_icache0_data_mem_wr_en( &mut self, ) -> L1_ICACHE0_DATA_MEM_WR_EN_W { @@ -146,7 +144,6 @@ impl W { } #[doc = "Bit 4 - The bit is used to enable config-bus read L1-ICache1 data memoryory. 0: disable, 1: enable."] #[inline(always)] - #[must_use] pub fn l1_icache1_data_mem_rd_en( &mut self, ) -> L1_ICACHE1_DATA_MEM_RD_EN_W { @@ -154,7 +151,6 @@ impl W { } #[doc = "Bit 5 - The bit is used to enable config-bus write L1-ICache1 data memoryory. 0: disable, 1: enable."] #[inline(always)] - #[must_use] pub fn l1_icache1_data_mem_wr_en( &mut self, ) -> L1_ICACHE1_DATA_MEM_WR_EN_W { @@ -162,7 +158,6 @@ impl W { } #[doc = "Bit 16 - The bit is used to enable config-bus read L1-DCache data memoryory. 0: disable, 1: enable."] #[inline(always)] - #[must_use] pub fn l1_dcache_data_mem_rd_en( &mut self, ) -> L1_DCACHE_DATA_MEM_RD_EN_W { @@ -170,7 +165,6 @@ impl W { } #[doc = "Bit 17 - The bit is used to enable config-bus write L1-DCache data memoryory. 0: disable, 1: enable."] #[inline(always)] - #[must_use] pub fn l1_dcache_data_mem_wr_en( &mut self, ) -> L1_DCACHE_DATA_MEM_WR_EN_W { diff --git a/esp32p4/src/cache/l1_cache_data_mem_power_ctrl.rs b/esp32p4/src/cache/l1_cache_data_mem_power_ctrl.rs index 3d0e6b8811..575a79a941 100644 --- a/esp32p4/src/cache/l1_cache_data_mem_power_ctrl.rs +++ b/esp32p4/src/cache/l1_cache_data_mem_power_ctrl.rs @@ -197,7 +197,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to close clock gating of L1-ICache0 data memory. 1: close gating, 0: open clock gating."] #[inline(always)] - #[must_use] pub fn l1_icache0_data_mem_force_on( &mut self, ) -> L1_ICACHE0_DATA_MEM_FORCE_ON_W { @@ -205,7 +204,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to power L1-ICache0 data memory down. 0: follow rtc_lslp, 1: power down"] #[inline(always)] - #[must_use] pub fn l1_icache0_data_mem_force_pd( &mut self, ) -> L1_ICACHE0_DATA_MEM_FORCE_PD_W { @@ -213,7 +211,6 @@ impl W { } #[doc = "Bit 2 - The bit is used to power L1-ICache0 data memory up. 0: follow rtc_lslp, 1: power up"] #[inline(always)] - #[must_use] pub fn l1_icache0_data_mem_force_pu( &mut self, ) -> L1_ICACHE0_DATA_MEM_FORCE_PU_W { @@ -221,7 +218,6 @@ impl W { } #[doc = "Bit 4 - The bit is used to close clock gating of L1-ICache1 data memory. 1: close gating, 0: open clock gating."] #[inline(always)] - #[must_use] pub fn l1_icache1_data_mem_force_on( &mut self, ) -> L1_ICACHE1_DATA_MEM_FORCE_ON_W { @@ -229,7 +225,6 @@ impl W { } #[doc = "Bit 5 - The bit is used to power L1-ICache1 data memory down. 0: follow rtc_lslp, 1: power down"] #[inline(always)] - #[must_use] pub fn l1_icache1_data_mem_force_pd( &mut self, ) -> L1_ICACHE1_DATA_MEM_FORCE_PD_W { @@ -237,7 +232,6 @@ impl W { } #[doc = "Bit 6 - The bit is used to power L1-ICache1 data memory up. 0: follow rtc_lslp, 1: power up"] #[inline(always)] - #[must_use] pub fn l1_icache1_data_mem_force_pu( &mut self, ) -> L1_ICACHE1_DATA_MEM_FORCE_PU_W { @@ -245,7 +239,6 @@ impl W { } #[doc = "Bit 16 - The bit is used to close clock gating of L1-DCache data memory. 1: close gating, 0: open clock gating."] #[inline(always)] - #[must_use] pub fn l1_dcache_data_mem_force_on( &mut self, ) -> L1_DCACHE_DATA_MEM_FORCE_ON_W { @@ -253,7 +246,6 @@ impl W { } #[doc = "Bit 17 - The bit is used to power L1-DCache data memory down. 0: follow rtc_lslp, 1: power down"] #[inline(always)] - #[must_use] pub fn l1_dcache_data_mem_force_pd( &mut self, ) -> L1_DCACHE_DATA_MEM_FORCE_PD_W { @@ -261,7 +253,6 @@ impl W { } #[doc = "Bit 18 - The bit is used to power L1-DCache data memory up. 0: follow rtc_lslp, 1: power up"] #[inline(always)] - #[must_use] pub fn l1_dcache_data_mem_force_pu( &mut self, ) -> L1_DCACHE_DATA_MEM_FORCE_PU_W { diff --git a/esp32p4/src/cache/l1_cache_debug_bus.rs b/esp32p4/src/cache/l1_cache_debug_bus.rs index 65f9934fc4..e0c7427aaa 100644 --- a/esp32p4/src/cache/l1_cache_debug_bus.rs +++ b/esp32p4/src/cache/l1_cache_debug_bus.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This is a constant place where we can write data to or read data from the tag/data memory on the specified cache."] #[inline(always)] - #[must_use] pub fn l1_cache_debug_bus(&mut self) -> L1_CACHE_DEBUG_BUS_W { L1_CACHE_DEBUG_BUS_W::new(self, 0) } diff --git a/esp32p4/src/cache/l1_cache_freeze_ctrl.rs b/esp32p4/src/cache/l1_cache_freeze_ctrl.rs index e45208f7a4..d02a27d1c9 100644 --- a/esp32p4/src/cache/l1_cache_freeze_ctrl.rs +++ b/esp32p4/src/cache/l1_cache_freeze_ctrl.rs @@ -146,13 +146,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable freeze operation on L1-ICache0. It can be cleared by software."] #[inline(always)] - #[must_use] pub fn l1_icache0_freeze_en(&mut self) -> L1_ICACHE0_FREEZE_EN_W { L1_ICACHE0_FREEZE_EN_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to configure mode of freeze operation L1-ICache0. 0: a miss-access will not stuck. 1: a miss-access will stuck."] #[inline(always)] - #[must_use] pub fn l1_icache0_freeze_mode( &mut self, ) -> L1_ICACHE0_FREEZE_MODE_W { @@ -160,13 +158,11 @@ impl W { } #[doc = "Bit 4 - The bit is used to enable freeze operation on L1-ICache1. It can be cleared by software."] #[inline(always)] - #[must_use] pub fn l1_icache1_freeze_en(&mut self) -> L1_ICACHE1_FREEZE_EN_W { L1_ICACHE1_FREEZE_EN_W::new(self, 4) } #[doc = "Bit 5 - The bit is used to configure mode of freeze operation L1-ICache1. 0: a miss-access will not stuck. 1: a miss-access will stuck."] #[inline(always)] - #[must_use] pub fn l1_icache1_freeze_mode( &mut self, ) -> L1_ICACHE1_FREEZE_MODE_W { @@ -174,13 +170,11 @@ impl W { } #[doc = "Bit 16 - The bit is used to enable freeze operation on L1-DCache. It can be cleared by software."] #[inline(always)] - #[must_use] pub fn l1_dcache_freeze_en(&mut self) -> L1_DCACHE_FREEZE_EN_W { L1_DCACHE_FREEZE_EN_W::new(self, 16) } #[doc = "Bit 17 - The bit is used to configure mode of freeze operation L1-DCache. 0: a miss-access will not stuck. 1: a miss-access will stuck."] #[inline(always)] - #[must_use] pub fn l1_dcache_freeze_mode(&mut self) -> L1_DCACHE_FREEZE_MODE_W { L1_DCACHE_FREEZE_MODE_W::new(self, 17) } diff --git a/esp32p4/src/cache/l1_cache_object_ctrl.rs b/esp32p4/src/cache/l1_cache_object_ctrl.rs index 38b1f25c83..429053078a 100644 --- a/esp32p4/src/cache/l1_cache_object_ctrl.rs +++ b/esp32p4/src/cache/l1_cache_object_ctrl.rs @@ -106,37 +106,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to set L1-ICache0 tag memory as object. This bit should be onehot with the others fields inside this register."] #[inline(always)] - #[must_use] pub fn l1_icache0_tag_object(&mut self) -> L1_ICACHE0_TAG_OBJECT_W { L1_ICACHE0_TAG_OBJECT_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to set L1-ICache1 tag memory as object. This bit should be onehot with the others fields inside this register."] #[inline(always)] - #[must_use] pub fn l1_icache1_tag_object(&mut self) -> L1_ICACHE1_TAG_OBJECT_W { L1_ICACHE1_TAG_OBJECT_W::new(self, 1) } #[doc = "Bit 4 - Set this bit to set L1-DCache tag memory as object. This bit should be onehot with the others fields inside this register."] #[inline(always)] - #[must_use] pub fn l1_dcache_tag_object(&mut self) -> L1_DCACHE_TAG_OBJECT_W { L1_DCACHE_TAG_OBJECT_W::new(self, 4) } #[doc = "Bit 6 - Set this bit to set L1-ICache0 data memory as object. This bit should be onehot with the others fields inside this register."] #[inline(always)] - #[must_use] pub fn l1_icache0_mem_object(&mut self) -> L1_ICACHE0_MEM_OBJECT_W { L1_ICACHE0_MEM_OBJECT_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to set L1-ICache1 data memory as object. This bit should be onehot with the others fields inside this register."] #[inline(always)] - #[must_use] pub fn l1_icache1_mem_object(&mut self) -> L1_ICACHE1_MEM_OBJECT_W { L1_ICACHE1_MEM_OBJECT_W::new(self, 7) } #[doc = "Bit 10 - Set this bit to set L1-DCache data memory as object. This bit should be onehot with the others fields inside this register."] #[inline(always)] - #[must_use] pub fn l1_dcache_mem_object(&mut self) -> L1_DCACHE_MEM_OBJECT_W { L1_DCACHE_MEM_OBJECT_W::new(self, 10) } diff --git a/esp32p4/src/cache/l1_cache_preload_rst_ctrl.rs b/esp32p4/src/cache/l1_cache_preload_rst_ctrl.rs index 2033f3ba19..89376e3f3d 100644 --- a/esp32p4/src/cache/l1_cache_preload_rst_ctrl.rs +++ b/esp32p4/src/cache/l1_cache_preload_rst_ctrl.rs @@ -60,19 +60,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - set this bit to reset preload-logic inside L1-ICache0. Recommend that this should only be used to initialize preload-logic when some fatal error of preload-logic occurs."] #[inline(always)] - #[must_use] pub fn l1_icache0_pld_rst(&mut self) -> L1_ICACHE0_PLD_RST_W { L1_ICACHE0_PLD_RST_W::new(self, 0) } #[doc = "Bit 1 - set this bit to reset preload-logic inside L1-ICache1. Recommend that this should only be used to initialize preload-logic when some fatal error of preload-logic occurs."] #[inline(always)] - #[must_use] pub fn l1_icache1_pld_rst(&mut self) -> L1_ICACHE1_PLD_RST_W { L1_ICACHE1_PLD_RST_W::new(self, 1) } #[doc = "Bit 4 - set this bit to reset preload-logic inside L1-DCache. Recommend that this should only be used to initialize preload-logic when some fatal error of preload-logic occurs."] #[inline(always)] - #[must_use] pub fn l1_dcache_pld_rst(&mut self) -> L1_DCACHE_PLD_RST_W { L1_DCACHE_PLD_RST_W::new(self, 4) } diff --git a/esp32p4/src/cache/l1_cache_sync_rst_ctrl.rs b/esp32p4/src/cache/l1_cache_sync_rst_ctrl.rs index 401e14ecc1..798a85e115 100644 --- a/esp32p4/src/cache/l1_cache_sync_rst_ctrl.rs +++ b/esp32p4/src/cache/l1_cache_sync_rst_ctrl.rs @@ -60,19 +60,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - set this bit to reset sync-logic inside L1-ICache0. Recommend that this should only be used to initialize sync-logic when some fatal error of sync-logic occurs."] #[inline(always)] - #[must_use] pub fn l1_icache0_sync_rst(&mut self) -> L1_ICACHE0_SYNC_RST_W { L1_ICACHE0_SYNC_RST_W::new(self, 0) } #[doc = "Bit 1 - set this bit to reset sync-logic inside L1-ICache1. Recommend that this should only be used to initialize sync-logic when some fatal error of sync-logic occurs."] #[inline(always)] - #[must_use] pub fn l1_icache1_sync_rst(&mut self) -> L1_ICACHE1_SYNC_RST_W { L1_ICACHE1_SYNC_RST_W::new(self, 1) } #[doc = "Bit 4 - set this bit to reset sync-logic inside L1-DCache. Recommend that this should only be used to initialize sync-logic when some fatal error of sync-logic occurs."] #[inline(always)] - #[must_use] pub fn l1_dcache_sync_rst(&mut self) -> L1_DCACHE_SYNC_RST_W { L1_DCACHE_SYNC_RST_W::new(self, 4) } diff --git a/esp32p4/src/cache/l1_cache_tag_mem_acs_conf.rs b/esp32p4/src/cache/l1_cache_tag_mem_acs_conf.rs index f351674aa7..54ff8a50b5 100644 --- a/esp32p4/src/cache/l1_cache_tag_mem_acs_conf.rs +++ b/esp32p4/src/cache/l1_cache_tag_mem_acs_conf.rs @@ -106,7 +106,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable config-bus read L1-ICache0 tag memoryory. 0: disable, 1: enable."] #[inline(always)] - #[must_use] pub fn l1_icache0_tag_mem_rd_en( &mut self, ) -> L1_ICACHE0_TAG_MEM_RD_EN_W { @@ -114,7 +113,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to enable config-bus write L1-ICache0 tag memoryory. 0: disable, 1: enable."] #[inline(always)] - #[must_use] pub fn l1_icache0_tag_mem_wr_en( &mut self, ) -> L1_ICACHE0_TAG_MEM_WR_EN_W { @@ -122,7 +120,6 @@ impl W { } #[doc = "Bit 4 - The bit is used to enable config-bus read L1-ICache1 tag memoryory. 0: disable, 1: enable."] #[inline(always)] - #[must_use] pub fn l1_icache1_tag_mem_rd_en( &mut self, ) -> L1_ICACHE1_TAG_MEM_RD_EN_W { @@ -130,7 +127,6 @@ impl W { } #[doc = "Bit 5 - The bit is used to enable config-bus write L1-ICache1 tag memoryory. 0: disable, 1: enable."] #[inline(always)] - #[must_use] pub fn l1_icache1_tag_mem_wr_en( &mut self, ) -> L1_ICACHE1_TAG_MEM_WR_EN_W { @@ -138,7 +134,6 @@ impl W { } #[doc = "Bit 16 - The bit is used to enable config-bus read L1-DCache tag memoryory. 0: disable, 1: enable."] #[inline(always)] - #[must_use] pub fn l1_dcache_tag_mem_rd_en( &mut self, ) -> L1_DCACHE_TAG_MEM_RD_EN_W { @@ -146,7 +141,6 @@ impl W { } #[doc = "Bit 17 - The bit is used to enable config-bus write L1-DCache tag memoryory. 0: disable, 1: enable."] #[inline(always)] - #[must_use] pub fn l1_dcache_tag_mem_wr_en( &mut self, ) -> L1_DCACHE_TAG_MEM_WR_EN_W { diff --git a/esp32p4/src/cache/l1_cache_tag_mem_power_ctrl.rs b/esp32p4/src/cache/l1_cache_tag_mem_power_ctrl.rs index ec20e10395..e4d6d73e2f 100644 --- a/esp32p4/src/cache/l1_cache_tag_mem_power_ctrl.rs +++ b/esp32p4/src/cache/l1_cache_tag_mem_power_ctrl.rs @@ -197,7 +197,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to close clock gating of L1-ICache0 tag memory. 1: close gating, 0: open clock gating."] #[inline(always)] - #[must_use] pub fn l1_icache0_tag_mem_force_on( &mut self, ) -> L1_ICACHE0_TAG_MEM_FORCE_ON_W { @@ -205,7 +204,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to power L1-ICache0 tag memory down. 0: follow rtc_lslp, 1: power down"] #[inline(always)] - #[must_use] pub fn l1_icache0_tag_mem_force_pd( &mut self, ) -> L1_ICACHE0_TAG_MEM_FORCE_PD_W { @@ -213,7 +211,6 @@ impl W { } #[doc = "Bit 2 - The bit is used to power L1-ICache0 tag memory up. 0: follow rtc_lslp, 1: power up"] #[inline(always)] - #[must_use] pub fn l1_icache0_tag_mem_force_pu( &mut self, ) -> L1_ICACHE0_TAG_MEM_FORCE_PU_W { @@ -221,7 +218,6 @@ impl W { } #[doc = "Bit 4 - The bit is used to close clock gating of L1-ICache1 tag memory. 1: close gating, 0: open clock gating."] #[inline(always)] - #[must_use] pub fn l1_icache1_tag_mem_force_on( &mut self, ) -> L1_ICACHE1_TAG_MEM_FORCE_ON_W { @@ -229,7 +225,6 @@ impl W { } #[doc = "Bit 5 - The bit is used to power L1-ICache1 tag memory down. 0: follow rtc_lslp, 1: power down"] #[inline(always)] - #[must_use] pub fn l1_icache1_tag_mem_force_pd( &mut self, ) -> L1_ICACHE1_TAG_MEM_FORCE_PD_W { @@ -237,7 +232,6 @@ impl W { } #[doc = "Bit 6 - The bit is used to power L1-ICache1 tag memory up. 0: follow rtc_lslp, 1: power up"] #[inline(always)] - #[must_use] pub fn l1_icache1_tag_mem_force_pu( &mut self, ) -> L1_ICACHE1_TAG_MEM_FORCE_PU_W { @@ -245,7 +239,6 @@ impl W { } #[doc = "Bit 16 - The bit is used to close clock gating of L1-DCache tag memory. 1: close gating, 0: open clock gating."] #[inline(always)] - #[must_use] pub fn l1_dcache_tag_mem_force_on( &mut self, ) -> L1_DCACHE_TAG_MEM_FORCE_ON_W { @@ -253,7 +246,6 @@ impl W { } #[doc = "Bit 17 - The bit is used to power L1-DCache tag memory down. 0: follow rtc_lslp, 1: power down"] #[inline(always)] - #[must_use] pub fn l1_dcache_tag_mem_force_pd( &mut self, ) -> L1_DCACHE_TAG_MEM_FORCE_PD_W { @@ -261,7 +253,6 @@ impl W { } #[doc = "Bit 18 - The bit is used to power L1-DCache tag memory up. 0: follow rtc_lslp, 1: power up"] #[inline(always)] - #[must_use] pub fn l1_dcache_tag_mem_force_pu( &mut self, ) -> L1_DCACHE_TAG_MEM_FORCE_PU_W { diff --git a/esp32p4/src/cache/l1_cache_vaddr.rs b/esp32p4/src/cache/l1_cache_vaddr.rs index f6bb86666a..709bfebe00 100644 --- a/esp32p4/src/cache/l1_cache_vaddr.rs +++ b/esp32p4/src/cache/l1_cache_vaddr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits stores the virtual address which will decide where inside the specified tag memory object will be accessed."] #[inline(always)] - #[must_use] pub fn l1_cache_vaddr(&mut self) -> L1_CACHE_VADDR_W { L1_CACHE_VADDR_W::new(self, 0) } diff --git a/esp32p4/src/cache/l1_cache_way_object.rs b/esp32p4/src/cache/l1_cache_way_object.rs index b93309ba38..32d5775206 100644 --- a/esp32p4/src/cache/l1_cache_way_object.rs +++ b/esp32p4/src/cache/l1_cache_way_object.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - Set this bits to select which way of the tag-object will be accessed. 0: way0, 1: way1, 2: way2, 3: way3, ?, 7: way7."] #[inline(always)] - #[must_use] pub fn l1_cache_way_object(&mut self) -> L1_CACHE_WAY_OBJECT_W { L1_CACHE_WAY_OBJECT_W::new(self, 0) } diff --git a/esp32p4/src/cache/l1_cache_wrap_around_ctrl.rs b/esp32p4/src/cache/l1_cache_wrap_around_ctrl.rs index a67890e498..f96ec181dd 100644 --- a/esp32p4/src/cache/l1_cache_wrap_around_ctrl.rs +++ b/esp32p4/src/cache/l1_cache_wrap_around_ctrl.rs @@ -60,19 +60,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit as 1 to enable L1-ICache0 wrap around mode."] #[inline(always)] - #[must_use] pub fn l1_icache0_wrap(&mut self) -> L1_ICACHE0_WRAP_W { L1_ICACHE0_WRAP_W::new(self, 0) } #[doc = "Bit 1 - Set this bit as 1 to enable L1-ICache1 wrap around mode."] #[inline(always)] - #[must_use] pub fn l1_icache1_wrap(&mut self) -> L1_ICACHE1_WRAP_W { L1_ICACHE1_WRAP_W::new(self, 1) } #[doc = "Bit 4 - Set this bit as 1 to enable L1-DCache wrap around mode."] #[inline(always)] - #[must_use] pub fn l1_dcache_wrap(&mut self) -> L1_DCACHE_WRAP_W { L1_DCACHE_WRAP_W::new(self, 4) } diff --git a/esp32p4/src/cache/l1_dcache_autoload_ctrl.rs b/esp32p4/src/cache/l1_dcache_autoload_ctrl.rs index 932891bbfc..9d1e0ba183 100644 --- a/esp32p4/src/cache/l1_dcache_autoload_ctrl.rs +++ b/esp32p4/src/cache/l1_dcache_autoload_ctrl.rs @@ -117,7 +117,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable and disable autoload operation on L1-DCache. 1: enable, 0: disable."] #[inline(always)] - #[must_use] pub fn l1_dcache_autoload_ena( &mut self, ) -> L1_DCACHE_AUTOLOAD_ENA_W { @@ -125,7 +124,6 @@ impl W { } #[doc = "Bit 2 - The bit is used to configure the direction of autoload operation on L1-DCache. 0: ascending. 1: descending."] #[inline(always)] - #[must_use] pub fn l1_dcache_autoload_order( &mut self, ) -> L1_DCACHE_AUTOLOAD_ORDER_W { @@ -133,7 +131,6 @@ impl W { } #[doc = "Bits 3:4 - The field is used to configure trigger mode of autoload operation on L1-DCache. 0/3: miss-trigger, 1: hit-trigger, 2: miss-hit-trigger."] #[inline(always)] - #[must_use] pub fn l1_dcache_autoload_trigger_mode( &mut self, ) -> L1_DCACHE_AUTOLOAD_TRIGGER_MODE_W { @@ -141,7 +138,6 @@ impl W { } #[doc = "Bit 8 - The bit is used to enable the first section for autoload operation on L1-DCache."] #[inline(always)] - #[must_use] pub fn l1_dcache_autoload_sct0_ena( &mut self, ) -> L1_DCACHE_AUTOLOAD_SCT0_ENA_W { @@ -149,7 +145,6 @@ impl W { } #[doc = "Bit 9 - The bit is used to enable the second section for autoload operation on L1-DCache."] #[inline(always)] - #[must_use] pub fn l1_dcache_autoload_sct1_ena( &mut self, ) -> L1_DCACHE_AUTOLOAD_SCT1_ENA_W { @@ -157,7 +152,6 @@ impl W { } #[doc = "Bit 10 - The bit is used to enable the third section for autoload operation on L1-DCache."] #[inline(always)] - #[must_use] pub fn l1_dcache_autoload_sct2_ena( &mut self, ) -> L1_DCACHE_AUTOLOAD_SCT2_ENA_W { @@ -165,7 +159,6 @@ impl W { } #[doc = "Bit 11 - The bit is used to enable the fourth section for autoload operation on L1-DCache."] #[inline(always)] - #[must_use] pub fn l1_dcache_autoload_sct3_ena( &mut self, ) -> L1_DCACHE_AUTOLOAD_SCT3_ENA_W { @@ -173,7 +166,6 @@ impl W { } #[doc = "Bits 12:15 - The bit is used to set the gid of l1 dcache autoload."] #[inline(always)] - #[must_use] pub fn l1_dcache_autoload_rgid( &mut self, ) -> L1_DCACHE_AUTOLOAD_RGID_W { diff --git a/esp32p4/src/cache/l1_dcache_autoload_sct0_addr.rs b/esp32p4/src/cache/l1_dcache_autoload_sct0_addr.rs index b67fa81c04..92dc76dfc5 100644 --- a/esp32p4/src/cache/l1_dcache_autoload_sct0_addr.rs +++ b/esp32p4/src/cache/l1_dcache_autoload_sct0_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are used to configure the start virtual address of the first section for autoload operation on L1-DCache. Note that it should be used together with L1_DCACHE_AUTOLOAD_SCT0_SIZE and L1_DCACHE_AUTOLOAD_SCT0_ENA."] #[inline(always)] - #[must_use] pub fn l1_dcache_autoload_sct0_addr( &mut self, ) -> L1_DCACHE_AUTOLOAD_SCT0_ADDR_W { diff --git a/esp32p4/src/cache/l1_dcache_autoload_sct0_size.rs b/esp32p4/src/cache/l1_dcache_autoload_sct0_size.rs index 3da0ae2d5e..bedd97d1b2 100644 --- a/esp32p4/src/cache/l1_dcache_autoload_sct0_size.rs +++ b/esp32p4/src/cache/l1_dcache_autoload_sct0_size.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Those bits are used to configure the size of the first section for autoload operation on L1-DCache. Note that it should be used together with L1_DCACHE_AUTOLOAD_SCT0_ADDR and L1_DCACHE_AUTOLOAD_SCT0_ENA."] #[inline(always)] - #[must_use] pub fn l1_dcache_autoload_sct0_size( &mut self, ) -> L1_DCACHE_AUTOLOAD_SCT0_SIZE_W { diff --git a/esp32p4/src/cache/l1_dcache_autoload_sct1_addr.rs b/esp32p4/src/cache/l1_dcache_autoload_sct1_addr.rs index 1de2e1d2ca..35f4863ff7 100644 --- a/esp32p4/src/cache/l1_dcache_autoload_sct1_addr.rs +++ b/esp32p4/src/cache/l1_dcache_autoload_sct1_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are used to configure the start virtual address of the second section for autoload operation on L1-DCache. Note that it should be used together with L1_DCACHE_AUTOLOAD_SCT1_SIZE and L1_DCACHE_AUTOLOAD_SCT1_ENA."] #[inline(always)] - #[must_use] pub fn l1_dcache_autoload_sct1_addr( &mut self, ) -> L1_DCACHE_AUTOLOAD_SCT1_ADDR_W { diff --git a/esp32p4/src/cache/l1_dcache_autoload_sct1_size.rs b/esp32p4/src/cache/l1_dcache_autoload_sct1_size.rs index b5b06cf314..6f5f3e94a4 100644 --- a/esp32p4/src/cache/l1_dcache_autoload_sct1_size.rs +++ b/esp32p4/src/cache/l1_dcache_autoload_sct1_size.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Those bits are used to configure the size of the second section for autoload operation on L1-DCache. Note that it should be used together with L1_DCACHE_AUTOLOAD_SCT1_ADDR and L1_DCACHE_AUTOLOAD_SCT1_ENA."] #[inline(always)] - #[must_use] pub fn l1_dcache_autoload_sct1_size( &mut self, ) -> L1_DCACHE_AUTOLOAD_SCT1_SIZE_W { diff --git a/esp32p4/src/cache/l1_dcache_autoload_sct2_addr.rs b/esp32p4/src/cache/l1_dcache_autoload_sct2_addr.rs index 417d837bf2..87b088e5d1 100644 --- a/esp32p4/src/cache/l1_dcache_autoload_sct2_addr.rs +++ b/esp32p4/src/cache/l1_dcache_autoload_sct2_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are used to configure the start virtual address of the third section for autoload operation on L1-DCache. Note that it should be used together with L1_DCACHE_AUTOLOAD_SCT2_SIZE and L1_DCACHE_AUTOLOAD_SCT2_ENA."] #[inline(always)] - #[must_use] pub fn l1_dcache_autoload_sct2_addr( &mut self, ) -> L1_DCACHE_AUTOLOAD_SCT2_ADDR_W { diff --git a/esp32p4/src/cache/l1_dcache_autoload_sct2_size.rs b/esp32p4/src/cache/l1_dcache_autoload_sct2_size.rs index d3b3754860..0c0abb43dc 100644 --- a/esp32p4/src/cache/l1_dcache_autoload_sct2_size.rs +++ b/esp32p4/src/cache/l1_dcache_autoload_sct2_size.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Those bits are used to configure the size of the third section for autoload operation on L1-DCache. Note that it should be used together with L1_DCACHE_AUTOLOAD_SCT2_ADDR and L1_DCACHE_AUTOLOAD_SCT2_ENA."] #[inline(always)] - #[must_use] pub fn l1_dcache_autoload_sct2_size( &mut self, ) -> L1_DCACHE_AUTOLOAD_SCT2_SIZE_W { diff --git a/esp32p4/src/cache/l1_dcache_autoload_sct3_addr.rs b/esp32p4/src/cache/l1_dcache_autoload_sct3_addr.rs index 5f6d6a74a7..5c88192ff0 100644 --- a/esp32p4/src/cache/l1_dcache_autoload_sct3_addr.rs +++ b/esp32p4/src/cache/l1_dcache_autoload_sct3_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are used to configure the start virtual address of the fourth section for autoload operation on L1-DCache. Note that it should be used together with L1_DCACHE_AUTOLOAD_SCT3_SIZE and L1_DCACHE_AUTOLOAD_SCT3_ENA."] #[inline(always)] - #[must_use] pub fn l1_dcache_autoload_sct3_addr( &mut self, ) -> L1_DCACHE_AUTOLOAD_SCT3_ADDR_W { diff --git a/esp32p4/src/cache/l1_dcache_autoload_sct3_size.rs b/esp32p4/src/cache/l1_dcache_autoload_sct3_size.rs index 7ce7e2a828..923ffbdc8d 100644 --- a/esp32p4/src/cache/l1_dcache_autoload_sct3_size.rs +++ b/esp32p4/src/cache/l1_dcache_autoload_sct3_size.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Those bits are used to configure the size of the fourth section for autoload operation on L1-DCache. Note that it should be used together with L1_DCACHE_AUTOLOAD_SCT3_ADDR and L1_DCACHE_AUTOLOAD_SCT3_ENA."] #[inline(always)] - #[must_use] pub fn l1_dcache_autoload_sct3_size( &mut self, ) -> L1_DCACHE_AUTOLOAD_SCT3_SIZE_W { diff --git a/esp32p4/src/cache/l1_dcache_ctrl.rs b/esp32p4/src/cache/l1_dcache_ctrl.rs index b46ea24108..97e1e15f71 100644 --- a/esp32p4/src/cache/l1_dcache_ctrl.rs +++ b/esp32p4/src/cache/l1_dcache_ctrl.rs @@ -70,25 +70,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to disable core0 dbus access L1-DCache, 0: enable, 1: disable"] #[inline(always)] - #[must_use] pub fn l1_dcache_shut_dbus0(&mut self) -> L1_DCACHE_SHUT_DBUS0_W { L1_DCACHE_SHUT_DBUS0_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to disable core1 dbus access L1-DCache, 0: enable, 1: disable"] #[inline(always)] - #[must_use] pub fn l1_dcache_shut_dbus1(&mut self) -> L1_DCACHE_SHUT_DBUS1_W { L1_DCACHE_SHUT_DBUS1_W::new(self, 1) } #[doc = "Bit 4 - The bit is used to disable DMA access L1-DCache, 0: enable, 1: disable"] #[inline(always)] - #[must_use] pub fn l1_dcache_shut_dma(&mut self) -> L1_DCACHE_SHUT_DMA_W { L1_DCACHE_SHUT_DMA_W::new(self, 4) } #[doc = "Bits 8:15 - Reserved"] #[inline(always)] - #[must_use] pub fn l1_dcache_undef_op(&mut self) -> L1_DCACHE_UNDEF_OP_W { L1_DCACHE_UNDEF_OP_W::new(self, 8) } diff --git a/esp32p4/src/cache/l1_dcache_preload_addr.rs b/esp32p4/src/cache/l1_dcache_preload_addr.rs index ba0b35d4af..58930686a8 100644 --- a/esp32p4/src/cache/l1_dcache_preload_addr.rs +++ b/esp32p4/src/cache/l1_dcache_preload_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are used to configure the start virtual address of preload on L1-DCache, which should be used together with L1_DCACHE_PRELOAD_SIZE_REG"] #[inline(always)] - #[must_use] pub fn l1_dcache_preload_addr( &mut self, ) -> L1_DCACHE_PRELOAD_ADDR_W { diff --git a/esp32p4/src/cache/l1_dcache_preload_ctrl.rs b/esp32p4/src/cache/l1_dcache_preload_ctrl.rs index 049aff1d78..b2a721f41e 100644 --- a/esp32p4/src/cache/l1_dcache_preload_ctrl.rs +++ b/esp32p4/src/cache/l1_dcache_preload_ctrl.rs @@ -52,7 +52,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable preload operation on L1-DCache. It will be cleared by hardware automatically after preload operation is done."] #[inline(always)] - #[must_use] pub fn l1_dcache_preload_ena( &mut self, ) -> L1_DCACHE_PRELOAD_ENA_W { @@ -60,7 +59,6 @@ impl W { } #[doc = "Bit 2 - The bit is used to configure the direction of preload operation. 0: ascending, 1: descending."] #[inline(always)] - #[must_use] pub fn l1_dcache_preload_order( &mut self, ) -> L1_DCACHE_PRELOAD_ORDER_W { @@ -68,7 +66,6 @@ impl W { } #[doc = "Bits 3:6 - The bit is used to set the gid of l1 dcache preload."] #[inline(always)] - #[must_use] pub fn l1_dcache_preload_rgid( &mut self, ) -> L1_DCACHE_PRELOAD_RGID_W { diff --git a/esp32p4/src/cache/l1_dcache_preload_size.rs b/esp32p4/src/cache/l1_dcache_preload_size.rs index dbdf6a3431..56755a81e9 100644 --- a/esp32p4/src/cache/l1_dcache_preload_size.rs +++ b/esp32p4/src/cache/l1_dcache_preload_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - Those bits are used to configure the size of the first section of prelock on L1-DCache, which should be used together with L1_DCACHE_PRELOAD_ADDR_REG"] #[inline(always)] - #[must_use] pub fn l1_dcache_preload_size( &mut self, ) -> L1_DCACHE_PRELOAD_SIZE_W { diff --git a/esp32p4/src/cache/l1_dcache_prelock_conf.rs b/esp32p4/src/cache/l1_dcache_prelock_conf.rs index 4925b4ec04..22994bede1 100644 --- a/esp32p4/src/cache/l1_dcache_prelock_conf.rs +++ b/esp32p4/src/cache/l1_dcache_prelock_conf.rs @@ -50,7 +50,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable the first section of prelock function on L1-DCache."] #[inline(always)] - #[must_use] pub fn l1_dcache_prelock_sct0_en( &mut self, ) -> L1_DCACHE_PRELOCK_SCT0_EN_W { @@ -58,7 +57,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to enable the second section of prelock function on L1-DCache."] #[inline(always)] - #[must_use] pub fn l1_dcache_prelock_sct1_en( &mut self, ) -> L1_DCACHE_PRELOCK_SCT1_EN_W { @@ -66,7 +64,6 @@ impl W { } #[doc = "Bits 2:5 - The bit is used to set the gid of l1 dcache prelock."] #[inline(always)] - #[must_use] pub fn l1_dcache_prelock_rgid( &mut self, ) -> L1_DCACHE_PRELOCK_RGID_W { diff --git a/esp32p4/src/cache/l1_dcache_prelock_sct0_addr.rs b/esp32p4/src/cache/l1_dcache_prelock_sct0_addr.rs index df17880ed8..81fdc2e7f6 100644 --- a/esp32p4/src/cache/l1_dcache_prelock_sct0_addr.rs +++ b/esp32p4/src/cache/l1_dcache_prelock_sct0_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are used to configure the start virtual address of the first section of prelock on L1-DCache, which should be used together with L1_DCACHE_PRELOCK_SCT0_SIZE_REG"] #[inline(always)] - #[must_use] pub fn l1_dcache_prelock_sct0_addr( &mut self, ) -> L1_DCACHE_PRELOCK_SCT0_ADDR_W { diff --git a/esp32p4/src/cache/l1_dcache_prelock_sct1_addr.rs b/esp32p4/src/cache/l1_dcache_prelock_sct1_addr.rs index 84e2e986a5..932dc88c58 100644 --- a/esp32p4/src/cache/l1_dcache_prelock_sct1_addr.rs +++ b/esp32p4/src/cache/l1_dcache_prelock_sct1_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are used to configure the start virtual address of the second section of prelock on L1-DCache, which should be used together with L1_DCACHE_PRELOCK_SCT1_SIZE_REG"] #[inline(always)] - #[must_use] pub fn l1_dcache_prelock_sct1_addr( &mut self, ) -> L1_DCACHE_PRELOCK_SCT1_ADDR_W { diff --git a/esp32p4/src/cache/l1_dcache_prelock_sct_size.rs b/esp32p4/src/cache/l1_dcache_prelock_sct_size.rs index 638f6cc53e..24610a4b02 100644 --- a/esp32p4/src/cache/l1_dcache_prelock_sct_size.rs +++ b/esp32p4/src/cache/l1_dcache_prelock_sct_size.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - Those bits are used to configure the size of the first section of prelock on L1-DCache, which should be used together with L1_DCACHE_PRELOCK_SCT0_ADDR_REG"] #[inline(always)] - #[must_use] pub fn l1_dcache_prelock_sct0_size( &mut self, ) -> L1_DCACHE_PRELOCK_SCT0_SIZE_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bits 16:29 - Those bits are used to configure the size of the second section of prelock on L1-DCache, which should be used together with L1_DCACHE_PRELOCK_SCT1_ADDR_REG"] #[inline(always)] - #[must_use] pub fn l1_dcache_prelock_sct1_size( &mut self, ) -> L1_DCACHE_PRELOCK_SCT1_SIZE_W { diff --git a/esp32p4/src/cache/l1_icache0_autoload_ctrl.rs b/esp32p4/src/cache/l1_icache0_autoload_ctrl.rs index 8c6918047d..15c4b619af 100644 --- a/esp32p4/src/cache/l1_icache0_autoload_ctrl.rs +++ b/esp32p4/src/cache/l1_icache0_autoload_ctrl.rs @@ -94,7 +94,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable and disable autoload operation on L1-ICache0. 1: enable, 0: disable."] #[inline(always)] - #[must_use] pub fn l1_icache0_autoload_ena( &mut self, ) -> L1_ICACHE0_AUTOLOAD_ENA_W { @@ -102,7 +101,6 @@ impl W { } #[doc = "Bit 2 - The bit is used to configure the direction of autoload operation on L1-ICache0. 0: ascending. 1: descending."] #[inline(always)] - #[must_use] pub fn l1_icache0_autoload_order( &mut self, ) -> L1_ICACHE0_AUTOLOAD_ORDER_W { @@ -110,7 +108,6 @@ impl W { } #[doc = "Bits 3:4 - The field is used to configure trigger mode of autoload operation on L1-ICache0. 0/3: miss-trigger, 1: hit-trigger, 2: miss-hit-trigger."] #[inline(always)] - #[must_use] pub fn l1_icache0_autoload_trigger_mode( &mut self, ) -> L1_ICACHE0_AUTOLOAD_TRIGGER_MODE_W { @@ -118,7 +115,6 @@ impl W { } #[doc = "Bit 8 - The bit is used to enable the first section for autoload operation on L1-ICache0."] #[inline(always)] - #[must_use] pub fn l1_icache0_autoload_sct0_ena( &mut self, ) -> L1_ICACHE0_AUTOLOAD_SCT0_ENA_W { @@ -126,7 +122,6 @@ impl W { } #[doc = "Bit 9 - The bit is used to enable the second section for autoload operation on L1-ICache0."] #[inline(always)] - #[must_use] pub fn l1_icache0_autoload_sct1_ena( &mut self, ) -> L1_ICACHE0_AUTOLOAD_SCT1_ENA_W { @@ -134,7 +129,6 @@ impl W { } #[doc = "Bits 10:13 - The bit is used to set the gid of l1 icache0 autoload."] #[inline(always)] - #[must_use] pub fn l1_icache0_autoload_rgid( &mut self, ) -> L1_ICACHE0_AUTOLOAD_RGID_W { diff --git a/esp32p4/src/cache/l1_icache0_autoload_sct0_addr.rs b/esp32p4/src/cache/l1_icache0_autoload_sct0_addr.rs index 45336b5bf5..cef840708f 100644 --- a/esp32p4/src/cache/l1_icache0_autoload_sct0_addr.rs +++ b/esp32p4/src/cache/l1_icache0_autoload_sct0_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are used to configure the start virtual address of the first section for autoload operation on L1-ICache0. Note that it should be used together with L1_ICACHE0_AUTOLOAD_SCT0_SIZE and L1_ICACHE_AUTOLOAD_SCT0_ENA."] #[inline(always)] - #[must_use] pub fn l1_icache0_autoload_sct0_addr( &mut self, ) -> L1_ICACHE0_AUTOLOAD_SCT0_ADDR_W { diff --git a/esp32p4/src/cache/l1_icache0_autoload_sct0_size.rs b/esp32p4/src/cache/l1_icache0_autoload_sct0_size.rs index e810bcd518..3b8a6a52ce 100644 --- a/esp32p4/src/cache/l1_icache0_autoload_sct0_size.rs +++ b/esp32p4/src/cache/l1_icache0_autoload_sct0_size.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Those bits are used to configure the size of the first section for autoload operation on L1-ICache0. Note that it should be used together with L1_ICACHE0_AUTOLOAD_SCT0_ADDR and L1_ICACHE_AUTOLOAD_SCT0_ENA."] #[inline(always)] - #[must_use] pub fn l1_icache0_autoload_sct0_size( &mut self, ) -> L1_ICACHE0_AUTOLOAD_SCT0_SIZE_W { diff --git a/esp32p4/src/cache/l1_icache0_autoload_sct1_addr.rs b/esp32p4/src/cache/l1_icache0_autoload_sct1_addr.rs index 5b32cccad3..b70d52a458 100644 --- a/esp32p4/src/cache/l1_icache0_autoload_sct1_addr.rs +++ b/esp32p4/src/cache/l1_icache0_autoload_sct1_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are used to configure the start virtual address of the second section for autoload operation on L1-ICache0. Note that it should be used together with L1_ICACHE0_AUTOLOAD_SCT1_SIZE and L1_ICACHE_AUTOLOAD_SCT1_ENA."] #[inline(always)] - #[must_use] pub fn l1_icache0_autoload_sct1_addr( &mut self, ) -> L1_ICACHE0_AUTOLOAD_SCT1_ADDR_W { diff --git a/esp32p4/src/cache/l1_icache0_autoload_sct1_size.rs b/esp32p4/src/cache/l1_icache0_autoload_sct1_size.rs index f8e060b0ed..2e7fa17639 100644 --- a/esp32p4/src/cache/l1_icache0_autoload_sct1_size.rs +++ b/esp32p4/src/cache/l1_icache0_autoload_sct1_size.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Those bits are used to configure the size of the second section for autoload operation on L1-ICache0. Note that it should be used together with L1_ICACHE0_AUTOLOAD_SCT1_ADDR and L1_ICACHE_AUTOLOAD_SCT1_ENA."] #[inline(always)] - #[must_use] pub fn l1_icache0_autoload_sct1_size( &mut self, ) -> L1_ICACHE0_AUTOLOAD_SCT1_SIZE_W { diff --git a/esp32p4/src/cache/l1_icache0_preload_addr.rs b/esp32p4/src/cache/l1_icache0_preload_addr.rs index 7014cc3869..a052d65254 100644 --- a/esp32p4/src/cache/l1_icache0_preload_addr.rs +++ b/esp32p4/src/cache/l1_icache0_preload_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are used to configure the start virtual address of preload on L1-ICache0, which should be used together with L1_ICACHE0_PRELOAD_SIZE_REG"] #[inline(always)] - #[must_use] pub fn l1_icache0_preload_addr( &mut self, ) -> L1_ICACHE0_PRELOAD_ADDR_W { diff --git a/esp32p4/src/cache/l1_icache0_preload_ctrl.rs b/esp32p4/src/cache/l1_icache0_preload_ctrl.rs index 6d19414415..ae6e393687 100644 --- a/esp32p4/src/cache/l1_icache0_preload_ctrl.rs +++ b/esp32p4/src/cache/l1_icache0_preload_ctrl.rs @@ -52,7 +52,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable preload operation on L1-ICache0. It will be cleared by hardware automatically after preload operation is done."] #[inline(always)] - #[must_use] pub fn l1_icache0_preload_ena( &mut self, ) -> L1_ICACHE0_PRELOAD_ENA_W { @@ -60,7 +59,6 @@ impl W { } #[doc = "Bit 2 - The bit is used to configure the direction of preload operation. 0: ascending, 1: descending."] #[inline(always)] - #[must_use] pub fn l1_icache0_preload_order( &mut self, ) -> L1_ICACHE0_PRELOAD_ORDER_W { @@ -68,7 +66,6 @@ impl W { } #[doc = "Bits 3:6 - The bit is used to set the gid of l1 icache0 preload."] #[inline(always)] - #[must_use] pub fn l1_icache0_preload_rgid( &mut self, ) -> L1_ICACHE0_PRELOAD_RGID_W { diff --git a/esp32p4/src/cache/l1_icache0_preload_size.rs b/esp32p4/src/cache/l1_icache0_preload_size.rs index 45dc41cc8b..84e4c7056c 100644 --- a/esp32p4/src/cache/l1_icache0_preload_size.rs +++ b/esp32p4/src/cache/l1_icache0_preload_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - Those bits are used to configure the size of the first section of prelock on L1-ICache0, which should be used together with L1_ICACHE0_PRELOAD_ADDR_REG"] #[inline(always)] - #[must_use] pub fn l1_icache0_preload_size( &mut self, ) -> L1_ICACHE0_PRELOAD_SIZE_W { diff --git a/esp32p4/src/cache/l1_icache0_prelock_conf.rs b/esp32p4/src/cache/l1_icache0_prelock_conf.rs index d816ee9c30..8f2dc6964f 100644 --- a/esp32p4/src/cache/l1_icache0_prelock_conf.rs +++ b/esp32p4/src/cache/l1_icache0_prelock_conf.rs @@ -50,7 +50,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable the first section of prelock function on L1-ICache0."] #[inline(always)] - #[must_use] pub fn l1_icache0_prelock_sct0_en( &mut self, ) -> L1_ICACHE0_PRELOCK_SCT0_EN_W { @@ -58,7 +57,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to enable the second section of prelock function on L1-ICache0."] #[inline(always)] - #[must_use] pub fn l1_icache0_prelock_sct1_en( &mut self, ) -> L1_ICACHE0_PRELOCK_SCT1_EN_W { @@ -66,7 +64,6 @@ impl W { } #[doc = "Bits 2:5 - The bit is used to set the gid of l1 icache0 prelock."] #[inline(always)] - #[must_use] pub fn l1_icache0_prelock_rgid( &mut self, ) -> L1_ICACHE0_PRELOCK_RGID_W { diff --git a/esp32p4/src/cache/l1_icache0_prelock_sct0_addr.rs b/esp32p4/src/cache/l1_icache0_prelock_sct0_addr.rs index 9835dacf36..0da4b89624 100644 --- a/esp32p4/src/cache/l1_icache0_prelock_sct0_addr.rs +++ b/esp32p4/src/cache/l1_icache0_prelock_sct0_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are used to configure the start virtual address of the first section of prelock on L1-ICache0, which should be used together with L1_ICACHE0_PRELOCK_SCT0_SIZE_REG"] #[inline(always)] - #[must_use] pub fn l1_icache0_prelock_sct0_addr( &mut self, ) -> L1_ICACHE0_PRELOCK_SCT0_ADDR_W { diff --git a/esp32p4/src/cache/l1_icache0_prelock_sct1_addr.rs b/esp32p4/src/cache/l1_icache0_prelock_sct1_addr.rs index 2c3a932e38..9244f16eca 100644 --- a/esp32p4/src/cache/l1_icache0_prelock_sct1_addr.rs +++ b/esp32p4/src/cache/l1_icache0_prelock_sct1_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are used to configure the start virtual address of the second section of prelock on L1-ICache0, which should be used together with L1_ICACHE0_PRELOCK_SCT1_SIZE_REG"] #[inline(always)] - #[must_use] pub fn l1_icache0_prelock_sct1_addr( &mut self, ) -> L1_ICACHE0_PRELOCK_SCT1_ADDR_W { diff --git a/esp32p4/src/cache/l1_icache0_prelock_sct_size.rs b/esp32p4/src/cache/l1_icache0_prelock_sct_size.rs index 6ab98309a9..8917003f9c 100644 --- a/esp32p4/src/cache/l1_icache0_prelock_sct_size.rs +++ b/esp32p4/src/cache/l1_icache0_prelock_sct_size.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - Those bits are used to configure the size of the first section of prelock on L1-ICache0, which should be used together with L1_ICACHE0_PRELOCK_SCT0_ADDR_REG"] #[inline(always)] - #[must_use] pub fn l1_icache0_prelock_sct0_size( &mut self, ) -> L1_ICACHE0_PRELOCK_SCT0_SIZE_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bits 16:29 - Those bits are used to configure the size of the second section of prelock on L1-ICache0, which should be used together with L1_ICACHE0_PRELOCK_SCT1_ADDR_REG"] #[inline(always)] - #[must_use] pub fn l1_icache0_prelock_sct1_size( &mut self, ) -> L1_ICACHE0_PRELOCK_SCT1_SIZE_W { diff --git a/esp32p4/src/cache/l1_icache1_autoload_ctrl.rs b/esp32p4/src/cache/l1_icache1_autoload_ctrl.rs index 3a45f7883e..edd63362a1 100644 --- a/esp32p4/src/cache/l1_icache1_autoload_ctrl.rs +++ b/esp32p4/src/cache/l1_icache1_autoload_ctrl.rs @@ -94,7 +94,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable and disable autoload operation on L1-ICache1. 1: enable, 0: disable."] #[inline(always)] - #[must_use] pub fn l1_icache1_autoload_ena( &mut self, ) -> L1_ICACHE1_AUTOLOAD_ENA_W { @@ -102,7 +101,6 @@ impl W { } #[doc = "Bit 2 - The bit is used to configure the direction of autoload operation on L1-ICache1. 0: ascending. 1: descending."] #[inline(always)] - #[must_use] pub fn l1_icache1_autoload_order( &mut self, ) -> L1_ICACHE1_AUTOLOAD_ORDER_W { @@ -110,7 +108,6 @@ impl W { } #[doc = "Bits 3:4 - The field is used to configure trigger mode of autoload operation on L1-ICache1. 0/3: miss-trigger, 1: hit-trigger, 2: miss-hit-trigger."] #[inline(always)] - #[must_use] pub fn l1_icache1_autoload_trigger_mode( &mut self, ) -> L1_ICACHE1_AUTOLOAD_TRIGGER_MODE_W { @@ -118,7 +115,6 @@ impl W { } #[doc = "Bit 8 - The bit is used to enable the first section for autoload operation on L1-ICache1."] #[inline(always)] - #[must_use] pub fn l1_icache1_autoload_sct0_ena( &mut self, ) -> L1_ICACHE1_AUTOLOAD_SCT0_ENA_W { @@ -126,7 +122,6 @@ impl W { } #[doc = "Bit 9 - The bit is used to enable the second section for autoload operation on L1-ICache1."] #[inline(always)] - #[must_use] pub fn l1_icache1_autoload_sct1_ena( &mut self, ) -> L1_ICACHE1_AUTOLOAD_SCT1_ENA_W { @@ -134,7 +129,6 @@ impl W { } #[doc = "Bits 10:13 - The bit is used to set the gid of l1 icache1 autoload."] #[inline(always)] - #[must_use] pub fn l1_icache1_autoload_rgid( &mut self, ) -> L1_ICACHE1_AUTOLOAD_RGID_W { diff --git a/esp32p4/src/cache/l1_icache1_autoload_sct0_addr.rs b/esp32p4/src/cache/l1_icache1_autoload_sct0_addr.rs index 9bd05f269b..c4699d9b59 100644 --- a/esp32p4/src/cache/l1_icache1_autoload_sct0_addr.rs +++ b/esp32p4/src/cache/l1_icache1_autoload_sct0_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are used to configure the start virtual address of the first section for autoload operation on L1-ICache1. Note that it should be used together with L1_ICACHE1_AUTOLOAD_SCT0_SIZE and L1_ICACHE_AUTOLOAD_SCT0_ENA."] #[inline(always)] - #[must_use] pub fn l1_icache1_autoload_sct0_addr( &mut self, ) -> L1_ICACHE1_AUTOLOAD_SCT0_ADDR_W { diff --git a/esp32p4/src/cache/l1_icache1_autoload_sct0_size.rs b/esp32p4/src/cache/l1_icache1_autoload_sct0_size.rs index f366b264fb..e6b3e20db2 100644 --- a/esp32p4/src/cache/l1_icache1_autoload_sct0_size.rs +++ b/esp32p4/src/cache/l1_icache1_autoload_sct0_size.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Those bits are used to configure the size of the first section for autoload operation on L1-ICache1. Note that it should be used together with L1_ICACHE1_AUTOLOAD_SCT0_ADDR and L1_ICACHE_AUTOLOAD_SCT0_ENA."] #[inline(always)] - #[must_use] pub fn l1_icache1_autoload_sct0_size( &mut self, ) -> L1_ICACHE1_AUTOLOAD_SCT0_SIZE_W { diff --git a/esp32p4/src/cache/l1_icache1_autoload_sct1_addr.rs b/esp32p4/src/cache/l1_icache1_autoload_sct1_addr.rs index 570eabc266..245154c516 100644 --- a/esp32p4/src/cache/l1_icache1_autoload_sct1_addr.rs +++ b/esp32p4/src/cache/l1_icache1_autoload_sct1_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are used to configure the start virtual address of the second section for autoload operation on L1-ICache1. Note that it should be used together with L1_ICACHE1_AUTOLOAD_SCT1_SIZE and L1_ICACHE_AUTOLOAD_SCT1_ENA."] #[inline(always)] - #[must_use] pub fn l1_icache1_autoload_sct1_addr( &mut self, ) -> L1_ICACHE1_AUTOLOAD_SCT1_ADDR_W { diff --git a/esp32p4/src/cache/l1_icache1_autoload_sct1_size.rs b/esp32p4/src/cache/l1_icache1_autoload_sct1_size.rs index 9b09411256..f6b72a3a17 100644 --- a/esp32p4/src/cache/l1_icache1_autoload_sct1_size.rs +++ b/esp32p4/src/cache/l1_icache1_autoload_sct1_size.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Those bits are used to configure the size of the second section for autoload operation on L1-ICache1. Note that it should be used together with L1_ICACHE1_AUTOLOAD_SCT1_ADDR and L1_ICACHE_AUTOLOAD_SCT1_ENA."] #[inline(always)] - #[must_use] pub fn l1_icache1_autoload_sct1_size( &mut self, ) -> L1_ICACHE1_AUTOLOAD_SCT1_SIZE_W { diff --git a/esp32p4/src/cache/l1_icache1_preload_addr.rs b/esp32p4/src/cache/l1_icache1_preload_addr.rs index 625603e5ac..67f6b7992e 100644 --- a/esp32p4/src/cache/l1_icache1_preload_addr.rs +++ b/esp32p4/src/cache/l1_icache1_preload_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are used to configure the start virtual address of preload on L1-ICache1, which should be used together with L1_ICACHE1_PRELOAD_SIZE_REG"] #[inline(always)] - #[must_use] pub fn l1_icache1_preload_addr( &mut self, ) -> L1_ICACHE1_PRELOAD_ADDR_W { diff --git a/esp32p4/src/cache/l1_icache1_preload_ctrl.rs b/esp32p4/src/cache/l1_icache1_preload_ctrl.rs index b1e3ffde3b..ae3c1e9679 100644 --- a/esp32p4/src/cache/l1_icache1_preload_ctrl.rs +++ b/esp32p4/src/cache/l1_icache1_preload_ctrl.rs @@ -52,7 +52,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable preload operation on L1-ICache1. It will be cleared by hardware automatically after preload operation is done."] #[inline(always)] - #[must_use] pub fn l1_icache1_preload_ena( &mut self, ) -> L1_ICACHE1_PRELOAD_ENA_W { @@ -60,7 +59,6 @@ impl W { } #[doc = "Bit 2 - The bit is used to configure the direction of preload operation. 0: ascending, 1: descending."] #[inline(always)] - #[must_use] pub fn l1_icache1_preload_order( &mut self, ) -> L1_ICACHE1_PRELOAD_ORDER_W { @@ -68,7 +66,6 @@ impl W { } #[doc = "Bits 3:6 - The bit is used to set the gid of l1 icache1 preload."] #[inline(always)] - #[must_use] pub fn l1_icache1_preload_rgid( &mut self, ) -> L1_ICACHE1_PRELOAD_RGID_W { diff --git a/esp32p4/src/cache/l1_icache1_preload_size.rs b/esp32p4/src/cache/l1_icache1_preload_size.rs index 10957a54a6..1238e8159b 100644 --- a/esp32p4/src/cache/l1_icache1_preload_size.rs +++ b/esp32p4/src/cache/l1_icache1_preload_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - Those bits are used to configure the size of the first section of prelock on L1-ICache1, which should be used together with L1_ICACHE1_PRELOAD_ADDR_REG"] #[inline(always)] - #[must_use] pub fn l1_icache1_preload_size( &mut self, ) -> L1_ICACHE1_PRELOAD_SIZE_W { diff --git a/esp32p4/src/cache/l1_icache1_prelock_conf.rs b/esp32p4/src/cache/l1_icache1_prelock_conf.rs index e3a4406e6e..6034451e66 100644 --- a/esp32p4/src/cache/l1_icache1_prelock_conf.rs +++ b/esp32p4/src/cache/l1_icache1_prelock_conf.rs @@ -50,7 +50,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable the first section of prelock function on L1-ICache1."] #[inline(always)] - #[must_use] pub fn l1_icache1_prelock_sct0_en( &mut self, ) -> L1_ICACHE1_PRELOCK_SCT0_EN_W { @@ -58,7 +57,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to enable the second section of prelock function on L1-ICache1."] #[inline(always)] - #[must_use] pub fn l1_icache1_prelock_sct1_en( &mut self, ) -> L1_ICACHE1_PRELOCK_SCT1_EN_W { @@ -66,7 +64,6 @@ impl W { } #[doc = "Bits 2:5 - The bit is used to set the gid of l1 icache1 prelock."] #[inline(always)] - #[must_use] pub fn l1_icache1_prelock_rgid( &mut self, ) -> L1_ICACHE1_PRELOCK_RGID_W { diff --git a/esp32p4/src/cache/l1_icache1_prelock_sct0_addr.rs b/esp32p4/src/cache/l1_icache1_prelock_sct0_addr.rs index 0da85b67bb..7cfae545ea 100644 --- a/esp32p4/src/cache/l1_icache1_prelock_sct0_addr.rs +++ b/esp32p4/src/cache/l1_icache1_prelock_sct0_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are used to configure the start virtual address of the first section of prelock on L1-ICache1, which should be used together with L1_ICACHE1_PRELOCK_SCT0_SIZE_REG"] #[inline(always)] - #[must_use] pub fn l1_icache1_prelock_sct0_addr( &mut self, ) -> L1_ICACHE1_PRELOCK_SCT0_ADDR_W { diff --git a/esp32p4/src/cache/l1_icache1_prelock_sct1_addr.rs b/esp32p4/src/cache/l1_icache1_prelock_sct1_addr.rs index aa3c539539..7b8ea5cbc2 100644 --- a/esp32p4/src/cache/l1_icache1_prelock_sct1_addr.rs +++ b/esp32p4/src/cache/l1_icache1_prelock_sct1_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are used to configure the start virtual address of the second section of prelock on L1-ICache1, which should be used together with L1_ICACHE1_PRELOCK_SCT1_SIZE_REG"] #[inline(always)] - #[must_use] pub fn l1_icache1_prelock_sct1_addr( &mut self, ) -> L1_ICACHE1_PRELOCK_SCT1_ADDR_W { diff --git a/esp32p4/src/cache/l1_icache1_prelock_sct_size.rs b/esp32p4/src/cache/l1_icache1_prelock_sct_size.rs index b4ef8ad6e3..bb4c8e7381 100644 --- a/esp32p4/src/cache/l1_icache1_prelock_sct_size.rs +++ b/esp32p4/src/cache/l1_icache1_prelock_sct_size.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - Those bits are used to configure the size of the first section of prelock on L1-ICache1, which should be used together with L1_ICACHE1_PRELOCK_SCT0_ADDR_REG"] #[inline(always)] - #[must_use] pub fn l1_icache1_prelock_sct0_size( &mut self, ) -> L1_ICACHE1_PRELOCK_SCT0_SIZE_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bits 16:29 - Those bits are used to configure the size of the second section of prelock on L1-ICache1, which should be used together with L1_ICACHE1_PRELOCK_SCT1_ADDR_REG"] #[inline(always)] - #[must_use] pub fn l1_icache1_prelock_sct1_size( &mut self, ) -> L1_ICACHE1_PRELOCK_SCT1_SIZE_W { diff --git a/esp32p4/src/cache/l1_icache_ctrl.rs b/esp32p4/src/cache/l1_icache_ctrl.rs index 8eac94af59..2f3f6d581b 100644 --- a/esp32p4/src/cache/l1_icache_ctrl.rs +++ b/esp32p4/src/cache/l1_icache_ctrl.rs @@ -60,19 +60,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to disable core0 ibus access L1-ICache, 0: enable, 1: disable"] #[inline(always)] - #[must_use] pub fn l1_icache_shut_ibus0(&mut self) -> L1_ICACHE_SHUT_IBUS0_W { L1_ICACHE_SHUT_IBUS0_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to disable core1 ibus access L1-ICache, 0: enable, 1: disable"] #[inline(always)] - #[must_use] pub fn l1_icache_shut_ibus1(&mut self) -> L1_ICACHE_SHUT_IBUS1_W { L1_ICACHE_SHUT_IBUS1_W::new(self, 1) } #[doc = "Bits 8:15 - Reserved"] #[inline(always)] - #[must_use] pub fn l1_icache_undef_op(&mut self) -> L1_ICACHE_UNDEF_OP_W { L1_ICACHE_UNDEF_OP_W::new(self, 8) } diff --git a/esp32p4/src/cache/l1_unallocate_buffer_clear.rs b/esp32p4/src/cache/l1_unallocate_buffer_clear.rs index 4ee140581e..934d17ffbb 100644 --- a/esp32p4/src/cache/l1_unallocate_buffer_clear.rs +++ b/esp32p4/src/cache/l1_unallocate_buffer_clear.rs @@ -60,7 +60,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to clear the unallocate request buffer of l1 icache0 where the unallocate request is responsed but not completed."] #[inline(always)] - #[must_use] pub fn l1_icache0_unalloc_clr( &mut self, ) -> L1_ICACHE0_UNALLOC_CLR_W { @@ -68,7 +67,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to clear the unallocate request buffer of l1 icache1 where the unallocate request is responsed but not completed."] #[inline(always)] - #[must_use] pub fn l1_icache1_unalloc_clr( &mut self, ) -> L1_ICACHE1_UNALLOC_CLR_W { @@ -76,7 +74,6 @@ impl W { } #[doc = "Bit 4 - The bit is used to clear the unallocate request buffer of l1 dcache where the unallocate request is responsed but not completed."] #[inline(always)] - #[must_use] pub fn l1_dcache_unalloc_clr( &mut self, ) -> L1_DCACHE_UNALLOC_CLR_W { diff --git a/esp32p4/src/cache/l2_bypass_cache_conf.rs b/esp32p4/src/cache/l2_bypass_cache_conf.rs index b892e62e3b..4f1bf838f9 100644 --- a/esp32p4/src/cache/l2_bypass_cache_conf.rs +++ b/esp32p4/src/cache/l2_bypass_cache_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 5 - The bit is used to enable bypass L2-Cache. 0: disable bypass, 1: enable bypass."] #[inline(always)] - #[must_use] pub fn bypass_l2_cache_en(&mut self) -> BYPASS_L2_CACHE_EN_W { BYPASS_L2_CACHE_EN_W::new(self, 5) } diff --git a/esp32p4/src/cache/l2_cache_access_attr_ctrl.rs b/esp32p4/src/cache/l2_cache_access_attr_ctrl.rs index 51fac60c6b..6b9c596504 100644 --- a/esp32p4/src/cache/l2_cache_access_attr_ctrl.rs +++ b/esp32p4/src/cache/l2_cache_access_attr_ctrl.rs @@ -60,7 +60,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to force the request to l2 cache with cacheable attribute, otherwise, the attribute is propagated from L1 cache or CPU, it could be one of cacheable and non-cacheable."] #[inline(always)] - #[must_use] pub fn l2_cache_access_force_cc( &mut self, ) -> L2_CACHE_ACCESS_FORCE_CC_W { @@ -68,7 +67,6 @@ impl W { } #[doc = "Bit 1 - Set this bit to force the request to l2 cache with write-back attribute, otherwise, the attribute is propagated from L1 cache or CPU, it could be one of write-back and write-through."] #[inline(always)] - #[must_use] pub fn l2_cache_access_force_wb( &mut self, ) -> L2_CACHE_ACCESS_FORCE_WB_W { @@ -76,7 +74,6 @@ impl W { } #[doc = "Bit 2 - Set this bit to force the request to l2 cache with write-miss-allocate attribute, otherwise, the attribute is propagated from L1 cache or CPU, it could be one of write-miss-allocate and write-miss-no-allocate."] #[inline(always)] - #[must_use] pub fn l2_cache_access_force_wma( &mut self, ) -> L2_CACHE_ACCESS_FORCE_WMA_W { @@ -84,7 +81,6 @@ impl W { } #[doc = "Bit 3 - Set this bit to force the request to l2 cache with read-miss-allocate attribute, otherwise, the attribute is propagated from L1 cache or CPU, it could be one of read-miss-allocate and read-miss-no-allocate."] #[inline(always)] - #[must_use] pub fn l2_cache_access_force_rma( &mut self, ) -> L2_CACHE_ACCESS_FORCE_RMA_W { diff --git a/esp32p4/src/cache/l2_cache_acs_cnt_ctrl.rs b/esp32p4/src/cache/l2_cache_acs_cnt_ctrl.rs index 968cb66183..9e27b637ce 100644 --- a/esp32p4/src/cache/l2_cache_acs_cnt_ctrl.rs +++ b/esp32p4/src/cache/l2_cache_acs_cnt_ctrl.rs @@ -126,49 +126,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 8 - The bit is used to enable ibus0 counter in L2-Cache."] #[inline(always)] - #[must_use] pub fn l2_ibus0_cnt_ena(&mut self) -> L2_IBUS0_CNT_ENA_W { L2_IBUS0_CNT_ENA_W::new(self, 8) } #[doc = "Bit 9 - The bit is used to enable ibus1 counter in L2-Cache."] #[inline(always)] - #[must_use] pub fn l2_ibus1_cnt_ena(&mut self) -> L2_IBUS1_CNT_ENA_W { L2_IBUS1_CNT_ENA_W::new(self, 9) } #[doc = "Bit 12 - The bit is used to enable dbus0 counter in L2-Cache."] #[inline(always)] - #[must_use] pub fn l2_dbus0_cnt_ena(&mut self) -> L2_DBUS0_CNT_ENA_W { L2_DBUS0_CNT_ENA_W::new(self, 12) } #[doc = "Bit 13 - The bit is used to enable dbus1 counter in L2-Cache."] #[inline(always)] - #[must_use] pub fn l2_dbus1_cnt_ena(&mut self) -> L2_DBUS1_CNT_ENA_W { L2_DBUS1_CNT_ENA_W::new(self, 13) } #[doc = "Bit 24 - The bit is used to clear ibus0 counter in L2-Cache."] #[inline(always)] - #[must_use] pub fn l2_ibus0_cnt_clr(&mut self) -> L2_IBUS0_CNT_CLR_W { L2_IBUS0_CNT_CLR_W::new(self, 24) } #[doc = "Bit 25 - The bit is used to clear ibus1 counter in L2-Cache."] #[inline(always)] - #[must_use] pub fn l2_ibus1_cnt_clr(&mut self) -> L2_IBUS1_CNT_CLR_W { L2_IBUS1_CNT_CLR_W::new(self, 25) } #[doc = "Bit 28 - The bit is used to clear dbus0 counter in L2-Cache."] #[inline(always)] - #[must_use] pub fn l2_dbus0_cnt_clr(&mut self) -> L2_DBUS0_CNT_CLR_W { L2_DBUS0_CNT_CLR_W::new(self, 28) } #[doc = "Bit 29 - The bit is used to clear dbus1 counter in L2-Cache."] #[inline(always)] - #[must_use] pub fn l2_dbus1_cnt_clr(&mut self) -> L2_DBUS1_CNT_CLR_W { L2_DBUS1_CNT_CLR_W::new(self, 29) } diff --git a/esp32p4/src/cache/l2_cache_acs_cnt_int_clr.rs b/esp32p4/src/cache/l2_cache_acs_cnt_int_clr.rs index 21a05de7ba..d18ca711f1 100644 --- a/esp32p4/src/cache/l2_cache_acs_cnt_int_clr.rs +++ b/esp32p4/src/cache/l2_cache_acs_cnt_int_clr.rs @@ -54,7 +54,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 8 - The bit is used to clear counters overflow interrupt and counters in L2-Cache due to bus0 accesses L2-Cache."] #[inline(always)] - #[must_use] pub fn l2_ibus0_ovf_int_clr( &mut self, ) -> L2_IBUS0_OVF_INT_CLR_W { @@ -62,7 +61,6 @@ impl W { } #[doc = "Bit 9 - The bit is used to clear counters overflow interrupt and counters in L2-Cache due to bus1 accesses L2-Cache."] #[inline(always)] - #[must_use] pub fn l2_ibus1_ovf_int_clr( &mut self, ) -> L2_IBUS1_OVF_INT_CLR_W { @@ -70,7 +68,6 @@ impl W { } #[doc = "Bit 12 - The bit is used to clear counters overflow interrupt and counters in L2-Cache due to bus0 accesses L2-Cache."] #[inline(always)] - #[must_use] pub fn l2_dbus0_ovf_int_clr( &mut self, ) -> L2_DBUS0_OVF_INT_CLR_W { @@ -78,7 +75,6 @@ impl W { } #[doc = "Bit 13 - The bit is used to clear counters overflow interrupt and counters in L2-Cache due to bus1 accesses L2-Cache."] #[inline(always)] - #[must_use] pub fn l2_dbus1_ovf_int_clr( &mut self, ) -> L2_DBUS1_OVF_INT_CLR_W { diff --git a/esp32p4/src/cache/l2_cache_acs_cnt_int_ena.rs b/esp32p4/src/cache/l2_cache_acs_cnt_int_ena.rs index bba8e052a5..b43149ddd1 100644 --- a/esp32p4/src/cache/l2_cache_acs_cnt_int_ena.rs +++ b/esp32p4/src/cache/l2_cache_acs_cnt_int_ena.rs @@ -86,7 +86,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 8 - The bit is used to enable interrupt of one of counters overflow that occurs in L2-Cache due to bus0 accesses L2-Cache."] #[inline(always)] - #[must_use] pub fn l2_ibus0_ovf_int_ena( &mut self, ) -> L2_IBUS0_OVF_INT_ENA_W { @@ -94,7 +93,6 @@ impl W { } #[doc = "Bit 9 - The bit is used to enable interrupt of one of counters overflow that occurs in L2-Cache due to bus1 accesses L2-Cache."] #[inline(always)] - #[must_use] pub fn l2_ibus1_ovf_int_ena( &mut self, ) -> L2_IBUS1_OVF_INT_ENA_W { @@ -102,7 +100,6 @@ impl W { } #[doc = "Bit 12 - The bit is used to enable interrupt of one of counters overflow that occurs in L2-Cache due to bus0 accesses L2-Cache."] #[inline(always)] - #[must_use] pub fn l2_dbus0_ovf_int_ena( &mut self, ) -> L2_DBUS0_OVF_INT_ENA_W { @@ -110,7 +107,6 @@ impl W { } #[doc = "Bit 13 - The bit is used to enable interrupt of one of counters overflow that occurs in L2-Cache due to bus1 accesses L2-Cache."] #[inline(always)] - #[must_use] pub fn l2_dbus1_ovf_int_ena( &mut self, ) -> L2_DBUS1_OVF_INT_ENA_W { diff --git a/esp32p4/src/cache/l2_cache_acs_cnt_int_raw.rs b/esp32p4/src/cache/l2_cache_acs_cnt_int_raw.rs index b5315e7708..7d095a3fd0 100644 --- a/esp32p4/src/cache/l2_cache_acs_cnt_int_raw.rs +++ b/esp32p4/src/cache/l2_cache_acs_cnt_int_raw.rs @@ -94,7 +94,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 8 - The raw bit of the interrupt of one of counters overflow that occurs in L2-Cache due to bus0 accesses L2-ICache0."] #[inline(always)] - #[must_use] pub fn l2_ibus0_ovf_int_raw( &mut self, ) -> L2_IBUS0_OVF_INT_RAW_W { @@ -102,7 +101,6 @@ impl W { } #[doc = "Bit 9 - The raw bit of the interrupt of one of counters overflow that occurs in L2-Cache due to bus1 accesses L2-ICache1."] #[inline(always)] - #[must_use] pub fn l2_ibus1_ovf_int_raw( &mut self, ) -> L2_IBUS1_OVF_INT_RAW_W { @@ -110,7 +108,6 @@ impl W { } #[doc = "Bit 10 - The raw bit of the interrupt of one of counters overflow that occurs in L2-Cache due to bus2 accesses L2-ICache2."] #[inline(always)] - #[must_use] pub fn l2_ibus2_ovf_int_raw( &mut self, ) -> L2_IBUS2_OVF_INT_RAW_W { @@ -118,7 +115,6 @@ impl W { } #[doc = "Bit 11 - The raw bit of the interrupt of one of counters overflow that occurs in L2-Cache due to bus3 accesses L2-ICache3."] #[inline(always)] - #[must_use] pub fn l2_ibus3_ovf_int_raw( &mut self, ) -> L2_IBUS3_OVF_INT_RAW_W { @@ -126,7 +122,6 @@ impl W { } #[doc = "Bit 12 - The raw bit of the interrupt of one of counters overflow that occurs in L2-Cache due to bus0 accesses L2-DCache."] #[inline(always)] - #[must_use] pub fn l2_dbus0_ovf_int_raw( &mut self, ) -> L2_DBUS0_OVF_INT_RAW_W { @@ -134,7 +129,6 @@ impl W { } #[doc = "Bit 13 - The raw bit of the interrupt of one of counters overflow that occurs in L2-Cache due to bus1 accesses L2-DCache."] #[inline(always)] - #[must_use] pub fn l2_dbus1_ovf_int_raw( &mut self, ) -> L2_DBUS1_OVF_INT_RAW_W { @@ -142,7 +136,6 @@ impl W { } #[doc = "Bit 14 - The raw bit of the interrupt of one of counters overflow that occurs in L2-Cache due to bus2 accesses L2-DCache."] #[inline(always)] - #[must_use] pub fn l2_dbus2_ovf_int_raw( &mut self, ) -> L2_DBUS2_OVF_INT_RAW_W { @@ -150,7 +143,6 @@ impl W { } #[doc = "Bit 15 - The raw bit of the interrupt of one of counters overflow that occurs in L2-Cache due to bus3 accesses L2-DCache."] #[inline(always)] - #[must_use] pub fn l2_dbus3_ovf_int_raw( &mut self, ) -> L2_DBUS3_OVF_INT_RAW_W { diff --git a/esp32p4/src/cache/l2_cache_acs_fail_ctrl.rs b/esp32p4/src/cache/l2_cache_acs_fail_ctrl.rs index c9996a579a..111b142a95 100644 --- a/esp32p4/src/cache/l2_cache_acs_fail_ctrl.rs +++ b/esp32p4/src/cache/l2_cache_acs_fail_ctrl.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to configure l2 cache access fail check mode. 0: the access fail is not propagated to the request, 1: the access fail is propagated to the request"] #[inline(always)] - #[must_use] pub fn l2_cache_acs_fail_check_mode( &mut self, ) -> L2_CACHE_ACS_FAIL_CHECK_MODE_W { diff --git a/esp32p4/src/cache/l2_cache_acs_fail_int_clr.rs b/esp32p4/src/cache/l2_cache_acs_fail_int_clr.rs index fb72d020fc..15d6caa799 100644 --- a/esp32p4/src/cache/l2_cache_acs_fail_int_clr.rs +++ b/esp32p4/src/cache/l2_cache_acs_fail_int_clr.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 5 - The bit is used to clear interrupt of access fail that occurs in L2-Cache due to l1 cache accesses L2-Cache."] #[inline(always)] - #[must_use] pub fn l2_cache_fail_int_clr( &mut self, ) -> L2_CACHE_FAIL_INT_CLR_W { diff --git a/esp32p4/src/cache/l2_cache_acs_fail_int_ena.rs b/esp32p4/src/cache/l2_cache_acs_fail_int_ena.rs index 24009c2b8a..2edb9d084c 100644 --- a/esp32p4/src/cache/l2_cache_acs_fail_int_ena.rs +++ b/esp32p4/src/cache/l2_cache_acs_fail_int_ena.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 5 - The bit is used to enable interrupt of access fail that occurs in L2-Cache due to l1 cache accesses L2-Cache."] #[inline(always)] - #[must_use] pub fn l2_cache_fail_int_ena( &mut self, ) -> L2_CACHE_FAIL_INT_ENA_W { diff --git a/esp32p4/src/cache/l2_cache_acs_fail_int_raw.rs b/esp32p4/src/cache/l2_cache_acs_fail_int_raw.rs index c517cf681a..aa5cb99bb5 100644 --- a/esp32p4/src/cache/l2_cache_acs_fail_int_raw.rs +++ b/esp32p4/src/cache/l2_cache_acs_fail_int_raw.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 5 - The raw bit of the interrupt of access fail that occurs in L2-Cache."] #[inline(always)] - #[must_use] pub fn l2_cache_fail_int_raw( &mut self, ) -> L2_CACHE_FAIL_INT_RAW_W { diff --git a/esp32p4/src/cache/l2_cache_autoload_buf_clr_ctrl.rs b/esp32p4/src/cache/l2_cache_autoload_buf_clr_ctrl.rs index f3953a195d..0f9916e863 100644 --- a/esp32p4/src/cache/l2_cache_autoload_buf_clr_ctrl.rs +++ b/esp32p4/src/cache/l2_cache_autoload_buf_clr_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 5 - set this bit to clear autoload-buffer inside L2-Cache. If this bit is active, autoload will not work in L2-Cache. This bit should not be active when autoload works in L2-Cache."] #[inline(always)] - #[must_use] pub fn l2_cache_ald_buf_clr( &mut self, ) -> L2_CACHE_ALD_BUF_CLR_W { diff --git a/esp32p4/src/cache/l2_cache_autoload_ctrl.rs b/esp32p4/src/cache/l2_cache_autoload_ctrl.rs index 17850ba57e..6980c16a85 100644 --- a/esp32p4/src/cache/l2_cache_autoload_ctrl.rs +++ b/esp32p4/src/cache/l2_cache_autoload_ctrl.rs @@ -117,7 +117,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable and disable autoload operation on L2-Cache. 1: enable, 0: disable."] #[inline(always)] - #[must_use] pub fn l2_cache_autoload_ena( &mut self, ) -> L2_CACHE_AUTOLOAD_ENA_W { @@ -125,7 +124,6 @@ impl W { } #[doc = "Bit 2 - The bit is used to configure the direction of autoload operation on L2-Cache. 0: ascending. 1: descending."] #[inline(always)] - #[must_use] pub fn l2_cache_autoload_order( &mut self, ) -> L2_CACHE_AUTOLOAD_ORDER_W { @@ -133,7 +131,6 @@ impl W { } #[doc = "Bits 3:4 - The field is used to configure trigger mode of autoload operation on L2-Cache. 0/3: miss-trigger, 1: hit-trigger, 2: miss-hit-trigger."] #[inline(always)] - #[must_use] pub fn l2_cache_autoload_trigger_mode( &mut self, ) -> L2_CACHE_AUTOLOAD_TRIGGER_MODE_W { @@ -141,7 +138,6 @@ impl W { } #[doc = "Bit 8 - The bit is used to enable the first section for autoload operation on L2-Cache."] #[inline(always)] - #[must_use] pub fn l2_cache_autoload_sct0_ena( &mut self, ) -> L2_CACHE_AUTOLOAD_SCT0_ENA_W { @@ -149,7 +145,6 @@ impl W { } #[doc = "Bit 9 - The bit is used to enable the second section for autoload operation on L2-Cache."] #[inline(always)] - #[must_use] pub fn l2_cache_autoload_sct1_ena( &mut self, ) -> L2_CACHE_AUTOLOAD_SCT1_ENA_W { @@ -157,7 +152,6 @@ impl W { } #[doc = "Bit 10 - The bit is used to enable the third section for autoload operation on L2-Cache."] #[inline(always)] - #[must_use] pub fn l2_cache_autoload_sct2_ena( &mut self, ) -> L2_CACHE_AUTOLOAD_SCT2_ENA_W { @@ -165,7 +159,6 @@ impl W { } #[doc = "Bit 11 - The bit is used to enable the fourth section for autoload operation on L2-Cache."] #[inline(always)] - #[must_use] pub fn l2_cache_autoload_sct3_ena( &mut self, ) -> L2_CACHE_AUTOLOAD_SCT3_ENA_W { @@ -173,7 +166,6 @@ impl W { } #[doc = "Bits 12:15 - The bit is used to set the gid of l2 cache autoload."] #[inline(always)] - #[must_use] pub fn l2_cache_autoload_rgid( &mut self, ) -> L2_CACHE_AUTOLOAD_RGID_W { diff --git a/esp32p4/src/cache/l2_cache_autoload_sct0_addr.rs b/esp32p4/src/cache/l2_cache_autoload_sct0_addr.rs index af0689fb9d..3ff0847a9d 100644 --- a/esp32p4/src/cache/l2_cache_autoload_sct0_addr.rs +++ b/esp32p4/src/cache/l2_cache_autoload_sct0_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are used to configure the start virtual address of the first section for autoload operation on L2-Cache. Note that it should be used together with L2_CACHE_AUTOLOAD_SCT0_SIZE and L2_CACHE_AUTOLOAD_SCT0_ENA."] #[inline(always)] - #[must_use] pub fn l2_cache_autoload_sct0_addr( &mut self, ) -> L2_CACHE_AUTOLOAD_SCT0_ADDR_W { diff --git a/esp32p4/src/cache/l2_cache_autoload_sct0_size.rs b/esp32p4/src/cache/l2_cache_autoload_sct0_size.rs index bea652f8c5..f1f905fc6f 100644 --- a/esp32p4/src/cache/l2_cache_autoload_sct0_size.rs +++ b/esp32p4/src/cache/l2_cache_autoload_sct0_size.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Those bits are used to configure the size of the first section for autoload operation on L2-Cache. Note that it should be used together with L2_CACHE_AUTOLOAD_SCT0_ADDR and L2_CACHE_AUTOLOAD_SCT0_ENA."] #[inline(always)] - #[must_use] pub fn l2_cache_autoload_sct0_size( &mut self, ) -> L2_CACHE_AUTOLOAD_SCT0_SIZE_W { diff --git a/esp32p4/src/cache/l2_cache_autoload_sct1_addr.rs b/esp32p4/src/cache/l2_cache_autoload_sct1_addr.rs index 8203621a39..266b72cdc9 100644 --- a/esp32p4/src/cache/l2_cache_autoload_sct1_addr.rs +++ b/esp32p4/src/cache/l2_cache_autoload_sct1_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are used to configure the start virtual address of the second section for autoload operation on L2-Cache. Note that it should be used together with L2_CACHE_AUTOLOAD_SCT1_SIZE and L2_CACHE_AUTOLOAD_SCT1_ENA."] #[inline(always)] - #[must_use] pub fn l2_cache_autoload_sct1_addr( &mut self, ) -> L2_CACHE_AUTOLOAD_SCT1_ADDR_W { diff --git a/esp32p4/src/cache/l2_cache_autoload_sct1_size.rs b/esp32p4/src/cache/l2_cache_autoload_sct1_size.rs index f2eb26e309..b729765d9b 100644 --- a/esp32p4/src/cache/l2_cache_autoload_sct1_size.rs +++ b/esp32p4/src/cache/l2_cache_autoload_sct1_size.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Those bits are used to configure the size of the second section for autoload operation on L2-Cache. Note that it should be used together with L2_CACHE_AUTOLOAD_SCT1_ADDR and L2_CACHE_AUTOLOAD_SCT1_ENA."] #[inline(always)] - #[must_use] pub fn l2_cache_autoload_sct1_size( &mut self, ) -> L2_CACHE_AUTOLOAD_SCT1_SIZE_W { diff --git a/esp32p4/src/cache/l2_cache_autoload_sct2_addr.rs b/esp32p4/src/cache/l2_cache_autoload_sct2_addr.rs index fb3f137f72..2703c47256 100644 --- a/esp32p4/src/cache/l2_cache_autoload_sct2_addr.rs +++ b/esp32p4/src/cache/l2_cache_autoload_sct2_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are used to configure the start virtual address of the third section for autoload operation on L2-Cache. Note that it should be used together with L2_CACHE_AUTOLOAD_SCT2_SIZE and L2_CACHE_AUTOLOAD_SCT2_ENA."] #[inline(always)] - #[must_use] pub fn l2_cache_autoload_sct2_addr( &mut self, ) -> L2_CACHE_AUTOLOAD_SCT2_ADDR_W { diff --git a/esp32p4/src/cache/l2_cache_autoload_sct2_size.rs b/esp32p4/src/cache/l2_cache_autoload_sct2_size.rs index e16dcecdd2..c3a5dd118d 100644 --- a/esp32p4/src/cache/l2_cache_autoload_sct2_size.rs +++ b/esp32p4/src/cache/l2_cache_autoload_sct2_size.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Those bits are used to configure the size of the third section for autoload operation on L2-Cache. Note that it should be used together with L2_CACHE_AUTOLOAD_SCT2_ADDR and L2_CACHE_AUTOLOAD_SCT2_ENA."] #[inline(always)] - #[must_use] pub fn l2_cache_autoload_sct2_size( &mut self, ) -> L2_CACHE_AUTOLOAD_SCT2_SIZE_W { diff --git a/esp32p4/src/cache/l2_cache_autoload_sct3_addr.rs b/esp32p4/src/cache/l2_cache_autoload_sct3_addr.rs index 66f0a543ef..1df7867b0d 100644 --- a/esp32p4/src/cache/l2_cache_autoload_sct3_addr.rs +++ b/esp32p4/src/cache/l2_cache_autoload_sct3_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are used to configure the start virtual address of the fourth section for autoload operation on L2-Cache. Note that it should be used together with L2_CACHE_AUTOLOAD_SCT3_SIZE and L2_CACHE_AUTOLOAD_SCT3_ENA."] #[inline(always)] - #[must_use] pub fn l2_cache_autoload_sct3_addr( &mut self, ) -> L2_CACHE_AUTOLOAD_SCT3_ADDR_W { diff --git a/esp32p4/src/cache/l2_cache_autoload_sct3_size.rs b/esp32p4/src/cache/l2_cache_autoload_sct3_size.rs index 7fc2a015e9..356a412e96 100644 --- a/esp32p4/src/cache/l2_cache_autoload_sct3_size.rs +++ b/esp32p4/src/cache/l2_cache_autoload_sct3_size.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Those bits are used to configure the size of the fourth section for autoload operation on L2-Cache. Note that it should be used together with L2_CACHE_AUTOLOAD_SCT3_ADDR and L2_CACHE_AUTOLOAD_SCT3_ENA."] #[inline(always)] - #[must_use] pub fn l2_cache_autoload_sct3_size( &mut self, ) -> L2_CACHE_AUTOLOAD_SCT3_SIZE_W { diff --git a/esp32p4/src/cache/l2_cache_blocksize_conf.rs b/esp32p4/src/cache/l2_cache_blocksize_conf.rs index 2cdcc0c6c6..56efed60c5 100644 --- a/esp32p4/src/cache/l2_cache_blocksize_conf.rs +++ b/esp32p4/src/cache/l2_cache_blocksize_conf.rs @@ -66,7 +66,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - The field is used to configureblocksize of L2-Cache as 64 bytes. This field and all other fields within this register is onehot."] #[inline(always)] - #[must_use] pub fn l2_cache_blocksize_64( &mut self, ) -> L2_CACHE_BLOCKSIZE_64_W { @@ -74,7 +73,6 @@ impl W { } #[doc = "Bit 4 - The field is used to configureblocksize of L2-Cache as 128 bytes. This field and all other fields within this register is onehot."] #[inline(always)] - #[must_use] pub fn l2_cache_blocksize_128( &mut self, ) -> L2_CACHE_BLOCKSIZE_128_W { diff --git a/esp32p4/src/cache/l2_cache_cachesize_conf.rs b/esp32p4/src/cache/l2_cache_cachesize_conf.rs index c25ffa88fe..cc71ce8d14 100644 --- a/esp32p4/src/cache/l2_cache_cachesize_conf.rs +++ b/esp32p4/src/cache/l2_cache_cachesize_conf.rs @@ -124,7 +124,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 9 - The field is used to configure cachesize of L2-Cache as 128k bytes. This field and all other fields within this register is onehot."] #[inline(always)] - #[must_use] pub fn l2_cache_cachesize_128k( &mut self, ) -> L2_CACHE_CACHESIZE_128K_W { @@ -132,7 +131,6 @@ impl W { } #[doc = "Bit 10 - The field is used to configure cachesize of L2-Cache as 256k bytes. This field and all other fields within this register is onehot."] #[inline(always)] - #[must_use] pub fn l2_cache_cachesize_256k( &mut self, ) -> L2_CACHE_CACHESIZE_256K_W { @@ -140,7 +138,6 @@ impl W { } #[doc = "Bit 11 - The field is used to configure cachesize of L2-Cache as 512k bytes. This field and all other fields within this register is onehot."] #[inline(always)] - #[must_use] pub fn l2_cache_cachesize_512k( &mut self, ) -> L2_CACHE_CACHESIZE_512K_W { diff --git a/esp32p4/src/cache/l2_cache_ctrl.rs b/esp32p4/src/cache/l2_cache_ctrl.rs index 4a216ef592..1d85d8b068 100644 --- a/esp32p4/src/cache/l2_cache_ctrl.rs +++ b/esp32p4/src/cache/l2_cache_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 4 - The bit is used to disable DMA access L2-Cache, 0: enable, 1: disable"] #[inline(always)] - #[must_use] pub fn l2_cache_shut_dma(&mut self) -> L2_CACHE_SHUT_DMA_W { L2_CACHE_SHUT_DMA_W::new(self, 4) } #[doc = "Bits 8:15 - Reserved"] #[inline(always)] - #[must_use] pub fn l2_cache_undef_op(&mut self) -> L2_CACHE_UNDEF_OP_W { L2_CACHE_UNDEF_OP_W::new(self, 8) } diff --git a/esp32p4/src/cache/l2_cache_data_mem_acs_conf.rs b/esp32p4/src/cache/l2_cache_data_mem_acs_conf.rs index 266d305db1..5a2c328067 100644 --- a/esp32p4/src/cache/l2_cache_data_mem_acs_conf.rs +++ b/esp32p4/src/cache/l2_cache_data_mem_acs_conf.rs @@ -34,7 +34,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 20 - The bit is used to enable config-bus read L2-Cache data memoryory. 0: disable, 1: enable."] #[inline(always)] - #[must_use] pub fn l2_cache_data_mem_rd_en( &mut self, ) -> L2_CACHE_DATA_MEM_RD_EN_W { @@ -42,7 +41,6 @@ impl W { } #[doc = "Bit 21 - The bit is used to enable config-bus write L2-Cache data memoryory. 0: disable, 1: enable."] #[inline(always)] - #[must_use] pub fn l2_cache_data_mem_wr_en( &mut self, ) -> L2_CACHE_DATA_MEM_WR_EN_W { diff --git a/esp32p4/src/cache/l2_cache_data_mem_power_ctrl.rs b/esp32p4/src/cache/l2_cache_data_mem_power_ctrl.rs index 4d1d22a202..86d2d8d66c 100644 --- a/esp32p4/src/cache/l2_cache_data_mem_power_ctrl.rs +++ b/esp32p4/src/cache/l2_cache_data_mem_power_ctrl.rs @@ -53,7 +53,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 20 - The bit is used to close clock gating of L2-Cache data memory. 1: close gating, 0: open clock gating."] #[inline(always)] - #[must_use] pub fn l2_cache_data_mem_force_on( &mut self, ) -> L2_CACHE_DATA_MEM_FORCE_ON_W { @@ -61,7 +60,6 @@ impl W { } #[doc = "Bit 21 - The bit is used to power L2-Cache data memory down. 0: follow rtc_lslp, 1: power down"] #[inline(always)] - #[must_use] pub fn l2_cache_data_mem_force_pd( &mut self, ) -> L2_CACHE_DATA_MEM_FORCE_PD_W { @@ -69,7 +67,6 @@ impl W { } #[doc = "Bit 22 - The bit is used to power L2-Cache data memory up. 0: follow rtc_lslp, 1: power up"] #[inline(always)] - #[must_use] pub fn l2_cache_data_mem_force_pu( &mut self, ) -> L2_CACHE_DATA_MEM_FORCE_PU_W { diff --git a/esp32p4/src/cache/l2_cache_debug_bus.rs b/esp32p4/src/cache/l2_cache_debug_bus.rs index 4124fa4b4a..1dbe7e19a7 100644 --- a/esp32p4/src/cache/l2_cache_debug_bus.rs +++ b/esp32p4/src/cache/l2_cache_debug_bus.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This is a constant place where we can write data to or read data from the tag/data memory on the specified cache."] #[inline(always)] - #[must_use] pub fn l2_cache_debug_bus(&mut self) -> L2_CACHE_DEBUG_BUS_W { L2_CACHE_DEBUG_BUS_W::new(self, 0) } diff --git a/esp32p4/src/cache/l2_cache_freeze_ctrl.rs b/esp32p4/src/cache/l2_cache_freeze_ctrl.rs index 2ead340d0c..a142405c0f 100644 --- a/esp32p4/src/cache/l2_cache_freeze_ctrl.rs +++ b/esp32p4/src/cache/l2_cache_freeze_ctrl.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 20 - The bit is used to enable freeze operation on L2-Cache. It can be cleared by software."] #[inline(always)] - #[must_use] pub fn l2_cache_freeze_en(&mut self) -> L2_CACHE_FREEZE_EN_W { L2_CACHE_FREEZE_EN_W::new(self, 20) } #[doc = "Bit 21 - The bit is used to configure mode of freeze operation L2-Cache. 0: a miss-access will not stuck. 1: a miss-access will stuck."] #[inline(always)] - #[must_use] pub fn l2_cache_freeze_mode(&mut self) -> L2_CACHE_FREEZE_MODE_W { L2_CACHE_FREEZE_MODE_W::new(self, 21) } diff --git a/esp32p4/src/cache/l2_cache_object_ctrl.rs b/esp32p4/src/cache/l2_cache_object_ctrl.rs index aa5063c22b..e42b104506 100644 --- a/esp32p4/src/cache/l2_cache_object_ctrl.rs +++ b/esp32p4/src/cache/l2_cache_object_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 5 - Set this bit to set L2-Cache tag memory as object. This bit should be onehot with the others fields inside this register."] #[inline(always)] - #[must_use] pub fn l2_cache_tag_object(&mut self) -> L2_CACHE_TAG_OBJECT_W { L2_CACHE_TAG_OBJECT_W::new(self, 5) } #[doc = "Bit 11 - Set this bit to set L2-Cache data memory as object. This bit should be onehot with the others fields inside this register."] #[inline(always)] - #[must_use] pub fn l2_cache_mem_object(&mut self) -> L2_CACHE_MEM_OBJECT_W { L2_CACHE_MEM_OBJECT_W::new(self, 11) } diff --git a/esp32p4/src/cache/l2_cache_preload_addr.rs b/esp32p4/src/cache/l2_cache_preload_addr.rs index 2ceebb4204..2e00072bb7 100644 --- a/esp32p4/src/cache/l2_cache_preload_addr.rs +++ b/esp32p4/src/cache/l2_cache_preload_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are used to configure the start virtual address of preload on L2-Cache, which should be used together with L2_CACHE_PRELOAD_SIZE_REG"] #[inline(always)] - #[must_use] pub fn l2_cache_preload_addr(&mut self) -> L2_CACHE_PRELOAD_ADDR_W { L2_CACHE_PRELOAD_ADDR_W::new(self, 0) } diff --git a/esp32p4/src/cache/l2_cache_preload_ctrl.rs b/esp32p4/src/cache/l2_cache_preload_ctrl.rs index e68ed99346..ef683725d8 100644 --- a/esp32p4/src/cache/l2_cache_preload_ctrl.rs +++ b/esp32p4/src/cache/l2_cache_preload_ctrl.rs @@ -52,13 +52,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable preload operation on L2-Cache. It will be cleared by hardware automatically after preload operation is done."] #[inline(always)] - #[must_use] pub fn l2_cache_preload_ena(&mut self) -> L2_CACHE_PRELOAD_ENA_W { L2_CACHE_PRELOAD_ENA_W::new(self, 0) } #[doc = "Bit 2 - The bit is used to configure the direction of preload operation. 0: ascending, 1: descending."] #[inline(always)] - #[must_use] pub fn l2_cache_preload_order( &mut self, ) -> L2_CACHE_PRELOAD_ORDER_W { @@ -66,7 +64,6 @@ impl W { } #[doc = "Bits 3:6 - The bit is used to set the gid of l2 cache preload."] #[inline(always)] - #[must_use] pub fn l2_cache_preload_rgid(&mut self) -> L2_CACHE_PRELOAD_RGID_W { L2_CACHE_PRELOAD_RGID_W::new(self, 3) } diff --git a/esp32p4/src/cache/l2_cache_preload_rst_ctrl.rs b/esp32p4/src/cache/l2_cache_preload_rst_ctrl.rs index 334af144cb..eb7cbfa606 100644 --- a/esp32p4/src/cache/l2_cache_preload_rst_ctrl.rs +++ b/esp32p4/src/cache/l2_cache_preload_rst_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 5 - set this bit to reset preload-logic inside L2-Cache. Recommend that this should only be used to initialize preload-logic when some fatal error of preload-logic occurs."] #[inline(always)] - #[must_use] pub fn l2_cache_pld_rst(&mut self) -> L2_CACHE_PLD_RST_W { L2_CACHE_PLD_RST_W::new(self, 5) } diff --git a/esp32p4/src/cache/l2_cache_preload_size.rs b/esp32p4/src/cache/l2_cache_preload_size.rs index 702e15bb35..1c847313bb 100644 --- a/esp32p4/src/cache/l2_cache_preload_size.rs +++ b/esp32p4/src/cache/l2_cache_preload_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Those bits are used to configure the size of the first section of prelock on L2-Cache, which should be used together with L2_CACHE_PRELOAD_ADDR_REG"] #[inline(always)] - #[must_use] pub fn l2_cache_preload_size(&mut self) -> L2_CACHE_PRELOAD_SIZE_W { L2_CACHE_PRELOAD_SIZE_W::new(self, 0) } diff --git a/esp32p4/src/cache/l2_cache_prelock_conf.rs b/esp32p4/src/cache/l2_cache_prelock_conf.rs index dd23f6b3b2..00ec349dd5 100644 --- a/esp32p4/src/cache/l2_cache_prelock_conf.rs +++ b/esp32p4/src/cache/l2_cache_prelock_conf.rs @@ -44,7 +44,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable the first section of prelock function on L2-Cache."] #[inline(always)] - #[must_use] pub fn l2_cache_prelock_sct0_en( &mut self, ) -> L2_CACHE_PRELOCK_SCT0_EN_W { @@ -52,7 +51,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to enable the second section of prelock function on L2-Cache."] #[inline(always)] - #[must_use] pub fn l2_cache_prelock_sct1_en( &mut self, ) -> L2_CACHE_PRELOCK_SCT1_EN_W { @@ -60,7 +58,6 @@ impl W { } #[doc = "Bits 2:5 - The bit is used to set the gid of l2 cache prelock."] #[inline(always)] - #[must_use] pub fn l2_cache_prelock_rgid(&mut self) -> L2_CACHE_PRELOCK_RGID_W { L2_CACHE_PRELOCK_RGID_W::new(self, 2) } diff --git a/esp32p4/src/cache/l2_cache_prelock_sct0_addr.rs b/esp32p4/src/cache/l2_cache_prelock_sct0_addr.rs index 11c2bc84c9..a86bf27d66 100644 --- a/esp32p4/src/cache/l2_cache_prelock_sct0_addr.rs +++ b/esp32p4/src/cache/l2_cache_prelock_sct0_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are used to configure the start virtual address of the first section of prelock on L2-Cache, which should be used together with L2_CACHE_PRELOCK_SCT0_SIZE_REG"] #[inline(always)] - #[must_use] pub fn l2_cache_prelock_sct0_addr( &mut self, ) -> L2_CACHE_PRELOCK_SCT0_ADDR_W { diff --git a/esp32p4/src/cache/l2_cache_prelock_sct1_addr.rs b/esp32p4/src/cache/l2_cache_prelock_sct1_addr.rs index 402b768868..76a2c591f7 100644 --- a/esp32p4/src/cache/l2_cache_prelock_sct1_addr.rs +++ b/esp32p4/src/cache/l2_cache_prelock_sct1_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are used to configure the start virtual address of the second section of prelock on L2-Cache, which should be used together with L2_CACHE_PRELOCK_SCT1_SIZE_REG"] #[inline(always)] - #[must_use] pub fn l2_cache_prelock_sct1_addr( &mut self, ) -> L2_CACHE_PRELOCK_SCT1_ADDR_W { diff --git a/esp32p4/src/cache/l2_cache_prelock_sct_size.rs b/esp32p4/src/cache/l2_cache_prelock_sct_size.rs index 712ba9a61f..59c53505d6 100644 --- a/esp32p4/src/cache/l2_cache_prelock_sct_size.rs +++ b/esp32p4/src/cache/l2_cache_prelock_sct_size.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Those bits are used to configure the size of the first section of prelock on L2-Cache, which should be used together with L2_CACHE_PRELOCK_SCT0_ADDR_REG"] #[inline(always)] - #[must_use] pub fn l2_cache_prelock_sct0_size( &mut self, ) -> L2_CACHE_PRELOCK_SCT0_SIZE_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bits 16:31 - Those bits are used to configure the size of the second section of prelock on L2-Cache, which should be used together with L2_CACHE_PRELOCK_SCT1_ADDR_REG"] #[inline(always)] - #[must_use] pub fn l2_cache_prelock_sct1_size( &mut self, ) -> L2_CACHE_PRELOCK_SCT1_SIZE_W { diff --git a/esp32p4/src/cache/l2_cache_sync_preload_int_clr.rs b/esp32p4/src/cache/l2_cache_sync_preload_int_clr.rs index ea82f8e36b..5ee9f23195 100644 --- a/esp32p4/src/cache/l2_cache_sync_preload_int_clr.rs +++ b/esp32p4/src/cache/l2_cache_sync_preload_int_clr.rs @@ -13,7 +13,6 @@ impl core::fmt::Debug for crate::generic::Reg L2_CACHE_PLD_DONE_INT_CLR_W { @@ -21,7 +20,6 @@ impl W { } #[doc = "Bit 12 - The bit is used to clear interrupt of L2-Cache preload-operation error."] #[inline(always)] - #[must_use] pub fn l2_cache_pld_err_int_clr( &mut self, ) -> L2_CACHE_PLD_ERR_INT_CLR_W { diff --git a/esp32p4/src/cache/l2_cache_sync_preload_int_ena.rs b/esp32p4/src/cache/l2_cache_sync_preload_int_ena.rs index b6e6e0a6d4..58e20a5d42 100644 --- a/esp32p4/src/cache/l2_cache_sync_preload_int_ena.rs +++ b/esp32p4/src/cache/l2_cache_sync_preload_int_ena.rs @@ -37,7 +37,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 5 - The bit is used to enable interrupt of L2-Cache preload-operation done."] #[inline(always)] - #[must_use] pub fn l2_cache_pld_done_int_ena( &mut self, ) -> L2_CACHE_PLD_DONE_INT_ENA_W { @@ -45,7 +44,6 @@ impl W { } #[doc = "Bit 12 - The bit is used to enable interrupt of L2-Cache preload-operation error."] #[inline(always)] - #[must_use] pub fn l2_cache_pld_err_int_ena( &mut self, ) -> L2_CACHE_PLD_ERR_INT_ENA_W { diff --git a/esp32p4/src/cache/l2_cache_sync_preload_int_raw.rs b/esp32p4/src/cache/l2_cache_sync_preload_int_raw.rs index 7dc6ddc2cc..eb5ac82466 100644 --- a/esp32p4/src/cache/l2_cache_sync_preload_int_raw.rs +++ b/esp32p4/src/cache/l2_cache_sync_preload_int_raw.rs @@ -37,7 +37,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 5 - The raw bit of the interrupt that occurs only when L2-Cache preload-operation is done."] #[inline(always)] - #[must_use] pub fn l2_cache_pld_done_int_raw( &mut self, ) -> L2_CACHE_PLD_DONE_INT_RAW_W { @@ -45,7 +44,6 @@ impl W { } #[doc = "Bit 12 - The raw bit of the interrupt that occurs only when L2-Cache preload-operation error occurs."] #[inline(always)] - #[must_use] pub fn l2_cache_pld_err_int_raw( &mut self, ) -> L2_CACHE_PLD_ERR_INT_RAW_W { diff --git a/esp32p4/src/cache/l2_cache_sync_rst_ctrl.rs b/esp32p4/src/cache/l2_cache_sync_rst_ctrl.rs index 432d3db36c..dfa534dd33 100644 --- a/esp32p4/src/cache/l2_cache_sync_rst_ctrl.rs +++ b/esp32p4/src/cache/l2_cache_sync_rst_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 5 - set this bit to reset sync-logic inside L2-Cache. Recommend that this should only be used to initialize sync-logic when some fatal error of sync-logic occurs."] #[inline(always)] - #[must_use] pub fn l2_cache_sync_rst(&mut self) -> L2_CACHE_SYNC_RST_W { L2_CACHE_SYNC_RST_W::new(self, 5) } diff --git a/esp32p4/src/cache/l2_cache_tag_mem_acs_conf.rs b/esp32p4/src/cache/l2_cache_tag_mem_acs_conf.rs index 0dc115140a..46b8c00d19 100644 --- a/esp32p4/src/cache/l2_cache_tag_mem_acs_conf.rs +++ b/esp32p4/src/cache/l2_cache_tag_mem_acs_conf.rs @@ -34,7 +34,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 20 - The bit is used to enable config-bus read L2-Cache tag memoryory. 0: disable, 1: enable."] #[inline(always)] - #[must_use] pub fn l2_cache_tag_mem_rd_en( &mut self, ) -> L2_CACHE_TAG_MEM_RD_EN_W { @@ -42,7 +41,6 @@ impl W { } #[doc = "Bit 21 - The bit is used to enable config-bus write L2-Cache tag memoryory. 0: disable, 1: enable."] #[inline(always)] - #[must_use] pub fn l2_cache_tag_mem_wr_en( &mut self, ) -> L2_CACHE_TAG_MEM_WR_EN_W { diff --git a/esp32p4/src/cache/l2_cache_tag_mem_power_ctrl.rs b/esp32p4/src/cache/l2_cache_tag_mem_power_ctrl.rs index 4cce3571f7..4167277bde 100644 --- a/esp32p4/src/cache/l2_cache_tag_mem_power_ctrl.rs +++ b/esp32p4/src/cache/l2_cache_tag_mem_power_ctrl.rs @@ -53,7 +53,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 20 - The bit is used to close clock gating of L2-Cache tag memory. 1: close gating, 0: open clock gating."] #[inline(always)] - #[must_use] pub fn l2_cache_tag_mem_force_on( &mut self, ) -> L2_CACHE_TAG_MEM_FORCE_ON_W { @@ -61,7 +60,6 @@ impl W { } #[doc = "Bit 21 - The bit is used to power L2-Cache tag memory down. 0: follow rtc_lslp, 1: power down"] #[inline(always)] - #[must_use] pub fn l2_cache_tag_mem_force_pd( &mut self, ) -> L2_CACHE_TAG_MEM_FORCE_PD_W { @@ -69,7 +67,6 @@ impl W { } #[doc = "Bit 22 - The bit is used to power L2-Cache tag memory up. 0: follow rtc_lslp, 1: power up"] #[inline(always)] - #[must_use] pub fn l2_cache_tag_mem_force_pu( &mut self, ) -> L2_CACHE_TAG_MEM_FORCE_PU_W { diff --git a/esp32p4/src/cache/l2_cache_vaddr.rs b/esp32p4/src/cache/l2_cache_vaddr.rs index 633526568f..0ed21531f9 100644 --- a/esp32p4/src/cache/l2_cache_vaddr.rs +++ b/esp32p4/src/cache/l2_cache_vaddr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits stores the virtual address which will decide where inside the specified tag memory object will be accessed."] #[inline(always)] - #[must_use] pub fn l2_cache_vaddr(&mut self) -> L2_CACHE_VADDR_W { L2_CACHE_VADDR_W::new(self, 0) } diff --git a/esp32p4/src/cache/l2_cache_way_object.rs b/esp32p4/src/cache/l2_cache_way_object.rs index c376a7a0db..c3daf08b2c 100644 --- a/esp32p4/src/cache/l2_cache_way_object.rs +++ b/esp32p4/src/cache/l2_cache_way_object.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - Set this bits to select which way of the tag-object will be accessed. 0: way0, 1: way1, 2: way2, 3: way3, ?, 7: way7."] #[inline(always)] - #[must_use] pub fn l2_cache_way_object(&mut self) -> L2_CACHE_WAY_OBJECT_W { L2_CACHE_WAY_OBJECT_W::new(self, 0) } diff --git a/esp32p4/src/cache/l2_cache_wrap_around_ctrl.rs b/esp32p4/src/cache/l2_cache_wrap_around_ctrl.rs index e5f88d0d3e..8ec1e2ee6e 100644 --- a/esp32p4/src/cache/l2_cache_wrap_around_ctrl.rs +++ b/esp32p4/src/cache/l2_cache_wrap_around_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 5 - Set this bit as 1 to enable L2-Cache wrap around mode."] #[inline(always)] - #[must_use] pub fn l2_cache_wrap(&mut self) -> L2_CACHE_WRAP_W { L2_CACHE_WRAP_W::new(self, 5) } diff --git a/esp32p4/src/cache/l2_unallocate_buffer_clear.rs b/esp32p4/src/cache/l2_unallocate_buffer_clear.rs index c4c6930f12..dcecc37537 100644 --- a/esp32p4/src/cache/l2_unallocate_buffer_clear.rs +++ b/esp32p4/src/cache/l2_unallocate_buffer_clear.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 5 - The bit is used to clear the unallocate request buffer of l2 icache where the unallocate request is responsed but not completed."] #[inline(always)] - #[must_use] pub fn l2_cache_unalloc_clr( &mut self, ) -> L2_CACHE_UNALLOC_CLR_W { diff --git a/esp32p4/src/cache/lock_addr.rs b/esp32p4/src/cache/lock_addr.rs index 9d8b13b510..2853f3ad55 100644 --- a/esp32p4/src/cache/lock_addr.rs +++ b/esp32p4/src/cache/lock_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are used to configure the start virtual address of the lock/unlock operation, which should be used together with CACHE_LOCK_SIZE_REG"] #[inline(always)] - #[must_use] pub fn lock_addr(&mut self) -> LOCK_ADDR_W { LOCK_ADDR_W::new(self, 0) } diff --git a/esp32p4/src/cache/lock_ctrl.rs b/esp32p4/src/cache/lock_ctrl.rs index 78e5b42d9b..2c8f2e516e 100644 --- a/esp32p4/src/cache/lock_ctrl.rs +++ b/esp32p4/src/cache/lock_ctrl.rs @@ -52,19 +52,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable lock operation. It will be cleared by hardware after lock operation done. Note that (1) this bit and unlock_ena bit are mutually exclusive, that is, those bits can not be set to 1 at the same time. (2) lock operation can be applied on LL1-ICache, L1-DCache and L2-Cache."] #[inline(always)] - #[must_use] pub fn lock_ena(&mut self) -> LOCK_ENA_W { LOCK_ENA_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to enable unlock operation. It will be cleared by hardware after unlock operation done. Note that (1) this bit and lock_ena bit are mutually exclusive, that is, those bits can not be set to 1 at the same time. (2) unlock operation can be applied on L1-ICache, L1-DCache and L2-Cache."] #[inline(always)] - #[must_use] pub fn unlock_ena(&mut self) -> UNLOCK_ENA_W { UNLOCK_ENA_W::new(self, 1) } #[doc = "Bits 3:6 - The bit is used to set the gid of cache lock/unlock."] #[inline(always)] - #[must_use] pub fn lock_rgid(&mut self) -> LOCK_RGID_W { LOCK_RGID_W::new(self, 3) } diff --git a/esp32p4/src/cache/lock_map.rs b/esp32p4/src/cache/lock_map.rs index 855a99763c..32b7f575b1 100644 --- a/esp32p4/src/cache/lock_map.rs +++ b/esp32p4/src/cache/lock_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - Those bits are used to indicate which caches in the two-level cache structure will apply this lock/unlock operation. \\[0\\]: L1-ICache0, \\[1\\]: L1-ICache1, \\[2\\]: L1-ICache2, \\[3\\]: L1-ICache3, \\[4\\]: L1-DCache, \\[5\\]: L2-Cache."] #[inline(always)] - #[must_use] pub fn lock_map(&mut self) -> LOCK_MAP_W { LOCK_MAP_W::new(self, 0) } diff --git a/esp32p4/src/cache/lock_size.rs b/esp32p4/src/cache/lock_size.rs index c63270ffc1..fad62a50cd 100644 --- a/esp32p4/src/cache/lock_size.rs +++ b/esp32p4/src/cache/lock_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Those bits are used to configure the size of the lock/unlock operation, which should be used together with CACHE_LOCK_ADDR_REG"] #[inline(always)] - #[must_use] pub fn lock_size(&mut self) -> LOCK_SIZE_W { LOCK_SIZE_W::new(self, 0) } diff --git a/esp32p4/src/cache/redundancy_sig0.rs b/esp32p4/src/cache/redundancy_sig0.rs index b2df75fcae..a6f16ddff7 100644 --- a/esp32p4/src/cache/redundancy_sig0.rs +++ b/esp32p4/src/cache/redundancy_sig0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are prepared for ECO."] #[inline(always)] - #[must_use] pub fn redcy_sig0(&mut self) -> REDCY_SIG0_W { REDCY_SIG0_W::new(self, 0) } diff --git a/esp32p4/src/cache/redundancy_sig1.rs b/esp32p4/src/cache/redundancy_sig1.rs index dd9a1a73f4..4f5e8f1252 100644 --- a/esp32p4/src/cache/redundancy_sig1.rs +++ b/esp32p4/src/cache/redundancy_sig1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are prepared for ECO."] #[inline(always)] - #[must_use] pub fn redcy_sig1(&mut self) -> REDCY_SIG1_W { REDCY_SIG1_W::new(self, 0) } diff --git a/esp32p4/src/cache/redundancy_sig2.rs b/esp32p4/src/cache/redundancy_sig2.rs index bf0b0638b4..e36273c167 100644 --- a/esp32p4/src/cache/redundancy_sig2.rs +++ b/esp32p4/src/cache/redundancy_sig2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are prepared for ECO."] #[inline(always)] - #[must_use] pub fn redcy_sig2(&mut self) -> REDCY_SIG2_W { REDCY_SIG2_W::new(self, 0) } diff --git a/esp32p4/src/cache/redundancy_sig3.rs b/esp32p4/src/cache/redundancy_sig3.rs index 2df8ca3f6a..ea7607399e 100644 --- a/esp32p4/src/cache/redundancy_sig3.rs +++ b/esp32p4/src/cache/redundancy_sig3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are prepared for ECO."] #[inline(always)] - #[must_use] pub fn redcy_sig3(&mut self) -> REDCY_SIG3_W { REDCY_SIG3_W::new(self, 0) } diff --git a/esp32p4/src/cache/sync_addr.rs b/esp32p4/src/cache/sync_addr.rs index 054ef01250..5933ef0d37 100644 --- a/esp32p4/src/cache/sync_addr.rs +++ b/esp32p4/src/cache/sync_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits are used to configure the start virtual address of the sync operation, which should be used together with CACHE_SYNC_SIZE_REG"] #[inline(always)] - #[must_use] pub fn sync_addr(&mut self) -> SYNC_ADDR_W { SYNC_ADDR_W::new(self, 0) } diff --git a/esp32p4/src/cache/sync_ctrl.rs b/esp32p4/src/cache/sync_ctrl.rs index 3841e950b1..820e7403b6 100644 --- a/esp32p4/src/cache/sync_ctrl.rs +++ b/esp32p4/src/cache/sync_ctrl.rs @@ -72,31 +72,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable invalidate operation. It will be cleared by hardware after invalidate operation done. Note that this bit and the other sync-bits (clean_ena, writeback_ena, writeback_invalidate_ena) are mutually exclusive, that is, those bits can not be set to 1 at the same time."] #[inline(always)] - #[must_use] pub fn invalidate_ena(&mut self) -> INVALIDATE_ENA_W { INVALIDATE_ENA_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to enable clean operation. It will be cleared by hardware after clean operation done. Note that this bit and the other sync-bits (invalidate_ena, writeback_ena, writeback_invalidate_ena) are mutually exclusive, that is, those bits can not be set to 1 at the same time."] #[inline(always)] - #[must_use] pub fn clean_ena(&mut self) -> CLEAN_ENA_W { CLEAN_ENA_W::new(self, 1) } #[doc = "Bit 2 - The bit is used to enable writeback operation. It will be cleared by hardware after writeback operation done. Note that this bit and the other sync-bits (invalidate_ena, clean_ena, writeback_invalidate_ena) are mutually exclusive, that is, those bits can not be set to 1 at the same time."] #[inline(always)] - #[must_use] pub fn writeback_ena(&mut self) -> WRITEBACK_ENA_W { WRITEBACK_ENA_W::new(self, 2) } #[doc = "Bit 3 - The bit is used to enable writeback-invalidate operation. It will be cleared by hardware after writeback-invalidate operation done. Note that this bit and the other sync-bits (invalidate_ena, clean_ena, writeback_ena) are mutually exclusive, that is, those bits can not be set to 1 at the same time."] #[inline(always)] - #[must_use] pub fn writeback_invalidate_ena(&mut self) -> WRITEBACK_INVALIDATE_ENA_W { WRITEBACK_INVALIDATE_ENA_W::new(self, 3) } #[doc = "Bits 5:8 - The bit is used to set the gid of cache sync operation (invalidate, clean, writeback, writeback_invalidate)"] #[inline(always)] - #[must_use] pub fn sync_rgid(&mut self) -> SYNC_RGID_W { SYNC_RGID_W::new(self, 5) } diff --git a/esp32p4/src/cache/sync_l1_cache_preload_int_clr.rs b/esp32p4/src/cache/sync_l1_cache_preload_int_clr.rs index d377e75648..b8c5e65f7b 100644 --- a/esp32p4/src/cache/sync_l1_cache_preload_int_clr.rs +++ b/esp32p4/src/cache/sync_l1_cache_preload_int_clr.rs @@ -74,7 +74,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to clear interrupt that occurs only when L1-ICache0 preload-operation is done."] #[inline(always)] - #[must_use] pub fn l1_icache0_pld_done_int_clr( &mut self, ) -> L1_ICACHE0_PLD_DONE_INT_CLR_W { @@ -82,7 +81,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to clear interrupt that occurs only when L1-ICache1 preload-operation is done."] #[inline(always)] - #[must_use] pub fn l1_icache1_pld_done_int_clr( &mut self, ) -> L1_ICACHE1_PLD_DONE_INT_CLR_W { @@ -90,7 +88,6 @@ impl W { } #[doc = "Bit 4 - The bit is used to clear interrupt that occurs only when L1-DCache preload-operation is done."] #[inline(always)] - #[must_use] pub fn l1_dcache_pld_done_int_clr( &mut self, ) -> L1_DCACHE_PLD_DONE_INT_CLR_W { @@ -98,13 +95,11 @@ impl W { } #[doc = "Bit 6 - The bit is used to clear interrupt that occurs only when Cache sync-operation is done."] #[inline(always)] - #[must_use] pub fn sync_done_int_clr(&mut self) -> SYNC_DONE_INT_CLR_W { SYNC_DONE_INT_CLR_W::new(self, 6) } #[doc = "Bit 7 - The bit is used to clear interrupt of L1-ICache0 preload-operation error."] #[inline(always)] - #[must_use] pub fn l1_icache0_pld_err_int_clr( &mut self, ) -> L1_ICACHE0_PLD_ERR_INT_CLR_W { @@ -112,7 +107,6 @@ impl W { } #[doc = "Bit 8 - The bit is used to clear interrupt of L1-ICache1 preload-operation error."] #[inline(always)] - #[must_use] pub fn l1_icache1_pld_err_int_clr( &mut self, ) -> L1_ICACHE1_PLD_ERR_INT_CLR_W { @@ -120,7 +114,6 @@ impl W { } #[doc = "Bit 11 - The bit is used to clear interrupt of L1-DCache preload-operation error."] #[inline(always)] - #[must_use] pub fn l1_dcache_pld_err_int_clr( &mut self, ) -> L1_DCACHE_PLD_ERR_INT_CLR_W { @@ -128,7 +121,6 @@ impl W { } #[doc = "Bit 13 - The bit is used to clear interrupt of Cache sync-operation error."] #[inline(always)] - #[must_use] pub fn sync_err_int_clr(&mut self) -> SYNC_ERR_INT_CLR_W { SYNC_ERR_INT_CLR_W::new(self, 13) } diff --git a/esp32p4/src/cache/sync_l1_cache_preload_int_ena.rs b/esp32p4/src/cache/sync_l1_cache_preload_int_ena.rs index 90dcbd39ca..ab63bd6c20 100644 --- a/esp32p4/src/cache/sync_l1_cache_preload_int_ena.rs +++ b/esp32p4/src/cache/sync_l1_cache_preload_int_ena.rs @@ -156,7 +156,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable interrupt of L1-ICache0 preload-operation. If preload operation is done, interrupt occurs."] #[inline(always)] - #[must_use] pub fn l1_icache0_pld_done_int_ena( &mut self, ) -> L1_ICACHE0_PLD_DONE_INT_ENA_W { @@ -164,7 +163,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to enable interrupt of L1-ICache1 preload-operation. If preload operation is done, interrupt occurs."] #[inline(always)] - #[must_use] pub fn l1_icache1_pld_done_int_ena( &mut self, ) -> L1_ICACHE1_PLD_DONE_INT_ENA_W { @@ -172,7 +170,6 @@ impl W { } #[doc = "Bit 4 - The bit is used to enable interrupt of L1-DCache preload-operation. If preload operation is done, interrupt occurs."] #[inline(always)] - #[must_use] pub fn l1_dcache_pld_done_int_ena( &mut self, ) -> L1_DCACHE_PLD_DONE_INT_ENA_W { @@ -180,13 +177,11 @@ impl W { } #[doc = "Bit 6 - The bit is used to enable interrupt of Cache sync-operation done."] #[inline(always)] - #[must_use] pub fn sync_done_int_ena(&mut self) -> SYNC_DONE_INT_ENA_W { SYNC_DONE_INT_ENA_W::new(self, 6) } #[doc = "Bit 7 - The bit is used to enable interrupt of L1-ICache0 preload-operation error."] #[inline(always)] - #[must_use] pub fn l1_icache0_pld_err_int_ena( &mut self, ) -> L1_ICACHE0_PLD_ERR_INT_ENA_W { @@ -194,7 +189,6 @@ impl W { } #[doc = "Bit 8 - The bit is used to enable interrupt of L1-ICache1 preload-operation error."] #[inline(always)] - #[must_use] pub fn l1_icache1_pld_err_int_ena( &mut self, ) -> L1_ICACHE1_PLD_ERR_INT_ENA_W { @@ -202,7 +196,6 @@ impl W { } #[doc = "Bit 11 - The bit is used to enable interrupt of L1-DCache preload-operation error."] #[inline(always)] - #[must_use] pub fn l1_dcache_pld_err_int_ena( &mut self, ) -> L1_DCACHE_PLD_ERR_INT_ENA_W { @@ -210,7 +203,6 @@ impl W { } #[doc = "Bit 13 - The bit is used to enable interrupt of Cache sync-operation error."] #[inline(always)] - #[must_use] pub fn sync_err_int_ena(&mut self) -> SYNC_ERR_INT_ENA_W { SYNC_ERR_INT_ENA_W::new(self, 13) } diff --git a/esp32p4/src/cache/sync_l1_cache_preload_int_raw.rs b/esp32p4/src/cache/sync_l1_cache_preload_int_raw.rs index 905e9b32ab..b55991b20e 100644 --- a/esp32p4/src/cache/sync_l1_cache_preload_int_raw.rs +++ b/esp32p4/src/cache/sync_l1_cache_preload_int_raw.rs @@ -164,7 +164,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw bit of the interrupt that occurs only when L1-ICache0 preload-operation is done."] #[inline(always)] - #[must_use] pub fn l1_icache0_pld_done_int_raw( &mut self, ) -> L1_ICACHE0_PLD_DONE_INT_RAW_W { @@ -172,7 +171,6 @@ impl W { } #[doc = "Bit 1 - The raw bit of the interrupt that occurs only when L1-ICache1 preload-operation is done."] #[inline(always)] - #[must_use] pub fn l1_icache1_pld_done_int_raw( &mut self, ) -> L1_ICACHE1_PLD_DONE_INT_RAW_W { @@ -180,7 +178,6 @@ impl W { } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn l1_icache2_pld_done_int_raw( &mut self, ) -> L1_ICACHE2_PLD_DONE_INT_RAW_W { @@ -188,7 +185,6 @@ impl W { } #[doc = "Bit 3 - Reserved"] #[inline(always)] - #[must_use] pub fn l1_icache3_pld_done_int_raw( &mut self, ) -> L1_ICACHE3_PLD_DONE_INT_RAW_W { @@ -196,7 +192,6 @@ impl W { } #[doc = "Bit 4 - The raw bit of the interrupt that occurs only when L1-DCache preload-operation is done."] #[inline(always)] - #[must_use] pub fn l1_dcache_pld_done_int_raw( &mut self, ) -> L1_DCACHE_PLD_DONE_INT_RAW_W { @@ -204,13 +199,11 @@ impl W { } #[doc = "Bit 6 - The raw bit of the interrupt that occurs only when Cache sync-operation is done."] #[inline(always)] - #[must_use] pub fn sync_done_int_raw(&mut self) -> SYNC_DONE_INT_RAW_W { SYNC_DONE_INT_RAW_W::new(self, 6) } #[doc = "Bit 7 - The raw bit of the interrupt that occurs only when L1-ICache0 preload-operation error occurs."] #[inline(always)] - #[must_use] pub fn l1_icache0_pld_err_int_raw( &mut self, ) -> L1_ICACHE0_PLD_ERR_INT_RAW_W { @@ -218,7 +211,6 @@ impl W { } #[doc = "Bit 8 - The raw bit of the interrupt that occurs only when L1-ICache1 preload-operation error occurs."] #[inline(always)] - #[must_use] pub fn l1_icache1_pld_err_int_raw( &mut self, ) -> L1_ICACHE1_PLD_ERR_INT_RAW_W { @@ -226,7 +218,6 @@ impl W { } #[doc = "Bit 9 - Reserved"] #[inline(always)] - #[must_use] pub fn l1_icache2_pld_err_int_raw( &mut self, ) -> L1_ICACHE2_PLD_ERR_INT_RAW_W { @@ -234,7 +225,6 @@ impl W { } #[doc = "Bit 10 - Reserved"] #[inline(always)] - #[must_use] pub fn l1_icache3_pld_err_int_raw( &mut self, ) -> L1_ICACHE3_PLD_ERR_INT_RAW_W { @@ -242,7 +232,6 @@ impl W { } #[doc = "Bit 11 - The raw bit of the interrupt that occurs only when L1-DCache preload-operation error occurs."] #[inline(always)] - #[must_use] pub fn l1_dcache_pld_err_int_raw( &mut self, ) -> L1_DCACHE_PLD_ERR_INT_RAW_W { @@ -250,7 +239,6 @@ impl W { } #[doc = "Bit 13 - The raw bit of the interrupt that occurs only when Cache sync-operation error occurs."] #[inline(always)] - #[must_use] pub fn sync_err_int_raw(&mut self) -> SYNC_ERR_INT_RAW_W { SYNC_ERR_INT_RAW_W::new(self, 13) } diff --git a/esp32p4/src/cache/sync_map.rs b/esp32p4/src/cache/sync_map.rs index 9ae9810883..de6ca1cd26 100644 --- a/esp32p4/src/cache/sync_map.rs +++ b/esp32p4/src/cache/sync_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - Those bits are used to indicate which caches in the two-level cache structure will apply the sync operation. \\[0\\]: L1-ICache0, \\[1\\]: L1-ICache1, \\[2\\]: L1-ICache2, \\[3\\]: L1-ICache3, \\[4\\]: L1-DCache, \\[5\\]: L2-Cache."] #[inline(always)] - #[must_use] pub fn sync_map(&mut self) -> SYNC_MAP_W { SYNC_MAP_W::new(self, 0) } diff --git a/esp32p4/src/cache/sync_size.rs b/esp32p4/src/cache/sync_size.rs index ecfbe94f61..a3c1a0b29b 100644 --- a/esp32p4/src/cache/sync_size.rs +++ b/esp32p4/src/cache/sync_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Those bits are used to configure the size of the sync operation, which should be used together with CACHE_SYNC_ADDR_REG"] #[inline(always)] - #[must_use] pub fn sync_size(&mut self) -> SYNC_SIZE_W { SYNC_SIZE_W::new(self, 0) } diff --git a/esp32p4/src/dma.rs b/esp32p4/src/dma.rs index a73aa5f529..8cca1e21c6 100644 --- a/esp32p4/src/dma.rs +++ b/esp32p4/src/dma.rs @@ -95,6 +95,8 @@ impl RegisterBlock { &self.lowpower_cfg1 } #[doc = "0x100..0x500 - Cluster CH%s, containing CH?_SAR0, CH?_SAR1, CH?_DAR0, CH?_DAR1, CH?_BLOCK_TS0, CH?_CTL0, CH?_CTL1, CH?_CFG0, CH?_CFG1, CH?_LLP0, CH?_LLP1, CH?_STATUS0, CH?_STATUS1, CH?_SWHSSRC0, CH?_SWHSDST0, CH?_BLK_TFR_RESUMEREQ0, CH?_AXI_ID0, CH?_AXI_QOS0, CH?_SSTAT0, CH?_DSTAT0, CH?_SSTATAR0, CH?_SSTATAR1, CH?_DSTATAR0, CH?_DSTATAR1, CH?_INTSTATUS_ENABLE0, CH?_INTSTATUS_ENABLE1, CH?_INTSTATUS0, CH?_INTSTATUS1, CH?_INTSIGNAL_ENABLE0, CH?_INTSIGNAL_ENABLE1, CH?_INTCLEAR0, CH?_INTCLEAR1"] + #[doc = ""] + #[doc = "
`n` is the index of cluster in the array. `n == 0` corresponds to `CH1` cluster.
"] #[inline(always)] pub const fn ch(&self, n: usize) -> &CH { &self.ch[n] diff --git a/esp32p4/src/dma/cfg0.rs b/esp32p4/src/dma/cfg0.rs index 177629bceb..a4adcd2616 100644 --- a/esp32p4/src/dma/cfg0.rs +++ b/esp32p4/src/dma/cfg0.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn dmac_en(&mut self) -> DMAC_EN_W { DMAC_EN_W::new(self, 0) } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn int_en(&mut self) -> INT_EN_W { INT_EN_W::new(self, 1) } diff --git a/esp32p4/src/dma/ch/axi_id0.rs b/esp32p4/src/dma/ch/axi_id0.rs index dd2a44d4c7..3821bf582b 100644 --- a/esp32p4/src/dma/ch/axi_id0.rs +++ b/esp32p4/src/dma/ch/axi_id0.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn ch1_axi_read_id_suffix(&mut self) -> CH1_AXI_READ_ID_SUFFIX_W { CH1_AXI_READ_ID_SUFFIX_W::new(self, 0) } #[doc = "Bit 16 - NA"] #[inline(always)] - #[must_use] pub fn ch1_axi_write_id_suffix(&mut self) -> CH1_AXI_WRITE_ID_SUFFIX_W { CH1_AXI_WRITE_ID_SUFFIX_W::new(self, 16) } diff --git a/esp32p4/src/dma/ch/axi_qos0.rs b/esp32p4/src/dma/ch/axi_qos0.rs index 0f38c6dda1..8e8d699ae3 100644 --- a/esp32p4/src/dma/ch/axi_qos0.rs +++ b/esp32p4/src/dma/ch/axi_qos0.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - NA"] #[inline(always)] - #[must_use] pub fn ch1_axi_awqos(&mut self) -> CH1_AXI_AWQOS_W { CH1_AXI_AWQOS_W::new(self, 0) } #[doc = "Bits 4:7 - NA"] #[inline(always)] - #[must_use] pub fn ch1_axi_arqos(&mut self) -> CH1_AXI_ARQOS_W { CH1_AXI_ARQOS_W::new(self, 4) } diff --git a/esp32p4/src/dma/ch/blk_tfr_resumereq0.rs b/esp32p4/src/dma/ch/blk_tfr_resumereq0.rs index a337737647..88c387f8e4 100644 --- a/esp32p4/src/dma/ch/blk_tfr_resumereq0.rs +++ b/esp32p4/src/dma/ch/blk_tfr_resumereq0.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn ch1_blk_tfr_resumereq(&mut self) -> CH1_BLK_TFR_RESUMEREQ_W { CH1_BLK_TFR_RESUMEREQ_W::new(self, 0) } diff --git a/esp32p4/src/dma/ch/block_ts0.rs b/esp32p4/src/dma/ch/block_ts0.rs index 53274c89ac..1ea56bac57 100644 --- a/esp32p4/src/dma/ch/block_ts0.rs +++ b/esp32p4/src/dma/ch/block_ts0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - NA"] #[inline(always)] - #[must_use] pub fn ch1_block_ts(&mut self) -> CH1_BLOCK_TS_W { CH1_BLOCK_TS_W::new(self, 0) } diff --git a/esp32p4/src/dma/ch/cfg0.rs b/esp32p4/src/dma/ch/cfg0.rs index be47413975..3bfb49d1f7 100644 --- a/esp32p4/src/dma/ch/cfg0.rs +++ b/esp32p4/src/dma/ch/cfg0.rs @@ -50,13 +50,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - NA"] #[inline(always)] - #[must_use] pub fn ch1_src_multblk_type(&mut self) -> CH1_SRC_MULTBLK_TYPE_W { CH1_SRC_MULTBLK_TYPE_W::new(self, 0) } #[doc = "Bits 2:3 - NA"] #[inline(always)] - #[must_use] pub fn ch1_dst_multblk_type(&mut self) -> CH1_DST_MULTBLK_TYPE_W { CH1_DST_MULTBLK_TYPE_W::new(self, 2) } diff --git a/esp32p4/src/dma/ch/cfg1.rs b/esp32p4/src/dma/ch/cfg1.rs index 7634f45b67..6e9c32afed 100644 --- a/esp32p4/src/dma/ch/cfg1.rs +++ b/esp32p4/src/dma/ch/cfg1.rs @@ -126,49 +126,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - NA"] #[inline(always)] - #[must_use] pub fn ch1_tt_fc(&mut self) -> CH1_TT_FC_W { CH1_TT_FC_W::new(self, 0) } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn ch1_hs_sel_src(&mut self) -> CH1_HS_SEL_SRC_W { CH1_HS_SEL_SRC_W::new(self, 3) } #[doc = "Bit 4 - NA"] #[inline(always)] - #[must_use] pub fn ch1_hs_sel_dst(&mut self) -> CH1_HS_SEL_DST_W { CH1_HS_SEL_DST_W::new(self, 4) } #[doc = "Bits 7:8 - NA"] #[inline(always)] - #[must_use] pub fn ch1_src_per(&mut self) -> CH1_SRC_PER_W { CH1_SRC_PER_W::new(self, 7) } #[doc = "Bits 12:13 - NA"] #[inline(always)] - #[must_use] pub fn ch1_dst_per(&mut self) -> CH1_DST_PER_W { CH1_DST_PER_W::new(self, 12) } #[doc = "Bits 17:19 - NA"] #[inline(always)] - #[must_use] pub fn ch1_ch_prior(&mut self) -> CH1_CH_PRIOR_W { CH1_CH_PRIOR_W::new(self, 17) } #[doc = "Bits 23:26 - NA"] #[inline(always)] - #[must_use] pub fn ch1_src_osr_lmt(&mut self) -> CH1_SRC_OSR_LMT_W { CH1_SRC_OSR_LMT_W::new(self, 23) } #[doc = "Bits 27:30 - NA"] #[inline(always)] - #[must_use] pub fn ch1_dst_osr_lmt(&mut self) -> CH1_DST_OSR_LMT_W { CH1_DST_OSR_LMT_W::new(self, 27) } diff --git a/esp32p4/src/dma/ch/ctl0.rs b/esp32p4/src/dma/ch/ctl0.rs index 99045f1253..1620eef9c2 100644 --- a/esp32p4/src/dma/ch/ctl0.rs +++ b/esp32p4/src/dma/ch/ctl0.rs @@ -127,67 +127,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn ch1_sms(&mut self) -> CH1_SMS_W { CH1_SMS_W::new(self, 0) } #[doc = "Bit 2 - NA"] #[inline(always)] - #[must_use] pub fn ch1_dms(&mut self) -> CH1_DMS_W { CH1_DMS_W::new(self, 2) } #[doc = "Bit 4 - NA"] #[inline(always)] - #[must_use] pub fn ch1_sinc(&mut self) -> CH1_SINC_W { CH1_SINC_W::new(self, 4) } #[doc = "Bit 6 - NA"] #[inline(always)] - #[must_use] pub fn ch1_dinc(&mut self) -> CH1_DINC_W { CH1_DINC_W::new(self, 6) } #[doc = "Bits 8:10 - NA"] #[inline(always)] - #[must_use] pub fn ch1_src_tr_width(&mut self) -> CH1_SRC_TR_WIDTH_W { CH1_SRC_TR_WIDTH_W::new(self, 8) } #[doc = "Bits 11:13 - NA"] #[inline(always)] - #[must_use] pub fn ch1_dst_tr_width(&mut self) -> CH1_DST_TR_WIDTH_W { CH1_DST_TR_WIDTH_W::new(self, 11) } #[doc = "Bits 14:17 - NA"] #[inline(always)] - #[must_use] pub fn ch1_src_msize(&mut self) -> CH1_SRC_MSIZE_W { CH1_SRC_MSIZE_W::new(self, 14) } #[doc = "Bits 18:21 - NA"] #[inline(always)] - #[must_use] pub fn ch1_dst_msize(&mut self) -> CH1_DST_MSIZE_W { CH1_DST_MSIZE_W::new(self, 18) } #[doc = "Bits 22:25 - NA"] #[inline(always)] - #[must_use] pub fn ch1_ar_cache(&mut self) -> CH1_AR_CACHE_W { CH1_AR_CACHE_W::new(self, 22) } #[doc = "Bits 26:29 - NA"] #[inline(always)] - #[must_use] pub fn ch1_aw_cache(&mut self) -> CH1_AW_CACHE_W { CH1_AW_CACHE_W::new(self, 26) } #[doc = "Bit 30 - NA"] #[inline(always)] - #[must_use] pub fn ch1_nonposted_lastwrite_en(&mut self) -> CH1_NONPOSTED_LASTWRITE_EN_W { CH1_NONPOSTED_LASTWRITE_EN_W::new(self, 30) } diff --git a/esp32p4/src/dma/ch/ctl1.rs b/esp32p4/src/dma/ch/ctl1.rs index dc639059eb..17ec86ac1d 100644 --- a/esp32p4/src/dma/ch/ctl1.rs +++ b/esp32p4/src/dma/ch/ctl1.rs @@ -130,67 +130,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - NA"] #[inline(always)] - #[must_use] pub fn ch1_ar_prot(&mut self) -> CH1_AR_PROT_W { CH1_AR_PROT_W::new(self, 0) } #[doc = "Bits 3:5 - NA"] #[inline(always)] - #[must_use] pub fn ch1_aw_prot(&mut self) -> CH1_AW_PROT_W { CH1_AW_PROT_W::new(self, 3) } #[doc = "Bit 6 - NA"] #[inline(always)] - #[must_use] pub fn ch1_arlen_en(&mut self) -> CH1_ARLEN_EN_W { CH1_ARLEN_EN_W::new(self, 6) } #[doc = "Bits 7:14 - NA"] #[inline(always)] - #[must_use] pub fn ch1_arlen(&mut self) -> CH1_ARLEN_W { CH1_ARLEN_W::new(self, 7) } #[doc = "Bit 15 - NA"] #[inline(always)] - #[must_use] pub fn ch1_awlen_en(&mut self) -> CH1_AWLEN_EN_W { CH1_AWLEN_EN_W::new(self, 15) } #[doc = "Bits 16:23 - NA"] #[inline(always)] - #[must_use] pub fn ch1_awlen(&mut self) -> CH1_AWLEN_W { CH1_AWLEN_W::new(self, 16) } #[doc = "Bit 24 - NA"] #[inline(always)] - #[must_use] pub fn ch1_src_stat_en(&mut self) -> CH1_SRC_STAT_EN_W { CH1_SRC_STAT_EN_W::new(self, 24) } #[doc = "Bit 25 - NA"] #[inline(always)] - #[must_use] pub fn ch1_dst_stat_en(&mut self) -> CH1_DST_STAT_EN_W { CH1_DST_STAT_EN_W::new(self, 25) } #[doc = "Bit 26 - NA"] #[inline(always)] - #[must_use] pub fn ch1_ioc_blktfr(&mut self) -> CH1_IOC_BLKTFR_W { CH1_IOC_BLKTFR_W::new(self, 26) } #[doc = "Bit 30 - NA"] #[inline(always)] - #[must_use] pub fn ch1_shadowreg_or_lli_last(&mut self) -> CH1_SHADOWREG_OR_LLI_LAST_W { CH1_SHADOWREG_OR_LLI_LAST_W::new(self, 30) } #[doc = "Bit 31 - NA"] #[inline(always)] - #[must_use] pub fn ch1_shadowreg_or_lli_valid(&mut self) -> CH1_SHADOWREG_OR_LLI_VALID_W { CH1_SHADOWREG_OR_LLI_VALID_W::new(self, 31) } diff --git a/esp32p4/src/dma/ch/dar0.rs b/esp32p4/src/dma/ch/dar0.rs index 61557d86c1..2eefe0fcb5 100644 --- a/esp32p4/src/dma/ch/dar0.rs +++ b/esp32p4/src/dma/ch/dar0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - NA"] #[inline(always)] - #[must_use] pub fn ch1_dar0(&mut self) -> CH1_DAR0_W { CH1_DAR0_W::new(self, 0) } diff --git a/esp32p4/src/dma/ch/dar1.rs b/esp32p4/src/dma/ch/dar1.rs index b4d94b88e9..836e81aad7 100644 --- a/esp32p4/src/dma/ch/dar1.rs +++ b/esp32p4/src/dma/ch/dar1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - NA"] #[inline(always)] - #[must_use] pub fn ch1_dar1(&mut self) -> CH1_DAR1_W { CH1_DAR1_W::new(self, 0) } diff --git a/esp32p4/src/dma/ch/dstatar0.rs b/esp32p4/src/dma/ch/dstatar0.rs index 98898a8ca8..9119836dde 100644 --- a/esp32p4/src/dma/ch/dstatar0.rs +++ b/esp32p4/src/dma/ch/dstatar0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - NA"] #[inline(always)] - #[must_use] pub fn ch1_dstatar0(&mut self) -> CH1_DSTATAR0_W { CH1_DSTATAR0_W::new(self, 0) } diff --git a/esp32p4/src/dma/ch/dstatar1.rs b/esp32p4/src/dma/ch/dstatar1.rs index 77196b08bf..03ec5f6965 100644 --- a/esp32p4/src/dma/ch/dstatar1.rs +++ b/esp32p4/src/dma/ch/dstatar1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - NA"] #[inline(always)] - #[must_use] pub fn ch1_dstatar1(&mut self) -> CH1_DSTATAR1_W { CH1_DSTATAR1_W::new(self, 0) } diff --git a/esp32p4/src/dma/ch/intclear0.rs b/esp32p4/src/dma/ch/intclear0.rs index 9d223c1710..c7cb8b690f 100644 --- a/esp32p4/src/dma/ch/intclear0.rs +++ b/esp32p4/src/dma/ch/intclear0.rs @@ -61,7 +61,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn ch1_clear_block_tfr_done_intstat( &mut self, ) -> CH1_CLEAR_BLOCK_TFR_DONE_INTSTAT_W { @@ -69,7 +68,6 @@ impl W { } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn ch1_clear_dma_tfr_done_intstat( &mut self, ) -> CH1_CLEAR_DMA_TFR_DONE_INTSTAT_W { @@ -77,7 +75,6 @@ impl W { } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn ch1_clear_src_transcomp_intstat( &mut self, ) -> CH1_CLEAR_SRC_TRANSCOMP_INTSTAT_W { @@ -85,7 +82,6 @@ impl W { } #[doc = "Bit 4 - NA"] #[inline(always)] - #[must_use] pub fn ch1_clear_dst_transcomp_intstat( &mut self, ) -> CH1_CLEAR_DST_TRANSCOMP_INTSTAT_W { @@ -93,7 +89,6 @@ impl W { } #[doc = "Bit 5 - NA"] #[inline(always)] - #[must_use] pub fn ch1_clear_src_dec_err_intstat( &mut self, ) -> CH1_CLEAR_SRC_DEC_ERR_INTSTAT_W { @@ -101,7 +96,6 @@ impl W { } #[doc = "Bit 6 - NA"] #[inline(always)] - #[must_use] pub fn ch1_clear_dst_dec_err_intstat( &mut self, ) -> CH1_CLEAR_DST_DEC_ERR_INTSTAT_W { @@ -109,7 +103,6 @@ impl W { } #[doc = "Bit 7 - NA"] #[inline(always)] - #[must_use] pub fn ch1_clear_src_slv_err_intstat( &mut self, ) -> CH1_CLEAR_SRC_SLV_ERR_INTSTAT_W { @@ -117,7 +110,6 @@ impl W { } #[doc = "Bit 8 - NA"] #[inline(always)] - #[must_use] pub fn ch1_clear_dst_slv_err_intstat( &mut self, ) -> CH1_CLEAR_DST_SLV_ERR_INTSTAT_W { @@ -125,7 +117,6 @@ impl W { } #[doc = "Bit 9 - NA"] #[inline(always)] - #[must_use] pub fn ch1_clear_lli_rd_dec_err_intstat( &mut self, ) -> CH1_CLEAR_LLI_RD_DEC_ERR_INTSTAT_W { @@ -133,7 +124,6 @@ impl W { } #[doc = "Bit 10 - NA"] #[inline(always)] - #[must_use] pub fn ch1_clear_lli_wr_dec_err_intstat( &mut self, ) -> CH1_CLEAR_LLI_WR_DEC_ERR_INTSTAT_W { @@ -141,7 +131,6 @@ impl W { } #[doc = "Bit 11 - NA"] #[inline(always)] - #[must_use] pub fn ch1_clear_lli_rd_slv_err_intstat( &mut self, ) -> CH1_CLEAR_LLI_RD_SLV_ERR_INTSTAT_W { @@ -149,7 +138,6 @@ impl W { } #[doc = "Bit 12 - NA"] #[inline(always)] - #[must_use] pub fn ch1_clear_lli_wr_slv_err_intstat( &mut self, ) -> CH1_CLEAR_LLI_WR_SLV_ERR_INTSTAT_W { @@ -157,7 +145,6 @@ impl W { } #[doc = "Bit 13 - NA"] #[inline(always)] - #[must_use] pub fn ch1_clear_shadowreg_or_lli_invalid_err_intstat( &mut self, ) -> CH1_CLEAR_SHADOWREG_OR_LLI_INVALID_ERR_INTSTAT_W { @@ -165,7 +152,6 @@ impl W { } #[doc = "Bit 14 - NA"] #[inline(always)] - #[must_use] pub fn ch1_clear_slvif_multiblktype_err_intstat( &mut self, ) -> CH1_CLEAR_SLVIF_MULTIBLKTYPE_ERR_INTSTAT_W { @@ -173,7 +159,6 @@ impl W { } #[doc = "Bit 16 - NA"] #[inline(always)] - #[must_use] pub fn ch1_clear_slvif_dec_err_intstat( &mut self, ) -> CH1_CLEAR_SLVIF_DEC_ERR_INTSTAT_W { @@ -181,7 +166,6 @@ impl W { } #[doc = "Bit 17 - NA"] #[inline(always)] - #[must_use] pub fn ch1_clear_slvif_wr2ro_err_intstat( &mut self, ) -> CH1_CLEAR_SLVIF_WR2RO_ERR_INTSTAT_W { @@ -189,7 +173,6 @@ impl W { } #[doc = "Bit 18 - NA"] #[inline(always)] - #[must_use] pub fn ch1_clear_slvif_rd2rwo_err_intstat( &mut self, ) -> CH1_CLEAR_SLVIF_RD2RWO_ERR_INTSTAT_W { @@ -197,7 +180,6 @@ impl W { } #[doc = "Bit 19 - NA"] #[inline(always)] - #[must_use] pub fn ch1_clear_slvif_wronchen_err_intstat( &mut self, ) -> CH1_CLEAR_SLVIF_WRONCHEN_ERR_INTSTAT_W { @@ -205,7 +187,6 @@ impl W { } #[doc = "Bit 20 - NA"] #[inline(always)] - #[must_use] pub fn ch1_clear_slvif_shadowreg_wron_valid_err_intstat( &mut self, ) -> CH1_CLEAR_SLVIF_SHADOWREG_WRON_VALID_ERR_INTSTAT_W { @@ -213,7 +194,6 @@ impl W { } #[doc = "Bit 21 - NA"] #[inline(always)] - #[must_use] pub fn ch1_clear_slvif_wronhold_err_intstat( &mut self, ) -> CH1_CLEAR_SLVIF_WRONHOLD_ERR_INTSTAT_W { @@ -221,7 +201,6 @@ impl W { } #[doc = "Bit 25 - NA"] #[inline(always)] - #[must_use] pub fn ch1_clear_slvif_wrparity_err_intstat( &mut self, ) -> CH1_CLEAR_SLVIF_WRPARITY_ERR_INTSTAT_W { @@ -229,7 +208,6 @@ impl W { } #[doc = "Bit 27 - NA"] #[inline(always)] - #[must_use] pub fn ch1_clear_ch_lock_cleared_intstat( &mut self, ) -> CH1_CLEAR_CH_LOCK_CLEARED_INTSTAT_W { @@ -237,7 +215,6 @@ impl W { } #[doc = "Bit 28 - NA"] #[inline(always)] - #[must_use] pub fn ch1_clear_ch_src_suspended_intstat( &mut self, ) -> CH1_CLEAR_CH_SRC_SUSPENDED_INTSTAT_W { @@ -245,7 +222,6 @@ impl W { } #[doc = "Bit 29 - NA"] #[inline(always)] - #[must_use] pub fn ch1_clear_ch_suspended_intstat( &mut self, ) -> CH1_CLEAR_CH_SUSPENDED_INTSTAT_W { @@ -253,7 +229,6 @@ impl W { } #[doc = "Bit 30 - NA"] #[inline(always)] - #[must_use] pub fn ch1_clear_ch_disabled_intstat( &mut self, ) -> CH1_CLEAR_CH_DISABLED_INTSTAT_W { @@ -261,7 +236,6 @@ impl W { } #[doc = "Bit 31 - NA"] #[inline(always)] - #[must_use] pub fn ch1_clear_ch_aborted_intstat( &mut self, ) -> CH1_CLEAR_CH_ABORTED_INTSTAT_W { diff --git a/esp32p4/src/dma/ch/intclear1.rs b/esp32p4/src/dma/ch/intclear1.rs index 14291b71cc..94a385715b 100644 --- a/esp32p4/src/dma/ch/intclear1.rs +++ b/esp32p4/src/dma/ch/intclear1.rs @@ -17,7 +17,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn ch1_clear_ecc_prot_chmem_correrr_intstat( &mut self, ) -> CH1_CLEAR_ECC_PROT_CHMEM_CORRERR_INTSTAT_W { @@ -25,7 +24,6 @@ impl W { } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn ch1_clear_ecc_prot_chmem_uncorrerr_intstat( &mut self, ) -> CH1_CLEAR_ECC_PROT_CHMEM_UNCORRERR_INTSTAT_W { @@ -33,7 +31,6 @@ impl W { } #[doc = "Bit 2 - NA"] #[inline(always)] - #[must_use] pub fn ch1_clear_ecc_prot_uidmem_correrr_intstat( &mut self, ) -> CH1_CLEAR_ECC_PROT_UIDMEM_CORRERR_INTSTAT_W { @@ -41,7 +38,6 @@ impl W { } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn ch1_clear_ecc_prot_uidmem_uncorrerr_intstat( &mut self, ) -> CH1_CLEAR_ECC_PROT_UIDMEM_UNCORRERR_INTSTAT_W { diff --git a/esp32p4/src/dma/ch/intsignal_enable0.rs b/esp32p4/src/dma/ch/intsignal_enable0.rs index 19d7ea5b90..1fadd3f905 100644 --- a/esp32p4/src/dma/ch/intsignal_enable0.rs +++ b/esp32p4/src/dma/ch/intsignal_enable0.rs @@ -362,7 +362,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_block_tfr_done_intsignal( &mut self, ) -> CH1_ENABLE_BLOCK_TFR_DONE_INTSIGNAL_W { @@ -370,7 +369,6 @@ impl W { } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_dma_tfr_done_intsignal( &mut self, ) -> CH1_ENABLE_DMA_TFR_DONE_INTSIGNAL_W { @@ -378,7 +376,6 @@ impl W { } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_src_transcomp_intsignal( &mut self, ) -> CH1_ENABLE_SRC_TRANSCOMP_INTSIGNAL_W { @@ -386,7 +383,6 @@ impl W { } #[doc = "Bit 4 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_dst_transcomp_intsignal( &mut self, ) -> CH1_ENABLE_DST_TRANSCOMP_INTSIGNAL_W { @@ -394,7 +390,6 @@ impl W { } #[doc = "Bit 5 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_src_dec_err_intsignal( &mut self, ) -> CH1_ENABLE_SRC_DEC_ERR_INTSIGNAL_W { @@ -402,7 +397,6 @@ impl W { } #[doc = "Bit 6 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_dst_dec_err_intsignal( &mut self, ) -> CH1_ENABLE_DST_DEC_ERR_INTSIGNAL_W { @@ -410,7 +404,6 @@ impl W { } #[doc = "Bit 7 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_src_slv_err_intsignal( &mut self, ) -> CH1_ENABLE_SRC_SLV_ERR_INTSIGNAL_W { @@ -418,7 +411,6 @@ impl W { } #[doc = "Bit 8 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_dst_slv_err_intsignal( &mut self, ) -> CH1_ENABLE_DST_SLV_ERR_INTSIGNAL_W { @@ -426,7 +418,6 @@ impl W { } #[doc = "Bit 9 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_lli_rd_dec_err_intsignal( &mut self, ) -> CH1_ENABLE_LLI_RD_DEC_ERR_INTSIGNAL_W { @@ -434,7 +425,6 @@ impl W { } #[doc = "Bit 10 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_lli_wr_dec_err_intsignal( &mut self, ) -> CH1_ENABLE_LLI_WR_DEC_ERR_INTSIGNAL_W { @@ -442,7 +432,6 @@ impl W { } #[doc = "Bit 11 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_lli_rd_slv_err_intsignal( &mut self, ) -> CH1_ENABLE_LLI_RD_SLV_ERR_INTSIGNAL_W { @@ -450,7 +439,6 @@ impl W { } #[doc = "Bit 12 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_lli_wr_slv_err_intsignal( &mut self, ) -> CH1_ENABLE_LLI_WR_SLV_ERR_INTSIGNAL_W { @@ -458,7 +446,6 @@ impl W { } #[doc = "Bit 13 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_shadowreg_or_lli_invalid_err_intsignal( &mut self, ) -> CH1_ENABLE_SHADOWREG_OR_LLI_INVALID_ERR_INTSIGNAL_W { @@ -466,7 +453,6 @@ impl W { } #[doc = "Bit 14 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_slvif_multiblktype_err_intsignal( &mut self, ) -> CH1_ENABLE_SLVIF_MULTIBLKTYPE_ERR_INTSIGNAL_W { @@ -474,7 +460,6 @@ impl W { } #[doc = "Bit 16 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_slvif_dec_err_intsignal( &mut self, ) -> CH1_ENABLE_SLVIF_DEC_ERR_INTSIGNAL_W { @@ -482,7 +467,6 @@ impl W { } #[doc = "Bit 17 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_slvif_wr2ro_err_intsignal( &mut self, ) -> CH1_ENABLE_SLVIF_WR2RO_ERR_INTSIGNAL_W { @@ -490,7 +474,6 @@ impl W { } #[doc = "Bit 18 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_slvif_rd2rwo_err_intsignal( &mut self, ) -> CH1_ENABLE_SLVIF_RD2RWO_ERR_INTSIGNAL_W { @@ -498,7 +481,6 @@ impl W { } #[doc = "Bit 19 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_slvif_wronchen_err_intsignal( &mut self, ) -> CH1_ENABLE_SLVIF_WRONCHEN_ERR_INTSIGNAL_W { @@ -506,7 +488,6 @@ impl W { } #[doc = "Bit 20 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_slvif_shadowreg_wron_valid_err_intsignal( &mut self, ) -> CH1_ENABLE_SLVIF_SHADOWREG_WRON_VALID_ERR_INTSIGNAL_W { @@ -514,7 +495,6 @@ impl W { } #[doc = "Bit 21 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_slvif_wronhold_err_intsignal( &mut self, ) -> CH1_ENABLE_SLVIF_WRONHOLD_ERR_INTSIGNAL_W { @@ -522,7 +502,6 @@ impl W { } #[doc = "Bit 27 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_ch_lock_cleared_intsignal( &mut self, ) -> CH1_ENABLE_CH_LOCK_CLEARED_INTSIGNAL_W { @@ -530,7 +509,6 @@ impl W { } #[doc = "Bit 28 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_ch_src_suspended_intsignal( &mut self, ) -> CH1_ENABLE_CH_SRC_SUSPENDED_INTSIGNAL_W { @@ -538,7 +516,6 @@ impl W { } #[doc = "Bit 29 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_ch_suspended_intsignal( &mut self, ) -> CH1_ENABLE_CH_SUSPENDED_INTSIGNAL_W { @@ -546,7 +523,6 @@ impl W { } #[doc = "Bit 30 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_ch_disabled_intsignal( &mut self, ) -> CH1_ENABLE_CH_DISABLED_INTSIGNAL_W { @@ -554,7 +530,6 @@ impl W { } #[doc = "Bit 31 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_ch_aborted_intsignal( &mut self, ) -> CH1_ENABLE_CH_ABORTED_INTSIGNAL_W { diff --git a/esp32p4/src/dma/ch/intstatus_enable0.rs b/esp32p4/src/dma/ch/intstatus_enable0.rs index 5951ee6054..81fb4a423f 100644 --- a/esp32p4/src/dma/ch/intstatus_enable0.rs +++ b/esp32p4/src/dma/ch/intstatus_enable0.rs @@ -356,7 +356,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_block_tfr_done_intstat( &mut self, ) -> CH1_ENABLE_BLOCK_TFR_DONE_INTSTAT_W { @@ -364,7 +363,6 @@ impl W { } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_dma_tfr_done_intstat( &mut self, ) -> CH1_ENABLE_DMA_TFR_DONE_INTSTAT_W { @@ -372,7 +370,6 @@ impl W { } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_src_transcomp_intstat( &mut self, ) -> CH1_ENABLE_SRC_TRANSCOMP_INTSTAT_W { @@ -380,7 +377,6 @@ impl W { } #[doc = "Bit 4 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_dst_transcomp_intstat( &mut self, ) -> CH1_ENABLE_DST_TRANSCOMP_INTSTAT_W { @@ -388,7 +384,6 @@ impl W { } #[doc = "Bit 5 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_src_dec_err_intstat( &mut self, ) -> CH1_ENABLE_SRC_DEC_ERR_INTSTAT_W { @@ -396,7 +391,6 @@ impl W { } #[doc = "Bit 6 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_dst_dec_err_intstat( &mut self, ) -> CH1_ENABLE_DST_DEC_ERR_INTSTAT_W { @@ -404,7 +398,6 @@ impl W { } #[doc = "Bit 7 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_src_slv_err_intstat( &mut self, ) -> CH1_ENABLE_SRC_SLV_ERR_INTSTAT_W { @@ -412,7 +405,6 @@ impl W { } #[doc = "Bit 8 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_dst_slv_err_intstat( &mut self, ) -> CH1_ENABLE_DST_SLV_ERR_INTSTAT_W { @@ -420,7 +412,6 @@ impl W { } #[doc = "Bit 9 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_lli_rd_dec_err_intstat( &mut self, ) -> CH1_ENABLE_LLI_RD_DEC_ERR_INTSTAT_W { @@ -428,7 +419,6 @@ impl W { } #[doc = "Bit 10 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_lli_wr_dec_err_intstat( &mut self, ) -> CH1_ENABLE_LLI_WR_DEC_ERR_INTSTAT_W { @@ -436,7 +426,6 @@ impl W { } #[doc = "Bit 11 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_lli_rd_slv_err_intstat( &mut self, ) -> CH1_ENABLE_LLI_RD_SLV_ERR_INTSTAT_W { @@ -444,7 +433,6 @@ impl W { } #[doc = "Bit 12 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_lli_wr_slv_err_intstat( &mut self, ) -> CH1_ENABLE_LLI_WR_SLV_ERR_INTSTAT_W { @@ -452,7 +440,6 @@ impl W { } #[doc = "Bit 13 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_shadowreg_or_lli_invalid_err_intstat( &mut self, ) -> CH1_ENABLE_SHADOWREG_OR_LLI_INVALID_ERR_INTSTAT_W { @@ -460,7 +447,6 @@ impl W { } #[doc = "Bit 14 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_slvif_multiblktype_err_intstat( &mut self, ) -> CH1_ENABLE_SLVIF_MULTIBLKTYPE_ERR_INTSTAT_W { @@ -468,7 +454,6 @@ impl W { } #[doc = "Bit 16 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_slvif_dec_err_intstat( &mut self, ) -> CH1_ENABLE_SLVIF_DEC_ERR_INTSTAT_W { @@ -476,7 +461,6 @@ impl W { } #[doc = "Bit 17 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_slvif_wr2ro_err_intstat( &mut self, ) -> CH1_ENABLE_SLVIF_WR2RO_ERR_INTSTAT_W { @@ -484,7 +468,6 @@ impl W { } #[doc = "Bit 18 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_slvif_rd2rwo_err_intstat( &mut self, ) -> CH1_ENABLE_SLVIF_RD2RWO_ERR_INTSTAT_W { @@ -492,7 +475,6 @@ impl W { } #[doc = "Bit 19 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_slvif_wronchen_err_intstat( &mut self, ) -> CH1_ENABLE_SLVIF_WRONCHEN_ERR_INTSTAT_W { @@ -500,7 +482,6 @@ impl W { } #[doc = "Bit 20 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_slvif_shadowreg_wron_valid_err_intstat( &mut self, ) -> CH1_ENABLE_SLVIF_SHADOWREG_WRON_VALID_ERR_INTSTAT_W { @@ -508,7 +489,6 @@ impl W { } #[doc = "Bit 21 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_slvif_wronhold_err_intstat( &mut self, ) -> CH1_ENABLE_SLVIF_WRONHOLD_ERR_INTSTAT_W { @@ -516,7 +496,6 @@ impl W { } #[doc = "Bit 27 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_ch_lock_cleared_intstat( &mut self, ) -> CH1_ENABLE_CH_LOCK_CLEARED_INTSTAT_W { @@ -524,7 +503,6 @@ impl W { } #[doc = "Bit 28 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_ch_src_suspended_intstat( &mut self, ) -> CH1_ENABLE_CH_SRC_SUSPENDED_INTSTAT_W { @@ -532,7 +510,6 @@ impl W { } #[doc = "Bit 29 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_ch_suspended_intstat( &mut self, ) -> CH1_ENABLE_CH_SUSPENDED_INTSTAT_W { @@ -540,7 +517,6 @@ impl W { } #[doc = "Bit 30 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_ch_disabled_intstat( &mut self, ) -> CH1_ENABLE_CH_DISABLED_INTSTAT_W { @@ -548,7 +524,6 @@ impl W { } #[doc = "Bit 31 - NA"] #[inline(always)] - #[must_use] pub fn ch1_enable_ch_aborted_intstat( &mut self, ) -> CH1_ENABLE_CH_ABORTED_INTSTAT_W { diff --git a/esp32p4/src/dma/ch/llp0.rs b/esp32p4/src/dma/ch/llp0.rs index 2401367a99..93cbdbd9bb 100644 --- a/esp32p4/src/dma/ch/llp0.rs +++ b/esp32p4/src/dma/ch/llp0.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn ch1_lms(&mut self) -> CH1_LMS_W { CH1_LMS_W::new(self, 0) } #[doc = "Bits 6:31 - NA"] #[inline(always)] - #[must_use] pub fn ch1_loc0(&mut self) -> CH1_LOC0_W { CH1_LOC0_W::new(self, 6) } diff --git a/esp32p4/src/dma/ch/llp1.rs b/esp32p4/src/dma/ch/llp1.rs index 67654c7c72..d98fbdaee0 100644 --- a/esp32p4/src/dma/ch/llp1.rs +++ b/esp32p4/src/dma/ch/llp1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - NA"] #[inline(always)] - #[must_use] pub fn ch1_loc1(&mut self) -> CH1_LOC1_W { CH1_LOC1_W::new(self, 0) } diff --git a/esp32p4/src/dma/ch/sar0.rs b/esp32p4/src/dma/ch/sar0.rs index 699997fdb5..03c706c10c 100644 --- a/esp32p4/src/dma/ch/sar0.rs +++ b/esp32p4/src/dma/ch/sar0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - NA"] #[inline(always)] - #[must_use] pub fn ch1_sar0(&mut self) -> CH1_SAR0_W { CH1_SAR0_W::new(self, 0) } diff --git a/esp32p4/src/dma/ch/sar1.rs b/esp32p4/src/dma/ch/sar1.rs index c770cb9607..50222971a0 100644 --- a/esp32p4/src/dma/ch/sar1.rs +++ b/esp32p4/src/dma/ch/sar1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - NA"] #[inline(always)] - #[must_use] pub fn ch1_sar1(&mut self) -> CH1_SAR1_W { CH1_SAR1_W::new(self, 0) } diff --git a/esp32p4/src/dma/ch/sstatar0.rs b/esp32p4/src/dma/ch/sstatar0.rs index 79b8ccf0e3..d388dadcb8 100644 --- a/esp32p4/src/dma/ch/sstatar0.rs +++ b/esp32p4/src/dma/ch/sstatar0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - NA"] #[inline(always)] - #[must_use] pub fn ch1_sstatar0(&mut self) -> CH1_SSTATAR0_W { CH1_SSTATAR0_W::new(self, 0) } diff --git a/esp32p4/src/dma/ch/sstatar1.rs b/esp32p4/src/dma/ch/sstatar1.rs index f44b5a5401..69c03ad227 100644 --- a/esp32p4/src/dma/ch/sstatar1.rs +++ b/esp32p4/src/dma/ch/sstatar1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - NA"] #[inline(always)] - #[must_use] pub fn ch1_sstatar1(&mut self) -> CH1_SSTATAR1_W { CH1_SSTATAR1_W::new(self, 0) } diff --git a/esp32p4/src/dma/ch/swhsdst0.rs b/esp32p4/src/dma/ch/swhsdst0.rs index fddae111e7..86b3fd7ba9 100644 --- a/esp32p4/src/dma/ch/swhsdst0.rs +++ b/esp32p4/src/dma/ch/swhsdst0.rs @@ -50,37 +50,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn ch1_swhs_req_dst(&mut self) -> CH1_SWHS_REQ_DST_W { CH1_SWHS_REQ_DST_W::new(self, 0) } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn ch1_swhs_req_dst_we(&mut self) -> CH1_SWHS_REQ_DST_WE_W { CH1_SWHS_REQ_DST_WE_W::new(self, 1) } #[doc = "Bit 2 - NA"] #[inline(always)] - #[must_use] pub fn ch1_swhs_sglreq_dst(&mut self) -> CH1_SWHS_SGLREQ_DST_W { CH1_SWHS_SGLREQ_DST_W::new(self, 2) } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn ch1_swhs_sglreq_dst_we(&mut self) -> CH1_SWHS_SGLREQ_DST_WE_W { CH1_SWHS_SGLREQ_DST_WE_W::new(self, 3) } #[doc = "Bit 4 - NA"] #[inline(always)] - #[must_use] pub fn ch1_swhs_lst_dst(&mut self) -> CH1_SWHS_LST_DST_W { CH1_SWHS_LST_DST_W::new(self, 4) } #[doc = "Bit 5 - NA"] #[inline(always)] - #[must_use] pub fn ch1_swhs_lst_dst_we(&mut self) -> CH1_SWHS_LST_DST_WE_W { CH1_SWHS_LST_DST_WE_W::new(self, 5) } diff --git a/esp32p4/src/dma/ch/swhssrc0.rs b/esp32p4/src/dma/ch/swhssrc0.rs index 47d0cb31b9..745ab4d4e7 100644 --- a/esp32p4/src/dma/ch/swhssrc0.rs +++ b/esp32p4/src/dma/ch/swhssrc0.rs @@ -50,37 +50,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn ch1_swhs_req_src(&mut self) -> CH1_SWHS_REQ_SRC_W { CH1_SWHS_REQ_SRC_W::new(self, 0) } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn ch1_swhs_req_src_we(&mut self) -> CH1_SWHS_REQ_SRC_WE_W { CH1_SWHS_REQ_SRC_WE_W::new(self, 1) } #[doc = "Bit 2 - NA"] #[inline(always)] - #[must_use] pub fn ch1_swhs_sglreq_src(&mut self) -> CH1_SWHS_SGLREQ_SRC_W { CH1_SWHS_SGLREQ_SRC_W::new(self, 2) } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn ch1_swhs_sglreq_src_we(&mut self) -> CH1_SWHS_SGLREQ_SRC_WE_W { CH1_SWHS_SGLREQ_SRC_WE_W::new(self, 3) } #[doc = "Bit 4 - NA"] #[inline(always)] - #[must_use] pub fn ch1_swhs_lst_src(&mut self) -> CH1_SWHS_LST_SRC_W { CH1_SWHS_LST_SRC_W::new(self, 4) } #[doc = "Bit 5 - NA"] #[inline(always)] - #[must_use] pub fn ch1_swhs_lst_src_we(&mut self) -> CH1_SWHS_LST_SRC_WE_W { CH1_SWHS_LST_SRC_WE_W::new(self, 5) } diff --git a/esp32p4/src/dma/chen0.rs b/esp32p4/src/dma/chen0.rs index 332b252b06..cb15bd213e 100644 --- a/esp32p4/src/dma/chen0.rs +++ b/esp32p4/src/dma/chen0.rs @@ -110,97 +110,81 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn ch1_en(&mut self) -> CH1_EN_W { CH1_EN_W::new(self, 0) } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn ch2_en(&mut self) -> CH2_EN_W { CH2_EN_W::new(self, 1) } #[doc = "Bit 2 - NA"] #[inline(always)] - #[must_use] pub fn ch3_en(&mut self) -> CH3_EN_W { CH3_EN_W::new(self, 2) } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn ch4_en(&mut self) -> CH4_EN_W { CH4_EN_W::new(self, 3) } #[doc = "Bit 8 - NA"] #[inline(always)] - #[must_use] pub fn ch1_en_we(&mut self) -> CH1_EN_WE_W { CH1_EN_WE_W::new(self, 8) } #[doc = "Bit 9 - NA"] #[inline(always)] - #[must_use] pub fn ch2_en_we(&mut self) -> CH2_EN_WE_W { CH2_EN_WE_W::new(self, 9) } #[doc = "Bit 10 - NA"] #[inline(always)] - #[must_use] pub fn ch3_en_we(&mut self) -> CH3_EN_WE_W { CH3_EN_WE_W::new(self, 10) } #[doc = "Bit 11 - NA"] #[inline(always)] - #[must_use] pub fn ch4_en_we(&mut self) -> CH4_EN_WE_W { CH4_EN_WE_W::new(self, 11) } #[doc = "Bit 16 - NA"] #[inline(always)] - #[must_use] pub fn ch1_susp(&mut self) -> CH1_SUSP_W { CH1_SUSP_W::new(self, 16) } #[doc = "Bit 17 - NA"] #[inline(always)] - #[must_use] pub fn ch2_susp(&mut self) -> CH2_SUSP_W { CH2_SUSP_W::new(self, 17) } #[doc = "Bit 18 - NA"] #[inline(always)] - #[must_use] pub fn ch3_susp(&mut self) -> CH3_SUSP_W { CH3_SUSP_W::new(self, 18) } #[doc = "Bit 19 - NA"] #[inline(always)] - #[must_use] pub fn ch4_susp(&mut self) -> CH4_SUSP_W { CH4_SUSP_W::new(self, 19) } #[doc = "Bit 24 - NA"] #[inline(always)] - #[must_use] pub fn ch1_susp_we(&mut self) -> CH1_SUSP_WE_W { CH1_SUSP_WE_W::new(self, 24) } #[doc = "Bit 25 - NA"] #[inline(always)] - #[must_use] pub fn ch2_susp_we(&mut self) -> CH2_SUSP_WE_W { CH2_SUSP_WE_W::new(self, 25) } #[doc = "Bit 26 - NA"] #[inline(always)] - #[must_use] pub fn ch3_susp_we(&mut self) -> CH3_SUSP_WE_W { CH3_SUSP_WE_W::new(self, 26) } #[doc = "Bit 27 - NA"] #[inline(always)] - #[must_use] pub fn ch4_susp_we(&mut self) -> CH4_SUSP_WE_W { CH4_SUSP_WE_W::new(self, 27) } diff --git a/esp32p4/src/dma/chen1.rs b/esp32p4/src/dma/chen1.rs index 1b399b146e..b3a2549aad 100644 --- a/esp32p4/src/dma/chen1.rs +++ b/esp32p4/src/dma/chen1.rs @@ -62,49 +62,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn ch1_abort(&mut self) -> CH1_ABORT_W { CH1_ABORT_W::new(self, 0) } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn ch2_abort(&mut self) -> CH2_ABORT_W { CH2_ABORT_W::new(self, 1) } #[doc = "Bit 2 - NA"] #[inline(always)] - #[must_use] pub fn ch3_abort(&mut self) -> CH3_ABORT_W { CH3_ABORT_W::new(self, 2) } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn ch4_abort(&mut self) -> CH4_ABORT_W { CH4_ABORT_W::new(self, 3) } #[doc = "Bit 8 - NA"] #[inline(always)] - #[must_use] pub fn ch1_abort_we(&mut self) -> CH1_ABORT_WE_W { CH1_ABORT_WE_W::new(self, 8) } #[doc = "Bit 9 - NA"] #[inline(always)] - #[must_use] pub fn ch2_abort_we(&mut self) -> CH2_ABORT_WE_W { CH2_ABORT_WE_W::new(self, 9) } #[doc = "Bit 10 - NA"] #[inline(always)] - #[must_use] pub fn ch3_abort_we(&mut self) -> CH3_ABORT_WE_W { CH3_ABORT_WE_W::new(self, 10) } #[doc = "Bit 11 - NA"] #[inline(always)] - #[must_use] pub fn ch4_abort_we(&mut self) -> CH4_ABORT_WE_W { CH4_ABORT_WE_W::new(self, 11) } diff --git a/esp32p4/src/dma/commonreg_intclear0.rs b/esp32p4/src/dma/commonreg_intclear0.rs index 0eebc8dff8..8060c694d8 100644 --- a/esp32p4/src/dma/commonreg_intclear0.rs +++ b/esp32p4/src/dma/commonreg_intclear0.rs @@ -45,7 +45,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn clear_slvif_commonreg_dec_err_intstat( &mut self, ) -> CLEAR_SLVIF_COMMONREG_DEC_ERR_INTSTAT_W { @@ -53,7 +52,6 @@ impl W { } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn clear_slvif_commonreg_wr2ro_err_intstat( &mut self, ) -> CLEAR_SLVIF_COMMONREG_WR2RO_ERR_INTSTAT_W { @@ -61,7 +59,6 @@ impl W { } #[doc = "Bit 2 - NA"] #[inline(always)] - #[must_use] pub fn clear_slvif_commonreg_rd2wo_err_intstat( &mut self, ) -> CLEAR_SLVIF_COMMONREG_RD2WO_ERR_INTSTAT_W { @@ -69,7 +66,6 @@ impl W { } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn clear_slvif_commonreg_wronhold_err_intstat( &mut self, ) -> CLEAR_SLVIF_COMMONREG_WRONHOLD_ERR_INTSTAT_W { @@ -77,7 +73,6 @@ impl W { } #[doc = "Bit 7 - NA"] #[inline(always)] - #[must_use] pub fn clear_slvif_commonreg_wrparity_err_intstat( &mut self, ) -> CLEAR_SLVIF_COMMONREG_WRPARITY_ERR_INTSTAT_W { @@ -85,7 +80,6 @@ impl W { } #[doc = "Bit 8 - NA"] #[inline(always)] - #[must_use] pub fn clear_slvif_undefinedreg_dec_err_intstat( &mut self, ) -> CLEAR_SLVIF_UNDEFINEDREG_DEC_ERR_INTSTAT_W { @@ -93,7 +87,6 @@ impl W { } #[doc = "Bit 9 - NA"] #[inline(always)] - #[must_use] pub fn clear_mxif1_rch0_eccprot_correrr_intstat( &mut self, ) -> CLEAR_MXIF1_RCH0_ECCPROT_CORRERR_INTSTAT_W { @@ -101,7 +94,6 @@ impl W { } #[doc = "Bit 10 - NA"] #[inline(always)] - #[must_use] pub fn clear_mxif1_rch0_eccprot_uncorrerr_intstat( &mut self, ) -> CLEAR_MXIF1_RCH0_ECCPROT_UNCORRERR_INTSTAT_W { @@ -109,7 +101,6 @@ impl W { } #[doc = "Bit 11 - NA"] #[inline(always)] - #[must_use] pub fn clear_mxif1_rch1_eccprot_correrr_intstat( &mut self, ) -> CLEAR_MXIF1_RCH1_ECCPROT_CORRERR_INTSTAT_W { @@ -117,7 +108,6 @@ impl W { } #[doc = "Bit 12 - NA"] #[inline(always)] - #[must_use] pub fn clear_mxif1_rch1_eccprot_uncorrerr_intstat( &mut self, ) -> CLEAR_MXIF1_RCH1_ECCPROT_UNCORRERR_INTSTAT_W { @@ -125,7 +115,6 @@ impl W { } #[doc = "Bit 13 - NA"] #[inline(always)] - #[must_use] pub fn clear_mxif1_bch_eccprot_correrr_intstat( &mut self, ) -> CLEAR_MXIF1_BCH_ECCPROT_CORRERR_INTSTAT_W { @@ -133,7 +122,6 @@ impl W { } #[doc = "Bit 14 - NA"] #[inline(always)] - #[must_use] pub fn clear_mxif1_bch_eccprot_uncorrerr_intstat( &mut self, ) -> CLEAR_MXIF1_BCH_ECCPROT_UNCORRERR_INTSTAT_W { @@ -141,7 +129,6 @@ impl W { } #[doc = "Bit 15 - NA"] #[inline(always)] - #[must_use] pub fn clear_mxif2_rch0_eccprot_correrr_intstat( &mut self, ) -> CLEAR_MXIF2_RCH0_ECCPROT_CORRERR_INTSTAT_W { @@ -149,7 +136,6 @@ impl W { } #[doc = "Bit 16 - NA"] #[inline(always)] - #[must_use] pub fn clear_mxif2_rch0_eccprot_uncorrerr_intstat( &mut self, ) -> CLEAR_MXIF2_RCH0_ECCPROT_UNCORRERR_INTSTAT_W { @@ -157,7 +143,6 @@ impl W { } #[doc = "Bit 17 - NA"] #[inline(always)] - #[must_use] pub fn clear_mxif2_rch1_eccprot_correrr_intstat( &mut self, ) -> CLEAR_MXIF2_RCH1_ECCPROT_CORRERR_INTSTAT_W { @@ -165,7 +150,6 @@ impl W { } #[doc = "Bit 18 - NA"] #[inline(always)] - #[must_use] pub fn clear_mxif2_rch1_eccprot_uncorrerr_intstat( &mut self, ) -> CLEAR_MXIF2_RCH1_ECCPROT_UNCORRERR_INTSTAT_W { @@ -173,7 +157,6 @@ impl W { } #[doc = "Bit 19 - NA"] #[inline(always)] - #[must_use] pub fn clear_mxif2_bch_eccprot_correrr_intstat( &mut self, ) -> CLEAR_MXIF2_BCH_ECCPROT_CORRERR_INTSTAT_W { @@ -181,7 +164,6 @@ impl W { } #[doc = "Bit 20 - NA"] #[inline(always)] - #[must_use] pub fn clear_mxif2_bch_eccprot_uncorrerr_intstat( &mut self, ) -> CLEAR_MXIF2_BCH_ECCPROT_UNCORRERR_INTSTAT_W { diff --git a/esp32p4/src/dma/commonreg_intsignal_enable0.rs b/esp32p4/src/dma/commonreg_intsignal_enable0.rs index 52d4bffda6..18bc942c94 100644 --- a/esp32p4/src/dma/commonreg_intsignal_enable0.rs +++ b/esp32p4/src/dma/commonreg_intsignal_enable0.rs @@ -258,7 +258,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn enable_slvif_commonreg_dec_err_intsignal( &mut self, ) -> ENABLE_SLVIF_COMMONREG_DEC_ERR_INTSIGNAL_W { @@ -266,7 +265,6 @@ impl W { } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn enable_slvif_commonreg_wr2ro_err_intsignal( &mut self, ) -> ENABLE_SLVIF_COMMONREG_WR2RO_ERR_INTSIGNAL_W { @@ -274,7 +272,6 @@ impl W { } #[doc = "Bit 2 - NA"] #[inline(always)] - #[must_use] pub fn enable_slvif_commonreg_rd2wo_err_intsignal( &mut self, ) -> ENABLE_SLVIF_COMMONREG_RD2WO_ERR_INTSIGNAL_W { @@ -282,7 +279,6 @@ impl W { } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn enable_slvif_commonreg_wronhold_err_intsignal( &mut self, ) -> ENABLE_SLVIF_COMMONREG_WRONHOLD_ERR_INTSIGNAL_W { @@ -290,7 +286,6 @@ impl W { } #[doc = "Bit 8 - NA"] #[inline(always)] - #[must_use] pub fn enable_slvif_undefinedreg_dec_err_intsignal( &mut self, ) -> ENABLE_SLVIF_UNDEFINEDREG_DEC_ERR_INTSIGNAL_W { diff --git a/esp32p4/src/dma/commonreg_intstatus_enable0.rs b/esp32p4/src/dma/commonreg_intstatus_enable0.rs index b5ff58548b..1436602cbd 100644 --- a/esp32p4/src/dma/commonreg_intstatus_enable0.rs +++ b/esp32p4/src/dma/commonreg_intstatus_enable0.rs @@ -258,7 +258,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn enable_slvif_commonreg_dec_err_intstat( &mut self, ) -> ENABLE_SLVIF_COMMONREG_DEC_ERR_INTSTAT_W { @@ -266,7 +265,6 @@ impl W { } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn enable_slvif_commonreg_wr2ro_err_intstat( &mut self, ) -> ENABLE_SLVIF_COMMONREG_WR2RO_ERR_INTSTAT_W { @@ -274,7 +272,6 @@ impl W { } #[doc = "Bit 2 - NA"] #[inline(always)] - #[must_use] pub fn enable_slvif_commonreg_rd2wo_err_intstat( &mut self, ) -> ENABLE_SLVIF_COMMONREG_RD2WO_ERR_INTSTAT_W { @@ -282,7 +279,6 @@ impl W { } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn enable_slvif_commonreg_wronhold_err_intstat( &mut self, ) -> ENABLE_SLVIF_COMMONREG_WRONHOLD_ERR_INTSTAT_W { @@ -290,7 +286,6 @@ impl W { } #[doc = "Bit 8 - NA"] #[inline(always)] - #[must_use] pub fn enable_slvif_undefinedreg_dec_err_intstat( &mut self, ) -> ENABLE_SLVIF_UNDEFINEDREG_DEC_ERR_INTSTAT_W { diff --git a/esp32p4/src/dma/lowpower_cfg0.rs b/esp32p4/src/dma/lowpower_cfg0.rs index 86db7cb5e6..b438afec45 100644 --- a/esp32p4/src/dma/lowpower_cfg0.rs +++ b/esp32p4/src/dma/lowpower_cfg0.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn gbl_cslp_en(&mut self) -> GBL_CSLP_EN_W { GBL_CSLP_EN_W::new(self, 0) } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn chnl_cslp_en(&mut self) -> CHNL_CSLP_EN_W { CHNL_CSLP_EN_W::new(self, 1) } #[doc = "Bit 2 - NA"] #[inline(always)] - #[must_use] pub fn sbiu_cslp_en(&mut self) -> SBIU_CSLP_EN_W { SBIU_CSLP_EN_W::new(self, 2) } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn mxif_cslp_en(&mut self) -> MXIF_CSLP_EN_W { MXIF_CSLP_EN_W::new(self, 3) } diff --git a/esp32p4/src/dma/lowpower_cfg1.rs b/esp32p4/src/dma/lowpower_cfg1.rs index 980150e2c4..d0ba687444 100644 --- a/esp32p4/src/dma/lowpower_cfg1.rs +++ b/esp32p4/src/dma/lowpower_cfg1.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - NA"] #[inline(always)] - #[must_use] pub fn glch_lpdly(&mut self) -> GLCH_LPDLY_W { GLCH_LPDLY_W::new(self, 0) } #[doc = "Bits 8:15 - NA"] #[inline(always)] - #[must_use] pub fn sbiu_lpdly(&mut self) -> SBIU_LPDLY_W { SBIU_LPDLY_W::new(self, 8) } #[doc = "Bits 16:23 - NA"] #[inline(always)] - #[must_use] pub fn mxif_lpdly(&mut self) -> MXIF_LPDLY_W { MXIF_LPDLY_W::new(self, 16) } diff --git a/esp32p4/src/dma/reset0.rs b/esp32p4/src/dma/reset0.rs index c1e38fd948..528380c09d 100644 --- a/esp32p4/src/dma/reset0.rs +++ b/esp32p4/src/dma/reset0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn dmac_rst(&mut self) -> DMAC_RST_W { DMAC_RST_W::new(self, 0) } diff --git a/esp32p4/src/ds/date.rs b/esp32p4/src/ds/date.rs index fef4af5a01..c35aee2471 100644 --- a/esp32p4/src/ds/date.rs +++ b/esp32p4/src/ds/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - ds version information"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32p4/src/ds/set_continue.rs b/esp32p4/src/ds/set_continue.rs index cf65971fe3..5bf5bf256b 100644 --- a/esp32p4/src/ds/set_continue.rs +++ b/esp32p4/src/ds/set_continue.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - set this bit to continue DS operation."] #[inline(always)] - #[must_use] pub fn set_continue(&mut self) -> SET_CONTINUE_W { SET_CONTINUE_W::new(self, 0) } diff --git a/esp32p4/src/ds/set_finish.rs b/esp32p4/src/ds/set_finish.rs index ea31ff7915..5dcdea9961 100644 --- a/esp32p4/src/ds/set_finish.rs +++ b/esp32p4/src/ds/set_finish.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to finish DS process."] #[inline(always)] - #[must_use] pub fn set_finish(&mut self) -> SET_FINISH_W { SET_FINISH_W::new(self, 0) } diff --git a/esp32p4/src/ds/set_start.rs b/esp32p4/src/ds/set_start.rs index f49f2fb4de..6be02528a5 100644 --- a/esp32p4/src/ds/set_start.rs +++ b/esp32p4/src/ds/set_start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - set this bit to start DS operation."] #[inline(always)] - #[must_use] pub fn set_start(&mut self) -> SET_START_W { SET_START_W::new(self, 0) } diff --git a/esp32p4/src/ecc/mult_conf.rs b/esp32p4/src/ecc/mult_conf.rs index 2c2c311dcc..e299c7d76f 100644 --- a/esp32p4/src/ecc/mult_conf.rs +++ b/esp32p4/src/ecc/mult_conf.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Write 1 to start caculation of ECC Accelerator. This bit will be self-cleared after the caculatrion is done."] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 0) } #[doc = "Bit 1 - Write 1 to reset ECC Accelerator."] #[inline(always)] - #[must_use] pub fn reset(&mut self) -> RESET_W { RESET_W::new(self, 1) } #[doc = "Bit 2 - The key length mode bit of ECC Accelerator. 0: P-192. 1: P-256."] #[inline(always)] - #[must_use] pub fn key_length(&mut self) -> KEY_LENGTH_W { KEY_LENGTH_W::new(self, 2) } #[doc = "Bit 3 - The mod base of mod operation, only valid in work_mode 8-11. 0: n(order of curve). 1: p(mod base of curve)"] #[inline(always)] - #[must_use] pub fn mod_base(&mut self) -> MOD_BASE_W { MOD_BASE_W::new(self, 3) } #[doc = "Bits 4:7 - The work mode bits of ECC Accelerator. 0: Point Mult Mode. 1: Reserved. 2: Point verification mode. 3: Point Verif+mult mode. 4: Jacobian Point Mult Mode. 5: Point Add Mode. 6: Jacobian Point Verification Mode. 7: Point Verif + Jacobian Mult Mode. 8: mod addition. 9. mod substraction. 10: mod multiplication. 11: mod division."] #[inline(always)] - #[must_use] pub fn work_mode(&mut self) -> WORK_MODE_W { WORK_MODE_W::new(self, 4) } #[doc = "Bit 8 - Reserved"] #[inline(always)] - #[must_use] pub fn security_mode(&mut self) -> SECURITY_MODE_W { SECURITY_MODE_W::new(self, 8) } #[doc = "Bit 30 - Write 1 to force on register clock gate."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 30) } #[doc = "Bit 31 - ECC memory clock gate force on register"] #[inline(always)] - #[must_use] pub fn mem_clock_gate_force_on(&mut self) -> MEM_CLOCK_GATE_FORCE_ON_W { MEM_CLOCK_GATE_FORCE_ON_W::new(self, 31) } diff --git a/esp32p4/src/ecc/mult_date.rs b/esp32p4/src/ecc/mult_date.rs index 0b2202a78a..6eb03ba582 100644 --- a/esp32p4/src/ecc/mult_date.rs +++ b/esp32p4/src/ecc/mult_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - ECC mult version control register"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32p4/src/ecc/mult_int_clr.rs b/esp32p4/src/ecc/mult_int_clr.rs index 19d9a92d96..9ba2e11848 100644 --- a/esp32p4/src/ecc/mult_int_clr.rs +++ b/esp32p4/src/ecc/mult_int_clr.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the ecc_calc_done_int interrupt"] #[inline(always)] - #[must_use] pub fn calc_done(&mut self) -> CALC_DONE_W { CALC_DONE_W::new(self, 0) } diff --git a/esp32p4/src/ecc/mult_int_ena.rs b/esp32p4/src/ecc/mult_int_ena.rs index 0436ea3fc1..f5338072c0 100644 --- a/esp32p4/src/ecc/mult_int_ena.rs +++ b/esp32p4/src/ecc/mult_int_ena.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for the ecc_calc_done_int interrupt"] #[inline(always)] - #[must_use] pub fn calc_done(&mut self) -> CALC_DONE_W { CALC_DONE_W::new(self, 0) } diff --git a/esp32p4/src/ecdsa/clk.rs b/esp32p4/src/ecdsa/clk.rs index 45a5ed3eb2..bbfc50b9f4 100644 --- a/esp32p4/src/ecdsa/clk.rs +++ b/esp32p4/src/ecdsa/clk.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Write 1 to force on register clock gate."] #[inline(always)] - #[must_use] pub fn gate_force_on(&mut self) -> GATE_FORCE_ON_W { GATE_FORCE_ON_W::new(self, 0) } diff --git a/esp32p4/src/ecdsa/conf.rs b/esp32p4/src/ecdsa/conf.rs index e87e0452f3..2db25b673d 100644 --- a/esp32p4/src/ecdsa/conf.rs +++ b/esp32p4/src/ecdsa/conf.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - The work mode bits of ECDSA Accelerator. 0: Signature Verify Mode. 1: Signature Generate Mode. 2: Export Public Key Mode. 3: invalid."] #[inline(always)] - #[must_use] pub fn work_mode(&mut self) -> WORK_MODE_W { WORK_MODE_W::new(self, 0) } #[doc = "Bit 2 - The ecc curve select bit of ECDSA Accelerator. 0: P-192. 1: P-256."] #[inline(always)] - #[must_use] pub fn ecc_curve(&mut self) -> ECC_CURVE_W { ECC_CURVE_W::new(self, 2) } #[doc = "Bit 3 - The source of k select bit. 0: k is automatically generated by hardware. 1: k is written by software."] #[inline(always)] - #[must_use] pub fn software_set_k(&mut self) -> SOFTWARE_SET_K_W { SOFTWARE_SET_K_W::new(self, 3) } #[doc = "Bit 4 - The source of z select bit. 0: z is generated from SHA result. 1: z is written by software."] #[inline(always)] - #[must_use] pub fn software_set_z(&mut self) -> SOFTWARE_SET_Z_W { SOFTWARE_SET_Z_W::new(self, 4) } #[doc = "Bit 5 - The source of hardware generated k. 0: k is generated by TRNG. 1: k is generated by deterministic derivation algorithm."] #[inline(always)] - #[must_use] pub fn deterministic_k(&mut self) -> DETERMINISTIC_K_W { DETERMINISTIC_K_W::new(self, 5) } #[doc = "Bits 6:21 - The (loop number - 1) value in the deterministic derivation algorithm to derive k."] #[inline(always)] - #[must_use] pub fn deterministic_loop(&mut self) -> DETERMINISTIC_LOOP_W { DETERMINISTIC_LOOP_W::new(self, 6) } diff --git a/esp32p4/src/ecdsa/date.rs b/esp32p4/src/ecdsa/date.rs index c26a4f935d..e002381062 100644 --- a/esp32p4/src/ecdsa/date.rs +++ b/esp32p4/src/ecdsa/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - ECDSA version control register"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32p4/src/ecdsa/int_clr.rs b/esp32p4/src/ecdsa/int_clr.rs index fd873ed856..62743c2943 100644 --- a/esp32p4/src/ecdsa/int_clr.rs +++ b/esp32p4/src/ecdsa/int_clr.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the ecdsa_calc_done_int interrupt"] #[inline(always)] - #[must_use] pub fn calc_done(&mut self) -> CALC_DONE_W { CALC_DONE_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the ecdsa_sha_release_int interrupt"] #[inline(always)] - #[must_use] pub fn sha_release(&mut self) -> SHA_RELEASE_W { SHA_RELEASE_W::new(self, 1) } diff --git a/esp32p4/src/ecdsa/int_ena.rs b/esp32p4/src/ecdsa/int_ena.rs index fdefad6373..35b254e6d5 100644 --- a/esp32p4/src/ecdsa/int_ena.rs +++ b/esp32p4/src/ecdsa/int_ena.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for the ecdsa_calc_done_int interrupt"] #[inline(always)] - #[must_use] pub fn calc_done(&mut self) -> CALC_DONE_W { CALC_DONE_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the ecdsa_sha_release_int interrupt"] #[inline(always)] - #[must_use] pub fn sha_release(&mut self) -> SHA_RELEASE_W { SHA_RELEASE_W::new(self, 1) } diff --git a/esp32p4/src/ecdsa/sha_continue.rs b/esp32p4/src/ecdsa/sha_continue.rs index f95eef53eb..7445b726d1 100644 --- a/esp32p4/src/ecdsa/sha_continue.rs +++ b/esp32p4/src/ecdsa/sha_continue.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to start the latter caculation of SHA Calculator in ECDSA Accelerator. This bit will be self-cleared after configuration."] #[inline(always)] - #[must_use] pub fn sha_continue(&mut self) -> SHA_CONTINUE_W { SHA_CONTINUE_W::new(self, 0) } diff --git a/esp32p4/src/ecdsa/sha_mode.rs b/esp32p4/src/ecdsa/sha_mode.rs index b238dd4b41..f2f8d8e7f4 100644 --- a/esp32p4/src/ecdsa/sha_mode.rs +++ b/esp32p4/src/ecdsa/sha_mode.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - The work mode bits of SHA Calculator in ECDSA Accelerator. 1: SHA-224. 2: SHA-256. Others: invalid."] #[inline(always)] - #[must_use] pub fn sha_mode(&mut self) -> SHA_MODE_W { SHA_MODE_W::new(self, 0) } diff --git a/esp32p4/src/ecdsa/sha_start.rs b/esp32p4/src/ecdsa/sha_start.rs index f728f2a8d5..62f8d5efc5 100644 --- a/esp32p4/src/ecdsa/sha_start.rs +++ b/esp32p4/src/ecdsa/sha_start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to start the first caculation of SHA Calculator in ECDSA Accelerator. This bit will be self-cleared after configuration."] #[inline(always)] - #[must_use] pub fn sha_start(&mut self) -> SHA_START_W { SHA_START_W::new(self, 0) } diff --git a/esp32p4/src/ecdsa/start.rs b/esp32p4/src/ecdsa/start.rs index eaf83f24ac..96f47962b6 100644 --- a/esp32p4/src/ecdsa/start.rs +++ b/esp32p4/src/ecdsa/start.rs @@ -15,19 +15,16 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to start caculation of ECDSA Accelerator. This bit will be self-cleared after configuration."] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 0) } #[doc = "Bit 1 - Write 1 to input load done signal of ECDSA Accelerator. This bit will be self-cleared after configuration."] #[inline(always)] - #[must_use] pub fn load_done(&mut self) -> LOAD_DONE_W { LOAD_DONE_W::new(self, 1) } #[doc = "Bit 2 - Write 1 to input get done signal of ECDSA Accelerator. This bit will be self-cleared after configuration."] #[inline(always)] - #[must_use] pub fn get_done(&mut self) -> GET_DONE_W { GET_DONE_W::new(self, 2) } diff --git a/esp32p4/src/efuse/apb2otp_en.rs b/esp32p4/src/efuse/apb2otp_en.rs index 488aa1cb6d..0cde3fd35e 100644 --- a/esp32p4/src/efuse/apb2otp_en.rs +++ b/esp32p4/src/efuse/apb2otp_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Apb2otp mode enable signal."] #[inline(always)] - #[must_use] pub fn apb2otp_apb2otp_en(&mut self) -> APB2OTP_APB2OTP_EN_W { APB2OTP_APB2OTP_EN_W::new(self, 0) } diff --git a/esp32p4/src/efuse/clk.rs b/esp32p4/src/efuse/clk.rs index 3a44effaa1..e505d7f837 100644 --- a/esp32p4/src/efuse/clk.rs +++ b/esp32p4/src/efuse/clk.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to force eFuse SRAM into power-saving mode."] #[inline(always)] - #[must_use] pub fn mem_force_pd(&mut self) -> MEM_FORCE_PD_W { MEM_FORCE_PD_W::new(self, 0) } #[doc = "Bit 1 - Set this bit and force to activate clock signal of eFuse SRAM."] #[inline(always)] - #[must_use] pub fn mem_clk_force_on(&mut self) -> MEM_CLK_FORCE_ON_W { MEM_CLK_FORCE_ON_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to force eFuse SRAM into working mode."] #[inline(always)] - #[must_use] pub fn mem_force_pu(&mut self) -> MEM_FORCE_PU_W { MEM_FORCE_PU_W::new(self, 2) } #[doc = "Bit 16 - Set this bit to force enable eFuse register configuration clock signal."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 16) } diff --git a/esp32p4/src/efuse/cmd.rs b/esp32p4/src/efuse/cmd.rs index baaf4145e4..fe0688f848 100644 --- a/esp32p4/src/efuse/cmd.rs +++ b/esp32p4/src/efuse/cmd.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to send read command."] #[inline(always)] - #[must_use] pub fn read_cmd(&mut self) -> READ_CMD_W { READ_CMD_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to send programming command."] #[inline(always)] - #[must_use] pub fn pgm_cmd(&mut self) -> PGM_CMD_W { PGM_CMD_W::new(self, 1) } #[doc = "Bits 2:5 - The serial number of the block to be programmed. Value 0-10 corresponds to block number 0-10, respectively."] #[inline(always)] - #[must_use] pub fn blk_num(&mut self) -> BLK_NUM_W { BLK_NUM_W::new(self, 2) } diff --git a/esp32p4/src/efuse/conf.rs b/esp32p4/src/efuse/conf.rs index 1ec06566e4..9058c04a18 100644 --- a/esp32p4/src/efuse/conf.rs +++ b/esp32p4/src/efuse/conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - 0x5A5A: programming operation command 0x5AA5: read operation command."] #[inline(always)] - #[must_use] pub fn op_code(&mut self) -> OP_CODE_W { OP_CODE_W::new(self, 0) } #[doc = "Bits 16:19 - Configures which block to use for ECDSA key output."] #[inline(always)] - #[must_use] pub fn cfg_ecdsa_blk(&mut self) -> CFG_ECDSA_BLK_W { CFG_ECDSA_BLK_W::new(self, 16) } diff --git a/esp32p4/src/efuse/dac_conf.rs b/esp32p4/src/efuse/dac_conf.rs index 8e8c367293..da6da390f2 100644 --- a/esp32p4/src/efuse/dac_conf.rs +++ b/esp32p4/src/efuse/dac_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Controls the division factor of the rising clock of the programming voltage."] #[inline(always)] - #[must_use] pub fn dac_clk_div(&mut self) -> DAC_CLK_DIV_W { DAC_CLK_DIV_W::new(self, 0) } #[doc = "Bit 8 - Don't care."] #[inline(always)] - #[must_use] pub fn dac_clk_pad_sel(&mut self) -> DAC_CLK_PAD_SEL_W { DAC_CLK_PAD_SEL_W::new(self, 8) } #[doc = "Bits 9:16 - Controls the rising period of the programming voltage."] #[inline(always)] - #[must_use] pub fn dac_num(&mut self) -> DAC_NUM_W { DAC_NUM_W::new(self, 9) } #[doc = "Bit 17 - Reduces the power supply of the programming voltage."] #[inline(always)] - #[must_use] pub fn oe_clr(&mut self) -> OE_CLR_W { OE_CLR_W::new(self, 17) } diff --git a/esp32p4/src/efuse/date.rs b/esp32p4/src/efuse/date.rs index f57ee6dbae..63f6409366 100644 --- a/esp32p4/src/efuse/date.rs +++ b/esp32p4/src/efuse/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Stores eFuse version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32p4/src/efuse/int_clr.rs b/esp32p4/src/efuse/int_clr.rs index 670d58f7e5..230f4356f1 100644 --- a/esp32p4/src/efuse/int_clr.rs +++ b/esp32p4/src/efuse/int_clr.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The clear signal for read_done interrupt."] #[inline(always)] - #[must_use] pub fn read_done(&mut self) -> READ_DONE_W { READ_DONE_W::new(self, 0) } #[doc = "Bit 1 - The clear signal for pgm_done interrupt."] #[inline(always)] - #[must_use] pub fn pgm_done(&mut self) -> PGM_DONE_W { PGM_DONE_W::new(self, 1) } diff --git a/esp32p4/src/efuse/int_ena.rs b/esp32p4/src/efuse/int_ena.rs index 424c4f079d..3d4c9086ee 100644 --- a/esp32p4/src/efuse/int_ena.rs +++ b/esp32p4/src/efuse/int_ena.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The enable signal for read_done interrupt."] #[inline(always)] - #[must_use] pub fn read_done(&mut self) -> READ_DONE_W { READ_DONE_W::new(self, 0) } #[doc = "Bit 1 - The enable signal for pgm_done interrupt."] #[inline(always)] - #[must_use] pub fn pgm_done(&mut self) -> PGM_DONE_W { PGM_DONE_W::new(self, 1) } diff --git a/esp32p4/src/efuse/pgm_check_value0.rs b/esp32p4/src/efuse/pgm_check_value0.rs index 680f75c1ae..70d6fd3aec 100644 --- a/esp32p4/src/efuse/pgm_check_value0.rs +++ b/esp32p4/src/efuse/pgm_check_value0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures the 0th 32-bit RS code to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_rs_data_0(&mut self) -> PGM_RS_DATA_0_W { PGM_RS_DATA_0_W::new(self, 0) } diff --git a/esp32p4/src/efuse/pgm_check_value1.rs b/esp32p4/src/efuse/pgm_check_value1.rs index 9552955b55..b796fa5048 100644 --- a/esp32p4/src/efuse/pgm_check_value1.rs +++ b/esp32p4/src/efuse/pgm_check_value1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures the 1st 32-bit RS code to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_rs_data_1(&mut self) -> PGM_RS_DATA_1_W { PGM_RS_DATA_1_W::new(self, 0) } diff --git a/esp32p4/src/efuse/pgm_check_value2.rs b/esp32p4/src/efuse/pgm_check_value2.rs index 8c24f790dc..ac63c2ec10 100644 --- a/esp32p4/src/efuse/pgm_check_value2.rs +++ b/esp32p4/src/efuse/pgm_check_value2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures the 2nd 32-bit RS code to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_rs_data_2(&mut self) -> PGM_RS_DATA_2_W { PGM_RS_DATA_2_W::new(self, 0) } diff --git a/esp32p4/src/efuse/pgm_data0.rs b/esp32p4/src/efuse/pgm_data0.rs index cb78ccdec7..904123e081 100644 --- a/esp32p4/src/efuse/pgm_data0.rs +++ b/esp32p4/src/efuse/pgm_data0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures the 0th 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_0(&mut self) -> PGM_DATA_0_W { PGM_DATA_0_W::new(self, 0) } diff --git a/esp32p4/src/efuse/pgm_data1.rs b/esp32p4/src/efuse/pgm_data1.rs index db4eab01b9..7ee8905973 100644 --- a/esp32p4/src/efuse/pgm_data1.rs +++ b/esp32p4/src/efuse/pgm_data1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures the 1st 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_1(&mut self) -> PGM_DATA_1_W { PGM_DATA_1_W::new(self, 0) } diff --git a/esp32p4/src/efuse/pgm_data2.rs b/esp32p4/src/efuse/pgm_data2.rs index f2d79d83ac..6c357ff169 100644 --- a/esp32p4/src/efuse/pgm_data2.rs +++ b/esp32p4/src/efuse/pgm_data2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures the 2nd 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_2(&mut self) -> PGM_DATA_2_W { PGM_DATA_2_W::new(self, 0) } diff --git a/esp32p4/src/efuse/pgm_data3.rs b/esp32p4/src/efuse/pgm_data3.rs index bce3bf011c..c84a64a608 100644 --- a/esp32p4/src/efuse/pgm_data3.rs +++ b/esp32p4/src/efuse/pgm_data3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures the 3rd 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_3(&mut self) -> PGM_DATA_3_W { PGM_DATA_3_W::new(self, 0) } diff --git a/esp32p4/src/efuse/pgm_data4.rs b/esp32p4/src/efuse/pgm_data4.rs index 83f3b38ca4..96d7412ff2 100644 --- a/esp32p4/src/efuse/pgm_data4.rs +++ b/esp32p4/src/efuse/pgm_data4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures the 4th 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_4(&mut self) -> PGM_DATA_4_W { PGM_DATA_4_W::new(self, 0) } diff --git a/esp32p4/src/efuse/pgm_data5.rs b/esp32p4/src/efuse/pgm_data5.rs index 29bbc4ea61..b804ae8c42 100644 --- a/esp32p4/src/efuse/pgm_data5.rs +++ b/esp32p4/src/efuse/pgm_data5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures the 5th 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_5(&mut self) -> PGM_DATA_5_W { PGM_DATA_5_W::new(self, 0) } diff --git a/esp32p4/src/efuse/pgm_data6.rs b/esp32p4/src/efuse/pgm_data6.rs index c2062d3d24..3fc7cfd9b4 100644 --- a/esp32p4/src/efuse/pgm_data6.rs +++ b/esp32p4/src/efuse/pgm_data6.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures the 6th 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_6(&mut self) -> PGM_DATA_6_W { PGM_DATA_6_W::new(self, 0) } diff --git a/esp32p4/src/efuse/pgm_data7.rs b/esp32p4/src/efuse/pgm_data7.rs index 04a1181824..dac4cc37df 100644 --- a/esp32p4/src/efuse/pgm_data7.rs +++ b/esp32p4/src/efuse/pgm_data7.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures the 7th 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_7(&mut self) -> PGM_DATA_7_W { PGM_DATA_7_W::new(self, 0) } diff --git a/esp32p4/src/efuse/rd_tim_conf.rs b/esp32p4/src/efuse/rd_tim_conf.rs index 2e84c9c1c1..bc24075c76 100644 --- a/esp32p4/src/efuse/rd_tim_conf.rs +++ b/esp32p4/src/efuse/rd_tim_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Configures the read hold time."] #[inline(always)] - #[must_use] pub fn thr_a(&mut self) -> THR_A_W { THR_A_W::new(self, 0) } #[doc = "Bits 8:15 - Configures the read time."] #[inline(always)] - #[must_use] pub fn trd(&mut self) -> TRD_W { TRD_W::new(self, 8) } #[doc = "Bits 16:23 - Configures the read setup time."] #[inline(always)] - #[must_use] pub fn tsur_a(&mut self) -> TSUR_A_W { TSUR_A_W::new(self, 16) } #[doc = "Bits 24:31 - Configures the waiting time of reading eFuse memory."] #[inline(always)] - #[must_use] pub fn read_init_num(&mut self) -> READ_INIT_NUM_W { READ_INIT_NUM_W::new(self, 24) } diff --git a/esp32p4/src/efuse/wr_tim_conf0_rs_bypass.rs b/esp32p4/src/efuse/wr_tim_conf0_rs_bypass.rs index 92ad1e643a..0b041d6c74 100644 --- a/esp32p4/src/efuse/wr_tim_conf0_rs_bypass.rs +++ b/esp32p4/src/efuse/wr_tim_conf0_rs_bypass.rs @@ -46,25 +46,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to bypass reed solomon correction step."] #[inline(always)] - #[must_use] pub fn bypass_rs_correction(&mut self) -> BYPASS_RS_CORRECTION_W { BYPASS_RS_CORRECTION_W::new(self, 0) } #[doc = "Bits 1:11 - Configures block number of programming twice operation."] #[inline(always)] - #[must_use] pub fn bypass_rs_blk_num(&mut self) -> BYPASS_RS_BLK_NUM_W { BYPASS_RS_BLK_NUM_W::new(self, 1) } #[doc = "Bit 12 - Set this bit to update multi-bit register signals."] #[inline(always)] - #[must_use] pub fn update(&mut self) -> UPDATE_W { UPDATE_W::new(self, 12) } #[doc = "Bits 13:20 - Configures the inactive programming time."] #[inline(always)] - #[must_use] pub fn tpgm_inactive(&mut self) -> TPGM_INACTIVE_W { TPGM_INACTIVE_W::new(self, 13) } diff --git a/esp32p4/src/efuse/wr_tim_conf1.rs b/esp32p4/src/efuse/wr_tim_conf1.rs index 2d6a7f1780..6802faa6bc 100644 --- a/esp32p4/src/efuse/wr_tim_conf1.rs +++ b/esp32p4/src/efuse/wr_tim_conf1.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Configures the programming setup time."] #[inline(always)] - #[must_use] pub fn tsup_a(&mut self) -> TSUP_A_W { TSUP_A_W::new(self, 0) } #[doc = "Bits 8:23 - Configures the power up time for VDDQ."] #[inline(always)] - #[must_use] pub fn pwr_on_num(&mut self) -> PWR_ON_NUM_W { PWR_ON_NUM_W::new(self, 8) } #[doc = "Bits 24:31 - Configures the programming hold time."] #[inline(always)] - #[must_use] pub fn thp_a(&mut self) -> THP_A_W { THP_A_W::new(self, 24) } diff --git a/esp32p4/src/efuse/wr_tim_conf2.rs b/esp32p4/src/efuse/wr_tim_conf2.rs index d202922d6b..5f635eaff3 100644 --- a/esp32p4/src/efuse/wr_tim_conf2.rs +++ b/esp32p4/src/efuse/wr_tim_conf2.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Configures the power outage time for VDDQ."] #[inline(always)] - #[must_use] pub fn pwr_off_num(&mut self) -> PWR_OFF_NUM_W { PWR_OFF_NUM_W::new(self, 0) } #[doc = "Bits 16:31 - Configures the active programming time."] #[inline(always)] - #[must_use] pub fn tpgm(&mut self) -> TPGM_W { TPGM_W::new(self, 16) } diff --git a/esp32p4/src/generic.rs b/esp32p4/src/generic.rs index d57106cb27..a7cb020aef 100644 --- a/esp32p4/src/generic.rs +++ b/esp32p4/src/generic.rs @@ -524,18 +524,60 @@ impl Reg { #[doc = " ```"] #[doc = " In the latter case, other fields will be set to their reset value."] #[inline(always)] - pub fn write(&self, f: F) + pub fn write(&self, f: F) -> REG::Ux where F: FnOnce(&mut W) -> &mut W, { - self.register.set( - f(&mut W { - bits: REG::RESET_VALUE & !REG::ONE_TO_MODIFY_FIELDS_BITMAP - | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, - _reg: marker::PhantomData, - }) - .bits, - ); + let value = f(&mut W { + bits: REG::RESET_VALUE & !REG::ONE_TO_MODIFY_FIELDS_BITMAP + | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }) + .bits; + self.register.set(value); + value + } + #[doc = " Writes bits to a `Writable` register and produce a value."] + #[doc = ""] + #[doc = " You can write raw bits into a register:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.write_and(|w| unsafe { w.bits(rawbits); });"] + #[doc = " ```"] + #[doc = " or write only the fields you need:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.write_and(|w| {"] + #[doc = " w.field1().bits(newfield1bits)"] + #[doc = " .field2().set_bit()"] + #[doc = " .field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " or an alternative way of saying the same:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.write_and(|w| {"] + #[doc = " w.field1().bits(newfield1bits);"] + #[doc = " w.field2().set_bit();"] + #[doc = " w.field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " In the latter case, other fields will be set to their reset value."] + #[doc = ""] + #[doc = " Values can be returned from the closure:"] + #[doc = " ```ignore"] + #[doc = " let state = periph.reg.write_and(|w| State::set(w.field1()));"] + #[doc = " ```"] + #[inline(always)] + pub fn from_write(&self, f: F) -> T + where + F: FnOnce(&mut W) -> T, + { + let mut writer = W { + bits: REG::RESET_VALUE & !REG::ONE_TO_MODIFY_FIELDS_BITMAP + | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }; + let result = f(&mut writer); + self.register.set(writer.bits); + result } } impl Reg { @@ -547,17 +589,37 @@ impl Reg { #[doc = ""] #[doc = " Unsafe to use with registers which don't allow to write 0."] #[inline(always)] - pub unsafe fn write_with_zero(&self, f: F) + pub unsafe fn write_with_zero(&self, f: F) -> REG::Ux where F: FnOnce(&mut W) -> &mut W, { - self.register.set( - f(&mut W { - bits: REG::Ux::default(), - _reg: marker::PhantomData, - }) - .bits, - ); + let value = f(&mut W { + bits: REG::Ux::default(), + _reg: marker::PhantomData, + }) + .bits; + self.register.set(value); + value + } + #[doc = " Writes 0 to a `Writable` register and produces a value."] + #[doc = ""] + #[doc = " Similar to `write`, but unused bits will contain 0."] + #[doc = ""] + #[doc = " # Safety"] + #[doc = ""] + #[doc = " Unsafe to use with registers which don't allow to write 0."] + #[inline(always)] + pub unsafe fn from_write_with_zero(&self, f: F) -> T + where + F: FnOnce(&mut W) -> T, + { + let mut writer = W { + bits: REG::Ux::default(), + _reg: marker::PhantomData, + }; + let result = f(&mut writer); + self.register.set(writer.bits); + result } } impl Reg { @@ -587,25 +649,75 @@ impl Reg { #[doc = " ```"] #[doc = " Other fields will have the value they had before the call to `modify`."] #[inline(always)] - pub fn modify(&self, f: F) + pub fn modify(&self, f: F) -> REG::Ux where for<'w> F: FnOnce(&R, &'w mut W) -> &'w mut W, { let bits = self.register.get(); - self.register.set( - f( - &R { - bits, - _reg: marker::PhantomData, - }, - &mut W { - bits: bits & !REG::ONE_TO_MODIFY_FIELDS_BITMAP - | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, - _reg: marker::PhantomData, - }, - ) - .bits, + let value = f( + &R { + bits, + _reg: marker::PhantomData, + }, + &mut W { + bits: bits & !REG::ONE_TO_MODIFY_FIELDS_BITMAP | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }, + ) + .bits; + self.register.set(value); + value + } + #[doc = " Modifies the contents of the register by reading and then writing it"] + #[doc = " and produces a value."] + #[doc = ""] + #[doc = " E.g. to do a read-modify-write sequence to change parts of a register:"] + #[doc = " ```ignore"] + #[doc = " let bits = periph.reg.modify(|r, w| {"] + #[doc = " let new_bits = r.bits() | 3;"] + #[doc = " unsafe {"] + #[doc = " w.bits(new_bits);"] + #[doc = " }"] + #[doc = ""] + #[doc = " new_bits"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " or"] + #[doc = " ```ignore"] + #[doc = " periph.reg.modify(|_, w| {"] + #[doc = " w.field1().bits(newfield1bits)"] + #[doc = " .field2().set_bit()"] + #[doc = " .field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " or an alternative way of saying the same:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.modify(|_, w| {"] + #[doc = " w.field1().bits(newfield1bits);"] + #[doc = " w.field2().set_bit();"] + #[doc = " w.field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " Other fields will have the value they had before the call to `modify`."] + #[inline(always)] + pub fn from_modify(&self, f: F) -> T + where + for<'w> F: FnOnce(&R, &'w mut W) -> T, + { + let bits = self.register.get(); + let mut writer = W { + bits: bits & !REG::ONE_TO_MODIFY_FIELDS_BITMAP | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }; + let result = f( + &R { + bits, + _reg: marker::PhantomData, + }, + &mut writer, ); + self.register.set(writer.bits); + result } } impl core::fmt::Debug for crate::generic::Reg diff --git a/esp32p4/src/generic/raw.rs b/esp32p4/src/generic/raw.rs index 81f5779524..d60a23a7cc 100644 --- a/esp32p4/src/generic/raw.rs +++ b/esp32p4/src/generic/raw.rs @@ -41,6 +41,7 @@ impl BitReader { } } } +#[must_use = "after creating `FieldWriter` you need to call field value setting method"] pub struct FieldWriter<'a, REG, const WI: u8, FI = u8, Safety = Unsafe> where REG: Writable + RegisterSpec, @@ -66,6 +67,7 @@ where } } } +#[must_use = "after creating `BitWriter` you need to call bit setting method"] pub struct BitWriter<'a, REG, FI = bool, M = BitM> where REG: Writable + RegisterSpec, diff --git a/esp32p4/src/gpio.rs b/esp32p4/src/gpio.rs index ec72695e53..303b6107be 100644 --- a/esp32p4/src/gpio.rs +++ b/esp32p4/src/gpio.rs @@ -208,6 +208,8 @@ impl RegisterBlock { self.pin.iter() } #[doc = "0x15c..0x554 - GPIO input function configuration register"] + #[doc = ""] + #[doc = "
`n` is the index of register in the array. `n == 0` corresponds to `FUNC1_IN_SEL_CFG` register.
"] #[inline(always)] pub const fn func_in_sel_cfg(&self, n: usize) -> &FUNC_IN_SEL_CFG { &self.func_in_sel_cfg[n] diff --git a/esp32p4/src/gpio/bist_ctrl.rs b/esp32p4/src/gpio/bist_ctrl.rs index 937ac1bd8e..0b8a1ea78c 100644 --- a/esp32p4/src/gpio/bist_ctrl.rs +++ b/esp32p4/src/gpio/bist_ctrl.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - High speed sdio pad bist out pad oe"] #[inline(always)] - #[must_use] pub fn bist_pad_oe(&mut self) -> BIST_PAD_OE_W { BIST_PAD_OE_W::new(self, 0) } #[doc = "Bit 1 - High speed sdio pad bist start"] #[inline(always)] - #[must_use] pub fn bist_start(&mut self) -> BIST_START_W { BIST_START_W::new(self, 1) } diff --git a/esp32p4/src/gpio/bistin_sel.rs b/esp32p4/src/gpio/bistin_sel.rs index 29c9f2e350..fe0780a7d6 100644 --- a/esp32p4/src/gpio/bistin_sel.rs +++ b/esp32p4/src/gpio/bistin_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - High speed sdio pad bist in pad sel 0:pad39, 1: pad40..."] #[inline(always)] - #[must_use] pub fn bistin_sel(&mut self) -> BISTIN_SEL_W { BISTIN_SEL_W::new(self, 0) } diff --git a/esp32p4/src/gpio/bt_select.rs b/esp32p4/src/gpio/bt_select.rs index d7b1c5cbd7..1207e6041d 100644 --- a/esp32p4/src/gpio/bt_select.rs +++ b/esp32p4/src/gpio/bt_select.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - GPIO bit select register"] #[inline(always)] - #[must_use] pub fn bt_sel(&mut self) -> BT_SEL_W { BT_SEL_W::new(self, 0) } diff --git a/esp32p4/src/gpio/clock_gate.rs b/esp32p4/src/gpio/clock_gate.rs index dc08365f35..fcb38c1911 100644 --- a/esp32p4/src/gpio/clock_gate.rs +++ b/esp32p4/src/gpio/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - set this bit to enable GPIO clock gate"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32p4/src/gpio/date.rs b/esp32p4/src/gpio/date.rs index d1bee5506f..0367e96df9 100644 --- a/esp32p4/src/gpio/date.rs +++ b/esp32p4/src/gpio/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - version register"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32p4/src/gpio/enable.rs b/esp32p4/src/gpio/enable.rs index f88ac51742..ec0fef1ced 100644 --- a/esp32p4/src/gpio/enable.rs +++ b/esp32p4/src/gpio/enable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - GPIO output enable register for GPIO0-31"] #[inline(always)] - #[must_use] pub fn data(&mut self) -> DATA_W { DATA_W::new(self, 0) } diff --git a/esp32p4/src/gpio/enable1.rs b/esp32p4/src/gpio/enable1.rs index 3659cd0efc..29ed85208b 100644 --- a/esp32p4/src/gpio/enable1.rs +++ b/esp32p4/src/gpio/enable1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:24 - GPIO output enable register for GPIO32-56"] #[inline(always)] - #[must_use] pub fn data(&mut self) -> DATA_W { DATA_W::new(self, 0) } diff --git a/esp32p4/src/gpio/enable1_w1tc.rs b/esp32p4/src/gpio/enable1_w1tc.rs index e8b947ce3b..c6ff8f651f 100644 --- a/esp32p4/src/gpio/enable1_w1tc.rs +++ b/esp32p4/src/gpio/enable1_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:24 - GPIO output enable clear register for GPIO32-56"] #[inline(always)] - #[must_use] pub fn enable1_w1tc(&mut self) -> ENABLE1_W1TC_W { ENABLE1_W1TC_W::new(self, 0) } diff --git a/esp32p4/src/gpio/enable1_w1ts.rs b/esp32p4/src/gpio/enable1_w1ts.rs index 9c2cc00f53..851db0d2da 100644 --- a/esp32p4/src/gpio/enable1_w1ts.rs +++ b/esp32p4/src/gpio/enable1_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:24 - GPIO output enable set register for GPIO32-56"] #[inline(always)] - #[must_use] pub fn enable1_w1ts(&mut self) -> ENABLE1_W1TS_W { ENABLE1_W1TS_W::new(self, 0) } diff --git a/esp32p4/src/gpio/enable_w1tc.rs b/esp32p4/src/gpio/enable_w1tc.rs index 2430ef3d46..2b4f6b45f4 100644 --- a/esp32p4/src/gpio/enable_w1tc.rs +++ b/esp32p4/src/gpio/enable_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - GPIO output enable clear register for GPIO0-31"] #[inline(always)] - #[must_use] pub fn enable_w1tc(&mut self) -> ENABLE_W1TC_W { ENABLE_W1TC_W::new(self, 0) } diff --git a/esp32p4/src/gpio/enable_w1ts.rs b/esp32p4/src/gpio/enable_w1ts.rs index 6078292c22..b282747b2c 100644 --- a/esp32p4/src/gpio/enable_w1ts.rs +++ b/esp32p4/src/gpio/enable_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - GPIO output enable set register for GPIO0-31"] #[inline(always)] - #[must_use] pub fn enable_w1ts(&mut self) -> ENABLE_W1TS_W { ENABLE_W1TS_W::new(self, 0) } diff --git a/esp32p4/src/gpio/func_in_sel_cfg.rs b/esp32p4/src/gpio/func_in_sel_cfg.rs index 9a1fd75eb9..12326cc0de 100644 --- a/esp32p4/src/gpio/func_in_sel_cfg.rs +++ b/esp32p4/src/gpio/func_in_sel_cfg.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - set this value: s=0-56: connect GPIO\\[s\\] to this port. s=0x3F: set this port always high level. s=0x3E: set this port always low level."] #[inline(always)] - #[must_use] pub fn in_sel(&mut self) -> IN_SEL_W { IN_SEL_W::new(self, 0) } #[doc = "Bit 6 - set this bit to invert input signal. 1:invert. 0:not invert."] #[inline(always)] - #[must_use] pub fn in_inv_sel(&mut self) -> IN_INV_SEL_W { IN_INV_SEL_W::new(self, 6) } #[doc = "Bit 7 - set this bit to bypass GPIO. 1:do not bypass GPIO. 0:bypass GPIO."] #[inline(always)] - #[must_use] pub fn sel(&mut self) -> SEL_W { SEL_W::new(self, 7) } diff --git a/esp32p4/src/gpio/func_out_sel_cfg.rs b/esp32p4/src/gpio/func_out_sel_cfg.rs index 6c364aa736..554163795a 100644 --- a/esp32p4/src/gpio/func_out_sel_cfg.rs +++ b/esp32p4/src/gpio/func_out_sel_cfg.rs @@ -2,9 +2,9 @@ pub type R = crate::R; #[doc = "Register `FUNC%s_OUT_SEL_CFG` writer"] pub type W = crate::W; -#[doc = "Field `OUT_SEL` reader - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-255: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=256: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] +#[doc = "Field `OUT_SEL` reader - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-255: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=256: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] pub type OUT_SEL_R = crate::FieldReader; -#[doc = "Field `OUT_SEL` writer - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-255: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=256: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] +#[doc = "Field `OUT_SEL` writer - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-255: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=256: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] pub type OUT_SEL_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; #[doc = "Field `INV_SEL` reader - set this bit to invert output signal.1:invert.0:not invert."] pub type INV_SEL_R = crate::BitReader; @@ -19,7 +19,7 @@ pub type OEN_INV_SEL_R = crate::BitReader; #[doc = "Field `OEN_INV_SEL` writer - set this bit to invert output enable signal.1:invert.0:not invert."] pub type OEN_INV_SEL_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { - #[doc = "Bits 0:8 - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-255: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=256: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] + #[doc = "Bits 0:8 - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-255: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=256: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] #[inline(always)] pub fn out_sel(&self) -> OUT_SEL_R { OUT_SEL_R::new((self.bits & 0x01ff) as u16) @@ -52,27 +52,23 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bits 0:8 - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-255: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=256: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] + #[doc = "Bits 0:8 - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-255: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=256: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] #[inline(always)] - #[must_use] pub fn out_sel(&mut self) -> OUT_SEL_W { OUT_SEL_W::new(self, 0) } #[doc = "Bit 9 - set this bit to invert output signal.1:invert.0:not invert."] #[inline(always)] - #[must_use] pub fn inv_sel(&mut self) -> INV_SEL_W { INV_SEL_W::new(self, 9) } #[doc = "Bit 10 - set this bit to select output enable signal.1:use GPIO_ENABLE_REG\\[n\\] as output enable signal.0:use peripheral output enable signal."] #[inline(always)] - #[must_use] pub fn oen_sel(&mut self) -> OEN_SEL_W { OEN_SEL_W::new(self, 10) } #[doc = "Bit 11 - set this bit to invert output enable signal.1:invert.0:not invert."] #[inline(always)] - #[must_use] pub fn oen_inv_sel(&mut self) -> OEN_INV_SEL_W { OEN_INV_SEL_W::new(self, 11) } diff --git a/esp32p4/src/gpio/int_clr.rs b/esp32p4/src/gpio/int_clr.rs index 544346c625..c4126fc447 100644 --- a/esp32p4/src/gpio/int_clr.rs +++ b/esp32p4/src/gpio/int_clr.rs @@ -25,49 +25,41 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - analog comparator pos edge interrupt clear"] #[inline(always)] - #[must_use] pub fn comp0_neg(&mut self) -> COMP0_NEG_W { COMP0_NEG_W::new(self, 0) } #[doc = "Bit 1 - analog comparator neg edge interrupt clear"] #[inline(always)] - #[must_use] pub fn comp0_pos(&mut self) -> COMP0_POS_W { COMP0_POS_W::new(self, 1) } #[doc = "Bit 2 - analog comparator neg or pos edge interrupt clear"] #[inline(always)] - #[must_use] pub fn comp0_all(&mut self) -> COMP0_ALL_W { COMP0_ALL_W::new(self, 2) } #[doc = "Bit 3 - analog comparator pos edge interrupt clear"] #[inline(always)] - #[must_use] pub fn comp1_neg(&mut self) -> COMP1_NEG_W { COMP1_NEG_W::new(self, 3) } #[doc = "Bit 4 - analog comparator neg edge interrupt clear"] #[inline(always)] - #[must_use] pub fn comp1_pos(&mut self) -> COMP1_POS_W { COMP1_POS_W::new(self, 4) } #[doc = "Bit 5 - analog comparator neg or pos edge interrupt clear"] #[inline(always)] - #[must_use] pub fn comp1_all(&mut self) -> COMP1_ALL_W { COMP1_ALL_W::new(self, 5) } #[doc = "Bit 6 - pad bistok interrupt enable"] #[inline(always)] - #[must_use] pub fn bistok(&mut self) -> BISTOK_W { BISTOK_W::new(self, 6) } #[doc = "Bit 7 - pad bistfail interrupt enable"] #[inline(always)] - #[must_use] pub fn bistfail(&mut self) -> BISTFAIL_W { BISTFAIL_W::new(self, 7) } diff --git a/esp32p4/src/gpio/int_ena.rs b/esp32p4/src/gpio/int_ena.rs index 00e4aa2231..fe33fbb74d 100644 --- a/esp32p4/src/gpio/int_ena.rs +++ b/esp32p4/src/gpio/int_ena.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - analog comparator pos edge interrupt enable"] #[inline(always)] - #[must_use] pub fn comp0_neg(&mut self) -> COMP0_NEG_W { COMP0_NEG_W::new(self, 0) } #[doc = "Bit 1 - analog comparator neg edge interrupt enable"] #[inline(always)] - #[must_use] pub fn comp0_pos(&mut self) -> COMP0_POS_W { COMP0_POS_W::new(self, 1) } #[doc = "Bit 2 - analog comparator neg or pos edge interrupt enable"] #[inline(always)] - #[must_use] pub fn comp0_all(&mut self) -> COMP0_ALL_W { COMP0_ALL_W::new(self, 2) } #[doc = "Bit 3 - analog comparator pos edge interrupt enable"] #[inline(always)] - #[must_use] pub fn comp1_neg(&mut self) -> COMP1_NEG_W { COMP1_NEG_W::new(self, 3) } #[doc = "Bit 4 - analog comparator neg edge interrupt enable"] #[inline(always)] - #[must_use] pub fn comp1_pos(&mut self) -> COMP1_POS_W { COMP1_POS_W::new(self, 4) } #[doc = "Bit 5 - analog comparator neg or pos edge interrupt enable"] #[inline(always)] - #[must_use] pub fn comp1_all(&mut self) -> COMP1_ALL_W { COMP1_ALL_W::new(self, 5) } #[doc = "Bit 6 - pad bistok interrupt enable"] #[inline(always)] - #[must_use] pub fn bistok(&mut self) -> BISTOK_W { BISTOK_W::new(self, 6) } #[doc = "Bit 7 - pad bistfail interrupt enable"] #[inline(always)] - #[must_use] pub fn bistfail(&mut self) -> BISTFAIL_W { BISTFAIL_W::new(self, 7) } diff --git a/esp32p4/src/gpio/int_raw.rs b/esp32p4/src/gpio/int_raw.rs index 624dbf17f5..a4d86babed 100644 --- a/esp32p4/src/gpio/int_raw.rs +++ b/esp32p4/src/gpio/int_raw.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - analog comparator pos edge interrupt raw"] #[inline(always)] - #[must_use] pub fn comp0_neg(&mut self) -> COMP0_NEG_W { COMP0_NEG_W::new(self, 0) } #[doc = "Bit 1 - analog comparator neg edge interrupt raw"] #[inline(always)] - #[must_use] pub fn comp0_pos(&mut self) -> COMP0_POS_W { COMP0_POS_W::new(self, 1) } #[doc = "Bit 2 - analog comparator neg or pos edge interrupt raw"] #[inline(always)] - #[must_use] pub fn comp0_all(&mut self) -> COMP0_ALL_W { COMP0_ALL_W::new(self, 2) } #[doc = "Bit 3 - analog comparator pos edge interrupt raw"] #[inline(always)] - #[must_use] pub fn comp1_neg(&mut self) -> COMP1_NEG_W { COMP1_NEG_W::new(self, 3) } #[doc = "Bit 4 - analog comparator neg edge interrupt raw"] #[inline(always)] - #[must_use] pub fn comp1_pos(&mut self) -> COMP1_POS_W { COMP1_POS_W::new(self, 4) } #[doc = "Bit 5 - analog comparator neg or pos edge interrupt raw"] #[inline(always)] - #[must_use] pub fn comp1_all(&mut self) -> COMP1_ALL_W { COMP1_ALL_W::new(self, 5) } #[doc = "Bit 6 - pad bistok interrupt raw"] #[inline(always)] - #[must_use] pub fn bistok(&mut self) -> BISTOK_W { BISTOK_W::new(self, 6) } #[doc = "Bit 7 - pad bistfail interrupt raw"] #[inline(always)] - #[must_use] pub fn bistfail(&mut self) -> BISTFAIL_W { BISTFAIL_W::new(self, 7) } diff --git a/esp32p4/src/gpio/out.rs b/esp32p4/src/gpio/out.rs index 4e8b7d0b21..f52f2a8c9e 100644 --- a/esp32p4/src/gpio/out.rs +++ b/esp32p4/src/gpio/out.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - GPIO output register for GPIO0-31"] #[inline(always)] - #[must_use] pub fn data_orig(&mut self) -> DATA_ORIG_W { DATA_ORIG_W::new(self, 0) } diff --git a/esp32p4/src/gpio/out1.rs b/esp32p4/src/gpio/out1.rs index 404bc1e28d..d9a2611306 100644 --- a/esp32p4/src/gpio/out1.rs +++ b/esp32p4/src/gpio/out1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:24 - GPIO output register for GPIO32-56"] #[inline(always)] - #[must_use] pub fn data_orig(&mut self) -> DATA_ORIG_W { DATA_ORIG_W::new(self, 0) } diff --git a/esp32p4/src/gpio/out1_w1tc.rs b/esp32p4/src/gpio/out1_w1tc.rs index 4c75f41cd4..addab48381 100644 --- a/esp32p4/src/gpio/out1_w1tc.rs +++ b/esp32p4/src/gpio/out1_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:24 - GPIO output clear register for GPIO32-56"] #[inline(always)] - #[must_use] pub fn out1_w1tc(&mut self) -> OUT1_W1TC_W { OUT1_W1TC_W::new(self, 0) } diff --git a/esp32p4/src/gpio/out1_w1ts.rs b/esp32p4/src/gpio/out1_w1ts.rs index 85d4caa5a3..2b00ed5f1f 100644 --- a/esp32p4/src/gpio/out1_w1ts.rs +++ b/esp32p4/src/gpio/out1_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:24 - GPIO output set register for GPIO32-56"] #[inline(always)] - #[must_use] pub fn out1_w1ts(&mut self) -> OUT1_W1TS_W { OUT1_W1TS_W::new(self, 0) } diff --git a/esp32p4/src/gpio/out_w1tc.rs b/esp32p4/src/gpio/out_w1tc.rs index a0260c53ec..a4a932319a 100644 --- a/esp32p4/src/gpio/out_w1tc.rs +++ b/esp32p4/src/gpio/out_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - GPIO output clear register for GPIO0-31"] #[inline(always)] - #[must_use] pub fn out_w1tc(&mut self) -> OUT_W1TC_W { OUT_W1TC_W::new(self, 0) } diff --git a/esp32p4/src/gpio/out_w1ts.rs b/esp32p4/src/gpio/out_w1ts.rs index 70c7af6b7e..33b86ce3b3 100644 --- a/esp32p4/src/gpio/out_w1ts.rs +++ b/esp32p4/src/gpio/out_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - GPIO output set register for GPIO0-31"] #[inline(always)] - #[must_use] pub fn out_w1ts(&mut self) -> OUT_W1TS_W { OUT_W1TS_W::new(self, 0) } diff --git a/esp32p4/src/gpio/pin.rs b/esp32p4/src/gpio/pin.rs index 28a30e66af..5bad7dea08 100644 --- a/esp32p4/src/gpio/pin.rs +++ b/esp32p4/src/gpio/pin.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - set GPIO input_sync2 signal mode. 0:disable. 1:trigger at negedge. 2or3:trigger at posedge."] #[inline(always)] - #[must_use] pub fn sync2_bypass(&mut self) -> SYNC2_BYPASS_W { SYNC2_BYPASS_W::new(self, 0) } #[doc = "Bit 2 - set this bit to select pad driver. 1:open-drain. 0:normal."] #[inline(always)] - #[must_use] pub fn pad_driver(&mut self) -> PAD_DRIVER_W { PAD_DRIVER_W::new(self, 2) } #[doc = "Bits 3:4 - set GPIO input_sync1 signal mode. 0:disable. 1:trigger at negedge. 2or3:trigger at posedge."] #[inline(always)] - #[must_use] pub fn sync1_bypass(&mut self) -> SYNC1_BYPASS_W { SYNC1_BYPASS_W::new(self, 3) } #[doc = "Bits 7:9 - set this value to choose interrupt mode. 0:disable GPIO interrupt. 1:trigger at posedge. 2:trigger at negedge. 3:trigger at any edge. 4:valid at low level. 5:valid at high level"] #[inline(always)] - #[must_use] pub fn int_type(&mut self) -> INT_TYPE_W { INT_TYPE_W::new(self, 7) } #[doc = "Bit 10 - set this bit to enable GPIO wakeup.(can only wakeup CPU from Light-sleep Mode)"] #[inline(always)] - #[must_use] pub fn wakeup_enable(&mut self) -> WAKEUP_ENABLE_W { WAKEUP_ENABLE_W::new(self, 10) } #[doc = "Bits 11:12 - reserved"] #[inline(always)] - #[must_use] pub fn config(&mut self) -> CONFIG_W { CONFIG_W::new(self, 11) } #[doc = "Bits 13:17 - set bit 13 to enable CPU interrupt. set bit 14 to enable CPU(not shielded) interrupt."] #[inline(always)] - #[must_use] pub fn int_ena(&mut self) -> INT_ENA_W { INT_ENA_W::new(self, 13) } diff --git a/esp32p4/src/gpio/send_seq.rs b/esp32p4/src/gpio/send_seq.rs index 1974e37548..744570c1cb 100644 --- a/esp32p4/src/gpio/send_seq.rs +++ b/esp32p4/src/gpio/send_seq.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - High speed sdio pad bist send sequence"] #[inline(always)] - #[must_use] pub fn send_seq(&mut self) -> SEND_SEQ_W { SEND_SEQ_W::new(self, 0) } diff --git a/esp32p4/src/gpio/status.rs b/esp32p4/src/gpio/status.rs index c98aa95035..d09aa5f9bd 100644 --- a/esp32p4/src/gpio/status.rs +++ b/esp32p4/src/gpio/status.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - GPIO interrupt status register for GPIO0-31"] #[inline(always)] - #[must_use] pub fn interrupt(&mut self) -> INTERRUPT_W { INTERRUPT_W::new(self, 0) } diff --git a/esp32p4/src/gpio/status1.rs b/esp32p4/src/gpio/status1.rs index 73c3af66f1..cd12d17241 100644 --- a/esp32p4/src/gpio/status1.rs +++ b/esp32p4/src/gpio/status1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:24 - GPIO interrupt status register for GPIO32-56"] #[inline(always)] - #[must_use] pub fn interrupt(&mut self) -> INTERRUPT_W { INTERRUPT_W::new(self, 0) } diff --git a/esp32p4/src/gpio/status1_w1tc.rs b/esp32p4/src/gpio/status1_w1tc.rs index 5a56c4e193..4dc404da27 100644 --- a/esp32p4/src/gpio/status1_w1tc.rs +++ b/esp32p4/src/gpio/status1_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:24 - GPIO interrupt status clear register for GPIO32-56"] #[inline(always)] - #[must_use] pub fn status1_w1tc(&mut self) -> STATUS1_W1TC_W { STATUS1_W1TC_W::new(self, 0) } diff --git a/esp32p4/src/gpio/status1_w1ts.rs b/esp32p4/src/gpio/status1_w1ts.rs index 88b4884ffe..a874a9a1cf 100644 --- a/esp32p4/src/gpio/status1_w1ts.rs +++ b/esp32p4/src/gpio/status1_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:24 - GPIO interrupt status set register for GPIO32-56"] #[inline(always)] - #[must_use] pub fn status1_w1ts(&mut self) -> STATUS1_W1TS_W { STATUS1_W1TS_W::new(self, 0) } diff --git a/esp32p4/src/gpio/status_w1tc.rs b/esp32p4/src/gpio/status_w1tc.rs index 823616fd36..2d8a58ef2a 100644 --- a/esp32p4/src/gpio/status_w1tc.rs +++ b/esp32p4/src/gpio/status_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - GPIO interrupt status clear register for GPIO0-31"] #[inline(always)] - #[must_use] pub fn status_w1tc(&mut self) -> STATUS_W1TC_W { STATUS_W1TC_W::new(self, 0) } diff --git a/esp32p4/src/gpio/status_w1ts.rs b/esp32p4/src/gpio/status_w1ts.rs index 0baee1a8e9..b915c312f0 100644 --- a/esp32p4/src/gpio/status_w1ts.rs +++ b/esp32p4/src/gpio/status_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - GPIO interrupt status set register for GPIO0-31"] #[inline(always)] - #[must_use] pub fn status_w1ts(&mut self) -> STATUS_W1TS_W { STATUS_W1TS_W::new(self, 0) } diff --git a/esp32p4/src/gpio/zero_det0_filter_cnt.rs b/esp32p4/src/gpio/zero_det0_filter_cnt.rs index 6b635f247f..7a78e6dc04 100644 --- a/esp32p4/src/gpio/zero_det0_filter_cnt.rs +++ b/esp32p4/src/gpio/zero_det0_filter_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - GPIO analog comparator zero detect filter count"] #[inline(always)] - #[must_use] pub fn zero_det0_filter_cnt(&mut self) -> ZERO_DET0_FILTER_CNT_W { ZERO_DET0_FILTER_CNT_W::new(self, 0) } diff --git a/esp32p4/src/gpio/zero_det1_filter_cnt.rs b/esp32p4/src/gpio/zero_det1_filter_cnt.rs index e53dc33625..3260f98461 100644 --- a/esp32p4/src/gpio/zero_det1_filter_cnt.rs +++ b/esp32p4/src/gpio/zero_det1_filter_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - GPIO analog comparator zero detect filter count"] #[inline(always)] - #[must_use] pub fn zero_det1_filter_cnt(&mut self) -> ZERO_DET1_FILTER_CNT_W { ZERO_DET1_FILTER_CNT_W::new(self, 0) } diff --git a/esp32p4/src/gpio_sd/clock_gate.rs b/esp32p4/src/gpio_sd/clock_gate.rs index aaa6927490..7758e66de3 100644 --- a/esp32p4/src/gpio_sd/clock_gate.rs +++ b/esp32p4/src/gpio_sd/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Clock enable bit of configuration registers for sigma delta modulation."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32p4/src/gpio_sd/etm_event_ch_cfg.rs b/esp32p4/src/gpio_sd/etm_event_ch_cfg.rs index 1d6bf0d4b1..b64a02e711 100644 --- a/esp32p4/src/gpio_sd/etm_event_ch_cfg.rs +++ b/esp32p4/src/gpio_sd/etm_event_ch_cfg.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - Etm event channel select gpio."] #[inline(always)] - #[must_use] pub fn event_sel(&mut self) -> EVENT_SEL_W { EVENT_SEL_W::new(self, 0) } #[doc = "Bit 7 - Etm event send enable bit."] #[inline(always)] - #[must_use] pub fn event_en(&mut self) -> EVENT_EN_W { EVENT_EN_W::new(self, 7) } diff --git a/esp32p4/src/gpio_sd/etm_task_p0_cfg.rs b/esp32p4/src/gpio_sd/etm_task_p0_cfg.rs index de37513f25..832e4cf106 100644 --- a/esp32p4/src/gpio_sd/etm_task_p0_cfg.rs +++ b/esp32p4/src/gpio_sd/etm_task_p0_cfg.rs @@ -102,7 +102,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO0_EN` field.
"] #[inline(always)] - #[must_use] pub fn gpio_en(&mut self, n: u8) -> GPIO_EN_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -110,25 +109,21 @@ impl W { } #[doc = "Bit 0 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio0_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 0) } #[doc = "Bit 8 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio1_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 8) } #[doc = "Bit 16 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio2_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 16) } #[doc = "Bit 24 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio3_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 24) } @@ -136,7 +131,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO0_SEL` field.
"] #[inline(always)] - #[must_use] pub fn gpio_sel(&mut self, n: u8) -> GPIO_SEL_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -144,25 +138,21 @@ impl W { } #[doc = "Bits 1:3 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio0_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 1) } #[doc = "Bits 9:11 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio1_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 9) } #[doc = "Bits 17:19 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio2_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 17) } #[doc = "Bits 25:27 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio3_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 25) } diff --git a/esp32p4/src/gpio_sd/etm_task_p10_cfg.rs b/esp32p4/src/gpio_sd/etm_task_p10_cfg.rs index 179ec6f6ab..2bd143550f 100644 --- a/esp32p4/src/gpio_sd/etm_task_p10_cfg.rs +++ b/esp32p4/src/gpio_sd/etm_task_p10_cfg.rs @@ -102,7 +102,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO40_EN` field.
"] #[inline(always)] - #[must_use] pub fn gpio_en(&mut self, n: u8) -> GPIO_EN_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -110,25 +109,21 @@ impl W { } #[doc = "Bit 0 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio40_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 0) } #[doc = "Bit 8 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio41_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 8) } #[doc = "Bit 16 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio42_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 16) } #[doc = "Bit 24 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio43_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 24) } @@ -136,7 +131,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO40_SEL` field.
"] #[inline(always)] - #[must_use] pub fn gpio_sel(&mut self, n: u8) -> GPIO_SEL_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -144,25 +138,21 @@ impl W { } #[doc = "Bits 1:3 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio40_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 1) } #[doc = "Bits 9:11 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio41_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 9) } #[doc = "Bits 17:19 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio42_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 17) } #[doc = "Bits 25:27 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio43_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 25) } diff --git a/esp32p4/src/gpio_sd/etm_task_p11_cfg.rs b/esp32p4/src/gpio_sd/etm_task_p11_cfg.rs index 131b555cad..212d705d1a 100644 --- a/esp32p4/src/gpio_sd/etm_task_p11_cfg.rs +++ b/esp32p4/src/gpio_sd/etm_task_p11_cfg.rs @@ -102,7 +102,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO44_EN` field.
"] #[inline(always)] - #[must_use] pub fn gpio_en(&mut self, n: u8) -> GPIO_EN_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -110,25 +109,21 @@ impl W { } #[doc = "Bit 0 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio44_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 0) } #[doc = "Bit 8 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio45_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 8) } #[doc = "Bit 16 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio46_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 16) } #[doc = "Bit 24 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio47_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 24) } @@ -136,7 +131,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO44_SEL` field.
"] #[inline(always)] - #[must_use] pub fn gpio_sel(&mut self, n: u8) -> GPIO_SEL_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -144,25 +138,21 @@ impl W { } #[doc = "Bits 1:3 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio44_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 1) } #[doc = "Bits 9:11 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio45_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 9) } #[doc = "Bits 17:19 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio46_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 17) } #[doc = "Bits 25:27 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio47_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 25) } diff --git a/esp32p4/src/gpio_sd/etm_task_p12_cfg.rs b/esp32p4/src/gpio_sd/etm_task_p12_cfg.rs index 0dc04f8f24..291feb080e 100644 --- a/esp32p4/src/gpio_sd/etm_task_p12_cfg.rs +++ b/esp32p4/src/gpio_sd/etm_task_p12_cfg.rs @@ -102,7 +102,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO48_EN` field.
"] #[inline(always)] - #[must_use] pub fn gpio_en(&mut self, n: u8) -> GPIO_EN_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -110,25 +109,21 @@ impl W { } #[doc = "Bit 0 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio48_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 0) } #[doc = "Bit 8 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio49_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 8) } #[doc = "Bit 16 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio50_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 16) } #[doc = "Bit 24 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio51_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 24) } @@ -136,7 +131,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO48_SEL` field.
"] #[inline(always)] - #[must_use] pub fn gpio_sel(&mut self, n: u8) -> GPIO_SEL_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -144,25 +138,21 @@ impl W { } #[doc = "Bits 1:3 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio48_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 1) } #[doc = "Bits 9:11 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio49_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 9) } #[doc = "Bits 17:19 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio50_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 17) } #[doc = "Bits 25:27 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio51_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 25) } diff --git a/esp32p4/src/gpio_sd/etm_task_p13_cfg.rs b/esp32p4/src/gpio_sd/etm_task_p13_cfg.rs index 0efc8a33fe..f3127c15b3 100644 --- a/esp32p4/src/gpio_sd/etm_task_p13_cfg.rs +++ b/esp32p4/src/gpio_sd/etm_task_p13_cfg.rs @@ -90,7 +90,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO52_EN` field.
"] #[inline(always)] - #[must_use] pub fn gpio_en(&mut self, n: u8) -> GPIO_EN_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -98,19 +97,16 @@ impl W { } #[doc = "Bit 0 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio52_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 0) } #[doc = "Bit 8 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio53_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 8) } #[doc = "Bit 16 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio54_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 16) } @@ -118,7 +114,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO52_SEL` field.
"] #[inline(always)] - #[must_use] pub fn gpio_sel(&mut self, n: u8) -> GPIO_SEL_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -126,19 +121,16 @@ impl W { } #[doc = "Bits 1:3 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio52_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 1) } #[doc = "Bits 9:11 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio53_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 9) } #[doc = "Bits 17:19 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio54_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 17) } diff --git a/esp32p4/src/gpio_sd/etm_task_p1_cfg.rs b/esp32p4/src/gpio_sd/etm_task_p1_cfg.rs index d177264fab..14016c50b3 100644 --- a/esp32p4/src/gpio_sd/etm_task_p1_cfg.rs +++ b/esp32p4/src/gpio_sd/etm_task_p1_cfg.rs @@ -102,7 +102,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO4_EN` field.
"] #[inline(always)] - #[must_use] pub fn gpio_en(&mut self, n: u8) -> GPIO_EN_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -110,25 +109,21 @@ impl W { } #[doc = "Bit 0 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio4_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 0) } #[doc = "Bit 8 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio5_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 8) } #[doc = "Bit 16 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio6_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 16) } #[doc = "Bit 24 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio7_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 24) } @@ -136,7 +131,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO4_SEL` field.
"] #[inline(always)] - #[must_use] pub fn gpio_sel(&mut self, n: u8) -> GPIO_SEL_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -144,25 +138,21 @@ impl W { } #[doc = "Bits 1:3 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio4_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 1) } #[doc = "Bits 9:11 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio5_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 9) } #[doc = "Bits 17:19 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio6_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 17) } #[doc = "Bits 25:27 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio7_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 25) } diff --git a/esp32p4/src/gpio_sd/etm_task_p2_cfg.rs b/esp32p4/src/gpio_sd/etm_task_p2_cfg.rs index 2bc342032a..469f46bb00 100644 --- a/esp32p4/src/gpio_sd/etm_task_p2_cfg.rs +++ b/esp32p4/src/gpio_sd/etm_task_p2_cfg.rs @@ -102,7 +102,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO8_EN` field.
"] #[inline(always)] - #[must_use] pub fn gpio_en(&mut self, n: u8) -> GPIO_EN_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -110,25 +109,21 @@ impl W { } #[doc = "Bit 0 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio8_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 0) } #[doc = "Bit 8 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio9_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 8) } #[doc = "Bit 16 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio10_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 16) } #[doc = "Bit 24 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio11_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 24) } @@ -136,7 +131,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO8_SEL` field.
"] #[inline(always)] - #[must_use] pub fn gpio_sel(&mut self, n: u8) -> GPIO_SEL_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -144,25 +138,21 @@ impl W { } #[doc = "Bits 1:3 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio8_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 1) } #[doc = "Bits 9:11 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio9_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 9) } #[doc = "Bits 17:19 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio10_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 17) } #[doc = "Bits 25:27 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio11_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 25) } diff --git a/esp32p4/src/gpio_sd/etm_task_p3_cfg.rs b/esp32p4/src/gpio_sd/etm_task_p3_cfg.rs index aac55706ec..61c445d382 100644 --- a/esp32p4/src/gpio_sd/etm_task_p3_cfg.rs +++ b/esp32p4/src/gpio_sd/etm_task_p3_cfg.rs @@ -102,7 +102,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO12_EN` field.
"] #[inline(always)] - #[must_use] pub fn gpio_en(&mut self, n: u8) -> GPIO_EN_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -110,25 +109,21 @@ impl W { } #[doc = "Bit 0 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio12_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 0) } #[doc = "Bit 8 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio13_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 8) } #[doc = "Bit 16 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio14_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 16) } #[doc = "Bit 24 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio15_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 24) } @@ -136,7 +131,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO12_SEL` field.
"] #[inline(always)] - #[must_use] pub fn gpio_sel(&mut self, n: u8) -> GPIO_SEL_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -144,25 +138,21 @@ impl W { } #[doc = "Bits 1:3 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio12_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 1) } #[doc = "Bits 9:11 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio13_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 9) } #[doc = "Bits 17:19 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio14_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 17) } #[doc = "Bits 25:27 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio15_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 25) } diff --git a/esp32p4/src/gpio_sd/etm_task_p4_cfg.rs b/esp32p4/src/gpio_sd/etm_task_p4_cfg.rs index 8e244aab08..27751a588d 100644 --- a/esp32p4/src/gpio_sd/etm_task_p4_cfg.rs +++ b/esp32p4/src/gpio_sd/etm_task_p4_cfg.rs @@ -102,7 +102,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO16_EN` field.
"] #[inline(always)] - #[must_use] pub fn gpio_en(&mut self, n: u8) -> GPIO_EN_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -110,25 +109,21 @@ impl W { } #[doc = "Bit 0 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio16_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 0) } #[doc = "Bit 8 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio17_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 8) } #[doc = "Bit 16 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio18_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 16) } #[doc = "Bit 24 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio19_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 24) } @@ -136,7 +131,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO16_SEL` field.
"] #[inline(always)] - #[must_use] pub fn gpio_sel(&mut self, n: u8) -> GPIO_SEL_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -144,25 +138,21 @@ impl W { } #[doc = "Bits 1:3 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio16_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 1) } #[doc = "Bits 9:11 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio17_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 9) } #[doc = "Bits 17:19 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio18_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 17) } #[doc = "Bits 25:27 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio19_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 25) } diff --git a/esp32p4/src/gpio_sd/etm_task_p5_cfg.rs b/esp32p4/src/gpio_sd/etm_task_p5_cfg.rs index 73c570073b..3b77e4703a 100644 --- a/esp32p4/src/gpio_sd/etm_task_p5_cfg.rs +++ b/esp32p4/src/gpio_sd/etm_task_p5_cfg.rs @@ -102,7 +102,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO20_EN` field.
"] #[inline(always)] - #[must_use] pub fn gpio_en(&mut self, n: u8) -> GPIO_EN_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -110,25 +109,21 @@ impl W { } #[doc = "Bit 0 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio20_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 0) } #[doc = "Bit 8 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio21_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 8) } #[doc = "Bit 16 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio22_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 16) } #[doc = "Bit 24 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio23_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 24) } @@ -136,7 +131,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO20_SEL` field.
"] #[inline(always)] - #[must_use] pub fn gpio_sel(&mut self, n: u8) -> GPIO_SEL_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -144,25 +138,21 @@ impl W { } #[doc = "Bits 1:3 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio20_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 1) } #[doc = "Bits 9:11 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio21_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 9) } #[doc = "Bits 17:19 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio22_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 17) } #[doc = "Bits 25:27 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio23_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 25) } diff --git a/esp32p4/src/gpio_sd/etm_task_p6_cfg.rs b/esp32p4/src/gpio_sd/etm_task_p6_cfg.rs index e050a011da..7feb6c77d9 100644 --- a/esp32p4/src/gpio_sd/etm_task_p6_cfg.rs +++ b/esp32p4/src/gpio_sd/etm_task_p6_cfg.rs @@ -102,7 +102,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO24_EN` field.
"] #[inline(always)] - #[must_use] pub fn gpio_en(&mut self, n: u8) -> GPIO_EN_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -110,25 +109,21 @@ impl W { } #[doc = "Bit 0 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio24_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 0) } #[doc = "Bit 8 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio25_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 8) } #[doc = "Bit 16 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio26_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 16) } #[doc = "Bit 24 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio27_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 24) } @@ -136,7 +131,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO24_SEL` field.
"] #[inline(always)] - #[must_use] pub fn gpio_sel(&mut self, n: u8) -> GPIO_SEL_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -144,25 +138,21 @@ impl W { } #[doc = "Bits 1:3 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio24_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 1) } #[doc = "Bits 9:11 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio25_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 9) } #[doc = "Bits 17:19 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio26_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 17) } #[doc = "Bits 25:27 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio27_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 25) } diff --git a/esp32p4/src/gpio_sd/etm_task_p7_cfg.rs b/esp32p4/src/gpio_sd/etm_task_p7_cfg.rs index f879a8a560..78b30fdcc3 100644 --- a/esp32p4/src/gpio_sd/etm_task_p7_cfg.rs +++ b/esp32p4/src/gpio_sd/etm_task_p7_cfg.rs @@ -102,7 +102,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO28_EN` field.
"] #[inline(always)] - #[must_use] pub fn gpio_en(&mut self, n: u8) -> GPIO_EN_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -110,25 +109,21 @@ impl W { } #[doc = "Bit 0 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio28_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 0) } #[doc = "Bit 8 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio29_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 8) } #[doc = "Bit 16 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio30_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 16) } #[doc = "Bit 24 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio31_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 24) } @@ -136,7 +131,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO28_SEL` field.
"] #[inline(always)] - #[must_use] pub fn gpio_sel(&mut self, n: u8) -> GPIO_SEL_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -144,25 +138,21 @@ impl W { } #[doc = "Bits 1:3 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio28_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 1) } #[doc = "Bits 9:11 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio29_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 9) } #[doc = "Bits 17:19 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio30_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 17) } #[doc = "Bits 25:27 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio31_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 25) } diff --git a/esp32p4/src/gpio_sd/etm_task_p8_cfg.rs b/esp32p4/src/gpio_sd/etm_task_p8_cfg.rs index f3ee979cef..0db637b2d4 100644 --- a/esp32p4/src/gpio_sd/etm_task_p8_cfg.rs +++ b/esp32p4/src/gpio_sd/etm_task_p8_cfg.rs @@ -102,7 +102,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO32_EN` field.
"] #[inline(always)] - #[must_use] pub fn gpio_en(&mut self, n: u8) -> GPIO_EN_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -110,25 +109,21 @@ impl W { } #[doc = "Bit 0 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio32_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 0) } #[doc = "Bit 8 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio33_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 8) } #[doc = "Bit 16 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio34_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 16) } #[doc = "Bit 24 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio35_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 24) } @@ -136,7 +131,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO32_SEL` field.
"] #[inline(always)] - #[must_use] pub fn gpio_sel(&mut self, n: u8) -> GPIO_SEL_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -144,25 +138,21 @@ impl W { } #[doc = "Bits 1:3 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio32_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 1) } #[doc = "Bits 9:11 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio33_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 9) } #[doc = "Bits 17:19 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio34_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 17) } #[doc = "Bits 25:27 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio35_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 25) } diff --git a/esp32p4/src/gpio_sd/etm_task_p9_cfg.rs b/esp32p4/src/gpio_sd/etm_task_p9_cfg.rs index 2e9badaa93..f987eec730 100644 --- a/esp32p4/src/gpio_sd/etm_task_p9_cfg.rs +++ b/esp32p4/src/gpio_sd/etm_task_p9_cfg.rs @@ -102,7 +102,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO36_EN` field.
"] #[inline(always)] - #[must_use] pub fn gpio_en(&mut self, n: u8) -> GPIO_EN_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -110,25 +109,21 @@ impl W { } #[doc = "Bit 0 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio36_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 0) } #[doc = "Bit 8 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio37_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 8) } #[doc = "Bit 16 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio38_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 16) } #[doc = "Bit 24 - Enable bit of GPIO response etm task."] #[inline(always)] - #[must_use] pub fn gpio39_en(&mut self) -> GPIO_EN_W { GPIO_EN_W::new(self, 24) } @@ -136,7 +131,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO36_SEL` field.
"] #[inline(always)] - #[must_use] pub fn gpio_sel(&mut self, n: u8) -> GPIO_SEL_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -144,25 +138,21 @@ impl W { } #[doc = "Bits 1:3 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio36_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 1) } #[doc = "Bits 9:11 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio37_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 9) } #[doc = "Bits 17:19 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio38_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 17) } #[doc = "Bits 25:27 - GPIO choose a etm task channel."] #[inline(always)] - #[must_use] pub fn gpio39_sel(&mut self) -> GPIO_SEL_W { GPIO_SEL_W::new(self, 25) } diff --git a/esp32p4/src/gpio_sd/glitch_filter_ch.rs b/esp32p4/src/gpio_sd/glitch_filter_ch.rs index 379e3775cf..ef5b640bcc 100644 --- a/esp32p4/src/gpio_sd/glitch_filter_ch.rs +++ b/esp32p4/src/gpio_sd/glitch_filter_ch.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Glitch Filter channel enable bit."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 0) } #[doc = "Bits 1:6 - Glitch Filter input io number."] #[inline(always)] - #[must_use] pub fn input_io_num(&mut self) -> INPUT_IO_NUM_W { INPUT_IO_NUM_W::new(self, 1) } #[doc = "Bits 7:12 - Glitch Filter window threshold."] #[inline(always)] - #[must_use] pub fn window_thres(&mut self) -> WINDOW_THRES_W { WINDOW_THRES_W::new(self, 7) } #[doc = "Bits 13:18 - Glitch Filter window width."] #[inline(always)] - #[must_use] pub fn window_width(&mut self) -> WINDOW_WIDTH_W { WINDOW_WIDTH_W::new(self, 13) } diff --git a/esp32p4/src/gpio_sd/sigmadelta.rs b/esp32p4/src/gpio_sd/sigmadelta.rs index 38e02d27b9..aed653d231 100644 --- a/esp32p4/src/gpio_sd/sigmadelta.rs +++ b/esp32p4/src/gpio_sd/sigmadelta.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This field is used to configure the duty cycle of sigma delta modulation output."] #[inline(always)] - #[must_use] pub fn in_(&mut self) -> IN_W { IN_W::new(self, 0) } #[doc = "Bits 8:15 - This field is used to set a divider value to divide APB clock."] #[inline(always)] - #[must_use] pub fn prescale(&mut self) -> PRESCALE_W { PRESCALE_W::new(self, 8) } diff --git a/esp32p4/src/gpio_sd/sigmadelta_misc.rs b/esp32p4/src/gpio_sd/sigmadelta_misc.rs index 4ab13a96f5..3f7dca6ec7 100644 --- a/esp32p4/src/gpio_sd/sigmadelta_misc.rs +++ b/esp32p4/src/gpio_sd/sigmadelta_misc.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - Clock enable bit of sigma delta modulation."] #[inline(always)] - #[must_use] pub fn function_clk_en(&mut self) -> FUNCTION_CLK_EN_W { FUNCTION_CLK_EN_W::new(self, 30) } #[doc = "Bit 31 - Reserved."] #[inline(always)] - #[must_use] pub fn spi_swap(&mut self) -> SPI_SWAP_W { SPI_SWAP_W::new(self, 31) } diff --git a/esp32p4/src/gpio_sd/version.rs b/esp32p4/src/gpio_sd/version.rs index 1ab4a80e69..16c4ae442d 100644 --- a/esp32p4/src/gpio_sd/version.rs +++ b/esp32p4/src/gpio_sd/version.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Version control register."] #[inline(always)] - #[must_use] pub fn gpio_sd_date(&mut self) -> GPIO_SD_DATE_W { GPIO_SD_DATE_W::new(self, 0) } diff --git a/esp32p4/src/h264/a_db_bypass.rs b/esp32p4/src/h264/a_db_bypass.rs index 182df825a4..58cecffbe0 100644 --- a/esp32p4/src/h264/a_db_bypass.rs +++ b/esp32p4/src/h264/a_db_bypass.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configures whether or not to bypass video A deblcoking filter. \\\\0: Open the deblock filter\\\\1: Close the deblock filter"] #[inline(always)] - #[must_use] pub fn a_bypass_db_filter(&mut self) -> A_BYPASS_DB_FILTER_W { A_BYPASS_DB_FILTER_W::new(self, 0) } diff --git a/esp32p4/src/h264/a_deci_score.rs b/esp32p4/src/h264/a_deci_score.rs index 6d06d087db..2048ad404b 100644 --- a/esp32p4/src/h264/a_deci_score.rs +++ b/esp32p4/src/h264/a_deci_score.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - Configures video A chroma MB decimate score. When chroma score is smaller than it, chroma decimate will be enable."] #[inline(always)] - #[must_use] pub fn a_c_deci_score(&mut self) -> A_C_DECI_SCORE_W { A_C_DECI_SCORE_W::new(self, 0) } #[doc = "Bits 10:19 - Configures video A luma MB decimate score. When luma score is smaller than it, luma decimate will be enable."] #[inline(always)] - #[must_use] pub fn a_l_deci_score(&mut self) -> A_L_DECI_SCORE_W { A_L_DECI_SCORE_W::new(self, 10) } diff --git a/esp32p4/src/h264/a_deci_score_offset.rs b/esp32p4/src/h264/a_deci_score_offset.rs index e9fdc52271..8122475095 100644 --- a/esp32p4/src/h264/a_deci_score_offset.rs +++ b/esp32p4/src/h264/a_deci_score_offset.rs @@ -66,7 +66,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - Configures video A i16x16 MB decimate score offset. This offset will be added to i16x16 MB score."] #[inline(always)] - #[must_use] pub fn a_i16x16_deci_score_offset( &mut self, ) -> A_I16X16_DECI_SCORE_OFFSET_W { @@ -74,7 +73,6 @@ impl W { } #[doc = "Bits 6:11 - Configures video A I chroma MB decimate score offset. This offset will be added to I chroma MB score."] #[inline(always)] - #[must_use] pub fn a_i_chroma_deci_score_offset( &mut self, ) -> A_I_CHROMA_DECI_SCORE_OFFSET_W { @@ -82,7 +80,6 @@ impl W { } #[doc = "Bits 12:17 - Configures video A p16x16 MB decimate score offset. This offset will be added to p16x16 MB score."] #[inline(always)] - #[must_use] pub fn a_p16x16_deci_score_offset( &mut self, ) -> A_P16X16_DECI_SCORE_OFFSET_W { @@ -90,7 +87,6 @@ impl W { } #[doc = "Bits 18:23 - Configures video A p chroma MB decimate score offset. This offset will be added to p chroma MB score."] #[inline(always)] - #[must_use] pub fn a_p_chroma_deci_score_offset( &mut self, ) -> A_P_CHROMA_DECI_SCORE_OFFSET_W { diff --git a/esp32p4/src/h264/a_no_roi_region_qp_offset.rs b/esp32p4/src/h264/a_no_roi_region_qp_offset.rs index 9c426dd2b6..18f711a9db 100644 --- a/esp32p4/src/h264/a_no_roi_region_qp_offset.rs +++ b/esp32p4/src/h264/a_no_roi_region_qp_offset.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Configure H264 no region qp in video A, delta qp."] #[inline(always)] - #[must_use] pub fn a_no_roi_region_qp(&mut self) -> A_NO_ROI_REGION_QP_W { A_NO_ROI_REGION_QP_W::new(self, 0) } diff --git a/esp32p4/src/h264/a_rc_conf0.rs b/esp32p4/src/h264/a_rc_conf0.rs index 46808454bc..e12eccce62 100644 --- a/esp32p4/src/h264/a_rc_conf0.rs +++ b/esp32p4/src/h264/a_rc_conf0.rs @@ -6,9 +6,9 @@ pub type W = crate::W; pub type A_QP_R = crate::FieldReader; #[doc = "Field `A_QP` writer - Configures video A frame level initial luma QP value."] pub type A_QP_W<'a, REG> = crate::FieldWriter<'a, REG, 6>; -#[doc = "Field `A_RATE_CTRL_U` reader - Configures video A parameter U value. U = int((float) u << 8)."] +#[doc = "Field `A_RATE_CTRL_U` reader - Configures video A parameter U value. U = int((float) u << 8)."] pub type A_RATE_CTRL_U_R = crate::FieldReader; -#[doc = "Field `A_RATE_CTRL_U` writer - Configures video A parameter U value. U = int((float) u << 8)."] +#[doc = "Field `A_RATE_CTRL_U` writer - Configures video A parameter U value. U = int((float) u << 8)."] pub type A_RATE_CTRL_U_W<'a, REG> = crate::FieldWriter<'a, REG, 16, u16>; #[doc = "Field `A_MB_RATE_CTRL_EN` reader - Configures video A whether or not to open macro block rate ctrl.\\\\1:Open the macro block rate ctrl\\\\1:Close the macro block rate ctrl."] pub type A_MB_RATE_CTRL_EN_R = crate::BitReader; @@ -20,7 +20,7 @@ impl R { pub fn a_qp(&self) -> A_QP_R { A_QP_R::new((self.bits & 0x3f) as u8) } - #[doc = "Bits 6:21 - Configures video A parameter U value. U = int((float) u << 8)."] + #[doc = "Bits 6:21 - Configures video A parameter U value. U = int((float) u << 8)."] #[inline(always)] pub fn a_rate_ctrl_u(&self) -> A_RATE_CTRL_U_R { A_RATE_CTRL_U_R::new(((self.bits >> 6) & 0xffff) as u16) @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - Configures video A frame level initial luma QP value."] #[inline(always)] - #[must_use] pub fn a_qp(&mut self) -> A_QP_W { A_QP_W::new(self, 0) } - #[doc = "Bits 6:21 - Configures video A parameter U value. U = int((float) u << 8)."] + #[doc = "Bits 6:21 - Configures video A parameter U value. U = int((float) u << 8)."] #[inline(always)] - #[must_use] pub fn a_rate_ctrl_u(&mut self) -> A_RATE_CTRL_U_W { A_RATE_CTRL_U_W::new(self, 6) } #[doc = "Bit 22 - Configures video A whether or not to open macro block rate ctrl.\\\\1:Open the macro block rate ctrl\\\\1:Close the macro block rate ctrl."] #[inline(always)] - #[must_use] pub fn a_mb_rate_ctrl_en(&mut self) -> A_MB_RATE_CTRL_EN_W { A_MB_RATE_CTRL_EN_W::new(self, 22) } diff --git a/esp32p4/src/h264/a_rc_conf1.rs b/esp32p4/src/h264/a_rc_conf1.rs index 022829e620..bbc2254205 100644 --- a/esp32p4/src/h264/a_rc_conf1.rs +++ b/esp32p4/src/h264/a_rc_conf1.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - Configures video A chroma DC QP offset based on Chroma QP. Chroma DC QP = Chroma QP(after map) + reg_chroma_dc_qp_delta."] #[inline(always)] - #[must_use] pub fn a_chroma_dc_qp_delta(&mut self) -> A_CHROMA_DC_QP_DELTA_W { A_CHROMA_DC_QP_DELTA_W::new(self, 0) } #[doc = "Bits 3:6 - Configures video A chroma QP offset based on luma QP. Chroma QP(before map) = Luma QP + reg_chroma_qp_delta."] #[inline(always)] - #[must_use] pub fn a_chroma_qp_delta(&mut self) -> A_CHROMA_QP_DELTA_W { A_CHROMA_QP_DELTA_W::new(self, 3) } #[doc = "Bits 7:12 - Configures video A allowed luma QP min value."] #[inline(always)] - #[must_use] pub fn a_qp_min(&mut self) -> A_QP_MIN_W { A_QP_MIN_W::new(self, 7) } #[doc = "Bits 13:18 - Configures video A allowed luma QP max value."] #[inline(always)] - #[must_use] pub fn a_qp_max(&mut self) -> A_QP_MAX_W { A_QP_MAX_W::new(self, 13) } #[doc = "Bits 19:30 - Configures vdieo A frame level predicted MB MAD value."] #[inline(always)] - #[must_use] pub fn a_mad_frame_pred(&mut self) -> A_MAD_FRAME_PRED_W { A_MAD_FRAME_PRED_W::new(self, 19) } diff --git a/esp32p4/src/h264/a_roi_config.rs b/esp32p4/src/h264/a_roi_config.rs index ef8138b983..f528279688 100644 --- a/esp32p4/src/h264/a_roi_config.rs +++ b/esp32p4/src/h264/a_roi_config.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configure whether or not to enable ROI in video A.\\\\0:not enable ROI\\\\1:enable ROI."] #[inline(always)] - #[must_use] pub fn a_roi_en(&mut self) -> A_ROI_EN_W { A_ROI_EN_W::new(self, 0) } #[doc = "Bit 1 - Configure the mode of ROI in video A.\\\\0:fixed qp\\\\1:delta qp."] #[inline(always)] - #[must_use] pub fn a_roi_mode(&mut self) -> A_ROI_MODE_W { A_ROI_MODE_W::new(self, 1) } diff --git a/esp32p4/src/h264/a_roi_region0.rs b/esp32p4/src/h264/a_roi_region0.rs index 48ca006b46..162053f961 100644 --- a/esp32p4/src/h264/a_roi_region0.rs +++ b/esp32p4/src/h264/a_roi_region0.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Configures the horizontal start macroblocks of region 0 in Video A."] #[inline(always)] - #[must_use] pub fn x(&mut self) -> X_W { X_W::new(self, 0) } #[doc = "Bits 7:13 - Configures the vertical start macroblocks of region 0 in Video A."] #[inline(always)] - #[must_use] pub fn y(&mut self) -> Y_W { Y_W::new(self, 7) } #[doc = "Bits 14:20 - Configures the number of macroblocks in horizontal direction of the region 0 in Video A."] #[inline(always)] - #[must_use] pub fn x_len(&mut self) -> X_LEN_W { X_LEN_W::new(self, 14) } #[doc = "Bits 21:27 - Configures the number of macroblocks in vertical direction of the region 0 in Video A."] #[inline(always)] - #[must_use] pub fn y_len(&mut self) -> Y_LEN_W { Y_LEN_W::new(self, 21) } #[doc = "Bit 28 - Configures whether or not to open Video A ROI of region 0 .\\\\0:Close ROI\\\\1:Open ROI."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 28) } diff --git a/esp32p4/src/h264/a_roi_region0_3_qp.rs b/esp32p4/src/h264/a_roi_region0_3_qp.rs index 752eb35526..60c1edf3ea 100644 --- a/esp32p4/src/h264/a_roi_region0_3_qp.rs +++ b/esp32p4/src/h264/a_roi_region0_3_qp.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Configure H264 ROI region0 qp in video A,fixed qp or delta qp."] #[inline(always)] - #[must_use] pub fn a_roi_region0_qp(&mut self) -> A_ROI_REGION0_QP_W { A_ROI_REGION0_QP_W::new(self, 0) } #[doc = "Bits 7:13 - Configure H264 ROI region1 qp in video A,fixed qp or delta qp."] #[inline(always)] - #[must_use] pub fn a_roi_region1_qp(&mut self) -> A_ROI_REGION1_QP_W { A_ROI_REGION1_QP_W::new(self, 7) } #[doc = "Bits 14:20 - Configure H264 ROI region2 qp in video A,fixed qp or delta qp."] #[inline(always)] - #[must_use] pub fn a_roi_region2_qp(&mut self) -> A_ROI_REGION2_QP_W { A_ROI_REGION2_QP_W::new(self, 14) } #[doc = "Bits 21:27 - Configure H264 ROI region3 qp in video A,fixed qp or delta qp."] #[inline(always)] - #[must_use] pub fn a_roi_region3_qp(&mut self) -> A_ROI_REGION3_QP_W { A_ROI_REGION3_QP_W::new(self, 21) } diff --git a/esp32p4/src/h264/a_roi_region1.rs b/esp32p4/src/h264/a_roi_region1.rs index 0b2be86325..ce9b232552 100644 --- a/esp32p4/src/h264/a_roi_region1.rs +++ b/esp32p4/src/h264/a_roi_region1.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Configures the horizontal start macroblocks of region 1 in Video A."] #[inline(always)] - #[must_use] pub fn x(&mut self) -> X_W { X_W::new(self, 0) } #[doc = "Bits 7:13 - Configures the vertical start macroblocks of region 1 in Video A."] #[inline(always)] - #[must_use] pub fn y(&mut self) -> Y_W { Y_W::new(self, 7) } #[doc = "Bits 14:20 - Configures the number of macroblocks in horizontal direction of the region 1 in Video A."] #[inline(always)] - #[must_use] pub fn x_len(&mut self) -> X_LEN_W { X_LEN_W::new(self, 14) } #[doc = "Bits 21:27 - Configures the number of macroblocks in vertical direction of the region 1 in Video A."] #[inline(always)] - #[must_use] pub fn y_len(&mut self) -> Y_LEN_W { Y_LEN_W::new(self, 21) } #[doc = "Bit 28 - Configures whether or not to open Video A ROI of region 1 .\\\\0:Close ROI\\\\1:Open ROI."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 28) } diff --git a/esp32p4/src/h264/a_roi_region2.rs b/esp32p4/src/h264/a_roi_region2.rs index c9e60abbcc..0c990a8ba3 100644 --- a/esp32p4/src/h264/a_roi_region2.rs +++ b/esp32p4/src/h264/a_roi_region2.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Configures the horizontal start macroblocks of region 2 in Video A."] #[inline(always)] - #[must_use] pub fn x(&mut self) -> X_W { X_W::new(self, 0) } #[doc = "Bits 7:13 - Configures the vertical start macroblocks of region 2 in Video A."] #[inline(always)] - #[must_use] pub fn y(&mut self) -> Y_W { Y_W::new(self, 7) } #[doc = "Bits 14:20 - Configures the number of macroblocks in horizontal direction of the region 2 in Video A."] #[inline(always)] - #[must_use] pub fn x_len(&mut self) -> X_LEN_W { X_LEN_W::new(self, 14) } #[doc = "Bits 21:27 - Configures the number of macroblocks in vertical direction of the region 2 in Video A."] #[inline(always)] - #[must_use] pub fn y_len(&mut self) -> Y_LEN_W { Y_LEN_W::new(self, 21) } #[doc = "Bit 28 - Configures whether or not to open Video A ROI of region 2 .\\\\0:Close ROI\\\\1:Open ROI."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 28) } diff --git a/esp32p4/src/h264/a_roi_region3.rs b/esp32p4/src/h264/a_roi_region3.rs index b13c10c938..fa536d324a 100644 --- a/esp32p4/src/h264/a_roi_region3.rs +++ b/esp32p4/src/h264/a_roi_region3.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Configures the horizontal start macroblocks of region 3 in Video A."] #[inline(always)] - #[must_use] pub fn x(&mut self) -> X_W { X_W::new(self, 0) } #[doc = "Bits 7:13 - Configures the vertical start macroblocks of region 3 in Video A."] #[inline(always)] - #[must_use] pub fn y(&mut self) -> Y_W { Y_W::new(self, 7) } #[doc = "Bits 14:20 - Configures the number of macroblocks in horizontal direction of the region 3 in video A."] #[inline(always)] - #[must_use] pub fn x_len(&mut self) -> X_LEN_W { X_LEN_W::new(self, 14) } #[doc = "Bits 21:27 - Configures the number of macroblocks in vertical direction of the region 3 in video A."] #[inline(always)] - #[must_use] pub fn y_len(&mut self) -> Y_LEN_W { Y_LEN_W::new(self, 21) } #[doc = "Bit 28 - Configures whether or not to open Video A ROI of region 3 .\\\\0:Close ROI\\\\1:Open ROI."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 28) } diff --git a/esp32p4/src/h264/a_roi_region4.rs b/esp32p4/src/h264/a_roi_region4.rs index 16f07cc627..fe5acc0e4d 100644 --- a/esp32p4/src/h264/a_roi_region4.rs +++ b/esp32p4/src/h264/a_roi_region4.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Configures the horizontal start macroblocks of region 4 in Video A."] #[inline(always)] - #[must_use] pub fn x(&mut self) -> X_W { X_W::new(self, 0) } #[doc = "Bits 7:13 - Configures the vertical start macroblocks of region 4 in Video A."] #[inline(always)] - #[must_use] pub fn y(&mut self) -> Y_W { Y_W::new(self, 7) } #[doc = "Bits 14:20 - Configures the number of macroblocks in horizontal direction of the region 4 in video A."] #[inline(always)] - #[must_use] pub fn x_len(&mut self) -> X_LEN_W { X_LEN_W::new(self, 14) } #[doc = "Bits 21:27 - Configures the number of macroblocks in vertical direction of the region 4 in video A."] #[inline(always)] - #[must_use] pub fn y_len(&mut self) -> Y_LEN_W { Y_LEN_W::new(self, 21) } #[doc = "Bit 28 - Configures whether or not to open Video A ROI of region 4 .\\\\0:Close ROI\\\\1:Open ROI."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 28) } diff --git a/esp32p4/src/h264/a_roi_region4_7_qp.rs b/esp32p4/src/h264/a_roi_region4_7_qp.rs index 5e48038faf..effeaf0555 100644 --- a/esp32p4/src/h264/a_roi_region4_7_qp.rs +++ b/esp32p4/src/h264/a_roi_region4_7_qp.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Configure H264 ROI region4 qp in video A,fixed qp or delta qp."] #[inline(always)] - #[must_use] pub fn a_roi_region4_qp(&mut self) -> A_ROI_REGION4_QP_W { A_ROI_REGION4_QP_W::new(self, 0) } #[doc = "Bits 7:13 - Configure H264 ROI region5 qp in video A,fixed qp or delta qp."] #[inline(always)] - #[must_use] pub fn a_roi_region5_qp(&mut self) -> A_ROI_REGION5_QP_W { A_ROI_REGION5_QP_W::new(self, 7) } #[doc = "Bits 14:20 - Configure H264 ROI region6 qp in video A,fixed qp or delta qp."] #[inline(always)] - #[must_use] pub fn a_roi_region6_qp(&mut self) -> A_ROI_REGION6_QP_W { A_ROI_REGION6_QP_W::new(self, 14) } #[doc = "Bits 21:27 - Configure H264 ROI region7 qp in video A,fixed qp or delta qp."] #[inline(always)] - #[must_use] pub fn a_roi_region7_qp(&mut self) -> A_ROI_REGION7_QP_W { A_ROI_REGION7_QP_W::new(self, 21) } diff --git a/esp32p4/src/h264/a_roi_region5.rs b/esp32p4/src/h264/a_roi_region5.rs index 46d6d04ee4..ad5ef5b440 100644 --- a/esp32p4/src/h264/a_roi_region5.rs +++ b/esp32p4/src/h264/a_roi_region5.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Configures the horizontial start macroblocks of region 5 video A."] #[inline(always)] - #[must_use] pub fn x(&mut self) -> X_W { X_W::new(self, 0) } #[doc = "Bits 7:13 - Configures the vertical start macroblocks of region 5 video A."] #[inline(always)] - #[must_use] pub fn y(&mut self) -> Y_W { Y_W::new(self, 7) } #[doc = "Bits 14:20 - Configures the number of macroblocks in horizontal direction of the region 5 video A."] #[inline(always)] - #[must_use] pub fn x_len(&mut self) -> X_LEN_W { X_LEN_W::new(self, 14) } #[doc = "Bits 21:27 - Configures the number of macroblocks in vertical direction of the region 5 in video A."] #[inline(always)] - #[must_use] pub fn y_len(&mut self) -> Y_LEN_W { Y_LEN_W::new(self, 21) } #[doc = "Bit 28 - Configures whether or not to open Video A ROI of region 5 .\\\\0:Close ROI\\\\1:Open ROI."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 28) } diff --git a/esp32p4/src/h264/a_roi_region6.rs b/esp32p4/src/h264/a_roi_region6.rs index dd1d9151d3..e4ac4a875b 100644 --- a/esp32p4/src/h264/a_roi_region6.rs +++ b/esp32p4/src/h264/a_roi_region6.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Configures the horizontial start macroblocks of region 6 video A."] #[inline(always)] - #[must_use] pub fn x(&mut self) -> X_W { X_W::new(self, 0) } #[doc = "Bits 7:13 - Configures the vertical start macroblocks of region 6 in video A."] #[inline(always)] - #[must_use] pub fn y(&mut self) -> Y_W { Y_W::new(self, 7) } #[doc = "Bits 14:20 - Configures the number of macroblocks in horizontal direction of the region 6 in video A."] #[inline(always)] - #[must_use] pub fn x_len(&mut self) -> X_LEN_W { X_LEN_W::new(self, 14) } #[doc = "Bits 21:27 - Configures the number of macroblocks in vertical direction of the region 6 in video A."] #[inline(always)] - #[must_use] pub fn y_len(&mut self) -> Y_LEN_W { Y_LEN_W::new(self, 21) } #[doc = "Bit 28 - Configures whether or not to open Video A ROI of region 6 .\\\\0:Close ROI\\\\1:Open ROI."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 28) } diff --git a/esp32p4/src/h264/a_roi_region7.rs b/esp32p4/src/h264/a_roi_region7.rs index 7b448d26d0..19371738b0 100644 --- a/esp32p4/src/h264/a_roi_region7.rs +++ b/esp32p4/src/h264/a_roi_region7.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Configures the horizontal start macroblocks of region 7 in video A."] #[inline(always)] - #[must_use] pub fn x(&mut self) -> X_W { X_W::new(self, 0) } #[doc = "Bits 7:13 - Configures the vertical start macroblocks of region 7 in video A."] #[inline(always)] - #[must_use] pub fn y(&mut self) -> Y_W { Y_W::new(self, 7) } #[doc = "Bits 14:20 - Configures the number of macroblocks in horizontal direction of the region 7 in video A."] #[inline(always)] - #[must_use] pub fn x_len(&mut self) -> X_LEN_W { X_LEN_W::new(self, 14) } #[doc = "Bits 21:27 - Configures the number of macroblocks in vertical direction of the region 7 in video A."] #[inline(always)] - #[must_use] pub fn y_len(&mut self) -> Y_LEN_W { Y_LEN_W::new(self, 21) } #[doc = "Bit 28 - Configures whether or not to open Video A ROI of region 7 .\\\\0:Close ROI\\\\1:Open ROI."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 28) } diff --git a/esp32p4/src/h264/a_sys_conf.rs b/esp32p4/src/h264/a_sys_conf.rs index 0aa7e7f2d8..e25a572823 100644 --- a/esp32p4/src/h264/a_sys_conf.rs +++ b/esp32p4/src/h264/a_sys_conf.rs @@ -50,7 +50,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Configures when to trigger video A H264_DB_TMP_READY_INT. When the (MB number of written db temp+1) is greater than this filed in first MB line, trigger H264_DB_TMP_READY_INT. Min is 3."] #[inline(always)] - #[must_use] pub fn a_db_tmp_ready_trigger_mb_num( &mut self, ) -> A_DB_TMP_READY_TRIGGER_MB_NUM_W { @@ -58,7 +57,6 @@ impl W { } #[doc = "Bits 7:13 - Configures when to trigger video A H264_REC_READY_INT. When the MB line number of generated reconstruct pixel is greater than this filed, trigger H264_REC_READY_INT. Min is 4."] #[inline(always)] - #[must_use] pub fn a_rec_ready_trigger_mb_lines( &mut self, ) -> A_REC_READY_TRIGGER_MB_LINES_W { @@ -66,7 +64,6 @@ impl W { } #[doc = "Bits 14:29 - Configures video A intra cost offset when I MB compared with P MB."] #[inline(always)] - #[must_use] pub fn a_intra_cost_cmp_offset(&mut self) -> A_INTRA_COST_CMP_OFFSET_W { A_INTRA_COST_CMP_OFFSET_W::new(self, 14) } diff --git a/esp32p4/src/h264/a_sys_mb_res.rs b/esp32p4/src/h264/a_sys_mb_res.rs index f4b7dea40e..5e53df5fb7 100644 --- a/esp32p4/src/h264/a_sys_mb_res.rs +++ b/esp32p4/src/h264/a_sys_mb_res.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Configures video A vertical MB resolution."] #[inline(always)] - #[must_use] pub fn a_sys_total_mb_y(&mut self) -> A_SYS_TOTAL_MB_Y_W { A_SYS_TOTAL_MB_Y_W::new(self, 0) } #[doc = "Bits 7:13 - Configures video A horizontal MB resolution."] #[inline(always)] - #[must_use] pub fn a_sys_total_mb_x(&mut self) -> A_SYS_TOTAL_MB_X_W { A_SYS_TOTAL_MB_X_W::new(self, 7) } diff --git a/esp32p4/src/h264/b_db_bypass.rs b/esp32p4/src/h264/b_db_bypass.rs index 92dfc25690..afb8c876ac 100644 --- a/esp32p4/src/h264/b_db_bypass.rs +++ b/esp32p4/src/h264/b_db_bypass.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configures whether or not to bypass video B deblcoking filter. \\\\0: Open the deblock filter\\\\1: Close the deblock filter"] #[inline(always)] - #[must_use] pub fn b_bypass_db_filter(&mut self) -> B_BYPASS_DB_FILTER_W { B_BYPASS_DB_FILTER_W::new(self, 0) } diff --git a/esp32p4/src/h264/b_deci_score.rs b/esp32p4/src/h264/b_deci_score.rs index 00cc90c47b..36f3f94d92 100644 --- a/esp32p4/src/h264/b_deci_score.rs +++ b/esp32p4/src/h264/b_deci_score.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - Configures video B chroma MB decimate score. When chroma score is smaller than it, chroma decimate will be enable."] #[inline(always)] - #[must_use] pub fn b_c_deci_score(&mut self) -> B_C_DECI_SCORE_W { B_C_DECI_SCORE_W::new(self, 0) } #[doc = "Bits 10:19 - Configures video B luma MB decimate score. When luma score is smaller than it, luma decimate will be enable."] #[inline(always)] - #[must_use] pub fn b_l_deci_score(&mut self) -> B_L_DECI_SCORE_W { B_L_DECI_SCORE_W::new(self, 10) } diff --git a/esp32p4/src/h264/b_deci_score_offset.rs b/esp32p4/src/h264/b_deci_score_offset.rs index 10661d2d1d..cd44b2d73f 100644 --- a/esp32p4/src/h264/b_deci_score_offset.rs +++ b/esp32p4/src/h264/b_deci_score_offset.rs @@ -66,7 +66,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - Configures video B i16x16 MB decimate score offset. This offset will be added to i16x16 MB score."] #[inline(always)] - #[must_use] pub fn b_i16x16_deci_score_offset( &mut self, ) -> B_I16X16_DECI_SCORE_OFFSET_W { @@ -74,7 +73,6 @@ impl W { } #[doc = "Bits 6:11 - Configures video B I chroma MB decimate score offset. This offset will be added to I chroma MB score."] #[inline(always)] - #[must_use] pub fn b_i_chroma_deci_score_offset( &mut self, ) -> B_I_CHROMA_DECI_SCORE_OFFSET_W { @@ -82,7 +80,6 @@ impl W { } #[doc = "Bits 12:17 - Configures video B p16x16 MB decimate score offset. This offset will be added to p16x16 MB score."] #[inline(always)] - #[must_use] pub fn b_p16x16_deci_score_offset( &mut self, ) -> B_P16X16_DECI_SCORE_OFFSET_W { @@ -90,7 +87,6 @@ impl W { } #[doc = "Bits 18:23 - Configures video B p chroma MB decimate score offset. This offset will be added to p chroma MB score."] #[inline(always)] - #[must_use] pub fn b_p_chroma_deci_score_offset( &mut self, ) -> B_P_CHROMA_DECI_SCORE_OFFSET_W { diff --git a/esp32p4/src/h264/b_no_roi_region_qp_offset.rs b/esp32p4/src/h264/b_no_roi_region_qp_offset.rs index 44f5ef1fb8..97dacfc78e 100644 --- a/esp32p4/src/h264/b_no_roi_region_qp_offset.rs +++ b/esp32p4/src/h264/b_no_roi_region_qp_offset.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Configure H264 no region qp in video B, delta qp."] #[inline(always)] - #[must_use] pub fn b_no_roi_region_qp(&mut self) -> B_NO_ROI_REGION_QP_W { B_NO_ROI_REGION_QP_W::new(self, 0) } diff --git a/esp32p4/src/h264/b_rc_conf0.rs b/esp32p4/src/h264/b_rc_conf0.rs index 8c6deed277..d21a38fba4 100644 --- a/esp32p4/src/h264/b_rc_conf0.rs +++ b/esp32p4/src/h264/b_rc_conf0.rs @@ -6,9 +6,9 @@ pub type W = crate::W; pub type B_QP_R = crate::FieldReader; #[doc = "Field `B_QP` writer - Configures video B frame level initial luma QP value."] pub type B_QP_W<'a, REG> = crate::FieldWriter<'a, REG, 6>; -#[doc = "Field `B_RATE_CTRL_U` reader - Configures video B parameter U value. U = int((float) u << 8)."] +#[doc = "Field `B_RATE_CTRL_U` reader - Configures video B parameter U value. U = int((float) u << 8)."] pub type B_RATE_CTRL_U_R = crate::FieldReader; -#[doc = "Field `B_RATE_CTRL_U` writer - Configures video B parameter U value. U = int((float) u << 8)."] +#[doc = "Field `B_RATE_CTRL_U` writer - Configures video B parameter U value. U = int((float) u << 8)."] pub type B_RATE_CTRL_U_W<'a, REG> = crate::FieldWriter<'a, REG, 16, u16>; #[doc = "Field `B_MB_RATE_CTRL_EN` reader - Configures video A whether or not to open macro block rate ctrl.\\\\1:Open the macro block rate ctrl\\\\1:Close the macro block rate ctrl."] pub type B_MB_RATE_CTRL_EN_R = crate::BitReader; @@ -20,7 +20,7 @@ impl R { pub fn b_qp(&self) -> B_QP_R { B_QP_R::new((self.bits & 0x3f) as u8) } - #[doc = "Bits 6:21 - Configures video B parameter U value. U = int((float) u << 8)."] + #[doc = "Bits 6:21 - Configures video B parameter U value. U = int((float) u << 8)."] #[inline(always)] pub fn b_rate_ctrl_u(&self) -> B_RATE_CTRL_U_R { B_RATE_CTRL_U_R::new(((self.bits >> 6) & 0xffff) as u16) @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - Configures video B frame level initial luma QP value."] #[inline(always)] - #[must_use] pub fn b_qp(&mut self) -> B_QP_W { B_QP_W::new(self, 0) } - #[doc = "Bits 6:21 - Configures video B parameter U value. U = int((float) u << 8)."] + #[doc = "Bits 6:21 - Configures video B parameter U value. U = int((float) u << 8)."] #[inline(always)] - #[must_use] pub fn b_rate_ctrl_u(&mut self) -> B_RATE_CTRL_U_W { B_RATE_CTRL_U_W::new(self, 6) } #[doc = "Bit 22 - Configures video A whether or not to open macro block rate ctrl.\\\\1:Open the macro block rate ctrl\\\\1:Close the macro block rate ctrl."] #[inline(always)] - #[must_use] pub fn b_mb_rate_ctrl_en(&mut self) -> B_MB_RATE_CTRL_EN_W { B_MB_RATE_CTRL_EN_W::new(self, 22) } diff --git a/esp32p4/src/h264/b_rc_conf1.rs b/esp32p4/src/h264/b_rc_conf1.rs index 9204802ad9..9adf95e471 100644 --- a/esp32p4/src/h264/b_rc_conf1.rs +++ b/esp32p4/src/h264/b_rc_conf1.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - Configures video B chroma DC QP offset based on Chroma QP. Chroma DC QP = Chroma QP(after map) + reg_chroma_dc_qp_delta."] #[inline(always)] - #[must_use] pub fn b_chroma_dc_qp_delta(&mut self) -> B_CHROMA_DC_QP_DELTA_W { B_CHROMA_DC_QP_DELTA_W::new(self, 0) } #[doc = "Bits 3:6 - Configures video B chroma QP offset based on luma QP. Chroma QP(before map) = Luma QP + reg_chroma_qp_delta."] #[inline(always)] - #[must_use] pub fn b_chroma_qp_delta(&mut self) -> B_CHROMA_QP_DELTA_W { B_CHROMA_QP_DELTA_W::new(self, 3) } #[doc = "Bits 7:12 - Configures video B allowed luma QP min value."] #[inline(always)] - #[must_use] pub fn b_qp_min(&mut self) -> B_QP_MIN_W { B_QP_MIN_W::new(self, 7) } #[doc = "Bits 13:18 - Configures video B allowed luma QP max value."] #[inline(always)] - #[must_use] pub fn b_qp_max(&mut self) -> B_QP_MAX_W { B_QP_MAX_W::new(self, 13) } #[doc = "Bits 19:30 - Configures vdieo B frame level predicted MB MAD value."] #[inline(always)] - #[must_use] pub fn b_mad_frame_pred(&mut self) -> B_MAD_FRAME_PRED_W { B_MAD_FRAME_PRED_W::new(self, 19) } diff --git a/esp32p4/src/h264/b_roi_config.rs b/esp32p4/src/h264/b_roi_config.rs index 4d99db03bf..e144e4d100 100644 --- a/esp32p4/src/h264/b_roi_config.rs +++ b/esp32p4/src/h264/b_roi_config.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configure whether or not to enable ROI in video B.\\\\0:not enable ROI\\\\1:enable ROI."] #[inline(always)] - #[must_use] pub fn b_roi_en(&mut self) -> B_ROI_EN_W { B_ROI_EN_W::new(self, 0) } #[doc = "Bit 1 - Configure the mode of ROI in video B.\\\\0:fixed qp\\\\1:delta qp."] #[inline(always)] - #[must_use] pub fn b_roi_mode(&mut self) -> B_ROI_MODE_W { B_ROI_MODE_W::new(self, 1) } diff --git a/esp32p4/src/h264/b_roi_region0.rs b/esp32p4/src/h264/b_roi_region0.rs index 9e247d1df1..af2dfc1588 100644 --- a/esp32p4/src/h264/b_roi_region0.rs +++ b/esp32p4/src/h264/b_roi_region0.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Configures the horizontal start macroblocks of region 0 in Video B."] #[inline(always)] - #[must_use] pub fn x(&mut self) -> X_W { X_W::new(self, 0) } #[doc = "Bits 7:13 - Configures the vertical start macroblocks of region 0 in Video B."] #[inline(always)] - #[must_use] pub fn y(&mut self) -> Y_W { Y_W::new(self, 7) } #[doc = "Bits 14:20 - Configures the number of macroblocks in horizontal direction of the region 0 in Video B."] #[inline(always)] - #[must_use] pub fn x_len(&mut self) -> X_LEN_W { X_LEN_W::new(self, 14) } #[doc = "Bits 21:27 - Configures the number of macroblocks in vertical direction of the region 0 in Video B."] #[inline(always)] - #[must_use] pub fn y_len(&mut self) -> Y_LEN_W { Y_LEN_W::new(self, 21) } #[doc = "Bit 28 - Configures whether or not to open Video B ROI of region 0 .\\\\0:Close ROI\\\\1:Open ROI."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 28) } diff --git a/esp32p4/src/h264/b_roi_region0_3_qp.rs b/esp32p4/src/h264/b_roi_region0_3_qp.rs index 7a761b25d3..9b8d22038d 100644 --- a/esp32p4/src/h264/b_roi_region0_3_qp.rs +++ b/esp32p4/src/h264/b_roi_region0_3_qp.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Configure H264 ROI region0 qp in video B,fixed qp or delta qp."] #[inline(always)] - #[must_use] pub fn b_roi_region0_qp(&mut self) -> B_ROI_REGION0_QP_W { B_ROI_REGION0_QP_W::new(self, 0) } #[doc = "Bits 7:13 - Configure H264 ROI region1 qp in video B,fixed qp or delta qp."] #[inline(always)] - #[must_use] pub fn b_roi_region1_qp(&mut self) -> B_ROI_REGION1_QP_W { B_ROI_REGION1_QP_W::new(self, 7) } #[doc = "Bits 14:20 - Configure H264 ROI region2 qp in video B,fixed qp or delta qp."] #[inline(always)] - #[must_use] pub fn b_roi_region2_qp(&mut self) -> B_ROI_REGION2_QP_W { B_ROI_REGION2_QP_W::new(self, 14) } #[doc = "Bits 21:27 - Configure H264 ROI region3 qp in video B,fixed qp or delta qp."] #[inline(always)] - #[must_use] pub fn b_roi_region3_qp(&mut self) -> B_ROI_REGION3_QP_W { B_ROI_REGION3_QP_W::new(self, 21) } diff --git a/esp32p4/src/h264/b_roi_region1.rs b/esp32p4/src/h264/b_roi_region1.rs index fcbf3ed13d..ed251cb772 100644 --- a/esp32p4/src/h264/b_roi_region1.rs +++ b/esp32p4/src/h264/b_roi_region1.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Configures the horizontal start macroblocks of region 1 in Video B."] #[inline(always)] - #[must_use] pub fn x(&mut self) -> X_W { X_W::new(self, 0) } #[doc = "Bits 7:13 - Configures the vertical start macroblocks of region 1 in Video B."] #[inline(always)] - #[must_use] pub fn y(&mut self) -> Y_W { Y_W::new(self, 7) } #[doc = "Bits 14:20 - Configures the number of macroblocks in horizontal direction of the region 1 in Video B."] #[inline(always)] - #[must_use] pub fn x_len(&mut self) -> X_LEN_W { X_LEN_W::new(self, 14) } #[doc = "Bits 21:27 - Configures the number of macroblocks in vertical direction of the region 1 in Video B."] #[inline(always)] - #[must_use] pub fn y_len(&mut self) -> Y_LEN_W { Y_LEN_W::new(self, 21) } #[doc = "Bit 28 - Configures whether or not to open Video B ROI of region 1 .\\\\0:Close ROI\\\\1:Open ROI."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 28) } diff --git a/esp32p4/src/h264/b_roi_region2.rs b/esp32p4/src/h264/b_roi_region2.rs index bf069e2d22..ca428dd9ad 100644 --- a/esp32p4/src/h264/b_roi_region2.rs +++ b/esp32p4/src/h264/b_roi_region2.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Configures the horizontal start macroblocks of region 2 in Video B."] #[inline(always)] - #[must_use] pub fn x(&mut self) -> X_W { X_W::new(self, 0) } #[doc = "Bits 7:13 - Configures the vertical start macroblocks of region 2 in Video B."] #[inline(always)] - #[must_use] pub fn y(&mut self) -> Y_W { Y_W::new(self, 7) } #[doc = "Bits 14:20 - Configures the number of macroblocks in horizontal direction of the region 2 in Video B."] #[inline(always)] - #[must_use] pub fn x_len(&mut self) -> X_LEN_W { X_LEN_W::new(self, 14) } #[doc = "Bits 21:27 - Configures the number of macroblocks in vertical direction of the region 2 in Video B."] #[inline(always)] - #[must_use] pub fn y_len(&mut self) -> Y_LEN_W { Y_LEN_W::new(self, 21) } #[doc = "Bit 28 - Configures whether or not to open Video B ROI of region 2 .\\\\0:Close ROI\\\\1:Open ROI."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 28) } diff --git a/esp32p4/src/h264/b_roi_region3.rs b/esp32p4/src/h264/b_roi_region3.rs index e59f9e0184..1ca1ae156c 100644 --- a/esp32p4/src/h264/b_roi_region3.rs +++ b/esp32p4/src/h264/b_roi_region3.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Configures the horizontal start macroblocks of region 3 in Video B."] #[inline(always)] - #[must_use] pub fn x(&mut self) -> X_W { X_W::new(self, 0) } #[doc = "Bits 7:13 - Configures the vertical start macroblocks of region 3 in Video B."] #[inline(always)] - #[must_use] pub fn y(&mut self) -> Y_W { Y_W::new(self, 7) } #[doc = "Bits 14:20 - Configures the number of macroblocks in horizontal direction of the region 3 in video B."] #[inline(always)] - #[must_use] pub fn x_len(&mut self) -> X_LEN_W { X_LEN_W::new(self, 14) } #[doc = "Bits 21:27 - Configures the number of macroblocks in vertical direction of the region 3 in video B."] #[inline(always)] - #[must_use] pub fn y_len(&mut self) -> Y_LEN_W { Y_LEN_W::new(self, 21) } #[doc = "Bit 28 - Configures whether or not to open Video B ROI of region 3 .\\\\0:Close ROI\\\\1:Open ROI."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 28) } diff --git a/esp32p4/src/h264/b_roi_region4.rs b/esp32p4/src/h264/b_roi_region4.rs index aa9f2ec439..93dbae4cb4 100644 --- a/esp32p4/src/h264/b_roi_region4.rs +++ b/esp32p4/src/h264/b_roi_region4.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Configures the horizontal start macroblocks of region 4 in Video B."] #[inline(always)] - #[must_use] pub fn x(&mut self) -> X_W { X_W::new(self, 0) } #[doc = "Bits 7:13 - Configures the vertical start macroblocks of region 4 in Video B."] #[inline(always)] - #[must_use] pub fn y(&mut self) -> Y_W { Y_W::new(self, 7) } #[doc = "Bits 14:20 - Configures the number of macroblocks in horizontal direction of the region 4 in video B."] #[inline(always)] - #[must_use] pub fn x_len(&mut self) -> X_LEN_W { X_LEN_W::new(self, 14) } #[doc = "Bits 21:27 - Configures the number of macroblocks in vertical direction of the region 4 in video B."] #[inline(always)] - #[must_use] pub fn y_len(&mut self) -> Y_LEN_W { Y_LEN_W::new(self, 21) } #[doc = "Bit 28 - Configures whether or not to open Video B ROI of region 4 .\\\\0:Close ROI\\\\1:Open ROI."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 28) } diff --git a/esp32p4/src/h264/b_roi_region4_7_qp.rs b/esp32p4/src/h264/b_roi_region4_7_qp.rs index 8a1f1af27b..6b59c47b6b 100644 --- a/esp32p4/src/h264/b_roi_region4_7_qp.rs +++ b/esp32p4/src/h264/b_roi_region4_7_qp.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Configure H264 ROI region4 qp in video B,fixed qp or delta qp."] #[inline(always)] - #[must_use] pub fn b_roi_region4_qp(&mut self) -> B_ROI_REGION4_QP_W { B_ROI_REGION4_QP_W::new(self, 0) } #[doc = "Bits 7:13 - Configure H264 ROI region5 qp in video B,fixed qp or delta qp."] #[inline(always)] - #[must_use] pub fn b_roi_region5_qp(&mut self) -> B_ROI_REGION5_QP_W { B_ROI_REGION5_QP_W::new(self, 7) } #[doc = "Bits 14:20 - Configure H264 ROI region6 qp in video B,fixed qp or delta qp."] #[inline(always)] - #[must_use] pub fn b_roi_region6_qp(&mut self) -> B_ROI_REGION6_QP_W { B_ROI_REGION6_QP_W::new(self, 14) } #[doc = "Bits 21:27 - Configure H264 ROI region7 qp in video B,fixed qp or delta qp."] #[inline(always)] - #[must_use] pub fn b_roi_region7_qp(&mut self) -> B_ROI_REGION7_QP_W { B_ROI_REGION7_QP_W::new(self, 21) } diff --git a/esp32p4/src/h264/b_roi_region5.rs b/esp32p4/src/h264/b_roi_region5.rs index 0644187cc3..739bf3214f 100644 --- a/esp32p4/src/h264/b_roi_region5.rs +++ b/esp32p4/src/h264/b_roi_region5.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Configures the horizontial start macroblocks of region 5 video B."] #[inline(always)] - #[must_use] pub fn x(&mut self) -> X_W { X_W::new(self, 0) } #[doc = "Bits 7:13 - Configures the vertical start macroblocks of region 5 video B."] #[inline(always)] - #[must_use] pub fn y(&mut self) -> Y_W { Y_W::new(self, 7) } #[doc = "Bits 14:20 - Configures the number of macroblocks in horizontal direction of the region 5 video B."] #[inline(always)] - #[must_use] pub fn x_len(&mut self) -> X_LEN_W { X_LEN_W::new(self, 14) } #[doc = "Bits 21:27 - Configures the number of macroblocks in vertical direction of the region 5 in video B."] #[inline(always)] - #[must_use] pub fn y_len(&mut self) -> Y_LEN_W { Y_LEN_W::new(self, 21) } #[doc = "Bit 28 - Configures whether or not to open Video B ROI of region 5 .\\\\0:Close ROI\\\\1:Open ROI."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 28) } diff --git a/esp32p4/src/h264/b_roi_region6.rs b/esp32p4/src/h264/b_roi_region6.rs index 766b70dd70..9cac983079 100644 --- a/esp32p4/src/h264/b_roi_region6.rs +++ b/esp32p4/src/h264/b_roi_region6.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Configures the horizontial start macroblocks of region 6 video B."] #[inline(always)] - #[must_use] pub fn x(&mut self) -> X_W { X_W::new(self, 0) } #[doc = "Bits 7:13 - Configures the vertical start macroblocks of region 6 in video B."] #[inline(always)] - #[must_use] pub fn y(&mut self) -> Y_W { Y_W::new(self, 7) } #[doc = "Bits 14:20 - Configures the number of macroblocks in horizontal direction of the region 6 in video B."] #[inline(always)] - #[must_use] pub fn x_len(&mut self) -> X_LEN_W { X_LEN_W::new(self, 14) } #[doc = "Bits 21:27 - Configures the number of macroblocks in vertical direction of the region 6 in video B."] #[inline(always)] - #[must_use] pub fn y_len(&mut self) -> Y_LEN_W { Y_LEN_W::new(self, 21) } #[doc = "Bit 28 - Configures whether or not to open Video B ROI of region 6 .\\\\0:Close ROI\\\\1:Open ROI."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 28) } diff --git a/esp32p4/src/h264/b_roi_region7.rs b/esp32p4/src/h264/b_roi_region7.rs index 69c067acfa..e9a5816819 100644 --- a/esp32p4/src/h264/b_roi_region7.rs +++ b/esp32p4/src/h264/b_roi_region7.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Configures the horizontal start macroblocks of region 7 in video B."] #[inline(always)] - #[must_use] pub fn x(&mut self) -> X_W { X_W::new(self, 0) } #[doc = "Bits 7:13 - Configures the vertical start macroblocks of region 7 in video B."] #[inline(always)] - #[must_use] pub fn y(&mut self) -> Y_W { Y_W::new(self, 7) } #[doc = "Bits 14:20 - Configures the number of macroblocks in horizontal direction of the region 7 in video B."] #[inline(always)] - #[must_use] pub fn x_len(&mut self) -> X_LEN_W { X_LEN_W::new(self, 14) } #[doc = "Bits 21:27 - Configures the number of macroblocks in vertical direction of the region 7 in video B."] #[inline(always)] - #[must_use] pub fn y_len(&mut self) -> Y_LEN_W { Y_LEN_W::new(self, 21) } #[doc = "Bit 28 - Configures whether or not to open Video B ROI of region 7 .\\\\0:Close ROI\\\\1:Open ROI."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 28) } diff --git a/esp32p4/src/h264/b_sys_conf.rs b/esp32p4/src/h264/b_sys_conf.rs index 234805ec00..07ef822ce5 100644 --- a/esp32p4/src/h264/b_sys_conf.rs +++ b/esp32p4/src/h264/b_sys_conf.rs @@ -50,7 +50,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Configures when to trigger video B H264_DB_TMP_READY_INT. When the (MB number of written db temp+1) is greater than this filed in first MB line, trigger H264_DB_TMP_READY_INT. Min is 3."] #[inline(always)] - #[must_use] pub fn b_db_tmp_ready_trigger_mb_num( &mut self, ) -> B_DB_TMP_READY_TRIGGER_MB_NUM_W { @@ -58,7 +57,6 @@ impl W { } #[doc = "Bits 7:13 - Configures when to trigger video B H264_REC_READY_INT. When the MB line number of generated reconstruct pixel is greater than this filed, trigger H264_REC_READY_INT. Min is 4."] #[inline(always)] - #[must_use] pub fn b_rec_ready_trigger_mb_lines( &mut self, ) -> B_REC_READY_TRIGGER_MB_LINES_W { @@ -66,7 +64,6 @@ impl W { } #[doc = "Bits 14:29 - Configures video B intra cost offset when I MB compared with P MB."] #[inline(always)] - #[must_use] pub fn b_intra_cost_cmp_offset(&mut self) -> B_INTRA_COST_CMP_OFFSET_W { B_INTRA_COST_CMP_OFFSET_W::new(self, 14) } diff --git a/esp32p4/src/h264/b_sys_mb_res.rs b/esp32p4/src/h264/b_sys_mb_res.rs index e074dbb4cc..06f6fd922b 100644 --- a/esp32p4/src/h264/b_sys_mb_res.rs +++ b/esp32p4/src/h264/b_sys_mb_res.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Configures video B vertical MB resolution."] #[inline(always)] - #[must_use] pub fn b_sys_total_mb_y(&mut self) -> B_SYS_TOTAL_MB_Y_W { B_SYS_TOTAL_MB_Y_W::new(self, 0) } #[doc = "Bits 7:13 - Configures video B horizontal MB resolution."] #[inline(always)] - #[must_use] pub fn b_sys_total_mb_x(&mut self) -> B_SYS_TOTAL_MB_X_W { B_SYS_TOTAL_MB_X_W::new(self, 7) } diff --git a/esp32p4/src/h264/bs_threshold.rs b/esp32p4/src/h264/bs_threshold.rs index 3f29f4b273..3b95c33ab4 100644 --- a/esp32p4/src/h264/bs_threshold.rs +++ b/esp32p4/src/h264/bs_threshold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Configures bitstream buffer overflow threshold. This value should be bigger than the encode bytes of one 4x4 submb."] #[inline(always)] - #[must_use] pub fn bs_buffer_threshold(&mut self) -> BS_BUFFER_THRESHOLD_W { BS_BUFFER_THRESHOLD_W::new(self, 0) } diff --git a/esp32p4/src/h264/conf.rs b/esp32p4/src/h264/conf.rs index adbcffe063..789b6d728d 100644 --- a/esp32p4/src/h264/conf.rs +++ b/esp32p4/src/h264/conf.rs @@ -274,157 +274,131 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configures whether or not to open register clock gate.\\\\0: Open the clock gate only when application writes registers\\\\1: Force open the clock gate for register"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Configures whether or not to open the clock gate for rec ram2.\\\\0: Open the clock gate only when application writes or reads rec ram2\\\\1: Force open the clock gate for rec ram2"] #[inline(always)] - #[must_use] pub fn rec_ram_clk_en2(&mut self) -> REC_RAM_CLK_EN2_W { REC_RAM_CLK_EN2_W::new(self, 1) } #[doc = "Bit 2 - Configures whether or not to open the clock gate for rec ram1.\\\\0: Open the clock gate only when application writes or reads rec ram1\\\\1: Force open the clock gate for rec ram1"] #[inline(always)] - #[must_use] pub fn rec_ram_clk_en1(&mut self) -> REC_RAM_CLK_EN1_W { REC_RAM_CLK_EN1_W::new(self, 2) } #[doc = "Bit 3 - Configures whether or not to open the clock gate for quant ram2.\\\\0: Open the clock gate only when application writes or reads quant ram2\\\\1: Force open the clock gate for quant ram2"] #[inline(always)] - #[must_use] pub fn quant_ram_clk_en2(&mut self) -> QUANT_RAM_CLK_EN2_W { QUANT_RAM_CLK_EN2_W::new(self, 3) } #[doc = "Bit 4 - Configures whether or not to open the clock gate for quant ram1.\\\\0: Open the clock gate only when application writes or reads quant ram1\\\\1: Force open the clock gate for quant ram1"] #[inline(always)] - #[must_use] pub fn quant_ram_clk_en1(&mut self) -> QUANT_RAM_CLK_EN1_W { QUANT_RAM_CLK_EN1_W::new(self, 4) } #[doc = "Bit 5 - Configures whether or not to open the clock gate for pre ram.\\\\0: Open the clock gate only when application writes or reads pre ram\\\\1: Force open the clock gate for pre ram"] #[inline(always)] - #[must_use] pub fn pre_ram_clk_en(&mut self) -> PRE_RAM_CLK_EN_W { PRE_RAM_CLK_EN_W::new(self, 5) } #[doc = "Bit 6 - Configures whether or not to open the clock gate for mvd ram.\\\\0: Open the clock gate only when application writes or reads mvd ram\\\\1: Force open the clock gate for mvd ram"] #[inline(always)] - #[must_use] pub fn mvd_ram_clk_en(&mut self) -> MVD_RAM_CLK_EN_W { MVD_RAM_CLK_EN_W::new(self, 6) } #[doc = "Bit 7 - Configures whether or not to open the clock gate for mc ram.\\\\0: Open the clock gate only when application writes or reads mc ram\\\\1: Force open the clock gate for mc ram"] #[inline(always)] - #[must_use] pub fn mc_ram_clk_en(&mut self) -> MC_RAM_CLK_EN_W { MC_RAM_CLK_EN_W::new(self, 7) } #[doc = "Bit 8 - Configures whether or not to open the clock gate for ref ram.\\\\0: Open the clock gate only when application writes or reads ref ram\\\\1: Force open the clock gate for ref ram"] #[inline(always)] - #[must_use] pub fn ref_ram_clk_en(&mut self) -> REF_RAM_CLK_EN_W { REF_RAM_CLK_EN_W::new(self, 8) } #[doc = "Bit 9 - Configures whether or not to open the clock gate for i4x4_mode ram.\\\\0: Open the clock gate only when application writes or reads i4x4_mode ram\\\\1: Force open the clock gate for i4x4_mode ram"] #[inline(always)] - #[must_use] pub fn i4x4_ref_ram_clk_en(&mut self) -> I4X4_REF_RAM_CLK_EN_W { I4X4_REF_RAM_CLK_EN_W::new(self, 9) } #[doc = "Bit 10 - Configures whether or not to open the clock gate for ime ram.\\\\0: Open the clock gate only when application writes or reads ime ram\\\\1: Force open the clock gate for ime ram"] #[inline(always)] - #[must_use] pub fn ime_ram_clk_en(&mut self) -> IME_RAM_CLK_EN_W { IME_RAM_CLK_EN_W::new(self, 10) } #[doc = "Bit 11 - Configures whether or not to open the clock gate for fme ram.\\\\0: Open the clock gate only when application writes or readsfme ram\\\\1: Force open the clock gate for fme ram"] #[inline(always)] - #[must_use] pub fn fme_ram_clk_en(&mut self) -> FME_RAM_CLK_EN_W { FME_RAM_CLK_EN_W::new(self, 11) } #[doc = "Bit 12 - Configures whether or not to open the clock gate for fetch ram.\\\\0: Open the clock gate only when application writes or reads fetch ram\\\\1: Force open the clock gate for fetch ram"] #[inline(always)] - #[must_use] pub fn fetch_ram_clk_en(&mut self) -> FETCH_RAM_CLK_EN_W { FETCH_RAM_CLK_EN_W::new(self, 12) } #[doc = "Bit 13 - Configures whether or not to open the clock gate for db ram.\\\\0: Open the clock gate only when application writes or reads db ram\\\\1: Force open the clock gate for db ram"] #[inline(always)] - #[must_use] pub fn db_ram_clk_en(&mut self) -> DB_RAM_CLK_EN_W { DB_RAM_CLK_EN_W::new(self, 13) } #[doc = "Bit 14 - Configures whether or not to open the clock gate for cur_mb ram.\\\\0: Open the clock gate only when application writes or reads cur_mb ram\\\\1: Force open the clock gate for cur_mb ram"] #[inline(always)] - #[must_use] pub fn cur_mb_ram_clk_en(&mut self) -> CUR_MB_RAM_CLK_EN_W { CUR_MB_RAM_CLK_EN_W::new(self, 14) } #[doc = "Bit 15 - Configures whether or not to open the clock gate for cavlc ram.\\\\0: Open the clock gate only when application writes or reads cavlc ram\\\\1: Force open the clock gate for cavlc ram"] #[inline(always)] - #[must_use] pub fn cavlc_ram_clk_en(&mut self) -> CAVLC_RAM_CLK_EN_W { CAVLC_RAM_CLK_EN_W::new(self, 15) } #[doc = "Bit 16 - Configures whether or not to open the clock gate for ime.\\\\0: Open the clock gate only when ime work\\\\1: Force open the clock gate for ime"] #[inline(always)] - #[must_use] pub fn ime_clk_en(&mut self) -> IME_CLK_EN_W { IME_CLK_EN_W::new(self, 16) } #[doc = "Bit 17 - Configures whether or not to open the clock gate for fme.\\\\0: Open the clock gate only when fme work\\\\1: Force open the clock gate for fme"] #[inline(always)] - #[must_use] pub fn fme_clk_en(&mut self) -> FME_CLK_EN_W { FME_CLK_EN_W::new(self, 17) } #[doc = "Bit 18 - Configures whether or not to open the clock gate for mc.\\\\0: Open the clock gate only when mc work\\\\1: Force open the clock gate for mc"] #[inline(always)] - #[must_use] pub fn mc_clk_en(&mut self) -> MC_CLK_EN_W { MC_CLK_EN_W::new(self, 18) } #[doc = "Bit 19 - Configures whether or not to open the clock gate for interpolator.\\\\0: Open the clock gate only when interpolator work\\\\1: Force open the clock gate for interpolator"] #[inline(always)] - #[must_use] pub fn interpolator_clk_en(&mut self) -> INTERPOLATOR_CLK_EN_W { INTERPOLATOR_CLK_EN_W::new(self, 19) } #[doc = "Bit 20 - Configures whether or not to open the clock gate for deblocking filter.\\\\0: Open the clock gate only when deblocking filter work\\\\1: Force open the clock gate for deblocking filter"] #[inline(always)] - #[must_use] pub fn db_clk_en(&mut self) -> DB_CLK_EN_W { DB_CLK_EN_W::new(self, 20) } #[doc = "Bit 21 - Configures whether or not to open the clock gate for cavlc.\\\\0: Open the clock gate only when cavlc work\\\\1: Force open the clock gate for cavlc"] #[inline(always)] - #[must_use] pub fn clavlc_clk_en(&mut self) -> CLAVLC_CLK_EN_W { CLAVLC_CLK_EN_W::new(self, 21) } #[doc = "Bit 22 - Configures whether or not to open the clock gate for intra.\\\\0: Open the clock gate only when intra work\\\\1: Force open the clock gate for intra"] #[inline(always)] - #[must_use] pub fn intra_clk_en(&mut self) -> INTRA_CLK_EN_W { INTRA_CLK_EN_W::new(self, 22) } #[doc = "Bit 23 - Configures whether or not to open the clock gate for decimate.\\\\0: Open the clock gate only when decimate work\\\\1: Force open the clock gate for decimate"] #[inline(always)] - #[must_use] pub fn deci_clk_en(&mut self) -> DECI_CLK_EN_W { DECI_CLK_EN_W::new(self, 23) } #[doc = "Bit 24 - Configures whether or not to open the clock gate for bs buffer.\\\\0: Open the clock gate only when bs buffer work\\\\1: Force open the clock gate for bs buffer"] #[inline(always)] - #[must_use] pub fn bs_clk_en(&mut self) -> BS_CLK_EN_W { BS_CLK_EN_W::new(self, 24) } #[doc = "Bit 25 - Configures whether or not to open the clock gate for mv merge.\\\\0: Open the clock gate only when mv merge work\\\\1: Force open the clock gate for mv merge"] #[inline(always)] - #[must_use] pub fn mv_merge_clk_en(&mut self) -> MV_MERGE_CLK_EN_W { MV_MERGE_CLK_EN_W::new(self, 25) } diff --git a/esp32p4/src/h264/date.rs b/esp32p4/src/h264/date.rs index 3b962b25cb..2489759832 100644 --- a/esp32p4/src/h264/date.rs +++ b/esp32p4/src/h264/date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Configures the version."] #[inline(always)] - #[must_use] pub fn ledc_date(&mut self) -> LEDC_DATE_W { LEDC_DATE_W::new(self, 0) } diff --git a/esp32p4/src/h264/debug_dma_sel.rs b/esp32p4/src/h264/debug_dma_sel.rs index c765b80f89..1336b0aa0c 100644 --- a/esp32p4/src/h264/debug_dma_sel.rs +++ b/esp32p4/src/h264/debug_dma_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Every bit represents a dma in h264"] #[inline(always)] - #[must_use] pub fn dbg_dma_sel(&mut self) -> DBG_DMA_SEL_W { DBG_DMA_SEL_W::new(self, 0) } diff --git a/esp32p4/src/h264/gop_conf.rs b/esp32p4/src/h264/gop_conf.rs index a9058cd2f4..6500863e5a 100644 --- a/esp32p4/src/h264/gop_conf.rs +++ b/esp32p4/src/h264/gop_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configures whether or not to enable dual stream mode. When this field is set to 1, H264_FRAME_MODE field must be set to 1 too.\\\\0: Normal mode\\\\1: Dual stream mode"] #[inline(always)] - #[must_use] pub fn dual_stream_mode(&mut self) -> DUAL_STREAM_MODE_W { DUAL_STREAM_MODE_W::new(self, 0) } #[doc = "Bits 1:8 - Configures the frame number of one GOP.\\\\0: The frame number of one GOP is infinite\\\\Others: Actual frame number of one GOP"] #[inline(always)] - #[must_use] pub fn gop_num(&mut self) -> GOP_NUM_W { GOP_NUM_W::new(self, 1) } diff --git a/esp32p4/src/h264/int_clr.rs b/esp32p4/src/h264/int_clr.rs index a0d301276a..cbe6d3d9e8 100644 --- a/esp32p4/src/h264/int_clr.rs +++ b/esp32p4/src/h264/int_clr.rs @@ -17,25 +17,21 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to clear H264_DB_TMP_READY_INT."] #[inline(always)] - #[must_use] pub fn db_tmp_ready(&mut self) -> DB_TMP_READY_W { DB_TMP_READY_W::new(self, 0) } #[doc = "Bit 1 - Write 1 to clear H264_REC_READY_INT."] #[inline(always)] - #[must_use] pub fn rec_ready(&mut self) -> REC_READY_W { REC_READY_W::new(self, 1) } #[doc = "Bit 2 - Write 1 to clear H264_FRAME_DONE_INT."] #[inline(always)] - #[must_use] pub fn frame_done(&mut self) -> FRAME_DONE_W { FRAME_DONE_W::new(self, 2) } #[doc = "Bit 3 - Clear bit: Write 1 to clear H264_DMA_MOVE_2MB_LINE_DONE_INT."] #[inline(always)] - #[must_use] pub fn dma_move_2mb_line_done(&mut self) -> DMA_MOVE_2MB_LINE_DONE_W { DMA_MOVE_2MB_LINE_DONE_W::new(self, 3) } diff --git a/esp32p4/src/h264/int_ena.rs b/esp32p4/src/h264/int_ena.rs index 216851eea6..e5c037c1e8 100644 --- a/esp32p4/src/h264/int_ena.rs +++ b/esp32p4/src/h264/int_ena.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Write 1 to enable H264_DB_TMP_READY_INT."] #[inline(always)] - #[must_use] pub fn db_tmp_ready(&mut self) -> DB_TMP_READY_W { DB_TMP_READY_W::new(self, 0) } #[doc = "Bit 1 - Write 1 to enable H264_REC_READY_INT."] #[inline(always)] - #[must_use] pub fn rec_ready(&mut self) -> REC_READY_W { REC_READY_W::new(self, 1) } #[doc = "Bit 2 - Write 1 to enable H264_FRAME_DONE_INT."] #[inline(always)] - #[must_use] pub fn frame_done(&mut self) -> FRAME_DONE_W { FRAME_DONE_W::new(self, 2) } #[doc = "Bit 3 - Enable bit: Write 1 to enable H264_DMA_MOVE_2MB_LINE_DONE_INT."] #[inline(always)] - #[must_use] pub fn dma_move_2mb_line_done(&mut self) -> DMA_MOVE_2MB_LINE_DONE_W { DMA_MOVE_2MB_LINE_DONE_W::new(self, 3) } diff --git a/esp32p4/src/h264/int_raw.rs b/esp32p4/src/h264/int_raw.rs index 51534024d1..e343ebb4bc 100644 --- a/esp32p4/src/h264/int_raw.rs +++ b/esp32p4/src/h264/int_raw.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Raw status bit: The raw interrupt status of H264_DB_TMP_READY_INT. Triggered when H264 written enough db tmp pixel."] #[inline(always)] - #[must_use] pub fn db_tmp_ready(&mut self) -> DB_TMP_READY_W { DB_TMP_READY_W::new(self, 0) } #[doc = "Bit 1 - Raw status bit: The raw interrupt status of H264_REC_READY_INT. Triggered when H264 encoding enough reconstruct pixel."] #[inline(always)] - #[must_use] pub fn rec_ready(&mut self) -> REC_READY_W { REC_READY_W::new(self, 1) } #[doc = "Bit 2 - Raw status bit: The raw interrupt status of H264_FRAME_DONE_INT. Triggered when H264 encoding one frame done."] #[inline(always)] - #[must_use] pub fn frame_done(&mut self) -> FRAME_DONE_W { FRAME_DONE_W::new(self, 2) } #[doc = "Bit 3 - Raw status bit: The raw interrupt status of H264_DMA_MOVE_2MB_LINE_DONE_INT. Triggered when H264 move two MB lines of reference frame from external mem to internal mem done."] #[inline(always)] - #[must_use] pub fn dma_move_2mb_line_done(&mut self) -> DMA_MOVE_2MB_LINE_DONE_W { DMA_MOVE_2MB_LINE_DONE_W::new(self, 3) } diff --git a/esp32p4/src/h264/mv_merge_config.rs b/esp32p4/src/h264/mv_merge_config.rs index 8794b2c3ce..3f0ea2583c 100644 --- a/esp32p4/src/h264/mv_merge_config.rs +++ b/esp32p4/src/h264/mv_merge_config.rs @@ -62,25 +62,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Configure mv merge type.\\\\0: merge p16x16 mv\\\\1: merge min mv\\\\2: merge max mv\\\\3: not valid."] #[inline(always)] - #[must_use] pub fn mv_merge_type(&mut self) -> MV_MERGE_TYPE_W { MV_MERGE_TYPE_W::new(self, 0) } #[doc = "Bit 2 - Configure mv merge output integer part not zero mv or all part not zero mv.\\\\0: output all part not zero mv\\\\1: output integer part not zero mv."] #[inline(always)] - #[must_use] pub fn int_mv_out_en(&mut self) -> INT_MV_OUT_EN_W { INT_MV_OUT_EN_W::new(self, 2) } #[doc = "Bit 3 - Configure whether or not to enable video A mv merge.\\\\0: disable\\\\1: enable."] #[inline(always)] - #[must_use] pub fn a_mv_merge_en(&mut self) -> A_MV_MERGE_EN_W { A_MV_MERGE_EN_W::new(self, 3) } #[doc = "Bit 4 - Configure whether or not to enable video B mv merge.\\\\0: disable\\\\1: enable."] #[inline(always)] - #[must_use] pub fn b_mv_merge_en(&mut self) -> B_MV_MERGE_EN_W { B_MV_MERGE_EN_W::new(self, 4) } diff --git a/esp32p4/src/h264/slice_header_byte0.rs b/esp32p4/src/h264/slice_header_byte0.rs index cc11a7b971..e237818111 100644 --- a/esp32p4/src/h264/slice_header_byte0.rs +++ b/esp32p4/src/h264/slice_header_byte0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures Slice Header low 32 bit"] #[inline(always)] - #[must_use] pub fn slice_byte_lsb(&mut self) -> SLICE_BYTE_LSB_W { SLICE_BYTE_LSB_W::new(self, 0) } diff --git a/esp32p4/src/h264/slice_header_byte1.rs b/esp32p4/src/h264/slice_header_byte1.rs index d2cbb33af3..f6d765ceab 100644 --- a/esp32p4/src/h264/slice_header_byte1.rs +++ b/esp32p4/src/h264/slice_header_byte1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures Slice Header high 32 bit"] #[inline(always)] - #[must_use] pub fn slice_byte_msb(&mut self) -> SLICE_BYTE_MSB_W { SLICE_BYTE_MSB_W::new(self, 0) } diff --git a/esp32p4/src/h264/slice_header_byte_length.rs b/esp32p4/src/h264/slice_header_byte_length.rs index 626bac5178..f88db1a5b1 100644 --- a/esp32p4/src/h264/slice_header_byte_length.rs +++ b/esp32p4/src/h264/slice_header_byte_length.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Configures Slice Header byte number"] #[inline(always)] - #[must_use] pub fn slice_byte_length(&mut self) -> SLICE_BYTE_LENGTH_W { SLICE_BYTE_LENGTH_W::new(self, 0) } diff --git a/esp32p4/src/h264/slice_header_remain.rs b/esp32p4/src/h264/slice_header_remain.rs index c5b1a70408..7521cbbba2 100644 --- a/esp32p4/src/h264/slice_header_remain.rs +++ b/esp32p4/src/h264/slice_header_remain.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - Configures Slice Header remain bit number"] #[inline(always)] - #[must_use] pub fn slice_remain_bitlength(&mut self) -> SLICE_REMAIN_BITLENGTH_W { SLICE_REMAIN_BITLENGTH_W::new(self, 0) } #[doc = "Bits 3:10 - Configures Slice Header remain bit"] #[inline(always)] - #[must_use] pub fn slice_remain_bit(&mut self) -> SLICE_REMAIN_BIT_W { SLICE_REMAIN_BIT_W::new(self, 3) } diff --git a/esp32p4/src/h264/sys_ctrl.rs b/esp32p4/src/h264/sys_ctrl.rs index faf63b66e4..36c1d206ba 100644 --- a/esp32p4/src/h264/sys_ctrl.rs +++ b/esp32p4/src/h264/sys_ctrl.rs @@ -30,25 +30,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configures whether or not to start encoding one frame.\\\\0: Invalid. No effect\\\\1: Start encoding one frame"] #[inline(always)] - #[must_use] pub fn frame_start(&mut self) -> FRAME_START_W { FRAME_START_W::new(self, 0) } #[doc = "Bit 1 - Configures whether or not to start moving reference data from external mem.\\\\0: Invalid. No effect\\\\1: H264 start moving two MB lines of reference frame from external mem to internal mem"] #[inline(always)] - #[must_use] pub fn dma_move_start(&mut self) -> DMA_MOVE_START_W { DMA_MOVE_START_W::new(self, 1) } #[doc = "Bit 2 - Configures H264 running mode. When field H264_DUAL_STREAM_MODE is set to 1, this field must be set to 1 too.\\\\0: GOP mode. Before every GOP first frame start, need reconfig reference frame DMA\\\\1: Frame mode. Before every frame start, need reconfig reference frame DMA"] #[inline(always)] - #[must_use] pub fn frame_mode(&mut self) -> FRAME_MODE_W { FRAME_MODE_W::new(self, 2) } #[doc = "Bit 3 - Configures whether or not to reset H264 ip.\\\\0: Invalid. No effect\\\\1: Reset H264 ip"] #[inline(always)] - #[must_use] pub fn sys_rst_pulse(&mut self) -> SYS_RST_PULSE_W { SYS_RST_PULSE_W::new(self, 3) } diff --git a/esp32p4/src/h264_dma/counter_rst.rs b/esp32p4/src/h264_dma/counter_rst.rs index 091ef108c7..35d20ba4ff 100644 --- a/esp32p4/src/h264_dma/counter_rst.rs +++ b/esp32p4/src/h264_dma/counter_rst.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Write 1 then write 0 to this bit to reset rx ch0 counter."] #[inline(always)] - #[must_use] pub fn rx_ch0_exter_counter_rst(&mut self) -> RX_CH0_EXTER_COUNTER_RST_W { RX_CH0_EXTER_COUNTER_RST_W::new(self, 0) } #[doc = "Bit 1 - Write 1 then write 0 to this bit to reset rx ch1 counter."] #[inline(always)] - #[must_use] pub fn rx_ch1_exter_counter_rst(&mut self) -> RX_CH1_EXTER_COUNTER_RST_W { RX_CH1_EXTER_COUNTER_RST_W::new(self, 1) } #[doc = "Bit 2 - Write 1 then write 0 to this bit to reset rx ch2 counter."] #[inline(always)] - #[must_use] pub fn rx_ch2_inter_counter_rst(&mut self) -> RX_CH2_INTER_COUNTER_RST_W { RX_CH2_INTER_COUNTER_RST_W::new(self, 2) } #[doc = "Bit 3 - Write 1 then write 0 to this bit to reset rx ch5 counter."] #[inline(always)] - #[must_use] pub fn rx_ch5_inter_counter_rst(&mut self) -> RX_CH5_INTER_COUNTER_RST_W { RX_CH5_INTER_COUNTER_RST_W::new(self, 3) } diff --git a/esp32p4/src/h264_dma/date.rs b/esp32p4/src/h264_dma/date.rs index 82098be112..38ded188f5 100644 --- a/esp32p4/src/h264_dma/date.rs +++ b/esp32p4/src/h264_dma/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - register version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32p4/src/h264_dma/exter_mem_end_addr0.rs b/esp32p4/src/h264_dma/exter_mem_end_addr0.rs index a90dfde8dc..c58621e154 100644 --- a/esp32p4/src/h264_dma/exter_mem_end_addr0.rs +++ b/esp32p4/src/h264_dma/exter_mem_end_addr0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The end address of accessible address space. The access address beyond this range would lead to descriptor error."] #[inline(always)] - #[must_use] pub fn access_exter_mem_end_addr0( &mut self, ) -> ACCESS_EXTER_MEM_END_ADDR0_W { diff --git a/esp32p4/src/h264_dma/exter_mem_end_addr1.rs b/esp32p4/src/h264_dma/exter_mem_end_addr1.rs index e552f1b386..16ee2f13ac 100644 --- a/esp32p4/src/h264_dma/exter_mem_end_addr1.rs +++ b/esp32p4/src/h264_dma/exter_mem_end_addr1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The end address of accessible address space. The access address beyond this range would lead to descriptor error."] #[inline(always)] - #[must_use] pub fn access_exter_mem_end_addr1( &mut self, ) -> ACCESS_EXTER_MEM_END_ADDR1_W { diff --git a/esp32p4/src/h264_dma/exter_mem_start_addr0.rs b/esp32p4/src/h264_dma/exter_mem_start_addr0.rs index 8efe0e3f8a..44a7169182 100644 --- a/esp32p4/src/h264_dma/exter_mem_start_addr0.rs +++ b/esp32p4/src/h264_dma/exter_mem_start_addr0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The start address of accessible address space."] #[inline(always)] - #[must_use] pub fn access_exter_mem_start_addr0( &mut self, ) -> ACCESS_EXTER_MEM_START_ADDR0_W { diff --git a/esp32p4/src/h264_dma/exter_mem_start_addr1.rs b/esp32p4/src/h264_dma/exter_mem_start_addr1.rs index b9d209dad9..a762c5d7ac 100644 --- a/esp32p4/src/h264_dma/exter_mem_start_addr1.rs +++ b/esp32p4/src/h264_dma/exter_mem_start_addr1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The start address of accessible address space."] #[inline(always)] - #[must_use] pub fn access_exter_mem_start_addr1( &mut self, ) -> ACCESS_EXTER_MEM_START_ADDR1_W { diff --git a/esp32p4/src/h264_dma/in_arb_config.rs b/esp32p4/src/h264_dma/in_arb_config.rs index 530d77467c..bbe8c24fef 100644 --- a/esp32p4/src/h264_dma/in_arb_config.rs +++ b/esp32p4/src/h264_dma/in_arb_config.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Set the max number of timeout count of arbiter"] #[inline(always)] - #[must_use] pub fn in_arb_timeout_num(&mut self) -> IN_ARB_TIMEOUT_NUM_W { IN_ARB_TIMEOUT_NUM_W::new(self, 0) } #[doc = "Bit 16 - reserved"] #[inline(always)] - #[must_use] pub fn in_weight_en(&mut self) -> IN_WEIGHT_EN_W { IN_WEIGHT_EN_W::new(self, 16) } diff --git a/esp32p4/src/h264_dma/in_ch/arb.rs b/esp32p4/src/h264_dma/in_ch/arb.rs index 4225a68752..1a163774d2 100644 --- a/esp32p4/src/h264_dma/in_ch/arb.rs +++ b/esp32p4/src/h264_dma/in_ch/arb.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Set the max number of token count of arbiter"] #[inline(always)] - #[must_use] pub fn in_arb_token_num(&mut self) -> IN_ARB_TOKEN_NUM_W { IN_ARB_TOKEN_NUM_W::new(self, 0) } #[doc = "Bits 4:5 - Set the priority of channel"] #[inline(always)] - #[must_use] pub fn exter_in_arb_priority(&mut self) -> EXTER_IN_ARB_PRIORITY_W { EXTER_IN_ARB_PRIORITY_W::new(self, 4) } #[doc = "Bits 6:8 - Set the priority of channel"] #[inline(always)] - #[must_use] pub fn inter_in_arb_priority(&mut self) -> INTER_IN_ARB_PRIORITY_W { INTER_IN_ARB_PRIORITY_W::new(self, 6) } diff --git a/esp32p4/src/h264_dma/in_ch/conf0.rs b/esp32p4/src/h264_dma/in_ch/conf0.rs index ad6738e15c..675aee50ac 100644 --- a/esp32p4/src/h264_dma/in_ch/conf0.rs +++ b/esp32p4/src/h264_dma/in_ch/conf0.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - Set this bit to 1 to enable INCR burst transfer for Rx transmitting link descriptor when accessing SRAM."] #[inline(always)] - #[must_use] pub fn indscr_burst_en(&mut self) -> INDSCR_BURST_EN_W { INDSCR_BURST_EN_W::new(self, 2) } #[doc = "Bit 3 - When access address space is ecc/aes area, this bit should be set to 1. In this case, the start address of square should be 16-bit aligned. The width of square multiply byte number of one pixel should be 16-bit aligned."] #[inline(always)] - #[must_use] pub fn in_ecc_aes_en(&mut self) -> IN_ECC_AES_EN_W { IN_ECC_AES_EN_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to enable checking the owner attribute of the link descriptor."] #[inline(always)] - #[must_use] pub fn in_check_owner(&mut self) -> IN_CHECK_OWNER_W { IN_CHECK_OWNER_W::new(self, 4) } #[doc = "Bits 6:8 - Block size of Rx channel 0. 0: single 1: 16 bytes 2: 32 bytes 3: 64 bytes 4: 128 bytes"] #[inline(always)] - #[must_use] pub fn in_mem_burst_length(&mut self) -> IN_MEM_BURST_LENGTH_W { IN_MEM_BURST_LENGTH_W::new(self, 6) } #[doc = "Bit 12 - Set this bit to 1 to make sure AXI write data don't cross the address boundary which define by mem_burst_length"] #[inline(always)] - #[must_use] pub fn in_page_bound_en(&mut self) -> IN_PAGE_BOUND_EN_W { IN_PAGE_BOUND_EN_W::new(self, 12) } #[doc = "Bit 24 - Write 1 then write 0 to this bit to reset Rx channel"] #[inline(always)] - #[must_use] pub fn in_rst(&mut self) -> IN_RST_W { IN_RST_W::new(self, 24) } #[doc = "Bit 25 - Write 1 before reset and write 0 after reset"] #[inline(always)] - #[must_use] pub fn in_cmd_disable(&mut self) -> IN_CMD_DISABLE_W { IN_CMD_DISABLE_W::new(self, 25) } #[doc = "Bit 26 - Set this bit to 1 to disable arbiter optimum weight function."] #[inline(always)] - #[must_use] pub fn in_arb_weight_opt_dis(&mut self) -> IN_ARB_WEIGHT_OPT_DIS_W { IN_ARB_WEIGHT_OPT_DIS_W::new(self, 26) } diff --git a/esp32p4/src/h264_dma/in_ch/etm_conf.rs b/esp32p4/src/h264_dma/in_ch/etm_conf.rs index 214d430c02..b83a936ccb 100644 --- a/esp32p4/src/h264_dma/in_ch/etm_conf.rs +++ b/esp32p4/src/h264_dma/in_ch/etm_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to 1 to enable ETM task function"] #[inline(always)] - #[must_use] pub fn in_etm_en(&mut self) -> IN_ETM_EN_W { IN_ETM_EN_W::new(self, 0) } #[doc = "Bit 1 - when this bit is 1, dscr can be processed after receiving a task"] #[inline(always)] - #[must_use] pub fn in_etm_loop_en(&mut self) -> IN_ETM_LOOP_EN_W { IN_ETM_LOOP_EN_W::new(self, 1) } #[doc = "Bits 2:3 - ETM dscr_ready maximum cache numbers"] #[inline(always)] - #[must_use] pub fn in_dscr_task_mak(&mut self) -> IN_DSCR_TASK_MAK_W { IN_DSCR_TASK_MAK_W::new(self, 2) } diff --git a/esp32p4/src/h264_dma/in_ch/int_clr.rs b/esp32p4/src/h264_dma/in_ch/int_clr.rs index 715e02dcd7..c2f93be88e 100644 --- a/esp32p4/src/h264_dma/in_ch/int_clr.rs +++ b/esp32p4/src/h264_dma/in_ch/int_clr.rs @@ -29,61 +29,51 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the IN_DONE_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_done(&mut self) -> IN_DONE_W { IN_DONE_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the IN_SUC_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_suc_eof(&mut self) -> IN_SUC_EOF_W { IN_SUC_EOF_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the IN_ERR_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_err_eof(&mut self) -> IN_ERR_EOF_W { IN_ERR_EOF_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the INDSCR_ERR_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_err(&mut self) -> IN_DSCR_ERR_W { IN_DSCR_ERR_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear the INFIFO_OVF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_ovf_l1(&mut self) -> INFIFO_OVF_L1_W { INFIFO_OVF_L1_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the INFIFO_UDF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_udf_l1(&mut self) -> INFIFO_UDF_L1_W { INFIFO_UDF_L1_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the INFIFO_OVF_L2_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_ovf_l2(&mut self) -> INFIFO_OVF_L2_W { INFIFO_OVF_L2_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the INFIFO_UDF_L2_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_udf_l2(&mut self) -> INFIFO_UDF_L2_W { INFIFO_UDF_L2_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the IN_DSCR_EMPTY_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_empty(&mut self) -> IN_DSCR_EMPTY_W { IN_DSCR_EMPTY_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear the IN_DSCR_TASK_OVF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_task_ovf(&mut self) -> IN_DSCR_TASK_OVF_W { IN_DSCR_TASK_OVF_W::new(self, 9) } diff --git a/esp32p4/src/h264_dma/in_ch/int_ena.rs b/esp32p4/src/h264_dma/in_ch/int_ena.rs index 74a7ca6110..7a5ec937cb 100644 --- a/esp32p4/src/h264_dma/in_ch/int_ena.rs +++ b/esp32p4/src/h264_dma/in_ch/int_ena.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for the IN_DONE_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_done(&mut self) -> IN_DONE_W { IN_DONE_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the IN_SUC_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_suc_eof(&mut self) -> IN_SUC_EOF_W { IN_SUC_EOF_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the IN_ERR_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_err_eof(&mut self) -> IN_ERR_EOF_W { IN_ERR_EOF_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the IN_DSCR_ERR_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_err(&mut self) -> IN_DSCR_ERR_W { IN_DSCR_ERR_W::new(self, 3) } #[doc = "Bit 4 - The interrupt enable bit for the INFIFO_OVF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_ovf_l1(&mut self) -> INFIFO_OVF_L1_W { INFIFO_OVF_L1_W::new(self, 4) } #[doc = "Bit 5 - The interrupt enable bit for the INFIFO_UDF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_udf_l1(&mut self) -> INFIFO_UDF_L1_W { INFIFO_UDF_L1_W::new(self, 5) } #[doc = "Bit 6 - The interrupt enable bit for the INFIFO_OVF_L2_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_ovf_l2(&mut self) -> INFIFO_OVF_L2_W { INFIFO_OVF_L2_W::new(self, 6) } #[doc = "Bit 7 - The interrupt enable bit for the INFIFO_UDF_L2_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_udf_l2(&mut self) -> INFIFO_UDF_L2_W { INFIFO_UDF_L2_W::new(self, 7) } #[doc = "Bit 8 - The interrupt enable bit for the IN_DSCR_EMPTY_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_empty(&mut self) -> IN_DSCR_EMPTY_W { IN_DSCR_EMPTY_W::new(self, 8) } #[doc = "Bit 9 - The interrupt enable bit for the IN_DSCR_TASK_OVF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_task_ovf(&mut self) -> IN_DSCR_TASK_OVF_W { IN_DSCR_TASK_OVF_W::new(self, 9) } diff --git a/esp32p4/src/h264_dma/in_ch/int_raw.rs b/esp32p4/src/h264_dma/in_ch/int_raw.rs index f4c5ed60a3..f13e1fed5c 100644 --- a/esp32p4/src/h264_dma/in_ch/int_raw.rs +++ b/esp32p4/src/h264_dma/in_ch/int_raw.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw interrupt bit turns to high level when the last data pointed by one inlink descriptor has been transmitted to peripherals for Rx channel 0."] #[inline(always)] - #[must_use] pub fn in_done(&mut self) -> IN_DONE_W { IN_DONE_W::new(self, 0) } #[doc = "Bit 1 - The raw interrupt bit turns to high level when the last data pointed by one inlink descriptor has been received and no data error is detected for Rx channel 0."] #[inline(always)] - #[must_use] pub fn in_suc_eof(&mut self) -> IN_SUC_EOF_W { IN_SUC_EOF_W::new(self, 1) } #[doc = "Bit 2 - The raw interrupt bit turns to high level when the last data pointed by one inlink descriptor has been received and data error is detected"] #[inline(always)] - #[must_use] pub fn in_err_eof(&mut self) -> IN_ERR_EOF_W { IN_ERR_EOF_W::new(self, 2) } #[doc = "Bit 3 - The raw interrupt bit turns to high level when detecting inlink descriptor error, including owner error, the second and third word error of inlink descriptor for Rx channel 0."] #[inline(always)] - #[must_use] pub fn in_dscr_err(&mut self) -> IN_DSCR_ERR_W { IN_DSCR_ERR_W::new(self, 3) } #[doc = "Bit 4 - The raw interrupt bit turns to high level when fifo of Rx channel is overflow."] #[inline(always)] - #[must_use] pub fn infifo_ovf_l1(&mut self) -> INFIFO_OVF_L1_W { INFIFO_OVF_L1_W::new(self, 4) } #[doc = "Bit 5 - The raw interrupt bit turns to high level when fifo of Rx channel is underflow."] #[inline(always)] - #[must_use] pub fn infifo_udf_l1(&mut self) -> INFIFO_UDF_L1_W { INFIFO_UDF_L1_W::new(self, 5) } #[doc = "Bit 6 - The raw interrupt bit turns to high level when fifo of Rx channel is overflow."] #[inline(always)] - #[must_use] pub fn infifo_ovf_l2(&mut self) -> INFIFO_OVF_L2_W { INFIFO_OVF_L2_W::new(self, 6) } #[doc = "Bit 7 - The raw interrupt bit turns to high level when fifo of Rx channel is underflow."] #[inline(always)] - #[must_use] pub fn infifo_udf_l2(&mut self) -> INFIFO_UDF_L2_W { INFIFO_UDF_L2_W::new(self, 7) } #[doc = "Bit 8 - The raw interrupt bit turns to high level when the last descriptor is done but fifo also remain data."] #[inline(always)] - #[must_use] pub fn in_dscr_empty(&mut self) -> IN_DSCR_EMPTY_W { IN_DSCR_EMPTY_W::new(self, 8) } #[doc = "Bit 9 - The raw interrupt bit turns to high level when dscr ready task fifo is overflow."] #[inline(always)] - #[must_use] pub fn in_dscr_task_ovf(&mut self) -> IN_DSCR_TASK_OVF_W { IN_DSCR_TASK_OVF_W::new(self, 9) } diff --git a/esp32p4/src/h264_dma/in_ch/link_addr.rs b/esp32p4/src/h264_dma/in_ch/link_addr.rs index fa0faec853..d7617be3a2 100644 --- a/esp32p4/src/h264_dma/in_ch/link_addr.rs +++ b/esp32p4/src/h264_dma/in_ch/link_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This register stores the first inlink descriptor's address."] #[inline(always)] - #[must_use] pub fn inlink_addr(&mut self) -> INLINK_ADDR_W { INLINK_ADDR_W::new(self, 0) } diff --git a/esp32p4/src/h264_dma/in_ch/link_conf.rs b/esp32p4/src/h264_dma/in_ch/link_conf.rs index 6da129fcc3..e7b0d53ccd 100644 --- a/esp32p4/src/h264_dma/in_ch/link_conf.rs +++ b/esp32p4/src/h264_dma/in_ch/link_conf.rs @@ -62,25 +62,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 20 - Set this bit to return to current inlink descriptor's address, when there are some errors in current receiving data."] #[inline(always)] - #[must_use] pub fn inlink_auto_ret(&mut self) -> INLINK_AUTO_RET_W { INLINK_AUTO_RET_W::new(self, 20) } #[doc = "Bit 21 - Set this bit to stop dealing with the inlink descriptors."] #[inline(always)] - #[must_use] pub fn inlink_stop(&mut self) -> INLINK_STOP_W { INLINK_STOP_W::new(self, 21) } #[doc = "Bit 22 - Set this bit to start dealing with the inlink descriptors."] #[inline(always)] - #[must_use] pub fn inlink_start(&mut self) -> INLINK_START_W { INLINK_START_W::new(self, 22) } #[doc = "Bit 23 - Set this bit to mount a new inlink descriptor."] #[inline(always)] - #[must_use] pub fn inlink_restart(&mut self) -> INLINK_RESTART_W { INLINK_RESTART_W::new(self, 23) } diff --git a/esp32p4/src/h264_dma/in_ch/pop.rs b/esp32p4/src/h264_dma/in_ch/pop.rs index eb651d3ec2..69e7e7653e 100644 --- a/esp32p4/src/h264_dma/in_ch/pop.rs +++ b/esp32p4/src/h264_dma/in_ch/pop.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 11 - Set this bit to pop data from DMA Rx FIFO."] #[inline(always)] - #[must_use] pub fn infifo_pop(&mut self) -> INFIFO_POP_W { INFIFO_POP_W::new(self, 11) } diff --git a/esp32p4/src/h264_dma/in_ch/ro_pd_conf.rs b/esp32p4/src/h264_dma/in_ch/ro_pd_conf.rs index 7a62743c0f..846d6db615 100644 --- a/esp32p4/src/h264_dma/in_ch/ro_pd_conf.rs +++ b/esp32p4/src/h264_dma/in_ch/ro_pd_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 6 - 1: Force to open the clock and bypass the gate-clock when accessing the RAM in DMA. 0: A gate-clock will be used when accessing the RAM in DMA."] #[inline(always)] - #[must_use] pub fn in_ro_ram_clk_fo(&mut self) -> IN_RO_RAM_CLK_FO_W { IN_RO_RAM_CLK_FO_W::new(self, 6) } diff --git a/esp32p4/src/h264_dma/in_ch5/arb.rs b/esp32p4/src/h264_dma/in_ch5/arb.rs index 6703f2599f..1072789ed0 100644 --- a/esp32p4/src/h264_dma/in_ch5/arb.rs +++ b/esp32p4/src/h264_dma/in_ch5/arb.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Set the max number of token count of arbiter"] #[inline(always)] - #[must_use] pub fn in_arb_token_num(&mut self) -> IN_ARB_TOKEN_NUM_W { IN_ARB_TOKEN_NUM_W::new(self, 0) } #[doc = "Bits 6:8 - Set the priority of channel"] #[inline(always)] - #[must_use] pub fn inter_in_arb_priority(&mut self) -> INTER_IN_ARB_PRIORITY_W { INTER_IN_ARB_PRIORITY_W::new(self, 6) } diff --git a/esp32p4/src/h264_dma/in_ch5/conf0.rs b/esp32p4/src/h264_dma/in_ch5/conf0.rs index 19804a75be..1cd3a17123 100644 --- a/esp32p4/src/h264_dma/in_ch5/conf0.rs +++ b/esp32p4/src/h264_dma/in_ch5/conf0.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - When access address space is ecc/aes area, this bit should be set to 1. In this case, the start address of square should be 16-bit aligned. The width of square multiply byte number of one pixel should be 16-bit aligned."] #[inline(always)] - #[must_use] pub fn in_ecc_aes_en(&mut self) -> IN_ECC_AES_EN_W { IN_ECC_AES_EN_W::new(self, 3) } #[doc = "Bits 6:8 - Block size of Rx channel 1. 0: single 1: 16 bytes 2: 32 bytes 3: 64 bytes 4: 128 bytes"] #[inline(always)] - #[must_use] pub fn in_mem_burst_length(&mut self) -> IN_MEM_BURST_LENGTH_W { IN_MEM_BURST_LENGTH_W::new(self, 6) } #[doc = "Bit 12 - Set this bit to 1 to make sure AXI write data don't cross the address boundary which define by mem_burst_length"] #[inline(always)] - #[must_use] pub fn in_page_bound_en(&mut self) -> IN_PAGE_BOUND_EN_W { IN_PAGE_BOUND_EN_W::new(self, 12) } #[doc = "Bit 24 - Write 1 then write 0 to this bit to reset Rx channel"] #[inline(always)] - #[must_use] pub fn in_rst(&mut self) -> IN_RST_W { IN_RST_W::new(self, 24) } #[doc = "Bit 25 - Write 1 before reset and write 0 after reset"] #[inline(always)] - #[must_use] pub fn in_cmd_disable(&mut self) -> IN_CMD_DISABLE_W { IN_CMD_DISABLE_W::new(self, 25) } diff --git a/esp32p4/src/h264_dma/in_ch5/conf1.rs b/esp32p4/src/h264_dma/in_ch5/conf1.rs index e2ba410445..6ea141c77c 100644 --- a/esp32p4/src/h264_dma/in_ch5/conf1.rs +++ b/esp32p4/src/h264_dma/in_ch5/conf1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - RX Channel 5 destination start address"] #[inline(always)] - #[must_use] pub fn block_start_addr(&mut self) -> BLOCK_START_ADDR_W { BLOCK_START_ADDR_W::new(self, 0) } diff --git a/esp32p4/src/h264_dma/in_ch5/conf2.rs b/esp32p4/src/h264_dma/in_ch5/conf2.rs index f394e8a157..6d7584b558 100644 --- a/esp32p4/src/h264_dma/in_ch5/conf2.rs +++ b/esp32p4/src/h264_dma/in_ch5/conf2.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The number of bytes contained in a row block 12line in RX channel 5"] #[inline(always)] - #[must_use] pub fn block_row_length_12line(&mut self) -> BLOCK_ROW_LENGTH_12LINE_W { BLOCK_ROW_LENGTH_12LINE_W::new(self, 0) } #[doc = "Bits 16:31 - The number of bytes contained in a row block 4line in RX channel 5"] #[inline(always)] - #[must_use] pub fn block_row_length_4line(&mut self) -> BLOCK_ROW_LENGTH_4LINE_W { BLOCK_ROW_LENGTH_4LINE_W::new(self, 16) } diff --git a/esp32p4/src/h264_dma/in_ch5/conf3.rs b/esp32p4/src/h264_dma/in_ch5/conf3.rs index e0e57efc33..b9c14ffe39 100644 --- a/esp32p4/src/h264_dma/in_ch5/conf3.rs +++ b/esp32p4/src/h264_dma/in_ch5/conf3.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - The number of bytes contained in a block 12line"] #[inline(always)] - #[must_use] pub fn block_length_12line(&mut self) -> BLOCK_LENGTH_12LINE_W { BLOCK_LENGTH_12LINE_W::new(self, 0) } #[doc = "Bits 14:27 - The number of bytes contained in a block 4line"] #[inline(always)] - #[must_use] pub fn block_length_4line(&mut self) -> BLOCK_LENGTH_4LINE_W { BLOCK_LENGTH_4LINE_W::new(self, 14) } diff --git a/esp32p4/src/h264_dma/in_ch5/int_clr.rs b/esp32p4/src/h264_dma/in_ch5/int_clr.rs index 875a2a1f97..36bf41fc31 100644 --- a/esp32p4/src/h264_dma/in_ch5/int_clr.rs +++ b/esp32p4/src/h264_dma/in_ch5/int_clr.rs @@ -19,31 +19,26 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the IN_DONE_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_done(&mut self) -> IN_DONE_W { IN_DONE_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the IN_SUC_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_suc_eof(&mut self) -> IN_SUC_EOF_W { IN_SUC_EOF_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the INFIFO_OVF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_ovf_l1(&mut self) -> INFIFO_OVF_L1_W { INFIFO_OVF_L1_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the INFIFO_UDF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_udf_l1(&mut self) -> INFIFO_UDF_L1_W { INFIFO_UDF_L1_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear the INFIFO_UDF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn fetch_mb_col_cnt_ovf(&mut self) -> FETCH_MB_COL_CNT_OVF_W { FETCH_MB_COL_CNT_OVF_W::new(self, 4) } diff --git a/esp32p4/src/h264_dma/in_ch5/int_ena.rs b/esp32p4/src/h264_dma/in_ch5/int_ena.rs index e3f2fb208e..d6051ffa8a 100644 --- a/esp32p4/src/h264_dma/in_ch5/int_ena.rs +++ b/esp32p4/src/h264_dma/in_ch5/int_ena.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for the IN_DONE_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_done(&mut self) -> IN_DONE_W { IN_DONE_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the IN_SUC_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_suc_eof(&mut self) -> IN_SUC_EOF_W { IN_SUC_EOF_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the INFIFO_OVF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_ovf_l1(&mut self) -> INFIFO_OVF_L1_W { INFIFO_OVF_L1_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the INFIFO_UDF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_udf_l1(&mut self) -> INFIFO_UDF_L1_W { INFIFO_UDF_L1_W::new(self, 3) } #[doc = "Bit 4 - The interrupt enable bit for the INFIFO_UDF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn fetch_mb_col_cnt_ovf(&mut self) -> FETCH_MB_COL_CNT_OVF_W { FETCH_MB_COL_CNT_OVF_W::new(self, 4) } diff --git a/esp32p4/src/h264_dma/in_ch5/int_raw.rs b/esp32p4/src/h264_dma/in_ch5/int_raw.rs index b8b2826fa1..0e23e45416 100644 --- a/esp32p4/src/h264_dma/in_ch5/int_raw.rs +++ b/esp32p4/src/h264_dma/in_ch5/int_raw.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw interrupt bit turns to high level when the last data pointed by one inlink descriptor has been transmitted to peripherals for Rx channel 1."] #[inline(always)] - #[must_use] pub fn in_done(&mut self) -> IN_DONE_W { IN_DONE_W::new(self, 0) } #[doc = "Bit 1 - The raw interrupt bit turns to high level when the last data pointed by one inlink descriptor has been received and no data error is detected for Rx channel 1."] #[inline(always)] - #[must_use] pub fn in_suc_eof(&mut self) -> IN_SUC_EOF_W { IN_SUC_EOF_W::new(self, 1) } #[doc = "Bit 2 - This raw interrupt bit turns to high level when fifo of Rx channel is overflow."] #[inline(always)] - #[must_use] pub fn infifo_ovf_l1(&mut self) -> INFIFO_OVF_L1_W { INFIFO_OVF_L1_W::new(self, 2) } #[doc = "Bit 3 - This raw interrupt bit turns to high level when fifo of Rx channel is underflow."] #[inline(always)] - #[must_use] pub fn infifo_udf_l1(&mut self) -> INFIFO_UDF_L1_W { INFIFO_UDF_L1_W::new(self, 3) } #[doc = "Bit 4 - This raw interrupt bit turns to high level when fifo of Rx channel is underflow."] #[inline(always)] - #[must_use] pub fn fetch_mb_col_cnt_ovf(&mut self) -> FETCH_MB_COL_CNT_OVF_W { FETCH_MB_COL_CNT_OVF_W::new(self, 4) } diff --git a/esp32p4/src/h264_dma/in_ch5/pop.rs b/esp32p4/src/h264_dma/in_ch5/pop.rs index f6ae435be1..4f36db566e 100644 --- a/esp32p4/src/h264_dma/in_ch5/pop.rs +++ b/esp32p4/src/h264_dma/in_ch5/pop.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 11 - Set this bit to pop data from DMA Rx FIFO."] #[inline(always)] - #[must_use] pub fn infifo_pop(&mut self) -> INFIFO_POP_W { INFIFO_POP_W::new(self, 11) } diff --git a/esp32p4/src/h264_dma/inter_mem_end_addr0.rs b/esp32p4/src/h264_dma/inter_mem_end_addr0.rs index 43e92f968f..208f49f599 100644 --- a/esp32p4/src/h264_dma/inter_mem_end_addr0.rs +++ b/esp32p4/src/h264_dma/inter_mem_end_addr0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The end address of accessible address space. The access address beyond this range would lead to descriptor error."] #[inline(always)] - #[must_use] pub fn access_inter_mem_end_addr0( &mut self, ) -> ACCESS_INTER_MEM_END_ADDR0_W { diff --git a/esp32p4/src/h264_dma/inter_mem_end_addr1.rs b/esp32p4/src/h264_dma/inter_mem_end_addr1.rs index b222b4190c..f50ad73121 100644 --- a/esp32p4/src/h264_dma/inter_mem_end_addr1.rs +++ b/esp32p4/src/h264_dma/inter_mem_end_addr1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The end address of accessible address space. The access address beyond this range would lead to descriptor error."] #[inline(always)] - #[must_use] pub fn access_inter_mem_end_addr1( &mut self, ) -> ACCESS_INTER_MEM_END_ADDR1_W { diff --git a/esp32p4/src/h264_dma/inter_mem_start_addr0.rs b/esp32p4/src/h264_dma/inter_mem_start_addr0.rs index 2902f33cc1..a66ace39ad 100644 --- a/esp32p4/src/h264_dma/inter_mem_start_addr0.rs +++ b/esp32p4/src/h264_dma/inter_mem_start_addr0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The start address of accessible address space."] #[inline(always)] - #[must_use] pub fn access_inter_mem_start_addr0( &mut self, ) -> ACCESS_INTER_MEM_START_ADDR0_W { diff --git a/esp32p4/src/h264_dma/inter_mem_start_addr1.rs b/esp32p4/src/h264_dma/inter_mem_start_addr1.rs index 994b3a0f7d..61d6b0857a 100644 --- a/esp32p4/src/h264_dma/inter_mem_start_addr1.rs +++ b/esp32p4/src/h264_dma/inter_mem_start_addr1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The start address of accessible address space."] #[inline(always)] - #[must_use] pub fn access_inter_mem_start_addr1( &mut self, ) -> ACCESS_INTER_MEM_START_ADDR1_W { diff --git a/esp32p4/src/h264_dma/out_arb_config.rs b/esp32p4/src/h264_dma/out_arb_config.rs index e1e3493cc1..635ec44068 100644 --- a/esp32p4/src/h264_dma/out_arb_config.rs +++ b/esp32p4/src/h264_dma/out_arb_config.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Set the max number of timeout count of arbiter"] #[inline(always)] - #[must_use] pub fn out_arb_timeout_num(&mut self) -> OUT_ARB_TIMEOUT_NUM_W { OUT_ARB_TIMEOUT_NUM_W::new(self, 0) } #[doc = "Bit 16 - reserved"] #[inline(always)] - #[must_use] pub fn out_weight_en(&mut self) -> OUT_WEIGHT_EN_W { OUT_WEIGHT_EN_W::new(self, 16) } diff --git a/esp32p4/src/h264_dma/out_ch/arb.rs b/esp32p4/src/h264_dma/out_ch/arb.rs index fcbe646f51..67b97aa919 100644 --- a/esp32p4/src/h264_dma/out_ch/arb.rs +++ b/esp32p4/src/h264_dma/out_ch/arb.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Set the max number of token count of arbiter"] #[inline(always)] - #[must_use] pub fn out_arb_token_num(&mut self) -> OUT_ARB_TOKEN_NUM_W { OUT_ARB_TOKEN_NUM_W::new(self, 0) } #[doc = "Bits 4:5 - Set the priority of channel"] #[inline(always)] - #[must_use] pub fn exter_out_arb_priority(&mut self) -> EXTER_OUT_ARB_PRIORITY_W { EXTER_OUT_ARB_PRIORITY_W::new(self, 4) } #[doc = "Bit 6 - Set the priority of channel"] #[inline(always)] - #[must_use] pub fn inter_out_arb_priority(&mut self) -> INTER_OUT_ARB_PRIORITY_W { INTER_OUT_ARB_PRIORITY_W::new(self, 6) } diff --git a/esp32p4/src/h264_dma/out_ch/conf0.rs b/esp32p4/src/h264_dma/out_ch/conf0.rs index aa980f6008..6854dd2c5d 100644 --- a/esp32p4/src/h264_dma/out_ch/conf0.rs +++ b/esp32p4/src/h264_dma/out_ch/conf0.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable automatic outlink-writeback when all the data pointed by outlink descriptor has been received."] #[inline(always)] - #[must_use] pub fn out_auto_wrback(&mut self) -> OUT_AUTO_WRBACK_W { OUT_AUTO_WRBACK_W::new(self, 0) } #[doc = "Bit 1 - EOF flag generation mode when receiving data. 1: EOF flag for Tx channel 0 is generated when data need to read has been popped from FIFO in DMA"] #[inline(always)] - #[must_use] pub fn out_eof_mode(&mut self) -> OUT_EOF_MODE_W { OUT_EOF_MODE_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to 1 to enable INCR burst transfer for Tx channel 0 reading link descriptor when accessing internal SRAM."] #[inline(always)] - #[must_use] pub fn outdscr_burst_en(&mut self) -> OUTDSCR_BURST_EN_W { OUTDSCR_BURST_EN_W::new(self, 2) } #[doc = "Bit 3 - When access address space is ecc/aes area, this bit should be set to 1. In this case, the start address of square should be 16-bit aligned. The width of square multiply byte number of one pixel should be 16-bit aligned."] #[inline(always)] - #[must_use] pub fn out_ecc_aes_en(&mut self) -> OUT_ECC_AES_EN_W { OUT_ECC_AES_EN_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to enable checking the owner attribute of the link descriptor."] #[inline(always)] - #[must_use] pub fn out_check_owner(&mut self) -> OUT_CHECK_OWNER_W { OUT_CHECK_OWNER_W::new(self, 4) } #[doc = "Bits 6:8 - Block size of Tx channel 0. 0: single 1: 16 bytes 2: 32 bytes 3: 64 bytes 4: 128 bytes"] #[inline(always)] - #[must_use] pub fn out_mem_burst_length(&mut self) -> OUT_MEM_BURST_LENGTH_W { OUT_MEM_BURST_LENGTH_W::new(self, 6) } #[doc = "Bit 12 - Set this bit to 1 to make sure AXI read data don't cross the address boundary which define by mem_burst_length"] #[inline(always)] - #[must_use] pub fn out_page_bound_en(&mut self) -> OUT_PAGE_BOUND_EN_W { OUT_PAGE_BOUND_EN_W::new(self, 12) } #[doc = "Bit 16 - Enable TX channel 0 macro block reorder when set to 1, only channel0 have this selection"] #[inline(always)] - #[must_use] pub fn out_reorder_en(&mut self) -> OUT_REORDER_EN_W { OUT_REORDER_EN_W::new(self, 16) } #[doc = "Bit 24 - Write 1 then write 0 to this bit to reset TX channel"] #[inline(always)] - #[must_use] pub fn out_rst(&mut self) -> OUT_RST_W { OUT_RST_W::new(self, 24) } #[doc = "Bit 25 - Write 1 before reset and write 0 after reset"] #[inline(always)] - #[must_use] pub fn out_cmd_disable(&mut self) -> OUT_CMD_DISABLE_W { OUT_CMD_DISABLE_W::new(self, 25) } #[doc = "Bit 26 - Set this bit to 1 to disable arbiter optimum weight function."] #[inline(always)] - #[must_use] pub fn out_arb_weight_opt_dis(&mut self) -> OUT_ARB_WEIGHT_OPT_DIS_W { OUT_ARB_WEIGHT_OPT_DIS_W::new(self, 26) } diff --git a/esp32p4/src/h264_dma/out_ch/etm_conf.rs b/esp32p4/src/h264_dma/out_ch/etm_conf.rs index 97a3cba259..1302753726 100644 --- a/esp32p4/src/h264_dma/out_ch/etm_conf.rs +++ b/esp32p4/src/h264_dma/out_ch/etm_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to 1 to enable ETM task function"] #[inline(always)] - #[must_use] pub fn out_etm_en(&mut self) -> OUT_ETM_EN_W { OUT_ETM_EN_W::new(self, 0) } #[doc = "Bit 1 - when this bit is 1, dscr can be processed after receiving a task"] #[inline(always)] - #[must_use] pub fn out_etm_loop_en(&mut self) -> OUT_ETM_LOOP_EN_W { OUT_ETM_LOOP_EN_W::new(self, 1) } #[doc = "Bits 2:3 - ETM dscr_ready maximum cache numbers"] #[inline(always)] - #[must_use] pub fn out_dscr_task_mak(&mut self) -> OUT_DSCR_TASK_MAK_W { OUT_DSCR_TASK_MAK_W::new(self, 2) } diff --git a/esp32p4/src/h264_dma/out_ch/int_clr.rs b/esp32p4/src/h264_dma/out_ch/int_clr.rs index addcb7e6fc..365827e908 100644 --- a/esp32p4/src/h264_dma/out_ch/int_clr.rs +++ b/esp32p4/src/h264_dma/out_ch/int_clr.rs @@ -27,55 +27,46 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the OUT_DONE_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_done(&mut self) -> OUT_DONE_W { OUT_DONE_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the OUT_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the OUT_DSCR_ERR_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_dscr_err(&mut self) -> OUT_DSCR_ERR_W { OUT_DSCR_ERR_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the OUT_TOTAL_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_total_eof(&mut self) -> OUT_TOTAL_EOF_W { OUT_TOTAL_EOF_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear the OUTFIFO_OVF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_ovf_l1(&mut self) -> OUTFIFO_OVF_L1_W { OUTFIFO_OVF_L1_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the OUTFIFO_UDF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_udf_l1(&mut self) -> OUTFIFO_UDF_L1_W { OUTFIFO_UDF_L1_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the OUTFIFO_OVF_L2_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_ovf_l2(&mut self) -> OUTFIFO_OVF_L2_W { OUTFIFO_OVF_L2_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the OUTFIFO_UDF_L2_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_udf_l2(&mut self) -> OUTFIFO_UDF_L2_W { OUTFIFO_UDF_L2_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the OUT_DSCR_TASK_OVF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_dscr_task_ovf(&mut self) -> OUT_DSCR_TASK_OVF_W { OUT_DSCR_TASK_OVF_W::new(self, 8) } diff --git a/esp32p4/src/h264_dma/out_ch/int_ena.rs b/esp32p4/src/h264_dma/out_ch/int_ena.rs index 48bf23be57..50ec58c6cc 100644 --- a/esp32p4/src/h264_dma/out_ch/int_ena.rs +++ b/esp32p4/src/h264_dma/out_ch/int_ena.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for the OUT_DONE_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_done(&mut self) -> OUT_DONE_W { OUT_DONE_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the OUT_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the OUT_DSCR_ERR_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_dscr_err(&mut self) -> OUT_DSCR_ERR_W { OUT_DSCR_ERR_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the OUT_TOTAL_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_total_eof(&mut self) -> OUT_TOTAL_EOF_W { OUT_TOTAL_EOF_W::new(self, 3) } #[doc = "Bit 4 - The interrupt enable bit for the OUTFIFO_OVF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_ovf_l1(&mut self) -> OUTFIFO_OVF_L1_W { OUTFIFO_OVF_L1_W::new(self, 4) } #[doc = "Bit 5 - The interrupt enable bit for the OUTFIFO_UDF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_udf_l1(&mut self) -> OUTFIFO_UDF_L1_W { OUTFIFO_UDF_L1_W::new(self, 5) } #[doc = "Bit 6 - The interrupt enable bit for the OUTFIFO_OVF_L2_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_ovf_l2(&mut self) -> OUTFIFO_OVF_L2_W { OUTFIFO_OVF_L2_W::new(self, 6) } #[doc = "Bit 7 - The interrupt enable bit for the OUTFIFO_UDF_L2_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_udf_l2(&mut self) -> OUTFIFO_UDF_L2_W { OUTFIFO_UDF_L2_W::new(self, 7) } #[doc = "Bit 8 - The interrupt enable bit for the OUT_DSCR_TASK_OVF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_dscr_task_ovf(&mut self) -> OUT_DSCR_TASK_OVF_W { OUT_DSCR_TASK_OVF_W::new(self, 8) } diff --git a/esp32p4/src/h264_dma/out_ch/int_raw.rs b/esp32p4/src/h264_dma/out_ch/int_raw.rs index 2a9e326d20..f9de5efbd6 100644 --- a/esp32p4/src/h264_dma/out_ch/int_raw.rs +++ b/esp32p4/src/h264_dma/out_ch/int_raw.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw interrupt bit turns to high level when the last data pointed by one outlink descriptor has been transmitted to peripherals for Tx channel 0."] #[inline(always)] - #[must_use] pub fn out_done(&mut self) -> OUT_DONE_W { OUT_DONE_W::new(self, 0) } #[doc = "Bit 1 - The raw interrupt bit turns to high level when the last data pointed by one outlink descriptor has been read from memory for Tx channel 0."] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 1) } #[doc = "Bit 2 - The raw interrupt bit turns to high level when detecting outlink descriptor error, including owner error, the second and third word error of outlink descriptor for Tx channel 0."] #[inline(always)] - #[must_use] pub fn out_dscr_err(&mut self) -> OUT_DSCR_ERR_W { OUT_DSCR_ERR_W::new(self, 2) } #[doc = "Bit 3 - The raw interrupt bit turns to high level when data corresponding a outlink (includes one link descriptor or few link descriptors) is transmitted out for Tx channel 0."] #[inline(always)] - #[must_use] pub fn out_total_eof(&mut self) -> OUT_TOTAL_EOF_W { OUT_TOTAL_EOF_W::new(self, 3) } #[doc = "Bit 4 - The raw interrupt bit turns to high level when fifo is overflow."] #[inline(always)] - #[must_use] pub fn outfifo_ovf_l1(&mut self) -> OUTFIFO_OVF_L1_W { OUTFIFO_OVF_L1_W::new(self, 4) } #[doc = "Bit 5 - The raw interrupt bit turns to high level when fifo is underflow."] #[inline(always)] - #[must_use] pub fn outfifo_udf_l1(&mut self) -> OUTFIFO_UDF_L1_W { OUTFIFO_UDF_L1_W::new(self, 5) } #[doc = "Bit 6 - The raw interrupt bit turns to high level when fifo is overflow."] #[inline(always)] - #[must_use] pub fn outfifo_ovf_l2(&mut self) -> OUTFIFO_OVF_L2_W { OUTFIFO_OVF_L2_W::new(self, 6) } #[doc = "Bit 7 - The raw interrupt bit turns to high level when fifo is underflow."] #[inline(always)] - #[must_use] pub fn outfifo_udf_l2(&mut self) -> OUTFIFO_UDF_L2_W { OUTFIFO_UDF_L2_W::new(self, 7) } #[doc = "Bit 8 - The raw interrupt bit turns to high level when dscr ready task fifo is overflow."] #[inline(always)] - #[must_use] pub fn out_dscr_task_ovf(&mut self) -> OUT_DSCR_TASK_OVF_W { OUT_DSCR_TASK_OVF_W::new(self, 8) } diff --git a/esp32p4/src/h264_dma/out_ch/link_addr.rs b/esp32p4/src/h264_dma/out_ch/link_addr.rs index 2be1e72238..e2de254b17 100644 --- a/esp32p4/src/h264_dma/out_ch/link_addr.rs +++ b/esp32p4/src/h264_dma/out_ch/link_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This register stores the first outlink descriptor's address."] #[inline(always)] - #[must_use] pub fn outlink_addr(&mut self) -> OUTLINK_ADDR_W { OUTLINK_ADDR_W::new(self, 0) } diff --git a/esp32p4/src/h264_dma/out_ch/link_conf.rs b/esp32p4/src/h264_dma/out_ch/link_conf.rs index 4add8682a5..ef25c435cd 100644 --- a/esp32p4/src/h264_dma/out_ch/link_conf.rs +++ b/esp32p4/src/h264_dma/out_ch/link_conf.rs @@ -52,19 +52,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 20 - Set this bit to stop dealing with the outlink descriptors."] #[inline(always)] - #[must_use] pub fn outlink_stop(&mut self) -> OUTLINK_STOP_W { OUTLINK_STOP_W::new(self, 20) } #[doc = "Bit 21 - Set this bit to start dealing with the outlink descriptors."] #[inline(always)] - #[must_use] pub fn outlink_start(&mut self) -> OUTLINK_START_W { OUTLINK_START_W::new(self, 21) } #[doc = "Bit 22 - Set this bit to restart a new outlink from the last address."] #[inline(always)] - #[must_use] pub fn outlink_restart(&mut self) -> OUTLINK_RESTART_W { OUTLINK_RESTART_W::new(self, 22) } diff --git a/esp32p4/src/h264_dma/out_ch/mode_enable.rs b/esp32p4/src/h264_dma/out_ch/mode_enable.rs index 7ebb2788c9..14232c64f4 100644 --- a/esp32p4/src/h264_dma/out_ch/mode_enable.rs +++ b/esp32p4/src/h264_dma/out_ch/mode_enable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - tx CH0 test mode enable.0 : H264_DMA work in normal mode.1 : H264_DMA work in test mode"] #[inline(always)] - #[must_use] pub fn out_test_mode_enable(&mut self) -> OUT_TEST_MODE_ENABLE_W { OUT_TEST_MODE_ENABLE_W::new(self, 0) } diff --git a/esp32p4/src/h264_dma/out_ch/mode_yuv.rs b/esp32p4/src/h264_dma/out_ch/mode_yuv.rs index 735e256e12..4d3353bdf1 100644 --- a/esp32p4/src/h264_dma/out_ch/mode_yuv.rs +++ b/esp32p4/src/h264_dma/out_ch/mode_yuv.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - tx CH0 test mode y value"] #[inline(always)] - #[must_use] pub fn out_test_y_value(&mut self) -> OUT_TEST_Y_VALUE_W { OUT_TEST_Y_VALUE_W::new(self, 0) } #[doc = "Bits 8:15 - tx CH0 test mode u value"] #[inline(always)] - #[must_use] pub fn out_test_u_value(&mut self) -> OUT_TEST_U_VALUE_W { OUT_TEST_U_VALUE_W::new(self, 8) } #[doc = "Bits 16:23 - tx CH0 test mode v value"] #[inline(always)] - #[must_use] pub fn out_test_v_value(&mut self) -> OUT_TEST_V_VALUE_W { OUT_TEST_V_VALUE_W::new(self, 16) } diff --git a/esp32p4/src/h264_dma/out_ch/push.rs b/esp32p4/src/h264_dma/out_ch/push.rs index 544b87d524..ad853bb9cc 100644 --- a/esp32p4/src/h264_dma/out_ch/push.rs +++ b/esp32p4/src/h264_dma/out_ch/push.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - This register stores the data that need to be pushed into DMA Tx FIFO."] #[inline(always)] - #[must_use] pub fn outfifo_wdata_ch0(&mut self) -> OUTFIFO_WDATA_CH0_W { OUTFIFO_WDATA_CH0_W::new(self, 0) } #[doc = "Bit 10 - Set this bit to push data into DMA Tx FIFO."] #[inline(always)] - #[must_use] pub fn outfifo_push_ch0(&mut self) -> OUTFIFO_PUSH_CH0_W { OUTFIFO_PUSH_CH0_W::new(self, 10) } diff --git a/esp32p4/src/h264_dma/out_ch/ro_pd_conf.rs b/esp32p4/src/h264_dma/out_ch/ro_pd_conf.rs index b501870f3d..b7fdc50092 100644 --- a/esp32p4/src/h264_dma/out_ch/ro_pd_conf.rs +++ b/esp32p4/src/h264_dma/out_ch/ro_pd_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 4 - dma reorder ram power down"] #[inline(always)] - #[must_use] pub fn out_ro_ram_force_pd(&mut self) -> OUT_RO_RAM_FORCE_PD_W { OUT_RO_RAM_FORCE_PD_W::new(self, 4) } #[doc = "Bit 5 - dma reorder ram power up"] #[inline(always)] - #[must_use] pub fn out_ro_ram_force_pu(&mut self) -> OUT_RO_RAM_FORCE_PU_W { OUT_RO_RAM_FORCE_PU_W::new(self, 5) } #[doc = "Bit 6 - 1: Force to open the clock and bypass the gate-clock when accessing the RAM in DMA. 0: A gate-clock will be used when accessing the RAM in DMA."] #[inline(always)] - #[must_use] pub fn out_ro_ram_clk_fo(&mut self) -> OUT_RO_RAM_CLK_FO_W { OUT_RO_RAM_CLK_FO_W::new(self, 6) } diff --git a/esp32p4/src/h264_dma/rst_conf.rs b/esp32p4/src/h264_dma/rst_conf.rs index 62eb1baf90..41dcc43db1 100644 --- a/esp32p4/src/h264_dma/rst_conf.rs +++ b/esp32p4/src/h264_dma/rst_conf.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Write 1 then write 0 to this bit to reset axi master read data FIFO."] #[inline(always)] - #[must_use] pub fn inter_axim_rd_rst(&mut self) -> INTER_AXIM_RD_RST_W { INTER_AXIM_RD_RST_W::new(self, 0) } #[doc = "Bit 1 - Write 1 then write 0 to this bit to reset axi master write data FIFO."] #[inline(always)] - #[must_use] pub fn inter_axim_wr_rst(&mut self) -> INTER_AXIM_WR_RST_W { INTER_AXIM_WR_RST_W::new(self, 1) } #[doc = "Bit 2 - Write 1 then write 0 to this bit to reset axi master read data FIFO."] #[inline(always)] - #[must_use] pub fn exter_axim_rd_rst(&mut self) -> EXTER_AXIM_RD_RST_W { EXTER_AXIM_RD_RST_W::new(self, 2) } #[doc = "Bit 3 - Write 1 then write 0 to this bit to reset axi master write data FIFO."] #[inline(always)] - #[must_use] pub fn exter_axim_wr_rst(&mut self) -> EXTER_AXIM_WR_RST_W { EXTER_AXIM_WR_RST_W::new(self, 3) } #[doc = "Bit 4 - 1'h1: Force clock on for register. 1'h0: Support clock only when application writes registers."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 4) } diff --git a/esp32p4/src/hmac/date.rs b/esp32p4/src/hmac/date.rs index 60e814568a..a0e38f9328 100644 --- a/esp32p4/src/hmac/date.rs +++ b/esp32p4/src/hmac/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Hmac date information/ hmac version information."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32p4/src/hmac/one_block.rs b/esp32p4/src/hmac/one_block.rs index b43566689f..b4035ad8b6 100644 --- a/esp32p4/src/hmac/one_block.rs +++ b/esp32p4/src/hmac/one_block.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Don't have to do padding."] #[inline(always)] - #[must_use] pub fn set_one_block(&mut self) -> SET_ONE_BLOCK_W { SET_ONE_BLOCK_W::new(self, 0) } diff --git a/esp32p4/src/hmac/set_invalidate_ds.rs b/esp32p4/src/hmac/set_invalidate_ds.rs index 111bcc4282..407f746e9e 100644 --- a/esp32p4/src/hmac/set_invalidate_ds.rs +++ b/esp32p4/src/hmac/set_invalidate_ds.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Clear result from hmac downstream DS."] #[inline(always)] - #[must_use] pub fn set_invalidate_ds(&mut self) -> SET_INVALIDATE_DS_W { SET_INVALIDATE_DS_W::new(self, 0) } diff --git a/esp32p4/src/hmac/set_invalidate_jtag.rs b/esp32p4/src/hmac/set_invalidate_jtag.rs index d3506d5640..82a7427c4a 100644 --- a/esp32p4/src/hmac/set_invalidate_jtag.rs +++ b/esp32p4/src/hmac/set_invalidate_jtag.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Clear result from hmac downstream JTAG."] #[inline(always)] - #[must_use] pub fn set_invalidate_jtag(&mut self) -> SET_INVALIDATE_JTAG_W { SET_INVALIDATE_JTAG_W::new(self, 0) } diff --git a/esp32p4/src/hmac/set_message_end.rs b/esp32p4/src/hmac/set_message_end.rs index 3ae43ef9c8..7006fb27f4 100644 --- a/esp32p4/src/hmac/set_message_end.rs +++ b/esp32p4/src/hmac/set_message_end.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Start hardware padding."] #[inline(always)] - #[must_use] pub fn set_text_end(&mut self) -> SET_TEXT_END_W { SET_TEXT_END_W::new(self, 0) } diff --git a/esp32p4/src/hmac/set_message_ing.rs b/esp32p4/src/hmac/set_message_ing.rs index c325d92c32..663dbe540f 100644 --- a/esp32p4/src/hmac/set_message_ing.rs +++ b/esp32p4/src/hmac/set_message_ing.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Continue typical hmac."] #[inline(always)] - #[must_use] pub fn set_text_ing(&mut self) -> SET_TEXT_ING_W { SET_TEXT_ING_W::new(self, 0) } diff --git a/esp32p4/src/hmac/set_message_one.rs b/esp32p4/src/hmac/set_message_one.rs index 8ef37f11db..d32eb2efd1 100644 --- a/esp32p4/src/hmac/set_message_one.rs +++ b/esp32p4/src/hmac/set_message_one.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Call SHA to calculate one message block."] #[inline(always)] - #[must_use] pub fn set_text_one(&mut self) -> SET_TEXT_ONE_W { SET_TEXT_ONE_W::new(self, 0) } diff --git a/esp32p4/src/hmac/set_message_pad.rs b/esp32p4/src/hmac/set_message_pad.rs index 8739d11add..8877ee730d 100644 --- a/esp32p4/src/hmac/set_message_pad.rs +++ b/esp32p4/src/hmac/set_message_pad.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Start software padding."] #[inline(always)] - #[must_use] pub fn set_text_pad(&mut self) -> SET_TEXT_PAD_W { SET_TEXT_PAD_W::new(self, 0) } diff --git a/esp32p4/src/hmac/set_para_finish.rs b/esp32p4/src/hmac/set_para_finish.rs index 66cbaa057f..15257695f6 100644 --- a/esp32p4/src/hmac/set_para_finish.rs +++ b/esp32p4/src/hmac/set_para_finish.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Finish hmac configuration."] #[inline(always)] - #[must_use] pub fn set_para_end(&mut self) -> SET_PARA_END_W { SET_PARA_END_W::new(self, 0) } diff --git a/esp32p4/src/hmac/set_para_key.rs b/esp32p4/src/hmac/set_para_key.rs index 0bbde55d9d..fe4e62547a 100644 --- a/esp32p4/src/hmac/set_para_key.rs +++ b/esp32p4/src/hmac/set_para_key.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:2 - Set hmac parameter key."] #[inline(always)] - #[must_use] pub fn key_set(&mut self) -> KEY_SET_W { KEY_SET_W::new(self, 0) } diff --git a/esp32p4/src/hmac/set_para_purpose.rs b/esp32p4/src/hmac/set_para_purpose.rs index eafe6bc3e7..fc78aa1598 100644 --- a/esp32p4/src/hmac/set_para_purpose.rs +++ b/esp32p4/src/hmac/set_para_purpose.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:3 - Set hmac parameter purpose."] #[inline(always)] - #[must_use] pub fn purpose_set(&mut self) -> PURPOSE_SET_W { PURPOSE_SET_W::new(self, 0) } diff --git a/esp32p4/src/hmac/set_result_finish.rs b/esp32p4/src/hmac/set_result_finish.rs index ed02cedec4..430f5290fb 100644 --- a/esp32p4/src/hmac/set_result_finish.rs +++ b/esp32p4/src/hmac/set_result_finish.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - After read result from upstream, then let hmac back to idle."] #[inline(always)] - #[must_use] pub fn set_result_end(&mut self) -> SET_RESULT_END_W { SET_RESULT_END_W::new(self, 0) } diff --git a/esp32p4/src/hmac/set_start.rs b/esp32p4/src/hmac/set_start.rs index 293497a4fd..e8e873ce29 100644 --- a/esp32p4/src/hmac/set_start.rs +++ b/esp32p4/src/hmac/set_start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Start hmac operation."] #[inline(always)] - #[must_use] pub fn set_start(&mut self) -> SET_START_W { SET_START_W::new(self, 0) } diff --git a/esp32p4/src/hmac/soft_jtag_ctrl.rs b/esp32p4/src/hmac/soft_jtag_ctrl.rs index 9c7ec8ae3d..368f294e81 100644 --- a/esp32p4/src/hmac/soft_jtag_ctrl.rs +++ b/esp32p4/src/hmac/soft_jtag_ctrl.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Turn on JTAG verification."] #[inline(always)] - #[must_use] pub fn soft_jtag_ctrl(&mut self) -> SOFT_JTAG_CTRL_W { SOFT_JTAG_CTRL_W::new(self, 0) } diff --git a/esp32p4/src/hmac/wr_jtag.rs b/esp32p4/src/hmac/wr_jtag.rs index 98c5adab47..e1bfccc0b9 100644 --- a/esp32p4/src/hmac/wr_jtag.rs +++ b/esp32p4/src/hmac/wr_jtag.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - 32-bit of key to be compared."] #[inline(always)] - #[must_use] pub fn wr_jtag(&mut self) -> WR_JTAG_W { WR_JTAG_W::new(self, 0) } diff --git a/esp32p4/src/hp_sys/ahb2axi_bresp_err_int_clr.rs b/esp32p4/src/hp_sys/ahb2axi_bresp_err_int_clr.rs index 78457b3a58..52afb5d5cf 100644 --- a/esp32p4/src/hp_sys/ahb2axi_bresp_err_int_clr.rs +++ b/esp32p4/src/hp_sys/ahb2axi_bresp_err_int_clr.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - Write 1 to clear cpu_icm_h2x_bresp_err int"] #[inline(always)] - #[must_use] pub fn cpu_icm_h2x_bresp_err_int_clr( &mut self, ) -> CPU_ICM_H2X_BRESP_ERR_INT_CLR_W { diff --git a/esp32p4/src/hp_sys/ahb2axi_bresp_err_int_ena.rs b/esp32p4/src/hp_sys/ahb2axi_bresp_err_int_ena.rs index 4565207d82..bd2c9da543 100644 --- a/esp32p4/src/hp_sys/ahb2axi_bresp_err_int_ena.rs +++ b/esp32p4/src/hp_sys/ahb2axi_bresp_err_int_ena.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - Write 1 to enable cpu_icm_h2x_bresp_err int"] #[inline(always)] - #[must_use] pub fn cpu_icm_h2x_bresp_err_int_ena( &mut self, ) -> CPU_ICM_H2X_BRESP_ERR_INT_ENA_W { diff --git a/esp32p4/src/hp_sys/ahb2axi_bresp_err_int_raw.rs b/esp32p4/src/hp_sys/ahb2axi_bresp_err_int_raw.rs index 021516c4f9..3b77d76658 100644 --- a/esp32p4/src/hp_sys/ahb2axi_bresp_err_int_raw.rs +++ b/esp32p4/src/hp_sys/ahb2axi_bresp_err_int_raw.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - the raw interrupt status of bresp error, triggered when if bresp err occurs in post write mode in ahb2axi."] #[inline(always)] - #[must_use] pub fn cpu_icm_h2x_bresp_err_int_raw( &mut self, ) -> CPU_ICM_H2X_BRESP_ERR_INT_RAW_W { diff --git a/esp32p4/src/hp_sys/apb_sync_postw_en.rs b/esp32p4/src/hp_sys/apb_sync_postw_en.rs index ce3dd8d3b4..1b0ebf20fd 100644 --- a/esp32p4/src/hp_sys/apb_sync_postw_en.rs +++ b/esp32p4/src/hp_sys/apb_sync_postw_en.rs @@ -60,19 +60,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - N/A"] #[inline(always)] - #[must_use] pub fn gmac_apb_postw_en(&mut self) -> GMAC_APB_POSTW_EN_W { GMAC_APB_POSTW_EN_W::new(self, 0) } #[doc = "Bit 1 - N/A"] #[inline(always)] - #[must_use] pub fn dsi_host_apb_postw_en(&mut self) -> DSI_HOST_APB_POSTW_EN_W { DSI_HOST_APB_POSTW_EN_W::new(self, 1) } #[doc = "Bit 2 - N/A"] #[inline(always)] - #[must_use] pub fn csi_host_apb_sync_postw_en( &mut self, ) -> CSI_HOST_APB_SYNC_POSTW_EN_W { @@ -80,7 +77,6 @@ impl W { } #[doc = "Bit 3 - N/A"] #[inline(always)] - #[must_use] pub fn csi_host_apb_async_postw_en( &mut self, ) -> CSI_HOST_APB_ASYNC_POSTW_EN_W { diff --git a/esp32p4/src/hp_sys/bitscrambler_peri_sel.rs b/esp32p4/src/hp_sys/bitscrambler_peri_sel.rs index e81f5a5ccf..0f3c01de57 100644 --- a/esp32p4/src/hp_sys/bitscrambler_peri_sel.rs +++ b/esp32p4/src/hp_sys/bitscrambler_peri_sel.rs @@ -34,7 +34,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Set this field to sel peri with DMA RX interface to connec with bitscrambler: 4'h0 : lcd_cam, 4'h1: gpspi2, 4'h2: gpspi3, 4'h3: parl_io, 4'h4: aes, 4'h5: sha, 4'h6: adc, 4'h7: i2s0, 4'h8: i2s1, 4'h9: i2s2, 4'ha: i3c_mst, 4'hb: uhci0, 4'hc: RMT, else : none"] #[inline(always)] - #[must_use] pub fn bitscrambler_peri_rx_sel( &mut self, ) -> BITSCRAMBLER_PERI_RX_SEL_W { @@ -42,7 +41,6 @@ impl W { } #[doc = "Bits 4:7 - Set this field to sel peri with DMA TX interface to connec with bitscrambler: 4'h0 : lcd_cam, 4'h1: gpspi2, 4'h2: gpspi3, 4'h3: parl_io, 4'h4: aes, 4'h5: sha, 4'h6: adc, 4'h7: i2s0, 4'h8: i2s1, 4'h9: i2s2, 4'ha: i3c_mst, 4'hb: uhci0, 4'hc: RMT, else : none"] #[inline(always)] - #[must_use] pub fn bitscrambler_peri_tx_sel( &mut self, ) -> BITSCRAMBLER_PERI_TX_SEL_W { diff --git a/esp32p4/src/hp_sys/cache_apb_postw_en.rs b/esp32p4/src/hp_sys/cache_apb_postw_en.rs index 07c6faaaf2..e6b916a5b7 100644 --- a/esp32p4/src/hp_sys/cache_apb_postw_en.rs +++ b/esp32p4/src/hp_sys/cache_apb_postw_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - cache apb register interface post write enable, 1 will speed up write, but will take some time to update value to register"] #[inline(always)] - #[must_use] pub fn reg_cache_apb_postw_en(&mut self) -> REG_CACHE_APB_POSTW_EN_W { REG_CACHE_APB_POSTW_EN_W::new(self, 0) } diff --git a/esp32p4/src/hp_sys/cache_clk_config.rs b/esp32p4/src/hp_sys/cache_clk_config.rs index 5ac722bd9c..e48bc92244 100644 --- a/esp32p4/src/hp_sys/cache_clk_config.rs +++ b/esp32p4/src/hp_sys/cache_clk_config.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - l2 cahce clk enable"] #[inline(always)] - #[must_use] pub fn reg_l2_cache_clk_on(&mut self) -> REG_L2_CACHE_CLK_ON_W { REG_L2_CACHE_CLK_ON_W::new(self, 0) } #[doc = "Bit 1 - l1 dcahce clk enable"] #[inline(always)] - #[must_use] pub fn reg_l1_d_cache_clk_on(&mut self) -> REG_L1_D_CACHE_CLK_ON_W { REG_L1_D_CACHE_CLK_ON_W::new(self, 1) } #[doc = "Bit 4 - l1 icahce1 clk enable"] #[inline(always)] - #[must_use] pub fn reg_l1_i1_cache_clk_on(&mut self) -> REG_L1_I1_CACHE_CLK_ON_W { REG_L1_I1_CACHE_CLK_ON_W::new(self, 4) } #[doc = "Bit 5 - l1 icahce0 clk enable"] #[inline(always)] - #[must_use] pub fn reg_l1_i0_cache_clk_on(&mut self) -> REG_L1_I0_CACHE_CLK_ON_W { REG_L1_I0_CACHE_CLK_ON_W::new(self, 5) } diff --git a/esp32p4/src/hp_sys/cache_reset_config.rs b/esp32p4/src/hp_sys/cache_reset_config.rs index 7faaf76a84..aa179188a8 100644 --- a/esp32p4/src/hp_sys/cache_reset_config.rs +++ b/esp32p4/src/hp_sys/cache_reset_config.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - set 1 to reset l1 dcahce"] #[inline(always)] - #[must_use] pub fn reg_l1_d_cache_reset(&mut self) -> REG_L1_D_CACHE_RESET_W { REG_L1_D_CACHE_RESET_W::new(self, 1) } #[doc = "Bit 4 - set 1 to reset l1 icahce1"] #[inline(always)] - #[must_use] pub fn reg_l1_i1_cache_reset(&mut self) -> REG_L1_I1_CACHE_RESET_W { REG_L1_I1_CACHE_RESET_W::new(self, 4) } #[doc = "Bit 5 - set 1 to reset l1 icahce0"] #[inline(always)] - #[must_use] pub fn reg_l1_i0_cache_reset(&mut self) -> REG_L1_I0_CACHE_RESET_W { REG_L1_I0_CACHE_RESET_W::new(self, 5) } diff --git a/esp32p4/src/hp_sys/clk_en.rs b/esp32p4/src/hp_sys/clk_en.rs index 13abcdfe7d..41aa93a0a3 100644 --- a/esp32p4/src/hp_sys/clk_en.rs +++ b/esp32p4/src/hp_sys/clk_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn reg_clk_en(&mut self) -> REG_CLK_EN_W { REG_CLK_EN_W::new(self, 0) } diff --git a/esp32p4/src/hp_sys/core_ahb_timeout.rs b/esp32p4/src/hp_sys/core_ahb_timeout.rs index 1be9d0c754..76082b549f 100644 --- a/esp32p4/src/hp_sys/core_ahb_timeout.rs +++ b/esp32p4/src/hp_sys/core_ahb_timeout.rs @@ -2,21 +2,21 @@ pub type R = crate::R; #[doc = "Register `CORE_AHB_TIMEOUT` writer"] pub type W = crate::W; -#[doc = "Field `EN` reader - set this field to 1 to enable hp core0&1 ahb timeout handle"] +#[doc = "Field `EN` reader - set this field to 1 to enable hp core0&1 ahb timeout handle"] pub type EN_R = crate::BitReader; -#[doc = "Field `EN` writer - set this field to 1 to enable hp core0&1 ahb timeout handle"] +#[doc = "Field `EN` writer - set this field to 1 to enable hp core0&1 ahb timeout handle"] pub type EN_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `THRES` reader - This field used to set hp core0&1 ahb bus timeout threshold"] +#[doc = "Field `THRES` reader - This field used to set hp core0&1 ahb bus timeout threshold"] pub type THRES_R = crate::FieldReader; -#[doc = "Field `THRES` writer - This field used to set hp core0&1 ahb bus timeout threshold"] +#[doc = "Field `THRES` writer - This field used to set hp core0&1 ahb bus timeout threshold"] pub type THRES_W<'a, REG> = crate::FieldWriter<'a, REG, 16, u16>; impl R { - #[doc = "Bit 0 - set this field to 1 to enable hp core0&1 ahb timeout handle"] + #[doc = "Bit 0 - set this field to 1 to enable hp core0&1 ahb timeout handle"] #[inline(always)] pub fn en(&self) -> EN_R { EN_R::new((self.bits & 1) != 0) } - #[doc = "Bits 1:16 - This field used to set hp core0&1 ahb bus timeout threshold"] + #[doc = "Bits 1:16 - This field used to set hp core0&1 ahb bus timeout threshold"] #[inline(always)] pub fn thres(&self) -> THRES_R { THRES_R::new(((self.bits >> 1) & 0xffff) as u16) @@ -32,15 +32,13 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bit 0 - set this field to 1 to enable hp core0&1 ahb timeout handle"] + #[doc = "Bit 0 - set this field to 1 to enable hp core0&1 ahb timeout handle"] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 0) } - #[doc = "Bits 1:16 - This field used to set hp core0&1 ahb bus timeout threshold"] + #[doc = "Bits 1:16 - This field used to set hp core0&1 ahb bus timeout threshold"] #[inline(always)] - #[must_use] pub fn thres(&mut self) -> THRES_W { THRES_W::new(self, 1) } diff --git a/esp32p4/src/hp_sys/core_dbus_timeout.rs b/esp32p4/src/hp_sys/core_dbus_timeout.rs index 7369ee4f52..d9bfd48db6 100644 --- a/esp32p4/src/hp_sys/core_dbus_timeout.rs +++ b/esp32p4/src/hp_sys/core_dbus_timeout.rs @@ -2,21 +2,21 @@ pub type R = crate::R; #[doc = "Register `CORE_DBUS_TIMEOUT` writer"] pub type W = crate::W; -#[doc = "Field `EN` reader - set this field to 1 to enable hp core0&1 dbus timeout handle"] +#[doc = "Field `EN` reader - set this field to 1 to enable hp core0&1 dbus timeout handle"] pub type EN_R = crate::BitReader; -#[doc = "Field `EN` writer - set this field to 1 to enable hp core0&1 dbus timeout handle"] +#[doc = "Field `EN` writer - set this field to 1 to enable hp core0&1 dbus timeout handle"] pub type EN_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `THRES` reader - This field used to set hp core0&1 dbus timeout threshold"] +#[doc = "Field `THRES` reader - This field used to set hp core0&1 dbus timeout threshold"] pub type THRES_R = crate::FieldReader; -#[doc = "Field `THRES` writer - This field used to set hp core0&1 dbus timeout threshold"] +#[doc = "Field `THRES` writer - This field used to set hp core0&1 dbus timeout threshold"] pub type THRES_W<'a, REG> = crate::FieldWriter<'a, REG, 16, u16>; impl R { - #[doc = "Bit 0 - set this field to 1 to enable hp core0&1 dbus timeout handle"] + #[doc = "Bit 0 - set this field to 1 to enable hp core0&1 dbus timeout handle"] #[inline(always)] pub fn en(&self) -> EN_R { EN_R::new((self.bits & 1) != 0) } - #[doc = "Bits 1:16 - This field used to set hp core0&1 dbus timeout threshold"] + #[doc = "Bits 1:16 - This field used to set hp core0&1 dbus timeout threshold"] #[inline(always)] pub fn thres(&self) -> THRES_R { THRES_R::new(((self.bits >> 1) & 0xffff) as u16) @@ -32,15 +32,13 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bit 0 - set this field to 1 to enable hp core0&1 dbus timeout handle"] + #[doc = "Bit 0 - set this field to 1 to enable hp core0&1 dbus timeout handle"] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 0) } - #[doc = "Bits 1:16 - This field used to set hp core0&1 dbus timeout threshold"] + #[doc = "Bits 1:16 - This field used to set hp core0&1 dbus timeout threshold"] #[inline(always)] - #[must_use] pub fn thres(&mut self) -> THRES_W { THRES_W::new(self, 1) } diff --git a/esp32p4/src/hp_sys/core_debug_runstall_conf.rs b/esp32p4/src/hp_sys/core_debug_runstall_conf.rs index c257b8b76a..eca8a915a5 100644 --- a/esp32p4/src/hp_sys/core_debug_runstall_conf.rs +++ b/esp32p4/src/hp_sys/core_debug_runstall_conf.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this field to 1 to enable debug runstall feature between HP-core and LP-core."] #[inline(always)] - #[must_use] pub fn core_debug_runstall_enable( &mut self, ) -> CORE_DEBUG_RUNSTALL_ENABLE_W { diff --git a/esp32p4/src/hp_sys/core_err_resp_dis.rs b/esp32p4/src/hp_sys/core_err_resp_dis.rs index 12e845b575..2fc4165237 100644 --- a/esp32p4/src/hp_sys/core_err_resp_dis.rs +++ b/esp32p4/src/hp_sys/core_err_resp_dis.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - Set bit0 to disable ibus err resp. Set bit1 to disable dbus err resp. Set bit 2 to disable ahb err resp."] #[inline(always)] - #[must_use] pub fn core_err_resp_dis(&mut self) -> CORE_ERR_RESP_DIS_W { CORE_ERR_RESP_DIS_W::new(self, 0) } diff --git a/esp32p4/src/hp_sys/core_ibus_timeout.rs b/esp32p4/src/hp_sys/core_ibus_timeout.rs index 8397f3bcee..a28290869b 100644 --- a/esp32p4/src/hp_sys/core_ibus_timeout.rs +++ b/esp32p4/src/hp_sys/core_ibus_timeout.rs @@ -2,21 +2,21 @@ pub type R = crate::R; #[doc = "Register `CORE_IBUS_TIMEOUT` writer"] pub type W = crate::W; -#[doc = "Field `EN` reader - set this field to 1 to enable hp core0&1 ibus timeout handle"] +#[doc = "Field `EN` reader - set this field to 1 to enable hp core0&1 ibus timeout handle"] pub type EN_R = crate::BitReader; -#[doc = "Field `EN` writer - set this field to 1 to enable hp core0&1 ibus timeout handle"] +#[doc = "Field `EN` writer - set this field to 1 to enable hp core0&1 ibus timeout handle"] pub type EN_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `THRES` reader - This field used to set hp core0&1 ibus timeout threshold"] +#[doc = "Field `THRES` reader - This field used to set hp core0&1 ibus timeout threshold"] pub type THRES_R = crate::FieldReader; -#[doc = "Field `THRES` writer - This field used to set hp core0&1 ibus timeout threshold"] +#[doc = "Field `THRES` writer - This field used to set hp core0&1 ibus timeout threshold"] pub type THRES_W<'a, REG> = crate::FieldWriter<'a, REG, 16, u16>; impl R { - #[doc = "Bit 0 - set this field to 1 to enable hp core0&1 ibus timeout handle"] + #[doc = "Bit 0 - set this field to 1 to enable hp core0&1 ibus timeout handle"] #[inline(always)] pub fn en(&self) -> EN_R { EN_R::new((self.bits & 1) != 0) } - #[doc = "Bits 1:16 - This field used to set hp core0&1 ibus timeout threshold"] + #[doc = "Bits 1:16 - This field used to set hp core0&1 ibus timeout threshold"] #[inline(always)] pub fn thres(&self) -> THRES_R { THRES_R::new(((self.bits >> 1) & 0xffff) as u16) @@ -32,15 +32,13 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bit 0 - set this field to 1 to enable hp core0&1 ibus timeout handle"] + #[doc = "Bit 0 - set this field to 1 to enable hp core0&1 ibus timeout handle"] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 0) } - #[doc = "Bits 1:16 - This field used to set hp core0&1 ibus timeout threshold"] + #[doc = "Bits 1:16 - This field used to set hp core0&1 ibus timeout threshold"] #[inline(always)] - #[must_use] pub fn thres(&mut self) -> THRES_W { THRES_W::new(self, 1) } diff --git a/esp32p4/src/hp_sys/core_timeout_int_clr.rs b/esp32p4/src/hp_sys/core_timeout_int_clr.rs index ae7fa032a8..e00354f62d 100644 --- a/esp32p4/src/hp_sys/core_timeout_int_clr.rs +++ b/esp32p4/src/hp_sys/core_timeout_int_clr.rs @@ -21,7 +21,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to clear hp_core0_ahb_timeout int"] #[inline(always)] - #[must_use] pub fn core0_ahb_timeout_int_clr( &mut self, ) -> CORE0_AHB_TIMEOUT_INT_CLR_W { @@ -29,7 +28,6 @@ impl W { } #[doc = "Bit 1 - Write 1 to clear hp_core1_ahb_timeout int"] #[inline(always)] - #[must_use] pub fn core1_ahb_timeout_int_clr( &mut self, ) -> CORE1_AHB_TIMEOUT_INT_CLR_W { @@ -37,7 +35,6 @@ impl W { } #[doc = "Bit 2 - Write 1 to clear hp_core0_ibus_timeout int"] #[inline(always)] - #[must_use] pub fn core0_ibus_timeout_int_clr( &mut self, ) -> CORE0_IBUS_TIMEOUT_INT_CLR_W { @@ -45,7 +42,6 @@ impl W { } #[doc = "Bit 3 - Write 1 to clear hp_core1_ibus_timeout int"] #[inline(always)] - #[must_use] pub fn core1_ibus_timeout_int_clr( &mut self, ) -> CORE1_IBUS_TIMEOUT_INT_CLR_W { @@ -53,7 +49,6 @@ impl W { } #[doc = "Bit 4 - Write 1 to clear hp_core0_dbus_timeout int"] #[inline(always)] - #[must_use] pub fn core0_dbus_timeout_int_clr( &mut self, ) -> CORE0_DBUS_TIMEOUT_INT_CLR_W { @@ -61,7 +56,6 @@ impl W { } #[doc = "Bit 5 - Write 1 to clear hp_core1_dbus_timeout int"] #[inline(always)] - #[must_use] pub fn core1_dbus_timeout_int_clr( &mut self, ) -> CORE1_DBUS_TIMEOUT_INT_CLR_W { diff --git a/esp32p4/src/hp_sys/core_timeout_int_ena.rs b/esp32p4/src/hp_sys/core_timeout_int_ena.rs index 0d63c7ebe3..87dfa61067 100644 --- a/esp32p4/src/hp_sys/core_timeout_int_ena.rs +++ b/esp32p4/src/hp_sys/core_timeout_int_ena.rs @@ -92,7 +92,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Write 1 to enable hp_core0_ahb_timeout int"] #[inline(always)] - #[must_use] pub fn core0_ahb_timeout_int_ena( &mut self, ) -> CORE0_AHB_TIMEOUT_INT_ENA_W { @@ -100,7 +99,6 @@ impl W { } #[doc = "Bit 1 - Write 1 to enable hp_core1_ahb_timeout int"] #[inline(always)] - #[must_use] pub fn core1_ahb_timeout_int_ena( &mut self, ) -> CORE1_AHB_TIMEOUT_INT_ENA_W { @@ -108,7 +106,6 @@ impl W { } #[doc = "Bit 2 - Write 1 to enable hp_core0_ibus_timeout int"] #[inline(always)] - #[must_use] pub fn core0_ibus_timeout_int_ena( &mut self, ) -> CORE0_IBUS_TIMEOUT_INT_ENA_W { @@ -116,7 +113,6 @@ impl W { } #[doc = "Bit 3 - Write 1 to enable hp_core1_ibus_timeout int"] #[inline(always)] - #[must_use] pub fn core1_ibus_timeout_int_ena( &mut self, ) -> CORE1_IBUS_TIMEOUT_INT_ENA_W { @@ -124,7 +120,6 @@ impl W { } #[doc = "Bit 4 - Write 1 to enable hp_core0_dbus_timeout int"] #[inline(always)] - #[must_use] pub fn core0_dbus_timeout_int_ena( &mut self, ) -> CORE0_DBUS_TIMEOUT_INT_ENA_W { @@ -132,7 +127,6 @@ impl W { } #[doc = "Bit 5 - Write 1 to enable hp_core1_dbus_timeout int"] #[inline(always)] - #[must_use] pub fn core1_dbus_timeout_int_ena( &mut self, ) -> CORE1_DBUS_TIMEOUT_INT_ENA_W { diff --git a/esp32p4/src/hp_sys/core_timeout_int_raw.rs b/esp32p4/src/hp_sys/core_timeout_int_raw.rs index 0270d9ff6a..349d380c49 100644 --- a/esp32p4/src/hp_sys/core_timeout_int_raw.rs +++ b/esp32p4/src/hp_sys/core_timeout_int_raw.rs @@ -92,7 +92,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - the raw interrupt status of hp core0 ahb timeout"] #[inline(always)] - #[must_use] pub fn core0_ahb_timeout_int_raw( &mut self, ) -> CORE0_AHB_TIMEOUT_INT_RAW_W { @@ -100,7 +99,6 @@ impl W { } #[doc = "Bit 1 - the raw interrupt status of hp core1 ahb timeout"] #[inline(always)] - #[must_use] pub fn core1_ahb_timeout_int_raw( &mut self, ) -> CORE1_AHB_TIMEOUT_INT_RAW_W { @@ -108,7 +106,6 @@ impl W { } #[doc = "Bit 2 - the raw interrupt status of hp core0 ibus timeout"] #[inline(always)] - #[must_use] pub fn core0_ibus_timeout_int_raw( &mut self, ) -> CORE0_IBUS_TIMEOUT_INT_RAW_W { @@ -116,7 +113,6 @@ impl W { } #[doc = "Bit 3 - the raw interrupt status of hp core1 ibus timeout"] #[inline(always)] - #[must_use] pub fn core1_ibus_timeout_int_raw( &mut self, ) -> CORE1_IBUS_TIMEOUT_INT_RAW_W { @@ -124,7 +120,6 @@ impl W { } #[doc = "Bit 4 - the raw interrupt status of hp core0 dbus timeout"] #[inline(always)] - #[must_use] pub fn core0_dbus_timeout_int_raw( &mut self, ) -> CORE0_DBUS_TIMEOUT_INT_RAW_W { @@ -132,7 +127,6 @@ impl W { } #[doc = "Bit 5 - the raw interrupt status of hp core1 dbus timeout"] #[inline(always)] - #[must_use] pub fn core1_dbus_timeout_int_raw( &mut self, ) -> CORE1_DBUS_TIMEOUT_INT_RAW_W { diff --git a/esp32p4/src/hp_sys/cpu_intr_from_cpu_0.rs b/esp32p4/src/hp_sys/cpu_intr_from_cpu_0.rs index 353ee22453..a717f24898 100644 --- a/esp32p4/src/hp_sys/cpu_intr_from_cpu_0.rs +++ b/esp32p4/src/hp_sys/cpu_intr_from_cpu_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - set 1 will triger a interrupt"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_0(&mut self) -> CPU_INTR_FROM_CPU_0_W { CPU_INTR_FROM_CPU_0_W::new(self, 0) } diff --git a/esp32p4/src/hp_sys/cpu_intr_from_cpu_1.rs b/esp32p4/src/hp_sys/cpu_intr_from_cpu_1.rs index 812bb60a58..3738597940 100644 --- a/esp32p4/src/hp_sys/cpu_intr_from_cpu_1.rs +++ b/esp32p4/src/hp_sys/cpu_intr_from_cpu_1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - set 1 will triger a interrupt"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_1(&mut self) -> CPU_INTR_FROM_CPU_1_W { CPU_INTR_FROM_CPU_1_W::new(self, 0) } diff --git a/esp32p4/src/hp_sys/cpu_intr_from_cpu_2.rs b/esp32p4/src/hp_sys/cpu_intr_from_cpu_2.rs index c919463523..ff9d92d6e5 100644 --- a/esp32p4/src/hp_sys/cpu_intr_from_cpu_2.rs +++ b/esp32p4/src/hp_sys/cpu_intr_from_cpu_2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - set 1 will triger a interrupt"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_2(&mut self) -> CPU_INTR_FROM_CPU_2_W { CPU_INTR_FROM_CPU_2_W::new(self, 0) } diff --git a/esp32p4/src/hp_sys/cpu_intr_from_cpu_3.rs b/esp32p4/src/hp_sys/cpu_intr_from_cpu_3.rs index 65e6e4f341..8a2e4396f8 100644 --- a/esp32p4/src/hp_sys/cpu_intr_from_cpu_3.rs +++ b/esp32p4/src/hp_sys/cpu_intr_from_cpu_3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - set 1 will triger a interrupt"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_3(&mut self) -> CPU_INTR_FROM_CPU_3_W { CPU_INTR_FROM_CPU_3_W::new(self, 0) } diff --git a/esp32p4/src/hp_sys/cpu_waiti_conf.rs b/esp32p4/src/hp_sys/cpu_waiti_conf.rs index 6be3858350..488ce42f55 100644 --- a/esp32p4/src/hp_sys/cpu_waiti_conf.rs +++ b/esp32p4/src/hp_sys/cpu_waiti_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to force cpu_waiti_clk enable."] #[inline(always)] - #[must_use] pub fn cpu_wait_mode_force_on(&mut self) -> CPU_WAIT_MODE_FORCE_ON_W { CPU_WAIT_MODE_FORCE_ON_W::new(self, 0) } #[doc = "Bits 1:4 - This field used to set delay cycle when cpu enter waiti mode, after delay waiti_clk will close"] #[inline(always)] - #[must_use] pub fn cpu_waiti_delay_num(&mut self) -> CPU_WAITI_DELAY_NUM_W { CPU_WAITI_DELAY_NUM_W::new(self, 1) } diff --git a/esp32p4/src/hp_sys/crypto_ctrl.rs b/esp32p4/src/hp_sys/crypto_ctrl.rs index e87e6af3ba..c1ccccd777 100644 --- a/esp32p4/src/hp_sys/crypto_ctrl.rs +++ b/esp32p4/src/hp_sys/crypto_ctrl.rs @@ -66,7 +66,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn reg_enable_spi_manual_encrypt( &mut self, ) -> REG_ENABLE_SPI_MANUAL_ENCRYPT_W { @@ -74,7 +73,6 @@ impl W { } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn reg_enable_download_db_encrypt( &mut self, ) -> REG_ENABLE_DOWNLOAD_DB_ENCRYPT_W { @@ -82,7 +80,6 @@ impl W { } #[doc = "Bit 2 - NA"] #[inline(always)] - #[must_use] pub fn reg_enable_download_g0cb_decrypt( &mut self, ) -> REG_ENABLE_DOWNLOAD_G0CB_DECRYPT_W { @@ -90,7 +87,6 @@ impl W { } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn reg_enable_download_manual_encrypt( &mut self, ) -> REG_ENABLE_DOWNLOAD_MANUAL_ENCRYPT_W { diff --git a/esp32p4/src/hp_sys/design_for_verification0.rs b/esp32p4/src/hp_sys/design_for_verification0.rs index 29a7222de3..357a48ff01 100644 --- a/esp32p4/src/hp_sys/design_for_verification0.rs +++ b/esp32p4/src/hp_sys/design_for_verification0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - register for DV"] #[inline(always)] - #[must_use] pub fn dfv0(&mut self) -> DFV0_W { DFV0_W::new(self, 0) } diff --git a/esp32p4/src/hp_sys/design_for_verification1.rs b/esp32p4/src/hp_sys/design_for_verification1.rs index 9848d19509..99fa387e95 100644 --- a/esp32p4/src/hp_sys/design_for_verification1.rs +++ b/esp32p4/src/hp_sys/design_for_verification1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - register for DV"] #[inline(always)] - #[must_use] pub fn dfv1(&mut self) -> DFV1_W { DFV1_W::new(self, 0) } diff --git a/esp32p4/src/hp_sys/dma_addr_ctrl.rs b/esp32p4/src/hp_sys/dma_addr_ctrl.rs index 85b064225b..ea9de9d128 100644 --- a/esp32p4/src/hp_sys/dma_addr_ctrl.rs +++ b/esp32p4/src/hp_sys/dma_addr_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 0 means dma access extmem use 8xxx_xxxx else use 4xxx_xxxx"] #[inline(always)] - #[must_use] pub fn reg_sys_dma_addr_sel(&mut self) -> REG_SYS_DMA_ADDR_SEL_W { REG_SYS_DMA_ADDR_SEL_W::new(self, 0) } diff --git a/esp32p4/src/hp_sys/ecc_pd_ctrl.rs b/esp32p4/src/hp_sys/ecc_pd_ctrl.rs index 9213b9a0be..cedef25dcb 100644 --- a/esp32p4/src/hp_sys/ecc_pd_ctrl.rs +++ b/esp32p4/src/hp_sys/ecc_pd_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to power down ecc internal memory."] #[inline(always)] - #[must_use] pub fn ecc_mem_force_pd(&mut self) -> ECC_MEM_FORCE_PD_W { ECC_MEM_FORCE_PD_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to force power up ecc internal memory"] #[inline(always)] - #[must_use] pub fn ecc_mem_force_pu(&mut self) -> ECC_MEM_FORCE_PU_W { ECC_MEM_FORCE_PU_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to force power down ecc internal memory."] #[inline(always)] - #[must_use] pub fn ecc_mem_pd(&mut self) -> ECC_MEM_PD_W { ECC_MEM_PD_W::new(self, 2) } diff --git a/esp32p4/src/hp_sys/gdma_ctrl.rs b/esp32p4/src/hp_sys/gdma_ctrl.rs index f871175d2b..9a0dedeaea 100644 --- a/esp32p4/src/hp_sys/gdma_ctrl.rs +++ b/esp32p4/src/hp_sys/gdma_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - N/A"] #[inline(always)] - #[must_use] pub fn debug_ch_num(&mut self) -> DEBUG_CH_NUM_W { DEBUG_CH_NUM_W::new(self, 0) } diff --git a/esp32p4/src/hp_sys/gmac_ctrl0.rs b/esp32p4/src/hp_sys/gmac_ctrl0.rs index 728dbd4bb7..d742cc1084 100644 --- a/esp32p4/src/hp_sys/gmac_ctrl0.rs +++ b/esp32p4/src/hp_sys/gmac_ctrl0.rs @@ -68,19 +68,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - N/A"] #[inline(always)] - #[must_use] pub fn sbd_flowctrl(&mut self) -> SBD_FLOWCTRL_W { SBD_FLOWCTRL_W::new(self, 1) } #[doc = "Bits 2:4 - N/A"] #[inline(always)] - #[must_use] pub fn phy_intf_sel(&mut self) -> PHY_INTF_SEL_W { PHY_INTF_SEL_W::new(self, 2) } #[doc = "Bit 5 - N/A"] #[inline(always)] - #[must_use] pub fn gmac_mem_clk_force_on(&mut self) -> GMAC_MEM_CLK_FORCE_ON_W { GMAC_MEM_CLK_FORCE_ON_W::new(self, 5) } diff --git a/esp32p4/src/hp_sys/gpio_ded_hold_ctrl.rs b/esp32p4/src/hp_sys/gpio_ded_hold_ctrl.rs index 4b1e586c44..7da7dbe0f3 100644 --- a/esp32p4/src/hp_sys/gpio_ded_hold_ctrl.rs +++ b/esp32p4/src/hp_sys/gpio_ded_hold_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:25 - hold control for gpio63~56"] #[inline(always)] - #[must_use] pub fn reg_gpio_ded_hold(&mut self) -> REG_GPIO_DED_HOLD_W { REG_GPIO_DED_HOLD_W::new(self, 0) } diff --git a/esp32p4/src/hp_sys/gpio_o_hold_ctrl0.rs b/esp32p4/src/hp_sys/gpio_o_hold_ctrl0.rs index 5f411de7a9..0cd6debbe6 100644 --- a/esp32p4/src/hp_sys/gpio_o_hold_ctrl0.rs +++ b/esp32p4/src/hp_sys/gpio_o_hold_ctrl0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - hold control for gpio47~16"] #[inline(always)] - #[must_use] pub fn reg_gpio_0_hold_low(&mut self) -> REG_GPIO_0_HOLD_LOW_W { REG_GPIO_0_HOLD_LOW_W::new(self, 0) } diff --git a/esp32p4/src/hp_sys/gpio_o_hold_ctrl1.rs b/esp32p4/src/hp_sys/gpio_o_hold_ctrl1.rs index fea4d71ddd..a6e216dad3 100644 --- a/esp32p4/src/hp_sys/gpio_o_hold_ctrl1.rs +++ b/esp32p4/src/hp_sys/gpio_o_hold_ctrl1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - hold control for gpio56~48"] #[inline(always)] - #[must_use] pub fn reg_gpio_0_hold_high(&mut self) -> REG_GPIO_0_HOLD_HIGH_W { REG_GPIO_0_HOLD_HIGH_W::new(self, 0) } diff --git a/esp32p4/src/hp_sys/gpio_o_hys_ctrl0.rs b/esp32p4/src/hp_sys/gpio_o_hys_ctrl0.rs index 5f161e37b8..dca29d3fe7 100644 --- a/esp32p4/src/hp_sys/gpio_o_hys_ctrl0.rs +++ b/esp32p4/src/hp_sys/gpio_o_hys_ctrl0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - hys control for gpio47~16"] #[inline(always)] - #[must_use] pub fn reg_gpio_0_hys_low(&mut self) -> REG_GPIO_0_HYS_LOW_W { REG_GPIO_0_HYS_LOW_W::new(self, 0) } diff --git a/esp32p4/src/hp_sys/gpio_o_hys_ctrl1.rs b/esp32p4/src/hp_sys/gpio_o_hys_ctrl1.rs index 2997bb101c..11b577d921 100644 --- a/esp32p4/src/hp_sys/gpio_o_hys_ctrl1.rs +++ b/esp32p4/src/hp_sys/gpio_o_hys_ctrl1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - hys control for gpio56~48"] #[inline(always)] - #[must_use] pub fn reg_gpio_0_hys_high(&mut self) -> REG_GPIO_0_HYS_HIGH_W { REG_GPIO_0_HYS_HIGH_W::new(self, 0) } diff --git a/esp32p4/src/hp_sys/icm_cpu_h2x_cfg.rs b/esp32p4/src/hp_sys/icm_cpu_h2x_cfg.rs index 43cdadceea..0cb66561bc 100644 --- a/esp32p4/src/hp_sys/icm_cpu_h2x_cfg.rs +++ b/esp32p4/src/hp_sys/icm_cpu_h2x_cfg.rs @@ -45,13 +45,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn cpu_icm_h2x_post_wr_en(&mut self) -> CPU_ICM_H2X_POST_WR_EN_W { CPU_ICM_H2X_POST_WR_EN_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn cpu_icm_h2x_cut_through_en( &mut self, ) -> CPU_ICM_H2X_CUT_THROUGH_EN_W { diff --git a/esp32p4/src/hp_sys/l1_cache_pwr_ctrl.rs b/esp32p4/src/hp_sys/l1_cache_pwr_ctrl.rs index d21d21d2e0..7c74a6c6f3 100644 --- a/esp32p4/src/hp_sys/l1_cache_pwr_ctrl.rs +++ b/esp32p4/src/hp_sys/l1_cache_pwr_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - need_des"] #[inline(always)] - #[must_use] pub fn reg_l1_cache_mem_fo(&mut self) -> REG_L1_CACHE_MEM_FO_W { REG_L1_CACHE_MEM_FO_W::new(self, 0) } diff --git a/esp32p4/src/hp_sys/l1cache_bus0_id.rs b/esp32p4/src/hp_sys/l1cache_bus0_id.rs index 55a6d396cb..f60b42174f 100644 --- a/esp32p4/src/hp_sys/l1cache_bus0_id.rs +++ b/esp32p4/src/hp_sys/l1cache_bus0_id.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - NA"] #[inline(always)] - #[must_use] pub fn reg_l1_cache_bus0_id(&mut self) -> REG_L1_CACHE_BUS0_ID_W { REG_L1_CACHE_BUS0_ID_W::new(self, 0) } diff --git a/esp32p4/src/hp_sys/l1cache_bus1_id.rs b/esp32p4/src/hp_sys/l1cache_bus1_id.rs index e8f4c34eb1..d29174de51 100644 --- a/esp32p4/src/hp_sys/l1cache_bus1_id.rs +++ b/esp32p4/src/hp_sys/l1cache_bus1_id.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - NA"] #[inline(always)] - #[must_use] pub fn reg_l1_cache_bus1_id(&mut self) -> REG_L1_CACHE_BUS1_ID_W { REG_L1_CACHE_BUS1_ID_W::new(self, 0) } diff --git a/esp32p4/src/hp_sys/l2_cache_pwr_ctrl.rs b/esp32p4/src/hp_sys/l2_cache_pwr_ctrl.rs index e83ad1de74..f754e1fe61 100644 --- a/esp32p4/src/hp_sys/l2_cache_pwr_ctrl.rs +++ b/esp32p4/src/hp_sys/l2_cache_pwr_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - need_des"] #[inline(always)] - #[must_use] pub fn reg_l2_cache_mem_fo(&mut self) -> REG_L2_CACHE_MEM_FO_W { REG_L2_CACHE_MEM_FO_W::new(self, 0) } diff --git a/esp32p4/src/hp_sys/l2_mem_ahb_buffer_ctrl.rs b/esp32p4/src/hp_sys/l2_mem_ahb_buffer_ctrl.rs index becc1e782e..827112b5b6 100644 --- a/esp32p4/src/hp_sys/l2_mem_ahb_buffer_ctrl.rs +++ b/esp32p4/src/hp_sys/l2_mem_ahb_buffer_ctrl.rs @@ -34,7 +34,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to turn on l2mem ahb wr buffer"] #[inline(always)] - #[must_use] pub fn l2_mem_ahb_wrbuffer_en( &mut self, ) -> L2_MEM_AHB_WRBUFFER_EN_W { @@ -42,7 +41,6 @@ impl W { } #[doc = "Bit 1 - Set 1 to turn on l2mem ahb rd buffer"] #[inline(always)] - #[must_use] pub fn l2_mem_ahb_rdbuffer_en( &mut self, ) -> L2_MEM_AHB_RDBUFFER_EN_W { diff --git a/esp32p4/src/hp_sys/l2_mem_err_resp_ctrl.rs b/esp32p4/src/hp_sys/l2_mem_err_resp_ctrl.rs index 79ba3246a5..71988f471a 100644 --- a/esp32p4/src/hp_sys/l2_mem_err_resp_ctrl.rs +++ b/esp32p4/src/hp_sys/l2_mem_err_resp_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to turn on l2mem error response"] #[inline(always)] - #[must_use] pub fn l2_mem_err_resp_en(&mut self) -> L2_MEM_ERR_RESP_EN_W { L2_MEM_ERR_RESP_EN_W::new(self, 0) } diff --git a/esp32p4/src/hp_sys/l2_mem_int_clr.rs b/esp32p4/src/hp_sys/l2_mem_int_clr.rs index a86dedf3b8..c826325df2 100644 --- a/esp32p4/src/hp_sys/l2_mem_int_clr.rs +++ b/esp32p4/src/hp_sys/l2_mem_int_clr.rs @@ -15,7 +15,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn reg_l2_mem_ecc_err_int_clr( &mut self, ) -> REG_L2_MEM_ECC_ERR_INT_CLR_W { @@ -23,7 +22,6 @@ impl W { } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn reg_l2_mem_exceed_addr_int_clr( &mut self, ) -> REG_L2_MEM_EXCEED_ADDR_INT_CLR_W { @@ -31,7 +29,6 @@ impl W { } #[doc = "Bit 2 - NA"] #[inline(always)] - #[must_use] pub fn reg_l2_mem_err_resp_int_clr( &mut self, ) -> REG_L2_MEM_ERR_RESP_INT_CLR_W { diff --git a/esp32p4/src/hp_sys/l2_mem_int_ena.rs b/esp32p4/src/hp_sys/l2_mem_int_ena.rs index 6d3b19c05f..ca047b42c2 100644 --- a/esp32p4/src/hp_sys/l2_mem_int_ena.rs +++ b/esp32p4/src/hp_sys/l2_mem_int_ena.rs @@ -53,7 +53,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn reg_l2_mem_ecc_err_int_ena( &mut self, ) -> REG_L2_MEM_ECC_ERR_INT_ENA_W { @@ -61,7 +60,6 @@ impl W { } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn reg_l2_mem_exceed_addr_int_ena( &mut self, ) -> REG_L2_MEM_EXCEED_ADDR_INT_ENA_W { @@ -69,7 +67,6 @@ impl W { } #[doc = "Bit 2 - NA"] #[inline(always)] - #[must_use] pub fn reg_l2_mem_err_resp_int_ena( &mut self, ) -> REG_L2_MEM_ERR_RESP_INT_ENA_W { diff --git a/esp32p4/src/hp_sys/l2_mem_int_raw.rs b/esp32p4/src/hp_sys/l2_mem_int_raw.rs index 7bfd4d1714..6e20521954 100644 --- a/esp32p4/src/hp_sys/l2_mem_int_raw.rs +++ b/esp32p4/src/hp_sys/l2_mem_int_raw.rs @@ -53,7 +53,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - intr triggered when two bit error detected and corrected from ecc"] #[inline(always)] - #[must_use] pub fn reg_l2_mem_ecc_err_int_raw( &mut self, ) -> REG_L2_MEM_ECC_ERR_INT_RAW_W { @@ -61,7 +60,6 @@ impl W { } #[doc = "Bit 1 - intr triggered when access addr exceeds 0xff9ffff at bypass mode or exceeds 0xff80000 at l2cache 128kb mode or exceeds 0xff60000 at l2cache 256kb mode"] #[inline(always)] - #[must_use] pub fn reg_l2_mem_exceed_addr_int_raw( &mut self, ) -> REG_L2_MEM_EXCEED_ADDR_INT_RAW_W { @@ -69,7 +67,6 @@ impl W { } #[doc = "Bit 2 - intr triggered when err response occurs"] #[inline(always)] - #[must_use] pub fn reg_l2_mem_err_resp_int_raw( &mut self, ) -> REG_L2_MEM_ERR_RESP_INT_RAW_W { diff --git a/esp32p4/src/hp_sys/l2_mem_l2_cache_ecc.rs b/esp32p4/src/hp_sys/l2_mem_l2_cache_ecc.rs index e0668da508..a8ac7c9c11 100644 --- a/esp32p4/src/hp_sys/l2_mem_l2_cache_ecc.rs +++ b/esp32p4/src/hp_sys/l2_mem_l2_cache_ecc.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn reg_l2_cache_ecc_en(&mut self) -> REG_L2_CACHE_ECC_EN_W { REG_L2_CACHE_ECC_EN_W::new(self, 0) } diff --git a/esp32p4/src/hp_sys/l2_mem_l2_ram_ecc.rs b/esp32p4/src/hp_sys/l2_mem_l2_ram_ecc.rs index 54f6767773..e6b0034198 100644 --- a/esp32p4/src/hp_sys/l2_mem_l2_ram_ecc.rs +++ b/esp32p4/src/hp_sys/l2_mem_l2_ram_ecc.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn reg_l2_ram_unit0_ecc_en(&mut self) -> REG_L2_RAM_UNIT0_ECC_EN_W { REG_L2_RAM_UNIT0_ECC_EN_W::new(self, 0) } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn reg_l2_ram_unit1_ecc_en(&mut self) -> REG_L2_RAM_UNIT1_ECC_EN_W { REG_L2_RAM_UNIT1_ECC_EN_W::new(self, 1) } #[doc = "Bit 2 - NA"] #[inline(always)] - #[must_use] pub fn reg_l2_ram_unit2_ecc_en(&mut self) -> REG_L2_RAM_UNIT2_ECC_EN_W { REG_L2_RAM_UNIT2_ECC_EN_W::new(self, 2) } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn reg_l2_ram_unit3_ecc_en(&mut self) -> REG_L2_RAM_UNIT3_ECC_EN_W { REG_L2_RAM_UNIT3_ECC_EN_W::new(self, 3) } #[doc = "Bit 4 - NA"] #[inline(always)] - #[must_use] pub fn reg_l2_ram_unit4_ecc_en(&mut self) -> REG_L2_RAM_UNIT4_ECC_EN_W { REG_L2_RAM_UNIT4_ECC_EN_W::new(self, 4) } #[doc = "Bit 5 - NA"] #[inline(always)] - #[must_use] pub fn reg_l2_ram_unit5_ecc_en(&mut self) -> REG_L2_RAM_UNIT5_ECC_EN_W { REG_L2_RAM_UNIT5_ECC_EN_W::new(self, 5) } diff --git a/esp32p4/src/hp_sys/l2_mem_ram_pwr_ctrl0.rs b/esp32p4/src/hp_sys/l2_mem_ram_pwr_ctrl0.rs index d102a6339b..ac22ff5624 100644 --- a/esp32p4/src/hp_sys/l2_mem_ram_pwr_ctrl0.rs +++ b/esp32p4/src/hp_sys/l2_mem_ram_pwr_ctrl0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - l2ram clk_gating force on"] #[inline(always)] - #[must_use] pub fn reg_l2_mem_clk_force_on( &mut self, ) -> REG_L2_MEM_CLK_FORCE_ON_W { diff --git a/esp32p4/src/hp_sys/l2_mem_rdn_eco_cs.rs b/esp32p4/src/hp_sys/l2_mem_rdn_eco_cs.rs index 8916cc203c..091b0a0a2c 100644 --- a/esp32p4/src/hp_sys/l2_mem_rdn_eco_cs.rs +++ b/esp32p4/src/hp_sys/l2_mem_rdn_eco_cs.rs @@ -35,7 +35,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn reg_l2_mem_rdn_eco_en(&mut self) -> REG_L2_MEM_RDN_ECO_EN_W { REG_L2_MEM_RDN_ECO_EN_W::new(self, 0) } diff --git a/esp32p4/src/hp_sys/l2_mem_rdn_eco_high.rs b/esp32p4/src/hp_sys/l2_mem_rdn_eco_high.rs index 55020b58cf..11f5e93369 100644 --- a/esp32p4/src/hp_sys/l2_mem_rdn_eco_high.rs +++ b/esp32p4/src/hp_sys/l2_mem_rdn_eco_high.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - NA"] #[inline(always)] - #[must_use] pub fn reg_l2_mem_rdn_eco_high( &mut self, ) -> REG_L2_MEM_RDN_ECO_HIGH_W { diff --git a/esp32p4/src/hp_sys/l2_mem_rdn_eco_low.rs b/esp32p4/src/hp_sys/l2_mem_rdn_eco_low.rs index cfef343b62..a4864d117d 100644 --- a/esp32p4/src/hp_sys/l2_mem_rdn_eco_low.rs +++ b/esp32p4/src/hp_sys/l2_mem_rdn_eco_low.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - NA"] #[inline(always)] - #[must_use] pub fn reg_l2_mem_rdn_eco_low(&mut self) -> REG_L2_MEM_RDN_ECO_LOW_W { REG_L2_MEM_RDN_ECO_LOW_W::new(self, 0) } diff --git a/esp32p4/src/hp_sys/l2_mem_refresh.rs b/esp32p4/src/hp_sys/l2_mem_refresh.rs index 447abcd786..b5e2c31bd2 100644 --- a/esp32p4/src/hp_sys/l2_mem_refresh.rs +++ b/esp32p4/src/hp_sys/l2_mem_refresh.rs @@ -171,7 +171,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn reg_l2_mem_unit0_refersh_en( &mut self, ) -> REG_L2_MEM_UNIT0_REFERSH_EN_W { @@ -179,7 +178,6 @@ impl W { } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn reg_l2_mem_unit1_refersh_en( &mut self, ) -> REG_L2_MEM_UNIT1_REFERSH_EN_W { @@ -187,7 +185,6 @@ impl W { } #[doc = "Bit 2 - NA"] #[inline(always)] - #[must_use] pub fn reg_l2_mem_unit2_refersh_en( &mut self, ) -> REG_L2_MEM_UNIT2_REFERSH_EN_W { @@ -195,7 +192,6 @@ impl W { } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn reg_l2_mem_unit3_refersh_en( &mut self, ) -> REG_L2_MEM_UNIT3_REFERSH_EN_W { @@ -203,7 +199,6 @@ impl W { } #[doc = "Bit 4 - NA"] #[inline(always)] - #[must_use] pub fn reg_l2_mem_unit4_refersh_en( &mut self, ) -> REG_L2_MEM_UNIT4_REFERSH_EN_W { @@ -211,7 +206,6 @@ impl W { } #[doc = "Bit 5 - NA"] #[inline(always)] - #[must_use] pub fn reg_l2_mem_unit5_refersh_en( &mut self, ) -> REG_L2_MEM_UNIT5_REFERSH_EN_W { @@ -219,7 +213,6 @@ impl W { } #[doc = "Bit 6 - Set 1 to reset l2mem_refresh_cnt"] #[inline(always)] - #[must_use] pub fn reg_l2_mem_refersh_cnt_reset( &mut self, ) -> REG_L2_MEM_REFERSH_CNT_RESET_W { diff --git a/esp32p4/src/hp_sys/l2_mem_subsize.rs b/esp32p4/src/hp_sys/l2_mem_subsize.rs index 9e4cff98c1..1f3615603d 100644 --- a/esp32p4/src/hp_sys/l2_mem_subsize.rs +++ b/esp32p4/src/hp_sys/l2_mem_subsize.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - l2mem sub block size 00=>32 01=>64 10=>128 11=>256"] #[inline(always)] - #[must_use] pub fn reg_l2_mem_sub_blksize(&mut self) -> REG_L2_MEM_SUB_BLKSIZE_W { REG_L2_MEM_SUB_BLKSIZE_W::new(self, 0) } diff --git a/esp32p4/src/hp_sys/l2_mem_sw_ecc_bwe_mask.rs b/esp32p4/src/hp_sys/l2_mem_sw_ecc_bwe_mask.rs index bc09d64429..3809314381 100644 --- a/esp32p4/src/hp_sys/l2_mem_sw_ecc_bwe_mask.rs +++ b/esp32p4/src/hp_sys/l2_mem_sw_ecc_bwe_mask.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to mask bwe hamming code bit"] #[inline(always)] - #[must_use] pub fn reg_l2_mem_sw_ecc_bwe_mask_ctrl( &mut self, ) -> REG_L2_MEM_SW_ECC_BWE_MASK_CTRL_W { diff --git a/esp32p4/src/hp_sys/l2_rom_pwr_ctrl0.rs b/esp32p4/src/hp_sys/l2_rom_pwr_ctrl0.rs index d6b74548be..7dbd064b1f 100644 --- a/esp32p4/src/hp_sys/l2_rom_pwr_ctrl0.rs +++ b/esp32p4/src/hp_sys/l2_rom_pwr_ctrl0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - l2_rom clk gating force on"] #[inline(always)] - #[must_use] pub fn reg_l2_rom_clk_force_on(&mut self) -> REG_L2_ROM_CLK_FORCE_ON_W { REG_L2_ROM_CLK_FORCE_ON_W::new(self, 0) } diff --git a/esp32p4/src/hp_sys/peri1_apb_postw_en.rs b/esp32p4/src/hp_sys/peri1_apb_postw_en.rs index b866702a1d..e8c2ab15b2 100644 --- a/esp32p4/src/hp_sys/peri1_apb_postw_en.rs +++ b/esp32p4/src/hp_sys/peri1_apb_postw_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - hp_peri1 apb register interface post write enable, 1 will speed up write, but will take some time to update value to register"] #[inline(always)] - #[must_use] pub fn peri1_apb_postw_en(&mut self) -> PERI1_APB_POSTW_EN_W { PERI1_APB_POSTW_EN_W::new(self, 0) } diff --git a/esp32p4/src/hp_sys/peri_mem_clk_force_on.rs b/esp32p4/src/hp_sys/peri_mem_clk_force_on.rs index 98fbf07164..4b3d719f8d 100644 --- a/esp32p4/src/hp_sys/peri_mem_clk_force_on.rs +++ b/esp32p4/src/hp_sys/peri_mem_clk_force_on.rs @@ -60,13 +60,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to force on mem clk in rmt"] #[inline(always)] - #[must_use] pub fn rmt_mem_clk_force_on(&mut self) -> RMT_MEM_CLK_FORCE_ON_W { RMT_MEM_CLK_FORCE_ON_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to force on tx mem clk in bitscrambler"] #[inline(always)] - #[must_use] pub fn bitscrambler_tx_mem_clk_force_on( &mut self, ) -> BITSCRAMBLER_TX_MEM_CLK_FORCE_ON_W { @@ -74,7 +72,6 @@ impl W { } #[doc = "Bit 2 - Set this bit to force on rx mem clk in bitscrambler"] #[inline(always)] - #[must_use] pub fn bitscrambler_rx_mem_clk_force_on( &mut self, ) -> BITSCRAMBLER_RX_MEM_CLK_FORCE_ON_W { @@ -82,7 +79,6 @@ impl W { } #[doc = "Bit 3 - Set this bit to force on mem clk in gdma"] #[inline(always)] - #[must_use] pub fn gdma_mem_clk_force_on(&mut self) -> GDMA_MEM_CLK_FORCE_ON_W { GDMA_MEM_CLK_FORCE_ON_W::new(self, 3) } diff --git a/esp32p4/src/hp_sys/probea_ctrl.rs b/esp32p4/src/hp_sys/probea_ctrl.rs index d3a2ea3fb9..a03beb61f5 100644 --- a/esp32p4/src/hp_sys/probea_ctrl.rs +++ b/esp32p4/src/hp_sys/probea_ctrl.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Tihs field is used to selec probe_group from probe_group0 to probe_group15 for module's probe_out\\[31:0\\] in a mode"] #[inline(always)] - #[must_use] pub fn reg_probe_a_mod_sel(&mut self) -> REG_PROBE_A_MOD_SEL_W { REG_PROBE_A_MOD_SEL_W::new(self, 0) } #[doc = "Bits 16:23 - Tihs field is used to selec module's probe_out\\[31:0\\] as probe out in a mode"] #[inline(always)] - #[must_use] pub fn reg_probe_a_top_sel(&mut self) -> REG_PROBE_A_TOP_SEL_W { REG_PROBE_A_TOP_SEL_W::new(self, 16) } #[doc = "Bits 24:25 - Tihs field is used to selec probe_out\\[31:16\\]"] #[inline(always)] - #[must_use] pub fn reg_probe_l_sel(&mut self) -> REG_PROBE_L_SEL_W { REG_PROBE_L_SEL_W::new(self, 24) } #[doc = "Bits 26:27 - Tihs field is used to selec probe_out\\[31:16\\]"] #[inline(always)] - #[must_use] pub fn reg_probe_h_sel(&mut self) -> REG_PROBE_H_SEL_W { REG_PROBE_H_SEL_W::new(self, 26) } #[doc = "Bit 28 - Set this bit to enable global debug probe in hp system."] #[inline(always)] - #[must_use] pub fn reg_probe_global_en(&mut self) -> REG_PROBE_GLOBAL_EN_W { REG_PROBE_GLOBAL_EN_W::new(self, 28) } diff --git a/esp32p4/src/hp_sys/probeb_ctrl.rs b/esp32p4/src/hp_sys/probeb_ctrl.rs index f7fc32ddc3..1bb41d31bc 100644 --- a/esp32p4/src/hp_sys/probeb_ctrl.rs +++ b/esp32p4/src/hp_sys/probeb_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Tihs field is used to selec probe_group from probe_group0 to probe_group15 for module's probe_out\\[31:0\\] in b mode."] #[inline(always)] - #[must_use] pub fn reg_probe_b_mod_sel(&mut self) -> REG_PROBE_B_MOD_SEL_W { REG_PROBE_B_MOD_SEL_W::new(self, 0) } #[doc = "Bits 16:23 - Tihs field is used to select module's probe_out\\[31:0\\] as probe_out in b mode"] #[inline(always)] - #[must_use] pub fn reg_probe_b_top_sel(&mut self) -> REG_PROBE_B_TOP_SEL_W { REG_PROBE_B_TOP_SEL_W::new(self, 16) } #[doc = "Bit 24 - Set this bit to enable b mode for debug probe. 1: b mode, 0: a mode."] #[inline(always)] - #[must_use] pub fn reg_probe_b_en(&mut self) -> REG_PROBE_B_EN_W { REG_PROBE_B_EN_W::new(self, 24) } diff --git a/esp32p4/src/hp_sys/psram_flash_addr_interchange.rs b/esp32p4/src/hp_sys/psram_flash_addr_interchange.rs index 3e9fe423a3..94fcad4bee 100644 --- a/esp32p4/src/hp_sys/psram_flash_addr_interchange.rs +++ b/esp32p4/src/hp_sys/psram_flash_addr_interchange.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable addr interchange between psram and flash in axi matrix when hp cpu access through cache"] #[inline(always)] - #[must_use] pub fn cpu(&mut self) -> CPU_W { CPU_W::new(self, 0) } #[doc = "Bit 1 - Set 1 to enable addr interchange between psram and flash in axi matrix when dma device access, lp core access and hp core access through ahb"] #[inline(always)] - #[must_use] pub fn dma(&mut self) -> DMA_W { DMA_W::new(self, 1) } diff --git a/esp32p4/src/hp_sys/rdn_eco_cs.rs b/esp32p4/src/hp_sys/rdn_eco_cs.rs index c1b2420df8..90407cb890 100644 --- a/esp32p4/src/hp_sys/rdn_eco_cs.rs +++ b/esp32p4/src/hp_sys/rdn_eco_cs.rs @@ -35,7 +35,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn reg_hp_sys_rdn_eco_en(&mut self) -> REG_HP_SYS_RDN_ECO_EN_W { REG_HP_SYS_RDN_ECO_EN_W::new(self, 0) } diff --git a/esp32p4/src/hp_sys/rng_cfg.rs b/esp32p4/src/hp_sys/rng_cfg.rs index 933f70fa30..6ca2536f4c 100644 --- a/esp32p4/src/hp_sys/rng_cfg.rs +++ b/esp32p4/src/hp_sys/rng_cfg.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - enable rng sample chain"] #[inline(always)] - #[must_use] pub fn rng_sample_enable(&mut self) -> RNG_SAMPLE_ENABLE_W { RNG_SAMPLE_ENABLE_W::new(self, 0) } #[doc = "Bits 16:23 - chain clk div num to pad for debug"] #[inline(always)] - #[must_use] pub fn rng_chain_clk_div_num(&mut self) -> RNG_CHAIN_CLK_DIV_NUM_W { RNG_CHAIN_CLK_DIV_NUM_W::new(self, 16) } diff --git a/esp32p4/src/hp_sys/rsa_pd_ctrl.rs b/esp32p4/src/hp_sys/rsa_pd_ctrl.rs index cbe2b8a36a..30dec384e9 100644 --- a/esp32p4/src/hp_sys/rsa_pd_ctrl.rs +++ b/esp32p4/src/hp_sys/rsa_pd_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to power down rsa internal memory."] #[inline(always)] - #[must_use] pub fn rsa_mem_force_pd(&mut self) -> RSA_MEM_FORCE_PD_W { RSA_MEM_FORCE_PD_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to force power up rsa internal memory"] #[inline(always)] - #[must_use] pub fn rsa_mem_force_pu(&mut self) -> RSA_MEM_FORCE_PU_W { RSA_MEM_FORCE_PU_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to force power down rsa internal memory."] #[inline(always)] - #[must_use] pub fn rsa_mem_pd(&mut self) -> RSA_MEM_PD_W { RSA_MEM_PD_W::new(self, 2) } diff --git a/esp32p4/src/hp_sys/tcm_err_resp_ctrl.rs b/esp32p4/src/hp_sys/tcm_err_resp_ctrl.rs index d9c5d836b0..27354cdd8d 100644 --- a/esp32p4/src/hp_sys/tcm_err_resp_ctrl.rs +++ b/esp32p4/src/hp_sys/tcm_err_resp_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to turn on tcm error response"] #[inline(always)] - #[must_use] pub fn tcm_err_resp_en(&mut self) -> TCM_ERR_RESP_EN_W { TCM_ERR_RESP_EN_W::new(self, 0) } diff --git a/esp32p4/src/hp_sys/tcm_init.rs b/esp32p4/src/hp_sys/tcm_init.rs index 576a637a37..422b83ad0e 100644 --- a/esp32p4/src/hp_sys/tcm_init.rs +++ b/esp32p4/src/hp_sys/tcm_init.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn reg_tcm_init_en(&mut self) -> REG_TCM_INIT_EN_W { REG_TCM_INIT_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 1 to reset tcm init cnt"] #[inline(always)] - #[must_use] pub fn reg_tcm_init_cnt_reset(&mut self) -> REG_TCM_INIT_CNT_RESET_W { REG_TCM_INIT_CNT_RESET_W::new(self, 1) } diff --git a/esp32p4/src/hp_sys/tcm_int_clr.rs b/esp32p4/src/hp_sys/tcm_int_clr.rs index 039baa3749..733a66e109 100644 --- a/esp32p4/src/hp_sys/tcm_int_clr.rs +++ b/esp32p4/src/hp_sys/tcm_int_clr.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn tcm_parity_err_int_clr(&mut self) -> TCM_PARITY_ERR_INT_CLR_W { TCM_PARITY_ERR_INT_CLR_W::new(self, 31) } diff --git a/esp32p4/src/hp_sys/tcm_int_ena.rs b/esp32p4/src/hp_sys/tcm_int_ena.rs index 1cc6600090..3baafdfed5 100644 --- a/esp32p4/src/hp_sys/tcm_int_ena.rs +++ b/esp32p4/src/hp_sys/tcm_int_ena.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn tcm_parity_err_int_ena(&mut self) -> TCM_PARITY_ERR_INT_ENA_W { TCM_PARITY_ERR_INT_ENA_W::new(self, 31) } diff --git a/esp32p4/src/hp_sys/tcm_int_raw.rs b/esp32p4/src/hp_sys/tcm_int_raw.rs index 8bdd3cc10d..89a42718ad 100644 --- a/esp32p4/src/hp_sys/tcm_int_raw.rs +++ b/esp32p4/src/hp_sys/tcm_int_raw.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn tcm_parity_err_int_raw(&mut self) -> TCM_PARITY_ERR_INT_RAW_W { TCM_PARITY_ERR_INT_RAW_W::new(self, 31) } diff --git a/esp32p4/src/hp_sys/tcm_parity_check_ctrl.rs b/esp32p4/src/hp_sys/tcm_parity_check_ctrl.rs index 17418f158b..f2cce9a6f2 100644 --- a/esp32p4/src/hp_sys/tcm_parity_check_ctrl.rs +++ b/esp32p4/src/hp_sys/tcm_parity_check_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to turn on tcm parity check"] #[inline(always)] - #[must_use] pub fn tcm_parity_check_en(&mut self) -> TCM_PARITY_CHECK_EN_W { TCM_PARITY_CHECK_EN_W::new(self, 0) } diff --git a/esp32p4/src/hp_sys/tcm_ram_pwr_ctrl0.rs b/esp32p4/src/hp_sys/tcm_ram_pwr_ctrl0.rs index b6408375d0..b80dc22071 100644 --- a/esp32p4/src/hp_sys/tcm_ram_pwr_ctrl0.rs +++ b/esp32p4/src/hp_sys/tcm_ram_pwr_ctrl0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - hp_tcm clk gatig force on"] #[inline(always)] - #[must_use] pub fn reg_hp_tcm_clk_force_on(&mut self) -> REG_HP_TCM_CLK_FORCE_ON_W { REG_HP_TCM_CLK_FORCE_ON_W::new(self, 0) } diff --git a/esp32p4/src/hp_sys/tcm_ram_wrr_config.rs b/esp32p4/src/hp_sys/tcm_ram_wrr_config.rs index 5d40ab39e3..03d1043940 100644 --- a/esp32p4/src/hp_sys/tcm_ram_wrr_config.rs +++ b/esp32p4/src/hp_sys/tcm_ram_wrr_config.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - weight value of ibus0"] #[inline(always)] - #[must_use] pub fn reg_tcm_ram_ibus0_wt(&mut self) -> REG_TCM_RAM_IBUS0_WT_W { REG_TCM_RAM_IBUS0_WT_W::new(self, 0) } #[doc = "Bits 3:5 - weight value of ibus1"] #[inline(always)] - #[must_use] pub fn reg_tcm_ram_ibus1_wt(&mut self) -> REG_TCM_RAM_IBUS1_WT_W { REG_TCM_RAM_IBUS1_WT_W::new(self, 3) } #[doc = "Bits 6:8 - weight value of ibus2"] #[inline(always)] - #[must_use] pub fn reg_tcm_ram_ibus2_wt(&mut self) -> REG_TCM_RAM_IBUS2_WT_W { REG_TCM_RAM_IBUS2_WT_W::new(self, 6) } #[doc = "Bits 9:11 - weight value of ibus3"] #[inline(always)] - #[must_use] pub fn reg_tcm_ram_ibus3_wt(&mut self) -> REG_TCM_RAM_IBUS3_WT_W { REG_TCM_RAM_IBUS3_WT_W::new(self, 9) } #[doc = "Bits 12:14 - weight value of dbus0"] #[inline(always)] - #[must_use] pub fn reg_tcm_ram_dbus0_wt(&mut self) -> REG_TCM_RAM_DBUS0_WT_W { REG_TCM_RAM_DBUS0_WT_W::new(self, 12) } #[doc = "Bits 15:17 - weight value of dbus1"] #[inline(always)] - #[must_use] pub fn reg_tcm_ram_dbus1_wt(&mut self) -> REG_TCM_RAM_DBUS1_WT_W { REG_TCM_RAM_DBUS1_WT_W::new(self, 15) } #[doc = "Bits 18:20 - weight value of dbus2"] #[inline(always)] - #[must_use] pub fn reg_tcm_ram_dbus2_wt(&mut self) -> REG_TCM_RAM_DBUS2_WT_W { REG_TCM_RAM_DBUS2_WT_W::new(self, 18) } #[doc = "Bits 21:23 - weight value of dbus3"] #[inline(always)] - #[must_use] pub fn reg_tcm_ram_dbus3_wt(&mut self) -> REG_TCM_RAM_DBUS3_WT_W { REG_TCM_RAM_DBUS3_WT_W::new(self, 21) } #[doc = "Bits 24:26 - weight value of dma"] #[inline(always)] - #[must_use] pub fn reg_tcm_ram_dma_wt(&mut self) -> REG_TCM_RAM_DMA_WT_W { REG_TCM_RAM_DMA_WT_W::new(self, 24) } #[doc = "Bit 31 - enable weighted round robin arbitration"] #[inline(always)] - #[must_use] pub fn reg_tcm_ram_wrr_high(&mut self) -> REG_TCM_RAM_WRR_HIGH_W { REG_TCM_RAM_WRR_HIGH_W::new(self, 31) } diff --git a/esp32p4/src/hp_sys/tcm_rdn_eco_cs.rs b/esp32p4/src/hp_sys/tcm_rdn_eco_cs.rs index 5aa097abdc..c7bd722005 100644 --- a/esp32p4/src/hp_sys/tcm_rdn_eco_cs.rs +++ b/esp32p4/src/hp_sys/tcm_rdn_eco_cs.rs @@ -35,7 +35,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn reg_hp_tcm_rdn_eco_en(&mut self) -> REG_HP_TCM_RDN_ECO_EN_W { REG_HP_TCM_RDN_ECO_EN_W::new(self, 0) } diff --git a/esp32p4/src/hp_sys/tcm_rdn_eco_high.rs b/esp32p4/src/hp_sys/tcm_rdn_eco_high.rs index 617c33063e..bab7e86550 100644 --- a/esp32p4/src/hp_sys/tcm_rdn_eco_high.rs +++ b/esp32p4/src/hp_sys/tcm_rdn_eco_high.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - NA"] #[inline(always)] - #[must_use] pub fn reg_hp_tcm_rdn_eco_high(&mut self) -> REG_HP_TCM_RDN_ECO_HIGH_W { REG_HP_TCM_RDN_ECO_HIGH_W::new(self, 0) } diff --git a/esp32p4/src/hp_sys/tcm_rdn_eco_low.rs b/esp32p4/src/hp_sys/tcm_rdn_eco_low.rs index ee7bdf58e5..31aa3f9565 100644 --- a/esp32p4/src/hp_sys/tcm_rdn_eco_low.rs +++ b/esp32p4/src/hp_sys/tcm_rdn_eco_low.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - NA"] #[inline(always)] - #[must_use] pub fn reg_hp_tcm_rdn_eco_low(&mut self) -> REG_HP_TCM_RDN_ECO_LOW_W { REG_HP_TCM_RDN_ECO_LOW_W::new(self, 0) } diff --git a/esp32p4/src/hp_sys/tcm_sw_parity_bwe_mask.rs b/esp32p4/src/hp_sys/tcm_sw_parity_bwe_mask.rs index 447b2db0b5..103c11d417 100644 --- a/esp32p4/src/hp_sys/tcm_sw_parity_bwe_mask.rs +++ b/esp32p4/src/hp_sys/tcm_sw_parity_bwe_mask.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to mask tcm bwe parity code bit"] #[inline(always)] - #[must_use] pub fn reg_tcm_sw_parity_bwe_mask_ctrl( &mut self, ) -> REG_TCM_SW_PARITY_BWE_MASK_CTRL_W { diff --git a/esp32p4/src/hp_sys/uart_pd_ctrl.rs b/esp32p4/src/hp_sys/uart_pd_ctrl.rs index eceacbecd9..d9838d6c81 100644 --- a/esp32p4/src/hp_sys/uart_pd_ctrl.rs +++ b/esp32p4/src/hp_sys/uart_pd_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to power down hp uart internal memory."] #[inline(always)] - #[must_use] pub fn uart_mem_force_pd(&mut self) -> UART_MEM_FORCE_PD_W { UART_MEM_FORCE_PD_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to force power up hp uart internal memory"] #[inline(always)] - #[must_use] pub fn uart_mem_force_pu(&mut self) -> UART_MEM_FORCE_PU_W { UART_MEM_FORCE_PU_W::new(self, 1) } diff --git a/esp32p4/src/hp_sys/usb20otg_mem_ctrl.rs b/esp32p4/src/hp_sys/usb20otg_mem_ctrl.rs index 8257103e44..4f27997308 100644 --- a/esp32p4/src/hp_sys/usb20otg_mem_ctrl.rs +++ b/esp32p4/src/hp_sys/usb20otg_mem_ctrl.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn reg_usb20_mem_clk_force_on( &mut self, ) -> REG_USB20_MEM_CLK_FORCE_ON_W { diff --git a/esp32p4/src/hp_sys/usbotg20_ctrl.rs b/esp32p4/src/hp_sys/usbotg20_ctrl.rs index 1c53c541c2..8f564a0197 100644 --- a/esp32p4/src/hp_sys/usbotg20_ctrl.rs +++ b/esp32p4/src/hp_sys/usbotg20_ctrl.rs @@ -132,67 +132,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 1:14 - N/A"] #[inline(always)] - #[must_use] pub fn usb_mem_aux_ctrl(&mut self) -> USB_MEM_AUX_CTRL_W { USB_MEM_AUX_CTRL_W::new(self, 1) } #[doc = "Bit 15 - N/A"] #[inline(always)] - #[must_use] pub fn phy_suspendm(&mut self) -> PHY_SUSPENDM_W { PHY_SUSPENDM_W::new(self, 15) } #[doc = "Bit 16 - N/A"] #[inline(always)] - #[must_use] pub fn phy_suspend_force_en(&mut self) -> PHY_SUSPEND_FORCE_EN_W { PHY_SUSPEND_FORCE_EN_W::new(self, 16) } #[doc = "Bit 17 - N/A"] #[inline(always)] - #[must_use] pub fn phy_rstn(&mut self) -> PHY_RSTN_W { PHY_RSTN_W::new(self, 17) } #[doc = "Bit 18 - N/A"] #[inline(always)] - #[must_use] pub fn phy_reset_force_en(&mut self) -> PHY_RESET_FORCE_EN_W { PHY_RESET_FORCE_EN_W::new(self, 18) } #[doc = "Bit 19 - N/A"] #[inline(always)] - #[must_use] pub fn phy_pll_force_en(&mut self) -> PHY_PLL_FORCE_EN_W { PHY_PLL_FORCE_EN_W::new(self, 19) } #[doc = "Bit 20 - N/A"] #[inline(always)] - #[must_use] pub fn phy_pll_en(&mut self) -> PHY_PLL_EN_W { PHY_PLL_EN_W::new(self, 20) } #[doc = "Bit 21 - N/A"] #[inline(always)] - #[must_use] pub fn otg_suspendm(&mut self) -> OTG_SUSPENDM_W { OTG_SUSPENDM_W::new(self, 21) } #[doc = "Bit 22 - N/A"] #[inline(always)] - #[must_use] pub fn otg_phy_txbitstuff_en(&mut self) -> OTG_PHY_TXBITSTUFF_EN_W { OTG_PHY_TXBITSTUFF_EN_W::new(self, 22) } #[doc = "Bit 23 - N/A"] #[inline(always)] - #[must_use] pub fn otg_phy_refclk_mode(&mut self) -> OTG_PHY_REFCLK_MODE_W { OTG_PHY_REFCLK_MODE_W::new(self, 23) } #[doc = "Bit 24 - N/A"] #[inline(always)] - #[must_use] pub fn otg_phy_bisten(&mut self) -> OTG_PHY_BISTEN_W { OTG_PHY_BISTEN_W::new(self, 24) } diff --git a/esp32p4/src/hp_sys/ver_date.rs b/esp32p4/src/hp_sys/ver_date.rs index 8af63efeea..26d28543b2 100644 --- a/esp32p4/src/hp_sys/ver_date.rs +++ b/esp32p4/src/hp_sys/ver_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - NA"] #[inline(always)] - #[must_use] pub fn reg_ver_date(&mut self) -> REG_VER_DATE_W { REG_VER_DATE_W::new(self, 0) } diff --git a/esp32p4/src/hp_sys/vpu_ctrl.rs b/esp32p4/src/hp_sys/vpu_ctrl.rs index 764448e267..1b0ea67d5c 100644 --- a/esp32p4/src/hp_sys/vpu_ctrl.rs +++ b/esp32p4/src/hp_sys/vpu_ctrl.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - N/A"] #[inline(always)] - #[must_use] pub fn ppa_lslp_mem_pd(&mut self) -> PPA_LSLP_MEM_PD_W { PPA_LSLP_MEM_PD_W::new(self, 0) } #[doc = "Bit 1 - N/A"] #[inline(always)] - #[must_use] pub fn jpeg_sdslp_mem_pd(&mut self) -> JPEG_SDSLP_MEM_PD_W { JPEG_SDSLP_MEM_PD_W::new(self, 1) } #[doc = "Bit 2 - N/A"] #[inline(always)] - #[must_use] pub fn jpeg_lslp_mem_pd(&mut self) -> JPEG_LSLP_MEM_PD_W { JPEG_LSLP_MEM_PD_W::new(self, 2) } #[doc = "Bit 3 - N/A"] #[inline(always)] - #[must_use] pub fn jpeg_dslp_mem_pd(&mut self) -> JPEG_DSLP_MEM_PD_W { JPEG_DSLP_MEM_PD_W::new(self, 3) } #[doc = "Bit 4 - N/A"] #[inline(always)] - #[must_use] pub fn dma2d_lslp_mem_pd(&mut self) -> DMA2D_LSLP_MEM_PD_W { DMA2D_LSLP_MEM_PD_W::new(self, 4) } diff --git a/esp32p4/src/hp_sys_clkrst/ana_pll_ctrl0.rs b/esp32p4/src/hp_sys_clkrst/ana_pll_ctrl0.rs index 82bf0ae4b1..c19eba190e 100644 --- a/esp32p4/src/hp_sys_clkrst/ana_pll_ctrl0.rs +++ b/esp32p4/src/hp_sys_clkrst/ana_pll_ctrl0.rs @@ -104,31 +104,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn plla_cal_stop(&mut self) -> PLLA_CAL_STOP_W { PLLA_CAL_STOP_W::new(self, 1) } #[doc = "Bit 3 - Reserved"] #[inline(always)] - #[must_use] pub fn cpu_pll_cal_stop(&mut self) -> CPU_PLL_CAL_STOP_W { CPU_PLL_CAL_STOP_W::new(self, 3) } #[doc = "Bit 5 - Reserved"] #[inline(always)] - #[must_use] pub fn sdio_pll_cal_stop(&mut self) -> SDIO_PLL_CAL_STOP_W { SDIO_PLL_CAL_STOP_W::new(self, 5) } #[doc = "Bit 7 - Reserved"] #[inline(always)] - #[must_use] pub fn sys_pll_cal_stop(&mut self) -> SYS_PLL_CAL_STOP_W { SYS_PLL_CAL_STOP_W::new(self, 7) } #[doc = "Bit 9 - Reserved"] #[inline(always)] - #[must_use] pub fn mspi_cal_stop(&mut self) -> MSPI_CAL_STOP_W { MSPI_CAL_STOP_W::new(self, 9) } diff --git a/esp32p4/src/hp_sys_clkrst/clk_en0.rs b/esp32p4/src/hp_sys_clkrst/clk_en0.rs index 6cf4c4b055..b897b79657 100644 --- a/esp32p4/src/hp_sys_clkrst/clk_en0.rs +++ b/esp32p4/src/hp_sys_clkrst/clk_en0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32p4/src/hp_sys_clkrst/clk_force_on_ctrl0.rs b/esp32p4/src/hp_sys_clkrst/clk_force_on_ctrl0.rs index 7350455694..6e00ca5b92 100644 --- a/esp32p4/src/hp_sys_clkrst/clk_force_on_ctrl0.rs +++ b/esp32p4/src/hp_sys_clkrst/clk_force_on_ctrl0.rs @@ -215,7 +215,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn cpuicm_gated_clk_force_on( &mut self, ) -> CPUICM_GATED_CLK_FORCE_ON_W { @@ -223,13 +222,11 @@ impl W { } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn tcm_cpu_clk_force_on(&mut self) -> TCM_CPU_CLK_FORCE_ON_W { TCM_CPU_CLK_FORCE_ON_W::new(self, 1) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn busmon_cpu_clk_force_on( &mut self, ) -> BUSMON_CPU_CLK_FORCE_ON_W { @@ -237,7 +234,6 @@ impl W { } #[doc = "Bit 3 - Reserved"] #[inline(always)] - #[must_use] pub fn l1cache_cpu_clk_force_on( &mut self, ) -> L1CACHE_CPU_CLK_FORCE_ON_W { @@ -245,7 +241,6 @@ impl W { } #[doc = "Bit 4 - Reserved"] #[inline(always)] - #[must_use] pub fn l1cache_d_cpu_clk_force_on( &mut self, ) -> L1CACHE_D_CPU_CLK_FORCE_ON_W { @@ -253,7 +248,6 @@ impl W { } #[doc = "Bit 5 - Reserved"] #[inline(always)] - #[must_use] pub fn l1cache_i0_cpu_clk_force_on( &mut self, ) -> L1CACHE_I0_CPU_CLK_FORCE_ON_W { @@ -261,7 +255,6 @@ impl W { } #[doc = "Bit 6 - Reserved"] #[inline(always)] - #[must_use] pub fn l1cache_i1_cpu_clk_force_on( &mut self, ) -> L1CACHE_I1_CPU_CLK_FORCE_ON_W { @@ -269,19 +262,16 @@ impl W { } #[doc = "Bit 7 - Reserved"] #[inline(always)] - #[must_use] pub fn trace_cpu_clk_force_on(&mut self) -> TRACE_CPU_CLK_FORCE_ON_W { TRACE_CPU_CLK_FORCE_ON_W::new(self, 7) } #[doc = "Bit 8 - Reserved"] #[inline(always)] - #[must_use] pub fn trace_sys_clk_force_on(&mut self) -> TRACE_SYS_CLK_FORCE_ON_W { TRACE_SYS_CLK_FORCE_ON_W::new(self, 8) } #[doc = "Bit 9 - Reserved"] #[inline(always)] - #[must_use] pub fn l1cache_mem_clk_force_on( &mut self, ) -> L1CACHE_MEM_CLK_FORCE_ON_W { @@ -289,7 +279,6 @@ impl W { } #[doc = "Bit 10 - Reserved"] #[inline(always)] - #[must_use] pub fn l1cache_d_mem_clk_force_on( &mut self, ) -> L1CACHE_D_MEM_CLK_FORCE_ON_W { @@ -297,7 +286,6 @@ impl W { } #[doc = "Bit 11 - Reserved"] #[inline(always)] - #[must_use] pub fn l1cache_i0_mem_clk_force_on( &mut self, ) -> L1CACHE_I0_MEM_CLK_FORCE_ON_W { @@ -305,7 +293,6 @@ impl W { } #[doc = "Bit 12 - Reserved"] #[inline(always)] - #[must_use] pub fn l1cache_i1_mem_clk_force_on( &mut self, ) -> L1CACHE_I1_MEM_CLK_FORCE_ON_W { @@ -313,7 +300,6 @@ impl W { } #[doc = "Bit 13 - Reserved"] #[inline(always)] - #[must_use] pub fn l2cache_mem_clk_force_on( &mut self, ) -> L2CACHE_MEM_CLK_FORCE_ON_W { @@ -321,25 +307,21 @@ impl W { } #[doc = "Bit 14 - Reserved"] #[inline(always)] - #[must_use] pub fn l2mem_mem_clk_force_on(&mut self) -> L2MEM_MEM_CLK_FORCE_ON_W { L2MEM_MEM_CLK_FORCE_ON_W::new(self, 14) } #[doc = "Bit 15 - Reserved"] #[inline(always)] - #[must_use] pub fn sar1_clk_force_on(&mut self) -> SAR1_CLK_FORCE_ON_W { SAR1_CLK_FORCE_ON_W::new(self, 15) } #[doc = "Bit 16 - Reserved"] #[inline(always)] - #[must_use] pub fn sar2_clk_force_on(&mut self) -> SAR2_CLK_FORCE_ON_W { SAR2_CLK_FORCE_ON_W::new(self, 16) } #[doc = "Bit 17 - Reserved"] #[inline(always)] - #[must_use] pub fn gmac_tx_clk_force_on(&mut self) -> GMAC_TX_CLK_FORCE_ON_W { GMAC_TX_CLK_FORCE_ON_W::new(self, 17) } diff --git a/esp32p4/src/hp_sys_clkrst/dbg_clk_ctrl0.rs b/esp32p4/src/hp_sys_clkrst/dbg_clk_ctrl0.rs index 1d2750ef68..52c526eb03 100644 --- a/esp32p4/src/hp_sys_clkrst/dbg_clk_ctrl0.rs +++ b/esp32p4/src/hp_sys_clkrst/dbg_clk_ctrl0.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Reserved"] #[inline(always)] - #[must_use] pub fn dbg_ch0_sel(&mut self) -> DBG_CH0_SEL_W { DBG_CH0_SEL_W::new(self, 0) } #[doc = "Bits 8:15 - Reserved"] #[inline(always)] - #[must_use] pub fn dbg_ch1_sel(&mut self) -> DBG_CH1_SEL_W { DBG_CH1_SEL_W::new(self, 8) } #[doc = "Bits 16:23 - Reserved"] #[inline(always)] - #[must_use] pub fn dbg_ch2_sel(&mut self) -> DBG_CH2_SEL_W { DBG_CH2_SEL_W::new(self, 16) } #[doc = "Bits 24:31 - Reserved"] #[inline(always)] - #[must_use] pub fn dbg_ch0_div_num(&mut self) -> DBG_CH0_DIV_NUM_W { DBG_CH0_DIV_NUM_W::new(self, 24) } diff --git a/esp32p4/src/hp_sys_clkrst/dbg_clk_ctrl1.rs b/esp32p4/src/hp_sys_clkrst/dbg_clk_ctrl1.rs index 845e6e7c78..7dd7f398a6 100644 --- a/esp32p4/src/hp_sys_clkrst/dbg_clk_ctrl1.rs +++ b/esp32p4/src/hp_sys_clkrst/dbg_clk_ctrl1.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Reserved"] #[inline(always)] - #[must_use] pub fn dbg_ch1_div_num(&mut self) -> DBG_CH1_DIV_NUM_W { DBG_CH1_DIV_NUM_W::new(self, 0) } #[doc = "Bits 8:15 - Reserved"] #[inline(always)] - #[must_use] pub fn dbg_ch2_div_num(&mut self) -> DBG_CH2_DIV_NUM_W { DBG_CH2_DIV_NUM_W::new(self, 8) } #[doc = "Bit 16 - Reserved"] #[inline(always)] - #[must_use] pub fn dbg_ch0_en(&mut self) -> DBG_CH0_EN_W { DBG_CH0_EN_W::new(self, 16) } #[doc = "Bit 17 - Reserved"] #[inline(always)] - #[must_use] pub fn dbg_ch1_en(&mut self) -> DBG_CH1_EN_W { DBG_CH1_EN_W::new(self, 17) } #[doc = "Bit 18 - Reserved"] #[inline(always)] - #[must_use] pub fn dbg_ch2_en(&mut self) -> DBG_CH2_EN_W { DBG_CH2_EN_W::new(self, 18) } diff --git a/esp32p4/src/hp_sys_clkrst/dpa_ctrl0.rs b/esp32p4/src/hp_sys_clkrst/dpa_ctrl0.rs index 52b8dc2684..a8f09bfad4 100644 --- a/esp32p4/src/hp_sys_clkrst/dpa_ctrl0.rs +++ b/esp32p4/src/hp_sys_clkrst/dpa_ctrl0.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Reserved"] #[inline(always)] - #[must_use] pub fn sec_dpa_level(&mut self) -> SEC_DPA_LEVEL_W { SEC_DPA_LEVEL_W::new(self, 0) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn sec_dpa_cfg_sel(&mut self) -> SEC_DPA_CFG_SEL_W { SEC_DPA_CFG_SEL_W::new(self, 2) } diff --git a/esp32p4/src/hp_sys_clkrst/hp_force_norst0.rs b/esp32p4/src/hp_sys_clkrst/hp_force_norst0.rs index 8bf7dd601d..f2f21c2655 100644 --- a/esp32p4/src/hp_sys_clkrst/hp_force_norst0.rs +++ b/esp32p4/src/hp_sys_clkrst/hp_force_norst0.rs @@ -340,55 +340,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_core0(&mut self) -> FORCE_NORST_CORE0_W { FORCE_NORST_CORE0_W::new(self, 0) } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_core1(&mut self) -> FORCE_NORST_CORE1_W { FORCE_NORST_CORE1_W::new(self, 1) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_coretrace0(&mut self) -> FORCE_NORST_CORETRACE0_W { FORCE_NORST_CORETRACE0_W::new(self, 2) } #[doc = "Bit 3 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_coretrace1(&mut self) -> FORCE_NORST_CORETRACE1_W { FORCE_NORST_CORETRACE1_W::new(self, 3) } #[doc = "Bit 4 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_l2memmon(&mut self) -> FORCE_NORST_L2MEMMON_W { FORCE_NORST_L2MEMMON_W::new(self, 4) } #[doc = "Bit 5 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_tcmmon(&mut self) -> FORCE_NORST_TCMMON_W { FORCE_NORST_TCMMON_W::new(self, 5) } #[doc = "Bit 6 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_gdma(&mut self) -> FORCE_NORST_GDMA_W { FORCE_NORST_GDMA_W::new(self, 6) } #[doc = "Bit 7 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_mspi_axi(&mut self) -> FORCE_NORST_MSPI_AXI_W { FORCE_NORST_MSPI_AXI_W::new(self, 7) } #[doc = "Bit 8 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_dual_mspi_axi( &mut self, ) -> FORCE_NORST_DUAL_MSPI_AXI_W { @@ -396,13 +387,11 @@ impl W { } #[doc = "Bit 9 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_mspi_apb(&mut self) -> FORCE_NORST_MSPI_APB_W { FORCE_NORST_MSPI_APB_W::new(self, 9) } #[doc = "Bit 10 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_dual_mspi_apb( &mut self, ) -> FORCE_NORST_DUAL_MSPI_APB_W { @@ -410,127 +399,106 @@ impl W { } #[doc = "Bit 11 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_dsi_brg(&mut self) -> FORCE_NORST_DSI_BRG_W { FORCE_NORST_DSI_BRG_W::new(self, 11) } #[doc = "Bit 12 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_csi_host(&mut self) -> FORCE_NORST_CSI_HOST_W { FORCE_NORST_CSI_HOST_W::new(self, 12) } #[doc = "Bit 13 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_csi_brg(&mut self) -> FORCE_NORST_CSI_BRG_W { FORCE_NORST_CSI_BRG_W::new(self, 13) } #[doc = "Bit 14 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_isp(&mut self) -> FORCE_NORST_ISP_W { FORCE_NORST_ISP_W::new(self, 14) } #[doc = "Bit 15 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_jpeg(&mut self) -> FORCE_NORST_JPEG_W { FORCE_NORST_JPEG_W::new(self, 15) } #[doc = "Bit 16 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_dma2d(&mut self) -> FORCE_NORST_DMA2D_W { FORCE_NORST_DMA2D_W::new(self, 16) } #[doc = "Bit 17 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_ppa(&mut self) -> FORCE_NORST_PPA_W { FORCE_NORST_PPA_W::new(self, 17) } #[doc = "Bit 18 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_ahb_pdma(&mut self) -> FORCE_NORST_AHB_PDMA_W { FORCE_NORST_AHB_PDMA_W::new(self, 18) } #[doc = "Bit 19 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_axi_pdma(&mut self) -> FORCE_NORST_AXI_PDMA_W { FORCE_NORST_AXI_PDMA_W::new(self, 19) } #[doc = "Bit 20 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_iomux(&mut self) -> FORCE_NORST_IOMUX_W { FORCE_NORST_IOMUX_W::new(self, 20) } #[doc = "Bit 21 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_padbist(&mut self) -> FORCE_NORST_PADBIST_W { FORCE_NORST_PADBIST_W::new(self, 21) } #[doc = "Bit 22 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_stimer(&mut self) -> FORCE_NORST_STIMER_W { FORCE_NORST_STIMER_W::new(self, 22) } #[doc = "Bit 23 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_timergrp0(&mut self) -> FORCE_NORST_TIMERGRP0_W { FORCE_NORST_TIMERGRP0_W::new(self, 23) } #[doc = "Bit 24 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_timergrp1(&mut self) -> FORCE_NORST_TIMERGRP1_W { FORCE_NORST_TIMERGRP1_W::new(self, 24) } #[doc = "Bit 25 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_uart0(&mut self) -> FORCE_NORST_UART0_W { FORCE_NORST_UART0_W::new(self, 25) } #[doc = "Bit 26 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_uart1(&mut self) -> FORCE_NORST_UART1_W { FORCE_NORST_UART1_W::new(self, 26) } #[doc = "Bit 27 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_uart2(&mut self) -> FORCE_NORST_UART2_W { FORCE_NORST_UART2_W::new(self, 27) } #[doc = "Bit 28 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_uart3(&mut self) -> FORCE_NORST_UART3_W { FORCE_NORST_UART3_W::new(self, 28) } #[doc = "Bit 29 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_uart4(&mut self) -> FORCE_NORST_UART4_W { FORCE_NORST_UART4_W::new(self, 29) } #[doc = "Bit 30 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_uhci(&mut self) -> FORCE_NORST_UHCI_W { FORCE_NORST_UHCI_W::new(self, 30) } #[doc = "Bit 31 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_i3cmst(&mut self) -> FORCE_NORST_I3CMST_W { FORCE_NORST_I3CMST_W::new(self, 31) } diff --git a/esp32p4/src/hp_sys_clkrst/hp_force_norst1.rs b/esp32p4/src/hp_sys_clkrst/hp_force_norst1.rs index 966b4fd2bf..6e1b381b61 100644 --- a/esp32p4/src/hp_sys_clkrst/hp_force_norst1.rs +++ b/esp32p4/src/hp_sys_clkrst/hp_force_norst1.rs @@ -290,151 +290,126 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_i3cslv(&mut self) -> FORCE_NORST_I3CSLV_W { FORCE_NORST_I3CSLV_W::new(self, 0) } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_i2c1(&mut self) -> FORCE_NORST_I2C1_W { FORCE_NORST_I2C1_W::new(self, 1) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_i2c0(&mut self) -> FORCE_NORST_I2C0_W { FORCE_NORST_I2C0_W::new(self, 2) } #[doc = "Bit 3 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_rmt(&mut self) -> FORCE_NORST_RMT_W { FORCE_NORST_RMT_W::new(self, 3) } #[doc = "Bit 4 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_pwm0(&mut self) -> FORCE_NORST_PWM0_W { FORCE_NORST_PWM0_W::new(self, 4) } #[doc = "Bit 5 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_pwm1(&mut self) -> FORCE_NORST_PWM1_W { FORCE_NORST_PWM1_W::new(self, 5) } #[doc = "Bit 6 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_can0(&mut self) -> FORCE_NORST_CAN0_W { FORCE_NORST_CAN0_W::new(self, 6) } #[doc = "Bit 7 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_can1(&mut self) -> FORCE_NORST_CAN1_W { FORCE_NORST_CAN1_W::new(self, 7) } #[doc = "Bit 8 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_can2(&mut self) -> FORCE_NORST_CAN2_W { FORCE_NORST_CAN2_W::new(self, 8) } #[doc = "Bit 9 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_ledc(&mut self) -> FORCE_NORST_LEDC_W { FORCE_NORST_LEDC_W::new(self, 9) } #[doc = "Bit 10 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_pcnt(&mut self) -> FORCE_NORST_PCNT_W { FORCE_NORST_PCNT_W::new(self, 10) } #[doc = "Bit 11 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_etm(&mut self) -> FORCE_NORST_ETM_W { FORCE_NORST_ETM_W::new(self, 11) } #[doc = "Bit 12 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_intrmtx(&mut self) -> FORCE_NORST_INTRMTX_W { FORCE_NORST_INTRMTX_W::new(self, 12) } #[doc = "Bit 13 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_parlio(&mut self) -> FORCE_NORST_PARLIO_W { FORCE_NORST_PARLIO_W::new(self, 13) } #[doc = "Bit 14 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_parlio_rx(&mut self) -> FORCE_NORST_PARLIO_RX_W { FORCE_NORST_PARLIO_RX_W::new(self, 14) } #[doc = "Bit 15 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_parlio_tx(&mut self) -> FORCE_NORST_PARLIO_TX_W { FORCE_NORST_PARLIO_TX_W::new(self, 15) } #[doc = "Bit 16 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_i2s0(&mut self) -> FORCE_NORST_I2S0_W { FORCE_NORST_I2S0_W::new(self, 16) } #[doc = "Bit 17 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_i2s1(&mut self) -> FORCE_NORST_I2S1_W { FORCE_NORST_I2S1_W::new(self, 17) } #[doc = "Bit 18 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_i2s2(&mut self) -> FORCE_NORST_I2S2_W { FORCE_NORST_I2S2_W::new(self, 18) } #[doc = "Bit 19 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_spi2(&mut self) -> FORCE_NORST_SPI2_W { FORCE_NORST_SPI2_W::new(self, 19) } #[doc = "Bit 20 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_spi3(&mut self) -> FORCE_NORST_SPI3_W { FORCE_NORST_SPI3_W::new(self, 20) } #[doc = "Bit 21 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_lcdcam(&mut self) -> FORCE_NORST_LCDCAM_W { FORCE_NORST_LCDCAM_W::new(self, 21) } #[doc = "Bit 22 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_adc(&mut self) -> FORCE_NORST_ADC_W { FORCE_NORST_ADC_W::new(self, 22) } #[doc = "Bit 23 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_bitsrambler(&mut self) -> FORCE_NORST_BITSRAMBLER_W { FORCE_NORST_BITSRAMBLER_W::new(self, 23) } #[doc = "Bit 24 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_bitsrambler_rx( &mut self, ) -> FORCE_NORST_BITSRAMBLER_RX_W { @@ -442,7 +417,6 @@ impl W { } #[doc = "Bit 25 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_bitsrambler_tx( &mut self, ) -> FORCE_NORST_BITSRAMBLER_TX_W { @@ -450,7 +424,6 @@ impl W { } #[doc = "Bit 26 - Reserved"] #[inline(always)] - #[must_use] pub fn force_norst_h264(&mut self) -> FORCE_NORST_H264_W { FORCE_NORST_H264_W::new(self, 26) } diff --git a/esp32p4/src/hp_sys_clkrst/hp_rst_en0.rs b/esp32p4/src/hp_sys_clkrst/hp_rst_en0.rs index fb11457b59..eb0bd70319 100644 --- a/esp32p4/src/hp_sys_clkrst/hp_rst_en0.rs +++ b/esp32p4/src/hp_sys_clkrst/hp_rst_en0.rs @@ -334,193 +334,161 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_corectrl(&mut self) -> RST_EN_CORECTRL_W { RST_EN_CORECTRL_W::new(self, 0) } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_pvt_top(&mut self) -> RST_EN_PVT_TOP_W { RST_EN_PVT_TOP_W::new(self, 1) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_pvt_peri_group1(&mut self) -> RST_EN_PVT_PERI_GROUP1_W { RST_EN_PVT_PERI_GROUP1_W::new(self, 2) } #[doc = "Bit 3 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_pvt_peri_group2(&mut self) -> RST_EN_PVT_PERI_GROUP2_W { RST_EN_PVT_PERI_GROUP2_W::new(self, 3) } #[doc = "Bit 4 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_pvt_peri_group3(&mut self) -> RST_EN_PVT_PERI_GROUP3_W { RST_EN_PVT_PERI_GROUP3_W::new(self, 4) } #[doc = "Bit 5 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_pvt_peri_group4(&mut self) -> RST_EN_PVT_PERI_GROUP4_W { RST_EN_PVT_PERI_GROUP4_W::new(self, 5) } #[doc = "Bit 6 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_regdma(&mut self) -> RST_EN_REGDMA_W { RST_EN_REGDMA_W::new(self, 6) } #[doc = "Bit 7 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_core0_global(&mut self) -> RST_EN_CORE0_GLOBAL_W { RST_EN_CORE0_GLOBAL_W::new(self, 7) } #[doc = "Bit 8 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_core1_global(&mut self) -> RST_EN_CORE1_GLOBAL_W { RST_EN_CORE1_GLOBAL_W::new(self, 8) } #[doc = "Bit 9 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_coretrace0(&mut self) -> RST_EN_CORETRACE0_W { RST_EN_CORETRACE0_W::new(self, 9) } #[doc = "Bit 10 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_coretrace1(&mut self) -> RST_EN_CORETRACE1_W { RST_EN_CORETRACE1_W::new(self, 10) } #[doc = "Bit 11 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_hp_tcm(&mut self) -> RST_EN_HP_TCM_W { RST_EN_HP_TCM_W::new(self, 11) } #[doc = "Bit 12 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_hp_cache(&mut self) -> RST_EN_HP_CACHE_W { RST_EN_HP_CACHE_W::new(self, 12) } #[doc = "Bit 13 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_l1_i0_cache(&mut self) -> RST_EN_L1_I0_CACHE_W { RST_EN_L1_I0_CACHE_W::new(self, 13) } #[doc = "Bit 14 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_l1_i1_cache(&mut self) -> RST_EN_L1_I1_CACHE_W { RST_EN_L1_I1_CACHE_W::new(self, 14) } #[doc = "Bit 15 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_l1_d_cache(&mut self) -> RST_EN_L1_D_CACHE_W { RST_EN_L1_D_CACHE_W::new(self, 15) } #[doc = "Bit 16 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_l2_cache(&mut self) -> RST_EN_L2_CACHE_W { RST_EN_L2_CACHE_W::new(self, 16) } #[doc = "Bit 17 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_l2_mem(&mut self) -> RST_EN_L2_MEM_W { RST_EN_L2_MEM_W::new(self, 17) } #[doc = "Bit 18 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_l2memmon(&mut self) -> RST_EN_L2MEMMON_W { RST_EN_L2MEMMON_W::new(self, 18) } #[doc = "Bit 19 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_tcmmon(&mut self) -> RST_EN_TCMMON_W { RST_EN_TCMMON_W::new(self, 19) } #[doc = "Bit 20 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_pvt_apb(&mut self) -> RST_EN_PVT_APB_W { RST_EN_PVT_APB_W::new(self, 20) } #[doc = "Bit 21 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_gdma(&mut self) -> RST_EN_GDMA_W { RST_EN_GDMA_W::new(self, 21) } #[doc = "Bit 22 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_mspi_axi(&mut self) -> RST_EN_MSPI_AXI_W { RST_EN_MSPI_AXI_W::new(self, 22) } #[doc = "Bit 23 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_dual_mspi_axi(&mut self) -> RST_EN_DUAL_MSPI_AXI_W { RST_EN_DUAL_MSPI_AXI_W::new(self, 23) } #[doc = "Bit 24 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_mspi_apb(&mut self) -> RST_EN_MSPI_APB_W { RST_EN_MSPI_APB_W::new(self, 24) } #[doc = "Bit 25 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_dual_mspi_apb(&mut self) -> RST_EN_DUAL_MSPI_APB_W { RST_EN_DUAL_MSPI_APB_W::new(self, 25) } #[doc = "Bit 26 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_dsi_brg(&mut self) -> RST_EN_DSI_BRG_W { RST_EN_DSI_BRG_W::new(self, 26) } #[doc = "Bit 27 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_csi_host(&mut self) -> RST_EN_CSI_HOST_W { RST_EN_CSI_HOST_W::new(self, 27) } #[doc = "Bit 28 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_csi_brg(&mut self) -> RST_EN_CSI_BRG_W { RST_EN_CSI_BRG_W::new(self, 28) } #[doc = "Bit 29 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_isp(&mut self) -> RST_EN_ISP_W { RST_EN_ISP_W::new(self, 29) } #[doc = "Bit 30 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_jpeg(&mut self) -> RST_EN_JPEG_W { RST_EN_JPEG_W::new(self, 30) } #[doc = "Bit 31 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_dma2d(&mut self) -> RST_EN_DMA2D_W { RST_EN_DMA2D_W::new(self, 31) } diff --git a/esp32p4/src/hp_sys_clkrst/hp_rst_en1.rs b/esp32p4/src/hp_sys_clkrst/hp_rst_en1.rs index c8f554bc9e..50091f76f3 100644 --- a/esp32p4/src/hp_sys_clkrst/hp_rst_en1.rs +++ b/esp32p4/src/hp_sys_clkrst/hp_rst_en1.rs @@ -334,193 +334,161 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_ppa(&mut self) -> RST_EN_PPA_W { RST_EN_PPA_W::new(self, 0) } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_ahb_pdma(&mut self) -> RST_EN_AHB_PDMA_W { RST_EN_AHB_PDMA_W::new(self, 1) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_axi_pdma(&mut self) -> RST_EN_AXI_PDMA_W { RST_EN_AXI_PDMA_W::new(self, 2) } #[doc = "Bit 3 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_iomux(&mut self) -> RST_EN_IOMUX_W { RST_EN_IOMUX_W::new(self, 3) } #[doc = "Bit 4 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_padbist(&mut self) -> RST_EN_PADBIST_W { RST_EN_PADBIST_W::new(self, 4) } #[doc = "Bit 5 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_stimer(&mut self) -> RST_EN_STIMER_W { RST_EN_STIMER_W::new(self, 5) } #[doc = "Bit 6 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_timergrp0(&mut self) -> RST_EN_TIMERGRP0_W { RST_EN_TIMERGRP0_W::new(self, 6) } #[doc = "Bit 7 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_timergrp1(&mut self) -> RST_EN_TIMERGRP1_W { RST_EN_TIMERGRP1_W::new(self, 7) } #[doc = "Bit 8 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_uart0_core(&mut self) -> RST_EN_UART0_CORE_W { RST_EN_UART0_CORE_W::new(self, 8) } #[doc = "Bit 9 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_uart1_core(&mut self) -> RST_EN_UART1_CORE_W { RST_EN_UART1_CORE_W::new(self, 9) } #[doc = "Bit 10 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_uart2_core(&mut self) -> RST_EN_UART2_CORE_W { RST_EN_UART2_CORE_W::new(self, 10) } #[doc = "Bit 11 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_uart3_core(&mut self) -> RST_EN_UART3_CORE_W { RST_EN_UART3_CORE_W::new(self, 11) } #[doc = "Bit 12 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_uart4_core(&mut self) -> RST_EN_UART4_CORE_W { RST_EN_UART4_CORE_W::new(self, 12) } #[doc = "Bit 13 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_uart0_apb(&mut self) -> RST_EN_UART0_APB_W { RST_EN_UART0_APB_W::new(self, 13) } #[doc = "Bit 14 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_uart1_apb(&mut self) -> RST_EN_UART1_APB_W { RST_EN_UART1_APB_W::new(self, 14) } #[doc = "Bit 15 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_uart2_apb(&mut self) -> RST_EN_UART2_APB_W { RST_EN_UART2_APB_W::new(self, 15) } #[doc = "Bit 16 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_uart3_apb(&mut self) -> RST_EN_UART3_APB_W { RST_EN_UART3_APB_W::new(self, 16) } #[doc = "Bit 17 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_uart4_apb(&mut self) -> RST_EN_UART4_APB_W { RST_EN_UART4_APB_W::new(self, 17) } #[doc = "Bit 18 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_uhci(&mut self) -> RST_EN_UHCI_W { RST_EN_UHCI_W::new(self, 18) } #[doc = "Bit 19 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_i3cmst(&mut self) -> RST_EN_I3CMST_W { RST_EN_I3CMST_W::new(self, 19) } #[doc = "Bit 20 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_i3cslv(&mut self) -> RST_EN_I3CSLV_W { RST_EN_I3CSLV_W::new(self, 20) } #[doc = "Bit 21 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_i2c1(&mut self) -> RST_EN_I2C1_W { RST_EN_I2C1_W::new(self, 21) } #[doc = "Bit 22 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_i2c0(&mut self) -> RST_EN_I2C0_W { RST_EN_I2C0_W::new(self, 22) } #[doc = "Bit 23 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_rmt(&mut self) -> RST_EN_RMT_W { RST_EN_RMT_W::new(self, 23) } #[doc = "Bit 24 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_pwm0(&mut self) -> RST_EN_PWM0_W { RST_EN_PWM0_W::new(self, 24) } #[doc = "Bit 25 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_pwm1(&mut self) -> RST_EN_PWM1_W { RST_EN_PWM1_W::new(self, 25) } #[doc = "Bit 26 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_can0(&mut self) -> RST_EN_CAN0_W { RST_EN_CAN0_W::new(self, 26) } #[doc = "Bit 27 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_can1(&mut self) -> RST_EN_CAN1_W { RST_EN_CAN1_W::new(self, 27) } #[doc = "Bit 28 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_can2(&mut self) -> RST_EN_CAN2_W { RST_EN_CAN2_W::new(self, 28) } #[doc = "Bit 29 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_ledc(&mut self) -> RST_EN_LEDC_W { RST_EN_LEDC_W::new(self, 29) } #[doc = "Bit 30 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_pcnt(&mut self) -> RST_EN_PCNT_W { RST_EN_PCNT_W::new(self, 30) } #[doc = "Bit 31 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_etm(&mut self) -> RST_EN_ETM_W { RST_EN_ETM_W::new(self, 31) } diff --git a/esp32p4/src/hp_sys_clkrst/hp_rst_en2.rs b/esp32p4/src/hp_sys_clkrst/hp_rst_en2.rs index 64002b737a..e09db91307 100644 --- a/esp32p4/src/hp_sys_clkrst/hp_rst_en2.rs +++ b/esp32p4/src/hp_sys_clkrst/hp_rst_en2.rs @@ -264,151 +264,126 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_intrmtx(&mut self) -> RST_EN_INTRMTX_W { RST_EN_INTRMTX_W::new(self, 0) } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_parlio(&mut self) -> RST_EN_PARLIO_W { RST_EN_PARLIO_W::new(self, 1) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_parlio_rx(&mut self) -> RST_EN_PARLIO_RX_W { RST_EN_PARLIO_RX_W::new(self, 2) } #[doc = "Bit 3 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_parlio_tx(&mut self) -> RST_EN_PARLIO_TX_W { RST_EN_PARLIO_TX_W::new(self, 3) } #[doc = "Bit 4 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_i2s0_apb(&mut self) -> RST_EN_I2S0_APB_W { RST_EN_I2S0_APB_W::new(self, 4) } #[doc = "Bit 5 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_i2s1_apb(&mut self) -> RST_EN_I2S1_APB_W { RST_EN_I2S1_APB_W::new(self, 5) } #[doc = "Bit 6 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_i2s2_apb(&mut self) -> RST_EN_I2S2_APB_W { RST_EN_I2S2_APB_W::new(self, 6) } #[doc = "Bit 7 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_spi2(&mut self) -> RST_EN_SPI2_W { RST_EN_SPI2_W::new(self, 7) } #[doc = "Bit 8 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_spi3(&mut self) -> RST_EN_SPI3_W { RST_EN_SPI3_W::new(self, 8) } #[doc = "Bit 9 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_lcdcam(&mut self) -> RST_EN_LCDCAM_W { RST_EN_LCDCAM_W::new(self, 9) } #[doc = "Bit 10 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_adc(&mut self) -> RST_EN_ADC_W { RST_EN_ADC_W::new(self, 10) } #[doc = "Bit 11 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_bitsrambler(&mut self) -> RST_EN_BITSRAMBLER_W { RST_EN_BITSRAMBLER_W::new(self, 11) } #[doc = "Bit 12 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_bitsrambler_rx(&mut self) -> RST_EN_BITSRAMBLER_RX_W { RST_EN_BITSRAMBLER_RX_W::new(self, 12) } #[doc = "Bit 13 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_bitsrambler_tx(&mut self) -> RST_EN_BITSRAMBLER_TX_W { RST_EN_BITSRAMBLER_TX_W::new(self, 13) } #[doc = "Bit 14 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_crypto(&mut self) -> RST_EN_CRYPTO_W { RST_EN_CRYPTO_W::new(self, 14) } #[doc = "Bit 15 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_sec(&mut self) -> RST_EN_SEC_W { RST_EN_SEC_W::new(self, 15) } #[doc = "Bit 16 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_aes(&mut self) -> RST_EN_AES_W { RST_EN_AES_W::new(self, 16) } #[doc = "Bit 17 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_ds(&mut self) -> RST_EN_DS_W { RST_EN_DS_W::new(self, 17) } #[doc = "Bit 18 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_sha(&mut self) -> RST_EN_SHA_W { RST_EN_SHA_W::new(self, 18) } #[doc = "Bit 19 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_hmac(&mut self) -> RST_EN_HMAC_W { RST_EN_HMAC_W::new(self, 19) } #[doc = "Bit 20 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_ecdsa(&mut self) -> RST_EN_ECDSA_W { RST_EN_ECDSA_W::new(self, 20) } #[doc = "Bit 21 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_rsa(&mut self) -> RST_EN_RSA_W { RST_EN_RSA_W::new(self, 21) } #[doc = "Bit 22 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_ecc(&mut self) -> RST_EN_ECC_W { RST_EN_ECC_W::new(self, 22) } #[doc = "Bit 23 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_km(&mut self) -> RST_EN_KM_W { RST_EN_KM_W::new(self, 23) } #[doc = "Bit 24 - Reserved"] #[inline(always)] - #[must_use] pub fn rst_en_h264(&mut self) -> RST_EN_H264_W { RST_EN_H264_W::new(self, 24) } diff --git a/esp32p4/src/hp_sys_clkrst/hpcore_wdt_reset_source0.rs b/esp32p4/src/hp_sys_clkrst/hpcore_wdt_reset_source0.rs index bcd6f27c6b..6fecb103fc 100644 --- a/esp32p4/src/hp_sys_clkrst/hpcore_wdt_reset_source0.rs +++ b/esp32p4/src/hp_sys_clkrst/hpcore_wdt_reset_source0.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1'b0: use wdt0 to reset hpcore0, 1'b1: use wdt1 to reset hpcore0"] #[inline(always)] - #[must_use] pub fn hpcore0_wdt_reset_source_sel( &mut self, ) -> HPCORE0_WDT_RESET_SOURCE_SEL_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bit 1 - 1'b0: use wdt0 to reset hpcore1, 1'b1: use wdt1 to reset hpcore1"] #[inline(always)] - #[must_use] pub fn hpcore1_wdt_reset_source_sel( &mut self, ) -> HPCORE1_WDT_RESET_SOURCE_SEL_W { diff --git a/esp32p4/src/hp_sys_clkrst/hpwdt_core0_rst_ctrl0.rs b/esp32p4/src/hp_sys_clkrst/hpwdt_core0_rst_ctrl0.rs index 062b4d18bd..a8358f9311 100644 --- a/esp32p4/src/hp_sys_clkrst/hpwdt_core0_rst_ctrl0.rs +++ b/esp32p4/src/hp_sys_clkrst/hpwdt_core0_rst_ctrl0.rs @@ -44,13 +44,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn hpcore0_stall_en(&mut self) -> HPCORE0_STALL_EN_W { HPCORE0_STALL_EN_W::new(self, 0) } #[doc = "Bits 1:8 - Reserved"] #[inline(always)] - #[must_use] pub fn hpcore0_stall_wait_num( &mut self, ) -> HPCORE0_STALL_WAIT_NUM_W { @@ -58,7 +56,6 @@ impl W { } #[doc = "Bits 9:16 - Reserved"] #[inline(always)] - #[must_use] pub fn wdt_hpcore0_rst_len(&mut self) -> WDT_HPCORE0_RST_LEN_W { WDT_HPCORE0_RST_LEN_W::new(self, 9) } diff --git a/esp32p4/src/hp_sys_clkrst/hpwdt_core1_rst_ctrl0.rs b/esp32p4/src/hp_sys_clkrst/hpwdt_core1_rst_ctrl0.rs index 9c7ea4d076..7550f12108 100644 --- a/esp32p4/src/hp_sys_clkrst/hpwdt_core1_rst_ctrl0.rs +++ b/esp32p4/src/hp_sys_clkrst/hpwdt_core1_rst_ctrl0.rs @@ -44,13 +44,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn hpcore1_stall_en(&mut self) -> HPCORE1_STALL_EN_W { HPCORE1_STALL_EN_W::new(self, 0) } #[doc = "Bits 1:8 - Reserved"] #[inline(always)] - #[must_use] pub fn hpcore1_stall_wait_num( &mut self, ) -> HPCORE1_STALL_WAIT_NUM_W { @@ -58,7 +56,6 @@ impl W { } #[doc = "Bits 9:16 - Reserved"] #[inline(always)] - #[must_use] pub fn wdt_hpcore1_rst_len(&mut self) -> WDT_HPCORE1_RST_LEN_W { WDT_HPCORE1_RST_LEN_W::new(self, 9) } diff --git a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl00.rs b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl00.rs index 8ce44ef276..02cfae2b0e 100644 --- a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl00.rs +++ b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl00.rs @@ -144,79 +144,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Reserved"] #[inline(always)] - #[must_use] pub fn flash_clk_src_sel(&mut self) -> FLASH_CLK_SRC_SEL_W { FLASH_CLK_SRC_SEL_W::new(self, 0) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn flash_pll_clk_en(&mut self) -> FLASH_PLL_CLK_EN_W { FLASH_PLL_CLK_EN_W::new(self, 2) } #[doc = "Bit 3 - Reserved"] #[inline(always)] - #[must_use] pub fn flash_core_clk_en(&mut self) -> FLASH_CORE_CLK_EN_W { FLASH_CORE_CLK_EN_W::new(self, 3) } #[doc = "Bits 4:11 - Reserved"] #[inline(always)] - #[must_use] pub fn flash_core_clk_div_num(&mut self) -> FLASH_CORE_CLK_DIV_NUM_W { FLASH_CORE_CLK_DIV_NUM_W::new(self, 4) } #[doc = "Bits 12:13 - Reserved"] #[inline(always)] - #[must_use] pub fn psram_clk_src_sel(&mut self) -> PSRAM_CLK_SRC_SEL_W { PSRAM_CLK_SRC_SEL_W::new(self, 12) } #[doc = "Bit 14 - Reserved"] #[inline(always)] - #[must_use] pub fn psram_pll_clk_en(&mut self) -> PSRAM_PLL_CLK_EN_W { PSRAM_PLL_CLK_EN_W::new(self, 14) } #[doc = "Bit 15 - Reserved"] #[inline(always)] - #[must_use] pub fn psram_core_clk_en(&mut self) -> PSRAM_CORE_CLK_EN_W { PSRAM_CORE_CLK_EN_W::new(self, 15) } #[doc = "Bits 16:23 - Reserved"] #[inline(always)] - #[must_use] pub fn psram_core_clk_div_num(&mut self) -> PSRAM_CORE_CLK_DIV_NUM_W { PSRAM_CORE_CLK_DIV_NUM_W::new(self, 16) } #[doc = "Bit 24 - Reserved"] #[inline(always)] - #[must_use] pub fn pad_emac_ref_clk_en(&mut self) -> PAD_EMAC_REF_CLK_EN_W { PAD_EMAC_REF_CLK_EN_W::new(self, 24) } #[doc = "Bits 25:26 - Reserved"] #[inline(always)] - #[must_use] pub fn emac_rmii_clk_src_sel(&mut self) -> EMAC_RMII_CLK_SRC_SEL_W { EMAC_RMII_CLK_SRC_SEL_W::new(self, 25) } #[doc = "Bit 27 - Reserved"] #[inline(always)] - #[must_use] pub fn emac_rmii_clk_en(&mut self) -> EMAC_RMII_CLK_EN_W { EMAC_RMII_CLK_EN_W::new(self, 27) } #[doc = "Bit 28 - Reserved"] #[inline(always)] - #[must_use] pub fn emac_rx_clk_src_sel(&mut self) -> EMAC_RX_CLK_SRC_SEL_W { EMAC_RX_CLK_SRC_SEL_W::new(self, 28) } #[doc = "Bit 29 - Reserved"] #[inline(always)] - #[must_use] pub fn emac_rx_clk_en(&mut self) -> EMAC_RX_CLK_EN_W { EMAC_RX_CLK_EN_W::new(self, 29) } diff --git a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl01.rs b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl01.rs index 76673e0a02..87a478933c 100644 --- a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl01.rs +++ b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl01.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Reserved"] #[inline(always)] - #[must_use] pub fn emac_rx_clk_div_num(&mut self) -> EMAC_RX_CLK_DIV_NUM_W { EMAC_RX_CLK_DIV_NUM_W::new(self, 0) } #[doc = "Bit 8 - Reserved"] #[inline(always)] - #[must_use] pub fn emac_tx_clk_src_sel(&mut self) -> EMAC_TX_CLK_SRC_SEL_W { EMAC_TX_CLK_SRC_SEL_W::new(self, 8) } #[doc = "Bit 9 - Reserved"] #[inline(always)] - #[must_use] pub fn emac_tx_clk_en(&mut self) -> EMAC_TX_CLK_EN_W { EMAC_TX_CLK_EN_W::new(self, 9) } #[doc = "Bits 10:17 - Reserved"] #[inline(always)] - #[must_use] pub fn emac_tx_clk_div_num(&mut self) -> EMAC_TX_CLK_DIV_NUM_W { EMAC_TX_CLK_DIV_NUM_W::new(self, 10) } #[doc = "Bit 18 - Reserved"] #[inline(always)] - #[must_use] pub fn emac_ptp_ref_clk_src_sel(&mut self) -> EMAC_PTP_REF_CLK_SRC_SEL_W { EMAC_PTP_REF_CLK_SRC_SEL_W::new(self, 18) } #[doc = "Bit 19 - Reserved"] #[inline(always)] - #[must_use] pub fn emac_ptp_ref_clk_en(&mut self) -> EMAC_PTP_REF_CLK_EN_W { EMAC_PTP_REF_CLK_EN_W::new(self, 19) } #[doc = "Bit 20 - Reserved"] #[inline(always)] - #[must_use] pub fn emac_unused0_clk_en(&mut self) -> EMAC_UNUSED0_CLK_EN_W { EMAC_UNUSED0_CLK_EN_W::new(self, 20) } #[doc = "Bit 21 - Reserved"] #[inline(always)] - #[must_use] pub fn emac_unused1_clk_en(&mut self) -> EMAC_UNUSED1_CLK_EN_W { EMAC_UNUSED1_CLK_EN_W::new(self, 21) } #[doc = "Bit 22 - Reserved"] #[inline(always)] - #[must_use] pub fn sdio_hs_mode(&mut self) -> SDIO_HS_MODE_W { SDIO_HS_MODE_W::new(self, 22) } #[doc = "Bit 23 - Reserved"] #[inline(always)] - #[must_use] pub fn sdio_ls_clk_src_sel(&mut self) -> SDIO_LS_CLK_SRC_SEL_W { SDIO_LS_CLK_SRC_SEL_W::new(self, 23) } #[doc = "Bit 24 - Reserved"] #[inline(always)] - #[must_use] pub fn sdio_ls_clk_en(&mut self) -> SDIO_LS_CLK_EN_W { SDIO_LS_CLK_EN_W::new(self, 24) } diff --git a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl02.rs b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl02.rs index e75129bbcb..0288be9cb8 100644 --- a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl02.rs +++ b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl02.rs @@ -129,13 +129,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Reserved"] #[inline(always)] - #[must_use] pub fn sdio_ls_clk_div_num(&mut self) -> SDIO_LS_CLK_DIV_NUM_W { SDIO_LS_CLK_DIV_NUM_W::new(self, 0) } #[doc = "Bit 8 - Reserved"] #[inline(always)] - #[must_use] pub fn sdio_ls_clk_edge_cfg_update( &mut self, ) -> SDIO_LS_CLK_EDGE_CFG_UPDATE_W { @@ -143,61 +141,51 @@ impl W { } #[doc = "Bits 9:12 - Reserved"] #[inline(always)] - #[must_use] pub fn sdio_ls_clk_edge_l(&mut self) -> SDIO_LS_CLK_EDGE_L_W { SDIO_LS_CLK_EDGE_L_W::new(self, 9) } #[doc = "Bits 13:16 - Reserved"] #[inline(always)] - #[must_use] pub fn sdio_ls_clk_edge_h(&mut self) -> SDIO_LS_CLK_EDGE_H_W { SDIO_LS_CLK_EDGE_H_W::new(self, 13) } #[doc = "Bits 17:20 - Reserved"] #[inline(always)] - #[must_use] pub fn sdio_ls_clk_edge_n(&mut self) -> SDIO_LS_CLK_EDGE_N_W { SDIO_LS_CLK_EDGE_N_W::new(self, 17) } #[doc = "Bits 21:22 - Reserved"] #[inline(always)] - #[must_use] pub fn sdio_ls_slf_clk_edge_sel(&mut self) -> SDIO_LS_SLF_CLK_EDGE_SEL_W { SDIO_LS_SLF_CLK_EDGE_SEL_W::new(self, 21) } #[doc = "Bits 23:24 - Reserved"] #[inline(always)] - #[must_use] pub fn sdio_ls_drv_clk_edge_sel(&mut self) -> SDIO_LS_DRV_CLK_EDGE_SEL_W { SDIO_LS_DRV_CLK_EDGE_SEL_W::new(self, 23) } #[doc = "Bits 25:26 - Reserved"] #[inline(always)] - #[must_use] pub fn sdio_ls_sam_clk_edge_sel(&mut self) -> SDIO_LS_SAM_CLK_EDGE_SEL_W { SDIO_LS_SAM_CLK_EDGE_SEL_W::new(self, 25) } #[doc = "Bit 27 - Reserved"] #[inline(always)] - #[must_use] pub fn sdio_ls_slf_clk_en(&mut self) -> SDIO_LS_SLF_CLK_EN_W { SDIO_LS_SLF_CLK_EN_W::new(self, 27) } #[doc = "Bit 28 - Reserved"] #[inline(always)] - #[must_use] pub fn sdio_ls_drv_clk_en(&mut self) -> SDIO_LS_DRV_CLK_EN_W { SDIO_LS_DRV_CLK_EN_W::new(self, 28) } #[doc = "Bit 29 - Reserved"] #[inline(always)] - #[must_use] pub fn sdio_ls_sam_clk_en(&mut self) -> SDIO_LS_SAM_CLK_EN_W { SDIO_LS_SAM_CLK_EN_W::new(self, 29) } #[doc = "Bits 30:31 - Reserved"] #[inline(always)] - #[must_use] pub fn mipi_dsi_dphy_clk_src_sel( &mut self, ) -> MIPI_DSI_DPHY_CLK_SRC_SEL_W { diff --git a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl03.rs b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl03.rs index 5120b29f6f..807b604243 100644 --- a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl03.rs +++ b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl03.rs @@ -90,13 +90,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn mipi_dsi_dphy_cfg_clk_en(&mut self) -> MIPI_DSI_DPHY_CFG_CLK_EN_W { MIPI_DSI_DPHY_CFG_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn mipi_dsi_dphy_pll_refclk_en( &mut self, ) -> MIPI_DSI_DPHY_PLL_REFCLK_EN_W { @@ -104,7 +102,6 @@ impl W { } #[doc = "Bits 2:3 - Reserved"] #[inline(always)] - #[must_use] pub fn mipi_csi_dphy_clk_src_sel( &mut self, ) -> MIPI_CSI_DPHY_CLK_SRC_SEL_W { @@ -112,25 +109,21 @@ impl W { } #[doc = "Bit 4 - Reserved"] #[inline(always)] - #[must_use] pub fn mipi_csi_dphy_cfg_clk_en(&mut self) -> MIPI_CSI_DPHY_CFG_CLK_EN_W { MIPI_CSI_DPHY_CFG_CLK_EN_W::new(self, 4) } #[doc = "Bits 5:6 - Reserved"] #[inline(always)] - #[must_use] pub fn mipi_dsi_dpiclk_src_sel(&mut self) -> MIPI_DSI_DPICLK_SRC_SEL_W { MIPI_DSI_DPICLK_SRC_SEL_W::new(self, 5) } #[doc = "Bit 7 - Reserved"] #[inline(always)] - #[must_use] pub fn mipi_dsi_dpiclk_en(&mut self) -> MIPI_DSI_DPICLK_EN_W { MIPI_DSI_DPICLK_EN_W::new(self, 7) } #[doc = "Bits 8:15 - Reserved"] #[inline(always)] - #[must_use] pub fn mipi_dsi_dpiclk_div_num(&mut self) -> MIPI_DSI_DPICLK_DIV_NUM_W { MIPI_DSI_DPICLK_DIV_NUM_W::new(self, 8) } diff --git a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl10.rs b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl10.rs index 477c91a9c2..02b905c48b 100644 --- a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl10.rs +++ b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl10.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn i2c0_clk_src_sel(&mut self) -> I2C0_CLK_SRC_SEL_W { I2C0_CLK_SRC_SEL_W::new(self, 0) } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn i2c0_clk_en(&mut self) -> I2C0_CLK_EN_W { I2C0_CLK_EN_W::new(self, 1) } #[doc = "Bits 2:9 - Reserved"] #[inline(always)] - #[must_use] pub fn i2c0_clk_div_num(&mut self) -> I2C0_CLK_DIV_NUM_W { I2C0_CLK_DIV_NUM_W::new(self, 2) } #[doc = "Bits 10:17 - Reserved"] #[inline(always)] - #[must_use] pub fn i2c0_clk_div_numerator(&mut self) -> I2C0_CLK_DIV_NUMERATOR_W { I2C0_CLK_DIV_NUMERATOR_W::new(self, 10) } #[doc = "Bits 18:25 - Reserved"] #[inline(always)] - #[must_use] pub fn i2c0_clk_div_denominator(&mut self) -> I2C0_CLK_DIV_DENOMINATOR_W { I2C0_CLK_DIV_DENOMINATOR_W::new(self, 18) } #[doc = "Bit 26 - Reserved"] #[inline(always)] - #[must_use] pub fn i2c1_clk_src_sel(&mut self) -> I2C1_CLK_SRC_SEL_W { I2C1_CLK_SRC_SEL_W::new(self, 26) } #[doc = "Bit 27 - Reserved"] #[inline(always)] - #[must_use] pub fn i2c1_clk_en(&mut self) -> I2C1_CLK_EN_W { I2C1_CLK_EN_W::new(self, 27) } diff --git a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl11.rs b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl11.rs index 2dfbdc5762..bdcbe7dc52 100644 --- a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl11.rs +++ b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl11.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Reserved"] #[inline(always)] - #[must_use] pub fn i2c1_clk_div_num(&mut self) -> I2C1_CLK_DIV_NUM_W { I2C1_CLK_DIV_NUM_W::new(self, 0) } #[doc = "Bits 8:15 - Reserved"] #[inline(always)] - #[must_use] pub fn i2c1_clk_div_numerator(&mut self) -> I2C1_CLK_DIV_NUMERATOR_W { I2C1_CLK_DIV_NUMERATOR_W::new(self, 8) } #[doc = "Bits 16:23 - Reserved"] #[inline(always)] - #[must_use] pub fn i2c1_clk_div_denominator(&mut self) -> I2C1_CLK_DIV_DENOMINATOR_W { I2C1_CLK_DIV_DENOMINATOR_W::new(self, 16) } #[doc = "Bit 24 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s0_rx_clk_en(&mut self) -> I2S0_RX_CLK_EN_W { I2S0_RX_CLK_EN_W::new(self, 24) } #[doc = "Bits 25:26 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s0_rx_clk_src_sel(&mut self) -> I2S0_RX_CLK_SRC_SEL_W { I2S0_RX_CLK_SRC_SEL_W::new(self, 25) } diff --git a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl110.rs b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl110.rs index 3fab817d8b..c30ae1c532 100644 --- a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl110.rs +++ b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl110.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Reserved"] #[inline(always)] - #[must_use] pub fn lcd_clk_div_num(&mut self) -> LCD_CLK_DIV_NUM_W { LCD_CLK_DIV_NUM_W::new(self, 0) } #[doc = "Bits 8:15 - Reserved"] #[inline(always)] - #[must_use] pub fn lcd_clk_div_numerator(&mut self) -> LCD_CLK_DIV_NUMERATOR_W { LCD_CLK_DIV_NUMERATOR_W::new(self, 8) } #[doc = "Bits 16:23 - Reserved"] #[inline(always)] - #[must_use] pub fn lcd_clk_div_denominator(&mut self) -> LCD_CLK_DIV_DENOMINATOR_W { LCD_CLK_DIV_DENOMINATOR_W::new(self, 16) } #[doc = "Bits 24:25 - Reserved"] #[inline(always)] - #[must_use] pub fn uart0_clk_src_sel(&mut self) -> UART0_CLK_SRC_SEL_W { UART0_CLK_SRC_SEL_W::new(self, 24) } #[doc = "Bit 26 - Reserved"] #[inline(always)] - #[must_use] pub fn uart0_clk_en(&mut self) -> UART0_CLK_EN_W { UART0_CLK_EN_W::new(self, 26) } diff --git a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl111.rs b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl111.rs index 6f90ad6b4c..206965e3fc 100644 --- a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl111.rs +++ b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl111.rs @@ -67,13 +67,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Reserved"] #[inline(always)] - #[must_use] pub fn uart0_sclk_div_num(&mut self) -> UART0_SCLK_DIV_NUM_W { UART0_SCLK_DIV_NUM_W::new(self, 0) } #[doc = "Bits 8:15 - Reserved"] #[inline(always)] - #[must_use] pub fn uart0_sclk_div_numerator( &mut self, ) -> UART0_SCLK_DIV_NUMERATOR_W { @@ -81,7 +79,6 @@ impl W { } #[doc = "Bits 16:23 - Reserved"] #[inline(always)] - #[must_use] pub fn uart0_sclk_div_denominator( &mut self, ) -> UART0_SCLK_DIV_DENOMINATOR_W { @@ -89,13 +86,11 @@ impl W { } #[doc = "Bits 24:25 - Reserved"] #[inline(always)] - #[must_use] pub fn uart1_clk_src_sel(&mut self) -> UART1_CLK_SRC_SEL_W { UART1_CLK_SRC_SEL_W::new(self, 24) } #[doc = "Bit 26 - Reserved"] #[inline(always)] - #[must_use] pub fn uart1_clk_en(&mut self) -> UART1_CLK_EN_W { UART1_CLK_EN_W::new(self, 26) } diff --git a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl112.rs b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl112.rs index cfd197ba5e..6ecde0d195 100644 --- a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl112.rs +++ b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl112.rs @@ -67,13 +67,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Reserved"] #[inline(always)] - #[must_use] pub fn uart1_sclk_div_num(&mut self) -> UART1_SCLK_DIV_NUM_W { UART1_SCLK_DIV_NUM_W::new(self, 0) } #[doc = "Bits 8:15 - Reserved"] #[inline(always)] - #[must_use] pub fn uart1_sclk_div_numerator( &mut self, ) -> UART1_SCLK_DIV_NUMERATOR_W { @@ -81,7 +79,6 @@ impl W { } #[doc = "Bits 16:23 - Reserved"] #[inline(always)] - #[must_use] pub fn uart1_sclk_div_denominator( &mut self, ) -> UART1_SCLK_DIV_DENOMINATOR_W { @@ -89,13 +86,11 @@ impl W { } #[doc = "Bits 24:25 - Reserved"] #[inline(always)] - #[must_use] pub fn uart2_clk_src_sel(&mut self) -> UART2_CLK_SRC_SEL_W { UART2_CLK_SRC_SEL_W::new(self, 24) } #[doc = "Bit 26 - Reserved"] #[inline(always)] - #[must_use] pub fn uart2_clk_en(&mut self) -> UART2_CLK_EN_W { UART2_CLK_EN_W::new(self, 26) } diff --git a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl113.rs b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl113.rs index b2f272be3c..f272798e01 100644 --- a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl113.rs +++ b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl113.rs @@ -67,13 +67,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Reserved"] #[inline(always)] - #[must_use] pub fn uart2_sclk_div_num(&mut self) -> UART2_SCLK_DIV_NUM_W { UART2_SCLK_DIV_NUM_W::new(self, 0) } #[doc = "Bits 8:15 - Reserved"] #[inline(always)] - #[must_use] pub fn uart2_sclk_div_numerator( &mut self, ) -> UART2_SCLK_DIV_NUMERATOR_W { @@ -81,7 +79,6 @@ impl W { } #[doc = "Bits 16:23 - Reserved"] #[inline(always)] - #[must_use] pub fn uart2_sclk_div_denominator( &mut self, ) -> UART2_SCLK_DIV_DENOMINATOR_W { @@ -89,13 +86,11 @@ impl W { } #[doc = "Bits 24:25 - Reserved"] #[inline(always)] - #[must_use] pub fn uart3_clk_src_sel(&mut self) -> UART3_CLK_SRC_SEL_W { UART3_CLK_SRC_SEL_W::new(self, 24) } #[doc = "Bit 26 - Reserved"] #[inline(always)] - #[must_use] pub fn uart3_clk_en(&mut self) -> UART3_CLK_EN_W { UART3_CLK_EN_W::new(self, 26) } diff --git a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl114.rs b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl114.rs index 63004ac543..cfd489c51b 100644 --- a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl114.rs +++ b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl114.rs @@ -67,13 +67,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Reserved"] #[inline(always)] - #[must_use] pub fn uart3_sclk_div_num(&mut self) -> UART3_SCLK_DIV_NUM_W { UART3_SCLK_DIV_NUM_W::new(self, 0) } #[doc = "Bits 8:15 - Reserved"] #[inline(always)] - #[must_use] pub fn uart3_sclk_div_numerator( &mut self, ) -> UART3_SCLK_DIV_NUMERATOR_W { @@ -81,7 +79,6 @@ impl W { } #[doc = "Bits 16:23 - Reserved"] #[inline(always)] - #[must_use] pub fn uart3_sclk_div_denominator( &mut self, ) -> UART3_SCLK_DIV_DENOMINATOR_W { @@ -89,13 +86,11 @@ impl W { } #[doc = "Bits 24:25 - Reserved"] #[inline(always)] - #[must_use] pub fn uart4_clk_src_sel(&mut self) -> UART4_CLK_SRC_SEL_W { UART4_CLK_SRC_SEL_W::new(self, 24) } #[doc = "Bit 26 - Reserved"] #[inline(always)] - #[must_use] pub fn uart4_clk_en(&mut self) -> UART4_CLK_EN_W { UART4_CLK_EN_W::new(self, 26) } diff --git a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl115.rs b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl115.rs index cc0600f347..c7962258b5 100644 --- a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl115.rs +++ b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl115.rs @@ -107,13 +107,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Reserved"] #[inline(always)] - #[must_use] pub fn uart4_sclk_div_num(&mut self) -> UART4_SCLK_DIV_NUM_W { UART4_SCLK_DIV_NUM_W::new(self, 0) } #[doc = "Bits 8:15 - Reserved"] #[inline(always)] - #[must_use] pub fn uart4_sclk_div_numerator( &mut self, ) -> UART4_SCLK_DIV_NUMERATOR_W { @@ -121,7 +119,6 @@ impl W { } #[doc = "Bits 16:23 - Reserved"] #[inline(always)] - #[must_use] pub fn uart4_sclk_div_denominator( &mut self, ) -> UART4_SCLK_DIV_DENOMINATOR_W { @@ -129,37 +126,31 @@ impl W { } #[doc = "Bit 24 - Reserved"] #[inline(always)] - #[must_use] pub fn twai0_clk_src_sel(&mut self) -> TWAI0_CLK_SRC_SEL_W { TWAI0_CLK_SRC_SEL_W::new(self, 24) } #[doc = "Bit 25 - Reserved"] #[inline(always)] - #[must_use] pub fn twai0_clk_en(&mut self) -> TWAI0_CLK_EN_W { TWAI0_CLK_EN_W::new(self, 25) } #[doc = "Bit 26 - Reserved"] #[inline(always)] - #[must_use] pub fn twai1_clk_src_sel(&mut self) -> TWAI1_CLK_SRC_SEL_W { TWAI1_CLK_SRC_SEL_W::new(self, 26) } #[doc = "Bit 27 - Reserved"] #[inline(always)] - #[must_use] pub fn twai1_clk_en(&mut self) -> TWAI1_CLK_EN_W { TWAI1_CLK_EN_W::new(self, 27) } #[doc = "Bit 28 - Reserved"] #[inline(always)] - #[must_use] pub fn twai2_clk_src_sel(&mut self) -> TWAI2_CLK_SRC_SEL_W { TWAI2_CLK_SRC_SEL_W::new(self, 28) } #[doc = "Bit 29 - Reserved"] #[inline(always)] - #[must_use] pub fn twai2_clk_en(&mut self) -> TWAI2_CLK_EN_W { TWAI2_CLK_EN_W::new(self, 29) } diff --git a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl116.rs b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl116.rs index 4fb7e45189..cb53f4d2dc 100644 --- a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl116.rs +++ b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl116.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - Reserved"] #[inline(always)] - #[must_use] pub fn gpspi2_clk_src_sel(&mut self) -> GPSPI2_CLK_SRC_SEL_W { GPSPI2_CLK_SRC_SEL_W::new(self, 0) } #[doc = "Bit 3 - Reserved"] #[inline(always)] - #[must_use] pub fn gpspi2_hs_clk_en(&mut self) -> GPSPI2_HS_CLK_EN_W { GPSPI2_HS_CLK_EN_W::new(self, 3) } #[doc = "Bits 4:11 - Reserved"] #[inline(always)] - #[must_use] pub fn gpspi2_hs_clk_div_num(&mut self) -> GPSPI2_HS_CLK_DIV_NUM_W { GPSPI2_HS_CLK_DIV_NUM_W::new(self, 4) } #[doc = "Bits 12:19 - Reserved"] #[inline(always)] - #[must_use] pub fn gpspi2_mst_clk_div_num(&mut self) -> GPSPI2_MST_CLK_DIV_NUM_W { GPSPI2_MST_CLK_DIV_NUM_W::new(self, 12) } #[doc = "Bit 20 - Reserved"] #[inline(always)] - #[must_use] pub fn gpspi2_mst_clk_en(&mut self) -> GPSPI2_MST_CLK_EN_W { GPSPI2_MST_CLK_EN_W::new(self, 20) } #[doc = "Bits 21:23 - Reserved"] #[inline(always)] - #[must_use] pub fn gpspi3_clk_src_sel(&mut self) -> GPSPI3_CLK_SRC_SEL_W { GPSPI3_CLK_SRC_SEL_W::new(self, 21) } #[doc = "Bit 24 - Reserved"] #[inline(always)] - #[must_use] pub fn gpspi3_hs_clk_en(&mut self) -> GPSPI3_HS_CLK_EN_W { GPSPI3_HS_CLK_EN_W::new(self, 24) } diff --git a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl117.rs b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl117.rs index 4ea8183fc8..effe809523 100644 --- a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl117.rs +++ b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl117.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Reserved"] #[inline(always)] - #[must_use] pub fn gpspi3_hs_clk_div_num(&mut self) -> GPSPI3_HS_CLK_DIV_NUM_W { GPSPI3_HS_CLK_DIV_NUM_W::new(self, 0) } #[doc = "Bits 8:15 - Reserved"] #[inline(always)] - #[must_use] pub fn gpspi3_mst_clk_div_num(&mut self) -> GPSPI3_MST_CLK_DIV_NUM_W { GPSPI3_MST_CLK_DIV_NUM_W::new(self, 8) } #[doc = "Bit 16 - Reserved"] #[inline(always)] - #[must_use] pub fn gpspi3_mst_clk_en(&mut self) -> GPSPI3_MST_CLK_EN_W { GPSPI3_MST_CLK_EN_W::new(self, 16) } #[doc = "Bits 17:18 - Reserved"] #[inline(always)] - #[must_use] pub fn parlio_rx_clk_src_sel(&mut self) -> PARLIO_RX_CLK_SRC_SEL_W { PARLIO_RX_CLK_SRC_SEL_W::new(self, 17) } #[doc = "Bit 19 - Reserved"] #[inline(always)] - #[must_use] pub fn parlio_rx_clk_en(&mut self) -> PARLIO_RX_CLK_EN_W { PARLIO_RX_CLK_EN_W::new(self, 19) } #[doc = "Bits 20:27 - Reserved"] #[inline(always)] - #[must_use] pub fn parlio_rx_clk_div_num(&mut self) -> PARLIO_RX_CLK_DIV_NUM_W { PARLIO_RX_CLK_DIV_NUM_W::new(self, 20) } diff --git a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl118.rs b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl118.rs index ad1f7a6f3f..cb625dc22e 100644 --- a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl118.rs +++ b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl118.rs @@ -70,7 +70,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Reserved"] #[inline(always)] - #[must_use] pub fn parlio_rx_clk_div_numerator( &mut self, ) -> PARLIO_RX_CLK_DIV_NUMERATOR_W { @@ -78,7 +77,6 @@ impl W { } #[doc = "Bits 8:15 - Reserved"] #[inline(always)] - #[must_use] pub fn parlio_rx_clk_div_denominator( &mut self, ) -> PARLIO_RX_CLK_DIV_DENOMINATOR_W { @@ -86,19 +84,16 @@ impl W { } #[doc = "Bits 16:17 - Reserved"] #[inline(always)] - #[must_use] pub fn parlio_tx_clk_src_sel(&mut self) -> PARLIO_TX_CLK_SRC_SEL_W { PARLIO_TX_CLK_SRC_SEL_W::new(self, 16) } #[doc = "Bit 18 - Reserved"] #[inline(always)] - #[must_use] pub fn parlio_tx_clk_en(&mut self) -> PARLIO_TX_CLK_EN_W { PARLIO_TX_CLK_EN_W::new(self, 18) } #[doc = "Bits 19:26 - Reserved"] #[inline(always)] - #[must_use] pub fn parlio_tx_clk_div_num(&mut self) -> PARLIO_TX_CLK_DIV_NUM_W { PARLIO_TX_CLK_DIV_NUM_W::new(self, 19) } diff --git a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl119.rs b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl119.rs index 5ce870160f..24b7805a35 100644 --- a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl119.rs +++ b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl119.rs @@ -90,7 +90,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Reserved"] #[inline(always)] - #[must_use] pub fn parlio_tx_clk_div_numerator( &mut self, ) -> PARLIO_TX_CLK_DIV_NUMERATOR_W { @@ -98,7 +97,6 @@ impl W { } #[doc = "Bits 8:15 - Reserved"] #[inline(always)] - #[must_use] pub fn parlio_tx_clk_div_denominator( &mut self, ) -> PARLIO_TX_CLK_DIV_DENOMINATOR_W { @@ -106,31 +104,26 @@ impl W { } #[doc = "Bits 16:17 - Reserved"] #[inline(always)] - #[must_use] pub fn i3c_mst_clk_src_sel(&mut self) -> I3C_MST_CLK_SRC_SEL_W { I3C_MST_CLK_SRC_SEL_W::new(self, 16) } #[doc = "Bit 18 - Reserved"] #[inline(always)] - #[must_use] pub fn i3c_mst_clk_en(&mut self) -> I3C_MST_CLK_EN_W { I3C_MST_CLK_EN_W::new(self, 18) } #[doc = "Bits 19:26 - Reserved"] #[inline(always)] - #[must_use] pub fn i3c_mst_clk_div_num(&mut self) -> I3C_MST_CLK_DIV_NUM_W { I3C_MST_CLK_DIV_NUM_W::new(self, 19) } #[doc = "Bits 27:28 - Reserved"] #[inline(always)] - #[must_use] pub fn cam_clk_src_sel(&mut self) -> CAM_CLK_SRC_SEL_W { CAM_CLK_SRC_SEL_W::new(self, 27) } #[doc = "Bit 29 - Reserved"] #[inline(always)] - #[must_use] pub fn cam_clk_en(&mut self) -> CAM_CLK_EN_W { CAM_CLK_EN_W::new(self, 29) } diff --git a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl12.rs b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl12.rs index f26888a8fa..db5fbbaf66 100644 --- a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl12.rs +++ b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl12.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s0_rx_div_n(&mut self) -> I2S0_RX_DIV_N_W { I2S0_RX_DIV_N_W::new(self, 0) } #[doc = "Bits 8:16 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s0_rx_div_x(&mut self) -> I2S0_RX_DIV_X_W { I2S0_RX_DIV_X_W::new(self, 8) } #[doc = "Bits 17:25 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s0_rx_div_y(&mut self) -> I2S0_RX_DIV_Y_W { I2S0_RX_DIV_Y_W::new(self, 17) } diff --git a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl120.rs b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl120.rs index 6c372cf5ec..05156fa263 100644 --- a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl120.rs +++ b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl120.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Reserved"] #[inline(always)] - #[must_use] pub fn cam_clk_div_num(&mut self) -> CAM_CLK_DIV_NUM_W { CAM_CLK_DIV_NUM_W::new(self, 0) } #[doc = "Bits 8:15 - Reserved"] #[inline(always)] - #[must_use] pub fn cam_clk_div_numerator(&mut self) -> CAM_CLK_DIV_NUMERATOR_W { CAM_CLK_DIV_NUMERATOR_W::new(self, 8) } #[doc = "Bits 16:23 - Reserved"] #[inline(always)] - #[must_use] pub fn cam_clk_div_denominator(&mut self) -> CAM_CLK_DIV_DENOMINATOR_W { CAM_CLK_DIV_DENOMINATOR_W::new(self, 16) } diff --git a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl13.rs b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl13.rs index 4acd61784e..fef88960d9 100644 --- a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl13.rs +++ b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl13.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s0_rx_div_z(&mut self) -> I2S0_RX_DIV_Z_W { I2S0_RX_DIV_Z_W::new(self, 0) } #[doc = "Bit 9 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s0_rx_div_yn1(&mut self) -> I2S0_RX_DIV_YN1_W { I2S0_RX_DIV_YN1_W::new(self, 9) } #[doc = "Bit 10 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s0_tx_clk_en(&mut self) -> I2S0_TX_CLK_EN_W { I2S0_TX_CLK_EN_W::new(self, 10) } #[doc = "Bits 11:12 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s0_tx_clk_src_sel(&mut self) -> I2S0_TX_CLK_SRC_SEL_W { I2S0_TX_CLK_SRC_SEL_W::new(self, 11) } #[doc = "Bits 13:20 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s0_tx_div_n(&mut self) -> I2S0_TX_DIV_N_W { I2S0_TX_DIV_N_W::new(self, 13) } #[doc = "Bits 21:29 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s0_tx_div_x(&mut self) -> I2S0_TX_DIV_X_W { I2S0_TX_DIV_X_W::new(self, 21) } diff --git a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl14.rs b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl14.rs index babc83cbd3..67d5aabc5a 100644 --- a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl14.rs +++ b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl14.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s0_tx_div_y(&mut self) -> I2S0_TX_DIV_Y_W { I2S0_TX_DIV_Y_W::new(self, 0) } #[doc = "Bits 9:17 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s0_tx_div_z(&mut self) -> I2S0_TX_DIV_Z_W { I2S0_TX_DIV_Z_W::new(self, 9) } #[doc = "Bit 18 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s0_tx_div_yn1(&mut self) -> I2S0_TX_DIV_YN1_W { I2S0_TX_DIV_YN1_W::new(self, 18) } #[doc = "Bit 19 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s0_mst_clk_sel(&mut self) -> I2S0_MST_CLK_SEL_W { I2S0_MST_CLK_SEL_W::new(self, 19) } #[doc = "Bit 20 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s1_rx_clk_en(&mut self) -> I2S1_RX_CLK_EN_W { I2S1_RX_CLK_EN_W::new(self, 20) } #[doc = "Bits 21:22 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s1_rx_clk_src_sel(&mut self) -> I2S1_RX_CLK_SRC_SEL_W { I2S1_RX_CLK_SRC_SEL_W::new(self, 21) } #[doc = "Bits 23:30 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s1_rx_div_n(&mut self) -> I2S1_RX_DIV_N_W { I2S1_RX_DIV_N_W::new(self, 23) } diff --git a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl15.rs b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl15.rs index 2e06ec9ab8..1980382167 100644 --- a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl15.rs +++ b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl15.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s1_rx_div_x(&mut self) -> I2S1_RX_DIV_X_W { I2S1_RX_DIV_X_W::new(self, 0) } #[doc = "Bits 9:17 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s1_rx_div_y(&mut self) -> I2S1_RX_DIV_Y_W { I2S1_RX_DIV_Y_W::new(self, 9) } #[doc = "Bits 18:26 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s1_rx_div_z(&mut self) -> I2S1_RX_DIV_Z_W { I2S1_RX_DIV_Z_W::new(self, 18) } #[doc = "Bit 27 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s1_rx_div_yn1(&mut self) -> I2S1_RX_DIV_YN1_W { I2S1_RX_DIV_YN1_W::new(self, 27) } #[doc = "Bit 28 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s1_tx_clk_en(&mut self) -> I2S1_TX_CLK_EN_W { I2S1_TX_CLK_EN_W::new(self, 28) } #[doc = "Bits 29:30 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s1_tx_clk_src_sel(&mut self) -> I2S1_TX_CLK_SRC_SEL_W { I2S1_TX_CLK_SRC_SEL_W::new(self, 29) } diff --git a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl16.rs b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl16.rs index e68a0f73a8..294077a77e 100644 --- a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl16.rs +++ b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl16.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s1_tx_div_n(&mut self) -> I2S1_TX_DIV_N_W { I2S1_TX_DIV_N_W::new(self, 0) } #[doc = "Bits 8:16 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s1_tx_div_x(&mut self) -> I2S1_TX_DIV_X_W { I2S1_TX_DIV_X_W::new(self, 8) } #[doc = "Bits 17:25 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s1_tx_div_y(&mut self) -> I2S1_TX_DIV_Y_W { I2S1_TX_DIV_Y_W::new(self, 17) } diff --git a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl17.rs b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl17.rs index 0a315b07cf..521091994e 100644 --- a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl17.rs +++ b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl17.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s1_tx_div_z(&mut self) -> I2S1_TX_DIV_Z_W { I2S1_TX_DIV_Z_W::new(self, 0) } #[doc = "Bit 9 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s1_tx_div_yn1(&mut self) -> I2S1_TX_DIV_YN1_W { I2S1_TX_DIV_YN1_W::new(self, 9) } #[doc = "Bit 10 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s1_mst_clk_sel(&mut self) -> I2S1_MST_CLK_SEL_W { I2S1_MST_CLK_SEL_W::new(self, 10) } #[doc = "Bit 11 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s2_rx_clk_en(&mut self) -> I2S2_RX_CLK_EN_W { I2S2_RX_CLK_EN_W::new(self, 11) } #[doc = "Bits 12:13 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s2_rx_clk_src_sel(&mut self) -> I2S2_RX_CLK_SRC_SEL_W { I2S2_RX_CLK_SRC_SEL_W::new(self, 12) } #[doc = "Bits 14:21 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s2_rx_div_n(&mut self) -> I2S2_RX_DIV_N_W { I2S2_RX_DIV_N_W::new(self, 14) } #[doc = "Bits 22:30 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s2_rx_div_x(&mut self) -> I2S2_RX_DIV_X_W { I2S2_RX_DIV_X_W::new(self, 22) } diff --git a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl18.rs b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl18.rs index ba5ddcd7c7..1c7589961e 100644 --- a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl18.rs +++ b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl18.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s2_rx_div_y(&mut self) -> I2S2_RX_DIV_Y_W { I2S2_RX_DIV_Y_W::new(self, 0) } #[doc = "Bits 9:17 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s2_rx_div_z(&mut self) -> I2S2_RX_DIV_Z_W { I2S2_RX_DIV_Z_W::new(self, 9) } #[doc = "Bit 18 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s2_rx_div_yn1(&mut self) -> I2S2_RX_DIV_YN1_W { I2S2_RX_DIV_YN1_W::new(self, 18) } #[doc = "Bit 19 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s2_tx_clk_en(&mut self) -> I2S2_TX_CLK_EN_W { I2S2_TX_CLK_EN_W::new(self, 19) } #[doc = "Bits 20:21 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s2_tx_clk_src_sel(&mut self) -> I2S2_TX_CLK_SRC_SEL_W { I2S2_TX_CLK_SRC_SEL_W::new(self, 20) } #[doc = "Bits 22:29 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s2_tx_div_n(&mut self) -> I2S2_TX_DIV_N_W { I2S2_TX_DIV_N_W::new(self, 22) } diff --git a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl19.rs b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl19.rs index 24d3cdebf1..c63eb00623 100644 --- a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl19.rs +++ b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl19.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s2_tx_div_x(&mut self) -> I2S2_TX_DIV_X_W { I2S2_TX_DIV_X_W::new(self, 0) } #[doc = "Bits 9:17 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s2_tx_div_y(&mut self) -> I2S2_TX_DIV_Y_W { I2S2_TX_DIV_Y_W::new(self, 9) } #[doc = "Bits 18:26 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s2_tx_div_z(&mut self) -> I2S2_TX_DIV_Z_W { I2S2_TX_DIV_Z_W::new(self, 18) } #[doc = "Bit 27 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s2_tx_div_yn1(&mut self) -> I2S2_TX_DIV_YN1_W { I2S2_TX_DIV_YN1_W::new(self, 27) } #[doc = "Bit 28 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s2_mst_clk_sel(&mut self) -> I2S2_MST_CLK_SEL_W { I2S2_MST_CLK_SEL_W::new(self, 28) } #[doc = "Bits 29:30 - Reserved"] #[inline(always)] - #[must_use] pub fn lcd_clk_src_sel(&mut self) -> LCD_CLK_SRC_SEL_W { LCD_CLK_SRC_SEL_W::new(self, 29) } #[doc = "Bit 31 - Reserved"] #[inline(always)] - #[must_use] pub fn lcd_clk_en(&mut self) -> LCD_CLK_EN_W { LCD_CLK_EN_W::new(self, 31) } diff --git a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl20.rs b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl20.rs index 07bbef0cc6..6e93918248 100644 --- a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl20.rs +++ b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl20.rs @@ -144,79 +144,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Reserved"] #[inline(always)] - #[must_use] pub fn mcpwm0_clk_src_sel(&mut self) -> MCPWM0_CLK_SRC_SEL_W { MCPWM0_CLK_SRC_SEL_W::new(self, 0) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn mcpwm0_clk_en(&mut self) -> MCPWM0_CLK_EN_W { MCPWM0_CLK_EN_W::new(self, 2) } #[doc = "Bits 3:10 - Reserved"] #[inline(always)] - #[must_use] pub fn mcpwm0_clk_div_num(&mut self) -> MCPWM0_CLK_DIV_NUM_W { MCPWM0_CLK_DIV_NUM_W::new(self, 3) } #[doc = "Bits 11:12 - Reserved"] #[inline(always)] - #[must_use] pub fn mcpwm1_clk_src_sel(&mut self) -> MCPWM1_CLK_SRC_SEL_W { MCPWM1_CLK_SRC_SEL_W::new(self, 11) } #[doc = "Bit 13 - Reserved"] #[inline(always)] - #[must_use] pub fn mcpwm1_clk_en(&mut self) -> MCPWM1_CLK_EN_W { MCPWM1_CLK_EN_W::new(self, 13) } #[doc = "Bits 14:21 - Reserved"] #[inline(always)] - #[must_use] pub fn mcpwm1_clk_div_num(&mut self) -> MCPWM1_CLK_DIV_NUM_W { MCPWM1_CLK_DIV_NUM_W::new(self, 14) } #[doc = "Bits 22:23 - Reserved"] #[inline(always)] - #[must_use] pub fn timergrp0_t0_src_sel(&mut self) -> TIMERGRP0_T0_SRC_SEL_W { TIMERGRP0_T0_SRC_SEL_W::new(self, 22) } #[doc = "Bit 24 - Reserved"] #[inline(always)] - #[must_use] pub fn timergrp0_t0_clk_en(&mut self) -> TIMERGRP0_T0_CLK_EN_W { TIMERGRP0_T0_CLK_EN_W::new(self, 24) } #[doc = "Bits 25:26 - Reserved"] #[inline(always)] - #[must_use] pub fn timergrp0_t1_src_sel(&mut self) -> TIMERGRP0_T1_SRC_SEL_W { TIMERGRP0_T1_SRC_SEL_W::new(self, 25) } #[doc = "Bit 27 - Reserved"] #[inline(always)] - #[must_use] pub fn timergrp0_t1_clk_en(&mut self) -> TIMERGRP0_T1_CLK_EN_W { TIMERGRP0_T1_CLK_EN_W::new(self, 27) } #[doc = "Bits 28:29 - Reserved"] #[inline(always)] - #[must_use] pub fn timergrp0_wdt_src_sel(&mut self) -> TIMERGRP0_WDT_SRC_SEL_W { TIMERGRP0_WDT_SRC_SEL_W::new(self, 28) } #[doc = "Bit 30 - Reserved"] #[inline(always)] - #[must_use] pub fn timergrp0_wdt_clk_en(&mut self) -> TIMERGRP0_WDT_CLK_EN_W { TIMERGRP0_WDT_CLK_EN_W::new(self, 30) } #[doc = "Bit 31 - Reserved"] #[inline(always)] - #[must_use] pub fn timergrp0_tgrt_clk_en(&mut self) -> TIMERGRP0_TGRT_CLK_EN_W { TIMERGRP0_TGRT_CLK_EN_W::new(self, 31) } diff --git a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl21.rs b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl21.rs index 27a93e0f75..5450366deb 100644 --- a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl21.rs +++ b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl21.rs @@ -120,7 +120,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Reserved"] #[inline(always)] - #[must_use] pub fn timergrp0_tgrt_clk_src_sel( &mut self, ) -> TIMERGRP0_TGRT_CLK_SRC_SEL_W { @@ -128,7 +127,6 @@ impl W { } #[doc = "Bits 4:19 - Reserved"] #[inline(always)] - #[must_use] pub fn timergrp0_tgrt_clk_div_num( &mut self, ) -> TIMERGRP0_TGRT_CLK_DIV_NUM_W { @@ -136,49 +134,41 @@ impl W { } #[doc = "Bits 20:21 - Reserved"] #[inline(always)] - #[must_use] pub fn timergrp1_t0_src_sel(&mut self) -> TIMERGRP1_T0_SRC_SEL_W { TIMERGRP1_T0_SRC_SEL_W::new(self, 20) } #[doc = "Bit 22 - Reserved"] #[inline(always)] - #[must_use] pub fn timergrp1_t0_clk_en(&mut self) -> TIMERGRP1_T0_CLK_EN_W { TIMERGRP1_T0_CLK_EN_W::new(self, 22) } #[doc = "Bits 23:24 - Reserved"] #[inline(always)] - #[must_use] pub fn timergrp1_t1_src_sel(&mut self) -> TIMERGRP1_T1_SRC_SEL_W { TIMERGRP1_T1_SRC_SEL_W::new(self, 23) } #[doc = "Bit 25 - Reserved"] #[inline(always)] - #[must_use] pub fn timergrp1_t1_clk_en(&mut self) -> TIMERGRP1_T1_CLK_EN_W { TIMERGRP1_T1_CLK_EN_W::new(self, 25) } #[doc = "Bits 26:27 - Reserved"] #[inline(always)] - #[must_use] pub fn timergrp1_wdt_src_sel(&mut self) -> TIMERGRP1_WDT_SRC_SEL_W { TIMERGRP1_WDT_SRC_SEL_W::new(self, 26) } #[doc = "Bit 28 - Reserved"] #[inline(always)] - #[must_use] pub fn timergrp1_wdt_clk_en(&mut self) -> TIMERGRP1_WDT_CLK_EN_W { TIMERGRP1_WDT_CLK_EN_W::new(self, 28) } #[doc = "Bit 29 - Reserved"] #[inline(always)] - #[must_use] pub fn systimer_clk_src_sel(&mut self) -> SYSTIMER_CLK_SRC_SEL_W { SYSTIMER_CLK_SRC_SEL_W::new(self, 29) } #[doc = "Bit 30 - Reserved"] #[inline(always)] - #[must_use] pub fn systimer_clk_en(&mut self) -> SYSTIMER_CLK_EN_W { SYSTIMER_CLK_EN_W::new(self, 30) } diff --git a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl22.rs b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl22.rs index 98349b53c7..43267f2098 100644 --- a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl22.rs +++ b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl22.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Reserved"] #[inline(always)] - #[must_use] pub fn ledc_clk_src_sel(&mut self) -> LEDC_CLK_SRC_SEL_W { LEDC_CLK_SRC_SEL_W::new(self, 0) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn ledc_clk_en(&mut self) -> LEDC_CLK_EN_W { LEDC_CLK_EN_W::new(self, 2) } #[doc = "Bits 3:4 - Reserved"] #[inline(always)] - #[must_use] pub fn rmt_clk_src_sel(&mut self) -> RMT_CLK_SRC_SEL_W { RMT_CLK_SRC_SEL_W::new(self, 3) } #[doc = "Bit 5 - Reserved"] #[inline(always)] - #[must_use] pub fn rmt_clk_en(&mut self) -> RMT_CLK_EN_W { RMT_CLK_EN_W::new(self, 5) } #[doc = "Bits 6:13 - Reserved"] #[inline(always)] - #[must_use] pub fn rmt_clk_div_num(&mut self) -> RMT_CLK_DIV_NUM_W { RMT_CLK_DIV_NUM_W::new(self, 6) } #[doc = "Bits 14:21 - Reserved"] #[inline(always)] - #[must_use] pub fn rmt_clk_div_numerator(&mut self) -> RMT_CLK_DIV_NUMERATOR_W { RMT_CLK_DIV_NUMERATOR_W::new(self, 14) } #[doc = "Bits 22:29 - Reserved"] #[inline(always)] - #[must_use] pub fn rmt_clk_div_denominator(&mut self) -> RMT_CLK_DIV_DENOMINATOR_W { RMT_CLK_DIV_DENOMINATOR_W::new(self, 22) } #[doc = "Bits 30:31 - Reserved"] #[inline(always)] - #[must_use] pub fn adc_clk_src_sel(&mut self) -> ADC_CLK_SRC_SEL_W { ADC_CLK_SRC_SEL_W::new(self, 30) } diff --git a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl23.rs b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl23.rs index 0aef4be1ca..597e864ff8 100644 --- a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl23.rs +++ b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl23.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn adc_clk_en(&mut self) -> ADC_CLK_EN_W { ADC_CLK_EN_W::new(self, 0) } #[doc = "Bits 1:8 - Reserved"] #[inline(always)] - #[must_use] pub fn adc_clk_div_num(&mut self) -> ADC_CLK_DIV_NUM_W { ADC_CLK_DIV_NUM_W::new(self, 1) } #[doc = "Bits 9:16 - Reserved"] #[inline(always)] - #[must_use] pub fn adc_clk_div_numerator(&mut self) -> ADC_CLK_DIV_NUMERATOR_W { ADC_CLK_DIV_NUMERATOR_W::new(self, 9) } #[doc = "Bits 17:24 - Reserved"] #[inline(always)] - #[must_use] pub fn adc_clk_div_denominator(&mut self) -> ADC_CLK_DIV_DENOMINATOR_W { ADC_CLK_DIV_DENOMINATOR_W::new(self, 17) } diff --git a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl24.rs b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl24.rs index d301260e4e..2eb5cc993a 100644 --- a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl24.rs +++ b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl24.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Reserved"] #[inline(always)] - #[must_use] pub fn adc_sar1_clk_div_num(&mut self) -> ADC_SAR1_CLK_DIV_NUM_W { ADC_SAR1_CLK_DIV_NUM_W::new(self, 0) } #[doc = "Bits 8:15 - Reserved"] #[inline(always)] - #[must_use] pub fn adc_sar2_clk_div_num(&mut self) -> ADC_SAR2_CLK_DIV_NUM_W { ADC_SAR2_CLK_DIV_NUM_W::new(self, 8) } #[doc = "Bits 16:23 - Reserved"] #[inline(always)] - #[must_use] pub fn pvt_clk_div_num(&mut self) -> PVT_CLK_DIV_NUM_W { PVT_CLK_DIV_NUM_W::new(self, 16) } #[doc = "Bit 24 - Reserved"] #[inline(always)] - #[must_use] pub fn pvt_clk_en(&mut self) -> PVT_CLK_EN_W { PVT_CLK_EN_W::new(self, 24) } diff --git a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl25.rs b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl25.rs index 3e0e00845a..296d70e4ac 100644 --- a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl25.rs +++ b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl25.rs @@ -187,7 +187,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Reserved"] #[inline(always)] - #[must_use] pub fn pvt_peri_group_clk_div_num( &mut self, ) -> PVT_PERI_GROUP_CLK_DIV_NUM_W { @@ -195,97 +194,81 @@ impl W { } #[doc = "Bit 8 - Reserved"] #[inline(always)] - #[must_use] pub fn pvt_peri_group1_clk_en(&mut self) -> PVT_PERI_GROUP1_CLK_EN_W { PVT_PERI_GROUP1_CLK_EN_W::new(self, 8) } #[doc = "Bit 9 - Reserved"] #[inline(always)] - #[must_use] pub fn pvt_peri_group2_clk_en(&mut self) -> PVT_PERI_GROUP2_CLK_EN_W { PVT_PERI_GROUP2_CLK_EN_W::new(self, 9) } #[doc = "Bit 10 - Reserved"] #[inline(always)] - #[must_use] pub fn pvt_peri_group3_clk_en(&mut self) -> PVT_PERI_GROUP3_CLK_EN_W { PVT_PERI_GROUP3_CLK_EN_W::new(self, 10) } #[doc = "Bit 11 - Reserved"] #[inline(always)] - #[must_use] pub fn pvt_peri_group4_clk_en(&mut self) -> PVT_PERI_GROUP4_CLK_EN_W { PVT_PERI_GROUP4_CLK_EN_W::new(self, 11) } #[doc = "Bits 12:13 - Reserved"] #[inline(always)] - #[must_use] pub fn crypto_clk_src_sel(&mut self) -> CRYPTO_CLK_SRC_SEL_W { CRYPTO_CLK_SRC_SEL_W::new(self, 12) } #[doc = "Bit 14 - Reserved"] #[inline(always)] - #[must_use] pub fn crypto_aes_clk_en(&mut self) -> CRYPTO_AES_CLK_EN_W { CRYPTO_AES_CLK_EN_W::new(self, 14) } #[doc = "Bit 15 - Reserved"] #[inline(always)] - #[must_use] pub fn crypto_ds_clk_en(&mut self) -> CRYPTO_DS_CLK_EN_W { CRYPTO_DS_CLK_EN_W::new(self, 15) } #[doc = "Bit 16 - Reserved"] #[inline(always)] - #[must_use] pub fn crypto_ecc_clk_en(&mut self) -> CRYPTO_ECC_CLK_EN_W { CRYPTO_ECC_CLK_EN_W::new(self, 16) } #[doc = "Bit 17 - Reserved"] #[inline(always)] - #[must_use] pub fn crypto_hmac_clk_en(&mut self) -> CRYPTO_HMAC_CLK_EN_W { CRYPTO_HMAC_CLK_EN_W::new(self, 17) } #[doc = "Bit 18 - Reserved"] #[inline(always)] - #[must_use] pub fn crypto_rsa_clk_en(&mut self) -> CRYPTO_RSA_CLK_EN_W { CRYPTO_RSA_CLK_EN_W::new(self, 18) } #[doc = "Bit 19 - Reserved"] #[inline(always)] - #[must_use] pub fn crypto_sec_clk_en(&mut self) -> CRYPTO_SEC_CLK_EN_W { CRYPTO_SEC_CLK_EN_W::new(self, 19) } #[doc = "Bit 20 - Reserved"] #[inline(always)] - #[must_use] pub fn crypto_sha_clk_en(&mut self) -> CRYPTO_SHA_CLK_EN_W { CRYPTO_SHA_CLK_EN_W::new(self, 20) } #[doc = "Bit 21 - Reserved"] #[inline(always)] - #[must_use] pub fn crypto_ecdsa_clk_en(&mut self) -> CRYPTO_ECDSA_CLK_EN_W { CRYPTO_ECDSA_CLK_EN_W::new(self, 21) } #[doc = "Bit 22 - Reserved"] #[inline(always)] - #[must_use] pub fn crypto_km_clk_en(&mut self) -> CRYPTO_KM_CLK_EN_W { CRYPTO_KM_CLK_EN_W::new(self, 22) } #[doc = "Bits 23:24 - Reserved"] #[inline(always)] - #[must_use] pub fn isp_clk_src_sel(&mut self) -> ISP_CLK_SRC_SEL_W { ISP_CLK_SRC_SEL_W::new(self, 23) } #[doc = "Bit 25 - Reserved"] #[inline(always)] - #[must_use] pub fn isp_clk_en(&mut self) -> ISP_CLK_EN_W { ISP_CLK_EN_W::new(self, 25) } diff --git a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl26.rs b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl26.rs index fa7aff1dbe..18aab5fb0d 100644 --- a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl26.rs +++ b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl26.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Reserved"] #[inline(always)] - #[must_use] pub fn isp_clk_div_num(&mut self) -> ISP_CLK_DIV_NUM_W { ISP_CLK_DIV_NUM_W::new(self, 0) } #[doc = "Bit 8 - Reserved"] #[inline(always)] - #[must_use] pub fn iomux_clk_src_sel(&mut self) -> IOMUX_CLK_SRC_SEL_W { IOMUX_CLK_SRC_SEL_W::new(self, 8) } #[doc = "Bit 9 - Reserved"] #[inline(always)] - #[must_use] pub fn iomux_clk_en(&mut self) -> IOMUX_CLK_EN_W { IOMUX_CLK_EN_W::new(self, 9) } #[doc = "Bits 10:17 - Reserved"] #[inline(always)] - #[must_use] pub fn iomux_clk_div_num(&mut self) -> IOMUX_CLK_DIV_NUM_W { IOMUX_CLK_DIV_NUM_W::new(self, 10) } #[doc = "Bit 18 - Reserved"] #[inline(always)] - #[must_use] pub fn h264_clk_src_sel(&mut self) -> H264_CLK_SRC_SEL_W { H264_CLK_SRC_SEL_W::new(self, 18) } #[doc = "Bit 19 - Reserved"] #[inline(always)] - #[must_use] pub fn h264_clk_en(&mut self) -> H264_CLK_EN_W { H264_CLK_EN_W::new(self, 19) } #[doc = "Bits 20:27 - Reserved"] #[inline(always)] - #[must_use] pub fn h264_clk_div_num(&mut self) -> H264_CLK_DIV_NUM_W { H264_CLK_DIV_NUM_W::new(self, 20) } #[doc = "Bit 28 - Reserved"] #[inline(always)] - #[must_use] pub fn padbist_rx_clk_src_sel(&mut self) -> PADBIST_RX_CLK_SRC_SEL_W { PADBIST_RX_CLK_SRC_SEL_W::new(self, 28) } #[doc = "Bit 29 - Reserved"] #[inline(always)] - #[must_use] pub fn padbist_rx_clk_en(&mut self) -> PADBIST_RX_CLK_EN_W { PADBIST_RX_CLK_EN_W::new(self, 29) } diff --git a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl27.rs b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl27.rs index 38981e58fb..96493384a4 100644 --- a/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl27.rs +++ b/esp32p4/src/hp_sys_clkrst/peri_clk_ctrl27.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Reserved"] #[inline(always)] - #[must_use] pub fn padbist_rx_clk_div_num(&mut self) -> PADBIST_RX_CLK_DIV_NUM_W { PADBIST_RX_CLK_DIV_NUM_W::new(self, 0) } #[doc = "Bit 8 - Reserved"] #[inline(always)] - #[must_use] pub fn padbist_tx_clk_src_sel(&mut self) -> PADBIST_TX_CLK_SRC_SEL_W { PADBIST_TX_CLK_SRC_SEL_W::new(self, 8) } #[doc = "Bit 9 - Reserved"] #[inline(always)] - #[must_use] pub fn padbist_tx_clk_en(&mut self) -> PADBIST_TX_CLK_EN_W { PADBIST_TX_CLK_EN_W::new(self, 9) } #[doc = "Bits 10:17 - Reserved"] #[inline(always)] - #[must_use] pub fn padbist_tx_clk_div_num(&mut self) -> PADBIST_TX_CLK_DIV_NUM_W { PADBIST_TX_CLK_DIV_NUM_W::new(self, 10) } diff --git a/esp32p4/src/hp_sys_clkrst/ref_clk_ctrl0.rs b/esp32p4/src/hp_sys_clkrst/ref_clk_ctrl0.rs index f4dbb8dd23..e2f07ae2b8 100644 --- a/esp32p4/src/hp_sys_clkrst/ref_clk_ctrl0.rs +++ b/esp32p4/src/hp_sys_clkrst/ref_clk_ctrl0.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Reserved"] #[inline(always)] - #[must_use] pub fn ref_50m_clk_div_num(&mut self) -> REF_50M_CLK_DIV_NUM_W { REF_50M_CLK_DIV_NUM_W::new(self, 0) } #[doc = "Bits 8:15 - Reserved"] #[inline(always)] - #[must_use] pub fn ref_25m_clk_div_num(&mut self) -> REF_25M_CLK_DIV_NUM_W { REF_25M_CLK_DIV_NUM_W::new(self, 8) } #[doc = "Bits 16:23 - Reserved"] #[inline(always)] - #[must_use] pub fn ref_240m_clk_div_num(&mut self) -> REF_240M_CLK_DIV_NUM_W { REF_240M_CLK_DIV_NUM_W::new(self, 16) } #[doc = "Bits 24:31 - Reserved"] #[inline(always)] - #[must_use] pub fn ref_160m_clk_div_num(&mut self) -> REF_160M_CLK_DIV_NUM_W { REF_160M_CLK_DIV_NUM_W::new(self, 24) } diff --git a/esp32p4/src/hp_sys_clkrst/ref_clk_ctrl1.rs b/esp32p4/src/hp_sys_clkrst/ref_clk_ctrl1.rs index 4ace92f31e..a907616466 100644 --- a/esp32p4/src/hp_sys_clkrst/ref_clk_ctrl1.rs +++ b/esp32p4/src/hp_sys_clkrst/ref_clk_ctrl1.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Reserved"] #[inline(always)] - #[must_use] pub fn ref_120m_clk_div_num(&mut self) -> REF_120M_CLK_DIV_NUM_W { REF_120M_CLK_DIV_NUM_W::new(self, 0) } #[doc = "Bits 8:15 - Reserved"] #[inline(always)] - #[must_use] pub fn ref_80m_clk_div_num(&mut self) -> REF_80M_CLK_DIV_NUM_W { REF_80M_CLK_DIV_NUM_W::new(self, 8) } #[doc = "Bits 16:23 - Reserved"] #[inline(always)] - #[must_use] pub fn ref_20m_clk_div_num(&mut self) -> REF_20M_CLK_DIV_NUM_W { REF_20M_CLK_DIV_NUM_W::new(self, 16) } #[doc = "Bit 24 - Reserved"] #[inline(always)] - #[must_use] pub fn tm_400m_clk_en(&mut self) -> TM_400M_CLK_EN_W { TM_400M_CLK_EN_W::new(self, 24) } #[doc = "Bit 25 - Reserved"] #[inline(always)] - #[must_use] pub fn tm_200m_clk_en(&mut self) -> TM_200M_CLK_EN_W { TM_200M_CLK_EN_W::new(self, 25) } #[doc = "Bit 26 - Reserved"] #[inline(always)] - #[must_use] pub fn tm_100m_clk_en(&mut self) -> TM_100M_CLK_EN_W { TM_100M_CLK_EN_W::new(self, 26) } #[doc = "Bit 27 - Reserved"] #[inline(always)] - #[must_use] pub fn ref_50m_clk_en(&mut self) -> REF_50M_CLK_EN_W { REF_50M_CLK_EN_W::new(self, 27) } #[doc = "Bit 28 - Reserved"] #[inline(always)] - #[must_use] pub fn ref_25m_clk_en(&mut self) -> REF_25M_CLK_EN_W { REF_25M_CLK_EN_W::new(self, 28) } #[doc = "Bit 29 - Reserved"] #[inline(always)] - #[must_use] pub fn tm_480m_clk_en(&mut self) -> TM_480M_CLK_EN_W { TM_480M_CLK_EN_W::new(self, 29) } #[doc = "Bit 30 - Reserved"] #[inline(always)] - #[must_use] pub fn ref_240m_clk_en(&mut self) -> REF_240M_CLK_EN_W { REF_240M_CLK_EN_W::new(self, 30) } #[doc = "Bit 31 - Reserved"] #[inline(always)] - #[must_use] pub fn tm_240m_clk_en(&mut self) -> TM_240M_CLK_EN_W { TM_240M_CLK_EN_W::new(self, 31) } diff --git a/esp32p4/src/hp_sys_clkrst/ref_clk_ctrl2.rs b/esp32p4/src/hp_sys_clkrst/ref_clk_ctrl2.rs index d07a6bf31f..3c96127ab4 100644 --- a/esp32p4/src/hp_sys_clkrst/ref_clk_ctrl2.rs +++ b/esp32p4/src/hp_sys_clkrst/ref_clk_ctrl2.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn ref_160m_clk_en(&mut self) -> REF_160M_CLK_EN_W { REF_160M_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn tm_160m_clk_en(&mut self) -> TM_160M_CLK_EN_W { TM_160M_CLK_EN_W::new(self, 1) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn ref_120m_clk_en(&mut self) -> REF_120M_CLK_EN_W { REF_120M_CLK_EN_W::new(self, 2) } #[doc = "Bit 3 - Reserved"] #[inline(always)] - #[must_use] pub fn tm_120m_clk_en(&mut self) -> TM_120M_CLK_EN_W { TM_120M_CLK_EN_W::new(self, 3) } #[doc = "Bit 4 - Reserved"] #[inline(always)] - #[must_use] pub fn ref_80m_clk_en(&mut self) -> REF_80M_CLK_EN_W { REF_80M_CLK_EN_W::new(self, 4) } #[doc = "Bit 5 - Reserved"] #[inline(always)] - #[must_use] pub fn tm_80m_clk_en(&mut self) -> TM_80M_CLK_EN_W { TM_80M_CLK_EN_W::new(self, 5) } #[doc = "Bit 6 - Reserved"] #[inline(always)] - #[must_use] pub fn tm_60m_clk_en(&mut self) -> TM_60M_CLK_EN_W { TM_60M_CLK_EN_W::new(self, 6) } #[doc = "Bit 7 - Reserved"] #[inline(always)] - #[must_use] pub fn tm_48m_clk_en(&mut self) -> TM_48M_CLK_EN_W { TM_48M_CLK_EN_W::new(self, 7) } #[doc = "Bit 8 - Reserved"] #[inline(always)] - #[must_use] pub fn ref_20m_clk_en(&mut self) -> REF_20M_CLK_EN_W { REF_20M_CLK_EN_W::new(self, 8) } #[doc = "Bit 9 - Reserved"] #[inline(always)] - #[must_use] pub fn tm_20m_clk_en(&mut self) -> TM_20M_CLK_EN_W { TM_20M_CLK_EN_W::new(self, 9) } diff --git a/esp32p4/src/hp_sys_clkrst/root_clk_ctrl0.rs b/esp32p4/src/hp_sys_clkrst/root_clk_ctrl0.rs index b4e0d635a4..88ef51365b 100644 --- a/esp32p4/src/hp_sys_clkrst/root_clk_ctrl0.rs +++ b/esp32p4/src/hp_sys_clkrst/root_clk_ctrl0.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Reserved"] #[inline(always)] - #[must_use] pub fn cpuicm_delay_num(&mut self) -> CPUICM_DELAY_NUM_W { CPUICM_DELAY_NUM_W::new(self, 0) } #[doc = "Bit 4 - Reserved"] #[inline(always)] - #[must_use] pub fn soc_clk_div_update(&mut self) -> SOC_CLK_DIV_UPDATE_W { SOC_CLK_DIV_UPDATE_W::new(self, 4) } #[doc = "Bits 5:12 - Reserved"] #[inline(always)] - #[must_use] pub fn cpu_clk_div_num(&mut self) -> CPU_CLK_DIV_NUM_W { CPU_CLK_DIV_NUM_W::new(self, 5) } #[doc = "Bits 13:20 - Reserved"] #[inline(always)] - #[must_use] pub fn cpu_clk_div_numerator(&mut self) -> CPU_CLK_DIV_NUMERATOR_W { CPU_CLK_DIV_NUMERATOR_W::new(self, 13) } #[doc = "Bits 21:28 - Reserved"] #[inline(always)] - #[must_use] pub fn cpu_clk_div_denominator(&mut self) -> CPU_CLK_DIV_DENOMINATOR_W { CPU_CLK_DIV_DENOMINATOR_W::new(self, 21) } diff --git a/esp32p4/src/hp_sys_clkrst/root_clk_ctrl1.rs b/esp32p4/src/hp_sys_clkrst/root_clk_ctrl1.rs index b42750904f..f5f929062b 100644 --- a/esp32p4/src/hp_sys_clkrst/root_clk_ctrl1.rs +++ b/esp32p4/src/hp_sys_clkrst/root_clk_ctrl1.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Reserved"] #[inline(always)] - #[must_use] pub fn mem_clk_div_num(&mut self) -> MEM_CLK_DIV_NUM_W { MEM_CLK_DIV_NUM_W::new(self, 0) } #[doc = "Bits 8:15 - Reserved"] #[inline(always)] - #[must_use] pub fn mem_clk_div_numerator(&mut self) -> MEM_CLK_DIV_NUMERATOR_W { MEM_CLK_DIV_NUMERATOR_W::new(self, 8) } #[doc = "Bits 16:23 - Reserved"] #[inline(always)] - #[must_use] pub fn mem_clk_div_denominator(&mut self) -> MEM_CLK_DIV_DENOMINATOR_W { MEM_CLK_DIV_DENOMINATOR_W::new(self, 16) } #[doc = "Bits 24:31 - Reserved"] #[inline(always)] - #[must_use] pub fn sys_clk_div_num(&mut self) -> SYS_CLK_DIV_NUM_W { SYS_CLK_DIV_NUM_W::new(self, 24) } diff --git a/esp32p4/src/hp_sys_clkrst/root_clk_ctrl2.rs b/esp32p4/src/hp_sys_clkrst/root_clk_ctrl2.rs index 5f8cd7340b..fb57190e82 100644 --- a/esp32p4/src/hp_sys_clkrst/root_clk_ctrl2.rs +++ b/esp32p4/src/hp_sys_clkrst/root_clk_ctrl2.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Reserved"] #[inline(always)] - #[must_use] pub fn sys_clk_div_numerator(&mut self) -> SYS_CLK_DIV_NUMERATOR_W { SYS_CLK_DIV_NUMERATOR_W::new(self, 0) } #[doc = "Bits 8:15 - Reserved"] #[inline(always)] - #[must_use] pub fn sys_clk_div_denominator(&mut self) -> SYS_CLK_DIV_DENOMINATOR_W { SYS_CLK_DIV_DENOMINATOR_W::new(self, 8) } #[doc = "Bits 16:23 - Reserved"] #[inline(always)] - #[must_use] pub fn apb_clk_div_num(&mut self) -> APB_CLK_DIV_NUM_W { APB_CLK_DIV_NUM_W::new(self, 16) } #[doc = "Bits 24:31 - Reserved"] #[inline(always)] - #[must_use] pub fn apb_clk_div_numerator(&mut self) -> APB_CLK_DIV_NUMERATOR_W { APB_CLK_DIV_NUMERATOR_W::new(self, 24) } diff --git a/esp32p4/src/hp_sys_clkrst/root_clk_ctrl3.rs b/esp32p4/src/hp_sys_clkrst/root_clk_ctrl3.rs index 862382b4b7..aabd391a74 100644 --- a/esp32p4/src/hp_sys_clkrst/root_clk_ctrl3.rs +++ b/esp32p4/src/hp_sys_clkrst/root_clk_ctrl3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Reserved"] #[inline(always)] - #[must_use] pub fn apb_clk_div_denominator(&mut self) -> APB_CLK_DIV_DENOMINATOR_W { APB_CLK_DIV_DENOMINATOR_W::new(self, 0) } diff --git a/esp32p4/src/hp_sys_clkrst/soc_clk_ctrl0.rs b/esp32p4/src/hp_sys_clkrst/soc_clk_ctrl0.rs index 9123a8caf1..cdd0da51aa 100644 --- a/esp32p4/src/hp_sys_clkrst/soc_clk_ctrl0.rs +++ b/esp32p4/src/hp_sys_clkrst/soc_clk_ctrl0.rs @@ -334,193 +334,161 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn core0_clic_clk_en(&mut self) -> CORE0_CLIC_CLK_EN_W { CORE0_CLIC_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn core1_clic_clk_en(&mut self) -> CORE1_CLIC_CLK_EN_W { CORE1_CLIC_CLK_EN_W::new(self, 1) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn misc_cpu_clk_en(&mut self) -> MISC_CPU_CLK_EN_W { MISC_CPU_CLK_EN_W::new(self, 2) } #[doc = "Bit 3 - Reserved"] #[inline(always)] - #[must_use] pub fn core0_cpu_clk_en(&mut self) -> CORE0_CPU_CLK_EN_W { CORE0_CPU_CLK_EN_W::new(self, 3) } #[doc = "Bit 4 - Reserved"] #[inline(always)] - #[must_use] pub fn core1_cpu_clk_en(&mut self) -> CORE1_CPU_CLK_EN_W { CORE1_CPU_CLK_EN_W::new(self, 4) } #[doc = "Bit 5 - Reserved"] #[inline(always)] - #[must_use] pub fn tcm_cpu_clk_en(&mut self) -> TCM_CPU_CLK_EN_W { TCM_CPU_CLK_EN_W::new(self, 5) } #[doc = "Bit 6 - Reserved"] #[inline(always)] - #[must_use] pub fn busmon_cpu_clk_en(&mut self) -> BUSMON_CPU_CLK_EN_W { BUSMON_CPU_CLK_EN_W::new(self, 6) } #[doc = "Bit 7 - Reserved"] #[inline(always)] - #[must_use] pub fn l1cache_cpu_clk_en(&mut self) -> L1CACHE_CPU_CLK_EN_W { L1CACHE_CPU_CLK_EN_W::new(self, 7) } #[doc = "Bit 8 - Reserved"] #[inline(always)] - #[must_use] pub fn l1cache_d_cpu_clk_en(&mut self) -> L1CACHE_D_CPU_CLK_EN_W { L1CACHE_D_CPU_CLK_EN_W::new(self, 8) } #[doc = "Bit 9 - Reserved"] #[inline(always)] - #[must_use] pub fn l1cache_i0_cpu_clk_en(&mut self) -> L1CACHE_I0_CPU_CLK_EN_W { L1CACHE_I0_CPU_CLK_EN_W::new(self, 9) } #[doc = "Bit 10 - Reserved"] #[inline(always)] - #[must_use] pub fn l1cache_i1_cpu_clk_en(&mut self) -> L1CACHE_I1_CPU_CLK_EN_W { L1CACHE_I1_CPU_CLK_EN_W::new(self, 10) } #[doc = "Bit 11 - Reserved"] #[inline(always)] - #[must_use] pub fn trace_cpu_clk_en(&mut self) -> TRACE_CPU_CLK_EN_W { TRACE_CPU_CLK_EN_W::new(self, 11) } #[doc = "Bit 12 - Reserved"] #[inline(always)] - #[must_use] pub fn icm_cpu_clk_en(&mut self) -> ICM_CPU_CLK_EN_W { ICM_CPU_CLK_EN_W::new(self, 12) } #[doc = "Bit 13 - Reserved"] #[inline(always)] - #[must_use] pub fn gdma_cpu_clk_en(&mut self) -> GDMA_CPU_CLK_EN_W { GDMA_CPU_CLK_EN_W::new(self, 13) } #[doc = "Bit 14 - Reserved"] #[inline(always)] - #[must_use] pub fn vpu_cpu_clk_en(&mut self) -> VPU_CPU_CLK_EN_W { VPU_CPU_CLK_EN_W::new(self, 14) } #[doc = "Bit 15 - Reserved"] #[inline(always)] - #[must_use] pub fn l1cache_mem_clk_en(&mut self) -> L1CACHE_MEM_CLK_EN_W { L1CACHE_MEM_CLK_EN_W::new(self, 15) } #[doc = "Bit 16 - Reserved"] #[inline(always)] - #[must_use] pub fn l1cache_d_mem_clk_en(&mut self) -> L1CACHE_D_MEM_CLK_EN_W { L1CACHE_D_MEM_CLK_EN_W::new(self, 16) } #[doc = "Bit 17 - Reserved"] #[inline(always)] - #[must_use] pub fn l1cache_i0_mem_clk_en(&mut self) -> L1CACHE_I0_MEM_CLK_EN_W { L1CACHE_I0_MEM_CLK_EN_W::new(self, 17) } #[doc = "Bit 18 - Reserved"] #[inline(always)] - #[must_use] pub fn l1cache_i1_mem_clk_en(&mut self) -> L1CACHE_I1_MEM_CLK_EN_W { L1CACHE_I1_MEM_CLK_EN_W::new(self, 18) } #[doc = "Bit 19 - Reserved"] #[inline(always)] - #[must_use] pub fn l2cache_mem_clk_en(&mut self) -> L2CACHE_MEM_CLK_EN_W { L2CACHE_MEM_CLK_EN_W::new(self, 19) } #[doc = "Bit 20 - Reserved"] #[inline(always)] - #[must_use] pub fn l2mem_mem_clk_en(&mut self) -> L2MEM_MEM_CLK_EN_W { L2MEM_MEM_CLK_EN_W::new(self, 20) } #[doc = "Bit 21 - Reserved"] #[inline(always)] - #[must_use] pub fn l2memmon_mem_clk_en(&mut self) -> L2MEMMON_MEM_CLK_EN_W { L2MEMMON_MEM_CLK_EN_W::new(self, 21) } #[doc = "Bit 22 - Reserved"] #[inline(always)] - #[must_use] pub fn icm_mem_clk_en(&mut self) -> ICM_MEM_CLK_EN_W { ICM_MEM_CLK_EN_W::new(self, 22) } #[doc = "Bit 23 - Reserved"] #[inline(always)] - #[must_use] pub fn misc_sys_clk_en(&mut self) -> MISC_SYS_CLK_EN_W { MISC_SYS_CLK_EN_W::new(self, 23) } #[doc = "Bit 24 - Reserved"] #[inline(always)] - #[must_use] pub fn trace_sys_clk_en(&mut self) -> TRACE_SYS_CLK_EN_W { TRACE_SYS_CLK_EN_W::new(self, 24) } #[doc = "Bit 25 - Reserved"] #[inline(always)] - #[must_use] pub fn l2cache_sys_clk_en(&mut self) -> L2CACHE_SYS_CLK_EN_W { L2CACHE_SYS_CLK_EN_W::new(self, 25) } #[doc = "Bit 26 - Reserved"] #[inline(always)] - #[must_use] pub fn l2mem_sys_clk_en(&mut self) -> L2MEM_SYS_CLK_EN_W { L2MEM_SYS_CLK_EN_W::new(self, 26) } #[doc = "Bit 27 - Reserved"] #[inline(always)] - #[must_use] pub fn l2memmon_sys_clk_en(&mut self) -> L2MEMMON_SYS_CLK_EN_W { L2MEMMON_SYS_CLK_EN_W::new(self, 27) } #[doc = "Bit 28 - Reserved"] #[inline(always)] - #[must_use] pub fn tcmmon_sys_clk_en(&mut self) -> TCMMON_SYS_CLK_EN_W { TCMMON_SYS_CLK_EN_W::new(self, 28) } #[doc = "Bit 29 - Reserved"] #[inline(always)] - #[must_use] pub fn icm_sys_clk_en(&mut self) -> ICM_SYS_CLK_EN_W { ICM_SYS_CLK_EN_W::new(self, 29) } #[doc = "Bit 30 - Reserved"] #[inline(always)] - #[must_use] pub fn flash_sys_clk_en(&mut self) -> FLASH_SYS_CLK_EN_W { FLASH_SYS_CLK_EN_W::new(self, 30) } #[doc = "Bit 31 - Reserved"] #[inline(always)] - #[must_use] pub fn psram_sys_clk_en(&mut self) -> PSRAM_SYS_CLK_EN_W { PSRAM_SYS_CLK_EN_W::new(self, 31) } diff --git a/esp32p4/src/hp_sys_clkrst/soc_clk_ctrl1.rs b/esp32p4/src/hp_sys_clkrst/soc_clk_ctrl1.rs index fc024644c2..a4105612ee 100644 --- a/esp32p4/src/hp_sys_clkrst/soc_clk_ctrl1.rs +++ b/esp32p4/src/hp_sys_clkrst/soc_clk_ctrl1.rs @@ -340,193 +340,161 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn gpspi2_sys_clk_en(&mut self) -> GPSPI2_SYS_CLK_EN_W { GPSPI2_SYS_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn gpspi3_sys_clk_en(&mut self) -> GPSPI3_SYS_CLK_EN_W { GPSPI3_SYS_CLK_EN_W::new(self, 1) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn regdma_sys_clk_en(&mut self) -> REGDMA_SYS_CLK_EN_W { REGDMA_SYS_CLK_EN_W::new(self, 2) } #[doc = "Bit 3 - Reserved"] #[inline(always)] - #[must_use] pub fn ahb_pdma_sys_clk_en(&mut self) -> AHB_PDMA_SYS_CLK_EN_W { AHB_PDMA_SYS_CLK_EN_W::new(self, 3) } #[doc = "Bit 4 - Reserved"] #[inline(always)] - #[must_use] pub fn axi_pdma_sys_clk_en(&mut self) -> AXI_PDMA_SYS_CLK_EN_W { AXI_PDMA_SYS_CLK_EN_W::new(self, 4) } #[doc = "Bit 5 - Reserved"] #[inline(always)] - #[must_use] pub fn gdma_sys_clk_en(&mut self) -> GDMA_SYS_CLK_EN_W { GDMA_SYS_CLK_EN_W::new(self, 5) } #[doc = "Bit 6 - Reserved"] #[inline(always)] - #[must_use] pub fn dma2d_sys_clk_en(&mut self) -> DMA2D_SYS_CLK_EN_W { DMA2D_SYS_CLK_EN_W::new(self, 6) } #[doc = "Bit 7 - Reserved"] #[inline(always)] - #[must_use] pub fn vpu_sys_clk_en(&mut self) -> VPU_SYS_CLK_EN_W { VPU_SYS_CLK_EN_W::new(self, 7) } #[doc = "Bit 8 - Reserved"] #[inline(always)] - #[must_use] pub fn jpeg_sys_clk_en(&mut self) -> JPEG_SYS_CLK_EN_W { JPEG_SYS_CLK_EN_W::new(self, 8) } #[doc = "Bit 9 - Reserved"] #[inline(always)] - #[must_use] pub fn ppa_sys_clk_en(&mut self) -> PPA_SYS_CLK_EN_W { PPA_SYS_CLK_EN_W::new(self, 9) } #[doc = "Bit 10 - Reserved"] #[inline(always)] - #[must_use] pub fn csi_brg_sys_clk_en(&mut self) -> CSI_BRG_SYS_CLK_EN_W { CSI_BRG_SYS_CLK_EN_W::new(self, 10) } #[doc = "Bit 11 - Reserved"] #[inline(always)] - #[must_use] pub fn csi_host_sys_clk_en(&mut self) -> CSI_HOST_SYS_CLK_EN_W { CSI_HOST_SYS_CLK_EN_W::new(self, 11) } #[doc = "Bit 12 - Reserved"] #[inline(always)] - #[must_use] pub fn dsi_sys_clk_en(&mut self) -> DSI_SYS_CLK_EN_W { DSI_SYS_CLK_EN_W::new(self, 12) } #[doc = "Bit 13 - Reserved"] #[inline(always)] - #[must_use] pub fn emac_sys_clk_en(&mut self) -> EMAC_SYS_CLK_EN_W { EMAC_SYS_CLK_EN_W::new(self, 13) } #[doc = "Bit 14 - Reserved"] #[inline(always)] - #[must_use] pub fn sdmmc_sys_clk_en(&mut self) -> SDMMC_SYS_CLK_EN_W { SDMMC_SYS_CLK_EN_W::new(self, 14) } #[doc = "Bit 15 - Reserved"] #[inline(always)] - #[must_use] pub fn usb_otg11_sys_clk_en(&mut self) -> USB_OTG11_SYS_CLK_EN_W { USB_OTG11_SYS_CLK_EN_W::new(self, 15) } #[doc = "Bit 16 - Reserved"] #[inline(always)] - #[must_use] pub fn usb_otg20_sys_clk_en(&mut self) -> USB_OTG20_SYS_CLK_EN_W { USB_OTG20_SYS_CLK_EN_W::new(self, 16) } #[doc = "Bit 17 - Reserved"] #[inline(always)] - #[must_use] pub fn uhci_sys_clk_en(&mut self) -> UHCI_SYS_CLK_EN_W { UHCI_SYS_CLK_EN_W::new(self, 17) } #[doc = "Bit 18 - Reserved"] #[inline(always)] - #[must_use] pub fn uart0_sys_clk_en(&mut self) -> UART0_SYS_CLK_EN_W { UART0_SYS_CLK_EN_W::new(self, 18) } #[doc = "Bit 19 - Reserved"] #[inline(always)] - #[must_use] pub fn uart1_sys_clk_en(&mut self) -> UART1_SYS_CLK_EN_W { UART1_SYS_CLK_EN_W::new(self, 19) } #[doc = "Bit 20 - Reserved"] #[inline(always)] - #[must_use] pub fn uart2_sys_clk_en(&mut self) -> UART2_SYS_CLK_EN_W { UART2_SYS_CLK_EN_W::new(self, 20) } #[doc = "Bit 21 - Reserved"] #[inline(always)] - #[must_use] pub fn uart3_sys_clk_en(&mut self) -> UART3_SYS_CLK_EN_W { UART3_SYS_CLK_EN_W::new(self, 21) } #[doc = "Bit 22 - Reserved"] #[inline(always)] - #[must_use] pub fn uart4_sys_clk_en(&mut self) -> UART4_SYS_CLK_EN_W { UART4_SYS_CLK_EN_W::new(self, 22) } #[doc = "Bit 23 - Reserved"] #[inline(always)] - #[must_use] pub fn parlio_sys_clk_en(&mut self) -> PARLIO_SYS_CLK_EN_W { PARLIO_SYS_CLK_EN_W::new(self, 23) } #[doc = "Bit 24 - Reserved"] #[inline(always)] - #[must_use] pub fn etm_sys_clk_en(&mut self) -> ETM_SYS_CLK_EN_W { ETM_SYS_CLK_EN_W::new(self, 24) } #[doc = "Bit 25 - Reserved"] #[inline(always)] - #[must_use] pub fn pvt_sys_clk_en(&mut self) -> PVT_SYS_CLK_EN_W { PVT_SYS_CLK_EN_W::new(self, 25) } #[doc = "Bit 26 - Reserved"] #[inline(always)] - #[must_use] pub fn crypto_sys_clk_en(&mut self) -> CRYPTO_SYS_CLK_EN_W { CRYPTO_SYS_CLK_EN_W::new(self, 26) } #[doc = "Bit 27 - Reserved"] #[inline(always)] - #[must_use] pub fn key_manager_sys_clk_en(&mut self) -> KEY_MANAGER_SYS_CLK_EN_W { KEY_MANAGER_SYS_CLK_EN_W::new(self, 27) } #[doc = "Bit 28 - Reserved"] #[inline(always)] - #[must_use] pub fn bitsrambler_sys_clk_en(&mut self) -> BITSRAMBLER_SYS_CLK_EN_W { BITSRAMBLER_SYS_CLK_EN_W::new(self, 28) } #[doc = "Bit 29 - Reserved"] #[inline(always)] - #[must_use] pub fn bitsrambler_rx_sys_clk_en(&mut self) -> BITSRAMBLER_RX_SYS_CLK_EN_W { BITSRAMBLER_RX_SYS_CLK_EN_W::new(self, 29) } #[doc = "Bit 30 - Reserved"] #[inline(always)] - #[must_use] pub fn bitsrambler_tx_sys_clk_en(&mut self) -> BITSRAMBLER_TX_SYS_CLK_EN_W { BITSRAMBLER_TX_SYS_CLK_EN_W::new(self, 30) } #[doc = "Bit 31 - Reserved"] #[inline(always)] - #[must_use] pub fn h264_sys_clk_en(&mut self) -> H264_SYS_CLK_EN_W { H264_SYS_CLK_EN_W::new(self, 31) } diff --git a/esp32p4/src/hp_sys_clkrst/soc_clk_ctrl2.rs b/esp32p4/src/hp_sys_clkrst/soc_clk_ctrl2.rs index bd4d33cd33..81788ad132 100644 --- a/esp32p4/src/hp_sys_clkrst/soc_clk_ctrl2.rs +++ b/esp32p4/src/hp_sys_clkrst/soc_clk_ctrl2.rs @@ -334,193 +334,161 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn rmt_sys_clk_en(&mut self) -> RMT_SYS_CLK_EN_W { RMT_SYS_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn hp_clkrst_apb_clk_en(&mut self) -> HP_CLKRST_APB_CLK_EN_W { HP_CLKRST_APB_CLK_EN_W::new(self, 1) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn sysreg_apb_clk_en(&mut self) -> SYSREG_APB_CLK_EN_W { SYSREG_APB_CLK_EN_W::new(self, 2) } #[doc = "Bit 3 - Reserved"] #[inline(always)] - #[must_use] pub fn icm_apb_clk_en(&mut self) -> ICM_APB_CLK_EN_W { ICM_APB_CLK_EN_W::new(self, 3) } #[doc = "Bit 4 - Reserved"] #[inline(always)] - #[must_use] pub fn intrmtx_apb_clk_en(&mut self) -> INTRMTX_APB_CLK_EN_W { INTRMTX_APB_CLK_EN_W::new(self, 4) } #[doc = "Bit 5 - Reserved"] #[inline(always)] - #[must_use] pub fn adc_apb_clk_en(&mut self) -> ADC_APB_CLK_EN_W { ADC_APB_CLK_EN_W::new(self, 5) } #[doc = "Bit 6 - Reserved"] #[inline(always)] - #[must_use] pub fn uhci_apb_clk_en(&mut self) -> UHCI_APB_CLK_EN_W { UHCI_APB_CLK_EN_W::new(self, 6) } #[doc = "Bit 7 - Reserved"] #[inline(always)] - #[must_use] pub fn uart0_apb_clk_en(&mut self) -> UART0_APB_CLK_EN_W { UART0_APB_CLK_EN_W::new(self, 7) } #[doc = "Bit 8 - Reserved"] #[inline(always)] - #[must_use] pub fn uart1_apb_clk_en(&mut self) -> UART1_APB_CLK_EN_W { UART1_APB_CLK_EN_W::new(self, 8) } #[doc = "Bit 9 - Reserved"] #[inline(always)] - #[must_use] pub fn uart2_apb_clk_en(&mut self) -> UART2_APB_CLK_EN_W { UART2_APB_CLK_EN_W::new(self, 9) } #[doc = "Bit 10 - Reserved"] #[inline(always)] - #[must_use] pub fn uart3_apb_clk_en(&mut self) -> UART3_APB_CLK_EN_W { UART3_APB_CLK_EN_W::new(self, 10) } #[doc = "Bit 11 - Reserved"] #[inline(always)] - #[must_use] pub fn uart4_apb_clk_en(&mut self) -> UART4_APB_CLK_EN_W { UART4_APB_CLK_EN_W::new(self, 11) } #[doc = "Bit 12 - Reserved"] #[inline(always)] - #[must_use] pub fn i2c0_apb_clk_en(&mut self) -> I2C0_APB_CLK_EN_W { I2C0_APB_CLK_EN_W::new(self, 12) } #[doc = "Bit 13 - Reserved"] #[inline(always)] - #[must_use] pub fn i2c1_apb_clk_en(&mut self) -> I2C1_APB_CLK_EN_W { I2C1_APB_CLK_EN_W::new(self, 13) } #[doc = "Bit 14 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s0_apb_clk_en(&mut self) -> I2S0_APB_CLK_EN_W { I2S0_APB_CLK_EN_W::new(self, 14) } #[doc = "Bit 15 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s1_apb_clk_en(&mut self) -> I2S1_APB_CLK_EN_W { I2S1_APB_CLK_EN_W::new(self, 15) } #[doc = "Bit 16 - Reserved"] #[inline(always)] - #[must_use] pub fn i2s2_apb_clk_en(&mut self) -> I2S2_APB_CLK_EN_W { I2S2_APB_CLK_EN_W::new(self, 16) } #[doc = "Bit 17 - Reserved"] #[inline(always)] - #[must_use] pub fn i3c_mst_apb_clk_en(&mut self) -> I3C_MST_APB_CLK_EN_W { I3C_MST_APB_CLK_EN_W::new(self, 17) } #[doc = "Bit 18 - Reserved"] #[inline(always)] - #[must_use] pub fn i3c_slv_apb_clk_en(&mut self) -> I3C_SLV_APB_CLK_EN_W { I3C_SLV_APB_CLK_EN_W::new(self, 18) } #[doc = "Bit 19 - Reserved"] #[inline(always)] - #[must_use] pub fn gpspi2_apb_clk_en(&mut self) -> GPSPI2_APB_CLK_EN_W { GPSPI2_APB_CLK_EN_W::new(self, 19) } #[doc = "Bit 20 - Reserved"] #[inline(always)] - #[must_use] pub fn gpspi3_apb_clk_en(&mut self) -> GPSPI3_APB_CLK_EN_W { GPSPI3_APB_CLK_EN_W::new(self, 20) } #[doc = "Bit 21 - Reserved"] #[inline(always)] - #[must_use] pub fn timergrp0_apb_clk_en(&mut self) -> TIMERGRP0_APB_CLK_EN_W { TIMERGRP0_APB_CLK_EN_W::new(self, 21) } #[doc = "Bit 22 - Reserved"] #[inline(always)] - #[must_use] pub fn timergrp1_apb_clk_en(&mut self) -> TIMERGRP1_APB_CLK_EN_W { TIMERGRP1_APB_CLK_EN_W::new(self, 22) } #[doc = "Bit 23 - Reserved"] #[inline(always)] - #[must_use] pub fn systimer_apb_clk_en(&mut self) -> SYSTIMER_APB_CLK_EN_W { SYSTIMER_APB_CLK_EN_W::new(self, 23) } #[doc = "Bit 24 - Reserved"] #[inline(always)] - #[must_use] pub fn twai0_apb_clk_en(&mut self) -> TWAI0_APB_CLK_EN_W { TWAI0_APB_CLK_EN_W::new(self, 24) } #[doc = "Bit 25 - Reserved"] #[inline(always)] - #[must_use] pub fn twai1_apb_clk_en(&mut self) -> TWAI1_APB_CLK_EN_W { TWAI1_APB_CLK_EN_W::new(self, 25) } #[doc = "Bit 26 - Reserved"] #[inline(always)] - #[must_use] pub fn twai2_apb_clk_en(&mut self) -> TWAI2_APB_CLK_EN_W { TWAI2_APB_CLK_EN_W::new(self, 26) } #[doc = "Bit 27 - Reserved"] #[inline(always)] - #[must_use] pub fn mcpwm0_apb_clk_en(&mut self) -> MCPWM0_APB_CLK_EN_W { MCPWM0_APB_CLK_EN_W::new(self, 27) } #[doc = "Bit 28 - Reserved"] #[inline(always)] - #[must_use] pub fn mcpwm1_apb_clk_en(&mut self) -> MCPWM1_APB_CLK_EN_W { MCPWM1_APB_CLK_EN_W::new(self, 28) } #[doc = "Bit 29 - Reserved"] #[inline(always)] - #[must_use] pub fn usb_device_apb_clk_en(&mut self) -> USB_DEVICE_APB_CLK_EN_W { USB_DEVICE_APB_CLK_EN_W::new(self, 29) } #[doc = "Bit 30 - Reserved"] #[inline(always)] - #[must_use] pub fn pcnt_apb_clk_en(&mut self) -> PCNT_APB_CLK_EN_W { PCNT_APB_CLK_EN_W::new(self, 30) } #[doc = "Bit 31 - Reserved"] #[inline(always)] - #[must_use] pub fn parlio_apb_clk_en(&mut self) -> PARLIO_APB_CLK_EN_W { PARLIO_APB_CLK_EN_W::new(self, 31) } diff --git a/esp32p4/src/hp_sys_clkrst/soc_clk_ctrl3.rs b/esp32p4/src/hp_sys_clkrst/soc_clk_ctrl3.rs index e5be74af61..73a41dfafb 100644 --- a/esp32p4/src/hp_sys_clkrst/soc_clk_ctrl3.rs +++ b/esp32p4/src/hp_sys_clkrst/soc_clk_ctrl3.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn ledc_apb_clk_en(&mut self) -> LEDC_APB_CLK_EN_W { LEDC_APB_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn lcdcam_apb_clk_en(&mut self) -> LCDCAM_APB_CLK_EN_W { LCDCAM_APB_CLK_EN_W::new(self, 1) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn etm_apb_clk_en(&mut self) -> ETM_APB_CLK_EN_W { ETM_APB_CLK_EN_W::new(self, 2) } #[doc = "Bit 3 - Reserved"] #[inline(always)] - #[must_use] pub fn iomux_apb_clk_en(&mut self) -> IOMUX_APB_CLK_EN_W { IOMUX_APB_CLK_EN_W::new(self, 3) } diff --git a/esp32p4/src/i2c0/clk_conf.rs b/esp32p4/src/i2c0/clk_conf.rs index 70fecdec18..238cb1aafd 100644 --- a/esp32p4/src/i2c0/clk_conf.rs +++ b/esp32p4/src/i2c0/clk_conf.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - the integral part of the fractional divisor for i2c module"] #[inline(always)] - #[must_use] pub fn sclk_div_num(&mut self) -> SCLK_DIV_NUM_W { SCLK_DIV_NUM_W::new(self, 0) } #[doc = "Bits 8:13 - the numerator of the fractional part of the fractional divisor for i2c module"] #[inline(always)] - #[must_use] pub fn sclk_div_a(&mut self) -> SCLK_DIV_A_W { SCLK_DIV_A_W::new(self, 8) } #[doc = "Bits 14:19 - the denominator of the fractional part of the fractional divisor for i2c module"] #[inline(always)] - #[must_use] pub fn sclk_div_b(&mut self) -> SCLK_DIV_B_W { SCLK_DIV_B_W::new(self, 14) } #[doc = "Bit 20 - The clock selection for i2c module:0-XTAL,1-CLK_8MHz."] #[inline(always)] - #[must_use] pub fn sclk_sel(&mut self) -> SCLK_SEL_W { SCLK_SEL_W::new(self, 20) } #[doc = "Bit 21 - The clock switch for i2c module"] #[inline(always)] - #[must_use] pub fn sclk_active(&mut self) -> SCLK_ACTIVE_W { SCLK_ACTIVE_W::new(self, 21) } diff --git a/esp32p4/src/i2c0/comd.rs b/esp32p4/src/i2c0/comd.rs index d07fe96113..2b6b4b31ed 100644 --- a/esp32p4/src/i2c0/comd.rs +++ b/esp32p4/src/i2c0/comd.rs @@ -170,37 +170,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Number of bytes to be sent or received for command %s."] #[inline(always)] - #[must_use] pub fn byte_num(&mut self) -> BYTE_NUM_W { BYTE_NUM_W::new(self, 0) } #[doc = "Bit 8 - Acknowledge check enable for command %s."] #[inline(always)] - #[must_use] pub fn ack_check_en(&mut self) -> ACK_CHECK_EN_W { ACK_CHECK_EN_W::new(self, 8) } #[doc = "Bit 9 - Acknowledge expected for command %s."] #[inline(always)] - #[must_use] pub fn ack_exp(&mut self) -> ACK_EXP_W { ACK_EXP_W::new(self, 9) } #[doc = "Bit 10 - Acknowledge value for command %s."] #[inline(always)] - #[must_use] pub fn ack_value(&mut self) -> ACK_VALUE_W { ACK_VALUE_W::new(self, 10) } #[doc = "Bits 11:13 - Opcode part of command %s."] #[inline(always)] - #[must_use] pub fn opcode(&mut self) -> OPCODE_W { OPCODE_W::new(self, 11) } #[doc = "Bit 31 - Represents whether command 0 is done in I2C Master mode. 0: Not done 1: Done"] #[inline(always)] - #[must_use] pub fn command_done(&mut self) -> COMMAND_DONE_W { COMMAND_DONE_W::new(self, 31) } diff --git a/esp32p4/src/i2c0/ctr.rs b/esp32p4/src/i2c0/ctr.rs index e48fd94f92..45ecc47b0f 100644 --- a/esp32p4/src/i2c0/ctr.rs +++ b/esp32p4/src/i2c0/ctr.rs @@ -140,91 +140,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configures the SDA output mode 1: Direct output, 0: Open drain output."] #[inline(always)] - #[must_use] pub fn sda_force_out(&mut self) -> SDA_FORCE_OUT_W { SDA_FORCE_OUT_W::new(self, 0) } #[doc = "Bit 1 - Configures the SCL output mode 1: Direct output, 0: Open drain output."] #[inline(always)] - #[must_use] pub fn scl_force_out(&mut self) -> SCL_FORCE_OUT_W { SCL_FORCE_OUT_W::new(self, 1) } #[doc = "Bit 2 - Configures the sample mode for SDA. 1: Sample SDA data on the SCL low level. 0: Sample SDA data on the SCL high level."] #[inline(always)] - #[must_use] pub fn sample_scl_level(&mut self) -> SAMPLE_SCL_LEVEL_W { SAMPLE_SCL_LEVEL_W::new(self, 2) } #[doc = "Bit 3 - Configures the ACK value that needs to be sent by master when the rx_fifo_cnt has reached the threshold."] #[inline(always)] - #[must_use] pub fn rx_full_ack_level(&mut self) -> RX_FULL_ACK_LEVEL_W { RX_FULL_ACK_LEVEL_W::new(self, 3) } #[doc = "Bit 4 - Configures the module as an I2C Master or Slave. 0: Slave 1: Master"] #[inline(always)] - #[must_use] pub fn ms_mode(&mut self) -> MS_MODE_W { MS_MODE_W::new(self, 4) } #[doc = "Bit 5 - Configures to start sending the data in txfifo for slave. 0: No effect 1: Start"] #[inline(always)] - #[must_use] pub fn trans_start(&mut self) -> TRANS_START_W { TRANS_START_W::new(self, 5) } #[doc = "Bit 6 - Configures to control the sending order for data needing to be sent. 1: send data from the least significant bit, 0: send data from the most significant bit."] #[inline(always)] - #[must_use] pub fn tx_lsb_first(&mut self) -> TX_LSB_FIRST_W { TX_LSB_FIRST_W::new(self, 6) } #[doc = "Bit 7 - Configures to control the storage order for received data. 1: receive data from the least significant bit 0: receive data from the most significant bit."] #[inline(always)] - #[must_use] pub fn rx_lsb_first(&mut self) -> RX_LSB_FIRST_W { RX_LSB_FIRST_W::new(self, 7) } #[doc = "Bit 8 - Configures whether to gate clock signal for registers. 0: Force clock on for registers 1: Support clock only when registers are read or written to by software."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 8) } #[doc = "Bit 9 - Configures to enable I2C bus arbitration detection. 0: No effect 1: Enable"] #[inline(always)] - #[must_use] pub fn arbitration_en(&mut self) -> ARBITRATION_EN_W { ARBITRATION_EN_W::new(self, 9) } #[doc = "Bit 10 - Configures to reset the SCL_FSM. 0: No effect 1: Reset"] #[inline(always)] - #[must_use] pub fn fsm_rst(&mut self) -> FSM_RST_W { FSM_RST_W::new(self, 10) } #[doc = "Bit 11 - Configures this bit for synchronization 0: No effect 1: Synchronize"] #[inline(always)] - #[must_use] pub fn conf_upgate(&mut self) -> CONF_UPGATE_W { CONF_UPGATE_W::new(self, 11) } #[doc = "Bit 12 - Configures to enable slave to send data automatically 0: Disable 1: Enable"] #[inline(always)] - #[must_use] pub fn slv_tx_auto_start_en(&mut self) -> SLV_TX_AUTO_START_EN_W { SLV_TX_AUTO_START_EN_W::new(self, 12) } #[doc = "Bit 13 - Configures to check if the r/w bit of 10bit addressing consists with I2C protocol. 0: Not check 1: Check"] #[inline(always)] - #[must_use] pub fn addr_10bit_rw_check_en(&mut self) -> ADDR_10BIT_RW_CHECK_EN_W { ADDR_10BIT_RW_CHECK_EN_W::new(self, 13) } #[doc = "Bit 14 - Configures to support the 7bit general call function. 0: Not support 1: Support"] #[inline(always)] - #[must_use] pub fn addr_broadcasting_en(&mut self) -> ADDR_BROADCASTING_EN_W { ADDR_BROADCASTING_EN_W::new(self, 14) } diff --git a/esp32p4/src/i2c0/date.rs b/esp32p4/src/i2c0/date.rs index 5aa160bbe6..73ed210fcb 100644 --- a/esp32p4/src/i2c0/date.rs +++ b/esp32p4/src/i2c0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Version control register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32p4/src/i2c0/fifo_conf.rs b/esp32p4/src/i2c0/fifo_conf.rs index 6947f859a8..e471f7566e 100644 --- a/esp32p4/src/i2c0/fifo_conf.rs +++ b/esp32p4/src/i2c0/fifo_conf.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Configures the water mark threshold of RXFIFO in nonfifo access mode. When reg_reg_fifo_prt_en is 1 and rx FIFO counter is bigger than reg_rxfifo_wm_thrhd\\[4:0\\], reg_rxfifo_wm_int_raw bit will be valid."] #[inline(always)] - #[must_use] pub fn rxfifo_wm_thrhd(&mut self) -> RXFIFO_WM_THRHD_W { RXFIFO_WM_THRHD_W::new(self, 0) } #[doc = "Bits 5:9 - Configures the water mark threshold of TXFIFO in nonfifo access mode. When reg_reg_fifo_prt_en is 1 and tx FIFO counter is smaller than reg_txfifo_wm_thrhd\\[4:0\\], reg_txfifo_wm_int_raw bit will be valid."] #[inline(always)] - #[must_use] pub fn txfifo_wm_thrhd(&mut self) -> TXFIFO_WM_THRHD_W { TXFIFO_WM_THRHD_W::new(self, 5) } #[doc = "Bit 10 - Configures to enable APB nonfifo access."] #[inline(always)] - #[must_use] pub fn nonfifo_en(&mut self) -> NONFIFO_EN_W { NONFIFO_EN_W::new(self, 10) } #[doc = "Bit 11 - Configures to enable double addressing mode. When this mode is enabled, the byte received after the I2C address byte represents the offset address in the I2C Slave RAM. 0: Disable 1: Enable"] #[inline(always)] - #[must_use] pub fn fifo_addr_cfg_en(&mut self) -> FIFO_ADDR_CFG_EN_W { FIFO_ADDR_CFG_EN_W::new(self, 11) } #[doc = "Bit 12 - Configures to reset RXFIFO. 0: No effect 1: Reset"] #[inline(always)] - #[must_use] pub fn rx_fifo_rst(&mut self) -> RX_FIFO_RST_W { RX_FIFO_RST_W::new(self, 12) } #[doc = "Bit 13 - Configures to reset TXFIFO. 0: No effect 1: Reset"] #[inline(always)] - #[must_use] pub fn tx_fifo_rst(&mut self) -> TX_FIFO_RST_W { TX_FIFO_RST_W::new(self, 13) } #[doc = "Bit 14 - Configures to enable FIFO pointer in non-fifo access mode. This bit controls the valid bits and the TX/RX FIFO overflow, underflow, full and empty interrupts. 0: No effect 1: Enable"] #[inline(always)] - #[must_use] pub fn fifo_prt_en(&mut self) -> FIFO_PRT_EN_W { FIFO_PRT_EN_W::new(self, 14) } diff --git a/esp32p4/src/i2c0/filter_cfg.rs b/esp32p4/src/i2c0/filter_cfg.rs index fc33434c65..2cd35d1eac 100644 --- a/esp32p4/src/i2c0/filter_cfg.rs +++ b/esp32p4/src/i2c0/filter_cfg.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Configures the threshold pulse width to be filtered on SCL. When a pulse on the SCL input has smaller width than this register value, the I2C controller will ignore that pulse. Measurement unit: i2c_sclk"] #[inline(always)] - #[must_use] pub fn scl_filter_thres(&mut self) -> SCL_FILTER_THRES_W { SCL_FILTER_THRES_W::new(self, 0) } #[doc = "Bits 4:7 - Configures the threshold pulse width to be filtered on SDA. When a pulse on the SDA input has smaller width than this register value, the I2C controller will ignore that pulse. Measurement unit: i2c_sclk"] #[inline(always)] - #[must_use] pub fn sda_filter_thres(&mut self) -> SDA_FILTER_THRES_W { SDA_FILTER_THRES_W::new(self, 4) } #[doc = "Bit 8 - Configures to enable the filter function for SCL."] #[inline(always)] - #[must_use] pub fn scl_filter_en(&mut self) -> SCL_FILTER_EN_W { SCL_FILTER_EN_W::new(self, 8) } #[doc = "Bit 9 - Configures to enable the filter function for SDA."] #[inline(always)] - #[must_use] pub fn sda_filter_en(&mut self) -> SDA_FILTER_EN_W { SDA_FILTER_EN_W::new(self, 9) } diff --git a/esp32p4/src/i2c0/int_clr.rs b/esp32p4/src/i2c0/int_clr.rs index 3d43b25cb1..efaf998d18 100644 --- a/esp32p4/src/i2c0/int_clr.rs +++ b/esp32p4/src/i2c0/int_clr.rs @@ -47,115 +47,96 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to clear I2C_RXFIFO_WM_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_wm(&mut self) -> RXFIFO_WM_W { RXFIFO_WM_W::new(self, 0) } #[doc = "Bit 1 - Write 1 to clear I2C_TXFIFO_WM_INT interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_wm(&mut self) -> TXFIFO_WM_W { TXFIFO_WM_W::new(self, 1) } #[doc = "Bit 2 - Write 1 to clear I2C_RXFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 2) } #[doc = "Bit 3 - Write 1 to clear the I2C_END_DETECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn end_detect(&mut self) -> END_DETECT_W { END_DETECT_W::new(self, 3) } #[doc = "Bit 4 - Write 1 to clear the I2C_END_DETECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn byte_trans_done(&mut self) -> BYTE_TRANS_DONE_W { BYTE_TRANS_DONE_W::new(self, 4) } #[doc = "Bit 5 - Write 1 to clear the I2C_ARBITRATION_LOST_INT interrupt."] #[inline(always)] - #[must_use] pub fn arbitration_lost(&mut self) -> ARBITRATION_LOST_W { ARBITRATION_LOST_W::new(self, 5) } #[doc = "Bit 6 - Write 1 to clear I2C_TRANS_COMPLETE_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_txfifo_udf(&mut self) -> MST_TXFIFO_UDF_W { MST_TXFIFO_UDF_W::new(self, 6) } #[doc = "Bit 7 - Write 1 to clear the I2C_TRANS_COMPLETE_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_complete(&mut self) -> TRANS_COMPLETE_W { TRANS_COMPLETE_W::new(self, 7) } #[doc = "Bit 8 - Write 1 to clear the I2C_TIME_OUT_INT interrupt."] #[inline(always)] - #[must_use] pub fn time_out(&mut self) -> TIME_OUT_W { TIME_OUT_W::new(self, 8) } #[doc = "Bit 9 - Write 1 to clear the I2C_TRANS_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_start(&mut self) -> TRANS_START_W { TRANS_START_W::new(self, 9) } #[doc = "Bit 10 - Write 1 to clear I2C_SLAVE_STRETCH_INT interrupt."] #[inline(always)] - #[must_use] pub fn nack(&mut self) -> NACK_W { NACK_W::new(self, 10) } #[doc = "Bit 11 - Write 1 to clear I2C_TXFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_ovf(&mut self) -> TXFIFO_OVF_W { TXFIFO_OVF_W::new(self, 11) } #[doc = "Bit 12 - Write 1 to clear I2C_RXFIFO_UDF_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_udf(&mut self) -> RXFIFO_UDF_W { RXFIFO_UDF_W::new(self, 12) } #[doc = "Bit 13 - Write 1 to clear I2C_SCL_ST_TO_INT interrupt."] #[inline(always)] - #[must_use] pub fn scl_st_to(&mut self) -> SCL_ST_TO_W { SCL_ST_TO_W::new(self, 13) } #[doc = "Bit 14 - Write 1 to clear I2C_SCL_MAIN_ST_TO_INT interrupt."] #[inline(always)] - #[must_use] pub fn scl_main_st_to(&mut self) -> SCL_MAIN_ST_TO_W { SCL_MAIN_ST_TO_W::new(self, 14) } #[doc = "Bit 15 - Write 1 to clear I2C_DET_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn det_start(&mut self) -> DET_START_W { DET_START_W::new(self, 15) } #[doc = "Bit 16 - Write 1 to clear I2C_SLAVE_STRETCH_INT interrupt."] #[inline(always)] - #[must_use] pub fn slave_stretch(&mut self) -> SLAVE_STRETCH_W { SLAVE_STRETCH_W::new(self, 16) } #[doc = "Bit 17 - Write 1 to clear I2C_GENARAL_CALL_INT interrupt."] #[inline(always)] - #[must_use] pub fn general_call(&mut self) -> GENERAL_CALL_W { GENERAL_CALL_W::new(self, 17) } #[doc = "Bit 18 - Write 1 to clear I2C_SLAVE_ADDR_UNMATCH_INT_RAW interrupt."] #[inline(always)] - #[must_use] pub fn slave_addr_unmatch(&mut self) -> SLAVE_ADDR_UNMATCH_W { SLAVE_ADDR_UNMATCH_W::new(self, 18) } diff --git a/esp32p4/src/i2c0/int_ena.rs b/esp32p4/src/i2c0/int_ena.rs index b33451e3df..74ebe8bd70 100644 --- a/esp32p4/src/i2c0/int_ena.rs +++ b/esp32p4/src/i2c0/int_ena.rs @@ -204,115 +204,96 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Write 1 to enable I2C_RXFIFO_WM_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_wm(&mut self) -> RXFIFO_WM_W { RXFIFO_WM_W::new(self, 0) } #[doc = "Bit 1 - Write 1 to enable I2C_TXFIFO_WM_INT interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_wm(&mut self) -> TXFIFO_WM_W { TXFIFO_WM_W::new(self, 1) } #[doc = "Bit 2 - Write 1 to enable I2C_RXFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 2) } #[doc = "Bit 3 - Write 1 to enable the I2C_END_DETECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn end_detect(&mut self) -> END_DETECT_W { END_DETECT_W::new(self, 3) } #[doc = "Bit 4 - Write 1 to enable the I2C_END_DETECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn byte_trans_done(&mut self) -> BYTE_TRANS_DONE_W { BYTE_TRANS_DONE_W::new(self, 4) } #[doc = "Bit 5 - Write 1 to enable the I2C_ARBITRATION_LOST_INT interrupt."] #[inline(always)] - #[must_use] pub fn arbitration_lost(&mut self) -> ARBITRATION_LOST_W { ARBITRATION_LOST_W::new(self, 5) } #[doc = "Bit 6 - Write 1 to enable I2C_TRANS_COMPLETE_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_txfifo_udf(&mut self) -> MST_TXFIFO_UDF_W { MST_TXFIFO_UDF_W::new(self, 6) } #[doc = "Bit 7 - Write 1 to enable the I2C_TRANS_COMPLETE_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_complete(&mut self) -> TRANS_COMPLETE_W { TRANS_COMPLETE_W::new(self, 7) } #[doc = "Bit 8 - Write 1 to enable the I2C_TIME_OUT_INT interrupt."] #[inline(always)] - #[must_use] pub fn time_out(&mut self) -> TIME_OUT_W { TIME_OUT_W::new(self, 8) } #[doc = "Bit 9 - Write 1 to enable the I2C_TRANS_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_start(&mut self) -> TRANS_START_W { TRANS_START_W::new(self, 9) } #[doc = "Bit 10 - Write 1 to enable I2C_SLAVE_STRETCH_INT interrupt."] #[inline(always)] - #[must_use] pub fn nack(&mut self) -> NACK_W { NACK_W::new(self, 10) } #[doc = "Bit 11 - Write 1 to enable I2C_TXFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_ovf(&mut self) -> TXFIFO_OVF_W { TXFIFO_OVF_W::new(self, 11) } #[doc = "Bit 12 - Write 1 to enable I2C_RXFIFO_UDF_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_udf(&mut self) -> RXFIFO_UDF_W { RXFIFO_UDF_W::new(self, 12) } #[doc = "Bit 13 - Write 1 to enable I2C_SCL_ST_TO_INT interrupt."] #[inline(always)] - #[must_use] pub fn scl_st_to(&mut self) -> SCL_ST_TO_W { SCL_ST_TO_W::new(self, 13) } #[doc = "Bit 14 - Write 1 to enable I2C_SCL_MAIN_ST_TO_INT interrupt."] #[inline(always)] - #[must_use] pub fn scl_main_st_to(&mut self) -> SCL_MAIN_ST_TO_W { SCL_MAIN_ST_TO_W::new(self, 14) } #[doc = "Bit 15 - Write 1 to enable I2C_DET_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn det_start(&mut self) -> DET_START_W { DET_START_W::new(self, 15) } #[doc = "Bit 16 - Write 1 to enable I2C_SLAVE_STRETCH_INT interrupt."] #[inline(always)] - #[must_use] pub fn slave_stretch(&mut self) -> SLAVE_STRETCH_W { SLAVE_STRETCH_W::new(self, 16) } #[doc = "Bit 17 - Write 1 to enable I2C_GENARAL_CALL_INT interrupt."] #[inline(always)] - #[must_use] pub fn general_call(&mut self) -> GENERAL_CALL_W { GENERAL_CALL_W::new(self, 17) } #[doc = "Bit 18 - Write 1 to enable I2C_SLAVE_ADDR_UNMATCH_INT interrupt."] #[inline(always)] - #[must_use] pub fn slave_addr_unmatch(&mut self) -> SLAVE_ADDR_UNMATCH_W { SLAVE_ADDR_UNMATCH_W::new(self, 18) } diff --git a/esp32p4/src/i2c0/scl_high_period.rs b/esp32p4/src/i2c0/scl_high_period.rs index 2436ea2bc2..5486c850c5 100644 --- a/esp32p4/src/i2c0/scl_high_period.rs +++ b/esp32p4/src/i2c0/scl_high_period.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - Configures for how long SCL remains high in master mode. Measurement unit: i2c_sclk"] #[inline(always)] - #[must_use] pub fn scl_high_period(&mut self) -> SCL_HIGH_PERIOD_W { SCL_HIGH_PERIOD_W::new(self, 0) } #[doc = "Bits 9:15 - Configures the SCL_FSM's waiting period for SCL high level in master mode. Measurement unit: i2c_sclk"] #[inline(always)] - #[must_use] pub fn scl_wait_high_period(&mut self) -> SCL_WAIT_HIGH_PERIOD_W { SCL_WAIT_HIGH_PERIOD_W::new(self, 9) } diff --git a/esp32p4/src/i2c0/scl_low_period.rs b/esp32p4/src/i2c0/scl_low_period.rs index f0322f45d5..e3616a36f1 100644 --- a/esp32p4/src/i2c0/scl_low_period.rs +++ b/esp32p4/src/i2c0/scl_low_period.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - Configures the low level width of the SCL Clock. Measurement unit: i2c_sclk."] #[inline(always)] - #[must_use] pub fn scl_low_period(&mut self) -> SCL_LOW_PERIOD_W { SCL_LOW_PERIOD_W::new(self, 0) } diff --git a/esp32p4/src/i2c0/scl_main_st_time_out.rs b/esp32p4/src/i2c0/scl_main_st_time_out.rs index fbecd65343..e20d56659a 100644 --- a/esp32p4/src/i2c0/scl_main_st_time_out.rs +++ b/esp32p4/src/i2c0/scl_main_st_time_out.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Configures the threshold value of SCL_MAIN_FSM state unchanged period.nIt should be no more than 23. Measurement unit: i2c_sclk"] #[inline(always)] - #[must_use] pub fn scl_main_st_to_i2c(&mut self) -> SCL_MAIN_ST_TO_I2C_W { SCL_MAIN_ST_TO_I2C_W::new(self, 0) } diff --git a/esp32p4/src/i2c0/scl_rstart_setup.rs b/esp32p4/src/i2c0/scl_rstart_setup.rs index 31166d2feb..b7aae729d1 100644 --- a/esp32p4/src/i2c0/scl_rstart_setup.rs +++ b/esp32p4/src/i2c0/scl_rstart_setup.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - Configures the time between the positive edge of SCL and the negative edge of SDA for a RESTART condition. Measurement unit: i2c_sclk"] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32p4/src/i2c0/scl_sp_conf.rs b/esp32p4/src/i2c0/scl_sp_conf.rs index c8687dc1f0..2b9e6e7bd8 100644 --- a/esp32p4/src/i2c0/scl_sp_conf.rs +++ b/esp32p4/src/i2c0/scl_sp_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configures to send out SCL pulses when I2C master is IDLE. The number of pulses equals to reg_scl_rst_slv_num\\[4:0\\]."] #[inline(always)] - #[must_use] pub fn scl_rst_slv_en(&mut self) -> SCL_RST_SLV_EN_W { SCL_RST_SLV_EN_W::new(self, 0) } #[doc = "Bits 1:5 - Configure the pulses of SCL generated in I2C master mode. Valid when reg_scl_rst_slv_en is 1. Measurement unit: i2c_sclk"] #[inline(always)] - #[must_use] pub fn scl_rst_slv_num(&mut self) -> SCL_RST_SLV_NUM_W { SCL_RST_SLV_NUM_W::new(self, 1) } #[doc = "Bit 6 - Configures to power down the I2C output SCL line. 0: Not power down. 1: Power down. Valid only when reg_scl_force_out is 1."] #[inline(always)] - #[must_use] pub fn scl_pd_en(&mut self) -> SCL_PD_EN_W { SCL_PD_EN_W::new(self, 6) } #[doc = "Bit 7 - Configures to power down the I2C output SDA line. 0: Not power down. 1: Power down. Valid only when reg_sda_force_out is 1."] #[inline(always)] - #[must_use] pub fn sda_pd_en(&mut self) -> SDA_PD_EN_W { SDA_PD_EN_W::new(self, 7) } diff --git a/esp32p4/src/i2c0/scl_st_time_out.rs b/esp32p4/src/i2c0/scl_st_time_out.rs index 67772cd1e0..66eb7fbb63 100644 --- a/esp32p4/src/i2c0/scl_st_time_out.rs +++ b/esp32p4/src/i2c0/scl_st_time_out.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Configures the threshold value of SCL_FSM state unchanged period. It should be no more than 23. Measurement unit: i2c_sclk"] #[inline(always)] - #[must_use] pub fn scl_st_to_i2c(&mut self) -> SCL_ST_TO_I2C_W { SCL_ST_TO_I2C_W::new(self, 0) } diff --git a/esp32p4/src/i2c0/scl_start_hold.rs b/esp32p4/src/i2c0/scl_start_hold.rs index b3369fac3e..5ecae02216 100644 --- a/esp32p4/src/i2c0/scl_start_hold.rs +++ b/esp32p4/src/i2c0/scl_start_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - Configures the time between the falling edge of SDA and the falling edge of SCL for a START condition. Measurement unit: i2c_sclk."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32p4/src/i2c0/scl_stop_hold.rs b/esp32p4/src/i2c0/scl_stop_hold.rs index b2a07dde85..39579b0db8 100644 --- a/esp32p4/src/i2c0/scl_stop_hold.rs +++ b/esp32p4/src/i2c0/scl_stop_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - Configures the delay after the STOP condition. Measurement unit: i2c_sclk"] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32p4/src/i2c0/scl_stop_setup.rs b/esp32p4/src/i2c0/scl_stop_setup.rs index 6ba02809b3..94c66c1f5d 100644 --- a/esp32p4/src/i2c0/scl_stop_setup.rs +++ b/esp32p4/src/i2c0/scl_stop_setup.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - Configures the time between the rising edge of SCL and the rising edge of SDA. Measurement unit: i2c_sclk"] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32p4/src/i2c0/scl_stretch_conf.rs b/esp32p4/src/i2c0/scl_stretch_conf.rs index 8993e5174d..a01c5c88a2 100644 --- a/esp32p4/src/i2c0/scl_stretch_conf.rs +++ b/esp32p4/src/i2c0/scl_stretch_conf.rs @@ -56,31 +56,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - Configures the time period to release the SCL line from stretching to avoid timing violation. Usually it should be larger than the SDA setup time. Measurement unit: i2c_sclk"] #[inline(always)] - #[must_use] pub fn stretch_protect_num(&mut self) -> STRETCH_PROTECT_NUM_W { STRETCH_PROTECT_NUM_W::new(self, 0) } #[doc = "Bit 10 - Configures to enable slave SCL stretch function. 0: Disable 1: Enable The SCL output line will be stretched low when reg_slave_scl_stretch_en is 1 and stretch event happens. The stretch cause can be seen in reg_stretch_cause."] #[inline(always)] - #[must_use] pub fn slave_scl_stretch_en(&mut self) -> SLAVE_SCL_STRETCH_EN_W { SLAVE_SCL_STRETCH_EN_W::new(self, 10) } #[doc = "Bit 11 - Configures to clear the I2C slave SCL stretch function. 0: No effect 1: Clear"] #[inline(always)] - #[must_use] pub fn slave_scl_stretch_clr(&mut self) -> SLAVE_SCL_STRETCH_CLR_W { SLAVE_SCL_STRETCH_CLR_W::new(self, 11) } #[doc = "Bit 12 - Configures to enable the function for slave to control ACK level. 0: Disable 1: Enable"] #[inline(always)] - #[must_use] pub fn slave_byte_ack_ctl_en(&mut self) -> SLAVE_BYTE_ACK_CTL_EN_W { SLAVE_BYTE_ACK_CTL_EN_W::new(self, 12) } #[doc = "Bit 13 - Set the ACK level when slave controlling ACK level function enables. 0: Low level 1: High level"] #[inline(always)] - #[must_use] pub fn slave_byte_ack_lvl(&mut self) -> SLAVE_BYTE_ACK_LVL_W { SLAVE_BYTE_ACK_LVL_W::new(self, 13) } diff --git a/esp32p4/src/i2c0/sda_hold.rs b/esp32p4/src/i2c0/sda_hold.rs index 3e83f95159..2e592c0423 100644 --- a/esp32p4/src/i2c0/sda_hold.rs +++ b/esp32p4/src/i2c0/sda_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - Configures the time to hold the data after the falling edge of SCL. Measurement unit: i2c_sclk"] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32p4/src/i2c0/sda_sample.rs b/esp32p4/src/i2c0/sda_sample.rs index b6bc68b973..1bf4fc1f9d 100644 --- a/esp32p4/src/i2c0/sda_sample.rs +++ b/esp32p4/src/i2c0/sda_sample.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - Configures the sample time after a positive SCL edge. Measurement unit: i2c_sclk"] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32p4/src/i2c0/slave_addr.rs b/esp32p4/src/i2c0/slave_addr.rs index 800b5a9a9a..0284fb9a2b 100644 --- a/esp32p4/src/i2c0/slave_addr.rs +++ b/esp32p4/src/i2c0/slave_addr.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:14 - Configure the slave address of I2C Slave."] #[inline(always)] - #[must_use] pub fn slave_addr(&mut self) -> SLAVE_ADDR_W { SLAVE_ADDR_W::new(self, 0) } #[doc = "Bit 31 - Configures to enable the slave 10-bit addressing mode in master mode. 0: No effect 1: Enable"] #[inline(always)] - #[must_use] pub fn addr_10bit_en(&mut self) -> ADDR_10BIT_EN_W { ADDR_10BIT_EN_W::new(self, 31) } diff --git a/esp32p4/src/i2c0/to.rs b/esp32p4/src/i2c0/to.rs index a0c52cacfc..f00edd1de9 100644 --- a/esp32p4/src/i2c0/to.rs +++ b/esp32p4/src/i2c0/to.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Configures the timeout threshold period for SCL stucking at high or low level. The actual period is 2^(reg_time_out_value). Measurement unit: i2c_sclk."] #[inline(always)] - #[must_use] pub fn time_out_value(&mut self) -> TIME_OUT_VALUE_W { TIME_OUT_VALUE_W::new(self, 0) } #[doc = "Bit 5 - Configures to enable time out control. 0: No effect 1: Enable"] #[inline(always)] - #[must_use] pub fn time_out_en(&mut self) -> TIME_OUT_EN_W { TIME_OUT_EN_W::new(self, 5) } diff --git a/esp32p4/src/i2s0/bck_cnt.rs b/esp32p4/src/i2s0/bck_cnt.rs index ff5f0bee4b..8b0c036bce 100644 --- a/esp32p4/src/i2s0/bck_cnt.rs +++ b/esp32p4/src/i2s0/bck_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - Set this bit to reset tx bck counter."] #[inline(always)] - #[must_use] pub fn tx_bck_cnt_rst(&mut self) -> TX_BCK_CNT_RST_W { TX_BCK_CNT_RST_W::new(self, 31) } diff --git a/esp32p4/src/i2s0/clk_gate.rs b/esp32p4/src/i2s0/clk_gate.rs index 58bb8d5162..7951632925 100644 --- a/esp32p4/src/i2s0/clk_gate.rs +++ b/esp32p4/src/i2s0/clk_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - set this bit to enable clock gate"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32p4/src/i2s0/conf_sigle_data.rs b/esp32p4/src/i2s0/conf_sigle_data.rs index 50a4d005f8..27ac6bf4a9 100644 --- a/esp32p4/src/i2s0/conf_sigle_data.rs +++ b/esp32p4/src/i2s0/conf_sigle_data.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The configured constant channel data to be sent out."] #[inline(always)] - #[must_use] pub fn single_data(&mut self) -> SINGLE_DATA_W { SINGLE_DATA_W::new(self, 0) } diff --git a/esp32p4/src/i2s0/date.rs b/esp32p4/src/i2s0/date.rs index 6d7e5699ad..a2635043d4 100644 --- a/esp32p4/src/i2s0/date.rs +++ b/esp32p4/src/i2s0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - I2S version control register"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32p4/src/i2s0/etm_conf.rs b/esp32p4/src/i2s0/etm_conf.rs index c29f755899..8e6f914a70 100644 --- a/esp32p4/src/i2s0/etm_conf.rs +++ b/esp32p4/src/i2s0/etm_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - I2S ETM send x words event. When sending word number of reg_etm_tx_send_word_num\\[9:0\\], i2s will trigger an etm event."] #[inline(always)] - #[must_use] pub fn etm_tx_send_word_num(&mut self) -> ETM_TX_SEND_WORD_NUM_W { ETM_TX_SEND_WORD_NUM_W::new(self, 0) } #[doc = "Bits 10:19 - I2S ETM receive x words event. When receiving word number of reg_etm_rx_receive_word_num\\[9:0\\], i2s will trigger an etm event."] #[inline(always)] - #[must_use] pub fn etm_rx_receive_word_num(&mut self) -> ETM_RX_RECEIVE_WORD_NUM_W { ETM_RX_RECEIVE_WORD_NUM_W::new(self, 10) } diff --git a/esp32p4/src/i2s0/fifo_cnt.rs b/esp32p4/src/i2s0/fifo_cnt.rs index 7b13db8916..99ded19a16 100644 --- a/esp32p4/src/i2s0/fifo_cnt.rs +++ b/esp32p4/src/i2s0/fifo_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - Set this bit to reset tx fifo counter."] #[inline(always)] - #[must_use] pub fn tx_fifo_cnt_rst(&mut self) -> TX_FIFO_CNT_RST_W { TX_FIFO_CNT_RST_W::new(self, 31) } diff --git a/esp32p4/src/i2s0/int_clr.rs b/esp32p4/src/i2s0/int_clr.rs index c3a99c694f..1719a408f1 100644 --- a/esp32p4/src/i2s0/int_clr.rs +++ b/esp32p4/src/i2s0/int_clr.rs @@ -17,25 +17,21 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the i2s_rx_done_int interrupt"] #[inline(always)] - #[must_use] pub fn rx_done(&mut self) -> RX_DONE_W { RX_DONE_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the i2s_tx_done_int interrupt"] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the i2s_rx_hung_int interrupt"] #[inline(always)] - #[must_use] pub fn rx_hung(&mut self) -> RX_HUNG_W { RX_HUNG_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the i2s_tx_hung_int interrupt"] #[inline(always)] - #[must_use] pub fn tx_hung(&mut self) -> TX_HUNG_W { TX_HUNG_W::new(self, 3) } diff --git a/esp32p4/src/i2s0/int_ena.rs b/esp32p4/src/i2s0/int_ena.rs index 0f2bb7d8e0..c87530a8a6 100644 --- a/esp32p4/src/i2s0/int_ena.rs +++ b/esp32p4/src/i2s0/int_ena.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for the i2s_rx_done_int interrupt"] #[inline(always)] - #[must_use] pub fn rx_done(&mut self) -> RX_DONE_W { RX_DONE_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the i2s_tx_done_int interrupt"] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the i2s_rx_hung_int interrupt"] #[inline(always)] - #[must_use] pub fn rx_hung(&mut self) -> RX_HUNG_W { RX_HUNG_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the i2s_tx_hung_int interrupt"] #[inline(always)] - #[must_use] pub fn tx_hung(&mut self) -> TX_HUNG_W { TX_HUNG_W::new(self, 3) } diff --git a/esp32p4/src/i2s0/lc_hung_conf.rs b/esp32p4/src/i2s0/lc_hung_conf.rs index 187de6aa6f..323187c7df 100644 --- a/esp32p4/src/i2s0/lc_hung_conf.rs +++ b/esp32p4/src/i2s0/lc_hung_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - the i2s_tx_hung_int interrupt or the i2s_rx_hung_int interrupt will be triggered when fifo hung counter is equal to this value"] #[inline(always)] - #[must_use] pub fn lc_fifo_timeout(&mut self) -> LC_FIFO_TIMEOUT_W { LC_FIFO_TIMEOUT_W::new(self, 0) } #[doc = "Bits 8:10 - The bits are used to scale tick counter threshold. The tick counter is reset when counter value >= 88000/2^i2s_lc_fifo_timeout_shift"] #[inline(always)] - #[must_use] pub fn lc_fifo_timeout_shift(&mut self) -> LC_FIFO_TIMEOUT_SHIFT_W { LC_FIFO_TIMEOUT_SHIFT_W::new(self, 8) } #[doc = "Bit 11 - The enable bit for FIFO timeout"] #[inline(always)] - #[must_use] pub fn lc_fifo_timeout_ena(&mut self) -> LC_FIFO_TIMEOUT_ENA_W { LC_FIFO_TIMEOUT_ENA_W::new(self, 11) } diff --git a/esp32p4/src/i2s0/rx_conf.rs b/esp32p4/src/i2s0/rx_conf.rs index a08898e2b0..b918262d6b 100644 --- a/esp32p4/src/i2s0/rx_conf.rs +++ b/esp32p4/src/i2s0/rx_conf.rs @@ -34,9 +34,9 @@ pub type RX_UPDATE_W<'a, REG> = crate::BitWriter<'a, REG>; pub type RX_MONO_FST_VLD_R = crate::BitReader; #[doc = "Field `RX_MONO_FST_VLD` writer - 1: The first channel data value is valid in I2S RX mono mode. 0: The second channel data value is valid in I2S RX mono mode."] pub type RX_MONO_FST_VLD_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `RX_PCM_CONF` reader - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] +#[doc = "Field `RX_PCM_CONF` reader - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] pub type RX_PCM_CONF_R = crate::FieldReader; -#[doc = "Field `RX_PCM_CONF` writer - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] +#[doc = "Field `RX_PCM_CONF` writer - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] pub type RX_PCM_CONF_W<'a, REG> = crate::FieldWriter<'a, REG, 2>; #[doc = "Field `RX_PCM_BYPASS` reader - Set this bit to bypass Compress/Decompress module for received data."] pub type RX_PCM_BYPASS_R = crate::BitReader; @@ -110,7 +110,7 @@ impl R { pub fn rx_mono_fst_vld(&self) -> RX_MONO_FST_VLD_R { RX_MONO_FST_VLD_R::new(((self.bits >> 9) & 1) != 0) } - #[doc = "Bits 10:11 - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] + #[doc = "Bits 10:11 - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] #[inline(always)] pub fn rx_pcm_conf(&self) -> RX_PCM_CONF_R { RX_PCM_CONF_R::new(((self.bits >> 10) & 3) as u8) @@ -188,115 +188,96 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to reset receiver"] #[inline(always)] - #[must_use] pub fn rx_reset(&mut self) -> RX_RESET_W { RX_RESET_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to reset Rx AFIFO"] #[inline(always)] - #[must_use] pub fn rx_fifo_reset(&mut self) -> RX_FIFO_RESET_W { RX_FIFO_RESET_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to start receiving data"] #[inline(always)] - #[must_use] pub fn rx_start(&mut self) -> RX_START_W { RX_START_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to enable slave receiver mode"] #[inline(always)] - #[must_use] pub fn rx_slave_mod(&mut self) -> RX_SLAVE_MOD_W { RX_SLAVE_MOD_W::new(self, 3) } #[doc = "Bits 4:5 - 0 : I2S Rx only stop when reg_rx_start is cleared. 1: Stop when reg_rx_start is 0 or in_suc_eof is 1. 2: Stop I2S RX when reg_rx_start is 0 or RX FIFO is full."] #[inline(always)] - #[must_use] pub fn rx_stop_mode(&mut self) -> RX_STOP_MODE_W { RX_STOP_MODE_W::new(self, 4) } #[doc = "Bit 6 - Set this bit to enable receiver in mono mode"] #[inline(always)] - #[must_use] pub fn rx_mono(&mut self) -> RX_MONO_W { RX_MONO_W::new(self, 6) } #[doc = "Bit 7 - I2S Rx byte endian, 1: low addr value to high addr. 0: low addr with low addr value."] #[inline(always)] - #[must_use] pub fn rx_big_endian(&mut self) -> RX_BIG_ENDIAN_W { RX_BIG_ENDIAN_W::new(self, 7) } #[doc = "Bit 8 - Set 1 to update I2S RX registers from APB clock domain to I2S RX clock domain. This bit will be cleared by hardware after update register done."] #[inline(always)] - #[must_use] pub fn rx_update(&mut self) -> RX_UPDATE_W { RX_UPDATE_W::new(self, 8) } #[doc = "Bit 9 - 1: The first channel data value is valid in I2S RX mono mode. 0: The second channel data value is valid in I2S RX mono mode."] #[inline(always)] - #[must_use] pub fn rx_mono_fst_vld(&mut self) -> RX_MONO_FST_VLD_W { RX_MONO_FST_VLD_W::new(self, 9) } - #[doc = "Bits 10:11 - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] + #[doc = "Bits 10:11 - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] #[inline(always)] - #[must_use] pub fn rx_pcm_conf(&mut self) -> RX_PCM_CONF_W { RX_PCM_CONF_W::new(self, 10) } #[doc = "Bit 12 - Set this bit to bypass Compress/Decompress module for received data."] #[inline(always)] - #[must_use] pub fn rx_pcm_bypass(&mut self) -> RX_PCM_BYPASS_W { RX_PCM_BYPASS_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to enable receiver in Phillips standard mode"] #[inline(always)] - #[must_use] pub fn rx_msb_shift(&mut self) -> RX_MSB_SHIFT_W { RX_MSB_SHIFT_W::new(self, 13) } #[doc = "Bit 15 - 1: I2S RX left alignment mode. 0: I2S RX right alignment mode."] #[inline(always)] - #[must_use] pub fn rx_left_align(&mut self) -> RX_LEFT_ALIGN_W { RX_LEFT_ALIGN_W::new(self, 15) } #[doc = "Bit 16 - 1: store 24 channel bits to 32 bits. 0:store 24 channel bits to 24 bits."] #[inline(always)] - #[must_use] pub fn rx_24_fill_en(&mut self) -> RX_24_FILL_EN_W { RX_24_FILL_EN_W::new(self, 16) } #[doc = "Bit 17 - 0: WS should be 0 when receiving left channel data, and WS is 1in right channel. 1: WS should be 1 when receiving left channel data, and WS is 0in right channel."] #[inline(always)] - #[must_use] pub fn rx_ws_idle_pol(&mut self) -> RX_WS_IDLE_POL_W { RX_WS_IDLE_POL_W::new(self, 17) } #[doc = "Bit 18 - I2S Rx bit endian. 1:small endian, the LSB is received first. 0:big endian, the MSB is received first."] #[inline(always)] - #[must_use] pub fn rx_bit_order(&mut self) -> RX_BIT_ORDER_W { RX_BIT_ORDER_W::new(self, 18) } #[doc = "Bit 19 - 1: Enable I2S TDM Rx mode . 0: Disable."] #[inline(always)] - #[must_use] pub fn rx_tdm_en(&mut self) -> RX_TDM_EN_W { RX_TDM_EN_W::new(self, 19) } #[doc = "Bit 20 - 1: Enable I2S PDM Rx mode . 0: Disable."] #[inline(always)] - #[must_use] pub fn rx_pdm_en(&mut self) -> RX_PDM_EN_W { RX_PDM_EN_W::new(self, 20) } #[doc = "Bits 21:26 - Bit clock configuration bits in receiver mode."] #[inline(always)] - #[must_use] pub fn rx_bck_div_num(&mut self) -> RX_BCK_DIV_NUM_W { RX_BCK_DIV_NUM_W::new(self, 21) } diff --git a/esp32p4/src/i2s0/rx_conf1.rs b/esp32p4/src/i2s0/rx_conf1.rs index acb203bef8..da162bf11c 100644 --- a/esp32p4/src/i2s0/rx_conf1.rs +++ b/esp32p4/src/i2s0/rx_conf1.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - The width of rx_ws_out at idle level in TDM mode is (I2S_RX_TDM_WS_WIDTH\\[8:0\\] +1) * T_bck"] #[inline(always)] - #[must_use] pub fn rx_tdm_ws_width(&mut self) -> RX_TDM_WS_WIDTH_W { RX_TDM_WS_WIDTH_W::new(self, 0) } #[doc = "Bits 14:18 - Set the bits to configure the valid data bit length of I2S receiver channel. 7: all the valid channel data is in 8-bit-mode. 15: all the valid channel data is in 16-bit-mode. 23: all the valid channel data is in 24-bit-mode. 31:all the valid channel data is in 32-bit-mode."] #[inline(always)] - #[must_use] pub fn rx_bits_mod(&mut self) -> RX_BITS_MOD_W { RX_BITS_MOD_W::new(self, 14) } #[doc = "Bits 19:26 - I2S Rx half sample bits -1."] #[inline(always)] - #[must_use] pub fn rx_half_sample_bits(&mut self) -> RX_HALF_SAMPLE_BITS_W { RX_HALF_SAMPLE_BITS_W::new(self, 19) } #[doc = "Bits 27:31 - The Rx bit number for each channel minus 1in TDM mode."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan_bits(&mut self) -> RX_TDM_CHAN_BITS_W { RX_TDM_CHAN_BITS_W::new(self, 27) } diff --git a/esp32p4/src/i2s0/rx_pdm2pcm_conf.rs b/esp32p4/src/i2s0/rx_pdm2pcm_conf.rs index e60da3aeb0..ad7b297238 100644 --- a/esp32p4/src/i2s0/rx_pdm2pcm_conf.rs +++ b/esp32p4/src/i2s0/rx_pdm2pcm_conf.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 19 - 1: Enable PDM2PCM RX mode. 0: DIsable."] #[inline(always)] - #[must_use] pub fn rx_pdm2pcm_en(&mut self) -> RX_PDM2PCM_EN_W { RX_PDM2PCM_EN_W::new(self, 19) } #[doc = "Bit 20 - Configure the down sampling rate of PDM RX filter group1 module. 1: The down sampling rate is 128. 0: down sampling rate is 64."] #[inline(always)] - #[must_use] pub fn rx_pdm_sinc_dsr_16_en(&mut self) -> RX_PDM_SINC_DSR_16_EN_W { RX_PDM_SINC_DSR_16_EN_W::new(self, 20) } #[doc = "Bits 21:24 - Configure PDM RX amplify number."] #[inline(always)] - #[must_use] pub fn rx_pdm2pcm_amplify_num(&mut self) -> RX_PDM2PCM_AMPLIFY_NUM_W { RX_PDM2PCM_AMPLIFY_NUM_W::new(self, 21) } #[doc = "Bit 25 - I2S PDM RX bypass hp filter or not."] #[inline(always)] - #[must_use] pub fn rx_pdm_hp_bypass(&mut self) -> RX_PDM_HP_BYPASS_W { RX_PDM_HP_BYPASS_W::new(self, 25) } #[doc = "Bits 26:28 - The fourth parameter of PDM RX IIR_HP filter stage 2 is (504 + LP_I2S_RX_IIR_HP_MULT12_5\\[2:0\\])"] #[inline(always)] - #[must_use] pub fn rx_iir_hp_mult12_5(&mut self) -> RX_IIR_HP_MULT12_5_W { RX_IIR_HP_MULT12_5_W::new(self, 26) } #[doc = "Bits 29:31 - The fourth parameter of PDM RX IIR_HP filter stage 1 is (504 + LP_I2S_RX_IIR_HP_MULT12_0\\[2:0\\])"] #[inline(always)] - #[must_use] pub fn rx_iir_hp_mult12_0(&mut self) -> RX_IIR_HP_MULT12_0_W { RX_IIR_HP_MULT12_0_W::new(self, 29) } diff --git a/esp32p4/src/i2s0/rx_tdm_ctrl.rs b/esp32p4/src/i2s0/rx_tdm_ctrl.rs index 145b893140..430d8487d3 100644 --- a/esp32p4/src/i2s0/rx_tdm_ctrl.rs +++ b/esp32p4/src/i2s0/rx_tdm_ctrl.rs @@ -184,103 +184,86 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: Enable the valid data input of I2S RX TDM or PDM channel 0. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan0_en(&mut self) -> RX_TDM_PDM_CHAN0_EN_W { RX_TDM_PDM_CHAN0_EN_W::new(self, 0) } #[doc = "Bit 1 - 1: Enable the valid data input of I2S RX TDM or PDM channel 1. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan1_en(&mut self) -> RX_TDM_PDM_CHAN1_EN_W { RX_TDM_PDM_CHAN1_EN_W::new(self, 1) } #[doc = "Bit 2 - 1: Enable the valid data input of I2S RX TDM or PDM channel 2. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan2_en(&mut self) -> RX_TDM_PDM_CHAN2_EN_W { RX_TDM_PDM_CHAN2_EN_W::new(self, 2) } #[doc = "Bit 3 - 1: Enable the valid data input of I2S RX TDM or PDM channel 3. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan3_en(&mut self) -> RX_TDM_PDM_CHAN3_EN_W { RX_TDM_PDM_CHAN3_EN_W::new(self, 3) } #[doc = "Bit 4 - 1: Enable the valid data input of I2S RX TDM or PDM channel 4. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan4_en(&mut self) -> RX_TDM_PDM_CHAN4_EN_W { RX_TDM_PDM_CHAN4_EN_W::new(self, 4) } #[doc = "Bit 5 - 1: Enable the valid data input of I2S RX TDM or PDM channel 5. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan5_en(&mut self) -> RX_TDM_PDM_CHAN5_EN_W { RX_TDM_PDM_CHAN5_EN_W::new(self, 5) } #[doc = "Bit 6 - 1: Enable the valid data input of I2S RX TDM or PDM channel 6. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan6_en(&mut self) -> RX_TDM_PDM_CHAN6_EN_W { RX_TDM_PDM_CHAN6_EN_W::new(self, 6) } #[doc = "Bit 7 - 1: Enable the valid data input of I2S RX TDM or PDM channel 7. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan7_en(&mut self) -> RX_TDM_PDM_CHAN7_EN_W { RX_TDM_PDM_CHAN7_EN_W::new(self, 7) } #[doc = "Bit 8 - 1: Enable the valid data input of I2S RX TDM channel 8. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan8_en(&mut self) -> RX_TDM_CHAN8_EN_W { RX_TDM_CHAN8_EN_W::new(self, 8) } #[doc = "Bit 9 - 1: Enable the valid data input of I2S RX TDM channel 9. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan9_en(&mut self) -> RX_TDM_CHAN9_EN_W { RX_TDM_CHAN9_EN_W::new(self, 9) } #[doc = "Bit 10 - 1: Enable the valid data input of I2S RX TDM channel 10. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan10_en(&mut self) -> RX_TDM_CHAN10_EN_W { RX_TDM_CHAN10_EN_W::new(self, 10) } #[doc = "Bit 11 - 1: Enable the valid data input of I2S RX TDM channel 11. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan11_en(&mut self) -> RX_TDM_CHAN11_EN_W { RX_TDM_CHAN11_EN_W::new(self, 11) } #[doc = "Bit 12 - 1: Enable the valid data input of I2S RX TDM channel 12. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan12_en(&mut self) -> RX_TDM_CHAN12_EN_W { RX_TDM_CHAN12_EN_W::new(self, 12) } #[doc = "Bit 13 - 1: Enable the valid data input of I2S RX TDM channel 13. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan13_en(&mut self) -> RX_TDM_CHAN13_EN_W { RX_TDM_CHAN13_EN_W::new(self, 13) } #[doc = "Bit 14 - 1: Enable the valid data input of I2S RX TDM channel 14. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan14_en(&mut self) -> RX_TDM_CHAN14_EN_W { RX_TDM_CHAN14_EN_W::new(self, 14) } #[doc = "Bit 15 - 1: Enable the valid data input of I2S RX TDM channel 15. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan15_en(&mut self) -> RX_TDM_CHAN15_EN_W { RX_TDM_CHAN15_EN_W::new(self, 15) } #[doc = "Bits 16:19 - The total channel number of I2S TX TDM mode."] #[inline(always)] - #[must_use] pub fn rx_tdm_tot_chan_num(&mut self) -> RX_TDM_TOT_CHAN_NUM_W { RX_TDM_TOT_CHAN_NUM_W::new(self, 16) } diff --git a/esp32p4/src/i2s0/rx_timing.rs b/esp32p4/src/i2s0/rx_timing.rs index dc2281880d..ae2f911f0f 100644 --- a/esp32p4/src/i2s0/rx_timing.rs +++ b/esp32p4/src/i2s0/rx_timing.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - The delay mode of I2S Rx SD input signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_sd_in_dm(&mut self) -> RX_SD_IN_DM_W { RX_SD_IN_DM_W::new(self, 0) } #[doc = "Bits 4:5 - The delay mode of I2S Rx SD1 input signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_sd1_in_dm(&mut self) -> RX_SD1_IN_DM_W { RX_SD1_IN_DM_W::new(self, 4) } #[doc = "Bits 8:9 - The delay mode of I2S Rx SD2 input signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_sd2_in_dm(&mut self) -> RX_SD2_IN_DM_W { RX_SD2_IN_DM_W::new(self, 8) } #[doc = "Bits 12:13 - The delay mode of I2S Rx SD3 input signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_sd3_in_dm(&mut self) -> RX_SD3_IN_DM_W { RX_SD3_IN_DM_W::new(self, 12) } #[doc = "Bits 16:17 - The delay mode of I2S Rx WS output signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_ws_out_dm(&mut self) -> RX_WS_OUT_DM_W { RX_WS_OUT_DM_W::new(self, 16) } #[doc = "Bits 20:21 - The delay mode of I2S Rx BCK output signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_bck_out_dm(&mut self) -> RX_BCK_OUT_DM_W { RX_BCK_OUT_DM_W::new(self, 20) } #[doc = "Bits 24:25 - The delay mode of I2S Rx WS input signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_ws_in_dm(&mut self) -> RX_WS_IN_DM_W { RX_WS_IN_DM_W::new(self, 24) } #[doc = "Bits 28:29 - The delay mode of I2S Rx BCK input signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_bck_in_dm(&mut self) -> RX_BCK_IN_DM_W { RX_BCK_IN_DM_W::new(self, 28) } diff --git a/esp32p4/src/i2s0/rxeof_num.rs b/esp32p4/src/i2s0/rxeof_num.rs index 3cc1cab6bd..e06f8c3e0d 100644 --- a/esp32p4/src/i2s0/rxeof_num.rs +++ b/esp32p4/src/i2s0/rxeof_num.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - The receive data bit length is (I2S_RX_BITS_MOD\\[4:0\\] + 1) * (REG_RX_EOF_NUM\\[11:0\\] + 1) . It will trigger in_suc_eof interrupt in the configured DMA RX channel."] #[inline(always)] - #[must_use] pub fn rx_eof_num(&mut self) -> RX_EOF_NUM_W { RX_EOF_NUM_W::new(self, 0) } diff --git a/esp32p4/src/i2s0/tx_conf.rs b/esp32p4/src/i2s0/tx_conf.rs index c266255460..04faa5bddd 100644 --- a/esp32p4/src/i2s0/tx_conf.rs +++ b/esp32p4/src/i2s0/tx_conf.rs @@ -38,9 +38,9 @@ pub type TX_UPDATE_W<'a, REG> = crate::BitWriter<'a, REG>; pub type TX_MONO_FST_VLD_R = crate::BitReader; #[doc = "Field `TX_MONO_FST_VLD` writer - 1: The first channel data value is valid in I2S TX mono mode. 0: The second channel data value is valid in I2S TX mono mode."] pub type TX_MONO_FST_VLD_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `TX_PCM_CONF` reader - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] +#[doc = "Field `TX_PCM_CONF` reader - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] pub type TX_PCM_CONF_R = crate::FieldReader; -#[doc = "Field `TX_PCM_CONF` writer - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] +#[doc = "Field `TX_PCM_CONF` writer - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] pub type TX_PCM_CONF_W<'a, REG> = crate::FieldWriter<'a, REG, 2>; #[doc = "Field `TX_PCM_BYPASS` reader - Set this bit to bypass Compress/Decompress module for transmitted data."] pub type TX_PCM_BYPASS_R = crate::BitReader; @@ -131,7 +131,7 @@ impl R { pub fn tx_mono_fst_vld(&self) -> TX_MONO_FST_VLD_R { TX_MONO_FST_VLD_R::new(((self.bits >> 9) & 1) != 0) } - #[doc = "Bits 10:11 - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] + #[doc = "Bits 10:11 - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] #[inline(always)] pub fn tx_pcm_conf(&self) -> TX_PCM_CONF_R { TX_PCM_CONF_R::new(((self.bits >> 10) & 3) as u8) @@ -228,139 +228,116 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to reset transmitter"] #[inline(always)] - #[must_use] pub fn tx_reset(&mut self) -> TX_RESET_W { TX_RESET_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to reset Tx AFIFO"] #[inline(always)] - #[must_use] pub fn tx_fifo_reset(&mut self) -> TX_FIFO_RESET_W { TX_FIFO_RESET_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to start transmitting data"] #[inline(always)] - #[must_use] pub fn tx_start(&mut self) -> TX_START_W { TX_START_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to enable slave transmitter mode"] #[inline(always)] - #[must_use] pub fn tx_slave_mod(&mut self) -> TX_SLAVE_MOD_W { TX_SLAVE_MOD_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to stop disable output BCK signal and WS signal when tx FIFO is emtpy"] #[inline(always)] - #[must_use] pub fn tx_stop_en(&mut self) -> TX_STOP_EN_W { TX_STOP_EN_W::new(self, 4) } #[doc = "Bit 5 - 1: The value of Left channel data is equal to the value of right channel data in I2S TX mono mode or TDM channel select mode. 0: The invalid channel data is reg_i2s_single_data in I2S TX mono mode or TDM channel select mode."] #[inline(always)] - #[must_use] pub fn tx_chan_equal(&mut self) -> TX_CHAN_EQUAL_W { TX_CHAN_EQUAL_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to enable transmitter in mono mode"] #[inline(always)] - #[must_use] pub fn tx_mono(&mut self) -> TX_MONO_W { TX_MONO_W::new(self, 6) } #[doc = "Bit 7 - I2S Tx byte endian, 1: low addr value to high addr. 0: low addr with low addr value."] #[inline(always)] - #[must_use] pub fn tx_big_endian(&mut self) -> TX_BIG_ENDIAN_W { TX_BIG_ENDIAN_W::new(self, 7) } #[doc = "Bit 8 - Set 1 to update I2S TX registers from APB clock domain to I2S TX clock domain. This bit will be cleared by hardware after update register done."] #[inline(always)] - #[must_use] pub fn tx_update(&mut self) -> TX_UPDATE_W { TX_UPDATE_W::new(self, 8) } #[doc = "Bit 9 - 1: The first channel data value is valid in I2S TX mono mode. 0: The second channel data value is valid in I2S TX mono mode."] #[inline(always)] - #[must_use] pub fn tx_mono_fst_vld(&mut self) -> TX_MONO_FST_VLD_W { TX_MONO_FST_VLD_W::new(self, 9) } - #[doc = "Bits 10:11 - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] + #[doc = "Bits 10:11 - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] #[inline(always)] - #[must_use] pub fn tx_pcm_conf(&mut self) -> TX_PCM_CONF_W { TX_PCM_CONF_W::new(self, 10) } #[doc = "Bit 12 - Set this bit to bypass Compress/Decompress module for transmitted data."] #[inline(always)] - #[must_use] pub fn tx_pcm_bypass(&mut self) -> TX_PCM_BYPASS_W { TX_PCM_BYPASS_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to enable transmitter in Phillips standard mode"] #[inline(always)] - #[must_use] pub fn tx_msb_shift(&mut self) -> TX_MSB_SHIFT_W { TX_MSB_SHIFT_W::new(self, 13) } #[doc = "Bit 14 - 1: BCK is not delayed to generate pos/neg edge in master mode. 0: BCK is delayed to generate pos/neg edge in master mode."] #[inline(always)] - #[must_use] pub fn tx_bck_no_dly(&mut self) -> TX_BCK_NO_DLY_W { TX_BCK_NO_DLY_W::new(self, 14) } #[doc = "Bit 15 - 1: I2S TX left alignment mode. 0: I2S TX right alignment mode."] #[inline(always)] - #[must_use] pub fn tx_left_align(&mut self) -> TX_LEFT_ALIGN_W { TX_LEFT_ALIGN_W::new(self, 15) } #[doc = "Bit 16 - 1: Sent 32 bits in 24 channel bits mode. 0: Sent 24 bits in 24 channel bits mode"] #[inline(always)] - #[must_use] pub fn tx_24_fill_en(&mut self) -> TX_24_FILL_EN_W { TX_24_FILL_EN_W::new(self, 16) } #[doc = "Bit 17 - 0: WS should be 0 when sending left channel data, and WS is 1in right channel. 1: WS should be 1 when sending left channel data, and WS is 0in right channel."] #[inline(always)] - #[must_use] pub fn tx_ws_idle_pol(&mut self) -> TX_WS_IDLE_POL_W { TX_WS_IDLE_POL_W::new(self, 17) } #[doc = "Bit 18 - I2S Tx bit endian. 1:small endian, the LSB is sent first. 0:big endian, the MSB is sent first."] #[inline(always)] - #[must_use] pub fn tx_bit_order(&mut self) -> TX_BIT_ORDER_W { TX_BIT_ORDER_W::new(self, 18) } #[doc = "Bit 19 - 1: Enable I2S TDM Tx mode . 0: Disable."] #[inline(always)] - #[must_use] pub fn tx_tdm_en(&mut self) -> TX_TDM_EN_W { TX_TDM_EN_W::new(self, 19) } #[doc = "Bit 20 - 1: Enable I2S PDM Tx mode . 0: Disable."] #[inline(always)] - #[must_use] pub fn tx_pdm_en(&mut self) -> TX_PDM_EN_W { TX_PDM_EN_W::new(self, 20) } #[doc = "Bits 21:26 - Bit clock configuration bits in transmitter mode."] #[inline(always)] - #[must_use] pub fn tx_bck_div_num(&mut self) -> TX_BCK_DIV_NUM_W { TX_BCK_DIV_NUM_W::new(self, 21) } #[doc = "Bits 27:29 - I2S transmitter channel mode configuration bits."] #[inline(always)] - #[must_use] pub fn tx_chan_mod(&mut self) -> TX_CHAN_MOD_W { TX_CHAN_MOD_W::new(self, 27) } #[doc = "Bit 30 - Enable signal loop back mode with transmitter module and receiver module sharing the same WS and BCK signals."] #[inline(always)] - #[must_use] pub fn sig_loopback(&mut self) -> SIG_LOOPBACK_W { SIG_LOOPBACK_W::new(self, 30) } diff --git a/esp32p4/src/i2s0/tx_conf1.rs b/esp32p4/src/i2s0/tx_conf1.rs index 7412f4664d..f192d614f5 100644 --- a/esp32p4/src/i2s0/tx_conf1.rs +++ b/esp32p4/src/i2s0/tx_conf1.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - The width of tx_ws_out at idle level in TDM mode is (I2S_TX_TDM_WS_WIDTH\\[8:0\\] +1) * T_bck"] #[inline(always)] - #[must_use] pub fn tx_tdm_ws_width(&mut self) -> TX_TDM_WS_WIDTH_W { TX_TDM_WS_WIDTH_W::new(self, 0) } #[doc = "Bits 14:18 - Set the bits to configure the valid data bit length of I2S transmitter channel. 7: all the valid channel data is in 8-bit-mode. 15: all the valid channel data is in 16-bit-mode. 23: all the valid channel data is in 24-bit-mode. 31:all the valid channel data is in 32-bit-mode."] #[inline(always)] - #[must_use] pub fn tx_bits_mod(&mut self) -> TX_BITS_MOD_W { TX_BITS_MOD_W::new(self, 14) } #[doc = "Bits 19:26 - I2S Tx half sample bits -1."] #[inline(always)] - #[must_use] pub fn tx_half_sample_bits(&mut self) -> TX_HALF_SAMPLE_BITS_W { TX_HALF_SAMPLE_BITS_W::new(self, 19) } #[doc = "Bits 27:31 - The Tx bit number for each channel minus 1in TDM mode."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan_bits(&mut self) -> TX_TDM_CHAN_BITS_W { TX_TDM_CHAN_BITS_W::new(self, 27) } diff --git a/esp32p4/src/i2s0/tx_pcm2pdm_conf.rs b/esp32p4/src/i2s0/tx_pcm2pdm_conf.rs index efaddb2ef6..b58b16a1ad 100644 --- a/esp32p4/src/i2s0/tx_pcm2pdm_conf.rs +++ b/esp32p4/src/i2s0/tx_pcm2pdm_conf.rs @@ -140,43 +140,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - I2S TX PDM bypass hp filter or not. The option has been removed."] #[inline(always)] - #[must_use] pub fn tx_pdm_hp_bypass(&mut self) -> TX_PDM_HP_BYPASS_W { TX_PDM_HP_BYPASS_W::new(self, 0) } #[doc = "Bits 1:4 - I2S TX PDM OSR2 value"] #[inline(always)] - #[must_use] pub fn tx_pdm_sinc_osr2(&mut self) -> TX_PDM_SINC_OSR2_W { TX_PDM_SINC_OSR2_W::new(self, 1) } #[doc = "Bits 5:12 - I2S TX PDM prescale for sigmadelta"] #[inline(always)] - #[must_use] pub fn tx_pdm_prescale(&mut self) -> TX_PDM_PRESCALE_W { TX_PDM_PRESCALE_W::new(self, 5) } #[doc = "Bits 13:14 - I2S TX PDM sigmadelta scale shift number: 0:/2 , 1:x1 , 2:x2 , 3: x4"] #[inline(always)] - #[must_use] pub fn tx_pdm_hp_in_shift(&mut self) -> TX_PDM_HP_IN_SHIFT_W { TX_PDM_HP_IN_SHIFT_W::new(self, 13) } #[doc = "Bits 15:16 - I2S TX PDM sigmadelta scale shift number: 0:/2 , 1:x1 , 2:x2 , 3: x4"] #[inline(always)] - #[must_use] pub fn tx_pdm_lp_in_shift(&mut self) -> TX_PDM_LP_IN_SHIFT_W { TX_PDM_LP_IN_SHIFT_W::new(self, 15) } #[doc = "Bits 17:18 - I2S TX PDM sigmadelta scale shift number: 0:/2 , 1:x1 , 2:x2 , 3: x4"] #[inline(always)] - #[must_use] pub fn tx_pdm_sinc_in_shift(&mut self) -> TX_PDM_SINC_IN_SHIFT_W { TX_PDM_SINC_IN_SHIFT_W::new(self, 17) } #[doc = "Bits 19:20 - I2S TX PDM sigmadelta scale shift number: 0:/2 , 1:x1 , 2:x2 , 3: x4"] #[inline(always)] - #[must_use] pub fn tx_pdm_sigmadelta_in_shift( &mut self, ) -> TX_PDM_SIGMADELTA_IN_SHIFT_W { @@ -184,7 +177,6 @@ impl W { } #[doc = "Bit 21 - I2S TX PDM sigmadelta dither2 value"] #[inline(always)] - #[must_use] pub fn tx_pdm_sigmadelta_dither2( &mut self, ) -> TX_PDM_SIGMADELTA_DITHER2_W { @@ -192,25 +184,21 @@ impl W { } #[doc = "Bit 22 - I2S TX PDM sigmadelta dither value"] #[inline(always)] - #[must_use] pub fn tx_pdm_sigmadelta_dither(&mut self) -> TX_PDM_SIGMADELTA_DITHER_W { TX_PDM_SIGMADELTA_DITHER_W::new(self, 22) } #[doc = "Bit 23 - I2S TX PDM dac mode enable"] #[inline(always)] - #[must_use] pub fn tx_pdm_dac_2out_en(&mut self) -> TX_PDM_DAC_2OUT_EN_W { TX_PDM_DAC_2OUT_EN_W::new(self, 23) } #[doc = "Bit 24 - I2S TX PDM dac 2channel enable"] #[inline(always)] - #[must_use] pub fn tx_pdm_dac_mode_en(&mut self) -> TX_PDM_DAC_MODE_EN_W { TX_PDM_DAC_MODE_EN_W::new(self, 24) } #[doc = "Bit 25 - I2S TX PDM Converter enable"] #[inline(always)] - #[must_use] pub fn pcm2pdm_conv_en(&mut self) -> PCM2PDM_CONV_EN_W { PCM2PDM_CONV_EN_W::new(self, 25) } diff --git a/esp32p4/src/i2s0/tx_pcm2pdm_conf1.rs b/esp32p4/src/i2s0/tx_pcm2pdm_conf1.rs index 7f58eb3572..6ae1a8208e 100644 --- a/esp32p4/src/i2s0/tx_pcm2pdm_conf1.rs +++ b/esp32p4/src/i2s0/tx_pcm2pdm_conf1.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - I2S TX PDM Fp"] #[inline(always)] - #[must_use] pub fn tx_pdm_fp(&mut self) -> TX_PDM_FP_W { TX_PDM_FP_W::new(self, 0) } #[doc = "Bits 10:19 - I2S TX PDM Fs"] #[inline(always)] - #[must_use] pub fn tx_pdm_fs(&mut self) -> TX_PDM_FS_W { TX_PDM_FS_W::new(self, 10) } #[doc = "Bits 20:22 - The fourth parameter of PDM TX IIR_HP filter stage 2 is (504 + I2S_TX_IIR_HP_MULT12_5\\[2:0\\])"] #[inline(always)] - #[must_use] pub fn tx_iir_hp_mult12_5(&mut self) -> TX_IIR_HP_MULT12_5_W { TX_IIR_HP_MULT12_5_W::new(self, 20) } #[doc = "Bits 23:25 - The fourth parameter of PDM TX IIR_HP filter stage 1 is (504 + I2S_TX_IIR_HP_MULT12_0\\[2:0\\])"] #[inline(always)] - #[must_use] pub fn tx_iir_hp_mult12_0(&mut self) -> TX_IIR_HP_MULT12_0_W { TX_IIR_HP_MULT12_0_W::new(self, 23) } diff --git a/esp32p4/src/i2s0/tx_tdm_ctrl.rs b/esp32p4/src/i2s0/tx_tdm_ctrl.rs index 9d5efa9df7..859510cb36 100644 --- a/esp32p4/src/i2s0/tx_tdm_ctrl.rs +++ b/esp32p4/src/i2s0/tx_tdm_ctrl.rs @@ -194,109 +194,91 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: Enable the valid data output of I2S TX TDM channel 0. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan0_en(&mut self) -> TX_TDM_CHAN0_EN_W { TX_TDM_CHAN0_EN_W::new(self, 0) } #[doc = "Bit 1 - 1: Enable the valid data output of I2S TX TDM channel 1. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan1_en(&mut self) -> TX_TDM_CHAN1_EN_W { TX_TDM_CHAN1_EN_W::new(self, 1) } #[doc = "Bit 2 - 1: Enable the valid data output of I2S TX TDM channel 2. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan2_en(&mut self) -> TX_TDM_CHAN2_EN_W { TX_TDM_CHAN2_EN_W::new(self, 2) } #[doc = "Bit 3 - 1: Enable the valid data output of I2S TX TDM channel 3. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan3_en(&mut self) -> TX_TDM_CHAN3_EN_W { TX_TDM_CHAN3_EN_W::new(self, 3) } #[doc = "Bit 4 - 1: Enable the valid data output of I2S TX TDM channel 4. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan4_en(&mut self) -> TX_TDM_CHAN4_EN_W { TX_TDM_CHAN4_EN_W::new(self, 4) } #[doc = "Bit 5 - 1: Enable the valid data output of I2S TX TDM channel 5. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan5_en(&mut self) -> TX_TDM_CHAN5_EN_W { TX_TDM_CHAN5_EN_W::new(self, 5) } #[doc = "Bit 6 - 1: Enable the valid data output of I2S TX TDM channel 6. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan6_en(&mut self) -> TX_TDM_CHAN6_EN_W { TX_TDM_CHAN6_EN_W::new(self, 6) } #[doc = "Bit 7 - 1: Enable the valid data output of I2S TX TDM channel 7. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan7_en(&mut self) -> TX_TDM_CHAN7_EN_W { TX_TDM_CHAN7_EN_W::new(self, 7) } #[doc = "Bit 8 - 1: Enable the valid data output of I2S TX TDM channel 8. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan8_en(&mut self) -> TX_TDM_CHAN8_EN_W { TX_TDM_CHAN8_EN_W::new(self, 8) } #[doc = "Bit 9 - 1: Enable the valid data output of I2S TX TDM channel 9. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan9_en(&mut self) -> TX_TDM_CHAN9_EN_W { TX_TDM_CHAN9_EN_W::new(self, 9) } #[doc = "Bit 10 - 1: Enable the valid data output of I2S TX TDM channel 10. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan10_en(&mut self) -> TX_TDM_CHAN10_EN_W { TX_TDM_CHAN10_EN_W::new(self, 10) } #[doc = "Bit 11 - 1: Enable the valid data output of I2S TX TDM channel 11. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan11_en(&mut self) -> TX_TDM_CHAN11_EN_W { TX_TDM_CHAN11_EN_W::new(self, 11) } #[doc = "Bit 12 - 1: Enable the valid data output of I2S TX TDM channel 12. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan12_en(&mut self) -> TX_TDM_CHAN12_EN_W { TX_TDM_CHAN12_EN_W::new(self, 12) } #[doc = "Bit 13 - 1: Enable the valid data output of I2S TX TDM channel 13. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan13_en(&mut self) -> TX_TDM_CHAN13_EN_W { TX_TDM_CHAN13_EN_W::new(self, 13) } #[doc = "Bit 14 - 1: Enable the valid data output of I2S TX TDM channel 14. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan14_en(&mut self) -> TX_TDM_CHAN14_EN_W { TX_TDM_CHAN14_EN_W::new(self, 14) } #[doc = "Bit 15 - 1: Enable the valid data output of I2S TX TDM channel 15. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan15_en(&mut self) -> TX_TDM_CHAN15_EN_W { TX_TDM_CHAN15_EN_W::new(self, 15) } #[doc = "Bits 16:19 - The total channel number of I2S TX TDM mode."] #[inline(always)] - #[must_use] pub fn tx_tdm_tot_chan_num(&mut self) -> TX_TDM_TOT_CHAN_NUM_W { TX_TDM_TOT_CHAN_NUM_W::new(self, 16) } #[doc = "Bit 20 - When DMA TX buffer stores the data of (REG_TX_TDM_TOT_CHAN_NUM + 1) channels, and only the data of the enabled channels is sent, then this bit should be set. Clear it when all the data stored in DMA TX buffer is for enabled channels."] #[inline(always)] - #[must_use] pub fn tx_tdm_skip_msk_en(&mut self) -> TX_TDM_SKIP_MSK_EN_W { TX_TDM_SKIP_MSK_EN_W::new(self, 20) } diff --git a/esp32p4/src/i2s0/tx_timing.rs b/esp32p4/src/i2s0/tx_timing.rs index 82d20256cd..a9e6a29856 100644 --- a/esp32p4/src/i2s0/tx_timing.rs +++ b/esp32p4/src/i2s0/tx_timing.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - The delay mode of I2S TX SD output signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn tx_sd_out_dm(&mut self) -> TX_SD_OUT_DM_W { TX_SD_OUT_DM_W::new(self, 0) } #[doc = "Bits 4:5 - The delay mode of I2S TX SD1 output signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn tx_sd1_out_dm(&mut self) -> TX_SD1_OUT_DM_W { TX_SD1_OUT_DM_W::new(self, 4) } #[doc = "Bits 16:17 - The delay mode of I2S TX WS output signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn tx_ws_out_dm(&mut self) -> TX_WS_OUT_DM_W { TX_WS_OUT_DM_W::new(self, 16) } #[doc = "Bits 20:21 - The delay mode of I2S TX BCK output signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn tx_bck_out_dm(&mut self) -> TX_BCK_OUT_DM_W { TX_BCK_OUT_DM_W::new(self, 20) } #[doc = "Bits 24:25 - The delay mode of I2S TX WS input signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn tx_ws_in_dm(&mut self) -> TX_WS_IN_DM_W { TX_WS_IN_DM_W::new(self, 24) } #[doc = "Bits 28:29 - The delay mode of I2S TX BCK input signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn tx_bck_in_dm(&mut self) -> TX_BCK_IN_DM_W { TX_BCK_IN_DM_W::new(self, 28) } diff --git a/esp32p4/src/i3c_mst/buffer_thld_ctrl.rs b/esp32p4/src/i3c_mst/buffer_thld_ctrl.rs index 3cb6762fc6..9d1c991ba3 100644 --- a/esp32p4/src/i3c_mst/buffer_thld_ctrl.rs +++ b/esp32p4/src/i3c_mst/buffer_thld_ctrl.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Command Buffer Empty Threshold Value is used to control the number of empty locations(or greater) in the Command Buffer that trigger CMD_BUFFER_READY_STAT interrupt."] #[inline(always)] - #[must_use] pub fn reg_cmd_buf_empty_thld(&mut self) -> REG_CMD_BUF_EMPTY_THLD_W { REG_CMD_BUF_EMPTY_THLD_W::new(self, 0) } #[doc = "Bits 6:8 - Response Buffer Threshold Value is used to control the number of entries in the Response Buffer that trigger the RESP_READY_STAT_INTR."] #[inline(always)] - #[must_use] pub fn reg_resp_buf_thld(&mut self) -> REG_RESP_BUF_THLD_W { REG_RESP_BUF_THLD_W::new(self, 6) } #[doc = "Bits 12:14 - In-Band Interrupt Data Threshold Value . Every In Band Interrupt received by I3C controller generates an IBI status. This field controls the number of IBI data entries in the IBI buffer that trigger the IBI_DATA_THLD_STAT interrupt."] #[inline(always)] - #[must_use] pub fn reg_ibi_data_buf_thld(&mut self) -> REG_IBI_DATA_BUF_THLD_W { REG_IBI_DATA_BUF_THLD_W::new(self, 12) } #[doc = "Bits 18:20 - NA"] #[inline(always)] - #[must_use] pub fn reg_ibi_status_buf_thld(&mut self) -> REG_IBI_STATUS_BUF_THLD_W { REG_IBI_STATUS_BUF_THLD_W::new(self, 18) } diff --git a/esp32p4/src/i3c_mst/bus_free_time.rs b/esp32p4/src/i3c_mst/bus_free_time.rs index 4890727ef6..d26e1b0529 100644 --- a/esp32p4/src/i3c_mst/bus_free_time.rs +++ b/esp32p4/src/i3c_mst/bus_free_time.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - I3C Bus Free Count Value. This field is used only in Master mode. In pure Bus System, this field represents tCAS. In Mixed Bus System, this field is expected to be programmed to tLOW of I2C Timing."] #[inline(always)] - #[must_use] pub fn reg_bus_free_time(&mut self) -> REG_BUS_FREE_TIME_W { REG_BUS_FREE_TIME_W::new(self, 0) } diff --git a/esp32p4/src/i3c_mst/data_buffer_thld_ctrl.rs b/esp32p4/src/i3c_mst/data_buffer_thld_ctrl.rs index bc022e2e99..43246594e5 100644 --- a/esp32p4/src/i3c_mst/data_buffer_thld_ctrl.rs +++ b/esp32p4/src/i3c_mst/data_buffer_thld_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - Transmit Buffer Threshold Value. This field controls the number of empty locations in the Transmit FIFO that trigger the TX_THLD_STAT interrupt. Supports values: 000:2 001:4 010:8 011:16 100:31, else:31"] #[inline(always)] - #[must_use] pub fn reg_tx_data_buf_thld(&mut self) -> REG_TX_DATA_BUF_THLD_W { REG_TX_DATA_BUF_THLD_W::new(self, 0) } #[doc = "Bits 3:5 - Receive Buffer Threshold Value. This field controls the number of empty locations in the Receive FIFO that trigger the RX_THLD_STAT interrupt. Supports: 000:2 001:4 010:8 011:16 100:31, else:31"] #[inline(always)] - #[must_use] pub fn reg_rx_data_buf_thld(&mut self) -> REG_RX_DATA_BUF_THLD_W { REG_RX_DATA_BUF_THLD_W::new(self, 3) } diff --git a/esp32p4/src/i3c_mst/device_ctrl.rs b/esp32p4/src/i3c_mst/device_ctrl.rs index 1f0dbbb904..8a6acc629b 100644 --- a/esp32p4/src/i3c_mst/device_ctrl.rs +++ b/esp32p4/src/i3c_mst/device_ctrl.rs @@ -193,49 +193,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - This bit is used to include I3C broadcast address(0x7E) for private transfer.(If I3C broadcast address is not include for the private transfer, In-Band Interrupts driven from Slaves may not win address arbitration. Hence IBIs will get delayed)"] #[inline(always)] - #[must_use] pub fn reg_ba_include(&mut self) -> REG_BA_INCLUDE_W { REG_BA_INCLUDE_W::new(self, 1) } #[doc = "Bit 2 - Transfer Start"] #[inline(always)] - #[must_use] pub fn reg_trans_start(&mut self) -> REG_TRANS_START_W { REG_TRANS_START_W::new(self, 2) } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn reg_clk_en(&mut self) -> REG_CLK_EN_W { REG_CLK_EN_W::new(self, 3) } #[doc = "Bit 4 - NA"] #[inline(always)] - #[must_use] pub fn reg_ibi_rstart_trans_en(&mut self) -> REG_IBI_RSTART_TRANS_EN_W { REG_IBI_RSTART_TRANS_EN_W::new(self, 4) } #[doc = "Bit 5 - NA"] #[inline(always)] - #[must_use] pub fn reg_auto_dis_ibi_en(&mut self) -> REG_AUTO_DIS_IBI_EN_W { REG_AUTO_DIS_IBI_EN_W::new(self, 5) } #[doc = "Bit 6 - NA"] #[inline(always)] - #[must_use] pub fn reg_dma_rx_en(&mut self) -> REG_DMA_RX_EN_W { REG_DMA_RX_EN_W::new(self, 6) } #[doc = "Bit 7 - NA"] #[inline(always)] - #[must_use] pub fn reg_dma_tx_en(&mut self) -> REG_DMA_TX_EN_W { REG_DMA_TX_EN_W::new(self, 7) } #[doc = "Bit 8 - 0: rx high bit first, 1: rx low bit first"] #[inline(always)] - #[must_use] pub fn reg_multi_slv_single_ccc_en( &mut self, ) -> REG_MULTI_SLV_SINGLE_CCC_EN_W { @@ -243,37 +235,31 @@ impl W { } #[doc = "Bit 9 - 0: rx low byte fist, 1: rx high byte first"] #[inline(always)] - #[must_use] pub fn reg_rx_bit_order(&mut self) -> REG_RX_BIT_ORDER_W { REG_RX_BIT_ORDER_W::new(self, 9) } #[doc = "Bit 10 - NA"] #[inline(always)] - #[must_use] pub fn reg_rx_byte_order(&mut self) -> REG_RX_BYTE_ORDER_W { REG_RX_BYTE_ORDER_W::new(self, 10) } #[doc = "Bit 11 - This bit is used to force scl_pullup_en"] #[inline(always)] - #[must_use] pub fn reg_scl_pullup_force_en(&mut self) -> REG_SCL_PULLUP_FORCE_EN_W { REG_SCL_PULLUP_FORCE_EN_W::new(self, 11) } #[doc = "Bit 12 - This bit is used to force scl_oe"] #[inline(always)] - #[must_use] pub fn reg_scl_oe_force_en(&mut self) -> REG_SCL_OE_FORCE_EN_W { REG_SCL_OE_FORCE_EN_W::new(self, 12) } #[doc = "Bit 13 - NA"] #[inline(always)] - #[must_use] pub fn reg_sda_pp_rd_pullup_en(&mut self) -> REG_SDA_PP_RD_PULLUP_EN_W { REG_SDA_PP_RD_PULLUP_EN_W::new(self, 13) } #[doc = "Bit 14 - NA"] #[inline(always)] - #[must_use] pub fn reg_sda_rd_tbit_hlvl_pullup_en( &mut self, ) -> REG_SDA_RD_TBIT_HLVL_PULLUP_EN_W { @@ -281,19 +267,16 @@ impl W { } #[doc = "Bit 15 - NA"] #[inline(always)] - #[must_use] pub fn reg_sda_pp_wr_pullup_en(&mut self) -> REG_SDA_PP_WR_PULLUP_EN_W { REG_SDA_PP_WR_PULLUP_EN_W::new(self, 15) } #[doc = "Bit 16 - 1: read current real-time updated value 0: read latch data byte cnt value"] #[inline(always)] - #[must_use] pub fn reg_data_byte_cnt_unlatch(&mut self) -> REG_DATA_BYTE_CNT_UNLATCH_W { REG_DATA_BYTE_CNT_UNLATCH_W::new(self, 16) } #[doc = "Bit 17 - 1: dev characteristic and address table memory clk date force on . 0 : clock gating by rd/wr."] #[inline(always)] - #[must_use] pub fn reg_mem_clk_force_on(&mut self) -> REG_MEM_CLK_FORCE_ON_W { REG_MEM_CLK_FORCE_ON_W::new(self, 17) } diff --git a/esp32p4/src/i3c_mst/device_table.rs b/esp32p4/src/i3c_mst/device_table.rs index 30492bfdf8..1dc12131e3 100644 --- a/esp32p4/src/i3c_mst/device_table.rs +++ b/esp32p4/src/i3c_mst/device_table.rs @@ -50,13 +50,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_dct_daa_init_index(&mut self) -> REG_DCT_DAA_INIT_INDEX_W { REG_DCT_DAA_INIT_INDEX_W::new(self, 0) } #[doc = "Bits 4:7 - NA"] #[inline(always)] - #[must_use] pub fn reg_dat_daa_init_index(&mut self) -> REG_DAT_DAA_INIT_INDEX_W { REG_DAT_DAA_INIT_INDEX_W::new(self, 4) } diff --git a/esp32p4/src/i3c_mst/fpga_debug_probe.rs b/esp32p4/src/i3c_mst/fpga_debug_probe.rs index 4659dff16c..83c70cf8b7 100644 --- a/esp32p4/src/i3c_mst/fpga_debug_probe.rs +++ b/esp32p4/src/i3c_mst/fpga_debug_probe.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - For Debug Probe Test on FPGA"] #[inline(always)] - #[must_use] pub fn reg_i3c_mst_fpga_debug_probe( &mut self, ) -> REG_I3C_MST_FPGA_DEBUG_PROBE_W { diff --git a/esp32p4/src/i3c_mst/ibi_notify_ctrl.rs b/esp32p4/src/i3c_mst/ibi_notify_ctrl.rs index a0d6aaaf45..6fdd50ab8d 100644 --- a/esp32p4/src/i3c_mst/ibi_notify_ctrl.rs +++ b/esp32p4/src/i3c_mst/ibi_notify_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - Notify Rejected Slave Interrupt Request Control. This bit is used to suppress reporting to the application about Slave Interrupt Request. 0:Suppress passing the IBI Status to the IBI FIFO(hence not notifying the application) when a SIR request is NACKed and auto-disabled base on the IBI_SIR_REQ_REJECT register. 1: Writes IBI Status to the IBI FIFO(hence notifying the application) when SIR request is NACKed and auto-disabled based on the IBI_SIR_REQ_REJECT registerl."] #[inline(always)] - #[must_use] pub fn reg_notify_sir_rejected(&mut self) -> REG_NOTIFY_SIR_REJECTED_W { REG_NOTIFY_SIR_REJECTED_W::new(self, 2) } diff --git a/esp32p4/src/i3c_mst/ibi_sir_req_payload.rs b/esp32p4/src/i3c_mst/ibi_sir_req_payload.rs index f6c1113566..e207dcc0c3 100644 --- a/esp32p4/src/i3c_mst/ibi_sir_req_payload.rs +++ b/esp32p4/src/i3c_mst/ibi_sir_req_payload.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - NA"] #[inline(always)] - #[must_use] pub fn reg_sir_req_payload(&mut self) -> REG_SIR_REQ_PAYLOAD_W { REG_SIR_REQ_PAYLOAD_W::new(self, 0) } diff --git a/esp32p4/src/i3c_mst/ibi_sir_req_reject.rs b/esp32p4/src/i3c_mst/ibi_sir_req_reject.rs index 8674f9777d..21a1cb9829 100644 --- a/esp32p4/src/i3c_mst/ibi_sir_req_reject.rs +++ b/esp32p4/src/i3c_mst/ibi_sir_req_reject.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The application of controller can decide whether to send ACK or NACK for Slave request received from any I3C device. A device specific response control bit is provided to select the response option, Master will ACK/NACK the Master Request based on programming of control bit, corresponding to the interrupting device. 0:ACK the SIR Request 1:NACK and send direct auto disable CCC"] #[inline(always)] - #[must_use] pub fn reg_sir_req_reject(&mut self) -> REG_SIR_REQ_REJECT_W { REG_SIR_REQ_REJECT_W::new(self, 0) } diff --git a/esp32p4/src/i3c_mst/int_clr.rs b/esp32p4/src/i3c_mst/int_clr.rs index 17b3ae9f0a..86156a0ee8 100644 --- a/esp32p4/src/i3c_mst/int_clr.rs +++ b/esp32p4/src/i3c_mst/int_clr.rs @@ -41,97 +41,81 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn tx_data_buf_thld(&mut self) -> TX_DATA_BUF_THLD_W { TX_DATA_BUF_THLD_W::new(self, 0) } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn rx_data_buf_thld(&mut self) -> RX_DATA_BUF_THLD_W { RX_DATA_BUF_THLD_W::new(self, 1) } #[doc = "Bit 2 - NA"] #[inline(always)] - #[must_use] pub fn ibi_status_thld(&mut self) -> IBI_STATUS_THLD_W { IBI_STATUS_THLD_W::new(self, 2) } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn cmd_buf_empty_thld(&mut self) -> CMD_BUF_EMPTY_THLD_W { CMD_BUF_EMPTY_THLD_W::new(self, 3) } #[doc = "Bit 4 - NA"] #[inline(always)] - #[must_use] pub fn resp_ready(&mut self) -> RESP_READY_W { RESP_READY_W::new(self, 4) } #[doc = "Bit 5 - NA"] #[inline(always)] - #[must_use] pub fn nxt_cmd_req_err(&mut self) -> NXT_CMD_REQ_ERR_W { NXT_CMD_REQ_ERR_W::new(self, 5) } #[doc = "Bit 6 - NA"] #[inline(always)] - #[must_use] pub fn transfer_err(&mut self) -> TRANSFER_ERR_W { TRANSFER_ERR_W::new(self, 6) } #[doc = "Bit 7 - NA"] #[inline(always)] - #[must_use] pub fn transfer_complete(&mut self) -> TRANSFER_COMPLETE_W { TRANSFER_COMPLETE_W::new(self, 7) } #[doc = "Bit 8 - NA"] #[inline(always)] - #[must_use] pub fn command_done(&mut self) -> COMMAND_DONE_W { COMMAND_DONE_W::new(self, 8) } #[doc = "Bit 9 - NA"] #[inline(always)] - #[must_use] pub fn detect_start(&mut self) -> DETECT_START_W { DETECT_START_W::new(self, 9) } #[doc = "Bit 10 - NA"] #[inline(always)] - #[must_use] pub fn resp_buf_ovf(&mut self) -> RESP_BUF_OVF_W { RESP_BUF_OVF_W::new(self, 10) } #[doc = "Bit 11 - NA"] #[inline(always)] - #[must_use] pub fn ibi_data_buf_ovf(&mut self) -> IBI_DATA_BUF_OVF_W { IBI_DATA_BUF_OVF_W::new(self, 11) } #[doc = "Bit 12 - NA"] #[inline(always)] - #[must_use] pub fn ibi_status_buf_ovf(&mut self) -> IBI_STATUS_BUF_OVF_W { IBI_STATUS_BUF_OVF_W::new(self, 12) } #[doc = "Bit 13 - NA"] #[inline(always)] - #[must_use] pub fn ibi_handle_done(&mut self) -> IBI_HANDLE_DONE_W { IBI_HANDLE_DONE_W::new(self, 13) } #[doc = "Bit 14 - NA"] #[inline(always)] - #[must_use] pub fn ibi_detect(&mut self) -> IBI_DETECT_W { IBI_DETECT_W::new(self, 14) } #[doc = "Bit 15 - NA"] #[inline(always)] - #[must_use] pub fn cmd_ccc_mismatch(&mut self) -> CMD_CCC_MISMATCH_W { CMD_CCC_MISMATCH_W::new(self, 15) } diff --git a/esp32p4/src/i3c_mst/int_ena.rs b/esp32p4/src/i3c_mst/int_ena.rs index 065feff526..b08c7202d6 100644 --- a/esp32p4/src/i3c_mst/int_ena.rs +++ b/esp32p4/src/i3c_mst/int_ena.rs @@ -174,97 +174,81 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Transmit Buffer threshold status enable."] #[inline(always)] - #[must_use] pub fn tx_data_buf_thld(&mut self) -> TX_DATA_BUF_THLD_W { TX_DATA_BUF_THLD_W::new(self, 0) } #[doc = "Bit 1 - Receive Buffer threshold status enable."] #[inline(always)] - #[must_use] pub fn rx_data_buf_thld(&mut self) -> RX_DATA_BUF_THLD_W { RX_DATA_BUF_THLD_W::new(self, 1) } #[doc = "Bit 2 - Only used in master mode. IBI Buffer threshold status enable."] #[inline(always)] - #[must_use] pub fn ibi_status_thld(&mut self) -> IBI_STATUS_THLD_W { IBI_STATUS_THLD_W::new(self, 2) } #[doc = "Bit 3 - Command buffer ready status enable."] #[inline(always)] - #[must_use] pub fn cmd_buf_empty_thld(&mut self) -> CMD_BUF_EMPTY_THLD_W { CMD_BUF_EMPTY_THLD_W::new(self, 3) } #[doc = "Bit 4 - Response buffer ready status enable."] #[inline(always)] - #[must_use] pub fn resp_ready(&mut self) -> RESP_READY_W { RESP_READY_W::new(self, 4) } #[doc = "Bit 5 - next command request error status enable"] #[inline(always)] - #[must_use] pub fn nxt_cmd_req_err(&mut self) -> NXT_CMD_REQ_ERR_W { NXT_CMD_REQ_ERR_W::new(self, 5) } #[doc = "Bit 6 - Transfer error status enable"] #[inline(always)] - #[must_use] pub fn transfer_err(&mut self) -> TRANSFER_ERR_W { TRANSFER_ERR_W::new(self, 6) } #[doc = "Bit 7 - NA"] #[inline(always)] - #[must_use] pub fn transfer_complete(&mut self) -> TRANSFER_COMPLETE_W { TRANSFER_COMPLETE_W::new(self, 7) } #[doc = "Bit 8 - NA"] #[inline(always)] - #[must_use] pub fn command_done(&mut self) -> COMMAND_DONE_W { COMMAND_DONE_W::new(self, 8) } #[doc = "Bit 9 - NA"] #[inline(always)] - #[must_use] pub fn detect_start(&mut self) -> DETECT_START_W { DETECT_START_W::new(self, 9) } #[doc = "Bit 10 - NA"] #[inline(always)] - #[must_use] pub fn resp_buf_ovf(&mut self) -> RESP_BUF_OVF_W { RESP_BUF_OVF_W::new(self, 10) } #[doc = "Bit 11 - NA"] #[inline(always)] - #[must_use] pub fn ibi_data_buf_ovf(&mut self) -> IBI_DATA_BUF_OVF_W { IBI_DATA_BUF_OVF_W::new(self, 11) } #[doc = "Bit 12 - NA"] #[inline(always)] - #[must_use] pub fn ibi_status_buf_ovf(&mut self) -> IBI_STATUS_BUF_OVF_W { IBI_STATUS_BUF_OVF_W::new(self, 12) } #[doc = "Bit 13 - NA"] #[inline(always)] - #[must_use] pub fn ibi_handle_done(&mut self) -> IBI_HANDLE_DONE_W { IBI_HANDLE_DONE_W::new(self, 13) } #[doc = "Bit 14 - NA"] #[inline(always)] - #[must_use] pub fn ibi_detect(&mut self) -> IBI_DETECT_W { IBI_DETECT_W::new(self, 14) } #[doc = "Bit 15 - NA"] #[inline(always)] - #[must_use] pub fn cmd_ccc_mismatch(&mut self) -> CMD_CCC_MISMATCH_W { CMD_CCC_MISMATCH_W::new(self, 15) } diff --git a/esp32p4/src/i3c_mst/int_raw.rs b/esp32p4/src/i3c_mst/int_raw.rs index 18002187b5..f972b3f82d 100644 --- a/esp32p4/src/i3c_mst/int_raw.rs +++ b/esp32p4/src/i3c_mst/int_raw.rs @@ -174,97 +174,81 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn tx_data_buf_thld(&mut self) -> TX_DATA_BUF_THLD_W { TX_DATA_BUF_THLD_W::new(self, 0) } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn rx_data_buf_thld(&mut self) -> RX_DATA_BUF_THLD_W { RX_DATA_BUF_THLD_W::new(self, 1) } #[doc = "Bit 2 - NA"] #[inline(always)] - #[must_use] pub fn ibi_status_thld(&mut self) -> IBI_STATUS_THLD_W { IBI_STATUS_THLD_W::new(self, 2) } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn cmd_buf_empty_thld(&mut self) -> CMD_BUF_EMPTY_THLD_W { CMD_BUF_EMPTY_THLD_W::new(self, 3) } #[doc = "Bit 4 - NA"] #[inline(always)] - #[must_use] pub fn resp_ready(&mut self) -> RESP_READY_W { RESP_READY_W::new(self, 4) } #[doc = "Bit 5 - NA"] #[inline(always)] - #[must_use] pub fn nxt_cmd_req_err(&mut self) -> NXT_CMD_REQ_ERR_W { NXT_CMD_REQ_ERR_W::new(self, 5) } #[doc = "Bit 6 - NA"] #[inline(always)] - #[must_use] pub fn transfer_err(&mut self) -> TRANSFER_ERR_W { TRANSFER_ERR_W::new(self, 6) } #[doc = "Bit 7 - NA"] #[inline(always)] - #[must_use] pub fn transfer_complete(&mut self) -> TRANSFER_COMPLETE_W { TRANSFER_COMPLETE_W::new(self, 7) } #[doc = "Bit 8 - NA"] #[inline(always)] - #[must_use] pub fn command_done(&mut self) -> COMMAND_DONE_W { COMMAND_DONE_W::new(self, 8) } #[doc = "Bit 9 - NA"] #[inline(always)] - #[must_use] pub fn detect_start(&mut self) -> DETECT_START_W { DETECT_START_W::new(self, 9) } #[doc = "Bit 10 - NA"] #[inline(always)] - #[must_use] pub fn resp_buf_ovf(&mut self) -> RESP_BUF_OVF_W { RESP_BUF_OVF_W::new(self, 10) } #[doc = "Bit 11 - NA"] #[inline(always)] - #[must_use] pub fn ibi_data_buf_ovf(&mut self) -> IBI_DATA_BUF_OVF_W { IBI_DATA_BUF_OVF_W::new(self, 11) } #[doc = "Bit 12 - NA"] #[inline(always)] - #[must_use] pub fn ibi_status_buf_ovf(&mut self) -> IBI_STATUS_BUF_OVF_W { IBI_STATUS_BUF_OVF_W::new(self, 12) } #[doc = "Bit 13 - NA"] #[inline(always)] - #[must_use] pub fn ibi_handle_done(&mut self) -> IBI_HANDLE_DONE_W { IBI_HANDLE_DONE_W::new(self, 13) } #[doc = "Bit 14 - NA"] #[inline(always)] - #[must_use] pub fn ibi_detect(&mut self) -> IBI_DETECT_W { IBI_DETECT_W::new(self, 14) } #[doc = "Bit 15 - NA"] #[inline(always)] - #[must_use] pub fn cmd_ccc_mismatch(&mut self) -> CMD_CCC_MISMATCH_W { CMD_CCC_MISMATCH_W::new(self, 15) } diff --git a/esp32p4/src/i3c_mst/reset_ctrl.rs b/esp32p4/src/i3c_mst/reset_ctrl.rs index 17e09a461f..7ac5da403a 100644 --- a/esp32p4/src/i3c_mst/reset_ctrl.rs +++ b/esp32p4/src/i3c_mst/reset_ctrl.rs @@ -76,43 +76,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn reg_core_soft_rst(&mut self) -> REG_CORE_SOFT_RST_W { REG_CORE_SOFT_RST_W::new(self, 0) } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn reg_cmd_buf_rst(&mut self) -> REG_CMD_BUF_RST_W { REG_CMD_BUF_RST_W::new(self, 1) } #[doc = "Bit 2 - NA"] #[inline(always)] - #[must_use] pub fn reg_resp_buf_rst(&mut self) -> REG_RESP_BUF_RST_W { REG_RESP_BUF_RST_W::new(self, 2) } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn reg_tx_data_buf_buf_rst(&mut self) -> REG_TX_DATA_BUF_BUF_RST_W { REG_TX_DATA_BUF_BUF_RST_W::new(self, 3) } #[doc = "Bit 4 - NA"] #[inline(always)] - #[must_use] pub fn reg_rx_data_buf_rst(&mut self) -> REG_RX_DATA_BUF_RST_W { REG_RX_DATA_BUF_RST_W::new(self, 4) } #[doc = "Bit 5 - NA"] #[inline(always)] - #[must_use] pub fn reg_ibi_data_buf_rst(&mut self) -> REG_IBI_DATA_BUF_RST_W { REG_IBI_DATA_BUF_RST_W::new(self, 5) } #[doc = "Bit 6 - NA"] #[inline(always)] - #[must_use] pub fn reg_ibi_status_buf_rst(&mut self) -> REG_IBI_STATUS_BUF_RST_W { REG_IBI_STATUS_BUF_RST_W::new(self, 6) } diff --git a/esp32p4/src/i3c_mst/rnd_eco_cs.rs b/esp32p4/src/i3c_mst/rnd_eco_cs.rs index 681991cdfd..749c656fbe 100644 --- a/esp32p4/src/i3c_mst/rnd_eco_cs.rs +++ b/esp32p4/src/i3c_mst/rnd_eco_cs.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn reg_rnd_eco_en(&mut self) -> REG_RND_ECO_EN_W { REG_RND_ECO_EN_W::new(self, 0) } diff --git a/esp32p4/src/i3c_mst/rnd_eco_high.rs b/esp32p4/src/i3c_mst/rnd_eco_high.rs index 3404170975..c37e245f81 100644 --- a/esp32p4/src/i3c_mst/rnd_eco_high.rs +++ b/esp32p4/src/i3c_mst/rnd_eco_high.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - NA"] #[inline(always)] - #[must_use] pub fn reg_rnd_eco_high(&mut self) -> REG_RND_ECO_HIGH_W { REG_RND_ECO_HIGH_W::new(self, 0) } diff --git a/esp32p4/src/i3c_mst/rnd_eco_low.rs b/esp32p4/src/i3c_mst/rnd_eco_low.rs index dbd320af3d..30d71f23f9 100644 --- a/esp32p4/src/i3c_mst/rnd_eco_low.rs +++ b/esp32p4/src/i3c_mst/rnd_eco_low.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - NA"] #[inline(always)] - #[must_use] pub fn reg_rnd_eco_low(&mut self) -> REG_RND_ECO_LOW_W { REG_RND_ECO_LOW_W::new(self, 0) } diff --git a/esp32p4/src/i3c_mst/scl_ext_low_time.rs b/esp32p4/src/i3c_mst/scl_ext_low_time.rs index 3078573bd1..c886ca8404 100644 --- a/esp32p4/src/i3c_mst/scl_ext_low_time.rs +++ b/esp32p4/src/i3c_mst/scl_ext_low_time.rs @@ -66,7 +66,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - NA"] #[inline(always)] - #[must_use] pub fn reg_i3c_mst_ext_low_period1( &mut self, ) -> REG_I3C_MST_EXT_LOW_PERIOD1_W { @@ -74,7 +73,6 @@ impl W { } #[doc = "Bits 8:15 - NA"] #[inline(always)] - #[must_use] pub fn reg_i3c_mst_ext_low_period2( &mut self, ) -> REG_I3C_MST_EXT_LOW_PERIOD2_W { @@ -82,7 +80,6 @@ impl W { } #[doc = "Bits 16:23 - NA"] #[inline(always)] - #[must_use] pub fn reg_i3c_mst_ext_low_period3( &mut self, ) -> REG_I3C_MST_EXT_LOW_PERIOD3_W { @@ -90,7 +87,6 @@ impl W { } #[doc = "Bits 24:31 - NA"] #[inline(always)] - #[must_use] pub fn reg_i3c_mst_ext_low_period4( &mut self, ) -> REG_I3C_MST_EXT_LOW_PERIOD4_W { diff --git a/esp32p4/src/i3c_mst/scl_i2c_fm_time.rs b/esp32p4/src/i3c_mst/scl_i2c_fm_time.rs index f81d790891..aea74a76aa 100644 --- a/esp32p4/src/i3c_mst/scl_i2c_fm_time.rs +++ b/esp32p4/src/i3c_mst/scl_i2c_fm_time.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - NA"] #[inline(always)] - #[must_use] pub fn reg_i2c_fm_low_period(&mut self) -> REG_I2C_FM_LOW_PERIOD_W { REG_I2C_FM_LOW_PERIOD_W::new(self, 0) } #[doc = "Bits 16:31 - The SCL open-drain low count timing for I2C Fast Mode transfers."] #[inline(always)] - #[must_use] pub fn reg_i2c_fm_high_period(&mut self) -> REG_I2C_FM_HIGH_PERIOD_W { REG_I2C_FM_HIGH_PERIOD_W::new(self, 16) } diff --git a/esp32p4/src/i3c_mst/scl_i2c_fmp_time.rs b/esp32p4/src/i3c_mst/scl_i2c_fmp_time.rs index 20e6daa04b..19eb7a526f 100644 --- a/esp32p4/src/i3c_mst/scl_i2c_fmp_time.rs +++ b/esp32p4/src/i3c_mst/scl_i2c_fmp_time.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - NA"] #[inline(always)] - #[must_use] pub fn reg_i2c_fmp_low_period(&mut self) -> REG_I2C_FMP_LOW_PERIOD_W { REG_I2C_FMP_LOW_PERIOD_W::new(self, 0) } #[doc = "Bits 16:23 - NA"] #[inline(always)] - #[must_use] pub fn reg_i2c_fmp_high_period(&mut self) -> REG_I2C_FMP_HIGH_PERIOD_W { REG_I2C_FMP_HIGH_PERIOD_W::new(self, 16) } diff --git a/esp32p4/src/i3c_mst/scl_i3c_mst_od_time.rs b/esp32p4/src/i3c_mst/scl_i3c_mst_od_time.rs index e059124001..f1022a3c4f 100644 --- a/esp32p4/src/i3c_mst/scl_i3c_mst_od_time.rs +++ b/esp32p4/src/i3c_mst/scl_i3c_mst_od_time.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - SCL Open-Drain low count for I3C transfers targeted to I3C devices."] #[inline(always)] - #[must_use] pub fn reg_i3c_mst_od_low_period( &mut self, ) -> REG_I3C_MST_OD_LOW_PERIOD_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bits 16:31 - SCL Open-Drain High count for I3C transfers targeted to I3C devices."] #[inline(always)] - #[must_use] pub fn reg_i3c_mst_od_high_period( &mut self, ) -> REG_I3C_MST_OD_HIGH_PERIOD_W { diff --git a/esp32p4/src/i3c_mst/scl_i3c_mst_pp_time.rs b/esp32p4/src/i3c_mst/scl_i3c_mst_pp_time.rs index 5efb3cc1cd..4c5ed72514 100644 --- a/esp32p4/src/i3c_mst/scl_i3c_mst_pp_time.rs +++ b/esp32p4/src/i3c_mst/scl_i3c_mst_pp_time.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - NA"] #[inline(always)] - #[must_use] pub fn reg_i3c_mst_pp_low_period( &mut self, ) -> REG_I3C_MST_PP_LOW_PERIOD_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bits 16:23 - NA"] #[inline(always)] - #[must_use] pub fn reg_i3c_mst_pp_high_period( &mut self, ) -> REG_I3C_MST_PP_HIGH_PERIOD_W { diff --git a/esp32p4/src/i3c_mst/scl_rstart_setup.rs b/esp32p4/src/i3c_mst/scl_rstart_setup.rs index 8d5d4dcfc3..07bfdb3920 100644 --- a/esp32p4/src/i3c_mst/scl_rstart_setup.rs +++ b/esp32p4/src/i3c_mst/scl_rstart_setup.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - I2C_SCL_RSTART_SETUP_TIME"] #[inline(always)] - #[must_use] pub fn reg_scl_rstart_setup_time( &mut self, ) -> REG_SCL_RSTART_SETUP_TIME_W { diff --git a/esp32p4/src/i3c_mst/scl_start_hold.rs b/esp32p4/src/i3c_mst/scl_start_hold.rs index b98ebea5dd..7ed4695e72 100644 --- a/esp32p4/src/i3c_mst/scl_start_hold.rs +++ b/esp32p4/src/i3c_mst/scl_start_hold.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - I2C_SCL_START_HOLD_TIME"] #[inline(always)] - #[must_use] pub fn reg_scl_start_hold_time(&mut self) -> REG_SCL_START_HOLD_TIME_W { REG_SCL_START_HOLD_TIME_W::new(self, 0) } #[doc = "Bits 9:10 - NA"] #[inline(always)] - #[must_use] pub fn reg_start_det_hold_time(&mut self) -> REG_START_DET_HOLD_TIME_W { REG_START_DET_HOLD_TIME_W::new(self, 9) } diff --git a/esp32p4/src/i3c_mst/scl_stop_hold.rs b/esp32p4/src/i3c_mst/scl_stop_hold.rs index 025af1f9a4..3ed23e6c15 100644 --- a/esp32p4/src/i3c_mst/scl_stop_hold.rs +++ b/esp32p4/src/i3c_mst/scl_stop_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - I2C_SCL_STOP_HOLD_TIME"] #[inline(always)] - #[must_use] pub fn reg_scl_stop_hold_time(&mut self) -> REG_SCL_STOP_HOLD_TIME_W { REG_SCL_STOP_HOLD_TIME_W::new(self, 0) } diff --git a/esp32p4/src/i3c_mst/scl_stop_setup.rs b/esp32p4/src/i3c_mst/scl_stop_setup.rs index 5f4c389fee..ed963dde49 100644 --- a/esp32p4/src/i3c_mst/scl_stop_setup.rs +++ b/esp32p4/src/i3c_mst/scl_stop_setup.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - I2C_SCL_STOP_SETUP_TIME"] #[inline(always)] - #[must_use] pub fn reg_scl_stop_setup_time(&mut self) -> REG_SCL_STOP_SETUP_TIME_W { REG_SCL_STOP_SETUP_TIME_W::new(self, 0) } diff --git a/esp32p4/src/i3c_mst/scl_termn_t_ext_low_time.rs b/esp32p4/src/i3c_mst/scl_termn_t_ext_low_time.rs index 377ecebdf1..58d2cd5592 100644 --- a/esp32p4/src/i3c_mst/scl_termn_t_ext_low_time.rs +++ b/esp32p4/src/i3c_mst/scl_termn_t_ext_low_time.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - NA"] #[inline(always)] - #[must_use] pub fn reg_i3c_mst_termn_t_ext_low_time( &mut self, ) -> REG_I3C_MST_TERMN_T_EXT_LOW_TIME_W { diff --git a/esp32p4/src/i3c_mst/sda_hold_time.rs b/esp32p4/src/i3c_mst/sda_hold_time.rs index 3c0b3ac632..7129570cec 100644 --- a/esp32p4/src/i3c_mst/sda_hold_time.rs +++ b/esp32p4/src/i3c_mst/sda_hold_time.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - It is used to adjust sda drive point after scl neg under open drain speed"] #[inline(always)] - #[must_use] pub fn reg_sda_od_tx_hold_time(&mut self) -> REG_SDA_OD_TX_HOLD_TIME_W { REG_SDA_OD_TX_HOLD_TIME_W::new(self, 0) } #[doc = "Bits 9:13 - It is used to adjust sda dirve point after scl neg under push pull speed"] #[inline(always)] - #[must_use] pub fn reg_sda_pp_tx_hold_time(&mut self) -> REG_SDA_PP_TX_HOLD_TIME_W { REG_SDA_PP_TX_HOLD_TIME_W::new(self, 9) } diff --git a/esp32p4/src/i3c_mst/sda_sample_time.rs b/esp32p4/src/i3c_mst/sda_sample_time.rs index c6fe3254a3..1696c9f1ac 100644 --- a/esp32p4/src/i3c_mst/sda_sample_time.rs +++ b/esp32p4/src/i3c_mst/sda_sample_time.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - It is used to adjust sda sample point when scl high under open drain speed"] #[inline(always)] - #[must_use] pub fn reg_sda_od_sample_time(&mut self) -> REG_SDA_OD_SAMPLE_TIME_W { REG_SDA_OD_SAMPLE_TIME_W::new(self, 0) } #[doc = "Bits 9:13 - It is used to adjust sda sample point when scl high under push pull speed"] #[inline(always)] - #[must_use] pub fn reg_sda_pp_sample_time(&mut self) -> REG_SDA_PP_SAMPLE_TIME_W { REG_SDA_PP_SAMPLE_TIME_W::new(self, 9) } diff --git a/esp32p4/src/i3c_mst/time_out_value.rs b/esp32p4/src/i3c_mst/time_out_value.rs index c6fcaf5ca0..02b3705d79 100644 --- a/esp32p4/src/i3c_mst/time_out_value.rs +++ b/esp32p4/src/i3c_mst/time_out_value.rs @@ -100,19 +100,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - NA"] #[inline(always)] - #[must_use] pub fn reg_resp_buf_to_value(&mut self) -> REG_RESP_BUF_TO_VALUE_W { REG_RESP_BUF_TO_VALUE_W::new(self, 0) } #[doc = "Bit 5 - NA"] #[inline(always)] - #[must_use] pub fn reg_resp_buf_to_en(&mut self) -> REG_RESP_BUF_TO_EN_W { REG_RESP_BUF_TO_EN_W::new(self, 5) } #[doc = "Bits 6:10 - NA"] #[inline(always)] - #[must_use] pub fn reg_ibi_data_buf_to_value( &mut self, ) -> REG_IBI_DATA_BUF_TO_VALUE_W { @@ -120,13 +117,11 @@ impl W { } #[doc = "Bit 11 - NA"] #[inline(always)] - #[must_use] pub fn reg_ibi_data_buf_to_en(&mut self) -> REG_IBI_DATA_BUF_TO_EN_W { REG_IBI_DATA_BUF_TO_EN_W::new(self, 11) } #[doc = "Bits 12:16 - NA"] #[inline(always)] - #[must_use] pub fn reg_ibi_status_buf_to_value( &mut self, ) -> REG_IBI_STATUS_BUF_TO_VALUE_W { @@ -134,19 +129,16 @@ impl W { } #[doc = "Bit 17 - NA"] #[inline(always)] - #[must_use] pub fn reg_ibi_status_buf_to_en(&mut self) -> REG_IBI_STATUS_BUF_TO_EN_W { REG_IBI_STATUS_BUF_TO_EN_W::new(self, 17) } #[doc = "Bits 18:22 - NA"] #[inline(always)] - #[must_use] pub fn reg_rx_data_buf_to_value(&mut self) -> REG_RX_DATA_BUF_TO_VALUE_W { REG_RX_DATA_BUF_TO_VALUE_W::new(self, 18) } #[doc = "Bit 23 - NA"] #[inline(always)] - #[must_use] pub fn reg_rx_data_buf_to_en(&mut self) -> REG_RX_DATA_BUF_TO_EN_W { REG_RX_DATA_BUF_TO_EN_W::new(self, 23) } diff --git a/esp32p4/src/i3c_mst/ver_id.rs b/esp32p4/src/i3c_mst/ver_id.rs index fe5d50388b..75cd8305de 100644 --- a/esp32p4/src/i3c_mst/ver_id.rs +++ b/esp32p4/src/i3c_mst/ver_id.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This field indicates the controller current release number that is read by an application."] #[inline(always)] - #[must_use] pub fn reg_i3c_mst_ver_id(&mut self) -> REG_I3C_MST_VER_ID_W { REG_I3C_MST_VER_ID_W::new(self, 0) } diff --git a/esp32p4/src/i3c_mst/ver_type.rs b/esp32p4/src/i3c_mst/ver_type.rs index aadea404c6..1e7e03ead7 100644 --- a/esp32p4/src/i3c_mst/ver_type.rs +++ b/esp32p4/src/i3c_mst/ver_type.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This field indicates the controller current release type that is read by an application."] #[inline(always)] - #[must_use] pub fn reg_i3c_mst_ver_type(&mut self) -> REG_I3C_MST_VER_TYPE_W { REG_I3C_MST_VER_TYPE_W::new(self, 0) } diff --git a/esp32p4/src/i3c_mst_mem/command_buf_port.rs b/esp32p4/src/i3c_mst_mem/command_buf_port.rs index 0769ca46e9..2d734a6aae 100644 --- a/esp32p4/src/i3c_mst_mem/command_buf_port.rs +++ b/esp32p4/src/i3c_mst_mem/command_buf_port.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Contains a Command Descriptor structure that depends on the requested transfer type. Command Descriptor structure is used to schedule the transfers to devices on I3C bus."] #[inline(always)] - #[must_use] pub fn reg_command(&mut self) -> REG_COMMAND_W { REG_COMMAND_W::new(self, 0) } diff --git a/esp32p4/src/i3c_mst_mem/dev_addr_table10_loc.rs b/esp32p4/src/i3c_mst_mem/dev_addr_table10_loc.rs index 59f368124b..6d7bbb6b08 100644 --- a/esp32p4/src/i3c_mst_mem/dev_addr_table10_loc.rs +++ b/esp32p4/src/i3c_mst_mem/dev_addr_table10_loc.rs @@ -63,7 +63,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - NA"] #[inline(always)] - #[must_use] pub fn reg_dat_dev10_static_addr( &mut self, ) -> REG_DAT_DEV10_STATIC_ADDR_W { @@ -71,7 +70,6 @@ impl W { } #[doc = "Bits 16:23 - Device Dynamic Address with parity, The MSB,bit\\[23\\], should be programmed with parity of dynamic address."] #[inline(always)] - #[must_use] pub fn reg_dat_dev10_dynamic_addr( &mut self, ) -> REG_DAT_DEV10_DYNAMIC_ADDR_W { @@ -79,7 +77,6 @@ impl W { } #[doc = "Bits 29:30 - This field is used to set the Device NACK Retry count for the particular device. If the Device NACK's for the device address, the controller automatically retries the same device until this count expires. If the Slave does not ACK for the mentioned number of retries, then controller generates an error response and move to the Halt state."] #[inline(always)] - #[must_use] pub fn reg_dat_dev10_nack_retry_cnt( &mut self, ) -> REG_DAT_DEV10_NACK_RETRY_CNT_W { @@ -87,7 +84,6 @@ impl W { } #[doc = "Bit 31 - Legacy I2C device or not. This bit should be set to 1 if the device is a legacy I2C device."] #[inline(always)] - #[must_use] pub fn reg_dat_dev10_i2c(&mut self) -> REG_DAT_DEV10_I2C_W { REG_DAT_DEV10_I2C_W::new(self, 31) } diff --git a/esp32p4/src/i3c_mst_mem/dev_addr_table11_loc.rs b/esp32p4/src/i3c_mst_mem/dev_addr_table11_loc.rs index e1ee96c8d4..c5853e7926 100644 --- a/esp32p4/src/i3c_mst_mem/dev_addr_table11_loc.rs +++ b/esp32p4/src/i3c_mst_mem/dev_addr_table11_loc.rs @@ -63,7 +63,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - NA"] #[inline(always)] - #[must_use] pub fn reg_dat_dev11_static_addr( &mut self, ) -> REG_DAT_DEV11_STATIC_ADDR_W { @@ -71,7 +70,6 @@ impl W { } #[doc = "Bits 16:23 - Device Dynamic Address with parity, The MSB,bit\\[23\\], should be programmed with parity of dynamic address."] #[inline(always)] - #[must_use] pub fn reg_dat_dev11_dynamic_addr( &mut self, ) -> REG_DAT_DEV11_DYNAMIC_ADDR_W { @@ -79,7 +77,6 @@ impl W { } #[doc = "Bits 29:30 - This field is used to set the Device NACK Retry count for the particular device. If the Device NACK's for the device address, the controller automatically retries the same device until this count expires. If the Slave does not ACK for the mentioned number of retries, then controller generates an error response and move to the Halt state."] #[inline(always)] - #[must_use] pub fn reg_dat_dev11_nack_retry_cnt( &mut self, ) -> REG_DAT_DEV11_NACK_RETRY_CNT_W { @@ -87,7 +84,6 @@ impl W { } #[doc = "Bit 31 - Legacy I2C device or not. This bit should be set to 1 if the device is a legacy I2C device."] #[inline(always)] - #[must_use] pub fn reg_dat_dev11_i2c(&mut self) -> REG_DAT_DEV11_I2C_W { REG_DAT_DEV11_I2C_W::new(self, 31) } diff --git a/esp32p4/src/i3c_mst_mem/dev_addr_table12_loc.rs b/esp32p4/src/i3c_mst_mem/dev_addr_table12_loc.rs index df1a606b52..0e6a9e127d 100644 --- a/esp32p4/src/i3c_mst_mem/dev_addr_table12_loc.rs +++ b/esp32p4/src/i3c_mst_mem/dev_addr_table12_loc.rs @@ -63,7 +63,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - NA"] #[inline(always)] - #[must_use] pub fn reg_dat_dev12_static_addr( &mut self, ) -> REG_DAT_DEV12_STATIC_ADDR_W { @@ -71,7 +70,6 @@ impl W { } #[doc = "Bits 16:23 - Device Dynamic Address with parity, The MSB,bit\\[23\\], should be programmed with parity of dynamic address."] #[inline(always)] - #[must_use] pub fn reg_dat_dev12_dynamic_addr( &mut self, ) -> REG_DAT_DEV12_DYNAMIC_ADDR_W { @@ -79,7 +77,6 @@ impl W { } #[doc = "Bits 29:30 - This field is used to set the Device NACK Retry count for the particular device. If the Device NACK's for the device address, the controller automatically retries the same device until this count expires. If the Slave does not ACK for the mentioned number of retries, then controller generates an error response and move to the Halt state."] #[inline(always)] - #[must_use] pub fn reg_dat_dev12_nack_retry_cnt( &mut self, ) -> REG_DAT_DEV12_NACK_RETRY_CNT_W { @@ -87,7 +84,6 @@ impl W { } #[doc = "Bit 31 - Legacy I2C device or not. This bit should be set to 1 if the device is a legacy I2C device."] #[inline(always)] - #[must_use] pub fn reg_dat_dev12_i2c(&mut self) -> REG_DAT_DEV12_I2C_W { REG_DAT_DEV12_I2C_W::new(self, 31) } diff --git a/esp32p4/src/i3c_mst_mem/dev_addr_table1_loc.rs b/esp32p4/src/i3c_mst_mem/dev_addr_table1_loc.rs index 879ce1140d..6d1f5c5d60 100644 --- a/esp32p4/src/i3c_mst_mem/dev_addr_table1_loc.rs +++ b/esp32p4/src/i3c_mst_mem/dev_addr_table1_loc.rs @@ -60,7 +60,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - NA"] #[inline(always)] - #[must_use] pub fn reg_dat_dev1_static_addr( &mut self, ) -> REG_DAT_DEV1_STATIC_ADDR_W { @@ -68,7 +67,6 @@ impl W { } #[doc = "Bits 16:23 - Device Dynamic Address with parity, The MSB,bit\\[23\\], should be programmed with parity of dynamic address."] #[inline(always)] - #[must_use] pub fn reg_dat_dev1_dynamic_addr( &mut self, ) -> REG_DAT_DEV1_DYNAMIC_ADDR_W { @@ -76,7 +74,6 @@ impl W { } #[doc = "Bits 29:30 - This field is used to set the Device NACK Retry count for the particular device. If the Device NACK's for the device address, the controller automatically retries the same device until this count expires. If the Slave does not ACK for the mentioned number of retries, then controller generates an error response and move to the Halt state."] #[inline(always)] - #[must_use] pub fn reg_dat_dev1_nack_retry_cnt( &mut self, ) -> REG_DAT_DEV1_NACK_RETRY_CNT_W { @@ -84,7 +81,6 @@ impl W { } #[doc = "Bit 31 - Legacy I2C device or not. This bit should be set to 1 if the device is a legacy I2C device."] #[inline(always)] - #[must_use] pub fn reg_dat_dev1_i2c(&mut self) -> REG_DAT_DEV1_I2C_W { REG_DAT_DEV1_I2C_W::new(self, 31) } diff --git a/esp32p4/src/i3c_mst_mem/dev_addr_table2_loc.rs b/esp32p4/src/i3c_mst_mem/dev_addr_table2_loc.rs index af147ec8ee..fde85874a3 100644 --- a/esp32p4/src/i3c_mst_mem/dev_addr_table2_loc.rs +++ b/esp32p4/src/i3c_mst_mem/dev_addr_table2_loc.rs @@ -60,7 +60,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - NA"] #[inline(always)] - #[must_use] pub fn reg_dat_dev2_static_addr( &mut self, ) -> REG_DAT_DEV2_STATIC_ADDR_W { @@ -68,7 +67,6 @@ impl W { } #[doc = "Bits 16:23 - Device Dynamic Address with parity, The MSB,bit\\[23\\], should be programmed with parity of dynamic address."] #[inline(always)] - #[must_use] pub fn reg_dat_dev2_dynamic_addr( &mut self, ) -> REG_DAT_DEV2_DYNAMIC_ADDR_W { @@ -76,7 +74,6 @@ impl W { } #[doc = "Bits 29:30 - This field is used to set the Device NACK Retry count for the particular device. If the Device NACK's for the device address, the controller automatically retries the same device until this count expires. If the Slave does not ACK for the mentioned number of retries, then controller generates an error response and move to the Halt state."] #[inline(always)] - #[must_use] pub fn reg_dat_dev2_nack_retry_cnt( &mut self, ) -> REG_DAT_DEV2_NACK_RETRY_CNT_W { @@ -84,7 +81,6 @@ impl W { } #[doc = "Bit 31 - Legacy I2C device or not. This bit should be set to 1 if the device is a legacy I2C device."] #[inline(always)] - #[must_use] pub fn reg_dat_dev2_i2c(&mut self) -> REG_DAT_DEV2_I2C_W { REG_DAT_DEV2_I2C_W::new(self, 31) } diff --git a/esp32p4/src/i3c_mst_mem/dev_addr_table3_loc.rs b/esp32p4/src/i3c_mst_mem/dev_addr_table3_loc.rs index 9690802b43..7357ff0ff9 100644 --- a/esp32p4/src/i3c_mst_mem/dev_addr_table3_loc.rs +++ b/esp32p4/src/i3c_mst_mem/dev_addr_table3_loc.rs @@ -60,7 +60,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - NA"] #[inline(always)] - #[must_use] pub fn reg_dat_dev3_static_addr( &mut self, ) -> REG_DAT_DEV3_STATIC_ADDR_W { @@ -68,7 +67,6 @@ impl W { } #[doc = "Bits 16:23 - Device Dynamic Address with parity, The MSB,bit\\[23\\], should be programmed with parity of dynamic address."] #[inline(always)] - #[must_use] pub fn reg_dat_dev3_dynamic_addr( &mut self, ) -> REG_DAT_DEV3_DYNAMIC_ADDR_W { @@ -76,7 +74,6 @@ impl W { } #[doc = "Bits 29:30 - This field is used to set the Device NACK Retry count for the particular device. If the Device NACK's for the device address, the controller automatically retries the same device until this count expires. If the Slave does not ACK for the mentioned number of retries, then controller generates an error response and move to the Halt state."] #[inline(always)] - #[must_use] pub fn reg_dat_dev3_nack_retry_cnt( &mut self, ) -> REG_DAT_DEV3_NACK_RETRY_CNT_W { @@ -84,7 +81,6 @@ impl W { } #[doc = "Bit 31 - Legacy I2C device or not. This bit should be set to 1 if the device is a legacy I2C device."] #[inline(always)] - #[must_use] pub fn reg_dat_dev3_i2c(&mut self) -> REG_DAT_DEV3_I2C_W { REG_DAT_DEV3_I2C_W::new(self, 31) } diff --git a/esp32p4/src/i3c_mst_mem/dev_addr_table4_loc.rs b/esp32p4/src/i3c_mst_mem/dev_addr_table4_loc.rs index f7ecef95c8..d637cfbf9c 100644 --- a/esp32p4/src/i3c_mst_mem/dev_addr_table4_loc.rs +++ b/esp32p4/src/i3c_mst_mem/dev_addr_table4_loc.rs @@ -60,7 +60,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - NA"] #[inline(always)] - #[must_use] pub fn reg_dat_dev4_static_addr( &mut self, ) -> REG_DAT_DEV4_STATIC_ADDR_W { @@ -68,7 +67,6 @@ impl W { } #[doc = "Bits 16:23 - Device Dynamic Address with parity, The MSB,bit\\[23\\], should be programmed with parity of dynamic address."] #[inline(always)] - #[must_use] pub fn reg_dat_dev4_dynamic_addr( &mut self, ) -> REG_DAT_DEV4_DYNAMIC_ADDR_W { @@ -76,7 +74,6 @@ impl W { } #[doc = "Bits 29:30 - This field is used to set the Device NACK Retry count for the particular device. If the Device NACK's for the device address, the controller automatically retries the same device until this count expires. If the Slave does not ACK for the mentioned number of retries, then controller generates an error response and move to the Halt state."] #[inline(always)] - #[must_use] pub fn reg_dat_dev4_nack_retry_cnt( &mut self, ) -> REG_DAT_DEV4_NACK_RETRY_CNT_W { @@ -84,7 +81,6 @@ impl W { } #[doc = "Bit 31 - Legacy I2C device or not. This bit should be set to 1 if the device is a legacy I2C device."] #[inline(always)] - #[must_use] pub fn reg_dat_dev4_i2c(&mut self) -> REG_DAT_DEV4_I2C_W { REG_DAT_DEV4_I2C_W::new(self, 31) } diff --git a/esp32p4/src/i3c_mst_mem/dev_addr_table5_loc.rs b/esp32p4/src/i3c_mst_mem/dev_addr_table5_loc.rs index 2f77bd5d27..b82ea298e2 100644 --- a/esp32p4/src/i3c_mst_mem/dev_addr_table5_loc.rs +++ b/esp32p4/src/i3c_mst_mem/dev_addr_table5_loc.rs @@ -60,7 +60,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - NA"] #[inline(always)] - #[must_use] pub fn reg_dat_dev5_static_addr( &mut self, ) -> REG_DAT_DEV5_STATIC_ADDR_W { @@ -68,7 +67,6 @@ impl W { } #[doc = "Bits 16:23 - Device Dynamic Address with parity, The MSB,bit\\[23\\], should be programmed with parity of dynamic address."] #[inline(always)] - #[must_use] pub fn reg_dat_dev5_dynamic_addr( &mut self, ) -> REG_DAT_DEV5_DYNAMIC_ADDR_W { @@ -76,7 +74,6 @@ impl W { } #[doc = "Bits 29:30 - This field is used to set the Device NACK Retry count for the particular device. If the Device NACK's for the device address, the controller automatically retries the same device until this count expires. If the Slave does not ACK for the mentioned number of retries, then controller generates an error response and move to the Halt state."] #[inline(always)] - #[must_use] pub fn reg_dat_dev5_nack_retry_cnt( &mut self, ) -> REG_DAT_DEV5_NACK_RETRY_CNT_W { @@ -84,7 +81,6 @@ impl W { } #[doc = "Bit 31 - Legacy I2C device or not. This bit should be set to 1 if the device is a legacy I2C device."] #[inline(always)] - #[must_use] pub fn reg_dat_dev5_i2c(&mut self) -> REG_DAT_DEV5_I2C_W { REG_DAT_DEV5_I2C_W::new(self, 31) } diff --git a/esp32p4/src/i3c_mst_mem/dev_addr_table6_loc.rs b/esp32p4/src/i3c_mst_mem/dev_addr_table6_loc.rs index f50aea4e77..6cc469ee86 100644 --- a/esp32p4/src/i3c_mst_mem/dev_addr_table6_loc.rs +++ b/esp32p4/src/i3c_mst_mem/dev_addr_table6_loc.rs @@ -60,7 +60,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - NA"] #[inline(always)] - #[must_use] pub fn reg_dat_dev6_static_addr( &mut self, ) -> REG_DAT_DEV6_STATIC_ADDR_W { @@ -68,7 +67,6 @@ impl W { } #[doc = "Bits 16:23 - Device Dynamic Address with parity, The MSB,bit\\[23\\], should be programmed with parity of dynamic address."] #[inline(always)] - #[must_use] pub fn reg_dat_dev6_dynamic_addr( &mut self, ) -> REG_DAT_DEV6_DYNAMIC_ADDR_W { @@ -76,7 +74,6 @@ impl W { } #[doc = "Bits 29:30 - This field is used to set the Device NACK Retry count for the particular device. If the Device NACK's for the device address, the controller automatically retries the same device until this count expires. If the Slave does not ACK for the mentioned number of retries, then controller generates an error response and move to the Halt state."] #[inline(always)] - #[must_use] pub fn reg_dat_dev6_nack_retry_cnt( &mut self, ) -> REG_DAT_DEV6_NACK_RETRY_CNT_W { @@ -84,7 +81,6 @@ impl W { } #[doc = "Bit 31 - Legacy I2C device or not. This bit should be set to 1 if the device is a legacy I2C device."] #[inline(always)] - #[must_use] pub fn reg_dat_dev6_i2c(&mut self) -> REG_DAT_DEV6_I2C_W { REG_DAT_DEV6_I2C_W::new(self, 31) } diff --git a/esp32p4/src/i3c_mst_mem/dev_addr_table7_loc.rs b/esp32p4/src/i3c_mst_mem/dev_addr_table7_loc.rs index 27cb124adb..113b99c811 100644 --- a/esp32p4/src/i3c_mst_mem/dev_addr_table7_loc.rs +++ b/esp32p4/src/i3c_mst_mem/dev_addr_table7_loc.rs @@ -60,7 +60,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - NA"] #[inline(always)] - #[must_use] pub fn reg_dat_dev7_static_addr( &mut self, ) -> REG_DAT_DEV7_STATIC_ADDR_W { @@ -68,7 +67,6 @@ impl W { } #[doc = "Bits 16:23 - Device Dynamic Address with parity, The MSB,bit\\[23\\], should be programmed with parity of dynamic address."] #[inline(always)] - #[must_use] pub fn reg_dat_dev7_dynamic_addr( &mut self, ) -> REG_DAT_DEV7_DYNAMIC_ADDR_W { @@ -76,7 +74,6 @@ impl W { } #[doc = "Bits 29:30 - This field is used to set the Device NACK Retry count for the particular device. If the Device NACK's for the device address, the controller automatically retries the same device until this count expires. If the Slave does not ACK for the mentioned number of retries, then controller generates an error response and move to the Halt state."] #[inline(always)] - #[must_use] pub fn reg_dat_dev7_nack_retry_cnt( &mut self, ) -> REG_DAT_DEV7_NACK_RETRY_CNT_W { @@ -84,7 +81,6 @@ impl W { } #[doc = "Bit 31 - Legacy I2C device or not. This bit should be set to 1 if the device is a legacy I2C device."] #[inline(always)] - #[must_use] pub fn reg_dat_dev7_i2c(&mut self) -> REG_DAT_DEV7_I2C_W { REG_DAT_DEV7_I2C_W::new(self, 31) } diff --git a/esp32p4/src/i3c_mst_mem/dev_addr_table8_loc.rs b/esp32p4/src/i3c_mst_mem/dev_addr_table8_loc.rs index d8c95c03ee..55b2c9dfe0 100644 --- a/esp32p4/src/i3c_mst_mem/dev_addr_table8_loc.rs +++ b/esp32p4/src/i3c_mst_mem/dev_addr_table8_loc.rs @@ -60,7 +60,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - NA"] #[inline(always)] - #[must_use] pub fn reg_dat_dev8_static_addr( &mut self, ) -> REG_DAT_DEV8_STATIC_ADDR_W { @@ -68,7 +67,6 @@ impl W { } #[doc = "Bits 16:23 - Device Dynamic Address with parity, The MSB,bit\\[23\\], should be programmed with parity of dynamic address."] #[inline(always)] - #[must_use] pub fn reg_dat_dev8_dynamic_addr( &mut self, ) -> REG_DAT_DEV8_DYNAMIC_ADDR_W { @@ -76,7 +74,6 @@ impl W { } #[doc = "Bits 29:30 - This field is used to set the Device NACK Retry count for the particular device. If the Device NACK's for the device address, the controller automatically retries the same device until this count expires. If the Slave does not ACK for the mentioned number of retries, then controller generates an error response and move to the Halt state."] #[inline(always)] - #[must_use] pub fn reg_dat_dev8_nack_retry_cnt( &mut self, ) -> REG_DAT_DEV8_NACK_RETRY_CNT_W { @@ -84,7 +81,6 @@ impl W { } #[doc = "Bit 31 - Legacy I2C device or not. This bit should be set to 1 if the device is a legacy I2C device."] #[inline(always)] - #[must_use] pub fn reg_dat_dev8_i2c(&mut self) -> REG_DAT_DEV8_I2C_W { REG_DAT_DEV8_I2C_W::new(self, 31) } diff --git a/esp32p4/src/i3c_mst_mem/dev_addr_table9_loc.rs b/esp32p4/src/i3c_mst_mem/dev_addr_table9_loc.rs index b431335cc4..6c49b44efe 100644 --- a/esp32p4/src/i3c_mst_mem/dev_addr_table9_loc.rs +++ b/esp32p4/src/i3c_mst_mem/dev_addr_table9_loc.rs @@ -60,7 +60,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - NA"] #[inline(always)] - #[must_use] pub fn reg_dat_dev9_static_addr( &mut self, ) -> REG_DAT_DEV9_STATIC_ADDR_W { @@ -68,7 +67,6 @@ impl W { } #[doc = "Bits 16:23 - Device Dynamic Address with parity, The MSB,bit\\[23\\], should be programmed with parity of dynamic address."] #[inline(always)] - #[must_use] pub fn reg_dat_dev9_dynamic_addr( &mut self, ) -> REG_DAT_DEV9_DYNAMIC_ADDR_W { @@ -76,7 +74,6 @@ impl W { } #[doc = "Bits 29:30 - This field is used to set the Device NACK Retry count for the particular device. If the Device NACK's for the device address, the controller automatically retries the same device until this count expires. If the Slave does not ACK for the mentioned number of retries, then controller generates an error response and move to the Halt state."] #[inline(always)] - #[must_use] pub fn reg_dat_dev9_nack_retry_cnt( &mut self, ) -> REG_DAT_DEV9_NACK_RETRY_CNT_W { @@ -84,7 +81,6 @@ impl W { } #[doc = "Bit 31 - Legacy I2C device or not. This bit should be set to 1 if the device is a legacy I2C device."] #[inline(always)] - #[must_use] pub fn reg_dat_dev9_i2c(&mut self) -> REG_DAT_DEV9_I2C_W { REG_DAT_DEV9_I2C_W::new(self, 31) } diff --git a/esp32p4/src/i3c_mst_mem/tx_data_port.rs b/esp32p4/src/i3c_mst_mem/tx_data_port.rs index 35518f7f25..9583d5d1e4 100644 --- a/esp32p4/src/i3c_mst_mem/tx_data_port.rs +++ b/esp32p4/src/i3c_mst_mem/tx_data_port.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Transmit Data Port. Transmit data is mapped to the Tx-data buffer and transmit data is always packed in 4-byte aligned data words. If the length of data transfer is not aligned to 4-bytes boundary, then there will be extra(unused) bytes(the additional data bytes have to be ignored) at the end of the transferred data. The valid data must be identified using the DATA_LENGTH filed in the Response Descriptor."] #[inline(always)] - #[must_use] pub fn reg_tx_data_port(&mut self) -> REG_TX_DATA_PORT_W { REG_TX_DATA_PORT_W::new(self, 0) } diff --git a/esp32p4/src/i3c_slv/config.rs b/esp32p4/src/i3c_slv/config.rs index b542fe705f..ff593d7d31 100644 --- a/esp32p4/src/i3c_slv/config.rs +++ b/esp32p4/src/i3c_slv/config.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: allow the slave to operate on i2c or i3c bus. 0: the slave will ignore the bus. This should be not set until registers such as PARTNO, IDEXT and the like are set 1st -if used- since they impact data to the master"] #[inline(always)] - #[must_use] pub fn slvena(&mut self) -> SLVENA_W { SLVENA_W::new(self, 0) } #[doc = "Bit 1 - 1:the slave will NACK all requests to it except CCC broadcast. This should be used with caution as the Master may determine the slave is missing if overused."] #[inline(always)] - #[must_use] pub fn nack(&mut self) -> NACK_W { NACK_W::new(self, 1) } #[doc = "Bit 2 - 1: the START and STOP sticky STATUS bits will only be set if MATCHED is set..This allows START and STOP to be used to detect end of a message to /from this slave."] #[inline(always)] - #[must_use] pub fn matchss(&mut self) -> MATCHSS_W { MATCHSS_W::new(self, 2) } #[doc = "Bit 3 - If 1, the Slave will not detect S0 or S1 errors and so not lock up waiting on an Exit Pattern. This should only be used when the bus will not use HDR."] #[inline(always)] - #[must_use] pub fn s0ignore(&mut self) -> S0IGNORE_W { S0IGNORE_W::new(self, 3) } #[doc = "Bit 4 - NA"] #[inline(always)] - #[must_use] pub fn ddrok(&mut self) -> DDROK_W { DDROK_W::new(self, 4) } #[doc = "Bit 8 - NA"] #[inline(always)] - #[must_use] pub fn idrand(&mut self) -> IDRAND_W { IDRAND_W::new(self, 8) } #[doc = "Bit 9 - NA"] #[inline(always)] - #[must_use] pub fn offline(&mut self) -> OFFLINE_W { OFFLINE_W::new(self, 9) } #[doc = "Bits 16:23 - Bus Available condition match value for current ???Slow clock???. This provides the count of the slow clock to count out 1us (or more) to allow an IBI to drive SDA Low when the Master is not doing so. The max width , and so max value, is controlled by the block. Only if enabled for events such IBI or MR or HJ, and if enabled to provide this as a register. With is limited to CLK_SLOW_BITS"] #[inline(always)] - #[must_use] pub fn bamatch(&mut self) -> BAMATCH_W { BAMATCH_W::new(self, 16) } #[doc = "Bits 25:31 - If allowed by the block:sets i2c 7 bits static address,else should be 0. If enabled to use one and to be provided by SW. Block may provide in HW as well."] #[inline(always)] - #[must_use] pub fn saddr(&mut self) -> SADDR_W { SADDR_W::new(self, 25) } diff --git a/esp32p4/src/i3c_slv/ctrl.rs b/esp32p4/src/i3c_slv/ctrl.rs index 51a8cbc725..d0a9fba126 100644 --- a/esp32p4/src/i3c_slv/ctrl.rs +++ b/esp32p4/src/i3c_slv/ctrl.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - If set to non-0, will request an event. Once requested, STATUS.EVENT and EVDET will show the status as it progresses. Once completed, the field will automatically return to 0. Once non-0, only 0 can be written(to cancel) until done. 0: Normal mode. If set to 0 after was a non-0 value, will cancel if not already in flight. 1: start an IBI. This will try to push through an IBI on the bus. If data associate with the IBI, it will be drawn from the IBIDATA field. Note that if Time control is enabled, this will include anytime control related bytes further, the IBIDATA byte will have bit7 set to 1."] #[inline(always)] - #[must_use] pub fn slv_event(&mut self) -> SLV_EVENT_W { SLV_EVENT_W::new(self, 0) } #[doc = "Bit 3 - reserved"] #[inline(always)] - #[must_use] pub fn extdata(&mut self) -> EXTDATA_W { EXTDATA_W::new(self, 3) } #[doc = "Bits 4:7 - Index of Dynamic Address that IBI is for. This is 0 for the main or base Dynamic Address, or can be any valid index."] #[inline(always)] - #[must_use] pub fn mapidx(&mut self) -> MAPIDX_W { MAPIDX_W::new(self, 4) } #[doc = "Bits 8:15 - Data byte to go with an IBI, if enabled for it. If enabled (was in BCR), then it is required."] #[inline(always)] - #[must_use] pub fn ibidata(&mut self) -> IBIDATA_W { IBIDATA_W::new(self, 8) } #[doc = "Bits 16:19 - Should be set to the pending interrupt that GETSTATUS CCC will return. This should be maintained by the application if used and configured, as the Master will read this. If not configured, the GETSTATUS field will return 1 if an IBI is pending, and 0 otherwise."] #[inline(always)] - #[must_use] pub fn pendint(&mut self) -> PENDINT_W { PENDINT_W::new(self, 16) } #[doc = "Bits 20:21 - NA"] #[inline(always)] - #[must_use] pub fn actstate(&mut self) -> ACTSTATE_W { ACTSTATE_W::new(self, 20) } #[doc = "Bits 24:31 - NA"] #[inline(always)] - #[must_use] pub fn vendinfo(&mut self) -> VENDINFO_W { VENDINFO_W::new(self, 24) } diff --git a/esp32p4/src/i3c_slv/datactrl.rs b/esp32p4/src/i3c_slv/datactrl.rs index 7657d70e99..0916c4bfa6 100644 --- a/esp32p4/src/i3c_slv/datactrl.rs +++ b/esp32p4/src/i3c_slv/datactrl.rs @@ -72,31 +72,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Flushes the from-bus buffer/FIFO. Not normally used"] #[inline(always)] - #[must_use] pub fn flushtb(&mut self) -> FLUSHTB_W { FLUSHTB_W::new(self, 0) } #[doc = "Bit 1 - Flushes the to-bus buffer/FIFO. Used when Master terminates a to-bus (read) message prematurely"] #[inline(always)] - #[must_use] pub fn flushfb(&mut self) -> FLUSHFB_W { FLUSHFB_W::new(self, 1) } #[doc = "Bit 3 - If this bit is not written 1, the register bits from 7 to 4 are not changed on write."] #[inline(always)] - #[must_use] pub fn unlock(&mut self) -> UNLOCK_W { UNLOCK_W::new(self, 3) } #[doc = "Bits 4:5 - Trigger level for tx emptiness when FIFOed, Affects interrupt and DMA(if enabled). The defaults is 3"] #[inline(always)] - #[must_use] pub fn txtrig(&mut self) -> TXTRIG_W { TXTRIG_W::new(self, 4) } #[doc = "Bits 6:7 - Trigger level for rx fulless when FIFOed, Affects interrupt and DMA(if enabled). The defaults is 3"] #[inline(always)] - #[must_use] pub fn rxtrig(&mut self) -> RXTRIG_W { RXTRIG_W::new(self, 6) } diff --git a/esp32p4/src/i3c_slv/idext.rs b/esp32p4/src/i3c_slv/idext.rs index dd45f0182b..fedb5a24d5 100644 --- a/esp32p4/src/i3c_slv/idext.rs +++ b/esp32p4/src/i3c_slv/idext.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - NA"] #[inline(always)] - #[must_use] pub fn idext(&mut self) -> IDEXT_W { IDEXT_W::new(self, 0) } diff --git a/esp32p4/src/i3c_slv/idpartno.rs b/esp32p4/src/i3c_slv/idpartno.rs index 9d3c72e2dd..4b01f13c7a 100644 --- a/esp32p4/src/i3c_slv/idpartno.rs +++ b/esp32p4/src/i3c_slv/idpartno.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - NA"] #[inline(always)] - #[must_use] pub fn partno(&mut self) -> PARTNO_W { PARTNO_W::new(self, 0) } diff --git a/esp32p4/src/i3c_slv/intclr.rs b/esp32p4/src/i3c_slv/intclr.rs index c93c2928ae..6026c2c4d0 100644 --- a/esp32p4/src/i3c_slv/intclr.rs +++ b/esp32p4/src/i3c_slv/intclr.rs @@ -15,19 +15,16 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 10 - Interrupt on STOP state on the bus. See Start as the preferred interrupt when needed. This interrupt may not trigger for quick STOP/START combination, as it relates to the state of being stopped."] #[inline(always)] - #[must_use] pub fn stop_clr(&mut self) -> STOP_CLR_W { STOP_CLR_W::new(self, 10) } #[doc = "Bit 11 - Interrupt when receiving a message from Master, which is not being handled by the block (excludes CCCs being handled automatically). If FIFO, then RX fullness trigger. If DMA, then message end."] #[inline(always)] - #[must_use] pub fn rxpend_clr(&mut self) -> RXPEND_CLR_W { RXPEND_CLR_W::new(self, 11) } #[doc = "Bit 12 - NA"] #[inline(always)] - #[must_use] pub fn txsend_clr(&mut self) -> TXSEND_CLR_W { TXSEND_CLR_W::new(self, 12) } diff --git a/esp32p4/src/i3c_slv/intset.rs b/esp32p4/src/i3c_slv/intset.rs index 78052a138d..084d888222 100644 --- a/esp32p4/src/i3c_slv/intset.rs +++ b/esp32p4/src/i3c_slv/intset.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 10 - Interrupt on STOP state on the bus. See Start as the preferred interrupt when needed. This interrupt may not trigger for quick STOP/START combination, as it relates to the state of being stopped."] #[inline(always)] - #[must_use] pub fn stop_ena(&mut self) -> STOP_ENA_W { STOP_ENA_W::new(self, 10) } #[doc = "Bit 11 - Interrupt when receiving a message from Master, which is not being handled by the block (excludes CCCs being handled automatically). If FIFO, then RX fullness trigger. If DMA, then message end."] #[inline(always)] - #[must_use] pub fn rxpend_ena(&mut self) -> RXPEND_ENA_W { RXPEND_ENA_W::new(self, 11) } #[doc = "Bit 12 - NA"] #[inline(always)] - #[must_use] pub fn txsend_ena(&mut self) -> TXSEND_ENA_W { TXSEND_ENA_W::new(self, 12) } diff --git a/esp32p4/src/i3c_slv/status.rs b/esp32p4/src/i3c_slv/status.rs index 0fc88f165e..cf5badee31 100644 --- a/esp32p4/src/i3c_slv/status.rs +++ b/esp32p4/src/i3c_slv/status.rs @@ -154,37 +154,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 8 - NA"] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 8) } #[doc = "Bit 9 - NA"] #[inline(always)] - #[must_use] pub fn matched(&mut self) -> MATCHED_W { MATCHED_W::new(self, 9) } #[doc = "Bit 10 - NA"] #[inline(always)] - #[must_use] pub fn stop(&mut self) -> STOP_W { STOP_W::new(self, 10) } #[doc = "Bit 13 - The Slv Dynamic Address has been assigned, reassigned, or reset(lost) and is now in that state of being valid or none. Actual DA can be seen in the DYNADDR register. Note that this will also be used when MAP Auto feature is configured. This will be changing one or more MAP items. See DYNADDR and/or MAPCTRLn. DYNAADDR for the main DA(0) will indicate if last change was due to Auto MAP."] #[inline(always)] - #[must_use] pub fn dachg(&mut self) -> DACHG_W { DACHG_W::new(self, 13) } #[doc = "Bit 14 - A common -command-code(CCC), not handled by block, has been received. This acts differently between: *Broadcasted ones, which will then also correspond with RXPEND and the 1st byte will be the CCC(command) . *Direct ones, which may never be directed to this device. If it is, then the TXSEND or RXPEND will be triggered with this end the RXPEND will contain the command."] #[inline(always)] - #[must_use] pub fn ccc(&mut self) -> CCC_W { CCC_W::new(self, 14) } #[doc = "Bit 16 - NA"] #[inline(always)] - #[must_use] pub fn hdrmatch(&mut self) -> HDRMATCH_W { HDRMATCH_W::new(self, 16) } diff --git a/esp32p4/src/i3c_slv/vendorid.rs b/esp32p4/src/i3c_slv/vendorid.rs index e64388ff22..c28b5f2aa0 100644 --- a/esp32p4/src/i3c_slv/vendorid.rs +++ b/esp32p4/src/i3c_slv/vendorid.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:14 - NA"] #[inline(always)] - #[must_use] pub fn vid(&mut self) -> VID_W { VID_W::new(self, 0) } diff --git a/esp32p4/src/i3c_slv/wdatab.rs b/esp32p4/src/i3c_slv/wdatab.rs index b533a3a2d5..90299e6ff9 100644 --- a/esp32p4/src/i3c_slv/wdatab.rs +++ b/esp32p4/src/i3c_slv/wdatab.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:7 - NA"] #[inline(always)] - #[must_use] pub fn wdatab(&mut self) -> WDATAB_W { WDATAB_W::new(self, 0) } #[doc = "Bit 8 - NA"] #[inline(always)] - #[must_use] pub fn wdata_end(&mut self) -> WDATA_END_W { WDATA_END_W::new(self, 8) } diff --git a/esp32p4/src/i3c_slv/wdatabe.rs b/esp32p4/src/i3c_slv/wdatabe.rs index 00826d1b8d..d98c227842 100644 --- a/esp32p4/src/i3c_slv/wdatabe.rs +++ b/esp32p4/src/i3c_slv/wdatabe.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:7 - NA"] #[inline(always)] - #[must_use] pub fn wdatabe(&mut self) -> WDATABE_W { WDATABE_W::new(self, 0) } diff --git a/esp32p4/src/interrupt.rs b/esp32p4/src/interrupt.rs index 664307bc45..9a3c47d4da 100644 --- a/esp32p4/src/interrupt.rs +++ b/esp32p4/src/interrupt.rs @@ -203,6 +203,7 @@ pub enum Interrupt { ASSIST_DEBUG = 127, } #[doc = r" TryFromInterruptError"] +#[cfg_attr(feature = "defmt", derive(defmt::Format))] #[derive(Debug, Copy, Clone)] pub struct TryFromInterruptError(()); impl Interrupt { diff --git a/esp32p4/src/interrupt_core0/adc_int_map.rs b/esp32p4/src/interrupt_core0/adc_int_map.rs index 0d8122042f..a0f45c654f 100644 --- a/esp32p4/src/interrupt_core0/adc_int_map.rs +++ b/esp32p4/src/interrupt_core0/adc_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_adc_int_map(&mut self) -> CORE0_ADC_INT_MAP_W { CORE0_ADC_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/aes_int_map.rs b/esp32p4/src/interrupt_core0/aes_int_map.rs index 2618b8eabe..29f07334df 100644 --- a/esp32p4/src/interrupt_core0/aes_int_map.rs +++ b/esp32p4/src/interrupt_core0/aes_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_aes_int_map(&mut self) -> CORE0_AES_INT_MAP_W { CORE0_AES_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/ahb_pdma_in_ch0_int_map.rs b/esp32p4/src/interrupt_core0/ahb_pdma_in_ch0_int_map.rs index 7f2fd5b7a7..9f90c1f923 100644 --- a/esp32p4/src/interrupt_core0/ahb_pdma_in_ch0_int_map.rs +++ b/esp32p4/src/interrupt_core0/ahb_pdma_in_ch0_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_ahb_pdma_in_ch0_int_map( &mut self, ) -> CORE0_AHB_PDMA_IN_CH0_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/ahb_pdma_in_ch1_int_map.rs b/esp32p4/src/interrupt_core0/ahb_pdma_in_ch1_int_map.rs index 0ad7e6417f..8e902a04aa 100644 --- a/esp32p4/src/interrupt_core0/ahb_pdma_in_ch1_int_map.rs +++ b/esp32p4/src/interrupt_core0/ahb_pdma_in_ch1_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_ahb_pdma_in_ch1_int_map( &mut self, ) -> CORE0_AHB_PDMA_IN_CH1_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/ahb_pdma_in_ch2_int_map.rs b/esp32p4/src/interrupt_core0/ahb_pdma_in_ch2_int_map.rs index 5a2a4eefda..6fdc272eac 100644 --- a/esp32p4/src/interrupt_core0/ahb_pdma_in_ch2_int_map.rs +++ b/esp32p4/src/interrupt_core0/ahb_pdma_in_ch2_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_ahb_pdma_in_ch2_int_map( &mut self, ) -> CORE0_AHB_PDMA_IN_CH2_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/ahb_pdma_out_ch0_int_map.rs b/esp32p4/src/interrupt_core0/ahb_pdma_out_ch0_int_map.rs index 4fa57a12c8..eeade02b32 100644 --- a/esp32p4/src/interrupt_core0/ahb_pdma_out_ch0_int_map.rs +++ b/esp32p4/src/interrupt_core0/ahb_pdma_out_ch0_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_ahb_pdma_out_ch0_int_map( &mut self, ) -> CORE0_AHB_PDMA_OUT_CH0_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/ahb_pdma_out_ch1_int_map.rs b/esp32p4/src/interrupt_core0/ahb_pdma_out_ch1_int_map.rs index 1f866cc36f..a22c51de88 100644 --- a/esp32p4/src/interrupt_core0/ahb_pdma_out_ch1_int_map.rs +++ b/esp32p4/src/interrupt_core0/ahb_pdma_out_ch1_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_ahb_pdma_out_ch1_int_map( &mut self, ) -> CORE0_AHB_PDMA_OUT_CH1_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/ahb_pdma_out_ch2_int_map.rs b/esp32p4/src/interrupt_core0/ahb_pdma_out_ch2_int_map.rs index e005eb5b72..aba34f78fa 100644 --- a/esp32p4/src/interrupt_core0/ahb_pdma_out_ch2_int_map.rs +++ b/esp32p4/src/interrupt_core0/ahb_pdma_out_ch2_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_ahb_pdma_out_ch2_int_map( &mut self, ) -> CORE0_AHB_PDMA_OUT_CH2_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/assist_debug_int_map.rs b/esp32p4/src/interrupt_core0/assist_debug_int_map.rs index 1ee4cf5bf3..21ade2b4f9 100644 --- a/esp32p4/src/interrupt_core0/assist_debug_int_map.rs +++ b/esp32p4/src/interrupt_core0/assist_debug_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_assist_debug_int_map( &mut self, ) -> CORE0_ASSIST_DEBUG_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/axi_pdma_in_ch0_int_map.rs b/esp32p4/src/interrupt_core0/axi_pdma_in_ch0_int_map.rs index b1948a623b..792924b7d3 100644 --- a/esp32p4/src/interrupt_core0/axi_pdma_in_ch0_int_map.rs +++ b/esp32p4/src/interrupt_core0/axi_pdma_in_ch0_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_axi_pdma_in_ch0_int_map( &mut self, ) -> CORE0_AXI_PDMA_IN_CH0_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/axi_pdma_in_ch1_int_map.rs b/esp32p4/src/interrupt_core0/axi_pdma_in_ch1_int_map.rs index d75e86403c..2c01273a11 100644 --- a/esp32p4/src/interrupt_core0/axi_pdma_in_ch1_int_map.rs +++ b/esp32p4/src/interrupt_core0/axi_pdma_in_ch1_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_axi_pdma_in_ch1_int_map( &mut self, ) -> CORE0_AXI_PDMA_IN_CH1_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/axi_pdma_in_ch2_int_map.rs b/esp32p4/src/interrupt_core0/axi_pdma_in_ch2_int_map.rs index 4f6886762e..57d5d4ec0c 100644 --- a/esp32p4/src/interrupt_core0/axi_pdma_in_ch2_int_map.rs +++ b/esp32p4/src/interrupt_core0/axi_pdma_in_ch2_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_axi_pdma_in_ch2_int_map( &mut self, ) -> CORE0_AXI_PDMA_IN_CH2_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/axi_pdma_out_ch0_int_map.rs b/esp32p4/src/interrupt_core0/axi_pdma_out_ch0_int_map.rs index 9d3153b564..89b9a42c2a 100644 --- a/esp32p4/src/interrupt_core0/axi_pdma_out_ch0_int_map.rs +++ b/esp32p4/src/interrupt_core0/axi_pdma_out_ch0_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_axi_pdma_out_ch0_int_map( &mut self, ) -> CORE0_AXI_PDMA_OUT_CH0_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/axi_pdma_out_ch1_int_map.rs b/esp32p4/src/interrupt_core0/axi_pdma_out_ch1_int_map.rs index 8bb857858b..498e92957b 100644 --- a/esp32p4/src/interrupt_core0/axi_pdma_out_ch1_int_map.rs +++ b/esp32p4/src/interrupt_core0/axi_pdma_out_ch1_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_axi_pdma_out_ch1_int_map( &mut self, ) -> CORE0_AXI_PDMA_OUT_CH1_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/axi_pdma_out_ch2_int_map.rs b/esp32p4/src/interrupt_core0/axi_pdma_out_ch2_int_map.rs index 37aeec2a80..43744f0710 100644 --- a/esp32p4/src/interrupt_core0/axi_pdma_out_ch2_int_map.rs +++ b/esp32p4/src/interrupt_core0/axi_pdma_out_ch2_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_axi_pdma_out_ch2_int_map( &mut self, ) -> CORE0_AXI_PDMA_OUT_CH2_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/cache_int_map.rs b/esp32p4/src/interrupt_core0/cache_int_map.rs index 831ae12e08..9150a29534 100644 --- a/esp32p4/src/interrupt_core0/cache_int_map.rs +++ b/esp32p4/src/interrupt_core0/cache_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_cache_int_map(&mut self) -> CORE0_CACHE_INT_MAP_W { CORE0_CACHE_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/can0_int_map.rs b/esp32p4/src/interrupt_core0/can0_int_map.rs index 1df287be1f..8ef36ec6e2 100644 --- a/esp32p4/src/interrupt_core0/can0_int_map.rs +++ b/esp32p4/src/interrupt_core0/can0_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_can0_int_map(&mut self) -> CORE0_CAN0_INT_MAP_W { CORE0_CAN0_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/can1_int_map.rs b/esp32p4/src/interrupt_core0/can1_int_map.rs index 75b8b2f6ed..0480daa1ba 100644 --- a/esp32p4/src/interrupt_core0/can1_int_map.rs +++ b/esp32p4/src/interrupt_core0/can1_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_can1_int_map(&mut self) -> CORE0_CAN1_INT_MAP_W { CORE0_CAN1_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/can2_int_map.rs b/esp32p4/src/interrupt_core0/can2_int_map.rs index 241cac1d06..535f7912c3 100644 --- a/esp32p4/src/interrupt_core0/can2_int_map.rs +++ b/esp32p4/src/interrupt_core0/can2_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_can2_int_map(&mut self) -> CORE0_CAN2_INT_MAP_W { CORE0_CAN2_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/clock_gate.rs b/esp32p4/src/interrupt_core0/clock_gate.rs index 8e33f2d0a5..1461abb069 100644 --- a/esp32p4/src/interrupt_core0/clock_gate.rs +++ b/esp32p4/src/interrupt_core0/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn core0_reg_clk_en(&mut self) -> CORE0_REG_CLK_EN_W { CORE0_REG_CLK_EN_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/core0_trace_int_map.rs b/esp32p4/src/interrupt_core0/core0_trace_int_map.rs index 2bed95ae8c..6d61231ef0 100644 --- a/esp32p4/src/interrupt_core0/core0_trace_int_map.rs +++ b/esp32p4/src/interrupt_core0/core0_trace_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_core0_trace_int_map( &mut self, ) -> CORE0_CORE0_TRACE_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/core1_trace_int_map.rs b/esp32p4/src/interrupt_core0/core1_trace_int_map.rs index 4badcb2dbb..0088580442 100644 --- a/esp32p4/src/interrupt_core0/core1_trace_int_map.rs +++ b/esp32p4/src/interrupt_core0/core1_trace_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_core1_trace_int_map( &mut self, ) -> CORE0_CORE1_TRACE_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/cpu_int_from_cpu_0_map.rs b/esp32p4/src/interrupt_core0/cpu_int_from_cpu_0_map.rs index 90c34b50e9..8320fd2e0e 100644 --- a/esp32p4/src/interrupt_core0/cpu_int_from_cpu_0_map.rs +++ b/esp32p4/src/interrupt_core0/cpu_int_from_cpu_0_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_cpu_int_from_cpu_0_map( &mut self, ) -> CORE0_CPU_INT_FROM_CPU_0_MAP_W { diff --git a/esp32p4/src/interrupt_core0/cpu_int_from_cpu_1_map.rs b/esp32p4/src/interrupt_core0/cpu_int_from_cpu_1_map.rs index 59dd27a040..32e21423de 100644 --- a/esp32p4/src/interrupt_core0/cpu_int_from_cpu_1_map.rs +++ b/esp32p4/src/interrupt_core0/cpu_int_from_cpu_1_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_cpu_int_from_cpu_1_map( &mut self, ) -> CORE0_CPU_INT_FROM_CPU_1_MAP_W { diff --git a/esp32p4/src/interrupt_core0/cpu_int_from_cpu_2_map.rs b/esp32p4/src/interrupt_core0/cpu_int_from_cpu_2_map.rs index ce357efb8d..6878be795f 100644 --- a/esp32p4/src/interrupt_core0/cpu_int_from_cpu_2_map.rs +++ b/esp32p4/src/interrupt_core0/cpu_int_from_cpu_2_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_cpu_int_from_cpu_2_map( &mut self, ) -> CORE0_CPU_INT_FROM_CPU_2_MAP_W { diff --git a/esp32p4/src/interrupt_core0/cpu_int_from_cpu_3_map.rs b/esp32p4/src/interrupt_core0/cpu_int_from_cpu_3_map.rs index 8c976bc0a7..cf7b134488 100644 --- a/esp32p4/src/interrupt_core0/cpu_int_from_cpu_3_map.rs +++ b/esp32p4/src/interrupt_core0/cpu_int_from_cpu_3_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_cpu_int_from_cpu_3_map( &mut self, ) -> CORE0_CPU_INT_FROM_CPU_3_MAP_W { diff --git a/esp32p4/src/interrupt_core0/csi_bridge_int_map.rs b/esp32p4/src/interrupt_core0/csi_bridge_int_map.rs index bf78f11099..1bb3bdf9b2 100644 --- a/esp32p4/src/interrupt_core0/csi_bridge_int_map.rs +++ b/esp32p4/src/interrupt_core0/csi_bridge_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_csi_bridge_int_map( &mut self, ) -> CORE0_CSI_BRIDGE_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/csi_int_map.rs b/esp32p4/src/interrupt_core0/csi_int_map.rs index f081caf663..e14db2d9da 100644 --- a/esp32p4/src/interrupt_core0/csi_int_map.rs +++ b/esp32p4/src/interrupt_core0/csi_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_csi_int_map(&mut self) -> CORE0_CSI_INT_MAP_W { CORE0_CSI_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/dma2d_in_ch0_int_map.rs b/esp32p4/src/interrupt_core0/dma2d_in_ch0_int_map.rs index a9880dc6fb..062d99db77 100644 --- a/esp32p4/src/interrupt_core0/dma2d_in_ch0_int_map.rs +++ b/esp32p4/src/interrupt_core0/dma2d_in_ch0_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_dma2d_in_ch0_int_map( &mut self, ) -> CORE0_DMA2D_IN_CH0_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/dma2d_in_ch1_int_map.rs b/esp32p4/src/interrupt_core0/dma2d_in_ch1_int_map.rs index 5261c0fd75..c9f0ac178c 100644 --- a/esp32p4/src/interrupt_core0/dma2d_in_ch1_int_map.rs +++ b/esp32p4/src/interrupt_core0/dma2d_in_ch1_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_dma2d_in_ch1_int_map( &mut self, ) -> CORE0_DMA2D_IN_CH1_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/dma2d_out_ch0_int_map.rs b/esp32p4/src/interrupt_core0/dma2d_out_ch0_int_map.rs index c5d051313d..65812bc885 100644 --- a/esp32p4/src/interrupt_core0/dma2d_out_ch0_int_map.rs +++ b/esp32p4/src/interrupt_core0/dma2d_out_ch0_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_dma2d_out_ch0_int_map( &mut self, ) -> CORE0_DMA2D_OUT_CH0_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/dma2d_out_ch1_int_map.rs b/esp32p4/src/interrupt_core0/dma2d_out_ch1_int_map.rs index 645a7800dd..1a57b61817 100644 --- a/esp32p4/src/interrupt_core0/dma2d_out_ch1_int_map.rs +++ b/esp32p4/src/interrupt_core0/dma2d_out_ch1_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_dma2d_out_ch1_int_map( &mut self, ) -> CORE0_DMA2D_OUT_CH1_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/dma2d_out_ch2_int_map.rs b/esp32p4/src/interrupt_core0/dma2d_out_ch2_int_map.rs index 87b95130d6..5e43fbbe11 100644 --- a/esp32p4/src/interrupt_core0/dma2d_out_ch2_int_map.rs +++ b/esp32p4/src/interrupt_core0/dma2d_out_ch2_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_dma2d_out_ch2_int_map( &mut self, ) -> CORE0_DMA2D_OUT_CH2_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/dsi_bridge_int_map.rs b/esp32p4/src/interrupt_core0/dsi_bridge_int_map.rs index 9f27ab970f..ecb36cdcac 100644 --- a/esp32p4/src/interrupt_core0/dsi_bridge_int_map.rs +++ b/esp32p4/src/interrupt_core0/dsi_bridge_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_dsi_bridge_int_map( &mut self, ) -> CORE0_DSI_BRIDGE_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/dsi_int_map.rs b/esp32p4/src/interrupt_core0/dsi_int_map.rs index 88bf60702c..777a276565 100644 --- a/esp32p4/src/interrupt_core0/dsi_int_map.rs +++ b/esp32p4/src/interrupt_core0/dsi_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_dsi_int_map(&mut self) -> CORE0_DSI_INT_MAP_W { CORE0_DSI_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/ecc_int_map.rs b/esp32p4/src/interrupt_core0/ecc_int_map.rs index 2e1b3efea0..7e85a9cbb0 100644 --- a/esp32p4/src/interrupt_core0/ecc_int_map.rs +++ b/esp32p4/src/interrupt_core0/ecc_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_ecc_int_map(&mut self) -> CORE0_ECC_INT_MAP_W { CORE0_ECC_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/ecdsa_int_map.rs b/esp32p4/src/interrupt_core0/ecdsa_int_map.rs index d85ea33ea1..be626b460e 100644 --- a/esp32p4/src/interrupt_core0/ecdsa_int_map.rs +++ b/esp32p4/src/interrupt_core0/ecdsa_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_ecdsa_int_map(&mut self) -> CORE0_ECDSA_INT_MAP_W { CORE0_ECDSA_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/flash_mspi_int_map.rs b/esp32p4/src/interrupt_core0/flash_mspi_int_map.rs index 15e81cffe0..4b46a9b7fa 100644 --- a/esp32p4/src/interrupt_core0/flash_mspi_int_map.rs +++ b/esp32p4/src/interrupt_core0/flash_mspi_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_flash_mspi_int_map( &mut self, ) -> CORE0_FLASH_MSPI_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/gdma_int_map.rs b/esp32p4/src/interrupt_core0/gdma_int_map.rs index 5131882071..03d26b20de 100644 --- a/esp32p4/src/interrupt_core0/gdma_int_map.rs +++ b/esp32p4/src/interrupt_core0/gdma_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_gdma_int_map(&mut self) -> CORE0_GDMA_INT_MAP_W { CORE0_GDMA_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/gmii_phy_int_map.rs b/esp32p4/src/interrupt_core0/gmii_phy_int_map.rs index 4e8789b9a2..6c060bcfd6 100644 --- a/esp32p4/src/interrupt_core0/gmii_phy_int_map.rs +++ b/esp32p4/src/interrupt_core0/gmii_phy_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_gmii_phy_int_map(&mut self) -> CORE0_GMII_PHY_INT_MAP_W { CORE0_GMII_PHY_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/gpio_int0_map.rs b/esp32p4/src/interrupt_core0/gpio_int0_map.rs index 8a3f7b23e9..72efd2f8ce 100644 --- a/esp32p4/src/interrupt_core0/gpio_int0_map.rs +++ b/esp32p4/src/interrupt_core0/gpio_int0_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_gpio_int0_map(&mut self) -> CORE0_GPIO_INT0_MAP_W { CORE0_GPIO_INT0_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/gpio_int1_map.rs b/esp32p4/src/interrupt_core0/gpio_int1_map.rs index 053d8744d7..430a4c8661 100644 --- a/esp32p4/src/interrupt_core0/gpio_int1_map.rs +++ b/esp32p4/src/interrupt_core0/gpio_int1_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_gpio_int1_map(&mut self) -> CORE0_GPIO_INT1_MAP_W { CORE0_GPIO_INT1_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/gpio_int2_map.rs b/esp32p4/src/interrupt_core0/gpio_int2_map.rs index c9f2573eff..bcb0139a2f 100644 --- a/esp32p4/src/interrupt_core0/gpio_int2_map.rs +++ b/esp32p4/src/interrupt_core0/gpio_int2_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_gpio_int2_map(&mut self) -> CORE0_GPIO_INT2_MAP_W { CORE0_GPIO_INT2_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/gpio_int3_map.rs b/esp32p4/src/interrupt_core0/gpio_int3_map.rs index c81c119996..7482267608 100644 --- a/esp32p4/src/interrupt_core0/gpio_int3_map.rs +++ b/esp32p4/src/interrupt_core0/gpio_int3_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_gpio_int3_map(&mut self) -> CORE0_GPIO_INT3_MAP_W { CORE0_GPIO_INT3_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/gpio_pad_comp_int_map.rs b/esp32p4/src/interrupt_core0/gpio_pad_comp_int_map.rs index c1ba4edfc0..4ef81bf607 100644 --- a/esp32p4/src/interrupt_core0/gpio_pad_comp_int_map.rs +++ b/esp32p4/src/interrupt_core0/gpio_pad_comp_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_gpio_pad_comp_int_map( &mut self, ) -> CORE0_GPIO_PAD_COMP_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/h264_dma2d_in_ch0_int_map.rs b/esp32p4/src/interrupt_core0/h264_dma2d_in_ch0_int_map.rs index 6a7aaa9981..348a061dd7 100644 --- a/esp32p4/src/interrupt_core0/h264_dma2d_in_ch0_int_map.rs +++ b/esp32p4/src/interrupt_core0/h264_dma2d_in_ch0_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_h264_dma2d_in_ch0_int_map( &mut self, ) -> CORE0_H264_DMA2D_IN_CH0_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/h264_dma2d_in_ch1_int_map.rs b/esp32p4/src/interrupt_core0/h264_dma2d_in_ch1_int_map.rs index f1c5694853..bafab1a877 100644 --- a/esp32p4/src/interrupt_core0/h264_dma2d_in_ch1_int_map.rs +++ b/esp32p4/src/interrupt_core0/h264_dma2d_in_ch1_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_h264_dma2d_in_ch1_int_map( &mut self, ) -> CORE0_H264_DMA2D_IN_CH1_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/h264_dma2d_in_ch2_int_map.rs b/esp32p4/src/interrupt_core0/h264_dma2d_in_ch2_int_map.rs index a408f58702..e3c3dd98c8 100644 --- a/esp32p4/src/interrupt_core0/h264_dma2d_in_ch2_int_map.rs +++ b/esp32p4/src/interrupt_core0/h264_dma2d_in_ch2_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_h264_dma2d_in_ch2_int_map( &mut self, ) -> CORE0_H264_DMA2D_IN_CH2_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/h264_dma2d_in_ch3_int_map.rs b/esp32p4/src/interrupt_core0/h264_dma2d_in_ch3_int_map.rs index 1025d65a14..d21ba25526 100644 --- a/esp32p4/src/interrupt_core0/h264_dma2d_in_ch3_int_map.rs +++ b/esp32p4/src/interrupt_core0/h264_dma2d_in_ch3_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_h264_dma2d_in_ch3_int_map( &mut self, ) -> CORE0_H264_DMA2D_IN_CH3_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/h264_dma2d_in_ch4_int_map.rs b/esp32p4/src/interrupt_core0/h264_dma2d_in_ch4_int_map.rs index 3a36fe6dd5..aa73aa577a 100644 --- a/esp32p4/src/interrupt_core0/h264_dma2d_in_ch4_int_map.rs +++ b/esp32p4/src/interrupt_core0/h264_dma2d_in_ch4_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_h264_dma2d_in_ch4_int_map( &mut self, ) -> CORE0_H264_DMA2D_IN_CH4_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/h264_dma2d_in_ch5_int_map.rs b/esp32p4/src/interrupt_core0/h264_dma2d_in_ch5_int_map.rs index a60d6c40d2..f361f7bbec 100644 --- a/esp32p4/src/interrupt_core0/h264_dma2d_in_ch5_int_map.rs +++ b/esp32p4/src/interrupt_core0/h264_dma2d_in_ch5_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_h264_dma2d_in_ch5_int_map( &mut self, ) -> CORE0_H264_DMA2D_IN_CH5_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/h264_dma2d_out_ch0_int_map.rs b/esp32p4/src/interrupt_core0/h264_dma2d_out_ch0_int_map.rs index c232dbdf22..375897d375 100644 --- a/esp32p4/src/interrupt_core0/h264_dma2d_out_ch0_int_map.rs +++ b/esp32p4/src/interrupt_core0/h264_dma2d_out_ch0_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_h264_dma2d_out_ch0_int_map( &mut self, ) -> CORE0_H264_DMA2D_OUT_CH0_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/h264_dma2d_out_ch1_int_map.rs b/esp32p4/src/interrupt_core0/h264_dma2d_out_ch1_int_map.rs index fba0cf39a1..ecabd86ebd 100644 --- a/esp32p4/src/interrupt_core0/h264_dma2d_out_ch1_int_map.rs +++ b/esp32p4/src/interrupt_core0/h264_dma2d_out_ch1_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_h264_dma2d_out_ch1_int_map( &mut self, ) -> CORE0_H264_DMA2D_OUT_CH1_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/h264_dma2d_out_ch2_int_map.rs b/esp32p4/src/interrupt_core0/h264_dma2d_out_ch2_int_map.rs index 5dd61d0449..28f27c8e6b 100644 --- a/esp32p4/src/interrupt_core0/h264_dma2d_out_ch2_int_map.rs +++ b/esp32p4/src/interrupt_core0/h264_dma2d_out_ch2_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_h264_dma2d_out_ch2_int_map( &mut self, ) -> CORE0_H264_DMA2D_OUT_CH2_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/h264_dma2d_out_ch3_int_map.rs b/esp32p4/src/interrupt_core0/h264_dma2d_out_ch3_int_map.rs index 2034aead54..378691e398 100644 --- a/esp32p4/src/interrupt_core0/h264_dma2d_out_ch3_int_map.rs +++ b/esp32p4/src/interrupt_core0/h264_dma2d_out_ch3_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_h264_dma2d_out_ch3_int_map( &mut self, ) -> CORE0_H264_DMA2D_OUT_CH3_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/h264_dma2d_out_ch4_int_map.rs b/esp32p4/src/interrupt_core0/h264_dma2d_out_ch4_int_map.rs index 69ff3521c4..adee7f68f4 100644 --- a/esp32p4/src/interrupt_core0/h264_dma2d_out_ch4_int_map.rs +++ b/esp32p4/src/interrupt_core0/h264_dma2d_out_ch4_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_h264_dma2d_out_ch4_int_map( &mut self, ) -> CORE0_H264_DMA2D_OUT_CH4_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/h264_reg_int_map.rs b/esp32p4/src/interrupt_core0/h264_reg_int_map.rs index 5f416e0e3c..e465bfb799 100644 --- a/esp32p4/src/interrupt_core0/h264_reg_int_map.rs +++ b/esp32p4/src/interrupt_core0/h264_reg_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_h264_reg_int_map(&mut self) -> CORE0_H264_REG_INT_MAP_W { CORE0_H264_REG_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/hp_core_ctrl_int_map.rs b/esp32p4/src/interrupt_core0/hp_core_ctrl_int_map.rs index 10396b5b5d..475938040e 100644 --- a/esp32p4/src/interrupt_core0/hp_core_ctrl_int_map.rs +++ b/esp32p4/src/interrupt_core0/hp_core_ctrl_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_hp_core_ctrl_int_map( &mut self, ) -> CORE0_HP_CORE_CTRL_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/hp_parlio_rx_int_map.rs b/esp32p4/src/interrupt_core0/hp_parlio_rx_int_map.rs index 2f4a61819d..1ef652c440 100644 --- a/esp32p4/src/interrupt_core0/hp_parlio_rx_int_map.rs +++ b/esp32p4/src/interrupt_core0/hp_parlio_rx_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_hp_parlio_rx_int_map( &mut self, ) -> CORE0_HP_PARLIO_RX_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/hp_parlio_tx_int_map.rs b/esp32p4/src/interrupt_core0/hp_parlio_tx_int_map.rs index ee955bbaf1..d33932765f 100644 --- a/esp32p4/src/interrupt_core0/hp_parlio_tx_int_map.rs +++ b/esp32p4/src/interrupt_core0/hp_parlio_tx_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_hp_parlio_tx_int_map( &mut self, ) -> CORE0_HP_PARLIO_TX_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/hp_pau_int_map.rs b/esp32p4/src/interrupt_core0/hp_pau_int_map.rs index acc7c5016f..d95cd5a774 100644 --- a/esp32p4/src/interrupt_core0/hp_pau_int_map.rs +++ b/esp32p4/src/interrupt_core0/hp_pau_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_hp_pau_int_map(&mut self) -> CORE0_HP_PAU_INT_MAP_W { CORE0_HP_PAU_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/hp_sysreg_int_map.rs b/esp32p4/src/interrupt_core0/hp_sysreg_int_map.rs index f552e37902..cc5c882886 100644 --- a/esp32p4/src/interrupt_core0/hp_sysreg_int_map.rs +++ b/esp32p4/src/interrupt_core0/hp_sysreg_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_hp_sysreg_int_map(&mut self) -> CORE0_HP_SYSREG_INT_MAP_W { CORE0_HP_SYSREG_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/i2c0_int_map.rs b/esp32p4/src/interrupt_core0/i2c0_int_map.rs index cca2c306cb..379c335182 100644 --- a/esp32p4/src/interrupt_core0/i2c0_int_map.rs +++ b/esp32p4/src/interrupt_core0/i2c0_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_i2c0_int_map(&mut self) -> CORE0_I2C0_INT_MAP_W { CORE0_I2C0_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/i2c1_int_map.rs b/esp32p4/src/interrupt_core0/i2c1_int_map.rs index eb06b423bc..bff82ac155 100644 --- a/esp32p4/src/interrupt_core0/i2c1_int_map.rs +++ b/esp32p4/src/interrupt_core0/i2c1_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_i2c1_int_map(&mut self) -> CORE0_I2C1_INT_MAP_W { CORE0_I2C1_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/i2s0_int_map.rs b/esp32p4/src/interrupt_core0/i2s0_int_map.rs index c06e5bdcd9..0860c18d0b 100644 --- a/esp32p4/src/interrupt_core0/i2s0_int_map.rs +++ b/esp32p4/src/interrupt_core0/i2s0_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_i2s0_int_map(&mut self) -> CORE0_I2S0_INT_MAP_W { CORE0_I2S0_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/i2s1_int_map.rs b/esp32p4/src/interrupt_core0/i2s1_int_map.rs index eb04e54aa8..ac5dc510a5 100644 --- a/esp32p4/src/interrupt_core0/i2s1_int_map.rs +++ b/esp32p4/src/interrupt_core0/i2s1_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_i2s1_int_map(&mut self) -> CORE0_I2S1_INT_MAP_W { CORE0_I2S1_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/i2s2_int_map.rs b/esp32p4/src/interrupt_core0/i2s2_int_map.rs index c835263a22..26569fc94a 100644 --- a/esp32p4/src/interrupt_core0/i2s2_int_map.rs +++ b/esp32p4/src/interrupt_core0/i2s2_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_i2s2_int_map(&mut self) -> CORE0_I2S2_INT_MAP_W { CORE0_I2S2_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/i3c_mst_int_map.rs b/esp32p4/src/interrupt_core0/i3c_mst_int_map.rs index 2e3212c40f..5443d0c2c2 100644 --- a/esp32p4/src/interrupt_core0/i3c_mst_int_map.rs +++ b/esp32p4/src/interrupt_core0/i3c_mst_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_i3c_mst_int_map(&mut self) -> CORE0_I3C_MST_INT_MAP_W { CORE0_I3C_MST_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/i3c_slv_int_map.rs b/esp32p4/src/interrupt_core0/i3c_slv_int_map.rs index cb44771494..509db3d988 100644 --- a/esp32p4/src/interrupt_core0/i3c_slv_int_map.rs +++ b/esp32p4/src/interrupt_core0/i3c_slv_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_i3c_slv_int_map(&mut self) -> CORE0_I3C_SLV_INT_MAP_W { CORE0_I3C_SLV_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/interrupt_reg_date.rs b/esp32p4/src/interrupt_core0/interrupt_reg_date.rs index e1feb26a38..c1f8abbd33 100644 --- a/esp32p4/src/interrupt_core0/interrupt_reg_date.rs +++ b/esp32p4/src/interrupt_core0/interrupt_reg_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - NA"] #[inline(always)] - #[must_use] pub fn core0_interrupt_reg_date( &mut self, ) -> CORE0_INTERRUPT_REG_DATE_W { diff --git a/esp32p4/src/interrupt_core0/isp_int_map.rs b/esp32p4/src/interrupt_core0/isp_int_map.rs index f7045d9e7f..c809488be6 100644 --- a/esp32p4/src/interrupt_core0/isp_int_map.rs +++ b/esp32p4/src/interrupt_core0/isp_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_isp_int_map(&mut self) -> CORE0_ISP_INT_MAP_W { CORE0_ISP_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/jpeg_int_map.rs b/esp32p4/src/interrupt_core0/jpeg_int_map.rs index 25987212e9..4027307273 100644 --- a/esp32p4/src/interrupt_core0/jpeg_int_map.rs +++ b/esp32p4/src/interrupt_core0/jpeg_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_jpeg_int_map(&mut self) -> CORE0_JPEG_INT_MAP_W { CORE0_JPEG_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/km_int_map.rs b/esp32p4/src/interrupt_core0/km_int_map.rs index b48cdd4c28..c997a2fb50 100644 --- a/esp32p4/src/interrupt_core0/km_int_map.rs +++ b/esp32p4/src/interrupt_core0/km_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_km_int_map(&mut self) -> CORE0_KM_INT_MAP_W { CORE0_KM_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/lcd_cam_int_map.rs b/esp32p4/src/interrupt_core0/lcd_cam_int_map.rs index 2bfb30da9e..15ac9c0c2b 100644 --- a/esp32p4/src/interrupt_core0/lcd_cam_int_map.rs +++ b/esp32p4/src/interrupt_core0/lcd_cam_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_lcd_cam_int_map(&mut self) -> CORE0_LCD_CAM_INT_MAP_W { CORE0_LCD_CAM_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/ledc_int_map.rs b/esp32p4/src/interrupt_core0/ledc_int_map.rs index 44ae82896e..a7e442dd6a 100644 --- a/esp32p4/src/interrupt_core0/ledc_int_map.rs +++ b/esp32p4/src/interrupt_core0/ledc_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_ledc_int_map(&mut self) -> CORE0_LEDC_INT_MAP_W { CORE0_LEDC_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/lp_adc_int_map.rs b/esp32p4/src/interrupt_core0/lp_adc_int_map.rs index 046d842468..2ecd4c0838 100644 --- a/esp32p4/src/interrupt_core0/lp_adc_int_map.rs +++ b/esp32p4/src/interrupt_core0/lp_adc_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_lp_adc_int_map(&mut self) -> CORE0_LP_ADC_INT_MAP_W { CORE0_LP_ADC_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/lp_anaperi_int_map.rs b/esp32p4/src/interrupt_core0/lp_anaperi_int_map.rs index e53ee99218..31fd39ef23 100644 --- a/esp32p4/src/interrupt_core0/lp_anaperi_int_map.rs +++ b/esp32p4/src/interrupt_core0/lp_anaperi_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_lp_anaperi_int_map( &mut self, ) -> CORE0_LP_ANAPERI_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/lp_efuse_int_map.rs b/esp32p4/src/interrupt_core0/lp_efuse_int_map.rs index 1f9982c126..c1c952081a 100644 --- a/esp32p4/src/interrupt_core0/lp_efuse_int_map.rs +++ b/esp32p4/src/interrupt_core0/lp_efuse_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_lp_efuse_int_map(&mut self) -> CORE0_LP_EFUSE_INT_MAP_W { CORE0_LP_EFUSE_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/lp_gpio_int_map.rs b/esp32p4/src/interrupt_core0/lp_gpio_int_map.rs index 99b6d4a8bf..a12a467220 100644 --- a/esp32p4/src/interrupt_core0/lp_gpio_int_map.rs +++ b/esp32p4/src/interrupt_core0/lp_gpio_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_lp_gpio_int_map(&mut self) -> CORE0_LP_GPIO_INT_MAP_W { CORE0_LP_GPIO_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/lp_huk_int_map.rs b/esp32p4/src/interrupt_core0/lp_huk_int_map.rs index dd07fd5cf7..67a41ce6cd 100644 --- a/esp32p4/src/interrupt_core0/lp_huk_int_map.rs +++ b/esp32p4/src/interrupt_core0/lp_huk_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_lp_huk_int_map(&mut self) -> CORE0_LP_HUK_INT_MAP_W { CORE0_LP_HUK_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/lp_i2c_int_map.rs b/esp32p4/src/interrupt_core0/lp_i2c_int_map.rs index 4e53c9b955..d936a7ed42 100644 --- a/esp32p4/src/interrupt_core0/lp_i2c_int_map.rs +++ b/esp32p4/src/interrupt_core0/lp_i2c_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_lp_i2c_int_map(&mut self) -> CORE0_LP_I2C_INT_MAP_W { CORE0_LP_I2C_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/lp_i2s_int_map.rs b/esp32p4/src/interrupt_core0/lp_i2s_int_map.rs index 1958652242..4c1a01c80f 100644 --- a/esp32p4/src/interrupt_core0/lp_i2s_int_map.rs +++ b/esp32p4/src/interrupt_core0/lp_i2s_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_lp_i2s_int_map(&mut self) -> CORE0_LP_I2S_INT_MAP_W { CORE0_LP_I2S_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/lp_rtc_int_map.rs b/esp32p4/src/interrupt_core0/lp_rtc_int_map.rs index 322f966a08..cc9cbcdfaf 100644 --- a/esp32p4/src/interrupt_core0/lp_rtc_int_map.rs +++ b/esp32p4/src/interrupt_core0/lp_rtc_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_lp_rtc_int_map(&mut self) -> CORE0_LP_RTC_INT_MAP_W { CORE0_LP_RTC_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/lp_spi_int_map.rs b/esp32p4/src/interrupt_core0/lp_spi_int_map.rs index 12754b3d7d..0c23601333 100644 --- a/esp32p4/src/interrupt_core0/lp_spi_int_map.rs +++ b/esp32p4/src/interrupt_core0/lp_spi_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_lp_spi_int_map(&mut self) -> CORE0_LP_SPI_INT_MAP_W { CORE0_LP_SPI_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/lp_sw_int_map.rs b/esp32p4/src/interrupt_core0/lp_sw_int_map.rs index 3d5ed4b2b4..931e48c849 100644 --- a/esp32p4/src/interrupt_core0/lp_sw_int_map.rs +++ b/esp32p4/src/interrupt_core0/lp_sw_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_lp_sw_int_map(&mut self) -> CORE0_LP_SW_INT_MAP_W { CORE0_LP_SW_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/lp_sysreg_int_map.rs b/esp32p4/src/interrupt_core0/lp_sysreg_int_map.rs index 999c00f385..be2d9958ac 100644 --- a/esp32p4/src/interrupt_core0/lp_sysreg_int_map.rs +++ b/esp32p4/src/interrupt_core0/lp_sysreg_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_lp_sysreg_int_map(&mut self) -> CORE0_LP_SYSREG_INT_MAP_W { CORE0_LP_SYSREG_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/lp_timer_reg_0_int_map.rs b/esp32p4/src/interrupt_core0/lp_timer_reg_0_int_map.rs index fc97cf813b..90c0d03029 100644 --- a/esp32p4/src/interrupt_core0/lp_timer_reg_0_int_map.rs +++ b/esp32p4/src/interrupt_core0/lp_timer_reg_0_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_lp_timer_reg_0_int_map( &mut self, ) -> CORE0_LP_TIMER_REG_0_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/lp_timer_reg_1_int_map.rs b/esp32p4/src/interrupt_core0/lp_timer_reg_1_int_map.rs index c11068199f..bac60a3afa 100644 --- a/esp32p4/src/interrupt_core0/lp_timer_reg_1_int_map.rs +++ b/esp32p4/src/interrupt_core0/lp_timer_reg_1_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_lp_timer_reg_1_int_map( &mut self, ) -> CORE0_LP_TIMER_REG_1_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/lp_touch_int_map.rs b/esp32p4/src/interrupt_core0/lp_touch_int_map.rs index a4f4d64778..1b78cd79db 100644 --- a/esp32p4/src/interrupt_core0/lp_touch_int_map.rs +++ b/esp32p4/src/interrupt_core0/lp_touch_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_lp_touch_int_map(&mut self) -> CORE0_LP_TOUCH_INT_MAP_W { CORE0_LP_TOUCH_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/lp_tsens_int_map.rs b/esp32p4/src/interrupt_core0/lp_tsens_int_map.rs index 6b59232d3e..e0b1f4ed72 100644 --- a/esp32p4/src/interrupt_core0/lp_tsens_int_map.rs +++ b/esp32p4/src/interrupt_core0/lp_tsens_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_lp_tsens_int_map(&mut self) -> CORE0_LP_TSENS_INT_MAP_W { CORE0_LP_TSENS_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/lp_uart_int_map.rs b/esp32p4/src/interrupt_core0/lp_uart_int_map.rs index 2471fc5285..f0fdd9c469 100644 --- a/esp32p4/src/interrupt_core0/lp_uart_int_map.rs +++ b/esp32p4/src/interrupt_core0/lp_uart_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_lp_uart_int_map(&mut self) -> CORE0_LP_UART_INT_MAP_W { CORE0_LP_UART_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/lp_wdt_int_map.rs b/esp32p4/src/interrupt_core0/lp_wdt_int_map.rs index f3987269ed..0576ea2875 100644 --- a/esp32p4/src/interrupt_core0/lp_wdt_int_map.rs +++ b/esp32p4/src/interrupt_core0/lp_wdt_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_lp_wdt_int_map(&mut self) -> CORE0_LP_WDT_INT_MAP_W { CORE0_LP_WDT_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/lpi_int_map.rs b/esp32p4/src/interrupt_core0/lpi_int_map.rs index a32a693b5a..4199d052bf 100644 --- a/esp32p4/src/interrupt_core0/lpi_int_map.rs +++ b/esp32p4/src/interrupt_core0/lpi_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_lpi_int_map(&mut self) -> CORE0_LPI_INT_MAP_W { CORE0_LPI_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/mb_hp_int_map.rs b/esp32p4/src/interrupt_core0/mb_hp_int_map.rs index 0955eb63c7..7b417369b8 100644 --- a/esp32p4/src/interrupt_core0/mb_hp_int_map.rs +++ b/esp32p4/src/interrupt_core0/mb_hp_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_mb_hp_int_map(&mut self) -> CORE0_MB_HP_INT_MAP_W { CORE0_MB_HP_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/mb_lp_int_map.rs b/esp32p4/src/interrupt_core0/mb_lp_int_map.rs index 3638354628..2a78471419 100644 --- a/esp32p4/src/interrupt_core0/mb_lp_int_map.rs +++ b/esp32p4/src/interrupt_core0/mb_lp_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_mb_lp_int_map(&mut self) -> CORE0_MB_LP_INT_MAP_W { CORE0_MB_LP_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/pcnt_int_map.rs b/esp32p4/src/interrupt_core0/pcnt_int_map.rs index 1590fecd40..5fbe0d2e2e 100644 --- a/esp32p4/src/interrupt_core0/pcnt_int_map.rs +++ b/esp32p4/src/interrupt_core0/pcnt_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_pcnt_int_map(&mut self) -> CORE0_PCNT_INT_MAP_W { CORE0_PCNT_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/pmt_int_map.rs b/esp32p4/src/interrupt_core0/pmt_int_map.rs index bfbe03c24c..9df54b7337 100644 --- a/esp32p4/src/interrupt_core0/pmt_int_map.rs +++ b/esp32p4/src/interrupt_core0/pmt_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_pmt_int_map(&mut self) -> CORE0_PMT_INT_MAP_W { CORE0_PMT_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/pmu_reg_0_int_map.rs b/esp32p4/src/interrupt_core0/pmu_reg_0_int_map.rs index 94e290a075..3621159f7a 100644 --- a/esp32p4/src/interrupt_core0/pmu_reg_0_int_map.rs +++ b/esp32p4/src/interrupt_core0/pmu_reg_0_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_pmu_reg_0_int_map(&mut self) -> CORE0_PMU_REG_0_INT_MAP_W { CORE0_PMU_REG_0_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/pmu_reg_1_int_map.rs b/esp32p4/src/interrupt_core0/pmu_reg_1_int_map.rs index 1f74906bb2..7623ec0936 100644 --- a/esp32p4/src/interrupt_core0/pmu_reg_1_int_map.rs +++ b/esp32p4/src/interrupt_core0/pmu_reg_1_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_pmu_reg_1_int_map(&mut self) -> CORE0_PMU_REG_1_INT_MAP_W { CORE0_PMU_REG_1_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/ppa_int_map.rs b/esp32p4/src/interrupt_core0/ppa_int_map.rs index a988962d86..8f92944b33 100644 --- a/esp32p4/src/interrupt_core0/ppa_int_map.rs +++ b/esp32p4/src/interrupt_core0/ppa_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_ppa_int_map(&mut self) -> CORE0_PPA_INT_MAP_W { CORE0_PPA_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/psram_mspi_int_map.rs b/esp32p4/src/interrupt_core0/psram_mspi_int_map.rs index 12becb0cc4..f186f76d24 100644 --- a/esp32p4/src/interrupt_core0/psram_mspi_int_map.rs +++ b/esp32p4/src/interrupt_core0/psram_mspi_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_psram_mspi_int_map( &mut self, ) -> CORE0_PSRAM_MSPI_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/pwm0_int_map.rs b/esp32p4/src/interrupt_core0/pwm0_int_map.rs index 6008074cd3..9ce3b018e2 100644 --- a/esp32p4/src/interrupt_core0/pwm0_int_map.rs +++ b/esp32p4/src/interrupt_core0/pwm0_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_pwm0_int_map(&mut self) -> CORE0_PWM0_INT_MAP_W { CORE0_PWM0_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/pwm1_int_map.rs b/esp32p4/src/interrupt_core0/pwm1_int_map.rs index 333490f004..f62166e1d2 100644 --- a/esp32p4/src/interrupt_core0/pwm1_int_map.rs +++ b/esp32p4/src/interrupt_core0/pwm1_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_pwm1_int_map(&mut self) -> CORE0_PWM1_INT_MAP_W { CORE0_PWM1_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/rmt_int_map.rs b/esp32p4/src/interrupt_core0/rmt_int_map.rs index 455a966bbd..fee20bf5ac 100644 --- a/esp32p4/src/interrupt_core0/rmt_int_map.rs +++ b/esp32p4/src/interrupt_core0/rmt_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_rmt_int_map(&mut self) -> CORE0_RMT_INT_MAP_W { CORE0_RMT_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/rsa_int_map.rs b/esp32p4/src/interrupt_core0/rsa_int_map.rs index 4af3384201..49c85933c8 100644 --- a/esp32p4/src/interrupt_core0/rsa_int_map.rs +++ b/esp32p4/src/interrupt_core0/rsa_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_rsa_int_map(&mut self) -> CORE0_RSA_INT_MAP_W { CORE0_RSA_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/sbd_int_map.rs b/esp32p4/src/interrupt_core0/sbd_int_map.rs index f206bc5000..3b3143285e 100644 --- a/esp32p4/src/interrupt_core0/sbd_int_map.rs +++ b/esp32p4/src/interrupt_core0/sbd_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_sbd_int_map(&mut self) -> CORE0_SBD_INT_MAP_W { CORE0_SBD_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/sdio_host_int_map.rs b/esp32p4/src/interrupt_core0/sdio_host_int_map.rs index 7864e0e7c4..51ee6de848 100644 --- a/esp32p4/src/interrupt_core0/sdio_host_int_map.rs +++ b/esp32p4/src/interrupt_core0/sdio_host_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_sdio_host_int_map(&mut self) -> CORE0_SDIO_HOST_INT_MAP_W { CORE0_SDIO_HOST_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/sha_int_map.rs b/esp32p4/src/interrupt_core0/sha_int_map.rs index 72ec24ec77..bcbffc77a9 100644 --- a/esp32p4/src/interrupt_core0/sha_int_map.rs +++ b/esp32p4/src/interrupt_core0/sha_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_sha_int_map(&mut self) -> CORE0_SHA_INT_MAP_W { CORE0_SHA_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/spi2_int_map.rs b/esp32p4/src/interrupt_core0/spi2_int_map.rs index 2093a7fffe..1b7564551f 100644 --- a/esp32p4/src/interrupt_core0/spi2_int_map.rs +++ b/esp32p4/src/interrupt_core0/spi2_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_spi2_int_map(&mut self) -> CORE0_SPI2_INT_MAP_W { CORE0_SPI2_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/spi3_int_map.rs b/esp32p4/src/interrupt_core0/spi3_int_map.rs index 149dd6e5ae..cafd839d03 100644 --- a/esp32p4/src/interrupt_core0/spi3_int_map.rs +++ b/esp32p4/src/interrupt_core0/spi3_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_spi3_int_map(&mut self) -> CORE0_SPI3_INT_MAP_W { CORE0_SPI3_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/sys_icm_int_map.rs b/esp32p4/src/interrupt_core0/sys_icm_int_map.rs index 3b94b39cdc..b4e542fd6d 100644 --- a/esp32p4/src/interrupt_core0/sys_icm_int_map.rs +++ b/esp32p4/src/interrupt_core0/sys_icm_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_sys_icm_int_map(&mut self) -> CORE0_SYS_ICM_INT_MAP_W { CORE0_SYS_ICM_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/systimer_target0_int_map.rs b/esp32p4/src/interrupt_core0/systimer_target0_int_map.rs index 738528628b..69f2f2af71 100644 --- a/esp32p4/src/interrupt_core0/systimer_target0_int_map.rs +++ b/esp32p4/src/interrupt_core0/systimer_target0_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_systimer_target0_int_map( &mut self, ) -> CORE0_SYSTIMER_TARGET0_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/systimer_target1_int_map.rs b/esp32p4/src/interrupt_core0/systimer_target1_int_map.rs index fd3ea22c72..6d0105ca6a 100644 --- a/esp32p4/src/interrupt_core0/systimer_target1_int_map.rs +++ b/esp32p4/src/interrupt_core0/systimer_target1_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_systimer_target1_int_map( &mut self, ) -> CORE0_SYSTIMER_TARGET1_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/systimer_target2_int_map.rs b/esp32p4/src/interrupt_core0/systimer_target2_int_map.rs index a8aa14eeb9..e9201ff6fa 100644 --- a/esp32p4/src/interrupt_core0/systimer_target2_int_map.rs +++ b/esp32p4/src/interrupt_core0/systimer_target2_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_systimer_target2_int_map( &mut self, ) -> CORE0_SYSTIMER_TARGET2_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/timergrp0_t0_int_map.rs b/esp32p4/src/interrupt_core0/timergrp0_t0_int_map.rs index f15039714a..20ce95ba5b 100644 --- a/esp32p4/src/interrupt_core0/timergrp0_t0_int_map.rs +++ b/esp32p4/src/interrupt_core0/timergrp0_t0_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_timergrp0_t0_int_map( &mut self, ) -> CORE0_TIMERGRP0_T0_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/timergrp0_t1_int_map.rs b/esp32p4/src/interrupt_core0/timergrp0_t1_int_map.rs index 9e600dddb1..e310533a84 100644 --- a/esp32p4/src/interrupt_core0/timergrp0_t1_int_map.rs +++ b/esp32p4/src/interrupt_core0/timergrp0_t1_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_timergrp0_t1_int_map( &mut self, ) -> CORE0_TIMERGRP0_T1_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/timergrp0_wdt_int_map.rs b/esp32p4/src/interrupt_core0/timergrp0_wdt_int_map.rs index 285e1ddda5..a1fc6fb902 100644 --- a/esp32p4/src/interrupt_core0/timergrp0_wdt_int_map.rs +++ b/esp32p4/src/interrupt_core0/timergrp0_wdt_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_timergrp0_wdt_int_map( &mut self, ) -> CORE0_TIMERGRP0_WDT_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/timergrp1_t0_int_map.rs b/esp32p4/src/interrupt_core0/timergrp1_t0_int_map.rs index 09600831c2..a42c93e18d 100644 --- a/esp32p4/src/interrupt_core0/timergrp1_t0_int_map.rs +++ b/esp32p4/src/interrupt_core0/timergrp1_t0_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_timergrp1_t0_int_map( &mut self, ) -> CORE0_TIMERGRP1_T0_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/timergrp1_t1_int_map.rs b/esp32p4/src/interrupt_core0/timergrp1_t1_int_map.rs index 3aadb6a35a..64cc05ac24 100644 --- a/esp32p4/src/interrupt_core0/timergrp1_t1_int_map.rs +++ b/esp32p4/src/interrupt_core0/timergrp1_t1_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_timergrp1_t1_int_map( &mut self, ) -> CORE0_TIMERGRP1_T1_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/timergrp1_wdt_int_map.rs b/esp32p4/src/interrupt_core0/timergrp1_wdt_int_map.rs index c774207bf5..182b905663 100644 --- a/esp32p4/src/interrupt_core0/timergrp1_wdt_int_map.rs +++ b/esp32p4/src/interrupt_core0/timergrp1_wdt_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_timergrp1_wdt_int_map( &mut self, ) -> CORE0_TIMERGRP1_WDT_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/uart0_int_map.rs b/esp32p4/src/interrupt_core0/uart0_int_map.rs index bda8d146b7..e2d82f3d6c 100644 --- a/esp32p4/src/interrupt_core0/uart0_int_map.rs +++ b/esp32p4/src/interrupt_core0/uart0_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_uart0_int_map(&mut self) -> CORE0_UART0_INT_MAP_W { CORE0_UART0_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/uart1_int_map.rs b/esp32p4/src/interrupt_core0/uart1_int_map.rs index 1f8a3049cf..6ea37d8f69 100644 --- a/esp32p4/src/interrupt_core0/uart1_int_map.rs +++ b/esp32p4/src/interrupt_core0/uart1_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_uart1_int_map(&mut self) -> CORE0_UART1_INT_MAP_W { CORE0_UART1_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/uart2_int_map.rs b/esp32p4/src/interrupt_core0/uart2_int_map.rs index 5a930e5434..bcb92c4fa3 100644 --- a/esp32p4/src/interrupt_core0/uart2_int_map.rs +++ b/esp32p4/src/interrupt_core0/uart2_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_uart2_int_map(&mut self) -> CORE0_UART2_INT_MAP_W { CORE0_UART2_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/uart3_int_map.rs b/esp32p4/src/interrupt_core0/uart3_int_map.rs index 79afbfab0e..b6077b3009 100644 --- a/esp32p4/src/interrupt_core0/uart3_int_map.rs +++ b/esp32p4/src/interrupt_core0/uart3_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_uart3_int_map(&mut self) -> CORE0_UART3_INT_MAP_W { CORE0_UART3_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/uart4_int_map.rs b/esp32p4/src/interrupt_core0/uart4_int_map.rs index 36da49420d..15d233599d 100644 --- a/esp32p4/src/interrupt_core0/uart4_int_map.rs +++ b/esp32p4/src/interrupt_core0/uart4_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_uart4_int_map(&mut self) -> CORE0_UART4_INT_MAP_W { CORE0_UART4_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/uhci0_int_map.rs b/esp32p4/src/interrupt_core0/uhci0_int_map.rs index 4c78fe4aa5..36558feae9 100644 --- a/esp32p4/src/interrupt_core0/uhci0_int_map.rs +++ b/esp32p4/src/interrupt_core0/uhci0_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_uhci0_int_map(&mut self) -> CORE0_UHCI0_INT_MAP_W { CORE0_UHCI0_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/usb_device_int_map.rs b/esp32p4/src/interrupt_core0/usb_device_int_map.rs index 0e0857ebb9..961cae8433 100644 --- a/esp32p4/src/interrupt_core0/usb_device_int_map.rs +++ b/esp32p4/src/interrupt_core0/usb_device_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_usb_device_int_map( &mut self, ) -> CORE0_USB_DEVICE_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/usb_otg11_int_map.rs b/esp32p4/src/interrupt_core0/usb_otg11_int_map.rs index 7c5b351fd0..e54f5af8ff 100644 --- a/esp32p4/src/interrupt_core0/usb_otg11_int_map.rs +++ b/esp32p4/src/interrupt_core0/usb_otg11_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_usb_otg11_int_map(&mut self) -> CORE0_USB_OTG11_INT_MAP_W { CORE0_USB_OTG11_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core0/usb_otg_endp_multi_proc_int_map.rs b/esp32p4/src/interrupt_core0/usb_otg_endp_multi_proc_int_map.rs index c09ed1413f..18b273cae0 100644 --- a/esp32p4/src/interrupt_core0/usb_otg_endp_multi_proc_int_map.rs +++ b/esp32p4/src/interrupt_core0/usb_otg_endp_multi_proc_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_usb_otg_endp_multi_proc_int_map( &mut self, ) -> CORE0_USB_OTG_ENDP_MULTI_PROC_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core0/usb_otg_int_map.rs b/esp32p4/src/interrupt_core0/usb_otg_int_map.rs index 107fc19c71..92e9acdde8 100644 --- a/esp32p4/src/interrupt_core0/usb_otg_int_map.rs +++ b/esp32p4/src/interrupt_core0/usb_otg_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core0_usb_otg_int_map(&mut self) -> CORE0_USB_OTG_INT_MAP_W { CORE0_USB_OTG_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/adc_int_map.rs b/esp32p4/src/interrupt_core1/adc_int_map.rs index 49fd32e7ca..035be5c76d 100644 --- a/esp32p4/src/interrupt_core1/adc_int_map.rs +++ b/esp32p4/src/interrupt_core1/adc_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_adc_int_map(&mut self) -> CORE1_ADC_INT_MAP_W { CORE1_ADC_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/aes_int_map.rs b/esp32p4/src/interrupt_core1/aes_int_map.rs index d25d5912eb..4b2dd1a9d5 100644 --- a/esp32p4/src/interrupt_core1/aes_int_map.rs +++ b/esp32p4/src/interrupt_core1/aes_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_aes_int_map(&mut self) -> CORE1_AES_INT_MAP_W { CORE1_AES_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/ahb_pdma_in_ch0_int_map.rs b/esp32p4/src/interrupt_core1/ahb_pdma_in_ch0_int_map.rs index 7c9ba56b00..9a24b19705 100644 --- a/esp32p4/src/interrupt_core1/ahb_pdma_in_ch0_int_map.rs +++ b/esp32p4/src/interrupt_core1/ahb_pdma_in_ch0_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_ahb_pdma_in_ch0_int_map( &mut self, ) -> CORE1_AHB_PDMA_IN_CH0_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/ahb_pdma_in_ch1_int_map.rs b/esp32p4/src/interrupt_core1/ahb_pdma_in_ch1_int_map.rs index aa180a5c5c..0aef8c83a4 100644 --- a/esp32p4/src/interrupt_core1/ahb_pdma_in_ch1_int_map.rs +++ b/esp32p4/src/interrupt_core1/ahb_pdma_in_ch1_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_ahb_pdma_in_ch1_int_map( &mut self, ) -> CORE1_AHB_PDMA_IN_CH1_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/ahb_pdma_in_ch2_int_map.rs b/esp32p4/src/interrupt_core1/ahb_pdma_in_ch2_int_map.rs index 4d25aefe05..31d40fc2bb 100644 --- a/esp32p4/src/interrupt_core1/ahb_pdma_in_ch2_int_map.rs +++ b/esp32p4/src/interrupt_core1/ahb_pdma_in_ch2_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_ahb_pdma_in_ch2_int_map( &mut self, ) -> CORE1_AHB_PDMA_IN_CH2_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/ahb_pdma_out_ch0_int_map.rs b/esp32p4/src/interrupt_core1/ahb_pdma_out_ch0_int_map.rs index 5f3fe4a29e..dcbf3e5ea2 100644 --- a/esp32p4/src/interrupt_core1/ahb_pdma_out_ch0_int_map.rs +++ b/esp32p4/src/interrupt_core1/ahb_pdma_out_ch0_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_ahb_pdma_out_ch0_int_map( &mut self, ) -> CORE1_AHB_PDMA_OUT_CH0_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/ahb_pdma_out_ch1_int_map.rs b/esp32p4/src/interrupt_core1/ahb_pdma_out_ch1_int_map.rs index 8fe06b4f4e..6f099855f3 100644 --- a/esp32p4/src/interrupt_core1/ahb_pdma_out_ch1_int_map.rs +++ b/esp32p4/src/interrupt_core1/ahb_pdma_out_ch1_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_ahb_pdma_out_ch1_int_map( &mut self, ) -> CORE1_AHB_PDMA_OUT_CH1_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/ahb_pdma_out_ch2_int_map.rs b/esp32p4/src/interrupt_core1/ahb_pdma_out_ch2_int_map.rs index 01aaae5d22..7e3f172744 100644 --- a/esp32p4/src/interrupt_core1/ahb_pdma_out_ch2_int_map.rs +++ b/esp32p4/src/interrupt_core1/ahb_pdma_out_ch2_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_ahb_pdma_out_ch2_int_map( &mut self, ) -> CORE1_AHB_PDMA_OUT_CH2_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/assist_debug_int_map.rs b/esp32p4/src/interrupt_core1/assist_debug_int_map.rs index 435169ba7b..2b6352e70e 100644 --- a/esp32p4/src/interrupt_core1/assist_debug_int_map.rs +++ b/esp32p4/src/interrupt_core1/assist_debug_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_assist_debug_int_map( &mut self, ) -> CORE1_ASSIST_DEBUG_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/axi_pdma_in_ch0_int_map.rs b/esp32p4/src/interrupt_core1/axi_pdma_in_ch0_int_map.rs index c870433b49..4331bf24b5 100644 --- a/esp32p4/src/interrupt_core1/axi_pdma_in_ch0_int_map.rs +++ b/esp32p4/src/interrupt_core1/axi_pdma_in_ch0_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_axi_pdma_in_ch0_int_map( &mut self, ) -> CORE1_AXI_PDMA_IN_CH0_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/axi_pdma_in_ch1_int_map.rs b/esp32p4/src/interrupt_core1/axi_pdma_in_ch1_int_map.rs index c582c44553..154504a7ef 100644 --- a/esp32p4/src/interrupt_core1/axi_pdma_in_ch1_int_map.rs +++ b/esp32p4/src/interrupt_core1/axi_pdma_in_ch1_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_axi_pdma_in_ch1_int_map( &mut self, ) -> CORE1_AXI_PDMA_IN_CH1_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/axi_pdma_in_ch2_int_map.rs b/esp32p4/src/interrupt_core1/axi_pdma_in_ch2_int_map.rs index f35f7b7385..fdf6e47593 100644 --- a/esp32p4/src/interrupt_core1/axi_pdma_in_ch2_int_map.rs +++ b/esp32p4/src/interrupt_core1/axi_pdma_in_ch2_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_axi_pdma_in_ch2_int_map( &mut self, ) -> CORE1_AXI_PDMA_IN_CH2_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/axi_pdma_out_ch0_int_map.rs b/esp32p4/src/interrupt_core1/axi_pdma_out_ch0_int_map.rs index ccd1b6ba11..3d4a6192a0 100644 --- a/esp32p4/src/interrupt_core1/axi_pdma_out_ch0_int_map.rs +++ b/esp32p4/src/interrupt_core1/axi_pdma_out_ch0_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_axi_pdma_out_ch0_int_map( &mut self, ) -> CORE1_AXI_PDMA_OUT_CH0_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/axi_pdma_out_ch1_int_map.rs b/esp32p4/src/interrupt_core1/axi_pdma_out_ch1_int_map.rs index 5af61c0478..bfd71e3efa 100644 --- a/esp32p4/src/interrupt_core1/axi_pdma_out_ch1_int_map.rs +++ b/esp32p4/src/interrupt_core1/axi_pdma_out_ch1_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_axi_pdma_out_ch1_int_map( &mut self, ) -> CORE1_AXI_PDMA_OUT_CH1_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/axi_pdma_out_ch2_int_map.rs b/esp32p4/src/interrupt_core1/axi_pdma_out_ch2_int_map.rs index f611108b00..5554e97327 100644 --- a/esp32p4/src/interrupt_core1/axi_pdma_out_ch2_int_map.rs +++ b/esp32p4/src/interrupt_core1/axi_pdma_out_ch2_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_axi_pdma_out_ch2_int_map( &mut self, ) -> CORE1_AXI_PDMA_OUT_CH2_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/cache_int_map.rs b/esp32p4/src/interrupt_core1/cache_int_map.rs index 56a06810a2..53e48d787e 100644 --- a/esp32p4/src/interrupt_core1/cache_int_map.rs +++ b/esp32p4/src/interrupt_core1/cache_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_cache_int_map(&mut self) -> CORE1_CACHE_INT_MAP_W { CORE1_CACHE_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/can0_int_map.rs b/esp32p4/src/interrupt_core1/can0_int_map.rs index b3e74fe22f..d9b53b5eaf 100644 --- a/esp32p4/src/interrupt_core1/can0_int_map.rs +++ b/esp32p4/src/interrupt_core1/can0_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_can0_int_map(&mut self) -> CORE1_CAN0_INT_MAP_W { CORE1_CAN0_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/can1_int_map.rs b/esp32p4/src/interrupt_core1/can1_int_map.rs index 633cfc8210..e1cceef83b 100644 --- a/esp32p4/src/interrupt_core1/can1_int_map.rs +++ b/esp32p4/src/interrupt_core1/can1_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_can1_int_map(&mut self) -> CORE1_CAN1_INT_MAP_W { CORE1_CAN1_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/can2_int_map.rs b/esp32p4/src/interrupt_core1/can2_int_map.rs index 00c5129e78..79bc6c6843 100644 --- a/esp32p4/src/interrupt_core1/can2_int_map.rs +++ b/esp32p4/src/interrupt_core1/can2_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_can2_int_map(&mut self) -> CORE1_CAN2_INT_MAP_W { CORE1_CAN2_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/clock_gate.rs b/esp32p4/src/interrupt_core1/clock_gate.rs index c8bc454b9d..d0b4cab9bb 100644 --- a/esp32p4/src/interrupt_core1/clock_gate.rs +++ b/esp32p4/src/interrupt_core1/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn core1_reg_clk_en(&mut self) -> CORE1_REG_CLK_EN_W { CORE1_REG_CLK_EN_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/core0_trace_int_map.rs b/esp32p4/src/interrupt_core1/core0_trace_int_map.rs index 308f3476a2..de9e3582b5 100644 --- a/esp32p4/src/interrupt_core1/core0_trace_int_map.rs +++ b/esp32p4/src/interrupt_core1/core0_trace_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_core0_trace_int_map( &mut self, ) -> CORE1_CORE0_TRACE_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/core1_trace_int_map.rs b/esp32p4/src/interrupt_core1/core1_trace_int_map.rs index a6a8c9b7b3..45df23935c 100644 --- a/esp32p4/src/interrupt_core1/core1_trace_int_map.rs +++ b/esp32p4/src/interrupt_core1/core1_trace_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_core1_trace_int_map( &mut self, ) -> CORE1_CORE1_TRACE_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/cpu_int_from_cpu_0_map.rs b/esp32p4/src/interrupt_core1/cpu_int_from_cpu_0_map.rs index ccf1526155..eba3c4c56b 100644 --- a/esp32p4/src/interrupt_core1/cpu_int_from_cpu_0_map.rs +++ b/esp32p4/src/interrupt_core1/cpu_int_from_cpu_0_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_cpu_int_from_cpu_0_map( &mut self, ) -> CORE1_CPU_INT_FROM_CPU_0_MAP_W { diff --git a/esp32p4/src/interrupt_core1/cpu_int_from_cpu_1_map.rs b/esp32p4/src/interrupt_core1/cpu_int_from_cpu_1_map.rs index 00967516be..b14a80f10d 100644 --- a/esp32p4/src/interrupt_core1/cpu_int_from_cpu_1_map.rs +++ b/esp32p4/src/interrupt_core1/cpu_int_from_cpu_1_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_cpu_int_from_cpu_1_map( &mut self, ) -> CORE1_CPU_INT_FROM_CPU_1_MAP_W { diff --git a/esp32p4/src/interrupt_core1/cpu_int_from_cpu_2_map.rs b/esp32p4/src/interrupt_core1/cpu_int_from_cpu_2_map.rs index 22b4d24543..9433523b18 100644 --- a/esp32p4/src/interrupt_core1/cpu_int_from_cpu_2_map.rs +++ b/esp32p4/src/interrupt_core1/cpu_int_from_cpu_2_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_cpu_int_from_cpu_2_map( &mut self, ) -> CORE1_CPU_INT_FROM_CPU_2_MAP_W { diff --git a/esp32p4/src/interrupt_core1/cpu_int_from_cpu_3_map.rs b/esp32p4/src/interrupt_core1/cpu_int_from_cpu_3_map.rs index 360febedfc..458d2acc99 100644 --- a/esp32p4/src/interrupt_core1/cpu_int_from_cpu_3_map.rs +++ b/esp32p4/src/interrupt_core1/cpu_int_from_cpu_3_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_cpu_int_from_cpu_3_map( &mut self, ) -> CORE1_CPU_INT_FROM_CPU_3_MAP_W { diff --git a/esp32p4/src/interrupt_core1/csi_bridge_int_map.rs b/esp32p4/src/interrupt_core1/csi_bridge_int_map.rs index 0884b6bab5..cc60250c53 100644 --- a/esp32p4/src/interrupt_core1/csi_bridge_int_map.rs +++ b/esp32p4/src/interrupt_core1/csi_bridge_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_csi_bridge_int_map( &mut self, ) -> CORE1_CSI_BRIDGE_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/csi_int_map.rs b/esp32p4/src/interrupt_core1/csi_int_map.rs index a4d54ee7b8..f315910233 100644 --- a/esp32p4/src/interrupt_core1/csi_int_map.rs +++ b/esp32p4/src/interrupt_core1/csi_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_csi_int_map(&mut self) -> CORE1_CSI_INT_MAP_W { CORE1_CSI_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/dma2d_in_ch0_int_map.rs b/esp32p4/src/interrupt_core1/dma2d_in_ch0_int_map.rs index d5d525c5d0..0a09040da4 100644 --- a/esp32p4/src/interrupt_core1/dma2d_in_ch0_int_map.rs +++ b/esp32p4/src/interrupt_core1/dma2d_in_ch0_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_dma2d_in_ch0_int_map( &mut self, ) -> CORE1_DMA2D_IN_CH0_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/dma2d_in_ch1_int_map.rs b/esp32p4/src/interrupt_core1/dma2d_in_ch1_int_map.rs index 6e2715fb45..5885857dca 100644 --- a/esp32p4/src/interrupt_core1/dma2d_in_ch1_int_map.rs +++ b/esp32p4/src/interrupt_core1/dma2d_in_ch1_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_dma2d_in_ch1_int_map( &mut self, ) -> CORE1_DMA2D_IN_CH1_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/dma2d_out_ch0_int_map.rs b/esp32p4/src/interrupt_core1/dma2d_out_ch0_int_map.rs index 0a267c97d8..20ca108c38 100644 --- a/esp32p4/src/interrupt_core1/dma2d_out_ch0_int_map.rs +++ b/esp32p4/src/interrupt_core1/dma2d_out_ch0_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_dma2d_out_ch0_int_map( &mut self, ) -> CORE1_DMA2D_OUT_CH0_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/dma2d_out_ch1_int_map.rs b/esp32p4/src/interrupt_core1/dma2d_out_ch1_int_map.rs index aacab644d5..6a9546fac6 100644 --- a/esp32p4/src/interrupt_core1/dma2d_out_ch1_int_map.rs +++ b/esp32p4/src/interrupt_core1/dma2d_out_ch1_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_dma2d_out_ch1_int_map( &mut self, ) -> CORE1_DMA2D_OUT_CH1_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/dma2d_out_ch2_int_map.rs b/esp32p4/src/interrupt_core1/dma2d_out_ch2_int_map.rs index 1fc5f3e2f8..64affa80b2 100644 --- a/esp32p4/src/interrupt_core1/dma2d_out_ch2_int_map.rs +++ b/esp32p4/src/interrupt_core1/dma2d_out_ch2_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_dma2d_out_ch2_int_map( &mut self, ) -> CORE1_DMA2D_OUT_CH2_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/dsi_bridge_int_map.rs b/esp32p4/src/interrupt_core1/dsi_bridge_int_map.rs index 8eedeb07d6..79762227b7 100644 --- a/esp32p4/src/interrupt_core1/dsi_bridge_int_map.rs +++ b/esp32p4/src/interrupt_core1/dsi_bridge_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_dsi_bridge_int_map( &mut self, ) -> CORE1_DSI_BRIDGE_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/dsi_int_map.rs b/esp32p4/src/interrupt_core1/dsi_int_map.rs index d7536ef443..0d59122faf 100644 --- a/esp32p4/src/interrupt_core1/dsi_int_map.rs +++ b/esp32p4/src/interrupt_core1/dsi_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_dsi_int_map(&mut self) -> CORE1_DSI_INT_MAP_W { CORE1_DSI_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/ecc_int_map.rs b/esp32p4/src/interrupt_core1/ecc_int_map.rs index 9ba09ac713..aea9b9cfa5 100644 --- a/esp32p4/src/interrupt_core1/ecc_int_map.rs +++ b/esp32p4/src/interrupt_core1/ecc_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_ecc_int_map(&mut self) -> CORE1_ECC_INT_MAP_W { CORE1_ECC_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/ecdsa_int_map.rs b/esp32p4/src/interrupt_core1/ecdsa_int_map.rs index e327d01f5a..5861c946c4 100644 --- a/esp32p4/src/interrupt_core1/ecdsa_int_map.rs +++ b/esp32p4/src/interrupt_core1/ecdsa_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_ecdsa_int_map(&mut self) -> CORE1_ECDSA_INT_MAP_W { CORE1_ECDSA_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/flash_mspi_int_map.rs b/esp32p4/src/interrupt_core1/flash_mspi_int_map.rs index 334b4d9bcd..eb7ed2b1e9 100644 --- a/esp32p4/src/interrupt_core1/flash_mspi_int_map.rs +++ b/esp32p4/src/interrupt_core1/flash_mspi_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_flash_mspi_int_map( &mut self, ) -> CORE1_FLASH_MSPI_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/gdma_int_map.rs b/esp32p4/src/interrupt_core1/gdma_int_map.rs index a3ea0d6cfc..d4ba4eda1a 100644 --- a/esp32p4/src/interrupt_core1/gdma_int_map.rs +++ b/esp32p4/src/interrupt_core1/gdma_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_gdma_int_map(&mut self) -> CORE1_GDMA_INT_MAP_W { CORE1_GDMA_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/gmii_phy_int_map.rs b/esp32p4/src/interrupt_core1/gmii_phy_int_map.rs index f6858f0d59..9d1c0c8c27 100644 --- a/esp32p4/src/interrupt_core1/gmii_phy_int_map.rs +++ b/esp32p4/src/interrupt_core1/gmii_phy_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_gmii_phy_int_map(&mut self) -> CORE1_GMII_PHY_INT_MAP_W { CORE1_GMII_PHY_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/gpio_int0_map.rs b/esp32p4/src/interrupt_core1/gpio_int0_map.rs index 0022ee4548..da93272b2b 100644 --- a/esp32p4/src/interrupt_core1/gpio_int0_map.rs +++ b/esp32p4/src/interrupt_core1/gpio_int0_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_gpio_int0_map(&mut self) -> CORE1_GPIO_INT0_MAP_W { CORE1_GPIO_INT0_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/gpio_int1_map.rs b/esp32p4/src/interrupt_core1/gpio_int1_map.rs index bfceee8799..3bcba676bf 100644 --- a/esp32p4/src/interrupt_core1/gpio_int1_map.rs +++ b/esp32p4/src/interrupt_core1/gpio_int1_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_gpio_int1_map(&mut self) -> CORE1_GPIO_INT1_MAP_W { CORE1_GPIO_INT1_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/gpio_int2_map.rs b/esp32p4/src/interrupt_core1/gpio_int2_map.rs index 7e89787c09..df8d3f7c09 100644 --- a/esp32p4/src/interrupt_core1/gpio_int2_map.rs +++ b/esp32p4/src/interrupt_core1/gpio_int2_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_gpio_int2_map(&mut self) -> CORE1_GPIO_INT2_MAP_W { CORE1_GPIO_INT2_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/gpio_int3_map.rs b/esp32p4/src/interrupt_core1/gpio_int3_map.rs index 27cdc6d0d7..0f207b4726 100644 --- a/esp32p4/src/interrupt_core1/gpio_int3_map.rs +++ b/esp32p4/src/interrupt_core1/gpio_int3_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_gpio_int3_map(&mut self) -> CORE1_GPIO_INT3_MAP_W { CORE1_GPIO_INT3_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/gpio_pad_comp_int_map.rs b/esp32p4/src/interrupt_core1/gpio_pad_comp_int_map.rs index efd2950936..0809d4ac95 100644 --- a/esp32p4/src/interrupt_core1/gpio_pad_comp_int_map.rs +++ b/esp32p4/src/interrupt_core1/gpio_pad_comp_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_gpio_pad_comp_int_map( &mut self, ) -> CORE1_GPIO_PAD_COMP_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/h264_dma2d_in_ch0_int_map.rs b/esp32p4/src/interrupt_core1/h264_dma2d_in_ch0_int_map.rs index de5430f3a9..dad61cd6f6 100644 --- a/esp32p4/src/interrupt_core1/h264_dma2d_in_ch0_int_map.rs +++ b/esp32p4/src/interrupt_core1/h264_dma2d_in_ch0_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_h264_dma2d_in_ch0_int_map( &mut self, ) -> CORE1_H264_DMA2D_IN_CH0_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/h264_dma2d_in_ch1_int_map.rs b/esp32p4/src/interrupt_core1/h264_dma2d_in_ch1_int_map.rs index 47485858e3..b5140bd860 100644 --- a/esp32p4/src/interrupt_core1/h264_dma2d_in_ch1_int_map.rs +++ b/esp32p4/src/interrupt_core1/h264_dma2d_in_ch1_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_h264_dma2d_in_ch1_int_map( &mut self, ) -> CORE1_H264_DMA2D_IN_CH1_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/h264_dma2d_in_ch2_int_map.rs b/esp32p4/src/interrupt_core1/h264_dma2d_in_ch2_int_map.rs index 768d53280d..bf854c9323 100644 --- a/esp32p4/src/interrupt_core1/h264_dma2d_in_ch2_int_map.rs +++ b/esp32p4/src/interrupt_core1/h264_dma2d_in_ch2_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_h264_dma2d_in_ch2_int_map( &mut self, ) -> CORE1_H264_DMA2D_IN_CH2_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/h264_dma2d_in_ch3_int_map.rs b/esp32p4/src/interrupt_core1/h264_dma2d_in_ch3_int_map.rs index 393661dc80..fb9d1ca135 100644 --- a/esp32p4/src/interrupt_core1/h264_dma2d_in_ch3_int_map.rs +++ b/esp32p4/src/interrupt_core1/h264_dma2d_in_ch3_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_h264_dma2d_in_ch3_int_map( &mut self, ) -> CORE1_H264_DMA2D_IN_CH3_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/h264_dma2d_in_ch4_int_map.rs b/esp32p4/src/interrupt_core1/h264_dma2d_in_ch4_int_map.rs index 7247d1c64f..df5d1a2be2 100644 --- a/esp32p4/src/interrupt_core1/h264_dma2d_in_ch4_int_map.rs +++ b/esp32p4/src/interrupt_core1/h264_dma2d_in_ch4_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_h264_dma2d_in_ch4_int_map( &mut self, ) -> CORE1_H264_DMA2D_IN_CH4_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/h264_dma2d_in_ch5_int_map.rs b/esp32p4/src/interrupt_core1/h264_dma2d_in_ch5_int_map.rs index 21e85ad86f..343d49c113 100644 --- a/esp32p4/src/interrupt_core1/h264_dma2d_in_ch5_int_map.rs +++ b/esp32p4/src/interrupt_core1/h264_dma2d_in_ch5_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_h264_dma2d_in_ch5_int_map( &mut self, ) -> CORE1_H264_DMA2D_IN_CH5_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/h264_dma2d_out_ch0_int_map.rs b/esp32p4/src/interrupt_core1/h264_dma2d_out_ch0_int_map.rs index 2982384fde..0eab09afb3 100644 --- a/esp32p4/src/interrupt_core1/h264_dma2d_out_ch0_int_map.rs +++ b/esp32p4/src/interrupt_core1/h264_dma2d_out_ch0_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_h264_dma2d_out_ch0_int_map( &mut self, ) -> CORE1_H264_DMA2D_OUT_CH0_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/h264_dma2d_out_ch1_int_map.rs b/esp32p4/src/interrupt_core1/h264_dma2d_out_ch1_int_map.rs index ab21f52b09..53ca805dae 100644 --- a/esp32p4/src/interrupt_core1/h264_dma2d_out_ch1_int_map.rs +++ b/esp32p4/src/interrupt_core1/h264_dma2d_out_ch1_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_h264_dma2d_out_ch1_int_map( &mut self, ) -> CORE1_H264_DMA2D_OUT_CH1_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/h264_dma2d_out_ch2_int_map.rs b/esp32p4/src/interrupt_core1/h264_dma2d_out_ch2_int_map.rs index 168bd20f45..8ecbf31c85 100644 --- a/esp32p4/src/interrupt_core1/h264_dma2d_out_ch2_int_map.rs +++ b/esp32p4/src/interrupt_core1/h264_dma2d_out_ch2_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_h264_dma2d_out_ch2_int_map( &mut self, ) -> CORE1_H264_DMA2D_OUT_CH2_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/h264_dma2d_out_ch3_int_map.rs b/esp32p4/src/interrupt_core1/h264_dma2d_out_ch3_int_map.rs index e2947a4308..d42f9830e4 100644 --- a/esp32p4/src/interrupt_core1/h264_dma2d_out_ch3_int_map.rs +++ b/esp32p4/src/interrupt_core1/h264_dma2d_out_ch3_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_h264_dma2d_out_ch3_int_map( &mut self, ) -> CORE1_H264_DMA2D_OUT_CH3_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/h264_dma2d_out_ch4_int_map.rs b/esp32p4/src/interrupt_core1/h264_dma2d_out_ch4_int_map.rs index ec923a77e5..198a6ad2cf 100644 --- a/esp32p4/src/interrupt_core1/h264_dma2d_out_ch4_int_map.rs +++ b/esp32p4/src/interrupt_core1/h264_dma2d_out_ch4_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_h264_dma2d_out_ch4_int_map( &mut self, ) -> CORE1_H264_DMA2D_OUT_CH4_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/h264_reg_int_map.rs b/esp32p4/src/interrupt_core1/h264_reg_int_map.rs index a8344bc5be..5f7df87aa2 100644 --- a/esp32p4/src/interrupt_core1/h264_reg_int_map.rs +++ b/esp32p4/src/interrupt_core1/h264_reg_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_h264_reg_int_map(&mut self) -> CORE1_H264_REG_INT_MAP_W { CORE1_H264_REG_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/hp_core_ctrl_int_map.rs b/esp32p4/src/interrupt_core1/hp_core_ctrl_int_map.rs index e7a5583ee5..7acecb762b 100644 --- a/esp32p4/src/interrupt_core1/hp_core_ctrl_int_map.rs +++ b/esp32p4/src/interrupt_core1/hp_core_ctrl_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_hp_core_ctrl_int_map( &mut self, ) -> CORE1_HP_CORE_CTRL_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/hp_parlio_rx_int_map.rs b/esp32p4/src/interrupt_core1/hp_parlio_rx_int_map.rs index 87019a0a09..f8d56c2cfb 100644 --- a/esp32p4/src/interrupt_core1/hp_parlio_rx_int_map.rs +++ b/esp32p4/src/interrupt_core1/hp_parlio_rx_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_hp_parlio_rx_int_map( &mut self, ) -> CORE1_HP_PARLIO_RX_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/hp_parlio_tx_int_map.rs b/esp32p4/src/interrupt_core1/hp_parlio_tx_int_map.rs index de471570ed..a42534deda 100644 --- a/esp32p4/src/interrupt_core1/hp_parlio_tx_int_map.rs +++ b/esp32p4/src/interrupt_core1/hp_parlio_tx_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_hp_parlio_tx_int_map( &mut self, ) -> CORE1_HP_PARLIO_TX_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/hp_pau_int_map.rs b/esp32p4/src/interrupt_core1/hp_pau_int_map.rs index 904528c322..d39a375e85 100644 --- a/esp32p4/src/interrupt_core1/hp_pau_int_map.rs +++ b/esp32p4/src/interrupt_core1/hp_pau_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_hp_pau_int_map(&mut self) -> CORE1_HP_PAU_INT_MAP_W { CORE1_HP_PAU_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/hp_sysreg_int_map.rs b/esp32p4/src/interrupt_core1/hp_sysreg_int_map.rs index 780b9c9049..0c58e0eef7 100644 --- a/esp32p4/src/interrupt_core1/hp_sysreg_int_map.rs +++ b/esp32p4/src/interrupt_core1/hp_sysreg_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_hp_sysreg_int_map(&mut self) -> CORE1_HP_SYSREG_INT_MAP_W { CORE1_HP_SYSREG_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/i2c0_int_map.rs b/esp32p4/src/interrupt_core1/i2c0_int_map.rs index 9b096aa770..0ccf0ed666 100644 --- a/esp32p4/src/interrupt_core1/i2c0_int_map.rs +++ b/esp32p4/src/interrupt_core1/i2c0_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_i2c0_int_map(&mut self) -> CORE1_I2C0_INT_MAP_W { CORE1_I2C0_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/i2c1_int_map.rs b/esp32p4/src/interrupt_core1/i2c1_int_map.rs index 1a1ce8a1f4..d433ba14c0 100644 --- a/esp32p4/src/interrupt_core1/i2c1_int_map.rs +++ b/esp32p4/src/interrupt_core1/i2c1_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_i2c1_int_map(&mut self) -> CORE1_I2C1_INT_MAP_W { CORE1_I2C1_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/i2s0_int_map.rs b/esp32p4/src/interrupt_core1/i2s0_int_map.rs index 96f40950f3..53010af1b8 100644 --- a/esp32p4/src/interrupt_core1/i2s0_int_map.rs +++ b/esp32p4/src/interrupt_core1/i2s0_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_i2s0_int_map(&mut self) -> CORE1_I2S0_INT_MAP_W { CORE1_I2S0_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/i2s1_int_map.rs b/esp32p4/src/interrupt_core1/i2s1_int_map.rs index c3b00789cb..dcc9a1a9c3 100644 --- a/esp32p4/src/interrupt_core1/i2s1_int_map.rs +++ b/esp32p4/src/interrupt_core1/i2s1_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_i2s1_int_map(&mut self) -> CORE1_I2S1_INT_MAP_W { CORE1_I2S1_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/i2s2_int_map.rs b/esp32p4/src/interrupt_core1/i2s2_int_map.rs index 1fccfbc647..ed675be6ac 100644 --- a/esp32p4/src/interrupt_core1/i2s2_int_map.rs +++ b/esp32p4/src/interrupt_core1/i2s2_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_i2s2_int_map(&mut self) -> CORE1_I2S2_INT_MAP_W { CORE1_I2S2_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/i3c_mst_int_map.rs b/esp32p4/src/interrupt_core1/i3c_mst_int_map.rs index 765c639663..dfe12325f2 100644 --- a/esp32p4/src/interrupt_core1/i3c_mst_int_map.rs +++ b/esp32p4/src/interrupt_core1/i3c_mst_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_i3c_mst_int_map(&mut self) -> CORE1_I3C_MST_INT_MAP_W { CORE1_I3C_MST_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/i3c_slv_int_map.rs b/esp32p4/src/interrupt_core1/i3c_slv_int_map.rs index 2e2072a054..b92ccafaec 100644 --- a/esp32p4/src/interrupt_core1/i3c_slv_int_map.rs +++ b/esp32p4/src/interrupt_core1/i3c_slv_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_i3c_slv_int_map(&mut self) -> CORE1_I3C_SLV_INT_MAP_W { CORE1_I3C_SLV_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/interrupt_reg_date.rs b/esp32p4/src/interrupt_core1/interrupt_reg_date.rs index 1b64c551b1..ddb1e0317e 100644 --- a/esp32p4/src/interrupt_core1/interrupt_reg_date.rs +++ b/esp32p4/src/interrupt_core1/interrupt_reg_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - NA"] #[inline(always)] - #[must_use] pub fn core1_interrupt_reg_date( &mut self, ) -> CORE1_INTERRUPT_REG_DATE_W { diff --git a/esp32p4/src/interrupt_core1/isp_int_map.rs b/esp32p4/src/interrupt_core1/isp_int_map.rs index e944ea60ce..cb0f9a13e2 100644 --- a/esp32p4/src/interrupt_core1/isp_int_map.rs +++ b/esp32p4/src/interrupt_core1/isp_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_isp_int_map(&mut self) -> CORE1_ISP_INT_MAP_W { CORE1_ISP_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/jpeg_int_map.rs b/esp32p4/src/interrupt_core1/jpeg_int_map.rs index b26f64aafd..85231680d3 100644 --- a/esp32p4/src/interrupt_core1/jpeg_int_map.rs +++ b/esp32p4/src/interrupt_core1/jpeg_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_jpeg_int_map(&mut self) -> CORE1_JPEG_INT_MAP_W { CORE1_JPEG_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/km_int_map.rs b/esp32p4/src/interrupt_core1/km_int_map.rs index bb5d8188bf..62f334d14e 100644 --- a/esp32p4/src/interrupt_core1/km_int_map.rs +++ b/esp32p4/src/interrupt_core1/km_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_km_int_map(&mut self) -> CORE1_KM_INT_MAP_W { CORE1_KM_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/lcd_cam_int_map.rs b/esp32p4/src/interrupt_core1/lcd_cam_int_map.rs index 87b507ea6f..317c92f6c3 100644 --- a/esp32p4/src/interrupt_core1/lcd_cam_int_map.rs +++ b/esp32p4/src/interrupt_core1/lcd_cam_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_lcd_cam_int_map(&mut self) -> CORE1_LCD_CAM_INT_MAP_W { CORE1_LCD_CAM_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/ledc_int_map.rs b/esp32p4/src/interrupt_core1/ledc_int_map.rs index 7ddf83afd3..2ab2ba3ca1 100644 --- a/esp32p4/src/interrupt_core1/ledc_int_map.rs +++ b/esp32p4/src/interrupt_core1/ledc_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_ledc_int_map(&mut self) -> CORE1_LEDC_INT_MAP_W { CORE1_LEDC_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/lp_adc_int_map.rs b/esp32p4/src/interrupt_core1/lp_adc_int_map.rs index 1772c634f0..09cbccb095 100644 --- a/esp32p4/src/interrupt_core1/lp_adc_int_map.rs +++ b/esp32p4/src/interrupt_core1/lp_adc_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_lp_adc_int_map(&mut self) -> CORE1_LP_ADC_INT_MAP_W { CORE1_LP_ADC_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/lp_anaperi_int_map.rs b/esp32p4/src/interrupt_core1/lp_anaperi_int_map.rs index 65e8b2438b..af30c50de1 100644 --- a/esp32p4/src/interrupt_core1/lp_anaperi_int_map.rs +++ b/esp32p4/src/interrupt_core1/lp_anaperi_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_lp_anaperi_int_map( &mut self, ) -> CORE1_LP_ANAPERI_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/lp_efuse_int_map.rs b/esp32p4/src/interrupt_core1/lp_efuse_int_map.rs index 525f5ec3f1..0d8f5cb8ae 100644 --- a/esp32p4/src/interrupt_core1/lp_efuse_int_map.rs +++ b/esp32p4/src/interrupt_core1/lp_efuse_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_lp_efuse_int_map(&mut self) -> CORE1_LP_EFUSE_INT_MAP_W { CORE1_LP_EFUSE_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/lp_gpio_int_map.rs b/esp32p4/src/interrupt_core1/lp_gpio_int_map.rs index e09f758044..94728d4a8b 100644 --- a/esp32p4/src/interrupt_core1/lp_gpio_int_map.rs +++ b/esp32p4/src/interrupt_core1/lp_gpio_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_lp_gpio_int_map(&mut self) -> CORE1_LP_GPIO_INT_MAP_W { CORE1_LP_GPIO_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/lp_huk_int_map.rs b/esp32p4/src/interrupt_core1/lp_huk_int_map.rs index 9db50379cb..2889826af2 100644 --- a/esp32p4/src/interrupt_core1/lp_huk_int_map.rs +++ b/esp32p4/src/interrupt_core1/lp_huk_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_lp_huk_int_map(&mut self) -> CORE1_LP_HUK_INT_MAP_W { CORE1_LP_HUK_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/lp_i2c_int_map.rs b/esp32p4/src/interrupt_core1/lp_i2c_int_map.rs index a55b5a47c7..7b3d41c819 100644 --- a/esp32p4/src/interrupt_core1/lp_i2c_int_map.rs +++ b/esp32p4/src/interrupt_core1/lp_i2c_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_lp_i2c_int_map(&mut self) -> CORE1_LP_I2C_INT_MAP_W { CORE1_LP_I2C_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/lp_i2s_int_map.rs b/esp32p4/src/interrupt_core1/lp_i2s_int_map.rs index 736330ba78..cfcbf2a530 100644 --- a/esp32p4/src/interrupt_core1/lp_i2s_int_map.rs +++ b/esp32p4/src/interrupt_core1/lp_i2s_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_lp_i2s_int_map(&mut self) -> CORE1_LP_I2S_INT_MAP_W { CORE1_LP_I2S_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/lp_rtc_int_map.rs b/esp32p4/src/interrupt_core1/lp_rtc_int_map.rs index 60a29b2ecc..14033afad7 100644 --- a/esp32p4/src/interrupt_core1/lp_rtc_int_map.rs +++ b/esp32p4/src/interrupt_core1/lp_rtc_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_lp_rtc_int_map(&mut self) -> CORE1_LP_RTC_INT_MAP_W { CORE1_LP_RTC_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/lp_spi_int_map.rs b/esp32p4/src/interrupt_core1/lp_spi_int_map.rs index 760343d15c..06cb3aa025 100644 --- a/esp32p4/src/interrupt_core1/lp_spi_int_map.rs +++ b/esp32p4/src/interrupt_core1/lp_spi_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_lp_spi_int_map(&mut self) -> CORE1_LP_SPI_INT_MAP_W { CORE1_LP_SPI_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/lp_sw_int_map.rs b/esp32p4/src/interrupt_core1/lp_sw_int_map.rs index d37cf5c3d1..c9798d4196 100644 --- a/esp32p4/src/interrupt_core1/lp_sw_int_map.rs +++ b/esp32p4/src/interrupt_core1/lp_sw_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_lp_sw_int_map(&mut self) -> CORE1_LP_SW_INT_MAP_W { CORE1_LP_SW_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/lp_sysreg_int_map.rs b/esp32p4/src/interrupt_core1/lp_sysreg_int_map.rs index ea88c0ed61..8de19582e0 100644 --- a/esp32p4/src/interrupt_core1/lp_sysreg_int_map.rs +++ b/esp32p4/src/interrupt_core1/lp_sysreg_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_lp_sysreg_int_map(&mut self) -> CORE1_LP_SYSREG_INT_MAP_W { CORE1_LP_SYSREG_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/lp_timer_reg_0_int_map.rs b/esp32p4/src/interrupt_core1/lp_timer_reg_0_int_map.rs index cd5a7e9be6..83bd584c44 100644 --- a/esp32p4/src/interrupt_core1/lp_timer_reg_0_int_map.rs +++ b/esp32p4/src/interrupt_core1/lp_timer_reg_0_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_lp_timer_reg_0_int_map( &mut self, ) -> CORE1_LP_TIMER_REG_0_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/lp_timer_reg_1_int_map.rs b/esp32p4/src/interrupt_core1/lp_timer_reg_1_int_map.rs index 93f88c0bb1..76a6ca8391 100644 --- a/esp32p4/src/interrupt_core1/lp_timer_reg_1_int_map.rs +++ b/esp32p4/src/interrupt_core1/lp_timer_reg_1_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_lp_timer_reg_1_int_map( &mut self, ) -> CORE1_LP_TIMER_REG_1_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/lp_touch_int_map.rs b/esp32p4/src/interrupt_core1/lp_touch_int_map.rs index 9bd8cfdd2f..67dd12a910 100644 --- a/esp32p4/src/interrupt_core1/lp_touch_int_map.rs +++ b/esp32p4/src/interrupt_core1/lp_touch_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_lp_touch_int_map(&mut self) -> CORE1_LP_TOUCH_INT_MAP_W { CORE1_LP_TOUCH_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/lp_tsens_int_map.rs b/esp32p4/src/interrupt_core1/lp_tsens_int_map.rs index 79de8f487d..7d73b869f2 100644 --- a/esp32p4/src/interrupt_core1/lp_tsens_int_map.rs +++ b/esp32p4/src/interrupt_core1/lp_tsens_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_lp_tsens_int_map(&mut self) -> CORE1_LP_TSENS_INT_MAP_W { CORE1_LP_TSENS_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/lp_uart_int_map.rs b/esp32p4/src/interrupt_core1/lp_uart_int_map.rs index fee100ebe8..ada17daaaf 100644 --- a/esp32p4/src/interrupt_core1/lp_uart_int_map.rs +++ b/esp32p4/src/interrupt_core1/lp_uart_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_lp_uart_int_map(&mut self) -> CORE1_LP_UART_INT_MAP_W { CORE1_LP_UART_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/lp_wdt_int_map.rs b/esp32p4/src/interrupt_core1/lp_wdt_int_map.rs index e89761c85f..83a49ea81b 100644 --- a/esp32p4/src/interrupt_core1/lp_wdt_int_map.rs +++ b/esp32p4/src/interrupt_core1/lp_wdt_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_lp_wdt_int_map(&mut self) -> CORE1_LP_WDT_INT_MAP_W { CORE1_LP_WDT_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/lpi_int_map.rs b/esp32p4/src/interrupt_core1/lpi_int_map.rs index 5ce4720c46..45abb76b56 100644 --- a/esp32p4/src/interrupt_core1/lpi_int_map.rs +++ b/esp32p4/src/interrupt_core1/lpi_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_lpi_int_map(&mut self) -> CORE1_LPI_INT_MAP_W { CORE1_LPI_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/mb_hp_int_map.rs b/esp32p4/src/interrupt_core1/mb_hp_int_map.rs index 359928457a..51f0073269 100644 --- a/esp32p4/src/interrupt_core1/mb_hp_int_map.rs +++ b/esp32p4/src/interrupt_core1/mb_hp_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_mb_hp_int_map(&mut self) -> CORE1_MB_HP_INT_MAP_W { CORE1_MB_HP_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/mb_lp_int_map.rs b/esp32p4/src/interrupt_core1/mb_lp_int_map.rs index 682f45dc81..d434a15030 100644 --- a/esp32p4/src/interrupt_core1/mb_lp_int_map.rs +++ b/esp32p4/src/interrupt_core1/mb_lp_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_mb_lp_int_map(&mut self) -> CORE1_MB_LP_INT_MAP_W { CORE1_MB_LP_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/pcnt_int_map.rs b/esp32p4/src/interrupt_core1/pcnt_int_map.rs index e8e6e540b3..0dfdf77d16 100644 --- a/esp32p4/src/interrupt_core1/pcnt_int_map.rs +++ b/esp32p4/src/interrupt_core1/pcnt_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_pcnt_int_map(&mut self) -> CORE1_PCNT_INT_MAP_W { CORE1_PCNT_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/pmt_int_map.rs b/esp32p4/src/interrupt_core1/pmt_int_map.rs index 879ea11402..6da7404de8 100644 --- a/esp32p4/src/interrupt_core1/pmt_int_map.rs +++ b/esp32p4/src/interrupt_core1/pmt_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_pmt_int_map(&mut self) -> CORE1_PMT_INT_MAP_W { CORE1_PMT_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/pmu_reg_0_int_map.rs b/esp32p4/src/interrupt_core1/pmu_reg_0_int_map.rs index 8525299621..56f7f9007c 100644 --- a/esp32p4/src/interrupt_core1/pmu_reg_0_int_map.rs +++ b/esp32p4/src/interrupt_core1/pmu_reg_0_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_pmu_reg_0_int_map(&mut self) -> CORE1_PMU_REG_0_INT_MAP_W { CORE1_PMU_REG_0_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/pmu_reg_1_int_map.rs b/esp32p4/src/interrupt_core1/pmu_reg_1_int_map.rs index 1e9b05a330..82fc928625 100644 --- a/esp32p4/src/interrupt_core1/pmu_reg_1_int_map.rs +++ b/esp32p4/src/interrupt_core1/pmu_reg_1_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_pmu_reg_1_int_map(&mut self) -> CORE1_PMU_REG_1_INT_MAP_W { CORE1_PMU_REG_1_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/ppa_int_map.rs b/esp32p4/src/interrupt_core1/ppa_int_map.rs index eb5d6c6455..5bab656f9c 100644 --- a/esp32p4/src/interrupt_core1/ppa_int_map.rs +++ b/esp32p4/src/interrupt_core1/ppa_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_ppa_int_map(&mut self) -> CORE1_PPA_INT_MAP_W { CORE1_PPA_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/psram_mspi_int_map.rs b/esp32p4/src/interrupt_core1/psram_mspi_int_map.rs index 58cf97dea7..57c68c45a6 100644 --- a/esp32p4/src/interrupt_core1/psram_mspi_int_map.rs +++ b/esp32p4/src/interrupt_core1/psram_mspi_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_psram_mspi_int_map( &mut self, ) -> CORE1_PSRAM_MSPI_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/pwm0_int_map.rs b/esp32p4/src/interrupt_core1/pwm0_int_map.rs index 5d4b347ffe..509192c63c 100644 --- a/esp32p4/src/interrupt_core1/pwm0_int_map.rs +++ b/esp32p4/src/interrupt_core1/pwm0_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_pwm0_int_map(&mut self) -> CORE1_PWM0_INT_MAP_W { CORE1_PWM0_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/pwm1_int_map.rs b/esp32p4/src/interrupt_core1/pwm1_int_map.rs index 32c5b0c7ad..9bfe64ca15 100644 --- a/esp32p4/src/interrupt_core1/pwm1_int_map.rs +++ b/esp32p4/src/interrupt_core1/pwm1_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_pwm1_int_map(&mut self) -> CORE1_PWM1_INT_MAP_W { CORE1_PWM1_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/rmt_int_map.rs b/esp32p4/src/interrupt_core1/rmt_int_map.rs index 18a09cbca4..85698b2c4a 100644 --- a/esp32p4/src/interrupt_core1/rmt_int_map.rs +++ b/esp32p4/src/interrupt_core1/rmt_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_rmt_int_map(&mut self) -> CORE1_RMT_INT_MAP_W { CORE1_RMT_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/rsa_int_map.rs b/esp32p4/src/interrupt_core1/rsa_int_map.rs index 235c61b30d..6b113a9809 100644 --- a/esp32p4/src/interrupt_core1/rsa_int_map.rs +++ b/esp32p4/src/interrupt_core1/rsa_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_rsa_int_map(&mut self) -> CORE1_RSA_INT_MAP_W { CORE1_RSA_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/sbd_int_map.rs b/esp32p4/src/interrupt_core1/sbd_int_map.rs index 48160fe686..09ac4ab05b 100644 --- a/esp32p4/src/interrupt_core1/sbd_int_map.rs +++ b/esp32p4/src/interrupt_core1/sbd_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_sbd_int_map(&mut self) -> CORE1_SBD_INT_MAP_W { CORE1_SBD_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/sdio_host_int_map.rs b/esp32p4/src/interrupt_core1/sdio_host_int_map.rs index 8b4b26128e..370bc41f9f 100644 --- a/esp32p4/src/interrupt_core1/sdio_host_int_map.rs +++ b/esp32p4/src/interrupt_core1/sdio_host_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_sdio_host_int_map(&mut self) -> CORE1_SDIO_HOST_INT_MAP_W { CORE1_SDIO_HOST_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/sha_int_map.rs b/esp32p4/src/interrupt_core1/sha_int_map.rs index 5f365db9d2..46f3b9010c 100644 --- a/esp32p4/src/interrupt_core1/sha_int_map.rs +++ b/esp32p4/src/interrupt_core1/sha_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_sha_int_map(&mut self) -> CORE1_SHA_INT_MAP_W { CORE1_SHA_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/spi2_int_map.rs b/esp32p4/src/interrupt_core1/spi2_int_map.rs index dce9b6c12f..5a23fcd4d3 100644 --- a/esp32p4/src/interrupt_core1/spi2_int_map.rs +++ b/esp32p4/src/interrupt_core1/spi2_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_spi2_int_map(&mut self) -> CORE1_SPI2_INT_MAP_W { CORE1_SPI2_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/spi3_int_map.rs b/esp32p4/src/interrupt_core1/spi3_int_map.rs index 1c7e393573..a32dd2df81 100644 --- a/esp32p4/src/interrupt_core1/spi3_int_map.rs +++ b/esp32p4/src/interrupt_core1/spi3_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_spi3_int_map(&mut self) -> CORE1_SPI3_INT_MAP_W { CORE1_SPI3_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/sys_icm_int_map.rs b/esp32p4/src/interrupt_core1/sys_icm_int_map.rs index 3ad33c72fe..69c6f2721c 100644 --- a/esp32p4/src/interrupt_core1/sys_icm_int_map.rs +++ b/esp32p4/src/interrupt_core1/sys_icm_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_sys_icm_int_map(&mut self) -> CORE1_SYS_ICM_INT_MAP_W { CORE1_SYS_ICM_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/systimer_target0_int_map.rs b/esp32p4/src/interrupt_core1/systimer_target0_int_map.rs index 15972ab30e..fe76a1d3ae 100644 --- a/esp32p4/src/interrupt_core1/systimer_target0_int_map.rs +++ b/esp32p4/src/interrupt_core1/systimer_target0_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_systimer_target0_int_map( &mut self, ) -> CORE1_SYSTIMER_TARGET0_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/systimer_target1_int_map.rs b/esp32p4/src/interrupt_core1/systimer_target1_int_map.rs index 35e7bc14af..1d2da0f2e8 100644 --- a/esp32p4/src/interrupt_core1/systimer_target1_int_map.rs +++ b/esp32p4/src/interrupt_core1/systimer_target1_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_systimer_target1_int_map( &mut self, ) -> CORE1_SYSTIMER_TARGET1_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/systimer_target2_int_map.rs b/esp32p4/src/interrupt_core1/systimer_target2_int_map.rs index faa0a25b79..9d78e19b63 100644 --- a/esp32p4/src/interrupt_core1/systimer_target2_int_map.rs +++ b/esp32p4/src/interrupt_core1/systimer_target2_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_systimer_target2_int_map( &mut self, ) -> CORE1_SYSTIMER_TARGET2_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/timergrp0_t0_int_map.rs b/esp32p4/src/interrupt_core1/timergrp0_t0_int_map.rs index 4165652a57..704a55c6bd 100644 --- a/esp32p4/src/interrupt_core1/timergrp0_t0_int_map.rs +++ b/esp32p4/src/interrupt_core1/timergrp0_t0_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_timergrp0_t0_int_map( &mut self, ) -> CORE1_TIMERGRP0_T0_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/timergrp0_t1_int_map.rs b/esp32p4/src/interrupt_core1/timergrp0_t1_int_map.rs index 06530c993f..5d5694e3c3 100644 --- a/esp32p4/src/interrupt_core1/timergrp0_t1_int_map.rs +++ b/esp32p4/src/interrupt_core1/timergrp0_t1_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_timergrp0_t1_int_map( &mut self, ) -> CORE1_TIMERGRP0_T1_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/timergrp0_wdt_int_map.rs b/esp32p4/src/interrupt_core1/timergrp0_wdt_int_map.rs index 0ae711b252..36429f12d1 100644 --- a/esp32p4/src/interrupt_core1/timergrp0_wdt_int_map.rs +++ b/esp32p4/src/interrupt_core1/timergrp0_wdt_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_timergrp0_wdt_int_map( &mut self, ) -> CORE1_TIMERGRP0_WDT_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/timergrp1_t0_int_map.rs b/esp32p4/src/interrupt_core1/timergrp1_t0_int_map.rs index 56b658a1e9..afa07e524b 100644 --- a/esp32p4/src/interrupt_core1/timergrp1_t0_int_map.rs +++ b/esp32p4/src/interrupt_core1/timergrp1_t0_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_timergrp1_t0_int_map( &mut self, ) -> CORE1_TIMERGRP1_T0_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/timergrp1_t1_int_map.rs b/esp32p4/src/interrupt_core1/timergrp1_t1_int_map.rs index 4e4445d009..d04dab954a 100644 --- a/esp32p4/src/interrupt_core1/timergrp1_t1_int_map.rs +++ b/esp32p4/src/interrupt_core1/timergrp1_t1_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_timergrp1_t1_int_map( &mut self, ) -> CORE1_TIMERGRP1_T1_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/timergrp1_wdt_int_map.rs b/esp32p4/src/interrupt_core1/timergrp1_wdt_int_map.rs index 598e4a36ca..81a0d8a81c 100644 --- a/esp32p4/src/interrupt_core1/timergrp1_wdt_int_map.rs +++ b/esp32p4/src/interrupt_core1/timergrp1_wdt_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_timergrp1_wdt_int_map( &mut self, ) -> CORE1_TIMERGRP1_WDT_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/uart0_int_map.rs b/esp32p4/src/interrupt_core1/uart0_int_map.rs index 9ad8977d6b..d27e8891fb 100644 --- a/esp32p4/src/interrupt_core1/uart0_int_map.rs +++ b/esp32p4/src/interrupt_core1/uart0_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_uart0_int_map(&mut self) -> CORE1_UART0_INT_MAP_W { CORE1_UART0_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/uart1_int_map.rs b/esp32p4/src/interrupt_core1/uart1_int_map.rs index 2e427afb27..fd212f5062 100644 --- a/esp32p4/src/interrupt_core1/uart1_int_map.rs +++ b/esp32p4/src/interrupt_core1/uart1_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_uart1_int_map(&mut self) -> CORE1_UART1_INT_MAP_W { CORE1_UART1_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/uart2_int_map.rs b/esp32p4/src/interrupt_core1/uart2_int_map.rs index fabcccb1b3..17fc43726c 100644 --- a/esp32p4/src/interrupt_core1/uart2_int_map.rs +++ b/esp32p4/src/interrupt_core1/uart2_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_uart2_int_map(&mut self) -> CORE1_UART2_INT_MAP_W { CORE1_UART2_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/uart3_int_map.rs b/esp32p4/src/interrupt_core1/uart3_int_map.rs index 5117c8c865..3c2ebe6873 100644 --- a/esp32p4/src/interrupt_core1/uart3_int_map.rs +++ b/esp32p4/src/interrupt_core1/uart3_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_uart3_int_map(&mut self) -> CORE1_UART3_INT_MAP_W { CORE1_UART3_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/uart4_int_map.rs b/esp32p4/src/interrupt_core1/uart4_int_map.rs index a0771d3c33..e283c7d3e2 100644 --- a/esp32p4/src/interrupt_core1/uart4_int_map.rs +++ b/esp32p4/src/interrupt_core1/uart4_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_uart4_int_map(&mut self) -> CORE1_UART4_INT_MAP_W { CORE1_UART4_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/uhci0_int_map.rs b/esp32p4/src/interrupt_core1/uhci0_int_map.rs index b4b228a233..ef929ed434 100644 --- a/esp32p4/src/interrupt_core1/uhci0_int_map.rs +++ b/esp32p4/src/interrupt_core1/uhci0_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_uhci0_int_map(&mut self) -> CORE1_UHCI0_INT_MAP_W { CORE1_UHCI0_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/usb_device_int_map.rs b/esp32p4/src/interrupt_core1/usb_device_int_map.rs index ec576db33d..98c4f9d2fd 100644 --- a/esp32p4/src/interrupt_core1/usb_device_int_map.rs +++ b/esp32p4/src/interrupt_core1/usb_device_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_usb_device_int_map( &mut self, ) -> CORE1_USB_DEVICE_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/usb_otg11_int_map.rs b/esp32p4/src/interrupt_core1/usb_otg11_int_map.rs index a4add8c5db..4c839060b0 100644 --- a/esp32p4/src/interrupt_core1/usb_otg11_int_map.rs +++ b/esp32p4/src/interrupt_core1/usb_otg11_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_usb_otg11_int_map(&mut self) -> CORE1_USB_OTG11_INT_MAP_W { CORE1_USB_OTG11_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/interrupt_core1/usb_otg_endp_multi_proc_int_map.rs b/esp32p4/src/interrupt_core1/usb_otg_endp_multi_proc_int_map.rs index 7e0e85c4a0..4ba0c99f53 100644 --- a/esp32p4/src/interrupt_core1/usb_otg_endp_multi_proc_int_map.rs +++ b/esp32p4/src/interrupt_core1/usb_otg_endp_multi_proc_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_usb_otg_endp_multi_proc_int_map( &mut self, ) -> CORE1_USB_OTG_ENDP_MULTI_PROC_INT_MAP_W { diff --git a/esp32p4/src/interrupt_core1/usb_otg_int_map.rs b/esp32p4/src/interrupt_core1/usb_otg_int_map.rs index 65c54b6bdf..e1aba804ef 100644 --- a/esp32p4/src/interrupt_core1/usb_otg_int_map.rs +++ b/esp32p4/src/interrupt_core1/usb_otg_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn core1_usb_otg_int_map(&mut self) -> CORE1_USB_OTG_INT_MAP_W { CORE1_USB_OTG_INT_MAP_W::new(self, 0) } diff --git a/esp32p4/src/io_mux/date.rs b/esp32p4/src/io_mux/date.rs index 9108cf7eb2..6427b56e94 100644 --- a/esp32p4/src/io_mux/date.rs +++ b/esp32p4/src/io_mux/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - csv date"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32p4/src/io_mux/gpio.rs b/esp32p4/src/io_mux/gpio.rs index 879e2bce1b..6cacc8c4b3 100644 --- a/esp32p4/src/io_mux/gpio.rs +++ b/esp32p4/src/io_mux/gpio.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configures whether or not to enable the output of GPIOn in sleep mode. 0: Disable 1: Enable"] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Configures whether or not to enter sleep mode for GPIOn. 0: Not enter 1: Enter"] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Configure whether or not to enable pull-down resistor of GPIOn during sleep mode. 0: Disable 1: Enable"] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Configures whether or not to enable pull-up resistor of GPIOn during sleep mode. 0: Disable 1: Enable"] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Configures whether or not to enable the input of GPIOn during sleep mode. 0: Disable 1: Enable"] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bits 5:6 - Configures the drive strength of GPIOn during sleep mode. 0: ~5 mA 1: ~10 mA 2: ~20 mA 3: ~40 mA"] #[inline(always)] - #[must_use] pub fn mcu_drv(&mut self) -> MCU_DRV_W { MCU_DRV_W::new(self, 5) } #[doc = "Bit 7 - Configures whether or not to enable pull-down resistor of GPIOn. 0: Disable 1: Enable"] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Configures whether or not enable pull-up resistor of GPIOn. 0: Disable 1: Enable"] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Configures whether or not to enable input of GPIOn. 0: Disable 1: Enable"] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Configures the drive strength of GPIOn. 0: ~5 mA 1: ~10 mA 2: ~20 mA 3: ~40 mA"] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Configures to select IO MUX function for this pin. 0: Select Function 0 1: Select Function 1 ......"] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Configures whether or not to enable filter for pin input signals. 0: Disable 1: Enable"] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32p4/src/isp/ae_bx.rs b/esp32p4/src/isp/ae_bx.rs index 4ab092786f..535b706c86 100644 --- a/esp32p4/src/isp/ae_bx.rs +++ b/esp32p4/src/isp/ae_bx.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - this field configures every block x size"] #[inline(always)] - #[must_use] pub fn ae_x_bsize(&mut self) -> AE_X_BSIZE_W { AE_X_BSIZE_W::new(self, 0) } #[doc = "Bits 11:21 - this field configures first block start x address"] #[inline(always)] - #[must_use] pub fn ae_x_start(&mut self) -> AE_X_START_W { AE_X_START_W::new(self, 11) } diff --git a/esp32p4/src/isp/ae_by.rs b/esp32p4/src/isp/ae_by.rs index d9bfd95d39..f75ab4dca5 100644 --- a/esp32p4/src/isp/ae_by.rs +++ b/esp32p4/src/isp/ae_by.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - this field configures every block y size"] #[inline(always)] - #[must_use] pub fn ae_y_bsize(&mut self) -> AE_Y_BSIZE_W { AE_Y_BSIZE_W::new(self, 0) } #[doc = "Bits 11:21 - this field configures first block start y address"] #[inline(always)] - #[must_use] pub fn ae_y_start(&mut self) -> AE_Y_START_W { AE_Y_START_W::new(self, 11) } diff --git a/esp32p4/src/isp/ae_ctrl.rs b/esp32p4/src/isp/ae_ctrl.rs index 526c2d028d..cbc4749c92 100644 --- a/esp32p4/src/isp/ae_ctrl.rs +++ b/esp32p4/src/isp/ae_ctrl.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - write 1 to this bit triggers one statistic event"] #[inline(always)] - #[must_use] pub fn ae_update(&mut self) -> AE_UPDATE_W { AE_UPDATE_W::new(self, 0) } #[doc = "Bit 1 - this field configures ae input data source, 0: data from median, 1: data from gama"] #[inline(always)] - #[must_use] pub fn ae_select(&mut self) -> AE_SELECT_W { AE_SELECT_W::new(self, 1) } diff --git a/esp32p4/src/isp/ae_monitor.rs b/esp32p4/src/isp/ae_monitor.rs index 32c0c3b5ac..33fdc87fef 100644 --- a/esp32p4/src/isp/ae_monitor.rs +++ b/esp32p4/src/isp/ae_monitor.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - this field configures the lower lum threshold of ae monitor"] #[inline(always)] - #[must_use] pub fn tl(&mut self) -> TL_W { TL_W::new(self, 0) } #[doc = "Bits 8:15 - this field configures the higher lum threshold of ae monitor"] #[inline(always)] - #[must_use] pub fn th(&mut self) -> TH_W { TH_W::new(self, 8) } #[doc = "Bits 16:21 - this field cnfigures ae monitor frame period"] #[inline(always)] - #[must_use] pub fn period(&mut self) -> PERIOD_W { PERIOD_W::new(self, 16) } diff --git a/esp32p4/src/isp/ae_win_reciprocal.rs b/esp32p4/src/isp/ae_win_reciprocal.rs index 7522811168..9c83654532 100644 --- a/esp32p4/src/isp/ae_win_reciprocal.rs +++ b/esp32p4/src/isp/ae_win_reciprocal.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - this field configures the reciprocal of each subwin_pixnum, 20bit fraction"] #[inline(always)] - #[must_use] pub fn ae_subwin_recip(&mut self) -> AE_SUBWIN_RECIP_W { AE_SUBWIN_RECIP_W::new(self, 0) } diff --git a/esp32p4/src/isp/ae_winpixnum.rs b/esp32p4/src/isp/ae_winpixnum.rs index 4295a95116..838bd91414 100644 --- a/esp32p4/src/isp/ae_winpixnum.rs +++ b/esp32p4/src/isp/ae_winpixnum.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:16 - this field configures the pixel number of each sub win"] #[inline(always)] - #[must_use] pub fn ae_subwin_pixnum(&mut self) -> AE_SUBWIN_PIXNUM_W { AE_SUBWIN_PIXNUM_W::new(self, 0) } diff --git a/esp32p4/src/isp/af_ctrl0.rs b/esp32p4/src/isp/af_ctrl0.rs index c10b221760..ca47b2d7cb 100644 --- a/esp32p4/src/isp/af_ctrl0.rs +++ b/esp32p4/src/isp/af_ctrl0.rs @@ -46,25 +46,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - this bit configures auto_update enable. when set to 1, will update sum and lum each frame"] #[inline(always)] - #[must_use] pub fn af_auto_update(&mut self) -> AF_AUTO_UPDATE_W { AF_AUTO_UPDATE_W::new(self, 0) } #[doc = "Bit 4 - write 1 to this bit will update the sum and lum once"] #[inline(always)] - #[must_use] pub fn af_manual_update(&mut self) -> AF_MANUAL_UPDATE_W { AF_MANUAL_UPDATE_W::new(self, 4) } #[doc = "Bits 8:11 - this field configures env threshold. when both sum and lum changes larger than this value, consider environment changes and need to trigger a new autofocus. 4Bit fractional"] #[inline(always)] - #[must_use] pub fn af_env_threshold(&mut self) -> AF_ENV_THRESHOLD_W { AF_ENV_THRESHOLD_W::new(self, 8) } #[doc = "Bits 16:23 - this field configures environment changes detection period (frame). When set to 0, disable this function"] #[inline(always)] - #[must_use] pub fn af_env_period(&mut self) -> AF_ENV_PERIOD_W { AF_ENV_PERIOD_W::new(self, 16) } diff --git a/esp32p4/src/isp/af_ctrl1.rs b/esp32p4/src/isp/af_ctrl1.rs index f703354e7b..d36f713a53 100644 --- a/esp32p4/src/isp/af_ctrl1.rs +++ b/esp32p4/src/isp/af_ctrl1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - this field configures pixnum used when calculating the autofocus threshold. Set to 0 to disable threshold calculation"] #[inline(always)] - #[must_use] pub fn af_thpixnum(&mut self) -> AF_THPIXNUM_W { AF_THPIXNUM_W::new(self, 0) } diff --git a/esp32p4/src/isp/af_env_user_th_lum.rs b/esp32p4/src/isp/af_env_user_th_lum.rs index 066765927e..e9fe76f590 100644 --- a/esp32p4/src/isp/af_env_user_th_lum.rs +++ b/esp32p4/src/isp/af_env_user_th_lum.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - this field configures user setup env detect lum threshold"] #[inline(always)] - #[must_use] pub fn af_env_user_threshold_lum( &mut self, ) -> AF_ENV_USER_THRESHOLD_LUM_W { diff --git a/esp32p4/src/isp/af_env_user_th_sum.rs b/esp32p4/src/isp/af_env_user_th_sum.rs index 545af1da98..277dfcd831 100644 --- a/esp32p4/src/isp/af_env_user_th_sum.rs +++ b/esp32p4/src/isp/af_env_user_th_sum.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - this field configures user setup env detect sum threshold"] #[inline(always)] - #[must_use] pub fn af_env_user_threshold_sum( &mut self, ) -> AF_ENV_USER_THRESHOLD_SUM_W { diff --git a/esp32p4/src/isp/af_gen_th_ctrl.rs b/esp32p4/src/isp/af_gen_th_ctrl.rs index 77966797b8..fb53b103bf 100644 --- a/esp32p4/src/isp/af_gen_th_ctrl.rs +++ b/esp32p4/src/isp/af_gen_th_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - this field configures min threshold when use auto_threshold"] #[inline(always)] - #[must_use] pub fn af_gen_threshold_min(&mut self) -> AF_GEN_THRESHOLD_MIN_W { AF_GEN_THRESHOLD_MIN_W::new(self, 0) } #[doc = "Bits 16:31 - this field configures max threshold when use auto_threshold"] #[inline(always)] - #[must_use] pub fn af_gen_threshold_max(&mut self) -> AF_GEN_THRESHOLD_MAX_W { AF_GEN_THRESHOLD_MAX_W::new(self, 16) } diff --git a/esp32p4/src/isp/af_hscale_a.rs b/esp32p4/src/isp/af_hscale_a.rs index 8976960e16..48dba2a459 100644 --- a/esp32p4/src/isp/af_hscale_a.rs +++ b/esp32p4/src/isp/af_hscale_a.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - this field configures left coordinate of focus window a, must >= 2"] #[inline(always)] - #[must_use] pub fn af_rpoint_a(&mut self) -> AF_RPOINT_A_W { AF_RPOINT_A_W::new(self, 0) } #[doc = "Bits 16:27 - this field configures top coordinate of focus window a, must >= 2"] #[inline(always)] - #[must_use] pub fn af_lpoint_a(&mut self) -> AF_LPOINT_A_W { AF_LPOINT_A_W::new(self, 16) } diff --git a/esp32p4/src/isp/af_hscale_b.rs b/esp32p4/src/isp/af_hscale_b.rs index 1d8e9f1235..3308469928 100644 --- a/esp32p4/src/isp/af_hscale_b.rs +++ b/esp32p4/src/isp/af_hscale_b.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - this field configures left coordinate of focus window b, must >= 2"] #[inline(always)] - #[must_use] pub fn af_rpoint_b(&mut self) -> AF_RPOINT_B_W { AF_RPOINT_B_W::new(self, 0) } #[doc = "Bits 16:27 - this field configures top coordinate of focus window b, must >= 2"] #[inline(always)] - #[must_use] pub fn af_lpoint_b(&mut self) -> AF_LPOINT_B_W { AF_LPOINT_B_W::new(self, 16) } diff --git a/esp32p4/src/isp/af_hscale_c.rs b/esp32p4/src/isp/af_hscale_c.rs index f45f40873e..d47ed12e43 100644 --- a/esp32p4/src/isp/af_hscale_c.rs +++ b/esp32p4/src/isp/af_hscale_c.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - this field configures left coordinate of focus window c, must >= 2"] #[inline(always)] - #[must_use] pub fn af_rpoint_c(&mut self) -> AF_RPOINT_C_W { AF_RPOINT_C_W::new(self, 0) } #[doc = "Bits 16:27 - this field configures top coordinate of focus window c, must >= 2"] #[inline(always)] - #[must_use] pub fn af_lpoint_c(&mut self) -> AF_LPOINT_C_W { AF_LPOINT_C_W::new(self, 16) } diff --git a/esp32p4/src/isp/af_threshold.rs b/esp32p4/src/isp/af_threshold.rs index 21abe49691..6e0fd78215 100644 --- a/esp32p4/src/isp/af_threshold.rs +++ b/esp32p4/src/isp/af_threshold.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - this field configures user threshold. When set to non-zero, autofocus will use this threshold"] #[inline(always)] - #[must_use] pub fn af_threshold(&mut self) -> AF_THRESHOLD_W { AF_THRESHOLD_W::new(self, 0) } diff --git a/esp32p4/src/isp/af_vscale_a.rs b/esp32p4/src/isp/af_vscale_a.rs index ba99ef188a..48a1d9d191 100644 --- a/esp32p4/src/isp/af_vscale_a.rs +++ b/esp32p4/src/isp/af_vscale_a.rs @@ -2,21 +2,21 @@ pub type R = crate::R; #[doc = "Register `AF_VSCALE_A` writer"] pub type W = crate::W; -#[doc = "Field `AF_BPOINT_A` reader - this field configures right coordinate of focus window a, must <= hnum-2"] +#[doc = "Field `AF_BPOINT_A` reader - this field configures right coordinate of focus window a, must <= hnum-2"] pub type AF_BPOINT_A_R = crate::FieldReader; -#[doc = "Field `AF_BPOINT_A` writer - this field configures right coordinate of focus window a, must <= hnum-2"] +#[doc = "Field `AF_BPOINT_A` writer - this field configures right coordinate of focus window a, must <= hnum-2"] pub type AF_BPOINT_A_W<'a, REG> = crate::FieldWriter<'a, REG, 12, u16>; -#[doc = "Field `AF_TPOINT_A` reader - this field configures bottom coordinate of focus window a, must <= hnum-2"] +#[doc = "Field `AF_TPOINT_A` reader - this field configures bottom coordinate of focus window a, must <= hnum-2"] pub type AF_TPOINT_A_R = crate::FieldReader; -#[doc = "Field `AF_TPOINT_A` writer - this field configures bottom coordinate of focus window a, must <= hnum-2"] +#[doc = "Field `AF_TPOINT_A` writer - this field configures bottom coordinate of focus window a, must <= hnum-2"] pub type AF_TPOINT_A_W<'a, REG> = crate::FieldWriter<'a, REG, 12, u16>; impl R { - #[doc = "Bits 0:11 - this field configures right coordinate of focus window a, must <= hnum-2"] + #[doc = "Bits 0:11 - this field configures right coordinate of focus window a, must <= hnum-2"] #[inline(always)] pub fn af_bpoint_a(&self) -> AF_BPOINT_A_R { AF_BPOINT_A_R::new((self.bits & 0x0fff) as u16) } - #[doc = "Bits 16:27 - this field configures bottom coordinate of focus window a, must <= hnum-2"] + #[doc = "Bits 16:27 - this field configures bottom coordinate of focus window a, must <= hnum-2"] #[inline(always)] pub fn af_tpoint_a(&self) -> AF_TPOINT_A_R { AF_TPOINT_A_R::new(((self.bits >> 16) & 0x0fff) as u16) @@ -32,15 +32,13 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bits 0:11 - this field configures right coordinate of focus window a, must <= hnum-2"] + #[doc = "Bits 0:11 - this field configures right coordinate of focus window a, must <= hnum-2"] #[inline(always)] - #[must_use] pub fn af_bpoint_a(&mut self) -> AF_BPOINT_A_W { AF_BPOINT_A_W::new(self, 0) } - #[doc = "Bits 16:27 - this field configures bottom coordinate of focus window a, must <= hnum-2"] + #[doc = "Bits 16:27 - this field configures bottom coordinate of focus window a, must <= hnum-2"] #[inline(always)] - #[must_use] pub fn af_tpoint_a(&mut self) -> AF_TPOINT_A_W { AF_TPOINT_A_W::new(self, 16) } diff --git a/esp32p4/src/isp/af_vscale_b.rs b/esp32p4/src/isp/af_vscale_b.rs index 76618e598d..690d157250 100644 --- a/esp32p4/src/isp/af_vscale_b.rs +++ b/esp32p4/src/isp/af_vscale_b.rs @@ -2,21 +2,21 @@ pub type R = crate::R; #[doc = "Register `AF_VSCALE_B` writer"] pub type W = crate::W; -#[doc = "Field `AF_BPOINT_B` reader - this field configures right coordinate of focus window b, must <= hnum-2"] +#[doc = "Field `AF_BPOINT_B` reader - this field configures right coordinate of focus window b, must <= hnum-2"] pub type AF_BPOINT_B_R = crate::FieldReader; -#[doc = "Field `AF_BPOINT_B` writer - this field configures right coordinate of focus window b, must <= hnum-2"] +#[doc = "Field `AF_BPOINT_B` writer - this field configures right coordinate of focus window b, must <= hnum-2"] pub type AF_BPOINT_B_W<'a, REG> = crate::FieldWriter<'a, REG, 12, u16>; -#[doc = "Field `AF_TPOINT_B` reader - this field configures bottom coordinate of focus window b, must <= hnum-2"] +#[doc = "Field `AF_TPOINT_B` reader - this field configures bottom coordinate of focus window b, must <= hnum-2"] pub type AF_TPOINT_B_R = crate::FieldReader; -#[doc = "Field `AF_TPOINT_B` writer - this field configures bottom coordinate of focus window b, must <= hnum-2"] +#[doc = "Field `AF_TPOINT_B` writer - this field configures bottom coordinate of focus window b, must <= hnum-2"] pub type AF_TPOINT_B_W<'a, REG> = crate::FieldWriter<'a, REG, 12, u16>; impl R { - #[doc = "Bits 0:11 - this field configures right coordinate of focus window b, must <= hnum-2"] + #[doc = "Bits 0:11 - this field configures right coordinate of focus window b, must <= hnum-2"] #[inline(always)] pub fn af_bpoint_b(&self) -> AF_BPOINT_B_R { AF_BPOINT_B_R::new((self.bits & 0x0fff) as u16) } - #[doc = "Bits 16:27 - this field configures bottom coordinate of focus window b, must <= hnum-2"] + #[doc = "Bits 16:27 - this field configures bottom coordinate of focus window b, must <= hnum-2"] #[inline(always)] pub fn af_tpoint_b(&self) -> AF_TPOINT_B_R { AF_TPOINT_B_R::new(((self.bits >> 16) & 0x0fff) as u16) @@ -32,15 +32,13 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bits 0:11 - this field configures right coordinate of focus window b, must <= hnum-2"] + #[doc = "Bits 0:11 - this field configures right coordinate of focus window b, must <= hnum-2"] #[inline(always)] - #[must_use] pub fn af_bpoint_b(&mut self) -> AF_BPOINT_B_W { AF_BPOINT_B_W::new(self, 0) } - #[doc = "Bits 16:27 - this field configures bottom coordinate of focus window b, must <= hnum-2"] + #[doc = "Bits 16:27 - this field configures bottom coordinate of focus window b, must <= hnum-2"] #[inline(always)] - #[must_use] pub fn af_tpoint_b(&mut self) -> AF_TPOINT_B_W { AF_TPOINT_B_W::new(self, 16) } diff --git a/esp32p4/src/isp/af_vscale_c.rs b/esp32p4/src/isp/af_vscale_c.rs index 24fef77cc1..a72c5e0b80 100644 --- a/esp32p4/src/isp/af_vscale_c.rs +++ b/esp32p4/src/isp/af_vscale_c.rs @@ -2,21 +2,21 @@ pub type R = crate::R; #[doc = "Register `AF_VSCALE_C` writer"] pub type W = crate::W; -#[doc = "Field `AF_BPOINT_C` reader - this field configures right coordinate of focus window c, must <= hnum-2"] +#[doc = "Field `AF_BPOINT_C` reader - this field configures right coordinate of focus window c, must <= hnum-2"] pub type AF_BPOINT_C_R = crate::FieldReader; -#[doc = "Field `AF_BPOINT_C` writer - this field configures right coordinate of focus window c, must <= hnum-2"] +#[doc = "Field `AF_BPOINT_C` writer - this field configures right coordinate of focus window c, must <= hnum-2"] pub type AF_BPOINT_C_W<'a, REG> = crate::FieldWriter<'a, REG, 12, u16>; -#[doc = "Field `AF_TPOINT_C` reader - this field configures bottom coordinate of focus window c, must <= hnum-2"] +#[doc = "Field `AF_TPOINT_C` reader - this field configures bottom coordinate of focus window c, must <= hnum-2"] pub type AF_TPOINT_C_R = crate::FieldReader; -#[doc = "Field `AF_TPOINT_C` writer - this field configures bottom coordinate of focus window c, must <= hnum-2"] +#[doc = "Field `AF_TPOINT_C` writer - this field configures bottom coordinate of focus window c, must <= hnum-2"] pub type AF_TPOINT_C_W<'a, REG> = crate::FieldWriter<'a, REG, 12, u16>; impl R { - #[doc = "Bits 0:11 - this field configures right coordinate of focus window c, must <= hnum-2"] + #[doc = "Bits 0:11 - this field configures right coordinate of focus window c, must <= hnum-2"] #[inline(always)] pub fn af_bpoint_c(&self) -> AF_BPOINT_C_R { AF_BPOINT_C_R::new((self.bits & 0x0fff) as u16) } - #[doc = "Bits 16:27 - this field configures bottom coordinate of focus window c, must <= hnum-2"] + #[doc = "Bits 16:27 - this field configures bottom coordinate of focus window c, must <= hnum-2"] #[inline(always)] pub fn af_tpoint_c(&self) -> AF_TPOINT_C_R { AF_TPOINT_C_R::new(((self.bits >> 16) & 0x0fff) as u16) @@ -32,15 +32,13 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bits 0:11 - this field configures right coordinate of focus window c, must <= hnum-2"] + #[doc = "Bits 0:11 - this field configures right coordinate of focus window c, must <= hnum-2"] #[inline(always)] - #[must_use] pub fn af_bpoint_c(&mut self) -> AF_BPOINT_C_W { AF_BPOINT_C_W::new(self, 0) } - #[doc = "Bits 16:27 - this field configures bottom coordinate of focus window c, must <= hnum-2"] + #[doc = "Bits 16:27 - this field configures bottom coordinate of focus window c, must <= hnum-2"] #[inline(always)] - #[must_use] pub fn af_tpoint_c(&mut self) -> AF_TPOINT_C_W { AF_TPOINT_C_W::new(self, 16) } diff --git a/esp32p4/src/isp/awb_hscale.rs b/esp32p4/src/isp/awb_hscale.rs index 703eae4268..bd81631774 100644 --- a/esp32p4/src/isp/awb_hscale.rs +++ b/esp32p4/src/isp/awb_hscale.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - this field configures awb window right coordinate"] #[inline(always)] - #[must_use] pub fn awb_rpoint(&mut self) -> AWB_RPOINT_W { AWB_RPOINT_W::new(self, 0) } #[doc = "Bits 16:27 - this field configures awb window left coordinate"] #[inline(always)] - #[must_use] pub fn awb_lpoint(&mut self) -> AWB_LPOINT_W { AWB_LPOINT_W::new(self, 16) } diff --git a/esp32p4/src/isp/awb_mode.rs b/esp32p4/src/isp/awb_mode.rs index 230a779cfb..80f1821c04 100644 --- a/esp32p4/src/isp/awb_mode.rs +++ b/esp32p4/src/isp/awb_mode.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - this field configures awb algo sel. 00: none sellected. 01: sel algo0. 10: sel algo1. 11: sel both algo0 and algo1"] #[inline(always)] - #[must_use] pub fn awb_mode(&mut self) -> AWB_MODE_W { AWB_MODE_W::new(self, 0) } #[doc = "Bit 4 - this bit configures awb sample location, 0:before ccm, 1:after ccm"] #[inline(always)] - #[must_use] pub fn awb_sample(&mut self) -> AWB_SAMPLE_W { AWB_SAMPLE_W::new(self, 4) } diff --git a/esp32p4/src/isp/awb_th_bg.rs b/esp32p4/src/isp/awb_th_bg.rs index 749fbecd05..5d6db4e841 100644 --- a/esp32p4/src/isp/awb_th_bg.rs +++ b/esp32p4/src/isp/awb_th_bg.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - this field configures lower threshold of b/g, 2bit integer and 8bit fraction"] #[inline(always)] - #[must_use] pub fn awb_min_bg(&mut self) -> AWB_MIN_BG_W { AWB_MIN_BG_W::new(self, 0) } #[doc = "Bits 16:25 - this field configures upper threshold of b/g, 2bit integer and 8bit fraction"] #[inline(always)] - #[must_use] pub fn awb_max_bg(&mut self) -> AWB_MAX_BG_W { AWB_MAX_BG_W::new(self, 16) } diff --git a/esp32p4/src/isp/awb_th_lum.rs b/esp32p4/src/isp/awb_th_lum.rs index 102fba4533..f69acc52da 100644 --- a/esp32p4/src/isp/awb_th_lum.rs +++ b/esp32p4/src/isp/awb_th_lum.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - this field configures lower threshold of r+g+b"] #[inline(always)] - #[must_use] pub fn awb_min_lum(&mut self) -> AWB_MIN_LUM_W { AWB_MIN_LUM_W::new(self, 0) } #[doc = "Bits 16:25 - this field configures upper threshold of r+g+b"] #[inline(always)] - #[must_use] pub fn awb_max_lum(&mut self) -> AWB_MAX_LUM_W { AWB_MAX_LUM_W::new(self, 16) } diff --git a/esp32p4/src/isp/awb_th_rg.rs b/esp32p4/src/isp/awb_th_rg.rs index c55b241a03..f8c14835d7 100644 --- a/esp32p4/src/isp/awb_th_rg.rs +++ b/esp32p4/src/isp/awb_th_rg.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - this field configures lower threshold of r/g, 2bit integer and 8bit fraction"] #[inline(always)] - #[must_use] pub fn awb_min_rg(&mut self) -> AWB_MIN_RG_W { AWB_MIN_RG_W::new(self, 0) } #[doc = "Bits 16:25 - this field configures upper threshold of r/g, 2bit integer and 8bit fraction"] #[inline(always)] - #[must_use] pub fn awb_max_rg(&mut self) -> AWB_MAX_RG_W { AWB_MAX_RG_W::new(self, 16) } diff --git a/esp32p4/src/isp/awb_vscale.rs b/esp32p4/src/isp/awb_vscale.rs index e152db3113..f1bc6f7503 100644 --- a/esp32p4/src/isp/awb_vscale.rs +++ b/esp32p4/src/isp/awb_vscale.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - this field configures awb window bottom coordinate"] #[inline(always)] - #[must_use] pub fn awb_bpoint(&mut self) -> AWB_BPOINT_W { AWB_BPOINT_W::new(self, 0) } #[doc = "Bits 16:27 - this field configures awb window top coordinate"] #[inline(always)] - #[must_use] pub fn awb_tpoint(&mut self) -> AWB_TPOINT_W { AWB_TPOINT_W::new(self, 16) } diff --git a/esp32p4/src/isp/bf_gau0.rs b/esp32p4/src/isp/bf_gau0.rs index 7ccfcd962c..1e2b6bfc0d 100644 --- a/esp32p4/src/isp/bf_gau0.rs +++ b/esp32p4/src/isp/bf_gau0.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - this field configures index 21 of gausian template"] #[inline(always)] - #[must_use] pub fn gau_template21(&mut self) -> GAU_TEMPLATE21_W { GAU_TEMPLATE21_W::new(self, 0) } #[doc = "Bits 4:7 - this field configures index 20 of gausian template"] #[inline(always)] - #[must_use] pub fn gau_template20(&mut self) -> GAU_TEMPLATE20_W { GAU_TEMPLATE20_W::new(self, 4) } #[doc = "Bits 8:11 - this field configures index 12 of gausian template"] #[inline(always)] - #[must_use] pub fn gau_template12(&mut self) -> GAU_TEMPLATE12_W { GAU_TEMPLATE12_W::new(self, 8) } #[doc = "Bits 12:15 - this field configures index 11 of gausian template"] #[inline(always)] - #[must_use] pub fn gau_template11(&mut self) -> GAU_TEMPLATE11_W { GAU_TEMPLATE11_W::new(self, 12) } #[doc = "Bits 16:19 - this field configures index 10 of gausian template"] #[inline(always)] - #[must_use] pub fn gau_template10(&mut self) -> GAU_TEMPLATE10_W { GAU_TEMPLATE10_W::new(self, 16) } #[doc = "Bits 20:23 - this field configures index 02 of gausian template"] #[inline(always)] - #[must_use] pub fn gau_template02(&mut self) -> GAU_TEMPLATE02_W { GAU_TEMPLATE02_W::new(self, 20) } #[doc = "Bits 24:27 - this field configures index 01 of gausian template"] #[inline(always)] - #[must_use] pub fn gau_template01(&mut self) -> GAU_TEMPLATE01_W { GAU_TEMPLATE01_W::new(self, 24) } #[doc = "Bits 28:31 - this field configures index 00 of gausian template"] #[inline(always)] - #[must_use] pub fn gau_template00(&mut self) -> GAU_TEMPLATE00_W { GAU_TEMPLATE00_W::new(self, 28) } diff --git a/esp32p4/src/isp/bf_gau1.rs b/esp32p4/src/isp/bf_gau1.rs index 68d04043a2..eee205a2b8 100644 --- a/esp32p4/src/isp/bf_gau1.rs +++ b/esp32p4/src/isp/bf_gau1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - this field configures index 22 of gausian template"] #[inline(always)] - #[must_use] pub fn gau_template22(&mut self) -> GAU_TEMPLATE22_W { GAU_TEMPLATE22_W::new(self, 0) } diff --git a/esp32p4/src/isp/bf_matrix_ctrl.rs b/esp32p4/src/isp/bf_matrix_ctrl.rs index a0dd4ae321..1f19fad1c7 100644 --- a/esp32p4/src/isp/bf_matrix_ctrl.rs +++ b/esp32p4/src/isp/bf_matrix_ctrl.rs @@ -2,13 +2,13 @@ pub type R = crate::R; #[doc = "Register `BF_MATRIX_CTRL` writer"] pub type W = crate::W; -#[doc = "Field `BF_TAIL_PIXEN_PULSE_TL` reader - matrix tail pixen low level threshold, should not to large to prevent expanding to next frame, only reg_bf_tail_pixen_pulse_th!=0 and reg_bf_tail_pixen_pulse_tl!=0 and reg_bf_tail_pixen_pulse_th < reg_bf_tail_pixen_pulse_tl will enable tail pulse function"] +#[doc = "Field `BF_TAIL_PIXEN_PULSE_TL` reader - matrix tail pixen low level threshold, should not to large to prevent expanding to next frame, only reg_bf_tail_pixen_pulse_th!=0 and reg_bf_tail_pixen_pulse_tl!=0 and reg_bf_tail_pixen_pulse_th < reg_bf_tail_pixen_pulse_tl will enable tail pulse function"] pub type BF_TAIL_PIXEN_PULSE_TL_R = crate::FieldReader; -#[doc = "Field `BF_TAIL_PIXEN_PULSE_TL` writer - matrix tail pixen low level threshold, should not to large to prevent expanding to next frame, only reg_bf_tail_pixen_pulse_th!=0 and reg_bf_tail_pixen_pulse_tl!=0 and reg_bf_tail_pixen_pulse_th < reg_bf_tail_pixen_pulse_tl will enable tail pulse function"] +#[doc = "Field `BF_TAIL_PIXEN_PULSE_TL` writer - matrix tail pixen low level threshold, should not to large to prevent expanding to next frame, only reg_bf_tail_pixen_pulse_th!=0 and reg_bf_tail_pixen_pulse_tl!=0 and reg_bf_tail_pixen_pulse_th < reg_bf_tail_pixen_pulse_tl will enable tail pulse function"] pub type BF_TAIL_PIXEN_PULSE_TL_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -#[doc = "Field `BF_TAIL_PIXEN_PULSE_TH` reader - matrix tail pixen high level threshold, must < hnum-1, only reg_bf_tail_pixen_pulse_th!=0 and reg_bf_tail_pixen_pulse_tl!=0 and reg_bf_tail_pixen_pulse_th < reg_bf_tail_pixen_pulse_tl will enable tail pulse function"] +#[doc = "Field `BF_TAIL_PIXEN_PULSE_TH` reader - matrix tail pixen high level threshold, must < hnum-1, only reg_bf_tail_pixen_pulse_th!=0 and reg_bf_tail_pixen_pulse_tl!=0 and reg_bf_tail_pixen_pulse_th < reg_bf_tail_pixen_pulse_tl will enable tail pulse function"] pub type BF_TAIL_PIXEN_PULSE_TH_R = crate::FieldReader; -#[doc = "Field `BF_TAIL_PIXEN_PULSE_TH` writer - matrix tail pixen high level threshold, must < hnum-1, only reg_bf_tail_pixen_pulse_th!=0 and reg_bf_tail_pixen_pulse_tl!=0 and reg_bf_tail_pixen_pulse_th < reg_bf_tail_pixen_pulse_tl will enable tail pulse function"] +#[doc = "Field `BF_TAIL_PIXEN_PULSE_TH` writer - matrix tail pixen high level threshold, must < hnum-1, only reg_bf_tail_pixen_pulse_th!=0 and reg_bf_tail_pixen_pulse_tl!=0 and reg_bf_tail_pixen_pulse_th < reg_bf_tail_pixen_pulse_tl will enable tail pulse function"] pub type BF_TAIL_PIXEN_PULSE_TH_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; #[doc = "Field `BF_PADDING_DATA` reader - this field configures bf matrix padding data"] pub type BF_PADDING_DATA_R = crate::FieldReader; @@ -19,12 +19,12 @@ pub type BF_PADDING_MODE_R = crate::BitReader; #[doc = "Field `BF_PADDING_MODE` writer - this bit configures the padding mode of bf matrix. 0: use pixel in image to do padding 1: use reg_padding_data to do padding"] pub type BF_PADDING_MODE_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { - #[doc = "Bits 0:7 - matrix tail pixen low level threshold, should not to large to prevent expanding to next frame, only reg_bf_tail_pixen_pulse_th!=0 and reg_bf_tail_pixen_pulse_tl!=0 and reg_bf_tail_pixen_pulse_th < reg_bf_tail_pixen_pulse_tl will enable tail pulse function"] + #[doc = "Bits 0:7 - matrix tail pixen low level threshold, should not to large to prevent expanding to next frame, only reg_bf_tail_pixen_pulse_th!=0 and reg_bf_tail_pixen_pulse_tl!=0 and reg_bf_tail_pixen_pulse_th < reg_bf_tail_pixen_pulse_tl will enable tail pulse function"] #[inline(always)] pub fn bf_tail_pixen_pulse_tl(&self) -> BF_TAIL_PIXEN_PULSE_TL_R { BF_TAIL_PIXEN_PULSE_TL_R::new((self.bits & 0xff) as u8) } - #[doc = "Bits 8:15 - matrix tail pixen high level threshold, must < hnum-1, only reg_bf_tail_pixen_pulse_th!=0 and reg_bf_tail_pixen_pulse_tl!=0 and reg_bf_tail_pixen_pulse_th < reg_bf_tail_pixen_pulse_tl will enable tail pulse function"] + #[doc = "Bits 8:15 - matrix tail pixen high level threshold, must < hnum-1, only reg_bf_tail_pixen_pulse_th!=0 and reg_bf_tail_pixen_pulse_tl!=0 and reg_bf_tail_pixen_pulse_th < reg_bf_tail_pixen_pulse_tl will enable tail pulse function"] #[inline(always)] pub fn bf_tail_pixen_pulse_th(&self) -> BF_TAIL_PIXEN_PULSE_TH_R { BF_TAIL_PIXEN_PULSE_TH_R::new(((self.bits >> 8) & 0xff) as u8) @@ -52,27 +52,23 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bits 0:7 - matrix tail pixen low level threshold, should not to large to prevent expanding to next frame, only reg_bf_tail_pixen_pulse_th!=0 and reg_bf_tail_pixen_pulse_tl!=0 and reg_bf_tail_pixen_pulse_th < reg_bf_tail_pixen_pulse_tl will enable tail pulse function"] + #[doc = "Bits 0:7 - matrix tail pixen low level threshold, should not to large to prevent expanding to next frame, only reg_bf_tail_pixen_pulse_th!=0 and reg_bf_tail_pixen_pulse_tl!=0 and reg_bf_tail_pixen_pulse_th < reg_bf_tail_pixen_pulse_tl will enable tail pulse function"] #[inline(always)] - #[must_use] pub fn bf_tail_pixen_pulse_tl(&mut self) -> BF_TAIL_PIXEN_PULSE_TL_W { BF_TAIL_PIXEN_PULSE_TL_W::new(self, 0) } - #[doc = "Bits 8:15 - matrix tail pixen high level threshold, must < hnum-1, only reg_bf_tail_pixen_pulse_th!=0 and reg_bf_tail_pixen_pulse_tl!=0 and reg_bf_tail_pixen_pulse_th < reg_bf_tail_pixen_pulse_tl will enable tail pulse function"] + #[doc = "Bits 8:15 - matrix tail pixen high level threshold, must < hnum-1, only reg_bf_tail_pixen_pulse_th!=0 and reg_bf_tail_pixen_pulse_tl!=0 and reg_bf_tail_pixen_pulse_th < reg_bf_tail_pixen_pulse_tl will enable tail pulse function"] #[inline(always)] - #[must_use] pub fn bf_tail_pixen_pulse_th(&mut self) -> BF_TAIL_PIXEN_PULSE_TH_W { BF_TAIL_PIXEN_PULSE_TH_W::new(self, 8) } #[doc = "Bits 16:23 - this field configures bf matrix padding data"] #[inline(always)] - #[must_use] pub fn bf_padding_data(&mut self) -> BF_PADDING_DATA_W { BF_PADDING_DATA_W::new(self, 16) } #[doc = "Bit 24 - this bit configures the padding mode of bf matrix. 0: use pixel in image to do padding 1: use reg_padding_data to do padding"] #[inline(always)] - #[must_use] pub fn bf_padding_mode(&mut self) -> BF_PADDING_MODE_W { BF_PADDING_MODE_W::new(self, 24) } diff --git a/esp32p4/src/isp/bf_sigma.rs b/esp32p4/src/isp/bf_sigma.rs index 181b06b745..0d28ae00fb 100644 --- a/esp32p4/src/isp/bf_sigma.rs +++ b/esp32p4/src/isp/bf_sigma.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - this field configures the bayer denoising level, valid data from 2 to 20"] #[inline(always)] - #[must_use] pub fn sigma(&mut self) -> SIGMA_W { SIGMA_W::new(self, 0) } diff --git a/esp32p4/src/isp/blc_ctrl0.rs b/esp32p4/src/isp/blc_ctrl0.rs index c5ec5831f5..0606318188 100644 --- a/esp32p4/src/isp/blc_ctrl0.rs +++ b/esp32p4/src/isp/blc_ctrl0.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - this bit configures the stretch feature of bottom right channel. 0: stretch disable, 1: stretch enable"] #[inline(always)] - #[must_use] pub fn blc_r3_stretch(&mut self) -> BLC_R3_STRETCH_W { BLC_R3_STRETCH_W::new(self, 0) } #[doc = "Bit 1 - this bit configures the stretch feature of bottom left channel. 0: stretch disable, 1: stretch enable"] #[inline(always)] - #[must_use] pub fn blc_r2_stretch(&mut self) -> BLC_R2_STRETCH_W { BLC_R2_STRETCH_W::new(self, 1) } #[doc = "Bit 2 - this bit configures the stretch feature of top right channel. 0: stretch disable, 1: stretch enable"] #[inline(always)] - #[must_use] pub fn blc_r1_stretch(&mut self) -> BLC_R1_STRETCH_W { BLC_R1_STRETCH_W::new(self, 2) } #[doc = "Bit 3 - this bit configures the stretch feature of top left channel. 0: stretch disable, 1: stretch enable"] #[inline(always)] - #[must_use] pub fn blc_r0_stretch(&mut self) -> BLC_R0_STRETCH_W { BLC_R0_STRETCH_W::new(self, 3) } diff --git a/esp32p4/src/isp/blc_ctrl1.rs b/esp32p4/src/isp/blc_ctrl1.rs index 6ee16f6dbf..bdec00ac36 100644 --- a/esp32p4/src/isp/blc_ctrl1.rs +++ b/esp32p4/src/isp/blc_ctrl1.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - this field configures blc average calculation window top"] #[inline(always)] - #[must_use] pub fn blc_window_top(&mut self) -> BLC_WINDOW_TOP_W { BLC_WINDOW_TOP_W::new(self, 0) } #[doc = "Bits 11:21 - this field configures blc average calculation window left"] #[inline(always)] - #[must_use] pub fn blc_window_left(&mut self) -> BLC_WINDOW_LEFT_W { BLC_WINDOW_LEFT_W::new(self, 11) } #[doc = "Bits 22:25 - this field configures blc average calculation window vnum"] #[inline(always)] - #[must_use] pub fn blc_window_vnum(&mut self) -> BLC_WINDOW_VNUM_W { BLC_WINDOW_VNUM_W::new(self, 22) } #[doc = "Bits 26:29 - this field configures blc average calculation window hnum"] #[inline(always)] - #[must_use] pub fn blc_window_hnum(&mut self) -> BLC_WINDOW_HNUM_W { BLC_WINDOW_HNUM_W::new(self, 26) } #[doc = "Bit 30 - this bit configures enable blc average input filter. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn blc_filter_en(&mut self) -> BLC_FILTER_EN_W { BLC_FILTER_EN_W::new(self, 30) } diff --git a/esp32p4/src/isp/blc_ctrl2.rs b/esp32p4/src/isp/blc_ctrl2.rs index 99e99e9352..ee83b7ee52 100644 --- a/esp32p4/src/isp/blc_ctrl2.rs +++ b/esp32p4/src/isp/blc_ctrl2.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - this field configures black threshold when get blc average of bottom right channel"] #[inline(always)] - #[must_use] pub fn blc_r3_th(&mut self) -> BLC_R3_TH_W { BLC_R3_TH_W::new(self, 0) } #[doc = "Bits 8:15 - this field configures black threshold when get blc average of bottom left channel"] #[inline(always)] - #[must_use] pub fn blc_r2_th(&mut self) -> BLC_R2_TH_W { BLC_R2_TH_W::new(self, 8) } #[doc = "Bits 16:23 - this field configures black threshold when get blc average of top right channel"] #[inline(always)] - #[must_use] pub fn blc_r1_th(&mut self) -> BLC_R1_TH_W { BLC_R1_TH_W::new(self, 16) } #[doc = "Bits 24:31 - this field configures black threshold when get blc average of top left channel"] #[inline(always)] - #[must_use] pub fn blc_r0_th(&mut self) -> BLC_R0_TH_W { BLC_R0_TH_W::new(self, 24) } diff --git a/esp32p4/src/isp/blc_value.rs b/esp32p4/src/isp/blc_value.rs index 0309d193ad..64a1ac6f94 100644 --- a/esp32p4/src/isp/blc_value.rs +++ b/esp32p4/src/isp/blc_value.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - this field configures the black level of bottom right channel of bayer img"] #[inline(always)] - #[must_use] pub fn blc_r3_value(&mut self) -> BLC_R3_VALUE_W { BLC_R3_VALUE_W::new(self, 0) } #[doc = "Bits 8:15 - this field configures the black level of bottom left channel of bayer img"] #[inline(always)] - #[must_use] pub fn blc_r2_value(&mut self) -> BLC_R2_VALUE_W { BLC_R2_VALUE_W::new(self, 8) } #[doc = "Bits 16:23 - this field configures the black level of top right channel of bayer img"] #[inline(always)] - #[must_use] pub fn blc_r1_value(&mut self) -> BLC_R1_VALUE_W { BLC_R1_VALUE_W::new(self, 16) } #[doc = "Bits 24:31 - this field configures the black level of top left channel of bayer img"] #[inline(always)] - #[must_use] pub fn blc_r0_value(&mut self) -> BLC_R0_VALUE_W { BLC_R0_VALUE_W::new(self, 24) } diff --git a/esp32p4/src/isp/cam_cntl.rs b/esp32p4/src/isp/cam_cntl.rs index c3a126663f..f2fe8bcf67 100644 --- a/esp32p4/src/isp/cam_cntl.rs +++ b/esp32p4/src/isp/cam_cntl.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - write 1 to start recive camera data, write 0 to disable"] #[inline(always)] - #[must_use] pub fn cam_en(&mut self) -> CAM_EN_W { CAM_EN_W::new(self, 0) } #[doc = "Bit 1 - write 1 to update ISP_CAM_CONF"] #[inline(always)] - #[must_use] pub fn cam_update(&mut self) -> CAM_UPDATE_W { CAM_UPDATE_W::new(self, 1) } #[doc = "Bit 2 - this bit configures cam clk domain reset, 1: reset cam input logic, 0: release reset"] #[inline(always)] - #[must_use] pub fn cam_reset(&mut self) -> CAM_RESET_W { CAM_RESET_W::new(self, 2) } #[doc = "Bit 3 - this bit configures the invertion of cam clk from pad. 0: not invert cam clk, 1: invert cam clk"] #[inline(always)] - #[must_use] pub fn cam_clk_inv(&mut self) -> CAM_CLK_INV_W { CAM_CLK_INV_W::new(self, 3) } diff --git a/esp32p4/src/isp/cam_conf.rs b/esp32p4/src/isp/cam_conf.rs index 8c55cf2f3c..4c1071b0ef 100644 --- a/esp32p4/src/isp/cam_conf.rs +++ b/esp32p4/src/isp/cam_conf.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - this field configures data order of cam port, 0: cam_data_in, 1:{cam_data_in\\[7:0\\], cam_data_in\\[15:8\\]}"] #[inline(always)] - #[must_use] pub fn cam_data_order(&mut self) -> CAM_DATA_ORDER_W { CAM_DATA_ORDER_W::new(self, 0) } #[doc = "Bit 1 - this field configures enable of cam 2 byte mode(input 2 bytes each clock). 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn cam_2byte_mode(&mut self) -> CAM_2BYTE_MODE_W { CAM_2BYTE_MODE_W::new(self, 1) } #[doc = "Bits 2:7 - this field configures idi data type for image data, 0x2a: RAW8, 0x2b: RAW10, 0x2c: RAW12"] #[inline(always)] - #[must_use] pub fn cam_data_type(&mut self) -> CAM_DATA_TYPE_W { CAM_DATA_TYPE_W::new(self, 2) } #[doc = "Bit 8 - this bit configures cam data enable invert. 0: not invert, 1: invert"] #[inline(always)] - #[must_use] pub fn cam_de_inv(&mut self) -> CAM_DE_INV_W { CAM_DE_INV_W::new(self, 8) } #[doc = "Bit 9 - this bit configures cam hsync invert. 0: not invert, 1: invert"] #[inline(always)] - #[must_use] pub fn cam_hsync_inv(&mut self) -> CAM_HSYNC_INV_W { CAM_HSYNC_INV_W::new(self, 9) } #[doc = "Bit 10 - this bit configures cam vsync invert. 0: not invert, 1: invert"] #[inline(always)] - #[must_use] pub fn cam_vsync_inv(&mut self) -> CAM_VSYNC_INV_W { CAM_VSYNC_INV_W::new(self, 10) } #[doc = "Bits 11:13 - this bit configures the number of clock of vsync filter length"] #[inline(always)] - #[must_use] pub fn cam_vsync_filter_thres(&mut self) -> CAM_VSYNC_FILTER_THRES_W { CAM_VSYNC_FILTER_THRES_W::new(self, 11) } #[doc = "Bit 14 - this bit configures vsync filter en"] #[inline(always)] - #[must_use] pub fn cam_vsync_filter_en(&mut self) -> CAM_VSYNC_FILTER_EN_W { CAM_VSYNC_FILTER_EN_W::new(self, 14) } diff --git a/esp32p4/src/isp/ccm_coef0.rs b/esp32p4/src/isp/ccm_coef0.rs index 14e0e94bec..2c9408ac4c 100644 --- a/esp32p4/src/isp/ccm_coef0.rs +++ b/esp32p4/src/isp/ccm_coef0.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:12 - this field configures the color correction matrix coefficient"] #[inline(always)] - #[must_use] pub fn ccm_rr(&mut self) -> CCM_RR_W { CCM_RR_W::new(self, 0) } #[doc = "Bits 13:25 - this field configures the color correction matrix coefficient"] #[inline(always)] - #[must_use] pub fn ccm_rg(&mut self) -> CCM_RG_W { CCM_RG_W::new(self, 13) } diff --git a/esp32p4/src/isp/ccm_coef1.rs b/esp32p4/src/isp/ccm_coef1.rs index b410a13ce8..3370121cfa 100644 --- a/esp32p4/src/isp/ccm_coef1.rs +++ b/esp32p4/src/isp/ccm_coef1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:12 - this field configures the color correction matrix coefficient"] #[inline(always)] - #[must_use] pub fn ccm_rb(&mut self) -> CCM_RB_W { CCM_RB_W::new(self, 0) } #[doc = "Bits 13:25 - this field configures the color correction matrix coefficient"] #[inline(always)] - #[must_use] pub fn ccm_gr(&mut self) -> CCM_GR_W { CCM_GR_W::new(self, 13) } diff --git a/esp32p4/src/isp/ccm_coef3.rs b/esp32p4/src/isp/ccm_coef3.rs index 455e65b971..12ad93c07b 100644 --- a/esp32p4/src/isp/ccm_coef3.rs +++ b/esp32p4/src/isp/ccm_coef3.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:12 - this field configures the color correction matrix coefficient"] #[inline(always)] - #[must_use] pub fn ccm_gg(&mut self) -> CCM_GG_W { CCM_GG_W::new(self, 0) } #[doc = "Bits 13:25 - this field configures the color correction matrix coefficient"] #[inline(always)] - #[must_use] pub fn ccm_gb(&mut self) -> CCM_GB_W { CCM_GB_W::new(self, 13) } diff --git a/esp32p4/src/isp/ccm_coef4.rs b/esp32p4/src/isp/ccm_coef4.rs index 48c930719d..ef00b5e793 100644 --- a/esp32p4/src/isp/ccm_coef4.rs +++ b/esp32p4/src/isp/ccm_coef4.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:12 - this field configures the color correction matrix coefficient"] #[inline(always)] - #[must_use] pub fn ccm_br(&mut self) -> CCM_BR_W { CCM_BR_W::new(self, 0) } #[doc = "Bits 13:25 - this field configures the color correction matrix coefficient"] #[inline(always)] - #[must_use] pub fn ccm_bg(&mut self) -> CCM_BG_W { CCM_BG_W::new(self, 13) } diff --git a/esp32p4/src/isp/ccm_coef5.rs b/esp32p4/src/isp/ccm_coef5.rs index df2a98d72e..b167963d3b 100644 --- a/esp32p4/src/isp/ccm_coef5.rs +++ b/esp32p4/src/isp/ccm_coef5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:12 - this field configures the color correction matrix coefficient"] #[inline(always)] - #[must_use] pub fn ccm_bb(&mut self) -> CCM_BB_W { CCM_BB_W::new(self, 0) } diff --git a/esp32p4/src/isp/clk_en.rs b/esp32p4/src/isp/clk_en.rs index 41a444d26b..4fff2df079 100644 --- a/esp32p4/src/isp/clk_en.rs +++ b/esp32p4/src/isp/clk_en.rs @@ -204,115 +204,96 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - this bit configures the clk force on of isp reg. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - this bit configures the clk force on of blc. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn clk_blc_force_on(&mut self) -> CLK_BLC_FORCE_ON_W { CLK_BLC_FORCE_ON_W::new(self, 1) } #[doc = "Bit 2 - this bit configures the clk force on of dpc. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn clk_dpc_force_on(&mut self) -> CLK_DPC_FORCE_ON_W { CLK_DPC_FORCE_ON_W::new(self, 2) } #[doc = "Bit 3 - this bit configures the clk force on of bf. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn clk_bf_force_on(&mut self) -> CLK_BF_FORCE_ON_W { CLK_BF_FORCE_ON_W::new(self, 3) } #[doc = "Bit 4 - this bit configures the clk force on of lsc. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn clk_lsc_force_on(&mut self) -> CLK_LSC_FORCE_ON_W { CLK_LSC_FORCE_ON_W::new(self, 4) } #[doc = "Bit 5 - this bit configures the clk force on of demosaic. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn clk_demosaic_force_on(&mut self) -> CLK_DEMOSAIC_FORCE_ON_W { CLK_DEMOSAIC_FORCE_ON_W::new(self, 5) } #[doc = "Bit 6 - this bit configures the clk force on of median. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn clk_median_force_on(&mut self) -> CLK_MEDIAN_FORCE_ON_W { CLK_MEDIAN_FORCE_ON_W::new(self, 6) } #[doc = "Bit 7 - this bit configures the clk force on of ccm. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn clk_ccm_force_on(&mut self) -> CLK_CCM_FORCE_ON_W { CLK_CCM_FORCE_ON_W::new(self, 7) } #[doc = "Bit 8 - this bit configures the clk force on of gamma. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn clk_gamma_force_on(&mut self) -> CLK_GAMMA_FORCE_ON_W { CLK_GAMMA_FORCE_ON_W::new(self, 8) } #[doc = "Bit 9 - this bit configures the clk force on of rgb2yuv. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn clk_rgb2yuv_force_on(&mut self) -> CLK_RGB2YUV_FORCE_ON_W { CLK_RGB2YUV_FORCE_ON_W::new(self, 9) } #[doc = "Bit 10 - this bit configures the clk force on of sharp. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn clk_sharp_force_on(&mut self) -> CLK_SHARP_FORCE_ON_W { CLK_SHARP_FORCE_ON_W::new(self, 10) } #[doc = "Bit 11 - this bit configures the clk force on of color. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn clk_color_force_on(&mut self) -> CLK_COLOR_FORCE_ON_W { CLK_COLOR_FORCE_ON_W::new(self, 11) } #[doc = "Bit 12 - this bit configures the clk force on of yuv2rgb. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn clk_yuv2rgb_force_on(&mut self) -> CLK_YUV2RGB_FORCE_ON_W { CLK_YUV2RGB_FORCE_ON_W::new(self, 12) } #[doc = "Bit 13 - this bit configures the clk force on of ae. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn clk_ae_force_on(&mut self) -> CLK_AE_FORCE_ON_W { CLK_AE_FORCE_ON_W::new(self, 13) } #[doc = "Bit 14 - this bit configures the clk force on of af. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn clk_af_force_on(&mut self) -> CLK_AF_FORCE_ON_W { CLK_AF_FORCE_ON_W::new(self, 14) } #[doc = "Bit 15 - this bit configures the clk force on of awb. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn clk_awb_force_on(&mut self) -> CLK_AWB_FORCE_ON_W { CLK_AWB_FORCE_ON_W::new(self, 15) } #[doc = "Bit 16 - this bit configures the clk force on of hist. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn clk_hist_force_on(&mut self) -> CLK_HIST_FORCE_ON_W { CLK_HIST_FORCE_ON_W::new(self, 16) } #[doc = "Bit 17 - this bit configures the clk force on of mipi idi input. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn clk_mipi_idi_force_on(&mut self) -> CLK_MIPI_IDI_FORCE_ON_W { CLK_MIPI_IDI_FORCE_ON_W::new(self, 17) } #[doc = "Bit 18 - this bit configures the clk force on of all isp memory. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn isp_mem_clk_force_on(&mut self) -> ISP_MEM_CLK_FORCE_ON_W { ISP_MEM_CLK_FORCE_ON_W::new(self, 18) } diff --git a/esp32p4/src/isp/cntl.rs b/esp32p4/src/isp/cntl.rs index eafc264257..a20f46bff8 100644 --- a/esp32p4/src/isp/cntl.rs +++ b/esp32p4/src/isp/cntl.rs @@ -234,133 +234,111 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - this bit configures mipi input data enable. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn mipi_data_en(&mut self) -> MIPI_DATA_EN_W { MIPI_DATA_EN_W::new(self, 0) } #[doc = "Bit 1 - this bit configures isp global enable. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn isp_en(&mut self) -> ISP_EN_W { ISP_EN_W::new(self, 1) } #[doc = "Bit 2 - this bit configures blc enable. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn blc_en(&mut self) -> BLC_EN_W { BLC_EN_W::new(self, 2) } #[doc = "Bit 3 - this bit configures dpc enable. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn dpc_en(&mut self) -> DPC_EN_W { DPC_EN_W::new(self, 3) } #[doc = "Bit 4 - this bit configures bf enable. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn bf_en(&mut self) -> BF_EN_W { BF_EN_W::new(self, 4) } #[doc = "Bit 5 - this bit configures lsc enable. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn lsc_en(&mut self) -> LSC_EN_W { LSC_EN_W::new(self, 5) } #[doc = "Bit 6 - this bit configures demosaic enable. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn demosaic_en(&mut self) -> DEMOSAIC_EN_W { DEMOSAIC_EN_W::new(self, 6) } #[doc = "Bit 7 - this bit configures median enable. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn median_en(&mut self) -> MEDIAN_EN_W { MEDIAN_EN_W::new(self, 7) } #[doc = "Bit 8 - this bit configures ccm enable. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn ccm_en(&mut self) -> CCM_EN_W { CCM_EN_W::new(self, 8) } #[doc = "Bit 9 - this bit configures gamma enable. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn gamma_en(&mut self) -> GAMMA_EN_W { GAMMA_EN_W::new(self, 9) } #[doc = "Bit 10 - this bit configures rgb2yuv enable. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn rgb2yuv_en(&mut self) -> RGB2YUV_EN_W { RGB2YUV_EN_W::new(self, 10) } #[doc = "Bit 11 - this bit configures sharp enable. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn sharp_en(&mut self) -> SHARP_EN_W { SHARP_EN_W::new(self, 11) } #[doc = "Bit 12 - this bit configures color enable. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn color_en(&mut self) -> COLOR_EN_W { COLOR_EN_W::new(self, 12) } #[doc = "Bit 13 - this bit configures yuv2rgb enable. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn yuv2rgb_en(&mut self) -> YUV2RGB_EN_W { YUV2RGB_EN_W::new(self, 13) } #[doc = "Bit 14 - this bit configures ae enable. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn ae_en(&mut self) -> AE_EN_W { AE_EN_W::new(self, 14) } #[doc = "Bit 15 - this bit configures af enable. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn af_en(&mut self) -> AF_EN_W { AF_EN_W::new(self, 15) } #[doc = "Bit 16 - this bit configures awb enable. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn awb_en(&mut self) -> AWB_EN_W { AWB_EN_W::new(self, 16) } #[doc = "Bit 17 - this bit configures hist enable. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn hist_en(&mut self) -> HIST_EN_W { HIST_EN_W::new(self, 17) } #[doc = "Bit 24 - select input idi data byte_endian_order when isp is bypass, 0: csi_data\\[31:0\\], 1: {\\[7:0\\], \\[15:8\\], \\[23:16\\], \\[31:24\\]}"] #[inline(always)] - #[must_use] pub fn byte_endian_order(&mut self) -> BYTE_ENDIAN_ORDER_W { BYTE_ENDIAN_ORDER_W::new(self, 24) } #[doc = "Bits 25:26 - this field configures input data type, 0:RAW8 1:RAW10 2:RAW12"] #[inline(always)] - #[must_use] pub fn isp_data_type(&mut self) -> ISP_DATA_TYPE_W { ISP_DATA_TYPE_W::new(self, 25) } #[doc = "Bits 27:28 - this field configures input data source, 0:CSI HOST 1:CAM 2:DMA"] #[inline(always)] - #[must_use] pub fn isp_in_src(&mut self) -> ISP_IN_SRC_W { ISP_IN_SRC_W::new(self, 27) } #[doc = "Bits 29:31 - this field configures pixel output type, 0: RAW8 1: YUV422 2: RGB888 3: YUV420 4: RGB565"] #[inline(always)] - #[must_use] pub fn isp_out_type(&mut self) -> ISP_OUT_TYPE_W { ISP_OUT_TYPE_W::new(self, 29) } diff --git a/esp32p4/src/isp/color_ctrl.rs b/esp32p4/src/isp/color_ctrl.rs index 6af971336d..4e907cf9bb 100644 --- a/esp32p4/src/isp/color_ctrl.rs +++ b/esp32p4/src/isp/color_ctrl.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - this field configures the color saturation value"] #[inline(always)] - #[must_use] pub fn color_saturation(&mut self) -> COLOR_SATURATION_W { COLOR_SATURATION_W::new(self, 0) } #[doc = "Bits 8:15 - this field configures the color hue angle"] #[inline(always)] - #[must_use] pub fn color_hue(&mut self) -> COLOR_HUE_W { COLOR_HUE_W::new(self, 8) } #[doc = "Bits 16:23 - this field configures the color contrast value"] #[inline(always)] - #[must_use] pub fn color_contrast(&mut self) -> COLOR_CONTRAST_W { COLOR_CONTRAST_W::new(self, 16) } #[doc = "Bits 24:31 - this field configures the color brightness value, signed 2's complement"] #[inline(always)] - #[must_use] pub fn color_brightness(&mut self) -> COLOR_BRIGHTNESS_W { COLOR_BRIGHTNESS_W::new(self, 24) } diff --git a/esp32p4/src/isp/demosaic_grad_ratio.rs b/esp32p4/src/isp/demosaic_grad_ratio.rs index a00821d358..95dcc3f8dd 100644 --- a/esp32p4/src/isp/demosaic_grad_ratio.rs +++ b/esp32p4/src/isp/demosaic_grad_ratio.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - this field configures demosaic gradient select ratio"] #[inline(always)] - #[must_use] pub fn demosaic_grad_ratio(&mut self) -> DEMOSAIC_GRAD_RATIO_W { DEMOSAIC_GRAD_RATIO_W::new(self, 0) } diff --git a/esp32p4/src/isp/demosaic_matrix_ctrl.rs b/esp32p4/src/isp/demosaic_matrix_ctrl.rs index 8aa9cd20e4..eba0930273 100644 --- a/esp32p4/src/isp/demosaic_matrix_ctrl.rs +++ b/esp32p4/src/isp/demosaic_matrix_ctrl.rs @@ -2,13 +2,13 @@ pub type R = crate::R; #[doc = "Register `DEMOSAIC_MATRIX_CTRL` writer"] pub type W = crate::W; -#[doc = "Field `DEMOSAIC_TAIL_PIXEN_PULSE_TL` reader - matrix tail pixen low level threshold, should not to large to prevent expanding to next frame, only reg_demosaic_tail_pixen_pulse_th!=0 and reg_demosaic_tail_pixen_pulse_tl!=0 and reg_demosaic_tail_pixen_pulse_th < reg_demosaic_tail_pixen_pulse_tl will enable tail pulse function"] +#[doc = "Field `DEMOSAIC_TAIL_PIXEN_PULSE_TL` reader - matrix tail pixen low level threshold, should not to large to prevent expanding to next frame, only reg_demosaic_tail_pixen_pulse_th!=0 and reg_demosaic_tail_pixen_pulse_tl!=0 and reg_demosaic_tail_pixen_pulse_th < reg_demosaic_tail_pixen_pulse_tl will enable tail pulse function"] pub type DEMOSAIC_TAIL_PIXEN_PULSE_TL_R = crate::FieldReader; -#[doc = "Field `DEMOSAIC_TAIL_PIXEN_PULSE_TL` writer - matrix tail pixen low level threshold, should not to large to prevent expanding to next frame, only reg_demosaic_tail_pixen_pulse_th!=0 and reg_demosaic_tail_pixen_pulse_tl!=0 and reg_demosaic_tail_pixen_pulse_th < reg_demosaic_tail_pixen_pulse_tl will enable tail pulse function"] +#[doc = "Field `DEMOSAIC_TAIL_PIXEN_PULSE_TL` writer - matrix tail pixen low level threshold, should not to large to prevent expanding to next frame, only reg_demosaic_tail_pixen_pulse_th!=0 and reg_demosaic_tail_pixen_pulse_tl!=0 and reg_demosaic_tail_pixen_pulse_th < reg_demosaic_tail_pixen_pulse_tl will enable tail pulse function"] pub type DEMOSAIC_TAIL_PIXEN_PULSE_TL_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -#[doc = "Field `DEMOSAIC_TAIL_PIXEN_PULSE_TH` reader - matrix tail pixen high level threshold, must < hnum-1, only reg_demosaic_tail_pixen_pulse_th!=0 and reg_demosaic_tail_pixen_pulse_tl!=0 and reg_demosaic_tail_pixen_pulse_th < reg_demosaic_tail_pixen_pulse_tl will enable tail pulse function"] +#[doc = "Field `DEMOSAIC_TAIL_PIXEN_PULSE_TH` reader - matrix tail pixen high level threshold, must < hnum-1, only reg_demosaic_tail_pixen_pulse_th!=0 and reg_demosaic_tail_pixen_pulse_tl!=0 and reg_demosaic_tail_pixen_pulse_th < reg_demosaic_tail_pixen_pulse_tl will enable tail pulse function"] pub type DEMOSAIC_TAIL_PIXEN_PULSE_TH_R = crate::FieldReader; -#[doc = "Field `DEMOSAIC_TAIL_PIXEN_PULSE_TH` writer - matrix tail pixen high level threshold, must < hnum-1, only reg_demosaic_tail_pixen_pulse_th!=0 and reg_demosaic_tail_pixen_pulse_tl!=0 and reg_demosaic_tail_pixen_pulse_th < reg_demosaic_tail_pixen_pulse_tl will enable tail pulse function"] +#[doc = "Field `DEMOSAIC_TAIL_PIXEN_PULSE_TH` writer - matrix tail pixen high level threshold, must < hnum-1, only reg_demosaic_tail_pixen_pulse_th!=0 and reg_demosaic_tail_pixen_pulse_tl!=0 and reg_demosaic_tail_pixen_pulse_th < reg_demosaic_tail_pixen_pulse_tl will enable tail pulse function"] pub type DEMOSAIC_TAIL_PIXEN_PULSE_TH_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; #[doc = "Field `DEMOSAIC_PADDING_DATA` reader - this field configures demosaic matrix padding data"] pub type DEMOSAIC_PADDING_DATA_R = crate::FieldReader; @@ -19,12 +19,12 @@ pub type DEMOSAIC_PADDING_MODE_R = crate::BitReader; #[doc = "Field `DEMOSAIC_PADDING_MODE` writer - this bit configures the padding mode of demosaic matrix. 0: use pixel in image to do padding 1: use reg_padding_data to do padding"] pub type DEMOSAIC_PADDING_MODE_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { - #[doc = "Bits 0:7 - matrix tail pixen low level threshold, should not to large to prevent expanding to next frame, only reg_demosaic_tail_pixen_pulse_th!=0 and reg_demosaic_tail_pixen_pulse_tl!=0 and reg_demosaic_tail_pixen_pulse_th < reg_demosaic_tail_pixen_pulse_tl will enable tail pulse function"] + #[doc = "Bits 0:7 - matrix tail pixen low level threshold, should not to large to prevent expanding to next frame, only reg_demosaic_tail_pixen_pulse_th!=0 and reg_demosaic_tail_pixen_pulse_tl!=0 and reg_demosaic_tail_pixen_pulse_th < reg_demosaic_tail_pixen_pulse_tl will enable tail pulse function"] #[inline(always)] pub fn demosaic_tail_pixen_pulse_tl(&self) -> DEMOSAIC_TAIL_PIXEN_PULSE_TL_R { DEMOSAIC_TAIL_PIXEN_PULSE_TL_R::new((self.bits & 0xff) as u8) } - #[doc = "Bits 8:15 - matrix tail pixen high level threshold, must < hnum-1, only reg_demosaic_tail_pixen_pulse_th!=0 and reg_demosaic_tail_pixen_pulse_tl!=0 and reg_demosaic_tail_pixen_pulse_th < reg_demosaic_tail_pixen_pulse_tl will enable tail pulse function"] + #[doc = "Bits 8:15 - matrix tail pixen high level threshold, must < hnum-1, only reg_demosaic_tail_pixen_pulse_th!=0 and reg_demosaic_tail_pixen_pulse_tl!=0 and reg_demosaic_tail_pixen_pulse_th < reg_demosaic_tail_pixen_pulse_tl will enable tail pulse function"] #[inline(always)] pub fn demosaic_tail_pixen_pulse_th(&self) -> DEMOSAIC_TAIL_PIXEN_PULSE_TH_R { DEMOSAIC_TAIL_PIXEN_PULSE_TH_R::new(((self.bits >> 8) & 0xff) as u8) @@ -58,17 +58,15 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bits 0:7 - matrix tail pixen low level threshold, should not to large to prevent expanding to next frame, only reg_demosaic_tail_pixen_pulse_th!=0 and reg_demosaic_tail_pixen_pulse_tl!=0 and reg_demosaic_tail_pixen_pulse_th < reg_demosaic_tail_pixen_pulse_tl will enable tail pulse function"] + #[doc = "Bits 0:7 - matrix tail pixen low level threshold, should not to large to prevent expanding to next frame, only reg_demosaic_tail_pixen_pulse_th!=0 and reg_demosaic_tail_pixen_pulse_tl!=0 and reg_demosaic_tail_pixen_pulse_th < reg_demosaic_tail_pixen_pulse_tl will enable tail pulse function"] #[inline(always)] - #[must_use] pub fn demosaic_tail_pixen_pulse_tl( &mut self, ) -> DEMOSAIC_TAIL_PIXEN_PULSE_TL_W { DEMOSAIC_TAIL_PIXEN_PULSE_TL_W::new(self, 0) } - #[doc = "Bits 8:15 - matrix tail pixen high level threshold, must < hnum-1, only reg_demosaic_tail_pixen_pulse_th!=0 and reg_demosaic_tail_pixen_pulse_tl!=0 and reg_demosaic_tail_pixen_pulse_th < reg_demosaic_tail_pixen_pulse_tl will enable tail pulse function"] + #[doc = "Bits 8:15 - matrix tail pixen high level threshold, must < hnum-1, only reg_demosaic_tail_pixen_pulse_th!=0 and reg_demosaic_tail_pixen_pulse_tl!=0 and reg_demosaic_tail_pixen_pulse_th < reg_demosaic_tail_pixen_pulse_tl will enable tail pulse function"] #[inline(always)] - #[must_use] pub fn demosaic_tail_pixen_pulse_th( &mut self, ) -> DEMOSAIC_TAIL_PIXEN_PULSE_TH_W { @@ -76,13 +74,11 @@ impl W { } #[doc = "Bits 16:23 - this field configures demosaic matrix padding data"] #[inline(always)] - #[must_use] pub fn demosaic_padding_data(&mut self) -> DEMOSAIC_PADDING_DATA_W { DEMOSAIC_PADDING_DATA_W::new(self, 16) } #[doc = "Bit 24 - this bit configures the padding mode of demosaic matrix. 0: use pixel in image to do padding 1: use reg_padding_data to do padding"] #[inline(always)] - #[must_use] pub fn demosaic_padding_mode(&mut self) -> DEMOSAIC_PADDING_MODE_W { DEMOSAIC_PADDING_MODE_W::new(self, 24) } diff --git a/esp32p4/src/isp/dma_cntl.rs b/esp32p4/src/isp/dma_cntl.rs index 25588dbe84..bcc1c09747 100644 --- a/esp32p4/src/isp/dma_cntl.rs +++ b/esp32p4/src/isp/dma_cntl.rs @@ -4,9 +4,9 @@ pub type R = crate::R; pub type W = crate::W; #[doc = "Field `DMA_EN` writer - write 1 to triger dma to get 1 frame"] pub type DMA_EN_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `DMA_UPDATE` reader - write 1 to update reg_dma_burst_len & reg_dma_data_type"] +#[doc = "Field `DMA_UPDATE` reader - write 1 to update reg_dma_burst_len & reg_dma_data_type"] pub type DMA_UPDATE_R = crate::BitReader; -#[doc = "Field `DMA_UPDATE` writer - write 1 to update reg_dma_burst_len & reg_dma_data_type"] +#[doc = "Field `DMA_UPDATE` writer - write 1 to update reg_dma_burst_len & reg_dma_data_type"] pub type DMA_UPDATE_W<'a, REG> = crate::BitWriter<'a, REG>; #[doc = "Field `DMA_DATA_TYPE` reader - this field configures the idi data type for image data"] pub type DMA_DATA_TYPE_R = crate::FieldReader; @@ -21,7 +21,7 @@ pub type DMA_INTERVAL_R = crate::FieldReader; #[doc = "Field `DMA_INTERVAL` writer - this field configures dma req interval, 12'b1: 1 cycle, 12'b11 2 cycle ..."] pub type DMA_INTERVAL_W<'a, REG> = crate::FieldWriter<'a, REG, 12, u16>; impl R { - #[doc = "Bit 1 - write 1 to update reg_dma_burst_len & reg_dma_data_type"] + #[doc = "Bit 1 - write 1 to update reg_dma_burst_len & reg_dma_data_type"] #[inline(always)] pub fn dma_update(&self) -> DMA_UPDATE_R { DMA_UPDATE_R::new(((self.bits >> 1) & 1) != 0) @@ -56,31 +56,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - write 1 to triger dma to get 1 frame"] #[inline(always)] - #[must_use] pub fn dma_en(&mut self) -> DMA_EN_W { DMA_EN_W::new(self, 0) } - #[doc = "Bit 1 - write 1 to update reg_dma_burst_len & reg_dma_data_type"] + #[doc = "Bit 1 - write 1 to update reg_dma_burst_len & reg_dma_data_type"] #[inline(always)] - #[must_use] pub fn dma_update(&mut self) -> DMA_UPDATE_W { DMA_UPDATE_W::new(self, 1) } #[doc = "Bits 2:7 - this field configures the idi data type for image data"] #[inline(always)] - #[must_use] pub fn dma_data_type(&mut self) -> DMA_DATA_TYPE_W { DMA_DATA_TYPE_W::new(self, 2) } #[doc = "Bits 8:19 - this field configures dma burst len when data source is dma. set according to dma_msize, it is the number of 64bits in a dma transfer"] #[inline(always)] - #[must_use] pub fn dma_burst_len(&mut self) -> DMA_BURST_LEN_W { DMA_BURST_LEN_W::new(self, 8) } #[doc = "Bits 20:31 - this field configures dma req interval, 12'b1: 1 cycle, 12'b11 2 cycle ..."] #[inline(always)] - #[must_use] pub fn dma_interval(&mut self) -> DMA_INTERVAL_W { DMA_INTERVAL_W::new(self, 20) } diff --git a/esp32p4/src/isp/dma_raw_data.rs b/esp32p4/src/isp/dma_raw_data.rs index 18842b90dd..d9d66e7b74 100644 --- a/esp32p4/src/isp/dma_raw_data.rs +++ b/esp32p4/src/isp/dma_raw_data.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - this field configures the the number of 64bits in a frame"] #[inline(always)] - #[must_use] pub fn dma_raw_num_total(&mut self) -> DMA_RAW_NUM_TOTAL_W { DMA_RAW_NUM_TOTAL_W::new(self, 0) } #[doc = "Bit 31 - write 1 to update reg_dma_raw_num_total"] #[inline(always)] - #[must_use] pub fn dma_raw_num_total_set(&mut self) -> DMA_RAW_NUM_TOTAL_SET_W { DMA_RAW_NUM_TOTAL_SET_W::new(self, 31) } diff --git a/esp32p4/src/isp/dpc_conf.rs b/esp32p4/src/isp/dpc_conf.rs index 8cdeef2fd8..e8422549fe 100644 --- a/esp32p4/src/isp/dpc_conf.rs +++ b/esp32p4/src/isp/dpc_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - this bit configures the threshold to detect black img in check mode, or the low threshold(use 8 bit 0~255) in dyn method 0, or the low threshold factor (use 5 bit 10000-> 16/16, 00001->1/16, 0/16~16/16) in dyn method 1"] #[inline(always)] - #[must_use] pub fn dpc_threshold_l(&mut self) -> DPC_THRESHOLD_L_W { DPC_THRESHOLD_L_W::new(self, 0) } #[doc = "Bits 8:15 - this bit configures the threshold to detect white img in check mode, or the high threshold(use 8 bit 0~255) in dyn method 0, or the high threshold factor (use 5 bit 10000-> 16/16, 00001->1/16, 0/16~16/16) in dyn method 1"] #[inline(always)] - #[must_use] pub fn dpc_threshold_h(&mut self) -> DPC_THRESHOLD_H_W { DPC_THRESHOLD_H_W::new(self, 8) } #[doc = "Bits 16:21 - this field configures the dynamic correction method 1 dark factor"] #[inline(always)] - #[must_use] pub fn dpc_factor_dark(&mut self) -> DPC_FACTOR_DARK_W { DPC_FACTOR_DARK_W::new(self, 16) } #[doc = "Bits 22:27 - this field configures the dynamic correction method 1 bright factor"] #[inline(always)] - #[must_use] pub fn dpc_factor_brig(&mut self) -> DPC_FACTOR_BRIG_W { DPC_FACTOR_BRIG_W::new(self, 22) } diff --git a/esp32p4/src/isp/dpc_ctrl.rs b/esp32p4/src/isp/dpc_ctrl.rs index 0aef617cac..fdba4cdb6e 100644 --- a/esp32p4/src/isp/dpc_ctrl.rs +++ b/esp32p4/src/isp/dpc_ctrl.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - this bit configures the check mode enable. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn dpc_check_en(&mut self) -> DPC_CHECK_EN_W { DPC_CHECK_EN_W::new(self, 0) } #[doc = "Bit 1 - this bit configures the sta dpc enable. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn sta_en(&mut self) -> STA_EN_W { STA_EN_W::new(self, 1) } #[doc = "Bit 2 - this bit configures the dyn dpc enable. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn dyn_en(&mut self) -> DYN_EN_W { DYN_EN_W::new(self, 2) } #[doc = "Bit 3 - this bit configures input image type select when in check mode, 0: white img, 1: black img"] #[inline(always)] - #[must_use] pub fn dpc_black_en(&mut self) -> DPC_BLACK_EN_W { DPC_BLACK_EN_W::new(self, 3) } #[doc = "Bit 4 - this bit configures dyn dpc method select. 0: simple method, 1: hard method"] #[inline(always)] - #[must_use] pub fn dpc_method_sel(&mut self) -> DPC_METHOD_SEL_W { DPC_METHOD_SEL_W::new(self, 4) } #[doc = "Bit 5 - this bit configures output pixel data when in check mode or not. 0: no data output, 1: data output"] #[inline(always)] - #[must_use] pub fn dpc_check_od_en(&mut self) -> DPC_CHECK_OD_EN_W { DPC_CHECK_OD_EN_W::new(self, 5) } diff --git a/esp32p4/src/isp/dpc_matrix_ctrl.rs b/esp32p4/src/isp/dpc_matrix_ctrl.rs index 28e592ebab..6f9218e911 100644 --- a/esp32p4/src/isp/dpc_matrix_ctrl.rs +++ b/esp32p4/src/isp/dpc_matrix_ctrl.rs @@ -2,13 +2,13 @@ pub type R = crate::R; #[doc = "Register `DPC_MATRIX_CTRL` writer"] pub type W = crate::W; -#[doc = "Field `DPC_TAIL_PIXEN_PULSE_TL` reader - matrix tail pixen low level threshold, should not to large to prevent expanding to next frame, only reg_dpc_tail_pixen_pulse_th!=0 and reg_dpc_tail_pixen_pulse_tl!=0 and reg_dpc_tail_pixen_pulse_th < reg_dpc_tail_pixen_pulse_tl will enable tail pulse function"] +#[doc = "Field `DPC_TAIL_PIXEN_PULSE_TL` reader - matrix tail pixen low level threshold, should not to large to prevent expanding to next frame, only reg_dpc_tail_pixen_pulse_th!=0 and reg_dpc_tail_pixen_pulse_tl!=0 and reg_dpc_tail_pixen_pulse_th < reg_dpc_tail_pixen_pulse_tl will enable tail pulse function"] pub type DPC_TAIL_PIXEN_PULSE_TL_R = crate::FieldReader; -#[doc = "Field `DPC_TAIL_PIXEN_PULSE_TL` writer - matrix tail pixen low level threshold, should not to large to prevent expanding to next frame, only reg_dpc_tail_pixen_pulse_th!=0 and reg_dpc_tail_pixen_pulse_tl!=0 and reg_dpc_tail_pixen_pulse_th < reg_dpc_tail_pixen_pulse_tl will enable tail pulse function"] +#[doc = "Field `DPC_TAIL_PIXEN_PULSE_TL` writer - matrix tail pixen low level threshold, should not to large to prevent expanding to next frame, only reg_dpc_tail_pixen_pulse_th!=0 and reg_dpc_tail_pixen_pulse_tl!=0 and reg_dpc_tail_pixen_pulse_th < reg_dpc_tail_pixen_pulse_tl will enable tail pulse function"] pub type DPC_TAIL_PIXEN_PULSE_TL_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -#[doc = "Field `DPC_TAIL_PIXEN_PULSE_TH` reader - matrix tail pixen high level threshold, must < hnum-1, only reg_dpc_tail_pixen_pulse_th!=0 and reg_dpc_tail_pixen_pulse_tl!=0 and reg_dpc_tail_pixen_pulse_th < reg_dpc_tail_pixen_pulse_tl will enable tail pulse function"] +#[doc = "Field `DPC_TAIL_PIXEN_PULSE_TH` reader - matrix tail pixen high level threshold, must < hnum-1, only reg_dpc_tail_pixen_pulse_th!=0 and reg_dpc_tail_pixen_pulse_tl!=0 and reg_dpc_tail_pixen_pulse_th < reg_dpc_tail_pixen_pulse_tl will enable tail pulse function"] pub type DPC_TAIL_PIXEN_PULSE_TH_R = crate::FieldReader; -#[doc = "Field `DPC_TAIL_PIXEN_PULSE_TH` writer - matrix tail pixen high level threshold, must < hnum-1, only reg_dpc_tail_pixen_pulse_th!=0 and reg_dpc_tail_pixen_pulse_tl!=0 and reg_dpc_tail_pixen_pulse_th < reg_dpc_tail_pixen_pulse_tl will enable tail pulse function"] +#[doc = "Field `DPC_TAIL_PIXEN_PULSE_TH` writer - matrix tail pixen high level threshold, must < hnum-1, only reg_dpc_tail_pixen_pulse_th!=0 and reg_dpc_tail_pixen_pulse_tl!=0 and reg_dpc_tail_pixen_pulse_th < reg_dpc_tail_pixen_pulse_tl will enable tail pulse function"] pub type DPC_TAIL_PIXEN_PULSE_TH_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; #[doc = "Field `DPC_PADDING_DATA` reader - this field configures dpc matrix padding data"] pub type DPC_PADDING_DATA_R = crate::FieldReader; @@ -19,12 +19,12 @@ pub type DPC_PADDING_MODE_R = crate::BitReader; #[doc = "Field `DPC_PADDING_MODE` writer - this bit configures the padding mode of dpc matrix. 0: use pixel in image to do padding 1: use reg_padding_data to do padding"] pub type DPC_PADDING_MODE_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { - #[doc = "Bits 0:7 - matrix tail pixen low level threshold, should not to large to prevent expanding to next frame, only reg_dpc_tail_pixen_pulse_th!=0 and reg_dpc_tail_pixen_pulse_tl!=0 and reg_dpc_tail_pixen_pulse_th < reg_dpc_tail_pixen_pulse_tl will enable tail pulse function"] + #[doc = "Bits 0:7 - matrix tail pixen low level threshold, should not to large to prevent expanding to next frame, only reg_dpc_tail_pixen_pulse_th!=0 and reg_dpc_tail_pixen_pulse_tl!=0 and reg_dpc_tail_pixen_pulse_th < reg_dpc_tail_pixen_pulse_tl will enable tail pulse function"] #[inline(always)] pub fn dpc_tail_pixen_pulse_tl(&self) -> DPC_TAIL_PIXEN_PULSE_TL_R { DPC_TAIL_PIXEN_PULSE_TL_R::new((self.bits & 0xff) as u8) } - #[doc = "Bits 8:15 - matrix tail pixen high level threshold, must < hnum-1, only reg_dpc_tail_pixen_pulse_th!=0 and reg_dpc_tail_pixen_pulse_tl!=0 and reg_dpc_tail_pixen_pulse_th < reg_dpc_tail_pixen_pulse_tl will enable tail pulse function"] + #[doc = "Bits 8:15 - matrix tail pixen high level threshold, must < hnum-1, only reg_dpc_tail_pixen_pulse_th!=0 and reg_dpc_tail_pixen_pulse_tl!=0 and reg_dpc_tail_pixen_pulse_th < reg_dpc_tail_pixen_pulse_tl will enable tail pulse function"] #[inline(always)] pub fn dpc_tail_pixen_pulse_th(&self) -> DPC_TAIL_PIXEN_PULSE_TH_R { DPC_TAIL_PIXEN_PULSE_TH_R::new(((self.bits >> 8) & 0xff) as u8) @@ -52,27 +52,23 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bits 0:7 - matrix tail pixen low level threshold, should not to large to prevent expanding to next frame, only reg_dpc_tail_pixen_pulse_th!=0 and reg_dpc_tail_pixen_pulse_tl!=0 and reg_dpc_tail_pixen_pulse_th < reg_dpc_tail_pixen_pulse_tl will enable tail pulse function"] + #[doc = "Bits 0:7 - matrix tail pixen low level threshold, should not to large to prevent expanding to next frame, only reg_dpc_tail_pixen_pulse_th!=0 and reg_dpc_tail_pixen_pulse_tl!=0 and reg_dpc_tail_pixen_pulse_th < reg_dpc_tail_pixen_pulse_tl will enable tail pulse function"] #[inline(always)] - #[must_use] pub fn dpc_tail_pixen_pulse_tl(&mut self) -> DPC_TAIL_PIXEN_PULSE_TL_W { DPC_TAIL_PIXEN_PULSE_TL_W::new(self, 0) } - #[doc = "Bits 8:15 - matrix tail pixen high level threshold, must < hnum-1, only reg_dpc_tail_pixen_pulse_th!=0 and reg_dpc_tail_pixen_pulse_tl!=0 and reg_dpc_tail_pixen_pulse_th < reg_dpc_tail_pixen_pulse_tl will enable tail pulse function"] + #[doc = "Bits 8:15 - matrix tail pixen high level threshold, must < hnum-1, only reg_dpc_tail_pixen_pulse_th!=0 and reg_dpc_tail_pixen_pulse_tl!=0 and reg_dpc_tail_pixen_pulse_th < reg_dpc_tail_pixen_pulse_tl will enable tail pulse function"] #[inline(always)] - #[must_use] pub fn dpc_tail_pixen_pulse_th(&mut self) -> DPC_TAIL_PIXEN_PULSE_TH_W { DPC_TAIL_PIXEN_PULSE_TH_W::new(self, 8) } #[doc = "Bits 16:23 - this field configures dpc matrix padding data"] #[inline(always)] - #[must_use] pub fn dpc_padding_data(&mut self) -> DPC_PADDING_DATA_W { DPC_PADDING_DATA_W::new(self, 16) } #[doc = "Bit 24 - this bit configures the padding mode of dpc matrix. 0: use pixel in image to do padding 1: use reg_padding_data to do padding"] #[inline(always)] - #[must_use] pub fn dpc_padding_mode(&mut self) -> DPC_PADDING_MODE_W { DPC_PADDING_MODE_W::new(self, 24) } diff --git a/esp32p4/src/isp/frame_cfg.rs b/esp32p4/src/isp/frame_cfg.rs index 42cc0125b3..79e1be645c 100644 --- a/esp32p4/src/isp/frame_cfg.rs +++ b/esp32p4/src/isp/frame_cfg.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - this field configures input image size in y-direction, image row number - 1"] #[inline(always)] - #[must_use] pub fn vadr_num(&mut self) -> VADR_NUM_W { VADR_NUM_W::new(self, 0) } #[doc = "Bits 12:23 - this field configures input image size in x-direction, image line number - 1"] #[inline(always)] - #[must_use] pub fn hadr_num(&mut self) -> HADR_NUM_W { HADR_NUM_W::new(self, 12) } #[doc = "Bits 27:28 - this field configures the bayer mode of input pixel. 00 : BG/GR 01 : GB/RG 10 : GR/BG 11 : RG/GB"] #[inline(always)] - #[must_use] pub fn bayer_mode(&mut self) -> BAYER_MODE_W { BAYER_MODE_W::new(self, 27) } #[doc = "Bit 29 - this bit configures the line end packet exist or not. 0: not exist, 1: exist"] #[inline(always)] - #[must_use] pub fn hsync_start_exist(&mut self) -> HSYNC_START_EXIST_W { HSYNC_START_EXIST_W::new(self, 29) } #[doc = "Bit 30 - this bit configures the line start packet exist or not. 0: not exist, 1: exist"] #[inline(always)] - #[must_use] pub fn hsync_end_exist(&mut self) -> HSYNC_END_EXIST_W { HSYNC_END_EXIST_W::new(self, 30) } diff --git a/esp32p4/src/isp/gamma_bx1.rs b/esp32p4/src/isp/gamma_bx1.rs index be65b44fe4..5074d30ee7 100644 --- a/esp32p4/src/isp/gamma_bx1.rs +++ b/esp32p4/src/isp/gamma_bx1.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - this field configures the point 7 of X-axis of b channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_b_x07(&mut self) -> GAMMA_B_X07_W { GAMMA_B_X07_W::new(self, 0) } #[doc = "Bits 3:5 - this field configures the point 6 of X-axis of b channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_b_x06(&mut self) -> GAMMA_B_X06_W { GAMMA_B_X06_W::new(self, 3) } #[doc = "Bits 6:8 - this field configures the point 5 of X-axis of b channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_b_x05(&mut self) -> GAMMA_B_X05_W { GAMMA_B_X05_W::new(self, 6) } #[doc = "Bits 9:11 - this field configures the point 4 of X-axis of b channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_b_x04(&mut self) -> GAMMA_B_X04_W { GAMMA_B_X04_W::new(self, 9) } #[doc = "Bits 12:14 - this field configures the point 3 of X-axis of b channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_b_x03(&mut self) -> GAMMA_B_X03_W { GAMMA_B_X03_W::new(self, 12) } #[doc = "Bits 15:17 - this field configures the point 2 of X-axis of b channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_b_x02(&mut self) -> GAMMA_B_X02_W { GAMMA_B_X02_W::new(self, 15) } #[doc = "Bits 18:20 - this field configures the point 1 of X-axis of b channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_b_x01(&mut self) -> GAMMA_B_X01_W { GAMMA_B_X01_W::new(self, 18) } #[doc = "Bits 21:23 - this field configures the point 0 of X-axis of b channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_b_x00(&mut self) -> GAMMA_B_X00_W { GAMMA_B_X00_W::new(self, 21) } diff --git a/esp32p4/src/isp/gamma_bx2.rs b/esp32p4/src/isp/gamma_bx2.rs index 597bfc4b27..575b4b344e 100644 --- a/esp32p4/src/isp/gamma_bx2.rs +++ b/esp32p4/src/isp/gamma_bx2.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - this field configures the point 15 of X-axis of b channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_b_x0f(&mut self) -> GAMMA_B_X0F_W { GAMMA_B_X0F_W::new(self, 0) } #[doc = "Bits 3:5 - this field configures the point 14 of X-axis of b channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_b_x0e(&mut self) -> GAMMA_B_X0E_W { GAMMA_B_X0E_W::new(self, 3) } #[doc = "Bits 6:8 - this field configures the point 13 of X-axis of b channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_b_x0d(&mut self) -> GAMMA_B_X0D_W { GAMMA_B_X0D_W::new(self, 6) } #[doc = "Bits 9:11 - this field configures the point 12 of X-axis of b channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_b_x0c(&mut self) -> GAMMA_B_X0C_W { GAMMA_B_X0C_W::new(self, 9) } #[doc = "Bits 12:14 - this field configures the point 11 of X-axis of b channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_b_x0b(&mut self) -> GAMMA_B_X0B_W { GAMMA_B_X0B_W::new(self, 12) } #[doc = "Bits 15:17 - this field configures the point 10 of X-axis of b channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_b_x0a(&mut self) -> GAMMA_B_X0A_W { GAMMA_B_X0A_W::new(self, 15) } #[doc = "Bits 18:20 - this field configures the point 9 of X-axis of b channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_b_x09(&mut self) -> GAMMA_B_X09_W { GAMMA_B_X09_W::new(self, 18) } #[doc = "Bits 21:23 - this field configures the point 8 of X-axis of b channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_b_x08(&mut self) -> GAMMA_B_X08_W { GAMMA_B_X08_W::new(self, 21) } diff --git a/esp32p4/src/isp/gamma_by1.rs b/esp32p4/src/isp/gamma_by1.rs index 22fa3aef61..90cd005210 100644 --- a/esp32p4/src/isp/gamma_by1.rs +++ b/esp32p4/src/isp/gamma_by1.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - this field configures the point 3 of Y-axis of b channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_b_y03(&mut self) -> GAMMA_B_Y03_W { GAMMA_B_Y03_W::new(self, 0) } #[doc = "Bits 8:15 - this field configures the point 2 of Y-axis of b channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_b_y02(&mut self) -> GAMMA_B_Y02_W { GAMMA_B_Y02_W::new(self, 8) } #[doc = "Bits 16:23 - this field configures the point 1 of Y-axis of b channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_b_y01(&mut self) -> GAMMA_B_Y01_W { GAMMA_B_Y01_W::new(self, 16) } #[doc = "Bits 24:31 - this field configures the point 0 of Y-axis of b channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_b_y00(&mut self) -> GAMMA_B_Y00_W { GAMMA_B_Y00_W::new(self, 24) } diff --git a/esp32p4/src/isp/gamma_by2.rs b/esp32p4/src/isp/gamma_by2.rs index 393d55c364..1f299f725a 100644 --- a/esp32p4/src/isp/gamma_by2.rs +++ b/esp32p4/src/isp/gamma_by2.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - this field configures the point 7 of Y-axis of b channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_b_y07(&mut self) -> GAMMA_B_Y07_W { GAMMA_B_Y07_W::new(self, 0) } #[doc = "Bits 8:15 - this field configures the point 6 of Y-axis of b channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_b_y06(&mut self) -> GAMMA_B_Y06_W { GAMMA_B_Y06_W::new(self, 8) } #[doc = "Bits 16:23 - this field configures the point 5 of Y-axis of b channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_b_y05(&mut self) -> GAMMA_B_Y05_W { GAMMA_B_Y05_W::new(self, 16) } #[doc = "Bits 24:31 - this field configures the point 4 of Y-axis of b channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_b_y04(&mut self) -> GAMMA_B_Y04_W { GAMMA_B_Y04_W::new(self, 24) } diff --git a/esp32p4/src/isp/gamma_by3.rs b/esp32p4/src/isp/gamma_by3.rs index 0267ab9f4e..030a00557a 100644 --- a/esp32p4/src/isp/gamma_by3.rs +++ b/esp32p4/src/isp/gamma_by3.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - this field configures the point 11 of Y-axis of b channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_b_y0b(&mut self) -> GAMMA_B_Y0B_W { GAMMA_B_Y0B_W::new(self, 0) } #[doc = "Bits 8:15 - this field configures the point 10 of Y-axis of b channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_b_y0a(&mut self) -> GAMMA_B_Y0A_W { GAMMA_B_Y0A_W::new(self, 8) } #[doc = "Bits 16:23 - this field configures the point 9 of Y-axis of b channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_b_y09(&mut self) -> GAMMA_B_Y09_W { GAMMA_B_Y09_W::new(self, 16) } #[doc = "Bits 24:31 - this field configures the point 8 of Y-axis of b channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_b_y08(&mut self) -> GAMMA_B_Y08_W { GAMMA_B_Y08_W::new(self, 24) } diff --git a/esp32p4/src/isp/gamma_by4.rs b/esp32p4/src/isp/gamma_by4.rs index 851175b1ee..8705bb7915 100644 --- a/esp32p4/src/isp/gamma_by4.rs +++ b/esp32p4/src/isp/gamma_by4.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - this field configures the point 15 of Y-axis of b channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_b_y0f(&mut self) -> GAMMA_B_Y0F_W { GAMMA_B_Y0F_W::new(self, 0) } #[doc = "Bits 8:15 - this field configures the point 14 of Y-axis of b channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_b_y0e(&mut self) -> GAMMA_B_Y0E_W { GAMMA_B_Y0E_W::new(self, 8) } #[doc = "Bits 16:23 - this field configures the point 13 of Y-axis of b channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_b_y0d(&mut self) -> GAMMA_B_Y0D_W { GAMMA_B_Y0D_W::new(self, 16) } #[doc = "Bits 24:31 - this field configures the point 12 of Y-axis of b channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_b_y0c(&mut self) -> GAMMA_B_Y0C_W { GAMMA_B_Y0C_W::new(self, 24) } diff --git a/esp32p4/src/isp/gamma_ctrl.rs b/esp32p4/src/isp/gamma_ctrl.rs index dcbec99a08..fbbf90abc4 100644 --- a/esp32p4/src/isp/gamma_ctrl.rs +++ b/esp32p4/src/isp/gamma_ctrl.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Indicates that gamma register configuration is complete"] #[inline(always)] - #[must_use] pub fn gamma_update(&mut self) -> GAMMA_UPDATE_W { GAMMA_UPDATE_W::new(self, 0) } #[doc = "Bit 1 - this bit configures enable of last b segment correcction. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn gamma_b_last_correct(&mut self) -> GAMMA_B_LAST_CORRECT_W { GAMMA_B_LAST_CORRECT_W::new(self, 1) } #[doc = "Bit 2 - this bit configures enable of last g segment correcction. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn gamma_g_last_correct(&mut self) -> GAMMA_G_LAST_CORRECT_W { GAMMA_G_LAST_CORRECT_W::new(self, 2) } #[doc = "Bit 3 - this bit configures enable of last r segment correcction. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn gamma_r_last_correct(&mut self) -> GAMMA_R_LAST_CORRECT_W { GAMMA_R_LAST_CORRECT_W::new(self, 3) } diff --git a/esp32p4/src/isp/gamma_gx1.rs b/esp32p4/src/isp/gamma_gx1.rs index ebf54c33a3..fa4d14efc7 100644 --- a/esp32p4/src/isp/gamma_gx1.rs +++ b/esp32p4/src/isp/gamma_gx1.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - this field configures the point 7 of X-axis of g channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_g_x07(&mut self) -> GAMMA_G_X07_W { GAMMA_G_X07_W::new(self, 0) } #[doc = "Bits 3:5 - this field configures the point 6 of X-axis of g channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_g_x06(&mut self) -> GAMMA_G_X06_W { GAMMA_G_X06_W::new(self, 3) } #[doc = "Bits 6:8 - this field configures the point 5 of X-axis of g channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_g_x05(&mut self) -> GAMMA_G_X05_W { GAMMA_G_X05_W::new(self, 6) } #[doc = "Bits 9:11 - this field configures the point 4 of X-axis of g channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_g_x04(&mut self) -> GAMMA_G_X04_W { GAMMA_G_X04_W::new(self, 9) } #[doc = "Bits 12:14 - this field configures the point 3 of X-axis of g channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_g_x03(&mut self) -> GAMMA_G_X03_W { GAMMA_G_X03_W::new(self, 12) } #[doc = "Bits 15:17 - this field configures the point 2 of X-axis of g channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_g_x02(&mut self) -> GAMMA_G_X02_W { GAMMA_G_X02_W::new(self, 15) } #[doc = "Bits 18:20 - this field configures the point 1 of X-axis of g channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_g_x01(&mut self) -> GAMMA_G_X01_W { GAMMA_G_X01_W::new(self, 18) } #[doc = "Bits 21:23 - this field configures the point 0 of X-axis of g channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_g_x00(&mut self) -> GAMMA_G_X00_W { GAMMA_G_X00_W::new(self, 21) } diff --git a/esp32p4/src/isp/gamma_gx2.rs b/esp32p4/src/isp/gamma_gx2.rs index 6bfd779b38..a7cd9fb235 100644 --- a/esp32p4/src/isp/gamma_gx2.rs +++ b/esp32p4/src/isp/gamma_gx2.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - this field configures the point 15 of X-axis of g channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_g_x0f(&mut self) -> GAMMA_G_X0F_W { GAMMA_G_X0F_W::new(self, 0) } #[doc = "Bits 3:5 - this field configures the point 14 of X-axis of g channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_g_x0e(&mut self) -> GAMMA_G_X0E_W { GAMMA_G_X0E_W::new(self, 3) } #[doc = "Bits 6:8 - this field configures the point 13 of X-axis of g channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_g_x0d(&mut self) -> GAMMA_G_X0D_W { GAMMA_G_X0D_W::new(self, 6) } #[doc = "Bits 9:11 - this field configures the point 12 of X-axis of g channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_g_x0c(&mut self) -> GAMMA_G_X0C_W { GAMMA_G_X0C_W::new(self, 9) } #[doc = "Bits 12:14 - this field configures the point 11 of X-axis of g channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_g_x0b(&mut self) -> GAMMA_G_X0B_W { GAMMA_G_X0B_W::new(self, 12) } #[doc = "Bits 15:17 - this field configures the point 10 of X-axis of g channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_g_x0a(&mut self) -> GAMMA_G_X0A_W { GAMMA_G_X0A_W::new(self, 15) } #[doc = "Bits 18:20 - this field configures the point 9 of X-axis of g channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_g_x09(&mut self) -> GAMMA_G_X09_W { GAMMA_G_X09_W::new(self, 18) } #[doc = "Bits 21:23 - this field configures the point 8 of X-axis of g channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_g_x08(&mut self) -> GAMMA_G_X08_W { GAMMA_G_X08_W::new(self, 21) } diff --git a/esp32p4/src/isp/gamma_gy1.rs b/esp32p4/src/isp/gamma_gy1.rs index 73bd213462..6d58b7b6e1 100644 --- a/esp32p4/src/isp/gamma_gy1.rs +++ b/esp32p4/src/isp/gamma_gy1.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - this field configures the point 3 of Y-axis of g channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_g_y03(&mut self) -> GAMMA_G_Y03_W { GAMMA_G_Y03_W::new(self, 0) } #[doc = "Bits 8:15 - this field configures the point 2 of Y-axis of g channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_g_y02(&mut self) -> GAMMA_G_Y02_W { GAMMA_G_Y02_W::new(self, 8) } #[doc = "Bits 16:23 - this field configures the point 1 of Y-axis of g channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_g_y01(&mut self) -> GAMMA_G_Y01_W { GAMMA_G_Y01_W::new(self, 16) } #[doc = "Bits 24:31 - this field configures the point 0 of Y-axis of g channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_g_y00(&mut self) -> GAMMA_G_Y00_W { GAMMA_G_Y00_W::new(self, 24) } diff --git a/esp32p4/src/isp/gamma_gy2.rs b/esp32p4/src/isp/gamma_gy2.rs index c3d7e4c424..30e7b8d37d 100644 --- a/esp32p4/src/isp/gamma_gy2.rs +++ b/esp32p4/src/isp/gamma_gy2.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - this field configures the point 7 of Y-axis of g channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_g_y07(&mut self) -> GAMMA_G_Y07_W { GAMMA_G_Y07_W::new(self, 0) } #[doc = "Bits 8:15 - this field configures the point 6 of Y-axis of g channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_g_y06(&mut self) -> GAMMA_G_Y06_W { GAMMA_G_Y06_W::new(self, 8) } #[doc = "Bits 16:23 - this field configures the point 5 of Y-axis of g channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_g_y05(&mut self) -> GAMMA_G_Y05_W { GAMMA_G_Y05_W::new(self, 16) } #[doc = "Bits 24:31 - this field configures the point 4 of Y-axis of g channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_g_y04(&mut self) -> GAMMA_G_Y04_W { GAMMA_G_Y04_W::new(self, 24) } diff --git a/esp32p4/src/isp/gamma_gy3.rs b/esp32p4/src/isp/gamma_gy3.rs index 0dd6ac0756..82c1f096bb 100644 --- a/esp32p4/src/isp/gamma_gy3.rs +++ b/esp32p4/src/isp/gamma_gy3.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - this field configures the point 11 of Y-axis of g channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_g_y0b(&mut self) -> GAMMA_G_Y0B_W { GAMMA_G_Y0B_W::new(self, 0) } #[doc = "Bits 8:15 - this field configures the point 10 of Y-axis of g channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_g_y0a(&mut self) -> GAMMA_G_Y0A_W { GAMMA_G_Y0A_W::new(self, 8) } #[doc = "Bits 16:23 - this field configures the point 9 of Y-axis of g channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_g_y09(&mut self) -> GAMMA_G_Y09_W { GAMMA_G_Y09_W::new(self, 16) } #[doc = "Bits 24:31 - this field configures the point 8 of Y-axis of g channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_g_y08(&mut self) -> GAMMA_G_Y08_W { GAMMA_G_Y08_W::new(self, 24) } diff --git a/esp32p4/src/isp/gamma_gy4.rs b/esp32p4/src/isp/gamma_gy4.rs index d21ed8bc08..43766789b5 100644 --- a/esp32p4/src/isp/gamma_gy4.rs +++ b/esp32p4/src/isp/gamma_gy4.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - this field configures the point 15 of Y-axis of g channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_g_y0f(&mut self) -> GAMMA_G_Y0F_W { GAMMA_G_Y0F_W::new(self, 0) } #[doc = "Bits 8:15 - this field configures the point 14 of Y-axis of g channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_g_y0e(&mut self) -> GAMMA_G_Y0E_W { GAMMA_G_Y0E_W::new(self, 8) } #[doc = "Bits 16:23 - this field configures the point 13 of Y-axis of g channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_g_y0d(&mut self) -> GAMMA_G_Y0D_W { GAMMA_G_Y0D_W::new(self, 16) } #[doc = "Bits 24:31 - this field configures the point 12 of Y-axis of g channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_g_y0c(&mut self) -> GAMMA_G_Y0C_W { GAMMA_G_Y0C_W::new(self, 24) } diff --git a/esp32p4/src/isp/gamma_rx1.rs b/esp32p4/src/isp/gamma_rx1.rs index 23363dbbb9..2f6335a95d 100644 --- a/esp32p4/src/isp/gamma_rx1.rs +++ b/esp32p4/src/isp/gamma_rx1.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - this field configures the point 7 of X-axis of r channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_r_x07(&mut self) -> GAMMA_R_X07_W { GAMMA_R_X07_W::new(self, 0) } #[doc = "Bits 3:5 - this field configures the point 6 of X-axis of r channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_r_x06(&mut self) -> GAMMA_R_X06_W { GAMMA_R_X06_W::new(self, 3) } #[doc = "Bits 6:8 - this field configures the point 5 of X-axis of r channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_r_x05(&mut self) -> GAMMA_R_X05_W { GAMMA_R_X05_W::new(self, 6) } #[doc = "Bits 9:11 - this field configures the point 4 of X-axis of r channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_r_x04(&mut self) -> GAMMA_R_X04_W { GAMMA_R_X04_W::new(self, 9) } #[doc = "Bits 12:14 - this field configures the point 3 of X-axis of r channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_r_x03(&mut self) -> GAMMA_R_X03_W { GAMMA_R_X03_W::new(self, 12) } #[doc = "Bits 15:17 - this field configures the point 2 of X-axis of r channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_r_x02(&mut self) -> GAMMA_R_X02_W { GAMMA_R_X02_W::new(self, 15) } #[doc = "Bits 18:20 - this field configures the point 1 of X-axis of r channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_r_x01(&mut self) -> GAMMA_R_X01_W { GAMMA_R_X01_W::new(self, 18) } #[doc = "Bits 21:23 - this field configures the point 0 of X-axis of r channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_r_x00(&mut self) -> GAMMA_R_X00_W { GAMMA_R_X00_W::new(self, 21) } diff --git a/esp32p4/src/isp/gamma_rx2.rs b/esp32p4/src/isp/gamma_rx2.rs index c910658c1c..5780f9ce87 100644 --- a/esp32p4/src/isp/gamma_rx2.rs +++ b/esp32p4/src/isp/gamma_rx2.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - this field configures the point 15 of X-axis of r channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_r_x0f(&mut self) -> GAMMA_R_X0F_W { GAMMA_R_X0F_W::new(self, 0) } #[doc = "Bits 3:5 - this field configures the point 14 of X-axis of r channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_r_x0e(&mut self) -> GAMMA_R_X0E_W { GAMMA_R_X0E_W::new(self, 3) } #[doc = "Bits 6:8 - this field configures the point 13 of X-axis of r channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_r_x0d(&mut self) -> GAMMA_R_X0D_W { GAMMA_R_X0D_W::new(self, 6) } #[doc = "Bits 9:11 - this field configures the point 12 of X-axis of r channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_r_x0c(&mut self) -> GAMMA_R_X0C_W { GAMMA_R_X0C_W::new(self, 9) } #[doc = "Bits 12:14 - this field configures the point 11 of X-axis of r channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_r_x0b(&mut self) -> GAMMA_R_X0B_W { GAMMA_R_X0B_W::new(self, 12) } #[doc = "Bits 15:17 - this field configures the point 10 of X-axis of r channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_r_x0a(&mut self) -> GAMMA_R_X0A_W { GAMMA_R_X0A_W::new(self, 15) } #[doc = "Bits 18:20 - this field configures the point 9 of X-axis of r channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_r_x09(&mut self) -> GAMMA_R_X09_W { GAMMA_R_X09_W::new(self, 18) } #[doc = "Bits 21:23 - this field configures the point 8 of X-axis of r channel gamma curve, it represents the power of the distance from the previous point"] #[inline(always)] - #[must_use] pub fn gamma_r_x08(&mut self) -> GAMMA_R_X08_W { GAMMA_R_X08_W::new(self, 21) } diff --git a/esp32p4/src/isp/gamma_ry1.rs b/esp32p4/src/isp/gamma_ry1.rs index c63d665a46..0bef5c31a2 100644 --- a/esp32p4/src/isp/gamma_ry1.rs +++ b/esp32p4/src/isp/gamma_ry1.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - this field configures the point 3 of Y-axis of r channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_r_y03(&mut self) -> GAMMA_R_Y03_W { GAMMA_R_Y03_W::new(self, 0) } #[doc = "Bits 8:15 - this field configures the point 2 of Y-axis of r channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_r_y02(&mut self) -> GAMMA_R_Y02_W { GAMMA_R_Y02_W::new(self, 8) } #[doc = "Bits 16:23 - this field configures the point 1 of Y-axis of r channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_r_y01(&mut self) -> GAMMA_R_Y01_W { GAMMA_R_Y01_W::new(self, 16) } #[doc = "Bits 24:31 - this field configures the point 0 of Y-axis of r channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_r_y00(&mut self) -> GAMMA_R_Y00_W { GAMMA_R_Y00_W::new(self, 24) } diff --git a/esp32p4/src/isp/gamma_ry2.rs b/esp32p4/src/isp/gamma_ry2.rs index 41e94a81ba..c74c6492b2 100644 --- a/esp32p4/src/isp/gamma_ry2.rs +++ b/esp32p4/src/isp/gamma_ry2.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - this field configures the point 7 of Y-axis of r channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_r_y07(&mut self) -> GAMMA_R_Y07_W { GAMMA_R_Y07_W::new(self, 0) } #[doc = "Bits 8:15 - this field configures the point 6 of Y-axis of r channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_r_y06(&mut self) -> GAMMA_R_Y06_W { GAMMA_R_Y06_W::new(self, 8) } #[doc = "Bits 16:23 - this field configures the point 5 of Y-axis of r channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_r_y05(&mut self) -> GAMMA_R_Y05_W { GAMMA_R_Y05_W::new(self, 16) } #[doc = "Bits 24:31 - this field configures the point 4 of Y-axis of r channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_r_y04(&mut self) -> GAMMA_R_Y04_W { GAMMA_R_Y04_W::new(self, 24) } diff --git a/esp32p4/src/isp/gamma_ry3.rs b/esp32p4/src/isp/gamma_ry3.rs index 14cbd8416d..8bb4c7294a 100644 --- a/esp32p4/src/isp/gamma_ry3.rs +++ b/esp32p4/src/isp/gamma_ry3.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - this field configures the point 11 of Y-axis of r channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_r_y0b(&mut self) -> GAMMA_R_Y0B_W { GAMMA_R_Y0B_W::new(self, 0) } #[doc = "Bits 8:15 - this field configures the point 10 of Y-axis of r channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_r_y0a(&mut self) -> GAMMA_R_Y0A_W { GAMMA_R_Y0A_W::new(self, 8) } #[doc = "Bits 16:23 - this field configures the point 9 of Y-axis of r channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_r_y09(&mut self) -> GAMMA_R_Y09_W { GAMMA_R_Y09_W::new(self, 16) } #[doc = "Bits 24:31 - this field configures the point 8 of Y-axis of r channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_r_y08(&mut self) -> GAMMA_R_Y08_W { GAMMA_R_Y08_W::new(self, 24) } diff --git a/esp32p4/src/isp/gamma_ry4.rs b/esp32p4/src/isp/gamma_ry4.rs index 5be95255e6..c003dc277a 100644 --- a/esp32p4/src/isp/gamma_ry4.rs +++ b/esp32p4/src/isp/gamma_ry4.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - this field configures the point 15 of Y-axis of r channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_r_y0f(&mut self) -> GAMMA_R_Y0F_W { GAMMA_R_Y0F_W::new(self, 0) } #[doc = "Bits 8:15 - this field configures the point 14 of Y-axis of r channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_r_y0e(&mut self) -> GAMMA_R_Y0E_W { GAMMA_R_Y0E_W::new(self, 8) } #[doc = "Bits 16:23 - this field configures the point 13 of Y-axis of r channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_r_y0d(&mut self) -> GAMMA_R_Y0D_W { GAMMA_R_Y0D_W::new(self, 16) } #[doc = "Bits 24:31 - this field configures the point 12 of Y-axis of r channel gamma curve"] #[inline(always)] - #[must_use] pub fn gamma_r_y0c(&mut self) -> GAMMA_R_Y0C_W { GAMMA_R_Y0C_W::new(self, 24) } diff --git a/esp32p4/src/isp/hist_coeff.rs b/esp32p4/src/isp/hist_coeff.rs index 211e621acb..ad82c55859 100644 --- a/esp32p4/src/isp/hist_coeff.rs +++ b/esp32p4/src/isp/hist_coeff.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - this field configures coefficient of B when set hist_mode to RGB, sum of coeff_r and coeff_g and coeff_b should be 256"] #[inline(always)] - #[must_use] pub fn b(&mut self) -> B_W { B_W::new(self, 0) } #[doc = "Bits 8:15 - this field configures coefficient of G when set hist_mode to RGB, sum of coeff_r and coeff_g and coeff_b should be 256"] #[inline(always)] - #[must_use] pub fn g(&mut self) -> G_W { G_W::new(self, 8) } #[doc = "Bits 16:23 - this field configures coefficient of R when set hist_mode to RGB, sum of coeff_r and coeff_g and coeff_b should be 256"] #[inline(always)] - #[must_use] pub fn r(&mut self) -> R_W { R_W::new(self, 16) } diff --git a/esp32p4/src/isp/hist_mode.rs b/esp32p4/src/isp/hist_mode.rs index 4ed71784cf..e730dc95a1 100644 --- a/esp32p4/src/isp/hist_mode.rs +++ b/esp32p4/src/isp/hist_mode.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - this field configures statistic mode. 0: RAW_B, 1: RAW_GB, 2: RAW_GR 3: RAW_R, 4: RGB, 5:YUV_Y, 6:YUV_U, 7:YUV_V"] #[inline(always)] - #[must_use] pub fn hist_mode(&mut self) -> HIST_MODE_W { HIST_MODE_W::new(self, 0) } diff --git a/esp32p4/src/isp/hist_offs.rs b/esp32p4/src/isp/hist_offs.rs index ec9628a1e8..07baaec98d 100644 --- a/esp32p4/src/isp/hist_offs.rs +++ b/esp32p4/src/isp/hist_offs.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - this field configures y coordinate of first window"] #[inline(always)] - #[must_use] pub fn hist_y_offs(&mut self) -> HIST_Y_OFFS_W { HIST_Y_OFFS_W::new(self, 0) } #[doc = "Bits 16:27 - this field configures x coordinate of first window"] #[inline(always)] - #[must_use] pub fn hist_x_offs(&mut self) -> HIST_X_OFFS_W { HIST_X_OFFS_W::new(self, 16) } diff --git a/esp32p4/src/isp/hist_seg0.rs b/esp32p4/src/isp/hist_seg0.rs index baa6332a42..0e00d50129 100644 --- a/esp32p4/src/isp/hist_seg0.rs +++ b/esp32p4/src/isp/hist_seg0.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - this field configures threshold of histogram bin 3 and bin 4"] #[inline(always)] - #[must_use] pub fn hist_seg_3_4(&mut self) -> HIST_SEG_3_4_W { HIST_SEG_3_4_W::new(self, 0) } #[doc = "Bits 8:15 - this field configures threshold of histogram bin 2 and bin 3"] #[inline(always)] - #[must_use] pub fn hist_seg_2_3(&mut self) -> HIST_SEG_2_3_W { HIST_SEG_2_3_W::new(self, 8) } #[doc = "Bits 16:23 - this field configures threshold of histogram bin 1 and bin 2"] #[inline(always)] - #[must_use] pub fn hist_seg_1_2(&mut self) -> HIST_SEG_1_2_W { HIST_SEG_1_2_W::new(self, 16) } #[doc = "Bits 24:31 - this field configures threshold of histogram bin 0 and bin 1"] #[inline(always)] - #[must_use] pub fn hist_seg_0_1(&mut self) -> HIST_SEG_0_1_W { HIST_SEG_0_1_W::new(self, 24) } diff --git a/esp32p4/src/isp/hist_seg1.rs b/esp32p4/src/isp/hist_seg1.rs index b9263374d7..f6c9f2f538 100644 --- a/esp32p4/src/isp/hist_seg1.rs +++ b/esp32p4/src/isp/hist_seg1.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - this field configures threshold of histogram bin 7 and bin 8"] #[inline(always)] - #[must_use] pub fn hist_seg_7_8(&mut self) -> HIST_SEG_7_8_W { HIST_SEG_7_8_W::new(self, 0) } #[doc = "Bits 8:15 - this field configures threshold of histogram bin 6 and bin 7"] #[inline(always)] - #[must_use] pub fn hist_seg_6_7(&mut self) -> HIST_SEG_6_7_W { HIST_SEG_6_7_W::new(self, 8) } #[doc = "Bits 16:23 - this field configures threshold of histogram bin 5 and bin 6"] #[inline(always)] - #[must_use] pub fn hist_seg_5_6(&mut self) -> HIST_SEG_5_6_W { HIST_SEG_5_6_W::new(self, 16) } #[doc = "Bits 24:31 - this field configures threshold of histogram bin 4 and bin 5"] #[inline(always)] - #[must_use] pub fn hist_seg_4_5(&mut self) -> HIST_SEG_4_5_W { HIST_SEG_4_5_W::new(self, 24) } diff --git a/esp32p4/src/isp/hist_seg2.rs b/esp32p4/src/isp/hist_seg2.rs index b97ee20f46..898a4a4899 100644 --- a/esp32p4/src/isp/hist_seg2.rs +++ b/esp32p4/src/isp/hist_seg2.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - this field configures threshold of histogram bin 11 and bin 12"] #[inline(always)] - #[must_use] pub fn hist_seg_11_12(&mut self) -> HIST_SEG_11_12_W { HIST_SEG_11_12_W::new(self, 0) } #[doc = "Bits 8:15 - this field configures threshold of histogram bin 10 and bin 11"] #[inline(always)] - #[must_use] pub fn hist_seg_10_11(&mut self) -> HIST_SEG_10_11_W { HIST_SEG_10_11_W::new(self, 8) } #[doc = "Bits 16:23 - this field configures threshold of histogram bin 9 and bin 10"] #[inline(always)] - #[must_use] pub fn hist_seg_9_10(&mut self) -> HIST_SEG_9_10_W { HIST_SEG_9_10_W::new(self, 16) } #[doc = "Bits 24:31 - this field configures threshold of histogram bin 8 and bin 9"] #[inline(always)] - #[must_use] pub fn hist_seg_8_9(&mut self) -> HIST_SEG_8_9_W { HIST_SEG_8_9_W::new(self, 24) } diff --git a/esp32p4/src/isp/hist_seg3.rs b/esp32p4/src/isp/hist_seg3.rs index 4067f84e5d..0b84ed1a12 100644 --- a/esp32p4/src/isp/hist_seg3.rs +++ b/esp32p4/src/isp/hist_seg3.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - this field configures threshold of histogram bin 14 and bin 15"] #[inline(always)] - #[must_use] pub fn hist_seg_14_15(&mut self) -> HIST_SEG_14_15_W { HIST_SEG_14_15_W::new(self, 0) } #[doc = "Bits 8:15 - this field configures threshold of histogram bin 13 and bin 14"] #[inline(always)] - #[must_use] pub fn hist_seg_13_14(&mut self) -> HIST_SEG_13_14_W { HIST_SEG_13_14_W::new(self, 8) } #[doc = "Bits 16:23 - this field configures threshold of histogram bin 12 and bin 13"] #[inline(always)] - #[must_use] pub fn hist_seg_12_13(&mut self) -> HIST_SEG_12_13_W { HIST_SEG_12_13_W::new(self, 16) } diff --git a/esp32p4/src/isp/hist_size.rs b/esp32p4/src/isp/hist_size.rs index 2a008dc694..b5a2265e38 100644 --- a/esp32p4/src/isp/hist_size.rs +++ b/esp32p4/src/isp/hist_size.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - this field configures y direction size of subwindow"] #[inline(always)] - #[must_use] pub fn hist_y_size(&mut self) -> HIST_Y_SIZE_W { HIST_Y_SIZE_W::new(self, 0) } #[doc = "Bits 16:24 - this field configures x direction size of subwindow"] #[inline(always)] - #[must_use] pub fn hist_x_size(&mut self) -> HIST_X_SIZE_W { HIST_X_SIZE_W::new(self, 16) } diff --git a/esp32p4/src/isp/hist_weight0.rs b/esp32p4/src/isp/hist_weight0.rs index 5b684e55eb..faaa94f554 100644 --- a/esp32p4/src/isp/hist_weight0.rs +++ b/esp32p4/src/isp/hist_weight0.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - this field configures weight of subwindow 03"] #[inline(always)] - #[must_use] pub fn hist_weight_03(&mut self) -> HIST_WEIGHT_03_W { HIST_WEIGHT_03_W::new(self, 0) } #[doc = "Bits 8:15 - this field configures weight of subwindow 02"] #[inline(always)] - #[must_use] pub fn hist_weight_02(&mut self) -> HIST_WEIGHT_02_W { HIST_WEIGHT_02_W::new(self, 8) } #[doc = "Bits 16:23 - this field configures weight of subwindow 01"] #[inline(always)] - #[must_use] pub fn hist_weight_01(&mut self) -> HIST_WEIGHT_01_W { HIST_WEIGHT_01_W::new(self, 16) } #[doc = "Bits 24:31 - this field configures weight of subwindow 00 and sum of all weight should be 256"] #[inline(always)] - #[must_use] pub fn hist_weight_00(&mut self) -> HIST_WEIGHT_00_W { HIST_WEIGHT_00_W::new(self, 24) } diff --git a/esp32p4/src/isp/hist_weight1.rs b/esp32p4/src/isp/hist_weight1.rs index 87dd4f8e32..51547a8e33 100644 --- a/esp32p4/src/isp/hist_weight1.rs +++ b/esp32p4/src/isp/hist_weight1.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - this field configures weight of subwindow 12"] #[inline(always)] - #[must_use] pub fn hist_weight_12(&mut self) -> HIST_WEIGHT_12_W { HIST_WEIGHT_12_W::new(self, 0) } #[doc = "Bits 8:15 - this field configures weight of subwindow 11"] #[inline(always)] - #[must_use] pub fn hist_weight_11(&mut self) -> HIST_WEIGHT_11_W { HIST_WEIGHT_11_W::new(self, 8) } #[doc = "Bits 16:23 - this field configures weight of subwindow 10"] #[inline(always)] - #[must_use] pub fn hist_weight_10(&mut self) -> HIST_WEIGHT_10_W { HIST_WEIGHT_10_W::new(self, 16) } #[doc = "Bits 24:31 - this field configures weight of subwindow 04"] #[inline(always)] - #[must_use] pub fn hist_weight_04(&mut self) -> HIST_WEIGHT_04_W { HIST_WEIGHT_04_W::new(self, 24) } diff --git a/esp32p4/src/isp/hist_weight2.rs b/esp32p4/src/isp/hist_weight2.rs index f021327cfe..061251eef0 100644 --- a/esp32p4/src/isp/hist_weight2.rs +++ b/esp32p4/src/isp/hist_weight2.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - this field configures weight of subwindow 21"] #[inline(always)] - #[must_use] pub fn hist_weight_21(&mut self) -> HIST_WEIGHT_21_W { HIST_WEIGHT_21_W::new(self, 0) } #[doc = "Bits 8:15 - this field configures weight of subwindow 20"] #[inline(always)] - #[must_use] pub fn hist_weight_20(&mut self) -> HIST_WEIGHT_20_W { HIST_WEIGHT_20_W::new(self, 8) } #[doc = "Bits 16:23 - this field configures weight of subwindow 04"] #[inline(always)] - #[must_use] pub fn hist_weight_14(&mut self) -> HIST_WEIGHT_14_W { HIST_WEIGHT_14_W::new(self, 16) } #[doc = "Bits 24:31 - this field configures weight of subwindow 13"] #[inline(always)] - #[must_use] pub fn hist_weight_13(&mut self) -> HIST_WEIGHT_13_W { HIST_WEIGHT_13_W::new(self, 24) } diff --git a/esp32p4/src/isp/hist_weight3.rs b/esp32p4/src/isp/hist_weight3.rs index 0fabc7771a..9eb3394ed8 100644 --- a/esp32p4/src/isp/hist_weight3.rs +++ b/esp32p4/src/isp/hist_weight3.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - this field configures weight of subwindow 30"] #[inline(always)] - #[must_use] pub fn hist_weight_30(&mut self) -> HIST_WEIGHT_30_W { HIST_WEIGHT_30_W::new(self, 0) } #[doc = "Bits 8:15 - this field configures weight of subwindow 24"] #[inline(always)] - #[must_use] pub fn hist_weight_24(&mut self) -> HIST_WEIGHT_24_W { HIST_WEIGHT_24_W::new(self, 8) } #[doc = "Bits 16:23 - this field configures weight of subwindow 23"] #[inline(always)] - #[must_use] pub fn hist_weight_23(&mut self) -> HIST_WEIGHT_23_W { HIST_WEIGHT_23_W::new(self, 16) } #[doc = "Bits 24:31 - this field configures weight of subwindow 22"] #[inline(always)] - #[must_use] pub fn hist_weight_22(&mut self) -> HIST_WEIGHT_22_W { HIST_WEIGHT_22_W::new(self, 24) } diff --git a/esp32p4/src/isp/hist_weight4.rs b/esp32p4/src/isp/hist_weight4.rs index b2f7837cdd..621b26a4f3 100644 --- a/esp32p4/src/isp/hist_weight4.rs +++ b/esp32p4/src/isp/hist_weight4.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - this field configures weight of subwindow 34"] #[inline(always)] - #[must_use] pub fn hist_weight_34(&mut self) -> HIST_WEIGHT_34_W { HIST_WEIGHT_34_W::new(self, 0) } #[doc = "Bits 8:15 - this field configures weight of subwindow 33"] #[inline(always)] - #[must_use] pub fn hist_weight_33(&mut self) -> HIST_WEIGHT_33_W { HIST_WEIGHT_33_W::new(self, 8) } #[doc = "Bits 16:23 - this field configures weight of subwindow 32"] #[inline(always)] - #[must_use] pub fn hist_weight_32(&mut self) -> HIST_WEIGHT_32_W { HIST_WEIGHT_32_W::new(self, 16) } #[doc = "Bits 24:31 - this field configures weight of subwindow 31"] #[inline(always)] - #[must_use] pub fn hist_weight_31(&mut self) -> HIST_WEIGHT_31_W { HIST_WEIGHT_31_W::new(self, 24) } diff --git a/esp32p4/src/isp/hist_weight5.rs b/esp32p4/src/isp/hist_weight5.rs index 7d7ead29ad..b2b69aa8a9 100644 --- a/esp32p4/src/isp/hist_weight5.rs +++ b/esp32p4/src/isp/hist_weight5.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - this field configures weight of subwindow 43"] #[inline(always)] - #[must_use] pub fn hist_weight_43(&mut self) -> HIST_WEIGHT_43_W { HIST_WEIGHT_43_W::new(self, 0) } #[doc = "Bits 8:15 - this field configures weight of subwindow 42"] #[inline(always)] - #[must_use] pub fn hist_weight_42(&mut self) -> HIST_WEIGHT_42_W { HIST_WEIGHT_42_W::new(self, 8) } #[doc = "Bits 16:23 - this field configures weight of subwindow 41"] #[inline(always)] - #[must_use] pub fn hist_weight_41(&mut self) -> HIST_WEIGHT_41_W { HIST_WEIGHT_41_W::new(self, 16) } #[doc = "Bits 24:31 - this field configures weight of subwindow 40"] #[inline(always)] - #[must_use] pub fn hist_weight_40(&mut self) -> HIST_WEIGHT_40_W { HIST_WEIGHT_40_W::new(self, 24) } diff --git a/esp32p4/src/isp/hist_weight6.rs b/esp32p4/src/isp/hist_weight6.rs index 09f53b6065..eed1f33598 100644 --- a/esp32p4/src/isp/hist_weight6.rs +++ b/esp32p4/src/isp/hist_weight6.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - this field configures weight of subwindow 44"] #[inline(always)] - #[must_use] pub fn hist_weight_44(&mut self) -> HIST_WEIGHT_44_W { HIST_WEIGHT_44_W::new(self, 0) } diff --git a/esp32p4/src/isp/hsync_cnt.rs b/esp32p4/src/isp/hsync_cnt.rs index 8b302e9ef9..b3377e6745 100644 --- a/esp32p4/src/isp/hsync_cnt.rs +++ b/esp32p4/src/isp/hsync_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - this field configures the number of clock before hsync and after vsync and line_end when decodes pix data from idi to isp"] #[inline(always)] - #[must_use] pub fn hsync_cnt(&mut self) -> HSYNC_CNT_W { HSYNC_CNT_W::new(self, 0) } diff --git a/esp32p4/src/isp/int_clr.rs b/esp32p4/src/isp/int_clr.rs index 65f28d6d54..5f34e639be 100644 --- a/esp32p4/src/isp/int_clr.rs +++ b/esp32p4/src/isp/int_clr.rs @@ -67,175 +67,146 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - write 1 to clear input data type error"] #[inline(always)] - #[must_use] pub fn isp_data_type_err(&mut self) -> ISP_DATA_TYPE_ERR_W { ISP_DATA_TYPE_ERR_W::new(self, 0) } #[doc = "Bit 1 - write 1 to clear isp input fifo overflow"] #[inline(always)] - #[must_use] pub fn isp_async_fifo_ovf(&mut self) -> ISP_ASYNC_FIFO_OVF_W { ISP_ASYNC_FIFO_OVF_W::new(self, 1) } #[doc = "Bit 2 - write 1 to clear isp input buffer full"] #[inline(always)] - #[must_use] pub fn isp_buf_full(&mut self) -> ISP_BUF_FULL_W { ISP_BUF_FULL_W::new(self, 2) } #[doc = "Bit 3 - write 1 to clear hnum and vnum setting format error"] #[inline(always)] - #[must_use] pub fn isp_hvnum_setting_err(&mut self) -> ISP_HVNUM_SETTING_ERR_W { ISP_HVNUM_SETTING_ERR_W::new(self, 3) } #[doc = "Bit 4 - write 1 to clear setting invalid reg_data_type"] #[inline(always)] - #[must_use] pub fn isp_data_type_setting_err(&mut self) -> ISP_DATA_TYPE_SETTING_ERR_W { ISP_DATA_TYPE_SETTING_ERR_W::new(self, 4) } #[doc = "Bit 5 - write 1 to clear hnum setting unmatch with mipi input"] #[inline(always)] - #[must_use] pub fn isp_mipi_hnum_unmatch(&mut self) -> ISP_MIPI_HNUM_UNMATCH_W { ISP_MIPI_HNUM_UNMATCH_W::new(self, 5) } #[doc = "Bit 6 - write 1 to clear dpc check done"] #[inline(always)] - #[must_use] pub fn dpc_check_done(&mut self) -> DPC_CHECK_DONE_W { DPC_CHECK_DONE_W::new(self, 6) } #[doc = "Bit 7 - write 1 to clear gamma setting error"] #[inline(always)] - #[must_use] pub fn gamma_xcoord_err(&mut self) -> GAMMA_XCOORD_ERR_W { GAMMA_XCOORD_ERR_W::new(self, 7) } #[doc = "Bit 8 - write 1 to clear ae monitor"] #[inline(always)] - #[must_use] pub fn ae_monitor(&mut self) -> AE_MONITOR_W { AE_MONITOR_W::new(self, 8) } #[doc = "Bit 9 - write 1 to clear ae"] #[inline(always)] - #[must_use] pub fn ae_frame_done(&mut self) -> AE_FRAME_DONE_W { AE_FRAME_DONE_W::new(self, 9) } #[doc = "Bit 10 - write 1 to clear af statistic"] #[inline(always)] - #[must_use] pub fn af_fdone(&mut self) -> AF_FDONE_W { AF_FDONE_W::new(self, 10) } #[doc = "Bit 11 - write 1 to clear af monitor"] #[inline(always)] - #[must_use] pub fn af_env(&mut self) -> AF_ENV_W { AF_ENV_W::new(self, 11) } #[doc = "Bit 12 - write 1 to clear awb"] #[inline(always)] - #[must_use] pub fn awb_fdone(&mut self) -> AWB_FDONE_W { AWB_FDONE_W::new(self, 12) } #[doc = "Bit 13 - write 1 to clear histogram"] #[inline(always)] - #[must_use] pub fn hist_fdone(&mut self) -> HIST_FDONE_W { HIST_FDONE_W::new(self, 13) } #[doc = "Bit 14 - write 1 to clear isp frame end"] #[inline(always)] - #[must_use] pub fn frame(&mut self) -> FRAME_W { FRAME_W::new(self, 14) } #[doc = "Bit 15 - write 1 to clear blc frame done"] #[inline(always)] - #[must_use] pub fn blc_frame(&mut self) -> BLC_FRAME_W { BLC_FRAME_W::new(self, 15) } #[doc = "Bit 16 - write 1 to clear lsc frame done"] #[inline(always)] - #[must_use] pub fn lsc_frame(&mut self) -> LSC_FRAME_W { LSC_FRAME_W::new(self, 16) } #[doc = "Bit 17 - write 1 to clear dpc frame done"] #[inline(always)] - #[must_use] pub fn dpc_frame(&mut self) -> DPC_FRAME_W { DPC_FRAME_W::new(self, 17) } #[doc = "Bit 18 - write 1 to clear bf frame done"] #[inline(always)] - #[must_use] pub fn bf_frame(&mut self) -> BF_FRAME_W { BF_FRAME_W::new(self, 18) } #[doc = "Bit 19 - write 1 to clear demosaic frame done"] #[inline(always)] - #[must_use] pub fn demosaic_frame(&mut self) -> DEMOSAIC_FRAME_W { DEMOSAIC_FRAME_W::new(self, 19) } #[doc = "Bit 20 - write 1 to clear median frame done"] #[inline(always)] - #[must_use] pub fn median_frame(&mut self) -> MEDIAN_FRAME_W { MEDIAN_FRAME_W::new(self, 20) } #[doc = "Bit 21 - write 1 to clear ccm frame done"] #[inline(always)] - #[must_use] pub fn ccm_frame(&mut self) -> CCM_FRAME_W { CCM_FRAME_W::new(self, 21) } #[doc = "Bit 22 - write 1 to clear gamma frame done"] #[inline(always)] - #[must_use] pub fn gamma_frame(&mut self) -> GAMMA_FRAME_W { GAMMA_FRAME_W::new(self, 22) } #[doc = "Bit 23 - write 1 to clear rgb2yuv frame done"] #[inline(always)] - #[must_use] pub fn rgb2yuv_frame(&mut self) -> RGB2YUV_FRAME_W { RGB2YUV_FRAME_W::new(self, 23) } #[doc = "Bit 24 - write 1 to clear sharp frame done"] #[inline(always)] - #[must_use] pub fn sharp_frame(&mut self) -> SHARP_FRAME_W { SHARP_FRAME_W::new(self, 24) } #[doc = "Bit 25 - write 1 to clear color frame done"] #[inline(always)] - #[must_use] pub fn color_frame(&mut self) -> COLOR_FRAME_W { COLOR_FRAME_W::new(self, 25) } #[doc = "Bit 26 - write 1 to clear yuv2rgb frame done"] #[inline(always)] - #[must_use] pub fn yuv2rgb_frame(&mut self) -> YUV2RGB_FRAME_W { YUV2RGB_FRAME_W::new(self, 26) } #[doc = "Bit 27 - write 1 to clear isp_tail idi frame_end"] #[inline(always)] - #[must_use] pub fn tail_idi_frame(&mut self) -> TAIL_IDI_FRAME_W { TAIL_IDI_FRAME_W::new(self, 27) } #[doc = "Bit 28 - write 1 to clear real input frame end of isp_input"] #[inline(always)] - #[must_use] pub fn header_idi_frame(&mut self) -> HEADER_IDI_FRAME_W { HEADER_IDI_FRAME_W::new(self, 28) } diff --git a/esp32p4/src/isp/int_ena.rs b/esp32p4/src/isp/int_ena.rs index 0ef9bdc1ed..0171e5db4a 100644 --- a/esp32p4/src/isp/int_ena.rs +++ b/esp32p4/src/isp/int_ena.rs @@ -307,175 +307,146 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - write 1 to enable input data type error"] #[inline(always)] - #[must_use] pub fn isp_data_type_err(&mut self) -> ISP_DATA_TYPE_ERR_W { ISP_DATA_TYPE_ERR_W::new(self, 0) } #[doc = "Bit 1 - write 1 to enable isp input fifo overflow"] #[inline(always)] - #[must_use] pub fn isp_async_fifo_ovf(&mut self) -> ISP_ASYNC_FIFO_OVF_W { ISP_ASYNC_FIFO_OVF_W::new(self, 1) } #[doc = "Bit 2 - write 1 to enable isp input buffer full"] #[inline(always)] - #[must_use] pub fn isp_buf_full(&mut self) -> ISP_BUF_FULL_W { ISP_BUF_FULL_W::new(self, 2) } #[doc = "Bit 3 - write 1 to enable hnum and vnum setting format error"] #[inline(always)] - #[must_use] pub fn isp_hvnum_setting_err(&mut self) -> ISP_HVNUM_SETTING_ERR_W { ISP_HVNUM_SETTING_ERR_W::new(self, 3) } #[doc = "Bit 4 - write 1 to enable setting invalid reg_data_type"] #[inline(always)] - #[must_use] pub fn isp_data_type_setting_err(&mut self) -> ISP_DATA_TYPE_SETTING_ERR_W { ISP_DATA_TYPE_SETTING_ERR_W::new(self, 4) } #[doc = "Bit 5 - write 1 to enable hnum setting unmatch with mipi input"] #[inline(always)] - #[must_use] pub fn isp_mipi_hnum_unmatch(&mut self) -> ISP_MIPI_HNUM_UNMATCH_W { ISP_MIPI_HNUM_UNMATCH_W::new(self, 5) } #[doc = "Bit 6 - write 1 to enable dpc check done"] #[inline(always)] - #[must_use] pub fn dpc_check_done(&mut self) -> DPC_CHECK_DONE_W { DPC_CHECK_DONE_W::new(self, 6) } #[doc = "Bit 7 - write 1 to enable gamma setting error"] #[inline(always)] - #[must_use] pub fn gamma_xcoord_err(&mut self) -> GAMMA_XCOORD_ERR_W { GAMMA_XCOORD_ERR_W::new(self, 7) } #[doc = "Bit 8 - write 1 to enable ae monitor"] #[inline(always)] - #[must_use] pub fn ae_monitor(&mut self) -> AE_MONITOR_W { AE_MONITOR_W::new(self, 8) } #[doc = "Bit 9 - write 1 to enable ae"] #[inline(always)] - #[must_use] pub fn ae_frame_done(&mut self) -> AE_FRAME_DONE_W { AE_FRAME_DONE_W::new(self, 9) } #[doc = "Bit 10 - write 1 to enable af statistic"] #[inline(always)] - #[must_use] pub fn af_fdone(&mut self) -> AF_FDONE_W { AF_FDONE_W::new(self, 10) } #[doc = "Bit 11 - write 1 to enable af monitor"] #[inline(always)] - #[must_use] pub fn af_env(&mut self) -> AF_ENV_W { AF_ENV_W::new(self, 11) } #[doc = "Bit 12 - write 1 to enable awb"] #[inline(always)] - #[must_use] pub fn awb_fdone(&mut self) -> AWB_FDONE_W { AWB_FDONE_W::new(self, 12) } #[doc = "Bit 13 - write 1 to enable histogram"] #[inline(always)] - #[must_use] pub fn hist_fdone(&mut self) -> HIST_FDONE_W { HIST_FDONE_W::new(self, 13) } #[doc = "Bit 14 - write 1 to enable isp frame end"] #[inline(always)] - #[must_use] pub fn frame(&mut self) -> FRAME_W { FRAME_W::new(self, 14) } #[doc = "Bit 15 - write 1 to enable blc frame done"] #[inline(always)] - #[must_use] pub fn blc_frame(&mut self) -> BLC_FRAME_W { BLC_FRAME_W::new(self, 15) } #[doc = "Bit 16 - write 1 to enable lsc frame done"] #[inline(always)] - #[must_use] pub fn lsc_frame(&mut self) -> LSC_FRAME_W { LSC_FRAME_W::new(self, 16) } #[doc = "Bit 17 - write 1 to enable dpc frame done"] #[inline(always)] - #[must_use] pub fn dpc_frame(&mut self) -> DPC_FRAME_W { DPC_FRAME_W::new(self, 17) } #[doc = "Bit 18 - write 1 to enable bf frame done"] #[inline(always)] - #[must_use] pub fn bf_frame(&mut self) -> BF_FRAME_W { BF_FRAME_W::new(self, 18) } #[doc = "Bit 19 - write 1 to enable demosaic frame done"] #[inline(always)] - #[must_use] pub fn demosaic_frame(&mut self) -> DEMOSAIC_FRAME_W { DEMOSAIC_FRAME_W::new(self, 19) } #[doc = "Bit 20 - write 1 to enable median frame done"] #[inline(always)] - #[must_use] pub fn median_frame(&mut self) -> MEDIAN_FRAME_W { MEDIAN_FRAME_W::new(self, 20) } #[doc = "Bit 21 - write 1 to enable ccm frame done"] #[inline(always)] - #[must_use] pub fn ccm_frame(&mut self) -> CCM_FRAME_W { CCM_FRAME_W::new(self, 21) } #[doc = "Bit 22 - write 1 to enable gamma frame done"] #[inline(always)] - #[must_use] pub fn gamma_frame(&mut self) -> GAMMA_FRAME_W { GAMMA_FRAME_W::new(self, 22) } #[doc = "Bit 23 - write 1 to enable rgb2yuv frame done"] #[inline(always)] - #[must_use] pub fn rgb2yuv_frame(&mut self) -> RGB2YUV_FRAME_W { RGB2YUV_FRAME_W::new(self, 23) } #[doc = "Bit 24 - write 1 to enable sharp frame done"] #[inline(always)] - #[must_use] pub fn sharp_frame(&mut self) -> SHARP_FRAME_W { SHARP_FRAME_W::new(self, 24) } #[doc = "Bit 25 - write 1 to enable color frame done"] #[inline(always)] - #[must_use] pub fn color_frame(&mut self) -> COLOR_FRAME_W { COLOR_FRAME_W::new(self, 25) } #[doc = "Bit 26 - write 1 to enable yuv2rgb frame done"] #[inline(always)] - #[must_use] pub fn yuv2rgb_frame(&mut self) -> YUV2RGB_FRAME_W { YUV2RGB_FRAME_W::new(self, 26) } #[doc = "Bit 27 - write 1 to enable isp_tail idi frame_end"] #[inline(always)] - #[must_use] pub fn tail_idi_frame(&mut self) -> TAIL_IDI_FRAME_W { TAIL_IDI_FRAME_W::new(self, 27) } #[doc = "Bit 28 - write 1 to enable real input frame end of isp_input"] #[inline(always)] - #[must_use] pub fn header_idi_frame(&mut self) -> HEADER_IDI_FRAME_W { HEADER_IDI_FRAME_W::new(self, 28) } diff --git a/esp32p4/src/isp/lsc_tablesize.rs b/esp32p4/src/isp/lsc_tablesize.rs index 8d6341577f..3b7249b8d1 100644 --- a/esp32p4/src/isp/lsc_tablesize.rs +++ b/esp32p4/src/isp/lsc_tablesize.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this field configures lsc table size in x-direction"] #[inline(always)] - #[must_use] pub fn lsc_xtablesize(&mut self) -> LSC_XTABLESIZE_W { LSC_XTABLESIZE_W::new(self, 0) } diff --git a/esp32p4/src/isp/lut_cmd.rs b/esp32p4/src/isp/lut_cmd.rs index d7767ec0bf..0d7e1d7e20 100644 --- a/esp32p4/src/isp/lut_cmd.rs +++ b/esp32p4/src/isp/lut_cmd.rs @@ -15,19 +15,16 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:11 - this field configures the lut access addr, when select lsc lut, \\[11:10\\]:00 sel gb_b lut, 01 sel r_gr lut"] #[inline(always)] - #[must_use] pub fn lut_addr(&mut self) -> LUT_ADDR_W { LUT_ADDR_W::new(self, 0) } #[doc = "Bits 12:15 - this field configures the lut selection. 0000:LSC LUT 0001:DPC LUT"] #[inline(always)] - #[must_use] pub fn lut_num(&mut self) -> LUT_NUM_W { LUT_NUM_W::new(self, 12) } #[doc = "Bit 16 - this bit configures the access event of lut. 0:rd 1: wr"] #[inline(always)] - #[must_use] pub fn lut_cmd(&mut self) -> LUT_CMD_W { LUT_CMD_W::new(self, 16) } diff --git a/esp32p4/src/isp/lut_wdata.rs b/esp32p4/src/isp/lut_wdata.rs index 1e97419018..3bdc8e4576 100644 --- a/esp32p4/src/isp/lut_wdata.rs +++ b/esp32p4/src/isp/lut_wdata.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - this field configures the write data of lut. please initial ISP_LUT_WDATA before write ISP_LUT_CMD register"] #[inline(always)] - #[must_use] pub fn lut_wdata(&mut self) -> LUT_WDATA_W { LUT_WDATA_W::new(self, 0) } diff --git a/esp32p4/src/isp/median_matrix_ctrl.rs b/esp32p4/src/isp/median_matrix_ctrl.rs index ad50850702..a6ace17709 100644 --- a/esp32p4/src/isp/median_matrix_ctrl.rs +++ b/esp32p4/src/isp/median_matrix_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - this field configures median matrix padding data"] #[inline(always)] - #[must_use] pub fn median_padding_data(&mut self) -> MEDIAN_PADDING_DATA_W { MEDIAN_PADDING_DATA_W::new(self, 0) } #[doc = "Bit 8 - this bit configures the padding mode of median matrix. 0: use pixel in image to do padding 1: use reg_padding_data to do padding"] #[inline(always)] - #[must_use] pub fn median_padding_mode(&mut self) -> MEDIAN_PADDING_MODE_W { MEDIAN_PADDING_MODE_W::new(self, 8) } diff --git a/esp32p4/src/isp/mem_aux_ctrl_0.rs b/esp32p4/src/isp/mem_aux_ctrl_0.rs index 604d99ed7a..fd6f977812 100644 --- a/esp32p4/src/isp/mem_aux_ctrl_0.rs +++ b/esp32p4/src/isp/mem_aux_ctrl_0.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - this field configures the mem_aux of isp input buffer memory"] #[inline(always)] - #[must_use] pub fn header_mem_aux_ctrl(&mut self) -> HEADER_MEM_AUX_CTRL_W { HEADER_MEM_AUX_CTRL_W::new(self, 0) } #[doc = "Bits 16:29 - this field represents this field configures the mem_aux of dpc lut memory"] #[inline(always)] - #[must_use] pub fn dpc_lut_mem_aux_ctrl(&mut self) -> DPC_LUT_MEM_AUX_CTRL_W { DPC_LUT_MEM_AUX_CTRL_W::new(self, 16) } diff --git a/esp32p4/src/isp/mem_aux_ctrl_1.rs b/esp32p4/src/isp/mem_aux_ctrl_1.rs index 707d33647b..f53f85e6f9 100644 --- a/esp32p4/src/isp/mem_aux_ctrl_1.rs +++ b/esp32p4/src/isp/mem_aux_ctrl_1.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - this field configures the mem_aux of lsc r gr lut memory"] #[inline(always)] - #[must_use] pub fn lsc_lut_r_gr_mem_aux_ctrl( &mut self, ) -> LSC_LUT_R_GR_MEM_AUX_CTRL_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bits 16:29 - this field configures the mem_aux of lsc gb b lut memory"] #[inline(always)] - #[must_use] pub fn lsc_lut_gb_b_mem_aux_ctrl( &mut self, ) -> LSC_LUT_GB_B_MEM_AUX_CTRL_W { diff --git a/esp32p4/src/isp/mem_aux_ctrl_2.rs b/esp32p4/src/isp/mem_aux_ctrl_2.rs index e20f4aafff..ede5e4e5f5 100644 --- a/esp32p4/src/isp/mem_aux_ctrl_2.rs +++ b/esp32p4/src/isp/mem_aux_ctrl_2.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - this field configures the mem_aux of bf line buffer memory"] #[inline(always)] - #[must_use] pub fn bf_matrix_mem_aux_ctrl(&mut self) -> BF_MATRIX_MEM_AUX_CTRL_W { BF_MATRIX_MEM_AUX_CTRL_W::new(self, 0) } #[doc = "Bits 16:29 - this field configures the mem_aux of dpc line buffer memory"] #[inline(always)] - #[must_use] pub fn dpc_matrix_mem_aux_ctrl(&mut self) -> DPC_MATRIX_MEM_AUX_CTRL_W { DPC_MATRIX_MEM_AUX_CTRL_W::new(self, 16) } diff --git a/esp32p4/src/isp/mem_aux_ctrl_3.rs b/esp32p4/src/isp/mem_aux_ctrl_3.rs index 184ec8e54c..31deeed3b9 100644 --- a/esp32p4/src/isp/mem_aux_ctrl_3.rs +++ b/esp32p4/src/isp/mem_aux_ctrl_3.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - this field configures the mem_aux of sharp y line buffer memory"] #[inline(always)] - #[must_use] pub fn sharp_matrix_y_mem_aux_ctrl( &mut self, ) -> SHARP_MATRIX_Y_MEM_AUX_CTRL_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bits 16:29 - this field configures the mem_aux of demosaic line buffer memory"] #[inline(always)] - #[must_use] pub fn demosaic_matrix_mem_aux_ctrl( &mut self, ) -> DEMOSAIC_MATRIX_MEM_AUX_CTRL_W { diff --git a/esp32p4/src/isp/mem_aux_ctrl_4.rs b/esp32p4/src/isp/mem_aux_ctrl_4.rs index bc5f6e09d5..7d70a8259d 100644 --- a/esp32p4/src/isp/mem_aux_ctrl_4.rs +++ b/esp32p4/src/isp/mem_aux_ctrl_4.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - this field configures the mem_aux of sharp uv line buffer memory"] #[inline(always)] - #[must_use] pub fn sharp_matrix_uv_mem_aux_ctrl( &mut self, ) -> SHARP_MATRIX_UV_MEM_AUX_CTRL_W { diff --git a/esp32p4/src/isp/rdn_eco_cs.rs b/esp32p4/src/isp/rdn_eco_cs.rs index 71a77a25a4..bb57bfadad 100644 --- a/esp32p4/src/isp/rdn_eco_cs.rs +++ b/esp32p4/src/isp/rdn_eco_cs.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - rdn_eco_en"] #[inline(always)] - #[must_use] pub fn rdn_eco_en(&mut self) -> RDN_ECO_EN_W { RDN_ECO_EN_W::new(self, 0) } diff --git a/esp32p4/src/isp/rdn_eco_high.rs b/esp32p4/src/isp/rdn_eco_high.rs index 77d77ec3e5..2dd39e0044 100644 --- a/esp32p4/src/isp/rdn_eco_high.rs +++ b/esp32p4/src/isp/rdn_eco_high.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - rdn_eco_high"] #[inline(always)] - #[must_use] pub fn rdn_eco_high(&mut self) -> RDN_ECO_HIGH_W { RDN_ECO_HIGH_W::new(self, 0) } diff --git a/esp32p4/src/isp/rdn_eco_low.rs b/esp32p4/src/isp/rdn_eco_low.rs index 4f16ddde0e..4e3b9dd382 100644 --- a/esp32p4/src/isp/rdn_eco_low.rs +++ b/esp32p4/src/isp/rdn_eco_low.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - rdn_eco_low"] #[inline(always)] - #[must_use] pub fn rdn_eco_low(&mut self) -> RDN_ECO_LOW_W { RDN_ECO_LOW_W::new(self, 0) } diff --git a/esp32p4/src/isp/sharp_ctrl0.rs b/esp32p4/src/isp/sharp_ctrl0.rs index 21f0d99681..a3b5826bc7 100644 --- a/esp32p4/src/isp/sharp_ctrl0.rs +++ b/esp32p4/src/isp/sharp_ctrl0.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - this field configures sharpen threshold for detail"] #[inline(always)] - #[must_use] pub fn sharp_threshold_low(&mut self) -> SHARP_THRESHOLD_LOW_W { SHARP_THRESHOLD_LOW_W::new(self, 0) } #[doc = "Bits 8:15 - this field configures sharpen threshold for edge"] #[inline(always)] - #[must_use] pub fn sharp_threshold_high(&mut self) -> SHARP_THRESHOLD_HIGH_W { SHARP_THRESHOLD_HIGH_W::new(self, 8) } #[doc = "Bits 16:23 - this field configures sharpen amount for detail"] #[inline(always)] - #[must_use] pub fn sharp_amount_low(&mut self) -> SHARP_AMOUNT_LOW_W { SHARP_AMOUNT_LOW_W::new(self, 16) } #[doc = "Bits 24:31 - this field configures sharpen amount for edge"] #[inline(always)] - #[must_use] pub fn sharp_amount_high(&mut self) -> SHARP_AMOUNT_HIGH_W { SHARP_AMOUNT_HIGH_W::new(self, 24) } diff --git a/esp32p4/src/isp/sharp_filter0.rs b/esp32p4/src/isp/sharp_filter0.rs index 51864907cf..181579a6f0 100644 --- a/esp32p4/src/isp/sharp_filter0.rs +++ b/esp32p4/src/isp/sharp_filter0.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this field configures unsharp masking(usm) filter coefficient"] #[inline(always)] - #[must_use] pub fn sharp_filter_coe00(&mut self) -> SHARP_FILTER_COE00_W { SHARP_FILTER_COE00_W::new(self, 0) } #[doc = "Bits 5:9 - this field configures usm filter coefficient"] #[inline(always)] - #[must_use] pub fn sharp_filter_coe01(&mut self) -> SHARP_FILTER_COE01_W { SHARP_FILTER_COE01_W::new(self, 5) } #[doc = "Bits 10:14 - this field configures usm filter coefficient"] #[inline(always)] - #[must_use] pub fn sharp_filter_coe02(&mut self) -> SHARP_FILTER_COE02_W { SHARP_FILTER_COE02_W::new(self, 10) } diff --git a/esp32p4/src/isp/sharp_filter1.rs b/esp32p4/src/isp/sharp_filter1.rs index d4e2e2d4e6..b797339412 100644 --- a/esp32p4/src/isp/sharp_filter1.rs +++ b/esp32p4/src/isp/sharp_filter1.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this field configures usm filter coefficient"] #[inline(always)] - #[must_use] pub fn sharp_filter_coe10(&mut self) -> SHARP_FILTER_COE10_W { SHARP_FILTER_COE10_W::new(self, 0) } #[doc = "Bits 5:9 - this field configures usm filter coefficient"] #[inline(always)] - #[must_use] pub fn sharp_filter_coe11(&mut self) -> SHARP_FILTER_COE11_W { SHARP_FILTER_COE11_W::new(self, 5) } #[doc = "Bits 10:14 - this field configures usm filter coefficient"] #[inline(always)] - #[must_use] pub fn sharp_filter_coe12(&mut self) -> SHARP_FILTER_COE12_W { SHARP_FILTER_COE12_W::new(self, 10) } diff --git a/esp32p4/src/isp/sharp_filter2.rs b/esp32p4/src/isp/sharp_filter2.rs index 6b97976995..198ca7090f 100644 --- a/esp32p4/src/isp/sharp_filter2.rs +++ b/esp32p4/src/isp/sharp_filter2.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this field configures usm filter coefficient"] #[inline(always)] - #[must_use] pub fn sharp_filter_coe20(&mut self) -> SHARP_FILTER_COE20_W { SHARP_FILTER_COE20_W::new(self, 0) } #[doc = "Bits 5:9 - this field configures usm filter coefficient"] #[inline(always)] - #[must_use] pub fn sharp_filter_coe21(&mut self) -> SHARP_FILTER_COE21_W { SHARP_FILTER_COE21_W::new(self, 5) } #[doc = "Bits 10:14 - this field configures usm filter coefficient"] #[inline(always)] - #[must_use] pub fn sharp_filter_coe22(&mut self) -> SHARP_FILTER_COE22_W { SHARP_FILTER_COE22_W::new(self, 10) } diff --git a/esp32p4/src/isp/sharp_matrix_ctrl.rs b/esp32p4/src/isp/sharp_matrix_ctrl.rs index f914b6beeb..ae06706645 100644 --- a/esp32p4/src/isp/sharp_matrix_ctrl.rs +++ b/esp32p4/src/isp/sharp_matrix_ctrl.rs @@ -2,13 +2,13 @@ pub type R = crate::R; #[doc = "Register `SHARP_MATRIX_CTRL` writer"] pub type W = crate::W; -#[doc = "Field `SHARP_TAIL_PIXEN_PULSE_TL` reader - matrix tail pixen low level threshold, should not to large to prevent expanding to next frame, only reg_demosaic_tail_pixen_pulse_th!=0 and reg_demosaic_tail_pixen_pulse_tl!=0 and reg_demosaic_tail_pixen_pulse_th < reg_demosaic_tail_pixen_pulse_tl will enable tail pulse function"] +#[doc = "Field `SHARP_TAIL_PIXEN_PULSE_TL` reader - matrix tail pixen low level threshold, should not to large to prevent expanding to next frame, only reg_demosaic_tail_pixen_pulse_th!=0 and reg_demosaic_tail_pixen_pulse_tl!=0 and reg_demosaic_tail_pixen_pulse_th < reg_demosaic_tail_pixen_pulse_tl will enable tail pulse function"] pub type SHARP_TAIL_PIXEN_PULSE_TL_R = crate::FieldReader; -#[doc = "Field `SHARP_TAIL_PIXEN_PULSE_TL` writer - matrix tail pixen low level threshold, should not to large to prevent expanding to next frame, only reg_demosaic_tail_pixen_pulse_th!=0 and reg_demosaic_tail_pixen_pulse_tl!=0 and reg_demosaic_tail_pixen_pulse_th < reg_demosaic_tail_pixen_pulse_tl will enable tail pulse function"] +#[doc = "Field `SHARP_TAIL_PIXEN_PULSE_TL` writer - matrix tail pixen low level threshold, should not to large to prevent expanding to next frame, only reg_demosaic_tail_pixen_pulse_th!=0 and reg_demosaic_tail_pixen_pulse_tl!=0 and reg_demosaic_tail_pixen_pulse_th < reg_demosaic_tail_pixen_pulse_tl will enable tail pulse function"] pub type SHARP_TAIL_PIXEN_PULSE_TL_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; -#[doc = "Field `SHARP_TAIL_PIXEN_PULSE_TH` reader - matrix tail pixen high level threshold, must < hnum-1, only reg_sharp_tail_pixen_pulse_th!=0 and reg_sharp_tail_pixen_pulse_tl!=0 and reg_sharp_tail_pixen_pulse_th < reg_sharp_tail_pixen_pulse_tl will enable tail pulse function"] +#[doc = "Field `SHARP_TAIL_PIXEN_PULSE_TH` reader - matrix tail pixen high level threshold, must < hnum-1, only reg_sharp_tail_pixen_pulse_th!=0 and reg_sharp_tail_pixen_pulse_tl!=0 and reg_sharp_tail_pixen_pulse_th < reg_sharp_tail_pixen_pulse_tl will enable tail pulse function"] pub type SHARP_TAIL_PIXEN_PULSE_TH_R = crate::FieldReader; -#[doc = "Field `SHARP_TAIL_PIXEN_PULSE_TH` writer - matrix tail pixen high level threshold, must < hnum-1, only reg_sharp_tail_pixen_pulse_th!=0 and reg_sharp_tail_pixen_pulse_tl!=0 and reg_sharp_tail_pixen_pulse_th < reg_sharp_tail_pixen_pulse_tl will enable tail pulse function"] +#[doc = "Field `SHARP_TAIL_PIXEN_PULSE_TH` writer - matrix tail pixen high level threshold, must < hnum-1, only reg_sharp_tail_pixen_pulse_th!=0 and reg_sharp_tail_pixen_pulse_tl!=0 and reg_sharp_tail_pixen_pulse_th < reg_sharp_tail_pixen_pulse_tl will enable tail pulse function"] pub type SHARP_TAIL_PIXEN_PULSE_TH_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; #[doc = "Field `SHARP_PADDING_DATA` reader - this field configures sharp padding data"] pub type SHARP_PADDING_DATA_R = crate::FieldReader; @@ -19,12 +19,12 @@ pub type SHARP_PADDING_MODE_R = crate::BitReader; #[doc = "Field `SHARP_PADDING_MODE` writer - this field configures sharp padding mode"] pub type SHARP_PADDING_MODE_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { - #[doc = "Bits 0:7 - matrix tail pixen low level threshold, should not to large to prevent expanding to next frame, only reg_demosaic_tail_pixen_pulse_th!=0 and reg_demosaic_tail_pixen_pulse_tl!=0 and reg_demosaic_tail_pixen_pulse_th < reg_demosaic_tail_pixen_pulse_tl will enable tail pulse function"] + #[doc = "Bits 0:7 - matrix tail pixen low level threshold, should not to large to prevent expanding to next frame, only reg_demosaic_tail_pixen_pulse_th!=0 and reg_demosaic_tail_pixen_pulse_tl!=0 and reg_demosaic_tail_pixen_pulse_th < reg_demosaic_tail_pixen_pulse_tl will enable tail pulse function"] #[inline(always)] pub fn sharp_tail_pixen_pulse_tl(&self) -> SHARP_TAIL_PIXEN_PULSE_TL_R { SHARP_TAIL_PIXEN_PULSE_TL_R::new((self.bits & 0xff) as u8) } - #[doc = "Bits 8:15 - matrix tail pixen high level threshold, must < hnum-1, only reg_sharp_tail_pixen_pulse_th!=0 and reg_sharp_tail_pixen_pulse_tl!=0 and reg_sharp_tail_pixen_pulse_th < reg_sharp_tail_pixen_pulse_tl will enable tail pulse function"] + #[doc = "Bits 8:15 - matrix tail pixen high level threshold, must < hnum-1, only reg_sharp_tail_pixen_pulse_th!=0 and reg_sharp_tail_pixen_pulse_tl!=0 and reg_sharp_tail_pixen_pulse_th < reg_sharp_tail_pixen_pulse_tl will enable tail pulse function"] #[inline(always)] pub fn sharp_tail_pixen_pulse_th(&self) -> SHARP_TAIL_PIXEN_PULSE_TH_R { SHARP_TAIL_PIXEN_PULSE_TH_R::new(((self.bits >> 8) & 0xff) as u8) @@ -58,17 +58,15 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bits 0:7 - matrix tail pixen low level threshold, should not to large to prevent expanding to next frame, only reg_demosaic_tail_pixen_pulse_th!=0 and reg_demosaic_tail_pixen_pulse_tl!=0 and reg_demosaic_tail_pixen_pulse_th < reg_demosaic_tail_pixen_pulse_tl will enable tail pulse function"] + #[doc = "Bits 0:7 - matrix tail pixen low level threshold, should not to large to prevent expanding to next frame, only reg_demosaic_tail_pixen_pulse_th!=0 and reg_demosaic_tail_pixen_pulse_tl!=0 and reg_demosaic_tail_pixen_pulse_th < reg_demosaic_tail_pixen_pulse_tl will enable tail pulse function"] #[inline(always)] - #[must_use] pub fn sharp_tail_pixen_pulse_tl( &mut self, ) -> SHARP_TAIL_PIXEN_PULSE_TL_W { SHARP_TAIL_PIXEN_PULSE_TL_W::new(self, 0) } - #[doc = "Bits 8:15 - matrix tail pixen high level threshold, must < hnum-1, only reg_sharp_tail_pixen_pulse_th!=0 and reg_sharp_tail_pixen_pulse_tl!=0 and reg_sharp_tail_pixen_pulse_th < reg_sharp_tail_pixen_pulse_tl will enable tail pulse function"] + #[doc = "Bits 8:15 - matrix tail pixen high level threshold, must < hnum-1, only reg_sharp_tail_pixen_pulse_th!=0 and reg_sharp_tail_pixen_pulse_tl!=0 and reg_sharp_tail_pixen_pulse_th < reg_sharp_tail_pixen_pulse_tl will enable tail pulse function"] #[inline(always)] - #[must_use] pub fn sharp_tail_pixen_pulse_th( &mut self, ) -> SHARP_TAIL_PIXEN_PULSE_TH_W { @@ -76,13 +74,11 @@ impl W { } #[doc = "Bits 16:23 - this field configures sharp padding data"] #[inline(always)] - #[must_use] pub fn sharp_padding_data(&mut self) -> SHARP_PADDING_DATA_W { SHARP_PADDING_DATA_W::new(self, 16) } #[doc = "Bit 24 - this field configures sharp padding mode"] #[inline(always)] - #[must_use] pub fn sharp_padding_mode(&mut self) -> SHARP_PADDING_MODE_W { SHARP_PADDING_MODE_W::new(self, 24) } diff --git a/esp32p4/src/isp/ver_date.rs b/esp32p4/src/isp/ver_date.rs index c9cf09990a..5320def1d1 100644 --- a/esp32p4/src/isp/ver_date.rs +++ b/esp32p4/src/isp/ver_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - csv version"] #[inline(always)] - #[must_use] pub fn ver_data(&mut self) -> VER_DATA_W { VER_DATA_W::new(self, 0) } diff --git a/esp32p4/src/isp/yuv_format.rs b/esp32p4/src/isp/yuv_format.rs index 9c4043d0ae..5b4302608c 100644 --- a/esp32p4/src/isp/yuv_format.rs +++ b/esp32p4/src/isp/yuv_format.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - this bit configures the yuv mode. 0: ITU-R BT.601, 1: ITU-R BT.709"] #[inline(always)] - #[must_use] pub fn yuv_mode(&mut self) -> YUV_MODE_W { YUV_MODE_W::new(self, 0) } #[doc = "Bit 1 - this bit configures the yuv range. 0: full range, 1: limit range"] #[inline(always)] - #[must_use] pub fn yuv_range(&mut self) -> YUV_RANGE_W { YUV_RANGE_W::new(self, 1) } diff --git a/esp32p4/src/jpeg/c.rs b/esp32p4/src/jpeg/c.rs index 1fde1c0961..6ef43a7512 100644 --- a/esp32p4/src/jpeg/c.rs +++ b/esp32p4/src/jpeg/c.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - choose c0 quntization table id (TBD)"] #[inline(always)] - #[must_use] pub fn dqt_tbl_sel(&mut self) -> DQT_TBL_SEL_W { DQT_TBL_SEL_W::new(self, 0) } #[doc = "Bits 8:11 - vertical sampling factor of c0"] #[inline(always)] - #[must_use] pub fn y_factor(&mut self) -> Y_FACTOR_W { Y_FACTOR_W::new(self, 8) } #[doc = "Bits 12:15 - horizontal sampling factor of c0"] #[inline(always)] - #[must_use] pub fn x_factor(&mut self) -> X_FACTOR_W { X_FACTOR_W::new(self, 12) } #[doc = "Bits 16:23 - the identifier of c0"] #[inline(always)] - #[must_use] pub fn id(&mut self) -> ID_W { ID_W::new(self, 16) } diff --git a/esp32p4/src/jpeg/config.rs b/esp32p4/src/jpeg/config.rs index d5545a2611..4bc6a7bee0 100644 --- a/esp32p4/src/jpeg/config.rs +++ b/esp32p4/src/jpeg/config.rs @@ -226,133 +226,111 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - fsm reset"] #[inline(always)] - #[must_use] pub fn fsm_rst(&mut self) -> FSM_RST_W { FSM_RST_W::new(self, 0) } #[doc = "Bit 1 - start to compress a new pic(in dma reg mode)"] #[inline(always)] - #[must_use] pub fn jpeg_start(&mut self) -> JPEG_START_W { JPEG_START_W::new(self, 1) } #[doc = "Bit 2 - 0:8bit qnr,1:12bit qnr(TBD)"] #[inline(always)] - #[must_use] pub fn qnr_presition(&mut self) -> QNR_PRESITION_W { QNR_PRESITION_W::new(self, 2) } #[doc = "Bit 3 - enable whether to add \"00\" after \"ff\""] #[inline(always)] - #[must_use] pub fn ff_check_en(&mut self) -> FF_CHECK_EN_W { FF_CHECK_EN_W::new(self, 3) } #[doc = "Bits 4:5 - 0:yuv444,1:yuv422, 2:yuv420"] #[inline(always)] - #[must_use] pub fn sample_sel(&mut self) -> SAMPLE_SEL_W { SAMPLE_SEL_W::new(self, 4) } #[doc = "Bit 7 - 0:normal mode,1:debug mode for direct output from input"] #[inline(always)] - #[must_use] pub fn debug_direct_out_en(&mut self) -> DEBUG_DIRECT_OUT_EN_W { DEBUG_DIRECT_OUT_EN_W::new(self, 7) } #[doc = "Bit 8 - 0:use non-fifo way to access qnr ram,1:use fifo way to access qnr ram"] #[inline(always)] - #[must_use] pub fn gray_sel(&mut self) -> GRAY_SEL_W { GRAY_SEL_W::new(self, 8) } #[doc = "Bits 9:10 - choose luminance quntization table id(TBD)"] #[inline(always)] - #[must_use] pub fn lqnr_tbl_sel(&mut self) -> LQNR_TBL_SEL_W { LQNR_TBL_SEL_W::new(self, 9) } #[doc = "Bits 11:12 - choose chrominance quntization table id (TBD)"] #[inline(always)] - #[must_use] pub fn cqnr_tbl_sel(&mut self) -> CQNR_TBL_SEL_W { CQNR_TBL_SEL_W::new(self, 11) } #[doc = "Bits 13:14 - configure picture's color space:0-rb888,1-yuv422,2-rgb565, 3-gray"] #[inline(always)] - #[must_use] pub fn color_space(&mut self) -> COLOR_SPACE_W { COLOR_SPACE_W::new(self, 13) } #[doc = "Bit 15 - 0:use non-fifo way to write dht len_total/codemin/value table,1:use fifo way to write dht len_total/codemin/value table. Reading dht len_total/codemin/value table only has nonfifo way"] #[inline(always)] - #[must_use] pub fn dht_fifo_en(&mut self) -> DHT_FIFO_EN_W { DHT_FIFO_EN_W::new(self, 15) } #[doc = "Bit 16 - force memory's clock enabled"] #[inline(always)] - #[must_use] pub fn mem_clk_force_on(&mut self) -> MEM_CLK_FORCE_ON_W { MEM_CLK_FORCE_ON_W::new(self, 16) } #[doc = "Bits 17:22 - decode pause period to trigger decode_timeout int, the timeout periods =2 power (reg_decode_timeout_thres) -1"] #[inline(always)] - #[must_use] pub fn jfif_ver(&mut self) -> JFIF_VER_W { JFIF_VER_W::new(self, 17) } #[doc = "Bit 23 - 0: software use reset to abort decode process ,1: decoder abort decode process by itself"] #[inline(always)] - #[must_use] pub fn decode_timeout_task_sel(&mut self) -> DECODE_TIMEOUT_TASK_SEL_W { DECODE_TIMEOUT_TASK_SEL_W::new(self, 23) } #[doc = "Bit 24 - when set to 1, soft reset JPEG module except jpeg_reg module"] #[inline(always)] - #[must_use] pub fn soft_rst(&mut self) -> SOFT_RST_W { SOFT_RST_W::new(self, 24) } #[doc = "Bit 25 - fifo reset"] #[inline(always)] - #[must_use] pub fn fifo_rst(&mut self) -> FIFO_RST_W { FIFO_RST_W::new(self, 25) } #[doc = "Bit 26 - reverse the source color pixel"] #[inline(always)] - #[must_use] pub fn pixel_rev(&mut self) -> PIXEL_REV_W { PIXEL_REV_W::new(self, 26) } #[doc = "Bit 27 - set this bit to add EOI of \"0xffd9\" at the end of bitstream"] #[inline(always)] - #[must_use] pub fn tailer_en(&mut self) -> TAILER_EN_W { TAILER_EN_W::new(self, 27) } #[doc = "Bit 28 - set this bit to pause jpeg encoding"] #[inline(always)] - #[must_use] pub fn pause_en(&mut self) -> PAUSE_EN_W { PAUSE_EN_W::new(self, 28) } #[doc = "Bit 29 - 0: no operation,1:force jpeg memory to power down"] #[inline(always)] - #[must_use] pub fn mem_force_pd(&mut self) -> MEM_FORCE_PD_W { MEM_FORCE_PD_W::new(self, 29) } #[doc = "Bit 30 - 0: no operation,1:force jpeg memory to power up"] #[inline(always)] - #[must_use] pub fn mem_force_pu(&mut self) -> MEM_FORCE_PU_W { MEM_FORCE_PU_W::new(self, 30) } #[doc = "Bit 31 - 0:encoder mode, 1: decoder mode"] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 31) } diff --git a/esp32p4/src/jpeg/decode_conf.rs b/esp32p4/src/jpeg/decode_conf.rs index 4b1dd5d027..fe9164c22e 100644 --- a/esp32p4/src/jpeg/decode_conf.rs +++ b/esp32p4/src/jpeg/decode_conf.rs @@ -82,37 +82,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - configure restart interval in DRI marker when decode"] #[inline(always)] - #[must_use] pub fn restart_interval(&mut self) -> RESTART_INTERVAL_W { RESTART_INTERVAL_W::new(self, 0) } #[doc = "Bits 16:23 - configure number of components in frame when decode"] #[inline(always)] - #[must_use] pub fn component_num(&mut self) -> COMPONENT_NUM_W { COMPONENT_NUM_W::new(self, 16) } #[doc = "Bits 25:26 - Configure the byte number to check next sos marker in the multi-scan picture after one scan is decoded down. The real check number is reg_sos_check_byte_num+1"] #[inline(always)] - #[must_use] pub fn sos_check_byte_num(&mut self) -> SOS_CHECK_BYTE_NUM_W { SOS_CHECK_BYTE_NUM_W::new(self, 25) } #[doc = "Bits 27:28 - Configure the byte number to check next rst marker after one rst interval is decoded down. The real check number is reg_rst_check_byte_num+1"] #[inline(always)] - #[must_use] pub fn rst_check_byte_num(&mut self) -> RST_CHECK_BYTE_NUM_W { RST_CHECK_BYTE_NUM_W::new(self, 27) } #[doc = "Bit 29 - reserved for decoder"] #[inline(always)] - #[must_use] pub fn multi_scan_err_check(&mut self) -> MULTI_SCAN_ERR_CHECK_W { MULTI_SCAN_ERR_CHECK_W::new(self, 29) } #[doc = "Bit 30 - reserved for decoder"] #[inline(always)] - #[must_use] pub fn dezigzag_ready_ctl(&mut self) -> DEZIGZAG_READY_CTL_W { DEZIGZAG_READY_CTL_W::new(self, 30) } diff --git a/esp32p4/src/jpeg/decoder_status5.rs b/esp32p4/src/jpeg/decoder_status5.rs index 20da73536b..3533382610 100644 --- a/esp32p4/src/jpeg/decoder_status5.rs +++ b/esp32p4/src/jpeg/decoder_status5.rs @@ -80,7 +80,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - redundant control registers for jpeg"] #[inline(always)] - #[must_use] pub fn rdn_ena(&mut self) -> RDN_ENA_W { RDN_ENA_W::new(self, 30) } diff --git a/esp32p4/src/jpeg/dht_info.rs b/esp32p4/src/jpeg/dht_info.rs index 4512df7817..b40eeee0e4 100644 --- a/esp32p4/src/jpeg/dht_info.rs +++ b/esp32p4/src/jpeg/dht_info.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - configure dht dc table 0 id"] #[inline(always)] - #[must_use] pub fn dc0_dht_id(&mut self) -> DC0_DHT_ID_W { DC0_DHT_ID_W::new(self, 0) } #[doc = "Bits 4:7 - configure dht dc table 1 id"] #[inline(always)] - #[must_use] pub fn dc1_dht_id(&mut self) -> DC1_DHT_ID_W { DC1_DHT_ID_W::new(self, 4) } #[doc = "Bits 8:11 - configure dht ac table 0 id"] #[inline(always)] - #[must_use] pub fn ac0_dht_id(&mut self) -> AC0_DHT_ID_W { AC0_DHT_ID_W::new(self, 8) } #[doc = "Bits 12:15 - configure dht ac table 1 id"] #[inline(always)] - #[must_use] pub fn ac1_dht_id(&mut self) -> AC1_DHT_ID_W { AC1_DHT_ID_W::new(self, 12) } diff --git a/esp32p4/src/jpeg/dqt_info.rs b/esp32p4/src/jpeg/dqt_info.rs index f072e81640..e76158d4f2 100644 --- a/esp32p4/src/jpeg/dqt_info.rs +++ b/esp32p4/src/jpeg/dqt_info.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Configure dqt table0's quantization coefficient precision in bit\\[7:4\\], configure dqt table0's table id in bit\\[3:0\\]"] #[inline(always)] - #[must_use] pub fn t0_dqt_info(&mut self) -> T0_DQT_INFO_W { T0_DQT_INFO_W::new(self, 0) } #[doc = "Bits 8:15 - Configure dqt table1's quantization coefficient precision in bit\\[7:4\\], configure dqt table1's table id in bit\\[3:0\\]"] #[inline(always)] - #[must_use] pub fn t1_dqt_info(&mut self) -> T1_DQT_INFO_W { T1_DQT_INFO_W::new(self, 8) } #[doc = "Bits 16:23 - Configure dqt table2's quantization coefficient precision in bit\\[7:4\\], configure dqt table2's table id in bit\\[3:0\\]"] #[inline(always)] - #[must_use] pub fn t2_dqt_info(&mut self) -> T2_DQT_INFO_W { T2_DQT_INFO_W::new(self, 16) } #[doc = "Bits 24:31 - Configure dqt table3's quantization coefficient precision in bit\\[7:4\\], configure dqt table3's table id in bit\\[3:0\\]"] #[inline(always)] - #[must_use] pub fn t3_dqt_info(&mut self) -> T3_DQT_INFO_W { T3_DQT_INFO_W::new(self, 24) } diff --git a/esp32p4/src/jpeg/eco_high.rs b/esp32p4/src/jpeg/eco_high.rs index 42c65cc396..54648796bd 100644 --- a/esp32p4/src/jpeg/eco_high.rs +++ b/esp32p4/src/jpeg/eco_high.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - redundant registers for jpeg"] #[inline(always)] - #[must_use] pub fn rdn_eco_high(&mut self) -> RDN_ECO_HIGH_W { RDN_ECO_HIGH_W::new(self, 0) } diff --git a/esp32p4/src/jpeg/eco_low.rs b/esp32p4/src/jpeg/eco_low.rs index 97496db10d..32766c2ecf 100644 --- a/esp32p4/src/jpeg/eco_low.rs +++ b/esp32p4/src/jpeg/eco_low.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - redundant registers for jpeg"] #[inline(always)] - #[must_use] pub fn rdn_eco_low(&mut self) -> RDN_ECO_LOW_W { RDN_ECO_LOW_W::new(self, 0) } diff --git a/esp32p4/src/jpeg/int_clr.rs b/esp32p4/src/jpeg/int_clr.rs index ee1dac8dd1..b54fd8be62 100644 --- a/esp32p4/src/jpeg/int_clr.rs +++ b/esp32p4/src/jpeg/int_clr.rs @@ -59,151 +59,126 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - This clear interrupt bit turns to high level when JPEG finishes encoding a picture.."] #[inline(always)] - #[must_use] pub fn done(&mut self) -> DONE_W { DONE_W::new(self, 0) } #[doc = "Bit 1 - The clear interrupt bit to sign that rle parallel error when decoding."] #[inline(always)] - #[must_use] pub fn rle_parallel_err(&mut self) -> RLE_PARALLEL_ERR_W { RLE_PARALLEL_ERR_W::new(self, 1) } #[doc = "Bit 2 - The clear interrupt bit to sign that scan id check with component fails when decoding."] #[inline(always)] - #[must_use] pub fn cid_err(&mut self) -> CID_ERR_W { CID_ERR_W::new(self, 2) } #[doc = "Bit 3 - The clear interrupt bit to sign that scan component's dc dht id check with dc dht table's id fails when decoding."] #[inline(always)] - #[must_use] pub fn c_dht_dc_id_err(&mut self) -> C_DHT_DC_ID_ERR_W { C_DHT_DC_ID_ERR_W::new(self, 3) } #[doc = "Bit 4 - The clear interrupt bit to sign that scan component's ac dht id check with ac dht table's id fails when decoding."] #[inline(always)] - #[must_use] pub fn c_dht_ac_id_err(&mut self) -> C_DHT_AC_ID_ERR_W { C_DHT_AC_ID_ERR_W::new(self, 4) } #[doc = "Bit 5 - The clear interrupt bit to sign that scan component's dqt id check with dqt table's id fails when decoding."] #[inline(always)] - #[must_use] pub fn c_dqt_id_err(&mut self) -> C_DQT_ID_ERR_W { C_DQT_ID_ERR_W::new(self, 5) } #[doc = "Bit 6 - The clear interrupt bit to sign that RST header marker is detected but restart interval is 0 when decoding."] #[inline(always)] - #[must_use] pub fn rst_uxp_err(&mut self) -> RST_UXP_ERR_W { RST_UXP_ERR_W::new(self, 6) } #[doc = "Bit 7 - The clear interrupt bit to sign that RST header marker is not detected but restart interval is not 0 when decoding."] #[inline(always)] - #[must_use] pub fn rst_check_none_err(&mut self) -> RST_CHECK_NONE_ERR_W { RST_CHECK_NONE_ERR_W::new(self, 7) } #[doc = "Bit 8 - The clear interrupt bit to sign that RST header marker position mismatches with restart interval when decoding."] #[inline(always)] - #[must_use] pub fn rst_check_pos_err(&mut self) -> RST_CHECK_POS_ERR_W { RST_CHECK_POS_ERR_W::new(self, 8) } #[doc = "Bit 9 - The clear interrupt bit turns to high level when the last pixel of one square has been transmitted for Tx channel."] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 9) } #[doc = "Bit 10 - The clear interrupt bit to sign that the selected source color mode is not supported."] #[inline(always)] - #[must_use] pub fn sr_color_mode_err(&mut self) -> SR_COLOR_MODE_ERR_W { SR_COLOR_MODE_ERR_W::new(self, 10) } #[doc = "Bit 11 - The clear interrupt bit to sign that one dct calculation is finished."] #[inline(always)] - #[must_use] pub fn dct_done(&mut self) -> DCT_DONE_W { DCT_DONE_W::new(self, 11) } #[doc = "Bit 12 - The clear interrupt bit to sign that the coding process for last block is finished."] #[inline(always)] - #[must_use] pub fn bs_last_block_eof(&mut self) -> BS_LAST_BLOCK_EOF_W { BS_LAST_BLOCK_EOF_W::new(self, 12) } #[doc = "Bit 13 - The clear interrupt bit to sign that SOS header marker is not detected but there are still components left to be decoded."] #[inline(always)] - #[must_use] pub fn scan_check_none_err(&mut self) -> SCAN_CHECK_NONE_ERR_W { SCAN_CHECK_NONE_ERR_W::new(self, 13) } #[doc = "Bit 14 - The clear interrupt bit to sign that SOS header marker position wrong when decoding."] #[inline(always)] - #[must_use] pub fn scan_check_pos_err(&mut self) -> SCAN_CHECK_POS_ERR_W { SCAN_CHECK_POS_ERR_W::new(self, 14) } #[doc = "Bit 15 - The clear interrupt bit to sign that unsupported header marker is detected when decoding."] #[inline(always)] - #[must_use] pub fn uxp_det(&mut self) -> UXP_DET_W { UXP_DET_W::new(self, 15) } #[doc = "Bit 16 - The clear interrupt bit to sign that received pixel blocks are smaller than expected when encoding."] #[inline(always)] - #[must_use] pub fn en_frame_eof_err(&mut self) -> EN_FRAME_EOF_ERR_W { EN_FRAME_EOF_ERR_W::new(self, 16) } #[doc = "Bit 17 - The clear interrupt bit to sign that the frame eof sign bit from dma input is missing when encoding. But the number of pixel blocks is enough."] #[inline(always)] - #[must_use] pub fn en_frame_eof_lack(&mut self) -> EN_FRAME_EOF_LACK_W { EN_FRAME_EOF_LACK_W::new(self, 17) } #[doc = "Bit 18 - The clear interrupt bit to sign that decoded blocks are smaller than expected when decoding."] #[inline(always)] - #[must_use] pub fn de_frame_eof_err(&mut self) -> DE_FRAME_EOF_ERR_W { DE_FRAME_EOF_ERR_W::new(self, 18) } #[doc = "Bit 19 - The clear interrupt bit to sign that the either frame eof from dma input or eoi marker is missing when encoding. But the number of decoded blocks is enough."] #[inline(always)] - #[must_use] pub fn de_frame_eof_lack(&mut self) -> DE_FRAME_EOF_LACK_W { DE_FRAME_EOF_LACK_W::new(self, 19) } #[doc = "Bit 20 - The clear interrupt bit to sign that the component number of a scan is 0 or does not match the sos marker's length when decoding."] #[inline(always)] - #[must_use] pub fn sos_unmatch_err(&mut self) -> SOS_UNMATCH_ERR_W { SOS_UNMATCH_ERR_W::new(self, 20) } #[doc = "Bit 21 - The clear interrupt bit to sign that the first scan has header marker error when decoding."] #[inline(always)] - #[must_use] pub fn marker_err_fst_scan(&mut self) -> MARKER_ERR_FST_SCAN_W { MARKER_ERR_FST_SCAN_W::new(self, 21) } #[doc = "Bit 22 - The clear interrupt bit to sign that the following scans but not the first scan have header marker error when decoding."] #[inline(always)] - #[must_use] pub fn marker_err_other_scan(&mut self) -> MARKER_ERR_OTHER_SCAN_W { MARKER_ERR_OTHER_SCAN_W::new(self, 22) } #[doc = "Bit 23 - The clear interrupt bit to sign that JPEG format is not detected at the eof data of a packet when decoding."] #[inline(always)] - #[must_use] pub fn undet(&mut self) -> UNDET_W { UNDET_W::new(self, 23) } #[doc = "Bit 24 - The clear interrupt bit to sign that decode pause time is longer than the setting decode timeout time when decoding."] #[inline(always)] - #[must_use] pub fn decode_timeout(&mut self) -> DECODE_TIMEOUT_W { DECODE_TIMEOUT_W::new(self, 24) } diff --git a/esp32p4/src/jpeg/int_ena.rs b/esp32p4/src/jpeg/int_ena.rs index f9cb815277..5505ff3b1d 100644 --- a/esp32p4/src/jpeg/int_ena.rs +++ b/esp32p4/src/jpeg/int_ena.rs @@ -264,151 +264,126 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This enable interrupt bit turns to high level when JPEG finishes encoding a picture.."] #[inline(always)] - #[must_use] pub fn done(&mut self) -> DONE_W { DONE_W::new(self, 0) } #[doc = "Bit 1 - The enable interrupt bit to sign that rle parallel error when decoding."] #[inline(always)] - #[must_use] pub fn rle_parallel_err(&mut self) -> RLE_PARALLEL_ERR_W { RLE_PARALLEL_ERR_W::new(self, 1) } #[doc = "Bit 2 - The enable interrupt bit to sign that scan id check with component fails when decoding."] #[inline(always)] - #[must_use] pub fn cid_err(&mut self) -> CID_ERR_W { CID_ERR_W::new(self, 2) } #[doc = "Bit 3 - The enable interrupt bit to sign that scan component's dc dht id check with dc dht table's id fails when decoding."] #[inline(always)] - #[must_use] pub fn c_dht_dc_id_err(&mut self) -> C_DHT_DC_ID_ERR_W { C_DHT_DC_ID_ERR_W::new(self, 3) } #[doc = "Bit 4 - The enable interrupt bit to sign that scan component's ac dht id check with ac dht table's id fails when decoding."] #[inline(always)] - #[must_use] pub fn c_dht_ac_id_err(&mut self) -> C_DHT_AC_ID_ERR_W { C_DHT_AC_ID_ERR_W::new(self, 4) } #[doc = "Bit 5 - The enable interrupt bit to sign that scan component's dqt id check with dqt table's id fails when decoding."] #[inline(always)] - #[must_use] pub fn c_dqt_id_err(&mut self) -> C_DQT_ID_ERR_W { C_DQT_ID_ERR_W::new(self, 5) } #[doc = "Bit 6 - The enable interrupt bit to sign that RST header marker is detected but restart interval is 0 when decoding."] #[inline(always)] - #[must_use] pub fn rst_uxp_err(&mut self) -> RST_UXP_ERR_W { RST_UXP_ERR_W::new(self, 6) } #[doc = "Bit 7 - The enable interrupt bit to sign that RST header marker is not detected but restart interval is not 0 when decoding."] #[inline(always)] - #[must_use] pub fn rst_check_none_err(&mut self) -> RST_CHECK_NONE_ERR_W { RST_CHECK_NONE_ERR_W::new(self, 7) } #[doc = "Bit 8 - The enable interrupt bit to sign that RST header marker position mismatches with restart interval when decoding."] #[inline(always)] - #[must_use] pub fn rst_check_pos_err(&mut self) -> RST_CHECK_POS_ERR_W { RST_CHECK_POS_ERR_W::new(self, 8) } #[doc = "Bit 9 - The enable interrupt bit turns to high level when the last pixel of one square has been transmitted for Tx channel."] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 9) } #[doc = "Bit 10 - The enable interrupt bit to sign that the selected source color mode is not supported."] #[inline(always)] - #[must_use] pub fn sr_color_mode_err(&mut self) -> SR_COLOR_MODE_ERR_W { SR_COLOR_MODE_ERR_W::new(self, 10) } #[doc = "Bit 11 - The enable interrupt bit to sign that one dct calculation is finished."] #[inline(always)] - #[must_use] pub fn dct_done(&mut self) -> DCT_DONE_W { DCT_DONE_W::new(self, 11) } #[doc = "Bit 12 - The enable interrupt bit to sign that the coding process for last block is finished."] #[inline(always)] - #[must_use] pub fn bs_last_block_eof(&mut self) -> BS_LAST_BLOCK_EOF_W { BS_LAST_BLOCK_EOF_W::new(self, 12) } #[doc = "Bit 13 - The enable interrupt bit to sign that SOS header marker is not detected but there are still components left to be decoded."] #[inline(always)] - #[must_use] pub fn scan_check_none_err(&mut self) -> SCAN_CHECK_NONE_ERR_W { SCAN_CHECK_NONE_ERR_W::new(self, 13) } #[doc = "Bit 14 - The enable interrupt bit to sign that SOS header marker position wrong when decoding."] #[inline(always)] - #[must_use] pub fn scan_check_pos_err(&mut self) -> SCAN_CHECK_POS_ERR_W { SCAN_CHECK_POS_ERR_W::new(self, 14) } #[doc = "Bit 15 - The enable interrupt bit to sign that unsupported header marker is detected when decoding."] #[inline(always)] - #[must_use] pub fn uxp_det(&mut self) -> UXP_DET_W { UXP_DET_W::new(self, 15) } #[doc = "Bit 16 - The enable interrupt bit to sign that received pixel blocks are smaller than expected when encoding."] #[inline(always)] - #[must_use] pub fn en_frame_eof_err(&mut self) -> EN_FRAME_EOF_ERR_W { EN_FRAME_EOF_ERR_W::new(self, 16) } #[doc = "Bit 17 - The enable interrupt bit to sign that the frame eof sign bit from dma input is missing when encoding. But the number of pixel blocks is enough."] #[inline(always)] - #[must_use] pub fn en_frame_eof_lack(&mut self) -> EN_FRAME_EOF_LACK_W { EN_FRAME_EOF_LACK_W::new(self, 17) } #[doc = "Bit 18 - The enable interrupt bit to sign that decoded blocks are smaller than expected when decoding."] #[inline(always)] - #[must_use] pub fn de_frame_eof_err(&mut self) -> DE_FRAME_EOF_ERR_W { DE_FRAME_EOF_ERR_W::new(self, 18) } #[doc = "Bit 19 - The enable interrupt bit to sign that the either frame eof from dma input or eoi marker is missing when encoding. But the number of decoded blocks is enough."] #[inline(always)] - #[must_use] pub fn de_frame_eof_lack(&mut self) -> DE_FRAME_EOF_LACK_W { DE_FRAME_EOF_LACK_W::new(self, 19) } #[doc = "Bit 20 - The enable interrupt bit to sign that the component number of a scan is 0 or does not match the sos marker's length when decoding."] #[inline(always)] - #[must_use] pub fn sos_unmatch_err(&mut self) -> SOS_UNMATCH_ERR_W { SOS_UNMATCH_ERR_W::new(self, 20) } #[doc = "Bit 21 - The enable interrupt bit to sign that the first scan has header marker error when decoding."] #[inline(always)] - #[must_use] pub fn marker_err_fst_scan(&mut self) -> MARKER_ERR_FST_SCAN_W { MARKER_ERR_FST_SCAN_W::new(self, 21) } #[doc = "Bit 22 - The enable interrupt bit to sign that the following scans but not the first scan have header marker error when decoding."] #[inline(always)] - #[must_use] pub fn marker_err_other_scan(&mut self) -> MARKER_ERR_OTHER_SCAN_W { MARKER_ERR_OTHER_SCAN_W::new(self, 22) } #[doc = "Bit 23 - The enable interrupt bit to sign that JPEG format is not detected at the eof data of a packet when decoding."] #[inline(always)] - #[must_use] pub fn undet(&mut self) -> UNDET_W { UNDET_W::new(self, 23) } #[doc = "Bit 24 - The enable interrupt bit to sign that decode pause time is longer than the setting decode timeout time when decoding."] #[inline(always)] - #[must_use] pub fn decode_timeout(&mut self) -> DECODE_TIMEOUT_W { DECODE_TIMEOUT_W::new(self, 24) } diff --git a/esp32p4/src/jpeg/int_raw.rs b/esp32p4/src/jpeg/int_raw.rs index 29b37a208b..c7d1102340 100644 --- a/esp32p4/src/jpeg/int_raw.rs +++ b/esp32p4/src/jpeg/int_raw.rs @@ -264,151 +264,126 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This raw interrupt bit turns to high level when JPEG finishes encoding a picture.."] #[inline(always)] - #[must_use] pub fn done(&mut self) -> DONE_W { DONE_W::new(self, 0) } #[doc = "Bit 1 - The raw interrupt bit to sign that rle parallel error when decoding."] #[inline(always)] - #[must_use] pub fn rle_parallel_err(&mut self) -> RLE_PARALLEL_ERR_W { RLE_PARALLEL_ERR_W::new(self, 1) } #[doc = "Bit 2 - The raw interrupt bit to sign that scan id check with component fails when decoding."] #[inline(always)] - #[must_use] pub fn cid_err(&mut self) -> CID_ERR_W { CID_ERR_W::new(self, 2) } #[doc = "Bit 3 - The raw interrupt bit to sign that scan component's dc dht id check with dc dht table's id fails when decoding."] #[inline(always)] - #[must_use] pub fn c_dht_dc_id_err(&mut self) -> C_DHT_DC_ID_ERR_W { C_DHT_DC_ID_ERR_W::new(self, 3) } #[doc = "Bit 4 - The raw interrupt bit to sign that scan component's ac dht id check with ac dht table's id fails when decoding."] #[inline(always)] - #[must_use] pub fn c_dht_ac_id_err(&mut self) -> C_DHT_AC_ID_ERR_W { C_DHT_AC_ID_ERR_W::new(self, 4) } #[doc = "Bit 5 - The raw interrupt bit to sign that scan component's dqt id check with dqt table's id fails when decoding."] #[inline(always)] - #[must_use] pub fn c_dqt_id_err(&mut self) -> C_DQT_ID_ERR_W { C_DQT_ID_ERR_W::new(self, 5) } #[doc = "Bit 6 - The raw interrupt bit to sign that RST header marker is detected but restart interval is 0 when decoding."] #[inline(always)] - #[must_use] pub fn rst_uxp_err(&mut self) -> RST_UXP_ERR_W { RST_UXP_ERR_W::new(self, 6) } #[doc = "Bit 7 - The raw interrupt bit to sign that RST header marker is not detected but restart interval is not 0 when decoding."] #[inline(always)] - #[must_use] pub fn rst_check_none_err(&mut self) -> RST_CHECK_NONE_ERR_W { RST_CHECK_NONE_ERR_W::new(self, 7) } #[doc = "Bit 8 - The raw interrupt bit to sign that RST header marker position mismatches with restart interval when decoding."] #[inline(always)] - #[must_use] pub fn rst_check_pos_err(&mut self) -> RST_CHECK_POS_ERR_W { RST_CHECK_POS_ERR_W::new(self, 8) } #[doc = "Bit 9 - The raw interrupt bit turns to high level when the last pixel of one square has been transmitted for Tx channel."] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 9) } #[doc = "Bit 10 - The raw interrupt bit to sign that the selected source color mode is not supported."] #[inline(always)] - #[must_use] pub fn sr_color_mode_err(&mut self) -> SR_COLOR_MODE_ERR_W { SR_COLOR_MODE_ERR_W::new(self, 10) } #[doc = "Bit 11 - The raw interrupt bit to sign that one dct calculation is finished."] #[inline(always)] - #[must_use] pub fn dct_done(&mut self) -> DCT_DONE_W { DCT_DONE_W::new(self, 11) } #[doc = "Bit 12 - The raw interrupt bit to sign that the coding process for last block is finished."] #[inline(always)] - #[must_use] pub fn bs_last_block_eof(&mut self) -> BS_LAST_BLOCK_EOF_W { BS_LAST_BLOCK_EOF_W::new(self, 12) } #[doc = "Bit 13 - The raw interrupt bit to sign that SOS header marker is not detected but there are still components left to be decoded."] #[inline(always)] - #[must_use] pub fn scan_check_none_err(&mut self) -> SCAN_CHECK_NONE_ERR_W { SCAN_CHECK_NONE_ERR_W::new(self, 13) } #[doc = "Bit 14 - The raw interrupt bit to sign that SOS header marker position wrong when decoding."] #[inline(always)] - #[must_use] pub fn scan_check_pos_err(&mut self) -> SCAN_CHECK_POS_ERR_W { SCAN_CHECK_POS_ERR_W::new(self, 14) } #[doc = "Bit 15 - The raw interrupt bit to sign that unsupported header marker is detected when decoding."] #[inline(always)] - #[must_use] pub fn uxp_det(&mut self) -> UXP_DET_W { UXP_DET_W::new(self, 15) } #[doc = "Bit 16 - The raw interrupt bit to sign that received pixel blocks are smaller than expected when encoding."] #[inline(always)] - #[must_use] pub fn en_frame_eof_err(&mut self) -> EN_FRAME_EOF_ERR_W { EN_FRAME_EOF_ERR_W::new(self, 16) } #[doc = "Bit 17 - The raw interrupt bit to sign that the frame eof sign bit from dma input is missing when encoding. But the number of pixel blocks is enough."] #[inline(always)] - #[must_use] pub fn en_frame_eof_lack(&mut self) -> EN_FRAME_EOF_LACK_W { EN_FRAME_EOF_LACK_W::new(self, 17) } #[doc = "Bit 18 - The raw interrupt bit to sign that decoded blocks are smaller than expected when decoding."] #[inline(always)] - #[must_use] pub fn de_frame_eof_err(&mut self) -> DE_FRAME_EOF_ERR_W { DE_FRAME_EOF_ERR_W::new(self, 18) } #[doc = "Bit 19 - The raw interrupt bit to sign that the either frame eof from dma input or eoi marker is missing when encoding. But the number of decoded blocks is enough."] #[inline(always)] - #[must_use] pub fn de_frame_eof_lack(&mut self) -> DE_FRAME_EOF_LACK_W { DE_FRAME_EOF_LACK_W::new(self, 19) } #[doc = "Bit 20 - The raw interrupt bit to sign that the component number of a scan is 0 or does not match the sos marker's length when decoding."] #[inline(always)] - #[must_use] pub fn sos_unmatch_err(&mut self) -> SOS_UNMATCH_ERR_W { SOS_UNMATCH_ERR_W::new(self, 20) } #[doc = "Bit 21 - The raw interrupt bit to sign that the first scan has header marker error when decoding."] #[inline(always)] - #[must_use] pub fn marker_err_fst_scan(&mut self) -> MARKER_ERR_FST_SCAN_W { MARKER_ERR_FST_SCAN_W::new(self, 21) } #[doc = "Bit 22 - The raw interrupt bit to sign that the following scans but not the first scan have header marker error when decoding."] #[inline(always)] - #[must_use] pub fn marker_err_other_scan(&mut self) -> MARKER_ERR_OTHER_SCAN_W { MARKER_ERR_OTHER_SCAN_W::new(self, 22) } #[doc = "Bit 23 - The raw interrupt bit to sign that JPEG format is not detected at the eof data of a packet when decoding."] #[inline(always)] - #[must_use] pub fn undet(&mut self) -> UNDET_W { UNDET_W::new(self, 23) } #[doc = "Bit 24 - The raw interrupt bit to sign that decode pause time is longer than the setting decode timeout time when decoding."] #[inline(always)] - #[must_use] pub fn decode_timeout(&mut self) -> DECODE_TIMEOUT_W { DECODE_TIMEOUT_W::new(self, 24) } diff --git a/esp32p4/src/jpeg/pic_size.rs b/esp32p4/src/jpeg/pic_size.rs index 64f34b63b7..4db854ee2c 100644 --- a/esp32p4/src/jpeg/pic_size.rs +++ b/esp32p4/src/jpeg/pic_size.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - configure picture's height. when encode, the max configurable bits is 14, when decode, the max configurable bits is 16"] #[inline(always)] - #[must_use] pub fn va(&mut self) -> VA_W { VA_W::new(self, 0) } #[doc = "Bits 16:31 - configure picture's width. when encode, the max configurable bits is 14, when decode, the max configurable bits is 16"] #[inline(always)] - #[must_use] pub fn ha(&mut self) -> HA_W { HA_W::new(self, 16) } diff --git a/esp32p4/src/jpeg/sys.rs b/esp32p4/src/jpeg/sys.rs index 8eb91373d9..678b1c0ea7 100644 --- a/esp32p4/src/jpeg/sys.rs +++ b/esp32p4/src/jpeg/sys.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - Reserved"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32p4/src/jpeg/version.rs b/esp32p4/src/jpeg/version.rs index 422716e91a..9d61d6edd6 100644 --- a/esp32p4/src/jpeg/version.rs +++ b/esp32p4/src/jpeg/version.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Reserved"] #[inline(always)] - #[must_use] pub fn jpeg_ver(&mut self) -> JPEG_VER_W { JPEG_VER_W::new(self, 0) } diff --git a/esp32p4/src/lcd_cam/cam_ctrl.rs b/esp32p4/src/lcd_cam/cam_ctrl.rs index 3fe0b9916e..ca7eb55103 100644 --- a/esp32p4/src/lcd_cam/cam_ctrl.rs +++ b/esp32p4/src/lcd_cam/cam_ctrl.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Camera stop enable signal, 1: camera stops when DMA Rx FIFO is full. 0: Not stop."] #[inline(always)] - #[must_use] pub fn cam_stop_en(&mut self) -> CAM_STOP_EN_W { CAM_STOP_EN_W::new(self, 0) } #[doc = "Bits 1:3 - Filter threshold value for CAM_VSYNC signal."] #[inline(always)] - #[must_use] pub fn cam_vsync_filter_thres(&mut self) -> CAM_VSYNC_FILTER_THRES_W { CAM_VSYNC_FILTER_THRES_W::new(self, 1) } #[doc = "Bit 4 - 1: Update Camera registers, will be cleared by hardware. 0 : Not care."] #[inline(always)] - #[must_use] pub fn cam_update(&mut self) -> CAM_UPDATE_W { CAM_UPDATE_W::new(self, 4) } #[doc = "Bit 5 - 1: Change data bit order, change CAM_DATA_in\\[7:0\\] to CAM_DATA_in\\[0:7\\] in one byte mode, and bits\\[15:0\\] to bits\\[0:15\\] in two byte mode. 0: Not change."] #[inline(always)] - #[must_use] pub fn cam_byte_order(&mut self) -> CAM_BYTE_ORDER_W { CAM_BYTE_ORDER_W::new(self, 5) } #[doc = "Bit 6 - 1: invert data byte order, only valid in 2 byte mode. 0: Not change."] #[inline(always)] - #[must_use] pub fn cam_bit_order(&mut self) -> CAM_BIT_ORDER_W { CAM_BIT_ORDER_W::new(self, 6) } #[doc = "Bit 7 - 1: Enable to generate CAM_HS_INT. 0: Disable."] #[inline(always)] - #[must_use] pub fn cam_line_int_en(&mut self) -> CAM_LINE_INT_EN_W { CAM_LINE_INT_EN_W::new(self, 7) } #[doc = "Bit 8 - 1: CAM_VSYNC to generate in_suc_eof. 0: in_suc_eof is controlled by reg_cam_rec_data_cyclelen."] #[inline(always)] - #[must_use] pub fn cam_vs_eof_en(&mut self) -> CAM_VS_EOF_EN_W { CAM_VS_EOF_EN_W::new(self, 8) } #[doc = "Bits 9:16 - Integral Camera clock divider value"] #[inline(always)] - #[must_use] pub fn cam_clkm_div_num(&mut self) -> CAM_CLKM_DIV_NUM_W { CAM_CLKM_DIV_NUM_W::new(self, 9) } #[doc = "Bits 17:22 - Fractional clock divider numerator value"] #[inline(always)] - #[must_use] pub fn cam_clkm_div_b(&mut self) -> CAM_CLKM_DIV_B_W { CAM_CLKM_DIV_B_W::new(self, 17) } #[doc = "Bits 23:28 - Fractional clock divider denominator value"] #[inline(always)] - #[must_use] pub fn cam_clkm_div_a(&mut self) -> CAM_CLKM_DIV_A_W { CAM_CLKM_DIV_A_W::new(self, 23) } #[doc = "Bits 29:30 - Select Camera module source clock. 0: no clock. 1: APLL. 2: CLK160. 3: no clock."] #[inline(always)] - #[must_use] pub fn cam_clk_sel(&mut self) -> CAM_CLK_SEL_W { CAM_CLK_SEL_W::new(self, 29) } diff --git a/esp32p4/src/lcd_cam/cam_ctrl1.rs b/esp32p4/src/lcd_cam/cam_ctrl1.rs index 2d6da903d9..a9138a050a 100644 --- a/esp32p4/src/lcd_cam/cam_ctrl1.rs +++ b/esp32p4/src/lcd_cam/cam_ctrl1.rs @@ -118,73 +118,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Camera receive data byte length minus 1 to set DMA in_suc_eof_int."] #[inline(always)] - #[must_use] pub fn cam_rec_data_bytelen(&mut self) -> CAM_REC_DATA_BYTELEN_W { CAM_REC_DATA_BYTELEN_W::new(self, 0) } #[doc = "Bits 16:21 - The line number minus 1 to generate cam_hs_int."] #[inline(always)] - #[must_use] pub fn cam_line_int_num(&mut self) -> CAM_LINE_INT_NUM_W { CAM_LINE_INT_NUM_W::new(self, 16) } #[doc = "Bit 22 - 1: Invert the input signal CAM_PCLK. 0: Not invert."] #[inline(always)] - #[must_use] pub fn cam_clk_inv(&mut self) -> CAM_CLK_INV_W { CAM_CLK_INV_W::new(self, 22) } #[doc = "Bit 23 - 1: Enable CAM_VSYNC filter function. 0: bypass."] #[inline(always)] - #[must_use] pub fn cam_vsync_filter_en(&mut self) -> CAM_VSYNC_FILTER_EN_W { CAM_VSYNC_FILTER_EN_W::new(self, 23) } #[doc = "Bit 24 - 1: The bit number of input data is 9~16. 0: The bit number of input data is 0~8."] #[inline(always)] - #[must_use] pub fn cam_2byte_en(&mut self) -> CAM_2BYTE_EN_W { CAM_2BYTE_EN_W::new(self, 24) } #[doc = "Bit 25 - CAM_DE invert enable signal, valid in high level."] #[inline(always)] - #[must_use] pub fn cam_de_inv(&mut self) -> CAM_DE_INV_W { CAM_DE_INV_W::new(self, 25) } #[doc = "Bit 26 - CAM_HSYNC invert enable signal, valid in high level."] #[inline(always)] - #[must_use] pub fn cam_hsync_inv(&mut self) -> CAM_HSYNC_INV_W { CAM_HSYNC_INV_W::new(self, 26) } #[doc = "Bit 27 - CAM_VSYNC invert enable signal, valid in high level."] #[inline(always)] - #[must_use] pub fn cam_vsync_inv(&mut self) -> CAM_VSYNC_INV_W { CAM_VSYNC_INV_W::new(self, 27) } #[doc = "Bit 28 - 1: Input control signals are CAM_DE CAM_HSYNC and CAM_VSYNC. 0: Input control signals are CAM_DE and CAM_VSYNC."] #[inline(always)] - #[must_use] pub fn cam_vh_de_mode_en(&mut self) -> CAM_VH_DE_MODE_EN_W { CAM_VH_DE_MODE_EN_W::new(self, 28) } #[doc = "Bit 29 - Camera module start signal."] #[inline(always)] - #[must_use] pub fn cam_start(&mut self) -> CAM_START_W { CAM_START_W::new(self, 29) } #[doc = "Bit 30 - Camera module reset signal."] #[inline(always)] - #[must_use] pub fn cam_reset(&mut self) -> CAM_RESET_W { CAM_RESET_W::new(self, 30) } #[doc = "Bit 31 - Camera AFIFO reset signal."] #[inline(always)] - #[must_use] pub fn cam_afifo_reset(&mut self) -> CAM_AFIFO_RESET_W { CAM_AFIFO_RESET_W::new(self, 31) } diff --git a/esp32p4/src/lcd_cam/cam_rgb_yuv.rs b/esp32p4/src/lcd_cam/cam_rgb_yuv.rs index e6841635ea..918f7004b7 100644 --- a/esp32p4/src/lcd_cam/cam_rgb_yuv.rs +++ b/esp32p4/src/lcd_cam/cam_rgb_yuv.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 21 - 1:invert every two 8bits input data. 2. disabled."] #[inline(always)] - #[must_use] pub fn cam_conv_8bits_data_inv(&mut self) -> CAM_CONV_8BITS_DATA_INV_W { CAM_CONV_8BITS_DATA_INV_W::new(self, 21) } #[doc = "Bits 22:23 - 0: to yuv422. 1: to yuv420. 2: to yuv411. 3: disabled. To enable yuv2yuv mode, trans_mode must be set to 1."] #[inline(always)] - #[must_use] pub fn cam_conv_yuv2yuv_mode(&mut self) -> CAM_CONV_YUV2YUV_MODE_W { CAM_CONV_YUV2YUV_MODE_W::new(self, 22) } #[doc = "Bits 24:25 - 0: yuv422. 1: yuv420. 2: yuv411. When in yuv2yuv mode, yuv_mode decides the yuv mode of Data_in"] #[inline(always)] - #[must_use] pub fn cam_conv_yuv_mode(&mut self) -> CAM_CONV_YUV_MODE_W { CAM_CONV_YUV_MODE_W::new(self, 24) } #[doc = "Bit 26 - 0:BT601. 1:BT709."] #[inline(always)] - #[must_use] pub fn cam_conv_protocol_mode(&mut self) -> CAM_CONV_PROTOCOL_MODE_W { CAM_CONV_PROTOCOL_MODE_W::new(self, 26) } #[doc = "Bit 27 - LIMIT or FULL mode of Data out. 0: limit. 1: full"] #[inline(always)] - #[must_use] pub fn cam_conv_data_out_mode(&mut self) -> CAM_CONV_DATA_OUT_MODE_W { CAM_CONV_DATA_OUT_MODE_W::new(self, 27) } #[doc = "Bit 28 - LIMIT or FULL mode of Data in. 0: limit. 1: full"] #[inline(always)] - #[must_use] pub fn cam_conv_data_in_mode(&mut self) -> CAM_CONV_DATA_IN_MODE_W { CAM_CONV_DATA_IN_MODE_W::new(self, 28) } #[doc = "Bit 29 - 0: 16bits mode. 1: 8bits mode."] #[inline(always)] - #[must_use] pub fn cam_conv_mode_8bits_on(&mut self) -> CAM_CONV_MODE_8BITS_ON_W { CAM_CONV_MODE_8BITS_ON_W::new(self, 29) } #[doc = "Bit 30 - 0: YUV to RGB. 1: RGB to YUV."] #[inline(always)] - #[must_use] pub fn cam_conv_trans_mode(&mut self) -> CAM_CONV_TRANS_MODE_W { CAM_CONV_TRANS_MODE_W::new(self, 30) } #[doc = "Bit 31 - 0: Bypass converter. 1: Enable converter."] #[inline(always)] - #[must_use] pub fn cam_conv_enable(&mut self) -> CAM_CONV_ENABLE_W { CAM_CONV_ENABLE_W::new(self, 31) } diff --git a/esp32p4/src/lcd_cam/lc_dma_int_clr.rs b/esp32p4/src/lcd_cam/lc_dma_int_clr.rs index 299cfdd2a5..4f2efb5ec6 100644 --- a/esp32p4/src/lcd_cam/lc_dma_int_clr.rs +++ b/esp32p4/src/lcd_cam/lc_dma_int_clr.rs @@ -17,25 +17,21 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The clear bit for LCD frame end interrupt."] #[inline(always)] - #[must_use] pub fn lcd_vsync_int_clr(&mut self) -> LCD_VSYNC_INT_CLR_W { LCD_VSYNC_INT_CLR_W::new(self, 0) } #[doc = "Bit 1 - The clear bit for lcd transfer end interrupt."] #[inline(always)] - #[must_use] pub fn lcd_trans_done_int_clr(&mut self) -> LCD_TRANS_DONE_INT_CLR_W { LCD_TRANS_DONE_INT_CLR_W::new(self, 1) } #[doc = "Bit 2 - The clear bit for Camera frame end interrupt."] #[inline(always)] - #[must_use] pub fn cam_vsync_int_clr(&mut self) -> CAM_VSYNC_INT_CLR_W { CAM_VSYNC_INT_CLR_W::new(self, 2) } #[doc = "Bit 3 - The clear bit for Camera line interrupt."] #[inline(always)] - #[must_use] pub fn cam_hs_int_clr(&mut self) -> CAM_HS_INT_CLR_W { CAM_HS_INT_CLR_W::new(self, 3) } diff --git a/esp32p4/src/lcd_cam/lc_dma_int_ena.rs b/esp32p4/src/lcd_cam/lc_dma_int_ena.rs index 57e6337e5c..f38498974e 100644 --- a/esp32p4/src/lcd_cam/lc_dma_int_ena.rs +++ b/esp32p4/src/lcd_cam/lc_dma_int_ena.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The enable bit for LCD frame end interrupt."] #[inline(always)] - #[must_use] pub fn lcd_vsync_int_ena(&mut self) -> LCD_VSYNC_INT_ENA_W { LCD_VSYNC_INT_ENA_W::new(self, 0) } #[doc = "Bit 1 - The enable bit for lcd transfer end interrupt."] #[inline(always)] - #[must_use] pub fn lcd_trans_done_int_ena(&mut self) -> LCD_TRANS_DONE_INT_ENA_W { LCD_TRANS_DONE_INT_ENA_W::new(self, 1) } #[doc = "Bit 2 - The enable bit for Camera frame end interrupt."] #[inline(always)] - #[must_use] pub fn cam_vsync_int_ena(&mut self) -> CAM_VSYNC_INT_ENA_W { CAM_VSYNC_INT_ENA_W::new(self, 2) } #[doc = "Bit 3 - The enable bit for Camera line interrupt."] #[inline(always)] - #[must_use] pub fn cam_hs_int_ena(&mut self) -> CAM_HS_INT_ENA_W { CAM_HS_INT_ENA_W::new(self, 3) } diff --git a/esp32p4/src/lcd_cam/lc_reg_date.rs b/esp32p4/src/lcd_cam/lc_reg_date.rs index d5dc50ced8..5799b61b56 100644 --- a/esp32p4/src/lcd_cam/lc_reg_date.rs +++ b/esp32p4/src/lcd_cam/lc_reg_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - LCD_CAM version control register"] #[inline(always)] - #[must_use] pub fn lc_date(&mut self) -> LC_DATE_W { LC_DATE_W::new(self, 0) } diff --git a/esp32p4/src/lcd_cam/lcd_clock.rs b/esp32p4/src/lcd_cam/lcd_clock.rs index acae71fcbe..8a50fa4deb 100644 --- a/esp32p4/src/lcd_cam/lcd_clock.rs +++ b/esp32p4/src/lcd_cam/lcd_clock.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - f_LCD_PCLK = f_LCD_CLK / (reg_clkcnt_N + 1) when reg_clk_equ_sysclk is 0."] #[inline(always)] - #[must_use] pub fn lcd_clkcnt_n(&mut self) -> LCD_CLKCNT_N_W { LCD_CLKCNT_N_W::new(self, 0) } #[doc = "Bit 6 - 1: f_LCD_PCLK = f_LCD_CLK. 0: f_LCD_PCLK = f_LCD_CLK / (reg_clkcnt_N + 1)."] #[inline(always)] - #[must_use] pub fn lcd_clk_equ_sysclk(&mut self) -> LCD_CLK_EQU_SYSCLK_W { LCD_CLK_EQU_SYSCLK_W::new(self, 6) } #[doc = "Bit 7 - 1: LCD_PCLK line is high when idle 0: LCD_PCLK line is low when idle."] #[inline(always)] - #[must_use] pub fn lcd_ck_idle_edge(&mut self) -> LCD_CK_IDLE_EDGE_W { LCD_CK_IDLE_EDGE_W::new(self, 7) } #[doc = "Bit 8 - 1: LCD_PCLK line is high in the first half data cycle. 0: LCD_PCLK line is low in the second half data cycle."] #[inline(always)] - #[must_use] pub fn lcd_ck_out_edge(&mut self) -> LCD_CK_OUT_EDGE_W { LCD_CK_OUT_EDGE_W::new(self, 8) } #[doc = "Bits 9:16 - Integral LCD clock divider value"] #[inline(always)] - #[must_use] pub fn lcd_clkm_div_num(&mut self) -> LCD_CLKM_DIV_NUM_W { LCD_CLKM_DIV_NUM_W::new(self, 9) } #[doc = "Bits 17:22 - Fractional clock divider numerator value"] #[inline(always)] - #[must_use] pub fn lcd_clkm_div_b(&mut self) -> LCD_CLKM_DIV_B_W { LCD_CLKM_DIV_B_W::new(self, 17) } #[doc = "Bits 23:28 - Fractional clock divider denominator value"] #[inline(always)] - #[must_use] pub fn lcd_clkm_div_a(&mut self) -> LCD_CLKM_DIV_A_W { LCD_CLKM_DIV_A_W::new(self, 23) } #[doc = "Bits 29:30 - Select LCD module source clock. 0: no clock. 1: APLL. 2: CLK160. 3: no clock."] #[inline(always)] - #[must_use] pub fn lcd_clk_sel(&mut self) -> LCD_CLK_SEL_W { LCD_CLK_SEL_W::new(self, 29) } #[doc = "Bit 31 - Set this bit to enable clk gate"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32p4/src/lcd_cam/lcd_ctrl.rs b/esp32p4/src/lcd_cam/lcd_ctrl.rs index 91a056aa28..4d14a2b146 100644 --- a/esp32p4/src/lcd_cam/lcd_ctrl.rs +++ b/esp32p4/src/lcd_cam/lcd_ctrl.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - It is the horizontal blank front porch of a frame."] #[inline(always)] - #[must_use] pub fn lcd_hb_front(&mut self) -> LCD_HB_FRONT_W { LCD_HB_FRONT_W::new(self, 0) } #[doc = "Bits 11:20 - It is the vertical active height of a frame."] #[inline(always)] - #[must_use] pub fn lcd_va_height(&mut self) -> LCD_VA_HEIGHT_W { LCD_VA_HEIGHT_W::new(self, 11) } #[doc = "Bits 21:30 - It is the vertical total height of a frame."] #[inline(always)] - #[must_use] pub fn lcd_vt_height(&mut self) -> LCD_VT_HEIGHT_W { LCD_VT_HEIGHT_W::new(self, 21) } #[doc = "Bit 31 - 1: Enable LCD RGB mode. 0: Disable LCD RGB mode."] #[inline(always)] - #[must_use] pub fn lcd_rgb_mode_en(&mut self) -> LCD_RGB_MODE_EN_W { LCD_RGB_MODE_EN_W::new(self, 31) } diff --git a/esp32p4/src/lcd_cam/lcd_ctrl1.rs b/esp32p4/src/lcd_cam/lcd_ctrl1.rs index b339577cc5..9aa21e1a5c 100644 --- a/esp32p4/src/lcd_cam/lcd_ctrl1.rs +++ b/esp32p4/src/lcd_cam/lcd_ctrl1.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - It is the vertical blank front porch of a frame."] #[inline(always)] - #[must_use] pub fn lcd_vb_front(&mut self) -> LCD_VB_FRONT_W { LCD_VB_FRONT_W::new(self, 0) } #[doc = "Bits 8:19 - It is the horizontal active width of a frame."] #[inline(always)] - #[must_use] pub fn lcd_ha_width(&mut self) -> LCD_HA_WIDTH_W { LCD_HA_WIDTH_W::new(self, 8) } #[doc = "Bits 20:31 - It is the horizontal total width of a frame."] #[inline(always)] - #[must_use] pub fn lcd_ht_width(&mut self) -> LCD_HT_WIDTH_W { LCD_HT_WIDTH_W::new(self, 20) } diff --git a/esp32p4/src/lcd_cam/lcd_ctrl2.rs b/esp32p4/src/lcd_cam/lcd_ctrl2.rs index a9e6e80168..e08afde6dd 100644 --- a/esp32p4/src/lcd_cam/lcd_ctrl2.rs +++ b/esp32p4/src/lcd_cam/lcd_ctrl2.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - It is the position of LCD_VSYNC active pulse in a line."] #[inline(always)] - #[must_use] pub fn lcd_vsync_width(&mut self) -> LCD_VSYNC_WIDTH_W { LCD_VSYNC_WIDTH_W::new(self, 0) } #[doc = "Bit 7 - It is the idle value of LCD_VSYNC."] #[inline(always)] - #[must_use] pub fn lcd_vsync_idle_pol(&mut self) -> LCD_VSYNC_IDLE_POL_W { LCD_VSYNC_IDLE_POL_W::new(self, 7) } #[doc = "Bit 8 - It is the idle value of LCD_DE."] #[inline(always)] - #[must_use] pub fn lcd_de_idle_pol(&mut self) -> LCD_DE_IDLE_POL_W { LCD_DE_IDLE_POL_W::new(self, 8) } #[doc = "Bit 9 - 1: The pulse of LCD_HSYNC is out in vertical blanking lines RGB mode. 0: LCD_HSYNC pulse is valid only in active region lines in RGB mode."] #[inline(always)] - #[must_use] pub fn lcd_hs_blank_en(&mut self) -> LCD_HS_BLANK_EN_W { LCD_HS_BLANK_EN_W::new(self, 9) } #[doc = "Bits 16:22 - It is the position of LCD_HSYNC active pulse in a line."] #[inline(always)] - #[must_use] pub fn lcd_hsync_width(&mut self) -> LCD_HSYNC_WIDTH_W { LCD_HSYNC_WIDTH_W::new(self, 16) } #[doc = "Bit 23 - It is the idle value of LCD_HSYNC."] #[inline(always)] - #[must_use] pub fn lcd_hsync_idle_pol(&mut self) -> LCD_HSYNC_IDLE_POL_W { LCD_HSYNC_IDLE_POL_W::new(self, 23) } #[doc = "Bits 24:31 - It is the position of LCD_HSYNC active pulse in a line."] #[inline(always)] - #[must_use] pub fn lcd_hsync_position(&mut self) -> LCD_HSYNC_POSITION_W { LCD_HSYNC_POSITION_W::new(self, 24) } diff --git a/esp32p4/src/lcd_cam/lcd_dly_mode_cfg1.rs b/esp32p4/src/lcd_cam/lcd_dly_mode_cfg1.rs index 34eb055a1a..1f25851f62 100644 --- a/esp32p4/src/lcd_cam/lcd_dly_mode_cfg1.rs +++ b/esp32p4/src/lcd_cam/lcd_dly_mode_cfg1.rs @@ -193,7 +193,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `DOUT16_MODE` field.
"] #[inline(always)] - #[must_use] pub fn dout_mode(&mut self, n: u8) -> DOUT_MODE_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -201,73 +200,61 @@ impl W { } #[doc = "Bits 0:1 - The output data bit 16 is delayed by module clock LCD_CLK"] #[inline(always)] - #[must_use] pub fn dout16_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 0) } #[doc = "Bits 2:3 - The output data bit 17 is delayed by module clock LCD_CLK"] #[inline(always)] - #[must_use] pub fn dout17_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 2) } #[doc = "Bits 4:5 - The output data bit 18 is delayed by module clock LCD_CLK"] #[inline(always)] - #[must_use] pub fn dout18_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 4) } #[doc = "Bits 6:7 - The output data bit 19 is delayed by module clock LCD_CLK"] #[inline(always)] - #[must_use] pub fn dout19_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 6) } #[doc = "Bits 8:9 - The output data bit 20 is delayed by module clock LCD_CLK"] #[inline(always)] - #[must_use] pub fn dout20_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 8) } #[doc = "Bits 10:11 - The output data bit 21 is delayed by module clock LCD_CLK"] #[inline(always)] - #[must_use] pub fn dout21_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 10) } #[doc = "Bits 12:13 - The output data bit 22 is delayed by module clock LCD_CLK"] #[inline(always)] - #[must_use] pub fn dout22_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 12) } #[doc = "Bits 14:15 - The output data bit 23 is delayed by module clock LCD_CLK"] #[inline(always)] - #[must_use] pub fn dout23_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 14) } #[doc = "Bits 16:17 - The output LCD_CD is delayed by module clock LCD_CLK. 0: output without delayed. 1: delay by the positive edge of LCD_CLK. 2: delay by the negative edge of LCD_CLK."] #[inline(always)] - #[must_use] pub fn lcd_cd_mode(&mut self) -> LCD_CD_MODE_W { LCD_CD_MODE_W::new(self, 16) } #[doc = "Bits 18:19 - The output LCD_DE is delayed by module clock LCD_CLK. 0: output without delayed. 1: delay by the positive edge of LCD_CLK. 2: delay by the negative edge of LCD_CLK."] #[inline(always)] - #[must_use] pub fn lcd_de_mode(&mut self) -> LCD_DE_MODE_W { LCD_DE_MODE_W::new(self, 18) } #[doc = "Bits 20:21 - The output LCD_HSYNC is delayed by module clock LCD_CLK. 0: output without delayed. 1: delay by the positive edge of LCD_CLK. 2: delay by the negative edge of LCD_CLK."] #[inline(always)] - #[must_use] pub fn lcd_hsync_mode(&mut self) -> LCD_HSYNC_MODE_W { LCD_HSYNC_MODE_W::new(self, 20) } #[doc = "Bits 22:23 - The output LCD_VSYNC is delayed by module clock LCD_CLK. 0: output without delayed. 1: delay by the positive edge of LCD_CLK. 2: delay by the negative edge of LCD_CLK."] #[inline(always)] - #[must_use] pub fn lcd_vsync_mode(&mut self) -> LCD_VSYNC_MODE_W { LCD_VSYNC_MODE_W::new(self, 22) } diff --git a/esp32p4/src/lcd_cam/lcd_dly_mode_cfg2.rs b/esp32p4/src/lcd_cam/lcd_dly_mode_cfg2.rs index 39772d24bd..c22305d816 100644 --- a/esp32p4/src/lcd_cam/lcd_dly_mode_cfg2.rs +++ b/esp32p4/src/lcd_cam/lcd_dly_mode_cfg2.rs @@ -133,7 +133,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `DOUT0_MODE` field.
"] #[inline(always)] - #[must_use] pub fn dout_mode(&mut self, n: u8) -> DOUT_MODE_W { #[allow(clippy::no_effect)] [(); 16][n as usize]; @@ -141,97 +140,81 @@ impl W { } #[doc = "Bits 0:1 - The output data bit 0 is delayed by module clock LCD_CLK"] #[inline(always)] - #[must_use] pub fn dout0_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 0) } #[doc = "Bits 2:3 - The output data bit 1 is delayed by module clock LCD_CLK"] #[inline(always)] - #[must_use] pub fn dout1_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 2) } #[doc = "Bits 4:5 - The output data bit 2 is delayed by module clock LCD_CLK"] #[inline(always)] - #[must_use] pub fn dout2_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 4) } #[doc = "Bits 6:7 - The output data bit 3 is delayed by module clock LCD_CLK"] #[inline(always)] - #[must_use] pub fn dout3_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 6) } #[doc = "Bits 8:9 - The output data bit 4 is delayed by module clock LCD_CLK"] #[inline(always)] - #[must_use] pub fn dout4_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 8) } #[doc = "Bits 10:11 - The output data bit 5 is delayed by module clock LCD_CLK"] #[inline(always)] - #[must_use] pub fn dout5_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 10) } #[doc = "Bits 12:13 - The output data bit 6 is delayed by module clock LCD_CLK"] #[inline(always)] - #[must_use] pub fn dout6_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 12) } #[doc = "Bits 14:15 - The output data bit 7 is delayed by module clock LCD_CLK"] #[inline(always)] - #[must_use] pub fn dout7_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 14) } #[doc = "Bits 16:17 - The output data bit 8 is delayed by module clock LCD_CLK"] #[inline(always)] - #[must_use] pub fn dout8_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 16) } #[doc = "Bits 18:19 - The output data bit 9 is delayed by module clock LCD_CLK"] #[inline(always)] - #[must_use] pub fn dout9_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 18) } #[doc = "Bits 20:21 - The output data bit 10 is delayed by module clock LCD_CLK"] #[inline(always)] - #[must_use] pub fn dout10_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 20) } #[doc = "Bits 22:23 - The output data bit 11 is delayed by module clock LCD_CLK"] #[inline(always)] - #[must_use] pub fn dout11_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 22) } #[doc = "Bits 24:25 - The output data bit 12 is delayed by module clock LCD_CLK"] #[inline(always)] - #[must_use] pub fn dout12_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 24) } #[doc = "Bits 26:27 - The output data bit 13 is delayed by module clock LCD_CLK"] #[inline(always)] - #[must_use] pub fn dout13_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 26) } #[doc = "Bits 28:29 - The output data bit 14 is delayed by module clock LCD_CLK"] #[inline(always)] - #[must_use] pub fn dout14_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 28) } #[doc = "Bits 30:31 - The output data bit 15 is delayed by module clock LCD_CLK"] #[inline(always)] - #[must_use] pub fn dout15_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 30) } diff --git a/esp32p4/src/lcd_cam/lcd_first_cmd_val.rs b/esp32p4/src/lcd_cam/lcd_first_cmd_val.rs index ae7b4eb226..2f7cab7309 100644 --- a/esp32p4/src/lcd_cam/lcd_first_cmd_val.rs +++ b/esp32p4/src/lcd_cam/lcd_first_cmd_val.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The LCD write command value of first cmd cycle."] #[inline(always)] - #[must_use] pub fn lcd_first_cmd_value(&mut self) -> LCD_FIRST_CMD_VALUE_W { LCD_FIRST_CMD_VALUE_W::new(self, 0) } diff --git a/esp32p4/src/lcd_cam/lcd_latter_cmd_val.rs b/esp32p4/src/lcd_cam/lcd_latter_cmd_val.rs index 7a65871a11..e6bd5c182d 100644 --- a/esp32p4/src/lcd_cam/lcd_latter_cmd_val.rs +++ b/esp32p4/src/lcd_cam/lcd_latter_cmd_val.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The LCD write command value of latter cmd cycle."] #[inline(always)] - #[must_use] pub fn lcd_latter_cmd_value(&mut self) -> LCD_LATTER_CMD_VALUE_W { LCD_LATTER_CMD_VALUE_W::new(self, 0) } diff --git a/esp32p4/src/lcd_cam/lcd_misc.rs b/esp32p4/src/lcd_cam/lcd_misc.rs index 9923456a2d..2cd7eab6e8 100644 --- a/esp32p4/src/lcd_cam/lcd_misc.rs +++ b/esp32p4/src/lcd_cam/lcd_misc.rs @@ -106,61 +106,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 4:5 - The wire width of LCD output. 0: 8bit. 1: 16bit 2: 24bit"] #[inline(always)] - #[must_use] pub fn lcd_wire_mode(&mut self) -> LCD_WIRE_MODE_W { LCD_WIRE_MODE_W::new(self, 4) } #[doc = "Bits 6:11 - The setup cycle length minus 1 in LCD non-RGB mode."] #[inline(always)] - #[must_use] pub fn lcd_vfk_cyclelen(&mut self) -> LCD_VFK_CYCLELEN_W { LCD_VFK_CYCLELEN_W::new(self, 6) } #[doc = "Bits 12:24 - The vertical back blank region cycle length minus 1 in LCD RGB mode, or the hold time cycle length in LCD non-RGB mode."] #[inline(always)] - #[must_use] pub fn lcd_vbk_cyclelen(&mut self) -> LCD_VBK_CYCLELEN_W { LCD_VBK_CYCLELEN_W::new(self, 12) } #[doc = "Bit 25 - 1: Send the next frame data when the current frame is sent out. 0: LCD stops when the current frame is sent out."] #[inline(always)] - #[must_use] pub fn lcd_next_frame_en(&mut self) -> LCD_NEXT_FRAME_EN_W { LCD_NEXT_FRAME_EN_W::new(self, 25) } #[doc = "Bit 26 - 1: Enable blank region when LCD sends data out. 0: No blank region."] #[inline(always)] - #[must_use] pub fn lcd_bk_en(&mut self) -> LCD_BK_EN_W { LCD_BK_EN_W::new(self, 26) } #[doc = "Bit 27 - LCD AFIFO reset signal."] #[inline(always)] - #[must_use] pub fn lcd_afifo_reset(&mut self) -> LCD_AFIFO_RESET_W { LCD_AFIFO_RESET_W::new(self, 27) } #[doc = "Bit 28 - 1: LCD_CD = !reg_cd_idle_edge when lcd_st\\[2:0\\] is in LCD_DOUT state. 0: LCD_CD = reg_cd_idle_edge."] #[inline(always)] - #[must_use] pub fn lcd_cd_data_set(&mut self) -> LCD_CD_DATA_SET_W { LCD_CD_DATA_SET_W::new(self, 28) } #[doc = "Bit 29 - 1: LCD_CD = !reg_cd_idle_edge when lcd_st\\[2:0\\] is in LCD_DUMMY state. 0: LCD_CD = reg_cd_idle_edge."] #[inline(always)] - #[must_use] pub fn lcd_cd_dummy_set(&mut self) -> LCD_CD_DUMMY_SET_W { LCD_CD_DUMMY_SET_W::new(self, 29) } #[doc = "Bit 30 - 1: LCD_CD = !reg_cd_idle_edge when lcd_st\\[2:0\\] is in LCD_CMD state. 0: LCD_CD = reg_cd_idle_edge."] #[inline(always)] - #[must_use] pub fn lcd_cd_cmd_set(&mut self) -> LCD_CD_CMD_SET_W { LCD_CD_CMD_SET_W::new(self, 30) } #[doc = "Bit 31 - The default value of LCD_CD."] #[inline(always)] - #[must_use] pub fn lcd_cd_idle_edge(&mut self) -> LCD_CD_IDLE_EDGE_W { LCD_CD_IDLE_EDGE_W::new(self, 31) } diff --git a/esp32p4/src/lcd_cam/lcd_rgb_yuv.rs b/esp32p4/src/lcd_cam/lcd_rgb_yuv.rs index f3238ff2da..9645b30383 100644 --- a/esp32p4/src/lcd_cam/lcd_rgb_yuv.rs +++ b/esp32p4/src/lcd_cam/lcd_rgb_yuv.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 20 - 1:invert every two 8bits input data. 2. disabled."] #[inline(always)] - #[must_use] pub fn lcd_conv_8bits_data_inv(&mut self) -> LCD_CONV_8BITS_DATA_INV_W { LCD_CONV_8BITS_DATA_INV_W::new(self, 20) } #[doc = "Bit 21 - 0: txtorx mode off. 1: txtorx mode on."] #[inline(always)] - #[must_use] pub fn lcd_conv_txtorx(&mut self) -> LCD_CONV_TXTORX_W { LCD_CONV_TXTORX_W::new(self, 21) } #[doc = "Bits 22:23 - 0: to yuv422. 1: to yuv420. 2: to yuv411. 3: disabled. To enable yuv2yuv mode, trans_mode must be set to 1."] #[inline(always)] - #[must_use] pub fn lcd_conv_yuv2yuv_mode(&mut self) -> LCD_CONV_YUV2YUV_MODE_W { LCD_CONV_YUV2YUV_MODE_W::new(self, 22) } #[doc = "Bits 24:25 - 0: yuv422. 1: yuv420. 2: yuv411. When in yuv2yuv mode, yuv_mode decides the yuv mode of Data_in"] #[inline(always)] - #[must_use] pub fn lcd_conv_yuv_mode(&mut self) -> LCD_CONV_YUV_MODE_W { LCD_CONV_YUV_MODE_W::new(self, 24) } #[doc = "Bit 26 - 0:BT601. 1:BT709."] #[inline(always)] - #[must_use] pub fn lcd_conv_protocol_mode(&mut self) -> LCD_CONV_PROTOCOL_MODE_W { LCD_CONV_PROTOCOL_MODE_W::new(self, 26) } #[doc = "Bit 27 - LIMIT or FULL mode of Data out. 0: limit. 1: full"] #[inline(always)] - #[must_use] pub fn lcd_conv_data_out_mode(&mut self) -> LCD_CONV_DATA_OUT_MODE_W { LCD_CONV_DATA_OUT_MODE_W::new(self, 27) } #[doc = "Bit 28 - LIMIT or FULL mode of Data in. 0: limit. 1: full"] #[inline(always)] - #[must_use] pub fn lcd_conv_data_in_mode(&mut self) -> LCD_CONV_DATA_IN_MODE_W { LCD_CONV_DATA_IN_MODE_W::new(self, 28) } #[doc = "Bit 29 - 0: 16bits mode. 1: 8bits mode."] #[inline(always)] - #[must_use] pub fn lcd_conv_mode_8bits_on(&mut self) -> LCD_CONV_MODE_8BITS_ON_W { LCD_CONV_MODE_8BITS_ON_W::new(self, 29) } #[doc = "Bit 30 - 0: YUV to RGB. 1: RGB to YUV."] #[inline(always)] - #[must_use] pub fn lcd_conv_trans_mode(&mut self) -> LCD_CONV_TRANS_MODE_W { LCD_CONV_TRANS_MODE_W::new(self, 30) } #[doc = "Bit 31 - 0: Bypass converter. 1: Enable converter."] #[inline(always)] - #[must_use] pub fn lcd_conv_enable(&mut self) -> LCD_CONV_ENABLE_W { LCD_CONV_ENABLE_W::new(self, 31) } diff --git a/esp32p4/src/lcd_cam/lcd_user.rs b/esp32p4/src/lcd_cam/lcd_user.rs index 7c8b465e95..1702ffe94b 100644 --- a/esp32p4/src/lcd_cam/lcd_user.rs +++ b/esp32p4/src/lcd_cam/lcd_user.rs @@ -172,25 +172,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:12 - The output data cycles minus 1 of LCD module."] #[inline(always)] - #[must_use] pub fn lcd_dout_cyclelen(&mut self) -> LCD_DOUT_CYCLELEN_W { LCD_DOUT_CYCLELEN_W::new(self, 0) } #[doc = "Bit 13 - LCD always output when LCD is in LCD_DOUT state, unless reg_lcd_start is cleared or reg_lcd_reset is set."] #[inline(always)] - #[must_use] pub fn lcd_always_out_en(&mut self) -> LCD_ALWAYS_OUT_EN_W { LCD_ALWAYS_OUT_EN_W::new(self, 13) } #[doc = "Bits 14:16 - 0: ABAB->BABA. 1: ABC->ACB. 2: ABC->BAC. 3: ABC->BCA. 4:ABC->CAB. 5:ABC->CBA"] #[inline(always)] - #[must_use] pub fn lcd_dout_byte_swizzle_mode(&mut self) -> LCD_DOUT_BYTE_SWIZZLE_MODE_W { LCD_DOUT_BYTE_SWIZZLE_MODE_W::new(self, 14) } #[doc = "Bit 17 - 1: enable byte swizzle 0: disable"] #[inline(always)] - #[must_use] pub fn lcd_dout_byte_swizzle_enable( &mut self, ) -> LCD_DOUT_BYTE_SWIZZLE_ENABLE_W { @@ -198,73 +194,61 @@ impl W { } #[doc = "Bit 18 - 1: change bit order in every byte. 0: Not change."] #[inline(always)] - #[must_use] pub fn lcd_dout_bit_order(&mut self) -> LCD_DOUT_BIT_ORDER_W { LCD_DOUT_BIT_ORDER_W::new(self, 18) } #[doc = "Bits 19:20 - 2: 24bit mode. 1: 16bit mode. 0: 8bit mode"] #[inline(always)] - #[must_use] pub fn lcd_byte_mode(&mut self) -> LCD_BYTE_MODE_W { LCD_BYTE_MODE_W::new(self, 19) } #[doc = "Bit 21 - 1: Update LCD registers, will be cleared by hardware. 0 : Not care."] #[inline(always)] - #[must_use] pub fn lcd_update(&mut self) -> LCD_UPDATE_W { LCD_UPDATE_W::new(self, 21) } #[doc = "Bit 22 - 1: Change data bit order, change LCD_DATA_out\\[7:0\\] to LCD_DATA_out\\[0:7\\] in one byte mode, and bits\\[15:0\\] to bits\\[0:15\\] in two byte mode. 0: Not change."] #[inline(always)] - #[must_use] pub fn lcd_bit_order(&mut self) -> LCD_BIT_ORDER_W { LCD_BIT_ORDER_W::new(self, 22) } #[doc = "Bit 23 - 1: invert data byte order, only valid in 2 byte mode. 0: Not change."] #[inline(always)] - #[must_use] pub fn lcd_byte_order(&mut self) -> LCD_BYTE_ORDER_W { LCD_BYTE_ORDER_W::new(self, 23) } #[doc = "Bit 24 - 1: Be able to send data out in LCD sequence when LCD starts. 0: Disable."] #[inline(always)] - #[must_use] pub fn lcd_dout(&mut self) -> LCD_DOUT_W { LCD_DOUT_W::new(self, 24) } #[doc = "Bit 25 - 1: Enable DUMMY phase in LCD sequence when LCD starts. 0: Disable."] #[inline(always)] - #[must_use] pub fn lcd_dummy(&mut self) -> LCD_DUMMY_W { LCD_DUMMY_W::new(self, 25) } #[doc = "Bit 26 - 1: Be able to send command in LCD sequence when LCD starts. 0: Disable."] #[inline(always)] - #[must_use] pub fn lcd_cmd(&mut self) -> LCD_CMD_W { LCD_CMD_W::new(self, 26) } #[doc = "Bit 27 - LCD start sending data enable signal, valid in high level."] #[inline(always)] - #[must_use] pub fn lcd_start(&mut self) -> LCD_START_W { LCD_START_W::new(self, 27) } #[doc = "Bit 28 - The value of command."] #[inline(always)] - #[must_use] pub fn lcd_reset(&mut self) -> LCD_RESET_W { LCD_RESET_W::new(self, 28) } #[doc = "Bits 29:30 - The dummy cycle length minus 1."] #[inline(always)] - #[must_use] pub fn lcd_dummy_cyclelen(&mut self) -> LCD_DUMMY_CYCLELEN_W { LCD_DUMMY_CYCLELEN_W::new(self, 29) } #[doc = "Bit 31 - The cycle length of command phase. 1: 2 cycles. 0: 1 cycle."] #[inline(always)] - #[must_use] pub fn lcd_cmd_2_cycle_en(&mut self) -> LCD_CMD_2_CYCLE_EN_W { LCD_CMD_2_CYCLE_EN_W::new(self, 31) } diff --git a/esp32p4/src/ledc/ch/conf0.rs b/esp32p4/src/ledc/ch/conf0.rs index ed3295f972..b813b5c6d2 100644 --- a/esp32p4/src/ledc/ch/conf0.rs +++ b/esp32p4/src/ledc/ch/conf0.rs @@ -68,43 +68,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Configures which timer is channel %s selected.\\\\0: Select timer0\\\\1: Select timer1\\\\2: Select timer2\\\\3: Select timer3"] #[inline(always)] - #[must_use] pub fn timer_sel(&mut self) -> TIMER_SEL_W { TIMER_SEL_W::new(self, 0) } #[doc = "Bit 2 - Configures whether or not to enable signal output on channel %s.\\\\0: Signal output disable\\\\1: Signal output enable"] #[inline(always)] - #[must_use] pub fn sig_out_en(&mut self) -> SIG_OUT_EN_W { SIG_OUT_EN_W::new(self, 2) } #[doc = "Bit 3 - Configures the output value when channel %s is inactive. Valid only when LEDC_SIG_OUT_EN_CH%s is 0.\\\\0: Output level is low\\\\1: Output level is high"] #[inline(always)] - #[must_use] pub fn idle_lv(&mut self) -> IDLE_LV_W { IDLE_LV_W::new(self, 3) } #[doc = "Bit 4 - Configures whether or not to update LEDC_HPOINT_CH%s, LEDC_DUTY_START_CH%s, LEDC_SIG_OUT_EN_CH%s, LEDC_TIMER_SEL_CH%s, LEDC_DUTY_NUM_CH%s, LEDC_DUTY_CYCLE_CH%s, LEDC_DUTY_SCALE_CH%s, LEDC_DUTY_INC_CH%s, and LEDC_OVF_CNT_EN_CH%s fields for channel %s, and will be automatically cleared by hardware.\\\\0: Invalid. No effect\\\\1: Update"] #[inline(always)] - #[must_use] pub fn para_up(&mut self) -> PARA_UP_W { PARA_UP_W::new(self, 4) } #[doc = "Bits 5:14 - Configures the maximum times of overflow minus 1.The LEDC_OVF_CNT_CH%s_INT interrupt will be triggered when channel %s overflows for (LEDC_OVF_NUM_CH%s + 1) times."] #[inline(always)] - #[must_use] pub fn ovf_num(&mut self) -> OVF_NUM_W { OVF_NUM_W::new(self, 5) } #[doc = "Bit 15 - Configures whether or not to enable the ovf_cnt of channel %s.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ovf_cnt_en(&mut self) -> OVF_CNT_EN_W { OVF_CNT_EN_W::new(self, 15) } #[doc = "Bit 16 - Configures whether or not to reset the ovf_cnt of channel %s.\\\\0: Invalid. No effect\\\\1: Reset the ovf_cnt"] #[inline(always)] - #[must_use] pub fn ovf_cnt_reset(&mut self) -> OVF_CNT_RESET_W { OVF_CNT_RESET_W::new(self, 16) } diff --git a/esp32p4/src/ledc/ch/conf1.rs b/esp32p4/src/ledc/ch/conf1.rs index 71fe4df7cb..aa94efc075 100644 --- a/esp32p4/src/ledc/ch/conf1.rs +++ b/esp32p4/src/ledc/ch/conf1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - Configures whether the duty cycle fading configurations take effect.\\\\0: Not take effect\\\\1: Take effect"] #[inline(always)] - #[must_use] pub fn duty_start(&mut self) -> DUTY_START_W { DUTY_START_W::new(self, 31) } diff --git a/esp32p4/src/ledc/ch/duty.rs b/esp32p4/src/ledc/ch/duty.rs index 4fa069d471..22e4d8387e 100644 --- a/esp32p4/src/ledc/ch/duty.rs +++ b/esp32p4/src/ledc/ch/duty.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:24 - Configures the duty of signal output on channel %s."] #[inline(always)] - #[must_use] pub fn duty(&mut self) -> DUTY_W { DUTY_W::new(self, 0) } diff --git a/esp32p4/src/ledc/ch/hpoint.rs b/esp32p4/src/ledc/ch/hpoint.rs index 279cdd6e8d..affc0f78f9 100644 --- a/esp32p4/src/ledc/ch/hpoint.rs +++ b/esp32p4/src/ledc/ch/hpoint.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - Configures high point of signal output on channel %s. The output value changes to high when the selected timers has reached the value specified by this register."] #[inline(always)] - #[must_use] pub fn hpoint(&mut self) -> HPOINT_W { HPOINT_W::new(self, 0) } diff --git a/esp32p4/src/ledc/ch_gamma_conf.rs b/esp32p4/src/ledc/ch_gamma_conf.rs index dd08dbbc86..06ddd29d82 100644 --- a/esp32p4/src/ledc/ch_gamma_conf.rs +++ b/esp32p4/src/ledc/ch_gamma_conf.rs @@ -28,19 +28,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Configures the number of duty cycle fading rages for LEDC ch%s."] #[inline(always)] - #[must_use] pub fn ch_gamma_entry_num(&mut self) -> CH_GAMMA_ENTRY_NUM_W { CH_GAMMA_ENTRY_NUM_W::new(self, 0) } #[doc = "Bit 5 - Configures whether or not to pause duty cycle fading of LEDC ch%s.\\\\0: Invalid. No effect\\\\1: Pause"] #[inline(always)] - #[must_use] pub fn ch_gamma_pause(&mut self) -> CH_GAMMA_PAUSE_W { CH_GAMMA_PAUSE_W::new(self, 5) } #[doc = "Bit 6 - Configures whether or nor to resume duty cycle fading of LEDC ch%s.\\\\0: Invalid. No effect\\\\1: Resume"] #[inline(always)] - #[must_use] pub fn ch_gamma_resume(&mut self) -> CH_GAMMA_RESUME_W { CH_GAMMA_RESUME_W::new(self, 6) } diff --git a/esp32p4/src/ledc/conf.rs b/esp32p4/src/ledc/conf.rs index eae4e013e6..f04dfdf49c 100644 --- a/esp32p4/src/ledc/conf.rs +++ b/esp32p4/src/ledc/conf.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Configures the clock source for the four timers.\\\\0: APB_CLK\\\\1: RC_FAST_CLK\\\\2: XTAL_CLK\\\\3: Invalid. No clock"] #[inline(always)] - #[must_use] pub fn apb_clk_sel(&mut self) -> APB_CLK_SEL_W { APB_CLK_SEL_W::new(self, 0) } #[doc = "Bit 2 - Configures whether or not to open LEDC ch0 gamma ram clock gate.\\\\0: Open the clock gate only when application writes or reads LEDC ch0 gamma ram\\\\1: Force open the clock gate for LEDC ch0 gamma ram"] #[inline(always)] - #[must_use] pub fn gamma_ram_clk_en_ch0(&mut self) -> GAMMA_RAM_CLK_EN_CH0_W { GAMMA_RAM_CLK_EN_CH0_W::new(self, 2) } #[doc = "Bit 3 - Configures whether or not to open LEDC ch1 gamma ram clock gate.\\\\0: Open the clock gate only when application writes or reads LEDC ch1 gamma ram\\\\1: Force open the clock gate for LEDC ch1 gamma ram"] #[inline(always)] - #[must_use] pub fn gamma_ram_clk_en_ch1(&mut self) -> GAMMA_RAM_CLK_EN_CH1_W { GAMMA_RAM_CLK_EN_CH1_W::new(self, 3) } #[doc = "Bit 4 - Configures whether or not to open LEDC ch2 gamma ram clock gate.\\\\0: Open the clock gate only when application writes or reads LEDC ch2 gamma ram\\\\1: Force open the clock gate for LEDC ch2 gamma ram"] #[inline(always)] - #[must_use] pub fn gamma_ram_clk_en_ch2(&mut self) -> GAMMA_RAM_CLK_EN_CH2_W { GAMMA_RAM_CLK_EN_CH2_W::new(self, 4) } #[doc = "Bit 5 - Configures whether or not to open LEDC ch3 gamma ram clock gate.\\\\0: Open the clock gate only when application writes or reads LEDC ch3 gamma ram\\\\1: Force open the clock gate for LEDC ch3 gamma ram"] #[inline(always)] - #[must_use] pub fn gamma_ram_clk_en_ch3(&mut self) -> GAMMA_RAM_CLK_EN_CH3_W { GAMMA_RAM_CLK_EN_CH3_W::new(self, 5) } #[doc = "Bit 6 - Configures whether or not to open LEDC ch4 gamma ram clock gate.\\\\0: Open the clock gate only when application writes or reads LEDC ch4 gamma ram\\\\1: Force open the clock gate for LEDC ch4 gamma ram"] #[inline(always)] - #[must_use] pub fn gamma_ram_clk_en_ch4(&mut self) -> GAMMA_RAM_CLK_EN_CH4_W { GAMMA_RAM_CLK_EN_CH4_W::new(self, 6) } #[doc = "Bit 7 - Configures whether or not to open LEDC ch5 gamma ram clock gate.\\\\0: Open the clock gate only when application writes or reads LEDC ch5 gamma ram\\\\1: Force open the clock gate for LEDC ch5 gamma ram"] #[inline(always)] - #[must_use] pub fn gamma_ram_clk_en_ch5(&mut self) -> GAMMA_RAM_CLK_EN_CH5_W { GAMMA_RAM_CLK_EN_CH5_W::new(self, 7) } #[doc = "Bit 8 - Configures whether or not to open LEDC ch6 gamma ram clock gate.\\\\0: Open the clock gate only when application writes or reads LEDC ch6 gamma ram\\\\1: Force open the clock gate for LEDC ch6 gamma ram"] #[inline(always)] - #[must_use] pub fn gamma_ram_clk_en_ch6(&mut self) -> GAMMA_RAM_CLK_EN_CH6_W { GAMMA_RAM_CLK_EN_CH6_W::new(self, 8) } #[doc = "Bit 9 - Configures whether or not to open LEDC ch7 gamma ram clock gate.\\\\0: Open the clock gate only when application writes or reads LEDC ch7 gamma ram\\\\1: Force open the clock gate for LEDC ch7 gamma ram"] #[inline(always)] - #[must_use] pub fn gamma_ram_clk_en_ch7(&mut self) -> GAMMA_RAM_CLK_EN_CH7_W { GAMMA_RAM_CLK_EN_CH7_W::new(self, 9) } #[doc = "Bit 31 - Configures whether or not to open register clock gate.\\\\0: Open the clock gate only when application writes registers\\\\1: Force open the clock gate for register"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32p4/src/ledc/date.rs b/esp32p4/src/ledc/date.rs index 02e3ff27f2..ba035f3617 100644 --- a/esp32p4/src/ledc/date.rs +++ b/esp32p4/src/ledc/date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Configures the version."] #[inline(always)] - #[must_use] pub fn ledc_date(&mut self) -> LEDC_DATE_W { LEDC_DATE_W::new(self, 0) } diff --git a/esp32p4/src/ledc/evt_task_en0.rs b/esp32p4/src/ledc/evt_task_en0.rs index c1439180dc..39e8ef1f51 100644 --- a/esp32p4/src/ledc/evt_task_en0.rs +++ b/esp32p4/src/ledc/evt_task_en0.rs @@ -358,151 +358,126 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configures whether or not to enable the ledc_ch0_duty_chng_end event.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn evt_duty_chng_end_ch0_en(&mut self) -> EVT_DUTY_CHNG_END_CH0_EN_W { EVT_DUTY_CHNG_END_CH0_EN_W::new(self, 0) } #[doc = "Bit 1 - Configures whether or not to enable the ledc_ch1_duty_chng_end event.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn evt_duty_chng_end_ch1_en(&mut self) -> EVT_DUTY_CHNG_END_CH1_EN_W { EVT_DUTY_CHNG_END_CH1_EN_W::new(self, 1) } #[doc = "Bit 2 - Configures whether or not to enable the ledc_ch2_duty_chng_end event.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn evt_duty_chng_end_ch2_en(&mut self) -> EVT_DUTY_CHNG_END_CH2_EN_W { EVT_DUTY_CHNG_END_CH2_EN_W::new(self, 2) } #[doc = "Bit 3 - Configures whether or not to enable the ledc_ch3_duty_chng_end event.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn evt_duty_chng_end_ch3_en(&mut self) -> EVT_DUTY_CHNG_END_CH3_EN_W { EVT_DUTY_CHNG_END_CH3_EN_W::new(self, 3) } #[doc = "Bit 4 - Configures whether or not to enable the ledc_ch4_duty_chng_end event.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn evt_duty_chng_end_ch4_en(&mut self) -> EVT_DUTY_CHNG_END_CH4_EN_W { EVT_DUTY_CHNG_END_CH4_EN_W::new(self, 4) } #[doc = "Bit 5 - Configures whether or not to enable the ledc_ch5_duty_chng_end event.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn evt_duty_chng_end_ch5_en(&mut self) -> EVT_DUTY_CHNG_END_CH5_EN_W { EVT_DUTY_CHNG_END_CH5_EN_W::new(self, 5) } #[doc = "Bit 6 - Configures whether or not to enable the ledc_ch6_duty_chng_end event.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn evt_duty_chng_end_ch6_en(&mut self) -> EVT_DUTY_CHNG_END_CH6_EN_W { EVT_DUTY_CHNG_END_CH6_EN_W::new(self, 6) } #[doc = "Bit 7 - Configures whether or not to enable the ledc_ch7_duty_chng_end event.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn evt_duty_chng_end_ch7_en(&mut self) -> EVT_DUTY_CHNG_END_CH7_EN_W { EVT_DUTY_CHNG_END_CH7_EN_W::new(self, 7) } #[doc = "Bit 8 - Configures whether or not to enable the ledc_ch0_ovf_cnt_pls event.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn evt_ovf_cnt_pls_ch0_en(&mut self) -> EVT_OVF_CNT_PLS_CH0_EN_W { EVT_OVF_CNT_PLS_CH0_EN_W::new(self, 8) } #[doc = "Bit 9 - Configures whether or not to enable the ledc_ch1_ovf_cnt_pls event.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn evt_ovf_cnt_pls_ch1_en(&mut self) -> EVT_OVF_CNT_PLS_CH1_EN_W { EVT_OVF_CNT_PLS_CH1_EN_W::new(self, 9) } #[doc = "Bit 10 - Configures whether or not to enable the ledc_ch2_ovf_cnt_pls event.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn evt_ovf_cnt_pls_ch2_en(&mut self) -> EVT_OVF_CNT_PLS_CH2_EN_W { EVT_OVF_CNT_PLS_CH2_EN_W::new(self, 10) } #[doc = "Bit 11 - Configures whether or not to enable the ledc_ch3_ovf_cnt_pls event.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn evt_ovf_cnt_pls_ch3_en(&mut self) -> EVT_OVF_CNT_PLS_CH3_EN_W { EVT_OVF_CNT_PLS_CH3_EN_W::new(self, 11) } #[doc = "Bit 12 - Configures whether or not to enable the ledc_ch4_ovf_cnt_pls event.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn evt_ovf_cnt_pls_ch4_en(&mut self) -> EVT_OVF_CNT_PLS_CH4_EN_W { EVT_OVF_CNT_PLS_CH4_EN_W::new(self, 12) } #[doc = "Bit 13 - Configures whether or not to enable the ledc_ch5_ovf_cnt_pls event.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn evt_ovf_cnt_pls_ch5_en(&mut self) -> EVT_OVF_CNT_PLS_CH5_EN_W { EVT_OVF_CNT_PLS_CH5_EN_W::new(self, 13) } #[doc = "Bit 14 - Configures whether or not to enable the ledc_ch6_ovf_cnt_pls event.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn evt_ovf_cnt_pls_ch6_en(&mut self) -> EVT_OVF_CNT_PLS_CH6_EN_W { EVT_OVF_CNT_PLS_CH6_EN_W::new(self, 14) } #[doc = "Bit 15 - Configures whether or not to enable the ledc_ch7_ovf_cnt_pls event.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn evt_ovf_cnt_pls_ch7_en(&mut self) -> EVT_OVF_CNT_PLS_CH7_EN_W { EVT_OVF_CNT_PLS_CH7_EN_W::new(self, 15) } #[doc = "Bit 16 - Configures whether or not to enable the ledc_timer0_ovf event.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn evt_time_ovf_timer0_en(&mut self) -> EVT_TIME_OVF_TIMER0_EN_W { EVT_TIME_OVF_TIMER0_EN_W::new(self, 16) } #[doc = "Bit 17 - Configures whether or not to enable the ledc_timer1_ovf event.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn evt_time_ovf_timer1_en(&mut self) -> EVT_TIME_OVF_TIMER1_EN_W { EVT_TIME_OVF_TIMER1_EN_W::new(self, 17) } #[doc = "Bit 18 - Configures whether or not to enable the ledc_timer2_ovf event.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn evt_time_ovf_timer2_en(&mut self) -> EVT_TIME_OVF_TIMER2_EN_W { EVT_TIME_OVF_TIMER2_EN_W::new(self, 18) } #[doc = "Bit 19 - Configures whether or not to enable the ledc_timer3_ovf event.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn evt_time_ovf_timer3_en(&mut self) -> EVT_TIME_OVF_TIMER3_EN_W { EVT_TIME_OVF_TIMER3_EN_W::new(self, 19) } #[doc = "Bit 20 - Configures whether or not to enable the ledc_timer0_cmp event.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn evt_time0_cmp_en(&mut self) -> EVT_TIME0_CMP_EN_W { EVT_TIME0_CMP_EN_W::new(self, 20) } #[doc = "Bit 21 - Configures whether or not to enable the ledc_timer1_cmp event.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn evt_time1_cmp_en(&mut self) -> EVT_TIME1_CMP_EN_W { EVT_TIME1_CMP_EN_W::new(self, 21) } #[doc = "Bit 22 - Configures whether or not to enable the ledc_timer2_cmp event.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn evt_time2_cmp_en(&mut self) -> EVT_TIME2_CMP_EN_W { EVT_TIME2_CMP_EN_W::new(self, 22) } #[doc = "Bit 23 - Configures whether or not to enable the ledc_timer3_cmp event.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn evt_time3_cmp_en(&mut self) -> EVT_TIME3_CMP_EN_W { EVT_TIME3_CMP_EN_W::new(self, 23) } #[doc = "Bit 24 - Configures whether or not to enable the ledc_ch0_duty_scale_update task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_duty_scale_update_ch0_en( &mut self, ) -> TASK_DUTY_SCALE_UPDATE_CH0_EN_W { @@ -510,7 +485,6 @@ impl W { } #[doc = "Bit 25 - Configures whether or not to enable the ledc_ch1_duty_scale_update task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_duty_scale_update_ch1_en( &mut self, ) -> TASK_DUTY_SCALE_UPDATE_CH1_EN_W { @@ -518,7 +492,6 @@ impl W { } #[doc = "Bit 26 - Configures whether or not to enable the ledc_ch2_duty_scale_update task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_duty_scale_update_ch2_en( &mut self, ) -> TASK_DUTY_SCALE_UPDATE_CH2_EN_W { @@ -526,7 +499,6 @@ impl W { } #[doc = "Bit 27 - Configures whether or not to enable the ledc_ch3_duty_scale_update task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_duty_scale_update_ch3_en( &mut self, ) -> TASK_DUTY_SCALE_UPDATE_CH3_EN_W { @@ -534,7 +506,6 @@ impl W { } #[doc = "Bit 28 - Configures whether or not to enable the ledc_ch4_duty_scale_update task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_duty_scale_update_ch4_en( &mut self, ) -> TASK_DUTY_SCALE_UPDATE_CH4_EN_W { @@ -542,7 +513,6 @@ impl W { } #[doc = "Bit 29 - Configures whether or not to enable the ledc_ch5_duty_scale_update task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_duty_scale_update_ch5_en( &mut self, ) -> TASK_DUTY_SCALE_UPDATE_CH5_EN_W { @@ -550,7 +520,6 @@ impl W { } #[doc = "Bit 30 - Configures whether or not to enable the ledc_ch6_duty_scale_update task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_duty_scale_update_ch6_en( &mut self, ) -> TASK_DUTY_SCALE_UPDATE_CH6_EN_W { @@ -558,7 +527,6 @@ impl W { } #[doc = "Bit 31 - Configures whether or not to enable the ledc_ch7_duty_scale_update task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_duty_scale_update_ch7_en( &mut self, ) -> TASK_DUTY_SCALE_UPDATE_CH7_EN_W { diff --git a/esp32p4/src/ledc/evt_task_en1.rs b/esp32p4/src/ledc/evt_task_en1.rs index e056670610..8dba4b1601 100644 --- a/esp32p4/src/ledc/evt_task_en1.rs +++ b/esp32p4/src/ledc/evt_task_en1.rs @@ -358,175 +358,146 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configures whether or not to enable ledc_timer0_res_update task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_timer0_res_update_en(&mut self) -> TASK_TIMER0_RES_UPDATE_EN_W { TASK_TIMER0_RES_UPDATE_EN_W::new(self, 0) } #[doc = "Bit 1 - Configures whether or not to enable ledc_timer1_res_update task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_timer1_res_update_en(&mut self) -> TASK_TIMER1_RES_UPDATE_EN_W { TASK_TIMER1_RES_UPDATE_EN_W::new(self, 1) } #[doc = "Bit 2 - Configures whether or not to enable ledc_timer2_res_update task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_timer2_res_update_en(&mut self) -> TASK_TIMER2_RES_UPDATE_EN_W { TASK_TIMER2_RES_UPDATE_EN_W::new(self, 2) } #[doc = "Bit 3 - Configures whether or not to enable ledc_timer3_res_update task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_timer3_res_update_en(&mut self) -> TASK_TIMER3_RES_UPDATE_EN_W { TASK_TIMER3_RES_UPDATE_EN_W::new(self, 3) } #[doc = "Bit 4 - Configures whether or not to enable ledc_timer0_cap task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_timer0_cap_en(&mut self) -> TASK_TIMER0_CAP_EN_W { TASK_TIMER0_CAP_EN_W::new(self, 4) } #[doc = "Bit 5 - Configures whether or not to enable ledc_timer1_cap task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_timer1_cap_en(&mut self) -> TASK_TIMER1_CAP_EN_W { TASK_TIMER1_CAP_EN_W::new(self, 5) } #[doc = "Bit 6 - Configures whether or not to enable ledc_timer2_cap task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_timer2_cap_en(&mut self) -> TASK_TIMER2_CAP_EN_W { TASK_TIMER2_CAP_EN_W::new(self, 6) } #[doc = "Bit 7 - Configures whether or not to enable ledc_timer3_cap task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_timer3_cap_en(&mut self) -> TASK_TIMER3_CAP_EN_W { TASK_TIMER3_CAP_EN_W::new(self, 7) } #[doc = "Bit 8 - Configures whether or not to enable ledc_ch0_sig_out_dis task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_sig_out_dis_ch0_en(&mut self) -> TASK_SIG_OUT_DIS_CH0_EN_W { TASK_SIG_OUT_DIS_CH0_EN_W::new(self, 8) } #[doc = "Bit 9 - Configures whether or not to enable ledc_ch1_sig_out_dis task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_sig_out_dis_ch1_en(&mut self) -> TASK_SIG_OUT_DIS_CH1_EN_W { TASK_SIG_OUT_DIS_CH1_EN_W::new(self, 9) } #[doc = "Bit 10 - Configures whether or not to enable ledc_ch2_sig_out_dis task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_sig_out_dis_ch2_en(&mut self) -> TASK_SIG_OUT_DIS_CH2_EN_W { TASK_SIG_OUT_DIS_CH2_EN_W::new(self, 10) } #[doc = "Bit 11 - Configures whether or not to enable ledc_ch3_sig_out_dis task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_sig_out_dis_ch3_en(&mut self) -> TASK_SIG_OUT_DIS_CH3_EN_W { TASK_SIG_OUT_DIS_CH3_EN_W::new(self, 11) } #[doc = "Bit 12 - Configures whether or not to enable ledc_ch4_sig_out_dis task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_sig_out_dis_ch4_en(&mut self) -> TASK_SIG_OUT_DIS_CH4_EN_W { TASK_SIG_OUT_DIS_CH4_EN_W::new(self, 12) } #[doc = "Bit 13 - Configures whether or not to enable ledc_ch5_sig_out_dis task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_sig_out_dis_ch5_en(&mut self) -> TASK_SIG_OUT_DIS_CH5_EN_W { TASK_SIG_OUT_DIS_CH5_EN_W::new(self, 13) } #[doc = "Bit 14 - Configures whether or not to enable ledc_ch6_sig_out_dis task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_sig_out_dis_ch6_en(&mut self) -> TASK_SIG_OUT_DIS_CH6_EN_W { TASK_SIG_OUT_DIS_CH6_EN_W::new(self, 14) } #[doc = "Bit 15 - Configures whether or not to enable ledc_ch7_sig_out_dis task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_sig_out_dis_ch7_en(&mut self) -> TASK_SIG_OUT_DIS_CH7_EN_W { TASK_SIG_OUT_DIS_CH7_EN_W::new(self, 15) } #[doc = "Bit 16 - Configures whether or not to enable ledc_ch0_ovf_cnt_rst task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_ovf_cnt_rst_ch0_en(&mut self) -> TASK_OVF_CNT_RST_CH0_EN_W { TASK_OVF_CNT_RST_CH0_EN_W::new(self, 16) } #[doc = "Bit 17 - Configures whether or not to enable ledc_ch1_ovf_cnt_rst task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_ovf_cnt_rst_ch1_en(&mut self) -> TASK_OVF_CNT_RST_CH1_EN_W { TASK_OVF_CNT_RST_CH1_EN_W::new(self, 17) } #[doc = "Bit 18 - Configures whether or not to enable ledc_ch2_ovf_cnt_rst task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_ovf_cnt_rst_ch2_en(&mut self) -> TASK_OVF_CNT_RST_CH2_EN_W { TASK_OVF_CNT_RST_CH2_EN_W::new(self, 18) } #[doc = "Bit 19 - Configures whether or not to enable ledc_ch3_ovf_cnt_rst task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_ovf_cnt_rst_ch3_en(&mut self) -> TASK_OVF_CNT_RST_CH3_EN_W { TASK_OVF_CNT_RST_CH3_EN_W::new(self, 19) } #[doc = "Bit 20 - Configures whether or not to enable ledc_ch4_ovf_cnt_rst task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_ovf_cnt_rst_ch4_en(&mut self) -> TASK_OVF_CNT_RST_CH4_EN_W { TASK_OVF_CNT_RST_CH4_EN_W::new(self, 20) } #[doc = "Bit 21 - Configures whether or not to enable ledc_ch5_ovf_cnt_rst task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_ovf_cnt_rst_ch5_en(&mut self) -> TASK_OVF_CNT_RST_CH5_EN_W { TASK_OVF_CNT_RST_CH5_EN_W::new(self, 21) } #[doc = "Bit 22 - Configures whether or not to enable ledc_ch6_ovf_cnt_rst task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_ovf_cnt_rst_ch6_en(&mut self) -> TASK_OVF_CNT_RST_CH6_EN_W { TASK_OVF_CNT_RST_CH6_EN_W::new(self, 22) } #[doc = "Bit 23 - Configures whether or not to enable ledc_ch7_ovf_cnt_rst task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_ovf_cnt_rst_ch7_en(&mut self) -> TASK_OVF_CNT_RST_CH7_EN_W { TASK_OVF_CNT_RST_CH7_EN_W::new(self, 23) } #[doc = "Bit 24 - Configures whether or not to enable ledc_timer0_rst task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_timer0_rst_en(&mut self) -> TASK_TIMER0_RST_EN_W { TASK_TIMER0_RST_EN_W::new(self, 24) } #[doc = "Bit 25 - Configures whether or not to enable ledc_timer1_rst task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_timer1_rst_en(&mut self) -> TASK_TIMER1_RST_EN_W { TASK_TIMER1_RST_EN_W::new(self, 25) } #[doc = "Bit 26 - Configures whether or not to enable ledc_timer2_rst task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_timer2_rst_en(&mut self) -> TASK_TIMER2_RST_EN_W { TASK_TIMER2_RST_EN_W::new(self, 26) } #[doc = "Bit 27 - Configures whether or not to enable ledc_timer3_rst task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_timer3_rst_en(&mut self) -> TASK_TIMER3_RST_EN_W { TASK_TIMER3_RST_EN_W::new(self, 27) } #[doc = "Bit 28 - Configures whether or not to enable ledc_timer0_pause_resume task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_timer0_pause_resume_en( &mut self, ) -> TASK_TIMER0_PAUSE_RESUME_EN_W { @@ -534,7 +505,6 @@ impl W { } #[doc = "Bit 29 - Configures whether or not to enable ledc_timer1_pause_resume task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_timer1_pause_resume_en( &mut self, ) -> TASK_TIMER1_PAUSE_RESUME_EN_W { @@ -542,7 +512,6 @@ impl W { } #[doc = "Bit 30 - Configures whether or not to enable ledc_timer2_pause_resume task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_timer2_pause_resume_en( &mut self, ) -> TASK_TIMER2_PAUSE_RESUME_EN_W { @@ -550,7 +519,6 @@ impl W { } #[doc = "Bit 31 - Configures whether or not to enable ledc_timer3_pause_resume task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_timer3_pause_resume_en( &mut self, ) -> TASK_TIMER3_PAUSE_RESUME_EN_W { diff --git a/esp32p4/src/ledc/evt_task_en2.rs b/esp32p4/src/ledc/evt_task_en2.rs index f0a188c234..01d8eef196 100644 --- a/esp32p4/src/ledc/evt_task_en2.rs +++ b/esp32p4/src/ledc/evt_task_en2.rs @@ -278,145 +278,121 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configures whether or not to enable ledc_ch0_gamma_restart task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_gamma_restart_ch0_en(&mut self) -> TASK_GAMMA_RESTART_CH0_EN_W { TASK_GAMMA_RESTART_CH0_EN_W::new(self, 0) } #[doc = "Bit 1 - Configures whether or not to enable ledc_ch1_gamma_restart task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_gamma_restart_ch1_en(&mut self) -> TASK_GAMMA_RESTART_CH1_EN_W { TASK_GAMMA_RESTART_CH1_EN_W::new(self, 1) } #[doc = "Bit 2 - Configures whether or not to enable ledc_ch2_gamma_restart task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_gamma_restart_ch2_en(&mut self) -> TASK_GAMMA_RESTART_CH2_EN_W { TASK_GAMMA_RESTART_CH2_EN_W::new(self, 2) } #[doc = "Bit 3 - Configures whether or not to enable ledc_ch3_gamma_restart task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_gamma_restart_ch3_en(&mut self) -> TASK_GAMMA_RESTART_CH3_EN_W { TASK_GAMMA_RESTART_CH3_EN_W::new(self, 3) } #[doc = "Bit 4 - Configures whether or not to enable ledc_ch4_gamma_restart task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_gamma_restart_ch4_en(&mut self) -> TASK_GAMMA_RESTART_CH4_EN_W { TASK_GAMMA_RESTART_CH4_EN_W::new(self, 4) } #[doc = "Bit 5 - Configures whether or not to enable ledc_ch5_gamma_restart task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_gamma_restart_ch5_en(&mut self) -> TASK_GAMMA_RESTART_CH5_EN_W { TASK_GAMMA_RESTART_CH5_EN_W::new(self, 5) } #[doc = "Bit 6 - Configures whether or not to enable ledc_ch6_gamma_restart task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_gamma_restart_ch6_en(&mut self) -> TASK_GAMMA_RESTART_CH6_EN_W { TASK_GAMMA_RESTART_CH6_EN_W::new(self, 6) } #[doc = "Bit 7 - Configures whether or not to enable ledc_ch7_gamma_restart task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_gamma_restart_ch7_en(&mut self) -> TASK_GAMMA_RESTART_CH7_EN_W { TASK_GAMMA_RESTART_CH7_EN_W::new(self, 7) } #[doc = "Bit 8 - Configures whether or not to enable ledc_ch0_gamma_pause task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_gamma_pause_ch0_en(&mut self) -> TASK_GAMMA_PAUSE_CH0_EN_W { TASK_GAMMA_PAUSE_CH0_EN_W::new(self, 8) } #[doc = "Bit 9 - Configures whether or not to enable ledc_ch1_gamma_pause task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_gamma_pause_ch1_en(&mut self) -> TASK_GAMMA_PAUSE_CH1_EN_W { TASK_GAMMA_PAUSE_CH1_EN_W::new(self, 9) } #[doc = "Bit 10 - Configures whether or not to enable ledc_ch2_gamma_pause task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_gamma_pause_ch2_en(&mut self) -> TASK_GAMMA_PAUSE_CH2_EN_W { TASK_GAMMA_PAUSE_CH2_EN_W::new(self, 10) } #[doc = "Bit 11 - Configures whether or not to enable ledc_ch3_gamma_pause task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_gamma_pause_ch3_en(&mut self) -> TASK_GAMMA_PAUSE_CH3_EN_W { TASK_GAMMA_PAUSE_CH3_EN_W::new(self, 11) } #[doc = "Bit 12 - Configures whether or not to enable ledc_ch4_gamma_pause task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_gamma_pause_ch4_en(&mut self) -> TASK_GAMMA_PAUSE_CH4_EN_W { TASK_GAMMA_PAUSE_CH4_EN_W::new(self, 12) } #[doc = "Bit 13 - Configures whether or not to enable ledc_ch5_gamma_pause task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_gamma_pause_ch5_en(&mut self) -> TASK_GAMMA_PAUSE_CH5_EN_W { TASK_GAMMA_PAUSE_CH5_EN_W::new(self, 13) } #[doc = "Bit 14 - Configures whether or not to enable ledc_ch6_gamma_pause task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_gamma_pause_ch6_en(&mut self) -> TASK_GAMMA_PAUSE_CH6_EN_W { TASK_GAMMA_PAUSE_CH6_EN_W::new(self, 14) } #[doc = "Bit 15 - Configures whether or not to enable ledc_ch7_gamma_pause task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_gamma_pause_ch7_en(&mut self) -> TASK_GAMMA_PAUSE_CH7_EN_W { TASK_GAMMA_PAUSE_CH7_EN_W::new(self, 15) } #[doc = "Bit 16 - Configures whether or not to enable ledc_ch0_gamma_resume task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_gamma_resume_ch0_en(&mut self) -> TASK_GAMMA_RESUME_CH0_EN_W { TASK_GAMMA_RESUME_CH0_EN_W::new(self, 16) } #[doc = "Bit 17 - Configures whether or not to enable ledc_ch1_gamma_resume task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_gamma_resume_ch1_en(&mut self) -> TASK_GAMMA_RESUME_CH1_EN_W { TASK_GAMMA_RESUME_CH1_EN_W::new(self, 17) } #[doc = "Bit 18 - Configures whether or not to enable ledc_ch2_gamma_resume task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_gamma_resume_ch2_en(&mut self) -> TASK_GAMMA_RESUME_CH2_EN_W { TASK_GAMMA_RESUME_CH2_EN_W::new(self, 18) } #[doc = "Bit 19 - Configures whether or not to enable ledc_ch3_gamma_resume task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_gamma_resume_ch3_en(&mut self) -> TASK_GAMMA_RESUME_CH3_EN_W { TASK_GAMMA_RESUME_CH3_EN_W::new(self, 19) } #[doc = "Bit 20 - Configures whether or not to enable ledc_ch4_gamma_resume task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_gamma_resume_ch4_en(&mut self) -> TASK_GAMMA_RESUME_CH4_EN_W { TASK_GAMMA_RESUME_CH4_EN_W::new(self, 20) } #[doc = "Bit 21 - Configures whether or not to enable ledc_ch5_gamma_resume task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_gamma_resume_ch5_en(&mut self) -> TASK_GAMMA_RESUME_CH5_EN_W { TASK_GAMMA_RESUME_CH5_EN_W::new(self, 21) } #[doc = "Bit 22 - Configures whether or not to enable ledc_ch6_gamma_resume task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_gamma_resume_ch6_en(&mut self) -> TASK_GAMMA_RESUME_CH6_EN_W { TASK_GAMMA_RESUME_CH6_EN_W::new(self, 22) } #[doc = "Bit 23 - Configures whether or not to enable ledc_ch7_gamma_resume task.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn task_gamma_resume_ch7_en(&mut self) -> TASK_GAMMA_RESUME_CH7_EN_W { TASK_GAMMA_RESUME_CH7_EN_W::new(self, 23) } diff --git a/esp32p4/src/ledc/int_clr.rs b/esp32p4/src/ledc/int_clr.rs index e4b8f4c906..942649986b 100644 --- a/esp32p4/src/ledc/int_clr.rs +++ b/esp32p4/src/ledc/int_clr.rs @@ -17,7 +17,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TIMER0_OVF` field.
"] #[inline(always)] - #[must_use] pub fn timer_ovf(&mut self, n: u8) -> TIMER_OVF_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -25,25 +24,21 @@ impl W { } #[doc = "Bit 0 - Set this bit to clear the TIMER0_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer0_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the TIMER1_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer1_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the TIMER2_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer2_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the TIMER3_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer3_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 3) } @@ -51,7 +46,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `DUTY_CHNG_END_CH0` field.
"] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch(&mut self, n: u8) -> DUTY_CHNG_END_CH_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -59,49 +53,41 @@ impl W { } #[doc = "Bit 4 - Set this bit to clear the DUTY_CHNG_END_CH0 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch0(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the DUTY_CHNG_END_CH1 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch1(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the DUTY_CHNG_END_CH2 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch2(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the DUTY_CHNG_END_CH3 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch3(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the DUTY_CHNG_END_CH4 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch4(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear the DUTY_CHNG_END_CH5 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch5(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to clear the DUTY_CHNG_END_CH6 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch6(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear the DUTY_CHNG_END_CH7 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch7(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 11) } @@ -109,7 +95,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `OVF_CNT_CH0` field.
"] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch(&mut self, n: u8) -> OVF_CNT_CH_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -117,49 +102,41 @@ impl W { } #[doc = "Bit 12 - Set this bit to clear the OVF_CNT_CH0 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch0(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to clear the OVF_CNT_CH1 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch1(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to clear the OVF_CNT_CH2 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch2(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to clear the OVF_CNT_CH3 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch3(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to clear the OVF_CNT_CH4 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch4(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to clear the OVF_CNT_CH5 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch5(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to clear the OVF_CNT_CH6 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch6(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to clear the OVF_CNT_CH7 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch7(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 19) } @@ -173,7 +150,7 @@ impl crate::RegisterSpec for INT_CLR_SPEC { impl crate::Writable for INT_CLR_SPEC { type Safety = crate::Unsafe; const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0x1011; + const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0x000f_ffff; } #[doc = "`reset()` method sets INT_CLR to value 0"] impl crate::Resettable for INT_CLR_SPEC { diff --git a/esp32p4/src/ledc/int_ena.rs b/esp32p4/src/ledc/int_ena.rs index ccf27c6530..d308347ab9 100644 --- a/esp32p4/src/ledc/int_ena.rs +++ b/esp32p4/src/ledc/int_ena.rs @@ -193,7 +193,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TIMER0_OVF` field.
"] #[inline(always)] - #[must_use] pub fn timer_ovf(&mut self, n: u8) -> TIMER_OVF_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -201,25 +200,21 @@ impl W { } #[doc = "Bit 0 - The interrupt enable bit for the TIMER0_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer0_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the TIMER1_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer1_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the TIMER2_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer2_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the TIMER3_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer3_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 3) } @@ -227,7 +222,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `DUTY_CHNG_END_CH0` field.
"] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch(&mut self, n: u8) -> DUTY_CHNG_END_CH_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -235,49 +229,41 @@ impl W { } #[doc = "Bit 4 - The interrupt enable bit for the DUTY_CHNG_END_CH0 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch0(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 4) } #[doc = "Bit 5 - The interrupt enable bit for the DUTY_CHNG_END_CH1 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch1(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 5) } #[doc = "Bit 6 - The interrupt enable bit for the DUTY_CHNG_END_CH2 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch2(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 6) } #[doc = "Bit 7 - The interrupt enable bit for the DUTY_CHNG_END_CH3 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch3(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 7) } #[doc = "Bit 8 - The interrupt enable bit for the DUTY_CHNG_END_CH4 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch4(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 8) } #[doc = "Bit 9 - The interrupt enable bit for the DUTY_CHNG_END_CH5 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch5(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 9) } #[doc = "Bit 10 - The interrupt enable bit for the DUTY_CHNG_END_CH6 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch6(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 10) } #[doc = "Bit 11 - The interrupt enable bit for the DUTY_CHNG_END_CH7 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch7(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 11) } @@ -285,7 +271,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `OVF_CNT_CH0` field.
"] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch(&mut self, n: u8) -> OVF_CNT_CH_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -293,49 +278,41 @@ impl W { } #[doc = "Bit 12 - The interrupt enable bit for the OVF_CNT_CH0 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch0(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 12) } #[doc = "Bit 13 - The interrupt enable bit for the OVF_CNT_CH1 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch1(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 13) } #[doc = "Bit 14 - The interrupt enable bit for the OVF_CNT_CH2 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch2(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 14) } #[doc = "Bit 15 - The interrupt enable bit for the OVF_CNT_CH3 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch3(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 15) } #[doc = "Bit 16 - The interrupt enable bit for the OVF_CNT_CH4 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch4(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 16) } #[doc = "Bit 17 - The interrupt enable bit for the OVF_CNT_CH5 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch5(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 17) } #[doc = "Bit 18 - The interrupt enable bit for the OVF_CNT_CH6 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch6(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 18) } #[doc = "Bit 19 - The interrupt enable bit for the OVF_CNT_CH7 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch7(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 19) } diff --git a/esp32p4/src/ledc/int_raw.rs b/esp32p4/src/ledc/int_raw.rs index 20e5ab5461..5822d6002e 100644 --- a/esp32p4/src/ledc/int_raw.rs +++ b/esp32p4/src/ledc/int_raw.rs @@ -193,7 +193,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TIMER0_OVF` field.
"] #[inline(always)] - #[must_use] pub fn timer_ovf(&mut self, n: u8) -> TIMER_OVF_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -201,25 +200,21 @@ impl W { } #[doc = "Bit 0 - Triggered when the timer0 has reached its maximum counter value."] #[inline(always)] - #[must_use] pub fn timer0_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 0) } #[doc = "Bit 1 - Triggered when the timer1 has reached its maximum counter value."] #[inline(always)] - #[must_use] pub fn timer1_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 1) } #[doc = "Bit 2 - Triggered when the timer2 has reached its maximum counter value."] #[inline(always)] - #[must_use] pub fn timer2_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 2) } #[doc = "Bit 3 - Triggered when the timer3 has reached its maximum counter value."] #[inline(always)] - #[must_use] pub fn timer3_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 3) } @@ -227,7 +222,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `DUTY_CHNG_END_CH0` field.
"] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch(&mut self, n: u8) -> DUTY_CHNG_END_CH_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -235,49 +229,41 @@ impl W { } #[doc = "Bit 4 - Interrupt raw bit for channel 0. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch0(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 4) } #[doc = "Bit 5 - Interrupt raw bit for channel 1. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch1(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 5) } #[doc = "Bit 6 - Interrupt raw bit for channel 2. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch2(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 6) } #[doc = "Bit 7 - Interrupt raw bit for channel 3. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch3(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 7) } #[doc = "Bit 8 - Interrupt raw bit for channel 4. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch4(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 8) } #[doc = "Bit 9 - Interrupt raw bit for channel 5. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch5(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 9) } #[doc = "Bit 10 - Interrupt raw bit for channel 6. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch6(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 10) } #[doc = "Bit 11 - Interrupt raw bit for channel 7. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch7(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 11) } @@ -285,7 +271,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `OVF_CNT_CH0` field.
"] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch(&mut self, n: u8) -> OVF_CNT_CH_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -293,49 +278,41 @@ impl W { } #[doc = "Bit 12 - Interrupt raw bit for channel 0. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch0(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 12) } #[doc = "Bit 13 - Interrupt raw bit for channel 1. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch1(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 13) } #[doc = "Bit 14 - Interrupt raw bit for channel 2. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch2(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 14) } #[doc = "Bit 15 - Interrupt raw bit for channel 3. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch3(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 15) } #[doc = "Bit 16 - Interrupt raw bit for channel 4. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch4(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 16) } #[doc = "Bit 17 - Interrupt raw bit for channel 5. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch5(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 17) } #[doc = "Bit 18 - Interrupt raw bit for channel 6. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch6(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 18) } #[doc = "Bit 19 - Interrupt raw bit for channel 7. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch7(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 19) } diff --git a/esp32p4/src/ledc/timer/conf.rs b/esp32p4/src/ledc/timer/conf.rs index 30c5a8819a..6a8e72d55f 100644 --- a/esp32p4/src/ledc/timer/conf.rs +++ b/esp32p4/src/ledc/timer/conf.rs @@ -66,37 +66,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Configures the range of the counter in timer %s."] #[inline(always)] - #[must_use] pub fn duty_res(&mut self) -> DUTY_RES_W { DUTY_RES_W::new(self, 0) } #[doc = "Bits 5:22 - Configures the divisor for the divider in timer %s.The least significant eight bits represent the fractional part."] #[inline(always)] - #[must_use] pub fn clk_div(&mut self) -> CLK_DIV_W { CLK_DIV_W::new(self, 5) } #[doc = "Bit 23 - Configures whether or not to pause the counter in timer %s.\\\\0: Normal\\\\1: Pause"] #[inline(always)] - #[must_use] pub fn pause(&mut self) -> PAUSE_W { PAUSE_W::new(self, 23) } #[doc = "Bit 24 - Configures whether or not to reset timer %s. The counter will show 0 after reset.\\\\0: Not reset\\\\1: Reset"] #[inline(always)] - #[must_use] pub fn rst(&mut self) -> RST_W { RST_W::new(self, 24) } #[doc = "Bit 25 - Configures which clock is timer %s selected. Unused."] #[inline(always)] - #[must_use] pub fn tick_sel(&mut self) -> TICK_SEL_W { TICK_SEL_W::new(self, 25) } #[doc = "Bit 26 - Configures whether or not to update LEDC_CLK_DIV_TIMER%s and LEDC_TIMER%s_DUTY_RES.\\\\0: Invalid. No effect\\\\1: Update"] #[inline(always)] - #[must_use] pub fn para_up(&mut self) -> PARA_UP_W { PARA_UP_W::new(self, 26) } diff --git a/esp32p4/src/ledc/timer_cmp.rs b/esp32p4/src/ledc/timer_cmp.rs index dc602a35d0..197ab60a84 100644 --- a/esp32p4/src/ledc/timer_cmp.rs +++ b/esp32p4/src/ledc/timer_cmp.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - Configures the comparison value for LEDC timer%s."] #[inline(always)] - #[must_use] pub fn timer_cmp(&mut self) -> TIMER_CMP_W { TIMER_CMP_W::new(self, 0) } diff --git a/esp32p4/src/lib.rs b/esp32p4/src/lib.rs index 20e53d3b01..2ec0de8313 100644 --- a/esp32p4/src/lib.rs +++ b/esp32p4/src/lib.rs @@ -1,4 +1,4 @@ -#![doc = "Peripheral access API for ESP32-P4 microcontrollers (generated using svd2rust v0.33.4 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next] svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.33.4/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"] +#![doc = "Peripheral access API for ESP32-P4 microcontrollers (generated using svd2rust v0.34.0 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next] svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.34.0/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"] #![allow(non_camel_case_types)] #![allow(non_snake_case)] #![doc(html_logo_url = "https://avatars.githubusercontent.com/u/46717278")] diff --git a/esp32p4/src/lp_adc/amp_ctrl1.rs b/esp32p4/src/lp_adc/amp_ctrl1.rs index 1eb4ad3b30..d36e515e18 100644 --- a/esp32p4/src/lp_adc/amp_ctrl1.rs +++ b/esp32p4/src/lp_adc/amp_ctrl1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - N/A"] #[inline(always)] - #[must_use] pub fn sar_amp_wait1(&mut self) -> SAR_AMP_WAIT1_W { SAR_AMP_WAIT1_W::new(self, 0) } #[doc = "Bits 16:31 - N/A"] #[inline(always)] - #[must_use] pub fn sar_amp_wait2(&mut self) -> SAR_AMP_WAIT2_W { SAR_AMP_WAIT2_W::new(self, 16) } diff --git a/esp32p4/src/lp_adc/amp_ctrl2.rs b/esp32p4/src/lp_adc/amp_ctrl2.rs index fd56d1389d..2ea6231503 100644 --- a/esp32p4/src/lp_adc/amp_ctrl2.rs +++ b/esp32p4/src/lp_adc/amp_ctrl2.rs @@ -97,49 +97,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - N/A"] #[inline(always)] - #[must_use] pub fn sar1_dac_xpd_fsm_idle(&mut self) -> SAR1_DAC_XPD_FSM_IDLE_W { SAR1_DAC_XPD_FSM_IDLE_W::new(self, 0) } #[doc = "Bit 1 - N/A"] #[inline(always)] - #[must_use] pub fn xpd_sar_amp_fsm_idle(&mut self) -> XPD_SAR_AMP_FSM_IDLE_W { XPD_SAR_AMP_FSM_IDLE_W::new(self, 1) } #[doc = "Bit 2 - N/A"] #[inline(always)] - #[must_use] pub fn amp_rst_fb_fsm_idle(&mut self) -> AMP_RST_FB_FSM_IDLE_W { AMP_RST_FB_FSM_IDLE_W::new(self, 2) } #[doc = "Bit 3 - N/A"] #[inline(always)] - #[must_use] pub fn amp_short_ref_fsm_idle(&mut self) -> AMP_SHORT_REF_FSM_IDLE_W { AMP_SHORT_REF_FSM_IDLE_W::new(self, 3) } #[doc = "Bit 4 - N/A"] #[inline(always)] - #[must_use] pub fn amp_short_ref_gnd_fsm_idle(&mut self) -> AMP_SHORT_REF_GND_FSM_IDLE_W { AMP_SHORT_REF_GND_FSM_IDLE_W::new(self, 4) } #[doc = "Bit 5 - N/A"] #[inline(always)] - #[must_use] pub fn xpd_sar_fsm_idle(&mut self) -> XPD_SAR_FSM_IDLE_W { XPD_SAR_FSM_IDLE_W::new(self, 5) } #[doc = "Bit 6 - N/A"] #[inline(always)] - #[must_use] pub fn sar_rstb_fsm_idle(&mut self) -> SAR_RSTB_FSM_IDLE_W { SAR_RSTB_FSM_IDLE_W::new(self, 6) } #[doc = "Bits 16:31 - N/A"] #[inline(always)] - #[must_use] pub fn sar_amp_wait3(&mut self) -> SAR_AMP_WAIT3_W { SAR_AMP_WAIT3_W::new(self, 16) } diff --git a/esp32p4/src/lp_adc/amp_ctrl3.rs b/esp32p4/src/lp_adc/amp_ctrl3.rs index 6667a17eba..57e9bb3de2 100644 --- a/esp32p4/src/lp_adc/amp_ctrl3.rs +++ b/esp32p4/src/lp_adc/amp_ctrl3.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - N/A"] #[inline(always)] - #[must_use] pub fn sar1_dac_xpd_fsm(&mut self) -> SAR1_DAC_XPD_FSM_W { SAR1_DAC_XPD_FSM_W::new(self, 0) } #[doc = "Bits 4:7 - N/A"] #[inline(always)] - #[must_use] pub fn xpd_sar_amp_fsm(&mut self) -> XPD_SAR_AMP_FSM_W { XPD_SAR_AMP_FSM_W::new(self, 4) } #[doc = "Bits 8:11 - N/A"] #[inline(always)] - #[must_use] pub fn amp_rst_fb_fsm(&mut self) -> AMP_RST_FB_FSM_W { AMP_RST_FB_FSM_W::new(self, 8) } #[doc = "Bits 12:15 - N/A"] #[inline(always)] - #[must_use] pub fn amp_short_ref_fsm(&mut self) -> AMP_SHORT_REF_FSM_W { AMP_SHORT_REF_FSM_W::new(self, 12) } #[doc = "Bits 16:19 - N/A"] #[inline(always)] - #[must_use] pub fn amp_short_ref_gnd_fsm(&mut self) -> AMP_SHORT_REF_GND_FSM_W { AMP_SHORT_REF_GND_FSM_W::new(self, 16) } #[doc = "Bits 20:23 - N/A"] #[inline(always)] - #[must_use] pub fn xpd_sar_fsm(&mut self) -> XPD_SAR_FSM_W { XPD_SAR_FSM_W::new(self, 20) } #[doc = "Bits 24:27 - N/A"] #[inline(always)] - #[must_use] pub fn sar_rstb_fsm(&mut self) -> SAR_RSTB_FSM_W { SAR_RSTB_FSM_W::new(self, 24) } diff --git a/esp32p4/src/lp_adc/atten1.rs b/esp32p4/src/lp_adc/atten1.rs index 744d99d9d9..d1c2885757 100644 --- a/esp32p4/src/lp_adc/atten1.rs +++ b/esp32p4/src/lp_adc/atten1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - 2-bit attenuation for each pad."] #[inline(always)] - #[must_use] pub fn sar1_atten(&mut self) -> SAR1_ATTEN_W { SAR1_ATTEN_W::new(self, 0) } diff --git a/esp32p4/src/lp_adc/atten2.rs b/esp32p4/src/lp_adc/atten2.rs index e609b382ec..983bb9a5e9 100644 --- a/esp32p4/src/lp_adc/atten2.rs +++ b/esp32p4/src/lp_adc/atten2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - 2-bit attenuation for each pad."] #[inline(always)] - #[must_use] pub fn sar2_atten(&mut self) -> SAR2_ATTEN_W { SAR2_ATTEN_W::new(self, 0) } diff --git a/esp32p4/src/lp_adc/cocpu_int_raw.rs b/esp32p4/src/lp_adc/cocpu_int_raw.rs index 21fa5e2824..a801d34ece 100644 --- a/esp32p4/src/lp_adc/cocpu_int_raw.rs +++ b/esp32p4/src/lp_adc/cocpu_int_raw.rs @@ -86,19 +86,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - ADC1 Conversion is done, int raw."] #[inline(always)] - #[must_use] pub fn cocpu_saradc1_int_raw(&mut self) -> COCPU_SARADC1_INT_RAW_W { COCPU_SARADC1_INT_RAW_W::new(self, 0) } #[doc = "Bit 1 - ADC2 Conversion is done, int raw."] #[inline(always)] - #[must_use] pub fn cocpu_saradc2_int_raw(&mut self) -> COCPU_SARADC2_INT_RAW_W { COCPU_SARADC2_INT_RAW_W::new(self, 1) } #[doc = "Bit 2 - An errro occurs from ADC1, int raw."] #[inline(always)] - #[must_use] pub fn cocpu_saradc1_error_int_raw( &mut self, ) -> COCPU_SARADC1_ERROR_INT_RAW_W { @@ -106,7 +103,6 @@ impl W { } #[doc = "Bit 3 - An errro occurs from ADC2, int raw."] #[inline(always)] - #[must_use] pub fn cocpu_saradc2_error_int_raw( &mut self, ) -> COCPU_SARADC2_ERROR_INT_RAW_W { @@ -114,7 +110,6 @@ impl W { } #[doc = "Bit 4 - A wakeup event is triggered from ADC1, int raw."] #[inline(always)] - #[must_use] pub fn cocpu_saradc1_wake_int_raw( &mut self, ) -> COCPU_SARADC1_WAKE_INT_RAW_W { @@ -122,7 +117,6 @@ impl W { } #[doc = "Bit 5 - A wakeup event is triggered from ADC2, int raw."] #[inline(always)] - #[must_use] pub fn cocpu_saradc2_wake_int_raw( &mut self, ) -> COCPU_SARADC2_WAKE_INT_RAW_W { diff --git a/esp32p4/src/lp_adc/force_wpd_sar.rs b/esp32p4/src/lp_adc/force_wpd_sar.rs index 7c06a59188..7b4da1a637 100644 --- a/esp32p4/src/lp_adc/force_wpd_sar.rs +++ b/esp32p4/src/lp_adc/force_wpd_sar.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - 2'b11:software control, force on. 2'b10:software control, force off. 2'b0x:hardware control."] #[inline(always)] - #[must_use] pub fn force_xpd_sar1(&mut self) -> FORCE_XPD_SAR1_W { FORCE_XPD_SAR1_W::new(self, 0) } #[doc = "Bits 2:3 - 2'b11:software control, force on. 2'b10:software control, force off. 2'b0x:hardware control."] #[inline(always)] - #[must_use] pub fn force_xpd_sar2(&mut self) -> FORCE_XPD_SAR2_W { FORCE_XPD_SAR2_W::new(self, 2) } diff --git a/esp32p4/src/lp_adc/int_clr.rs b/esp32p4/src/lp_adc/int_clr.rs index a835d28493..c8a53e3a57 100644 --- a/esp32p4/src/lp_adc/int_clr.rs +++ b/esp32p4/src/lp_adc/int_clr.rs @@ -21,37 +21,31 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - ADC1 Conversion is done, int clear."] #[inline(always)] - #[must_use] pub fn cocpu_saradc1_int_clr(&mut self) -> COCPU_SARADC1_INT_CLR_W { COCPU_SARADC1_INT_CLR_W::new(self, 0) } #[doc = "Bit 1 - ADC2 Conversion is done, int clear."] #[inline(always)] - #[must_use] pub fn cocpu_saradc2_int_clr(&mut self) -> COCPU_SARADC2_INT_CLR_W { COCPU_SARADC2_INT_CLR_W::new(self, 1) } #[doc = "Bit 2 - An errro occurs from ADC1, int clear."] #[inline(always)] - #[must_use] pub fn cocpu_saradc1_error_int_clr(&mut self) -> COCPU_SARADC1_ERROR_INT_CLR_W { COCPU_SARADC1_ERROR_INT_CLR_W::new(self, 2) } #[doc = "Bit 3 - An errro occurs from ADC2, int clear."] #[inline(always)] - #[must_use] pub fn cocpu_saradc2_error_int_clr(&mut self) -> COCPU_SARADC2_ERROR_INT_CLR_W { COCPU_SARADC2_ERROR_INT_CLR_W::new(self, 3) } #[doc = "Bit 4 - A wakeup event is triggered from ADC1, int clear."] #[inline(always)] - #[must_use] pub fn cocpu_saradc1_wake_int_clr(&mut self) -> COCPU_SARADC1_WAKE_INT_CLR_W { COCPU_SARADC1_WAKE_INT_CLR_W::new(self, 4) } #[doc = "Bit 5 - A wakeup event is triggered from ADC2, int clear."] #[inline(always)] - #[must_use] pub fn cocpu_saradc2_wake_int_clr(&mut self) -> COCPU_SARADC2_WAKE_INT_CLR_W { COCPU_SARADC2_WAKE_INT_CLR_W::new(self, 5) } diff --git a/esp32p4/src/lp_adc/int_ena.rs b/esp32p4/src/lp_adc/int_ena.rs index 3c3bfc5532..62b188587d 100644 --- a/esp32p4/src/lp_adc/int_ena.rs +++ b/esp32p4/src/lp_adc/int_ena.rs @@ -86,37 +86,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - ADC1 Conversion is done, int enable."] #[inline(always)] - #[must_use] pub fn cocpu_saradc1_int_ena(&mut self) -> COCPU_SARADC1_INT_ENA_W { COCPU_SARADC1_INT_ENA_W::new(self, 0) } #[doc = "Bit 1 - ADC2 Conversion is done, int enable."] #[inline(always)] - #[must_use] pub fn cocpu_saradc2_int_ena(&mut self) -> COCPU_SARADC2_INT_ENA_W { COCPU_SARADC2_INT_ENA_W::new(self, 1) } #[doc = "Bit 2 - An errro occurs from ADC1, int enable."] #[inline(always)] - #[must_use] pub fn cocpu_saradc1_error_int_ena(&mut self) -> COCPU_SARADC1_ERROR_INT_ENA_W { COCPU_SARADC1_ERROR_INT_ENA_W::new(self, 2) } #[doc = "Bit 3 - An errro occurs from ADC2, int enable."] #[inline(always)] - #[must_use] pub fn cocpu_saradc2_error_int_ena(&mut self) -> COCPU_SARADC2_ERROR_INT_ENA_W { COCPU_SARADC2_ERROR_INT_ENA_W::new(self, 3) } #[doc = "Bit 4 - A wakeup event is triggered from ADC1, int enable."] #[inline(always)] - #[must_use] pub fn cocpu_saradc1_wake_int_ena(&mut self) -> COCPU_SARADC1_WAKE_INT_ENA_W { COCPU_SARADC1_WAKE_INT_ENA_W::new(self, 4) } #[doc = "Bit 5 - A wakeup event is triggered from ADC2, int enable."] #[inline(always)] - #[must_use] pub fn cocpu_saradc2_wake_int_ena(&mut self) -> COCPU_SARADC2_WAKE_INT_ENA_W { COCPU_SARADC2_WAKE_INT_ENA_W::new(self, 5) } diff --git a/esp32p4/src/lp_adc/int_ena_w1tc.rs b/esp32p4/src/lp_adc/int_ena_w1tc.rs index b92c1e62ef..26e2c2ddba 100644 --- a/esp32p4/src/lp_adc/int_ena_w1tc.rs +++ b/esp32p4/src/lp_adc/int_ena_w1tc.rs @@ -21,7 +21,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - ADC1 Conversion is done, write 1 to deassert int enable."] #[inline(always)] - #[must_use] pub fn cocpu_saradc1_int_ena_w1tc( &mut self, ) -> COCPU_SARADC1_INT_ENA_W1TC_W { @@ -29,7 +28,6 @@ impl W { } #[doc = "Bit 1 - ADC2 Conversion is done, write 1 to deassert int enable."] #[inline(always)] - #[must_use] pub fn cocpu_saradc2_int_ena_w1tc( &mut self, ) -> COCPU_SARADC2_INT_ENA_W1TC_W { @@ -37,7 +35,6 @@ impl W { } #[doc = "Bit 2 - An errro occurs from ADC1, write 1 to deassert int enable."] #[inline(always)] - #[must_use] pub fn cocpu_saradc1_error_int_ena_w1tc( &mut self, ) -> COCPU_SARADC1_ERROR_INT_ENA_W1TC_W { @@ -45,7 +42,6 @@ impl W { } #[doc = "Bit 3 - An errro occurs from ADC2, write 1 to deassert int enable."] #[inline(always)] - #[must_use] pub fn cocpu_saradc2_error_int_ena_w1tc( &mut self, ) -> COCPU_SARADC2_ERROR_INT_ENA_W1TC_W { @@ -53,7 +49,6 @@ impl W { } #[doc = "Bit 4 - A wakeup event is triggered from ADC1, write 1 to deassert int enable."] #[inline(always)] - #[must_use] pub fn cocpu_saradc1_wake_int_ena_w1tc( &mut self, ) -> COCPU_SARADC1_WAKE_INT_ENA_W1TC_W { @@ -61,7 +56,6 @@ impl W { } #[doc = "Bit 5 - A wakeup event is triggered from ADC2, write 1 to deassert int enable."] #[inline(always)] - #[must_use] pub fn cocpu_saradc2_wake_int_ena_w1tc( &mut self, ) -> COCPU_SARADC2_WAKE_INT_ENA_W1TC_W { diff --git a/esp32p4/src/lp_adc/int_ena_w1ts.rs b/esp32p4/src/lp_adc/int_ena_w1ts.rs index 5c85f2ce9e..44ca4c4f7f 100644 --- a/esp32p4/src/lp_adc/int_ena_w1ts.rs +++ b/esp32p4/src/lp_adc/int_ena_w1ts.rs @@ -21,7 +21,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - ADC1 Conversion is done, write 1 to assert int enable."] #[inline(always)] - #[must_use] pub fn cocpu_saradc1_int_ena_w1ts( &mut self, ) -> COCPU_SARADC1_INT_ENA_W1TS_W { @@ -29,7 +28,6 @@ impl W { } #[doc = "Bit 1 - ADC2 Conversion is done, write 1 to assert int enable."] #[inline(always)] - #[must_use] pub fn cocpu_saradc2_int_ena_w1ts( &mut self, ) -> COCPU_SARADC2_INT_ENA_W1TS_W { @@ -37,7 +35,6 @@ impl W { } #[doc = "Bit 2 - An errro occurs from ADC1, write 1 to assert int enable."] #[inline(always)] - #[must_use] pub fn cocpu_saradc1_error_int_ena_w1ts( &mut self, ) -> COCPU_SARADC1_ERROR_INT_ENA_W1TS_W { @@ -45,7 +42,6 @@ impl W { } #[doc = "Bit 3 - An errro occurs from ADC2, write 1 to assert int enable."] #[inline(always)] - #[must_use] pub fn cocpu_saradc2_error_int_ena_w1ts( &mut self, ) -> COCPU_SARADC2_ERROR_INT_ENA_W1TS_W { @@ -53,7 +49,6 @@ impl W { } #[doc = "Bit 4 - A wakeup event is triggered from ADC1, write 1 to assert int enable."] #[inline(always)] - #[must_use] pub fn cocpu_saradc1_wake_int_ena_w1ts( &mut self, ) -> COCPU_SARADC1_WAKE_INT_ENA_W1TS_W { @@ -61,7 +56,6 @@ impl W { } #[doc = "Bit 5 - A wakeup event is triggered from ADC2, write 1 to assert int enable."] #[inline(always)] - #[must_use] pub fn cocpu_saradc2_wake_int_ena_w1ts( &mut self, ) -> COCPU_SARADC2_WAKE_INT_ENA_W1TS_W { diff --git a/esp32p4/src/lp_adc/meas1_ctrl1.rs b/esp32p4/src/lp_adc/meas1_ctrl1.rs index aebe4eb102..6184dbaedc 100644 --- a/esp32p4/src/lp_adc/meas1_ctrl1.rs +++ b/esp32p4/src/lp_adc/meas1_ctrl1.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 24:25 - N/A"] #[inline(always)] - #[must_use] pub fn force_xpd_amp(&mut self) -> FORCE_XPD_AMP_W { FORCE_XPD_AMP_W::new(self, 24) } #[doc = "Bits 26:27 - N/A"] #[inline(always)] - #[must_use] pub fn amp_rst_fb_force(&mut self) -> AMP_RST_FB_FORCE_W { AMP_RST_FB_FORCE_W::new(self, 26) } #[doc = "Bits 28:29 - N/A"] #[inline(always)] - #[must_use] pub fn amp_short_ref_force(&mut self) -> AMP_SHORT_REF_FORCE_W { AMP_SHORT_REF_FORCE_W::new(self, 28) } #[doc = "Bits 30:31 - N/A"] #[inline(always)] - #[must_use] pub fn amp_short_ref_gnd_force(&mut self) -> AMP_SHORT_REF_GND_FORCE_W { AMP_SHORT_REF_GND_FORCE_W::new(self, 30) } diff --git a/esp32p4/src/lp_adc/meas1_ctrl2.rs b/esp32p4/src/lp_adc/meas1_ctrl2.rs index 76bc8501b6..114b0099e6 100644 --- a/esp32p4/src/lp_adc/meas1_ctrl2.rs +++ b/esp32p4/src/lp_adc/meas1_ctrl2.rs @@ -70,25 +70,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 17 - SAR ADC1 controller (in RTC) starts conversion."] #[inline(always)] - #[must_use] pub fn meas1_start_sar(&mut self) -> MEAS1_START_SAR_W { MEAS1_START_SAR_W::new(self, 17) } #[doc = "Bit 18 - 1: SAR ADC1 controller (in RTC) is started by SW."] #[inline(always)] - #[must_use] pub fn meas1_start_force(&mut self) -> MEAS1_START_FORCE_W { MEAS1_START_FORCE_W::new(self, 18) } #[doc = "Bits 19:30 - SAR ADC1 pad enable bitmap."] #[inline(always)] - #[must_use] pub fn sar1_en_pad(&mut self) -> SAR1_EN_PAD_W { SAR1_EN_PAD_W::new(self, 19) } #[doc = "Bit 31 - 1: SAR ADC1 pad enable bitmap is controlled by SW."] #[inline(always)] - #[must_use] pub fn sar1_en_pad_force(&mut self) -> SAR1_EN_PAD_FORCE_W { SAR1_EN_PAD_FORCE_W::new(self, 31) } diff --git a/esp32p4/src/lp_adc/meas1_mux.rs b/esp32p4/src/lp_adc/meas1_mux.rs index 65e010d1a4..c7a43bc605 100644 --- a/esp32p4/src/lp_adc/meas1_mux.rs +++ b/esp32p4/src/lp_adc/meas1_mux.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - 1: SAR ADC1 controlled by DIG ADC1 CTRL."] #[inline(always)] - #[must_use] pub fn sar1_dig_force(&mut self) -> SAR1_DIG_FORCE_W { SAR1_DIG_FORCE_W::new(self, 31) } diff --git a/esp32p4/src/lp_adc/meas2_ctrl1.rs b/esp32p4/src/lp_adc/meas2_ctrl1.rs index eadc82e875..bce0594bcf 100644 --- a/esp32p4/src/lp_adc/meas2_ctrl1.rs +++ b/esp32p4/src/lp_adc/meas2_ctrl1.rs @@ -92,43 +92,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - RTC control pwdet enable."] #[inline(always)] - #[must_use] pub fn sar2_pwdet_cal_en(&mut self) -> SAR2_PWDET_CAL_EN_W { SAR2_PWDET_CAL_EN_W::new(self, 3) } #[doc = "Bit 4 - RTC control pkdet enable."] #[inline(always)] - #[must_use] pub fn sar2_pkdet_cal_en(&mut self) -> SAR2_PKDET_CAL_EN_W { SAR2_PKDET_CAL_EN_W::new(self, 4) } #[doc = "Bit 5 - SAR2_EN_TEST."] #[inline(always)] - #[must_use] pub fn sar2_en_test(&mut self) -> SAR2_EN_TEST_W { SAR2_EN_TEST_W::new(self, 5) } #[doc = "Bits 6:7 - N/A"] #[inline(always)] - #[must_use] pub fn sar2_rstb_force(&mut self) -> SAR2_RSTB_FORCE_W { SAR2_RSTB_FORCE_W::new(self, 6) } #[doc = "Bits 8:15 - N/A"] #[inline(always)] - #[must_use] pub fn sar2_standby_wait(&mut self) -> SAR2_STANDBY_WAIT_W { SAR2_STANDBY_WAIT_W::new(self, 8) } #[doc = "Bits 16:23 - N/A"] #[inline(always)] - #[must_use] pub fn sar2_rstb_wait(&mut self) -> SAR2_RSTB_WAIT_W { SAR2_RSTB_WAIT_W::new(self, 16) } #[doc = "Bits 24:31 - N/A"] #[inline(always)] - #[must_use] pub fn sar2_xpd_wait(&mut self) -> SAR2_XPD_WAIT_W { SAR2_XPD_WAIT_W::new(self, 24) } diff --git a/esp32p4/src/lp_adc/meas2_ctrl2.rs b/esp32p4/src/lp_adc/meas2_ctrl2.rs index 269a0051c9..dcdf9de63b 100644 --- a/esp32p4/src/lp_adc/meas2_ctrl2.rs +++ b/esp32p4/src/lp_adc/meas2_ctrl2.rs @@ -70,25 +70,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 17 - SAR ADC2 controller (in RTC) starts conversion."] #[inline(always)] - #[must_use] pub fn meas2_start_sar(&mut self) -> MEAS2_START_SAR_W { MEAS2_START_SAR_W::new(self, 17) } #[doc = "Bit 18 - 1: SAR ADC2 controller (in RTC) is started by SW."] #[inline(always)] - #[must_use] pub fn meas2_start_force(&mut self) -> MEAS2_START_FORCE_W { MEAS2_START_FORCE_W::new(self, 18) } #[doc = "Bits 19:30 - SAR ADC2 pad enable bitmap."] #[inline(always)] - #[must_use] pub fn sar2_en_pad(&mut self) -> SAR2_EN_PAD_W { SAR2_EN_PAD_W::new(self, 19) } #[doc = "Bit 31 - 1: SAR ADC2 pad enable bitmap is controlled by SW."] #[inline(always)] - #[must_use] pub fn sar2_en_pad_force(&mut self) -> SAR2_EN_PAD_FORCE_W { SAR2_EN_PAD_FORCE_W::new(self, 31) } diff --git a/esp32p4/src/lp_adc/meas2_mux.rs b/esp32p4/src/lp_adc/meas2_mux.rs index 915a742beb..7d4043a5d7 100644 --- a/esp32p4/src/lp_adc/meas2_mux.rs +++ b/esp32p4/src/lp_adc/meas2_mux.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 28:30 - SAR2_PWDET_CCT."] #[inline(always)] - #[must_use] pub fn sar2_pwdet_cct(&mut self) -> SAR2_PWDET_CCT_W { SAR2_PWDET_CCT_W::new(self, 28) } #[doc = "Bit 31 - In sleep, force to use rtc to control ADC."] #[inline(always)] - #[must_use] pub fn sar2_rtc_force(&mut self) -> SAR2_RTC_FORCE_W { SAR2_RTC_FORCE_W::new(self, 31) } diff --git a/esp32p4/src/lp_adc/reader1_ctrl.rs b/esp32p4/src/lp_adc/reader1_ctrl.rs index 138f2cd4fa..d90126d2be 100644 --- a/esp32p4/src/lp_adc/reader1_ctrl.rs +++ b/esp32p4/src/lp_adc/reader1_ctrl.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Clock divider."] #[inline(always)] - #[must_use] pub fn sar1_clk_div(&mut self) -> SAR1_CLK_DIV_W { SAR1_CLK_DIV_W::new(self, 0) } #[doc = "Bit 18 - N/A"] #[inline(always)] - #[must_use] pub fn sar1_clk_gated(&mut self) -> SAR1_CLK_GATED_W { SAR1_CLK_GATED_W::new(self, 18) } #[doc = "Bits 19:26 - N/A"] #[inline(always)] - #[must_use] pub fn sar1_sample_num(&mut self) -> SAR1_SAMPLE_NUM_W { SAR1_SAMPLE_NUM_W::new(self, 19) } #[doc = "Bit 28 - Invert SAR ADC1 data."] #[inline(always)] - #[must_use] pub fn sar1_data_inv(&mut self) -> SAR1_DATA_INV_W { SAR1_DATA_INV_W::new(self, 28) } #[doc = "Bit 29 - Enable saradc1 to send out interrupt."] #[inline(always)] - #[must_use] pub fn sar1_int_en(&mut self) -> SAR1_INT_EN_W { SAR1_INT_EN_W::new(self, 29) } #[doc = "Bits 30:31 - Force enable adc en_pad to analog circuit 2'b11: force enable ."] #[inline(always)] - #[must_use] pub fn sar1_en_pad_force_enable(&mut self) -> SAR1_EN_PAD_FORCE_ENABLE_W { SAR1_EN_PAD_FORCE_ENABLE_W::new(self, 30) } diff --git a/esp32p4/src/lp_adc/reader2_ctrl.rs b/esp32p4/src/lp_adc/reader2_ctrl.rs index 48d3d2b768..f82f866d59 100644 --- a/esp32p4/src/lp_adc/reader2_ctrl.rs +++ b/esp32p4/src/lp_adc/reader2_ctrl.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Clock divider."] #[inline(always)] - #[must_use] pub fn sar2_clk_div(&mut self) -> SAR2_CLK_DIV_W { SAR2_CLK_DIV_W::new(self, 0) } #[doc = "Bits 16:17 - Wait arbit stable after sar_done."] #[inline(always)] - #[must_use] pub fn sar2_wait_arb_cycle(&mut self) -> SAR2_WAIT_ARB_CYCLE_W { SAR2_WAIT_ARB_CYCLE_W::new(self, 16) } #[doc = "Bit 18 - N/A"] #[inline(always)] - #[must_use] pub fn sar2_clk_gated(&mut self) -> SAR2_CLK_GATED_W { SAR2_CLK_GATED_W::new(self, 18) } #[doc = "Bits 19:26 - N/A"] #[inline(always)] - #[must_use] pub fn sar2_sample_num(&mut self) -> SAR2_SAMPLE_NUM_W { SAR2_SAMPLE_NUM_W::new(self, 19) } #[doc = "Bits 27:28 - Force enable adc en_pad to analog circuit 2'b11: force enable ."] #[inline(always)] - #[must_use] pub fn sar2_en_pad_force_enable(&mut self) -> SAR2_EN_PAD_FORCE_ENABLE_W { SAR2_EN_PAD_FORCE_ENABLE_W::new(self, 27) } #[doc = "Bit 29 - Invert SAR ADC2 data."] #[inline(always)] - #[must_use] pub fn sar2_data_inv(&mut self) -> SAR2_DATA_INV_W { SAR2_DATA_INV_W::new(self, 29) } #[doc = "Bit 30 - Enable saradc2 to send out interrupt."] #[inline(always)] - #[must_use] pub fn sar2_int_en(&mut self) -> SAR2_INT_EN_W { SAR2_INT_EN_W::new(self, 30) } diff --git a/esp32p4/src/lp_adc/reg_clken.rs b/esp32p4/src/lp_adc/reg_clken.rs index 3ed0b5229f..7e03eb776f 100644 --- a/esp32p4/src/lp_adc/reg_clken.rs +++ b/esp32p4/src/lp_adc/reg_clken.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - N/A"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32p4/src/lp_adc/rnd_eco_cs.rs b/esp32p4/src/lp_adc/rnd_eco_cs.rs index ac5b73553d..8941b540a4 100644 --- a/esp32p4/src/lp_adc/rnd_eco_cs.rs +++ b/esp32p4/src/lp_adc/rnd_eco_cs.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - N/A"] #[inline(always)] - #[must_use] pub fn rnd_eco_en(&mut self) -> RND_ECO_EN_W { RND_ECO_EN_W::new(self, 0) } diff --git a/esp32p4/src/lp_adc/rnd_eco_high.rs b/esp32p4/src/lp_adc/rnd_eco_high.rs index e2ff953eda..38ff77e9b8 100644 --- a/esp32p4/src/lp_adc/rnd_eco_high.rs +++ b/esp32p4/src/lp_adc/rnd_eco_high.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - N/A"] #[inline(always)] - #[must_use] pub fn rnd_eco_high(&mut self) -> RND_ECO_HIGH_W { RND_ECO_HIGH_W::new(self, 0) } diff --git a/esp32p4/src/lp_adc/rnd_eco_low.rs b/esp32p4/src/lp_adc/rnd_eco_low.rs index 97473be3a1..a5bdaa2960 100644 --- a/esp32p4/src/lp_adc/rnd_eco_low.rs +++ b/esp32p4/src/lp_adc/rnd_eco_low.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - N/A"] #[inline(always)] - #[must_use] pub fn rnd_eco_low(&mut self) -> RND_ECO_LOW_W { RND_ECO_LOW_W::new(self, 0) } diff --git a/esp32p4/src/lp_adc/sar1_hw_wakeup.rs b/esp32p4/src/lp_adc/sar1_hw_wakeup.rs index bf891073b6..94ef3ce2af 100644 --- a/esp32p4/src/lp_adc/sar1_hw_wakeup.rs +++ b/esp32p4/src/lp_adc/sar1_hw_wakeup.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Enable hardware automatic sampling."] #[inline(always)] - #[must_use] pub fn adc1_hw_read_en_i(&mut self) -> ADC1_HW_READ_EN_I_W { ADC1_HW_READ_EN_I_W::new(self, 0) } #[doc = "Bits 1:16 - Hardware automatic sampling rate."] #[inline(always)] - #[must_use] pub fn adc1_hw_read_rate_i(&mut self) -> ADC1_HW_READ_RATE_I_W { ADC1_HW_READ_RATE_I_W::new(self, 1) } diff --git a/esp32p4/src/lp_adc/sar2_hw_wakeup.rs b/esp32p4/src/lp_adc/sar2_hw_wakeup.rs index 9e73dbe245..fcc596eeb8 100644 --- a/esp32p4/src/lp_adc/sar2_hw_wakeup.rs +++ b/esp32p4/src/lp_adc/sar2_hw_wakeup.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Enable hardware automatic sampling."] #[inline(always)] - #[must_use] pub fn adc2_hw_read_en_i(&mut self) -> ADC2_HW_READ_EN_I_W { ADC2_HW_READ_EN_I_W::new(self, 0) } #[doc = "Bits 1:16 - Hardware automatic sampling rate."] #[inline(always)] - #[must_use] pub fn adc2_hw_read_rate_i(&mut self) -> ADC2_HW_READ_RATE_I_W { ADC2_HW_READ_RATE_I_W::new(self, 1) } diff --git a/esp32p4/src/lp_adc/wakeup1.rs b/esp32p4/src/lp_adc/wakeup1.rs index f55a6b8e2e..83c8a1874b 100644 --- a/esp32p4/src/lp_adc/wakeup1.rs +++ b/esp32p4/src/lp_adc/wakeup1.rs @@ -65,25 +65,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - Lower threshold."] #[inline(always)] - #[must_use] pub fn sar1_wakeup_th_low(&mut self) -> SAR1_WAKEUP_TH_LOW_W { SAR1_WAKEUP_TH_LOW_W::new(self, 0) } #[doc = "Bits 14:25 - Upper threshold."] #[inline(always)] - #[must_use] pub fn sar1_wakeup_th_high(&mut self) -> SAR1_WAKEUP_TH_HIGH_W { SAR1_WAKEUP_TH_HIGH_W::new(self, 14) } #[doc = "Bit 30 - Wakeup function enable."] #[inline(always)] - #[must_use] pub fn sar1_wakeup_en(&mut self) -> SAR1_WAKEUP_EN_W { SAR1_WAKEUP_EN_W::new(self, 30) } #[doc = "Bit 31 - 0:absolute value comparison mode. 1: relative value comparison mode."] #[inline(always)] - #[must_use] pub fn sar1_wakeup_mode(&mut self) -> SAR1_WAKEUP_MODE_W { SAR1_WAKEUP_MODE_W::new(self, 31) } diff --git a/esp32p4/src/lp_adc/wakeup2.rs b/esp32p4/src/lp_adc/wakeup2.rs index 5a0f69d43d..a97117e9ad 100644 --- a/esp32p4/src/lp_adc/wakeup2.rs +++ b/esp32p4/src/lp_adc/wakeup2.rs @@ -65,25 +65,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - Lower threshold."] #[inline(always)] - #[must_use] pub fn sar2_wakeup_th_low(&mut self) -> SAR2_WAKEUP_TH_LOW_W { SAR2_WAKEUP_TH_LOW_W::new(self, 0) } #[doc = "Bits 14:25 - Upper threshold."] #[inline(always)] - #[must_use] pub fn sar2_wakeup_th_high(&mut self) -> SAR2_WAKEUP_TH_HIGH_W { SAR2_WAKEUP_TH_HIGH_W::new(self, 14) } #[doc = "Bit 30 - Wakeup function enable."] #[inline(always)] - #[must_use] pub fn sar2_wakeup_en(&mut self) -> SAR2_WAKEUP_EN_W { SAR2_WAKEUP_EN_W::new(self, 30) } #[doc = "Bit 31 - 0:absolute value comparison mode. 1: relative value comparison mode."] #[inline(always)] - #[must_use] pub fn sar2_wakeup_mode(&mut self) -> SAR2_WAKEUP_MODE_W { SAR2_WAKEUP_MODE_W::new(self, 31) } diff --git a/esp32p4/src/lp_adc/wakeup_sel.rs b/esp32p4/src/lp_adc/wakeup_sel.rs index c7c21426ab..6804b1c619 100644 --- a/esp32p4/src/lp_adc/wakeup_sel.rs +++ b/esp32p4/src/lp_adc/wakeup_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 0: ADC1. 1: ADC2."] #[inline(always)] - #[must_use] pub fn sar_wakeup_sel(&mut self) -> SAR_WAKEUP_SEL_W { SAR_WAKEUP_SEL_W::new(self, 0) } diff --git a/esp32p4/src/lp_ana/bod_mode0_cntl.rs b/esp32p4/src/lp_ana/bod_mode0_cntl.rs index 713115a6fd..a18b707743 100644 --- a/esp32p4/src/lp_ana/bod_mode0_cntl.rs +++ b/esp32p4/src/lp_ana/bod_mode0_cntl.rs @@ -97,7 +97,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 6 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0_close_flash_ena( &mut self, ) -> BOD_MODE0_CLOSE_FLASH_ENA_W { @@ -105,43 +104,36 @@ impl W { } #[doc = "Bit 7 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0_pd_rf_ena(&mut self) -> BOD_MODE0_PD_RF_ENA_W { BOD_MODE0_PD_RF_ENA_W::new(self, 7) } #[doc = "Bits 8:17 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0_intr_wait(&mut self) -> BOD_MODE0_INTR_WAIT_W { BOD_MODE0_INTR_WAIT_W::new(self, 8) } #[doc = "Bits 18:27 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0_reset_wait(&mut self) -> BOD_MODE0_RESET_WAIT_W { BOD_MODE0_RESET_WAIT_W::new(self, 18) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0_cnt_clr(&mut self) -> BOD_MODE0_CNT_CLR_W { BOD_MODE0_CNT_CLR_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0_intr_ena(&mut self) -> BOD_MODE0_INTR_ENA_W { BOD_MODE0_INTR_ENA_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0_reset_sel(&mut self) -> BOD_MODE0_RESET_SEL_W { BOD_MODE0_RESET_SEL_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0_reset_ena(&mut self) -> BOD_MODE0_RESET_ENA_W { BOD_MODE0_RESET_ENA_W::new(self, 31) } diff --git a/esp32p4/src/lp_ana/bod_mode1_cntl.rs b/esp32p4/src/lp_ana/bod_mode1_cntl.rs index 4e4bdd3972..22e45d3af8 100644 --- a/esp32p4/src/lp_ana/bod_mode1_cntl.rs +++ b/esp32p4/src/lp_ana/bod_mode1_cntl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode1_reset_ena(&mut self) -> BOD_MODE1_RESET_ENA_W { BOD_MODE1_RESET_ENA_W::new(self, 31) } diff --git a/esp32p4/src/lp_ana/ck_glitch_cntl.rs b/esp32p4/src/lp_ana/ck_glitch_cntl.rs index d238149382..ec2cfb0a4a 100644 --- a/esp32p4/src/lp_ana/ck_glitch_cntl.rs +++ b/esp32p4/src/lp_ana/ck_glitch_cntl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn ck_glitch_reset_ena(&mut self) -> CK_GLITCH_RESET_ENA_W { CK_GLITCH_RESET_ENA_W::new(self, 31) } diff --git a/esp32p4/src/lp_ana/date.rs b/esp32p4/src/lp_ana/date.rs index 16841df5cb..c748af49f0 100644 --- a/esp32p4/src/lp_ana/date.rs +++ b/esp32p4/src/lp_ana/date.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_ana_date(&mut self) -> LP_ANA_DATE_W { LP_ANA_DATE_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32p4/src/lp_ana/fib_enable.rs b/esp32p4/src/lp_ana/fib_enable.rs index 4979869992..2b86866a9d 100644 --- a/esp32p4/src/lp_ana/fib_enable.rs +++ b/esp32p4/src/lp_ana/fib_enable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn ana_fib_ena(&mut self) -> ANA_FIB_ENA_W { ANA_FIB_ENA_W::new(self, 0) } diff --git a/esp32p4/src/lp_ana/int_clr.rs b/esp32p4/src/lp_ana/int_clr.rs index 7c8974e79e..f4d0fea991 100644 --- a/esp32p4/src/lp_ana/int_clr.rs +++ b/esp32p4/src/lp_ana/int_clr.rs @@ -19,31 +19,26 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_charge_upvoltage(&mut self) -> VDDBAT_CHARGE_UPVOLTAGE_W { VDDBAT_CHARGE_UPVOLTAGE_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_charge_undervoltage(&mut self) -> VDDBAT_CHARGE_UNDERVOLTAGE_W { VDDBAT_CHARGE_UNDERVOLTAGE_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_upvoltage(&mut self) -> VDDBAT_UPVOLTAGE_W { VDDBAT_UPVOLTAGE_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_undervoltage(&mut self) -> VDDBAT_UNDERVOLTAGE_W { VDDBAT_UNDERVOLTAGE_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0(&mut self) -> BOD_MODE0_W { BOD_MODE0_W::new(self, 31) } diff --git a/esp32p4/src/lp_ana/int_ena.rs b/esp32p4/src/lp_ana/int_ena.rs index 90a85d24d6..8b78636ba5 100644 --- a/esp32p4/src/lp_ana/int_ena.rs +++ b/esp32p4/src/lp_ana/int_ena.rs @@ -67,31 +67,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_charge_upvoltage(&mut self) -> VDDBAT_CHARGE_UPVOLTAGE_W { VDDBAT_CHARGE_UPVOLTAGE_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_charge_undervoltage(&mut self) -> VDDBAT_CHARGE_UNDERVOLTAGE_W { VDDBAT_CHARGE_UNDERVOLTAGE_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_upvoltage(&mut self) -> VDDBAT_UPVOLTAGE_W { VDDBAT_UPVOLTAGE_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_undervoltage(&mut self) -> VDDBAT_UNDERVOLTAGE_W { VDDBAT_UNDERVOLTAGE_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0(&mut self) -> BOD_MODE0_W { BOD_MODE0_W::new(self, 31) } diff --git a/esp32p4/src/lp_ana/int_raw.rs b/esp32p4/src/lp_ana/int_raw.rs index 279782ec72..a6dc9b012c 100644 --- a/esp32p4/src/lp_ana/int_raw.rs +++ b/esp32p4/src/lp_ana/int_raw.rs @@ -67,31 +67,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_charge_upvoltage(&mut self) -> VDDBAT_CHARGE_UPVOLTAGE_W { VDDBAT_CHARGE_UPVOLTAGE_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_charge_undervoltage(&mut self) -> VDDBAT_CHARGE_UNDERVOLTAGE_W { VDDBAT_CHARGE_UNDERVOLTAGE_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_upvoltage(&mut self) -> VDDBAT_UPVOLTAGE_W { VDDBAT_UPVOLTAGE_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_undervoltage(&mut self) -> VDDBAT_UNDERVOLTAGE_W { VDDBAT_UNDERVOLTAGE_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0(&mut self) -> BOD_MODE0_W { BOD_MODE0_W::new(self, 31) } diff --git a/esp32p4/src/lp_ana/lp_int_clr.rs b/esp32p4/src/lp_ana/lp_int_clr.rs index eb9b2ebce0..7292611712 100644 --- a/esp32p4/src/lp_ana/lp_int_clr.rs +++ b/esp32p4/src/lp_ana/lp_int_clr.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0(&mut self) -> BOD_MODE0_W { BOD_MODE0_W::new(self, 31) } diff --git a/esp32p4/src/lp_ana/lp_int_ena.rs b/esp32p4/src/lp_ana/lp_int_ena.rs index 314ce7d28a..0523553072 100644 --- a/esp32p4/src/lp_ana/lp_int_ena.rs +++ b/esp32p4/src/lp_ana/lp_int_ena.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0(&mut self) -> BOD_MODE0_W { BOD_MODE0_W::new(self, 31) } diff --git a/esp32p4/src/lp_ana/lp_int_raw.rs b/esp32p4/src/lp_ana/lp_int_raw.rs index 7680e3d0a0..513f3b59a6 100644 --- a/esp32p4/src/lp_ana/lp_int_raw.rs +++ b/esp32p4/src/lp_ana/lp_int_raw.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn bod_mode0(&mut self) -> BOD_MODE0_W { BOD_MODE0_W::new(self, 31) } diff --git a/esp32p4/src/lp_ana/pg_glitch_cntl.rs b/esp32p4/src/lp_ana/pg_glitch_cntl.rs index a66249b0ff..25958f6aff 100644 --- a/esp32p4/src/lp_ana/pg_glitch_cntl.rs +++ b/esp32p4/src/lp_ana/pg_glitch_cntl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn power_glitch_reset_ena(&mut self) -> POWER_GLITCH_RESET_ENA_W { POWER_GLITCH_RESET_ENA_W::new(self, 31) } diff --git a/esp32p4/src/lp_ana/touch_ana_para.rs b/esp32p4/src/lp_ana/touch_ana_para.rs index b58d0e26d6..8da23db116 100644 --- a/esp32p4/src/lp_ana/touch_ana_para.rs +++ b/esp32p4/src/lp_ana/touch_ana_para.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - need_des"] #[inline(always)] - #[must_use] pub fn touch_touch_buf_drv(&mut self) -> TOUCH_TOUCH_BUF_DRV_W { TOUCH_TOUCH_BUF_DRV_W::new(self, 0) } #[doc = "Bit 3 - need_des"] #[inline(always)] - #[must_use] pub fn touch_touch_en_cal(&mut self) -> TOUCH_TOUCH_EN_CAL_W { TOUCH_TOUCH_EN_CAL_W::new(self, 3) } #[doc = "Bits 4:10 - need_des"] #[inline(always)] - #[must_use] pub fn touch_touch_dcap_cal(&mut self) -> TOUCH_TOUCH_DCAP_CAL_W { TOUCH_TOUCH_DCAP_CAL_W::new(self, 4) } diff --git a/esp32p4/src/lp_ana/touch_approach.rs b/esp32p4/src/lp_ana/touch_approach.rs index f0fd5b0d82..3c19cae8bd 100644 --- a/esp32p4/src/lp_ana/touch_approach.rs +++ b/esp32p4/src/lp_ana/touch_approach.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - need_des"] #[inline(always)] - #[must_use] pub fn pad0(&mut self) -> PAD0_W { PAD0_W::new(self, 0) } #[doc = "Bits 4:7 - need_des"] #[inline(always)] - #[must_use] pub fn pad1(&mut self) -> PAD1_W { PAD1_W::new(self, 4) } #[doc = "Bits 8:11 - need_des"] #[inline(always)] - #[must_use] pub fn pad2(&mut self) -> PAD2_W { PAD2_W::new(self, 8) } #[doc = "Bit 12 - need_des"] #[inline(always)] - #[must_use] pub fn touch_slp_approach_en(&mut self) -> TOUCH_SLP_APPROACH_EN_W { TOUCH_SLP_APPROACH_EN_W::new(self, 12) } diff --git a/esp32p4/src/lp_ana/touch_approach_work_meas_num.rs b/esp32p4/src/lp_ana/touch_approach_work_meas_num.rs index 4bfd942864..6ef0246108 100644 --- a/esp32p4/src/lp_ana/touch_approach_work_meas_num.rs +++ b/esp32p4/src/lp_ana/touch_approach_work_meas_num.rs @@ -44,7 +44,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - need_des"] #[inline(always)] - #[must_use] pub fn touch_approach_meas_num2( &mut self, ) -> TOUCH_APPROACH_MEAS_NUM2_W { @@ -52,7 +51,6 @@ impl W { } #[doc = "Bits 10:19 - need_des"] #[inline(always)] - #[must_use] pub fn touch_approach_meas_num1( &mut self, ) -> TOUCH_APPROACH_MEAS_NUM1_W { @@ -60,7 +58,6 @@ impl W { } #[doc = "Bits 20:29 - need_des"] #[inline(always)] - #[must_use] pub fn touch_approach_meas_num0( &mut self, ) -> TOUCH_APPROACH_MEAS_NUM0_W { diff --git a/esp32p4/src/lp_ana/touch_clr.rs b/esp32p4/src/lp_ana/touch_clr.rs index 44899693b5..4d4bc7ccd3 100644 --- a/esp32p4/src/lp_ana/touch_clr.rs +++ b/esp32p4/src/lp_ana/touch_clr.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:14 - need_des"] #[inline(always)] - #[must_use] pub fn touch_channel_clr(&mut self) -> TOUCH_CHANNEL_CLR_W { TOUCH_CHANNEL_CLR_W::new(self, 0) } #[doc = "Bit 15 - need_des"] #[inline(always)] - #[must_use] pub fn touch_status_clr(&mut self) -> TOUCH_STATUS_CLR_W { TOUCH_STATUS_CLR_W::new(self, 15) } diff --git a/esp32p4/src/lp_ana/touch_filter1.rs b/esp32p4/src/lp_ana/touch_filter1.rs index d09bf8efba..556f73133b 100644 --- a/esp32p4/src/lp_ana/touch_filter1.rs +++ b/esp32p4/src/lp_ana/touch_filter1.rs @@ -127,7 +127,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_neg_noise_disupdate_baseline_en( &mut self, ) -> TOUCH_NEG_NOISE_DISUPDATE_BASELINE_EN_W { @@ -135,61 +134,51 @@ impl W { } #[doc = "Bits 1:2 - need_des"] #[inline(always)] - #[must_use] pub fn touch_hysteresis(&mut self) -> TOUCH_HYSTERESIS_W { TOUCH_HYSTERESIS_W::new(self, 1) } #[doc = "Bits 3:4 - need_des"] #[inline(always)] - #[must_use] pub fn touch_neg_noise_thres(&mut self) -> TOUCH_NEG_NOISE_THRES_W { TOUCH_NEG_NOISE_THRES_W::new(self, 3) } #[doc = "Bits 5:6 - need_des"] #[inline(always)] - #[must_use] pub fn touch_noise_thres(&mut self) -> TOUCH_NOISE_THRES_W { TOUCH_NOISE_THRES_W::new(self, 5) } #[doc = "Bits 7:8 - need_des"] #[inline(always)] - #[must_use] pub fn touch_smooth_lvl(&mut self) -> TOUCH_SMOOTH_LVL_W { TOUCH_SMOOTH_LVL_W::new(self, 7) } #[doc = "Bits 9:12 - need_des"] #[inline(always)] - #[must_use] pub fn touch_jitter_step(&mut self) -> TOUCH_JITTER_STEP_W { TOUCH_JITTER_STEP_W::new(self, 9) } #[doc = "Bits 13:15 - need_des"] #[inline(always)] - #[must_use] pub fn touch_filter_mode(&mut self) -> TOUCH_FILTER_MODE_W { TOUCH_FILTER_MODE_W::new(self, 13) } #[doc = "Bit 16 - need_des"] #[inline(always)] - #[must_use] pub fn touch_filter_en(&mut self) -> TOUCH_FILTER_EN_W { TOUCH_FILTER_EN_W::new(self, 16) } #[doc = "Bits 17:20 - need_des"] #[inline(always)] - #[must_use] pub fn touch_neg_noise_limit(&mut self) -> TOUCH_NEG_NOISE_LIMIT_W { TOUCH_NEG_NOISE_LIMIT_W::new(self, 17) } #[doc = "Bits 21:28 - need_des"] #[inline(always)] - #[must_use] pub fn touch_approach_limit(&mut self) -> TOUCH_APPROACH_LIMIT_W { TOUCH_APPROACH_LIMIT_W::new(self, 21) } #[doc = "Bits 29:31 - need_des"] #[inline(always)] - #[must_use] pub fn touch_debounce_limit(&mut self) -> TOUCH_DEBOUNCE_LIMIT_W { TOUCH_DEBOUNCE_LIMIT_W::new(self, 29) } diff --git a/esp32p4/src/lp_ana/touch_filter2.rs b/esp32p4/src/lp_ana/touch_filter2.rs index f32cf53255..03a25464ed 100644 --- a/esp32p4/src/lp_ana/touch_filter2.rs +++ b/esp32p4/src/lp_ana/touch_filter2.rs @@ -47,19 +47,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 15:29 - need_des"] #[inline(always)] - #[must_use] pub fn touch_outen(&mut self) -> TOUCH_OUTEN_W { TOUCH_OUTEN_W::new(self, 15) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn touch_bypass_noise_thres(&mut self) -> TOUCH_BYPASS_NOISE_THRES_W { TOUCH_BYPASS_NOISE_THRES_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn touch_bypass_neg_noise_thres( &mut self, ) -> TOUCH_BYPASS_NEG_NOISE_THRES_W { diff --git a/esp32p4/src/lp_ana/touch_filter3.rs b/esp32p4/src/lp_ana/touch_filter3.rs index 0bc8537847..4488c88d17 100644 --- a/esp32p4/src/lp_ana/touch_filter3.rs +++ b/esp32p4/src/lp_ana/touch_filter3.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - need_des"] #[inline(always)] - #[must_use] pub fn touch_baseline_sw(&mut self) -> TOUCH_BASELINE_SW_W { TOUCH_BASELINE_SW_W::new(self, 0) } #[doc = "Bit 16 - need_des"] #[inline(always)] - #[must_use] pub fn touch_update_baseline_sw(&mut self) -> TOUCH_UPDATE_BASELINE_SW_W { TOUCH_UPDATE_BASELINE_SW_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_freq0_scan_para.rs b/esp32p4/src/lp_ana/touch_freq0_scan_para.rs index 44ff7d496a..350e0b3e74 100644 --- a/esp32p4/src/lp_ana/touch_freq0_scan_para.rs +++ b/esp32p4/src/lp_ana/touch_freq0_scan_para.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - need_des"] #[inline(always)] - #[must_use] pub fn touch_freq0_dcap_lpf(&mut self) -> TOUCH_FREQ0_DCAP_LPF_W { TOUCH_FREQ0_DCAP_LPF_W::new(self, 0) } #[doc = "Bits 7:8 - need_des"] #[inline(always)] - #[must_use] pub fn touch_freq0_dres_lpf(&mut self) -> TOUCH_FREQ0_DRES_LPF_W { TOUCH_FREQ0_DRES_LPF_W::new(self, 7) } #[doc = "Bits 9:12 - need_des"] #[inline(always)] - #[must_use] pub fn touch_freq0_drv_ls(&mut self) -> TOUCH_FREQ0_DRV_LS_W { TOUCH_FREQ0_DRV_LS_W::new(self, 9) } #[doc = "Bits 13:17 - need_des"] #[inline(always)] - #[must_use] pub fn touch_freq0_drv_hs(&mut self) -> TOUCH_FREQ0_DRV_HS_W { TOUCH_FREQ0_DRV_HS_W::new(self, 13) } #[doc = "Bits 18:22 - need_des"] #[inline(always)] - #[must_use] pub fn touch_freq0_dbias(&mut self) -> TOUCH_FREQ0_DBIAS_W { TOUCH_FREQ0_DBIAS_W::new(self, 18) } diff --git a/esp32p4/src/lp_ana/touch_freq1_scan_para.rs b/esp32p4/src/lp_ana/touch_freq1_scan_para.rs index b6b09940a0..e98f4988d1 100644 --- a/esp32p4/src/lp_ana/touch_freq1_scan_para.rs +++ b/esp32p4/src/lp_ana/touch_freq1_scan_para.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - need_des"] #[inline(always)] - #[must_use] pub fn touch_freq1_dcap_lpf(&mut self) -> TOUCH_FREQ1_DCAP_LPF_W { TOUCH_FREQ1_DCAP_LPF_W::new(self, 0) } #[doc = "Bits 7:8 - need_des"] #[inline(always)] - #[must_use] pub fn touch_freq1_dres_lpf(&mut self) -> TOUCH_FREQ1_DRES_LPF_W { TOUCH_FREQ1_DRES_LPF_W::new(self, 7) } #[doc = "Bits 9:12 - need_des"] #[inline(always)] - #[must_use] pub fn touch_freq1_drv_ls(&mut self) -> TOUCH_FREQ1_DRV_LS_W { TOUCH_FREQ1_DRV_LS_W::new(self, 9) } #[doc = "Bits 13:17 - need_des"] #[inline(always)] - #[must_use] pub fn touch_freq1_drv_hs(&mut self) -> TOUCH_FREQ1_DRV_HS_W { TOUCH_FREQ1_DRV_HS_W::new(self, 13) } #[doc = "Bits 18:22 - need_des"] #[inline(always)] - #[must_use] pub fn touch_freq1_dbias(&mut self) -> TOUCH_FREQ1_DBIAS_W { TOUCH_FREQ1_DBIAS_W::new(self, 18) } diff --git a/esp32p4/src/lp_ana/touch_freq2_scan_para.rs b/esp32p4/src/lp_ana/touch_freq2_scan_para.rs index eeea3a6ddb..218cf34a6b 100644 --- a/esp32p4/src/lp_ana/touch_freq2_scan_para.rs +++ b/esp32p4/src/lp_ana/touch_freq2_scan_para.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - need_des"] #[inline(always)] - #[must_use] pub fn touch_freq2_dcap_lpf(&mut self) -> TOUCH_FREQ2_DCAP_LPF_W { TOUCH_FREQ2_DCAP_LPF_W::new(self, 0) } #[doc = "Bits 7:8 - need_des"] #[inline(always)] - #[must_use] pub fn touch_freq2_dres_lpf(&mut self) -> TOUCH_FREQ2_DRES_LPF_W { TOUCH_FREQ2_DRES_LPF_W::new(self, 7) } #[doc = "Bits 9:12 - need_des"] #[inline(always)] - #[must_use] pub fn touch_freq2_drv_ls(&mut self) -> TOUCH_FREQ2_DRV_LS_W { TOUCH_FREQ2_DRV_LS_W::new(self, 9) } #[doc = "Bits 13:17 - need_des"] #[inline(always)] - #[must_use] pub fn touch_freq2_drv_hs(&mut self) -> TOUCH_FREQ2_DRV_HS_W { TOUCH_FREQ2_DRV_HS_W::new(self, 13) } #[doc = "Bits 18:22 - need_des"] #[inline(always)] - #[must_use] pub fn touch_freq2_dbias(&mut self) -> TOUCH_FREQ2_DBIAS_W { TOUCH_FREQ2_DBIAS_W::new(self, 18) } diff --git a/esp32p4/src/lp_ana/touch_mux0.rs b/esp32p4/src/lp_ana/touch_mux0.rs index ba29b55637..8a460c839b 100644 --- a/esp32p4/src/lp_ana/touch_mux0.rs +++ b/esp32p4/src/lp_ana/touch_mux0.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 8:9 - need_des"] #[inline(always)] - #[must_use] pub fn touch_data_sel(&mut self) -> TOUCH_DATA_SEL_W { TOUCH_DATA_SEL_W::new(self, 8) } #[doc = "Bits 10:11 - need_des"] #[inline(always)] - #[must_use] pub fn touch_freq_sel(&mut self) -> TOUCH_FREQ_SEL_W { TOUCH_FREQ_SEL_W::new(self, 10) } #[doc = "Bits 12:26 - need_des"] #[inline(always)] - #[must_use] pub fn touch_bufsel(&mut self) -> TOUCH_BUFSEL_W { TOUCH_BUFSEL_W::new(self, 12) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn touch_done_en(&mut self) -> TOUCH_DONE_EN_W { TOUCH_DONE_EN_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn touch_done_force(&mut self) -> TOUCH_DONE_FORCE_W { TOUCH_DONE_FORCE_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn touch_fsm_en(&mut self) -> TOUCH_FSM_EN_W { TOUCH_FSM_EN_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn touch_start_en(&mut self) -> TOUCH_START_EN_W { TOUCH_START_EN_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn touch_start_force(&mut self) -> TOUCH_START_FORCE_W { TOUCH_START_FORCE_W::new(self, 31) } diff --git a/esp32p4/src/lp_ana/touch_mux1.rs b/esp32p4/src/lp_ana/touch_mux1.rs index 5c1ac72dea..736a5477fa 100644 --- a/esp32p4/src/lp_ana/touch_mux1.rs +++ b/esp32p4/src/lp_ana/touch_mux1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:14 - need_des"] #[inline(always)] - #[must_use] pub fn touch_start(&mut self) -> TOUCH_START_W { TOUCH_START_W::new(self, 0) } #[doc = "Bits 15:29 - need_des"] #[inline(always)] - #[must_use] pub fn touch_xpd(&mut self) -> TOUCH_XPD_W { TOUCH_XPD_W::new(self, 15) } diff --git a/esp32p4/src/lp_ana/touch_pad0_th0.rs b/esp32p4/src/lp_ana/touch_pad0_th0.rs index d02c8f198b..8d259307f1 100644 --- a/esp32p4/src/lp_ana/touch_pad0_th0.rs +++ b/esp32p4/src/lp_ana/touch_pad0_th0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad0_th0(&mut self) -> TOUCH_PAD0_TH0_W { TOUCH_PAD0_TH0_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad0_th1.rs b/esp32p4/src/lp_ana/touch_pad0_th1.rs index 95ee8fe3d0..9c2acbc99f 100644 --- a/esp32p4/src/lp_ana/touch_pad0_th1.rs +++ b/esp32p4/src/lp_ana/touch_pad0_th1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad0_th1(&mut self) -> TOUCH_PAD0_TH1_W { TOUCH_PAD0_TH1_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad0_th2.rs b/esp32p4/src/lp_ana/touch_pad0_th2.rs index 90ca4d9eff..5eb4a5244e 100644 --- a/esp32p4/src/lp_ana/touch_pad0_th2.rs +++ b/esp32p4/src/lp_ana/touch_pad0_th2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad0_th2(&mut self) -> TOUCH_PAD0_TH2_W { TOUCH_PAD0_TH2_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad10_th0.rs b/esp32p4/src/lp_ana/touch_pad10_th0.rs index 6c955a2678..2ffdff1e5e 100644 --- a/esp32p4/src/lp_ana/touch_pad10_th0.rs +++ b/esp32p4/src/lp_ana/touch_pad10_th0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad10_th0(&mut self) -> TOUCH_PAD10_TH0_W { TOUCH_PAD10_TH0_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad10_th1.rs b/esp32p4/src/lp_ana/touch_pad10_th1.rs index cf1b74c87f..73a0d7bd76 100644 --- a/esp32p4/src/lp_ana/touch_pad10_th1.rs +++ b/esp32p4/src/lp_ana/touch_pad10_th1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad10_th1(&mut self) -> TOUCH_PAD10_TH1_W { TOUCH_PAD10_TH1_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad10_th2.rs b/esp32p4/src/lp_ana/touch_pad10_th2.rs index 1c2112bfc1..06df05cd23 100644 --- a/esp32p4/src/lp_ana/touch_pad10_th2.rs +++ b/esp32p4/src/lp_ana/touch_pad10_th2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad10_th2(&mut self) -> TOUCH_PAD10_TH2_W { TOUCH_PAD10_TH2_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad11_th0.rs b/esp32p4/src/lp_ana/touch_pad11_th0.rs index 92c6da91e1..8de4af5766 100644 --- a/esp32p4/src/lp_ana/touch_pad11_th0.rs +++ b/esp32p4/src/lp_ana/touch_pad11_th0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad11_th0(&mut self) -> TOUCH_PAD11_TH0_W { TOUCH_PAD11_TH0_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad11_th1.rs b/esp32p4/src/lp_ana/touch_pad11_th1.rs index 8026060f83..18ffabd012 100644 --- a/esp32p4/src/lp_ana/touch_pad11_th1.rs +++ b/esp32p4/src/lp_ana/touch_pad11_th1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad11_th1(&mut self) -> TOUCH_PAD11_TH1_W { TOUCH_PAD11_TH1_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad11_th2.rs b/esp32p4/src/lp_ana/touch_pad11_th2.rs index b6e54a73eb..c5a96025ed 100644 --- a/esp32p4/src/lp_ana/touch_pad11_th2.rs +++ b/esp32p4/src/lp_ana/touch_pad11_th2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad11_th2(&mut self) -> TOUCH_PAD11_TH2_W { TOUCH_PAD11_TH2_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad12_th0.rs b/esp32p4/src/lp_ana/touch_pad12_th0.rs index 60bd0f2c6b..a764cea0b9 100644 --- a/esp32p4/src/lp_ana/touch_pad12_th0.rs +++ b/esp32p4/src/lp_ana/touch_pad12_th0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad12_th0(&mut self) -> TOUCH_PAD12_TH0_W { TOUCH_PAD12_TH0_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad12_th1.rs b/esp32p4/src/lp_ana/touch_pad12_th1.rs index 994f781b03..6eba123382 100644 --- a/esp32p4/src/lp_ana/touch_pad12_th1.rs +++ b/esp32p4/src/lp_ana/touch_pad12_th1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad12_th1(&mut self) -> TOUCH_PAD12_TH1_W { TOUCH_PAD12_TH1_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad12_th2.rs b/esp32p4/src/lp_ana/touch_pad12_th2.rs index 6a2e12fca0..a549f200e1 100644 --- a/esp32p4/src/lp_ana/touch_pad12_th2.rs +++ b/esp32p4/src/lp_ana/touch_pad12_th2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad12_th2(&mut self) -> TOUCH_PAD12_TH2_W { TOUCH_PAD12_TH2_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad13_th0.rs b/esp32p4/src/lp_ana/touch_pad13_th0.rs index 8766ce8dcb..f5befcd29f 100644 --- a/esp32p4/src/lp_ana/touch_pad13_th0.rs +++ b/esp32p4/src/lp_ana/touch_pad13_th0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad13_th0(&mut self) -> TOUCH_PAD13_TH0_W { TOUCH_PAD13_TH0_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad13_th1.rs b/esp32p4/src/lp_ana/touch_pad13_th1.rs index 16e2db435a..2b1047cdd7 100644 --- a/esp32p4/src/lp_ana/touch_pad13_th1.rs +++ b/esp32p4/src/lp_ana/touch_pad13_th1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad13_th1(&mut self) -> TOUCH_PAD13_TH1_W { TOUCH_PAD13_TH1_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad13_th2.rs b/esp32p4/src/lp_ana/touch_pad13_th2.rs index c1d5a242f6..05428c71b6 100644 --- a/esp32p4/src/lp_ana/touch_pad13_th2.rs +++ b/esp32p4/src/lp_ana/touch_pad13_th2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad13_th2(&mut self) -> TOUCH_PAD13_TH2_W { TOUCH_PAD13_TH2_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad14_th0.rs b/esp32p4/src/lp_ana/touch_pad14_th0.rs index c36cc70006..258193e165 100644 --- a/esp32p4/src/lp_ana/touch_pad14_th0.rs +++ b/esp32p4/src/lp_ana/touch_pad14_th0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad14_th0(&mut self) -> TOUCH_PAD14_TH0_W { TOUCH_PAD14_TH0_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad14_th1.rs b/esp32p4/src/lp_ana/touch_pad14_th1.rs index ca0e207bc6..b218b53370 100644 --- a/esp32p4/src/lp_ana/touch_pad14_th1.rs +++ b/esp32p4/src/lp_ana/touch_pad14_th1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad14_th1(&mut self) -> TOUCH_PAD14_TH1_W { TOUCH_PAD14_TH1_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad14_th2.rs b/esp32p4/src/lp_ana/touch_pad14_th2.rs index 8322e2bcc4..d4ff80258b 100644 --- a/esp32p4/src/lp_ana/touch_pad14_th2.rs +++ b/esp32p4/src/lp_ana/touch_pad14_th2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad14_th2(&mut self) -> TOUCH_PAD14_TH2_W { TOUCH_PAD14_TH2_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad1_th0.rs b/esp32p4/src/lp_ana/touch_pad1_th0.rs index 1d3d17a84a..5edaa64940 100644 --- a/esp32p4/src/lp_ana/touch_pad1_th0.rs +++ b/esp32p4/src/lp_ana/touch_pad1_th0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad1_th0(&mut self) -> TOUCH_PAD1_TH0_W { TOUCH_PAD1_TH0_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad1_th1.rs b/esp32p4/src/lp_ana/touch_pad1_th1.rs index 3d6be31938..6ec5111848 100644 --- a/esp32p4/src/lp_ana/touch_pad1_th1.rs +++ b/esp32p4/src/lp_ana/touch_pad1_th1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad1_th1(&mut self) -> TOUCH_PAD1_TH1_W { TOUCH_PAD1_TH1_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad1_th2.rs b/esp32p4/src/lp_ana/touch_pad1_th2.rs index d6cbaa3577..409fe474be 100644 --- a/esp32p4/src/lp_ana/touch_pad1_th2.rs +++ b/esp32p4/src/lp_ana/touch_pad1_th2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad1_th2(&mut self) -> TOUCH_PAD1_TH2_W { TOUCH_PAD1_TH2_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad2_th0.rs b/esp32p4/src/lp_ana/touch_pad2_th0.rs index 2322695f69..6d53362d8e 100644 --- a/esp32p4/src/lp_ana/touch_pad2_th0.rs +++ b/esp32p4/src/lp_ana/touch_pad2_th0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad2_th0(&mut self) -> TOUCH_PAD2_TH0_W { TOUCH_PAD2_TH0_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad2_th1.rs b/esp32p4/src/lp_ana/touch_pad2_th1.rs index b0ec7b69bb..e6a8ebfb01 100644 --- a/esp32p4/src/lp_ana/touch_pad2_th1.rs +++ b/esp32p4/src/lp_ana/touch_pad2_th1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad2_th1(&mut self) -> TOUCH_PAD2_TH1_W { TOUCH_PAD2_TH1_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad2_th2.rs b/esp32p4/src/lp_ana/touch_pad2_th2.rs index 4a8fe8f56e..25f3f281bd 100644 --- a/esp32p4/src/lp_ana/touch_pad2_th2.rs +++ b/esp32p4/src/lp_ana/touch_pad2_th2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad2_th2(&mut self) -> TOUCH_PAD2_TH2_W { TOUCH_PAD2_TH2_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad3_th0.rs b/esp32p4/src/lp_ana/touch_pad3_th0.rs index f8d0a2096d..1f49e3c9ee 100644 --- a/esp32p4/src/lp_ana/touch_pad3_th0.rs +++ b/esp32p4/src/lp_ana/touch_pad3_th0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad3_th0(&mut self) -> TOUCH_PAD3_TH0_W { TOUCH_PAD3_TH0_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad3_th1.rs b/esp32p4/src/lp_ana/touch_pad3_th1.rs index c50cad2bb3..b34ee73a1a 100644 --- a/esp32p4/src/lp_ana/touch_pad3_th1.rs +++ b/esp32p4/src/lp_ana/touch_pad3_th1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad3_th1(&mut self) -> TOUCH_PAD3_TH1_W { TOUCH_PAD3_TH1_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad3_th2.rs b/esp32p4/src/lp_ana/touch_pad3_th2.rs index a12138bd96..eebc5c1a10 100644 --- a/esp32p4/src/lp_ana/touch_pad3_th2.rs +++ b/esp32p4/src/lp_ana/touch_pad3_th2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad3_th2(&mut self) -> TOUCH_PAD3_TH2_W { TOUCH_PAD3_TH2_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad4_th0.rs b/esp32p4/src/lp_ana/touch_pad4_th0.rs index 630fba9155..55dbe4058e 100644 --- a/esp32p4/src/lp_ana/touch_pad4_th0.rs +++ b/esp32p4/src/lp_ana/touch_pad4_th0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad4_th0(&mut self) -> TOUCH_PAD4_TH0_W { TOUCH_PAD4_TH0_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad4_th1.rs b/esp32p4/src/lp_ana/touch_pad4_th1.rs index c2f6a64ee8..180af19a48 100644 --- a/esp32p4/src/lp_ana/touch_pad4_th1.rs +++ b/esp32p4/src/lp_ana/touch_pad4_th1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad4_th1(&mut self) -> TOUCH_PAD4_TH1_W { TOUCH_PAD4_TH1_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad4_th2.rs b/esp32p4/src/lp_ana/touch_pad4_th2.rs index 40be49c4d2..64ba0eb452 100644 --- a/esp32p4/src/lp_ana/touch_pad4_th2.rs +++ b/esp32p4/src/lp_ana/touch_pad4_th2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad4_th2(&mut self) -> TOUCH_PAD4_TH2_W { TOUCH_PAD4_TH2_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad5_th0.rs b/esp32p4/src/lp_ana/touch_pad5_th0.rs index e114109318..5a6ca8c6e1 100644 --- a/esp32p4/src/lp_ana/touch_pad5_th0.rs +++ b/esp32p4/src/lp_ana/touch_pad5_th0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad5_th0(&mut self) -> TOUCH_PAD5_TH0_W { TOUCH_PAD5_TH0_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad5_th1.rs b/esp32p4/src/lp_ana/touch_pad5_th1.rs index a418f513dd..1dd3dbdeff 100644 --- a/esp32p4/src/lp_ana/touch_pad5_th1.rs +++ b/esp32p4/src/lp_ana/touch_pad5_th1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad5_th1(&mut self) -> TOUCH_PAD5_TH1_W { TOUCH_PAD5_TH1_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad5_th2.rs b/esp32p4/src/lp_ana/touch_pad5_th2.rs index ec93ee2692..6100c334eb 100644 --- a/esp32p4/src/lp_ana/touch_pad5_th2.rs +++ b/esp32p4/src/lp_ana/touch_pad5_th2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad5_th2(&mut self) -> TOUCH_PAD5_TH2_W { TOUCH_PAD5_TH2_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad6_th0.rs b/esp32p4/src/lp_ana/touch_pad6_th0.rs index 5144eb0d28..3f5f262804 100644 --- a/esp32p4/src/lp_ana/touch_pad6_th0.rs +++ b/esp32p4/src/lp_ana/touch_pad6_th0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad6_th0(&mut self) -> TOUCH_PAD6_TH0_W { TOUCH_PAD6_TH0_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad6_th1.rs b/esp32p4/src/lp_ana/touch_pad6_th1.rs index 5a8db0a74a..ef85d1aa71 100644 --- a/esp32p4/src/lp_ana/touch_pad6_th1.rs +++ b/esp32p4/src/lp_ana/touch_pad6_th1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad6_th1(&mut self) -> TOUCH_PAD6_TH1_W { TOUCH_PAD6_TH1_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad6_th2.rs b/esp32p4/src/lp_ana/touch_pad6_th2.rs index 4f8991ef3e..7d1f95deef 100644 --- a/esp32p4/src/lp_ana/touch_pad6_th2.rs +++ b/esp32p4/src/lp_ana/touch_pad6_th2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad6_th2(&mut self) -> TOUCH_PAD6_TH2_W { TOUCH_PAD6_TH2_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad7_th0.rs b/esp32p4/src/lp_ana/touch_pad7_th0.rs index 4236d208e6..a2b919df61 100644 --- a/esp32p4/src/lp_ana/touch_pad7_th0.rs +++ b/esp32p4/src/lp_ana/touch_pad7_th0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad7_th0(&mut self) -> TOUCH_PAD7_TH0_W { TOUCH_PAD7_TH0_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad7_th1.rs b/esp32p4/src/lp_ana/touch_pad7_th1.rs index 07e3321222..d8ded748bf 100644 --- a/esp32p4/src/lp_ana/touch_pad7_th1.rs +++ b/esp32p4/src/lp_ana/touch_pad7_th1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad7_th1(&mut self) -> TOUCH_PAD7_TH1_W { TOUCH_PAD7_TH1_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad7_th2.rs b/esp32p4/src/lp_ana/touch_pad7_th2.rs index c47e0c3ed6..652d0b034f 100644 --- a/esp32p4/src/lp_ana/touch_pad7_th2.rs +++ b/esp32p4/src/lp_ana/touch_pad7_th2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad7_th2(&mut self) -> TOUCH_PAD7_TH2_W { TOUCH_PAD7_TH2_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad8_th0.rs b/esp32p4/src/lp_ana/touch_pad8_th0.rs index 5c2d133ccd..727ede0cb6 100644 --- a/esp32p4/src/lp_ana/touch_pad8_th0.rs +++ b/esp32p4/src/lp_ana/touch_pad8_th0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad8_th0(&mut self) -> TOUCH_PAD8_TH0_W { TOUCH_PAD8_TH0_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad8_th1.rs b/esp32p4/src/lp_ana/touch_pad8_th1.rs index af58580426..a3eb61a16e 100644 --- a/esp32p4/src/lp_ana/touch_pad8_th1.rs +++ b/esp32p4/src/lp_ana/touch_pad8_th1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad8_th1(&mut self) -> TOUCH_PAD8_TH1_W { TOUCH_PAD8_TH1_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad8_th2.rs b/esp32p4/src/lp_ana/touch_pad8_th2.rs index ed06aac757..7832b53659 100644 --- a/esp32p4/src/lp_ana/touch_pad8_th2.rs +++ b/esp32p4/src/lp_ana/touch_pad8_th2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad8_th2(&mut self) -> TOUCH_PAD8_TH2_W { TOUCH_PAD8_TH2_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad9_th0.rs b/esp32p4/src/lp_ana/touch_pad9_th0.rs index 78b515b6c7..8fbb139c17 100644 --- a/esp32p4/src/lp_ana/touch_pad9_th0.rs +++ b/esp32p4/src/lp_ana/touch_pad9_th0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad9_th0(&mut self) -> TOUCH_PAD9_TH0_W { TOUCH_PAD9_TH0_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad9_th1.rs b/esp32p4/src/lp_ana/touch_pad9_th1.rs index 60c6b8365e..2b457d4d7a 100644 --- a/esp32p4/src/lp_ana/touch_pad9_th1.rs +++ b/esp32p4/src/lp_ana/touch_pad9_th1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad9_th1(&mut self) -> TOUCH_PAD9_TH1_W { TOUCH_PAD9_TH1_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_pad9_th2.rs b/esp32p4/src/lp_ana/touch_pad9_th2.rs index 730ae9ed8d..04242b3b22 100644 --- a/esp32p4/src/lp_ana/touch_pad9_th2.rs +++ b/esp32p4/src/lp_ana/touch_pad9_th2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - Reserved"] #[inline(always)] - #[must_use] pub fn touch_pad9_th2(&mut self) -> TOUCH_PAD9_TH2_W { TOUCH_PAD9_TH2_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_scan_ctrl1.rs b/esp32p4/src/lp_ana/touch_scan_ctrl1.rs index 7820bbfec9..b482da855d 100644 --- a/esp32p4/src/lp_ana/touch_scan_ctrl1.rs +++ b/esp32p4/src/lp_ana/touch_scan_ctrl1.rs @@ -57,13 +57,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn touch_shield_pad_en(&mut self) -> TOUCH_SHIELD_PAD_EN_W { TOUCH_SHIELD_PAD_EN_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn touch_inactive_connection( &mut self, ) -> TOUCH_INACTIVE_CONNECTION_W { @@ -71,13 +69,11 @@ impl W { } #[doc = "Bits 2:16 - need_des"] #[inline(always)] - #[must_use] pub fn touch_scan_pad_map(&mut self) -> TOUCH_SCAN_PAD_MAP_W { TOUCH_SCAN_PAD_MAP_W::new(self, 2) } #[doc = "Bits 17:31 - need_des"] #[inline(always)] - #[must_use] pub fn touch_xpd_wait(&mut self) -> TOUCH_XPD_WAIT_W { TOUCH_XPD_WAIT_W::new(self, 17) } diff --git a/esp32p4/src/lp_ana/touch_scan_ctrl2.rs b/esp32p4/src/lp_ana/touch_scan_ctrl2.rs index cf9afa6fbb..dee26bbfe1 100644 --- a/esp32p4/src/lp_ana/touch_scan_ctrl2.rs +++ b/esp32p4/src/lp_ana/touch_scan_ctrl2.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 6:21 - need_des"] #[inline(always)] - #[must_use] pub fn touch_timeout_num(&mut self) -> TOUCH_TIMEOUT_NUM_W { TOUCH_TIMEOUT_NUM_W::new(self, 6) } #[doc = "Bit 22 - need_des"] #[inline(always)] - #[must_use] pub fn touch_timeout_en(&mut self) -> TOUCH_TIMEOUT_EN_W { TOUCH_TIMEOUT_EN_W::new(self, 22) } #[doc = "Bits 23:26 - need_des"] #[inline(always)] - #[must_use] pub fn touch_out_ring(&mut self) -> TOUCH_OUT_RING_W { TOUCH_OUT_RING_W::new(self, 23) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn freq_scan_en(&mut self) -> FREQ_SCAN_EN_W { FREQ_SCAN_EN_W::new(self, 27) } #[doc = "Bits 28:29 - need_des"] #[inline(always)] - #[must_use] pub fn freq_scan_cnt_limit(&mut self) -> FREQ_SCAN_CNT_LIMIT_W { FREQ_SCAN_CNT_LIMIT_W::new(self, 28) } diff --git a/esp32p4/src/lp_ana/touch_slp0.rs b/esp32p4/src/lp_ana/touch_slp0.rs index 3908b5d97c..16ec600bfc 100644 --- a/esp32p4/src/lp_ana/touch_slp0.rs +++ b/esp32p4/src/lp_ana/touch_slp0.rs @@ -36,19 +36,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - need_des"] #[inline(always)] - #[must_use] pub fn touch_slp_th0(&mut self) -> TOUCH_SLP_TH0_W { TOUCH_SLP_TH0_W::new(self, 0) } #[doc = "Bit 16 - need_des"] #[inline(always)] - #[must_use] pub fn touch_slp_channel_clr(&mut self) -> TOUCH_SLP_CHANNEL_CLR_W { TOUCH_SLP_CHANNEL_CLR_W::new(self, 16) } #[doc = "Bits 17:20 - need_des"] #[inline(always)] - #[must_use] pub fn touch_slp_pad(&mut self) -> TOUCH_SLP_PAD_W { TOUCH_SLP_PAD_W::new(self, 17) } diff --git a/esp32p4/src/lp_ana/touch_slp1.rs b/esp32p4/src/lp_ana/touch_slp1.rs index daf06c0829..d43db5a138 100644 --- a/esp32p4/src/lp_ana/touch_slp1.rs +++ b/esp32p4/src/lp_ana/touch_slp1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - need_des"] #[inline(always)] - #[must_use] pub fn touch_slp_th2(&mut self) -> TOUCH_SLP_TH2_W { TOUCH_SLP_TH2_W::new(self, 0) } #[doc = "Bits 16:31 - need_des"] #[inline(always)] - #[must_use] pub fn touch_slp_th1(&mut self) -> TOUCH_SLP_TH1_W { TOUCH_SLP_TH1_W::new(self, 16) } diff --git a/esp32p4/src/lp_ana/touch_work.rs b/esp32p4/src/lp_ana/touch_work.rs index 949576f69e..7f768bbf86 100644 --- a/esp32p4/src/lp_ana/touch_work.rs +++ b/esp32p4/src/lp_ana/touch_work.rs @@ -66,37 +66,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:18 - need_des"] #[inline(always)] - #[must_use] pub fn div_num2(&mut self) -> DIV_NUM2_W { DIV_NUM2_W::new(self, 16) } #[doc = "Bits 19:21 - need_des"] #[inline(always)] - #[must_use] pub fn div_num1(&mut self) -> DIV_NUM1_W { DIV_NUM1_W::new(self, 19) } #[doc = "Bits 22:24 - need_des"] #[inline(always)] - #[must_use] pub fn div_num0(&mut self) -> DIV_NUM0_W { DIV_NUM0_W::new(self, 22) } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn touch_out_sel(&mut self) -> TOUCH_OUT_SEL_W { TOUCH_OUT_SEL_W::new(self, 25) } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn touch_out_reset(&mut self) -> TOUCH_OUT_RESET_W { TOUCH_OUT_RESET_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn touch_out_gate(&mut self) -> TOUCH_OUT_GATE_W { TOUCH_OUT_GATE_W::new(self, 27) } diff --git a/esp32p4/src/lp_ana/touch_work_meas_num.rs b/esp32p4/src/lp_ana/touch_work_meas_num.rs index d613f36fa8..4e7dacf31e 100644 --- a/esp32p4/src/lp_ana/touch_work_meas_num.rs +++ b/esp32p4/src/lp_ana/touch_work_meas_num.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - need_des"] #[inline(always)] - #[must_use] pub fn touch_meas_num2(&mut self) -> TOUCH_MEAS_NUM2_W { TOUCH_MEAS_NUM2_W::new(self, 0) } #[doc = "Bits 10:19 - need_des"] #[inline(always)] - #[must_use] pub fn touch_meas_num1(&mut self) -> TOUCH_MEAS_NUM1_W { TOUCH_MEAS_NUM1_W::new(self, 10) } #[doc = "Bits 20:29 - need_des"] #[inline(always)] - #[must_use] pub fn touch_meas_num0(&mut self) -> TOUCH_MEAS_NUM0_W { TOUCH_MEAS_NUM0_W::new(self, 20) } diff --git a/esp32p4/src/lp_ana/vdd_source_cntl.rs b/esp32p4/src/lp_ana/vdd_source_cntl.rs index 7b34edb761..12eb08e0e2 100644 --- a/esp32p4/src/lp_ana/vdd_source_cntl.rs +++ b/esp32p4/src/lp_ana/vdd_source_cntl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - need_des"] #[inline(always)] - #[must_use] pub fn detmode_sel(&mut self) -> DETMODE_SEL_W { DETMODE_SEL_W::new(self, 0) } #[doc = "Bits 16:23 - need_des"] #[inline(always)] - #[must_use] pub fn vbat_event_record_clr(&mut self) -> VBAT_EVENT_RECORD_CLR_W { VBAT_EVENT_RECORD_CLR_W::new(self, 16) } #[doc = "Bits 24:31 - need_des"] #[inline(always)] - #[must_use] pub fn bod_source_ena(&mut self) -> BOD_SOURCE_ENA_W { BOD_SOURCE_ENA_W::new(self, 24) } diff --git a/esp32p4/src/lp_ana/vddbat_bod_cntl.rs b/esp32p4/src/lp_ana/vddbat_bod_cntl.rs index 2a624c3691..d0c2203002 100644 --- a/esp32p4/src/lp_ana/vddbat_bod_cntl.rs +++ b/esp32p4/src/lp_ana/vddbat_bod_cntl.rs @@ -65,25 +65,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 10 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_charger(&mut self) -> VDDBAT_CHARGER_W { VDDBAT_CHARGER_W::new(self, 10) } #[doc = "Bit 11 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_cnt_clr(&mut self) -> VDDBAT_CNT_CLR_W { VDDBAT_CNT_CLR_W::new(self, 11) } #[doc = "Bits 12:21 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_upvoltage_target(&mut self) -> VDDBAT_UPVOLTAGE_TARGET_W { VDDBAT_UPVOLTAGE_TARGET_W::new(self, 12) } #[doc = "Bits 22:31 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_undervoltage_target( &mut self, ) -> VDDBAT_UNDERVOLTAGE_TARGET_W { diff --git a/esp32p4/src/lp_ana/vddbat_charge_cntl.rs b/esp32p4/src/lp_ana/vddbat_charge_cntl.rs index c27668e8ff..b21be01f93 100644 --- a/esp32p4/src/lp_ana/vddbat_charge_cntl.rs +++ b/esp32p4/src/lp_ana/vddbat_charge_cntl.rs @@ -71,19 +71,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 10 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_charge_charger(&mut self) -> VDDBAT_CHARGE_CHARGER_W { VDDBAT_CHARGE_CHARGER_W::new(self, 10) } #[doc = "Bit 11 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_charge_cnt_clr(&mut self) -> VDDBAT_CHARGE_CNT_CLR_W { VDDBAT_CHARGE_CNT_CLR_W::new(self, 11) } #[doc = "Bits 12:21 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_charge_upvoltage_target( &mut self, ) -> VDDBAT_CHARGE_UPVOLTAGE_TARGET_W { @@ -91,7 +88,6 @@ impl W { } #[doc = "Bits 22:31 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_charge_undervoltage_target( &mut self, ) -> VDDBAT_CHARGE_UNDERVOLTAGE_TARGET_W { diff --git a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_clk_to_hp.rs b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_clk_to_hp.rs index bb930c2060..3326f87422 100644 --- a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_clk_to_hp.rs +++ b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_clk_to_hp.rs @@ -60,7 +60,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 28 - reserved"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_icg_hp_xtal32k( &mut self, ) -> LP_AONCLKRST_ICG_HP_XTAL32K_W { @@ -68,7 +67,6 @@ impl W { } #[doc = "Bit 29 - reserved"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_icg_hp_sosc( &mut self, ) -> LP_AONCLKRST_ICG_HP_SOSC_W { @@ -76,7 +74,6 @@ impl W { } #[doc = "Bit 30 - reserved"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_icg_hp_osc32k( &mut self, ) -> LP_AONCLKRST_ICG_HP_OSC32K_W { @@ -84,7 +81,6 @@ impl W { } #[doc = "Bit 31 - reserved"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_icg_hp_fosc( &mut self, ) -> LP_AONCLKRST_ICG_HP_FOSC_W { diff --git a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_date.rs b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_date.rs index e6417db8a8..a0e879152d 100644 --- a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_date.rs +++ b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_clk_en(&mut self) -> LP_AONCLKRST_CLK_EN_W { LP_AONCLKRST_CLK_EN_W::new(self, 31) } diff --git a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_fosc_cntl.rs b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_fosc_cntl.rs index ce12186971..9a50ea862e 100644 --- a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_fosc_cntl.rs +++ b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_fosc_cntl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 22:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_fosc_dfreq( &mut self, ) -> LP_AONCLKRST_FOSC_DFREQ_W { diff --git a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_hp_clk_ctrl.rs b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_hp_clk_ctrl.rs index 320039b8a1..8dba5af6ee 100644 --- a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_hp_clk_ctrl.rs +++ b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_hp_clk_ctrl.rs @@ -378,7 +378,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - HP SoC Root Clock Source Select. 2'd0: xtal_40m, 2'd1: cpll_400m, 2'd2: fosc_20m."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hp_root_clk_src_sel( &mut self, ) -> LP_AONCLKRST_HP_ROOT_CLK_SRC_SEL_W { @@ -386,7 +385,6 @@ impl W { } #[doc = "Bit 2 - HP SoC Root Clock Enable."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hp_root_clk_en( &mut self, ) -> LP_AONCLKRST_HP_ROOT_CLK_EN_W { @@ -394,7 +392,6 @@ impl W { } #[doc = "Bit 3 - PARLIO TX Clock From Pad Enable."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hp_pad_parlio_tx_clk_en( &mut self, ) -> LP_AONCLKRST_HP_PAD_PARLIO_TX_CLK_EN_W { @@ -402,7 +399,6 @@ impl W { } #[doc = "Bit 4 - PARLIO RX Clock From Pad Enable."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hp_pad_parlio_rx_clk_en( &mut self, ) -> LP_AONCLKRST_HP_PAD_PARLIO_RX_CLK_EN_W { @@ -410,7 +406,6 @@ impl W { } #[doc = "Bit 5 - UART4 SLP Clock From Pad Enable."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hp_pad_uart4_slp_clk_en( &mut self, ) -> LP_AONCLKRST_HP_PAD_UART4_SLP_CLK_EN_W { @@ -418,7 +413,6 @@ impl W { } #[doc = "Bit 6 - UART3 SLP Clock From Pad Enable."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hp_pad_uart3_slp_clk_en( &mut self, ) -> LP_AONCLKRST_HP_PAD_UART3_SLP_CLK_EN_W { @@ -426,7 +420,6 @@ impl W { } #[doc = "Bit 7 - UART2 SLP Clock From Pad Enable."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hp_pad_uart2_slp_clk_en( &mut self, ) -> LP_AONCLKRST_HP_PAD_UART2_SLP_CLK_EN_W { @@ -434,7 +427,6 @@ impl W { } #[doc = "Bit 8 - UART1 SLP Clock From Pad Enable."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hp_pad_uart1_slp_clk_en( &mut self, ) -> LP_AONCLKRST_HP_PAD_UART1_SLP_CLK_EN_W { @@ -442,7 +434,6 @@ impl W { } #[doc = "Bit 9 - UART0 SLP Clock From Pad Enable."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hp_pad_uart0_slp_clk_en( &mut self, ) -> LP_AONCLKRST_HP_PAD_UART0_SLP_CLK_EN_W { @@ -450,7 +441,6 @@ impl W { } #[doc = "Bit 10 - I2S2 MCLK Clock From Pad Enable."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hp_pad_i2s2_mclk_en( &mut self, ) -> LP_AONCLKRST_HP_PAD_I2S2_MCLK_EN_W { @@ -458,7 +448,6 @@ impl W { } #[doc = "Bit 11 - I2S1 MCLK Clock From Pad Enable."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hp_pad_i2s1_mclk_en( &mut self, ) -> LP_AONCLKRST_HP_PAD_I2S1_MCLK_EN_W { @@ -466,7 +455,6 @@ impl W { } #[doc = "Bit 12 - I2S0 MCLK Clock From Pad Enable."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hp_pad_i2s0_mclk_en( &mut self, ) -> LP_AONCLKRST_HP_PAD_I2S0_MCLK_EN_W { @@ -474,7 +462,6 @@ impl W { } #[doc = "Bit 13 - EMAC RX Clock From Pad Enable."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hp_pad_emac_tx_clk_en( &mut self, ) -> LP_AONCLKRST_HP_PAD_EMAC_TX_CLK_EN_W { @@ -482,7 +469,6 @@ impl W { } #[doc = "Bit 14 - EMAC TX Clock From Pad Enable."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hp_pad_emac_rx_clk_en( &mut self, ) -> LP_AONCLKRST_HP_PAD_EMAC_RX_CLK_EN_W { @@ -490,7 +476,6 @@ impl W { } #[doc = "Bit 15 - EMAC TXRX Clock From Pad Enable."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hp_pad_emac_txrx_clk_en( &mut self, ) -> LP_AONCLKRST_HP_PAD_EMAC_TXRX_CLK_EN_W { @@ -498,7 +483,6 @@ impl W { } #[doc = "Bit 16 - XTAL 32K Clock Enable."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hp_xtal_32k_clk_en( &mut self, ) -> LP_AONCLKRST_HP_XTAL_32K_CLK_EN_W { @@ -506,7 +490,6 @@ impl W { } #[doc = "Bit 17 - RC 32K Clock Enable."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hp_rc_32k_clk_en( &mut self, ) -> LP_AONCLKRST_HP_RC_32K_CLK_EN_W { @@ -514,7 +497,6 @@ impl W { } #[doc = "Bit 18 - SOSC 150K Clock Enable."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hp_sosc_150k_clk_en( &mut self, ) -> LP_AONCLKRST_HP_SOSC_150K_CLK_EN_W { @@ -522,7 +504,6 @@ impl W { } #[doc = "Bit 19 - PLL 8M Clock Enable."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hp_pll_8m_clk_en( &mut self, ) -> LP_AONCLKRST_HP_PLL_8M_CLK_EN_W { @@ -530,7 +511,6 @@ impl W { } #[doc = "Bit 20 - AUDIO PLL Clock Enable."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hp_audio_pll_clk_en( &mut self, ) -> LP_AONCLKRST_HP_AUDIO_PLL_CLK_EN_W { @@ -538,7 +518,6 @@ impl W { } #[doc = "Bit 21 - SDIO PLL2 Clock Enable."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hp_sdio_pll2_clk_en( &mut self, ) -> LP_AONCLKRST_HP_SDIO_PLL2_CLK_EN_W { @@ -546,7 +525,6 @@ impl W { } #[doc = "Bit 22 - SDIO PLL1 Clock Enable."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hp_sdio_pll1_clk_en( &mut self, ) -> LP_AONCLKRST_HP_SDIO_PLL1_CLK_EN_W { @@ -554,7 +532,6 @@ impl W { } #[doc = "Bit 23 - SDIO PLL0 Clock Enable."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hp_sdio_pll0_clk_en( &mut self, ) -> LP_AONCLKRST_HP_SDIO_PLL0_CLK_EN_W { @@ -562,7 +539,6 @@ impl W { } #[doc = "Bit 24 - FOSC 20M Clock Enable."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hp_fosc_20m_clk_en( &mut self, ) -> LP_AONCLKRST_HP_FOSC_20M_CLK_EN_W { @@ -570,7 +546,6 @@ impl W { } #[doc = "Bit 25 - XTAL 40M Clock Enalbe."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hp_xtal_40m_clk_en( &mut self, ) -> LP_AONCLKRST_HP_XTAL_40M_CLK_EN_W { @@ -578,7 +553,6 @@ impl W { } #[doc = "Bit 26 - CPLL 400M Clock Enable."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hp_cpll_400m_clk_en( &mut self, ) -> LP_AONCLKRST_HP_CPLL_400M_CLK_EN_W { @@ -586,7 +560,6 @@ impl W { } #[doc = "Bit 27 - SPLL 480M Clock Enable."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hp_spll_480m_clk_en( &mut self, ) -> LP_AONCLKRST_HP_SPLL_480M_CLK_EN_W { @@ -594,7 +567,6 @@ impl W { } #[doc = "Bit 28 - MPLL 500M Clock Enable."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hp_mpll_500m_clk_en( &mut self, ) -> LP_AONCLKRST_HP_MPLL_500M_CLK_EN_W { diff --git a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_hp_sdmmc_emac_rst_ctrl.rs b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_hp_sdmmc_emac_rst_ctrl.rs index d937c402a9..aef0e7b4e7 100644 --- a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_hp_sdmmc_emac_rst_ctrl.rs +++ b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_hp_sdmmc_emac_rst_ctrl.rs @@ -63,7 +63,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 28 - hp sdmmc reset en"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_rst_en_sdmmc( &mut self, ) -> LP_AONCLKRST_RST_EN_SDMMC_W { @@ -71,7 +70,6 @@ impl W { } #[doc = "Bit 29 - hp sdmmc force norst"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_force_norst_sdmmc( &mut self, ) -> LP_AONCLKRST_FORCE_NORST_SDMMC_W { @@ -79,7 +77,6 @@ impl W { } #[doc = "Bit 30 - hp emac reset en"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_rst_en_emac( &mut self, ) -> LP_AONCLKRST_RST_EN_EMAC_W { @@ -87,7 +84,6 @@ impl W { } #[doc = "Bit 31 - hp emac force norst"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_force_norst_emac( &mut self, ) -> LP_AONCLKRST_FORCE_NORST_EMAC_W { diff --git a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_hp_usb_clkrst_ctrl0.rs b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_hp_usb_clkrst_ctrl0.rs index 4043b69ab8..c86b456b39 100644 --- a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_hp_usb_clkrst_ctrl0.rs +++ b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_hp_usb_clkrst_ctrl0.rs @@ -131,7 +131,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - unused."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_usb_otg20_sleep_mode( &mut self, ) -> LP_AONCLKRST_USB_OTG20_SLEEP_MODE_W { @@ -139,7 +138,6 @@ impl W { } #[doc = "Bit 1 - unused."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_usb_otg20_bk_sys_clk_en( &mut self, ) -> LP_AONCLKRST_USB_OTG20_BK_SYS_CLK_EN_W { @@ -147,7 +145,6 @@ impl W { } #[doc = "Bit 2 - unused."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_usb_otg11_sleep_mode( &mut self, ) -> LP_AONCLKRST_USB_OTG11_SLEEP_MODE_W { @@ -155,7 +152,6 @@ impl W { } #[doc = "Bit 3 - unused."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_usb_otg11_bk_sys_clk_en( &mut self, ) -> LP_AONCLKRST_USB_OTG11_BK_SYS_CLK_EN_W { @@ -163,7 +159,6 @@ impl W { } #[doc = "Bit 4 - usb otg11 fs phy clock enable."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_usb_otg11_48m_clk_en( &mut self, ) -> LP_AONCLKRST_USB_OTG11_48M_CLK_EN_W { @@ -171,7 +166,6 @@ impl W { } #[doc = "Bit 5 - usb device fs phy clock enable."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_usb_device_48m_clk_en( &mut self, ) -> LP_AONCLKRST_USB_DEVICE_48M_CLK_EN_W { @@ -179,7 +173,6 @@ impl W { } #[doc = "Bits 6:13 - usb 480m to 25m divide number."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_usb_48m_div_num( &mut self, ) -> LP_AONCLKRST_USB_48M_DIV_NUM_W { @@ -187,7 +180,6 @@ impl W { } #[doc = "Bits 14:21 - usb 500m to 25m divide number."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_usb_25m_div_num( &mut self, ) -> LP_AONCLKRST_USB_25M_DIV_NUM_W { @@ -195,7 +187,6 @@ impl W { } #[doc = "Bits 22:29 - usb 480m to 12m divide number."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_usb_12m_div_num( &mut self, ) -> LP_AONCLKRST_USB_12M_DIV_NUM_W { diff --git a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_hp_usb_clkrst_ctrl1.rs b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_hp_usb_clkrst_ctrl1.rs index f1e2fe9fee..8f5c866853 100644 --- a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_hp_usb_clkrst_ctrl1.rs +++ b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_hp_usb_clkrst_ctrl1.rs @@ -120,7 +120,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - usb otg20 adp reset en"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_rst_en_usb_otg20_adp( &mut self, ) -> LP_AONCLKRST_RST_EN_USB_OTG20_ADP_W { @@ -128,7 +127,6 @@ impl W { } #[doc = "Bit 1 - usb otg20 phy reset en"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_rst_en_usb_otg20_phy( &mut self, ) -> LP_AONCLKRST_RST_EN_USB_OTG20_PHY_W { @@ -136,7 +134,6 @@ impl W { } #[doc = "Bit 2 - usb otg20 reset en"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_rst_en_usb_otg20( &mut self, ) -> LP_AONCLKRST_RST_EN_USB_OTG20_W { @@ -144,7 +141,6 @@ impl W { } #[doc = "Bit 3 - usb org11 reset en"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_rst_en_usb_otg11( &mut self, ) -> LP_AONCLKRST_RST_EN_USB_OTG11_W { @@ -152,7 +148,6 @@ impl W { } #[doc = "Bit 4 - usb device reset en"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_rst_en_usb_device( &mut self, ) -> LP_AONCLKRST_RST_EN_USB_DEVICE_W { @@ -160,7 +155,6 @@ impl W { } #[doc = "Bits 28:29 - usb otg20 hs phy src sel. 2'd0: 12m, 2'd1: 25m, 2'd2: pad_hsphy_refclk."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_usb_otg20_phyref_clk_src_sel( &mut self, ) -> LP_AONCLKRST_USB_OTG20_PHYREF_CLK_SRC_SEL_W { @@ -168,7 +162,6 @@ impl W { } #[doc = "Bit 30 - usb otg20 hs phy refclk enable."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_usb_otg20_phyref_clk_en( &mut self, ) -> LP_AONCLKRST_USB_OTG20_PHYREF_CLK_EN_W { @@ -176,7 +169,6 @@ impl W { } #[doc = "Bit 31 - usb otg20 ulpi clock enable."] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_usb_otg20_ulpi_clk_en( &mut self, ) -> LP_AONCLKRST_USB_OTG20_ULPI_CLK_EN_W { diff --git a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_hpcpu_reset_ctrl0.rs b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_hpcpu_reset_ctrl0.rs index d9aa1a773e..7d6255d2cc 100644 --- a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_hpcpu_reset_ctrl0.rs +++ b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_hpcpu_reset_ctrl0.rs @@ -208,7 +208,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - write 1 to enable hpcore0 lockup reset feature, write 0 to disable hpcore0 lockup reset feature"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hpcore0_lockup_reset_en( &mut self, ) -> LP_AONCLKRST_HPCORE0_LOCKUP_RESET_EN_W { @@ -216,7 +215,6 @@ impl W { } #[doc = "Bits 1:3 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_lp_wdt_hpcore0_reset_length( &mut self, ) -> LP_AONCLKRST_LP_WDT_HPCORE0_RESET_LENGTH_W { @@ -224,7 +222,6 @@ impl W { } #[doc = "Bit 4 - write 1 to enable lp_wdt reset hpcore0 feature, write 0 to disable lp_wdt reset hpcore0 feature"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_lp_wdt_hpcore0_reset_en( &mut self, ) -> LP_AONCLKRST_LP_WDT_HPCORE0_RESET_EN_W { @@ -232,7 +229,6 @@ impl W { } #[doc = "Bits 5:11 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hpcore0_stall_wait( &mut self, ) -> LP_AONCLKRST_HPCORE0_STALL_WAIT_W { @@ -240,7 +236,6 @@ impl W { } #[doc = "Bit 12 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hpcore0_stall_en( &mut self, ) -> LP_AONCLKRST_HPCORE0_STALL_EN_W { @@ -248,7 +243,6 @@ impl W { } #[doc = "Bit 13 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hpcore0_sw_reset( &mut self, ) -> LP_AONCLKRST_HPCORE0_SW_RESET_W { @@ -256,7 +250,6 @@ impl W { } #[doc = "Bit 14 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hpcore0_ocd_halt_on_reset( &mut self, ) -> LP_AONCLKRST_HPCORE0_OCD_HALT_ON_RESET_W { @@ -264,7 +257,6 @@ impl W { } #[doc = "Bit 15 - 1'b1: boot from HP TCM ROM: 0x4FC00000 1'b0: boot from LP TCM RAM: 0x50108000"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hpcore0_stat_vector_sel( &mut self, ) -> LP_AONCLKRST_HPCORE0_STAT_VECTOR_SEL_W { @@ -272,7 +264,6 @@ impl W { } #[doc = "Bit 16 - write 1 to enable hpcore1 lockup reset feature, write 0 to disable hpcore1 lockup reset feature"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hpcore1_lockup_reset_en( &mut self, ) -> LP_AONCLKRST_HPCORE1_LOCKUP_RESET_EN_W { @@ -280,7 +271,6 @@ impl W { } #[doc = "Bits 17:19 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_lp_wdt_hpcore1_reset_length( &mut self, ) -> LP_AONCLKRST_LP_WDT_HPCORE1_RESET_LENGTH_W { @@ -288,7 +278,6 @@ impl W { } #[doc = "Bit 20 - write 1 to enable lp_wdt reset hpcore1 feature, write 0 to disable lp_wdt reset hpcore1 feature"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_lp_wdt_hpcore1_reset_en( &mut self, ) -> LP_AONCLKRST_LP_WDT_HPCORE1_RESET_EN_W { @@ -296,7 +285,6 @@ impl W { } #[doc = "Bits 21:27 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hpcore1_stall_wait( &mut self, ) -> LP_AONCLKRST_HPCORE1_STALL_WAIT_W { @@ -304,7 +292,6 @@ impl W { } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hpcore1_stall_en( &mut self, ) -> LP_AONCLKRST_HPCORE1_STALL_EN_W { @@ -312,7 +299,6 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hpcore1_sw_reset( &mut self, ) -> LP_AONCLKRST_HPCORE1_SW_RESET_W { @@ -320,7 +306,6 @@ impl W { } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hpcore1_ocd_halt_on_reset( &mut self, ) -> LP_AONCLKRST_HPCORE1_OCD_HALT_ON_RESET_W { @@ -328,7 +313,6 @@ impl W { } #[doc = "Bit 31 - 1'b1: boot from HP TCM ROM: 0x4FC00000 1'b0: boot from LP TCM RAM: 0x50108000"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hpcore1_stat_vector_sel( &mut self, ) -> LP_AONCLKRST_HPCORE1_STAT_VECTOR_SEL_W { diff --git a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_hpcpu_reset_ctrl1.rs b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_hpcpu_reset_ctrl1.rs index 997233f8f0..ee98510296 100644 --- a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_hpcpu_reset_ctrl1.rs +++ b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_hpcpu_reset_ctrl1.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:23 - HP core0 software stall when set to 8'h86"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hpcore0_sw_stall_code( &mut self, ) -> LP_AONCLKRST_HPCORE0_SW_STALL_CODE_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bits 24:31 - HP core1 software stall when set to 8'h86"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hpcore1_sw_stall_code( &mut self, ) -> LP_AONCLKRST_HPCORE1_SW_STALL_CODE_W { diff --git a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_hpsys_0_reset_bypass.rs b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_hpsys_0_reset_bypass.rs index 583d3c0f61..2c2c4e1a66 100644 --- a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_hpsys_0_reset_bypass.rs +++ b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_hpsys_0_reset_bypass.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reserved"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hpsys_0_reset_bypass( &mut self, ) -> LP_AONCLKRST_HPSYS_0_RESET_BYPASS_W { diff --git a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_hpsys_apm_reset_bypass.rs b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_hpsys_apm_reset_bypass.rs index 6d76b0bbf6..89a0f1ad3c 100644 --- a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_hpsys_apm_reset_bypass.rs +++ b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_hpsys_apm_reset_bypass.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reserved"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hpsys_apm_reset_bypass( &mut self, ) -> LP_AONCLKRST_HPSYS_APM_RESET_BYPASS_W { diff --git a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_lp_clk_conf.rs b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_lp_clk_conf.rs index 836d954397..31c62de621 100644 --- a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_lp_clk_conf.rs +++ b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_lp_clk_conf.rs @@ -66,7 +66,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_slow_clk_sel( &mut self, ) -> LP_AONCLKRST_SLOW_CLK_SEL_W { @@ -74,7 +73,6 @@ impl W { } #[doc = "Bits 2:3 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_fast_clk_sel( &mut self, ) -> LP_AONCLKRST_FAST_CLK_SEL_W { @@ -82,7 +80,6 @@ impl W { } #[doc = "Bits 4:9 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_lp_peri_div_num( &mut self, ) -> LP_AONCLKRST_LP_PERI_DIV_NUM_W { @@ -90,7 +87,6 @@ impl W { } #[doc = "Bit 10 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_ana_sel_ref_pll8m( &mut self, ) -> LP_AONCLKRST_ANA_SEL_REF_PLL8M_W { diff --git a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_lp_clk_en.rs b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_lp_clk_en.rs index 802bd12c23..afd77cf69f 100644 --- a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_lp_clk_en.rs +++ b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_lp_clk_en.rs @@ -92,7 +92,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_lp_rtc_xtal_force_on( &mut self, ) -> LP_AONCLKRST_LP_RTC_XTAL_FORCE_ON_W { @@ -100,7 +99,6 @@ impl W { } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_ck_en_lp_ram( &mut self, ) -> LP_AONCLKRST_CK_EN_LP_RAM_W { @@ -108,7 +106,6 @@ impl W { } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_etm_event_tick_en( &mut self, ) -> LP_AONCLKRST_ETM_EVENT_TICK_EN_W { @@ -116,7 +113,6 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_pll8m_clk_force_on( &mut self, ) -> LP_AONCLKRST_PLL8M_CLK_FORCE_ON_W { @@ -124,7 +120,6 @@ impl W { } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_xtal_clk_force_on( &mut self, ) -> LP_AONCLKRST_XTAL_CLK_FORCE_ON_W { @@ -132,7 +127,6 @@ impl W { } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_fosc_clk_force_on( &mut self, ) -> LP_AONCLKRST_FOSC_CLK_FORCE_ON_W { diff --git a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_lp_clk_po_en.rs b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_lp_clk_po_en.rs index b7a0ddcdb5..b41a0bc590 100644 --- a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_lp_clk_po_en.rs +++ b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_lp_clk_po_en.rs @@ -144,7 +144,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_clk_core_efuse_oen( &mut self, ) -> LP_AONCLKRST_CLK_CORE_EFUSE_OEN_W { @@ -152,7 +151,6 @@ impl W { } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_clk_lp_bus_oen( &mut self, ) -> LP_AONCLKRST_CLK_LP_BUS_OEN_W { @@ -160,7 +158,6 @@ impl W { } #[doc = "Bit 2 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_clk_aon_slow_oen( &mut self, ) -> LP_AONCLKRST_CLK_AON_SLOW_OEN_W { @@ -168,7 +165,6 @@ impl W { } #[doc = "Bit 3 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_clk_aon_fast_oen( &mut self, ) -> LP_AONCLKRST_CLK_AON_FAST_OEN_W { @@ -176,7 +172,6 @@ impl W { } #[doc = "Bit 4 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_clk_slow_oen( &mut self, ) -> LP_AONCLKRST_CLK_SLOW_OEN_W { @@ -184,7 +179,6 @@ impl W { } #[doc = "Bit 5 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_clk_fast_oen( &mut self, ) -> LP_AONCLKRST_CLK_FAST_OEN_W { @@ -192,7 +186,6 @@ impl W { } #[doc = "Bit 6 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_clk_fosc_oen( &mut self, ) -> LP_AONCLKRST_CLK_FOSC_OEN_W { @@ -200,7 +193,6 @@ impl W { } #[doc = "Bit 7 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_clk_rc32k_oen( &mut self, ) -> LP_AONCLKRST_CLK_RC32K_OEN_W { @@ -208,7 +200,6 @@ impl W { } #[doc = "Bit 8 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_clk_sxtal_oen( &mut self, ) -> LP_AONCLKRST_CLK_SXTAL_OEN_W { @@ -216,7 +207,6 @@ impl W { } #[doc = "Bit 9 - 1'b1: probe sosc clk on 1'b0: probe sosc clk off"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_clk_sosc_oen( &mut self, ) -> LP_AONCLKRST_CLK_SOSC_OEN_W { diff --git a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_lp_rst_en.rs b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_lp_rst_en.rs index 90aa26a3be..0dc1dacd5c 100644 --- a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_lp_rst_en.rs +++ b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_lp_rst_en.rs @@ -118,7 +118,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 24 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_rst_en_lp_huk( &mut self, ) -> LP_AONCLKRST_RST_EN_LP_HUK_W { @@ -126,7 +125,6 @@ impl W { } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_rst_en_lp_anaperi( &mut self, ) -> LP_AONCLKRST_RST_EN_LP_ANAPERI_W { @@ -134,7 +132,6 @@ impl W { } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_rst_en_lp_wdt( &mut self, ) -> LP_AONCLKRST_RST_EN_LP_WDT_W { @@ -142,7 +139,6 @@ impl W { } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_rst_en_lp_timer( &mut self, ) -> LP_AONCLKRST_RST_EN_LP_TIMER_W { @@ -150,7 +146,6 @@ impl W { } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_rst_en_lp_rtc( &mut self, ) -> LP_AONCLKRST_RST_EN_LP_RTC_W { @@ -158,7 +153,6 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_rst_en_lp_mailbox( &mut self, ) -> LP_AONCLKRST_RST_EN_LP_MAILBOX_W { @@ -166,7 +160,6 @@ impl W { } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_rst_en_lp_aonefusereg( &mut self, ) -> LP_AONCLKRST_RST_EN_LP_AONEFUSEREG_W { @@ -174,7 +167,6 @@ impl W { } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_rst_en_lp_ram( &mut self, ) -> LP_AONCLKRST_RST_EN_LP_RAM_W { diff --git a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_lpmem_force.rs b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_lpmem_force.rs index a0d04c79f9..55b859f0e7 100644 --- a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_lpmem_force.rs +++ b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_lpmem_force.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - reserved"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_lpmem_clk_force_on( &mut self, ) -> LP_AONCLKRST_LPMEM_CLK_FORCE_ON_W { diff --git a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_mux_hpsys_reset_bypass.rs b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_mux_hpsys_reset_bypass.rs index 74cf3bb9f6..ed918cb4bc 100644 --- a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_mux_hpsys_reset_bypass.rs +++ b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_mux_hpsys_reset_bypass.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reserved"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_mux_hpsys_reset_bypass( &mut self, ) -> LP_AONCLKRST_MUX_HPSYS_RESET_BYPASS_W { diff --git a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_rc32k_cntl.rs b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_rc32k_cntl.rs index 46a7c87310..79208e173f 100644 --- a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_rc32k_cntl.rs +++ b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_rc32k_cntl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_rc32k_dfreq( &mut self, ) -> LP_AONCLKRST_RC32K_DFREQ_W { diff --git a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_reset_cause.rs b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_reset_cause.rs index e2bc14724c..a250c910a2 100644 --- a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_reset_cause.rs +++ b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_reset_cause.rs @@ -107,7 +107,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 25 - 1'b0: enable lpcore pmu_lp_cpu_reset reset_cause, 1'b1: disable lpcore pmu_lp_cpu_reset reset_cause"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_lpcore_reset_cause_pmu_lp_cpu_mask( &mut self, ) -> LP_AONCLKRST_LPCORE_RESET_CAUSE_PMU_LP_CPU_MASK_W { @@ -115,7 +114,6 @@ impl W { } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_lpcore_reset_cause_clr( &mut self, ) -> LP_AONCLKRST_LPCORE_RESET_CAUSE_CLR_W { @@ -123,7 +121,6 @@ impl W { } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_lpcore_reset_flag_clr( &mut self, ) -> LP_AONCLKRST_LPCORE_RESET_FLAG_CLR_W { @@ -131,7 +128,6 @@ impl W { } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hpcore0_reset_cause_clr( &mut self, ) -> LP_AONCLKRST_HPCORE0_RESET_CAUSE_CLR_W { @@ -139,7 +135,6 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hpcore0_reset_flag_clr( &mut self, ) -> LP_AONCLKRST_HPCORE0_RESET_FLAG_CLR_W { @@ -147,7 +142,6 @@ impl W { } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hpcore1_reset_cause_clr( &mut self, ) -> LP_AONCLKRST_HPCORE1_RESET_CAUSE_CLR_W { @@ -155,7 +149,6 @@ impl W { } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_hpcore1_reset_flag_clr( &mut self, ) -> LP_AONCLKRST_HPCORE1_RESET_FLAG_CLR_W { diff --git a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_sosc_cntl.rs b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_sosc_cntl.rs index 93aa3330a1..06543322a6 100644 --- a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_sosc_cntl.rs +++ b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_sosc_cntl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 22:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_sosc_dfreq( &mut self, ) -> LP_AONCLKRST_SOSC_DFREQ_W { diff --git a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_xtal32k.rs b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_xtal32k.rs index 8528b555c6..a8e5ef2f60 100644 --- a/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_xtal32k.rs +++ b/esp32p4/src/lp_aon_clkrst/lp_aonclkrst_xtal32k.rs @@ -60,7 +60,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 22:24 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_dres_xtal32k( &mut self, ) -> LP_AONCLKRST_DRES_XTAL32K_W { @@ -68,7 +67,6 @@ impl W { } #[doc = "Bits 25:27 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_dgm_xtal32k( &mut self, ) -> LP_AONCLKRST_DGM_XTAL32K_W { @@ -76,7 +74,6 @@ impl W { } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_dbuf_xtal32k( &mut self, ) -> LP_AONCLKRST_DBUF_XTAL32K_W { @@ -84,7 +81,6 @@ impl W { } #[doc = "Bits 29:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_aonclkrst_dac_xtal32k( &mut self, ) -> LP_AONCLKRST_DAC_XTAL32K_W { diff --git a/esp32p4/src/lp_gpio/clk_en.rs b/esp32p4/src/lp_gpio/clk_en.rs index 7417e3a33b..e3f2849c42 100644 --- a/esp32p4/src/lp_gpio/clk_en.rs +++ b/esp32p4/src/lp_gpio/clk_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_clk_en(&mut self) -> REG_CLK_EN_W { REG_CLK_EN_W::new(self, 0) } diff --git a/esp32p4/src/lp_gpio/enable.rs b/esp32p4/src/lp_gpio/enable.rs index c93d14f177..c893cb75b9 100644 --- a/esp32p4/src/lp_gpio/enable.rs +++ b/esp32p4/src/lp_gpio/enable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_enable_data(&mut self) -> REG_GPIO_ENABLE_DATA_W { REG_GPIO_ENABLE_DATA_W::new(self, 0) } diff --git a/esp32p4/src/lp_gpio/enable_w1tc.rs b/esp32p4/src/lp_gpio/enable_w1tc.rs index 69f29a7a07..5aa3acde40 100644 --- a/esp32p4/src/lp_gpio/enable_w1tc.rs +++ b/esp32p4/src/lp_gpio/enable_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:15 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_enable_data_w1tc(&mut self) -> REG_GPIO_ENABLE_DATA_W1TC_W { REG_GPIO_ENABLE_DATA_W1TC_W::new(self, 0) } diff --git a/esp32p4/src/lp_gpio/enable_w1ts.rs b/esp32p4/src/lp_gpio/enable_w1ts.rs index 4c48e7e97c..bad189c7c1 100644 --- a/esp32p4/src/lp_gpio/enable_w1ts.rs +++ b/esp32p4/src/lp_gpio/enable_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:15 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_enable_data_w1ts(&mut self) -> REG_GPIO_ENABLE_DATA_W1TS_W { REG_GPIO_ENABLE_DATA_W1TS_W::new(self, 0) } diff --git a/esp32p4/src/lp_gpio/func0_in_sel_cfg.rs b/esp32p4/src/lp_gpio/func0_in_sel_cfg.rs index d79d216e1d..62dc0a8867 100644 --- a/esp32p4/src/lp_gpio/func0_in_sel_cfg.rs +++ b/esp32p4/src/lp_gpio/func0_in_sel_cfg.rs @@ -47,7 +47,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func0_in_inv_sel( &mut self, ) -> REG_GPIO_FUNC0_IN_INV_SEL_W { @@ -55,13 +54,11 @@ impl W { } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_sig0_in_sel(&mut self) -> REG_GPIO_SIG0_IN_SEL_W { REG_GPIO_SIG0_IN_SEL_W::new(self, 1) } #[doc = "Bits 2:7 - reg_gpio_func0_in_sel\\[5:4\\]==2'b11->constant 1,reg_gpio_func0_in_sel\\[5:4\\]==2'b10->constant 0"] #[inline(always)] - #[must_use] pub fn reg_gpio_func0_in_sel(&mut self) -> REG_GPIO_FUNC0_IN_SEL_W { REG_GPIO_FUNC0_IN_SEL_W::new(self, 2) } diff --git a/esp32p4/src/lp_gpio/func0_out_sel_cfg.rs b/esp32p4/src/lp_gpio/func0_out_sel_cfg.rs index 846b377e78..d81ba311a3 100644 --- a/esp32p4/src/lp_gpio/func0_out_sel_cfg.rs +++ b/esp32p4/src/lp_gpio/func0_out_sel_cfg.rs @@ -60,7 +60,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func0_oe_inv_sel( &mut self, ) -> REG_GPIO_FUNC0_OE_INV_SEL_W { @@ -68,13 +67,11 @@ impl W { } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func0_oe_sel(&mut self) -> REG_GPIO_FUNC0_OE_SEL_W { REG_GPIO_FUNC0_OE_SEL_W::new(self, 1) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func0_out_inv_sel( &mut self, ) -> REG_GPIO_FUNC0_OUT_INV_SEL_W { @@ -82,7 +79,6 @@ impl W { } #[doc = "Bits 3:8 - reg_gpio_func0_out_sel\\[5:1\\]==16 -> output gpio register value to pad"] #[inline(always)] - #[must_use] pub fn reg_gpio_func0_out_sel(&mut self) -> REG_GPIO_FUNC0_OUT_SEL_W { REG_GPIO_FUNC0_OUT_SEL_W::new(self, 3) } diff --git a/esp32p4/src/lp_gpio/func10_in_sel_cfg.rs b/esp32p4/src/lp_gpio/func10_in_sel_cfg.rs index d496eaf81e..6e749ae53b 100644 --- a/esp32p4/src/lp_gpio/func10_in_sel_cfg.rs +++ b/esp32p4/src/lp_gpio/func10_in_sel_cfg.rs @@ -47,7 +47,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func10_in_inv_sel( &mut self, ) -> REG_GPIO_FUNC10_IN_INV_SEL_W { @@ -55,13 +54,11 @@ impl W { } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_sig10_in_sel(&mut self) -> REG_GPIO_SIG10_IN_SEL_W { REG_GPIO_SIG10_IN_SEL_W::new(self, 1) } #[doc = "Bits 2:7 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func10_in_sel(&mut self) -> REG_GPIO_FUNC10_IN_SEL_W { REG_GPIO_FUNC10_IN_SEL_W::new(self, 2) } diff --git a/esp32p4/src/lp_gpio/func10_out_sel_cfg.rs b/esp32p4/src/lp_gpio/func10_out_sel_cfg.rs index ae1f0d8ceb..7db62e1aa2 100644 --- a/esp32p4/src/lp_gpio/func10_out_sel_cfg.rs +++ b/esp32p4/src/lp_gpio/func10_out_sel_cfg.rs @@ -60,7 +60,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func10_oe_inv_sel( &mut self, ) -> REG_GPIO_FUNC10_OE_INV_SEL_W { @@ -68,13 +67,11 @@ impl W { } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func10_oe_sel(&mut self) -> REG_GPIO_FUNC10_OE_SEL_W { REG_GPIO_FUNC10_OE_SEL_W::new(self, 1) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func10_out_inv_sel( &mut self, ) -> REG_GPIO_FUNC10_OUT_INV_SEL_W { @@ -82,7 +79,6 @@ impl W { } #[doc = "Bits 3:8 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func10_out_sel( &mut self, ) -> REG_GPIO_FUNC10_OUT_SEL_W { diff --git a/esp32p4/src/lp_gpio/func11_in_sel_cfg.rs b/esp32p4/src/lp_gpio/func11_in_sel_cfg.rs index 561aa93749..11d4d1c873 100644 --- a/esp32p4/src/lp_gpio/func11_in_sel_cfg.rs +++ b/esp32p4/src/lp_gpio/func11_in_sel_cfg.rs @@ -47,7 +47,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func11_in_inv_sel( &mut self, ) -> REG_GPIO_FUNC11_IN_INV_SEL_W { @@ -55,13 +54,11 @@ impl W { } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_sig11_in_sel(&mut self) -> REG_GPIO_SIG11_IN_SEL_W { REG_GPIO_SIG11_IN_SEL_W::new(self, 1) } #[doc = "Bits 2:7 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func11_in_sel(&mut self) -> REG_GPIO_FUNC11_IN_SEL_W { REG_GPIO_FUNC11_IN_SEL_W::new(self, 2) } diff --git a/esp32p4/src/lp_gpio/func11_out_sel_cfg.rs b/esp32p4/src/lp_gpio/func11_out_sel_cfg.rs index b04319a658..50917b7293 100644 --- a/esp32p4/src/lp_gpio/func11_out_sel_cfg.rs +++ b/esp32p4/src/lp_gpio/func11_out_sel_cfg.rs @@ -60,7 +60,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func11_oe_inv_sel( &mut self, ) -> REG_GPIO_FUNC11_OE_INV_SEL_W { @@ -68,13 +67,11 @@ impl W { } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func11_oe_sel(&mut self) -> REG_GPIO_FUNC11_OE_SEL_W { REG_GPIO_FUNC11_OE_SEL_W::new(self, 1) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func11_out_inv_sel( &mut self, ) -> REG_GPIO_FUNC11_OUT_INV_SEL_W { @@ -82,7 +79,6 @@ impl W { } #[doc = "Bits 3:8 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func11_out_sel( &mut self, ) -> REG_GPIO_FUNC11_OUT_SEL_W { diff --git a/esp32p4/src/lp_gpio/func12_in_sel_cfg.rs b/esp32p4/src/lp_gpio/func12_in_sel_cfg.rs index 414aa82e9d..7b9ea01194 100644 --- a/esp32p4/src/lp_gpio/func12_in_sel_cfg.rs +++ b/esp32p4/src/lp_gpio/func12_in_sel_cfg.rs @@ -47,7 +47,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func12_in_inv_sel( &mut self, ) -> REG_GPIO_FUNC12_IN_INV_SEL_W { @@ -55,13 +54,11 @@ impl W { } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_sig12_in_sel(&mut self) -> REG_GPIO_SIG12_IN_SEL_W { REG_GPIO_SIG12_IN_SEL_W::new(self, 1) } #[doc = "Bits 2:7 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func12_in_sel(&mut self) -> REG_GPIO_FUNC12_IN_SEL_W { REG_GPIO_FUNC12_IN_SEL_W::new(self, 2) } diff --git a/esp32p4/src/lp_gpio/func12_out_sel_cfg.rs b/esp32p4/src/lp_gpio/func12_out_sel_cfg.rs index 2434d8d805..5d77db1f24 100644 --- a/esp32p4/src/lp_gpio/func12_out_sel_cfg.rs +++ b/esp32p4/src/lp_gpio/func12_out_sel_cfg.rs @@ -60,7 +60,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func12_oe_inv_sel( &mut self, ) -> REG_GPIO_FUNC12_OE_INV_SEL_W { @@ -68,13 +67,11 @@ impl W { } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func12_oe_sel(&mut self) -> REG_GPIO_FUNC12_OE_SEL_W { REG_GPIO_FUNC12_OE_SEL_W::new(self, 1) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func12_out_inv_sel( &mut self, ) -> REG_GPIO_FUNC12_OUT_INV_SEL_W { @@ -82,7 +79,6 @@ impl W { } #[doc = "Bits 3:8 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func12_out_sel( &mut self, ) -> REG_GPIO_FUNC12_OUT_SEL_W { diff --git a/esp32p4/src/lp_gpio/func13_in_sel_cfg.rs b/esp32p4/src/lp_gpio/func13_in_sel_cfg.rs index 1611d06903..f096c63324 100644 --- a/esp32p4/src/lp_gpio/func13_in_sel_cfg.rs +++ b/esp32p4/src/lp_gpio/func13_in_sel_cfg.rs @@ -47,7 +47,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func13_in_inv_sel( &mut self, ) -> REG_GPIO_FUNC13_IN_INV_SEL_W { @@ -55,13 +54,11 @@ impl W { } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_sig13_in_sel(&mut self) -> REG_GPIO_SIG13_IN_SEL_W { REG_GPIO_SIG13_IN_SEL_W::new(self, 1) } #[doc = "Bits 2:7 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func13_in_sel(&mut self) -> REG_GPIO_FUNC13_IN_SEL_W { REG_GPIO_FUNC13_IN_SEL_W::new(self, 2) } diff --git a/esp32p4/src/lp_gpio/func13_out_sel_cfg.rs b/esp32p4/src/lp_gpio/func13_out_sel_cfg.rs index 175eadc591..bd3717560b 100644 --- a/esp32p4/src/lp_gpio/func13_out_sel_cfg.rs +++ b/esp32p4/src/lp_gpio/func13_out_sel_cfg.rs @@ -60,7 +60,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func13_oe_inv_sel( &mut self, ) -> REG_GPIO_FUNC13_OE_INV_SEL_W { @@ -68,13 +67,11 @@ impl W { } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func13_oe_sel(&mut self) -> REG_GPIO_FUNC13_OE_SEL_W { REG_GPIO_FUNC13_OE_SEL_W::new(self, 1) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func13_out_inv_sel( &mut self, ) -> REG_GPIO_FUNC13_OUT_INV_SEL_W { @@ -82,7 +79,6 @@ impl W { } #[doc = "Bits 3:8 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func13_out_sel( &mut self, ) -> REG_GPIO_FUNC13_OUT_SEL_W { diff --git a/esp32p4/src/lp_gpio/func14_out_sel_cfg.rs b/esp32p4/src/lp_gpio/func14_out_sel_cfg.rs index fc6c27e390..74669c2ee6 100644 --- a/esp32p4/src/lp_gpio/func14_out_sel_cfg.rs +++ b/esp32p4/src/lp_gpio/func14_out_sel_cfg.rs @@ -60,7 +60,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func14_oe_inv_sel( &mut self, ) -> REG_GPIO_FUNC14_OE_INV_SEL_W { @@ -68,13 +67,11 @@ impl W { } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func14_oe_sel(&mut self) -> REG_GPIO_FUNC14_OE_SEL_W { REG_GPIO_FUNC14_OE_SEL_W::new(self, 1) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func14_out_inv_sel( &mut self, ) -> REG_GPIO_FUNC14_OUT_INV_SEL_W { @@ -82,7 +79,6 @@ impl W { } #[doc = "Bits 3:8 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func14_out_sel( &mut self, ) -> REG_GPIO_FUNC14_OUT_SEL_W { diff --git a/esp32p4/src/lp_gpio/func15_out_sel_cfg.rs b/esp32p4/src/lp_gpio/func15_out_sel_cfg.rs index 71c6ce39ea..37eeeeaab4 100644 --- a/esp32p4/src/lp_gpio/func15_out_sel_cfg.rs +++ b/esp32p4/src/lp_gpio/func15_out_sel_cfg.rs @@ -60,7 +60,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func15_oe_inv_sel( &mut self, ) -> REG_GPIO_FUNC15_OE_INV_SEL_W { @@ -68,13 +67,11 @@ impl W { } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func15_oe_sel(&mut self) -> REG_GPIO_FUNC15_OE_SEL_W { REG_GPIO_FUNC15_OE_SEL_W::new(self, 1) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func15_out_inv_sel( &mut self, ) -> REG_GPIO_FUNC15_OUT_INV_SEL_W { @@ -82,7 +79,6 @@ impl W { } #[doc = "Bits 3:8 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func15_out_sel( &mut self, ) -> REG_GPIO_FUNC15_OUT_SEL_W { diff --git a/esp32p4/src/lp_gpio/func1_in_sel_cfg.rs b/esp32p4/src/lp_gpio/func1_in_sel_cfg.rs index 284e379797..ad00170054 100644 --- a/esp32p4/src/lp_gpio/func1_in_sel_cfg.rs +++ b/esp32p4/src/lp_gpio/func1_in_sel_cfg.rs @@ -47,7 +47,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func1_in_inv_sel( &mut self, ) -> REG_GPIO_FUNC1_IN_INV_SEL_W { @@ -55,13 +54,11 @@ impl W { } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_sig1_in_sel(&mut self) -> REG_GPIO_SIG1_IN_SEL_W { REG_GPIO_SIG1_IN_SEL_W::new(self, 1) } #[doc = "Bits 2:7 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func1_in_sel(&mut self) -> REG_GPIO_FUNC1_IN_SEL_W { REG_GPIO_FUNC1_IN_SEL_W::new(self, 2) } diff --git a/esp32p4/src/lp_gpio/func1_out_sel_cfg.rs b/esp32p4/src/lp_gpio/func1_out_sel_cfg.rs index ff3f83c60d..1f1b3486f4 100644 --- a/esp32p4/src/lp_gpio/func1_out_sel_cfg.rs +++ b/esp32p4/src/lp_gpio/func1_out_sel_cfg.rs @@ -60,7 +60,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func1_oe_inv_sel( &mut self, ) -> REG_GPIO_FUNC1_OE_INV_SEL_W { @@ -68,13 +67,11 @@ impl W { } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func1_oe_sel(&mut self) -> REG_GPIO_FUNC1_OE_SEL_W { REG_GPIO_FUNC1_OE_SEL_W::new(self, 1) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func1_out_inv_sel( &mut self, ) -> REG_GPIO_FUNC1_OUT_INV_SEL_W { @@ -82,7 +79,6 @@ impl W { } #[doc = "Bits 3:8 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func1_out_sel(&mut self) -> REG_GPIO_FUNC1_OUT_SEL_W { REG_GPIO_FUNC1_OUT_SEL_W::new(self, 3) } diff --git a/esp32p4/src/lp_gpio/func2_in_sel_cfg.rs b/esp32p4/src/lp_gpio/func2_in_sel_cfg.rs index 6a532ca30d..712aa95786 100644 --- a/esp32p4/src/lp_gpio/func2_in_sel_cfg.rs +++ b/esp32p4/src/lp_gpio/func2_in_sel_cfg.rs @@ -47,7 +47,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func2_in_inv_sel( &mut self, ) -> REG_GPIO_FUNC2_IN_INV_SEL_W { @@ -55,13 +54,11 @@ impl W { } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_sig2_in_sel(&mut self) -> REG_GPIO_SIG2_IN_SEL_W { REG_GPIO_SIG2_IN_SEL_W::new(self, 1) } #[doc = "Bits 2:7 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func2_in_sel(&mut self) -> REG_GPIO_FUNC2_IN_SEL_W { REG_GPIO_FUNC2_IN_SEL_W::new(self, 2) } diff --git a/esp32p4/src/lp_gpio/func2_out_sel_cfg.rs b/esp32p4/src/lp_gpio/func2_out_sel_cfg.rs index aa5a5a72fb..49d793023e 100644 --- a/esp32p4/src/lp_gpio/func2_out_sel_cfg.rs +++ b/esp32p4/src/lp_gpio/func2_out_sel_cfg.rs @@ -60,7 +60,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func2_oe_inv_sel( &mut self, ) -> REG_GPIO_FUNC2_OE_INV_SEL_W { @@ -68,13 +67,11 @@ impl W { } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func2_oe_sel(&mut self) -> REG_GPIO_FUNC2_OE_SEL_W { REG_GPIO_FUNC2_OE_SEL_W::new(self, 1) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func2_out_inv_sel( &mut self, ) -> REG_GPIO_FUNC2_OUT_INV_SEL_W { @@ -82,7 +79,6 @@ impl W { } #[doc = "Bits 3:8 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func2_out_sel(&mut self) -> REG_GPIO_FUNC2_OUT_SEL_W { REG_GPIO_FUNC2_OUT_SEL_W::new(self, 3) } diff --git a/esp32p4/src/lp_gpio/func3_in_sel_cfg.rs b/esp32p4/src/lp_gpio/func3_in_sel_cfg.rs index 051f141510..0d70d9ca21 100644 --- a/esp32p4/src/lp_gpio/func3_in_sel_cfg.rs +++ b/esp32p4/src/lp_gpio/func3_in_sel_cfg.rs @@ -47,7 +47,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func3_in_inv_sel( &mut self, ) -> REG_GPIO_FUNC3_IN_INV_SEL_W { @@ -55,13 +54,11 @@ impl W { } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_sig3_in_sel(&mut self) -> REG_GPIO_SIG3_IN_SEL_W { REG_GPIO_SIG3_IN_SEL_W::new(self, 1) } #[doc = "Bits 2:7 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func3_in_sel(&mut self) -> REG_GPIO_FUNC3_IN_SEL_W { REG_GPIO_FUNC3_IN_SEL_W::new(self, 2) } diff --git a/esp32p4/src/lp_gpio/func3_out_sel_cfg.rs b/esp32p4/src/lp_gpio/func3_out_sel_cfg.rs index f2c41f2e79..e145f342d9 100644 --- a/esp32p4/src/lp_gpio/func3_out_sel_cfg.rs +++ b/esp32p4/src/lp_gpio/func3_out_sel_cfg.rs @@ -60,7 +60,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func3_oe_inv_sel( &mut self, ) -> REG_GPIO_FUNC3_OE_INV_SEL_W { @@ -68,13 +67,11 @@ impl W { } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func3_oe_sel(&mut self) -> REG_GPIO_FUNC3_OE_SEL_W { REG_GPIO_FUNC3_OE_SEL_W::new(self, 1) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func3_out_inv_sel( &mut self, ) -> REG_GPIO_FUNC3_OUT_INV_SEL_W { @@ -82,7 +79,6 @@ impl W { } #[doc = "Bits 3:8 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func3_out_sel(&mut self) -> REG_GPIO_FUNC3_OUT_SEL_W { REG_GPIO_FUNC3_OUT_SEL_W::new(self, 3) } diff --git a/esp32p4/src/lp_gpio/func4_in_sel_cfg.rs b/esp32p4/src/lp_gpio/func4_in_sel_cfg.rs index 147580ddd0..fa2b0ee2a1 100644 --- a/esp32p4/src/lp_gpio/func4_in_sel_cfg.rs +++ b/esp32p4/src/lp_gpio/func4_in_sel_cfg.rs @@ -47,7 +47,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func4_in_inv_sel( &mut self, ) -> REG_GPIO_FUNC4_IN_INV_SEL_W { @@ -55,13 +54,11 @@ impl W { } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_sig4_in_sel(&mut self) -> REG_GPIO_SIG4_IN_SEL_W { REG_GPIO_SIG4_IN_SEL_W::new(self, 1) } #[doc = "Bits 2:7 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func4_in_sel(&mut self) -> REG_GPIO_FUNC4_IN_SEL_W { REG_GPIO_FUNC4_IN_SEL_W::new(self, 2) } diff --git a/esp32p4/src/lp_gpio/func4_out_sel_cfg.rs b/esp32p4/src/lp_gpio/func4_out_sel_cfg.rs index 4e3b19ec4c..2c09c0f3f5 100644 --- a/esp32p4/src/lp_gpio/func4_out_sel_cfg.rs +++ b/esp32p4/src/lp_gpio/func4_out_sel_cfg.rs @@ -60,7 +60,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func4_oe_inv_sel( &mut self, ) -> REG_GPIO_FUNC4_OE_INV_SEL_W { @@ -68,13 +67,11 @@ impl W { } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func4_oe_sel(&mut self) -> REG_GPIO_FUNC4_OE_SEL_W { REG_GPIO_FUNC4_OE_SEL_W::new(self, 1) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func4_out_inv_sel( &mut self, ) -> REG_GPIO_FUNC4_OUT_INV_SEL_W { @@ -82,7 +79,6 @@ impl W { } #[doc = "Bits 3:8 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func4_out_sel(&mut self) -> REG_GPIO_FUNC4_OUT_SEL_W { REG_GPIO_FUNC4_OUT_SEL_W::new(self, 3) } diff --git a/esp32p4/src/lp_gpio/func5_in_sel_cfg.rs b/esp32p4/src/lp_gpio/func5_in_sel_cfg.rs index 52cfeb4ac5..871660d5e5 100644 --- a/esp32p4/src/lp_gpio/func5_in_sel_cfg.rs +++ b/esp32p4/src/lp_gpio/func5_in_sel_cfg.rs @@ -47,7 +47,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func5_in_inv_sel( &mut self, ) -> REG_GPIO_FUNC5_IN_INV_SEL_W { @@ -55,13 +54,11 @@ impl W { } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_sig5_in_sel(&mut self) -> REG_GPIO_SIG5_IN_SEL_W { REG_GPIO_SIG5_IN_SEL_W::new(self, 1) } #[doc = "Bits 2:7 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func5_in_sel(&mut self) -> REG_GPIO_FUNC5_IN_SEL_W { REG_GPIO_FUNC5_IN_SEL_W::new(self, 2) } diff --git a/esp32p4/src/lp_gpio/func5_out_sel_cfg.rs b/esp32p4/src/lp_gpio/func5_out_sel_cfg.rs index 874d69896c..98906d9728 100644 --- a/esp32p4/src/lp_gpio/func5_out_sel_cfg.rs +++ b/esp32p4/src/lp_gpio/func5_out_sel_cfg.rs @@ -60,7 +60,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func5_oe_inv_sel( &mut self, ) -> REG_GPIO_FUNC5_OE_INV_SEL_W { @@ -68,13 +67,11 @@ impl W { } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func5_oe_sel(&mut self) -> REG_GPIO_FUNC5_OE_SEL_W { REG_GPIO_FUNC5_OE_SEL_W::new(self, 1) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func5_out_inv_sel( &mut self, ) -> REG_GPIO_FUNC5_OUT_INV_SEL_W { @@ -82,7 +79,6 @@ impl W { } #[doc = "Bits 3:8 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func5_out_sel(&mut self) -> REG_GPIO_FUNC5_OUT_SEL_W { REG_GPIO_FUNC5_OUT_SEL_W::new(self, 3) } diff --git a/esp32p4/src/lp_gpio/func6_in_sel_cfg.rs b/esp32p4/src/lp_gpio/func6_in_sel_cfg.rs index 50b21df616..9593608c0d 100644 --- a/esp32p4/src/lp_gpio/func6_in_sel_cfg.rs +++ b/esp32p4/src/lp_gpio/func6_in_sel_cfg.rs @@ -47,7 +47,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func6_in_inv_sel( &mut self, ) -> REG_GPIO_FUNC6_IN_INV_SEL_W { @@ -55,13 +54,11 @@ impl W { } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_sig6_in_sel(&mut self) -> REG_GPIO_SIG6_IN_SEL_W { REG_GPIO_SIG6_IN_SEL_W::new(self, 1) } #[doc = "Bits 2:7 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func6_in_sel(&mut self) -> REG_GPIO_FUNC6_IN_SEL_W { REG_GPIO_FUNC6_IN_SEL_W::new(self, 2) } diff --git a/esp32p4/src/lp_gpio/func6_out_sel_cfg.rs b/esp32p4/src/lp_gpio/func6_out_sel_cfg.rs index 715aeefbc7..4800f081f3 100644 --- a/esp32p4/src/lp_gpio/func6_out_sel_cfg.rs +++ b/esp32p4/src/lp_gpio/func6_out_sel_cfg.rs @@ -60,7 +60,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func6_oe_inv_sel( &mut self, ) -> REG_GPIO_FUNC6_OE_INV_SEL_W { @@ -68,13 +67,11 @@ impl W { } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func6_oe_sel(&mut self) -> REG_GPIO_FUNC6_OE_SEL_W { REG_GPIO_FUNC6_OE_SEL_W::new(self, 1) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func6_out_inv_sel( &mut self, ) -> REG_GPIO_FUNC6_OUT_INV_SEL_W { @@ -82,7 +79,6 @@ impl W { } #[doc = "Bits 3:8 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func6_out_sel(&mut self) -> REG_GPIO_FUNC6_OUT_SEL_W { REG_GPIO_FUNC6_OUT_SEL_W::new(self, 3) } diff --git a/esp32p4/src/lp_gpio/func7_in_sel_cfg.rs b/esp32p4/src/lp_gpio/func7_in_sel_cfg.rs index de5b6c37d5..d3c80e20e1 100644 --- a/esp32p4/src/lp_gpio/func7_in_sel_cfg.rs +++ b/esp32p4/src/lp_gpio/func7_in_sel_cfg.rs @@ -47,7 +47,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func7_in_inv_sel( &mut self, ) -> REG_GPIO_FUNC7_IN_INV_SEL_W { @@ -55,13 +54,11 @@ impl W { } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_sig7_in_sel(&mut self) -> REG_GPIO_SIG7_IN_SEL_W { REG_GPIO_SIG7_IN_SEL_W::new(self, 1) } #[doc = "Bits 2:7 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func7_in_sel(&mut self) -> REG_GPIO_FUNC7_IN_SEL_W { REG_GPIO_FUNC7_IN_SEL_W::new(self, 2) } diff --git a/esp32p4/src/lp_gpio/func7_out_sel_cfg.rs b/esp32p4/src/lp_gpio/func7_out_sel_cfg.rs index 0d97061690..e1e0bc64e3 100644 --- a/esp32p4/src/lp_gpio/func7_out_sel_cfg.rs +++ b/esp32p4/src/lp_gpio/func7_out_sel_cfg.rs @@ -60,7 +60,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func7_oe_inv_sel( &mut self, ) -> REG_GPIO_FUNC7_OE_INV_SEL_W { @@ -68,13 +67,11 @@ impl W { } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func7_oe_sel(&mut self) -> REG_GPIO_FUNC7_OE_SEL_W { REG_GPIO_FUNC7_OE_SEL_W::new(self, 1) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func7_out_inv_sel( &mut self, ) -> REG_GPIO_FUNC7_OUT_INV_SEL_W { @@ -82,7 +79,6 @@ impl W { } #[doc = "Bits 3:8 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func7_out_sel(&mut self) -> REG_GPIO_FUNC7_OUT_SEL_W { REG_GPIO_FUNC7_OUT_SEL_W::new(self, 3) } diff --git a/esp32p4/src/lp_gpio/func8_in_sel_cfg.rs b/esp32p4/src/lp_gpio/func8_in_sel_cfg.rs index 9fada2e678..68747ba3d1 100644 --- a/esp32p4/src/lp_gpio/func8_in_sel_cfg.rs +++ b/esp32p4/src/lp_gpio/func8_in_sel_cfg.rs @@ -47,7 +47,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func8_in_inv_sel( &mut self, ) -> REG_GPIO_FUNC8_IN_INV_SEL_W { @@ -55,13 +54,11 @@ impl W { } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_sig8_in_sel(&mut self) -> REG_GPIO_SIG8_IN_SEL_W { REG_GPIO_SIG8_IN_SEL_W::new(self, 1) } #[doc = "Bits 2:7 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func8_in_sel(&mut self) -> REG_GPIO_FUNC8_IN_SEL_W { REG_GPIO_FUNC8_IN_SEL_W::new(self, 2) } diff --git a/esp32p4/src/lp_gpio/func8_out_sel_cfg.rs b/esp32p4/src/lp_gpio/func8_out_sel_cfg.rs index 753f598e73..2d0c14a0ac 100644 --- a/esp32p4/src/lp_gpio/func8_out_sel_cfg.rs +++ b/esp32p4/src/lp_gpio/func8_out_sel_cfg.rs @@ -60,7 +60,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func8_oe_inv_sel( &mut self, ) -> REG_GPIO_FUNC8_OE_INV_SEL_W { @@ -68,13 +67,11 @@ impl W { } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func8_oe_sel(&mut self) -> REG_GPIO_FUNC8_OE_SEL_W { REG_GPIO_FUNC8_OE_SEL_W::new(self, 1) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func8_out_inv_sel( &mut self, ) -> REG_GPIO_FUNC8_OUT_INV_SEL_W { @@ -82,7 +79,6 @@ impl W { } #[doc = "Bits 3:8 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func8_out_sel(&mut self) -> REG_GPIO_FUNC8_OUT_SEL_W { REG_GPIO_FUNC8_OUT_SEL_W::new(self, 3) } diff --git a/esp32p4/src/lp_gpio/func9_in_sel_cfg.rs b/esp32p4/src/lp_gpio/func9_in_sel_cfg.rs index 01da1391fc..ef452b06a7 100644 --- a/esp32p4/src/lp_gpio/func9_in_sel_cfg.rs +++ b/esp32p4/src/lp_gpio/func9_in_sel_cfg.rs @@ -47,7 +47,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func9_in_inv_sel( &mut self, ) -> REG_GPIO_FUNC9_IN_INV_SEL_W { @@ -55,13 +54,11 @@ impl W { } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_sig9_in_sel(&mut self) -> REG_GPIO_SIG9_IN_SEL_W { REG_GPIO_SIG9_IN_SEL_W::new(self, 1) } #[doc = "Bits 2:7 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func9_in_sel(&mut self) -> REG_GPIO_FUNC9_IN_SEL_W { REG_GPIO_FUNC9_IN_SEL_W::new(self, 2) } diff --git a/esp32p4/src/lp_gpio/func9_out_sel_cfg.rs b/esp32p4/src/lp_gpio/func9_out_sel_cfg.rs index f7178fb0bb..fc494230f0 100644 --- a/esp32p4/src/lp_gpio/func9_out_sel_cfg.rs +++ b/esp32p4/src/lp_gpio/func9_out_sel_cfg.rs @@ -60,7 +60,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func9_oe_inv_sel( &mut self, ) -> REG_GPIO_FUNC9_OE_INV_SEL_W { @@ -68,13 +67,11 @@ impl W { } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func9_oe_sel(&mut self) -> REG_GPIO_FUNC9_OE_SEL_W { REG_GPIO_FUNC9_OE_SEL_W::new(self, 1) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func9_out_inv_sel( &mut self, ) -> REG_GPIO_FUNC9_OUT_INV_SEL_W { @@ -82,7 +79,6 @@ impl W { } #[doc = "Bits 3:8 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_func9_out_sel(&mut self) -> REG_GPIO_FUNC9_OUT_SEL_W { REG_GPIO_FUNC9_OUT_SEL_W::new(self, 3) } diff --git a/esp32p4/src/lp_gpio/out.rs b/esp32p4/src/lp_gpio/out.rs index cbd0248632..b9cdd9b0e0 100644 --- a/esp32p4/src/lp_gpio/out.rs +++ b/esp32p4/src/lp_gpio/out.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_out_data(&mut self) -> REG_GPIO_OUT_DATA_W { REG_GPIO_OUT_DATA_W::new(self, 0) } diff --git a/esp32p4/src/lp_gpio/out_w1tc.rs b/esp32p4/src/lp_gpio/out_w1tc.rs index b86fdb9e11..f7eebe9c9e 100644 --- a/esp32p4/src/lp_gpio/out_w1tc.rs +++ b/esp32p4/src/lp_gpio/out_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:15 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_out_data_w1tc(&mut self) -> REG_GPIO_OUT_DATA_W1TC_W { REG_GPIO_OUT_DATA_W1TC_W::new(self, 0) } diff --git a/esp32p4/src/lp_gpio/out_w1ts.rs b/esp32p4/src/lp_gpio/out_w1ts.rs index eb2389e40b..1cd5a9776f 100644 --- a/esp32p4/src/lp_gpio/out_w1ts.rs +++ b/esp32p4/src/lp_gpio/out_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:15 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_out_data_w1ts(&mut self) -> REG_GPIO_OUT_DATA_W1TS_W { REG_GPIO_OUT_DATA_W1TS_W::new(self, 0) } diff --git a/esp32p4/src/lp_gpio/pin0.rs b/esp32p4/src/lp_gpio/pin0.rs index 36e0f090ff..9f5471ff6e 100644 --- a/esp32p4/src/lp_gpio/pin0.rs +++ b/esp32p4/src/lp_gpio/pin0.rs @@ -49,25 +49,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin0_wakeup_enable(&mut self) -> REG_GPIO_PIN0_WAKEUP_ENABLE_W { REG_GPIO_PIN0_WAKEUP_ENABLE_W::new(self, 0) } #[doc = "Bits 1:3 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin0_int_type(&mut self) -> REG_GPIO_PIN0_INT_TYPE_W { REG_GPIO_PIN0_INT_TYPE_W::new(self, 1) } #[doc = "Bit 4 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin0_pad_driver(&mut self) -> REG_GPIO_PIN0_PAD_DRIVER_W { REG_GPIO_PIN0_PAD_DRIVER_W::new(self, 4) } #[doc = "Bit 5 - need des"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin0_edge_wakeup_clr(&mut self) -> REG_GPIO_PIN0_EDGE_WAKEUP_CLR_W { REG_GPIO_PIN0_EDGE_WAKEUP_CLR_W::new(self, 5) } diff --git a/esp32p4/src/lp_gpio/pin1.rs b/esp32p4/src/lp_gpio/pin1.rs index db1ddeb3fb..3c823d4a74 100644 --- a/esp32p4/src/lp_gpio/pin1.rs +++ b/esp32p4/src/lp_gpio/pin1.rs @@ -49,25 +49,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin1_wakeup_enable(&mut self) -> REG_GPIO_PIN1_WAKEUP_ENABLE_W { REG_GPIO_PIN1_WAKEUP_ENABLE_W::new(self, 0) } #[doc = "Bits 1:3 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin1_int_type(&mut self) -> REG_GPIO_PIN1_INT_TYPE_W { REG_GPIO_PIN1_INT_TYPE_W::new(self, 1) } #[doc = "Bit 4 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin1_pad_driver(&mut self) -> REG_GPIO_PIN1_PAD_DRIVER_W { REG_GPIO_PIN1_PAD_DRIVER_W::new(self, 4) } #[doc = "Bit 5 - need des"] #[inline(always)] - #[must_use] pub fn reg_gpi1_pin0_edge_wakeup_clr(&mut self) -> REG_GPI1_PIN0_EDGE_WAKEUP_CLR_W { REG_GPI1_PIN0_EDGE_WAKEUP_CLR_W::new(self, 5) } diff --git a/esp32p4/src/lp_gpio/pin10.rs b/esp32p4/src/lp_gpio/pin10.rs index 11d821d6e8..6756c0e7f0 100644 --- a/esp32p4/src/lp_gpio/pin10.rs +++ b/esp32p4/src/lp_gpio/pin10.rs @@ -52,25 +52,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin10_wakeup_enable(&mut self) -> REG_GPIO_PIN10_WAKEUP_ENABLE_W { REG_GPIO_PIN10_WAKEUP_ENABLE_W::new(self, 0) } #[doc = "Bits 1:3 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin10_int_type(&mut self) -> REG_GPIO_PIN10_INT_TYPE_W { REG_GPIO_PIN10_INT_TYPE_W::new(self, 1) } #[doc = "Bit 4 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin10_pad_driver(&mut self) -> REG_GPIO_PIN10_PAD_DRIVER_W { REG_GPIO_PIN10_PAD_DRIVER_W::new(self, 4) } #[doc = "Bit 5 - need des"] #[inline(always)] - #[must_use] pub fn reg_gpi10_pin0_edge_wakeup_clr( &mut self, ) -> REG_GPI10_PIN0_EDGE_WAKEUP_CLR_W { diff --git a/esp32p4/src/lp_gpio/pin11.rs b/esp32p4/src/lp_gpio/pin11.rs index 6c7a9aba0f..5725180e92 100644 --- a/esp32p4/src/lp_gpio/pin11.rs +++ b/esp32p4/src/lp_gpio/pin11.rs @@ -52,25 +52,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin11_wakeup_enable(&mut self) -> REG_GPIO_PIN11_WAKEUP_ENABLE_W { REG_GPIO_PIN11_WAKEUP_ENABLE_W::new(self, 0) } #[doc = "Bits 1:3 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin11_int_type(&mut self) -> REG_GPIO_PIN11_INT_TYPE_W { REG_GPIO_PIN11_INT_TYPE_W::new(self, 1) } #[doc = "Bit 4 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin11_pad_driver(&mut self) -> REG_GPIO_PIN11_PAD_DRIVER_W { REG_GPIO_PIN11_PAD_DRIVER_W::new(self, 4) } #[doc = "Bit 5 - need des"] #[inline(always)] - #[must_use] pub fn reg_gpi11_pin0_edge_wakeup_clr( &mut self, ) -> REG_GPI11_PIN0_EDGE_WAKEUP_CLR_W { diff --git a/esp32p4/src/lp_gpio/pin12.rs b/esp32p4/src/lp_gpio/pin12.rs index c496012216..3029ce84f7 100644 --- a/esp32p4/src/lp_gpio/pin12.rs +++ b/esp32p4/src/lp_gpio/pin12.rs @@ -52,25 +52,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin12_wakeup_enable(&mut self) -> REG_GPIO_PIN12_WAKEUP_ENABLE_W { REG_GPIO_PIN12_WAKEUP_ENABLE_W::new(self, 0) } #[doc = "Bits 1:3 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin12_int_type(&mut self) -> REG_GPIO_PIN12_INT_TYPE_W { REG_GPIO_PIN12_INT_TYPE_W::new(self, 1) } #[doc = "Bit 4 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin12_pad_driver(&mut self) -> REG_GPIO_PIN12_PAD_DRIVER_W { REG_GPIO_PIN12_PAD_DRIVER_W::new(self, 4) } #[doc = "Bit 5 - need des"] #[inline(always)] - #[must_use] pub fn reg_gpi12_pin0_edge_wakeup_clr( &mut self, ) -> REG_GPI12_PIN0_EDGE_WAKEUP_CLR_W { diff --git a/esp32p4/src/lp_gpio/pin13.rs b/esp32p4/src/lp_gpio/pin13.rs index dcec289425..d978d7925c 100644 --- a/esp32p4/src/lp_gpio/pin13.rs +++ b/esp32p4/src/lp_gpio/pin13.rs @@ -52,25 +52,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin13_wakeup_enable(&mut self) -> REG_GPIO_PIN13_WAKEUP_ENABLE_W { REG_GPIO_PIN13_WAKEUP_ENABLE_W::new(self, 0) } #[doc = "Bits 1:3 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin13_int_type(&mut self) -> REG_GPIO_PIN13_INT_TYPE_W { REG_GPIO_PIN13_INT_TYPE_W::new(self, 1) } #[doc = "Bit 4 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin13_pad_driver(&mut self) -> REG_GPIO_PIN13_PAD_DRIVER_W { REG_GPIO_PIN13_PAD_DRIVER_W::new(self, 4) } #[doc = "Bit 5 - need des"] #[inline(always)] - #[must_use] pub fn reg_gpi13_pin0_edge_wakeup_clr( &mut self, ) -> REG_GPI13_PIN0_EDGE_WAKEUP_CLR_W { diff --git a/esp32p4/src/lp_gpio/pin14.rs b/esp32p4/src/lp_gpio/pin14.rs index 93f501126b..070276a367 100644 --- a/esp32p4/src/lp_gpio/pin14.rs +++ b/esp32p4/src/lp_gpio/pin14.rs @@ -52,25 +52,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin14_wakeup_enable(&mut self) -> REG_GPIO_PIN14_WAKEUP_ENABLE_W { REG_GPIO_PIN14_WAKEUP_ENABLE_W::new(self, 0) } #[doc = "Bits 1:3 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin14_int_type(&mut self) -> REG_GPIO_PIN14_INT_TYPE_W { REG_GPIO_PIN14_INT_TYPE_W::new(self, 1) } #[doc = "Bit 4 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin14_pad_driver(&mut self) -> REG_GPIO_PIN14_PAD_DRIVER_W { REG_GPIO_PIN14_PAD_DRIVER_W::new(self, 4) } #[doc = "Bit 5 - need des"] #[inline(always)] - #[must_use] pub fn reg_gpi14_pin0_edge_wakeup_clr( &mut self, ) -> REG_GPI14_PIN0_EDGE_WAKEUP_CLR_W { diff --git a/esp32p4/src/lp_gpio/pin15.rs b/esp32p4/src/lp_gpio/pin15.rs index acbf5099d1..d50b9e516a 100644 --- a/esp32p4/src/lp_gpio/pin15.rs +++ b/esp32p4/src/lp_gpio/pin15.rs @@ -52,25 +52,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin15_wakeup_enable(&mut self) -> REG_GPIO_PIN15_WAKEUP_ENABLE_W { REG_GPIO_PIN15_WAKEUP_ENABLE_W::new(self, 0) } #[doc = "Bits 1:3 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin15_int_type(&mut self) -> REG_GPIO_PIN15_INT_TYPE_W { REG_GPIO_PIN15_INT_TYPE_W::new(self, 1) } #[doc = "Bit 4 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin15_pad_driver(&mut self) -> REG_GPIO_PIN15_PAD_DRIVER_W { REG_GPIO_PIN15_PAD_DRIVER_W::new(self, 4) } #[doc = "Bit 5 - need des"] #[inline(always)] - #[must_use] pub fn reg_gpi15_pin0_edge_wakeup_clr( &mut self, ) -> REG_GPI15_PIN0_EDGE_WAKEUP_CLR_W { diff --git a/esp32p4/src/lp_gpio/pin2.rs b/esp32p4/src/lp_gpio/pin2.rs index ca623e05ed..77f7d70bf6 100644 --- a/esp32p4/src/lp_gpio/pin2.rs +++ b/esp32p4/src/lp_gpio/pin2.rs @@ -49,25 +49,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin2_wakeup_enable(&mut self) -> REG_GPIO_PIN2_WAKEUP_ENABLE_W { REG_GPIO_PIN2_WAKEUP_ENABLE_W::new(self, 0) } #[doc = "Bits 1:3 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin2_int_type(&mut self) -> REG_GPIO_PIN2_INT_TYPE_W { REG_GPIO_PIN2_INT_TYPE_W::new(self, 1) } #[doc = "Bit 4 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin2_pad_driver(&mut self) -> REG_GPIO_PIN2_PAD_DRIVER_W { REG_GPIO_PIN2_PAD_DRIVER_W::new(self, 4) } #[doc = "Bit 5 - need des"] #[inline(always)] - #[must_use] pub fn reg_gpi2_pin0_edge_wakeup_clr(&mut self) -> REG_GPI2_PIN0_EDGE_WAKEUP_CLR_W { REG_GPI2_PIN0_EDGE_WAKEUP_CLR_W::new(self, 5) } diff --git a/esp32p4/src/lp_gpio/pin3.rs b/esp32p4/src/lp_gpio/pin3.rs index 90e86f3bd9..886a8707a1 100644 --- a/esp32p4/src/lp_gpio/pin3.rs +++ b/esp32p4/src/lp_gpio/pin3.rs @@ -49,25 +49,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin3_wakeup_enable(&mut self) -> REG_GPIO_PIN3_WAKEUP_ENABLE_W { REG_GPIO_PIN3_WAKEUP_ENABLE_W::new(self, 0) } #[doc = "Bits 1:3 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin3_int_type(&mut self) -> REG_GPIO_PIN3_INT_TYPE_W { REG_GPIO_PIN3_INT_TYPE_W::new(self, 1) } #[doc = "Bit 4 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin3_pad_driver(&mut self) -> REG_GPIO_PIN3_PAD_DRIVER_W { REG_GPIO_PIN3_PAD_DRIVER_W::new(self, 4) } #[doc = "Bit 5 - need des"] #[inline(always)] - #[must_use] pub fn reg_gpi3_pin0_edge_wakeup_clr(&mut self) -> REG_GPI3_PIN0_EDGE_WAKEUP_CLR_W { REG_GPI3_PIN0_EDGE_WAKEUP_CLR_W::new(self, 5) } diff --git a/esp32p4/src/lp_gpio/pin4.rs b/esp32p4/src/lp_gpio/pin4.rs index 0fc51f14e0..8a40ce8587 100644 --- a/esp32p4/src/lp_gpio/pin4.rs +++ b/esp32p4/src/lp_gpio/pin4.rs @@ -49,25 +49,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin4_wakeup_enable(&mut self) -> REG_GPIO_PIN4_WAKEUP_ENABLE_W { REG_GPIO_PIN4_WAKEUP_ENABLE_W::new(self, 0) } #[doc = "Bits 1:3 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin4_int_type(&mut self) -> REG_GPIO_PIN4_INT_TYPE_W { REG_GPIO_PIN4_INT_TYPE_W::new(self, 1) } #[doc = "Bit 4 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin4_pad_driver(&mut self) -> REG_GPIO_PIN4_PAD_DRIVER_W { REG_GPIO_PIN4_PAD_DRIVER_W::new(self, 4) } #[doc = "Bit 5 - need des"] #[inline(always)] - #[must_use] pub fn reg_gpi4_pin0_edge_wakeup_clr(&mut self) -> REG_GPI4_PIN0_EDGE_WAKEUP_CLR_W { REG_GPI4_PIN0_EDGE_WAKEUP_CLR_W::new(self, 5) } diff --git a/esp32p4/src/lp_gpio/pin5.rs b/esp32p4/src/lp_gpio/pin5.rs index fa5e09abdb..fca6b709cd 100644 --- a/esp32p4/src/lp_gpio/pin5.rs +++ b/esp32p4/src/lp_gpio/pin5.rs @@ -49,25 +49,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin5_wakeup_enable(&mut self) -> REG_GPIO_PIN5_WAKEUP_ENABLE_W { REG_GPIO_PIN5_WAKEUP_ENABLE_W::new(self, 0) } #[doc = "Bits 1:3 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin5_int_type(&mut self) -> REG_GPIO_PIN5_INT_TYPE_W { REG_GPIO_PIN5_INT_TYPE_W::new(self, 1) } #[doc = "Bit 4 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin5_pad_driver(&mut self) -> REG_GPIO_PIN5_PAD_DRIVER_W { REG_GPIO_PIN5_PAD_DRIVER_W::new(self, 4) } #[doc = "Bit 5 - need des"] #[inline(always)] - #[must_use] pub fn reg_gpi5_pin0_edge_wakeup_clr(&mut self) -> REG_GPI5_PIN0_EDGE_WAKEUP_CLR_W { REG_GPI5_PIN0_EDGE_WAKEUP_CLR_W::new(self, 5) } diff --git a/esp32p4/src/lp_gpio/pin6.rs b/esp32p4/src/lp_gpio/pin6.rs index d8e1e37626..9687677ea2 100644 --- a/esp32p4/src/lp_gpio/pin6.rs +++ b/esp32p4/src/lp_gpio/pin6.rs @@ -49,25 +49,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin6_wakeup_enable(&mut self) -> REG_GPIO_PIN6_WAKEUP_ENABLE_W { REG_GPIO_PIN6_WAKEUP_ENABLE_W::new(self, 0) } #[doc = "Bits 1:3 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin6_int_type(&mut self) -> REG_GPIO_PIN6_INT_TYPE_W { REG_GPIO_PIN6_INT_TYPE_W::new(self, 1) } #[doc = "Bit 4 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin6_pad_driver(&mut self) -> REG_GPIO_PIN6_PAD_DRIVER_W { REG_GPIO_PIN6_PAD_DRIVER_W::new(self, 4) } #[doc = "Bit 5 - need des"] #[inline(always)] - #[must_use] pub fn reg_gpi6_pin0_edge_wakeup_clr(&mut self) -> REG_GPI6_PIN0_EDGE_WAKEUP_CLR_W { REG_GPI6_PIN0_EDGE_WAKEUP_CLR_W::new(self, 5) } diff --git a/esp32p4/src/lp_gpio/pin7.rs b/esp32p4/src/lp_gpio/pin7.rs index 36a5507a50..c87eb7664a 100644 --- a/esp32p4/src/lp_gpio/pin7.rs +++ b/esp32p4/src/lp_gpio/pin7.rs @@ -49,25 +49,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin7_wakeup_enable(&mut self) -> REG_GPIO_PIN7_WAKEUP_ENABLE_W { REG_GPIO_PIN7_WAKEUP_ENABLE_W::new(self, 0) } #[doc = "Bits 1:3 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin7_int_type(&mut self) -> REG_GPIO_PIN7_INT_TYPE_W { REG_GPIO_PIN7_INT_TYPE_W::new(self, 1) } #[doc = "Bit 4 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin7_pad_driver(&mut self) -> REG_GPIO_PIN7_PAD_DRIVER_W { REG_GPIO_PIN7_PAD_DRIVER_W::new(self, 4) } #[doc = "Bit 5 - need des"] #[inline(always)] - #[must_use] pub fn reg_gpi7_pin0_edge_wakeup_clr(&mut self) -> REG_GPI7_PIN0_EDGE_WAKEUP_CLR_W { REG_GPI7_PIN0_EDGE_WAKEUP_CLR_W::new(self, 5) } diff --git a/esp32p4/src/lp_gpio/pin8.rs b/esp32p4/src/lp_gpio/pin8.rs index 12d82bda16..2775e24f09 100644 --- a/esp32p4/src/lp_gpio/pin8.rs +++ b/esp32p4/src/lp_gpio/pin8.rs @@ -49,25 +49,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin8_wakeup_enable(&mut self) -> REG_GPIO_PIN8_WAKEUP_ENABLE_W { REG_GPIO_PIN8_WAKEUP_ENABLE_W::new(self, 0) } #[doc = "Bits 1:3 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin8_int_type(&mut self) -> REG_GPIO_PIN8_INT_TYPE_W { REG_GPIO_PIN8_INT_TYPE_W::new(self, 1) } #[doc = "Bit 4 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin8_pad_driver(&mut self) -> REG_GPIO_PIN8_PAD_DRIVER_W { REG_GPIO_PIN8_PAD_DRIVER_W::new(self, 4) } #[doc = "Bit 5 - need des"] #[inline(always)] - #[must_use] pub fn reg_gpi8_pin0_edge_wakeup_clr(&mut self) -> REG_GPI8_PIN0_EDGE_WAKEUP_CLR_W { REG_GPI8_PIN0_EDGE_WAKEUP_CLR_W::new(self, 5) } diff --git a/esp32p4/src/lp_gpio/pin9.rs b/esp32p4/src/lp_gpio/pin9.rs index 1a24e20fc8..ac53df5861 100644 --- a/esp32p4/src/lp_gpio/pin9.rs +++ b/esp32p4/src/lp_gpio/pin9.rs @@ -49,25 +49,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin9_wakeup_enable(&mut self) -> REG_GPIO_PIN9_WAKEUP_ENABLE_W { REG_GPIO_PIN9_WAKEUP_ENABLE_W::new(self, 0) } #[doc = "Bits 1:3 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin9_int_type(&mut self) -> REG_GPIO_PIN9_INT_TYPE_W { REG_GPIO_PIN9_INT_TYPE_W::new(self, 1) } #[doc = "Bit 4 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_pin9_pad_driver(&mut self) -> REG_GPIO_PIN9_PAD_DRIVER_W { REG_GPIO_PIN9_PAD_DRIVER_W::new(self, 4) } #[doc = "Bit 5 - need des"] #[inline(always)] - #[must_use] pub fn reg_gpi9_pin0_edge_wakeup_clr(&mut self) -> REG_GPI9_PIN0_EDGE_WAKEUP_CLR_W { REG_GPI9_PIN0_EDGE_WAKEUP_CLR_W::new(self, 5) } diff --git a/esp32p4/src/lp_gpio/status.rs b/esp32p4/src/lp_gpio/status.rs index 0f5a6199c4..d756c2a3bd 100644 --- a/esp32p4/src/lp_gpio/status.rs +++ b/esp32p4/src/lp_gpio/status.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_status_data(&mut self) -> REG_GPIO_STATUS_DATA_W { REG_GPIO_STATUS_DATA_W::new(self, 0) } diff --git a/esp32p4/src/lp_gpio/status_w1tc.rs b/esp32p4/src/lp_gpio/status_w1tc.rs index 162583d781..822f0fa12d 100644 --- a/esp32p4/src/lp_gpio/status_w1tc.rs +++ b/esp32p4/src/lp_gpio/status_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:15 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_status_data_w1tc(&mut self) -> REG_GPIO_STATUS_DATA_W1TC_W { REG_GPIO_STATUS_DATA_W1TC_W::new(self, 0) } diff --git a/esp32p4/src/lp_gpio/status_w1ts.rs b/esp32p4/src/lp_gpio/status_w1ts.rs index 8c40985bb4..9fecdb26fd 100644 --- a/esp32p4/src/lp_gpio/status_w1ts.rs +++ b/esp32p4/src/lp_gpio/status_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:15 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_gpio_status_data_w1ts(&mut self) -> REG_GPIO_STATUS_DATA_W1TS_W { REG_GPIO_STATUS_DATA_W1TS_W::new(self, 0) } diff --git a/esp32p4/src/lp_gpio/ver_date.rs b/esp32p4/src/lp_gpio/ver_date.rs index 71e9103f59..b63101e7f7 100644 --- a/esp32p4/src/lp_gpio/ver_date.rs +++ b/esp32p4/src/lp_gpio/ver_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_ver_date(&mut self) -> REG_VER_DATE_W { REG_VER_DATE_W::new(self, 0) } diff --git a/esp32p4/src/lp_huk/clk.rs b/esp32p4/src/lp_huk/clk.rs index db6a2c9c2e..a5dca45811 100644 --- a/esp32p4/src/lp_huk/clk.rs +++ b/esp32p4/src/lp_huk/clk.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Write 1 to force on register clock gate."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 0) } #[doc = "Bit 1 - Write 1 to force on memory clock gate."] #[inline(always)] - #[must_use] pub fn mem_cg_force_on(&mut self) -> MEM_CG_FORCE_ON_W { MEM_CG_FORCE_ON_W::new(self, 1) } diff --git a/esp32p4/src/lp_huk/conf.rs b/esp32p4/src/lp_huk/conf.rs index a91f57da3f..38305d3f14 100644 --- a/esp32p4/src/lp_huk/conf.rs +++ b/esp32p4/src/lp_huk/conf.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this field to choose the huk process. 1: process huk generate mode. 0: process huk recovery mode."] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 0) } diff --git a/esp32p4/src/lp_huk/date.rs b/esp32p4/src/lp_huk/date.rs index 890867e390..a382a918c6 100644 --- a/esp32p4/src/lp_huk/date.rs +++ b/esp32p4/src/lp_huk/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - HUK Generator version control register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32p4/src/lp_huk/int_clr.rs b/esp32p4/src/lp_huk/int_clr.rs index 1336de096c..0e23756a9a 100644 --- a/esp32p4/src/lp_huk/int_clr.rs +++ b/esp32p4/src/lp_huk/int_clr.rs @@ -15,19 +15,16 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the huk_prep_done_int interrupt"] #[inline(always)] - #[must_use] pub fn prep_done(&mut self) -> PREP_DONE_W { PREP_DONE_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the huk_proc_done_int interrupt"] #[inline(always)] - #[must_use] pub fn proc_done(&mut self) -> PROC_DONE_W { PROC_DONE_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the huk_post_done_int interrupt"] #[inline(always)] - #[must_use] pub fn post_done(&mut self) -> POST_DONE_W { POST_DONE_W::new(self, 2) } diff --git a/esp32p4/src/lp_huk/int_ena.rs b/esp32p4/src/lp_huk/int_ena.rs index 9890b05f3d..9ea1aac901 100644 --- a/esp32p4/src/lp_huk/int_ena.rs +++ b/esp32p4/src/lp_huk/int_ena.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for the huk_prep_done_int interrupt"] #[inline(always)] - #[must_use] pub fn prep_done(&mut self) -> PREP_DONE_W { PREP_DONE_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the huk_proc_done_int interrupt"] #[inline(always)] - #[must_use] pub fn proc_done(&mut self) -> PROC_DONE_W { PROC_DONE_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the huk_post_done_int interrupt"] #[inline(always)] - #[must_use] pub fn post_done(&mut self) -> POST_DONE_W { POST_DONE_W::new(self, 2) } diff --git a/esp32p4/src/lp_huk/start.rs b/esp32p4/src/lp_huk/start.rs index c5a5506ea3..16844f024e 100644 --- a/esp32p4/src/lp_huk/start.rs +++ b/esp32p4/src/lp_huk/start.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to continue HUK Generator operation at LOAD/GAIN state."] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 0) } #[doc = "Bit 1 - Write 1 to start HUK Generator at IDLE state."] #[inline(always)] - #[must_use] pub fn continue_(&mut self) -> CONTINUE_W { CONTINUE_W::new(self, 1) } diff --git a/esp32p4/src/lp_i2c0/clk_conf.rs b/esp32p4/src/lp_i2c0/clk_conf.rs index 70fecdec18..238cb1aafd 100644 --- a/esp32p4/src/lp_i2c0/clk_conf.rs +++ b/esp32p4/src/lp_i2c0/clk_conf.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - the integral part of the fractional divisor for i2c module"] #[inline(always)] - #[must_use] pub fn sclk_div_num(&mut self) -> SCLK_DIV_NUM_W { SCLK_DIV_NUM_W::new(self, 0) } #[doc = "Bits 8:13 - the numerator of the fractional part of the fractional divisor for i2c module"] #[inline(always)] - #[must_use] pub fn sclk_div_a(&mut self) -> SCLK_DIV_A_W { SCLK_DIV_A_W::new(self, 8) } #[doc = "Bits 14:19 - the denominator of the fractional part of the fractional divisor for i2c module"] #[inline(always)] - #[must_use] pub fn sclk_div_b(&mut self) -> SCLK_DIV_B_W { SCLK_DIV_B_W::new(self, 14) } #[doc = "Bit 20 - The clock selection for i2c module:0-XTAL,1-CLK_8MHz."] #[inline(always)] - #[must_use] pub fn sclk_sel(&mut self) -> SCLK_SEL_W { SCLK_SEL_W::new(self, 20) } #[doc = "Bit 21 - The clock switch for i2c module"] #[inline(always)] - #[must_use] pub fn sclk_active(&mut self) -> SCLK_ACTIVE_W { SCLK_ACTIVE_W::new(self, 21) } diff --git a/esp32p4/src/lp_i2c0/comd.rs b/esp32p4/src/lp_i2c0/comd.rs index de40c30d99..53d2e7679c 100644 --- a/esp32p4/src/lp_i2c0/comd.rs +++ b/esp32p4/src/lp_i2c0/comd.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - Configures command 0. It consists of three parts: op_code is the command, 0: RSTART, 1: WRITE, 2: READ, 3: STOP, 4: END. Byte_num represents the number of bytes that need to be sent or received. ack_check_en, ack_exp and ack are used to control the ACK bit. See I2C cmd structure for more information."] #[inline(always)] - #[must_use] pub fn command(&mut self) -> COMMAND_W { COMMAND_W::new(self, 0) } #[doc = "Bit 31 - Represents whether command 0 is done in I2C Master mode. 0: Not done 1: Done"] #[inline(always)] - #[must_use] pub fn command_done(&mut self) -> COMMAND_DONE_W { COMMAND_DONE_W::new(self, 31) } diff --git a/esp32p4/src/lp_i2c0/ctr.rs b/esp32p4/src/lp_i2c0/ctr.rs index 3e62969dbb..58100e5dcd 100644 --- a/esp32p4/src/lp_i2c0/ctr.rs +++ b/esp32p4/src/lp_i2c0/ctr.rs @@ -100,67 +100,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configures the SDA output mode 1: Direct output, 0: Open drain output."] #[inline(always)] - #[must_use] pub fn sda_force_out(&mut self) -> SDA_FORCE_OUT_W { SDA_FORCE_OUT_W::new(self, 0) } #[doc = "Bit 1 - Configures the SCL output mode 1: Direct output, 0: Open drain output."] #[inline(always)] - #[must_use] pub fn scl_force_out(&mut self) -> SCL_FORCE_OUT_W { SCL_FORCE_OUT_W::new(self, 1) } #[doc = "Bit 2 - Configures the sample mode for SDA. 1: Sample SDA data on the SCL low level. 0: Sample SDA data on the SCL high level."] #[inline(always)] - #[must_use] pub fn sample_scl_level(&mut self) -> SAMPLE_SCL_LEVEL_W { SAMPLE_SCL_LEVEL_W::new(self, 2) } #[doc = "Bit 3 - Configures the ACK value that needs to be sent by master when the rx_fifo_cnt has reached the threshold."] #[inline(always)] - #[must_use] pub fn rx_full_ack_level(&mut self) -> RX_FULL_ACK_LEVEL_W { RX_FULL_ACK_LEVEL_W::new(self, 3) } #[doc = "Bit 5 - Configures to start sending the data in txfifo for slave. 0: No effect 1: Start"] #[inline(always)] - #[must_use] pub fn trans_start(&mut self) -> TRANS_START_W { TRANS_START_W::new(self, 5) } #[doc = "Bit 6 - Configures to control the sending order for data needing to be sent. 1: send data from the least significant bit, 0: send data from the most significant bit."] #[inline(always)] - #[must_use] pub fn tx_lsb_first(&mut self) -> TX_LSB_FIRST_W { TX_LSB_FIRST_W::new(self, 6) } #[doc = "Bit 7 - Configures to control the storage order for received data. 1: receive data from the least significant bit 0: receive data from the most significant bit."] #[inline(always)] - #[must_use] pub fn rx_lsb_first(&mut self) -> RX_LSB_FIRST_W { RX_LSB_FIRST_W::new(self, 7) } #[doc = "Bit 8 - Configures whether to gate clock signal for registers. 0: Force clock on for registers 1: Support clock only when registers are read or written to by software."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 8) } #[doc = "Bit 9 - Configures to enable I2C bus arbitration detection. 0: No effect 1: Enable"] #[inline(always)] - #[must_use] pub fn arbitration_en(&mut self) -> ARBITRATION_EN_W { ARBITRATION_EN_W::new(self, 9) } #[doc = "Bit 10 - Configures to reset the SCL_FSM. 0: No effect 1: Reset"] #[inline(always)] - #[must_use] pub fn fsm_rst(&mut self) -> FSM_RST_W { FSM_RST_W::new(self, 10) } #[doc = "Bit 11 - Configures this bit for synchronization 0: No effect 1: Synchronize"] #[inline(always)] - #[must_use] pub fn conf_upgate(&mut self) -> CONF_UPGATE_W { CONF_UPGATE_W::new(self, 11) } diff --git a/esp32p4/src/lp_i2c0/date.rs b/esp32p4/src/lp_i2c0/date.rs index d6637679c4..9a7cf4a959 100644 --- a/esp32p4/src/lp_i2c0/date.rs +++ b/esp32p4/src/lp_i2c0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Version control register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32p4/src/lp_i2c0/fifo_conf.rs b/esp32p4/src/lp_i2c0/fifo_conf.rs index 88c3f83495..7958ef10fb 100644 --- a/esp32p4/src/lp_i2c0/fifo_conf.rs +++ b/esp32p4/src/lp_i2c0/fifo_conf.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Configures the water mark threshold of RXFIFO in nonfifo access mode. When reg_reg_fifo_prt_en is 1 and rx FIFO counter is bigger than reg_rxfifo_wm_thrhd\\[3:0\\], reg_rxfifo_wm_int_raw bit will be valid."] #[inline(always)] - #[must_use] pub fn rxfifo_wm_thrhd(&mut self) -> RXFIFO_WM_THRHD_W { RXFIFO_WM_THRHD_W::new(self, 0) } #[doc = "Bits 5:8 - Configures the water mark threshold of TXFIFO in nonfifo access mode. When reg_reg_fifo_prt_en is 1 and tx FIFO counter is smaller than reg_txfifo_wm_thrhd\\[3:0\\], reg_txfifo_wm_int_raw bit will be valid."] #[inline(always)] - #[must_use] pub fn txfifo_wm_thrhd(&mut self) -> TXFIFO_WM_THRHD_W { TXFIFO_WM_THRHD_W::new(self, 5) } #[doc = "Bit 10 - Configures to enable APB nonfifo access."] #[inline(always)] - #[must_use] pub fn nonfifo_en(&mut self) -> NONFIFO_EN_W { NONFIFO_EN_W::new(self, 10) } #[doc = "Bit 12 - Configures to reset RXFIFO. 0: No effect 1: Reset"] #[inline(always)] - #[must_use] pub fn rx_fifo_rst(&mut self) -> RX_FIFO_RST_W { RX_FIFO_RST_W::new(self, 12) } #[doc = "Bit 13 - Configures to reset TXFIFO. 0: No effect 1: Reset"] #[inline(always)] - #[must_use] pub fn tx_fifo_rst(&mut self) -> TX_FIFO_RST_W { TX_FIFO_RST_W::new(self, 13) } #[doc = "Bit 14 - Configures to enable FIFO pointer in non-fifo access mode. This bit controls the valid bits and the TX/RX FIFO overflow, underflow, full and empty interrupts. 0: No effect 1: Enable"] #[inline(always)] - #[must_use] pub fn fifo_prt_en(&mut self) -> FIFO_PRT_EN_W { FIFO_PRT_EN_W::new(self, 14) } diff --git a/esp32p4/src/lp_i2c0/filter_cfg.rs b/esp32p4/src/lp_i2c0/filter_cfg.rs index fc33434c65..2cd35d1eac 100644 --- a/esp32p4/src/lp_i2c0/filter_cfg.rs +++ b/esp32p4/src/lp_i2c0/filter_cfg.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Configures the threshold pulse width to be filtered on SCL. When a pulse on the SCL input has smaller width than this register value, the I2C controller will ignore that pulse. Measurement unit: i2c_sclk"] #[inline(always)] - #[must_use] pub fn scl_filter_thres(&mut self) -> SCL_FILTER_THRES_W { SCL_FILTER_THRES_W::new(self, 0) } #[doc = "Bits 4:7 - Configures the threshold pulse width to be filtered on SDA. When a pulse on the SDA input has smaller width than this register value, the I2C controller will ignore that pulse. Measurement unit: i2c_sclk"] #[inline(always)] - #[must_use] pub fn sda_filter_thres(&mut self) -> SDA_FILTER_THRES_W { SDA_FILTER_THRES_W::new(self, 4) } #[doc = "Bit 8 - Configures to enable the filter function for SCL."] #[inline(always)] - #[must_use] pub fn scl_filter_en(&mut self) -> SCL_FILTER_EN_W { SCL_FILTER_EN_W::new(self, 8) } #[doc = "Bit 9 - Configures to enable the filter function for SDA."] #[inline(always)] - #[must_use] pub fn sda_filter_en(&mut self) -> SDA_FILTER_EN_W { SDA_FILTER_EN_W::new(self, 9) } diff --git a/esp32p4/src/lp_i2c0/int_clr.rs b/esp32p4/src/lp_i2c0/int_clr.rs index 898f239942..0948c31473 100644 --- a/esp32p4/src/lp_i2c0/int_clr.rs +++ b/esp32p4/src/lp_i2c0/int_clr.rs @@ -41,97 +41,81 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to clear I2C_RXFIFO_WM_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_wm(&mut self) -> RXFIFO_WM_W { RXFIFO_WM_W::new(self, 0) } #[doc = "Bit 1 - Write 1 to clear I2C_TXFIFO_WM_INT interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_wm(&mut self) -> TXFIFO_WM_W { TXFIFO_WM_W::new(self, 1) } #[doc = "Bit 2 - Write 1 to clear I2C_RXFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 2) } #[doc = "Bit 3 - Write 1 to clear the I2C_END_DETECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn end_detect(&mut self) -> END_DETECT_W { END_DETECT_W::new(self, 3) } #[doc = "Bit 4 - Write 1 to clear the I2C_END_DETECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn byte_trans_done(&mut self) -> BYTE_TRANS_DONE_W { BYTE_TRANS_DONE_W::new(self, 4) } #[doc = "Bit 5 - Write 1 to clear the I2C_ARBITRATION_LOST_INT interrupt."] #[inline(always)] - #[must_use] pub fn arbitration_lost(&mut self) -> ARBITRATION_LOST_W { ARBITRATION_LOST_W::new(self, 5) } #[doc = "Bit 6 - Write 1 to clear I2C_TRANS_COMPLETE_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_txfifo_udf(&mut self) -> MST_TXFIFO_UDF_W { MST_TXFIFO_UDF_W::new(self, 6) } #[doc = "Bit 7 - Write 1 to clear the I2C_TRANS_COMPLETE_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_complete(&mut self) -> TRANS_COMPLETE_W { TRANS_COMPLETE_W::new(self, 7) } #[doc = "Bit 8 - Write 1 to clear the I2C_TIME_OUT_INT interrupt."] #[inline(always)] - #[must_use] pub fn time_out(&mut self) -> TIME_OUT_W { TIME_OUT_W::new(self, 8) } #[doc = "Bit 9 - Write 1 to clear the I2C_TRANS_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_start(&mut self) -> TRANS_START_W { TRANS_START_W::new(self, 9) } #[doc = "Bit 10 - Write 1 to clear I2C_SLAVE_STRETCH_INT interrupt."] #[inline(always)] - #[must_use] pub fn nack(&mut self) -> NACK_W { NACK_W::new(self, 10) } #[doc = "Bit 11 - Write 1 to clear I2C_TXFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_ovf(&mut self) -> TXFIFO_OVF_W { TXFIFO_OVF_W::new(self, 11) } #[doc = "Bit 12 - Write 1 to clear I2C_RXFIFO_UDF_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_udf(&mut self) -> RXFIFO_UDF_W { RXFIFO_UDF_W::new(self, 12) } #[doc = "Bit 13 - Write 1 to clear I2C_SCL_ST_TO_INT interrupt."] #[inline(always)] - #[must_use] pub fn scl_st_to(&mut self) -> SCL_ST_TO_W { SCL_ST_TO_W::new(self, 13) } #[doc = "Bit 14 - Write 1 to clear I2C_SCL_MAIN_ST_TO_INT interrupt."] #[inline(always)] - #[must_use] pub fn scl_main_st_to(&mut self) -> SCL_MAIN_ST_TO_W { SCL_MAIN_ST_TO_W::new(self, 14) } #[doc = "Bit 15 - Write 1 to clear I2C_DET_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn det_start(&mut self) -> DET_START_W { DET_START_W::new(self, 15) } diff --git a/esp32p4/src/lp_i2c0/int_ena.rs b/esp32p4/src/lp_i2c0/int_ena.rs index 7835b099e9..5de0688954 100644 --- a/esp32p4/src/lp_i2c0/int_ena.rs +++ b/esp32p4/src/lp_i2c0/int_ena.rs @@ -174,97 +174,81 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Write 1 to anable I2C_RXFIFO_WM_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_wm(&mut self) -> RXFIFO_WM_W { RXFIFO_WM_W::new(self, 0) } #[doc = "Bit 1 - Write 1 to anable I2C_TXFIFO_WM_INT interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_wm(&mut self) -> TXFIFO_WM_W { TXFIFO_WM_W::new(self, 1) } #[doc = "Bit 2 - Write 1 to anable I2C_RXFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 2) } #[doc = "Bit 3 - Write 1 to anable the I2C_END_DETECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn end_detect(&mut self) -> END_DETECT_W { END_DETECT_W::new(self, 3) } #[doc = "Bit 4 - Write 1 to anable the I2C_END_DETECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn byte_trans_done(&mut self) -> BYTE_TRANS_DONE_W { BYTE_TRANS_DONE_W::new(self, 4) } #[doc = "Bit 5 - Write 1 to anable the I2C_ARBITRATION_LOST_INT interrupt."] #[inline(always)] - #[must_use] pub fn arbitration_lost(&mut self) -> ARBITRATION_LOST_W { ARBITRATION_LOST_W::new(self, 5) } #[doc = "Bit 6 - Write 1 to anable I2C_TRANS_COMPLETE_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_txfifo_udf(&mut self) -> MST_TXFIFO_UDF_W { MST_TXFIFO_UDF_W::new(self, 6) } #[doc = "Bit 7 - Write 1 to anable the I2C_TRANS_COMPLETE_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_complete(&mut self) -> TRANS_COMPLETE_W { TRANS_COMPLETE_W::new(self, 7) } #[doc = "Bit 8 - Write 1 to anable the I2C_TIME_OUT_INT interrupt."] #[inline(always)] - #[must_use] pub fn time_out(&mut self) -> TIME_OUT_W { TIME_OUT_W::new(self, 8) } #[doc = "Bit 9 - Write 1 to anable the I2C_TRANS_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_start(&mut self) -> TRANS_START_W { TRANS_START_W::new(self, 9) } #[doc = "Bit 10 - Write 1 to anable I2C_SLAVE_STRETCH_INT interrupt."] #[inline(always)] - #[must_use] pub fn nack(&mut self) -> NACK_W { NACK_W::new(self, 10) } #[doc = "Bit 11 - Write 1 to anable I2C_TXFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_ovf(&mut self) -> TXFIFO_OVF_W { TXFIFO_OVF_W::new(self, 11) } #[doc = "Bit 12 - Write 1 to anable I2C_RXFIFO_UDF_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_udf(&mut self) -> RXFIFO_UDF_W { RXFIFO_UDF_W::new(self, 12) } #[doc = "Bit 13 - Write 1 to anable I2C_SCL_ST_TO_INT interrupt."] #[inline(always)] - #[must_use] pub fn scl_st_to(&mut self) -> SCL_ST_TO_W { SCL_ST_TO_W::new(self, 13) } #[doc = "Bit 14 - Write 1 to anable I2C_SCL_MAIN_ST_TO_INT interrupt."] #[inline(always)] - #[must_use] pub fn scl_main_st_to(&mut self) -> SCL_MAIN_ST_TO_W { SCL_MAIN_ST_TO_W::new(self, 14) } #[doc = "Bit 15 - Write 1 to anable I2C_DET_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn det_start(&mut self) -> DET_START_W { DET_START_W::new(self, 15) } diff --git a/esp32p4/src/lp_i2c0/scl_high_period.rs b/esp32p4/src/lp_i2c0/scl_high_period.rs index 2436ea2bc2..5486c850c5 100644 --- a/esp32p4/src/lp_i2c0/scl_high_period.rs +++ b/esp32p4/src/lp_i2c0/scl_high_period.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - Configures for how long SCL remains high in master mode. Measurement unit: i2c_sclk"] #[inline(always)] - #[must_use] pub fn scl_high_period(&mut self) -> SCL_HIGH_PERIOD_W { SCL_HIGH_PERIOD_W::new(self, 0) } #[doc = "Bits 9:15 - Configures the SCL_FSM's waiting period for SCL high level in master mode. Measurement unit: i2c_sclk"] #[inline(always)] - #[must_use] pub fn scl_wait_high_period(&mut self) -> SCL_WAIT_HIGH_PERIOD_W { SCL_WAIT_HIGH_PERIOD_W::new(self, 9) } diff --git a/esp32p4/src/lp_i2c0/scl_low_period.rs b/esp32p4/src/lp_i2c0/scl_low_period.rs index f510b4f860..1767ffab3a 100644 --- a/esp32p4/src/lp_i2c0/scl_low_period.rs +++ b/esp32p4/src/lp_i2c0/scl_low_period.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - Configures the low level width of the SCL Clock. Measurement unit: i2c_sclk."] #[inline(always)] - #[must_use] pub fn scl_low_period(&mut self) -> SCL_LOW_PERIOD_W { SCL_LOW_PERIOD_W::new(self, 0) } diff --git a/esp32p4/src/lp_i2c0/scl_main_st_time_out.rs b/esp32p4/src/lp_i2c0/scl_main_st_time_out.rs index fbecd65343..e20d56659a 100644 --- a/esp32p4/src/lp_i2c0/scl_main_st_time_out.rs +++ b/esp32p4/src/lp_i2c0/scl_main_st_time_out.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Configures the threshold value of SCL_MAIN_FSM state unchanged period.nIt should be no more than 23. Measurement unit: i2c_sclk"] #[inline(always)] - #[must_use] pub fn scl_main_st_to_i2c(&mut self) -> SCL_MAIN_ST_TO_I2C_W { SCL_MAIN_ST_TO_I2C_W::new(self, 0) } diff --git a/esp32p4/src/lp_i2c0/scl_rstart_setup.rs b/esp32p4/src/lp_i2c0/scl_rstart_setup.rs index 31166d2feb..b7aae729d1 100644 --- a/esp32p4/src/lp_i2c0/scl_rstart_setup.rs +++ b/esp32p4/src/lp_i2c0/scl_rstart_setup.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - Configures the time between the positive edge of SCL and the negative edge of SDA for a RESTART condition. Measurement unit: i2c_sclk"] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32p4/src/lp_i2c0/scl_sp_conf.rs b/esp32p4/src/lp_i2c0/scl_sp_conf.rs index 3500ddcf7e..366f3b0c52 100644 --- a/esp32p4/src/lp_i2c0/scl_sp_conf.rs +++ b/esp32p4/src/lp_i2c0/scl_sp_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - When I2C master is IDLE, set this bit to send out SCL pulses. The number of pulses equals to reg_scl_rst_slv_num\\[4:0\\]."] #[inline(always)] - #[must_use] pub fn scl_rst_slv_en(&mut self) -> SCL_RST_SLV_EN_W { SCL_RST_SLV_EN_W::new(self, 0) } #[doc = "Bits 1:5 - Configures to send out SCL pulses when I2C master is IDLE. The number of pulses equals to reg_scl_rst_slv_num\\[4:0\\]."] #[inline(always)] - #[must_use] pub fn scl_rst_slv_num(&mut self) -> SCL_RST_SLV_NUM_W { SCL_RST_SLV_NUM_W::new(self, 1) } #[doc = "Bit 6 - Configure the pulses of SCL generated in I2C master mode. Valid when reg_scl_rst_slv_en is 1. Measurement unit: i2c_sclk"] #[inline(always)] - #[must_use] pub fn scl_pd_en(&mut self) -> SCL_PD_EN_W { SCL_PD_EN_W::new(self, 6) } #[doc = "Bit 7 - Configures to power down the I2C output SCL line. 0: Not power down. 1: Power down. Valid only when reg_scl_force_out is 1."] #[inline(always)] - #[must_use] pub fn sda_pd_en(&mut self) -> SDA_PD_EN_W { SDA_PD_EN_W::new(self, 7) } diff --git a/esp32p4/src/lp_i2c0/scl_st_time_out.rs b/esp32p4/src/lp_i2c0/scl_st_time_out.rs index 67772cd1e0..66eb7fbb63 100644 --- a/esp32p4/src/lp_i2c0/scl_st_time_out.rs +++ b/esp32p4/src/lp_i2c0/scl_st_time_out.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Configures the threshold value of SCL_FSM state unchanged period. It should be no more than 23. Measurement unit: i2c_sclk"] #[inline(always)] - #[must_use] pub fn scl_st_to_i2c(&mut self) -> SCL_ST_TO_I2C_W { SCL_ST_TO_I2C_W::new(self, 0) } diff --git a/esp32p4/src/lp_i2c0/scl_start_hold.rs b/esp32p4/src/lp_i2c0/scl_start_hold.rs index b3369fac3e..5ecae02216 100644 --- a/esp32p4/src/lp_i2c0/scl_start_hold.rs +++ b/esp32p4/src/lp_i2c0/scl_start_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - Configures the time between the falling edge of SDA and the falling edge of SCL for a START condition. Measurement unit: i2c_sclk."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32p4/src/lp_i2c0/scl_stop_hold.rs b/esp32p4/src/lp_i2c0/scl_stop_hold.rs index b2a07dde85..39579b0db8 100644 --- a/esp32p4/src/lp_i2c0/scl_stop_hold.rs +++ b/esp32p4/src/lp_i2c0/scl_stop_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - Configures the delay after the STOP condition. Measurement unit: i2c_sclk"] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32p4/src/lp_i2c0/scl_stop_setup.rs b/esp32p4/src/lp_i2c0/scl_stop_setup.rs index 45800813f1..195b04f3d6 100644 --- a/esp32p4/src/lp_i2c0/scl_stop_setup.rs +++ b/esp32p4/src/lp_i2c0/scl_stop_setup.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - Configures the time between the rising edge of SCL and the rising edge of SDA. Measurement unit: i2c_sclk"] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32p4/src/lp_i2c0/sda_hold.rs b/esp32p4/src/lp_i2c0/sda_hold.rs index 3e83f95159..2e592c0423 100644 --- a/esp32p4/src/lp_i2c0/sda_hold.rs +++ b/esp32p4/src/lp_i2c0/sda_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - Configures the time to hold the data after the falling edge of SCL. Measurement unit: i2c_sclk"] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32p4/src/lp_i2c0/sda_sample.rs b/esp32p4/src/lp_i2c0/sda_sample.rs index b6bc68b973..1bf4fc1f9d 100644 --- a/esp32p4/src/lp_i2c0/sda_sample.rs +++ b/esp32p4/src/lp_i2c0/sda_sample.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - Configures the sample time after a positive SCL edge. Measurement unit: i2c_sclk"] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32p4/src/lp_i2c0/to.rs b/esp32p4/src/lp_i2c0/to.rs index a0c52cacfc..f00edd1de9 100644 --- a/esp32p4/src/lp_i2c0/to.rs +++ b/esp32p4/src/lp_i2c0/to.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - Configures the timeout threshold period for SCL stucking at high or low level. The actual period is 2^(reg_time_out_value). Measurement unit: i2c_sclk."] #[inline(always)] - #[must_use] pub fn time_out_value(&mut self) -> TIME_OUT_VALUE_W { TIME_OUT_VALUE_W::new(self, 0) } #[doc = "Bit 5 - Configures to enable time out control. 0: No effect 1: Enable"] #[inline(always)] - #[must_use] pub fn time_out_en(&mut self) -> TIME_OUT_EN_W { TIME_OUT_EN_W::new(self, 5) } diff --git a/esp32p4/src/lp_i2c_ana_mst/ana_conf0.rs b/esp32p4/src/lp_i2c_ana_mst/ana_conf0.rs index c9dcf84a76..cf13b45748 100644 --- a/esp32p4/src/lp_i2c_ana_mst/ana_conf0.rs +++ b/esp32p4/src/lp_i2c_ana_mst/ana_conf0.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - need des"] #[inline(always)] - #[must_use] pub fn ana_conf0(&mut self) -> ANA_CONF0_W { ANA_CONF0_W::new(self, 0) } diff --git a/esp32p4/src/lp_i2c_ana_mst/ana_conf1.rs b/esp32p4/src/lp_i2c_ana_mst/ana_conf1.rs index 9a2f31d739..8b79abb037 100644 --- a/esp32p4/src/lp_i2c_ana_mst/ana_conf1.rs +++ b/esp32p4/src/lp_i2c_ana_mst/ana_conf1.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - need des"] #[inline(always)] - #[must_use] pub fn ana_conf1(&mut self) -> ANA_CONF1_W { ANA_CONF1_W::new(self, 0) } diff --git a/esp32p4/src/lp_i2c_ana_mst/ana_conf2.rs b/esp32p4/src/lp_i2c_ana_mst/ana_conf2.rs index 946d02ebb4..aef5f5eddc 100644 --- a/esp32p4/src/lp_i2c_ana_mst/ana_conf2.rs +++ b/esp32p4/src/lp_i2c_ana_mst/ana_conf2.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - need des"] #[inline(always)] - #[must_use] pub fn ana_conf2(&mut self) -> ANA_CONF2_W { ANA_CONF2_W::new(self, 0) } diff --git a/esp32p4/src/lp_i2c_ana_mst/clk160m.rs b/esp32p4/src/lp_i2c_ana_mst/clk160m.rs index 4fc08a12b7..43a0931ba9 100644 --- a/esp32p4/src/lp_i2c_ana_mst/clk160m.rs +++ b/esp32p4/src/lp_i2c_ana_mst/clk160m.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need des"] #[inline(always)] - #[must_use] pub fn clk_i2c_mst_sel_160m(&mut self) -> CLK_I2C_MST_SEL_160M_W { CLK_I2C_MST_SEL_160M_W::new(self, 0) } diff --git a/esp32p4/src/lp_i2c_ana_mst/date.rs b/esp32p4/src/lp_i2c_ana_mst/date.rs index 25b0ad43de..d9824afe15 100644 --- a/esp32p4/src/lp_i2c_ana_mst/date.rs +++ b/esp32p4/src/lp_i2c_ana_mst/date.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - need des"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } #[doc = "Bit 28 - need des"] #[inline(always)] - #[must_use] pub fn i2c_mst_clk_en(&mut self) -> I2C_MST_CLK_EN_W { I2C_MST_CLK_EN_W::new(self, 28) } diff --git a/esp32p4/src/lp_i2c_ana_mst/hw_i2c_ctrl.rs b/esp32p4/src/lp_i2c_ana_mst/hw_i2c_ctrl.rs index 6feaf36706..c25d4492af 100644 --- a/esp32p4/src/lp_i2c_ana_mst/hw_i2c_ctrl.rs +++ b/esp32p4/src/lp_i2c_ana_mst/hw_i2c_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - need des"] #[inline(always)] - #[must_use] pub fn hw_i2c_scl_pulse_dur(&mut self) -> HW_I2C_SCL_PULSE_DUR_W { HW_I2C_SCL_PULSE_DUR_W::new(self, 0) } #[doc = "Bits 6:10 - need des"] #[inline(always)] - #[must_use] pub fn hw_i2c_sda_side_guard(&mut self) -> HW_I2C_SDA_SIDE_GUARD_W { HW_I2C_SDA_SIDE_GUARD_W::new(self, 6) } #[doc = "Bit 11 - need des"] #[inline(always)] - #[must_use] pub fn arbiter_dis(&mut self) -> ARBITER_DIS_W { ARBITER_DIS_W::new(self, 11) } diff --git a/esp32p4/src/lp_i2c_ana_mst/i2c0_conf.rs b/esp32p4/src/lp_i2c_ana_mst/i2c0_conf.rs index 7a9078f0ca..8cab331d68 100644 --- a/esp32p4/src/lp_i2c_ana_mst/i2c0_conf.rs +++ b/esp32p4/src/lp_i2c_ana_mst/i2c0_conf.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - need des"] #[inline(always)] - #[must_use] pub fn i2c0_conf(&mut self) -> I2C0_CONF_W { I2C0_CONF_W::new(self, 0) } diff --git a/esp32p4/src/lp_i2c_ana_mst/i2c0_ctrl.rs b/esp32p4/src/lp_i2c_ana_mst/i2c0_ctrl.rs index e93578a251..1d01718826 100644 --- a/esp32p4/src/lp_i2c_ana_mst/i2c0_ctrl.rs +++ b/esp32p4/src/lp_i2c_ana_mst/i2c0_ctrl.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:24 - need des"] #[inline(always)] - #[must_use] pub fn i2c0_ctrl(&mut self) -> I2C0_CTRL_W { I2C0_CTRL_W::new(self, 0) } diff --git a/esp32p4/src/lp_i2c_ana_mst/i2c0_ctrl1.rs b/esp32p4/src/lp_i2c_ana_mst/i2c0_ctrl1.rs index 9003da1212..4dbcc76438 100644 --- a/esp32p4/src/lp_i2c_ana_mst/i2c0_ctrl1.rs +++ b/esp32p4/src/lp_i2c_ana_mst/i2c0_ctrl1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - need des"] #[inline(always)] - #[must_use] pub fn i2c0_scl_pulse_dur(&mut self) -> I2C0_SCL_PULSE_DUR_W { I2C0_SCL_PULSE_DUR_W::new(self, 0) } #[doc = "Bits 6:10 - need des"] #[inline(always)] - #[must_use] pub fn i2c0_sda_side_guard(&mut self) -> I2C0_SDA_SIDE_GUARD_W { I2C0_SDA_SIDE_GUARD_W::new(self, 6) } diff --git a/esp32p4/src/lp_i2c_ana_mst/i2c1_conf.rs b/esp32p4/src/lp_i2c_ana_mst/i2c1_conf.rs index dbedd73454..00bd1da0ba 100644 --- a/esp32p4/src/lp_i2c_ana_mst/i2c1_conf.rs +++ b/esp32p4/src/lp_i2c_ana_mst/i2c1_conf.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - need des"] #[inline(always)] - #[must_use] pub fn i2c1_conf(&mut self) -> I2C1_CONF_W { I2C1_CONF_W::new(self, 0) } diff --git a/esp32p4/src/lp_i2c_ana_mst/i2c1_ctrl.rs b/esp32p4/src/lp_i2c_ana_mst/i2c1_ctrl.rs index c3724e89d6..b220f225d2 100644 --- a/esp32p4/src/lp_i2c_ana_mst/i2c1_ctrl.rs +++ b/esp32p4/src/lp_i2c_ana_mst/i2c1_ctrl.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:24 - need des"] #[inline(always)] - #[must_use] pub fn i2c1_ctrl(&mut self) -> I2C1_CTRL_W { I2C1_CTRL_W::new(self, 0) } diff --git a/esp32p4/src/lp_i2c_ana_mst/i2c1_ctrl1.rs b/esp32p4/src/lp_i2c_ana_mst/i2c1_ctrl1.rs index 19277162fd..6a96430a10 100644 --- a/esp32p4/src/lp_i2c_ana_mst/i2c1_ctrl1.rs +++ b/esp32p4/src/lp_i2c_ana_mst/i2c1_ctrl1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - need des"] #[inline(always)] - #[must_use] pub fn i2c1_scl_pulse_dur(&mut self) -> I2C1_SCL_PULSE_DUR_W { I2C1_SCL_PULSE_DUR_W::new(self, 0) } #[doc = "Bits 6:10 - need des"] #[inline(always)] - #[must_use] pub fn i2c1_sda_side_guard(&mut self) -> I2C1_SDA_SIDE_GUARD_W { I2C1_SDA_SIDE_GUARD_W::new(self, 6) } diff --git a/esp32p4/src/lp_i2c_ana_mst/i2c_burst_conf.rs b/esp32p4/src/lp_i2c_ana_mst/i2c_burst_conf.rs index 6c23d87b25..b7fc8f5f95 100644 --- a/esp32p4/src/lp_i2c_ana_mst/i2c_burst_conf.rs +++ b/esp32p4/src/lp_i2c_ana_mst/i2c_burst_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need des"] #[inline(always)] - #[must_use] pub fn i2c_mst_burst_ctrl(&mut self) -> I2C_MST_BURST_CTRL_W { I2C_MST_BURST_CTRL_W::new(self, 0) } diff --git a/esp32p4/src/lp_i2c_ana_mst/i2c_burst_status.rs b/esp32p4/src/lp_i2c_ana_mst/i2c_burst_status.rs index 41341e0e4c..8dcbaf5b05 100644 --- a/esp32p4/src/lp_i2c_ana_mst/i2c_burst_status.rs +++ b/esp32p4/src/lp_i2c_ana_mst/i2c_burst_status.rs @@ -51,7 +51,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 20:31 - need des"] #[inline(always)] - #[must_use] pub fn i2c_mst_burst_timeout_cnt( &mut self, ) -> I2C_MST_BURST_TIMEOUT_CNT_W { diff --git a/esp32p4/src/lp_i2c_ana_mst/nouse.rs b/esp32p4/src/lp_i2c_ana_mst/nouse.rs index 2764f04ef0..e57a4c22d5 100644 --- a/esp32p4/src/lp_i2c_ana_mst/nouse.rs +++ b/esp32p4/src/lp_i2c_ana_mst/nouse.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need des"] #[inline(always)] - #[must_use] pub fn i2c_mst_nouse(&mut self) -> I2C_MST_NOUSE_W { I2C_MST_NOUSE_W::new(self, 0) } diff --git a/esp32p4/src/lp_i2s0/clk_gate.rs b/esp32p4/src/lp_i2s0/clk_gate.rs index fc20dbc88f..1d0e332dca 100644 --- a/esp32p4/src/lp_i2s0/clk_gate.rs +++ b/esp32p4/src/lp_i2s0/clk_gate.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - set this bit to enable clock gate"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - VAD clock gate force on register"] #[inline(always)] - #[must_use] pub fn vad_cg_force_on(&mut self) -> VAD_CG_FORCE_ON_W { VAD_CG_FORCE_ON_W::new(self, 1) } #[doc = "Bit 2 - I2S rx mem clock gate force on register"] #[inline(always)] - #[must_use] pub fn rx_mem_cg_force_on(&mut self) -> RX_MEM_CG_FORCE_ON_W { RX_MEM_CG_FORCE_ON_W::new(self, 2) } #[doc = "Bit 3 - I2S rx reg clock gate force on register"] #[inline(always)] - #[must_use] pub fn rx_reg_cg_force_on(&mut self) -> RX_REG_CG_FORCE_ON_W { RX_REG_CG_FORCE_ON_W::new(self, 3) } diff --git a/esp32p4/src/lp_i2s0/conf_sigle_data.rs b/esp32p4/src/lp_i2s0/conf_sigle_data.rs index 50a4d005f8..27ac6bf4a9 100644 --- a/esp32p4/src/lp_i2s0/conf_sigle_data.rs +++ b/esp32p4/src/lp_i2s0/conf_sigle_data.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The configured constant channel data to be sent out."] #[inline(always)] - #[must_use] pub fn single_data(&mut self) -> SINGLE_DATA_W { SINGLE_DATA_W::new(self, 0) } diff --git a/esp32p4/src/lp_i2s0/date.rs b/esp32p4/src/lp_i2s0/date.rs index 5dacd96b41..d19b6909ee 100644 --- a/esp32p4/src/lp_i2s0/date.rs +++ b/esp32p4/src/lp_i2s0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - I2S version control register"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32p4/src/lp_i2s0/eco_conf.rs b/esp32p4/src/lp_i2s0/eco_conf.rs index 8ce28e1336..62c3771b92 100644 --- a/esp32p4/src/lp_i2s0/eco_conf.rs +++ b/esp32p4/src/lp_i2s0/eco_conf.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - enable rdn counter bit"] #[inline(always)] - #[must_use] pub fn rdn_ena(&mut self) -> RDN_ENA_W { RDN_ENA_W::new(self, 0) } diff --git a/esp32p4/src/lp_i2s0/eco_high.rs b/esp32p4/src/lp_i2s0/eco_high.rs index 5543ea9222..4aced1566b 100644 --- a/esp32p4/src/lp_i2s0/eco_high.rs +++ b/esp32p4/src/lp_i2s0/eco_high.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - logic high eco registers"] #[inline(always)] - #[must_use] pub fn rdn_eco_high(&mut self) -> RDN_ECO_HIGH_W { RDN_ECO_HIGH_W::new(self, 0) } diff --git a/esp32p4/src/lp_i2s0/eco_low.rs b/esp32p4/src/lp_i2s0/eco_low.rs index 9ac45ac345..f0d3ccd874 100644 --- a/esp32p4/src/lp_i2s0/eco_low.rs +++ b/esp32p4/src/lp_i2s0/eco_low.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - logic low eco registers"] #[inline(always)] - #[must_use] pub fn rdn_eco_low(&mut self) -> RDN_ECO_LOW_W { RDN_ECO_LOW_W::new(self, 0) } diff --git a/esp32p4/src/lp_i2s0/int_clr.rs b/esp32p4/src/lp_i2s0/int_clr.rs index c7ac163926..f736ca9da7 100644 --- a/esp32p4/src/lp_i2s0/int_clr.rs +++ b/esp32p4/src/lp_i2s0/int_clr.rs @@ -21,37 +21,31 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the i2s_rx_done_int interrupt"] #[inline(always)] - #[must_use] pub fn rx_done(&mut self) -> RX_DONE_W { RX_DONE_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the i2s_rx_hung_int interrupt"] #[inline(always)] - #[must_use] pub fn rx_hung(&mut self) -> RX_HUNG_W { RX_HUNG_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the i2s_rx_fifomem_udf_int interrupt"] #[inline(always)] - #[must_use] pub fn rx_fifomem_udf(&mut self) -> RX_FIFOMEM_UDF_W { RX_FIFOMEM_UDF_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the vad_done_int interrupt"] #[inline(always)] - #[must_use] pub fn lp_vad_done(&mut self) -> LP_VAD_DONE_W { LP_VAD_DONE_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear the vad_reset_done_int interrupt"] #[inline(always)] - #[must_use] pub fn lp_vad_reset_done(&mut self) -> LP_VAD_RESET_DONE_W { LP_VAD_RESET_DONE_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the rx_mem_threshold_int interrupt"] #[inline(always)] - #[must_use] pub fn rx_mem_threshold(&mut self) -> RX_MEM_THRESHOLD_W { RX_MEM_THRESHOLD_W::new(self, 5) } diff --git a/esp32p4/src/lp_i2s0/int_ena.rs b/esp32p4/src/lp_i2s0/int_ena.rs index 5c994be942..0283f4de66 100644 --- a/esp32p4/src/lp_i2s0/int_ena.rs +++ b/esp32p4/src/lp_i2s0/int_ena.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for the i2s_rx_done_int interrupt"] #[inline(always)] - #[must_use] pub fn rx_done(&mut self) -> RX_DONE_W { RX_DONE_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the i2s_rx_hung_int interrupt"] #[inline(always)] - #[must_use] pub fn rx_hung(&mut self) -> RX_HUNG_W { RX_HUNG_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the i2s_rx_fifomem_udf_int interrupt"] #[inline(always)] - #[must_use] pub fn rx_fifomem_udf(&mut self) -> RX_FIFOMEM_UDF_W { RX_FIFOMEM_UDF_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the vad_done_int interrupt"] #[inline(always)] - #[must_use] pub fn lp_vad_done(&mut self) -> LP_VAD_DONE_W { LP_VAD_DONE_W::new(self, 3) } #[doc = "Bit 4 - The interrupt enable bit for the vad_reset_done_int interrupt"] #[inline(always)] - #[must_use] pub fn lp_vad_reset_done(&mut self) -> LP_VAD_RESET_DONE_W { LP_VAD_RESET_DONE_W::new(self, 4) } #[doc = "Bit 5 - The interrupt enable bit for the rx_mem_threshold_int interrupt"] #[inline(always)] - #[must_use] pub fn rx_mem_threshold(&mut self) -> RX_MEM_THRESHOLD_W { RX_MEM_THRESHOLD_W::new(self, 5) } diff --git a/esp32p4/src/lp_i2s0/lc_hung_conf.rs b/esp32p4/src/lp_i2s0/lc_hung_conf.rs index 187de6aa6f..323187c7df 100644 --- a/esp32p4/src/lp_i2s0/lc_hung_conf.rs +++ b/esp32p4/src/lp_i2s0/lc_hung_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - the i2s_tx_hung_int interrupt or the i2s_rx_hung_int interrupt will be triggered when fifo hung counter is equal to this value"] #[inline(always)] - #[must_use] pub fn lc_fifo_timeout(&mut self) -> LC_FIFO_TIMEOUT_W { LC_FIFO_TIMEOUT_W::new(self, 0) } #[doc = "Bits 8:10 - The bits are used to scale tick counter threshold. The tick counter is reset when counter value >= 88000/2^i2s_lc_fifo_timeout_shift"] #[inline(always)] - #[must_use] pub fn lc_fifo_timeout_shift(&mut self) -> LC_FIFO_TIMEOUT_SHIFT_W { LC_FIFO_TIMEOUT_SHIFT_W::new(self, 8) } #[doc = "Bit 11 - The enable bit for FIFO timeout"] #[inline(always)] - #[must_use] pub fn lc_fifo_timeout_ena(&mut self) -> LC_FIFO_TIMEOUT_ENA_W { LC_FIFO_TIMEOUT_ENA_W::new(self, 11) } diff --git a/esp32p4/src/lp_i2s0/rx_conf.rs b/esp32p4/src/lp_i2s0/rx_conf.rs index fb86c18a1b..0083a69f37 100644 --- a/esp32p4/src/lp_i2s0/rx_conf.rs +++ b/esp32p4/src/lp_i2s0/rx_conf.rs @@ -32,9 +32,9 @@ pub type RX_UPDATE_W<'a, REG> = crate::BitWriter<'a, REG>; pub type RX_MONO_FST_VLD_R = crate::BitReader; #[doc = "Field `RX_MONO_FST_VLD` writer - 1: The first channel data value is valid in I2S RX mono mode. 0: The second channel data value is valid in I2S RX mono mode."] pub type RX_MONO_FST_VLD_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `RX_PCM_CONF` reader - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] +#[doc = "Field `RX_PCM_CONF` reader - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] pub type RX_PCM_CONF_R = crate::FieldReader; -#[doc = "Field `RX_PCM_CONF` writer - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] +#[doc = "Field `RX_PCM_CONF` writer - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] pub type RX_PCM_CONF_W<'a, REG> = crate::FieldWriter<'a, REG, 2>; #[doc = "Field `RX_PCM_BYPASS` reader - Set this bit to bypass Compress/Decompress module for received data."] pub type RX_PCM_BYPASS_R = crate::BitReader; @@ -99,7 +99,7 @@ impl R { pub fn rx_mono_fst_vld(&self) -> RX_MONO_FST_VLD_R { RX_MONO_FST_VLD_R::new(((self.bits >> 9) & 1) != 0) } - #[doc = "Bits 10:11 - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] + #[doc = "Bits 10:11 - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] #[inline(always)] pub fn rx_pcm_conf(&self) -> RX_PCM_CONF_R { RX_PCM_CONF_R::new(((self.bits >> 10) & 3) as u8) @@ -170,109 +170,91 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to reset receiver"] #[inline(always)] - #[must_use] pub fn rx_reset(&mut self) -> RX_RESET_W { RX_RESET_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to reset Rx AFIFO"] #[inline(always)] - #[must_use] pub fn rx_fifo_reset(&mut self) -> RX_FIFO_RESET_W { RX_FIFO_RESET_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to start receiving data"] #[inline(always)] - #[must_use] pub fn rx_start(&mut self) -> RX_START_W { RX_START_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to enable slave receiver mode"] #[inline(always)] - #[must_use] pub fn rx_slave_mod(&mut self) -> RX_SLAVE_MOD_W { RX_SLAVE_MOD_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to reset Rx Syncfifomem"] #[inline(always)] - #[must_use] pub fn rx_fifomem_reset(&mut self) -> RX_FIFOMEM_RESET_W { RX_FIFOMEM_RESET_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to enable receiver in mono mode"] #[inline(always)] - #[must_use] pub fn rx_mono(&mut self) -> RX_MONO_W { RX_MONO_W::new(self, 5) } #[doc = "Bit 7 - I2S Rx byte endian, 1: low addr value to high addr. 0: low addr with low addr value."] #[inline(always)] - #[must_use] pub fn rx_big_endian(&mut self) -> RX_BIG_ENDIAN_W { RX_BIG_ENDIAN_W::new(self, 7) } #[doc = "Bit 8 - Set 1 to update I2S RX registers from APB clock domain to I2S RX clock domain. This bit will be cleared by hardware after update register done."] #[inline(always)] - #[must_use] pub fn rx_update(&mut self) -> RX_UPDATE_W { RX_UPDATE_W::new(self, 8) } #[doc = "Bit 9 - 1: The first channel data value is valid in I2S RX mono mode. 0: The second channel data value is valid in I2S RX mono mode."] #[inline(always)] - #[must_use] pub fn rx_mono_fst_vld(&mut self) -> RX_MONO_FST_VLD_W { RX_MONO_FST_VLD_W::new(self, 9) } - #[doc = "Bits 10:11 - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] + #[doc = "Bits 10:11 - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] #[inline(always)] - #[must_use] pub fn rx_pcm_conf(&mut self) -> RX_PCM_CONF_W { RX_PCM_CONF_W::new(self, 10) } #[doc = "Bit 12 - Set this bit to bypass Compress/Decompress module for received data."] #[inline(always)] - #[must_use] pub fn rx_pcm_bypass(&mut self) -> RX_PCM_BYPASS_W { RX_PCM_BYPASS_W::new(self, 12) } #[doc = "Bits 13:14 - 0 : I2S Rx only stop when reg_rx_start is cleared. 1: Stop when reg_rx_start is 0 or in_suc_eof is 1. 2: Stop I2S RX when reg_rx_start is 0 or RX FIFO is full."] #[inline(always)] - #[must_use] pub fn rx_stop_mode(&mut self) -> RX_STOP_MODE_W { RX_STOP_MODE_W::new(self, 13) } #[doc = "Bit 15 - 1: I2S RX left alignment mode. 0: I2S RX right alignment mode."] #[inline(always)] - #[must_use] pub fn rx_left_align(&mut self) -> RX_LEFT_ALIGN_W { RX_LEFT_ALIGN_W::new(self, 15) } #[doc = "Bit 16 - 1: store 24 channel bits to 32 bits. 0:store 24 channel bits to 24 bits."] #[inline(always)] - #[must_use] pub fn rx_24_fill_en(&mut self) -> RX_24_FILL_EN_W { RX_24_FILL_EN_W::new(self, 16) } #[doc = "Bit 17 - 0: WS should be 0 when receiving left channel data, and WS is 1in right channel. 1: WS should be 1 when receiving left channel data, and WS is 0in right channel."] #[inline(always)] - #[must_use] pub fn rx_ws_idle_pol(&mut self) -> RX_WS_IDLE_POL_W { RX_WS_IDLE_POL_W::new(self, 17) } #[doc = "Bit 18 - I2S Rx bit endian. 1:small endian, the LSB is received first. 0:big endian, the MSB is received first."] #[inline(always)] - #[must_use] pub fn rx_bit_order(&mut self) -> RX_BIT_ORDER_W { RX_BIT_ORDER_W::new(self, 18) } #[doc = "Bit 19 - 1: Enable I2S TDM Rx mode . 0: Disable."] #[inline(always)] - #[must_use] pub fn rx_tdm_en(&mut self) -> RX_TDM_EN_W { RX_TDM_EN_W::new(self, 19) } #[doc = "Bit 20 - 1: Enable I2S PDM Rx mode . 0: Disable."] #[inline(always)] - #[must_use] pub fn rx_pdm_en(&mut self) -> RX_PDM_EN_W { RX_PDM_EN_W::new(self, 20) } diff --git a/esp32p4/src/lp_i2s0/rx_conf1.rs b/esp32p4/src/lp_i2s0/rx_conf1.rs index d3795df6cb..ba9590de00 100644 --- a/esp32p4/src/lp_i2s0/rx_conf1.rs +++ b/esp32p4/src/lp_i2s0/rx_conf1.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - The width of rx_ws_out in TDM mode is (I2S_RX_TDM_WS_WIDTH\\[6:0\\] +1) * T_bck"] #[inline(always)] - #[must_use] pub fn rx_tdm_ws_width(&mut self) -> RX_TDM_WS_WIDTH_W { RX_TDM_WS_WIDTH_W::new(self, 0) } #[doc = "Bits 7:12 - Bit clock configuration bits in receiver mode."] #[inline(always)] - #[must_use] pub fn rx_bck_div_num(&mut self) -> RX_BCK_DIV_NUM_W { RX_BCK_DIV_NUM_W::new(self, 7) } #[doc = "Bits 13:17 - Set the bits to configure the valid data bit length of I2S receiver channel. 7: all the valid channel data is in 8-bit-mode. 15: all the valid channel data is in 16-bit-mode. 23: all the valid channel data is in 24-bit-mode. 31:all the valid channel data is in 32-bit-mode."] #[inline(always)] - #[must_use] pub fn rx_bits_mod(&mut self) -> RX_BITS_MOD_W { RX_BITS_MOD_W::new(self, 13) } #[doc = "Bits 18:23 - I2S Rx half sample bits -1."] #[inline(always)] - #[must_use] pub fn rx_half_sample_bits(&mut self) -> RX_HALF_SAMPLE_BITS_W { RX_HALF_SAMPLE_BITS_W::new(self, 18) } #[doc = "Bits 24:28 - The Rx bit number for each channel minus 1in TDM mode."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan_bits(&mut self) -> RX_TDM_CHAN_BITS_W { RX_TDM_CHAN_BITS_W::new(self, 24) } #[doc = "Bit 29 - Set this bit to enable receiver in Phillips standard mode"] #[inline(always)] - #[must_use] pub fn rx_msb_shift(&mut self) -> RX_MSB_SHIFT_W { RX_MSB_SHIFT_W::new(self, 29) } diff --git a/esp32p4/src/lp_i2s0/rx_mem_conf.rs b/esp32p4/src/lp_i2s0/rx_mem_conf.rs index 2ce74ea89f..0fbfa00059 100644 --- a/esp32p4/src/lp_i2s0/rx_mem_conf.rs +++ b/esp32p4/src/lp_i2s0/rx_mem_conf.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 9:16 - I2S rx mem will trigger an interrupt when the data in the mem is over(not including equal) reg_rx_mem_threshold"] #[inline(always)] - #[must_use] pub fn rx_mem_threshold(&mut self) -> RX_MEM_THRESHOLD_W { RX_MEM_THRESHOLD_W::new(self, 9) } diff --git a/esp32p4/src/lp_i2s0/rx_pdm_conf.rs b/esp32p4/src/lp_i2s0/rx_pdm_conf.rs index 86822f67d6..c23ce62283 100644 --- a/esp32p4/src/lp_i2s0/rx_pdm_conf.rs +++ b/esp32p4/src/lp_i2s0/rx_pdm_conf.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 19 - 1: Enable PDM2PCM RX mode. 0: DIsable."] #[inline(always)] - #[must_use] pub fn rx_pdm2pcm_en(&mut self) -> RX_PDM2PCM_EN_W { RX_PDM2PCM_EN_W::new(self, 19) } #[doc = "Bit 20 - Configure the down sampling rate of PDM RX filter group1 module. 1: The down sampling rate is 128. 0: down sampling rate is 64."] #[inline(always)] - #[must_use] pub fn rx_pdm_sinc_dsr_16_en(&mut self) -> RX_PDM_SINC_DSR_16_EN_W { RX_PDM_SINC_DSR_16_EN_W::new(self, 20) } #[doc = "Bits 21:24 - Configure PDM RX amplify number."] #[inline(always)] - #[must_use] pub fn rx_pdm2pcm_amplify_num(&mut self) -> RX_PDM2PCM_AMPLIFY_NUM_W { RX_PDM2PCM_AMPLIFY_NUM_W::new(self, 21) } #[doc = "Bit 25 - I2S PDM RX bypass hp filter or not."] #[inline(always)] - #[must_use] pub fn rx_pdm_hp_bypass(&mut self) -> RX_PDM_HP_BYPASS_W { RX_PDM_HP_BYPASS_W::new(self, 25) } #[doc = "Bits 26:28 - The fourth parameter of PDM RX IIR_HP filter stage 2 is (504 + LP_I2S_RX_IIR_HP_MULT12_5\\[2:0\\])"] #[inline(always)] - #[must_use] pub fn rx_iir_hp_mult12_5(&mut self) -> RX_IIR_HP_MULT12_5_W { RX_IIR_HP_MULT12_5_W::new(self, 26) } #[doc = "Bits 29:31 - The fourth parameter of PDM RX IIR_HP filter stage 1 is (504 + LP_I2S_RX_IIR_HP_MULT12_0\\[2:0\\])"] #[inline(always)] - #[must_use] pub fn rx_iir_hp_mult12_0(&mut self) -> RX_IIR_HP_MULT12_0_W { RX_IIR_HP_MULT12_0_W::new(self, 29) } diff --git a/esp32p4/src/lp_i2s0/rx_tdm_ctrl.rs b/esp32p4/src/lp_i2s0/rx_tdm_ctrl.rs index 7ad238d4be..64ae020379 100644 --- a/esp32p4/src/lp_i2s0/rx_tdm_ctrl.rs +++ b/esp32p4/src/lp_i2s0/rx_tdm_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: Enable the valid data input of I2S RX TDM or PDM channel 0. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan0_en(&mut self) -> RX_TDM_PDM_CHAN0_EN_W { RX_TDM_PDM_CHAN0_EN_W::new(self, 0) } #[doc = "Bit 1 - 1: Enable the valid data input of I2S RX TDM or PDM channel 1. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan1_en(&mut self) -> RX_TDM_PDM_CHAN1_EN_W { RX_TDM_PDM_CHAN1_EN_W::new(self, 1) } #[doc = "Bits 16:19 - The total channel number of I2S TX TDM mode."] #[inline(always)] - #[must_use] pub fn rx_tdm_tot_chan_num(&mut self) -> RX_TDM_TOT_CHAN_NUM_W { RX_TDM_TOT_CHAN_NUM_W::new(self, 16) } diff --git a/esp32p4/src/lp_i2s0/rx_timing.rs b/esp32p4/src/lp_i2s0/rx_timing.rs index bb9ba20b42..bcf0d0e4ce 100644 --- a/esp32p4/src/lp_i2s0/rx_timing.rs +++ b/esp32p4/src/lp_i2s0/rx_timing.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - The delay mode of I2S Rx SD input signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_sd_in_dm(&mut self) -> RX_SD_IN_DM_W { RX_SD_IN_DM_W::new(self, 0) } #[doc = "Bits 16:17 - The delay mode of I2S Rx WS output signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_ws_out_dm(&mut self) -> RX_WS_OUT_DM_W { RX_WS_OUT_DM_W::new(self, 16) } #[doc = "Bits 20:21 - The delay mode of I2S Rx BCK output signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_bck_out_dm(&mut self) -> RX_BCK_OUT_DM_W { RX_BCK_OUT_DM_W::new(self, 20) } #[doc = "Bits 24:25 - The delay mode of I2S Rx WS input signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_ws_in_dm(&mut self) -> RX_WS_IN_DM_W { RX_WS_IN_DM_W::new(self, 24) } #[doc = "Bits 28:29 - The delay mode of I2S Rx BCK input signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_bck_in_dm(&mut self) -> RX_BCK_IN_DM_W { RX_BCK_IN_DM_W::new(self, 28) } diff --git a/esp32p4/src/lp_i2s0/rxeof_num.rs b/esp32p4/src/lp_i2s0/rxeof_num.rs index 3cc1cab6bd..e06f8c3e0d 100644 --- a/esp32p4/src/lp_i2s0/rxeof_num.rs +++ b/esp32p4/src/lp_i2s0/rxeof_num.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - The receive data bit length is (I2S_RX_BITS_MOD\\[4:0\\] + 1) * (REG_RX_EOF_NUM\\[11:0\\] + 1) . It will trigger in_suc_eof interrupt in the configured DMA RX channel."] #[inline(always)] - #[must_use] pub fn rx_eof_num(&mut self) -> RX_EOF_NUM_W { RX_EOF_NUM_W::new(self, 0) } diff --git a/esp32p4/src/lp_i2s0/vad_conf.rs b/esp32p4/src/lp_i2s0/vad_conf.rs index 92d35d4907..935b1c2f69 100644 --- a/esp32p4/src/lp_i2s0/vad_conf.rs +++ b/esp32p4/src/lp_i2s0/vad_conf.rs @@ -28,19 +28,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - VAD enable register"] #[inline(always)] - #[must_use] pub fn vad_en(&mut self) -> VAD_EN_W { VAD_EN_W::new(self, 0) } #[doc = "Bit 1 - VAD reset register"] #[inline(always)] - #[must_use] pub fn vad_reset(&mut self) -> VAD_RESET_W { VAD_RESET_W::new(self, 1) } #[doc = "Bit 2 - VAD force start register."] #[inline(always)] - #[must_use] pub fn vad_force_start(&mut self) -> VAD_FORCE_START_W { VAD_FORCE_START_W::new(self, 2) } diff --git a/esp32p4/src/lp_i2s0/vad_param0.rs b/esp32p4/src/lp_i2s0/vad_param0.rs index f225f00e39..c772a7f093 100644 --- a/esp32p4/src/lp_i2s0/vad_param0.rs +++ b/esp32p4/src/lp_i2s0/vad_param0.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - VAD parameter"] #[inline(always)] - #[must_use] pub fn param_min_energy(&mut self) -> PARAM_MIN_ENERGY_W { PARAM_MIN_ENERGY_W::new(self, 0) } #[doc = "Bits 16:24 - VAD parameter"] #[inline(always)] - #[must_use] pub fn param_init_frame_num(&mut self) -> PARAM_INIT_FRAME_NUM_W { PARAM_INIT_FRAME_NUM_W::new(self, 16) } diff --git a/esp32p4/src/lp_i2s0/vad_param1.rs b/esp32p4/src/lp_i2s0/vad_param1.rs index 14764d2ef3..34e6f581e3 100644 --- a/esp32p4/src/lp_i2s0/vad_param1.rs +++ b/esp32p4/src/lp_i2s0/vad_param1.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - VAD parameter"] #[inline(always)] - #[must_use] pub fn param_min_speech_count(&mut self) -> PARAM_MIN_SPEECH_COUNT_W { PARAM_MIN_SPEECH_COUNT_W::new(self, 0) } #[doc = "Bits 4:10 - VAD parameter"] #[inline(always)] - #[must_use] pub fn param_max_speech_count(&mut self) -> PARAM_MAX_SPEECH_COUNT_W { PARAM_MAX_SPEECH_COUNT_W::new(self, 4) } #[doc = "Bits 11:15 - VAD parameter"] #[inline(always)] - #[must_use] pub fn param_hangover_speech(&mut self) -> PARAM_HANGOVER_SPEECH_W { PARAM_HANGOVER_SPEECH_W::new(self, 11) } #[doc = "Bits 16:23 - VAD parameter"] #[inline(always)] - #[must_use] pub fn param_hangover_silent(&mut self) -> PARAM_HANGOVER_SILENT_W { PARAM_HANGOVER_SILENT_W::new(self, 16) } #[doc = "Bits 24:30 - VAD parameter"] #[inline(always)] - #[must_use] pub fn param_max_offset(&mut self) -> PARAM_MAX_OFFSET_W { PARAM_MAX_OFFSET_W::new(self, 24) } #[doc = "Bit 31 - Set 1 to skip band energy check."] #[inline(always)] - #[must_use] pub fn param_skip_band_energy(&mut self) -> PARAM_SKIP_BAND_ENERGY_W { PARAM_SKIP_BAND_ENERGY_W::new(self, 31) } diff --git a/esp32p4/src/lp_i2s0/vad_param2.rs b/esp32p4/src/lp_i2s0/vad_param2.rs index 16d6ccf7b5..fe73c726b5 100644 --- a/esp32p4/src/lp_i2s0/vad_param2.rs +++ b/esp32p4/src/lp_i2s0/vad_param2.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - VAD parameter"] #[inline(always)] - #[must_use] pub fn param_noise_amp_down(&mut self) -> PARAM_NOISE_AMP_DOWN_W { PARAM_NOISE_AMP_DOWN_W::new(self, 0) } #[doc = "Bits 16:31 - VAD parameter"] #[inline(always)] - #[must_use] pub fn param_noise_amp_up(&mut self) -> PARAM_NOISE_AMP_UP_W { PARAM_NOISE_AMP_UP_W::new(self, 16) } diff --git a/esp32p4/src/lp_i2s0/vad_param3.rs b/esp32p4/src/lp_i2s0/vad_param3.rs index 96b273b840..28dd05bb27 100644 --- a/esp32p4/src/lp_i2s0/vad_param3.rs +++ b/esp32p4/src/lp_i2s0/vad_param3.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - VAD parameter"] #[inline(always)] - #[must_use] pub fn param_noise_spe_up0(&mut self) -> PARAM_NOISE_SPE_UP0_W { PARAM_NOISE_SPE_UP0_W::new(self, 0) } #[doc = "Bits 16:31 - VAD parameter"] #[inline(always)] - #[must_use] pub fn param_noise_spe_up1(&mut self) -> PARAM_NOISE_SPE_UP1_W { PARAM_NOISE_SPE_UP1_W::new(self, 16) } diff --git a/esp32p4/src/lp_i2s0/vad_param4.rs b/esp32p4/src/lp_i2s0/vad_param4.rs index 7148957597..f67a46e253 100644 --- a/esp32p4/src/lp_i2s0/vad_param4.rs +++ b/esp32p4/src/lp_i2s0/vad_param4.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - VAD parameter"] #[inline(always)] - #[must_use] pub fn param_noise_spe_down(&mut self) -> PARAM_NOISE_SPE_DOWN_W { PARAM_NOISE_SPE_DOWN_W::new(self, 0) } #[doc = "Bits 16:31 - VAD parameter"] #[inline(always)] - #[must_use] pub fn param_noise_mean_down(&mut self) -> PARAM_NOISE_MEAN_DOWN_W { PARAM_NOISE_MEAN_DOWN_W::new(self, 16) } diff --git a/esp32p4/src/lp_i2s0/vad_param5.rs b/esp32p4/src/lp_i2s0/vad_param5.rs index 08c780e1fd..fb4461a953 100644 --- a/esp32p4/src/lp_i2s0/vad_param5.rs +++ b/esp32p4/src/lp_i2s0/vad_param5.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - VAD parameter"] #[inline(always)] - #[must_use] pub fn param_noise_mean_up0(&mut self) -> PARAM_NOISE_MEAN_UP0_W { PARAM_NOISE_MEAN_UP0_W::new(self, 0) } #[doc = "Bits 16:31 - VAD parameter"] #[inline(always)] - #[must_use] pub fn param_noise_mean_up1(&mut self) -> PARAM_NOISE_MEAN_UP1_W { PARAM_NOISE_MEAN_UP1_W::new(self, 16) } diff --git a/esp32p4/src/lp_i2s0/vad_param6.rs b/esp32p4/src/lp_i2s0/vad_param6.rs index 38a5147f79..36986c869e 100644 --- a/esp32p4/src/lp_i2s0/vad_param6.rs +++ b/esp32p4/src/lp_i2s0/vad_param6.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Feature_sum threshold to determine noise_std max value when vad_tag=1, equal to ((noise_std_max)>>11)^2*5"] #[inline(always)] - #[must_use] pub fn param_noise_std_fs_thsl(&mut self) -> PARAM_NOISE_STD_FS_THSL_W { PARAM_NOISE_STD_FS_THSL_W::new(self, 0) } #[doc = "Bits 16:31 - Feature_sum threshold to determine noise_std max value when vad_tag=0, equal to ((noise_std_max)>>11)^2*5"] #[inline(always)] - #[must_use] pub fn param_noise_std_fs_thsh(&mut self) -> PARAM_NOISE_STD_FS_THSH_W { PARAM_NOISE_STD_FS_THSH_W::new(self, 16) } diff --git a/esp32p4/src/lp_i2s0/vad_param7.rs b/esp32p4/src/lp_i2s0/vad_param7.rs index 967cecdd2a..18d4511cb5 100644 --- a/esp32p4/src/lp_i2s0/vad_param7.rs +++ b/esp32p4/src/lp_i2s0/vad_param7.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - VAD parameter"] #[inline(always)] - #[must_use] pub fn param_thres_upd_base(&mut self) -> PARAM_THRES_UPD_BASE_W { PARAM_THRES_UPD_BASE_W::new(self, 0) } #[doc = "Bits 16:31 - VAD parameter"] #[inline(always)] - #[must_use] pub fn param_thres_upd_vary(&mut self) -> PARAM_THRES_UPD_VARY_W { PARAM_THRES_UPD_VARY_W::new(self, 16) } diff --git a/esp32p4/src/lp_i2s0/vad_param8.rs b/esp32p4/src/lp_i2s0/vad_param8.rs index bd1afc2a72..dcb77ebe4b 100644 --- a/esp32p4/src/lp_i2s0/vad_param8.rs +++ b/esp32p4/src/lp_i2s0/vad_param8.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Noise_std boundary low when updating threshold."] #[inline(always)] - #[must_use] pub fn param_thres_upd_bdl(&mut self) -> PARAM_THRES_UPD_BDL_W { PARAM_THRES_UPD_BDL_W::new(self, 0) } #[doc = "Bits 8:15 - Noise_std boundary high when updating threshold."] #[inline(always)] - #[must_use] pub fn param_thres_upd_bdh(&mut self) -> PARAM_THRES_UPD_BDH_W { PARAM_THRES_UPD_BDH_W::new(self, 8) } #[doc = "Bits 16:31 - VAD parameter"] #[inline(always)] - #[must_use] pub fn param_feature_burst(&mut self) -> PARAM_FEATURE_BURST_W { PARAM_FEATURE_BURST_W::new(self, 16) } diff --git a/esp32p4/src/lp_intr/date.rs b/esp32p4/src/lp_intr/date.rs index c2f6f0272c..ae9a70adf1 100644 --- a/esp32p4/src/lp_intr/date.rs +++ b/esp32p4/src/lp_intr/date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32p4/src/lp_intr/sw_int_clr.rs b/esp32p4/src/lp_intr/sw_int_clr.rs index 2ec916e486..44edc3fbb1 100644 --- a/esp32p4/src/lp_intr/sw_int_clr.rs +++ b/esp32p4/src/lp_intr/sw_int_clr.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sw_int_clr(&mut self) -> LP_SW_INT_CLR_W { LP_SW_INT_CLR_W::new(self, 31) } diff --git a/esp32p4/src/lp_intr/sw_int_ena.rs b/esp32p4/src/lp_intr/sw_int_ena.rs index ffcd659885..77b4fbf0da 100644 --- a/esp32p4/src/lp_intr/sw_int_ena.rs +++ b/esp32p4/src/lp_intr/sw_int_ena.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sw_int_ena(&mut self) -> LP_SW_INT_ENA_W { LP_SW_INT_ENA_W::new(self, 31) } diff --git a/esp32p4/src/lp_intr/sw_int_raw.rs b/esp32p4/src/lp_intr/sw_int_raw.rs index 0245c0b133..87a0eaffbe 100644 --- a/esp32p4/src/lp_intr/sw_int_raw.rs +++ b/esp32p4/src/lp_intr/sw_int_raw.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sw_int_raw(&mut self) -> LP_SW_INT_RAW_W { LP_SW_INT_RAW_W::new(self, 31) } diff --git a/esp32p4/src/lp_io_mux/clk_en.rs b/esp32p4/src/lp_io_mux/clk_en.rs index 7417e3a33b..e3f2849c42 100644 --- a/esp32p4/src/lp_io_mux/clk_en.rs +++ b/esp32p4/src/lp_io_mux/clk_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_clk_en(&mut self) -> REG_CLK_EN_W { REG_CLK_EN_W::new(self, 0) } diff --git a/esp32p4/src/lp_io_mux/ext_wakeup0_sel.rs b/esp32p4/src/lp_io_mux/ext_wakeup0_sel.rs index 4da6117531..6056c83c4e 100644 --- a/esp32p4/src/lp_io_mux/ext_wakeup0_sel.rs +++ b/esp32p4/src/lp_io_mux/ext_wakeup0_sel.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - select LP GPIO 0 ~ 15 to control XTAL"] #[inline(always)] - #[must_use] pub fn reg_xtl_ext_ctr_sel(&mut self) -> REG_XTL_EXT_CTR_SEL_W { REG_XTL_EXT_CTR_SEL_W::new(self, 0) } #[doc = "Bits 5:9 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_ext_wakeup0_sel(&mut self) -> REG_EXT_WAKEUP0_SEL_W { REG_EXT_WAKEUP0_SEL_W::new(self, 5) } diff --git a/esp32p4/src/lp_io_mux/lp_pad_hold.rs b/esp32p4/src/lp_io_mux/lp_pad_hold.rs index 9d365a1dd0..56b341c683 100644 --- a/esp32p4/src/lp_io_mux/lp_pad_hold.rs +++ b/esp32p4/src/lp_io_mux/lp_pad_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_lp_gpio_hold(&mut self) -> REG_LP_GPIO_HOLD_W { REG_LP_GPIO_HOLD_W::new(self, 0) } diff --git a/esp32p4/src/lp_io_mux/lp_pad_hys.rs b/esp32p4/src/lp_io_mux/lp_pad_hys.rs index 2a39a588fa..85b7d2aab4 100644 --- a/esp32p4/src/lp_io_mux/lp_pad_hys.rs +++ b/esp32p4/src/lp_io_mux/lp_pad_hys.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_lp_gpio_hys(&mut self) -> REG_LP_GPIO_HYS_W { REG_LP_GPIO_HYS_W::new(self, 0) } diff --git a/esp32p4/src/lp_io_mux/pad0.rs b/esp32p4/src/lp_io_mux/pad0.rs index e3dcf294e3..0ba9f57fc2 100644 --- a/esp32p4/src/lp_io_mux/pad0.rs +++ b/esp32p4/src/lp_io_mux/pad0.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad0_drv(&mut self) -> REG_PAD0_DRV_W { REG_PAD0_DRV_W::new(self, 0) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad0_rde(&mut self) -> REG_PAD0_RDE_W { REG_PAD0_RDE_W::new(self, 2) } #[doc = "Bit 3 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad0_rue(&mut self) -> REG_PAD0_RUE_W { REG_PAD0_RUE_W::new(self, 3) } #[doc = "Bit 4 - 1:use LP GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn reg_pad0_mux_sel(&mut self) -> REG_PAD0_MUX_SEL_W { REG_PAD0_MUX_SEL_W::new(self, 4) } #[doc = "Bits 5:6 - function sel"] #[inline(always)] - #[must_use] pub fn reg_pad0_fun_sel(&mut self) -> REG_PAD0_FUN_SEL_W { REG_PAD0_FUN_SEL_W::new(self, 5) } #[doc = "Bit 7 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad0_slp_sel(&mut self) -> REG_PAD0_SLP_SEL_W { REG_PAD0_SLP_SEL_W::new(self, 7) } #[doc = "Bit 8 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad0_slp_ie(&mut self) -> REG_PAD0_SLP_IE_W { REG_PAD0_SLP_IE_W::new(self, 8) } #[doc = "Bit 9 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad0_slp_oe(&mut self) -> REG_PAD0_SLP_OE_W { REG_PAD0_SLP_OE_W::new(self, 9) } #[doc = "Bit 10 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn reg_pad0_fun_ie(&mut self) -> REG_PAD0_FUN_IE_W { REG_PAD0_FUN_IE_W::new(self, 10) } #[doc = "Bit 11 - need des"] #[inline(always)] - #[must_use] pub fn reg_pad0_filter_en(&mut self) -> REG_PAD0_FILTER_EN_W { REG_PAD0_FILTER_EN_W::new(self, 11) } diff --git a/esp32p4/src/lp_io_mux/pad1.rs b/esp32p4/src/lp_io_mux/pad1.rs index c496a90949..ff867808ed 100644 --- a/esp32p4/src/lp_io_mux/pad1.rs +++ b/esp32p4/src/lp_io_mux/pad1.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad1_drv(&mut self) -> REG_PAD1_DRV_W { REG_PAD1_DRV_W::new(self, 0) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad1_rde(&mut self) -> REG_PAD1_RDE_W { REG_PAD1_RDE_W::new(self, 2) } #[doc = "Bit 3 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad1_rue(&mut self) -> REG_PAD1_RUE_W { REG_PAD1_RUE_W::new(self, 3) } #[doc = "Bit 4 - 1:use LP GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn reg_pad1_mux_sel(&mut self) -> REG_PAD1_MUX_SEL_W { REG_PAD1_MUX_SEL_W::new(self, 4) } #[doc = "Bits 5:6 - function sel"] #[inline(always)] - #[must_use] pub fn reg_pad1_fun_sel(&mut self) -> REG_PAD1_FUN_SEL_W { REG_PAD1_FUN_SEL_W::new(self, 5) } #[doc = "Bit 7 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad1_slp_sel(&mut self) -> REG_PAD1_SLP_SEL_W { REG_PAD1_SLP_SEL_W::new(self, 7) } #[doc = "Bit 8 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad1_slp_ie(&mut self) -> REG_PAD1_SLP_IE_W { REG_PAD1_SLP_IE_W::new(self, 8) } #[doc = "Bit 9 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad1_slp_oe(&mut self) -> REG_PAD1_SLP_OE_W { REG_PAD1_SLP_OE_W::new(self, 9) } #[doc = "Bit 10 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn reg_pad1_fun_ie(&mut self) -> REG_PAD1_FUN_IE_W { REG_PAD1_FUN_IE_W::new(self, 10) } #[doc = "Bit 11 - need des"] #[inline(always)] - #[must_use] pub fn reg_pad1_filter_en(&mut self) -> REG_PAD1_FILTER_EN_W { REG_PAD1_FILTER_EN_W::new(self, 11) } diff --git a/esp32p4/src/lp_io_mux/pad10.rs b/esp32p4/src/lp_io_mux/pad10.rs index 97c76f38ee..1c668befa4 100644 --- a/esp32p4/src/lp_io_mux/pad10.rs +++ b/esp32p4/src/lp_io_mux/pad10.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad10_drv(&mut self) -> REG_PAD10_DRV_W { REG_PAD10_DRV_W::new(self, 0) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad10_rde(&mut self) -> REG_PAD10_RDE_W { REG_PAD10_RDE_W::new(self, 2) } #[doc = "Bit 3 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad10_rue(&mut self) -> REG_PAD10_RUE_W { REG_PAD10_RUE_W::new(self, 3) } #[doc = "Bit 4 - 1:use LP GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn reg_pad10_mux_sel(&mut self) -> REG_PAD10_MUX_SEL_W { REG_PAD10_MUX_SEL_W::new(self, 4) } #[doc = "Bits 5:6 - function sel"] #[inline(always)] - #[must_use] pub fn reg_pad10_fun_sel(&mut self) -> REG_PAD10_FUN_SEL_W { REG_PAD10_FUN_SEL_W::new(self, 5) } #[doc = "Bit 7 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad10_slp_sel(&mut self) -> REG_PAD10_SLP_SEL_W { REG_PAD10_SLP_SEL_W::new(self, 7) } #[doc = "Bit 8 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad10_slp_ie(&mut self) -> REG_PAD10_SLP_IE_W { REG_PAD10_SLP_IE_W::new(self, 8) } #[doc = "Bit 9 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad10_slp_oe(&mut self) -> REG_PAD10_SLP_OE_W { REG_PAD10_SLP_OE_W::new(self, 9) } #[doc = "Bit 10 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn reg_pad10_fun_ie(&mut self) -> REG_PAD10_FUN_IE_W { REG_PAD10_FUN_IE_W::new(self, 10) } #[doc = "Bit 11 - need des"] #[inline(always)] - #[must_use] pub fn reg_pad10_filter_en(&mut self) -> REG_PAD10_FILTER_EN_W { REG_PAD10_FILTER_EN_W::new(self, 11) } diff --git a/esp32p4/src/lp_io_mux/pad11.rs b/esp32p4/src/lp_io_mux/pad11.rs index 376714cab2..c3859df362 100644 --- a/esp32p4/src/lp_io_mux/pad11.rs +++ b/esp32p4/src/lp_io_mux/pad11.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad11_drv(&mut self) -> REG_PAD11_DRV_W { REG_PAD11_DRV_W::new(self, 0) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad11_rde(&mut self) -> REG_PAD11_RDE_W { REG_PAD11_RDE_W::new(self, 2) } #[doc = "Bit 3 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad11_rue(&mut self) -> REG_PAD11_RUE_W { REG_PAD11_RUE_W::new(self, 3) } #[doc = "Bit 4 - 1:use LP GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn reg_pad11_mux_sel(&mut self) -> REG_PAD11_MUX_SEL_W { REG_PAD11_MUX_SEL_W::new(self, 4) } #[doc = "Bits 5:6 - function sel"] #[inline(always)] - #[must_use] pub fn reg_pad11_fun_sel(&mut self) -> REG_PAD11_FUN_SEL_W { REG_PAD11_FUN_SEL_W::new(self, 5) } #[doc = "Bit 7 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad11_slp_sel(&mut self) -> REG_PAD11_SLP_SEL_W { REG_PAD11_SLP_SEL_W::new(self, 7) } #[doc = "Bit 8 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad11_slp_ie(&mut self) -> REG_PAD11_SLP_IE_W { REG_PAD11_SLP_IE_W::new(self, 8) } #[doc = "Bit 9 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad11_slp_oe(&mut self) -> REG_PAD11_SLP_OE_W { REG_PAD11_SLP_OE_W::new(self, 9) } #[doc = "Bit 10 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn reg_pad11_fun_ie(&mut self) -> REG_PAD11_FUN_IE_W { REG_PAD11_FUN_IE_W::new(self, 10) } #[doc = "Bit 11 - need des"] #[inline(always)] - #[must_use] pub fn reg_pad11_filter_en(&mut self) -> REG_PAD11_FILTER_EN_W { REG_PAD11_FILTER_EN_W::new(self, 11) } diff --git a/esp32p4/src/lp_io_mux/pad120.rs b/esp32p4/src/lp_io_mux/pad120.rs index 6af7f8f24b..c9d946b89e 100644 --- a/esp32p4/src/lp_io_mux/pad120.rs +++ b/esp32p4/src/lp_io_mux/pad120.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad12_drv(&mut self) -> REG_PAD12_DRV_W { REG_PAD12_DRV_W::new(self, 0) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad12_rde(&mut self) -> REG_PAD12_RDE_W { REG_PAD12_RDE_W::new(self, 2) } #[doc = "Bit 3 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad12_rue(&mut self) -> REG_PAD12_RUE_W { REG_PAD12_RUE_W::new(self, 3) } #[doc = "Bit 4 - 1:use LP GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn reg_pad12_mux_sel(&mut self) -> REG_PAD12_MUX_SEL_W { REG_PAD12_MUX_SEL_W::new(self, 4) } #[doc = "Bits 5:6 - function sel"] #[inline(always)] - #[must_use] pub fn reg_pad12_fun_sel(&mut self) -> REG_PAD12_FUN_SEL_W { REG_PAD12_FUN_SEL_W::new(self, 5) } #[doc = "Bit 7 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad12_slp_sel(&mut self) -> REG_PAD12_SLP_SEL_W { REG_PAD12_SLP_SEL_W::new(self, 7) } #[doc = "Bit 8 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad12_slp_ie(&mut self) -> REG_PAD12_SLP_IE_W { REG_PAD12_SLP_IE_W::new(self, 8) } #[doc = "Bit 9 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad12_slp_oe(&mut self) -> REG_PAD12_SLP_OE_W { REG_PAD12_SLP_OE_W::new(self, 9) } #[doc = "Bit 10 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn reg_pad12_fun_ie(&mut self) -> REG_PAD12_FUN_IE_W { REG_PAD12_FUN_IE_W::new(self, 10) } #[doc = "Bit 11 - need des"] #[inline(always)] - #[must_use] pub fn reg_pad12_filter_en(&mut self) -> REG_PAD12_FILTER_EN_W { REG_PAD12_FILTER_EN_W::new(self, 11) } diff --git a/esp32p4/src/lp_io_mux/pad13.rs b/esp32p4/src/lp_io_mux/pad13.rs index 329237518b..ac300b18b0 100644 --- a/esp32p4/src/lp_io_mux/pad13.rs +++ b/esp32p4/src/lp_io_mux/pad13.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad13_drv(&mut self) -> REG_PAD13_DRV_W { REG_PAD13_DRV_W::new(self, 0) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad13_rde(&mut self) -> REG_PAD13_RDE_W { REG_PAD13_RDE_W::new(self, 2) } #[doc = "Bit 3 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad13_rue(&mut self) -> REG_PAD13_RUE_W { REG_PAD13_RUE_W::new(self, 3) } #[doc = "Bit 4 - 1:use LP GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn reg_pad13_mux_sel(&mut self) -> REG_PAD13_MUX_SEL_W { REG_PAD13_MUX_SEL_W::new(self, 4) } #[doc = "Bits 5:6 - function sel"] #[inline(always)] - #[must_use] pub fn reg_pad13_fun_sel(&mut self) -> REG_PAD13_FUN_SEL_W { REG_PAD13_FUN_SEL_W::new(self, 5) } #[doc = "Bit 7 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad13_slp_sel(&mut self) -> REG_PAD13_SLP_SEL_W { REG_PAD13_SLP_SEL_W::new(self, 7) } #[doc = "Bit 8 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad13_slp_ie(&mut self) -> REG_PAD13_SLP_IE_W { REG_PAD13_SLP_IE_W::new(self, 8) } #[doc = "Bit 9 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad13_slp_oe(&mut self) -> REG_PAD13_SLP_OE_W { REG_PAD13_SLP_OE_W::new(self, 9) } #[doc = "Bit 10 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn reg_pad13_fun_ie(&mut self) -> REG_PAD13_FUN_IE_W { REG_PAD13_FUN_IE_W::new(self, 10) } #[doc = "Bit 11 - need des"] #[inline(always)] - #[must_use] pub fn reg_pad13_filter_en(&mut self) -> REG_PAD13_FILTER_EN_W { REG_PAD13_FILTER_EN_W::new(self, 11) } diff --git a/esp32p4/src/lp_io_mux/pad14.rs b/esp32p4/src/lp_io_mux/pad14.rs index 4d3d78b51d..4e3e21931c 100644 --- a/esp32p4/src/lp_io_mux/pad14.rs +++ b/esp32p4/src/lp_io_mux/pad14.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad14_drv(&mut self) -> REG_PAD14_DRV_W { REG_PAD14_DRV_W::new(self, 0) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad14_rde(&mut self) -> REG_PAD14_RDE_W { REG_PAD14_RDE_W::new(self, 2) } #[doc = "Bit 3 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad14_rue(&mut self) -> REG_PAD14_RUE_W { REG_PAD14_RUE_W::new(self, 3) } #[doc = "Bit 4 - 1:use LP GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn reg_pad14_mux_sel(&mut self) -> REG_PAD14_MUX_SEL_W { REG_PAD14_MUX_SEL_W::new(self, 4) } #[doc = "Bits 5:6 - function sel"] #[inline(always)] - #[must_use] pub fn reg_pad14_fun_sel(&mut self) -> REG_PAD14_FUN_SEL_W { REG_PAD14_FUN_SEL_W::new(self, 5) } #[doc = "Bit 7 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad14_slp_sel(&mut self) -> REG_PAD14_SLP_SEL_W { REG_PAD14_SLP_SEL_W::new(self, 7) } #[doc = "Bit 8 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad14_slp_ie(&mut self) -> REG_PAD14_SLP_IE_W { REG_PAD14_SLP_IE_W::new(self, 8) } #[doc = "Bit 9 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad14_slp_oe(&mut self) -> REG_PAD14_SLP_OE_W { REG_PAD14_SLP_OE_W::new(self, 9) } #[doc = "Bit 10 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn reg_pad14_fun_ie(&mut self) -> REG_PAD14_FUN_IE_W { REG_PAD14_FUN_IE_W::new(self, 10) } #[doc = "Bit 11 - need des"] #[inline(always)] - #[must_use] pub fn reg_pad14_filter_en(&mut self) -> REG_PAD14_FILTER_EN_W { REG_PAD14_FILTER_EN_W::new(self, 11) } diff --git a/esp32p4/src/lp_io_mux/pad15.rs b/esp32p4/src/lp_io_mux/pad15.rs index 4957da130a..c36cd1d88a 100644 --- a/esp32p4/src/lp_io_mux/pad15.rs +++ b/esp32p4/src/lp_io_mux/pad15.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad15_drv(&mut self) -> REG_PAD15_DRV_W { REG_PAD15_DRV_W::new(self, 0) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad15_rde(&mut self) -> REG_PAD15_RDE_W { REG_PAD15_RDE_W::new(self, 2) } #[doc = "Bit 3 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad15_rue(&mut self) -> REG_PAD15_RUE_W { REG_PAD15_RUE_W::new(self, 3) } #[doc = "Bit 4 - 1:use LP GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn reg_pad15_mux_sel(&mut self) -> REG_PAD15_MUX_SEL_W { REG_PAD15_MUX_SEL_W::new(self, 4) } #[doc = "Bits 5:6 - function sel"] #[inline(always)] - #[must_use] pub fn reg_pad15_fun_sel(&mut self) -> REG_PAD15_FUN_SEL_W { REG_PAD15_FUN_SEL_W::new(self, 5) } #[doc = "Bit 7 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad15_slp_sel(&mut self) -> REG_PAD15_SLP_SEL_W { REG_PAD15_SLP_SEL_W::new(self, 7) } #[doc = "Bit 8 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad15_slp_ie(&mut self) -> REG_PAD15_SLP_IE_W { REG_PAD15_SLP_IE_W::new(self, 8) } #[doc = "Bit 9 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad15_slp_oe(&mut self) -> REG_PAD15_SLP_OE_W { REG_PAD15_SLP_OE_W::new(self, 9) } #[doc = "Bit 10 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn reg_pad15_fun_ie(&mut self) -> REG_PAD15_FUN_IE_W { REG_PAD15_FUN_IE_W::new(self, 10) } #[doc = "Bit 11 - need des"] #[inline(always)] - #[must_use] pub fn reg_pad15_filter_en(&mut self) -> REG_PAD15_FILTER_EN_W { REG_PAD15_FILTER_EN_W::new(self, 11) } diff --git a/esp32p4/src/lp_io_mux/pad2.rs b/esp32p4/src/lp_io_mux/pad2.rs index ec62a16f73..3e9b3cb85e 100644 --- a/esp32p4/src/lp_io_mux/pad2.rs +++ b/esp32p4/src/lp_io_mux/pad2.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad2_drv(&mut self) -> REG_PAD2_DRV_W { REG_PAD2_DRV_W::new(self, 0) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad2_rde(&mut self) -> REG_PAD2_RDE_W { REG_PAD2_RDE_W::new(self, 2) } #[doc = "Bit 3 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad2_rue(&mut self) -> REG_PAD2_RUE_W { REG_PAD2_RUE_W::new(self, 3) } #[doc = "Bit 4 - 1:use LP GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn reg_pad2_mux_sel(&mut self) -> REG_PAD2_MUX_SEL_W { REG_PAD2_MUX_SEL_W::new(self, 4) } #[doc = "Bits 5:6 - function sel"] #[inline(always)] - #[must_use] pub fn reg_pad2_fun_sel(&mut self) -> REG_PAD2_FUN_SEL_W { REG_PAD2_FUN_SEL_W::new(self, 5) } #[doc = "Bit 7 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad2_slp_sel(&mut self) -> REG_PAD2_SLP_SEL_W { REG_PAD2_SLP_SEL_W::new(self, 7) } #[doc = "Bit 8 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad2_slp_ie(&mut self) -> REG_PAD2_SLP_IE_W { REG_PAD2_SLP_IE_W::new(self, 8) } #[doc = "Bit 9 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad2_slp_oe(&mut self) -> REG_PAD2_SLP_OE_W { REG_PAD2_SLP_OE_W::new(self, 9) } #[doc = "Bit 10 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn reg_pad2_fun_ie(&mut self) -> REG_PAD2_FUN_IE_W { REG_PAD2_FUN_IE_W::new(self, 10) } #[doc = "Bit 11 - need des"] #[inline(always)] - #[must_use] pub fn reg_pad2_filter_en(&mut self) -> REG_PAD2_FILTER_EN_W { REG_PAD2_FILTER_EN_W::new(self, 11) } diff --git a/esp32p4/src/lp_io_mux/pad3.rs b/esp32p4/src/lp_io_mux/pad3.rs index 59c43c52ce..985f922212 100644 --- a/esp32p4/src/lp_io_mux/pad3.rs +++ b/esp32p4/src/lp_io_mux/pad3.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad3_drv(&mut self) -> REG_PAD3_DRV_W { REG_PAD3_DRV_W::new(self, 0) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad3_rde(&mut self) -> REG_PAD3_RDE_W { REG_PAD3_RDE_W::new(self, 2) } #[doc = "Bit 3 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad3_rue(&mut self) -> REG_PAD3_RUE_W { REG_PAD3_RUE_W::new(self, 3) } #[doc = "Bit 4 - 1:use LP GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn reg_pad3_mux_sel(&mut self) -> REG_PAD3_MUX_SEL_W { REG_PAD3_MUX_SEL_W::new(self, 4) } #[doc = "Bits 5:6 - function sel"] #[inline(always)] - #[must_use] pub fn reg_pad3_fun_sel(&mut self) -> REG_PAD3_FUN_SEL_W { REG_PAD3_FUN_SEL_W::new(self, 5) } #[doc = "Bit 7 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad3_slp_sel(&mut self) -> REG_PAD3_SLP_SEL_W { REG_PAD3_SLP_SEL_W::new(self, 7) } #[doc = "Bit 8 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad3_slp_ie(&mut self) -> REG_PAD3_SLP_IE_W { REG_PAD3_SLP_IE_W::new(self, 8) } #[doc = "Bit 9 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad3_slp_oe(&mut self) -> REG_PAD3_SLP_OE_W { REG_PAD3_SLP_OE_W::new(self, 9) } #[doc = "Bit 10 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn reg_pad3_fun_ie(&mut self) -> REG_PAD3_FUN_IE_W { REG_PAD3_FUN_IE_W::new(self, 10) } #[doc = "Bit 11 - need des"] #[inline(always)] - #[must_use] pub fn reg_pad3_filter_en(&mut self) -> REG_PAD3_FILTER_EN_W { REG_PAD3_FILTER_EN_W::new(self, 11) } diff --git a/esp32p4/src/lp_io_mux/pad4.rs b/esp32p4/src/lp_io_mux/pad4.rs index 8000d0181a..1a69dfc7cb 100644 --- a/esp32p4/src/lp_io_mux/pad4.rs +++ b/esp32p4/src/lp_io_mux/pad4.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad4_drv(&mut self) -> REG_PAD4_DRV_W { REG_PAD4_DRV_W::new(self, 0) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad4_rde(&mut self) -> REG_PAD4_RDE_W { REG_PAD4_RDE_W::new(self, 2) } #[doc = "Bit 3 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad4_rue(&mut self) -> REG_PAD4_RUE_W { REG_PAD4_RUE_W::new(self, 3) } #[doc = "Bit 4 - 1:use LP GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn reg_pad4_mux_sel(&mut self) -> REG_PAD4_MUX_SEL_W { REG_PAD4_MUX_SEL_W::new(self, 4) } #[doc = "Bits 5:6 - function sel"] #[inline(always)] - #[must_use] pub fn reg_pad4_fun_sel(&mut self) -> REG_PAD4_FUN_SEL_W { REG_PAD4_FUN_SEL_W::new(self, 5) } #[doc = "Bit 7 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad4_slp_sel(&mut self) -> REG_PAD4_SLP_SEL_W { REG_PAD4_SLP_SEL_W::new(self, 7) } #[doc = "Bit 8 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad4_slp_ie(&mut self) -> REG_PAD4_SLP_IE_W { REG_PAD4_SLP_IE_W::new(self, 8) } #[doc = "Bit 9 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad4_slp_oe(&mut self) -> REG_PAD4_SLP_OE_W { REG_PAD4_SLP_OE_W::new(self, 9) } #[doc = "Bit 10 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn reg_pad4_fun_ie(&mut self) -> REG_PAD4_FUN_IE_W { REG_PAD4_FUN_IE_W::new(self, 10) } #[doc = "Bit 11 - need des"] #[inline(always)] - #[must_use] pub fn reg_pad4_filter_en(&mut self) -> REG_PAD4_FILTER_EN_W { REG_PAD4_FILTER_EN_W::new(self, 11) } diff --git a/esp32p4/src/lp_io_mux/pad5.rs b/esp32p4/src/lp_io_mux/pad5.rs index ec96df970d..96c83afb9b 100644 --- a/esp32p4/src/lp_io_mux/pad5.rs +++ b/esp32p4/src/lp_io_mux/pad5.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad5_drv(&mut self) -> REG_PAD5_DRV_W { REG_PAD5_DRV_W::new(self, 0) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad5_rde(&mut self) -> REG_PAD5_RDE_W { REG_PAD5_RDE_W::new(self, 2) } #[doc = "Bit 3 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad5_rue(&mut self) -> REG_PAD5_RUE_W { REG_PAD5_RUE_W::new(self, 3) } #[doc = "Bit 4 - 1:use LP GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn reg_pad5_mux_sel(&mut self) -> REG_PAD5_MUX_SEL_W { REG_PAD5_MUX_SEL_W::new(self, 4) } #[doc = "Bits 5:6 - function sel"] #[inline(always)] - #[must_use] pub fn reg_pad5_fun_sel(&mut self) -> REG_PAD5_FUN_SEL_W { REG_PAD5_FUN_SEL_W::new(self, 5) } #[doc = "Bit 7 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad5_slp_sel(&mut self) -> REG_PAD5_SLP_SEL_W { REG_PAD5_SLP_SEL_W::new(self, 7) } #[doc = "Bit 8 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad5_slp_ie(&mut self) -> REG_PAD5_SLP_IE_W { REG_PAD5_SLP_IE_W::new(self, 8) } #[doc = "Bit 9 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad5_slp_oe(&mut self) -> REG_PAD5_SLP_OE_W { REG_PAD5_SLP_OE_W::new(self, 9) } #[doc = "Bit 10 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn reg_pad5_fun_ie(&mut self) -> REG_PAD5_FUN_IE_W { REG_PAD5_FUN_IE_W::new(self, 10) } #[doc = "Bit 11 - need des"] #[inline(always)] - #[must_use] pub fn reg_pad5_filter_en(&mut self) -> REG_PAD5_FILTER_EN_W { REG_PAD5_FILTER_EN_W::new(self, 11) } diff --git a/esp32p4/src/lp_io_mux/pad6.rs b/esp32p4/src/lp_io_mux/pad6.rs index d4bbe5d443..0516fd2b4f 100644 --- a/esp32p4/src/lp_io_mux/pad6.rs +++ b/esp32p4/src/lp_io_mux/pad6.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad6_drv(&mut self) -> REG_PAD6_DRV_W { REG_PAD6_DRV_W::new(self, 0) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad6_rde(&mut self) -> REG_PAD6_RDE_W { REG_PAD6_RDE_W::new(self, 2) } #[doc = "Bit 3 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad6_rue(&mut self) -> REG_PAD6_RUE_W { REG_PAD6_RUE_W::new(self, 3) } #[doc = "Bit 4 - 1:use LP GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn reg_pad6_mux_sel(&mut self) -> REG_PAD6_MUX_SEL_W { REG_PAD6_MUX_SEL_W::new(self, 4) } #[doc = "Bits 5:6 - function sel"] #[inline(always)] - #[must_use] pub fn reg_pad6_fun_sel(&mut self) -> REG_PAD6_FUN_SEL_W { REG_PAD6_FUN_SEL_W::new(self, 5) } #[doc = "Bit 7 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad6_slp_sel(&mut self) -> REG_PAD6_SLP_SEL_W { REG_PAD6_SLP_SEL_W::new(self, 7) } #[doc = "Bit 8 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad6_slp_ie(&mut self) -> REG_PAD6_SLP_IE_W { REG_PAD6_SLP_IE_W::new(self, 8) } #[doc = "Bit 9 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad6_slp_oe(&mut self) -> REG_PAD6_SLP_OE_W { REG_PAD6_SLP_OE_W::new(self, 9) } #[doc = "Bit 10 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn reg_pad6_fun_ie(&mut self) -> REG_PAD6_FUN_IE_W { REG_PAD6_FUN_IE_W::new(self, 10) } #[doc = "Bit 11 - need des"] #[inline(always)] - #[must_use] pub fn reg_pad6_filter_en(&mut self) -> REG_PAD6_FILTER_EN_W { REG_PAD6_FILTER_EN_W::new(self, 11) } diff --git a/esp32p4/src/lp_io_mux/pad7.rs b/esp32p4/src/lp_io_mux/pad7.rs index 1a8a53815e..7b96effac7 100644 --- a/esp32p4/src/lp_io_mux/pad7.rs +++ b/esp32p4/src/lp_io_mux/pad7.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad7_drv(&mut self) -> REG_PAD7_DRV_W { REG_PAD7_DRV_W::new(self, 0) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad7_rde(&mut self) -> REG_PAD7_RDE_W { REG_PAD7_RDE_W::new(self, 2) } #[doc = "Bit 3 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad7_rue(&mut self) -> REG_PAD7_RUE_W { REG_PAD7_RUE_W::new(self, 3) } #[doc = "Bit 4 - 1:use LP GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn reg_pad7_mux_sel(&mut self) -> REG_PAD7_MUX_SEL_W { REG_PAD7_MUX_SEL_W::new(self, 4) } #[doc = "Bits 5:6 - function sel"] #[inline(always)] - #[must_use] pub fn reg_pad7_fun_sel(&mut self) -> REG_PAD7_FUN_SEL_W { REG_PAD7_FUN_SEL_W::new(self, 5) } #[doc = "Bit 7 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad7_slp_sel(&mut self) -> REG_PAD7_SLP_SEL_W { REG_PAD7_SLP_SEL_W::new(self, 7) } #[doc = "Bit 8 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad7_slp_ie(&mut self) -> REG_PAD7_SLP_IE_W { REG_PAD7_SLP_IE_W::new(self, 8) } #[doc = "Bit 9 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad7_slp_oe(&mut self) -> REG_PAD7_SLP_OE_W { REG_PAD7_SLP_OE_W::new(self, 9) } #[doc = "Bit 10 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn reg_pad7_fun_ie(&mut self) -> REG_PAD7_FUN_IE_W { REG_PAD7_FUN_IE_W::new(self, 10) } #[doc = "Bit 11 - need des"] #[inline(always)] - #[must_use] pub fn reg_pad7_filter_en(&mut self) -> REG_PAD7_FILTER_EN_W { REG_PAD7_FILTER_EN_W::new(self, 11) } diff --git a/esp32p4/src/lp_io_mux/pad8.rs b/esp32p4/src/lp_io_mux/pad8.rs index 13719850cb..311e6f8f53 100644 --- a/esp32p4/src/lp_io_mux/pad8.rs +++ b/esp32p4/src/lp_io_mux/pad8.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad8_drv(&mut self) -> REG_PAD8_DRV_W { REG_PAD8_DRV_W::new(self, 0) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad8_rde(&mut self) -> REG_PAD8_RDE_W { REG_PAD8_RDE_W::new(self, 2) } #[doc = "Bit 3 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad8_rue(&mut self) -> REG_PAD8_RUE_W { REG_PAD8_RUE_W::new(self, 3) } #[doc = "Bit 4 - 1:use LP GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn reg_pad8_mux_sel(&mut self) -> REG_PAD8_MUX_SEL_W { REG_PAD8_MUX_SEL_W::new(self, 4) } #[doc = "Bits 5:6 - function sel"] #[inline(always)] - #[must_use] pub fn reg_pad8_fun_sel(&mut self) -> REG_PAD8_FUN_SEL_W { REG_PAD8_FUN_SEL_W::new(self, 5) } #[doc = "Bit 7 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad8_slp_sel(&mut self) -> REG_PAD8_SLP_SEL_W { REG_PAD8_SLP_SEL_W::new(self, 7) } #[doc = "Bit 8 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad8_slp_ie(&mut self) -> REG_PAD8_SLP_IE_W { REG_PAD8_SLP_IE_W::new(self, 8) } #[doc = "Bit 9 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad8_slp_oe(&mut self) -> REG_PAD8_SLP_OE_W { REG_PAD8_SLP_OE_W::new(self, 9) } #[doc = "Bit 10 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn reg_pad8_fun_ie(&mut self) -> REG_PAD8_FUN_IE_W { REG_PAD8_FUN_IE_W::new(self, 10) } #[doc = "Bit 11 - need des"] #[inline(always)] - #[must_use] pub fn reg_pad8_filter_en(&mut self) -> REG_PAD8_FILTER_EN_W { REG_PAD8_FILTER_EN_W::new(self, 11) } diff --git a/esp32p4/src/lp_io_mux/pad9.rs b/esp32p4/src/lp_io_mux/pad9.rs index a5ba321225..9571e0df16 100644 --- a/esp32p4/src/lp_io_mux/pad9.rs +++ b/esp32p4/src/lp_io_mux/pad9.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad9_drv(&mut self) -> REG_PAD9_DRV_W { REG_PAD9_DRV_W::new(self, 0) } #[doc = "Bit 2 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad9_rde(&mut self) -> REG_PAD9_RDE_W { REG_PAD9_RDE_W::new(self, 2) } #[doc = "Bit 3 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_pad9_rue(&mut self) -> REG_PAD9_RUE_W { REG_PAD9_RUE_W::new(self, 3) } #[doc = "Bit 4 - 1:use LP GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn reg_pad9_mux_sel(&mut self) -> REG_PAD9_MUX_SEL_W { REG_PAD9_MUX_SEL_W::new(self, 4) } #[doc = "Bits 5:6 - function sel"] #[inline(always)] - #[must_use] pub fn reg_pad9_fun_sel(&mut self) -> REG_PAD9_FUN_SEL_W { REG_PAD9_FUN_SEL_W::new(self, 5) } #[doc = "Bit 7 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad9_slp_sel(&mut self) -> REG_PAD9_SLP_SEL_W { REG_PAD9_SLP_SEL_W::new(self, 7) } #[doc = "Bit 8 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad9_slp_ie(&mut self) -> REG_PAD9_SLP_IE_W { REG_PAD9_SLP_IE_W::new(self, 8) } #[doc = "Bit 9 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn reg_pad9_slp_oe(&mut self) -> REG_PAD9_SLP_OE_W { REG_PAD9_SLP_OE_W::new(self, 9) } #[doc = "Bit 10 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn reg_pad9_fun_ie(&mut self) -> REG_PAD9_FUN_IE_W { REG_PAD9_FUN_IE_W::new(self, 10) } #[doc = "Bit 11 - need des"] #[inline(always)] - #[must_use] pub fn reg_pad9_filter_en(&mut self) -> REG_PAD9_FILTER_EN_W { REG_PAD9_FILTER_EN_W::new(self, 11) } diff --git a/esp32p4/src/lp_io_mux/ver_date.rs b/esp32p4/src/lp_io_mux/ver_date.rs index f2af397bfe..617e7bb826 100644 --- a/esp32p4/src/lp_io_mux/ver_date.rs +++ b/esp32p4/src/lp_io_mux/ver_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Reserved"] #[inline(always)] - #[must_use] pub fn reg_ver_date(&mut self) -> REG_VER_DATE_W { REG_VER_DATE_W::new(self, 0) } diff --git a/esp32p4/src/lp_peri/adc_ctrl.rs b/esp32p4/src/lp_peri/adc_ctrl.rs index 29a0a3da60..cead51c8c1 100644 --- a/esp32p4/src/lp_peri/adc_ctrl.rs +++ b/esp32p4/src/lp_peri/adc_ctrl.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 6 - need_des"] #[inline(always)] - #[must_use] pub fn sar2_clk_force_on(&mut self) -> SAR2_CLK_FORCE_ON_W { SAR2_CLK_FORCE_ON_W::new(self, 6) } #[doc = "Bit 7 - need_des"] #[inline(always)] - #[must_use] pub fn sar1_clk_force_on(&mut self) -> SAR1_CLK_FORCE_ON_W { SAR1_CLK_FORCE_ON_W::new(self, 7) } #[doc = "Bits 8:15 - need_des"] #[inline(always)] - #[must_use] pub fn lpadc_func_div_num(&mut self) -> LPADC_FUNC_DIV_NUM_W { LPADC_FUNC_DIV_NUM_W::new(self, 8) } #[doc = "Bits 16:23 - need_des"] #[inline(always)] - #[must_use] pub fn lpadc_sar2_div_num(&mut self) -> LPADC_SAR2_DIV_NUM_W { LPADC_SAR2_DIV_NUM_W::new(self, 16) } #[doc = "Bits 24:31 - need_des"] #[inline(always)] - #[must_use] pub fn lpadc_sar1_div_num(&mut self) -> LPADC_SAR1_DIV_NUM_W { LPADC_SAR1_DIV_NUM_W::new(self, 24) } diff --git a/esp32p4/src/lp_peri/clk_en.rs b/esp32p4/src/lp_peri/clk_en.rs index f8ca4b10df..d81df96ae8 100644 --- a/esp32p4/src/lp_peri/clk_en.rs +++ b/esp32p4/src/lp_peri/clk_en.rs @@ -174,97 +174,81 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 16 - need_des"] #[inline(always)] - #[must_use] pub fn ck_en_rng(&mut self) -> CK_EN_RNG_W { CK_EN_RNG_W::new(self, 16) } #[doc = "Bit 17 - need_des"] #[inline(always)] - #[must_use] pub fn ck_en_lp_tsens(&mut self) -> CK_EN_LP_TSENS_W { CK_EN_LP_TSENS_W::new(self, 17) } #[doc = "Bit 18 - need_des"] #[inline(always)] - #[must_use] pub fn ck_en_lp_pms(&mut self) -> CK_EN_LP_PMS_W { CK_EN_LP_PMS_W::new(self, 18) } #[doc = "Bit 19 - need_des"] #[inline(always)] - #[must_use] pub fn ck_en_lp_efuse(&mut self) -> CK_EN_LP_EFUSE_W { CK_EN_LP_EFUSE_W::new(self, 19) } #[doc = "Bit 20 - need_des"] #[inline(always)] - #[must_use] pub fn ck_en_lp_iomux(&mut self) -> CK_EN_LP_IOMUX_W { CK_EN_LP_IOMUX_W::new(self, 20) } #[doc = "Bit 21 - need_des"] #[inline(always)] - #[must_use] pub fn ck_en_lp_touch(&mut self) -> CK_EN_LP_TOUCH_W { CK_EN_LP_TOUCH_W::new(self, 21) } #[doc = "Bit 22 - need_des"] #[inline(always)] - #[must_use] pub fn ck_en_lp_spi(&mut self) -> CK_EN_LP_SPI_W { CK_EN_LP_SPI_W::new(self, 22) } #[doc = "Bit 23 - need_des"] #[inline(always)] - #[must_use] pub fn ck_en_lp_adc(&mut self) -> CK_EN_LP_ADC_W { CK_EN_LP_ADC_W::new(self, 23) } #[doc = "Bit 24 - need_des"] #[inline(always)] - #[must_use] pub fn ck_en_lp_i2s_tx(&mut self) -> CK_EN_LP_I2S_TX_W { CK_EN_LP_I2S_TX_W::new(self, 24) } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn ck_en_lp_i2s_rx(&mut self) -> CK_EN_LP_I2S_RX_W { CK_EN_LP_I2S_RX_W::new(self, 25) } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn ck_en_lp_i2s(&mut self) -> CK_EN_LP_I2S_W { CK_EN_LP_I2S_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn ck_en_lp_i2cmst(&mut self) -> CK_EN_LP_I2CMST_W { CK_EN_LP_I2CMST_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn ck_en_lp_i2c(&mut self) -> CK_EN_LP_I2C_W { CK_EN_LP_I2C_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn ck_en_lp_uart(&mut self) -> CK_EN_LP_UART_W { CK_EN_LP_UART_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn ck_en_lp_intr(&mut self) -> CK_EN_LP_INTR_W { CK_EN_LP_INTR_W::new(self, 30) } #[doc = "Bit 31 - write 1 to force on lp_core clk"] #[inline(always)] - #[must_use] pub fn ck_en_lp_core(&mut self) -> CK_EN_LP_CORE_W { CK_EN_LP_CORE_W::new(self, 31) } diff --git a/esp32p4/src/lp_peri/core_clk_sel.rs b/esp32p4/src/lp_peri/core_clk_sel.rs index 533329232f..6a9fec8c06 100644 --- a/esp32p4/src/lp_peri/core_clk_sel.rs +++ b/esp32p4/src/lp_peri/core_clk_sel.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 24:25 - need_des"] #[inline(always)] - #[must_use] pub fn lp_i2s_tx_clk_sel(&mut self) -> LP_I2S_TX_CLK_SEL_W { LP_I2S_TX_CLK_SEL_W::new(self, 24) } #[doc = "Bits 26:27 - need_des"] #[inline(always)] - #[must_use] pub fn lp_i2s_rx_clk_sel(&mut self) -> LP_I2S_RX_CLK_SEL_W { LP_I2S_RX_CLK_SEL_W::new(self, 26) } #[doc = "Bits 28:29 - need_des"] #[inline(always)] - #[must_use] pub fn lp_i2c_clk_sel(&mut self) -> LP_I2C_CLK_SEL_W { LP_I2C_CLK_SEL_W::new(self, 28) } #[doc = "Bits 30:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_uart_clk_sel(&mut self) -> LP_UART_CLK_SEL_W { LP_UART_CLK_SEL_W::new(self, 30) } diff --git a/esp32p4/src/lp_peri/cpu.rs b/esp32p4/src/lp_peri/cpu.rs index 501fc6c4aa..26dd7bd158 100644 --- a/esp32p4/src/lp_peri/cpu.rs +++ b/esp32p4/src/lp_peri/cpu.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lpcore_dbgm_unavailable(&mut self) -> LPCORE_DBGM_UNAVAILABLE_W { LPCORE_DBGM_UNAVAILABLE_W::new(self, 31) } diff --git a/esp32p4/src/lp_peri/date.rs b/esp32p4/src/lp_peri/date.rs index c2f6f0272c..ae9a70adf1 100644 --- a/esp32p4/src/lp_peri/date.rs +++ b/esp32p4/src/lp_peri/date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32p4/src/lp_peri/lp_i2s_rxclk_div_num.rs b/esp32p4/src/lp_peri/lp_i2s_rxclk_div_num.rs index b0878a5efd..728523d076 100644 --- a/esp32p4/src/lp_peri/lp_i2s_rxclk_div_num.rs +++ b/esp32p4/src/lp_peri/lp_i2s_rxclk_div_num.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 24:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_i2s_rx_clkm_div_num( &mut self, ) -> LP_I2S_RX_CLKM_DIV_NUM_W { diff --git a/esp32p4/src/lp_peri/lp_i2s_rxclk_div_xyz.rs b/esp32p4/src/lp_peri/lp_i2s_rxclk_div_xyz.rs index 4fd10b91ed..1d6cd78694 100644 --- a/esp32p4/src/lp_peri/lp_i2s_rxclk_div_xyz.rs +++ b/esp32p4/src/lp_peri/lp_i2s_rxclk_div_xyz.rs @@ -54,7 +54,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 4 - need_des"] #[inline(always)] - #[must_use] pub fn lp_i2s_rx_clkm_div_yn1( &mut self, ) -> LP_I2S_RX_CLKM_DIV_YN1_W { @@ -62,19 +61,16 @@ impl W { } #[doc = "Bits 5:13 - need_des"] #[inline(always)] - #[must_use] pub fn lp_i2s_rx_clkm_div_z(&mut self) -> LP_I2S_RX_CLKM_DIV_Z_W { LP_I2S_RX_CLKM_DIV_Z_W::new(self, 5) } #[doc = "Bits 14:22 - need_des"] #[inline(always)] - #[must_use] pub fn lp_i2s_rx_clkm_div_y(&mut self) -> LP_I2S_RX_CLKM_DIV_Y_W { LP_I2S_RX_CLKM_DIV_Y_W::new(self, 14) } #[doc = "Bits 23:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_i2s_rx_clkm_div_x(&mut self) -> LP_I2S_RX_CLKM_DIV_X_W { LP_I2S_RX_CLKM_DIV_X_W::new(self, 23) } diff --git a/esp32p4/src/lp_peri/lp_i2s_txclk_div_num.rs b/esp32p4/src/lp_peri/lp_i2s_txclk_div_num.rs index 66f93fcb2e..100c313d60 100644 --- a/esp32p4/src/lp_peri/lp_i2s_txclk_div_num.rs +++ b/esp32p4/src/lp_peri/lp_i2s_txclk_div_num.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 24:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_i2s_tx_clkm_div_num( &mut self, ) -> LP_I2S_TX_CLKM_DIV_NUM_W { diff --git a/esp32p4/src/lp_peri/lp_i2s_txclk_div_xyz.rs b/esp32p4/src/lp_peri/lp_i2s_txclk_div_xyz.rs index 897c0c0f3e..02b4cda867 100644 --- a/esp32p4/src/lp_peri/lp_i2s_txclk_div_xyz.rs +++ b/esp32p4/src/lp_peri/lp_i2s_txclk_div_xyz.rs @@ -54,7 +54,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 4 - need_des"] #[inline(always)] - #[must_use] pub fn lp_i2s_tx_clkm_div_yn1( &mut self, ) -> LP_I2S_TX_CLKM_DIV_YN1_W { @@ -62,19 +61,16 @@ impl W { } #[doc = "Bits 5:13 - need_des"] #[inline(always)] - #[must_use] pub fn lp_i2s_tx_clkm_div_z(&mut self) -> LP_I2S_TX_CLKM_DIV_Z_W { LP_I2S_TX_CLKM_DIV_Z_W::new(self, 5) } #[doc = "Bits 14:22 - need_des"] #[inline(always)] - #[must_use] pub fn lp_i2s_tx_clkm_div_y(&mut self) -> LP_I2S_TX_CLKM_DIV_Y_W { LP_I2S_TX_CLKM_DIV_Y_W::new(self, 14) } #[doc = "Bits 23:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_i2s_tx_clkm_div_x(&mut self) -> LP_I2S_TX_CLKM_DIV_X_W { LP_I2S_TX_CLKM_DIV_X_W::new(self, 23) } diff --git a/esp32p4/src/lp_peri/mem_ctrl.rs b/esp32p4/src/lp_peri/mem_ctrl.rs index fd69e7148d..92d5eab7b9 100644 --- a/esp32p4/src/lp_peri/mem_ctrl.rs +++ b/esp32p4/src/lp_peri/mem_ctrl.rs @@ -56,31 +56,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn lp_uart_wakeup_flag_clr(&mut self) -> LP_UART_WAKEUP_FLAG_CLR_W { LP_UART_WAKEUP_FLAG_CLR_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn lp_uart_wakeup_flag(&mut self) -> LP_UART_WAKEUP_FLAG_W { LP_UART_WAKEUP_FLAG_W::new(self, 1) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn lp_uart_wakeup_en(&mut self) -> LP_UART_WAKEUP_EN_W { LP_UART_WAKEUP_EN_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_uart_mem_force_pd(&mut self) -> LP_UART_MEM_FORCE_PD_W { LP_UART_MEM_FORCE_PD_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_uart_mem_force_pu(&mut self) -> LP_UART_MEM_FORCE_PU_W { LP_UART_MEM_FORCE_PU_W::new(self, 31) } diff --git a/esp32p4/src/lp_peri/reset_en.rs b/esp32p4/src/lp_peri/reset_en.rs index 97e5503f20..fb62e90410 100644 --- a/esp32p4/src/lp_peri/reset_en.rs +++ b/esp32p4/src/lp_peri/reset_en.rs @@ -146,85 +146,71 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 18 - need_des"] #[inline(always)] - #[must_use] pub fn rst_en_lp_tsens(&mut self) -> RST_EN_LP_TSENS_W { RST_EN_LP_TSENS_W::new(self, 18) } #[doc = "Bit 19 - need_des"] #[inline(always)] - #[must_use] pub fn rst_en_lp_pms(&mut self) -> RST_EN_LP_PMS_W { RST_EN_LP_PMS_W::new(self, 19) } #[doc = "Bit 20 - need_des"] #[inline(always)] - #[must_use] pub fn rst_en_lp_efuse(&mut self) -> RST_EN_LP_EFUSE_W { RST_EN_LP_EFUSE_W::new(self, 20) } #[doc = "Bit 21 - need_des"] #[inline(always)] - #[must_use] pub fn rst_en_lp_iomux(&mut self) -> RST_EN_LP_IOMUX_W { RST_EN_LP_IOMUX_W::new(self, 21) } #[doc = "Bit 22 - need_des"] #[inline(always)] - #[must_use] pub fn rst_en_lp_touch(&mut self) -> RST_EN_LP_TOUCH_W { RST_EN_LP_TOUCH_W::new(self, 22) } #[doc = "Bit 23 - need_des"] #[inline(always)] - #[must_use] pub fn rst_en_lp_spi(&mut self) -> RST_EN_LP_SPI_W { RST_EN_LP_SPI_W::new(self, 23) } #[doc = "Bit 24 - need_des"] #[inline(always)] - #[must_use] pub fn rst_en_lp_adc(&mut self) -> RST_EN_LP_ADC_W { RST_EN_LP_ADC_W::new(self, 24) } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn rst_en_lp_i2s(&mut self) -> RST_EN_LP_I2S_W { RST_EN_LP_I2S_W::new(self, 25) } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn rst_en_lp_i2cmst(&mut self) -> RST_EN_LP_I2CMST_W { RST_EN_LP_I2CMST_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn rst_en_lp_i2c(&mut self) -> RST_EN_LP_I2C_W { RST_EN_LP_I2C_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn rst_en_lp_uart(&mut self) -> RST_EN_LP_UART_W { RST_EN_LP_UART_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn rst_en_lp_intr(&mut self) -> RST_EN_LP_INTR_W { RST_EN_LP_INTR_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn rst_en_lp_rom(&mut self) -> RST_EN_LP_ROM_W { RST_EN_LP_ROM_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn rst_en_lp_core(&mut self) -> RST_EN_LP_CORE_W { RST_EN_LP_CORE_W::new(self, 31) } diff --git a/esp32p4/src/lp_sys/ana_xpd_pad_group.rs b/esp32p4/src/lp_sys/ana_xpd_pad_group.rs index 0a5fbdf473..41ad36eb0e 100644 --- a/esp32p4/src/lp_sys/ana_xpd_pad_group.rs +++ b/esp32p4/src/lp_sys/ana_xpd_pad_group.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Set 1 to power up pad group"] #[inline(always)] - #[must_use] pub fn ana_reg_xpd_pad_group(&mut self) -> ANA_REG_XPD_PAD_GROUP_W { ANA_REG_XPD_PAD_GROUP_W::new(self, 0) } diff --git a/esp32p4/src/lp_sys/backup_dma_cfg0.rs b/esp32p4/src/lp_sys/backup_dma_cfg0.rs index 815544b5ae..d35a6bc4bc 100644 --- a/esp32p4/src/lp_sys/backup_dma_cfg0.rs +++ b/esp32p4/src/lp_sys/backup_dma_cfg0.rs @@ -57,19 +57,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - need_des"] #[inline(always)] - #[must_use] pub fn burst_limit_aon(&mut self) -> BURST_LIMIT_AON_W { BURST_LIMIT_AON_W::new(self, 0) } #[doc = "Bits 5:11 - need_des"] #[inline(always)] - #[must_use] pub fn read_interval_aon(&mut self) -> READ_INTERVAL_AON_W { READ_INTERVAL_AON_W::new(self, 5) } #[doc = "Bits 12:21 - need_des"] #[inline(always)] - #[must_use] pub fn link_backup_tout_thres_aon( &mut self, ) -> LINK_BACKUP_TOUT_THRES_AON_W { @@ -77,7 +74,6 @@ impl W { } #[doc = "Bits 22:31 - need_des"] #[inline(always)] - #[must_use] pub fn link_tout_thres_aon(&mut self) -> LINK_TOUT_THRES_AON_W { LINK_TOUT_THRES_AON_W::new(self, 22) } diff --git a/esp32p4/src/lp_sys/backup_dma_cfg1.rs b/esp32p4/src/lp_sys/backup_dma_cfg1.rs index 20223531ec..02a07fe17e 100644 --- a/esp32p4/src/lp_sys/backup_dma_cfg1.rs +++ b/esp32p4/src/lp_sys/backup_dma_cfg1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn aon_bypass(&mut self) -> AON_BYPASS_W { AON_BYPASS_W::new(self, 31) } diff --git a/esp32p4/src/lp_sys/backup_dma_cfg2.rs b/esp32p4/src/lp_sys/backup_dma_cfg2.rs index fa34a1e08b..6167272dc8 100644 --- a/esp32p4/src/lp_sys/backup_dma_cfg2.rs +++ b/esp32p4/src/lp_sys/backup_dma_cfg2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn link_addr_aon(&mut self) -> LINK_ADDR_AON_W { LINK_ADDR_AON_W::new(self, 0) } diff --git a/esp32p4/src/lp_sys/boot_addr_hp_core1.rs b/esp32p4/src/lp_sys/boot_addr_hp_core1.rs index 9dec97e26d..9f05d5caad 100644 --- a/esp32p4/src/lp_sys/boot_addr_hp_core1.rs +++ b/esp32p4/src/lp_sys/boot_addr_hp_core1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn boot_addr_hp_core1(&mut self) -> BOOT_ADDR_HP_CORE1_W { BOOT_ADDR_HP_CORE1_W::new(self, 0) } diff --git a/esp32p4/src/lp_sys/boot_addr_hp_lp.rs b/esp32p4/src/lp_sys/boot_addr_hp_lp.rs index 6999b7cf42..3239a55ab5 100644 --- a/esp32p4/src/lp_sys/boot_addr_hp_lp.rs +++ b/esp32p4/src/lp_sys/boot_addr_hp_lp.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn boot_addr_hp_lp(&mut self) -> BOOT_ADDR_HP_LP_W { BOOT_ADDR_HP_LP_W::new(self, 0) } diff --git a/esp32p4/src/lp_sys/clk_sel_ctrl.rs b/esp32p4/src/lp_sys/clk_sel_ctrl.rs index 2fed676c1a..f86ecba67f 100644 --- a/esp32p4/src/lp_sys/clk_sel_ctrl.rs +++ b/esp32p4/src/lp_sys/clk_sel_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 16 - reserved"] #[inline(always)] - #[must_use] pub fn ena_sw_sel_sys_clk(&mut self) -> ENA_SW_SEL_SYS_CLK_W { ENA_SW_SEL_SYS_CLK_W::new(self, 16) } #[doc = "Bit 17 - reserved"] #[inline(always)] - #[must_use] pub fn sw_sys_clk_src_sel(&mut self) -> SW_SYS_CLK_SRC_SEL_W { SW_SYS_CLK_SRC_SEL_W::new(self, 17) } diff --git a/esp32p4/src/lp_sys/ext_wakeup1.rs b/esp32p4/src/lp_sys/ext_wakeup1.rs index 2d0b630fdb..94ab3ee94e 100644 --- a/esp32p4/src/lp_sys/ext_wakeup1.rs +++ b/esp32p4/src/lp_sys/ext_wakeup1.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Bitmap to select RTC pads for ext wakeup1"] #[inline(always)] - #[must_use] pub fn sel(&mut self) -> SEL_W { SEL_W::new(self, 0) } #[doc = "Bit 16 - clear ext wakeup1 status"] #[inline(always)] - #[must_use] pub fn status_clr(&mut self) -> STATUS_CLR_W { STATUS_CLR_W::new(self, 16) } diff --git a/esp32p4/src/lp_sys/f2s_apb_brg_cntl.rs b/esp32p4/src/lp_sys/f2s_apb_brg_cntl.rs index dce8e0d9ab..5a00034794 100644 --- a/esp32p4/src/lp_sys/f2s_apb_brg_cntl.rs +++ b/esp32p4/src/lp_sys/f2s_apb_brg_cntl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reserved"] #[inline(always)] - #[must_use] pub fn f2s_apb_postw_en(&mut self) -> F2S_APB_POSTW_EN_W { F2S_APB_POSTW_EN_W::new(self, 0) } diff --git a/esp32p4/src/lp_sys/hp_mem_aux_ctrl.rs b/esp32p4/src/lp_sys/hp_mem_aux_ctrl.rs index 5b46815382..b1b3115d96 100644 --- a/esp32p4/src/lp_sys/hp_mem_aux_ctrl.rs +++ b/esp32p4/src/lp_sys/hp_mem_aux_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_mem_aux_ctrl(&mut self) -> HP_MEM_AUX_CTRL_W { HP_MEM_AUX_CTRL_W::new(self, 0) } diff --git a/esp32p4/src/lp_sys/hp_por_rst_bypass_ctrl.rs b/esp32p4/src/lp_sys/hp_por_rst_bypass_ctrl.rs index c29e762d7b..d8cfefbe2b 100644 --- a/esp32p4/src/lp_sys/hp_por_rst_bypass_ctrl.rs +++ b/esp32p4/src/lp_sys/hp_por_rst_bypass_ctrl.rs @@ -37,7 +37,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 8:15 - 15\\] 1'b1: po_cnnt_rstn bypass sys_sw_rstn \\[14\\] 1'b1: po_cnnt_rstn bypass hp_wdt_sys_rstn \\[13\\] 1'b1: po_cnnt_rstn bypass hp_cpu_intrusion_rstn \\[12\\] 1'b1: po_cnnt_rstn bypass hp_sdio_sys_rstn \\[11\\] 1'b1: po_cnnt_rstn bypass usb_jtag_chip_rst \\[10\\] 1'b1: po_cnnt_rstn bypass usb_uart_chip_rst \\[9\\] 1'b1: po_cnnt_rstn bypass lp_wdt_hp_sys_rstn \\[8\\] 1'b1: po_cnnt_rstn bypass efuse_err_rstn"] #[inline(always)] - #[must_use] pub fn hp_po_cnnt_rstn_bypass_ctrl( &mut self, ) -> HP_PO_CNNT_RSTN_BYPASS_CTRL_W { @@ -45,7 +44,6 @@ impl W { } #[doc = "Bits 24:31 - 31\\] 1'b1: po_rstn bypass sys_sw_rstn \\[30\\] 1'b1: po_rstn bypass hp_wdt_sys_rstn \\[29\\] 1'b1: po_rstn bypass hp_cpu_intrusion_rstn \\[28\\] 1'b1: po_rstn bypass hp_sdio_sys_rstn \\[27\\] 1'b1: po_rstn bypass usb_jtag_chip_rst \\[26\\] 1'b1: po_rstn bypass usb_uart_chip_rst \\[25\\] 1'b1: po_rstn bypass lp_wdt_hp_sys_rstn \\[24\\] 1'b1: po_rstn bypass efuse_err_rstn"] #[inline(always)] - #[must_use] pub fn hp_po_rstn_bypass_ctrl( &mut self, ) -> HP_PO_RSTN_BYPASS_CTRL_W { diff --git a/esp32p4/src/lp_sys/hp_rom_aux_ctrl.rs b/esp32p4/src/lp_sys/hp_rom_aux_ctrl.rs index 811703607c..05e8785153 100644 --- a/esp32p4/src/lp_sys/hp_rom_aux_ctrl.rs +++ b/esp32p4/src/lp_sys/hp_rom_aux_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_rom_aux_ctrl(&mut self) -> HP_ROM_AUX_CTRL_W { HP_ROM_AUX_CTRL_W::new(self, 0) } diff --git a/esp32p4/src/lp_sys/hp_root_clk_ctrl.rs b/esp32p4/src/lp_sys/hp_root_clk_ctrl.rs index 35c02c1629..06a88c2e4c 100644 --- a/esp32p4/src/lp_sys/hp_root_clk_ctrl.rs +++ b/esp32p4/src/lp_sys/hp_root_clk_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - clock gate enable for hp cpu root 400M clk"] #[inline(always)] - #[must_use] pub fn cpu_clk_en(&mut self) -> CPU_CLK_EN_W { CPU_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - clock gate enable for hp sys root 480M clk"] #[inline(always)] - #[must_use] pub fn sys_clk_en(&mut self) -> SYS_CLK_EN_W { SYS_CLK_EN_W::new(self, 1) } diff --git a/esp32p4/src/lp_sys/int_clr.rs b/esp32p4/src/lp_sys/int_clr.rs index 155d4759cb..1546466172 100644 --- a/esp32p4/src/lp_sys/int_clr.rs +++ b/esp32p4/src/lp_sys/int_clr.rs @@ -23,43 +23,36 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - write 1 to clear lp addrhole int"] #[inline(always)] - #[must_use] pub fn lp_addrhole_int_clr(&mut self) -> LP_ADDRHOLE_INT_CLR_W { LP_ADDRHOLE_INT_CLR_W::new(self, 0) } #[doc = "Bit 1 - write 1 to clear idbus addrhole int"] #[inline(always)] - #[must_use] pub fn idbus_addrhole_int_clr(&mut self) -> IDBUS_ADDRHOLE_INT_CLR_W { IDBUS_ADDRHOLE_INT_CLR_W::new(self, 1) } #[doc = "Bit 2 - Write 1 to clear lp_core_ahb_timeout int"] #[inline(always)] - #[must_use] pub fn lp_core_ahb_timeout_int_clr(&mut self) -> LP_CORE_AHB_TIMEOUT_INT_CLR_W { LP_CORE_AHB_TIMEOUT_INT_CLR_W::new(self, 2) } #[doc = "Bit 3 - Write 1 to clear lp_core_ibus_timeout int"] #[inline(always)] - #[must_use] pub fn lp_core_ibus_timeout_int_clr(&mut self) -> LP_CORE_IBUS_TIMEOUT_INT_CLR_W { LP_CORE_IBUS_TIMEOUT_INT_CLR_W::new(self, 3) } #[doc = "Bit 4 - Write 1 to clear lp_core_dbus_timeout int"] #[inline(always)] - #[must_use] pub fn lp_core_dbus_timeout_int_clr(&mut self) -> LP_CORE_DBUS_TIMEOUT_INT_CLR_W { LP_CORE_DBUS_TIMEOUT_INT_CLR_W::new(self, 4) } #[doc = "Bit 5 - Write 1 to clear etm tasl ulp int"] #[inline(always)] - #[must_use] pub fn etm_task_ulp_int_clr(&mut self) -> ETM_TASK_ULP_INT_CLR_W { ETM_TASK_ULP_INT_CLR_W::new(self, 5) } #[doc = "Bit 6 - Write 1 to clear slow_clk_tick int"] #[inline(always)] - #[must_use] pub fn slow_clk_tick_int_clr(&mut self) -> SLOW_CLK_TICK_INT_CLR_W { SLOW_CLK_TICK_INT_CLR_W::new(self, 6) } diff --git a/esp32p4/src/lp_sys/int_ena.rs b/esp32p4/src/lp_sys/int_ena.rs index 0d50d43786..a3954762b6 100644 --- a/esp32p4/src/lp_sys/int_ena.rs +++ b/esp32p4/src/lp_sys/int_ena.rs @@ -93,43 +93,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Write 1 to enable lp addrhole int"] #[inline(always)] - #[must_use] pub fn lp_addrhole_int_ena(&mut self) -> LP_ADDRHOLE_INT_ENA_W { LP_ADDRHOLE_INT_ENA_W::new(self, 0) } #[doc = "Bit 1 - Write 1 to enable idbus addrhole int"] #[inline(always)] - #[must_use] pub fn idbus_addrhole_int_ena(&mut self) -> IDBUS_ADDRHOLE_INT_ENA_W { IDBUS_ADDRHOLE_INT_ENA_W::new(self, 1) } #[doc = "Bit 2 - Write 1 to enable lp_core_ahb_timeout int"] #[inline(always)] - #[must_use] pub fn lp_core_ahb_timeout_int_ena(&mut self) -> LP_CORE_AHB_TIMEOUT_INT_ENA_W { LP_CORE_AHB_TIMEOUT_INT_ENA_W::new(self, 2) } #[doc = "Bit 3 - Write 1 to enable lp_core_ibus_timeout int"] #[inline(always)] - #[must_use] pub fn lp_core_ibus_timeout_int_ena(&mut self) -> LP_CORE_IBUS_TIMEOUT_INT_ENA_W { LP_CORE_IBUS_TIMEOUT_INT_ENA_W::new(self, 3) } #[doc = "Bit 4 - Write 1 to enable lp_core_dbus_timeout int"] #[inline(always)] - #[must_use] pub fn lp_core_dbus_timeout_int_ena(&mut self) -> LP_CORE_DBUS_TIMEOUT_INT_ENA_W { LP_CORE_DBUS_TIMEOUT_INT_ENA_W::new(self, 4) } #[doc = "Bit 5 - Write 1 to enable etm task ulp int"] #[inline(always)] - #[must_use] pub fn etm_task_ulp_int_ena(&mut self) -> ETM_TASK_ULP_INT_ENA_W { ETM_TASK_ULP_INT_ENA_W::new(self, 5) } #[doc = "Bit 6 - Write 1 to enable slow_clk_tick int"] #[inline(always)] - #[must_use] pub fn slow_clk_tick_int_ena(&mut self) -> SLOW_CLK_TICK_INT_ENA_W { SLOW_CLK_TICK_INT_ENA_W::new(self, 6) } diff --git a/esp32p4/src/lp_sys/lp_clk_ctrl.rs b/esp32p4/src/lp_sys/lp_clk_ctrl.rs index c852232c0b..42f49e36df 100644 --- a/esp32p4/src/lp_sys/lp_clk_ctrl.rs +++ b/esp32p4/src/lp_sys/lp_clk_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } #[doc = "Bit 14 - reserved"] #[inline(always)] - #[must_use] pub fn lp_fosc_hp_cken(&mut self) -> LP_FOSC_HP_CKEN_W { LP_FOSC_HP_CKEN_W::new(self, 14) } diff --git a/esp32p4/src/lp_sys/lp_core_ahb_timeout.rs b/esp32p4/src/lp_sys/lp_core_ahb_timeout.rs index d9f9615c08..d6b592fc15 100644 --- a/esp32p4/src/lp_sys/lp_core_ahb_timeout.rs +++ b/esp32p4/src/lp_sys/lp_core_ahb_timeout.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - set this field to 1 to enable lp core ahb timeout handle"] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 0) } #[doc = "Bits 1:16 - This field used to set lp core ahb bus timeout threshold"] #[inline(always)] - #[must_use] pub fn thres(&mut self) -> THRES_W { THRES_W::new(self, 1) } #[doc = "Bit 17 - set this field to 1 to enable lp2hp ahb timeout handle"] #[inline(always)] - #[must_use] pub fn lp2hp_ahb_timeout_en(&mut self) -> LP2HP_AHB_TIMEOUT_EN_W { LP2HP_AHB_TIMEOUT_EN_W::new(self, 17) } #[doc = "Bits 18:22 - This field used to set lp2hp ahb bus timeout threshold"] #[inline(always)] - #[must_use] pub fn lp2hp_ahb_timeout_thres( &mut self, ) -> LP2HP_AHB_TIMEOUT_THRES_W { diff --git a/esp32p4/src/lp_sys/lp_core_boot_addr.rs b/esp32p4/src/lp_sys/lp_core_boot_addr.rs index e1f2d39b26..d03cdbac79 100644 --- a/esp32p4/src/lp_sys/lp_core_boot_addr.rs +++ b/esp32p4/src/lp_sys/lp_core_boot_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_boot_addr(&mut self) -> LP_CPU_BOOT_ADDR_W { LP_CPU_BOOT_ADDR_W::new(self, 0) } diff --git a/esp32p4/src/lp_sys/lp_core_dbus_timeout.rs b/esp32p4/src/lp_sys/lp_core_dbus_timeout.rs index 4ceced6cb3..9c188a7f73 100644 --- a/esp32p4/src/lp_sys/lp_core_dbus_timeout.rs +++ b/esp32p4/src/lp_sys/lp_core_dbus_timeout.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - set this field to 1 to enable lp core dbus timeout handle"] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 0) } #[doc = "Bits 1:16 - This field used to set lp core dbus timeout threshold"] #[inline(always)] - #[must_use] pub fn thres(&mut self) -> THRES_W { THRES_W::new(self, 1) } diff --git a/esp32p4/src/lp_sys/lp_core_err_resp_dis.rs b/esp32p4/src/lp_sys/lp_core_err_resp_dis.rs index 7df0c8a2e8..7772656854 100644 --- a/esp32p4/src/lp_sys/lp_core_err_resp_dis.rs +++ b/esp32p4/src/lp_sys/lp_core_err_resp_dis.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - Set bit0 to disable ibus err resp;Set bit1 to disable dbus err resp; Set bit 2 to disable ahb err resp."] #[inline(always)] - #[must_use] pub fn lp_core_err_resp_dis(&mut self) -> LP_CORE_ERR_RESP_DIS_W { LP_CORE_ERR_RESP_DIS_W::new(self, 0) } diff --git a/esp32p4/src/lp_sys/lp_core_ibus_timeout.rs b/esp32p4/src/lp_sys/lp_core_ibus_timeout.rs index d40fa0f624..7689c97fee 100644 --- a/esp32p4/src/lp_sys/lp_core_ibus_timeout.rs +++ b/esp32p4/src/lp_sys/lp_core_ibus_timeout.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - set this field to 1 to enable lp core ibus timeout handle"] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 0) } #[doc = "Bits 1:16 - This field used to set lp core ibus timeout threshold"] #[inline(always)] - #[must_use] pub fn thres(&mut self) -> THRES_W { THRES_W::new(self, 1) } diff --git a/esp32p4/src/lp_sys/lp_mem_aux_ctrl.rs b/esp32p4/src/lp_sys/lp_mem_aux_ctrl.rs index 5a346950fc..c3ce1ec6b2 100644 --- a/esp32p4/src/lp_sys/lp_mem_aux_ctrl.rs +++ b/esp32p4/src/lp_sys/lp_mem_aux_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_mem_aux_ctrl(&mut self) -> LP_MEM_AUX_CTRL_W { LP_MEM_AUX_CTRL_W::new(self, 0) } diff --git a/esp32p4/src/lp_sys/lp_pmu_rdn_eco_high.rs b/esp32p4/src/lp_sys/lp_pmu_rdn_eco_high.rs index 9f05915b42..f746e1de2c 100644 --- a/esp32p4/src/lp_sys/lp_pmu_rdn_eco_high.rs +++ b/esp32p4/src/lp_sys/lp_pmu_rdn_eco_high.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn pmu_rdn_eco_high(&mut self) -> PMU_RDN_ECO_HIGH_W { PMU_RDN_ECO_HIGH_W::new(self, 0) } diff --git a/esp32p4/src/lp_sys/lp_pmu_rdn_eco_low.rs b/esp32p4/src/lp_sys/lp_pmu_rdn_eco_low.rs index a0529e17e9..244da2cc32 100644 --- a/esp32p4/src/lp_sys/lp_pmu_rdn_eco_low.rs +++ b/esp32p4/src/lp_sys/lp_pmu_rdn_eco_low.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn pmu_rdn_eco_low(&mut self) -> PMU_RDN_ECO_LOW_W { PMU_RDN_ECO_LOW_W::new(self, 0) } diff --git a/esp32p4/src/lp_sys/lp_probea_ctrl.rs b/esp32p4/src/lp_sys/lp_probea_ctrl.rs index 9fbead90bf..bb1ea495cb 100644 --- a/esp32p4/src/lp_sys/lp_probea_ctrl.rs +++ b/esp32p4/src/lp_sys/lp_probea_ctrl.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - need_des"] #[inline(always)] - #[must_use] pub fn probe_a_mod_sel(&mut self) -> PROBE_A_MOD_SEL_W { PROBE_A_MOD_SEL_W::new(self, 0) } #[doc = "Bits 16:23 - need_des"] #[inline(always)] - #[must_use] pub fn probe_a_top_sel(&mut self) -> PROBE_A_TOP_SEL_W { PROBE_A_TOP_SEL_W::new(self, 16) } #[doc = "Bits 24:25 - need_des"] #[inline(always)] - #[must_use] pub fn probe_l_sel(&mut self) -> PROBE_L_SEL_W { PROBE_L_SEL_W::new(self, 24) } #[doc = "Bits 26:27 - need_des"] #[inline(always)] - #[must_use] pub fn probe_h_sel(&mut self) -> PROBE_H_SEL_W { PROBE_H_SEL_W::new(self, 26) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn probe_global_en(&mut self) -> PROBE_GLOBAL_EN_W { PROBE_GLOBAL_EN_W::new(self, 28) } diff --git a/esp32p4/src/lp_sys/lp_probeb_ctrl.rs b/esp32p4/src/lp_sys/lp_probeb_ctrl.rs index fa8e0ac246..26f38c0da1 100644 --- a/esp32p4/src/lp_sys/lp_probeb_ctrl.rs +++ b/esp32p4/src/lp_sys/lp_probeb_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - need_des"] #[inline(always)] - #[must_use] pub fn probe_b_mod_sel(&mut self) -> PROBE_B_MOD_SEL_W { PROBE_B_MOD_SEL_W::new(self, 0) } #[doc = "Bits 16:23 - need_des"] #[inline(always)] - #[must_use] pub fn probe_b_top_sel(&mut self) -> PROBE_B_TOP_SEL_W { PROBE_B_TOP_SEL_W::new(self, 16) } #[doc = "Bit 24 - need_des"] #[inline(always)] - #[must_use] pub fn probe_b_en(&mut self) -> PROBE_B_EN_W { PROBE_B_EN_W::new(self, 24) } diff --git a/esp32p4/src/lp_sys/lp_rom_aux_ctrl.rs b/esp32p4/src/lp_sys/lp_rom_aux_ctrl.rs index 601c1542d7..1491609031 100644 --- a/esp32p4/src/lp_sys/lp_rom_aux_ctrl.rs +++ b/esp32p4/src/lp_sys/lp_rom_aux_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_rom_aux_ctrl(&mut self) -> LP_ROM_AUX_CTRL_W { LP_ROM_AUX_CTRL_W::new(self, 0) } diff --git a/esp32p4/src/lp_sys/lp_rst_ctrl.rs b/esp32p4/src/lp_sys/lp_rst_ctrl.rs index d43a9de415..c3d88002b8 100644 --- a/esp32p4/src/lp_sys/lp_rst_ctrl.rs +++ b/esp32p4/src/lp_sys/lp_rst_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - analog source reset bypass : wdt,brown out,super wdt,glitch"] #[inline(always)] - #[must_use] pub fn ana_rst_bypass(&mut self) -> ANA_RST_BYPASS_W { ANA_RST_BYPASS_W::new(self, 0) } #[doc = "Bit 1 - system source reset bypass : software reset,hp wdt,lp wdt,efuse"] #[inline(always)] - #[must_use] pub fn sys_rst_bypass(&mut self) -> SYS_RST_BYPASS_W { SYS_RST_BYPASS_W::new(self, 1) } #[doc = "Bit 2 - efuse force no reset control"] #[inline(always)] - #[must_use] pub fn efuse_force_norst(&mut self) -> EFUSE_FORCE_NORST_W { EFUSE_FORCE_NORST_W::new(self, 2) } diff --git a/esp32p4/src/lp_sys/lp_store0.rs b/esp32p4/src/lp_sys/lp_store0.rs index c7d9147d2d..616082311c 100644 --- a/esp32p4/src/lp_sys/lp_store0.rs +++ b/esp32p4/src/lp_sys/lp_store0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_scratch0(&mut self) -> LP_SCRATCH0_W { LP_SCRATCH0_W::new(self, 0) } diff --git a/esp32p4/src/lp_sys/lp_store1.rs b/esp32p4/src/lp_sys/lp_store1.rs index bc7a643038..f6016afaf4 100644 --- a/esp32p4/src/lp_sys/lp_store1.rs +++ b/esp32p4/src/lp_sys/lp_store1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_scratch1(&mut self) -> LP_SCRATCH1_W { LP_SCRATCH1_W::new(self, 0) } diff --git a/esp32p4/src/lp_sys/lp_store10.rs b/esp32p4/src/lp_sys/lp_store10.rs index a2dcc74994..8fc15f5cd7 100644 --- a/esp32p4/src/lp_sys/lp_store10.rs +++ b/esp32p4/src/lp_sys/lp_store10.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_scratch10(&mut self) -> LP_SCRATCH10_W { LP_SCRATCH10_W::new(self, 0) } diff --git a/esp32p4/src/lp_sys/lp_store11.rs b/esp32p4/src/lp_sys/lp_store11.rs index 9630fd9d9b..bc41dbacda 100644 --- a/esp32p4/src/lp_sys/lp_store11.rs +++ b/esp32p4/src/lp_sys/lp_store11.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_scratch11(&mut self) -> LP_SCRATCH11_W { LP_SCRATCH11_W::new(self, 0) } diff --git a/esp32p4/src/lp_sys/lp_store12.rs b/esp32p4/src/lp_sys/lp_store12.rs index 73f68d229c..3113afca15 100644 --- a/esp32p4/src/lp_sys/lp_store12.rs +++ b/esp32p4/src/lp_sys/lp_store12.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_scratch12(&mut self) -> LP_SCRATCH12_W { LP_SCRATCH12_W::new(self, 0) } diff --git a/esp32p4/src/lp_sys/lp_store13.rs b/esp32p4/src/lp_sys/lp_store13.rs index 0ad4e49c5f..80538feab3 100644 --- a/esp32p4/src/lp_sys/lp_store13.rs +++ b/esp32p4/src/lp_sys/lp_store13.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_scratch13(&mut self) -> LP_SCRATCH13_W { LP_SCRATCH13_W::new(self, 0) } diff --git a/esp32p4/src/lp_sys/lp_store14.rs b/esp32p4/src/lp_sys/lp_store14.rs index 53fece4c13..f13d5bc271 100644 --- a/esp32p4/src/lp_sys/lp_store14.rs +++ b/esp32p4/src/lp_sys/lp_store14.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_scratch14(&mut self) -> LP_SCRATCH14_W { LP_SCRATCH14_W::new(self, 0) } diff --git a/esp32p4/src/lp_sys/lp_store15.rs b/esp32p4/src/lp_sys/lp_store15.rs index d6ca7522bc..f6480ede4c 100644 --- a/esp32p4/src/lp_sys/lp_store15.rs +++ b/esp32p4/src/lp_sys/lp_store15.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_scratch15(&mut self) -> LP_SCRATCH15_W { LP_SCRATCH15_W::new(self, 0) } diff --git a/esp32p4/src/lp_sys/lp_store2.rs b/esp32p4/src/lp_sys/lp_store2.rs index bcafaac7fc..5e7501b3fc 100644 --- a/esp32p4/src/lp_sys/lp_store2.rs +++ b/esp32p4/src/lp_sys/lp_store2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_scratch2(&mut self) -> LP_SCRATCH2_W { LP_SCRATCH2_W::new(self, 0) } diff --git a/esp32p4/src/lp_sys/lp_store3.rs b/esp32p4/src/lp_sys/lp_store3.rs index 8919fb28f5..0a7c699d5e 100644 --- a/esp32p4/src/lp_sys/lp_store3.rs +++ b/esp32p4/src/lp_sys/lp_store3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_scratch3(&mut self) -> LP_SCRATCH3_W { LP_SCRATCH3_W::new(self, 0) } diff --git a/esp32p4/src/lp_sys/lp_store4.rs b/esp32p4/src/lp_sys/lp_store4.rs index 60dc14ee33..64a590465a 100644 --- a/esp32p4/src/lp_sys/lp_store4.rs +++ b/esp32p4/src/lp_sys/lp_store4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_scratch4(&mut self) -> LP_SCRATCH4_W { LP_SCRATCH4_W::new(self, 0) } diff --git a/esp32p4/src/lp_sys/lp_store5.rs b/esp32p4/src/lp_sys/lp_store5.rs index e46fb1b371..a4546caeb3 100644 --- a/esp32p4/src/lp_sys/lp_store5.rs +++ b/esp32p4/src/lp_sys/lp_store5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_scratch5(&mut self) -> LP_SCRATCH5_W { LP_SCRATCH5_W::new(self, 0) } diff --git a/esp32p4/src/lp_sys/lp_store6.rs b/esp32p4/src/lp_sys/lp_store6.rs index d7207ff387..cd26172034 100644 --- a/esp32p4/src/lp_sys/lp_store6.rs +++ b/esp32p4/src/lp_sys/lp_store6.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_scratch6(&mut self) -> LP_SCRATCH6_W { LP_SCRATCH6_W::new(self, 0) } diff --git a/esp32p4/src/lp_sys/lp_store7.rs b/esp32p4/src/lp_sys/lp_store7.rs index 24d83ed8bc..3702630181 100644 --- a/esp32p4/src/lp_sys/lp_store7.rs +++ b/esp32p4/src/lp_sys/lp_store7.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_scratch7(&mut self) -> LP_SCRATCH7_W { LP_SCRATCH7_W::new(self, 0) } diff --git a/esp32p4/src/lp_sys/lp_store8.rs b/esp32p4/src/lp_sys/lp_store8.rs index f8d17d0d5f..5cf5cd98c0 100644 --- a/esp32p4/src/lp_sys/lp_store8.rs +++ b/esp32p4/src/lp_sys/lp_store8.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_scratch8(&mut self) -> LP_SCRATCH8_W { LP_SCRATCH8_W::new(self, 0) } diff --git a/esp32p4/src/lp_sys/lp_store9.rs b/esp32p4/src/lp_sys/lp_store9.rs index effe22c266..4bd56953a3 100644 --- a/esp32p4/src/lp_sys/lp_store9.rs +++ b/esp32p4/src/lp_sys/lp_store9.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_scratch9(&mut self) -> LP_SCRATCH9_W { LP_SCRATCH9_W::new(self, 0) } diff --git a/esp32p4/src/lp_sys/lp_sys_ver_date.rs b/esp32p4/src/lp_sys/lp_sys_ver_date.rs index a6cebf31ff..30a97cbeec 100644 --- a/esp32p4/src/lp_sys/lp_sys_ver_date.rs +++ b/esp32p4/src/lp_sys/lp_sys_ver_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn ver_date(&mut self) -> VER_DATE_W { VER_DATE_W::new(self, 0) } diff --git a/esp32p4/src/lp_sys/lp_tcm_pwr_ctrl.rs b/esp32p4/src/lp_sys/lp_tcm_pwr_ctrl.rs index 8d34fe59f7..e2c80cec69 100644 --- a/esp32p4/src/lp_sys/lp_tcm_pwr_ctrl.rs +++ b/esp32p4/src/lp_sys/lp_tcm_pwr_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 5 - need_des"] #[inline(always)] - #[must_use] pub fn lp_tcm_rom_clk_force_on(&mut self) -> LP_TCM_ROM_CLK_FORCE_ON_W { LP_TCM_ROM_CLK_FORCE_ON_W::new(self, 5) } #[doc = "Bit 7 - need_des"] #[inline(always)] - #[must_use] pub fn lp_tcm_ram_clk_force_on(&mut self) -> LP_TCM_RAM_CLK_FORCE_ON_W { LP_TCM_RAM_CLK_FORCE_ON_W::new(self, 7) } diff --git a/esp32p4/src/lp_sys/lp_tcm_ram_rdn_eco_cs.rs b/esp32p4/src/lp_sys/lp_tcm_ram_rdn_eco_cs.rs index a53690f4a8..5e91bf2588 100644 --- a/esp32p4/src/lp_sys/lp_tcm_ram_rdn_eco_cs.rs +++ b/esp32p4/src/lp_sys/lp_tcm_ram_rdn_eco_cs.rs @@ -35,7 +35,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn lp_tcm_ram_rdn_eco_en(&mut self) -> LP_TCM_RAM_RDN_ECO_EN_W { LP_TCM_RAM_RDN_ECO_EN_W::new(self, 0) } diff --git a/esp32p4/src/lp_sys/lp_tcm_ram_rdn_eco_high.rs b/esp32p4/src/lp_sys/lp_tcm_ram_rdn_eco_high.rs index cc422bfac9..91495349a0 100644 --- a/esp32p4/src/lp_sys/lp_tcm_ram_rdn_eco_high.rs +++ b/esp32p4/src/lp_sys/lp_tcm_ram_rdn_eco_high.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_tcm_ram_rdn_eco_high( &mut self, ) -> LP_TCM_RAM_RDN_ECO_HIGH_W { diff --git a/esp32p4/src/lp_sys/lp_tcm_ram_rdn_eco_low.rs b/esp32p4/src/lp_sys/lp_tcm_ram_rdn_eco_low.rs index 7287eba99e..627022c717 100644 --- a/esp32p4/src/lp_sys/lp_tcm_ram_rdn_eco_low.rs +++ b/esp32p4/src/lp_sys/lp_tcm_ram_rdn_eco_low.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_tcm_ram_rdn_eco_low( &mut self, ) -> LP_TCM_RAM_RDN_ECO_LOW_W { diff --git a/esp32p4/src/lp_sys/lp_tcm_rom_rdn_eco_cs.rs b/esp32p4/src/lp_sys/lp_tcm_rom_rdn_eco_cs.rs index 245f19492c..72e3a04e8a 100644 --- a/esp32p4/src/lp_sys/lp_tcm_rom_rdn_eco_cs.rs +++ b/esp32p4/src/lp_sys/lp_tcm_rom_rdn_eco_cs.rs @@ -35,7 +35,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn lp_tcm_rom_rdn_eco_en(&mut self) -> LP_TCM_ROM_RDN_ECO_EN_W { LP_TCM_ROM_RDN_ECO_EN_W::new(self, 0) } diff --git a/esp32p4/src/lp_sys/lp_tcm_rom_rdn_eco_high.rs b/esp32p4/src/lp_sys/lp_tcm_rom_rdn_eco_high.rs index 17c613baf6..91660e31c1 100644 --- a/esp32p4/src/lp_sys/lp_tcm_rom_rdn_eco_high.rs +++ b/esp32p4/src/lp_sys/lp_tcm_rom_rdn_eco_high.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_tcm_rom_rdn_eco_high( &mut self, ) -> LP_TCM_ROM_RDN_ECO_HIGH_W { diff --git a/esp32p4/src/lp_sys/lp_tcm_rom_rdn_eco_low.rs b/esp32p4/src/lp_sys/lp_tcm_rom_rdn_eco_low.rs index ce1f7defb1..cd5c88c523 100644 --- a/esp32p4/src/lp_sys/lp_tcm_rom_rdn_eco_low.rs +++ b/esp32p4/src/lp_sys/lp_tcm_rom_rdn_eco_low.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_tcm_rom_rdn_eco_low( &mut self, ) -> LP_TCM_ROM_RDN_ECO_LOW_W { diff --git a/esp32p4/src/lp_sys/pad_comp0.rs b/esp32p4/src/lp_sys/pad_comp0.rs index 087a474b08..d9e159b1b6 100644 --- a/esp32p4/src/lp_sys/pad_comp0.rs +++ b/esp32p4/src/lp_sys/pad_comp0.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - pad comp dref"] #[inline(always)] - #[must_use] pub fn dref_comp0(&mut self) -> DREF_COMP0_W { DREF_COMP0_W::new(self, 0) } #[doc = "Bit 3 - pad comp mode"] #[inline(always)] - #[must_use] pub fn mode_comp0(&mut self) -> MODE_COMP0_W { MODE_COMP0_W::new(self, 3) } #[doc = "Bit 4 - pad comp xpd"] #[inline(always)] - #[must_use] pub fn xpd_comp0(&mut self) -> XPD_COMP0_W { XPD_COMP0_W::new(self, 4) } diff --git a/esp32p4/src/lp_sys/pad_comp1.rs b/esp32p4/src/lp_sys/pad_comp1.rs index fb2120072d..46c7751745 100644 --- a/esp32p4/src/lp_sys/pad_comp1.rs +++ b/esp32p4/src/lp_sys/pad_comp1.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - pad comp dref"] #[inline(always)] - #[must_use] pub fn dref_comp1(&mut self) -> DREF_COMP1_W { DREF_COMP1_W::new(self, 0) } #[doc = "Bit 3 - pad comp mode"] #[inline(always)] - #[must_use] pub fn mode_comp1(&mut self) -> MODE_COMP1_W { MODE_COMP1_W::new(self, 3) } #[doc = "Bit 4 - pad comp xpd"] #[inline(always)] - #[must_use] pub fn xpd_comp1(&mut self) -> XPD_COMP1_W { XPD_COMP1_W::new(self, 4) } diff --git a/esp32p4/src/lp_sys/rng_cfg.rs b/esp32p4/src/lp_sys/rng_cfg.rs index 3f7e5fcca5..180c54c05a 100644 --- a/esp32p4/src/lp_sys/rng_cfg.rs +++ b/esp32p4/src/lp_sys/rng_cfg.rs @@ -52,19 +52,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - enable rng timer"] #[inline(always)] - #[must_use] pub fn rng_timer_en(&mut self) -> RNG_TIMER_EN_W { RNG_TIMER_EN_W::new(self, 0) } #[doc = "Bits 1:8 - configure ng timer pscale"] #[inline(always)] - #[must_use] pub fn rng_timer_pscale(&mut self) -> RNG_TIMER_PSCALE_W { RNG_TIMER_PSCALE_W::new(self, 1) } #[doc = "Bit 9 - enable rng_saradc"] #[inline(always)] - #[must_use] pub fn rng_sar_enable(&mut self) -> RNG_SAR_ENABLE_W { RNG_SAR_ENABLE_W::new(self, 9) } diff --git a/esp32p4/src/lp_sys/sys_ctrl.rs b/esp32p4/src/lp_sys/sys_ctrl.rs index 8f72515dd9..3a7b4cf651 100644 --- a/esp32p4/src/lp_sys/sys_ctrl.rs +++ b/esp32p4/src/lp_sys/sys_ctrl.rs @@ -96,55 +96,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - lp cpu disable"] #[inline(always)] - #[must_use] pub fn lp_core_disable(&mut self) -> LP_CORE_DISABLE_W { LP_CORE_DISABLE_W::new(self, 0) } #[doc = "Bit 1 - digital system software reset bit"] #[inline(always)] - #[must_use] pub fn sys_sw_rst(&mut self) -> SYS_SW_RST_W { SYS_SW_RST_W::new(self, 1) } #[doc = "Bit 2 - need_des"] #[inline(always)] - #[must_use] pub fn force_download_boot(&mut self) -> FORCE_DOWNLOAD_BOOT_W { FORCE_DOWNLOAD_BOOT_W::new(self, 2) } #[doc = "Bits 3:10 - need_des"] #[inline(always)] - #[must_use] pub fn dig_fib(&mut self) -> DIG_FIB_W { DIG_FIB_W::new(self, 3) } #[doc = "Bit 11 - reset disable bit for LP IOMUX"] #[inline(always)] - #[must_use] pub fn io_mux_reset_disable(&mut self) -> IO_MUX_RESET_DISABLE_W { IO_MUX_RESET_DISABLE_W::new(self, 11) } #[doc = "Bits 21:28 - need_des"] #[inline(always)] - #[must_use] pub fn lp_fib_sel(&mut self) -> LP_FIB_SEL_W { LP_FIB_SEL_W::new(self, 21) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn lp_core_etm_wakeup_flag_clr(&mut self) -> LP_CORE_ETM_WAKEUP_FLAG_CLR_W { LP_CORE_ETM_WAKEUP_FLAG_CLR_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_core_etm_wakeup_flag(&mut self) -> LP_CORE_ETM_WAKEUP_FLAG_W { LP_CORE_ETM_WAKEUP_FLAG_W::new(self, 30) } #[doc = "Bit 31 - 0: use systimer_stall signal from hp_core0, 1: use systimer_stall signal from hp_core1"] #[inline(always)] - #[must_use] pub fn systimer_stall_sel(&mut self) -> SYSTIMER_STALL_SEL_W { SYSTIMER_STALL_SEL_W::new(self, 31) } diff --git a/esp32p4/src/lp_sys/usb_ctrl.rs b/esp32p4/src/lp_sys/usb_ctrl.rs index c51071081a..2640d5debd 100644 --- a/esp32p4/src/lp_sys/usb_ctrl.rs +++ b/esp32p4/src/lp_sys/usb_ctrl.rs @@ -46,25 +46,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn sw_hw_usb_phy_sel(&mut self) -> SW_HW_USB_PHY_SEL_W { SW_HW_USB_PHY_SEL_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn sw_usb_phy_sel(&mut self) -> SW_USB_PHY_SEL_W { SW_USB_PHY_SEL_W::new(self, 1) } #[doc = "Bit 2 - clear usb wakeup to PMU."] #[inline(always)] - #[must_use] pub fn usbotg20_wakeup_clr(&mut self) -> USBOTG20_WAKEUP_CLR_W { USBOTG20_WAKEUP_CLR_W::new(self, 2) } #[doc = "Bit 3 - indicate usb otg2.0 is in suspend state."] #[inline(always)] - #[must_use] pub fn usbotg20_in_suspend(&mut self) -> USBOTG20_IN_SUSPEND_W { USBOTG20_IN_SUSPEND_W::new(self, 3) } diff --git a/esp32p4/src/lp_timer/date.rs b/esp32p4/src/lp_timer/date.rs index 35fd3ed2bf..c93f4ff77a 100644 --- a/esp32p4/src/lp_timer/date.rs +++ b/esp32p4/src/lp_timer/date.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - need_des"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32p4/src/lp_timer/int_clr.rs b/esp32p4/src/lp_timer/int_clr.rs index 8b8ef14cac..bd1f6dde93 100644 --- a/esp32p4/src/lp_timer/int_clr.rs +++ b/esp32p4/src/lp_timer/int_clr.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn overflow(&mut self) -> OVERFLOW_W { OVERFLOW_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn soc_wakeup(&mut self) -> SOC_WAKEUP_W { SOC_WAKEUP_W::new(self, 31) } diff --git a/esp32p4/src/lp_timer/int_ena.rs b/esp32p4/src/lp_timer/int_ena.rs index b79edd4010..2749e28086 100644 --- a/esp32p4/src/lp_timer/int_ena.rs +++ b/esp32p4/src/lp_timer/int_ena.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn overflow(&mut self) -> OVERFLOW_W { OVERFLOW_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn soc_wakeup(&mut self) -> SOC_WAKEUP_W { SOC_WAKEUP_W::new(self, 31) } diff --git a/esp32p4/src/lp_timer/int_raw.rs b/esp32p4/src/lp_timer/int_raw.rs index a64ceb0d90..a9d26874dc 100644 --- a/esp32p4/src/lp_timer/int_raw.rs +++ b/esp32p4/src/lp_timer/int_raw.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn overflow(&mut self) -> OVERFLOW_W { OVERFLOW_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn soc_wakeup(&mut self) -> SOC_WAKEUP_W { SOC_WAKEUP_W::new(self, 31) } diff --git a/esp32p4/src/lp_timer/lp_int_clr.rs b/esp32p4/src/lp_timer/lp_int_clr.rs index 80f7949cb6..67b3bb4fb9 100644 --- a/esp32p4/src/lp_timer/lp_int_clr.rs +++ b/esp32p4/src/lp_timer/lp_int_clr.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_overflow(&mut self) -> MAIN_TIMER_OVERFLOW_W { MAIN_TIMER_OVERFLOW_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer(&mut self) -> MAIN_TIMER_W { MAIN_TIMER_W::new(self, 31) } diff --git a/esp32p4/src/lp_timer/lp_int_ena.rs b/esp32p4/src/lp_timer/lp_int_ena.rs index 514015a432..ec253e0ca7 100644 --- a/esp32p4/src/lp_timer/lp_int_ena.rs +++ b/esp32p4/src/lp_timer/lp_int_ena.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_overflow(&mut self) -> MAIN_TIMER_OVERFLOW_W { MAIN_TIMER_OVERFLOW_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer(&mut self) -> MAIN_TIMER_W { MAIN_TIMER_W::new(self, 31) } diff --git a/esp32p4/src/lp_timer/lp_int_raw.rs b/esp32p4/src/lp_timer/lp_int_raw.rs index 135f2f1dec..902617af18 100644 --- a/esp32p4/src/lp_timer/lp_int_raw.rs +++ b/esp32p4/src/lp_timer/lp_int_raw.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_overflow(&mut self) -> MAIN_TIMER_OVERFLOW_W { MAIN_TIMER_OVERFLOW_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer(&mut self) -> MAIN_TIMER_W { MAIN_TIMER_W::new(self, 31) } diff --git a/esp32p4/src/lp_timer/main_overflow.rs b/esp32p4/src/lp_timer/main_overflow.rs index 80743012dc..1ed21c16d1 100644 --- a/esp32p4/src/lp_timer/main_overflow.rs +++ b/esp32p4/src/lp_timer/main_overflow.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_alarm_load(&mut self) -> MAIN_TIMER_ALARM_LOAD_W { MAIN_TIMER_ALARM_LOAD_W::new(self, 31) } diff --git a/esp32p4/src/lp_timer/tar0_high.rs b/esp32p4/src/lp_timer/tar0_high.rs index c8a67c7e6e..1abc8bc13b 100644 --- a/esp32p4/src/lp_timer/tar0_high.rs +++ b/esp32p4/src/lp_timer/tar0_high.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_tar_high0(&mut self) -> MAIN_TIMER_TAR_HIGH0_W { MAIN_TIMER_TAR_HIGH0_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_tar_en0(&mut self) -> MAIN_TIMER_TAR_EN0_W { MAIN_TIMER_TAR_EN0_W::new(self, 31) } diff --git a/esp32p4/src/lp_timer/tar0_low.rs b/esp32p4/src/lp_timer/tar0_low.rs index 2b8de9d157..0f87653d28 100644 --- a/esp32p4/src/lp_timer/tar0_low.rs +++ b/esp32p4/src/lp_timer/tar0_low.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_tar_low0(&mut self) -> MAIN_TIMER_TAR_LOW0_W { MAIN_TIMER_TAR_LOW0_W::new(self, 0) } diff --git a/esp32p4/src/lp_timer/tar1_high.rs b/esp32p4/src/lp_timer/tar1_high.rs index 769e72a5e1..c602790138 100644 --- a/esp32p4/src/lp_timer/tar1_high.rs +++ b/esp32p4/src/lp_timer/tar1_high.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_tar_high1(&mut self) -> MAIN_TIMER_TAR_HIGH1_W { MAIN_TIMER_TAR_HIGH1_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_tar_en1(&mut self) -> MAIN_TIMER_TAR_EN1_W { MAIN_TIMER_TAR_EN1_W::new(self, 31) } diff --git a/esp32p4/src/lp_timer/tar1_low.rs b/esp32p4/src/lp_timer/tar1_low.rs index acc4ad9993..569245d574 100644 --- a/esp32p4/src/lp_timer/tar1_low.rs +++ b/esp32p4/src/lp_timer/tar1_low.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_tar_low1(&mut self) -> MAIN_TIMER_TAR_LOW1_W { MAIN_TIMER_TAR_LOW1_W::new(self, 0) } diff --git a/esp32p4/src/lp_timer/update.rs b/esp32p4/src/lp_timer/update.rs index 5fa60716d1..4ae4ebc4d9 100644 --- a/esp32p4/src/lp_timer/update.rs +++ b/esp32p4/src/lp_timer/update.rs @@ -46,25 +46,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_update(&mut self) -> MAIN_TIMER_UPDATE_W { MAIN_TIMER_UPDATE_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_xtal_off(&mut self) -> MAIN_TIMER_XTAL_OFF_W { MAIN_TIMER_XTAL_OFF_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_sys_stall(&mut self) -> MAIN_TIMER_SYS_STALL_W { MAIN_TIMER_SYS_STALL_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn main_timer_sys_rst(&mut self) -> MAIN_TIMER_SYS_RST_W { MAIN_TIMER_SYS_RST_W::new(self, 31) } diff --git a/esp32p4/src/lp_touch/date.rs b/esp32p4/src/lp_touch/date.rs index e14781e880..af9d839d9b 100644 --- a/esp32p4/src/lp_touch/date.rs +++ b/esp32p4/src/lp_touch/date.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - need_des"] #[inline(always)] - #[must_use] pub fn rtc_date(&mut self) -> RTC_DATE_W { RTC_DATE_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn rtc_clk_en(&mut self) -> RTC_CLK_EN_W { RTC_CLK_EN_W::new(self, 31) } diff --git a/esp32p4/src/lp_touch/int_clr.rs b/esp32p4/src/lp_touch/int_clr.rs index f71b4143ff..aa2cae79e6 100644 --- a/esp32p4/src/lp_touch/int_clr.rs +++ b/esp32p4/src/lp_touch/int_clr.rs @@ -21,37 +21,31 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn scan_done(&mut self) -> SCAN_DONE_W { SCAN_DONE_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn done(&mut self) -> DONE_W { DONE_W::new(self, 1) } #[doc = "Bit 2 - need_des"] #[inline(always)] - #[must_use] pub fn active(&mut self) -> ACTIVE_W { ACTIVE_W::new(self, 2) } #[doc = "Bit 3 - need_des"] #[inline(always)] - #[must_use] pub fn inactive(&mut self) -> INACTIVE_W { INACTIVE_W::new(self, 3) } #[doc = "Bit 4 - need_des"] #[inline(always)] - #[must_use] pub fn timeout(&mut self) -> TIMEOUT_W { TIMEOUT_W::new(self, 4) } #[doc = "Bit 5 - need_des"] #[inline(always)] - #[must_use] pub fn approach_loop_done(&mut self) -> APPROACH_LOOP_DONE_W { APPROACH_LOOP_DONE_W::new(self, 5) } diff --git a/esp32p4/src/lp_touch/int_ena.rs b/esp32p4/src/lp_touch/int_ena.rs index ff2c689e08..88b0a978aa 100644 --- a/esp32p4/src/lp_touch/int_ena.rs +++ b/esp32p4/src/lp_touch/int_ena.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn scan_done(&mut self) -> SCAN_DONE_W { SCAN_DONE_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn done(&mut self) -> DONE_W { DONE_W::new(self, 1) } #[doc = "Bit 2 - need_des"] #[inline(always)] - #[must_use] pub fn active(&mut self) -> ACTIVE_W { ACTIVE_W::new(self, 2) } #[doc = "Bit 3 - need_des"] #[inline(always)] - #[must_use] pub fn inactive(&mut self) -> INACTIVE_W { INACTIVE_W::new(self, 3) } #[doc = "Bit 4 - need_des"] #[inline(always)] - #[must_use] pub fn timeout(&mut self) -> TIMEOUT_W { TIMEOUT_W::new(self, 4) } #[doc = "Bit 5 - need_des"] #[inline(always)] - #[must_use] pub fn approach_loop_done(&mut self) -> APPROACH_LOOP_DONE_W { APPROACH_LOOP_DONE_W::new(self, 5) } diff --git a/esp32p4/src/lp_touch/int_raw.rs b/esp32p4/src/lp_touch/int_raw.rs index 481bc133e7..028c030a24 100644 --- a/esp32p4/src/lp_touch/int_raw.rs +++ b/esp32p4/src/lp_touch/int_raw.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn scan_done(&mut self) -> SCAN_DONE_W { SCAN_DONE_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn done(&mut self) -> DONE_W { DONE_W::new(self, 1) } #[doc = "Bit 2 - need_des"] #[inline(always)] - #[must_use] pub fn active(&mut self) -> ACTIVE_W { ACTIVE_W::new(self, 2) } #[doc = "Bit 3 - need_des"] #[inline(always)] - #[must_use] pub fn inactive(&mut self) -> INACTIVE_W { INACTIVE_W::new(self, 3) } #[doc = "Bit 4 - need_des"] #[inline(always)] - #[must_use] pub fn timeout(&mut self) -> TIMEOUT_W { TIMEOUT_W::new(self, 4) } #[doc = "Bit 5 - need_des"] #[inline(always)] - #[must_use] pub fn approach_loop_done(&mut self) -> APPROACH_LOOP_DONE_W { APPROACH_LOOP_DONE_W::new(self, 5) } diff --git a/esp32p4/src/lp_tsens/clk_conf.rs b/esp32p4/src/lp_tsens/clk_conf.rs index 139e3bc1e8..816d5477dc 100644 --- a/esp32p4/src/lp_tsens/clk_conf.rs +++ b/esp32p4/src/lp_tsens/clk_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Tsens regbank clock gating enable."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32p4/src/lp_tsens/ctrl.rs b/esp32p4/src/lp_tsens/ctrl.rs index a494886039..74ea194bc2 100644 --- a/esp32p4/src/lp_tsens/ctrl.rs +++ b/esp32p4/src/lp_tsens/ctrl.rs @@ -30,9 +30,9 @@ pub type CLK_DIV_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; pub type POWER_UP_R = crate::BitReader; #[doc = "Field `POWER_UP` writer - Temperature sensor power up."] pub type POWER_UP_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `POWER_UP_FORCE` reader - 1: dump out & power up controlled by SW, 0: by FSM."] +#[doc = "Field `POWER_UP_FORCE` reader - 1: dump out & power up controlled by SW, 0: by FSM."] pub type POWER_UP_FORCE_R = crate::BitReader; -#[doc = "Field `POWER_UP_FORCE` writer - 1: dump out & power up controlled by SW, 0: by FSM."] +#[doc = "Field `POWER_UP_FORCE` writer - 1: dump out & power up controlled by SW, 0: by FSM."] pub type POWER_UP_FORCE_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { #[doc = "Bits 0:7 - Temperature sensor data out."] @@ -75,7 +75,7 @@ impl R { pub fn power_up(&self) -> POWER_UP_R { POWER_UP_R::new(((self.bits >> 22) & 1) != 0) } - #[doc = "Bit 23 - 1: dump out & power up controlled by SW, 0: by FSM."] + #[doc = "Bit 23 - 1: dump out & power up controlled by SW, 0: by FSM."] #[inline(always)] pub fn power_up_force(&self) -> POWER_UP_FORCE_R { POWER_UP_FORCE_R::new(((self.bits >> 23) & 1) != 0) @@ -100,43 +100,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 9 - Enable sample signal for wakeup module."] #[inline(always)] - #[must_use] pub fn sample_en(&mut self) -> SAMPLE_EN_W { SAMPLE_EN_W::new(self, 9) } #[doc = "Bit 10 - Wake up signal mask."] #[inline(always)] - #[must_use] pub fn wakeup_mask(&mut self) -> WAKEUP_MASK_W { WAKEUP_MASK_W::new(self, 10) } #[doc = "Bit 12 - Enable temperature sensor to send out interrupt."] #[inline(always)] - #[must_use] pub fn int_en(&mut self) -> INT_EN_W { INT_EN_W::new(self, 12) } #[doc = "Bit 13 - Invert temperature sensor data."] #[inline(always)] - #[must_use] pub fn in_inv(&mut self) -> IN_INV_W { IN_INV_W::new(self, 13) } #[doc = "Bits 14:21 - Temperature sensor clock divider."] #[inline(always)] - #[must_use] pub fn clk_div(&mut self) -> CLK_DIV_W { CLK_DIV_W::new(self, 14) } #[doc = "Bit 22 - Temperature sensor power up."] #[inline(always)] - #[must_use] pub fn power_up(&mut self) -> POWER_UP_W { POWER_UP_W::new(self, 22) } - #[doc = "Bit 23 - 1: dump out & power up controlled by SW, 0: by FSM."] + #[doc = "Bit 23 - 1: dump out & power up controlled by SW, 0: by FSM."] #[inline(always)] - #[must_use] pub fn power_up_force(&mut self) -> POWER_UP_FORCE_W { POWER_UP_FORCE_W::new(self, 23) } diff --git a/esp32p4/src/lp_tsens/ctrl2.rs b/esp32p4/src/lp_tsens/ctrl2.rs index a8bc7a978a..b6e5995edc 100644 --- a/esp32p4/src/lp_tsens/ctrl2.rs +++ b/esp32p4/src/lp_tsens/ctrl2.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - N/A"] #[inline(always)] - #[must_use] pub fn xpd_wait(&mut self) -> XPD_WAIT_W { XPD_WAIT_W::new(self, 0) } #[doc = "Bits 12:13 - N/A"] #[inline(always)] - #[must_use] pub fn xpd_force(&mut self) -> XPD_FORCE_W { XPD_FORCE_W::new(self, 12) } #[doc = "Bit 14 - N/A"] #[inline(always)] - #[must_use] pub fn clk_inv(&mut self) -> CLK_INV_W { CLK_INV_W::new(self, 14) } diff --git a/esp32p4/src/lp_tsens/int_clr.rs b/esp32p4/src/lp_tsens/int_clr.rs index 4a3dd33b64..bcb57abade 100644 --- a/esp32p4/src/lp_tsens/int_clr.rs +++ b/esp32p4/src/lp_tsens/int_clr.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Tsens wakeup interrupt clear."] #[inline(always)] - #[must_use] pub fn cocpu_tsens_wake(&mut self) -> COCPU_TSENS_WAKE_W { COCPU_TSENS_WAKE_W::new(self, 0) } diff --git a/esp32p4/src/lp_tsens/int_ena.rs b/esp32p4/src/lp_tsens/int_ena.rs index 5df3f159e1..a2aa9a1130 100644 --- a/esp32p4/src/lp_tsens/int_ena.rs +++ b/esp32p4/src/lp_tsens/int_ena.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Tsens wakeup interrupt enable."] #[inline(always)] - #[must_use] pub fn cocpu_tsens_wake(&mut self) -> COCPU_TSENS_WAKE_W { COCPU_TSENS_WAKE_W::new(self, 0) } diff --git a/esp32p4/src/lp_tsens/int_ena_w1tc.rs b/esp32p4/src/lp_tsens/int_ena_w1tc.rs index be1e4d5cfb..b12488bcf4 100644 --- a/esp32p4/src/lp_tsens/int_ena_w1tc.rs +++ b/esp32p4/src/lp_tsens/int_ena_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to this field to deassert interrupt enable."] #[inline(always)] - #[must_use] pub fn cocpu_tsens_wake_int_ena_w1tc( &mut self, ) -> COCPU_TSENS_WAKE_INT_ENA_W1TC_W { diff --git a/esp32p4/src/lp_tsens/int_ena_w1ts.rs b/esp32p4/src/lp_tsens/int_ena_w1ts.rs index 85fb06d566..f4764ade20 100644 --- a/esp32p4/src/lp_tsens/int_ena_w1ts.rs +++ b/esp32p4/src/lp_tsens/int_ena_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to this field to assert interrupt enable."] #[inline(always)] - #[must_use] pub fn cocpu_tsens_wake_int_ena_w1ts( &mut self, ) -> COCPU_TSENS_WAKE_INT_ENA_W1TS_W { diff --git a/esp32p4/src/lp_tsens/int_raw.rs b/esp32p4/src/lp_tsens/int_raw.rs index 8e2ef6aab9..27cda858ed 100644 --- a/esp32p4/src/lp_tsens/int_raw.rs +++ b/esp32p4/src/lp_tsens/int_raw.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Tsens wakeup interrupt raw."] #[inline(always)] - #[must_use] pub fn cocpu_tsens_wake(&mut self) -> COCPU_TSENS_WAKE_W { COCPU_TSENS_WAKE_W::new(self, 0) } diff --git a/esp32p4/src/lp_tsens/rnd_eco_cs.rs b/esp32p4/src/lp_tsens/rnd_eco_cs.rs index ac5b73553d..8941b540a4 100644 --- a/esp32p4/src/lp_tsens/rnd_eco_cs.rs +++ b/esp32p4/src/lp_tsens/rnd_eco_cs.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - N/A"] #[inline(always)] - #[must_use] pub fn rnd_eco_en(&mut self) -> RND_ECO_EN_W { RND_ECO_EN_W::new(self, 0) } diff --git a/esp32p4/src/lp_tsens/rnd_eco_high.rs b/esp32p4/src/lp_tsens/rnd_eco_high.rs index e2ff953eda..38ff77e9b8 100644 --- a/esp32p4/src/lp_tsens/rnd_eco_high.rs +++ b/esp32p4/src/lp_tsens/rnd_eco_high.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - N/A"] #[inline(always)] - #[must_use] pub fn rnd_eco_high(&mut self) -> RND_ECO_HIGH_W { RND_ECO_HIGH_W::new(self, 0) } diff --git a/esp32p4/src/lp_tsens/rnd_eco_low.rs b/esp32p4/src/lp_tsens/rnd_eco_low.rs index 97473be3a1..a5bdaa2960 100644 --- a/esp32p4/src/lp_tsens/rnd_eco_low.rs +++ b/esp32p4/src/lp_tsens/rnd_eco_low.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - N/A"] #[inline(always)] - #[must_use] pub fn rnd_eco_low(&mut self) -> RND_ECO_LOW_W { RND_ECO_LOW_W::new(self, 0) } diff --git a/esp32p4/src/lp_tsens/sample_rate.rs b/esp32p4/src/lp_tsens/sample_rate.rs index c648931e90..0f6339fa76 100644 --- a/esp32p4/src/lp_tsens/sample_rate.rs +++ b/esp32p4/src/lp_tsens/sample_rate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Hardware automatic sampling rate."] #[inline(always)] - #[must_use] pub fn sample_rate(&mut self) -> SAMPLE_RATE_W { SAMPLE_RATE_W::new(self, 0) } diff --git a/esp32p4/src/lp_tsens/wakeup_ctrl.rs b/esp32p4/src/lp_tsens/wakeup_ctrl.rs index 7fe67e9b24..8c7165cb5c 100644 --- a/esp32p4/src/lp_tsens/wakeup_ctrl.rs +++ b/esp32p4/src/lp_tsens/wakeup_ctrl.rs @@ -62,25 +62,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Lower threshold."] #[inline(always)] - #[must_use] pub fn wakeup_th_low(&mut self) -> WAKEUP_TH_LOW_W { WAKEUP_TH_LOW_W::new(self, 0) } #[doc = "Bits 14:21 - Upper threshold."] #[inline(always)] - #[must_use] pub fn wakeup_th_high(&mut self) -> WAKEUP_TH_HIGH_W { WAKEUP_TH_HIGH_W::new(self, 14) } #[doc = "Bit 30 - Tsens wakeup enable."] #[inline(always)] - #[must_use] pub fn wakeup_en(&mut self) -> WAKEUP_EN_W { WAKEUP_EN_W::new(self, 30) } #[doc = "Bit 31 - 0:absolute value comparison mode. 1: relative value comparison mode."] #[inline(always)] - #[must_use] pub fn wakeup_mode(&mut self) -> WAKEUP_MODE_W { WAKEUP_MODE_W::new(self, 31) } diff --git a/esp32p4/src/lp_uart/at_cmd_char_sync.rs b/esp32p4/src/lp_uart/at_cmd_char_sync.rs index efa8404712..3072a3e3b4 100644 --- a/esp32p4/src/lp_uart/at_cmd_char_sync.rs +++ b/esp32p4/src/lp_uart/at_cmd_char_sync.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register is used to configure the content of at_cmd char."] #[inline(always)] - #[must_use] pub fn at_cmd_char(&mut self) -> AT_CMD_CHAR_W { AT_CMD_CHAR_W::new(self, 0) } #[doc = "Bits 8:15 - This register is used to configure the num of continuous at_cmd chars received by receiver."] #[inline(always)] - #[must_use] pub fn char_num(&mut self) -> CHAR_NUM_W { CHAR_NUM_W::new(self, 8) } diff --git a/esp32p4/src/lp_uart/at_cmd_gaptout_sync.rs b/esp32p4/src/lp_uart/at_cmd_gaptout_sync.rs index a98f7ac8d8..bb56e9f7e1 100644 --- a/esp32p4/src/lp_uart/at_cmd_gaptout_sync.rs +++ b/esp32p4/src/lp_uart/at_cmd_gaptout_sync.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the duration time between the at_cmd chars."] #[inline(always)] - #[must_use] pub fn rx_gap_tout(&mut self) -> RX_GAP_TOUT_W { RX_GAP_TOUT_W::new(self, 0) } diff --git a/esp32p4/src/lp_uart/at_cmd_postcnt_sync.rs b/esp32p4/src/lp_uart/at_cmd_postcnt_sync.rs index b4f30c30b4..d3cb1d2c69 100644 --- a/esp32p4/src/lp_uart/at_cmd_postcnt_sync.rs +++ b/esp32p4/src/lp_uart/at_cmd_postcnt_sync.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the duration time between the last at_cmd and the next data."] #[inline(always)] - #[must_use] pub fn post_idle_num(&mut self) -> POST_IDLE_NUM_W { POST_IDLE_NUM_W::new(self, 0) } diff --git a/esp32p4/src/lp_uart/at_cmd_precnt_sync.rs b/esp32p4/src/lp_uart/at_cmd_precnt_sync.rs index 62f31ba20b..7e10494fc2 100644 --- a/esp32p4/src/lp_uart/at_cmd_precnt_sync.rs +++ b/esp32p4/src/lp_uart/at_cmd_precnt_sync.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the idle duration time before the first at_cmd is received by receiver."] #[inline(always)] - #[must_use] pub fn pre_idle_num(&mut self) -> PRE_IDLE_NUM_W { PRE_IDLE_NUM_W::new(self, 0) } diff --git a/esp32p4/src/lp_uart/clk_conf.rs b/esp32p4/src/lp_uart/clk_conf.rs index dc164ce736..ba0843e9b8 100644 --- a/esp32p4/src/lp_uart/clk_conf.rs +++ b/esp32p4/src/lp_uart/clk_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 24 - Set this bit to enable UART Tx clock."] #[inline(always)] - #[must_use] pub fn tx_sclk_en(&mut self) -> TX_SCLK_EN_W { TX_SCLK_EN_W::new(self, 24) } #[doc = "Bit 25 - Set this bit to enable UART Rx clock."] #[inline(always)] - #[must_use] pub fn rx_sclk_en(&mut self) -> RX_SCLK_EN_W { RX_SCLK_EN_W::new(self, 25) } #[doc = "Bit 26 - Write 1 then write 0 to this bit to reset UART Tx."] #[inline(always)] - #[must_use] pub fn tx_rst_core(&mut self) -> TX_RST_CORE_W { TX_RST_CORE_W::new(self, 26) } #[doc = "Bit 27 - Write 1 then write 0 to this bit to reset UART Rx."] #[inline(always)] - #[must_use] pub fn rx_rst_core(&mut self) -> RX_RST_CORE_W { RX_RST_CORE_W::new(self, 27) } diff --git a/esp32p4/src/lp_uart/clkdiv_sync.rs b/esp32p4/src/lp_uart/clkdiv_sync.rs index 9357ed94ea..7d8ad8934f 100644 --- a/esp32p4/src/lp_uart/clkdiv_sync.rs +++ b/esp32p4/src/lp_uart/clkdiv_sync.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - The integral part of the frequency divider factor."] #[inline(always)] - #[must_use] pub fn clkdiv(&mut self) -> CLKDIV_W { CLKDIV_W::new(self, 0) } #[doc = "Bits 20:23 - The decimal part of the frequency divider factor."] #[inline(always)] - #[must_use] pub fn clkdiv_frag(&mut self) -> CLKDIV_FRAG_W { CLKDIV_FRAG_W::new(self, 20) } diff --git a/esp32p4/src/lp_uart/conf0_sync.rs b/esp32p4/src/lp_uart/conf0_sync.rs index ddfd21e481..3a74563bf5 100644 --- a/esp32p4/src/lp_uart/conf0_sync.rs +++ b/esp32p4/src/lp_uart/conf0_sync.rs @@ -164,91 +164,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This register is used to configure the parity check mode."] #[inline(always)] - #[must_use] pub fn parity(&mut self) -> PARITY_W { PARITY_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to enable uart parity check."] #[inline(always)] - #[must_use] pub fn parity_en(&mut self) -> PARITY_EN_W { PARITY_EN_W::new(self, 1) } #[doc = "Bits 2:3 - This register is used to set the length of data."] #[inline(always)] - #[must_use] pub fn bit_num(&mut self) -> BIT_NUM_W { BIT_NUM_W::new(self, 2) } #[doc = "Bits 4:5 - This register is used to set the length of stop bit."] #[inline(always)] - #[must_use] pub fn stop_bit_num(&mut self) -> STOP_BIT_NUM_W { STOP_BIT_NUM_W::new(self, 4) } #[doc = "Bit 6 - Set this bit to enbale transmitter to send NULL when the process of sending data is done."] #[inline(always)] - #[must_use] pub fn txd_brk(&mut self) -> TXD_BRK_W { TXD_BRK_W::new(self, 6) } #[doc = "Bit 12 - Set this bit to enable uart loopback test mode."] #[inline(always)] - #[must_use] pub fn loopback(&mut self) -> LOOPBACK_W { LOOPBACK_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to enable flow control function for transmitter."] #[inline(always)] - #[must_use] pub fn tx_flow_en(&mut self) -> TX_FLOW_EN_W { TX_FLOW_EN_W::new(self, 13) } #[doc = "Bit 15 - Set this bit to inverse the level value of uart rxd signal."] #[inline(always)] - #[must_use] pub fn rxd_inv(&mut self) -> RXD_INV_W { RXD_INV_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to inverse the level value of uart txd signal."] #[inline(always)] - #[must_use] pub fn txd_inv(&mut self) -> TXD_INV_W { TXD_INV_W::new(self, 16) } #[doc = "Bit 17 - Disable UART Rx data overflow detect."] #[inline(always)] - #[must_use] pub fn dis_rx_dat_ovf(&mut self) -> DIS_RX_DAT_OVF_W { DIS_RX_DAT_OVF_W::new(self, 17) } #[doc = "Bit 18 - 1'h1: Receiver stops storing data into FIFO when data is wrong. 1'h0: Receiver stores the data even if the received data is wrong."] #[inline(always)] - #[must_use] pub fn err_wr_mask(&mut self) -> ERR_WR_MASK_W { ERR_WR_MASK_W::new(self, 18) } #[doc = "Bit 20 - UART memory clock gate enable signal."] #[inline(always)] - #[must_use] pub fn mem_clk_en(&mut self) -> MEM_CLK_EN_W { MEM_CLK_EN_W::new(self, 20) } #[doc = "Bit 21 - This register is used to configure the software rts signal which is used in software flow control."] #[inline(always)] - #[must_use] pub fn sw_rts(&mut self) -> SW_RTS_W { SW_RTS_W::new(self, 21) } #[doc = "Bit 22 - Set this bit to reset the uart receive-FIFO."] #[inline(always)] - #[must_use] pub fn rxfifo_rst(&mut self) -> RXFIFO_RST_W { RXFIFO_RST_W::new(self, 22) } #[doc = "Bit 23 - Set this bit to reset the uart transmit-FIFO."] #[inline(always)] - #[must_use] pub fn txfifo_rst(&mut self) -> TXFIFO_RST_W { TXFIFO_RST_W::new(self, 23) } diff --git a/esp32p4/src/lp_uart/conf1.rs b/esp32p4/src/lp_uart/conf1.rs index b658df82b5..afc0b29e3c 100644 --- a/esp32p4/src/lp_uart/conf1.rs +++ b/esp32p4/src/lp_uart/conf1.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 3:7 - It will produce rxfifo_full_int interrupt when receiver receives more data than this register value."] #[inline(always)] - #[must_use] pub fn rxfifo_full_thrhd(&mut self) -> RXFIFO_FULL_THRHD_W { RXFIFO_FULL_THRHD_W::new(self, 3) } #[doc = "Bits 11:15 - It will produce txfifo_empty_int interrupt when the data amount in Tx-FIFO is less than this register value."] #[inline(always)] - #[must_use] pub fn txfifo_empty_thrhd(&mut self) -> TXFIFO_EMPTY_THRHD_W { TXFIFO_EMPTY_THRHD_W::new(self, 11) } #[doc = "Bit 16 - Set this bit to inverse the level value of uart cts signal."] #[inline(always)] - #[must_use] pub fn cts_inv(&mut self) -> CTS_INV_W { CTS_INV_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to inverse the level value of uart dsr signal."] #[inline(always)] - #[must_use] pub fn dsr_inv(&mut self) -> DSR_INV_W { DSR_INV_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to inverse the level value of uart rts signal."] #[inline(always)] - #[must_use] pub fn rts_inv(&mut self) -> RTS_INV_W { RTS_INV_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to inverse the level value of uart dtr signal."] #[inline(always)] - #[must_use] pub fn dtr_inv(&mut self) -> DTR_INV_W { DTR_INV_W::new(self, 19) } #[doc = "Bit 20 - This register is used to configure the software dtr signal which is used in software flow control."] #[inline(always)] - #[must_use] pub fn sw_dtr(&mut self) -> SW_DTR_W { SW_DTR_W::new(self, 20) } #[doc = "Bit 21 - 1'h1: Force clock on for register. 1'h0: Support clock only when application writes registers."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 21) } diff --git a/esp32p4/src/lp_uart/date.rs b/esp32p4/src/lp_uart/date.rs index d96d4c51c8..440037dc01 100644 --- a/esp32p4/src/lp_uart/date.rs +++ b/esp32p4/src/lp_uart/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This is the version register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32p4/src/lp_uart/hwfc_conf_sync.rs b/esp32p4/src/lp_uart/hwfc_conf_sync.rs index 34ed2f9d79..40c3e51de3 100644 --- a/esp32p4/src/lp_uart/hwfc_conf_sync.rs +++ b/esp32p4/src/lp_uart/hwfc_conf_sync.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 3:7 - This register is used to configure the maximum amount of data that can be received when hardware flow control works."] #[inline(always)] - #[must_use] pub fn rx_flow_thrhd(&mut self) -> RX_FLOW_THRHD_W { RX_FLOW_THRHD_W::new(self, 3) } #[doc = "Bit 8 - This is the flow enable bit for UART receiver."] #[inline(always)] - #[must_use] pub fn rx_flow_en(&mut self) -> RX_FLOW_EN_W { RX_FLOW_EN_W::new(self, 8) } diff --git a/esp32p4/src/lp_uart/id.rs b/esp32p4/src/lp_uart/id.rs index eb25e6637f..23a8344e90 100644 --- a/esp32p4/src/lp_uart/id.rs +++ b/esp32p4/src/lp_uart/id.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This register is used to configure the uart_id."] #[inline(always)] - #[must_use] pub fn id(&mut self) -> ID_W { ID_W::new(self, 0) } diff --git a/esp32p4/src/lp_uart/idle_conf_sync.rs b/esp32p4/src/lp_uart/idle_conf_sync.rs index f90e0dc8bd..caba2ac5b6 100644 --- a/esp32p4/src/lp_uart/idle_conf_sync.rs +++ b/esp32p4/src/lp_uart/idle_conf_sync.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - It will produce frame end signal when receiver takes more time to receive one byte data than this register value."] #[inline(always)] - #[must_use] pub fn rx_idle_thrhd(&mut self) -> RX_IDLE_THRHD_W { RX_IDLE_THRHD_W::new(self, 0) } #[doc = "Bits 10:19 - This register is used to configure the duration time between transfers."] #[inline(always)] - #[must_use] pub fn tx_idle_num(&mut self) -> TX_IDLE_NUM_W { TX_IDLE_NUM_W::new(self, 10) } diff --git a/esp32p4/src/lp_uart/int_clr.rs b/esp32p4/src/lp_uart/int_clr.rs index ee55b72abd..0161761324 100644 --- a/esp32p4/src/lp_uart/int_clr.rs +++ b/esp32p4/src/lp_uart/int_clr.rs @@ -43,103 +43,86 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the rxfifo_full_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_full(&mut self) -> RXFIFO_FULL_W { RXFIFO_FULL_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear txfifo_empty_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_empty(&mut self) -> TXFIFO_EMPTY_W { TXFIFO_EMPTY_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear parity_err_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn parity_err(&mut self) -> PARITY_ERR_W { PARITY_ERR_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear frm_err_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn frm_err(&mut self) -> FRM_ERR_W { FRM_ERR_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear rxfifo_ovf_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the dsr_chg_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn dsr_chg(&mut self) -> DSR_CHG_W { DSR_CHG_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the cts_chg_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn cts_chg(&mut self) -> CTS_CHG_W { CTS_CHG_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the brk_det_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn brk_det(&mut self) -> BRK_DET_W { BRK_DET_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the rxfifo_tout_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_tout(&mut self) -> RXFIFO_TOUT_W { RXFIFO_TOUT_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear the sw_xon_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn sw_xon(&mut self) -> SW_XON_W { SW_XON_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to clear the sw_xoff_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn sw_xoff(&mut self) -> SW_XOFF_W { SW_XOFF_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear the glitch_det_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to clear the tx_brk_done_int_raw interrupt.."] #[inline(always)] - #[must_use] pub fn tx_brk_done(&mut self) -> TX_BRK_DONE_W { TX_BRK_DONE_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to clear the tx_brk_idle_done_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn tx_brk_idle_done(&mut self) -> TX_BRK_IDLE_DONE_W { TX_BRK_IDLE_DONE_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to clear the tx_done_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 14) } #[doc = "Bit 18 - Set this bit to clear the at_cmd_char_det_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn at_cmd_char_det(&mut self) -> AT_CMD_CHAR_DET_W { AT_CMD_CHAR_DET_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to clear the uart_wakeup_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn wakeup(&mut self) -> WAKEUP_W { WAKEUP_W::new(self, 19) } diff --git a/esp32p4/src/lp_uart/int_ena.rs b/esp32p4/src/lp_uart/int_ena.rs index 76036fcd62..ffe3fb5997 100644 --- a/esp32p4/src/lp_uart/int_ena.rs +++ b/esp32p4/src/lp_uart/int_ena.rs @@ -184,103 +184,86 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This is the enable bit for rxfifo_full_int_st register."] #[inline(always)] - #[must_use] pub fn rxfifo_full(&mut self) -> RXFIFO_FULL_W { RXFIFO_FULL_W::new(self, 0) } #[doc = "Bit 1 - This is the enable bit for txfifo_empty_int_st register."] #[inline(always)] - #[must_use] pub fn txfifo_empty(&mut self) -> TXFIFO_EMPTY_W { TXFIFO_EMPTY_W::new(self, 1) } #[doc = "Bit 2 - This is the enable bit for parity_err_int_st register."] #[inline(always)] - #[must_use] pub fn parity_err(&mut self) -> PARITY_ERR_W { PARITY_ERR_W::new(self, 2) } #[doc = "Bit 3 - This is the enable bit for frm_err_int_st register."] #[inline(always)] - #[must_use] pub fn frm_err(&mut self) -> FRM_ERR_W { FRM_ERR_W::new(self, 3) } #[doc = "Bit 4 - This is the enable bit for rxfifo_ovf_int_st register."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - This is the enable bit for dsr_chg_int_st register."] #[inline(always)] - #[must_use] pub fn dsr_chg(&mut self) -> DSR_CHG_W { DSR_CHG_W::new(self, 5) } #[doc = "Bit 6 - This is the enable bit for cts_chg_int_st register."] #[inline(always)] - #[must_use] pub fn cts_chg(&mut self) -> CTS_CHG_W { CTS_CHG_W::new(self, 6) } #[doc = "Bit 7 - This is the enable bit for brk_det_int_st register."] #[inline(always)] - #[must_use] pub fn brk_det(&mut self) -> BRK_DET_W { BRK_DET_W::new(self, 7) } #[doc = "Bit 8 - This is the enable bit for rxfifo_tout_int_st register."] #[inline(always)] - #[must_use] pub fn rxfifo_tout(&mut self) -> RXFIFO_TOUT_W { RXFIFO_TOUT_W::new(self, 8) } #[doc = "Bit 9 - This is the enable bit for sw_xon_int_st register."] #[inline(always)] - #[must_use] pub fn sw_xon(&mut self) -> SW_XON_W { SW_XON_W::new(self, 9) } #[doc = "Bit 10 - This is the enable bit for sw_xoff_int_st register."] #[inline(always)] - #[must_use] pub fn sw_xoff(&mut self) -> SW_XOFF_W { SW_XOFF_W::new(self, 10) } #[doc = "Bit 11 - This is the enable bit for glitch_det_int_st register."] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 11) } #[doc = "Bit 12 - This is the enable bit for tx_brk_done_int_st register."] #[inline(always)] - #[must_use] pub fn tx_brk_done(&mut self) -> TX_BRK_DONE_W { TX_BRK_DONE_W::new(self, 12) } #[doc = "Bit 13 - This is the enable bit for tx_brk_idle_done_int_st register."] #[inline(always)] - #[must_use] pub fn tx_brk_idle_done(&mut self) -> TX_BRK_IDLE_DONE_W { TX_BRK_IDLE_DONE_W::new(self, 13) } #[doc = "Bit 14 - This is the enable bit for tx_done_int_st register."] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 14) } #[doc = "Bit 18 - This is the enable bit for at_cmd_char_det_int_st register."] #[inline(always)] - #[must_use] pub fn at_cmd_char_det(&mut self) -> AT_CMD_CHAR_DET_W { AT_CMD_CHAR_DET_W::new(self, 18) } #[doc = "Bit 19 - This is the enable bit for uart_wakeup_int_st register."] #[inline(always)] - #[must_use] pub fn wakeup(&mut self) -> WAKEUP_W { WAKEUP_W::new(self, 19) } diff --git a/esp32p4/src/lp_uart/int_raw.rs b/esp32p4/src/lp_uart/int_raw.rs index 61c9967e41..eb01f67711 100644 --- a/esp32p4/src/lp_uart/int_raw.rs +++ b/esp32p4/src/lp_uart/int_raw.rs @@ -184,103 +184,86 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This interrupt raw bit turns to high level when receiver receives more data than what rxfifo_full_thrhd specifies."] #[inline(always)] - #[must_use] pub fn rxfifo_full(&mut self) -> RXFIFO_FULL_W { RXFIFO_FULL_W::new(self, 0) } #[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 ."] #[inline(always)] - #[must_use] pub fn txfifo_empty(&mut self) -> TXFIFO_EMPTY_W { TXFIFO_EMPTY_W::new(self, 1) } #[doc = "Bit 2 - This interrupt raw bit turns to high level when receiver detects a parity error in the data."] #[inline(always)] - #[must_use] pub fn parity_err(&mut self) -> PARITY_ERR_W { PARITY_ERR_W::new(self, 2) } #[doc = "Bit 3 - This interrupt raw bit turns to high level when receiver detects a data frame error ."] #[inline(always)] - #[must_use] pub fn frm_err(&mut self) -> FRM_ERR_W { FRM_ERR_W::new(self, 3) } #[doc = "Bit 4 - This interrupt raw bit turns to high level when receiver receives more data than the FIFO can store."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - This interrupt raw bit turns to high level when receiver detects the edge change of DSRn signal."] #[inline(always)] - #[must_use] pub fn dsr_chg(&mut self) -> DSR_CHG_W { DSR_CHG_W::new(self, 5) } #[doc = "Bit 6 - This interrupt raw bit turns to high level when receiver detects the edge change of CTSn signal."] #[inline(always)] - #[must_use] pub fn cts_chg(&mut self) -> CTS_CHG_W { CTS_CHG_W::new(self, 6) } #[doc = "Bit 7 - This interrupt raw bit turns to high level when receiver detects a 0 after the stop bit."] #[inline(always)] - #[must_use] pub fn brk_det(&mut self) -> BRK_DET_W { BRK_DET_W::new(self, 7) } #[doc = "Bit 8 - This interrupt raw bit turns to high level when receiver takes more time than rx_tout_thrhd to receive a byte."] #[inline(always)] - #[must_use] pub fn rxfifo_tout(&mut self) -> RXFIFO_TOUT_W { RXFIFO_TOUT_W::new(self, 8) } #[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."] #[inline(always)] - #[must_use] pub fn sw_xon(&mut self) -> SW_XON_W { SW_XON_W::new(self, 9) } #[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."] #[inline(always)] - #[must_use] pub fn sw_xoff(&mut self) -> SW_XOFF_W { SW_XOFF_W::new(self, 10) } #[doc = "Bit 11 - This interrupt raw bit turns to high level when receiver detects a glitch in the middle of a start bit."] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 11) } #[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."] #[inline(always)] - #[must_use] pub fn tx_brk_done(&mut self) -> TX_BRK_DONE_W { TX_BRK_DONE_W::new(self, 12) } #[doc = "Bit 13 - This interrupt raw bit turns to high level when transmitter has kept the shortest duration after sending the last data."] #[inline(always)] - #[must_use] pub fn tx_brk_idle_done(&mut self) -> TX_BRK_IDLE_DONE_W { TX_BRK_IDLE_DONE_W::new(self, 13) } #[doc = "Bit 14 - This interrupt raw bit turns to high level when transmitter has send out all data in FIFO."] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 14) } #[doc = "Bit 18 - This interrupt raw bit turns to high level when receiver detects the configured at_cmd char."] #[inline(always)] - #[must_use] pub fn at_cmd_char_det(&mut self) -> AT_CMD_CHAR_DET_W { AT_CMD_CHAR_DET_W::new(self, 18) } #[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."] #[inline(always)] - #[must_use] pub fn wakeup(&mut self) -> WAKEUP_W { WAKEUP_W::new(self, 19) } diff --git a/esp32p4/src/lp_uart/mem_conf.rs b/esp32p4/src/lp_uart/mem_conf.rs index 1f787205ea..a67b04163f 100644 --- a/esp32p4/src/lp_uart/mem_conf.rs +++ b/esp32p4/src/lp_uart/mem_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 25 - Set this bit to force power down UART memory."] #[inline(always)] - #[must_use] pub fn mem_force_pd(&mut self) -> MEM_FORCE_PD_W { MEM_FORCE_PD_W::new(self, 25) } #[doc = "Bit 26 - Set this bit to force power up UART memory."] #[inline(always)] - #[must_use] pub fn mem_force_pu(&mut self) -> MEM_FORCE_PU_W { MEM_FORCE_PU_W::new(self, 26) } diff --git a/esp32p4/src/lp_uart/reg_update.rs b/esp32p4/src/lp_uart/reg_update.rs index 0188a4af8b..916c47f8ce 100644 --- a/esp32p4/src/lp_uart/reg_update.rs +++ b/esp32p4/src/lp_uart/reg_update.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Software write 1 would synchronize registers into UART Core clock domain and would be cleared by hardware after synchronization is done."] #[inline(always)] - #[must_use] pub fn reg_update(&mut self) -> REG_UPDATE_W { REG_UPDATE_W::new(self, 0) } diff --git a/esp32p4/src/lp_uart/rs485_conf_sync.rs b/esp32p4/src/lp_uart/rs485_conf_sync.rs index df5d20f106..0c881d9c75 100644 --- a/esp32p4/src/lp_uart/rs485_conf_sync.rs +++ b/esp32p4/src/lp_uart/rs485_conf_sync.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - Set this bit to delay the stop bit by 1 bit."] #[inline(always)] - #[must_use] pub fn dl0_en(&mut self) -> DL0_EN_W { DL0_EN_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to delay the stop bit by 1 bit."] #[inline(always)] - #[must_use] pub fn dl1_en(&mut self) -> DL1_EN_W { DL1_EN_W::new(self, 2) } diff --git a/esp32p4/src/lp_uart/rx_filt.rs b/esp32p4/src/lp_uart/rx_filt.rs index e8368344b8..acace76ca6 100644 --- a/esp32p4/src/lp_uart/rx_filt.rs +++ b/esp32p4/src/lp_uart/rx_filt.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - when input pulse width is lower than this value the pulse is ignored."] #[inline(always)] - #[must_use] pub fn glitch_filt(&mut self) -> GLITCH_FILT_W { GLITCH_FILT_W::new(self, 0) } #[doc = "Bit 8 - Set this bit to enable Rx signal filter."] #[inline(always)] - #[must_use] pub fn glitch_filt_en(&mut self) -> GLITCH_FILT_EN_W { GLITCH_FILT_EN_W::new(self, 8) } diff --git a/esp32p4/src/lp_uart/sleep_conf0.rs b/esp32p4/src/lp_uart/sleep_conf0.rs index 631ebdc15f..ab40e70e13 100644 --- a/esp32p4/src/lp_uart/sleep_conf0.rs +++ b/esp32p4/src/lp_uart/sleep_conf0.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register restores the specified wake up char1 to wake up"] #[inline(always)] - #[must_use] pub fn wk_char1(&mut self) -> WK_CHAR1_W { WK_CHAR1_W::new(self, 0) } #[doc = "Bits 8:15 - This register restores the specified wake up char2 to wake up"] #[inline(always)] - #[must_use] pub fn wk_char2(&mut self) -> WK_CHAR2_W { WK_CHAR2_W::new(self, 8) } #[doc = "Bits 16:23 - This register restores the specified wake up char3 to wake up"] #[inline(always)] - #[must_use] pub fn wk_char3(&mut self) -> WK_CHAR3_W { WK_CHAR3_W::new(self, 16) } #[doc = "Bits 24:31 - This register restores the specified wake up char4 to wake up"] #[inline(always)] - #[must_use] pub fn wk_char4(&mut self) -> WK_CHAR4_W { WK_CHAR4_W::new(self, 24) } diff --git a/esp32p4/src/lp_uart/sleep_conf1.rs b/esp32p4/src/lp_uart/sleep_conf1.rs index 8af8538d7d..dadc7d2d8e 100644 --- a/esp32p4/src/lp_uart/sleep_conf1.rs +++ b/esp32p4/src/lp_uart/sleep_conf1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register restores the specified char0 to wake up"] #[inline(always)] - #[must_use] pub fn wk_char0(&mut self) -> WK_CHAR0_W { WK_CHAR0_W::new(self, 0) } diff --git a/esp32p4/src/lp_uart/sleep_conf2.rs b/esp32p4/src/lp_uart/sleep_conf2.rs index 0059f5a6a6..206225fad4 100644 --- a/esp32p4/src/lp_uart/sleep_conf2.rs +++ b/esp32p4/src/lp_uart/sleep_conf2.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - The uart is activated from light sleeping mode when the input rxd edge changes more times than this register value."] #[inline(always)] - #[must_use] pub fn active_threshold(&mut self) -> ACTIVE_THRESHOLD_W { ACTIVE_THRESHOLD_W::new(self, 0) } #[doc = "Bits 13:17 - In wake up mode 1 this field is used to set the received data number threshold to wake up chip."] #[inline(always)] - #[must_use] pub fn rx_wake_up_thrhd(&mut self) -> RX_WAKE_UP_THRHD_W { RX_WAKE_UP_THRHD_W::new(self, 13) } #[doc = "Bits 18:20 - This register is used to select number of wake up char."] #[inline(always)] - #[must_use] pub fn wk_char_num(&mut self) -> WK_CHAR_NUM_W { WK_CHAR_NUM_W::new(self, 18) } #[doc = "Bits 21:25 - This register is used to mask wake up char."] #[inline(always)] - #[must_use] pub fn wk_char_mask(&mut self) -> WK_CHAR_MASK_W { WK_CHAR_MASK_W::new(self, 21) } #[doc = "Bits 26:27 - This register is used to select wake up mode. 0: RXD toggling to wake up. 1: received data number larger than"] #[inline(always)] - #[must_use] pub fn wk_mode_sel(&mut self) -> WK_MODE_SEL_W { WK_MODE_SEL_W::new(self, 26) } diff --git a/esp32p4/src/lp_uart/swfc_conf0_sync.rs b/esp32p4/src/lp_uart/swfc_conf0_sync.rs index 4090f8dda5..ba78fa70e7 100644 --- a/esp32p4/src/lp_uart/swfc_conf0_sync.rs +++ b/esp32p4/src/lp_uart/swfc_conf0_sync.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register stores the Xon flow control char."] #[inline(always)] - #[must_use] pub fn xon_char(&mut self) -> XON_CHAR_W { XON_CHAR_W::new(self, 0) } #[doc = "Bits 8:15 - This register stores the Xoff flow control char."] #[inline(always)] - #[must_use] pub fn xoff_char(&mut self) -> XOFF_CHAR_W { XOFF_CHAR_W::new(self, 8) } #[doc = "Bit 16 - In software flow control mode, UART Tx is disabled once UART Rx receives XOFF. In this status, UART Tx can not transmit XOFF even the received data number is larger than UART_XOFF_THRESHOLD. Set this bit to enable UART Tx can transmit XON/XOFF when UART Tx is disabled."] #[inline(always)] - #[must_use] pub fn xon_xoff_still_send(&mut self) -> XON_XOFF_STILL_SEND_W { XON_XOFF_STILL_SEND_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to enable software flow control. It is used with register sw_xon or sw_xoff."] #[inline(always)] - #[must_use] pub fn sw_flow_con_en(&mut self) -> SW_FLOW_CON_EN_W { SW_FLOW_CON_EN_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to remove flow control char from the received data."] #[inline(always)] - #[must_use] pub fn xonoff_del(&mut self) -> XONOFF_DEL_W { XONOFF_DEL_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to enable the transmitter to go on sending data."] #[inline(always)] - #[must_use] pub fn force_xon(&mut self) -> FORCE_XON_W { FORCE_XON_W::new(self, 19) } #[doc = "Bit 20 - Set this bit to stop the transmitter from sending data."] #[inline(always)] - #[must_use] pub fn force_xoff(&mut self) -> FORCE_XOFF_W { FORCE_XOFF_W::new(self, 20) } #[doc = "Bit 21 - Set this bit to send Xon char. It is cleared by hardware automatically."] #[inline(always)] - #[must_use] pub fn send_xon(&mut self) -> SEND_XON_W { SEND_XON_W::new(self, 21) } #[doc = "Bit 22 - Set this bit to send Xoff char. It is cleared by hardware automatically."] #[inline(always)] - #[must_use] pub fn send_xoff(&mut self) -> SEND_XOFF_W { SEND_XOFF_W::new(self, 22) } diff --git a/esp32p4/src/lp_uart/swfc_conf1.rs b/esp32p4/src/lp_uart/swfc_conf1.rs index 43eba04dd6..153f8e5a2a 100644 --- a/esp32p4/src/lp_uart/swfc_conf1.rs +++ b/esp32p4/src/lp_uart/swfc_conf1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 3:7 - When the data amount in Rx-FIFO is less than this register value with uart_sw_flow_con_en set to 1 it will send a Xon char."] #[inline(always)] - #[must_use] pub fn xon_threshold(&mut self) -> XON_THRESHOLD_W { XON_THRESHOLD_W::new(self, 3) } #[doc = "Bits 11:15 - When the data amount in Rx-FIFO is more than this register value with uart_sw_flow_con_en set to 1 it will send a Xoff char."] #[inline(always)] - #[must_use] pub fn xoff_threshold(&mut self) -> XOFF_THRESHOLD_W { XOFF_THRESHOLD_W::new(self, 11) } diff --git a/esp32p4/src/lp_uart/tout_conf_sync.rs b/esp32p4/src/lp_uart/tout_conf_sync.rs index 59fb931d3d..3ed5b81481 100644 --- a/esp32p4/src/lp_uart/tout_conf_sync.rs +++ b/esp32p4/src/lp_uart/tout_conf_sync.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This is the enble bit for uart receiver's timeout function."] #[inline(always)] - #[must_use] pub fn rx_tout_en(&mut self) -> RX_TOUT_EN_W { RX_TOUT_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to stop accumulating idle_cnt when hardware flow control works."] #[inline(always)] - #[must_use] pub fn rx_tout_flow_dis(&mut self) -> RX_TOUT_FLOW_DIS_W { RX_TOUT_FLOW_DIS_W::new(self, 1) } #[doc = "Bits 2:11 - This register is used to configure the threshold time that receiver takes to receive one byte. The rxfifo_tout_int interrupt will be trigger when the receiver takes more time to receive one byte with rx_tout_en set to 1."] #[inline(always)] - #[must_use] pub fn rx_tout_thrhd(&mut self) -> RX_TOUT_THRHD_W { RX_TOUT_THRHD_W::new(self, 2) } diff --git a/esp32p4/src/lp_uart/txbrk_conf_sync.rs b/esp32p4/src/lp_uart/txbrk_conf_sync.rs index 3b9294af84..81f2d4ba6e 100644 --- a/esp32p4/src/lp_uart/txbrk_conf_sync.rs +++ b/esp32p4/src/lp_uart/txbrk_conf_sync.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register is used to configure the number of 0 to be sent after the process of sending data is done. It is active when txd_brk is set to 1."] #[inline(always)] - #[must_use] pub fn tx_brk_num(&mut self) -> TX_BRK_NUM_W { TX_BRK_NUM_W::new(self, 0) } diff --git a/esp32p4/src/lp_wdt/config0.rs b/esp32p4/src/lp_wdt/config0.rs index ffca83bdfe..62fa227747 100644 --- a/esp32p4/src/lp_wdt/config0.rs +++ b/esp32p4/src/lp_wdt/config0.rs @@ -144,79 +144,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_chip_reset_width(&mut self) -> WDT_CHIP_RESET_WIDTH_W { WDT_CHIP_RESET_WIDTH_W::new(self, 0) } #[doc = "Bit 8 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_chip_reset_en(&mut self) -> WDT_CHIP_RESET_EN_W { WDT_CHIP_RESET_EN_W::new(self, 8) } #[doc = "Bit 9 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_pause_in_slp(&mut self) -> WDT_PAUSE_IN_SLP_W { WDT_PAUSE_IN_SLP_W::new(self, 9) } #[doc = "Bit 10 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_appcpu_reset_en(&mut self) -> WDT_APPCPU_RESET_EN_W { WDT_APPCPU_RESET_EN_W::new(self, 10) } #[doc = "Bit 11 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_procpu_reset_en(&mut self) -> WDT_PROCPU_RESET_EN_W { WDT_PROCPU_RESET_EN_W::new(self, 11) } #[doc = "Bit 12 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_flashboot_mod_en(&mut self) -> WDT_FLASHBOOT_MOD_EN_W { WDT_FLASHBOOT_MOD_EN_W::new(self, 12) } #[doc = "Bits 13:15 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_sys_reset_length(&mut self) -> WDT_SYS_RESET_LENGTH_W { WDT_SYS_RESET_LENGTH_W::new(self, 13) } #[doc = "Bits 16:18 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_cpu_reset_length(&mut self) -> WDT_CPU_RESET_LENGTH_W { WDT_CPU_RESET_LENGTH_W::new(self, 16) } #[doc = "Bits 19:21 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_stg3(&mut self) -> WDT_STG3_W { WDT_STG3_W::new(self, 19) } #[doc = "Bits 22:24 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_stg2(&mut self) -> WDT_STG2_W { WDT_STG2_W::new(self, 22) } #[doc = "Bits 25:27 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_stg1(&mut self) -> WDT_STG1_W { WDT_STG1_W::new(self, 25) } #[doc = "Bits 28:30 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_stg0(&mut self) -> WDT_STG0_W { WDT_STG0_W::new(self, 28) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_en(&mut self) -> WDT_EN_W { WDT_EN_W::new(self, 31) } diff --git a/esp32p4/src/lp_wdt/config1.rs b/esp32p4/src/lp_wdt/config1.rs index 0e01ef69fe..3a4f508b69 100644 --- a/esp32p4/src/lp_wdt/config1.rs +++ b/esp32p4/src/lp_wdt/config1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_stg0_hold(&mut self) -> WDT_STG0_HOLD_W { WDT_STG0_HOLD_W::new(self, 0) } diff --git a/esp32p4/src/lp_wdt/config2.rs b/esp32p4/src/lp_wdt/config2.rs index dbf510b976..078f3eaf9d 100644 --- a/esp32p4/src/lp_wdt/config2.rs +++ b/esp32p4/src/lp_wdt/config2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_stg1_hold(&mut self) -> WDT_STG1_HOLD_W { WDT_STG1_HOLD_W::new(self, 0) } diff --git a/esp32p4/src/lp_wdt/config3.rs b/esp32p4/src/lp_wdt/config3.rs index 2830618142..54a3c3b522 100644 --- a/esp32p4/src/lp_wdt/config3.rs +++ b/esp32p4/src/lp_wdt/config3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_stg2_hold(&mut self) -> WDT_STG2_HOLD_W { WDT_STG2_HOLD_W::new(self, 0) } diff --git a/esp32p4/src/lp_wdt/config4.rs b/esp32p4/src/lp_wdt/config4.rs index 1c42d2046e..09101a6c69 100644 --- a/esp32p4/src/lp_wdt/config4.rs +++ b/esp32p4/src/lp_wdt/config4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_stg3_hold(&mut self) -> WDT_STG3_HOLD_W { WDT_STG3_HOLD_W::new(self, 0) } diff --git a/esp32p4/src/lp_wdt/date.rs b/esp32p4/src/lp_wdt/date.rs index 1fdd983592..6f58884e74 100644 --- a/esp32p4/src/lp_wdt/date.rs +++ b/esp32p4/src/lp_wdt/date.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_wdt_date(&mut self) -> LP_WDT_DATE_W { LP_WDT_DATE_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32p4/src/lp_wdt/feed.rs b/esp32p4/src/lp_wdt/feed.rs index 1062e67587..cdd16bc3b3 100644 --- a/esp32p4/src/lp_wdt/feed.rs +++ b/esp32p4/src/lp_wdt/feed.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn feed(&mut self) -> FEED_W { FEED_W::new(self, 31) } diff --git a/esp32p4/src/lp_wdt/int_clr.rs b/esp32p4/src/lp_wdt/int_clr.rs index 51c7a3307f..d4787cb67f 100644 --- a/esp32p4/src/lp_wdt/int_clr.rs +++ b/esp32p4/src/lp_wdt/int_clr.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn super_wdt(&mut self) -> SUPER_WDT_W { SUPER_WDT_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_wdt(&mut self) -> LP_WDT_W { LP_WDT_W::new(self, 31) } diff --git a/esp32p4/src/lp_wdt/int_ena.rs b/esp32p4/src/lp_wdt/int_ena.rs index 464ca8ed80..f899f1a5e8 100644 --- a/esp32p4/src/lp_wdt/int_ena.rs +++ b/esp32p4/src/lp_wdt/int_ena.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn super_wdt(&mut self) -> SUPER_WDT_W { SUPER_WDT_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_wdt(&mut self) -> LP_WDT_W { LP_WDT_W::new(self, 31) } diff --git a/esp32p4/src/lp_wdt/int_raw.rs b/esp32p4/src/lp_wdt/int_raw.rs index 59439efb80..74294703d0 100644 --- a/esp32p4/src/lp_wdt/int_raw.rs +++ b/esp32p4/src/lp_wdt/int_raw.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn super_wdt(&mut self) -> SUPER_WDT_W { SUPER_WDT_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_wdt(&mut self) -> LP_WDT_W { LP_WDT_W::new(self, 31) } diff --git a/esp32p4/src/lp_wdt/swd_config.rs b/esp32p4/src/lp_wdt/swd_config.rs index 4c7fbec620..a7d8540676 100644 --- a/esp32p4/src/lp_wdt/swd_config.rs +++ b/esp32p4/src/lp_wdt/swd_config.rs @@ -56,31 +56,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 18 - need_des"] #[inline(always)] - #[must_use] pub fn swd_auto_feed_en(&mut self) -> SWD_AUTO_FEED_EN_W { SWD_AUTO_FEED_EN_W::new(self, 18) } #[doc = "Bit 19 - need_des"] #[inline(always)] - #[must_use] pub fn swd_rst_flag_clr(&mut self) -> SWD_RST_FLAG_CLR_W { SWD_RST_FLAG_CLR_W::new(self, 19) } #[doc = "Bits 20:29 - need_des"] #[inline(always)] - #[must_use] pub fn swd_signal_width(&mut self) -> SWD_SIGNAL_WIDTH_W { SWD_SIGNAL_WIDTH_W::new(self, 20) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn swd_disable(&mut self) -> SWD_DISABLE_W { SWD_DISABLE_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn swd_feed(&mut self) -> SWD_FEED_W { SWD_FEED_W::new(self, 31) } diff --git a/esp32p4/src/lp_wdt/swd_wprotect.rs b/esp32p4/src/lp_wdt/swd_wprotect.rs index a1608c1c33..d544b5d85c 100644 --- a/esp32p4/src/lp_wdt/swd_wprotect.rs +++ b/esp32p4/src/lp_wdt/swd_wprotect.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn swd_wkey(&mut self) -> SWD_WKEY_W { SWD_WKEY_W::new(self, 0) } diff --git a/esp32p4/src/lp_wdt/wprotect.rs b/esp32p4/src/lp_wdt/wprotect.rs index 4ae4fba579..6e218af94c 100644 --- a/esp32p4/src/lp_wdt/wprotect.rs +++ b/esp32p4/src/lp_wdt/wprotect.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn wdt_wkey(&mut self) -> WDT_WKEY_W { WDT_WKEY_W::new(self, 0) } diff --git a/esp32p4/src/mcpwm0.rs b/esp32p4/src/mcpwm0.rs index 1fda9bd901..ddd57c7a91 100644 --- a/esp32p4/src/mcpwm0.rs +++ b/esp32p4/src/mcpwm0.rs @@ -169,7 +169,7 @@ impl RegisterBlock { #[allow(clippy::no_effect)] [(); 3][n]; unsafe { - &*(self as *const Self) + &*core::ptr::from_ref(self) .cast::() .add(300) .add(8 * n) @@ -181,7 +181,7 @@ impl RegisterBlock { #[inline(always)] pub fn op_tstmp_e1_iter(&self) -> impl Iterator { (0..3).map(move |n| unsafe { - &*(self as *const Self) + &*core::ptr::from_ref(self) .cast::() .add(300) .add(8 * n) @@ -209,7 +209,7 @@ impl RegisterBlock { #[allow(clippy::no_effect)] [(); 3][n]; unsafe { - &*(self as *const Self) + &*core::ptr::from_ref(self) .cast::() .add(304) .add(8 * n) @@ -221,7 +221,7 @@ impl RegisterBlock { #[inline(always)] pub fn op_tstmp_e2_iter(&self) -> impl Iterator { (0..3).map(move |n| unsafe { - &*(self as *const Self) + &*core::ptr::from_ref(self) .cast::() .add(304) .add(8 * n) diff --git a/esp32p4/src/mcpwm0/cap_ch_cfg.rs b/esp32p4/src/mcpwm0/cap_ch_cfg.rs index 92c6f698ad..94ba71e710 100644 --- a/esp32p4/src/mcpwm0/cap_ch_cfg.rs +++ b/esp32p4/src/mcpwm0/cap_ch_cfg.rs @@ -56,31 +56,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configures whether or not to enable capture on channel %s.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 0) } #[doc = "Bits 1:2 - Configures which edge of capture on channel %s after prescaling is used.\\\\0: None\\\\Bit0 is set to 1: Rnable capture on the negative edge\\\\Bit1 is set to 1: Enable capture on the positive edge"] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 1) } #[doc = "Bits 3:10 - Configures prescale value on possitive edge of CAP%s. Prescale value = PWM_CAP%s_PRESCALE + 1"] #[inline(always)] - #[must_use] pub fn prescale(&mut self) -> PRESCALE_W { PRESCALE_W::new(self, 3) } #[doc = "Bit 11 - Configures whether or not to invert CAP%s from GPIO matrix before prescale.\\\\0: Normal\\\\1: Invert"] #[inline(always)] - #[must_use] pub fn in_invert(&mut self) -> IN_INVERT_W { IN_INVERT_W::new(self, 11) } #[doc = "Bit 12 - Configures the generation of software capture.\\\\0: Invalid, No effect\\\\1: Trigger a software forced capture on channel %s"] #[inline(always)] - #[must_use] pub fn sw(&mut self) -> SW_W { SW_W::new(self, 12) } diff --git a/esp32p4/src/mcpwm0/cap_timer_cfg.rs b/esp32p4/src/mcpwm0/cap_timer_cfg.rs index c1c472a856..8e563d5090 100644 --- a/esp32p4/src/mcpwm0/cap_timer_cfg.rs +++ b/esp32p4/src/mcpwm0/cap_timer_cfg.rs @@ -46,25 +46,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configures whether or not to enable capture timer increment.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn cap_timer_en(&mut self) -> CAP_TIMER_EN_W { CAP_TIMER_EN_W::new(self, 0) } #[doc = "Bit 1 - Configures whether or not to enable capture timer sync.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn cap_synci_en(&mut self) -> CAP_SYNCI_EN_W { CAP_SYNCI_EN_W::new(self, 1) } #[doc = "Bits 2:4 - Configures the selection of capture module sync input.\\\\0: None\\\\1: Timer0 sync_out\\\\2: Timer1 sync_out\\\\3: Timer2 sync_out\\\\4: SYNC0 from GPIO matrix\\\\5: SYNC1 from GPIO matrix\\\\6: SYNC2 from GPIO matrix\\\\7: None"] #[inline(always)] - #[must_use] pub fn cap_synci_sel(&mut self) -> CAP_SYNCI_SEL_W { CAP_SYNCI_SEL_W::new(self, 2) } #[doc = "Bit 5 - Configures the generation of a capture timer sync when reg_cap_synci_en is 1.\\\\0: Invalid, No effect\\\\1: Trigger a capture timer sync, capture timer is loaded with value in phase register"] #[inline(always)] - #[must_use] pub fn cap_sync_sw(&mut self) -> CAP_SYNC_SW_W { CAP_SYNC_SW_W::new(self, 5) } diff --git a/esp32p4/src/mcpwm0/cap_timer_phase.rs b/esp32p4/src/mcpwm0/cap_timer_phase.rs index 5c29435ea2..79a56d9fa0 100644 --- a/esp32p4/src/mcpwm0/cap_timer_phase.rs +++ b/esp32p4/src/mcpwm0/cap_timer_phase.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures phase value for capture timer sync operation."] #[inline(always)] - #[must_use] pub fn cap_phase(&mut self) -> CAP_PHASE_W { CAP_PHASE_W::new(self, 0) } diff --git a/esp32p4/src/mcpwm0/ch.rs b/esp32p4/src/mcpwm0/ch.rs index c01190a69e..5d7b40927c 100644 --- a/esp32p4/src/mcpwm0/ch.rs +++ b/esp32p4/src/mcpwm0/ch.rs @@ -43,6 +43,8 @@ impl CH { &self.gen_force } #[doc = "0x14..0x1c - Actions triggered by events on PWMx%s"] + #[doc = ""] + #[doc = "
`n` is the index of register in the array. `n == 0` corresponds to `GENA` register.
"] #[inline(always)] pub const fn gen(&self, n: usize) -> &GEN { &self.gen[n] diff --git a/esp32p4/src/mcpwm0/ch/carrier_cfg.rs b/esp32p4/src/mcpwm0/ch/carrier_cfg.rs index b4d024becb..222ba0cc91 100644 --- a/esp32p4/src/mcpwm0/ch/carrier_cfg.rs +++ b/esp32p4/src/mcpwm0/ch/carrier_cfg.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configures whether or not to enable carrier%s.\\\\0: Bypassed\\\\1: Enabled"] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 0) } #[doc = "Bits 1:4 - Configures the prescale value of PWM carrier%s clock (PC_clk), so that period of PC_clk = period of PWM_clk * (PWM_CARRIER%s_PRESCALE + 1)"] #[inline(always)] - #[must_use] pub fn prescale(&mut self) -> PRESCALE_W { PRESCALE_W::new(self, 1) } #[doc = "Bits 5:7 - Configures carrier duty. Duty = PWM_CARRIER%s_DUTY / 8"] #[inline(always)] - #[must_use] pub fn duty(&mut self) -> DUTY_W { DUTY_W::new(self, 5) } #[doc = "Bits 8:11 - Configures width of the first pulse. Measurement unit: Periods of the carrier."] #[inline(always)] - #[must_use] pub fn oshtwth(&mut self) -> OSHTWTH_W { OSHTWTH_W::new(self, 8) } #[doc = "Bit 12 - Configures whether or not to invert the output of PWM%s A and PWM%s B for this submodule.\\\\0: Normal\\\\1: Invert"] #[inline(always)] - #[must_use] pub fn out_invert(&mut self) -> OUT_INVERT_W { OUT_INVERT_W::new(self, 12) } #[doc = "Bit 13 - Configures whether or not to invert the input of PWM%s A and PWM%s B for this submodule.\\\\0: Normal\\\\1: Invert"] #[inline(always)] - #[must_use] pub fn in_invert(&mut self) -> IN_INVERT_W { IN_INVERT_W::new(self, 13) } diff --git a/esp32p4/src/mcpwm0/ch/dt_cfg.rs b/esp32p4/src/mcpwm0/ch/dt_cfg.rs index 3f5f8b26aa..716d126fff 100644 --- a/esp32p4/src/mcpwm0/ch/dt_cfg.rs +++ b/esp32p4/src/mcpwm0/ch/dt_cfg.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Configures update method for FED (Falling edge delay) active register.\\\\0: Immediate\\\\Bit0 is set to 1: TEZ\\\\Bit1 is set to 1: TEP\\\\Bit2 is set to 1: Sync\\\\Bit3 is set to 1: Disable the update"] #[inline(always)] - #[must_use] pub fn fed_upmethod(&mut self) -> FED_UPMETHOD_W { FED_UPMETHOD_W::new(self, 0) } #[doc = "Bits 4:7 - Configures update method for RED (rising edge delay) active register.\\\\0: Immediate\\\\Bit0 is set to 1: TEZ\\\\Bit1 is set to 1: TEP\\\\Bit2 is set to 1: Sync\\\\Bit3 is set to 1: Disable the update"] #[inline(always)] - #[must_use] pub fn red_upmethod(&mut self) -> RED_UPMETHOD_W { RED_UPMETHOD_W::new(self, 4) } #[doc = "Bit 8 - Configures S8 in table, dual-edge B mode.\\\\0: fed/red take effect on different path separately\\\\1: fed/red take effect on B path, A out is in bypass or dulpB mode"] #[inline(always)] - #[must_use] pub fn deb_mode(&mut self) -> DEB_MODE_W { DEB_MODE_W::new(self, 8) } #[doc = "Bit 9 - Configures S6 in table."] #[inline(always)] - #[must_use] pub fn a_outswap(&mut self) -> A_OUTSWAP_W { A_OUTSWAP_W::new(self, 9) } #[doc = "Bit 10 - Configures S7 in table."] #[inline(always)] - #[must_use] pub fn b_outswap(&mut self) -> B_OUTSWAP_W { B_OUTSWAP_W::new(self, 10) } #[doc = "Bit 11 - Configures S4 in table."] #[inline(always)] - #[must_use] pub fn red_insel(&mut self) -> RED_INSEL_W { RED_INSEL_W::new(self, 11) } #[doc = "Bit 12 - Configures S5 in table."] #[inline(always)] - #[must_use] pub fn fed_insel(&mut self) -> FED_INSEL_W { FED_INSEL_W::new(self, 12) } #[doc = "Bit 13 - Configures S2 in table."] #[inline(always)] - #[must_use] pub fn red_outinvert(&mut self) -> RED_OUTINVERT_W { RED_OUTINVERT_W::new(self, 13) } #[doc = "Bit 14 - Configures S3 in table."] #[inline(always)] - #[must_use] pub fn fed_outinvert(&mut self) -> FED_OUTINVERT_W { FED_OUTINVERT_W::new(self, 14) } #[doc = "Bit 15 - Configures S1 in table."] #[inline(always)] - #[must_use] pub fn a_outbypass(&mut self) -> A_OUTBYPASS_W { A_OUTBYPASS_W::new(self, 15) } #[doc = "Bit 16 - Configures S0 in table."] #[inline(always)] - #[must_use] pub fn b_outbypass(&mut self) -> B_OUTBYPASS_W { B_OUTBYPASS_W::new(self, 16) } #[doc = "Bit 17 - Configures dead time generator %s clock selection.\\\\0: PWM_clk\\\\1: PT_clk"] #[inline(always)] - #[must_use] pub fn clk_sel(&mut self) -> CLK_SEL_W { CLK_SEL_W::new(self, 17) } diff --git a/esp32p4/src/mcpwm0/ch/dt_fed_cfg.rs b/esp32p4/src/mcpwm0/ch/dt_fed_cfg.rs index 8cdccd8b48..a596a73e5d 100644 --- a/esp32p4/src/mcpwm0/ch/dt_fed_cfg.rs +++ b/esp32p4/src/mcpwm0/ch/dt_fed_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Configures shadow register for FED."] #[inline(always)] - #[must_use] pub fn fed(&mut self) -> FED_W { FED_W::new(self, 0) } diff --git a/esp32p4/src/mcpwm0/ch/dt_red_cfg.rs b/esp32p4/src/mcpwm0/ch/dt_red_cfg.rs index 8f9e423b53..f3fc0ee2dc 100644 --- a/esp32p4/src/mcpwm0/ch/dt_red_cfg.rs +++ b/esp32p4/src/mcpwm0/ch/dt_red_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Configures shadow register for RED."] #[inline(always)] - #[must_use] pub fn red(&mut self) -> RED_W { RED_W::new(self, 0) } diff --git a/esp32p4/src/mcpwm0/ch/fh_cfg0.rs b/esp32p4/src/mcpwm0/ch/fh_cfg0.rs index 9c89cf28f8..5729469828 100644 --- a/esp32p4/src/mcpwm0/ch/fh_cfg0.rs +++ b/esp32p4/src/mcpwm0/ch/fh_cfg0.rs @@ -174,97 +174,81 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configures whether or not to enable software force cycle-by-cycle mode action.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn sw_cbc(&mut self) -> SW_CBC_W { SW_CBC_W::new(self, 0) } #[doc = "Bit 1 - Configures whether or not event_f2 will trigger cycle-by-cycle mode action.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn f2_cbc(&mut self) -> F2_CBC_W { F2_CBC_W::new(self, 1) } #[doc = "Bit 2 - Configures whether or not event_f1 will trigger cycle-by-cycle mode action.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn f1_cbc(&mut self) -> F1_CBC_W { F1_CBC_W::new(self, 2) } #[doc = "Bit 3 - Configures whether or not event_f0 will trigger cycle-by-cycle mode action.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn f0_cbc(&mut self) -> F0_CBC_W { F0_CBC_W::new(self, 3) } #[doc = "Bit 4 - Configures whether or not to enable software force one-shot mode action.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn sw_ost(&mut self) -> SW_OST_W { SW_OST_W::new(self, 4) } #[doc = "Bit 5 - Configures whether or not event_f2 will trigger one-shot mode action.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn f2_ost(&mut self) -> F2_OST_W { F2_OST_W::new(self, 5) } #[doc = "Bit 6 - Configures whether or not event_f1 will trigger one-shot mode action.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn f1_ost(&mut self) -> F1_OST_W { F1_OST_W::new(self, 6) } #[doc = "Bit 7 - Configures whether or not event_f0 will trigger one-shot mode action.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn f0_ost(&mut self) -> F0_OST_W { F0_OST_W::new(self, 7) } #[doc = "Bits 8:9 - Configures cycle-by-cycle mode action on PWM%s A when fault event occurs and timer is decreasing.\\\\0: Do nothing\\\\1: Force low\\\\2: Force high\\\\3: Toggle"] #[inline(always)] - #[must_use] pub fn a_cbc_d(&mut self) -> A_CBC_D_W { A_CBC_D_W::new(self, 8) } #[doc = "Bits 10:11 - Configures cycle-by-cycle mode action on PWM%s A when fault event occurs and timer is increasing.\\\\0: Do nothing\\\\1: Force low\\\\2: Force high\\\\3: Toggle"] #[inline(always)] - #[must_use] pub fn a_cbc_u(&mut self) -> A_CBC_U_W { A_CBC_U_W::new(self, 10) } #[doc = "Bits 12:13 - Configures one-shot mode action on PWM%s A when fault event occurs and timer is decreasing.\\\\0: Do nothing\\\\1: Force low\\\\2: Force high\\\\3: Toggle"] #[inline(always)] - #[must_use] pub fn a_ost_d(&mut self) -> A_OST_D_W { A_OST_D_W::new(self, 12) } #[doc = "Bits 14:15 - Configures one-shot mode action on PWM%s A when fault event occurs and timer is increasing.\\\\0: Do nothing\\\\1: Force low\\\\2: Force high\\\\3: Toggle"] #[inline(always)] - #[must_use] pub fn a_ost_u(&mut self) -> A_OST_U_W { A_OST_U_W::new(self, 14) } #[doc = "Bits 16:17 - Configures cycle-by-cycle mode action on PWM%s B when fault event occurs and timer is decreasing.\\\\0: Do nothing\\\\1: Force low\\\\2: Force high\\\\3: Toggle"] #[inline(always)] - #[must_use] pub fn b_cbc_d(&mut self) -> B_CBC_D_W { B_CBC_D_W::new(self, 16) } #[doc = "Bits 18:19 - Configures cycle-by-cycle mode action on PWM%s B when fault event occurs and timer is increasing.\\\\0: Do nothing\\\\1: Force low\\\\2: Force high\\\\3: Toggle"] #[inline(always)] - #[must_use] pub fn b_cbc_u(&mut self) -> B_CBC_U_W { B_CBC_U_W::new(self, 18) } #[doc = "Bits 20:21 - Configures one-shot mode action on PWM%s B when fault event occurs and timer is decreasing.\\\\0: Do nothing\\\\1: Force low\\\\2: Force high\\\\3: Toggle"] #[inline(always)] - #[must_use] pub fn b_ost_d(&mut self) -> B_OST_D_W { B_OST_D_W::new(self, 20) } #[doc = "Bits 22:23 - Configures one-shot mode action on PWM%s B when fault event occurs and timer is increasing.\\\\0: Do nothing\\\\1: Force low\\\\2: Force high\\\\3: Toggle"] #[inline(always)] - #[must_use] pub fn b_ost_u(&mut self) -> B_OST_U_W { B_OST_U_W::new(self, 22) } diff --git a/esp32p4/src/mcpwm0/ch/fh_cfg1.rs b/esp32p4/src/mcpwm0/ch/fh_cfg1.rs index 4c67ea13ef..f56ab67138 100644 --- a/esp32p4/src/mcpwm0/ch/fh_cfg1.rs +++ b/esp32p4/src/mcpwm0/ch/fh_cfg1.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configures the generation of software one-shot mode action clear. A toggle (software negate its value) triggers a clear for on going one-shot mode action."] #[inline(always)] - #[must_use] pub fn clr_ost(&mut self) -> CLR_OST_W { CLR_OST_W::new(self, 0) } #[doc = "Bits 1:2 - Configures the refresh moment selection of cycle-by-cycle mode action.\\\\0: Select nothing, will not refresh\\\\Bit0 is set to 1: TEZ\\\\Bit1 is set to 1: TEP"] #[inline(always)] - #[must_use] pub fn cbcpulse(&mut self) -> CBCPULSE_W { CBCPULSE_W::new(self, 1) } #[doc = "Bit 3 - Configures the generation of software cycle-by-cycle mode action. A toggle (software negate its value) triggers a cycle-by-cycle mode action."] #[inline(always)] - #[must_use] pub fn force_cbc(&mut self) -> FORCE_CBC_W { FORCE_CBC_W::new(self, 3) } #[doc = "Bit 4 - Configures the generation of software one-shot mode action. A toggle (software negate its value) triggers a one-shot mode action."] #[inline(always)] - #[must_use] pub fn force_ost(&mut self) -> FORCE_OST_W { FORCE_OST_W::new(self, 4) } diff --git a/esp32p4/src/mcpwm0/ch/gen.rs b/esp32p4/src/mcpwm0/ch/gen.rs index 47ad8be1a9..b7c01840c0 100644 --- a/esp32p4/src/mcpwm0/ch/gen.rs +++ b/esp32p4/src/mcpwm0/ch/gen.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Configures action on PWM%s A triggered by event TEZ when timer increasing.\\\\0: No change\\\\1: Low\\\\2: High\\\\3: Toggle"] #[inline(always)] - #[must_use] pub fn utez(&mut self) -> UTEZ_W { UTEZ_W::new(self, 0) } #[doc = "Bits 2:3 - Configures action on PWM%s A triggered by event TEP when timer increasing.\\\\0: No change\\\\1: Low\\\\2: High\\\\3: Toggle"] #[inline(always)] - #[must_use] pub fn utep(&mut self) -> UTEP_W { UTEP_W::new(self, 2) } #[doc = "Bits 4:5 - Configures action on PWM%s A triggered by event TEA when timer increasing.\\\\0: No change\\\\1: Low\\\\2: High\\\\3: Toggle"] #[inline(always)] - #[must_use] pub fn utea(&mut self) -> UTEA_W { UTEA_W::new(self, 4) } #[doc = "Bits 6:7 - Configures action on PWM%s A triggered by event TEB when timer increasing.\\\\0: No change\\\\1: Low\\\\2: High\\\\3: Toggle"] #[inline(always)] - #[must_use] pub fn uteb(&mut self) -> UTEB_W { UTEB_W::new(self, 6) } #[doc = "Bits 8:9 - Configures action on PWM%s A triggered by event_t0 when timer increasing.\\\\0: No change\\\\1: Low\\\\2: High\\\\3: Toggle"] #[inline(always)] - #[must_use] pub fn ut0(&mut self) -> UT0_W { UT0_W::new(self, 8) } #[doc = "Bits 10:11 - Configures action on PWM%s A triggered by event_t1 when timer increasing.\\\\0: No change\\\\1: Low\\\\2: High\\\\3: Toggle"] #[inline(always)] - #[must_use] pub fn ut1(&mut self) -> UT1_W { UT1_W::new(self, 10) } #[doc = "Bits 12:13 - Configures action on PWM%s A triggered by event TEZ when timer decreasing.\\\\0: No change\\\\1: Low\\\\2: High\\\\3: Toggle"] #[inline(always)] - #[must_use] pub fn dtez(&mut self) -> DTEZ_W { DTEZ_W::new(self, 12) } #[doc = "Bits 14:15 - Configures action on PWM%s A triggered by event TEP when timer decreasing.\\\\0: No change\\\\1: Low\\\\2: High\\\\3: Toggle"] #[inline(always)] - #[must_use] pub fn dtep(&mut self) -> DTEP_W { DTEP_W::new(self, 14) } #[doc = "Bits 16:17 - Configures action on PWM%s A triggered by event TEA when timer decreasing.\\\\0: No change\\\\1: Low\\\\2: High\\\\3: Toggle"] #[inline(always)] - #[must_use] pub fn dtea(&mut self) -> DTEA_W { DTEA_W::new(self, 16) } #[doc = "Bits 18:19 - Configures action on PWM%s A triggered by event TEB when timer decreasing.\\\\0: No change\\\\1: Low\\\\2: High\\\\3: Toggle"] #[inline(always)] - #[must_use] pub fn dteb(&mut self) -> DTEB_W { DTEB_W::new(self, 18) } #[doc = "Bits 20:21 - Configures action on PWM%s A triggered by event_t0 when timer decreasing.\\\\0: No change\\\\1: Low\\\\2: High\\\\3: Toggle"] #[inline(always)] - #[must_use] pub fn dt0(&mut self) -> DT0_W { DT0_W::new(self, 20) } #[doc = "Bits 22:23 - Configures action on PWM%s A triggered by event_t1 when timer decreasing.\\\\0: No change\\\\1: Low\\\\2: High\\\\3: Toggle"] #[inline(always)] - #[must_use] pub fn dt1(&mut self) -> DT1_W { DT1_W::new(self, 22) } diff --git a/esp32p4/src/mcpwm0/ch/gen_cfg0.rs b/esp32p4/src/mcpwm0/ch/gen_cfg0.rs index eb03f5e04e..759c6b9787 100644 --- a/esp32p4/src/mcpwm0/ch/gen_cfg0.rs +++ b/esp32p4/src/mcpwm0/ch/gen_cfg0.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Configures update method for PWM generator %s's active register.\\\\0: Immediately\\\\Bit0 is set to 1: TEZ\\\\Bit1 is set to 1: TEP\\\\Bit2 is set to 1: Sync\\\\Bit3 is set to 1: Disable the update"] #[inline(always)] - #[must_use] pub fn cfg_upmethod(&mut self) -> CFG_UPMETHOD_W { CFG_UPMETHOD_W::new(self, 0) } #[doc = "Bits 4:6 - Configures source selection for PWM generator %s event_t0, take effect immediately.\\\\0: fault_event0\\\\1: fault_event1\\\\2: fault_event2\\\\3: sync_taken\\\\4: Invalid, Select nothing"] #[inline(always)] - #[must_use] pub fn t0_sel(&mut self) -> T0_SEL_W { T0_SEL_W::new(self, 4) } #[doc = "Bits 7:9 - Configures source selection for PWM generator %s event_t1, take effect immediately.\\\\0: fault_event0\\\\1: fault_event1\\\\2: fault_event2\\\\3: sync_taken\\\\4: Invalid, Select nothing"] #[inline(always)] - #[must_use] pub fn t1_sel(&mut self) -> T1_SEL_W { T1_SEL_W::new(self, 7) } diff --git a/esp32p4/src/mcpwm0/ch/gen_force.rs b/esp32p4/src/mcpwm0/ch/gen_force.rs index f9031e6048..1b0144a24b 100644 --- a/esp32p4/src/mcpwm0/ch/gen_force.rs +++ b/esp32p4/src/mcpwm0/ch/gen_force.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - Configures update method for continuous software force of PWM generator%s.\\\\0: Immediately\\\\Bit0 is set to 1: TEZ\\\\Bit1 is set to 1: TEP\\\\Bit2 is set to 1: TEA\\\\Bit3 is set to 1: TEB\\\\Bit4 is set to 1: Sync\\\\Bit5 is set to 1: Disable update. TEA/B here and below means an event generated when the timer's value equals to that of register A/B."] #[inline(always)] - #[must_use] pub fn cntuforce_upmethod(&mut self) -> CNTUFORCE_UPMETHOD_W { CNTUFORCE_UPMETHOD_W::new(self, 0) } #[doc = "Bits 6:7 - Configures continuous software force mode for PWM%s A.\\\\0: Disabled\\\\1: Low\\\\2: High\\\\3: Disabled"] #[inline(always)] - #[must_use] pub fn a_cntuforce_mode(&mut self) -> A_CNTUFORCE_MODE_W { A_CNTUFORCE_MODE_W::new(self, 6) } #[doc = "Bits 8:9 - Configures continuous software force mode for PWM%s B.\\\\0: Disabled\\\\1: Low\\\\2: High\\\\3: Disabled"] #[inline(always)] - #[must_use] pub fn b_cntuforce_mode(&mut self) -> B_CNTUFORCE_MODE_W { B_CNTUFORCE_MODE_W::new(self, 8) } #[doc = "Bit 10 - Configures the generation of non-continuous immediate software-force event for PWM%s A, a toggle will trigger a force event."] #[inline(always)] - #[must_use] pub fn a_nciforce(&mut self) -> A_NCIFORCE_W { A_NCIFORCE_W::new(self, 10) } #[doc = "Bits 11:12 - Configures non-continuous immediate software force mode for PWM%s A.\\\\0: Disabled\\\\1: Low\\\\2: High\\\\3: Disabled"] #[inline(always)] - #[must_use] pub fn a_nciforce_mode(&mut self) -> A_NCIFORCE_MODE_W { A_NCIFORCE_MODE_W::new(self, 11) } #[doc = "Bit 13 - Configures the generation of non-continuous immediate software-force event for PWM%s B, a toggle will trigger a force event."] #[inline(always)] - #[must_use] pub fn b_nciforce(&mut self) -> B_NCIFORCE_W { B_NCIFORCE_W::new(self, 13) } #[doc = "Bits 14:15 - Configures non-continuous immediate software force mode for PWM%s B.\\\\0: Disabled\\\\1: Low\\\\2: High\\\\3: Disabled"] #[inline(always)] - #[must_use] pub fn b_nciforce_mode(&mut self) -> B_NCIFORCE_MODE_W { B_NCIFORCE_MODE_W::new(self, 14) } diff --git a/esp32p4/src/mcpwm0/ch/gen_stmp_cfg.rs b/esp32p4/src/mcpwm0/ch/gen_stmp_cfg.rs index 29c0a981da..ddda84f157 100644 --- a/esp32p4/src/mcpwm0/ch/gen_stmp_cfg.rs +++ b/esp32p4/src/mcpwm0/ch/gen_stmp_cfg.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Configures the update method for PWM generator %s time stamp A's active register.\\\\0: Immediately\\\\Bit0 is set to 1: TEZ\\\\Bit1 is set to 1: TEP\\\\Bit2 is set to 1: Sync\\\\Bit3 is set to 1: Disable the update"] #[inline(always)] - #[must_use] pub fn a_upmethod(&mut self) -> A_UPMETHOD_W { A_UPMETHOD_W::new(self, 0) } #[doc = "Bits 4:7 - Configures the update method for PWM generator %s time stamp B's active register.\\\\0: Immediately\\\\Bit0 is set to 1: TEZ\\\\Bit1 is set to 1: TEP\\\\Bit2 is set to 1: Sync\\\\Bit3 is set to 1: Disable the update"] #[inline(always)] - #[must_use] pub fn b_upmethod(&mut self) -> B_UPMETHOD_W { B_UPMETHOD_W::new(self, 4) } #[doc = "Bit 8 - Represents whether or not generator%s time stamp A's shadow reg is transferred.\\\\0: A's active reg has been updated with shadow register latest value.\\\\1: A's shadow reg is filled and waiting to be transferred to A's active reg"] #[inline(always)] - #[must_use] pub fn a_shdw_full(&mut self) -> A_SHDW_FULL_W { A_SHDW_FULL_W::new(self, 8) } #[doc = "Bit 9 - Represents whether or not generator%s time stamp B's shadow reg is transferred.\\\\0: B's active reg has been updated with shadow register latest value.\\\\1: B's shadow reg is filled and waiting to be transferred to B's active reg"] #[inline(always)] - #[must_use] pub fn b_shdw_full(&mut self) -> B_SHDW_FULL_W { B_SHDW_FULL_W::new(self, 9) } diff --git a/esp32p4/src/mcpwm0/ch/gen_tstmp_a.rs b/esp32p4/src/mcpwm0/ch/gen_tstmp_a.rs index 7d83281924..b55f6ecc67 100644 --- a/esp32p4/src/mcpwm0/ch/gen_tstmp_a.rs +++ b/esp32p4/src/mcpwm0/ch/gen_tstmp_a.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Configures the value of PWM generator %s time stamp A's shadow register."] #[inline(always)] - #[must_use] pub fn a(&mut self) -> A_W { A_W::new(self, 0) } diff --git a/esp32p4/src/mcpwm0/ch/gen_tstmp_b.rs b/esp32p4/src/mcpwm0/ch/gen_tstmp_b.rs index 8c8ba28cd8..1641cbd530 100644 --- a/esp32p4/src/mcpwm0/ch/gen_tstmp_b.rs +++ b/esp32p4/src/mcpwm0/ch/gen_tstmp_b.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Configures the value of PWM generator %s time stamp B's shadow register."] #[inline(always)] - #[must_use] pub fn b(&mut self) -> B_W { B_W::new(self, 0) } diff --git a/esp32p4/src/mcpwm0/clk.rs b/esp32p4/src/mcpwm0/clk.rs index a543ea1609..dc750f930f 100644 --- a/esp32p4/src/mcpwm0/clk.rs +++ b/esp32p4/src/mcpwm0/clk.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configures whether or not to open register clock gate.\\\\0: Open the clock gate only when application writes registers\\\\1: Force open the clock gate for register"] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 0) } diff --git a/esp32p4/src/mcpwm0/clk_cfg.rs b/esp32p4/src/mcpwm0/clk_cfg.rs index 476e98b1fd..6f25030658 100644 --- a/esp32p4/src/mcpwm0/clk_cfg.rs +++ b/esp32p4/src/mcpwm0/clk_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Configures the prescaler value of clock, so that the period of PWM_clk = 6.25ns * (PWM_CLK_PRESCALE + 1)."] #[inline(always)] - #[must_use] pub fn clk_prescale(&mut self) -> CLK_PRESCALE_W { CLK_PRESCALE_W::new(self, 0) } diff --git a/esp32p4/src/mcpwm0/evt_en.rs b/esp32p4/src/mcpwm0/evt_en.rs index 7da6b891e5..b751acd3b6 100644 --- a/esp32p4/src/mcpwm0/evt_en.rs +++ b/esp32p4/src/mcpwm0/evt_en.rs @@ -314,181 +314,151 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configures whether or not to enable timer0 stop event generate.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn timer0_stop(&mut self) -> TIMER0_STOP_W { TIMER0_STOP_W::new(self, 0) } #[doc = "Bit 1 - Configures whether or not to enable timer1 stop event generate.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn timer1_stop(&mut self) -> TIMER1_STOP_W { TIMER1_STOP_W::new(self, 1) } #[doc = "Bit 2 - Configures whether or not to enable timer2 stop event generate.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn timer2_stop(&mut self) -> TIMER2_STOP_W { TIMER2_STOP_W::new(self, 2) } #[doc = "Bit 3 - Configures whether or not to enable timer0 equal zero event generate.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn timer0_tez(&mut self) -> TIMER0_TEZ_W { TIMER0_TEZ_W::new(self, 3) } #[doc = "Bit 4 - Configures whether or not to enable timer1 equal zero event generate.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn timer1_tez(&mut self) -> TIMER1_TEZ_W { TIMER1_TEZ_W::new(self, 4) } #[doc = "Bit 5 - Configures whether or not to enable timer2 equal zero event generate.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn timer2_tez(&mut self) -> TIMER2_TEZ_W { TIMER2_TEZ_W::new(self, 5) } #[doc = "Bit 6 - Configures whether or not to enable timer0 equal period event generate.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn timer0_tep(&mut self) -> TIMER0_TEP_W { TIMER0_TEP_W::new(self, 6) } #[doc = "Bit 7 - Configures whether or not to enable timer1 equal period event generate.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn timer1_tep(&mut self) -> TIMER1_TEP_W { TIMER1_TEP_W::new(self, 7) } #[doc = "Bit 8 - Configures whether or not to enable timer2 equal period event generate.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn timer2_tep(&mut self) -> TIMER2_TEP_W { TIMER2_TEP_W::new(self, 8) } #[doc = "Bit 9 - Configures whether or not to enable PWM generator0 timer equal a event generate.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn op0_tea(&mut self) -> OP0_TEA_W { OP0_TEA_W::new(self, 9) } #[doc = "Bit 10 - Configures whether or not to enable PWM generator1 timer equal a event generate.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn op1_tea(&mut self) -> OP1_TEA_W { OP1_TEA_W::new(self, 10) } #[doc = "Bit 11 - Configures whether or not to enable PWM generator2 timer equal a event generate.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn op2_tea(&mut self) -> OP2_TEA_W { OP2_TEA_W::new(self, 11) } #[doc = "Bit 12 - Configures whether or not to enable PWM generator0 timer equal b event generate.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn op0_teb(&mut self) -> OP0_TEB_W { OP0_TEB_W::new(self, 12) } #[doc = "Bit 13 - Configures whether or not to enable PWM generator1 timer equal b event generate.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn op1_teb(&mut self) -> OP1_TEB_W { OP1_TEB_W::new(self, 13) } #[doc = "Bit 14 - Configures whether or not to enable PWM generator2 timer equal b event generate.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn op2_teb(&mut self) -> OP2_TEB_W { OP2_TEB_W::new(self, 14) } #[doc = "Bit 15 - Configures whether or not to enable fault0 event generate.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn f0(&mut self) -> F0_W { F0_W::new(self, 15) } #[doc = "Bit 16 - Configures whether or not to enable fault1 event generate.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn f1(&mut self) -> F1_W { F1_W::new(self, 16) } #[doc = "Bit 17 - Configures whether or not to enable fault2 event generate.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn f2(&mut self) -> F2_W { F2_W::new(self, 17) } #[doc = "Bit 18 - Configures whether or not to enable fault0 clear event generate.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn f0_clr(&mut self) -> F0_CLR_W { F0_CLR_W::new(self, 18) } #[doc = "Bit 19 - Configures whether or not to enable fault1 clear event generate.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn f1_clr(&mut self) -> F1_CLR_W { F1_CLR_W::new(self, 19) } #[doc = "Bit 20 - Configures whether or not to enable fault2 clear event generate.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn f2_clr(&mut self) -> F2_CLR_W { F2_CLR_W::new(self, 20) } #[doc = "Bit 21 - Configures whether or not to enable cycle-by-cycle trip0 event generate.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn tz0_cbc(&mut self) -> TZ0_CBC_W { TZ0_CBC_W::new(self, 21) } #[doc = "Bit 22 - Configures whether or not to enable cycle-by-cycle trip1 event generate.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn tz1_cbc(&mut self) -> TZ1_CBC_W { TZ1_CBC_W::new(self, 22) } #[doc = "Bit 23 - Configures whether or not to enable cycle-by-cycle trip2 event generate.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn tz2_cbc(&mut self) -> TZ2_CBC_W { TZ2_CBC_W::new(self, 23) } #[doc = "Bit 24 - Configures whether or not to enable one-shot trip0 event generate.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn tz0_ost(&mut self) -> TZ0_OST_W { TZ0_OST_W::new(self, 24) } #[doc = "Bit 25 - Configures whether or not to enable one-shot trip1 event generate.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn tz1_ost(&mut self) -> TZ1_OST_W { TZ1_OST_W::new(self, 25) } #[doc = "Bit 26 - Configures whether or not to enable one-shot trip2 event generate.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn tz2_ost(&mut self) -> TZ2_OST_W { TZ2_OST_W::new(self, 26) } #[doc = "Bit 27 - Configures whether or not to enable capture0 event generate.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn cap0(&mut self) -> CAP0_W { CAP0_W::new(self, 27) } #[doc = "Bit 28 - Configures whether or not to enable capture1 event generate.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn cap1(&mut self) -> CAP1_W { CAP1_W::new(self, 28) } #[doc = "Bit 29 - Configures whether or not to enable capture2 event generate.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn cap2(&mut self) -> CAP2_W { CAP2_W::new(self, 29) } diff --git a/esp32p4/src/mcpwm0/evt_en2.rs b/esp32p4/src/mcpwm0/evt_en2.rs index 85c5e61d37..9e67a98625 100644 --- a/esp32p4/src/mcpwm0/evt_en2.rs +++ b/esp32p4/src/mcpwm0/evt_en2.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configures whether or not to enable PWM generator0 timer equal OP0_TSTMP_E1_REG event generate.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn op0_tee1(&mut self) -> OP0_TEE1_W { OP0_TEE1_W::new(self, 0) } #[doc = "Bit 1 - Configures whether or not to enable PWM generator1 timer equal OP1_TSTMP_E1_REG event generate.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn op1_tee1(&mut self) -> OP1_TEE1_W { OP1_TEE1_W::new(self, 1) } #[doc = "Bit 2 - Configures whether or not to enable PWM generator2 timer equal OP2_TSTMP_E1_REG event generate.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn op2_tee1(&mut self) -> OP2_TEE1_W { OP2_TEE1_W::new(self, 2) } #[doc = "Bit 3 - Configures whether or not to enable PWM generator0 timer equal OP0_TSTMP_E2_REG event generate.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn op0_tee2(&mut self) -> OP0_TEE2_W { OP0_TEE2_W::new(self, 3) } #[doc = "Bit 4 - Configures whether or not to enable PWM generator1 timer equal OP1_TSTMP_E2_REG event generate.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn op1_tee2(&mut self) -> OP1_TEE2_W { OP1_TEE2_W::new(self, 4) } #[doc = "Bit 5 - Configures whether or not to enable PWM generator2 timer equal OP2_TSTMP_E2_REG event generate.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn op2_tee2(&mut self) -> OP2_TEE2_W { OP2_TEE2_W::new(self, 5) } diff --git a/esp32p4/src/mcpwm0/fault_detect.rs b/esp32p4/src/mcpwm0/fault_detect.rs index 229ba72f19..a6c58cf844 100644 --- a/esp32p4/src/mcpwm0/fault_detect.rs +++ b/esp32p4/src/mcpwm0/fault_detect.rs @@ -98,37 +98,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configures whether or not to enable event_f0 generation.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn f0_en(&mut self) -> F0_EN_W { F0_EN_W::new(self, 0) } #[doc = "Bit 1 - Configures whether or not to enable event_f1 generation.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn f1_en(&mut self) -> F1_EN_W { F1_EN_W::new(self, 1) } #[doc = "Bit 2 - Configures whether or not to enable event_f2 generation.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn f2_en(&mut self) -> F2_EN_W { F2_EN_W::new(self, 2) } #[doc = "Bit 3 - Configures event_f0 trigger polarity on FAULT0 source from GPIO matrix.\\\\0: Level low\\\\1: Level high"] #[inline(always)] - #[must_use] pub fn f0_pole(&mut self) -> F0_POLE_W { F0_POLE_W::new(self, 3) } #[doc = "Bit 4 - Configures event_f1 trigger polarity on FAULT1 source from GPIO matrix.\\\\0: Level low\\\\1: Level high"] #[inline(always)] - #[must_use] pub fn f1_pole(&mut self) -> F1_POLE_W { F1_POLE_W::new(self, 4) } #[doc = "Bit 5 - Configures event_f2 trigger polarity on FAULT2 source from GPIO matrix.\\\\0: Level low\\\\1: Level high"] #[inline(always)] - #[must_use] pub fn f2_pole(&mut self) -> F2_POLE_W { F2_POLE_W::new(self, 5) } diff --git a/esp32p4/src/mcpwm0/int_clr.rs b/esp32p4/src/mcpwm0/int_clr.rs index 67295336b5..c9b51a3d91 100644 --- a/esp32p4/src/mcpwm0/int_clr.rs +++ b/esp32p4/src/mcpwm0/int_clr.rs @@ -69,181 +69,151 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Clear bit: Write 1 to clear the interrupt triggered when the timer 0 stops."] #[inline(always)] - #[must_use] pub fn timer0_stop(&mut self) -> TIMER0_STOP_W { TIMER0_STOP_W::new(self, 0) } #[doc = "Bit 1 - Clear bit: Write 1 to clear the interrupt triggered when the timer 1 stops."] #[inline(always)] - #[must_use] pub fn timer1_stop(&mut self) -> TIMER1_STOP_W { TIMER1_STOP_W::new(self, 1) } #[doc = "Bit 2 - Clear bit: Write 1 to clear the interrupt triggered when the timer 2 stops."] #[inline(always)] - #[must_use] pub fn timer2_stop(&mut self) -> TIMER2_STOP_W { TIMER2_STOP_W::new(self, 2) } #[doc = "Bit 3 - Clear bit: Write 1 to clear the interrupt triggered by a PWM timer 0 TEZ event."] #[inline(always)] - #[must_use] pub fn timer0_tez(&mut self) -> TIMER0_TEZ_W { TIMER0_TEZ_W::new(self, 3) } #[doc = "Bit 4 - Clear bit: Write 1 to clear the interrupt triggered by a PWM timer 1 TEZ event."] #[inline(always)] - #[must_use] pub fn timer1_tez(&mut self) -> TIMER1_TEZ_W { TIMER1_TEZ_W::new(self, 4) } #[doc = "Bit 5 - Clear bit: Write 1 to clear the interrupt triggered by a PWM timer 2 TEZ event."] #[inline(always)] - #[must_use] pub fn timer2_tez(&mut self) -> TIMER2_TEZ_W { TIMER2_TEZ_W::new(self, 5) } #[doc = "Bit 6 - Clear bit: Write 1 to clear the interrupt triggered by a PWM timer 0 TEP event."] #[inline(always)] - #[must_use] pub fn timer0_tep(&mut self) -> TIMER0_TEP_W { TIMER0_TEP_W::new(self, 6) } #[doc = "Bit 7 - Clear bit: Write 1 to clear the interrupt triggered by a PWM timer 1 TEP event."] #[inline(always)] - #[must_use] pub fn timer1_tep(&mut self) -> TIMER1_TEP_W { TIMER1_TEP_W::new(self, 7) } #[doc = "Bit 8 - Clear bit: Write 1 to clear the interrupt triggered by a PWM timer 2 TEP event."] #[inline(always)] - #[must_use] pub fn timer2_tep(&mut self) -> TIMER2_TEP_W { TIMER2_TEP_W::new(self, 8) } #[doc = "Bit 9 - Clear bit: Write 1 to clear the interrupt triggered when event_f0 starts."] #[inline(always)] - #[must_use] pub fn fault0(&mut self) -> FAULT0_W { FAULT0_W::new(self, 9) } #[doc = "Bit 10 - Clear bit: Write 1 to clear the interrupt triggered when event_f1 starts."] #[inline(always)] - #[must_use] pub fn fault1(&mut self) -> FAULT1_W { FAULT1_W::new(self, 10) } #[doc = "Bit 11 - Clear bit: Write 1 to clear the interrupt triggered when event_f2 starts."] #[inline(always)] - #[must_use] pub fn fault2(&mut self) -> FAULT2_W { FAULT2_W::new(self, 11) } #[doc = "Bit 12 - Clear bit: Write 1 to clear the interrupt triggered when event_f0 clears."] #[inline(always)] - #[must_use] pub fn fault0_clr(&mut self) -> FAULT0_CLR_W { FAULT0_CLR_W::new(self, 12) } #[doc = "Bit 13 - Clear bit: Write 1 to clear the interrupt triggered when event_f1 clears."] #[inline(always)] - #[must_use] pub fn fault1_clr(&mut self) -> FAULT1_CLR_W { FAULT1_CLR_W::new(self, 13) } #[doc = "Bit 14 - Clear bit: Write 1 to clear the interrupt triggered when event_f2 clears."] #[inline(always)] - #[must_use] pub fn fault2_clr(&mut self) -> FAULT2_CLR_W { FAULT2_CLR_W::new(self, 14) } #[doc = "Bit 15 - Clear bit: Write 1 to clear the interrupt triggered by a PWM operator 0 TEA event"] #[inline(always)] - #[must_use] pub fn cmpr0_tea(&mut self) -> CMPR0_TEA_W { CMPR0_TEA_W::new(self, 15) } #[doc = "Bit 16 - Clear bit: Write 1 to clear the interrupt triggered by a PWM operator 1 TEA event"] #[inline(always)] - #[must_use] pub fn cmpr1_tea(&mut self) -> CMPR1_TEA_W { CMPR1_TEA_W::new(self, 16) } #[doc = "Bit 17 - Clear bit: Write 1 to clear the interrupt triggered by a PWM operator 2 TEA event"] #[inline(always)] - #[must_use] pub fn cmpr2_tea(&mut self) -> CMPR2_TEA_W { CMPR2_TEA_W::new(self, 17) } #[doc = "Bit 18 - Clear bit: Write 1 to clear the interrupt triggered by a PWM operator 0 TEB event"] #[inline(always)] - #[must_use] pub fn cmpr0_teb(&mut self) -> CMPR0_TEB_W { CMPR0_TEB_W::new(self, 18) } #[doc = "Bit 19 - Clear bit: Write 1 to clear the interrupt triggered by a PWM operator 1 TEB event"] #[inline(always)] - #[must_use] pub fn cmpr1_teb(&mut self) -> CMPR1_TEB_W { CMPR1_TEB_W::new(self, 19) } #[doc = "Bit 20 - Clear bit: Write 1 to clear the interrupt triggered by a PWM operator 2 TEB event"] #[inline(always)] - #[must_use] pub fn cmpr2_teb(&mut self) -> CMPR2_TEB_W { CMPR2_TEB_W::new(self, 20) } #[doc = "Bit 21 - Clear bit: Write 1 to clear the interrupt triggered by a cycle-by-cycle mode action on PWM0."] #[inline(always)] - #[must_use] pub fn tz0_cbc(&mut self) -> TZ0_CBC_W { TZ0_CBC_W::new(self, 21) } #[doc = "Bit 22 - Clear bit: Write 1 to clear the interrupt triggered by a cycle-by-cycle mode action on PWM1."] #[inline(always)] - #[must_use] pub fn tz1_cbc(&mut self) -> TZ1_CBC_W { TZ1_CBC_W::new(self, 22) } #[doc = "Bit 23 - Clear bit: Write 1 to clear the interrupt triggered by a cycle-by-cycle mode action on PWM2."] #[inline(always)] - #[must_use] pub fn tz2_cbc(&mut self) -> TZ2_CBC_W { TZ2_CBC_W::new(self, 23) } #[doc = "Bit 24 - Clear bit: Write 1 to clear the interrupt triggered by a one-shot mode action on PWM0."] #[inline(always)] - #[must_use] pub fn tz0_ost(&mut self) -> TZ0_OST_W { TZ0_OST_W::new(self, 24) } #[doc = "Bit 25 - Clear bit: Write 1 to clear the interrupt triggered by a one-shot mode action on PWM1."] #[inline(always)] - #[must_use] pub fn tz1_ost(&mut self) -> TZ1_OST_W { TZ1_OST_W::new(self, 25) } #[doc = "Bit 26 - Clear bit: Write 1 to clear the interrupt triggered by a one-shot mode action on PWM2."] #[inline(always)] - #[must_use] pub fn tz2_ost(&mut self) -> TZ2_OST_W { TZ2_OST_W::new(self, 26) } #[doc = "Bit 27 - Clear bit: Write 1 to clear the interrupt triggered by capture on CAP0."] #[inline(always)] - #[must_use] pub fn cap0(&mut self) -> CAP0_W { CAP0_W::new(self, 27) } #[doc = "Bit 28 - Clear bit: Write 1 to clear the interrupt triggered by capture on CAP1."] #[inline(always)] - #[must_use] pub fn cap1(&mut self) -> CAP1_W { CAP1_W::new(self, 28) } #[doc = "Bit 29 - Clear bit: Write 1 to clear the interrupt triggered by capture on CAP2."] #[inline(always)] - #[must_use] pub fn cap2(&mut self) -> CAP2_W { CAP2_W::new(self, 29) } diff --git a/esp32p4/src/mcpwm0/int_ena.rs b/esp32p4/src/mcpwm0/int_ena.rs index 70ba7cc431..74de14eccf 100644 --- a/esp32p4/src/mcpwm0/int_ena.rs +++ b/esp32p4/src/mcpwm0/int_ena.rs @@ -314,181 +314,151 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Enable bit: Write 1 to enable the interrupt triggered when the timer 0 stops."] #[inline(always)] - #[must_use] pub fn timer0_stop(&mut self) -> TIMER0_STOP_W { TIMER0_STOP_W::new(self, 0) } #[doc = "Bit 1 - Enable bit: Write 1 to enable the interrupt triggered when the timer 1 stops."] #[inline(always)] - #[must_use] pub fn timer1_stop(&mut self) -> TIMER1_STOP_W { TIMER1_STOP_W::new(self, 1) } #[doc = "Bit 2 - Enable bit: Write 1 to enable the interrupt triggered when the timer 2 stops."] #[inline(always)] - #[must_use] pub fn timer2_stop(&mut self) -> TIMER2_STOP_W { TIMER2_STOP_W::new(self, 2) } #[doc = "Bit 3 - Enable bit: Write 1 to enable the interrupt triggered by a PWM timer 0 TEZ event."] #[inline(always)] - #[must_use] pub fn timer0_tez(&mut self) -> TIMER0_TEZ_W { TIMER0_TEZ_W::new(self, 3) } #[doc = "Bit 4 - Enable bit: Write 1 to enable the interrupt triggered by a PWM timer 1 TEZ event."] #[inline(always)] - #[must_use] pub fn timer1_tez(&mut self) -> TIMER1_TEZ_W { TIMER1_TEZ_W::new(self, 4) } #[doc = "Bit 5 - Enable bit: Write 1 to enable the interrupt triggered by a PWM timer 2 TEZ event."] #[inline(always)] - #[must_use] pub fn timer2_tez(&mut self) -> TIMER2_TEZ_W { TIMER2_TEZ_W::new(self, 5) } #[doc = "Bit 6 - Enable bit: Write 1 to enable the interrupt triggered by a PWM timer 0 TEP event."] #[inline(always)] - #[must_use] pub fn timer0_tep(&mut self) -> TIMER0_TEP_W { TIMER0_TEP_W::new(self, 6) } #[doc = "Bit 7 - Enable bit: Write 1 to enable the interrupt triggered by a PWM timer 1 TEP event."] #[inline(always)] - #[must_use] pub fn timer1_tep(&mut self) -> TIMER1_TEP_W { TIMER1_TEP_W::new(self, 7) } #[doc = "Bit 8 - Enable bit: Write 1 to enable the interrupt triggered by a PWM timer 2 TEP event."] #[inline(always)] - #[must_use] pub fn timer2_tep(&mut self) -> TIMER2_TEP_W { TIMER2_TEP_W::new(self, 8) } #[doc = "Bit 9 - Enable bit: Write 1 to enable the interrupt triggered when event_f0 starts."] #[inline(always)] - #[must_use] pub fn fault0(&mut self) -> FAULT0_W { FAULT0_W::new(self, 9) } #[doc = "Bit 10 - Enable bit: Write 1 to enable the interrupt triggered when event_f1 starts."] #[inline(always)] - #[must_use] pub fn fault1(&mut self) -> FAULT1_W { FAULT1_W::new(self, 10) } #[doc = "Bit 11 - Enable bit: Write 1 to enable the interrupt triggered when event_f2 starts."] #[inline(always)] - #[must_use] pub fn fault2(&mut self) -> FAULT2_W { FAULT2_W::new(self, 11) } #[doc = "Bit 12 - Enable bit: Write 1 to enable the interrupt triggered when event_f0 clears."] #[inline(always)] - #[must_use] pub fn fault0_clr(&mut self) -> FAULT0_CLR_W { FAULT0_CLR_W::new(self, 12) } #[doc = "Bit 13 - Enable bit: Write 1 to enable the interrupt triggered when event_f1 clears."] #[inline(always)] - #[must_use] pub fn fault1_clr(&mut self) -> FAULT1_CLR_W { FAULT1_CLR_W::new(self, 13) } #[doc = "Bit 14 - Enable bit: Write 1 to enable the interrupt triggered when event_f2 clears."] #[inline(always)] - #[must_use] pub fn fault2_clr(&mut self) -> FAULT2_CLR_W { FAULT2_CLR_W::new(self, 14) } #[doc = "Bit 15 - Enable bit: Write 1 to enable the interrupt triggered by a PWM operator 0 TEA event."] #[inline(always)] - #[must_use] pub fn cmpr0_tea(&mut self) -> CMPR0_TEA_W { CMPR0_TEA_W::new(self, 15) } #[doc = "Bit 16 - Enable bit: Write 1 to enable the interrupt triggered by a PWM operator 1 TEA event."] #[inline(always)] - #[must_use] pub fn cmpr1_tea(&mut self) -> CMPR1_TEA_W { CMPR1_TEA_W::new(self, 16) } #[doc = "Bit 17 - Enable bit: Write 1 to enable the interrupt triggered by a PWM operator 2 TEA event."] #[inline(always)] - #[must_use] pub fn cmpr2_tea(&mut self) -> CMPR2_TEA_W { CMPR2_TEA_W::new(self, 17) } #[doc = "Bit 18 - Enable bit: Write 1 to enable the interrupt triggered by a PWM operator 0 TEB event."] #[inline(always)] - #[must_use] pub fn cmpr0_teb(&mut self) -> CMPR0_TEB_W { CMPR0_TEB_W::new(self, 18) } #[doc = "Bit 19 - Enable bit: Write 1 to enable the interrupt triggered by a PWM operator 1 TEB event."] #[inline(always)] - #[must_use] pub fn cmpr1_teb(&mut self) -> CMPR1_TEB_W { CMPR1_TEB_W::new(self, 19) } #[doc = "Bit 20 - Enable bit: Write 1 to enable the interrupt triggered by a PWM operator 2 TEB event."] #[inline(always)] - #[must_use] pub fn cmpr2_teb(&mut self) -> CMPR2_TEB_W { CMPR2_TEB_W::new(self, 20) } #[doc = "Bit 21 - Enable bit: Write 1 to enable the interrupt triggered by a cycle-by-cycle mode action on PWM0."] #[inline(always)] - #[must_use] pub fn tz0_cbc(&mut self) -> TZ0_CBC_W { TZ0_CBC_W::new(self, 21) } #[doc = "Bit 22 - Enable bit: Write 1 to enable the interrupt triggered by a cycle-by-cycle mode action on PWM1."] #[inline(always)] - #[must_use] pub fn tz1_cbc(&mut self) -> TZ1_CBC_W { TZ1_CBC_W::new(self, 22) } #[doc = "Bit 23 - Enable bit: Write 1 to enable the interrupt triggered by a cycle-by-cycle mode action on PWM2."] #[inline(always)] - #[must_use] pub fn tz2_cbc(&mut self) -> TZ2_CBC_W { TZ2_CBC_W::new(self, 23) } #[doc = "Bit 24 - Enable bit: Write 1 to enable the interrupt triggered by a one-shot mode action on PWM0."] #[inline(always)] - #[must_use] pub fn tz0_ost(&mut self) -> TZ0_OST_W { TZ0_OST_W::new(self, 24) } #[doc = "Bit 25 - Enable bit: Write 1 to enable the interrupt triggered by a one-shot mode action on PWM1."] #[inline(always)] - #[must_use] pub fn tz1_ost(&mut self) -> TZ1_OST_W { TZ1_OST_W::new(self, 25) } #[doc = "Bit 26 - Enable bit: Write 1 to enable the interrupt triggered by a one-shot mode action on PWM2."] #[inline(always)] - #[must_use] pub fn tz2_ost(&mut self) -> TZ2_OST_W { TZ2_OST_W::new(self, 26) } #[doc = "Bit 27 - Enable bit: Write 1 to enable the interrupt triggered by capture on CAP0."] #[inline(always)] - #[must_use] pub fn cap0(&mut self) -> CAP0_W { CAP0_W::new(self, 27) } #[doc = "Bit 28 - Enable bit: Write 1 to enable the interrupt triggered by capture on CAP1."] #[inline(always)] - #[must_use] pub fn cap1(&mut self) -> CAP1_W { CAP1_W::new(self, 28) } #[doc = "Bit 29 - Enable bit: Write 1 to enable the interrupt triggered by capture on CAP2."] #[inline(always)] - #[must_use] pub fn cap2(&mut self) -> CAP2_W { CAP2_W::new(self, 29) } diff --git a/esp32p4/src/mcpwm0/int_raw.rs b/esp32p4/src/mcpwm0/int_raw.rs index c243536351..3b521f2d09 100644 --- a/esp32p4/src/mcpwm0/int_raw.rs +++ b/esp32p4/src/mcpwm0/int_raw.rs @@ -314,181 +314,151 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Raw status bit: The raw interrupt status of the interrupt triggered when the timer 0 stops."] #[inline(always)] - #[must_use] pub fn timer0_stop(&mut self) -> TIMER0_STOP_W { TIMER0_STOP_W::new(self, 0) } #[doc = "Bit 1 - Raw status bit: The raw interrupt status of the interrupt triggered when the timer 1 stops."] #[inline(always)] - #[must_use] pub fn timer1_stop(&mut self) -> TIMER1_STOP_W { TIMER1_STOP_W::new(self, 1) } #[doc = "Bit 2 - Raw status bit: The raw interrupt status of the interrupt triggered when the timer 2 stops."] #[inline(always)] - #[must_use] pub fn timer2_stop(&mut self) -> TIMER2_STOP_W { TIMER2_STOP_W::new(self, 2) } #[doc = "Bit 3 - Raw status bit: The raw interrupt status of the interrupt triggered by a PWM timer 0 TEZ event."] #[inline(always)] - #[must_use] pub fn timer0_tez(&mut self) -> TIMER0_TEZ_W { TIMER0_TEZ_W::new(self, 3) } #[doc = "Bit 4 - Raw status bit: The raw interrupt status of the interrupt triggered by a PWM timer 1 TEZ event."] #[inline(always)] - #[must_use] pub fn timer1_tez(&mut self) -> TIMER1_TEZ_W { TIMER1_TEZ_W::new(self, 4) } #[doc = "Bit 5 - Raw status bit: The raw interrupt status of the interrupt triggered by a PWM timer 2 TEZ event."] #[inline(always)] - #[must_use] pub fn timer2_tez(&mut self) -> TIMER2_TEZ_W { TIMER2_TEZ_W::new(self, 5) } #[doc = "Bit 6 - Raw status bit: The raw interrupt status of the interrupt triggered by a PWM timer 0 TEP event."] #[inline(always)] - #[must_use] pub fn timer0_tep(&mut self) -> TIMER0_TEP_W { TIMER0_TEP_W::new(self, 6) } #[doc = "Bit 7 - Raw status bit: The raw interrupt status of the interrupt triggered by a PWM timer 1 TEP event."] #[inline(always)] - #[must_use] pub fn timer1_tep(&mut self) -> TIMER1_TEP_W { TIMER1_TEP_W::new(self, 7) } #[doc = "Bit 8 - Raw status bit: The raw interrupt status of the interrupt triggered by a PWM timer 2 TEP event."] #[inline(always)] - #[must_use] pub fn timer2_tep(&mut self) -> TIMER2_TEP_W { TIMER2_TEP_W::new(self, 8) } #[doc = "Bit 9 - Raw status bit: The raw interrupt status of the interrupt triggered when event_f0 starts."] #[inline(always)] - #[must_use] pub fn fault0(&mut self) -> FAULT0_W { FAULT0_W::new(self, 9) } #[doc = "Bit 10 - Raw status bit: The raw interrupt status of the interrupt triggered when event_f1 starts."] #[inline(always)] - #[must_use] pub fn fault1(&mut self) -> FAULT1_W { FAULT1_W::new(self, 10) } #[doc = "Bit 11 - Raw status bit: The raw interrupt status of the interrupt triggered when event_f2 starts."] #[inline(always)] - #[must_use] pub fn fault2(&mut self) -> FAULT2_W { FAULT2_W::new(self, 11) } #[doc = "Bit 12 - Raw status bit: The raw interrupt status of the interrupt triggered when event_f0 clears."] #[inline(always)] - #[must_use] pub fn fault0_clr(&mut self) -> FAULT0_CLR_W { FAULT0_CLR_W::new(self, 12) } #[doc = "Bit 13 - Raw status bit: The raw interrupt status of the interrupt triggered when event_f1 clears."] #[inline(always)] - #[must_use] pub fn fault1_clr(&mut self) -> FAULT1_CLR_W { FAULT1_CLR_W::new(self, 13) } #[doc = "Bit 14 - Raw status bit: The raw interrupt status of the interrupt triggered when event_f2 clears."] #[inline(always)] - #[must_use] pub fn fault2_clr(&mut self) -> FAULT2_CLR_W { FAULT2_CLR_W::new(self, 14) } #[doc = "Bit 15 - Raw status bit: The raw interrupt status of the interrupt triggered by a PWM operator 0 TEA event"] #[inline(always)] - #[must_use] pub fn cmpr0_tea(&mut self) -> CMPR0_TEA_W { CMPR0_TEA_W::new(self, 15) } #[doc = "Bit 16 - Raw status bit: The raw interrupt status of the interrupt triggered by a PWM operator 1 TEA event"] #[inline(always)] - #[must_use] pub fn cmpr1_tea(&mut self) -> CMPR1_TEA_W { CMPR1_TEA_W::new(self, 16) } #[doc = "Bit 17 - Raw status bit: The raw interrupt status of the interrupt triggered by a PWM operator 2 TEA event"] #[inline(always)] - #[must_use] pub fn cmpr2_tea(&mut self) -> CMPR2_TEA_W { CMPR2_TEA_W::new(self, 17) } #[doc = "Bit 18 - Raw status bit: The raw interrupt status of the interrupt triggered by a PWM operator 0 TEB event"] #[inline(always)] - #[must_use] pub fn cmpr0_teb(&mut self) -> CMPR0_TEB_W { CMPR0_TEB_W::new(self, 18) } #[doc = "Bit 19 - Raw status bit: The raw interrupt status of the interrupt triggered by a PWM operator 1 TEB event"] #[inline(always)] - #[must_use] pub fn cmpr1_teb(&mut self) -> CMPR1_TEB_W { CMPR1_TEB_W::new(self, 19) } #[doc = "Bit 20 - Raw status bit: The raw interrupt status of the interrupt triggered by a PWM operator 2 TEB event"] #[inline(always)] - #[must_use] pub fn cmpr2_teb(&mut self) -> CMPR2_TEB_W { CMPR2_TEB_W::new(self, 20) } #[doc = "Bit 21 - Raw status bit: The raw interrupt status of the interrupt triggered by a cycle-by-cycle mode action on PWM0."] #[inline(always)] - #[must_use] pub fn tz0_cbc(&mut self) -> TZ0_CBC_W { TZ0_CBC_W::new(self, 21) } #[doc = "Bit 22 - Raw status bit: The raw interrupt status of the interrupt triggered by a cycle-by-cycle mode action on PWM1."] #[inline(always)] - #[must_use] pub fn tz1_cbc(&mut self) -> TZ1_CBC_W { TZ1_CBC_W::new(self, 22) } #[doc = "Bit 23 - Raw status bit: The raw interrupt status of the interrupt triggered by a cycle-by-cycle mode action on PWM2."] #[inline(always)] - #[must_use] pub fn tz2_cbc(&mut self) -> TZ2_CBC_W { TZ2_CBC_W::new(self, 23) } #[doc = "Bit 24 - Raw status bit: The raw interrupt status of the interrupt triggered by a one-shot mode action on PWM0."] #[inline(always)] - #[must_use] pub fn tz0_ost(&mut self) -> TZ0_OST_W { TZ0_OST_W::new(self, 24) } #[doc = "Bit 25 - Raw status bit: The raw interrupt status of the interrupt triggered by a one-shot mode action on PWM1."] #[inline(always)] - #[must_use] pub fn tz1_ost(&mut self) -> TZ1_OST_W { TZ1_OST_W::new(self, 25) } #[doc = "Bit 26 - Raw status bit: The raw interrupt status of the interrupt triggered by a one-shot mode action on PWM2."] #[inline(always)] - #[must_use] pub fn tz2_ost(&mut self) -> TZ2_OST_W { TZ2_OST_W::new(self, 26) } #[doc = "Bit 27 - Raw status bit: The raw interrupt status of the interrupt triggered by capture on CAP0."] #[inline(always)] - #[must_use] pub fn cap0(&mut self) -> CAP0_W { CAP0_W::new(self, 27) } #[doc = "Bit 28 - Raw status bit: The raw interrupt status of the interrupt triggered by capture on CAP1."] #[inline(always)] - #[must_use] pub fn cap1(&mut self) -> CAP1_W { CAP1_W::new(self, 28) } #[doc = "Bit 29 - Raw status bit: The raw interrupt status of the interrupt triggered by capture on CAP2."] #[inline(always)] - #[must_use] pub fn cap2(&mut self) -> CAP2_W { CAP2_W::new(self, 29) } diff --git a/esp32p4/src/mcpwm0/op_tstmp_e1.rs b/esp32p4/src/mcpwm0/op_tstmp_e1.rs index 026d549c0c..110addc870 100644 --- a/esp32p4/src/mcpwm0/op_tstmp_e1.rs +++ b/esp32p4/src/mcpwm0/op_tstmp_e1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Configures generator%s timer stamp E1 value register"] #[inline(always)] - #[must_use] pub fn op_tstmp_e1(&mut self) -> OP_TSTMP_E1_W { OP_TSTMP_E1_W::new(self, 0) } diff --git a/esp32p4/src/mcpwm0/op_tstmp_e2.rs b/esp32p4/src/mcpwm0/op_tstmp_e2.rs index e4f9494c99..3a47f64d6a 100644 --- a/esp32p4/src/mcpwm0/op_tstmp_e2.rs +++ b/esp32p4/src/mcpwm0/op_tstmp_e2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Configures generator%s timer stamp E2 value register"] #[inline(always)] - #[must_use] pub fn op_tstmp_e2(&mut self) -> OP_TSTMP_E2_W { OP_TSTMP_E2_W::new(self, 0) } diff --git a/esp32p4/src/mcpwm0/operator_timersel.rs b/esp32p4/src/mcpwm0/operator_timersel.rs index 90156777cf..f796bbe269 100644 --- a/esp32p4/src/mcpwm0/operator_timersel.rs +++ b/esp32p4/src/mcpwm0/operator_timersel.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Configures which PWM timer will be the timing reference for PWM operator0.\\\\0: Timer0\\\\1: Timer1\\\\2: Timer2\\\\3: Invalid, will select timer2"] #[inline(always)] - #[must_use] pub fn operator0_timersel(&mut self) -> OPERATOR0_TIMERSEL_W { OPERATOR0_TIMERSEL_W::new(self, 0) } #[doc = "Bits 2:3 - Configures which PWM timer will be the timing reference for PWM operator1.\\\\0: Timer0\\\\1: Timer1\\\\2: Timer2\\\\3: Invalid, will select timer2"] #[inline(always)] - #[must_use] pub fn operator1_timersel(&mut self) -> OPERATOR1_TIMERSEL_W { OPERATOR1_TIMERSEL_W::new(self, 2) } #[doc = "Bits 4:5 - Configures which PWM timer will be the timing reference for PWM operator2.\\\\0: Timer0\\\\1: Timer1\\\\2: Timer2\\\\3: Invalid, will select timer2"] #[inline(always)] - #[must_use] pub fn operator2_timersel(&mut self) -> OPERATOR2_TIMERSEL_W { OPERATOR2_TIMERSEL_W::new(self, 4) } diff --git a/esp32p4/src/mcpwm0/task_en.rs b/esp32p4/src/mcpwm0/task_en.rs index 6f7953f782..1f87b71b6c 100644 --- a/esp32p4/src/mcpwm0/task_en.rs +++ b/esp32p4/src/mcpwm0/task_en.rs @@ -234,133 +234,111 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configures whether or not to enable PWM generator0 timer stamp A's shadow register update task receive.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn cmpr0_a_up(&mut self) -> CMPR0_A_UP_W { CMPR0_A_UP_W::new(self, 0) } #[doc = "Bit 1 - Configures whether or not to enable PWM generator1 timer stamp A's shadow register update task receive.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn cmpr1_a_up(&mut self) -> CMPR1_A_UP_W { CMPR1_A_UP_W::new(self, 1) } #[doc = "Bit 2 - Configures whether or not to enable PWM generator2 timer stamp A's shadow register update task receive.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn cmpr2_a_up(&mut self) -> CMPR2_A_UP_W { CMPR2_A_UP_W::new(self, 2) } #[doc = "Bit 3 - Configures whether or not to enable PWM generator0 timer stamp B's shadow register update task receive.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn cmpr0_b_up(&mut self) -> CMPR0_B_UP_W { CMPR0_B_UP_W::new(self, 3) } #[doc = "Bit 4 - Configures whether or not to enable PWM generator1 timer stamp B's shadow register update task receive.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn cmpr1_b_up(&mut self) -> CMPR1_B_UP_W { CMPR1_B_UP_W::new(self, 4) } #[doc = "Bit 5 - Configures whether or not to enable PWM generator2 timer stamp B's shadow register update task receive.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn cmpr2_b_up(&mut self) -> CMPR2_B_UP_W { CMPR2_B_UP_W::new(self, 5) } #[doc = "Bit 6 - Configures whether or not to enable all PWM generate stop task receive.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn gen_stop(&mut self) -> GEN_STOP_W { GEN_STOP_W::new(self, 6) } #[doc = "Bit 7 - Configures whether or not to enable timer0 sync task receive.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn timer0_sync(&mut self) -> TIMER0_SYNC_W { TIMER0_SYNC_W::new(self, 7) } #[doc = "Bit 8 - Configures whether or not to enable timer1 sync task receive.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn timer1_sync(&mut self) -> TIMER1_SYNC_W { TIMER1_SYNC_W::new(self, 8) } #[doc = "Bit 9 - Configures whether or not to enable timer2 sync task receive.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn timer2_sync(&mut self) -> TIMER2_SYNC_W { TIMER2_SYNC_W::new(self, 9) } #[doc = "Bit 10 - Configures whether or not to enable timer0 period update task receive.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn timer0_period_up(&mut self) -> TIMER0_PERIOD_UP_W { TIMER0_PERIOD_UP_W::new(self, 10) } #[doc = "Bit 11 - Configures whether or not to enable timer1 period update task receive.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn timer1_period_up(&mut self) -> TIMER1_PERIOD_UP_W { TIMER1_PERIOD_UP_W::new(self, 11) } #[doc = "Bit 12 - Configures whether or not to enable timer2 period update task receive.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn timer2_period_up(&mut self) -> TIMER2_PERIOD_UP_W { TIMER2_PERIOD_UP_W::new(self, 12) } #[doc = "Bit 13 - Configures whether or not to enable one shot trip0 task receive.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn tz0_ost(&mut self) -> TZ0_OST_W { TZ0_OST_W::new(self, 13) } #[doc = "Bit 14 - Configures whether or not to enable one shot trip1 task receive.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn tz1_ost(&mut self) -> TZ1_OST_W { TZ1_OST_W::new(self, 14) } #[doc = "Bit 15 - Configures whether or not to enable one shot trip2 task receive.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn tz2_ost(&mut self) -> TZ2_OST_W { TZ2_OST_W::new(self, 15) } #[doc = "Bit 16 - Configures whether or not to enable one shot trip0 clear task receive.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn clr0_ost(&mut self) -> CLR0_OST_W { CLR0_OST_W::new(self, 16) } #[doc = "Bit 17 - Configures whether or not to enable one shot trip1 clear task receive.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn clr1_ost(&mut self) -> CLR1_OST_W { CLR1_OST_W::new(self, 17) } #[doc = "Bit 18 - Configures whether or not to enable one shot trip2 clear task receive.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn clr2_ost(&mut self) -> CLR2_OST_W { CLR2_OST_W::new(self, 18) } #[doc = "Bit 19 - Configures whether or not to enable capture0 task receive.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn cap0(&mut self) -> CAP0_W { CAP0_W::new(self, 19) } #[doc = "Bit 20 - Configures whether or not to enable capture1 task receive.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn cap1(&mut self) -> CAP1_W { CAP1_W::new(self, 20) } #[doc = "Bit 21 - Configures whether or not to enable capture2 task receive.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn cap2(&mut self) -> CAP2_W { CAP2_W::new(self, 21) } diff --git a/esp32p4/src/mcpwm0/timer/cfg0.rs b/esp32p4/src/mcpwm0/timer/cfg0.rs index 8256860a8d..36c0a48b3f 100644 --- a/esp32p4/src/mcpwm0/timer/cfg0.rs +++ b/esp32p4/src/mcpwm0/timer/cfg0.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Configures the prescaler value of timer%s, so that the period of PT0_clk = Period of PWM_clk * (PWM_TIMER%s_PRESCALE + 1)"] #[inline(always)] - #[must_use] pub fn prescale(&mut self) -> PRESCALE_W { PRESCALE_W::new(self, 0) } #[doc = "Bits 8:23 - Configures the period shadow of PWM timer%s"] #[inline(always)] - #[must_use] pub fn period(&mut self) -> PERIOD_W { PERIOD_W::new(self, 8) } #[doc = "Bits 24:25 - Configures the update method for active register of PWM timer%s period.\\\\0: Immediate\\\\1: TEZ\\\\2: Sync\\\\3: TEZ or sync\\\\TEZ here and below means timer equal zero event"] #[inline(always)] - #[must_use] pub fn period_upmethod(&mut self) -> PERIOD_UPMETHOD_W { PERIOD_UPMETHOD_W::new(self, 24) } diff --git a/esp32p4/src/mcpwm0/timer/cfg1.rs b/esp32p4/src/mcpwm0/timer/cfg1.rs index 2e31df1505..29d2ccc385 100644 --- a/esp32p4/src/mcpwm0/timer/cfg1.rs +++ b/esp32p4/src/mcpwm0/timer/cfg1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - Configures whether or not to start/stop PWM timer%s.\\\\0: If PWM timer%s starts, then stops at TEZ\\\\1: If timer%s starts, then stops at TEP\\\\2: PWM timer%s starts and runs on\\\\3: Timer%s starts and stops at the next TEZ\\\\4: Timer0 starts and stops at the next TEP.\\\\TEP here and below means the event that happens when the timer equals to period"] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 0) } #[doc = "Bits 3:4 - Configures the working mode of PWM timer%s.\\\\0: Freeze\\\\1: Increase mode\\\\2: Decrease mode\\\\3: Up-down mode"] #[inline(always)] - #[must_use] pub fn mod_(&mut self) -> MOD_W { MOD_W::new(self, 3) } diff --git a/esp32p4/src/mcpwm0/timer/sync.rs b/esp32p4/src/mcpwm0/timer/sync.rs index f3e58547f4..04157f36fc 100644 --- a/esp32p4/src/mcpwm0/timer/sync.rs +++ b/esp32p4/src/mcpwm0/timer/sync.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configures whether or not to enable timer%s reloading with phase on sync input event is enabled.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn synci_en(&mut self) -> SYNCI_EN_W { SYNCI_EN_W::new(self, 0) } #[doc = "Bit 1 - Configures the generation of software sync. Toggling this bit will trigger a software sync."] #[inline(always)] - #[must_use] pub fn sw(&mut self) -> SW_W { SW_W::new(self, 1) } #[doc = "Bits 2:3 - Configures the selection of PWM timer%s sync_out.\\\\0: Sync_in\\\\1: TEZ\\\\2: TEP\\\\3: Invalid, sync_out selects noting"] #[inline(always)] - #[must_use] pub fn synco_sel(&mut self) -> SYNCO_SEL_W { SYNCO_SEL_W::new(self, 2) } #[doc = "Bits 4:19 - Configures the phase for timer%s reload on sync event."] #[inline(always)] - #[must_use] pub fn phase(&mut self) -> PHASE_W { PHASE_W::new(self, 4) } #[doc = "Bit 20 - Configures the PWM timer%s's direction when timer%s mode is up-down mode.\\\\0: Increase\\\\1: Decrease"] #[inline(always)] - #[must_use] pub fn phase_direction(&mut self) -> PHASE_DIRECTION_W { PHASE_DIRECTION_W::new(self, 20) } diff --git a/esp32p4/src/mcpwm0/timer_synci_cfg.rs b/esp32p4/src/mcpwm0/timer_synci_cfg.rs index 91944405b9..b6a28d7e07 100644 --- a/esp32p4/src/mcpwm0/timer_synci_cfg.rs +++ b/esp32p4/src/mcpwm0/timer_synci_cfg.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - Configures the selection of sync input for PWM timer0.\\\\1: PWM timer0 sync_out\\\\2: PWM timer1 sync_out\\\\3: PWM timer2 sync_out\\\\4: SYNC0 from GPIO matrix\\\\5: SYNC1 from GPIO matrix\\\\6: SYNC2 from GPIO matrix\\\\Other values: No sync input selected"] #[inline(always)] - #[must_use] pub fn timer0_syncisel(&mut self) -> TIMER0_SYNCISEL_W { TIMER0_SYNCISEL_W::new(self, 0) } #[doc = "Bits 3:5 - Configures the selection of sync input for PWM timer1.\\\\1: PWM timer0 sync_out\\\\2: PWM timer1 sync_out\\\\3: PWM timer2 sync_out\\\\4: SYNC0 from GPIO matrix\\\\5: SYNC1 from GPIO matrix\\\\6: SYNC2 from GPIO matrix\\\\Other values: No sync input selected"] #[inline(always)] - #[must_use] pub fn timer1_syncisel(&mut self) -> TIMER1_SYNCISEL_W { TIMER1_SYNCISEL_W::new(self, 3) } #[doc = "Bits 6:8 - Configures the selection of sync input for PWM timer2.\\\\1: PWM timer0 sync_out\\\\2: PWM timer1 sync_out\\\\3: PWM timer2 sync_out\\\\4: SYNC0 from GPIO matrix\\\\5: SYNC1 from GPIO matrix\\\\6: SYNC2 from GPIO matrix\\\\Other values: No sync input selected"] #[inline(always)] - #[must_use] pub fn timer2_syncisel(&mut self) -> TIMER2_SYNCISEL_W { TIMER2_SYNCISEL_W::new(self, 6) } #[doc = "Bit 9 - Configures whether or not to invert SYNC0 from GPIO matrix.\\\\0: Not invert\\\\1: Invert"] #[inline(always)] - #[must_use] pub fn external_synci0_invert(&mut self) -> EXTERNAL_SYNCI0_INVERT_W { EXTERNAL_SYNCI0_INVERT_W::new(self, 9) } #[doc = "Bit 10 - Configures whether or not to invert SYNC1 from GPIO matrix.\\\\0: Not invert\\\\1: Invert"] #[inline(always)] - #[must_use] pub fn external_synci1_invert(&mut self) -> EXTERNAL_SYNCI1_INVERT_W { EXTERNAL_SYNCI1_INVERT_W::new(self, 10) } #[doc = "Bit 11 - Configures whether or not to invert SYNC2 from GPIO matrix.\\\\0: Not invert\\\\1: Invert"] #[inline(always)] - #[must_use] pub fn external_synci2_invert(&mut self) -> EXTERNAL_SYNCI2_INVERT_W { EXTERNAL_SYNCI2_INVERT_W::new(self, 11) } diff --git a/esp32p4/src/mcpwm0/update_cfg.rs b/esp32p4/src/mcpwm0/update_cfg.rs index 9a81821e99..edea79fd7d 100644 --- a/esp32p4/src/mcpwm0/update_cfg.rs +++ b/esp32p4/src/mcpwm0/update_cfg.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configures whether or not to enable global update for all active registers in MCPWM module.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn global_up_en(&mut self) -> GLOBAL_UP_EN_W { GLOBAL_UP_EN_W::new(self, 0) } #[doc = "Bit 1 - Configures the generation of global forced update for all active registers in MCPWM module. A toggle (software invert its value) will trigger a global forced update. Valid only when MCPWM_GLOBAL_UP_EN and MCPWM_OP0/1/2_UP_EN are both set to 1."] #[inline(always)] - #[must_use] pub fn global_force_up(&mut self) -> GLOBAL_FORCE_UP_W { GLOBAL_FORCE_UP_W::new(self, 1) } #[doc = "Bit 2 - Configures whether or not to enable update of active registers in PWM operator0. Valid only when PWM_GLOBAL_UP_EN is set to 1.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn op0_up_en(&mut self) -> OP0_UP_EN_W { OP0_UP_EN_W::new(self, 2) } #[doc = "Bit 3 - Configures the generation of forced update for active registers in PWM operator0. A toggle (software invert its value) will trigger a forced update. Valid only when MCPWM_GLOBAL_UP_EN and MCPWM_OP0_UP_EN are both set to 1."] #[inline(always)] - #[must_use] pub fn op0_force_up(&mut self) -> OP0_FORCE_UP_W { OP0_FORCE_UP_W::new(self, 3) } #[doc = "Bit 4 - Configures whether or not to enable update of active registers in PWM operator1. Valid only when PWM_GLOBAL_UP_EN is set to 1.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn op1_up_en(&mut self) -> OP1_UP_EN_W { OP1_UP_EN_W::new(self, 4) } #[doc = "Bit 5 - Configures the generation of forced update for active registers in PWM operator1. A toggle (software invert its value) will trigger a forced update. Valid only when MCPWM_GLOBAL_UP_EN and MCPWM_OP1_UP_EN are both set to 1."] #[inline(always)] - #[must_use] pub fn op1_force_up(&mut self) -> OP1_FORCE_UP_W { OP1_FORCE_UP_W::new(self, 5) } #[doc = "Bit 6 - Configures whether or not to enable update of active registers in PWM operator2. Valid only when PWM_GLOBAL_UP_EN is set to 1.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn op2_up_en(&mut self) -> OP2_UP_EN_W { OP2_UP_EN_W::new(self, 6) } #[doc = "Bit 7 - Configures the generation of forced update for active registers in PWM operator2. A toggle (software invert its value) will trigger a forced update. Valid only when MCPWM_GLOBAL_UP_EN and MCPWM_OP2_UP_EN are both set to 1."] #[inline(always)] - #[must_use] pub fn op2_force_up(&mut self) -> OP2_FORCE_UP_W { OP2_FORCE_UP_W::new(self, 7) } diff --git a/esp32p4/src/mcpwm0/version.rs b/esp32p4/src/mcpwm0/version.rs index f54f52fde4..05c074c2d0 100644 --- a/esp32p4/src/mcpwm0/version.rs +++ b/esp32p4/src/mcpwm0/version.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Configures the version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32p4/src/mipi_csi_bridge/buf_flow_ctl.rs b/esp32p4/src/mipi_csi_bridge/buf_flow_ctl.rs index 9e47ffb015..804cd9b53c 100644 --- a/esp32p4/src/mipi_csi_bridge/buf_flow_ctl.rs +++ b/esp32p4/src/mipi_csi_bridge/buf_flow_ctl.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - buffer almost full threshold."] #[inline(always)] - #[must_use] pub fn csi_buf_afull_thrd(&mut self) -> CSI_BUF_AFULL_THRD_W { CSI_BUF_AFULL_THRD_W::new(self, 0) } diff --git a/esp32p4/src/mipi_csi_bridge/clk_en.rs b/esp32p4/src/mipi_csi_bridge/clk_en.rs index fca6d684d5..f459b2b1f0 100644 --- a/esp32p4/src/mipi_csi_bridge/clk_en.rs +++ b/esp32p4/src/mipi_csi_bridge/clk_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 0: enable clock gating. 1: disable clock gating, clock always on."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32p4/src/mipi_csi_bridge/csi_en.rs b/esp32p4/src/mipi_csi_bridge/csi_en.rs index fd3175671f..661fe2c6cb 100644 --- a/esp32p4/src/mipi_csi_bridge/csi_en.rs +++ b/esp32p4/src/mipi_csi_bridge/csi_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 0: disable csi bridge. 1: enable csi bridge."] #[inline(always)] - #[must_use] pub fn csi_brig_en(&mut self) -> CSI_BRIG_EN_W { CSI_BRIG_EN_W::new(self, 0) } diff --git a/esp32p4/src/mipi_csi_bridge/data_type_cfg.rs b/esp32p4/src/mipi_csi_bridge/data_type_cfg.rs index fd2bf7feb4..919ae91d80 100644 --- a/esp32p4/src/mipi_csi_bridge/data_type_cfg.rs +++ b/esp32p4/src/mipi_csi_bridge/data_type_cfg.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - the min value of data type used for pixel filter."] #[inline(always)] - #[must_use] pub fn data_type_min(&mut self) -> DATA_TYPE_MIN_W { DATA_TYPE_MIN_W::new(self, 0) } #[doc = "Bits 8:13 - the max value of data type used for pixel filter."] #[inline(always)] - #[must_use] pub fn data_type_max(&mut self) -> DATA_TYPE_MAX_W { DATA_TYPE_MAX_W::new(self, 8) } diff --git a/esp32p4/src/mipi_csi_bridge/dma_req_cfg.rs b/esp32p4/src/mipi_csi_bridge/dma_req_cfg.rs index cbf4b2601c..9533b00708 100644 --- a/esp32p4/src/mipi_csi_bridge/dma_req_cfg.rs +++ b/esp32p4/src/mipi_csi_bridge/dma_req_cfg.rs @@ -6,9 +6,9 @@ pub type W = crate::W; pub type DMA_BURST_LEN_R = crate::FieldReader; #[doc = "Field `DMA_BURST_LEN` writer - DMA burst length."] pub type DMA_BURST_LEN_W<'a, REG> = crate::FieldWriter<'a, REG, 12, u16>; -#[doc = "Field `DMA_CFG_UPD_BY_BLK` reader - 1: reg_dma_burst_len & reg_dma_burst_len will be updated by dma block finish. 0: updated by frame."] +#[doc = "Field `DMA_CFG_UPD_BY_BLK` reader - 1: reg_dma_burst_len & reg_dma_burst_len will be updated by dma block finish. 0: updated by frame."] pub type DMA_CFG_UPD_BY_BLK_R = crate::BitReader; -#[doc = "Field `DMA_CFG_UPD_BY_BLK` writer - 1: reg_dma_burst_len & reg_dma_burst_len will be updated by dma block finish. 0: updated by frame."] +#[doc = "Field `DMA_CFG_UPD_BY_BLK` writer - 1: reg_dma_burst_len & reg_dma_burst_len will be updated by dma block finish. 0: updated by frame."] pub type DMA_CFG_UPD_BY_BLK_W<'a, REG> = crate::BitWriter<'a, REG>; #[doc = "Field `DMA_FORCE_RD_STATUS` reader - 1: mask dma request when reading frame info. 0: disable mask."] pub type DMA_FORCE_RD_STATUS_R = crate::BitReader; @@ -20,7 +20,7 @@ impl R { pub fn dma_burst_len(&self) -> DMA_BURST_LEN_R { DMA_BURST_LEN_R::new((self.bits & 0x0fff) as u16) } - #[doc = "Bit 12 - 1: reg_dma_burst_len & reg_dma_burst_len will be updated by dma block finish. 0: updated by frame."] + #[doc = "Bit 12 - 1: reg_dma_burst_len & reg_dma_burst_len will be updated by dma block finish. 0: updated by frame."] #[inline(always)] pub fn dma_cfg_upd_by_blk(&self) -> DMA_CFG_UPD_BY_BLK_R { DMA_CFG_UPD_BY_BLK_R::new(((self.bits >> 12) & 1) != 0) @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - DMA burst length."] #[inline(always)] - #[must_use] pub fn dma_burst_len(&mut self) -> DMA_BURST_LEN_W { DMA_BURST_LEN_W::new(self, 0) } - #[doc = "Bit 12 - 1: reg_dma_burst_len & reg_dma_burst_len will be updated by dma block finish. 0: updated by frame."] + #[doc = "Bit 12 - 1: reg_dma_burst_len & reg_dma_burst_len will be updated by dma block finish. 0: updated by frame."] #[inline(always)] - #[must_use] pub fn dma_cfg_upd_by_blk(&mut self) -> DMA_CFG_UPD_BY_BLK_W { DMA_CFG_UPD_BY_BLK_W::new(self, 12) } #[doc = "Bit 16 - 1: mask dma request when reading frame info. 0: disable mask."] #[inline(always)] - #[must_use] pub fn dma_force_rd_status(&mut self) -> DMA_FORCE_RD_STATUS_W { DMA_FORCE_RD_STATUS_W::new(self, 16) } diff --git a/esp32p4/src/mipi_csi_bridge/dma_req_interval.rs b/esp32p4/src/mipi_csi_bridge/dma_req_interval.rs index dae575e156..aa00c7101d 100644 --- a/esp32p4/src/mipi_csi_bridge/dma_req_interval.rs +++ b/esp32p4/src/mipi_csi_bridge/dma_req_interval.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - 16'b1: 1 cycle. 16'b11: 2 cycle. ... ... 16'hFFFF: 16 cycle."] #[inline(always)] - #[must_use] pub fn dma_req_interval(&mut self) -> DMA_REQ_INTERVAL_W { DMA_REQ_INTERVAL_W::new(self, 0) } diff --git a/esp32p4/src/mipi_csi_bridge/dmablk_size.rs b/esp32p4/src/mipi_csi_bridge/dmablk_size.rs index ccd153a344..e94afaad3f 100644 --- a/esp32p4/src/mipi_csi_bridge/dmablk_size.rs +++ b/esp32p4/src/mipi_csi_bridge/dmablk_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:12 - the number of reg_dma_burst_len in a block"] #[inline(always)] - #[must_use] pub fn dmablk_size(&mut self) -> DMABLK_SIZE_W { DMABLK_SIZE_W::new(self, 0) } diff --git a/esp32p4/src/mipi_csi_bridge/endian_mode.rs b/esp32p4/src/mipi_csi_bridge/endian_mode.rs index 7972d134ef..9446f7ad67 100644 --- a/esp32p4/src/mipi_csi_bridge/endian_mode.rs +++ b/esp32p4/src/mipi_csi_bridge/endian_mode.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - endianness order in bytes. 2'h0 is normal mode and 2'h3 is useful to YUV420(Legacy) when isp is bapassed."] #[inline(always)] - #[must_use] pub fn byte_endian_order(&mut self) -> BYTE_ENDIAN_ORDER_W { BYTE_ENDIAN_ORDER_W::new(self, 0) } #[doc = "Bit 1 - N/A"] #[inline(always)] - #[must_use] pub fn bit_endian_order(&mut self) -> BIT_ENDIAN_ORDER_W { BIT_ENDIAN_ORDER_W::new(self, 1) } diff --git a/esp32p4/src/mipi_csi_bridge/frame_cfg.rs b/esp32p4/src/mipi_csi_bridge/frame_cfg.rs index 929fbe2805..f2f54f5d00 100644 --- a/esp32p4/src/mipi_csi_bridge/frame_cfg.rs +++ b/esp32p4/src/mipi_csi_bridge/frame_cfg.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - vadr of frame data."] #[inline(always)] - #[must_use] pub fn vadr_num(&mut self) -> VADR_NUM_W { VADR_NUM_W::new(self, 0) } #[doc = "Bits 12:23 - hadr of frame data."] #[inline(always)] - #[must_use] pub fn hadr_num(&mut self) -> HADR_NUM_W { HADR_NUM_W::new(self, 12) } #[doc = "Bit 24 - 0: frame data doesn't contain hsync. 1: frame data contains hsync."] #[inline(always)] - #[must_use] pub fn has_hsync_e(&mut self) -> HAS_HSYNC_E_W { HAS_HSYNC_E_W::new(self, 24) } #[doc = "Bit 25 - 0: disable vadr check. 1: enable vadr check."] #[inline(always)] - #[must_use] pub fn vadr_num_check(&mut self) -> VADR_NUM_CHECK_W { VADR_NUM_CHECK_W::new(self, 25) } diff --git a/esp32p4/src/mipi_csi_bridge/host_ctrl.rs b/esp32p4/src/mipi_csi_bridge/host_ctrl.rs index 0fc61c1aa5..1b93d2be7d 100644 --- a/esp32p4/src/mipi_csi_bridge/host_ctrl.rs +++ b/esp32p4/src/mipi_csi_bridge/host_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - enable clock lane module of csi phy."] #[inline(always)] - #[must_use] pub fn csi_enableclk(&mut self) -> CSI_ENABLECLK_W { CSI_ENABLECLK_W::new(self, 0) } #[doc = "Bit 1 - enable cfg_clk of csi host module."] #[inline(always)] - #[must_use] pub fn csi_cfg_clk_en(&mut self) -> CSI_CFG_CLK_EN_W { CSI_CFG_CLK_EN_W::new(self, 1) } #[doc = "Bit 2 - for phy test by loopback dsi phy to csi phy."] #[inline(always)] - #[must_use] pub fn loopbk_test_en(&mut self) -> LOOPBK_TEST_EN_W { LOOPBK_TEST_EN_W::new(self, 2) } diff --git a/esp32p4/src/mipi_csi_bridge/int_clr.rs b/esp32p4/src/mipi_csi_bridge/int_clr.rs index d3a85d009a..4073f8b1de 100644 --- a/esp32p4/src/mipi_csi_bridge/int_clr.rs +++ b/esp32p4/src/mipi_csi_bridge/int_clr.rs @@ -21,37 +21,31 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - reg_vadr_num is greater than real interrupt clr."] #[inline(always)] - #[must_use] pub fn vadr_num_gt_real(&mut self) -> VADR_NUM_GT_REAL_W { VADR_NUM_GT_REAL_W::new(self, 0) } #[doc = "Bit 1 - reg_vadr_num is less than real interrupt clr."] #[inline(always)] - #[must_use] pub fn vadr_num_lt_real(&mut self) -> VADR_NUM_LT_REAL_W { VADR_NUM_LT_REAL_W::new(self, 1) } #[doc = "Bit 2 - an incomplete frame of data was sent interrupt clr."] #[inline(always)] - #[must_use] pub fn discard(&mut self) -> DISCARD_W { DISCARD_W::new(self, 2) } #[doc = "Bit 3 - buffer overrun interrupt clr."] #[inline(always)] - #[must_use] pub fn csi_buf_overrun(&mut self) -> CSI_BUF_OVERRUN_W { CSI_BUF_OVERRUN_W::new(self, 3) } #[doc = "Bit 4 - buffer overflow interrupt clr."] #[inline(always)] - #[must_use] pub fn csi_async_fifo_ovf(&mut self) -> CSI_ASYNC_FIFO_OVF_W { CSI_ASYNC_FIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - dma configuration update complete interrupt clr."] #[inline(always)] - #[must_use] pub fn dma_cfg_has_updated(&mut self) -> DMA_CFG_HAS_UPDATED_W { DMA_CFG_HAS_UPDATED_W::new(self, 5) } diff --git a/esp32p4/src/mipi_csi_bridge/int_ena.rs b/esp32p4/src/mipi_csi_bridge/int_ena.rs index bf72b17721..2a83423414 100644 --- a/esp32p4/src/mipi_csi_bridge/int_ena.rs +++ b/esp32p4/src/mipi_csi_bridge/int_ena.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_vadr_num is greater than real interrupt enable."] #[inline(always)] - #[must_use] pub fn vadr_num_gt(&mut self) -> VADR_NUM_GT_W { VADR_NUM_GT_W::new(self, 0) } #[doc = "Bit 1 - reg_vadr_num is less than real interrupt enable."] #[inline(always)] - #[must_use] pub fn vadr_num_lt(&mut self) -> VADR_NUM_LT_W { VADR_NUM_LT_W::new(self, 1) } #[doc = "Bit 2 - an incomplete frame of data was sent interrupt enable."] #[inline(always)] - #[must_use] pub fn discard(&mut self) -> DISCARD_W { DISCARD_W::new(self, 2) } #[doc = "Bit 3 - buffer overrun interrupt enable."] #[inline(always)] - #[must_use] pub fn csi_buf_overrun(&mut self) -> CSI_BUF_OVERRUN_W { CSI_BUF_OVERRUN_W::new(self, 3) } #[doc = "Bit 4 - buffer overflow interrupt enable."] #[inline(always)] - #[must_use] pub fn csi_async_fifo_ovf(&mut self) -> CSI_ASYNC_FIFO_OVF_W { CSI_ASYNC_FIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - dma configuration update complete interrupt enable."] #[inline(always)] - #[must_use] pub fn dma_cfg_has_updated(&mut self) -> DMA_CFG_HAS_UPDATED_W { DMA_CFG_HAS_UPDATED_W::new(self, 5) } diff --git a/esp32p4/src/mipi_csi_bridge/int_raw.rs b/esp32p4/src/mipi_csi_bridge/int_raw.rs index e012cb2c91..cf8059119b 100644 --- a/esp32p4/src/mipi_csi_bridge/int_raw.rs +++ b/esp32p4/src/mipi_csi_bridge/int_raw.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - reg_vadr_num is greater than real interrupt raw."] #[inline(always)] - #[must_use] pub fn vadr_num_gt(&mut self) -> VADR_NUM_GT_W { VADR_NUM_GT_W::new(self, 0) } #[doc = "Bit 1 - reg_vadr_num is less than real interrupt raw."] #[inline(always)] - #[must_use] pub fn vadr_num_lt(&mut self) -> VADR_NUM_LT_W { VADR_NUM_LT_W::new(self, 1) } #[doc = "Bit 2 - an incomplete frame of data was sent interrupt raw."] #[inline(always)] - #[must_use] pub fn discard(&mut self) -> DISCARD_W { DISCARD_W::new(self, 2) } #[doc = "Bit 3 - buffer overrun interrupt raw."] #[inline(always)] - #[must_use] pub fn csi_buf_overrun(&mut self) -> CSI_BUF_OVERRUN_W { CSI_BUF_OVERRUN_W::new(self, 3) } #[doc = "Bit 4 - buffer overflow interrupt raw."] #[inline(always)] - #[must_use] pub fn csi_async_fifo_ovf(&mut self) -> CSI_ASYNC_FIFO_OVF_W { CSI_ASYNC_FIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - dma configuration update complete interrupt raw."] #[inline(always)] - #[must_use] pub fn dma_cfg_has_updated(&mut self) -> DMA_CFG_HAS_UPDATED_W { DMA_CFG_HAS_UPDATED_W::new(self, 5) } diff --git a/esp32p4/src/mipi_csi_bridge/mem_ctrl.rs b/esp32p4/src/mipi_csi_bridge/mem_ctrl.rs index 784561505a..b55631c5fa 100644 --- a/esp32p4/src/mipi_csi_bridge/mem_ctrl.rs +++ b/esp32p4/src/mipi_csi_bridge/mem_ctrl.rs @@ -37,13 +37,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - csi bridge memory clock gating force on."] #[inline(always)] - #[must_use] pub fn csi_bridge_mem_clk_force_on(&mut self) -> CSI_BRIDGE_MEM_CLK_FORCE_ON_W { CSI_BRIDGE_MEM_CLK_FORCE_ON_W::new(self, 0) } #[doc = "Bits 1:14 - N/A"] #[inline(always)] - #[must_use] pub fn csi_mem_aux_ctrl(&mut self) -> CSI_MEM_AUX_CTRL_W { CSI_MEM_AUX_CTRL_W::new(self, 1) } diff --git a/esp32p4/src/mipi_csi_bridge/rdn_eco_cs.rs b/esp32p4/src/mipi_csi_bridge/rdn_eco_cs.rs index bfa3bbd8f0..12828233b3 100644 --- a/esp32p4/src/mipi_csi_bridge/rdn_eco_cs.rs +++ b/esp32p4/src/mipi_csi_bridge/rdn_eco_cs.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - N/A"] #[inline(always)] - #[must_use] pub fn rdn_eco_en(&mut self) -> RDN_ECO_EN_W { RDN_ECO_EN_W::new(self, 0) } diff --git a/esp32p4/src/mipi_csi_bridge/rdn_eco_high.rs b/esp32p4/src/mipi_csi_bridge/rdn_eco_high.rs index 73420ab9f5..480b386d0c 100644 --- a/esp32p4/src/mipi_csi_bridge/rdn_eco_high.rs +++ b/esp32p4/src/mipi_csi_bridge/rdn_eco_high.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - N/A"] #[inline(always)] - #[must_use] pub fn rdn_eco_high(&mut self) -> RDN_ECO_HIGH_W { RDN_ECO_HIGH_W::new(self, 0) } diff --git a/esp32p4/src/mipi_csi_bridge/rdn_eco_low.rs b/esp32p4/src/mipi_csi_bridge/rdn_eco_low.rs index cf62826bdc..85f75f03da 100644 --- a/esp32p4/src/mipi_csi_bridge/rdn_eco_low.rs +++ b/esp32p4/src/mipi_csi_bridge/rdn_eco_low.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - N/A"] #[inline(always)] - #[must_use] pub fn rdn_eco_low(&mut self) -> RDN_ECO_LOW_W { RDN_ECO_LOW_W::new(self, 0) } diff --git a/esp32p4/src/mipi_csi_host/csi2_resetn.rs b/esp32p4/src/mipi_csi_host/csi2_resetn.rs index df98621d0b..048ab40bd2 100644 --- a/esp32p4/src/mipi_csi_host/csi2_resetn.rs +++ b/esp32p4/src/mipi_csi_host/csi2_resetn.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn csi2_resetn(&mut self) -> CSI2_RESETN_W { CSI2_RESETN_W::new(self, 0) } diff --git a/esp32p4/src/mipi_csi_host/dphy_rstz.rs b/esp32p4/src/mipi_csi_host/dphy_rstz.rs index 6361d70ceb..bc1b15f90f 100644 --- a/esp32p4/src/mipi_csi_host/dphy_rstz.rs +++ b/esp32p4/src/mipi_csi_host/dphy_rstz.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn dphy_rstz(&mut self) -> DPHY_RSTZ_W { DPHY_RSTZ_W::new(self, 0) } diff --git a/esp32p4/src/mipi_csi_host/int_force_bndry_frame_fatal.rs b/esp32p4/src/mipi_csi_host/int_force_bndry_frame_fatal.rs index 031ee8d91a..07e44c0263 100644 --- a/esp32p4/src/mipi_csi_host/int_force_bndry_frame_fatal.rs +++ b/esp32p4/src/mipi_csi_host/int_force_bndry_frame_fatal.rs @@ -222,7 +222,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn force_err_f_bndry_match_vc0( &mut self, ) -> FORCE_ERR_F_BNDRY_MATCH_VC0_W { @@ -230,7 +229,6 @@ impl W { } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn force_err_f_bndry_match_vc1( &mut self, ) -> FORCE_ERR_F_BNDRY_MATCH_VC1_W { @@ -238,7 +236,6 @@ impl W { } #[doc = "Bit 2 - NA"] #[inline(always)] - #[must_use] pub fn force_err_f_bndry_match_vc2( &mut self, ) -> FORCE_ERR_F_BNDRY_MATCH_VC2_W { @@ -246,7 +243,6 @@ impl W { } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn force_err_f_bndry_match_vc3( &mut self, ) -> FORCE_ERR_F_BNDRY_MATCH_VC3_W { @@ -254,7 +250,6 @@ impl W { } #[doc = "Bit 4 - NA"] #[inline(always)] - #[must_use] pub fn force_err_f_bndry_match_vc4( &mut self, ) -> FORCE_ERR_F_BNDRY_MATCH_VC4_W { @@ -262,7 +257,6 @@ impl W { } #[doc = "Bit 5 - NA"] #[inline(always)] - #[must_use] pub fn force_err_f_bndry_match_vc5( &mut self, ) -> FORCE_ERR_F_BNDRY_MATCH_VC5_W { @@ -270,7 +264,6 @@ impl W { } #[doc = "Bit 6 - NA"] #[inline(always)] - #[must_use] pub fn force_err_f_bndry_match_vc6( &mut self, ) -> FORCE_ERR_F_BNDRY_MATCH_VC6_W { @@ -278,7 +271,6 @@ impl W { } #[doc = "Bit 7 - NA"] #[inline(always)] - #[must_use] pub fn force_err_f_bndry_match_vc7( &mut self, ) -> FORCE_ERR_F_BNDRY_MATCH_VC7_W { @@ -286,7 +278,6 @@ impl W { } #[doc = "Bit 8 - NA"] #[inline(always)] - #[must_use] pub fn force_err_f_bndry_match_vc8( &mut self, ) -> FORCE_ERR_F_BNDRY_MATCH_VC8_W { @@ -294,7 +285,6 @@ impl W { } #[doc = "Bit 9 - NA"] #[inline(always)] - #[must_use] pub fn force_err_f_bndry_match_vc9( &mut self, ) -> FORCE_ERR_F_BNDRY_MATCH_VC9_W { @@ -302,7 +292,6 @@ impl W { } #[doc = "Bit 10 - NA"] #[inline(always)] - #[must_use] pub fn force_err_f_bndry_match_vc10( &mut self, ) -> FORCE_ERR_F_BNDRY_MATCH_VC10_W { @@ -310,7 +299,6 @@ impl W { } #[doc = "Bit 11 - NA"] #[inline(always)] - #[must_use] pub fn force_err_f_bndry_match_vc11( &mut self, ) -> FORCE_ERR_F_BNDRY_MATCH_VC11_W { @@ -318,7 +306,6 @@ impl W { } #[doc = "Bit 12 - NA"] #[inline(always)] - #[must_use] pub fn force_err_f_bndry_match_vc12( &mut self, ) -> FORCE_ERR_F_BNDRY_MATCH_VC12_W { @@ -326,7 +313,6 @@ impl W { } #[doc = "Bit 13 - NA"] #[inline(always)] - #[must_use] pub fn force_err_f_bndry_match_vc13( &mut self, ) -> FORCE_ERR_F_BNDRY_MATCH_VC13_W { @@ -334,7 +320,6 @@ impl W { } #[doc = "Bit 14 - NA"] #[inline(always)] - #[must_use] pub fn force_err_f_bndry_match_vc14( &mut self, ) -> FORCE_ERR_F_BNDRY_MATCH_VC14_W { @@ -342,7 +327,6 @@ impl W { } #[doc = "Bit 15 - NA"] #[inline(always)] - #[must_use] pub fn force_err_f_bndry_match_vc15( &mut self, ) -> FORCE_ERR_F_BNDRY_MATCH_VC15_W { diff --git a/esp32p4/src/mipi_csi_host/int_force_crc_frame_fatal.rs b/esp32p4/src/mipi_csi_host/int_force_crc_frame_fatal.rs index 109fb919ac..d330165f32 100644 --- a/esp32p4/src/mipi_csi_host/int_force_crc_frame_fatal.rs +++ b/esp32p4/src/mipi_csi_host/int_force_crc_frame_fatal.rs @@ -192,7 +192,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn force_err_frame_data_vc0( &mut self, ) -> FORCE_ERR_FRAME_DATA_VC0_W { @@ -200,7 +199,6 @@ impl W { } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn force_err_frame_data_vc1( &mut self, ) -> FORCE_ERR_FRAME_DATA_VC1_W { @@ -208,7 +206,6 @@ impl W { } #[doc = "Bit 2 - NA"] #[inline(always)] - #[must_use] pub fn force_err_frame_data_vc2( &mut self, ) -> FORCE_ERR_FRAME_DATA_VC2_W { @@ -216,7 +213,6 @@ impl W { } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn force_err_frame_data_vc3( &mut self, ) -> FORCE_ERR_FRAME_DATA_VC3_W { @@ -224,7 +220,6 @@ impl W { } #[doc = "Bit 4 - NA"] #[inline(always)] - #[must_use] pub fn force_err_frame_data_vc4( &mut self, ) -> FORCE_ERR_FRAME_DATA_VC4_W { @@ -232,7 +227,6 @@ impl W { } #[doc = "Bit 5 - NA"] #[inline(always)] - #[must_use] pub fn force_err_frame_data_vc5( &mut self, ) -> FORCE_ERR_FRAME_DATA_VC5_W { @@ -240,7 +234,6 @@ impl W { } #[doc = "Bit 6 - NA"] #[inline(always)] - #[must_use] pub fn force_err_frame_data_vc6( &mut self, ) -> FORCE_ERR_FRAME_DATA_VC6_W { @@ -248,7 +241,6 @@ impl W { } #[doc = "Bit 7 - NA"] #[inline(always)] - #[must_use] pub fn force_err_frame_data_vc7( &mut self, ) -> FORCE_ERR_FRAME_DATA_VC7_W { @@ -256,7 +248,6 @@ impl W { } #[doc = "Bit 8 - NA"] #[inline(always)] - #[must_use] pub fn force_err_frame_data_vc8( &mut self, ) -> FORCE_ERR_FRAME_DATA_VC8_W { @@ -264,7 +255,6 @@ impl W { } #[doc = "Bit 9 - NA"] #[inline(always)] - #[must_use] pub fn force_err_frame_data_vc9( &mut self, ) -> FORCE_ERR_FRAME_DATA_VC9_W { @@ -272,7 +262,6 @@ impl W { } #[doc = "Bit 10 - NA"] #[inline(always)] - #[must_use] pub fn force_err_frame_data_vc10( &mut self, ) -> FORCE_ERR_FRAME_DATA_VC10_W { @@ -280,7 +269,6 @@ impl W { } #[doc = "Bit 11 - NA"] #[inline(always)] - #[must_use] pub fn force_err_frame_data_vc11( &mut self, ) -> FORCE_ERR_FRAME_DATA_VC11_W { @@ -288,7 +276,6 @@ impl W { } #[doc = "Bit 12 - NA"] #[inline(always)] - #[must_use] pub fn force_err_frame_data_vc12( &mut self, ) -> FORCE_ERR_FRAME_DATA_VC12_W { @@ -296,7 +283,6 @@ impl W { } #[doc = "Bit 13 - NA"] #[inline(always)] - #[must_use] pub fn force_err_frame_data_vc13( &mut self, ) -> FORCE_ERR_FRAME_DATA_VC13_W { @@ -304,7 +290,6 @@ impl W { } #[doc = "Bit 14 - NA"] #[inline(always)] - #[must_use] pub fn force_err_frame_data_vc14( &mut self, ) -> FORCE_ERR_FRAME_DATA_VC14_W { @@ -312,7 +297,6 @@ impl W { } #[doc = "Bit 15 - NA"] #[inline(always)] - #[must_use] pub fn force_err_frame_data_vc15( &mut self, ) -> FORCE_ERR_FRAME_DATA_VC15_W { diff --git a/esp32p4/src/mipi_csi_host/int_force_data_id.rs b/esp32p4/src/mipi_csi_host/int_force_data_id.rs index c535ca00b6..7e7948d4db 100644 --- a/esp32p4/src/mipi_csi_host/int_force_data_id.rs +++ b/esp32p4/src/mipi_csi_host/int_force_data_id.rs @@ -174,97 +174,81 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn force_err_id_vc0(&mut self) -> FORCE_ERR_ID_VC0_W { FORCE_ERR_ID_VC0_W::new(self, 0) } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn force_err_id_vc1(&mut self) -> FORCE_ERR_ID_VC1_W { FORCE_ERR_ID_VC1_W::new(self, 1) } #[doc = "Bit 2 - NA"] #[inline(always)] - #[must_use] pub fn force_err_id_vc2(&mut self) -> FORCE_ERR_ID_VC2_W { FORCE_ERR_ID_VC2_W::new(self, 2) } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn force_err_id_vc3(&mut self) -> FORCE_ERR_ID_VC3_W { FORCE_ERR_ID_VC3_W::new(self, 3) } #[doc = "Bit 4 - NA"] #[inline(always)] - #[must_use] pub fn force_err_id_vc4(&mut self) -> FORCE_ERR_ID_VC4_W { FORCE_ERR_ID_VC4_W::new(self, 4) } #[doc = "Bit 5 - NA"] #[inline(always)] - #[must_use] pub fn force_err_id_vc5(&mut self) -> FORCE_ERR_ID_VC5_W { FORCE_ERR_ID_VC5_W::new(self, 5) } #[doc = "Bit 6 - NA"] #[inline(always)] - #[must_use] pub fn force_err_id_vc6(&mut self) -> FORCE_ERR_ID_VC6_W { FORCE_ERR_ID_VC6_W::new(self, 6) } #[doc = "Bit 7 - NA"] #[inline(always)] - #[must_use] pub fn force_err_id_vc7(&mut self) -> FORCE_ERR_ID_VC7_W { FORCE_ERR_ID_VC7_W::new(self, 7) } #[doc = "Bit 8 - NA"] #[inline(always)] - #[must_use] pub fn force_err_id_vc8(&mut self) -> FORCE_ERR_ID_VC8_W { FORCE_ERR_ID_VC8_W::new(self, 8) } #[doc = "Bit 9 - NA"] #[inline(always)] - #[must_use] pub fn force_err_id_vc9(&mut self) -> FORCE_ERR_ID_VC9_W { FORCE_ERR_ID_VC9_W::new(self, 9) } #[doc = "Bit 10 - NA"] #[inline(always)] - #[must_use] pub fn force_err_id_vc10(&mut self) -> FORCE_ERR_ID_VC10_W { FORCE_ERR_ID_VC10_W::new(self, 10) } #[doc = "Bit 11 - NA"] #[inline(always)] - #[must_use] pub fn force_err_id_vc11(&mut self) -> FORCE_ERR_ID_VC11_W { FORCE_ERR_ID_VC11_W::new(self, 11) } #[doc = "Bit 12 - NA"] #[inline(always)] - #[must_use] pub fn force_err_id_vc12(&mut self) -> FORCE_ERR_ID_VC12_W { FORCE_ERR_ID_VC12_W::new(self, 12) } #[doc = "Bit 13 - NA"] #[inline(always)] - #[must_use] pub fn force_err_id_vc13(&mut self) -> FORCE_ERR_ID_VC13_W { FORCE_ERR_ID_VC13_W::new(self, 13) } #[doc = "Bit 14 - NA"] #[inline(always)] - #[must_use] pub fn force_err_id_vc14(&mut self) -> FORCE_ERR_ID_VC14_W { FORCE_ERR_ID_VC14_W::new(self, 14) } #[doc = "Bit 15 - NA"] #[inline(always)] - #[must_use] pub fn force_err_id_vc15(&mut self) -> FORCE_ERR_ID_VC15_W { FORCE_ERR_ID_VC15_W::new(self, 15) } diff --git a/esp32p4/src/mipi_csi_host/int_force_ecc_corrected.rs b/esp32p4/src/mipi_csi_host/int_force_ecc_corrected.rs index 3a4369ac53..e61a0acd16 100644 --- a/esp32p4/src/mipi_csi_host/int_force_ecc_corrected.rs +++ b/esp32p4/src/mipi_csi_host/int_force_ecc_corrected.rs @@ -222,7 +222,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn force_err_ecc_corrected_vc0( &mut self, ) -> FORCE_ERR_ECC_CORRECTED_VC0_W { @@ -230,7 +229,6 @@ impl W { } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn force_err_ecc_corrected_vc1( &mut self, ) -> FORCE_ERR_ECC_CORRECTED_VC1_W { @@ -238,7 +236,6 @@ impl W { } #[doc = "Bit 2 - NA"] #[inline(always)] - #[must_use] pub fn force_err_ecc_corrected_vc2( &mut self, ) -> FORCE_ERR_ECC_CORRECTED_VC2_W { @@ -246,7 +243,6 @@ impl W { } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn force_err_ecc_corrected_vc3( &mut self, ) -> FORCE_ERR_ECC_CORRECTED_VC3_W { @@ -254,7 +250,6 @@ impl W { } #[doc = "Bit 4 - NA"] #[inline(always)] - #[must_use] pub fn force_err_ecc_corrected_vc4( &mut self, ) -> FORCE_ERR_ECC_CORRECTED_VC4_W { @@ -262,7 +257,6 @@ impl W { } #[doc = "Bit 5 - NA"] #[inline(always)] - #[must_use] pub fn force_err_ecc_corrected_vc5( &mut self, ) -> FORCE_ERR_ECC_CORRECTED_VC5_W { @@ -270,7 +264,6 @@ impl W { } #[doc = "Bit 6 - NA"] #[inline(always)] - #[must_use] pub fn force_err_ecc_corrected_vc6( &mut self, ) -> FORCE_ERR_ECC_CORRECTED_VC6_W { @@ -278,7 +271,6 @@ impl W { } #[doc = "Bit 7 - NA"] #[inline(always)] - #[must_use] pub fn force_err_ecc_corrected_vc7( &mut self, ) -> FORCE_ERR_ECC_CORRECTED_VC7_W { @@ -286,7 +278,6 @@ impl W { } #[doc = "Bit 8 - NA"] #[inline(always)] - #[must_use] pub fn force_err_ecc_corrected_vc8( &mut self, ) -> FORCE_ERR_ECC_CORRECTED_VC8_W { @@ -294,7 +285,6 @@ impl W { } #[doc = "Bit 9 - NA"] #[inline(always)] - #[must_use] pub fn force_err_ecc_corrected_vc9( &mut self, ) -> FORCE_ERR_ECC_CORRECTED_VC9_W { @@ -302,7 +292,6 @@ impl W { } #[doc = "Bit 10 - NA"] #[inline(always)] - #[must_use] pub fn force_err_ecc_corrected_vc10( &mut self, ) -> FORCE_ERR_ECC_CORRECTED_VC10_W { @@ -310,7 +299,6 @@ impl W { } #[doc = "Bit 11 - NA"] #[inline(always)] - #[must_use] pub fn force_err_ecc_corrected_vc11( &mut self, ) -> FORCE_ERR_ECC_CORRECTED_VC11_W { @@ -318,7 +306,6 @@ impl W { } #[doc = "Bit 12 - NA"] #[inline(always)] - #[must_use] pub fn force_err_ecc_corrected_vc12( &mut self, ) -> FORCE_ERR_ECC_CORRECTED_VC12_W { @@ -326,7 +313,6 @@ impl W { } #[doc = "Bit 13 - NA"] #[inline(always)] - #[must_use] pub fn force_err_ecc_corrected_vc13( &mut self, ) -> FORCE_ERR_ECC_CORRECTED_VC13_W { @@ -334,7 +320,6 @@ impl W { } #[doc = "Bit 14 - NA"] #[inline(always)] - #[must_use] pub fn force_err_ecc_corrected_vc14( &mut self, ) -> FORCE_ERR_ECC_CORRECTED_VC14_W { @@ -342,7 +327,6 @@ impl W { } #[doc = "Bit 15 - NA"] #[inline(always)] - #[must_use] pub fn force_err_ecc_corrected_vc15( &mut self, ) -> FORCE_ERR_ECC_CORRECTED_VC15_W { diff --git a/esp32p4/src/mipi_csi_host/int_force_phy.rs b/esp32p4/src/mipi_csi_host/int_force_phy.rs index ab33923de5..3323721ebc 100644 --- a/esp32p4/src/mipi_csi_host/int_force_phy.rs +++ b/esp32p4/src/mipi_csi_host/int_force_phy.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn force_phy_errsoths_0(&mut self) -> FORCE_PHY_ERRSOTHS_0_W { FORCE_PHY_ERRSOTHS_0_W::new(self, 0) } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn force_phy_errsoths_1(&mut self) -> FORCE_PHY_ERRSOTHS_1_W { FORCE_PHY_ERRSOTHS_1_W::new(self, 1) } #[doc = "Bit 16 - NA"] #[inline(always)] - #[must_use] pub fn force_phy_erresc_0(&mut self) -> FORCE_PHY_ERRESC_0_W { FORCE_PHY_ERRESC_0_W::new(self, 16) } #[doc = "Bit 17 - NA"] #[inline(always)] - #[must_use] pub fn force_phy_erresc_1(&mut self) -> FORCE_PHY_ERRESC_1_W { FORCE_PHY_ERRESC_1_W::new(self, 17) } diff --git a/esp32p4/src/mipi_csi_host/int_force_phy_fatal.rs b/esp32p4/src/mipi_csi_host/int_force_phy_fatal.rs index f599f8af12..6698b11b74 100644 --- a/esp32p4/src/mipi_csi_host/int_force_phy_fatal.rs +++ b/esp32p4/src/mipi_csi_host/int_force_phy_fatal.rs @@ -34,7 +34,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn force_phy_errsotsynchs_0( &mut self, ) -> FORCE_PHY_ERRSOTSYNCHS_0_W { @@ -42,7 +41,6 @@ impl W { } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn force_phy_errsotsynchs_1( &mut self, ) -> FORCE_PHY_ERRSOTSYNCHS_1_W { diff --git a/esp32p4/src/mipi_csi_host/int_force_pkt_fatal.rs b/esp32p4/src/mipi_csi_host/int_force_pkt_fatal.rs index 08c3f1d296..6c529cf8a6 100644 --- a/esp32p4/src/mipi_csi_host/int_force_pkt_fatal.rs +++ b/esp32p4/src/mipi_csi_host/int_force_pkt_fatal.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn force_err_ecc_double(&mut self) -> FORCE_ERR_ECC_DOUBLE_W { FORCE_ERR_ECC_DOUBLE_W::new(self, 0) } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn force_shorter_payload(&mut self) -> FORCE_SHORTER_PAYLOAD_W { FORCE_SHORTER_PAYLOAD_W::new(self, 1) } diff --git a/esp32p4/src/mipi_csi_host/int_force_pld_crc_fatal.rs b/esp32p4/src/mipi_csi_host/int_force_pld_crc_fatal.rs index 3cbad3bfbc..2540ac764d 100644 --- a/esp32p4/src/mipi_csi_host/int_force_pld_crc_fatal.rs +++ b/esp32p4/src/mipi_csi_host/int_force_pld_crc_fatal.rs @@ -174,97 +174,81 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn force_err_crc_vc0(&mut self) -> FORCE_ERR_CRC_VC0_W { FORCE_ERR_CRC_VC0_W::new(self, 0) } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn force_err_crc_vc1(&mut self) -> FORCE_ERR_CRC_VC1_W { FORCE_ERR_CRC_VC1_W::new(self, 1) } #[doc = "Bit 2 - NA"] #[inline(always)] - #[must_use] pub fn force_err_crc_vc2(&mut self) -> FORCE_ERR_CRC_VC2_W { FORCE_ERR_CRC_VC2_W::new(self, 2) } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn force_err_crc_vc3(&mut self) -> FORCE_ERR_CRC_VC3_W { FORCE_ERR_CRC_VC3_W::new(self, 3) } #[doc = "Bit 4 - NA"] #[inline(always)] - #[must_use] pub fn force_err_crc_vc4(&mut self) -> FORCE_ERR_CRC_VC4_W { FORCE_ERR_CRC_VC4_W::new(self, 4) } #[doc = "Bit 5 - NA"] #[inline(always)] - #[must_use] pub fn force_err_crc_vc5(&mut self) -> FORCE_ERR_CRC_VC5_W { FORCE_ERR_CRC_VC5_W::new(self, 5) } #[doc = "Bit 6 - NA"] #[inline(always)] - #[must_use] pub fn force_err_crc_vc6(&mut self) -> FORCE_ERR_CRC_VC6_W { FORCE_ERR_CRC_VC6_W::new(self, 6) } #[doc = "Bit 7 - NA"] #[inline(always)] - #[must_use] pub fn force_err_crc_vc7(&mut self) -> FORCE_ERR_CRC_VC7_W { FORCE_ERR_CRC_VC7_W::new(self, 7) } #[doc = "Bit 8 - NA"] #[inline(always)] - #[must_use] pub fn force_err_crc_vc8(&mut self) -> FORCE_ERR_CRC_VC8_W { FORCE_ERR_CRC_VC8_W::new(self, 8) } #[doc = "Bit 9 - NA"] #[inline(always)] - #[must_use] pub fn force_err_crc_vc9(&mut self) -> FORCE_ERR_CRC_VC9_W { FORCE_ERR_CRC_VC9_W::new(self, 9) } #[doc = "Bit 10 - NA"] #[inline(always)] - #[must_use] pub fn force_err_crc_vc10(&mut self) -> FORCE_ERR_CRC_VC10_W { FORCE_ERR_CRC_VC10_W::new(self, 10) } #[doc = "Bit 11 - NA"] #[inline(always)] - #[must_use] pub fn force_err_crc_vc11(&mut self) -> FORCE_ERR_CRC_VC11_W { FORCE_ERR_CRC_VC11_W::new(self, 11) } #[doc = "Bit 12 - NA"] #[inline(always)] - #[must_use] pub fn force_err_crc_vc12(&mut self) -> FORCE_ERR_CRC_VC12_W { FORCE_ERR_CRC_VC12_W::new(self, 12) } #[doc = "Bit 13 - NA"] #[inline(always)] - #[must_use] pub fn force_err_crc_vc13(&mut self) -> FORCE_ERR_CRC_VC13_W { FORCE_ERR_CRC_VC13_W::new(self, 13) } #[doc = "Bit 14 - NA"] #[inline(always)] - #[must_use] pub fn force_err_crc_vc14(&mut self) -> FORCE_ERR_CRC_VC14_W { FORCE_ERR_CRC_VC14_W::new(self, 14) } #[doc = "Bit 15 - NA"] #[inline(always)] - #[must_use] pub fn force_err_crc_vc15(&mut self) -> FORCE_ERR_CRC_VC15_W { FORCE_ERR_CRC_VC15_W::new(self, 15) } diff --git a/esp32p4/src/mipi_csi_host/int_force_seq_frame_fatal.rs b/esp32p4/src/mipi_csi_host/int_force_seq_frame_fatal.rs index 05f5420c85..caf193329b 100644 --- a/esp32p4/src/mipi_csi_host/int_force_seq_frame_fatal.rs +++ b/esp32p4/src/mipi_csi_host/int_force_seq_frame_fatal.rs @@ -174,67 +174,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn force_err_f_seq_vc0(&mut self) -> FORCE_ERR_F_SEQ_VC0_W { FORCE_ERR_F_SEQ_VC0_W::new(self, 0) } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn force_err_f_seq_vc1(&mut self) -> FORCE_ERR_F_SEQ_VC1_W { FORCE_ERR_F_SEQ_VC1_W::new(self, 1) } #[doc = "Bit 2 - NA"] #[inline(always)] - #[must_use] pub fn force_err_f_seq_vc2(&mut self) -> FORCE_ERR_F_SEQ_VC2_W { FORCE_ERR_F_SEQ_VC2_W::new(self, 2) } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn force_err_f_seq_vc3(&mut self) -> FORCE_ERR_F_SEQ_VC3_W { FORCE_ERR_F_SEQ_VC3_W::new(self, 3) } #[doc = "Bit 4 - NA"] #[inline(always)] - #[must_use] pub fn force_err_f_seq_vc4(&mut self) -> FORCE_ERR_F_SEQ_VC4_W { FORCE_ERR_F_SEQ_VC4_W::new(self, 4) } #[doc = "Bit 5 - NA"] #[inline(always)] - #[must_use] pub fn force_err_f_seq_vc5(&mut self) -> FORCE_ERR_F_SEQ_VC5_W { FORCE_ERR_F_SEQ_VC5_W::new(self, 5) } #[doc = "Bit 6 - NA"] #[inline(always)] - #[must_use] pub fn force_err_f_seq_vc6(&mut self) -> FORCE_ERR_F_SEQ_VC6_W { FORCE_ERR_F_SEQ_VC6_W::new(self, 6) } #[doc = "Bit 7 - NA"] #[inline(always)] - #[must_use] pub fn force_err_f_seq_vc7(&mut self) -> FORCE_ERR_F_SEQ_VC7_W { FORCE_ERR_F_SEQ_VC7_W::new(self, 7) } #[doc = "Bit 8 - NA"] #[inline(always)] - #[must_use] pub fn force_err_f_seq_vc8(&mut self) -> FORCE_ERR_F_SEQ_VC8_W { FORCE_ERR_F_SEQ_VC8_W::new(self, 8) } #[doc = "Bit 9 - NA"] #[inline(always)] - #[must_use] pub fn force_err_f_seq_vc9(&mut self) -> FORCE_ERR_F_SEQ_VC9_W { FORCE_ERR_F_SEQ_VC9_W::new(self, 9) } #[doc = "Bit 10 - NA"] #[inline(always)] - #[must_use] pub fn force_err_f_seq_vc10( &mut self, ) -> FORCE_ERR_F_SEQ_VC10_W { @@ -242,7 +231,6 @@ impl W { } #[doc = "Bit 11 - NA"] #[inline(always)] - #[must_use] pub fn force_err_f_seq_vc11( &mut self, ) -> FORCE_ERR_F_SEQ_VC11_W { @@ -250,7 +238,6 @@ impl W { } #[doc = "Bit 12 - NA"] #[inline(always)] - #[must_use] pub fn force_err_f_seq_vc12( &mut self, ) -> FORCE_ERR_F_SEQ_VC12_W { @@ -258,7 +245,6 @@ impl W { } #[doc = "Bit 13 - NA"] #[inline(always)] - #[must_use] pub fn force_err_f_seq_vc13( &mut self, ) -> FORCE_ERR_F_SEQ_VC13_W { @@ -266,7 +252,6 @@ impl W { } #[doc = "Bit 14 - NA"] #[inline(always)] - #[must_use] pub fn force_err_f_seq_vc14( &mut self, ) -> FORCE_ERR_F_SEQ_VC14_W { @@ -274,7 +259,6 @@ impl W { } #[doc = "Bit 15 - NA"] #[inline(always)] - #[must_use] pub fn force_err_f_seq_vc15( &mut self, ) -> FORCE_ERR_F_SEQ_VC15_W { diff --git a/esp32p4/src/mipi_csi_host/int_msk_bndry_frame_fatal.rs b/esp32p4/src/mipi_csi_host/int_msk_bndry_frame_fatal.rs index be1704ae19..c966f1156d 100644 --- a/esp32p4/src/mipi_csi_host/int_msk_bndry_frame_fatal.rs +++ b/esp32p4/src/mipi_csi_host/int_msk_bndry_frame_fatal.rs @@ -222,7 +222,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_f_bndry_match_vc0( &mut self, ) -> MASK_ERR_F_BNDRY_MATCH_VC0_W { @@ -230,7 +229,6 @@ impl W { } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_f_bndry_match_vc1( &mut self, ) -> MASK_ERR_F_BNDRY_MATCH_VC1_W { @@ -238,7 +236,6 @@ impl W { } #[doc = "Bit 2 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_f_bndry_match_vc2( &mut self, ) -> MASK_ERR_F_BNDRY_MATCH_VC2_W { @@ -246,7 +243,6 @@ impl W { } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_f_bndry_match_vc3( &mut self, ) -> MASK_ERR_F_BNDRY_MATCH_VC3_W { @@ -254,7 +250,6 @@ impl W { } #[doc = "Bit 4 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_f_bndry_match_vc4( &mut self, ) -> MASK_ERR_F_BNDRY_MATCH_VC4_W { @@ -262,7 +257,6 @@ impl W { } #[doc = "Bit 5 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_f_bndry_match_vc5( &mut self, ) -> MASK_ERR_F_BNDRY_MATCH_VC5_W { @@ -270,7 +264,6 @@ impl W { } #[doc = "Bit 6 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_f_bndry_match_vc6( &mut self, ) -> MASK_ERR_F_BNDRY_MATCH_VC6_W { @@ -278,7 +271,6 @@ impl W { } #[doc = "Bit 7 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_f_bndry_match_vc7( &mut self, ) -> MASK_ERR_F_BNDRY_MATCH_VC7_W { @@ -286,7 +278,6 @@ impl W { } #[doc = "Bit 8 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_f_bndry_match_vc8( &mut self, ) -> MASK_ERR_F_BNDRY_MATCH_VC8_W { @@ -294,7 +285,6 @@ impl W { } #[doc = "Bit 9 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_f_bndry_match_vc9( &mut self, ) -> MASK_ERR_F_BNDRY_MATCH_VC9_W { @@ -302,7 +292,6 @@ impl W { } #[doc = "Bit 10 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_f_bndry_match_vc10( &mut self, ) -> MASK_ERR_F_BNDRY_MATCH_VC10_W { @@ -310,7 +299,6 @@ impl W { } #[doc = "Bit 11 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_f_bndry_match_vc11( &mut self, ) -> MASK_ERR_F_BNDRY_MATCH_VC11_W { @@ -318,7 +306,6 @@ impl W { } #[doc = "Bit 12 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_f_bndry_match_vc12( &mut self, ) -> MASK_ERR_F_BNDRY_MATCH_VC12_W { @@ -326,7 +313,6 @@ impl W { } #[doc = "Bit 13 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_f_bndry_match_vc13( &mut self, ) -> MASK_ERR_F_BNDRY_MATCH_VC13_W { @@ -334,7 +320,6 @@ impl W { } #[doc = "Bit 14 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_f_bndry_match_vc14( &mut self, ) -> MASK_ERR_F_BNDRY_MATCH_VC14_W { @@ -342,7 +327,6 @@ impl W { } #[doc = "Bit 15 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_f_bndry_match_vc15( &mut self, ) -> MASK_ERR_F_BNDRY_MATCH_VC15_W { diff --git a/esp32p4/src/mipi_csi_host/int_msk_crc_frame_fatal.rs b/esp32p4/src/mipi_csi_host/int_msk_crc_frame_fatal.rs index 93eb30eb98..7b70ab07d2 100644 --- a/esp32p4/src/mipi_csi_host/int_msk_crc_frame_fatal.rs +++ b/esp32p4/src/mipi_csi_host/int_msk_crc_frame_fatal.rs @@ -174,7 +174,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_frame_data_vc0( &mut self, ) -> MASK_ERR_FRAME_DATA_VC0_W { @@ -182,7 +181,6 @@ impl W { } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_frame_data_vc1( &mut self, ) -> MASK_ERR_FRAME_DATA_VC1_W { @@ -190,7 +188,6 @@ impl W { } #[doc = "Bit 2 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_frame_data_vc2( &mut self, ) -> MASK_ERR_FRAME_DATA_VC2_W { @@ -198,7 +195,6 @@ impl W { } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_frame_data_vc3( &mut self, ) -> MASK_ERR_FRAME_DATA_VC3_W { @@ -206,7 +202,6 @@ impl W { } #[doc = "Bit 4 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_frame_data_vc4( &mut self, ) -> MASK_ERR_FRAME_DATA_VC4_W { @@ -214,7 +209,6 @@ impl W { } #[doc = "Bit 5 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_frame_data_vc5( &mut self, ) -> MASK_ERR_FRAME_DATA_VC5_W { @@ -222,7 +216,6 @@ impl W { } #[doc = "Bit 6 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_frame_data_vc6( &mut self, ) -> MASK_ERR_FRAME_DATA_VC6_W { @@ -230,7 +223,6 @@ impl W { } #[doc = "Bit 7 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_frame_data_vc7( &mut self, ) -> MASK_ERR_FRAME_DATA_VC7_W { @@ -238,7 +230,6 @@ impl W { } #[doc = "Bit 8 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_frame_data_vc8( &mut self, ) -> MASK_ERR_FRAME_DATA_VC8_W { @@ -246,7 +237,6 @@ impl W { } #[doc = "Bit 9 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_frame_data_vc9( &mut self, ) -> MASK_ERR_FRAME_DATA_VC9_W { @@ -254,7 +244,6 @@ impl W { } #[doc = "Bit 10 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_frame_data_vc10( &mut self, ) -> MASK_ERR_FRAME_DATA_VC10_W { @@ -262,7 +251,6 @@ impl W { } #[doc = "Bit 11 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_frame_data_vc11( &mut self, ) -> MASK_ERR_FRAME_DATA_VC11_W { @@ -270,7 +258,6 @@ impl W { } #[doc = "Bit 12 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_frame_data_vc12( &mut self, ) -> MASK_ERR_FRAME_DATA_VC12_W { @@ -278,7 +265,6 @@ impl W { } #[doc = "Bit 13 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_frame_data_vc13( &mut self, ) -> MASK_ERR_FRAME_DATA_VC13_W { @@ -286,7 +272,6 @@ impl W { } #[doc = "Bit 14 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_frame_data_vc14( &mut self, ) -> MASK_ERR_FRAME_DATA_VC14_W { @@ -294,7 +279,6 @@ impl W { } #[doc = "Bit 15 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_frame_data_vc15( &mut self, ) -> MASK_ERR_FRAME_DATA_VC15_W { diff --git a/esp32p4/src/mipi_csi_host/int_msk_data_id.rs b/esp32p4/src/mipi_csi_host/int_msk_data_id.rs index 5c0996d077..a441b46ebc 100644 --- a/esp32p4/src/mipi_csi_host/int_msk_data_id.rs +++ b/esp32p4/src/mipi_csi_host/int_msk_data_id.rs @@ -174,97 +174,81 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_id_vc0(&mut self) -> MASK_ERR_ID_VC0_W { MASK_ERR_ID_VC0_W::new(self, 0) } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_id_vc1(&mut self) -> MASK_ERR_ID_VC1_W { MASK_ERR_ID_VC1_W::new(self, 1) } #[doc = "Bit 2 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_id_vc2(&mut self) -> MASK_ERR_ID_VC2_W { MASK_ERR_ID_VC2_W::new(self, 2) } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_id_vc3(&mut self) -> MASK_ERR_ID_VC3_W { MASK_ERR_ID_VC3_W::new(self, 3) } #[doc = "Bit 4 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_id_vc4(&mut self) -> MASK_ERR_ID_VC4_W { MASK_ERR_ID_VC4_W::new(self, 4) } #[doc = "Bit 5 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_id_vc5(&mut self) -> MASK_ERR_ID_VC5_W { MASK_ERR_ID_VC5_W::new(self, 5) } #[doc = "Bit 6 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_id_vc6(&mut self) -> MASK_ERR_ID_VC6_W { MASK_ERR_ID_VC6_W::new(self, 6) } #[doc = "Bit 7 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_id_vc7(&mut self) -> MASK_ERR_ID_VC7_W { MASK_ERR_ID_VC7_W::new(self, 7) } #[doc = "Bit 8 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_id_vc8(&mut self) -> MASK_ERR_ID_VC8_W { MASK_ERR_ID_VC8_W::new(self, 8) } #[doc = "Bit 9 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_id_vc9(&mut self) -> MASK_ERR_ID_VC9_W { MASK_ERR_ID_VC9_W::new(self, 9) } #[doc = "Bit 10 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_id_vc10(&mut self) -> MASK_ERR_ID_VC10_W { MASK_ERR_ID_VC10_W::new(self, 10) } #[doc = "Bit 11 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_id_vc11(&mut self) -> MASK_ERR_ID_VC11_W { MASK_ERR_ID_VC11_W::new(self, 11) } #[doc = "Bit 12 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_id_vc12(&mut self) -> MASK_ERR_ID_VC12_W { MASK_ERR_ID_VC12_W::new(self, 12) } #[doc = "Bit 13 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_id_vc13(&mut self) -> MASK_ERR_ID_VC13_W { MASK_ERR_ID_VC13_W::new(self, 13) } #[doc = "Bit 14 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_id_vc14(&mut self) -> MASK_ERR_ID_VC14_W { MASK_ERR_ID_VC14_W::new(self, 14) } #[doc = "Bit 15 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_id_vc15(&mut self) -> MASK_ERR_ID_VC15_W { MASK_ERR_ID_VC15_W::new(self, 15) } diff --git a/esp32p4/src/mipi_csi_host/int_msk_ecc_corrected.rs b/esp32p4/src/mipi_csi_host/int_msk_ecc_corrected.rs index 5390c214f2..b55d2730c4 100644 --- a/esp32p4/src/mipi_csi_host/int_msk_ecc_corrected.rs +++ b/esp32p4/src/mipi_csi_host/int_msk_ecc_corrected.rs @@ -222,7 +222,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_ecc_corrected_vc0( &mut self, ) -> MASK_ERR_ECC_CORRECTED_VC0_W { @@ -230,7 +229,6 @@ impl W { } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_ecc_corrected_vc1( &mut self, ) -> MASK_ERR_ECC_CORRECTED_VC1_W { @@ -238,7 +236,6 @@ impl W { } #[doc = "Bit 2 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_ecc_corrected_vc2( &mut self, ) -> MASK_ERR_ECC_CORRECTED_VC2_W { @@ -246,7 +243,6 @@ impl W { } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_ecc_corrected_vc3( &mut self, ) -> MASK_ERR_ECC_CORRECTED_VC3_W { @@ -254,7 +250,6 @@ impl W { } #[doc = "Bit 4 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_ecc_corrected_vc4( &mut self, ) -> MASK_ERR_ECC_CORRECTED_VC4_W { @@ -262,7 +257,6 @@ impl W { } #[doc = "Bit 5 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_ecc_corrected_vc5( &mut self, ) -> MASK_ERR_ECC_CORRECTED_VC5_W { @@ -270,7 +264,6 @@ impl W { } #[doc = "Bit 6 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_ecc_corrected_vc6( &mut self, ) -> MASK_ERR_ECC_CORRECTED_VC6_W { @@ -278,7 +271,6 @@ impl W { } #[doc = "Bit 7 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_ecc_corrected_vc7( &mut self, ) -> MASK_ERR_ECC_CORRECTED_VC7_W { @@ -286,7 +278,6 @@ impl W { } #[doc = "Bit 8 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_ecc_corrected_vc8( &mut self, ) -> MASK_ERR_ECC_CORRECTED_VC8_W { @@ -294,7 +285,6 @@ impl W { } #[doc = "Bit 9 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_ecc_corrected_vc9( &mut self, ) -> MASK_ERR_ECC_CORRECTED_VC9_W { @@ -302,7 +292,6 @@ impl W { } #[doc = "Bit 10 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_ecc_corrected_vc10( &mut self, ) -> MASK_ERR_ECC_CORRECTED_VC10_W { @@ -310,7 +299,6 @@ impl W { } #[doc = "Bit 11 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_ecc_corrected_vc11( &mut self, ) -> MASK_ERR_ECC_CORRECTED_VC11_W { @@ -318,7 +306,6 @@ impl W { } #[doc = "Bit 12 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_ecc_corrected_vc12( &mut self, ) -> MASK_ERR_ECC_CORRECTED_VC12_W { @@ -326,7 +313,6 @@ impl W { } #[doc = "Bit 13 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_ecc_corrected_vc13( &mut self, ) -> MASK_ERR_ECC_CORRECTED_VC13_W { @@ -334,7 +320,6 @@ impl W { } #[doc = "Bit 14 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_ecc_corrected_vc14( &mut self, ) -> MASK_ERR_ECC_CORRECTED_VC14_W { @@ -342,7 +327,6 @@ impl W { } #[doc = "Bit 15 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_ecc_corrected_vc15( &mut self, ) -> MASK_ERR_ECC_CORRECTED_VC15_W { diff --git a/esp32p4/src/mipi_csi_host/int_msk_phy.rs b/esp32p4/src/mipi_csi_host/int_msk_phy.rs index 964a474cec..75be9f80a4 100644 --- a/esp32p4/src/mipi_csi_host/int_msk_phy.rs +++ b/esp32p4/src/mipi_csi_host/int_msk_phy.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn mask_phy_errsoths_0(&mut self) -> MASK_PHY_ERRSOTHS_0_W { MASK_PHY_ERRSOTHS_0_W::new(self, 0) } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn mask_phy_errsoths_1(&mut self) -> MASK_PHY_ERRSOTHS_1_W { MASK_PHY_ERRSOTHS_1_W::new(self, 1) } #[doc = "Bit 16 - NA"] #[inline(always)] - #[must_use] pub fn mask_phy_erresc_0(&mut self) -> MASK_PHY_ERRESC_0_W { MASK_PHY_ERRESC_0_W::new(self, 16) } #[doc = "Bit 17 - NA"] #[inline(always)] - #[must_use] pub fn mask_phy_erresc_1(&mut self) -> MASK_PHY_ERRESC_1_W { MASK_PHY_ERRESC_1_W::new(self, 17) } diff --git a/esp32p4/src/mipi_csi_host/int_msk_phy_fatal.rs b/esp32p4/src/mipi_csi_host/int_msk_phy_fatal.rs index f8798fcef4..1706edce6f 100644 --- a/esp32p4/src/mipi_csi_host/int_msk_phy_fatal.rs +++ b/esp32p4/src/mipi_csi_host/int_msk_phy_fatal.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn mask_phy_errsotsynchs_0(&mut self) -> MASK_PHY_ERRSOTSYNCHS_0_W { MASK_PHY_ERRSOTSYNCHS_0_W::new(self, 0) } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn mask_phy_errsotsynchs_1(&mut self) -> MASK_PHY_ERRSOTSYNCHS_1_W { MASK_PHY_ERRSOTSYNCHS_1_W::new(self, 1) } diff --git a/esp32p4/src/mipi_csi_host/int_msk_pkt_fatal.rs b/esp32p4/src/mipi_csi_host/int_msk_pkt_fatal.rs index a4d964e67d..3790a4c848 100644 --- a/esp32p4/src/mipi_csi_host/int_msk_pkt_fatal.rs +++ b/esp32p4/src/mipi_csi_host/int_msk_pkt_fatal.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_ecc_double(&mut self) -> MASK_ERR_ECC_DOUBLE_W { MASK_ERR_ECC_DOUBLE_W::new(self, 0) } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn mask_shorter_payload(&mut self) -> MASK_SHORTER_PAYLOAD_W { MASK_SHORTER_PAYLOAD_W::new(self, 1) } diff --git a/esp32p4/src/mipi_csi_host/int_msk_pld_crc_fatal.rs b/esp32p4/src/mipi_csi_host/int_msk_pld_crc_fatal.rs index 0c9eafb3b3..4b4f7b2c13 100644 --- a/esp32p4/src/mipi_csi_host/int_msk_pld_crc_fatal.rs +++ b/esp32p4/src/mipi_csi_host/int_msk_pld_crc_fatal.rs @@ -174,97 +174,81 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_crc_vc0(&mut self) -> MASK_ERR_CRC_VC0_W { MASK_ERR_CRC_VC0_W::new(self, 0) } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_crc_vc1(&mut self) -> MASK_ERR_CRC_VC1_W { MASK_ERR_CRC_VC1_W::new(self, 1) } #[doc = "Bit 2 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_crc_vc2(&mut self) -> MASK_ERR_CRC_VC2_W { MASK_ERR_CRC_VC2_W::new(self, 2) } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_crc_vc3(&mut self) -> MASK_ERR_CRC_VC3_W { MASK_ERR_CRC_VC3_W::new(self, 3) } #[doc = "Bit 4 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_crc_vc4(&mut self) -> MASK_ERR_CRC_VC4_W { MASK_ERR_CRC_VC4_W::new(self, 4) } #[doc = "Bit 5 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_crc_vc5(&mut self) -> MASK_ERR_CRC_VC5_W { MASK_ERR_CRC_VC5_W::new(self, 5) } #[doc = "Bit 6 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_crc_vc6(&mut self) -> MASK_ERR_CRC_VC6_W { MASK_ERR_CRC_VC6_W::new(self, 6) } #[doc = "Bit 7 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_crc_vc7(&mut self) -> MASK_ERR_CRC_VC7_W { MASK_ERR_CRC_VC7_W::new(self, 7) } #[doc = "Bit 8 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_crc_vc8(&mut self) -> MASK_ERR_CRC_VC8_W { MASK_ERR_CRC_VC8_W::new(self, 8) } #[doc = "Bit 9 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_crc_vc9(&mut self) -> MASK_ERR_CRC_VC9_W { MASK_ERR_CRC_VC9_W::new(self, 9) } #[doc = "Bit 10 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_crc_vc10(&mut self) -> MASK_ERR_CRC_VC10_W { MASK_ERR_CRC_VC10_W::new(self, 10) } #[doc = "Bit 11 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_crc_vc11(&mut self) -> MASK_ERR_CRC_VC11_W { MASK_ERR_CRC_VC11_W::new(self, 11) } #[doc = "Bit 12 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_crc_vc12(&mut self) -> MASK_ERR_CRC_VC12_W { MASK_ERR_CRC_VC12_W::new(self, 12) } #[doc = "Bit 13 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_crc_vc13(&mut self) -> MASK_ERR_CRC_VC13_W { MASK_ERR_CRC_VC13_W::new(self, 13) } #[doc = "Bit 14 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_crc_vc14(&mut self) -> MASK_ERR_CRC_VC14_W { MASK_ERR_CRC_VC14_W::new(self, 14) } #[doc = "Bit 15 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_crc_vc15(&mut self) -> MASK_ERR_CRC_VC15_W { MASK_ERR_CRC_VC15_W::new(self, 15) } diff --git a/esp32p4/src/mipi_csi_host/int_msk_seq_frame_fatal.rs b/esp32p4/src/mipi_csi_host/int_msk_seq_frame_fatal.rs index 332ce02d2f..079a7d01af 100644 --- a/esp32p4/src/mipi_csi_host/int_msk_seq_frame_fatal.rs +++ b/esp32p4/src/mipi_csi_host/int_msk_seq_frame_fatal.rs @@ -174,97 +174,81 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_f_seq_vc0(&mut self) -> MASK_ERR_F_SEQ_VC0_W { MASK_ERR_F_SEQ_VC0_W::new(self, 0) } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_f_seq_vc1(&mut self) -> MASK_ERR_F_SEQ_VC1_W { MASK_ERR_F_SEQ_VC1_W::new(self, 1) } #[doc = "Bit 2 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_f_seq_vc2(&mut self) -> MASK_ERR_F_SEQ_VC2_W { MASK_ERR_F_SEQ_VC2_W::new(self, 2) } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_f_seq_vc3(&mut self) -> MASK_ERR_F_SEQ_VC3_W { MASK_ERR_F_SEQ_VC3_W::new(self, 3) } #[doc = "Bit 4 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_f_seq_vc4(&mut self) -> MASK_ERR_F_SEQ_VC4_W { MASK_ERR_F_SEQ_VC4_W::new(self, 4) } #[doc = "Bit 5 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_f_seq_vc5(&mut self) -> MASK_ERR_F_SEQ_VC5_W { MASK_ERR_F_SEQ_VC5_W::new(self, 5) } #[doc = "Bit 6 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_f_seq_vc6(&mut self) -> MASK_ERR_F_SEQ_VC6_W { MASK_ERR_F_SEQ_VC6_W::new(self, 6) } #[doc = "Bit 7 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_f_seq_vc7(&mut self) -> MASK_ERR_F_SEQ_VC7_W { MASK_ERR_F_SEQ_VC7_W::new(self, 7) } #[doc = "Bit 8 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_f_seq_vc8(&mut self) -> MASK_ERR_F_SEQ_VC8_W { MASK_ERR_F_SEQ_VC8_W::new(self, 8) } #[doc = "Bit 9 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_f_seq_vc9(&mut self) -> MASK_ERR_F_SEQ_VC9_W { MASK_ERR_F_SEQ_VC9_W::new(self, 9) } #[doc = "Bit 10 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_f_seq_vc10(&mut self) -> MASK_ERR_F_SEQ_VC10_W { MASK_ERR_F_SEQ_VC10_W::new(self, 10) } #[doc = "Bit 11 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_f_seq_vc11(&mut self) -> MASK_ERR_F_SEQ_VC11_W { MASK_ERR_F_SEQ_VC11_W::new(self, 11) } #[doc = "Bit 12 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_f_seq_vc12(&mut self) -> MASK_ERR_F_SEQ_VC12_W { MASK_ERR_F_SEQ_VC12_W::new(self, 12) } #[doc = "Bit 13 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_f_seq_vc13(&mut self) -> MASK_ERR_F_SEQ_VC13_W { MASK_ERR_F_SEQ_VC13_W::new(self, 13) } #[doc = "Bit 14 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_f_seq_vc14(&mut self) -> MASK_ERR_F_SEQ_VC14_W { MASK_ERR_F_SEQ_VC14_W::new(self, 14) } #[doc = "Bit 15 - NA"] #[inline(always)] - #[must_use] pub fn mask_err_f_seq_vc15(&mut self) -> MASK_ERR_F_SEQ_VC15_W { MASK_ERR_F_SEQ_VC15_W::new(self, 15) } diff --git a/esp32p4/src/mipi_csi_host/n_lanes.rs b/esp32p4/src/mipi_csi_host/n_lanes.rs index 9b9e373fef..c624bb039c 100644 --- a/esp32p4/src/mipi_csi_host/n_lanes.rs +++ b/esp32p4/src/mipi_csi_host/n_lanes.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - NA"] #[inline(always)] - #[must_use] pub fn n_lanes(&mut self) -> N_LANES_W { N_LANES_W::new(self, 0) } diff --git a/esp32p4/src/mipi_csi_host/phy_shutdownz.rs b/esp32p4/src/mipi_csi_host/phy_shutdownz.rs index 01bd2df8f0..1c0e8c9d90 100644 --- a/esp32p4/src/mipi_csi_host/phy_shutdownz.rs +++ b/esp32p4/src/mipi_csi_host/phy_shutdownz.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn phy_shutdownz(&mut self) -> PHY_SHUTDOWNZ_W { PHY_SHUTDOWNZ_W::new(self, 0) } diff --git a/esp32p4/src/mipi_csi_host/phy_test_ctrl0.rs b/esp32p4/src/mipi_csi_host/phy_test_ctrl0.rs index 14e9dce150..a1bc905d88 100644 --- a/esp32p4/src/mipi_csi_host/phy_test_ctrl0.rs +++ b/esp32p4/src/mipi_csi_host/phy_test_ctrl0.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn phy_testclr(&mut self) -> PHY_TESTCLR_W { PHY_TESTCLR_W::new(self, 0) } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn phy_testclk(&mut self) -> PHY_TESTCLK_W { PHY_TESTCLK_W::new(self, 1) } diff --git a/esp32p4/src/mipi_csi_host/phy_test_ctrl1.rs b/esp32p4/src/mipi_csi_host/phy_test_ctrl1.rs index 8ecbeb2617..122dce861c 100644 --- a/esp32p4/src/mipi_csi_host/phy_test_ctrl1.rs +++ b/esp32p4/src/mipi_csi_host/phy_test_ctrl1.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - NA"] #[inline(always)] - #[must_use] pub fn phy_testdin(&mut self) -> PHY_TESTDIN_W { PHY_TESTDIN_W::new(self, 0) } #[doc = "Bit 16 - NA"] #[inline(always)] - #[must_use] pub fn phy_testen(&mut self) -> PHY_TESTEN_W { PHY_TESTEN_W::new(self, 16) } diff --git a/esp32p4/src/mipi_csi_host/scrambling.rs b/esp32p4/src/mipi_csi_host/scrambling.rs index c40d33c0a6..facbbecd6b 100644 --- a/esp32p4/src/mipi_csi_host/scrambling.rs +++ b/esp32p4/src/mipi_csi_host/scrambling.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn scramble_enable(&mut self) -> SCRAMBLE_ENABLE_W { SCRAMBLE_ENABLE_W::new(self, 0) } diff --git a/esp32p4/src/mipi_csi_host/scrambling_seed1.rs b/esp32p4/src/mipi_csi_host/scrambling_seed1.rs index c16428b5ac..15e3b7aabc 100644 --- a/esp32p4/src/mipi_csi_host/scrambling_seed1.rs +++ b/esp32p4/src/mipi_csi_host/scrambling_seed1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - NA"] #[inline(always)] - #[must_use] pub fn scramble_seed_lane1(&mut self) -> SCRAMBLE_SEED_LANE1_W { SCRAMBLE_SEED_LANE1_W::new(self, 0) } diff --git a/esp32p4/src/mipi_csi_host/scrambling_seed2.rs b/esp32p4/src/mipi_csi_host/scrambling_seed2.rs index c5472174c9..173ba35264 100644 --- a/esp32p4/src/mipi_csi_host/scrambling_seed2.rs +++ b/esp32p4/src/mipi_csi_host/scrambling_seed2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - NA"] #[inline(always)] - #[must_use] pub fn scramble_seed_lane2(&mut self) -> SCRAMBLE_SEED_LANE2_W { SCRAMBLE_SEED_LANE2_W::new(self, 0) } diff --git a/esp32p4/src/mipi_csi_host/vc_extension.rs b/esp32p4/src/mipi_csi_host/vc_extension.rs index b71fa4cdf7..940f2c1473 100644 --- a/esp32p4/src/mipi_csi_host/vc_extension.rs +++ b/esp32p4/src/mipi_csi_host/vc_extension.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn vcx(&mut self) -> VCX_W { VCX_W::new(self, 0) } diff --git a/esp32p4/src/mipi_dsi_bridge/blk_raw_num_cfg.rs b/esp32p4/src/mipi_dsi_bridge/blk_raw_num_cfg.rs index 7bf4d6cd2d..5d350cbb8d 100644 --- a/esp32p4/src/mipi_dsi_bridge/blk_raw_num_cfg.rs +++ b/esp32p4/src/mipi_dsi_bridge/blk_raw_num_cfg.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - this field configures number of total block pix bits/64"] #[inline(always)] - #[must_use] pub fn blk_raw_num_total(&mut self) -> BLK_RAW_NUM_TOTAL_W { BLK_RAW_NUM_TOTAL_W::new(self, 0) } #[doc = "Bit 31 - write 1 to reload reg_blk_raw_num_total to internal cnt"] #[inline(always)] - #[must_use] pub fn blk_raw_num_total_set(&mut self) -> BLK_RAW_NUM_TOTAL_SET_W { BLK_RAW_NUM_TOTAL_SET_W::new(self, 31) } diff --git a/esp32p4/src/mipi_dsi_bridge/clk_en.rs b/esp32p4/src/mipi_dsi_bridge/clk_en.rs index 973b6b97a4..bbaa2ae1b5 100644 --- a/esp32p4/src/mipi_dsi_bridge/clk_en.rs +++ b/esp32p4/src/mipi_dsi_bridge/clk_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - this bit configures force_on of dsi_bridge register clock gate"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32p4/src/mipi_dsi_bridge/dma_block_interval.rs b/esp32p4/src/mipi_dsi_bridge/dma_block_interval.rs index 15519aa67a..68ab9fe2c3 100644 --- a/esp32p4/src/mipi_dsi_bridge/dma_block_interval.rs +++ b/esp32p4/src/mipi_dsi_bridge/dma_block_interval.rs @@ -57,19 +57,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - this field configures the max block_slot_cnt"] #[inline(always)] - #[must_use] pub fn dma_block_slot(&mut self) -> DMA_BLOCK_SLOT_W { DMA_BLOCK_SLOT_W::new(self, 0) } #[doc = "Bits 10:27 - this field configures the max block_interval_cnt, block_interval_cnt increased by 1 when block_slot_cnt if full"] #[inline(always)] - #[must_use] pub fn dma_block_interval(&mut self) -> DMA_BLOCK_INTERVAL_W { DMA_BLOCK_INTERVAL_W::new(self, 10) } #[doc = "Bit 28 - this bit configures enable of auto reload reg_raw_num_total, 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn raw_num_total_auto_reload( &mut self, ) -> RAW_NUM_TOTAL_AUTO_RELOAD_W { @@ -77,7 +74,6 @@ impl W { } #[doc = "Bit 29 - this bit configures enable of interval between dma block transfer, 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 29) } diff --git a/esp32p4/src/mipi_dsi_bridge/dma_flow_ctrl.rs b/esp32p4/src/mipi_dsi_bridge/dma_flow_ctrl.rs index 7dbe5c9555..2498762dd7 100644 --- a/esp32p4/src/mipi_dsi_bridge/dma_flow_ctrl.rs +++ b/esp32p4/src/mipi_dsi_bridge/dma_flow_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - this bit configures the flow controller, 0: dmac as flow controller, 1:dsi_bridge as flow controller"] #[inline(always)] - #[must_use] pub fn dsi_dma_flow_controller(&mut self) -> DSI_DMA_FLOW_CONTROLLER_W { DSI_DMA_FLOW_CONTROLLER_W::new(self, 0) } #[doc = "Bits 4:7 - this field configures the num of blocks when multi-blk is enable and dmac as flow controller"] #[inline(always)] - #[must_use] pub fn dma_flow_multiblk_num(&mut self) -> DMA_FLOW_MULTIBLK_NUM_W { DMA_FLOW_MULTIBLK_NUM_W::new(self, 4) } diff --git a/esp32p4/src/mipi_dsi_bridge/dma_frame_interval.rs b/esp32p4/src/mipi_dsi_bridge/dma_frame_interval.rs index 94224e7597..8289633a7b 100644 --- a/esp32p4/src/mipi_dsi_bridge/dma_frame_interval.rs +++ b/esp32p4/src/mipi_dsi_bridge/dma_frame_interval.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - this field configures the max frame_slot_cnt"] #[inline(always)] - #[must_use] pub fn dma_frame_slot(&mut self) -> DMA_FRAME_SLOT_W { DMA_FRAME_SLOT_W::new(self, 0) } #[doc = "Bits 10:27 - this field configures the max frame_interval_cnt, frame_interval_cnt increased by 1 when frame_slot_cnt if full"] #[inline(always)] - #[must_use] pub fn dma_frame_interval(&mut self) -> DMA_FRAME_INTERVAL_W { DMA_FRAME_INTERVAL_W::new(self, 10) } #[doc = "Bit 28 - this bit configures enable multi-blk transfer, 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn dma_multiblk_en(&mut self) -> DMA_MULTIBLK_EN_W { DMA_MULTIBLK_EN_W::new(self, 28) } #[doc = "Bit 29 - this bit configures enable interval between frame transfer, 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 29) } diff --git a/esp32p4/src/mipi_dsi_bridge/dma_req_cfg.rs b/esp32p4/src/mipi_dsi_bridge/dma_req_cfg.rs index f107442d36..e30db297e5 100644 --- a/esp32p4/src/mipi_dsi_bridge/dma_req_cfg.rs +++ b/esp32p4/src/mipi_dsi_bridge/dma_req_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - this field configures the num of 64-bit in one dma burst transfer, valid only when dsi_bridge as flow controller"] #[inline(always)] - #[must_use] pub fn dma_burst_len(&mut self) -> DMA_BURST_LEN_W { DMA_BURST_LEN_W::new(self, 0) } diff --git a/esp32p4/src/mipi_dsi_bridge/dma_req_interval.rs b/esp32p4/src/mipi_dsi_bridge/dma_req_interval.rs index d75d22e372..7a726ac17e 100644 --- a/esp32p4/src/mipi_dsi_bridge/dma_req_interval.rs +++ b/esp32p4/src/mipi_dsi_bridge/dma_req_interval.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - this field configures the interval between dma req events"] #[inline(always)] - #[must_use] pub fn dma_req_interval(&mut self) -> DMA_REQ_INTERVAL_W { DMA_REQ_INTERVAL_W::new(self, 0) } diff --git a/esp32p4/src/mipi_dsi_bridge/dpi_config_update.rs b/esp32p4/src/mipi_dsi_bridge/dpi_config_update.rs index 7cb0091d4e..152d3db6bd 100644 --- a/esp32p4/src/mipi_dsi_bridge/dpi_config_update.rs +++ b/esp32p4/src/mipi_dsi_bridge/dpi_config_update.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - write 1 to this bit to update dpi config register MIPI_DSI_BRG_DPI_*"] #[inline(always)] - #[must_use] pub fn dpi_config_update(&mut self) -> DPI_CONFIG_UPDATE_W { DPI_CONFIG_UPDATE_W::new(self, 0) } diff --git a/esp32p4/src/mipi_dsi_bridge/dpi_h_cfg0.rs b/esp32p4/src/mipi_dsi_bridge/dpi_h_cfg0.rs index b7d581f603..a471560c73 100644 --- a/esp32p4/src/mipi_dsi_bridge/dpi_h_cfg0.rs +++ b/esp32p4/src/mipi_dsi_bridge/dpi_h_cfg0.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - this field configures the total length of one line (by pixel num) for dpi output, must meet: reg_htotal > reg_hdisp+reg_hsync+reg_hbank"] #[inline(always)] - #[must_use] pub fn htotal(&mut self) -> HTOTAL_W { HTOTAL_W::new(self, 0) } #[doc = "Bits 16:27 - this field configures the length of valid pixel data (by pixel num) for dpi output"] #[inline(always)] - #[must_use] pub fn hdisp(&mut self) -> HDISP_W { HDISP_W::new(self, 16) } diff --git a/esp32p4/src/mipi_dsi_bridge/dpi_h_cfg1.rs b/esp32p4/src/mipi_dsi_bridge/dpi_h_cfg1.rs index c4c730550f..24a79ba44b 100644 --- a/esp32p4/src/mipi_dsi_bridge/dpi_h_cfg1.rs +++ b/esp32p4/src/mipi_dsi_bridge/dpi_h_cfg1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - this field configures the length between hsync and pixel data valid (by pixel num) for dpi output"] #[inline(always)] - #[must_use] pub fn hbank(&mut self) -> HBANK_W { HBANK_W::new(self, 0) } #[doc = "Bits 16:27 - this field configures the length of hsync (by pixel num) for dpi output"] #[inline(always)] - #[must_use] pub fn hsync(&mut self) -> HSYNC_W { HSYNC_W::new(self, 16) } diff --git a/esp32p4/src/mipi_dsi_bridge/dpi_lcd_ctl.rs b/esp32p4/src/mipi_dsi_bridge/dpi_lcd_ctl.rs index 70eca40108..92b4b62341 100644 --- a/esp32p4/src/mipi_dsi_bridge/dpi_lcd_ctl.rs +++ b/esp32p4/src/mipi_dsi_bridge/dpi_lcd_ctl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - this bit configures dpishutdn signal in dpi interface"] #[inline(always)] - #[must_use] pub fn dpishutdn(&mut self) -> DPISHUTDN_W { DPISHUTDN_W::new(self, 0) } #[doc = "Bit 1 - this bit configures dpicolorm signal in dpi interface"] #[inline(always)] - #[must_use] pub fn dpicolorm(&mut self) -> DPICOLORM_W { DPICOLORM_W::new(self, 1) } #[doc = "Bit 2 - this bit configures dpiupdatecfg signal in dpi interface"] #[inline(always)] - #[must_use] pub fn dpiupdatecfg(&mut self) -> DPIUPDATECFG_W { DPIUPDATECFG_W::new(self, 2) } diff --git a/esp32p4/src/mipi_dsi_bridge/dpi_misc_config.rs b/esp32p4/src/mipi_dsi_bridge/dpi_misc_config.rs index 4beb591a06..475e5f67e8 100644 --- a/esp32p4/src/mipi_dsi_bridge/dpi_misc_config.rs +++ b/esp32p4/src/mipi_dsi_bridge/dpi_misc_config.rs @@ -37,13 +37,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - this bit configures enable of dpi output, 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn dpi_en(&mut self) -> DPI_EN_W { DPI_EN_W::new(self, 0) } #[doc = "Bits 4:15 - this field configures the underrun interrupt musk, when underrun occurs and line cnt is less then this field"] #[inline(always)] - #[must_use] pub fn fifo_underrun_discard_vcnt( &mut self, ) -> FIFO_UNDERRUN_DISCARD_VCNT_W { diff --git a/esp32p4/src/mipi_dsi_bridge/dpi_rsv_dpi_data.rs b/esp32p4/src/mipi_dsi_bridge/dpi_rsv_dpi_data.rs index c25f78ae22..1bb0740860 100644 --- a/esp32p4/src/mipi_dsi_bridge/dpi_rsv_dpi_data.rs +++ b/esp32p4/src/mipi_dsi_bridge/dpi_rsv_dpi_data.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - this field controls the pixel data sent to dsi_host when dsi_bridge fifo underflow"] #[inline(always)] - #[must_use] pub fn dpi_rsv_data(&mut self) -> DPI_RSV_DATA_W { DPI_RSV_DATA_W::new(self, 0) } diff --git a/esp32p4/src/mipi_dsi_bridge/dpi_v_cfg0.rs b/esp32p4/src/mipi_dsi_bridge/dpi_v_cfg0.rs index f61ee13e2e..d64eff37f3 100644 --- a/esp32p4/src/mipi_dsi_bridge/dpi_v_cfg0.rs +++ b/esp32p4/src/mipi_dsi_bridge/dpi_v_cfg0.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - this field configures the total length of one frame (by line) for dpi output, must meet: reg_vtotal > reg_vdisp+reg_vsync+reg_vbank"] #[inline(always)] - #[must_use] pub fn vtotal(&mut self) -> VTOTAL_W { VTOTAL_W::new(self, 0) } #[doc = "Bits 16:27 - this field configures the length of valid line (by line) for dpi output"] #[inline(always)] - #[must_use] pub fn vdisp(&mut self) -> VDISP_W { VDISP_W::new(self, 16) } diff --git a/esp32p4/src/mipi_dsi_bridge/dpi_v_cfg1.rs b/esp32p4/src/mipi_dsi_bridge/dpi_v_cfg1.rs index 033a0dcd03..b5d81e0fe8 100644 --- a/esp32p4/src/mipi_dsi_bridge/dpi_v_cfg1.rs +++ b/esp32p4/src/mipi_dsi_bridge/dpi_v_cfg1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - this field configures the length between vsync and valid line (by line) for dpi output"] #[inline(always)] - #[must_use] pub fn vbank(&mut self) -> VBANK_W { VBANK_W::new(self, 0) } #[doc = "Bits 16:27 - this field configures the length of vsync (by line) for dpi output"] #[inline(always)] - #[must_use] pub fn vsync(&mut self) -> VSYNC_W { VSYNC_W::new(self, 16) } diff --git a/esp32p4/src/mipi_dsi_bridge/en.rs b/esp32p4/src/mipi_dsi_bridge/en.rs index c037e34a9d..1575eb9cd9 100644 --- a/esp32p4/src/mipi_dsi_bridge/en.rs +++ b/esp32p4/src/mipi_dsi_bridge/en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - this bit configures module enable of dsi_bridge. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn dsi_en(&mut self) -> DSI_EN_W { DSI_EN_W::new(self, 0) } diff --git a/esp32p4/src/mipi_dsi_bridge/host_bist_ctl.rs b/esp32p4/src/mipi_dsi_bridge/host_bist_ctl.rs index 21c5c8dc3d..59c03c6e93 100644 --- a/esp32p4/src/mipi_dsi_bridge/host_bist_ctl.rs +++ b/esp32p4/src/mipi_dsi_bridge/host_bist_ctl.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - biston"] #[inline(always)] - #[must_use] pub fn biston(&mut self) -> BISTON_W { BISTON_W::new(self, 1) } diff --git a/esp32p4/src/mipi_dsi_bridge/host_ctrl.rs b/esp32p4/src/mipi_dsi_bridge/host_ctrl.rs index ab4aa801eb..5884bed513 100644 --- a/esp32p4/src/mipi_dsi_bridge/host_ctrl.rs +++ b/esp32p4/src/mipi_dsi_bridge/host_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - this bit configures the clk enable refclk and cfg_clk of dsi_host. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn dsi_cfg_ref_clk_en(&mut self) -> DSI_CFG_REF_CLK_EN_W { DSI_CFG_REF_CLK_EN_W::new(self, 0) } diff --git a/esp32p4/src/mipi_dsi_bridge/host_trigger_rev.rs b/esp32p4/src/mipi_dsi_bridge/host_trigger_rev.rs index 4735eee968..b07bf1fb90 100644 --- a/esp32p4/src/mipi_dsi_bridge/host_trigger_rev.rs +++ b/esp32p4/src/mipi_dsi_bridge/host_trigger_rev.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - tx_trigger reverse. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn tx_trigger_rev_en(&mut self) -> TX_TRIGGER_REV_EN_W { TX_TRIGGER_REV_EN_W::new(self, 0) } #[doc = "Bit 1 - rx_trigger reverse. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn rx_trigger_rev_en(&mut self) -> RX_TRIGGER_REV_EN_W { RX_TRIGGER_REV_EN_W::new(self, 1) } diff --git a/esp32p4/src/mipi_dsi_bridge/int_clr.rs b/esp32p4/src/mipi_dsi_bridge/int_clr.rs index ed81add35d..54b6a918a0 100644 --- a/esp32p4/src/mipi_dsi_bridge/int_clr.rs +++ b/esp32p4/src/mipi_dsi_bridge/int_clr.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - write 1 to this bit to clear dpi_underrun_int_raw field of MIPI_DSI_BRG_INT_RAW_REG"] #[inline(always)] - #[must_use] pub fn underrun(&mut self) -> UNDERRUN_W { UNDERRUN_W::new(self, 0) } diff --git a/esp32p4/src/mipi_dsi_bridge/int_ena.rs b/esp32p4/src/mipi_dsi_bridge/int_ena.rs index d2fc7ad765..4faa973877 100644 --- a/esp32p4/src/mipi_dsi_bridge/int_ena.rs +++ b/esp32p4/src/mipi_dsi_bridge/int_ena.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - write 1 to enables dpi_underrun_int_st field of MIPI_DSI_BRG_INT_ST_REG controlled by dpi_underrun interrupt signal"] #[inline(always)] - #[must_use] pub fn underrun(&mut self) -> UNDERRUN_W { UNDERRUN_W::new(self, 0) } diff --git a/esp32p4/src/mipi_dsi_bridge/int_raw.rs b/esp32p4/src/mipi_dsi_bridge/int_raw.rs index 9cf420a9c3..acaf22a567 100644 --- a/esp32p4/src/mipi_dsi_bridge/int_raw.rs +++ b/esp32p4/src/mipi_dsi_bridge/int_raw.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - the raw interrupt status of dpi_underrun"] #[inline(always)] - #[must_use] pub fn underrun(&mut self) -> UNDERRUN_W { UNDERRUN_W::new(self, 0) } diff --git a/esp32p4/src/mipi_dsi_bridge/mem_aux_ctrl.rs b/esp32p4/src/mipi_dsi_bridge/mem_aux_ctrl.rs index b10a382b66..4ef58c0d1d 100644 --- a/esp32p4/src/mipi_dsi_bridge/mem_aux_ctrl.rs +++ b/esp32p4/src/mipi_dsi_bridge/mem_aux_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - this field configures dsi_bridge fifo memory aux ctrl"] #[inline(always)] - #[must_use] pub fn dsi_mem_aux_ctrl(&mut self) -> DSI_MEM_AUX_CTRL_W { DSI_MEM_AUX_CTRL_W::new(self, 0) } diff --git a/esp32p4/src/mipi_dsi_bridge/mem_clk_ctrl.rs b/esp32p4/src/mipi_dsi_bridge/mem_clk_ctrl.rs index 43ee1a6a05..da8ce955ae 100644 --- a/esp32p4/src/mipi_dsi_bridge/mem_clk_ctrl.rs +++ b/esp32p4/src/mipi_dsi_bridge/mem_clk_ctrl.rs @@ -37,7 +37,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - this bit configures the clock force on of dsi_bridge fifo memory. 0: disable, 1: force on"] #[inline(always)] - #[must_use] pub fn dsi_bridge_mem_clk_force_on( &mut self, ) -> DSI_BRIDGE_MEM_CLK_FORCE_ON_W { @@ -45,7 +44,6 @@ impl W { } #[doc = "Bit 1 - this bit configures the clock force on of dpi fifo memory. 0: disable, 1: force on"] #[inline(always)] - #[must_use] pub fn dsi_mem_clk_force_on(&mut self) -> DSI_MEM_CLK_FORCE_ON_W { DSI_MEM_CLK_FORCE_ON_W::new(self, 1) } diff --git a/esp32p4/src/mipi_dsi_bridge/phy_hs_loopback_ctrl.rs b/esp32p4/src/mipi_dsi_bridge/phy_hs_loopback_ctrl.rs index d8a7304a02..4148c3a2aa 100644 --- a/esp32p4/src/mipi_dsi_bridge/phy_hs_loopback_ctrl.rs +++ b/esp32p4/src/mipi_dsi_bridge/phy_hs_loopback_ctrl.rs @@ -115,13 +115,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - txdatahs_1 ctrl when enable dsi phy hs_loopback_test"] #[inline(always)] - #[must_use] pub fn phy_hs_txdatahs_1(&mut self) -> PHY_HS_TXDATAHS_1_W { PHY_HS_TXDATAHS_1_W::new(self, 0) } #[doc = "Bit 8 - txrequestdatahs_1 ctrl when enable dsi phy hs_loopback_test"] #[inline(always)] - #[must_use] pub fn phy_hs_txrequestdatahs_1( &mut self, ) -> PHY_HS_TXREQUESTDATAHS_1_W { @@ -129,19 +127,16 @@ impl W { } #[doc = "Bit 9 - basedir_1 ctrl when enable dsi phy hs_loopback_test"] #[inline(always)] - #[must_use] pub fn phy_hs_basedir_1(&mut self) -> PHY_HS_BASEDIR_1_W { PHY_HS_BASEDIR_1_W::new(self, 9) } #[doc = "Bits 16:23 - txdatahs_0 ctrl when enable dsi phy hs_loopback_test"] #[inline(always)] - #[must_use] pub fn phy_hs_txdatahs_0(&mut self) -> PHY_HS_TXDATAHS_0_W { PHY_HS_TXDATAHS_0_W::new(self, 16) } #[doc = "Bit 24 - txrequestdatahs_0 ctrl when enable dsi phy hs_loopback_test"] #[inline(always)] - #[must_use] pub fn phy_hs_txrequestdatahs_0( &mut self, ) -> PHY_HS_TXREQUESTDATAHS_0_W { @@ -149,25 +144,21 @@ impl W { } #[doc = "Bit 25 - basedir_0 ctrl when enable dsi phy hs_loopback_test"] #[inline(always)] - #[must_use] pub fn phy_hs_basedir_0(&mut self) -> PHY_HS_BASEDIR_0_W { PHY_HS_BASEDIR_0_W::new(self, 25) } #[doc = "Bit 27 - txrequesthsclk when enable dsi phy hs_loopback_test"] #[inline(always)] - #[must_use] pub fn phy_hs_txrequesthsclk(&mut self) -> PHY_HS_TXREQUESTHSCLK_W { PHY_HS_TXREQUESTHSCLK_W::new(self, 27) } #[doc = "Bit 28 - dsi phy hs_loopback test start check"] #[inline(always)] - #[must_use] pub fn phy_hs_loopback_check(&mut self) -> PHY_HS_LOOPBACK_CHECK_W { PHY_HS_LOOPBACK_CHECK_W::new(self, 28) } #[doc = "Bit 30 - dsi phy hs_loopback ctrl en"] #[inline(always)] - #[must_use] pub fn phy_hs_loopback_en(&mut self) -> PHY_HS_LOOPBACK_EN_W { PHY_HS_LOOPBACK_EN_W::new(self, 30) } diff --git a/esp32p4/src/mipi_dsi_bridge/phy_loopback_cnt.rs b/esp32p4/src/mipi_dsi_bridge/phy_loopback_cnt.rs index 48297c817e..2918347721 100644 --- a/esp32p4/src/mipi_dsi_bridge/phy_loopback_cnt.rs +++ b/esp32p4/src/mipi_dsi_bridge/phy_loopback_cnt.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - hs_loopback test check cnt"] #[inline(always)] - #[must_use] pub fn phy_hs_check_cnt_th(&mut self) -> PHY_HS_CHECK_CNT_TH_W { PHY_HS_CHECK_CNT_TH_W::new(self, 0) } #[doc = "Bits 16:23 - lp_loopback test check cnt"] #[inline(always)] - #[must_use] pub fn phy_lp_check_cnt_th(&mut self) -> PHY_LP_CHECK_CNT_TH_W { PHY_LP_CHECK_CNT_TH_W::new(self, 16) } diff --git a/esp32p4/src/mipi_dsi_bridge/phy_lp_loopback_ctrl.rs b/esp32p4/src/mipi_dsi_bridge/phy_lp_loopback_ctrl.rs index a792ee78d9..0ce32b37f8 100644 --- a/esp32p4/src/mipi_dsi_bridge/phy_lp_loopback_ctrl.rs +++ b/esp32p4/src/mipi_dsi_bridge/phy_lp_loopback_ctrl.rs @@ -145,73 +145,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - txdataesc_1 ctrl when enable dsi phy lp_loopback_test"] #[inline(always)] - #[must_use] pub fn phy_lp_txdataesc_1(&mut self) -> PHY_LP_TXDATAESC_1_W { PHY_LP_TXDATAESC_1_W::new(self, 0) } #[doc = "Bit 8 - txrequestesc_1 ctrl when enable dsi phy lp_loopback_test"] #[inline(always)] - #[must_use] pub fn phy_lp_txrequestesc_1(&mut self) -> PHY_LP_TXREQUESTESC_1_W { PHY_LP_TXREQUESTESC_1_W::new(self, 8) } #[doc = "Bit 9 - txvalidesc_1 ctrl when enable dsi phy lp_loopback_test"] #[inline(always)] - #[must_use] pub fn phy_lp_txvalidesc_1(&mut self) -> PHY_LP_TXVALIDESC_1_W { PHY_LP_TXVALIDESC_1_W::new(self, 9) } #[doc = "Bit 10 - txlpdtesc_1 ctrl when enable dsi phy lp_loopback_test"] #[inline(always)] - #[must_use] pub fn phy_lp_txlpdtesc_1(&mut self) -> PHY_LP_TXLPDTESC_1_W { PHY_LP_TXLPDTESC_1_W::new(self, 10) } #[doc = "Bit 11 - basedir_1 ctrl when enable dsi phy lp_loopback_test"] #[inline(always)] - #[must_use] pub fn phy_lp_basedir_1(&mut self) -> PHY_LP_BASEDIR_1_W { PHY_LP_BASEDIR_1_W::new(self, 11) } #[doc = "Bits 16:23 - txdataesc_0 ctrl when enable dsi phy lp_loopback_test"] #[inline(always)] - #[must_use] pub fn phy_lp_txdataesc_0(&mut self) -> PHY_LP_TXDATAESC_0_W { PHY_LP_TXDATAESC_0_W::new(self, 16) } #[doc = "Bit 24 - txrequestesc_0 ctrl when enable dsi phy lp_loopback_test"] #[inline(always)] - #[must_use] pub fn phy_lp_txrequestesc_0(&mut self) -> PHY_LP_TXREQUESTESC_0_W { PHY_LP_TXREQUESTESC_0_W::new(self, 24) } #[doc = "Bit 25 - txvalidesc_0 ctrl when enable dsi phy lp_loopback_test"] #[inline(always)] - #[must_use] pub fn phy_lp_txvalidesc_0(&mut self) -> PHY_LP_TXVALIDESC_0_W { PHY_LP_TXVALIDESC_0_W::new(self, 25) } #[doc = "Bit 26 - txlpdtesc_0 ctrl when enable dsi phy lp_loopback_test"] #[inline(always)] - #[must_use] pub fn phy_lp_txlpdtesc_0(&mut self) -> PHY_LP_TXLPDTESC_0_W { PHY_LP_TXLPDTESC_0_W::new(self, 26) } #[doc = "Bit 27 - basedir_0 ctrl when enable dsi phy lp_loopback_test"] #[inline(always)] - #[must_use] pub fn phy_lp_basedir_0(&mut self) -> PHY_LP_BASEDIR_0_W { PHY_LP_BASEDIR_0_W::new(self, 27) } #[doc = "Bit 28 - dsi phy lp_loopback test start check"] #[inline(always)] - #[must_use] pub fn phy_lp_loopback_check(&mut self) -> PHY_LP_LOOPBACK_CHECK_W { PHY_LP_LOOPBACK_CHECK_W::new(self, 28) } #[doc = "Bit 30 - dsi phy lp_loopback ctrl en"] #[inline(always)] - #[must_use] pub fn phy_lp_loopback_en(&mut self) -> PHY_LP_LOOPBACK_EN_W { PHY_LP_LOOPBACK_EN_W::new(self, 30) } diff --git a/esp32p4/src/mipi_dsi_bridge/pixel_type.rs b/esp32p4/src/mipi_dsi_bridge/pixel_type.rs index 47217d151e..0942a1de44 100644 --- a/esp32p4/src/mipi_dsi_bridge/pixel_type.rs +++ b/esp32p4/src/mipi_dsi_bridge/pixel_type.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - this field configures the pixel type. 0: rgb888, 1:rgb666, 2:rgb565"] #[inline(always)] - #[must_use] pub fn raw_type(&mut self) -> RAW_TYPE_W { RAW_TYPE_W::new(self, 0) } #[doc = "Bits 4:5 - this field configures the pixel arrange type of dpi interface"] #[inline(always)] - #[must_use] pub fn dpi_config(&mut self) -> DPI_CONFIG_W { DPI_CONFIG_W::new(self, 4) } #[doc = "Bit 6 - input data type, 0: rgb, 1: yuv"] #[inline(always)] - #[must_use] pub fn data_in_type(&mut self) -> DATA_IN_TYPE_W { DATA_IN_TYPE_W::new(self, 6) } diff --git a/esp32p4/src/mipi_dsi_bridge/raw_buf_almost_empty_thrd.rs b/esp32p4/src/mipi_dsi_bridge/raw_buf_almost_empty_thrd.rs index fa9fce74e9..78c58f8c43 100644 --- a/esp32p4/src/mipi_dsi_bridge/raw_buf_almost_empty_thrd.rs +++ b/esp32p4/src/mipi_dsi_bridge/raw_buf_almost_empty_thrd.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - this field configures the fifo almost empty threshold, is valid only when dmac as flow controller"] #[inline(always)] - #[must_use] pub fn dsi_raw_buf_almost_empty_thrd( &mut self, ) -> DSI_RAW_BUF_ALMOST_EMPTY_THRD_W { diff --git a/esp32p4/src/mipi_dsi_bridge/raw_buf_credit_ctl.rs b/esp32p4/src/mipi_dsi_bridge/raw_buf_credit_ctl.rs index 327bd91cc0..f3c956ddaa 100644 --- a/esp32p4/src/mipi_dsi_bridge/raw_buf_credit_ctl.rs +++ b/esp32p4/src/mipi_dsi_bridge/raw_buf_credit_ctl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:14 - this field configures the threshold whether dsi_bridge fifo can receive one more 64-bit, valid only when dsi_bridge as flow controller"] #[inline(always)] - #[must_use] pub fn credit_thrd(&mut self) -> CREDIT_THRD_W { CREDIT_THRD_W::new(self, 0) } #[doc = "Bits 16:30 - this field configures the threshold whether dsi_bridge fifo can receive one more dma burst, valid only when dsi_bridge as flow controller"] #[inline(always)] - #[must_use] pub fn credit_burst_thrd(&mut self) -> CREDIT_BURST_THRD_W { CREDIT_BURST_THRD_W::new(self, 16) } #[doc = "Bit 31 - this bit configures internal credit cnt clear, 0: non, 1: reset. valid only when dsi_bridge as flow controller"] #[inline(always)] - #[must_use] pub fn credit_reset(&mut self) -> CREDIT_RESET_W { CREDIT_RESET_W::new(self, 31) } diff --git a/esp32p4/src/mipi_dsi_bridge/raw_num_cfg.rs b/esp32p4/src/mipi_dsi_bridge/raw_num_cfg.rs index aef4e67af3..aa0140110f 100644 --- a/esp32p4/src/mipi_dsi_bridge/raw_num_cfg.rs +++ b/esp32p4/src/mipi_dsi_bridge/raw_num_cfg.rs @@ -36,19 +36,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - this field configures number of total pix bits/64"] #[inline(always)] - #[must_use] pub fn raw_num_total(&mut self) -> RAW_NUM_TOTAL_W { RAW_NUM_TOTAL_W::new(self, 0) } #[doc = "Bit 22 - this field configures whether the total pix bits is a multiple of 64bits. 0: align to 64-bit, 1: unalign to 64-bit"] #[inline(always)] - #[must_use] pub fn unalign_64bit_en(&mut self) -> UNALIGN_64BIT_EN_W { UNALIGN_64BIT_EN_W::new(self, 22) } #[doc = "Bit 31 - this bit configures enable of reload reg_raw_num_total to internal cnt. 0: disable, 1: enable. valid only when dsi_bridge as flow controller"] #[inline(always)] - #[must_use] pub fn raw_num_total_set(&mut self) -> RAW_NUM_TOTAL_SET_W { RAW_NUM_TOTAL_SET_W::new(self, 31) } diff --git a/esp32p4/src/mipi_dsi_bridge/rdn_eco_cs.rs b/esp32p4/src/mipi_dsi_bridge/rdn_eco_cs.rs index eba7626a45..bfeb6f88bd 100644 --- a/esp32p4/src/mipi_dsi_bridge/rdn_eco_cs.rs +++ b/esp32p4/src/mipi_dsi_bridge/rdn_eco_cs.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - rdn_eco_en"] #[inline(always)] - #[must_use] pub fn rdn_eco_en(&mut self) -> RDN_ECO_EN_W { RDN_ECO_EN_W::new(self, 0) } diff --git a/esp32p4/src/mipi_dsi_bridge/rdn_eco_high.rs b/esp32p4/src/mipi_dsi_bridge/rdn_eco_high.rs index 85e91169cd..f481308368 100644 --- a/esp32p4/src/mipi_dsi_bridge/rdn_eco_high.rs +++ b/esp32p4/src/mipi_dsi_bridge/rdn_eco_high.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - rdn_eco_high"] #[inline(always)] - #[must_use] pub fn rdn_eco_high(&mut self) -> RDN_ECO_HIGH_W { RDN_ECO_HIGH_W::new(self, 0) } diff --git a/esp32p4/src/mipi_dsi_bridge/rdn_eco_low.rs b/esp32p4/src/mipi_dsi_bridge/rdn_eco_low.rs index d590565398..b5763748bb 100644 --- a/esp32p4/src/mipi_dsi_bridge/rdn_eco_low.rs +++ b/esp32p4/src/mipi_dsi_bridge/rdn_eco_low.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - rdn_eco_low"] #[inline(always)] - #[must_use] pub fn rdn_eco_low(&mut self) -> RDN_ECO_LOW_W { RDN_ECO_LOW_W::new(self, 0) } diff --git a/esp32p4/src/mipi_dsi_bridge/yuv_cfg.rs b/esp32p4/src/mipi_dsi_bridge/yuv_cfg.rs index 9088a34e4e..f58ce97e9b 100644 --- a/esp32p4/src/mipi_dsi_bridge/yuv_cfg.rs +++ b/esp32p4/src/mipi_dsi_bridge/yuv_cfg.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - this bit configures yuv protoocl, 0: bt.601, 1: bt.709"] #[inline(always)] - #[must_use] pub fn protocal(&mut self) -> PROTOCAL_W { PROTOCAL_W::new(self, 0) } #[doc = "Bit 1 - this bit configures yuv pixel endian, 0: y0u0y1v1y2u2y3v3, 1: y3u3y2v2y1u1y0v0"] #[inline(always)] - #[must_use] pub fn yuv_pix_endian(&mut self) -> YUV_PIX_ENDIAN_W { YUV_PIX_ENDIAN_W::new(self, 1) } #[doc = "Bits 2:3 - this field configures yuv422 store format, 0: yuyv, 1: yvyu, 2: uyvy, 3: vyuy"] #[inline(always)] - #[must_use] pub fn yuv422_format(&mut self) -> YUV422_FORMAT_W { YUV422_FORMAT_W::new(self, 2) } diff --git a/esp32p4/src/mipi_dsi_host/bta_to_cnt.rs b/esp32p4/src/mipi_dsi_host/bta_to_cnt.rs index e9b73e9318..9ab6fd0a95 100644 --- a/esp32p4/src/mipi_dsi_host/bta_to_cnt.rs +++ b/esp32p4/src/mipi_dsi_host/bta_to_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - NA"] #[inline(always)] - #[must_use] pub fn bta_to_cnt(&mut self) -> BTA_TO_CNT_W { BTA_TO_CNT_W::new(self, 0) } diff --git a/esp32p4/src/mipi_dsi_host/clkmgr_cfg.rs b/esp32p4/src/mipi_dsi_host/clkmgr_cfg.rs index 6798e157fd..a3da0cf8da 100644 --- a/esp32p4/src/mipi_dsi_host/clkmgr_cfg.rs +++ b/esp32p4/src/mipi_dsi_host/clkmgr_cfg.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - NA"] #[inline(always)] - #[must_use] pub fn tx_esc_clk_division(&mut self) -> TX_ESC_CLK_DIVISION_W { TX_ESC_CLK_DIVISION_W::new(self, 0) } #[doc = "Bits 8:15 - NA"] #[inline(always)] - #[must_use] pub fn to_clk_division(&mut self) -> TO_CLK_DIVISION_W { TO_CLK_DIVISION_W::new(self, 8) } diff --git a/esp32p4/src/mipi_dsi_host/cmd_mode_cfg.rs b/esp32p4/src/mipi_dsi_host/cmd_mode_cfg.rs index c415c9534a..3987fc875b 100644 --- a/esp32p4/src/mipi_dsi_host/cmd_mode_cfg.rs +++ b/esp32p4/src/mipi_dsi_host/cmd_mode_cfg.rs @@ -154,85 +154,71 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn tear_fx_en(&mut self) -> TEAR_FX_EN_W { TEAR_FX_EN_W::new(self, 0) } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn ack_rqst_en(&mut self) -> ACK_RQST_EN_W { ACK_RQST_EN_W::new(self, 1) } #[doc = "Bit 8 - NA"] #[inline(always)] - #[must_use] pub fn gen_sw_0p_tx(&mut self) -> GEN_SW_0P_TX_W { GEN_SW_0P_TX_W::new(self, 8) } #[doc = "Bit 9 - NA"] #[inline(always)] - #[must_use] pub fn gen_sw_1p_tx(&mut self) -> GEN_SW_1P_TX_W { GEN_SW_1P_TX_W::new(self, 9) } #[doc = "Bit 10 - NA"] #[inline(always)] - #[must_use] pub fn gen_sw_2p_tx(&mut self) -> GEN_SW_2P_TX_W { GEN_SW_2P_TX_W::new(self, 10) } #[doc = "Bit 11 - NA"] #[inline(always)] - #[must_use] pub fn gen_sr_0p_tx(&mut self) -> GEN_SR_0P_TX_W { GEN_SR_0P_TX_W::new(self, 11) } #[doc = "Bit 12 - NA"] #[inline(always)] - #[must_use] pub fn gen_sr_1p_tx(&mut self) -> GEN_SR_1P_TX_W { GEN_SR_1P_TX_W::new(self, 12) } #[doc = "Bit 13 - NA"] #[inline(always)] - #[must_use] pub fn gen_sr_2p_tx(&mut self) -> GEN_SR_2P_TX_W { GEN_SR_2P_TX_W::new(self, 13) } #[doc = "Bit 14 - NA"] #[inline(always)] - #[must_use] pub fn gen_lw_tx(&mut self) -> GEN_LW_TX_W { GEN_LW_TX_W::new(self, 14) } #[doc = "Bit 16 - NA"] #[inline(always)] - #[must_use] pub fn dcs_sw_0p_tx(&mut self) -> DCS_SW_0P_TX_W { DCS_SW_0P_TX_W::new(self, 16) } #[doc = "Bit 17 - NA"] #[inline(always)] - #[must_use] pub fn dcs_sw_1p_tx(&mut self) -> DCS_SW_1P_TX_W { DCS_SW_1P_TX_W::new(self, 17) } #[doc = "Bit 18 - NA"] #[inline(always)] - #[must_use] pub fn dcs_sr_0p_tx(&mut self) -> DCS_SR_0P_TX_W { DCS_SR_0P_TX_W::new(self, 18) } #[doc = "Bit 19 - NA"] #[inline(always)] - #[must_use] pub fn dcs_lw_tx(&mut self) -> DCS_LW_TX_W { DCS_LW_TX_W::new(self, 19) } #[doc = "Bit 24 - NA"] #[inline(always)] - #[must_use] pub fn max_rd_pkt_size(&mut self) -> MAX_RD_PKT_SIZE_W { MAX_RD_PKT_SIZE_W::new(self, 24) } diff --git a/esp32p4/src/mipi_dsi_host/dbi_cfg.rs b/esp32p4/src/mipi_dsi_host/dbi_cfg.rs index 17b9dfedd3..e44dca6321 100644 --- a/esp32p4/src/mipi_dsi_host/dbi_cfg.rs +++ b/esp32p4/src/mipi_dsi_host/dbi_cfg.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - NA"] #[inline(always)] - #[must_use] pub fn in_dbi_conf(&mut self) -> IN_DBI_CONF_W { IN_DBI_CONF_W::new(self, 0) } #[doc = "Bits 8:11 - NA"] #[inline(always)] - #[must_use] pub fn out_dbi_conf(&mut self) -> OUT_DBI_CONF_W { OUT_DBI_CONF_W::new(self, 8) } #[doc = "Bits 16:17 - NA"] #[inline(always)] - #[must_use] pub fn lut_size_conf(&mut self) -> LUT_SIZE_CONF_W { LUT_SIZE_CONF_W::new(self, 16) } diff --git a/esp32p4/src/mipi_dsi_host/dbi_cmdsize.rs b/esp32p4/src/mipi_dsi_host/dbi_cmdsize.rs index aebb966c50..b6f9430c77 100644 --- a/esp32p4/src/mipi_dsi_host/dbi_cmdsize.rs +++ b/esp32p4/src/mipi_dsi_host/dbi_cmdsize.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - NA"] #[inline(always)] - #[must_use] pub fn wr_cmd_size(&mut self) -> WR_CMD_SIZE_W { WR_CMD_SIZE_W::new(self, 0) } #[doc = "Bits 16:31 - NA"] #[inline(always)] - #[must_use] pub fn allowed_cmd_size(&mut self) -> ALLOWED_CMD_SIZE_W { ALLOWED_CMD_SIZE_W::new(self, 16) } diff --git a/esp32p4/src/mipi_dsi_host/dbi_partitioning_en.rs b/esp32p4/src/mipi_dsi_host/dbi_partitioning_en.rs index ca94001548..8d41b18f45 100644 --- a/esp32p4/src/mipi_dsi_host/dbi_partitioning_en.rs +++ b/esp32p4/src/mipi_dsi_host/dbi_partitioning_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn partitioning_en(&mut self) -> PARTITIONING_EN_W { PARTITIONING_EN_W::new(self, 0) } diff --git a/esp32p4/src/mipi_dsi_host/dbi_vcid.rs b/esp32p4/src/mipi_dsi_host/dbi_vcid.rs index 141dda4bef..08c8d613e0 100644 --- a/esp32p4/src/mipi_dsi_host/dbi_vcid.rs +++ b/esp32p4/src/mipi_dsi_host/dbi_vcid.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - NA"] #[inline(always)] - #[must_use] pub fn dbi_vcid(&mut self) -> DBI_VCID_W { DBI_VCID_W::new(self, 0) } diff --git a/esp32p4/src/mipi_dsi_host/dpi_cfg_pol.rs b/esp32p4/src/mipi_dsi_host/dpi_cfg_pol.rs index 3507999e9a..c9c522a5a7 100644 --- a/esp32p4/src/mipi_dsi_host/dpi_cfg_pol.rs +++ b/esp32p4/src/mipi_dsi_host/dpi_cfg_pol.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn dataen_active_low(&mut self) -> DATAEN_ACTIVE_LOW_W { DATAEN_ACTIVE_LOW_W::new(self, 0) } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn vsync_active_low(&mut self) -> VSYNC_ACTIVE_LOW_W { VSYNC_ACTIVE_LOW_W::new(self, 1) } #[doc = "Bit 2 - NA"] #[inline(always)] - #[must_use] pub fn hsync_active_low(&mut self) -> HSYNC_ACTIVE_LOW_W { HSYNC_ACTIVE_LOW_W::new(self, 2) } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn shutd_active_low(&mut self) -> SHUTD_ACTIVE_LOW_W { SHUTD_ACTIVE_LOW_W::new(self, 3) } #[doc = "Bit 4 - NA"] #[inline(always)] - #[must_use] pub fn colorm_active_low(&mut self) -> COLORM_ACTIVE_LOW_W { COLORM_ACTIVE_LOW_W::new(self, 4) } diff --git a/esp32p4/src/mipi_dsi_host/dpi_color_coding.rs b/esp32p4/src/mipi_dsi_host/dpi_color_coding.rs index 6b8d8a2dac..a06e138f63 100644 --- a/esp32p4/src/mipi_dsi_host/dpi_color_coding.rs +++ b/esp32p4/src/mipi_dsi_host/dpi_color_coding.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - NA"] #[inline(always)] - #[must_use] pub fn dpi_color_coding(&mut self) -> DPI_COLOR_CODING_W { DPI_COLOR_CODING_W::new(self, 0) } #[doc = "Bit 8 - NA"] #[inline(always)] - #[must_use] pub fn loosely18_en(&mut self) -> LOOSELY18_EN_W { LOOSELY18_EN_W::new(self, 8) } diff --git a/esp32p4/src/mipi_dsi_host/dpi_lp_cmd_tim.rs b/esp32p4/src/mipi_dsi_host/dpi_lp_cmd_tim.rs index c2a89278f0..e04bb99e35 100644 --- a/esp32p4/src/mipi_dsi_host/dpi_lp_cmd_tim.rs +++ b/esp32p4/src/mipi_dsi_host/dpi_lp_cmd_tim.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - NA"] #[inline(always)] - #[must_use] pub fn invact_lpcmd_time(&mut self) -> INVACT_LPCMD_TIME_W { INVACT_LPCMD_TIME_W::new(self, 0) } #[doc = "Bits 16:23 - NA"] #[inline(always)] - #[must_use] pub fn outvact_lpcmd_time(&mut self) -> OUTVACT_LPCMD_TIME_W { OUTVACT_LPCMD_TIME_W::new(self, 16) } diff --git a/esp32p4/src/mipi_dsi_host/dpi_vcid.rs b/esp32p4/src/mipi_dsi_host/dpi_vcid.rs index 1210c62e76..59ff0337a9 100644 --- a/esp32p4/src/mipi_dsi_host/dpi_vcid.rs +++ b/esp32p4/src/mipi_dsi_host/dpi_vcid.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - NA"] #[inline(always)] - #[must_use] pub fn dpi_vcid(&mut self) -> DPI_VCID_W { DPI_VCID_W::new(self, 0) } diff --git a/esp32p4/src/mipi_dsi_host/dsc_parameter.rs b/esp32p4/src/mipi_dsi_host/dsc_parameter.rs index ebc66efdf8..f0c89af5a0 100644 --- a/esp32p4/src/mipi_dsi_host/dsc_parameter.rs +++ b/esp32p4/src/mipi_dsi_host/dsc_parameter.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn compression_mode(&mut self) -> COMPRESSION_MODE_W { COMPRESSION_MODE_W::new(self, 0) } #[doc = "Bits 8:9 - NA"] #[inline(always)] - #[must_use] pub fn compress_algo(&mut self) -> COMPRESS_ALGO_W { COMPRESS_ALGO_W::new(self, 8) } #[doc = "Bits 16:17 - NA"] #[inline(always)] - #[must_use] pub fn pps_sel(&mut self) -> PPS_SEL_W { PPS_SEL_W::new(self, 16) } diff --git a/esp32p4/src/mipi_dsi_host/edpi_cmd_size.rs b/esp32p4/src/mipi_dsi_host/edpi_cmd_size.rs index e16d9f7712..4cd890e5f5 100644 --- a/esp32p4/src/mipi_dsi_host/edpi_cmd_size.rs +++ b/esp32p4/src/mipi_dsi_host/edpi_cmd_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - NA"] #[inline(always)] - #[must_use] pub fn edpi_allowed_cmd_size(&mut self) -> EDPI_ALLOWED_CMD_SIZE_W { EDPI_ALLOWED_CMD_SIZE_W::new(self, 0) } diff --git a/esp32p4/src/mipi_dsi_host/edpi_te_hw_cfg.rs b/esp32p4/src/mipi_dsi_host/edpi_te_hw_cfg.rs index a134379946..18be53597e 100644 --- a/esp32p4/src/mipi_dsi_host/edpi_te_hw_cfg.rs +++ b/esp32p4/src/mipi_dsi_host/edpi_te_hw_cfg.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn hw_tear_effect_on(&mut self) -> HW_TEAR_EFFECT_ON_W { HW_TEAR_EFFECT_ON_W::new(self, 0) } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn hw_tear_effect_gen(&mut self) -> HW_TEAR_EFFECT_GEN_W { HW_TEAR_EFFECT_GEN_W::new(self, 1) } #[doc = "Bit 4 - NA"] #[inline(always)] - #[must_use] pub fn hw_set_scan_line(&mut self) -> HW_SET_SCAN_LINE_W { HW_SET_SCAN_LINE_W::new(self, 4) } #[doc = "Bits 16:31 - NA"] #[inline(always)] - #[must_use] pub fn scan_line_parameter(&mut self) -> SCAN_LINE_PARAMETER_W { SCAN_LINE_PARAMETER_W::new(self, 16) } diff --git a/esp32p4/src/mipi_dsi_host/gen_hdr.rs b/esp32p4/src/mipi_dsi_host/gen_hdr.rs index 7cccbfaf60..7e1d2c43e8 100644 --- a/esp32p4/src/mipi_dsi_host/gen_hdr.rs +++ b/esp32p4/src/mipi_dsi_host/gen_hdr.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - NA"] #[inline(always)] - #[must_use] pub fn gen_dt(&mut self) -> GEN_DT_W { GEN_DT_W::new(self, 0) } #[doc = "Bits 6:7 - NA"] #[inline(always)] - #[must_use] pub fn gen_vc(&mut self) -> GEN_VC_W { GEN_VC_W::new(self, 6) } #[doc = "Bits 8:15 - NA"] #[inline(always)] - #[must_use] pub fn gen_wc_lsbyte(&mut self) -> GEN_WC_LSBYTE_W { GEN_WC_LSBYTE_W::new(self, 8) } #[doc = "Bits 16:23 - NA"] #[inline(always)] - #[must_use] pub fn gen_wc_msbyte(&mut self) -> GEN_WC_MSBYTE_W { GEN_WC_MSBYTE_W::new(self, 16) } diff --git a/esp32p4/src/mipi_dsi_host/gen_pld_data.rs b/esp32p4/src/mipi_dsi_host/gen_pld_data.rs index 0aa7b75806..6a1e820219 100644 --- a/esp32p4/src/mipi_dsi_host/gen_pld_data.rs +++ b/esp32p4/src/mipi_dsi_host/gen_pld_data.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - NA"] #[inline(always)] - #[must_use] pub fn gen_pld_b1(&mut self) -> GEN_PLD_B1_W { GEN_PLD_B1_W::new(self, 0) } #[doc = "Bits 8:15 - NA"] #[inline(always)] - #[must_use] pub fn gen_pld_b2(&mut self) -> GEN_PLD_B2_W { GEN_PLD_B2_W::new(self, 8) } #[doc = "Bits 16:23 - NA"] #[inline(always)] - #[must_use] pub fn gen_pld_b3(&mut self) -> GEN_PLD_B3_W { GEN_PLD_B3_W::new(self, 16) } #[doc = "Bits 24:31 - NA"] #[inline(always)] - #[must_use] pub fn gen_pld_b4(&mut self) -> GEN_PLD_B4_W { GEN_PLD_B4_W::new(self, 24) } diff --git a/esp32p4/src/mipi_dsi_host/gen_vcid.rs b/esp32p4/src/mipi_dsi_host/gen_vcid.rs index 6dcbb7bcca..fbeb8b0a96 100644 --- a/esp32p4/src/mipi_dsi_host/gen_vcid.rs +++ b/esp32p4/src/mipi_dsi_host/gen_vcid.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - NA"] #[inline(always)] - #[must_use] pub fn rx(&mut self) -> RX_W { RX_W::new(self, 0) } #[doc = "Bits 8:9 - NA"] #[inline(always)] - #[must_use] pub fn tear_auto(&mut self) -> TEAR_AUTO_W { TEAR_AUTO_W::new(self, 8) } #[doc = "Bits 16:17 - NA"] #[inline(always)] - #[must_use] pub fn tx_auto(&mut self) -> TX_AUTO_W { TX_AUTO_W::new(self, 16) } diff --git a/esp32p4/src/mipi_dsi_host/hs_rd_to_cnt.rs b/esp32p4/src/mipi_dsi_host/hs_rd_to_cnt.rs index 39f5a58268..d2bd044158 100644 --- a/esp32p4/src/mipi_dsi_host/hs_rd_to_cnt.rs +++ b/esp32p4/src/mipi_dsi_host/hs_rd_to_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - NA"] #[inline(always)] - #[must_use] pub fn hs_rd_to_cnt(&mut self) -> HS_RD_TO_CNT_W { HS_RD_TO_CNT_W::new(self, 0) } diff --git a/esp32p4/src/mipi_dsi_host/hs_wr_to_cnt.rs b/esp32p4/src/mipi_dsi_host/hs_wr_to_cnt.rs index 6e8a8bf79e..0825302b8b 100644 --- a/esp32p4/src/mipi_dsi_host/hs_wr_to_cnt.rs +++ b/esp32p4/src/mipi_dsi_host/hs_wr_to_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - NA"] #[inline(always)] - #[must_use] pub fn hs_wr_to_cnt(&mut self) -> HS_WR_TO_CNT_W { HS_WR_TO_CNT_W::new(self, 0) } diff --git a/esp32p4/src/mipi_dsi_host/int_force0.rs b/esp32p4/src/mipi_dsi_host/int_force0.rs index ace9310da4..21983fa03d 100644 --- a/esp32p4/src/mipi_dsi_host/int_force0.rs +++ b/esp32p4/src/mipi_dsi_host/int_force0.rs @@ -224,127 +224,106 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn force_ack_with_err_0(&mut self) -> FORCE_ACK_WITH_ERR_0_W { FORCE_ACK_WITH_ERR_0_W::new(self, 0) } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn force_ack_with_err_1(&mut self) -> FORCE_ACK_WITH_ERR_1_W { FORCE_ACK_WITH_ERR_1_W::new(self, 1) } #[doc = "Bit 2 - NA"] #[inline(always)] - #[must_use] pub fn force_ack_with_err_2(&mut self) -> FORCE_ACK_WITH_ERR_2_W { FORCE_ACK_WITH_ERR_2_W::new(self, 2) } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn force_ack_with_err_3(&mut self) -> FORCE_ACK_WITH_ERR_3_W { FORCE_ACK_WITH_ERR_3_W::new(self, 3) } #[doc = "Bit 4 - NA"] #[inline(always)] - #[must_use] pub fn force_ack_with_err_4(&mut self) -> FORCE_ACK_WITH_ERR_4_W { FORCE_ACK_WITH_ERR_4_W::new(self, 4) } #[doc = "Bit 5 - NA"] #[inline(always)] - #[must_use] pub fn force_ack_with_err_5(&mut self) -> FORCE_ACK_WITH_ERR_5_W { FORCE_ACK_WITH_ERR_5_W::new(self, 5) } #[doc = "Bit 6 - NA"] #[inline(always)] - #[must_use] pub fn force_ack_with_err_6(&mut self) -> FORCE_ACK_WITH_ERR_6_W { FORCE_ACK_WITH_ERR_6_W::new(self, 6) } #[doc = "Bit 7 - NA"] #[inline(always)] - #[must_use] pub fn force_ack_with_err_7(&mut self) -> FORCE_ACK_WITH_ERR_7_W { FORCE_ACK_WITH_ERR_7_W::new(self, 7) } #[doc = "Bit 8 - NA"] #[inline(always)] - #[must_use] pub fn force_ack_with_err_8(&mut self) -> FORCE_ACK_WITH_ERR_8_W { FORCE_ACK_WITH_ERR_8_W::new(self, 8) } #[doc = "Bit 9 - NA"] #[inline(always)] - #[must_use] pub fn force_ack_with_err_9(&mut self) -> FORCE_ACK_WITH_ERR_9_W { FORCE_ACK_WITH_ERR_9_W::new(self, 9) } #[doc = "Bit 10 - NA"] #[inline(always)] - #[must_use] pub fn force_ack_with_err_10(&mut self) -> FORCE_ACK_WITH_ERR_10_W { FORCE_ACK_WITH_ERR_10_W::new(self, 10) } #[doc = "Bit 11 - NA"] #[inline(always)] - #[must_use] pub fn force_ack_with_err_11(&mut self) -> FORCE_ACK_WITH_ERR_11_W { FORCE_ACK_WITH_ERR_11_W::new(self, 11) } #[doc = "Bit 12 - NA"] #[inline(always)] - #[must_use] pub fn force_ack_with_err_12(&mut self) -> FORCE_ACK_WITH_ERR_12_W { FORCE_ACK_WITH_ERR_12_W::new(self, 12) } #[doc = "Bit 13 - NA"] #[inline(always)] - #[must_use] pub fn force_ack_with_err_13(&mut self) -> FORCE_ACK_WITH_ERR_13_W { FORCE_ACK_WITH_ERR_13_W::new(self, 13) } #[doc = "Bit 14 - NA"] #[inline(always)] - #[must_use] pub fn force_ack_with_err_14(&mut self) -> FORCE_ACK_WITH_ERR_14_W { FORCE_ACK_WITH_ERR_14_W::new(self, 14) } #[doc = "Bit 15 - NA"] #[inline(always)] - #[must_use] pub fn force_ack_with_err_15(&mut self) -> FORCE_ACK_WITH_ERR_15_W { FORCE_ACK_WITH_ERR_15_W::new(self, 15) } #[doc = "Bit 16 - NA"] #[inline(always)] - #[must_use] pub fn force_dphy_errors_0(&mut self) -> FORCE_DPHY_ERRORS_0_W { FORCE_DPHY_ERRORS_0_W::new(self, 16) } #[doc = "Bit 17 - NA"] #[inline(always)] - #[must_use] pub fn force_dphy_errors_1(&mut self) -> FORCE_DPHY_ERRORS_1_W { FORCE_DPHY_ERRORS_1_W::new(self, 17) } #[doc = "Bit 18 - NA"] #[inline(always)] - #[must_use] pub fn force_dphy_errors_2(&mut self) -> FORCE_DPHY_ERRORS_2_W { FORCE_DPHY_ERRORS_2_W::new(self, 18) } #[doc = "Bit 19 - NA"] #[inline(always)] - #[must_use] pub fn force_dphy_errors_3(&mut self) -> FORCE_DPHY_ERRORS_3_W { FORCE_DPHY_ERRORS_3_W::new(self, 19) } #[doc = "Bit 20 - NA"] #[inline(always)] - #[must_use] pub fn force_dphy_errors_4(&mut self) -> FORCE_DPHY_ERRORS_4_W { FORCE_DPHY_ERRORS_4_W::new(self, 20) } diff --git a/esp32p4/src/mipi_dsi_host/int_force1.rs b/esp32p4/src/mipi_dsi_host/int_force1.rs index d2f91b7492..8f1a57bf2f 100644 --- a/esp32p4/src/mipi_dsi_host/int_force1.rs +++ b/esp32p4/src/mipi_dsi_host/int_force1.rs @@ -154,85 +154,71 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn force_to_hs_tx(&mut self) -> FORCE_TO_HS_TX_W { FORCE_TO_HS_TX_W::new(self, 0) } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn force_to_lp_rx(&mut self) -> FORCE_TO_LP_RX_W { FORCE_TO_LP_RX_W::new(self, 1) } #[doc = "Bit 2 - NA"] #[inline(always)] - #[must_use] pub fn force_ecc_single_err(&mut self) -> FORCE_ECC_SINGLE_ERR_W { FORCE_ECC_SINGLE_ERR_W::new(self, 2) } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn force_ecc_milti_err(&mut self) -> FORCE_ECC_MILTI_ERR_W { FORCE_ECC_MILTI_ERR_W::new(self, 3) } #[doc = "Bit 4 - NA"] #[inline(always)] - #[must_use] pub fn force_crc_err(&mut self) -> FORCE_CRC_ERR_W { FORCE_CRC_ERR_W::new(self, 4) } #[doc = "Bit 5 - NA"] #[inline(always)] - #[must_use] pub fn force_pkt_size_err(&mut self) -> FORCE_PKT_SIZE_ERR_W { FORCE_PKT_SIZE_ERR_W::new(self, 5) } #[doc = "Bit 6 - NA"] #[inline(always)] - #[must_use] pub fn force_eopt_err(&mut self) -> FORCE_EOPT_ERR_W { FORCE_EOPT_ERR_W::new(self, 6) } #[doc = "Bit 7 - NA"] #[inline(always)] - #[must_use] pub fn force_dpi_pld_wr_err(&mut self) -> FORCE_DPI_PLD_WR_ERR_W { FORCE_DPI_PLD_WR_ERR_W::new(self, 7) } #[doc = "Bit 8 - NA"] #[inline(always)] - #[must_use] pub fn force_gen_cmd_wr_err(&mut self) -> FORCE_GEN_CMD_WR_ERR_W { FORCE_GEN_CMD_WR_ERR_W::new(self, 8) } #[doc = "Bit 9 - NA"] #[inline(always)] - #[must_use] pub fn force_gen_pld_wr_err(&mut self) -> FORCE_GEN_PLD_WR_ERR_W { FORCE_GEN_PLD_WR_ERR_W::new(self, 9) } #[doc = "Bit 10 - NA"] #[inline(always)] - #[must_use] pub fn force_gen_pld_send_err(&mut self) -> FORCE_GEN_PLD_SEND_ERR_W { FORCE_GEN_PLD_SEND_ERR_W::new(self, 10) } #[doc = "Bit 11 - NA"] #[inline(always)] - #[must_use] pub fn force_gen_pld_rd_err(&mut self) -> FORCE_GEN_PLD_RD_ERR_W { FORCE_GEN_PLD_RD_ERR_W::new(self, 11) } #[doc = "Bit 12 - NA"] #[inline(always)] - #[must_use] pub fn force_gen_pld_recev_err(&mut self) -> FORCE_GEN_PLD_RECEV_ERR_W { FORCE_GEN_PLD_RECEV_ERR_W::new(self, 12) } #[doc = "Bit 19 - NA"] #[inline(always)] - #[must_use] pub fn force_dpi_buff_pld_under(&mut self) -> FORCE_DPI_BUFF_PLD_UNDER_W { FORCE_DPI_BUFF_PLD_UNDER_W::new(self, 19) } diff --git a/esp32p4/src/mipi_dsi_host/int_msk0.rs b/esp32p4/src/mipi_dsi_host/int_msk0.rs index 0f2c42ff6f..14974fc775 100644 --- a/esp32p4/src/mipi_dsi_host/int_msk0.rs +++ b/esp32p4/src/mipi_dsi_host/int_msk0.rs @@ -224,127 +224,106 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn mask_ack_with_err_0(&mut self) -> MASK_ACK_WITH_ERR_0_W { MASK_ACK_WITH_ERR_0_W::new(self, 0) } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn mask_ack_with_err_1(&mut self) -> MASK_ACK_WITH_ERR_1_W { MASK_ACK_WITH_ERR_1_W::new(self, 1) } #[doc = "Bit 2 - NA"] #[inline(always)] - #[must_use] pub fn mask_ack_with_err_2(&mut self) -> MASK_ACK_WITH_ERR_2_W { MASK_ACK_WITH_ERR_2_W::new(self, 2) } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn mask_ack_with_err_3(&mut self) -> MASK_ACK_WITH_ERR_3_W { MASK_ACK_WITH_ERR_3_W::new(self, 3) } #[doc = "Bit 4 - NA"] #[inline(always)] - #[must_use] pub fn mask_ack_with_err_4(&mut self) -> MASK_ACK_WITH_ERR_4_W { MASK_ACK_WITH_ERR_4_W::new(self, 4) } #[doc = "Bit 5 - NA"] #[inline(always)] - #[must_use] pub fn mask_ack_with_err_5(&mut self) -> MASK_ACK_WITH_ERR_5_W { MASK_ACK_WITH_ERR_5_W::new(self, 5) } #[doc = "Bit 6 - NA"] #[inline(always)] - #[must_use] pub fn mask_ack_with_err_6(&mut self) -> MASK_ACK_WITH_ERR_6_W { MASK_ACK_WITH_ERR_6_W::new(self, 6) } #[doc = "Bit 7 - NA"] #[inline(always)] - #[must_use] pub fn mask_ack_with_err_7(&mut self) -> MASK_ACK_WITH_ERR_7_W { MASK_ACK_WITH_ERR_7_W::new(self, 7) } #[doc = "Bit 8 - NA"] #[inline(always)] - #[must_use] pub fn mask_ack_with_err_8(&mut self) -> MASK_ACK_WITH_ERR_8_W { MASK_ACK_WITH_ERR_8_W::new(self, 8) } #[doc = "Bit 9 - NA"] #[inline(always)] - #[must_use] pub fn mask_ack_with_err_9(&mut self) -> MASK_ACK_WITH_ERR_9_W { MASK_ACK_WITH_ERR_9_W::new(self, 9) } #[doc = "Bit 10 - NA"] #[inline(always)] - #[must_use] pub fn mask_ack_with_err_10(&mut self) -> MASK_ACK_WITH_ERR_10_W { MASK_ACK_WITH_ERR_10_W::new(self, 10) } #[doc = "Bit 11 - NA"] #[inline(always)] - #[must_use] pub fn mask_ack_with_err_11(&mut self) -> MASK_ACK_WITH_ERR_11_W { MASK_ACK_WITH_ERR_11_W::new(self, 11) } #[doc = "Bit 12 - NA"] #[inline(always)] - #[must_use] pub fn mask_ack_with_err_12(&mut self) -> MASK_ACK_WITH_ERR_12_W { MASK_ACK_WITH_ERR_12_W::new(self, 12) } #[doc = "Bit 13 - NA"] #[inline(always)] - #[must_use] pub fn mask_ack_with_err_13(&mut self) -> MASK_ACK_WITH_ERR_13_W { MASK_ACK_WITH_ERR_13_W::new(self, 13) } #[doc = "Bit 14 - NA"] #[inline(always)] - #[must_use] pub fn mask_ack_with_err_14(&mut self) -> MASK_ACK_WITH_ERR_14_W { MASK_ACK_WITH_ERR_14_W::new(self, 14) } #[doc = "Bit 15 - NA"] #[inline(always)] - #[must_use] pub fn mask_ack_with_err_15(&mut self) -> MASK_ACK_WITH_ERR_15_W { MASK_ACK_WITH_ERR_15_W::new(self, 15) } #[doc = "Bit 16 - NA"] #[inline(always)] - #[must_use] pub fn mask_dphy_errors_0(&mut self) -> MASK_DPHY_ERRORS_0_W { MASK_DPHY_ERRORS_0_W::new(self, 16) } #[doc = "Bit 17 - NA"] #[inline(always)] - #[must_use] pub fn mask_dphy_errors_1(&mut self) -> MASK_DPHY_ERRORS_1_W { MASK_DPHY_ERRORS_1_W::new(self, 17) } #[doc = "Bit 18 - NA"] #[inline(always)] - #[must_use] pub fn mask_dphy_errors_2(&mut self) -> MASK_DPHY_ERRORS_2_W { MASK_DPHY_ERRORS_2_W::new(self, 18) } #[doc = "Bit 19 - NA"] #[inline(always)] - #[must_use] pub fn mask_dphy_errors_3(&mut self) -> MASK_DPHY_ERRORS_3_W { MASK_DPHY_ERRORS_3_W::new(self, 19) } #[doc = "Bit 20 - NA"] #[inline(always)] - #[must_use] pub fn mask_dphy_errors_4(&mut self) -> MASK_DPHY_ERRORS_4_W { MASK_DPHY_ERRORS_4_W::new(self, 20) } diff --git a/esp32p4/src/mipi_dsi_host/int_msk1.rs b/esp32p4/src/mipi_dsi_host/int_msk1.rs index 86979c0630..b5f6adc2f8 100644 --- a/esp32p4/src/mipi_dsi_host/int_msk1.rs +++ b/esp32p4/src/mipi_dsi_host/int_msk1.rs @@ -154,85 +154,71 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn mask_to_hs_tx(&mut self) -> MASK_TO_HS_TX_W { MASK_TO_HS_TX_W::new(self, 0) } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn mask_to_lp_rx(&mut self) -> MASK_TO_LP_RX_W { MASK_TO_LP_RX_W::new(self, 1) } #[doc = "Bit 2 - NA"] #[inline(always)] - #[must_use] pub fn mask_ecc_single_err(&mut self) -> MASK_ECC_SINGLE_ERR_W { MASK_ECC_SINGLE_ERR_W::new(self, 2) } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn mask_ecc_milti_err(&mut self) -> MASK_ECC_MILTI_ERR_W { MASK_ECC_MILTI_ERR_W::new(self, 3) } #[doc = "Bit 4 - NA"] #[inline(always)] - #[must_use] pub fn mask_crc_err(&mut self) -> MASK_CRC_ERR_W { MASK_CRC_ERR_W::new(self, 4) } #[doc = "Bit 5 - NA"] #[inline(always)] - #[must_use] pub fn mask_pkt_size_err(&mut self) -> MASK_PKT_SIZE_ERR_W { MASK_PKT_SIZE_ERR_W::new(self, 5) } #[doc = "Bit 6 - NA"] #[inline(always)] - #[must_use] pub fn mask_eopt_err(&mut self) -> MASK_EOPT_ERR_W { MASK_EOPT_ERR_W::new(self, 6) } #[doc = "Bit 7 - NA"] #[inline(always)] - #[must_use] pub fn mask_dpi_pld_wr_err(&mut self) -> MASK_DPI_PLD_WR_ERR_W { MASK_DPI_PLD_WR_ERR_W::new(self, 7) } #[doc = "Bit 8 - NA"] #[inline(always)] - #[must_use] pub fn mask_gen_cmd_wr_err(&mut self) -> MASK_GEN_CMD_WR_ERR_W { MASK_GEN_CMD_WR_ERR_W::new(self, 8) } #[doc = "Bit 9 - NA"] #[inline(always)] - #[must_use] pub fn mask_gen_pld_wr_err(&mut self) -> MASK_GEN_PLD_WR_ERR_W { MASK_GEN_PLD_WR_ERR_W::new(self, 9) } #[doc = "Bit 10 - NA"] #[inline(always)] - #[must_use] pub fn mask_gen_pld_send_err(&mut self) -> MASK_GEN_PLD_SEND_ERR_W { MASK_GEN_PLD_SEND_ERR_W::new(self, 10) } #[doc = "Bit 11 - NA"] #[inline(always)] - #[must_use] pub fn mask_gen_pld_rd_err(&mut self) -> MASK_GEN_PLD_RD_ERR_W { MASK_GEN_PLD_RD_ERR_W::new(self, 11) } #[doc = "Bit 12 - NA"] #[inline(always)] - #[must_use] pub fn mask_gen_pld_recev_err(&mut self) -> MASK_GEN_PLD_RECEV_ERR_W { MASK_GEN_PLD_RECEV_ERR_W::new(self, 12) } #[doc = "Bit 19 - NA"] #[inline(always)] - #[must_use] pub fn mask_dpi_buff_pld_under(&mut self) -> MASK_DPI_BUFF_PLD_UNDER_W { MASK_DPI_BUFF_PLD_UNDER_W::new(self, 19) } diff --git a/esp32p4/src/mipi_dsi_host/lp_rd_to_cnt.rs b/esp32p4/src/mipi_dsi_host/lp_rd_to_cnt.rs index b414396a52..66246f2674 100644 --- a/esp32p4/src/mipi_dsi_host/lp_rd_to_cnt.rs +++ b/esp32p4/src/mipi_dsi_host/lp_rd_to_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - NA"] #[inline(always)] - #[must_use] pub fn lp_rd_to_cnt(&mut self) -> LP_RD_TO_CNT_W { LP_RD_TO_CNT_W::new(self, 0) } diff --git a/esp32p4/src/mipi_dsi_host/lp_wr_to_cnt.rs b/esp32p4/src/mipi_dsi_host/lp_wr_to_cnt.rs index 190ffcd319..2798944259 100644 --- a/esp32p4/src/mipi_dsi_host/lp_wr_to_cnt.rs +++ b/esp32p4/src/mipi_dsi_host/lp_wr_to_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - NA"] #[inline(always)] - #[must_use] pub fn lp_wr_to_cnt(&mut self) -> LP_WR_TO_CNT_W { LP_WR_TO_CNT_W::new(self, 0) } diff --git a/esp32p4/src/mipi_dsi_host/lpclk_ctrl.rs b/esp32p4/src/mipi_dsi_host/lpclk_ctrl.rs index 4d347b055f..6d1d7d2974 100644 --- a/esp32p4/src/mipi_dsi_host/lpclk_ctrl.rs +++ b/esp32p4/src/mipi_dsi_host/lpclk_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn phy_txrequestclkhs(&mut self) -> PHY_TXREQUESTCLKHS_W { PHY_TXREQUESTCLKHS_W::new(self, 0) } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn auto_clklane_ctrl(&mut self) -> AUTO_CLKLANE_CTRL_W { AUTO_CLKLANE_CTRL_W::new(self, 1) } diff --git a/esp32p4/src/mipi_dsi_host/mode_cfg.rs b/esp32p4/src/mipi_dsi_host/mode_cfg.rs index 64ec86dac5..34706d305b 100644 --- a/esp32p4/src/mipi_dsi_host/mode_cfg.rs +++ b/esp32p4/src/mipi_dsi_host/mode_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn cmd_video_mode(&mut self) -> CMD_VIDEO_MODE_W { CMD_VIDEO_MODE_W::new(self, 0) } diff --git a/esp32p4/src/mipi_dsi_host/pckhdl_cfg.rs b/esp32p4/src/mipi_dsi_host/pckhdl_cfg.rs index 8512e2c62b..b905db6e0d 100644 --- a/esp32p4/src/mipi_dsi_host/pckhdl_cfg.rs +++ b/esp32p4/src/mipi_dsi_host/pckhdl_cfg.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn eotp_tx_en(&mut self) -> EOTP_TX_EN_W { EOTP_TX_EN_W::new(self, 0) } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn eotp_rx_en(&mut self) -> EOTP_RX_EN_W { EOTP_RX_EN_W::new(self, 1) } #[doc = "Bit 2 - NA"] #[inline(always)] - #[must_use] pub fn bta_en(&mut self) -> BTA_EN_W { BTA_EN_W::new(self, 2) } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn ecc_rx_en(&mut self) -> ECC_RX_EN_W { ECC_RX_EN_W::new(self, 3) } #[doc = "Bit 4 - NA"] #[inline(always)] - #[must_use] pub fn crc_rx_en(&mut self) -> CRC_RX_EN_W { CRC_RX_EN_W::new(self, 4) } #[doc = "Bit 5 - NA"] #[inline(always)] - #[must_use] pub fn eotp_tx_lp_en(&mut self) -> EOTP_TX_LP_EN_W { EOTP_TX_LP_EN_W::new(self, 5) } diff --git a/esp32p4/src/mipi_dsi_host/phy_cal.rs b/esp32p4/src/mipi_dsi_host/phy_cal.rs index a35771401e..c7ce2594a5 100644 --- a/esp32p4/src/mipi_dsi_host/phy_cal.rs +++ b/esp32p4/src/mipi_dsi_host/phy_cal.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn txskewcalhs(&mut self) -> TXSKEWCALHS_W { TXSKEWCALHS_W::new(self, 0) } diff --git a/esp32p4/src/mipi_dsi_host/phy_if_cfg.rs b/esp32p4/src/mipi_dsi_host/phy_if_cfg.rs index 57d6f2b49d..98aee8031e 100644 --- a/esp32p4/src/mipi_dsi_host/phy_if_cfg.rs +++ b/esp32p4/src/mipi_dsi_host/phy_if_cfg.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - NA"] #[inline(always)] - #[must_use] pub fn n_lanes(&mut self) -> N_LANES_W { N_LANES_W::new(self, 0) } #[doc = "Bits 8:15 - NA"] #[inline(always)] - #[must_use] pub fn phy_stop_wait_time(&mut self) -> PHY_STOP_WAIT_TIME_W { PHY_STOP_WAIT_TIME_W::new(self, 8) } diff --git a/esp32p4/src/mipi_dsi_host/phy_rstz.rs b/esp32p4/src/mipi_dsi_host/phy_rstz.rs index 0af8296432..fefbda66e1 100644 --- a/esp32p4/src/mipi_dsi_host/phy_rstz.rs +++ b/esp32p4/src/mipi_dsi_host/phy_rstz.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn phy_shutdownz(&mut self) -> PHY_SHUTDOWNZ_W { PHY_SHUTDOWNZ_W::new(self, 0) } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn phy_rstz(&mut self) -> PHY_RSTZ_W { PHY_RSTZ_W::new(self, 1) } #[doc = "Bit 2 - NA"] #[inline(always)] - #[must_use] pub fn phy_enableclk(&mut self) -> PHY_ENABLECLK_W { PHY_ENABLECLK_W::new(self, 2) } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn phy_forcepll(&mut self) -> PHY_FORCEPLL_W { PHY_FORCEPLL_W::new(self, 3) } diff --git a/esp32p4/src/mipi_dsi_host/phy_tmr_cfg.rs b/esp32p4/src/mipi_dsi_host/phy_tmr_cfg.rs index e699eb500f..904b8e55de 100644 --- a/esp32p4/src/mipi_dsi_host/phy_tmr_cfg.rs +++ b/esp32p4/src/mipi_dsi_host/phy_tmr_cfg.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - NA"] #[inline(always)] - #[must_use] pub fn phy_lp2hs_time(&mut self) -> PHY_LP2HS_TIME_W { PHY_LP2HS_TIME_W::new(self, 0) } #[doc = "Bits 16:25 - NA"] #[inline(always)] - #[must_use] pub fn phy_hs2lp_time(&mut self) -> PHY_HS2LP_TIME_W { PHY_HS2LP_TIME_W::new(self, 16) } diff --git a/esp32p4/src/mipi_dsi_host/phy_tmr_lpclk_cfg.rs b/esp32p4/src/mipi_dsi_host/phy_tmr_lpclk_cfg.rs index 1c4b386af8..2d0aea597a 100644 --- a/esp32p4/src/mipi_dsi_host/phy_tmr_lpclk_cfg.rs +++ b/esp32p4/src/mipi_dsi_host/phy_tmr_lpclk_cfg.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - NA"] #[inline(always)] - #[must_use] pub fn phy_clklp2hs_time(&mut self) -> PHY_CLKLP2HS_TIME_W { PHY_CLKLP2HS_TIME_W::new(self, 0) } #[doc = "Bits 16:25 - NA"] #[inline(always)] - #[must_use] pub fn phy_clkhs2lp_time(&mut self) -> PHY_CLKHS2LP_TIME_W { PHY_CLKHS2LP_TIME_W::new(self, 16) } diff --git a/esp32p4/src/mipi_dsi_host/phy_tmr_rd_cfg.rs b/esp32p4/src/mipi_dsi_host/phy_tmr_rd_cfg.rs index 51b8a54ab2..fcf5d8835b 100644 --- a/esp32p4/src/mipi_dsi_host/phy_tmr_rd_cfg.rs +++ b/esp32p4/src/mipi_dsi_host/phy_tmr_rd_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:14 - NA"] #[inline(always)] - #[must_use] pub fn max_rd_time(&mut self) -> MAX_RD_TIME_W { MAX_RD_TIME_W::new(self, 0) } diff --git a/esp32p4/src/mipi_dsi_host/phy_tst_ctrl0.rs b/esp32p4/src/mipi_dsi_host/phy_tst_ctrl0.rs index 355ae9b32e..38cc5d24c0 100644 --- a/esp32p4/src/mipi_dsi_host/phy_tst_ctrl0.rs +++ b/esp32p4/src/mipi_dsi_host/phy_tst_ctrl0.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn phy_testclr(&mut self) -> PHY_TESTCLR_W { PHY_TESTCLR_W::new(self, 0) } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn phy_testclk(&mut self) -> PHY_TESTCLK_W { PHY_TESTCLK_W::new(self, 1) } diff --git a/esp32p4/src/mipi_dsi_host/phy_tst_ctrl1.rs b/esp32p4/src/mipi_dsi_host/phy_tst_ctrl1.rs index 5b051d6c47..5c61d02d0d 100644 --- a/esp32p4/src/mipi_dsi_host/phy_tst_ctrl1.rs +++ b/esp32p4/src/mipi_dsi_host/phy_tst_ctrl1.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - NA"] #[inline(always)] - #[must_use] pub fn phy_testdin(&mut self) -> PHY_TESTDIN_W { PHY_TESTDIN_W::new(self, 0) } #[doc = "Bit 16 - NA"] #[inline(always)] - #[must_use] pub fn phy_testen(&mut self) -> PHY_TESTEN_W { PHY_TESTEN_W::new(self, 16) } diff --git a/esp32p4/src/mipi_dsi_host/phy_tx_triggers.rs b/esp32p4/src/mipi_dsi_host/phy_tx_triggers.rs index ef0eaa984d..ea01b8bb04 100644 --- a/esp32p4/src/mipi_dsi_host/phy_tx_triggers.rs +++ b/esp32p4/src/mipi_dsi_host/phy_tx_triggers.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - NA"] #[inline(always)] - #[must_use] pub fn phy_tx_triggers(&mut self) -> PHY_TX_TRIGGERS_W { PHY_TX_TRIGGERS_W::new(self, 0) } diff --git a/esp32p4/src/mipi_dsi_host/phy_ulps_ctrl.rs b/esp32p4/src/mipi_dsi_host/phy_ulps_ctrl.rs index ef83265a69..eb40cd4849 100644 --- a/esp32p4/src/mipi_dsi_host/phy_ulps_ctrl.rs +++ b/esp32p4/src/mipi_dsi_host/phy_ulps_ctrl.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn phy_txrequlpsclk(&mut self) -> PHY_TXREQULPSCLK_W { PHY_TXREQULPSCLK_W::new(self, 0) } #[doc = "Bit 1 - NA"] #[inline(always)] - #[must_use] pub fn phy_txexitulpsclk(&mut self) -> PHY_TXEXITULPSCLK_W { PHY_TXEXITULPSCLK_W::new(self, 1) } #[doc = "Bit 2 - NA"] #[inline(always)] - #[must_use] pub fn phy_txrequlpslan(&mut self) -> PHY_TXREQULPSLAN_W { PHY_TXREQULPSLAN_W::new(self, 2) } #[doc = "Bit 3 - NA"] #[inline(always)] - #[must_use] pub fn phy_txexitulpslan(&mut self) -> PHY_TXEXITULPSLAN_W { PHY_TXEXITULPSLAN_W::new(self, 3) } diff --git a/esp32p4/src/mipi_dsi_host/pwr_up.rs b/esp32p4/src/mipi_dsi_host/pwr_up.rs index 6ccd8fe229..276ef249e8 100644 --- a/esp32p4/src/mipi_dsi_host/pwr_up.rs +++ b/esp32p4/src/mipi_dsi_host/pwr_up.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn shutdownz(&mut self) -> SHUTDOWNZ_W { SHUTDOWNZ_W::new(self, 0) } diff --git a/esp32p4/src/mipi_dsi_host/sdf_3d.rs b/esp32p4/src/mipi_dsi_host/sdf_3d.rs index 531f5ac578..19d3770c68 100644 --- a/esp32p4/src/mipi_dsi_host/sdf_3d.rs +++ b/esp32p4/src/mipi_dsi_host/sdf_3d.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - NA"] #[inline(always)] - #[must_use] pub fn mode_3d(&mut self) -> MODE_3D_W { MODE_3D_W::new(self, 0) } #[doc = "Bits 2:3 - NA"] #[inline(always)] - #[must_use] pub fn format_3d(&mut self) -> FORMAT_3D_W { FORMAT_3D_W::new(self, 2) } #[doc = "Bit 4 - NA"] #[inline(always)] - #[must_use] pub fn second_vsync(&mut self) -> SECOND_VSYNC_W { SECOND_VSYNC_W::new(self, 4) } #[doc = "Bit 5 - NA"] #[inline(always)] - #[must_use] pub fn right_first(&mut self) -> RIGHT_FIRST_W { RIGHT_FIRST_W::new(self, 5) } #[doc = "Bit 16 - NA"] #[inline(always)] - #[must_use] pub fn send_3d_cfg(&mut self) -> SEND_3D_CFG_W { SEND_3D_CFG_W::new(self, 16) } diff --git a/esp32p4/src/mipi_dsi_host/to_cnt_cfg.rs b/esp32p4/src/mipi_dsi_host/to_cnt_cfg.rs index 34d548db15..443b986f2a 100644 --- a/esp32p4/src/mipi_dsi_host/to_cnt_cfg.rs +++ b/esp32p4/src/mipi_dsi_host/to_cnt_cfg.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - NA"] #[inline(always)] - #[must_use] pub fn lprx_to_cnt(&mut self) -> LPRX_TO_CNT_W { LPRX_TO_CNT_W::new(self, 0) } #[doc = "Bits 16:31 - NA"] #[inline(always)] - #[must_use] pub fn hstx_to_cnt(&mut self) -> HSTX_TO_CNT_W { HSTX_TO_CNT_W::new(self, 16) } diff --git a/esp32p4/src/mipi_dsi_host/vid_hbp_time.rs b/esp32p4/src/mipi_dsi_host/vid_hbp_time.rs index a030945773..2285579851 100644 --- a/esp32p4/src/mipi_dsi_host/vid_hbp_time.rs +++ b/esp32p4/src/mipi_dsi_host/vid_hbp_time.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - NA"] #[inline(always)] - #[must_use] pub fn vid_hbp_time(&mut self) -> VID_HBP_TIME_W { VID_HBP_TIME_W::new(self, 0) } diff --git a/esp32p4/src/mipi_dsi_host/vid_hline_time.rs b/esp32p4/src/mipi_dsi_host/vid_hline_time.rs index 7d57d2690f..464fe5ec91 100644 --- a/esp32p4/src/mipi_dsi_host/vid_hline_time.rs +++ b/esp32p4/src/mipi_dsi_host/vid_hline_time.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:14 - NA"] #[inline(always)] - #[must_use] pub fn vid_hline_time(&mut self) -> VID_HLINE_TIME_W { VID_HLINE_TIME_W::new(self, 0) } diff --git a/esp32p4/src/mipi_dsi_host/vid_hsa_time.rs b/esp32p4/src/mipi_dsi_host/vid_hsa_time.rs index b7704bfcbb..02874a2779 100644 --- a/esp32p4/src/mipi_dsi_host/vid_hsa_time.rs +++ b/esp32p4/src/mipi_dsi_host/vid_hsa_time.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - NA"] #[inline(always)] - #[must_use] pub fn vid_hsa_time(&mut self) -> VID_HSA_TIME_W { VID_HSA_TIME_W::new(self, 0) } diff --git a/esp32p4/src/mipi_dsi_host/vid_mode_cfg.rs b/esp32p4/src/mipi_dsi_host/vid_mode_cfg.rs index 61412a4592..1f364a2a63 100644 --- a/esp32p4/src/mipi_dsi_host/vid_mode_cfg.rs +++ b/esp32p4/src/mipi_dsi_host/vid_mode_cfg.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - NA"] #[inline(always)] - #[must_use] pub fn vid_mode_type(&mut self) -> VID_MODE_TYPE_W { VID_MODE_TYPE_W::new(self, 0) } #[doc = "Bit 8 - NA"] #[inline(always)] - #[must_use] pub fn lp_vsa_en(&mut self) -> LP_VSA_EN_W { LP_VSA_EN_W::new(self, 8) } #[doc = "Bit 9 - NA"] #[inline(always)] - #[must_use] pub fn lp_vbp_en(&mut self) -> LP_VBP_EN_W { LP_VBP_EN_W::new(self, 9) } #[doc = "Bit 10 - NA"] #[inline(always)] - #[must_use] pub fn lp_vfp_en(&mut self) -> LP_VFP_EN_W { LP_VFP_EN_W::new(self, 10) } #[doc = "Bit 11 - NA"] #[inline(always)] - #[must_use] pub fn lp_vact_en(&mut self) -> LP_VACT_EN_W { LP_VACT_EN_W::new(self, 11) } #[doc = "Bit 12 - NA"] #[inline(always)] - #[must_use] pub fn lp_hbp_en(&mut self) -> LP_HBP_EN_W { LP_HBP_EN_W::new(self, 12) } #[doc = "Bit 13 - NA"] #[inline(always)] - #[must_use] pub fn lp_hfp_en(&mut self) -> LP_HFP_EN_W { LP_HFP_EN_W::new(self, 13) } #[doc = "Bit 14 - NA"] #[inline(always)] - #[must_use] pub fn frame_bta_ack_en(&mut self) -> FRAME_BTA_ACK_EN_W { FRAME_BTA_ACK_EN_W::new(self, 14) } #[doc = "Bit 15 - NA"] #[inline(always)] - #[must_use] pub fn lp_cmd_en(&mut self) -> LP_CMD_EN_W { LP_CMD_EN_W::new(self, 15) } #[doc = "Bit 16 - NA"] #[inline(always)] - #[must_use] pub fn vpg_en(&mut self) -> VPG_EN_W { VPG_EN_W::new(self, 16) } #[doc = "Bit 20 - NA"] #[inline(always)] - #[must_use] pub fn vpg_mode(&mut self) -> VPG_MODE_W { VPG_MODE_W::new(self, 20) } #[doc = "Bit 24 - NA"] #[inline(always)] - #[must_use] pub fn vpg_orientation(&mut self) -> VPG_ORIENTATION_W { VPG_ORIENTATION_W::new(self, 24) } diff --git a/esp32p4/src/mipi_dsi_host/vid_null_size.rs b/esp32p4/src/mipi_dsi_host/vid_null_size.rs index 278f3a1934..2f2deb4812 100644 --- a/esp32p4/src/mipi_dsi_host/vid_null_size.rs +++ b/esp32p4/src/mipi_dsi_host/vid_null_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:12 - NA"] #[inline(always)] - #[must_use] pub fn vid_null_size(&mut self) -> VID_NULL_SIZE_W { VID_NULL_SIZE_W::new(self, 0) } diff --git a/esp32p4/src/mipi_dsi_host/vid_num_chunks.rs b/esp32p4/src/mipi_dsi_host/vid_num_chunks.rs index 4a2e45088f..9709bf09f4 100644 --- a/esp32p4/src/mipi_dsi_host/vid_num_chunks.rs +++ b/esp32p4/src/mipi_dsi_host/vid_num_chunks.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:12 - NA"] #[inline(always)] - #[must_use] pub fn vid_num_chunks(&mut self) -> VID_NUM_CHUNKS_W { VID_NUM_CHUNKS_W::new(self, 0) } diff --git a/esp32p4/src/mipi_dsi_host/vid_pkt_size.rs b/esp32p4/src/mipi_dsi_host/vid_pkt_size.rs index 9151cf1090..a8d4cd6b24 100644 --- a/esp32p4/src/mipi_dsi_host/vid_pkt_size.rs +++ b/esp32p4/src/mipi_dsi_host/vid_pkt_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - NA"] #[inline(always)] - #[must_use] pub fn vid_pkt_size(&mut self) -> VID_PKT_SIZE_W { VID_PKT_SIZE_W::new(self, 0) } diff --git a/esp32p4/src/mipi_dsi_host/vid_shadow_ctrl.rs b/esp32p4/src/mipi_dsi_host/vid_shadow_ctrl.rs index 6ce910874a..799d795165 100644 --- a/esp32p4/src/mipi_dsi_host/vid_shadow_ctrl.rs +++ b/esp32p4/src/mipi_dsi_host/vid_shadow_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - NA"] #[inline(always)] - #[must_use] pub fn vid_shadow_en(&mut self) -> VID_SHADOW_EN_W { VID_SHADOW_EN_W::new(self, 0) } #[doc = "Bit 8 - NA"] #[inline(always)] - #[must_use] pub fn vid_shadow_req(&mut self) -> VID_SHADOW_REQ_W { VID_SHADOW_REQ_W::new(self, 8) } #[doc = "Bit 16 - NA"] #[inline(always)] - #[must_use] pub fn vid_shadow_pin_req(&mut self) -> VID_SHADOW_PIN_REQ_W { VID_SHADOW_PIN_REQ_W::new(self, 16) } diff --git a/esp32p4/src/mipi_dsi_host/vid_vactive_lines.rs b/esp32p4/src/mipi_dsi_host/vid_vactive_lines.rs index 1d40afafc3..5db8231352 100644 --- a/esp32p4/src/mipi_dsi_host/vid_vactive_lines.rs +++ b/esp32p4/src/mipi_dsi_host/vid_vactive_lines.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - NA"] #[inline(always)] - #[must_use] pub fn v_active_lines(&mut self) -> V_ACTIVE_LINES_W { V_ACTIVE_LINES_W::new(self, 0) } diff --git a/esp32p4/src/mipi_dsi_host/vid_vbp_lines.rs b/esp32p4/src/mipi_dsi_host/vid_vbp_lines.rs index a131b138c7..afeb567753 100644 --- a/esp32p4/src/mipi_dsi_host/vid_vbp_lines.rs +++ b/esp32p4/src/mipi_dsi_host/vid_vbp_lines.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - NA"] #[inline(always)] - #[must_use] pub fn vbp_lines(&mut self) -> VBP_LINES_W { VBP_LINES_W::new(self, 0) } diff --git a/esp32p4/src/mipi_dsi_host/vid_vfp_lines.rs b/esp32p4/src/mipi_dsi_host/vid_vfp_lines.rs index 671058eba9..5b5223169c 100644 --- a/esp32p4/src/mipi_dsi_host/vid_vfp_lines.rs +++ b/esp32p4/src/mipi_dsi_host/vid_vfp_lines.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - NA"] #[inline(always)] - #[must_use] pub fn vfp_lines(&mut self) -> VFP_LINES_W { VFP_LINES_W::new(self, 0) } diff --git a/esp32p4/src/mipi_dsi_host/vid_vsa_lines.rs b/esp32p4/src/mipi_dsi_host/vid_vsa_lines.rs index ef23508448..56f791cf6d 100644 --- a/esp32p4/src/mipi_dsi_host/vid_vsa_lines.rs +++ b/esp32p4/src/mipi_dsi_host/vid_vsa_lines.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - NA"] #[inline(always)] - #[must_use] pub fn vsa_lines(&mut self) -> VSA_LINES_W { VSA_LINES_W::new(self, 0) } diff --git a/esp32p4/src/parl_io/clk.rs b/esp32p4/src/parl_io/clk.rs index 4b1a8218d6..0c21dcb00b 100644 --- a/esp32p4/src/parl_io/clk.rs +++ b/esp32p4/src/parl_io/clk.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - Force clock on for this register file"] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 31) } diff --git a/esp32p4/src/parl_io/fifo_cfg.rs b/esp32p4/src/parl_io/fifo_cfg.rs index 60e0dd6259..9d961657b2 100644 --- a/esp32p4/src/parl_io/fifo_cfg.rs +++ b/esp32p4/src/parl_io/fifo_cfg.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - Set this bit to reset async fifo in tx module."] #[inline(always)] - #[must_use] pub fn tx_fifo_srst(&mut self) -> TX_FIFO_SRST_W { TX_FIFO_SRST_W::new(self, 30) } #[doc = "Bit 31 - Set this bit to reset async fifo in rx module."] #[inline(always)] - #[must_use] pub fn rx_fifo_srst(&mut self) -> RX_FIFO_SRST_W { RX_FIFO_SRST_W::new(self, 31) } diff --git a/esp32p4/src/parl_io/int_clr.rs b/esp32p4/src/parl_io/int_clr.rs index 93b28d174a..4570e86dae 100644 --- a/esp32p4/src/parl_io/int_clr.rs +++ b/esp32p4/src/parl_io/int_clr.rs @@ -15,19 +15,16 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear TX_FIFO_REMPTY_INT."] #[inline(always)] - #[must_use] pub fn tx_fifo_rempty(&mut self) -> TX_FIFO_REMPTY_W { TX_FIFO_REMPTY_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear RX_FIFO_WOVF_INT."] #[inline(always)] - #[must_use] pub fn rx_fifo_wovf(&mut self) -> RX_FIFO_WOVF_W { RX_FIFO_WOVF_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear TX_EOF_INT."] #[inline(always)] - #[must_use] pub fn tx_eof(&mut self) -> TX_EOF_W { TX_EOF_W::new(self, 2) } diff --git a/esp32p4/src/parl_io/int_ena.rs b/esp32p4/src/parl_io/int_ena.rs index 37d9ca9963..08e3487235 100644 --- a/esp32p4/src/parl_io/int_ena.rs +++ b/esp32p4/src/parl_io/int_ena.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable TX_FIFO_REMPTY_INT."] #[inline(always)] - #[must_use] pub fn tx_fifo_rempty(&mut self) -> TX_FIFO_REMPTY_W { TX_FIFO_REMPTY_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to enable RX_FIFO_WOVF_INT."] #[inline(always)] - #[must_use] pub fn rx_fifo_wovf(&mut self) -> RX_FIFO_WOVF_W { RX_FIFO_WOVF_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to enable TX_EOF_INT."] #[inline(always)] - #[must_use] pub fn tx_eof(&mut self) -> TX_EOF_W { TX_EOF_W::new(self, 2) } diff --git a/esp32p4/src/parl_io/int_raw.rs b/esp32p4/src/parl_io/int_raw.rs index 9b35a9b7ad..f9f323bcb9 100644 --- a/esp32p4/src/parl_io/int_raw.rs +++ b/esp32p4/src/parl_io/int_raw.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw interrupt status of TX_FIFO_REMPTY_INT."] #[inline(always)] - #[must_use] pub fn tx_fifo_rempty(&mut self) -> TX_FIFO_REMPTY_W { TX_FIFO_REMPTY_W::new(self, 0) } #[doc = "Bit 1 - The raw interrupt status of RX_FIFO_WOVF_INT."] #[inline(always)] - #[must_use] pub fn rx_fifo_wovf(&mut self) -> RX_FIFO_WOVF_W { RX_FIFO_WOVF_W::new(self, 1) } #[doc = "Bit 2 - The raw interrupt status of TX_EOF_INT."] #[inline(always)] - #[must_use] pub fn tx_eof(&mut self) -> TX_EOF_W { TX_EOF_W::new(self, 2) } diff --git a/esp32p4/src/parl_io/reg_update.rs b/esp32p4/src/parl_io/reg_update.rs index 44f445e9c6..ed367ee15f 100644 --- a/esp32p4/src/parl_io/reg_update.rs +++ b/esp32p4/src/parl_io/reg_update.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - Set this bit to update rx register configuration."] #[inline(always)] - #[must_use] pub fn rx_reg_update(&mut self) -> RX_REG_UPDATE_W { RX_REG_UPDATE_W::new(self, 31) } diff --git a/esp32p4/src/parl_io/rx_clk_cfg.rs b/esp32p4/src/parl_io/rx_clk_cfg.rs index 0718e9b3a5..f729b4f976 100644 --- a/esp32p4/src/parl_io/rx_clk_cfg.rs +++ b/esp32p4/src/parl_io/rx_clk_cfg.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - Set this bit to invert the input Rx core clock."] #[inline(always)] - #[must_use] pub fn rx_clk_i_inv(&mut self) -> RX_CLK_I_INV_W { RX_CLK_I_INV_W::new(self, 30) } #[doc = "Bit 31 - Set this bit to invert the output Rx core clock."] #[inline(always)] - #[must_use] pub fn rx_clk_o_inv(&mut self) -> RX_CLK_O_INV_W { RX_CLK_O_INV_W::new(self, 31) } diff --git a/esp32p4/src/parl_io/rx_data_cfg.rs b/esp32p4/src/parl_io/rx_data_cfg.rs index a27f38f2d8..6a47e2b196 100644 --- a/esp32p4/src/parl_io/rx_data_cfg.rs +++ b/esp32p4/src/parl_io/rx_data_cfg.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 9:27 - Configures expected byte number of received data."] #[inline(always)] - #[must_use] pub fn rx_bitlen(&mut self) -> RX_BITLEN_W { RX_BITLEN_W::new(self, 9) } #[doc = "Bit 28 - Set this bit to invert bit order of one byte sent from RX_FIFO to DMA."] #[inline(always)] - #[must_use] pub fn rx_data_order_inv(&mut self) -> RX_DATA_ORDER_INV_W { RX_DATA_ORDER_INV_W::new(self, 28) } #[doc = "Bits 29:31 - Configures the rxd bus width. 3'd0: bus width is 1. 3'd1: bus width is 2. 3'd2: bus width is 4. 3'd3: bus width is 8."] #[inline(always)] - #[must_use] pub fn rx_bus_wid_sel(&mut self) -> RX_BUS_WID_SEL_W { RX_BUS_WID_SEL_W::new(self, 29) } diff --git a/esp32p4/src/parl_io/rx_genrl_cfg.rs b/esp32p4/src/parl_io/rx_genrl_cfg.rs index 4a5679eec2..a44868b1b9 100644 --- a/esp32p4/src/parl_io/rx_genrl_cfg.rs +++ b/esp32p4/src/parl_io/rx_genrl_cfg.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - Set this bit to enable the clock gating of output rx clock."] #[inline(always)] - #[must_use] pub fn rx_gating_en(&mut self) -> RX_GATING_EN_W { RX_GATING_EN_W::new(self, 12) } #[doc = "Bits 13:28 - Configures threshold of timeout counter."] #[inline(always)] - #[must_use] pub fn rx_timeout_thres(&mut self) -> RX_TIMEOUT_THRES_W { RX_TIMEOUT_THRES_W::new(self, 13) } #[doc = "Bit 29 - Set this bit to enable timeout function to generate error eof."] #[inline(always)] - #[must_use] pub fn rx_timeout_en(&mut self) -> RX_TIMEOUT_EN_W { RX_TIMEOUT_EN_W::new(self, 29) } #[doc = "Bit 30 - Configures the DMA eof generated mechanism. 1'b0: eof generated by data bit length. 1'b1: eof generated by external enable signal."] #[inline(always)] - #[must_use] pub fn rx_eof_gen_sel(&mut self) -> RX_EOF_GEN_SEL_W { RX_EOF_GEN_SEL_W::new(self, 30) } diff --git a/esp32p4/src/parl_io/rx_mode_cfg.rs b/esp32p4/src/parl_io/rx_mode_cfg.rs index cf494f1f3a..1dd78136c5 100644 --- a/esp32p4/src/parl_io/rx_mode_cfg.rs +++ b/esp32p4/src/parl_io/rx_mode_cfg.rs @@ -14,9 +14,9 @@ pub type RX_SW_EN_W<'a, REG> = crate::BitWriter<'a, REG>; pub type RX_EXT_EN_INV_R = crate::BitReader; #[doc = "Field `RX_EXT_EN_INV` writer - Set this bit to invert the external enable signal."] pub type RX_EXT_EN_INV_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `RX_PULSE_SUBMODE_SEL` reader - Configures the rxd pulse sampling submode. 4'd0: positive pulse start(data bit included) && positive pulse end(data bit included) 4'd1: positive pulse start(data bit included) && positive pulse end (data bit excluded) 4'd2: positive pulse start(data bit excluded) && positive pulse end (data bit included) 4'd3: positive pulse start(data bit excluded) && positive pulse end (data bit excluded) 4'd4: positive pulse start(data bit included) && length end 4'd5: positive pulse start(data bit excluded) && length end"] +#[doc = "Field `RX_PULSE_SUBMODE_SEL` reader - Configures the rxd pulse sampling submode. 4'd0: positive pulse start(data bit included) && positive pulse end(data bit included) 4'd1: positive pulse start(data bit included) && positive pulse end (data bit excluded) 4'd2: positive pulse start(data bit excluded) && positive pulse end (data bit included) 4'd3: positive pulse start(data bit excluded) && positive pulse end (data bit excluded) 4'd4: positive pulse start(data bit included) && length end 4'd5: positive pulse start(data bit excluded) && length end"] pub type RX_PULSE_SUBMODE_SEL_R = crate::FieldReader; -#[doc = "Field `RX_PULSE_SUBMODE_SEL` writer - Configures the rxd pulse sampling submode. 4'd0: positive pulse start(data bit included) && positive pulse end(data bit included) 4'd1: positive pulse start(data bit included) && positive pulse end (data bit excluded) 4'd2: positive pulse start(data bit excluded) && positive pulse end (data bit included) 4'd3: positive pulse start(data bit excluded) && positive pulse end (data bit excluded) 4'd4: positive pulse start(data bit included) && length end 4'd5: positive pulse start(data bit excluded) && length end"] +#[doc = "Field `RX_PULSE_SUBMODE_SEL` writer - Configures the rxd pulse sampling submode. 4'd0: positive pulse start(data bit included) && positive pulse end(data bit included) 4'd1: positive pulse start(data bit included) && positive pulse end (data bit excluded) 4'd2: positive pulse start(data bit excluded) && positive pulse end (data bit included) 4'd3: positive pulse start(data bit excluded) && positive pulse end (data bit excluded) 4'd4: positive pulse start(data bit included) && length end 4'd5: positive pulse start(data bit excluded) && length end"] pub type RX_PULSE_SUBMODE_SEL_W<'a, REG> = crate::FieldWriter<'a, REG, 3>; #[doc = "Field `RX_SMP_MODE_SEL` reader - Configures the rxd sampling mode. 2'b00: external level enable mode 2'b01: external pulse enable mode 2'b10: internal software enable mode"] pub type RX_SMP_MODE_SEL_R = crate::FieldReader; @@ -38,7 +38,7 @@ impl R { pub fn rx_ext_en_inv(&self) -> RX_EXT_EN_INV_R { RX_EXT_EN_INV_R::new(((self.bits >> 26) & 1) != 0) } - #[doc = "Bits 27:29 - Configures the rxd pulse sampling submode. 4'd0: positive pulse start(data bit included) && positive pulse end(data bit included) 4'd1: positive pulse start(data bit included) && positive pulse end (data bit excluded) 4'd2: positive pulse start(data bit excluded) && positive pulse end (data bit included) 4'd3: positive pulse start(data bit excluded) && positive pulse end (data bit excluded) 4'd4: positive pulse start(data bit included) && length end 4'd5: positive pulse start(data bit excluded) && length end"] + #[doc = "Bits 27:29 - Configures the rxd pulse sampling submode. 4'd0: positive pulse start(data bit included) && positive pulse end(data bit included) 4'd1: positive pulse start(data bit included) && positive pulse end (data bit excluded) 4'd2: positive pulse start(data bit excluded) && positive pulse end (data bit included) 4'd3: positive pulse start(data bit excluded) && positive pulse end (data bit excluded) 4'd4: positive pulse start(data bit included) && length end 4'd5: positive pulse start(data bit excluded) && length end"] #[inline(always)] pub fn rx_pulse_submode_sel(&self) -> RX_PULSE_SUBMODE_SEL_R { RX_PULSE_SUBMODE_SEL_R::new(((self.bits >> 27) & 7) as u8) @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 21:24 - Configures rx external enable signal selection from IO PAD."] #[inline(always)] - #[must_use] pub fn rx_ext_en_sel(&mut self) -> RX_EXT_EN_SEL_W { RX_EXT_EN_SEL_W::new(self, 21) } #[doc = "Bit 25 - Set this bit to enable data sampling by software."] #[inline(always)] - #[must_use] pub fn rx_sw_en(&mut self) -> RX_SW_EN_W { RX_SW_EN_W::new(self, 25) } #[doc = "Bit 26 - Set this bit to invert the external enable signal."] #[inline(always)] - #[must_use] pub fn rx_ext_en_inv(&mut self) -> RX_EXT_EN_INV_W { RX_EXT_EN_INV_W::new(self, 26) } - #[doc = "Bits 27:29 - Configures the rxd pulse sampling submode. 4'd0: positive pulse start(data bit included) && positive pulse end(data bit included) 4'd1: positive pulse start(data bit included) && positive pulse end (data bit excluded) 4'd2: positive pulse start(data bit excluded) && positive pulse end (data bit included) 4'd3: positive pulse start(data bit excluded) && positive pulse end (data bit excluded) 4'd4: positive pulse start(data bit included) && length end 4'd5: positive pulse start(data bit excluded) && length end"] + #[doc = "Bits 27:29 - Configures the rxd pulse sampling submode. 4'd0: positive pulse start(data bit included) && positive pulse end(data bit included) 4'd1: positive pulse start(data bit included) && positive pulse end (data bit excluded) 4'd2: positive pulse start(data bit excluded) && positive pulse end (data bit included) 4'd3: positive pulse start(data bit excluded) && positive pulse end (data bit excluded) 4'd4: positive pulse start(data bit included) && length end 4'd5: positive pulse start(data bit excluded) && length end"] #[inline(always)] - #[must_use] pub fn rx_pulse_submode_sel(&mut self) -> RX_PULSE_SUBMODE_SEL_W { RX_PULSE_SUBMODE_SEL_W::new(self, 27) } #[doc = "Bits 30:31 - Configures the rxd sampling mode. 2'b00: external level enable mode 2'b01: external pulse enable mode 2'b10: internal software enable mode"] #[inline(always)] - #[must_use] pub fn rx_smp_mode_sel(&mut self) -> RX_SMP_MODE_SEL_W { RX_SMP_MODE_SEL_W::new(self, 30) } diff --git a/esp32p4/src/parl_io/rx_start_cfg.rs b/esp32p4/src/parl_io/rx_start_cfg.rs index 4017ebe15e..043d1876f0 100644 --- a/esp32p4/src/parl_io/rx_start_cfg.rs +++ b/esp32p4/src/parl_io/rx_start_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - Set this bit to start rx data sampling."] #[inline(always)] - #[must_use] pub fn rx_start(&mut self) -> RX_START_W { RX_START_W::new(self, 31) } diff --git a/esp32p4/src/parl_io/tx_clk_cfg.rs b/esp32p4/src/parl_io/tx_clk_cfg.rs index a25825a03b..ae5c1ad428 100644 --- a/esp32p4/src/parl_io/tx_clk_cfg.rs +++ b/esp32p4/src/parl_io/tx_clk_cfg.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - Set this bit to invert the input Tx core clock."] #[inline(always)] - #[must_use] pub fn tx_clk_i_inv(&mut self) -> TX_CLK_I_INV_W { TX_CLK_I_INV_W::new(self, 30) } #[doc = "Bit 31 - Set this bit to invert the output Tx core clock."] #[inline(always)] - #[must_use] pub fn tx_clk_o_inv(&mut self) -> TX_CLK_O_INV_W { TX_CLK_O_INV_W::new(self, 31) } diff --git a/esp32p4/src/parl_io/tx_data_cfg.rs b/esp32p4/src/parl_io/tx_data_cfg.rs index f60fc0d4ba..d0e7a24095 100644 --- a/esp32p4/src/parl_io/tx_data_cfg.rs +++ b/esp32p4/src/parl_io/tx_data_cfg.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 9:27 - Configures expected byte number of sent data."] #[inline(always)] - #[must_use] pub fn tx_bitlen(&mut self) -> TX_BITLEN_W { TX_BITLEN_W::new(self, 9) } #[doc = "Bit 28 - Set this bit to invert bit order of one byte sent from TX_FIFO to IO data."] #[inline(always)] - #[must_use] pub fn tx_data_order_inv(&mut self) -> TX_DATA_ORDER_INV_W { TX_DATA_ORDER_INV_W::new(self, 28) } #[doc = "Bits 29:31 - Configures the txd bus width. 3'd0: bus width is 1. 3'd1: bus width is 2. 3'd2: bus width is 4. 3'd3: bus width is 8."] #[inline(always)] - #[must_use] pub fn tx_bus_wid_sel(&mut self) -> TX_BUS_WID_SEL_W { TX_BUS_WID_SEL_W::new(self, 29) } diff --git a/esp32p4/src/parl_io/tx_genrl_cfg.rs b/esp32p4/src/parl_io/tx_genrl_cfg.rs index 13f2b40c0d..b0120df80f 100644 --- a/esp32p4/src/parl_io/tx_genrl_cfg.rs +++ b/esp32p4/src/parl_io/tx_genrl_cfg.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - Configures the tx eof generated mechanism. 1'b0: eof generated by data bit length. 1'b1: eof generated by DMA eof."] #[inline(always)] - #[must_use] pub fn tx_eof_gen_sel(&mut self) -> TX_EOF_GEN_SEL_W { TX_EOF_GEN_SEL_W::new(self, 13) } #[doc = "Bits 14:29 - Configures bus value of transmitter in IDLE state."] #[inline(always)] - #[must_use] pub fn tx_idle_value(&mut self) -> TX_IDLE_VALUE_W { TX_IDLE_VALUE_W::new(self, 14) } #[doc = "Bit 30 - Set this bit to enable the clock gating of output tx clock."] #[inline(always)] - #[must_use] pub fn tx_gating_en(&mut self) -> TX_GATING_EN_W { TX_GATING_EN_W::new(self, 30) } #[doc = "Bit 31 - Set this bit to enable the output of tx data valid signal."] #[inline(always)] - #[must_use] pub fn tx_valid_output_en(&mut self) -> TX_VALID_OUTPUT_EN_W { TX_VALID_OUTPUT_EN_W::new(self, 31) } diff --git a/esp32p4/src/parl_io/tx_start_cfg.rs b/esp32p4/src/parl_io/tx_start_cfg.rs index 542480274a..d9973b499f 100644 --- a/esp32p4/src/parl_io/tx_start_cfg.rs +++ b/esp32p4/src/parl_io/tx_start_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - Set this bit to start tx data transmit."] #[inline(always)] - #[must_use] pub fn tx_start(&mut self) -> TX_START_W { TX_START_W::new(self, 31) } diff --git a/esp32p4/src/parl_io/version.rs b/esp32p4/src/parl_io/version.rs index bf500a0c6b..6d4b44c9fa 100644 --- a/esp32p4/src/parl_io/version.rs +++ b/esp32p4/src/parl_io/version.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Version of this register file"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32p4/src/pau/date.rs b/esp32p4/src/pau/date.rs index ac21f8ebc5..b6d2fe089b 100644 --- a/esp32p4/src/pau/date.rs +++ b/esp32p4/src/pau/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - REGDMA date information/ REGDMA version information."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32p4/src/pau/int_clr.rs b/esp32p4/src/pau/int_clr.rs index 5e5abb30bf..d604697537 100644 --- a/esp32p4/src/pau/int_clr.rs +++ b/esp32p4/src/pau/int_clr.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - backup done flag"] #[inline(always)] - #[must_use] pub fn done(&mut self) -> DONE_W { DONE_W::new(self, 0) } #[doc = "Bit 1 - error flag"] #[inline(always)] - #[must_use] pub fn error(&mut self) -> ERROR_W { ERROR_W::new(self, 1) } diff --git a/esp32p4/src/pau/int_ena.rs b/esp32p4/src/pau/int_ena.rs index 62e3097ffa..aaa57635a1 100644 --- a/esp32p4/src/pau/int_ena.rs +++ b/esp32p4/src/pau/int_ena.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - backup done flag"] #[inline(always)] - #[must_use] pub fn done(&mut self) -> DONE_W { DONE_W::new(self, 0) } #[doc = "Bit 1 - error flag"] #[inline(always)] - #[must_use] pub fn error(&mut self) -> ERROR_W { ERROR_W::new(self, 1) } diff --git a/esp32p4/src/pau/int_raw.rs b/esp32p4/src/pau/int_raw.rs index fe97e5cb67..e67ce1e70d 100644 --- a/esp32p4/src/pau/int_raw.rs +++ b/esp32p4/src/pau/int_raw.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - backup done flag"] #[inline(always)] - #[must_use] pub fn done(&mut self) -> DONE_W { DONE_W::new(self, 0) } #[doc = "Bit 1 - error flag"] #[inline(always)] - #[must_use] pub fn error(&mut self) -> ERROR_W { ERROR_W::new(self, 1) } diff --git a/esp32p4/src/pau/regdma_bkp_conf.rs b/esp32p4/src/pau/regdma_bkp_conf.rs index 43b0a37181..07a80d5c7f 100644 --- a/esp32p4/src/pau/regdma_bkp_conf.rs +++ b/esp32p4/src/pau/regdma_bkp_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Link read_interval"] #[inline(always)] - #[must_use] pub fn read_interval(&mut self) -> READ_INTERVAL_W { READ_INTERVAL_W::new(self, 0) } #[doc = "Bits 7:16 - link wait timeout threshold"] #[inline(always)] - #[must_use] pub fn link_tout_thres(&mut self) -> LINK_TOUT_THRES_W { LINK_TOUT_THRES_W::new(self, 7) } #[doc = "Bits 17:21 - burst limit"] #[inline(always)] - #[must_use] pub fn burst_limit(&mut self) -> BURST_LIMIT_W { BURST_LIMIT_W::new(self, 17) } #[doc = "Bits 22:31 - Backup timeout threshold"] #[inline(always)] - #[must_use] pub fn backup_tout_thres(&mut self) -> BACKUP_TOUT_THRES_W { BACKUP_TOUT_THRES_W::new(self, 22) } diff --git a/esp32p4/src/pau/regdma_clk_conf.rs b/esp32p4/src/pau/regdma_clk_conf.rs index 4d54af1ba3..737d1dbeed 100644 --- a/esp32p4/src/pau/regdma_clk_conf.rs +++ b/esp32p4/src/pau/regdma_clk_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - clock enable"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32p4/src/pau/regdma_conf.rs b/esp32p4/src/pau/regdma_conf.rs index aa85c3171d..8a993beb06 100644 --- a/esp32p4/src/pau/regdma_conf.rs +++ b/esp32p4/src/pau/regdma_conf.rs @@ -66,37 +66,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - backup start signal"] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 3) } #[doc = "Bit 4 - backup direction(reg to mem / mem to reg)"] #[inline(always)] - #[must_use] pub fn to_mem(&mut self) -> TO_MEM_W { TO_MEM_W::new(self, 4) } #[doc = "Bits 5:6 - Link select"] #[inline(always)] - #[must_use] pub fn link_sel(&mut self) -> LINK_SEL_W { LINK_SEL_W::new(self, 5) } #[doc = "Bit 7 - mac sw backup start signal"] #[inline(always)] - #[must_use] pub fn start_mac(&mut self) -> START_MAC_W { START_MAC_W::new(self, 7) } #[doc = "Bit 8 - mac sw backup direction(reg to mem / mem to reg)"] #[inline(always)] - #[must_use] pub fn to_mem_mac(&mut self) -> TO_MEM_MAC_W { TO_MEM_MAC_W::new(self, 8) } #[doc = "Bit 9 - mac hw/sw select"] #[inline(always)] - #[must_use] pub fn sel_mac(&mut self) -> SEL_MAC_W { SEL_MAC_W::new(self, 9) } diff --git a/esp32p4/src/pau/regdma_etm_ctrl.rs b/esp32p4/src/pau/regdma_etm_ctrl.rs index 92ee03c88d..3b7713e2a0 100644 --- a/esp32p4/src/pau/regdma_etm_ctrl.rs +++ b/esp32p4/src/pau/regdma_etm_ctrl.rs @@ -17,25 +17,21 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - etm_start_0 reg"] #[inline(always)] - #[must_use] pub fn etm_start_0(&mut self) -> ETM_START_0_W { ETM_START_0_W::new(self, 0) } #[doc = "Bit 1 - etm_start_1 reg"] #[inline(always)] - #[must_use] pub fn etm_start_1(&mut self) -> ETM_START_1_W { ETM_START_1_W::new(self, 1) } #[doc = "Bit 2 - etm_start_2 reg"] #[inline(always)] - #[must_use] pub fn etm_start_2(&mut self) -> ETM_START_2_W { ETM_START_2_W::new(self, 2) } #[doc = "Bit 3 - etm_start_3 reg"] #[inline(always)] - #[must_use] pub fn etm_start_3(&mut self) -> ETM_START_3_W { ETM_START_3_W::new(self, 3) } diff --git a/esp32p4/src/pau/regdma_link_0_addr.rs b/esp32p4/src/pau/regdma_link_0_addr.rs index ddac79e07d..012008b984 100644 --- a/esp32p4/src/pau/regdma_link_0_addr.rs +++ b/esp32p4/src/pau/regdma_link_0_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - link_0_addr reg"] #[inline(always)] - #[must_use] pub fn link_addr_0(&mut self) -> LINK_ADDR_0_W { LINK_ADDR_0_W::new(self, 0) } diff --git a/esp32p4/src/pau/regdma_link_1_addr.rs b/esp32p4/src/pau/regdma_link_1_addr.rs index 7e288f8812..42f205b789 100644 --- a/esp32p4/src/pau/regdma_link_1_addr.rs +++ b/esp32p4/src/pau/regdma_link_1_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Link_1_addr reg"] #[inline(always)] - #[must_use] pub fn link_addr_1(&mut self) -> LINK_ADDR_1_W { LINK_ADDR_1_W::new(self, 0) } diff --git a/esp32p4/src/pau/regdma_link_2_addr.rs b/esp32p4/src/pau/regdma_link_2_addr.rs index 65bf9bc97e..b1b51dfb0c 100644 --- a/esp32p4/src/pau/regdma_link_2_addr.rs +++ b/esp32p4/src/pau/regdma_link_2_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Link_2_addr reg"] #[inline(always)] - #[must_use] pub fn link_addr_2(&mut self) -> LINK_ADDR_2_W { LINK_ADDR_2_W::new(self, 0) } diff --git a/esp32p4/src/pau/regdma_link_3_addr.rs b/esp32p4/src/pau/regdma_link_3_addr.rs index 11fb8ec16a..c953bbea81 100644 --- a/esp32p4/src/pau/regdma_link_3_addr.rs +++ b/esp32p4/src/pau/regdma_link_3_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Link_3_addr reg"] #[inline(always)] - #[must_use] pub fn link_addr_3(&mut self) -> LINK_ADDR_3_W { LINK_ADDR_3_W::new(self, 0) } diff --git a/esp32p4/src/pau/regdma_link_mac_addr.rs b/esp32p4/src/pau/regdma_link_mac_addr.rs index 82b2beb321..01af3a97fc 100644 --- a/esp32p4/src/pau/regdma_link_mac_addr.rs +++ b/esp32p4/src/pau/regdma_link_mac_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Link_mac_addr reg"] #[inline(always)] - #[must_use] pub fn link_addr_mac(&mut self) -> LINK_ADDR_MAC_W { LINK_ADDR_MAC_W::new(self, 0) } diff --git a/esp32p4/src/pcnt/ctrl.rs b/esp32p4/src/pcnt/ctrl.rs index 7b3e489797..8cc7f9a23c 100644 --- a/esp32p4/src/pcnt/ctrl.rs +++ b/esp32p4/src/pcnt/ctrl.rs @@ -155,7 +155,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CNT_RST_U0` field.
"] #[inline(always)] - #[must_use] pub fn cnt_rst_u(&mut self, n: u8) -> CNT_RST_U_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -163,25 +162,21 @@ impl W { } #[doc = "Bit 0 - Set this bit to clear unit 0's counter."] #[inline(always)] - #[must_use] pub fn cnt_rst_u0(&mut self) -> CNT_RST_U_W { CNT_RST_U_W::new(self, 0) } #[doc = "Bit 2 - Set this bit to clear unit 1's counter."] #[inline(always)] - #[must_use] pub fn cnt_rst_u1(&mut self) -> CNT_RST_U_W { CNT_RST_U_W::new(self, 2) } #[doc = "Bit 4 - Set this bit to clear unit 2's counter."] #[inline(always)] - #[must_use] pub fn cnt_rst_u2(&mut self) -> CNT_RST_U_W { CNT_RST_U_W::new(self, 4) } #[doc = "Bit 6 - Set this bit to clear unit 3's counter."] #[inline(always)] - #[must_use] pub fn cnt_rst_u3(&mut self) -> CNT_RST_U_W { CNT_RST_U_W::new(self, 6) } @@ -189,7 +184,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CNT_PAUSE_U0` field.
"] #[inline(always)] - #[must_use] pub fn cnt_pause_u(&mut self, n: u8) -> CNT_PAUSE_U_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -197,25 +191,21 @@ impl W { } #[doc = "Bit 1 - Set this bit to freeze unit 0's counter."] #[inline(always)] - #[must_use] pub fn cnt_pause_u0(&mut self) -> CNT_PAUSE_U_W { CNT_PAUSE_U_W::new(self, 1) } #[doc = "Bit 3 - Set this bit to freeze unit 1's counter."] #[inline(always)] - #[must_use] pub fn cnt_pause_u1(&mut self) -> CNT_PAUSE_U_W { CNT_PAUSE_U_W::new(self, 3) } #[doc = "Bit 5 - Set this bit to freeze unit 2's counter."] #[inline(always)] - #[must_use] pub fn cnt_pause_u2(&mut self) -> CNT_PAUSE_U_W { CNT_PAUSE_U_W::new(self, 5) } #[doc = "Bit 7 - Set this bit to freeze unit 3's counter."] #[inline(always)] - #[must_use] pub fn cnt_pause_u3(&mut self) -> CNT_PAUSE_U_W { CNT_PAUSE_U_W::new(self, 7) } @@ -223,7 +213,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `DALTA_CHANGE_EN_U0` field.
"] #[inline(always)] - #[must_use] pub fn dalta_change_en_u(&mut self, n: u8) -> DALTA_CHANGE_EN_U_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -231,31 +220,26 @@ impl W { } #[doc = "Bit 8 - Configures this bit to enable unit 0's step comparator."] #[inline(always)] - #[must_use] pub fn dalta_change_en_u0(&mut self) -> DALTA_CHANGE_EN_U_W { DALTA_CHANGE_EN_U_W::new(self, 8) } #[doc = "Bit 9 - Configures this bit to enable unit 1's step comparator."] #[inline(always)] - #[must_use] pub fn dalta_change_en_u1(&mut self) -> DALTA_CHANGE_EN_U_W { DALTA_CHANGE_EN_U_W::new(self, 9) } #[doc = "Bit 10 - Configures this bit to enable unit 2's step comparator."] #[inline(always)] - #[must_use] pub fn dalta_change_en_u2(&mut self) -> DALTA_CHANGE_EN_U_W { DALTA_CHANGE_EN_U_W::new(self, 10) } #[doc = "Bit 11 - Configures this bit to enable unit 3's step comparator."] #[inline(always)] - #[must_use] pub fn dalta_change_en_u3(&mut self) -> DALTA_CHANGE_EN_U_W { DALTA_CHANGE_EN_U_W::new(self, 11) } #[doc = "Bit 16 - The registers clock gate enable signal of PCNT module. 1: the registers can be read and written by application. 0: the registers can not be read or written by application"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 16) } diff --git a/esp32p4/src/pcnt/date.rs b/esp32p4/src/pcnt/date.rs index 426fce58a1..8ae3fc229a 100644 --- a/esp32p4/src/pcnt/date.rs +++ b/esp32p4/src/pcnt/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This is the PCNT version control register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32p4/src/pcnt/int_clr.rs b/esp32p4/src/pcnt/int_clr.rs index 60d2b9e5fc..8122a1e7bd 100644 --- a/esp32p4/src/pcnt/int_clr.rs +++ b/esp32p4/src/pcnt/int_clr.rs @@ -13,7 +13,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CNT_THR_EVENT_U0` field.
"] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u(&mut self, n: u8) -> CNT_THR_EVENT_U_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -21,25 +20,21 @@ impl W { } #[doc = "Bit 0 - Set this bit to clear the PCNT_CNT_THR_EVENT_U0_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u0(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the PCNT_CNT_THR_EVENT_U1_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u1(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the PCNT_CNT_THR_EVENT_U2_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u2(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the PCNT_CNT_THR_EVENT_U3_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u3(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 3) } diff --git a/esp32p4/src/pcnt/int_ena.rs b/esp32p4/src/pcnt/int_ena.rs index 97405ab4c3..c96e98eacf 100644 --- a/esp32p4/src/pcnt/int_ena.rs +++ b/esp32p4/src/pcnt/int_ena.rs @@ -59,7 +59,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CNT_THR_EVENT_U0` field.
"] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u(&mut self, n: u8) -> CNT_THR_EVENT_U_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -67,25 +66,21 @@ impl W { } #[doc = "Bit 0 - The interrupt enable bit for the PCNT_CNT_THR_EVENT_U0_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u0(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the PCNT_CNT_THR_EVENT_U1_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u1(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the PCNT_CNT_THR_EVENT_U2_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u2(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the PCNT_CNT_THR_EVENT_U3_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u3(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 3) } diff --git a/esp32p4/src/pcnt/int_raw.rs b/esp32p4/src/pcnt/int_raw.rs index 798bb7d1a4..458089f681 100644 --- a/esp32p4/src/pcnt/int_raw.rs +++ b/esp32p4/src/pcnt/int_raw.rs @@ -59,7 +59,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CNT_THR_EVENT_U0` field.
"] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u(&mut self, n: u8) -> CNT_THR_EVENT_U_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -67,25 +66,21 @@ impl W { } #[doc = "Bit 0 - The raw interrupt status bit for the PCNT_CNT_THR_EVENT_U0_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u0(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 0) } #[doc = "Bit 1 - The raw interrupt status bit for the PCNT_CNT_THR_EVENT_U1_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u1(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 1) } #[doc = "Bit 2 - The raw interrupt status bit for the PCNT_CNT_THR_EVENT_U2_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u2(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 2) } #[doc = "Bit 3 - The raw interrupt status bit for the PCNT_CNT_THR_EVENT_U3_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u3(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 3) } diff --git a/esp32p4/src/pcnt/u0_change_conf.rs b/esp32p4/src/pcnt/u0_change_conf.rs index 9933579e7b..64e7482576 100644 --- a/esp32p4/src/pcnt/u0_change_conf.rs +++ b/esp32p4/src/pcnt/u0_change_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Configures the step value for unit 0."] #[inline(always)] - #[must_use] pub fn cnt_step_u0(&mut self) -> CNT_STEP_U0_W { CNT_STEP_U0_W::new(self, 0) } #[doc = "Bits 16:31 - Configures the step limit value for unit 0."] #[inline(always)] - #[must_use] pub fn cnt_step_lim_u0(&mut self) -> CNT_STEP_LIM_U0_W { CNT_STEP_LIM_U0_W::new(self, 16) } diff --git a/esp32p4/src/pcnt/u1_change_conf.rs b/esp32p4/src/pcnt/u1_change_conf.rs index 1566e654c4..d96fcdce66 100644 --- a/esp32p4/src/pcnt/u1_change_conf.rs +++ b/esp32p4/src/pcnt/u1_change_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Configures the step value for unit 1."] #[inline(always)] - #[must_use] pub fn cnt_step_u1(&mut self) -> CNT_STEP_U1_W { CNT_STEP_U1_W::new(self, 0) } #[doc = "Bits 16:31 - Configures the step limit value for unit 1."] #[inline(always)] - #[must_use] pub fn cnt_step_lim_u1(&mut self) -> CNT_STEP_LIM_U1_W { CNT_STEP_LIM_U1_W::new(self, 16) } diff --git a/esp32p4/src/pcnt/u2_change_conf.rs b/esp32p4/src/pcnt/u2_change_conf.rs index 009a463d77..dd9953cc2e 100644 --- a/esp32p4/src/pcnt/u2_change_conf.rs +++ b/esp32p4/src/pcnt/u2_change_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Configures the step value for unit 2."] #[inline(always)] - #[must_use] pub fn cnt_step_u2(&mut self) -> CNT_STEP_U2_W { CNT_STEP_U2_W::new(self, 0) } #[doc = "Bits 16:31 - Configures the step limit value for unit 2."] #[inline(always)] - #[must_use] pub fn cnt_step_lim_u2(&mut self) -> CNT_STEP_LIM_U2_W { CNT_STEP_LIM_U2_W::new(self, 16) } diff --git a/esp32p4/src/pcnt/u3_change_conf.rs b/esp32p4/src/pcnt/u3_change_conf.rs index 494a5c1989..a1f3f30b71 100644 --- a/esp32p4/src/pcnt/u3_change_conf.rs +++ b/esp32p4/src/pcnt/u3_change_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Configures the step value for unit 3."] #[inline(always)] - #[must_use] pub fn cnt_step_u3(&mut self) -> CNT_STEP_U3_W { CNT_STEP_U3_W::new(self, 0) } #[doc = "Bits 16:31 - Configures the step limit value for unit 3."] #[inline(always)] - #[must_use] pub fn cnt_step_lim_u3(&mut self) -> CNT_STEP_LIM_U3_W { CNT_STEP_LIM_U3_W::new(self, 16) } diff --git a/esp32p4/src/pcnt/unit/conf0.rs b/esp32p4/src/pcnt/unit/conf0.rs index ebbcd0c287..4183b942a8 100644 --- a/esp32p4/src/pcnt/unit/conf0.rs +++ b/esp32p4/src/pcnt/unit/conf0.rs @@ -346,43 +346,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - This sets the maximum threshold, in APB_CLK cycles, for the filter. Any pulses with width less than this will be ignored when the filter is enabled."] #[inline(always)] - #[must_use] pub fn filter_thres(&mut self) -> FILTER_THRES_W { FILTER_THRES_W::new(self, 0) } #[doc = "Bit 10 - This is the enable bit for unit %s's input filter."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 10) } #[doc = "Bit 11 - This is the enable bit for unit %s's zero comparator."] #[inline(always)] - #[must_use] pub fn thr_zero_en(&mut self) -> THR_ZERO_EN_W { THR_ZERO_EN_W::new(self, 11) } #[doc = "Bit 12 - This is the enable bit for unit %s's thr_h_lim comparator. Configures it to enable the high limit interrupt."] #[inline(always)] - #[must_use] pub fn thr_h_lim_en(&mut self) -> THR_H_LIM_EN_W { THR_H_LIM_EN_W::new(self, 12) } #[doc = "Bit 13 - This is the enable bit for unit %s's thr_l_lim comparator. Configures it to enable the low limit interrupt."] #[inline(always)] - #[must_use] pub fn thr_l_lim_en(&mut self) -> THR_L_LIM_EN_W { THR_L_LIM_EN_W::new(self, 13) } #[doc = "Bit 14 - This is the enable bit for unit %s's thres0 comparator."] #[inline(always)] - #[must_use] pub fn thr_thres0_en(&mut self) -> THR_THRES0_EN_W { THR_THRES0_EN_W::new(self, 14) } #[doc = "Bit 15 - This is the enable bit for unit %s's thres1 comparator."] #[inline(always)] - #[must_use] pub fn thr_thres1_en(&mut self) -> THR_THRES1_EN_W { THR_THRES1_EN_W::new(self, 15) } @@ -390,7 +383,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_NEG_MODE` field.
"] #[inline(always)] - #[must_use] pub fn ch_neg_mode(&mut self, n: u8) -> CH_NEG_MODE_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -398,13 +390,11 @@ impl W { } #[doc = "Bits 16:17 - Configures the behavior when the signal input of channel 0 detects a negative edge."] #[inline(always)] - #[must_use] pub fn ch0_neg_mode(&mut self) -> CH_NEG_MODE_W { CH_NEG_MODE_W::new(self, 16) } #[doc = "Bits 24:25 - Configures the behavior when the signal input of channel 1 detects a negative edge."] #[inline(always)] - #[must_use] pub fn ch1_neg_mode(&mut self) -> CH_NEG_MODE_W { CH_NEG_MODE_W::new(self, 24) } @@ -412,7 +402,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_POS_MODE` field.
"] #[inline(always)] - #[must_use] pub fn ch_pos_mode(&mut self, n: u8) -> CH_POS_MODE_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -420,13 +409,11 @@ impl W { } #[doc = "Bits 18:19 - Configures the behavior when the signal input of channel 0 detects a positive edge."] #[inline(always)] - #[must_use] pub fn ch0_pos_mode(&mut self) -> CH_POS_MODE_W { CH_POS_MODE_W::new(self, 18) } #[doc = "Bits 26:27 - Configures the behavior when the signal input of channel 1 detects a positive edge."] #[inline(always)] - #[must_use] pub fn ch1_pos_mode(&mut self) -> CH_POS_MODE_W { CH_POS_MODE_W::new(self, 26) } @@ -434,7 +421,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_HCTRL_MODE` field.
"] #[inline(always)] - #[must_use] pub fn ch_hctrl_mode(&mut self, n: u8) -> CH_HCTRL_MODE_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -442,13 +428,11 @@ impl W { } #[doc = "Bits 20:21 - Configures how the CHn_POS_MODE/CHn_NEG_MODE settings will be modified when the control signal is high."] #[inline(always)] - #[must_use] pub fn ch0_hctrl_mode(&mut self) -> CH_HCTRL_MODE_W { CH_HCTRL_MODE_W::new(self, 20) } #[doc = "Bits 28:29 - Configures how the CHn_POS_MODE/CHn_NEG_MODE settings will be modified when the control signal is high."] #[inline(always)] - #[must_use] pub fn ch1_hctrl_mode(&mut self) -> CH_HCTRL_MODE_W { CH_HCTRL_MODE_W::new(self, 28) } @@ -456,7 +440,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_LCTRL_MODE` field.
"] #[inline(always)] - #[must_use] pub fn ch_lctrl_mode(&mut self, n: u8) -> CH_LCTRL_MODE_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -464,13 +447,11 @@ impl W { } #[doc = "Bits 22:23 - Configures how the CHn_POS_MODE/CHn_NEG_MODE settings will be modified when the control signal is low."] #[inline(always)] - #[must_use] pub fn ch0_lctrl_mode(&mut self) -> CH_LCTRL_MODE_W { CH_LCTRL_MODE_W::new(self, 22) } #[doc = "Bits 30:31 - Configures how the CHn_POS_MODE/CHn_NEG_MODE settings will be modified when the control signal is low."] #[inline(always)] - #[must_use] pub fn ch1_lctrl_mode(&mut self) -> CH_LCTRL_MODE_W { CH_LCTRL_MODE_W::new(self, 30) } diff --git a/esp32p4/src/pcnt/unit/conf1.rs b/esp32p4/src/pcnt/unit/conf1.rs index 1585465b67..e88cae6aae 100644 --- a/esp32p4/src/pcnt/unit/conf1.rs +++ b/esp32p4/src/pcnt/unit/conf1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the thres0 value for unit %s."] #[inline(always)] - #[must_use] pub fn cnt_thres0(&mut self) -> CNT_THRES0_W { CNT_THRES0_W::new(self, 0) } #[doc = "Bits 16:31 - This register is used to configure the thres1 value for unit %s."] #[inline(always)] - #[must_use] pub fn cnt_thres1(&mut self) -> CNT_THRES1_W { CNT_THRES1_W::new(self, 16) } diff --git a/esp32p4/src/pcnt/unit/conf2.rs b/esp32p4/src/pcnt/unit/conf2.rs index 00d5d66cd4..634289129c 100644 --- a/esp32p4/src/pcnt/unit/conf2.rs +++ b/esp32p4/src/pcnt/unit/conf2.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the thr_h_lim value for unit %s. When pcnt reaches this value, the counter will be cleared to 0."] #[inline(always)] - #[must_use] pub fn cnt_h_lim(&mut self) -> CNT_H_LIM_W { CNT_H_LIM_W::new(self, 0) } #[doc = "Bits 16:31 - This register is used to configure the thr_l_lim value for unit %s. When pcnt reaches this value, the counter will be cleared to 0."] #[inline(always)] - #[must_use] pub fn cnt_l_lim(&mut self) -> CNT_L_LIM_W { CNT_L_LIM_W::new(self, 16) } diff --git a/esp32p4/src/pmu/backup_cfg.rs b/esp32p4/src/pmu/backup_cfg.rs index e57bcdbdb0..6814f032ca 100644 --- a/esp32p4/src/pmu/backup_cfg.rs +++ b/esp32p4/src/pmu/backup_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn backup_sys_clk_no_div(&mut self) -> BACKUP_SYS_CLK_NO_DIV_W { BACKUP_SYS_CLK_NO_DIV_W::new(self, 31) } diff --git a/esp32p4/src/pmu/cpu_sw_stall.rs b/esp32p4/src/pmu/cpu_sw_stall.rs index 0c56388771..4f4c212d44 100644 --- a/esp32p4/src/pmu/cpu_sw_stall.rs +++ b/esp32p4/src/pmu/cpu_sw_stall.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:23 - need_des"] #[inline(always)] - #[must_use] pub fn hpcore1_sw_stall_code(&mut self) -> HPCORE1_SW_STALL_CODE_W { HPCORE1_SW_STALL_CODE_W::new(self, 16) } #[doc = "Bits 24:31 - need_des"] #[inline(always)] - #[must_use] pub fn hpcore0_sw_stall_code(&mut self) -> HPCORE0_SW_STALL_CODE_W { HPCORE0_SW_STALL_CODE_W::new(self, 24) } diff --git a/esp32p4/src/pmu/date.rs b/esp32p4/src/pmu/date.rs index 7fd19cd29e..1e2302458b 100644 --- a/esp32p4/src/pmu/date.rs +++ b/esp32p4/src/pmu/date.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - need_des"] #[inline(always)] - #[must_use] pub fn pmu_date(&mut self) -> PMU_DATE_W { PMU_DATE_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32p4/src/pmu/dcm_ctrl.rs b/esp32p4/src/pmu/dcm_ctrl.rs index 38fe4bb381..a3441feb51 100644 --- a/esp32p4/src/pmu/dcm_ctrl.rs +++ b/esp32p4/src/pmu/dcm_ctrl.rs @@ -130,85 +130,71 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - SW trigger dcdc on"] #[inline(always)] - #[must_use] pub fn dcdc_on_req(&mut self) -> DCDC_ON_REQ_W { DCDC_ON_REQ_W::new(self, 0) } #[doc = "Bit 1 - SW trigger dcdc off"] #[inline(always)] - #[must_use] pub fn dcdc_off_req(&mut self) -> DCDC_OFF_REQ_W { DCDC_OFF_REQ_W::new(self, 1) } #[doc = "Bit 2 - SW trigger dcdc enter lightsleep"] #[inline(always)] - #[must_use] pub fn dcdc_lightslp_req(&mut self) -> DCDC_LIGHTSLP_REQ_W { DCDC_LIGHTSLP_REQ_W::new(self, 2) } #[doc = "Bit 3 - SW trigger dcdc enter deepsleep"] #[inline(always)] - #[must_use] pub fn dcdc_deepslp_req(&mut self) -> DCDC_DEEPSLP_REQ_W { DCDC_DEEPSLP_REQ_W::new(self, 3) } #[doc = "Bit 7 - need_des"] #[inline(always)] - #[must_use] pub fn dcdc_done_force(&mut self) -> DCDC_DONE_FORCE_W { DCDC_DONE_FORCE_W::new(self, 7) } #[doc = "Bit 8 - need_des"] #[inline(always)] - #[must_use] pub fn dcdc_on_force_pu(&mut self) -> DCDC_ON_FORCE_PU_W { DCDC_ON_FORCE_PU_W::new(self, 8) } #[doc = "Bit 9 - need_des"] #[inline(always)] - #[must_use] pub fn dcdc_on_force_pd(&mut self) -> DCDC_ON_FORCE_PD_W { DCDC_ON_FORCE_PD_W::new(self, 9) } #[doc = "Bit 10 - need_des"] #[inline(always)] - #[must_use] pub fn dcdc_fb_res_force_pu(&mut self) -> DCDC_FB_RES_FORCE_PU_W { DCDC_FB_RES_FORCE_PU_W::new(self, 10) } #[doc = "Bit 11 - need_des"] #[inline(always)] - #[must_use] pub fn dcdc_fb_res_force_pd(&mut self) -> DCDC_FB_RES_FORCE_PD_W { DCDC_FB_RES_FORCE_PD_W::new(self, 11) } #[doc = "Bit 12 - need_des"] #[inline(always)] - #[must_use] pub fn dcdc_ls_force_pu(&mut self) -> DCDC_LS_FORCE_PU_W { DCDC_LS_FORCE_PU_W::new(self, 12) } #[doc = "Bit 13 - need_des"] #[inline(always)] - #[must_use] pub fn dcdc_ls_force_pd(&mut self) -> DCDC_LS_FORCE_PD_W { DCDC_LS_FORCE_PD_W::new(self, 13) } #[doc = "Bit 14 - need_des"] #[inline(always)] - #[must_use] pub fn dcdc_ds_force_pu(&mut self) -> DCDC_DS_FORCE_PU_W { DCDC_DS_FORCE_PU_W::new(self, 14) } #[doc = "Bit 15 - need_des"] #[inline(always)] - #[must_use] pub fn dcdc_ds_force_pd(&mut self) -> DCDC_DS_FORCE_PD_W { DCDC_DS_FORCE_PD_W::new(self, 15) } #[doc = "Bit 29 - Enable analog mux to pull PAD TEST_DCDC voltage signal"] #[inline(always)] - #[must_use] pub fn dcdc_en_amux_test(&mut self) -> DCDC_EN_AMUX_TEST_W { DCDC_EN_AMUX_TEST_W::new(self, 29) } diff --git a/esp32p4/src/pmu/dcm_wait_delay.rs b/esp32p4/src/pmu/dcm_wait_delay.rs index ef9c7105c3..25ae4d619a 100644 --- a/esp32p4/src/pmu/dcm_wait_delay.rs +++ b/esp32p4/src/pmu/dcm_wait_delay.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - DCDC pre-on/post off delay"] #[inline(always)] - #[must_use] pub fn dcdc_pre_delay(&mut self) -> DCDC_PRE_DELAY_W { DCDC_PRE_DELAY_W::new(self, 0) } #[doc = "Bits 8:15 - DCDC fb res off delay"] #[inline(always)] - #[must_use] pub fn dcdc_res_off_delay(&mut self) -> DCDC_RES_OFF_DELAY_W { DCDC_RES_OFF_DELAY_W::new(self, 8) } #[doc = "Bits 16:25 - DCDC stable delay"] #[inline(always)] - #[must_use] pub fn dcdc_stable_delay(&mut self) -> DCDC_STABLE_DELAY_W { DCDC_STABLE_DELAY_W::new(self, 16) } diff --git a/esp32p4/src/pmu/ext_ldo_p0_0p1a.rs b/esp32p4/src/pmu/ext_ldo_p0_0p1a.rs index 74a8651748..dc2026bc77 100644 --- a/esp32p4/src/pmu/ext_ldo_p0_0p1a.rs +++ b/esp32p4/src/pmu/ext_ldo_p0_0p1a.rs @@ -107,55 +107,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 7 - need_des"] #[inline(always)] - #[must_use] pub fn _0p1a_force_tieh_sel_0(&mut self) -> _0P1A_FORCE_TIEH_SEL_0_W { _0P1A_FORCE_TIEH_SEL_0_W::new(self, 7) } #[doc = "Bit 8 - need_des"] #[inline(always)] - #[must_use] pub fn _0p1a_xpd_0(&mut self) -> _0P1A_XPD_0_W { _0P1A_XPD_0_W::new(self, 8) } #[doc = "Bits 9:11 - need_des"] #[inline(always)] - #[must_use] pub fn _0p1a_tieh_sel_0(&mut self) -> _0P1A_TIEH_SEL_0_W { _0P1A_TIEH_SEL_0_W::new(self, 9) } #[doc = "Bit 12 - need_des"] #[inline(always)] - #[must_use] pub fn _0p1a_tieh_pos_en_0(&mut self) -> _0P1A_TIEH_POS_EN_0_W { _0P1A_TIEH_POS_EN_0_W::new(self, 12) } #[doc = "Bit 13 - need_des"] #[inline(always)] - #[must_use] pub fn _0p1a_tieh_neg_en_0(&mut self) -> _0P1A_TIEH_NEG_EN_0_W { _0P1A_TIEH_NEG_EN_0_W::new(self, 13) } #[doc = "Bit 14 - need_des"] #[inline(always)] - #[must_use] pub fn _0p1a_tieh_0(&mut self) -> _0P1A_TIEH_0_W { _0P1A_TIEH_0_W::new(self, 14) } #[doc = "Bits 15:22 - need_des"] #[inline(always)] - #[must_use] pub fn _0p1a_target1_0(&mut self) -> _0P1A_TARGET1_0_W { _0P1A_TARGET1_0_W::new(self, 15) } #[doc = "Bits 23:30 - need_des"] #[inline(always)] - #[must_use] pub fn _0p1a_target0_0(&mut self) -> _0P1A_TARGET0_0_W { _0P1A_TARGET0_0_W::new(self, 23) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn _0p1a_ldo_cnt_prescaler_sel_0( &mut self, ) -> _0P1A_LDO_CNT_PRESCALER_SEL_0_W { diff --git a/esp32p4/src/pmu/ext_ldo_p0_0p1a_ana.rs b/esp32p4/src/pmu/ext_ldo_p0_0p1a_ana.rs index 2454eb16b4..4e652327e0 100644 --- a/esp32p4/src/pmu/ext_ldo_p0_0p1a_ana.rs +++ b/esp32p4/src/pmu/ext_ldo_p0_0p1a_ana.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 23:25 - need_des"] #[inline(always)] - #[must_use] pub fn ana_0p1a_mul_0(&mut self) -> ANA_0P1A_MUL_0_W { ANA_0P1A_MUL_0_W::new(self, 23) } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn ana_0p1a_en_vdet_0(&mut self) -> ANA_0P1A_EN_VDET_0_W { ANA_0P1A_EN_VDET_0_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn ana_0p1a_en_cur_lim_0(&mut self) -> ANA_0P1A_EN_CUR_LIM_0_W { ANA_0P1A_EN_CUR_LIM_0_W::new(self, 27) } #[doc = "Bits 28:31 - need_des"] #[inline(always)] - #[must_use] pub fn ana_0p1a_dref_0(&mut self) -> ANA_0P1A_DREF_0_W { ANA_0P1A_DREF_0_W::new(self, 28) } diff --git a/esp32p4/src/pmu/ext_ldo_p0_0p2a.rs b/esp32p4/src/pmu/ext_ldo_p0_0p2a.rs index dc48670fce..4f3cce1024 100644 --- a/esp32p4/src/pmu/ext_ldo_p0_0p2a.rs +++ b/esp32p4/src/pmu/ext_ldo_p0_0p2a.rs @@ -107,55 +107,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 7 - need_des"] #[inline(always)] - #[must_use] pub fn _0p2a_force_tieh_sel_0(&mut self) -> _0P2A_FORCE_TIEH_SEL_0_W { _0P2A_FORCE_TIEH_SEL_0_W::new(self, 7) } #[doc = "Bit 8 - need_des"] #[inline(always)] - #[must_use] pub fn _0p2a_xpd_0(&mut self) -> _0P2A_XPD_0_W { _0P2A_XPD_0_W::new(self, 8) } #[doc = "Bits 9:11 - need_des"] #[inline(always)] - #[must_use] pub fn _0p2a_tieh_sel_0(&mut self) -> _0P2A_TIEH_SEL_0_W { _0P2A_TIEH_SEL_0_W::new(self, 9) } #[doc = "Bit 12 - need_des"] #[inline(always)] - #[must_use] pub fn _0p2a_tieh_pos_en_0(&mut self) -> _0P2A_TIEH_POS_EN_0_W { _0P2A_TIEH_POS_EN_0_W::new(self, 12) } #[doc = "Bit 13 - need_des"] #[inline(always)] - #[must_use] pub fn _0p2a_tieh_neg_en_0(&mut self) -> _0P2A_TIEH_NEG_EN_0_W { _0P2A_TIEH_NEG_EN_0_W::new(self, 13) } #[doc = "Bit 14 - need_des"] #[inline(always)] - #[must_use] pub fn _0p2a_tieh_0(&mut self) -> _0P2A_TIEH_0_W { _0P2A_TIEH_0_W::new(self, 14) } #[doc = "Bits 15:22 - need_des"] #[inline(always)] - #[must_use] pub fn _0p2a_target1_0(&mut self) -> _0P2A_TARGET1_0_W { _0P2A_TARGET1_0_W::new(self, 15) } #[doc = "Bits 23:30 - need_des"] #[inline(always)] - #[must_use] pub fn _0p2a_target0_0(&mut self) -> _0P2A_TARGET0_0_W { _0P2A_TARGET0_0_W::new(self, 23) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn _0p2a_ldo_cnt_prescaler_sel_0( &mut self, ) -> _0P2A_LDO_CNT_PRESCALER_SEL_0_W { diff --git a/esp32p4/src/pmu/ext_ldo_p0_0p2a_ana.rs b/esp32p4/src/pmu/ext_ldo_p0_0p2a_ana.rs index d110e83bd9..473688187c 100644 --- a/esp32p4/src/pmu/ext_ldo_p0_0p2a_ana.rs +++ b/esp32p4/src/pmu/ext_ldo_p0_0p2a_ana.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 23:25 - need_des"] #[inline(always)] - #[must_use] pub fn ana_0p2a_mul_0(&mut self) -> ANA_0P2A_MUL_0_W { ANA_0P2A_MUL_0_W::new(self, 23) } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn ana_0p2a_en_vdet_0(&mut self) -> ANA_0P2A_EN_VDET_0_W { ANA_0P2A_EN_VDET_0_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn ana_0p2a_en_cur_lim_0(&mut self) -> ANA_0P2A_EN_CUR_LIM_0_W { ANA_0P2A_EN_CUR_LIM_0_W::new(self, 27) } #[doc = "Bits 28:31 - need_des"] #[inline(always)] - #[must_use] pub fn ana_0p2a_dref_0(&mut self) -> ANA_0P2A_DREF_0_W { ANA_0P2A_DREF_0_W::new(self, 28) } diff --git a/esp32p4/src/pmu/ext_ldo_p0_0p3a.rs b/esp32p4/src/pmu/ext_ldo_p0_0p3a.rs index 5fefc0f931..5741acab03 100644 --- a/esp32p4/src/pmu/ext_ldo_p0_0p3a.rs +++ b/esp32p4/src/pmu/ext_ldo_p0_0p3a.rs @@ -107,55 +107,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 7 - need_des"] #[inline(always)] - #[must_use] pub fn _0p3a_force_tieh_sel_0(&mut self) -> _0P3A_FORCE_TIEH_SEL_0_W { _0P3A_FORCE_TIEH_SEL_0_W::new(self, 7) } #[doc = "Bit 8 - need_des"] #[inline(always)] - #[must_use] pub fn _0p3a_xpd_0(&mut self) -> _0P3A_XPD_0_W { _0P3A_XPD_0_W::new(self, 8) } #[doc = "Bits 9:11 - need_des"] #[inline(always)] - #[must_use] pub fn _0p3a_tieh_sel_0(&mut self) -> _0P3A_TIEH_SEL_0_W { _0P3A_TIEH_SEL_0_W::new(self, 9) } #[doc = "Bit 12 - need_des"] #[inline(always)] - #[must_use] pub fn _0p3a_tieh_pos_en_0(&mut self) -> _0P3A_TIEH_POS_EN_0_W { _0P3A_TIEH_POS_EN_0_W::new(self, 12) } #[doc = "Bit 13 - need_des"] #[inline(always)] - #[must_use] pub fn _0p3a_tieh_neg_en_0(&mut self) -> _0P3A_TIEH_NEG_EN_0_W { _0P3A_TIEH_NEG_EN_0_W::new(self, 13) } #[doc = "Bit 14 - need_des"] #[inline(always)] - #[must_use] pub fn _0p3a_tieh_0(&mut self) -> _0P3A_TIEH_0_W { _0P3A_TIEH_0_W::new(self, 14) } #[doc = "Bits 15:22 - need_des"] #[inline(always)] - #[must_use] pub fn _0p3a_target1_0(&mut self) -> _0P3A_TARGET1_0_W { _0P3A_TARGET1_0_W::new(self, 15) } #[doc = "Bits 23:30 - need_des"] #[inline(always)] - #[must_use] pub fn _0p3a_target0_0(&mut self) -> _0P3A_TARGET0_0_W { _0P3A_TARGET0_0_W::new(self, 23) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn _0p3a_ldo_cnt_prescaler_sel_0( &mut self, ) -> _0P3A_LDO_CNT_PRESCALER_SEL_0_W { diff --git a/esp32p4/src/pmu/ext_ldo_p0_0p3a_ana.rs b/esp32p4/src/pmu/ext_ldo_p0_0p3a_ana.rs index 2e6d0a2d48..b4f998751e 100644 --- a/esp32p4/src/pmu/ext_ldo_p0_0p3a_ana.rs +++ b/esp32p4/src/pmu/ext_ldo_p0_0p3a_ana.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 23:25 - need_des"] #[inline(always)] - #[must_use] pub fn ana_0p3a_mul_0(&mut self) -> ANA_0P3A_MUL_0_W { ANA_0P3A_MUL_0_W::new(self, 23) } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn ana_0p3a_en_vdet_0(&mut self) -> ANA_0P3A_EN_VDET_0_W { ANA_0P3A_EN_VDET_0_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn ana_0p3a_en_cur_lim_0(&mut self) -> ANA_0P3A_EN_CUR_LIM_0_W { ANA_0P3A_EN_CUR_LIM_0_W::new(self, 27) } #[doc = "Bits 28:31 - need_des"] #[inline(always)] - #[must_use] pub fn ana_0p3a_dref_0(&mut self) -> ANA_0P3A_DREF_0_W { ANA_0P3A_DREF_0_W::new(self, 28) } diff --git a/esp32p4/src/pmu/ext_ldo_p1_0p1a.rs b/esp32p4/src/pmu/ext_ldo_p1_0p1a.rs index 7577e12f71..e5c4aae5c7 100644 --- a/esp32p4/src/pmu/ext_ldo_p1_0p1a.rs +++ b/esp32p4/src/pmu/ext_ldo_p1_0p1a.rs @@ -107,55 +107,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 7 - need_des"] #[inline(always)] - #[must_use] pub fn _0p1a_force_tieh_sel_1(&mut self) -> _0P1A_FORCE_TIEH_SEL_1_W { _0P1A_FORCE_TIEH_SEL_1_W::new(self, 7) } #[doc = "Bit 8 - need_des"] #[inline(always)] - #[must_use] pub fn _0p1a_xpd_1(&mut self) -> _0P1A_XPD_1_W { _0P1A_XPD_1_W::new(self, 8) } #[doc = "Bits 9:11 - need_des"] #[inline(always)] - #[must_use] pub fn _0p1a_tieh_sel_1(&mut self) -> _0P1A_TIEH_SEL_1_W { _0P1A_TIEH_SEL_1_W::new(self, 9) } #[doc = "Bit 12 - need_des"] #[inline(always)] - #[must_use] pub fn _0p1a_tieh_pos_en_1(&mut self) -> _0P1A_TIEH_POS_EN_1_W { _0P1A_TIEH_POS_EN_1_W::new(self, 12) } #[doc = "Bit 13 - need_des"] #[inline(always)] - #[must_use] pub fn _0p1a_tieh_neg_en_1(&mut self) -> _0P1A_TIEH_NEG_EN_1_W { _0P1A_TIEH_NEG_EN_1_W::new(self, 13) } #[doc = "Bit 14 - need_des"] #[inline(always)] - #[must_use] pub fn _0p1a_tieh_1(&mut self) -> _0P1A_TIEH_1_W { _0P1A_TIEH_1_W::new(self, 14) } #[doc = "Bits 15:22 - need_des"] #[inline(always)] - #[must_use] pub fn _0p1a_target1_1(&mut self) -> _0P1A_TARGET1_1_W { _0P1A_TARGET1_1_W::new(self, 15) } #[doc = "Bits 23:30 - need_des"] #[inline(always)] - #[must_use] pub fn _0p1a_target0_1(&mut self) -> _0P1A_TARGET0_1_W { _0P1A_TARGET0_1_W::new(self, 23) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn _0p1a_ldo_cnt_prescaler_sel_1( &mut self, ) -> _0P1A_LDO_CNT_PRESCALER_SEL_1_W { diff --git a/esp32p4/src/pmu/ext_ldo_p1_0p1a_ana.rs b/esp32p4/src/pmu/ext_ldo_p1_0p1a_ana.rs index 284a054ee0..d185aaa3ed 100644 --- a/esp32p4/src/pmu/ext_ldo_p1_0p1a_ana.rs +++ b/esp32p4/src/pmu/ext_ldo_p1_0p1a_ana.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 23:25 - need_des"] #[inline(always)] - #[must_use] pub fn ana_0p1a_mul_1(&mut self) -> ANA_0P1A_MUL_1_W { ANA_0P1A_MUL_1_W::new(self, 23) } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn ana_0p1a_en_vdet_1(&mut self) -> ANA_0P1A_EN_VDET_1_W { ANA_0P1A_EN_VDET_1_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn ana_0p1a_en_cur_lim_1(&mut self) -> ANA_0P1A_EN_CUR_LIM_1_W { ANA_0P1A_EN_CUR_LIM_1_W::new(self, 27) } #[doc = "Bits 28:31 - need_des"] #[inline(always)] - #[must_use] pub fn ana_0p1a_dref_1(&mut self) -> ANA_0P1A_DREF_1_W { ANA_0P1A_DREF_1_W::new(self, 28) } diff --git a/esp32p4/src/pmu/ext_ldo_p1_0p2a.rs b/esp32p4/src/pmu/ext_ldo_p1_0p2a.rs index 2304c6a526..198454ab96 100644 --- a/esp32p4/src/pmu/ext_ldo_p1_0p2a.rs +++ b/esp32p4/src/pmu/ext_ldo_p1_0p2a.rs @@ -107,55 +107,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 7 - need_des"] #[inline(always)] - #[must_use] pub fn _0p2a_force_tieh_sel_1(&mut self) -> _0P2A_FORCE_TIEH_SEL_1_W { _0P2A_FORCE_TIEH_SEL_1_W::new(self, 7) } #[doc = "Bit 8 - need_des"] #[inline(always)] - #[must_use] pub fn _0p2a_xpd_1(&mut self) -> _0P2A_XPD_1_W { _0P2A_XPD_1_W::new(self, 8) } #[doc = "Bits 9:11 - need_des"] #[inline(always)] - #[must_use] pub fn _0p2a_tieh_sel_1(&mut self) -> _0P2A_TIEH_SEL_1_W { _0P2A_TIEH_SEL_1_W::new(self, 9) } #[doc = "Bit 12 - need_des"] #[inline(always)] - #[must_use] pub fn _0p2a_tieh_pos_en_1(&mut self) -> _0P2A_TIEH_POS_EN_1_W { _0P2A_TIEH_POS_EN_1_W::new(self, 12) } #[doc = "Bit 13 - need_des"] #[inline(always)] - #[must_use] pub fn _0p2a_tieh_neg_en_1(&mut self) -> _0P2A_TIEH_NEG_EN_1_W { _0P2A_TIEH_NEG_EN_1_W::new(self, 13) } #[doc = "Bit 14 - need_des"] #[inline(always)] - #[must_use] pub fn _0p2a_tieh_1(&mut self) -> _0P2A_TIEH_1_W { _0P2A_TIEH_1_W::new(self, 14) } #[doc = "Bits 15:22 - need_des"] #[inline(always)] - #[must_use] pub fn _0p2a_target1_1(&mut self) -> _0P2A_TARGET1_1_W { _0P2A_TARGET1_1_W::new(self, 15) } #[doc = "Bits 23:30 - need_des"] #[inline(always)] - #[must_use] pub fn _0p2a_target0_1(&mut self) -> _0P2A_TARGET0_1_W { _0P2A_TARGET0_1_W::new(self, 23) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn _0p2a_ldo_cnt_prescaler_sel_1( &mut self, ) -> _0P2A_LDO_CNT_PRESCALER_SEL_1_W { diff --git a/esp32p4/src/pmu/ext_ldo_p1_0p2a_ana.rs b/esp32p4/src/pmu/ext_ldo_p1_0p2a_ana.rs index a210a9c507..a3dd39be04 100644 --- a/esp32p4/src/pmu/ext_ldo_p1_0p2a_ana.rs +++ b/esp32p4/src/pmu/ext_ldo_p1_0p2a_ana.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 23:25 - need_des"] #[inline(always)] - #[must_use] pub fn ana_0p2a_mul_1(&mut self) -> ANA_0P2A_MUL_1_W { ANA_0P2A_MUL_1_W::new(self, 23) } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn ana_0p2a_en_vdet_1(&mut self) -> ANA_0P2A_EN_VDET_1_W { ANA_0P2A_EN_VDET_1_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn ana_0p2a_en_cur_lim_1(&mut self) -> ANA_0P2A_EN_CUR_LIM_1_W { ANA_0P2A_EN_CUR_LIM_1_W::new(self, 27) } #[doc = "Bits 28:31 - need_des"] #[inline(always)] - #[must_use] pub fn ana_0p2a_dref_1(&mut self) -> ANA_0P2A_DREF_1_W { ANA_0P2A_DREF_1_W::new(self, 28) } diff --git a/esp32p4/src/pmu/ext_ldo_p1_0p3a.rs b/esp32p4/src/pmu/ext_ldo_p1_0p3a.rs index 88beb11a10..0c0222b6d3 100644 --- a/esp32p4/src/pmu/ext_ldo_p1_0p3a.rs +++ b/esp32p4/src/pmu/ext_ldo_p1_0p3a.rs @@ -107,55 +107,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 7 - need_des"] #[inline(always)] - #[must_use] pub fn _0p3a_force_tieh_sel_1(&mut self) -> _0P3A_FORCE_TIEH_SEL_1_W { _0P3A_FORCE_TIEH_SEL_1_W::new(self, 7) } #[doc = "Bit 8 - need_des"] #[inline(always)] - #[must_use] pub fn _0p3a_xpd_1(&mut self) -> _0P3A_XPD_1_W { _0P3A_XPD_1_W::new(self, 8) } #[doc = "Bits 9:11 - need_des"] #[inline(always)] - #[must_use] pub fn _0p3a_tieh_sel_1(&mut self) -> _0P3A_TIEH_SEL_1_W { _0P3A_TIEH_SEL_1_W::new(self, 9) } #[doc = "Bit 12 - need_des"] #[inline(always)] - #[must_use] pub fn _0p3a_tieh_pos_en_1(&mut self) -> _0P3A_TIEH_POS_EN_1_W { _0P3A_TIEH_POS_EN_1_W::new(self, 12) } #[doc = "Bit 13 - need_des"] #[inline(always)] - #[must_use] pub fn _0p3a_tieh_neg_en_1(&mut self) -> _0P3A_TIEH_NEG_EN_1_W { _0P3A_TIEH_NEG_EN_1_W::new(self, 13) } #[doc = "Bit 14 - need_des"] #[inline(always)] - #[must_use] pub fn _0p3a_tieh_1(&mut self) -> _0P3A_TIEH_1_W { _0P3A_TIEH_1_W::new(self, 14) } #[doc = "Bits 15:22 - need_des"] #[inline(always)] - #[must_use] pub fn _0p3a_target1_1(&mut self) -> _0P3A_TARGET1_1_W { _0P3A_TARGET1_1_W::new(self, 15) } #[doc = "Bits 23:30 - need_des"] #[inline(always)] - #[must_use] pub fn _0p3a_target0_1(&mut self) -> _0P3A_TARGET0_1_W { _0P3A_TARGET0_1_W::new(self, 23) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn _0p3a_ldo_cnt_prescaler_sel_1( &mut self, ) -> _0P3A_LDO_CNT_PRESCALER_SEL_1_W { diff --git a/esp32p4/src/pmu/ext_ldo_p1_0p3a_ana.rs b/esp32p4/src/pmu/ext_ldo_p1_0p3a_ana.rs index 1f33c0d346..ec7e01752f 100644 --- a/esp32p4/src/pmu/ext_ldo_p1_0p3a_ana.rs +++ b/esp32p4/src/pmu/ext_ldo_p1_0p3a_ana.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 23:25 - need_des"] #[inline(always)] - #[must_use] pub fn ana_0p3a_mul_1(&mut self) -> ANA_0P3A_MUL_1_W { ANA_0P3A_MUL_1_W::new(self, 23) } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn ana_0p3a_en_vdet_1(&mut self) -> ANA_0P3A_EN_VDET_1_W { ANA_0P3A_EN_VDET_1_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn ana_0p3a_en_cur_lim_1(&mut self) -> ANA_0P3A_EN_CUR_LIM_1_W { ANA_0P3A_EN_CUR_LIM_1_W::new(self, 27) } #[doc = "Bits 28:31 - need_des"] #[inline(always)] - #[must_use] pub fn ana_0p3a_dref_1(&mut self) -> ANA_0P3A_DREF_1_W { ANA_0P3A_DREF_1_W::new(self, 28) } diff --git a/esp32p4/src/pmu/ext_wakeup_cntl.rs b/esp32p4/src/pmu/ext_wakeup_cntl.rs index d5eb3925c4..6d34e184ba 100644 --- a/esp32p4/src/pmu/ext_wakeup_cntl.rs +++ b/esp32p4/src/pmu/ext_wakeup_cntl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn ext_wakeup_status_clr(&mut self) -> EXT_WAKEUP_STATUS_CLR_W { EXT_WAKEUP_STATUS_CLR_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn ext_wakeup_filter(&mut self) -> EXT_WAKEUP_FILTER_W { EXT_WAKEUP_FILTER_W::new(self, 31) } diff --git a/esp32p4/src/pmu/ext_wakeup_lv.rs b/esp32p4/src/pmu/ext_wakeup_lv.rs index 1eb947a065..469ec7ffa3 100644 --- a/esp32p4/src/pmu/ext_wakeup_lv.rs +++ b/esp32p4/src/pmu/ext_wakeup_lv.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn ext_wakeup_lv(&mut self) -> EXT_WAKEUP_LV_W { EXT_WAKEUP_LV_W::new(self, 0) } diff --git a/esp32p4/src/pmu/ext_wakeup_sel.rs b/esp32p4/src/pmu/ext_wakeup_sel.rs index 91cc943ce1..e6e7b41e9c 100644 --- a/esp32p4/src/pmu/ext_wakeup_sel.rs +++ b/esp32p4/src/pmu/ext_wakeup_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn ext_wakeup_sel(&mut self) -> EXT_WAKEUP_SEL_W { EXT_WAKEUP_SEL_W::new(self, 0) } diff --git a/esp32p4/src/pmu/hp_active_backup.rs b/esp32p4/src/pmu/hp_active_backup.rs index ff99cad5fb..1910767b83 100644 --- a/esp32p4/src/pmu/hp_active_backup.rs +++ b/esp32p4/src/pmu/hp_active_backup.rs @@ -154,7 +154,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 4:5 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2active_backup_modem_clk_code( &mut self, ) -> HP_SLEEP2ACTIVE_BACKUP_MODEM_CLK_CODE_W { @@ -162,7 +161,6 @@ impl W { } #[doc = "Bits 6:7 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2active_backup_modem_clk_code( &mut self, ) -> HP_MODEM2ACTIVE_BACKUP_MODEM_CLK_CODE_W { @@ -170,7 +168,6 @@ impl W { } #[doc = "Bit 10 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_retention_mode( &mut self, ) -> HP_ACTIVE_RETENTION_MODE_W { @@ -178,7 +175,6 @@ impl W { } #[doc = "Bit 11 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2active_retention_en( &mut self, ) -> HP_SLEEP2ACTIVE_RETENTION_EN_W { @@ -186,7 +182,6 @@ impl W { } #[doc = "Bit 12 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2active_retention_en( &mut self, ) -> HP_MODEM2ACTIVE_RETENTION_EN_W { @@ -194,7 +189,6 @@ impl W { } #[doc = "Bits 14:15 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2active_backup_clk_sel( &mut self, ) -> HP_SLEEP2ACTIVE_BACKUP_CLK_SEL_W { @@ -202,7 +196,6 @@ impl W { } #[doc = "Bits 16:17 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2active_backup_clk_sel( &mut self, ) -> HP_MODEM2ACTIVE_BACKUP_CLK_SEL_W { @@ -210,7 +203,6 @@ impl W { } #[doc = "Bits 20:22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2active_backup_mode( &mut self, ) -> HP_SLEEP2ACTIVE_BACKUP_MODE_W { @@ -218,7 +210,6 @@ impl W { } #[doc = "Bits 23:25 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2active_backup_mode( &mut self, ) -> HP_MODEM2ACTIVE_BACKUP_MODE_W { @@ -226,7 +217,6 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2active_backup_en( &mut self, ) -> HP_SLEEP2ACTIVE_BACKUP_EN_W { @@ -234,7 +224,6 @@ impl W { } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2active_backup_en( &mut self, ) -> HP_MODEM2ACTIVE_BACKUP_EN_W { diff --git a/esp32p4/src/pmu/hp_active_backup_clk.rs b/esp32p4/src/pmu/hp_active_backup_clk.rs index cd9b3de54b..3f67784a4b 100644 --- a/esp32p4/src/pmu/hp_active_backup_clk.rs +++ b/esp32p4/src/pmu/hp_active_backup_clk.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_backup_icg_func_en( &mut self, ) -> HP_ACTIVE_BACKUP_ICG_FUNC_EN_W { diff --git a/esp32p4/src/pmu/hp_active_bias.rs b/esp32p4/src/pmu/hp_active_bias.rs index a2dcc76936..89f0af2884 100644 --- a/esp32p4/src/pmu/hp_active_bias.rs +++ b/esp32p4/src/pmu/hp_active_bias.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 18:22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_dcm_vset(&mut self) -> HP_ACTIVE_DCM_VSET_W { HP_ACTIVE_DCM_VSET_W::new(self, 18) } #[doc = "Bits 23:24 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_dcm_mode(&mut self) -> HP_ACTIVE_DCM_MODE_W { HP_ACTIVE_DCM_MODE_W::new(self, 23) } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_xpd_bias(&mut self) -> HP_ACTIVE_XPD_BIAS_W { HP_ACTIVE_XPD_BIAS_W::new(self, 25) } #[doc = "Bits 26:29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_dbg_atten(&mut self) -> HP_ACTIVE_DBG_ATTEN_W { HP_ACTIVE_DBG_ATTEN_W::new(self, 26) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_pd_cur(&mut self) -> HP_ACTIVE_PD_CUR_W { HP_ACTIVE_PD_CUR_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn sleep(&mut self) -> SLEEP_W { SLEEP_W::new(self, 31) } diff --git a/esp32p4/src/pmu/hp_active_dig_power.rs b/esp32p4/src/pmu/hp_active_dig_power.rs index 28b454b3d5..6cb4963a38 100644 --- a/esp32p4/src/pmu/hp_active_dig_power.rs +++ b/esp32p4/src/pmu/hp_active_dig_power.rs @@ -70,7 +70,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 21 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_dcdc_switch_pd_en( &mut self, ) -> HP_ACTIVE_DCDC_SWITCH_PD_EN_W { @@ -78,13 +77,11 @@ impl W { } #[doc = "Bit 22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_hp_mem_dslp(&mut self) -> HP_ACTIVE_HP_MEM_DSLP_W { HP_ACTIVE_HP_MEM_DSLP_W::new(self, 22) } #[doc = "Bit 23 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_pd_hp_mem_pd_en( &mut self, ) -> HP_ACTIVE_PD_HP_MEM_PD_EN_W { @@ -92,7 +89,6 @@ impl W { } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_pd_cnnt_pd_en( &mut self, ) -> HP_ACTIVE_PD_CNNT_PD_EN_W { @@ -100,7 +96,6 @@ impl W { } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_pd_top_pd_en(&mut self) -> HP_ACTIVE_PD_TOP_PD_EN_W { HP_ACTIVE_PD_TOP_PD_EN_W::new(self, 31) } diff --git a/esp32p4/src/pmu/hp_active_hp_ck_power.rs b/esp32p4/src/pmu/hp_active_hp_ck_power.rs index 34949284e9..fa0578193a 100644 --- a/esp32p4/src/pmu/hp_active_hp_ck_power.rs +++ b/esp32p4/src/pmu/hp_active_hp_ck_power.rs @@ -54,13 +54,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 21 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_i2c_iso_en(&mut self) -> HP_ACTIVE_I2C_ISO_EN_W { HP_ACTIVE_I2C_ISO_EN_W::new(self, 21) } #[doc = "Bit 22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_i2c_retention( &mut self, ) -> HP_ACTIVE_I2C_RETENTION_W { @@ -68,13 +66,11 @@ impl W { } #[doc = "Bits 23:26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_xpd_pll_i2c(&mut self) -> HP_ACTIVE_XPD_PLL_I2C_W { HP_ACTIVE_XPD_PLL_I2C_W::new(self, 23) } #[doc = "Bits 27:30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_xpd_pll(&mut self) -> HP_ACTIVE_XPD_PLL_W { HP_ACTIVE_XPD_PLL_W::new(self, 27) } diff --git a/esp32p4/src/pmu/hp_active_hp_regulator0.rs b/esp32p4/src/pmu/hp_active_hp_regulator0.rs index 2805e24761..1fcbd31cb1 100644 --- a/esp32p4/src/pmu/hp_active_hp_regulator0.rs +++ b/esp32p4/src/pmu/hp_active_hp_regulator0.rs @@ -122,7 +122,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 14 - need_des"] #[inline(always)] - #[must_use] pub fn dig_regulator0_dbias_sel( &mut self, ) -> DIG_REGULATOR0_DBIAS_SEL_W { @@ -130,13 +129,11 @@ impl W { } #[doc = "Bit 15 - need_des"] #[inline(always)] - #[must_use] pub fn dig_dbias_init(&mut self) -> DIG_DBIAS_INIT_W { DIG_DBIAS_INIT_W::new(self, 15) } #[doc = "Bit 16 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_hp_regulator_slp_mem_xpd( &mut self, ) -> HP_ACTIVE_HP_REGULATOR_SLP_MEM_XPD_W { @@ -144,7 +141,6 @@ impl W { } #[doc = "Bit 17 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_hp_regulator_slp_logic_xpd( &mut self, ) -> HP_ACTIVE_HP_REGULATOR_SLP_LOGIC_XPD_W { @@ -152,7 +148,6 @@ impl W { } #[doc = "Bit 18 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_hp_regulator_xpd( &mut self, ) -> HP_ACTIVE_HP_REGULATOR_XPD_W { @@ -160,7 +155,6 @@ impl W { } #[doc = "Bits 19:22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_hp_regulator_slp_mem_dbias( &mut self, ) -> HP_ACTIVE_HP_REGULATOR_SLP_MEM_DBIAS_W { @@ -168,7 +162,6 @@ impl W { } #[doc = "Bits 23:26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_hp_regulator_slp_logic_dbias( &mut self, ) -> HP_ACTIVE_HP_REGULATOR_SLP_LOGIC_DBIAS_W { @@ -176,7 +169,6 @@ impl W { } #[doc = "Bits 27:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_hp_regulator_dbias( &mut self, ) -> HP_ACTIVE_HP_REGULATOR_DBIAS_W { diff --git a/esp32p4/src/pmu/hp_active_hp_regulator1.rs b/esp32p4/src/pmu/hp_active_hp_regulator1.rs index 423d27806b..626ec75acc 100644 --- a/esp32p4/src/pmu/hp_active_hp_regulator1.rs +++ b/esp32p4/src/pmu/hp_active_hp_regulator1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 26:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_hp_regulator_drv_b( &mut self, ) -> HP_ACTIVE_HP_REGULATOR_DRV_B_W { diff --git a/esp32p4/src/pmu/hp_active_hp_sys_cntl.rs b/esp32p4/src/pmu/hp_active_hp_sys_cntl.rs index e7323b680c..c8b4bfb0ca 100644 --- a/esp32p4/src/pmu/hp_active_hp_sys_cntl.rs +++ b/esp32p4/src/pmu/hp_active_hp_sys_cntl.rs @@ -96,7 +96,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 23 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_hp_power_det_bypass( &mut self, ) -> HP_ACTIVE_HP_POWER_DET_BYPASS_W { @@ -104,7 +103,6 @@ impl W { } #[doc = "Bit 24 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_uart_wakeup_en( &mut self, ) -> HP_ACTIVE_UART_WAKEUP_EN_W { @@ -112,7 +110,6 @@ impl W { } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_lp_pad_hold_all( &mut self, ) -> HP_ACTIVE_LP_PAD_HOLD_ALL_W { @@ -120,7 +117,6 @@ impl W { } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_hp_pad_hold_all( &mut self, ) -> HP_ACTIVE_HP_PAD_HOLD_ALL_W { @@ -128,7 +124,6 @@ impl W { } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_dig_pad_slp_sel( &mut self, ) -> HP_ACTIVE_DIG_PAD_SLP_SEL_W { @@ -136,7 +131,6 @@ impl W { } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_dig_pause_wdt( &mut self, ) -> HP_ACTIVE_DIG_PAUSE_WDT_W { @@ -144,7 +138,6 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_dig_cpu_stall( &mut self, ) -> HP_ACTIVE_DIG_CPU_STALL_W { diff --git a/esp32p4/src/pmu/hp_active_icg_hp_apb.rs b/esp32p4/src/pmu/hp_active_icg_hp_apb.rs index 1beed99c5b..ec36aae6b9 100644 --- a/esp32p4/src/pmu/hp_active_icg_hp_apb.rs +++ b/esp32p4/src/pmu/hp_active_icg_hp_apb.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_dig_icg_apb_en( &mut self, ) -> HP_ACTIVE_DIG_ICG_APB_EN_W { diff --git a/esp32p4/src/pmu/hp_active_icg_hp_func.rs b/esp32p4/src/pmu/hp_active_icg_hp_func.rs index e16bf388fd..4f8d853807 100644 --- a/esp32p4/src/pmu/hp_active_icg_hp_func.rs +++ b/esp32p4/src/pmu/hp_active_icg_hp_func.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_dig_icg_func_en( &mut self, ) -> HP_ACTIVE_DIG_ICG_FUNC_EN_W { diff --git a/esp32p4/src/pmu/hp_active_icg_modem.rs b/esp32p4/src/pmu/hp_active_icg_modem.rs index ad0b7e9102..75425b3205 100644 --- a/esp32p4/src/pmu/hp_active_icg_modem.rs +++ b/esp32p4/src/pmu/hp_active_icg_modem.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 30:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_dig_icg_modem_code( &mut self, ) -> HP_ACTIVE_DIG_ICG_MODEM_CODE_W { diff --git a/esp32p4/src/pmu/hp_active_sysclk.rs b/esp32p4/src/pmu/hp_active_sysclk.rs index b6047443e5..1f01bd6c4d 100644 --- a/esp32p4/src/pmu/hp_active_sysclk.rs +++ b/esp32p4/src/pmu/hp_active_sysclk.rs @@ -76,7 +76,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_dig_sys_clk_no_div( &mut self, ) -> HP_ACTIVE_DIG_SYS_CLK_NO_DIV_W { @@ -84,7 +83,6 @@ impl W { } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_icg_sys_clock_en( &mut self, ) -> HP_ACTIVE_ICG_SYS_CLOCK_EN_W { @@ -92,7 +90,6 @@ impl W { } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_sys_clk_slp_sel( &mut self, ) -> HP_ACTIVE_SYS_CLK_SLP_SEL_W { @@ -100,13 +97,11 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_icg_slp_sel(&mut self) -> HP_ACTIVE_ICG_SLP_SEL_W { HP_ACTIVE_ICG_SLP_SEL_W::new(self, 29) } #[doc = "Bits 30:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_dig_sys_clk_sel( &mut self, ) -> HP_ACTIVE_DIG_SYS_CLK_SEL_W { diff --git a/esp32p4/src/pmu/hp_active_xtal.rs b/esp32p4/src/pmu/hp_active_xtal.rs index 0e3d95ae10..c23de5bc9e 100644 --- a/esp32p4/src/pmu/hp_active_xtal.rs +++ b/esp32p4/src/pmu/hp_active_xtal.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active_xpd_xtal(&mut self) -> HP_ACTIVE_XPD_XTAL_W { HP_ACTIVE_XPD_XTAL_W::new(self, 31) } diff --git a/esp32p4/src/pmu/hp_ck_cntl.rs b/esp32p4/src/pmu/hp_ck_cntl.rs index bcc033e8fb..27f42537f0 100644 --- a/esp32p4/src/pmu/hp_ck_cntl.rs +++ b/esp32p4/src/pmu/hp_ck_cntl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - need_des"] #[inline(always)] - #[must_use] pub fn modify_icg_cntl_wait(&mut self) -> MODIFY_ICG_CNTL_WAIT_W { MODIFY_ICG_CNTL_WAIT_W::new(self, 0) } #[doc = "Bits 8:15 - need_des"] #[inline(always)] - #[must_use] pub fn switch_icg_cntl_wait(&mut self) -> SWITCH_ICG_CNTL_WAIT_W { SWITCH_ICG_CNTL_WAIT_W::new(self, 8) } diff --git a/esp32p4/src/pmu/hp_ck_poweron.rs b/esp32p4/src/pmu/hp_ck_poweron.rs index 066aba60c2..6fadce8253 100644 --- a/esp32p4/src/pmu/hp_ck_poweron.rs +++ b/esp32p4/src/pmu/hp_ck_poweron.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - need_des"] #[inline(always)] - #[must_use] pub fn i2c_por_wait_target(&mut self) -> I2C_POR_WAIT_TARGET_W { I2C_POR_WAIT_TARGET_W::new(self, 0) } diff --git a/esp32p4/src/pmu/hp_lp_cpu_comm.rs b/esp32p4/src/pmu/hp_lp_cpu_comm.rs index 2177dec2c3..75227a51fd 100644 --- a/esp32p4/src/pmu/hp_lp_cpu_comm.rs +++ b/esp32p4/src/pmu/hp_lp_cpu_comm.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_trigger_hp(&mut self) -> LP_TRIGGER_HP_W { LP_TRIGGER_HP_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_trigger_lp(&mut self) -> HP_TRIGGER_LP_W { HP_TRIGGER_LP_W::new(self, 31) } diff --git a/esp32p4/src/pmu/hp_modem_backup.rs b/esp32p4/src/pmu/hp_modem_backup.rs index b886e2cdf7..021fc23449 100644 --- a/esp32p4/src/pmu/hp_modem_backup.rs +++ b/esp32p4/src/pmu/hp_modem_backup.rs @@ -21,7 +21,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 4:5 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2modem_backup_modem_clk_code( &mut self, ) -> HP_SLEEP2MODEM_BACKUP_MODEM_CLK_CODE_W { @@ -29,13 +28,11 @@ impl W { } #[doc = "Bit 10 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_retention_mode(&mut self) -> HP_MODEM_RETENTION_MODE_W { HP_MODEM_RETENTION_MODE_W::new(self, 10) } #[doc = "Bit 11 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2modem_retention_en( &mut self, ) -> HP_SLEEP2MODEM_RETENTION_EN_W { @@ -43,7 +40,6 @@ impl W { } #[doc = "Bits 14:15 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2modem_backup_clk_sel( &mut self, ) -> HP_SLEEP2MODEM_BACKUP_CLK_SEL_W { @@ -51,7 +47,6 @@ impl W { } #[doc = "Bits 20:22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2modem_backup_mode( &mut self, ) -> HP_SLEEP2MODEM_BACKUP_MODE_W { @@ -59,7 +54,6 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep2modem_backup_en(&mut self) -> HP_SLEEP2MODEM_BACKUP_EN_W { HP_SLEEP2MODEM_BACKUP_EN_W::new(self, 29) } diff --git a/esp32p4/src/pmu/hp_modem_backup_clk.rs b/esp32p4/src/pmu/hp_modem_backup_clk.rs index ed94e733a0..00d19a3e03 100644 --- a/esp32p4/src/pmu/hp_modem_backup_clk.rs +++ b/esp32p4/src/pmu/hp_modem_backup_clk.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_backup_icg_func_en( &mut self, ) -> HP_MODEM_BACKUP_ICG_FUNC_EN_W { diff --git a/esp32p4/src/pmu/hp_modem_bias.rs b/esp32p4/src/pmu/hp_modem_bias.rs index 2a67926377..b54233762f 100644 --- a/esp32p4/src/pmu/hp_modem_bias.rs +++ b/esp32p4/src/pmu/hp_modem_bias.rs @@ -21,37 +21,31 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 18:22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_dcm_vset(&mut self) -> HP_MODEM_DCM_VSET_W { HP_MODEM_DCM_VSET_W::new(self, 18) } #[doc = "Bits 23:24 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_dcm_mode(&mut self) -> HP_MODEM_DCM_MODE_W { HP_MODEM_DCM_MODE_W::new(self, 23) } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_xpd_bias(&mut self) -> HP_MODEM_XPD_BIAS_W { HP_MODEM_XPD_BIAS_W::new(self, 25) } #[doc = "Bits 26:29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_dbg_atten(&mut self) -> HP_MODEM_DBG_ATTEN_W { HP_MODEM_DBG_ATTEN_W::new(self, 26) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_pd_cur(&mut self) -> HP_MODEM_PD_CUR_W { HP_MODEM_PD_CUR_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn sleep(&mut self) -> SLEEP_W { SLEEP_W::new(self, 31) } diff --git a/esp32p4/src/pmu/hp_modem_dig_power.rs b/esp32p4/src/pmu/hp_modem_dig_power.rs index 2f400f63f5..89dc8b994d 100644 --- a/esp32p4/src/pmu/hp_modem_dig_power.rs +++ b/esp32p4/src/pmu/hp_modem_dig_power.rs @@ -39,7 +39,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 21 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_dcdc_switch_pd_en( &mut self, ) -> HP_MODEM_DCDC_SWITCH_PD_EN_W { @@ -47,13 +46,11 @@ impl W { } #[doc = "Bit 22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_hp_mem_dslp(&mut self) -> HP_MODEM_HP_MEM_DSLP_W { HP_MODEM_HP_MEM_DSLP_W::new(self, 22) } #[doc = "Bits 23:26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_pd_hp_mem_pd_en( &mut self, ) -> HP_MODEM_PD_HP_MEM_PD_EN_W { @@ -61,7 +58,6 @@ impl W { } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_pd_hp_wifi_pd_en( &mut self, ) -> HP_MODEM_PD_HP_WIFI_PD_EN_W { @@ -69,7 +65,6 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_pd_hp_cpu_pd_en( &mut self, ) -> HP_MODEM_PD_HP_CPU_PD_EN_W { @@ -77,13 +72,11 @@ impl W { } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_pd_cnnt_pd_en(&mut self) -> HP_MODEM_PD_CNNT_PD_EN_W { HP_MODEM_PD_CNNT_PD_EN_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_pd_top_pd_en(&mut self) -> HP_MODEM_PD_TOP_PD_EN_W { HP_MODEM_PD_TOP_PD_EN_W::new(self, 31) } diff --git a/esp32p4/src/pmu/hp_modem_hp_ck_power.rs b/esp32p4/src/pmu/hp_modem_hp_ck_power.rs index b580b4bd97..6fc3b9f244 100644 --- a/esp32p4/src/pmu/hp_modem_hp_ck_power.rs +++ b/esp32p4/src/pmu/hp_modem_hp_ck_power.rs @@ -17,13 +17,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 21 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_i2c_iso_en(&mut self) -> HP_MODEM_I2C_ISO_EN_W { HP_MODEM_I2C_ISO_EN_W::new(self, 21) } #[doc = "Bit 22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_i2c_retention( &mut self, ) -> HP_MODEM_I2C_RETENTION_W { @@ -31,13 +29,11 @@ impl W { } #[doc = "Bits 23:26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_xpd_pll_i2c(&mut self) -> HP_MODEM_XPD_PLL_I2C_W { HP_MODEM_XPD_PLL_I2C_W::new(self, 23) } #[doc = "Bits 27:30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_xpd_pll(&mut self) -> HP_MODEM_XPD_PLL_W { HP_MODEM_XPD_PLL_W::new(self, 27) } diff --git a/esp32p4/src/pmu/hp_modem_hp_regulator0.rs b/esp32p4/src/pmu/hp_modem_hp_regulator0.rs index 2df13ed05f..6403a1e948 100644 --- a/esp32p4/src/pmu/hp_modem_hp_regulator0.rs +++ b/esp32p4/src/pmu/hp_modem_hp_regulator0.rs @@ -21,7 +21,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 16 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_hp_regulator_slp_mem_xpd( &mut self, ) -> HP_MODEM_HP_REGULATOR_SLP_MEM_XPD_W { @@ -29,7 +28,6 @@ impl W { } #[doc = "Bit 17 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_hp_regulator_slp_logic_xpd( &mut self, ) -> HP_MODEM_HP_REGULATOR_SLP_LOGIC_XPD_W { @@ -37,7 +35,6 @@ impl W { } #[doc = "Bit 18 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_hp_regulator_xpd( &mut self, ) -> HP_MODEM_HP_REGULATOR_XPD_W { @@ -45,7 +42,6 @@ impl W { } #[doc = "Bits 19:22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_hp_regulator_slp_mem_dbias( &mut self, ) -> HP_MODEM_HP_REGULATOR_SLP_MEM_DBIAS_W { @@ -53,7 +49,6 @@ impl W { } #[doc = "Bits 23:26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_hp_regulator_slp_logic_dbias( &mut self, ) -> HP_MODEM_HP_REGULATOR_SLP_LOGIC_DBIAS_W { @@ -61,7 +56,6 @@ impl W { } #[doc = "Bits 27:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_hp_regulator_dbias( &mut self, ) -> HP_MODEM_HP_REGULATOR_DBIAS_W { diff --git a/esp32p4/src/pmu/hp_modem_hp_regulator1.rs b/esp32p4/src/pmu/hp_modem_hp_regulator1.rs index e88a5deb2f..aae09c88bc 100644 --- a/esp32p4/src/pmu/hp_modem_hp_regulator1.rs +++ b/esp32p4/src/pmu/hp_modem_hp_regulator1.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 8:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_hp_regulator_drv_b( &mut self, ) -> HP_MODEM_HP_REGULATOR_DRV_B_W { diff --git a/esp32p4/src/pmu/hp_modem_hp_sys_cntl.rs b/esp32p4/src/pmu/hp_modem_hp_sys_cntl.rs index a87e7a4e76..78c53300e0 100644 --- a/esp32p4/src/pmu/hp_modem_hp_sys_cntl.rs +++ b/esp32p4/src/pmu/hp_modem_hp_sys_cntl.rs @@ -23,7 +23,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 23 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_hp_power_det_bypass( &mut self, ) -> HP_MODEM_HP_POWER_DET_BYPASS_W { @@ -31,7 +30,6 @@ impl W { } #[doc = "Bit 24 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_uart_wakeup_en( &mut self, ) -> HP_MODEM_UART_WAKEUP_EN_W { @@ -39,7 +37,6 @@ impl W { } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_lp_pad_hold_all( &mut self, ) -> HP_MODEM_LP_PAD_HOLD_ALL_W { @@ -47,7 +44,6 @@ impl W { } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_hp_pad_hold_all( &mut self, ) -> HP_MODEM_HP_PAD_HOLD_ALL_W { @@ -55,7 +51,6 @@ impl W { } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_dig_pad_slp_sel( &mut self, ) -> HP_MODEM_DIG_PAD_SLP_SEL_W { @@ -63,7 +58,6 @@ impl W { } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_dig_pause_wdt( &mut self, ) -> HP_MODEM_DIG_PAUSE_WDT_W { @@ -71,7 +65,6 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_dig_cpu_stall( &mut self, ) -> HP_MODEM_DIG_CPU_STALL_W { diff --git a/esp32p4/src/pmu/hp_modem_icg_hp_apb.rs b/esp32p4/src/pmu/hp_modem_icg_hp_apb.rs index 91fa8f4e85..e1f1e005da 100644 --- a/esp32p4/src/pmu/hp_modem_icg_hp_apb.rs +++ b/esp32p4/src/pmu/hp_modem_icg_hp_apb.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_dig_icg_apb_en( &mut self, ) -> HP_MODEM_DIG_ICG_APB_EN_W { diff --git a/esp32p4/src/pmu/hp_modem_icg_hp_func.rs b/esp32p4/src/pmu/hp_modem_icg_hp_func.rs index 30bf085e09..1bba310cc4 100644 --- a/esp32p4/src/pmu/hp_modem_icg_hp_func.rs +++ b/esp32p4/src/pmu/hp_modem_icg_hp_func.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_dig_icg_func_en( &mut self, ) -> HP_MODEM_DIG_ICG_FUNC_EN_W { diff --git a/esp32p4/src/pmu/hp_modem_icg_modem.rs b/esp32p4/src/pmu/hp_modem_icg_modem.rs index 96ba744a04..b18a8936cb 100644 --- a/esp32p4/src/pmu/hp_modem_icg_modem.rs +++ b/esp32p4/src/pmu/hp_modem_icg_modem.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 30:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_dig_icg_modem_code( &mut self, ) -> HP_MODEM_DIG_ICG_MODEM_CODE_W { diff --git a/esp32p4/src/pmu/hp_modem_sysclk.rs b/esp32p4/src/pmu/hp_modem_sysclk.rs index 427b1df5cf..5f8ab85447 100644 --- a/esp32p4/src/pmu/hp_modem_sysclk.rs +++ b/esp32p4/src/pmu/hp_modem_sysclk.rs @@ -19,7 +19,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_dig_sys_clk_no_div( &mut self, ) -> HP_MODEM_DIG_SYS_CLK_NO_DIV_W { @@ -27,7 +26,6 @@ impl W { } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_icg_sys_clock_en( &mut self, ) -> HP_MODEM_ICG_SYS_CLOCK_EN_W { @@ -35,19 +33,16 @@ impl W { } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_sys_clk_slp_sel(&mut self) -> HP_MODEM_SYS_CLK_SLP_SEL_W { HP_MODEM_SYS_CLK_SLP_SEL_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_icg_slp_sel(&mut self) -> HP_MODEM_ICG_SLP_SEL_W { HP_MODEM_ICG_SLP_SEL_W::new(self, 29) } #[doc = "Bits 30:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_dig_sys_clk_sel(&mut self) -> HP_MODEM_DIG_SYS_CLK_SEL_W { HP_MODEM_DIG_SYS_CLK_SEL_W::new(self, 30) } diff --git a/esp32p4/src/pmu/hp_modem_xtal.rs b/esp32p4/src/pmu/hp_modem_xtal.rs index 447c271690..d052b9cc9e 100644 --- a/esp32p4/src/pmu/hp_modem_xtal.rs +++ b/esp32p4/src/pmu/hp_modem_xtal.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem_xpd_xtal(&mut self) -> HP_MODEM_XPD_XTAL_W { HP_MODEM_XPD_XTAL_W::new(self, 31) } diff --git a/esp32p4/src/pmu/hp_regulator_cfg.rs b/esp32p4/src/pmu/hp_regulator_cfg.rs index e9060b75bd..9c5ff927c9 100644 --- a/esp32p4/src/pmu/hp_regulator_cfg.rs +++ b/esp32p4/src/pmu/hp_regulator_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn dig_regulator_en_cal(&mut self) -> DIG_REGULATOR_EN_CAL_W { DIG_REGULATOR_EN_CAL_W::new(self, 31) } diff --git a/esp32p4/src/pmu/hp_sleep_backup.rs b/esp32p4/src/pmu/hp_sleep_backup.rs index 6a6f9e9a06..c57ad8f946 100644 --- a/esp32p4/src/pmu/hp_sleep_backup.rs +++ b/esp32p4/src/pmu/hp_sleep_backup.rs @@ -151,7 +151,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 6:7 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2sleep_backup_modem_clk_code( &mut self, ) -> HP_MODEM2SLEEP_BACKUP_MODEM_CLK_CODE_W { @@ -159,7 +158,6 @@ impl W { } #[doc = "Bits 8:9 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active2sleep_backup_modem_clk_code( &mut self, ) -> HP_ACTIVE2SLEEP_BACKUP_MODEM_CLK_CODE_W { @@ -167,13 +165,11 @@ impl W { } #[doc = "Bit 10 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_retention_mode(&mut self) -> HP_SLEEP_RETENTION_MODE_W { HP_SLEEP_RETENTION_MODE_W::new(self, 10) } #[doc = "Bit 12 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2sleep_retention_en( &mut self, ) -> HP_MODEM2SLEEP_RETENTION_EN_W { @@ -181,7 +177,6 @@ impl W { } #[doc = "Bit 13 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active2sleep_retention_en( &mut self, ) -> HP_ACTIVE2SLEEP_RETENTION_EN_W { @@ -189,7 +184,6 @@ impl W { } #[doc = "Bits 16:17 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2sleep_backup_clk_sel( &mut self, ) -> HP_MODEM2SLEEP_BACKUP_CLK_SEL_W { @@ -197,7 +191,6 @@ impl W { } #[doc = "Bits 18:19 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active2sleep_backup_clk_sel( &mut self, ) -> HP_ACTIVE2SLEEP_BACKUP_CLK_SEL_W { @@ -205,7 +198,6 @@ impl W { } #[doc = "Bits 23:25 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2sleep_backup_mode( &mut self, ) -> HP_MODEM2SLEEP_BACKUP_MODE_W { @@ -213,7 +205,6 @@ impl W { } #[doc = "Bits 26:28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active2sleep_backup_mode( &mut self, ) -> HP_ACTIVE2SLEEP_BACKUP_MODE_W { @@ -221,13 +212,11 @@ impl W { } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_modem2sleep_backup_en(&mut self) -> HP_MODEM2SLEEP_BACKUP_EN_W { HP_MODEM2SLEEP_BACKUP_EN_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_active2sleep_backup_en( &mut self, ) -> HP_ACTIVE2SLEEP_BACKUP_EN_W { diff --git a/esp32p4/src/pmu/hp_sleep_backup_clk.rs b/esp32p4/src/pmu/hp_sleep_backup_clk.rs index 6bf03c5d11..a45c0c4891 100644 --- a/esp32p4/src/pmu/hp_sleep_backup_clk.rs +++ b/esp32p4/src/pmu/hp_sleep_backup_clk.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_backup_icg_func_en( &mut self, ) -> HP_SLEEP_BACKUP_ICG_FUNC_EN_W { diff --git a/esp32p4/src/pmu/hp_sleep_bias.rs b/esp32p4/src/pmu/hp_sleep_bias.rs index 778331d9a7..fe615f7f67 100644 --- a/esp32p4/src/pmu/hp_sleep_bias.rs +++ b/esp32p4/src/pmu/hp_sleep_bias.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 18:22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_dcm_vset(&mut self) -> HP_SLEEP_DCM_VSET_W { HP_SLEEP_DCM_VSET_W::new(self, 18) } #[doc = "Bits 23:24 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_dcm_mode(&mut self) -> HP_SLEEP_DCM_MODE_W { HP_SLEEP_DCM_MODE_W::new(self, 23) } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_xpd_bias(&mut self) -> HP_SLEEP_XPD_BIAS_W { HP_SLEEP_XPD_BIAS_W::new(self, 25) } #[doc = "Bits 26:29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_dbg_atten(&mut self) -> HP_SLEEP_DBG_ATTEN_W { HP_SLEEP_DBG_ATTEN_W::new(self, 26) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_pd_cur(&mut self) -> HP_SLEEP_PD_CUR_W { HP_SLEEP_PD_CUR_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn sleep(&mut self) -> SLEEP_W { SLEEP_W::new(self, 31) } diff --git a/esp32p4/src/pmu/hp_sleep_dig_power.rs b/esp32p4/src/pmu/hp_sleep_dig_power.rs index 310b3d7a66..9b36943d02 100644 --- a/esp32p4/src/pmu/hp_sleep_dig_power.rs +++ b/esp32p4/src/pmu/hp_sleep_dig_power.rs @@ -67,7 +67,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 21 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_dcdc_switch_pd_en( &mut self, ) -> HP_SLEEP_DCDC_SWITCH_PD_EN_W { @@ -75,13 +74,11 @@ impl W { } #[doc = "Bit 22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_hp_mem_dslp(&mut self) -> HP_SLEEP_HP_MEM_DSLP_W { HP_SLEEP_HP_MEM_DSLP_W::new(self, 22) } #[doc = "Bit 23 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_pd_hp_mem_pd_en( &mut self, ) -> HP_SLEEP_PD_HP_MEM_PD_EN_W { @@ -89,13 +86,11 @@ impl W { } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_pd_cnnt_pd_en(&mut self) -> HP_SLEEP_PD_CNNT_PD_EN_W { HP_SLEEP_PD_CNNT_PD_EN_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_pd_top_pd_en(&mut self) -> HP_SLEEP_PD_TOP_PD_EN_W { HP_SLEEP_PD_TOP_PD_EN_W::new(self, 31) } diff --git a/esp32p4/src/pmu/hp_sleep_hp_ck_power.rs b/esp32p4/src/pmu/hp_sleep_hp_ck_power.rs index b07ac92990..fecd40be55 100644 --- a/esp32p4/src/pmu/hp_sleep_hp_ck_power.rs +++ b/esp32p4/src/pmu/hp_sleep_hp_ck_power.rs @@ -54,13 +54,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 21 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_i2c_iso_en(&mut self) -> HP_SLEEP_I2C_ISO_EN_W { HP_SLEEP_I2C_ISO_EN_W::new(self, 21) } #[doc = "Bit 22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_i2c_retention( &mut self, ) -> HP_SLEEP_I2C_RETENTION_W { @@ -68,13 +66,11 @@ impl W { } #[doc = "Bits 23:26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_xpd_pll_i2c(&mut self) -> HP_SLEEP_XPD_PLL_I2C_W { HP_SLEEP_XPD_PLL_I2C_W::new(self, 23) } #[doc = "Bits 27:30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_xpd_pll(&mut self) -> HP_SLEEP_XPD_PLL_W { HP_SLEEP_XPD_PLL_W::new(self, 27) } diff --git a/esp32p4/src/pmu/hp_sleep_hp_regulator0.rs b/esp32p4/src/pmu/hp_sleep_hp_regulator0.rs index b0db1a77b5..3c2e95ab40 100644 --- a/esp32p4/src/pmu/hp_sleep_hp_regulator0.rs +++ b/esp32p4/src/pmu/hp_sleep_hp_regulator0.rs @@ -92,7 +92,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 16 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_hp_regulator_slp_mem_xpd( &mut self, ) -> HP_SLEEP_HP_REGULATOR_SLP_MEM_XPD_W { @@ -100,7 +99,6 @@ impl W { } #[doc = "Bit 17 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_hp_regulator_slp_logic_xpd( &mut self, ) -> HP_SLEEP_HP_REGULATOR_SLP_LOGIC_XPD_W { @@ -108,7 +106,6 @@ impl W { } #[doc = "Bit 18 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_hp_regulator_xpd( &mut self, ) -> HP_SLEEP_HP_REGULATOR_XPD_W { @@ -116,7 +113,6 @@ impl W { } #[doc = "Bits 19:22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_hp_regulator_slp_mem_dbias( &mut self, ) -> HP_SLEEP_HP_REGULATOR_SLP_MEM_DBIAS_W { @@ -124,7 +120,6 @@ impl W { } #[doc = "Bits 23:26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_hp_regulator_slp_logic_dbias( &mut self, ) -> HP_SLEEP_HP_REGULATOR_SLP_LOGIC_DBIAS_W { @@ -132,7 +127,6 @@ impl W { } #[doc = "Bits 27:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_hp_regulator_dbias( &mut self, ) -> HP_SLEEP_HP_REGULATOR_DBIAS_W { diff --git a/esp32p4/src/pmu/hp_sleep_hp_regulator1.rs b/esp32p4/src/pmu/hp_sleep_hp_regulator1.rs index ab095dec07..6fac12cbf3 100644 --- a/esp32p4/src/pmu/hp_sleep_hp_regulator1.rs +++ b/esp32p4/src/pmu/hp_sleep_hp_regulator1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 26:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_hp_regulator_drv_b( &mut self, ) -> HP_SLEEP_HP_REGULATOR_DRV_B_W { diff --git a/esp32p4/src/pmu/hp_sleep_hp_sys_cntl.rs b/esp32p4/src/pmu/hp_sleep_hp_sys_cntl.rs index 511c761e96..f4013c1b81 100644 --- a/esp32p4/src/pmu/hp_sleep_hp_sys_cntl.rs +++ b/esp32p4/src/pmu/hp_sleep_hp_sys_cntl.rs @@ -87,7 +87,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 23 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_hp_power_det_bypass( &mut self, ) -> HP_SLEEP_HP_POWER_DET_BYPASS_W { @@ -95,7 +94,6 @@ impl W { } #[doc = "Bit 24 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_uart_wakeup_en( &mut self, ) -> HP_SLEEP_UART_WAKEUP_EN_W { @@ -103,7 +101,6 @@ impl W { } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_lp_pad_hold_all( &mut self, ) -> HP_SLEEP_LP_PAD_HOLD_ALL_W { @@ -111,7 +108,6 @@ impl W { } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_hp_pad_hold_all( &mut self, ) -> HP_SLEEP_HP_PAD_HOLD_ALL_W { @@ -119,7 +115,6 @@ impl W { } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_dig_pad_slp_sel( &mut self, ) -> HP_SLEEP_DIG_PAD_SLP_SEL_W { @@ -127,7 +122,6 @@ impl W { } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_dig_pause_wdt( &mut self, ) -> HP_SLEEP_DIG_PAUSE_WDT_W { @@ -135,7 +129,6 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_dig_cpu_stall( &mut self, ) -> HP_SLEEP_DIG_CPU_STALL_W { diff --git a/esp32p4/src/pmu/hp_sleep_icg_hp_apb.rs b/esp32p4/src/pmu/hp_sleep_icg_hp_apb.rs index f50ae2716f..1c100ebece 100644 --- a/esp32p4/src/pmu/hp_sleep_icg_hp_apb.rs +++ b/esp32p4/src/pmu/hp_sleep_icg_hp_apb.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_dig_icg_apb_en( &mut self, ) -> HP_SLEEP_DIG_ICG_APB_EN_W { diff --git a/esp32p4/src/pmu/hp_sleep_icg_hp_func.rs b/esp32p4/src/pmu/hp_sleep_icg_hp_func.rs index 6a772a5b66..b50ea585fc 100644 --- a/esp32p4/src/pmu/hp_sleep_icg_hp_func.rs +++ b/esp32p4/src/pmu/hp_sleep_icg_hp_func.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_dig_icg_func_en( &mut self, ) -> HP_SLEEP_DIG_ICG_FUNC_EN_W { diff --git a/esp32p4/src/pmu/hp_sleep_icg_modem.rs b/esp32p4/src/pmu/hp_sleep_icg_modem.rs index 1c65c25263..736f62b049 100644 --- a/esp32p4/src/pmu/hp_sleep_icg_modem.rs +++ b/esp32p4/src/pmu/hp_sleep_icg_modem.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 30:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_dig_icg_modem_code( &mut self, ) -> HP_SLEEP_DIG_ICG_MODEM_CODE_W { diff --git a/esp32p4/src/pmu/hp_sleep_lp_ck_power.rs b/esp32p4/src/pmu/hp_sleep_lp_ck_power.rs index eda3a86242..0bac83a467 100644 --- a/esp32p4/src/pmu/hp_sleep_lp_ck_power.rs +++ b/esp32p4/src/pmu/hp_sleep_lp_ck_power.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_xpd_lppll(&mut self) -> HP_SLEEP_XPD_LPPLL_W { HP_SLEEP_XPD_LPPLL_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_xpd_xtal32k(&mut self) -> HP_SLEEP_XPD_XTAL32K_W { HP_SLEEP_XPD_XTAL32K_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_xpd_rc32k(&mut self) -> HP_SLEEP_XPD_RC32K_W { HP_SLEEP_XPD_RC32K_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_xpd_fosc_clk(&mut self) -> HP_SLEEP_XPD_FOSC_CLK_W { HP_SLEEP_XPD_FOSC_CLK_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_pd_osc_clk(&mut self) -> HP_SLEEP_PD_OSC_CLK_W { HP_SLEEP_PD_OSC_CLK_W::new(self, 31) } diff --git a/esp32p4/src/pmu/hp_sleep_lp_dcdc_reserve.rs b/esp32p4/src/pmu/hp_sleep_lp_dcdc_reserve.rs index f7ee8007a9..e7f43b99d3 100644 --- a/esp32p4/src/pmu/hp_sleep_lp_dcdc_reserve.rs +++ b/esp32p4/src/pmu/hp_sleep_lp_dcdc_reserve.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn pmu_hp_sleep_lp_dcdc_reserve( &mut self, ) -> PMU_HP_SLEEP_LP_DCDC_RESERVE_W { diff --git a/esp32p4/src/pmu/hp_sleep_lp_dig_power.rs b/esp32p4/src/pmu/hp_sleep_lp_dig_power.rs index de2ba6f882..fe4d1f39c9 100644 --- a/esp32p4/src/pmu/hp_sleep_lp_dig_power.rs +++ b/esp32p4/src/pmu/hp_sleep_lp_dig_power.rs @@ -67,7 +67,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_lp_pad_slp_sel( &mut self, ) -> HP_SLEEP_LP_PAD_SLP_SEL_W { @@ -75,7 +74,6 @@ impl W { } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_bod_source_sel( &mut self, ) -> HP_SLEEP_BOD_SOURCE_SEL_W { @@ -83,19 +81,16 @@ impl W { } #[doc = "Bits 28:29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_vddbat_mode(&mut self) -> HP_SLEEP_VDDBAT_MODE_W { HP_SLEEP_VDDBAT_MODE_W::new(self, 28) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_lp_mem_dslp(&mut self) -> HP_SLEEP_LP_MEM_DSLP_W { HP_SLEEP_LP_MEM_DSLP_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_pd_lp_peri_pd_en( &mut self, ) -> HP_SLEEP_PD_LP_PERI_PD_EN_W { diff --git a/esp32p4/src/pmu/hp_sleep_lp_regulator0.rs b/esp32p4/src/pmu/hp_sleep_lp_regulator0.rs index a1aa018710..0a7ed2cfb0 100644 --- a/esp32p4/src/pmu/hp_sleep_lp_regulator0.rs +++ b/esp32p4/src/pmu/hp_sleep_lp_regulator0.rs @@ -66,7 +66,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 21 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_lp_regulator_slp_xpd( &mut self, ) -> HP_SLEEP_LP_REGULATOR_SLP_XPD_W { @@ -74,7 +73,6 @@ impl W { } #[doc = "Bit 22 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_lp_regulator_xpd( &mut self, ) -> HP_SLEEP_LP_REGULATOR_XPD_W { @@ -82,7 +80,6 @@ impl W { } #[doc = "Bits 23:26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_lp_regulator_slp_dbias( &mut self, ) -> HP_SLEEP_LP_REGULATOR_SLP_DBIAS_W { @@ -90,7 +87,6 @@ impl W { } #[doc = "Bits 27:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_lp_regulator_dbias( &mut self, ) -> HP_SLEEP_LP_REGULATOR_DBIAS_W { diff --git a/esp32p4/src/pmu/hp_sleep_lp_regulator1.rs b/esp32p4/src/pmu/hp_sleep_lp_regulator1.rs index 77da5250b2..124bf7a7c3 100644 --- a/esp32p4/src/pmu/hp_sleep_lp_regulator1.rs +++ b/esp32p4/src/pmu/hp_sleep_lp_regulator1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 26:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_lp_regulator_drv_b( &mut self, ) -> HP_SLEEP_LP_REGULATOR_DRV_B_W { diff --git a/esp32p4/src/pmu/hp_sleep_sysclk.rs b/esp32p4/src/pmu/hp_sleep_sysclk.rs index 0873e5ee63..6453997284 100644 --- a/esp32p4/src/pmu/hp_sleep_sysclk.rs +++ b/esp32p4/src/pmu/hp_sleep_sysclk.rs @@ -70,7 +70,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_dig_sys_clk_no_div( &mut self, ) -> HP_SLEEP_DIG_SYS_CLK_NO_DIV_W { @@ -78,7 +77,6 @@ impl W { } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_icg_sys_clock_en( &mut self, ) -> HP_SLEEP_ICG_SYS_CLOCK_EN_W { @@ -86,19 +84,16 @@ impl W { } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_sys_clk_slp_sel(&mut self) -> HP_SLEEP_SYS_CLK_SLP_SEL_W { HP_SLEEP_SYS_CLK_SLP_SEL_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_icg_slp_sel(&mut self) -> HP_SLEEP_ICG_SLP_SEL_W { HP_SLEEP_ICG_SLP_SEL_W::new(self, 29) } #[doc = "Bits 30:31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_dig_sys_clk_sel(&mut self) -> HP_SLEEP_DIG_SYS_CLK_SEL_W { HP_SLEEP_DIG_SYS_CLK_SEL_W::new(self, 30) } diff --git a/esp32p4/src/pmu/hp_sleep_xtal.rs b/esp32p4/src/pmu/hp_sleep_xtal.rs index 3f382cdf24..a2d7ca7739 100644 --- a/esp32p4/src/pmu/hp_sleep_xtal.rs +++ b/esp32p4/src/pmu/hp_sleep_xtal.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sleep_xpd_xtal(&mut self) -> HP_SLEEP_XPD_XTAL_W { HP_SLEEP_XPD_XTAL_W::new(self, 31) } diff --git a/esp32p4/src/pmu/imm_hp_apb_icg.rs b/esp32p4/src/pmu/imm_hp_apb_icg.rs index 3b3fc966b3..df5a3ade8f 100644 --- a/esp32p4/src/pmu/imm_hp_apb_icg.rs +++ b/esp32p4/src/pmu/imm_hp_apb_icg.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn update_dig_icg_apb_en(&mut self) -> UPDATE_DIG_ICG_APB_EN_W { UPDATE_DIG_ICG_APB_EN_W::new(self, 31) } diff --git a/esp32p4/src/pmu/imm_hp_ck_power.rs b/esp32p4/src/pmu/imm_hp_ck_power.rs index adbb622748..5161f96f95 100644 --- a/esp32p4/src/pmu/imm_hp_ck_power.rs +++ b/esp32p4/src/pmu/imm_hp_ck_power.rs @@ -58,85 +58,71 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_cali_xtal_icg(&mut self) -> TIE_LOW_CALI_XTAL_ICG_W { TIE_LOW_CALI_XTAL_ICG_W::new(self, 0) } #[doc = "Bits 1:4 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_global_pll_icg(&mut self) -> TIE_LOW_GLOBAL_PLL_ICG_W { TIE_LOW_GLOBAL_PLL_ICG_W::new(self, 1) } #[doc = "Bit 5 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_global_xtal_icg(&mut self) -> TIE_LOW_GLOBAL_XTAL_ICG_W { TIE_LOW_GLOBAL_XTAL_ICG_W::new(self, 5) } #[doc = "Bit 6 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_i2c_retention(&mut self) -> TIE_LOW_I2C_RETENTION_W { TIE_LOW_I2C_RETENTION_W::new(self, 6) } #[doc = "Bits 7:10 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_xpd_pll_i2c(&mut self) -> TIE_LOW_XPD_PLL_I2C_W { TIE_LOW_XPD_PLL_I2C_W::new(self, 7) } #[doc = "Bits 11:14 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_xpd_pll(&mut self) -> TIE_LOW_XPD_PLL_W { TIE_LOW_XPD_PLL_W::new(self, 11) } #[doc = "Bit 15 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_xpd_xtal(&mut self) -> TIE_LOW_XPD_XTAL_W { TIE_LOW_XPD_XTAL_W::new(self, 15) } #[doc = "Bit 16 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_cali_xtal_icg(&mut self) -> TIE_HIGH_CALI_XTAL_ICG_W { TIE_HIGH_CALI_XTAL_ICG_W::new(self, 16) } #[doc = "Bits 17:20 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_global_pll_icg(&mut self) -> TIE_HIGH_GLOBAL_PLL_ICG_W { TIE_HIGH_GLOBAL_PLL_ICG_W::new(self, 17) } #[doc = "Bit 21 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_global_xtal_icg(&mut self) -> TIE_HIGH_GLOBAL_XTAL_ICG_W { TIE_HIGH_GLOBAL_XTAL_ICG_W::new(self, 21) } #[doc = "Bit 22 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_i2c_retention(&mut self) -> TIE_HIGH_I2C_RETENTION_W { TIE_HIGH_I2C_RETENTION_W::new(self, 22) } #[doc = "Bits 23:26 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_xpd_pll_i2c(&mut self) -> TIE_HIGH_XPD_PLL_I2C_W { TIE_HIGH_XPD_PLL_I2C_W::new(self, 23) } #[doc = "Bits 27:30 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_xpd_pll(&mut self) -> TIE_HIGH_XPD_PLL_W { TIE_HIGH_XPD_PLL_W::new(self, 27) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_xpd_xtal(&mut self) -> TIE_HIGH_XPD_XTAL_W { TIE_HIGH_XPD_XTAL_W::new(self, 31) } diff --git a/esp32p4/src/pmu/imm_hp_func_icg.rs b/esp32p4/src/pmu/imm_hp_func_icg.rs index 8000f18ab4..dfdf10bdda 100644 --- a/esp32p4/src/pmu/imm_hp_func_icg.rs +++ b/esp32p4/src/pmu/imm_hp_func_icg.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn update_dig_icg_func_en(&mut self) -> UPDATE_DIG_ICG_FUNC_EN_W { UPDATE_DIG_ICG_FUNC_EN_W::new(self, 31) } diff --git a/esp32p4/src/pmu/imm_i2c_iso.rs b/esp32p4/src/pmu/imm_i2c_iso.rs index c39507b619..b3c13e0144 100644 --- a/esp32p4/src/pmu/imm_i2c_iso.rs +++ b/esp32p4/src/pmu/imm_i2c_iso.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_i2c_iso_en(&mut self) -> TIE_HIGH_I2C_ISO_EN_W { TIE_HIGH_I2C_ISO_EN_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_i2c_iso_en(&mut self) -> TIE_LOW_I2C_ISO_EN_W { TIE_LOW_I2C_ISO_EN_W::new(self, 31) } diff --git a/esp32p4/src/pmu/imm_lp_icg.rs b/esp32p4/src/pmu/imm_lp_icg.rs index e91b571eaa..f531bddf91 100644 --- a/esp32p4/src/pmu/imm_lp_icg.rs +++ b/esp32p4/src/pmu/imm_lp_icg.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_lp_rootclk_sel(&mut self) -> TIE_LOW_LP_ROOTCLK_SEL_W { TIE_LOW_LP_ROOTCLK_SEL_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_lp_rootclk_sel(&mut self) -> TIE_HIGH_LP_ROOTCLK_SEL_W { TIE_HIGH_LP_ROOTCLK_SEL_W::new(self, 31) } diff --git a/esp32p4/src/pmu/imm_modem_icg.rs b/esp32p4/src/pmu/imm_modem_icg.rs index 3a1b7629bc..3de95c17f4 100644 --- a/esp32p4/src/pmu/imm_modem_icg.rs +++ b/esp32p4/src/pmu/imm_modem_icg.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn update_dig_icg_modem_en(&mut self) -> UPDATE_DIG_ICG_MODEM_EN_W { UPDATE_DIG_ICG_MODEM_EN_W::new(self, 31) } diff --git a/esp32p4/src/pmu/imm_pad_hold_all.rs b/esp32p4/src/pmu/imm_pad_hold_all.rs index 8b4f3e3397..9361cca1a1 100644 --- a/esp32p4/src/pmu/imm_pad_hold_all.rs +++ b/esp32p4/src/pmu/imm_pad_hold_all.rs @@ -50,19 +50,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_pad_slp_sel(&mut self) -> TIE_HIGH_PAD_SLP_SEL_W { TIE_HIGH_PAD_SLP_SEL_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_pad_slp_sel(&mut self) -> TIE_LOW_PAD_SLP_SEL_W { TIE_LOW_PAD_SLP_SEL_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_lp_pad_hold_all( &mut self, ) -> TIE_HIGH_LP_PAD_HOLD_ALL_W { @@ -70,13 +67,11 @@ impl W { } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_lp_pad_hold_all(&mut self) -> TIE_LOW_LP_PAD_HOLD_ALL_W { TIE_LOW_LP_PAD_HOLD_ALL_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_hp_pad_hold_all( &mut self, ) -> TIE_HIGH_HP_PAD_HOLD_ALL_W { @@ -84,7 +79,6 @@ impl W { } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_hp_pad_hold_all(&mut self) -> TIE_LOW_HP_PAD_HOLD_ALL_W { TIE_LOW_HP_PAD_HOLD_ALL_W::new(self, 31) } diff --git a/esp32p4/src/pmu/imm_sleep_sysclk.rs b/esp32p4/src/pmu/imm_sleep_sysclk.rs index 107b9c732b..6072f2a048 100644 --- a/esp32p4/src/pmu/imm_sleep_sysclk.rs +++ b/esp32p4/src/pmu/imm_sleep_sysclk.rs @@ -17,25 +17,21 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn update_dig_icg_switch(&mut self) -> UPDATE_DIG_ICG_SWITCH_W { UPDATE_DIG_ICG_SWITCH_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn tie_low_icg_slp_sel(&mut self) -> TIE_LOW_ICG_SLP_SEL_W { TIE_LOW_ICG_SLP_SEL_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn tie_high_icg_slp_sel(&mut self) -> TIE_HIGH_ICG_SLP_SEL_W { TIE_HIGH_ICG_SLP_SEL_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn update_dig_sys_clk_sel(&mut self) -> UPDATE_DIG_SYS_CLK_SEL_W { UPDATE_DIG_SYS_CLK_SEL_W::new(self, 31) } diff --git a/esp32p4/src/pmu/int_clr.rs b/esp32p4/src/pmu/int_clr.rs index 7d9e4ab7d4..9625025337 100644 --- a/esp32p4/src/pmu/int_clr.rs +++ b/esp32p4/src/pmu/int_clr.rs @@ -43,103 +43,86 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 14 - reg_0p1a_0_counter after xpd reach target0"] #[inline(always)] - #[must_use] pub fn _0p1a_cnt_target0_reach_0_hp(&mut self) -> _0P1A_CNT_TARGET0_REACH_0_HP_W { _0P1A_CNT_TARGET0_REACH_0_HP_W::new(self, 14) } #[doc = "Bit 15 - reg_0p1a_1_counter after xpd reach target1"] #[inline(always)] - #[must_use] pub fn _0p1a_cnt_target1_reach_0_hp(&mut self) -> _0P1A_CNT_TARGET1_REACH_0_HP_W { _0P1A_CNT_TARGET1_REACH_0_HP_W::new(self, 15) } #[doc = "Bit 16 - reg_0p1a_0 counter after xpd reach target0"] #[inline(always)] - #[must_use] pub fn _0p1a_cnt_target0_reach_1_hp(&mut self) -> _0P1A_CNT_TARGET0_REACH_1_HP_W { _0P1A_CNT_TARGET0_REACH_1_HP_W::new(self, 16) } #[doc = "Bit 17 - reg_0p1a_1_counter after xpd reach target1"] #[inline(always)] - #[must_use] pub fn _0p1a_cnt_target1_reach_1_hp(&mut self) -> _0P1A_CNT_TARGET1_REACH_1_HP_W { _0P1A_CNT_TARGET1_REACH_1_HP_W::new(self, 17) } #[doc = "Bit 18 - reg_0p2a_0 counter after xpd reach target0"] #[inline(always)] - #[must_use] pub fn _0p2a_cnt_target0_reach_0_hp(&mut self) -> _0P2A_CNT_TARGET0_REACH_0_HP_W { _0P2A_CNT_TARGET0_REACH_0_HP_W::new(self, 18) } #[doc = "Bit 19 - reg_0p2a_1_counter after xpd reach target1"] #[inline(always)] - #[must_use] pub fn _0p2a_cnt_target1_reach_0_hp(&mut self) -> _0P2A_CNT_TARGET1_REACH_0_HP_W { _0P2A_CNT_TARGET1_REACH_0_HP_W::new(self, 19) } #[doc = "Bit 20 - reg_0p2a_0 counter after xpd reach target0"] #[inline(always)] - #[must_use] pub fn _0p2a_cnt_target0_reach_1_hp(&mut self) -> _0P2A_CNT_TARGET0_REACH_1_HP_W { _0P2A_CNT_TARGET0_REACH_1_HP_W::new(self, 20) } #[doc = "Bit 21 - reg_0p2a_1_counter after xpd reach target1"] #[inline(always)] - #[must_use] pub fn _0p2a_cnt_target1_reach_1_hp(&mut self) -> _0P2A_CNT_TARGET1_REACH_1_HP_W { _0P2A_CNT_TARGET1_REACH_1_HP_W::new(self, 21) } #[doc = "Bit 22 - reg_0p3a_0 counter after xpd reach target0"] #[inline(always)] - #[must_use] pub fn _0p3a_cnt_target0_reach_0_hp(&mut self) -> _0P3A_CNT_TARGET0_REACH_0_HP_W { _0P3A_CNT_TARGET0_REACH_0_HP_W::new(self, 22) } #[doc = "Bit 23 - reg_0p3a_1_counter after xpd reach target1"] #[inline(always)] - #[must_use] pub fn _0p3a_cnt_target1_reach_0_hp(&mut self) -> _0P3A_CNT_TARGET1_REACH_0_HP_W { _0P3A_CNT_TARGET1_REACH_0_HP_W::new(self, 23) } #[doc = "Bit 24 - reg_0p3a_0_counter after xpd reach target0"] #[inline(always)] - #[must_use] pub fn _0p3a_cnt_target0_reach_1_hp(&mut self) -> _0P3A_CNT_TARGET0_REACH_1_HP_W { _0P3A_CNT_TARGET0_REACH_1_HP_W::new(self, 24) } #[doc = "Bit 25 - reg_0p3a_1_counter after xpd reach target1"] #[inline(always)] - #[must_use] pub fn _0p3a_cnt_target1_reach_1_hp(&mut self) -> _0P3A_CNT_TARGET1_REACH_1_HP_W { _0P3A_CNT_TARGET1_REACH_1_HP_W::new(self, 25) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_exc(&mut self) -> LP_CPU_EXC_W { LP_CPU_EXC_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn sdio_idle(&mut self) -> SDIO_IDLE_W { SDIO_IDLE_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn sw(&mut self) -> SW_W { SW_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn soc_sleep_reject(&mut self) -> SOC_SLEEP_REJECT_W { SOC_SLEEP_REJECT_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn soc_wakeup(&mut self) -> SOC_WAKEUP_W { SOC_WAKEUP_W::new(self, 31) } diff --git a/esp32p4/src/pmu/int_ena.rs b/esp32p4/src/pmu/int_ena.rs index 925820ef17..63f4a64532 100644 --- a/esp32p4/src/pmu/int_ena.rs +++ b/esp32p4/src/pmu/int_ena.rs @@ -220,103 +220,86 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 14 - reg_0p1a_0_counter after xpd reach target0"] #[inline(always)] - #[must_use] pub fn _0p1a_cnt_target0_reach_0_hp(&mut self) -> _0P1A_CNT_TARGET0_REACH_0_HP_W { _0P1A_CNT_TARGET0_REACH_0_HP_W::new(self, 14) } #[doc = "Bit 15 - reg_0p1a_1_counter after xpd reach target1"] #[inline(always)] - #[must_use] pub fn _0p1a_cnt_target1_reach_0_hp(&mut self) -> _0P1A_CNT_TARGET1_REACH_0_HP_W { _0P1A_CNT_TARGET1_REACH_0_HP_W::new(self, 15) } #[doc = "Bit 16 - reg_0p1a_0 counter after xpd reach target0"] #[inline(always)] - #[must_use] pub fn _0p1a_cnt_target0_reach_1_hp(&mut self) -> _0P1A_CNT_TARGET0_REACH_1_HP_W { _0P1A_CNT_TARGET0_REACH_1_HP_W::new(self, 16) } #[doc = "Bit 17 - reg_0p1a_1_counter after xpd reach target1"] #[inline(always)] - #[must_use] pub fn _0p1a_cnt_target1_reach_1_hp(&mut self) -> _0P1A_CNT_TARGET1_REACH_1_HP_W { _0P1A_CNT_TARGET1_REACH_1_HP_W::new(self, 17) } #[doc = "Bit 18 - reg_0p2a_0 counter after xpd reach target0"] #[inline(always)] - #[must_use] pub fn _0p2a_cnt_target0_reach_0_hp(&mut self) -> _0P2A_CNT_TARGET0_REACH_0_HP_W { _0P2A_CNT_TARGET0_REACH_0_HP_W::new(self, 18) } #[doc = "Bit 19 - reg_0p2a_1_counter after xpd reach target1"] #[inline(always)] - #[must_use] pub fn _0p2a_cnt_target1_reach_0_hp(&mut self) -> _0P2A_CNT_TARGET1_REACH_0_HP_W { _0P2A_CNT_TARGET1_REACH_0_HP_W::new(self, 19) } #[doc = "Bit 20 - reg_0p2a_0 counter after xpd reach target0"] #[inline(always)] - #[must_use] pub fn _0p2a_cnt_target0_reach_1_hp(&mut self) -> _0P2A_CNT_TARGET0_REACH_1_HP_W { _0P2A_CNT_TARGET0_REACH_1_HP_W::new(self, 20) } #[doc = "Bit 21 - reg_0p2a_1_counter after xpd reach target1"] #[inline(always)] - #[must_use] pub fn _0p2a_cnt_target1_reach_1_hp(&mut self) -> _0P2A_CNT_TARGET1_REACH_1_HP_W { _0P2A_CNT_TARGET1_REACH_1_HP_W::new(self, 21) } #[doc = "Bit 22 - reg_0p3a_0 counter after xpd reach target0"] #[inline(always)] - #[must_use] pub fn _0p3a_cnt_target0_reach_0_hp(&mut self) -> _0P3A_CNT_TARGET0_REACH_0_HP_W { _0P3A_CNT_TARGET0_REACH_0_HP_W::new(self, 22) } #[doc = "Bit 23 - reg_0p3a_1_counter after xpd reach target1"] #[inline(always)] - #[must_use] pub fn _0p3a_cnt_target1_reach_0_hp(&mut self) -> _0P3A_CNT_TARGET1_REACH_0_HP_W { _0P3A_CNT_TARGET1_REACH_0_HP_W::new(self, 23) } #[doc = "Bit 24 - reg_0p3a_0_counter after xpd reach target0"] #[inline(always)] - #[must_use] pub fn _0p3a_cnt_target0_reach_1_hp(&mut self) -> _0P3A_CNT_TARGET0_REACH_1_HP_W { _0P3A_CNT_TARGET0_REACH_1_HP_W::new(self, 24) } #[doc = "Bit 25 - reg_0p3a_1_counter after xpd reach target1"] #[inline(always)] - #[must_use] pub fn _0p3a_cnt_target1_reach_1_hp(&mut self) -> _0P3A_CNT_TARGET1_REACH_1_HP_W { _0P3A_CNT_TARGET1_REACH_1_HP_W::new(self, 25) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_exc(&mut self) -> LP_CPU_EXC_W { LP_CPU_EXC_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn sdio_idle(&mut self) -> SDIO_IDLE_W { SDIO_IDLE_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn sw(&mut self) -> SW_W { SW_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn soc_sleep_reject(&mut self) -> SOC_SLEEP_REJECT_W { SOC_SLEEP_REJECT_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn soc_wakeup(&mut self) -> SOC_WAKEUP_W { SOC_WAKEUP_W::new(self, 31) } diff --git a/esp32p4/src/pmu/int_raw.rs b/esp32p4/src/pmu/int_raw.rs index 00343d3091..699db97199 100644 --- a/esp32p4/src/pmu/int_raw.rs +++ b/esp32p4/src/pmu/int_raw.rs @@ -220,103 +220,86 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 14 - reg_0p1a_0_counter after xpd reach target0"] #[inline(always)] - #[must_use] pub fn _0p1a_cnt_target0_reach_0_hp(&mut self) -> _0P1A_CNT_TARGET0_REACH_0_HP_W { _0P1A_CNT_TARGET0_REACH_0_HP_W::new(self, 14) } #[doc = "Bit 15 - reg_0p1a_1_counter after xpd reach target1"] #[inline(always)] - #[must_use] pub fn _0p1a_cnt_target1_reach_0_hp(&mut self) -> _0P1A_CNT_TARGET1_REACH_0_HP_W { _0P1A_CNT_TARGET1_REACH_0_HP_W::new(self, 15) } #[doc = "Bit 16 - reg_0p1a_0 counter after xpd reach target0"] #[inline(always)] - #[must_use] pub fn _0p1a_cnt_target0_reach_1_hp(&mut self) -> _0P1A_CNT_TARGET0_REACH_1_HP_W { _0P1A_CNT_TARGET0_REACH_1_HP_W::new(self, 16) } #[doc = "Bit 17 - reg_0p1a_1_counter after xpd reach target1"] #[inline(always)] - #[must_use] pub fn _0p1a_cnt_target1_reach_1_hp(&mut self) -> _0P1A_CNT_TARGET1_REACH_1_HP_W { _0P1A_CNT_TARGET1_REACH_1_HP_W::new(self, 17) } #[doc = "Bit 18 - reg_0p2a_0 counter after xpd reach target0"] #[inline(always)] - #[must_use] pub fn _0p2a_cnt_target0_reach_0_hp(&mut self) -> _0P2A_CNT_TARGET0_REACH_0_HP_W { _0P2A_CNT_TARGET0_REACH_0_HP_W::new(self, 18) } #[doc = "Bit 19 - reg_0p2a_1_counter after xpd reach target1"] #[inline(always)] - #[must_use] pub fn _0p2a_cnt_target1_reach_0_hp(&mut self) -> _0P2A_CNT_TARGET1_REACH_0_HP_W { _0P2A_CNT_TARGET1_REACH_0_HP_W::new(self, 19) } #[doc = "Bit 20 - reg_0p2a_0 counter after xpd reach target0"] #[inline(always)] - #[must_use] pub fn _0p2a_cnt_target0_reach_1_hp(&mut self) -> _0P2A_CNT_TARGET0_REACH_1_HP_W { _0P2A_CNT_TARGET0_REACH_1_HP_W::new(self, 20) } #[doc = "Bit 21 - reg_0p2a_1_counter after xpd reach target1"] #[inline(always)] - #[must_use] pub fn _0p2a_cnt_target1_reach_1_hp(&mut self) -> _0P2A_CNT_TARGET1_REACH_1_HP_W { _0P2A_CNT_TARGET1_REACH_1_HP_W::new(self, 21) } #[doc = "Bit 22 - reg_0p3a_0 counter after xpd reach target0"] #[inline(always)] - #[must_use] pub fn _0p3a_cnt_target0_reach_0_hp(&mut self) -> _0P3A_CNT_TARGET0_REACH_0_HP_W { _0P3A_CNT_TARGET0_REACH_0_HP_W::new(self, 22) } #[doc = "Bit 23 - reg_0p3a_1_counter after xpd reach target1"] #[inline(always)] - #[must_use] pub fn _0p3a_cnt_target1_reach_0_hp(&mut self) -> _0P3A_CNT_TARGET1_REACH_0_HP_W { _0P3A_CNT_TARGET1_REACH_0_HP_W::new(self, 23) } #[doc = "Bit 24 - reg_0p3a_0_counter after xpd reach target0"] #[inline(always)] - #[must_use] pub fn _0p3a_cnt_target0_reach_1_hp(&mut self) -> _0P3A_CNT_TARGET0_REACH_1_HP_W { _0P3A_CNT_TARGET0_REACH_1_HP_W::new(self, 24) } #[doc = "Bit 25 - reg_0p3a_1_counter after xpd reach target1"] #[inline(always)] - #[must_use] pub fn _0p3a_cnt_target1_reach_1_hp(&mut self) -> _0P3A_CNT_TARGET1_REACH_1_HP_W { _0P3A_CNT_TARGET1_REACH_1_HP_W::new(self, 25) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_exc(&mut self) -> LP_CPU_EXC_W { LP_CPU_EXC_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn sdio_idle(&mut self) -> SDIO_IDLE_W { SDIO_IDLE_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn sw(&mut self) -> SW_W { SW_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn soc_sleep_reject(&mut self) -> SOC_SLEEP_REJECT_W { SOC_SLEEP_REJECT_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn soc_wakeup(&mut self) -> SOC_WAKEUP_W { SOC_WAKEUP_W::new(self, 31) } diff --git a/esp32p4/src/pmu/lp_cpu_pwr0.rs b/esp32p4/src/pmu/lp_cpu_pwr0.rs index 0cb5ba299f..9a77237497 100644 --- a/esp32p4/src/pmu/lp_cpu_pwr0.rs +++ b/esp32p4/src/pmu/lp_cpu_pwr0.rs @@ -103,43 +103,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 18 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_force_stall(&mut self) -> LP_CPU_FORCE_STALL_W { LP_CPU_FORCE_STALL_W::new(self, 18) } #[doc = "Bit 19 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_slp_waiti_flag_en(&mut self) -> LP_CPU_SLP_WAITI_FLAG_EN_W { LP_CPU_SLP_WAITI_FLAG_EN_W::new(self, 19) } #[doc = "Bit 20 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_slp_stall_flag_en(&mut self) -> LP_CPU_SLP_STALL_FLAG_EN_W { LP_CPU_SLP_STALL_FLAG_EN_W::new(self, 20) } #[doc = "Bits 21:28 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_slp_stall_wait(&mut self) -> LP_CPU_SLP_STALL_WAIT_W { LP_CPU_SLP_STALL_WAIT_W::new(self, 21) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_slp_stall_en(&mut self) -> LP_CPU_SLP_STALL_EN_W { LP_CPU_SLP_STALL_EN_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_slp_reset_en(&mut self) -> LP_CPU_SLP_RESET_EN_W { LP_CPU_SLP_RESET_EN_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_slp_bypass_intr_en(&mut self) -> LP_CPU_SLP_BYPASS_INTR_EN_W { LP_CPU_SLP_BYPASS_INTR_EN_W::new(self, 31) } diff --git a/esp32p4/src/pmu/lp_cpu_pwr1.rs b/esp32p4/src/pmu/lp_cpu_pwr1.rs index cdf0bb15d3..485fdfb639 100644 --- a/esp32p4/src/pmu/lp_cpu_pwr1.rs +++ b/esp32p4/src/pmu/lp_cpu_pwr1.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_sleep_req(&mut self) -> LP_CPU_SLEEP_REQ_W { LP_CPU_SLEEP_REQ_W::new(self, 31) } diff --git a/esp32p4/src/pmu/lp_cpu_pwr2.rs b/esp32p4/src/pmu/lp_cpu_pwr2.rs index 9412cdd6ad..4b3ab2f069 100644 --- a/esp32p4/src/pmu/lp_cpu_pwr2.rs +++ b/esp32p4/src/pmu/lp_cpu_pwr2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_wakeup_en(&mut self) -> LP_CPU_WAKEUP_EN_W { LP_CPU_WAKEUP_EN_W::new(self, 0) } diff --git a/esp32p4/src/pmu/lp_cpu_pwr4.rs b/esp32p4/src/pmu/lp_cpu_pwr4.rs index 9c5e7352f3..ff4ec2ccab 100644 --- a/esp32p4/src/pmu/lp_cpu_pwr4.rs +++ b/esp32p4/src/pmu/lp_cpu_pwr4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_reject_en(&mut self) -> LP_CPU_REJECT_EN_W { LP_CPU_REJECT_EN_W::new(self, 0) } diff --git a/esp32p4/src/pmu/lp_int_clr.rs b/esp32p4/src/pmu/lp_int_clr.rs index 6ce7465c68..c900ce731b 100644 --- a/esp32p4/src/pmu/lp_int_clr.rs +++ b/esp32p4/src/pmu/lp_int_clr.rs @@ -47,13 +47,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 13 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_sleep_reject_lp(&mut self) -> LP_CPU_SLEEP_REJECT_LP_W { LP_CPU_SLEEP_REJECT_LP_W::new(self, 13) } #[doc = "Bit 14 - reg_0p1a_0_counter after xpd reach target0"] #[inline(always)] - #[must_use] pub fn _0p1a_cnt_target0_reach_0_lp( &mut self, ) -> _0P1A_CNT_TARGET0_REACH_0_LP_W { @@ -61,7 +59,6 @@ impl W { } #[doc = "Bit 15 - reg_0p1a_1_counter after xpd reach target1"] #[inline(always)] - #[must_use] pub fn _0p1a_cnt_target1_reach_0_lp( &mut self, ) -> _0P1A_CNT_TARGET1_REACH_0_LP_W { @@ -69,7 +66,6 @@ impl W { } #[doc = "Bit 16 - reg_0p1a_0 counter after xpd reach target0"] #[inline(always)] - #[must_use] pub fn _0p1a_cnt_target0_reach_1_lp( &mut self, ) -> _0P1A_CNT_TARGET0_REACH_1_LP_W { @@ -77,7 +73,6 @@ impl W { } #[doc = "Bit 17 - reg_0p1a_1_counter after xpd reach target1"] #[inline(always)] - #[must_use] pub fn _0p1a_cnt_target1_reach_1_lp( &mut self, ) -> _0P1A_CNT_TARGET1_REACH_1_LP_W { @@ -85,7 +80,6 @@ impl W { } #[doc = "Bit 18 - reg_0p2a_0 counter after xpd reach target0"] #[inline(always)] - #[must_use] pub fn _0p2a_cnt_target0_reach_0_lp( &mut self, ) -> _0P2A_CNT_TARGET0_REACH_0_LP_W { @@ -93,7 +87,6 @@ impl W { } #[doc = "Bit 19 - reg_0p2a_1_counter after xpd reach target1"] #[inline(always)] - #[must_use] pub fn _0p2a_cnt_target1_reach_0_lp( &mut self, ) -> _0P2A_CNT_TARGET1_REACH_0_LP_W { @@ -101,7 +94,6 @@ impl W { } #[doc = "Bit 20 - reg_0p2a_0 counter after xpd reach target0"] #[inline(always)] - #[must_use] pub fn _0p2a_cnt_target0_reach_1_lp( &mut self, ) -> _0P2A_CNT_TARGET0_REACH_1_LP_W { @@ -109,7 +101,6 @@ impl W { } #[doc = "Bit 21 - reg_0p2a_1_counter after xpd reach target1"] #[inline(always)] - #[must_use] pub fn _0p2a_cnt_target1_reach_1_lp( &mut self, ) -> _0P2A_CNT_TARGET1_REACH_1_LP_W { @@ -117,7 +108,6 @@ impl W { } #[doc = "Bit 22 - reg_0p3a_0 counter after xpd reach target0"] #[inline(always)] - #[must_use] pub fn _0p3a_cnt_target0_reach_0_lp( &mut self, ) -> _0P3A_CNT_TARGET0_REACH_0_LP_W { @@ -125,7 +115,6 @@ impl W { } #[doc = "Bit 23 - reg_0p3a_1_counter after xpd reach target1"] #[inline(always)] - #[must_use] pub fn _0p3a_cnt_target1_reach_0_lp( &mut self, ) -> _0P3A_CNT_TARGET1_REACH_0_LP_W { @@ -133,7 +122,6 @@ impl W { } #[doc = "Bit 24 - reg_0p3a_0_counter after xpd reach target0"] #[inline(always)] - #[must_use] pub fn _0p3a_cnt_target0_reach_1_lp( &mut self, ) -> _0P3A_CNT_TARGET0_REACH_1_LP_W { @@ -141,7 +129,6 @@ impl W { } #[doc = "Bit 25 - reg_0p3a_1_counter after xpd reach target1"] #[inline(always)] - #[must_use] pub fn _0p3a_cnt_target1_reach_1_lp( &mut self, ) -> _0P3A_CNT_TARGET1_REACH_1_LP_W { @@ -149,37 +136,31 @@ impl W { } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_wakeup(&mut self) -> LP_CPU_WAKEUP_W { LP_CPU_WAKEUP_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_active_end(&mut self) -> SLEEP_SWITCH_ACTIVE_END_W { SLEEP_SWITCH_ACTIVE_END_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn active_switch_sleep_end(&mut self) -> ACTIVE_SWITCH_SLEEP_END_W { ACTIVE_SWITCH_SLEEP_END_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_active_start(&mut self) -> SLEEP_SWITCH_ACTIVE_START_W { SLEEP_SWITCH_ACTIVE_START_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn active_switch_sleep_start(&mut self) -> ACTIVE_SWITCH_SLEEP_START_W { ACTIVE_SWITCH_SLEEP_START_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sw_trigger(&mut self) -> HP_SW_TRIGGER_W { HP_SW_TRIGGER_W::new(self, 31) } diff --git a/esp32p4/src/pmu/lp_int_ena.rs b/esp32p4/src/pmu/lp_int_ena.rs index 9d6c9d3c4d..f6207b5a6e 100644 --- a/esp32p4/src/pmu/lp_int_ena.rs +++ b/esp32p4/src/pmu/lp_int_ena.rs @@ -246,13 +246,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_sleep_reject(&mut self) -> LP_CPU_SLEEP_REJECT_W { LP_CPU_SLEEP_REJECT_W::new(self, 13) } #[doc = "Bit 14 - reg_0p1a_0_counter after xpd reach target0"] #[inline(always)] - #[must_use] pub fn _0p1a_cnt_target0_reach_0_lp( &mut self, ) -> _0P1A_CNT_TARGET0_REACH_0_LP_W { @@ -260,7 +258,6 @@ impl W { } #[doc = "Bit 15 - reg_0p1a_1_counter after xpd reach target1"] #[inline(always)] - #[must_use] pub fn _0p1a_cnt_target1_reach_0_lp( &mut self, ) -> _0P1A_CNT_TARGET1_REACH_0_LP_W { @@ -268,7 +265,6 @@ impl W { } #[doc = "Bit 16 - reg_0p1a_0 counter after xpd reach target0"] #[inline(always)] - #[must_use] pub fn _0p1a_cnt_target0_reach_1_lp( &mut self, ) -> _0P1A_CNT_TARGET0_REACH_1_LP_W { @@ -276,7 +272,6 @@ impl W { } #[doc = "Bit 17 - reg_0p1a_1_counter after xpd reach target1"] #[inline(always)] - #[must_use] pub fn _0p1a_cnt_target1_reach_1_lp( &mut self, ) -> _0P1A_CNT_TARGET1_REACH_1_LP_W { @@ -284,7 +279,6 @@ impl W { } #[doc = "Bit 18 - reg_0p2a_0 counter after xpd reach target0"] #[inline(always)] - #[must_use] pub fn _0p2a_cnt_target0_reach_0_lp( &mut self, ) -> _0P2A_CNT_TARGET0_REACH_0_LP_W { @@ -292,7 +286,6 @@ impl W { } #[doc = "Bit 19 - reg_0p2a_1_counter after xpd reach target1"] #[inline(always)] - #[must_use] pub fn _0p2a_cnt_target1_reach_0_lp( &mut self, ) -> _0P2A_CNT_TARGET1_REACH_0_LP_W { @@ -300,7 +293,6 @@ impl W { } #[doc = "Bit 20 - reg_0p2a_0 counter after xpd reach target0"] #[inline(always)] - #[must_use] pub fn _0p2a_cnt_target0_reach_1_lp( &mut self, ) -> _0P2A_CNT_TARGET0_REACH_1_LP_W { @@ -308,7 +300,6 @@ impl W { } #[doc = "Bit 21 - reg_0p2a_1_counter after xpd reach target1"] #[inline(always)] - #[must_use] pub fn _0p2a_cnt_target1_reach_1_lp( &mut self, ) -> _0P2A_CNT_TARGET1_REACH_1_LP_W { @@ -316,7 +307,6 @@ impl W { } #[doc = "Bit 22 - reg_0p3a_0 counter after xpd reach target0"] #[inline(always)] - #[must_use] pub fn _0p3a_cnt_target0_reach_0_lp( &mut self, ) -> _0P3A_CNT_TARGET0_REACH_0_LP_W { @@ -324,7 +314,6 @@ impl W { } #[doc = "Bit 23 - reg_0p3a_1_counter after xpd reach target1"] #[inline(always)] - #[must_use] pub fn _0p3a_cnt_target1_reach_0_lp( &mut self, ) -> _0P3A_CNT_TARGET1_REACH_0_LP_W { @@ -332,7 +321,6 @@ impl W { } #[doc = "Bit 24 - reg_0p3a_0_counter after xpd reach target0"] #[inline(always)] - #[must_use] pub fn _0p3a_cnt_target0_reach_1_lp( &mut self, ) -> _0P3A_CNT_TARGET0_REACH_1_LP_W { @@ -340,7 +328,6 @@ impl W { } #[doc = "Bit 25 - reg_0p3a_1_counter after xpd reach target1"] #[inline(always)] - #[must_use] pub fn _0p3a_cnt_target1_reach_1_lp( &mut self, ) -> _0P3A_CNT_TARGET1_REACH_1_LP_W { @@ -348,37 +335,31 @@ impl W { } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_wakeup(&mut self) -> LP_CPU_WAKEUP_W { LP_CPU_WAKEUP_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_active_end(&mut self) -> SLEEP_SWITCH_ACTIVE_END_W { SLEEP_SWITCH_ACTIVE_END_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn active_switch_sleep_end(&mut self) -> ACTIVE_SWITCH_SLEEP_END_W { ACTIVE_SWITCH_SLEEP_END_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_active_start(&mut self) -> SLEEP_SWITCH_ACTIVE_START_W { SLEEP_SWITCH_ACTIVE_START_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn active_switch_sleep_start(&mut self) -> ACTIVE_SWITCH_SLEEP_START_W { ACTIVE_SWITCH_SLEEP_START_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sw_trigger(&mut self) -> HP_SW_TRIGGER_W { HP_SW_TRIGGER_W::new(self, 31) } diff --git a/esp32p4/src/pmu/lp_int_raw.rs b/esp32p4/src/pmu/lp_int_raw.rs index 620d6eb9a1..a568441af2 100644 --- a/esp32p4/src/pmu/lp_int_raw.rs +++ b/esp32p4/src/pmu/lp_int_raw.rs @@ -246,13 +246,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_sleep_reject(&mut self) -> LP_CPU_SLEEP_REJECT_W { LP_CPU_SLEEP_REJECT_W::new(self, 13) } #[doc = "Bit 14 - reg_0p1a_0_counter after xpd reach target0"] #[inline(always)] - #[must_use] pub fn _0p1a_cnt_target0_reach_0_lp( &mut self, ) -> _0P1A_CNT_TARGET0_REACH_0_LP_W { @@ -260,7 +258,6 @@ impl W { } #[doc = "Bit 15 - reg_0p1a_1_counter after xpd reach target1"] #[inline(always)] - #[must_use] pub fn _0p1a_cnt_target1_reach_0_lp( &mut self, ) -> _0P1A_CNT_TARGET1_REACH_0_LP_W { @@ -268,7 +265,6 @@ impl W { } #[doc = "Bit 16 - reg_0p1a_0 counter after xpd reach target0"] #[inline(always)] - #[must_use] pub fn _0p1a_cnt_target0_reach_1_lp( &mut self, ) -> _0P1A_CNT_TARGET0_REACH_1_LP_W { @@ -276,7 +272,6 @@ impl W { } #[doc = "Bit 17 - reg_0p1a_1_counter after xpd reach target1"] #[inline(always)] - #[must_use] pub fn _0p1a_cnt_target1_reach_1_lp( &mut self, ) -> _0P1A_CNT_TARGET1_REACH_1_LP_W { @@ -284,7 +279,6 @@ impl W { } #[doc = "Bit 18 - reg_0p2a_0 counter after xpd reach target0"] #[inline(always)] - #[must_use] pub fn _0p2a_cnt_target0_reach_0_lp( &mut self, ) -> _0P2A_CNT_TARGET0_REACH_0_LP_W { @@ -292,7 +286,6 @@ impl W { } #[doc = "Bit 19 - reg_0p2a_1_counter after xpd reach target1"] #[inline(always)] - #[must_use] pub fn _0p2a_cnt_target1_reach_0_lp( &mut self, ) -> _0P2A_CNT_TARGET1_REACH_0_LP_W { @@ -300,7 +293,6 @@ impl W { } #[doc = "Bit 20 - reg_0p2a_0 counter after xpd reach target0"] #[inline(always)] - #[must_use] pub fn _0p2a_cnt_target0_reach_1_lp( &mut self, ) -> _0P2A_CNT_TARGET0_REACH_1_LP_W { @@ -308,7 +300,6 @@ impl W { } #[doc = "Bit 21 - reg_0p2a_1_counter after xpd reach target1"] #[inline(always)] - #[must_use] pub fn _0p2a_cnt_target1_reach_1_lp( &mut self, ) -> _0P2A_CNT_TARGET1_REACH_1_LP_W { @@ -316,7 +307,6 @@ impl W { } #[doc = "Bit 22 - reg_0p3a_0 counter after xpd reach target0"] #[inline(always)] - #[must_use] pub fn _0p3a_cnt_target0_reach_0_lp( &mut self, ) -> _0P3A_CNT_TARGET0_REACH_0_LP_W { @@ -324,7 +314,6 @@ impl W { } #[doc = "Bit 23 - reg_0p3a_1_counter after xpd reach target1"] #[inline(always)] - #[must_use] pub fn _0p3a_cnt_target1_reach_0_lp( &mut self, ) -> _0P3A_CNT_TARGET1_REACH_0_LP_W { @@ -332,7 +321,6 @@ impl W { } #[doc = "Bit 24 - reg_0p3a_0_counter after xpd reach target0"] #[inline(always)] - #[must_use] pub fn _0p3a_cnt_target0_reach_1_lp( &mut self, ) -> _0P3A_CNT_TARGET0_REACH_1_LP_W { @@ -340,7 +328,6 @@ impl W { } #[doc = "Bit 25 - reg_0p3a_1_counter after xpd reach target1"] #[inline(always)] - #[must_use] pub fn _0p3a_cnt_target1_reach_1_lp( &mut self, ) -> _0P3A_CNT_TARGET1_REACH_1_LP_W { @@ -348,37 +335,31 @@ impl W { } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn lp_cpu_wakeup(&mut self) -> LP_CPU_WAKEUP_W { LP_CPU_WAKEUP_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_active_end(&mut self) -> SLEEP_SWITCH_ACTIVE_END_W { SLEEP_SWITCH_ACTIVE_END_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn active_switch_sleep_end(&mut self) -> ACTIVE_SWITCH_SLEEP_END_W { ACTIVE_SWITCH_SLEEP_END_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_switch_active_start(&mut self) -> SLEEP_SWITCH_ACTIVE_START_W { SLEEP_SWITCH_ACTIVE_START_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn active_switch_sleep_start(&mut self) -> ACTIVE_SWITCH_SLEEP_START_W { ACTIVE_SWITCH_SLEEP_START_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn hp_sw_trigger(&mut self) -> HP_SW_TRIGGER_W { HP_SW_TRIGGER_W::new(self, 31) } diff --git a/esp32p4/src/pmu/lp_sleep_bias.rs b/esp32p4/src/pmu/lp_sleep_bias.rs index 13c71e3fe7..5bab4b9568 100644 --- a/esp32p4/src/pmu/lp_sleep_bias.rs +++ b/esp32p4/src/pmu/lp_sleep_bias.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_xpd_bias(&mut self) -> LP_SLEEP_XPD_BIAS_W { LP_SLEEP_XPD_BIAS_W::new(self, 25) } #[doc = "Bits 26:29 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_dbg_atten(&mut self) -> LP_SLEEP_DBG_ATTEN_W { LP_SLEEP_DBG_ATTEN_W::new(self, 26) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_pd_cur(&mut self) -> LP_SLEEP_PD_CUR_W { LP_SLEEP_PD_CUR_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn sleep(&mut self) -> SLEEP_W { SLEEP_W::new(self, 31) } diff --git a/esp32p4/src/pmu/lp_sleep_lp_bias_reserve.rs b/esp32p4/src/pmu/lp_sleep_lp_bias_reserve.rs index 7e84892815..6606a9802b 100644 --- a/esp32p4/src/pmu/lp_sleep_lp_bias_reserve.rs +++ b/esp32p4/src/pmu/lp_sleep_lp_bias_reserve.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - need_des"] #[inline(always)] - #[must_use] pub fn pmu_lp_sleep_lp_bias_reserve( &mut self, ) -> PMU_LP_SLEEP_LP_BIAS_RESERVE_W { diff --git a/esp32p4/src/pmu/lp_sleep_lp_ck_power.rs b/esp32p4/src/pmu/lp_sleep_lp_ck_power.rs index b5b5646245..ae70cecb91 100644 --- a/esp32p4/src/pmu/lp_sleep_lp_ck_power.rs +++ b/esp32p4/src/pmu/lp_sleep_lp_ck_power.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_xpd_lppll(&mut self) -> LP_SLEEP_XPD_LPPLL_W { LP_SLEEP_XPD_LPPLL_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_xpd_xtal32k(&mut self) -> LP_SLEEP_XPD_XTAL32K_W { LP_SLEEP_XPD_XTAL32K_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_xpd_rc32k(&mut self) -> LP_SLEEP_XPD_RC32K_W { LP_SLEEP_XPD_RC32K_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_xpd_fosc_clk(&mut self) -> LP_SLEEP_XPD_FOSC_CLK_W { LP_SLEEP_XPD_FOSC_CLK_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_pd_osc_clk(&mut self) -> LP_SLEEP_PD_OSC_CLK_W { LP_SLEEP_PD_OSC_CLK_W::new(self, 31) } diff --git a/esp32p4/src/pmu/lp_sleep_lp_dig_power.rs b/esp32p4/src/pmu/lp_sleep_lp_dig_power.rs index 16eb983b08..8df7a0a4bc 100644 --- a/esp32p4/src/pmu/lp_sleep_lp_dig_power.rs +++ b/esp32p4/src/pmu/lp_sleep_lp_dig_power.rs @@ -67,7 +67,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_lp_pad_slp_sel( &mut self, ) -> LP_SLEEP_LP_PAD_SLP_SEL_W { @@ -75,7 +74,6 @@ impl W { } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_bod_source_sel( &mut self, ) -> LP_SLEEP_BOD_SOURCE_SEL_W { @@ -83,19 +81,16 @@ impl W { } #[doc = "Bits 28:29 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_vddbat_mode(&mut self) -> LP_SLEEP_VDDBAT_MODE_W { LP_SLEEP_VDDBAT_MODE_W::new(self, 28) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_lp_mem_dslp(&mut self) -> LP_SLEEP_LP_MEM_DSLP_W { LP_SLEEP_LP_MEM_DSLP_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_pd_lp_peri_pd_en( &mut self, ) -> LP_SLEEP_PD_LP_PERI_PD_EN_W { diff --git a/esp32p4/src/pmu/lp_sleep_lp_regulator0.rs b/esp32p4/src/pmu/lp_sleep_lp_regulator0.rs index efae946a49..71fce1788a 100644 --- a/esp32p4/src/pmu/lp_sleep_lp_regulator0.rs +++ b/esp32p4/src/pmu/lp_sleep_lp_regulator0.rs @@ -66,7 +66,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 21 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_lp_regulator_slp_xpd( &mut self, ) -> LP_SLEEP_LP_REGULATOR_SLP_XPD_W { @@ -74,7 +73,6 @@ impl W { } #[doc = "Bit 22 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_lp_regulator_xpd( &mut self, ) -> LP_SLEEP_LP_REGULATOR_XPD_W { @@ -82,7 +80,6 @@ impl W { } #[doc = "Bits 23:26 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_lp_regulator_slp_dbias( &mut self, ) -> LP_SLEEP_LP_REGULATOR_SLP_DBIAS_W { @@ -90,7 +87,6 @@ impl W { } #[doc = "Bits 27:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_lp_regulator_dbias( &mut self, ) -> LP_SLEEP_LP_REGULATOR_DBIAS_W { diff --git a/esp32p4/src/pmu/lp_sleep_lp_regulator1.rs b/esp32p4/src/pmu/lp_sleep_lp_regulator1.rs index 7164939de9..48f6d76b47 100644 --- a/esp32p4/src/pmu/lp_sleep_lp_regulator1.rs +++ b/esp32p4/src/pmu/lp_sleep_lp_regulator1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 26:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_lp_regulator_drv_b( &mut self, ) -> LP_SLEEP_LP_REGULATOR_DRV_B_W { diff --git a/esp32p4/src/pmu/lp_sleep_xtal.rs b/esp32p4/src/pmu/lp_sleep_xtal.rs index 970da0044c..4ad3d9549e 100644 --- a/esp32p4/src/pmu/lp_sleep_xtal.rs +++ b/esp32p4/src/pmu/lp_sleep_xtal.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_sleep_xpd_xtal(&mut self) -> LP_SLEEP_XPD_XTAL_W { LP_SLEEP_XPD_XTAL_W::new(self, 31) } diff --git a/esp32p4/src/pmu/main_state.rs b/esp32p4/src/pmu/main_state.rs index ae4edee437..b5821a305a 100644 --- a/esp32p4/src/pmu/main_state.rs +++ b/esp32p4/src/pmu/main_state.rs @@ -48,7 +48,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn enable_cali_pmu_cntl(&mut self) -> ENABLE_CALI_PMU_CNTL_W { ENABLE_CALI_PMU_CNTL_W::new(self, 0) } diff --git a/esp32p4/src/pmu/power_ck_wait_cntl.rs b/esp32p4/src/pmu/power_ck_wait_cntl.rs index 003a3f523e..994e847148 100644 --- a/esp32p4/src/pmu/power_ck_wait_cntl.rs +++ b/esp32p4/src/pmu/power_ck_wait_cntl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - need_des"] #[inline(always)] - #[must_use] pub fn pmu_wait_xtl_stable(&mut self) -> PMU_WAIT_XTL_STABLE_W { PMU_WAIT_XTL_STABLE_W::new(self, 0) } #[doc = "Bits 16:31 - need_des"] #[inline(always)] - #[must_use] pub fn pmu_wait_pll_stable(&mut self) -> PMU_WAIT_PLL_STABLE_W { PMU_WAIT_PLL_STABLE_W::new(self, 16) } diff --git a/esp32p4/src/pmu/power_dcdc_switch.rs b/esp32p4/src/pmu/power_dcdc_switch.rs index 25fe30c7f7..58e8c1f0f7 100644 --- a/esp32p4/src/pmu/power_dcdc_switch.rs +++ b/esp32p4/src/pmu/power_dcdc_switch.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn force_dcdc_switch_pu(&mut self) -> FORCE_DCDC_SWITCH_PU_W { FORCE_DCDC_SWITCH_PU_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn force_dcdc_switch_pd(&mut self) -> FORCE_DCDC_SWITCH_PD_W { FORCE_DCDC_SWITCH_PD_W::new(self, 1) } diff --git a/esp32p4/src/pmu/power_hp_pad.rs b/esp32p4/src/pmu/power_hp_pad.rs index 29abe61ecf..d492fa3a23 100644 --- a/esp32p4/src/pmu/power_hp_pad.rs +++ b/esp32p4/src/pmu/power_hp_pad.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_pad_no_iso_all(&mut self) -> FORCE_HP_PAD_NO_ISO_ALL_W { FORCE_HP_PAD_NO_ISO_ALL_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_pad_iso_all(&mut self) -> FORCE_HP_PAD_ISO_ALL_W { FORCE_HP_PAD_ISO_ALL_W::new(self, 1) } diff --git a/esp32p4/src/pmu/power_pd_cnnt_cntl.rs b/esp32p4/src/pmu/power_pd_cnnt_cntl.rs index 58c97d8884..8c9eb1cee0 100644 --- a/esp32p4/src/pmu/power_pd_cnnt_cntl.rs +++ b/esp32p4/src/pmu/power_pd_cnnt_cntl.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn force_cnnt_reset(&mut self) -> FORCE_CNNT_RESET_W { FORCE_CNNT_RESET_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn force_cnnt_iso(&mut self) -> FORCE_CNNT_ISO_W { FORCE_CNNT_ISO_W::new(self, 1) } #[doc = "Bit 2 - need_des"] #[inline(always)] - #[must_use] pub fn force_cnnt_pu(&mut self) -> FORCE_CNNT_PU_W { FORCE_CNNT_PU_W::new(self, 2) } #[doc = "Bit 3 - need_des"] #[inline(always)] - #[must_use] pub fn force_cnnt_no_reset(&mut self) -> FORCE_CNNT_NO_RESET_W { FORCE_CNNT_NO_RESET_W::new(self, 3) } #[doc = "Bit 4 - need_des"] #[inline(always)] - #[must_use] pub fn force_cnnt_no_iso(&mut self) -> FORCE_CNNT_NO_ISO_W { FORCE_CNNT_NO_ISO_W::new(self, 4) } #[doc = "Bit 5 - need_des"] #[inline(always)] - #[must_use] pub fn force_cnnt_pd(&mut self) -> FORCE_CNNT_PD_W { FORCE_CNNT_PD_W::new(self, 5) } diff --git a/esp32p4/src/pmu/power_pd_cnnt_mask.rs b/esp32p4/src/pmu/power_pd_cnnt_mask.rs index 735d517b91..28cbbc1b88 100644 --- a/esp32p4/src/pmu/power_pd_cnnt_mask.rs +++ b/esp32p4/src/pmu/power_pd_cnnt_mask.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - need_des"] #[inline(always)] - #[must_use] pub fn xpd_cnnt_mask(&mut self) -> XPD_CNNT_MASK_W { XPD_CNNT_MASK_W::new(self, 0) } #[doc = "Bits 27:31 - need_des"] #[inline(always)] - #[must_use] pub fn pd_cnnt_mask(&mut self) -> PD_CNNT_MASK_W { PD_CNNT_MASK_W::new(self, 27) } diff --git a/esp32p4/src/pmu/power_pd_hpmem_cntl.rs b/esp32p4/src/pmu/power_pd_hpmem_cntl.rs index eb897f62a3..6bfbcb8882 100644 --- a/esp32p4/src/pmu/power_pd_hpmem_cntl.rs +++ b/esp32p4/src/pmu/power_pd_hpmem_cntl.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_mem_reset(&mut self) -> FORCE_HP_MEM_RESET_W { FORCE_HP_MEM_RESET_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_mem_iso(&mut self) -> FORCE_HP_MEM_ISO_W { FORCE_HP_MEM_ISO_W::new(self, 1) } #[doc = "Bit 2 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_mem_pu(&mut self) -> FORCE_HP_MEM_PU_W { FORCE_HP_MEM_PU_W::new(self, 2) } #[doc = "Bit 3 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_mem_no_reset(&mut self) -> FORCE_HP_MEM_NO_RESET_W { FORCE_HP_MEM_NO_RESET_W::new(self, 3) } #[doc = "Bit 4 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_mem_no_iso(&mut self) -> FORCE_HP_MEM_NO_ISO_W { FORCE_HP_MEM_NO_ISO_W::new(self, 4) } #[doc = "Bit 5 - need_des"] #[inline(always)] - #[must_use] pub fn force_hp_mem_pd(&mut self) -> FORCE_HP_MEM_PD_W { FORCE_HP_MEM_PD_W::new(self, 5) } diff --git a/esp32p4/src/pmu/power_pd_hpmem_mask.rs b/esp32p4/src/pmu/power_pd_hpmem_mask.rs index 2a2721d6af..e267d7caaa 100644 --- a/esp32p4/src/pmu/power_pd_hpmem_mask.rs +++ b/esp32p4/src/pmu/power_pd_hpmem_mask.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - need_des"] #[inline(always)] - #[must_use] pub fn xpd_hp_mem_mask(&mut self) -> XPD_HP_MEM_MASK_W { XPD_HP_MEM_MASK_W::new(self, 0) } #[doc = "Bits 26:31 - need_des"] #[inline(always)] - #[must_use] pub fn pd_hp_mem_mask(&mut self) -> PD_HP_MEM_MASK_W { PD_HP_MEM_MASK_W::new(self, 26) } diff --git a/esp32p4/src/pmu/power_pd_lpperi_cntl.rs b/esp32p4/src/pmu/power_pd_lpperi_cntl.rs index 4f8c1c2e33..4d82fe84c5 100644 --- a/esp32p4/src/pmu/power_pd_lpperi_cntl.rs +++ b/esp32p4/src/pmu/power_pd_lpperi_cntl.rs @@ -74,25 +74,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn force_lp_peri_reset(&mut self) -> FORCE_LP_PERI_RESET_W { FORCE_LP_PERI_RESET_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn force_lp_peri_iso(&mut self) -> FORCE_LP_PERI_ISO_W { FORCE_LP_PERI_ISO_W::new(self, 1) } #[doc = "Bit 2 - need_des"] #[inline(always)] - #[must_use] pub fn force_lp_peri_pu(&mut self) -> FORCE_LP_PERI_PU_W { FORCE_LP_PERI_PU_W::new(self, 2) } #[doc = "Bit 3 - need_des"] #[inline(always)] - #[must_use] pub fn force_lp_peri_no_reset( &mut self, ) -> FORCE_LP_PERI_NO_RESET_W { @@ -100,13 +96,11 @@ impl W { } #[doc = "Bit 4 - need_des"] #[inline(always)] - #[must_use] pub fn force_lp_peri_no_iso(&mut self) -> FORCE_LP_PERI_NO_ISO_W { FORCE_LP_PERI_NO_ISO_W::new(self, 4) } #[doc = "Bit 5 - need_des"] #[inline(always)] - #[must_use] pub fn force_lp_peri_pd(&mut self) -> FORCE_LP_PERI_PD_W { FORCE_LP_PERI_PD_W::new(self, 5) } diff --git a/esp32p4/src/pmu/power_pd_lpperi_mask.rs b/esp32p4/src/pmu/power_pd_lpperi_mask.rs index c97843417f..d710e846a3 100644 --- a/esp32p4/src/pmu/power_pd_lpperi_mask.rs +++ b/esp32p4/src/pmu/power_pd_lpperi_mask.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - need_des"] #[inline(always)] - #[must_use] pub fn xpd_lp_peri_mask(&mut self) -> XPD_LP_PERI_MASK_W { XPD_LP_PERI_MASK_W::new(self, 0) } #[doc = "Bits 27:31 - need_des"] #[inline(always)] - #[must_use] pub fn pd_lp_peri_mask(&mut self) -> PD_LP_PERI_MASK_W { PD_LP_PERI_MASK_W::new(self, 27) } diff --git a/esp32p4/src/pmu/power_pd_top_cntl.rs b/esp32p4/src/pmu/power_pd_top_cntl.rs index 951599846f..f9e65a0643 100644 --- a/esp32p4/src/pmu/power_pd_top_cntl.rs +++ b/esp32p4/src/pmu/power_pd_top_cntl.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - need_des"] #[inline(always)] - #[must_use] pub fn force_top_reset(&mut self) -> FORCE_TOP_RESET_W { FORCE_TOP_RESET_W::new(self, 0) } #[doc = "Bit 1 - need_des"] #[inline(always)] - #[must_use] pub fn force_top_iso(&mut self) -> FORCE_TOP_ISO_W { FORCE_TOP_ISO_W::new(self, 1) } #[doc = "Bit 2 - need_des"] #[inline(always)] - #[must_use] pub fn force_top_pu(&mut self) -> FORCE_TOP_PU_W { FORCE_TOP_PU_W::new(self, 2) } #[doc = "Bit 3 - need_des"] #[inline(always)] - #[must_use] pub fn force_top_no_reset(&mut self) -> FORCE_TOP_NO_RESET_W { FORCE_TOP_NO_RESET_W::new(self, 3) } #[doc = "Bit 4 - need_des"] #[inline(always)] - #[must_use] pub fn force_top_no_iso(&mut self) -> FORCE_TOP_NO_ISO_W { FORCE_TOP_NO_ISO_W::new(self, 4) } #[doc = "Bit 5 - need_des"] #[inline(always)] - #[must_use] pub fn force_top_pd(&mut self) -> FORCE_TOP_PD_W { FORCE_TOP_PD_W::new(self, 5) } diff --git a/esp32p4/src/pmu/power_pd_top_mask.rs b/esp32p4/src/pmu/power_pd_top_mask.rs index 3edbe921dd..14a1d0947b 100644 --- a/esp32p4/src/pmu/power_pd_top_mask.rs +++ b/esp32p4/src/pmu/power_pd_top_mask.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - need_des"] #[inline(always)] - #[must_use] pub fn xpd_top_mask(&mut self) -> XPD_TOP_MASK_W { XPD_TOP_MASK_W::new(self, 0) } #[doc = "Bits 27:31 - need_des"] #[inline(always)] - #[must_use] pub fn pd_top_mask(&mut self) -> PD_TOP_MASK_W { PD_TOP_MASK_W::new(self, 27) } diff --git a/esp32p4/src/pmu/power_wait_timer0.rs b/esp32p4/src/pmu/power_wait_timer0.rs index df8c5fe27e..dc3b03230d 100644 --- a/esp32p4/src/pmu/power_wait_timer0.rs +++ b/esp32p4/src/pmu/power_wait_timer0.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 5:13 - need_des"] #[inline(always)] - #[must_use] pub fn dg_hp_powerdown_timer(&mut self) -> DG_HP_POWERDOWN_TIMER_W { DG_HP_POWERDOWN_TIMER_W::new(self, 5) } #[doc = "Bits 14:22 - need_des"] #[inline(always)] - #[must_use] pub fn dg_hp_powerup_timer(&mut self) -> DG_HP_POWERUP_TIMER_W { DG_HP_POWERUP_TIMER_W::new(self, 14) } #[doc = "Bits 23:31 - need_des"] #[inline(always)] - #[must_use] pub fn dg_hp_wait_timer(&mut self) -> DG_HP_WAIT_TIMER_W { DG_HP_WAIT_TIMER_W::new(self, 23) } diff --git a/esp32p4/src/pmu/power_wait_timer1.rs b/esp32p4/src/pmu/power_wait_timer1.rs index 8f238f2396..e1ce5e65a8 100644 --- a/esp32p4/src/pmu/power_wait_timer1.rs +++ b/esp32p4/src/pmu/power_wait_timer1.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 5:13 - need_des"] #[inline(always)] - #[must_use] pub fn dg_lp_powerdown_timer(&mut self) -> DG_LP_POWERDOWN_TIMER_W { DG_LP_POWERDOWN_TIMER_W::new(self, 5) } #[doc = "Bits 14:22 - need_des"] #[inline(always)] - #[must_use] pub fn dg_lp_powerup_timer(&mut self) -> DG_LP_POWERUP_TIMER_W { DG_LP_POWERUP_TIMER_W::new(self, 14) } #[doc = "Bits 23:31 - need_des"] #[inline(always)] - #[must_use] pub fn dg_lp_wait_timer(&mut self) -> DG_LP_WAIT_TIMER_W { DG_LP_WAIT_TIMER_W::new(self, 23) } diff --git a/esp32p4/src/pmu/rdn_eco.rs b/esp32p4/src/pmu/rdn_eco.rs index b185bda3a2..76ec664930 100644 --- a/esp32p4/src/pmu/rdn_eco.rs +++ b/esp32p4/src/pmu/rdn_eco.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn pmu_rdn_eco_en(&mut self) -> PMU_RDN_ECO_EN_W { PMU_RDN_ECO_EN_W::new(self, 31) } diff --git a/esp32p4/src/pmu/rf_pwc.rs b/esp32p4/src/pmu/rf_pwc.rs index 4fde99deaa..d36394ed25 100644 --- a/esp32p4/src/pmu/rf_pwc.rs +++ b/esp32p4/src/pmu/rf_pwc.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 24 - need_des"] #[inline(always)] - #[must_use] pub fn mspi_phy_xpd(&mut self) -> MSPI_PHY_XPD_W { MSPI_PHY_XPD_W::new(self, 24) } #[doc = "Bit 25 - need_des"] #[inline(always)] - #[must_use] pub fn sdio_pll_xpd(&mut self) -> SDIO_PLL_XPD_W { SDIO_PLL_XPD_W::new(self, 25) } #[doc = "Bit 26 - need_des"] #[inline(always)] - #[must_use] pub fn perif_i2c_rstb(&mut self) -> PERIF_I2C_RSTB_W { PERIF_I2C_RSTB_W::new(self, 26) } #[doc = "Bit 27 - need_des"] #[inline(always)] - #[must_use] pub fn xpd_perif_i2c(&mut self) -> XPD_PERIF_I2C_W { XPD_PERIF_I2C_W::new(self, 27) } #[doc = "Bit 28 - need_des"] #[inline(always)] - #[must_use] pub fn xpd_txrf_i2c(&mut self) -> XPD_TXRF_I2C_W { XPD_TXRF_I2C_W::new(self, 28) } #[doc = "Bit 29 - need_des"] #[inline(always)] - #[must_use] pub fn xpd_rfrx_pbus(&mut self) -> XPD_RFRX_PBUS_W { XPD_RFRX_PBUS_W::new(self, 29) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn xpd_ckgen_i2c(&mut self) -> XPD_CKGEN_I2C_W { XPD_CKGEN_I2C_W::new(self, 30) } diff --git a/esp32p4/src/pmu/sdio_wakeup_cntl.rs b/esp32p4/src/pmu/sdio_wakeup_cntl.rs index a3425737af..578d3731c7 100644 --- a/esp32p4/src/pmu/sdio_wakeup_cntl.rs +++ b/esp32p4/src/pmu/sdio_wakeup_cntl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - need_des"] #[inline(always)] - #[must_use] pub fn sdio_act_dnum(&mut self) -> SDIO_ACT_DNUM_W { SDIO_ACT_DNUM_W::new(self, 0) } diff --git a/esp32p4/src/pmu/slp_wakeup_cntl0.rs b/esp32p4/src/pmu/slp_wakeup_cntl0.rs index 3788d582d5..d6525fa254 100644 --- a/esp32p4/src/pmu/slp_wakeup_cntl0.rs +++ b/esp32p4/src/pmu/slp_wakeup_cntl0.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_req(&mut self) -> SLEEP_REQ_W { SLEEP_REQ_W::new(self, 31) } diff --git a/esp32p4/src/pmu/slp_wakeup_cntl1.rs b/esp32p4/src/pmu/slp_wakeup_cntl1.rs index 01dda37312..cb94c5c2c4 100644 --- a/esp32p4/src/pmu/slp_wakeup_cntl1.rs +++ b/esp32p4/src/pmu/slp_wakeup_cntl1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_reject_ena(&mut self) -> SLEEP_REJECT_ENA_W { SLEEP_REJECT_ENA_W::new(self, 0) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn slp_reject_en(&mut self) -> SLP_REJECT_EN_W { SLP_REJECT_EN_W::new(self, 31) } diff --git a/esp32p4/src/pmu/slp_wakeup_cntl2.rs b/esp32p4/src/pmu/slp_wakeup_cntl2.rs index 1e043b4031..3656627011 100644 --- a/esp32p4/src/pmu/slp_wakeup_cntl2.rs +++ b/esp32p4/src/pmu/slp_wakeup_cntl2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - need_des"] #[inline(always)] - #[must_use] pub fn wakeup_ena(&mut self) -> WAKEUP_ENA_W { WAKEUP_ENA_W::new(self, 0) } diff --git a/esp32p4/src/pmu/slp_wakeup_cntl3.rs b/esp32p4/src/pmu/slp_wakeup_cntl3.rs index eb9bb27846..dac50c0d30 100644 --- a/esp32p4/src/pmu/slp_wakeup_cntl3.rs +++ b/esp32p4/src/pmu/slp_wakeup_cntl3.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - need_des"] #[inline(always)] - #[must_use] pub fn lp_min_slp_val(&mut self) -> LP_MIN_SLP_VAL_W { LP_MIN_SLP_VAL_W::new(self, 0) } #[doc = "Bits 8:15 - need_des"] #[inline(always)] - #[must_use] pub fn hp_min_slp_val(&mut self) -> HP_MIN_SLP_VAL_W { HP_MIN_SLP_VAL_W::new(self, 8) } #[doc = "Bits 16:17 - need_des"] #[inline(always)] - #[must_use] pub fn sleep_prt_sel(&mut self) -> SLEEP_PRT_SEL_W { SLEEP_PRT_SEL_W::new(self, 16) } diff --git a/esp32p4/src/pmu/slp_wakeup_cntl4.rs b/esp32p4/src/pmu/slp_wakeup_cntl4.rs index 4b47fdd7de..259d3595f9 100644 --- a/esp32p4/src/pmu/slp_wakeup_cntl4.rs +++ b/esp32p4/src/pmu/slp_wakeup_cntl4.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn slp_reject_cause_clr(&mut self) -> SLP_REJECT_CAUSE_CLR_W { SLP_REJECT_CAUSE_CLR_W::new(self, 31) } diff --git a/esp32p4/src/pmu/slp_wakeup_cntl5.rs b/esp32p4/src/pmu/slp_wakeup_cntl5.rs index 3cb46e7a28..6ca0547dda 100644 --- a/esp32p4/src/pmu/slp_wakeup_cntl5.rs +++ b/esp32p4/src/pmu/slp_wakeup_cntl5.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - need_des"] #[inline(always)] - #[must_use] pub fn modem_wait_target(&mut self) -> MODEM_WAIT_TARGET_W { MODEM_WAIT_TARGET_W::new(self, 0) } #[doc = "Bits 24:31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_ana_wait_target(&mut self) -> LP_ANA_WAIT_TARGET_W { LP_ANA_WAIT_TARGET_W::new(self, 24) } diff --git a/esp32p4/src/pmu/slp_wakeup_cntl6.rs b/esp32p4/src/pmu/slp_wakeup_cntl6.rs index 85054d80b8..e2792cf6bd 100644 --- a/esp32p4/src/pmu/slp_wakeup_cntl6.rs +++ b/esp32p4/src/pmu/slp_wakeup_cntl6.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - need_des"] #[inline(always)] - #[must_use] pub fn soc_wakeup_wait(&mut self) -> SOC_WAKEUP_WAIT_W { SOC_WAKEUP_WAIT_W::new(self, 0) } #[doc = "Bits 30:31 - need_des"] #[inline(always)] - #[must_use] pub fn soc_wakeup_wait_cfg(&mut self) -> SOC_WAKEUP_WAIT_CFG_W { SOC_WAKEUP_WAIT_CFG_W::new(self, 30) } diff --git a/esp32p4/src/pmu/slp_wakeup_cntl7.rs b/esp32p4/src/pmu/slp_wakeup_cntl7.rs index 81ba3ed69d..10ce48136c 100644 --- a/esp32p4/src/pmu/slp_wakeup_cntl7.rs +++ b/esp32p4/src/pmu/slp_wakeup_cntl7.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - need_des"] #[inline(always)] - #[must_use] pub fn ana_wait_target(&mut self) -> ANA_WAIT_TARGET_W { ANA_WAIT_TARGET_W::new(self, 16) } diff --git a/esp32p4/src/pmu/slp_wakeup_cntl8.rs b/esp32p4/src/pmu/slp_wakeup_cntl8.rs index 809c54d77b..23fb448af2 100644 --- a/esp32p4/src/pmu/slp_wakeup_cntl8.rs +++ b/esp32p4/src/pmu/slp_wakeup_cntl8.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn lp_lite_wakeup_ena(&mut self) -> LP_LITE_WAKEUP_ENA_W { LP_LITE_WAKEUP_ENA_W::new(self, 31) } diff --git a/esp32p4/src/pmu/touch_pwr_cntl.rs b/esp32p4/src/pmu/touch_pwr_cntl.rs index 34459f921f..37ee5fa958 100644 --- a/esp32p4/src/pmu/touch_pwr_cntl.rs +++ b/esp32p4/src/pmu/touch_pwr_cntl.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 5:13 - need_des"] #[inline(always)] - #[must_use] pub fn touch_wait_cycles(&mut self) -> TOUCH_WAIT_CYCLES_W { TOUCH_WAIT_CYCLES_W::new(self, 5) } #[doc = "Bits 14:29 - need_des"] #[inline(always)] - #[must_use] pub fn touch_sleep_cycles(&mut self) -> TOUCH_SLEEP_CYCLES_W { TOUCH_SLEEP_CYCLES_W::new(self, 14) } #[doc = "Bit 30 - need_des"] #[inline(always)] - #[must_use] pub fn touch_force_done(&mut self) -> TOUCH_FORCE_DONE_W { TOUCH_FORCE_DONE_W::new(self, 30) } #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn touch_sleep_timer_en(&mut self) -> TOUCH_SLEEP_TIMER_EN_W { TOUCH_SLEEP_TIMER_EN_W::new(self, 31) } diff --git a/esp32p4/src/pmu/vddbat_cfg.rs b/esp32p4/src/pmu/vddbat_cfg.rs index ae2378452f..6782567190 100644 --- a/esp32p4/src/pmu/vddbat_cfg.rs +++ b/esp32p4/src/pmu/vddbat_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - need_des"] #[inline(always)] - #[must_use] pub fn vddbat_sw_update(&mut self) -> VDDBAT_SW_UPDATE_W { VDDBAT_SW_UPDATE_W::new(self, 31) } diff --git a/esp32p4/src/pmu/xtal_slp.rs b/esp32p4/src/pmu/xtal_slp.rs index 1bb4b150b4..7c7c3a79ce 100644 --- a/esp32p4/src/pmu/xtal_slp.rs +++ b/esp32p4/src/pmu/xtal_slp.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - need_des"] #[inline(always)] - #[must_use] pub fn cnt_target(&mut self) -> CNT_TARGET_W { CNT_TARGET_W::new(self, 16) } diff --git a/esp32p4/src/ppa/blend0_clut_data.rs b/esp32p4/src/ppa/blend0_clut_data.rs index a6366f386c..8d32f8e36a 100644 --- a/esp32p4/src/ppa/blend0_clut_data.rs +++ b/esp32p4/src/ppa/blend0_clut_data.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Write and read data to/from CLUT RAM in background plane of blender engine through this field in fifo mode."] #[inline(always)] - #[must_use] pub fn rdwr_word_blend0_clut(&mut self) -> RDWR_WORD_BLEND0_CLUT_W { RDWR_WORD_BLEND0_CLUT_W::new(self, 0) } diff --git a/esp32p4/src/ppa/blend1_clut_data.rs b/esp32p4/src/ppa/blend1_clut_data.rs index cecbcf8d9e..fbe9a1a52a 100644 --- a/esp32p4/src/ppa/blend1_clut_data.rs +++ b/esp32p4/src/ppa/blend1_clut_data.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Write and read data to/from CLUT RAM in foreground plane of blender engine through this field in fifo mode."] #[inline(always)] - #[must_use] pub fn rdwr_word_blend1_clut(&mut self) -> RDWR_WORD_BLEND1_CLUT_W { RDWR_WORD_BLEND1_CLUT_W::new(self, 0) } diff --git a/esp32p4/src/ppa/blend_byte_order.rs b/esp32p4/src/ppa/blend_byte_order.rs index eaab7def69..1a921523e1 100644 --- a/esp32p4/src/ppa/blend_byte_order.rs +++ b/esp32p4/src/ppa/blend_byte_order.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to 1 the data into Rx channel 0 would be swapped in byte. The Byte0 and Byte1 would be swapped while byte 2 and byte 3 would be swappped."] #[inline(always)] - #[must_use] pub fn blend0_rx_byte_swap_en(&mut self) -> BLEND0_RX_BYTE_SWAP_EN_W { BLEND0_RX_BYTE_SWAP_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to 1 the data into Rx channel 0 would be swapped in byte. The Byte0 and Byte1 would be swapped while byte 2 and byte 3 would be swappped."] #[inline(always)] - #[must_use] pub fn blend1_rx_byte_swap_en(&mut self) -> BLEND1_RX_BYTE_SWAP_EN_W { BLEND1_RX_BYTE_SWAP_EN_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to 1 the data into Rx channel 0 would be swapped in rgb. It means rgb would be swap to bgr."] #[inline(always)] - #[must_use] pub fn blend0_rx_rgb_swap_en(&mut self) -> BLEND0_RX_RGB_SWAP_EN_W { BLEND0_RX_RGB_SWAP_EN_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to 1 the data into Rx channel 0 would be swapped in rgb. It means rgb would be swap to bgr."] #[inline(always)] - #[must_use] pub fn blend1_rx_rgb_swap_en(&mut self) -> BLEND1_RX_RGB_SWAP_EN_W { BLEND1_RX_RGB_SWAP_EN_W::new(self, 3) } diff --git a/esp32p4/src/ppa/blend_color_mode.rs b/esp32p4/src/ppa/blend_color_mode.rs index a3bd11e90e..7157363aed 100644 --- a/esp32p4/src/ppa/blend_color_mode.rs +++ b/esp32p4/src/ppa/blend_color_mode.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - The source image color mode for background plane. 0: ARGB8888. 1: RGB888. 2: RGB565. 3: Reserved. 4: L8. 5: L4."] #[inline(always)] - #[must_use] pub fn blend0_rx_cm(&mut self) -> BLEND0_RX_CM_W { BLEND0_RX_CM_W::new(self, 0) } #[doc = "Bits 4:7 - The source image color mode for foreground plane. 0: ARGB8888. 1: RGB888. 2: RGB565. 3: Reserved. 4: L8. 5: L4. 6: A8. 7: A4."] #[inline(always)] - #[must_use] pub fn blend1_rx_cm(&mut self) -> BLEND1_RX_CM_W { BLEND1_RX_CM_W::new(self, 4) } #[doc = "Bits 8:11 - The destination image color mode for output of blender. 0: ARGB8888. 1: RGB888. 2: RGB565. 3: Reserved.."] #[inline(always)] - #[must_use] pub fn blend_tx_cm(&mut self) -> BLEND_TX_CM_W { BLEND_TX_CM_W::new(self, 8) } diff --git a/esp32p4/src/ppa/blend_fix_alpha.rs b/esp32p4/src/ppa/blend_fix_alpha.rs index 8f8776d3fe..c748972fb4 100644 --- a/esp32p4/src/ppa/blend_fix_alpha.rs +++ b/esp32p4/src/ppa/blend_fix_alpha.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - The value would replace the alpha value in received pixel for background plane of blender when PPA_BLEND0_RX_ALPHA_CONF_EN is enabled."] #[inline(always)] - #[must_use] pub fn blend0_rx_fix_alpha(&mut self) -> BLEND0_RX_FIX_ALPHA_W { BLEND0_RX_FIX_ALPHA_W::new(self, 0) } #[doc = "Bits 8:15 - The value would replace the alpha value in received pixel for foreground plane of blender when PPA_BLEND1_RX_ALPHA_CONF_EN is enabled."] #[inline(always)] - #[must_use] pub fn blend1_rx_fix_alpha(&mut self) -> BLEND1_RX_FIX_ALPHA_W { BLEND1_RX_FIX_ALPHA_W::new(self, 8) } #[doc = "Bits 16:17 - Alpha mode. 0/3: not replace alpha. 1: replace alpha with PPA_SR_FIX_ALPHA. 2: Original alpha multiply with PPA_SR_FIX_ALPHA/256."] #[inline(always)] - #[must_use] pub fn blend0_rx_alpha_mod(&mut self) -> BLEND0_RX_ALPHA_MOD_W { BLEND0_RX_ALPHA_MOD_W::new(self, 16) } #[doc = "Bits 18:19 - Alpha mode. 0/3: not replace alpha. 1: replace alpha with PPA_SR_FIX_ALPHA. 2: Original alpha multiply with PPA_SR_FIX_ALPHA/256."] #[inline(always)] - #[must_use] pub fn blend1_rx_alpha_mod(&mut self) -> BLEND1_RX_ALPHA_MOD_W { BLEND1_RX_ALPHA_MOD_W::new(self, 18) } #[doc = "Bit 20 - Set this bit to invert the original alpha value. When RX color mode is RGB565/RGB88. The original alpha value is 255."] #[inline(always)] - #[must_use] pub fn blend0_rx_alpha_inv(&mut self) -> BLEND0_RX_ALPHA_INV_W { BLEND0_RX_ALPHA_INV_W::new(self, 20) } #[doc = "Bit 21 - Set this bit to invert the original alpha value. When RX color mode is RGB565/RGB88. The original alpha value is 255."] #[inline(always)] - #[must_use] pub fn blend1_rx_alpha_inv(&mut self) -> BLEND1_RX_ALPHA_INV_W { BLEND1_RX_ALPHA_INV_W::new(self, 21) } diff --git a/esp32p4/src/ppa/blend_fix_pixel.rs b/esp32p4/src/ppa/blend_fix_pixel.rs index bb1f8e4a41..4f325355b8 100644 --- a/esp32p4/src/ppa/blend_fix_pixel.rs +++ b/esp32p4/src/ppa/blend_fix_pixel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The configure fix pixel in fix pixel filling mode for blender engine."] #[inline(always)] - #[must_use] pub fn blend_tx_fix_pixel(&mut self) -> BLEND_TX_FIX_PIXEL_W { BLEND_TX_FIX_PIXEL_W::new(self, 0) } diff --git a/esp32p4/src/ppa/blend_rgb.rs b/esp32p4/src/ppa/blend_rgb.rs index dc4ecec3b2..a09da4f090 100644 --- a/esp32p4/src/ppa/blend_rgb.rs +++ b/esp32p4/src/ppa/blend_rgb.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - blue color for A4/A8 mode."] #[inline(always)] - #[must_use] pub fn blend1_rx_b(&mut self) -> BLEND1_RX_B_W { BLEND1_RX_B_W::new(self, 0) } #[doc = "Bits 8:15 - green color for A4/A8 mode."] #[inline(always)] - #[must_use] pub fn blend1_rx_g(&mut self) -> BLEND1_RX_G_W { BLEND1_RX_G_W::new(self, 8) } #[doc = "Bits 16:23 - red color for A4/A8 mode."] #[inline(always)] - #[must_use] pub fn blend1_rx_r(&mut self) -> BLEND1_RX_R_W { BLEND1_RX_R_W::new(self, 16) } diff --git a/esp32p4/src/ppa/blend_trans_mode.rs b/esp32p4/src/ppa/blend_trans_mode.rs index 02c9c92032..3fff594d36 100644 --- a/esp32p4/src/ppa/blend_trans_mode.rs +++ b/esp32p4/src/ppa/blend_trans_mode.rs @@ -56,31 +56,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable alpha blending."] #[inline(always)] - #[must_use] pub fn blend_en(&mut self) -> BLEND_EN_W { BLEND_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to bypass blender. Then background date would be output."] #[inline(always)] - #[must_use] pub fn blend_bypass(&mut self) -> BLEND_BYPASS_W { BLEND_BYPASS_W::new(self, 1) } #[doc = "Bit 2 - This bit is used to enable fix pixel filling. When this mode is enable only Tx channel is work and the output pixel is configured by PPA_OUT_FIX_PIXEL."] #[inline(always)] - #[must_use] pub fn blend_fix_pixel_fill_en(&mut self) -> BLEND_FIX_PIXEL_FILL_EN_W { BLEND_FIX_PIXEL_FILL_EN_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to update the transfer mode. Only the bit is set the transfer mode is valid."] #[inline(always)] - #[must_use] pub fn update(&mut self) -> UPDATE_W { UPDATE_W::new(self, 3) } #[doc = "Bit 4 - write 1 then write 0 to reset blending engine."] #[inline(always)] - #[must_use] pub fn blend_rst(&mut self) -> BLEND_RST_W { BLEND_RST_W::new(self, 4) } diff --git a/esp32p4/src/ppa/blend_tx_size.rs b/esp32p4/src/ppa/blend_tx_size.rs index f6fd6c8460..51d23e73bd 100644 --- a/esp32p4/src/ppa/blend_tx_size.rs +++ b/esp32p4/src/ppa/blend_tx_size.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - The horizontal width of image block that would be filled in fix pixel filling mode. The unit is pixel"] #[inline(always)] - #[must_use] pub fn blend_hb(&mut self) -> BLEND_HB_W { BLEND_HB_W::new(self, 0) } #[doc = "Bits 14:27 - The vertical width of image block that would be filled in fix pixel filling mode. The unit is pixel"] #[inline(always)] - #[must_use] pub fn blend_vb(&mut self) -> BLEND_VB_W { BLEND_VB_W::new(self, 14) } diff --git a/esp32p4/src/ppa/ck_bg_high.rs b/esp32p4/src/ppa/ck_bg_high.rs index 833c4c10cf..1d41a41f26 100644 --- a/esp32p4/src/ppa/ck_bg_high.rs +++ b/esp32p4/src/ppa/ck_bg_high.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - color key higher threshold of background b channel"] #[inline(always)] - #[must_use] pub fn colorkey_bg_b_high(&mut self) -> COLORKEY_BG_B_HIGH_W { COLORKEY_BG_B_HIGH_W::new(self, 0) } #[doc = "Bits 8:15 - color key higher threshold of background g channel"] #[inline(always)] - #[must_use] pub fn colorkey_bg_g_high(&mut self) -> COLORKEY_BG_G_HIGH_W { COLORKEY_BG_G_HIGH_W::new(self, 8) } #[doc = "Bits 16:23 - color key higher threshold of background r channel"] #[inline(always)] - #[must_use] pub fn colorkey_bg_r_high(&mut self) -> COLORKEY_BG_R_HIGH_W { COLORKEY_BG_R_HIGH_W::new(self, 16) } diff --git a/esp32p4/src/ppa/ck_bg_low.rs b/esp32p4/src/ppa/ck_bg_low.rs index 8400041a10..2fab6a6e1c 100644 --- a/esp32p4/src/ppa/ck_bg_low.rs +++ b/esp32p4/src/ppa/ck_bg_low.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - color key lower threshold of background b channel"] #[inline(always)] - #[must_use] pub fn colorkey_bg_b_low(&mut self) -> COLORKEY_BG_B_LOW_W { COLORKEY_BG_B_LOW_W::new(self, 0) } #[doc = "Bits 8:15 - color key lower threshold of background g channel"] #[inline(always)] - #[must_use] pub fn colorkey_bg_g_low(&mut self) -> COLORKEY_BG_G_LOW_W { COLORKEY_BG_G_LOW_W::new(self, 8) } #[doc = "Bits 16:23 - color key lower threshold of background r channel"] #[inline(always)] - #[must_use] pub fn colorkey_bg_r_low(&mut self) -> COLORKEY_BG_R_LOW_W { COLORKEY_BG_R_LOW_W::new(self, 16) } diff --git a/esp32p4/src/ppa/ck_default.rs b/esp32p4/src/ppa/ck_default.rs index ecd0c4eecf..2183f61d22 100644 --- a/esp32p4/src/ppa/ck_default.rs +++ b/esp32p4/src/ppa/ck_default.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - default B channle value of color key"] #[inline(always)] - #[must_use] pub fn colorkey_default_b(&mut self) -> COLORKEY_DEFAULT_B_W { COLORKEY_DEFAULT_B_W::new(self, 0) } #[doc = "Bits 8:15 - default G channle value of color key"] #[inline(always)] - #[must_use] pub fn colorkey_default_g(&mut self) -> COLORKEY_DEFAULT_G_W { COLORKEY_DEFAULT_G_W::new(self, 8) } #[doc = "Bits 16:23 - default R channle value of color key"] #[inline(always)] - #[must_use] pub fn colorkey_default_r(&mut self) -> COLORKEY_DEFAULT_R_W { COLORKEY_DEFAULT_R_W::new(self, 16) } #[doc = "Bit 24 - when pixel in bg ck range but not in fg ck range, 0: the result is bg, 1: the result is fg"] #[inline(always)] - #[must_use] pub fn colorkey_fg_bg_reverse(&mut self) -> COLORKEY_FG_BG_REVERSE_W { COLORKEY_FG_BG_REVERSE_W::new(self, 24) } diff --git a/esp32p4/src/ppa/ck_fg_high.rs b/esp32p4/src/ppa/ck_fg_high.rs index f9eaf38a3e..1d47a6227b 100644 --- a/esp32p4/src/ppa/ck_fg_high.rs +++ b/esp32p4/src/ppa/ck_fg_high.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - color key higher threshold of foreground b channel"] #[inline(always)] - #[must_use] pub fn colorkey_fg_b_high(&mut self) -> COLORKEY_FG_B_HIGH_W { COLORKEY_FG_B_HIGH_W::new(self, 0) } #[doc = "Bits 8:15 - color key higher threshold of foreground g channel"] #[inline(always)] - #[must_use] pub fn colorkey_fg_g_high(&mut self) -> COLORKEY_FG_G_HIGH_W { COLORKEY_FG_G_HIGH_W::new(self, 8) } #[doc = "Bits 16:23 - color key higher threshold of foreground r channel"] #[inline(always)] - #[must_use] pub fn colorkey_fg_r_high(&mut self) -> COLORKEY_FG_R_HIGH_W { COLORKEY_FG_R_HIGH_W::new(self, 16) } diff --git a/esp32p4/src/ppa/ck_fg_low.rs b/esp32p4/src/ppa/ck_fg_low.rs index 0b46db038a..0b00833878 100644 --- a/esp32p4/src/ppa/ck_fg_low.rs +++ b/esp32p4/src/ppa/ck_fg_low.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - color key lower threshold of foreground b channel"] #[inline(always)] - #[must_use] pub fn colorkey_fg_b_low(&mut self) -> COLORKEY_FG_B_LOW_W { COLORKEY_FG_B_LOW_W::new(self, 0) } #[doc = "Bits 8:15 - color key lower threshold of foreground g channel"] #[inline(always)] - #[must_use] pub fn colorkey_fg_g_low(&mut self) -> COLORKEY_FG_G_LOW_W { COLORKEY_FG_G_LOW_W::new(self, 8) } #[doc = "Bits 16:23 - color key lower threshold of foreground r channel"] #[inline(always)] - #[must_use] pub fn colorkey_fg_r_low(&mut self) -> COLORKEY_FG_R_LOW_W { COLORKEY_FG_R_LOW_W::new(self, 16) } diff --git a/esp32p4/src/ppa/clut_conf.rs b/esp32p4/src/ppa/clut_conf.rs index 391d102fa7..ac49ae539c 100644 --- a/esp32p4/src/ppa/clut_conf.rs +++ b/esp32p4/src/ppa/clut_conf.rs @@ -100,49 +100,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1'b0: fifo mode to wr/rd clut0/clut1 RAM through register PPA_SR_CLUT_DATA_REG/PPA_BLEND0_CLUT_DATA_REG/PPA_BLEND1_CLUT_DATA_REG. 1'b1: memory mode to wr/rd sr/blend0/blend1 clut RAM. The bit 11 and 10 of the waddr should be 01 to access sr clut and should be 10 to access blend0 clut and should be 11 to access blend 1 clut in memory mode."] #[inline(always)] - #[must_use] pub fn apb_fifo_mask(&mut self) -> APB_FIFO_MASK_W { APB_FIFO_MASK_W::new(self, 0) } #[doc = "Bit 1 - Write 1 then write 0 to this bit to reset BLEND0 CLUT."] #[inline(always)] - #[must_use] pub fn blend0_clut_mem_rst(&mut self) -> BLEND0_CLUT_MEM_RST_W { BLEND0_CLUT_MEM_RST_W::new(self, 1) } #[doc = "Bit 2 - Write 1 then write 0 to this bit to reset BLEND1 CLUT."] #[inline(always)] - #[must_use] pub fn blend1_clut_mem_rst(&mut self) -> BLEND1_CLUT_MEM_RST_W { BLEND1_CLUT_MEM_RST_W::new(self, 2) } #[doc = "Bit 3 - Write 1 then write 0 to reset the read address of BLEND0 CLUT in fifo mode."] #[inline(always)] - #[must_use] pub fn blend0_clut_mem_rdaddr_rst(&mut self) -> BLEND0_CLUT_MEM_RDADDR_RST_W { BLEND0_CLUT_MEM_RDADDR_RST_W::new(self, 3) } #[doc = "Bit 4 - Write 1 then write 0 to reset the read address of BLEND1 CLUT in fifo mode."] #[inline(always)] - #[must_use] pub fn blend1_clut_mem_rdaddr_rst(&mut self) -> BLEND1_CLUT_MEM_RDADDR_RST_W { BLEND1_CLUT_MEM_RDADDR_RST_W::new(self, 4) } #[doc = "Bit 5 - 1: force power down BLEND CLUT memory."] #[inline(always)] - #[must_use] pub fn blend0_clut_mem_force_pd(&mut self) -> BLEND0_CLUT_MEM_FORCE_PD_W { BLEND0_CLUT_MEM_FORCE_PD_W::new(self, 5) } #[doc = "Bit 6 - 1: force power up BLEND CLUT memory."] #[inline(always)] - #[must_use] pub fn blend0_clut_mem_force_pu(&mut self) -> BLEND0_CLUT_MEM_FORCE_PU_W { BLEND0_CLUT_MEM_FORCE_PU_W::new(self, 6) } #[doc = "Bit 7 - 1: Force clock on for BLEND CLUT memory."] #[inline(always)] - #[must_use] pub fn blend0_clut_mem_clk_ena(&mut self) -> BLEND0_CLUT_MEM_CLK_ENA_W { BLEND0_CLUT_MEM_CLK_ENA_W::new(self, 7) } diff --git a/esp32p4/src/ppa/date.rs b/esp32p4/src/ppa/date.rs index 25e9f6c300..a31488a7e9 100644 --- a/esp32p4/src/ppa/date.rs +++ b/esp32p4/src/ppa/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - register version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32p4/src/ppa/eco_cell_ctrl.rs b/esp32p4/src/ppa/eco_cell_ctrl.rs index 59f7836a36..8deeda218f 100644 --- a/esp32p4/src/ppa/eco_cell_ctrl.rs +++ b/esp32p4/src/ppa/eco_cell_ctrl.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - Reserved."] #[inline(always)] - #[must_use] pub fn rdn_ena(&mut self) -> RDN_ENA_W { RDN_ENA_W::new(self, 1) } diff --git a/esp32p4/src/ppa/eco_high.rs b/esp32p4/src/ppa/eco_high.rs index de04dd0c4c..bbe9b569ba 100644 --- a/esp32p4/src/ppa/eco_high.rs +++ b/esp32p4/src/ppa/eco_high.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Reserved."] #[inline(always)] - #[must_use] pub fn rnd_eco_high(&mut self) -> RND_ECO_HIGH_W { RND_ECO_HIGH_W::new(self, 0) } diff --git a/esp32p4/src/ppa/eco_low.rs b/esp32p4/src/ppa/eco_low.rs index bcbdc6adea..913b8f3ac8 100644 --- a/esp32p4/src/ppa/eco_low.rs +++ b/esp32p4/src/ppa/eco_low.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Reserved."] #[inline(always)] - #[must_use] pub fn rnd_eco_low(&mut self) -> RND_ECO_LOW_W { RND_ECO_LOW_W::new(self, 0) } diff --git a/esp32p4/src/ppa/int_clr.rs b/esp32p4/src/ppa/int_clr.rs index 8798f3aa05..056df40776 100644 --- a/esp32p4/src/ppa/int_clr.rs +++ b/esp32p4/src/ppa/int_clr.rs @@ -15,19 +15,16 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the PPA_SR_EOF_INT interrupt."] #[inline(always)] - #[must_use] pub fn sr_eof(&mut self) -> SR_EOF_W { SR_EOF_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the PPA_BLEND_EOF_INT interrupt."] #[inline(always)] - #[must_use] pub fn blend_eof(&mut self) -> BLEND_EOF_W { BLEND_EOF_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the PPA_SR_RX_YSCAL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn sr_param_cfg_err(&mut self) -> SR_PARAM_CFG_ERR_W { SR_PARAM_CFG_ERR_W::new(self, 2) } diff --git a/esp32p4/src/ppa/int_ena.rs b/esp32p4/src/ppa/int_ena.rs index 45acacfb9a..1b608689a8 100644 --- a/esp32p4/src/ppa/int_ena.rs +++ b/esp32p4/src/ppa/int_ena.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for the PPA_SR_EOF_INT interrupt."] #[inline(always)] - #[must_use] pub fn sr_eof(&mut self) -> SR_EOF_W { SR_EOF_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the PPA_BLEND_EOF_INT interrupt."] #[inline(always)] - #[must_use] pub fn blend_eof(&mut self) -> BLEND_EOF_W { BLEND_EOF_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the PPA_SR_RX_YSCAL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn sr_param_cfg_err(&mut self) -> SR_PARAM_CFG_ERR_W { SR_PARAM_CFG_ERR_W::new(self, 2) } diff --git a/esp32p4/src/ppa/int_raw.rs b/esp32p4/src/ppa/int_raw.rs index 5c5037815d..c90a607675 100644 --- a/esp32p4/src/ppa/int_raw.rs +++ b/esp32p4/src/ppa/int_raw.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw interrupt bit turns to high level when scaling and rotating engine calculate one frame image."] #[inline(always)] - #[must_use] pub fn sr_eof(&mut self) -> SR_EOF_W { SR_EOF_W::new(self, 0) } #[doc = "Bit 1 - The raw interrupt bit turns to high level when blending engine calculate one frame image."] #[inline(always)] - #[must_use] pub fn blend_eof(&mut self) -> BLEND_EOF_W { BLEND_EOF_W::new(self, 1) } #[doc = "Bit 2 - The raw interrupt bit turns to high level when the configured scaling and rotating coefficient is wrong. User can check the reasons through register PPA_SR_PARAM_ERR_ST_REG."] #[inline(always)] - #[must_use] pub fn sr_param_cfg_err(&mut self) -> SR_PARAM_CFG_ERR_W { SR_PARAM_CFG_ERR_W::new(self, 2) } diff --git a/esp32p4/src/ppa/reg_conf.rs b/esp32p4/src/ppa/reg_conf.rs index 138d6020fd..b32ee408b2 100644 --- a/esp32p4/src/ppa/reg_conf.rs +++ b/esp32p4/src/ppa/reg_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - PPA register clock gate enable signal."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32p4/src/ppa/sr_byte_order.rs b/esp32p4/src/ppa/sr_byte_order.rs index ecb0e60435..b70e8ba418 100644 --- a/esp32p4/src/ppa/sr_byte_order.rs +++ b/esp32p4/src/ppa/sr_byte_order.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to 1 the data into Rx channel 0 would be swapped in byte. The Byte0 and Byte1 would be swapped while byte 2 and byte 3 would be swappped."] #[inline(always)] - #[must_use] pub fn sr_rx_byte_swap_en(&mut self) -> SR_RX_BYTE_SWAP_EN_W { SR_RX_BYTE_SWAP_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to 1 the data into Rx channel 0 would be swapped in rgb. It means rgb would be swap to bgr."] #[inline(always)] - #[must_use] pub fn sr_rx_rgb_swap_en(&mut self) -> SR_RX_RGB_SWAP_EN_W { SR_RX_RGB_SWAP_EN_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to 1 to bypass the macro block order function. This function is used to improve efficient accessing external memory."] #[inline(always)] - #[must_use] pub fn sr_macro_bk_ro_bypass(&mut self) -> SR_MACRO_BK_RO_BYPASS_W { SR_MACRO_BK_RO_BYPASS_W::new(self, 2) } diff --git a/esp32p4/src/ppa/sr_color_mode.rs b/esp32p4/src/ppa/sr_color_mode.rs index 92a4a47891..1d02916d91 100644 --- a/esp32p4/src/ppa/sr_color_mode.rs +++ b/esp32p4/src/ppa/sr_color_mode.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - The source image color mode for Scaling and Rotating engine Rx. 0: ARGB8888. 1: RGB888. 2: RGB565. 8: YUV420. others: Reserved."] #[inline(always)] - #[must_use] pub fn sr_rx_cm(&mut self) -> SR_RX_CM_W { SR_RX_CM_W::new(self, 0) } #[doc = "Bits 4:7 - The destination image color mode for Scaling and Rotating engine Tx. 0: ARGB8888. 1: RGB888. 2: RGB565. 8: YUV420. others: Reserved."] #[inline(always)] - #[must_use] pub fn sr_tx_cm(&mut self) -> SR_TX_CM_W { SR_TX_CM_W::new(self, 4) } #[doc = "Bit 8 - YUV input range when reg_sr_rx_cm is 4'd8. 0: limit range. 1: full range"] #[inline(always)] - #[must_use] pub fn yuv_rx_range(&mut self) -> YUV_RX_RANGE_W { YUV_RX_RANGE_W::new(self, 8) } #[doc = "Bit 9 - YUV output range when reg_sr_tx_cm is 4'd8. 0: limit range. 1: full range"] #[inline(always)] - #[must_use] pub fn yuv_tx_range(&mut self) -> YUV_TX_RANGE_W { YUV_TX_RANGE_W::new(self, 9) } #[doc = "Bit 10 - YUV to RGB protocal when reg_sr_rx_cm is 4'd8. 0: BT601. 1: BT709"] #[inline(always)] - #[must_use] pub fn yuv2rgb_protocal(&mut self) -> YUV2RGB_PROTOCAL_W { YUV2RGB_PROTOCAL_W::new(self, 10) } #[doc = "Bit 11 - RGB to YUV protocal when reg_sr_tx_cm is 4'd8. 0: BT601. 1: BT709"] #[inline(always)] - #[must_use] pub fn rgb2yuv_protocal(&mut self) -> RGB2YUV_PROTOCAL_W { RGB2YUV_PROTOCAL_W::new(self, 11) } diff --git a/esp32p4/src/ppa/sr_fix_alpha.rs b/esp32p4/src/ppa/sr_fix_alpha.rs index 04e8494160..dd8f3c3350 100644 --- a/esp32p4/src/ppa/sr_fix_alpha.rs +++ b/esp32p4/src/ppa/sr_fix_alpha.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - The value would replace the alpha value in received pixel for Scaling and Rotating engine when PPA_SR_RX_ALPHA_CONF_EN is enabled."] #[inline(always)] - #[must_use] pub fn sr_rx_fix_alpha(&mut self) -> SR_RX_FIX_ALPHA_W { SR_RX_FIX_ALPHA_W::new(self, 0) } #[doc = "Bits 8:9 - Alpha mode. 0/3: not replace alpha. 1: replace alpha with PPA_SR_FIX_ALPHA. 2: Original alpha multiply with PPA_SR_FIX_ALPHA/256."] #[inline(always)] - #[must_use] pub fn sr_rx_alpha_mod(&mut self) -> SR_RX_ALPHA_MOD_W { SR_RX_ALPHA_MOD_W::new(self, 8) } #[doc = "Bit 10 - Set this bit to invert the original alpha value. When RX color mode is RGB565/RGB88. The original alpha value is 255."] #[inline(always)] - #[must_use] pub fn sr_rx_alpha_inv(&mut self) -> SR_RX_ALPHA_INV_W { SR_RX_ALPHA_INV_W::new(self, 10) } diff --git a/esp32p4/src/ppa/sr_mem_pd.rs b/esp32p4/src/ppa/sr_mem_pd.rs index da8060a763..4c6cb9b10f 100644 --- a/esp32p4/src/ppa/sr_mem_pd.rs +++ b/esp32p4/src/ppa/sr_mem_pd.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to force clock enable of scaling and rotating engine's data memory."] #[inline(always)] - #[must_use] pub fn sr_mem_clk_ena(&mut self) -> SR_MEM_CLK_ENA_W { SR_MEM_CLK_ENA_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to force power down scaling and rotating engine's data memory."] #[inline(always)] - #[must_use] pub fn sr_mem_force_pd(&mut self) -> SR_MEM_FORCE_PD_W { SR_MEM_FORCE_PD_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to force power up scaling and rotating engine's data memory."] #[inline(always)] - #[must_use] pub fn sr_mem_force_pu(&mut self) -> SR_MEM_FORCE_PU_W { SR_MEM_FORCE_PU_W::new(self, 2) } diff --git a/esp32p4/src/ppa/sr_scal_rotate.rs b/esp32p4/src/ppa/sr_scal_rotate.rs index 644ee4eaf2..1717676831 100644 --- a/esp32p4/src/ppa/sr_scal_rotate.rs +++ b/esp32p4/src/ppa/sr_scal_rotate.rs @@ -96,55 +96,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - The integrated part of scaling coefficient in X direction."] #[inline(always)] - #[must_use] pub fn sr_scal_x_int(&mut self) -> SR_SCAL_X_INT_W { SR_SCAL_X_INT_W::new(self, 0) } #[doc = "Bits 8:11 - The fragment part of scaling coefficient in X direction."] #[inline(always)] - #[must_use] pub fn sr_scal_x_frag(&mut self) -> SR_SCAL_X_FRAG_W { SR_SCAL_X_FRAG_W::new(self, 8) } #[doc = "Bits 12:19 - The integrated part of scaling coefficient in Y direction."] #[inline(always)] - #[must_use] pub fn sr_scal_y_int(&mut self) -> SR_SCAL_Y_INT_W { SR_SCAL_Y_INT_W::new(self, 12) } #[doc = "Bits 20:23 - The fragment part of scaling coefficient in Y direction."] #[inline(always)] - #[must_use] pub fn sr_scal_y_frag(&mut self) -> SR_SCAL_Y_FRAG_W { SR_SCAL_Y_FRAG_W::new(self, 20) } #[doc = "Bits 24:25 - The rotate angle. 0: 0 degree. 1: 90 degree. 2: 180 degree. 3: 270 degree."] #[inline(always)] - #[must_use] pub fn sr_rotate_angle(&mut self) -> SR_ROTATE_ANGLE_W { SR_ROTATE_ANGLE_W::new(self, 24) } #[doc = "Bit 26 - Write 1 then write 0 to this bit to reset scaling and rotating engine."] #[inline(always)] - #[must_use] pub fn scal_rotate_rst(&mut self) -> SCAL_ROTATE_RST_W { SCAL_ROTATE_RST_W::new(self, 26) } #[doc = "Bit 27 - Write 1 to enable scaling and rotating engine after parameter is configured."] #[inline(always)] - #[must_use] pub fn scal_rotate_start(&mut self) -> SCAL_ROTATE_START_W { SCAL_ROTATE_START_W::new(self, 27) } #[doc = "Bit 28 - Image mirror in X direction. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn sr_mirror_x(&mut self) -> SR_MIRROR_X_W { SR_MIRROR_X_W::new(self, 28) } #[doc = "Bit 29 - Image mirror in Y direction. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn sr_mirror_y(&mut self) -> SR_MIRROR_Y_W { SR_MIRROR_Y_W::new(self, 29) } diff --git a/esp32p4/src/ppa/sram_ctrl.rs b/esp32p4/src/ppa/sram_ctrl.rs index 2d008a5a7c..c26a47e2da 100644 --- a/esp32p4/src/ppa/sram_ctrl.rs +++ b/esp32p4/src/ppa/sram_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - Control signals"] #[inline(always)] - #[must_use] pub fn mem_aux_ctrl(&mut self) -> MEM_AUX_CTRL_W { MEM_AUX_CTRL_W::new(self, 0) } diff --git a/esp32p4/src/pvt/clk_cfg.rs b/esp32p4/src/pvt/clk_cfg.rs index 8cb58f4c24..84ebaa1057 100644 --- a/esp32p4/src/pvt/clk_cfg.rs +++ b/esp32p4/src/pvt/clk_cfg.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - needs field desc"] #[inline(always)] - #[must_use] pub fn pump_clk_div_num(&mut self) -> PUMP_CLK_DIV_NUM_W { PUMP_CLK_DIV_NUM_W::new(self, 0) } #[doc = "Bit 8 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_clk_pvt_en(&mut self) -> MONITOR_CLK_PVT_EN_W { MONITOR_CLK_PVT_EN_W::new(self, 8) } #[doc = "Bit 31 - select pvt clk"] #[inline(always)] - #[must_use] pub fn clk_sel(&mut self) -> CLK_SEL_W { CLK_SEL_W::new(self, 31) } diff --git a/esp32p4/src/pvt/comb_pd_site0_unit0_vt0_conf1.rs b/esp32p4/src/pvt/comb_pd_site0_unit0_vt0_conf1.rs index 897e240727..00d253acde 100644 --- a/esp32p4/src/pvt/comb_pd_site0_unit0_vt0_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site0_unit0_vt0_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt0_pd_site0_unit0( &mut self, ) -> MONITOR_EN_VT0_PD_SITE0_UNIT0_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt0_pd_site0_unit0( &mut self, ) -> TIMING_ERR_CNT_CLR_VT0_PD_SITE0_UNIT0_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt0_pd_site0_unit0( &mut self, ) -> DELAY_LIMIT_VT0_PD_SITE0_UNIT0_W { diff --git a/esp32p4/src/pvt/comb_pd_site0_unit0_vt0_conf2.rs b/esp32p4/src/pvt/comb_pd_site0_unit0_vt0_conf2.rs index b634134ee9..0a35efd489 100644 --- a/esp32p4/src/pvt/comb_pd_site0_unit0_vt0_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site0_unit0_vt0_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt0_pd_site0_unit0( &mut self, ) -> MONITOR_EDG_MOD_VT0_PD_SITE0_UNIT0_W { diff --git a/esp32p4/src/pvt/comb_pd_site0_unit0_vt1_conf1.rs b/esp32p4/src/pvt/comb_pd_site0_unit0_vt1_conf1.rs index efb58a95ae..e6f78bac00 100644 --- a/esp32p4/src/pvt/comb_pd_site0_unit0_vt1_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site0_unit0_vt1_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt1_pd_site0_unit0( &mut self, ) -> MONITOR_EN_VT1_PD_SITE0_UNIT0_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt1_pd_site0_unit0( &mut self, ) -> TIMING_ERR_CNT_CLR_VT1_PD_SITE0_UNIT0_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt1_pd_site0_unit0( &mut self, ) -> DELAY_LIMIT_VT1_PD_SITE0_UNIT0_W { diff --git a/esp32p4/src/pvt/comb_pd_site0_unit0_vt1_conf2.rs b/esp32p4/src/pvt/comb_pd_site0_unit0_vt1_conf2.rs index 79a3b7bb09..cda0f2b2d0 100644 --- a/esp32p4/src/pvt/comb_pd_site0_unit0_vt1_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site0_unit0_vt1_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt1_pd_site0_unit0( &mut self, ) -> MONITOR_EDG_MOD_VT1_PD_SITE0_UNIT0_W { diff --git a/esp32p4/src/pvt/comb_pd_site0_unit0_vt2_conf1.rs b/esp32p4/src/pvt/comb_pd_site0_unit0_vt2_conf1.rs index 87e8877046..80ebb9ce3b 100644 --- a/esp32p4/src/pvt/comb_pd_site0_unit0_vt2_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site0_unit0_vt2_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt2_pd_site0_unit0( &mut self, ) -> MONITOR_EN_VT2_PD_SITE0_UNIT0_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt2_pd_site0_unit0( &mut self, ) -> TIMING_ERR_CNT_CLR_VT2_PD_SITE0_UNIT0_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt2_pd_site0_unit0( &mut self, ) -> DELAY_LIMIT_VT2_PD_SITE0_UNIT0_W { diff --git a/esp32p4/src/pvt/comb_pd_site0_unit0_vt2_conf2.rs b/esp32p4/src/pvt/comb_pd_site0_unit0_vt2_conf2.rs index 1ca7ec7e82..e7c3bcd347 100644 --- a/esp32p4/src/pvt/comb_pd_site0_unit0_vt2_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site0_unit0_vt2_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt2_pd_site0_unit0( &mut self, ) -> MONITOR_EDG_MOD_VT2_PD_SITE0_UNIT0_W { diff --git a/esp32p4/src/pvt/comb_pd_site0_unit1_vt0_conf1.rs b/esp32p4/src/pvt/comb_pd_site0_unit1_vt0_conf1.rs index 47e0692be8..c4981497f5 100644 --- a/esp32p4/src/pvt/comb_pd_site0_unit1_vt0_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site0_unit1_vt0_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt0_pd_site0_unit1( &mut self, ) -> MONITOR_EN_VT0_PD_SITE0_UNIT1_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt0_pd_site0_unit1( &mut self, ) -> TIMING_ERR_CNT_CLR_VT0_PD_SITE0_UNIT1_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt0_pd_site0_unit1( &mut self, ) -> DELAY_LIMIT_VT0_PD_SITE0_UNIT1_W { diff --git a/esp32p4/src/pvt/comb_pd_site0_unit1_vt0_conf2.rs b/esp32p4/src/pvt/comb_pd_site0_unit1_vt0_conf2.rs index b98727968b..d842e77528 100644 --- a/esp32p4/src/pvt/comb_pd_site0_unit1_vt0_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site0_unit1_vt0_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt0_pd_site0_unit1( &mut self, ) -> MONITOR_EDG_MOD_VT0_PD_SITE0_UNIT1_W { diff --git a/esp32p4/src/pvt/comb_pd_site0_unit1_vt1_conf1.rs b/esp32p4/src/pvt/comb_pd_site0_unit1_vt1_conf1.rs index 4a743a0455..c8c7c458ec 100644 --- a/esp32p4/src/pvt/comb_pd_site0_unit1_vt1_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site0_unit1_vt1_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt1_pd_site0_unit1( &mut self, ) -> MONITOR_EN_VT1_PD_SITE0_UNIT1_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt1_pd_site0_unit1( &mut self, ) -> TIMING_ERR_CNT_CLR_VT1_PD_SITE0_UNIT1_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt1_pd_site0_unit1( &mut self, ) -> DELAY_LIMIT_VT1_PD_SITE0_UNIT1_W { diff --git a/esp32p4/src/pvt/comb_pd_site0_unit1_vt1_conf2.rs b/esp32p4/src/pvt/comb_pd_site0_unit1_vt1_conf2.rs index 66a8930024..8e3f2923e7 100644 --- a/esp32p4/src/pvt/comb_pd_site0_unit1_vt1_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site0_unit1_vt1_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt1_pd_site0_unit1( &mut self, ) -> MONITOR_EDG_MOD_VT1_PD_SITE0_UNIT1_W { diff --git a/esp32p4/src/pvt/comb_pd_site0_unit1_vt2_conf1.rs b/esp32p4/src/pvt/comb_pd_site0_unit1_vt2_conf1.rs index 782c83471d..12637d571a 100644 --- a/esp32p4/src/pvt/comb_pd_site0_unit1_vt2_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site0_unit1_vt2_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt2_pd_site0_unit1( &mut self, ) -> MONITOR_EN_VT2_PD_SITE0_UNIT1_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt2_pd_site0_unit1( &mut self, ) -> TIMING_ERR_CNT_CLR_VT2_PD_SITE0_UNIT1_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt2_pd_site0_unit1( &mut self, ) -> DELAY_LIMIT_VT2_PD_SITE0_UNIT1_W { diff --git a/esp32p4/src/pvt/comb_pd_site0_unit1_vt2_conf2.rs b/esp32p4/src/pvt/comb_pd_site0_unit1_vt2_conf2.rs index c92590ec42..f00051ea8d 100644 --- a/esp32p4/src/pvt/comb_pd_site0_unit1_vt2_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site0_unit1_vt2_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt2_pd_site0_unit1( &mut self, ) -> MONITOR_EDG_MOD_VT2_PD_SITE0_UNIT1_W { diff --git a/esp32p4/src/pvt/comb_pd_site0_unit2_vt0_conf1.rs b/esp32p4/src/pvt/comb_pd_site0_unit2_vt0_conf1.rs index 4c84a8e4ad..a795494b52 100644 --- a/esp32p4/src/pvt/comb_pd_site0_unit2_vt0_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site0_unit2_vt0_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt0_pd_site0_unit2( &mut self, ) -> MONITOR_EN_VT0_PD_SITE0_UNIT2_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt0_pd_site0_unit2( &mut self, ) -> TIMING_ERR_CNT_CLR_VT0_PD_SITE0_UNIT2_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt0_pd_site0_unit2( &mut self, ) -> DELAY_LIMIT_VT0_PD_SITE0_UNIT2_W { diff --git a/esp32p4/src/pvt/comb_pd_site0_unit2_vt0_conf2.rs b/esp32p4/src/pvt/comb_pd_site0_unit2_vt0_conf2.rs index 4360e5efa5..f8536351f4 100644 --- a/esp32p4/src/pvt/comb_pd_site0_unit2_vt0_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site0_unit2_vt0_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt0_pd_site0_unit2( &mut self, ) -> MONITOR_EDG_MOD_VT0_PD_SITE0_UNIT2_W { diff --git a/esp32p4/src/pvt/comb_pd_site0_unit2_vt1_conf1.rs b/esp32p4/src/pvt/comb_pd_site0_unit2_vt1_conf1.rs index 17125a30f7..543a10a80d 100644 --- a/esp32p4/src/pvt/comb_pd_site0_unit2_vt1_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site0_unit2_vt1_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt1_pd_site0_unit2( &mut self, ) -> MONITOR_EN_VT1_PD_SITE0_UNIT2_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt1_pd_site0_unit2( &mut self, ) -> TIMING_ERR_CNT_CLR_VT1_PD_SITE0_UNIT2_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt1_pd_site0_unit2( &mut self, ) -> DELAY_LIMIT_VT1_PD_SITE0_UNIT2_W { diff --git a/esp32p4/src/pvt/comb_pd_site0_unit2_vt1_conf2.rs b/esp32p4/src/pvt/comb_pd_site0_unit2_vt1_conf2.rs index 3b61a81cb5..9288d7571c 100644 --- a/esp32p4/src/pvt/comb_pd_site0_unit2_vt1_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site0_unit2_vt1_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt1_pd_site0_unit2( &mut self, ) -> MONITOR_EDG_MOD_VT1_PD_SITE0_UNIT2_W { diff --git a/esp32p4/src/pvt/comb_pd_site0_unit2_vt2_conf1.rs b/esp32p4/src/pvt/comb_pd_site0_unit2_vt2_conf1.rs index daabce53ee..5d4e782485 100644 --- a/esp32p4/src/pvt/comb_pd_site0_unit2_vt2_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site0_unit2_vt2_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt2_pd_site0_unit2( &mut self, ) -> MONITOR_EN_VT2_PD_SITE0_UNIT2_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt2_pd_site0_unit2( &mut self, ) -> TIMING_ERR_CNT_CLR_VT2_PD_SITE0_UNIT2_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt2_pd_site0_unit2( &mut self, ) -> DELAY_LIMIT_VT2_PD_SITE0_UNIT2_W { diff --git a/esp32p4/src/pvt/comb_pd_site0_unit2_vt2_conf2.rs b/esp32p4/src/pvt/comb_pd_site0_unit2_vt2_conf2.rs index fbf05a16fd..91e47a8cb9 100644 --- a/esp32p4/src/pvt/comb_pd_site0_unit2_vt2_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site0_unit2_vt2_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt2_pd_site0_unit2( &mut self, ) -> MONITOR_EDG_MOD_VT2_PD_SITE0_UNIT2_W { diff --git a/esp32p4/src/pvt/comb_pd_site0_unit3_vt0_conf1.rs b/esp32p4/src/pvt/comb_pd_site0_unit3_vt0_conf1.rs index 6b8f76c164..2412fc0093 100644 --- a/esp32p4/src/pvt/comb_pd_site0_unit3_vt0_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site0_unit3_vt0_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt0_pd_site0_unit3( &mut self, ) -> MONITOR_EN_VT0_PD_SITE0_UNIT3_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt0_pd_site0_unit3( &mut self, ) -> TIMING_ERR_CNT_CLR_VT0_PD_SITE0_UNIT3_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt0_pd_site0_unit3( &mut self, ) -> DELAY_LIMIT_VT0_PD_SITE0_UNIT3_W { diff --git a/esp32p4/src/pvt/comb_pd_site0_unit3_vt0_conf2.rs b/esp32p4/src/pvt/comb_pd_site0_unit3_vt0_conf2.rs index 8c2dcff700..0fabfb3a7c 100644 --- a/esp32p4/src/pvt/comb_pd_site0_unit3_vt0_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site0_unit3_vt0_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt0_pd_site0_unit3( &mut self, ) -> MONITOR_EDG_MOD_VT0_PD_SITE0_UNIT3_W { diff --git a/esp32p4/src/pvt/comb_pd_site0_unit3_vt1_conf1.rs b/esp32p4/src/pvt/comb_pd_site0_unit3_vt1_conf1.rs index 7b8f5635b6..2216c7d2d4 100644 --- a/esp32p4/src/pvt/comb_pd_site0_unit3_vt1_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site0_unit3_vt1_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt1_pd_site0_unit3( &mut self, ) -> MONITOR_EN_VT1_PD_SITE0_UNIT3_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt1_pd_site0_unit3( &mut self, ) -> TIMING_ERR_CNT_CLR_VT1_PD_SITE0_UNIT3_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt1_pd_site0_unit3( &mut self, ) -> DELAY_LIMIT_VT1_PD_SITE0_UNIT3_W { diff --git a/esp32p4/src/pvt/comb_pd_site0_unit3_vt1_conf2.rs b/esp32p4/src/pvt/comb_pd_site0_unit3_vt1_conf2.rs index 11161218b1..7a157d0c61 100644 --- a/esp32p4/src/pvt/comb_pd_site0_unit3_vt1_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site0_unit3_vt1_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt1_pd_site0_unit3( &mut self, ) -> MONITOR_EDG_MOD_VT1_PD_SITE0_UNIT3_W { diff --git a/esp32p4/src/pvt/comb_pd_site0_unit3_vt2_conf1.rs b/esp32p4/src/pvt/comb_pd_site0_unit3_vt2_conf1.rs index 1a3c3297d1..a758d436dc 100644 --- a/esp32p4/src/pvt/comb_pd_site0_unit3_vt2_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site0_unit3_vt2_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt2_pd_site0_unit3( &mut self, ) -> MONITOR_EN_VT2_PD_SITE0_UNIT3_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt2_pd_site0_unit3( &mut self, ) -> TIMING_ERR_CNT_CLR_VT2_PD_SITE0_UNIT3_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt2_pd_site0_unit3( &mut self, ) -> DELAY_LIMIT_VT2_PD_SITE0_UNIT3_W { diff --git a/esp32p4/src/pvt/comb_pd_site0_unit3_vt2_conf2.rs b/esp32p4/src/pvt/comb_pd_site0_unit3_vt2_conf2.rs index a3aee5d42c..8fb18629f4 100644 --- a/esp32p4/src/pvt/comb_pd_site0_unit3_vt2_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site0_unit3_vt2_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt2_pd_site0_unit3( &mut self, ) -> MONITOR_EDG_MOD_VT2_PD_SITE0_UNIT3_W { diff --git a/esp32p4/src/pvt/comb_pd_site1_unit0_vt0_conf1.rs b/esp32p4/src/pvt/comb_pd_site1_unit0_vt0_conf1.rs index c4175a0c50..b77dc90604 100644 --- a/esp32p4/src/pvt/comb_pd_site1_unit0_vt0_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site1_unit0_vt0_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt0_pd_site1_unit0( &mut self, ) -> MONITOR_EN_VT0_PD_SITE1_UNIT0_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt0_pd_site1_unit0( &mut self, ) -> TIMING_ERR_CNT_CLR_VT0_PD_SITE1_UNIT0_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt0_pd_site1_unit0( &mut self, ) -> DELAY_LIMIT_VT0_PD_SITE1_UNIT0_W { diff --git a/esp32p4/src/pvt/comb_pd_site1_unit0_vt0_conf2.rs b/esp32p4/src/pvt/comb_pd_site1_unit0_vt0_conf2.rs index 10adb87734..aac3abc3df 100644 --- a/esp32p4/src/pvt/comb_pd_site1_unit0_vt0_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site1_unit0_vt0_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt0_pd_site1_unit0( &mut self, ) -> MONITOR_EDG_MOD_VT0_PD_SITE1_UNIT0_W { diff --git a/esp32p4/src/pvt/comb_pd_site1_unit0_vt1_conf1.rs b/esp32p4/src/pvt/comb_pd_site1_unit0_vt1_conf1.rs index eb94ead2bb..de2abef78a 100644 --- a/esp32p4/src/pvt/comb_pd_site1_unit0_vt1_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site1_unit0_vt1_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt1_pd_site1_unit0( &mut self, ) -> MONITOR_EN_VT1_PD_SITE1_UNIT0_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt1_pd_site1_unit0( &mut self, ) -> TIMING_ERR_CNT_CLR_VT1_PD_SITE1_UNIT0_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt1_pd_site1_unit0( &mut self, ) -> DELAY_LIMIT_VT1_PD_SITE1_UNIT0_W { diff --git a/esp32p4/src/pvt/comb_pd_site1_unit0_vt1_conf2.rs b/esp32p4/src/pvt/comb_pd_site1_unit0_vt1_conf2.rs index b55ef1c20a..d7abe44249 100644 --- a/esp32p4/src/pvt/comb_pd_site1_unit0_vt1_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site1_unit0_vt1_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt1_pd_site1_unit0( &mut self, ) -> MONITOR_EDG_MOD_VT1_PD_SITE1_UNIT0_W { diff --git a/esp32p4/src/pvt/comb_pd_site1_unit0_vt2_conf1.rs b/esp32p4/src/pvt/comb_pd_site1_unit0_vt2_conf1.rs index df8b08bc2b..7d3a24f864 100644 --- a/esp32p4/src/pvt/comb_pd_site1_unit0_vt2_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site1_unit0_vt2_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt2_pd_site1_unit0( &mut self, ) -> MONITOR_EN_VT2_PD_SITE1_UNIT0_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt2_pd_site1_unit0( &mut self, ) -> TIMING_ERR_CNT_CLR_VT2_PD_SITE1_UNIT0_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt2_pd_site1_unit0( &mut self, ) -> DELAY_LIMIT_VT2_PD_SITE1_UNIT0_W { diff --git a/esp32p4/src/pvt/comb_pd_site1_unit0_vt2_conf2.rs b/esp32p4/src/pvt/comb_pd_site1_unit0_vt2_conf2.rs index ea943f4b71..9216f4a67c 100644 --- a/esp32p4/src/pvt/comb_pd_site1_unit0_vt2_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site1_unit0_vt2_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt2_pd_site1_unit0( &mut self, ) -> MONITOR_EDG_MOD_VT2_PD_SITE1_UNIT0_W { diff --git a/esp32p4/src/pvt/comb_pd_site1_unit1_vt0_conf1.rs b/esp32p4/src/pvt/comb_pd_site1_unit1_vt0_conf1.rs index ca8e9423ae..a07f88c705 100644 --- a/esp32p4/src/pvt/comb_pd_site1_unit1_vt0_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site1_unit1_vt0_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt0_pd_site1_unit1( &mut self, ) -> MONITOR_EN_VT0_PD_SITE1_UNIT1_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt0_pd_site1_unit1( &mut self, ) -> TIMING_ERR_CNT_CLR_VT0_PD_SITE1_UNIT1_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt0_pd_site1_unit1( &mut self, ) -> DELAY_LIMIT_VT0_PD_SITE1_UNIT1_W { diff --git a/esp32p4/src/pvt/comb_pd_site1_unit1_vt0_conf2.rs b/esp32p4/src/pvt/comb_pd_site1_unit1_vt0_conf2.rs index c49b2826bd..b0c09fb65d 100644 --- a/esp32p4/src/pvt/comb_pd_site1_unit1_vt0_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site1_unit1_vt0_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt0_pd_site1_unit1( &mut self, ) -> MONITOR_EDG_MOD_VT0_PD_SITE1_UNIT1_W { diff --git a/esp32p4/src/pvt/comb_pd_site1_unit1_vt1_conf1.rs b/esp32p4/src/pvt/comb_pd_site1_unit1_vt1_conf1.rs index 63305e6e6f..e78ae0d123 100644 --- a/esp32p4/src/pvt/comb_pd_site1_unit1_vt1_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site1_unit1_vt1_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt1_pd_site1_unit1( &mut self, ) -> MONITOR_EN_VT1_PD_SITE1_UNIT1_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt1_pd_site1_unit1( &mut self, ) -> TIMING_ERR_CNT_CLR_VT1_PD_SITE1_UNIT1_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt1_pd_site1_unit1( &mut self, ) -> DELAY_LIMIT_VT1_PD_SITE1_UNIT1_W { diff --git a/esp32p4/src/pvt/comb_pd_site1_unit1_vt1_conf2.rs b/esp32p4/src/pvt/comb_pd_site1_unit1_vt1_conf2.rs index 91631c83aa..4b46eee243 100644 --- a/esp32p4/src/pvt/comb_pd_site1_unit1_vt1_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site1_unit1_vt1_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt1_pd_site1_unit1( &mut self, ) -> MONITOR_EDG_MOD_VT1_PD_SITE1_UNIT1_W { diff --git a/esp32p4/src/pvt/comb_pd_site1_unit1_vt2_conf1.rs b/esp32p4/src/pvt/comb_pd_site1_unit1_vt2_conf1.rs index 0a3700dd5b..99a939ab34 100644 --- a/esp32p4/src/pvt/comb_pd_site1_unit1_vt2_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site1_unit1_vt2_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt2_pd_site1_unit1( &mut self, ) -> MONITOR_EN_VT2_PD_SITE1_UNIT1_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt2_pd_site1_unit1( &mut self, ) -> TIMING_ERR_CNT_CLR_VT2_PD_SITE1_UNIT1_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt2_pd_site1_unit1( &mut self, ) -> DELAY_LIMIT_VT2_PD_SITE1_UNIT1_W { diff --git a/esp32p4/src/pvt/comb_pd_site1_unit1_vt2_conf2.rs b/esp32p4/src/pvt/comb_pd_site1_unit1_vt2_conf2.rs index 9267725669..0e0528b8bb 100644 --- a/esp32p4/src/pvt/comb_pd_site1_unit1_vt2_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site1_unit1_vt2_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt2_pd_site1_unit1( &mut self, ) -> MONITOR_EDG_MOD_VT2_PD_SITE1_UNIT1_W { diff --git a/esp32p4/src/pvt/comb_pd_site1_unit2_vt0_conf1.rs b/esp32p4/src/pvt/comb_pd_site1_unit2_vt0_conf1.rs index d44214bc49..8c11ba4d14 100644 --- a/esp32p4/src/pvt/comb_pd_site1_unit2_vt0_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site1_unit2_vt0_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt0_pd_site1_unit2( &mut self, ) -> MONITOR_EN_VT0_PD_SITE1_UNIT2_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt0_pd_site1_unit2( &mut self, ) -> TIMING_ERR_CNT_CLR_VT0_PD_SITE1_UNIT2_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt0_pd_site1_unit2( &mut self, ) -> DELAY_LIMIT_VT0_PD_SITE1_UNIT2_W { diff --git a/esp32p4/src/pvt/comb_pd_site1_unit2_vt0_conf2.rs b/esp32p4/src/pvt/comb_pd_site1_unit2_vt0_conf2.rs index e90c0890b6..edbb2b4204 100644 --- a/esp32p4/src/pvt/comb_pd_site1_unit2_vt0_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site1_unit2_vt0_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt0_pd_site1_unit2( &mut self, ) -> MONITOR_EDG_MOD_VT0_PD_SITE1_UNIT2_W { diff --git a/esp32p4/src/pvt/comb_pd_site1_unit2_vt1_conf1.rs b/esp32p4/src/pvt/comb_pd_site1_unit2_vt1_conf1.rs index 5355aa8ff2..9aa13bb510 100644 --- a/esp32p4/src/pvt/comb_pd_site1_unit2_vt1_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site1_unit2_vt1_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt1_pd_site1_unit2( &mut self, ) -> MONITOR_EN_VT1_PD_SITE1_UNIT2_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt1_pd_site1_unit2( &mut self, ) -> TIMING_ERR_CNT_CLR_VT1_PD_SITE1_UNIT2_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt1_pd_site1_unit2( &mut self, ) -> DELAY_LIMIT_VT1_PD_SITE1_UNIT2_W { diff --git a/esp32p4/src/pvt/comb_pd_site1_unit2_vt1_conf2.rs b/esp32p4/src/pvt/comb_pd_site1_unit2_vt1_conf2.rs index 54736844ea..0a59517be6 100644 --- a/esp32p4/src/pvt/comb_pd_site1_unit2_vt1_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site1_unit2_vt1_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt1_pd_site1_unit2( &mut self, ) -> MONITOR_EDG_MOD_VT1_PD_SITE1_UNIT2_W { diff --git a/esp32p4/src/pvt/comb_pd_site1_unit2_vt2_conf1.rs b/esp32p4/src/pvt/comb_pd_site1_unit2_vt2_conf1.rs index a0678b429d..cbdfa11676 100644 --- a/esp32p4/src/pvt/comb_pd_site1_unit2_vt2_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site1_unit2_vt2_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt2_pd_site1_unit2( &mut self, ) -> MONITOR_EN_VT2_PD_SITE1_UNIT2_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt2_pd_site1_unit2( &mut self, ) -> TIMING_ERR_CNT_CLR_VT2_PD_SITE1_UNIT2_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt2_pd_site1_unit2( &mut self, ) -> DELAY_LIMIT_VT2_PD_SITE1_UNIT2_W { diff --git a/esp32p4/src/pvt/comb_pd_site1_unit2_vt2_conf2.rs b/esp32p4/src/pvt/comb_pd_site1_unit2_vt2_conf2.rs index 1afd0a59c8..2955dfdbc7 100644 --- a/esp32p4/src/pvt/comb_pd_site1_unit2_vt2_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site1_unit2_vt2_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt2_pd_site1_unit2( &mut self, ) -> MONITOR_EDG_MOD_VT2_PD_SITE1_UNIT2_W { diff --git a/esp32p4/src/pvt/comb_pd_site1_unit3_vt0_conf1.rs b/esp32p4/src/pvt/comb_pd_site1_unit3_vt0_conf1.rs index 62b65149d1..b5438e921f 100644 --- a/esp32p4/src/pvt/comb_pd_site1_unit3_vt0_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site1_unit3_vt0_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt0_pd_site1_unit3( &mut self, ) -> MONITOR_EN_VT0_PD_SITE1_UNIT3_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt0_pd_site1_unit3( &mut self, ) -> TIMING_ERR_CNT_CLR_VT0_PD_SITE1_UNIT3_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt0_pd_site1_unit3( &mut self, ) -> DELAY_LIMIT_VT0_PD_SITE1_UNIT3_W { diff --git a/esp32p4/src/pvt/comb_pd_site1_unit3_vt0_conf2.rs b/esp32p4/src/pvt/comb_pd_site1_unit3_vt0_conf2.rs index e7c8edb11f..c5dd87a53b 100644 --- a/esp32p4/src/pvt/comb_pd_site1_unit3_vt0_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site1_unit3_vt0_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt0_pd_site1_unit3( &mut self, ) -> MONITOR_EDG_MOD_VT0_PD_SITE1_UNIT3_W { diff --git a/esp32p4/src/pvt/comb_pd_site1_unit3_vt1_conf1.rs b/esp32p4/src/pvt/comb_pd_site1_unit3_vt1_conf1.rs index e7bc9fcf00..ad1cc81c51 100644 --- a/esp32p4/src/pvt/comb_pd_site1_unit3_vt1_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site1_unit3_vt1_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt1_pd_site1_unit3( &mut self, ) -> MONITOR_EN_VT1_PD_SITE1_UNIT3_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt1_pd_site1_unit3( &mut self, ) -> TIMING_ERR_CNT_CLR_VT1_PD_SITE1_UNIT3_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt1_pd_site1_unit3( &mut self, ) -> DELAY_LIMIT_VT1_PD_SITE1_UNIT3_W { diff --git a/esp32p4/src/pvt/comb_pd_site1_unit3_vt1_conf2.rs b/esp32p4/src/pvt/comb_pd_site1_unit3_vt1_conf2.rs index 70d12d6156..71d63645a4 100644 --- a/esp32p4/src/pvt/comb_pd_site1_unit3_vt1_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site1_unit3_vt1_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt1_pd_site1_unit3( &mut self, ) -> MONITOR_EDG_MOD_VT1_PD_SITE1_UNIT3_W { diff --git a/esp32p4/src/pvt/comb_pd_site1_unit3_vt2_conf1.rs b/esp32p4/src/pvt/comb_pd_site1_unit3_vt2_conf1.rs index 38f2bb8cc4..7570eb7575 100644 --- a/esp32p4/src/pvt/comb_pd_site1_unit3_vt2_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site1_unit3_vt2_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt2_pd_site1_unit3( &mut self, ) -> MONITOR_EN_VT2_PD_SITE1_UNIT3_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt2_pd_site1_unit3( &mut self, ) -> TIMING_ERR_CNT_CLR_VT2_PD_SITE1_UNIT3_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt2_pd_site1_unit3( &mut self, ) -> DELAY_LIMIT_VT2_PD_SITE1_UNIT3_W { diff --git a/esp32p4/src/pvt/comb_pd_site1_unit3_vt2_conf2.rs b/esp32p4/src/pvt/comb_pd_site1_unit3_vt2_conf2.rs index c3cea2f0da..2663807168 100644 --- a/esp32p4/src/pvt/comb_pd_site1_unit3_vt2_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site1_unit3_vt2_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt2_pd_site1_unit3( &mut self, ) -> MONITOR_EDG_MOD_VT2_PD_SITE1_UNIT3_W { diff --git a/esp32p4/src/pvt/comb_pd_site2_unit0_vt0_conf1.rs b/esp32p4/src/pvt/comb_pd_site2_unit0_vt0_conf1.rs index 0e35144b23..dfe8b49c92 100644 --- a/esp32p4/src/pvt/comb_pd_site2_unit0_vt0_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site2_unit0_vt0_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt0_pd_site2_unit0( &mut self, ) -> MONITOR_EN_VT0_PD_SITE2_UNIT0_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt0_pd_site2_unit0( &mut self, ) -> TIMING_ERR_CNT_CLR_VT0_PD_SITE2_UNIT0_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt0_pd_site2_unit0( &mut self, ) -> DELAY_LIMIT_VT0_PD_SITE2_UNIT0_W { diff --git a/esp32p4/src/pvt/comb_pd_site2_unit0_vt0_conf2.rs b/esp32p4/src/pvt/comb_pd_site2_unit0_vt0_conf2.rs index 705cc36ce7..b6c24e0854 100644 --- a/esp32p4/src/pvt/comb_pd_site2_unit0_vt0_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site2_unit0_vt0_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt0_pd_site2_unit0( &mut self, ) -> MONITOR_EDG_MOD_VT0_PD_SITE2_UNIT0_W { diff --git a/esp32p4/src/pvt/comb_pd_site2_unit0_vt1_conf1.rs b/esp32p4/src/pvt/comb_pd_site2_unit0_vt1_conf1.rs index 2d41df67f0..0ff847be87 100644 --- a/esp32p4/src/pvt/comb_pd_site2_unit0_vt1_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site2_unit0_vt1_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt1_pd_site2_unit0( &mut self, ) -> MONITOR_EN_VT1_PD_SITE2_UNIT0_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt1_pd_site2_unit0( &mut self, ) -> TIMING_ERR_CNT_CLR_VT1_PD_SITE2_UNIT0_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt1_pd_site2_unit0( &mut self, ) -> DELAY_LIMIT_VT1_PD_SITE2_UNIT0_W { diff --git a/esp32p4/src/pvt/comb_pd_site2_unit0_vt1_conf2.rs b/esp32p4/src/pvt/comb_pd_site2_unit0_vt1_conf2.rs index a05d2393c4..572bc63957 100644 --- a/esp32p4/src/pvt/comb_pd_site2_unit0_vt1_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site2_unit0_vt1_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt1_pd_site2_unit0( &mut self, ) -> MONITOR_EDG_MOD_VT1_PD_SITE2_UNIT0_W { diff --git a/esp32p4/src/pvt/comb_pd_site2_unit0_vt2_conf1.rs b/esp32p4/src/pvt/comb_pd_site2_unit0_vt2_conf1.rs index 8677fdd12f..698a622ae3 100644 --- a/esp32p4/src/pvt/comb_pd_site2_unit0_vt2_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site2_unit0_vt2_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt2_pd_site2_unit0( &mut self, ) -> MONITOR_EN_VT2_PD_SITE2_UNIT0_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt2_pd_site2_unit0( &mut self, ) -> TIMING_ERR_CNT_CLR_VT2_PD_SITE2_UNIT0_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt2_pd_site2_unit0( &mut self, ) -> DELAY_LIMIT_VT2_PD_SITE2_UNIT0_W { diff --git a/esp32p4/src/pvt/comb_pd_site2_unit0_vt2_conf2.rs b/esp32p4/src/pvt/comb_pd_site2_unit0_vt2_conf2.rs index fedd8a91bc..b28c6ae62f 100644 --- a/esp32p4/src/pvt/comb_pd_site2_unit0_vt2_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site2_unit0_vt2_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt2_pd_site2_unit0( &mut self, ) -> MONITOR_EDG_MOD_VT2_PD_SITE2_UNIT0_W { diff --git a/esp32p4/src/pvt/comb_pd_site2_unit1_vt0_conf1.rs b/esp32p4/src/pvt/comb_pd_site2_unit1_vt0_conf1.rs index 5cb44610bb..d396b005e0 100644 --- a/esp32p4/src/pvt/comb_pd_site2_unit1_vt0_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site2_unit1_vt0_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt0_pd_site2_unit1( &mut self, ) -> MONITOR_EN_VT0_PD_SITE2_UNIT1_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt0_pd_site2_unit1( &mut self, ) -> TIMING_ERR_CNT_CLR_VT0_PD_SITE2_UNIT1_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt0_pd_site2_unit1( &mut self, ) -> DELAY_LIMIT_VT0_PD_SITE2_UNIT1_W { diff --git a/esp32p4/src/pvt/comb_pd_site2_unit1_vt0_conf2.rs b/esp32p4/src/pvt/comb_pd_site2_unit1_vt0_conf2.rs index 6b6bc54199..20ccaacadd 100644 --- a/esp32p4/src/pvt/comb_pd_site2_unit1_vt0_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site2_unit1_vt0_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt0_pd_site2_unit1( &mut self, ) -> MONITOR_EDG_MOD_VT0_PD_SITE2_UNIT1_W { diff --git a/esp32p4/src/pvt/comb_pd_site2_unit1_vt1_conf1.rs b/esp32p4/src/pvt/comb_pd_site2_unit1_vt1_conf1.rs index e639cb395b..7cbe4fa7db 100644 --- a/esp32p4/src/pvt/comb_pd_site2_unit1_vt1_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site2_unit1_vt1_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt1_pd_site2_unit1( &mut self, ) -> MONITOR_EN_VT1_PD_SITE2_UNIT1_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt1_pd_site2_unit1( &mut self, ) -> TIMING_ERR_CNT_CLR_VT1_PD_SITE2_UNIT1_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt1_pd_site2_unit1( &mut self, ) -> DELAY_LIMIT_VT1_PD_SITE2_UNIT1_W { diff --git a/esp32p4/src/pvt/comb_pd_site2_unit1_vt1_conf2.rs b/esp32p4/src/pvt/comb_pd_site2_unit1_vt1_conf2.rs index fef9e1e834..352cd07943 100644 --- a/esp32p4/src/pvt/comb_pd_site2_unit1_vt1_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site2_unit1_vt1_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt1_pd_site2_unit1( &mut self, ) -> MONITOR_EDG_MOD_VT1_PD_SITE2_UNIT1_W { diff --git a/esp32p4/src/pvt/comb_pd_site2_unit1_vt2_conf1.rs b/esp32p4/src/pvt/comb_pd_site2_unit1_vt2_conf1.rs index b636ca1c29..6b77a68ea3 100644 --- a/esp32p4/src/pvt/comb_pd_site2_unit1_vt2_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site2_unit1_vt2_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt2_pd_site2_unit1( &mut self, ) -> MONITOR_EN_VT2_PD_SITE2_UNIT1_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt2_pd_site2_unit1( &mut self, ) -> TIMING_ERR_CNT_CLR_VT2_PD_SITE2_UNIT1_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt2_pd_site2_unit1( &mut self, ) -> DELAY_LIMIT_VT2_PD_SITE2_UNIT1_W { diff --git a/esp32p4/src/pvt/comb_pd_site2_unit1_vt2_conf2.rs b/esp32p4/src/pvt/comb_pd_site2_unit1_vt2_conf2.rs index 9b784c6610..30e1c3142f 100644 --- a/esp32p4/src/pvt/comb_pd_site2_unit1_vt2_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site2_unit1_vt2_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt2_pd_site2_unit1( &mut self, ) -> MONITOR_EDG_MOD_VT2_PD_SITE2_UNIT1_W { diff --git a/esp32p4/src/pvt/comb_pd_site2_unit2_vt0_conf1.rs b/esp32p4/src/pvt/comb_pd_site2_unit2_vt0_conf1.rs index e20f3469fd..f6738cb217 100644 --- a/esp32p4/src/pvt/comb_pd_site2_unit2_vt0_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site2_unit2_vt0_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt0_pd_site2_unit2( &mut self, ) -> MONITOR_EN_VT0_PD_SITE2_UNIT2_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt0_pd_site2_unit2( &mut self, ) -> TIMING_ERR_CNT_CLR_VT0_PD_SITE2_UNIT2_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt0_pd_site2_unit2( &mut self, ) -> DELAY_LIMIT_VT0_PD_SITE2_UNIT2_W { diff --git a/esp32p4/src/pvt/comb_pd_site2_unit2_vt0_conf2.rs b/esp32p4/src/pvt/comb_pd_site2_unit2_vt0_conf2.rs index fee05e5568..a4439ad47e 100644 --- a/esp32p4/src/pvt/comb_pd_site2_unit2_vt0_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site2_unit2_vt0_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt0_pd_site2_unit2( &mut self, ) -> MONITOR_EDG_MOD_VT0_PD_SITE2_UNIT2_W { diff --git a/esp32p4/src/pvt/comb_pd_site2_unit2_vt1_conf1.rs b/esp32p4/src/pvt/comb_pd_site2_unit2_vt1_conf1.rs index 2d93683d97..61e11483df 100644 --- a/esp32p4/src/pvt/comb_pd_site2_unit2_vt1_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site2_unit2_vt1_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt1_pd_site2_unit2( &mut self, ) -> MONITOR_EN_VT1_PD_SITE2_UNIT2_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt1_pd_site2_unit2( &mut self, ) -> TIMING_ERR_CNT_CLR_VT1_PD_SITE2_UNIT2_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt1_pd_site2_unit2( &mut self, ) -> DELAY_LIMIT_VT1_PD_SITE2_UNIT2_W { diff --git a/esp32p4/src/pvt/comb_pd_site2_unit2_vt1_conf2.rs b/esp32p4/src/pvt/comb_pd_site2_unit2_vt1_conf2.rs index 8e18afaa7a..2996eda6a2 100644 --- a/esp32p4/src/pvt/comb_pd_site2_unit2_vt1_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site2_unit2_vt1_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt1_pd_site2_unit2( &mut self, ) -> MONITOR_EDG_MOD_VT1_PD_SITE2_UNIT2_W { diff --git a/esp32p4/src/pvt/comb_pd_site2_unit2_vt2_conf1.rs b/esp32p4/src/pvt/comb_pd_site2_unit2_vt2_conf1.rs index aabe20474a..9d77045380 100644 --- a/esp32p4/src/pvt/comb_pd_site2_unit2_vt2_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site2_unit2_vt2_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt2_pd_site2_unit2( &mut self, ) -> MONITOR_EN_VT2_PD_SITE2_UNIT2_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt2_pd_site2_unit2( &mut self, ) -> TIMING_ERR_CNT_CLR_VT2_PD_SITE2_UNIT2_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt2_pd_site2_unit2( &mut self, ) -> DELAY_LIMIT_VT2_PD_SITE2_UNIT2_W { diff --git a/esp32p4/src/pvt/comb_pd_site2_unit2_vt2_conf2.rs b/esp32p4/src/pvt/comb_pd_site2_unit2_vt2_conf2.rs index 383cc5c0e5..e12d762b6a 100644 --- a/esp32p4/src/pvt/comb_pd_site2_unit2_vt2_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site2_unit2_vt2_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt2_pd_site2_unit2( &mut self, ) -> MONITOR_EDG_MOD_VT2_PD_SITE2_UNIT2_W { diff --git a/esp32p4/src/pvt/comb_pd_site2_unit3_vt0_conf1.rs b/esp32p4/src/pvt/comb_pd_site2_unit3_vt0_conf1.rs index 6296fa5ceb..4ba9b42f63 100644 --- a/esp32p4/src/pvt/comb_pd_site2_unit3_vt0_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site2_unit3_vt0_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt0_pd_site2_unit3( &mut self, ) -> MONITOR_EN_VT0_PD_SITE2_UNIT3_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt0_pd_site2_unit3( &mut self, ) -> TIMING_ERR_CNT_CLR_VT0_PD_SITE2_UNIT3_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt0_pd_site2_unit3( &mut self, ) -> DELAY_LIMIT_VT0_PD_SITE2_UNIT3_W { diff --git a/esp32p4/src/pvt/comb_pd_site2_unit3_vt0_conf2.rs b/esp32p4/src/pvt/comb_pd_site2_unit3_vt0_conf2.rs index 642e43b151..22550bdff3 100644 --- a/esp32p4/src/pvt/comb_pd_site2_unit3_vt0_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site2_unit3_vt0_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt0_pd_site2_unit3( &mut self, ) -> MONITOR_EDG_MOD_VT0_PD_SITE2_UNIT3_W { diff --git a/esp32p4/src/pvt/comb_pd_site2_unit3_vt1_conf1.rs b/esp32p4/src/pvt/comb_pd_site2_unit3_vt1_conf1.rs index a4843e3533..63789d2494 100644 --- a/esp32p4/src/pvt/comb_pd_site2_unit3_vt1_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site2_unit3_vt1_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt1_pd_site2_unit3( &mut self, ) -> MONITOR_EN_VT1_PD_SITE2_UNIT3_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt1_pd_site2_unit3( &mut self, ) -> TIMING_ERR_CNT_CLR_VT1_PD_SITE2_UNIT3_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt1_pd_site2_unit3( &mut self, ) -> DELAY_LIMIT_VT1_PD_SITE2_UNIT3_W { diff --git a/esp32p4/src/pvt/comb_pd_site2_unit3_vt1_conf2.rs b/esp32p4/src/pvt/comb_pd_site2_unit3_vt1_conf2.rs index 2f513e08fb..dbcd109ca4 100644 --- a/esp32p4/src/pvt/comb_pd_site2_unit3_vt1_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site2_unit3_vt1_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt1_pd_site2_unit3( &mut self, ) -> MONITOR_EDG_MOD_VT1_PD_SITE2_UNIT3_W { diff --git a/esp32p4/src/pvt/comb_pd_site2_unit3_vt2_conf1.rs b/esp32p4/src/pvt/comb_pd_site2_unit3_vt2_conf1.rs index 3d6d946f7d..4000684ec7 100644 --- a/esp32p4/src/pvt/comb_pd_site2_unit3_vt2_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site2_unit3_vt2_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt2_pd_site2_unit3( &mut self, ) -> MONITOR_EN_VT2_PD_SITE2_UNIT3_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt2_pd_site2_unit3( &mut self, ) -> TIMING_ERR_CNT_CLR_VT2_PD_SITE2_UNIT3_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt2_pd_site2_unit3( &mut self, ) -> DELAY_LIMIT_VT2_PD_SITE2_UNIT3_W { diff --git a/esp32p4/src/pvt/comb_pd_site2_unit3_vt2_conf2.rs b/esp32p4/src/pvt/comb_pd_site2_unit3_vt2_conf2.rs index f89ba24178..4f68d50ef3 100644 --- a/esp32p4/src/pvt/comb_pd_site2_unit3_vt2_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site2_unit3_vt2_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt2_pd_site2_unit3( &mut self, ) -> MONITOR_EDG_MOD_VT2_PD_SITE2_UNIT3_W { diff --git a/esp32p4/src/pvt/comb_pd_site3_unit0_vt0_conf1.rs b/esp32p4/src/pvt/comb_pd_site3_unit0_vt0_conf1.rs index 5a4e7badb8..8ecd5f8b05 100644 --- a/esp32p4/src/pvt/comb_pd_site3_unit0_vt0_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site3_unit0_vt0_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt0_pd_site3_unit0( &mut self, ) -> MONITOR_EN_VT0_PD_SITE3_UNIT0_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt0_pd_site3_unit0( &mut self, ) -> TIMING_ERR_CNT_CLR_VT0_PD_SITE3_UNIT0_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt0_pd_site3_unit0( &mut self, ) -> DELAY_LIMIT_VT0_PD_SITE3_UNIT0_W { diff --git a/esp32p4/src/pvt/comb_pd_site3_unit0_vt0_conf2.rs b/esp32p4/src/pvt/comb_pd_site3_unit0_vt0_conf2.rs index 58ab5b1c01..a7683f8dd4 100644 --- a/esp32p4/src/pvt/comb_pd_site3_unit0_vt0_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site3_unit0_vt0_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt0_pd_site3_unit0( &mut self, ) -> MONITOR_EDG_MOD_VT0_PD_SITE3_UNIT0_W { diff --git a/esp32p4/src/pvt/comb_pd_site3_unit0_vt1_conf1.rs b/esp32p4/src/pvt/comb_pd_site3_unit0_vt1_conf1.rs index 52f093fe7b..ea13f8730c 100644 --- a/esp32p4/src/pvt/comb_pd_site3_unit0_vt1_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site3_unit0_vt1_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt1_pd_site3_unit0( &mut self, ) -> MONITOR_EN_VT1_PD_SITE3_UNIT0_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt1_pd_site3_unit0( &mut self, ) -> TIMING_ERR_CNT_CLR_VT1_PD_SITE3_UNIT0_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt1_pd_site3_unit0( &mut self, ) -> DELAY_LIMIT_VT1_PD_SITE3_UNIT0_W { diff --git a/esp32p4/src/pvt/comb_pd_site3_unit0_vt1_conf2.rs b/esp32p4/src/pvt/comb_pd_site3_unit0_vt1_conf2.rs index 9247490af7..e98a337847 100644 --- a/esp32p4/src/pvt/comb_pd_site3_unit0_vt1_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site3_unit0_vt1_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt1_pd_site3_unit0( &mut self, ) -> MONITOR_EDG_MOD_VT1_PD_SITE3_UNIT0_W { diff --git a/esp32p4/src/pvt/comb_pd_site3_unit0_vt2_conf1.rs b/esp32p4/src/pvt/comb_pd_site3_unit0_vt2_conf1.rs index f16d12e049..cb5a162375 100644 --- a/esp32p4/src/pvt/comb_pd_site3_unit0_vt2_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site3_unit0_vt2_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt2_pd_site3_unit0( &mut self, ) -> MONITOR_EN_VT2_PD_SITE3_UNIT0_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt2_pd_site3_unit0( &mut self, ) -> TIMING_ERR_CNT_CLR_VT2_PD_SITE3_UNIT0_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt2_pd_site3_unit0( &mut self, ) -> DELAY_LIMIT_VT2_PD_SITE3_UNIT0_W { diff --git a/esp32p4/src/pvt/comb_pd_site3_unit0_vt2_conf2.rs b/esp32p4/src/pvt/comb_pd_site3_unit0_vt2_conf2.rs index 463d206fd6..8a20942951 100644 --- a/esp32p4/src/pvt/comb_pd_site3_unit0_vt2_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site3_unit0_vt2_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt2_pd_site3_unit0( &mut self, ) -> MONITOR_EDG_MOD_VT2_PD_SITE3_UNIT0_W { diff --git a/esp32p4/src/pvt/comb_pd_site3_unit1_vt0_conf1.rs b/esp32p4/src/pvt/comb_pd_site3_unit1_vt0_conf1.rs index 7c02e27e95..73b9035947 100644 --- a/esp32p4/src/pvt/comb_pd_site3_unit1_vt0_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site3_unit1_vt0_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt0_pd_site3_unit1( &mut self, ) -> MONITOR_EN_VT0_PD_SITE3_UNIT1_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt0_pd_site3_unit1( &mut self, ) -> TIMING_ERR_CNT_CLR_VT0_PD_SITE3_UNIT1_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt0_pd_site3_unit1( &mut self, ) -> DELAY_LIMIT_VT0_PD_SITE3_UNIT1_W { diff --git a/esp32p4/src/pvt/comb_pd_site3_unit1_vt0_conf2.rs b/esp32p4/src/pvt/comb_pd_site3_unit1_vt0_conf2.rs index 784093df34..d5b4a084b3 100644 --- a/esp32p4/src/pvt/comb_pd_site3_unit1_vt0_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site3_unit1_vt0_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt0_pd_site3_unit1( &mut self, ) -> MONITOR_EDG_MOD_VT0_PD_SITE3_UNIT1_W { diff --git a/esp32p4/src/pvt/comb_pd_site3_unit1_vt1_conf1.rs b/esp32p4/src/pvt/comb_pd_site3_unit1_vt1_conf1.rs index 37772e44a6..ec2b1c51c0 100644 --- a/esp32p4/src/pvt/comb_pd_site3_unit1_vt1_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site3_unit1_vt1_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt1_pd_site3_unit1( &mut self, ) -> MONITOR_EN_VT1_PD_SITE3_UNIT1_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt1_pd_site3_unit1( &mut self, ) -> TIMING_ERR_CNT_CLR_VT1_PD_SITE3_UNIT1_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt1_pd_site3_unit1( &mut self, ) -> DELAY_LIMIT_VT1_PD_SITE3_UNIT1_W { diff --git a/esp32p4/src/pvt/comb_pd_site3_unit1_vt1_conf2.rs b/esp32p4/src/pvt/comb_pd_site3_unit1_vt1_conf2.rs index dc49136509..bdcfb6d24b 100644 --- a/esp32p4/src/pvt/comb_pd_site3_unit1_vt1_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site3_unit1_vt1_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt1_pd_site3_unit1( &mut self, ) -> MONITOR_EDG_MOD_VT1_PD_SITE3_UNIT1_W { diff --git a/esp32p4/src/pvt/comb_pd_site3_unit1_vt2_conf1.rs b/esp32p4/src/pvt/comb_pd_site3_unit1_vt2_conf1.rs index cf411d9863..fcaa17ddf4 100644 --- a/esp32p4/src/pvt/comb_pd_site3_unit1_vt2_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site3_unit1_vt2_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt2_pd_site3_unit1( &mut self, ) -> MONITOR_EN_VT2_PD_SITE3_UNIT1_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt2_pd_site3_unit1( &mut self, ) -> TIMING_ERR_CNT_CLR_VT2_PD_SITE3_UNIT1_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt2_pd_site3_unit1( &mut self, ) -> DELAY_LIMIT_VT2_PD_SITE3_UNIT1_W { diff --git a/esp32p4/src/pvt/comb_pd_site3_unit1_vt2_conf2.rs b/esp32p4/src/pvt/comb_pd_site3_unit1_vt2_conf2.rs index 08defc0acc..2fa8f65dbb 100644 --- a/esp32p4/src/pvt/comb_pd_site3_unit1_vt2_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site3_unit1_vt2_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt2_pd_site3_unit1( &mut self, ) -> MONITOR_EDG_MOD_VT2_PD_SITE3_UNIT1_W { diff --git a/esp32p4/src/pvt/comb_pd_site3_unit2_vt0_conf1.rs b/esp32p4/src/pvt/comb_pd_site3_unit2_vt0_conf1.rs index be4be2d576..92babd9ed2 100644 --- a/esp32p4/src/pvt/comb_pd_site3_unit2_vt0_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site3_unit2_vt0_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt0_pd_site3_unit2( &mut self, ) -> MONITOR_EN_VT0_PD_SITE3_UNIT2_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt0_pd_site3_unit2( &mut self, ) -> TIMING_ERR_CNT_CLR_VT0_PD_SITE3_UNIT2_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt0_pd_site3_unit2( &mut self, ) -> DELAY_LIMIT_VT0_PD_SITE3_UNIT2_W { diff --git a/esp32p4/src/pvt/comb_pd_site3_unit2_vt0_conf2.rs b/esp32p4/src/pvt/comb_pd_site3_unit2_vt0_conf2.rs index 1f95d45599..e32f18d7d7 100644 --- a/esp32p4/src/pvt/comb_pd_site3_unit2_vt0_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site3_unit2_vt0_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt0_pd_site3_unit2( &mut self, ) -> MONITOR_EDG_MOD_VT0_PD_SITE3_UNIT2_W { diff --git a/esp32p4/src/pvt/comb_pd_site3_unit2_vt1_conf1.rs b/esp32p4/src/pvt/comb_pd_site3_unit2_vt1_conf1.rs index 00dc73e042..4a7b9274db 100644 --- a/esp32p4/src/pvt/comb_pd_site3_unit2_vt1_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site3_unit2_vt1_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt1_pd_site3_unit2( &mut self, ) -> MONITOR_EN_VT1_PD_SITE3_UNIT2_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt1_pd_site3_unit2( &mut self, ) -> TIMING_ERR_CNT_CLR_VT1_PD_SITE3_UNIT2_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt1_pd_site3_unit2( &mut self, ) -> DELAY_LIMIT_VT1_PD_SITE3_UNIT2_W { diff --git a/esp32p4/src/pvt/comb_pd_site3_unit2_vt1_conf2.rs b/esp32p4/src/pvt/comb_pd_site3_unit2_vt1_conf2.rs index 8d733e85cc..cef597cc30 100644 --- a/esp32p4/src/pvt/comb_pd_site3_unit2_vt1_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site3_unit2_vt1_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt1_pd_site3_unit2( &mut self, ) -> MONITOR_EDG_MOD_VT1_PD_SITE3_UNIT2_W { diff --git a/esp32p4/src/pvt/comb_pd_site3_unit2_vt2_conf1.rs b/esp32p4/src/pvt/comb_pd_site3_unit2_vt2_conf1.rs index bb1653d136..8abba37324 100644 --- a/esp32p4/src/pvt/comb_pd_site3_unit2_vt2_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site3_unit2_vt2_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt2_pd_site3_unit2( &mut self, ) -> MONITOR_EN_VT2_PD_SITE3_UNIT2_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt2_pd_site3_unit2( &mut self, ) -> TIMING_ERR_CNT_CLR_VT2_PD_SITE3_UNIT2_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt2_pd_site3_unit2( &mut self, ) -> DELAY_LIMIT_VT2_PD_SITE3_UNIT2_W { diff --git a/esp32p4/src/pvt/comb_pd_site3_unit2_vt2_conf2.rs b/esp32p4/src/pvt/comb_pd_site3_unit2_vt2_conf2.rs index 510a30c803..059f8197bf 100644 --- a/esp32p4/src/pvt/comb_pd_site3_unit2_vt2_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site3_unit2_vt2_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt2_pd_site3_unit2( &mut self, ) -> MONITOR_EDG_MOD_VT2_PD_SITE3_UNIT2_W { diff --git a/esp32p4/src/pvt/comb_pd_site3_unit3_vt0_conf1.rs b/esp32p4/src/pvt/comb_pd_site3_unit3_vt0_conf1.rs index 827b700767..a3c124b6ba 100644 --- a/esp32p4/src/pvt/comb_pd_site3_unit3_vt0_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site3_unit3_vt0_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt0_pd_site3_unit3( &mut self, ) -> MONITOR_EN_VT0_PD_SITE3_UNIT3_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt0_pd_site3_unit3( &mut self, ) -> TIMING_ERR_CNT_CLR_VT0_PD_SITE3_UNIT3_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt0_pd_site3_unit3( &mut self, ) -> DELAY_LIMIT_VT0_PD_SITE3_UNIT3_W { diff --git a/esp32p4/src/pvt/comb_pd_site3_unit3_vt0_conf2.rs b/esp32p4/src/pvt/comb_pd_site3_unit3_vt0_conf2.rs index 188bd66414..13ed2d7348 100644 --- a/esp32p4/src/pvt/comb_pd_site3_unit3_vt0_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site3_unit3_vt0_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt0_pd_site3_unit3( &mut self, ) -> MONITOR_EDG_MOD_VT0_PD_SITE3_UNIT3_W { diff --git a/esp32p4/src/pvt/comb_pd_site3_unit3_vt1_conf1.rs b/esp32p4/src/pvt/comb_pd_site3_unit3_vt1_conf1.rs index 453121ea7d..a50b34bfbd 100644 --- a/esp32p4/src/pvt/comb_pd_site3_unit3_vt1_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site3_unit3_vt1_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt1_pd_site3_unit3( &mut self, ) -> MONITOR_EN_VT1_PD_SITE3_UNIT3_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt1_pd_site3_unit3( &mut self, ) -> TIMING_ERR_CNT_CLR_VT1_PD_SITE3_UNIT3_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt1_pd_site3_unit3( &mut self, ) -> DELAY_LIMIT_VT1_PD_SITE3_UNIT3_W { diff --git a/esp32p4/src/pvt/comb_pd_site3_unit3_vt1_conf2.rs b/esp32p4/src/pvt/comb_pd_site3_unit3_vt1_conf2.rs index 454ef42948..60ffde10be 100644 --- a/esp32p4/src/pvt/comb_pd_site3_unit3_vt1_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site3_unit3_vt1_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt1_pd_site3_unit3( &mut self, ) -> MONITOR_EDG_MOD_VT1_PD_SITE3_UNIT3_W { diff --git a/esp32p4/src/pvt/comb_pd_site3_unit3_vt2_conf1.rs b/esp32p4/src/pvt/comb_pd_site3_unit3_vt2_conf1.rs index 01e4b9d4c3..3b13a0dad8 100644 --- a/esp32p4/src/pvt/comb_pd_site3_unit3_vt2_conf1.rs +++ b/esp32p4/src/pvt/comb_pd_site3_unit3_vt2_conf1.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_en_vt2_pd_site3_unit3( &mut self, ) -> MONITOR_EN_VT2_PD_SITE3_UNIT3_W { @@ -72,7 +71,6 @@ impl W { } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn timing_err_cnt_clr_vt2_pd_site3_unit3( &mut self, ) -> TIMING_ERR_CNT_CLR_VT2_PD_SITE3_UNIT3_W { @@ -80,7 +78,6 @@ impl W { } #[doc = "Bits 2:9 - needs field desc"] #[inline(always)] - #[must_use] pub fn delay_limit_vt2_pd_site3_unit3( &mut self, ) -> DELAY_LIMIT_VT2_PD_SITE3_UNIT3_W { diff --git a/esp32p4/src/pvt/comb_pd_site3_unit3_vt2_conf2.rs b/esp32p4/src/pvt/comb_pd_site3_unit3_vt2_conf2.rs index 4f1ddb53e9..693f0959c5 100644 --- a/esp32p4/src/pvt/comb_pd_site3_unit3_vt2_conf2.rs +++ b/esp32p4/src/pvt/comb_pd_site3_unit3_vt2_conf2.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - needs field desc"] #[inline(always)] - #[must_use] pub fn monitor_edg_mod_vt2_pd_site3_unit3( &mut self, ) -> MONITOR_EDG_MOD_VT2_PD_SITE3_UNIT3_W { diff --git a/esp32p4/src/pvt/date.rs b/esp32p4/src/pvt/date.rs index 033ef2ba3d..0172f8cb97 100644 --- a/esp32p4/src/pvt/date.rs +++ b/esp32p4/src/pvt/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - version register"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32p4/src/pvt/dbias_channel0_sel.rs b/esp32p4/src/pvt/dbias_channel0_sel.rs index e76ab29aa7..a31e8e4b64 100644 --- a/esp32p4/src/pvt/dbias_channel0_sel.rs +++ b/esp32p4/src/pvt/dbias_channel0_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:16 - needs field desc"] #[inline(always)] - #[must_use] pub fn dbias_channel0_cfg(&mut self) -> DBIAS_CHANNEL0_CFG_W { DBIAS_CHANNEL0_CFG_W::new(self, 0) } diff --git a/esp32p4/src/pvt/dbias_channel1_sel.rs b/esp32p4/src/pvt/dbias_channel1_sel.rs index 357fe4e2e3..60cadad474 100644 --- a/esp32p4/src/pvt/dbias_channel1_sel.rs +++ b/esp32p4/src/pvt/dbias_channel1_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:16 - needs field desc"] #[inline(always)] - #[must_use] pub fn dbias_channel1_cfg(&mut self) -> DBIAS_CHANNEL1_CFG_W { DBIAS_CHANNEL1_CFG_W::new(self, 0) } diff --git a/esp32p4/src/pvt/dbias_channel2_sel.rs b/esp32p4/src/pvt/dbias_channel2_sel.rs index 59e37fc6be..e78dedf5af 100644 --- a/esp32p4/src/pvt/dbias_channel2_sel.rs +++ b/esp32p4/src/pvt/dbias_channel2_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:16 - needs field desc"] #[inline(always)] - #[must_use] pub fn dbias_channel2_cfg(&mut self) -> DBIAS_CHANNEL2_CFG_W { DBIAS_CHANNEL2_CFG_W::new(self, 0) } diff --git a/esp32p4/src/pvt/dbias_channel3_sel.rs b/esp32p4/src/pvt/dbias_channel3_sel.rs index 29a595731c..d42c19db9e 100644 --- a/esp32p4/src/pvt/dbias_channel3_sel.rs +++ b/esp32p4/src/pvt/dbias_channel3_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:16 - needs field desc"] #[inline(always)] - #[must_use] pub fn dbias_channel3_cfg(&mut self) -> DBIAS_CHANNEL3_CFG_W { DBIAS_CHANNEL3_CFG_W::new(self, 0) } diff --git a/esp32p4/src/pvt/dbias_channel4_sel.rs b/esp32p4/src/pvt/dbias_channel4_sel.rs index fd9cb27d6a..a789e91857 100644 --- a/esp32p4/src/pvt/dbias_channel4_sel.rs +++ b/esp32p4/src/pvt/dbias_channel4_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:16 - needs field desc"] #[inline(always)] - #[must_use] pub fn dbias_channel4_cfg(&mut self) -> DBIAS_CHANNEL4_CFG_W { DBIAS_CHANNEL4_CFG_W::new(self, 0) } diff --git a/esp32p4/src/pvt/dbias_channel_sel0.rs b/esp32p4/src/pvt/dbias_channel_sel0.rs index efbcbde1d5..60e8ba809f 100644 --- a/esp32p4/src/pvt/dbias_channel_sel0.rs +++ b/esp32p4/src/pvt/dbias_channel_sel0.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 4:10 - needs field desc"] #[inline(always)] - #[must_use] pub fn dbias_channel3_sel(&mut self) -> DBIAS_CHANNEL3_SEL_W { DBIAS_CHANNEL3_SEL_W::new(self, 4) } #[doc = "Bits 11:17 - needs field desc"] #[inline(always)] - #[must_use] pub fn dbias_channel2_sel(&mut self) -> DBIAS_CHANNEL2_SEL_W { DBIAS_CHANNEL2_SEL_W::new(self, 11) } #[doc = "Bits 18:24 - needs field desc"] #[inline(always)] - #[must_use] pub fn dbias_channel1_sel(&mut self) -> DBIAS_CHANNEL1_SEL_W { DBIAS_CHANNEL1_SEL_W::new(self, 18) } #[doc = "Bits 25:31 - needs field desc"] #[inline(always)] - #[must_use] pub fn dbias_channel0_sel(&mut self) -> DBIAS_CHANNEL0_SEL_W { DBIAS_CHANNEL0_SEL_W::new(self, 25) } diff --git a/esp32p4/src/pvt/dbias_channel_sel1.rs b/esp32p4/src/pvt/dbias_channel_sel1.rs index 2a75b721ae..32e5de42b4 100644 --- a/esp32p4/src/pvt/dbias_channel_sel1.rs +++ b/esp32p4/src/pvt/dbias_channel_sel1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 25:31 - needs field desc"] #[inline(always)] - #[must_use] pub fn dbias_channel4_sel(&mut self) -> DBIAS_CHANNEL4_SEL_W { DBIAS_CHANNEL4_SEL_W::new(self, 25) } diff --git a/esp32p4/src/pvt/dbias_cmd0.rs b/esp32p4/src/pvt/dbias_cmd0.rs index bc7b2e30cf..a5219d1d75 100644 --- a/esp32p4/src/pvt/dbias_cmd0.rs +++ b/esp32p4/src/pvt/dbias_cmd0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:16 - needs field desc"] #[inline(always)] - #[must_use] pub fn dbias_cmd0(&mut self) -> DBIAS_CMD0_W { DBIAS_CMD0_W::new(self, 0) } diff --git a/esp32p4/src/pvt/dbias_cmd1.rs b/esp32p4/src/pvt/dbias_cmd1.rs index 1813995e46..ff385a326d 100644 --- a/esp32p4/src/pvt/dbias_cmd1.rs +++ b/esp32p4/src/pvt/dbias_cmd1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:16 - needs field desc"] #[inline(always)] - #[must_use] pub fn dbias_cmd1(&mut self) -> DBIAS_CMD1_W { DBIAS_CMD1_W::new(self, 0) } diff --git a/esp32p4/src/pvt/dbias_cmd2.rs b/esp32p4/src/pvt/dbias_cmd2.rs index 72425e0ecf..a3298fd15f 100644 --- a/esp32p4/src/pvt/dbias_cmd2.rs +++ b/esp32p4/src/pvt/dbias_cmd2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:16 - needs field desc"] #[inline(always)] - #[must_use] pub fn dbias_cmd2(&mut self) -> DBIAS_CMD2_W { DBIAS_CMD2_W::new(self, 0) } diff --git a/esp32p4/src/pvt/dbias_cmd3.rs b/esp32p4/src/pvt/dbias_cmd3.rs index 3819479e98..36af3e2b20 100644 --- a/esp32p4/src/pvt/dbias_cmd3.rs +++ b/esp32p4/src/pvt/dbias_cmd3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:16 - needs field desc"] #[inline(always)] - #[must_use] pub fn dbias_cmd3(&mut self) -> DBIAS_CMD3_W { DBIAS_CMD3_W::new(self, 0) } diff --git a/esp32p4/src/pvt/dbias_cmd4.rs b/esp32p4/src/pvt/dbias_cmd4.rs index ce16b2d595..198bd3b5d8 100644 --- a/esp32p4/src/pvt/dbias_cmd4.rs +++ b/esp32p4/src/pvt/dbias_cmd4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:16 - needs field desc"] #[inline(always)] - #[must_use] pub fn dbias_cmd4(&mut self) -> DBIAS_CMD4_W { DBIAS_CMD4_W::new(self, 0) } diff --git a/esp32p4/src/pvt/dbias_timer.rs b/esp32p4/src/pvt/dbias_timer.rs index cf693bf9ec..6a928e0afa 100644 --- a/esp32p4/src/pvt/dbias_timer.rs +++ b/esp32p4/src/pvt/dbias_timer.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 15:30 - needs field desc"] #[inline(always)] - #[must_use] pub fn timer_target(&mut self) -> TIMER_TARGET_W { TIMER_TARGET_W::new(self, 15) } #[doc = "Bit 31 - needs field desc"] #[inline(always)] - #[must_use] pub fn timer_en(&mut self) -> TIMER_EN_W { TIMER_EN_W::new(self, 31) } diff --git a/esp32p4/src/pvt/pmup_bitmap_high0.rs b/esp32p4/src/pvt/pmup_bitmap_high0.rs index 4201b68c65..1f58224208 100644 --- a/esp32p4/src/pvt/pmup_bitmap_high0.rs +++ b/esp32p4/src/pvt/pmup_bitmap_high0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - select valid high channel0"] #[inline(always)] - #[must_use] pub fn pump_bitmap_high0(&mut self) -> PUMP_BITMAP_HIGH0_W { PUMP_BITMAP_HIGH0_W::new(self, 0) } diff --git a/esp32p4/src/pvt/pmup_bitmap_high1.rs b/esp32p4/src/pvt/pmup_bitmap_high1.rs index f7a163dcb8..68e091821c 100644 --- a/esp32p4/src/pvt/pmup_bitmap_high1.rs +++ b/esp32p4/src/pvt/pmup_bitmap_high1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - select valid high channel1"] #[inline(always)] - #[must_use] pub fn pump_bitmap_high1(&mut self) -> PUMP_BITMAP_HIGH1_W { PUMP_BITMAP_HIGH1_W::new(self, 0) } diff --git a/esp32p4/src/pvt/pmup_bitmap_high2.rs b/esp32p4/src/pvt/pmup_bitmap_high2.rs index f688db941b..f057a5bcea 100644 --- a/esp32p4/src/pvt/pmup_bitmap_high2.rs +++ b/esp32p4/src/pvt/pmup_bitmap_high2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - select valid high channel2"] #[inline(always)] - #[must_use] pub fn pump_bitmap_high2(&mut self) -> PUMP_BITMAP_HIGH2_W { PUMP_BITMAP_HIGH2_W::new(self, 0) } diff --git a/esp32p4/src/pvt/pmup_bitmap_high3.rs b/esp32p4/src/pvt/pmup_bitmap_high3.rs index 4aa62ca7cc..1c700bbfd2 100644 --- a/esp32p4/src/pvt/pmup_bitmap_high3.rs +++ b/esp32p4/src/pvt/pmup_bitmap_high3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - select valid high channel3"] #[inline(always)] - #[must_use] pub fn pump_bitmap_high3(&mut self) -> PUMP_BITMAP_HIGH3_W { PUMP_BITMAP_HIGH3_W::new(self, 0) } diff --git a/esp32p4/src/pvt/pmup_bitmap_high4.rs b/esp32p4/src/pvt/pmup_bitmap_high4.rs index 942c59f2ab..cff01aa2e3 100644 --- a/esp32p4/src/pvt/pmup_bitmap_high4.rs +++ b/esp32p4/src/pvt/pmup_bitmap_high4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - select valid high channel4"] #[inline(always)] - #[must_use] pub fn pump_bitmap_high4(&mut self) -> PUMP_BITMAP_HIGH4_W { PUMP_BITMAP_HIGH4_W::new(self, 0) } diff --git a/esp32p4/src/pvt/pmup_bitmap_low0.rs b/esp32p4/src/pvt/pmup_bitmap_low0.rs index f009c6cc1e..9c41d2a27a 100644 --- a/esp32p4/src/pvt/pmup_bitmap_low0.rs +++ b/esp32p4/src/pvt/pmup_bitmap_low0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - select valid low channel0"] #[inline(always)] - #[must_use] pub fn pump_bitmap_low0(&mut self) -> PUMP_BITMAP_LOW0_W { PUMP_BITMAP_LOW0_W::new(self, 0) } diff --git a/esp32p4/src/pvt/pmup_bitmap_low1.rs b/esp32p4/src/pvt/pmup_bitmap_low1.rs index 011b1053de..7e68f4a69f 100644 --- a/esp32p4/src/pvt/pmup_bitmap_low1.rs +++ b/esp32p4/src/pvt/pmup_bitmap_low1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - select valid low channel1"] #[inline(always)] - #[must_use] pub fn pump_bitmap_low1(&mut self) -> PUMP_BITMAP_LOW1_W { PUMP_BITMAP_LOW1_W::new(self, 0) } diff --git a/esp32p4/src/pvt/pmup_bitmap_low2.rs b/esp32p4/src/pvt/pmup_bitmap_low2.rs index 38a4c6ec94..b6e20f22d9 100644 --- a/esp32p4/src/pvt/pmup_bitmap_low2.rs +++ b/esp32p4/src/pvt/pmup_bitmap_low2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - select valid low channel2"] #[inline(always)] - #[must_use] pub fn pump_bitmap_low2(&mut self) -> PUMP_BITMAP_LOW2_W { PUMP_BITMAP_LOW2_W::new(self, 0) } diff --git a/esp32p4/src/pvt/pmup_bitmap_low3.rs b/esp32p4/src/pvt/pmup_bitmap_low3.rs index c0aea66965..df5ec69d77 100644 --- a/esp32p4/src/pvt/pmup_bitmap_low3.rs +++ b/esp32p4/src/pvt/pmup_bitmap_low3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - select valid low channel3"] #[inline(always)] - #[must_use] pub fn pump_bitmap_low3(&mut self) -> PUMP_BITMAP_LOW3_W { PUMP_BITMAP_LOW3_W::new(self, 0) } diff --git a/esp32p4/src/pvt/pmup_bitmap_low4.rs b/esp32p4/src/pvt/pmup_bitmap_low4.rs index 1d2af5cf7c..98a781d4f3 100644 --- a/esp32p4/src/pvt/pmup_bitmap_low4.rs +++ b/esp32p4/src/pvt/pmup_bitmap_low4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - select valid low channel4"] #[inline(always)] - #[must_use] pub fn pump_bitmap_low4(&mut self) -> PUMP_BITMAP_LOW4_W { PUMP_BITMAP_LOW4_W::new(self, 0) } diff --git a/esp32p4/src/pvt/pmup_channel_cfg.rs b/esp32p4/src/pvt/pmup_channel_cfg.rs index bea99d6146..037d9e1941 100644 --- a/esp32p4/src/pvt/pmup_channel_cfg.rs +++ b/esp32p4/src/pvt/pmup_channel_cfg.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 7:11 - configure cmd4 code"] #[inline(always)] - #[must_use] pub fn pump_channel_code4(&mut self) -> PUMP_CHANNEL_CODE4_W { PUMP_CHANNEL_CODE4_W::new(self, 7) } #[doc = "Bits 12:16 - configure cmd3 code"] #[inline(always)] - #[must_use] pub fn pump_channel_code3(&mut self) -> PUMP_CHANNEL_CODE3_W { PUMP_CHANNEL_CODE3_W::new(self, 12) } #[doc = "Bits 17:21 - configure cmd2 code"] #[inline(always)] - #[must_use] pub fn pump_channel_code2(&mut self) -> PUMP_CHANNEL_CODE2_W { PUMP_CHANNEL_CODE2_W::new(self, 17) } #[doc = "Bits 22:26 - configure cmd1 code"] #[inline(always)] - #[must_use] pub fn pump_channel_code1(&mut self) -> PUMP_CHANNEL_CODE1_W { PUMP_CHANNEL_CODE1_W::new(self, 22) } #[doc = "Bits 27:31 - configure cmd0 code"] #[inline(always)] - #[must_use] pub fn pump_channel_code0(&mut self) -> PUMP_CHANNEL_CODE0_W { PUMP_CHANNEL_CODE0_W::new(self, 27) } diff --git a/esp32p4/src/pvt/pmup_drv_cfg.rs b/esp32p4/src/pvt/pmup_drv_cfg.rs index ff181e67ff..c42906fe01 100644 --- a/esp32p4/src/pvt/pmup_drv_cfg.rs +++ b/esp32p4/src/pvt/pmup_drv_cfg.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 9 - configure pvt charge xpd"] #[inline(always)] - #[must_use] pub fn pump_en(&mut self) -> PUMP_EN_W { PUMP_EN_W::new(self, 9) } #[doc = "Bit 10 - force register clken"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 10) } #[doc = "Bits 11:14 - configure cmd4 drv"] #[inline(always)] - #[must_use] pub fn pump_drv4(&mut self) -> PUMP_DRV4_W { PUMP_DRV4_W::new(self, 11) } #[doc = "Bits 15:18 - configure cmd3 drv"] #[inline(always)] - #[must_use] pub fn pump_drv3(&mut self) -> PUMP_DRV3_W { PUMP_DRV3_W::new(self, 15) } #[doc = "Bits 19:22 - configure cmd2 drv"] #[inline(always)] - #[must_use] pub fn pump_drv2(&mut self) -> PUMP_DRV2_W { PUMP_DRV2_W::new(self, 19) } #[doc = "Bits 23:26 - configure cmd1 drv"] #[inline(always)] - #[must_use] pub fn pump_drv1(&mut self) -> PUMP_DRV1_W { PUMP_DRV1_W::new(self, 23) } #[doc = "Bits 27:30 - configure cmd0 drv"] #[inline(always)] - #[must_use] pub fn pump_drv0(&mut self) -> PUMP_DRV0_W { PUMP_DRV0_W::new(self, 27) } diff --git a/esp32p4/src/pvt/value_update.rs b/esp32p4/src/pvt/value_update.rs index 35bcefcbf0..f8764afdbb 100644 --- a/esp32p4/src/pvt/value_update.rs +++ b/esp32p4/src/pvt/value_update.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - needs field desc"] #[inline(always)] - #[must_use] pub fn value_update(&mut self) -> VALUE_UPDATE_W { VALUE_UPDATE_W::new(self, 0) } #[doc = "Bit 1 - needs field desc"] #[inline(always)] - #[must_use] pub fn bypass(&mut self) -> BYPASS_W { BYPASS_W::new(self, 1) } diff --git a/esp32p4/src/rmt.rs b/esp32p4/src/rmt.rs index 06e4b861d2..ec0b232e07 100644 --- a/esp32p4/src/rmt.rs +++ b/esp32p4/src/rmt.rs @@ -123,14 +123,25 @@ impl RegisterBlock { pub const fn rx_chconf0(&self, n: usize) -> &RX_CHCONF0 { #[allow(clippy::no_effect)] [(); 4][n]; - unsafe { &*(self as *const Self).cast::().add(48).add(8 * n).cast() } + unsafe { + &*core::ptr::from_ref(self) + .cast::() + .add(48) + .add(8 * n) + .cast() + } } #[doc = "Iterator for array of:"] #[doc = "0x30..0x40 - Channel %s configure register 0"] #[inline(always)] pub fn rx_chconf0_iter(&self) -> impl Iterator { - (0..4) - .map(move |n| unsafe { &*(self as *const Self).cast::().add(48).add(8 * n).cast() }) + (0..4).map(move |n| unsafe { + &*core::ptr::from_ref(self) + .cast::() + .add(48) + .add(8 * n) + .cast() + }) } #[doc = "0x30 - Channel 0 configure register 0"] #[inline(always)] @@ -157,14 +168,25 @@ impl RegisterBlock { pub const fn rx_chconf1(&self, n: usize) -> &RX_CHCONF1 { #[allow(clippy::no_effect)] [(); 4][n]; - unsafe { &*(self as *const Self).cast::().add(52).add(8 * n).cast() } + unsafe { + &*core::ptr::from_ref(self) + .cast::() + .add(52) + .add(8 * n) + .cast() + } } #[doc = "Iterator for array of:"] #[doc = "0x34..0x44 - Channel %s configure register 1"] #[inline(always)] pub fn rx_chconf1_iter(&self) -> impl Iterator { - (0..4) - .map(move |n| unsafe { &*(self as *const Self).cast::().add(52).add(8 * n).cast() }) + (0..4).map(move |n| unsafe { + &*core::ptr::from_ref(self) + .cast::() + .add(52) + .add(8 * n) + .cast() + }) } #[doc = "0x34 - Channel 0 configure register 1"] #[inline(always)] diff --git a/esp32p4/src/rmt/ch_rx_carrier_rm.rs b/esp32p4/src/rmt/ch_rx_carrier_rm.rs index ace26d24ae..2513bd33ca 100644 --- a/esp32p4/src/rmt/ch_rx_carrier_rm.rs +++ b/esp32p4/src/rmt/ch_rx_carrier_rm.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The low level period in a carrier modulation mode is (REG_RMT_REG_CARRIER_LOW_THRES_CH%s + 1) for channel %s."] #[inline(always)] - #[must_use] pub fn carrier_low_thres_ch(&mut self) -> CARRIER_LOW_THRES_CH_W { CARRIER_LOW_THRES_CH_W::new(self, 0) } #[doc = "Bits 16:31 - The high level period in a carrier modulation mode is (REG_RMT_REG_CARRIER_HIGH_THRES_CH%s + 1) for channel %s."] #[inline(always)] - #[must_use] pub fn carrier_high_thres_ch(&mut self) -> CARRIER_HIGH_THRES_CH_W { CARRIER_HIGH_THRES_CH_W::new(self, 16) } diff --git a/esp32p4/src/rmt/ch_rx_lim.rs b/esp32p4/src/rmt/ch_rx_lim.rs index e3ab99143d..a234f36caf 100644 --- a/esp32p4/src/rmt/ch_rx_lim.rs +++ b/esp32p4/src/rmt/ch_rx_lim.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure the maximum entries that CHANNEL%s can receive."] #[inline(always)] - #[must_use] pub fn rx_lim_ch4(&mut self) -> RX_LIM_CH4_W { RX_LIM_CH4_W::new(self, 0) } diff --git a/esp32p4/src/rmt/ch_tx_lim.rs b/esp32p4/src/rmt/ch_tx_lim.rs index d81186e8fe..7fc9350548 100644 --- a/esp32p4/src/rmt/ch_tx_lim.rs +++ b/esp32p4/src/rmt/ch_tx_lim.rs @@ -56,31 +56,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure the maximum entries that CHANNEL%s can send out."] #[inline(always)] - #[must_use] pub fn tx_lim_ch(&mut self) -> TX_LIM_CH_W { TX_LIM_CH_W::new(self, 0) } #[doc = "Bits 9:18 - This register is used to configure the maximum loop count when tx_conti_mode is valid."] #[inline(always)] - #[must_use] pub fn tx_loop_num_ch(&mut self) -> TX_LOOP_NUM_CH_W { TX_LOOP_NUM_CH_W::new(self, 9) } #[doc = "Bit 19 - This register is the enabled bit for loop count."] #[inline(always)] - #[must_use] pub fn tx_loop_cnt_en_ch(&mut self) -> TX_LOOP_CNT_EN_CH_W { TX_LOOP_CNT_EN_CH_W::new(self, 19) } #[doc = "Bit 20 - This register is used to reset the loop count when tx_conti_mode is valid."] #[inline(always)] - #[must_use] pub fn loop_count_reset_ch(&mut self) -> LOOP_COUNT_RESET_CH_W { LOOP_COUNT_RESET_CH_W::new(self, 20) } #[doc = "Bit 21 - This bit is used to enable the loop send stop function after the loop counter counts to loop number for CHANNEL%s."] #[inline(always)] - #[must_use] pub fn loop_stop_en_ch(&mut self) -> LOOP_STOP_EN_CH_W { LOOP_STOP_EN_CH_W::new(self, 21) } diff --git a/esp32p4/src/rmt/chcarrier_duty.rs b/esp32p4/src/rmt/chcarrier_duty.rs index 6b48812f75..da04331d26 100644 --- a/esp32p4/src/rmt/chcarrier_duty.rs +++ b/esp32p4/src/rmt/chcarrier_duty.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure carrier wave 's low level clock period for CHANNEL%s."] #[inline(always)] - #[must_use] pub fn carrier_low_ch(&mut self) -> CARRIER_LOW_CH_W { CARRIER_LOW_CH_W::new(self, 0) } #[doc = "Bits 16:31 - This register is used to configure carrier wave 's high level clock period for CHANNEL%s."] #[inline(always)] - #[must_use] pub fn carrier_high_ch(&mut self) -> CARRIER_HIGH_CH_W { CARRIER_HIGH_CH_W::new(self, 16) } diff --git a/esp32p4/src/rmt/date.rs b/esp32p4/src/rmt/date.rs index e4ef814995..1ab9e16057 100644 --- a/esp32p4/src/rmt/date.rs +++ b/esp32p4/src/rmt/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - This is the version register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32p4/src/rmt/int_clr.rs b/esp32p4/src/rmt/int_clr.rs index 5aae82956a..72a0f03064 100644 --- a/esp32p4/src/rmt/int_clr.rs +++ b/esp32p4/src/rmt/int_clr.rs @@ -69,181 +69,151 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear theCH0_TX_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch0_tx_end(&mut self) -> CH0_TX_END_W { CH0_TX_END_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear theCH1_TX_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch1_tx_end(&mut self) -> CH1_TX_END_W { CH1_TX_END_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear theCH2_TX_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch2_tx_end(&mut self) -> CH2_TX_END_W { CH2_TX_END_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear theCH3_TX_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch3_tx_end(&mut self) -> CH3_TX_END_W { CH3_TX_END_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear theCH0_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn tx_ch0_err(&mut self) -> TX_CH0_ERR_W { TX_CH0_ERR_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear theCH1_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn tx_ch1_err(&mut self) -> TX_CH1_ERR_W { TX_CH1_ERR_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear theCH2_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn tx_ch2_err(&mut self) -> TX_CH2_ERR_W { TX_CH2_ERR_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear theCH3_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn tx_ch3_err(&mut self) -> TX_CH3_ERR_W { TX_CH3_ERR_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear theCH0_TX_THR_EVENT_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch0_tx_thr_event(&mut self) -> CH0_TX_THR_EVENT_W { CH0_TX_THR_EVENT_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear theCH1_TX_THR_EVENT_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch1_tx_thr_event(&mut self) -> CH1_TX_THR_EVENT_W { CH1_TX_THR_EVENT_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to clear theCH2_TX_THR_EVENT_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch2_tx_thr_event(&mut self) -> CH2_TX_THR_EVENT_W { CH2_TX_THR_EVENT_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear theCH3_TX_THR_EVENT_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch3_tx_thr_event(&mut self) -> CH3_TX_THR_EVENT_W { CH3_TX_THR_EVENT_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to clear theCH0_TX_LOOP_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch0_tx_loop(&mut self) -> CH0_TX_LOOP_W { CH0_TX_LOOP_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to clear theCH1_TX_LOOP_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch1_tx_loop(&mut self) -> CH1_TX_LOOP_W { CH1_TX_LOOP_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to clear theCH2_TX_LOOP_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch2_tx_loop(&mut self) -> CH2_TX_LOOP_W { CH2_TX_LOOP_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to clear theCH3_TX_LOOP_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch3_tx_loop(&mut self) -> CH3_TX_LOOP_W { CH3_TX_LOOP_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to clear theCH4_RX_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch4_rx_end(&mut self) -> CH4_RX_END_W { CH4_RX_END_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to clear theCH5_RX_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch5_rx_end(&mut self) -> CH5_RX_END_W { CH5_RX_END_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to clear theCH6_RX_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch6_rx_end(&mut self) -> CH6_RX_END_W { CH6_RX_END_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to clear theCH7_RX_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch7_rx_end(&mut self) -> CH7_RX_END_W { CH7_RX_END_W::new(self, 19) } #[doc = "Bit 20 - Set this bit to clear theCH4_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn rx_ch4_err(&mut self) -> RX_CH4_ERR_W { RX_CH4_ERR_W::new(self, 20) } #[doc = "Bit 21 - Set this bit to clear theCH5_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn rx_ch5_err(&mut self) -> RX_CH5_ERR_W { RX_CH5_ERR_W::new(self, 21) } #[doc = "Bit 22 - Set this bit to clear theCH6_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn rx_ch6_err(&mut self) -> RX_CH6_ERR_W { RX_CH6_ERR_W::new(self, 22) } #[doc = "Bit 23 - Set this bit to clear theCH7_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn rx_ch7_err(&mut self) -> RX_CH7_ERR_W { RX_CH7_ERR_W::new(self, 23) } #[doc = "Bit 24 - Set this bit to clear theCH4_RX_THR_EVENT_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch4_rx_thr_event(&mut self) -> CH4_RX_THR_EVENT_W { CH4_RX_THR_EVENT_W::new(self, 24) } #[doc = "Bit 25 - Set this bit to clear theCH5_RX_THR_EVENT_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch5_rx_thr_event(&mut self) -> CH5_RX_THR_EVENT_W { CH5_RX_THR_EVENT_W::new(self, 25) } #[doc = "Bit 26 - Set this bit to clear theCH6_RX_THR_EVENT_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch6_rx_thr_event(&mut self) -> CH6_RX_THR_EVENT_W { CH6_RX_THR_EVENT_W::new(self, 26) } #[doc = "Bit 27 - Set this bit to clear theCH7_RX_THR_EVENT_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch7_rx_thr_event(&mut self) -> CH7_RX_THR_EVENT_W { CH7_RX_THR_EVENT_W::new(self, 27) } #[doc = "Bit 28 - Set this bit to clear the CH3_DMA_ACCESS_FAIL_INT interrupt."] #[inline(always)] - #[must_use] pub fn tx_ch3_dma_access_fail(&mut self) -> TX_CH3_DMA_ACCESS_FAIL_W { TX_CH3_DMA_ACCESS_FAIL_W::new(self, 28) } #[doc = "Bit 29 - Set this bit to clear the CH7_DMA_ACCESS_FAIL_INT interrupt."] #[inline(always)] - #[must_use] pub fn rx_ch7_dma_access_fail(&mut self) -> RX_CH7_DMA_ACCESS_FAIL_W { RX_CH7_DMA_ACCESS_FAIL_W::new(self, 29) } diff --git a/esp32p4/src/rmt/int_ena.rs b/esp32p4/src/rmt/int_ena.rs index 6d2d4dc1d6..9dad4fb5f0 100644 --- a/esp32p4/src/rmt/int_ena.rs +++ b/esp32p4/src/rmt/int_ena.rs @@ -314,181 +314,151 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for CH0_TX_END_INT."] #[inline(always)] - #[must_use] pub fn ch0_tx_end(&mut self) -> CH0_TX_END_W { CH0_TX_END_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for CH1_TX_END_INT."] #[inline(always)] - #[must_use] pub fn ch1_tx_end(&mut self) -> CH1_TX_END_W { CH1_TX_END_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for CH2_TX_END_INT."] #[inline(always)] - #[must_use] pub fn ch2_tx_end(&mut self) -> CH2_TX_END_W { CH2_TX_END_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for CH3_TX_END_INT."] #[inline(always)] - #[must_use] pub fn ch3_tx_end(&mut self) -> CH3_TX_END_W { CH3_TX_END_W::new(self, 3) } #[doc = "Bit 4 - The interrupt enable bit for CH0_ERR_INT."] #[inline(always)] - #[must_use] pub fn tx_ch0_err(&mut self) -> TX_CH0_ERR_W { TX_CH0_ERR_W::new(self, 4) } #[doc = "Bit 5 - The interrupt enable bit for CH1_ERR_INT."] #[inline(always)] - #[must_use] pub fn tx_ch1_err(&mut self) -> TX_CH1_ERR_W { TX_CH1_ERR_W::new(self, 5) } #[doc = "Bit 6 - The interrupt enable bit for CH2_ERR_INT."] #[inline(always)] - #[must_use] pub fn tx_ch2_err(&mut self) -> TX_CH2_ERR_W { TX_CH2_ERR_W::new(self, 6) } #[doc = "Bit 7 - The interrupt enable bit for CH3_ERR_INT."] #[inline(always)] - #[must_use] pub fn tx_ch3_err(&mut self) -> TX_CH3_ERR_W { TX_CH3_ERR_W::new(self, 7) } #[doc = "Bit 8 - The interrupt enable bit for CH0_TX_THR_EVENT_INT."] #[inline(always)] - #[must_use] pub fn ch0_tx_thr_event(&mut self) -> CH0_TX_THR_EVENT_W { CH0_TX_THR_EVENT_W::new(self, 8) } #[doc = "Bit 9 - The interrupt enable bit for CH1_TX_THR_EVENT_INT."] #[inline(always)] - #[must_use] pub fn ch1_tx_thr_event(&mut self) -> CH1_TX_THR_EVENT_W { CH1_TX_THR_EVENT_W::new(self, 9) } #[doc = "Bit 10 - The interrupt enable bit for CH2_TX_THR_EVENT_INT."] #[inline(always)] - #[must_use] pub fn ch2_tx_thr_event(&mut self) -> CH2_TX_THR_EVENT_W { CH2_TX_THR_EVENT_W::new(self, 10) } #[doc = "Bit 11 - The interrupt enable bit for CH3_TX_THR_EVENT_INT."] #[inline(always)] - #[must_use] pub fn ch3_tx_thr_event(&mut self) -> CH3_TX_THR_EVENT_W { CH3_TX_THR_EVENT_W::new(self, 11) } #[doc = "Bit 12 - The interrupt enable bit for CH0_TX_LOOP_INT."] #[inline(always)] - #[must_use] pub fn ch0_tx_loop(&mut self) -> CH0_TX_LOOP_W { CH0_TX_LOOP_W::new(self, 12) } #[doc = "Bit 13 - The interrupt enable bit for CH1_TX_LOOP_INT."] #[inline(always)] - #[must_use] pub fn ch1_tx_loop(&mut self) -> CH1_TX_LOOP_W { CH1_TX_LOOP_W::new(self, 13) } #[doc = "Bit 14 - The interrupt enable bit for CH2_TX_LOOP_INT."] #[inline(always)] - #[must_use] pub fn ch2_tx_loop(&mut self) -> CH2_TX_LOOP_W { CH2_TX_LOOP_W::new(self, 14) } #[doc = "Bit 15 - The interrupt enable bit for CH3_TX_LOOP_INT."] #[inline(always)] - #[must_use] pub fn ch3_tx_loop(&mut self) -> CH3_TX_LOOP_W { CH3_TX_LOOP_W::new(self, 15) } #[doc = "Bit 16 - The interrupt enable bit for CH4_RX_END_INT."] #[inline(always)] - #[must_use] pub fn ch4_rx_end(&mut self) -> CH4_RX_END_W { CH4_RX_END_W::new(self, 16) } #[doc = "Bit 17 - The interrupt enable bit for CH5_RX_END_INT."] #[inline(always)] - #[must_use] pub fn ch5_rx_end(&mut self) -> CH5_RX_END_W { CH5_RX_END_W::new(self, 17) } #[doc = "Bit 18 - The interrupt enable bit for CH6_RX_END_INT."] #[inline(always)] - #[must_use] pub fn ch6_rx_end(&mut self) -> CH6_RX_END_W { CH6_RX_END_W::new(self, 18) } #[doc = "Bit 19 - The interrupt enable bit for CH7_RX_END_INT."] #[inline(always)] - #[must_use] pub fn ch7_rx_end(&mut self) -> CH7_RX_END_W { CH7_RX_END_W::new(self, 19) } #[doc = "Bit 20 - The interrupt enable bit for CH4_ERR_INT."] #[inline(always)] - #[must_use] pub fn ch4_err(&mut self) -> CH4_ERR_W { CH4_ERR_W::new(self, 20) } #[doc = "Bit 21 - The interrupt enable bit for CH5_ERR_INT."] #[inline(always)] - #[must_use] pub fn ch5_err(&mut self) -> CH5_ERR_W { CH5_ERR_W::new(self, 21) } #[doc = "Bit 22 - The interrupt enable bit for CH6_ERR_INT."] #[inline(always)] - #[must_use] pub fn ch6_err(&mut self) -> CH6_ERR_W { CH6_ERR_W::new(self, 22) } #[doc = "Bit 23 - The interrupt enable bit for CH7_ERR_INT."] #[inline(always)] - #[must_use] pub fn ch7_err(&mut self) -> CH7_ERR_W { CH7_ERR_W::new(self, 23) } #[doc = "Bit 24 - The interrupt enable bit for CH4_RX_THR_EVENT_INT."] #[inline(always)] - #[must_use] pub fn ch4_rx_thr_event(&mut self) -> CH4_RX_THR_EVENT_W { CH4_RX_THR_EVENT_W::new(self, 24) } #[doc = "Bit 25 - The interrupt enable bit for CH5_RX_THR_EVENT_INT."] #[inline(always)] - #[must_use] pub fn ch5_rx_thr_event(&mut self) -> CH5_RX_THR_EVENT_W { CH5_RX_THR_EVENT_W::new(self, 25) } #[doc = "Bit 26 - The interrupt enable bit for CH6_RX_THR_EVENT_INT."] #[inline(always)] - #[must_use] pub fn ch6_rx_thr_event(&mut self) -> CH6_RX_THR_EVENT_W { CH6_RX_THR_EVENT_W::new(self, 26) } #[doc = "Bit 27 - The interrupt enable bit for CH7_RX_THR_EVENT_INT."] #[inline(always)] - #[must_use] pub fn ch7_rx_thr_event(&mut self) -> CH7_RX_THR_EVENT_W { CH7_RX_THR_EVENT_W::new(self, 27) } #[doc = "Bit 28 - The interrupt enable bit for CH3_DMA_ACCESS_FAIL_INT."] #[inline(always)] - #[must_use] pub fn tx_ch3_dma_access_fail(&mut self) -> TX_CH3_DMA_ACCESS_FAIL_W { TX_CH3_DMA_ACCESS_FAIL_W::new(self, 28) } #[doc = "Bit 29 - The interrupt enable bit for CH7_DMA_ACCESS_FAIL_INT."] #[inline(always)] - #[must_use] pub fn rx_ch7_dma_access_fail(&mut self) -> RX_CH7_DMA_ACCESS_FAIL_W { RX_CH7_DMA_ACCESS_FAIL_W::new(self, 29) } diff --git a/esp32p4/src/rmt/int_raw.rs b/esp32p4/src/rmt/int_raw.rs index 5cf216660d..4bbff770fe 100644 --- a/esp32p4/src/rmt/int_raw.rs +++ b/esp32p4/src/rmt/int_raw.rs @@ -314,181 +314,151 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt raw bit for CHANNEL0. Triggered when transmission done."] #[inline(always)] - #[must_use] pub fn ch0_tx_end(&mut self) -> CH0_TX_END_W { CH0_TX_END_W::new(self, 0) } #[doc = "Bit 1 - The interrupt raw bit for CHANNEL1. Triggered when transmission done."] #[inline(always)] - #[must_use] pub fn ch1_tx_end(&mut self) -> CH1_TX_END_W { CH1_TX_END_W::new(self, 1) } #[doc = "Bit 2 - The interrupt raw bit for CHANNEL2. Triggered when transmission done."] #[inline(always)] - #[must_use] pub fn ch2_tx_end(&mut self) -> CH2_TX_END_W { CH2_TX_END_W::new(self, 2) } #[doc = "Bit 3 - The interrupt raw bit for CHANNEL3. Triggered when transmission done."] #[inline(always)] - #[must_use] pub fn ch3_tx_end(&mut self) -> CH3_TX_END_W { CH3_TX_END_W::new(self, 3) } #[doc = "Bit 4 - The interrupt raw bit for CHANNEL0. Triggered when error occurs."] #[inline(always)] - #[must_use] pub fn tx_ch0_err(&mut self) -> TX_CH0_ERR_W { TX_CH0_ERR_W::new(self, 4) } #[doc = "Bit 5 - The interrupt raw bit for CHANNEL1. Triggered when error occurs."] #[inline(always)] - #[must_use] pub fn tx_ch1_err(&mut self) -> TX_CH1_ERR_W { TX_CH1_ERR_W::new(self, 5) } #[doc = "Bit 6 - The interrupt raw bit for CHANNEL2. Triggered when error occurs."] #[inline(always)] - #[must_use] pub fn tx_ch2_err(&mut self) -> TX_CH2_ERR_W { TX_CH2_ERR_W::new(self, 6) } #[doc = "Bit 7 - The interrupt raw bit for CHANNEL3. Triggered when error occurs."] #[inline(always)] - #[must_use] pub fn tx_ch3_err(&mut self) -> TX_CH3_ERR_W { TX_CH3_ERR_W::new(self, 7) } #[doc = "Bit 8 - The interrupt raw bit for CHANNEL0. Triggered when transmitter sent more data than configured value."] #[inline(always)] - #[must_use] pub fn ch0_tx_thr_event(&mut self) -> CH0_TX_THR_EVENT_W { CH0_TX_THR_EVENT_W::new(self, 8) } #[doc = "Bit 9 - The interrupt raw bit for CHANNEL1. Triggered when transmitter sent more data than configured value."] #[inline(always)] - #[must_use] pub fn ch1_tx_thr_event(&mut self) -> CH1_TX_THR_EVENT_W { CH1_TX_THR_EVENT_W::new(self, 9) } #[doc = "Bit 10 - The interrupt raw bit for CHANNEL2. Triggered when transmitter sent more data than configured value."] #[inline(always)] - #[must_use] pub fn ch2_tx_thr_event(&mut self) -> CH2_TX_THR_EVENT_W { CH2_TX_THR_EVENT_W::new(self, 10) } #[doc = "Bit 11 - The interrupt raw bit for CHANNEL3. Triggered when transmitter sent more data than configured value."] #[inline(always)] - #[must_use] pub fn ch3_tx_thr_event(&mut self) -> CH3_TX_THR_EVENT_W { CH3_TX_THR_EVENT_W::new(self, 11) } #[doc = "Bit 12 - The interrupt raw bit for CHANNEL0. Triggered when the loop count reaches the configured threshold value."] #[inline(always)] - #[must_use] pub fn ch0_tx_loop(&mut self) -> CH0_TX_LOOP_W { CH0_TX_LOOP_W::new(self, 12) } #[doc = "Bit 13 - The interrupt raw bit for CHANNEL1. Triggered when the loop count reaches the configured threshold value."] #[inline(always)] - #[must_use] pub fn ch1_tx_loop(&mut self) -> CH1_TX_LOOP_W { CH1_TX_LOOP_W::new(self, 13) } #[doc = "Bit 14 - The interrupt raw bit for CHANNEL2. Triggered when the loop count reaches the configured threshold value."] #[inline(always)] - #[must_use] pub fn ch2_tx_loop(&mut self) -> CH2_TX_LOOP_W { CH2_TX_LOOP_W::new(self, 14) } #[doc = "Bit 15 - The interrupt raw bit for CHANNEL3. Triggered when the loop count reaches the configured threshold value."] #[inline(always)] - #[must_use] pub fn ch3_tx_loop(&mut self) -> CH3_TX_LOOP_W { CH3_TX_LOOP_W::new(self, 15) } #[doc = "Bit 16 - The interrupt raw bit for CHANNEL4. Triggered when reception done."] #[inline(always)] - #[must_use] pub fn ch4_rx_end(&mut self) -> CH4_RX_END_W { CH4_RX_END_W::new(self, 16) } #[doc = "Bit 17 - The interrupt raw bit for CHANNEL5. Triggered when reception done."] #[inline(always)] - #[must_use] pub fn ch5_rx_end(&mut self) -> CH5_RX_END_W { CH5_RX_END_W::new(self, 17) } #[doc = "Bit 18 - The interrupt raw bit for CHANNEL6. Triggered when reception done."] #[inline(always)] - #[must_use] pub fn ch6_rx_end(&mut self) -> CH6_RX_END_W { CH6_RX_END_W::new(self, 18) } #[doc = "Bit 19 - The interrupt raw bit for CHANNEL7. Triggered when reception done."] #[inline(always)] - #[must_use] pub fn ch7_rx_end(&mut self) -> CH7_RX_END_W { CH7_RX_END_W::new(self, 19) } #[doc = "Bit 20 - The interrupt raw bit for CHANNEL4. Triggered when error occurs."] #[inline(always)] - #[must_use] pub fn rx_ch4_err(&mut self) -> RX_CH4_ERR_W { RX_CH4_ERR_W::new(self, 20) } #[doc = "Bit 21 - The interrupt raw bit for CHANNEL5. Triggered when error occurs."] #[inline(always)] - #[must_use] pub fn rx_ch5_err(&mut self) -> RX_CH5_ERR_W { RX_CH5_ERR_W::new(self, 21) } #[doc = "Bit 22 - The interrupt raw bit for CHANNEL6. Triggered when error occurs."] #[inline(always)] - #[must_use] pub fn rx_ch6_err(&mut self) -> RX_CH6_ERR_W { RX_CH6_ERR_W::new(self, 22) } #[doc = "Bit 23 - The interrupt raw bit for CHANNEL7. Triggered when error occurs."] #[inline(always)] - #[must_use] pub fn rx_ch7_err(&mut self) -> RX_CH7_ERR_W { RX_CH7_ERR_W::new(self, 23) } #[doc = "Bit 24 - The interrupt raw bit for CHANNEL4. Triggered when receiver receive more data than configured value."] #[inline(always)] - #[must_use] pub fn ch4_rx_thr_event(&mut self) -> CH4_RX_THR_EVENT_W { CH4_RX_THR_EVENT_W::new(self, 24) } #[doc = "Bit 25 - The interrupt raw bit for CHANNEL5. Triggered when receiver receive more data than configured value."] #[inline(always)] - #[must_use] pub fn ch5_rx_thr_event(&mut self) -> CH5_RX_THR_EVENT_W { CH5_RX_THR_EVENT_W::new(self, 25) } #[doc = "Bit 26 - The interrupt raw bit for CHANNEL6. Triggered when receiver receive more data than configured value."] #[inline(always)] - #[must_use] pub fn ch6_rx_thr_event(&mut self) -> CH6_RX_THR_EVENT_W { CH6_RX_THR_EVENT_W::new(self, 26) } #[doc = "Bit 27 - The interrupt raw bit for CHANNEL7. Triggered when receiver receive more data than configured value."] #[inline(always)] - #[must_use] pub fn ch7_rx_thr_event(&mut self) -> CH7_RX_THR_EVENT_W { CH7_RX_THR_EVENT_W::new(self, 27) } #[doc = "Bit 28 - The interrupt raw bit for CHANNEL3. Triggered when dma accessing CHANNEL3 fails."] #[inline(always)] - #[must_use] pub fn tx_ch3_dma_access_fail(&mut self) -> TX_CH3_DMA_ACCESS_FAIL_W { TX_CH3_DMA_ACCESS_FAIL_W::new(self, 28) } #[doc = "Bit 29 - The interrupt raw bit for CHANNEL7. Triggered when dma accessing CHANNEL7 fails."] #[inline(always)] - #[must_use] pub fn rx_ch7_dma_access_fail(&mut self) -> RX_CH7_DMA_ACCESS_FAIL_W { RX_CH7_DMA_ACCESS_FAIL_W::new(self, 29) } diff --git a/esp32p4/src/rmt/ref_cnt_rst.rs b/esp32p4/src/rmt/ref_cnt_rst.rs index 33894e3e9b..108954336b 100644 --- a/esp32p4/src/rmt/ref_cnt_rst.rs +++ b/esp32p4/src/rmt/ref_cnt_rst.rs @@ -25,49 +25,41 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - This register is used to reset the clock divider of CHANNEL0."] #[inline(always)] - #[must_use] pub fn tx_ref_cnt_rst_ch0(&mut self) -> TX_REF_CNT_RST_CH0_W { TX_REF_CNT_RST_CH0_W::new(self, 0) } #[doc = "Bit 1 - This register is used to reset the clock divider of CHANNEL1."] #[inline(always)] - #[must_use] pub fn tx_ref_cnt_rst_ch1(&mut self) -> TX_REF_CNT_RST_CH1_W { TX_REF_CNT_RST_CH1_W::new(self, 1) } #[doc = "Bit 2 - This register is used to reset the clock divider of CHANNEL2."] #[inline(always)] - #[must_use] pub fn tx_ref_cnt_rst_ch2(&mut self) -> TX_REF_CNT_RST_CH2_W { TX_REF_CNT_RST_CH2_W::new(self, 2) } #[doc = "Bit 3 - This register is used to reset the clock divider of CHANNEL3."] #[inline(always)] - #[must_use] pub fn tx_ref_cnt_rst_ch3(&mut self) -> TX_REF_CNT_RST_CH3_W { TX_REF_CNT_RST_CH3_W::new(self, 3) } #[doc = "Bit 4 - This register is used to reset the clock divider of CHANNEL4."] #[inline(always)] - #[must_use] pub fn rx_ref_cnt_rst_ch4(&mut self) -> RX_REF_CNT_RST_CH4_W { RX_REF_CNT_RST_CH4_W::new(self, 4) } #[doc = "Bit 5 - This register is used to reset the clock divider of CHANNEL5."] #[inline(always)] - #[must_use] pub fn rx_ref_cnt_rst_ch5(&mut self) -> RX_REF_CNT_RST_CH5_W { RX_REF_CNT_RST_CH5_W::new(self, 5) } #[doc = "Bit 6 - This register is used to reset the clock divider of CHANNEL6."] #[inline(always)] - #[must_use] pub fn rx_ref_cnt_rst_ch6(&mut self) -> RX_REF_CNT_RST_CH6_W { RX_REF_CNT_RST_CH6_W::new(self, 6) } #[doc = "Bit 7 - This register is used to reset the clock divider of CHANNEL7."] #[inline(always)] - #[must_use] pub fn rx_ref_cnt_rst_ch7(&mut self) -> RX_REF_CNT_RST_CH7_W { RX_REF_CNT_RST_CH7_W::new(self, 7) } diff --git a/esp32p4/src/rmt/rx_chconf0.rs b/esp32p4/src/rmt/rx_chconf0.rs index f700031287..cae8515794 100644 --- a/esp32p4/src/rmt/rx_chconf0.rs +++ b/esp32p4/src/rmt/rx_chconf0.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register is used to configure the divider for clock of CHANNEL%s."] #[inline(always)] - #[must_use] pub fn div_cnt_ch4(&mut self) -> DIV_CNT_CH4_W { DIV_CNT_CH4_W::new(self, 0) } #[doc = "Bits 8:22 - When no edge is detected on the input signal and continuous clock cycles is longer than this register value, received process is finished."] #[inline(always)] - #[must_use] pub fn idle_thres_ch4(&mut self) -> IDLE_THRES_CH4_W { IDLE_THRES_CH4_W::new(self, 8) } #[doc = "Bits 24:27 - This register is used to configure the maximum size of memory allocated to CHANNEL%s."] #[inline(always)] - #[must_use] pub fn mem_size_ch4(&mut self) -> MEM_SIZE_CH4_W { MEM_SIZE_CH4_W::new(self, 24) } #[doc = "Bit 28 - This is the carrier modulation enable-control bit for CHANNEL%s. 1: Add carrier modulation in the output signal. 0: No carrier modulation in sig_out."] #[inline(always)] - #[must_use] pub fn carrier_en_ch4(&mut self) -> CARRIER_EN_CH4_W { CARRIER_EN_CH4_W::new(self, 28) } #[doc = "Bit 29 - This bit is used to configure the position of carrier wave for CHANNEL%s.1'h0: add carrier wave on low level.1'h1: add carrier wave on high level."] #[inline(always)] - #[must_use] pub fn carrier_out_lv_ch4(&mut self) -> CARRIER_OUT_LV_CH4_W { CARRIER_OUT_LV_CH4_W::new(self, 29) } diff --git a/esp32p4/src/rmt/rx_chconf1.rs b/esp32p4/src/rmt/rx_chconf1.rs index ee2c4c2c69..5558d4c51a 100644 --- a/esp32p4/src/rmt/rx_chconf1.rs +++ b/esp32p4/src/rmt/rx_chconf1.rs @@ -72,55 +72,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable receiver to receive data on CHANNEL%s."] #[inline(always)] - #[must_use] pub fn rx_en_ch4(&mut self) -> RX_EN_CH4_W { RX_EN_CH4_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to reset write ram address for CHANNEL%s by accessing receiver."] #[inline(always)] - #[must_use] pub fn mem_wr_rst_ch4(&mut self) -> MEM_WR_RST_CH4_W { MEM_WR_RST_CH4_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to reset W/R ram address for CHANNEL%s by accessing apb fifo."] #[inline(always)] - #[must_use] pub fn apb_mem_rst_ch4(&mut self) -> APB_MEM_RST_CH4_W { APB_MEM_RST_CH4_W::new(self, 2) } #[doc = "Bit 3 - This register marks the ownership of CHANNEL%s's ram block.1'h1: Receiver is using the ram. 1'h0: APB bus is using the ram."] #[inline(always)] - #[must_use] pub fn mem_owner_ch4(&mut self) -> MEM_OWNER_CH4_W { MEM_OWNER_CH4_W::new(self, 3) } #[doc = "Bit 4 - This is the receive filter's enable bit for CHANNEL%s."] #[inline(always)] - #[must_use] pub fn rx_filter_en_ch4(&mut self) -> RX_FILTER_EN_CH4_W { RX_FILTER_EN_CH4_W::new(self, 4) } #[doc = "Bits 5:12 - Ignores the input pulse when its width is smaller than this register value in APB clock periods (in receive mode)."] #[inline(always)] - #[must_use] pub fn rx_filter_thres_ch4(&mut self) -> RX_FILTER_THRES_CH4_W { RX_FILTER_THRES_CH4_W::new(self, 5) } #[doc = "Bit 13 - This is the channel %s enable bit for wraparound mode: it will resume receiving at the start when the data to be received is more than its memory size."] #[inline(always)] - #[must_use] pub fn mem_rx_wrap_en_ch4(&mut self) -> MEM_RX_WRAP_EN_CH4_W { MEM_RX_WRAP_EN_CH4_W::new(self, 13) } #[doc = "Bit 14 - Reserved"] #[inline(always)] - #[must_use] pub fn afifo_rst_ch4(&mut self) -> AFIFO_RST_CH4_W { AFIFO_RST_CH4_W::new(self, 14) } #[doc = "Bit 15 - synchronization bit for CHANNEL%s"] #[inline(always)] - #[must_use] pub fn conf_update_ch4(&mut self) -> CONF_UPDATE_CH4_W { CONF_UPDATE_CH4_W::new(self, 15) } diff --git a/esp32p4/src/rmt/sys_conf.rs b/esp32p4/src/rmt/sys_conf.rs index a513ef93b8..7bd1143e20 100644 --- a/esp32p4/src/rmt/sys_conf.rs +++ b/esp32p4/src/rmt/sys_conf.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1'h1: access memory directly. 1'h0: access memory by FIFO."] #[inline(always)] - #[must_use] pub fn apb_fifo_mask(&mut self) -> APB_FIFO_MASK_W { APB_FIFO_MASK_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to enable the clock for RMT memory."] #[inline(always)] - #[must_use] pub fn mem_clk_force_on(&mut self) -> MEM_CLK_FORCE_ON_W { MEM_CLK_FORCE_ON_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to power down RMT memory."] #[inline(always)] - #[must_use] pub fn mem_force_pd(&mut self) -> MEM_FORCE_PD_W { MEM_FORCE_PD_W::new(self, 2) } #[doc = "Bit 3 - 1: Disable RMT memory light sleep power down function. 0: Power down RMT memory when RMT is in light sleep mode."] #[inline(always)] - #[must_use] pub fn mem_force_pu(&mut self) -> MEM_FORCE_PU_W { MEM_FORCE_PU_W::new(self, 3) } #[doc = "Bits 4:11 - the integral part of the fractional divisor"] #[inline(always)] - #[must_use] pub fn sclk_div_num(&mut self) -> SCLK_DIV_NUM_W { SCLK_DIV_NUM_W::new(self, 4) } #[doc = "Bits 12:17 - the numerator of the fractional part of the fractional divisor"] #[inline(always)] - #[must_use] pub fn sclk_div_a(&mut self) -> SCLK_DIV_A_W { SCLK_DIV_A_W::new(self, 12) } #[doc = "Bits 18:23 - the denominator of the fractional part of the fractional divisor"] #[inline(always)] - #[must_use] pub fn sclk_div_b(&mut self) -> SCLK_DIV_B_W { SCLK_DIV_B_W::new(self, 18) } #[doc = "Bits 24:25 - choose the clock source of rmt_sclk. 1:CLK_80Mhz.2:CLK_8MHz.3:XTAL"] #[inline(always)] - #[must_use] pub fn sclk_sel(&mut self) -> SCLK_SEL_W { SCLK_SEL_W::new(self, 24) } #[doc = "Bit 26 - rmt_sclk switch"] #[inline(always)] - #[must_use] pub fn sclk_active(&mut self) -> SCLK_ACTIVE_W { SCLK_ACTIVE_W::new(self, 26) } #[doc = "Bit 31 - RMT register clock gate enable signal. 1: Power up the drive clock of registers. 0: Power down the drive clock of registers"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32p4/src/rmt/tx_chconf0.rs b/esp32p4/src/rmt/tx_chconf0.rs index 9526e2bdb9..46edb9c7ac 100644 --- a/esp32p4/src/rmt/tx_chconf0.rs +++ b/esp32p4/src/rmt/tx_chconf0.rs @@ -124,91 +124,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to start sending data on CHANNEL%s."] #[inline(always)] - #[must_use] pub fn tx_start_ch0(&mut self) -> TX_START_CH0_W { TX_START_CH0_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to reset read ram address for CHANNEL%s by accessing transmitter."] #[inline(always)] - #[must_use] pub fn mem_rd_rst_ch0(&mut self) -> MEM_RD_RST_CH0_W { MEM_RD_RST_CH0_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to reset W/R ram address for CHANNEL%s by accessing apb fifo."] #[inline(always)] - #[must_use] pub fn apb_mem_rst_ch0(&mut self) -> APB_MEM_RST_CH0_W { APB_MEM_RST_CH0_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to restart transmission from the first data to the last data in CHANNEL%s."] #[inline(always)] - #[must_use] pub fn tx_conti_mode_ch0(&mut self) -> TX_CONTI_MODE_CH0_W { TX_CONTI_MODE_CH0_W::new(self, 3) } #[doc = "Bit 4 - This is the channel %s enable bit for wraparound mode: it will resume sending at the start when the data to be sent is more than its memory size."] #[inline(always)] - #[must_use] pub fn mem_tx_wrap_en_ch0(&mut self) -> MEM_TX_WRAP_EN_CH0_W { MEM_TX_WRAP_EN_CH0_W::new(self, 4) } #[doc = "Bit 5 - This bit configures the level of output signal in CHANNEL%s when the latter is in IDLE state."] #[inline(always)] - #[must_use] pub fn idle_out_lv_ch0(&mut self) -> IDLE_OUT_LV_CH0_W { IDLE_OUT_LV_CH0_W::new(self, 5) } #[doc = "Bit 6 - This is the output enable-control bit for CHANNEL%s in IDLE state."] #[inline(always)] - #[must_use] pub fn idle_out_en_ch0(&mut self) -> IDLE_OUT_EN_CH0_W { IDLE_OUT_EN_CH0_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to stop the transmitter of CHANNEL%s sending data out."] #[inline(always)] - #[must_use] pub fn tx_stop_ch0(&mut self) -> TX_STOP_CH0_W { TX_STOP_CH0_W::new(self, 7) } #[doc = "Bits 8:15 - This register is used to configure the divider for clock of CHANNEL%s."] #[inline(always)] - #[must_use] pub fn div_cnt_ch0(&mut self) -> DIV_CNT_CH0_W { DIV_CNT_CH0_W::new(self, 8) } #[doc = "Bits 16:19 - This register is used to configure the maximum size of memory allocated to CHANNEL%s."] #[inline(always)] - #[must_use] pub fn mem_size_ch0(&mut self) -> MEM_SIZE_CH0_W { MEM_SIZE_CH0_W::new(self, 16) } #[doc = "Bit 20 - 1: Add carrier modulation on the output signal only at the send data state for CHANNEL%s. 0: Add carrier modulation on the output signal at all state for CHANNEL%s. Only valid when RMT_CARRIER_EN_CH%s is 1."] #[inline(always)] - #[must_use] pub fn carrier_eff_en_ch0(&mut self) -> CARRIER_EFF_EN_CH0_W { CARRIER_EFF_EN_CH0_W::new(self, 20) } #[doc = "Bit 21 - This is the carrier modulation enable-control bit for CHANNEL%s. 1: Add carrier modulation in the output signal. 0: No carrier modulation in sig_out."] #[inline(always)] - #[must_use] pub fn carrier_en_ch0(&mut self) -> CARRIER_EN_CH0_W { CARRIER_EN_CH0_W::new(self, 21) } #[doc = "Bit 22 - This bit is used to configure the position of carrier wave for CHANNEL%s.1'h0: add carrier wave on low level.1'h1: add carrier wave on high level."] #[inline(always)] - #[must_use] pub fn carrier_out_lv_ch0(&mut self) -> CARRIER_OUT_LV_CH0_W { CARRIER_OUT_LV_CH0_W::new(self, 22) } #[doc = "Bit 23 - Reserved"] #[inline(always)] - #[must_use] pub fn afifo_rst_ch0(&mut self) -> AFIFO_RST_CH0_W { AFIFO_RST_CH0_W::new(self, 23) } #[doc = "Bit 24 - synchronization bit for CHANNEL%s"] #[inline(always)] - #[must_use] pub fn conf_update_ch0(&mut self) -> CONF_UPDATE_CH0_W { CONF_UPDATE_CH0_W::new(self, 24) } diff --git a/esp32p4/src/rmt/tx_sim.rs b/esp32p4/src/rmt/tx_sim.rs index edada0cb4d..4d0bb2f875 100644 --- a/esp32p4/src/rmt/tx_sim.rs +++ b/esp32p4/src/rmt/tx_sim.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable CHANNEL0 to start sending data synchronously with other enabled channels."] #[inline(always)] - #[must_use] pub fn ch0(&mut self) -> CH0_W { CH0_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to enable CHANNEL1 to start sending data synchronously with other enabled channels."] #[inline(always)] - #[must_use] pub fn ch1(&mut self) -> CH1_W { CH1_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to enable CHANNEL2 to start sending data synchronously with other enabled channels."] #[inline(always)] - #[must_use] pub fn ch2(&mut self) -> CH2_W { CH2_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to enable CHANNEL3 to start sending data synchronously with other enabled channels."] #[inline(always)] - #[must_use] pub fn ch3(&mut self) -> CH3_W { CH3_W::new(self, 3) } #[doc = "Bit 4 - This register is used to enable multiple of channels to start sending data synchronously."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 4) } diff --git a/esp32p4/src/rsa/constant_time.rs b/esp32p4/src/rsa/constant_time.rs index 6519756062..ec267e3790 100644 --- a/esp32p4/src/rsa/constant_time.rs +++ b/esp32p4/src/rsa/constant_time.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configures the constant_time option. 0: Acceleration 1: No acceleration (default)"] #[inline(always)] - #[must_use] pub fn constant_time(&mut self) -> CONSTANT_TIME_W { CONSTANT_TIME_W::new(self, 0) } diff --git a/esp32p4/src/rsa/date.rs b/esp32p4/src/rsa/date.rs index ae5b4dc30d..e0d6f4efc9 100644 --- a/esp32p4/src/rsa/date.rs +++ b/esp32p4/src/rsa/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Version control register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32p4/src/rsa/int_clr.rs b/esp32p4/src/rsa/int_clr.rs index 71481128e0..9d34a66810 100644 --- a/esp32p4/src/rsa/int_clr.rs +++ b/esp32p4/src/rsa/int_clr.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to clear the RSA interrupt."] #[inline(always)] - #[must_use] pub fn clear_interrupt(&mut self) -> CLEAR_INTERRUPT_W { CLEAR_INTERRUPT_W::new(self, 0) } diff --git a/esp32p4/src/rsa/int_ena.rs b/esp32p4/src/rsa/int_ena.rs index 39be95e9c6..46f493e03c 100644 --- a/esp32p4/src/rsa/int_ena.rs +++ b/esp32p4/src/rsa/int_ena.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Write 1 to enable the RSA interrupt."] #[inline(always)] - #[must_use] pub fn int_ena(&mut self) -> INT_ENA_W { INT_ENA_W::new(self, 0) } diff --git a/esp32p4/src/rsa/m_prime.rs b/esp32p4/src/rsa/m_prime.rs index a81b791d24..08872f4c97 100644 --- a/esp32p4/src/rsa/m_prime.rs +++ b/esp32p4/src/rsa/m_prime.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Represents M’"] #[inline(always)] - #[must_use] pub fn m_prime(&mut self) -> M_PRIME_W { M_PRIME_W::new(self, 0) } diff --git a/esp32p4/src/rsa/mode.rs b/esp32p4/src/rsa/mode.rs index 5593c38095..1b68dd2662 100644 --- a/esp32p4/src/rsa/mode.rs +++ b/esp32p4/src/rsa/mode.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Configures the RSA length."] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 0) } diff --git a/esp32p4/src/rsa/search_enable.rs b/esp32p4/src/rsa/search_enable.rs index 5f9bb952d0..b42df508e7 100644 --- a/esp32p4/src/rsa/search_enable.rs +++ b/esp32p4/src/rsa/search_enable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configure the search option. 0: No acceleration (default) 1: Acceleration This option should be used together with RSA_SEARCH_POS."] #[inline(always)] - #[must_use] pub fn search_enable(&mut self) -> SEARCH_ENABLE_W { SEARCH_ENABLE_W::new(self, 0) } diff --git a/esp32p4/src/rsa/search_pos.rs b/esp32p4/src/rsa/search_pos.rs index 5efc5f49f1..5512c10f3b 100644 --- a/esp32p4/src/rsa/search_pos.rs +++ b/esp32p4/src/rsa/search_pos.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - Configures the starting address to start search. This field should be used together with RSA_SEARCH_ENABLE. The field is only valid when RSA_SEARCH_ENABLE is high."] #[inline(always)] - #[must_use] pub fn search_pos(&mut self) -> SEARCH_POS_W { SEARCH_POS_W::new(self, 0) } diff --git a/esp32p4/src/rsa/set_start_modexp.rs b/esp32p4/src/rsa/set_start_modexp.rs index 5f30ce176e..8c97dfc08e 100644 --- a/esp32p4/src/rsa/set_start_modexp.rs +++ b/esp32p4/src/rsa/set_start_modexp.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Configure whether or not to start the modular exponentiation. 0: No effect 1: Start"] #[inline(always)] - #[must_use] pub fn set_start_modexp(&mut self) -> SET_START_MODEXP_W { SET_START_MODEXP_W::new(self, 0) } diff --git a/esp32p4/src/rsa/set_start_modmult.rs b/esp32p4/src/rsa/set_start_modmult.rs index 82c1c8ab36..2e8f31409e 100644 --- a/esp32p4/src/rsa/set_start_modmult.rs +++ b/esp32p4/src/rsa/set_start_modmult.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Configure whether or not to start the modular multiplication. 0: No effect 1: Start"] #[inline(always)] - #[must_use] pub fn set_start_modmult(&mut self) -> SET_START_MODMULT_W { SET_START_MODMULT_W::new(self, 0) } diff --git a/esp32p4/src/rsa/set_start_mult.rs b/esp32p4/src/rsa/set_start_mult.rs index fc7fc2e97a..b035a9859f 100644 --- a/esp32p4/src/rsa/set_start_mult.rs +++ b/esp32p4/src/rsa/set_start_mult.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Configure whether or not to start the multiplication. 0: No effect 1: Start"] #[inline(always)] - #[must_use] pub fn set_start_mult(&mut self) -> SET_START_MULT_W { SET_START_MULT_W::new(self, 0) } diff --git a/esp32p4/src/sdhost/blksiz.rs b/esp32p4/src/sdhost/blksiz.rs index 7ac50857b9..97a552eab9 100644 --- a/esp32p4/src/sdhost/blksiz.rs +++ b/esp32p4/src/sdhost/blksiz.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Block size."] #[inline(always)] - #[must_use] pub fn block_size(&mut self) -> BLOCK_SIZE_W { BLOCK_SIZE_W::new(self, 0) } diff --git a/esp32p4/src/sdhost/bmod.rs b/esp32p4/src/sdhost/bmod.rs index e2aff690f5..75568d4b2e 100644 --- a/esp32p4/src/sdhost/bmod.rs +++ b/esp32p4/src/sdhost/bmod.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Software Reset. When set, the DMA Controller resets all its internal registers. It is automatically cleared after one clock cycle."] #[inline(always)] - #[must_use] pub fn swr(&mut self) -> SWR_W { SWR_W::new(self, 0) } #[doc = "Bit 1 - Fixed Burst. Controls whether the AHB Master interface performs fixed burst transfers or not. When set, the AHB will use only SINGLE, INCR4, INCR8 or INCR16 during start of normal burst transfers. When reset, the AHB will use SINGLE and INCR burst transfer operations."] #[inline(always)] - #[must_use] pub fn fb(&mut self) -> FB_W { FB_W::new(self, 1) } #[doc = "Bit 7 - IDMAC Enable. When set, the IDMAC is enabled."] #[inline(always)] - #[must_use] pub fn de(&mut self) -> DE_W { DE_W::new(self, 7) } #[doc = "Bits 8:10 - Programmable Burst Length. These bits indicate the maximum number of beats to be performed in one IDMAC???Internal DMA Control???transaction. The IDMAC will always attempt to burst as specified in PBL each time it starts a burst transfer on the host bus. The permissible values are 1, 4, 8, 16, 32, 64, 128 and 256. This value is the mirror of MSIZE of FIFOTH register. In order to change this value, write the required value to FIFOTH register. This is an encode value as follows: 000: 1-byte transfer; 001: 4-byte transfer; 010: 8-byte transfer; 011: 16-byte transfer; 100: 32-byte transfer; 101: 64-byte transfer; 110: 128-byte transfer; 111: 256-byte transfer. PBL is a read-only value and is applicable only for data access, it does not apply to descriptor access."] #[inline(always)] - #[must_use] pub fn pbl(&mut self) -> PBL_W { PBL_W::new(self, 8) } diff --git a/esp32p4/src/sdhost/buffifo.rs b/esp32p4/src/sdhost/buffifo.rs index 5886f135ca..6ff254e646 100644 --- a/esp32p4/src/sdhost/buffifo.rs +++ b/esp32p4/src/sdhost/buffifo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - CPU write and read transmit data by FIFO. This register points to the current Data FIFO ."] #[inline(always)] - #[must_use] pub fn buffifo(&mut self) -> BUFFIFO_W { BUFFIFO_W::new(self, 0) } diff --git a/esp32p4/src/sdhost/bytcnt.rs b/esp32p4/src/sdhost/bytcnt.rs index 95bbb226ce..52246a239f 100644 --- a/esp32p4/src/sdhost/bytcnt.rs +++ b/esp32p4/src/sdhost/bytcnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Number of bytes to be transferred, should be an integral multiple of Block Size for block transfers. For data transfers of undefined byte lengths, byte count should be set to 0. When byte count is set to 0, it is the responsibility of host to explicitly send stop/abort command to terminate data transfer."] #[inline(always)] - #[must_use] pub fn byte_count(&mut self) -> BYTE_COUNT_W { BYTE_COUNT_W::new(self, 0) } diff --git a/esp32p4/src/sdhost/cardthrctl.rs b/esp32p4/src/sdhost/cardthrctl.rs index a3a12f56ea..29187b55f5 100644 --- a/esp32p4/src/sdhost/cardthrctl.rs +++ b/esp32p4/src/sdhost/cardthrctl.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Card read threshold enable. 1'b0-Card read threshold disabled. 1'b1-Card read threshold enabled."] #[inline(always)] - #[must_use] pub fn cardrdthren(&mut self) -> CARDRDTHREN_W { CARDRDTHREN_W::new(self, 0) } #[doc = "Bit 1 - Busy clear interrupt generation: 1'b0-Busy clear interrypt disabled. 1'b1-Busy clear interrypt enabled."] #[inline(always)] - #[must_use] pub fn cardclrinten(&mut self) -> CARDCLRINTEN_W { CARDCLRINTEN_W::new(self, 1) } #[doc = "Bit 2 - Applicable when HS400 mode is enabled. 1'b0-Card write Threshold disabled. 1'b1-Card write Threshold enabled."] #[inline(always)] - #[must_use] pub fn cardwrthren(&mut self) -> CARDWRTHREN_W { CARDWRTHREN_W::new(self, 2) } #[doc = "Bits 16:31 - The inside FIFO size is 512,This register is applicable when SDHOST_CARDERTHREN_REG is set to 1 or SDHOST_CARDRDTHREN_REG set to 1."] #[inline(always)] - #[must_use] pub fn cardthreshold(&mut self) -> CARDTHRESHOLD_W { CARDTHRESHOLD_W::new(self, 16) } diff --git a/esp32p4/src/sdhost/clk_edge_sel.rs b/esp32p4/src/sdhost/clk_edge_sel.rs index 28c8882369..1d497b0e8b 100644 --- a/esp32p4/src/sdhost/clk_edge_sel.rs +++ b/esp32p4/src/sdhost/clk_edge_sel.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - It's used to select the clock phase of the output signal from phase 0, phase 90, phase 180, phase 270."] #[inline(always)] - #[must_use] pub fn cclkin_edge_drv_sel(&mut self) -> CCLKIN_EDGE_DRV_SEL_W { CCLKIN_EDGE_DRV_SEL_W::new(self, 0) } #[doc = "Bits 3:5 - It's used to select the clock phase of the input signal from phase 0, phase 90, phase 180, phase 270."] #[inline(always)] - #[must_use] pub fn cclkin_edge_sam_sel(&mut self) -> CCLKIN_EDGE_SAM_SEL_W { CCLKIN_EDGE_SAM_SEL_W::new(self, 3) } #[doc = "Bits 6:8 - It's used to select the clock phase of the internal signal from phase 0, phase 90, phase 180, phase 270."] #[inline(always)] - #[must_use] pub fn cclkin_edge_slf_sel(&mut self) -> CCLKIN_EDGE_SLF_SEL_W { CCLKIN_EDGE_SLF_SEL_W::new(self, 6) } #[doc = "Bits 9:12 - The high level of the divider clock. The value should be smaller than CCLKIN_EDGE_L."] #[inline(always)] - #[must_use] pub fn ccllkin_edge_h(&mut self) -> CCLLKIN_EDGE_H_W { CCLLKIN_EDGE_H_W::new(self, 9) } #[doc = "Bits 13:16 - The low level of the divider clock. The value should be larger than CCLKIN_EDGE_H."] #[inline(always)] - #[must_use] pub fn ccllkin_edge_l(&mut self) -> CCLLKIN_EDGE_L_W { CCLLKIN_EDGE_L_W::new(self, 13) } #[doc = "Bits 17:20 - The clock division of cclk_in."] #[inline(always)] - #[must_use] pub fn ccllkin_edge_n(&mut self) -> CCLLKIN_EDGE_N_W { CCLLKIN_EDGE_N_W::new(self, 17) } #[doc = "Bit 21 - Enable esdio mode."] #[inline(always)] - #[must_use] pub fn esdio_mode(&mut self) -> ESDIO_MODE_W { ESDIO_MODE_W::new(self, 21) } #[doc = "Bit 22 - Enable esd mode."] #[inline(always)] - #[must_use] pub fn esd_mode(&mut self) -> ESD_MODE_W { ESD_MODE_W::new(self, 22) } #[doc = "Bit 23 - Sdio clock enable."] #[inline(always)] - #[must_use] pub fn cclk_en(&mut self) -> CCLK_EN_W { CCLK_EN_W::new(self, 23) } #[doc = "Bit 24 - Enable ultra high speed mode, use dll to generate clk."] #[inline(always)] - #[must_use] pub fn ultra_high_speed_mode(&mut self) -> ULTRA_HIGH_SPEED_MODE_W { ULTRA_HIGH_SPEED_MODE_W::new(self, 24) } diff --git a/esp32p4/src/sdhost/clkdiv.rs b/esp32p4/src/sdhost/clkdiv.rs index 6d43304da9..4e556096c2 100644 --- a/esp32p4/src/sdhost/clkdiv.rs +++ b/esp32p4/src/sdhost/clkdiv.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Clock divider0 value. Clock divisor is 2*n, where n = 0 bypasses the divider (divisor of 1). For example, a value of 1 means divided by 2*1 = 2, a value of 0xFF means divided by 2*255 = 510, and so on."] #[inline(always)] - #[must_use] pub fn clk_divider0(&mut self) -> CLK_DIVIDER0_W { CLK_DIVIDER0_W::new(self, 0) } #[doc = "Bits 8:15 - Clock divider1 value. Clock divisor is 2*n, where n = 0 bypasses the divider (divisor of 1). For example, a value of 1 means divided by 2*1 = 2, a value of 0xFF means divided by 2*255 = 510, and so on."] #[inline(always)] - #[must_use] pub fn clk_divider1(&mut self) -> CLK_DIVIDER1_W { CLK_DIVIDER1_W::new(self, 8) } #[doc = "Bits 16:23 - Clock divider2 value. Clock divisor is 2*n, where n = 0 bypasses the divider (divisor of 1). For example, a value of 1 means divided by 2*1 = 2, a value of 0xFF means divided by 2*255 = 510, and so on."] #[inline(always)] - #[must_use] pub fn clk_divider2(&mut self) -> CLK_DIVIDER2_W { CLK_DIVIDER2_W::new(self, 16) } #[doc = "Bits 24:31 - Clock divider3 value. Clock divisor is 2*n, where n = 0 bypasses the divider (divisor of 1). For example, a value of 1 means divided by 2*1 = 2, a value of 0xFF means divided by 2*255 = 510, and so on."] #[inline(always)] - #[must_use] pub fn clk_divider3(&mut self) -> CLK_DIVIDER3_W { CLK_DIVIDER3_W::new(self, 24) } diff --git a/esp32p4/src/sdhost/clkena.rs b/esp32p4/src/sdhost/clkena.rs index 8ea549e305..38637db020 100644 --- a/esp32p4/src/sdhost/clkena.rs +++ b/esp32p4/src/sdhost/clkena.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Clock-enable control for two SD card clocks and one MMC card clock is supported. One bit per card. 0: Clock disabled; 1: Clock enabled."] #[inline(always)] - #[must_use] pub fn cclk_enable(&mut self) -> CCLK_ENABLE_W { CCLK_ENABLE_W::new(self, 0) } #[doc = "Bits 16:17 - Disable clock when the card is in IDLE state. One bit per card. 0: clock disabled; 1: clock enabled."] #[inline(always)] - #[must_use] pub fn lp_enable(&mut self) -> LP_ENABLE_W { LP_ENABLE_W::new(self, 16) } diff --git a/esp32p4/src/sdhost/clksrc.rs b/esp32p4/src/sdhost/clksrc.rs index 291b8b4cce..6065175aa7 100644 --- a/esp32p4/src/sdhost/clksrc.rs +++ b/esp32p4/src/sdhost/clksrc.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Clock divider source for two SD cards is supported. Each card has two bits assigned to it. For example, bit\\[1:0\\] are assigned for card 0, bit\\[3:2\\] are assigned for card 1. Card 0 maps and internally routes clock divider\\[0:3\\] outputs to cclk_out\\[1:0\\] pins, depending on bit value. 00 : Clock divider 0; 01 : Clock divider 1; 10 : Clock divider 2; 11 : Clock divider 3."] #[inline(always)] - #[must_use] pub fn clksrc(&mut self) -> CLKSRC_W { CLKSRC_W::new(self, 0) } diff --git a/esp32p4/src/sdhost/cmd.rs b/esp32p4/src/sdhost/cmd.rs index 29b5cdd46b..f5187e2015 100644 --- a/esp32p4/src/sdhost/cmd.rs +++ b/esp32p4/src/sdhost/cmd.rs @@ -34,9 +34,9 @@ pub type TRANSFER_MODE_W<'a, REG> = crate::BitWriter<'a, REG>; pub type SEND_AUTO_STOP_R = crate::BitReader; #[doc = "Field `SEND_AUTO_STOP` writer - 0: No stop command is sent at the end of data transfer; 1: Send stop command at the end of data transfer."] pub type SEND_AUTO_STOP_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `WAIT_PRVDATA_COMPLETE` reader - 0: Send command at once, even if previous data transfer has not completed; 1: Wait for previous data transfer to complete before sending Command. The SDHOST_WAIT_PRVDATA_COMPLETE\\] = 0 option is typically used to query status of card during data transfer or to stop current data transfer. SDHOST_CARD_NUMBERr should be same as in previous command."] +#[doc = "Field `WAIT_PRVDATA_COMPLETE` reader - 0: Send command at once, even if previous data transfer has not completed; 1: Wait for previous data transfer to complete before sending Command. The SDHOST_WAIT_PRVDATA_COMPLETE] = 0 option is typically used to query status of card during data transfer or to stop current data transfer. SDHOST_CARD_NUMBERr should be same as in previous command."] pub type WAIT_PRVDATA_COMPLETE_R = crate::BitReader; -#[doc = "Field `WAIT_PRVDATA_COMPLETE` writer - 0: Send command at once, even if previous data transfer has not completed; 1: Wait for previous data transfer to complete before sending Command. The SDHOST_WAIT_PRVDATA_COMPLETE\\] = 0 option is typically used to query status of card during data transfer or to stop current data transfer. SDHOST_CARD_NUMBERr should be same as in previous command."] +#[doc = "Field `WAIT_PRVDATA_COMPLETE` writer - 0: Send command at once, even if previous data transfer has not completed; 1: Wait for previous data transfer to complete before sending Command. The SDHOST_WAIT_PRVDATA_COMPLETE] = 0 option is typically used to query status of card during data transfer or to stop current data transfer. SDHOST_CARD_NUMBERr should be same as in previous command."] pub type WAIT_PRVDATA_COMPLETE_W<'a, REG> = crate::BitWriter<'a, REG>; #[doc = "Field `STOP_ABORT_CMD` reader - 0: Neither stop nor abort command can stop current data transfer. If abort is sent to function-number currently selected or not in data-transfer mode, then bit should be set to 0; 1: Stop or abort command intended to stop current data transfer in progress. When open-ended or predefined data transfer is in progress, and host issues stop or abort command to stop data transfer, bit should be set so that command/data state-machines of CIU can return correctly to idle state."] pub type STOP_ABORT_CMD_R = crate::BitReader; @@ -111,7 +111,7 @@ impl R { pub fn send_auto_stop(&self) -> SEND_AUTO_STOP_R { SEND_AUTO_STOP_R::new(((self.bits >> 12) & 1) != 0) } - #[doc = "Bit 13 - 0: Send command at once, even if previous data transfer has not completed; 1: Wait for previous data transfer to complete before sending Command. The SDHOST_WAIT_PRVDATA_COMPLETE\\] = 0 option is typically used to query status of card during data transfer or to stop current data transfer. SDHOST_CARD_NUMBERr should be same as in previous command."] + #[doc = "Bit 13 - 0: Send command at once, even if previous data transfer has not completed; 1: Wait for previous data transfer to complete before sending Command. The SDHOST_WAIT_PRVDATA_COMPLETE] = 0 option is typically used to query status of card during data transfer or to stop current data transfer. SDHOST_CARD_NUMBERr should be same as in previous command."] #[inline(always)] pub fn wait_prvdata_complete(&self) -> WAIT_PRVDATA_COMPLETE_R { WAIT_PRVDATA_COMPLETE_R::new(((self.bits >> 13) & 1) != 0) @@ -187,103 +187,86 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - Command index."] #[inline(always)] - #[must_use] pub fn index(&mut self) -> INDEX_W { INDEX_W::new(self, 0) } #[doc = "Bit 6 - 0: No response expected from card; 1: Response expected from card."] #[inline(always)] - #[must_use] pub fn response_expect(&mut self) -> RESPONSE_EXPECT_W { RESPONSE_EXPECT_W::new(self, 6) } #[doc = "Bit 7 - 0: Short response expected from card; 1: Long response expected from card."] #[inline(always)] - #[must_use] pub fn response_length(&mut self) -> RESPONSE_LENGTH_W { RESPONSE_LENGTH_W::new(self, 7) } #[doc = "Bit 8 - 0: Do not check; 1: Check response CRC. Some of command responses do not return valid CRC bits. Software should disable CRC checks for those commands in order to disable CRC checking by controller."] #[inline(always)] - #[must_use] pub fn check_response_crc(&mut self) -> CHECK_RESPONSE_CRC_W { CHECK_RESPONSE_CRC_W::new(self, 8) } #[doc = "Bit 9 - 0: No data transfer expected; 1: Data transfer expected."] #[inline(always)] - #[must_use] pub fn data_expected(&mut self) -> DATA_EXPECTED_W { DATA_EXPECTED_W::new(self, 9) } #[doc = "Bit 10 - 0: Read from card; 1: Write to card. Don't care if no data is expected from card."] #[inline(always)] - #[must_use] pub fn read_write(&mut self) -> READ_WRITE_W { READ_WRITE_W::new(self, 10) } #[doc = "Bit 11 - 0: Block data transfer command; 1: Stream data transfer command. Don't care if no data expected."] #[inline(always)] - #[must_use] pub fn transfer_mode(&mut self) -> TRANSFER_MODE_W { TRANSFER_MODE_W::new(self, 11) } #[doc = "Bit 12 - 0: No stop command is sent at the end of data transfer; 1: Send stop command at the end of data transfer."] #[inline(always)] - #[must_use] pub fn send_auto_stop(&mut self) -> SEND_AUTO_STOP_W { SEND_AUTO_STOP_W::new(self, 12) } - #[doc = "Bit 13 - 0: Send command at once, even if previous data transfer has not completed; 1: Wait for previous data transfer to complete before sending Command. The SDHOST_WAIT_PRVDATA_COMPLETE\\] = 0 option is typically used to query status of card during data transfer or to stop current data transfer. SDHOST_CARD_NUMBERr should be same as in previous command."] + #[doc = "Bit 13 - 0: Send command at once, even if previous data transfer has not completed; 1: Wait for previous data transfer to complete before sending Command. The SDHOST_WAIT_PRVDATA_COMPLETE] = 0 option is typically used to query status of card during data transfer or to stop current data transfer. SDHOST_CARD_NUMBERr should be same as in previous command."] #[inline(always)] - #[must_use] pub fn wait_prvdata_complete(&mut self) -> WAIT_PRVDATA_COMPLETE_W { WAIT_PRVDATA_COMPLETE_W::new(self, 13) } #[doc = "Bit 14 - 0: Neither stop nor abort command can stop current data transfer. If abort is sent to function-number currently selected or not in data-transfer mode, then bit should be set to 0; 1: Stop or abort command intended to stop current data transfer in progress. When open-ended or predefined data transfer is in progress, and host issues stop or abort command to stop data transfer, bit should be set so that command/data state-machines of CIU can return correctly to idle state."] #[inline(always)] - #[must_use] pub fn stop_abort_cmd(&mut self) -> STOP_ABORT_CMD_W { STOP_ABORT_CMD_W::new(self, 14) } #[doc = "Bit 15 - 0: Do not send initialization sequence (80 clocks of 1) before sending this command; 1: Send initialization sequence before sending this command. After powered on, 80 clocks must be sent to card for initialization before sending any commands to card. Bit should be set while sending first command to card so that controller will initialize clocks before sending command to card."] #[inline(always)] - #[must_use] pub fn send_initialization(&mut self) -> SEND_INITIALIZATION_W { SEND_INITIALIZATION_W::new(self, 15) } #[doc = "Bits 16:20 - Card number in use. Represents physical slot number of card being accessed. In SD-only mode, up to two cards are supported."] #[inline(always)] - #[must_use] pub fn card_number(&mut self) -> CARD_NUMBER_W { CARD_NUMBER_W::new(self, 16) } #[doc = "Bit 21 - 0: Normal command sequence; 1: Do not send commands, just update clock register value into card clock domain. Following register values are transferred into card clock domain: CLKDIV, CLRSRC, and CLKENA. Changes card clocks (change frequency, truncate off or on, and set low-frequency mode). This is provided in order to change clock frequency or stop clock without having to send command to cards. During normal command sequence, when sdhost_update_clock_registers_only = 0, following control registers are transferred from BIU to CIU: CMD, CMDARG, TMOUT, CTYPE, BLKSIZ, and BYTCNT. CIU uses new register values for new command sequence to card(s). When bit is set, there are no Command Done interrupts because no command is sent to SD_MMC_CEATA cards."] #[inline(always)] - #[must_use] pub fn update_clock_registers_only(&mut self) -> UPDATE_CLOCK_REGISTERS_ONLY_W { UPDATE_CLOCK_REGISTERS_ONLY_W::new(self, 21) } #[doc = "Bit 22 - Read access flag. 0: Host is not performing read access (RW_REG or RW_BLK)towards CE-ATA device; 1: Host is performing read access (RW_REG or RW_BLK) towards CE-ATA device. Software should set this bit to indicate that CE-ATA device is being accessed for read transfer. This bit is used to disable read data timeout indication while performing CE-ATA read transfers. Maximum value of I/O transmission delay can be no less than 10 seconds. SD/MMC should not indicate read data timeout while waiting for data from CE-ATA device."] #[inline(always)] - #[must_use] pub fn read_ceata_device(&mut self) -> READ_CEATA_DEVICE_W { READ_CEATA_DEVICE_W::new(self, 22) } #[doc = "Bit 23 - Expected Command Completion Signal (CCS) configuration. 0: Interrupts are not enabled in CE-ATA device (nIEN = 1 in ATA control register), or command does not expect CCS from device; 1: Interrupts are enabled in CE-ATA device (nIEN = 0), and RW_BLK command expects command completion signal from CE-ATA device. If the command expects Command Completion Signal (CCS) from the CE-ATA device, the software should set this control bit. SD/MMC sets Data Transfer Over (DTO) bit in RINTSTS register and generates interrupt to host if Data Transfer Over interrupt is not masked."] #[inline(always)] - #[must_use] pub fn ccs_expected(&mut self) -> CCS_EXPECTED_W { CCS_EXPECTED_W::new(self, 23) } #[doc = "Bit 29 - Use Hold Register. 0: CMD and DATA sent to card bypassing HOLD Register; 1: CMD and DATA sent to card through the HOLD Register."] #[inline(always)] - #[must_use] pub fn use_hole(&mut self) -> USE_HOLE_W { USE_HOLE_W::new(self, 29) } #[doc = "Bit 31 - Start command. Once command is served by the CIU, this bit is automatically cleared. When this bit is set, host should not attempt to write to any command registers. If a write is attempted, hardware lock error is set in raw interrupt register. Once command is sent and a response is received from SD_MMC_CEATA cards, Command Done bit is set in the raw interrupt Register."] #[inline(always)] - #[must_use] pub fn start_cmd(&mut self) -> START_CMD_W { START_CMD_W::new(self, 31) } diff --git a/esp32p4/src/sdhost/cmdarg.rs b/esp32p4/src/sdhost/cmdarg.rs index 9b54253c45..16efa0eb23 100644 --- a/esp32p4/src/sdhost/cmdarg.rs +++ b/esp32p4/src/sdhost/cmdarg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Value indicates command argument to be passed to the card."] #[inline(always)] - #[must_use] pub fn cmdarg(&mut self) -> CMDARG_W { CMDARG_W::new(self, 0) } diff --git a/esp32p4/src/sdhost/ctrl.rs b/esp32p4/src/sdhost/ctrl.rs index 188695044f..bdeba0dd0d 100644 --- a/esp32p4/src/sdhost/ctrl.rs +++ b/esp32p4/src/sdhost/ctrl.rs @@ -117,61 +117,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - To reset controller, firmware should set this bit. This bit is auto-cleared after two AHB and two sdhost_cclk_in clock cycles."] #[inline(always)] - #[must_use] pub fn controller_reset(&mut self) -> CONTROLLER_RESET_W { CONTROLLER_RESET_W::new(self, 0) } #[doc = "Bit 1 - To reset FIFO, firmware should set bit to 1. This bit is auto-cleared after completion of reset operation. Note: FIFO pointers will be out of reset after 2 cycles of system clocks in addition to synchronization delay (2 cycles of card clock), after the fifo_reset is cleared."] #[inline(always)] - #[must_use] pub fn fifo_reset(&mut self) -> FIFO_RESET_W { FIFO_RESET_W::new(self, 1) } #[doc = "Bit 2 - To reset DMA interface, firmware should set bit to 1. This bit is auto-cleared after two AHB clocks."] #[inline(always)] - #[must_use] pub fn dma_reset(&mut self) -> DMA_RESET_W { DMA_RESET_W::new(self, 2) } #[doc = "Bit 4 - Global interrupt enable/disable bit. 0: Disable; 1: Enable."] #[inline(always)] - #[must_use] pub fn int_enable(&mut self) -> INT_ENABLE_W { INT_ENABLE_W::new(self, 4) } #[doc = "Bit 6 - For sending read-wait to SDIO cards."] #[inline(always)] - #[must_use] pub fn read_wait(&mut self) -> READ_WAIT_W { READ_WAIT_W::new(self, 6) } #[doc = "Bit 7 - Bit automatically clears once response is sent. To wait for MMC card interrupts, host issues CMD40 and waits for interrupt response from MMC card(s). In the meantime, if host wants SD/MMC to exit waiting for interrupt state, it can set this bit, at which time SD/MMC command state-machine sends CMD40 response on bus and returns to idle state."] #[inline(always)] - #[must_use] pub fn send_irq_response(&mut self) -> SEND_IRQ_RESPONSE_W { SEND_IRQ_RESPONSE_W::new(self, 7) } #[doc = "Bit 8 - After a suspend-command is issued during a read-operation, software polls the card to find when the suspend-event occurred. Once the suspend-event has occurred, software sets the bit which will reset the data state machine that is waiting for the next block of data. This bit is automatically cleared once the data state machine is reset to idle."] #[inline(always)] - #[must_use] pub fn abort_read_data(&mut self) -> ABORT_READ_DATA_W { ABORT_READ_DATA_W::new(self, 8) } #[doc = "Bit 9 - When set, SD/MMC sends CCSD to the CE-ATA device. Software sets this bit only if the current command is expecting CCS (that is, RW_BLK), and if interrupts are enabled for the CE-ATA device. Once the CCSD pattern is sent to the device, SD/MMC automatically clears the SDHOST_SEND_CCSD bit. It also sets the Command Done (CD) bit in the SDHOST_RINTSTS_REG register, and generates an interrupt for the host, in case the Command Done interrupt is not masked. NOTE: Once the SDHOST_SEND_CCSD bit is set, it takes two card clock cycles to drive the CCSD on the CMD line. Due to this, within the boundary conditions the CCSD may be sent to the CE-ATA device, even if the device has signalled CCS."] #[inline(always)] - #[must_use] pub fn send_ccsd(&mut self) -> SEND_CCSD_W { SEND_CCSD_W::new(self, 9) } #[doc = "Bit 10 - Always Set SDHOST_SEND_AUTO_STOP_CCSD and SDHOST_SEND_CCSD bits together; SDHOST_SEND_AUTO_STOP_CCSD should not be set independently of send_ccsd. When set, SD/MMC automatically sends an internally-generated STOP command (CMD12) to the CE-ATA device. After sending this internally-generated STOP command, the Auto Command Done (ACD) bit in SDHOST_RINTSTS_REG is set and an interrupt is generated for the host, in case the ACD interrupt is not masked. After sending the Command Completion Signal Disable (CCSD), SD/MMC automatically clears the SDHOST_SEND_AUTO_STOP_CCSD bit."] #[inline(always)] - #[must_use] pub fn send_auto_stop_ccsd(&mut self) -> SEND_AUTO_STOP_CCSD_W { SEND_AUTO_STOP_CCSD_W::new(self, 10) } #[doc = "Bit 11 - Software should appropriately write to this bit after the power-on reset or any other reset to the CE-ATA device. After reset, the CE-ATA device's interrupt is usually disabled (nIEN = 1). If the host enables the CE-ATA device's interrupt, then software should set this bit."] #[inline(always)] - #[must_use] pub fn ceata_device_interrupt_status(&mut self) -> CEATA_DEVICE_INTERRUPT_STATUS_W { CEATA_DEVICE_INTERRUPT_STATUS_W::new(self, 11) } diff --git a/esp32p4/src/sdhost/ctype.rs b/esp32p4/src/sdhost/ctype.rs index 87fd7264c1..626c966262 100644 --- a/esp32p4/src/sdhost/ctype.rs +++ b/esp32p4/src/sdhost/ctype.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - One bit per card indicates if card is 1-bit or 4-bit mode. 0: 1-bit mode; 1: 4-bit mode. Bit\\[1:0\\] correspond to card\\[1:0\\] respectively."] #[inline(always)] - #[must_use] pub fn card_width4(&mut self) -> CARD_WIDTH4_W { CARD_WIDTH4_W::new(self, 0) } #[doc = "Bits 16:17 - One bit per card indicates if card is in 8-bit mode. 0: Non 8-bit mode; 1: 8-bit mode. Bit\\[17:16\\] correspond to card\\[1:0\\] respectively."] #[inline(always)] - #[must_use] pub fn card_width8(&mut self) -> CARD_WIDTH8_W { CARD_WIDTH8_W::new(self, 16) } diff --git a/esp32p4/src/sdhost/dbaddr.rs b/esp32p4/src/sdhost/dbaddr.rs index aaf52a61c5..d3c712d63a 100644 --- a/esp32p4/src/sdhost/dbaddr.rs +++ b/esp32p4/src/sdhost/dbaddr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Start of Descriptor List. Contains the base address of the First Descriptor. The LSB bits \\[1:0\\] are ignored and taken as all-zero by the IDMAC internally. Hence these LSB bits may be treated as read-only."] #[inline(always)] - #[must_use] pub fn dbaddr(&mut self) -> DBADDR_W { DBADDR_W::new(self, 0) } diff --git a/esp32p4/src/sdhost/debnce.rs b/esp32p4/src/sdhost/debnce.rs index f5664a5673..06e70e3dcd 100644 --- a/esp32p4/src/sdhost/debnce.rs +++ b/esp32p4/src/sdhost/debnce.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - Number of host clocks (clk) used by debounce filter logic. The typical debounce time is 5 \\verb+~+ 25 ms to prevent the card instability when the card is inserted or removed."] #[inline(always)] - #[must_use] pub fn debounce_count(&mut self) -> DEBOUNCE_COUNT_W { DEBOUNCE_COUNT_W::new(self, 0) } diff --git a/esp32p4/src/sdhost/dll_clk_conf.rs b/esp32p4/src/sdhost/dll_clk_conf.rs index af230f71f2..24eb28a205 100644 --- a/esp32p4/src/sdhost/dll_clk_conf.rs +++ b/esp32p4/src/sdhost/dll_clk_conf.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Clock enable of cclk_in_slf when ULTRA_HIGH_SPEED_MODE==1."] #[inline(always)] - #[must_use] pub fn dll_cclk_in_slf_en(&mut self) -> DLL_CCLK_IN_SLF_EN_W { DLL_CCLK_IN_SLF_EN_W::new(self, 0) } #[doc = "Bit 1 - Clock enable of cclk_in_drv when ULTRA_HIGH_SPEED_MODE==1."] #[inline(always)] - #[must_use] pub fn dll_cclk_in_drv_en(&mut self) -> DLL_CCLK_IN_DRV_EN_W { DLL_CCLK_IN_DRV_EN_W::new(self, 1) } #[doc = "Bit 2 - Clock enable of cclk_in_sam when ULTRA_HIGH_SPEED_MODE==1."] #[inline(always)] - #[must_use] pub fn dll_cclk_in_sam_en(&mut self) -> DLL_CCLK_IN_SAM_EN_W { DLL_CCLK_IN_SAM_EN_W::new(self, 2) } #[doc = "Bits 3:8 - It's used to control the phase of cclk_in_slf when ULTRA_HIGH_SPEED_MODE==1."] #[inline(always)] - #[must_use] pub fn dll_cclk_in_slf_phase(&mut self) -> DLL_CCLK_IN_SLF_PHASE_W { DLL_CCLK_IN_SLF_PHASE_W::new(self, 3) } #[doc = "Bits 9:14 - It's used to control the phase of cclk_in_drv when ULTRA_HIGH_SPEED_MODE==1."] #[inline(always)] - #[must_use] pub fn dll_cclk_in_drv_phase(&mut self) -> DLL_CCLK_IN_DRV_PHASE_W { DLL_CCLK_IN_DRV_PHASE_W::new(self, 9) } #[doc = "Bits 15:20 - It's used to control the phase of cclk_in_sam when ULTRA_HIGH_SPEED_MODE==1."] #[inline(always)] - #[must_use] pub fn dll_cclk_in_sam_phase(&mut self) -> DLL_CCLK_IN_SAM_PHASE_W { DLL_CCLK_IN_SAM_PHASE_W::new(self, 15) } diff --git a/esp32p4/src/sdhost/dll_conf.rs b/esp32p4/src/sdhost/dll_conf.rs index fa525c6ad2..e8fd53f0ac 100644 --- a/esp32p4/src/sdhost/dll_conf.rs +++ b/esp32p4/src/sdhost/dll_conf.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to stop calibration."] #[inline(always)] - #[must_use] pub fn dll_cal_stop(&mut self) -> DLL_CAL_STOP_W { DLL_CAL_STOP_W::new(self, 0) } diff --git a/esp32p4/src/sdhost/emmcddr.rs b/esp32p4/src/sdhost/emmcddr.rs index 405b5d2739..31ada02122 100644 --- a/esp32p4/src/sdhost/emmcddr.rs +++ b/esp32p4/src/sdhost/emmcddr.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Control for start bit detection mechanism duration of start bit.Each bit refers to one slot.Set this bit to 1 for eMMC4.5 and above,set to 0 for SD applications.For eMMC4.5,start bit can be: 1'b0-Full cycle. 1'b1-less than one full cycle."] #[inline(always)] - #[must_use] pub fn halfstartbit(&mut self) -> HALFSTARTBIT_W { HALFSTARTBIT_W::new(self, 0) } #[doc = "Bit 31 - Set 1 to enable HS400 mode."] #[inline(always)] - #[must_use] pub fn hs400_mode(&mut self) -> HS400_MODE_W { HS400_MODE_W::new(self, 31) } diff --git a/esp32p4/src/sdhost/enshift.rs b/esp32p4/src/sdhost/enshift.rs index bd77802532..3d441e55f7 100644 --- a/esp32p4/src/sdhost/enshift.rs +++ b/esp32p4/src/sdhost/enshift.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Control for the amount of phase shift provided on the default enables in the design.Two bits assigned for each card. 2'b00-Default phase shift. 2'b01-Enables shifted to next immediate positive edge. 2'b10-Enables shifted to next immediate negative edge. 2'b11-Reserved."] #[inline(always)] - #[must_use] pub fn enable_shift(&mut self) -> ENABLE_SHIFT_W { ENABLE_SHIFT_W::new(self, 0) } diff --git a/esp32p4/src/sdhost/fifoth.rs b/esp32p4/src/sdhost/fifoth.rs index 841b6ce6d7..557b69a335 100644 --- a/esp32p4/src/sdhost/fifoth.rs +++ b/esp32p4/src/sdhost/fifoth.rs @@ -47,19 +47,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - FIFO threshold watermark level when transmitting data to card. When FIFO data count is less than or equal to this number, DMA/FIFO request is raised. If Interrupt is enabled, then interrupt occurs. During end of packet, request or interrupt is generated, regardless of threshold programming.In non-DMA mode, when transmit FIFO threshold (TXDR) interrupt is enabled, then interrupt is generated instead of DMA request. During end of packet, on last interrupt, host is responsible for filling FIFO with only required remaining bytes (not before FIFO is full or after CIU completes data transfers, because FIFO may not be empty). In DMA mode, at end of packet, if last transfer is less than burst size, DMA controller does single cycles until required bytes are transferred."] #[inline(always)] - #[must_use] pub fn tx_wmark(&mut self) -> TX_WMARK_W { TX_WMARK_W::new(self, 0) } #[doc = "Bits 16:26 - FIFO threshold watermark level when receiving data to card.When FIFO data count reaches greater than this number , DMA/FIFO request is raised. During end of packet, request is generated regardless of threshold programming in order to complete any remaining data.In non-DMA mode, when receiver FIFO threshold (RXDR) interrupt is enabled, then interrupt is generated instead of DMA request.During end of packet, interrupt is not generated if threshold programming is larger than any remaining data. It is responsibility of host to read remaining bytes on seeing Data Transfer Done interrupt.In DMA mode, at end of packet, even if remaining bytes are less than threshold, DMA request does single transfers to flush out any remaining bytes before Data Transfer Done interrupt is set."] #[inline(always)] - #[must_use] pub fn rx_wmark(&mut self) -> RX_WMARK_W { RX_WMARK_W::new(self, 16) } #[doc = "Bits 28:30 - Burst size of multiple transaction, should be programmed same as DMA controller multiple-transaction-size SDHOST_SRC/DEST_MSIZE. 000: 1-byte transfer; 001: 4-byte transfer; 010: 8-byte transfer; 011: 16-byte transfer; 100: 32-byte transfer; 101: 64-byte transfer; 110: 128-byte transfer; 111: 256-byte transfer."] #[inline(always)] - #[must_use] pub fn dma_multiple_transaction_size( &mut self, ) -> DMA_MULTIPLE_TRANSACTION_SIZE_W { diff --git a/esp32p4/src/sdhost/idinten.rs b/esp32p4/src/sdhost/idinten.rs index 730c7c8bd1..5c9d873d90 100644 --- a/esp32p4/src/sdhost/idinten.rs +++ b/esp32p4/src/sdhost/idinten.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Transmit Interrupt Enable. When set with Normal Interrupt Summary Enable, Transmit Interrupt is enabled. When reset, Transmit Interrupt is disabled."] #[inline(always)] - #[must_use] pub fn ti(&mut self) -> TI_W { TI_W::new(self, 0) } #[doc = "Bit 1 - Receive Interrupt Enable. When set with Normal Interrupt Summary Enable, Receive Interrupt is enabled. When reset, Receive Interrupt is disabled."] #[inline(always)] - #[must_use] pub fn ri(&mut self) -> RI_W { RI_W::new(self, 1) } #[doc = "Bit 2 - Fatal Bus Error Enable. When set with Abnormal Interrupt Summary Enable, the Fatal Bus Error Interrupt is enabled. When reset, Fatal Bus Error Enable Interrupt is disabled."] #[inline(always)] - #[must_use] pub fn fbe(&mut self) -> FBE_W { FBE_W::new(self, 2) } #[doc = "Bit 4 - Descriptor Unavailable Interrupt. When set along with Abnormal Interrupt Summary Enable, the DU interrupt is enabled."] #[inline(always)] - #[must_use] pub fn du(&mut self) -> DU_W { DU_W::new(self, 4) } #[doc = "Bit 5 - Card Error summary Interrupt Enable. When set, it enables the Card Interrupt summary."] #[inline(always)] - #[must_use] pub fn ces(&mut self) -> CES_W { CES_W::new(self, 5) } #[doc = "Bit 8 - Normal Interrupt Summary Enable. When set, a normal interrupt is enabled. When reset, a normal interrupt is disabled. This bit enables the following bits: IDINTEN\\[0\\]: Transmit Interrupt; IDINTEN\\[1\\]: Receive Interrupt."] #[inline(always)] - #[must_use] pub fn ni(&mut self) -> NI_W { NI_W::new(self, 8) } #[doc = "Bit 9 - Abnormal Interrupt Summary Enable. When set, an abnormal interrupt is enabled. This bit enables the following bits: IDINTEN\\[2\\]: Fatal Bus Error Interrupt; IDINTEN\\[4\\]: DU Interrupt."] #[inline(always)] - #[must_use] pub fn ai(&mut self) -> AI_W { AI_W::new(self, 9) } diff --git a/esp32p4/src/sdhost/idsts.rs b/esp32p4/src/sdhost/idsts.rs index fbf3d95fb4..b9ded110b9 100644 --- a/esp32p4/src/sdhost/idsts.rs +++ b/esp32p4/src/sdhost/idsts.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Transmit Interrupt. Indicates that data transmission is finished for a descriptor. Writing 1 clears this bit."] #[inline(always)] - #[must_use] pub fn ti(&mut self) -> TI_W { TI_W::new(self, 0) } #[doc = "Bit 1 - Receive Interrupt. Indicates the completion of data reception for a descriptor. Writing 1 clears this bit."] #[inline(always)] - #[must_use] pub fn ri(&mut self) -> RI_W { RI_W::new(self, 1) } #[doc = "Bit 2 - Fatal Bus Error Interrupt. Indicates that a Bus Error occurred (IDSTS\\[12:10\\]) . When this bit is set, the DMA disables all its bus accesses. Writing 1 clears this bit."] #[inline(always)] - #[must_use] pub fn fbe(&mut self) -> FBE_W { FBE_W::new(self, 2) } #[doc = "Bit 4 - Descriptor Unavailable Interrupt. This bit is set when the descriptor is unavailable due to OWNER bit = 0 (DES0\\[31\\] = 0). Writing 1 clears this bit."] #[inline(always)] - #[must_use] pub fn du(&mut self) -> DU_W { DU_W::new(self, 4) } #[doc = "Bit 5 - Card Error Summary. Indicates the status of the transaction to/from the card, also present in RINTSTS. Indicates the logical OR of the following bits: EBE : End Bit Error; RTO : Response Timeout/Boot Ack Timeout; RCRC : Response CRC; SBE : Start Bit Error; DRTO : Data Read Timeout/BDS timeout; DCRC : Data CRC for Receive; RE : Response Error. Writing 1 clears this bit. The abort condition of the IDMAC depends on the setting of this CES bit. If the CES bit is enabled, then the IDMAC aborts on a response error."] #[inline(always)] - #[must_use] pub fn ces(&mut self) -> CES_W { CES_W::new(self, 5) } #[doc = "Bit 8 - Normal Interrupt Summary. Logical OR of the following: IDSTS\\[0\\] : Transmit Interrupt, IDSTS\\[1\\] : Receive Interrupt. Only unmasked bits affect this bit. This is a sticky bit and must be cleared each time a corresponding bit that causes NIS to be set is cleared. Writing 1 clears this bit."] #[inline(always)] - #[must_use] pub fn nis(&mut self) -> NIS_W { NIS_W::new(self, 8) } #[doc = "Bit 9 - Abnormal Interrupt Summary. Logical OR of the following: IDSTS\\[2\\] : Fatal Bus Interrupt, IDSTS\\[4\\] : DU bit Interrupt. Only unmasked bits affect this bit. This is a sticky bit and must be cleared each time a corresponding bit that causes AIS to be set is cleared. Writing 1 clears this bit."] #[inline(always)] - #[must_use] pub fn ais(&mut self) -> AIS_W { AIS_W::new(self, 9) } #[doc = "Bits 10:12 - Fatal Bus Error Code. Indicates the type of error that caused a Bus Error. Valid only when the Fatal Bus Error bit IDSTS\\[2\\] is set. This field does not generate an interrupt. 001: Host Abort received during transmission; 010: Host Abort received during reception; Others: Reserved."] #[inline(always)] - #[must_use] pub fn fbe_code(&mut self) -> FBE_CODE_W { FBE_CODE_W::new(self, 10) } #[doc = "Bits 13:16 - DMAC FSM present state. 0: DMA_IDLE (idle state); 1: DMA_SUSPEND (suspend state); 2: DESC_RD (descriptor reading state); 3: DESC_CHK (descriptor checking state); 4: DMA_RD_REQ_WAIT (read-data request waiting state); 5: DMA_WR_REQ_WAIT (write-data request waiting state); 6: DMA_RD (data-read state); 7: DMA_WR (data-write state); 8: DESC_CLOSE (descriptor close state)."] #[inline(always)] - #[must_use] pub fn fsm(&mut self) -> FSM_W { FSM_W::new(self, 13) } diff --git a/esp32p4/src/sdhost/intmask.rs b/esp32p4/src/sdhost/intmask.rs index d8f06f1b7b..04af2f6725 100644 --- a/esp32p4/src/sdhost/intmask.rs +++ b/esp32p4/src/sdhost/intmask.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - These bits used to mask unwanted interrupts. A value of 0 masks interrupt, and a value of 1 enables the interrupt. Bit 15 (EBE): End-bit error/no CRC error; Bit 14 (ACD): Auto command done; Bit 13 (SBE/BCI): Rx Start Bit Error; Bit 12 (HLE): Hardware locked write error; Bit 11 (FRUN): FIFO underrun/overrun error; Bit 10 (HTO): Data starvation-by-host timeout; Bit 9 (DRTO): Data read timeout; Bit 8 (RTO): Response timeout; Bit 7 (DCRC): Data CRC error; Bit 6 (RCRC): Response CRC error; Bit 5 (RXDR): Receive FIFO data request; Bit 4 (TXDR): Transmit FIFO data request; Bit 3 (DTO): Data transfer over; Bit 2 (CD): Command done; Bit 1 (RE): Response error; Bit 0 (CD): Card detect."] #[inline(always)] - #[must_use] pub fn int_mask(&mut self) -> INT_MASK_W { INT_MASK_W::new(self, 0) } #[doc = "Bits 16:17 - SDIO interrupt mask, one bit for each card. Bit\\[17:16\\] correspond to card\\[15:0\\] respectively. When masked, SDIO interrupt detection for that card is disabled. 0 masks an interrupt, and 1 enables an interrupt."] #[inline(always)] - #[must_use] pub fn sdio_int_mask(&mut self) -> SDIO_INT_MASK_W { SDIO_INT_MASK_W::new(self, 16) } diff --git a/esp32p4/src/sdhost/pldmnd.rs b/esp32p4/src/sdhost/pldmnd.rs index feb2236b6a..593156e368 100644 --- a/esp32p4/src/sdhost/pldmnd.rs +++ b/esp32p4/src/sdhost/pldmnd.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - Poll Demand. If the OWNER bit of a descriptor is not set, the FSM goes to the Suspend state. The host needs to write any value into this register for the IDMAC FSM to resume normal descriptor fetch operation. This is a write only ."] #[inline(always)] - #[must_use] pub fn pd(&mut self) -> PD_W { PD_W::new(self, 0) } diff --git a/esp32p4/src/sdhost/rintsts.rs b/esp32p4/src/sdhost/rintsts.rs index 9bc56751d6..5d6e6f419f 100644 --- a/esp32p4/src/sdhost/rintsts.rs +++ b/esp32p4/src/sdhost/rintsts.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Setting a bit clears the corresponding interrupt and writing 0 has no effect. Bits are logged regardless of interrupt mask status. Bit 15 (EBE): End-bit error/no CRC error; Bit 14 (ACD): Auto command done; Bit 13 (SBE/BCI): RX Start Bit Error; Bit 12 (HLE): Hardware locked write error; Bit 11 (FRUN): FIFO underrun/overrun error; Bit 10 (HTO): Data starvation by host timeout (HTO); Bit 9 (DTRO): Data read timeout; Bit 8 (RTO): Response timeout; Bit 7 (DCRC): Data CRC error; Bit 6 (RCRC): Response CRC error; Bit 5 (RXDR): Receive FIFO data request; Bit 4 (TXDR): Transmit FIFO data request; Bit 3 (DTO): Data transfer over; Bit 2 (CD): Command done; Bit 1 (RE): Response error; Bit 0 (CD): Card detect."] #[inline(always)] - #[must_use] pub fn int_status_raw(&mut self) -> INT_STATUS_RAW_W { INT_STATUS_RAW_W::new(self, 0) } #[doc = "Bits 16:17 - Interrupt from SDIO card, one bit for each card. Bit\\[17:16\\] correspond to card1 and card0, respectively. Setting a bit clears the corresponding interrupt bit and writing 0 has no effect. 0: No SDIO interrupt from card; 1: SDIO interrupt from card."] #[inline(always)] - #[must_use] pub fn sdio_interrupt_raw(&mut self) -> SDIO_INTERRUPT_RAW_W { SDIO_INTERRUPT_RAW_W::new(self, 16) } diff --git a/esp32p4/src/sdhost/rst_n.rs b/esp32p4/src/sdhost/rst_n.rs index c9aee83112..b7bcd3f632 100644 --- a/esp32p4/src/sdhost/rst_n.rs +++ b/esp32p4/src/sdhost/rst_n.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Hardware reset. 1: Active mode; 0: Reset. These bits cause the cards to enter pre-idle state, which requires them to be re-initialized. SDHOST_RST_CARD_RESET\\[0\\] should be set to 1'b0 to reset card0, SDHOST_RST_CARD_RESET\\[1\\] should be set to 1'b0 to reset card1."] #[inline(always)] - #[must_use] pub fn card_reset(&mut self) -> CARD_RESET_W { CARD_RESET_W::new(self, 0) } diff --git a/esp32p4/src/sdhost/tmout.rs b/esp32p4/src/sdhost/tmout.rs index e8c4de9106..8c443976e0 100644 --- a/esp32p4/src/sdhost/tmout.rs +++ b/esp32p4/src/sdhost/tmout.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Response timeout value. Value is specified in terms of number of card output clocks, i.e., sdhost_cclk_out."] #[inline(always)] - #[must_use] pub fn response_timeout(&mut self) -> RESPONSE_TIMEOUT_W { RESPONSE_TIMEOUT_W::new(self, 0) } #[doc = "Bits 8:31 - Value for card data read timeout. This value is also used for data starvation by host timeout. The timeout counter is started only after the card clock is stopped. This value is specified in number of card output clocks, i.e. sdhost_cclk_out of the selected card. NOTE: The software timer should be used if the timeout value is in the order of 100 ms. In this case, read data timeout interrupt needs to be disabled."] #[inline(always)] - #[must_use] pub fn data_timeout(&mut self) -> DATA_TIMEOUT_W { DATA_TIMEOUT_W::new(self, 8) } diff --git a/esp32p4/src/sdhost/uhs.rs b/esp32p4/src/sdhost/uhs.rs index 7ab87510f3..92f0b1c227 100644 --- a/esp32p4/src/sdhost/uhs.rs +++ b/esp32p4/src/sdhost/uhs.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:17 - DDR mode selecton,1 bit for each card. 0-Non-DDR mdoe. 1-DDR mdoe."] #[inline(always)] - #[must_use] pub fn ddr(&mut self) -> DDR_W { DDR_W::new(self, 16) } diff --git a/esp32p4/src/sdhost/usrid.rs b/esp32p4/src/sdhost/usrid.rs index 7a0013604a..ca2811794d 100644 --- a/esp32p4/src/sdhost/usrid.rs +++ b/esp32p4/src/sdhost/usrid.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - User identification register, value set by user. Can also be used as a scratchpad register by user."] #[inline(always)] - #[must_use] pub fn usrid(&mut self) -> USRID_W { USRID_W::new(self, 0) } diff --git a/esp32p4/src/sha/clear_irq.rs b/esp32p4/src/sha/clear_irq.rs index ce258b7da4..ac34dbeaa9 100644 --- a/esp32p4/src/sha/clear_irq.rs +++ b/esp32p4/src/sha/clear_irq.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Clear sha interrupt."] #[inline(always)] - #[must_use] pub fn clear_interrupt(&mut self) -> CLEAR_INTERRUPT_W { CLEAR_INTERRUPT_W::new(self, 0) } diff --git a/esp32p4/src/sha/date.rs b/esp32p4/src/sha/date.rs index cc11d403f7..78b507ed0b 100644 --- a/esp32p4/src/sha/date.rs +++ b/esp32p4/src/sha/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Sha date information/ sha version information."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32p4/src/sha/dma_block_num.rs b/esp32p4/src/sha/dma_block_num.rs index 12fd0d0103..658a579ae7 100644 --- a/esp32p4/src/sha/dma_block_num.rs +++ b/esp32p4/src/sha/dma_block_num.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - Dma-sha block number."] #[inline(always)] - #[must_use] pub fn dma_block_num(&mut self) -> DMA_BLOCK_NUM_W { DMA_BLOCK_NUM_W::new(self, 0) } diff --git a/esp32p4/src/sha/dma_continue.rs b/esp32p4/src/sha/dma_continue.rs index 9a52b90032..1e1cfdb7bc 100644 --- a/esp32p4/src/sha/dma_continue.rs +++ b/esp32p4/src/sha/dma_continue.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Continue dma-sha."] #[inline(always)] - #[must_use] pub fn dma_continue(&mut self) -> DMA_CONTINUE_W { DMA_CONTINUE_W::new(self, 0) } diff --git a/esp32p4/src/sha/dma_start.rs b/esp32p4/src/sha/dma_start.rs index 346a607e69..dd22dab31b 100644 --- a/esp32p4/src/sha/dma_start.rs +++ b/esp32p4/src/sha/dma_start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Start dma-sha."] #[inline(always)] - #[must_use] pub fn dma_start(&mut self) -> DMA_START_W { DMA_START_W::new(self, 0) } diff --git a/esp32p4/src/sha/irq_ena.rs b/esp32p4/src/sha/irq_ena.rs index 2a97464d29..9d8bc94a1f 100644 --- a/esp32p4/src/sha/irq_ena.rs +++ b/esp32p4/src/sha/irq_ena.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Sha interrupt enable register. 1'b0: disable(default). 1'b1: enable."] #[inline(always)] - #[must_use] pub fn interrupt_ena(&mut self) -> INTERRUPT_ENA_W { INTERRUPT_ENA_W::new(self, 0) } diff --git a/esp32p4/src/sha/mode.rs b/esp32p4/src/sha/mode.rs index e03dfab74c..e064361f45 100644 --- a/esp32p4/src/sha/mode.rs +++ b/esp32p4/src/sha/mode.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - Sha mode."] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 0) } diff --git a/esp32p4/src/sha/t_length.rs b/esp32p4/src/sha/t_length.rs index bfa7857b78..98ff3bfc48 100644 --- a/esp32p4/src/sha/t_length.rs +++ b/esp32p4/src/sha/t_length.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - Sha t_length (used if and only if mode == SHA_512/t)."] #[inline(always)] - #[must_use] pub fn t_length(&mut self) -> T_LENGTH_W { T_LENGTH_W::new(self, 0) } diff --git a/esp32p4/src/sha/t_string.rs b/esp32p4/src/sha/t_string.rs index ec795b2910..216fb30fb1 100644 --- a/esp32p4/src/sha/t_string.rs +++ b/esp32p4/src/sha/t_string.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Sha t_string (used if and only if mode == SHA_512/t)."] #[inline(always)] - #[must_use] pub fn t_string(&mut self) -> T_STRING_W { T_STRING_W::new(self, 0) } diff --git a/esp32p4/src/soc_etm/ch/evt_id.rs b/esp32p4/src/soc_etm/ch/evt_id.rs index a4e8ebfc10..4735c34b64 100644 --- a/esp32p4/src/soc_etm/ch/evt_id.rs +++ b/esp32p4/src/soc_etm/ch/evt_id.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Configures ch0_evt_id"] #[inline(always)] - #[must_use] pub fn evt_id(&mut self) -> EVT_ID_W { EVT_ID_W::new(self, 0) } diff --git a/esp32p4/src/soc_etm/ch/task_id.rs b/esp32p4/src/soc_etm/ch/task_id.rs index 9e02c4e179..b30985c153 100644 --- a/esp32p4/src/soc_etm/ch/task_id.rs +++ b/esp32p4/src/soc_etm/ch/task_id.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Configures ch0_task_id"] #[inline(always)] - #[must_use] pub fn task_id(&mut self) -> TASK_ID_W { TASK_ID_W::new(self, 0) } diff --git a/esp32p4/src/soc_etm/ch_ena_ad0.rs b/esp32p4/src/soc_etm/ch_ena_ad0.rs index 5e17a5b143..9b166a600f 100644 --- a/esp32p4/src/soc_etm/ch_ena_ad0.rs +++ b/esp32p4/src/soc_etm/ch_ena_ad0.rs @@ -227,7 +227,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH_ENA0` field.
"] #[inline(always)] - #[must_use] pub fn ch_ena(&mut self, n: u8) -> CH_ENA_W { #[allow(clippy::no_effect)] [(); 32][n as usize]; @@ -235,193 +234,161 @@ impl W { } #[doc = "Bit 0 - Represents ch0 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena0(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 0) } #[doc = "Bit 1 - Represents ch1 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena1(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 1) } #[doc = "Bit 2 - Represents ch2 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena2(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 2) } #[doc = "Bit 3 - Represents ch3 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena3(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 3) } #[doc = "Bit 4 - Represents ch4 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena4(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 4) } #[doc = "Bit 5 - Represents ch5 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena5(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 5) } #[doc = "Bit 6 - Represents ch6 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena6(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 6) } #[doc = "Bit 7 - Represents ch7 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena7(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 7) } #[doc = "Bit 8 - Represents ch8 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena8(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 8) } #[doc = "Bit 9 - Represents ch9 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena9(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 9) } #[doc = "Bit 10 - Represents ch10 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena10(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 10) } #[doc = "Bit 11 - Represents ch11 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena11(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 11) } #[doc = "Bit 12 - Represents ch12 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena12(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 12) } #[doc = "Bit 13 - Represents ch13 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena13(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 13) } #[doc = "Bit 14 - Represents ch14 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena14(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 14) } #[doc = "Bit 15 - Represents ch15 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena15(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 15) } #[doc = "Bit 16 - Represents ch16 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena16(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 16) } #[doc = "Bit 17 - Represents ch17 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena17(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 17) } #[doc = "Bit 18 - Represents ch18 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena18(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 18) } #[doc = "Bit 19 - Represents ch19 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena19(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 19) } #[doc = "Bit 20 - Represents ch20 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena20(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 20) } #[doc = "Bit 21 - Represents ch21 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena21(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 21) } #[doc = "Bit 22 - Represents ch22 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena22(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 22) } #[doc = "Bit 23 - Represents ch23 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena23(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 23) } #[doc = "Bit 24 - Represents ch24 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena24(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 24) } #[doc = "Bit 25 - Represents ch25 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena25(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 25) } #[doc = "Bit 26 - Represents ch26 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena26(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 26) } #[doc = "Bit 27 - Represents ch27 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena27(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 27) } #[doc = "Bit 28 - Represents ch28 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena28(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 28) } #[doc = "Bit 29 - Represents ch29 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena29(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 29) } #[doc = "Bit 30 - Represents ch30 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena30(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 30) } #[doc = "Bit 31 - Represents ch31 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena31(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 31) } diff --git a/esp32p4/src/soc_etm/ch_ena_ad0_clr.rs b/esp32p4/src/soc_etm/ch_ena_ad0_clr.rs index 36129714aa..d4d228bd3d 100644 --- a/esp32p4/src/soc_etm/ch_ena_ad0_clr.rs +++ b/esp32p4/src/soc_etm/ch_ena_ad0_clr.rs @@ -13,7 +13,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH_CLR0` field.
"] #[inline(always)] - #[must_use] pub fn ch_clr(&mut self, n: u8) -> CH_CLR_W { #[allow(clippy::no_effect)] [(); 32][n as usize]; @@ -21,193 +20,161 @@ impl W { } #[doc = "Bit 0 - Configures whether or not to clear ch0 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr0(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 0) } #[doc = "Bit 1 - Configures whether or not to clear ch1 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr1(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 1) } #[doc = "Bit 2 - Configures whether or not to clear ch2 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr2(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 2) } #[doc = "Bit 3 - Configures whether or not to clear ch3 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr3(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 3) } #[doc = "Bit 4 - Configures whether or not to clear ch4 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr4(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 4) } #[doc = "Bit 5 - Configures whether or not to clear ch5 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr5(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 5) } #[doc = "Bit 6 - Configures whether or not to clear ch6 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr6(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 6) } #[doc = "Bit 7 - Configures whether or not to clear ch7 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr7(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 7) } #[doc = "Bit 8 - Configures whether or not to clear ch8 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr8(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 8) } #[doc = "Bit 9 - Configures whether or not to clear ch9 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr9(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 9) } #[doc = "Bit 10 - Configures whether or not to clear ch10 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr10(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 10) } #[doc = "Bit 11 - Configures whether or not to clear ch11 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr11(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 11) } #[doc = "Bit 12 - Configures whether or not to clear ch12 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr12(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 12) } #[doc = "Bit 13 - Configures whether or not to clear ch13 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr13(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 13) } #[doc = "Bit 14 - Configures whether or not to clear ch14 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr14(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 14) } #[doc = "Bit 15 - Configures whether or not to clear ch15 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr15(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 15) } #[doc = "Bit 16 - Configures whether or not to clear ch16 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr16(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 16) } #[doc = "Bit 17 - Configures whether or not to clear ch17 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr17(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 17) } #[doc = "Bit 18 - Configures whether or not to clear ch18 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr18(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 18) } #[doc = "Bit 19 - Configures whether or not to clear ch19 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr19(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 19) } #[doc = "Bit 20 - Configures whether or not to clear ch20 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr20(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 20) } #[doc = "Bit 21 - Configures whether or not to clear ch21 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr21(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 21) } #[doc = "Bit 22 - Configures whether or not to clear ch22 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr22(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 22) } #[doc = "Bit 23 - Configures whether or not to clear ch23 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr23(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 23) } #[doc = "Bit 24 - Configures whether or not to clear ch24 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr24(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 24) } #[doc = "Bit 25 - Configures whether or not to clear ch25 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr25(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 25) } #[doc = "Bit 26 - Configures whether or not to clear ch26 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr26(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 26) } #[doc = "Bit 27 - Configures whether or not to clear ch27 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr27(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 27) } #[doc = "Bit 28 - Configures whether or not to clear ch28 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr28(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 28) } #[doc = "Bit 29 - Configures whether or not to clear ch29 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr29(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 29) } #[doc = "Bit 30 - Configures whether or not to clear ch30 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr30(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 30) } #[doc = "Bit 31 - Configures whether or not to clear ch31 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr31(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 31) } diff --git a/esp32p4/src/soc_etm/ch_ena_ad0_set.rs b/esp32p4/src/soc_etm/ch_ena_ad0_set.rs index e1df80a2df..d5f515bae7 100644 --- a/esp32p4/src/soc_etm/ch_ena_ad0_set.rs +++ b/esp32p4/src/soc_etm/ch_ena_ad0_set.rs @@ -13,7 +13,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH_SET0` field.
"] #[inline(always)] - #[must_use] pub fn ch_set(&mut self, n: u8) -> CH_SET_W { #[allow(clippy::no_effect)] [(); 32][n as usize]; @@ -21,193 +20,161 @@ impl W { } #[doc = "Bit 0 - Configures whether or not to enable ch0.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set0(&mut self) -> CH_SET_W { CH_SET_W::new(self, 0) } #[doc = "Bit 1 - Configures whether or not to enable ch1.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set1(&mut self) -> CH_SET_W { CH_SET_W::new(self, 1) } #[doc = "Bit 2 - Configures whether or not to enable ch2.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set2(&mut self) -> CH_SET_W { CH_SET_W::new(self, 2) } #[doc = "Bit 3 - Configures whether or not to enable ch3.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set3(&mut self) -> CH_SET_W { CH_SET_W::new(self, 3) } #[doc = "Bit 4 - Configures whether or not to enable ch4.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set4(&mut self) -> CH_SET_W { CH_SET_W::new(self, 4) } #[doc = "Bit 5 - Configures whether or not to enable ch5.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set5(&mut self) -> CH_SET_W { CH_SET_W::new(self, 5) } #[doc = "Bit 6 - Configures whether or not to enable ch6.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set6(&mut self) -> CH_SET_W { CH_SET_W::new(self, 6) } #[doc = "Bit 7 - Configures whether or not to enable ch7.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set7(&mut self) -> CH_SET_W { CH_SET_W::new(self, 7) } #[doc = "Bit 8 - Configures whether or not to enable ch8.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set8(&mut self) -> CH_SET_W { CH_SET_W::new(self, 8) } #[doc = "Bit 9 - Configures whether or not to enable ch9.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set9(&mut self) -> CH_SET_W { CH_SET_W::new(self, 9) } #[doc = "Bit 10 - Configures whether or not to enable ch10.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set10(&mut self) -> CH_SET_W { CH_SET_W::new(self, 10) } #[doc = "Bit 11 - Configures whether or not to enable ch11.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set11(&mut self) -> CH_SET_W { CH_SET_W::new(self, 11) } #[doc = "Bit 12 - Configures whether or not to enable ch12.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set12(&mut self) -> CH_SET_W { CH_SET_W::new(self, 12) } #[doc = "Bit 13 - Configures whether or not to enable ch13.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set13(&mut self) -> CH_SET_W { CH_SET_W::new(self, 13) } #[doc = "Bit 14 - Configures whether or not to enable ch14.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set14(&mut self) -> CH_SET_W { CH_SET_W::new(self, 14) } #[doc = "Bit 15 - Configures whether or not to enable ch15.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set15(&mut self) -> CH_SET_W { CH_SET_W::new(self, 15) } #[doc = "Bit 16 - Configures whether or not to enable ch16.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set16(&mut self) -> CH_SET_W { CH_SET_W::new(self, 16) } #[doc = "Bit 17 - Configures whether or not to enable ch17.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set17(&mut self) -> CH_SET_W { CH_SET_W::new(self, 17) } #[doc = "Bit 18 - Configures whether or not to enable ch18.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set18(&mut self) -> CH_SET_W { CH_SET_W::new(self, 18) } #[doc = "Bit 19 - Configures whether or not to enable ch19.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set19(&mut self) -> CH_SET_W { CH_SET_W::new(self, 19) } #[doc = "Bit 20 - Configures whether or not to enable ch20.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set20(&mut self) -> CH_SET_W { CH_SET_W::new(self, 20) } #[doc = "Bit 21 - Configures whether or not to enable ch21.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set21(&mut self) -> CH_SET_W { CH_SET_W::new(self, 21) } #[doc = "Bit 22 - Configures whether or not to enable ch22.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set22(&mut self) -> CH_SET_W { CH_SET_W::new(self, 22) } #[doc = "Bit 23 - Configures whether or not to enable ch23.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set23(&mut self) -> CH_SET_W { CH_SET_W::new(self, 23) } #[doc = "Bit 24 - Configures whether or not to enable ch24.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set24(&mut self) -> CH_SET_W { CH_SET_W::new(self, 24) } #[doc = "Bit 25 - Configures whether or not to enable ch25.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set25(&mut self) -> CH_SET_W { CH_SET_W::new(self, 25) } #[doc = "Bit 26 - Configures whether or not to enable ch26.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set26(&mut self) -> CH_SET_W { CH_SET_W::new(self, 26) } #[doc = "Bit 27 - Configures whether or not to enable ch27.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set27(&mut self) -> CH_SET_W { CH_SET_W::new(self, 27) } #[doc = "Bit 28 - Configures whether or not to enable ch28.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set28(&mut self) -> CH_SET_W { CH_SET_W::new(self, 28) } #[doc = "Bit 29 - Configures whether or not to enable ch29.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set29(&mut self) -> CH_SET_W { CH_SET_W::new(self, 29) } #[doc = "Bit 30 - Configures whether or not to enable ch30.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set30(&mut self) -> CH_SET_W { CH_SET_W::new(self, 30) } #[doc = "Bit 31 - Configures whether or not to enable ch31.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set31(&mut self) -> CH_SET_W { CH_SET_W::new(self, 31) } diff --git a/esp32p4/src/soc_etm/ch_ena_ad1.rs b/esp32p4/src/soc_etm/ch_ena_ad1.rs index c5cb8319d7..452300d07a 100644 --- a/esp32p4/src/soc_etm/ch_ena_ad1.rs +++ b/esp32p4/src/soc_etm/ch_ena_ad1.rs @@ -143,7 +143,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH_ENA32` field.
"] #[inline(always)] - #[must_use] pub fn ch_ena(&mut self, n: u8) -> CH_ENA_W { #[allow(clippy::no_effect)] [(); 18][n as usize]; @@ -151,109 +150,91 @@ impl W { } #[doc = "Bit 0 - Represents ch32 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena32(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 0) } #[doc = "Bit 1 - Represents ch33 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena33(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 1) } #[doc = "Bit 2 - Represents ch34 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena34(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 2) } #[doc = "Bit 3 - Represents ch35 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena35(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 3) } #[doc = "Bit 4 - Represents ch36 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena36(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 4) } #[doc = "Bit 5 - Represents ch37 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena37(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 5) } #[doc = "Bit 6 - Represents ch38 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena38(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 6) } #[doc = "Bit 7 - Represents ch39 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena39(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 7) } #[doc = "Bit 8 - Represents ch40 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena40(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 8) } #[doc = "Bit 9 - Represents ch41 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena41(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 9) } #[doc = "Bit 10 - Represents ch42 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena42(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 10) } #[doc = "Bit 11 - Represents ch43 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena43(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 11) } #[doc = "Bit 12 - Represents ch44 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena44(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 12) } #[doc = "Bit 13 - Represents ch45 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena45(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 13) } #[doc = "Bit 14 - Represents ch46 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena46(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 14) } #[doc = "Bit 15 - Represents ch47 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena47(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 15) } #[doc = "Bit 16 - Represents ch48 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena48(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 16) } #[doc = "Bit 17 - Represents ch49 enable status.\\\\0: Disable\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_ena49(&mut self) -> CH_ENA_W { CH_ENA_W::new(self, 17) } diff --git a/esp32p4/src/soc_etm/ch_ena_ad1_clr.rs b/esp32p4/src/soc_etm/ch_ena_ad1_clr.rs index ceeed9fce8..55ac561523 100644 --- a/esp32p4/src/soc_etm/ch_ena_ad1_clr.rs +++ b/esp32p4/src/soc_etm/ch_ena_ad1_clr.rs @@ -13,7 +13,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH_CLR32` field.
"] #[inline(always)] - #[must_use] pub fn ch_clr(&mut self, n: u8) -> CH_CLR_W { #[allow(clippy::no_effect)] [(); 18][n as usize]; @@ -21,109 +20,91 @@ impl W { } #[doc = "Bit 0 - Configures whether or not to clear ch32 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr32(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 0) } #[doc = "Bit 1 - Configures whether or not to clear ch33 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr33(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 1) } #[doc = "Bit 2 - Configures whether or not to clear ch34 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr34(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 2) } #[doc = "Bit 3 - Configures whether or not to clear ch35 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr35(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 3) } #[doc = "Bit 4 - Configures whether or not to clear ch36 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr36(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 4) } #[doc = "Bit 5 - Configures whether or not to clear ch37 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr37(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 5) } #[doc = "Bit 6 - Configures whether or not to clear ch38 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr38(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 6) } #[doc = "Bit 7 - Configures whether or not to clear ch39 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr39(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 7) } #[doc = "Bit 8 - Configures whether or not to clear ch40 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr40(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 8) } #[doc = "Bit 9 - Configures whether or not to clear ch41 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr41(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 9) } #[doc = "Bit 10 - Configures whether or not to clear ch42 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr42(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 10) } #[doc = "Bit 11 - Configures whether or not to clear ch43 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr43(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 11) } #[doc = "Bit 12 - Configures whether or not to clear ch44 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr44(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 12) } #[doc = "Bit 13 - Configures whether or not to clear ch45 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr45(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 13) } #[doc = "Bit 14 - Configures whether or not to clear ch46 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr46(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 14) } #[doc = "Bit 15 - Configures whether or not to clear ch47 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr47(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 15) } #[doc = "Bit 16 - Configures whether or not to clear ch48 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr48(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 16) } #[doc = "Bit 17 - Configures whether or not to clear ch49 enable.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ch_clr49(&mut self) -> CH_CLR_W { CH_CLR_W::new(self, 17) } diff --git a/esp32p4/src/soc_etm/ch_ena_ad1_set.rs b/esp32p4/src/soc_etm/ch_ena_ad1_set.rs index b98c341055..9a83884b06 100644 --- a/esp32p4/src/soc_etm/ch_ena_ad1_set.rs +++ b/esp32p4/src/soc_etm/ch_ena_ad1_set.rs @@ -13,7 +13,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH_SET32` field.
"] #[inline(always)] - #[must_use] pub fn ch_set(&mut self, n: u8) -> CH_SET_W { #[allow(clippy::no_effect)] [(); 18][n as usize]; @@ -21,109 +20,91 @@ impl W { } #[doc = "Bit 0 - Configures whether or not to enable ch32.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set32(&mut self) -> CH_SET_W { CH_SET_W::new(self, 0) } #[doc = "Bit 1 - Configures whether or not to enable ch33.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set33(&mut self) -> CH_SET_W { CH_SET_W::new(self, 1) } #[doc = "Bit 2 - Configures whether or not to enable ch34.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set34(&mut self) -> CH_SET_W { CH_SET_W::new(self, 2) } #[doc = "Bit 3 - Configures whether or not to enable ch35.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set35(&mut self) -> CH_SET_W { CH_SET_W::new(self, 3) } #[doc = "Bit 4 - Configures whether or not to enable ch36.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set36(&mut self) -> CH_SET_W { CH_SET_W::new(self, 4) } #[doc = "Bit 5 - Configures whether or not to enable ch37.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set37(&mut self) -> CH_SET_W { CH_SET_W::new(self, 5) } #[doc = "Bit 6 - Configures whether or not to enable ch38.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set38(&mut self) -> CH_SET_W { CH_SET_W::new(self, 6) } #[doc = "Bit 7 - Configures whether or not to enable ch39.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set39(&mut self) -> CH_SET_W { CH_SET_W::new(self, 7) } #[doc = "Bit 8 - Configures whether or not to enable ch40.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set40(&mut self) -> CH_SET_W { CH_SET_W::new(self, 8) } #[doc = "Bit 9 - Configures whether or not to enable ch41.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set41(&mut self) -> CH_SET_W { CH_SET_W::new(self, 9) } #[doc = "Bit 10 - Configures whether or not to enable ch42.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set42(&mut self) -> CH_SET_W { CH_SET_W::new(self, 10) } #[doc = "Bit 11 - Configures whether or not to enable ch43.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set43(&mut self) -> CH_SET_W { CH_SET_W::new(self, 11) } #[doc = "Bit 12 - Configures whether or not to enable ch44.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set44(&mut self) -> CH_SET_W { CH_SET_W::new(self, 12) } #[doc = "Bit 13 - Configures whether or not to enable ch45.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set45(&mut self) -> CH_SET_W { CH_SET_W::new(self, 13) } #[doc = "Bit 14 - Configures whether or not to enable ch46.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set46(&mut self) -> CH_SET_W { CH_SET_W::new(self, 14) } #[doc = "Bit 15 - Configures whether or not to enable ch47.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set47(&mut self) -> CH_SET_W { CH_SET_W::new(self, 15) } #[doc = "Bit 16 - Configures whether or not to enable ch48.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set48(&mut self) -> CH_SET_W { CH_SET_W::new(self, 16) } #[doc = "Bit 17 - Configures whether or not to enable ch49.\\\\0: Invalid, No effect\\\\1: Enable"] #[inline(always)] - #[must_use] pub fn ch_set49(&mut self) -> CH_SET_W { CH_SET_W::new(self, 17) } diff --git a/esp32p4/src/soc_etm/clk_en.rs b/esp32p4/src/soc_etm/clk_en.rs index c3bdc069b6..fbc31eb162 100644 --- a/esp32p4/src/soc_etm/clk_en.rs +++ b/esp32p4/src/soc_etm/clk_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configures whether or not to open register clock gate.\\\\0: Open the clock gate only when application writes registers\\\\1: Force open the clock gate for register"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32p4/src/soc_etm/date.rs b/esp32p4/src/soc_etm/date.rs index b1058728fd..c9e0eb8a40 100644 --- a/esp32p4/src/soc_etm/date.rs +++ b/esp32p4/src/soc_etm/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Configures the version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32p4/src/soc_etm/evt_st0.rs b/esp32p4/src/soc_etm/evt_st0.rs index c8726be484..372076dbfa 100644 --- a/esp32p4/src/soc_etm/evt_st0.rs +++ b/esp32p4/src/soc_etm/evt_st0.rs @@ -406,175 +406,146 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Represents GPIO_evt_ch0_rise_edge trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch0_rise_edge_st(&mut self) -> GPIO_EVT_CH0_RISE_EDGE_ST_W { GPIO_EVT_CH0_RISE_EDGE_ST_W::new(self, 0) } #[doc = "Bit 1 - Represents GPIO_evt_ch1_rise_edge trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch1_rise_edge_st(&mut self) -> GPIO_EVT_CH1_RISE_EDGE_ST_W { GPIO_EVT_CH1_RISE_EDGE_ST_W::new(self, 1) } #[doc = "Bit 2 - Represents GPIO_evt_ch2_rise_edge trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch2_rise_edge_st(&mut self) -> GPIO_EVT_CH2_RISE_EDGE_ST_W { GPIO_EVT_CH2_RISE_EDGE_ST_W::new(self, 2) } #[doc = "Bit 3 - Represents GPIO_evt_ch3_rise_edge trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch3_rise_edge_st(&mut self) -> GPIO_EVT_CH3_RISE_EDGE_ST_W { GPIO_EVT_CH3_RISE_EDGE_ST_W::new(self, 3) } #[doc = "Bit 4 - Represents GPIO_evt_ch4_rise_edge trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch4_rise_edge_st(&mut self) -> GPIO_EVT_CH4_RISE_EDGE_ST_W { GPIO_EVT_CH4_RISE_EDGE_ST_W::new(self, 4) } #[doc = "Bit 5 - Represents GPIO_evt_ch5_rise_edge trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch5_rise_edge_st(&mut self) -> GPIO_EVT_CH5_RISE_EDGE_ST_W { GPIO_EVT_CH5_RISE_EDGE_ST_W::new(self, 5) } #[doc = "Bit 6 - Represents GPIO_evt_ch6_rise_edge trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch6_rise_edge_st(&mut self) -> GPIO_EVT_CH6_RISE_EDGE_ST_W { GPIO_EVT_CH6_RISE_EDGE_ST_W::new(self, 6) } #[doc = "Bit 7 - Represents GPIO_evt_ch7_rise_edge trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch7_rise_edge_st(&mut self) -> GPIO_EVT_CH7_RISE_EDGE_ST_W { GPIO_EVT_CH7_RISE_EDGE_ST_W::new(self, 7) } #[doc = "Bit 8 - Represents GPIO_evt_ch0_fall_edge trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch0_fall_edge_st(&mut self) -> GPIO_EVT_CH0_FALL_EDGE_ST_W { GPIO_EVT_CH0_FALL_EDGE_ST_W::new(self, 8) } #[doc = "Bit 9 - Represents GPIO_evt_ch1_fall_edge trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch1_fall_edge_st(&mut self) -> GPIO_EVT_CH1_FALL_EDGE_ST_W { GPIO_EVT_CH1_FALL_EDGE_ST_W::new(self, 9) } #[doc = "Bit 10 - Represents GPIO_evt_ch2_fall_edge trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch2_fall_edge_st(&mut self) -> GPIO_EVT_CH2_FALL_EDGE_ST_W { GPIO_EVT_CH2_FALL_EDGE_ST_W::new(self, 10) } #[doc = "Bit 11 - Represents GPIO_evt_ch3_fall_edge trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch3_fall_edge_st(&mut self) -> GPIO_EVT_CH3_FALL_EDGE_ST_W { GPIO_EVT_CH3_FALL_EDGE_ST_W::new(self, 11) } #[doc = "Bit 12 - Represents GPIO_evt_ch4_fall_edge trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch4_fall_edge_st(&mut self) -> GPIO_EVT_CH4_FALL_EDGE_ST_W { GPIO_EVT_CH4_FALL_EDGE_ST_W::new(self, 12) } #[doc = "Bit 13 - Represents GPIO_evt_ch5_fall_edge trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch5_fall_edge_st(&mut self) -> GPIO_EVT_CH5_FALL_EDGE_ST_W { GPIO_EVT_CH5_FALL_EDGE_ST_W::new(self, 13) } #[doc = "Bit 14 - Represents GPIO_evt_ch6_fall_edge trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch6_fall_edge_st(&mut self) -> GPIO_EVT_CH6_FALL_EDGE_ST_W { GPIO_EVT_CH6_FALL_EDGE_ST_W::new(self, 14) } #[doc = "Bit 15 - Represents GPIO_evt_ch7_fall_edge trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch7_fall_edge_st(&mut self) -> GPIO_EVT_CH7_FALL_EDGE_ST_W { GPIO_EVT_CH7_FALL_EDGE_ST_W::new(self, 15) } #[doc = "Bit 16 - Represents GPIO_evt_ch0_any_edge trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch0_any_edge_st(&mut self) -> GPIO_EVT_CH0_ANY_EDGE_ST_W { GPIO_EVT_CH0_ANY_EDGE_ST_W::new(self, 16) } #[doc = "Bit 17 - Represents GPIO_evt_ch1_any_edge trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch1_any_edge_st(&mut self) -> GPIO_EVT_CH1_ANY_EDGE_ST_W { GPIO_EVT_CH1_ANY_EDGE_ST_W::new(self, 17) } #[doc = "Bit 18 - Represents GPIO_evt_ch2_any_edge trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch2_any_edge_st(&mut self) -> GPIO_EVT_CH2_ANY_EDGE_ST_W { GPIO_EVT_CH2_ANY_EDGE_ST_W::new(self, 18) } #[doc = "Bit 19 - Represents GPIO_evt_ch3_any_edge trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch3_any_edge_st(&mut self) -> GPIO_EVT_CH3_ANY_EDGE_ST_W { GPIO_EVT_CH3_ANY_EDGE_ST_W::new(self, 19) } #[doc = "Bit 20 - Represents GPIO_evt_ch4_any_edge trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch4_any_edge_st(&mut self) -> GPIO_EVT_CH4_ANY_EDGE_ST_W { GPIO_EVT_CH4_ANY_EDGE_ST_W::new(self, 20) } #[doc = "Bit 21 - Represents GPIO_evt_ch5_any_edge trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch5_any_edge_st(&mut self) -> GPIO_EVT_CH5_ANY_EDGE_ST_W { GPIO_EVT_CH5_ANY_EDGE_ST_W::new(self, 21) } #[doc = "Bit 22 - Represents GPIO_evt_ch6_any_edge trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch6_any_edge_st(&mut self) -> GPIO_EVT_CH6_ANY_EDGE_ST_W { GPIO_EVT_CH6_ANY_EDGE_ST_W::new(self, 22) } #[doc = "Bit 23 - Represents GPIO_evt_ch7_any_edge trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch7_any_edge_st(&mut self) -> GPIO_EVT_CH7_ANY_EDGE_ST_W { GPIO_EVT_CH7_ANY_EDGE_ST_W::new(self, 23) } #[doc = "Bit 24 - Represents GPIO_evt_zero_det_pos0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_evt_zero_det_pos0_st(&mut self) -> GPIO_EVT_ZERO_DET_POS0_ST_W { GPIO_EVT_ZERO_DET_POS0_ST_W::new(self, 24) } #[doc = "Bit 25 - Represents GPIO_evt_zero_det_neg0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_evt_zero_det_neg0_st(&mut self) -> GPIO_EVT_ZERO_DET_NEG0_ST_W { GPIO_EVT_ZERO_DET_NEG0_ST_W::new(self, 25) } #[doc = "Bit 26 - Represents GPIO_evt_zero_det_pos1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_evt_zero_det_pos1_st(&mut self) -> GPIO_EVT_ZERO_DET_POS1_ST_W { GPIO_EVT_ZERO_DET_POS1_ST_W::new(self, 26) } #[doc = "Bit 27 - Represents GPIO_evt_zero_det_neg1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_evt_zero_det_neg1_st(&mut self) -> GPIO_EVT_ZERO_DET_NEG1_ST_W { GPIO_EVT_ZERO_DET_NEG1_ST_W::new(self, 27) } #[doc = "Bit 28 - Represents LEDC_evt_duty_chng_end_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_evt_duty_chng_end_ch0_st( &mut self, ) -> LEDC_EVT_DUTY_CHNG_END_CH0_ST_W { @@ -582,7 +553,6 @@ impl W { } #[doc = "Bit 29 - Represents LEDC_evt_duty_chng_end_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_evt_duty_chng_end_ch1_st( &mut self, ) -> LEDC_EVT_DUTY_CHNG_END_CH1_ST_W { @@ -590,7 +560,6 @@ impl W { } #[doc = "Bit 30 - Represents LEDC_evt_duty_chng_end_ch2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_evt_duty_chng_end_ch2_st( &mut self, ) -> LEDC_EVT_DUTY_CHNG_END_CH2_ST_W { @@ -598,7 +567,6 @@ impl W { } #[doc = "Bit 31 - Represents LEDC_evt_duty_chng_end_ch3 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_evt_duty_chng_end_ch3_st( &mut self, ) -> LEDC_EVT_DUTY_CHNG_END_CH3_ST_W { diff --git a/esp32p4/src/soc_etm/evt_st0_clr.rs b/esp32p4/src/soc_etm/evt_st0_clr.rs index c51ef63772..8b33796a46 100644 --- a/esp32p4/src/soc_etm/evt_st0_clr.rs +++ b/esp32p4/src/soc_etm/evt_st0_clr.rs @@ -73,7 +73,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Configures whether or not to clear GPIO_evt_ch0_rise_edge trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch0_rise_edge_st_clr( &mut self, ) -> GPIO_EVT_CH0_RISE_EDGE_ST_CLR_W { @@ -81,7 +80,6 @@ impl W { } #[doc = "Bit 1 - Configures whether or not to clear GPIO_evt_ch1_rise_edge trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch1_rise_edge_st_clr( &mut self, ) -> GPIO_EVT_CH1_RISE_EDGE_ST_CLR_W { @@ -89,7 +87,6 @@ impl W { } #[doc = "Bit 2 - Configures whether or not to clear GPIO_evt_ch2_rise_edge trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch2_rise_edge_st_clr( &mut self, ) -> GPIO_EVT_CH2_RISE_EDGE_ST_CLR_W { @@ -97,7 +94,6 @@ impl W { } #[doc = "Bit 3 - Configures whether or not to clear GPIO_evt_ch3_rise_edge trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch3_rise_edge_st_clr( &mut self, ) -> GPIO_EVT_CH3_RISE_EDGE_ST_CLR_W { @@ -105,7 +101,6 @@ impl W { } #[doc = "Bit 4 - Configures whether or not to clear GPIO_evt_ch4_rise_edge trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch4_rise_edge_st_clr( &mut self, ) -> GPIO_EVT_CH4_RISE_EDGE_ST_CLR_W { @@ -113,7 +108,6 @@ impl W { } #[doc = "Bit 5 - Configures whether or not to clear GPIO_evt_ch5_rise_edge trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch5_rise_edge_st_clr( &mut self, ) -> GPIO_EVT_CH5_RISE_EDGE_ST_CLR_W { @@ -121,7 +115,6 @@ impl W { } #[doc = "Bit 6 - Configures whether or not to clear GPIO_evt_ch6_rise_edge trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch6_rise_edge_st_clr( &mut self, ) -> GPIO_EVT_CH6_RISE_EDGE_ST_CLR_W { @@ -129,7 +122,6 @@ impl W { } #[doc = "Bit 7 - Configures whether or not to clear GPIO_evt_ch7_rise_edge trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch7_rise_edge_st_clr( &mut self, ) -> GPIO_EVT_CH7_RISE_EDGE_ST_CLR_W { @@ -137,7 +129,6 @@ impl W { } #[doc = "Bit 8 - Configures whether or not to clear GPIO_evt_ch0_fall_edge trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch0_fall_edge_st_clr( &mut self, ) -> GPIO_EVT_CH0_FALL_EDGE_ST_CLR_W { @@ -145,7 +136,6 @@ impl W { } #[doc = "Bit 9 - Configures whether or not to clear GPIO_evt_ch1_fall_edge trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch1_fall_edge_st_clr( &mut self, ) -> GPIO_EVT_CH1_FALL_EDGE_ST_CLR_W { @@ -153,7 +143,6 @@ impl W { } #[doc = "Bit 10 - Configures whether or not to clear GPIO_evt_ch2_fall_edge trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch2_fall_edge_st_clr( &mut self, ) -> GPIO_EVT_CH2_FALL_EDGE_ST_CLR_W { @@ -161,7 +150,6 @@ impl W { } #[doc = "Bit 11 - Configures whether or not to clear GPIO_evt_ch3_fall_edge trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch3_fall_edge_st_clr( &mut self, ) -> GPIO_EVT_CH3_FALL_EDGE_ST_CLR_W { @@ -169,7 +157,6 @@ impl W { } #[doc = "Bit 12 - Configures whether or not to clear GPIO_evt_ch4_fall_edge trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch4_fall_edge_st_clr( &mut self, ) -> GPIO_EVT_CH4_FALL_EDGE_ST_CLR_W { @@ -177,7 +164,6 @@ impl W { } #[doc = "Bit 13 - Configures whether or not to clear GPIO_evt_ch5_fall_edge trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch5_fall_edge_st_clr( &mut self, ) -> GPIO_EVT_CH5_FALL_EDGE_ST_CLR_W { @@ -185,7 +171,6 @@ impl W { } #[doc = "Bit 14 - Configures whether or not to clear GPIO_evt_ch6_fall_edge trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch6_fall_edge_st_clr( &mut self, ) -> GPIO_EVT_CH6_FALL_EDGE_ST_CLR_W { @@ -193,7 +178,6 @@ impl W { } #[doc = "Bit 15 - Configures whether or not to clear GPIO_evt_ch7_fall_edge trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch7_fall_edge_st_clr( &mut self, ) -> GPIO_EVT_CH7_FALL_EDGE_ST_CLR_W { @@ -201,7 +185,6 @@ impl W { } #[doc = "Bit 16 - Configures whether or not to clear GPIO_evt_ch0_any_edge trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch0_any_edge_st_clr( &mut self, ) -> GPIO_EVT_CH0_ANY_EDGE_ST_CLR_W { @@ -209,7 +192,6 @@ impl W { } #[doc = "Bit 17 - Configures whether or not to clear GPIO_evt_ch1_any_edge trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch1_any_edge_st_clr( &mut self, ) -> GPIO_EVT_CH1_ANY_EDGE_ST_CLR_W { @@ -217,7 +199,6 @@ impl W { } #[doc = "Bit 18 - Configures whether or not to clear GPIO_evt_ch2_any_edge trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch2_any_edge_st_clr( &mut self, ) -> GPIO_EVT_CH2_ANY_EDGE_ST_CLR_W { @@ -225,7 +206,6 @@ impl W { } #[doc = "Bit 19 - Configures whether or not to clear GPIO_evt_ch3_any_edge trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch3_any_edge_st_clr( &mut self, ) -> GPIO_EVT_CH3_ANY_EDGE_ST_CLR_W { @@ -233,7 +213,6 @@ impl W { } #[doc = "Bit 20 - Configures whether or not to clear GPIO_evt_ch4_any_edge trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch4_any_edge_st_clr( &mut self, ) -> GPIO_EVT_CH4_ANY_EDGE_ST_CLR_W { @@ -241,7 +220,6 @@ impl W { } #[doc = "Bit 21 - Configures whether or not to clear GPIO_evt_ch5_any_edge trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch5_any_edge_st_clr( &mut self, ) -> GPIO_EVT_CH5_ANY_EDGE_ST_CLR_W { @@ -249,7 +227,6 @@ impl W { } #[doc = "Bit 22 - Configures whether or not to clear GPIO_evt_ch6_any_edge trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch6_any_edge_st_clr( &mut self, ) -> GPIO_EVT_CH6_ANY_EDGE_ST_CLR_W { @@ -257,7 +234,6 @@ impl W { } #[doc = "Bit 23 - Configures whether or not to clear GPIO_evt_ch7_any_edge trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_evt_ch7_any_edge_st_clr( &mut self, ) -> GPIO_EVT_CH7_ANY_EDGE_ST_CLR_W { @@ -265,7 +241,6 @@ impl W { } #[doc = "Bit 24 - Configures whether or not to clear GPIO_evt_zero_det_pos0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_evt_zero_det_pos0_st_clr( &mut self, ) -> GPIO_EVT_ZERO_DET_POS0_ST_CLR_W { @@ -273,7 +248,6 @@ impl W { } #[doc = "Bit 25 - Configures whether or not to clear GPIO_evt_zero_det_neg0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_evt_zero_det_neg0_st_clr( &mut self, ) -> GPIO_EVT_ZERO_DET_NEG0_ST_CLR_W { @@ -281,7 +255,6 @@ impl W { } #[doc = "Bit 26 - Configures whether or not to clear GPIO_evt_zero_det_pos1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_evt_zero_det_pos1_st_clr( &mut self, ) -> GPIO_EVT_ZERO_DET_POS1_ST_CLR_W { @@ -289,7 +262,6 @@ impl W { } #[doc = "Bit 27 - Configures whether or not to clear GPIO_evt_zero_det_neg1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_evt_zero_det_neg1_st_clr( &mut self, ) -> GPIO_EVT_ZERO_DET_NEG1_ST_CLR_W { @@ -297,7 +269,6 @@ impl W { } #[doc = "Bit 28 - Configures whether or not to clear LEDC_evt_duty_chng_end_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_evt_duty_chng_end_ch0_st_clr( &mut self, ) -> LEDC_EVT_DUTY_CHNG_END_CH0_ST_CLR_W { @@ -305,7 +276,6 @@ impl W { } #[doc = "Bit 29 - Configures whether or not to clear LEDC_evt_duty_chng_end_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_evt_duty_chng_end_ch1_st_clr( &mut self, ) -> LEDC_EVT_DUTY_CHNG_END_CH1_ST_CLR_W { @@ -313,7 +283,6 @@ impl W { } #[doc = "Bit 30 - Configures whether or not to clear LEDC_evt_duty_chng_end_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_evt_duty_chng_end_ch2_st_clr( &mut self, ) -> LEDC_EVT_DUTY_CHNG_END_CH2_ST_CLR_W { @@ -321,7 +290,6 @@ impl W { } #[doc = "Bit 31 - Configures whether or not to clear LEDC_evt_duty_chng_end_ch3 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_evt_duty_chng_end_ch3_st_clr( &mut self, ) -> LEDC_EVT_DUTY_CHNG_END_CH3_ST_CLR_W { diff --git a/esp32p4/src/soc_etm/evt_st1.rs b/esp32p4/src/soc_etm/evt_st1.rs index 415b87751d..159a491101 100644 --- a/esp32p4/src/soc_etm/evt_st1.rs +++ b/esp32p4/src/soc_etm/evt_st1.rs @@ -403,7 +403,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Represents LEDC_evt_duty_chng_end_ch4 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_evt_duty_chng_end_ch4_st( &mut self, ) -> LEDC_EVT_DUTY_CHNG_END_CH4_ST_W { @@ -411,7 +410,6 @@ impl W { } #[doc = "Bit 1 - Represents LEDC_evt_duty_chng_end_ch5 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_evt_duty_chng_end_ch5_st( &mut self, ) -> LEDC_EVT_DUTY_CHNG_END_CH5_ST_W { @@ -419,7 +417,6 @@ impl W { } #[doc = "Bit 2 - Represents LEDC_evt_duty_chng_end_ch6 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_evt_duty_chng_end_ch6_st( &mut self, ) -> LEDC_EVT_DUTY_CHNG_END_CH6_ST_W { @@ -427,7 +424,6 @@ impl W { } #[doc = "Bit 3 - Represents LEDC_evt_duty_chng_end_ch7 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_evt_duty_chng_end_ch7_st( &mut self, ) -> LEDC_EVT_DUTY_CHNG_END_CH7_ST_W { @@ -435,169 +431,141 @@ impl W { } #[doc = "Bit 4 - Represents LEDC_evt_ovf_cnt_pls_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_evt_ovf_cnt_pls_ch0_st(&mut self) -> LEDC_EVT_OVF_CNT_PLS_CH0_ST_W { LEDC_EVT_OVF_CNT_PLS_CH0_ST_W::new(self, 4) } #[doc = "Bit 5 - Represents LEDC_evt_ovf_cnt_pls_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_evt_ovf_cnt_pls_ch1_st(&mut self) -> LEDC_EVT_OVF_CNT_PLS_CH1_ST_W { LEDC_EVT_OVF_CNT_PLS_CH1_ST_W::new(self, 5) } #[doc = "Bit 6 - Represents LEDC_evt_ovf_cnt_pls_ch2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_evt_ovf_cnt_pls_ch2_st(&mut self) -> LEDC_EVT_OVF_CNT_PLS_CH2_ST_W { LEDC_EVT_OVF_CNT_PLS_CH2_ST_W::new(self, 6) } #[doc = "Bit 7 - Represents LEDC_evt_ovf_cnt_pls_ch3 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_evt_ovf_cnt_pls_ch3_st(&mut self) -> LEDC_EVT_OVF_CNT_PLS_CH3_ST_W { LEDC_EVT_OVF_CNT_PLS_CH3_ST_W::new(self, 7) } #[doc = "Bit 8 - Represents LEDC_evt_ovf_cnt_pls_ch4 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_evt_ovf_cnt_pls_ch4_st(&mut self) -> LEDC_EVT_OVF_CNT_PLS_CH4_ST_W { LEDC_EVT_OVF_CNT_PLS_CH4_ST_W::new(self, 8) } #[doc = "Bit 9 - Represents LEDC_evt_ovf_cnt_pls_ch5 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_evt_ovf_cnt_pls_ch5_st(&mut self) -> LEDC_EVT_OVF_CNT_PLS_CH5_ST_W { LEDC_EVT_OVF_CNT_PLS_CH5_ST_W::new(self, 9) } #[doc = "Bit 10 - Represents LEDC_evt_ovf_cnt_pls_ch6 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_evt_ovf_cnt_pls_ch6_st(&mut self) -> LEDC_EVT_OVF_CNT_PLS_CH6_ST_W { LEDC_EVT_OVF_CNT_PLS_CH6_ST_W::new(self, 10) } #[doc = "Bit 11 - Represents LEDC_evt_ovf_cnt_pls_ch7 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_evt_ovf_cnt_pls_ch7_st(&mut self) -> LEDC_EVT_OVF_CNT_PLS_CH7_ST_W { LEDC_EVT_OVF_CNT_PLS_CH7_ST_W::new(self, 11) } #[doc = "Bit 12 - Represents LEDC_evt_time_ovf_timer0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_evt_time_ovf_timer0_st(&mut self) -> LEDC_EVT_TIME_OVF_TIMER0_ST_W { LEDC_EVT_TIME_OVF_TIMER0_ST_W::new(self, 12) } #[doc = "Bit 13 - Represents LEDC_evt_time_ovf_timer1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_evt_time_ovf_timer1_st(&mut self) -> LEDC_EVT_TIME_OVF_TIMER1_ST_W { LEDC_EVT_TIME_OVF_TIMER1_ST_W::new(self, 13) } #[doc = "Bit 14 - Represents LEDC_evt_time_ovf_timer2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_evt_time_ovf_timer2_st(&mut self) -> LEDC_EVT_TIME_OVF_TIMER2_ST_W { LEDC_EVT_TIME_OVF_TIMER2_ST_W::new(self, 14) } #[doc = "Bit 15 - Represents LEDC_evt_time_ovf_timer3 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_evt_time_ovf_timer3_st(&mut self) -> LEDC_EVT_TIME_OVF_TIMER3_ST_W { LEDC_EVT_TIME_OVF_TIMER3_ST_W::new(self, 15) } #[doc = "Bit 16 - Represents LEDC_evt_timer0_cmp trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_evt_timer0_cmp_st(&mut self) -> LEDC_EVT_TIMER0_CMP_ST_W { LEDC_EVT_TIMER0_CMP_ST_W::new(self, 16) } #[doc = "Bit 17 - Represents LEDC_evt_timer1_cmp trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_evt_timer1_cmp_st(&mut self) -> LEDC_EVT_TIMER1_CMP_ST_W { LEDC_EVT_TIMER1_CMP_ST_W::new(self, 17) } #[doc = "Bit 18 - Represents LEDC_evt_timer2_cmp trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_evt_timer2_cmp_st(&mut self) -> LEDC_EVT_TIMER2_CMP_ST_W { LEDC_EVT_TIMER2_CMP_ST_W::new(self, 18) } #[doc = "Bit 19 - Represents LEDC_evt_timer3_cmp trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_evt_timer3_cmp_st(&mut self) -> LEDC_EVT_TIMER3_CMP_ST_W { LEDC_EVT_TIMER3_CMP_ST_W::new(self, 19) } #[doc = "Bit 20 - Represents TG0_evt_cnt_cmp_timer0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn tg0_evt_cnt_cmp_timer0_st(&mut self) -> TG0_EVT_CNT_CMP_TIMER0_ST_W { TG0_EVT_CNT_CMP_TIMER0_ST_W::new(self, 20) } #[doc = "Bit 21 - Represents TG0_evt_cnt_cmp_timer1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn tg0_evt_cnt_cmp_timer1_st(&mut self) -> TG0_EVT_CNT_CMP_TIMER1_ST_W { TG0_EVT_CNT_CMP_TIMER1_ST_W::new(self, 21) } #[doc = "Bit 22 - Represents TG1_evt_cnt_cmp_timer0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn tg1_evt_cnt_cmp_timer0_st(&mut self) -> TG1_EVT_CNT_CMP_TIMER0_ST_W { TG1_EVT_CNT_CMP_TIMER0_ST_W::new(self, 22) } #[doc = "Bit 23 - Represents TG1_evt_cnt_cmp_timer1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn tg1_evt_cnt_cmp_timer1_st(&mut self) -> TG1_EVT_CNT_CMP_TIMER1_ST_W { TG1_EVT_CNT_CMP_TIMER1_ST_W::new(self, 23) } #[doc = "Bit 24 - Represents SYSTIMER_evt_cnt_cmp0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn systimer_evt_cnt_cmp0_st(&mut self) -> SYSTIMER_EVT_CNT_CMP0_ST_W { SYSTIMER_EVT_CNT_CMP0_ST_W::new(self, 24) } #[doc = "Bit 25 - Represents SYSTIMER_evt_cnt_cmp1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn systimer_evt_cnt_cmp1_st(&mut self) -> SYSTIMER_EVT_CNT_CMP1_ST_W { SYSTIMER_EVT_CNT_CMP1_ST_W::new(self, 25) } #[doc = "Bit 26 - Represents SYSTIMER_evt_cnt_cmp2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn systimer_evt_cnt_cmp2_st(&mut self) -> SYSTIMER_EVT_CNT_CMP2_ST_W { SYSTIMER_EVT_CNT_CMP2_ST_W::new(self, 26) } #[doc = "Bit 27 - Represents MCPWM0_evt_timer0_stop trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_timer0_stop_st(&mut self) -> MCPWM0_EVT_TIMER0_STOP_ST_W { MCPWM0_EVT_TIMER0_STOP_ST_W::new(self, 27) } #[doc = "Bit 28 - Represents MCPWM0_evt_timer1_stop trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_timer1_stop_st(&mut self) -> MCPWM0_EVT_TIMER1_STOP_ST_W { MCPWM0_EVT_TIMER1_STOP_ST_W::new(self, 28) } #[doc = "Bit 29 - Represents MCPWM0_evt_timer2_stop trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_timer2_stop_st(&mut self) -> MCPWM0_EVT_TIMER2_STOP_ST_W { MCPWM0_EVT_TIMER2_STOP_ST_W::new(self, 29) } #[doc = "Bit 30 - Represents MCPWM0_evt_timer0_tez trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_timer0_tez_st(&mut self) -> MCPWM0_EVT_TIMER0_TEZ_ST_W { MCPWM0_EVT_TIMER0_TEZ_ST_W::new(self, 30) } #[doc = "Bit 31 - Represents MCPWM0_evt_timer1_tez trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_timer1_tez_st(&mut self) -> MCPWM0_EVT_TIMER1_TEZ_ST_W { MCPWM0_EVT_TIMER1_TEZ_ST_W::new(self, 31) } diff --git a/esp32p4/src/soc_etm/evt_st1_clr.rs b/esp32p4/src/soc_etm/evt_st1_clr.rs index 1302613dd6..cb9c8eaa62 100644 --- a/esp32p4/src/soc_etm/evt_st1_clr.rs +++ b/esp32p4/src/soc_etm/evt_st1_clr.rs @@ -73,7 +73,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Configures whether or not to clear LEDC_evt_duty_chng_end_ch4 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_evt_duty_chng_end_ch4_st_clr( &mut self, ) -> LEDC_EVT_DUTY_CHNG_END_CH4_ST_CLR_W { @@ -81,7 +80,6 @@ impl W { } #[doc = "Bit 1 - Configures whether or not to clear LEDC_evt_duty_chng_end_ch5 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_evt_duty_chng_end_ch5_st_clr( &mut self, ) -> LEDC_EVT_DUTY_CHNG_END_CH5_ST_CLR_W { @@ -89,7 +87,6 @@ impl W { } #[doc = "Bit 2 - Configures whether or not to clear LEDC_evt_duty_chng_end_ch6 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_evt_duty_chng_end_ch6_st_clr( &mut self, ) -> LEDC_EVT_DUTY_CHNG_END_CH6_ST_CLR_W { @@ -97,7 +94,6 @@ impl W { } #[doc = "Bit 3 - Configures whether or not to clear LEDC_evt_duty_chng_end_ch7 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_evt_duty_chng_end_ch7_st_clr( &mut self, ) -> LEDC_EVT_DUTY_CHNG_END_CH7_ST_CLR_W { @@ -105,7 +101,6 @@ impl W { } #[doc = "Bit 4 - Configures whether or not to clear LEDC_evt_ovf_cnt_pls_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_evt_ovf_cnt_pls_ch0_st_clr( &mut self, ) -> LEDC_EVT_OVF_CNT_PLS_CH0_ST_CLR_W { @@ -113,7 +108,6 @@ impl W { } #[doc = "Bit 5 - Configures whether or not to clear LEDC_evt_ovf_cnt_pls_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_evt_ovf_cnt_pls_ch1_st_clr( &mut self, ) -> LEDC_EVT_OVF_CNT_PLS_CH1_ST_CLR_W { @@ -121,7 +115,6 @@ impl W { } #[doc = "Bit 6 - Configures whether or not to clear LEDC_evt_ovf_cnt_pls_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_evt_ovf_cnt_pls_ch2_st_clr( &mut self, ) -> LEDC_EVT_OVF_CNT_PLS_CH2_ST_CLR_W { @@ -129,7 +122,6 @@ impl W { } #[doc = "Bit 7 - Configures whether or not to clear LEDC_evt_ovf_cnt_pls_ch3 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_evt_ovf_cnt_pls_ch3_st_clr( &mut self, ) -> LEDC_EVT_OVF_CNT_PLS_CH3_ST_CLR_W { @@ -137,7 +129,6 @@ impl W { } #[doc = "Bit 8 - Configures whether or not to clear LEDC_evt_ovf_cnt_pls_ch4 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_evt_ovf_cnt_pls_ch4_st_clr( &mut self, ) -> LEDC_EVT_OVF_CNT_PLS_CH4_ST_CLR_W { @@ -145,7 +136,6 @@ impl W { } #[doc = "Bit 9 - Configures whether or not to clear LEDC_evt_ovf_cnt_pls_ch5 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_evt_ovf_cnt_pls_ch5_st_clr( &mut self, ) -> LEDC_EVT_OVF_CNT_PLS_CH5_ST_CLR_W { @@ -153,7 +143,6 @@ impl W { } #[doc = "Bit 10 - Configures whether or not to clear LEDC_evt_ovf_cnt_pls_ch6 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_evt_ovf_cnt_pls_ch6_st_clr( &mut self, ) -> LEDC_EVT_OVF_CNT_PLS_CH6_ST_CLR_W { @@ -161,7 +150,6 @@ impl W { } #[doc = "Bit 11 - Configures whether or not to clear LEDC_evt_ovf_cnt_pls_ch7 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_evt_ovf_cnt_pls_ch7_st_clr( &mut self, ) -> LEDC_EVT_OVF_CNT_PLS_CH7_ST_CLR_W { @@ -169,7 +157,6 @@ impl W { } #[doc = "Bit 12 - Configures whether or not to clear LEDC_evt_time_ovf_timer0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_evt_time_ovf_timer0_st_clr( &mut self, ) -> LEDC_EVT_TIME_OVF_TIMER0_ST_CLR_W { @@ -177,7 +164,6 @@ impl W { } #[doc = "Bit 13 - Configures whether or not to clear LEDC_evt_time_ovf_timer1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_evt_time_ovf_timer1_st_clr( &mut self, ) -> LEDC_EVT_TIME_OVF_TIMER1_ST_CLR_W { @@ -185,7 +171,6 @@ impl W { } #[doc = "Bit 14 - Configures whether or not to clear LEDC_evt_time_ovf_timer2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_evt_time_ovf_timer2_st_clr( &mut self, ) -> LEDC_EVT_TIME_OVF_TIMER2_ST_CLR_W { @@ -193,7 +178,6 @@ impl W { } #[doc = "Bit 15 - Configures whether or not to clear LEDC_evt_time_ovf_timer3 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_evt_time_ovf_timer3_st_clr( &mut self, ) -> LEDC_EVT_TIME_OVF_TIMER3_ST_CLR_W { @@ -201,31 +185,26 @@ impl W { } #[doc = "Bit 16 - Configures whether or not to clear LEDC_evt_timer0_cmp trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_evt_timer0_cmp_st_clr(&mut self) -> LEDC_EVT_TIMER0_CMP_ST_CLR_W { LEDC_EVT_TIMER0_CMP_ST_CLR_W::new(self, 16) } #[doc = "Bit 17 - Configures whether or not to clear LEDC_evt_timer1_cmp trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_evt_timer1_cmp_st_clr(&mut self) -> LEDC_EVT_TIMER1_CMP_ST_CLR_W { LEDC_EVT_TIMER1_CMP_ST_CLR_W::new(self, 17) } #[doc = "Bit 18 - Configures whether or not to clear LEDC_evt_timer2_cmp trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_evt_timer2_cmp_st_clr(&mut self) -> LEDC_EVT_TIMER2_CMP_ST_CLR_W { LEDC_EVT_TIMER2_CMP_ST_CLR_W::new(self, 18) } #[doc = "Bit 19 - Configures whether or not to clear LEDC_evt_timer3_cmp trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_evt_timer3_cmp_st_clr(&mut self) -> LEDC_EVT_TIMER3_CMP_ST_CLR_W { LEDC_EVT_TIMER3_CMP_ST_CLR_W::new(self, 19) } #[doc = "Bit 20 - Configures whether or not to clear TG0_evt_cnt_cmp_timer0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn tg0_evt_cnt_cmp_timer0_st_clr( &mut self, ) -> TG0_EVT_CNT_CMP_TIMER0_ST_CLR_W { @@ -233,7 +212,6 @@ impl W { } #[doc = "Bit 21 - Configures whether or not to clear TG0_evt_cnt_cmp_timer1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn tg0_evt_cnt_cmp_timer1_st_clr( &mut self, ) -> TG0_EVT_CNT_CMP_TIMER1_ST_CLR_W { @@ -241,7 +219,6 @@ impl W { } #[doc = "Bit 22 - Configures whether or not to clear TG1_evt_cnt_cmp_timer0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn tg1_evt_cnt_cmp_timer0_st_clr( &mut self, ) -> TG1_EVT_CNT_CMP_TIMER0_ST_CLR_W { @@ -249,7 +226,6 @@ impl W { } #[doc = "Bit 23 - Configures whether or not to clear TG1_evt_cnt_cmp_timer1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn tg1_evt_cnt_cmp_timer1_st_clr( &mut self, ) -> TG1_EVT_CNT_CMP_TIMER1_ST_CLR_W { @@ -257,7 +233,6 @@ impl W { } #[doc = "Bit 24 - Configures whether or not to clear SYSTIMER_evt_cnt_cmp0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn systimer_evt_cnt_cmp0_st_clr( &mut self, ) -> SYSTIMER_EVT_CNT_CMP0_ST_CLR_W { @@ -265,7 +240,6 @@ impl W { } #[doc = "Bit 25 - Configures whether or not to clear SYSTIMER_evt_cnt_cmp1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn systimer_evt_cnt_cmp1_st_clr( &mut self, ) -> SYSTIMER_EVT_CNT_CMP1_ST_CLR_W { @@ -273,7 +247,6 @@ impl W { } #[doc = "Bit 26 - Configures whether or not to clear SYSTIMER_evt_cnt_cmp2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn systimer_evt_cnt_cmp2_st_clr( &mut self, ) -> SYSTIMER_EVT_CNT_CMP2_ST_CLR_W { @@ -281,7 +254,6 @@ impl W { } #[doc = "Bit 27 - Configures whether or not to clear MCPWM0_evt_timer0_stop trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_timer0_stop_st_clr( &mut self, ) -> MCPWM0_EVT_TIMER0_STOP_ST_CLR_W { @@ -289,7 +261,6 @@ impl W { } #[doc = "Bit 28 - Configures whether or not to clear MCPWM0_evt_timer1_stop trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_timer1_stop_st_clr( &mut self, ) -> MCPWM0_EVT_TIMER1_STOP_ST_CLR_W { @@ -297,7 +268,6 @@ impl W { } #[doc = "Bit 29 - Configures whether or not to clear MCPWM0_evt_timer2_stop trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_timer2_stop_st_clr( &mut self, ) -> MCPWM0_EVT_TIMER2_STOP_ST_CLR_W { @@ -305,7 +275,6 @@ impl W { } #[doc = "Bit 30 - Configures whether or not to clear MCPWM0_evt_timer0_tez trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_timer0_tez_st_clr( &mut self, ) -> MCPWM0_EVT_TIMER0_TEZ_ST_CLR_W { @@ -313,7 +282,6 @@ impl W { } #[doc = "Bit 31 - Configures whether or not to clear MCPWM0_evt_timer1_tez trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_timer1_tez_st_clr( &mut self, ) -> MCPWM0_EVT_TIMER1_TEZ_ST_CLR_W { diff --git a/esp32p4/src/soc_etm/evt_st2.rs b/esp32p4/src/soc_etm/evt_st2.rs index 44ca7e8cc0..7d46d9cfac 100644 --- a/esp32p4/src/soc_etm/evt_st2.rs +++ b/esp32p4/src/soc_etm/evt_st2.rs @@ -337,193 +337,161 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Represents MCPWM0_evt_timer2_tez trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_timer2_tez_st(&mut self) -> MCPWM0_EVT_TIMER2_TEZ_ST_W { MCPWM0_EVT_TIMER2_TEZ_ST_W::new(self, 0) } #[doc = "Bit 1 - Represents MCPWM0_evt_timer0_tep trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_timer0_tep_st(&mut self) -> MCPWM0_EVT_TIMER0_TEP_ST_W { MCPWM0_EVT_TIMER0_TEP_ST_W::new(self, 1) } #[doc = "Bit 2 - Represents MCPWM0_evt_timer1_tep trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_timer1_tep_st(&mut self) -> MCPWM0_EVT_TIMER1_TEP_ST_W { MCPWM0_EVT_TIMER1_TEP_ST_W::new(self, 2) } #[doc = "Bit 3 - Represents MCPWM0_evt_timer2_tep trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_timer2_tep_st(&mut self) -> MCPWM0_EVT_TIMER2_TEP_ST_W { MCPWM0_EVT_TIMER2_TEP_ST_W::new(self, 3) } #[doc = "Bit 4 - Represents MCPWM0_evt_op0_tea trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_op0_tea_st(&mut self) -> MCPWM0_EVT_OP0_TEA_ST_W { MCPWM0_EVT_OP0_TEA_ST_W::new(self, 4) } #[doc = "Bit 5 - Represents MCPWM0_evt_op1_tea trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_op1_tea_st(&mut self) -> MCPWM0_EVT_OP1_TEA_ST_W { MCPWM0_EVT_OP1_TEA_ST_W::new(self, 5) } #[doc = "Bit 6 - Represents MCPWM0_evt_op2_tea trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_op2_tea_st(&mut self) -> MCPWM0_EVT_OP2_TEA_ST_W { MCPWM0_EVT_OP2_TEA_ST_W::new(self, 6) } #[doc = "Bit 7 - Represents MCPWM0_evt_op0_teb trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_op0_teb_st(&mut self) -> MCPWM0_EVT_OP0_TEB_ST_W { MCPWM0_EVT_OP0_TEB_ST_W::new(self, 7) } #[doc = "Bit 8 - Represents MCPWM0_evt_op1_teb trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_op1_teb_st(&mut self) -> MCPWM0_EVT_OP1_TEB_ST_W { MCPWM0_EVT_OP1_TEB_ST_W::new(self, 8) } #[doc = "Bit 9 - Represents MCPWM0_evt_op2_teb trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_op2_teb_st(&mut self) -> MCPWM0_EVT_OP2_TEB_ST_W { MCPWM0_EVT_OP2_TEB_ST_W::new(self, 9) } #[doc = "Bit 10 - Represents MCPWM0_evt_f0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_f0_st(&mut self) -> MCPWM0_EVT_F0_ST_W { MCPWM0_EVT_F0_ST_W::new(self, 10) } #[doc = "Bit 11 - Represents MCPWM0_evt_f1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_f1_st(&mut self) -> MCPWM0_EVT_F1_ST_W { MCPWM0_EVT_F1_ST_W::new(self, 11) } #[doc = "Bit 12 - Represents MCPWM0_evt_f2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_f2_st(&mut self) -> MCPWM0_EVT_F2_ST_W { MCPWM0_EVT_F2_ST_W::new(self, 12) } #[doc = "Bit 13 - Represents MCPWM0_evt_f0_clr trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_f0_clr_st(&mut self) -> MCPWM0_EVT_F0_CLR_ST_W { MCPWM0_EVT_F0_CLR_ST_W::new(self, 13) } #[doc = "Bit 14 - Represents MCPWM0_evt_f1_clr trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_f1_clr_st(&mut self) -> MCPWM0_EVT_F1_CLR_ST_W { MCPWM0_EVT_F1_CLR_ST_W::new(self, 14) } #[doc = "Bit 15 - Represents MCPWM0_evt_f2_clr trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_f2_clr_st(&mut self) -> MCPWM0_EVT_F2_CLR_ST_W { MCPWM0_EVT_F2_CLR_ST_W::new(self, 15) } #[doc = "Bit 16 - Represents MCPWM0_evt_tz0_cbc trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_tz0_cbc_st(&mut self) -> MCPWM0_EVT_TZ0_CBC_ST_W { MCPWM0_EVT_TZ0_CBC_ST_W::new(self, 16) } #[doc = "Bit 17 - Represents MCPWM0_evt_tz1_cbc trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_tz1_cbc_st(&mut self) -> MCPWM0_EVT_TZ1_CBC_ST_W { MCPWM0_EVT_TZ1_CBC_ST_W::new(self, 17) } #[doc = "Bit 18 - Represents MCPWM0_evt_tz2_cbc trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_tz2_cbc_st(&mut self) -> MCPWM0_EVT_TZ2_CBC_ST_W { MCPWM0_EVT_TZ2_CBC_ST_W::new(self, 18) } #[doc = "Bit 19 - Represents MCPWM0_evt_tz0_ost trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_tz0_ost_st(&mut self) -> MCPWM0_EVT_TZ0_OST_ST_W { MCPWM0_EVT_TZ0_OST_ST_W::new(self, 19) } #[doc = "Bit 20 - Represents MCPWM0_evt_tz1_ost trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_tz1_ost_st(&mut self) -> MCPWM0_EVT_TZ1_OST_ST_W { MCPWM0_EVT_TZ1_OST_ST_W::new(self, 20) } #[doc = "Bit 21 - Represents MCPWM0_evt_tz2_ost trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_tz2_ost_st(&mut self) -> MCPWM0_EVT_TZ2_OST_ST_W { MCPWM0_EVT_TZ2_OST_ST_W::new(self, 21) } #[doc = "Bit 22 - Represents MCPWM0_evt_cap0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_cap0_st(&mut self) -> MCPWM0_EVT_CAP0_ST_W { MCPWM0_EVT_CAP0_ST_W::new(self, 22) } #[doc = "Bit 23 - Represents MCPWM0_evt_cap1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_cap1_st(&mut self) -> MCPWM0_EVT_CAP1_ST_W { MCPWM0_EVT_CAP1_ST_W::new(self, 23) } #[doc = "Bit 24 - Represents MCPWM0_evt_cap2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_cap2_st(&mut self) -> MCPWM0_EVT_CAP2_ST_W { MCPWM0_EVT_CAP2_ST_W::new(self, 24) } #[doc = "Bit 25 - Represents MCPWM0_evt_op0_tee1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_op0_tee1_st(&mut self) -> MCPWM0_EVT_OP0_TEE1_ST_W { MCPWM0_EVT_OP0_TEE1_ST_W::new(self, 25) } #[doc = "Bit 26 - Represents MCPWM0_evt_op1_tee1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_op1_tee1_st(&mut self) -> MCPWM0_EVT_OP1_TEE1_ST_W { MCPWM0_EVT_OP1_TEE1_ST_W::new(self, 26) } #[doc = "Bit 27 - Represents MCPWM0_evt_op2_tee1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_op2_tee1_st(&mut self) -> MCPWM0_EVT_OP2_TEE1_ST_W { MCPWM0_EVT_OP2_TEE1_ST_W::new(self, 27) } #[doc = "Bit 28 - Represents MCPWM0_evt_op0_tee2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_op0_tee2_st(&mut self) -> MCPWM0_EVT_OP0_TEE2_ST_W { MCPWM0_EVT_OP0_TEE2_ST_W::new(self, 28) } #[doc = "Bit 29 - Represents MCPWM0_evt_op1_tee2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_op1_tee2_st(&mut self) -> MCPWM0_EVT_OP1_TEE2_ST_W { MCPWM0_EVT_OP1_TEE2_ST_W::new(self, 29) } #[doc = "Bit 30 - Represents MCPWM0_evt_op2_tee2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_op2_tee2_st(&mut self) -> MCPWM0_EVT_OP2_TEE2_ST_W { MCPWM0_EVT_OP2_TEE2_ST_W::new(self, 30) } #[doc = "Bit 31 - Represents MCPWM1_evt_timer0_stop trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_timer0_stop_st(&mut self) -> MCPWM1_EVT_TIMER0_STOP_ST_W { MCPWM1_EVT_TIMER0_STOP_ST_W::new(self, 31) } diff --git a/esp32p4/src/soc_etm/evt_st2_clr.rs b/esp32p4/src/soc_etm/evt_st2_clr.rs index dec152f9d5..5c5e4d4b44 100644 --- a/esp32p4/src/soc_etm/evt_st2_clr.rs +++ b/esp32p4/src/soc_etm/evt_st2_clr.rs @@ -73,7 +73,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Configures whether or not to clear MCPWM0_evt_timer2_tez trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_timer2_tez_st_clr( &mut self, ) -> MCPWM0_EVT_TIMER2_TEZ_ST_CLR_W { @@ -81,7 +80,6 @@ impl W { } #[doc = "Bit 1 - Configures whether or not to clear MCPWM0_evt_timer0_tep trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_timer0_tep_st_clr( &mut self, ) -> MCPWM0_EVT_TIMER0_TEP_ST_CLR_W { @@ -89,7 +87,6 @@ impl W { } #[doc = "Bit 2 - Configures whether or not to clear MCPWM0_evt_timer1_tep trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_timer1_tep_st_clr( &mut self, ) -> MCPWM0_EVT_TIMER1_TEP_ST_CLR_W { @@ -97,7 +94,6 @@ impl W { } #[doc = "Bit 3 - Configures whether or not to clear MCPWM0_evt_timer2_tep trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_timer2_tep_st_clr( &mut self, ) -> MCPWM0_EVT_TIMER2_TEP_ST_CLR_W { @@ -105,169 +101,141 @@ impl W { } #[doc = "Bit 4 - Configures whether or not to clear MCPWM0_evt_op0_tea trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_op0_tea_st_clr(&mut self) -> MCPWM0_EVT_OP0_TEA_ST_CLR_W { MCPWM0_EVT_OP0_TEA_ST_CLR_W::new(self, 4) } #[doc = "Bit 5 - Configures whether or not to clear MCPWM0_evt_op1_tea trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_op1_tea_st_clr(&mut self) -> MCPWM0_EVT_OP1_TEA_ST_CLR_W { MCPWM0_EVT_OP1_TEA_ST_CLR_W::new(self, 5) } #[doc = "Bit 6 - Configures whether or not to clear MCPWM0_evt_op2_tea trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_op2_tea_st_clr(&mut self) -> MCPWM0_EVT_OP2_TEA_ST_CLR_W { MCPWM0_EVT_OP2_TEA_ST_CLR_W::new(self, 6) } #[doc = "Bit 7 - Configures whether or not to clear MCPWM0_evt_op0_teb trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_op0_teb_st_clr(&mut self) -> MCPWM0_EVT_OP0_TEB_ST_CLR_W { MCPWM0_EVT_OP0_TEB_ST_CLR_W::new(self, 7) } #[doc = "Bit 8 - Configures whether or not to clear MCPWM0_evt_op1_teb trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_op1_teb_st_clr(&mut self) -> MCPWM0_EVT_OP1_TEB_ST_CLR_W { MCPWM0_EVT_OP1_TEB_ST_CLR_W::new(self, 8) } #[doc = "Bit 9 - Configures whether or not to clear MCPWM0_evt_op2_teb trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_op2_teb_st_clr(&mut self) -> MCPWM0_EVT_OP2_TEB_ST_CLR_W { MCPWM0_EVT_OP2_TEB_ST_CLR_W::new(self, 9) } #[doc = "Bit 10 - Configures whether or not to clear MCPWM0_evt_f0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_f0_st_clr(&mut self) -> MCPWM0_EVT_F0_ST_CLR_W { MCPWM0_EVT_F0_ST_CLR_W::new(self, 10) } #[doc = "Bit 11 - Configures whether or not to clear MCPWM0_evt_f1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_f1_st_clr(&mut self) -> MCPWM0_EVT_F1_ST_CLR_W { MCPWM0_EVT_F1_ST_CLR_W::new(self, 11) } #[doc = "Bit 12 - Configures whether or not to clear MCPWM0_evt_f2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_f2_st_clr(&mut self) -> MCPWM0_EVT_F2_ST_CLR_W { MCPWM0_EVT_F2_ST_CLR_W::new(self, 12) } #[doc = "Bit 13 - Configures whether or not to clear MCPWM0_evt_f0_clr trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_f0_clr_st_clr(&mut self) -> MCPWM0_EVT_F0_CLR_ST_CLR_W { MCPWM0_EVT_F0_CLR_ST_CLR_W::new(self, 13) } #[doc = "Bit 14 - Configures whether or not to clear MCPWM0_evt_f1_clr trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_f1_clr_st_clr(&mut self) -> MCPWM0_EVT_F1_CLR_ST_CLR_W { MCPWM0_EVT_F1_CLR_ST_CLR_W::new(self, 14) } #[doc = "Bit 15 - Configures whether or not to clear MCPWM0_evt_f2_clr trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_f2_clr_st_clr(&mut self) -> MCPWM0_EVT_F2_CLR_ST_CLR_W { MCPWM0_EVT_F2_CLR_ST_CLR_W::new(self, 15) } #[doc = "Bit 16 - Configures whether or not to clear MCPWM0_evt_tz0_cbc trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_tz0_cbc_st_clr(&mut self) -> MCPWM0_EVT_TZ0_CBC_ST_CLR_W { MCPWM0_EVT_TZ0_CBC_ST_CLR_W::new(self, 16) } #[doc = "Bit 17 - Configures whether or not to clear MCPWM0_evt_tz1_cbc trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_tz1_cbc_st_clr(&mut self) -> MCPWM0_EVT_TZ1_CBC_ST_CLR_W { MCPWM0_EVT_TZ1_CBC_ST_CLR_W::new(self, 17) } #[doc = "Bit 18 - Configures whether or not to clear MCPWM0_evt_tz2_cbc trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_tz2_cbc_st_clr(&mut self) -> MCPWM0_EVT_TZ2_CBC_ST_CLR_W { MCPWM0_EVT_TZ2_CBC_ST_CLR_W::new(self, 18) } #[doc = "Bit 19 - Configures whether or not to clear MCPWM0_evt_tz0_ost trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_tz0_ost_st_clr(&mut self) -> MCPWM0_EVT_TZ0_OST_ST_CLR_W { MCPWM0_EVT_TZ0_OST_ST_CLR_W::new(self, 19) } #[doc = "Bit 20 - Configures whether or not to clear MCPWM0_evt_tz1_ost trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_tz1_ost_st_clr(&mut self) -> MCPWM0_EVT_TZ1_OST_ST_CLR_W { MCPWM0_EVT_TZ1_OST_ST_CLR_W::new(self, 20) } #[doc = "Bit 21 - Configures whether or not to clear MCPWM0_evt_tz2_ost trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_tz2_ost_st_clr(&mut self) -> MCPWM0_EVT_TZ2_OST_ST_CLR_W { MCPWM0_EVT_TZ2_OST_ST_CLR_W::new(self, 21) } #[doc = "Bit 22 - Configures whether or not to clear MCPWM0_evt_cap0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_cap0_st_clr(&mut self) -> MCPWM0_EVT_CAP0_ST_CLR_W { MCPWM0_EVT_CAP0_ST_CLR_W::new(self, 22) } #[doc = "Bit 23 - Configures whether or not to clear MCPWM0_evt_cap1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_cap1_st_clr(&mut self) -> MCPWM0_EVT_CAP1_ST_CLR_W { MCPWM0_EVT_CAP1_ST_CLR_W::new(self, 23) } #[doc = "Bit 24 - Configures whether or not to clear MCPWM0_evt_cap2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_cap2_st_clr(&mut self) -> MCPWM0_EVT_CAP2_ST_CLR_W { MCPWM0_EVT_CAP2_ST_CLR_W::new(self, 24) } #[doc = "Bit 25 - Configures whether or not to clear MCPWM0_evt_op0_tee1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_op0_tee1_st_clr(&mut self) -> MCPWM0_EVT_OP0_TEE1_ST_CLR_W { MCPWM0_EVT_OP0_TEE1_ST_CLR_W::new(self, 25) } #[doc = "Bit 26 - Configures whether or not to clear MCPWM0_evt_op1_tee1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_op1_tee1_st_clr(&mut self) -> MCPWM0_EVT_OP1_TEE1_ST_CLR_W { MCPWM0_EVT_OP1_TEE1_ST_CLR_W::new(self, 26) } #[doc = "Bit 27 - Configures whether or not to clear MCPWM0_evt_op2_tee1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_op2_tee1_st_clr(&mut self) -> MCPWM0_EVT_OP2_TEE1_ST_CLR_W { MCPWM0_EVT_OP2_TEE1_ST_CLR_W::new(self, 27) } #[doc = "Bit 28 - Configures whether or not to clear MCPWM0_evt_op0_tee2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_op0_tee2_st_clr(&mut self) -> MCPWM0_EVT_OP0_TEE2_ST_CLR_W { MCPWM0_EVT_OP0_TEE2_ST_CLR_W::new(self, 28) } #[doc = "Bit 29 - Configures whether or not to clear MCPWM0_evt_op1_tee2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_op1_tee2_st_clr(&mut self) -> MCPWM0_EVT_OP1_TEE2_ST_CLR_W { MCPWM0_EVT_OP1_TEE2_ST_CLR_W::new(self, 29) } #[doc = "Bit 30 - Configures whether or not to clear MCPWM0_evt_op2_tee2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_evt_op2_tee2_st_clr(&mut self) -> MCPWM0_EVT_OP2_TEE2_ST_CLR_W { MCPWM0_EVT_OP2_TEE2_ST_CLR_W::new(self, 30) } #[doc = "Bit 31 - Configures whether or not to clear MCPWM1_evt_timer0_stop trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_timer0_stop_st_clr( &mut self, ) -> MCPWM1_EVT_TIMER0_STOP_ST_CLR_W { diff --git a/esp32p4/src/soc_etm/evt_st3.rs b/esp32p4/src/soc_etm/evt_st3.rs index 30e6cbae41..da39a03281 100644 --- a/esp32p4/src/soc_etm/evt_st3.rs +++ b/esp32p4/src/soc_etm/evt_st3.rs @@ -340,193 +340,161 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Represents MCPWM1_evt_timer1_stop trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_timer1_stop_st(&mut self) -> MCPWM1_EVT_TIMER1_STOP_ST_W { MCPWM1_EVT_TIMER1_STOP_ST_W::new(self, 0) } #[doc = "Bit 1 - Represents MCPWM1_evt_timer2_stop trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_timer2_stop_st(&mut self) -> MCPWM1_EVT_TIMER2_STOP_ST_W { MCPWM1_EVT_TIMER2_STOP_ST_W::new(self, 1) } #[doc = "Bit 2 - Represents MCPWM1_evt_timer0_tez trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_timer0_tez_st(&mut self) -> MCPWM1_EVT_TIMER0_TEZ_ST_W { MCPWM1_EVT_TIMER0_TEZ_ST_W::new(self, 2) } #[doc = "Bit 3 - Represents MCPWM1_evt_timer1_tez trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_timer1_tez_st(&mut self) -> MCPWM1_EVT_TIMER1_TEZ_ST_W { MCPWM1_EVT_TIMER1_TEZ_ST_W::new(self, 3) } #[doc = "Bit 4 - Represents MCPWM1_evt_timer2_tez trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_timer2_tez_st(&mut self) -> MCPWM1_EVT_TIMER2_TEZ_ST_W { MCPWM1_EVT_TIMER2_TEZ_ST_W::new(self, 4) } #[doc = "Bit 5 - Represents MCPWM1_evt_timer0_tep trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_timer0_tep_st(&mut self) -> MCPWM1_EVT_TIMER0_TEP_ST_W { MCPWM1_EVT_TIMER0_TEP_ST_W::new(self, 5) } #[doc = "Bit 6 - Represents MCPWM1_evt_timer1_tep trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_timer1_tep_st(&mut self) -> MCPWM1_EVT_TIMER1_TEP_ST_W { MCPWM1_EVT_TIMER1_TEP_ST_W::new(self, 6) } #[doc = "Bit 7 - Represents MCPWM1_evt_timer2_tep trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_timer2_tep_st(&mut self) -> MCPWM1_EVT_TIMER2_TEP_ST_W { MCPWM1_EVT_TIMER2_TEP_ST_W::new(self, 7) } #[doc = "Bit 8 - Represents MCPWM1_evt_op0_tea trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_op0_tea_st(&mut self) -> MCPWM1_EVT_OP0_TEA_ST_W { MCPWM1_EVT_OP0_TEA_ST_W::new(self, 8) } #[doc = "Bit 9 - Represents MCPWM1_evt_op1_tea trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_op1_tea_st(&mut self) -> MCPWM1_EVT_OP1_TEA_ST_W { MCPWM1_EVT_OP1_TEA_ST_W::new(self, 9) } #[doc = "Bit 10 - Represents MCPWM1_evt_op2_tea trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_op2_tea_st(&mut self) -> MCPWM1_EVT_OP2_TEA_ST_W { MCPWM1_EVT_OP2_TEA_ST_W::new(self, 10) } #[doc = "Bit 11 - Represents MCPWM1_evt_op0_teb trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_op0_teb_st(&mut self) -> MCPWM1_EVT_OP0_TEB_ST_W { MCPWM1_EVT_OP0_TEB_ST_W::new(self, 11) } #[doc = "Bit 12 - Represents MCPWM1_evt_op1_teb trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_op1_teb_st(&mut self) -> MCPWM1_EVT_OP1_TEB_ST_W { MCPWM1_EVT_OP1_TEB_ST_W::new(self, 12) } #[doc = "Bit 13 - Represents MCPWM1_evt_op2_teb trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_op2_teb_st(&mut self) -> MCPWM1_EVT_OP2_TEB_ST_W { MCPWM1_EVT_OP2_TEB_ST_W::new(self, 13) } #[doc = "Bit 14 - Represents MCPWM1_evt_f0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_f0_st(&mut self) -> MCPWM1_EVT_F0_ST_W { MCPWM1_EVT_F0_ST_W::new(self, 14) } #[doc = "Bit 15 - Represents MCPWM1_evt_f1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_f1_st(&mut self) -> MCPWM1_EVT_F1_ST_W { MCPWM1_EVT_F1_ST_W::new(self, 15) } #[doc = "Bit 16 - Represents MCPWM1_evt_f2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_f2_st(&mut self) -> MCPWM1_EVT_F2_ST_W { MCPWM1_EVT_F2_ST_W::new(self, 16) } #[doc = "Bit 17 - Represents MCPWM1_evt_f0_clr trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_f0_clr_st(&mut self) -> MCPWM1_EVT_F0_CLR_ST_W { MCPWM1_EVT_F0_CLR_ST_W::new(self, 17) } #[doc = "Bit 18 - Represents MCPWM1_evt_f1_clr trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_f1_clr_st(&mut self) -> MCPWM1_EVT_F1_CLR_ST_W { MCPWM1_EVT_F1_CLR_ST_W::new(self, 18) } #[doc = "Bit 19 - Represents MCPWM1_evt_f2_clr trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_f2_clr_st(&mut self) -> MCPWM1_EVT_F2_CLR_ST_W { MCPWM1_EVT_F2_CLR_ST_W::new(self, 19) } #[doc = "Bit 20 - Represents MCPWM1_evt_tz0_cbc trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_tz0_cbc_st(&mut self) -> MCPWM1_EVT_TZ0_CBC_ST_W { MCPWM1_EVT_TZ0_CBC_ST_W::new(self, 20) } #[doc = "Bit 21 - Represents MCPWM1_evt_tz1_cbc trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_tz1_cbc_st(&mut self) -> MCPWM1_EVT_TZ1_CBC_ST_W { MCPWM1_EVT_TZ1_CBC_ST_W::new(self, 21) } #[doc = "Bit 22 - Represents MCPWM1_evt_tz2_cbc trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_tz2_cbc_st(&mut self) -> MCPWM1_EVT_TZ2_CBC_ST_W { MCPWM1_EVT_TZ2_CBC_ST_W::new(self, 22) } #[doc = "Bit 23 - Represents MCPWM1_evt_tz0_ost trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_tz0_ost_st(&mut self) -> MCPWM1_EVT_TZ0_OST_ST_W { MCPWM1_EVT_TZ0_OST_ST_W::new(self, 23) } #[doc = "Bit 24 - Represents MCPWM1_evt_tz1_ost trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_tz1_ost_st(&mut self) -> MCPWM1_EVT_TZ1_OST_ST_W { MCPWM1_EVT_TZ1_OST_ST_W::new(self, 24) } #[doc = "Bit 25 - Represents MCPWM1_evt_tz2_ost trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_tz2_ost_st(&mut self) -> MCPWM1_EVT_TZ2_OST_ST_W { MCPWM1_EVT_TZ2_OST_ST_W::new(self, 25) } #[doc = "Bit 26 - Represents MCPWM1_evt_cap0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_cap0_st(&mut self) -> MCPWM1_EVT_CAP0_ST_W { MCPWM1_EVT_CAP0_ST_W::new(self, 26) } #[doc = "Bit 27 - Represents MCPWM1_evt_cap1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_cap1_st(&mut self) -> MCPWM1_EVT_CAP1_ST_W { MCPWM1_EVT_CAP1_ST_W::new(self, 27) } #[doc = "Bit 28 - Represents MCPWM1_evt_cap2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_cap2_st(&mut self) -> MCPWM1_EVT_CAP2_ST_W { MCPWM1_EVT_CAP2_ST_W::new(self, 28) } #[doc = "Bit 29 - Represents MCPWM1_evt_op0_tee1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_op0_tee1_st(&mut self) -> MCPWM1_EVT_OP0_TEE1_ST_W { MCPWM1_EVT_OP0_TEE1_ST_W::new(self, 29) } #[doc = "Bit 30 - Represents MCPWM1_evt_op1_tee1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_op1_tee1_st(&mut self) -> MCPWM1_EVT_OP1_TEE1_ST_W { MCPWM1_EVT_OP1_TEE1_ST_W::new(self, 30) } #[doc = "Bit 31 - Represents MCPWM1_evt_op2_tee1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_op2_tee1_st(&mut self) -> MCPWM1_EVT_OP2_TEE1_ST_W { MCPWM1_EVT_OP2_TEE1_ST_W::new(self, 31) } diff --git a/esp32p4/src/soc_etm/evt_st3_clr.rs b/esp32p4/src/soc_etm/evt_st3_clr.rs index cf809b6ae3..f4500c036f 100644 --- a/esp32p4/src/soc_etm/evt_st3_clr.rs +++ b/esp32p4/src/soc_etm/evt_st3_clr.rs @@ -73,7 +73,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Configures whether or not to clear MCPWM1_evt_timer1_stop trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_timer1_stop_st_clr( &mut self, ) -> MCPWM1_EVT_TIMER1_STOP_ST_CLR_W { @@ -81,7 +80,6 @@ impl W { } #[doc = "Bit 1 - Configures whether or not to clear MCPWM1_evt_timer2_stop trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_timer2_stop_st_clr( &mut self, ) -> MCPWM1_EVT_TIMER2_STOP_ST_CLR_W { @@ -89,7 +87,6 @@ impl W { } #[doc = "Bit 2 - Configures whether or not to clear MCPWM1_evt_timer0_tez trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_timer0_tez_st_clr( &mut self, ) -> MCPWM1_EVT_TIMER0_TEZ_ST_CLR_W { @@ -97,7 +94,6 @@ impl W { } #[doc = "Bit 3 - Configures whether or not to clear MCPWM1_evt_timer1_tez trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_timer1_tez_st_clr( &mut self, ) -> MCPWM1_EVT_TIMER1_TEZ_ST_CLR_W { @@ -105,7 +101,6 @@ impl W { } #[doc = "Bit 4 - Configures whether or not to clear MCPWM1_evt_timer2_tez trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_timer2_tez_st_clr( &mut self, ) -> MCPWM1_EVT_TIMER2_TEZ_ST_CLR_W { @@ -113,7 +108,6 @@ impl W { } #[doc = "Bit 5 - Configures whether or not to clear MCPWM1_evt_timer0_tep trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_timer0_tep_st_clr( &mut self, ) -> MCPWM1_EVT_TIMER0_TEP_ST_CLR_W { @@ -121,7 +115,6 @@ impl W { } #[doc = "Bit 6 - Configures whether or not to clear MCPWM1_evt_timer1_tep trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_timer1_tep_st_clr( &mut self, ) -> MCPWM1_EVT_TIMER1_TEP_ST_CLR_W { @@ -129,7 +122,6 @@ impl W { } #[doc = "Bit 7 - Configures whether or not to clear MCPWM1_evt_timer2_tep trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_timer2_tep_st_clr( &mut self, ) -> MCPWM1_EVT_TIMER2_TEP_ST_CLR_W { @@ -137,145 +129,121 @@ impl W { } #[doc = "Bit 8 - Configures whether or not to clear MCPWM1_evt_op0_tea trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_op0_tea_st_clr(&mut self) -> MCPWM1_EVT_OP0_TEA_ST_CLR_W { MCPWM1_EVT_OP0_TEA_ST_CLR_W::new(self, 8) } #[doc = "Bit 9 - Configures whether or not to clear MCPWM1_evt_op1_tea trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_op1_tea_st_clr(&mut self) -> MCPWM1_EVT_OP1_TEA_ST_CLR_W { MCPWM1_EVT_OP1_TEA_ST_CLR_W::new(self, 9) } #[doc = "Bit 10 - Configures whether or not to clear MCPWM1_evt_op2_tea trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_op2_tea_st_clr(&mut self) -> MCPWM1_EVT_OP2_TEA_ST_CLR_W { MCPWM1_EVT_OP2_TEA_ST_CLR_W::new(self, 10) } #[doc = "Bit 11 - Configures whether or not to clear MCPWM1_evt_op0_teb trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_op0_teb_st_clr(&mut self) -> MCPWM1_EVT_OP0_TEB_ST_CLR_W { MCPWM1_EVT_OP0_TEB_ST_CLR_W::new(self, 11) } #[doc = "Bit 12 - Configures whether or not to clear MCPWM1_evt_op1_teb trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_op1_teb_st_clr(&mut self) -> MCPWM1_EVT_OP1_TEB_ST_CLR_W { MCPWM1_EVT_OP1_TEB_ST_CLR_W::new(self, 12) } #[doc = "Bit 13 - Configures whether or not to clear MCPWM1_evt_op2_teb trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_op2_teb_st_clr(&mut self) -> MCPWM1_EVT_OP2_TEB_ST_CLR_W { MCPWM1_EVT_OP2_TEB_ST_CLR_W::new(self, 13) } #[doc = "Bit 14 - Configures whether or not to clear MCPWM1_evt_f0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_f0_st_clr(&mut self) -> MCPWM1_EVT_F0_ST_CLR_W { MCPWM1_EVT_F0_ST_CLR_W::new(self, 14) } #[doc = "Bit 15 - Configures whether or not to clear MCPWM1_evt_f1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_f1_st_clr(&mut self) -> MCPWM1_EVT_F1_ST_CLR_W { MCPWM1_EVT_F1_ST_CLR_W::new(self, 15) } #[doc = "Bit 16 - Configures whether or not to clear MCPWM1_evt_f2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_f2_st_clr(&mut self) -> MCPWM1_EVT_F2_ST_CLR_W { MCPWM1_EVT_F2_ST_CLR_W::new(self, 16) } #[doc = "Bit 17 - Configures whether or not to clear MCPWM1_evt_f0_clr trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_f0_clr_st_clr(&mut self) -> MCPWM1_EVT_F0_CLR_ST_CLR_W { MCPWM1_EVT_F0_CLR_ST_CLR_W::new(self, 17) } #[doc = "Bit 18 - Configures whether or not to clear MCPWM1_evt_f1_clr trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_f1_clr_st_clr(&mut self) -> MCPWM1_EVT_F1_CLR_ST_CLR_W { MCPWM1_EVT_F1_CLR_ST_CLR_W::new(self, 18) } #[doc = "Bit 19 - Configures whether or not to clear MCPWM1_evt_f2_clr trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_f2_clr_st_clr(&mut self) -> MCPWM1_EVT_F2_CLR_ST_CLR_W { MCPWM1_EVT_F2_CLR_ST_CLR_W::new(self, 19) } #[doc = "Bit 20 - Configures whether or not to clear MCPWM1_evt_tz0_cbc trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_tz0_cbc_st_clr(&mut self) -> MCPWM1_EVT_TZ0_CBC_ST_CLR_W { MCPWM1_EVT_TZ0_CBC_ST_CLR_W::new(self, 20) } #[doc = "Bit 21 - Configures whether or not to clear MCPWM1_evt_tz1_cbc trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_tz1_cbc_st_clr(&mut self) -> MCPWM1_EVT_TZ1_CBC_ST_CLR_W { MCPWM1_EVT_TZ1_CBC_ST_CLR_W::new(self, 21) } #[doc = "Bit 22 - Configures whether or not to clear MCPWM1_evt_tz2_cbc trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_tz2_cbc_st_clr(&mut self) -> MCPWM1_EVT_TZ2_CBC_ST_CLR_W { MCPWM1_EVT_TZ2_CBC_ST_CLR_W::new(self, 22) } #[doc = "Bit 23 - Configures whether or not to clear MCPWM1_evt_tz0_ost trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_tz0_ost_st_clr(&mut self) -> MCPWM1_EVT_TZ0_OST_ST_CLR_W { MCPWM1_EVT_TZ0_OST_ST_CLR_W::new(self, 23) } #[doc = "Bit 24 - Configures whether or not to clear MCPWM1_evt_tz1_ost trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_tz1_ost_st_clr(&mut self) -> MCPWM1_EVT_TZ1_OST_ST_CLR_W { MCPWM1_EVT_TZ1_OST_ST_CLR_W::new(self, 24) } #[doc = "Bit 25 - Configures whether or not to clear MCPWM1_evt_tz2_ost trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_tz2_ost_st_clr(&mut self) -> MCPWM1_EVT_TZ2_OST_ST_CLR_W { MCPWM1_EVT_TZ2_OST_ST_CLR_W::new(self, 25) } #[doc = "Bit 26 - Configures whether or not to clear MCPWM1_evt_cap0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_cap0_st_clr(&mut self) -> MCPWM1_EVT_CAP0_ST_CLR_W { MCPWM1_EVT_CAP0_ST_CLR_W::new(self, 26) } #[doc = "Bit 27 - Configures whether or not to clear MCPWM1_evt_cap1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_cap1_st_clr(&mut self) -> MCPWM1_EVT_CAP1_ST_CLR_W { MCPWM1_EVT_CAP1_ST_CLR_W::new(self, 27) } #[doc = "Bit 28 - Configures whether or not to clear MCPWM1_evt_cap2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_cap2_st_clr(&mut self) -> MCPWM1_EVT_CAP2_ST_CLR_W { MCPWM1_EVT_CAP2_ST_CLR_W::new(self, 28) } #[doc = "Bit 29 - Configures whether or not to clear MCPWM1_evt_op0_tee1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_op0_tee1_st_clr(&mut self) -> MCPWM1_EVT_OP0_TEE1_ST_CLR_W { MCPWM1_EVT_OP0_TEE1_ST_CLR_W::new(self, 29) } #[doc = "Bit 30 - Configures whether or not to clear MCPWM1_evt_op1_tee1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_op1_tee1_st_clr(&mut self) -> MCPWM1_EVT_OP1_TEE1_ST_CLR_W { MCPWM1_EVT_OP1_TEE1_ST_CLR_W::new(self, 30) } #[doc = "Bit 31 - Configures whether or not to clear MCPWM1_evt_op2_tee1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_op2_tee1_st_clr(&mut self) -> MCPWM1_EVT_OP2_TEE1_ST_CLR_W { MCPWM1_EVT_OP2_TEE1_ST_CLR_W::new(self, 31) } diff --git a/esp32p4/src/soc_etm/evt_st4.rs b/esp32p4/src/soc_etm/evt_st4.rs index d2cb130747..301f13a507 100644 --- a/esp32p4/src/soc_etm/evt_st4.rs +++ b/esp32p4/src/soc_etm/evt_st4.rs @@ -358,193 +358,161 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Represents MCPWM1_evt_op0_tee2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_op0_tee2_st(&mut self) -> MCPWM1_EVT_OP0_TEE2_ST_W { MCPWM1_EVT_OP0_TEE2_ST_W::new(self, 0) } #[doc = "Bit 1 - Represents MCPWM1_evt_op1_tee2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_op1_tee2_st(&mut self) -> MCPWM1_EVT_OP1_TEE2_ST_W { MCPWM1_EVT_OP1_TEE2_ST_W::new(self, 1) } #[doc = "Bit 2 - Represents MCPWM1_evt_op2_tee2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_op2_tee2_st(&mut self) -> MCPWM1_EVT_OP2_TEE2_ST_W { MCPWM1_EVT_OP2_TEE2_ST_W::new(self, 2) } #[doc = "Bit 3 - Represents ADC_evt_conv_cmplt0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn adc_evt_conv_cmplt0_st(&mut self) -> ADC_EVT_CONV_CMPLT0_ST_W { ADC_EVT_CONV_CMPLT0_ST_W::new(self, 3) } #[doc = "Bit 4 - Represents ADC_evt_eq_above_thresh0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn adc_evt_eq_above_thresh0_st(&mut self) -> ADC_EVT_EQ_ABOVE_THRESH0_ST_W { ADC_EVT_EQ_ABOVE_THRESH0_ST_W::new(self, 4) } #[doc = "Bit 5 - Represents ADC_evt_eq_above_thresh1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn adc_evt_eq_above_thresh1_st(&mut self) -> ADC_EVT_EQ_ABOVE_THRESH1_ST_W { ADC_EVT_EQ_ABOVE_THRESH1_ST_W::new(self, 5) } #[doc = "Bit 6 - Represents ADC_evt_eq_below_thresh0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn adc_evt_eq_below_thresh0_st(&mut self) -> ADC_EVT_EQ_BELOW_THRESH0_ST_W { ADC_EVT_EQ_BELOW_THRESH0_ST_W::new(self, 6) } #[doc = "Bit 7 - Represents ADC_evt_eq_below_thresh1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn adc_evt_eq_below_thresh1_st(&mut self) -> ADC_EVT_EQ_BELOW_THRESH1_ST_W { ADC_EVT_EQ_BELOW_THRESH1_ST_W::new(self, 7) } #[doc = "Bit 8 - Represents ADC_evt_result_done0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn adc_evt_result_done0_st(&mut self) -> ADC_EVT_RESULT_DONE0_ST_W { ADC_EVT_RESULT_DONE0_ST_W::new(self, 8) } #[doc = "Bit 9 - Represents ADC_evt_stopped0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn adc_evt_stopped0_st(&mut self) -> ADC_EVT_STOPPED0_ST_W { ADC_EVT_STOPPED0_ST_W::new(self, 9) } #[doc = "Bit 10 - Represents ADC_evt_started0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn adc_evt_started0_st(&mut self) -> ADC_EVT_STARTED0_ST_W { ADC_EVT_STARTED0_ST_W::new(self, 10) } #[doc = "Bit 11 - Represents REGDMA_evt_done0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn regdma_evt_done0_st(&mut self) -> REGDMA_EVT_DONE0_ST_W { REGDMA_EVT_DONE0_ST_W::new(self, 11) } #[doc = "Bit 12 - Represents REGDMA_evt_done1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn regdma_evt_done1_st(&mut self) -> REGDMA_EVT_DONE1_ST_W { REGDMA_EVT_DONE1_ST_W::new(self, 12) } #[doc = "Bit 13 - Represents REGDMA_evt_done2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn regdma_evt_done2_st(&mut self) -> REGDMA_EVT_DONE2_ST_W { REGDMA_EVT_DONE2_ST_W::new(self, 13) } #[doc = "Bit 14 - Represents REGDMA_evt_done3 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn regdma_evt_done3_st(&mut self) -> REGDMA_EVT_DONE3_ST_W { REGDMA_EVT_DONE3_ST_W::new(self, 14) } #[doc = "Bit 15 - Represents REGDMA_evt_err0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn regdma_evt_err0_st(&mut self) -> REGDMA_EVT_ERR0_ST_W { REGDMA_EVT_ERR0_ST_W::new(self, 15) } #[doc = "Bit 16 - Represents REGDMA_evt_err1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn regdma_evt_err1_st(&mut self) -> REGDMA_EVT_ERR1_ST_W { REGDMA_EVT_ERR1_ST_W::new(self, 16) } #[doc = "Bit 17 - Represents REGDMA_evt_err2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn regdma_evt_err2_st(&mut self) -> REGDMA_EVT_ERR2_ST_W { REGDMA_EVT_ERR2_ST_W::new(self, 17) } #[doc = "Bit 18 - Represents REGDMA_evt_err3 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn regdma_evt_err3_st(&mut self) -> REGDMA_EVT_ERR3_ST_W { REGDMA_EVT_ERR3_ST_W::new(self, 18) } #[doc = "Bit 19 - Represents TMPSNSR_evt_over_limit trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn tmpsnsr_evt_over_limit_st(&mut self) -> TMPSNSR_EVT_OVER_LIMIT_ST_W { TMPSNSR_EVT_OVER_LIMIT_ST_W::new(self, 19) } #[doc = "Bit 20 - Represents I2S0_evt_rx_done trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn i2s0_evt_rx_done_st(&mut self) -> I2S0_EVT_RX_DONE_ST_W { I2S0_EVT_RX_DONE_ST_W::new(self, 20) } #[doc = "Bit 21 - Represents I2S0_evt_tx_done trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn i2s0_evt_tx_done_st(&mut self) -> I2S0_EVT_TX_DONE_ST_W { I2S0_EVT_TX_DONE_ST_W::new(self, 21) } #[doc = "Bit 22 - Represents I2S0_evt_x_words_received trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn i2s0_evt_x_words_received_st(&mut self) -> I2S0_EVT_X_WORDS_RECEIVED_ST_W { I2S0_EVT_X_WORDS_RECEIVED_ST_W::new(self, 22) } #[doc = "Bit 23 - Represents I2S0_evt_x_words_sent trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn i2s0_evt_x_words_sent_st(&mut self) -> I2S0_EVT_X_WORDS_SENT_ST_W { I2S0_EVT_X_WORDS_SENT_ST_W::new(self, 23) } #[doc = "Bit 24 - Represents I2S1_evt_rx_done trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn i2s1_evt_rx_done_st(&mut self) -> I2S1_EVT_RX_DONE_ST_W { I2S1_EVT_RX_DONE_ST_W::new(self, 24) } #[doc = "Bit 25 - Represents I2S1_evt_tx_done trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn i2s1_evt_tx_done_st(&mut self) -> I2S1_EVT_TX_DONE_ST_W { I2S1_EVT_TX_DONE_ST_W::new(self, 25) } #[doc = "Bit 26 - Represents I2S1_evt_x_words_received trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn i2s1_evt_x_words_received_st(&mut self) -> I2S1_EVT_X_WORDS_RECEIVED_ST_W { I2S1_EVT_X_WORDS_RECEIVED_ST_W::new(self, 26) } #[doc = "Bit 27 - Represents I2S1_evt_x_words_sent trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn i2s1_evt_x_words_sent_st(&mut self) -> I2S1_EVT_X_WORDS_SENT_ST_W { I2S1_EVT_X_WORDS_SENT_ST_W::new(self, 27) } #[doc = "Bit 28 - Represents I2S2_evt_rx_done trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn i2s2_evt_rx_done_st(&mut self) -> I2S2_EVT_RX_DONE_ST_W { I2S2_EVT_RX_DONE_ST_W::new(self, 28) } #[doc = "Bit 29 - Represents I2S2_evt_tx_done trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn i2s2_evt_tx_done_st(&mut self) -> I2S2_EVT_TX_DONE_ST_W { I2S2_EVT_TX_DONE_ST_W::new(self, 29) } #[doc = "Bit 30 - Represents I2S2_evt_x_words_received trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn i2s2_evt_x_words_received_st(&mut self) -> I2S2_EVT_X_WORDS_RECEIVED_ST_W { I2S2_EVT_X_WORDS_RECEIVED_ST_W::new(self, 30) } #[doc = "Bit 31 - Represents I2S2_evt_x_words_sent trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn i2s2_evt_x_words_sent_st(&mut self) -> I2S2_EVT_X_WORDS_SENT_ST_W { I2S2_EVT_X_WORDS_SENT_ST_W::new(self, 31) } diff --git a/esp32p4/src/soc_etm/evt_st4_clr.rs b/esp32p4/src/soc_etm/evt_st4_clr.rs index 1182f26014..6306bb8401 100644 --- a/esp32p4/src/soc_etm/evt_st4_clr.rs +++ b/esp32p4/src/soc_etm/evt_st4_clr.rs @@ -73,31 +73,26 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Configures whether or not to clear MCPWM1_evt_op0_tee2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_op0_tee2_st_clr(&mut self) -> MCPWM1_EVT_OP0_TEE2_ST_CLR_W { MCPWM1_EVT_OP0_TEE2_ST_CLR_W::new(self, 0) } #[doc = "Bit 1 - Configures whether or not to clear MCPWM1_evt_op1_tee2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_op1_tee2_st_clr(&mut self) -> MCPWM1_EVT_OP1_TEE2_ST_CLR_W { MCPWM1_EVT_OP1_TEE2_ST_CLR_W::new(self, 1) } #[doc = "Bit 2 - Configures whether or not to clear MCPWM1_evt_op2_tee2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_evt_op2_tee2_st_clr(&mut self) -> MCPWM1_EVT_OP2_TEE2_ST_CLR_W { MCPWM1_EVT_OP2_TEE2_ST_CLR_W::new(self, 2) } #[doc = "Bit 3 - Configures whether or not to clear ADC_evt_conv_cmplt0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn adc_evt_conv_cmplt0_st_clr(&mut self) -> ADC_EVT_CONV_CMPLT0_ST_CLR_W { ADC_EVT_CONV_CMPLT0_ST_CLR_W::new(self, 3) } #[doc = "Bit 4 - Configures whether or not to clear ADC_evt_eq_above_thresh0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn adc_evt_eq_above_thresh0_st_clr( &mut self, ) -> ADC_EVT_EQ_ABOVE_THRESH0_ST_CLR_W { @@ -105,7 +100,6 @@ impl W { } #[doc = "Bit 5 - Configures whether or not to clear ADC_evt_eq_above_thresh1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn adc_evt_eq_above_thresh1_st_clr( &mut self, ) -> ADC_EVT_EQ_ABOVE_THRESH1_ST_CLR_W { @@ -113,7 +107,6 @@ impl W { } #[doc = "Bit 6 - Configures whether or not to clear ADC_evt_eq_below_thresh0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn adc_evt_eq_below_thresh0_st_clr( &mut self, ) -> ADC_EVT_EQ_BELOW_THRESH0_ST_CLR_W { @@ -121,7 +114,6 @@ impl W { } #[doc = "Bit 7 - Configures whether or not to clear ADC_evt_eq_below_thresh1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn adc_evt_eq_below_thresh1_st_clr( &mut self, ) -> ADC_EVT_EQ_BELOW_THRESH1_ST_CLR_W { @@ -129,7 +121,6 @@ impl W { } #[doc = "Bit 8 - Configures whether or not to clear ADC_evt_result_done0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn adc_evt_result_done0_st_clr( &mut self, ) -> ADC_EVT_RESULT_DONE0_ST_CLR_W { @@ -137,67 +128,56 @@ impl W { } #[doc = "Bit 9 - Configures whether or not to clear ADC_evt_stopped0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn adc_evt_stopped0_st_clr(&mut self) -> ADC_EVT_STOPPED0_ST_CLR_W { ADC_EVT_STOPPED0_ST_CLR_W::new(self, 9) } #[doc = "Bit 10 - Configures whether or not to clear ADC_evt_started0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn adc_evt_started0_st_clr(&mut self) -> ADC_EVT_STARTED0_ST_CLR_W { ADC_EVT_STARTED0_ST_CLR_W::new(self, 10) } #[doc = "Bit 11 - Configures whether or not to clear REGDMA_evt_done0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn regdma_evt_done0_st_clr(&mut self) -> REGDMA_EVT_DONE0_ST_CLR_W { REGDMA_EVT_DONE0_ST_CLR_W::new(self, 11) } #[doc = "Bit 12 - Configures whether or not to clear REGDMA_evt_done1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn regdma_evt_done1_st_clr(&mut self) -> REGDMA_EVT_DONE1_ST_CLR_W { REGDMA_EVT_DONE1_ST_CLR_W::new(self, 12) } #[doc = "Bit 13 - Configures whether or not to clear REGDMA_evt_done2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn regdma_evt_done2_st_clr(&mut self) -> REGDMA_EVT_DONE2_ST_CLR_W { REGDMA_EVT_DONE2_ST_CLR_W::new(self, 13) } #[doc = "Bit 14 - Configures whether or not to clear REGDMA_evt_done3 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn regdma_evt_done3_st_clr(&mut self) -> REGDMA_EVT_DONE3_ST_CLR_W { REGDMA_EVT_DONE3_ST_CLR_W::new(self, 14) } #[doc = "Bit 15 - Configures whether or not to clear REGDMA_evt_err0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn regdma_evt_err0_st_clr(&mut self) -> REGDMA_EVT_ERR0_ST_CLR_W { REGDMA_EVT_ERR0_ST_CLR_W::new(self, 15) } #[doc = "Bit 16 - Configures whether or not to clear REGDMA_evt_err1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn regdma_evt_err1_st_clr(&mut self) -> REGDMA_EVT_ERR1_ST_CLR_W { REGDMA_EVT_ERR1_ST_CLR_W::new(self, 16) } #[doc = "Bit 17 - Configures whether or not to clear REGDMA_evt_err2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn regdma_evt_err2_st_clr(&mut self) -> REGDMA_EVT_ERR2_ST_CLR_W { REGDMA_EVT_ERR2_ST_CLR_W::new(self, 17) } #[doc = "Bit 18 - Configures whether or not to clear REGDMA_evt_err3 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn regdma_evt_err3_st_clr(&mut self) -> REGDMA_EVT_ERR3_ST_CLR_W { REGDMA_EVT_ERR3_ST_CLR_W::new(self, 18) } #[doc = "Bit 19 - Configures whether or not to clear TMPSNSR_evt_over_limit trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn tmpsnsr_evt_over_limit_st_clr( &mut self, ) -> TMPSNSR_EVT_OVER_LIMIT_ST_CLR_W { @@ -205,19 +185,16 @@ impl W { } #[doc = "Bit 20 - Configures whether or not to clear I2S0_evt_rx_done trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn i2s0_evt_rx_done_st_clr(&mut self) -> I2S0_EVT_RX_DONE_ST_CLR_W { I2S0_EVT_RX_DONE_ST_CLR_W::new(self, 20) } #[doc = "Bit 21 - Configures whether or not to clear I2S0_evt_tx_done trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn i2s0_evt_tx_done_st_clr(&mut self) -> I2S0_EVT_TX_DONE_ST_CLR_W { I2S0_EVT_TX_DONE_ST_CLR_W::new(self, 21) } #[doc = "Bit 22 - Configures whether or not to clear I2S0_evt_x_words_received trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn i2s0_evt_x_words_received_st_clr( &mut self, ) -> I2S0_EVT_X_WORDS_RECEIVED_ST_CLR_W { @@ -225,7 +202,6 @@ impl W { } #[doc = "Bit 23 - Configures whether or not to clear I2S0_evt_x_words_sent trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn i2s0_evt_x_words_sent_st_clr( &mut self, ) -> I2S0_EVT_X_WORDS_SENT_ST_CLR_W { @@ -233,19 +209,16 @@ impl W { } #[doc = "Bit 24 - Configures whether or not to clear I2S1_evt_rx_done trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn i2s1_evt_rx_done_st_clr(&mut self) -> I2S1_EVT_RX_DONE_ST_CLR_W { I2S1_EVT_RX_DONE_ST_CLR_W::new(self, 24) } #[doc = "Bit 25 - Configures whether or not to clear I2S1_evt_tx_done trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn i2s1_evt_tx_done_st_clr(&mut self) -> I2S1_EVT_TX_DONE_ST_CLR_W { I2S1_EVT_TX_DONE_ST_CLR_W::new(self, 25) } #[doc = "Bit 26 - Configures whether or not to clear I2S1_evt_x_words_received trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn i2s1_evt_x_words_received_st_clr( &mut self, ) -> I2S1_EVT_X_WORDS_RECEIVED_ST_CLR_W { @@ -253,7 +226,6 @@ impl W { } #[doc = "Bit 27 - Configures whether or not to clear I2S1_evt_x_words_sent trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn i2s1_evt_x_words_sent_st_clr( &mut self, ) -> I2S1_EVT_X_WORDS_SENT_ST_CLR_W { @@ -261,19 +233,16 @@ impl W { } #[doc = "Bit 28 - Configures whether or not to clear I2S2_evt_rx_done trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn i2s2_evt_rx_done_st_clr(&mut self) -> I2S2_EVT_RX_DONE_ST_CLR_W { I2S2_EVT_RX_DONE_ST_CLR_W::new(self, 28) } #[doc = "Bit 29 - Configures whether or not to clear I2S2_evt_tx_done trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn i2s2_evt_tx_done_st_clr(&mut self) -> I2S2_EVT_TX_DONE_ST_CLR_W { I2S2_EVT_TX_DONE_ST_CLR_W::new(self, 29) } #[doc = "Bit 30 - Configures whether or not to clear I2S2_evt_x_words_received trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn i2s2_evt_x_words_received_st_clr( &mut self, ) -> I2S2_EVT_X_WORDS_RECEIVED_ST_CLR_W { @@ -281,7 +250,6 @@ impl W { } #[doc = "Bit 31 - Configures whether or not to clear I2S2_evt_x_words_sent trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn i2s2_evt_x_words_sent_st_clr( &mut self, ) -> I2S2_EVT_X_WORDS_SENT_ST_CLR_W { diff --git a/esp32p4/src/soc_etm/evt_st5.rs b/esp32p4/src/soc_etm/evt_st5.rs index 22952e5e2f..f761f9b3a3 100644 --- a/esp32p4/src/soc_etm/evt_st5.rs +++ b/esp32p4/src/soc_etm/evt_st5.rs @@ -412,61 +412,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Represents ULP_evt_err_intr trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ulp_evt_err_intr_st(&mut self) -> ULP_EVT_ERR_INTR_ST_W { ULP_EVT_ERR_INTR_ST_W::new(self, 0) } #[doc = "Bit 1 - Represents ULP_evt_halt trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ulp_evt_halt_st(&mut self) -> ULP_EVT_HALT_ST_W { ULP_EVT_HALT_ST_W::new(self, 1) } #[doc = "Bit 2 - Represents ULP_evt_start_intr trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ulp_evt_start_intr_st(&mut self) -> ULP_EVT_START_INTR_ST_W { ULP_EVT_START_INTR_ST_W::new(self, 2) } #[doc = "Bit 3 - Represents RTC_evt_tick trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn rtc_evt_tick_st(&mut self) -> RTC_EVT_TICK_ST_W { RTC_EVT_TICK_ST_W::new(self, 3) } #[doc = "Bit 4 - Represents RTC_evt_ovf trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn rtc_evt_ovf_st(&mut self) -> RTC_EVT_OVF_ST_W { RTC_EVT_OVF_ST_W::new(self, 4) } #[doc = "Bit 5 - Represents RTC_evt_cmp trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn rtc_evt_cmp_st(&mut self) -> RTC_EVT_CMP_ST_W { RTC_EVT_CMP_ST_W::new(self, 5) } #[doc = "Bit 6 - Represents PDMA_AHB_evt_in_done_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_in_done_ch0_st(&mut self) -> PDMA_AHB_EVT_IN_DONE_CH0_ST_W { PDMA_AHB_EVT_IN_DONE_CH0_ST_W::new(self, 6) } #[doc = "Bit 7 - Represents PDMA_AHB_evt_in_done_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_in_done_ch1_st(&mut self) -> PDMA_AHB_EVT_IN_DONE_CH1_ST_W { PDMA_AHB_EVT_IN_DONE_CH1_ST_W::new(self, 7) } #[doc = "Bit 8 - Represents PDMA_AHB_evt_in_done_ch2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_in_done_ch2_st(&mut self) -> PDMA_AHB_EVT_IN_DONE_CH2_ST_W { PDMA_AHB_EVT_IN_DONE_CH2_ST_W::new(self, 8) } #[doc = "Bit 9 - Represents PDMA_AHB_evt_in_suc_eof_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_in_suc_eof_ch0_st( &mut self, ) -> PDMA_AHB_EVT_IN_SUC_EOF_CH0_ST_W { @@ -474,7 +464,6 @@ impl W { } #[doc = "Bit 10 - Represents PDMA_AHB_evt_in_suc_eof_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_in_suc_eof_ch1_st( &mut self, ) -> PDMA_AHB_EVT_IN_SUC_EOF_CH1_ST_W { @@ -482,7 +471,6 @@ impl W { } #[doc = "Bit 11 - Represents PDMA_AHB_evt_in_suc_eof_ch2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_in_suc_eof_ch2_st( &mut self, ) -> PDMA_AHB_EVT_IN_SUC_EOF_CH2_ST_W { @@ -490,7 +478,6 @@ impl W { } #[doc = "Bit 12 - Represents PDMA_AHB_evt_in_fifo_empty_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_in_fifo_empty_ch0_st( &mut self, ) -> PDMA_AHB_EVT_IN_FIFO_EMPTY_CH0_ST_W { @@ -498,7 +485,6 @@ impl W { } #[doc = "Bit 13 - Represents PDMA_AHB_evt_in_fifo_empty_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_in_fifo_empty_ch1_st( &mut self, ) -> PDMA_AHB_EVT_IN_FIFO_EMPTY_CH1_ST_W { @@ -506,7 +492,6 @@ impl W { } #[doc = "Bit 14 - Represents PDMA_AHB_evt_in_fifo_empty_ch2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_in_fifo_empty_ch2_st( &mut self, ) -> PDMA_AHB_EVT_IN_FIFO_EMPTY_CH2_ST_W { @@ -514,7 +499,6 @@ impl W { } #[doc = "Bit 15 - Represents PDMA_AHB_evt_in_fifo_full_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_in_fifo_full_ch0_st( &mut self, ) -> PDMA_AHB_EVT_IN_FIFO_FULL_CH0_ST_W { @@ -522,7 +506,6 @@ impl W { } #[doc = "Bit 16 - Represents PDMA_AHB_evt_in_fifo_full_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_in_fifo_full_ch1_st( &mut self, ) -> PDMA_AHB_EVT_IN_FIFO_FULL_CH1_ST_W { @@ -530,7 +513,6 @@ impl W { } #[doc = "Bit 17 - Represents PDMA_AHB_evt_in_fifo_full_ch2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_in_fifo_full_ch2_st( &mut self, ) -> PDMA_AHB_EVT_IN_FIFO_FULL_CH2_ST_W { @@ -538,43 +520,36 @@ impl W { } #[doc = "Bit 18 - Represents PDMA_AHB_evt_out_done_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_out_done_ch0_st(&mut self) -> PDMA_AHB_EVT_OUT_DONE_CH0_ST_W { PDMA_AHB_EVT_OUT_DONE_CH0_ST_W::new(self, 18) } #[doc = "Bit 19 - Represents PDMA_AHB_evt_out_done_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_out_done_ch1_st(&mut self) -> PDMA_AHB_EVT_OUT_DONE_CH1_ST_W { PDMA_AHB_EVT_OUT_DONE_CH1_ST_W::new(self, 19) } #[doc = "Bit 20 - Represents PDMA_AHB_evt_out_done_ch2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_out_done_ch2_st(&mut self) -> PDMA_AHB_EVT_OUT_DONE_CH2_ST_W { PDMA_AHB_EVT_OUT_DONE_CH2_ST_W::new(self, 20) } #[doc = "Bit 21 - Represents PDMA_AHB_evt_out_eof_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_out_eof_ch0_st(&mut self) -> PDMA_AHB_EVT_OUT_EOF_CH0_ST_W { PDMA_AHB_EVT_OUT_EOF_CH0_ST_W::new(self, 21) } #[doc = "Bit 22 - Represents PDMA_AHB_evt_out_eof_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_out_eof_ch1_st(&mut self) -> PDMA_AHB_EVT_OUT_EOF_CH1_ST_W { PDMA_AHB_EVT_OUT_EOF_CH1_ST_W::new(self, 22) } #[doc = "Bit 23 - Represents PDMA_AHB_evt_out_eof_ch2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_out_eof_ch2_st(&mut self) -> PDMA_AHB_EVT_OUT_EOF_CH2_ST_W { PDMA_AHB_EVT_OUT_EOF_CH2_ST_W::new(self, 23) } #[doc = "Bit 24 - Represents PDMA_AHB_evt_out_total_eof_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_out_total_eof_ch0_st( &mut self, ) -> PDMA_AHB_EVT_OUT_TOTAL_EOF_CH0_ST_W { @@ -582,7 +557,6 @@ impl W { } #[doc = "Bit 25 - Represents PDMA_AHB_evt_out_total_eof_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_out_total_eof_ch1_st( &mut self, ) -> PDMA_AHB_EVT_OUT_TOTAL_EOF_CH1_ST_W { @@ -590,7 +564,6 @@ impl W { } #[doc = "Bit 26 - Represents PDMA_AHB_evt_out_total_eof_ch2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_out_total_eof_ch2_st( &mut self, ) -> PDMA_AHB_EVT_OUT_TOTAL_EOF_CH2_ST_W { @@ -598,7 +571,6 @@ impl W { } #[doc = "Bit 27 - Represents PDMA_AHB_evt_out_fifo_empty_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_out_fifo_empty_ch0_st( &mut self, ) -> PDMA_AHB_EVT_OUT_FIFO_EMPTY_CH0_ST_W { @@ -606,7 +578,6 @@ impl W { } #[doc = "Bit 28 - Represents PDMA_AHB_evt_out_fifo_empty_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_out_fifo_empty_ch1_st( &mut self, ) -> PDMA_AHB_EVT_OUT_FIFO_EMPTY_CH1_ST_W { @@ -614,7 +585,6 @@ impl W { } #[doc = "Bit 29 - Represents PDMA_AHB_evt_out_fifo_empty_ch2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_out_fifo_empty_ch2_st( &mut self, ) -> PDMA_AHB_EVT_OUT_FIFO_EMPTY_CH2_ST_W { @@ -622,7 +592,6 @@ impl W { } #[doc = "Bit 30 - Represents PDMA_AHB_evt_out_fifo_full_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_out_fifo_full_ch0_st( &mut self, ) -> PDMA_AHB_EVT_OUT_FIFO_FULL_CH0_ST_W { @@ -630,7 +599,6 @@ impl W { } #[doc = "Bit 31 - Represents PDMA_AHB_evt_out_fifo_full_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_out_fifo_full_ch1_st( &mut self, ) -> PDMA_AHB_EVT_OUT_FIFO_FULL_CH1_ST_W { diff --git a/esp32p4/src/soc_etm/evt_st5_clr.rs b/esp32p4/src/soc_etm/evt_st5_clr.rs index 48afbe4ba2..a526740acc 100644 --- a/esp32p4/src/soc_etm/evt_st5_clr.rs +++ b/esp32p4/src/soc_etm/evt_st5_clr.rs @@ -73,43 +73,36 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Configures whether or not to clear ULP_evt_err_intr trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ulp_evt_err_intr_st_clr(&mut self) -> ULP_EVT_ERR_INTR_ST_CLR_W { ULP_EVT_ERR_INTR_ST_CLR_W::new(self, 0) } #[doc = "Bit 1 - Configures whether or not to clear ULP_evt_halt trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ulp_evt_halt_st_clr(&mut self) -> ULP_EVT_HALT_ST_CLR_W { ULP_EVT_HALT_ST_CLR_W::new(self, 1) } #[doc = "Bit 2 - Configures whether or not to clear ULP_evt_start_intr trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ulp_evt_start_intr_st_clr(&mut self) -> ULP_EVT_START_INTR_ST_CLR_W { ULP_EVT_START_INTR_ST_CLR_W::new(self, 2) } #[doc = "Bit 3 - Configures whether or not to clear RTC_evt_tick trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn rtc_evt_tick_st_clr(&mut self) -> RTC_EVT_TICK_ST_CLR_W { RTC_EVT_TICK_ST_CLR_W::new(self, 3) } #[doc = "Bit 4 - Configures whether or not to clear RTC_evt_ovf trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn rtc_evt_ovf_st_clr(&mut self) -> RTC_EVT_OVF_ST_CLR_W { RTC_EVT_OVF_ST_CLR_W::new(self, 4) } #[doc = "Bit 5 - Configures whether or not to clear RTC_evt_cmp trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn rtc_evt_cmp_st_clr(&mut self) -> RTC_EVT_CMP_ST_CLR_W { RTC_EVT_CMP_ST_CLR_W::new(self, 5) } #[doc = "Bit 6 - Configures whether or not to clear PDMA_AHB_evt_in_done_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_in_done_ch0_st_clr( &mut self, ) -> PDMA_AHB_EVT_IN_DONE_CH0_ST_CLR_W { @@ -117,7 +110,6 @@ impl W { } #[doc = "Bit 7 - Configures whether or not to clear PDMA_AHB_evt_in_done_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_in_done_ch1_st_clr( &mut self, ) -> PDMA_AHB_EVT_IN_DONE_CH1_ST_CLR_W { @@ -125,7 +117,6 @@ impl W { } #[doc = "Bit 8 - Configures whether or not to clear PDMA_AHB_evt_in_done_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_in_done_ch2_st_clr( &mut self, ) -> PDMA_AHB_EVT_IN_DONE_CH2_ST_CLR_W { @@ -133,7 +124,6 @@ impl W { } #[doc = "Bit 9 - Configures whether or not to clear PDMA_AHB_evt_in_suc_eof_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_in_suc_eof_ch0_st_clr( &mut self, ) -> PDMA_AHB_EVT_IN_SUC_EOF_CH0_ST_CLR_W { @@ -141,7 +131,6 @@ impl W { } #[doc = "Bit 10 - Configures whether or not to clear PDMA_AHB_evt_in_suc_eof_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_in_suc_eof_ch1_st_clr( &mut self, ) -> PDMA_AHB_EVT_IN_SUC_EOF_CH1_ST_CLR_W { @@ -149,7 +138,6 @@ impl W { } #[doc = "Bit 11 - Configures whether or not to clear PDMA_AHB_evt_in_suc_eof_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_in_suc_eof_ch2_st_clr( &mut self, ) -> PDMA_AHB_EVT_IN_SUC_EOF_CH2_ST_CLR_W { @@ -157,7 +145,6 @@ impl W { } #[doc = "Bit 12 - Configures whether or not to clear PDMA_AHB_evt_in_fifo_empty_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_in_fifo_empty_ch0_st_clr( &mut self, ) -> PDMA_AHB_EVT_IN_FIFO_EMPTY_CH0_ST_CLR_W { @@ -165,7 +152,6 @@ impl W { } #[doc = "Bit 13 - Configures whether or not to clear PDMA_AHB_evt_in_fifo_empty_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_in_fifo_empty_ch1_st_clr( &mut self, ) -> PDMA_AHB_EVT_IN_FIFO_EMPTY_CH1_ST_CLR_W { @@ -173,7 +159,6 @@ impl W { } #[doc = "Bit 14 - Configures whether or not to clear PDMA_AHB_evt_in_fifo_empty_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_in_fifo_empty_ch2_st_clr( &mut self, ) -> PDMA_AHB_EVT_IN_FIFO_EMPTY_CH2_ST_CLR_W { @@ -181,7 +166,6 @@ impl W { } #[doc = "Bit 15 - Configures whether or not to clear PDMA_AHB_evt_in_fifo_full_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_in_fifo_full_ch0_st_clr( &mut self, ) -> PDMA_AHB_EVT_IN_FIFO_FULL_CH0_ST_CLR_W { @@ -189,7 +173,6 @@ impl W { } #[doc = "Bit 16 - Configures whether or not to clear PDMA_AHB_evt_in_fifo_full_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_in_fifo_full_ch1_st_clr( &mut self, ) -> PDMA_AHB_EVT_IN_FIFO_FULL_CH1_ST_CLR_W { @@ -197,7 +180,6 @@ impl W { } #[doc = "Bit 17 - Configures whether or not to clear PDMA_AHB_evt_in_fifo_full_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_in_fifo_full_ch2_st_clr( &mut self, ) -> PDMA_AHB_EVT_IN_FIFO_FULL_CH2_ST_CLR_W { @@ -205,7 +187,6 @@ impl W { } #[doc = "Bit 18 - Configures whether or not to clear PDMA_AHB_evt_out_done_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_out_done_ch0_st_clr( &mut self, ) -> PDMA_AHB_EVT_OUT_DONE_CH0_ST_CLR_W { @@ -213,7 +194,6 @@ impl W { } #[doc = "Bit 19 - Configures whether or not to clear PDMA_AHB_evt_out_done_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_out_done_ch1_st_clr( &mut self, ) -> PDMA_AHB_EVT_OUT_DONE_CH1_ST_CLR_W { @@ -221,7 +201,6 @@ impl W { } #[doc = "Bit 20 - Configures whether or not to clear PDMA_AHB_evt_out_done_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_out_done_ch2_st_clr( &mut self, ) -> PDMA_AHB_EVT_OUT_DONE_CH2_ST_CLR_W { @@ -229,7 +208,6 @@ impl W { } #[doc = "Bit 21 - Configures whether or not to clear PDMA_AHB_evt_out_eof_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_out_eof_ch0_st_clr( &mut self, ) -> PDMA_AHB_EVT_OUT_EOF_CH0_ST_CLR_W { @@ -237,7 +215,6 @@ impl W { } #[doc = "Bit 22 - Configures whether or not to clear PDMA_AHB_evt_out_eof_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_out_eof_ch1_st_clr( &mut self, ) -> PDMA_AHB_EVT_OUT_EOF_CH1_ST_CLR_W { @@ -245,7 +222,6 @@ impl W { } #[doc = "Bit 23 - Configures whether or not to clear PDMA_AHB_evt_out_eof_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_out_eof_ch2_st_clr( &mut self, ) -> PDMA_AHB_EVT_OUT_EOF_CH2_ST_CLR_W { @@ -253,7 +229,6 @@ impl W { } #[doc = "Bit 24 - Configures whether or not to clear PDMA_AHB_evt_out_total_eof_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_out_total_eof_ch0_st_clr( &mut self, ) -> PDMA_AHB_EVT_OUT_TOTAL_EOF_CH0_ST_CLR_W { @@ -261,7 +236,6 @@ impl W { } #[doc = "Bit 25 - Configures whether or not to clear PDMA_AHB_evt_out_total_eof_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_out_total_eof_ch1_st_clr( &mut self, ) -> PDMA_AHB_EVT_OUT_TOTAL_EOF_CH1_ST_CLR_W { @@ -269,7 +243,6 @@ impl W { } #[doc = "Bit 26 - Configures whether or not to clear PDMA_AHB_evt_out_total_eof_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_out_total_eof_ch2_st_clr( &mut self, ) -> PDMA_AHB_EVT_OUT_TOTAL_EOF_CH2_ST_CLR_W { @@ -277,7 +250,6 @@ impl W { } #[doc = "Bit 27 - Configures whether or not to clear PDMA_AHB_evt_out_fifo_empty_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_out_fifo_empty_ch0_st_clr( &mut self, ) -> PDMA_AHB_EVT_OUT_FIFO_EMPTY_CH0_ST_CLR_W { @@ -285,7 +257,6 @@ impl W { } #[doc = "Bit 28 - Configures whether or not to clear PDMA_AHB_evt_out_fifo_empty_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_out_fifo_empty_ch1_st_clr( &mut self, ) -> PDMA_AHB_EVT_OUT_FIFO_EMPTY_CH1_ST_CLR_W { @@ -293,7 +264,6 @@ impl W { } #[doc = "Bit 29 - Configures whether or not to clear PDMA_AHB_evt_out_fifo_empty_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_out_fifo_empty_ch2_st_clr( &mut self, ) -> PDMA_AHB_EVT_OUT_FIFO_EMPTY_CH2_ST_CLR_W { @@ -301,7 +271,6 @@ impl W { } #[doc = "Bit 30 - Configures whether or not to clear PDMA_AHB_evt_out_fifo_full_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_out_fifo_full_ch0_st_clr( &mut self, ) -> PDMA_AHB_EVT_OUT_FIFO_FULL_CH0_ST_CLR_W { @@ -309,7 +278,6 @@ impl W { } #[doc = "Bit 31 - Configures whether or not to clear PDMA_AHB_evt_out_fifo_full_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_out_fifo_full_ch1_st_clr( &mut self, ) -> PDMA_AHB_EVT_OUT_FIFO_FULL_CH1_ST_CLR_W { diff --git a/esp32p4/src/soc_etm/evt_st6.rs b/esp32p4/src/soc_etm/evt_st6.rs index 2b7553c917..f39e25b6f5 100644 --- a/esp32p4/src/soc_etm/evt_st6.rs +++ b/esp32p4/src/soc_etm/evt_st6.rs @@ -421,7 +421,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Represents PDMA_AHB_evt_out_fifo_full_ch2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_out_fifo_full_ch2_st( &mut self, ) -> PDMA_AHB_EVT_OUT_FIFO_FULL_CH2_ST_W { @@ -429,25 +428,21 @@ impl W { } #[doc = "Bit 1 - Represents PDMA_AXI_evt_in_done_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_in_done_ch0_st(&mut self) -> PDMA_AXI_EVT_IN_DONE_CH0_ST_W { PDMA_AXI_EVT_IN_DONE_CH0_ST_W::new(self, 1) } #[doc = "Bit 2 - Represents PDMA_AXI_evt_in_done_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_in_done_ch1_st(&mut self) -> PDMA_AXI_EVT_IN_DONE_CH1_ST_W { PDMA_AXI_EVT_IN_DONE_CH1_ST_W::new(self, 2) } #[doc = "Bit 3 - Represents PDMA_AXI_evt_in_done_ch2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_in_done_ch2_st(&mut self) -> PDMA_AXI_EVT_IN_DONE_CH2_ST_W { PDMA_AXI_EVT_IN_DONE_CH2_ST_W::new(self, 3) } #[doc = "Bit 4 - Represents PDMA_AXI_evt_in_suc_eof_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_in_suc_eof_ch0_st( &mut self, ) -> PDMA_AXI_EVT_IN_SUC_EOF_CH0_ST_W { @@ -455,7 +450,6 @@ impl W { } #[doc = "Bit 5 - Represents PDMA_AXI_evt_in_suc_eof_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_in_suc_eof_ch1_st( &mut self, ) -> PDMA_AXI_EVT_IN_SUC_EOF_CH1_ST_W { @@ -463,7 +457,6 @@ impl W { } #[doc = "Bit 6 - Represents PDMA_AXI_evt_in_suc_eof_ch2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_in_suc_eof_ch2_st( &mut self, ) -> PDMA_AXI_EVT_IN_SUC_EOF_CH2_ST_W { @@ -471,7 +464,6 @@ impl W { } #[doc = "Bit 7 - Represents PDMA_AXI_evt_in_fifo_empty_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_in_fifo_empty_ch0_st( &mut self, ) -> PDMA_AXI_EVT_IN_FIFO_EMPTY_CH0_ST_W { @@ -479,7 +471,6 @@ impl W { } #[doc = "Bit 8 - Represents PDMA_AXI_evt_in_fifo_empty_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_in_fifo_empty_ch1_st( &mut self, ) -> PDMA_AXI_EVT_IN_FIFO_EMPTY_CH1_ST_W { @@ -487,7 +478,6 @@ impl W { } #[doc = "Bit 9 - Represents PDMA_AXI_evt_in_fifo_empty_ch2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_in_fifo_empty_ch2_st( &mut self, ) -> PDMA_AXI_EVT_IN_FIFO_EMPTY_CH2_ST_W { @@ -495,7 +485,6 @@ impl W { } #[doc = "Bit 10 - Represents PDMA_AXI_evt_in_fifo_full_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_in_fifo_full_ch0_st( &mut self, ) -> PDMA_AXI_EVT_IN_FIFO_FULL_CH0_ST_W { @@ -503,7 +492,6 @@ impl W { } #[doc = "Bit 11 - Represents PDMA_AXI_evt_in_fifo_full_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_in_fifo_full_ch1_st( &mut self, ) -> PDMA_AXI_EVT_IN_FIFO_FULL_CH1_ST_W { @@ -511,7 +499,6 @@ impl W { } #[doc = "Bit 12 - Represents PDMA_AXI_evt_in_fifo_full_ch2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_in_fifo_full_ch2_st( &mut self, ) -> PDMA_AXI_EVT_IN_FIFO_FULL_CH2_ST_W { @@ -519,43 +506,36 @@ impl W { } #[doc = "Bit 13 - Represents PDMA_AXI_evt_out_done_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_out_done_ch0_st(&mut self) -> PDMA_AXI_EVT_OUT_DONE_CH0_ST_W { PDMA_AXI_EVT_OUT_DONE_CH0_ST_W::new(self, 13) } #[doc = "Bit 14 - Represents PDMA_AXI_evt_out_done_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_out_done_ch1_st(&mut self) -> PDMA_AXI_EVT_OUT_DONE_CH1_ST_W { PDMA_AXI_EVT_OUT_DONE_CH1_ST_W::new(self, 14) } #[doc = "Bit 15 - Represents PDMA_AXI_evt_out_done_ch2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_out_done_ch2_st(&mut self) -> PDMA_AXI_EVT_OUT_DONE_CH2_ST_W { PDMA_AXI_EVT_OUT_DONE_CH2_ST_W::new(self, 15) } #[doc = "Bit 16 - Represents PDMA_AXI_evt_out_eof_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_out_eof_ch0_st(&mut self) -> PDMA_AXI_EVT_OUT_EOF_CH0_ST_W { PDMA_AXI_EVT_OUT_EOF_CH0_ST_W::new(self, 16) } #[doc = "Bit 17 - Represents PDMA_AXI_evt_out_eof_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_out_eof_ch1_st(&mut self) -> PDMA_AXI_EVT_OUT_EOF_CH1_ST_W { PDMA_AXI_EVT_OUT_EOF_CH1_ST_W::new(self, 17) } #[doc = "Bit 18 - Represents PDMA_AXI_evt_out_eof_ch2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_out_eof_ch2_st(&mut self) -> PDMA_AXI_EVT_OUT_EOF_CH2_ST_W { PDMA_AXI_EVT_OUT_EOF_CH2_ST_W::new(self, 18) } #[doc = "Bit 19 - Represents PDMA_AXI_evt_out_total_eof_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_out_total_eof_ch0_st( &mut self, ) -> PDMA_AXI_EVT_OUT_TOTAL_EOF_CH0_ST_W { @@ -563,7 +543,6 @@ impl W { } #[doc = "Bit 20 - Represents PDMA_AXI_evt_out_total_eof_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_out_total_eof_ch1_st( &mut self, ) -> PDMA_AXI_EVT_OUT_TOTAL_EOF_CH1_ST_W { @@ -571,7 +550,6 @@ impl W { } #[doc = "Bit 21 - Represents PDMA_AXI_evt_out_total_eof_ch2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_out_total_eof_ch2_st( &mut self, ) -> PDMA_AXI_EVT_OUT_TOTAL_EOF_CH2_ST_W { @@ -579,7 +557,6 @@ impl W { } #[doc = "Bit 22 - Represents PDMA_AXI_evt_out_fifo_empty_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_out_fifo_empty_ch0_st( &mut self, ) -> PDMA_AXI_EVT_OUT_FIFO_EMPTY_CH0_ST_W { @@ -587,7 +564,6 @@ impl W { } #[doc = "Bit 23 - Represents PDMA_AXI_evt_out_fifo_empty_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_out_fifo_empty_ch1_st( &mut self, ) -> PDMA_AXI_EVT_OUT_FIFO_EMPTY_CH1_ST_W { @@ -595,7 +571,6 @@ impl W { } #[doc = "Bit 24 - Represents PDMA_AXI_evt_out_fifo_empty_ch2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_out_fifo_empty_ch2_st( &mut self, ) -> PDMA_AXI_EVT_OUT_FIFO_EMPTY_CH2_ST_W { @@ -603,7 +578,6 @@ impl W { } #[doc = "Bit 25 - Represents PDMA_AXI_evt_out_fifo_full_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_out_fifo_full_ch0_st( &mut self, ) -> PDMA_AXI_EVT_OUT_FIFO_FULL_CH0_ST_W { @@ -611,7 +585,6 @@ impl W { } #[doc = "Bit 26 - Represents PDMA_AXI_evt_out_fifo_full_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_out_fifo_full_ch1_st( &mut self, ) -> PDMA_AXI_EVT_OUT_FIFO_FULL_CH1_ST_W { @@ -619,7 +592,6 @@ impl W { } #[doc = "Bit 27 - Represents PDMA_AXI_evt_out_fifo_full_ch2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_out_fifo_full_ch2_st( &mut self, ) -> PDMA_AXI_EVT_OUT_FIFO_FULL_CH2_ST_W { @@ -627,25 +599,21 @@ impl W { } #[doc = "Bit 28 - Represents PMU_evt_sleep_weekup trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pmu_evt_sleep_weekup_st(&mut self) -> PMU_EVT_SLEEP_WEEKUP_ST_W { PMU_EVT_SLEEP_WEEKUP_ST_W::new(self, 28) } #[doc = "Bit 29 - Represents DMA2D_evt_in_done_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn dma2d_evt_in_done_ch0_st(&mut self) -> DMA2D_EVT_IN_DONE_CH0_ST_W { DMA2D_EVT_IN_DONE_CH0_ST_W::new(self, 29) } #[doc = "Bit 30 - Represents DMA2D_evt_in_done_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn dma2d_evt_in_done_ch1_st(&mut self) -> DMA2D_EVT_IN_DONE_CH1_ST_W { DMA2D_EVT_IN_DONE_CH1_ST_W::new(self, 30) } #[doc = "Bit 31 - Represents DMA2D_evt_in_suc_eof_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn dma2d_evt_in_suc_eof_ch0_st(&mut self) -> DMA2D_EVT_IN_SUC_EOF_CH0_ST_W { DMA2D_EVT_IN_SUC_EOF_CH0_ST_W::new(self, 31) } diff --git a/esp32p4/src/soc_etm/evt_st6_clr.rs b/esp32p4/src/soc_etm/evt_st6_clr.rs index 888edba92c..20d0aa90e4 100644 --- a/esp32p4/src/soc_etm/evt_st6_clr.rs +++ b/esp32p4/src/soc_etm/evt_st6_clr.rs @@ -73,7 +73,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Configures whether or not to clear PDMA_AHB_evt_out_fifo_full_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_ahb_evt_out_fifo_full_ch2_st_clr( &mut self, ) -> PDMA_AHB_EVT_OUT_FIFO_FULL_CH2_ST_CLR_W { @@ -81,7 +80,6 @@ impl W { } #[doc = "Bit 1 - Configures whether or not to clear PDMA_AXI_evt_in_done_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_in_done_ch0_st_clr( &mut self, ) -> PDMA_AXI_EVT_IN_DONE_CH0_ST_CLR_W { @@ -89,7 +87,6 @@ impl W { } #[doc = "Bit 2 - Configures whether or not to clear PDMA_AXI_evt_in_done_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_in_done_ch1_st_clr( &mut self, ) -> PDMA_AXI_EVT_IN_DONE_CH1_ST_CLR_W { @@ -97,7 +94,6 @@ impl W { } #[doc = "Bit 3 - Configures whether or not to clear PDMA_AXI_evt_in_done_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_in_done_ch2_st_clr( &mut self, ) -> PDMA_AXI_EVT_IN_DONE_CH2_ST_CLR_W { @@ -105,7 +101,6 @@ impl W { } #[doc = "Bit 4 - Configures whether or not to clear PDMA_AXI_evt_in_suc_eof_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_in_suc_eof_ch0_st_clr( &mut self, ) -> PDMA_AXI_EVT_IN_SUC_EOF_CH0_ST_CLR_W { @@ -113,7 +108,6 @@ impl W { } #[doc = "Bit 5 - Configures whether or not to clear PDMA_AXI_evt_in_suc_eof_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_in_suc_eof_ch1_st_clr( &mut self, ) -> PDMA_AXI_EVT_IN_SUC_EOF_CH1_ST_CLR_W { @@ -121,7 +115,6 @@ impl W { } #[doc = "Bit 6 - Configures whether or not to clear PDMA_AXI_evt_in_suc_eof_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_in_suc_eof_ch2_st_clr( &mut self, ) -> PDMA_AXI_EVT_IN_SUC_EOF_CH2_ST_CLR_W { @@ -129,7 +122,6 @@ impl W { } #[doc = "Bit 7 - Configures whether or not to clear PDMA_AXI_evt_in_fifo_empty_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_in_fifo_empty_ch0_st_clr( &mut self, ) -> PDMA_AXI_EVT_IN_FIFO_EMPTY_CH0_ST_CLR_W { @@ -137,7 +129,6 @@ impl W { } #[doc = "Bit 8 - Configures whether or not to clear PDMA_AXI_evt_in_fifo_empty_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_in_fifo_empty_ch1_st_clr( &mut self, ) -> PDMA_AXI_EVT_IN_FIFO_EMPTY_CH1_ST_CLR_W { @@ -145,7 +136,6 @@ impl W { } #[doc = "Bit 9 - Configures whether or not to clear PDMA_AXI_evt_in_fifo_empty_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_in_fifo_empty_ch2_st_clr( &mut self, ) -> PDMA_AXI_EVT_IN_FIFO_EMPTY_CH2_ST_CLR_W { @@ -153,7 +143,6 @@ impl W { } #[doc = "Bit 10 - Configures whether or not to clear PDMA_AXI_evt_in_fifo_full_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_in_fifo_full_ch0_st_clr( &mut self, ) -> PDMA_AXI_EVT_IN_FIFO_FULL_CH0_ST_CLR_W { @@ -161,7 +150,6 @@ impl W { } #[doc = "Bit 11 - Configures whether or not to clear PDMA_AXI_evt_in_fifo_full_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_in_fifo_full_ch1_st_clr( &mut self, ) -> PDMA_AXI_EVT_IN_FIFO_FULL_CH1_ST_CLR_W { @@ -169,7 +157,6 @@ impl W { } #[doc = "Bit 12 - Configures whether or not to clear PDMA_AXI_evt_in_fifo_full_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_in_fifo_full_ch2_st_clr( &mut self, ) -> PDMA_AXI_EVT_IN_FIFO_FULL_CH2_ST_CLR_W { @@ -177,7 +164,6 @@ impl W { } #[doc = "Bit 13 - Configures whether or not to clear PDMA_AXI_evt_out_done_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_out_done_ch0_st_clr( &mut self, ) -> PDMA_AXI_EVT_OUT_DONE_CH0_ST_CLR_W { @@ -185,7 +171,6 @@ impl W { } #[doc = "Bit 14 - Configures whether or not to clear PDMA_AXI_evt_out_done_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_out_done_ch1_st_clr( &mut self, ) -> PDMA_AXI_EVT_OUT_DONE_CH1_ST_CLR_W { @@ -193,7 +178,6 @@ impl W { } #[doc = "Bit 15 - Configures whether or not to clear PDMA_AXI_evt_out_done_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_out_done_ch2_st_clr( &mut self, ) -> PDMA_AXI_EVT_OUT_DONE_CH2_ST_CLR_W { @@ -201,7 +185,6 @@ impl W { } #[doc = "Bit 16 - Configures whether or not to clear PDMA_AXI_evt_out_eof_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_out_eof_ch0_st_clr( &mut self, ) -> PDMA_AXI_EVT_OUT_EOF_CH0_ST_CLR_W { @@ -209,7 +192,6 @@ impl W { } #[doc = "Bit 17 - Configures whether or not to clear PDMA_AXI_evt_out_eof_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_out_eof_ch1_st_clr( &mut self, ) -> PDMA_AXI_EVT_OUT_EOF_CH1_ST_CLR_W { @@ -217,7 +199,6 @@ impl W { } #[doc = "Bit 18 - Configures whether or not to clear PDMA_AXI_evt_out_eof_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_out_eof_ch2_st_clr( &mut self, ) -> PDMA_AXI_EVT_OUT_EOF_CH2_ST_CLR_W { @@ -225,7 +206,6 @@ impl W { } #[doc = "Bit 19 - Configures whether or not to clear PDMA_AXI_evt_out_total_eof_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_out_total_eof_ch0_st_clr( &mut self, ) -> PDMA_AXI_EVT_OUT_TOTAL_EOF_CH0_ST_CLR_W { @@ -233,7 +213,6 @@ impl W { } #[doc = "Bit 20 - Configures whether or not to clear PDMA_AXI_evt_out_total_eof_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_out_total_eof_ch1_st_clr( &mut self, ) -> PDMA_AXI_EVT_OUT_TOTAL_EOF_CH1_ST_CLR_W { @@ -241,7 +220,6 @@ impl W { } #[doc = "Bit 21 - Configures whether or not to clear PDMA_AXI_evt_out_total_eof_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_out_total_eof_ch2_st_clr( &mut self, ) -> PDMA_AXI_EVT_OUT_TOTAL_EOF_CH2_ST_CLR_W { @@ -249,7 +227,6 @@ impl W { } #[doc = "Bit 22 - Configures whether or not to clear PDMA_AXI_evt_out_fifo_empty_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_out_fifo_empty_ch0_st_clr( &mut self, ) -> PDMA_AXI_EVT_OUT_FIFO_EMPTY_CH0_ST_CLR_W { @@ -257,7 +234,6 @@ impl W { } #[doc = "Bit 23 - Configures whether or not to clear PDMA_AXI_evt_out_fifo_empty_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_out_fifo_empty_ch1_st_clr( &mut self, ) -> PDMA_AXI_EVT_OUT_FIFO_EMPTY_CH1_ST_CLR_W { @@ -265,7 +241,6 @@ impl W { } #[doc = "Bit 24 - Configures whether or not to clear PDMA_AXI_evt_out_fifo_empty_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_out_fifo_empty_ch2_st_clr( &mut self, ) -> PDMA_AXI_EVT_OUT_FIFO_EMPTY_CH2_ST_CLR_W { @@ -273,7 +248,6 @@ impl W { } #[doc = "Bit 25 - Configures whether or not to clear PDMA_AXI_evt_out_fifo_full_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_out_fifo_full_ch0_st_clr( &mut self, ) -> PDMA_AXI_EVT_OUT_FIFO_FULL_CH0_ST_CLR_W { @@ -281,7 +255,6 @@ impl W { } #[doc = "Bit 26 - Configures whether or not to clear PDMA_AXI_evt_out_fifo_full_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_out_fifo_full_ch1_st_clr( &mut self, ) -> PDMA_AXI_EVT_OUT_FIFO_FULL_CH1_ST_CLR_W { @@ -289,7 +262,6 @@ impl W { } #[doc = "Bit 27 - Configures whether or not to clear PDMA_AXI_evt_out_fifo_full_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_axi_evt_out_fifo_full_ch2_st_clr( &mut self, ) -> PDMA_AXI_EVT_OUT_FIFO_FULL_CH2_ST_CLR_W { @@ -297,7 +269,6 @@ impl W { } #[doc = "Bit 28 - Configures whether or not to clear PMU_evt_sleep_weekup trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pmu_evt_sleep_weekup_st_clr( &mut self, ) -> PMU_EVT_SLEEP_WEEKUP_ST_CLR_W { @@ -305,7 +276,6 @@ impl W { } #[doc = "Bit 29 - Configures whether or not to clear DMA2D_evt_in_done_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn dma2d_evt_in_done_ch0_st_clr( &mut self, ) -> DMA2D_EVT_IN_DONE_CH0_ST_CLR_W { @@ -313,7 +283,6 @@ impl W { } #[doc = "Bit 30 - Configures whether or not to clear DMA2D_evt_in_done_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn dma2d_evt_in_done_ch1_st_clr( &mut self, ) -> DMA2D_EVT_IN_DONE_CH1_ST_CLR_W { @@ -321,7 +290,6 @@ impl W { } #[doc = "Bit 31 - Configures whether or not to clear DMA2D_evt_in_suc_eof_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn dma2d_evt_in_suc_eof_ch0_st_clr( &mut self, ) -> DMA2D_EVT_IN_SUC_EOF_CH0_ST_CLR_W { diff --git a/esp32p4/src/soc_etm/evt_st7.rs b/esp32p4/src/soc_etm/evt_st7.rs index 4468ed559a..e4c90b68ba 100644 --- a/esp32p4/src/soc_etm/evt_st7.rs +++ b/esp32p4/src/soc_etm/evt_st7.rs @@ -135,49 +135,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Represents DMA2D_evt_in_suc_eof_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn dma2d_evt_in_suc_eof_ch1_st(&mut self) -> DMA2D_EVT_IN_SUC_EOF_CH1_ST_W { DMA2D_EVT_IN_SUC_EOF_CH1_ST_W::new(self, 0) } #[doc = "Bit 1 - Represents DMA2D_evt_out_done_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn dma2d_evt_out_done_ch0_st(&mut self) -> DMA2D_EVT_OUT_DONE_CH0_ST_W { DMA2D_EVT_OUT_DONE_CH0_ST_W::new(self, 1) } #[doc = "Bit 2 - Represents DMA2D_evt_out_done_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn dma2d_evt_out_done_ch1_st(&mut self) -> DMA2D_EVT_OUT_DONE_CH1_ST_W { DMA2D_EVT_OUT_DONE_CH1_ST_W::new(self, 2) } #[doc = "Bit 3 - Represents DMA2D_evt_out_done_ch2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn dma2d_evt_out_done_ch2_st(&mut self) -> DMA2D_EVT_OUT_DONE_CH2_ST_W { DMA2D_EVT_OUT_DONE_CH2_ST_W::new(self, 3) } #[doc = "Bit 4 - Represents DMA2D_evt_out_eof_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn dma2d_evt_out_eof_ch0_st(&mut self) -> DMA2D_EVT_OUT_EOF_CH0_ST_W { DMA2D_EVT_OUT_EOF_CH0_ST_W::new(self, 4) } #[doc = "Bit 5 - Represents DMA2D_evt_out_eof_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn dma2d_evt_out_eof_ch1_st(&mut self) -> DMA2D_EVT_OUT_EOF_CH1_ST_W { DMA2D_EVT_OUT_EOF_CH1_ST_W::new(self, 5) } #[doc = "Bit 6 - Represents DMA2D_evt_out_eof_ch2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn dma2d_evt_out_eof_ch2_st(&mut self) -> DMA2D_EVT_OUT_EOF_CH2_ST_W { DMA2D_EVT_OUT_EOF_CH2_ST_W::new(self, 6) } #[doc = "Bit 7 - Represents DMA2D_evt_out_total_eof_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn dma2d_evt_out_total_eof_ch0_st( &mut self, ) -> DMA2D_EVT_OUT_TOTAL_EOF_CH0_ST_W { @@ -185,7 +177,6 @@ impl W { } #[doc = "Bit 8 - Represents DMA2D_evt_out_total_eof_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn dma2d_evt_out_total_eof_ch1_st( &mut self, ) -> DMA2D_EVT_OUT_TOTAL_EOF_CH1_ST_W { @@ -193,7 +184,6 @@ impl W { } #[doc = "Bit 9 - Represents DMA2D_evt_out_total_eof_ch2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn dma2d_evt_out_total_eof_ch2_st( &mut self, ) -> DMA2D_EVT_OUT_TOTAL_EOF_CH2_ST_W { diff --git a/esp32p4/src/soc_etm/evt_st7_clr.rs b/esp32p4/src/soc_etm/evt_st7_clr.rs index 0ab3b2bab1..133222d481 100644 --- a/esp32p4/src/soc_etm/evt_st7_clr.rs +++ b/esp32p4/src/soc_etm/evt_st7_clr.rs @@ -29,7 +29,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Configures whether or not to clear DMA2D_evt_in_suc_eof_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn dma2d_evt_in_suc_eof_ch1_st_clr( &mut self, ) -> DMA2D_EVT_IN_SUC_EOF_CH1_ST_CLR_W { @@ -37,7 +36,6 @@ impl W { } #[doc = "Bit 1 - Configures whether or not to clear DMA2D_evt_out_done_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn dma2d_evt_out_done_ch0_st_clr( &mut self, ) -> DMA2D_EVT_OUT_DONE_CH0_ST_CLR_W { @@ -45,7 +43,6 @@ impl W { } #[doc = "Bit 2 - Configures whether or not to clear DMA2D_evt_out_done_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn dma2d_evt_out_done_ch1_st_clr( &mut self, ) -> DMA2D_EVT_OUT_DONE_CH1_ST_CLR_W { @@ -53,7 +50,6 @@ impl W { } #[doc = "Bit 3 - Configures whether or not to clear DMA2D_evt_out_done_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn dma2d_evt_out_done_ch2_st_clr( &mut self, ) -> DMA2D_EVT_OUT_DONE_CH2_ST_CLR_W { @@ -61,7 +57,6 @@ impl W { } #[doc = "Bit 4 - Configures whether or not to clear DMA2D_evt_out_eof_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn dma2d_evt_out_eof_ch0_st_clr( &mut self, ) -> DMA2D_EVT_OUT_EOF_CH0_ST_CLR_W { @@ -69,7 +64,6 @@ impl W { } #[doc = "Bit 5 - Configures whether or not to clear DMA2D_evt_out_eof_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn dma2d_evt_out_eof_ch1_st_clr( &mut self, ) -> DMA2D_EVT_OUT_EOF_CH1_ST_CLR_W { @@ -77,7 +71,6 @@ impl W { } #[doc = "Bit 6 - Configures whether or not to clear DMA2D_evt_out_eof_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn dma2d_evt_out_eof_ch2_st_clr( &mut self, ) -> DMA2D_EVT_OUT_EOF_CH2_ST_CLR_W { @@ -85,7 +78,6 @@ impl W { } #[doc = "Bit 7 - Configures whether or not to clear DMA2D_evt_out_total_eof_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn dma2d_evt_out_total_eof_ch0_st_clr( &mut self, ) -> DMA2D_EVT_OUT_TOTAL_EOF_CH0_ST_CLR_W { @@ -93,7 +85,6 @@ impl W { } #[doc = "Bit 8 - Configures whether or not to clear DMA2D_evt_out_total_eof_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn dma2d_evt_out_total_eof_ch1_st_clr( &mut self, ) -> DMA2D_EVT_OUT_TOTAL_EOF_CH1_ST_CLR_W { @@ -101,7 +92,6 @@ impl W { } #[doc = "Bit 9 - Configures whether or not to clear DMA2D_evt_out_total_eof_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn dma2d_evt_out_total_eof_ch2_st_clr( &mut self, ) -> DMA2D_EVT_OUT_TOTAL_EOF_CH2_ST_CLR_W { diff --git a/esp32p4/src/soc_etm/task_st0.rs b/esp32p4/src/soc_etm/task_st0.rs index b85af36fde..a8dbaa8a41 100644 --- a/esp32p4/src/soc_etm/task_st0.rs +++ b/esp32p4/src/soc_etm/task_st0.rs @@ -358,151 +358,126 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Represents GPIO_task_ch0_set trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_task_ch0_set_st(&mut self) -> GPIO_TASK_CH0_SET_ST_W { GPIO_TASK_CH0_SET_ST_W::new(self, 0) } #[doc = "Bit 1 - Represents GPIO_task_ch1_set trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_task_ch1_set_st(&mut self) -> GPIO_TASK_CH1_SET_ST_W { GPIO_TASK_CH1_SET_ST_W::new(self, 1) } #[doc = "Bit 2 - Represents GPIO_task_ch2_set trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_task_ch2_set_st(&mut self) -> GPIO_TASK_CH2_SET_ST_W { GPIO_TASK_CH2_SET_ST_W::new(self, 2) } #[doc = "Bit 3 - Represents GPIO_task_ch3_set trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_task_ch3_set_st(&mut self) -> GPIO_TASK_CH3_SET_ST_W { GPIO_TASK_CH3_SET_ST_W::new(self, 3) } #[doc = "Bit 4 - Represents GPIO_task_ch4_set trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_task_ch4_set_st(&mut self) -> GPIO_TASK_CH4_SET_ST_W { GPIO_TASK_CH4_SET_ST_W::new(self, 4) } #[doc = "Bit 5 - Represents GPIO_task_ch5_set trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_task_ch5_set_st(&mut self) -> GPIO_TASK_CH5_SET_ST_W { GPIO_TASK_CH5_SET_ST_W::new(self, 5) } #[doc = "Bit 6 - Represents GPIO_task_ch6_set trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_task_ch6_set_st(&mut self) -> GPIO_TASK_CH6_SET_ST_W { GPIO_TASK_CH6_SET_ST_W::new(self, 6) } #[doc = "Bit 7 - Represents GPIO_task_ch7_set trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_task_ch7_set_st(&mut self) -> GPIO_TASK_CH7_SET_ST_W { GPIO_TASK_CH7_SET_ST_W::new(self, 7) } #[doc = "Bit 8 - Represents GPIO_task_ch0_clear trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_task_ch0_clear_st(&mut self) -> GPIO_TASK_CH0_CLEAR_ST_W { GPIO_TASK_CH0_CLEAR_ST_W::new(self, 8) } #[doc = "Bit 9 - Represents GPIO_task_ch1_clear trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_task_ch1_clear_st(&mut self) -> GPIO_TASK_CH1_CLEAR_ST_W { GPIO_TASK_CH1_CLEAR_ST_W::new(self, 9) } #[doc = "Bit 10 - Represents GPIO_task_ch2_clear trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_task_ch2_clear_st(&mut self) -> GPIO_TASK_CH2_CLEAR_ST_W { GPIO_TASK_CH2_CLEAR_ST_W::new(self, 10) } #[doc = "Bit 11 - Represents GPIO_task_ch3_clear trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_task_ch3_clear_st(&mut self) -> GPIO_TASK_CH3_CLEAR_ST_W { GPIO_TASK_CH3_CLEAR_ST_W::new(self, 11) } #[doc = "Bit 12 - Represents GPIO_task_ch4_clear trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_task_ch4_clear_st(&mut self) -> GPIO_TASK_CH4_CLEAR_ST_W { GPIO_TASK_CH4_CLEAR_ST_W::new(self, 12) } #[doc = "Bit 13 - Represents GPIO_task_ch5_clear trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_task_ch5_clear_st(&mut self) -> GPIO_TASK_CH5_CLEAR_ST_W { GPIO_TASK_CH5_CLEAR_ST_W::new(self, 13) } #[doc = "Bit 14 - Represents GPIO_task_ch6_clear trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_task_ch6_clear_st(&mut self) -> GPIO_TASK_CH6_CLEAR_ST_W { GPIO_TASK_CH6_CLEAR_ST_W::new(self, 14) } #[doc = "Bit 15 - Represents GPIO_task_ch7_clear trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_task_ch7_clear_st(&mut self) -> GPIO_TASK_CH7_CLEAR_ST_W { GPIO_TASK_CH7_CLEAR_ST_W::new(self, 15) } #[doc = "Bit 16 - Represents GPIO_task_ch0_toggle trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_task_ch0_toggle_st(&mut self) -> GPIO_TASK_CH0_TOGGLE_ST_W { GPIO_TASK_CH0_TOGGLE_ST_W::new(self, 16) } #[doc = "Bit 17 - Represents GPIO_task_ch1_toggle trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_task_ch1_toggle_st(&mut self) -> GPIO_TASK_CH1_TOGGLE_ST_W { GPIO_TASK_CH1_TOGGLE_ST_W::new(self, 17) } #[doc = "Bit 18 - Represents GPIO_task_ch2_toggle trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_task_ch2_toggle_st(&mut self) -> GPIO_TASK_CH2_TOGGLE_ST_W { GPIO_TASK_CH2_TOGGLE_ST_W::new(self, 18) } #[doc = "Bit 19 - Represents GPIO_task_ch3_toggle trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_task_ch3_toggle_st(&mut self) -> GPIO_TASK_CH3_TOGGLE_ST_W { GPIO_TASK_CH3_TOGGLE_ST_W::new(self, 19) } #[doc = "Bit 20 - Represents GPIO_task_ch4_toggle trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_task_ch4_toggle_st(&mut self) -> GPIO_TASK_CH4_TOGGLE_ST_W { GPIO_TASK_CH4_TOGGLE_ST_W::new(self, 20) } #[doc = "Bit 21 - Represents GPIO_task_ch5_toggle trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_task_ch5_toggle_st(&mut self) -> GPIO_TASK_CH5_TOGGLE_ST_W { GPIO_TASK_CH5_TOGGLE_ST_W::new(self, 21) } #[doc = "Bit 22 - Represents GPIO_task_ch6_toggle trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_task_ch6_toggle_st(&mut self) -> GPIO_TASK_CH6_TOGGLE_ST_W { GPIO_TASK_CH6_TOGGLE_ST_W::new(self, 22) } #[doc = "Bit 23 - Represents GPIO_task_ch7_toggle trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn gpio_task_ch7_toggle_st(&mut self) -> GPIO_TASK_CH7_TOGGLE_ST_W { GPIO_TASK_CH7_TOGGLE_ST_W::new(self, 23) } #[doc = "Bit 24 - Represents LEDC_task_timer0_res_update trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_timer0_res_update_st( &mut self, ) -> LEDC_TASK_TIMER0_RES_UPDATE_ST_W { @@ -510,7 +485,6 @@ impl W { } #[doc = "Bit 25 - Represents LEDC_task_timer1_res_update trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_timer1_res_update_st( &mut self, ) -> LEDC_TASK_TIMER1_RES_UPDATE_ST_W { @@ -518,7 +492,6 @@ impl W { } #[doc = "Bit 26 - Represents LEDC_task_timer2_res_update trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_timer2_res_update_st( &mut self, ) -> LEDC_TASK_TIMER2_RES_UPDATE_ST_W { @@ -526,7 +499,6 @@ impl W { } #[doc = "Bit 27 - Represents LEDC_task_timer3_res_update trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_timer3_res_update_st( &mut self, ) -> LEDC_TASK_TIMER3_RES_UPDATE_ST_W { @@ -534,7 +506,6 @@ impl W { } #[doc = "Bit 28 - Represents LEDC_task_duty_scale_update_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_duty_scale_update_ch0_st( &mut self, ) -> LEDC_TASK_DUTY_SCALE_UPDATE_CH0_ST_W { @@ -542,7 +513,6 @@ impl W { } #[doc = "Bit 29 - Represents LEDC_task_duty_scale_update_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_duty_scale_update_ch1_st( &mut self, ) -> LEDC_TASK_DUTY_SCALE_UPDATE_CH1_ST_W { @@ -550,7 +520,6 @@ impl W { } #[doc = "Bit 30 - Represents LEDC_task_duty_scale_update_ch2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_duty_scale_update_ch2_st( &mut self, ) -> LEDC_TASK_DUTY_SCALE_UPDATE_CH2_ST_W { @@ -558,7 +527,6 @@ impl W { } #[doc = "Bit 31 - Represents LEDC_task_duty_scale_update_ch3 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_duty_scale_update_ch3_st( &mut self, ) -> LEDC_TASK_DUTY_SCALE_UPDATE_CH3_ST_W { diff --git a/esp32p4/src/soc_etm/task_st0_clr.rs b/esp32p4/src/soc_etm/task_st0_clr.rs index 87714ddb32..1d12341508 100644 --- a/esp32p4/src/soc_etm/task_st0_clr.rs +++ b/esp32p4/src/soc_etm/task_st0_clr.rs @@ -73,55 +73,46 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Configures whether or not to clear GPIO_task_ch0_set trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_task_ch0_set_st_clr(&mut self) -> GPIO_TASK_CH0_SET_ST_CLR_W { GPIO_TASK_CH0_SET_ST_CLR_W::new(self, 0) } #[doc = "Bit 1 - Configures whether or not to clear GPIO_task_ch1_set trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_task_ch1_set_st_clr(&mut self) -> GPIO_TASK_CH1_SET_ST_CLR_W { GPIO_TASK_CH1_SET_ST_CLR_W::new(self, 1) } #[doc = "Bit 2 - Configures whether or not to clear GPIO_task_ch2_set trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_task_ch2_set_st_clr(&mut self) -> GPIO_TASK_CH2_SET_ST_CLR_W { GPIO_TASK_CH2_SET_ST_CLR_W::new(self, 2) } #[doc = "Bit 3 - Configures whether or not to clear GPIO_task_ch3_set trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_task_ch3_set_st_clr(&mut self) -> GPIO_TASK_CH3_SET_ST_CLR_W { GPIO_TASK_CH3_SET_ST_CLR_W::new(self, 3) } #[doc = "Bit 4 - Configures whether or not to clear GPIO_task_ch4_set trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_task_ch4_set_st_clr(&mut self) -> GPIO_TASK_CH4_SET_ST_CLR_W { GPIO_TASK_CH4_SET_ST_CLR_W::new(self, 4) } #[doc = "Bit 5 - Configures whether or not to clear GPIO_task_ch5_set trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_task_ch5_set_st_clr(&mut self) -> GPIO_TASK_CH5_SET_ST_CLR_W { GPIO_TASK_CH5_SET_ST_CLR_W::new(self, 5) } #[doc = "Bit 6 - Configures whether or not to clear GPIO_task_ch6_set trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_task_ch6_set_st_clr(&mut self) -> GPIO_TASK_CH6_SET_ST_CLR_W { GPIO_TASK_CH6_SET_ST_CLR_W::new(self, 6) } #[doc = "Bit 7 - Configures whether or not to clear GPIO_task_ch7_set trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_task_ch7_set_st_clr(&mut self) -> GPIO_TASK_CH7_SET_ST_CLR_W { GPIO_TASK_CH7_SET_ST_CLR_W::new(self, 7) } #[doc = "Bit 8 - Configures whether or not to clear GPIO_task_ch0_clear trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_task_ch0_clear_st_clr( &mut self, ) -> GPIO_TASK_CH0_CLEAR_ST_CLR_W { @@ -129,7 +120,6 @@ impl W { } #[doc = "Bit 9 - Configures whether or not to clear GPIO_task_ch1_clear trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_task_ch1_clear_st_clr( &mut self, ) -> GPIO_TASK_CH1_CLEAR_ST_CLR_W { @@ -137,7 +127,6 @@ impl W { } #[doc = "Bit 10 - Configures whether or not to clear GPIO_task_ch2_clear trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_task_ch2_clear_st_clr( &mut self, ) -> GPIO_TASK_CH2_CLEAR_ST_CLR_W { @@ -145,7 +134,6 @@ impl W { } #[doc = "Bit 11 - Configures whether or not to clear GPIO_task_ch3_clear trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_task_ch3_clear_st_clr( &mut self, ) -> GPIO_TASK_CH3_CLEAR_ST_CLR_W { @@ -153,7 +141,6 @@ impl W { } #[doc = "Bit 12 - Configures whether or not to clear GPIO_task_ch4_clear trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_task_ch4_clear_st_clr( &mut self, ) -> GPIO_TASK_CH4_CLEAR_ST_CLR_W { @@ -161,7 +148,6 @@ impl W { } #[doc = "Bit 13 - Configures whether or not to clear GPIO_task_ch5_clear trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_task_ch5_clear_st_clr( &mut self, ) -> GPIO_TASK_CH5_CLEAR_ST_CLR_W { @@ -169,7 +155,6 @@ impl W { } #[doc = "Bit 14 - Configures whether or not to clear GPIO_task_ch6_clear trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_task_ch6_clear_st_clr( &mut self, ) -> GPIO_TASK_CH6_CLEAR_ST_CLR_W { @@ -177,7 +162,6 @@ impl W { } #[doc = "Bit 15 - Configures whether or not to clear GPIO_task_ch7_clear trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_task_ch7_clear_st_clr( &mut self, ) -> GPIO_TASK_CH7_CLEAR_ST_CLR_W { @@ -185,7 +169,6 @@ impl W { } #[doc = "Bit 16 - Configures whether or not to clear GPIO_task_ch0_toggle trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_task_ch0_toggle_st_clr( &mut self, ) -> GPIO_TASK_CH0_TOGGLE_ST_CLR_W { @@ -193,7 +176,6 @@ impl W { } #[doc = "Bit 17 - Configures whether or not to clear GPIO_task_ch1_toggle trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_task_ch1_toggle_st_clr( &mut self, ) -> GPIO_TASK_CH1_TOGGLE_ST_CLR_W { @@ -201,7 +183,6 @@ impl W { } #[doc = "Bit 18 - Configures whether or not to clear GPIO_task_ch2_toggle trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_task_ch2_toggle_st_clr( &mut self, ) -> GPIO_TASK_CH2_TOGGLE_ST_CLR_W { @@ -209,7 +190,6 @@ impl W { } #[doc = "Bit 19 - Configures whether or not to clear GPIO_task_ch3_toggle trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_task_ch3_toggle_st_clr( &mut self, ) -> GPIO_TASK_CH3_TOGGLE_ST_CLR_W { @@ -217,7 +197,6 @@ impl W { } #[doc = "Bit 20 - Configures whether or not to clear GPIO_task_ch4_toggle trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_task_ch4_toggle_st_clr( &mut self, ) -> GPIO_TASK_CH4_TOGGLE_ST_CLR_W { @@ -225,7 +204,6 @@ impl W { } #[doc = "Bit 21 - Configures whether or not to clear GPIO_task_ch5_toggle trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_task_ch5_toggle_st_clr( &mut self, ) -> GPIO_TASK_CH5_TOGGLE_ST_CLR_W { @@ -233,7 +211,6 @@ impl W { } #[doc = "Bit 22 - Configures whether or not to clear GPIO_task_ch6_toggle trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_task_ch6_toggle_st_clr( &mut self, ) -> GPIO_TASK_CH6_TOGGLE_ST_CLR_W { @@ -241,7 +218,6 @@ impl W { } #[doc = "Bit 23 - Configures whether or not to clear GPIO_task_ch7_toggle trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn gpio_task_ch7_toggle_st_clr( &mut self, ) -> GPIO_TASK_CH7_TOGGLE_ST_CLR_W { @@ -249,7 +225,6 @@ impl W { } #[doc = "Bit 24 - Configures whether or not to clear LEDC_task_timer0_res_update trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_timer0_res_update_st_clr( &mut self, ) -> LEDC_TASK_TIMER0_RES_UPDATE_ST_CLR_W { @@ -257,7 +232,6 @@ impl W { } #[doc = "Bit 25 - Configures whether or not to clear LEDC_task_timer1_res_update trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_timer1_res_update_st_clr( &mut self, ) -> LEDC_TASK_TIMER1_RES_UPDATE_ST_CLR_W { @@ -265,7 +239,6 @@ impl W { } #[doc = "Bit 26 - Configures whether or not to clear LEDC_task_timer2_res_update trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_timer2_res_update_st_clr( &mut self, ) -> LEDC_TASK_TIMER2_RES_UPDATE_ST_CLR_W { @@ -273,7 +246,6 @@ impl W { } #[doc = "Bit 27 - Configures whether or not to clear LEDC_task_timer3_res_update trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_timer3_res_update_st_clr( &mut self, ) -> LEDC_TASK_TIMER3_RES_UPDATE_ST_CLR_W { @@ -281,7 +253,6 @@ impl W { } #[doc = "Bit 28 - Configures whether or not to clear LEDC_task_duty_scale_update_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_duty_scale_update_ch0_st_clr( &mut self, ) -> LEDC_TASK_DUTY_SCALE_UPDATE_CH0_ST_CLR_W { @@ -289,7 +260,6 @@ impl W { } #[doc = "Bit 29 - Configures whether or not to clear LEDC_task_duty_scale_update_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_duty_scale_update_ch1_st_clr( &mut self, ) -> LEDC_TASK_DUTY_SCALE_UPDATE_CH1_ST_CLR_W { @@ -297,7 +267,6 @@ impl W { } #[doc = "Bit 30 - Configures whether or not to clear LEDC_task_duty_scale_update_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_duty_scale_update_ch2_st_clr( &mut self, ) -> LEDC_TASK_DUTY_SCALE_UPDATE_CH2_ST_CLR_W { @@ -305,7 +274,6 @@ impl W { } #[doc = "Bit 31 - Configures whether or not to clear LEDC_task_duty_scale_update_ch3 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_duty_scale_update_ch3_st_clr( &mut self, ) -> LEDC_TASK_DUTY_SCALE_UPDATE_CH3_ST_CLR_W { diff --git a/esp32p4/src/soc_etm/task_st1.rs b/esp32p4/src/soc_etm/task_st1.rs index 35bfd93680..e47eeeb678 100644 --- a/esp32p4/src/soc_etm/task_st1.rs +++ b/esp32p4/src/soc_etm/task_st1.rs @@ -406,7 +406,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Represents LEDC_task_duty_scale_update_ch4 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_duty_scale_update_ch4_st( &mut self, ) -> LEDC_TASK_DUTY_SCALE_UPDATE_CH4_ST_W { @@ -414,7 +413,6 @@ impl W { } #[doc = "Bit 1 - Represents LEDC_task_duty_scale_update_ch5 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_duty_scale_update_ch5_st( &mut self, ) -> LEDC_TASK_DUTY_SCALE_UPDATE_CH5_ST_W { @@ -422,7 +420,6 @@ impl W { } #[doc = "Bit 2 - Represents LEDC_task_duty_scale_update_ch6 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_duty_scale_update_ch6_st( &mut self, ) -> LEDC_TASK_DUTY_SCALE_UPDATE_CH6_ST_W { @@ -430,7 +427,6 @@ impl W { } #[doc = "Bit 3 - Represents LEDC_task_duty_scale_update_ch7 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_duty_scale_update_ch7_st( &mut self, ) -> LEDC_TASK_DUTY_SCALE_UPDATE_CH7_ST_W { @@ -438,31 +434,26 @@ impl W { } #[doc = "Bit 4 - Represents LEDC_task_timer0_cap trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_timer0_cap_st(&mut self) -> LEDC_TASK_TIMER0_CAP_ST_W { LEDC_TASK_TIMER0_CAP_ST_W::new(self, 4) } #[doc = "Bit 5 - Represents LEDC_task_timer1_cap trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_timer1_cap_st(&mut self) -> LEDC_TASK_TIMER1_CAP_ST_W { LEDC_TASK_TIMER1_CAP_ST_W::new(self, 5) } #[doc = "Bit 6 - Represents LEDC_task_timer2_cap trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_timer2_cap_st(&mut self) -> LEDC_TASK_TIMER2_CAP_ST_W { LEDC_TASK_TIMER2_CAP_ST_W::new(self, 6) } #[doc = "Bit 7 - Represents LEDC_task_timer3_cap trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_timer3_cap_st(&mut self) -> LEDC_TASK_TIMER3_CAP_ST_W { LEDC_TASK_TIMER3_CAP_ST_W::new(self, 7) } #[doc = "Bit 8 - Represents LEDC_task_sig_out_dis_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_sig_out_dis_ch0_st( &mut self, ) -> LEDC_TASK_SIG_OUT_DIS_CH0_ST_W { @@ -470,7 +461,6 @@ impl W { } #[doc = "Bit 9 - Represents LEDC_task_sig_out_dis_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_sig_out_dis_ch1_st( &mut self, ) -> LEDC_TASK_SIG_OUT_DIS_CH1_ST_W { @@ -478,7 +468,6 @@ impl W { } #[doc = "Bit 10 - Represents LEDC_task_sig_out_dis_ch2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_sig_out_dis_ch2_st( &mut self, ) -> LEDC_TASK_SIG_OUT_DIS_CH2_ST_W { @@ -486,7 +475,6 @@ impl W { } #[doc = "Bit 11 - Represents LEDC_task_sig_out_dis_ch3 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_sig_out_dis_ch3_st( &mut self, ) -> LEDC_TASK_SIG_OUT_DIS_CH3_ST_W { @@ -494,7 +482,6 @@ impl W { } #[doc = "Bit 12 - Represents LEDC_task_sig_out_dis_ch4 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_sig_out_dis_ch4_st( &mut self, ) -> LEDC_TASK_SIG_OUT_DIS_CH4_ST_W { @@ -502,7 +489,6 @@ impl W { } #[doc = "Bit 13 - Represents LEDC_task_sig_out_dis_ch5 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_sig_out_dis_ch5_st( &mut self, ) -> LEDC_TASK_SIG_OUT_DIS_CH5_ST_W { @@ -510,7 +496,6 @@ impl W { } #[doc = "Bit 14 - Represents LEDC_task_sig_out_dis_ch6 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_sig_out_dis_ch6_st( &mut self, ) -> LEDC_TASK_SIG_OUT_DIS_CH6_ST_W { @@ -518,7 +503,6 @@ impl W { } #[doc = "Bit 15 - Represents LEDC_task_sig_out_dis_ch7 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_sig_out_dis_ch7_st( &mut self, ) -> LEDC_TASK_SIG_OUT_DIS_CH7_ST_W { @@ -526,7 +510,6 @@ impl W { } #[doc = "Bit 16 - Represents LEDC_task_ovf_cnt_rst_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_ovf_cnt_rst_ch0_st( &mut self, ) -> LEDC_TASK_OVF_CNT_RST_CH0_ST_W { @@ -534,7 +517,6 @@ impl W { } #[doc = "Bit 17 - Represents LEDC_task_ovf_cnt_rst_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_ovf_cnt_rst_ch1_st( &mut self, ) -> LEDC_TASK_OVF_CNT_RST_CH1_ST_W { @@ -542,7 +524,6 @@ impl W { } #[doc = "Bit 18 - Represents LEDC_task_ovf_cnt_rst_ch2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_ovf_cnt_rst_ch2_st( &mut self, ) -> LEDC_TASK_OVF_CNT_RST_CH2_ST_W { @@ -550,7 +531,6 @@ impl W { } #[doc = "Bit 19 - Represents LEDC_task_ovf_cnt_rst_ch3 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_ovf_cnt_rst_ch3_st( &mut self, ) -> LEDC_TASK_OVF_CNT_RST_CH3_ST_W { @@ -558,7 +538,6 @@ impl W { } #[doc = "Bit 20 - Represents LEDC_task_ovf_cnt_rst_ch4 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_ovf_cnt_rst_ch4_st( &mut self, ) -> LEDC_TASK_OVF_CNT_RST_CH4_ST_W { @@ -566,7 +545,6 @@ impl W { } #[doc = "Bit 21 - Represents LEDC_task_ovf_cnt_rst_ch5 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_ovf_cnt_rst_ch5_st( &mut self, ) -> LEDC_TASK_OVF_CNT_RST_CH5_ST_W { @@ -574,7 +552,6 @@ impl W { } #[doc = "Bit 22 - Represents LEDC_task_ovf_cnt_rst_ch6 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_ovf_cnt_rst_ch6_st( &mut self, ) -> LEDC_TASK_OVF_CNT_RST_CH6_ST_W { @@ -582,7 +559,6 @@ impl W { } #[doc = "Bit 23 - Represents LEDC_task_ovf_cnt_rst_ch7 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_ovf_cnt_rst_ch7_st( &mut self, ) -> LEDC_TASK_OVF_CNT_RST_CH7_ST_W { @@ -590,49 +566,41 @@ impl W { } #[doc = "Bit 24 - Represents LEDC_task_timer0_rst trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_timer0_rst_st(&mut self) -> LEDC_TASK_TIMER0_RST_ST_W { LEDC_TASK_TIMER0_RST_ST_W::new(self, 24) } #[doc = "Bit 25 - Represents LEDC_task_timer1_rst trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_timer1_rst_st(&mut self) -> LEDC_TASK_TIMER1_RST_ST_W { LEDC_TASK_TIMER1_RST_ST_W::new(self, 25) } #[doc = "Bit 26 - Represents LEDC_task_timer2_rst trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_timer2_rst_st(&mut self) -> LEDC_TASK_TIMER2_RST_ST_W { LEDC_TASK_TIMER2_RST_ST_W::new(self, 26) } #[doc = "Bit 27 - Represents LEDC_task_timer3_rst trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_timer3_rst_st(&mut self) -> LEDC_TASK_TIMER3_RST_ST_W { LEDC_TASK_TIMER3_RST_ST_W::new(self, 27) } #[doc = "Bit 28 - Represents LEDC_task_timer0_resume trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_timer0_resume_st(&mut self) -> LEDC_TASK_TIMER0_RESUME_ST_W { LEDC_TASK_TIMER0_RESUME_ST_W::new(self, 28) } #[doc = "Bit 29 - Represents LEDC_task_timer1_resume trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_timer1_resume_st(&mut self) -> LEDC_TASK_TIMER1_RESUME_ST_W { LEDC_TASK_TIMER1_RESUME_ST_W::new(self, 29) } #[doc = "Bit 30 - Represents LEDC_task_timer2_resume trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_timer2_resume_st(&mut self) -> LEDC_TASK_TIMER2_RESUME_ST_W { LEDC_TASK_TIMER2_RESUME_ST_W::new(self, 30) } #[doc = "Bit 31 - Represents LEDC_task_timer3_resume trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_timer3_resume_st(&mut self) -> LEDC_TASK_TIMER3_RESUME_ST_W { LEDC_TASK_TIMER3_RESUME_ST_W::new(self, 31) } diff --git a/esp32p4/src/soc_etm/task_st1_clr.rs b/esp32p4/src/soc_etm/task_st1_clr.rs index b2e79ebd0d..096de0d287 100644 --- a/esp32p4/src/soc_etm/task_st1_clr.rs +++ b/esp32p4/src/soc_etm/task_st1_clr.rs @@ -73,7 +73,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Configures whether or not to clear LEDC_task_duty_scale_update_ch4 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_duty_scale_update_ch4_st_clr( &mut self, ) -> LEDC_TASK_DUTY_SCALE_UPDATE_CH4_ST_CLR_W { @@ -81,7 +80,6 @@ impl W { } #[doc = "Bit 1 - Configures whether or not to clear LEDC_task_duty_scale_update_ch5 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_duty_scale_update_ch5_st_clr( &mut self, ) -> LEDC_TASK_DUTY_SCALE_UPDATE_CH5_ST_CLR_W { @@ -89,7 +87,6 @@ impl W { } #[doc = "Bit 2 - Configures whether or not to clear LEDC_task_duty_scale_update_ch6 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_duty_scale_update_ch6_st_clr( &mut self, ) -> LEDC_TASK_DUTY_SCALE_UPDATE_CH6_ST_CLR_W { @@ -97,7 +94,6 @@ impl W { } #[doc = "Bit 3 - Configures whether or not to clear LEDC_task_duty_scale_update_ch7 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_duty_scale_update_ch7_st_clr( &mut self, ) -> LEDC_TASK_DUTY_SCALE_UPDATE_CH7_ST_CLR_W { @@ -105,7 +101,6 @@ impl W { } #[doc = "Bit 4 - Configures whether or not to clear LEDC_task_timer0_cap trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_timer0_cap_st_clr( &mut self, ) -> LEDC_TASK_TIMER0_CAP_ST_CLR_W { @@ -113,7 +108,6 @@ impl W { } #[doc = "Bit 5 - Configures whether or not to clear LEDC_task_timer1_cap trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_timer1_cap_st_clr( &mut self, ) -> LEDC_TASK_TIMER1_CAP_ST_CLR_W { @@ -121,7 +115,6 @@ impl W { } #[doc = "Bit 6 - Configures whether or not to clear LEDC_task_timer2_cap trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_timer2_cap_st_clr( &mut self, ) -> LEDC_TASK_TIMER2_CAP_ST_CLR_W { @@ -129,7 +122,6 @@ impl W { } #[doc = "Bit 7 - Configures whether or not to clear LEDC_task_timer3_cap trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_timer3_cap_st_clr( &mut self, ) -> LEDC_TASK_TIMER3_CAP_ST_CLR_W { @@ -137,7 +129,6 @@ impl W { } #[doc = "Bit 8 - Configures whether or not to clear LEDC_task_sig_out_dis_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_sig_out_dis_ch0_st_clr( &mut self, ) -> LEDC_TASK_SIG_OUT_DIS_CH0_ST_CLR_W { @@ -145,7 +136,6 @@ impl W { } #[doc = "Bit 9 - Configures whether or not to clear LEDC_task_sig_out_dis_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_sig_out_dis_ch1_st_clr( &mut self, ) -> LEDC_TASK_SIG_OUT_DIS_CH1_ST_CLR_W { @@ -153,7 +143,6 @@ impl W { } #[doc = "Bit 10 - Configures whether or not to clear LEDC_task_sig_out_dis_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_sig_out_dis_ch2_st_clr( &mut self, ) -> LEDC_TASK_SIG_OUT_DIS_CH2_ST_CLR_W { @@ -161,7 +150,6 @@ impl W { } #[doc = "Bit 11 - Configures whether or not to clear LEDC_task_sig_out_dis_ch3 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_sig_out_dis_ch3_st_clr( &mut self, ) -> LEDC_TASK_SIG_OUT_DIS_CH3_ST_CLR_W { @@ -169,7 +157,6 @@ impl W { } #[doc = "Bit 12 - Configures whether or not to clear LEDC_task_sig_out_dis_ch4 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_sig_out_dis_ch4_st_clr( &mut self, ) -> LEDC_TASK_SIG_OUT_DIS_CH4_ST_CLR_W { @@ -177,7 +164,6 @@ impl W { } #[doc = "Bit 13 - Configures whether or not to clear LEDC_task_sig_out_dis_ch5 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_sig_out_dis_ch5_st_clr( &mut self, ) -> LEDC_TASK_SIG_OUT_DIS_CH5_ST_CLR_W { @@ -185,7 +171,6 @@ impl W { } #[doc = "Bit 14 - Configures whether or not to clear LEDC_task_sig_out_dis_ch6 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_sig_out_dis_ch6_st_clr( &mut self, ) -> LEDC_TASK_SIG_OUT_DIS_CH6_ST_CLR_W { @@ -193,7 +178,6 @@ impl W { } #[doc = "Bit 15 - Configures whether or not to clear LEDC_task_sig_out_dis_ch7 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_sig_out_dis_ch7_st_clr( &mut self, ) -> LEDC_TASK_SIG_OUT_DIS_CH7_ST_CLR_W { @@ -201,7 +185,6 @@ impl W { } #[doc = "Bit 16 - Configures whether or not to clear LEDC_task_ovf_cnt_rst_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_ovf_cnt_rst_ch0_st_clr( &mut self, ) -> LEDC_TASK_OVF_CNT_RST_CH0_ST_CLR_W { @@ -209,7 +192,6 @@ impl W { } #[doc = "Bit 17 - Configures whether or not to clear LEDC_task_ovf_cnt_rst_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_ovf_cnt_rst_ch1_st_clr( &mut self, ) -> LEDC_TASK_OVF_CNT_RST_CH1_ST_CLR_W { @@ -217,7 +199,6 @@ impl W { } #[doc = "Bit 18 - Configures whether or not to clear LEDC_task_ovf_cnt_rst_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_ovf_cnt_rst_ch2_st_clr( &mut self, ) -> LEDC_TASK_OVF_CNT_RST_CH2_ST_CLR_W { @@ -225,7 +206,6 @@ impl W { } #[doc = "Bit 19 - Configures whether or not to clear LEDC_task_ovf_cnt_rst_ch3 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_ovf_cnt_rst_ch3_st_clr( &mut self, ) -> LEDC_TASK_OVF_CNT_RST_CH3_ST_CLR_W { @@ -233,7 +213,6 @@ impl W { } #[doc = "Bit 20 - Configures whether or not to clear LEDC_task_ovf_cnt_rst_ch4 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_ovf_cnt_rst_ch4_st_clr( &mut self, ) -> LEDC_TASK_OVF_CNT_RST_CH4_ST_CLR_W { @@ -241,7 +220,6 @@ impl W { } #[doc = "Bit 21 - Configures whether or not to clear LEDC_task_ovf_cnt_rst_ch5 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_ovf_cnt_rst_ch5_st_clr( &mut self, ) -> LEDC_TASK_OVF_CNT_RST_CH5_ST_CLR_W { @@ -249,7 +227,6 @@ impl W { } #[doc = "Bit 22 - Configures whether or not to clear LEDC_task_ovf_cnt_rst_ch6 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_ovf_cnt_rst_ch6_st_clr( &mut self, ) -> LEDC_TASK_OVF_CNT_RST_CH6_ST_CLR_W { @@ -257,7 +234,6 @@ impl W { } #[doc = "Bit 23 - Configures whether or not to clear LEDC_task_ovf_cnt_rst_ch7 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_ovf_cnt_rst_ch7_st_clr( &mut self, ) -> LEDC_TASK_OVF_CNT_RST_CH7_ST_CLR_W { @@ -265,7 +241,6 @@ impl W { } #[doc = "Bit 24 - Configures whether or not to clear LEDC_task_timer0_rst trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_timer0_rst_st_clr( &mut self, ) -> LEDC_TASK_TIMER0_RST_ST_CLR_W { @@ -273,7 +248,6 @@ impl W { } #[doc = "Bit 25 - Configures whether or not to clear LEDC_task_timer1_rst trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_timer1_rst_st_clr( &mut self, ) -> LEDC_TASK_TIMER1_RST_ST_CLR_W { @@ -281,7 +255,6 @@ impl W { } #[doc = "Bit 26 - Configures whether or not to clear LEDC_task_timer2_rst trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_timer2_rst_st_clr( &mut self, ) -> LEDC_TASK_TIMER2_RST_ST_CLR_W { @@ -289,7 +262,6 @@ impl W { } #[doc = "Bit 27 - Configures whether or not to clear LEDC_task_timer3_rst trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_timer3_rst_st_clr( &mut self, ) -> LEDC_TASK_TIMER3_RST_ST_CLR_W { @@ -297,7 +269,6 @@ impl W { } #[doc = "Bit 28 - Configures whether or not to clear LEDC_task_timer0_resume trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_timer0_resume_st_clr( &mut self, ) -> LEDC_TASK_TIMER0_RESUME_ST_CLR_W { @@ -305,7 +276,6 @@ impl W { } #[doc = "Bit 29 - Configures whether or not to clear LEDC_task_timer1_resume trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_timer1_resume_st_clr( &mut self, ) -> LEDC_TASK_TIMER1_RESUME_ST_CLR_W { @@ -313,7 +283,6 @@ impl W { } #[doc = "Bit 30 - Configures whether or not to clear LEDC_task_timer2_resume trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_timer2_resume_st_clr( &mut self, ) -> LEDC_TASK_TIMER2_RESUME_ST_CLR_W { @@ -321,7 +290,6 @@ impl W { } #[doc = "Bit 31 - Configures whether or not to clear LEDC_task_timer3_resume trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_timer3_resume_st_clr( &mut self, ) -> LEDC_TASK_TIMER3_RESUME_ST_CLR_W { diff --git a/esp32p4/src/soc_etm/task_st2.rs b/esp32p4/src/soc_etm/task_st2.rs index 67d8a0bae0..4b11b0034c 100644 --- a/esp32p4/src/soc_etm/task_st2.rs +++ b/esp32p4/src/soc_etm/task_st2.rs @@ -430,31 +430,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Represents LEDC_task_timer0_pause trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_timer0_pause_st(&mut self) -> LEDC_TASK_TIMER0_PAUSE_ST_W { LEDC_TASK_TIMER0_PAUSE_ST_W::new(self, 0) } #[doc = "Bit 1 - Represents LEDC_task_timer1_pause trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_timer1_pause_st(&mut self) -> LEDC_TASK_TIMER1_PAUSE_ST_W { LEDC_TASK_TIMER1_PAUSE_ST_W::new(self, 1) } #[doc = "Bit 2 - Represents LEDC_task_timer2_pause trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_timer2_pause_st(&mut self) -> LEDC_TASK_TIMER2_PAUSE_ST_W { LEDC_TASK_TIMER2_PAUSE_ST_W::new(self, 2) } #[doc = "Bit 3 - Represents LEDC_task_timer3_pause trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_timer3_pause_st(&mut self) -> LEDC_TASK_TIMER3_PAUSE_ST_W { LEDC_TASK_TIMER3_PAUSE_ST_W::new(self, 3) } #[doc = "Bit 4 - Represents LEDC_task_gamma_restart_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_restart_ch0_st( &mut self, ) -> LEDC_TASK_GAMMA_RESTART_CH0_ST_W { @@ -462,7 +457,6 @@ impl W { } #[doc = "Bit 5 - Represents LEDC_task_gamma_restart_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_restart_ch1_st( &mut self, ) -> LEDC_TASK_GAMMA_RESTART_CH1_ST_W { @@ -470,7 +464,6 @@ impl W { } #[doc = "Bit 6 - Represents LEDC_task_gamma_restart_ch2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_restart_ch2_st( &mut self, ) -> LEDC_TASK_GAMMA_RESTART_CH2_ST_W { @@ -478,7 +471,6 @@ impl W { } #[doc = "Bit 7 - Represents LEDC_task_gamma_restart_ch3 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_restart_ch3_st( &mut self, ) -> LEDC_TASK_GAMMA_RESTART_CH3_ST_W { @@ -486,7 +478,6 @@ impl W { } #[doc = "Bit 8 - Represents LEDC_task_gamma_restart_ch4 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_restart_ch4_st( &mut self, ) -> LEDC_TASK_GAMMA_RESTART_CH4_ST_W { @@ -494,7 +485,6 @@ impl W { } #[doc = "Bit 9 - Represents LEDC_task_gamma_restart_ch5 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_restart_ch5_st( &mut self, ) -> LEDC_TASK_GAMMA_RESTART_CH5_ST_W { @@ -502,7 +492,6 @@ impl W { } #[doc = "Bit 10 - Represents LEDC_task_gamma_restart_ch6 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_restart_ch6_st( &mut self, ) -> LEDC_TASK_GAMMA_RESTART_CH6_ST_W { @@ -510,7 +499,6 @@ impl W { } #[doc = "Bit 11 - Represents LEDC_task_gamma_restart_ch7 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_restart_ch7_st( &mut self, ) -> LEDC_TASK_GAMMA_RESTART_CH7_ST_W { @@ -518,7 +506,6 @@ impl W { } #[doc = "Bit 12 - Represents LEDC_task_gamma_pause_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_pause_ch0_st( &mut self, ) -> LEDC_TASK_GAMMA_PAUSE_CH0_ST_W { @@ -526,7 +513,6 @@ impl W { } #[doc = "Bit 13 - Represents LEDC_task_gamma_pause_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_pause_ch1_st( &mut self, ) -> LEDC_TASK_GAMMA_PAUSE_CH1_ST_W { @@ -534,7 +520,6 @@ impl W { } #[doc = "Bit 14 - Represents LEDC_task_gamma_pause_ch2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_pause_ch2_st( &mut self, ) -> LEDC_TASK_GAMMA_PAUSE_CH2_ST_W { @@ -542,7 +527,6 @@ impl W { } #[doc = "Bit 15 - Represents LEDC_task_gamma_pause_ch3 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_pause_ch3_st( &mut self, ) -> LEDC_TASK_GAMMA_PAUSE_CH3_ST_W { @@ -550,7 +534,6 @@ impl W { } #[doc = "Bit 16 - Represents LEDC_task_gamma_pause_ch4 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_pause_ch4_st( &mut self, ) -> LEDC_TASK_GAMMA_PAUSE_CH4_ST_W { @@ -558,7 +541,6 @@ impl W { } #[doc = "Bit 17 - Represents LEDC_task_gamma_pause_ch5 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_pause_ch5_st( &mut self, ) -> LEDC_TASK_GAMMA_PAUSE_CH5_ST_W { @@ -566,7 +548,6 @@ impl W { } #[doc = "Bit 18 - Represents LEDC_task_gamma_pause_ch6 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_pause_ch6_st( &mut self, ) -> LEDC_TASK_GAMMA_PAUSE_CH6_ST_W { @@ -574,7 +555,6 @@ impl W { } #[doc = "Bit 19 - Represents LEDC_task_gamma_pause_ch7 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_pause_ch7_st( &mut self, ) -> LEDC_TASK_GAMMA_PAUSE_CH7_ST_W { @@ -582,7 +562,6 @@ impl W { } #[doc = "Bit 20 - Represents LEDC_task_gamma_resume_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_resume_ch0_st( &mut self, ) -> LEDC_TASK_GAMMA_RESUME_CH0_ST_W { @@ -590,7 +569,6 @@ impl W { } #[doc = "Bit 21 - Represents LEDC_task_gamma_resume_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_resume_ch1_st( &mut self, ) -> LEDC_TASK_GAMMA_RESUME_CH1_ST_W { @@ -598,7 +576,6 @@ impl W { } #[doc = "Bit 22 - Represents LEDC_task_gamma_resume_ch2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_resume_ch2_st( &mut self, ) -> LEDC_TASK_GAMMA_RESUME_CH2_ST_W { @@ -606,7 +583,6 @@ impl W { } #[doc = "Bit 23 - Represents LEDC_task_gamma_resume_ch3 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_resume_ch3_st( &mut self, ) -> LEDC_TASK_GAMMA_RESUME_CH3_ST_W { @@ -614,7 +590,6 @@ impl W { } #[doc = "Bit 24 - Represents LEDC_task_gamma_resume_ch4 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_resume_ch4_st( &mut self, ) -> LEDC_TASK_GAMMA_RESUME_CH4_ST_W { @@ -622,7 +597,6 @@ impl W { } #[doc = "Bit 25 - Represents LEDC_task_gamma_resume_ch5 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_resume_ch5_st( &mut self, ) -> LEDC_TASK_GAMMA_RESUME_CH5_ST_W { @@ -630,7 +604,6 @@ impl W { } #[doc = "Bit 26 - Represents LEDC_task_gamma_resume_ch6 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_resume_ch6_st( &mut self, ) -> LEDC_TASK_GAMMA_RESUME_CH6_ST_W { @@ -638,7 +611,6 @@ impl W { } #[doc = "Bit 27 - Represents LEDC_task_gamma_resume_ch7 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_resume_ch7_st( &mut self, ) -> LEDC_TASK_GAMMA_RESUME_CH7_ST_W { @@ -646,7 +618,6 @@ impl W { } #[doc = "Bit 28 - Represents TG0_task_cnt_start_timer0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn tg0_task_cnt_start_timer0_st( &mut self, ) -> TG0_TASK_CNT_START_TIMER0_ST_W { @@ -654,7 +625,6 @@ impl W { } #[doc = "Bit 29 - Represents TG0_task_alarm_start_timer0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn tg0_task_alarm_start_timer0_st( &mut self, ) -> TG0_TASK_ALARM_START_TIMER0_ST_W { @@ -662,13 +632,11 @@ impl W { } #[doc = "Bit 30 - Represents TG0_task_cnt_stop_timer0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn tg0_task_cnt_stop_timer0_st(&mut self) -> TG0_TASK_CNT_STOP_TIMER0_ST_W { TG0_TASK_CNT_STOP_TIMER0_ST_W::new(self, 30) } #[doc = "Bit 31 - Represents TG0_task_cnt_reload_timer0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn tg0_task_cnt_reload_timer0_st( &mut self, ) -> TG0_TASK_CNT_RELOAD_TIMER0_ST_W { diff --git a/esp32p4/src/soc_etm/task_st2_clr.rs b/esp32p4/src/soc_etm/task_st2_clr.rs index a2b9115938..053e7f275b 100644 --- a/esp32p4/src/soc_etm/task_st2_clr.rs +++ b/esp32p4/src/soc_etm/task_st2_clr.rs @@ -73,7 +73,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Configures whether or not to clear LEDC_task_timer0_pause trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_timer0_pause_st_clr( &mut self, ) -> LEDC_TASK_TIMER0_PAUSE_ST_CLR_W { @@ -81,7 +80,6 @@ impl W { } #[doc = "Bit 1 - Configures whether or not to clear LEDC_task_timer1_pause trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_timer1_pause_st_clr( &mut self, ) -> LEDC_TASK_TIMER1_PAUSE_ST_CLR_W { @@ -89,7 +87,6 @@ impl W { } #[doc = "Bit 2 - Configures whether or not to clear LEDC_task_timer2_pause trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_timer2_pause_st_clr( &mut self, ) -> LEDC_TASK_TIMER2_PAUSE_ST_CLR_W { @@ -97,7 +94,6 @@ impl W { } #[doc = "Bit 3 - Configures whether or not to clear LEDC_task_timer3_pause trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_timer3_pause_st_clr( &mut self, ) -> LEDC_TASK_TIMER3_PAUSE_ST_CLR_W { @@ -105,7 +101,6 @@ impl W { } #[doc = "Bit 4 - Configures whether or not to clear LEDC_task_gamma_restart_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_restart_ch0_st_clr( &mut self, ) -> LEDC_TASK_GAMMA_RESTART_CH0_ST_CLR_W { @@ -113,7 +108,6 @@ impl W { } #[doc = "Bit 5 - Configures whether or not to clear LEDC_task_gamma_restart_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_restart_ch1_st_clr( &mut self, ) -> LEDC_TASK_GAMMA_RESTART_CH1_ST_CLR_W { @@ -121,7 +115,6 @@ impl W { } #[doc = "Bit 6 - Configures whether or not to clear LEDC_task_gamma_restart_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_restart_ch2_st_clr( &mut self, ) -> LEDC_TASK_GAMMA_RESTART_CH2_ST_CLR_W { @@ -129,7 +122,6 @@ impl W { } #[doc = "Bit 7 - Configures whether or not to clear LEDC_task_gamma_restart_ch3 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_restart_ch3_st_clr( &mut self, ) -> LEDC_TASK_GAMMA_RESTART_CH3_ST_CLR_W { @@ -137,7 +129,6 @@ impl W { } #[doc = "Bit 8 - Configures whether or not to clear LEDC_task_gamma_restart_ch4 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_restart_ch4_st_clr( &mut self, ) -> LEDC_TASK_GAMMA_RESTART_CH4_ST_CLR_W { @@ -145,7 +136,6 @@ impl W { } #[doc = "Bit 9 - Configures whether or not to clear LEDC_task_gamma_restart_ch5 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_restart_ch5_st_clr( &mut self, ) -> LEDC_TASK_GAMMA_RESTART_CH5_ST_CLR_W { @@ -153,7 +143,6 @@ impl W { } #[doc = "Bit 10 - Configures whether or not to clear LEDC_task_gamma_restart_ch6 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_restart_ch6_st_clr( &mut self, ) -> LEDC_TASK_GAMMA_RESTART_CH6_ST_CLR_W { @@ -161,7 +150,6 @@ impl W { } #[doc = "Bit 11 - Configures whether or not to clear LEDC_task_gamma_restart_ch7 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_restart_ch7_st_clr( &mut self, ) -> LEDC_TASK_GAMMA_RESTART_CH7_ST_CLR_W { @@ -169,7 +157,6 @@ impl W { } #[doc = "Bit 12 - Configures whether or not to clear LEDC_task_gamma_pause_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_pause_ch0_st_clr( &mut self, ) -> LEDC_TASK_GAMMA_PAUSE_CH0_ST_CLR_W { @@ -177,7 +164,6 @@ impl W { } #[doc = "Bit 13 - Configures whether or not to clear LEDC_task_gamma_pause_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_pause_ch1_st_clr( &mut self, ) -> LEDC_TASK_GAMMA_PAUSE_CH1_ST_CLR_W { @@ -185,7 +171,6 @@ impl W { } #[doc = "Bit 14 - Configures whether or not to clear LEDC_task_gamma_pause_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_pause_ch2_st_clr( &mut self, ) -> LEDC_TASK_GAMMA_PAUSE_CH2_ST_CLR_W { @@ -193,7 +178,6 @@ impl W { } #[doc = "Bit 15 - Configures whether or not to clear LEDC_task_gamma_pause_ch3 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_pause_ch3_st_clr( &mut self, ) -> LEDC_TASK_GAMMA_PAUSE_CH3_ST_CLR_W { @@ -201,7 +185,6 @@ impl W { } #[doc = "Bit 16 - Configures whether or not to clear LEDC_task_gamma_pause_ch4 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_pause_ch4_st_clr( &mut self, ) -> LEDC_TASK_GAMMA_PAUSE_CH4_ST_CLR_W { @@ -209,7 +192,6 @@ impl W { } #[doc = "Bit 17 - Configures whether or not to clear LEDC_task_gamma_pause_ch5 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_pause_ch5_st_clr( &mut self, ) -> LEDC_TASK_GAMMA_PAUSE_CH5_ST_CLR_W { @@ -217,7 +199,6 @@ impl W { } #[doc = "Bit 18 - Configures whether or not to clear LEDC_task_gamma_pause_ch6 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_pause_ch6_st_clr( &mut self, ) -> LEDC_TASK_GAMMA_PAUSE_CH6_ST_CLR_W { @@ -225,7 +206,6 @@ impl W { } #[doc = "Bit 19 - Configures whether or not to clear LEDC_task_gamma_pause_ch7 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_pause_ch7_st_clr( &mut self, ) -> LEDC_TASK_GAMMA_PAUSE_CH7_ST_CLR_W { @@ -233,7 +213,6 @@ impl W { } #[doc = "Bit 20 - Configures whether or not to clear LEDC_task_gamma_resume_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_resume_ch0_st_clr( &mut self, ) -> LEDC_TASK_GAMMA_RESUME_CH0_ST_CLR_W { @@ -241,7 +220,6 @@ impl W { } #[doc = "Bit 21 - Configures whether or not to clear LEDC_task_gamma_resume_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_resume_ch1_st_clr( &mut self, ) -> LEDC_TASK_GAMMA_RESUME_CH1_ST_CLR_W { @@ -249,7 +227,6 @@ impl W { } #[doc = "Bit 22 - Configures whether or not to clear LEDC_task_gamma_resume_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_resume_ch2_st_clr( &mut self, ) -> LEDC_TASK_GAMMA_RESUME_CH2_ST_CLR_W { @@ -257,7 +234,6 @@ impl W { } #[doc = "Bit 23 - Configures whether or not to clear LEDC_task_gamma_resume_ch3 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_resume_ch3_st_clr( &mut self, ) -> LEDC_TASK_GAMMA_RESUME_CH3_ST_CLR_W { @@ -265,7 +241,6 @@ impl W { } #[doc = "Bit 24 - Configures whether or not to clear LEDC_task_gamma_resume_ch4 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_resume_ch4_st_clr( &mut self, ) -> LEDC_TASK_GAMMA_RESUME_CH4_ST_CLR_W { @@ -273,7 +248,6 @@ impl W { } #[doc = "Bit 25 - Configures whether or not to clear LEDC_task_gamma_resume_ch5 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_resume_ch5_st_clr( &mut self, ) -> LEDC_TASK_GAMMA_RESUME_CH5_ST_CLR_W { @@ -281,7 +255,6 @@ impl W { } #[doc = "Bit 26 - Configures whether or not to clear LEDC_task_gamma_resume_ch6 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_resume_ch6_st_clr( &mut self, ) -> LEDC_TASK_GAMMA_RESUME_CH6_ST_CLR_W { @@ -289,7 +262,6 @@ impl W { } #[doc = "Bit 27 - Configures whether or not to clear LEDC_task_gamma_resume_ch7 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ledc_task_gamma_resume_ch7_st_clr( &mut self, ) -> LEDC_TASK_GAMMA_RESUME_CH7_ST_CLR_W { @@ -297,7 +269,6 @@ impl W { } #[doc = "Bit 28 - Configures whether or not to clear TG0_task_cnt_start_timer0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn tg0_task_cnt_start_timer0_st_clr( &mut self, ) -> TG0_TASK_CNT_START_TIMER0_ST_CLR_W { @@ -305,7 +276,6 @@ impl W { } #[doc = "Bit 29 - Configures whether or not to clear TG0_task_alarm_start_timer0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn tg0_task_alarm_start_timer0_st_clr( &mut self, ) -> TG0_TASK_ALARM_START_TIMER0_ST_CLR_W { @@ -313,7 +283,6 @@ impl W { } #[doc = "Bit 30 - Configures whether or not to clear TG0_task_cnt_stop_timer0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn tg0_task_cnt_stop_timer0_st_clr( &mut self, ) -> TG0_TASK_CNT_STOP_TIMER0_ST_CLR_W { @@ -321,7 +290,6 @@ impl W { } #[doc = "Bit 31 - Configures whether or not to clear TG0_task_cnt_reload_timer0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn tg0_task_cnt_reload_timer0_st_clr( &mut self, ) -> TG0_TASK_CNT_RELOAD_TIMER0_ST_CLR_W { diff --git a/esp32p4/src/soc_etm/task_st3.rs b/esp32p4/src/soc_etm/task_st3.rs index 807b7d2b23..07bf8af53b 100644 --- a/esp32p4/src/soc_etm/task_st3.rs +++ b/esp32p4/src/soc_etm/task_st3.rs @@ -418,13 +418,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Represents TG0_task_cnt_cap_timer0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn tg0_task_cnt_cap_timer0_st(&mut self) -> TG0_TASK_CNT_CAP_TIMER0_ST_W { TG0_TASK_CNT_CAP_TIMER0_ST_W::new(self, 0) } #[doc = "Bit 1 - Represents TG0_task_cnt_start_timer1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn tg0_task_cnt_start_timer1_st( &mut self, ) -> TG0_TASK_CNT_START_TIMER1_ST_W { @@ -432,7 +430,6 @@ impl W { } #[doc = "Bit 2 - Represents TG0_task_alarm_start_timer1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn tg0_task_alarm_start_timer1_st( &mut self, ) -> TG0_TASK_ALARM_START_TIMER1_ST_W { @@ -440,13 +437,11 @@ impl W { } #[doc = "Bit 3 - Represents TG0_task_cnt_stop_timer1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn tg0_task_cnt_stop_timer1_st(&mut self) -> TG0_TASK_CNT_STOP_TIMER1_ST_W { TG0_TASK_CNT_STOP_TIMER1_ST_W::new(self, 3) } #[doc = "Bit 4 - Represents TG0_task_cnt_reload_timer1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn tg0_task_cnt_reload_timer1_st( &mut self, ) -> TG0_TASK_CNT_RELOAD_TIMER1_ST_W { @@ -454,13 +449,11 @@ impl W { } #[doc = "Bit 5 - Represents TG0_task_cnt_cap_timer1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn tg0_task_cnt_cap_timer1_st(&mut self) -> TG0_TASK_CNT_CAP_TIMER1_ST_W { TG0_TASK_CNT_CAP_TIMER1_ST_W::new(self, 5) } #[doc = "Bit 6 - Represents TG1_task_cnt_start_timer0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn tg1_task_cnt_start_timer0_st( &mut self, ) -> TG1_TASK_CNT_START_TIMER0_ST_W { @@ -468,7 +461,6 @@ impl W { } #[doc = "Bit 7 - Represents TG1_task_alarm_start_timer0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn tg1_task_alarm_start_timer0_st( &mut self, ) -> TG1_TASK_ALARM_START_TIMER0_ST_W { @@ -476,13 +468,11 @@ impl W { } #[doc = "Bit 8 - Represents TG1_task_cnt_stop_timer0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn tg1_task_cnt_stop_timer0_st(&mut self) -> TG1_TASK_CNT_STOP_TIMER0_ST_W { TG1_TASK_CNT_STOP_TIMER0_ST_W::new(self, 8) } #[doc = "Bit 9 - Represents TG1_task_cnt_reload_timer0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn tg1_task_cnt_reload_timer0_st( &mut self, ) -> TG1_TASK_CNT_RELOAD_TIMER0_ST_W { @@ -490,13 +480,11 @@ impl W { } #[doc = "Bit 10 - Represents TG1_task_cnt_cap_timer0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn tg1_task_cnt_cap_timer0_st(&mut self) -> TG1_TASK_CNT_CAP_TIMER0_ST_W { TG1_TASK_CNT_CAP_TIMER0_ST_W::new(self, 10) } #[doc = "Bit 11 - Represents TG1_task_cnt_start_timer1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn tg1_task_cnt_start_timer1_st( &mut self, ) -> TG1_TASK_CNT_START_TIMER1_ST_W { @@ -504,7 +492,6 @@ impl W { } #[doc = "Bit 12 - Represents TG1_task_alarm_start_timer1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn tg1_task_alarm_start_timer1_st( &mut self, ) -> TG1_TASK_ALARM_START_TIMER1_ST_W { @@ -512,13 +499,11 @@ impl W { } #[doc = "Bit 13 - Represents TG1_task_cnt_stop_timer1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn tg1_task_cnt_stop_timer1_st(&mut self) -> TG1_TASK_CNT_STOP_TIMER1_ST_W { TG1_TASK_CNT_STOP_TIMER1_ST_W::new(self, 13) } #[doc = "Bit 14 - Represents TG1_task_cnt_reload_timer1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn tg1_task_cnt_reload_timer1_st( &mut self, ) -> TG1_TASK_CNT_RELOAD_TIMER1_ST_W { @@ -526,73 +511,61 @@ impl W { } #[doc = "Bit 15 - Represents TG1_task_cnt_cap_timer1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn tg1_task_cnt_cap_timer1_st(&mut self) -> TG1_TASK_CNT_CAP_TIMER1_ST_W { TG1_TASK_CNT_CAP_TIMER1_ST_W::new(self, 15) } #[doc = "Bit 16 - Represents MCPWM0_task_cmpr0_a_up trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_cmpr0_a_up_st(&mut self) -> MCPWM0_TASK_CMPR0_A_UP_ST_W { MCPWM0_TASK_CMPR0_A_UP_ST_W::new(self, 16) } #[doc = "Bit 17 - Represents MCPWM0_task_cmpr1_a_up trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_cmpr1_a_up_st(&mut self) -> MCPWM0_TASK_CMPR1_A_UP_ST_W { MCPWM0_TASK_CMPR1_A_UP_ST_W::new(self, 17) } #[doc = "Bit 18 - Represents MCPWM0_task_cmpr2_a_up trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_cmpr2_a_up_st(&mut self) -> MCPWM0_TASK_CMPR2_A_UP_ST_W { MCPWM0_TASK_CMPR2_A_UP_ST_W::new(self, 18) } #[doc = "Bit 19 - Represents MCPWM0_task_cmpr0_b_up trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_cmpr0_b_up_st(&mut self) -> MCPWM0_TASK_CMPR0_B_UP_ST_W { MCPWM0_TASK_CMPR0_B_UP_ST_W::new(self, 19) } #[doc = "Bit 20 - Represents MCPWM0_task_cmpr1_b_up trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_cmpr1_b_up_st(&mut self) -> MCPWM0_TASK_CMPR1_B_UP_ST_W { MCPWM0_TASK_CMPR1_B_UP_ST_W::new(self, 20) } #[doc = "Bit 21 - Represents MCPWM0_task_cmpr2_b_up trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_cmpr2_b_up_st(&mut self) -> MCPWM0_TASK_CMPR2_B_UP_ST_W { MCPWM0_TASK_CMPR2_B_UP_ST_W::new(self, 21) } #[doc = "Bit 22 - Represents MCPWM0_task_gen_stop trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_gen_stop_st(&mut self) -> MCPWM0_TASK_GEN_STOP_ST_W { MCPWM0_TASK_GEN_STOP_ST_W::new(self, 22) } #[doc = "Bit 23 - Represents MCPWM0_task_timer0_syn trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_timer0_syn_st(&mut self) -> MCPWM0_TASK_TIMER0_SYN_ST_W { MCPWM0_TASK_TIMER0_SYN_ST_W::new(self, 23) } #[doc = "Bit 24 - Represents MCPWM0_task_timer1_syn trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_timer1_syn_st(&mut self) -> MCPWM0_TASK_TIMER1_SYN_ST_W { MCPWM0_TASK_TIMER1_SYN_ST_W::new(self, 24) } #[doc = "Bit 25 - Represents MCPWM0_task_timer2_syn trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_timer2_syn_st(&mut self) -> MCPWM0_TASK_TIMER2_SYN_ST_W { MCPWM0_TASK_TIMER2_SYN_ST_W::new(self, 25) } #[doc = "Bit 26 - Represents MCPWM0_task_timer0_period_up trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_timer0_period_up_st( &mut self, ) -> MCPWM0_TASK_TIMER0_PERIOD_UP_ST_W { @@ -600,7 +573,6 @@ impl W { } #[doc = "Bit 27 - Represents MCPWM0_task_timer1_period_up trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_timer1_period_up_st( &mut self, ) -> MCPWM0_TASK_TIMER1_PERIOD_UP_ST_W { @@ -608,7 +580,6 @@ impl W { } #[doc = "Bit 28 - Represents MCPWM0_task_timer2_period_up trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_timer2_period_up_st( &mut self, ) -> MCPWM0_TASK_TIMER2_PERIOD_UP_ST_W { @@ -616,19 +587,16 @@ impl W { } #[doc = "Bit 29 - Represents MCPWM0_task_tz0_ost trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_tz0_ost_st(&mut self) -> MCPWM0_TASK_TZ0_OST_ST_W { MCPWM0_TASK_TZ0_OST_ST_W::new(self, 29) } #[doc = "Bit 30 - Represents MCPWM0_task_tz1_ost trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_tz1_ost_st(&mut self) -> MCPWM0_TASK_TZ1_OST_ST_W { MCPWM0_TASK_TZ1_OST_ST_W::new(self, 30) } #[doc = "Bit 31 - Represents MCPWM0_task_tz2_ost trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_tz2_ost_st(&mut self) -> MCPWM0_TASK_TZ2_OST_ST_W { MCPWM0_TASK_TZ2_OST_ST_W::new(self, 31) } diff --git a/esp32p4/src/soc_etm/task_st3_clr.rs b/esp32p4/src/soc_etm/task_st3_clr.rs index e01d2aaf74..41abe9cad5 100644 --- a/esp32p4/src/soc_etm/task_st3_clr.rs +++ b/esp32p4/src/soc_etm/task_st3_clr.rs @@ -73,7 +73,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Configures whether or not to clear TG0_task_cnt_cap_timer0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn tg0_task_cnt_cap_timer0_st_clr( &mut self, ) -> TG0_TASK_CNT_CAP_TIMER0_ST_CLR_W { @@ -81,7 +80,6 @@ impl W { } #[doc = "Bit 1 - Configures whether or not to clear TG0_task_cnt_start_timer1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn tg0_task_cnt_start_timer1_st_clr( &mut self, ) -> TG0_TASK_CNT_START_TIMER1_ST_CLR_W { @@ -89,7 +87,6 @@ impl W { } #[doc = "Bit 2 - Configures whether or not to clear TG0_task_alarm_start_timer1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn tg0_task_alarm_start_timer1_st_clr( &mut self, ) -> TG0_TASK_ALARM_START_TIMER1_ST_CLR_W { @@ -97,7 +94,6 @@ impl W { } #[doc = "Bit 3 - Configures whether or not to clear TG0_task_cnt_stop_timer1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn tg0_task_cnt_stop_timer1_st_clr( &mut self, ) -> TG0_TASK_CNT_STOP_TIMER1_ST_CLR_W { @@ -105,7 +101,6 @@ impl W { } #[doc = "Bit 4 - Configures whether or not to clear TG0_task_cnt_reload_timer1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn tg0_task_cnt_reload_timer1_st_clr( &mut self, ) -> TG0_TASK_CNT_RELOAD_TIMER1_ST_CLR_W { @@ -113,7 +108,6 @@ impl W { } #[doc = "Bit 5 - Configures whether or not to clear TG0_task_cnt_cap_timer1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn tg0_task_cnt_cap_timer1_st_clr( &mut self, ) -> TG0_TASK_CNT_CAP_TIMER1_ST_CLR_W { @@ -121,7 +115,6 @@ impl W { } #[doc = "Bit 6 - Configures whether or not to clear TG1_task_cnt_start_timer0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn tg1_task_cnt_start_timer0_st_clr( &mut self, ) -> TG1_TASK_CNT_START_TIMER0_ST_CLR_W { @@ -129,7 +122,6 @@ impl W { } #[doc = "Bit 7 - Configures whether or not to clear TG1_task_alarm_start_timer0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn tg1_task_alarm_start_timer0_st_clr( &mut self, ) -> TG1_TASK_ALARM_START_TIMER0_ST_CLR_W { @@ -137,7 +129,6 @@ impl W { } #[doc = "Bit 8 - Configures whether or not to clear TG1_task_cnt_stop_timer0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn tg1_task_cnt_stop_timer0_st_clr( &mut self, ) -> TG1_TASK_CNT_STOP_TIMER0_ST_CLR_W { @@ -145,7 +136,6 @@ impl W { } #[doc = "Bit 9 - Configures whether or not to clear TG1_task_cnt_reload_timer0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn tg1_task_cnt_reload_timer0_st_clr( &mut self, ) -> TG1_TASK_CNT_RELOAD_TIMER0_ST_CLR_W { @@ -153,7 +143,6 @@ impl W { } #[doc = "Bit 10 - Configures whether or not to clear TG1_task_cnt_cap_timer0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn tg1_task_cnt_cap_timer0_st_clr( &mut self, ) -> TG1_TASK_CNT_CAP_TIMER0_ST_CLR_W { @@ -161,7 +150,6 @@ impl W { } #[doc = "Bit 11 - Configures whether or not to clear TG1_task_cnt_start_timer1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn tg1_task_cnt_start_timer1_st_clr( &mut self, ) -> TG1_TASK_CNT_START_TIMER1_ST_CLR_W { @@ -169,7 +157,6 @@ impl W { } #[doc = "Bit 12 - Configures whether or not to clear TG1_task_alarm_start_timer1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn tg1_task_alarm_start_timer1_st_clr( &mut self, ) -> TG1_TASK_ALARM_START_TIMER1_ST_CLR_W { @@ -177,7 +164,6 @@ impl W { } #[doc = "Bit 13 - Configures whether or not to clear TG1_task_cnt_stop_timer1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn tg1_task_cnt_stop_timer1_st_clr( &mut self, ) -> TG1_TASK_CNT_STOP_TIMER1_ST_CLR_W { @@ -185,7 +171,6 @@ impl W { } #[doc = "Bit 14 - Configures whether or not to clear TG1_task_cnt_reload_timer1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn tg1_task_cnt_reload_timer1_st_clr( &mut self, ) -> TG1_TASK_CNT_RELOAD_TIMER1_ST_CLR_W { @@ -193,7 +178,6 @@ impl W { } #[doc = "Bit 15 - Configures whether or not to clear TG1_task_cnt_cap_timer1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn tg1_task_cnt_cap_timer1_st_clr( &mut self, ) -> TG1_TASK_CNT_CAP_TIMER1_ST_CLR_W { @@ -201,7 +185,6 @@ impl W { } #[doc = "Bit 16 - Configures whether or not to clear MCPWM0_task_cmpr0_a_up trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_cmpr0_a_up_st_clr( &mut self, ) -> MCPWM0_TASK_CMPR0_A_UP_ST_CLR_W { @@ -209,7 +192,6 @@ impl W { } #[doc = "Bit 17 - Configures whether or not to clear MCPWM0_task_cmpr1_a_up trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_cmpr1_a_up_st_clr( &mut self, ) -> MCPWM0_TASK_CMPR1_A_UP_ST_CLR_W { @@ -217,7 +199,6 @@ impl W { } #[doc = "Bit 18 - Configures whether or not to clear MCPWM0_task_cmpr2_a_up trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_cmpr2_a_up_st_clr( &mut self, ) -> MCPWM0_TASK_CMPR2_A_UP_ST_CLR_W { @@ -225,7 +206,6 @@ impl W { } #[doc = "Bit 19 - Configures whether or not to clear MCPWM0_task_cmpr0_b_up trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_cmpr0_b_up_st_clr( &mut self, ) -> MCPWM0_TASK_CMPR0_B_UP_ST_CLR_W { @@ -233,7 +213,6 @@ impl W { } #[doc = "Bit 20 - Configures whether or not to clear MCPWM0_task_cmpr1_b_up trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_cmpr1_b_up_st_clr( &mut self, ) -> MCPWM0_TASK_CMPR1_B_UP_ST_CLR_W { @@ -241,7 +220,6 @@ impl W { } #[doc = "Bit 21 - Configures whether or not to clear MCPWM0_task_cmpr2_b_up trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_cmpr2_b_up_st_clr( &mut self, ) -> MCPWM0_TASK_CMPR2_B_UP_ST_CLR_W { @@ -249,7 +227,6 @@ impl W { } #[doc = "Bit 22 - Configures whether or not to clear MCPWM0_task_gen_stop trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_gen_stop_st_clr( &mut self, ) -> MCPWM0_TASK_GEN_STOP_ST_CLR_W { @@ -257,7 +234,6 @@ impl W { } #[doc = "Bit 23 - Configures whether or not to clear MCPWM0_task_timer0_syn trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_timer0_syn_st_clr( &mut self, ) -> MCPWM0_TASK_TIMER0_SYN_ST_CLR_W { @@ -265,7 +241,6 @@ impl W { } #[doc = "Bit 24 - Configures whether or not to clear MCPWM0_task_timer1_syn trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_timer1_syn_st_clr( &mut self, ) -> MCPWM0_TASK_TIMER1_SYN_ST_CLR_W { @@ -273,7 +248,6 @@ impl W { } #[doc = "Bit 25 - Configures whether or not to clear MCPWM0_task_timer2_syn trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_timer2_syn_st_clr( &mut self, ) -> MCPWM0_TASK_TIMER2_SYN_ST_CLR_W { @@ -281,7 +255,6 @@ impl W { } #[doc = "Bit 26 - Configures whether or not to clear MCPWM0_task_timer0_period_up trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_timer0_period_up_st_clr( &mut self, ) -> MCPWM0_TASK_TIMER0_PERIOD_UP_ST_CLR_W { @@ -289,7 +262,6 @@ impl W { } #[doc = "Bit 27 - Configures whether or not to clear MCPWM0_task_timer1_period_up trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_timer1_period_up_st_clr( &mut self, ) -> MCPWM0_TASK_TIMER1_PERIOD_UP_ST_CLR_W { @@ -297,7 +269,6 @@ impl W { } #[doc = "Bit 28 - Configures whether or not to clear MCPWM0_task_timer2_period_up trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_timer2_period_up_st_clr( &mut self, ) -> MCPWM0_TASK_TIMER2_PERIOD_UP_ST_CLR_W { @@ -305,7 +276,6 @@ impl W { } #[doc = "Bit 29 - Configures whether or not to clear MCPWM0_task_tz0_ost trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_tz0_ost_st_clr( &mut self, ) -> MCPWM0_TASK_TZ0_OST_ST_CLR_W { @@ -313,7 +283,6 @@ impl W { } #[doc = "Bit 30 - Configures whether or not to clear MCPWM0_task_tz1_ost trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_tz1_ost_st_clr( &mut self, ) -> MCPWM0_TASK_TZ1_OST_ST_CLR_W { @@ -321,7 +290,6 @@ impl W { } #[doc = "Bit 31 - Configures whether or not to clear MCPWM0_task_tz2_ost trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_tz2_ost_st_clr( &mut self, ) -> MCPWM0_TASK_TZ2_OST_ST_CLR_W { diff --git a/esp32p4/src/soc_etm/task_st4.rs b/esp32p4/src/soc_etm/task_st4.rs index 29e4a9da47..9a5f469add 100644 --- a/esp32p4/src/soc_etm/task_st4.rs +++ b/esp32p4/src/soc_etm/task_st4.rs @@ -370,103 +370,86 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Represents MCPWM0_task_clr0_ost trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_clr0_ost_st(&mut self) -> MCPWM0_TASK_CLR0_OST_ST_W { MCPWM0_TASK_CLR0_OST_ST_W::new(self, 0) } #[doc = "Bit 1 - Represents MCPWM0_task_clr1_ost trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_clr1_ost_st(&mut self) -> MCPWM0_TASK_CLR1_OST_ST_W { MCPWM0_TASK_CLR1_OST_ST_W::new(self, 1) } #[doc = "Bit 2 - Represents MCPWM0_task_clr2_ost trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_clr2_ost_st(&mut self) -> MCPWM0_TASK_CLR2_OST_ST_W { MCPWM0_TASK_CLR2_OST_ST_W::new(self, 2) } #[doc = "Bit 3 - Represents MCPWM0_task_cap0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_cap0_st(&mut self) -> MCPWM0_TASK_CAP0_ST_W { MCPWM0_TASK_CAP0_ST_W::new(self, 3) } #[doc = "Bit 4 - Represents MCPWM0_task_cap1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_cap1_st(&mut self) -> MCPWM0_TASK_CAP1_ST_W { MCPWM0_TASK_CAP1_ST_W::new(self, 4) } #[doc = "Bit 5 - Represents MCPWM0_task_cap2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_cap2_st(&mut self) -> MCPWM0_TASK_CAP2_ST_W { MCPWM0_TASK_CAP2_ST_W::new(self, 5) } #[doc = "Bit 6 - Represents MCPWM1_task_cmpr0_a_up trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_cmpr0_a_up_st(&mut self) -> MCPWM1_TASK_CMPR0_A_UP_ST_W { MCPWM1_TASK_CMPR0_A_UP_ST_W::new(self, 6) } #[doc = "Bit 7 - Represents MCPWM1_task_cmpr1_a_up trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_cmpr1_a_up_st(&mut self) -> MCPWM1_TASK_CMPR1_A_UP_ST_W { MCPWM1_TASK_CMPR1_A_UP_ST_W::new(self, 7) } #[doc = "Bit 8 - Represents MCPWM1_task_cmpr2_a_up trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_cmpr2_a_up_st(&mut self) -> MCPWM1_TASK_CMPR2_A_UP_ST_W { MCPWM1_TASK_CMPR2_A_UP_ST_W::new(self, 8) } #[doc = "Bit 9 - Represents MCPWM1_task_cmpr0_b_up trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_cmpr0_b_up_st(&mut self) -> MCPWM1_TASK_CMPR0_B_UP_ST_W { MCPWM1_TASK_CMPR0_B_UP_ST_W::new(self, 9) } #[doc = "Bit 10 - Represents MCPWM1_task_cmpr1_b_up trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_cmpr1_b_up_st(&mut self) -> MCPWM1_TASK_CMPR1_B_UP_ST_W { MCPWM1_TASK_CMPR1_B_UP_ST_W::new(self, 10) } #[doc = "Bit 11 - Represents MCPWM1_task_cmpr2_b_up trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_cmpr2_b_up_st(&mut self) -> MCPWM1_TASK_CMPR2_B_UP_ST_W { MCPWM1_TASK_CMPR2_B_UP_ST_W::new(self, 11) } #[doc = "Bit 12 - Represents MCPWM1_task_gen_stop trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_gen_stop_st(&mut self) -> MCPWM1_TASK_GEN_STOP_ST_W { MCPWM1_TASK_GEN_STOP_ST_W::new(self, 12) } #[doc = "Bit 13 - Represents MCPWM1_task_timer0_syn trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_timer0_syn_st(&mut self) -> MCPWM1_TASK_TIMER0_SYN_ST_W { MCPWM1_TASK_TIMER0_SYN_ST_W::new(self, 13) } #[doc = "Bit 14 - Represents MCPWM1_task_timer1_syn trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_timer1_syn_st(&mut self) -> MCPWM1_TASK_TIMER1_SYN_ST_W { MCPWM1_TASK_TIMER1_SYN_ST_W::new(self, 14) } #[doc = "Bit 15 - Represents MCPWM1_task_timer2_syn trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_timer2_syn_st(&mut self) -> MCPWM1_TASK_TIMER2_SYN_ST_W { MCPWM1_TASK_TIMER2_SYN_ST_W::new(self, 15) } #[doc = "Bit 16 - Represents MCPWM1_task_timer0_period_up trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_timer0_period_up_st( &mut self, ) -> MCPWM1_TASK_TIMER0_PERIOD_UP_ST_W { @@ -474,7 +457,6 @@ impl W { } #[doc = "Bit 17 - Represents MCPWM1_task_timer1_period_up trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_timer1_period_up_st( &mut self, ) -> MCPWM1_TASK_TIMER1_PERIOD_UP_ST_W { @@ -482,7 +464,6 @@ impl W { } #[doc = "Bit 18 - Represents MCPWM1_task_timer2_period_up trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_timer2_period_up_st( &mut self, ) -> MCPWM1_TASK_TIMER2_PERIOD_UP_ST_W { @@ -490,79 +471,66 @@ impl W { } #[doc = "Bit 19 - Represents MCPWM1_task_tz0_ost trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_tz0_ost_st(&mut self) -> MCPWM1_TASK_TZ0_OST_ST_W { MCPWM1_TASK_TZ0_OST_ST_W::new(self, 19) } #[doc = "Bit 20 - Represents MCPWM1_task_tz1_ost trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_tz1_ost_st(&mut self) -> MCPWM1_TASK_TZ1_OST_ST_W { MCPWM1_TASK_TZ1_OST_ST_W::new(self, 20) } #[doc = "Bit 21 - Represents MCPWM1_task_tz2_ost trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_tz2_ost_st(&mut self) -> MCPWM1_TASK_TZ2_OST_ST_W { MCPWM1_TASK_TZ2_OST_ST_W::new(self, 21) } #[doc = "Bit 22 - Represents MCPWM1_task_clr0_ost trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_clr0_ost_st(&mut self) -> MCPWM1_TASK_CLR0_OST_ST_W { MCPWM1_TASK_CLR0_OST_ST_W::new(self, 22) } #[doc = "Bit 23 - Represents MCPWM1_task_clr1_ost trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_clr1_ost_st(&mut self) -> MCPWM1_TASK_CLR1_OST_ST_W { MCPWM1_TASK_CLR1_OST_ST_W::new(self, 23) } #[doc = "Bit 24 - Represents MCPWM1_task_clr2_ost trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_clr2_ost_st(&mut self) -> MCPWM1_TASK_CLR2_OST_ST_W { MCPWM1_TASK_CLR2_OST_ST_W::new(self, 24) } #[doc = "Bit 25 - Represents MCPWM1_task_cap0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_cap0_st(&mut self) -> MCPWM1_TASK_CAP0_ST_W { MCPWM1_TASK_CAP0_ST_W::new(self, 25) } #[doc = "Bit 26 - Represents MCPWM1_task_cap1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_cap1_st(&mut self) -> MCPWM1_TASK_CAP1_ST_W { MCPWM1_TASK_CAP1_ST_W::new(self, 26) } #[doc = "Bit 27 - Represents MCPWM1_task_cap2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_cap2_st(&mut self) -> MCPWM1_TASK_CAP2_ST_W { MCPWM1_TASK_CAP2_ST_W::new(self, 27) } #[doc = "Bit 28 - Represents ADC_task_sample0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn adc_task_sample0_st(&mut self) -> ADC_TASK_SAMPLE0_ST_W { ADC_TASK_SAMPLE0_ST_W::new(self, 28) } #[doc = "Bit 29 - Represents ADC_task_sample1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn adc_task_sample1_st(&mut self) -> ADC_TASK_SAMPLE1_ST_W { ADC_TASK_SAMPLE1_ST_W::new(self, 29) } #[doc = "Bit 30 - Represents ADC_task_start0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn adc_task_start0_st(&mut self) -> ADC_TASK_START0_ST_W { ADC_TASK_START0_ST_W::new(self, 30) } #[doc = "Bit 31 - Represents ADC_task_stop0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn adc_task_stop0_st(&mut self) -> ADC_TASK_STOP0_ST_W { ADC_TASK_STOP0_ST_W::new(self, 31) } diff --git a/esp32p4/src/soc_etm/task_st4_clr.rs b/esp32p4/src/soc_etm/task_st4_clr.rs index 7f648b957b..c3f131dd13 100644 --- a/esp32p4/src/soc_etm/task_st4_clr.rs +++ b/esp32p4/src/soc_etm/task_st4_clr.rs @@ -73,7 +73,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Configures whether or not to clear MCPWM0_task_clr0_ost trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_clr0_ost_st_clr( &mut self, ) -> MCPWM0_TASK_CLR0_OST_ST_CLR_W { @@ -81,7 +80,6 @@ impl W { } #[doc = "Bit 1 - Configures whether or not to clear MCPWM0_task_clr1_ost trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_clr1_ost_st_clr( &mut self, ) -> MCPWM0_TASK_CLR1_OST_ST_CLR_W { @@ -89,7 +87,6 @@ impl W { } #[doc = "Bit 2 - Configures whether or not to clear MCPWM0_task_clr2_ost trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_clr2_ost_st_clr( &mut self, ) -> MCPWM0_TASK_CLR2_OST_ST_CLR_W { @@ -97,25 +94,21 @@ impl W { } #[doc = "Bit 3 - Configures whether or not to clear MCPWM0_task_cap0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_cap0_st_clr(&mut self) -> MCPWM0_TASK_CAP0_ST_CLR_W { MCPWM0_TASK_CAP0_ST_CLR_W::new(self, 3) } #[doc = "Bit 4 - Configures whether or not to clear MCPWM0_task_cap1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_cap1_st_clr(&mut self) -> MCPWM0_TASK_CAP1_ST_CLR_W { MCPWM0_TASK_CAP1_ST_CLR_W::new(self, 4) } #[doc = "Bit 5 - Configures whether or not to clear MCPWM0_task_cap2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm0_task_cap2_st_clr(&mut self) -> MCPWM0_TASK_CAP2_ST_CLR_W { MCPWM0_TASK_CAP2_ST_CLR_W::new(self, 5) } #[doc = "Bit 6 - Configures whether or not to clear MCPWM1_task_cmpr0_a_up trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_cmpr0_a_up_st_clr( &mut self, ) -> MCPWM1_TASK_CMPR0_A_UP_ST_CLR_W { @@ -123,7 +116,6 @@ impl W { } #[doc = "Bit 7 - Configures whether or not to clear MCPWM1_task_cmpr1_a_up trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_cmpr1_a_up_st_clr( &mut self, ) -> MCPWM1_TASK_CMPR1_A_UP_ST_CLR_W { @@ -131,7 +123,6 @@ impl W { } #[doc = "Bit 8 - Configures whether or not to clear MCPWM1_task_cmpr2_a_up trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_cmpr2_a_up_st_clr( &mut self, ) -> MCPWM1_TASK_CMPR2_A_UP_ST_CLR_W { @@ -139,7 +130,6 @@ impl W { } #[doc = "Bit 9 - Configures whether or not to clear MCPWM1_task_cmpr0_b_up trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_cmpr0_b_up_st_clr( &mut self, ) -> MCPWM1_TASK_CMPR0_B_UP_ST_CLR_W { @@ -147,7 +137,6 @@ impl W { } #[doc = "Bit 10 - Configures whether or not to clear MCPWM1_task_cmpr1_b_up trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_cmpr1_b_up_st_clr( &mut self, ) -> MCPWM1_TASK_CMPR1_B_UP_ST_CLR_W { @@ -155,7 +144,6 @@ impl W { } #[doc = "Bit 11 - Configures whether or not to clear MCPWM1_task_cmpr2_b_up trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_cmpr2_b_up_st_clr( &mut self, ) -> MCPWM1_TASK_CMPR2_B_UP_ST_CLR_W { @@ -163,7 +151,6 @@ impl W { } #[doc = "Bit 12 - Configures whether or not to clear MCPWM1_task_gen_stop trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_gen_stop_st_clr( &mut self, ) -> MCPWM1_TASK_GEN_STOP_ST_CLR_W { @@ -171,7 +158,6 @@ impl W { } #[doc = "Bit 13 - Configures whether or not to clear MCPWM1_task_timer0_syn trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_timer0_syn_st_clr( &mut self, ) -> MCPWM1_TASK_TIMER0_SYN_ST_CLR_W { @@ -179,7 +165,6 @@ impl W { } #[doc = "Bit 14 - Configures whether or not to clear MCPWM1_task_timer1_syn trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_timer1_syn_st_clr( &mut self, ) -> MCPWM1_TASK_TIMER1_SYN_ST_CLR_W { @@ -187,7 +172,6 @@ impl W { } #[doc = "Bit 15 - Configures whether or not to clear MCPWM1_task_timer2_syn trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_timer2_syn_st_clr( &mut self, ) -> MCPWM1_TASK_TIMER2_SYN_ST_CLR_W { @@ -195,7 +179,6 @@ impl W { } #[doc = "Bit 16 - Configures whether or not to clear MCPWM1_task_timer0_period_up trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_timer0_period_up_st_clr( &mut self, ) -> MCPWM1_TASK_TIMER0_PERIOD_UP_ST_CLR_W { @@ -203,7 +186,6 @@ impl W { } #[doc = "Bit 17 - Configures whether or not to clear MCPWM1_task_timer1_period_up trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_timer1_period_up_st_clr( &mut self, ) -> MCPWM1_TASK_TIMER1_PERIOD_UP_ST_CLR_W { @@ -211,7 +193,6 @@ impl W { } #[doc = "Bit 18 - Configures whether or not to clear MCPWM1_task_timer2_period_up trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_timer2_period_up_st_clr( &mut self, ) -> MCPWM1_TASK_TIMER2_PERIOD_UP_ST_CLR_W { @@ -219,7 +200,6 @@ impl W { } #[doc = "Bit 19 - Configures whether or not to clear MCPWM1_task_tz0_ost trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_tz0_ost_st_clr( &mut self, ) -> MCPWM1_TASK_TZ0_OST_ST_CLR_W { @@ -227,7 +207,6 @@ impl W { } #[doc = "Bit 20 - Configures whether or not to clear MCPWM1_task_tz1_ost trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_tz1_ost_st_clr( &mut self, ) -> MCPWM1_TASK_TZ1_OST_ST_CLR_W { @@ -235,7 +214,6 @@ impl W { } #[doc = "Bit 21 - Configures whether or not to clear MCPWM1_task_tz2_ost trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_tz2_ost_st_clr( &mut self, ) -> MCPWM1_TASK_TZ2_OST_ST_CLR_W { @@ -243,7 +221,6 @@ impl W { } #[doc = "Bit 22 - Configures whether or not to clear MCPWM1_task_clr0_ost trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_clr0_ost_st_clr( &mut self, ) -> MCPWM1_TASK_CLR0_OST_ST_CLR_W { @@ -251,7 +228,6 @@ impl W { } #[doc = "Bit 23 - Configures whether or not to clear MCPWM1_task_clr1_ost trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_clr1_ost_st_clr( &mut self, ) -> MCPWM1_TASK_CLR1_OST_ST_CLR_W { @@ -259,7 +235,6 @@ impl W { } #[doc = "Bit 24 - Configures whether or not to clear MCPWM1_task_clr2_ost trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_clr2_ost_st_clr( &mut self, ) -> MCPWM1_TASK_CLR2_OST_ST_CLR_W { @@ -267,43 +242,36 @@ impl W { } #[doc = "Bit 25 - Configures whether or not to clear MCPWM1_task_cap0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_cap0_st_clr(&mut self) -> MCPWM1_TASK_CAP0_ST_CLR_W { MCPWM1_TASK_CAP0_ST_CLR_W::new(self, 25) } #[doc = "Bit 26 - Configures whether or not to clear MCPWM1_task_cap1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_cap1_st_clr(&mut self) -> MCPWM1_TASK_CAP1_ST_CLR_W { MCPWM1_TASK_CAP1_ST_CLR_W::new(self, 26) } #[doc = "Bit 27 - Configures whether or not to clear MCPWM1_task_cap2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn mcpwm1_task_cap2_st_clr(&mut self) -> MCPWM1_TASK_CAP2_ST_CLR_W { MCPWM1_TASK_CAP2_ST_CLR_W::new(self, 27) } #[doc = "Bit 28 - Configures whether or not to clear ADC_task_sample0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn adc_task_sample0_st_clr(&mut self) -> ADC_TASK_SAMPLE0_ST_CLR_W { ADC_TASK_SAMPLE0_ST_CLR_W::new(self, 28) } #[doc = "Bit 29 - Configures whether or not to clear ADC_task_sample1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn adc_task_sample1_st_clr(&mut self) -> ADC_TASK_SAMPLE1_ST_CLR_W { ADC_TASK_SAMPLE1_ST_CLR_W::new(self, 29) } #[doc = "Bit 30 - Configures whether or not to clear ADC_task_start0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn adc_task_start0_st_clr(&mut self) -> ADC_TASK_START0_ST_CLR_W { ADC_TASK_START0_ST_CLR_W::new(self, 30) } #[doc = "Bit 31 - Configures whether or not to clear ADC_task_stop0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn adc_task_stop0_st_clr(&mut self) -> ADC_TASK_STOP0_ST_CLR_W { ADC_TASK_STOP0_ST_CLR_W::new(self, 31) } diff --git a/esp32p4/src/soc_etm/task_st5.rs b/esp32p4/src/soc_etm/task_st5.rs index 4a4ccea3a3..c090c4e258 100644 --- a/esp32p4/src/soc_etm/task_st5.rs +++ b/esp32p4/src/soc_etm/task_st5.rs @@ -364,31 +364,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Represents REGDMA_task_start0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn regdma_task_start0_st(&mut self) -> REGDMA_TASK_START0_ST_W { REGDMA_TASK_START0_ST_W::new(self, 0) } #[doc = "Bit 1 - Represents REGDMA_task_start1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn regdma_task_start1_st(&mut self) -> REGDMA_TASK_START1_ST_W { REGDMA_TASK_START1_ST_W::new(self, 1) } #[doc = "Bit 2 - Represents REGDMA_task_start2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn regdma_task_start2_st(&mut self) -> REGDMA_TASK_START2_ST_W { REGDMA_TASK_START2_ST_W::new(self, 2) } #[doc = "Bit 3 - Represents REGDMA_task_start3 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn regdma_task_start3_st(&mut self) -> REGDMA_TASK_START3_ST_W { REGDMA_TASK_START3_ST_W::new(self, 3) } #[doc = "Bit 4 - Represents TMPSNSR_task_start_sample trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn tmpsnsr_task_start_sample_st( &mut self, ) -> TMPSNSR_TASK_START_SAMPLE_ST_W { @@ -396,121 +391,101 @@ impl W { } #[doc = "Bit 5 - Represents TMPSNSR_task_stop_sample trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn tmpsnsr_task_stop_sample_st(&mut self) -> TMPSNSR_TASK_STOP_SAMPLE_ST_W { TMPSNSR_TASK_STOP_SAMPLE_ST_W::new(self, 5) } #[doc = "Bit 6 - Represents I2S0_task_start_rx trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn i2s0_task_start_rx_st(&mut self) -> I2S0_TASK_START_RX_ST_W { I2S0_TASK_START_RX_ST_W::new(self, 6) } #[doc = "Bit 7 - Represents I2S0_task_start_tx trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn i2s0_task_start_tx_st(&mut self) -> I2S0_TASK_START_TX_ST_W { I2S0_TASK_START_TX_ST_W::new(self, 7) } #[doc = "Bit 8 - Represents I2S0_task_stop_rx trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn i2s0_task_stop_rx_st(&mut self) -> I2S0_TASK_STOP_RX_ST_W { I2S0_TASK_STOP_RX_ST_W::new(self, 8) } #[doc = "Bit 9 - Represents I2S0_task_stop_tx trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn i2s0_task_stop_tx_st(&mut self) -> I2S0_TASK_STOP_TX_ST_W { I2S0_TASK_STOP_TX_ST_W::new(self, 9) } #[doc = "Bit 10 - Represents I2S1_task_start_rx trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn i2s1_task_start_rx_st(&mut self) -> I2S1_TASK_START_RX_ST_W { I2S1_TASK_START_RX_ST_W::new(self, 10) } #[doc = "Bit 11 - Represents I2S1_task_start_tx trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn i2s1_task_start_tx_st(&mut self) -> I2S1_TASK_START_TX_ST_W { I2S1_TASK_START_TX_ST_W::new(self, 11) } #[doc = "Bit 12 - Represents I2S1_task_stop_rx trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn i2s1_task_stop_rx_st(&mut self) -> I2S1_TASK_STOP_RX_ST_W { I2S1_TASK_STOP_RX_ST_W::new(self, 12) } #[doc = "Bit 13 - Represents I2S1_task_stop_tx trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn i2s1_task_stop_tx_st(&mut self) -> I2S1_TASK_STOP_TX_ST_W { I2S1_TASK_STOP_TX_ST_W::new(self, 13) } #[doc = "Bit 14 - Represents I2S2_task_start_rx trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn i2s2_task_start_rx_st(&mut self) -> I2S2_TASK_START_RX_ST_W { I2S2_TASK_START_RX_ST_W::new(self, 14) } #[doc = "Bit 15 - Represents I2S2_task_start_tx trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn i2s2_task_start_tx_st(&mut self) -> I2S2_TASK_START_TX_ST_W { I2S2_TASK_START_TX_ST_W::new(self, 15) } #[doc = "Bit 16 - Represents I2S2_task_stop_rx trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn i2s2_task_stop_rx_st(&mut self) -> I2S2_TASK_STOP_RX_ST_W { I2S2_TASK_STOP_RX_ST_W::new(self, 16) } #[doc = "Bit 17 - Represents I2S2_task_stop_tx trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn i2s2_task_stop_tx_st(&mut self) -> I2S2_TASK_STOP_TX_ST_W { I2S2_TASK_STOP_TX_ST_W::new(self, 17) } #[doc = "Bit 18 - Represents ULP_task_wakeup_cpu trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ulp_task_wakeup_cpu_st(&mut self) -> ULP_TASK_WAKEUP_CPU_ST_W { ULP_TASK_WAKEUP_CPU_ST_W::new(self, 18) } #[doc = "Bit 19 - Represents ULP_task_int_cpu trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn ulp_task_int_cpu_st(&mut self) -> ULP_TASK_INT_CPU_ST_W { ULP_TASK_INT_CPU_ST_W::new(self, 19) } #[doc = "Bit 20 - Represents RTC_task_start trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn rtc_task_start_st(&mut self) -> RTC_TASK_START_ST_W { RTC_TASK_START_ST_W::new(self, 20) } #[doc = "Bit 21 - Represents RTC_task_stop trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn rtc_task_stop_st(&mut self) -> RTC_TASK_STOP_ST_W { RTC_TASK_STOP_ST_W::new(self, 21) } #[doc = "Bit 22 - Represents RTC_task_clr trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn rtc_task_clr_st(&mut self) -> RTC_TASK_CLR_ST_W { RTC_TASK_CLR_ST_W::new(self, 22) } #[doc = "Bit 23 - Represents RTC_task_triggerflw trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn rtc_task_triggerflw_st(&mut self) -> RTC_TASK_TRIGGERFLW_ST_W { RTC_TASK_TRIGGERFLW_ST_W::new(self, 23) } #[doc = "Bit 24 - Represents PDMA_AHB_task_in_start_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_ahb_task_in_start_ch0_st( &mut self, ) -> PDMA_AHB_TASK_IN_START_CH0_ST_W { @@ -518,7 +493,6 @@ impl W { } #[doc = "Bit 25 - Represents PDMA_AHB_task_in_start_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_ahb_task_in_start_ch1_st( &mut self, ) -> PDMA_AHB_TASK_IN_START_CH1_ST_W { @@ -526,7 +500,6 @@ impl W { } #[doc = "Bit 26 - Represents PDMA_AHB_task_in_start_ch2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_ahb_task_in_start_ch2_st( &mut self, ) -> PDMA_AHB_TASK_IN_START_CH2_ST_W { @@ -534,7 +507,6 @@ impl W { } #[doc = "Bit 27 - Represents PDMA_AHB_task_out_start_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_ahb_task_out_start_ch0_st( &mut self, ) -> PDMA_AHB_TASK_OUT_START_CH0_ST_W { @@ -542,7 +514,6 @@ impl W { } #[doc = "Bit 28 - Represents PDMA_AHB_task_out_start_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_ahb_task_out_start_ch1_st( &mut self, ) -> PDMA_AHB_TASK_OUT_START_CH1_ST_W { @@ -550,7 +521,6 @@ impl W { } #[doc = "Bit 29 - Represents PDMA_AHB_task_out_start_ch2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_ahb_task_out_start_ch2_st( &mut self, ) -> PDMA_AHB_TASK_OUT_START_CH2_ST_W { @@ -558,7 +528,6 @@ impl W { } #[doc = "Bit 30 - Represents PDMA_AXI_task_in_start_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_axi_task_in_start_ch0_st( &mut self, ) -> PDMA_AXI_TASK_IN_START_CH0_ST_W { @@ -566,7 +535,6 @@ impl W { } #[doc = "Bit 31 - Represents PDMA_AXI_task_in_start_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_axi_task_in_start_ch1_st( &mut self, ) -> PDMA_AXI_TASK_IN_START_CH1_ST_W { diff --git a/esp32p4/src/soc_etm/task_st5_clr.rs b/esp32p4/src/soc_etm/task_st5_clr.rs index eb233d3be5..110b16bbba 100644 --- a/esp32p4/src/soc_etm/task_st5_clr.rs +++ b/esp32p4/src/soc_etm/task_st5_clr.rs @@ -73,31 +73,26 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Configures whether or not to clear REGDMA_task_start0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn regdma_task_start0_st_clr(&mut self) -> REGDMA_TASK_START0_ST_CLR_W { REGDMA_TASK_START0_ST_CLR_W::new(self, 0) } #[doc = "Bit 1 - Configures whether or not to clear REGDMA_task_start1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn regdma_task_start1_st_clr(&mut self) -> REGDMA_TASK_START1_ST_CLR_W { REGDMA_TASK_START1_ST_CLR_W::new(self, 1) } #[doc = "Bit 2 - Configures whether or not to clear REGDMA_task_start2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn regdma_task_start2_st_clr(&mut self) -> REGDMA_TASK_START2_ST_CLR_W { REGDMA_TASK_START2_ST_CLR_W::new(self, 2) } #[doc = "Bit 3 - Configures whether or not to clear REGDMA_task_start3 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn regdma_task_start3_st_clr(&mut self) -> REGDMA_TASK_START3_ST_CLR_W { REGDMA_TASK_START3_ST_CLR_W::new(self, 3) } #[doc = "Bit 4 - Configures whether or not to clear TMPSNSR_task_start_sample trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn tmpsnsr_task_start_sample_st_clr( &mut self, ) -> TMPSNSR_TASK_START_SAMPLE_ST_CLR_W { @@ -105,7 +100,6 @@ impl W { } #[doc = "Bit 5 - Configures whether or not to clear TMPSNSR_task_stop_sample trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn tmpsnsr_task_stop_sample_st_clr( &mut self, ) -> TMPSNSR_TASK_STOP_SAMPLE_ST_CLR_W { @@ -113,79 +107,66 @@ impl W { } #[doc = "Bit 6 - Configures whether or not to clear I2S0_task_start_rx trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn i2s0_task_start_rx_st_clr(&mut self) -> I2S0_TASK_START_RX_ST_CLR_W { I2S0_TASK_START_RX_ST_CLR_W::new(self, 6) } #[doc = "Bit 7 - Configures whether or not to clear I2S0_task_start_tx trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn i2s0_task_start_tx_st_clr(&mut self) -> I2S0_TASK_START_TX_ST_CLR_W { I2S0_TASK_START_TX_ST_CLR_W::new(self, 7) } #[doc = "Bit 8 - Configures whether or not to clear I2S0_task_stop_rx trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn i2s0_task_stop_rx_st_clr(&mut self) -> I2S0_TASK_STOP_RX_ST_CLR_W { I2S0_TASK_STOP_RX_ST_CLR_W::new(self, 8) } #[doc = "Bit 9 - Configures whether or not to clear I2S0_task_stop_tx trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn i2s0_task_stop_tx_st_clr(&mut self) -> I2S0_TASK_STOP_TX_ST_CLR_W { I2S0_TASK_STOP_TX_ST_CLR_W::new(self, 9) } #[doc = "Bit 10 - Configures whether or not to clear I2S1_task_start_rx trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn i2s1_task_start_rx_st_clr(&mut self) -> I2S1_TASK_START_RX_ST_CLR_W { I2S1_TASK_START_RX_ST_CLR_W::new(self, 10) } #[doc = "Bit 11 - Configures whether or not to clear I2S1_task_start_tx trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn i2s1_task_start_tx_st_clr(&mut self) -> I2S1_TASK_START_TX_ST_CLR_W { I2S1_TASK_START_TX_ST_CLR_W::new(self, 11) } #[doc = "Bit 12 - Configures whether or not to clear I2S1_task_stop_rx trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn i2s1_task_stop_rx_st_clr(&mut self) -> I2S1_TASK_STOP_RX_ST_CLR_W { I2S1_TASK_STOP_RX_ST_CLR_W::new(self, 12) } #[doc = "Bit 13 - Configures whether or not to clear I2S1_task_stop_tx trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn i2s1_task_stop_tx_st_clr(&mut self) -> I2S1_TASK_STOP_TX_ST_CLR_W { I2S1_TASK_STOP_TX_ST_CLR_W::new(self, 13) } #[doc = "Bit 14 - Configures whether or not to clear I2S2_task_start_rx trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn i2s2_task_start_rx_st_clr(&mut self) -> I2S2_TASK_START_RX_ST_CLR_W { I2S2_TASK_START_RX_ST_CLR_W::new(self, 14) } #[doc = "Bit 15 - Configures whether or not to clear I2S2_task_start_tx trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn i2s2_task_start_tx_st_clr(&mut self) -> I2S2_TASK_START_TX_ST_CLR_W { I2S2_TASK_START_TX_ST_CLR_W::new(self, 15) } #[doc = "Bit 16 - Configures whether or not to clear I2S2_task_stop_rx trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn i2s2_task_stop_rx_st_clr(&mut self) -> I2S2_TASK_STOP_RX_ST_CLR_W { I2S2_TASK_STOP_RX_ST_CLR_W::new(self, 16) } #[doc = "Bit 17 - Configures whether or not to clear I2S2_task_stop_tx trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn i2s2_task_stop_tx_st_clr(&mut self) -> I2S2_TASK_STOP_TX_ST_CLR_W { I2S2_TASK_STOP_TX_ST_CLR_W::new(self, 17) } #[doc = "Bit 18 - Configures whether or not to clear ULP_task_wakeup_cpu trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ulp_task_wakeup_cpu_st_clr( &mut self, ) -> ULP_TASK_WAKEUP_CPU_ST_CLR_W { @@ -193,31 +174,26 @@ impl W { } #[doc = "Bit 19 - Configures whether or not to clear ULP_task_int_cpu trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn ulp_task_int_cpu_st_clr(&mut self) -> ULP_TASK_INT_CPU_ST_CLR_W { ULP_TASK_INT_CPU_ST_CLR_W::new(self, 19) } #[doc = "Bit 20 - Configures whether or not to clear RTC_task_start trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn rtc_task_start_st_clr(&mut self) -> RTC_TASK_START_ST_CLR_W { RTC_TASK_START_ST_CLR_W::new(self, 20) } #[doc = "Bit 21 - Configures whether or not to clear RTC_task_stop trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn rtc_task_stop_st_clr(&mut self) -> RTC_TASK_STOP_ST_CLR_W { RTC_TASK_STOP_ST_CLR_W::new(self, 21) } #[doc = "Bit 22 - Configures whether or not to clear RTC_task_clr trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn rtc_task_clr_st_clr(&mut self) -> RTC_TASK_CLR_ST_CLR_W { RTC_TASK_CLR_ST_CLR_W::new(self, 22) } #[doc = "Bit 23 - Configures whether or not to clear RTC_task_triggerflw trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn rtc_task_triggerflw_st_clr( &mut self, ) -> RTC_TASK_TRIGGERFLW_ST_CLR_W { @@ -225,7 +201,6 @@ impl W { } #[doc = "Bit 24 - Configures whether or not to clear PDMA_AHB_task_in_start_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_ahb_task_in_start_ch0_st_clr( &mut self, ) -> PDMA_AHB_TASK_IN_START_CH0_ST_CLR_W { @@ -233,7 +208,6 @@ impl W { } #[doc = "Bit 25 - Configures whether or not to clear PDMA_AHB_task_in_start_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_ahb_task_in_start_ch1_st_clr( &mut self, ) -> PDMA_AHB_TASK_IN_START_CH1_ST_CLR_W { @@ -241,7 +215,6 @@ impl W { } #[doc = "Bit 26 - Configures whether or not to clear PDMA_AHB_task_in_start_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_ahb_task_in_start_ch2_st_clr( &mut self, ) -> PDMA_AHB_TASK_IN_START_CH2_ST_CLR_W { @@ -249,7 +222,6 @@ impl W { } #[doc = "Bit 27 - Configures whether or not to clear PDMA_AHB_task_out_start_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_ahb_task_out_start_ch0_st_clr( &mut self, ) -> PDMA_AHB_TASK_OUT_START_CH0_ST_CLR_W { @@ -257,7 +229,6 @@ impl W { } #[doc = "Bit 28 - Configures whether or not to clear PDMA_AHB_task_out_start_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_ahb_task_out_start_ch1_st_clr( &mut self, ) -> PDMA_AHB_TASK_OUT_START_CH1_ST_CLR_W { @@ -265,7 +236,6 @@ impl W { } #[doc = "Bit 29 - Configures whether or not to clear PDMA_AHB_task_out_start_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_ahb_task_out_start_ch2_st_clr( &mut self, ) -> PDMA_AHB_TASK_OUT_START_CH2_ST_CLR_W { @@ -273,7 +243,6 @@ impl W { } #[doc = "Bit 30 - Configures whether or not to clear PDMA_AXI_task_in_start_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_axi_task_in_start_ch0_st_clr( &mut self, ) -> PDMA_AXI_TASK_IN_START_CH0_ST_CLR_W { @@ -281,7 +250,6 @@ impl W { } #[doc = "Bit 31 - Configures whether or not to clear PDMA_AXI_task_in_start_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_axi_task_in_start_ch1_st_clr( &mut self, ) -> PDMA_AXI_TASK_IN_START_CH1_ST_CLR_W { diff --git a/esp32p4/src/soc_etm/task_st6.rs b/esp32p4/src/soc_etm/task_st6.rs index bc9b875016..0c144f3837 100644 --- a/esp32p4/src/soc_etm/task_st6.rs +++ b/esp32p4/src/soc_etm/task_st6.rs @@ -206,7 +206,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Represents PDMA_AXI_task_in_start_ch2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_axi_task_in_start_ch2_st( &mut self, ) -> PDMA_AXI_TASK_IN_START_CH2_ST_W { @@ -214,7 +213,6 @@ impl W { } #[doc = "Bit 1 - Represents PDMA_AXI_task_out_start_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_axi_task_out_start_ch0_st( &mut self, ) -> PDMA_AXI_TASK_OUT_START_CH0_ST_W { @@ -222,7 +220,6 @@ impl W { } #[doc = "Bit 2 - Represents PDMA_AXI_task_out_start_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_axi_task_out_start_ch1_st( &mut self, ) -> PDMA_AXI_TASK_OUT_START_CH1_ST_W { @@ -230,7 +227,6 @@ impl W { } #[doc = "Bit 3 - Represents PDMA_AXI_task_out_start_ch2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pdma_axi_task_out_start_ch2_st( &mut self, ) -> PDMA_AXI_TASK_OUT_START_CH2_ST_W { @@ -238,25 +234,21 @@ impl W { } #[doc = "Bit 4 - Represents PMU_task_sleep_req trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn pmu_task_sleep_req_st(&mut self) -> PMU_TASK_SLEEP_REQ_ST_W { PMU_TASK_SLEEP_REQ_ST_W::new(self, 4) } #[doc = "Bit 5 - Represents DMA2D_task_in_start_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn dma2d_task_in_start_ch0_st(&mut self) -> DMA2D_TASK_IN_START_CH0_ST_W { DMA2D_TASK_IN_START_CH0_ST_W::new(self, 5) } #[doc = "Bit 6 - Represents DMA2D_task_in_start_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn dma2d_task_in_start_ch1_st(&mut self) -> DMA2D_TASK_IN_START_CH1_ST_W { DMA2D_TASK_IN_START_CH1_ST_W::new(self, 6) } #[doc = "Bit 7 - Represents DMA2D_task_in_dscr_ready_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn dma2d_task_in_dscr_ready_ch0_st( &mut self, ) -> DMA2D_TASK_IN_DSCR_READY_CH0_ST_W { @@ -264,7 +256,6 @@ impl W { } #[doc = "Bit 8 - Represents DMA2D_task_in_dscr_ready_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn dma2d_task_in_dscr_ready_ch1_st( &mut self, ) -> DMA2D_TASK_IN_DSCR_READY_CH1_ST_W { @@ -272,25 +263,21 @@ impl W { } #[doc = "Bit 9 - Represents DMA2D_task_out_start_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn dma2d_task_out_start_ch0_st(&mut self) -> DMA2D_TASK_OUT_START_CH0_ST_W { DMA2D_TASK_OUT_START_CH0_ST_W::new(self, 9) } #[doc = "Bit 10 - Represents DMA2D_task_out_start_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn dma2d_task_out_start_ch1_st(&mut self) -> DMA2D_TASK_OUT_START_CH1_ST_W { DMA2D_TASK_OUT_START_CH1_ST_W::new(self, 10) } #[doc = "Bit 11 - Represents DMA2D_task_out_start_ch2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn dma2d_task_out_start_ch2_st(&mut self) -> DMA2D_TASK_OUT_START_CH2_ST_W { DMA2D_TASK_OUT_START_CH2_ST_W::new(self, 11) } #[doc = "Bit 12 - Represents DMA2D_task_out_dscr_ready_ch0 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn dma2d_task_out_dscr_ready_ch0_st( &mut self, ) -> DMA2D_TASK_OUT_DSCR_READY_CH0_ST_W { @@ -298,7 +285,6 @@ impl W { } #[doc = "Bit 13 - Represents DMA2D_task_out_dscr_ready_ch1 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn dma2d_task_out_dscr_ready_ch1_st( &mut self, ) -> DMA2D_TASK_OUT_DSCR_READY_CH1_ST_W { @@ -306,7 +292,6 @@ impl W { } #[doc = "Bit 14 - Represents DMA2D_task_out_dscr_ready_ch2 trigger status.\\\\0: Not triggered\\\\1: Triggered"] #[inline(always)] - #[must_use] pub fn dma2d_task_out_dscr_ready_ch2_st( &mut self, ) -> DMA2D_TASK_OUT_DSCR_READY_CH2_ST_W { diff --git a/esp32p4/src/soc_etm/task_st6_clr.rs b/esp32p4/src/soc_etm/task_st6_clr.rs index 4924576a0b..c91bc6b212 100644 --- a/esp32p4/src/soc_etm/task_st6_clr.rs +++ b/esp32p4/src/soc_etm/task_st6_clr.rs @@ -39,7 +39,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Configures whether or not to clear PDMA_AXI_task_in_start_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_axi_task_in_start_ch2_st_clr( &mut self, ) -> PDMA_AXI_TASK_IN_START_CH2_ST_CLR_W { @@ -47,7 +46,6 @@ impl W { } #[doc = "Bit 1 - Configures whether or not to clear PDMA_AXI_task_out_start_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_axi_task_out_start_ch0_st_clr( &mut self, ) -> PDMA_AXI_TASK_OUT_START_CH0_ST_CLR_W { @@ -55,7 +53,6 @@ impl W { } #[doc = "Bit 2 - Configures whether or not to clear PDMA_AXI_task_out_start_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_axi_task_out_start_ch1_st_clr( &mut self, ) -> PDMA_AXI_TASK_OUT_START_CH1_ST_CLR_W { @@ -63,7 +60,6 @@ impl W { } #[doc = "Bit 3 - Configures whether or not to clear PDMA_AXI_task_out_start_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pdma_axi_task_out_start_ch2_st_clr( &mut self, ) -> PDMA_AXI_TASK_OUT_START_CH2_ST_CLR_W { @@ -71,13 +67,11 @@ impl W { } #[doc = "Bit 4 - Configures whether or not to clear PMU_task_sleep_req trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn pmu_task_sleep_req_st_clr(&mut self) -> PMU_TASK_SLEEP_REQ_ST_CLR_W { PMU_TASK_SLEEP_REQ_ST_CLR_W::new(self, 4) } #[doc = "Bit 5 - Configures whether or not to clear DMA2D_task_in_start_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn dma2d_task_in_start_ch0_st_clr( &mut self, ) -> DMA2D_TASK_IN_START_CH0_ST_CLR_W { @@ -85,7 +79,6 @@ impl W { } #[doc = "Bit 6 - Configures whether or not to clear DMA2D_task_in_start_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn dma2d_task_in_start_ch1_st_clr( &mut self, ) -> DMA2D_TASK_IN_START_CH1_ST_CLR_W { @@ -93,7 +86,6 @@ impl W { } #[doc = "Bit 7 - Configures whether or not to clear DMA2D_task_in_dscr_ready_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn dma2d_task_in_dscr_ready_ch0_st_clr( &mut self, ) -> DMA2D_TASK_IN_DSCR_READY_CH0_ST_CLR_W { @@ -101,7 +93,6 @@ impl W { } #[doc = "Bit 8 - Configures whether or not to clear DMA2D_task_in_dscr_ready_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn dma2d_task_in_dscr_ready_ch1_st_clr( &mut self, ) -> DMA2D_TASK_IN_DSCR_READY_CH1_ST_CLR_W { @@ -109,7 +100,6 @@ impl W { } #[doc = "Bit 9 - Configures whether or not to clear DMA2D_task_out_start_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn dma2d_task_out_start_ch0_st_clr( &mut self, ) -> DMA2D_TASK_OUT_START_CH0_ST_CLR_W { @@ -117,7 +107,6 @@ impl W { } #[doc = "Bit 10 - Configures whether or not to clear DMA2D_task_out_start_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn dma2d_task_out_start_ch1_st_clr( &mut self, ) -> DMA2D_TASK_OUT_START_CH1_ST_CLR_W { @@ -125,7 +114,6 @@ impl W { } #[doc = "Bit 11 - Configures whether or not to clear DMA2D_task_out_start_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn dma2d_task_out_start_ch2_st_clr( &mut self, ) -> DMA2D_TASK_OUT_START_CH2_ST_CLR_W { @@ -133,7 +121,6 @@ impl W { } #[doc = "Bit 12 - Configures whether or not to clear DMA2D_task_out_dscr_ready_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn dma2d_task_out_dscr_ready_ch0_st_clr( &mut self, ) -> DMA2D_TASK_OUT_DSCR_READY_CH0_ST_CLR_W { @@ -141,7 +128,6 @@ impl W { } #[doc = "Bit 13 - Configures whether or not to clear DMA2D_task_out_dscr_ready_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn dma2d_task_out_dscr_ready_ch1_st_clr( &mut self, ) -> DMA2D_TASK_OUT_DSCR_READY_CH1_ST_CLR_W { @@ -149,7 +135,6 @@ impl W { } #[doc = "Bit 14 - Configures whether or not to clear DMA2D_task_out_dscr_ready_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"] #[inline(always)] - #[must_use] pub fn dma2d_task_out_dscr_ready_ch2_st_clr( &mut self, ) -> DMA2D_TASK_OUT_DSCR_READY_CH2_ST_CLR_W { diff --git a/esp32p4/src/spi0/axi_err_resp_en.rs b/esp32p4/src/spi0/axi_err_resp_en.rs index 1579e041e8..9a42dfec53 100644 --- a/esp32p4/src/spi0/axi_err_resp_en.rs +++ b/esp32p4/src/spi0/axi_err_resp_en.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable AXI response function for mmu valid err in axi write trans."] #[inline(always)] - #[must_use] pub fn aw_resp_en_mmu_vld(&mut self) -> AW_RESP_EN_MMU_VLD_W { AW_RESP_EN_MMU_VLD_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to enable AXI response function for mmu gid err in axi write trans."] #[inline(always)] - #[must_use] pub fn aw_resp_en_mmu_gid(&mut self) -> AW_RESP_EN_MMU_GID_W { AW_RESP_EN_MMU_GID_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to enable AXI response function for axi size err in axi write trans."] #[inline(always)] - #[must_use] pub fn aw_resp_en_axi_size(&mut self) -> AW_RESP_EN_AXI_SIZE_W { AW_RESP_EN_AXI_SIZE_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to enable AXI response function for axi flash err in axi write trans."] #[inline(always)] - #[must_use] pub fn aw_resp_en_axi_flash(&mut self) -> AW_RESP_EN_AXI_FLASH_W { AW_RESP_EN_AXI_FLASH_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to enable AXI response function for mmu ecc err in axi write trans."] #[inline(always)] - #[must_use] pub fn aw_resp_en_mmu_ecc(&mut self) -> AW_RESP_EN_MMU_ECC_W { AW_RESP_EN_MMU_ECC_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to enable AXI response function for mmu sens in err axi write trans."] #[inline(always)] - #[must_use] pub fn aw_resp_en_mmu_sens(&mut self) -> AW_RESP_EN_MMU_SENS_W { AW_RESP_EN_MMU_SENS_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to enable AXI response function for axi wstrb err in axi write trans."] #[inline(always)] - #[must_use] pub fn aw_resp_en_axi_wstrb(&mut self) -> AW_RESP_EN_AXI_WSTRB_W { AW_RESP_EN_AXI_WSTRB_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to enable AXI response function for mmu valid err in axi read trans."] #[inline(always)] - #[must_use] pub fn ar_resp_en_mmu_vld(&mut self) -> AR_RESP_EN_MMU_VLD_W { AR_RESP_EN_MMU_VLD_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to enable AXI response function for mmu gid err in axi read trans."] #[inline(always)] - #[must_use] pub fn ar_resp_en_mmu_gid(&mut self) -> AR_RESP_EN_MMU_GID_W { AR_RESP_EN_MMU_GID_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to enable AXI response function for mmu ecc err in axi read trans."] #[inline(always)] - #[must_use] pub fn ar_resp_en_mmu_ecc(&mut self) -> AR_RESP_EN_MMU_ECC_W { AR_RESP_EN_MMU_ECC_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to enable AXI response function for mmu sensitive err in axi read trans."] #[inline(always)] - #[must_use] pub fn ar_resp_en_mmu_sens(&mut self) -> AR_RESP_EN_MMU_SENS_W { AR_RESP_EN_MMU_SENS_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to enable AXI response function for axi size err in axi read trans."] #[inline(always)] - #[must_use] pub fn ar_resp_en_axi_size(&mut self) -> AR_RESP_EN_AXI_SIZE_W { AR_RESP_EN_AXI_SIZE_W::new(self, 11) } diff --git a/esp32p4/src/spi0/cache_fctrl.rs b/esp32p4/src/spi0/cache_fctrl.rs index 9f8dfcb4dd..b71a41e4bd 100644 --- a/esp32p4/src/spi0/cache_fctrl.rs +++ b/esp32p4/src/spi0/cache_fctrl.rs @@ -127,67 +127,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - For SPI0, AXI master access enable, 1: enable, 0:disable."] #[inline(always)] - #[must_use] pub fn axi_req_en(&mut self) -> AXI_REQ_EN_W { AXI_REQ_EN_W::new(self, 0) } #[doc = "Bit 1 - For SPI0, cache read flash with 4 bytes address, 1: enable, 0:disable."] #[inline(always)] - #[must_use] pub fn cache_usr_addr_4byte(&mut self) -> CACHE_USR_ADDR_4BYTE_W { CACHE_USR_ADDR_4BYTE_W::new(self, 1) } #[doc = "Bit 2 - For SPI0, cache read flash for user define command, 1: enable, 0:disable."] #[inline(always)] - #[must_use] pub fn cache_flash_usr_cmd(&mut self) -> CACHE_FLASH_USR_CMD_W { CACHE_FLASH_USR_CMD_W::new(self, 2) } #[doc = "Bit 3 - For SPI0 flash, din phase apply 2 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_dio."] #[inline(always)] - #[must_use] pub fn fdin_dual(&mut self) -> FDIN_DUAL_W { FDIN_DUAL_W::new(self, 3) } #[doc = "Bit 4 - For SPI0 flash, dout phase apply 2 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_dio."] #[inline(always)] - #[must_use] pub fn fdout_dual(&mut self) -> FDOUT_DUAL_W { FDOUT_DUAL_W::new(self, 4) } #[doc = "Bit 5 - For SPI0 flash, address phase apply 2 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_dio."] #[inline(always)] - #[must_use] pub fn faddr_dual(&mut self) -> FADDR_DUAL_W { FADDR_DUAL_W::new(self, 5) } #[doc = "Bit 6 - For SPI0 flash, din phase apply 4 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_qio."] #[inline(always)] - #[must_use] pub fn fdin_quad(&mut self) -> FDIN_QUAD_W { FDIN_QUAD_W::new(self, 6) } #[doc = "Bit 7 - For SPI0 flash, dout phase apply 4 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_qio."] #[inline(always)] - #[must_use] pub fn fdout_quad(&mut self) -> FDOUT_QUAD_W { FDOUT_QUAD_W::new(self, 7) } #[doc = "Bit 8 - For SPI0 flash, address phase apply 4 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_qio."] #[inline(always)] - #[must_use] pub fn faddr_quad(&mut self) -> FADDR_QUAD_W { FADDR_QUAD_W::new(self, 8) } #[doc = "Bit 30 - Set this bit to check AXI read/write the same address region."] #[inline(always)] - #[must_use] pub fn spi_same_aw_ar_addr_chk_en(&mut self) -> SPI_SAME_AW_AR_ADDR_CHK_EN_W { SPI_SAME_AW_AR_ADDR_CHK_EN_W::new(self, 30) } #[doc = "Bit 31 - Set this bit to close AXI read/write transfer to MSPI, which means that only SLV_ERR will be replied to BRESP/RRESP."] #[inline(always)] - #[must_use] pub fn spi_close_axi_inf_en(&mut self) -> SPI_CLOSE_AXI_INF_EN_W { SPI_CLOSE_AXI_INF_EN_W::new(self, 31) } diff --git a/esp32p4/src/spi0/cache_sctrl.rs b/esp32p4/src/spi0/cache_sctrl.rs index ff4e5dbf20..87fda69471 100644 --- a/esp32p4/src/spi0/cache_sctrl.rs +++ b/esp32p4/src/spi0/cache_sctrl.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - For SPI0, In the external RAM mode, cache read flash with 4 bytes command, 1: enable, 0:disable."] #[inline(always)] - #[must_use] pub fn cache_usr_saddr_4byte(&mut self) -> CACHE_USR_SADDR_4BYTE_W { CACHE_USR_SADDR_4BYTE_W::new(self, 0) } #[doc = "Bit 1 - For SPI0, In the external RAM mode, spi dual I/O mode enable, 1: enable, 0:disable"] #[inline(always)] - #[must_use] pub fn usr_sram_dio(&mut self) -> USR_SRAM_DIO_W { USR_SRAM_DIO_W::new(self, 1) } #[doc = "Bit 2 - For SPI0, In the external RAM mode, spi quad I/O mode enable, 1: enable, 0:disable"] #[inline(always)] - #[must_use] pub fn usr_sram_qio(&mut self) -> USR_SRAM_QIO_W { USR_SRAM_QIO_W::new(self, 2) } #[doc = "Bit 3 - For SPI0, In the external RAM mode, it is the enable bit of dummy phase for write operations."] #[inline(always)] - #[must_use] pub fn usr_wr_sram_dummy(&mut self) -> USR_WR_SRAM_DUMMY_W { USR_WR_SRAM_DUMMY_W::new(self, 3) } #[doc = "Bit 4 - For SPI0, In the external RAM mode, it is the enable bit of dummy phase for read operations."] #[inline(always)] - #[must_use] pub fn usr_rd_sram_dummy(&mut self) -> USR_RD_SRAM_DUMMY_W { USR_RD_SRAM_DUMMY_W::new(self, 4) } #[doc = "Bit 5 - For SPI0, In the external RAM mode cache read external RAM for user define command."] #[inline(always)] - #[must_use] pub fn cache_sram_usr_rcmd(&mut self) -> CACHE_SRAM_USR_RCMD_W { CACHE_SRAM_USR_RCMD_W::new(self, 5) } #[doc = "Bits 6:11 - For SPI0, In the external RAM mode, it is the length in bits of read dummy phase. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn sram_rdummy_cyclelen(&mut self) -> SRAM_RDUMMY_CYCLELEN_W { SRAM_RDUMMY_CYCLELEN_W::new(self, 6) } #[doc = "Bits 14:19 - For SPI0, In the external RAM mode, it is the length in bits of address phase. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn sram_addr_bitlen(&mut self) -> SRAM_ADDR_BITLEN_W { SRAM_ADDR_BITLEN_W::new(self, 14) } #[doc = "Bit 20 - For SPI0, In the external RAM mode cache write sram for user define command"] #[inline(always)] - #[must_use] pub fn cache_sram_usr_wcmd(&mut self) -> CACHE_SRAM_USR_WCMD_W { CACHE_SRAM_USR_WCMD_W::new(self, 20) } #[doc = "Bit 21 - reserved"] #[inline(always)] - #[must_use] pub fn sram_oct(&mut self) -> SRAM_OCT_W { SRAM_OCT_W::new(self, 21) } #[doc = "Bits 22:27 - For SPI0, In the external RAM mode, it is the length in bits of write dummy phase. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn sram_wdummy_cyclelen(&mut self) -> SRAM_WDUMMY_CYCLELEN_W { SRAM_WDUMMY_CYCLELEN_W::new(self, 22) } diff --git a/esp32p4/src/spi0/clock.rs b/esp32p4/src/spi0/clock.rs index c93e28a318..c3aa1391e9 100644 --- a/esp32p4/src/spi0/clock.rs +++ b/esp32p4/src/spi0/clock.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In the master mode it must be equal to spi_mem_clkcnt_N."] #[inline(always)] - #[must_use] pub fn clkcnt_l(&mut self) -> CLKCNT_L_W { CLKCNT_L_W::new(self, 0) } #[doc = "Bits 8:15 - In the master mode it must be floor((spi_mem_clkcnt_N+1)/2-1)."] #[inline(always)] - #[must_use] pub fn clkcnt_h(&mut self) -> CLKCNT_H_W { CLKCNT_H_W::new(self, 8) } #[doc = "Bits 16:23 - In the master mode it is the divider of spi_mem_clk. So spi_mem_clk frequency is system/(spi_mem_clkcnt_N+1)"] #[inline(always)] - #[must_use] pub fn clkcnt_n(&mut self) -> CLKCNT_N_W { CLKCNT_N_W::new(self, 16) } #[doc = "Bit 31 - 1: 1-division mode, the frequency of SPI bus clock equals to that of MSPI module clock."] #[inline(always)] - #[must_use] pub fn clk_equ_sysclk(&mut self) -> CLK_EQU_SYSCLK_W { CLK_EQU_SYSCLK_W::new(self, 31) } diff --git a/esp32p4/src/spi0/clock_gate.rs b/esp32p4/src/spi0/clock_gate.rs index eaba212d60..c3ad7465e0 100644 --- a/esp32p4/src/spi0/clock_gate.rs +++ b/esp32p4/src/spi0/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Register clock gate enable signal. 1: Enable. 0: Disable."] #[inline(always)] - #[must_use] pub fn spi_clk_en(&mut self) -> SPI_CLK_EN_W { SPI_CLK_EN_W::new(self, 0) } diff --git a/esp32p4/src/spi0/ctrl.rs b/esp32p4/src/spi0/ctrl.rs index d083dfe28f..84bdacd8d8 100644 --- a/esp32p4/src/spi0/ctrl.rs +++ b/esp32p4/src/spi0/ctrl.rs @@ -204,115 +204,96 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - In the dummy phase of an MSPI write data transfer when accesses to flash, the level of SPI_DQS is output by the MSPI controller."] #[inline(always)] - #[must_use] pub fn wdummy_dqs_always_out(&mut self) -> WDUMMY_DQS_ALWAYS_OUT_W { WDUMMY_DQS_ALWAYS_OUT_W::new(self, 0) } #[doc = "Bit 1 - In the dummy phase of an MSPI write data transfer when accesses to flash, the level of SPI_IO\\[7:0\\] is output by the MSPI controller."] #[inline(always)] - #[must_use] pub fn wdummy_always_out(&mut self) -> WDUMMY_ALWAYS_OUT_W { WDUMMY_ALWAYS_OUT_W::new(self, 1) } #[doc = "Bit 2 - In an MSPI read data transfer when accesses to flash, the level of SPI_IO\\[7:0\\] is output by the MSPI controller in the first half part of dummy phase. It is used to mask invalid SPI_DQS in the half part of dummy phase."] #[inline(always)] - #[must_use] pub fn fdummy_rin(&mut self) -> FDUMMY_RIN_W { FDUMMY_RIN_W::new(self, 2) } #[doc = "Bit 3 - In an MSPI write data transfer when accesses to flash, the level of SPI_IO\\[7:0\\] is output by the MSPI controller in the second half part of dummy phase. It is used to pre-drive flash."] #[inline(always)] - #[must_use] pub fn fdummy_wout(&mut self) -> FDUMMY_WOUT_W { FDUMMY_WOUT_W::new(self, 3) } #[doc = "Bit 4 - Apply 8 signals during write-data phase 1:enable 0: disable"] #[inline(always)] - #[must_use] pub fn fdout_oct(&mut self) -> FDOUT_OCT_W { FDOUT_OCT_W::new(self, 4) } #[doc = "Bit 5 - Apply 8 signals during read-data phase 1:enable 0: disable"] #[inline(always)] - #[must_use] pub fn fdin_oct(&mut self) -> FDIN_OCT_W { FDIN_OCT_W::new(self, 5) } #[doc = "Bit 6 - Apply 8 signals during address phase 1:enable 0: disable"] #[inline(always)] - #[must_use] pub fn faddr_oct(&mut self) -> FADDR_OCT_W { FADDR_OCT_W::new(self, 6) } #[doc = "Bit 8 - Apply 4 signals during command phase 1:enable 0: disable"] #[inline(always)] - #[must_use] pub fn fcmd_quad(&mut self) -> FCMD_QUAD_W { FCMD_QUAD_W::new(self, 8) } #[doc = "Bit 9 - Apply 8 signals during command phase 1:enable 0: disable"] #[inline(always)] - #[must_use] pub fn fcmd_oct(&mut self) -> FCMD_OCT_W { FCMD_OCT_W::new(self, 9) } #[doc = "Bit 13 - This bit enable the bits: SPI_MEM_FREAD_QIO, SPI_MEM_FREAD_DIO, SPI_MEM_FREAD_QOUT and SPI_MEM_FREAD_DOUT. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fastrd_mode(&mut self) -> FASTRD_MODE_W { FASTRD_MODE_W::new(self, 13) } #[doc = "Bit 14 - In the read operations, read-data phase apply 2 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_dual(&mut self) -> FREAD_DUAL_W { FREAD_DUAL_W::new(self, 14) } #[doc = "Bit 18 - The bit is used to set MISO line polarity, 1: high 0, low"] #[inline(always)] - #[must_use] pub fn q_pol(&mut self) -> Q_POL_W { Q_POL_W::new(self, 18) } #[doc = "Bit 19 - The bit is used to set MOSI line polarity, 1: high 0, low"] #[inline(always)] - #[must_use] pub fn d_pol(&mut self) -> D_POL_W { D_POL_W::new(self, 19) } #[doc = "Bit 20 - In the read operations read-data phase apply 4 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_quad(&mut self) -> FREAD_QUAD_W { FREAD_QUAD_W::new(self, 20) } #[doc = "Bit 21 - Write protect signal output when SPI is idle. 1: output high, 0: output low."] #[inline(always)] - #[must_use] pub fn wp(&mut self) -> WP_W { WP_W::new(self, 21) } #[doc = "Bit 23 - In the read operations address phase and read-data phase apply 2 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_dio(&mut self) -> FREAD_DIO_W { FREAD_DIO_W::new(self, 23) } #[doc = "Bit 24 - In the read operations address phase and read-data phase apply 4 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_qio(&mut self) -> FREAD_QIO_W { FREAD_QIO_W::new(self, 24) } #[doc = "Bit 30 - When accesses to flash, 1: the IE signals of pads connected to SPI_DQS are always 1. 0: Others."] #[inline(always)] - #[must_use] pub fn dqs_ie_always_on(&mut self) -> DQS_IE_ALWAYS_ON_W { DQS_IE_ALWAYS_ON_W::new(self, 30) } #[doc = "Bit 31 - When accesses to flash, 1: the IE signals of pads connected to SPI_IO\\[7:0\\] are always 1. 0: Others."] #[inline(always)] - #[must_use] pub fn data_ie_always_on(&mut self) -> DATA_IE_ALWAYS_ON_W { DATA_IE_ALWAYS_ON_W::new(self, 31) } diff --git a/esp32p4/src/spi0/ctrl1.rs b/esp32p4/src/spi0/ctrl1.rs index 9905da0f21..fea4faae7a 100644 --- a/esp32p4/src/spi0/ctrl1.rs +++ b/esp32p4/src/spi0/ctrl1.rs @@ -120,61 +120,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - SPI clock mode bits. 0: SPI clock is off when CS inactive 1: SPI clock is delayed one cycle after CS inactive 2: SPI clock is delayed two cycles after CS inactive 3: SPI clock is alwasy on."] #[inline(always)] - #[must_use] pub fn clk_mode(&mut self) -> CLK_MODE_W { CLK_MODE_W::new(self, 0) } #[doc = "Bit 21 - 1: MSPI supports ARSIZE 0~3. When ARSIZE =0~2, MSPI read address is 4*n and reply the real AXI read data back. 0: When ARSIZE 0~1, MSPI reply SLV_ERR."] #[inline(always)] - #[must_use] pub fn spi_ar_size0_1_support_en(&mut self) -> SPI_AR_SIZE0_1_SUPPORT_EN_W { SPI_AR_SIZE0_1_SUPPORT_EN_W::new(self, 21) } #[doc = "Bit 22 - 1: MSPI supports AWSIZE 0~3. 0: When AWSIZE 0~1, MSPI reply SLV_ERR."] #[inline(always)] - #[must_use] pub fn spi_aw_size0_1_support_en(&mut self) -> SPI_AW_SIZE0_1_SUPPORT_EN_W { SPI_AW_SIZE0_1_SUPPORT_EN_W::new(self, 22) } #[doc = "Bit 23 - 1: Reply AXI read data to AXI bus when one AXI read beat data is available. 0: Reply AXI read data to AXI bus when all the read data is available."] #[inline(always)] - #[must_use] pub fn spi_axi_rdata_back_fast(&mut self) -> SPI_AXI_RDATA_BACK_FAST_W { SPI_AXI_RDATA_BACK_FAST_W::new(self, 23) } #[doc = "Bit 24 - 1: RRESP is SLV_ERR when there is a ECC error in AXI read data. 0: RRESP is OKAY when there is a ECC error in AXI read data. The ECC error information is recorded in SPI_MEM_ECC_ERR_ADDR_REG."] #[inline(always)] - #[must_use] pub fn rresp_ecc_err_en(&mut self) -> RRESP_ECC_ERR_EN_W { RRESP_ECC_ERR_EN_W::new(self, 24) } #[doc = "Bit 25 - Set this bit to enable AXI Read Splice-transfer."] #[inline(always)] - #[must_use] pub fn ar_splice_en(&mut self) -> AR_SPLICE_EN_W { AR_SPLICE_EN_W::new(self, 25) } #[doc = "Bit 26 - Set this bit to enable AXI Write Splice-transfer."] #[inline(always)] - #[must_use] pub fn aw_splice_en(&mut self) -> AW_SPLICE_EN_W { AW_SPLICE_EN_W::new(self, 26) } #[doc = "Bit 29 - Set this bit to write data faster, do not wait write data has been stored in tx_bus_fifo_l2. It will wait 4*T_clk_ctrl to insure the write data has been stored in tx_bus_fifo_l2."] #[inline(always)] - #[must_use] pub fn fast_write_en(&mut self) -> FAST_WRITE_EN_W { FAST_WRITE_EN_W::new(self, 29) } #[doc = "Bit 30 - The synchronous reset signal for SPI0 RX AFIFO and all the AES_MSPI SYNC FIFO to receive signals from AXI. Set this bit to reset these FIFO."] #[inline(always)] - #[must_use] pub fn rxfifo_rst(&mut self) -> RXFIFO_RST_W { RXFIFO_RST_W::new(self, 30) } #[doc = "Bit 31 - The synchronous reset signal for SPI0 TX AFIFO and all the AES_MSPI SYNC FIFO to send signals to AXI. Set this bit to reset these FIFO."] #[inline(always)] - #[must_use] pub fn txfifo_rst(&mut self) -> TXFIFO_RST_W { TXFIFO_RST_W::new(self, 31) } diff --git a/esp32p4/src/spi0/ctrl2.rs b/esp32p4/src/spi0/ctrl2.rs index 6af2997caf..68eeb8c0f2 100644 --- a/esp32p4/src/spi0/ctrl2.rs +++ b/esp32p4/src/spi0/ctrl2.rs @@ -86,49 +86,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - (cycles-1) of prepare phase by SPI Bus clock, this bits are combined with SPI_MEM_CS_SETUP bit."] #[inline(always)] - #[must_use] pub fn cs_setup_time(&mut self) -> CS_SETUP_TIME_W { CS_SETUP_TIME_W::new(self, 0) } #[doc = "Bits 5:9 - SPI CS signal is delayed to inactive by SPI bus clock, this bits are combined with SPI_MEM_CS_HOLD bit."] #[inline(always)] - #[must_use] pub fn cs_hold_time(&mut self) -> CS_HOLD_TIME_W { CS_HOLD_TIME_W::new(self, 5) } #[doc = "Bits 10:12 - SPI_MEM_CS_HOLD_TIME + SPI_MEM_ECC_CS_HOLD_TIME is the SPI0 CS hold cycle in ECC mode when accessed flash."] #[inline(always)] - #[must_use] pub fn ecc_cs_hold_time(&mut self) -> ECC_CS_HOLD_TIME_W { ECC_CS_HOLD_TIME_W::new(self, 10) } #[doc = "Bit 13 - 1: SPI0 and SPI1 skip page corner when accesses flash. 0: Not skip page corner when accesses flash."] #[inline(always)] - #[must_use] pub fn ecc_skip_page_corner(&mut self) -> ECC_SKIP_PAGE_CORNER_W { ECC_SKIP_PAGE_CORNER_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to enable SPI0 and SPI1 ECC 16 bytes data with 2 ECC bytes mode when accesses flash."] #[inline(always)] - #[must_use] pub fn ecc_16to18_byte_en(&mut self) -> ECC_16TO18_BYTE_EN_W { ECC_16TO18_BYTE_EN_W::new(self, 14) } #[doc = "Bit 24 - Set this bit to enable SPI0 split one AXI read flash transfer into two SPI transfers when one transfer will cross flash or EXT_RAM page corner, valid no matter whether there is an ECC region or not."] #[inline(always)] - #[must_use] pub fn split_trans_en(&mut self) -> SPLIT_TRANS_EN_W { SPLIT_TRANS_EN_W::new(self, 24) } #[doc = "Bits 25:30 - These bits are used to set the minimum CS high time tSHSL between SPI burst transfer when accesses to flash. tSHSL is (SPI_MEM_CS_HOLD_DELAY\\[5:0\\] + 1) MSPI core clock cycles."] #[inline(always)] - #[must_use] pub fn cs_hold_delay(&mut self) -> CS_HOLD_DELAY_W { CS_HOLD_DELAY_W::new(self, 25) } #[doc = "Bit 31 - The spi0_mst_st and spi0_slv_st will be reset."] #[inline(always)] - #[must_use] pub fn sync_reset(&mut self) -> SYNC_RESET_W { SYNC_RESET_W::new(self, 31) } diff --git a/esp32p4/src/spi0/date.rs b/esp32p4/src/spi0/date.rs index c5c34c4b21..ef3347c01e 100644 --- a/esp32p4/src/spi0/date.rs +++ b/esp32p4/src/spi0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - SPI0 register version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32p4/src/spi0/ddr.rs b/esp32p4/src/spi0/ddr.rs index baf3c4b9a2..f91fa3df8f 100644 --- a/esp32p4/src/spi0/ddr.rs +++ b/esp32p4/src/spi0/ddr.rs @@ -177,97 +177,81 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: in DDR mode, 0 in SDR mode"] #[inline(always)] - #[must_use] pub fn spi_fmem_ddr_en(&mut self) -> SPI_FMEM_DDR_EN_W { SPI_FMEM_DDR_EN_W::new(self, 0) } #[doc = "Bit 1 - Set the bit to enable variable dummy cycle in spi DDR mode."] #[inline(always)] - #[must_use] pub fn spi_fmem_var_dummy(&mut self) -> SPI_FMEM_VAR_DUMMY_W { SPI_FMEM_VAR_DUMMY_W::new(self, 1) } #[doc = "Bit 2 - Set the bit to reorder rx data of the word in spi DDR mode."] #[inline(always)] - #[must_use] pub fn spi_fmem_ddr_rdat_swp(&mut self) -> SPI_FMEM_DDR_RDAT_SWP_W { SPI_FMEM_DDR_RDAT_SWP_W::new(self, 2) } #[doc = "Bit 3 - Set the bit to reorder tx data of the word in spi DDR mode."] #[inline(always)] - #[must_use] pub fn spi_fmem_ddr_wdat_swp(&mut self) -> SPI_FMEM_DDR_WDAT_SWP_W { SPI_FMEM_DDR_WDAT_SWP_W::new(self, 3) } #[doc = "Bit 4 - the bit is used to disable dual edge in command phase when DDR mode."] #[inline(always)] - #[must_use] pub fn spi_fmem_ddr_cmd_dis(&mut self) -> SPI_FMEM_DDR_CMD_DIS_W { SPI_FMEM_DDR_CMD_DIS_W::new(self, 4) } #[doc = "Bits 5:11 - It is the minimum output data length in the panda device."] #[inline(always)] - #[must_use] pub fn spi_fmem_outminbytelen(&mut self) -> SPI_FMEM_OUTMINBYTELEN_W { SPI_FMEM_OUTMINBYTELEN_W::new(self, 5) } #[doc = "Bit 12 - Set this bit to mask the first or the last byte in SPI0 ECC DDR write mode, when accesses to flash."] #[inline(always)] - #[must_use] pub fn spi_fmem_tx_ddr_msk_en(&mut self) -> SPI_FMEM_TX_DDR_MSK_EN_W { SPI_FMEM_TX_DDR_MSK_EN_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to mask the first or the last byte in SPI0 ECC DDR read mode, when accesses to flash."] #[inline(always)] - #[must_use] pub fn spi_fmem_rx_ddr_msk_en(&mut self) -> SPI_FMEM_RX_DDR_MSK_EN_W { SPI_FMEM_RX_DDR_MSK_EN_W::new(self, 13) } #[doc = "Bits 14:20 - The delay number of data strobe which from memory based on SPI clock."] #[inline(always)] - #[must_use] pub fn spi_fmem_usr_ddr_dqs_thd(&mut self) -> SPI_FMEM_USR_DDR_DQS_THD_W { SPI_FMEM_USR_DDR_DQS_THD_W::new(self, 14) } #[doc = "Bit 21 - 1: Do not need the input of SPI_DQS signal, SPI0 starts to receive data when spi0_slv_st is in SPI_MEM_DIN state. It is used when there is no SPI_DQS signal or SPI_DQS signal is not stable. 0: SPI0 starts to store data at the positive and negative edge of SPI_DQS."] #[inline(always)] - #[must_use] pub fn spi_fmem_ddr_dqs_loop(&mut self) -> SPI_FMEM_DDR_DQS_LOOP_W { SPI_FMEM_DDR_DQS_LOOP_W::new(self, 21) } #[doc = "Bit 24 - Set this bit to enable the differential SPI_CLK#."] #[inline(always)] - #[must_use] pub fn spi_fmem_clk_diff_en(&mut self) -> SPI_FMEM_CLK_DIFF_EN_W { SPI_FMEM_CLK_DIFF_EN_W::new(self, 24) } #[doc = "Bit 26 - Set this bit to enable the input of SPI_DQS signal in SPI phases of CMD and ADDR."] #[inline(always)] - #[must_use] pub fn spi_fmem_dqs_ca_in(&mut self) -> SPI_FMEM_DQS_CA_IN_W { SPI_FMEM_DQS_CA_IN_W::new(self, 26) } #[doc = "Bit 27 - Set this bit to enable the vary dummy function in SPI HyperBus mode, when SPI0 accesses flash or SPI1 accesses flash or sram."] #[inline(always)] - #[must_use] pub fn spi_fmem_hyperbus_dummy_2x(&mut self) -> SPI_FMEM_HYPERBUS_DUMMY_2X_W { SPI_FMEM_HYPERBUS_DUMMY_2X_W::new(self, 27) } #[doc = "Bit 28 - Set this bit to invert SPI_DIFF when accesses to flash. ."] #[inline(always)] - #[must_use] pub fn spi_fmem_clk_diff_inv(&mut self) -> SPI_FMEM_CLK_DIFF_INV_W { SPI_FMEM_CLK_DIFF_INV_W::new(self, 28) } #[doc = "Bit 29 - Set this bit to enable octa_ram address out when accesses to flash, which means ADDR_OUT\\[31:0\\] = {spi_usr_addr_value\\[25:4\\], 6'd0, spi_usr_addr_value\\[3:1\\], 1'b0}."] #[inline(always)] - #[must_use] pub fn spi_fmem_octa_ram_addr(&mut self) -> SPI_FMEM_OCTA_RAM_ADDR_W { SPI_FMEM_OCTA_RAM_ADDR_W::new(self, 29) } #[doc = "Bit 30 - Set this bit to enable HyperRAM address out when accesses to flash, which means ADDR_OUT\\[31:0\\] = {spi_usr_addr_value\\[19:4\\], 13'd0, spi_usr_addr_value\\[3:1\\]}."] #[inline(always)] - #[must_use] pub fn spi_fmem_hyperbus_ca(&mut self) -> SPI_FMEM_HYPERBUS_CA_W { SPI_FMEM_HYPERBUS_CA_W::new(self, 30) } diff --git a/esp32p4/src/spi0/din_mode.rs b/esp32p4/src/spi0/din_mode.rs index 628fcc812d..85bbe0e1e1 100644 --- a/esp32p4/src/spi0/din_mode.rs +++ b/esp32p4/src/spi0/din_mode.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the posedge of clk_160, 4 input with the negedge of clk_160, 5: input with the spi_clk high edge, 6: input with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn din0_mode(&mut self) -> DIN0_MODE_W { DIN0_MODE_W::new(self, 0) } #[doc = "Bits 3:5 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the posedge of clk_160, 4 input with the negedge of clk_160, 5: input with the spi_clk high edge, 6: input with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn din1_mode(&mut self) -> DIN1_MODE_W { DIN1_MODE_W::new(self, 3) } #[doc = "Bits 6:8 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the posedge of clk_160, 4 input with the negedge of clk_160, 5: input with the spi_clk high edge, 6: input with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn din2_mode(&mut self) -> DIN2_MODE_W { DIN2_MODE_W::new(self, 6) } #[doc = "Bits 9:11 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the posedge of clk_160, 4 input with the negedge of clk_160, 5: input with the spi_clk high edge, 6: input with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn din3_mode(&mut self) -> DIN3_MODE_W { DIN3_MODE_W::new(self, 9) } #[doc = "Bits 12:14 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk"] #[inline(always)] - #[must_use] pub fn din4_mode(&mut self) -> DIN4_MODE_W { DIN4_MODE_W::new(self, 12) } #[doc = "Bits 15:17 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk"] #[inline(always)] - #[must_use] pub fn din5_mode(&mut self) -> DIN5_MODE_W { DIN5_MODE_W::new(self, 15) } #[doc = "Bits 18:20 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk"] #[inline(always)] - #[must_use] pub fn din6_mode(&mut self) -> DIN6_MODE_W { DIN6_MODE_W::new(self, 18) } #[doc = "Bits 21:23 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk"] #[inline(always)] - #[must_use] pub fn din7_mode(&mut self) -> DIN7_MODE_W { DIN7_MODE_W::new(self, 21) } #[doc = "Bits 24:26 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk"] #[inline(always)] - #[must_use] pub fn dins_mode(&mut self) -> DINS_MODE_W { DINS_MODE_W::new(self, 24) } diff --git a/esp32p4/src/spi0/din_num.rs b/esp32p4/src/spi0/din_num.rs index 4f428ea9b5..0fba2adad9 100644 --- a/esp32p4/src/spi0/din_num.rs +++ b/esp32p4/src/spi0/din_num.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn din0_num(&mut self) -> DIN0_NUM_W { DIN0_NUM_W::new(self, 0) } #[doc = "Bits 2:3 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn din1_num(&mut self) -> DIN1_NUM_W { DIN1_NUM_W::new(self, 2) } #[doc = "Bits 4:5 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn din2_num(&mut self) -> DIN2_NUM_W { DIN2_NUM_W::new(self, 4) } #[doc = "Bits 6:7 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn din3_num(&mut self) -> DIN3_NUM_W { DIN3_NUM_W::new(self, 6) } #[doc = "Bits 8:9 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn din4_num(&mut self) -> DIN4_NUM_W { DIN4_NUM_W::new(self, 8) } #[doc = "Bits 10:11 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn din5_num(&mut self) -> DIN5_NUM_W { DIN5_NUM_W::new(self, 10) } #[doc = "Bits 12:13 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn din6_num(&mut self) -> DIN6_NUM_W { DIN6_NUM_W::new(self, 12) } #[doc = "Bits 14:15 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn din7_num(&mut self) -> DIN7_NUM_W { DIN7_NUM_W::new(self, 14) } #[doc = "Bits 16:17 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn dins_num(&mut self) -> DINS_NUM_W { DINS_NUM_W::new(self, 16) } diff --git a/esp32p4/src/spi0/dout_mode.rs b/esp32p4/src/spi0/dout_mode.rs index d871c9b864..8809a4a59b 100644 --- a/esp32p4/src/spi0/dout_mode.rs +++ b/esp32p4/src/spi0/dout_mode.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the posedge of clk_160,4 output with the negedge of clk_160,5: output with the spi_clk high edge ,6: output with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn dout0_mode(&mut self) -> DOUT0_MODE_W { DOUT0_MODE_W::new(self, 0) } #[doc = "Bit 1 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the posedge of clk_160,4 output with the negedge of clk_160,5: output with the spi_clk high edge ,6: output with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn dout1_mode(&mut self) -> DOUT1_MODE_W { DOUT1_MODE_W::new(self, 1) } #[doc = "Bit 2 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the posedge of clk_160,4 output with the negedge of clk_160,5: output with the spi_clk high edge ,6: output with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn dout2_mode(&mut self) -> DOUT2_MODE_W { DOUT2_MODE_W::new(self, 2) } #[doc = "Bit 3 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the posedge of clk_160,4 output with the negedge of clk_160,5: output with the spi_clk high edge ,6: output with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn dout3_mode(&mut self) -> DOUT3_MODE_W { DOUT3_MODE_W::new(self, 3) } #[doc = "Bit 4 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the spi_clk"] #[inline(always)] - #[must_use] pub fn dout4_mode(&mut self) -> DOUT4_MODE_W { DOUT4_MODE_W::new(self, 4) } #[doc = "Bit 5 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the spi_clk"] #[inline(always)] - #[must_use] pub fn dout5_mode(&mut self) -> DOUT5_MODE_W { DOUT5_MODE_W::new(self, 5) } #[doc = "Bit 6 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the spi_clk"] #[inline(always)] - #[must_use] pub fn dout6_mode(&mut self) -> DOUT6_MODE_W { DOUT6_MODE_W::new(self, 6) } #[doc = "Bit 7 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the spi_clk"] #[inline(always)] - #[must_use] pub fn dout7_mode(&mut self) -> DOUT7_MODE_W { DOUT7_MODE_W::new(self, 7) } #[doc = "Bit 8 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the spi_clk"] #[inline(always)] - #[must_use] pub fn douts_mode(&mut self) -> DOUTS_MODE_W { DOUTS_MODE_W::new(self, 8) } diff --git a/esp32p4/src/spi0/dpa_ctrl.rs b/esp32p4/src/spi0/dpa_ctrl.rs index 3d3e1ba5c3..b2c918051a 100644 --- a/esp32p4/src/spi0/dpa_ctrl.rs +++ b/esp32p4/src/spi0/dpa_ctrl.rs @@ -47,19 +47,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - Set the security level of spi mem cryption. 0: Shut off cryption DPA funtion. 1-7: The bigger the number is, the more secure the cryption is. (Note that the performance of cryption will decrease together with this number increasing)"] #[inline(always)] - #[must_use] pub fn spi_crypt_security_level(&mut self) -> SPI_CRYPT_SECURITY_LEVEL_W { SPI_CRYPT_SECURITY_LEVEL_W::new(self, 0) } #[doc = "Bit 3 - Only available when SPI_CRYPT_SECURITY_LEVEL is not 0. 1: Enable DPA in the calculation that using key 1 or key 2. 0: Enable DPA only in the calculation that using key 1."] #[inline(always)] - #[must_use] pub fn spi_crypt_calc_d_dpa_en(&mut self) -> SPI_CRYPT_CALC_D_DPA_EN_W { SPI_CRYPT_CALC_D_DPA_EN_W::new(self, 3) } #[doc = "Bit 4 - 1: MSPI XTS DPA clock gate is controlled by SPI_CRYPT_CALC_D_DPA_EN and SPI_CRYPT_SECURITY_LEVEL. 0: Controlled by efuse bits."] #[inline(always)] - #[must_use] pub fn spi_crypt_dpa_select_register( &mut self, ) -> SPI_CRYPT_DPA_SELECT_REGISTER_W { diff --git a/esp32p4/src/spi0/ecc_ctrl.rs b/esp32p4/src/spi0/ecc_ctrl.rs index e1a1d9a18f..f6fdd8abc9 100644 --- a/esp32p4/src/spi0/ecc_ctrl.rs +++ b/esp32p4/src/spi0/ecc_ctrl.rs @@ -93,37 +93,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 11:16 - Set the error times of MSPI ECC read to generate MSPI SPI_MEM_ECC_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn spi_fmem_ecc_err_int_num(&mut self) -> SPI_FMEM_ECC_ERR_INT_NUM_W { SPI_FMEM_ECC_ERR_INT_NUM_W::new(self, 11) } #[doc = "Bit 17 - Set this bit to calculate the error times of MSPI ECC read when accesses to flash."] #[inline(always)] - #[must_use] pub fn spi_fmem_ecc_err_int_en(&mut self) -> SPI_FMEM_ECC_ERR_INT_EN_W { SPI_FMEM_ECC_ERR_INT_EN_W::new(self, 17) } #[doc = "Bits 18:19 - Set the page size of the flash accessed by MSPI. 0: 256 bytes. 1: 512 bytes. 2: 1024 bytes. 3: 2048 bytes."] #[inline(always)] - #[must_use] pub fn spi_fmem_page_size(&mut self) -> SPI_FMEM_PAGE_SIZE_W { SPI_FMEM_PAGE_SIZE_W::new(self, 18) } #[doc = "Bit 20 - Set this bit to enable MSPI ECC address conversion, no matter MSPI accesses to the ECC region or non-ECC region of flash. If there is no ECC region in flash, this bit should be 0. Otherwise, this bit should be 1."] #[inline(always)] - #[must_use] pub fn spi_fmem_ecc_addr_en(&mut self) -> SPI_FMEM_ECC_ADDR_EN_W { SPI_FMEM_ECC_ADDR_EN_W::new(self, 20) } #[doc = "Bit 21 - Set this bit to enable ECC address convert in SPI0/1 USR_CMD transfer."] #[inline(always)] - #[must_use] pub fn usr_ecc_addr_en(&mut self) -> USR_ECC_ADDR_EN_W { USR_ECC_ADDR_EN_W::new(self, 21) } #[doc = "Bit 24 - 1: The error information in SPI_MEM_ECC_ERR_BITS and SPI_MEM_ECC_ERR_ADDR is updated when there is an ECC error. 0: SPI_MEM_ECC_ERR_BITS and SPI_MEM_ECC_ERR_ADDR record the first ECC error information."] #[inline(always)] - #[must_use] pub fn ecc_continue_record_err_en(&mut self) -> ECC_CONTINUE_RECORD_ERR_EN_W { ECC_CONTINUE_RECORD_ERR_EN_W::new(self, 24) } diff --git a/esp32p4/src/spi0/fsm.rs b/esp32p4/src/spi0/fsm.rs index 804ef1059f..12657b2ed0 100644 --- a/esp32p4/src/spi0/fsm.rs +++ b/esp32p4/src/spi0/fsm.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 7:11 - The lock delay time of SPI0/1 arbiter by spi0_slv_st, after PER is sent by SPI1."] #[inline(always)] - #[must_use] pub fn lock_delay_time(&mut self) -> LOCK_DELAY_TIME_W { LOCK_DELAY_TIME_W::new(self, 7) } diff --git a/esp32p4/src/spi0/int_clr.rs b/esp32p4/src/spi0/int_clr.rs index 284d5c20e7..9d5e2e2d66 100644 --- a/esp32p4/src/spi0/int_clr.rs +++ b/esp32p4/src/spi0/int_clr.rs @@ -31,67 +31,56 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 3 - The clear bit for SPI_MEM_SLV_ST_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_st_end(&mut self) -> SLV_ST_END_W { SLV_ST_END_W::new(self, 3) } #[doc = "Bit 4 - The clear bit for SPI_MEM_MST_ST_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_st_end(&mut self) -> MST_ST_END_W { MST_ST_END_W::new(self, 4) } #[doc = "Bit 5 - The clear bit for SPI_MEM_ECC_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn ecc_err(&mut self) -> ECC_ERR_W { ECC_ERR_W::new(self, 5) } #[doc = "Bit 6 - The clear bit for SPI_MEM_PMS_REJECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn pms_reject(&mut self) -> PMS_REJECT_W { PMS_REJECT_W::new(self, 6) } #[doc = "Bit 7 - The clear bit for SPI_MEM_AXI_RADDR_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn axi_raddr_err(&mut self) -> AXI_RADDR_ERR_W { AXI_RADDR_ERR_W::new(self, 7) } #[doc = "Bit 8 - The clear bit for SPI_MEM_AXI_WR_FALSH_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn axi_wr_flash_err(&mut self) -> AXI_WR_FLASH_ERR_W { AXI_WR_FLASH_ERR_W::new(self, 8) } #[doc = "Bit 9 - The clear bit for SPI_MEM_AXI_WADDR_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn axi_waddr_err(&mut self) -> AXI_WADDR_ERR_W { AXI_WADDR_ERR_W::new(self, 9) } #[doc = "Bit 28 - The clear bit for SPI_MEM_DQS0_AFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn dqs0_afifo_ovf(&mut self) -> DQS0_AFIFO_OVF_W { DQS0_AFIFO_OVF_W::new(self, 28) } #[doc = "Bit 29 - The clear bit for SPI_MEM_DQS1_AFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn dqs1_afifo_ovf(&mut self) -> DQS1_AFIFO_OVF_W { DQS1_AFIFO_OVF_W::new(self, 29) } #[doc = "Bit 30 - The clear bit for SPI_MEM_BUS_FIFO1_UDF_INT interrupt."] #[inline(always)] - #[must_use] pub fn bus_fifo1_udf(&mut self) -> BUS_FIFO1_UDF_W { BUS_FIFO1_UDF_W::new(self, 30) } #[doc = "Bit 31 - The clear bit for SPI_MEM_BUS_FIFO0_UDF_INT interrupt."] #[inline(always)] - #[must_use] pub fn bus_fifo0_udf(&mut self) -> BUS_FIFO0_UDF_W { BUS_FIFO0_UDF_W::new(self, 31) } diff --git a/esp32p4/src/spi0/int_ena.rs b/esp32p4/src/spi0/int_ena.rs index 7e7e415f01..3ee8a999c0 100644 --- a/esp32p4/src/spi0/int_ena.rs +++ b/esp32p4/src/spi0/int_ena.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - The enable bit for SPI_MEM_SLV_ST_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_st_end(&mut self) -> SLV_ST_END_W { SLV_ST_END_W::new(self, 3) } #[doc = "Bit 4 - The enable bit for SPI_MEM_MST_ST_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_st_end(&mut self) -> MST_ST_END_W { MST_ST_END_W::new(self, 4) } #[doc = "Bit 5 - The enable bit for SPI_MEM_ECC_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn ecc_err(&mut self) -> ECC_ERR_W { ECC_ERR_W::new(self, 5) } #[doc = "Bit 6 - The enable bit for SPI_MEM_PMS_REJECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn pms_reject(&mut self) -> PMS_REJECT_W { PMS_REJECT_W::new(self, 6) } #[doc = "Bit 7 - The enable bit for SPI_MEM_AXI_RADDR_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn axi_raddr_err(&mut self) -> AXI_RADDR_ERR_W { AXI_RADDR_ERR_W::new(self, 7) } #[doc = "Bit 8 - The enable bit for SPI_MEM_AXI_WR_FALSH_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn axi_wr_flash_err(&mut self) -> AXI_WR_FLASH_ERR_W { AXI_WR_FLASH_ERR_W::new(self, 8) } #[doc = "Bit 9 - The enable bit for SPI_MEM_AXI_WADDR_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn axi_waddr_err_int__ena(&mut self) -> AXI_WADDR_ERR_INT__ENA_W { AXI_WADDR_ERR_INT__ENA_W::new(self, 9) } #[doc = "Bit 28 - The enable bit for SPI_MEM_DQS0_AFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn dqs0_afifo_ovf(&mut self) -> DQS0_AFIFO_OVF_W { DQS0_AFIFO_OVF_W::new(self, 28) } #[doc = "Bit 29 - The enable bit for SPI_MEM_DQS1_AFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn dqs1_afifo_ovf(&mut self) -> DQS1_AFIFO_OVF_W { DQS1_AFIFO_OVF_W::new(self, 29) } #[doc = "Bit 30 - The enable bit for SPI_MEM_BUS_FIFO1_UDF_INT interrupt."] #[inline(always)] - #[must_use] pub fn bus_fifo1_udf(&mut self) -> BUS_FIFO1_UDF_W { BUS_FIFO1_UDF_W::new(self, 30) } #[doc = "Bit 31 - The enable bit for SPI_MEM_BUS_FIFO0_UDF_INT interrupt."] #[inline(always)] - #[must_use] pub fn bus_fifo0_udf(&mut self) -> BUS_FIFO0_UDF_W { BUS_FIFO0_UDF_W::new(self, 31) } diff --git a/esp32p4/src/spi0/int_raw.rs b/esp32p4/src/spi0/int_raw.rs index 5dbb778f77..9833ceeff4 100644 --- a/esp32p4/src/spi0/int_raw.rs +++ b/esp32p4/src/spi0/int_raw.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - The raw bit for SPI_MEM_SLV_ST_END_INT interrupt. 1: Triggered when spi0_slv_st is changed from non idle state to idle state. It means that SPI_CS raises high. 0: Others"] #[inline(always)] - #[must_use] pub fn slv_st_end(&mut self) -> SLV_ST_END_W { SLV_ST_END_W::new(self, 3) } #[doc = "Bit 4 - The raw bit for SPI_MEM_MST_ST_END_INT interrupt. 1: Triggered when spi0_mst_st is changed from non idle state to idle state. 0: Others."] #[inline(always)] - #[must_use] pub fn mst_st_end(&mut self) -> MST_ST_END_W { MST_ST_END_W::new(self, 4) } #[doc = "Bit 5 - The raw bit for SPI_MEM_ECC_ERR_INT interrupt. When SPI_FMEM_ECC_ERR_INT_EN is set and SPI_SMEM_ECC_ERR_INT_EN is cleared, this bit is triggered when the error times of SPI0/1 ECC read flash are equal or bigger than SPI_MEM_ECC_ERR_INT_NUM. When SPI_FMEM_ECC_ERR_INT_EN is cleared and SPI_SMEM_ECC_ERR_INT_EN is set, this bit is triggered when the error times of SPI0/1 ECC read external RAM are equal or bigger than SPI_MEM_ECC_ERR_INT_NUM. When SPI_FMEM_ECC_ERR_INT_EN and SPI_SMEM_ECC_ERR_INT_EN are set, this bit is triggered when the total error times of SPI0/1 ECC read external RAM and flash are equal or bigger than SPI_MEM_ECC_ERR_INT_NUM. When SPI_FMEM_ECC_ERR_INT_EN and SPI_SMEM_ECC_ERR_INT_EN are cleared, this bit will not be triggered."] #[inline(always)] - #[must_use] pub fn ecc_err(&mut self) -> ECC_ERR_W { ECC_ERR_W::new(self, 5) } #[doc = "Bit 6 - The raw bit for SPI_MEM_PMS_REJECT_INT interrupt. 1: Triggered when SPI1 access is rejected. 0: Others."] #[inline(always)] - #[must_use] pub fn pms_reject(&mut self) -> PMS_REJECT_W { PMS_REJECT_W::new(self, 6) } #[doc = "Bit 7 - The raw bit for SPI_MEM_AXI_RADDR_ERR_INT interrupt. 1: Triggered when AXI read address is invalid by compared to MMU configuration. 0: Others."] #[inline(always)] - #[must_use] pub fn axi_raddr_err(&mut self) -> AXI_RADDR_ERR_W { AXI_RADDR_ERR_W::new(self, 7) } #[doc = "Bit 8 - The raw bit for SPI_MEM_AXI_WR_FALSH_ERR_INT interrupt. 1: Triggered when AXI write flash request is received. 0: Others."] #[inline(always)] - #[must_use] pub fn axi_wr_flash_err(&mut self) -> AXI_WR_FLASH_ERR_W { AXI_WR_FLASH_ERR_W::new(self, 8) } #[doc = "Bit 9 - The raw bit for SPI_MEM_AXI_WADDR_ERR_INT interrupt. 1: Triggered when AXI write address is invalid by compared to MMU configuration. 0: Others."] #[inline(always)] - #[must_use] pub fn axi_waddr_err(&mut self) -> AXI_WADDR_ERR_W { AXI_WADDR_ERR_W::new(self, 9) } #[doc = "Bit 28 - The raw bit for SPI_MEM_DQS0_AFIFO_OVF_INT interrupt. 1: Triggered when the AFIFO connected to SPI_DQS1 is overflow."] #[inline(always)] - #[must_use] pub fn dqs0_afifo_ovf(&mut self) -> DQS0_AFIFO_OVF_W { DQS0_AFIFO_OVF_W::new(self, 28) } #[doc = "Bit 29 - The raw bit for SPI_MEM_DQS1_AFIFO_OVF_INT interrupt. 1: Triggered when the AFIFO connected to SPI_DQS is overflow."] #[inline(always)] - #[must_use] pub fn dqs1_afifo_ovf(&mut self) -> DQS1_AFIFO_OVF_W { DQS1_AFIFO_OVF_W::new(self, 29) } #[doc = "Bit 30 - The raw bit for SPI_MEM_BUS_FIFO1_UDF_INT interrupt. 1: Triggered when BUS1 FIFO is underflow."] #[inline(always)] - #[must_use] pub fn bus_fifo1_udf(&mut self) -> BUS_FIFO1_UDF_W { BUS_FIFO1_UDF_W::new(self, 30) } #[doc = "Bit 31 - The raw bit for SPI_MEM_BUS_FIFO0_UDF_INT interrupt. 1: Triggered when BUS0 FIFO is underflow."] #[inline(always)] - #[must_use] pub fn bus_fifo0_udf(&mut self) -> BUS_FIFO0_UDF_W { BUS_FIFO0_UDF_W::new(self, 31) } diff --git a/esp32p4/src/spi0/misc.rs b/esp32p4/src/spi0/misc.rs index fa523ba218..fc766dc25a 100644 --- a/esp32p4/src/spi0/misc.rs +++ b/esp32p4/src/spi0/misc.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 7 - For SPI0, flash is connected to SUBPINs."] #[inline(always)] - #[must_use] pub fn fsub_pin(&mut self) -> FSUB_PIN_W { FSUB_PIN_W::new(self, 7) } #[doc = "Bit 8 - For SPI0, sram is connected to SUBPINs."] #[inline(always)] - #[must_use] pub fn ssub_pin(&mut self) -> SSUB_PIN_W { SSUB_PIN_W::new(self, 8) } #[doc = "Bit 9 - 1: SPI_CLK line is high when idle 0: spi clk line is low when idle"] #[inline(always)] - #[must_use] pub fn ck_idle_edge(&mut self) -> CK_IDLE_EDGE_W { CK_IDLE_EDGE_W::new(self, 9) } #[doc = "Bit 10 - SPI_CS line keep low when the bit is set."] #[inline(always)] - #[must_use] pub fn cs_keep_active(&mut self) -> CS_KEEP_ACTIVE_W { CS_KEEP_ACTIVE_W::new(self, 10) } diff --git a/esp32p4/src/spi0/mmu_item_content.rs b/esp32p4/src/spi0/mmu_item_content.rs index 756070a575..2ae290e0d2 100644 --- a/esp32p4/src/spi0/mmu_item_content.rs +++ b/esp32p4/src/spi0/mmu_item_content.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - MSPI-MMU item content"] #[inline(always)] - #[must_use] pub fn spi_mmu_item_content(&mut self) -> SPI_MMU_ITEM_CONTENT_W { SPI_MMU_ITEM_CONTENT_W::new(self, 0) } diff --git a/esp32p4/src/spi0/mmu_item_index.rs b/esp32p4/src/spi0/mmu_item_index.rs index bd32804a14..f2409113ae 100644 --- a/esp32p4/src/spi0/mmu_item_index.rs +++ b/esp32p4/src/spi0/mmu_item_index.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - MSPI-MMU item index"] #[inline(always)] - #[must_use] pub fn spi_mmu_item_index(&mut self) -> SPI_MMU_ITEM_INDEX_W { SPI_MMU_ITEM_INDEX_W::new(self, 0) } diff --git a/esp32p4/src/spi0/mmu_power_ctrl.rs b/esp32p4/src/spi0/mmu_power_ctrl.rs index c4aae034e5..39417aaf79 100644 --- a/esp32p4/src/spi0/mmu_power_ctrl.rs +++ b/esp32p4/src/spi0/mmu_power_ctrl.rs @@ -72,31 +72,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable mmu-memory clock force on"] #[inline(always)] - #[must_use] pub fn spi_mmu_mem_force_on(&mut self) -> SPI_MMU_MEM_FORCE_ON_W { SPI_MMU_MEM_FORCE_ON_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to force mmu-memory powerdown"] #[inline(always)] - #[must_use] pub fn spi_mmu_mem_force_pd(&mut self) -> SPI_MMU_MEM_FORCE_PD_W { SPI_MMU_MEM_FORCE_PD_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to force mmu-memory powerup, in this case, the power should also be controlled by rtc."] #[inline(always)] - #[must_use] pub fn spi_mmu_mem_force_pu(&mut self) -> SPI_MMU_MEM_FORCE_PU_W { SPI_MMU_MEM_FORCE_PU_W::new(self, 2) } #[doc = "Bits 16:29 - MMU PSRAM aux control register"] #[inline(always)] - #[must_use] pub fn aux_ctrl(&mut self) -> AUX_CTRL_W { AUX_CTRL_W::new(self, 16) } #[doc = "Bit 30 - ECO register enable bit"] #[inline(always)] - #[must_use] pub fn rdn_ena(&mut self) -> RDN_ENA_W { RDN_ENA_W::new(self, 30) } diff --git a/esp32p4/src/spi0/pms_reject.rs b/esp32p4/src/spi0/pms_reject.rs index 387a36db18..049324f3b2 100644 --- a/esp32p4/src/spi0/pms_reject.rs +++ b/esp32p4/src/spi0/pms_reject.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 27 - Set this bit to enable SPI0/1 transfer permission control function."] #[inline(always)] - #[must_use] pub fn pm_en(&mut self) -> PM_EN_W { PM_EN_W::new(self, 27) } diff --git a/esp32p4/src/spi0/rd_status.rs b/esp32p4/src/spi0/rd_status.rs index b4976439c0..9426f1bbd0 100644 --- a/esp32p4/src/spi0/rd_status.rs +++ b/esp32p4/src/spi0/rd_status.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:23 - Mode bits in the flash fast read mode it is combined with spi_mem_fastrd_mode bit."] #[inline(always)] - #[must_use] pub fn wb_mode(&mut self) -> WB_MODE_W { WB_MODE_W::new(self, 16) } diff --git a/esp32p4/src/spi0/registerrnd_eco_high.rs b/esp32p4/src/spi0/registerrnd_eco_high.rs index b78b8c0296..3ab9fed8d0 100644 --- a/esp32p4/src/spi0/registerrnd_eco_high.rs +++ b/esp32p4/src/spi0/registerrnd_eco_high.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - ECO high register"] #[inline(always)] - #[must_use] pub fn registerrnd_eco_high(&mut self) -> REGISTERRND_ECO_HIGH_W { REGISTERRND_ECO_HIGH_W::new(self, 0) } diff --git a/esp32p4/src/spi0/registerrnd_eco_low.rs b/esp32p4/src/spi0/registerrnd_eco_low.rs index 00fd4fc8e9..2f32f67b2b 100644 --- a/esp32p4/src/spi0/registerrnd_eco_low.rs +++ b/esp32p4/src/spi0/registerrnd_eco_low.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - ECO low register"] #[inline(always)] - #[must_use] pub fn registerrnd_eco_low(&mut self) -> REGISTERRND_ECO_LOW_W { REGISTERRND_ECO_LOW_W::new(self, 0) } diff --git a/esp32p4/src/spi0/spi_fmem_pms_addr.rs b/esp32p4/src/spi0/spi_fmem_pms_addr.rs index a4bb05f5a2..d0a5dd1b3a 100644 --- a/esp32p4/src/spi0/spi_fmem_pms_addr.rs +++ b/esp32p4/src/spi0/spi_fmem_pms_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:26 - SPI1 flash PMS section %s start address value"] #[inline(always)] - #[must_use] pub fn s(&mut self) -> S_W { S_W::new(self, 0) } diff --git a/esp32p4/src/spi0/spi_fmem_pms_attr.rs b/esp32p4/src/spi0/spi_fmem_pms_attr.rs index c8718c55a6..e3b2642131 100644 --- a/esp32p4/src/spi0/spi_fmem_pms_attr.rs +++ b/esp32p4/src/spi0/spi_fmem_pms_attr.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: SPI1 flash PMS section %s read accessible. 0: Not allowed."] #[inline(always)] - #[must_use] pub fn spi_fmem_pms_rd_attr(&mut self) -> SPI_FMEM_PMS_RD_ATTR_W { SPI_FMEM_PMS_RD_ATTR_W::new(self, 0) } #[doc = "Bit 1 - 1: SPI1 flash PMS section %s write accessible. 0: Not allowed."] #[inline(always)] - #[must_use] pub fn spi_fmem_pms_wr_attr(&mut self) -> SPI_FMEM_PMS_WR_ATTR_W { SPI_FMEM_PMS_WR_ATTR_W::new(self, 1) } #[doc = "Bit 2 - SPI1 flash PMS section %s ECC mode, 1: enable ECC mode. 0: Disable it. The flash PMS section %s is configured by registers SPI_FMEM_PMS%s_ADDR_REG and SPI_FMEM_PMS%s_SIZE_REG."] #[inline(always)] - #[must_use] pub fn spi_fmem_pms_ecc(&mut self) -> SPI_FMEM_PMS_ECC_W { SPI_FMEM_PMS_ECC_W::new(self, 2) } diff --git a/esp32p4/src/spi0/spi_fmem_pms_size.rs b/esp32p4/src/spi0/spi_fmem_pms_size.rs index ad8b629906..4bbe818004 100644 --- a/esp32p4/src/spi0/spi_fmem_pms_size.rs +++ b/esp32p4/src/spi0/spi_fmem_pms_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:14 - SPI1 flash PMS section %s address region is (SPI_FMEM_PMS%s_ADDR_S, SPI_FMEM_PMS%s_ADDR_S + SPI_FMEM_PMS%s_SIZE)"] #[inline(always)] - #[must_use] pub fn spi_fmem_pms_size(&mut self) -> SPI_FMEM_PMS_SIZE_W { SPI_FMEM_PMS_SIZE_W::new(self, 0) } diff --git a/esp32p4/src/spi0/spi_smem_ac.rs b/esp32p4/src/spi0/spi_smem_ac.rs index 491ca433d5..b7c16e2d35 100644 --- a/esp32p4/src/spi0/spi_smem_ac.rs +++ b/esp32p4/src/spi0/spi_smem_ac.rs @@ -113,37 +113,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - For SPI0 and SPI1, spi cs is enable when spi is in prepare phase. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn spi_smem_cs_setup(&mut self) -> SPI_SMEM_CS_SETUP_W { SPI_SMEM_CS_SETUP_W::new(self, 0) } #[doc = "Bit 1 - For SPI0 and SPI1, spi cs keep low when spi is in done phase. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn spi_smem_cs_hold(&mut self) -> SPI_SMEM_CS_HOLD_W { SPI_SMEM_CS_HOLD_W::new(self, 1) } #[doc = "Bits 2:6 - For spi0, (cycles-1) of prepare phase by spi clock this bits are combined with spi_mem_cs_setup bit."] #[inline(always)] - #[must_use] pub fn spi_smem_cs_setup_time(&mut self) -> SPI_SMEM_CS_SETUP_TIME_W { SPI_SMEM_CS_SETUP_TIME_W::new(self, 2) } #[doc = "Bits 7:11 - For SPI0 and SPI1, spi cs signal is delayed to inactive by spi clock this bits are combined with spi_mem_cs_hold bit."] #[inline(always)] - #[must_use] pub fn spi_smem_cs_hold_time(&mut self) -> SPI_SMEM_CS_HOLD_TIME_W { SPI_SMEM_CS_HOLD_TIME_W::new(self, 7) } #[doc = "Bits 12:14 - SPI_SMEM_CS_HOLD_TIME + SPI_SMEM_ECC_CS_HOLD_TIME is the SPI0 and SPI1 CS hold cycles in ECC mode when accessed external RAM."] #[inline(always)] - #[must_use] pub fn spi_smem_ecc_cs_hold_time(&mut self) -> SPI_SMEM_ECC_CS_HOLD_TIME_W { SPI_SMEM_ECC_CS_HOLD_TIME_W::new(self, 12) } #[doc = "Bit 15 - 1: SPI0 skips page corner when accesses external RAM. 0: Not skip page corner when accesses external RAM."] #[inline(always)] - #[must_use] pub fn spi_smem_ecc_skip_page_corner( &mut self, ) -> SPI_SMEM_ECC_SKIP_PAGE_CORNER_W { @@ -151,7 +145,6 @@ impl W { } #[doc = "Bit 16 - Set this bit to enable SPI0 and SPI1 ECC 16 bytes data with 2 ECC bytes mode when accesses external RAM."] #[inline(always)] - #[must_use] pub fn spi_smem_ecc_16to18_byte_en( &mut self, ) -> SPI_SMEM_ECC_16TO18_BYTE_EN_W { @@ -159,13 +152,11 @@ impl W { } #[doc = "Bits 25:30 - These bits are used to set the minimum CS high time tSHSL between SPI burst transfer when accesses to external RAM. tSHSL is (SPI_SMEM_CS_HOLD_DELAY\\[5:0\\] + 1) MSPI core clock cycles."] #[inline(always)] - #[must_use] pub fn spi_smem_cs_hold_delay(&mut self) -> SPI_SMEM_CS_HOLD_DELAY_W { SPI_SMEM_CS_HOLD_DELAY_W::new(self, 25) } #[doc = "Bit 31 - Set this bit to enable SPI0 split one AXI accesses EXT_RAM transfer into two SPI transfers when one transfer will cross flash/EXT_RAM page corner, valid no matter whether there is an ECC region or not."] #[inline(always)] - #[must_use] pub fn spi_smem_split_trans_en(&mut self) -> SPI_SMEM_SPLIT_TRANS_EN_W { SPI_SMEM_SPLIT_TRANS_EN_W::new(self, 31) } diff --git a/esp32p4/src/spi0/spi_smem_ddr.rs b/esp32p4/src/spi0/spi_smem_ddr.rs index dcd041bbbb..bd82ca7090 100644 --- a/esp32p4/src/spi0/spi_smem_ddr.rs +++ b/esp32p4/src/spi0/spi_smem_ddr.rs @@ -177,79 +177,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: in DDR mode, 0 in SDR mode"] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 0) } #[doc = "Bit 1 - Set the bit to enable variable dummy cycle in spi DDR mode."] #[inline(always)] - #[must_use] pub fn spi_smem_var_dummy(&mut self) -> SPI_SMEM_VAR_DUMMY_W { SPI_SMEM_VAR_DUMMY_W::new(self, 1) } #[doc = "Bit 2 - Set the bit to reorder rx data of the word in spi DDR mode."] #[inline(always)] - #[must_use] pub fn rdat_swp(&mut self) -> RDAT_SWP_W { RDAT_SWP_W::new(self, 2) } #[doc = "Bit 3 - Set the bit to reorder tx data of the word in spi DDR mode."] #[inline(always)] - #[must_use] pub fn wdat_swp(&mut self) -> WDAT_SWP_W { WDAT_SWP_W::new(self, 3) } #[doc = "Bit 4 - the bit is used to disable dual edge in command phase when DDR mode."] #[inline(always)] - #[must_use] pub fn cmd_dis(&mut self) -> CMD_DIS_W { CMD_DIS_W::new(self, 4) } #[doc = "Bits 5:11 - It is the minimum output data length in the DDR psram."] #[inline(always)] - #[must_use] pub fn spi_smem_outminbytelen(&mut self) -> SPI_SMEM_OUTMINBYTELEN_W { SPI_SMEM_OUTMINBYTELEN_W::new(self, 5) } #[doc = "Bit 12 - Set this bit to mask the first or the last byte in SPI0 ECC DDR write mode, when accesses to external RAM."] #[inline(always)] - #[must_use] pub fn spi_smem_tx_ddr_msk_en(&mut self) -> SPI_SMEM_TX_DDR_MSK_EN_W { SPI_SMEM_TX_DDR_MSK_EN_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to mask the first or the last byte in SPI0 ECC DDR read mode, when accesses to external RAM."] #[inline(always)] - #[must_use] pub fn spi_smem_rx_ddr_msk_en(&mut self) -> SPI_SMEM_RX_DDR_MSK_EN_W { SPI_SMEM_RX_DDR_MSK_EN_W::new(self, 13) } #[doc = "Bits 14:20 - The delay number of data strobe which from memory based on SPI clock."] #[inline(always)] - #[must_use] pub fn spi_smem_usr_ddr_dqs_thd(&mut self) -> SPI_SMEM_USR_DDR_DQS_THD_W { SPI_SMEM_USR_DDR_DQS_THD_W::new(self, 14) } #[doc = "Bit 21 - 1: Do not need the input of SPI_DQS signal, SPI0 starts to receive data when spi0_slv_st is in SPI_MEM_DIN state. It is used when there is no SPI_DQS signal or SPI_DQS signal is not stable. 0: SPI0 starts to store data at the positive and negative edge of SPI_DQS."] #[inline(always)] - #[must_use] pub fn dqs_loop(&mut self) -> DQS_LOOP_W { DQS_LOOP_W::new(self, 21) } #[doc = "Bit 24 - Set this bit to enable the differential SPI_CLK#."] #[inline(always)] - #[must_use] pub fn spi_smem_clk_diff_en(&mut self) -> SPI_SMEM_CLK_DIFF_EN_W { SPI_SMEM_CLK_DIFF_EN_W::new(self, 24) } #[doc = "Bit 26 - Set this bit to enable the input of SPI_DQS signal in SPI phases of CMD and ADDR."] #[inline(always)] - #[must_use] pub fn spi_smem_dqs_ca_in(&mut self) -> SPI_SMEM_DQS_CA_IN_W { SPI_SMEM_DQS_CA_IN_W::new(self, 26) } #[doc = "Bit 27 - Set this bit to enable the vary dummy function in SPI HyperBus mode, when SPI0 accesses flash or SPI1 accesses flash or sram."] #[inline(always)] - #[must_use] pub fn spi_smem_hyperbus_dummy_2x( &mut self, ) -> SPI_SMEM_HYPERBUS_DUMMY_2X_W { @@ -257,19 +244,16 @@ impl W { } #[doc = "Bit 28 - Set this bit to invert SPI_DIFF when accesses to external RAM. ."] #[inline(always)] - #[must_use] pub fn spi_smem_clk_diff_inv(&mut self) -> SPI_SMEM_CLK_DIFF_INV_W { SPI_SMEM_CLK_DIFF_INV_W::new(self, 28) } #[doc = "Bit 29 - Set this bit to enable octa_ram address out when accesses to external RAM, which means ADDR_OUT\\[31:0\\] = {spi_usr_addr_value\\[25:4\\], 6'd0, spi_usr_addr_value\\[3:1\\], 1'b0}."] #[inline(always)] - #[must_use] pub fn spi_smem_octa_ram_addr(&mut self) -> SPI_SMEM_OCTA_RAM_ADDR_W { SPI_SMEM_OCTA_RAM_ADDR_W::new(self, 29) } #[doc = "Bit 30 - Set this bit to enable HyperRAM address out when accesses to external RAM, which means ADDR_OUT\\[31:0\\] = {spi_usr_addr_value\\[19:4\\], 13'd0, spi_usr_addr_value\\[3:1\\]}."] #[inline(always)] - #[must_use] pub fn spi_smem_hyperbus_ca(&mut self) -> SPI_SMEM_HYPERBUS_CA_W { SPI_SMEM_HYPERBUS_CA_W::new(self, 30) } diff --git a/esp32p4/src/spi0/spi_smem_din_hex_mode.rs b/esp32p4/src/spi0/spi_smem_din_hex_mode.rs index eec12b324a..0cfc428664 100644 --- a/esp32p4/src/spi0/spi_smem_din_hex_mode.rs +++ b/esp32p4/src/spi0/spi_smem_din_hex_mode.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the posedge of clk_160, 4 input with the negedge of clk_160, 5: input with the spi_clk high edge, 6: input with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn spi_smem_din08_mode(&mut self) -> SPI_SMEM_DIN08_MODE_W { SPI_SMEM_DIN08_MODE_W::new(self, 0) } #[doc = "Bits 3:5 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the posedge of clk_160, 4 input with the negedge of clk_160, 5: input with the spi_clk high edge, 6: input with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn spi_smem_din09_mode(&mut self) -> SPI_SMEM_DIN09_MODE_W { SPI_SMEM_DIN09_MODE_W::new(self, 3) } #[doc = "Bits 6:8 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the posedge of clk_160, 4 input with the negedge of clk_160, 5: input with the spi_clk high edge, 6: input with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn spi_smem_din10_mode(&mut self) -> SPI_SMEM_DIN10_MODE_W { SPI_SMEM_DIN10_MODE_W::new(self, 6) } #[doc = "Bits 9:11 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the posedge of clk_160, 4 input with the negedge of clk_160, 5: input with the spi_clk high edge, 6: input with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn spi_smem_din11_mode(&mut self) -> SPI_SMEM_DIN11_MODE_W { SPI_SMEM_DIN11_MODE_W::new(self, 9) } #[doc = "Bits 12:14 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the posedge of clk_160, 4 input with the negedge of clk_160, 5: input with the spi_clk high edge, 6: input with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn spi_smem_din12_mode(&mut self) -> SPI_SMEM_DIN12_MODE_W { SPI_SMEM_DIN12_MODE_W::new(self, 12) } #[doc = "Bits 15:17 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the posedge of clk_160, 4 input with the negedge of clk_160, 5: input with the spi_clk high edge, 6: input with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn spi_smem_din13_mode(&mut self) -> SPI_SMEM_DIN13_MODE_W { SPI_SMEM_DIN13_MODE_W::new(self, 15) } #[doc = "Bits 18:20 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the posedge of clk_160, 4 input with the negedge of clk_160, 5: input with the spi_clk high edge, 6: input with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn spi_smem_din14_mode(&mut self) -> SPI_SMEM_DIN14_MODE_W { SPI_SMEM_DIN14_MODE_W::new(self, 18) } #[doc = "Bits 21:23 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the posedge of clk_160, 4 input with the negedge of clk_160, 5: input with the spi_clk high edge, 6: input with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn spi_smem_din15_mode(&mut self) -> SPI_SMEM_DIN15_MODE_W { SPI_SMEM_DIN15_MODE_W::new(self, 21) } #[doc = "Bits 24:26 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the posedge of clk_160, 4 input with the negedge of clk_160, 5: input with the spi_clk high edge, 6: input with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn spi_smem_dins_hex_mode( &mut self, ) -> SPI_SMEM_DINS_HEX_MODE_W { diff --git a/esp32p4/src/spi0/spi_smem_din_hex_num.rs b/esp32p4/src/spi0/spi_smem_din_hex_num.rs index b4464cecbd..7ce8896f37 100644 --- a/esp32p4/src/spi0/spi_smem_din_hex_num.rs +++ b/esp32p4/src/spi0/spi_smem_din_hex_num.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn spi_smem_din08_num(&mut self) -> SPI_SMEM_DIN08_NUM_W { SPI_SMEM_DIN08_NUM_W::new(self, 0) } #[doc = "Bits 2:3 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn spi_smem_din09_num(&mut self) -> SPI_SMEM_DIN09_NUM_W { SPI_SMEM_DIN09_NUM_W::new(self, 2) } #[doc = "Bits 4:5 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn spi_smem_din10_num(&mut self) -> SPI_SMEM_DIN10_NUM_W { SPI_SMEM_DIN10_NUM_W::new(self, 4) } #[doc = "Bits 6:7 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn spi_smem_din11_num(&mut self) -> SPI_SMEM_DIN11_NUM_W { SPI_SMEM_DIN11_NUM_W::new(self, 6) } #[doc = "Bits 8:9 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn spi_smem_din12_num(&mut self) -> SPI_SMEM_DIN12_NUM_W { SPI_SMEM_DIN12_NUM_W::new(self, 8) } #[doc = "Bits 10:11 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn spi_smem_din13_num(&mut self) -> SPI_SMEM_DIN13_NUM_W { SPI_SMEM_DIN13_NUM_W::new(self, 10) } #[doc = "Bits 12:13 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn spi_smem_din14_num(&mut self) -> SPI_SMEM_DIN14_NUM_W { SPI_SMEM_DIN14_NUM_W::new(self, 12) } #[doc = "Bits 14:15 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn spi_smem_din15_num(&mut self) -> SPI_SMEM_DIN15_NUM_W { SPI_SMEM_DIN15_NUM_W::new(self, 14) } #[doc = "Bits 16:17 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn spi_smem_dins_hex_num(&mut self) -> SPI_SMEM_DINS_HEX_NUM_W { SPI_SMEM_DINS_HEX_NUM_W::new(self, 16) } diff --git a/esp32p4/src/spi0/spi_smem_din_mode.rs b/esp32p4/src/spi0/spi_smem_din_mode.rs index 4f92515b18..4baa73ec07 100644 --- a/esp32p4/src/spi0/spi_smem_din_mode.rs +++ b/esp32p4/src/spi0/spi_smem_din_mode.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the posedge of clk_160, 4 input with the negedge of clk_160, 5: input with the spi_clk high edge, 6: input with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn spi_smem_din0_mode(&mut self) -> SPI_SMEM_DIN0_MODE_W { SPI_SMEM_DIN0_MODE_W::new(self, 0) } #[doc = "Bits 3:5 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the posedge of clk_160, 4 input with the negedge of clk_160, 5: input with the spi_clk high edge, 6: input with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn spi_smem_din1_mode(&mut self) -> SPI_SMEM_DIN1_MODE_W { SPI_SMEM_DIN1_MODE_W::new(self, 3) } #[doc = "Bits 6:8 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the posedge of clk_160, 4 input with the negedge of clk_160, 5: input with the spi_clk high edge, 6: input with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn spi_smem_din2_mode(&mut self) -> SPI_SMEM_DIN2_MODE_W { SPI_SMEM_DIN2_MODE_W::new(self, 6) } #[doc = "Bits 9:11 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the posedge of clk_160, 4 input with the negedge of clk_160, 5: input with the spi_clk high edge, 6: input with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn spi_smem_din3_mode(&mut self) -> SPI_SMEM_DIN3_MODE_W { SPI_SMEM_DIN3_MODE_W::new(self, 9) } #[doc = "Bits 12:14 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the posedge of clk_160, 4 input with the negedge of clk_160, 5: input with the spi_clk high edge, 6: input with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn spi_smem_din4_mode(&mut self) -> SPI_SMEM_DIN4_MODE_W { SPI_SMEM_DIN4_MODE_W::new(self, 12) } #[doc = "Bits 15:17 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the posedge of clk_160, 4 input with the negedge of clk_160, 5: input with the spi_clk high edge, 6: input with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn spi_smem_din5_mode(&mut self) -> SPI_SMEM_DIN5_MODE_W { SPI_SMEM_DIN5_MODE_W::new(self, 15) } #[doc = "Bits 18:20 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the posedge of clk_160, 4 input with the negedge of clk_160, 5: input with the spi_clk high edge, 6: input with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn spi_smem_din6_mode(&mut self) -> SPI_SMEM_DIN6_MODE_W { SPI_SMEM_DIN6_MODE_W::new(self, 18) } #[doc = "Bits 21:23 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the posedge of clk_160, 4 input with the negedge of clk_160, 5: input with the spi_clk high edge, 6: input with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn spi_smem_din7_mode(&mut self) -> SPI_SMEM_DIN7_MODE_W { SPI_SMEM_DIN7_MODE_W::new(self, 21) } #[doc = "Bits 24:26 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the posedge of clk_160, 4 input with the negedge of clk_160, 5: input with the spi_clk high edge, 6: input with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn spi_smem_dins_mode(&mut self) -> SPI_SMEM_DINS_MODE_W { SPI_SMEM_DINS_MODE_W::new(self, 24) } diff --git a/esp32p4/src/spi0/spi_smem_din_num.rs b/esp32p4/src/spi0/spi_smem_din_num.rs index 423d669586..70907fb449 100644 --- a/esp32p4/src/spi0/spi_smem_din_num.rs +++ b/esp32p4/src/spi0/spi_smem_din_num.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn spi_smem_din0_num(&mut self) -> SPI_SMEM_DIN0_NUM_W { SPI_SMEM_DIN0_NUM_W::new(self, 0) } #[doc = "Bits 2:3 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn spi_smem_din1_num(&mut self) -> SPI_SMEM_DIN1_NUM_W { SPI_SMEM_DIN1_NUM_W::new(self, 2) } #[doc = "Bits 4:5 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn spi_smem_din2_num(&mut self) -> SPI_SMEM_DIN2_NUM_W { SPI_SMEM_DIN2_NUM_W::new(self, 4) } #[doc = "Bits 6:7 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn spi_smem_din3_num(&mut self) -> SPI_SMEM_DIN3_NUM_W { SPI_SMEM_DIN3_NUM_W::new(self, 6) } #[doc = "Bits 8:9 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn spi_smem_din4_num(&mut self) -> SPI_SMEM_DIN4_NUM_W { SPI_SMEM_DIN4_NUM_W::new(self, 8) } #[doc = "Bits 10:11 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn spi_smem_din5_num(&mut self) -> SPI_SMEM_DIN5_NUM_W { SPI_SMEM_DIN5_NUM_W::new(self, 10) } #[doc = "Bits 12:13 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn spi_smem_din6_num(&mut self) -> SPI_SMEM_DIN6_NUM_W { SPI_SMEM_DIN6_NUM_W::new(self, 12) } #[doc = "Bits 14:15 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn spi_smem_din7_num(&mut self) -> SPI_SMEM_DIN7_NUM_W { SPI_SMEM_DIN7_NUM_W::new(self, 14) } #[doc = "Bits 16:17 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,..."] #[inline(always)] - #[must_use] pub fn spi_smem_dins_num(&mut self) -> SPI_SMEM_DINS_NUM_W { SPI_SMEM_DINS_NUM_W::new(self, 16) } diff --git a/esp32p4/src/spi0/spi_smem_dout_hex_mode.rs b/esp32p4/src/spi0/spi_smem_dout_hex_mode.rs index 5f7c3d2a78..e32f6b9c43 100644 --- a/esp32p4/src/spi0/spi_smem_dout_hex_mode.rs +++ b/esp32p4/src/spi0/spi_smem_dout_hex_mode.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the posedge of clk_160,4 output with the negedge of clk_160,5: output with the spi_clk high edge ,6: output with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn spi_smem_dout08_mode(&mut self) -> SPI_SMEM_DOUT08_MODE_W { SPI_SMEM_DOUT08_MODE_W::new(self, 0) } #[doc = "Bit 1 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the posedge of clk_160,4 output with the negedge of clk_160,5: output with the spi_clk high edge ,6: output with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn spi_smem_dout09_mode(&mut self) -> SPI_SMEM_DOUT09_MODE_W { SPI_SMEM_DOUT09_MODE_W::new(self, 1) } #[doc = "Bit 2 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the posedge of clk_160,4 output with the negedge of clk_160,5: output with the spi_clk high edge ,6: output with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn spi_smem_dout10_mode(&mut self) -> SPI_SMEM_DOUT10_MODE_W { SPI_SMEM_DOUT10_MODE_W::new(self, 2) } #[doc = "Bit 3 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the posedge of clk_160,4 output with the negedge of clk_160,5: output with the spi_clk high edge ,6: output with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn spi_smem_dout11_mode(&mut self) -> SPI_SMEM_DOUT11_MODE_W { SPI_SMEM_DOUT11_MODE_W::new(self, 3) } #[doc = "Bit 4 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the posedge of clk_160,4 output with the negedge of clk_160,5: output with the spi_clk high edge ,6: output with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn spi_smem_dout12_mode(&mut self) -> SPI_SMEM_DOUT12_MODE_W { SPI_SMEM_DOUT12_MODE_W::new(self, 4) } #[doc = "Bit 5 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the posedge of clk_160,4 output with the negedge of clk_160,5: output with the spi_clk high edge ,6: output with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn spi_smem_dout13_mode(&mut self) -> SPI_SMEM_DOUT13_MODE_W { SPI_SMEM_DOUT13_MODE_W::new(self, 5) } #[doc = "Bit 6 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the posedge of clk_160,4 output with the negedge of clk_160,5: output with the spi_clk high edge ,6: output with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn spi_smem_dout14_mode(&mut self) -> SPI_SMEM_DOUT14_MODE_W { SPI_SMEM_DOUT14_MODE_W::new(self, 6) } #[doc = "Bit 7 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the posedge of clk_160,4 output with the negedge of clk_160,5: output with the spi_clk high edge ,6: output with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn spi_smem_dout15_mode(&mut self) -> SPI_SMEM_DOUT15_MODE_W { SPI_SMEM_DOUT15_MODE_W::new(self, 7) } #[doc = "Bit 8 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the posedge of clk_160,4 output with the negedge of clk_160,5: output with the spi_clk high edge ,6: output with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn spi_smem_douts_hex_mode( &mut self, ) -> SPI_SMEM_DOUTS_HEX_MODE_W { diff --git a/esp32p4/src/spi0/spi_smem_dout_mode.rs b/esp32p4/src/spi0/spi_smem_dout_mode.rs index 8df636ae69..ee50293197 100644 --- a/esp32p4/src/spi0/spi_smem_dout_mode.rs +++ b/esp32p4/src/spi0/spi_smem_dout_mode.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the posedge of clk_160,4 output with the negedge of clk_160,5: output with the spi_clk high edge ,6: output with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn spi_smem_dout0_mode(&mut self) -> SPI_SMEM_DOUT0_MODE_W { SPI_SMEM_DOUT0_MODE_W::new(self, 0) } #[doc = "Bit 1 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the posedge of clk_160,4 output with the negedge of clk_160,5: output with the spi_clk high edge ,6: output with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn spi_smem_dout1_mode(&mut self) -> SPI_SMEM_DOUT1_MODE_W { SPI_SMEM_DOUT1_MODE_W::new(self, 1) } #[doc = "Bit 2 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the posedge of clk_160,4 output with the negedge of clk_160,5: output with the spi_clk high edge ,6: output with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn spi_smem_dout2_mode(&mut self) -> SPI_SMEM_DOUT2_MODE_W { SPI_SMEM_DOUT2_MODE_W::new(self, 2) } #[doc = "Bit 3 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the posedge of clk_160,4 output with the negedge of clk_160,5: output with the spi_clk high edge ,6: output with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn spi_smem_dout3_mode(&mut self) -> SPI_SMEM_DOUT3_MODE_W { SPI_SMEM_DOUT3_MODE_W::new(self, 3) } #[doc = "Bit 4 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the posedge of clk_160,4 output with the negedge of clk_160,5: output with the spi_clk high edge ,6: output with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn spi_smem_dout4_mode(&mut self) -> SPI_SMEM_DOUT4_MODE_W { SPI_SMEM_DOUT4_MODE_W::new(self, 4) } #[doc = "Bit 5 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the posedge of clk_160,4 output with the negedge of clk_160,5: output with the spi_clk high edge ,6: output with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn spi_smem_dout5_mode(&mut self) -> SPI_SMEM_DOUT5_MODE_W { SPI_SMEM_DOUT5_MODE_W::new(self, 5) } #[doc = "Bit 6 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the posedge of clk_160,4 output with the negedge of clk_160,5: output with the spi_clk high edge ,6: output with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn spi_smem_dout6_mode(&mut self) -> SPI_SMEM_DOUT6_MODE_W { SPI_SMEM_DOUT6_MODE_W::new(self, 6) } #[doc = "Bit 7 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the posedge of clk_160,4 output with the negedge of clk_160,5: output with the spi_clk high edge ,6: output with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn spi_smem_dout7_mode(&mut self) -> SPI_SMEM_DOUT7_MODE_W { SPI_SMEM_DOUT7_MODE_W::new(self, 7) } #[doc = "Bit 8 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the posedge of clk_160,4 output with the negedge of clk_160,5: output with the spi_clk high edge ,6: output with the spi_clk low edge"] #[inline(always)] - #[must_use] pub fn spi_smem_douts_mode(&mut self) -> SPI_SMEM_DOUTS_MODE_W { SPI_SMEM_DOUTS_MODE_W::new(self, 8) } diff --git a/esp32p4/src/spi0/spi_smem_ecc_ctrl.rs b/esp32p4/src/spi0/spi_smem_ecc_ctrl.rs index 83e0687596..b153afcc43 100644 --- a/esp32p4/src/spi0/spi_smem_ecc_ctrl.rs +++ b/esp32p4/src/spi0/spi_smem_ecc_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 17 - Set this bit to calculate the error times of MSPI ECC read when accesses to external RAM."] #[inline(always)] - #[must_use] pub fn spi_smem_ecc_err_int_en(&mut self) -> SPI_SMEM_ECC_ERR_INT_EN_W { SPI_SMEM_ECC_ERR_INT_EN_W::new(self, 17) } #[doc = "Bits 18:19 - Set the page size of the external RAM accessed by MSPI. 0: 256 bytes. 1: 512 bytes. 2: 1024 bytes. 3: 2048 bytes."] #[inline(always)] - #[must_use] pub fn spi_smem_page_size(&mut self) -> SPI_SMEM_PAGE_SIZE_W { SPI_SMEM_PAGE_SIZE_W::new(self, 18) } #[doc = "Bit 20 - Set this bit to enable MSPI ECC address conversion, no matter MSPI accesses to the ECC region or non-ECC region of external RAM. If there is no ECC region in external RAM, this bit should be 0. Otherwise, this bit should be 1."] #[inline(always)] - #[must_use] pub fn spi_smem_ecc_addr_en(&mut self) -> SPI_SMEM_ECC_ADDR_EN_W { SPI_SMEM_ECC_ADDR_EN_W::new(self, 20) } diff --git a/esp32p4/src/spi0/spi_smem_pms_addr.rs b/esp32p4/src/spi0/spi_smem_pms_addr.rs index 3d6edee89d..efeb3e3411 100644 --- a/esp32p4/src/spi0/spi_smem_pms_addr.rs +++ b/esp32p4/src/spi0/spi_smem_pms_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:26 - SPI1 external RAM PMS section %s start address value"] #[inline(always)] - #[must_use] pub fn s(&mut self) -> S_W { S_W::new(self, 0) } diff --git a/esp32p4/src/spi0/spi_smem_pms_attr.rs b/esp32p4/src/spi0/spi_smem_pms_attr.rs index 6ef732b245..a5451dfae4 100644 --- a/esp32p4/src/spi0/spi_smem_pms_attr.rs +++ b/esp32p4/src/spi0/spi_smem_pms_attr.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: SPI1 external RAM PMS section %s read accessible. 0: Not allowed."] #[inline(always)] - #[must_use] pub fn spi_smem_pms_rd_attr(&mut self) -> SPI_SMEM_PMS_RD_ATTR_W { SPI_SMEM_PMS_RD_ATTR_W::new(self, 0) } #[doc = "Bit 1 - 1: SPI1 external RAM PMS section %s write accessible. 0: Not allowed."] #[inline(always)] - #[must_use] pub fn spi_smem_pms_wr_attr(&mut self) -> SPI_SMEM_PMS_WR_ATTR_W { SPI_SMEM_PMS_WR_ATTR_W::new(self, 1) } #[doc = "Bit 2 - SPI1 external RAM PMS section %s ECC mode, 1: enable ECC mode. 0: Disable it. The external RAM PMS section %s is configured by registers SPI_SMEM_PMS%s_ADDR_REG and SPI_SMEM_PMS%s_SIZE_REG."] #[inline(always)] - #[must_use] pub fn spi_smem_pms_ecc(&mut self) -> SPI_SMEM_PMS_ECC_W { SPI_SMEM_PMS_ECC_W::new(self, 2) } diff --git a/esp32p4/src/spi0/spi_smem_pms_size.rs b/esp32p4/src/spi0/spi_smem_pms_size.rs index 212e0e3f29..747b54a0dd 100644 --- a/esp32p4/src/spi0/spi_smem_pms_size.rs +++ b/esp32p4/src/spi0/spi_smem_pms_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:14 - SPI1 external RAM PMS section %s address region is (SPI_SMEM_PMS%s_ADDR_S, SPI_SMEM_PMS%s_ADDR_S + SPI_SMEM_PMS%s_SIZE)"] #[inline(always)] - #[must_use] pub fn spi_smem_pms_size(&mut self) -> SPI_SMEM_PMS_SIZE_W { SPI_SMEM_PMS_SIZE_W::new(self, 0) } diff --git a/esp32p4/src/spi0/spi_smem_timing_cali.rs b/esp32p4/src/spi0/spi_smem_timing_cali.rs index 4510d9f15e..563c7feeff 100644 --- a/esp32p4/src/spi0/spi_smem_timing_cali.rs +++ b/esp32p4/src/spi0/spi_smem_timing_cali.rs @@ -57,7 +57,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - For sram, the bit is used to enable timing adjust clock for all reading operations."] #[inline(always)] - #[must_use] pub fn spi_smem_timing_clk_ena( &mut self, ) -> SPI_SMEM_TIMING_CLK_ENA_W { @@ -65,13 +64,11 @@ impl W { } #[doc = "Bit 1 - For sram, the bit is used to enable timing auto-calibration for all reading operations."] #[inline(always)] - #[must_use] pub fn spi_smem_timing_cali(&mut self) -> SPI_SMEM_TIMING_CALI_W { SPI_SMEM_TIMING_CALI_W::new(self, 1) } #[doc = "Bits 2:4 - For sram, add extra dummy spi clock cycle length for spi clock calibration."] #[inline(always)] - #[must_use] pub fn spi_smem_extra_dummy_cyclelen( &mut self, ) -> SPI_SMEM_EXTRA_DUMMY_CYCLELEN_W { @@ -79,7 +76,6 @@ impl W { } #[doc = "Bit 5 - Set this bit to enable DLL for timing calibration in DDR mode when accessed to EXT_RAM."] #[inline(always)] - #[must_use] pub fn spi_smem_dll_timing_cali( &mut self, ) -> SPI_SMEM_DLL_TIMING_CALI_W { diff --git a/esp32p4/src/spi0/sram_clk.rs b/esp32p4/src/spi0/sram_clk.rs index 697b72f4fe..a773f11bfe 100644 --- a/esp32p4/src/spi0/sram_clk.rs +++ b/esp32p4/src/spi0/sram_clk.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - For SPI0 external RAM interface, it must be equal to spi_mem_clkcnt_N."] #[inline(always)] - #[must_use] pub fn sclkcnt_l(&mut self) -> SCLKCNT_L_W { SCLKCNT_L_W::new(self, 0) } #[doc = "Bits 8:15 - For SPI0 external RAM interface, it must be floor((spi_mem_clkcnt_N+1)/2-1)."] #[inline(always)] - #[must_use] pub fn sclkcnt_h(&mut self) -> SCLKCNT_H_W { SCLKCNT_H_W::new(self, 8) } #[doc = "Bits 16:23 - For SPI0 external RAM interface, it is the divider of spi_mem_clk. So spi_mem_clk frequency is system/(spi_mem_clkcnt_N+1)"] #[inline(always)] - #[must_use] pub fn sclkcnt_n(&mut self) -> SCLKCNT_N_W { SCLKCNT_N_W::new(self, 16) } #[doc = "Bit 31 - For SPI0 external RAM interface, 1: spi_mem_clk is eqaul to system 0: spi_mem_clk is divided from system clock."] #[inline(always)] - #[must_use] pub fn sclk_equ_sysclk(&mut self) -> SCLK_EQU_SYSCLK_W { SCLK_EQU_SYSCLK_W::new(self, 31) } diff --git a/esp32p4/src/spi0/sram_cmd.rs b/esp32p4/src/spi0/sram_cmd.rs index 240b56d8bc..05a5afd95b 100644 --- a/esp32p4/src/spi0/sram_cmd.rs +++ b/esp32p4/src/spi0/sram_cmd.rs @@ -236,97 +236,81 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - SPI clock mode bits. 0: SPI clock is off when CS inactive 1: SPI clock is delayed one cycle after CS inactive 2: SPI clock is delayed two cycles after CS inactive 3: SPI clock is always on."] #[inline(always)] - #[must_use] pub fn sclk_mode(&mut self) -> SCLK_MODE_W { SCLK_MODE_W::new(self, 0) } #[doc = "Bits 2:9 - Mode bits in the external RAM fast read mode it is combined with spi_mem_fastrd_mode bit."] #[inline(always)] - #[must_use] pub fn swb_mode(&mut self) -> SWB_MODE_W { SWB_MODE_W::new(self, 2) } #[doc = "Bit 10 - For SPI0 external RAM , din phase apply 2 signals. 1: enable 0: disable. The bit is the same with spi_mem_usr_sram_dio."] #[inline(always)] - #[must_use] pub fn sdin_dual(&mut self) -> SDIN_DUAL_W { SDIN_DUAL_W::new(self, 10) } #[doc = "Bit 11 - For SPI0 external RAM , dout phase apply 2 signals. 1: enable 0: disable. The bit is the same with spi_mem_usr_sram_dio."] #[inline(always)] - #[must_use] pub fn sdout_dual(&mut self) -> SDOUT_DUAL_W { SDOUT_DUAL_W::new(self, 11) } #[doc = "Bit 12 - For SPI0 external RAM , address phase apply 2 signals. 1: enable 0: disable. The bit is the same with spi_mem_usr_sram_dio."] #[inline(always)] - #[must_use] pub fn saddr_dual(&mut self) -> SADDR_DUAL_W { SADDR_DUAL_W::new(self, 12) } #[doc = "Bit 14 - For SPI0 external RAM , din phase apply 4 signals. 1: enable 0: disable. The bit is the same with spi_mem_usr_sram_qio."] #[inline(always)] - #[must_use] pub fn sdin_quad(&mut self) -> SDIN_QUAD_W { SDIN_QUAD_W::new(self, 14) } #[doc = "Bit 15 - For SPI0 external RAM , dout phase apply 4 signals. 1: enable 0: disable. The bit is the same with spi_mem_usr_sram_qio."] #[inline(always)] - #[must_use] pub fn sdout_quad(&mut self) -> SDOUT_QUAD_W { SDOUT_QUAD_W::new(self, 15) } #[doc = "Bit 16 - For SPI0 external RAM , address phase apply 4 signals. 1: enable 0: disable. The bit is the same with spi_mem_usr_sram_qio."] #[inline(always)] - #[must_use] pub fn saddr_quad(&mut self) -> SADDR_QUAD_W { SADDR_QUAD_W::new(self, 16) } #[doc = "Bit 17 - For SPI0 external RAM , cmd phase apply 4 signals. 1: enable 0: disable. The bit is the same with spi_mem_usr_sram_qio."] #[inline(always)] - #[must_use] pub fn scmd_quad(&mut self) -> SCMD_QUAD_W { SCMD_QUAD_W::new(self, 17) } #[doc = "Bit 18 - For SPI0 external RAM , din phase apply 8 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn sdin_oct(&mut self) -> SDIN_OCT_W { SDIN_OCT_W::new(self, 18) } #[doc = "Bit 19 - For SPI0 external RAM , dout phase apply 8 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn sdout_oct(&mut self) -> SDOUT_OCT_W { SDOUT_OCT_W::new(self, 19) } #[doc = "Bit 20 - For SPI0 external RAM , address phase apply 4 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn saddr_oct(&mut self) -> SADDR_OCT_W { SADDR_OCT_W::new(self, 20) } #[doc = "Bit 21 - For SPI0 external RAM , cmd phase apply 8 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn scmd_oct(&mut self) -> SCMD_OCT_W { SCMD_OCT_W::new(self, 21) } #[doc = "Bit 22 - In the dummy phase of a MSPI read data transfer when accesses to external RAM, the signal level of SPI bus is output by the MSPI controller."] #[inline(always)] - #[must_use] pub fn sdummy_rin(&mut self) -> SDUMMY_RIN_W { SDUMMY_RIN_W::new(self, 22) } #[doc = "Bit 23 - In the dummy phase of a MSPI write data transfer when accesses to external RAM, the signal level of SPI bus is output by the MSPI controller."] #[inline(always)] - #[must_use] pub fn sdummy_wout(&mut self) -> SDUMMY_WOUT_W { SDUMMY_WOUT_W::new(self, 23) } #[doc = "Bit 24 - In the dummy phase of an MSPI write data transfer when accesses to external RAM, the level of SPI_DQS is output by the MSPI controller."] #[inline(always)] - #[must_use] pub fn spi_smem_wdummy_dqs_always_out( &mut self, ) -> SPI_SMEM_WDUMMY_DQS_ALWAYS_OUT_W { @@ -334,31 +318,26 @@ impl W { } #[doc = "Bit 25 - In the dummy phase of an MSPI write data transfer when accesses to external RAM, the level of SPI_IO\\[7:0\\] is output by the MSPI controller."] #[inline(always)] - #[must_use] pub fn spi_smem_wdummy_always_out(&mut self) -> SPI_SMEM_WDUMMY_ALWAYS_OUT_W { SPI_SMEM_WDUMMY_ALWAYS_OUT_W::new(self, 25) } #[doc = "Bit 26 - For SPI0 external RAM , din phase apply 16 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn sdin_hex(&mut self) -> SDIN_HEX_W { SDIN_HEX_W::new(self, 26) } #[doc = "Bit 27 - For SPI0 external RAM , dout phase apply 16 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn sdout_hex(&mut self) -> SDOUT_HEX_W { SDOUT_HEX_W::new(self, 27) } #[doc = "Bit 30 - When accesses to external RAM, 1: the IE signals of pads connected to SPI_DQS are always 1. 0: Others."] #[inline(always)] - #[must_use] pub fn spi_smem_dqs_ie_always_on(&mut self) -> SPI_SMEM_DQS_IE_ALWAYS_ON_W { SPI_SMEM_DQS_IE_ALWAYS_ON_W::new(self, 30) } #[doc = "Bit 31 - When accesses to external RAM, 1: the IE signals of pads connected to SPI_IO\\[7:0\\] are always 1. 0: Others."] #[inline(always)] - #[must_use] pub fn spi_smem_data_ie_always_on(&mut self) -> SPI_SMEM_DATA_IE_ALWAYS_ON_W { SPI_SMEM_DATA_IE_ALWAYS_ON_W::new(self, 31) } diff --git a/esp32p4/src/spi0/sram_drd_cmd.rs b/esp32p4/src/spi0/sram_drd_cmd.rs index dce4152fbd..d288406895 100644 --- a/esp32p4/src/spi0/sram_drd_cmd.rs +++ b/esp32p4/src/spi0/sram_drd_cmd.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - For SPI0,When cache mode is enable it is the read command value of command phase for sram."] #[inline(always)] - #[must_use] pub fn cache_sram_usr_rd_cmd_value( &mut self, ) -> CACHE_SRAM_USR_RD_CMD_VALUE_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bits 28:31 - For SPI0,When cache mode is enable it is the length in bits of command phase for sram. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn cache_sram_usr_rd_cmd_bitlen( &mut self, ) -> CACHE_SRAM_USR_RD_CMD_BITLEN_W { diff --git a/esp32p4/src/spi0/sram_dwr_cmd.rs b/esp32p4/src/spi0/sram_dwr_cmd.rs index 7d6ac5bef3..63ae902492 100644 --- a/esp32p4/src/spi0/sram_dwr_cmd.rs +++ b/esp32p4/src/spi0/sram_dwr_cmd.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - For SPI0,When cache mode is enable it is the write command value of command phase for sram."] #[inline(always)] - #[must_use] pub fn cache_sram_usr_wr_cmd_value( &mut self, ) -> CACHE_SRAM_USR_WR_CMD_VALUE_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bits 28:31 - For SPI0,When cache mode is enable it is the in bits of command phase for sram. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn cache_sram_usr_wr_cmd_bitlen( &mut self, ) -> CACHE_SRAM_USR_WR_CMD_BITLEN_W { diff --git a/esp32p4/src/spi0/timing_cali.rs b/esp32p4/src/spi0/timing_cali.rs index bc1ac1de6b..d481cc5159 100644 --- a/esp32p4/src/spi0/timing_cali.rs +++ b/esp32p4/src/spi0/timing_cali.rs @@ -56,31 +56,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable timing adjust clock for all reading operations."] #[inline(always)] - #[must_use] pub fn timing_clk_ena(&mut self) -> TIMING_CLK_ENA_W { TIMING_CLK_ENA_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to enable timing auto-calibration for all reading operations."] #[inline(always)] - #[must_use] pub fn timing_cali(&mut self) -> TIMING_CALI_W { TIMING_CALI_W::new(self, 1) } #[doc = "Bits 2:4 - add extra dummy spi clock cycle length for spi clock calibration."] #[inline(always)] - #[must_use] pub fn extra_dummy_cyclelen(&mut self) -> EXTRA_DUMMY_CYCLELEN_W { EXTRA_DUMMY_CYCLELEN_W::new(self, 2) } #[doc = "Bit 5 - Set this bit to enable DLL for timing calibration in DDR mode when accessed to flash."] #[inline(always)] - #[must_use] pub fn dll_timing_cali(&mut self) -> DLL_TIMING_CALI_W { DLL_TIMING_CALI_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to update delay mode, delay num and extra dummy in MSPI."] #[inline(always)] - #[must_use] pub fn update(&mut self) -> UPDATE_W { UPDATE_W::new(self, 6) } diff --git a/esp32p4/src/spi0/user.rs b/esp32p4/src/spi0/user.rs index f221da2010..c770c5fd45 100644 --- a/esp32p4/src/spi0/user.rs +++ b/esp32p4/src/spi0/user.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 6 - spi cs keep low when spi is in done phase. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn cs_hold(&mut self) -> CS_HOLD_W { CS_HOLD_W::new(self, 6) } #[doc = "Bit 7 - spi cs is enable when spi is in prepare phase. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn cs_setup(&mut self) -> CS_SETUP_W { CS_SETUP_W::new(self, 7) } #[doc = "Bit 9 - The bit combined with SPI_MEM_CK_IDLE_EDGE bit to control SPI clock mode 0~3."] #[inline(always)] - #[must_use] pub fn ck_out_edge(&mut self) -> CK_OUT_EDGE_W { CK_OUT_EDGE_W::new(self, 9) } #[doc = "Bit 26 - spi clock is disable in dummy phase when the bit is enable."] #[inline(always)] - #[must_use] pub fn usr_dummy_idle(&mut self) -> USR_DUMMY_IDLE_W { USR_DUMMY_IDLE_W::new(self, 26) } #[doc = "Bit 29 - This bit enable the dummy phase of an operation."] #[inline(always)] - #[must_use] pub fn usr_dummy(&mut self) -> USR_DUMMY_W { USR_DUMMY_W::new(self, 29) } diff --git a/esp32p4/src/spi0/user1.rs b/esp32p4/src/spi0/user1.rs index b696f286a1..2c79bbe642 100644 --- a/esp32p4/src/spi0/user1.rs +++ b/esp32p4/src/spi0/user1.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - The length in spi_mem_clk cycles of dummy phase. The register value shall be (cycle_num-1)."] #[inline(always)] - #[must_use] pub fn usr_dummy_cyclelen(&mut self) -> USR_DUMMY_CYCLELEN_W { USR_DUMMY_CYCLELEN_W::new(self, 0) } #[doc = "Bits 26:31 - The length in bits of address phase. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn usr_addr_bitlen(&mut self) -> USR_ADDR_BITLEN_W { USR_ADDR_BITLEN_W::new(self, 26) } diff --git a/esp32p4/src/spi0/user2.rs b/esp32p4/src/spi0/user2.rs index 36c1b0856c..3b2cf222a2 100644 --- a/esp32p4/src/spi0/user2.rs +++ b/esp32p4/src/spi0/user2.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The value of command."] #[inline(always)] - #[must_use] pub fn usr_command_value(&mut self) -> USR_COMMAND_VALUE_W { USR_COMMAND_VALUE_W::new(self, 0) } #[doc = "Bits 28:31 - The length in bits of command phase. The register value shall be (bit_num-1)"] #[inline(always)] - #[must_use] pub fn usr_command_bitlen(&mut self) -> USR_COMMAND_BITLEN_W { USR_COMMAND_BITLEN_W::new(self, 28) } diff --git a/esp32p4/src/spi0/xts_date.rs b/esp32p4/src/spi0/xts_date.rs index ea43c3b458..3fffd1e49d 100644 --- a/esp32p4/src/spi0/xts_date.rs +++ b/esp32p4/src/spi0/xts_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - This bits stores the last modified-time of manual encryption feature."] #[inline(always)] - #[must_use] pub fn spi_xts_date(&mut self) -> SPI_XTS_DATE_W { SPI_XTS_DATE_W::new(self, 0) } diff --git a/esp32p4/src/spi0/xts_destination.rs b/esp32p4/src/spi0/xts_destination.rs index 76f2925e1e..e59350016a 100644 --- a/esp32p4/src/spi0/xts_destination.rs +++ b/esp32p4/src/spi0/xts_destination.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit stores the destination parameter which will be used in manual encryption calculation. 0: flash(default), 1: psram(reserved). Only default value can be used."] #[inline(always)] - #[must_use] pub fn spi_xts_destination(&mut self) -> SPI_XTS_DESTINATION_W { SPI_XTS_DESTINATION_W::new(self, 0) } diff --git a/esp32p4/src/spi0/xts_destroy.rs b/esp32p4/src/spi0/xts_destroy.rs index 7d3b051202..b2634eb8aa 100644 --- a/esp32p4/src/spi0/xts_destroy.rs +++ b/esp32p4/src/spi0/xts_destroy.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to destroy encrypted result. This action should be asserted only when manual encryption status is 3. After this action, manual encryption status will become 0."] #[inline(always)] - #[must_use] pub fn spi_xts_destroy(&mut self) -> SPI_XTS_DESTROY_W { SPI_XTS_DESTROY_W::new(self, 0) } diff --git a/esp32p4/src/spi0/xts_linesize.rs b/esp32p4/src/spi0/xts_linesize.rs index e6ffb87b23..2a7c10eae0 100644 --- a/esp32p4/src/spi0/xts_linesize.rs +++ b/esp32p4/src/spi0/xts_linesize.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - This bits stores the line-size parameter which will be used in manual encryption calculation. It decides how many bytes will be encrypted one time. 0: 16-bytes, 1: 32-bytes, 2: 64-bytes, 3:reserved."] #[inline(always)] - #[must_use] pub fn spi_xts_linesize(&mut self) -> SPI_XTS_LINESIZE_W { SPI_XTS_LINESIZE_W::new(self, 0) } diff --git a/esp32p4/src/spi0/xts_physical_address.rs b/esp32p4/src/spi0/xts_physical_address.rs index b1ed99352f..b796479fae 100644 --- a/esp32p4/src/spi0/xts_physical_address.rs +++ b/esp32p4/src/spi0/xts_physical_address.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:25 - This bits stores the physical-address parameter which will be used in manual encryption calculation. This value should aligned with byte number decided by line-size parameter."] #[inline(always)] - #[must_use] pub fn spi_xts_physical_address( &mut self, ) -> SPI_XTS_PHYSICAL_ADDRESS_W { diff --git a/esp32p4/src/spi0/xts_plain_base.rs b/esp32p4/src/spi0/xts_plain_base.rs index 39600139ec..eddbd5cc48 100644 --- a/esp32p4/src/spi0/xts_plain_base.rs +++ b/esp32p4/src/spi0/xts_plain_base.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This field is only used to generate include file in c case. This field is useless. Please do not use this field."] #[inline(always)] - #[must_use] pub fn spi_xts_plain(&mut self) -> SPI_XTS_PLAIN_W { SPI_XTS_PLAIN_W::new(self, 0) } diff --git a/esp32p4/src/spi0/xts_release.rs b/esp32p4/src/spi0/xts_release.rs index 860686d075..b6090f76cc 100644 --- a/esp32p4/src/spi0/xts_release.rs +++ b/esp32p4/src/spi0/xts_release.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to release encrypted result to mspi. This action should only be asserted when manual encryption status is 2. After this action, manual encryption status will become 3."] #[inline(always)] - #[must_use] pub fn spi_xts_release(&mut self) -> SPI_XTS_RELEASE_W { SPI_XTS_RELEASE_W::new(self, 0) } diff --git a/esp32p4/src/spi0/xts_trigger.rs b/esp32p4/src/spi0/xts_trigger.rs index 898775a90c..a7c0855a76 100644 --- a/esp32p4/src/spi0/xts_trigger.rs +++ b/esp32p4/src/spi0/xts_trigger.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to trigger the process of manual encryption calculation. This action should only be asserted when manual encryption status is 0. After this action, manual encryption status becomes 1. After calculation is done, manual encryption status becomes 2."] #[inline(always)] - #[must_use] pub fn spi_xts_trigger(&mut self) -> SPI_XTS_TRIGGER_W { SPI_XTS_TRIGGER_W::new(self, 0) } diff --git a/esp32p4/src/spi1/addr.rs b/esp32p4/src/spi1/addr.rs index a0213e15b9..0d0a1be434 100644 --- a/esp32p4/src/spi1/addr.rs +++ b/esp32p4/src/spi1/addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - In user mode, it is the memory address. other then the bit0-bit23 is the memory address, the bit24-bit31 are the byte length of a transfer."] #[inline(always)] - #[must_use] pub fn usr_addr_value(&mut self) -> USR_ADDR_VALUE_W { USR_ADDR_VALUE_W::new(self, 0) } diff --git a/esp32p4/src/spi1/cache_fctrl.rs b/esp32p4/src/spi1/cache_fctrl.rs index 17da6be7ec..9e6d97ba6a 100644 --- a/esp32p4/src/spi1/cache_fctrl.rs +++ b/esp32p4/src/spi1/cache_fctrl.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - For SPI1, cache read flash with 4 bytes address, 1: enable, 0:disable."] #[inline(always)] - #[must_use] pub fn cache_usr_addr_4byte(&mut self) -> CACHE_USR_ADDR_4BYTE_W { CACHE_USR_ADDR_4BYTE_W::new(self, 1) } #[doc = "Bit 3 - For SPI1, din phase apply 2 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_dio."] #[inline(always)] - #[must_use] pub fn fdin_dual(&mut self) -> FDIN_DUAL_W { FDIN_DUAL_W::new(self, 3) } #[doc = "Bit 4 - For SPI1, dout phase apply 2 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_dio."] #[inline(always)] - #[must_use] pub fn fdout_dual(&mut self) -> FDOUT_DUAL_W { FDOUT_DUAL_W::new(self, 4) } #[doc = "Bit 5 - For SPI1, address phase apply 2 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_dio."] #[inline(always)] - #[must_use] pub fn faddr_dual(&mut self) -> FADDR_DUAL_W { FADDR_DUAL_W::new(self, 5) } #[doc = "Bit 6 - For SPI1, din phase apply 4 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_qio."] #[inline(always)] - #[must_use] pub fn fdin_quad(&mut self) -> FDIN_QUAD_W { FDIN_QUAD_W::new(self, 6) } #[doc = "Bit 7 - For SPI1, dout phase apply 4 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_qio."] #[inline(always)] - #[must_use] pub fn fdout_quad(&mut self) -> FDOUT_QUAD_W { FDOUT_QUAD_W::new(self, 7) } #[doc = "Bit 8 - For SPI1, address phase apply 4 signals. 1: enable 0: disable. The bit is the same with spi_mem_fread_qio."] #[inline(always)] - #[must_use] pub fn faddr_quad(&mut self) -> FADDR_QUAD_W { FADDR_QUAD_W::new(self, 8) } diff --git a/esp32p4/src/spi1/clock.rs b/esp32p4/src/spi1/clock.rs index def6403bc3..d789b3face 100644 --- a/esp32p4/src/spi1/clock.rs +++ b/esp32p4/src/spi1/clock.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In the master mode it must be equal to spi_mem_clkcnt_N."] #[inline(always)] - #[must_use] pub fn clkcnt_l(&mut self) -> CLKCNT_L_W { CLKCNT_L_W::new(self, 0) } #[doc = "Bits 8:15 - In the master mode it must be floor((spi_mem_clkcnt_N+1)/2-1)."] #[inline(always)] - #[must_use] pub fn clkcnt_h(&mut self) -> CLKCNT_H_W { CLKCNT_H_W::new(self, 8) } #[doc = "Bits 16:23 - In the master mode it is the divider of spi_mem_clk. So spi_mem_clk frequency is system/(spi_mem_clkcnt_N+1)"] #[inline(always)] - #[must_use] pub fn clkcnt_n(&mut self) -> CLKCNT_N_W { CLKCNT_N_W::new(self, 16) } #[doc = "Bit 31 - reserved"] #[inline(always)] - #[must_use] pub fn clk_equ_sysclk(&mut self) -> CLK_EQU_SYSCLK_W { CLK_EQU_SYSCLK_W::new(self, 31) } diff --git a/esp32p4/src/spi1/clock_gate.rs b/esp32p4/src/spi1/clock_gate.rs index 5c0eb9d0d7..5e04c4947e 100644 --- a/esp32p4/src/spi1/clock_gate.rs +++ b/esp32p4/src/spi1/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Register clock gate enable signal. 1: Enable. 0: Disable."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32p4/src/spi1/cmd.rs b/esp32p4/src/spi1/cmd.rs index fa4ef927c7..ddebe43618 100644 --- a/esp32p4/src/spi1/cmd.rs +++ b/esp32p4/src/spi1/cmd.rs @@ -180,91 +180,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 17 - In user mode, it is set to indicate that program/erase operation will be triggered. The bit is combined with spi_mem_usr bit. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_pe(&mut self) -> FLASH_PE_W { FLASH_PE_W::new(self, 17) } #[doc = "Bit 18 - User define command enable. An operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn usr(&mut self) -> USR_W { USR_W::new(self, 18) } #[doc = "Bit 19 - Drive Flash into high performance mode. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_hpm(&mut self) -> FLASH_HPM_W { FLASH_HPM_W::new(self, 19) } #[doc = "Bit 20 - This bit combined with reg_resandres bit releases Flash from the power-down state or high performance mode and obtains the devices ID. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_res(&mut self) -> FLASH_RES_W { FLASH_RES_W::new(self, 20) } #[doc = "Bit 21 - Drive Flash into power down. An operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_dp(&mut self) -> FLASH_DP_W { FLASH_DP_W::new(self, 21) } #[doc = "Bit 22 - Chip erase enable. Chip erase operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_ce(&mut self) -> FLASH_CE_W { FLASH_CE_W::new(self, 22) } #[doc = "Bit 23 - Block erase enable(32KB) . Block erase operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_be(&mut self) -> FLASH_BE_W { FLASH_BE_W::new(self, 23) } #[doc = "Bit 24 - Sector erase enable(4KB). Sector erase operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_se(&mut self) -> FLASH_SE_W { FLASH_SE_W::new(self, 24) } #[doc = "Bit 25 - Page program enable(1 byte ~256 bytes data to be programmed). Page program operation will be triggered when the bit is set. The bit will be cleared once the operation done .1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_pp(&mut self) -> FLASH_PP_W { FLASH_PP_W::new(self, 25) } #[doc = "Bit 26 - Write status register enable. Write status operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_wrsr(&mut self) -> FLASH_WRSR_W { FLASH_WRSR_W::new(self, 26) } #[doc = "Bit 27 - Read status register-1. Read status operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_rdsr(&mut self) -> FLASH_RDSR_W { FLASH_RDSR_W::new(self, 27) } #[doc = "Bit 28 - Read JEDEC ID . Read ID command will be sent when the bit is set. The bit will be cleared once the operation done. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_rdid(&mut self) -> FLASH_RDID_W { FLASH_RDID_W::new(self, 28) } #[doc = "Bit 29 - Write flash disable. Write disable command will be sent when the bit is set. The bit will be cleared once the operation done. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_wrdi(&mut self) -> FLASH_WRDI_W { FLASH_WRDI_W::new(self, 29) } #[doc = "Bit 30 - Write flash enable. Write enable command will be sent when the bit is set. The bit will be cleared once the operation done. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_wren(&mut self) -> FLASH_WREN_W { FLASH_WREN_W::new(self, 30) } #[doc = "Bit 31 - Read flash enable. Read flash operation will be triggered when the bit is set. The bit will be cleared once the operation done. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_read(&mut self) -> FLASH_READ_W { FLASH_READ_W::new(self, 31) } diff --git a/esp32p4/src/spi1/ctrl.rs b/esp32p4/src/spi1/ctrl.rs index 4dde8338fe..28ec3f4444 100644 --- a/esp32p4/src/spi1/ctrl.rs +++ b/esp32p4/src/spi1/ctrl.rs @@ -204,115 +204,96 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - In the dummy phase of a MSPI read data transfer when accesses to flash, the signal level of SPI bus is output by the MSPI controller."] #[inline(always)] - #[must_use] pub fn fdummy_rin(&mut self) -> FDUMMY_RIN_W { FDUMMY_RIN_W::new(self, 2) } #[doc = "Bit 3 - In the dummy phase of a MSPI write data transfer when accesses to flash, the signal level of SPI bus is output by the MSPI controller."] #[inline(always)] - #[must_use] pub fn fdummy_wout(&mut self) -> FDUMMY_WOUT_W { FDUMMY_WOUT_W::new(self, 3) } #[doc = "Bit 4 - Apply 8 signals during write-data phase 1:enable 0: disable"] #[inline(always)] - #[must_use] pub fn fdout_oct(&mut self) -> FDOUT_OCT_W { FDOUT_OCT_W::new(self, 4) } #[doc = "Bit 5 - Apply 8 signals during read-data phase 1:enable 0: disable"] #[inline(always)] - #[must_use] pub fn fdin_oct(&mut self) -> FDIN_OCT_W { FDIN_OCT_W::new(self, 5) } #[doc = "Bit 6 - Apply 8 signals during address phase 1:enable 0: disable"] #[inline(always)] - #[must_use] pub fn faddr_oct(&mut self) -> FADDR_OCT_W { FADDR_OCT_W::new(self, 6) } #[doc = "Bit 8 - Apply 4 signals during command phase 1:enable 0: disable"] #[inline(always)] - #[must_use] pub fn fcmd_quad(&mut self) -> FCMD_QUAD_W { FCMD_QUAD_W::new(self, 8) } #[doc = "Bit 9 - Apply 8 signals during command phase 1:enable 0: disable"] #[inline(always)] - #[must_use] pub fn fcmd_oct(&mut self) -> FCMD_OCT_W { FCMD_OCT_W::new(self, 9) } #[doc = "Bit 10 - For SPI1, initialize crc32 module before writing encrypted data to flash. Active low."] #[inline(always)] - #[must_use] pub fn fcs_crc_en(&mut self) -> FCS_CRC_EN_W { FCS_CRC_EN_W::new(self, 10) } #[doc = "Bit 11 - For SPI1, enable crc32 when writing encrypted data to flash. 1: enable 0:disable"] #[inline(always)] - #[must_use] pub fn tx_crc_en(&mut self) -> TX_CRC_EN_W { TX_CRC_EN_W::new(self, 11) } #[doc = "Bit 13 - This bit enable the bits: spi_mem_fread_qio, spi_mem_fread_dio, spi_mem_fread_qout and spi_mem_fread_dout. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fastrd_mode(&mut self) -> FASTRD_MODE_W { FASTRD_MODE_W::new(self, 13) } #[doc = "Bit 14 - In the read operations, read-data phase apply 2 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_dual(&mut self) -> FREAD_DUAL_W { FREAD_DUAL_W::new(self, 14) } #[doc = "Bit 15 - The Device ID is read out to SPI_MEM_RD_STATUS register, this bit combine with spi_mem_flash_res bit. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn resandres(&mut self) -> RESANDRES_W { RESANDRES_W::new(self, 15) } #[doc = "Bit 18 - The bit is used to set MISO line polarity, 1: high 0, low"] #[inline(always)] - #[must_use] pub fn q_pol(&mut self) -> Q_POL_W { Q_POL_W::new(self, 18) } #[doc = "Bit 19 - The bit is used to set MOSI line polarity, 1: high 0, low"] #[inline(always)] - #[must_use] pub fn d_pol(&mut self) -> D_POL_W { D_POL_W::new(self, 19) } #[doc = "Bit 20 - In the read operations read-data phase apply 4 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_quad(&mut self) -> FREAD_QUAD_W { FREAD_QUAD_W::new(self, 20) } #[doc = "Bit 21 - Write protect signal output when SPI is idle. 1: output high, 0: output low."] #[inline(always)] - #[must_use] pub fn wp(&mut self) -> WP_W { WP_W::new(self, 21) } #[doc = "Bit 22 - two bytes data will be written to status register when it is set. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn wrsr_2b(&mut self) -> WRSR_2B_W { WRSR_2B_W::new(self, 22) } #[doc = "Bit 23 - In the read operations address phase and read-data phase apply 2 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_dio(&mut self) -> FREAD_DIO_W { FREAD_DIO_W::new(self, 23) } #[doc = "Bit 24 - In the read operations address phase and read-data phase apply 4 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_qio(&mut self) -> FREAD_QIO_W { FREAD_QIO_W::new(self, 24) } diff --git a/esp32p4/src/spi1/ctrl1.rs b/esp32p4/src/spi1/ctrl1.rs index dd42e7f950..c94a99e05f 100644 --- a/esp32p4/src/spi1/ctrl1.rs +++ b/esp32p4/src/spi1/ctrl1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - SPI clock mode bits. 0: SPI clock is off when CS inactive 1: SPI clock is delayed one cycle after CS inactive 2: SPI clock is delayed two cycles after CS inactive 3: SPI clock is alwasy on."] #[inline(always)] - #[must_use] pub fn clk_mode(&mut self) -> CLK_MODE_W { CLK_MODE_W::new(self, 0) } #[doc = "Bits 2:11 - After RES/DP/HPM command is sent, SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 512) SPI_CLK cycles."] #[inline(always)] - #[must_use] pub fn cs_hold_dly_res(&mut self) -> CS_HOLD_DLY_RES_W { CS_HOLD_DLY_RES_W::new(self, 2) } diff --git a/esp32p4/src/spi1/ctrl2.rs b/esp32p4/src/spi1/ctrl2.rs index 0f4c316976..67bff70e6d 100644 --- a/esp32p4/src/spi1/ctrl2.rs +++ b/esp32p4/src/spi1/ctrl2.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - The FSM will be reset."] #[inline(always)] - #[must_use] pub fn sync_reset(&mut self) -> SYNC_RESET_W { SYNC_RESET_W::new(self, 31) } diff --git a/esp32p4/src/spi1/date.rs b/esp32p4/src/spi1/date.rs index 7c2aae5b9b..569c7429c6 100644 --- a/esp32p4/src/spi1/date.rs +++ b/esp32p4/src/spi1/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Version control register"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32p4/src/spi1/ddr.rs b/esp32p4/src/spi1/ddr.rs index 5805306432..e1bbe08c41 100644 --- a/esp32p4/src/spi1/ddr.rs +++ b/esp32p4/src/spi1/ddr.rs @@ -157,85 +157,71 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: in ddr mode, 0 in sdr mode"] #[inline(always)] - #[must_use] pub fn spi_fmem_ddr_en(&mut self) -> SPI_FMEM_DDR_EN_W { SPI_FMEM_DDR_EN_W::new(self, 0) } #[doc = "Bit 1 - Set the bit to enable variable dummy cycle in spi ddr mode."] #[inline(always)] - #[must_use] pub fn spi_fmem_var_dummy(&mut self) -> SPI_FMEM_VAR_DUMMY_W { SPI_FMEM_VAR_DUMMY_W::new(self, 1) } #[doc = "Bit 2 - Set the bit to reorder rx data of the word in spi ddr mode."] #[inline(always)] - #[must_use] pub fn spi_fmem_ddr_rdat_swp(&mut self) -> SPI_FMEM_DDR_RDAT_SWP_W { SPI_FMEM_DDR_RDAT_SWP_W::new(self, 2) } #[doc = "Bit 3 - Set the bit to reorder tx data of the word in spi ddr mode."] #[inline(always)] - #[must_use] pub fn spi_fmem_ddr_wdat_swp(&mut self) -> SPI_FMEM_DDR_WDAT_SWP_W { SPI_FMEM_DDR_WDAT_SWP_W::new(self, 3) } #[doc = "Bit 4 - the bit is used to disable dual edge in command phase when ddr mode."] #[inline(always)] - #[must_use] pub fn spi_fmem_ddr_cmd_dis(&mut self) -> SPI_FMEM_DDR_CMD_DIS_W { SPI_FMEM_DDR_CMD_DIS_W::new(self, 4) } #[doc = "Bits 5:11 - It is the minimum output data length in the panda device."] #[inline(always)] - #[must_use] pub fn spi_fmem_outminbytelen(&mut self) -> SPI_FMEM_OUTMINBYTELEN_W { SPI_FMEM_OUTMINBYTELEN_W::new(self, 5) } #[doc = "Bits 14:20 - The delay number of data strobe which from memory based on SPI clock."] #[inline(always)] - #[must_use] pub fn spi_fmem_usr_ddr_dqs_thd(&mut self) -> SPI_FMEM_USR_DDR_DQS_THD_W { SPI_FMEM_USR_DDR_DQS_THD_W::new(self, 14) } #[doc = "Bit 21 - 1: Do not need the input of SPI_DQS signal, SPI0 starts to receive data when spi0_slv_st is in SPI_MEM_DIN state. It is used when there is no SPI_DQS signal or SPI_DQS signal is not stable. 0: SPI0 starts to store data at the positive and negative edge of SPI_DQS."] #[inline(always)] - #[must_use] pub fn spi_fmem_ddr_dqs_loop(&mut self) -> SPI_FMEM_DDR_DQS_LOOP_W { SPI_FMEM_DDR_DQS_LOOP_W::new(self, 21) } #[doc = "Bit 24 - Set this bit to enable the differential SPI_CLK#."] #[inline(always)] - #[must_use] pub fn spi_fmem_clk_diff_en(&mut self) -> SPI_FMEM_CLK_DIFF_EN_W { SPI_FMEM_CLK_DIFF_EN_W::new(self, 24) } #[doc = "Bit 26 - Set this bit to enable the input of SPI_DQS signal in SPI phases of CMD and ADDR."] #[inline(always)] - #[must_use] pub fn spi_fmem_dqs_ca_in(&mut self) -> SPI_FMEM_DQS_CA_IN_W { SPI_FMEM_DQS_CA_IN_W::new(self, 26) } #[doc = "Bit 27 - Set this bit to enable the vary dummy function in SPI HyperBus mode, when SPI0 accesses flash or SPI1 accesses flash or sram."] #[inline(always)] - #[must_use] pub fn spi_fmem_hyperbus_dummy_2x(&mut self) -> SPI_FMEM_HYPERBUS_DUMMY_2X_W { SPI_FMEM_HYPERBUS_DUMMY_2X_W::new(self, 27) } #[doc = "Bit 28 - Set this bit to invert SPI_DIFF when accesses to flash. ."] #[inline(always)] - #[must_use] pub fn spi_fmem_clk_diff_inv(&mut self) -> SPI_FMEM_CLK_DIFF_INV_W { SPI_FMEM_CLK_DIFF_INV_W::new(self, 28) } #[doc = "Bit 29 - Set this bit to enable octa_ram address out when accesses to flash, which means ADDR_OUT\\[31:0\\] = {spi_usr_addr_value\\[25:4\\], 6'd0, spi_usr_addr_value\\[3:1\\], 1'b0}."] #[inline(always)] - #[must_use] pub fn spi_fmem_octa_ram_addr(&mut self) -> SPI_FMEM_OCTA_RAM_ADDR_W { SPI_FMEM_OCTA_RAM_ADDR_W::new(self, 29) } #[doc = "Bit 30 - Set this bit to enable HyperRAM address out when accesses to flash, which means ADDR_OUT\\[31:0\\] = {spi_usr_addr_value\\[19:4\\], 13'd0, spi_usr_addr_value\\[3:1\\]}."] #[inline(always)] - #[must_use] pub fn spi_fmem_hyperbus_ca(&mut self) -> SPI_FMEM_HYPERBUS_CA_W { SPI_FMEM_HYPERBUS_CA_W::new(self, 30) } diff --git a/esp32p4/src/spi1/flash_sus_cmd.rs b/esp32p4/src/spi1/flash_sus_cmd.rs index 1f44880988..c3121dd40e 100644 --- a/esp32p4/src/spi1/flash_sus_cmd.rs +++ b/esp32p4/src/spi1/flash_sus_cmd.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Program/Erase suspend command."] #[inline(always)] - #[must_use] pub fn flash_pes_command(&mut self) -> FLASH_PES_COMMAND_W { FLASH_PES_COMMAND_W::new(self, 0) } #[doc = "Bits 16:31 - Flash SUS/SUS1/SUS2 status bit read command. The command should be sent when SUS/SUS1/SUS2 bit should be checked to insure the suspend or resume status of flash."] #[inline(always)] - #[must_use] pub fn wait_pesr_command(&mut self) -> WAIT_PESR_COMMAND_W { WAIT_PESR_COMMAND_W::new(self, 16) } diff --git a/esp32p4/src/spi1/flash_sus_ctrl.rs b/esp32p4/src/spi1/flash_sus_ctrl.rs index d40a8c8819..d26c2550e6 100644 --- a/esp32p4/src/spi1/flash_sus_ctrl.rs +++ b/esp32p4/src/spi1/flash_sus_ctrl.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - program erase resume bit, program erase suspend operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_per(&mut self) -> FLASH_PER_W { FLASH_PER_W::new(self, 0) } #[doc = "Bit 1 - program erase suspend bit, program erase suspend operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_pes(&mut self) -> FLASH_PES_W { FLASH_PES_W::new(self, 1) } #[doc = "Bit 2 - 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4 or *128) SPI_CLK cycles after program erase resume command is sent. 0: SPI1 does not wait after program erase resume command is sent."] #[inline(always)] - #[must_use] pub fn flash_per_wait_en(&mut self) -> FLASH_PER_WAIT_EN_W { FLASH_PER_WAIT_EN_W::new(self, 2) } #[doc = "Bit 3 - 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4 or *128) SPI_CLK cycles after program erase suspend command is sent. 0: SPI1 does not wait after program erase suspend command is sent."] #[inline(always)] - #[must_use] pub fn flash_pes_wait_en(&mut self) -> FLASH_PES_WAIT_EN_W { FLASH_PES_WAIT_EN_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to enable PES end triggers PER transfer option. If this bit is 0, application should send PER after PES is done."] #[inline(always)] - #[must_use] pub fn pes_per_en(&mut self) -> PES_PER_EN_W { PES_PER_EN_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to enable Auto-suspending function."] #[inline(always)] - #[must_use] pub fn flash_pes_en(&mut self) -> FLASH_PES_EN_W { FLASH_PES_EN_W::new(self, 5) } #[doc = "Bits 6:21 - The mask value when check SUS/SUS1/SUS2 status bit. If the read status value is status_in\\[15:0\\](only status_in\\[7:0\\] is valid when only one byte of data is read out, status_in\\[15:0\\] is valid when two bytes of data are read out), SUS/SUS1/SUS2 = status_in\\[15:0\\]^ SPI_MEM_PESR_END_MSK\\[15:0\\]."] #[inline(always)] - #[must_use] pub fn pesr_end_msk(&mut self) -> PESR_END_MSK_W { PESR_END_MSK_W::new(self, 6) } #[doc = "Bit 22 - 1: Read two bytes when check flash SUS/SUS1/SUS2 status bit. 0: Read one byte when check flash SUS/SUS1/SUS2 status bit"] #[inline(always)] - #[must_use] pub fn spi_fmem_rd_sus_2b(&mut self) -> SPI_FMEM_RD_SUS_2B_W { SPI_FMEM_RD_SUS_2B_W::new(self, 22) } #[doc = "Bit 23 - 1: Both WIP and SUS/SUS1/SUS2 bits should be checked to insure the resume status of flash. 0: Only need to check WIP is 0."] #[inline(always)] - #[must_use] pub fn per_end_en(&mut self) -> PER_END_EN_W { PER_END_EN_W::new(self, 23) } #[doc = "Bit 24 - 1: Both WIP and SUS/SUS1/SUS2 bits should be checked to insure the suspend status of flash. 0: Only need to check WIP is 0."] #[inline(always)] - #[must_use] pub fn pes_end_en(&mut self) -> PES_END_EN_W { PES_END_EN_W::new(self, 24) } #[doc = "Bits 25:31 - When SPI1 checks SUS/SUS1/SUS2 bits fail for SPI_MEM_SUS_TIMEOUT_CNT\\[6:0\\] times, it will be treated as check pass."] #[inline(always)] - #[must_use] pub fn sus_timeout_cnt(&mut self) -> SUS_TIMEOUT_CNT_W { SUS_TIMEOUT_CNT_W::new(self, 25) } diff --git a/esp32p4/src/spi1/flash_waiti_ctrl.rs b/esp32p4/src/spi1/flash_waiti_ctrl.rs index c5cf5f21e4..1b7e5ba333 100644 --- a/esp32p4/src/spi1/flash_waiti_ctrl.rs +++ b/esp32p4/src/spi1/flash_waiti_ctrl.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: The hardware will wait idle after SE/PP/WRSR automatically, and hardware auto Suspend/Resume can be enabled. 0: The functions of hardware wait idle and auto Suspend/Resume are not supported."] #[inline(always)] - #[must_use] pub fn waiti_en(&mut self) -> WAITI_EN_W { WAITI_EN_W::new(self, 0) } #[doc = "Bit 1 - The dummy phase enable when wait flash idle (RDSR)"] #[inline(always)] - #[must_use] pub fn waiti_dummy(&mut self) -> WAITI_DUMMY_W { WAITI_DUMMY_W::new(self, 1) } #[doc = "Bit 2 - 1: Output address 0 in RDSR or read SUS command transfer. 0: Do not send out address in RDSR or read SUS command transfer."] #[inline(always)] - #[must_use] pub fn waiti_addr_en(&mut self) -> WAITI_ADDR_EN_W { WAITI_ADDR_EN_W::new(self, 2) } #[doc = "Bits 3:4 - When SPI_MEM_WAITI_ADDR_EN is set, the cycle length of sent out address is (SPI_MEM_WAITI_ADDR_CYCLELEN\\[1:0\\] + 1) SPI bus clock cycles. It is not active when SPI_MEM_WAITI_ADDR_EN is cleared."] #[inline(always)] - #[must_use] pub fn waiti_addr_cyclelen(&mut self) -> WAITI_ADDR_CYCLELEN_W { WAITI_ADDR_CYCLELEN_W::new(self, 3) } #[doc = "Bit 9 - 1:The wait idle command bit length is 16. 0: The wait idle command bit length is 8."] #[inline(always)] - #[must_use] pub fn waiti_cmd_2b(&mut self) -> WAITI_CMD_2B_W { WAITI_CMD_2B_W::new(self, 9) } #[doc = "Bits 10:15 - The dummy cycle length when wait flash idle(RDSR)."] #[inline(always)] - #[must_use] pub fn waiti_dummy_cyclelen(&mut self) -> WAITI_DUMMY_CYCLELEN_W { WAITI_DUMMY_CYCLELEN_W::new(self, 10) } #[doc = "Bits 16:31 - The command value to wait flash idle(RDSR)."] #[inline(always)] - #[must_use] pub fn waiti_cmd(&mut self) -> WAITI_CMD_W { WAITI_CMD_W::new(self, 16) } diff --git a/esp32p4/src/spi1/int_clr.rs b/esp32p4/src/spi1/int_clr.rs index 6ead645df2..eba52d58b9 100644 --- a/esp32p4/src/spi1/int_clr.rs +++ b/esp32p4/src/spi1/int_clr.rs @@ -21,37 +21,31 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The clear bit for SPI_MEM_PER_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn per_end(&mut self) -> PER_END_W { PER_END_W::new(self, 0) } #[doc = "Bit 1 - The clear bit for SPI_MEM_PES_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn pes_end(&mut self) -> PES_END_W { PES_END_W::new(self, 1) } #[doc = "Bit 2 - The clear bit for SPI_MEM_WPE_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn wpe_end(&mut self) -> WPE_END_W { WPE_END_W::new(self, 2) } #[doc = "Bit 3 - The clear bit for SPI_MEM_SLV_ST_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_st_end(&mut self) -> SLV_ST_END_W { SLV_ST_END_W::new(self, 3) } #[doc = "Bit 4 - The clear bit for SPI_MEM_MST_ST_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_st_end(&mut self) -> MST_ST_END_W { MST_ST_END_W::new(self, 4) } #[doc = "Bit 10 - The status bit for SPI_MEM_BROWN_OUT_INT interrupt."] #[inline(always)] - #[must_use] pub fn brown_out(&mut self) -> BROWN_OUT_W { BROWN_OUT_W::new(self, 10) } diff --git a/esp32p4/src/spi1/int_ena.rs b/esp32p4/src/spi1/int_ena.rs index 5a8192140b..52895d72a7 100644 --- a/esp32p4/src/spi1/int_ena.rs +++ b/esp32p4/src/spi1/int_ena.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The enable bit for SPI_MEM_PER_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn per_end(&mut self) -> PER_END_W { PER_END_W::new(self, 0) } #[doc = "Bit 1 - The enable bit for SPI_MEM_PES_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn pes_end(&mut self) -> PES_END_W { PES_END_W::new(self, 1) } #[doc = "Bit 2 - The enable bit for SPI_MEM_WPE_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn wpe_end(&mut self) -> WPE_END_W { WPE_END_W::new(self, 2) } #[doc = "Bit 3 - The enable bit for SPI_MEM_SLV_ST_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_st_end(&mut self) -> SLV_ST_END_W { SLV_ST_END_W::new(self, 3) } #[doc = "Bit 4 - The enable bit for SPI_MEM_MST_ST_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_st_end(&mut self) -> MST_ST_END_W { MST_ST_END_W::new(self, 4) } #[doc = "Bit 10 - The enable bit for SPI_MEM_BROWN_OUT_INT interrupt."] #[inline(always)] - #[must_use] pub fn brown_out(&mut self) -> BROWN_OUT_W { BROWN_OUT_W::new(self, 10) } diff --git a/esp32p4/src/spi1/int_raw.rs b/esp32p4/src/spi1/int_raw.rs index 8cb118af69..5fe4c0f4e5 100644 --- a/esp32p4/src/spi1/int_raw.rs +++ b/esp32p4/src/spi1/int_raw.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw bit for SPI_MEM_PER_END_INT interrupt. 1: Triggered when Auto Resume command (0x7A) is sent and flash is resumed successfully. 0: Others."] #[inline(always)] - #[must_use] pub fn per_end(&mut self) -> PER_END_W { PER_END_W::new(self, 0) } #[doc = "Bit 1 - The raw bit for SPI_MEM_PES_END_INT interrupt.1: Triggered when Auto Suspend command (0x75) is sent and flash is suspended successfully. 0: Others."] #[inline(always)] - #[must_use] pub fn pes_end(&mut self) -> PES_END_W { PES_END_W::new(self, 1) } #[doc = "Bit 2 - The raw bit for SPI_MEM_WPE_END_INT interrupt. 1: Triggered when WRSR/PP/SE/BE/CE is sent and flash is already idle. 0: Others."] #[inline(always)] - #[must_use] pub fn wpe_end(&mut self) -> WPE_END_W { WPE_END_W::new(self, 2) } #[doc = "Bit 3 - The raw bit for SPI_MEM_SLV_ST_END_INT interrupt. 1: Triggered when spi1_slv_st is changed from non idle state to idle state. It means that SPI_CS raises high. 0: Others"] #[inline(always)] - #[must_use] pub fn slv_st_end(&mut self) -> SLV_ST_END_W { SLV_ST_END_W::new(self, 3) } #[doc = "Bit 4 - The raw bit for SPI_MEM_MST_ST_END_INT interrupt. 1: Triggered when spi1_mst_st is changed from non idle state to idle state. 0: Others."] #[inline(always)] - #[must_use] pub fn mst_st_end(&mut self) -> MST_ST_END_W { MST_ST_END_W::new(self, 4) } #[doc = "Bit 10 - The raw bit for SPI_MEM_BROWN_OUT_INT interrupt. 1: Triggered condition is that chip is loosing power and RTC module sends out brown out close flash request to SPI1. After SPI1 sends out suspend command to flash, this interrupt is triggered and MSPI returns to idle state. 0: Others."] #[inline(always)] - #[must_use] pub fn brown_out(&mut self) -> BROWN_OUT_W { BROWN_OUT_W::new(self, 10) } diff --git a/esp32p4/src/spi1/misc.rs b/esp32p4/src/spi1/misc.rs index b251d4f517..95a469646c 100644 --- a/esp32p4/src/spi1/misc.rs +++ b/esp32p4/src/spi1/misc.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - SPI_CS0 pin enable, 1: disable SPI_CS0, 0: SPI_CS0 pin is active to select SPI device, such as flash, external RAM and so on."] #[inline(always)] - #[must_use] pub fn cs0_dis(&mut self) -> CS0_DIS_W { CS0_DIS_W::new(self, 0) } #[doc = "Bit 1 - SPI_CS1 pin enable, 1: disable SPI_CS1, 0: SPI_CS1 pin is active to select SPI device, such as flash, external RAM and so on."] #[inline(always)] - #[must_use] pub fn cs1_dis(&mut self) -> CS1_DIS_W { CS1_DIS_W::new(self, 1) } #[doc = "Bit 9 - 1: spi clk line is high when idle 0: spi clk line is low when idle"] #[inline(always)] - #[must_use] pub fn ck_idle_edge(&mut self) -> CK_IDLE_EDGE_W { CK_IDLE_EDGE_W::new(self, 9) } #[doc = "Bit 10 - spi cs line keep low when the bit is set."] #[inline(always)] - #[must_use] pub fn cs_keep_active(&mut self) -> CS_KEEP_ACTIVE_W { CS_KEEP_ACTIVE_W::new(self, 10) } diff --git a/esp32p4/src/spi1/miso_dlen.rs b/esp32p4/src/spi1/miso_dlen.rs index 355ff7019c..deab962597 100644 --- a/esp32p4/src/spi1/miso_dlen.rs +++ b/esp32p4/src/spi1/miso_dlen.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - The length in bits of read-data. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn usr_miso_dbitlen(&mut self) -> USR_MISO_DBITLEN_W { USR_MISO_DBITLEN_W::new(self, 0) } diff --git a/esp32p4/src/spi1/mosi_dlen.rs b/esp32p4/src/spi1/mosi_dlen.rs index 4dfb555067..8f02670550 100644 --- a/esp32p4/src/spi1/mosi_dlen.rs +++ b/esp32p4/src/spi1/mosi_dlen.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - The length in bits of write-data. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn usr_mosi_dbitlen(&mut self) -> USR_MOSI_DBITLEN_W { USR_MOSI_DBITLEN_W::new(self, 0) } diff --git a/esp32p4/src/spi1/rd_status.rs b/esp32p4/src/spi1/rd_status.rs index 32a6a1cf90..c14fefc1ed 100644 --- a/esp32p4/src/spi1/rd_status.rs +++ b/esp32p4/src/spi1/rd_status.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The value is stored when set spi_mem_flash_rdsr bit and spi_mem_flash_res bit."] #[inline(always)] - #[must_use] pub fn status(&mut self) -> STATUS_W { STATUS_W::new(self, 0) } #[doc = "Bits 16:23 - Mode bits in the flash fast read mode it is combined with spi_mem_fastrd_mode bit."] #[inline(always)] - #[must_use] pub fn wb_mode(&mut self) -> WB_MODE_W { WB_MODE_W::new(self, 16) } diff --git a/esp32p4/src/spi1/sus_status.rs b/esp32p4/src/spi1/sus_status.rs index 0c3db2068b..8f2ed8c240 100644 --- a/esp32p4/src/spi1/sus_status.rs +++ b/esp32p4/src/spi1/sus_status.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The status of flash suspend, only used in SPI1."] #[inline(always)] - #[must_use] pub fn flash_sus(&mut self) -> FLASH_SUS_W { FLASH_SUS_W::new(self, 0) } #[doc = "Bit 1 - 1: SPI1 sends out SPI_MEM_WAIT_PESR_COMMAND\\[15:0\\] to check SUS/SUS1/SUS2 bit. 0: SPI1 sends out SPI_MEM_WAIT_PESR_COMMAND\\[7:0\\] to check SUS/SUS1/SUS2 bit."] #[inline(always)] - #[must_use] pub fn wait_pesr_cmd_2b(&mut self) -> WAIT_PESR_CMD_2B_W { WAIT_PESR_CMD_2B_W::new(self, 1) } #[doc = "Bit 2 - 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 128) SPI_CLK cycles after HPM command is sent. 0: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4) SPI_CLK cycles after HPM command is sent."] #[inline(always)] - #[must_use] pub fn flash_hpm_dly_128(&mut self) -> FLASH_HPM_DLY_128_W { FLASH_HPM_DLY_128_W::new(self, 2) } #[doc = "Bit 3 - 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 128) SPI_CLK cycles after RES command is sent. 0: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4) SPI_CLK cycles after RES command is sent."] #[inline(always)] - #[must_use] pub fn flash_res_dly_128(&mut self) -> FLASH_RES_DLY_128_W { FLASH_RES_DLY_128_W::new(self, 3) } #[doc = "Bit 4 - 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 128) SPI_CLK cycles after DP command is sent. 0: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4) SPI_CLK cycles after DP command is sent."] #[inline(always)] - #[must_use] pub fn flash_dp_dly_128(&mut self) -> FLASH_DP_DLY_128_W { FLASH_DP_DLY_128_W::new(self, 4) } #[doc = "Bit 5 - Valid when SPI_MEM_FLASH_PER_WAIT_EN is 1. 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 128) SPI_CLK cycles after PER command is sent. 0: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4) SPI_CLK cycles after PER command is sent."] #[inline(always)] - #[must_use] pub fn flash_per_dly_128(&mut self) -> FLASH_PER_DLY_128_W { FLASH_PER_DLY_128_W::new(self, 5) } #[doc = "Bit 6 - Valid when SPI_MEM_FLASH_PES_WAIT_EN is 1. 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 128) SPI_CLK cycles after PES command is sent. 0: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4) SPI_CLK cycles after PES command is sent."] #[inline(always)] - #[must_use] pub fn flash_pes_dly_128(&mut self) -> FLASH_PES_DLY_128_W { FLASH_PES_DLY_128_W::new(self, 6) } #[doc = "Bit 7 - 1: Enable SPI0 lock SPI0/1 arbiter option. 0: Disable it."] #[inline(always)] - #[must_use] pub fn spi0_lock_en(&mut self) -> SPI0_LOCK_EN_W { SPI0_LOCK_EN_W::new(self, 7) } #[doc = "Bit 15 - 1: The bit length of Program/Erase Suspend/Resume command is 16. 0: The bit length of Program/Erase Suspend/Resume command is 8."] #[inline(always)] - #[must_use] pub fn flash_pesr_cmd_2b(&mut self) -> FLASH_PESR_CMD_2B_W { FLASH_PESR_CMD_2B_W::new(self, 15) } #[doc = "Bits 16:31 - Program/Erase resume command."] #[inline(always)] - #[must_use] pub fn flash_per_command(&mut self) -> FLASH_PER_COMMAND_W { FLASH_PER_COMMAND_W::new(self, 16) } diff --git a/esp32p4/src/spi1/timing_cali.rs b/esp32p4/src/spi1/timing_cali.rs index 001dea3844..280631e3f2 100644 --- a/esp32p4/src/spi1/timing_cali.rs +++ b/esp32p4/src/spi1/timing_cali.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - The bit is used to enable timing auto-calibration for all reading operations."] #[inline(always)] - #[must_use] pub fn timing_cali(&mut self) -> TIMING_CALI_W { TIMING_CALI_W::new(self, 1) } #[doc = "Bits 2:4 - add extra dummy spi clock cycle length for spi clock calibration."] #[inline(always)] - #[must_use] pub fn extra_dummy_cyclelen(&mut self) -> EXTRA_DUMMY_CYCLELEN_W { EXTRA_DUMMY_CYCLELEN_W::new(self, 2) } diff --git a/esp32p4/src/spi1/user.rs b/esp32p4/src/spi1/user.rs index edcf9b1b25..e3d953b415 100644 --- a/esp32p4/src/spi1/user.rs +++ b/esp32p4/src/spi1/user.rs @@ -144,79 +144,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 9 - the bit combined with spi_mem_mosi_delay_mode bits to set mosi signal delay mode."] #[inline(always)] - #[must_use] pub fn ck_out_edge(&mut self) -> CK_OUT_EDGE_W { CK_OUT_EDGE_W::new(self, 9) } #[doc = "Bit 12 - In the write operations read-data phase apply 2 signals"] #[inline(always)] - #[must_use] pub fn fwrite_dual(&mut self) -> FWRITE_DUAL_W { FWRITE_DUAL_W::new(self, 12) } #[doc = "Bit 13 - In the write operations read-data phase apply 4 signals"] #[inline(always)] - #[must_use] pub fn fwrite_quad(&mut self) -> FWRITE_QUAD_W { FWRITE_QUAD_W::new(self, 13) } #[doc = "Bit 14 - In the write operations address phase and read-data phase apply 2 signals."] #[inline(always)] - #[must_use] pub fn fwrite_dio(&mut self) -> FWRITE_DIO_W { FWRITE_DIO_W::new(self, 14) } #[doc = "Bit 15 - In the write operations address phase and read-data phase apply 4 signals."] #[inline(always)] - #[must_use] pub fn fwrite_qio(&mut self) -> FWRITE_QIO_W { FWRITE_QIO_W::new(self, 15) } #[doc = "Bit 24 - read-data phase only access to high-part of the buffer spi_mem_w8~spi_mem_w15. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn usr_miso_highpart(&mut self) -> USR_MISO_HIGHPART_W { USR_MISO_HIGHPART_W::new(self, 24) } #[doc = "Bit 25 - write-data phase only access to high-part of the buffer spi_mem_w8~spi_mem_w15. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn usr_mosi_highpart(&mut self) -> USR_MOSI_HIGHPART_W { USR_MOSI_HIGHPART_W::new(self, 25) } #[doc = "Bit 26 - SPI clock is disable in dummy phase when the bit is enable."] #[inline(always)] - #[must_use] pub fn usr_dummy_idle(&mut self) -> USR_DUMMY_IDLE_W { USR_DUMMY_IDLE_W::new(self, 26) } #[doc = "Bit 27 - This bit enable the write-data phase of an operation."] #[inline(always)] - #[must_use] pub fn usr_mosi(&mut self) -> USR_MOSI_W { USR_MOSI_W::new(self, 27) } #[doc = "Bit 28 - This bit enable the read-data phase of an operation."] #[inline(always)] - #[must_use] pub fn usr_miso(&mut self) -> USR_MISO_W { USR_MISO_W::new(self, 28) } #[doc = "Bit 29 - This bit enable the dummy phase of an operation."] #[inline(always)] - #[must_use] pub fn usr_dummy(&mut self) -> USR_DUMMY_W { USR_DUMMY_W::new(self, 29) } #[doc = "Bit 30 - This bit enable the address phase of an operation."] #[inline(always)] - #[must_use] pub fn usr_addr(&mut self) -> USR_ADDR_W { USR_ADDR_W::new(self, 30) } #[doc = "Bit 31 - This bit enable the command phase of an operation."] #[inline(always)] - #[must_use] pub fn usr_command(&mut self) -> USR_COMMAND_W { USR_COMMAND_W::new(self, 31) } diff --git a/esp32p4/src/spi1/user1.rs b/esp32p4/src/spi1/user1.rs index 02d28231aa..83cd75ed2a 100644 --- a/esp32p4/src/spi1/user1.rs +++ b/esp32p4/src/spi1/user1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - The length in spi_mem_clk cycles of dummy phase. The register value shall be (cycle_num-1)."] #[inline(always)] - #[must_use] pub fn usr_dummy_cyclelen(&mut self) -> USR_DUMMY_CYCLELEN_W { USR_DUMMY_CYCLELEN_W::new(self, 0) } #[doc = "Bits 26:31 - The length in bits of address phase. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn usr_addr_bitlen(&mut self) -> USR_ADDR_BITLEN_W { USR_ADDR_BITLEN_W::new(self, 26) } diff --git a/esp32p4/src/spi1/user2.rs b/esp32p4/src/spi1/user2.rs index 9fc36fcb3c..a3eb906fe6 100644 --- a/esp32p4/src/spi1/user2.rs +++ b/esp32p4/src/spi1/user2.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The value of command."] #[inline(always)] - #[must_use] pub fn usr_command_value(&mut self) -> USR_COMMAND_VALUE_W { USR_COMMAND_VALUE_W::new(self, 0) } #[doc = "Bits 28:31 - The length in bits of command phase. The register value shall be (bit_num-1)"] #[inline(always)] - #[must_use] pub fn usr_command_bitlen(&mut self) -> USR_COMMAND_BITLEN_W { USR_COMMAND_BITLEN_W::new(self, 28) } diff --git a/esp32p4/src/spi1/w.rs b/esp32p4/src/spi1/w.rs index 5b54f2c664..a1537b342a 100644 --- a/esp32p4/src/spi1/w.rs +++ b/esp32p4/src/spi1/w.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - data buffer"] #[inline(always)] - #[must_use] pub fn buf(&mut self) -> BUF_W { BUF_W::new(self, 0) } diff --git a/esp32p4/src/spi2/addr.rs b/esp32p4/src/spi2/addr.rs index 03ea07541d..acb1a7dfa7 100644 --- a/esp32p4/src/spi2/addr.rs +++ b/esp32p4/src/spi2/addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Address to slave. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_addr_value(&mut self) -> USR_ADDR_VALUE_W { USR_ADDR_VALUE_W::new(self, 0) } diff --git a/esp32p4/src/spi2/clk_gate.rs b/esp32p4/src/spi2/clk_gate.rs index 20f0adfc48..a8142d4385 100644 --- a/esp32p4/src/spi2/clk_gate.rs +++ b/esp32p4/src/spi2/clk_gate.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable clk gate"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to power on the SPI module clock."] #[inline(always)] - #[must_use] pub fn mst_clk_active(&mut self) -> MST_CLK_ACTIVE_W { MST_CLK_ACTIVE_W::new(self, 1) } #[doc = "Bit 2 - This bit is used to select SPI module clock source in master mode. 1: PLL_CLK_80M. 0: XTAL CLK."] #[inline(always)] - #[must_use] pub fn mst_clk_sel(&mut self) -> MST_CLK_SEL_W { MST_CLK_SEL_W::new(self, 2) } diff --git a/esp32p4/src/spi2/clock.rs b/esp32p4/src/spi2/clock.rs index 8b450b70fc..78e6f168df 100644 --- a/esp32p4/src/spi2/clock.rs +++ b/esp32p4/src/spi2/clock.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - In the master mode it must be equal to spi_clkcnt_N. In the slave mode it must be 0. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clkcnt_l(&mut self) -> CLKCNT_L_W { CLKCNT_L_W::new(self, 0) } #[doc = "Bits 6:11 - In the master mode it must be floor((spi_clkcnt_N+1)/2-1). In the slave mode it must be 0. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clkcnt_h(&mut self) -> CLKCNT_H_W { CLKCNT_H_W::new(self, 6) } #[doc = "Bits 12:17 - In the master mode it is the divider of spi_clk. So spi_clk frequency is system/(spi_clkdiv_pre+1)/(spi_clkcnt_N+1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clkcnt_n(&mut self) -> CLKCNT_N_W { CLKCNT_N_W::new(self, 12) } #[doc = "Bits 18:21 - In the master mode it is pre-divider of spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clkdiv_pre(&mut self) -> CLKDIV_PRE_W { CLKDIV_PRE_W::new(self, 18) } #[doc = "Bit 31 - In the master mode 1: spi_clk is eqaul to system 0: spi_clk is divided from system clock. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clk_equ_sysclk(&mut self) -> CLK_EQU_SYSCLK_W { CLK_EQU_SYSCLK_W::new(self, 31) } diff --git a/esp32p4/src/spi2/cmd.rs b/esp32p4/src/spi2/cmd.rs index d93857d036..56ae779e7c 100644 --- a/esp32p4/src/spi2/cmd.rs +++ b/esp32p4/src/spi2/cmd.rs @@ -36,19 +36,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:17 - Define the APB cycles of SPI_CONF state. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn conf_bitlen(&mut self) -> CONF_BITLEN_W { CONF_BITLEN_W::new(self, 0) } #[doc = "Bit 23 - Set this bit to synchronize SPI registers from APB clock domain into SPI module clock domain, which is only used in SPI master mode."] #[inline(always)] - #[must_use] pub fn update(&mut self) -> UPDATE_W { UPDATE_W::new(self, 23) } #[doc = "Bit 24 - User define command enable. An operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable. Can not be changed by CONF_buf."] #[inline(always)] - #[must_use] pub fn usr(&mut self) -> USR_W { USR_W::new(self, 24) } diff --git a/esp32p4/src/spi2/ctrl.rs b/esp32p4/src/spi2/ctrl.rs index f6b5c0d97d..9b3b654b3d 100644 --- a/esp32p4/src/spi2/ctrl.rs +++ b/esp32p4/src/spi2/ctrl.rs @@ -174,97 +174,81 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - 0: In the dummy phase, the FSPI bus signals are not output. 1: In the dummy phase, the FSPI bus signals are output. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dummy_out(&mut self) -> DUMMY_OUT_W { DUMMY_OUT_W::new(self, 3) } #[doc = "Bit 5 - Apply 2 signals during addr phase 1:enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn faddr_dual(&mut self) -> FADDR_DUAL_W { FADDR_DUAL_W::new(self, 5) } #[doc = "Bit 6 - Apply 4 signals during addr phase 1:enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn faddr_quad(&mut self) -> FADDR_QUAD_W { FADDR_QUAD_W::new(self, 6) } #[doc = "Bit 7 - Apply 8 signals during addr phase 1:enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn faddr_oct(&mut self) -> FADDR_OCT_W { FADDR_OCT_W::new(self, 7) } #[doc = "Bit 8 - Apply 2 signals during command phase 1:enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fcmd_dual(&mut self) -> FCMD_DUAL_W { FCMD_DUAL_W::new(self, 8) } #[doc = "Bit 9 - Apply 4 signals during command phase 1:enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fcmd_quad(&mut self) -> FCMD_QUAD_W { FCMD_QUAD_W::new(self, 9) } #[doc = "Bit 10 - Apply 8 signals during command phase 1:enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fcmd_oct(&mut self) -> FCMD_OCT_W { FCMD_OCT_W::new(self, 10) } #[doc = "Bit 14 - In the read operations, read-data phase apply 2 signals. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fread_dual(&mut self) -> FREAD_DUAL_W { FREAD_DUAL_W::new(self, 14) } #[doc = "Bit 15 - In the read operations read-data phase apply 4 signals. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fread_quad(&mut self) -> FREAD_QUAD_W { FREAD_QUAD_W::new(self, 15) } #[doc = "Bit 16 - In the read operations read-data phase apply 8 signals. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fread_oct(&mut self) -> FREAD_OCT_W { FREAD_OCT_W::new(self, 16) } #[doc = "Bit 18 - The bit is used to set MISO line polarity, 1: high 0, low. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn q_pol(&mut self) -> Q_POL_W { Q_POL_W::new(self, 18) } #[doc = "Bit 19 - The bit is used to set MOSI line polarity, 1: high 0, low. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn d_pol(&mut self) -> D_POL_W { D_POL_W::new(self, 19) } #[doc = "Bit 20 - SPI_HOLD output value when SPI is idle. 1: output high, 0: output low. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn hold_pol(&mut self) -> HOLD_POL_W { HOLD_POL_W::new(self, 20) } #[doc = "Bit 21 - Write protect signal output when SPI is idle. 1: output high, 0: output low. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn wp_pol(&mut self) -> WP_POL_W { WP_POL_W::new(self, 21) } #[doc = "Bits 23:24 - In read-data (MISO) phase 1: LSB first 0: MSB first. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn rd_bit_order(&mut self) -> RD_BIT_ORDER_W { RD_BIT_ORDER_W::new(self, 23) } #[doc = "Bits 25:26 - In command address write-data (MOSI) phases 1: LSB firs 0: MSB first. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn wr_bit_order(&mut self) -> WR_BIT_ORDER_W { WR_BIT_ORDER_W::new(self, 25) } diff --git a/esp32p4/src/spi2/date.rs b/esp32p4/src/spi2/date.rs index db7b61717f..b5d8f61d95 100644 --- a/esp32p4/src/spi2/date.rs +++ b/esp32p4/src/spi2/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - SPI register version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32p4/src/spi2/din_mode.rs b/esp32p4/src/spi2/din_mode.rs index ad01eb127a..3a72f4fc2f 100644 --- a/esp32p4/src/spi2/din_mode.rs +++ b/esp32p4/src/spi2/din_mode.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din0_mode(&mut self) -> DIN0_MODE_W { DIN0_MODE_W::new(self, 0) } #[doc = "Bits 2:3 - the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din1_mode(&mut self) -> DIN1_MODE_W { DIN1_MODE_W::new(self, 2) } #[doc = "Bits 4:5 - the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din2_mode(&mut self) -> DIN2_MODE_W { DIN2_MODE_W::new(self, 4) } #[doc = "Bits 6:7 - the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din3_mode(&mut self) -> DIN3_MODE_W { DIN3_MODE_W::new(self, 6) } #[doc = "Bits 8:9 - the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din4_mode(&mut self) -> DIN4_MODE_W { DIN4_MODE_W::new(self, 8) } #[doc = "Bits 10:11 - the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din5_mode(&mut self) -> DIN5_MODE_W { DIN5_MODE_W::new(self, 10) } #[doc = "Bits 12:13 - the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din6_mode(&mut self) -> DIN6_MODE_W { DIN6_MODE_W::new(self, 12) } #[doc = "Bits 14:15 - the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din7_mode(&mut self) -> DIN7_MODE_W { DIN7_MODE_W::new(self, 14) } #[doc = "Bit 16 - 1:enable hclk in SPI input timing module. 0: disable it. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn timing_hclk_active(&mut self) -> TIMING_HCLK_ACTIVE_W { TIMING_HCLK_ACTIVE_W::new(self, 16) } diff --git a/esp32p4/src/spi2/din_num.rs b/esp32p4/src/spi2/din_num.rs index a7a17a7335..838b6215ff 100644 --- a/esp32p4/src/spi2/din_num.rs +++ b/esp32p4/src/spi2/din_num.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din0_num(&mut self) -> DIN0_NUM_W { DIN0_NUM_W::new(self, 0) } #[doc = "Bits 2:3 - the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din1_num(&mut self) -> DIN1_NUM_W { DIN1_NUM_W::new(self, 2) } #[doc = "Bits 4:5 - the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din2_num(&mut self) -> DIN2_NUM_W { DIN2_NUM_W::new(self, 4) } #[doc = "Bits 6:7 - the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din3_num(&mut self) -> DIN3_NUM_W { DIN3_NUM_W::new(self, 6) } #[doc = "Bits 8:9 - the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din4_num(&mut self) -> DIN4_NUM_W { DIN4_NUM_W::new(self, 8) } #[doc = "Bits 10:11 - the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din5_num(&mut self) -> DIN5_NUM_W { DIN5_NUM_W::new(self, 10) } #[doc = "Bits 12:13 - the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din6_num(&mut self) -> DIN6_NUM_W { DIN6_NUM_W::new(self, 12) } #[doc = "Bits 14:15 - the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din7_num(&mut self) -> DIN7_NUM_W { DIN7_NUM_W::new(self, 14) } diff --git a/esp32p4/src/spi2/dma_conf.rs b/esp32p4/src/spi2/dma_conf.rs index 83e8fa3de1..29de1d9bb0 100644 --- a/esp32p4/src/spi2/dma_conf.rs +++ b/esp32p4/src/spi2/dma_conf.rs @@ -96,55 +96,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 18 - Enable dma segment transfer in spi dma half slave mode. 1: enable. 0: disable."] #[inline(always)] - #[must_use] pub fn dma_slv_seg_trans_en(&mut self) -> DMA_SLV_SEG_TRANS_EN_W { DMA_SLV_SEG_TRANS_EN_W::new(self, 18) } #[doc = "Bit 19 - 1: spi_dma_infifo_full_vld is cleared by spi slave cmd 5. 0: spi_dma_infifo_full_vld is cleared by spi_trans_done."] #[inline(always)] - #[must_use] pub fn slv_rx_seg_trans_clr_en(&mut self) -> SLV_RX_SEG_TRANS_CLR_EN_W { SLV_RX_SEG_TRANS_CLR_EN_W::new(self, 19) } #[doc = "Bit 20 - 1: spi_dma_outfifo_empty_vld is cleared by spi slave cmd 6. 0: spi_dma_outfifo_empty_vld is cleared by spi_trans_done."] #[inline(always)] - #[must_use] pub fn slv_tx_seg_trans_clr_en(&mut self) -> SLV_TX_SEG_TRANS_CLR_EN_W { SLV_TX_SEG_TRANS_CLR_EN_W::new(self, 20) } #[doc = "Bit 21 - 1: spi_dma_inlink_eof is set when the number of dma pushed data bytes is equal to the value of spi_slv/mst_dma_rd_bytelen\\[19:0\\] in spi dma transition. 0: spi_dma_inlink_eof is set by spi_trans_done in non-seg-trans or spi_dma_seg_trans_done in seg-trans."] #[inline(always)] - #[must_use] pub fn rx_eof_en(&mut self) -> RX_EOF_EN_W { RX_EOF_EN_W::new(self, 21) } #[doc = "Bit 27 - Set this bit to enable SPI DMA controlled receive data mode."] #[inline(always)] - #[must_use] pub fn dma_rx_ena(&mut self) -> DMA_RX_ENA_W { DMA_RX_ENA_W::new(self, 27) } #[doc = "Bit 28 - Set this bit to enable SPI DMA controlled send data mode."] #[inline(always)] - #[must_use] pub fn dma_tx_ena(&mut self) -> DMA_TX_ENA_W { DMA_TX_ENA_W::new(self, 28) } #[doc = "Bit 29 - Set this bit to reset RX AFIFO, which is used to receive data in SPI master and slave mode transfer."] #[inline(always)] - #[must_use] pub fn rx_afifo_rst(&mut self) -> RX_AFIFO_RST_W { RX_AFIFO_RST_W::new(self, 29) } #[doc = "Bit 30 - Set this bit to reset BUF TX AFIFO, which is used send data out in SPI slave CPU controlled mode transfer and master mode transfer."] #[inline(always)] - #[must_use] pub fn buf_afifo_rst(&mut self) -> BUF_AFIFO_RST_W { BUF_AFIFO_RST_W::new(self, 30) } #[doc = "Bit 31 - Set this bit to reset DMA TX AFIFO, which is used to send data out in SPI slave DMA controlled mode transfer."] #[inline(always)] - #[must_use] pub fn dma_afifo_rst(&mut self) -> DMA_AFIFO_RST_W { DMA_AFIFO_RST_W::new(self, 31) } diff --git a/esp32p4/src/spi2/dma_int_clr.rs b/esp32p4/src/spi2/dma_int_clr.rs index f313dfe4f1..5de2402ddc 100644 --- a/esp32p4/src/spi2/dma_int_clr.rs +++ b/esp32p4/src/spi2/dma_int_clr.rs @@ -51,127 +51,106 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The clear bit for SPI_DMA_INFIFO_FULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_infifo_full_err(&mut self) -> DMA_INFIFO_FULL_ERR_W { DMA_INFIFO_FULL_ERR_W::new(self, 0) } #[doc = "Bit 1 - The clear bit for SPI_DMA_OUTFIFO_EMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_outfifo_empty_err(&mut self) -> DMA_OUTFIFO_EMPTY_ERR_W { DMA_OUTFIFO_EMPTY_ERR_W::new(self, 1) } #[doc = "Bit 2 - The clear bit for SPI slave Ex_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_ex_qpi(&mut self) -> SLV_EX_QPI_W { SLV_EX_QPI_W::new(self, 2) } #[doc = "Bit 3 - The clear bit for SPI slave En_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_en_qpi(&mut self) -> SLV_EN_QPI_W { SLV_EN_QPI_W::new(self, 3) } #[doc = "Bit 4 - The clear bit for SPI slave CMD7 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd7(&mut self) -> SLV_CMD7_W { SLV_CMD7_W::new(self, 4) } #[doc = "Bit 5 - The clear bit for SPI slave CMD8 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd8(&mut self) -> SLV_CMD8_W { SLV_CMD8_W::new(self, 5) } #[doc = "Bit 6 - The clear bit for SPI slave CMD9 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd9(&mut self) -> SLV_CMD9_W { SLV_CMD9_W::new(self, 6) } #[doc = "Bit 7 - The clear bit for SPI slave CMDA interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmda(&mut self) -> SLV_CMDA_W { SLV_CMDA_W::new(self, 7) } #[doc = "Bit 8 - The clear bit for SPI_SLV_RD_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_dma_done(&mut self) -> SLV_RD_DMA_DONE_W { SLV_RD_DMA_DONE_W::new(self, 8) } #[doc = "Bit 9 - The clear bit for SPI_SLV_WR_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_dma_done(&mut self) -> SLV_WR_DMA_DONE_W { SLV_WR_DMA_DONE_W::new(self, 9) } #[doc = "Bit 10 - The clear bit for SPI_SLV_RD_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_buf_done(&mut self) -> SLV_RD_BUF_DONE_W { SLV_RD_BUF_DONE_W::new(self, 10) } #[doc = "Bit 11 - The clear bit for SPI_SLV_WR_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_buf_done(&mut self) -> SLV_WR_BUF_DONE_W { SLV_WR_BUF_DONE_W::new(self, 11) } #[doc = "Bit 12 - The clear bit for SPI_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_done(&mut self) -> TRANS_DONE_W { TRANS_DONE_W::new(self, 12) } #[doc = "Bit 13 - The clear bit for SPI_DMA_SEG_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_seg_trans_done(&mut self) -> DMA_SEG_TRANS_DONE_W { DMA_SEG_TRANS_DONE_W::new(self, 13) } #[doc = "Bit 14 - The clear bit for SPI_SEG_MAGIC_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn seg_magic_err(&mut self) -> SEG_MAGIC_ERR_W { SEG_MAGIC_ERR_W::new(self, 14) } #[doc = "Bit 15 - The clear bit for SPI_SLV_BUF_ADDR_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_buf_addr_err(&mut self) -> SLV_BUF_ADDR_ERR_W { SLV_BUF_ADDR_ERR_W::new(self, 15) } #[doc = "Bit 16 - The clear bit for SPI_SLV_CMD_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd_err(&mut self) -> SLV_CMD_ERR_W { SLV_CMD_ERR_W::new(self, 16) } #[doc = "Bit 17 - The clear bit for SPI_MST_RX_AFIFO_WFULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_rx_afifo_wfull_err(&mut self) -> MST_RX_AFIFO_WFULL_ERR_W { MST_RX_AFIFO_WFULL_ERR_W::new(self, 17) } #[doc = "Bit 18 - The clear bit for SPI_MST_TX_AFIFO_REMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_tx_afifo_rempty_err(&mut self) -> MST_TX_AFIFO_REMPTY_ERR_W { MST_TX_AFIFO_REMPTY_ERR_W::new(self, 18) } #[doc = "Bit 19 - The clear bit for SPI_APP2_INT interrupt."] #[inline(always)] - #[must_use] pub fn app2(&mut self) -> APP2_W { APP2_W::new(self, 19) } #[doc = "Bit 20 - The clear bit for SPI_APP1_INT interrupt."] #[inline(always)] - #[must_use] pub fn app1(&mut self) -> APP1_W { APP1_W::new(self, 20) } diff --git a/esp32p4/src/spi2/dma_int_ena.rs b/esp32p4/src/spi2/dma_int_ena.rs index 05ed98c335..f90d704190 100644 --- a/esp32p4/src/spi2/dma_int_ena.rs +++ b/esp32p4/src/spi2/dma_int_ena.rs @@ -224,127 +224,106 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The enable bit for SPI_DMA_INFIFO_FULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_infifo_full_err(&mut self) -> DMA_INFIFO_FULL_ERR_W { DMA_INFIFO_FULL_ERR_W::new(self, 0) } #[doc = "Bit 1 - The enable bit for SPI_DMA_OUTFIFO_EMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_outfifo_empty_err(&mut self) -> DMA_OUTFIFO_EMPTY_ERR_W { DMA_OUTFIFO_EMPTY_ERR_W::new(self, 1) } #[doc = "Bit 2 - The enable bit for SPI slave Ex_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_ex_qpi(&mut self) -> SLV_EX_QPI_W { SLV_EX_QPI_W::new(self, 2) } #[doc = "Bit 3 - The enable bit for SPI slave En_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_en_qpi(&mut self) -> SLV_EN_QPI_W { SLV_EN_QPI_W::new(self, 3) } #[doc = "Bit 4 - The enable bit for SPI slave CMD7 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd7(&mut self) -> SLV_CMD7_W { SLV_CMD7_W::new(self, 4) } #[doc = "Bit 5 - The enable bit for SPI slave CMD8 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd8(&mut self) -> SLV_CMD8_W { SLV_CMD8_W::new(self, 5) } #[doc = "Bit 6 - The enable bit for SPI slave CMD9 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd9(&mut self) -> SLV_CMD9_W { SLV_CMD9_W::new(self, 6) } #[doc = "Bit 7 - The enable bit for SPI slave CMDA interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmda(&mut self) -> SLV_CMDA_W { SLV_CMDA_W::new(self, 7) } #[doc = "Bit 8 - The enable bit for SPI_SLV_RD_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_dma_done(&mut self) -> SLV_RD_DMA_DONE_W { SLV_RD_DMA_DONE_W::new(self, 8) } #[doc = "Bit 9 - The enable bit for SPI_SLV_WR_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_dma_done(&mut self) -> SLV_WR_DMA_DONE_W { SLV_WR_DMA_DONE_W::new(self, 9) } #[doc = "Bit 10 - The enable bit for SPI_SLV_RD_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_buf_done(&mut self) -> SLV_RD_BUF_DONE_W { SLV_RD_BUF_DONE_W::new(self, 10) } #[doc = "Bit 11 - The enable bit for SPI_SLV_WR_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_buf_done(&mut self) -> SLV_WR_BUF_DONE_W { SLV_WR_BUF_DONE_W::new(self, 11) } #[doc = "Bit 12 - The enable bit for SPI_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_done(&mut self) -> TRANS_DONE_W { TRANS_DONE_W::new(self, 12) } #[doc = "Bit 13 - The enable bit for SPI_DMA_SEG_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_seg_trans_done(&mut self) -> DMA_SEG_TRANS_DONE_W { DMA_SEG_TRANS_DONE_W::new(self, 13) } #[doc = "Bit 14 - The enable bit for SPI_SEG_MAGIC_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn seg_magic_err(&mut self) -> SEG_MAGIC_ERR_W { SEG_MAGIC_ERR_W::new(self, 14) } #[doc = "Bit 15 - The enable bit for SPI_SLV_BUF_ADDR_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_buf_addr_err(&mut self) -> SLV_BUF_ADDR_ERR_W { SLV_BUF_ADDR_ERR_W::new(self, 15) } #[doc = "Bit 16 - The enable bit for SPI_SLV_CMD_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd_err(&mut self) -> SLV_CMD_ERR_W { SLV_CMD_ERR_W::new(self, 16) } #[doc = "Bit 17 - The enable bit for SPI_MST_RX_AFIFO_WFULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_rx_afifo_wfull_err(&mut self) -> MST_RX_AFIFO_WFULL_ERR_W { MST_RX_AFIFO_WFULL_ERR_W::new(self, 17) } #[doc = "Bit 18 - The enable bit for SPI_MST_TX_AFIFO_REMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_tx_afifo_rempty_err(&mut self) -> MST_TX_AFIFO_REMPTY_ERR_W { MST_TX_AFIFO_REMPTY_ERR_W::new(self, 18) } #[doc = "Bit 19 - The enable bit for SPI_APP2_INT interrupt."] #[inline(always)] - #[must_use] pub fn app2(&mut self) -> APP2_W { APP2_W::new(self, 19) } #[doc = "Bit 20 - The enable bit for SPI_APP1_INT interrupt."] #[inline(always)] - #[must_use] pub fn app1(&mut self) -> APP1_W { APP1_W::new(self, 20) } diff --git a/esp32p4/src/spi2/dma_int_raw.rs b/esp32p4/src/spi2/dma_int_raw.rs index 36e00d4a8f..5ad114f0ce 100644 --- a/esp32p4/src/spi2/dma_int_raw.rs +++ b/esp32p4/src/spi2/dma_int_raw.rs @@ -224,127 +224,106 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: The current data rate of DMA Rx is smaller than that of SPI, which will lose the receive data. 0: Others."] #[inline(always)] - #[must_use] pub fn dma_infifo_full_err(&mut self) -> DMA_INFIFO_FULL_ERR_W { DMA_INFIFO_FULL_ERR_W::new(self, 0) } #[doc = "Bit 1 - 1: The current data rate of DMA TX is smaller than that of SPI. SPI will stop in master mode and send out all 0 in slave mode. 0: Others."] #[inline(always)] - #[must_use] pub fn dma_outfifo_empty_err(&mut self) -> DMA_OUTFIFO_EMPTY_ERR_W { DMA_OUTFIFO_EMPTY_ERR_W::new(self, 1) } #[doc = "Bit 2 - The raw bit for SPI slave Ex_QPI interrupt. 1: SPI slave mode Ex_QPI transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_ex_qpi(&mut self) -> SLV_EX_QPI_W { SLV_EX_QPI_W::new(self, 2) } #[doc = "Bit 3 - The raw bit for SPI slave En_QPI interrupt. 1: SPI slave mode En_QPI transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_en_qpi(&mut self) -> SLV_EN_QPI_W { SLV_EN_QPI_W::new(self, 3) } #[doc = "Bit 4 - The raw bit for SPI slave CMD7 interrupt. 1: SPI slave mode CMD7 transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_cmd7(&mut self) -> SLV_CMD7_W { SLV_CMD7_W::new(self, 4) } #[doc = "Bit 5 - The raw bit for SPI slave CMD8 interrupt. 1: SPI slave mode CMD8 transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_cmd8(&mut self) -> SLV_CMD8_W { SLV_CMD8_W::new(self, 5) } #[doc = "Bit 6 - The raw bit for SPI slave CMD9 interrupt. 1: SPI slave mode CMD9 transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_cmd9(&mut self) -> SLV_CMD9_W { SLV_CMD9_W::new(self, 6) } #[doc = "Bit 7 - The raw bit for SPI slave CMDA interrupt. 1: SPI slave mode CMDA transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_cmda(&mut self) -> SLV_CMDA_W { SLV_CMDA_W::new(self, 7) } #[doc = "Bit 8 - The raw bit for SPI_SLV_RD_DMA_DONE_INT interrupt. 1: SPI slave mode Rd_DMA transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_rd_dma_done(&mut self) -> SLV_RD_DMA_DONE_W { SLV_RD_DMA_DONE_W::new(self, 8) } #[doc = "Bit 9 - The raw bit for SPI_SLV_WR_DMA_DONE_INT interrupt. 1: SPI slave mode Wr_DMA transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_wr_dma_done(&mut self) -> SLV_WR_DMA_DONE_W { SLV_WR_DMA_DONE_W::new(self, 9) } #[doc = "Bit 10 - The raw bit for SPI_SLV_RD_BUF_DONE_INT interrupt. 1: SPI slave mode Rd_BUF transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_rd_buf_done(&mut self) -> SLV_RD_BUF_DONE_W { SLV_RD_BUF_DONE_W::new(self, 10) } #[doc = "Bit 11 - The raw bit for SPI_SLV_WR_BUF_DONE_INT interrupt. 1: SPI slave mode Wr_BUF transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_wr_buf_done(&mut self) -> SLV_WR_BUF_DONE_W { SLV_WR_BUF_DONE_W::new(self, 11) } #[doc = "Bit 12 - The raw bit for SPI_TRANS_DONE_INT interrupt. 1: SPI master mode transmission is ended. 0: others."] #[inline(always)] - #[must_use] pub fn trans_done(&mut self) -> TRANS_DONE_W { TRANS_DONE_W::new(self, 12) } #[doc = "Bit 13 - The raw bit for SPI_DMA_SEG_TRANS_DONE_INT interrupt. 1: spi master DMA full-duplex/half-duplex seg-conf-trans ends or slave half-duplex seg-trans ends. And data has been pushed to corresponding memory. 0: seg-conf-trans or seg-trans is not ended or not occurred."] #[inline(always)] - #[must_use] pub fn dma_seg_trans_done(&mut self) -> DMA_SEG_TRANS_DONE_W { DMA_SEG_TRANS_DONE_W::new(self, 13) } #[doc = "Bit 14 - The raw bit for SPI_SEG_MAGIC_ERR_INT interrupt. 1: The magic value in CONF buffer is error in the DMA seg-conf-trans. 0: others."] #[inline(always)] - #[must_use] pub fn seg_magic_err(&mut self) -> SEG_MAGIC_ERR_W { SEG_MAGIC_ERR_W::new(self, 14) } #[doc = "Bit 15 - The raw bit for SPI_SLV_BUF_ADDR_ERR_INT interrupt. 1: The accessing data address of the current SPI slave mode CPU controlled FD, Wr_BUF or Rd_BUF transmission is bigger than 63. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_buf_addr_err(&mut self) -> SLV_BUF_ADDR_ERR_W { SLV_BUF_ADDR_ERR_W::new(self, 15) } #[doc = "Bit 16 - The raw bit for SPI_SLV_CMD_ERR_INT interrupt. 1: The slave command value in the current SPI slave HD mode transmission is not supported. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_cmd_err(&mut self) -> SLV_CMD_ERR_W { SLV_CMD_ERR_W::new(self, 16) } #[doc = "Bit 17 - The raw bit for SPI_MST_RX_AFIFO_WFULL_ERR_INT interrupt. 1: There is a RX AFIFO write-full error when SPI inputs data in master mode. 0: Others."] #[inline(always)] - #[must_use] pub fn mst_rx_afifo_wfull_err(&mut self) -> MST_RX_AFIFO_WFULL_ERR_W { MST_RX_AFIFO_WFULL_ERR_W::new(self, 17) } #[doc = "Bit 18 - The raw bit for SPI_MST_TX_AFIFO_REMPTY_ERR_INT interrupt. 1: There is a TX BUF AFIFO read-empty error when SPI outputs data in master mode. 0: Others."] #[inline(always)] - #[must_use] pub fn mst_tx_afifo_rempty_err(&mut self) -> MST_TX_AFIFO_REMPTY_ERR_W { MST_TX_AFIFO_REMPTY_ERR_W::new(self, 18) } #[doc = "Bit 19 - The raw bit for SPI_APP2_INT interrupt. The value is only controlled by software."] #[inline(always)] - #[must_use] pub fn app2(&mut self) -> APP2_W { APP2_W::new(self, 19) } #[doc = "Bit 20 - The raw bit for SPI_APP1_INT interrupt. The value is only controlled by software."] #[inline(always)] - #[must_use] pub fn app1(&mut self) -> APP1_W { APP1_W::new(self, 20) } diff --git a/esp32p4/src/spi2/dma_int_set.rs b/esp32p4/src/spi2/dma_int_set.rs index 3da095f20a..aa2d02d1e4 100644 --- a/esp32p4/src/spi2/dma_int_set.rs +++ b/esp32p4/src/spi2/dma_int_set.rs @@ -51,7 +51,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The software set bit for SPI_DMA_INFIFO_FULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_infifo_full_err_int_set( &mut self, ) -> DMA_INFIFO_FULL_ERR_INT_SET_W { @@ -59,7 +58,6 @@ impl W { } #[doc = "Bit 1 - The software set bit for SPI_DMA_OUTFIFO_EMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_outfifo_empty_err_int_set( &mut self, ) -> DMA_OUTFIFO_EMPTY_ERR_INT_SET_W { @@ -67,97 +65,81 @@ impl W { } #[doc = "Bit 2 - The software set bit for SPI slave Ex_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_ex_qpi_int_set(&mut self) -> SLV_EX_QPI_INT_SET_W { SLV_EX_QPI_INT_SET_W::new(self, 2) } #[doc = "Bit 3 - The software set bit for SPI slave En_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_en_qpi_int_set(&mut self) -> SLV_EN_QPI_INT_SET_W { SLV_EN_QPI_INT_SET_W::new(self, 3) } #[doc = "Bit 4 - The software set bit for SPI slave CMD7 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd7_int_set(&mut self) -> SLV_CMD7_INT_SET_W { SLV_CMD7_INT_SET_W::new(self, 4) } #[doc = "Bit 5 - The software set bit for SPI slave CMD8 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd8_int_set(&mut self) -> SLV_CMD8_INT_SET_W { SLV_CMD8_INT_SET_W::new(self, 5) } #[doc = "Bit 6 - The software set bit for SPI slave CMD9 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd9_int_set(&mut self) -> SLV_CMD9_INT_SET_W { SLV_CMD9_INT_SET_W::new(self, 6) } #[doc = "Bit 7 - The software set bit for SPI slave CMDA interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmda_int_set(&mut self) -> SLV_CMDA_INT_SET_W { SLV_CMDA_INT_SET_W::new(self, 7) } #[doc = "Bit 8 - The software set bit for SPI_SLV_RD_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_dma_done_int_set(&mut self) -> SLV_RD_DMA_DONE_INT_SET_W { SLV_RD_DMA_DONE_INT_SET_W::new(self, 8) } #[doc = "Bit 9 - The software set bit for SPI_SLV_WR_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_dma_done_int_set(&mut self) -> SLV_WR_DMA_DONE_INT_SET_W { SLV_WR_DMA_DONE_INT_SET_W::new(self, 9) } #[doc = "Bit 10 - The software set bit for SPI_SLV_RD_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_buf_done_int_set(&mut self) -> SLV_RD_BUF_DONE_INT_SET_W { SLV_RD_BUF_DONE_INT_SET_W::new(self, 10) } #[doc = "Bit 11 - The software set bit for SPI_SLV_WR_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_buf_done_int_set(&mut self) -> SLV_WR_BUF_DONE_INT_SET_W { SLV_WR_BUF_DONE_INT_SET_W::new(self, 11) } #[doc = "Bit 12 - The software set bit for SPI_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_done_int_set(&mut self) -> TRANS_DONE_INT_SET_W { TRANS_DONE_INT_SET_W::new(self, 12) } #[doc = "Bit 13 - The software set bit for SPI_DMA_SEG_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_seg_trans_done_int_set(&mut self) -> DMA_SEG_TRANS_DONE_INT_SET_W { DMA_SEG_TRANS_DONE_INT_SET_W::new(self, 13) } #[doc = "Bit 14 - The software set bit for SPI_SEG_MAGIC_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn seg_magic_err_int_set(&mut self) -> SEG_MAGIC_ERR_INT_SET_W { SEG_MAGIC_ERR_INT_SET_W::new(self, 14) } #[doc = "Bit 15 - The software set bit for SPI_SLV_BUF_ADDR_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_buf_addr_err_int_set(&mut self) -> SLV_BUF_ADDR_ERR_INT_SET_W { SLV_BUF_ADDR_ERR_INT_SET_W::new(self, 15) } #[doc = "Bit 16 - The software set bit for SPI_SLV_CMD_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd_err_int_set(&mut self) -> SLV_CMD_ERR_INT_SET_W { SLV_CMD_ERR_INT_SET_W::new(self, 16) } #[doc = "Bit 17 - The software set bit for SPI_MST_RX_AFIFO_WFULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_rx_afifo_wfull_err_int_set( &mut self, ) -> MST_RX_AFIFO_WFULL_ERR_INT_SET_W { @@ -165,7 +147,6 @@ impl W { } #[doc = "Bit 18 - The software set bit for SPI_MST_TX_AFIFO_REMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_tx_afifo_rempty_err_int_set( &mut self, ) -> MST_TX_AFIFO_REMPTY_ERR_INT_SET_W { @@ -173,13 +154,11 @@ impl W { } #[doc = "Bit 19 - The software set bit for SPI_APP2_INT interrupt."] #[inline(always)] - #[must_use] pub fn app2_int_set(&mut self) -> APP2_INT_SET_W { APP2_INT_SET_W::new(self, 19) } #[doc = "Bit 20 - The software set bit for SPI_APP1_INT interrupt."] #[inline(always)] - #[must_use] pub fn app1_int_set(&mut self) -> APP1_INT_SET_W { APP1_INT_SET_W::new(self, 20) } diff --git a/esp32p4/src/spi2/dout_mode.rs b/esp32p4/src/spi2/dout_mode.rs index 86cbf0d32b..b2a344a9b5 100644 --- a/esp32p4/src/spi2/dout_mode.rs +++ b/esp32p4/src/spi2/dout_mode.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The output signal 0 is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout0_mode(&mut self) -> DOUT0_MODE_W { DOUT0_MODE_W::new(self, 0) } #[doc = "Bit 1 - The output signal 1 is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout1_mode(&mut self) -> DOUT1_MODE_W { DOUT1_MODE_W::new(self, 1) } #[doc = "Bit 2 - The output signal 2 is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout2_mode(&mut self) -> DOUT2_MODE_W { DOUT2_MODE_W::new(self, 2) } #[doc = "Bit 3 - The output signal 3 is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout3_mode(&mut self) -> DOUT3_MODE_W { DOUT3_MODE_W::new(self, 3) } #[doc = "Bit 4 - The output signal 4 is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout4_mode(&mut self) -> DOUT4_MODE_W { DOUT4_MODE_W::new(self, 4) } #[doc = "Bit 5 - The output signal 5 is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout5_mode(&mut self) -> DOUT5_MODE_W { DOUT5_MODE_W::new(self, 5) } #[doc = "Bit 6 - The output signal 6 is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout6_mode(&mut self) -> DOUT6_MODE_W { DOUT6_MODE_W::new(self, 6) } #[doc = "Bit 7 - The output signal 7 is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout7_mode(&mut self) -> DOUT7_MODE_W { DOUT7_MODE_W::new(self, 7) } #[doc = "Bit 8 - The output signal SPI_DQS is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn d_dqs_mode(&mut self) -> D_DQS_MODE_W { D_DQS_MODE_W::new(self, 8) } diff --git a/esp32p4/src/spi2/misc.rs b/esp32p4/src/spi2/misc.rs index 34adcca723..1e26e6b99d 100644 --- a/esp32p4/src/spi2/misc.rs +++ b/esp32p4/src/spi2/misc.rs @@ -184,103 +184,86 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - SPI CS0 pin enable, 1: disable CS0, 0: spi_cs0 signal is from/to CS0 pin. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs0_dis(&mut self) -> CS0_DIS_W { CS0_DIS_W::new(self, 0) } #[doc = "Bit 1 - SPI CS1 pin enable, 1: disable CS1, 0: spi_cs1 signal is from/to CS1 pin. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs1_dis(&mut self) -> CS1_DIS_W { CS1_DIS_W::new(self, 1) } #[doc = "Bit 2 - SPI CS2 pin enable, 1: disable CS2, 0: spi_cs2 signal is from/to CS2 pin. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs2_dis(&mut self) -> CS2_DIS_W { CS2_DIS_W::new(self, 2) } #[doc = "Bit 3 - SPI CS3 pin enable, 1: disable CS3, 0: spi_cs3 signal is from/to CS3 pin. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs3_dis(&mut self) -> CS3_DIS_W { CS3_DIS_W::new(self, 3) } #[doc = "Bit 4 - SPI CS4 pin enable, 1: disable CS4, 0: spi_cs4 signal is from/to CS4 pin. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs4_dis(&mut self) -> CS4_DIS_W { CS4_DIS_W::new(self, 4) } #[doc = "Bit 5 - SPI CS5 pin enable, 1: disable CS5, 0: spi_cs5 signal is from/to CS5 pin. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs5_dis(&mut self) -> CS5_DIS_W { CS5_DIS_W::new(self, 5) } #[doc = "Bit 6 - 1: spi clk out disable, 0: spi clk out enable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn ck_dis(&mut self) -> CK_DIS_W { CK_DIS_W::new(self, 6) } #[doc = "Bits 7:12 - In the master mode the bits are the polarity of spi cs line, the value is equivalent to spi_cs ^ spi_master_cs_pol. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn master_cs_pol(&mut self) -> MASTER_CS_POL_W { MASTER_CS_POL_W::new(self, 7) } #[doc = "Bit 16 - 1: SPI master DTR mode is applied to SPI clk, data and spi_dqs. 0: SPI master DTR mode is only applied to spi_dqs. This bit should be used with bit 17/18/19."] #[inline(always)] - #[must_use] pub fn clk_data_dtr_en(&mut self) -> CLK_DATA_DTR_EN_W { CLK_DATA_DTR_EN_W::new(self, 16) } #[doc = "Bit 17 - 1: SPI clk and data of SPI_DOUT and SPI_DIN state are in DTR mode, including master 1/2/4/8-bm. 0: SPI clk and data of SPI_DOUT and SPI_DIN state are in STR mode. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn data_dtr_en(&mut self) -> DATA_DTR_EN_W { DATA_DTR_EN_W::new(self, 17) } #[doc = "Bit 18 - 1: SPI clk and data of SPI_SEND_ADDR state are in DTR mode, including master 1/2/4/8-bm. 0: SPI clk and data of SPI_SEND_ADDR state are in STR mode. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn addr_dtr_en(&mut self) -> ADDR_DTR_EN_W { ADDR_DTR_EN_W::new(self, 18) } #[doc = "Bit 19 - 1: SPI clk and data of SPI_SEND_CMD state are in DTR mode, including master 1/2/4/8-bm. 0: SPI clk and data of SPI_SEND_CMD state are in STR mode. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cmd_dtr_en(&mut self) -> CMD_DTR_EN_W { CMD_DTR_EN_W::new(self, 19) } #[doc = "Bit 23 - spi slave input cs polarity select. 1: inv 0: not change. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn slave_cs_pol(&mut self) -> SLAVE_CS_POL_W { SLAVE_CS_POL_W::new(self, 23) } #[doc = "Bit 24 - The default value of spi_dqs. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dqs_idle_edge(&mut self) -> DQS_IDLE_EDGE_W { DQS_IDLE_EDGE_W::new(self, 24) } #[doc = "Bit 29 - 1: spi clk line is high when idle 0: spi clk line is low when idle. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn ck_idle_edge(&mut self) -> CK_IDLE_EDGE_W { CK_IDLE_EDGE_W::new(self, 29) } #[doc = "Bit 30 - spi cs line keep low when the bit is set. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_keep_active(&mut self) -> CS_KEEP_ACTIVE_W { CS_KEEP_ACTIVE_W::new(self, 30) } #[doc = "Bit 31 - 1: SPI quad input swap enable, swap FSPID with FSPIQ, swap FSPIWP with FSPIHD. 0: spi quad input swap disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn quad_din_pin_swap(&mut self) -> QUAD_DIN_PIN_SWAP_W { QUAD_DIN_PIN_SWAP_W::new(self, 31) } diff --git a/esp32p4/src/spi2/ms_dlen.rs b/esp32p4/src/spi2/ms_dlen.rs index 14a0b1bf7f..fab214224a 100644 --- a/esp32p4/src/spi2/ms_dlen.rs +++ b/esp32p4/src/spi2/ms_dlen.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:17 - The value of these bits is the configured SPI transmission data bit length in master mode DMA controlled transfer or CPU controlled transfer. The value is also the configured bit length in slave mode DMA RX controlled transfer. The register value shall be (bit_num-1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn ms_data_bitlen(&mut self) -> MS_DATA_BITLEN_W { MS_DATA_BITLEN_W::new(self, 0) } diff --git a/esp32p4/src/spi2/slave.rs b/esp32p4/src/spi2/slave.rs index e014677544..4a0c21e69f 100644 --- a/esp32p4/src/spi2/slave.rs +++ b/esp32p4/src/spi2/slave.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - SPI clock mode bits. 0: SPI clock is off when CS inactive 1: SPI clock is delayed one cycle after CS inactive 2: SPI clock is delayed two cycles after CS inactive 3: SPI clock is alwasy on. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clk_mode(&mut self) -> CLK_MODE_W { CLK_MODE_W::new(self, 0) } #[doc = "Bit 2 - {CPOL, CPHA},1: support spi clk mode 1 and 3, first edge output data B\\[0\\]/B\\[7\\]. 0: support spi clk mode 0 and 2, first edge output data B\\[1\\]/B\\[6\\]."] #[inline(always)] - #[must_use] pub fn clk_mode_13(&mut self) -> CLK_MODE_13_W { CLK_MODE_13_W::new(self, 2) } #[doc = "Bit 3 - It saves half a cycle when tsck is the same as rsck. 1: output data at rsck posedge 0: output data at tsck posedge"] #[inline(always)] - #[must_use] pub fn rsck_data_out(&mut self) -> RSCK_DATA_OUT_W { RSCK_DATA_OUT_W::new(self, 3) } #[doc = "Bit 8 - 1: SPI_SLV_DATA_BITLEN stores data bit length of master-read-slave data length in DMA controlled mode(Rd_DMA). 0: others"] #[inline(always)] - #[must_use] pub fn slv_rddma_bitlen_en(&mut self) -> SLV_RDDMA_BITLEN_EN_W { SLV_RDDMA_BITLEN_EN_W::new(self, 8) } #[doc = "Bit 9 - 1: SPI_SLV_DATA_BITLEN stores data bit length of master-write-to-slave data length in DMA controlled mode(Wr_DMA). 0: others"] #[inline(always)] - #[must_use] pub fn slv_wrdma_bitlen_en(&mut self) -> SLV_WRDMA_BITLEN_EN_W { SLV_WRDMA_BITLEN_EN_W::new(self, 9) } #[doc = "Bit 10 - 1: SPI_SLV_DATA_BITLEN stores data bit length of master-read-slave data length in CPU controlled mode(Rd_BUF). 0: others"] #[inline(always)] - #[must_use] pub fn slv_rdbuf_bitlen_en(&mut self) -> SLV_RDBUF_BITLEN_EN_W { SLV_RDBUF_BITLEN_EN_W::new(self, 10) } #[doc = "Bit 11 - 1: SPI_SLV_DATA_BITLEN stores data bit length of master-write-to-slave data length in CPU controlled mode(Wr_BUF). 0: others"] #[inline(always)] - #[must_use] pub fn slv_wrbuf_bitlen_en(&mut self) -> SLV_WRBUF_BITLEN_EN_W { SLV_WRBUF_BITLEN_EN_W::new(self, 11) } #[doc = "Bits 22:25 - The magic value of BM table in master DMA seg-trans."] #[inline(always)] - #[must_use] pub fn dma_seg_magic_value(&mut self) -> DMA_SEG_MAGIC_VALUE_W { DMA_SEG_MAGIC_VALUE_W::new(self, 22) } #[doc = "Bit 26 - Set SPI work mode. 1: slave mode 0: master mode."] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 26) } #[doc = "Bit 27 - Software reset enable, reset the spi clock line cs line and data lines. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn soft_reset(&mut self) -> SOFT_RESET_W { SOFT_RESET_W::new(self, 27) } #[doc = "Bit 28 - 1: Enable the DMA CONF phase of current seg-trans operation, which means seg-trans will start. 0: This is not seg-trans mode."] #[inline(always)] - #[must_use] pub fn usr_conf(&mut self) -> USR_CONF_W { USR_CONF_W::new(self, 28) } #[doc = "Bit 29 - In master full-duplex mode, 1: GP-SPI will wait DMA TX data is ready before starting SPI transfer. 0: GP-SPI does not wait DMA TX data before starting SPI transfer."] #[inline(always)] - #[must_use] pub fn mst_fd_wait_dma_tx_data(&mut self) -> MST_FD_WAIT_DMA_TX_DATA_W { MST_FD_WAIT_DMA_TX_DATA_W::new(self, 29) } diff --git a/esp32p4/src/spi2/slave1.rs b/esp32p4/src/spi2/slave1.rs index 4e464a31b4..2408ff65a5 100644 --- a/esp32p4/src/spi2/slave1.rs +++ b/esp32p4/src/spi2/slave1.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:17 - The transferred data bit length in SPI slave FD and HD mode."] #[inline(always)] - #[must_use] pub fn slv_data_bitlen(&mut self) -> SLV_DATA_BITLEN_W { SLV_DATA_BITLEN_W::new(self, 0) } #[doc = "Bits 18:25 - In the slave mode it is the value of command."] #[inline(always)] - #[must_use] pub fn slv_last_command(&mut self) -> SLV_LAST_COMMAND_W { SLV_LAST_COMMAND_W::new(self, 18) } #[doc = "Bits 26:31 - In the slave mode it is the value of address."] #[inline(always)] - #[must_use] pub fn slv_last_addr(&mut self) -> SLV_LAST_ADDR_W { SLV_LAST_ADDR_W::new(self, 26) } diff --git a/esp32p4/src/spi2/user.rs b/esp32p4/src/spi2/user.rs index 3f4d00f5b9..666860f980 100644 --- a/esp32p4/src/spi2/user.rs +++ b/esp32p4/src/spi2/user.rs @@ -224,127 +224,106 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set the bit to enable full duplex communication. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn doutdin(&mut self) -> DOUTDIN_W { DOUTDIN_W::new(self, 0) } #[doc = "Bit 3 - Both for master mode and slave mode. 1: spi controller is in QPI mode. 0: others. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn qpi_mode(&mut self) -> QPI_MODE_W { QPI_MODE_W::new(self, 3) } #[doc = "Bit 4 - Just for master mode. 1: spi controller is in OPI mode (all in 8-b-m). 0: others. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn opi_mode(&mut self) -> OPI_MODE_W { OPI_MODE_W::new(self, 4) } #[doc = "Bit 5 - In the slave mode, this bit can be used to change the polarity of tsck. 0: tsck = spi_ck_i. 1:tsck = !spi_ck_i."] #[inline(always)] - #[must_use] pub fn tsck_i_edge(&mut self) -> TSCK_I_EDGE_W { TSCK_I_EDGE_W::new(self, 5) } #[doc = "Bit 6 - spi cs keep low when spi is in done phase. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_hold(&mut self) -> CS_HOLD_W { CS_HOLD_W::new(self, 6) } #[doc = "Bit 7 - spi cs is enable when spi is in prepare phase. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_setup(&mut self) -> CS_SETUP_W { CS_SETUP_W::new(self, 7) } #[doc = "Bit 8 - In the slave mode, this bit can be used to change the polarity of rsck. 0: rsck = !spi_ck_i. 1:rsck = spi_ck_i."] #[inline(always)] - #[must_use] pub fn rsck_i_edge(&mut self) -> RSCK_I_EDGE_W { RSCK_I_EDGE_W::new(self, 8) } #[doc = "Bit 9 - the bit combined with spi_mosi_delay_mode bits to set mosi signal delay mode. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn ck_out_edge(&mut self) -> CK_OUT_EDGE_W { CK_OUT_EDGE_W::new(self, 9) } #[doc = "Bit 12 - In the write operations read-data phase apply 2 signals. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fwrite_dual(&mut self) -> FWRITE_DUAL_W { FWRITE_DUAL_W::new(self, 12) } #[doc = "Bit 13 - In the write operations read-data phase apply 4 signals. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fwrite_quad(&mut self) -> FWRITE_QUAD_W { FWRITE_QUAD_W::new(self, 13) } #[doc = "Bit 14 - In the write operations read-data phase apply 8 signals. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fwrite_oct(&mut self) -> FWRITE_OCT_W { FWRITE_OCT_W::new(self, 14) } #[doc = "Bit 15 - 1: Enable the DMA CONF phase of next seg-trans operation, which means seg-trans will continue. 0: The seg-trans will end after the current SPI seg-trans or this is not seg-trans mode. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_conf_nxt(&mut self) -> USR_CONF_NXT_W { USR_CONF_NXT_W::new(self, 15) } #[doc = "Bit 17 - Set the bit to enable 3-line half duplex communication mosi and miso signals share the same pin. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn sio(&mut self) -> SIO_W { SIO_W::new(self, 17) } #[doc = "Bit 24 - read-data phase only access to high-part of the buffer spi_w8~spi_w15. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_miso_highpart(&mut self) -> USR_MISO_HIGHPART_W { USR_MISO_HIGHPART_W::new(self, 24) } #[doc = "Bit 25 - write-data phase only access to high-part of the buffer spi_w8~spi_w15. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_mosi_highpart(&mut self) -> USR_MOSI_HIGHPART_W { USR_MOSI_HIGHPART_W::new(self, 25) } #[doc = "Bit 26 - spi clock is disable in dummy phase when the bit is enable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_dummy_idle(&mut self) -> USR_DUMMY_IDLE_W { USR_DUMMY_IDLE_W::new(self, 26) } #[doc = "Bit 27 - This bit enable the write-data phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_mosi(&mut self) -> USR_MOSI_W { USR_MOSI_W::new(self, 27) } #[doc = "Bit 28 - This bit enable the read-data phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_miso(&mut self) -> USR_MISO_W { USR_MISO_W::new(self, 28) } #[doc = "Bit 29 - This bit enable the dummy phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_dummy(&mut self) -> USR_DUMMY_W { USR_DUMMY_W::new(self, 29) } #[doc = "Bit 30 - This bit enable the address phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_addr(&mut self) -> USR_ADDR_W { USR_ADDR_W::new(self, 30) } #[doc = "Bit 31 - This bit enable the command phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_command(&mut self) -> USR_COMMAND_W { USR_COMMAND_W::new(self, 31) } diff --git a/esp32p4/src/spi2/user1.rs b/esp32p4/src/spi2/user1.rs index 95f635fa29..ebf323bb54 100644 --- a/esp32p4/src/spi2/user1.rs +++ b/esp32p4/src/spi2/user1.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - The length in spi_clk cycles of dummy phase. The register value shall be (cycle_num-1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_dummy_cyclelen(&mut self) -> USR_DUMMY_CYCLELEN_W { USR_DUMMY_CYCLELEN_W::new(self, 0) } #[doc = "Bit 16 - 1: SPI transfer is ended when SPI RX AFIFO wfull error is valid in GP-SPI master FD/HD-mode. 0: SPI transfer is not ended when SPI RX AFIFO wfull error is valid in GP-SPI master FD/HD-mode."] #[inline(always)] - #[must_use] pub fn mst_wfull_err_end_en(&mut self) -> MST_WFULL_ERR_END_EN_W { MST_WFULL_ERR_END_EN_W::new(self, 16) } #[doc = "Bits 17:21 - (cycles+1) of prepare phase by spi clock this bits are combined with spi_cs_setup bit. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_setup_time(&mut self) -> CS_SETUP_TIME_W { CS_SETUP_TIME_W::new(self, 17) } #[doc = "Bits 22:26 - delay cycles of cs pin by spi clock this bits are combined with spi_cs_hold bit. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_hold_time(&mut self) -> CS_HOLD_TIME_W { CS_HOLD_TIME_W::new(self, 22) } #[doc = "Bits 27:31 - The length in bits of address phase. The register value shall be (bit_num-1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_addr_bitlen(&mut self) -> USR_ADDR_BITLEN_W { USR_ADDR_BITLEN_W::new(self, 27) } diff --git a/esp32p4/src/spi2/user2.rs b/esp32p4/src/spi2/user2.rs index df58aa38b9..3508800e72 100644 --- a/esp32p4/src/spi2/user2.rs +++ b/esp32p4/src/spi2/user2.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The value of command. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_command_value(&mut self) -> USR_COMMAND_VALUE_W { USR_COMMAND_VALUE_W::new(self, 0) } #[doc = "Bit 27 - 1: SPI transfer is ended when SPI TX AFIFO read empty error is valid in GP-SPI master FD/HD-mode. 0: SPI transfer is not ended when SPI TX AFIFO read empty error is valid in GP-SPI master FD/HD-mode."] #[inline(always)] - #[must_use] pub fn mst_rempty_err_end_en(&mut self) -> MST_REMPTY_ERR_END_EN_W { MST_REMPTY_ERR_END_EN_W::new(self, 27) } #[doc = "Bits 28:31 - The length in bits of command phase. The register value shall be (bit_num-1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_command_bitlen(&mut self) -> USR_COMMAND_BITLEN_W { USR_COMMAND_BITLEN_W::new(self, 28) } diff --git a/esp32p4/src/spi2/w.rs b/esp32p4/src/spi2/w.rs index 938ceae002..dfd00d53e3 100644 --- a/esp32p4/src/spi2/w.rs +++ b/esp32p4/src/spi2/w.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - data buffer"] #[inline(always)] - #[must_use] pub fn buf(&mut self) -> BUF_W { BUF_W::new(self, 0) } diff --git a/esp32p4/src/spi3/addr.rs b/esp32p4/src/spi3/addr.rs index 03ea07541d..acb1a7dfa7 100644 --- a/esp32p4/src/spi3/addr.rs +++ b/esp32p4/src/spi3/addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Address to slave. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_addr_value(&mut self) -> USR_ADDR_VALUE_W { USR_ADDR_VALUE_W::new(self, 0) } diff --git a/esp32p4/src/spi3/clk_gate.rs b/esp32p4/src/spi3/clk_gate.rs index 20f0adfc48..a8142d4385 100644 --- a/esp32p4/src/spi3/clk_gate.rs +++ b/esp32p4/src/spi3/clk_gate.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable clk gate"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to power on the SPI module clock."] #[inline(always)] - #[must_use] pub fn mst_clk_active(&mut self) -> MST_CLK_ACTIVE_W { MST_CLK_ACTIVE_W::new(self, 1) } #[doc = "Bit 2 - This bit is used to select SPI module clock source in master mode. 1: PLL_CLK_80M. 0: XTAL CLK."] #[inline(always)] - #[must_use] pub fn mst_clk_sel(&mut self) -> MST_CLK_SEL_W { MST_CLK_SEL_W::new(self, 2) } diff --git a/esp32p4/src/spi3/clock.rs b/esp32p4/src/spi3/clock.rs index 8b450b70fc..78e6f168df 100644 --- a/esp32p4/src/spi3/clock.rs +++ b/esp32p4/src/spi3/clock.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - In the master mode it must be equal to spi_clkcnt_N. In the slave mode it must be 0. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clkcnt_l(&mut self) -> CLKCNT_L_W { CLKCNT_L_W::new(self, 0) } #[doc = "Bits 6:11 - In the master mode it must be floor((spi_clkcnt_N+1)/2-1). In the slave mode it must be 0. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clkcnt_h(&mut self) -> CLKCNT_H_W { CLKCNT_H_W::new(self, 6) } #[doc = "Bits 12:17 - In the master mode it is the divider of spi_clk. So spi_clk frequency is system/(spi_clkdiv_pre+1)/(spi_clkcnt_N+1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clkcnt_n(&mut self) -> CLKCNT_N_W { CLKCNT_N_W::new(self, 12) } #[doc = "Bits 18:21 - In the master mode it is pre-divider of spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clkdiv_pre(&mut self) -> CLKDIV_PRE_W { CLKDIV_PRE_W::new(self, 18) } #[doc = "Bit 31 - In the master mode 1: spi_clk is eqaul to system 0: spi_clk is divided from system clock. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clk_equ_sysclk(&mut self) -> CLK_EQU_SYSCLK_W { CLK_EQU_SYSCLK_W::new(self, 31) } diff --git a/esp32p4/src/spi3/cmd.rs b/esp32p4/src/spi3/cmd.rs index cb2fc66a3f..bf130ae516 100644 --- a/esp32p4/src/spi3/cmd.rs +++ b/esp32p4/src/spi3/cmd.rs @@ -24,13 +24,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 23 - Set this bit to synchronize SPI registers from APB clock domain into SPI module clock domain, which is only used in SPI master mode."] #[inline(always)] - #[must_use] pub fn update(&mut self) -> UPDATE_W { UPDATE_W::new(self, 23) } #[doc = "Bit 24 - User define command enable. An operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable. Can not be changed by CONF_buf."] #[inline(always)] - #[must_use] pub fn usr(&mut self) -> USR_W { USR_W::new(self, 24) } diff --git a/esp32p4/src/spi3/ctrl.rs b/esp32p4/src/spi3/ctrl.rs index ecbf5ca113..66d20b1e2e 100644 --- a/esp32p4/src/spi3/ctrl.rs +++ b/esp32p4/src/spi3/ctrl.rs @@ -144,79 +144,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - 0: In the dummy phase, the FSPI bus signals are not output. 1: In the dummy phase, the FSPI bus signals are output. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dummy_out(&mut self) -> DUMMY_OUT_W { DUMMY_OUT_W::new(self, 3) } #[doc = "Bit 5 - Apply 2 signals during addr phase 1:enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn faddr_dual(&mut self) -> FADDR_DUAL_W { FADDR_DUAL_W::new(self, 5) } #[doc = "Bit 6 - Apply 4 signals during addr phase 1:enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn faddr_quad(&mut self) -> FADDR_QUAD_W { FADDR_QUAD_W::new(self, 6) } #[doc = "Bit 8 - Apply 2 signals during command phase 1:enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fcmd_dual(&mut self) -> FCMD_DUAL_W { FCMD_DUAL_W::new(self, 8) } #[doc = "Bit 9 - Apply 4 signals during command phase 1:enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fcmd_quad(&mut self) -> FCMD_QUAD_W { FCMD_QUAD_W::new(self, 9) } #[doc = "Bit 14 - In the read operations, read-data phase apply 2 signals. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fread_dual(&mut self) -> FREAD_DUAL_W { FREAD_DUAL_W::new(self, 14) } #[doc = "Bit 15 - In the read operations read-data phase apply 4 signals. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fread_quad(&mut self) -> FREAD_QUAD_W { FREAD_QUAD_W::new(self, 15) } #[doc = "Bit 18 - The bit is used to set MISO line polarity, 1: high 0, low. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn q_pol(&mut self) -> Q_POL_W { Q_POL_W::new(self, 18) } #[doc = "Bit 19 - The bit is used to set MOSI line polarity, 1: high 0, low. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn d_pol(&mut self) -> D_POL_W { D_POL_W::new(self, 19) } #[doc = "Bit 20 - SPI_HOLD output value when SPI is idle. 1: output high, 0: output low. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn hold_pol(&mut self) -> HOLD_POL_W { HOLD_POL_W::new(self, 20) } #[doc = "Bit 21 - Write protect signal output when SPI is idle. 1: output high, 0: output low. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn wp_pol(&mut self) -> WP_POL_W { WP_POL_W::new(self, 21) } #[doc = "Bits 23:24 - In read-data (MISO) phase 1: LSB first 0: MSB first. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn rd_bit_order(&mut self) -> RD_BIT_ORDER_W { RD_BIT_ORDER_W::new(self, 23) } #[doc = "Bits 25:26 - In command address write-data (MOSI) phases 1: LSB firs 0: MSB first. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn wr_bit_order(&mut self) -> WR_BIT_ORDER_W { WR_BIT_ORDER_W::new(self, 25) } diff --git a/esp32p4/src/spi3/date.rs b/esp32p4/src/spi3/date.rs index db7b61717f..b5d8f61d95 100644 --- a/esp32p4/src/spi3/date.rs +++ b/esp32p4/src/spi3/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - SPI register version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32p4/src/spi3/din_mode.rs b/esp32p4/src/spi3/din_mode.rs index eb0eb427e6..60ebe1fa73 100644 --- a/esp32p4/src/spi3/din_mode.rs +++ b/esp32p4/src/spi3/din_mode.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din0_mode(&mut self) -> DIN0_MODE_W { DIN0_MODE_W::new(self, 0) } #[doc = "Bits 2:3 - the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din1_mode(&mut self) -> DIN1_MODE_W { DIN1_MODE_W::new(self, 2) } #[doc = "Bits 4:5 - the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din2_mode(&mut self) -> DIN2_MODE_W { DIN2_MODE_W::new(self, 4) } #[doc = "Bits 6:7 - the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din3_mode(&mut self) -> DIN3_MODE_W { DIN3_MODE_W::new(self, 6) } #[doc = "Bit 16 - 1:enable hclk in SPI input timing module. 0: disable it. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn timing_hclk_active(&mut self) -> TIMING_HCLK_ACTIVE_W { TIMING_HCLK_ACTIVE_W::new(self, 16) } diff --git a/esp32p4/src/spi3/din_num.rs b/esp32p4/src/spi3/din_num.rs index ae07fe09af..c3eb7c70ae 100644 --- a/esp32p4/src/spi3/din_num.rs +++ b/esp32p4/src/spi3/din_num.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din0_num(&mut self) -> DIN0_NUM_W { DIN0_NUM_W::new(self, 0) } #[doc = "Bits 2:3 - the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din1_num(&mut self) -> DIN1_NUM_W { DIN1_NUM_W::new(self, 2) } #[doc = "Bits 4:5 - the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din2_num(&mut self) -> DIN2_NUM_W { DIN2_NUM_W::new(self, 4) } #[doc = "Bits 6:7 - the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din3_num(&mut self) -> DIN3_NUM_W { DIN3_NUM_W::new(self, 6) } diff --git a/esp32p4/src/spi3/dma_conf.rs b/esp32p4/src/spi3/dma_conf.rs index 83e8fa3de1..29de1d9bb0 100644 --- a/esp32p4/src/spi3/dma_conf.rs +++ b/esp32p4/src/spi3/dma_conf.rs @@ -96,55 +96,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 18 - Enable dma segment transfer in spi dma half slave mode. 1: enable. 0: disable."] #[inline(always)] - #[must_use] pub fn dma_slv_seg_trans_en(&mut self) -> DMA_SLV_SEG_TRANS_EN_W { DMA_SLV_SEG_TRANS_EN_W::new(self, 18) } #[doc = "Bit 19 - 1: spi_dma_infifo_full_vld is cleared by spi slave cmd 5. 0: spi_dma_infifo_full_vld is cleared by spi_trans_done."] #[inline(always)] - #[must_use] pub fn slv_rx_seg_trans_clr_en(&mut self) -> SLV_RX_SEG_TRANS_CLR_EN_W { SLV_RX_SEG_TRANS_CLR_EN_W::new(self, 19) } #[doc = "Bit 20 - 1: spi_dma_outfifo_empty_vld is cleared by spi slave cmd 6. 0: spi_dma_outfifo_empty_vld is cleared by spi_trans_done."] #[inline(always)] - #[must_use] pub fn slv_tx_seg_trans_clr_en(&mut self) -> SLV_TX_SEG_TRANS_CLR_EN_W { SLV_TX_SEG_TRANS_CLR_EN_W::new(self, 20) } #[doc = "Bit 21 - 1: spi_dma_inlink_eof is set when the number of dma pushed data bytes is equal to the value of spi_slv/mst_dma_rd_bytelen\\[19:0\\] in spi dma transition. 0: spi_dma_inlink_eof is set by spi_trans_done in non-seg-trans or spi_dma_seg_trans_done in seg-trans."] #[inline(always)] - #[must_use] pub fn rx_eof_en(&mut self) -> RX_EOF_EN_W { RX_EOF_EN_W::new(self, 21) } #[doc = "Bit 27 - Set this bit to enable SPI DMA controlled receive data mode."] #[inline(always)] - #[must_use] pub fn dma_rx_ena(&mut self) -> DMA_RX_ENA_W { DMA_RX_ENA_W::new(self, 27) } #[doc = "Bit 28 - Set this bit to enable SPI DMA controlled send data mode."] #[inline(always)] - #[must_use] pub fn dma_tx_ena(&mut self) -> DMA_TX_ENA_W { DMA_TX_ENA_W::new(self, 28) } #[doc = "Bit 29 - Set this bit to reset RX AFIFO, which is used to receive data in SPI master and slave mode transfer."] #[inline(always)] - #[must_use] pub fn rx_afifo_rst(&mut self) -> RX_AFIFO_RST_W { RX_AFIFO_RST_W::new(self, 29) } #[doc = "Bit 30 - Set this bit to reset BUF TX AFIFO, which is used send data out in SPI slave CPU controlled mode transfer and master mode transfer."] #[inline(always)] - #[must_use] pub fn buf_afifo_rst(&mut self) -> BUF_AFIFO_RST_W { BUF_AFIFO_RST_W::new(self, 30) } #[doc = "Bit 31 - Set this bit to reset DMA TX AFIFO, which is used to send data out in SPI slave DMA controlled mode transfer."] #[inline(always)] - #[must_use] pub fn dma_afifo_rst(&mut self) -> DMA_AFIFO_RST_W { DMA_AFIFO_RST_W::new(self, 31) } diff --git a/esp32p4/src/spi3/dma_int_clr.rs b/esp32p4/src/spi3/dma_int_clr.rs index 41679c0c4a..ffc5d0fca2 100644 --- a/esp32p4/src/spi3/dma_int_clr.rs +++ b/esp32p4/src/spi3/dma_int_clr.rs @@ -49,121 +49,101 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The clear bit for SPI_DMA_INFIFO_FULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_infifo_full_err(&mut self) -> DMA_INFIFO_FULL_ERR_W { DMA_INFIFO_FULL_ERR_W::new(self, 0) } #[doc = "Bit 1 - The clear bit for SPI_DMA_OUTFIFO_EMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_outfifo_empty_err(&mut self) -> DMA_OUTFIFO_EMPTY_ERR_W { DMA_OUTFIFO_EMPTY_ERR_W::new(self, 1) } #[doc = "Bit 2 - The clear bit for SPI slave Ex_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_ex_qpi(&mut self) -> SLV_EX_QPI_W { SLV_EX_QPI_W::new(self, 2) } #[doc = "Bit 3 - The clear bit for SPI slave En_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_en_qpi(&mut self) -> SLV_EN_QPI_W { SLV_EN_QPI_W::new(self, 3) } #[doc = "Bit 4 - The clear bit for SPI slave CMD7 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd7(&mut self) -> SLV_CMD7_W { SLV_CMD7_W::new(self, 4) } #[doc = "Bit 5 - The clear bit for SPI slave CMD8 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd8(&mut self) -> SLV_CMD8_W { SLV_CMD8_W::new(self, 5) } #[doc = "Bit 6 - The clear bit for SPI slave CMD9 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd9(&mut self) -> SLV_CMD9_W { SLV_CMD9_W::new(self, 6) } #[doc = "Bit 7 - The clear bit for SPI slave CMDA interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmda(&mut self) -> SLV_CMDA_W { SLV_CMDA_W::new(self, 7) } #[doc = "Bit 8 - The clear bit for SPI_SLV_RD_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_dma_done(&mut self) -> SLV_RD_DMA_DONE_W { SLV_RD_DMA_DONE_W::new(self, 8) } #[doc = "Bit 9 - The clear bit for SPI_SLV_WR_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_dma_done(&mut self) -> SLV_WR_DMA_DONE_W { SLV_WR_DMA_DONE_W::new(self, 9) } #[doc = "Bit 10 - The clear bit for SPI_SLV_RD_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_buf_done(&mut self) -> SLV_RD_BUF_DONE_W { SLV_RD_BUF_DONE_W::new(self, 10) } #[doc = "Bit 11 - The clear bit for SPI_SLV_WR_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_buf_done(&mut self) -> SLV_WR_BUF_DONE_W { SLV_WR_BUF_DONE_W::new(self, 11) } #[doc = "Bit 12 - The clear bit for SPI_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_done(&mut self) -> TRANS_DONE_W { TRANS_DONE_W::new(self, 12) } #[doc = "Bit 13 - The clear bit for SPI_DMA_SEG_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_seg_trans_done(&mut self) -> DMA_SEG_TRANS_DONE_W { DMA_SEG_TRANS_DONE_W::new(self, 13) } #[doc = "Bit 15 - The clear bit for SPI_SLV_BUF_ADDR_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_buf_addr_err(&mut self) -> SLV_BUF_ADDR_ERR_W { SLV_BUF_ADDR_ERR_W::new(self, 15) } #[doc = "Bit 16 - The clear bit for SPI_SLV_CMD_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd_err(&mut self) -> SLV_CMD_ERR_W { SLV_CMD_ERR_W::new(self, 16) } #[doc = "Bit 17 - The clear bit for SPI_MST_RX_AFIFO_WFULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_rx_afifo_wfull_err(&mut self) -> MST_RX_AFIFO_WFULL_ERR_W { MST_RX_AFIFO_WFULL_ERR_W::new(self, 17) } #[doc = "Bit 18 - The clear bit for SPI_MST_TX_AFIFO_REMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_tx_afifo_rempty_err(&mut self) -> MST_TX_AFIFO_REMPTY_ERR_W { MST_TX_AFIFO_REMPTY_ERR_W::new(self, 18) } #[doc = "Bit 19 - The clear bit for SPI_APP2_INT interrupt."] #[inline(always)] - #[must_use] pub fn app2(&mut self) -> APP2_W { APP2_W::new(self, 19) } #[doc = "Bit 20 - The clear bit for SPI_APP1_INT interrupt."] #[inline(always)] - #[must_use] pub fn app1(&mut self) -> APP1_W { APP1_W::new(self, 20) } diff --git a/esp32p4/src/spi3/dma_int_ena.rs b/esp32p4/src/spi3/dma_int_ena.rs index 6616204b83..d95d1b8a39 100644 --- a/esp32p4/src/spi3/dma_int_ena.rs +++ b/esp32p4/src/spi3/dma_int_ena.rs @@ -214,121 +214,101 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The enable bit for SPI_DMA_INFIFO_FULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_infifo_full_err(&mut self) -> DMA_INFIFO_FULL_ERR_W { DMA_INFIFO_FULL_ERR_W::new(self, 0) } #[doc = "Bit 1 - The enable bit for SPI_DMA_OUTFIFO_EMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_outfifo_empty_err(&mut self) -> DMA_OUTFIFO_EMPTY_ERR_W { DMA_OUTFIFO_EMPTY_ERR_W::new(self, 1) } #[doc = "Bit 2 - The enable bit for SPI slave Ex_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_ex_qpi(&mut self) -> SLV_EX_QPI_W { SLV_EX_QPI_W::new(self, 2) } #[doc = "Bit 3 - The enable bit for SPI slave En_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_en_qpi(&mut self) -> SLV_EN_QPI_W { SLV_EN_QPI_W::new(self, 3) } #[doc = "Bit 4 - The enable bit for SPI slave CMD7 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd7(&mut self) -> SLV_CMD7_W { SLV_CMD7_W::new(self, 4) } #[doc = "Bit 5 - The enable bit for SPI slave CMD8 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd8(&mut self) -> SLV_CMD8_W { SLV_CMD8_W::new(self, 5) } #[doc = "Bit 6 - The enable bit for SPI slave CMD9 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd9(&mut self) -> SLV_CMD9_W { SLV_CMD9_W::new(self, 6) } #[doc = "Bit 7 - The enable bit for SPI slave CMDA interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmda(&mut self) -> SLV_CMDA_W { SLV_CMDA_W::new(self, 7) } #[doc = "Bit 8 - The enable bit for SPI_SLV_RD_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_dma_done(&mut self) -> SLV_RD_DMA_DONE_W { SLV_RD_DMA_DONE_W::new(self, 8) } #[doc = "Bit 9 - The enable bit for SPI_SLV_WR_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_dma_done(&mut self) -> SLV_WR_DMA_DONE_W { SLV_WR_DMA_DONE_W::new(self, 9) } #[doc = "Bit 10 - The enable bit for SPI_SLV_RD_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_buf_done(&mut self) -> SLV_RD_BUF_DONE_W { SLV_RD_BUF_DONE_W::new(self, 10) } #[doc = "Bit 11 - The enable bit for SPI_SLV_WR_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_buf_done(&mut self) -> SLV_WR_BUF_DONE_W { SLV_WR_BUF_DONE_W::new(self, 11) } #[doc = "Bit 12 - The enable bit for SPI_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_done(&mut self) -> TRANS_DONE_W { TRANS_DONE_W::new(self, 12) } #[doc = "Bit 13 - The enable bit for SPI_DMA_SEG_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_seg_trans_done(&mut self) -> DMA_SEG_TRANS_DONE_W { DMA_SEG_TRANS_DONE_W::new(self, 13) } #[doc = "Bit 15 - The enable bit for SPI_SLV_BUF_ADDR_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_buf_addr_err(&mut self) -> SLV_BUF_ADDR_ERR_W { SLV_BUF_ADDR_ERR_W::new(self, 15) } #[doc = "Bit 16 - The enable bit for SPI_SLV_CMD_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd_err(&mut self) -> SLV_CMD_ERR_W { SLV_CMD_ERR_W::new(self, 16) } #[doc = "Bit 17 - The enable bit for SPI_MST_RX_AFIFO_WFULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_rx_afifo_wfull_err(&mut self) -> MST_RX_AFIFO_WFULL_ERR_W { MST_RX_AFIFO_WFULL_ERR_W::new(self, 17) } #[doc = "Bit 18 - The enable bit for SPI_MST_TX_AFIFO_REMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_tx_afifo_rempty_err(&mut self) -> MST_TX_AFIFO_REMPTY_ERR_W { MST_TX_AFIFO_REMPTY_ERR_W::new(self, 18) } #[doc = "Bit 19 - The enable bit for SPI_APP2_INT interrupt."] #[inline(always)] - #[must_use] pub fn app2(&mut self) -> APP2_W { APP2_W::new(self, 19) } #[doc = "Bit 20 - The enable bit for SPI_APP1_INT interrupt."] #[inline(always)] - #[must_use] pub fn app1(&mut self) -> APP1_W { APP1_W::new(self, 20) } diff --git a/esp32p4/src/spi3/dma_int_raw.rs b/esp32p4/src/spi3/dma_int_raw.rs index ccbb2d3c99..59a04fa4b0 100644 --- a/esp32p4/src/spi3/dma_int_raw.rs +++ b/esp32p4/src/spi3/dma_int_raw.rs @@ -214,121 +214,101 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: The current data rate of DMA Rx is smaller than that of SPI, which will lose the receive data. 0: Others."] #[inline(always)] - #[must_use] pub fn dma_infifo_full_err(&mut self) -> DMA_INFIFO_FULL_ERR_W { DMA_INFIFO_FULL_ERR_W::new(self, 0) } #[doc = "Bit 1 - 1: The current data rate of DMA TX is smaller than that of SPI. SPI will stop in master mode and send out all 0 in slave mode. 0: Others."] #[inline(always)] - #[must_use] pub fn dma_outfifo_empty_err(&mut self) -> DMA_OUTFIFO_EMPTY_ERR_W { DMA_OUTFIFO_EMPTY_ERR_W::new(self, 1) } #[doc = "Bit 2 - The raw bit for SPI slave Ex_QPI interrupt. 1: SPI slave mode Ex_QPI transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_ex_qpi(&mut self) -> SLV_EX_QPI_W { SLV_EX_QPI_W::new(self, 2) } #[doc = "Bit 3 - The raw bit for SPI slave En_QPI interrupt. 1: SPI slave mode En_QPI transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_en_qpi(&mut self) -> SLV_EN_QPI_W { SLV_EN_QPI_W::new(self, 3) } #[doc = "Bit 4 - The raw bit for SPI slave CMD7 interrupt. 1: SPI slave mode CMD7 transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_cmd7(&mut self) -> SLV_CMD7_W { SLV_CMD7_W::new(self, 4) } #[doc = "Bit 5 - The raw bit for SPI slave CMD8 interrupt. 1: SPI slave mode CMD8 transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_cmd8(&mut self) -> SLV_CMD8_W { SLV_CMD8_W::new(self, 5) } #[doc = "Bit 6 - The raw bit for SPI slave CMD9 interrupt. 1: SPI slave mode CMD9 transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_cmd9(&mut self) -> SLV_CMD9_W { SLV_CMD9_W::new(self, 6) } #[doc = "Bit 7 - The raw bit for SPI slave CMDA interrupt. 1: SPI slave mode CMDA transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_cmda(&mut self) -> SLV_CMDA_W { SLV_CMDA_W::new(self, 7) } #[doc = "Bit 8 - The raw bit for SPI_SLV_RD_DMA_DONE_INT interrupt. 1: SPI slave mode Rd_DMA transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_rd_dma_done(&mut self) -> SLV_RD_DMA_DONE_W { SLV_RD_DMA_DONE_W::new(self, 8) } #[doc = "Bit 9 - The raw bit for SPI_SLV_WR_DMA_DONE_INT interrupt. 1: SPI slave mode Wr_DMA transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_wr_dma_done(&mut self) -> SLV_WR_DMA_DONE_W { SLV_WR_DMA_DONE_W::new(self, 9) } #[doc = "Bit 10 - The raw bit for SPI_SLV_RD_BUF_DONE_INT interrupt. 1: SPI slave mode Rd_BUF transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_rd_buf_done(&mut self) -> SLV_RD_BUF_DONE_W { SLV_RD_BUF_DONE_W::new(self, 10) } #[doc = "Bit 11 - The raw bit for SPI_SLV_WR_BUF_DONE_INT interrupt. 1: SPI slave mode Wr_BUF transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_wr_buf_done(&mut self) -> SLV_WR_BUF_DONE_W { SLV_WR_BUF_DONE_W::new(self, 11) } #[doc = "Bit 12 - The raw bit for SPI_TRANS_DONE_INT interrupt. 1: SPI master mode transmission is ended. 0: others."] #[inline(always)] - #[must_use] pub fn trans_done(&mut self) -> TRANS_DONE_W { TRANS_DONE_W::new(self, 12) } #[doc = "Bit 13 - The raw bit for SPI_DMA_SEG_TRANS_DONE_INT interrupt. 1: spi master DMA full-duplex/half-duplex seg-conf-trans ends or slave half-duplex seg-trans ends. And data has been pushed to corresponding memory. 0: seg-conf-trans or seg-trans is not ended or not occurred."] #[inline(always)] - #[must_use] pub fn dma_seg_trans_done(&mut self) -> DMA_SEG_TRANS_DONE_W { DMA_SEG_TRANS_DONE_W::new(self, 13) } #[doc = "Bit 15 - The raw bit for SPI_SLV_BUF_ADDR_ERR_INT interrupt. 1: The accessing data address of the current SPI slave mode CPU controlled FD, Wr_BUF or Rd_BUF transmission is bigger than 63. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_buf_addr_err(&mut self) -> SLV_BUF_ADDR_ERR_W { SLV_BUF_ADDR_ERR_W::new(self, 15) } #[doc = "Bit 16 - The raw bit for SPI_SLV_CMD_ERR_INT interrupt. 1: The slave command value in the current SPI slave HD mode transmission is not supported. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_cmd_err(&mut self) -> SLV_CMD_ERR_W { SLV_CMD_ERR_W::new(self, 16) } #[doc = "Bit 17 - The raw bit for SPI_MST_RX_AFIFO_WFULL_ERR_INT interrupt. 1: There is a RX AFIFO write-full error when SPI inputs data in master mode. 0: Others."] #[inline(always)] - #[must_use] pub fn mst_rx_afifo_wfull_err(&mut self) -> MST_RX_AFIFO_WFULL_ERR_W { MST_RX_AFIFO_WFULL_ERR_W::new(self, 17) } #[doc = "Bit 18 - The raw bit for SPI_MST_TX_AFIFO_REMPTY_ERR_INT interrupt. 1: There is a TX BUF AFIFO read-empty error when SPI outputs data in master mode. 0: Others."] #[inline(always)] - #[must_use] pub fn mst_tx_afifo_rempty_err(&mut self) -> MST_TX_AFIFO_REMPTY_ERR_W { MST_TX_AFIFO_REMPTY_ERR_W::new(self, 18) } #[doc = "Bit 19 - The raw bit for SPI_APP2_INT interrupt. The value is only controlled by software."] #[inline(always)] - #[must_use] pub fn app2(&mut self) -> APP2_W { APP2_W::new(self, 19) } #[doc = "Bit 20 - The raw bit for SPI_APP1_INT interrupt. The value is only controlled by software."] #[inline(always)] - #[must_use] pub fn app1(&mut self) -> APP1_W { APP1_W::new(self, 20) } diff --git a/esp32p4/src/spi3/dma_int_set.rs b/esp32p4/src/spi3/dma_int_set.rs index 1f55d7c1e1..e3057672a8 100644 --- a/esp32p4/src/spi3/dma_int_set.rs +++ b/esp32p4/src/spi3/dma_int_set.rs @@ -49,7 +49,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The software set bit for SPI_DMA_INFIFO_FULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_infifo_full_err_int_set( &mut self, ) -> DMA_INFIFO_FULL_ERR_INT_SET_W { @@ -57,7 +56,6 @@ impl W { } #[doc = "Bit 1 - The software set bit for SPI_DMA_OUTFIFO_EMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_outfifo_empty_err_int_set( &mut self, ) -> DMA_OUTFIFO_EMPTY_ERR_INT_SET_W { @@ -65,91 +63,76 @@ impl W { } #[doc = "Bit 2 - The software set bit for SPI slave Ex_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_ex_qpi_int_set(&mut self) -> SLV_EX_QPI_INT_SET_W { SLV_EX_QPI_INT_SET_W::new(self, 2) } #[doc = "Bit 3 - The software set bit for SPI slave En_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_en_qpi_int_set(&mut self) -> SLV_EN_QPI_INT_SET_W { SLV_EN_QPI_INT_SET_W::new(self, 3) } #[doc = "Bit 4 - The software set bit for SPI slave CMD7 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd7_int_set(&mut self) -> SLV_CMD7_INT_SET_W { SLV_CMD7_INT_SET_W::new(self, 4) } #[doc = "Bit 5 - The software set bit for SPI slave CMD8 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd8_int_set(&mut self) -> SLV_CMD8_INT_SET_W { SLV_CMD8_INT_SET_W::new(self, 5) } #[doc = "Bit 6 - The software set bit for SPI slave CMD9 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd9_int_set(&mut self) -> SLV_CMD9_INT_SET_W { SLV_CMD9_INT_SET_W::new(self, 6) } #[doc = "Bit 7 - The software set bit for SPI slave CMDA interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmda_int_set(&mut self) -> SLV_CMDA_INT_SET_W { SLV_CMDA_INT_SET_W::new(self, 7) } #[doc = "Bit 8 - The software set bit for SPI_SLV_RD_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_dma_done_int_set(&mut self) -> SLV_RD_DMA_DONE_INT_SET_W { SLV_RD_DMA_DONE_INT_SET_W::new(self, 8) } #[doc = "Bit 9 - The software set bit for SPI_SLV_WR_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_dma_done_int_set(&mut self) -> SLV_WR_DMA_DONE_INT_SET_W { SLV_WR_DMA_DONE_INT_SET_W::new(self, 9) } #[doc = "Bit 10 - The software set bit for SPI_SLV_RD_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_buf_done_int_set(&mut self) -> SLV_RD_BUF_DONE_INT_SET_W { SLV_RD_BUF_DONE_INT_SET_W::new(self, 10) } #[doc = "Bit 11 - The software set bit for SPI_SLV_WR_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_buf_done_int_set(&mut self) -> SLV_WR_BUF_DONE_INT_SET_W { SLV_WR_BUF_DONE_INT_SET_W::new(self, 11) } #[doc = "Bit 12 - The software set bit for SPI_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_done_int_set(&mut self) -> TRANS_DONE_INT_SET_W { TRANS_DONE_INT_SET_W::new(self, 12) } #[doc = "Bit 13 - The software set bit for SPI_DMA_SEG_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_seg_trans_done_int_set(&mut self) -> DMA_SEG_TRANS_DONE_INT_SET_W { DMA_SEG_TRANS_DONE_INT_SET_W::new(self, 13) } #[doc = "Bit 15 - The software set bit for SPI_SLV_BUF_ADDR_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_buf_addr_err_int_set(&mut self) -> SLV_BUF_ADDR_ERR_INT_SET_W { SLV_BUF_ADDR_ERR_INT_SET_W::new(self, 15) } #[doc = "Bit 16 - The software set bit for SPI_SLV_CMD_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd_err_int_set(&mut self) -> SLV_CMD_ERR_INT_SET_W { SLV_CMD_ERR_INT_SET_W::new(self, 16) } #[doc = "Bit 17 - The software set bit for SPI_MST_RX_AFIFO_WFULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_rx_afifo_wfull_err_int_set( &mut self, ) -> MST_RX_AFIFO_WFULL_ERR_INT_SET_W { @@ -157,7 +140,6 @@ impl W { } #[doc = "Bit 18 - The software set bit for SPI_MST_TX_AFIFO_REMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_tx_afifo_rempty_err_int_set( &mut self, ) -> MST_TX_AFIFO_REMPTY_ERR_INT_SET_W { @@ -165,13 +147,11 @@ impl W { } #[doc = "Bit 19 - The software set bit for SPI_APP2_INT interrupt."] #[inline(always)] - #[must_use] pub fn app2_int_set(&mut self) -> APP2_INT_SET_W { APP2_INT_SET_W::new(self, 19) } #[doc = "Bit 20 - The software set bit for SPI_APP1_INT interrupt."] #[inline(always)] - #[must_use] pub fn app1_int_set(&mut self) -> APP1_INT_SET_W { APP1_INT_SET_W::new(self, 20) } diff --git a/esp32p4/src/spi3/dout_mode.rs b/esp32p4/src/spi3/dout_mode.rs index 5c11f886ac..e7a88b184e 100644 --- a/esp32p4/src/spi3/dout_mode.rs +++ b/esp32p4/src/spi3/dout_mode.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The output signal 0 is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout0_mode(&mut self) -> DOUT0_MODE_W { DOUT0_MODE_W::new(self, 0) } #[doc = "Bit 1 - The output signal 1 is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout1_mode(&mut self) -> DOUT1_MODE_W { DOUT1_MODE_W::new(self, 1) } #[doc = "Bit 2 - The output signal 2 is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout2_mode(&mut self) -> DOUT2_MODE_W { DOUT2_MODE_W::new(self, 2) } #[doc = "Bit 3 - The output signal 3 is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout3_mode(&mut self) -> DOUT3_MODE_W { DOUT3_MODE_W::new(self, 3) } diff --git a/esp32p4/src/spi3/misc.rs b/esp32p4/src/spi3/misc.rs index 049374eea8..02cd795582 100644 --- a/esp32p4/src/spi3/misc.rs +++ b/esp32p4/src/spi3/misc.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - SPI CS0 pin enable, 1: disable CS0, 0: spi_cs0 signal is from/to CS0 pin. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs0_dis(&mut self) -> CS0_DIS_W { CS0_DIS_W::new(self, 0) } #[doc = "Bit 1 - SPI CS1 pin enable, 1: disable CS1, 0: spi_cs1 signal is from/to CS1 pin. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs1_dis(&mut self) -> CS1_DIS_W { CS1_DIS_W::new(self, 1) } #[doc = "Bit 2 - SPI CS2 pin enable, 1: disable CS2, 0: spi_cs2 signal is from/to CS2 pin. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs2_dis(&mut self) -> CS2_DIS_W { CS2_DIS_W::new(self, 2) } #[doc = "Bit 6 - 1: spi clk out disable, 0: spi clk out enable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn ck_dis(&mut self) -> CK_DIS_W { CK_DIS_W::new(self, 6) } #[doc = "Bits 7:9 - In the master mode the bits are the polarity of spi cs line, the value is equivalent to spi_cs ^ spi_master_cs_pol. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn master_cs_pol(&mut self) -> MASTER_CS_POL_W { MASTER_CS_POL_W::new(self, 7) } #[doc = "Bit 23 - spi slave input cs polarity select. 1: inv 0: not change. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn slave_cs_pol(&mut self) -> SLAVE_CS_POL_W { SLAVE_CS_POL_W::new(self, 23) } #[doc = "Bit 29 - 1: spi clk line is high when idle 0: spi clk line is low when idle. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn ck_idle_edge(&mut self) -> CK_IDLE_EDGE_W { CK_IDLE_EDGE_W::new(self, 29) } #[doc = "Bit 30 - spi cs line keep low when the bit is set. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_keep_active(&mut self) -> CS_KEEP_ACTIVE_W { CS_KEEP_ACTIVE_W::new(self, 30) } #[doc = "Bit 31 - 1: spi quad input swap enable 0: spi quad input swap disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn quad_din_pin_swap(&mut self) -> QUAD_DIN_PIN_SWAP_W { QUAD_DIN_PIN_SWAP_W::new(self, 31) } diff --git a/esp32p4/src/spi3/ms_dlen.rs b/esp32p4/src/spi3/ms_dlen.rs index 14a0b1bf7f..fab214224a 100644 --- a/esp32p4/src/spi3/ms_dlen.rs +++ b/esp32p4/src/spi3/ms_dlen.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:17 - The value of these bits is the configured SPI transmission data bit length in master mode DMA controlled transfer or CPU controlled transfer. The value is also the configured bit length in slave mode DMA RX controlled transfer. The register value shall be (bit_num-1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn ms_data_bitlen(&mut self) -> MS_DATA_BITLEN_W { MS_DATA_BITLEN_W::new(self, 0) } diff --git a/esp32p4/src/spi3/slave.rs b/esp32p4/src/spi3/slave.rs index a34c138e2f..a6e5758aff 100644 --- a/esp32p4/src/spi3/slave.rs +++ b/esp32p4/src/spi3/slave.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - SPI clock mode bits. 0: SPI clock is off when CS inactive 1: SPI clock is delayed one cycle after CS inactive 2: SPI clock is delayed two cycles after CS inactive 3: SPI clock is alwasy on. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clk_mode(&mut self) -> CLK_MODE_W { CLK_MODE_W::new(self, 0) } #[doc = "Bit 2 - {CPOL, CPHA},1: support spi clk mode 1 and 3, first edge output data B\\[0\\]/B\\[7\\]. 0: support spi clk mode 0 and 2, first edge output data B\\[1\\]/B\\[6\\]."] #[inline(always)] - #[must_use] pub fn clk_mode_13(&mut self) -> CLK_MODE_13_W { CLK_MODE_13_W::new(self, 2) } #[doc = "Bit 3 - It saves half a cycle when tsck is the same as rsck. 1: output data at rsck posedge 0: output data at tsck posedge"] #[inline(always)] - #[must_use] pub fn rsck_data_out(&mut self) -> RSCK_DATA_OUT_W { RSCK_DATA_OUT_W::new(self, 3) } #[doc = "Bit 8 - 1: SPI_SLV_DATA_BITLEN stores data bit length of master-read-slave data length in DMA controlled mode(Rd_DMA). 0: others"] #[inline(always)] - #[must_use] pub fn slv_rddma_bitlen_en(&mut self) -> SLV_RDDMA_BITLEN_EN_W { SLV_RDDMA_BITLEN_EN_W::new(self, 8) } #[doc = "Bit 9 - 1: SPI_SLV_DATA_BITLEN stores data bit length of master-write-to-slave data length in DMA controlled mode(Wr_DMA). 0: others"] #[inline(always)] - #[must_use] pub fn slv_wrdma_bitlen_en(&mut self) -> SLV_WRDMA_BITLEN_EN_W { SLV_WRDMA_BITLEN_EN_W::new(self, 9) } #[doc = "Bit 10 - 1: SPI_SLV_DATA_BITLEN stores data bit length of master-read-slave data length in CPU controlled mode(Rd_BUF). 0: others"] #[inline(always)] - #[must_use] pub fn slv_rdbuf_bitlen_en(&mut self) -> SLV_RDBUF_BITLEN_EN_W { SLV_RDBUF_BITLEN_EN_W::new(self, 10) } #[doc = "Bit 11 - 1: SPI_SLV_DATA_BITLEN stores data bit length of master-write-to-slave data length in CPU controlled mode(Wr_BUF). 0: others"] #[inline(always)] - #[must_use] pub fn slv_wrbuf_bitlen_en(&mut self) -> SLV_WRBUF_BITLEN_EN_W { SLV_WRBUF_BITLEN_EN_W::new(self, 11) } #[doc = "Bit 26 - Set SPI work mode. 1: slave mode 0: master mode."] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 26) } #[doc = "Bit 27 - Software reset enable, reset the spi clock line cs line and data lines. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn soft_reset(&mut self) -> SOFT_RESET_W { SOFT_RESET_W::new(self, 27) } #[doc = "Bit 29 - In master full-duplex mode, 1: GP-SPI will wait DMA TX data is ready before starting SPI transfer. 0: GP-SPI does not wait DMA TX data before starting SPI transfer."] #[inline(always)] - #[must_use] pub fn mst_fd_wait_dma_tx_data(&mut self) -> MST_FD_WAIT_DMA_TX_DATA_W { MST_FD_WAIT_DMA_TX_DATA_W::new(self, 29) } diff --git a/esp32p4/src/spi3/slave1.rs b/esp32p4/src/spi3/slave1.rs index 4e464a31b4..2408ff65a5 100644 --- a/esp32p4/src/spi3/slave1.rs +++ b/esp32p4/src/spi3/slave1.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:17 - The transferred data bit length in SPI slave FD and HD mode."] #[inline(always)] - #[must_use] pub fn slv_data_bitlen(&mut self) -> SLV_DATA_BITLEN_W { SLV_DATA_BITLEN_W::new(self, 0) } #[doc = "Bits 18:25 - In the slave mode it is the value of command."] #[inline(always)] - #[must_use] pub fn slv_last_command(&mut self) -> SLV_LAST_COMMAND_W { SLV_LAST_COMMAND_W::new(self, 18) } #[doc = "Bits 26:31 - In the slave mode it is the value of address."] #[inline(always)] - #[must_use] pub fn slv_last_addr(&mut self) -> SLV_LAST_ADDR_W { SLV_LAST_ADDR_W::new(self, 26) } diff --git a/esp32p4/src/spi3/user.rs b/esp32p4/src/spi3/user.rs index f0dfb6d2ad..7eb58b0087 100644 --- a/esp32p4/src/spi3/user.rs +++ b/esp32p4/src/spi3/user.rs @@ -194,109 +194,91 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set the bit to enable full duplex communication. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn doutdin(&mut self) -> DOUTDIN_W { DOUTDIN_W::new(self, 0) } #[doc = "Bit 3 - Both for master mode and slave mode. 1: spi controller is in QPI mode. 0: others. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn qpi_mode(&mut self) -> QPI_MODE_W { QPI_MODE_W::new(self, 3) } #[doc = "Bit 5 - In the slave mode, this bit can be used to change the polarity of tsck. 0: tsck = spi_ck_i. 1:tsck = !spi_ck_i."] #[inline(always)] - #[must_use] pub fn tsck_i_edge(&mut self) -> TSCK_I_EDGE_W { TSCK_I_EDGE_W::new(self, 5) } #[doc = "Bit 6 - spi cs keep low when spi is in done phase. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_hold(&mut self) -> CS_HOLD_W { CS_HOLD_W::new(self, 6) } #[doc = "Bit 7 - spi cs is enable when spi is in prepare phase. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_setup(&mut self) -> CS_SETUP_W { CS_SETUP_W::new(self, 7) } #[doc = "Bit 8 - In the slave mode, this bit can be used to change the polarity of rsck. 0: rsck = !spi_ck_i. 1:rsck = spi_ck_i."] #[inline(always)] - #[must_use] pub fn rsck_i_edge(&mut self) -> RSCK_I_EDGE_W { RSCK_I_EDGE_W::new(self, 8) } #[doc = "Bit 9 - the bit combined with spi_mosi_delay_mode bits to set mosi signal delay mode. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn ck_out_edge(&mut self) -> CK_OUT_EDGE_W { CK_OUT_EDGE_W::new(self, 9) } #[doc = "Bit 12 - In the write operations read-data phase apply 2 signals. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fwrite_dual(&mut self) -> FWRITE_DUAL_W { FWRITE_DUAL_W::new(self, 12) } #[doc = "Bit 13 - In the write operations read-data phase apply 4 signals. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fwrite_quad(&mut self) -> FWRITE_QUAD_W { FWRITE_QUAD_W::new(self, 13) } #[doc = "Bit 17 - Set the bit to enable 3-line half duplex communication mosi and miso signals share the same pin. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn sio(&mut self) -> SIO_W { SIO_W::new(self, 17) } #[doc = "Bit 24 - read-data phase only access to high-part of the buffer spi_w8~spi_w15. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_miso_highpart(&mut self) -> USR_MISO_HIGHPART_W { USR_MISO_HIGHPART_W::new(self, 24) } #[doc = "Bit 25 - write-data phase only access to high-part of the buffer spi_w8~spi_w15. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_mosi_highpart(&mut self) -> USR_MOSI_HIGHPART_W { USR_MOSI_HIGHPART_W::new(self, 25) } #[doc = "Bit 26 - spi clock is disable in dummy phase when the bit is enable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_dummy_idle(&mut self) -> USR_DUMMY_IDLE_W { USR_DUMMY_IDLE_W::new(self, 26) } #[doc = "Bit 27 - This bit enable the write-data phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_mosi(&mut self) -> USR_MOSI_W { USR_MOSI_W::new(self, 27) } #[doc = "Bit 28 - This bit enable the read-data phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_miso(&mut self) -> USR_MISO_W { USR_MISO_W::new(self, 28) } #[doc = "Bit 29 - This bit enable the dummy phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_dummy(&mut self) -> USR_DUMMY_W { USR_DUMMY_W::new(self, 29) } #[doc = "Bit 30 - This bit enable the address phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_addr(&mut self) -> USR_ADDR_W { USR_ADDR_W::new(self, 30) } #[doc = "Bit 31 - This bit enable the command phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_command(&mut self) -> USR_COMMAND_W { USR_COMMAND_W::new(self, 31) } diff --git a/esp32p4/src/spi3/user1.rs b/esp32p4/src/spi3/user1.rs index 95f635fa29..ebf323bb54 100644 --- a/esp32p4/src/spi3/user1.rs +++ b/esp32p4/src/spi3/user1.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - The length in spi_clk cycles of dummy phase. The register value shall be (cycle_num-1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_dummy_cyclelen(&mut self) -> USR_DUMMY_CYCLELEN_W { USR_DUMMY_CYCLELEN_W::new(self, 0) } #[doc = "Bit 16 - 1: SPI transfer is ended when SPI RX AFIFO wfull error is valid in GP-SPI master FD/HD-mode. 0: SPI transfer is not ended when SPI RX AFIFO wfull error is valid in GP-SPI master FD/HD-mode."] #[inline(always)] - #[must_use] pub fn mst_wfull_err_end_en(&mut self) -> MST_WFULL_ERR_END_EN_W { MST_WFULL_ERR_END_EN_W::new(self, 16) } #[doc = "Bits 17:21 - (cycles+1) of prepare phase by spi clock this bits are combined with spi_cs_setup bit. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_setup_time(&mut self) -> CS_SETUP_TIME_W { CS_SETUP_TIME_W::new(self, 17) } #[doc = "Bits 22:26 - delay cycles of cs pin by spi clock this bits are combined with spi_cs_hold bit. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_hold_time(&mut self) -> CS_HOLD_TIME_W { CS_HOLD_TIME_W::new(self, 22) } #[doc = "Bits 27:31 - The length in bits of address phase. The register value shall be (bit_num-1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_addr_bitlen(&mut self) -> USR_ADDR_BITLEN_W { USR_ADDR_BITLEN_W::new(self, 27) } diff --git a/esp32p4/src/spi3/user2.rs b/esp32p4/src/spi3/user2.rs index df58aa38b9..3508800e72 100644 --- a/esp32p4/src/spi3/user2.rs +++ b/esp32p4/src/spi3/user2.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The value of command. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_command_value(&mut self) -> USR_COMMAND_VALUE_W { USR_COMMAND_VALUE_W::new(self, 0) } #[doc = "Bit 27 - 1: SPI transfer is ended when SPI TX AFIFO read empty error is valid in GP-SPI master FD/HD-mode. 0: SPI transfer is not ended when SPI TX AFIFO read empty error is valid in GP-SPI master FD/HD-mode."] #[inline(always)] - #[must_use] pub fn mst_rempty_err_end_en(&mut self) -> MST_REMPTY_ERR_END_EN_W { MST_REMPTY_ERR_END_EN_W::new(self, 27) } #[doc = "Bits 28:31 - The length in bits of command phase. The register value shall be (bit_num-1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_command_bitlen(&mut self) -> USR_COMMAND_BITLEN_W { USR_COMMAND_BITLEN_W::new(self, 28) } diff --git a/esp32p4/src/spi3/w.rs b/esp32p4/src/spi3/w.rs index 938ceae002..dfd00d53e3 100644 --- a/esp32p4/src/spi3/w.rs +++ b/esp32p4/src/spi3/w.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - data buffer"] #[inline(always)] - #[must_use] pub fn buf(&mut self) -> BUF_W { BUF_W::new(self, 0) } diff --git a/esp32p4/src/systimer/comp_load.rs b/esp32p4/src/systimer/comp_load.rs index 3194371312..65145bf616 100644 --- a/esp32p4/src/systimer/comp_load.rs +++ b/esp32p4/src/systimer/comp_load.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - timer comp0 sync enable signal"] #[inline(always)] - #[must_use] pub fn load(&mut self) -> LOAD_W { LOAD_W::new(self, 0) } diff --git a/esp32p4/src/systimer/conf.rs b/esp32p4/src/systimer/conf.rs index cc41037744..0f0010318b 100644 --- a/esp32p4/src/systimer/conf.rs +++ b/esp32p4/src/systimer/conf.rs @@ -146,73 +146,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - systimer clock force on"] #[inline(always)] - #[must_use] pub fn systimer_clk_fo(&mut self) -> SYSTIMER_CLK_FO_W { SYSTIMER_CLK_FO_W::new(self, 0) } #[doc = "Bit 1 - enable systimer's etm task and event"] #[inline(always)] - #[must_use] pub fn etm_en(&mut self) -> ETM_EN_W { ETM_EN_W::new(self, 1) } #[doc = "Bit 22 - target2 work enable"] #[inline(always)] - #[must_use] pub fn target2_work_en(&mut self) -> TARGET2_WORK_EN_W { TARGET2_WORK_EN_W::new(self, 22) } #[doc = "Bit 23 - target1 work enable"] #[inline(always)] - #[must_use] pub fn target1_work_en(&mut self) -> TARGET1_WORK_EN_W { TARGET1_WORK_EN_W::new(self, 23) } #[doc = "Bit 24 - target0 work enable"] #[inline(always)] - #[must_use] pub fn target0_work_en(&mut self) -> TARGET0_WORK_EN_W { TARGET0_WORK_EN_W::new(self, 24) } #[doc = "Bit 25 - If timer unit1 is stalled when core1 stalled"] #[inline(always)] - #[must_use] pub fn timer_unit1_core1_stall_en(&mut self) -> TIMER_UNIT1_CORE1_STALL_EN_W { TIMER_UNIT1_CORE1_STALL_EN_W::new(self, 25) } #[doc = "Bit 26 - If timer unit1 is stalled when core0 stalled"] #[inline(always)] - #[must_use] pub fn timer_unit1_core0_stall_en(&mut self) -> TIMER_UNIT1_CORE0_STALL_EN_W { TIMER_UNIT1_CORE0_STALL_EN_W::new(self, 26) } #[doc = "Bit 27 - If timer unit0 is stalled when core1 stalled"] #[inline(always)] - #[must_use] pub fn timer_unit0_core1_stall_en(&mut self) -> TIMER_UNIT0_CORE1_STALL_EN_W { TIMER_UNIT0_CORE1_STALL_EN_W::new(self, 27) } #[doc = "Bit 28 - If timer unit0 is stalled when core0 stalled"] #[inline(always)] - #[must_use] pub fn timer_unit0_core0_stall_en(&mut self) -> TIMER_UNIT0_CORE0_STALL_EN_W { TIMER_UNIT0_CORE0_STALL_EN_W::new(self, 28) } #[doc = "Bit 29 - timer unit1 work enable"] #[inline(always)] - #[must_use] pub fn timer_unit1_work_en(&mut self) -> TIMER_UNIT1_WORK_EN_W { TIMER_UNIT1_WORK_EN_W::new(self, 29) } #[doc = "Bit 30 - timer unit0 work enable"] #[inline(always)] - #[must_use] pub fn timer_unit0_work_en(&mut self) -> TIMER_UNIT0_WORK_EN_W { TIMER_UNIT0_WORK_EN_W::new(self, 30) } #[doc = "Bit 31 - register file clk gating"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32p4/src/systimer/date.rs b/esp32p4/src/systimer/date.rs index 95e1c9957e..baf7098490 100644 --- a/esp32p4/src/systimer/date.rs +++ b/esp32p4/src/systimer/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - systimer register version"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32p4/src/systimer/int_clr.rs b/esp32p4/src/systimer/int_clr.rs index 06260e5ca1..7a322a9bd7 100644 --- a/esp32p4/src/systimer/int_clr.rs +++ b/esp32p4/src/systimer/int_clr.rs @@ -13,7 +13,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TARGET0` field.
"] #[inline(always)] - #[must_use] pub fn target(&mut self, n: u8) -> TARGET_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -21,19 +20,16 @@ impl W { } #[doc = "Bit 0 - interupt0 clear"] #[inline(always)] - #[must_use] pub fn target0(&mut self) -> TARGET_W { TARGET_W::new(self, 0) } #[doc = "Bit 1 - interupt1 clear"] #[inline(always)] - #[must_use] pub fn target1(&mut self) -> TARGET_W { TARGET_W::new(self, 1) } #[doc = "Bit 2 - interupt2 clear"] #[inline(always)] - #[must_use] pub fn target2(&mut self) -> TARGET_W { TARGET_W::new(self, 2) } @@ -47,7 +43,7 @@ impl crate::RegisterSpec for INT_CLR_SPEC { impl crate::Writable for INT_CLR_SPEC { type Safety = crate::Unsafe; const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0x01; + const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0x07; } #[doc = "`reset()` method sets INT_CLR to value 0"] impl crate::Resettable for INT_CLR_SPEC { diff --git a/esp32p4/src/systimer/int_ena.rs b/esp32p4/src/systimer/int_ena.rs index 23d45402ff..82161f02c6 100644 --- a/esp32p4/src/systimer/int_ena.rs +++ b/esp32p4/src/systimer/int_ena.rs @@ -53,7 +53,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TARGET0` field.
"] #[inline(always)] - #[must_use] pub fn target(&mut self, n: u8) -> TARGET_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -61,19 +60,16 @@ impl W { } #[doc = "Bit 0 - interupt0 enable"] #[inline(always)] - #[must_use] pub fn target0(&mut self) -> TARGET_W { TARGET_W::new(self, 0) } #[doc = "Bit 1 - interupt1 enable"] #[inline(always)] - #[must_use] pub fn target1(&mut self) -> TARGET_W { TARGET_W::new(self, 1) } #[doc = "Bit 2 - interupt2 enable"] #[inline(always)] - #[must_use] pub fn target2(&mut self) -> TARGET_W { TARGET_W::new(self, 2) } diff --git a/esp32p4/src/systimer/int_raw.rs b/esp32p4/src/systimer/int_raw.rs index ad619febb9..017321fd87 100644 --- a/esp32p4/src/systimer/int_raw.rs +++ b/esp32p4/src/systimer/int_raw.rs @@ -53,7 +53,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TARGET0` field.
"] #[inline(always)] - #[must_use] pub fn target(&mut self, n: u8) -> TARGET_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -61,19 +60,16 @@ impl W { } #[doc = "Bit 0 - interupt0 raw"] #[inline(always)] - #[must_use] pub fn target0(&mut self) -> TARGET_W { TARGET_W::new(self, 0) } #[doc = "Bit 1 - interupt1 raw"] #[inline(always)] - #[must_use] pub fn target1(&mut self) -> TARGET_W { TARGET_W::new(self, 1) } #[doc = "Bit 2 - interupt2 raw"] #[inline(always)] - #[must_use] pub fn target2(&mut self) -> TARGET_W { TARGET_W::new(self, 2) } diff --git a/esp32p4/src/systimer/target_conf.rs b/esp32p4/src/systimer/target_conf.rs index ad465124d5..9d3229b115 100644 --- a/esp32p4/src/systimer/target_conf.rs +++ b/esp32p4/src/systimer/target_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:25 - target0 period"] #[inline(always)] - #[must_use] pub fn period(&mut self) -> PERIOD_W { PERIOD_W::new(self, 0) } #[doc = "Bit 30 - Set target0 to period mode"] #[inline(always)] - #[must_use] pub fn period_mode(&mut self) -> PERIOD_MODE_W { PERIOD_MODE_W::new(self, 30) } #[doc = "Bit 31 - select which unit to compare"] #[inline(always)] - #[must_use] pub fn timer_unit_sel(&mut self) -> TIMER_UNIT_SEL_W { TIMER_UNIT_SEL_W::new(self, 31) } diff --git a/esp32p4/src/systimer/trgt/hi.rs b/esp32p4/src/systimer/trgt/hi.rs index 36b8397729..c34aac1756 100644 --- a/esp32p4/src/systimer/trgt/hi.rs +++ b/esp32p4/src/systimer/trgt/hi.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - timer taget0 high 20 bits"] #[inline(always)] - #[must_use] pub fn hi(&mut self) -> HI_W { HI_W::new(self, 0) } diff --git a/esp32p4/src/systimer/trgt/lo.rs b/esp32p4/src/systimer/trgt/lo.rs index 4b9aba9b31..3ac0a3df6b 100644 --- a/esp32p4/src/systimer/trgt/lo.rs +++ b/esp32p4/src/systimer/trgt/lo.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - timer taget0 low 32 bits"] #[inline(always)] - #[must_use] pub fn lo(&mut self) -> LO_W { LO_W::new(self, 0) } diff --git a/esp32p4/src/systimer/unit_load.rs b/esp32p4/src/systimer/unit_load.rs index d7131aea74..94a217b2b0 100644 --- a/esp32p4/src/systimer/unit_load.rs +++ b/esp32p4/src/systimer/unit_load.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - timer unit0 sync enable signal"] #[inline(always)] - #[must_use] pub fn load(&mut self) -> LOAD_W { LOAD_W::new(self, 0) } diff --git a/esp32p4/src/systimer/unit_op.rs b/esp32p4/src/systimer/unit_op.rs index 89b506eb04..f4f5c65665 100644 --- a/esp32p4/src/systimer/unit_op.rs +++ b/esp32p4/src/systimer/unit_op.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - update timer_unit0"] #[inline(always)] - #[must_use] pub fn update(&mut self) -> UPDATE_W { UPDATE_W::new(self, 30) } diff --git a/esp32p4/src/systimer/unitload/hi.rs b/esp32p4/src/systimer/unitload/hi.rs index 63e3720842..ff49b6d094 100644 --- a/esp32p4/src/systimer/unitload/hi.rs +++ b/esp32p4/src/systimer/unitload/hi.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - timer unit0 load high 20 bits"] #[inline(always)] - #[must_use] pub fn load_hi(&mut self) -> LOAD_HI_W { LOAD_HI_W::new(self, 0) } diff --git a/esp32p4/src/systimer/unitload/lo.rs b/esp32p4/src/systimer/unitload/lo.rs index 9569a393b8..f8b0d7491b 100644 --- a/esp32p4/src/systimer/unitload/lo.rs +++ b/esp32p4/src/systimer/unitload/lo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - timer unit0 load low 32 bits"] #[inline(always)] - #[must_use] pub fn load_lo(&mut self) -> LOAD_LO_W { LOAD_LO_W::new(self, 0) } diff --git a/esp32p4/src/timg0/int_clr.rs b/esp32p4/src/timg0/int_clr.rs index 6fb011ddf5..afc4de795f 100644 --- a/esp32p4/src/timg0/int_clr.rs +++ b/esp32p4/src/timg0/int_clr.rs @@ -15,7 +15,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `T0` field.
"] #[inline(always)] - #[must_use] pub fn t(&mut self, n: u8) -> T_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -23,19 +22,16 @@ impl W { } #[doc = "Bit 0 - Set this bit to clear the TIMG_T0_INT interrupt."] #[inline(always)] - #[must_use] pub fn t0(&mut self) -> T_W { T_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the TIMG_T1_INT interrupt."] #[inline(always)] - #[must_use] pub fn t1(&mut self) -> T_W { T_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the TIMG_WDT_INT interrupt."] #[inline(always)] - #[must_use] pub fn wdt(&mut self) -> WDT_W { WDT_W::new(self, 2) } @@ -49,7 +45,7 @@ impl crate::RegisterSpec for INT_CLR_SPEC { impl crate::Writable for INT_CLR_SPEC { type Safety = crate::Unsafe; const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0x05; + const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0x07; } #[doc = "`reset()` method sets INT_CLR to value 0"] impl crate::Resettable for INT_CLR_SPEC { diff --git a/esp32p4/src/timg0/int_ena.rs b/esp32p4/src/timg0/int_ena.rs index 66259c0741..be2a8a2375 100644 --- a/esp32p4/src/timg0/int_ena.rs +++ b/esp32p4/src/timg0/int_ena.rs @@ -57,7 +57,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `T0` field.
"] #[inline(always)] - #[must_use] pub fn t(&mut self, n: u8) -> T_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -65,19 +64,16 @@ impl W { } #[doc = "Bit 0 - The interrupt enable bit for the TIMG_T0_INT interrupt."] #[inline(always)] - #[must_use] pub fn t0(&mut self) -> T_W { T_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the TIMG_T1_INT interrupt."] #[inline(always)] - #[must_use] pub fn t1(&mut self) -> T_W { T_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the TIMG_WDT_INT interrupt."] #[inline(always)] - #[must_use] pub fn wdt(&mut self) -> WDT_W { WDT_W::new(self, 2) } diff --git a/esp32p4/src/timg0/ntimers_date.rs b/esp32p4/src/timg0/ntimers_date.rs index ec5b8dc1f4..b445d5060c 100644 --- a/esp32p4/src/timg0/ntimers_date.rs +++ b/esp32p4/src/timg0/ntimers_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Timer version control register"] #[inline(always)] - #[must_use] pub fn ntimgs_date(&mut self) -> NTIMGS_DATE_W { NTIMGS_DATE_W::new(self, 0) } diff --git a/esp32p4/src/timg0/regclk.rs b/esp32p4/src/timg0/regclk.rs index d0233d5efe..fb12e0fc28 100644 --- a/esp32p4/src/timg0/regclk.rs +++ b/esp32p4/src/timg0/regclk.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 28 - enable timer's etm task and event"] #[inline(always)] - #[must_use] pub fn etm_en(&mut self) -> ETM_EN_W { ETM_EN_W::new(self, 28) } #[doc = "Bit 29 - enable WDT's clock"] #[inline(always)] - #[must_use] pub fn wdt_clk_is_active(&mut self) -> WDT_CLK_IS_ACTIVE_W { WDT_CLK_IS_ACTIVE_W::new(self, 29) } #[doc = "Bit 30 - enable Timer 30's clock"] #[inline(always)] - #[must_use] pub fn timer_clk_is_active(&mut self) -> TIMER_CLK_IS_ACTIVE_W { TIMER_CLK_IS_ACTIVE_W::new(self, 30) } #[doc = "Bit 31 - Register clock gate signal. 1: Registers can be read and written to by software. 0: Registers can not be read or written to by software."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32p4/src/timg0/rtccalicfg.rs b/esp32p4/src/timg0/rtccalicfg.rs index 21b5c09681..93ca8766cf 100644 --- a/esp32p4/src/timg0/rtccalicfg.rs +++ b/esp32p4/src/timg0/rtccalicfg.rs @@ -62,25 +62,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - 0: one-shot frequency calculation,1: periodic frequency calculation,"] #[inline(always)] - #[must_use] pub fn rtc_cali_start_cycling(&mut self) -> RTC_CALI_START_CYCLING_W { RTC_CALI_START_CYCLING_W::new(self, 12) } #[doc = "Bits 13:14 - 0:rtc slow clock. 1:clk_8m, 2:xtal_32k."] #[inline(always)] - #[must_use] pub fn rtc_cali_clk_sel(&mut self) -> RTC_CALI_CLK_SEL_W { RTC_CALI_CLK_SEL_W::new(self, 13) } #[doc = "Bits 16:30 - Configure the time to calculate RTC slow clock's frequency."] #[inline(always)] - #[must_use] pub fn rtc_cali_max(&mut self) -> RTC_CALI_MAX_W { RTC_CALI_MAX_W::new(self, 16) } #[doc = "Bit 31 - Set this bit to start one-shot frequency calculation."] #[inline(always)] - #[must_use] pub fn rtc_cali_start(&mut self) -> RTC_CALI_START_W { RTC_CALI_START_W::new(self, 31) } diff --git a/esp32p4/src/timg0/rtccalicfg2.rs b/esp32p4/src/timg0/rtccalicfg2.rs index 9bcb8e66e3..c8e2a89280 100644 --- a/esp32p4/src/timg0/rtccalicfg2.rs +++ b/esp32p4/src/timg0/rtccalicfg2.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 3:6 - Cycles that release calibration timeout reset"] #[inline(always)] - #[must_use] pub fn rtc_cali_timeout_rst_cnt(&mut self) -> RTC_CALI_TIMEOUT_RST_CNT_W { RTC_CALI_TIMEOUT_RST_CNT_W::new(self, 3) } #[doc = "Bits 7:31 - Threshold value for the RTC calibration timer. If the calibration timer's value exceeds this threshold, a timeout is triggered."] #[inline(always)] - #[must_use] pub fn rtc_cali_timeout_thres(&mut self) -> RTC_CALI_TIMEOUT_THRES_W { RTC_CALI_TIMEOUT_THRES_W::new(self, 7) } diff --git a/esp32p4/src/timg0/t/alarmhi.rs b/esp32p4/src/timg0/t/alarmhi.rs index 70bb1f899d..15a64592c0 100644 --- a/esp32p4/src/timg0/t/alarmhi.rs +++ b/esp32p4/src/timg0/t/alarmhi.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - Timer %s alarm trigger time-base counter value, high 22 bits."] #[inline(always)] - #[must_use] pub fn alarm_hi(&mut self) -> ALARM_HI_W { ALARM_HI_W::new(self, 0) } diff --git a/esp32p4/src/timg0/t/alarmlo.rs b/esp32p4/src/timg0/t/alarmlo.rs index ecc2e8aae8..392a0eb764 100644 --- a/esp32p4/src/timg0/t/alarmlo.rs +++ b/esp32p4/src/timg0/t/alarmlo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Timer %s alarm trigger time-base counter value, low 32 bits."] #[inline(always)] - #[must_use] pub fn alarm_lo(&mut self) -> ALARM_LO_W { ALARM_LO_W::new(self, 0) } diff --git a/esp32p4/src/timg0/t/config.rs b/esp32p4/src/timg0/t/config.rs index aecadc7781..ab8db22ca2 100644 --- a/esp32p4/src/timg0/t/config.rs +++ b/esp32p4/src/timg0/t/config.rs @@ -76,43 +76,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 9 - 1: Use XTAL_CLK as the source clock of timer group. 0: Use APB_CLK as the source clock of timer group."] #[inline(always)] - #[must_use] pub fn use_xtal(&mut self) -> USE_XTAL_W { USE_XTAL_W::new(self, 9) } #[doc = "Bit 10 - When set, the alarm is enabled. This bit is automatically cleared once an alarm occurs."] #[inline(always)] - #[must_use] pub fn alarm_en(&mut self) -> ALARM_EN_W { ALARM_EN_W::new(self, 10) } #[doc = "Bit 12 - When set, Timer %s 's clock divider counter will be reset."] #[inline(always)] - #[must_use] pub fn divcnt_rst(&mut self) -> DIVCNT_RST_W { DIVCNT_RST_W::new(self, 12) } #[doc = "Bits 13:28 - Timer %s clock (T%s_clk) prescaler value."] #[inline(always)] - #[must_use] pub fn divider(&mut self) -> DIVIDER_W { DIVIDER_W::new(self, 13) } #[doc = "Bit 29 - When set, timer %s auto-reload at alarm is enabled."] #[inline(always)] - #[must_use] pub fn autoreload(&mut self) -> AUTORELOAD_W { AUTORELOAD_W::new(self, 29) } #[doc = "Bit 30 - When set, the timer %s time-base counter will increment every clock tick. When cleared, the timer %s time-base counter will decrement."] #[inline(always)] - #[must_use] pub fn increase(&mut self) -> INCREASE_W { INCREASE_W::new(self, 30) } #[doc = "Bit 31 - When set, the timer %s time-base counter is enabled."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 31) } diff --git a/esp32p4/src/timg0/t/load.rs b/esp32p4/src/timg0/t/load.rs index 69f5fbf50d..a1165066ec 100644 --- a/esp32p4/src/timg0/t/load.rs +++ b/esp32p4/src/timg0/t/load.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - Write any value to trigger a timer %s time-base counter reload."] #[inline(always)] - #[must_use] pub fn load(&mut self) -> LOAD_W { LOAD_W::new(self, 0) } diff --git a/esp32p4/src/timg0/t/loadhi.rs b/esp32p4/src/timg0/t/loadhi.rs index 8b4311cb8d..1f0e9e8016 100644 --- a/esp32p4/src/timg0/t/loadhi.rs +++ b/esp32p4/src/timg0/t/loadhi.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - High 22 bits of the value that a reload will load onto timer %s time-base counter."] #[inline(always)] - #[must_use] pub fn load_hi(&mut self) -> LOAD_HI_W { LOAD_HI_W::new(self, 0) } diff --git a/esp32p4/src/timg0/t/loadlo.rs b/esp32p4/src/timg0/t/loadlo.rs index 31e71a74dc..b2d9c23dc7 100644 --- a/esp32p4/src/timg0/t/loadlo.rs +++ b/esp32p4/src/timg0/t/loadlo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Low 32 bits of the value that a reload will load onto timer %s time-base Counter."] #[inline(always)] - #[must_use] pub fn load_lo(&mut self) -> LOAD_LO_W { LOAD_LO_W::new(self, 0) } diff --git a/esp32p4/src/timg0/t/update.rs b/esp32p4/src/timg0/t/update.rs index fd82a22f6c..285c7475f3 100644 --- a/esp32p4/src/timg0/t/update.rs +++ b/esp32p4/src/timg0/t/update.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - After writing 0 or 1 to TIMG_T%sUPDATE_REG, the counter value is latched."] #[inline(always)] - #[must_use] pub fn update(&mut self) -> UPDATE_W { UPDATE_W::new(self, 31) } diff --git a/esp32p4/src/timg0/wdtconfig0.rs b/esp32p4/src/timg0/wdtconfig0.rs index 6a227d7920..338f7c58c3 100644 --- a/esp32p4/src/timg0/wdtconfig0.rs +++ b/esp32p4/src/timg0/wdtconfig0.rs @@ -126,73 +126,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - WDT reset CPU enable."] #[inline(always)] - #[must_use] pub fn wdt_appcpu_reset_en(&mut self) -> WDT_APPCPU_RESET_EN_W { WDT_APPCPU_RESET_EN_W::new(self, 12) } #[doc = "Bit 13 - WDT reset CPU enable."] #[inline(always)] - #[must_use] pub fn wdt_procpu_reset_en(&mut self) -> WDT_PROCPU_RESET_EN_W { WDT_PROCPU_RESET_EN_W::new(self, 13) } #[doc = "Bit 14 - When set, Flash boot protection is enabled."] #[inline(always)] - #[must_use] pub fn wdt_flashboot_mod_en(&mut self) -> WDT_FLASHBOOT_MOD_EN_W { WDT_FLASHBOOT_MOD_EN_W::new(self, 14) } #[doc = "Bits 15:17 - System reset signal length selection. 0: 100 ns, 1: 200 ns, 2: 300 ns, 3: 400 ns, 4: 500 ns, 5: 800 ns, 6: 1.6 us, 7: 3.2 us."] #[inline(always)] - #[must_use] pub fn wdt_sys_reset_length(&mut self) -> WDT_SYS_RESET_LENGTH_W { WDT_SYS_RESET_LENGTH_W::new(self, 15) } #[doc = "Bits 18:20 - CPU reset signal length selection. 0: 100 ns, 1: 200 ns, 2: 300 ns, 3: 400 ns, 4: 500 ns, 5: 800 ns, 6: 1.6 us, 7: 3.2 us."] #[inline(always)] - #[must_use] pub fn wdt_cpu_reset_length(&mut self) -> WDT_CPU_RESET_LENGTH_W { WDT_CPU_RESET_LENGTH_W::new(self, 18) } #[doc = "Bit 21 - choose WDT clock:0-apb_clk, 1-xtal_clk."] #[inline(always)] - #[must_use] pub fn wdt_use_xtal(&mut self) -> WDT_USE_XTAL_W { WDT_USE_XTAL_W::new(self, 21) } #[doc = "Bit 22 - update the WDT configuration registers"] #[inline(always)] - #[must_use] pub fn wdt_conf_update_en(&mut self) -> WDT_CONF_UPDATE_EN_W { WDT_CONF_UPDATE_EN_W::new(self, 22) } #[doc = "Bits 23:24 - Stage 3 configuration. 0: off, 1: interrupt, 2: reset CPU, 3: reset system."] #[inline(always)] - #[must_use] pub fn wdt_stg3(&mut self) -> WDT_STG3_W { WDT_STG3_W::new(self, 23) } #[doc = "Bits 25:26 - Stage 2 configuration. 0: off, 1: interrupt, 2: reset CPU, 3: reset system."] #[inline(always)] - #[must_use] pub fn wdt_stg2(&mut self) -> WDT_STG2_W { WDT_STG2_W::new(self, 25) } #[doc = "Bits 27:28 - Stage 1 configuration. 0: off, 1: interrupt, 2: reset CPU, 3: reset system."] #[inline(always)] - #[must_use] pub fn wdt_stg1(&mut self) -> WDT_STG1_W { WDT_STG1_W::new(self, 27) } #[doc = "Bits 29:30 - Stage 0 configuration. 0: off, 1: interrupt, 2: reset CPU, 3: reset system."] #[inline(always)] - #[must_use] pub fn wdt_stg0(&mut self) -> WDT_STG0_W { WDT_STG0_W::new(self, 29) } #[doc = "Bit 31 - When set, MWDT is enabled."] #[inline(always)] - #[must_use] pub fn wdt_en(&mut self) -> WDT_EN_W { WDT_EN_W::new(self, 31) } diff --git a/esp32p4/src/timg0/wdtconfig1.rs b/esp32p4/src/timg0/wdtconfig1.rs index 5185123b6b..8649221be4 100644 --- a/esp32p4/src/timg0/wdtconfig1.rs +++ b/esp32p4/src/timg0/wdtconfig1.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - When set, WDT 's clock divider counter will be reset."] #[inline(always)] - #[must_use] pub fn wdt_divcnt_rst(&mut self) -> WDT_DIVCNT_RST_W { WDT_DIVCNT_RST_W::new(self, 0) } #[doc = "Bits 16:31 - MWDT clock prescaler value. MWDT clock period = 12.5 ns * TIMG_WDT_CLK_PRESCALE."] #[inline(always)] - #[must_use] pub fn wdt_clk_prescale(&mut self) -> WDT_CLK_PRESCALE_W { WDT_CLK_PRESCALE_W::new(self, 16) } diff --git a/esp32p4/src/timg0/wdtconfig2.rs b/esp32p4/src/timg0/wdtconfig2.rs index d7aedad9be..2eb13ae372 100644 --- a/esp32p4/src/timg0/wdtconfig2.rs +++ b/esp32p4/src/timg0/wdtconfig2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stage 0 timeout value, in MWDT clock cycles."] #[inline(always)] - #[must_use] pub fn wdt_stg0_hold(&mut self) -> WDT_STG0_HOLD_W { WDT_STG0_HOLD_W::new(self, 0) } diff --git a/esp32p4/src/timg0/wdtconfig3.rs b/esp32p4/src/timg0/wdtconfig3.rs index 3eb96b1e93..353e861c97 100644 --- a/esp32p4/src/timg0/wdtconfig3.rs +++ b/esp32p4/src/timg0/wdtconfig3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stage 1 timeout value, in MWDT clock cycles."] #[inline(always)] - #[must_use] pub fn wdt_stg1_hold(&mut self) -> WDT_STG1_HOLD_W { WDT_STG1_HOLD_W::new(self, 0) } diff --git a/esp32p4/src/timg0/wdtconfig4.rs b/esp32p4/src/timg0/wdtconfig4.rs index c522268b4c..adb732fce4 100644 --- a/esp32p4/src/timg0/wdtconfig4.rs +++ b/esp32p4/src/timg0/wdtconfig4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stage 2 timeout value, in MWDT clock cycles."] #[inline(always)] - #[must_use] pub fn wdt_stg2_hold(&mut self) -> WDT_STG2_HOLD_W { WDT_STG2_HOLD_W::new(self, 0) } diff --git a/esp32p4/src/timg0/wdtconfig5.rs b/esp32p4/src/timg0/wdtconfig5.rs index 61c6bfb1e1..a56ba8caeb 100644 --- a/esp32p4/src/timg0/wdtconfig5.rs +++ b/esp32p4/src/timg0/wdtconfig5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stage 3 timeout value, in MWDT clock cycles."] #[inline(always)] - #[must_use] pub fn wdt_stg3_hold(&mut self) -> WDT_STG3_HOLD_W { WDT_STG3_HOLD_W::new(self, 0) } diff --git a/esp32p4/src/timg0/wdtfeed.rs b/esp32p4/src/timg0/wdtfeed.rs index 5b3ae9b1dc..cd788cbe3e 100644 --- a/esp32p4/src/timg0/wdtfeed.rs +++ b/esp32p4/src/timg0/wdtfeed.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - Write any value to feed the MWDT. (WO)"] #[inline(always)] - #[must_use] pub fn wdt_feed(&mut self) -> WDT_FEED_W { WDT_FEED_W::new(self, 0) } diff --git a/esp32p4/src/timg0/wdtwprotect.rs b/esp32p4/src/timg0/wdtwprotect.rs index f3d13ea457..db5716850f 100644 --- a/esp32p4/src/timg0/wdtwprotect.rs +++ b/esp32p4/src/timg0/wdtwprotect.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - If the register contains a different value than its reset value, write protection is enabled."] #[inline(always)] - #[must_use] pub fn wdt_wkey(&mut self) -> WDT_WKEY_W { WDT_WKEY_W::new(self, 0) } diff --git a/esp32p4/src/trace0/ahb_config.rs b/esp32p4/src/trace0/ahb_config.rs index ca40e5a08b..68c83e9060 100644 --- a/esp32p4/src/trace0/ahb_config.rs +++ b/esp32p4/src/trace0/ahb_config.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - set hburst"] #[inline(always)] - #[must_use] pub fn hburst(&mut self) -> HBURST_W { HBURST_W::new(self, 0) } #[doc = "Bits 3:5 - set max continuous access for incr mode"] #[inline(always)] - #[must_use] pub fn max_incr(&mut self) -> MAX_INCR_W { MAX_INCR_W::new(self, 3) } diff --git a/esp32p4/src/trace0/clock_gate.rs b/esp32p4/src/trace0/clock_gate.rs index a34a470917..6870b56d5b 100644 --- a/esp32p4/src/trace0/clock_gate.rs +++ b/esp32p4/src/trace0/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable clock gate when access all registers in this module."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32p4/src/trace0/config.rs b/esp32p4/src/trace0/config.rs index a0cec71de8..67b528735d 100644 --- a/esp32p4/src/trace0/config.rs +++ b/esp32p4/src/trace0/config.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configure whether or not enable cpu trigger action.\\\\1: enable\\\\0:disable\\\\"] #[inline(always)] - #[must_use] pub fn dm_trigger_ena(&mut self) -> DM_TRIGGER_ENA_W { DM_TRIGGER_ENA_W::new(self, 0) } #[doc = "Bit 1 - Configure whether or not enable trace cpu haverest, when enabeld, if cpu have reset, the encoder will output a packet to report the address of the last instruction, and upon reset deassertion, the encoder start again.\\\\1: enabeld\\\\0: disabled\\\\"] #[inline(always)] - #[must_use] pub fn reset_ena(&mut self) -> RESET_ENA_W { RESET_ENA_W::new(self, 1) } #[doc = "Bit 2 - Configure whether or not enable trace cpu is halted, when enabeld, if the cpu halted, the encoder will output a packet to report the address of the last instruction, and upon halted deassertion, the encoder start again.When disabled, encoder will not report the last address before halted and first address after halted, cpu halted information will not be tracked. \\\\1: enabeld\\\\0: disabled\\\\"] #[inline(always)] - #[must_use] pub fn halt_ena(&mut self) -> HALT_ENA_W { HALT_ENA_W::new(self, 2) } #[doc = "Bit 3 - Configure whether or not enable stall cpu. When enabled, when the fifo almost full, the cpu will be stalled until the packets is able to write to fifo.\\\\1: enabled.\\\\0: disabled\\\\"] #[inline(always)] - #[must_use] pub fn stall_ena(&mut self) -> STALL_ENA_W { STALL_ENA_W::new(self, 3) } #[doc = "Bit 4 - Configure whether or not enable full-address mode.\\\\1: full address mode.\\\\0: delta address mode\\\\"] #[inline(always)] - #[must_use] pub fn full_address(&mut self) -> FULL_ADDRESS_W { FULL_ADDRESS_W::new(self, 4) } #[doc = "Bit 5 - Configure whether or not enabel implicit exception mode. When enabled,, do not sent exception address, only exception cause in exception packets.\\\\1: enabled\\\\0: disabled\\\\"] #[inline(always)] - #[must_use] pub fn implicit_except(&mut self) -> IMPLICIT_EXCEPT_W { IMPLICIT_EXCEPT_W::new(self, 5) } diff --git a/esp32p4/src/trace0/date.rs b/esp32p4/src/trace0/date.rs index 504bb73e1c..d38ae335a8 100644 --- a/esp32p4/src/trace0/date.rs +++ b/esp32p4/src/trace0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - version control register. Note that this default value stored is the latest date when the hardware logic was updated."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32p4/src/trace0/filter_comparator_control.rs b/esp32p4/src/trace0/filter_comparator_control.rs index 50385f5a74..75ced7cd84 100644 --- a/esp32p4/src/trace0/filter_comparator_control.rs +++ b/esp32p4/src/trace0/filter_comparator_control.rs @@ -26,9 +26,9 @@ pub type S_FUNCTION_W<'a, REG> = crate::FieldWriter<'a, REG, 3>; pub type S_NOTIFY_R = crate::BitReader; #[doc = "Field `S_NOTIFY` writer - Generate a trace packet explicitly reporting the address that cause the secondary match"] pub type S_NOTIFY_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `MATCH_MODE` reader - 0: only primary matches, \\\\1: primary and secondary comparator both matches(P\\&\\&S),\\\\ 2:either primary or secondary comparator matches !(P\\&\\&S), \\\\3: set when primary matches and continue to match until after secondary comparator matches"] +#[doc = "Field `MATCH_MODE` reader - 0: only primary matches, \\\\1: primary and secondary comparator both matches(P\\&\\&S),\\\\ 2:either primary or secondary comparator matches !(P\\&\\&S), \\\\3: set when primary matches and continue to match until after secondary comparator matches"] pub type MATCH_MODE_R = crate::FieldReader; -#[doc = "Field `MATCH_MODE` writer - 0: only primary matches, \\\\1: primary and secondary comparator both matches(P\\&\\&S),\\\\ 2:either primary or secondary comparator matches !(P\\&\\&S), \\\\3: set when primary matches and continue to match until after secondary comparator matches"] +#[doc = "Field `MATCH_MODE` writer - 0: only primary matches, \\\\1: primary and secondary comparator both matches(P\\&\\&S),\\\\ 2:either primary or secondary comparator matches !(P\\&\\&S), \\\\3: set when primary matches and continue to match until after secondary comparator matches"] pub type MATCH_MODE_W<'a, REG> = crate::FieldWriter<'a, REG, 2>; impl R { #[doc = "Bit 0 - Determines which input to compare against the primary comparator, \\\\0: iaddr, \\\\1: tval."] @@ -61,7 +61,7 @@ impl R { pub fn s_notify(&self) -> S_NOTIFY_R { S_NOTIFY_R::new(((self.bits >> 13) & 1) != 0) } - #[doc = "Bits 16:17 - 0: only primary matches, \\\\1: primary and secondary comparator both matches(P\\&\\&S),\\\\ 2:either primary or secondary comparator matches !(P\\&\\&S), \\\\3: set when primary matches and continue to match until after secondary comparator matches"] + #[doc = "Bits 16:17 - 0: only primary matches, \\\\1: primary and secondary comparator both matches(P\\&\\&S),\\\\ 2:either primary or secondary comparator matches !(P\\&\\&S), \\\\3: set when primary matches and continue to match until after secondary comparator matches"] #[inline(always)] pub fn match_mode(&self) -> MATCH_MODE_R { MATCH_MODE_R::new(((self.bits >> 16) & 3) as u8) @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Determines which input to compare against the primary comparator, \\\\0: iaddr, \\\\1: tval."] #[inline(always)] - #[must_use] pub fn p_input(&mut self) -> P_INPUT_W { P_INPUT_W::new(self, 0) } #[doc = "Bits 2:4 - Select the primary comparator function. \\\\0: equal, \\\\1: not equal, \\\\2: less than, \\\\3: less than or equal, \\\\4: greater than, \\\\5: greater than or equal, \\\\other: always match"] #[inline(always)] - #[must_use] pub fn p_function(&mut self) -> P_FUNCTION_W { P_FUNCTION_W::new(self, 2) } #[doc = "Bit 5 - Generate a trace packet explicitly reporting the address that cause the primary match"] #[inline(always)] - #[must_use] pub fn p_notify(&mut self) -> P_NOTIFY_W { P_NOTIFY_W::new(self, 5) } #[doc = "Bit 8 - Determines which input to compare against the secondary comparator, \\\\0: iaddr, \\\\1: tval."] #[inline(always)] - #[must_use] pub fn s_input(&mut self) -> S_INPUT_W { S_INPUT_W::new(self, 8) } #[doc = "Bits 10:12 - Select the secondary comparator function. \\\\0: equal, \\\\1: not equal, \\\\2: less than, \\\\3: less than or equal, \\\\4: greater than, \\\\5: greater than or equal, \\\\other: always match"] #[inline(always)] - #[must_use] pub fn s_function(&mut self) -> S_FUNCTION_W { S_FUNCTION_W::new(self, 10) } #[doc = "Bit 13 - Generate a trace packet explicitly reporting the address that cause the secondary match"] #[inline(always)] - #[must_use] pub fn s_notify(&mut self) -> S_NOTIFY_W { S_NOTIFY_W::new(self, 13) } - #[doc = "Bits 16:17 - 0: only primary matches, \\\\1: primary and secondary comparator both matches(P\\&\\&S),\\\\ 2:either primary or secondary comparator matches !(P\\&\\&S), \\\\3: set when primary matches and continue to match until after secondary comparator matches"] + #[doc = "Bits 16:17 - 0: only primary matches, \\\\1: primary and secondary comparator both matches(P\\&\\&S),\\\\ 2:either primary or secondary comparator matches !(P\\&\\&S), \\\\3: set when primary matches and continue to match until after secondary comparator matches"] #[inline(always)] - #[must_use] pub fn match_mode(&mut self) -> MATCH_MODE_W { MATCH_MODE_W::new(self, 16) } diff --git a/esp32p4/src/trace0/filter_control.rs b/esp32p4/src/trace0/filter_control.rs index f113158987..9dde8a058d 100644 --- a/esp32p4/src/trace0/filter_control.rs +++ b/esp32p4/src/trace0/filter_control.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configure whether or not enable filter unit. \\\\1: enable filter.\\\\ 0: always match"] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 0) } #[doc = "Bit 1 - when set, the comparator must be high in order for the filter to match"] #[inline(always)] - #[must_use] pub fn match_comp(&mut self) -> MATCH_COMP_W { MATCH_COMP_W::new(self, 1) } #[doc = "Bit 2 - when set, match privilege levels specified by \\hyperref\\[fielddesc:TRACEMATCHCHOICEPRIVILEGE\\]{TRACE_MATCH_CHOICE_PRIVILEGE}."] #[inline(always)] - #[must_use] pub fn match_privilege(&mut self) -> MATCH_PRIVILEGE_W { MATCH_PRIVILEGE_W::new(self, 2) } #[doc = "Bit 3 - when set, start matching from exception cause codes specified by \\hyperref\\[fielddesc:TRACEMATCHCHOICEECAUSE\\]{TRACE_MATCH_CHOICE_ECAUSE}, and stop matching upon return from the 1st matching exception."] #[inline(always)] - #[must_use] pub fn match_ecause(&mut self) -> MATCH_ECAUSE_W { MATCH_ECAUSE_W::new(self, 3) } #[doc = "Bit 4 - when set, start matching from a trap with the interrupt level codes specified by \\hyperref\\[fielddesc:TRACEMATCHVALUEINTERRUPT\\]{TRACE_MATCH_VALUE_INTERRUPT}, and stop matching upon return from the 1st matching trap."] #[inline(always)] - #[must_use] pub fn match_interrupt(&mut self) -> MATCH_INTERRUPT_W { MATCH_INTERRUPT_W::new(self, 4) } diff --git a/esp32p4/src/trace0/filter_match_control.rs b/esp32p4/src/trace0/filter_match_control.rs index bae8cf000a..44988452e0 100644 --- a/esp32p4/src/trace0/filter_match_control.rs +++ b/esp32p4/src/trace0/filter_match_control.rs @@ -44,7 +44,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Select match which privilege level when \\hyperref\\[fielddesc:TRACEMATCHPRIVILEGE\\]{TRACE_MATCH_PRIVILEGE} is set. \\\\1: machine mode. \\\\0: user mode"] #[inline(always)] - #[must_use] pub fn match_choice_privilege( &mut self, ) -> MATCH_CHOICE_PRIVILEGE_W { @@ -52,13 +51,11 @@ impl W { } #[doc = "Bit 1 - Select which match which itype when \\hyperref\\[fielddesc:TRACEMATCHINTERRUPT\\]{TRACE_MATCH_INTERRUP} is set. \\\\1: match itype of 2. \\\\0: match itype or 1."] #[inline(always)] - #[must_use] pub fn match_value_interrupt(&mut self) -> MATCH_VALUE_INTERRUPT_W { MATCH_VALUE_INTERRUPT_W::new(self, 1) } #[doc = "Bits 2:7 - specified which ecause matched."] #[inline(always)] - #[must_use] pub fn match_choice_ecause(&mut self) -> MATCH_CHOICE_ECAUSE_W { MATCH_CHOICE_ECAUSE_W::new(self, 2) } diff --git a/esp32p4/src/trace0/filter_p_comparator_match.rs b/esp32p4/src/trace0/filter_p_comparator_match.rs index 736060a0d5..2ea7de91f4 100644 --- a/esp32p4/src/trace0/filter_p_comparator_match.rs +++ b/esp32p4/src/trace0/filter_p_comparator_match.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - primary comparator match value"] #[inline(always)] - #[must_use] pub fn p_match(&mut self) -> P_MATCH_W { P_MATCH_W::new(self, 0) } diff --git a/esp32p4/src/trace0/filter_s_comparator_match.rs b/esp32p4/src/trace0/filter_s_comparator_match.rs index 76a00e8128..c27aad0544 100644 --- a/esp32p4/src/trace0/filter_s_comparator_match.rs +++ b/esp32p4/src/trace0/filter_s_comparator_match.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - secondary comparator match value"] #[inline(always)] - #[must_use] pub fn s_match(&mut self) -> S_MATCH_W { S_MATCH_W::new(self, 0) } diff --git a/esp32p4/src/trace0/intr_clr.rs b/esp32p4/src/trace0/intr_clr.rs index 95c7434b5a..c28d58be1a 100644 --- a/esp32p4/src/trace0/intr_clr.rs +++ b/esp32p4/src/trace0/intr_clr.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set 1 clear fifo overflow interrupt"] #[inline(always)] - #[must_use] pub fn fifo_overflow_intr_clr(&mut self) -> FIFO_OVERFLOW_INTR_CLR_W { FIFO_OVERFLOW_INTR_CLR_W::new(self, 0) } #[doc = "Bit 1 - Set 1 clear mem full interrupt"] #[inline(always)] - #[must_use] pub fn mem_full_intr_clr(&mut self) -> MEM_FULL_INTR_CLR_W { MEM_FULL_INTR_CLR_W::new(self, 1) } diff --git a/esp32p4/src/trace0/intr_ena.rs b/esp32p4/src/trace0/intr_ena.rs index 96c37dc1fd..f9ab9236d1 100644 --- a/esp32p4/src/trace0/intr_ena.rs +++ b/esp32p4/src/trace0/intr_ena.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 enable fifo_overflow interrupt"] #[inline(always)] - #[must_use] pub fn fifo_overflow_intr_ena(&mut self) -> FIFO_OVERFLOW_INTR_ENA_W { FIFO_OVERFLOW_INTR_ENA_W::new(self, 0) } #[doc = "Bit 1 - Set 1 enable mem_full interrupt"] #[inline(always)] - #[must_use] pub fn mem_full_intr_ena(&mut self) -> MEM_FULL_INTR_ENA_W { MEM_FULL_INTR_ENA_W::new(self, 1) } diff --git a/esp32p4/src/trace0/mem_addr_update.rs b/esp32p4/src/trace0/mem_addr_update.rs index 88c7e33a59..b8448fbb8f 100644 --- a/esp32p4/src/trace0/mem_addr_update.rs +++ b/esp32p4/src/trace0/mem_addr_update.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - when set, the will \\hyperref\\[fielddesc:TRACEMEMCURRENTADDR\\]{TRACE_MEM_CURRENT_ADDR} update to \\hyperref\\[fielddesc:TRACEMEMSTARTADDR\\]{TRACE_MEM_START_ADDR}."] #[inline(always)] - #[must_use] pub fn mem_current_addr_update(&mut self) -> MEM_CURRENT_ADDR_UPDATE_W { MEM_CURRENT_ADDR_UPDATE_W::new(self, 0) } diff --git a/esp32p4/src/trace0/mem_end_addr.rs b/esp32p4/src/trace0/mem_end_addr.rs index 42474c70d3..a6009c25da 100644 --- a/esp32p4/src/trace0/mem_end_addr.rs +++ b/esp32p4/src/trace0/mem_end_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The end address of trace memory"] #[inline(always)] - #[must_use] pub fn mem_end_addr(&mut self) -> MEM_END_ADDR_W { MEM_END_ADDR_W::new(self, 0) } diff --git a/esp32p4/src/trace0/mem_start_addr.rs b/esp32p4/src/trace0/mem_start_addr.rs index 9388d7d3d8..add425580f 100644 --- a/esp32p4/src/trace0/mem_start_addr.rs +++ b/esp32p4/src/trace0/mem_start_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The start address of trace memory"] #[inline(always)] - #[must_use] pub fn mem_start_addr(&mut self) -> MEM_START_ADDR_W { MEM_START_ADDR_W::new(self, 0) } diff --git a/esp32p4/src/trace0/resync_prolonged.rs b/esp32p4/src/trace0/resync_prolonged.rs index 10084e366a..f0b112ea50 100644 --- a/esp32p4/src/trace0/resync_prolonged.rs +++ b/esp32p4/src/trace0/resync_prolonged.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - count number, when count to this value, send a sync package"] #[inline(always)] - #[must_use] pub fn resync_prolonged(&mut self) -> RESYNC_PROLONGED_W { RESYNC_PROLONGED_W::new(self, 0) } #[doc = "Bits 24:25 - resyc mode sel: \\\\0: off, \\\\2: cycle count \\\\3: package num count"] #[inline(always)] - #[must_use] pub fn resync_mode(&mut self) -> RESYNC_MODE_W { RESYNC_MODE_W::new(self, 24) } diff --git a/esp32p4/src/trace0/trigger.rs b/esp32p4/src/trace0/trigger.rs index f5d5c40752..9873658eb5 100644 --- a/esp32p4/src/trace0/trigger.rs +++ b/esp32p4/src/trace0/trigger.rs @@ -38,25 +38,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configure whether or not start trace.\\\\1: start trace \\\\0: invalid\\\\"] #[inline(always)] - #[must_use] pub fn on(&mut self) -> ON_W { ON_W::new(self, 0) } #[doc = "Bit 1 - Configure whether or not stop trace.\\\\1: stop trace \\\\0: invalid\\\\"] #[inline(always)] - #[must_use] pub fn off(&mut self) -> OFF_W { OFF_W::new(self, 1) } #[doc = "Bit 2 - Configure memory loop mode. \\\\1: trace will loop wrtie trace_mem. \\\\0: when mem_current_addr at mem_end_addr, it will stop at the mem_end_addr\\\\"] #[inline(always)] - #[must_use] pub fn mem_loop(&mut self) -> MEM_LOOP_W { MEM_LOOP_W::new(self, 2) } #[doc = "Bit 3 - Configure whether or not enable auto-restart.\\\\1: enable\\\\0: disable\\\\"] #[inline(always)] - #[must_use] pub fn restart_ena(&mut self) -> RESTART_ENA_W { RESTART_ENA_W::new(self, 3) } diff --git a/esp32p4/src/twai0/bus_timing_0.rs b/esp32p4/src/twai0/bus_timing_0.rs index 61ba7f9077..87039b7af2 100644 --- a/esp32p4/src/twai0/bus_timing_0.rs +++ b/esp32p4/src/twai0/bus_timing_0.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - The period of the TWAI system clock is programmable and determines the individual bit timing. Software has R/W permission in reset mode and RO permission in operation mode."] #[inline(always)] - #[must_use] pub fn baud_presc(&mut self) -> BAUD_PRESC_W { BAUD_PRESC_W::new(self, 0) } #[doc = "Bits 14:15 - The synchronization jump width defines the maximum number of clock cycles a bit period may be shortened or lengthened. Software has R/W permission in reset mode and RO in operation mode."] #[inline(always)] - #[must_use] pub fn sync_jump_width(&mut self) -> SYNC_JUMP_WIDTH_W { SYNC_JUMP_WIDTH_W::new(self, 14) } diff --git a/esp32p4/src/twai0/bus_timing_1.rs b/esp32p4/src/twai0/bus_timing_1.rs index 26d7a9ebc3..df081c253a 100644 --- a/esp32p4/src/twai0/bus_timing_1.rs +++ b/esp32p4/src/twai0/bus_timing_1.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - The number of clock cycles in TSEG1 per bit timing. Software has R/W permission in reset mode and RO in operation mode."] #[inline(always)] - #[must_use] pub fn time_segment1(&mut self) -> TIME_SEGMENT1_W { TIME_SEGMENT1_W::new(self, 0) } #[doc = "Bits 4:6 - The number of clock cycles in TSEG2 per bit timing. Software has R/W permission in reset mode and RO in operation mode."] #[inline(always)] - #[must_use] pub fn time_segment2(&mut self) -> TIME_SEGMENT2_W { TIME_SEGMENT2_W::new(self, 4) } #[doc = "Bit 7 - 1: triple, the bus is sampled three times. 0: single, the bus is sampled once. Software has R/W permission in reset mode and RO in operation mode."] #[inline(always)] - #[must_use] pub fn time_sampling(&mut self) -> TIME_SAMPLING_W { TIME_SAMPLING_W::new(self, 7) } diff --git a/esp32p4/src/twai0/clock_divider.rs b/esp32p4/src/twai0/clock_divider.rs index e5721b1077..0738784a04 100644 --- a/esp32p4/src/twai0/clock_divider.rs +++ b/esp32p4/src/twai0/clock_divider.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - These bits are used to define the frequency at the external CLKOUT pin."] #[inline(always)] - #[must_use] pub fn cd(&mut self) -> CD_W { CD_W::new(self, 0) } #[doc = "Bit 8 - 1: Disable the external CLKOUT pin. 0: Enable the external CLKOUT pin. Software has R/W permission in reset mode and RO in operation mode."] #[inline(always)] - #[must_use] pub fn clock_off(&mut self) -> CLOCK_OFF_W { CLOCK_OFF_W::new(self, 8) } diff --git a/esp32p4/src/twai0/cmd.rs b/esp32p4/src/twai0/cmd.rs index 4000e226c1..ed3d8807ca 100644 --- a/esp32p4/src/twai0/cmd.rs +++ b/esp32p4/src/twai0/cmd.rs @@ -19,31 +19,26 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - 1: present, a message shall be transmitted. 0: absent"] #[inline(always)] - #[must_use] pub fn tx_request(&mut self) -> TX_REQUEST_W { TX_REQUEST_W::new(self, 0) } #[doc = "Bit 1 - 1: present, if not already in progress, a pending transmission request is cancelled. 0: absent"] #[inline(always)] - #[must_use] pub fn abort_tx(&mut self) -> ABORT_TX_W { ABORT_TX_W::new(self, 1) } #[doc = "Bit 2 - 1: released, the receive buffer, representing the message memory space in the RXFIFO is released. 0: no action"] #[inline(always)] - #[must_use] pub fn release_buffer(&mut self) -> RELEASE_BUFFER_W { RELEASE_BUFFER_W::new(self, 2) } #[doc = "Bit 3 - 1: clear, the data overrun status bit is cleared. 0: no action."] #[inline(always)] - #[must_use] pub fn clear_data_overrun(&mut self) -> CLEAR_DATA_OVERRUN_W { CLEAR_DATA_OVERRUN_W::new(self, 3) } #[doc = "Bit 4 - 1: present, a message shall be transmitted and received simultaneously. 0: absent."] #[inline(always)] - #[must_use] pub fn self_rx_request(&mut self) -> SELF_RX_REQUEST_W { SELF_RX_REQUEST_W::new(self, 4) } diff --git a/esp32p4/src/twai0/data_0.rs b/esp32p4/src/twai0/data_0.rs index 6fdd129fc8..3e2ec962f3 100644 --- a/esp32p4/src/twai0/data_0.rs +++ b/esp32p4/src/twai0/data_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance code register 0 with R/W Permission. In operation mode, when software initiate write operation, it is tx data register 0 and when software initiate read operation, it is rx data register 0."] #[inline(always)] - #[must_use] pub fn data_0(&mut self) -> DATA_0_W { DATA_0_W::new(self, 0) } diff --git a/esp32p4/src/twai0/data_1.rs b/esp32p4/src/twai0/data_1.rs index c91a0b6dd8..019e3f58c0 100644 --- a/esp32p4/src/twai0/data_1.rs +++ b/esp32p4/src/twai0/data_1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance code register 1 with R/W Permission. In operation mode, when software initiate write operation, it is tx data register 1 and when software initiate read operation, it is rx data register 1."] #[inline(always)] - #[must_use] pub fn data_1(&mut self) -> DATA_1_W { DATA_1_W::new(self, 0) } diff --git a/esp32p4/src/twai0/data_10.rs b/esp32p4/src/twai0/data_10.rs index 70a0be8b87..4d22ef5130 100644 --- a/esp32p4/src/twai0/data_10.rs +++ b/esp32p4/src/twai0/data_10.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, reserved with RO. In operation mode, when software initiate write operation, it is tx data register 10 and when software initiate read operation, it is rx data register 10."] #[inline(always)] - #[must_use] pub fn data_10(&mut self) -> DATA_10_W { DATA_10_W::new(self, 0) } diff --git a/esp32p4/src/twai0/data_11.rs b/esp32p4/src/twai0/data_11.rs index e5287cc344..d2891493fa 100644 --- a/esp32p4/src/twai0/data_11.rs +++ b/esp32p4/src/twai0/data_11.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, reserved with RO. In operation mode, when software initiate write operation, it is tx data register 11 and when software initiate read operation, it is rx data register 11."] #[inline(always)] - #[must_use] pub fn data_11(&mut self) -> DATA_11_W { DATA_11_W::new(self, 0) } diff --git a/esp32p4/src/twai0/data_12.rs b/esp32p4/src/twai0/data_12.rs index 498c60e55a..e958d4fb89 100644 --- a/esp32p4/src/twai0/data_12.rs +++ b/esp32p4/src/twai0/data_12.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, reserved with RO. In operation mode, when software initiate write operation, it is tx data register 12 and when software initiate read operation, it is rx data register 12."] #[inline(always)] - #[must_use] pub fn data_12(&mut self) -> DATA_12_W { DATA_12_W::new(self, 0) } diff --git a/esp32p4/src/twai0/data_2.rs b/esp32p4/src/twai0/data_2.rs index 56e0d260d0..994a79473b 100644 --- a/esp32p4/src/twai0/data_2.rs +++ b/esp32p4/src/twai0/data_2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance code register 2 with R/W Permission. In operation mode, when software initiate write operation, it is tx data register 2 and when software initiate read operation, it is rx data register 2."] #[inline(always)] - #[must_use] pub fn data_2(&mut self) -> DATA_2_W { DATA_2_W::new(self, 0) } diff --git a/esp32p4/src/twai0/data_3.rs b/esp32p4/src/twai0/data_3.rs index b68a342746..1dcc238f2d 100644 --- a/esp32p4/src/twai0/data_3.rs +++ b/esp32p4/src/twai0/data_3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance code register 3 with R/W Permission. In operation mode, when software initiate write operation, it is tx data register 3 and when software initiate read operation, it is rx data register 3."] #[inline(always)] - #[must_use] pub fn data_3(&mut self) -> DATA_3_W { DATA_3_W::new(self, 0) } diff --git a/esp32p4/src/twai0/data_4.rs b/esp32p4/src/twai0/data_4.rs index 1b6f8ce40b..dce4e900c9 100644 --- a/esp32p4/src/twai0/data_4.rs +++ b/esp32p4/src/twai0/data_4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance mask register 0 with R/W Permission. In operation mode, when software initiate write operation, it is tx data register 4 and when software initiate read operation, it is rx data register 4."] #[inline(always)] - #[must_use] pub fn data_4(&mut self) -> DATA_4_W { DATA_4_W::new(self, 0) } diff --git a/esp32p4/src/twai0/data_5.rs b/esp32p4/src/twai0/data_5.rs index e2c829e8ab..997e3420c5 100644 --- a/esp32p4/src/twai0/data_5.rs +++ b/esp32p4/src/twai0/data_5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance mask register 1 with R/W Permission. In operation mode, when software initiate write operation, it is tx data register 5 and when software initiate read operation, it is rx data register 5."] #[inline(always)] - #[must_use] pub fn data_5(&mut self) -> DATA_5_W { DATA_5_W::new(self, 0) } diff --git a/esp32p4/src/twai0/data_6.rs b/esp32p4/src/twai0/data_6.rs index 7e26fa97f3..62d243c59d 100644 --- a/esp32p4/src/twai0/data_6.rs +++ b/esp32p4/src/twai0/data_6.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance mask register 2 with R/W Permission. In operation mode, when software initiate write operation, it is tx data register 6 and when software initiate read operation, it is rx data register 6."] #[inline(always)] - #[must_use] pub fn data_6(&mut self) -> DATA_6_W { DATA_6_W::new(self, 0) } diff --git a/esp32p4/src/twai0/data_7.rs b/esp32p4/src/twai0/data_7.rs index f1ffabfca8..bad242cf5b 100644 --- a/esp32p4/src/twai0/data_7.rs +++ b/esp32p4/src/twai0/data_7.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance mask register 3 with R/W Permission. In operation mode, when software initiate write operation, it is tx data register 7 and when software initiate read operation, it is rx data register 7."] #[inline(always)] - #[must_use] pub fn data_7(&mut self) -> DATA_7_W { DATA_7_W::new(self, 0) } diff --git a/esp32p4/src/twai0/data_8.rs b/esp32p4/src/twai0/data_8.rs index 1a55b9d1af..41b1e62129 100644 --- a/esp32p4/src/twai0/data_8.rs +++ b/esp32p4/src/twai0/data_8.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, reserved with RO. In operation mode, when software initiate write operation, it is tx data register 8 and when software initiate read operation, it is rx data register 8."] #[inline(always)] - #[must_use] pub fn data_8(&mut self) -> DATA_8_W { DATA_8_W::new(self, 0) } diff --git a/esp32p4/src/twai0/data_9.rs b/esp32p4/src/twai0/data_9.rs index 870936f896..cf99309a0a 100644 --- a/esp32p4/src/twai0/data_9.rs +++ b/esp32p4/src/twai0/data_9.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, reserved with RO. In operation mode, when software initiate write operation, it is tx data register 9 and when software initiate read operation, it is rx data register 9."] #[inline(always)] - #[must_use] pub fn data_9(&mut self) -> DATA_9_W { DATA_9_W::new(self, 0) } diff --git a/esp32p4/src/twai0/eco_cfg.rs b/esp32p4/src/twai0/eco_cfg.rs index af2eb9cfb2..63158aed1f 100644 --- a/esp32p4/src/twai0/eco_cfg.rs +++ b/esp32p4/src/twai0/eco_cfg.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Enable eco module."] #[inline(always)] - #[must_use] pub fn rdn_ena(&mut self) -> RDN_ENA_W { RDN_ENA_W::new(self, 0) } diff --git a/esp32p4/src/twai0/err_warning_limit.rs b/esp32p4/src/twai0/err_warning_limit.rs index e41dd0394b..c106164220 100644 --- a/esp32p4/src/twai0/err_warning_limit.rs +++ b/esp32p4/src/twai0/err_warning_limit.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - The threshold that trigger error warning interrupt when this interrupt is enabled. Software has R/W permission in reset mode and RO in operation mode."] #[inline(always)] - #[must_use] pub fn err_warning_limit(&mut self) -> ERR_WARNING_LIMIT_W { ERR_WARNING_LIMIT_W::new(self, 0) } diff --git a/esp32p4/src/twai0/hw_cfg.rs b/esp32p4/src/twai0/hw_cfg.rs index f6458175db..2b41b18ff1 100644 --- a/esp32p4/src/twai0/hw_cfg.rs +++ b/esp32p4/src/twai0/hw_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Enable function that hardware control standby pin."] #[inline(always)] - #[must_use] pub fn hw_standby_en(&mut self) -> HW_STANDBY_EN_W { HW_STANDBY_EN_W::new(self, 0) } diff --git a/esp32p4/src/twai0/hw_standby_cnt.rs b/esp32p4/src/twai0/hw_standby_cnt.rs index 2f6ab1d6ac..c27b493d1a 100644 --- a/esp32p4/src/twai0/hw_standby_cnt.rs +++ b/esp32p4/src/twai0/hw_standby_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configure the number of cycles before standby becomes high when TWAI_HW_STANDBY_EN is enabled."] #[inline(always)] - #[must_use] pub fn standby_wait_cnt(&mut self) -> STANDBY_WAIT_CNT_W { STANDBY_WAIT_CNT_W::new(self, 0) } diff --git a/esp32p4/src/twai0/idle_intr_cnt.rs b/esp32p4/src/twai0/idle_intr_cnt.rs index c94de31b66..6008f23259 100644 --- a/esp32p4/src/twai0/idle_intr_cnt.rs +++ b/esp32p4/src/twai0/idle_intr_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configure the number of cycles before triggering idle interrupt."] #[inline(always)] - #[must_use] pub fn idle_intr_cnt(&mut self) -> IDLE_INTR_CNT_W { IDLE_INTR_CNT_W::new(self, 0) } diff --git a/esp32p4/src/twai0/interrupt_enable.rs b/esp32p4/src/twai0/interrupt_enable.rs index 2bdfce75c2..e46f1835c6 100644 --- a/esp32p4/src/twai0/interrupt_enable.rs +++ b/esp32p4/src/twai0/interrupt_enable.rs @@ -102,25 +102,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: enabled, when the receive buffer status is 'full' the TWAI controller requests the respective interrupt. 0: disable"] #[inline(always)] - #[must_use] pub fn ext_receive_int_ena(&mut self) -> EXT_RECEIVE_INT_ENA_W { EXT_RECEIVE_INT_ENA_W::new(self, 0) } #[doc = "Bit 1 - 1: enabled, when a message has been successfully transmitted or the transmit buffer is accessible again (e.g. after an abort transmission command), the TWAI controller requests the respective interrupt. 0: disable"] #[inline(always)] - #[must_use] pub fn ext_transmit_int_ena(&mut self) -> EXT_TRANSMIT_INT_ENA_W { EXT_TRANSMIT_INT_ENA_W::new(self, 1) } #[doc = "Bit 2 - 1: enabled, if the error or bus status change (see status register. Table 14), the TWAI controllerrequests the respective interrupt. 0: disable"] #[inline(always)] - #[must_use] pub fn ext_err_warning_int_ena(&mut self) -> EXT_ERR_WARNING_INT_ENA_W { EXT_ERR_WARNING_INT_ENA_W::new(self, 2) } #[doc = "Bit 3 - 1: enabled, if the data overrun status bit is set (see status register. Table 14), the TWAI controllerrequests the respective interrupt. 0: disable"] #[inline(always)] - #[must_use] pub fn ext_data_overrun_int_ena( &mut self, ) -> EXT_DATA_OVERRUN_INT_ENA_W { @@ -128,19 +124,16 @@ impl W { } #[doc = "Bit 4 - enable the timestamp counter overflow interrupt request."] #[inline(always)] - #[must_use] pub fn ts_counter_ovfl_int_ena(&mut self) -> TS_COUNTER_OVFL_INT_ENA_W { TS_COUNTER_OVFL_INT_ENA_W::new(self, 4) } #[doc = "Bit 5 - 1: enabled, if the error status of the TWAI controller changes from error active to error passive or vice versa, the respective interrupt is requested. 0: disable"] #[inline(always)] - #[must_use] pub fn err_passive_int_ena(&mut self) -> ERR_PASSIVE_INT_ENA_W { ERR_PASSIVE_INT_ENA_W::new(self, 5) } #[doc = "Bit 6 - 1: enabled, if the TWAI controller has lost arbitration, the respective interrupt is requested. 0: disable"] #[inline(always)] - #[must_use] pub fn arbitration_lost_int_ena( &mut self, ) -> ARBITRATION_LOST_INT_ENA_W { @@ -148,7 +141,6 @@ impl W { } #[doc = "Bit 7 - 1: enabled, if an bus error has been detected, the TWAI controller requests the respective interrupt. 0: disable"] #[inline(always)] - #[must_use] pub fn bus_err_int_ena(&mut self) -> BUS_ERR_INT_ENA_W { BUS_ERR_INT_ENA_W::new(self, 7) } diff --git a/esp32p4/src/twai0/mode.rs b/esp32p4/src/twai0/mode.rs index 6ce97cc497..6f848ead0f 100644 --- a/esp32p4/src/twai0/mode.rs +++ b/esp32p4/src/twai0/mode.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: reset, detection of a set reset mode bit results in aborting the current transmission/reception of a message and entering the reset mode. 0: normal, on the '1-to-0' transition of the reset mode bit, the TWAI controller returns to the operating mode."] #[inline(always)] - #[must_use] pub fn reset_mode(&mut self) -> RESET_MODE_W { RESET_MODE_W::new(self, 0) } #[doc = "Bit 1 - 1: listen only, in this mode the TWAI controller would give no acknowledge to the TWAI-bus, even if a message is received successfully. The error counters are stopped at the current value. 0: normal."] #[inline(always)] - #[must_use] pub fn listen_only_mode(&mut self) -> LISTEN_ONLY_MODE_W { LISTEN_ONLY_MODE_W::new(self, 1) } #[doc = "Bit 2 - 1: self test, in this mode a full node test is possible without any other active node on the bus using the self reception request command. The TWAI controller will perform a successful transmission, even if there is no acknowledge received. 0: normal, an acknowledge is required for successful transmission."] #[inline(always)] - #[must_use] pub fn self_test_mode(&mut self) -> SELF_TEST_MODE_W { SELF_TEST_MODE_W::new(self, 2) } #[doc = "Bit 3 - 1:single, the single acceptance filter option is enabled (one filter with the length of 32 bit is active). 0:dual, the dual acceptance filter option is enabled (two filters, each with the length of 16 bit are active)."] #[inline(always)] - #[must_use] pub fn acceptance_filter_mode(&mut self) -> ACCEPTANCE_FILTER_MODE_W { ACCEPTANCE_FILTER_MODE_W::new(self, 3) } diff --git a/esp32p4/src/twai0/rx_err_cnt.rs b/esp32p4/src/twai0/rx_err_cnt.rs index 784a490910..6d9c46bfa9 100644 --- a/esp32p4/src/twai0/rx_err_cnt.rs +++ b/esp32p4/src/twai0/rx_err_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - The RX error counter register reflects the current value of the transmit error counter. Software has R/W permission in reset mode and RO in operation mode."] #[inline(always)] - #[must_use] pub fn rx_err_cnt(&mut self) -> RX_ERR_CNT_W { RX_ERR_CNT_W::new(self, 0) } diff --git a/esp32p4/src/twai0/sw_standby_cfg.rs b/esp32p4/src/twai0/sw_standby_cfg.rs index d3b1779c31..4163b9a685 100644 --- a/esp32p4/src/twai0/sw_standby_cfg.rs +++ b/esp32p4/src/twai0/sw_standby_cfg.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Enable standby pin."] #[inline(always)] - #[must_use] pub fn sw_standby_en(&mut self) -> SW_STANDBY_EN_W { SW_STANDBY_EN_W::new(self, 0) } #[doc = "Bit 1 - Clear standby pin."] #[inline(always)] - #[must_use] pub fn sw_standby_clr(&mut self) -> SW_STANDBY_CLR_W { SW_STANDBY_CLR_W::new(self, 1) } diff --git a/esp32p4/src/twai0/timestamp_cfg.rs b/esp32p4/src/twai0/timestamp_cfg.rs index 922cfd804d..f8dbe68c57 100644 --- a/esp32p4/src/twai0/timestamp_cfg.rs +++ b/esp32p4/src/twai0/timestamp_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - enable the timestamp collection function."] #[inline(always)] - #[must_use] pub fn ts_enable(&mut self) -> TS_ENABLE_W { TS_ENABLE_W::new(self, 0) } diff --git a/esp32p4/src/twai0/timestamp_prescaler.rs b/esp32p4/src/twai0/timestamp_prescaler.rs index 728bca07d9..0907fea873 100644 --- a/esp32p4/src/twai0/timestamp_prescaler.rs +++ b/esp32p4/src/twai0/timestamp_prescaler.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Configures the clock division number of timestamp counter."] #[inline(always)] - #[must_use] pub fn ts_div_num(&mut self) -> TS_DIV_NUM_W { TS_DIV_NUM_W::new(self, 0) } diff --git a/esp32p4/src/twai0/tx_err_cnt.rs b/esp32p4/src/twai0/tx_err_cnt.rs index d0452c6f06..5f20fc6768 100644 --- a/esp32p4/src/twai0/tx_err_cnt.rs +++ b/esp32p4/src/twai0/tx_err_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - The TX error counter register reflects the current value of the transmit error counter. Software has R/W permission in reset mode and RO in operation mode."] #[inline(always)] - #[must_use] pub fn tx_err_cnt(&mut self) -> TX_ERR_CNT_W { TX_ERR_CNT_W::new(self, 0) } diff --git a/esp32p4/src/uart0/at_cmd_char.rs b/esp32p4/src/uart0/at_cmd_char.rs index 63f615f0bb..0cf119bced 100644 --- a/esp32p4/src/uart0/at_cmd_char.rs +++ b/esp32p4/src/uart0/at_cmd_char.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register is used to configure the content of at_cmd char."] #[inline(always)] - #[must_use] pub fn at_cmd_char(&mut self) -> AT_CMD_CHAR_W { AT_CMD_CHAR_W::new(self, 0) } #[doc = "Bits 8:15 - This register is used to configure the num of continuous at_cmd chars received by receiver."] #[inline(always)] - #[must_use] pub fn char_num(&mut self) -> CHAR_NUM_W { CHAR_NUM_W::new(self, 8) } diff --git a/esp32p4/src/uart0/at_cmd_gaptout.rs b/esp32p4/src/uart0/at_cmd_gaptout.rs index aeb0fab8c1..db829b172f 100644 --- a/esp32p4/src/uart0/at_cmd_gaptout.rs +++ b/esp32p4/src/uart0/at_cmd_gaptout.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the duration time between the at_cmd chars."] #[inline(always)] - #[must_use] pub fn rx_gap_tout(&mut self) -> RX_GAP_TOUT_W { RX_GAP_TOUT_W::new(self, 0) } diff --git a/esp32p4/src/uart0/at_cmd_postcnt.rs b/esp32p4/src/uart0/at_cmd_postcnt.rs index a7bf7d2792..1ca8f0cec9 100644 --- a/esp32p4/src/uart0/at_cmd_postcnt.rs +++ b/esp32p4/src/uart0/at_cmd_postcnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the duration time between the last at_cmd and the next data."] #[inline(always)] - #[must_use] pub fn post_idle_num(&mut self) -> POST_IDLE_NUM_W { POST_IDLE_NUM_W::new(self, 0) } diff --git a/esp32p4/src/uart0/at_cmd_precnt.rs b/esp32p4/src/uart0/at_cmd_precnt.rs index c49f64f592..762bf3e056 100644 --- a/esp32p4/src/uart0/at_cmd_precnt.rs +++ b/esp32p4/src/uart0/at_cmd_precnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the idle duration time before the first at_cmd is received by receiver."] #[inline(always)] - #[must_use] pub fn pre_idle_num(&mut self) -> PRE_IDLE_NUM_W { PRE_IDLE_NUM_W::new(self, 0) } diff --git a/esp32p4/src/uart0/clk_conf.rs b/esp32p4/src/uart0/clk_conf.rs index 71e295a2b4..9ce380d8c3 100644 --- a/esp32p4/src/uart0/clk_conf.rs +++ b/esp32p4/src/uart0/clk_conf.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 23 - Write 1 then write 0 to this bit, reset UART Tx/Rx."] #[inline(always)] - #[must_use] pub fn rst_core(&mut self) -> RST_CORE_W { RST_CORE_W::new(self, 23) } #[doc = "Bit 24 - Set this bit to enable UART Tx clock."] #[inline(always)] - #[must_use] pub fn tx_sclk_en(&mut self) -> TX_SCLK_EN_W { TX_SCLK_EN_W::new(self, 24) } #[doc = "Bit 25 - Set this bit to enable UART Rx clock."] #[inline(always)] - #[must_use] pub fn rx_sclk_en(&mut self) -> RX_SCLK_EN_W { RX_SCLK_EN_W::new(self, 25) } #[doc = "Bit 26 - Write 1 then write 0 to this bit to reset UART Tx."] #[inline(always)] - #[must_use] pub fn tx_rst_core(&mut self) -> TX_RST_CORE_W { TX_RST_CORE_W::new(self, 26) } #[doc = "Bit 27 - Write 1 then write 0 to this bit to reset UART Rx."] #[inline(always)] - #[must_use] pub fn rx_rst_core(&mut self) -> RX_RST_CORE_W { RX_RST_CORE_W::new(self, 27) } diff --git a/esp32p4/src/uart0/clkdiv.rs b/esp32p4/src/uart0/clkdiv.rs index 44ee8bde48..56e59d0f72 100644 --- a/esp32p4/src/uart0/clkdiv.rs +++ b/esp32p4/src/uart0/clkdiv.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - The integral part of the frequency divider factor."] #[inline(always)] - #[must_use] pub fn clkdiv(&mut self) -> CLKDIV_W { CLKDIV_W::new(self, 0) } #[doc = "Bits 20:23 - The decimal part of the frequency divider factor."] #[inline(always)] - #[must_use] pub fn clkdiv_frag(&mut self) -> CLKDIV_FRAG_W { CLKDIV_FRAG_W::new(self, 20) } diff --git a/esp32p4/src/uart0/conf0.rs b/esp32p4/src/uart0/conf0.rs index 63eb3d35f5..99a36457db 100644 --- a/esp32p4/src/uart0/conf0.rs +++ b/esp32p4/src/uart0/conf0.rs @@ -234,133 +234,111 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This register is used to configure the parity check mode."] #[inline(always)] - #[must_use] pub fn parity(&mut self) -> PARITY_W { PARITY_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to enable uart parity check."] #[inline(always)] - #[must_use] pub fn parity_en(&mut self) -> PARITY_EN_W { PARITY_EN_W::new(self, 1) } #[doc = "Bits 2:3 - This register is used to set the length of data."] #[inline(always)] - #[must_use] pub fn bit_num(&mut self) -> BIT_NUM_W { BIT_NUM_W::new(self, 2) } #[doc = "Bits 4:5 - This register is used to set the length of stop bit."] #[inline(always)] - #[must_use] pub fn stop_bit_num(&mut self) -> STOP_BIT_NUM_W { STOP_BIT_NUM_W::new(self, 4) } #[doc = "Bit 6 - Set this bit to enbale transmitter to send NULL when the process of sending data is done."] #[inline(always)] - #[must_use] pub fn txd_brk(&mut self) -> TXD_BRK_W { TXD_BRK_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to enable IrDA loopback mode."] #[inline(always)] - #[must_use] pub fn irda_dplx(&mut self) -> IRDA_DPLX_W { IRDA_DPLX_W::new(self, 7) } #[doc = "Bit 8 - This is the start enable bit for IrDA transmitter."] #[inline(always)] - #[must_use] pub fn irda_tx_en(&mut self) -> IRDA_TX_EN_W { IRDA_TX_EN_W::new(self, 8) } #[doc = "Bit 9 - 1'h1: The IrDA transmitter's 11th bit is the same as 10th bit. 1'h0: Set IrDA transmitter's 11th bit to 0."] #[inline(always)] - #[must_use] pub fn irda_wctl(&mut self) -> IRDA_WCTL_W { IRDA_WCTL_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to invert the level of IrDA transmitter."] #[inline(always)] - #[must_use] pub fn irda_tx_inv(&mut self) -> IRDA_TX_INV_W { IRDA_TX_INV_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to invert the level of IrDA receiver."] #[inline(always)] - #[must_use] pub fn irda_rx_inv(&mut self) -> IRDA_RX_INV_W { IRDA_RX_INV_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to enable uart loopback test mode."] #[inline(always)] - #[must_use] pub fn loopback(&mut self) -> LOOPBACK_W { LOOPBACK_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to enable flow control function for transmitter."] #[inline(always)] - #[must_use] pub fn tx_flow_en(&mut self) -> TX_FLOW_EN_W { TX_FLOW_EN_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to enable IrDA protocol."] #[inline(always)] - #[must_use] pub fn irda_en(&mut self) -> IRDA_EN_W { IRDA_EN_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to inverse the level value of uart rxd signal."] #[inline(always)] - #[must_use] pub fn rxd_inv(&mut self) -> RXD_INV_W { RXD_INV_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to inverse the level value of uart txd signal."] #[inline(always)] - #[must_use] pub fn txd_inv(&mut self) -> TXD_INV_W { TXD_INV_W::new(self, 16) } #[doc = "Bit 17 - Disable UART Rx data overflow detect."] #[inline(always)] - #[must_use] pub fn dis_rx_dat_ovf(&mut self) -> DIS_RX_DAT_OVF_W { DIS_RX_DAT_OVF_W::new(self, 17) } #[doc = "Bit 18 - 1'h1: Receiver stops storing data into FIFO when data is wrong. 1'h0: Receiver stores the data even if the received data is wrong."] #[inline(always)] - #[must_use] pub fn err_wr_mask(&mut self) -> ERR_WR_MASK_W { ERR_WR_MASK_W::new(self, 18) } #[doc = "Bit 19 - This is the enable bit for detecting baudrate."] #[inline(always)] - #[must_use] pub fn autobaud_en(&mut self) -> AUTOBAUD_EN_W { AUTOBAUD_EN_W::new(self, 19) } #[doc = "Bit 20 - UART memory clock gate enable signal."] #[inline(always)] - #[must_use] pub fn mem_clk_en(&mut self) -> MEM_CLK_EN_W { MEM_CLK_EN_W::new(self, 20) } #[doc = "Bit 21 - This register is used to configure the software rts signal which is used in software flow control."] #[inline(always)] - #[must_use] pub fn sw_rts(&mut self) -> SW_RTS_W { SW_RTS_W::new(self, 21) } #[doc = "Bit 22 - Set this bit to reset the uart receive-FIFO."] #[inline(always)] - #[must_use] pub fn rxfifo_rst(&mut self) -> RXFIFO_RST_W { RXFIFO_RST_W::new(self, 22) } #[doc = "Bit 23 - Set this bit to reset the uart transmit-FIFO."] #[inline(always)] - #[must_use] pub fn txfifo_rst(&mut self) -> TXFIFO_RST_W { TXFIFO_RST_W::new(self, 23) } diff --git a/esp32p4/src/uart0/conf1.rs b/esp32p4/src/uart0/conf1.rs index ce3e56a81b..0c5f51a063 100644 --- a/esp32p4/src/uart0/conf1.rs +++ b/esp32p4/src/uart0/conf1.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - It will produce rxfifo_full_int interrupt when receiver receives more data than this register value."] #[inline(always)] - #[must_use] pub fn rxfifo_full_thrhd(&mut self) -> RXFIFO_FULL_THRHD_W { RXFIFO_FULL_THRHD_W::new(self, 0) } #[doc = "Bits 8:15 - It will produce txfifo_empty_int interrupt when the data amount in Tx-FIFO is less than this register value."] #[inline(always)] - #[must_use] pub fn txfifo_empty_thrhd(&mut self) -> TXFIFO_EMPTY_THRHD_W { TXFIFO_EMPTY_THRHD_W::new(self, 8) } #[doc = "Bit 16 - Set this bit to inverse the level value of uart cts signal."] #[inline(always)] - #[must_use] pub fn cts_inv(&mut self) -> CTS_INV_W { CTS_INV_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to inverse the level value of uart dsr signal."] #[inline(always)] - #[must_use] pub fn dsr_inv(&mut self) -> DSR_INV_W { DSR_INV_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to inverse the level value of uart rts signal."] #[inline(always)] - #[must_use] pub fn rts_inv(&mut self) -> RTS_INV_W { RTS_INV_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to inverse the level value of uart dtr signal."] #[inline(always)] - #[must_use] pub fn dtr_inv(&mut self) -> DTR_INV_W { DTR_INV_W::new(self, 19) } #[doc = "Bit 20 - This register is used to configure the software dtr signal which is used in software flow control."] #[inline(always)] - #[must_use] pub fn sw_dtr(&mut self) -> SW_DTR_W { SW_DTR_W::new(self, 20) } #[doc = "Bit 21 - 1'h1: Force clock on for register. 1'h0: Support clock only when application writes registers."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 21) } diff --git a/esp32p4/src/uart0/date.rs b/esp32p4/src/uart0/date.rs index d96d4c51c8..440037dc01 100644 --- a/esp32p4/src/uart0/date.rs +++ b/esp32p4/src/uart0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This is the version register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32p4/src/uart0/fifo.rs b/esp32p4/src/uart0/fifo.rs index bbd207ed48..044c77bb18 100644 --- a/esp32p4/src/uart0/fifo.rs +++ b/esp32p4/src/uart0/fifo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - UART 0 accesses FIFO via this register."] #[inline(always)] - #[must_use] pub fn rxfifo_rd_byte(&mut self) -> RXFIFO_RD_BYTE_W { RXFIFO_RD_BYTE_W::new(self, 0) } diff --git a/esp32p4/src/uart0/hwfc_conf.rs b/esp32p4/src/uart0/hwfc_conf.rs index 4498df7d34..629a2ddd8f 100644 --- a/esp32p4/src/uart0/hwfc_conf.rs +++ b/esp32p4/src/uart0/hwfc_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register is used to configure the maximum amount of data that can be received when hardware flow control works."] #[inline(always)] - #[must_use] pub fn rx_flow_thrhd(&mut self) -> RX_FLOW_THRHD_W { RX_FLOW_THRHD_W::new(self, 0) } #[doc = "Bit 8 - This is the flow enable bit for UART receiver."] #[inline(always)] - #[must_use] pub fn rx_flow_en(&mut self) -> RX_FLOW_EN_W { RX_FLOW_EN_W::new(self, 8) } diff --git a/esp32p4/src/uart0/id.rs b/esp32p4/src/uart0/id.rs index eb25e6637f..23a8344e90 100644 --- a/esp32p4/src/uart0/id.rs +++ b/esp32p4/src/uart0/id.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This register is used to configure the uart_id."] #[inline(always)] - #[must_use] pub fn id(&mut self) -> ID_W { ID_W::new(self, 0) } diff --git a/esp32p4/src/uart0/idle_conf.rs b/esp32p4/src/uart0/idle_conf.rs index c3bcd173ed..3e67f9b8b2 100644 --- a/esp32p4/src/uart0/idle_conf.rs +++ b/esp32p4/src/uart0/idle_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - It will produce frame end signal when receiver takes more time to receive one byte data than this register value."] #[inline(always)] - #[must_use] pub fn rx_idle_thrhd(&mut self) -> RX_IDLE_THRHD_W { RX_IDLE_THRHD_W::new(self, 0) } #[doc = "Bits 10:19 - This register is used to configure the duration time between transfers."] #[inline(always)] - #[must_use] pub fn tx_idle_num(&mut self) -> TX_IDLE_NUM_W { TX_IDLE_NUM_W::new(self, 10) } diff --git a/esp32p4/src/uart0/int_clr.rs b/esp32p4/src/uart0/int_clr.rs index 83be88b461..40688a1933 100644 --- a/esp32p4/src/uart0/int_clr.rs +++ b/esp32p4/src/uart0/int_clr.rs @@ -49,121 +49,101 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the rxfifo_full_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_full(&mut self) -> RXFIFO_FULL_W { RXFIFO_FULL_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear txfifo_empty_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_empty(&mut self) -> TXFIFO_EMPTY_W { TXFIFO_EMPTY_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear parity_err_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn parity_err(&mut self) -> PARITY_ERR_W { PARITY_ERR_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear frm_err_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn frm_err(&mut self) -> FRM_ERR_W { FRM_ERR_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear rxfifo_ovf_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the dsr_chg_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn dsr_chg(&mut self) -> DSR_CHG_W { DSR_CHG_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the cts_chg_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn cts_chg(&mut self) -> CTS_CHG_W { CTS_CHG_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the brk_det_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn brk_det(&mut self) -> BRK_DET_W { BRK_DET_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the rxfifo_tout_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_tout(&mut self) -> RXFIFO_TOUT_W { RXFIFO_TOUT_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear the sw_xon_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn sw_xon(&mut self) -> SW_XON_W { SW_XON_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to clear the sw_xoff_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn sw_xoff(&mut self) -> SW_XOFF_W { SW_XOFF_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear the glitch_det_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to clear the tx_brk_done_int_raw interrupt.."] #[inline(always)] - #[must_use] pub fn tx_brk_done(&mut self) -> TX_BRK_DONE_W { TX_BRK_DONE_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to clear the tx_brk_idle_done_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn tx_brk_idle_done(&mut self) -> TX_BRK_IDLE_DONE_W { TX_BRK_IDLE_DONE_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to clear the tx_done_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to clear the rs485_parity_err_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rs485_parity_err(&mut self) -> RS485_PARITY_ERR_W { RS485_PARITY_ERR_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to clear the rs485_frm_err_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rs485_frm_err(&mut self) -> RS485_FRM_ERR_W { RS485_FRM_ERR_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to clear the rs485_clash_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rs485_clash(&mut self) -> RS485_CLASH_W { RS485_CLASH_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to clear the at_cmd_char_det_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn at_cmd_char_det(&mut self) -> AT_CMD_CHAR_DET_W { AT_CMD_CHAR_DET_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to clear the uart_wakeup_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn wakeup(&mut self) -> WAKEUP_W { WAKEUP_W::new(self, 19) } diff --git a/esp32p4/src/uart0/int_ena.rs b/esp32p4/src/uart0/int_ena.rs index dc9361e638..14f56e1ffd 100644 --- a/esp32p4/src/uart0/int_ena.rs +++ b/esp32p4/src/uart0/int_ena.rs @@ -214,121 +214,101 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This is the enable bit for rxfifo_full_int_st register."] #[inline(always)] - #[must_use] pub fn rxfifo_full(&mut self) -> RXFIFO_FULL_W { RXFIFO_FULL_W::new(self, 0) } #[doc = "Bit 1 - This is the enable bit for txfifo_empty_int_st register."] #[inline(always)] - #[must_use] pub fn txfifo_empty(&mut self) -> TXFIFO_EMPTY_W { TXFIFO_EMPTY_W::new(self, 1) } #[doc = "Bit 2 - This is the enable bit for parity_err_int_st register."] #[inline(always)] - #[must_use] pub fn parity_err(&mut self) -> PARITY_ERR_W { PARITY_ERR_W::new(self, 2) } #[doc = "Bit 3 - This is the enable bit for frm_err_int_st register."] #[inline(always)] - #[must_use] pub fn frm_err(&mut self) -> FRM_ERR_W { FRM_ERR_W::new(self, 3) } #[doc = "Bit 4 - This is the enable bit for rxfifo_ovf_int_st register."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - This is the enable bit for dsr_chg_int_st register."] #[inline(always)] - #[must_use] pub fn dsr_chg(&mut self) -> DSR_CHG_W { DSR_CHG_W::new(self, 5) } #[doc = "Bit 6 - This is the enable bit for cts_chg_int_st register."] #[inline(always)] - #[must_use] pub fn cts_chg(&mut self) -> CTS_CHG_W { CTS_CHG_W::new(self, 6) } #[doc = "Bit 7 - This is the enable bit for brk_det_int_st register."] #[inline(always)] - #[must_use] pub fn brk_det(&mut self) -> BRK_DET_W { BRK_DET_W::new(self, 7) } #[doc = "Bit 8 - This is the enable bit for rxfifo_tout_int_st register."] #[inline(always)] - #[must_use] pub fn rxfifo_tout(&mut self) -> RXFIFO_TOUT_W { RXFIFO_TOUT_W::new(self, 8) } #[doc = "Bit 9 - This is the enable bit for sw_xon_int_st register."] #[inline(always)] - #[must_use] pub fn sw_xon(&mut self) -> SW_XON_W { SW_XON_W::new(self, 9) } #[doc = "Bit 10 - This is the enable bit for sw_xoff_int_st register."] #[inline(always)] - #[must_use] pub fn sw_xoff(&mut self) -> SW_XOFF_W { SW_XOFF_W::new(self, 10) } #[doc = "Bit 11 - This is the enable bit for glitch_det_int_st register."] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 11) } #[doc = "Bit 12 - This is the enable bit for tx_brk_done_int_st register."] #[inline(always)] - #[must_use] pub fn tx_brk_done(&mut self) -> TX_BRK_DONE_W { TX_BRK_DONE_W::new(self, 12) } #[doc = "Bit 13 - This is the enable bit for tx_brk_idle_done_int_st register."] #[inline(always)] - #[must_use] pub fn tx_brk_idle_done(&mut self) -> TX_BRK_IDLE_DONE_W { TX_BRK_IDLE_DONE_W::new(self, 13) } #[doc = "Bit 14 - This is the enable bit for tx_done_int_st register."] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 14) } #[doc = "Bit 15 - This is the enable bit for rs485_parity_err_int_st register."] #[inline(always)] - #[must_use] pub fn rs485_parity_err(&mut self) -> RS485_PARITY_ERR_W { RS485_PARITY_ERR_W::new(self, 15) } #[doc = "Bit 16 - This is the enable bit for rs485_parity_err_int_st register."] #[inline(always)] - #[must_use] pub fn rs485_frm_err(&mut self) -> RS485_FRM_ERR_W { RS485_FRM_ERR_W::new(self, 16) } #[doc = "Bit 17 - This is the enable bit for rs485_clash_int_st register."] #[inline(always)] - #[must_use] pub fn rs485_clash(&mut self) -> RS485_CLASH_W { RS485_CLASH_W::new(self, 17) } #[doc = "Bit 18 - This is the enable bit for at_cmd_char_det_int_st register."] #[inline(always)] - #[must_use] pub fn at_cmd_char_det(&mut self) -> AT_CMD_CHAR_DET_W { AT_CMD_CHAR_DET_W::new(self, 18) } #[doc = "Bit 19 - This is the enable bit for uart_wakeup_int_st register."] #[inline(always)] - #[must_use] pub fn wakeup(&mut self) -> WAKEUP_W { WAKEUP_W::new(self, 19) } diff --git a/esp32p4/src/uart0/int_raw.rs b/esp32p4/src/uart0/int_raw.rs index 675c083a64..28af6e89b8 100644 --- a/esp32p4/src/uart0/int_raw.rs +++ b/esp32p4/src/uart0/int_raw.rs @@ -214,121 +214,101 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This interrupt raw bit turns to high level when receiver receives more data than what rxfifo_full_thrhd specifies."] #[inline(always)] - #[must_use] pub fn rxfifo_full(&mut self) -> RXFIFO_FULL_W { RXFIFO_FULL_W::new(self, 0) } #[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 ."] #[inline(always)] - #[must_use] pub fn txfifo_empty(&mut self) -> TXFIFO_EMPTY_W { TXFIFO_EMPTY_W::new(self, 1) } #[doc = "Bit 2 - This interrupt raw bit turns to high level when receiver detects a parity error in the data."] #[inline(always)] - #[must_use] pub fn parity_err(&mut self) -> PARITY_ERR_W { PARITY_ERR_W::new(self, 2) } #[doc = "Bit 3 - This interrupt raw bit turns to high level when receiver detects a data frame error ."] #[inline(always)] - #[must_use] pub fn frm_err(&mut self) -> FRM_ERR_W { FRM_ERR_W::new(self, 3) } #[doc = "Bit 4 - This interrupt raw bit turns to high level when receiver receives more data than the FIFO can store."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - This interrupt raw bit turns to high level when receiver detects the edge change of DSRn signal."] #[inline(always)] - #[must_use] pub fn dsr_chg(&mut self) -> DSR_CHG_W { DSR_CHG_W::new(self, 5) } #[doc = "Bit 6 - This interrupt raw bit turns to high level when receiver detects the edge change of CTSn signal."] #[inline(always)] - #[must_use] pub fn cts_chg(&mut self) -> CTS_CHG_W { CTS_CHG_W::new(self, 6) } #[doc = "Bit 7 - This interrupt raw bit turns to high level when receiver detects a 0 after the stop bit."] #[inline(always)] - #[must_use] pub fn brk_det(&mut self) -> BRK_DET_W { BRK_DET_W::new(self, 7) } #[doc = "Bit 8 - This interrupt raw bit turns to high level when receiver takes more time than rx_tout_thrhd to receive a byte."] #[inline(always)] - #[must_use] pub fn rxfifo_tout(&mut self) -> RXFIFO_TOUT_W { RXFIFO_TOUT_W::new(self, 8) } #[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."] #[inline(always)] - #[must_use] pub fn sw_xon(&mut self) -> SW_XON_W { SW_XON_W::new(self, 9) } #[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."] #[inline(always)] - #[must_use] pub fn sw_xoff(&mut self) -> SW_XOFF_W { SW_XOFF_W::new(self, 10) } #[doc = "Bit 11 - This interrupt raw bit turns to high level when receiver detects a glitch in the middle of a start bit."] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 11) } #[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."] #[inline(always)] - #[must_use] pub fn tx_brk_done(&mut self) -> TX_BRK_DONE_W { TX_BRK_DONE_W::new(self, 12) } #[doc = "Bit 13 - This interrupt raw bit turns to high level when transmitter has kept the shortest duration after sending the last data."] #[inline(always)] - #[must_use] pub fn tx_brk_idle_done(&mut self) -> TX_BRK_IDLE_DONE_W { TX_BRK_IDLE_DONE_W::new(self, 13) } #[doc = "Bit 14 - This interrupt raw bit turns to high level when transmitter has send out all data in FIFO."] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 14) } #[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."] #[inline(always)] - #[must_use] pub fn rs485_parity_err(&mut self) -> RS485_PARITY_ERR_W { RS485_PARITY_ERR_W::new(self, 15) } #[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."] #[inline(always)] - #[must_use] pub fn rs485_frm_err(&mut self) -> RS485_FRM_ERR_W { RS485_FRM_ERR_W::new(self, 16) } #[doc = "Bit 17 - This interrupt raw bit turns to high level when detects a clash between transmitter and receiver in rs485 mode."] #[inline(always)] - #[must_use] pub fn rs485_clash(&mut self) -> RS485_CLASH_W { RS485_CLASH_W::new(self, 17) } #[doc = "Bit 18 - This interrupt raw bit turns to high level when receiver detects the configured at_cmd char."] #[inline(always)] - #[must_use] pub fn at_cmd_char_det(&mut self) -> AT_CMD_CHAR_DET_W { AT_CMD_CHAR_DET_W::new(self, 18) } #[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."] #[inline(always)] - #[must_use] pub fn wakeup(&mut self) -> WAKEUP_W { WAKEUP_W::new(self, 19) } diff --git a/esp32p4/src/uart0/mem_conf.rs b/esp32p4/src/uart0/mem_conf.rs index 1f787205ea..a67b04163f 100644 --- a/esp32p4/src/uart0/mem_conf.rs +++ b/esp32p4/src/uart0/mem_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 25 - Set this bit to force power down UART memory."] #[inline(always)] - #[must_use] pub fn mem_force_pd(&mut self) -> MEM_FORCE_PD_W { MEM_FORCE_PD_W::new(self, 25) } #[doc = "Bit 26 - Set this bit to force power up UART memory."] #[inline(always)] - #[must_use] pub fn mem_force_pu(&mut self) -> MEM_FORCE_PU_W { MEM_FORCE_PU_W::new(self, 26) } diff --git a/esp32p4/src/uart0/reg_update.rs b/esp32p4/src/uart0/reg_update.rs index 0188a4af8b..916c47f8ce 100644 --- a/esp32p4/src/uart0/reg_update.rs +++ b/esp32p4/src/uart0/reg_update.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Software write 1 would synchronize registers into UART Core clock domain and would be cleared by hardware after synchronization is done."] #[inline(always)] - #[must_use] pub fn reg_update(&mut self) -> REG_UPDATE_W { REG_UPDATE_W::new(self, 0) } diff --git a/esp32p4/src/uart0/rs485_conf.rs b/esp32p4/src/uart0/rs485_conf.rs index 5ee32256ba..4e52a1709a 100644 --- a/esp32p4/src/uart0/rs485_conf.rs +++ b/esp32p4/src/uart0/rs485_conf.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to choose the rs485 mode."] #[inline(always)] - #[must_use] pub fn rs485_en(&mut self) -> RS485_EN_W { RS485_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to delay the stop bit by 1 bit."] #[inline(always)] - #[must_use] pub fn dl0_en(&mut self) -> DL0_EN_W { DL0_EN_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to delay the stop bit by 1 bit."] #[inline(always)] - #[must_use] pub fn dl1_en(&mut self) -> DL1_EN_W { DL1_EN_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to enable receiver could receive data when the transmitter is transmitting data in rs485 mode."] #[inline(always)] - #[must_use] pub fn rs485tx_rx_en(&mut self) -> RS485TX_RX_EN_W { RS485TX_RX_EN_W::new(self, 3) } #[doc = "Bit 4 - 1'h1: enable rs485 transmitter to send data when rs485 receiver line is busy."] #[inline(always)] - #[must_use] pub fn rs485rxby_tx_en(&mut self) -> RS485RXBY_TX_EN_W { RS485RXBY_TX_EN_W::new(self, 4) } #[doc = "Bit 5 - This register is used to delay the receiver's internal data signal."] #[inline(always)] - #[must_use] pub fn rs485_rx_dly_num(&mut self) -> RS485_RX_DLY_NUM_W { RS485_RX_DLY_NUM_W::new(self, 5) } #[doc = "Bits 6:9 - This register is used to delay the transmitter's internal data signal."] #[inline(always)] - #[must_use] pub fn rs485_tx_dly_num(&mut self) -> RS485_TX_DLY_NUM_W { RS485_TX_DLY_NUM_W::new(self, 6) } diff --git a/esp32p4/src/uart0/rx_filt.rs b/esp32p4/src/uart0/rx_filt.rs index e8368344b8..acace76ca6 100644 --- a/esp32p4/src/uart0/rx_filt.rs +++ b/esp32p4/src/uart0/rx_filt.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - when input pulse width is lower than this value the pulse is ignored."] #[inline(always)] - #[must_use] pub fn glitch_filt(&mut self) -> GLITCH_FILT_W { GLITCH_FILT_W::new(self, 0) } #[doc = "Bit 8 - Set this bit to enable Rx signal filter."] #[inline(always)] - #[must_use] pub fn glitch_filt_en(&mut self) -> GLITCH_FILT_EN_W { GLITCH_FILT_EN_W::new(self, 8) } diff --git a/esp32p4/src/uart0/sleep_conf0.rs b/esp32p4/src/uart0/sleep_conf0.rs index 631ebdc15f..ab40e70e13 100644 --- a/esp32p4/src/uart0/sleep_conf0.rs +++ b/esp32p4/src/uart0/sleep_conf0.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register restores the specified wake up char1 to wake up"] #[inline(always)] - #[must_use] pub fn wk_char1(&mut self) -> WK_CHAR1_W { WK_CHAR1_W::new(self, 0) } #[doc = "Bits 8:15 - This register restores the specified wake up char2 to wake up"] #[inline(always)] - #[must_use] pub fn wk_char2(&mut self) -> WK_CHAR2_W { WK_CHAR2_W::new(self, 8) } #[doc = "Bits 16:23 - This register restores the specified wake up char3 to wake up"] #[inline(always)] - #[must_use] pub fn wk_char3(&mut self) -> WK_CHAR3_W { WK_CHAR3_W::new(self, 16) } #[doc = "Bits 24:31 - This register restores the specified wake up char4 to wake up"] #[inline(always)] - #[must_use] pub fn wk_char4(&mut self) -> WK_CHAR4_W { WK_CHAR4_W::new(self, 24) } diff --git a/esp32p4/src/uart0/sleep_conf1.rs b/esp32p4/src/uart0/sleep_conf1.rs index 8af8538d7d..dadc7d2d8e 100644 --- a/esp32p4/src/uart0/sleep_conf1.rs +++ b/esp32p4/src/uart0/sleep_conf1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register restores the specified char0 to wake up"] #[inline(always)] - #[must_use] pub fn wk_char0(&mut self) -> WK_CHAR0_W { WK_CHAR0_W::new(self, 0) } diff --git a/esp32p4/src/uart0/sleep_conf2.rs b/esp32p4/src/uart0/sleep_conf2.rs index 7e3e2dd223..7020f4872f 100644 --- a/esp32p4/src/uart0/sleep_conf2.rs +++ b/esp32p4/src/uart0/sleep_conf2.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - The uart is activated from light sleeping mode when the input rxd edge changes more times than this register value."] #[inline(always)] - #[must_use] pub fn active_threshold(&mut self) -> ACTIVE_THRESHOLD_W { ACTIVE_THRESHOLD_W::new(self, 0) } #[doc = "Bits 10:17 - In wake up mode 1 this field is used to set the received data number threshold to wake up chip."] #[inline(always)] - #[must_use] pub fn rx_wake_up_thrhd(&mut self) -> RX_WAKE_UP_THRHD_W { RX_WAKE_UP_THRHD_W::new(self, 10) } #[doc = "Bits 18:20 - This register is used to select number of wake up char."] #[inline(always)] - #[must_use] pub fn wk_char_num(&mut self) -> WK_CHAR_NUM_W { WK_CHAR_NUM_W::new(self, 18) } #[doc = "Bits 21:25 - This register is used to mask wake up char."] #[inline(always)] - #[must_use] pub fn wk_char_mask(&mut self) -> WK_CHAR_MASK_W { WK_CHAR_MASK_W::new(self, 21) } #[doc = "Bits 26:27 - This register is used to select wake up mode. 0: RXD toggling to wake up. 1: received data number larger than"] #[inline(always)] - #[must_use] pub fn wk_mode_sel(&mut self) -> WK_MODE_SEL_W { WK_MODE_SEL_W::new(self, 26) } diff --git a/esp32p4/src/uart0/swfc_conf0.rs b/esp32p4/src/uart0/swfc_conf0.rs index ee8c28d233..0b7aaf0459 100644 --- a/esp32p4/src/uart0/swfc_conf0.rs +++ b/esp32p4/src/uart0/swfc_conf0.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register stores the Xon flow control char."] #[inline(always)] - #[must_use] pub fn xon_char(&mut self) -> XON_CHAR_W { XON_CHAR_W::new(self, 0) } #[doc = "Bits 8:15 - This register stores the Xoff flow control char."] #[inline(always)] - #[must_use] pub fn xoff_char(&mut self) -> XOFF_CHAR_W { XOFF_CHAR_W::new(self, 8) } #[doc = "Bit 16 - In software flow control mode, UART Tx is disabled once UART Rx receives XOFF. In this status, UART Tx can not transmit XOFF even the received data number is larger than UART_XOFF_THRESHOLD. Set this bit to enable UART Tx can transmit XON/XOFF when UART Tx is disabled."] #[inline(always)] - #[must_use] pub fn xon_xoff_still_send(&mut self) -> XON_XOFF_STILL_SEND_W { XON_XOFF_STILL_SEND_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to enable software flow control. It is used with register sw_xon or sw_xoff."] #[inline(always)] - #[must_use] pub fn sw_flow_con_en(&mut self) -> SW_FLOW_CON_EN_W { SW_FLOW_CON_EN_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to remove flow control char from the received data."] #[inline(always)] - #[must_use] pub fn xonoff_del(&mut self) -> XONOFF_DEL_W { XONOFF_DEL_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to enable the transmitter to go on sending data."] #[inline(always)] - #[must_use] pub fn force_xon(&mut self) -> FORCE_XON_W { FORCE_XON_W::new(self, 19) } #[doc = "Bit 20 - Set this bit to stop the transmitter from sending data."] #[inline(always)] - #[must_use] pub fn force_xoff(&mut self) -> FORCE_XOFF_W { FORCE_XOFF_W::new(self, 20) } #[doc = "Bit 21 - Set this bit to send Xon char. It is cleared by hardware automatically."] #[inline(always)] - #[must_use] pub fn send_xon(&mut self) -> SEND_XON_W { SEND_XON_W::new(self, 21) } #[doc = "Bit 22 - Set this bit to send Xoff char. It is cleared by hardware automatically."] #[inline(always)] - #[must_use] pub fn send_xoff(&mut self) -> SEND_XOFF_W { SEND_XOFF_W::new(self, 22) } diff --git a/esp32p4/src/uart0/swfc_conf1.rs b/esp32p4/src/uart0/swfc_conf1.rs index 0fc4cc40f6..972024ee10 100644 --- a/esp32p4/src/uart0/swfc_conf1.rs +++ b/esp32p4/src/uart0/swfc_conf1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - When the data amount in Rx-FIFO is less than this register value with uart_sw_flow_con_en set to 1 it will send a Xon char."] #[inline(always)] - #[must_use] pub fn xon_threshold(&mut self) -> XON_THRESHOLD_W { XON_THRESHOLD_W::new(self, 0) } #[doc = "Bits 8:15 - When the data amount in Rx-FIFO is more than this register value with uart_sw_flow_con_en set to 1 it will send a Xoff char."] #[inline(always)] - #[must_use] pub fn xoff_threshold(&mut self) -> XOFF_THRESHOLD_W { XOFF_THRESHOLD_W::new(self, 8) } diff --git a/esp32p4/src/uart0/tout_conf.rs b/esp32p4/src/uart0/tout_conf.rs index 9bc77ee497..d681869b89 100644 --- a/esp32p4/src/uart0/tout_conf.rs +++ b/esp32p4/src/uart0/tout_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This is the enble bit for uart receiver's timeout function."] #[inline(always)] - #[must_use] pub fn rx_tout_en(&mut self) -> RX_TOUT_EN_W { RX_TOUT_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to stop accumulating idle_cnt when hardware flow control works."] #[inline(always)] - #[must_use] pub fn rx_tout_flow_dis(&mut self) -> RX_TOUT_FLOW_DIS_W { RX_TOUT_FLOW_DIS_W::new(self, 1) } #[doc = "Bits 2:11 - This register is used to configure the threshold time that receiver takes to receive one byte. The rxfifo_tout_int interrupt will be trigger when the receiver takes more time to receive one byte with rx_tout_en set to 1."] #[inline(always)] - #[must_use] pub fn rx_tout_thrhd(&mut self) -> RX_TOUT_THRHD_W { RX_TOUT_THRHD_W::new(self, 2) } diff --git a/esp32p4/src/uart0/txbrk_conf.rs b/esp32p4/src/uart0/txbrk_conf.rs index 3fd0ce2689..7772196638 100644 --- a/esp32p4/src/uart0/txbrk_conf.rs +++ b/esp32p4/src/uart0/txbrk_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register is used to configure the number of 0 to be sent after the process of sending data is done. It is active when txd_brk is set to 1."] #[inline(always)] - #[must_use] pub fn tx_brk_num(&mut self) -> TX_BRK_NUM_W { TX_BRK_NUM_W::new(self, 0) } diff --git a/esp32p4/src/uhci0/ack_num.rs b/esp32p4/src/uhci0/ack_num.rs index d253a59fcd..4af224ed80 100644 --- a/esp32p4/src/uhci0/ack_num.rs +++ b/esp32p4/src/uhci0/ack_num.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - Indicates the ACK number during software flow control."] #[inline(always)] - #[must_use] pub fn ack_num(&mut self) -> ACK_NUM_W { ACK_NUM_W::new(self, 0) } #[doc = "Bit 3 - Set this bit to load the ACK value of UHCI_ACK_NUM."] #[inline(always)] - #[must_use] pub fn load(&mut self) -> LOAD_W { LOAD_W::new(self, 3) } diff --git a/esp32p4/src/uhci0/conf0.rs b/esp32p4/src/uhci0/conf0.rs index 97da50d689..78feee5de1 100644 --- a/esp32p4/src/uhci0/conf0.rs +++ b/esp32p4/src/uhci0/conf0.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Write 1 then write 0 to this bit to reset decode state machine."] #[inline(always)] - #[must_use] pub fn tx_rst(&mut self) -> TX_RST_W { TX_RST_W::new(self, 0) } #[doc = "Bit 1 - Write 1 then write 0 to this bit to reset encode state machine."] #[inline(always)] - #[must_use] pub fn rx_rst(&mut self) -> RX_RST_W { RX_RST_W::new(self, 1) } #[doc = "Bits 2:4 - Select which uart to connect with GDMA."] #[inline(always)] - #[must_use] pub fn uart_sel(&mut self) -> UART_SEL_W { UART_SEL_W::new(self, 2) } #[doc = "Bit 5 - Set this bit to separate the data frame using a special char."] #[inline(always)] - #[must_use] pub fn seper_en(&mut self) -> SEPER_EN_W { SEPER_EN_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to encode the data packet with a formatting header."] #[inline(always)] - #[must_use] pub fn head_en(&mut self) -> HEAD_EN_W { HEAD_EN_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to enable UHCI to receive the 16 bit CRC."] #[inline(always)] - #[must_use] pub fn crc_rec_en(&mut self) -> CRC_REC_EN_W { CRC_REC_EN_W::new(self, 7) } #[doc = "Bit 8 - If this bit is set to 1 UHCI will end the payload receiving process when UART has been in idle state."] #[inline(always)] - #[must_use] pub fn uart_idle_eof_en(&mut self) -> UART_IDLE_EOF_EN_W { UART_IDLE_EOF_EN_W::new(self, 8) } #[doc = "Bit 9 - If this bit is set to 1 UHCI decoder receiving payload data is end when the receiving byte count has reached the specified value. The value is payload length indicated by UHCI packet header when UHCI_HEAD_EN is 1 or the value is configuration value when UHCI_HEAD_EN is 0. If this bit is set to 0 UHCI decoder receiving payload data is end when 0xc0 is received."] #[inline(always)] - #[must_use] pub fn len_eof_en(&mut self) -> LEN_EOF_EN_W { LEN_EOF_EN_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to enable data integrity checking by appending a 16 bit CCITT-CRC to end of the payload."] #[inline(always)] - #[must_use] pub fn encode_crc_en(&mut self) -> ENCODE_CRC_EN_W { ENCODE_CRC_EN_W::new(self, 10) } #[doc = "Bit 11 - 1'b1: Force clock on for register. 1'b0: Support clock only when application writes registers."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 11) } #[doc = "Bit 12 - If this bit is set to 1 UHCI will end payload receive process when NULL frame is received by UART."] #[inline(always)] - #[must_use] pub fn uart_rx_brk_eof_en(&mut self) -> UART_RX_BRK_EOF_EN_W { UART_RX_BRK_EOF_EN_W::new(self, 12) } diff --git a/esp32p4/src/uhci0/conf1.rs b/esp32p4/src/uhci0/conf1.rs index 77965f3470..adad62afb7 100644 --- a/esp32p4/src/uhci0/conf1.rs +++ b/esp32p4/src/uhci0/conf1.rs @@ -86,49 +86,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable head checksum check when receiving."] #[inline(always)] - #[must_use] pub fn check_sum_en(&mut self) -> CHECK_SUM_EN_W { CHECK_SUM_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to enable sequence number check when receiving."] #[inline(always)] - #[must_use] pub fn check_seq_en(&mut self) -> CHECK_SEQ_EN_W { CHECK_SEQ_EN_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to support CRC calculation, and data integrity check bit should 1."] #[inline(always)] - #[must_use] pub fn crc_disable(&mut self) -> CRC_DISABLE_W { CRC_DISABLE_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to save data packet head when UHCI receive data."] #[inline(always)] - #[must_use] pub fn save_head(&mut self) -> SAVE_HEAD_W { SAVE_HEAD_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to encode data packet with checksum."] #[inline(always)] - #[must_use] pub fn tx_check_sum_re(&mut self) -> TX_CHECK_SUM_RE_W { TX_CHECK_SUM_RE_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to encode data packet with ACK when reliable data packet is ready."] #[inline(always)] - #[must_use] pub fn tx_ack_num_re(&mut self) -> TX_ACK_NUM_RE_W { TX_ACK_NUM_RE_W::new(self, 5) } #[doc = "Bit 7 - Set this bit to enable UHCI encoder transfer to ST_SW_WAIT status."] #[inline(always)] - #[must_use] pub fn wait_sw_start(&mut self) -> WAIT_SW_START_W { WAIT_SW_START_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to transmit data packet if UCHI_ENCODE_STATE is ST_SW_WAIT."] #[inline(always)] - #[must_use] pub fn sw_start(&mut self) -> SW_START_W { SW_START_W::new(self, 8) } diff --git a/esp32p4/src/uhci0/date.rs b/esp32p4/src/uhci0/date.rs index 0998043219..b73d3064a0 100644 --- a/esp32p4/src/uhci0/date.rs +++ b/esp32p4/src/uhci0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32p4/src/uhci0/esc_conf.rs b/esp32p4/src/uhci0/esc_conf.rs index 6e9f52800f..693f421996 100644 --- a/esp32p4/src/uhci0/esc_conf.rs +++ b/esp32p4/src/uhci0/esc_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Configures the delimiter for encoding, default value is 0xC0."] #[inline(always)] - #[must_use] pub fn seper_char(&mut self) -> SEPER_CHAR_W { SEPER_CHAR_W::new(self, 0) } #[doc = "Bits 8:15 - Configures the first char of SLIP escape character, default value is 0xDB."] #[inline(always)] - #[must_use] pub fn seper_esc_char0(&mut self) -> SEPER_ESC_CHAR0_W { SEPER_ESC_CHAR0_W::new(self, 8) } #[doc = "Bits 16:23 - Configures the second char of SLIP escape character, default value is 0xDC."] #[inline(always)] - #[must_use] pub fn seper_esc_char1(&mut self) -> SEPER_ESC_CHAR1_W { SEPER_ESC_CHAR1_W::new(self, 16) } diff --git a/esp32p4/src/uhci0/escape_conf.rs b/esp32p4/src/uhci0/escape_conf.rs index 9d1dc9c47d..b705e782a9 100644 --- a/esp32p4/src/uhci0/escape_conf.rs +++ b/esp32p4/src/uhci0/escape_conf.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable resolve char 0xC0 when DMA receiving data."] #[inline(always)] - #[must_use] pub fn tx_c0_esc_en(&mut self) -> TX_C0_ESC_EN_W { TX_C0_ESC_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to enable resolve char 0xDB when DMA receiving data."] #[inline(always)] - #[must_use] pub fn tx_db_esc_en(&mut self) -> TX_DB_ESC_EN_W { TX_DB_ESC_EN_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to enable resolve flow control char 0x11 when DMA receiving data."] #[inline(always)] - #[must_use] pub fn tx_11_esc_en(&mut self) -> TX_11_ESC_EN_W { TX_11_ESC_EN_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to enable resolve flow control char 0x13 when DMA receiving data."] #[inline(always)] - #[must_use] pub fn tx_13_esc_en(&mut self) -> TX_13_ESC_EN_W { TX_13_ESC_EN_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to enable replacing 0xC0 with special char when DMA receiving data."] #[inline(always)] - #[must_use] pub fn rx_c0_esc_en(&mut self) -> RX_C0_ESC_EN_W { RX_C0_ESC_EN_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to enable replacing 0xDB with special char when DMA receiving data."] #[inline(always)] - #[must_use] pub fn rx_db_esc_en(&mut self) -> RX_DB_ESC_EN_W { RX_DB_ESC_EN_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to enable replacing 0x11 with special char when DMA receiving data."] #[inline(always)] - #[must_use] pub fn rx_11_esc_en(&mut self) -> RX_11_ESC_EN_W { RX_11_ESC_EN_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to enable replacing 0x13 with special char when DMA receiving data."] #[inline(always)] - #[must_use] pub fn rx_13_esc_en(&mut self) -> RX_13_ESC_EN_W { RX_13_ESC_EN_W::new(self, 7) } diff --git a/esp32p4/src/uhci0/hung_conf.rs b/esp32p4/src/uhci0/hung_conf.rs index e69e7dacd4..1ac565336c 100644 --- a/esp32p4/src/uhci0/hung_conf.rs +++ b/esp32p4/src/uhci0/hung_conf.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Stores the timeout value. DMA generates UHCI_TX_HUNG_INT for timeout when receiving data."] #[inline(always)] - #[must_use] pub fn txfifo_timeout(&mut self) -> TXFIFO_TIMEOUT_W { TXFIFO_TIMEOUT_W::new(self, 0) } #[doc = "Bits 8:10 - Configures the maximum counter value."] #[inline(always)] - #[must_use] pub fn txfifo_timeout_shift(&mut self) -> TXFIFO_TIMEOUT_SHIFT_W { TXFIFO_TIMEOUT_SHIFT_W::new(self, 8) } #[doc = "Bit 11 - Set this bit to enable TX FIFO timeout when receiving."] #[inline(always)] - #[must_use] pub fn txfifo_timeout_ena(&mut self) -> TXFIFO_TIMEOUT_ENA_W { TXFIFO_TIMEOUT_ENA_W::new(self, 11) } #[doc = "Bits 12:19 - Stores the timeout value. DMA generates UHCI_TX_HUNG_INT for timeout when reading RAM data."] #[inline(always)] - #[must_use] pub fn rxfifo_timeout(&mut self) -> RXFIFO_TIMEOUT_W { RXFIFO_TIMEOUT_W::new(self, 12) } #[doc = "Bits 20:22 - Configures the maximum counter value."] #[inline(always)] - #[must_use] pub fn rxfifo_timeout_shift(&mut self) -> RXFIFO_TIMEOUT_SHIFT_W { RXFIFO_TIMEOUT_SHIFT_W::new(self, 20) } #[doc = "Bit 23 - Set this bit to enable TX FIFO timeout when DMA sending data."] #[inline(always)] - #[must_use] pub fn rxfifo_timeout_ena(&mut self) -> RXFIFO_TIMEOUT_ENA_W { RXFIFO_TIMEOUT_ENA_W::new(self, 23) } diff --git a/esp32p4/src/uhci0/int_clr.rs b/esp32p4/src/uhci0/int_clr.rs index 96e28c2f44..c6288cfe21 100644 --- a/esp32p4/src/uhci0/int_clr.rs +++ b/esp32p4/src/uhci0/int_clr.rs @@ -27,55 +27,46 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the raw interrupt of UHCI_RX_START_INT."] #[inline(always)] - #[must_use] pub fn rx_start(&mut self) -> RX_START_W { RX_START_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the raw interrupt of UHCI_TX_START_INT."] #[inline(always)] - #[must_use] pub fn tx_start(&mut self) -> TX_START_W { TX_START_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the raw interrupt of UHCI_RX_HUNG_INT."] #[inline(always)] - #[must_use] pub fn rx_hung(&mut self) -> RX_HUNG_W { RX_HUNG_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the raw interrupt of UHCI_TX_HUNG_INT."] #[inline(always)] - #[must_use] pub fn tx_hung(&mut self) -> TX_HUNG_W { TX_HUNG_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear the raw interrupt of UHCI_SEND_S_REG_Q_INT."] #[inline(always)] - #[must_use] pub fn send_s_reg_q(&mut self) -> SEND_S_REG_Q_W { SEND_S_REG_Q_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the raw interrupt of UHCI_SEND_A_REG_Q_INT."] #[inline(always)] - #[must_use] pub fn send_a_reg_q(&mut self) -> SEND_A_REG_Q_W { SEND_A_REG_Q_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the raw interrupt of UHCI_OUT_EOF_INT."] #[inline(always)] - #[must_use] pub fn outlink_eof_err(&mut self) -> OUTLINK_EOF_ERR_W { OUTLINK_EOF_ERR_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the raw interrupt of UHCI_APP_CTRL0_INT."] #[inline(always)] - #[must_use] pub fn app_ctrl0(&mut self) -> APP_CTRL0_W { APP_CTRL0_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the raw interrupt of UHCI_APP_CTRL1_INT."] #[inline(always)] - #[must_use] pub fn app_ctrl1(&mut self) -> APP_CTRL1_W { APP_CTRL1_W::new(self, 8) } diff --git a/esp32p4/src/uhci0/int_ena.rs b/esp32p4/src/uhci0/int_ena.rs index 8f64ae0857..c71bdd5fe0 100644 --- a/esp32p4/src/uhci0/int_ena.rs +++ b/esp32p4/src/uhci0/int_ena.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable the interrupt of UHCI_RX_START_INT."] #[inline(always)] - #[must_use] pub fn rx_start(&mut self) -> RX_START_W { RX_START_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to enable the interrupt of UHCI_TX_START_INT."] #[inline(always)] - #[must_use] pub fn tx_start(&mut self) -> TX_START_W { TX_START_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to enable the interrupt of UHCI_RX_HUNG_INT."] #[inline(always)] - #[must_use] pub fn rx_hung(&mut self) -> RX_HUNG_W { RX_HUNG_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to enable the interrupt of UHCI_TX_HUNG_INT."] #[inline(always)] - #[must_use] pub fn tx_hung(&mut self) -> TX_HUNG_W { TX_HUNG_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to enable the interrupt of UHCI_SEND_S_REG_Q_INT."] #[inline(always)] - #[must_use] pub fn send_s_reg_q(&mut self) -> SEND_S_REG_Q_W { SEND_S_REG_Q_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to enable the interrupt of UHCI_SEND_A_REG_Q_INT."] #[inline(always)] - #[must_use] pub fn send_a_reg_q(&mut self) -> SEND_A_REG_Q_W { SEND_A_REG_Q_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to enable the interrupt of UHCI_OUT_EOF_INT."] #[inline(always)] - #[must_use] pub fn outlink_eof_err(&mut self) -> OUTLINK_EOF_ERR_W { OUTLINK_EOF_ERR_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to enable the interrupt of UHCI_APP_CTRL0_INT."] #[inline(always)] - #[must_use] pub fn app_ctrl0(&mut self) -> APP_CTRL0_W { APP_CTRL0_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to enable the interrupt of UHCI_APP_CTRL1_INT."] #[inline(always)] - #[must_use] pub fn app_ctrl1(&mut self) -> APP_CTRL1_W { APP_CTRL1_W::new(self, 8) } diff --git a/esp32p4/src/uhci0/int_raw.rs b/esp32p4/src/uhci0/int_raw.rs index baa2d2ca68..9dea25cfd1 100644 --- a/esp32p4/src/uhci0/int_raw.rs +++ b/esp32p4/src/uhci0/int_raw.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Indicates the raw interrupt of UHCI_RX_START_INT. Interrupt will be triggered when delimiter is sent successfully."] #[inline(always)] - #[must_use] pub fn rx_start(&mut self) -> RX_START_W { RX_START_W::new(self, 0) } #[doc = "Bit 1 - Indicates the raw interrupt of UHCI_TX_START_INT. Interrupt will be triggered when DMA detects delimiter."] #[inline(always)] - #[must_use] pub fn tx_start(&mut self) -> TX_START_W { TX_START_W::new(self, 1) } #[doc = "Bit 2 - Indicates the raw interrupt of UHCI_RX_HUNG_INT. Interrupt will be triggered when the required time of DMA receiving data exceeds the configuration value."] #[inline(always)] - #[must_use] pub fn rx_hung(&mut self) -> RX_HUNG_W { RX_HUNG_W::new(self, 2) } #[doc = "Bit 3 - Indicates the raw interrupt of UHCI_TX_HUNG_INT. Interrupt will be triggered when the required time of DMA reading RAM data exceeds the configuration value."] #[inline(always)] - #[must_use] pub fn tx_hung(&mut self) -> TX_HUNG_W { TX_HUNG_W::new(self, 3) } #[doc = "Bit 4 - Indicates the raw interrupt of UHCI_SEND_S_REG_Q_INT. Interrupt will be triggered when UHCI sends short packet successfully with single_send mode."] #[inline(always)] - #[must_use] pub fn send_s_reg_q(&mut self) -> SEND_S_REG_Q_W { SEND_S_REG_Q_W::new(self, 4) } #[doc = "Bit 5 - Indicates the raw interrupt of UHCI_SEND_A_REG_Q_INT. Interrupt will be triggered when UHCI sends short packet successfully with always_send mode."] #[inline(always)] - #[must_use] pub fn send_a_reg_q(&mut self) -> SEND_A_REG_Q_W { SEND_A_REG_Q_W::new(self, 5) } #[doc = "Bit 6 - Indicates the raw interrupt of UHCI_OUT_EOF_INT. Interrupt will be triggered when there are errors in EOF."] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 6) } #[doc = "Bit 7 - Indicates the raw interrupt of UHCI_APP_CTRL0_INT. Interrupt will be triggered when UHCI_APP_CTRL0_IN_SET is set to 1."] #[inline(always)] - #[must_use] pub fn app_ctrl0(&mut self) -> APP_CTRL0_W { APP_CTRL0_W::new(self, 7) } #[doc = "Bit 8 - Indicates the raw interrupt of UHCI_APP_CTRL1_INT. Interrupt will be triggered when UHCI_APP_CTRL1_IN_SET is set to 1."] #[inline(always)] - #[must_use] pub fn app_ctrl1(&mut self) -> APP_CTRL1_W { APP_CTRL1_W::new(self, 8) } diff --git a/esp32p4/src/uhci0/pkt_thres.rs b/esp32p4/src/uhci0/pkt_thres.rs index b2f31a983a..85ef228007 100644 --- a/esp32p4/src/uhci0/pkt_thres.rs +++ b/esp32p4/src/uhci0/pkt_thres.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:12 - Configures the data packet's maximum length when UHCI_HEAD_EN is 0."] #[inline(always)] - #[must_use] pub fn pkt_thrs(&mut self) -> PKT_THRS_W { PKT_THRS_W::new(self, 0) } diff --git a/esp32p4/src/uhci0/quick_sent.rs b/esp32p4/src/uhci0/quick_sent.rs index dfcb49920e..e21dc0d910 100644 --- a/esp32p4/src/uhci0/quick_sent.rs +++ b/esp32p4/src/uhci0/quick_sent.rs @@ -46,25 +46,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - Configures single_send mode."] #[inline(always)] - #[must_use] pub fn single_send_num(&mut self) -> SINGLE_SEND_NUM_W { SINGLE_SEND_NUM_W::new(self, 0) } #[doc = "Bit 3 - Set this bit to enable sending short packet with single_send mode."] #[inline(always)] - #[must_use] pub fn single_send_en(&mut self) -> SINGLE_SEND_EN_W { SINGLE_SEND_EN_W::new(self, 3) } #[doc = "Bits 4:6 - Configures always_send mode."] #[inline(always)] - #[must_use] pub fn always_send_num(&mut self) -> ALWAYS_SEND_NUM_W { ALWAYS_SEND_NUM_W::new(self, 4) } #[doc = "Bit 7 - Set this bit to enable sending short packet with always_send mode."] #[inline(always)] - #[must_use] pub fn always_send_en(&mut self) -> ALWAYS_SEND_EN_W { ALWAYS_SEND_EN_W::new(self, 7) } diff --git a/esp32p4/src/uhci0/reg_q/word0.rs b/esp32p4/src/uhci0/reg_q/word0.rs index fad77d8b60..7b1f017e69 100644 --- a/esp32p4/src/uhci0/reg_q/word0.rs +++ b/esp32p4/src/uhci0/reg_q/word0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Serves as quick sending register in specified mode in UHCI_ALWAYS_SEND_NUM or UHCI_SINGLE_SEND_NUM."] #[inline(always)] - #[must_use] pub fn send_word(&mut self) -> SEND_WORD_W { SEND_WORD_W::new(self, 0) } diff --git a/esp32p4/src/uhci0/reg_q/word1.rs b/esp32p4/src/uhci0/reg_q/word1.rs index 8b7be1657f..1ff7c6a2bb 100644 --- a/esp32p4/src/uhci0/reg_q/word1.rs +++ b/esp32p4/src/uhci0/reg_q/word1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Serves as quick sending register in specified mode in UHCI_ALWAYS_SEND_NUM or UHCI_SINGLE_SEND_NUM."] #[inline(always)] - #[must_use] pub fn send_word(&mut self) -> SEND_WORD_W { SEND_WORD_W::new(self, 0) } diff --git a/esp32p4/src/usb_device/chip_rst.rs b/esp32p4/src/usb_device/chip_rst.rs index 45c0df5a8d..8e32db3f90 100644 --- a/esp32p4/src/usb_device/chip_rst.rs +++ b/esp32p4/src/usb_device/chip_rst.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - Set this bit to disable chip reset from usb serial channel to reset chip."] #[inline(always)] - #[must_use] pub fn usb_uart_chip_rst_dis(&mut self) -> USB_UART_CHIP_RST_DIS_W { USB_UART_CHIP_RST_DIS_W::new(self, 2) } diff --git a/esp32p4/src/usb_device/conf0.rs b/esp32p4/src/usb_device/conf0.rs index f45e47b525..57fd0d01aa 100644 --- a/esp32p4/src/usb_device/conf0.rs +++ b/esp32p4/src/usb_device/conf0.rs @@ -154,85 +154,71 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Select internal/external PHY"] #[inline(always)] - #[must_use] pub fn phy_sel(&mut self) -> PHY_SEL_W { PHY_SEL_W::new(self, 0) } #[doc = "Bit 1 - Enable software control USB D+ D- exchange"] #[inline(always)] - #[must_use] pub fn exchg_pins_override(&mut self) -> EXCHG_PINS_OVERRIDE_W { EXCHG_PINS_OVERRIDE_W::new(self, 1) } #[doc = "Bit 2 - USB D+ D- exchange"] #[inline(always)] - #[must_use] pub fn exchg_pins(&mut self) -> EXCHG_PINS_W { EXCHG_PINS_W::new(self, 2) } #[doc = "Bits 3:4 - Control single-end input high threshold,1.76V to 2V, step 80mV"] #[inline(always)] - #[must_use] pub fn vrefh(&mut self) -> VREFH_W { VREFH_W::new(self, 3) } #[doc = "Bits 5:6 - Control single-end input low threshold,0.8V to 1.04V, step 80mV"] #[inline(always)] - #[must_use] pub fn vrefl(&mut self) -> VREFL_W { VREFL_W::new(self, 5) } #[doc = "Bit 7 - Enable software control input threshold"] #[inline(always)] - #[must_use] pub fn vref_override(&mut self) -> VREF_OVERRIDE_W { VREF_OVERRIDE_W::new(self, 7) } #[doc = "Bit 8 - Enable software control USB D+ D- pullup pulldown"] #[inline(always)] - #[must_use] pub fn pad_pull_override(&mut self) -> PAD_PULL_OVERRIDE_W { PAD_PULL_OVERRIDE_W::new(self, 8) } #[doc = "Bit 9 - Control USB D+ pull up."] #[inline(always)] - #[must_use] pub fn dp_pullup(&mut self) -> DP_PULLUP_W { DP_PULLUP_W::new(self, 9) } #[doc = "Bit 10 - Control USB D+ pull down."] #[inline(always)] - #[must_use] pub fn dp_pulldown(&mut self) -> DP_PULLDOWN_W { DP_PULLDOWN_W::new(self, 10) } #[doc = "Bit 11 - Control USB D- pull up."] #[inline(always)] - #[must_use] pub fn dm_pullup(&mut self) -> DM_PULLUP_W { DM_PULLUP_W::new(self, 11) } #[doc = "Bit 12 - Control USB D- pull down."] #[inline(always)] - #[must_use] pub fn dm_pulldown(&mut self) -> DM_PULLDOWN_W { DM_PULLDOWN_W::new(self, 12) } #[doc = "Bit 13 - Control pull up value."] #[inline(always)] - #[must_use] pub fn pullup_value(&mut self) -> PULLUP_VALUE_W { PULLUP_VALUE_W::new(self, 13) } #[doc = "Bit 14 - Enable USB pad function."] #[inline(always)] - #[must_use] pub fn usb_pad_enable(&mut self) -> USB_PAD_ENABLE_W { USB_PAD_ENABLE_W::new(self, 14) } #[doc = "Bit 15 - Set this bit usb_jtag, the connection between usb_jtag and internal JTAG is disconnected, and MTMS, MTDI, MTCK are output through GPIO Matrix, MTDO is input through GPIO Matrix."] #[inline(always)] - #[must_use] pub fn usb_jtag_bridge_en(&mut self) -> USB_JTAG_BRIDGE_EN_W { USB_JTAG_BRIDGE_EN_W::new(self, 15) } diff --git a/esp32p4/src/usb_device/config_update.rs b/esp32p4/src/usb_device/config_update.rs index de2fbac26f..07ce01ac89 100644 --- a/esp32p4/src/usb_device/config_update.rs +++ b/esp32p4/src/usb_device/config_update.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to this register would update the value of configure registers from APB clock domain to 48MHz clock domain."] #[inline(always)] - #[must_use] pub fn config_update(&mut self) -> CONFIG_UPDATE_W { CONFIG_UPDATE_W::new(self, 0) } diff --git a/esp32p4/src/usb_device/date.rs b/esp32p4/src/usb_device/date.rs index 7c033768b2..02120bbb61 100644 --- a/esp32p4/src/usb_device/date.rs +++ b/esp32p4/src/usb_device/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - register version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32p4/src/usb_device/eco_cell_ctrl_48.rs b/esp32p4/src/usb_device/eco_cell_ctrl_48.rs index 699629e090..f5cafac775 100644 --- a/esp32p4/src/usb_device/eco_cell_ctrl_48.rs +++ b/esp32p4/src/usb_device/eco_cell_ctrl_48.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - Reserved."] #[inline(always)] - #[must_use] pub fn rdn_ena_48(&mut self) -> RDN_ENA_48_W { RDN_ENA_48_W::new(self, 1) } diff --git a/esp32p4/src/usb_device/eco_cell_ctrl_apb.rs b/esp32p4/src/usb_device/eco_cell_ctrl_apb.rs index 7f587fd1f5..a772746645 100644 --- a/esp32p4/src/usb_device/eco_cell_ctrl_apb.rs +++ b/esp32p4/src/usb_device/eco_cell_ctrl_apb.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - Reserved."] #[inline(always)] - #[must_use] pub fn rdn_ena_apb(&mut self) -> RDN_ENA_APB_W { RDN_ENA_APB_W::new(self, 1) } diff --git a/esp32p4/src/usb_device/eco_high_48.rs b/esp32p4/src/usb_device/eco_high_48.rs index d6b37daaea..5c23b6f15f 100644 --- a/esp32p4/src/usb_device/eco_high_48.rs +++ b/esp32p4/src/usb_device/eco_high_48.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Reserved."] #[inline(always)] - #[must_use] pub fn rnd_eco_high_48(&mut self) -> RND_ECO_HIGH_48_W { RND_ECO_HIGH_48_W::new(self, 0) } diff --git a/esp32p4/src/usb_device/eco_high_apb.rs b/esp32p4/src/usb_device/eco_high_apb.rs index 0e24e8d7b6..3403d32428 100644 --- a/esp32p4/src/usb_device/eco_high_apb.rs +++ b/esp32p4/src/usb_device/eco_high_apb.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Reserved."] #[inline(always)] - #[must_use] pub fn rnd_eco_high_apb(&mut self) -> RND_ECO_HIGH_APB_W { RND_ECO_HIGH_APB_W::new(self, 0) } diff --git a/esp32p4/src/usb_device/eco_low_48.rs b/esp32p4/src/usb_device/eco_low_48.rs index 4ecb3c67bb..b758a38379 100644 --- a/esp32p4/src/usb_device/eco_low_48.rs +++ b/esp32p4/src/usb_device/eco_low_48.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Reserved."] #[inline(always)] - #[must_use] pub fn rnd_eco_low_48(&mut self) -> RND_ECO_LOW_48_W { RND_ECO_LOW_48_W::new(self, 0) } diff --git a/esp32p4/src/usb_device/eco_low_apb.rs b/esp32p4/src/usb_device/eco_low_apb.rs index b7ab084e53..ebff034f03 100644 --- a/esp32p4/src/usb_device/eco_low_apb.rs +++ b/esp32p4/src/usb_device/eco_low_apb.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Reserved."] #[inline(always)] - #[must_use] pub fn rnd_eco_low_apb(&mut self) -> RND_ECO_LOW_APB_W { RND_ECO_LOW_APB_W::new(self, 0) } diff --git a/esp32p4/src/usb_device/ep1.rs b/esp32p4/src/usb_device/ep1.rs index f649db8d47..836db112f2 100644 --- a/esp32p4/src/usb_device/ep1.rs +++ b/esp32p4/src/usb_device/ep1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Write and read byte data to/from UART Tx/Rx FIFO through this field. When USB_DEVICE_SERIAL_IN_EMPTY_INT is set, then user can write data (up to 64 bytes) into UART Tx FIFO. When USB_DEVICE_SERIAL_OUT_RECV_PKT_INT is set, user can check USB_DEVICE_OUT_EP1_WR_ADDR USB_DEVICE_OUT_EP0_RD_ADDR to know how many data is received, then read data from UART Rx FIFO."] #[inline(always)] - #[must_use] pub fn rdwr_byte(&mut self) -> RDWR_BYTE_W { RDWR_BYTE_W::new(self, 0) } diff --git a/esp32p4/src/usb_device/ep1_conf.rs b/esp32p4/src/usb_device/ep1_conf.rs index ff9c0ab58a..1c5d7d0a07 100644 --- a/esp32p4/src/usb_device/ep1_conf.rs +++ b/esp32p4/src/usb_device/ep1_conf.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to indicate writing byte data to UART Tx FIFO is done."] #[inline(always)] - #[must_use] pub fn wr_done(&mut self) -> WR_DONE_W { WR_DONE_W::new(self, 0) } diff --git a/esp32p4/src/usb_device/get_line_code_w0.rs b/esp32p4/src/usb_device/get_line_code_w0.rs index 331dd324f8..ebe82aaa13 100644 --- a/esp32p4/src/usb_device/get_line_code_w0.rs +++ b/esp32p4/src/usb_device/get_line_code_w0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The value of dwDTERate set by software which is requested by GET_LINE_CODING command."] #[inline(always)] - #[must_use] pub fn get_dw_dte_rate(&mut self) -> GET_DW_DTE_RATE_W { GET_DW_DTE_RATE_W::new(self, 0) } diff --git a/esp32p4/src/usb_device/get_line_code_w1.rs b/esp32p4/src/usb_device/get_line_code_w1.rs index a757756dba..6c98da3555 100644 --- a/esp32p4/src/usb_device/get_line_code_w1.rs +++ b/esp32p4/src/usb_device/get_line_code_w1.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - The value of bCharFormat set by software which is requested by GET_LINE_CODING command."] #[inline(always)] - #[must_use] pub fn get_bdata_bits(&mut self) -> GET_BDATA_BITS_W { GET_BDATA_BITS_W::new(self, 0) } #[doc = "Bits 8:15 - The value of bParityTpye set by software which is requested by GET_LINE_CODING command."] #[inline(always)] - #[must_use] pub fn get_bparity_type(&mut self) -> GET_BPARITY_TYPE_W { GET_BPARITY_TYPE_W::new(self, 8) } #[doc = "Bits 16:23 - The value of bDataBits set by software which is requested by GET_LINE_CODING command."] #[inline(always)] - #[must_use] pub fn get_bchar_format(&mut self) -> GET_BCHAR_FORMAT_W { GET_BCHAR_FORMAT_W::new(self, 16) } diff --git a/esp32p4/src/usb_device/int_clr.rs b/esp32p4/src/usb_device/int_clr.rs index b40d597bf6..88ff6bb8d3 100644 --- a/esp32p4/src/usb_device/int_clr.rs +++ b/esp32p4/src/usb_device/int_clr.rs @@ -41,97 +41,81 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the USB_DEVICE_JTAG_IN_FLUSH_INT interrupt."] #[inline(always)] - #[must_use] pub fn jtag_in_flush(&mut self) -> JTAG_IN_FLUSH_W { JTAG_IN_FLUSH_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the USB_DEVICE_JTAG_SOF_INT interrupt."] #[inline(always)] - #[must_use] pub fn sof(&mut self) -> SOF_W { SOF_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the USB_DEVICE_SERIAL_OUT_RECV_PKT_INT interrupt."] #[inline(always)] - #[must_use] pub fn serial_out_recv_pkt(&mut self) -> SERIAL_OUT_RECV_PKT_W { SERIAL_OUT_RECV_PKT_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the USB_DEVICE_SERIAL_IN_EMPTY_INT interrupt."] #[inline(always)] - #[must_use] pub fn serial_in_empty(&mut self) -> SERIAL_IN_EMPTY_W { SERIAL_IN_EMPTY_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear the USB_DEVICE_PID_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn pid_err(&mut self) -> PID_ERR_W { PID_ERR_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the USB_DEVICE_CRC5_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn crc5_err(&mut self) -> CRC5_ERR_W { CRC5_ERR_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the USB_DEVICE_CRC16_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn crc16_err(&mut self) -> CRC16_ERR_W { CRC16_ERR_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the USB_DEVICE_STUFF_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn stuff_err(&mut self) -> STUFF_ERR_W { STUFF_ERR_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the USB_DEVICE_IN_TOKEN_IN_EP1_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_token_rec_in_ep1(&mut self) -> IN_TOKEN_REC_IN_EP1_W { IN_TOKEN_REC_IN_EP1_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear the USB_DEVICE_USB_BUS_RESET_INT interrupt."] #[inline(always)] - #[must_use] pub fn usb_bus_reset(&mut self) -> USB_BUS_RESET_W { USB_BUS_RESET_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to clear the USB_DEVICE_OUT_EP1_ZERO_PAYLOAD_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_ep1_zero_payload(&mut self) -> OUT_EP1_ZERO_PAYLOAD_W { OUT_EP1_ZERO_PAYLOAD_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear the USB_DEVICE_OUT_EP2_ZERO_PAYLOAD_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_ep2_zero_payload(&mut self) -> OUT_EP2_ZERO_PAYLOAD_W { OUT_EP2_ZERO_PAYLOAD_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to clear the USB_DEVICE_RTS_CHG_INT interrupt."] #[inline(always)] - #[must_use] pub fn rts_chg(&mut self) -> RTS_CHG_W { RTS_CHG_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to clear the USB_DEVICE_DTR_CHG_INT interrupt."] #[inline(always)] - #[must_use] pub fn dtr_chg(&mut self) -> DTR_CHG_W { DTR_CHG_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to clear the USB_DEVICE_GET_LINE_CODE_INT interrupt."] #[inline(always)] - #[must_use] pub fn get_line_code(&mut self) -> GET_LINE_CODE_W { GET_LINE_CODE_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to clear the USB_DEVICE_SET_LINE_CODE_INT interrupt."] #[inline(always)] - #[must_use] pub fn set_line_code(&mut self) -> SET_LINE_CODE_W { SET_LINE_CODE_W::new(self, 15) } diff --git a/esp32p4/src/usb_device/int_ena.rs b/esp32p4/src/usb_device/int_ena.rs index af5477b304..1910f4b0f3 100644 --- a/esp32p4/src/usb_device/int_ena.rs +++ b/esp32p4/src/usb_device/int_ena.rs @@ -174,97 +174,81 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for the USB_DEVICE_JTAG_IN_FLUSH_INT interrupt."] #[inline(always)] - #[must_use] pub fn jtag_in_flush(&mut self) -> JTAG_IN_FLUSH_W { JTAG_IN_FLUSH_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the USB_DEVICE_SOF_INT interrupt."] #[inline(always)] - #[must_use] pub fn sof(&mut self) -> SOF_W { SOF_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the USB_DEVICE_SERIAL_OUT_RECV_PKT_INT interrupt."] #[inline(always)] - #[must_use] pub fn serial_out_recv_pkt(&mut self) -> SERIAL_OUT_RECV_PKT_W { SERIAL_OUT_RECV_PKT_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the USB_DEVICE_SERIAL_IN_EMPTY_INT interrupt."] #[inline(always)] - #[must_use] pub fn serial_in_empty(&mut self) -> SERIAL_IN_EMPTY_W { SERIAL_IN_EMPTY_W::new(self, 3) } #[doc = "Bit 4 - The interrupt enable bit for the USB_DEVICE_PID_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn pid_err(&mut self) -> PID_ERR_W { PID_ERR_W::new(self, 4) } #[doc = "Bit 5 - The interrupt enable bit for the USB_DEVICE_CRC5_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn crc5_err(&mut self) -> CRC5_ERR_W { CRC5_ERR_W::new(self, 5) } #[doc = "Bit 6 - The interrupt enable bit for the USB_DEVICE_CRC16_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn crc16_err(&mut self) -> CRC16_ERR_W { CRC16_ERR_W::new(self, 6) } #[doc = "Bit 7 - The interrupt enable bit for the USB_DEVICE_STUFF_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn stuff_err(&mut self) -> STUFF_ERR_W { STUFF_ERR_W::new(self, 7) } #[doc = "Bit 8 - The interrupt enable bit for the USB_DEVICE_IN_TOKEN_REC_IN_EP1_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_token_rec_in_ep1(&mut self) -> IN_TOKEN_REC_IN_EP1_W { IN_TOKEN_REC_IN_EP1_W::new(self, 8) } #[doc = "Bit 9 - The interrupt enable bit for the USB_DEVICE_USB_BUS_RESET_INT interrupt."] #[inline(always)] - #[must_use] pub fn usb_bus_reset(&mut self) -> USB_BUS_RESET_W { USB_BUS_RESET_W::new(self, 9) } #[doc = "Bit 10 - The interrupt enable bit for the USB_DEVICE_OUT_EP1_ZERO_PAYLOAD_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_ep1_zero_payload(&mut self) -> OUT_EP1_ZERO_PAYLOAD_W { OUT_EP1_ZERO_PAYLOAD_W::new(self, 10) } #[doc = "Bit 11 - The interrupt enable bit for the USB_DEVICE_OUT_EP2_ZERO_PAYLOAD_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_ep2_zero_payload(&mut self) -> OUT_EP2_ZERO_PAYLOAD_W { OUT_EP2_ZERO_PAYLOAD_W::new(self, 11) } #[doc = "Bit 12 - The interrupt enable bit for the USB_DEVICE_RTS_CHG_INT interrupt."] #[inline(always)] - #[must_use] pub fn rts_chg(&mut self) -> RTS_CHG_W { RTS_CHG_W::new(self, 12) } #[doc = "Bit 13 - The interrupt enable bit for the USB_DEVICE_DTR_CHG_INT interrupt."] #[inline(always)] - #[must_use] pub fn dtr_chg(&mut self) -> DTR_CHG_W { DTR_CHG_W::new(self, 13) } #[doc = "Bit 14 - The interrupt enable bit for the USB_DEVICE_GET_LINE_CODE_INT interrupt."] #[inline(always)] - #[must_use] pub fn get_line_code(&mut self) -> GET_LINE_CODE_W { GET_LINE_CODE_W::new(self, 14) } #[doc = "Bit 15 - The interrupt enable bit for the USB_DEVICE_SET_LINE_CODE_INT interrupt."] #[inline(always)] - #[must_use] pub fn set_line_code(&mut self) -> SET_LINE_CODE_W { SET_LINE_CODE_W::new(self, 15) } diff --git a/esp32p4/src/usb_device/int_raw.rs b/esp32p4/src/usb_device/int_raw.rs index f27aaca151..d03d08fe4d 100644 --- a/esp32p4/src/usb_device/int_raw.rs +++ b/esp32p4/src/usb_device/int_raw.rs @@ -174,97 +174,81 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw interrupt bit turns to high level when flush cmd is received for IN endpoint 2 of JTAG."] #[inline(always)] - #[must_use] pub fn jtag_in_flush(&mut self) -> JTAG_IN_FLUSH_W { JTAG_IN_FLUSH_W::new(self, 0) } #[doc = "Bit 1 - The raw interrupt bit turns to high level when SOF frame is received."] #[inline(always)] - #[must_use] pub fn sof(&mut self) -> SOF_W { SOF_W::new(self, 1) } #[doc = "Bit 2 - The raw interrupt bit turns to high level when Serial Port OUT Endpoint received one packet."] #[inline(always)] - #[must_use] pub fn serial_out_recv_pkt(&mut self) -> SERIAL_OUT_RECV_PKT_W { SERIAL_OUT_RECV_PKT_W::new(self, 2) } #[doc = "Bit 3 - The raw interrupt bit turns to high level when Serial Port IN Endpoint is empty."] #[inline(always)] - #[must_use] pub fn serial_in_empty(&mut self) -> SERIAL_IN_EMPTY_W { SERIAL_IN_EMPTY_W::new(self, 3) } #[doc = "Bit 4 - The raw interrupt bit turns to high level when pid error is detected."] #[inline(always)] - #[must_use] pub fn pid_err(&mut self) -> PID_ERR_W { PID_ERR_W::new(self, 4) } #[doc = "Bit 5 - The raw interrupt bit turns to high level when CRC5 error is detected."] #[inline(always)] - #[must_use] pub fn crc5_err(&mut self) -> CRC5_ERR_W { CRC5_ERR_W::new(self, 5) } #[doc = "Bit 6 - The raw interrupt bit turns to high level when CRC16 error is detected."] #[inline(always)] - #[must_use] pub fn crc16_err(&mut self) -> CRC16_ERR_W { CRC16_ERR_W::new(self, 6) } #[doc = "Bit 7 - The raw interrupt bit turns to high level when stuff error is detected."] #[inline(always)] - #[must_use] pub fn stuff_err(&mut self) -> STUFF_ERR_W { STUFF_ERR_W::new(self, 7) } #[doc = "Bit 8 - The raw interrupt bit turns to high level when IN token for IN endpoint 1 is received."] #[inline(always)] - #[must_use] pub fn in_token_rec_in_ep1(&mut self) -> IN_TOKEN_REC_IN_EP1_W { IN_TOKEN_REC_IN_EP1_W::new(self, 8) } #[doc = "Bit 9 - The raw interrupt bit turns to high level when usb bus reset is detected."] #[inline(always)] - #[must_use] pub fn usb_bus_reset(&mut self) -> USB_BUS_RESET_W { USB_BUS_RESET_W::new(self, 9) } #[doc = "Bit 10 - The raw interrupt bit turns to high level when OUT endpoint 1 received packet with zero palyload."] #[inline(always)] - #[must_use] pub fn out_ep1_zero_payload(&mut self) -> OUT_EP1_ZERO_PAYLOAD_W { OUT_EP1_ZERO_PAYLOAD_W::new(self, 10) } #[doc = "Bit 11 - The raw interrupt bit turns to high level when OUT endpoint 2 received packet with zero palyload."] #[inline(always)] - #[must_use] pub fn out_ep2_zero_payload(&mut self) -> OUT_EP2_ZERO_PAYLOAD_W { OUT_EP2_ZERO_PAYLOAD_W::new(self, 11) } #[doc = "Bit 12 - The raw interrupt bit turns to high level when level of RTS from usb serial channel is changed."] #[inline(always)] - #[must_use] pub fn rts_chg(&mut self) -> RTS_CHG_W { RTS_CHG_W::new(self, 12) } #[doc = "Bit 13 - The raw interrupt bit turns to high level when level of DTR from usb serial channel is changed."] #[inline(always)] - #[must_use] pub fn dtr_chg(&mut self) -> DTR_CHG_W { DTR_CHG_W::new(self, 13) } #[doc = "Bit 14 - The raw interrupt bit turns to high level when level of GET LINE CODING request is received."] #[inline(always)] - #[must_use] pub fn get_line_code(&mut self) -> GET_LINE_CODE_W { GET_LINE_CODE_W::new(self, 14) } #[doc = "Bit 15 - The raw interrupt bit turns to high level when level of SET LINE CODING request is received."] #[inline(always)] - #[must_use] pub fn set_line_code(&mut self) -> SET_LINE_CODE_W { SET_LINE_CODE_W::new(self, 15) } diff --git a/esp32p4/src/usb_device/jfifo_st.rs b/esp32p4/src/usb_device/jfifo_st.rs index a0c5816b77..8fd1874c80 100644 --- a/esp32p4/src/usb_device/jfifo_st.rs +++ b/esp32p4/src/usb_device/jfifo_st.rs @@ -82,13 +82,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 8 - Write 1 to reset JTAG in fifo."] #[inline(always)] - #[must_use] pub fn in_fifo_reset(&mut self) -> IN_FIFO_RESET_W { IN_FIFO_RESET_W::new(self, 8) } #[doc = "Bit 9 - Write 1 to reset JTAG out fifo."] #[inline(always)] - #[must_use] pub fn out_fifo_reset(&mut self) -> OUT_FIFO_RESET_W { OUT_FIFO_RESET_W::new(self, 9) } diff --git a/esp32p4/src/usb_device/mem_conf.rs b/esp32p4/src/usb_device/mem_conf.rs index ca8fa18cd2..93304554f1 100644 --- a/esp32p4/src/usb_device/mem_conf.rs +++ b/esp32p4/src/usb_device/mem_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: power down usb memory."] #[inline(always)] - #[must_use] pub fn usb_mem_pd(&mut self) -> USB_MEM_PD_W { USB_MEM_PD_W::new(self, 0) } #[doc = "Bit 1 - 1: Force clock on for usb memory."] #[inline(always)] - #[must_use] pub fn usb_mem_clk_en(&mut self) -> USB_MEM_CLK_EN_W { USB_MEM_CLK_EN_W::new(self, 1) } diff --git a/esp32p4/src/usb_device/misc_conf.rs b/esp32p4/src/usb_device/misc_conf.rs index bdfa3cddfd..df0741ba72 100644 --- a/esp32p4/src/usb_device/misc_conf.rs +++ b/esp32p4/src/usb_device/misc_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1'h1: Force clock on for register. 1'h0: Support clock only when application writes registers."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32p4/src/usb_device/ser_afifo_config.rs b/esp32p4/src/usb_device/ser_afifo_config.rs index f580a78d6e..d12f280ef6 100644 --- a/esp32p4/src/usb_device/ser_afifo_config.rs +++ b/esp32p4/src/usb_device/ser_afifo_config.rs @@ -76,7 +76,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Write 1 to reset CDC_ACM IN async FIFO write clock domain."] #[inline(always)] - #[must_use] pub fn serial_in_afifo_reset_wr( &mut self, ) -> SERIAL_IN_AFIFO_RESET_WR_W { @@ -84,7 +83,6 @@ impl W { } #[doc = "Bit 1 - Write 1 to reset CDC_ACM IN async FIFO read clock domain."] #[inline(always)] - #[must_use] pub fn serial_in_afifo_reset_rd( &mut self, ) -> SERIAL_IN_AFIFO_RESET_RD_W { @@ -92,7 +90,6 @@ impl W { } #[doc = "Bit 2 - Write 1 to reset CDC_ACM OUT async FIFO write clock domain."] #[inline(always)] - #[must_use] pub fn serial_out_afifo_reset_wr( &mut self, ) -> SERIAL_OUT_AFIFO_RESET_WR_W { @@ -100,7 +97,6 @@ impl W { } #[doc = "Bit 3 - Write 1 to reset CDC_ACM OUT async FIFO read clock domain."] #[inline(always)] - #[must_use] pub fn serial_out_afifo_reset_rd( &mut self, ) -> SERIAL_OUT_AFIFO_RESET_RD_W { diff --git a/esp32p4/src/usb_device/sram_ctrl.rs b/esp32p4/src/usb_device/sram_ctrl.rs index 2d008a5a7c..c26a47e2da 100644 --- a/esp32p4/src/usb_device/sram_ctrl.rs +++ b/esp32p4/src/usb_device/sram_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - Control signals"] #[inline(always)] - #[must_use] pub fn mem_aux_ctrl(&mut self) -> MEM_AUX_CTRL_W { MEM_AUX_CTRL_W::new(self, 0) } diff --git a/esp32p4/src/usb_device/test.rs b/esp32p4/src/usb_device/test.rs index 9afefc73e1..cef97fa041 100644 --- a/esp32p4/src/usb_device/test.rs +++ b/esp32p4/src/usb_device/test.rs @@ -78,25 +78,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Enable test of the USB pad"] #[inline(always)] - #[must_use] pub fn test_enable(&mut self) -> TEST_ENABLE_W { TEST_ENABLE_W::new(self, 0) } #[doc = "Bit 1 - USB pad oen in test"] #[inline(always)] - #[must_use] pub fn test_usb_oe(&mut self) -> TEST_USB_OE_W { TEST_USB_OE_W::new(self, 1) } #[doc = "Bit 2 - USB D+ tx value in test"] #[inline(always)] - #[must_use] pub fn test_tx_dp(&mut self) -> TEST_TX_DP_W { TEST_TX_DP_W::new(self, 2) } #[doc = "Bit 3 - USB D- tx value in test"] #[inline(always)] - #[must_use] pub fn test_tx_dm(&mut self) -> TEST_TX_DM_W { TEST_TX_DM_W::new(self, 3) } diff --git a/esp32p4/src/usb_wrap/otg_conf.rs b/esp32p4/src/usb_wrap/otg_conf.rs index e90c2f229a..32eb07928b 100644 --- a/esp32p4/src/usb_wrap/otg_conf.rs +++ b/esp32p4/src/usb_wrap/otg_conf.rs @@ -234,133 +234,111 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to enable the software over-ride of srp session end signal. 1'b0: the signal is controlled by the chip input, 1'b1: the signal is controlled by the software."] #[inline(always)] - #[must_use] pub fn srp_sessend_override(&mut self) -> SRP_SESSEND_OVERRIDE_W { SRP_SESSEND_OVERRIDE_W::new(self, 0) } #[doc = "Bit 1 - Software over-ride value of srp session end signal."] #[inline(always)] - #[must_use] pub fn srp_sessend_value(&mut self) -> SRP_SESSEND_VALUE_W { SRP_SESSEND_VALUE_W::new(self, 1) } #[doc = "Bit 2 - Select internal external PHY. 1'b0: Select internal PHY, 1'b1: Select external PHY."] #[inline(always)] - #[must_use] pub fn phy_sel(&mut self) -> PHY_SEL_W { PHY_SEL_W::new(self, 2) } #[doc = "Bit 3 - Force the dfifo to go into low power mode. The data in dfifo will not lost."] #[inline(always)] - #[must_use] pub fn dfifo_force_pd(&mut self) -> DFIFO_FORCE_PD_W { DFIFO_FORCE_PD_W::new(self, 3) } #[doc = "Bit 4 - Bypass Debounce filters for avalid,bvalid,vbusvalid,session end, id signals"] #[inline(always)] - #[must_use] pub fn dbnce_fltr_bypass(&mut self) -> DBNCE_FLTR_BYPASS_W { DBNCE_FLTR_BYPASS_W::new(self, 4) } #[doc = "Bit 5 - Enable software controlle USB D+ D- exchange"] #[inline(always)] - #[must_use] pub fn exchg_pins_override(&mut self) -> EXCHG_PINS_OVERRIDE_W { EXCHG_PINS_OVERRIDE_W::new(self, 5) } #[doc = "Bit 6 - USB D+ D- exchange. 1'b0: don't change, 1'b1: exchange D+ D-."] #[inline(always)] - #[must_use] pub fn exchg_pins(&mut self) -> EXCHG_PINS_W { EXCHG_PINS_W::new(self, 6) } #[doc = "Bits 7:8 - Control single-end input high threshold,1.76V to 2V, step 80mV."] #[inline(always)] - #[must_use] pub fn vrefh(&mut self) -> VREFH_W { VREFH_W::new(self, 7) } #[doc = "Bits 9:10 - Control single-end input low threshold,0.8V to 1.04V, step 80mV."] #[inline(always)] - #[must_use] pub fn vrefl(&mut self) -> VREFL_W { VREFL_W::new(self, 9) } #[doc = "Bit 11 - Enable software controlle input threshold."] #[inline(always)] - #[must_use] pub fn vref_override(&mut self) -> VREF_OVERRIDE_W { VREF_OVERRIDE_W::new(self, 11) } #[doc = "Bit 12 - Enable software controlle USB D+ D- pullup pulldown."] #[inline(always)] - #[must_use] pub fn pad_pull_override(&mut self) -> PAD_PULL_OVERRIDE_W { PAD_PULL_OVERRIDE_W::new(self, 12) } #[doc = "Bit 13 - Controlle USB D+ pullup."] #[inline(always)] - #[must_use] pub fn dp_pullup(&mut self) -> DP_PULLUP_W { DP_PULLUP_W::new(self, 13) } #[doc = "Bit 14 - Controlle USB D+ pulldown."] #[inline(always)] - #[must_use] pub fn dp_pulldown(&mut self) -> DP_PULLDOWN_W { DP_PULLDOWN_W::new(self, 14) } #[doc = "Bit 15 - Controlle USB D+ pullup."] #[inline(always)] - #[must_use] pub fn dm_pullup(&mut self) -> DM_PULLUP_W { DM_PULLUP_W::new(self, 15) } #[doc = "Bit 16 - Controlle USB D+ pulldown."] #[inline(always)] - #[must_use] pub fn dm_pulldown(&mut self) -> DM_PULLDOWN_W { DM_PULLDOWN_W::new(self, 16) } #[doc = "Bit 17 - Controlle pullup value. 1'b0: typical value is 2.4K, 1'b1: typical value is 1.2K."] #[inline(always)] - #[must_use] pub fn pullup_value(&mut self) -> PULLUP_VALUE_W { PULLUP_VALUE_W::new(self, 17) } #[doc = "Bit 18 - Enable USB pad function."] #[inline(always)] - #[must_use] pub fn usb_pad_enable(&mut self) -> USB_PAD_ENABLE_W { USB_PAD_ENABLE_W::new(self, 18) } #[doc = "Bit 19 - Force ahb clock always on."] #[inline(always)] - #[must_use] pub fn ahb_clk_force_on(&mut self) -> AHB_CLK_FORCE_ON_W { AHB_CLK_FORCE_ON_W::new(self, 19) } #[doc = "Bit 20 - Force phy clock always on."] #[inline(always)] - #[must_use] pub fn phy_clk_force_on(&mut self) -> PHY_CLK_FORCE_ON_W { PHY_CLK_FORCE_ON_W::new(self, 20) } #[doc = "Bit 21 - Select phy tx signal output clock edge. 1'b0: negedge, 1'b1: posedge."] #[inline(always)] - #[must_use] pub fn phy_tx_edge_sel(&mut self) -> PHY_TX_EDGE_SEL_W { PHY_TX_EDGE_SEL_W::new(self, 21) } #[doc = "Bit 22 - Disable the dfifo to go into low power mode. The data in dfifo will not lost."] #[inline(always)] - #[must_use] pub fn dfifo_force_pu(&mut self) -> DFIFO_FORCE_PU_W { DFIFO_FORCE_PU_W::new(self, 22) } #[doc = "Bit 31 - Disable auto clock gating of CSR registers."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32p4/src/usb_wrap/test_conf.rs b/esp32p4/src/usb_wrap/test_conf.rs index c1fe8769fb..0c1bcec102 100644 --- a/esp32p4/src/usb_wrap/test_conf.rs +++ b/esp32p4/src/usb_wrap/test_conf.rs @@ -78,25 +78,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Enable test of the USB pad."] #[inline(always)] - #[must_use] pub fn test_enable(&mut self) -> TEST_ENABLE_W { TEST_ENABLE_W::new(self, 0) } #[doc = "Bit 1 - USB pad oen in test."] #[inline(always)] - #[must_use] pub fn test_usb_oe(&mut self) -> TEST_USB_OE_W { TEST_USB_OE_W::new(self, 1) } #[doc = "Bit 2 - USB D+ tx value in test."] #[inline(always)] - #[must_use] pub fn test_tx_dp(&mut self) -> TEST_TX_DP_W { TEST_TX_DP_W::new(self, 2) } #[doc = "Bit 3 - USB D- tx value in test."] #[inline(always)] - #[must_use] pub fn test_tx_dm(&mut self) -> TEST_TX_DM_W { TEST_TX_DM_W::new(self, 3) } diff --git a/esp32s2-ulp/src/generic.rs b/esp32s2-ulp/src/generic.rs index d57106cb27..a7cb020aef 100644 --- a/esp32s2-ulp/src/generic.rs +++ b/esp32s2-ulp/src/generic.rs @@ -524,18 +524,60 @@ impl Reg { #[doc = " ```"] #[doc = " In the latter case, other fields will be set to their reset value."] #[inline(always)] - pub fn write(&self, f: F) + pub fn write(&self, f: F) -> REG::Ux where F: FnOnce(&mut W) -> &mut W, { - self.register.set( - f(&mut W { - bits: REG::RESET_VALUE & !REG::ONE_TO_MODIFY_FIELDS_BITMAP - | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, - _reg: marker::PhantomData, - }) - .bits, - ); + let value = f(&mut W { + bits: REG::RESET_VALUE & !REG::ONE_TO_MODIFY_FIELDS_BITMAP + | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }) + .bits; + self.register.set(value); + value + } + #[doc = " Writes bits to a `Writable` register and produce a value."] + #[doc = ""] + #[doc = " You can write raw bits into a register:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.write_and(|w| unsafe { w.bits(rawbits); });"] + #[doc = " ```"] + #[doc = " or write only the fields you need:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.write_and(|w| {"] + #[doc = " w.field1().bits(newfield1bits)"] + #[doc = " .field2().set_bit()"] + #[doc = " .field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " or an alternative way of saying the same:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.write_and(|w| {"] + #[doc = " w.field1().bits(newfield1bits);"] + #[doc = " w.field2().set_bit();"] + #[doc = " w.field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " In the latter case, other fields will be set to their reset value."] + #[doc = ""] + #[doc = " Values can be returned from the closure:"] + #[doc = " ```ignore"] + #[doc = " let state = periph.reg.write_and(|w| State::set(w.field1()));"] + #[doc = " ```"] + #[inline(always)] + pub fn from_write(&self, f: F) -> T + where + F: FnOnce(&mut W) -> T, + { + let mut writer = W { + bits: REG::RESET_VALUE & !REG::ONE_TO_MODIFY_FIELDS_BITMAP + | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }; + let result = f(&mut writer); + self.register.set(writer.bits); + result } } impl Reg { @@ -547,17 +589,37 @@ impl Reg { #[doc = ""] #[doc = " Unsafe to use with registers which don't allow to write 0."] #[inline(always)] - pub unsafe fn write_with_zero(&self, f: F) + pub unsafe fn write_with_zero(&self, f: F) -> REG::Ux where F: FnOnce(&mut W) -> &mut W, { - self.register.set( - f(&mut W { - bits: REG::Ux::default(), - _reg: marker::PhantomData, - }) - .bits, - ); + let value = f(&mut W { + bits: REG::Ux::default(), + _reg: marker::PhantomData, + }) + .bits; + self.register.set(value); + value + } + #[doc = " Writes 0 to a `Writable` register and produces a value."] + #[doc = ""] + #[doc = " Similar to `write`, but unused bits will contain 0."] + #[doc = ""] + #[doc = " # Safety"] + #[doc = ""] + #[doc = " Unsafe to use with registers which don't allow to write 0."] + #[inline(always)] + pub unsafe fn from_write_with_zero(&self, f: F) -> T + where + F: FnOnce(&mut W) -> T, + { + let mut writer = W { + bits: REG::Ux::default(), + _reg: marker::PhantomData, + }; + let result = f(&mut writer); + self.register.set(writer.bits); + result } } impl Reg { @@ -587,25 +649,75 @@ impl Reg { #[doc = " ```"] #[doc = " Other fields will have the value they had before the call to `modify`."] #[inline(always)] - pub fn modify(&self, f: F) + pub fn modify(&self, f: F) -> REG::Ux where for<'w> F: FnOnce(&R, &'w mut W) -> &'w mut W, { let bits = self.register.get(); - self.register.set( - f( - &R { - bits, - _reg: marker::PhantomData, - }, - &mut W { - bits: bits & !REG::ONE_TO_MODIFY_FIELDS_BITMAP - | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, - _reg: marker::PhantomData, - }, - ) - .bits, + let value = f( + &R { + bits, + _reg: marker::PhantomData, + }, + &mut W { + bits: bits & !REG::ONE_TO_MODIFY_FIELDS_BITMAP | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }, + ) + .bits; + self.register.set(value); + value + } + #[doc = " Modifies the contents of the register by reading and then writing it"] + #[doc = " and produces a value."] + #[doc = ""] + #[doc = " E.g. to do a read-modify-write sequence to change parts of a register:"] + #[doc = " ```ignore"] + #[doc = " let bits = periph.reg.modify(|r, w| {"] + #[doc = " let new_bits = r.bits() | 3;"] + #[doc = " unsafe {"] + #[doc = " w.bits(new_bits);"] + #[doc = " }"] + #[doc = ""] + #[doc = " new_bits"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " or"] + #[doc = " ```ignore"] + #[doc = " periph.reg.modify(|_, w| {"] + #[doc = " w.field1().bits(newfield1bits)"] + #[doc = " .field2().set_bit()"] + #[doc = " .field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " or an alternative way of saying the same:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.modify(|_, w| {"] + #[doc = " w.field1().bits(newfield1bits);"] + #[doc = " w.field2().set_bit();"] + #[doc = " w.field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " Other fields will have the value they had before the call to `modify`."] + #[inline(always)] + pub fn from_modify(&self, f: F) -> T + where + for<'w> F: FnOnce(&R, &'w mut W) -> T, + { + let bits = self.register.get(); + let mut writer = W { + bits: bits & !REG::ONE_TO_MODIFY_FIELDS_BITMAP | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }; + let result = f( + &R { + bits, + _reg: marker::PhantomData, + }, + &mut writer, ); + self.register.set(writer.bits); + result } } impl core::fmt::Debug for crate::generic::Reg diff --git a/esp32s2-ulp/src/generic/raw.rs b/esp32s2-ulp/src/generic/raw.rs index 81f5779524..d60a23a7cc 100644 --- a/esp32s2-ulp/src/generic/raw.rs +++ b/esp32s2-ulp/src/generic/raw.rs @@ -41,6 +41,7 @@ impl BitReader { } } } +#[must_use = "after creating `FieldWriter` you need to call field value setting method"] pub struct FieldWriter<'a, REG, const WI: u8, FI = u8, Safety = Unsafe> where REG: Writable + RegisterSpec, @@ -66,6 +67,7 @@ where } } } +#[must_use = "after creating `BitWriter` you need to call bit setting method"] pub struct BitWriter<'a, REG, FI = bool, M = BitM> where REG: Writable + RegisterSpec, diff --git a/esp32s2-ulp/src/interrupt.rs b/esp32s2-ulp/src/interrupt.rs index 264085e433..466ccbb684 100644 --- a/esp32s2-ulp/src/interrupt.rs +++ b/esp32s2-ulp/src/interrupt.rs @@ -23,6 +23,7 @@ pub enum Interrupt { SWD_INT = 8, } #[doc = r" TryFromInterruptError"] +#[cfg_attr(feature = "defmt", derive(defmt::Format))] #[derive(Debug, Copy, Clone)] pub struct TryFromInterruptError(()); impl Interrupt { diff --git a/esp32s2-ulp/src/lib.rs b/esp32s2-ulp/src/lib.rs index 29880a6507..967cc09c97 100644 --- a/esp32s2-ulp/src/lib.rs +++ b/esp32s2-ulp/src/lib.rs @@ -1,4 +1,4 @@ -#![doc = "Peripheral access API for ESP32-S2-ULP microcontrollers (generated using svd2rust v0.33.4 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next] svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.33.4/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"] +#![doc = "Peripheral access API for ESP32-S2-ULP microcontrollers (generated using svd2rust v0.34.0 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next] svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.34.0/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"] #![allow(non_camel_case_types)] #![allow(non_snake_case)] #![doc(html_logo_url = "https://avatars.githubusercontent.com/u/46717278")] diff --git a/esp32s2-ulp/src/rtc_cntl/cocpu_ctrl.rs b/esp32s2-ulp/src/rtc_cntl/cocpu_ctrl.rs index bb561a9702..10a2c390b1 100644 --- a/esp32s2-ulp/src/rtc_cntl/cocpu_ctrl.rs +++ b/esp32s2-ulp/src/rtc_cntl/cocpu_ctrl.rs @@ -106,61 +106,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - ULP-RISCV clock force on"] #[inline(always)] - #[must_use] pub fn cocpu_clk_fo(&mut self) -> COCPU_CLK_FO_W { COCPU_CLK_FO_W::new(self, 0) } #[doc = "Bits 1:6 - Time from ULP-RISCV startup to pull down reset"] #[inline(always)] - #[must_use] pub fn cocpu_start_2_reset_dis(&mut self) -> COCPU_START_2_RESET_DIS_W { COCPU_START_2_RESET_DIS_W::new(self, 1) } #[doc = "Bits 7:12 - Time from ULP-RISCV startup to send out RISCV_START_INT interrupt"] #[inline(always)] - #[must_use] pub fn cocpu_start_2_intr_en(&mut self) -> COCPU_START_2_INTR_EN_W { COCPU_START_2_INTR_EN_W::new(self, 7) } #[doc = "Bit 13 - Shut down ULP-RISCV"] #[inline(always)] - #[must_use] pub fn cocpu_shut(&mut self) -> COCPU_SHUT_W { COCPU_SHUT_W::new(self, 13) } #[doc = "Bits 14:21 - Time from shut down ULP-RISCV to disable clock"] #[inline(always)] - #[must_use] pub fn cocpu_shut_2_clk_dis(&mut self) -> COCPU_SHUT_2_CLK_DIS_W { COCPU_SHUT_2_CLK_DIS_W::new(self, 14) } #[doc = "Bit 22 - This bit is used to reset ULP-RISCV"] #[inline(always)] - #[must_use] pub fn cocpu_shut_reset_en(&mut self) -> COCPU_SHUT_RESET_EN_W { COCPU_SHUT_RESET_EN_W::new(self, 22) } #[doc = "Bit 23 - 0: select ULP-RISCV. 1: select ULP-FSM"] #[inline(always)] - #[must_use] pub fn cocpu_sel(&mut self) -> COCPU_SEL_W { COCPU_SEL_W::new(self, 23) } #[doc = "Bit 24 - 0: select ULP-FSM DONE signal. 1: select ULP-RISCV DONE signal"] #[inline(always)] - #[must_use] pub fn cocpu_done_force(&mut self) -> COCPU_DONE_FORCE_W { COCPU_DONE_FORCE_W::new(self, 24) } #[doc = "Bit 25 - DONE signal. Write 1 to this bit, ULP-RISCV will go to HALT and the timer starts counting"] #[inline(always)] - #[must_use] pub fn cocpu_done(&mut self) -> COCPU_DONE_W { COCPU_DONE_W::new(self, 25) } #[doc = "Bit 26 - Trigger ULP-RISCV register interrupt"] #[inline(always)] - #[must_use] pub fn cocpu_sw_int_trigger(&mut self) -> COCPU_SW_INT_TRIGGER_W { COCPU_SW_INT_TRIGGER_W::new(self, 26) } diff --git a/esp32s2-ulp/src/rtc_cntl/ulp_cp_ctrl.rs b/esp32s2-ulp/src/rtc_cntl/ulp_cp_ctrl.rs index c76ad0b3b1..2895cf3255 100644 --- a/esp32s2-ulp/src/rtc_cntl/ulp_cp_ctrl.rs +++ b/esp32s2-ulp/src/rtc_cntl/ulp_cp_ctrl.rs @@ -76,43 +76,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10"] #[inline(always)] - #[must_use] pub fn ulp_cp_mem_addr_init(&mut self) -> ULP_CP_MEM_ADDR_INIT_W { ULP_CP_MEM_ADDR_INIT_W::new(self, 0) } #[doc = "Bits 11:21"] #[inline(always)] - #[must_use] pub fn ulp_cp_mem_addr_size(&mut self) -> ULP_CP_MEM_ADDR_SIZE_W { ULP_CP_MEM_ADDR_SIZE_W::new(self, 11) } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn ulp_cp_mem_offset_clr(&mut self) -> ULP_CP_MEM_OFFSET_CLR_W { ULP_CP_MEM_OFFSET_CLR_W::new(self, 22) } #[doc = "Bit 28 - ULP-FSM clock force on"] #[inline(always)] - #[must_use] pub fn ulp_cp_clk_fo(&mut self) -> ULP_CP_CLK_FO_W { ULP_CP_CLK_FO_W::new(self, 28) } #[doc = "Bit 29 - ULP-FSM clock software reset"] #[inline(always)] - #[must_use] pub fn ulp_cp_reset(&mut self) -> ULP_CP_RESET_W { ULP_CP_RESET_W::new(self, 29) } #[doc = "Bit 30 - Write 1 to start ULP-FSM by software"] #[inline(always)] - #[must_use] pub fn ulp_cp_force_start_top(&mut self) -> ULP_CP_FORCE_START_TOP_W { ULP_CP_FORCE_START_TOP_W::new(self, 30) } #[doc = "Bit 31 - Write 1 to start ULP-FSM"] #[inline(always)] - #[must_use] pub fn ulp_cp_start_top(&mut self) -> ULP_CP_START_TOP_W { ULP_CP_START_TOP_W::new(self, 31) } diff --git a/esp32s2-ulp/src/rtc_cntl/ulp_cp_timer.rs b/esp32s2-ulp/src/rtc_cntl/ulp_cp_timer.rs index d1ab32d373..67080cff19 100644 --- a/esp32s2-ulp/src/rtc_cntl/ulp_cp_timer.rs +++ b/esp32s2-ulp/src/rtc_cntl/ulp_cp_timer.rs @@ -46,25 +46,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - ULP coprocessor PC initial address"] #[inline(always)] - #[must_use] pub fn ulp_cp_pc_init(&mut self) -> ULP_CP_PC_INIT_W { ULP_CP_PC_INIT_W::new(self, 0) } #[doc = "Bit 29 - Enable the option of ULP coprocessor woken up by RTC GPIO"] #[inline(always)] - #[must_use] pub fn ulp_cp_gpio_wakeup_ena(&mut self) -> ULP_CP_GPIO_WAKEUP_ENA_W { ULP_CP_GPIO_WAKEUP_ENA_W::new(self, 29) } #[doc = "Bit 30 - Disable the option of ULP coprocessor woken up by RTC GPIO"] #[inline(always)] - #[must_use] pub fn ulp_cp_gpio_wakeup_clr(&mut self) -> ULP_CP_GPIO_WAKEUP_CLR_W { ULP_CP_GPIO_WAKEUP_CLR_W::new(self, 30) } #[doc = "Bit 31 - ULP coprocessor timer enable bit. 0: Disable hardware Timer. 1: Enable hardware timer"] #[inline(always)] - #[must_use] pub fn ulp_cp_slp_timer_en(&mut self) -> ULP_CP_SLP_TIMER_EN_W { ULP_CP_SLP_TIMER_EN_W::new(self, 31) } diff --git a/esp32s2-ulp/src/rtc_cntl/ulp_cp_timer_1.rs b/esp32s2-ulp/src/rtc_cntl/ulp_cp_timer_1.rs index ac89820730..98ae94a55d 100644 --- a/esp32s2-ulp/src/rtc_cntl/ulp_cp_timer_1.rs +++ b/esp32s2-ulp/src/rtc_cntl/ulp_cp_timer_1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 8:31 - Set sleep cycles for ULP coprocessor timer"] #[inline(always)] - #[must_use] pub fn ulp_cp_timer_slp_cycle(&mut self) -> ULP_CP_TIMER_SLP_CYCLE_W { ULP_CP_TIMER_SLP_CYCLE_W::new(self, 8) } diff --git a/esp32s2-ulp/src/rtc_i2c/cmd.rs b/esp32s2-ulp/src/rtc_i2c/cmd.rs index e12377cb91..f33ec5c8d6 100644 --- a/esp32s2-ulp/src/rtc_i2c/cmd.rs +++ b/esp32s2-ulp/src/rtc_i2c/cmd.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - Content of command 0. For more information, please refer to the register I2C_COMD0_REG in Chapter I²C Controller"] #[inline(always)] - #[must_use] pub fn command(&mut self) -> COMMAND_W { COMMAND_W::new(self, 0) } diff --git a/esp32s2-ulp/src/rtc_i2c/ctrl.rs b/esp32s2-ulp/src/rtc_i2c/ctrl.rs index 6fa5d28a7b..a00a7c5b37 100644 --- a/esp32s2-ulp/src/rtc_i2c/ctrl.rs +++ b/esp32s2-ulp/src/rtc_i2c/ctrl.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - SDA output mode. 0: open drain. 1: push pull."] #[inline(always)] - #[must_use] pub fn sda_force_out(&mut self) -> SDA_FORCE_OUT_W { SDA_FORCE_OUT_W::new(self, 0) } #[doc = "Bit 1 - SCL output mode. 0: open drain. 1: push pull."] #[inline(always)] - #[must_use] pub fn scl_force_out(&mut self) -> SCL_FORCE_OUT_W { SCL_FORCE_OUT_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to configure RTC I²C as a master."] #[inline(always)] - #[must_use] pub fn ms_mode(&mut self) -> MS_MODE_W { MS_MODE_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to 1, RTC I2C starts sending data."] #[inline(always)] - #[must_use] pub fn trans_start(&mut self) -> TRANS_START_W { TRANS_START_W::new(self, 3) } #[doc = "Bit 4 - This bit is used to control the sending mode. 0: send data from the most significant bit. 1: send data from the least significant bit."] #[inline(always)] - #[must_use] pub fn tx_lsb_first(&mut self) -> TX_LSB_FIRST_W { TX_LSB_FIRST_W::new(self, 4) } #[doc = "Bit 5 - This bit is used to control the storage mode for received data. 0: receive data from the most significant bit. 1: receive data from the least significant bit."] #[inline(always)] - #[must_use] pub fn rx_lsb_first(&mut self) -> RX_LSB_FIRST_W { RX_LSB_FIRST_W::new(self, 5) } #[doc = "Bit 29 - RTC I²C controller clock gate."] #[inline(always)] - #[must_use] pub fn clk_gate_en(&mut self) -> CLK_GATE_EN_W { CLK_GATE_EN_W::new(self, 29) } #[doc = "Bit 30 - RTC I²C software reset."] #[inline(always)] - #[must_use] pub fn reset(&mut self) -> RESET_W { RESET_W::new(self, 30) } #[doc = "Bit 31 - rtc i2c reg clk gating"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32s2-ulp/src/rtc_i2c/data.rs b/esp32s2-ulp/src/rtc_i2c/data.rs index ce4eda8a0e..660e3fa865 100644 --- a/esp32s2-ulp/src/rtc_i2c/data.rs +++ b/esp32s2-ulp/src/rtc_i2c/data.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 8:15 - The data sent by slave"] #[inline(always)] - #[must_use] pub fn slave_tx_data(&mut self) -> SLAVE_TX_DATA_W { SLAVE_TX_DATA_W::new(self, 8) } diff --git a/esp32s2-ulp/src/rtc_i2c/date.rs b/esp32s2-ulp/src/rtc_i2c/date.rs index 5214516741..ea84636fde 100644 --- a/esp32s2-ulp/src/rtc_i2c/date.rs +++ b/esp32s2-ulp/src/rtc_i2c/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Version control register"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s2-ulp/src/rtc_i2c/int_clr.rs b/esp32s2-ulp/src/rtc_i2c/int_clr.rs index adc021c3fa..6fed92cf9d 100644 --- a/esp32s2-ulp/src/rtc_i2c/int_clr.rs +++ b/esp32s2-ulp/src/rtc_i2c/int_clr.rs @@ -27,55 +27,46 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - RTC_I2C_SLAVE_TRAN_COMP_INT interrupt clear bit"] #[inline(always)] - #[must_use] pub fn slave_tran_comp(&mut self) -> SLAVE_TRAN_COMP_W { SLAVE_TRAN_COMP_W::new(self, 0) } #[doc = "Bit 1 - RTC_I2C_ARBITRATION_LOST_INT interrupt clear bit"] #[inline(always)] - #[must_use] pub fn arbitration_lost(&mut self) -> ARBITRATION_LOST_W { ARBITRATION_LOST_W::new(self, 1) } #[doc = "Bit 2 - RTC_I2C_MASTER_TRAN_COMP_INT interrupt clear bit"] #[inline(always)] - #[must_use] pub fn master_tran_comp(&mut self) -> MASTER_TRAN_COMP_W { MASTER_TRAN_COMP_W::new(self, 2) } #[doc = "Bit 3 - RTC_I2C_TRANS_COMPLETE_INT interrupt clear bit"] #[inline(always)] - #[must_use] pub fn trans_complete(&mut self) -> TRANS_COMPLETE_W { TRANS_COMPLETE_W::new(self, 3) } #[doc = "Bit 4 - RTC_I2C_TIME_OUT_INT interrupt clear bit"] #[inline(always)] - #[must_use] pub fn time_out(&mut self) -> TIME_OUT_W { TIME_OUT_W::new(self, 4) } #[doc = "Bit 5 - RTC_I2C_ACK_ERR_INT interrupt clear bit"] #[inline(always)] - #[must_use] pub fn ack_err(&mut self) -> ACK_ERR_W { ACK_ERR_W::new(self, 5) } #[doc = "Bit 6 - RTC_I2C_RX_DATA_INT interrupt clear bit"] #[inline(always)] - #[must_use] pub fn rx_data(&mut self) -> RX_DATA_W { RX_DATA_W::new(self, 6) } #[doc = "Bit 7 - RTC_I2C_TX_DATA_INT interrupt clear bit"] #[inline(always)] - #[must_use] pub fn tx_data(&mut self) -> TX_DATA_W { TX_DATA_W::new(self, 7) } #[doc = "Bit 8 - RTC_I2C_DETECT_START_INT interrupt clear bit"] #[inline(always)] - #[must_use] pub fn detect_start(&mut self) -> DETECT_START_W { DETECT_START_W::new(self, 8) } diff --git a/esp32s2-ulp/src/rtc_i2c/int_ena.rs b/esp32s2-ulp/src/rtc_i2c/int_ena.rs index d4f403f614..1d21c1414a 100644 --- a/esp32s2-ulp/src/rtc_i2c/int_ena.rs +++ b/esp32s2-ulp/src/rtc_i2c/int_ena.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - RTC_I2C_SLAVE_TRAN_COMP_INT interrupt enable bit"] #[inline(always)] - #[must_use] pub fn slave_tran_comp(&mut self) -> SLAVE_TRAN_COMP_W { SLAVE_TRAN_COMP_W::new(self, 0) } #[doc = "Bit 1 - RTC_I2C_ARBITRATION_LOST_INT interrupt enable bit"] #[inline(always)] - #[must_use] pub fn arbitration_lost(&mut self) -> ARBITRATION_LOST_W { ARBITRATION_LOST_W::new(self, 1) } #[doc = "Bit 2 - RTC_I2C_MASTER_TRAN_COMP_INT interrupt enable bit"] #[inline(always)] - #[must_use] pub fn master_tran_comp(&mut self) -> MASTER_TRAN_COMP_W { MASTER_TRAN_COMP_W::new(self, 2) } #[doc = "Bit 3 - RTC_I2C_TRANS_COMPLETE_INT interrupt enable bit"] #[inline(always)] - #[must_use] pub fn trans_complete(&mut self) -> TRANS_COMPLETE_W { TRANS_COMPLETE_W::new(self, 3) } #[doc = "Bit 4 - RTC_I2C_TIME_OUT_INT interrupt enable bit"] #[inline(always)] - #[must_use] pub fn time_out(&mut self) -> TIME_OUT_W { TIME_OUT_W::new(self, 4) } #[doc = "Bit 5 - RTC_I2C_ACK_ERR_INT interrupt enable bit"] #[inline(always)] - #[must_use] pub fn ack_err(&mut self) -> ACK_ERR_W { ACK_ERR_W::new(self, 5) } #[doc = "Bit 6 - RTC_I2C_RX_DATA_INT interrupt enable bit"] #[inline(always)] - #[must_use] pub fn rx_data(&mut self) -> RX_DATA_W { RX_DATA_W::new(self, 6) } #[doc = "Bit 7 - RTC_I2C_TX_DATA_INT interrupt enable bit"] #[inline(always)] - #[must_use] pub fn tx_data(&mut self) -> TX_DATA_W { TX_DATA_W::new(self, 7) } #[doc = "Bit 8 - RTC_I2C_DETECT_START_INT interrupt enable bit"] #[inline(always)] - #[must_use] pub fn detect_start(&mut self) -> DETECT_START_W { DETECT_START_W::new(self, 8) } diff --git a/esp32s2-ulp/src/rtc_i2c/scl_high.rs b/esp32s2-ulp/src/rtc_i2c/scl_high.rs index 4d9425ed8c..944e44fd5d 100644 --- a/esp32s2-ulp/src/rtc_i2c/scl_high.rs +++ b/esp32s2-ulp/src/rtc_i2c/scl_high.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - This register is used to configure how many cycles SCL remains high."] #[inline(always)] - #[must_use] pub fn period(&mut self) -> PERIOD_W { PERIOD_W::new(self, 0) } diff --git a/esp32s2-ulp/src/rtc_i2c/scl_low.rs b/esp32s2-ulp/src/rtc_i2c/scl_low.rs index 0804392bae..9ec9d74574 100644 --- a/esp32s2-ulp/src/rtc_i2c/scl_low.rs +++ b/esp32s2-ulp/src/rtc_i2c/scl_low.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - This register is used to configure how many clock cycles SCL remains low."] #[inline(always)] - #[must_use] pub fn period(&mut self) -> PERIOD_W { PERIOD_W::new(self, 0) } diff --git a/esp32s2-ulp/src/rtc_i2c/scl_start_period.rs b/esp32s2-ulp/src/rtc_i2c/scl_start_period.rs index 008edd13ad..d1861cca20 100644 --- a/esp32s2-ulp/src/rtc_i2c/scl_start_period.rs +++ b/esp32s2-ulp/src/rtc_i2c/scl_start_period.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - Number of clock cycles to wait after generating a start condition."] #[inline(always)] - #[must_use] pub fn scl_start_period(&mut self) -> SCL_START_PERIOD_W { SCL_START_PERIOD_W::new(self, 0) } diff --git a/esp32s2-ulp/src/rtc_i2c/scl_stop_period.rs b/esp32s2-ulp/src/rtc_i2c/scl_stop_period.rs index 2c0c614fa9..3c311494ba 100644 --- a/esp32s2-ulp/src/rtc_i2c/scl_stop_period.rs +++ b/esp32s2-ulp/src/rtc_i2c/scl_stop_period.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - Number of clock cycles to wait before generating a stop condition."] #[inline(always)] - #[must_use] pub fn scl_stop_period(&mut self) -> SCL_STOP_PERIOD_W { SCL_STOP_PERIOD_W::new(self, 0) } diff --git a/esp32s2-ulp/src/rtc_i2c/sda_duty.rs b/esp32s2-ulp/src/rtc_i2c/sda_duty.rs index 95aad65b6a..cfa0efcace 100644 --- a/esp32s2-ulp/src/rtc_i2c/sda_duty.rs +++ b/esp32s2-ulp/src/rtc_i2c/sda_duty.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - The number of clock cycles between the SDA switch and the falling edge of SCL."] #[inline(always)] - #[must_use] pub fn num(&mut self) -> NUM_W { NUM_W::new(self, 0) } diff --git a/esp32s2-ulp/src/rtc_i2c/slave_addr.rs b/esp32s2-ulp/src/rtc_i2c/slave_addr.rs index e98903771e..786a29941a 100644 --- a/esp32s2-ulp/src/rtc_i2c/slave_addr.rs +++ b/esp32s2-ulp/src/rtc_i2c/slave_addr.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:14 - slave address"] #[inline(always)] - #[must_use] pub fn slave_addr(&mut self) -> SLAVE_ADDR_W { SLAVE_ADDR_W::new(self, 0) } #[doc = "Bit 31 - This field is used to enable the slave 10-bit addressing mode."] #[inline(always)] - #[must_use] pub fn addr_10bit_en(&mut self) -> ADDR_10BIT_EN_W { ADDR_10BIT_EN_W::new(self, 31) } diff --git a/esp32s2-ulp/src/rtc_i2c/to.rs b/esp32s2-ulp/src/rtc_i2c/to.rs index e282992871..7ad557b377 100644 --- a/esp32s2-ulp/src/rtc_i2c/to.rs +++ b/esp32s2-ulp/src/rtc_i2c/to.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - Timeout threshold"] #[inline(always)] - #[must_use] pub fn time_out(&mut self) -> TIME_OUT_W { TIME_OUT_W::new(self, 0) } diff --git a/esp32s2-ulp/src/rtc_io/enable.rs b/esp32s2-ulp/src/rtc_io/enable.rs index 1f6872fa2a..466d59d6ab 100644 --- a/esp32s2-ulp/src/rtc_io/enable.rs +++ b/esp32s2-ulp/src/rtc_io/enable.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 10:31 - GPIO0 ~ 21 output enable. Bit10 corresponds to GPIO0, bit11 corresponds to GPIO1, etc. If the bit is set to 1, it means this GPIO pad is output."] #[inline(always)] - #[must_use] pub fn reg_rtcio_reg_gpio_enable(&mut self) -> REG_RTCIO_REG_GPIO_ENABLE_W { REG_RTCIO_REG_GPIO_ENABLE_W::new(self, 10) } diff --git a/esp32s2-ulp/src/rtc_io/enable_w1tc.rs b/esp32s2-ulp/src/rtc_io/enable_w1tc.rs index 01dac56b56..4ee8171022 100644 --- a/esp32s2-ulp/src/rtc_io/enable_w1tc.rs +++ b/esp32s2-ulp/src/rtc_io/enable_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 10:31 - GPIO0 ~ 21 output enable clear register. If the value 1 is written to a bit here, the corresponding bit in RTCIO_RTC_GPIO_ENABLE_REG will be cleared. Recommended operation: use this register to clear RTCIO_RTC_GPIO_ENABLE_REG."] #[inline(always)] - #[must_use] pub fn reg_rtcio_reg_gpio_enable_w1tc( &mut self, ) -> REG_RTCIO_REG_GPIO_ENABLE_W1TC_W { diff --git a/esp32s2-ulp/src/rtc_io/enable_w1ts.rs b/esp32s2-ulp/src/rtc_io/enable_w1ts.rs index f63bee15dc..ef87c4a844 100644 --- a/esp32s2-ulp/src/rtc_io/enable_w1ts.rs +++ b/esp32s2-ulp/src/rtc_io/enable_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 10:31 - GPIO0 ~ 21 output enable set register. If the value 1 is written to a bit here, the corresponding bit in RTCIO_RTC_GPIO_ENABLE_REG will be set to 1. Recommended operation: use this register to set RTCIO_RTC_GPIO_ENABLE_REG."] #[inline(always)] - #[must_use] pub fn reg_rtcio_reg_gpio_enable_w1ts( &mut self, ) -> REG_RTCIO_REG_GPIO_ENABLE_W1TS_W { diff --git a/esp32s2-ulp/src/rtc_io/ext_wakeup0.rs b/esp32s2-ulp/src/rtc_io/ext_wakeup0.rs index f21a50bc36..0722469d67 100644 --- a/esp32s2-ulp/src/rtc_io/ext_wakeup0.rs +++ b/esp32s2-ulp/src/rtc_io/ext_wakeup0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 27:31 - GPIO\\[0-17\\] can be used to wake up the chip when the chip is in the sleep mode. This register prompts the pad source to wake up the chip when the latter is indeep/light sleep mode. 0: select GPIO0; 1: select GPIO2, etc"] #[inline(always)] - #[must_use] pub fn sel(&mut self) -> SEL_W { SEL_W::new(self, 27) } diff --git a/esp32s2-ulp/src/rtc_io/out.rs b/esp32s2-ulp/src/rtc_io/out.rs index 8a1c17a2da..7ca09f9de1 100644 --- a/esp32s2-ulp/src/rtc_io/out.rs +++ b/esp32s2-ulp/src/rtc_io/out.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 10:31 - GPIO0 ~ 21 output register. Bit10 corresponds to GPIO0, bit11 corresponds to GPIO1, etc."] #[inline(always)] - #[must_use] pub fn gpio_out_data(&mut self) -> GPIO_OUT_DATA_W { GPIO_OUT_DATA_W::new(self, 10) } diff --git a/esp32s2-ulp/src/rtc_io/out_w1tc.rs b/esp32s2-ulp/src/rtc_io/out_w1tc.rs index a9f0df39c3..f049ecf235 100644 --- a/esp32s2-ulp/src/rtc_io/out_w1tc.rs +++ b/esp32s2-ulp/src/rtc_io/out_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 10:31 - GPIO0 ~ 21 output clear register. If the value 1 is written to a bit here, the corresponding bit in RTCIO_RTC_GPIO_OUT_REG will be cleared. Recommended operation: use this register to clear RTCIO_RTC_GPIO_OUT_REG."] #[inline(always)] - #[must_use] pub fn out_data_w1tc(&mut self) -> OUT_DATA_W1TC_W { OUT_DATA_W1TC_W::new(self, 10) } diff --git a/esp32s2-ulp/src/rtc_io/out_w1ts.rs b/esp32s2-ulp/src/rtc_io/out_w1ts.rs index 819ebf1afe..aab1cd82c7 100644 --- a/esp32s2-ulp/src/rtc_io/out_w1ts.rs +++ b/esp32s2-ulp/src/rtc_io/out_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 10:31 - GPIO0 ~ 21 output set register. If the value 1 is written to a bit here, the corresponding bit in RTCIO_RTC_GPIO_OUT_REG will be set to 1. Recommended operation: use this register to set RTCIO_RTC_GPIO_OUT_REG."] #[inline(always)] - #[must_use] pub fn out_data_w1ts(&mut self) -> OUT_DATA_W1TS_W { OUT_DATA_W1TS_W::new(self, 10) } diff --git a/esp32s2-ulp/src/rtc_io/pad_dac1.rs b/esp32s2-ulp/src/rtc_io/pad_dac1.rs index 67098919f6..adcc9770ef 100644 --- a/esp32s2-ulp/src/rtc_io/pad_dac1.rs +++ b/esp32s2-ulp/src/rtc_io/pad_dac1.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 3:10 - Configure DAC_1 output when RTCIO_PDAC1_DAC_XPD_FORCE is set to 1."] #[inline(always)] - #[must_use] pub fn pdac1_dac(&mut self) -> PDAC1_DAC_W { PDAC1_DAC_W::new(self, 3) } #[doc = "Bit 11 - When RTCIO_PDAC1_DAC_XPD_FORCE is set to 1, 1: enable DAC_1 output. 0: disable DAC_1 output."] #[inline(always)] - #[must_use] pub fn pdac1_xpd_dac(&mut self) -> PDAC1_XPD_DAC_W { PDAC1_XPD_DAC_W::new(self, 11) } #[doc = "Bit 12 - 1: use RTCIO_PDAC1_XPD_DAC to control DAC_1 output. 0: use SAR ADC FSM to control DAC_1 output."] #[inline(always)] - #[must_use] pub fn pdac1_dac_xpd_force(&mut self) -> PDAC1_DAC_XPD_FORCE_W { PDAC1_DAC_XPD_FORCE_W::new(self, 12) } #[doc = "Bit 13 - Input enable in normal execution."] #[inline(always)] - #[must_use] pub fn pdac1_fun_ie(&mut self) -> PDAC1_FUN_IE_W { PDAC1_FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - Output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn pdac1_slp_oe(&mut self) -> PDAC1_SLP_OE_W { PDAC1_SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - Input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn pdac1_slp_ie(&mut self) -> PDAC1_SLP_IE_W { PDAC1_SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode. 0: no sleep mode"] #[inline(always)] - #[must_use] pub fn pdac1_slp_sel(&mut self) -> PDAC1_SLP_SEL_W { PDAC1_SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - DAC_1 function selection."] #[inline(always)] - #[must_use] pub fn pdac1_fun_sel(&mut self) -> PDAC1_FUN_SEL_W { PDAC1_FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO. 0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn pdac1_mux_sel(&mut self) -> PDAC1_MUX_SEL_W { PDAC1_MUX_SEL_W::new(self, 19) } #[doc = "Bit 27 - Pull-down enable of the pad. 1: internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn pdac1_rue(&mut self) -> PDAC1_RUE_W { PDAC1_RUE_W::new(self, 27) } #[doc = "Bit 28 - Pull-up enable of the pad. 1: internal pull-up enabled. 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn pdac1_rde(&mut self) -> PDAC1_RDE_W { PDAC1_RDE_W::new(self, 28) } #[doc = "Bits 29:30 - Select the drive strength of the pad. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn pdac1_drv(&mut self) -> PDAC1_DRV_W { PDAC1_DRV_W::new(self, 29) } diff --git a/esp32s2-ulp/src/rtc_io/pad_dac2.rs b/esp32s2-ulp/src/rtc_io/pad_dac2.rs index e8b5975b36..8974d7cca2 100644 --- a/esp32s2-ulp/src/rtc_io/pad_dac2.rs +++ b/esp32s2-ulp/src/rtc_io/pad_dac2.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 3:10 - Configure DAC_2 output when RTCIO_PDAC2_DAC_XPD_FORCE is set to 1."] #[inline(always)] - #[must_use] pub fn pdac2_dac(&mut self) -> PDAC2_DAC_W { PDAC2_DAC_W::new(self, 3) } #[doc = "Bit 11 - When RTCIO_PDAC2_DAC_XPD_FORCE is set to 1, 1: enable DAC_2 output. 0: disable DAC_2 output."] #[inline(always)] - #[must_use] pub fn pdac2_xpd_dac(&mut self) -> PDAC2_XPD_DAC_W { PDAC2_XPD_DAC_W::new(self, 11) } #[doc = "Bit 12 - 1: use RTCIO_PDAC2_XPD_DAC to control DAC_2 output. 0: use SAR ADC FSM to control DAC_2 output."] #[inline(always)] - #[must_use] pub fn pdac2_dac_xpd_force(&mut self) -> PDAC2_DAC_XPD_FORCE_W { PDAC2_DAC_XPD_FORCE_W::new(self, 12) } #[doc = "Bit 13 - Input enable in normal execution."] #[inline(always)] - #[must_use] pub fn pdac2_fun_ie(&mut self) -> PDAC2_FUN_IE_W { PDAC2_FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - Output enable in sleep mode."] #[inline(always)] - #[must_use] pub fn pdac2_slp_oe(&mut self) -> PDAC2_SLP_OE_W { PDAC2_SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - Input enable in sleep mode."] #[inline(always)] - #[must_use] pub fn pdac2_slp_ie(&mut self) -> PDAC2_SLP_IE_W { PDAC2_SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode. 0: no sleep mode."] #[inline(always)] - #[must_use] pub fn pdac2_slp_sel(&mut self) -> PDAC2_SLP_SEL_W { PDAC2_SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - DAC_2 function selection."] #[inline(always)] - #[must_use] pub fn pdac2_fun_sel(&mut self) -> PDAC2_FUN_SEL_W { PDAC2_FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO. 0: use digital GPIO."] #[inline(always)] - #[must_use] pub fn pdac2_mux_sel(&mut self) -> PDAC2_MUX_SEL_W { PDAC2_MUX_SEL_W::new(self, 19) } #[doc = "Bit 27 - Pull-down enable of the pad. 1: internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn pdac2_rue(&mut self) -> PDAC2_RUE_W { PDAC2_RUE_W::new(self, 27) } #[doc = "Bit 28 - Pull-up enable of the pad. 1: internal pull-up enabled. 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn pdac2_rde(&mut self) -> PDAC2_RDE_W { PDAC2_RDE_W::new(self, 28) } #[doc = "Bits 29:30 - Select the drive strength of the pad. 0: ~5 mA: 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn pdac2_drv(&mut self) -> PDAC2_DRV_W { PDAC2_DRV_W::new(self, 29) } diff --git a/esp32s2-ulp/src/rtc_io/pin.rs b/esp32s2-ulp/src/rtc_io/pin.rs index bf38089490..1580837356 100644 --- a/esp32s2-ulp/src/rtc_io/pin.rs +++ b/esp32s2-ulp/src/rtc_io/pin.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - Pad driver selection. 0: normal output. 1: open drain."] #[inline(always)] - #[must_use] pub fn gpio_pin_pad_driver(&mut self) -> GPIO_PIN_PAD_DRIVER_W { GPIO_PIN_PAD_DRIVER_W::new(self, 2) } #[doc = "Bits 7:9 - GPIO interrupt type selection. 0: GPIO interrupt disabled. 1: rising edge trigger. 2: falling edge trigger. 3: any edge trigger. 4: low level trigger. 5: high level trigger."] #[inline(always)] - #[must_use] pub fn gpio_pin_int_type(&mut self) -> GPIO_PIN_INT_TYPE_W { GPIO_PIN_INT_TYPE_W::new(self, 7) } #[doc = "Bit 10 - GPIO wake-up enable. This will only wake up ESP32-S2 from Light-sleep."] #[inline(always)] - #[must_use] pub fn gpio_pin_wakeup_enable(&mut self) -> GPIO_PIN_WAKEUP_ENABLE_W { GPIO_PIN_WAKEUP_ENABLE_W::new(self, 10) } diff --git a/esp32s2-ulp/src/rtc_io/rtc_debug_sel.rs b/esp32s2-ulp/src/rtc_io/rtc_debug_sel.rs index 971353b2d6..3026ee13b0 100644 --- a/esp32s2-ulp/src/rtc_io/rtc_debug_sel.rs +++ b/esp32s2-ulp/src/rtc_io/rtc_debug_sel.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn debug_sel0(&mut self) -> DEBUG_SEL0_W { DEBUG_SEL0_W::new(self, 0) } #[doc = "Bits 5:9"] #[inline(always)] - #[must_use] pub fn debug_sel1(&mut self) -> DEBUG_SEL1_W { DEBUG_SEL1_W::new(self, 5) } #[doc = "Bits 10:14"] #[inline(always)] - #[must_use] pub fn debug_sel2(&mut self) -> DEBUG_SEL2_W { DEBUG_SEL2_W::new(self, 10) } #[doc = "Bits 15:19"] #[inline(always)] - #[must_use] pub fn debug_sel3(&mut self) -> DEBUG_SEL3_W { DEBUG_SEL3_W::new(self, 15) } #[doc = "Bits 20:24"] #[inline(always)] - #[must_use] pub fn debug_sel4(&mut self) -> DEBUG_SEL4_W { DEBUG_SEL4_W::new(self, 20) } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn debug_12m_no_gating(&mut self) -> DEBUG_12M_NO_GATING_W { DEBUG_12M_NO_GATING_W::new(self, 25) } diff --git a/esp32s2-ulp/src/rtc_io/rtc_io_date.rs b/esp32s2-ulp/src/rtc_io/rtc_io_date.rs index 00f3cb676b..24ec16a95d 100644 --- a/esp32s2-ulp/src/rtc_io/rtc_io_date.rs +++ b/esp32s2-ulp/src/rtc_io/rtc_io_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Version control register"] #[inline(always)] - #[must_use] pub fn io_date(&mut self) -> IO_DATE_W { IO_DATE_W::new(self, 0) } diff --git a/esp32s2-ulp/src/rtc_io/rtc_io_touch_ctrl.rs b/esp32s2-ulp/src/rtc_io/rtc_io_touch_ctrl.rs index 8e996ddbd3..9c7255cc41 100644 --- a/esp32s2-ulp/src/rtc_io/rtc_io_touch_ctrl.rs +++ b/esp32s2-ulp/src/rtc_io/rtc_io_touch_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3"] #[inline(always)] - #[must_use] pub fn io_touch_bufsel(&mut self) -> IO_TOUCH_BUFSEL_W { IO_TOUCH_BUFSEL_W::new(self, 0) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn io_touch_bufmode(&mut self) -> IO_TOUCH_BUFMODE_W { IO_TOUCH_BUFMODE_W::new(self, 4) } diff --git a/esp32s2-ulp/src/rtc_io/rtc_pad19.rs b/esp32s2-ulp/src/rtc_io/rtc_pad19.rs index dce09fae5d..b9a63f1958 100644 --- a/esp32s2-ulp/src/rtc_io/rtc_pad19.rs +++ b/esp32s2-ulp/src/rtc_io/rtc_pad19.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - Input enable in normal execution."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - Output enable in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - Input enable in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode. 0: no sleep mode"] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - Function selection."] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO. 0: use digital GPIO."] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 19) } #[doc = "Bit 27 - Pull-down enable of the pad. 1: internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - Pull-up enable of the pad. 1: internal pull-up enabled. 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bits 29:30 - Select the drive strength of the pad. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 29) } diff --git a/esp32s2-ulp/src/rtc_io/rtc_pad20.rs b/esp32s2-ulp/src/rtc_io/rtc_pad20.rs index 2f2ae333db..1fae9486f2 100644 --- a/esp32s2-ulp/src/rtc_io/rtc_pad20.rs +++ b/esp32s2-ulp/src/rtc_io/rtc_pad20.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - Input enable in normal execution."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - Output enable in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - Input enable in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode. 0: no sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - Function selection."] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO. 0: use digital GPIO."] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 19) } #[doc = "Bit 27 - Pull-down enable of the pad. 1: internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - Pull-up enable of the pad. 1: internal pull-up enabled. 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bits 29:30 - Select the drive strength of the pad. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 29) } diff --git a/esp32s2-ulp/src/rtc_io/rtc_pad21.rs b/esp32s2-ulp/src/rtc_io/rtc_pad21.rs index c0f4f7959f..e5089dced8 100644 --- a/esp32s2-ulp/src/rtc_io/rtc_pad21.rs +++ b/esp32s2-ulp/src/rtc_io/rtc_pad21.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - Input enable in normal execution."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - Output enable in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - Input enable in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode. 0: no sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - Function selection."] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO. 0: use digital GPIO."] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 19) } #[doc = "Bit 27 - Pull-down enable of the pad. 1: internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - Pull-up enable of the pad. 1: internal pull-up enabled. 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bits 29:30 - Select the drive strength of the pad. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 29) } diff --git a/esp32s2-ulp/src/rtc_io/sar_i2c_io.rs b/esp32s2-ulp/src/rtc_io/sar_i2c_io.rs index 45f8dd1730..22ea26fb2d 100644 --- a/esp32s2-ulp/src/rtc_io/sar_i2c_io.rs +++ b/esp32s2-ulp/src/rtc_io/sar_i2c_io.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 23:27"] #[inline(always)] - #[must_use] pub fn sar_debug_bit_sel(&mut self) -> SAR_DEBUG_BIT_SEL_W { SAR_DEBUG_BIT_SEL_W::new(self, 23) } #[doc = "Bits 28:29 - Selects a pad the RTC I2C SCL signal connects to. 0: use TOUCH PAD0. 1: use TOUCH PAD2."] #[inline(always)] - #[must_use] pub fn sar_i2c_scl_sel(&mut self) -> SAR_I2C_SCL_SEL_W { SAR_I2C_SCL_SEL_W::new(self, 28) } #[doc = "Bits 30:31 - Selects a pad the RTC I2C SDA signal connects to. 0: use TOUCH PAD1. 1: use TOUCH PAD3."] #[inline(always)] - #[must_use] pub fn sar_i2c_sda_sel(&mut self) -> SAR_I2C_SDA_SEL_W { SAR_I2C_SDA_SEL_W::new(self, 30) } diff --git a/esp32s2-ulp/src/rtc_io/status.rs b/esp32s2-ulp/src/rtc_io/status.rs index 72801f3ba7..da244b76ec 100644 --- a/esp32s2-ulp/src/rtc_io/status.rs +++ b/esp32s2-ulp/src/rtc_io/status.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 10:31 - GPIO0 ~ 21 interrupt status register. Bit10 corresponds to GPIO0, bit11 corresponds to GPIO1, etc. This register should be used together with RTCIO_RTC_GPIO_PINn_INT_TYPE in RTCIO_RTC_GPIO_PINn_REG. 0: no interrupt; 1: corresponding interrupt."] #[inline(always)] - #[must_use] pub fn gpio_status_int(&mut self) -> GPIO_STATUS_INT_W { GPIO_STATUS_INT_W::new(self, 10) } diff --git a/esp32s2-ulp/src/rtc_io/status_w1tc.rs b/esp32s2-ulp/src/rtc_io/status_w1tc.rs index 89aeeaae25..079c68e9e1 100644 --- a/esp32s2-ulp/src/rtc_io/status_w1tc.rs +++ b/esp32s2-ulp/src/rtc_io/status_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 10:31 - GPIO0 ~ 21 interrupt clear register. If the value 1 is written to a bit here, the corresponding bit in RTCIO_GPIO_STATUS_INT will be cleared. Recommended operation: use this register to clear RTCIO_GPIO_STATUS_INT."] #[inline(always)] - #[must_use] pub fn gpio_status_int_w1tc(&mut self) -> GPIO_STATUS_INT_W1TC_W { GPIO_STATUS_INT_W1TC_W::new(self, 10) } diff --git a/esp32s2-ulp/src/rtc_io/status_w1ts.rs b/esp32s2-ulp/src/rtc_io/status_w1ts.rs index 0c02281df6..b1a2fa5858 100644 --- a/esp32s2-ulp/src/rtc_io/status_w1ts.rs +++ b/esp32s2-ulp/src/rtc_io/status_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 10:31 - GPIO0 ~ 21 interrupt set register. If the value 1 is written to a bit here, the corresponding bit in RTCIO_GPIO_STATUS_INT will be set to 1. Recommended operation: use this register to set RTCIO_GPIO_STATUS_INT."] #[inline(always)] - #[must_use] pub fn gpio_status_int_w1ts(&mut self) -> GPIO_STATUS_INT_W1TS_W { GPIO_STATUS_INT_W1TS_W::new(self, 10) } diff --git a/esp32s2-ulp/src/rtc_io/touch_pad.rs b/esp32s2-ulp/src/rtc_io/touch_pad.rs index 284974add3..c8ad3772f5 100644 --- a/esp32s2-ulp/src/rtc_io/touch_pad.rs +++ b/esp32s2-ulp/src/rtc_io/touch_pad.rs @@ -144,79 +144,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - Input enable in normal execution."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - Output enable in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - Input enable in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 0: no sleep mode. 1: enable sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - Function selection."] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - Connect the RTC pad input to digital pad input. 0 is available."] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 19) } #[doc = "Bit 20 - Touch sensor power on."] #[inline(always)] - #[must_use] pub fn xpd(&mut self) -> XPD_W { XPD_W::new(self, 20) } #[doc = "Bit 21 - The tie option of touch sensor. 0: tie low. 1: tie high."] #[inline(always)] - #[must_use] pub fn tie_opt(&mut self) -> TIE_OPT_W { TIE_OPT_W::new(self, 21) } #[doc = "Bit 22 - Start touch sensor."] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 22) } #[doc = "Bits 23:25 - Touch sensor slope control. 3-bit for each touch pad, defaults to 0x4."] #[inline(always)] - #[must_use] pub fn dac(&mut self) -> DAC_W { DAC_W::new(self, 23) } #[doc = "Bit 27 - Pull-down enable of the pad. 1: internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - Pull-up enable of the pad. 1: internal pull-up enabled. 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bits 29:30 - Select the drive strength of the pad. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 29) } diff --git a/esp32s2-ulp/src/rtc_io/xtal_32n_pad.rs b/esp32s2-ulp/src/rtc_io/xtal_32n_pad.rs index 14d8729720..b1a4283ca6 100644 --- a/esp32s2-ulp/src/rtc_io/xtal_32n_pad.rs +++ b/esp32s2-ulp/src/rtc_io/xtal_32n_pad.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - Input enable in normal execution."] #[inline(always)] - #[must_use] pub fn x32n_fun_ie(&mut self) -> X32N_FUN_IE_W { X32N_FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - Output enable in sleep mode."] #[inline(always)] - #[must_use] pub fn x32n_slp_oe(&mut self) -> X32N_SLP_OE_W { X32N_SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - Input enable in sleep mode."] #[inline(always)] - #[must_use] pub fn x32n_slp_ie(&mut self) -> X32N_SLP_IE_W { X32N_SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode. 0: no sleep mode."] #[inline(always)] - #[must_use] pub fn x32n_slp_sel(&mut self) -> X32N_SLP_SEL_W { X32N_SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - Function selection."] #[inline(always)] - #[must_use] pub fn x32n_fun_sel(&mut self) -> X32N_FUN_SEL_W { X32N_FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO. 0: use digital GPIO."] #[inline(always)] - #[must_use] pub fn x32n_mux_sel(&mut self) -> X32N_MUX_SEL_W { X32N_MUX_SEL_W::new(self, 19) } #[doc = "Bit 27 - Pull-down enable of the pad. 1: internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn x32n_rue(&mut self) -> X32N_RUE_W { X32N_RUE_W::new(self, 27) } #[doc = "Bit 28 - Pull-up enable of the pad. 1: internal pull-up enabled. 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn x32n_rde(&mut self) -> X32N_RDE_W { X32N_RDE_W::new(self, 28) } #[doc = "Bits 29:30 - Select the drive strength of the pad. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn x32n_drv(&mut self) -> X32N_DRV_W { X32N_DRV_W::new(self, 29) } diff --git a/esp32s2-ulp/src/rtc_io/xtal_32p_pad.rs b/esp32s2-ulp/src/rtc_io/xtal_32p_pad.rs index acdc34840c..bea05b001d 100644 --- a/esp32s2-ulp/src/rtc_io/xtal_32p_pad.rs +++ b/esp32s2-ulp/src/rtc_io/xtal_32p_pad.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - Input enable in normal execution."] #[inline(always)] - #[must_use] pub fn x32p_fun_ie(&mut self) -> X32P_FUN_IE_W { X32P_FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - output enable in sleep mode."] #[inline(always)] - #[must_use] pub fn x32p_slp_oe(&mut self) -> X32P_SLP_OE_W { X32P_SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - input enable in sleep mode."] #[inline(always)] - #[must_use] pub fn x32p_slp_ie(&mut self) -> X32P_SLP_IE_W { X32P_SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode. 0: no sleep mode."] #[inline(always)] - #[must_use] pub fn x32p_slp_sel(&mut self) -> X32P_SLP_SEL_W { X32P_SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - Function selection."] #[inline(always)] - #[must_use] pub fn x32p_fun_sel(&mut self) -> X32P_FUN_SEL_W { X32P_FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO. 0: use digital GPIO."] #[inline(always)] - #[must_use] pub fn x32p_mux_sel(&mut self) -> X32P_MUX_SEL_W { X32P_MUX_SEL_W::new(self, 19) } #[doc = "Bit 27 - Pull-down enable of the pad. 1: internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn x32p_rue(&mut self) -> X32P_RUE_W { X32P_RUE_W::new(self, 27) } #[doc = "Bit 28 - Pull-up enable of the pad. 1: internal pull-up enabled. 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn x32p_rde(&mut self) -> X32P_RDE_W { X32P_RDE_W::new(self, 28) } #[doc = "Bits 29:30 - Select the drive strength of the pad. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn x32p_drv(&mut self) -> X32P_DRV_W { X32P_DRV_W::new(self, 29) } diff --git a/esp32s2-ulp/src/rtc_io/xtl_ext_ctr.rs b/esp32s2-ulp/src/rtc_io/xtl_ext_ctr.rs index db7c53335f..0146292b17 100644 --- a/esp32s2-ulp/src/rtc_io/xtl_ext_ctr.rs +++ b/esp32s2-ulp/src/rtc_io/xtl_ext_ctr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 27:31 - Select the external crystal power down enable source to get into sleep mode. 0: select GPIO0. 1: select GPIO1, etc. The input value on this pin XOR RTC_CNTL_EXT_XTL_CONF_REG\\[30\\] is the crystal power down enable signal."] #[inline(always)] - #[must_use] pub fn sel(&mut self) -> SEL_W { SEL_W::new(self, 27) } diff --git a/esp32s2-ulp/src/sens/sar_cocpu_int_clr.rs b/esp32s2-ulp/src/sens/sar_cocpu_int_clr.rs index baab14fa2b..4a43aca92b 100644 --- a/esp32s2-ulp/src/sens/sar_cocpu_int_clr.rs +++ b/esp32s2-ulp/src/sens/sar_cocpu_int_clr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - TOUCH_DONE_INT interrupt clear bit"] #[inline(always)] - #[must_use] pub fn cocpu_touch_done_int_clr( &mut self, ) -> COCPU_TOUCH_DONE_INT_CLR_W { @@ -35,7 +34,6 @@ impl W { } #[doc = "Bit 1 - TOUCH_INACTIVE_INT interrupt clear bit"] #[inline(always)] - #[must_use] pub fn cocpu_touch_inactive_int_clr( &mut self, ) -> COCPU_TOUCH_INACTIVE_INT_CLR_W { @@ -43,7 +41,6 @@ impl W { } #[doc = "Bit 2 - TOUCH_ACTIVE_INT interrupt clear bit"] #[inline(always)] - #[must_use] pub fn cocpu_touch_active_int_clr( &mut self, ) -> COCPU_TOUCH_ACTIVE_INT_CLR_W { @@ -51,37 +48,31 @@ impl W { } #[doc = "Bit 3 - SARADC1_DONE_INT interrupt clear bit"] #[inline(always)] - #[must_use] pub fn cocpu_saradc1_int_clr(&mut self) -> COCPU_SARADC1_INT_CLR_W { COCPU_SARADC1_INT_CLR_W::new(self, 3) } #[doc = "Bit 4 - SARADC2_DONE_INT interrupt clear bit"] #[inline(always)] - #[must_use] pub fn cocpu_saradc2_int_clr(&mut self) -> COCPU_SARADC2_INT_CLR_W { COCPU_SARADC2_INT_CLR_W::new(self, 4) } #[doc = "Bit 5 - TSENS_DONE_INT interrupt clear bit"] #[inline(always)] - #[must_use] pub fn cocpu_tsens_int_clr(&mut self) -> COCPU_TSENS_INT_CLR_W { COCPU_TSENS_INT_CLR_W::new(self, 5) } #[doc = "Bit 6 - RISCV_START_INT interrupt clear bit"] #[inline(always)] - #[must_use] pub fn cocpu_start_int_clr(&mut self) -> COCPU_START_INT_CLR_W { COCPU_START_INT_CLR_W::new(self, 6) } #[doc = "Bit 7 - SW_INT interrupt clear bit"] #[inline(always)] - #[must_use] pub fn cocpu_sw_int_clr(&mut self) -> COCPU_SW_INT_CLR_W { COCPU_SW_INT_CLR_W::new(self, 7) } #[doc = "Bit 8 - SWD_INT interrupt clear bit"] #[inline(always)] - #[must_use] pub fn cocpu_swd_int_clr(&mut self) -> COCPU_SWD_INT_CLR_W { COCPU_SWD_INT_CLR_W::new(self, 8) } diff --git a/esp32s2-ulp/src/sens/sar_cocpu_int_ena.rs b/esp32s2-ulp/src/sens/sar_cocpu_int_ena.rs index ec4e6206b9..e5128341bb 100644 --- a/esp32s2-ulp/src/sens/sar_cocpu_int_ena.rs +++ b/esp32s2-ulp/src/sens/sar_cocpu_int_ena.rs @@ -110,7 +110,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - TOUCH_DONE_INT interrupt enable bit"] #[inline(always)] - #[must_use] pub fn cocpu_touch_done_int_ena( &mut self, ) -> COCPU_TOUCH_DONE_INT_ENA_W { @@ -118,7 +117,6 @@ impl W { } #[doc = "Bit 1 - TOUCH_INACTIVE_INT interrupt enable bit"] #[inline(always)] - #[must_use] pub fn cocpu_touch_inactive_int_ena( &mut self, ) -> COCPU_TOUCH_INACTIVE_INT_ENA_W { @@ -126,7 +124,6 @@ impl W { } #[doc = "Bit 2 - TOUCH_ACTIVE_INT interrupt enable bit"] #[inline(always)] - #[must_use] pub fn cocpu_touch_active_int_ena( &mut self, ) -> COCPU_TOUCH_ACTIVE_INT_ENA_W { @@ -134,37 +131,31 @@ impl W { } #[doc = "Bit 3 - SARADC1_DONE_INT interrupt enable bit"] #[inline(always)] - #[must_use] pub fn cocpu_saradc1_int_ena(&mut self) -> COCPU_SARADC1_INT_ENA_W { COCPU_SARADC1_INT_ENA_W::new(self, 3) } #[doc = "Bit 4 - SARADC2_DONE_INT interrupt enable bit"] #[inline(always)] - #[must_use] pub fn cocpu_saradc2_int_ena(&mut self) -> COCPU_SARADC2_INT_ENA_W { COCPU_SARADC2_INT_ENA_W::new(self, 4) } #[doc = "Bit 5 - TSENS_DONE_INT interrupt enable bit"] #[inline(always)] - #[must_use] pub fn cocpu_tsens_int_ena(&mut self) -> COCPU_TSENS_INT_ENA_W { COCPU_TSENS_INT_ENA_W::new(self, 5) } #[doc = "Bit 6 - RISCV_START_INT interrupt enable bit"] #[inline(always)] - #[must_use] pub fn cocpu_start_int_ena(&mut self) -> COCPU_START_INT_ENA_W { COCPU_START_INT_ENA_W::new(self, 6) } #[doc = "Bit 7 - SW_INT interrupt enable bit"] #[inline(always)] - #[must_use] pub fn cocpu_sw_int_ena(&mut self) -> COCPU_SW_INT_ENA_W { COCPU_SW_INT_ENA_W::new(self, 7) } #[doc = "Bit 8 - SWD_INT interrupt enable bit"] #[inline(always)] - #[must_use] pub fn cocpu_swd_int_ena(&mut self) -> COCPU_SWD_INT_ENA_W { COCPU_SWD_INT_ENA_W::new(self, 8) } diff --git a/esp32s2-ulp/src/sens/sar_i2c_ctrl.rs b/esp32s2-ulp/src/sens/sar_i2c_ctrl.rs index 7b8d8ed74a..668a8d7fd0 100644 --- a/esp32s2-ulp/src/sens/sar_i2c_ctrl.rs +++ b/esp32s2-ulp/src/sens/sar_i2c_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - RTC I2C control data. Active only when SENS_SAR_I2C_START_FORCE = 1."] #[inline(always)] - #[must_use] pub fn sar_i2c_ctrl(&mut self) -> SAR_I2C_CTRL_W { SAR_I2C_CTRL_W::new(self, 0) } #[doc = "Bit 28 - Start RTC I2C. Active only when SENS_SAR_I2C_START_FORCE = 1"] #[inline(always)] - #[must_use] pub fn sar_i2c_start(&mut self) -> SAR_I2C_START_W { SAR_I2C_START_W::new(self, 28) } #[doc = "Bit 29 - 0: RTC I2C started by FSM. 1: RTC I2C started by software."] #[inline(always)] - #[must_use] pub fn sar_i2c_start_force(&mut self) -> SAR_I2C_START_FORCE_W { SAR_I2C_START_FORCE_W::new(self, 29) } diff --git a/esp32s2-ulp/src/sens/sar_slave_addr1.rs b/esp32s2-ulp/src/sens/sar_slave_addr1.rs index 6cf448995d..729edce572 100644 --- a/esp32s2-ulp/src/sens/sar_slave_addr1.rs +++ b/esp32s2-ulp/src/sens/sar_slave_addr1.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - RTC I2C slave address 1"] #[inline(always)] - #[must_use] pub fn i2c_slave_addr1(&mut self) -> I2C_SLAVE_ADDR1_W { I2C_SLAVE_ADDR1_W::new(self, 0) } #[doc = "Bits 11:21 - RTC I2C slave address 0"] #[inline(always)] - #[must_use] pub fn i2c_slave_addr0(&mut self) -> I2C_SLAVE_ADDR0_W { I2C_SLAVE_ADDR0_W::new(self, 11) } diff --git a/esp32s2-ulp/src/sens/sar_slave_addr2.rs b/esp32s2-ulp/src/sens/sar_slave_addr2.rs index 9696837c51..4541122a70 100644 --- a/esp32s2-ulp/src/sens/sar_slave_addr2.rs +++ b/esp32s2-ulp/src/sens/sar_slave_addr2.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - RTC I2C slave address 3"] #[inline(always)] - #[must_use] pub fn i2c_slave_addr3(&mut self) -> I2C_SLAVE_ADDR3_W { I2C_SLAVE_ADDR3_W::new(self, 0) } #[doc = "Bits 11:21 - RTC I2C slave address 2"] #[inline(always)] - #[must_use] pub fn i2c_slave_addr2(&mut self) -> I2C_SLAVE_ADDR2_W { I2C_SLAVE_ADDR2_W::new(self, 11) } diff --git a/esp32s2-ulp/src/sens/sar_slave_addr3.rs b/esp32s2-ulp/src/sens/sar_slave_addr3.rs index debe146d8b..4d68b97388 100644 --- a/esp32s2-ulp/src/sens/sar_slave_addr3.rs +++ b/esp32s2-ulp/src/sens/sar_slave_addr3.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - RTC I2C slave address 5"] #[inline(always)] - #[must_use] pub fn i2c_slave_addr5(&mut self) -> I2C_SLAVE_ADDR5_W { I2C_SLAVE_ADDR5_W::new(self, 0) } #[doc = "Bits 11:21 - RTC I2C slave address 4"] #[inline(always)] - #[must_use] pub fn i2c_slave_addr4(&mut self) -> I2C_SLAVE_ADDR4_W { I2C_SLAVE_ADDR4_W::new(self, 11) } diff --git a/esp32s2-ulp/src/sens/sar_slave_addr4.rs b/esp32s2-ulp/src/sens/sar_slave_addr4.rs index c02a2f742e..efda4d7818 100644 --- a/esp32s2-ulp/src/sens/sar_slave_addr4.rs +++ b/esp32s2-ulp/src/sens/sar_slave_addr4.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - RTC I2C slave address 7"] #[inline(always)] - #[must_use] pub fn i2c_slave_addr7(&mut self) -> I2C_SLAVE_ADDR7_W { I2C_SLAVE_ADDR7_W::new(self, 0) } #[doc = "Bits 11:21 - RTC I2C slave address 6"] #[inline(always)] - #[must_use] pub fn i2c_slave_addr6(&mut self) -> I2C_SLAVE_ADDR6_W { I2C_SLAVE_ADDR6_W::new(self, 11) } diff --git a/esp32s2/src/aes/aad_block_num.rs b/esp32s2/src/aes/aad_block_num.rs index 17ebb02e16..25abbabd3c 100644 --- a/esp32s2/src/aes/aad_block_num.rs +++ b/esp32s2/src/aes/aad_block_num.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stores the ADD Block Number for the GCM operation."] #[inline(always)] - #[must_use] pub fn aad_block_num(&mut self) -> AAD_BLOCK_NUM_W { AAD_BLOCK_NUM_W::new(self, 0) } diff --git a/esp32s2/src/aes/block_mode.rs b/esp32s2/src/aes/block_mode.rs index 79574e5183..f1b8eeccdc 100644 --- a/esp32s2/src/aes/block_mode.rs +++ b/esp32s2/src/aes/block_mode.rs @@ -2,12 +2,12 @@ pub type R = crate::R; #[doc = "Register `BLOCK_MODE` writer"] pub type W = crate::W; -#[doc = "Field `BLOCK_MODE` reader - Defines the operation type of the AES Accelerator operating under the DMA-AES working mode. For details, see Table 8. & 3'h0(BLOCK_MODE_ECB): ECB # 3'h1(BLOCK_MODE_CBC): CBC # 3'h2(BLOCK_MODE_OFB): OFB # 3'h3(BLOCK_MODE_CTR): CTR # 3'h4(BLOCK_MODE_CFB8): CFB-8 # 3'h5(BLOCK_MODE_CFB128): CFB-128 # 3'h6(BLOCK_MODE_GCM): GCM &"] +#[doc = "Field `BLOCK_MODE` reader - Defines the operation type of the AES Accelerator operating under the DMA-AES working mode. For details, see Table 8. & 3'h0(BLOCK_MODE_ECB): ECB # 3'h1(BLOCK_MODE_CBC): CBC # 3'h2(BLOCK_MODE_OFB): OFB # 3'h3(BLOCK_MODE_CTR): CTR # 3'h4(BLOCK_MODE_CFB8): CFB-8 # 3'h5(BLOCK_MODE_CFB128): CFB-128 # 3'h6(BLOCK_MODE_GCM): GCM &"] pub type BLOCK_MODE_R = crate::FieldReader; -#[doc = "Field `BLOCK_MODE` writer - Defines the operation type of the AES Accelerator operating under the DMA-AES working mode. For details, see Table 8. & 3'h0(BLOCK_MODE_ECB): ECB # 3'h1(BLOCK_MODE_CBC): CBC # 3'h2(BLOCK_MODE_OFB): OFB # 3'h3(BLOCK_MODE_CTR): CTR # 3'h4(BLOCK_MODE_CFB8): CFB-8 # 3'h5(BLOCK_MODE_CFB128): CFB-128 # 3'h6(BLOCK_MODE_GCM): GCM &"] +#[doc = "Field `BLOCK_MODE` writer - Defines the operation type of the AES Accelerator operating under the DMA-AES working mode. For details, see Table 8. & 3'h0(BLOCK_MODE_ECB): ECB # 3'h1(BLOCK_MODE_CBC): CBC # 3'h2(BLOCK_MODE_OFB): OFB # 3'h3(BLOCK_MODE_CTR): CTR # 3'h4(BLOCK_MODE_CFB8): CFB-8 # 3'h5(BLOCK_MODE_CFB128): CFB-128 # 3'h6(BLOCK_MODE_GCM): GCM &"] pub type BLOCK_MODE_W<'a, REG> = crate::FieldWriter<'a, REG, 3>; impl R { - #[doc = "Bits 0:2 - Defines the operation type of the AES Accelerator operating under the DMA-AES working mode. For details, see Table 8. & 3'h0(BLOCK_MODE_ECB): ECB # 3'h1(BLOCK_MODE_CBC): CBC # 3'h2(BLOCK_MODE_OFB): OFB # 3'h3(BLOCK_MODE_CTR): CTR # 3'h4(BLOCK_MODE_CFB8): CFB-8 # 3'h5(BLOCK_MODE_CFB128): CFB-128 # 3'h6(BLOCK_MODE_GCM): GCM &"] + #[doc = "Bits 0:2 - Defines the operation type of the AES Accelerator operating under the DMA-AES working mode. For details, see Table 8. & 3'h0(BLOCK_MODE_ECB): ECB # 3'h1(BLOCK_MODE_CBC): CBC # 3'h2(BLOCK_MODE_OFB): OFB # 3'h3(BLOCK_MODE_CTR): CTR # 3'h4(BLOCK_MODE_CFB8): CFB-8 # 3'h5(BLOCK_MODE_CFB128): CFB-128 # 3'h6(BLOCK_MODE_GCM): GCM &"] #[inline(always)] pub fn block_mode(&self) -> BLOCK_MODE_R { BLOCK_MODE_R::new((self.bits & 7) as u8) @@ -22,9 +22,8 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bits 0:2 - Defines the operation type of the AES Accelerator operating under the DMA-AES working mode. For details, see Table 8. & 3'h0(BLOCK_MODE_ECB): ECB # 3'h1(BLOCK_MODE_CBC): CBC # 3'h2(BLOCK_MODE_OFB): OFB # 3'h3(BLOCK_MODE_CTR): CTR # 3'h4(BLOCK_MODE_CFB8): CFB-8 # 3'h5(BLOCK_MODE_CFB128): CFB-128 # 3'h6(BLOCK_MODE_GCM): GCM &"] + #[doc = "Bits 0:2 - Defines the operation type of the AES Accelerator operating under the DMA-AES working mode. For details, see Table 8. & 3'h0(BLOCK_MODE_ECB): ECB # 3'h1(BLOCK_MODE_CBC): CBC # 3'h2(BLOCK_MODE_OFB): OFB # 3'h3(BLOCK_MODE_CTR): CTR # 3'h4(BLOCK_MODE_CFB8): CFB-8 # 3'h5(BLOCK_MODE_CFB128): CFB-128 # 3'h6(BLOCK_MODE_GCM): GCM &"] #[inline(always)] - #[must_use] pub fn block_mode(&mut self) -> BLOCK_MODE_W { BLOCK_MODE_W::new(self, 0) } diff --git a/esp32s2/src/aes/block_num.rs b/esp32s2/src/aes/block_num.rs index 8bb5378ffd..a39c510746 100644 --- a/esp32s2/src/aes/block_num.rs +++ b/esp32s2/src/aes/block_num.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stores the Block Number of plaintext or cipertext when the AES Accelerator operates under the DMA-AES working mode. For details, see Section 1.5.4."] #[inline(always)] - #[must_use] pub fn block_num(&mut self) -> BLOCK_NUM_W { BLOCK_NUM_W::new(self, 0) } diff --git a/esp32s2/src/aes/continue_.rs b/esp32s2/src/aes/continue_.rs index 45fe89abe3..2c3baddfd9 100644 --- a/esp32s2/src/aes/continue_.rs +++ b/esp32s2/src/aes/continue_.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to 1 to continue AES operation."] #[inline(always)] - #[must_use] pub fn continue_(&mut self) -> CONTINUE_W { CONTINUE_W::new(self, 0) } diff --git a/esp32s2/src/aes/date.rs b/esp32s2/src/aes/date.rs index 4d28b4a300..6590d07ffc 100644 --- a/esp32s2/src/aes/date.rs +++ b/esp32s2/src/aes/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Version control register"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s2/src/aes/dma_enable.rs b/esp32s2/src/aes/dma_enable.rs index 71d0855150..cab96f6288 100644 --- a/esp32s2/src/aes/dma_enable.rs +++ b/esp32s2/src/aes/dma_enable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Defines the working mode of the AES Accelerator. For details, see Table 1. 1'h0: typical AES operation 1'h1: DMA-AES operation"] #[inline(always)] - #[must_use] pub fn dma_enable(&mut self) -> DMA_ENABLE_W { DMA_ENABLE_W::new(self, 0) } diff --git a/esp32s2/src/aes/dma_exit.rs b/esp32s2/src/aes/dma_exit.rs index 261345c1cc..825ec822d3 100644 --- a/esp32s2/src/aes/dma_exit.rs +++ b/esp32s2/src/aes/dma_exit.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to 1 to exit AES operation. This register is only effective for DMA-AES operation."] #[inline(always)] - #[must_use] pub fn dma_exit(&mut self) -> DMA_EXIT_W { DMA_EXIT_W::new(self, 0) } diff --git a/esp32s2/src/aes/endian.rs b/esp32s2/src/aes/endian.rs index 0efd26a81a..7481d54160 100644 --- a/esp32s2/src/aes/endian.rs +++ b/esp32s2/src/aes/endian.rs @@ -2,12 +2,12 @@ pub type R = crate::R; #[doc = "Register `ENDIAN` writer"] pub type W = crate::W; -#[doc = "Field `ENDIAN` reader - Defines the endianness of input and output texts. & \\[1:0\\] key endian # \\[3:2\\] text_in endian or in_stream endian # \\[5:4\\] text_out endian or out_stream endian # &"] +#[doc = "Field `ENDIAN` reader - Defines the endianness of input and output texts. & \\[1:0\\] key endian # \\[3:2\\] text_in endian or in_stream endian # \\[5:4\\] text_out endian or out_stream endian # &"] pub type ENDIAN_R = crate::FieldReader; -#[doc = "Field `ENDIAN` writer - Defines the endianness of input and output texts. & \\[1:0\\] key endian # \\[3:2\\] text_in endian or in_stream endian # \\[5:4\\] text_out endian or out_stream endian # &"] +#[doc = "Field `ENDIAN` writer - Defines the endianness of input and output texts. & \\[1:0\\] key endian # \\[3:2\\] text_in endian or in_stream endian # \\[5:4\\] text_out endian or out_stream endian # &"] pub type ENDIAN_W<'a, REG> = crate::FieldWriter<'a, REG, 6>; impl R { - #[doc = "Bits 0:5 - Defines the endianness of input and output texts. & \\[1:0\\] key endian # \\[3:2\\] text_in endian or in_stream endian # \\[5:4\\] text_out endian or out_stream endian # &"] + #[doc = "Bits 0:5 - Defines the endianness of input and output texts. & \\[1:0\\] key endian # \\[3:2\\] text_in endian or in_stream endian # \\[5:4\\] text_out endian or out_stream endian # &"] #[inline(always)] pub fn endian(&self) -> ENDIAN_R { ENDIAN_R::new((self.bits & 0x3f) as u8) @@ -22,9 +22,8 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bits 0:5 - Defines the endianness of input and output texts. & \\[1:0\\] key endian # \\[3:2\\] text_in endian or in_stream endian # \\[5:4\\] text_out endian or out_stream endian # &"] + #[doc = "Bits 0:5 - Defines the endianness of input and output texts. & \\[1:0\\] key endian # \\[3:2\\] text_in endian or in_stream endian # \\[5:4\\] text_out endian or out_stream endian # &"] #[inline(always)] - #[must_use] pub fn endian(&mut self) -> ENDIAN_W { ENDIAN_W::new(self, 0) } diff --git a/esp32s2/src/aes/inc_sel.rs b/esp32s2/src/aes/inc_sel.rs index ed9a036844..41a2256951 100644 --- a/esp32s2/src/aes/inc_sel.rs +++ b/esp32s2/src/aes/inc_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Defines the Standard Incrementing Function for CTR block operation. Set this bit to 0 or 1 to choose INC 32 or INC 128 ."] #[inline(always)] - #[must_use] pub fn inc_sel(&mut self) -> INC_SEL_W { INC_SEL_W::new(self, 0) } diff --git a/esp32s2/src/aes/int_clr.rs b/esp32s2/src/aes/int_clr.rs index 5b95830996..cc9d06e539 100644 --- a/esp32s2/src/aes/int_clr.rs +++ b/esp32s2/src/aes/int_clr.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to 1 to clear AES interrupt."] #[inline(always)] - #[must_use] pub fn int_clr(&mut self) -> INT_CLR_W { INT_CLR_W::new(self, 0) } diff --git a/esp32s2/src/aes/int_ena.rs b/esp32s2/src/aes/int_ena.rs index dc2666bbec..942a7f56bc 100644 --- a/esp32s2/src/aes/int_ena.rs +++ b/esp32s2/src/aes/int_ena.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to 1 to enable AES interrupt and 0 to disable interrupt."] #[inline(always)] - #[must_use] pub fn int_ena(&mut self) -> INT_ENA_W { INT_ENA_W::new(self, 0) } diff --git a/esp32s2/src/aes/iv_mem.rs b/esp32s2/src/aes/iv_mem.rs index f45a066e4b..34bc1beba7 100644 --- a/esp32s2/src/aes/iv_mem.rs +++ b/esp32s2/src/aes/iv_mem.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This register stores the %sth 32-bit piece of 128-bit initialization vector"] #[inline(always)] - #[must_use] pub fn iv(&mut self) -> IV_W { IV_W::new(self, 0) } diff --git a/esp32s2/src/aes/j0_mem.rs b/esp32s2/src/aes/j0_mem.rs index e94d18db9a..bf6086888b 100644 --- a/esp32s2/src/aes/j0_mem.rs +++ b/esp32s2/src/aes/j0_mem.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This register stores the %sth 32-bit piece of 128-bit J0"] #[inline(always)] - #[must_use] pub fn j0(&mut self) -> J0_W { J0_W::new(self, 0) } diff --git a/esp32s2/src/aes/key.rs b/esp32s2/src/aes/key.rs index 807bd5088c..9b19d6f124 100644 --- a/esp32s2/src/aes/key.rs +++ b/esp32s2/src/aes/key.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stores AES keys."] #[inline(always)] - #[must_use] pub fn key(&mut self) -> KEY_W { KEY_W::new(self, 0) } diff --git a/esp32s2/src/aes/mode.rs b/esp32s2/src/aes/mode.rs index fd55178249..67fbe89465 100644 --- a/esp32s2/src/aes/mode.rs +++ b/esp32s2/src/aes/mode.rs @@ -2,12 +2,12 @@ pub type R = crate::R; #[doc = "Register `MODE` writer"] pub type W = crate::W; -#[doc = "Field `MODE` reader - Defines the operation type of the AES Accelerator operating under the Typical AES working mode. & 0x0(AES_EN_128): AES-EN-128 # 0x1(AES_EN_192): AES-EN-192 # 0x2(AES_EN_256): AES-EN-256 # 0x4(AES_DE_128): AES-DE-128 # 0x5(AES_DE_192): AES-DE-192 # 0x6(AES_DE_256): AES-DE-256 &"] +#[doc = "Field `MODE` reader - Defines the operation type of the AES Accelerator operating under the Typical AES working mode. & 0x0(AES_EN_128): AES-EN-128 # 0x1(AES_EN_192): AES-EN-192 # 0x2(AES_EN_256): AES-EN-256 # 0x4(AES_DE_128): AES-DE-128 # 0x5(AES_DE_192): AES-DE-192 # 0x6(AES_DE_256): AES-DE-256 &"] pub type MODE_R = crate::FieldReader; -#[doc = "Field `MODE` writer - Defines the operation type of the AES Accelerator operating under the Typical AES working mode. & 0x0(AES_EN_128): AES-EN-128 # 0x1(AES_EN_192): AES-EN-192 # 0x2(AES_EN_256): AES-EN-256 # 0x4(AES_DE_128): AES-DE-128 # 0x5(AES_DE_192): AES-DE-192 # 0x6(AES_DE_256): AES-DE-256 &"] +#[doc = "Field `MODE` writer - Defines the operation type of the AES Accelerator operating under the Typical AES working mode. & 0x0(AES_EN_128): AES-EN-128 # 0x1(AES_EN_192): AES-EN-192 # 0x2(AES_EN_256): AES-EN-256 # 0x4(AES_DE_128): AES-DE-128 # 0x5(AES_DE_192): AES-DE-192 # 0x6(AES_DE_256): AES-DE-256 &"] pub type MODE_W<'a, REG> = crate::FieldWriter<'a, REG, 3>; impl R { - #[doc = "Bits 0:2 - Defines the operation type of the AES Accelerator operating under the Typical AES working mode. & 0x0(AES_EN_128): AES-EN-128 # 0x1(AES_EN_192): AES-EN-192 # 0x2(AES_EN_256): AES-EN-256 # 0x4(AES_DE_128): AES-DE-128 # 0x5(AES_DE_192): AES-DE-192 # 0x6(AES_DE_256): AES-DE-256 &"] + #[doc = "Bits 0:2 - Defines the operation type of the AES Accelerator operating under the Typical AES working mode. & 0x0(AES_EN_128): AES-EN-128 # 0x1(AES_EN_192): AES-EN-192 # 0x2(AES_EN_256): AES-EN-256 # 0x4(AES_DE_128): AES-DE-128 # 0x5(AES_DE_192): AES-DE-192 # 0x6(AES_DE_256): AES-DE-256 &"] #[inline(always)] pub fn mode(&self) -> MODE_R { MODE_R::new((self.bits & 7) as u8) @@ -20,9 +20,8 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bits 0:2 - Defines the operation type of the AES Accelerator operating under the Typical AES working mode. & 0x0(AES_EN_128): AES-EN-128 # 0x1(AES_EN_192): AES-EN-192 # 0x2(AES_EN_256): AES-EN-256 # 0x4(AES_DE_128): AES-DE-128 # 0x5(AES_DE_192): AES-DE-192 # 0x6(AES_DE_256): AES-DE-256 &"] + #[doc = "Bits 0:2 - Defines the operation type of the AES Accelerator operating under the Typical AES working mode. & 0x0(AES_EN_128): AES-EN-128 # 0x1(AES_EN_192): AES-EN-192 # 0x2(AES_EN_256): AES-EN-256 # 0x4(AES_DE_128): AES-DE-128 # 0x5(AES_DE_192): AES-DE-192 # 0x6(AES_DE_256): AES-DE-256 &"] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 0) } diff --git a/esp32s2/src/aes/remainder_bit_num.rs b/esp32s2/src/aes/remainder_bit_num.rs index 2fff69e73e..e30a747d36 100644 --- a/esp32s2/src/aes/remainder_bit_num.rs +++ b/esp32s2/src/aes/remainder_bit_num.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Stores the Remainder Bit Number for the GCM operation."] #[inline(always)] - #[must_use] pub fn remainder_bit_num(&mut self) -> REMAINDER_BIT_NUM_W { REMAINDER_BIT_NUM_W::new(self, 0) } diff --git a/esp32s2/src/aes/text_in.rs b/esp32s2/src/aes/text_in.rs index 12e44ad6ae..e5bd545bfc 100644 --- a/esp32s2/src/aes/text_in.rs +++ b/esp32s2/src/aes/text_in.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stores the source data when the AES Accelerator operates in the Typical AES working mode."] #[inline(always)] - #[must_use] pub fn text_in(&mut self) -> TEXT_IN_W { TEXT_IN_W::new(self, 0) } diff --git a/esp32s2/src/aes/text_out.rs b/esp32s2/src/aes/text_out.rs index c5e507cd0c..5452e1cc98 100644 --- a/esp32s2/src/aes/text_out.rs +++ b/esp32s2/src/aes/text_out.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stores the result data when the AES Accelerator operates in the Typical AES working mode."] #[inline(always)] - #[must_use] pub fn text_out(&mut self) -> TEXT_OUT_W { TEXT_OUT_W::new(self, 0) } diff --git a/esp32s2/src/aes/trigger.rs b/esp32s2/src/aes/trigger.rs index be94b6331b..bbbde50c77 100644 --- a/esp32s2/src/aes/trigger.rs +++ b/esp32s2/src/aes/trigger.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to 1 to start AES operation."] #[inline(always)] - #[must_use] pub fn trigger(&mut self) -> TRIGGER_W { TRIGGER_W::new(self, 0) } diff --git a/esp32s2/src/apb_saradc/apb_dac_ctrl.rs b/esp32s2/src/apb_saradc/apb_dac_ctrl.rs index 93ba291fd7..55983cc066 100644 --- a/esp32s2/src/apb_saradc/apb_dac_ctrl.rs +++ b/esp32s2/src/apb_saradc/apb_dac_ctrl.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - Set DAC timer target."] #[inline(always)] - #[must_use] pub fn timer_target(&mut self) -> TIMER_TARGET_W { TIMER_TARGET_W::new(self, 0) } #[doc = "Bit 12 - Enable read dac data."] #[inline(always)] - #[must_use] pub fn timer_en(&mut self) -> TIMER_EN_W { TIMER_EN_W::new(self, 12) } #[doc = "Bit 13 - Enable DAC alter mode."] #[inline(always)] - #[must_use] pub fn alter_mode(&mut self) -> ALTER_MODE_W { ALTER_MODE_W::new(self, 13) } #[doc = "Bit 14 - Enable DMA_DAC."] #[inline(always)] - #[must_use] pub fn trans(&mut self) -> TRANS_W { TRANS_W::new(self, 14) } #[doc = "Bit 15 - Reset DIG DAC FIFO."] #[inline(always)] - #[must_use] pub fn reset_fifo(&mut self) -> RESET_FIFO_W { RESET_FIFO_W::new(self, 15) } #[doc = "Bit 16 - Reset DIG DAC by software."] #[inline(always)] - #[must_use] pub fn rst(&mut self) -> RST_W { RST_W::new(self, 16) } diff --git a/esp32s2/src/apb_saradc/arb_ctrl.rs b/esp32s2/src/apb_saradc/arb_ctrl.rs index 986c772c3e..df36c90ff3 100644 --- a/esp32s2/src/apb_saradc/arb_ctrl.rs +++ b/esp32s2/src/apb_saradc/arb_ctrl.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - ADC2 arbiter forces to enable DIG ADC2 CTRL."] #[inline(always)] - #[must_use] pub fn apb_force(&mut self) -> APB_FORCE_W { APB_FORCE_W::new(self, 2) } #[doc = "Bit 3 - ADC2 arbiter forces to enable RTC ADC2 CTRL."] #[inline(always)] - #[must_use] pub fn rtc_force(&mut self) -> RTC_FORCE_W { RTC_FORCE_W::new(self, 3) } #[doc = "Bit 4 - ADC2 arbiter forces to enable PWDET/PKDET CTRL."] #[inline(always)] - #[must_use] pub fn wifi_force(&mut self) -> WIFI_FORCE_W { WIFI_FORCE_W::new(self, 4) } #[doc = "Bit 5 - ADC2 arbiter force grant."] #[inline(always)] - #[must_use] pub fn grant_force(&mut self) -> GRANT_FORCE_W { GRANT_FORCE_W::new(self, 5) } #[doc = "Bits 6:7 - Set DIG ADC2 CTRL priority."] #[inline(always)] - #[must_use] pub fn apb_priority(&mut self) -> APB_PRIORITY_W { APB_PRIORITY_W::new(self, 6) } #[doc = "Bits 8:9 - Set RTC ADC2 CTRL priority."] #[inline(always)] - #[must_use] pub fn rtc_priority(&mut self) -> RTC_PRIORITY_W { RTC_PRIORITY_W::new(self, 8) } #[doc = "Bits 10:11 - Set PWDET/PKDET CTRL priority."] #[inline(always)] - #[must_use] pub fn wifi_priority(&mut self) -> WIFI_PRIORITY_W { WIFI_PRIORITY_W::new(self, 10) } #[doc = "Bit 12 - ADC2 arbiter uses fixed priority."] #[inline(always)] - #[must_use] pub fn fix_priority(&mut self) -> FIX_PRIORITY_W { FIX_PRIORITY_W::new(self, 12) } diff --git a/esp32s2/src/apb_saradc/clkm_conf.rs b/esp32s2/src/apb_saradc/clkm_conf.rs index 31239f5f39..63953c3aa6 100644 --- a/esp32s2/src/apb_saradc/clkm_conf.rs +++ b/esp32s2/src/apb_saradc/clkm_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Integral DIG_ADC clock divider value"] #[inline(always)] - #[must_use] pub fn clkm_div_num(&mut self) -> CLKM_DIV_NUM_W { CLKM_DIV_NUM_W::new(self, 0) } #[doc = "Bits 8:13 - Fractional clock divider numerator value"] #[inline(always)] - #[must_use] pub fn clkm_div_b(&mut self) -> CLKM_DIV_B_W { CLKM_DIV_B_W::new(self, 8) } #[doc = "Bits 14:19 - Fractional clock divider denominator value"] #[inline(always)] - #[must_use] pub fn clkm_div_a(&mut self) -> CLKM_DIV_A_W { CLKM_DIV_A_W::new(self, 14) } #[doc = "Bits 21:22 - 1: select APLL. 2: select APB_CLK. Other values: disable clock."] #[inline(always)] - #[must_use] pub fn clk_sel(&mut self) -> CLK_SEL_W { CLK_SEL_W::new(self, 21) } diff --git a/esp32s2/src/apb_saradc/ctrl.rs b/esp32s2/src/apb_saradc/ctrl.rs index e6a8feeacf..6e82e7c840 100644 --- a/esp32s2/src/apb_saradc/ctrl.rs +++ b/esp32s2/src/apb_saradc/ctrl.rs @@ -154,85 +154,71 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 0: select FSM to start SAR ADC. 1: select software to start SAR ADC."] #[inline(always)] - #[must_use] pub fn start_force(&mut self) -> START_FORCE_W { START_FORCE_W::new(self, 0) } #[doc = "Bit 1 - Start SAR ADC by software."] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 1) } #[doc = "Bits 3:4 - 0: single-channel scan mode. 1: double-channel scan mode. 2: alternate-channel scan mode."] #[inline(always)] - #[must_use] pub fn work_mode(&mut self) -> WORK_MODE_W { WORK_MODE_W::new(self, 3) } #[doc = "Bit 5 - 0: select SAR ADC1. 1: select SAR ADC2, only work for single-channel scan mode."] #[inline(always)] - #[must_use] pub fn sar_sel(&mut self) -> SAR_SEL_W { SAR_SEL_W::new(self, 5) } #[doc = "Bit 6 - SAR clock gate enable bit."] #[inline(always)] - #[must_use] pub fn sar_clk_gated(&mut self) -> SAR_CLK_GATED_W { SAR_CLK_GATED_W::new(self, 6) } #[doc = "Bits 7:14 - SAR clock divider"] #[inline(always)] - #[must_use] pub fn sar_clk_div(&mut self) -> SAR_CLK_DIV_W { SAR_CLK_DIV_W::new(self, 7) } #[doc = "Bits 15:18 - 0 ~ 15 means length 1 ~ 16"] #[inline(always)] - #[must_use] pub fn sar1_patt_len(&mut self) -> SAR1_PATT_LEN_W { SAR1_PATT_LEN_W::new(self, 15) } #[doc = "Bits 19:22 - 0 ~ 15 means length 1 ~ 16"] #[inline(always)] - #[must_use] pub fn sar2_patt_len(&mut self) -> SAR2_PATT_LEN_W { SAR2_PATT_LEN_W::new(self, 19) } #[doc = "Bit 23 - Clear the pointer of pattern table for DIG ADC1 CTRL."] #[inline(always)] - #[must_use] pub fn sar1_patt_p_clear(&mut self) -> SAR1_PATT_P_CLEAR_W { SAR1_PATT_P_CLEAR_W::new(self, 23) } #[doc = "Bit 24 - Clear the pointer of pattern table for DIG ADC2 CTRL."] #[inline(always)] - #[must_use] pub fn sar2_patt_p_clear(&mut self) -> SAR2_PATT_P_CLEAR_W { SAR2_PATT_P_CLEAR_W::new(self, 24) } #[doc = "Bit 25 - 1: sar_sel will be coded to the MSB of the 16-bit output data, in this case the resolution should not be larger than 11 bits."] #[inline(always)] - #[must_use] pub fn data_sar_sel(&mut self) -> DATA_SAR_SEL_W { DATA_SAR_SEL_W::new(self, 25) } #[doc = "Bit 26 - 1: I2S input data is from SAR ADC (for DMA), 0: I2S input data is from GPIO matrix"] #[inline(always)] - #[must_use] pub fn data_to_i2s(&mut self) -> DATA_TO_I2S_W { DATA_TO_I2S_W::new(self, 26) } #[doc = "Bits 27:28 - Force option to xpd sar blocks."] #[inline(always)] - #[must_use] pub fn xpd_sar_force(&mut self) -> XPD_SAR_FORCE_W { XPD_SAR_FORCE_W::new(self, 27) } #[doc = "Bits 30:31 - Wait arbit signal stable after sar_done."] #[inline(always)] - #[must_use] pub fn wait_arb_cycle(&mut self) -> WAIT_ARB_CYCLE_W { WAIT_ARB_CYCLE_W::new(self, 30) } diff --git a/esp32s2/src/apb_saradc/ctrl2.rs b/esp32s2/src/apb_saradc/ctrl2.rs index 154c876633..e474f4d055 100644 --- a/esp32s2/src/apb_saradc/ctrl2.rs +++ b/esp32s2/src/apb_saradc/ctrl2.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Enable limit times of SAR ADC sample."] #[inline(always)] - #[must_use] pub fn meas_num_limit(&mut self) -> MEAS_NUM_LIMIT_W { MEAS_NUM_LIMIT_W::new(self, 0) } #[doc = "Bits 1:8 - Set maximum conversion number."] #[inline(always)] - #[must_use] pub fn max_meas_num(&mut self) -> MAX_MEAS_NUM_W { MAX_MEAS_NUM_W::new(self, 1) } #[doc = "Bit 9 - 1: data to DIG ADC1 CTRL is inverted, otherwise not."] #[inline(always)] - #[must_use] pub fn sar1_inv(&mut self) -> SAR1_INV_W { SAR1_INV_W::new(self, 9) } #[doc = "Bit 10 - 1: data to DIG ADC2 CTRL is inverted, otherwise not."] #[inline(always)] - #[must_use] pub fn sar2_inv(&mut self) -> SAR2_INV_W { SAR2_INV_W::new(self, 10) } #[doc = "Bit 11 - 1: select saradc timer 0: i2s_ws trigger"] #[inline(always)] - #[must_use] pub fn timer_sel(&mut self) -> TIMER_SEL_W { TIMER_SEL_W::new(self, 11) } #[doc = "Bits 12:23 - Set SAR ADC timer target."] #[inline(always)] - #[must_use] pub fn timer_target(&mut self) -> TIMER_TARGET_W { TIMER_TARGET_W::new(self, 12) } #[doc = "Bit 24 - Enable SAR ADC timer trigger."] #[inline(always)] - #[must_use] pub fn timer_en(&mut self) -> TIMER_EN_W { TIMER_EN_W::new(self, 24) } diff --git a/esp32s2/src/apb_saradc/ctrl_date.rs b/esp32s2/src/apb_saradc/ctrl_date.rs index d3bf3b8c0d..a34fa9aada 100644 --- a/esp32s2/src/apb_saradc/ctrl_date.rs +++ b/esp32s2/src/apb_saradc/ctrl_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Version control register"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s2/src/apb_saradc/dma_conf.rs b/esp32s2/src/apb_saradc/dma_conf.rs index c3d64152c5..d108ef5d2a 100644 --- a/esp32s2/src/apb_saradc/dma_conf.rs +++ b/esp32s2/src/apb_saradc/dma_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Generate dma_in_suc_eof when sample cnt = spi_eof_num."] #[inline(always)] - #[must_use] pub fn adc_eof_num(&mut self) -> ADC_EOF_NUM_W { ADC_EOF_NUM_W::new(self, 0) } #[doc = "Bit 30 - Reset DIG ADC CTRL status."] #[inline(always)] - #[must_use] pub fn adc_reset_fsm(&mut self) -> ADC_RESET_FSM_W { ADC_RESET_FSM_W::new(self, 30) } #[doc = "Bit 31 - Set this bit, DIG ADC CTRL uses SPI DMA."] #[inline(always)] - #[must_use] pub fn adc_trans(&mut self) -> ADC_TRANS_W { ADC_TRANS_W::new(self, 31) } diff --git a/esp32s2/src/apb_saradc/filter_ctrl.rs b/esp32s2/src/apb_saradc/filter_ctrl.rs index 1ce78a1dfe..afdc5bba1f 100644 --- a/esp32s2/src/apb_saradc/filter_ctrl.rs +++ b/esp32s2/src/apb_saradc/filter_ctrl.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reset ADC2 filter."] #[inline(always)] - #[must_use] pub fn adc2_filter_reset(&mut self) -> ADC2_FILTER_RESET_W { ADC2_FILTER_RESET_W::new(self, 0) } #[doc = "Bit 1 - Reset ADC1 filter."] #[inline(always)] - #[must_use] pub fn adc1_filter_reset(&mut self) -> ADC1_FILTER_RESET_W { ADC1_FILTER_RESET_W::new(self, 1) } #[doc = "Bits 16:22 - Set filter factor for DIG ADC2 CRTL."] #[inline(always)] - #[must_use] pub fn adc2_filter_factor(&mut self) -> ADC2_FILTER_FACTOR_W { ADC2_FILTER_FACTOR_W::new(self, 16) } #[doc = "Bits 23:29 - Set filter factor for DIG ADC1 CRTL."] #[inline(always)] - #[must_use] pub fn adc1_filter_factor(&mut self) -> ADC1_FILTER_FACTOR_W { ADC1_FILTER_FACTOR_W::new(self, 23) } #[doc = "Bit 30 - Enable DIG ADC2 CRTL filter."] #[inline(always)] - #[must_use] pub fn adc2_filter_en(&mut self) -> ADC2_FILTER_EN_W { ADC2_FILTER_EN_W::new(self, 30) } #[doc = "Bit 31 - Enable DIG ADC1 CRTL filter."] #[inline(always)] - #[must_use] pub fn adc1_filter_en(&mut self) -> ADC1_FILTER_EN_W { ADC1_FILTER_EN_W::new(self, 31) } diff --git a/esp32s2/src/apb_saradc/fsm.rs b/esp32s2/src/apb_saradc/fsm.rs index 39b7453768..ac44f5f1ae 100644 --- a/esp32s2/src/apb_saradc/fsm.rs +++ b/esp32s2/src/apb_saradc/fsm.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:23 - sample number"] #[inline(always)] - #[must_use] pub fn sample_num(&mut self) -> SAMPLE_NUM_W { SAMPLE_NUM_W::new(self, 16) } #[doc = "Bits 24:31 - sample cycles"] #[inline(always)] - #[must_use] pub fn sample_cycle(&mut self) -> SAMPLE_CYCLE_W { SAMPLE_CYCLE_W::new(self, 24) } diff --git a/esp32s2/src/apb_saradc/fsm_wait.rs b/esp32s2/src/apb_saradc/fsm_wait.rs index e62797d924..825e3b791f 100644 --- a/esp32s2/src/apb_saradc/fsm_wait.rs +++ b/esp32s2/src/apb_saradc/fsm_wait.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - xpd wait"] #[inline(always)] - #[must_use] pub fn xpd_wait(&mut self) -> XPD_WAIT_W { XPD_WAIT_W::new(self, 0) } #[doc = "Bits 8:15 - reset time"] #[inline(always)] - #[must_use] pub fn rstb_wait(&mut self) -> RSTB_WAIT_W { RSTB_WAIT_W::new(self, 8) } #[doc = "Bits 16:23 - standby wait"] #[inline(always)] - #[must_use] pub fn standby_wait(&mut self) -> STANDBY_WAIT_W { STANDBY_WAIT_W::new(self, 16) } diff --git a/esp32s2/src/apb_saradc/int_clr.rs b/esp32s2/src/apb_saradc/int_clr.rs index 78edc681c7..e450fac542 100644 --- a/esp32s2/src/apb_saradc/int_clr.rs +++ b/esp32s2/src/apb_saradc/int_clr.rs @@ -17,25 +17,21 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 28 - Clear bit of APB_SARADC_ADC2_THRES_INT interrupt."] #[inline(always)] - #[must_use] pub fn adc2_thres(&mut self) -> ADC2_THRES_W { ADC2_THRES_W::new(self, 28) } #[doc = "Bit 29 - Clear bit of APB_SARADC_ADC1_THRES_INT interrupt."] #[inline(always)] - #[must_use] pub fn adc1_thres(&mut self) -> ADC1_THRES_W { ADC1_THRES_W::new(self, 29) } #[doc = "Bit 30 - Clear bit of APB_SARADC_ADC2_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn adc2_done(&mut self) -> ADC2_DONE_W { ADC2_DONE_W::new(self, 30) } #[doc = "Bit 31 - Clear bit of APB_SARADC_ADC1_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn adc1_done(&mut self) -> ADC1_DONE_W { ADC1_DONE_W::new(self, 31) } diff --git a/esp32s2/src/apb_saradc/int_ena.rs b/esp32s2/src/apb_saradc/int_ena.rs index b869b81385..72979acd5a 100644 --- a/esp32s2/src/apb_saradc/int_ena.rs +++ b/esp32s2/src/apb_saradc/int_ena.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 28 - Enable bit of APB_SARADC_ADC2_THRES_INT interrupt."] #[inline(always)] - #[must_use] pub fn adc2_thres(&mut self) -> ADC2_THRES_W { ADC2_THRES_W::new(self, 28) } #[doc = "Bit 29 - Enable bit of APB_SARADC_ADC1_THRES_INT interrupt."] #[inline(always)] - #[must_use] pub fn adc1_thres(&mut self) -> ADC1_THRES_W { ADC1_THRES_W::new(self, 29) } #[doc = "Bit 30 - Enable bit of APB_SARADC_ADC2_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn adc2_done(&mut self) -> ADC2_DONE_W { ADC2_DONE_W::new(self, 30) } #[doc = "Bit 31 - Enable bit of APB_SARADC_ADC1_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn adc1_done(&mut self) -> ADC1_DONE_W { ADC1_DONE_W::new(self, 31) } diff --git a/esp32s2/src/apb_saradc/sar1_patt_tab1.rs b/esp32s2/src/apb_saradc/sar1_patt_tab1.rs index 8a1e425870..fa1bd64382 100644 --- a/esp32s2/src/apb_saradc/sar1_patt_tab1.rs +++ b/esp32s2/src/apb_saradc/sar1_patt_tab1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - item 0 ~ 3 for pattern table 1 (each item one byte)"] #[inline(always)] - #[must_use] pub fn sar1_patt_tab1(&mut self) -> SAR1_PATT_TAB1_W { SAR1_PATT_TAB1_W::new(self, 0) } diff --git a/esp32s2/src/apb_saradc/sar1_patt_tab2.rs b/esp32s2/src/apb_saradc/sar1_patt_tab2.rs index a4e52df2b6..fbf639ee62 100644 --- a/esp32s2/src/apb_saradc/sar1_patt_tab2.rs +++ b/esp32s2/src/apb_saradc/sar1_patt_tab2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Item 4 ~ 7 for pattern table 1 (each item one byte)"] #[inline(always)] - #[must_use] pub fn sar1_patt_tab2(&mut self) -> SAR1_PATT_TAB2_W { SAR1_PATT_TAB2_W::new(self, 0) } diff --git a/esp32s2/src/apb_saradc/sar1_patt_tab3.rs b/esp32s2/src/apb_saradc/sar1_patt_tab3.rs index 926158c398..a013601755 100644 --- a/esp32s2/src/apb_saradc/sar1_patt_tab3.rs +++ b/esp32s2/src/apb_saradc/sar1_patt_tab3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Item 8 ~ 11 for pattern table 1 (each item one byte)"] #[inline(always)] - #[must_use] pub fn sar1_patt_tab3(&mut self) -> SAR1_PATT_TAB3_W { SAR1_PATT_TAB3_W::new(self, 0) } diff --git a/esp32s2/src/apb_saradc/sar1_patt_tab4.rs b/esp32s2/src/apb_saradc/sar1_patt_tab4.rs index 72f12d6e9d..25d0d89fae 100644 --- a/esp32s2/src/apb_saradc/sar1_patt_tab4.rs +++ b/esp32s2/src/apb_saradc/sar1_patt_tab4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Item 12 ~ 15 for pattern table 1 (each item one byte)"] #[inline(always)] - #[must_use] pub fn sar1_patt_tab4(&mut self) -> SAR1_PATT_TAB4_W { SAR1_PATT_TAB4_W::new(self, 0) } diff --git a/esp32s2/src/apb_saradc/sar2_patt_tab1.rs b/esp32s2/src/apb_saradc/sar2_patt_tab1.rs index c6f764a99c..0b131ae990 100644 --- a/esp32s2/src/apb_saradc/sar2_patt_tab1.rs +++ b/esp32s2/src/apb_saradc/sar2_patt_tab1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - item 0 ~ 3 for pattern table 2 (each item one byte)"] #[inline(always)] - #[must_use] pub fn sar2_patt_tab1(&mut self) -> SAR2_PATT_TAB1_W { SAR2_PATT_TAB1_W::new(self, 0) } diff --git a/esp32s2/src/apb_saradc/sar2_patt_tab2.rs b/esp32s2/src/apb_saradc/sar2_patt_tab2.rs index 1dea7070fa..55e8662100 100644 --- a/esp32s2/src/apb_saradc/sar2_patt_tab2.rs +++ b/esp32s2/src/apb_saradc/sar2_patt_tab2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Item 4 ~ 7 for pattern table 2 (each item one byte)"] #[inline(always)] - #[must_use] pub fn sar2_patt_tab2(&mut self) -> SAR2_PATT_TAB2_W { SAR2_PATT_TAB2_W::new(self, 0) } diff --git a/esp32s2/src/apb_saradc/sar2_patt_tab3.rs b/esp32s2/src/apb_saradc/sar2_patt_tab3.rs index 617ade9401..3efb9cf800 100644 --- a/esp32s2/src/apb_saradc/sar2_patt_tab3.rs +++ b/esp32s2/src/apb_saradc/sar2_patt_tab3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Item 8 ~ 11 for pattern table 2 (each item one byte)"] #[inline(always)] - #[must_use] pub fn sar2_patt_tab3(&mut self) -> SAR2_PATT_TAB3_W { SAR2_PATT_TAB3_W::new(self, 0) } diff --git a/esp32s2/src/apb_saradc/sar2_patt_tab4.rs b/esp32s2/src/apb_saradc/sar2_patt_tab4.rs index e165ce3fae..8bb14f8245 100644 --- a/esp32s2/src/apb_saradc/sar2_patt_tab4.rs +++ b/esp32s2/src/apb_saradc/sar2_patt_tab4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Item 12 ~ 15 for pattern table 2 (each item one byte)"] #[inline(always)] - #[must_use] pub fn sar2_patt_tab4(&mut self) -> SAR2_PATT_TAB4_W { SAR2_PATT_TAB4_W::new(self, 0) } diff --git a/esp32s2/src/apb_saradc/thres_ctrl.rs b/esp32s2/src/apb_saradc/thres_ctrl.rs index f4222f94c1..b05299f17a 100644 --- a/esp32s2/src/apb_saradc/thres_ctrl.rs +++ b/esp32s2/src/apb_saradc/thres_ctrl.rs @@ -6,13 +6,13 @@ pub type W = crate::W; pub type CLK_EN_R = crate::BitReader; #[doc = "Field `CLK_EN` writer - Clock gate enable."] pub type CLK_EN_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `ADC2_THRES_MODE` reader - 1: ADC_DATA > = threshold, generate interrupt. 0: ADC_DATA < threshold, generate interrupt."] +#[doc = "Field `ADC2_THRES_MODE` reader - 1: ADC_DATA > = threshold, generate interrupt. 0: ADC_DATA < threshold, generate interrupt."] pub type ADC2_THRES_MODE_R = crate::BitReader; -#[doc = "Field `ADC2_THRES_MODE` writer - 1: ADC_DATA > = threshold, generate interrupt. 0: ADC_DATA < threshold, generate interrupt."] +#[doc = "Field `ADC2_THRES_MODE` writer - 1: ADC_DATA > = threshold, generate interrupt. 0: ADC_DATA < threshold, generate interrupt."] pub type ADC2_THRES_MODE_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `ADC1_THRES_MODE` reader - 1: ADC_DATA > = threshold, generate interrupt. 0: ADC_DATA < threshold, generate interrupt."] +#[doc = "Field `ADC1_THRES_MODE` reader - 1: ADC_DATA > = threshold, generate interrupt. 0: ADC_DATA < threshold, generate interrupt."] pub type ADC1_THRES_MODE_R = crate::BitReader; -#[doc = "Field `ADC1_THRES_MODE` writer - 1: ADC_DATA > = threshold, generate interrupt. 0: ADC_DATA < threshold, generate interrupt."] +#[doc = "Field `ADC1_THRES_MODE` writer - 1: ADC_DATA > = threshold, generate interrupt. 0: ADC_DATA < threshold, generate interrupt."] pub type ADC1_THRES_MODE_W<'a, REG> = crate::BitWriter<'a, REG>; #[doc = "Field `ADC2_THRES` reader - ADC2 threshold."] pub type ADC2_THRES_R = crate::FieldReader; @@ -36,12 +36,12 @@ impl R { pub fn clk_en(&self) -> CLK_EN_R { CLK_EN_R::new((self.bits & 1) != 0) } - #[doc = "Bit 2 - 1: ADC_DATA > = threshold, generate interrupt. 0: ADC_DATA < threshold, generate interrupt."] + #[doc = "Bit 2 - 1: ADC_DATA > = threshold, generate interrupt. 0: ADC_DATA < threshold, generate interrupt."] #[inline(always)] pub fn adc2_thres_mode(&self) -> ADC2_THRES_MODE_R { ADC2_THRES_MODE_R::new(((self.bits >> 2) & 1) != 0) } - #[doc = "Bit 3 - 1: ADC_DATA > = threshold, generate interrupt. 0: ADC_DATA < threshold, generate interrupt."] + #[doc = "Bit 3 - 1: ADC_DATA > = threshold, generate interrupt. 0: ADC_DATA < threshold, generate interrupt."] #[inline(always)] pub fn adc1_thres_mode(&self) -> ADC1_THRES_MODE_R { ADC1_THRES_MODE_R::new(((self.bits >> 3) & 1) != 0) @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Clock gate enable."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } - #[doc = "Bit 2 - 1: ADC_DATA > = threshold, generate interrupt. 0: ADC_DATA < threshold, generate interrupt."] + #[doc = "Bit 2 - 1: ADC_DATA > = threshold, generate interrupt. 0: ADC_DATA < threshold, generate interrupt."] #[inline(always)] - #[must_use] pub fn adc2_thres_mode(&mut self) -> ADC2_THRES_MODE_W { ADC2_THRES_MODE_W::new(self, 2) } - #[doc = "Bit 3 - 1: ADC_DATA > = threshold, generate interrupt. 0: ADC_DATA < threshold, generate interrupt."] + #[doc = "Bit 3 - 1: ADC_DATA > = threshold, generate interrupt. 0: ADC_DATA < threshold, generate interrupt."] #[inline(always)] - #[must_use] pub fn adc1_thres_mode(&mut self) -> ADC1_THRES_MODE_W { ADC1_THRES_MODE_W::new(self, 3) } #[doc = "Bits 4:16 - ADC2 threshold."] #[inline(always)] - #[must_use] pub fn adc2_thres(&mut self) -> ADC2_THRES_W { ADC2_THRES_W::new(self, 4) } #[doc = "Bits 17:29 - ADC1 threshold."] #[inline(always)] - #[must_use] pub fn adc1_thres(&mut self) -> ADC1_THRES_W { ADC1_THRES_W::new(self, 17) } #[doc = "Bit 30 - Enable ADC2 threshold monitor."] #[inline(always)] - #[must_use] pub fn adc2_thres_en(&mut self) -> ADC2_THRES_EN_W { ADC2_THRES_EN_W::new(self, 30) } #[doc = "Bit 31 - Enable ADC1 threshold monitor."] #[inline(always)] - #[must_use] pub fn adc1_thres_en(&mut self) -> ADC1_THRES_EN_W { ADC1_THRES_EN_W::new(self, 31) } diff --git a/esp32s2/src/bb/bbpd_ctrl.rs b/esp32s2/src/bb/bbpd_ctrl.rs index 968dce20ce..6de8322c9b 100644 --- a/esp32s2/src/bb/bbpd_ctrl.rs +++ b/esp32s2/src/bb/bbpd_ctrl.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn dc_est_force_pd(&mut self) -> DC_EST_FORCE_PD_W { DC_EST_FORCE_PD_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn dc_est_force_pu(&mut self) -> DC_EST_FORCE_PU_W { DC_EST_FORCE_PU_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn fft_force_pd(&mut self) -> FFT_FORCE_PD_W { FFT_FORCE_PD_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn fft_force_pu(&mut self) -> FFT_FORCE_PU_W { FFT_FORCE_PU_W::new(self, 3) } diff --git a/esp32s2/src/dedicated_gpio/in_dly.rs b/esp32s2/src/dedicated_gpio/in_dly.rs index 66ba778867..ebe5a24224 100644 --- a/esp32s2/src/dedicated_gpio/in_dly.rs +++ b/esp32s2/src/dedicated_gpio/in_dly.rs @@ -83,7 +83,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0` field.
"] #[inline(always)] - #[must_use] pub fn ch(&mut self, n: u8) -> CH_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -91,49 +90,41 @@ impl W { } #[doc = "Bits 0:1 - Configure GPIO0 input delay. 0: no delay. 1: one clock delay. 2: two clock delay. 3: three clock delay."] #[inline(always)] - #[must_use] pub fn ch0(&mut self) -> CH_W { CH_W::new(self, 0) } #[doc = "Bits 2:3 - Configure GPIO1 input delay. 0: no delay. 1: one clock delay. 2: two clock delay. 3: three clock delay."] #[inline(always)] - #[must_use] pub fn ch1(&mut self) -> CH_W { CH_W::new(self, 2) } #[doc = "Bits 4:5 - Configure GPIO2 input delay. 0: no delay. 1: one clock delay. 2: two clock delay. 3: three clock delay."] #[inline(always)] - #[must_use] pub fn ch2(&mut self) -> CH_W { CH_W::new(self, 4) } #[doc = "Bits 6:7 - Configure GPIO3 input delay. 0: no delay. 1: one clock delay. 2: two clock delay. 3: three clock delay."] #[inline(always)] - #[must_use] pub fn ch3(&mut self) -> CH_W { CH_W::new(self, 6) } #[doc = "Bits 8:9 - Configure GPIO4 input delay. 0: no delay. 1: one clock delay. 2: two clock delay. 3: three clock delay."] #[inline(always)] - #[must_use] pub fn ch4(&mut self) -> CH_W { CH_W::new(self, 8) } #[doc = "Bits 10:11 - Configure GPIO5 input delay. 0: no delay. 1: one clock delay. 2: two clock delay. 3: three clock delay."] #[inline(always)] - #[must_use] pub fn ch5(&mut self) -> CH_W { CH_W::new(self, 10) } #[doc = "Bits 12:13 - Configure GPIO6 input delay. 0: no delay. 1: one clock delay. 2: two clock delay. 3: three clock delay."] #[inline(always)] - #[must_use] pub fn ch6(&mut self) -> CH_W { CH_W::new(self, 12) } #[doc = "Bits 14:15 - Configure GPIO7 input delay. 0: no delay. 1: one clock delay. 2: two clock delay. 3: three clock delay."] #[inline(always)] - #[must_use] pub fn ch7(&mut self) -> CH_W { CH_W::new(self, 14) } diff --git a/esp32s2/src/dedicated_gpio/intr_clr.rs b/esp32s2/src/dedicated_gpio/intr_clr.rs index 65182d4b11..04ad63a321 100644 --- a/esp32s2/src/dedicated_gpio/intr_clr.rs +++ b/esp32s2/src/dedicated_gpio/intr_clr.rs @@ -13,7 +13,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO0` field.
"] #[inline(always)] - #[must_use] pub fn gpio(&mut self, n: u8) -> GPIO_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -21,49 +20,41 @@ impl W { } #[doc = "Bit 0 - Set this bit to clear the DEDIC_GPIO0_INT_RAW interrupt."] #[inline(always)] - #[must_use] pub fn gpio0(&mut self) -> GPIO_W { GPIO_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the DEDIC_GPIO1_INT_RAW interrupt."] #[inline(always)] - #[must_use] pub fn gpio1(&mut self) -> GPIO_W { GPIO_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the DEDIC_GPIO2_INT_RAW interrupt."] #[inline(always)] - #[must_use] pub fn gpio2(&mut self) -> GPIO_W { GPIO_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the DEDIC_GPIO3_INT_RAW interrupt."] #[inline(always)] - #[must_use] pub fn gpio3(&mut self) -> GPIO_W { GPIO_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear the DEDIC_GPIO4_INT_RAW interrupt."] #[inline(always)] - #[must_use] pub fn gpio4(&mut self) -> GPIO_W { GPIO_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the DEDIC_GPIO5_INT_RAW interrupt."] #[inline(always)] - #[must_use] pub fn gpio5(&mut self) -> GPIO_W { GPIO_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the DEDIC_GPIO6_INT_RAW interrupt."] #[inline(always)] - #[must_use] pub fn gpio6(&mut self) -> GPIO_W { GPIO_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the DEDIC_GPIO7_INT_RAW interrupt."] #[inline(always)] - #[must_use] pub fn gpio7(&mut self) -> GPIO_W { GPIO_W::new(self, 7) } diff --git a/esp32s2/src/dedicated_gpio/intr_rcgn.rs b/esp32s2/src/dedicated_gpio/intr_rcgn.rs index 8a05953605..27ea9aaea7 100644 --- a/esp32s2/src/dedicated_gpio/intr_rcgn.rs +++ b/esp32s2/src/dedicated_gpio/intr_rcgn.rs @@ -83,7 +83,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `INTR_MODE_CH0` field.
"] #[inline(always)] - #[must_use] pub fn intr_mode_ch(&mut self, n: u8) -> INTR_MODE_CH_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -91,49 +90,41 @@ impl W { } #[doc = "Bits 0:2 - Configure channel 0 interrupt generate mode. 0/1: do not generate interrupt. 2: low level trigger. 3: high level trigger. 4: falling edge trigger. 5: raising edge trigger. 6/7: falling and raising edge trigger."] #[inline(always)] - #[must_use] pub fn intr_mode_ch0(&mut self) -> INTR_MODE_CH_W { INTR_MODE_CH_W::new(self, 0) } #[doc = "Bits 3:5 - Configure channel 1 interrupt generate mode. 0/1: do not generate interrupt. 2: low level trigger. 3: high level trigger. 4: falling edge trigger. 5: raising edge trigger. 6/7: falling and raising edge trigger."] #[inline(always)] - #[must_use] pub fn intr_mode_ch1(&mut self) -> INTR_MODE_CH_W { INTR_MODE_CH_W::new(self, 3) } #[doc = "Bits 6:8 - Configure channel 2 interrupt generate mode. 0/1: do not generate interrupt. 2: low level trigger. 3: high level trigger. 4: falling edge trigger. 5: raising edge trigger. 6/7: falling and raising edge trigger."] #[inline(always)] - #[must_use] pub fn intr_mode_ch2(&mut self) -> INTR_MODE_CH_W { INTR_MODE_CH_W::new(self, 6) } #[doc = "Bits 9:11 - Configure channel 3 interrupt generate mode. 0/1: do not generate interrupt. 2: low level trigger. 3: high level trigger. 4: falling edge trigger. 5: raising edge trigger. 6/7: falling and raising edge trigger."] #[inline(always)] - #[must_use] pub fn intr_mode_ch3(&mut self) -> INTR_MODE_CH_W { INTR_MODE_CH_W::new(self, 9) } #[doc = "Bits 12:14 - Configure channel 4 interrupt generate mode. 0/1: do not generate interrupt. 2: low level trigger. 3: high level trigger. 4: falling edge trigger. 5: raising edge trigger. 6/7: falling and raising edge trigger."] #[inline(always)] - #[must_use] pub fn intr_mode_ch4(&mut self) -> INTR_MODE_CH_W { INTR_MODE_CH_W::new(self, 12) } #[doc = "Bits 15:17 - Configure channel 5 interrupt generate mode. 0/1: do not generate interrupt. 2: low level trigger. 3: high level trigger. 4: falling edge trigger. 5: raising edge trigger. 6/7: falling and raising edge trigger."] #[inline(always)] - #[must_use] pub fn intr_mode_ch5(&mut self) -> INTR_MODE_CH_W { INTR_MODE_CH_W::new(self, 15) } #[doc = "Bits 18:20 - Configure channel 6 interrupt generate mode. 0/1: do not generate interrupt. 2: low level trigger. 3: high level trigger. 4: falling edge trigger. 5: raising edge trigger. 6/7: falling and raising edge trigger."] #[inline(always)] - #[must_use] pub fn intr_mode_ch6(&mut self) -> INTR_MODE_CH_W { INTR_MODE_CH_W::new(self, 18) } #[doc = "Bits 21:23 - Configure channel 7 interrupt generate mode. 0/1: do not generate interrupt. 2: low level trigger. 3: high level trigger. 4: falling edge trigger. 5: raising edge trigger. 6/7: falling and raising edge trigger."] #[inline(always)] - #[must_use] pub fn intr_mode_ch7(&mut self) -> INTR_MODE_CH_W { INTR_MODE_CH_W::new(self, 21) } diff --git a/esp32s2/src/dedicated_gpio/intr_rls.rs b/esp32s2/src/dedicated_gpio/intr_rls.rs index b9f5914971..9e8734014a 100644 --- a/esp32s2/src/dedicated_gpio/intr_rls.rs +++ b/esp32s2/src/dedicated_gpio/intr_rls.rs @@ -83,7 +83,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `GPIO0` field.
"] #[inline(always)] - #[must_use] pub fn gpio(&mut self, n: u8) -> GPIO_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -91,49 +90,41 @@ impl W { } #[doc = "Bit 0 - The enable bit for DEDIC_GPIO0_INT_ST register."] #[inline(always)] - #[must_use] pub fn gpio0(&mut self) -> GPIO_W { GPIO_W::new(self, 0) } #[doc = "Bit 1 - The enable bit for DEDIC_GPIO1_INT_ST register."] #[inline(always)] - #[must_use] pub fn gpio1(&mut self) -> GPIO_W { GPIO_W::new(self, 1) } #[doc = "Bit 2 - The enable bit for DEDIC_GPIO2_INT_ST register."] #[inline(always)] - #[must_use] pub fn gpio2(&mut self) -> GPIO_W { GPIO_W::new(self, 2) } #[doc = "Bit 3 - The enable bit for DEDIC_GPIO3_INT_ST register."] #[inline(always)] - #[must_use] pub fn gpio3(&mut self) -> GPIO_W { GPIO_W::new(self, 3) } #[doc = "Bit 4 - The enable bit for DEDIC_GPIO4_INT_ST register."] #[inline(always)] - #[must_use] pub fn gpio4(&mut self) -> GPIO_W { GPIO_W::new(self, 4) } #[doc = "Bit 5 - The enable bit for DEDIC_GPIO5_INT_ST register."] #[inline(always)] - #[must_use] pub fn gpio5(&mut self) -> GPIO_W { GPIO_W::new(self, 5) } #[doc = "Bit 6 - The enable bit for DEDIC_GPIO6_INT_ST register."] #[inline(always)] - #[must_use] pub fn gpio6(&mut self) -> GPIO_W { GPIO_W::new(self, 6) } #[doc = "Bit 7 - The enable bit for DEDIC_GPIO7_INT_ST register."] #[inline(always)] - #[must_use] pub fn gpio7(&mut self) -> GPIO_W { GPIO_W::new(self, 7) } diff --git a/esp32s2/src/dedicated_gpio/out_cpu.rs b/esp32s2/src/dedicated_gpio/out_cpu.rs index 19c6715199..18ba8fe810 100644 --- a/esp32s2/src/dedicated_gpio/out_cpu.rs +++ b/esp32s2/src/dedicated_gpio/out_cpu.rs @@ -83,7 +83,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `SEL0` field.
"] #[inline(always)] - #[must_use] pub fn sel(&mut self, n: u8) -> SEL_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -91,49 +90,41 @@ impl W { } #[doc = "Bit 0 - Select GPIO out value configured by registers or CPU instructions for channel 0. 0: Configured by registers. 1: configured by CPU instructions."] #[inline(always)] - #[must_use] pub fn sel0(&mut self) -> SEL_W { SEL_W::new(self, 0) } #[doc = "Bit 1 - Select GPIO out value configured by registers or CPU instructions for channel 1. 0: Configured by registers. 1: configured by CPU instructions."] #[inline(always)] - #[must_use] pub fn sel1(&mut self) -> SEL_W { SEL_W::new(self, 1) } #[doc = "Bit 2 - Select GPIO out value configured by registers or CPU instructions for channel 2. 0: Configured by registers. 1: configured by CPU instructions."] #[inline(always)] - #[must_use] pub fn sel2(&mut self) -> SEL_W { SEL_W::new(self, 2) } #[doc = "Bit 3 - Select GPIO out value configured by registers or CPU instructions for channel 3. 0: Configured by registers. 1: configured by CPU instructions."] #[inline(always)] - #[must_use] pub fn sel3(&mut self) -> SEL_W { SEL_W::new(self, 3) } #[doc = "Bit 4 - Select GPIO out value configured by registers or CPU instructions for channel 4. 0: Configured by registers. 1: configured by CPU instructions."] #[inline(always)] - #[must_use] pub fn sel4(&mut self) -> SEL_W { SEL_W::new(self, 4) } #[doc = "Bit 5 - Select GPIO out value configured by registers or CPU instructions for channel 5. 0: Configured by registers. 1: configured by CPU instructions."] #[inline(always)] - #[must_use] pub fn sel5(&mut self) -> SEL_W { SEL_W::new(self, 5) } #[doc = "Bit 6 - Select GPIO out value configured by registers or CPU instructions for channel 6. 0: Configured by registers. 1: configured by CPU instructions."] #[inline(always)] - #[must_use] pub fn sel6(&mut self) -> SEL_W { SEL_W::new(self, 6) } #[doc = "Bit 7 - Select GPIO out value configured by registers or CPU instructions for channel 7. 0: Configured by registers. 1: configured by CPU instructions."] #[inline(always)] - #[must_use] pub fn sel7(&mut self) -> SEL_W { SEL_W::new(self, 7) } diff --git a/esp32s2/src/dedicated_gpio/out_drt.rs b/esp32s2/src/dedicated_gpio/out_drt.rs index 1d08b4f1a9..72df751755 100644 --- a/esp32s2/src/dedicated_gpio/out_drt.rs +++ b/esp32s2/src/dedicated_gpio/out_drt.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:7 - This register is used to configure directive output value of 8-channel dedicated GPIO."] #[inline(always)] - #[must_use] pub fn value(&mut self) -> VALUE_W { VALUE_W::new(self, 0) } diff --git a/esp32s2/src/dedicated_gpio/out_idv.rs b/esp32s2/src/dedicated_gpio/out_idv.rs index 588a9a8e07..8e780b3b55 100644 --- a/esp32s2/src/dedicated_gpio/out_idv.rs +++ b/esp32s2/src/dedicated_gpio/out_idv.rs @@ -13,7 +13,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0` field.
"] #[inline(always)] - #[must_use] pub fn ch(&mut self, n: u8) -> CH_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -21,49 +20,41 @@ impl W { } #[doc = "Bits 0:1 - Configure channel 0 output value. 0: hold output value. 1: set output value. 2: clear output value. 3: inverse output value."] #[inline(always)] - #[must_use] pub fn ch0(&mut self) -> CH_W { CH_W::new(self, 0) } #[doc = "Bits 2:3 - Configure channel 1 output value. 0: hold output value. 1: set output value. 2: clear output value. 3: inverse output value."] #[inline(always)] - #[must_use] pub fn ch1(&mut self) -> CH_W { CH_W::new(self, 2) } #[doc = "Bits 4:5 - Configure channel 2 output value. 0: hold output value. 1: set output value. 2: clear output value. 3: inverse output value."] #[inline(always)] - #[must_use] pub fn ch2(&mut self) -> CH_W { CH_W::new(self, 4) } #[doc = "Bits 6:7 - Configure channel 3 output value. 0: hold output value. 1: set output value. 2: clear output value. 3: inverse output value."] #[inline(always)] - #[must_use] pub fn ch3(&mut self) -> CH_W { CH_W::new(self, 6) } #[doc = "Bits 8:9 - Configure channel 4 output value. 0: hold output value. 1: set output value. 2: clear output value. 3: inverse output value."] #[inline(always)] - #[must_use] pub fn ch4(&mut self) -> CH_W { CH_W::new(self, 8) } #[doc = "Bits 10:11 - Configure channel 5 output value. 0: hold output value. 1: set output value. 2: clear output value. 3: inverse output value."] #[inline(always)] - #[must_use] pub fn ch5(&mut self) -> CH_W { CH_W::new(self, 10) } #[doc = "Bits 12:13 - Configure channel 6 output value. 0: hold output value. 1: set output value. 2: clear output value. 3: inverse output value."] #[inline(always)] - #[must_use] pub fn ch6(&mut self) -> CH_W { CH_W::new(self, 12) } #[doc = "Bits 14:15 - Configure channel 7 output value. 0: hold output value. 1: set output value. 2: clear output value. 3: inverse output value."] #[inline(always)] - #[must_use] pub fn ch7(&mut self) -> CH_W { CH_W::new(self, 14) } diff --git a/esp32s2/src/dedicated_gpio/out_msk.rs b/esp32s2/src/dedicated_gpio/out_msk.rs index e54fe6b915..a856ce2ff1 100644 --- a/esp32s2/src/dedicated_gpio/out_msk.rs +++ b/esp32s2/src/dedicated_gpio/out_msk.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:7 - This register is used to configure updated output value of 8-channel dedicated GPIO."] #[inline(always)] - #[must_use] pub fn out_value(&mut self) -> OUT_VALUE_W { OUT_VALUE_W::new(self, 0) } #[doc = "Bits 8:15 - This register is used to configure channels which would be updated. 1: corresponding channel's output would be updated."] #[inline(always)] - #[must_use] pub fn out_msk(&mut self) -> OUT_MSK_W { OUT_MSK_W::new(self, 8) } diff --git a/esp32s2/src/ds/date.rs b/esp32s2/src/ds/date.rs index 9f930bc8bf..b97a19b87e 100644 --- a/esp32s2/src/ds/date.rs +++ b/esp32s2/src/ds/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Version control register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s2/src/ds/iv_.rs b/esp32s2/src/ds/iv_.rs index e4df2b5b4f..1687597eca 100644 --- a/esp32s2/src/ds/iv_.rs +++ b/esp32s2/src/ds/iv_.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - IV block data."] #[inline(always)] - #[must_use] pub fn iv(&mut self) -> IV_W { IV_W::new(self, 0) } diff --git a/esp32s2/src/ds/set_finish.rs b/esp32s2/src/ds/set_finish.rs index 438f904447..7c92f1c4ac 100644 --- a/esp32s2/src/ds/set_finish.rs +++ b/esp32s2/src/ds/set_finish.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to this register to end DS operation."] #[inline(always)] - #[must_use] pub fn set_finish(&mut self) -> SET_FINISH_W { SET_FINISH_W::new(self, 0) } diff --git a/esp32s2/src/ds/set_me.rs b/esp32s2/src/ds/set_me.rs index 0648c538e8..b60b3df552 100644 --- a/esp32s2/src/ds/set_me.rs +++ b/esp32s2/src/ds/set_me.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to this register to start DS operation."] #[inline(always)] - #[must_use] pub fn set_me(&mut self) -> SET_ME_W { SET_ME_W::new(self, 0) } diff --git a/esp32s2/src/ds/set_start.rs b/esp32s2/src/ds/set_start.rs index cea7e99be5..0e64fc1a3b 100644 --- a/esp32s2/src/ds/set_start.rs +++ b/esp32s2/src/ds/set_start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to this register to activate the DS peripheral."] #[inline(always)] - #[must_use] pub fn set_start(&mut self) -> SET_START_W { SET_START_W::new(self, 0) } diff --git a/esp32s2/src/efuse/clk.rs b/esp32s2/src/efuse/clk.rs index 9540284388..4700be4c16 100644 --- a/esp32s2/src/efuse/clk.rs +++ b/esp32s2/src/efuse/clk.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - If set, forces eFuse SRAM into power-saving mode."] #[inline(always)] - #[must_use] pub fn efuse_mem_force_pd(&mut self) -> EFUSE_MEM_FORCE_PD_W { EFUSE_MEM_FORCE_PD_W::new(self, 0) } #[doc = "Bit 1 - If set, forces to activate clock signal of eFuse SRAM."] #[inline(always)] - #[must_use] pub fn mem_clk_force_on(&mut self) -> MEM_CLK_FORCE_ON_W { MEM_CLK_FORCE_ON_W::new(self, 1) } #[doc = "Bit 2 - If set, forces eFuse SRAM into working mode."] #[inline(always)] - #[must_use] pub fn efuse_mem_force_pu(&mut self) -> EFUSE_MEM_FORCE_PU_W { EFUSE_MEM_FORCE_PU_W::new(self, 2) } #[doc = "Bit 16 - If set, forces to enable clock signal of eFuse memory."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 16) } diff --git a/esp32s2/src/efuse/cmd.rs b/esp32s2/src/efuse/cmd.rs index baaf4145e4..fe0688f848 100644 --- a/esp32s2/src/efuse/cmd.rs +++ b/esp32s2/src/efuse/cmd.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to send read command."] #[inline(always)] - #[must_use] pub fn read_cmd(&mut self) -> READ_CMD_W { READ_CMD_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to send programming command."] #[inline(always)] - #[must_use] pub fn pgm_cmd(&mut self) -> PGM_CMD_W { PGM_CMD_W::new(self, 1) } #[doc = "Bits 2:5 - The serial number of the block to be programmed. Value 0-10 corresponds to block number 0-10, respectively."] #[inline(always)] - #[must_use] pub fn blk_num(&mut self) -> BLK_NUM_W { BLK_NUM_W::new(self, 2) } diff --git a/esp32s2/src/efuse/conf.rs b/esp32s2/src/efuse/conf.rs index 84ef65c69c..2f67907dca 100644 --- a/esp32s2/src/efuse/conf.rs +++ b/esp32s2/src/efuse/conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - 0x5A5A: Operate programming command. 0x5AA5: Operate read command."] #[inline(always)] - #[must_use] pub fn op_code(&mut self) -> OP_CODE_W { OP_CODE_W::new(self, 0) } diff --git a/esp32s2/src/efuse/dac_conf.rs b/esp32s2/src/efuse/dac_conf.rs index 386dc3b935..dbc17b47fc 100644 --- a/esp32s2/src/efuse/dac_conf.rs +++ b/esp32s2/src/efuse/dac_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Controls the division factor of the rising clock of the programming voltage."] #[inline(always)] - #[must_use] pub fn dac_clk_div(&mut self) -> DAC_CLK_DIV_W { DAC_CLK_DIV_W::new(self, 0) } #[doc = "Bit 8 - Don't care."] #[inline(always)] - #[must_use] pub fn dac_clk_pad_sel(&mut self) -> DAC_CLK_PAD_SEL_W { DAC_CLK_PAD_SEL_W::new(self, 8) } #[doc = "Bits 9:16 - Controls the rising period of the programming voltage."] #[inline(always)] - #[must_use] pub fn dac_num(&mut self) -> DAC_NUM_W { DAC_NUM_W::new(self, 9) } #[doc = "Bit 17 - Reduces the power supply of the programming voltage."] #[inline(always)] - #[must_use] pub fn oe_clr(&mut self) -> OE_CLR_W { OE_CLR_W::new(self, 17) } diff --git a/esp32s2/src/efuse/date.rs b/esp32s2/src/efuse/date.rs index 3f56546368..f79a6d4eed 100644 --- a/esp32s2/src/efuse/date.rs +++ b/esp32s2/src/efuse/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Version control register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s2/src/efuse/int_clr.rs b/esp32s2/src/efuse/int_clr.rs index 670d58f7e5..230f4356f1 100644 --- a/esp32s2/src/efuse/int_clr.rs +++ b/esp32s2/src/efuse/int_clr.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The clear signal for read_done interrupt."] #[inline(always)] - #[must_use] pub fn read_done(&mut self) -> READ_DONE_W { READ_DONE_W::new(self, 0) } #[doc = "Bit 1 - The clear signal for pgm_done interrupt."] #[inline(always)] - #[must_use] pub fn pgm_done(&mut self) -> PGM_DONE_W { PGM_DONE_W::new(self, 1) } diff --git a/esp32s2/src/efuse/int_ena.rs b/esp32s2/src/efuse/int_ena.rs index 424c4f079d..3d4c9086ee 100644 --- a/esp32s2/src/efuse/int_ena.rs +++ b/esp32s2/src/efuse/int_ena.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The enable signal for read_done interrupt."] #[inline(always)] - #[must_use] pub fn read_done(&mut self) -> READ_DONE_W { READ_DONE_W::new(self, 0) } #[doc = "Bit 1 - The enable signal for pgm_done interrupt."] #[inline(always)] - #[must_use] pub fn pgm_done(&mut self) -> PGM_DONE_W { PGM_DONE_W::new(self, 1) } diff --git a/esp32s2/src/efuse/pgm_check_value.rs b/esp32s2/src/efuse/pgm_check_value.rs index 983b988037..0a357311dc 100644 --- a/esp32s2/src/efuse/pgm_check_value.rs +++ b/esp32s2/src/efuse/pgm_check_value.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The content of the %sth 32-bit RS code to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_rs_data(&mut self) -> PGM_RS_DATA_W { PGM_RS_DATA_W::new(self, 0) } diff --git a/esp32s2/src/efuse/pgm_data.rs b/esp32s2/src/efuse/pgm_data.rs index 4b9758021e..d705d6fad3 100644 --- a/esp32s2/src/efuse/pgm_data.rs +++ b/esp32s2/src/efuse/pgm_data.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The content of the %sth 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data(&mut self) -> PGM_DATA_W { PGM_DATA_W::new(self, 0) } diff --git a/esp32s2/src/efuse/rd_tim_conf.rs b/esp32s2/src/efuse/rd_tim_conf.rs index c47679d1e4..44615c05c4 100644 --- a/esp32s2/src/efuse/rd_tim_conf.rs +++ b/esp32s2/src/efuse/rd_tim_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Configures the hold time of read operation."] #[inline(always)] - #[must_use] pub fn thr_a(&mut self) -> THR_A_W { THR_A_W::new(self, 0) } #[doc = "Bits 8:15 - Configures the length of pulse of read operation."] #[inline(always)] - #[must_use] pub fn trd(&mut self) -> TRD_W { TRD_W::new(self, 8) } #[doc = "Bits 16:23 - Configures the setup time of read operation."] #[inline(always)] - #[must_use] pub fn tsur_a(&mut self) -> TSUR_A_W { TSUR_A_W::new(self, 16) } #[doc = "Bits 24:31 - Configures the initial read time of eFuse."] #[inline(always)] - #[must_use] pub fn read_init_num(&mut self) -> READ_INIT_NUM_W { READ_INIT_NUM_W::new(self, 24) } diff --git a/esp32s2/src/efuse/wr_tim_conf0.rs b/esp32s2/src/efuse/wr_tim_conf0.rs index f4a7234490..e63cf31d17 100644 --- a/esp32s2/src/efuse/wr_tim_conf0.rs +++ b/esp32s2/src/efuse/wr_tim_conf0.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Configures the hold time of programming operation."] #[inline(always)] - #[must_use] pub fn thp_a(&mut self) -> THP_A_W { THP_A_W::new(self, 0) } #[doc = "Bits 8:15 - Configures the length of pulse during programming 0 to eFuse."] #[inline(always)] - #[must_use] pub fn tpgm_inactive(&mut self) -> TPGM_INACTIVE_W { TPGM_INACTIVE_W::new(self, 8) } #[doc = "Bits 16:31 - Configures the length of pulse during programming 1 to eFuse."] #[inline(always)] - #[must_use] pub fn tpgm(&mut self) -> TPGM_W { TPGM_W::new(self, 16) } diff --git a/esp32s2/src/efuse/wr_tim_conf1.rs b/esp32s2/src/efuse/wr_tim_conf1.rs index 3d9950e0f4..60227df45d 100644 --- a/esp32s2/src/efuse/wr_tim_conf1.rs +++ b/esp32s2/src/efuse/wr_tim_conf1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Configures the setup time of programming operation."] #[inline(always)] - #[must_use] pub fn tsup_a(&mut self) -> TSUP_A_W { TSUP_A_W::new(self, 0) } #[doc = "Bits 8:23 - Configures the power up time for VDDQ."] #[inline(always)] - #[must_use] pub fn pwr_on_num(&mut self) -> PWR_ON_NUM_W { PWR_ON_NUM_W::new(self, 8) } diff --git a/esp32s2/src/efuse/wr_tim_conf2.rs b/esp32s2/src/efuse/wr_tim_conf2.rs index 2a54a9285a..6c0a829175 100644 --- a/esp32s2/src/efuse/wr_tim_conf2.rs +++ b/esp32s2/src/efuse/wr_tim_conf2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Configures the power outage time for VDDQ."] #[inline(always)] - #[must_use] pub fn pwr_off_num(&mut self) -> PWR_OFF_NUM_W { PWR_OFF_NUM_W::new(self, 0) } diff --git a/esp32s2/src/extmem/cache_bridge_arbiter_ctrl.rs b/esp32s2/src/extmem/cache_bridge_arbiter_ctrl.rs index 78b8b88a14..3428c2b258 100644 --- a/esp32s2/src/extmem/cache_bridge_arbiter_ctrl.rs +++ b/esp32s2/src/extmem/cache_bridge_arbiter_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved."] #[inline(always)] - #[must_use] pub fn alloc_wb_hold_arbiter( &mut self, ) -> ALLOC_WB_HOLD_ARBITER_W { diff --git a/esp32s2/src/extmem/cache_conf_misc.rs b/esp32s2/src/extmem/cache_conf_misc.rs index bd2ab9949e..e100a41284 100644 --- a/esp32s2/src/extmem/cache_conf_misc.rs +++ b/esp32s2/src/extmem/cache_conf_misc.rs @@ -42,7 +42,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to disable checking mmu entry fault by preload operation."] #[inline(always)] - #[must_use] pub fn pro_cache_ignore_preload_mmu_entry_fault( &mut self, ) -> PRO_CACHE_IGNORE_PRELOAD_MMU_ENTRY_FAULT_W { @@ -50,7 +49,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to disable checking mmu entry fault by sync operation."] #[inline(always)] - #[must_use] pub fn pro_cache_ignore_sync_mmu_entry_fault( &mut self, ) -> PRO_CACHE_IGNORE_SYNC_MMU_ENTRY_FAULT_W { diff --git a/esp32s2/src/extmem/cache_dbg_int_clr.rs b/esp32s2/src/extmem/cache_dbg_int_clr.rs index e7e70629d6..92aa67811c 100644 --- a/esp32s2/src/extmem/cache_dbg_int_clr.rs +++ b/esp32s2/src/extmem/cache_dbg_int_clr.rs @@ -37,19 +37,16 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The bit is used to clear interrupt by cpu access icache while the corresponding ibus is disabled or icache is disabled which include speculative access."] #[inline(always)] - #[must_use] pub fn ibus_acs_msk_ic_int_clr(&mut self) -> IBUS_ACS_MSK_IC_INT_CLR_W { IBUS_ACS_MSK_IC_INT_CLR_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to clear interrupt by ibus counter overflow."] #[inline(always)] - #[must_use] pub fn ibus_cnt_ovf_int_clr(&mut self) -> IBUS_CNT_OVF_INT_CLR_W { IBUS_CNT_OVF_INT_CLR_W::new(self, 1) } #[doc = "Bit 2 - The bit is used to clear interrupt by manual sync configurations fault."] #[inline(always)] - #[must_use] pub fn ic_sync_size_fault_int_clr( &mut self, ) -> IC_SYNC_SIZE_FAULT_INT_CLR_W { @@ -57,7 +54,6 @@ impl W { } #[doc = "Bit 3 - The bit is used to clear interrupt by manual pre-load configurations fault."] #[inline(always)] - #[must_use] pub fn ic_preload_size_fault_int_clr( &mut self, ) -> IC_PRELOAD_SIZE_FAULT_INT_CLR_W { @@ -65,31 +61,26 @@ impl W { } #[doc = "Bit 4 - The bit is used to clear interrupt by authentication fail."] #[inline(always)] - #[must_use] pub fn icache_reject_int_clr(&mut self) -> ICACHE_REJECT_INT_CLR_W { ICACHE_REJECT_INT_CLR_W::new(self, 4) } #[doc = "Bit 5 - The bit is used to clear interrupt by illegal writing lock registers of icache while icache is busy to issue lock,sync or pre-load operations."] #[inline(always)] - #[must_use] pub fn icache_set_ilg_int_clr(&mut self) -> ICACHE_SET_ILG_INT_CLR_W { ICACHE_SET_ILG_INT_CLR_W::new(self, 5) } #[doc = "Bit 6 - The bit is used to clear interrupt by cpu access dcache while the corresponding dbus is disabled or dcache is disabled which include speculative access."] #[inline(always)] - #[must_use] pub fn dbus_acs_msk_dc_int_clr(&mut self) -> DBUS_ACS_MSK_DC_INT_CLR_W { DBUS_ACS_MSK_DC_INT_CLR_W::new(self, 6) } #[doc = "Bit 7 - The bit is used to clear interrupt by dbus counter overflow."] #[inline(always)] - #[must_use] pub fn dbus_cnt_ovf_int_clr(&mut self) -> DBUS_CNT_OVF_INT_CLR_W { DBUS_CNT_OVF_INT_CLR_W::new(self, 7) } #[doc = "Bit 8 - The bit is used to clear interrupt by manual sync configurations fault."] #[inline(always)] - #[must_use] pub fn dc_sync_size_fault_int_clr( &mut self, ) -> DC_SYNC_SIZE_FAULT_INT_CLR_W { @@ -97,7 +88,6 @@ impl W { } #[doc = "Bit 9 - The bit is used to clear interrupt by manual pre-load configurations fault."] #[inline(always)] - #[must_use] pub fn dc_preload_size_fault_int_clr( &mut self, ) -> DC_PRELOAD_SIZE_FAULT_INT_CLR_W { @@ -105,7 +95,6 @@ impl W { } #[doc = "Bit 10 - The bit is used to clear interrupt by dcache trying to write flash."] #[inline(always)] - #[must_use] pub fn dcache_write_flash_int_clr( &mut self, ) -> DCACHE_WRITE_FLASH_INT_CLR_W { @@ -113,19 +102,16 @@ impl W { } #[doc = "Bit 11 - The bit is used to clear interrupt by authentication fail."] #[inline(always)] - #[must_use] pub fn dcache_reject_int_clr(&mut self) -> DCACHE_REJECT_INT_CLR_W { DCACHE_REJECT_INT_CLR_W::new(self, 11) } #[doc = "Bit 12 - The bit is used to clear interrupt by illegal writing lock registers of dcache while dcache is busy to issue lock,sync or pre-load operations."] #[inline(always)] - #[must_use] pub fn dcache_set_ilg_int_clr(&mut self) -> DCACHE_SET_ILG_INT_CLR_W { DCACHE_SET_ILG_INT_CLR_W::new(self, 12) } #[doc = "Bit 13 - The bit is used to clear interrupt by mmu entry fault."] #[inline(always)] - #[must_use] pub fn mmu_entry_fault_int_clr(&mut self) -> MMU_ENTRY_FAULT_INT_CLR_W { MMU_ENTRY_FAULT_INT_CLR_W::new(self, 13) } diff --git a/esp32s2/src/extmem/cache_dbg_int_ena.rs b/esp32s2/src/extmem/cache_dbg_int_ena.rs index 0ac07c4575..5d6d699ec6 100644 --- a/esp32s2/src/extmem/cache_dbg_int_ena.rs +++ b/esp32s2/src/extmem/cache_dbg_int_ena.rs @@ -237,25 +237,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to activate the cache track function. 1: enable, 0: disable."] #[inline(always)] - #[must_use] pub fn cache_dbg_en(&mut self) -> CACHE_DBG_EN_W { CACHE_DBG_EN_W::new(self, 0) } #[doc = "Bit 2 - The bit is used to enable interrupt by cpu access icache while the corresponding ibus is disabled which include speculative access."] #[inline(always)] - #[must_use] pub fn ibus_acs_msk_ic_int_ena(&mut self) -> IBUS_ACS_MSK_IC_INT_ENA_W { IBUS_ACS_MSK_IC_INT_ENA_W::new(self, 2) } #[doc = "Bit 3 - The bit is used to enable interrupt by ibus counter overflow."] #[inline(always)] - #[must_use] pub fn ibus_cnt_ovf_int_ena(&mut self) -> IBUS_CNT_OVF_INT_ENA_W { IBUS_CNT_OVF_INT_ENA_W::new(self, 3) } #[doc = "Bit 4 - The bit is used to enable interrupt by manual sync configurations fault."] #[inline(always)] - #[must_use] pub fn ic_sync_size_fault_int_ena( &mut self, ) -> IC_SYNC_SIZE_FAULT_INT_ENA_W { @@ -263,7 +259,6 @@ impl W { } #[doc = "Bit 5 - The bit is used to enable interrupt by manual pre-load configurations fault."] #[inline(always)] - #[must_use] pub fn ic_preload_size_fault_int_ena( &mut self, ) -> IC_PRELOAD_SIZE_FAULT_INT_ENA_W { @@ -271,13 +266,11 @@ impl W { } #[doc = "Bit 6 - The bit is used to enable interrupt by authentication fail."] #[inline(always)] - #[must_use] pub fn icache_reject_int_ena(&mut self) -> ICACHE_REJECT_INT_ENA_W { ICACHE_REJECT_INT_ENA_W::new(self, 6) } #[doc = "Bit 7 - The bit is used to enable interrupt by illegal writing preload registers of icache while icache is busy to issue lock,sync and pre-load operations."] #[inline(always)] - #[must_use] pub fn icache_set_preload_ilg_int_ena( &mut self, ) -> ICACHE_SET_PRELOAD_ILG_INT_ENA_W { @@ -285,7 +278,6 @@ impl W { } #[doc = "Bit 8 - The bit is used to enable interrupt by illegal writing sync registers of icache while icache is busy to issue lock,sync and pre-load operations."] #[inline(always)] - #[must_use] pub fn icache_set_sync_ilg_int_ena( &mut self, ) -> ICACHE_SET_SYNC_ILG_INT_ENA_W { @@ -293,7 +285,6 @@ impl W { } #[doc = "Bit 9 - The bit is used to enable interrupt by illegal writing lock registers of icache while icache is busy to issue lock,sync or pre-load operations."] #[inline(always)] - #[must_use] pub fn icache_set_lock_ilg_int_ena( &mut self, ) -> ICACHE_SET_LOCK_ILG_INT_ENA_W { @@ -301,19 +292,16 @@ impl W { } #[doc = "Bit 10 - The bit is used to enable interrupt by cpu access dcache while the corresponding dbus is disabled which include speculative access."] #[inline(always)] - #[must_use] pub fn dbus_acs_msk_dc_int_ena(&mut self) -> DBUS_ACS_MSK_DC_INT_ENA_W { DBUS_ACS_MSK_DC_INT_ENA_W::new(self, 10) } #[doc = "Bit 11 - The bit is used to enable interrupt by dbus counter overflow."] #[inline(always)] - #[must_use] pub fn dbus_cnt_ovf_int_ena(&mut self) -> DBUS_CNT_OVF_INT_ENA_W { DBUS_CNT_OVF_INT_ENA_W::new(self, 11) } #[doc = "Bit 12 - The bit is used to enable interrupt by manual sync configurations fault."] #[inline(always)] - #[must_use] pub fn dc_sync_size_fault_int_ena( &mut self, ) -> DC_SYNC_SIZE_FAULT_INT_ENA_W { @@ -321,7 +309,6 @@ impl W { } #[doc = "Bit 13 - The bit is used to enable interrupt by manual pre-load configurations fault."] #[inline(always)] - #[must_use] pub fn dc_preload_size_fault_int_ena( &mut self, ) -> DC_PRELOAD_SIZE_FAULT_INT_ENA_W { @@ -329,7 +316,6 @@ impl W { } #[doc = "Bit 14 - The bit is used to enable interrupt by dcache trying to write flash."] #[inline(always)] - #[must_use] pub fn dcache_write_flash_int_ena( &mut self, ) -> DCACHE_WRITE_FLASH_INT_ENA_W { @@ -337,13 +323,11 @@ impl W { } #[doc = "Bit 15 - The bit is used to enable interrupt by authentication fail."] #[inline(always)] - #[must_use] pub fn dcache_reject_int_ena(&mut self) -> DCACHE_REJECT_INT_ENA_W { DCACHE_REJECT_INT_ENA_W::new(self, 15) } #[doc = "Bit 16 - The bit is used to enable interrupt by illegal writing preload registers of dcache while dcache is busy to issue lock,sync and pre-load operations."] #[inline(always)] - #[must_use] pub fn dcache_set_preload_ilg_int_ena( &mut self, ) -> DCACHE_SET_PRELOAD_ILG_INT_ENA_W { @@ -351,7 +335,6 @@ impl W { } #[doc = "Bit 17 - The bit is used to enable interrupt by illegal writing sync registers of dcache while dcache is busy to issue lock,sync and pre-load operations."] #[inline(always)] - #[must_use] pub fn dcache_set_sync_ilg_int_ena( &mut self, ) -> DCACHE_SET_SYNC_ILG_INT_ENA_W { @@ -359,7 +342,6 @@ impl W { } #[doc = "Bit 18 - The bit is used to enable interrupt by illegal writing lock registers of dcache while dcache is busy to issue lock,sync or pre-load operations."] #[inline(always)] - #[must_use] pub fn dcache_set_lock_ilg_int_ena( &mut self, ) -> DCACHE_SET_LOCK_ILG_INT_ENA_W { @@ -367,7 +349,6 @@ impl W { } #[doc = "Bit 19 - The bit is used to enable interrupt by mmu entry fault."] #[inline(always)] - #[must_use] pub fn mmu_entry_fault_int_ena(&mut self) -> MMU_ENTRY_FAULT_INT_ENA_W { MMU_ENTRY_FAULT_INT_ENA_W::new(self, 19) } diff --git a/esp32s2/src/extmem/cache_encrypt_decrypt_clk_force_on.rs b/esp32s2/src/extmem/cache_encrypt_decrypt_clk_force_on.rs index dd8f973d50..d74ab2f3a0 100644 --- a/esp32s2/src/extmem/cache_encrypt_decrypt_clk_force_on.rs +++ b/esp32s2/src/extmem/cache_encrypt_decrypt_clk_force_on.rs @@ -52,7 +52,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to close clock gating of encrypt clock. 1: close gating, 0: open clock gating."] #[inline(always)] - #[must_use] pub fn clk_force_on_db_encrypt( &mut self, ) -> CLK_FORCE_ON_DB_ENCRYPT_W { @@ -60,7 +59,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to close clock gating of decrypt clock. 1: close gating, 0: open clock gating."] #[inline(always)] - #[must_use] pub fn clk_force_on_g0cb_decrypt( &mut self, ) -> CLK_FORCE_ON_G0CB_DECRYPT_W { @@ -68,7 +66,6 @@ impl W { } #[doc = "Bit 2 - The bit is used to close clock gating of encrypt and decrypt clock. 1: close gating, 0: open clock gating."] #[inline(always)] - #[must_use] pub fn clk_force_on_automatic_encrypt_decrypt( &mut self, ) -> CLK_FORCE_ON_AUTOMATIC_ENCRYPT_DECRYPT_W { diff --git a/esp32s2/src/extmem/cache_encrypt_decrypt_record_disable.rs b/esp32s2/src/extmem/cache_encrypt_decrypt_record_disable.rs index 56ea0b7af4..6ccdbbc331 100644 --- a/esp32s2/src/extmem/cache_encrypt_decrypt_record_disable.rs +++ b/esp32s2/src/extmem/cache_encrypt_decrypt_record_disable.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved."] #[inline(always)] - #[must_use] pub fn record_disable_db_encrypt( &mut self, ) -> RECORD_DISABLE_DB_ENCRYPT_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bit 1 - Reserved."] #[inline(always)] - #[must_use] pub fn record_disable_g0cb_decrypt( &mut self, ) -> RECORD_DISABLE_G0CB_DECRYPT_W { diff --git a/esp32s2/src/extmem/cache_preload_int_ctrl.rs b/esp32s2/src/extmem/cache_preload_int_ctrl.rs index 3d15535898..c9d7181579 100644 --- a/esp32s2/src/extmem/cache_preload_int_ctrl.rs +++ b/esp32s2/src/extmem/cache_preload_int_ctrl.rs @@ -66,7 +66,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - The bit is used to enable the interrupt by icache pre-load done."] #[inline(always)] - #[must_use] pub fn pro_icache_preload_int_ena( &mut self, ) -> PRO_ICACHE_PRELOAD_INT_ENA_W { @@ -74,7 +73,6 @@ impl W { } #[doc = "Bit 2 - The bit is used to clear the interrupt by icache pre-load done."] #[inline(always)] - #[must_use] pub fn pro_icache_preload_int_clr( &mut self, ) -> PRO_ICACHE_PRELOAD_INT_CLR_W { @@ -82,7 +80,6 @@ impl W { } #[doc = "Bit 4 - The bit is used to enable the interrupt by dcache pre-load done."] #[inline(always)] - #[must_use] pub fn pro_dcache_preload_int_ena( &mut self, ) -> PRO_DCACHE_PRELOAD_INT_ENA_W { @@ -90,7 +87,6 @@ impl W { } #[doc = "Bit 5 - The bit is used to clear the interrupt by dcache pre-load done."] #[inline(always)] - #[must_use] pub fn pro_dcache_preload_int_clr( &mut self, ) -> PRO_DCACHE_PRELOAD_INT_CLR_W { diff --git a/esp32s2/src/extmem/cache_sync_int_ctrl.rs b/esp32s2/src/extmem/cache_sync_int_ctrl.rs index 528a3a9e7d..47d275d15f 100644 --- a/esp32s2/src/extmem/cache_sync_int_ctrl.rs +++ b/esp32s2/src/extmem/cache_sync_int_ctrl.rs @@ -54,7 +54,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - The bit is used to enable the interrupt by icache sync done."] #[inline(always)] - #[must_use] pub fn pro_icache_sync_int_ena( &mut self, ) -> PRO_ICACHE_SYNC_INT_ENA_W { @@ -62,7 +61,6 @@ impl W { } #[doc = "Bit 2 - The bit is used to clear the interrupt by icache sync done."] #[inline(always)] - #[must_use] pub fn pro_icache_sync_int_clr( &mut self, ) -> PRO_ICACHE_SYNC_INT_CLR_W { @@ -70,7 +68,6 @@ impl W { } #[doc = "Bit 4 - The bit is used to enable the interrupt by dcache sync done."] #[inline(always)] - #[must_use] pub fn pro_dcache_sync_int_ena( &mut self, ) -> PRO_DCACHE_SYNC_INT_ENA_W { @@ -78,7 +75,6 @@ impl W { } #[doc = "Bit 5 - The bit is used to clear the interrupt by dcache sync done."] #[inline(always)] - #[must_use] pub fn pro_dcache_sync_int_clr( &mut self, ) -> PRO_DCACHE_SYNC_INT_CLR_W { diff --git a/esp32s2/src/extmem/clock_gate.rs b/esp32s2/src/extmem/clock_gate.rs index 5416f9931a..87231641c1 100644 --- a/esp32s2/src/extmem/clock_gate.rs +++ b/esp32s2/src/extmem/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32s2/src/extmem/pro_cache_acs_cnt_clr.rs b/esp32s2/src/extmem/pro_cache_acs_cnt_clr.rs index 82f4ac16c0..d669519fc3 100644 --- a/esp32s2/src/extmem/pro_cache_acs_cnt_clr.rs +++ b/esp32s2/src/extmem/pro_cache_acs_cnt_clr.rs @@ -13,7 +13,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The bit is used to clear dcache counter which include DC_PRELOAD_CNT_REG, DC_PRELOAD_EVICT_CNT_REG, DC_PRELOAD_MISS_CNT_REG, DBUS0-2_ABANDON_CNT_REG, DBUS0-2_ACS_WB_CNT_REG, DBUS0-2_ACS_MISS_CNT_REG and DBUS0-2_ACS_CNT_REG."] #[inline(always)] - #[must_use] pub fn pro_dcache_acs_cnt_clr( &mut self, ) -> PRO_DCACHE_ACS_CNT_CLR_W { @@ -21,7 +20,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to clear icache counter which include IC_PRELOAD_CNT_REG, IC_PRELOAD_MISS_CNT_REG, IBUS0-2_ABANDON_CNT_REG, IBUS0-2_ACS_MISS_CNT_REG and IBUS0-2_ACS_CNT_REG."] #[inline(always)] - #[must_use] pub fn pro_icache_acs_cnt_clr( &mut self, ) -> PRO_ICACHE_ACS_CNT_CLR_W { diff --git a/esp32s2/src/extmem/pro_cache_mmu_power_ctrl.rs b/esp32s2/src/extmem/pro_cache_mmu_power_ctrl.rs index f3ce0ac113..65d9228cd9 100644 --- a/esp32s2/src/extmem/pro_cache_mmu_power_ctrl.rs +++ b/esp32s2/src/extmem/pro_cache_mmu_power_ctrl.rs @@ -53,7 +53,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable clock gating to save power when access mmu memory, 0: enable, 1: disable"] #[inline(always)] - #[must_use] pub fn pro_cache_mmu_mem_force_on( &mut self, ) -> PRO_CACHE_MMU_MEM_FORCE_ON_W { @@ -61,7 +60,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to power mmu memory down, 0: follow_rtc_lslp_pd, 1: power down"] #[inline(always)] - #[must_use] pub fn pro_cache_mmu_mem_force_pd( &mut self, ) -> PRO_CACHE_MMU_MEM_FORCE_PD_W { @@ -69,7 +67,6 @@ impl W { } #[doc = "Bit 2 - The bit is used to power mmu memory down, 0: follow_rtc_lslp_pd, 1: power up"] #[inline(always)] - #[must_use] pub fn pro_cache_mmu_mem_force_pu( &mut self, ) -> PRO_CACHE_MMU_MEM_FORCE_PU_W { diff --git a/esp32s2/src/extmem/pro_cache_wrap_around_ctrl.rs b/esp32s2/src/extmem/pro_cache_wrap_around_ctrl.rs index ff3a759878..5ce6c53f6f 100644 --- a/esp32s2/src/extmem/pro_cache_wrap_around_ctrl.rs +++ b/esp32s2/src/extmem/pro_cache_wrap_around_ctrl.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable wrap around mode when read data from flash."] #[inline(always)] - #[must_use] pub fn pro_cache_flash_wrap_around( &mut self, ) -> PRO_CACHE_FLASH_WRAP_AROUND_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to enable wrap around mode when read data from spiram."] #[inline(always)] - #[must_use] pub fn pro_cache_sram_rd_wrap_around( &mut self, ) -> PRO_CACHE_SRAM_RD_WRAP_AROUND_W { diff --git a/esp32s2/src/extmem/pro_dcache_autoload_cfg.rs b/esp32s2/src/extmem/pro_dcache_autoload_cfg.rs index 4afd0edc27..1ceb8bc497 100644 --- a/esp32s2/src/extmem/pro_dcache_autoload_cfg.rs +++ b/esp32s2/src/extmem/pro_dcache_autoload_cfg.rs @@ -93,7 +93,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved."] #[inline(always)] - #[must_use] pub fn pro_dcache_autoload_mode( &mut self, ) -> PRO_DCACHE_AUTOLOAD_MODE_W { @@ -101,7 +100,6 @@ impl W { } #[doc = "Bits 1:2 - Reserved."] #[inline(always)] - #[must_use] pub fn pro_dcache_autoload_step( &mut self, ) -> PRO_DCACHE_AUTOLOAD_STEP_W { @@ -109,7 +107,6 @@ impl W { } #[doc = "Bit 3 - The bits are used to configure the direction of conditional pre-load operation. 1: descending, 0: ascending."] #[inline(always)] - #[must_use] pub fn pro_dcache_autoload_order( &mut self, ) -> PRO_DCACHE_AUTOLOAD_ORDER_W { @@ -117,7 +114,6 @@ impl W { } #[doc = "Bits 4:5 - The bits are used to configure trigger conditions for conditional pre-load. 0/3: cache miss, 1: cache hit, 2: both cache miss and hit."] #[inline(always)] - #[must_use] pub fn pro_dcache_autoload_rqst( &mut self, ) -> PRO_DCACHE_AUTOLOAD_RQST_W { @@ -125,7 +121,6 @@ impl W { } #[doc = "Bits 6:7 - The bits are used to configure the numbers of the cache block for the issuing conditional pre-load operation."] #[inline(always)] - #[must_use] pub fn pro_dcache_autoload_size( &mut self, ) -> PRO_DCACHE_AUTOLOAD_SIZE_W { @@ -133,7 +128,6 @@ impl W { } #[doc = "Bit 8 - The bits are used to enable the second section for conditional pre-load operation."] #[inline(always)] - #[must_use] pub fn pro_dcache_autoload_sct0_ena( &mut self, ) -> PRO_DCACHE_AUTOLOAD_SCT0_ENA_W { @@ -141,7 +135,6 @@ impl W { } #[doc = "Bit 9 - The bits are used to enable the first section for conditional pre-load operation."] #[inline(always)] - #[must_use] pub fn pro_dcache_autoload_sct1_ena( &mut self, ) -> PRO_DCACHE_AUTOLOAD_SCT1_ENA_W { diff --git a/esp32s2/src/extmem/pro_dcache_autoload_section0_addr.rs b/esp32s2/src/extmem/pro_dcache_autoload_section0_addr.rs index fa268295d7..5399508ad8 100644 --- a/esp32s2/src/extmem/pro_dcache_autoload_section0_addr.rs +++ b/esp32s2/src/extmem/pro_dcache_autoload_section0_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the start virtual address of the first section for conditional pre-load operation. It should be combined with pro_dcache_autoload_sct0_ena."] #[inline(always)] - #[must_use] pub fn pro_dcache_autoload_sct0_addr( &mut self, ) -> PRO_DCACHE_AUTOLOAD_SCT0_ADDR_W { diff --git a/esp32s2/src/extmem/pro_dcache_autoload_section0_size.rs b/esp32s2/src/extmem/pro_dcache_autoload_section0_size.rs index 69584db21b..c7f13483c3 100644 --- a/esp32s2/src/extmem/pro_dcache_autoload_section0_size.rs +++ b/esp32s2/src/extmem/pro_dcache_autoload_section0_size.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - The bits are used to configure the length of the first section for conditional pre-load operation. It should be combined with pro_dcache_autoload_sct0_ena."] #[inline(always)] - #[must_use] pub fn pro_dcache_autoload_sct0_size( &mut self, ) -> PRO_DCACHE_AUTOLOAD_SCT0_SIZE_W { diff --git a/esp32s2/src/extmem/pro_dcache_autoload_section1_addr.rs b/esp32s2/src/extmem/pro_dcache_autoload_section1_addr.rs index 840af3e5e1..e9379ecfbf 100644 --- a/esp32s2/src/extmem/pro_dcache_autoload_section1_addr.rs +++ b/esp32s2/src/extmem/pro_dcache_autoload_section1_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the start virtual address of the second section for conditional pre-load operation. It should be combined with pro_dcache_autoload_sct1_ena."] #[inline(always)] - #[must_use] pub fn pro_dcache_autoload_sct1_addr( &mut self, ) -> PRO_DCACHE_AUTOLOAD_SCT1_ADDR_W { diff --git a/esp32s2/src/extmem/pro_dcache_autoload_section1_size.rs b/esp32s2/src/extmem/pro_dcache_autoload_section1_size.rs index 5170a46142..42cd4b8804 100644 --- a/esp32s2/src/extmem/pro_dcache_autoload_section1_size.rs +++ b/esp32s2/src/extmem/pro_dcache_autoload_section1_size.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - The bits are used to configure the length of the second section for conditional pre-load operation. It should be combined with pro_dcache_autoload_sct1_ena."] #[inline(always)] - #[must_use] pub fn pro_dcache_autoload_sct1_size( &mut self, ) -> PRO_DCACHE_AUTOLOAD_SCT1_SIZE_W { diff --git a/esp32s2/src/extmem/pro_dcache_ctrl.rs b/esp32s2/src/extmem/pro_dcache_ctrl.rs index 2519e3a987..f588eb4ef8 100644 --- a/esp32s2/src/extmem/pro_dcache_ctrl.rs +++ b/esp32s2/src/extmem/pro_dcache_ctrl.rs @@ -199,19 +199,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to activate the data cache. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn pro_dcache_enable(&mut self) -> PRO_DCACHE_ENABLE_W { PRO_DCACHE_ENABLE_W::new(self, 0) } #[doc = "Bit 2 - The bit is used to configure cache memory size.0: 8KB, 1: 16KB"] #[inline(always)] - #[must_use] pub fn pro_dcache_setsize_mode(&mut self) -> PRO_DCACHE_SETSIZE_MODE_W { PRO_DCACHE_SETSIZE_MODE_W::new(self, 2) } #[doc = "Bit 3 - The bit is used to configure cache block size.0: 16 bytes, 1: 32 bytes"] #[inline(always)] - #[must_use] pub fn pro_dcache_blocksize_mode( &mut self, ) -> PRO_DCACHE_BLOCKSIZE_MODE_W { @@ -219,7 +216,6 @@ impl W { } #[doc = "Bit 8 - The bit is used to enable invalidate operation. It will be cleared by hardware after invalidate operation done."] #[inline(always)] - #[must_use] pub fn pro_dcache_invalidate_ena( &mut self, ) -> PRO_DCACHE_INVALIDATE_ENA_W { @@ -227,49 +223,41 @@ impl W { } #[doc = "Bit 10 - The bit is used to enable flush operation. It will be cleared by hardware after flush operation done."] #[inline(always)] - #[must_use] pub fn pro_dcache_flush_ena(&mut self) -> PRO_DCACHE_FLUSH_ENA_W { PRO_DCACHE_FLUSH_ENA_W::new(self, 10) } #[doc = "Bit 12 - The bit is used to enable clean operation. It will be cleared by hardware after clean operation done."] #[inline(always)] - #[must_use] pub fn pro_dcache_clean_ena(&mut self) -> PRO_DCACHE_CLEAN_ENA_W { PRO_DCACHE_CLEAN_ENA_W::new(self, 12) } #[doc = "Bit 14 - The bit is used to enable pre-lock operation which is combined with PRO_DCACHE_LOCK0_ADDR_REG and PRO_DCACHE_LOCK0_SIZE_REG."] #[inline(always)] - #[must_use] pub fn pro_dcache_lock0_en(&mut self) -> PRO_DCACHE_LOCK0_EN_W { PRO_DCACHE_LOCK0_EN_W::new(self, 14) } #[doc = "Bit 15 - The bit is used to enable pre-lock operation which is combined with PRO_DCACHE_LOCK1_ADDR_REG and PRO_DCACHE_LOCK1_SIZE_REG."] #[inline(always)] - #[must_use] pub fn pro_dcache_lock1_en(&mut self) -> PRO_DCACHE_LOCK1_EN_W { PRO_DCACHE_LOCK1_EN_W::new(self, 15) } #[doc = "Bit 18 - The bit is used to enable and disable conditional-preload operation. It is combined with pre_dcache_autoload_done. 1: enable, 0: disable."] #[inline(always)] - #[must_use] pub fn pro_dcache_autoload_ena(&mut self) -> PRO_DCACHE_AUTOLOAD_ENA_W { PRO_DCACHE_AUTOLOAD_ENA_W::new(self, 18) } #[doc = "Bit 20 - The bit is used to enable preload operation. It will be cleared by hardware after preload operation done."] #[inline(always)] - #[must_use] pub fn pro_dcache_preload_ena(&mut self) -> PRO_DCACHE_PRELOAD_ENA_W { PRO_DCACHE_PRELOAD_ENA_W::new(self, 20) } #[doc = "Bit 22 - The bit is used to enable unlock operation. It will be cleared by hardware after unlock operation done."] #[inline(always)] - #[must_use] pub fn pro_dcache_unlock_ena(&mut self) -> PRO_DCACHE_UNLOCK_ENA_W { PRO_DCACHE_UNLOCK_ENA_W::new(self, 22) } #[doc = "Bit 24 - The bit is used to enable lock operation. It will be cleared by hardware after lock operation done."] #[inline(always)] - #[must_use] pub fn pro_dcache_lock_ena(&mut self) -> PRO_DCACHE_LOCK_ENA_W { PRO_DCACHE_LOCK_ENA_W::new(self, 24) } diff --git a/esp32s2/src/extmem/pro_dcache_ctrl1.rs b/esp32s2/src/extmem/pro_dcache_ctrl1.rs index f00954f796..e6ac4c4de4 100644 --- a/esp32s2/src/extmem/pro_dcache_ctrl1.rs +++ b/esp32s2/src/extmem/pro_dcache_ctrl1.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to disable dbus0, 0: enable, 1: disable"] #[inline(always)] - #[must_use] pub fn pro_dcache_mask_bus0(&mut self) -> PRO_DCACHE_MASK_BUS0_W { PRO_DCACHE_MASK_BUS0_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to disable dbus1, 0: enable, 1: disable"] #[inline(always)] - #[must_use] pub fn pro_dcache_mask_bus1(&mut self) -> PRO_DCACHE_MASK_BUS1_W { PRO_DCACHE_MASK_BUS1_W::new(self, 1) } #[doc = "Bit 2 - The bit is used to disable dbus2, 0: enable, 1: disable"] #[inline(always)] - #[must_use] pub fn pro_dcache_mask_bus2(&mut self) -> PRO_DCACHE_MASK_BUS2_W { PRO_DCACHE_MASK_BUS2_W::new(self, 2) } diff --git a/esp32s2/src/extmem/pro_dcache_lock0_addr.rs b/esp32s2/src/extmem/pro_dcache_lock0_addr.rs index e25e3fd90a..90ca4b6c9f 100644 --- a/esp32s2/src/extmem/pro_dcache_lock0_addr.rs +++ b/esp32s2/src/extmem/pro_dcache_lock0_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the first start virtual address of data locking, which is combined with PRO_DCACHE_LOCK0_SIZE_REG"] #[inline(always)] - #[must_use] pub fn pro_dcache_lock0_addr(&mut self) -> PRO_DCACHE_LOCK0_ADDR_W { PRO_DCACHE_LOCK0_ADDR_W::new(self, 0) } diff --git a/esp32s2/src/extmem/pro_dcache_lock0_size.rs b/esp32s2/src/extmem/pro_dcache_lock0_size.rs index 2a93006900..c7259067a5 100644 --- a/esp32s2/src/extmem/pro_dcache_lock0_size.rs +++ b/esp32s2/src/extmem/pro_dcache_lock0_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The bits are used to configure the first length of data locking, which is combined with PRO_DCACHE_LOCK0_ADDR_REG"] #[inline(always)] - #[must_use] pub fn pro_dcache_lock0_size(&mut self) -> PRO_DCACHE_LOCK0_SIZE_W { PRO_DCACHE_LOCK0_SIZE_W::new(self, 0) } diff --git a/esp32s2/src/extmem/pro_dcache_lock1_addr.rs b/esp32s2/src/extmem/pro_dcache_lock1_addr.rs index 31f27a7f0d..db1c0ec547 100644 --- a/esp32s2/src/extmem/pro_dcache_lock1_addr.rs +++ b/esp32s2/src/extmem/pro_dcache_lock1_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the second start virtual address of data locking, which is combined with PRO_DCACHE_LOCK1_SIZE_REG"] #[inline(always)] - #[must_use] pub fn pro_dcache_lock1_addr(&mut self) -> PRO_DCACHE_LOCK1_ADDR_W { PRO_DCACHE_LOCK1_ADDR_W::new(self, 0) } diff --git a/esp32s2/src/extmem/pro_dcache_lock1_size.rs b/esp32s2/src/extmem/pro_dcache_lock1_size.rs index 3b0fbd05bb..0923f800d5 100644 --- a/esp32s2/src/extmem/pro_dcache_lock1_size.rs +++ b/esp32s2/src/extmem/pro_dcache_lock1_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The bits are used to configure the second length of data locking, which is combined with PRO_DCACHE_LOCK1_ADDR_REG"] #[inline(always)] - #[must_use] pub fn pro_dcache_lock1_size(&mut self) -> PRO_DCACHE_LOCK1_SIZE_W { PRO_DCACHE_LOCK1_SIZE_W::new(self, 0) } diff --git a/esp32s2/src/extmem/pro_dcache_mem_sync0.rs b/esp32s2/src/extmem/pro_dcache_mem_sync0.rs index 615fc46ff4..628953a281 100644 --- a/esp32s2/src/extmem/pro_dcache_mem_sync0.rs +++ b/esp32s2/src/extmem/pro_dcache_mem_sync0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the start virtual address for invalidate, flush, clean, lock and unlock operations. The manual operations will be issued if the address is validate. The auto operations will be issued if the address is invalidate. It should be combined with PRO_DCACHE_MEM_SYNC1."] #[inline(always)] - #[must_use] pub fn pro_dcache_memsync_addr( &mut self, ) -> PRO_DCACHE_MEMSYNC_ADDR_W { diff --git a/esp32s2/src/extmem/pro_dcache_mem_sync1.rs b/esp32s2/src/extmem/pro_dcache_mem_sync1.rs index 0e6e4d297e..34e474838e 100644 --- a/esp32s2/src/extmem/pro_dcache_mem_sync1.rs +++ b/esp32s2/src/extmem/pro_dcache_mem_sync1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:18 - The bits are used to configure the length for invalidate, flush, clean, lock and unlock operations. The manual operations will be issued if it is validate. The auto operations will be issued if it is invalidate. It should be combined with PRO_DCACHE_MEM_SYNC0."] #[inline(always)] - #[must_use] pub fn pro_dcache_memsync_size( &mut self, ) -> PRO_DCACHE_MEMSYNC_SIZE_W { diff --git a/esp32s2/src/extmem/pro_dcache_preload_addr.rs b/esp32s2/src/extmem/pro_dcache_preload_addr.rs index d090bc061e..8a56bf19ed 100644 --- a/esp32s2/src/extmem/pro_dcache_preload_addr.rs +++ b/esp32s2/src/extmem/pro_dcache_preload_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the start virtual address for manual pre-load operation. It should be combined with PRO_DCACHE_PRELOAD_SIZE_REG."] #[inline(always)] - #[must_use] pub fn pro_dcache_preload_addr( &mut self, ) -> PRO_DCACHE_PRELOAD_ADDR_W { diff --git a/esp32s2/src/extmem/pro_dcache_preload_size.rs b/esp32s2/src/extmem/pro_dcache_preload_size.rs index f65b928b85..ee0bf47e44 100644 --- a/esp32s2/src/extmem/pro_dcache_preload_size.rs +++ b/esp32s2/src/extmem/pro_dcache_preload_size.rs @@ -34,7 +34,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - The bits are used to configure the length for manual pre-load operation. It should be combined with PRO_DCACHE_PRELOAD_ADDR_REG.."] #[inline(always)] - #[must_use] pub fn pro_dcache_preload_size( &mut self, ) -> PRO_DCACHE_PRELOAD_SIZE_W { @@ -42,7 +41,6 @@ impl W { } #[doc = "Bit 10 - The bits are used to configure the direction of manual pre-load operation. 1: descending, 0: ascending."] #[inline(always)] - #[must_use] pub fn pro_dcache_preload_order( &mut self, ) -> PRO_DCACHE_PRELOAD_ORDER_W { diff --git a/esp32s2/src/extmem/pro_dcache_tag_power_ctrl.rs b/esp32s2/src/extmem/pro_dcache_tag_power_ctrl.rs index 64f61841f6..b569497c07 100644 --- a/esp32s2/src/extmem/pro_dcache_tag_power_ctrl.rs +++ b/esp32s2/src/extmem/pro_dcache_tag_power_ctrl.rs @@ -53,7 +53,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to close clock gating of dcache tag memory. 1: close gating, 0: open clock gating."] #[inline(always)] - #[must_use] pub fn pro_dcache_tag_mem_force_on( &mut self, ) -> PRO_DCACHE_TAG_MEM_FORCE_ON_W { @@ -61,7 +60,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to power dcache tag memory down, 0: follow rtc_lslp_pd, 1: power down"] #[inline(always)] - #[must_use] pub fn pro_dcache_tag_mem_force_pd( &mut self, ) -> PRO_DCACHE_TAG_MEM_FORCE_PD_W { @@ -69,7 +67,6 @@ impl W { } #[doc = "Bit 2 - The bit is used to power dcache tag memory down, 0: follow rtc_lslp_pd, 1: power up"] #[inline(always)] - #[must_use] pub fn pro_dcache_tag_mem_force_pu( &mut self, ) -> PRO_DCACHE_TAG_MEM_FORCE_PU_W { diff --git a/esp32s2/src/extmem/pro_extmem_reg_date.rs b/esp32s2/src/extmem/pro_extmem_reg_date.rs index 3d202033c5..17b3553e8f 100644 --- a/esp32s2/src/extmem/pro_extmem_reg_date.rs +++ b/esp32s2/src/extmem/pro_extmem_reg_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Reserved."] #[inline(always)] - #[must_use] pub fn pro_extmem_reg_date(&mut self) -> PRO_EXTMEM_REG_DATE_W { PRO_EXTMEM_REG_DATE_W::new(self, 0) } diff --git a/esp32s2/src/extmem/pro_icache_autoload_cfg.rs b/esp32s2/src/extmem/pro_icache_autoload_cfg.rs index df9709f888..70e63f5143 100644 --- a/esp32s2/src/extmem/pro_icache_autoload_cfg.rs +++ b/esp32s2/src/extmem/pro_icache_autoload_cfg.rs @@ -93,7 +93,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved."] #[inline(always)] - #[must_use] pub fn pro_icache_autoload_mode( &mut self, ) -> PRO_ICACHE_AUTOLOAD_MODE_W { @@ -101,7 +100,6 @@ impl W { } #[doc = "Bits 1:2 - Reserved."] #[inline(always)] - #[must_use] pub fn pro_icache_autoload_step( &mut self, ) -> PRO_ICACHE_AUTOLOAD_STEP_W { @@ -109,7 +107,6 @@ impl W { } #[doc = "Bit 3 - The bits are used to configure the direction of conditional pre-load operation. 1: descending, 0: ascending."] #[inline(always)] - #[must_use] pub fn pro_icache_autoload_order( &mut self, ) -> PRO_ICACHE_AUTOLOAD_ORDER_W { @@ -117,7 +114,6 @@ impl W { } #[doc = "Bits 4:5 - The bits are used to configure trigger conditions for conditional pre-load. 0/3: cache miss, 1: cache hit, 2: both cache miss and hit."] #[inline(always)] - #[must_use] pub fn pro_icache_autoload_rqst( &mut self, ) -> PRO_ICACHE_AUTOLOAD_RQST_W { @@ -125,7 +121,6 @@ impl W { } #[doc = "Bits 6:7 - The bits are used to configure the numbers of the cache block for the issuing conditional pre-load operation."] #[inline(always)] - #[must_use] pub fn pro_icache_autoload_size( &mut self, ) -> PRO_ICACHE_AUTOLOAD_SIZE_W { @@ -133,7 +128,6 @@ impl W { } #[doc = "Bit 8 - The bits are used to enable the second section for conditional pre-load operation."] #[inline(always)] - #[must_use] pub fn pro_icache_autoload_sct0_ena( &mut self, ) -> PRO_ICACHE_AUTOLOAD_SCT0_ENA_W { @@ -141,7 +135,6 @@ impl W { } #[doc = "Bit 9 - The bits are used to enable the first section for conditional pre-load operation."] #[inline(always)] - #[must_use] pub fn pro_icache_autoload_sct1_ena( &mut self, ) -> PRO_ICACHE_AUTOLOAD_SCT1_ENA_W { diff --git a/esp32s2/src/extmem/pro_icache_autoload_section0_addr.rs b/esp32s2/src/extmem/pro_icache_autoload_section0_addr.rs index a468f5eb5e..0b12527a57 100644 --- a/esp32s2/src/extmem/pro_icache_autoload_section0_addr.rs +++ b/esp32s2/src/extmem/pro_icache_autoload_section0_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the start virtual address of the first section for conditional pre-load operation. It should be combined with pro_icache_autoload_sct0_ena."] #[inline(always)] - #[must_use] pub fn pro_icache_autoload_sct0_addr( &mut self, ) -> PRO_ICACHE_AUTOLOAD_SCT0_ADDR_W { diff --git a/esp32s2/src/extmem/pro_icache_autoload_section0_size.rs b/esp32s2/src/extmem/pro_icache_autoload_section0_size.rs index 735b39ce4e..e5cc0942fb 100644 --- a/esp32s2/src/extmem/pro_icache_autoload_section0_size.rs +++ b/esp32s2/src/extmem/pro_icache_autoload_section0_size.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - The bits are used to configure the length of the first section for conditional pre-load operation. It should be combined with pro_icache_autoload_sct0_ena."] #[inline(always)] - #[must_use] pub fn pro_icache_autoload_sct0_size( &mut self, ) -> PRO_ICACHE_AUTOLOAD_SCT0_SIZE_W { diff --git a/esp32s2/src/extmem/pro_icache_autoload_section1_addr.rs b/esp32s2/src/extmem/pro_icache_autoload_section1_addr.rs index 56b280d7cb..dc6762f826 100644 --- a/esp32s2/src/extmem/pro_icache_autoload_section1_addr.rs +++ b/esp32s2/src/extmem/pro_icache_autoload_section1_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the start virtual address of the second section for conditional pre-load operation. It should be combined with pro_icache_autoload_sct1_ena."] #[inline(always)] - #[must_use] pub fn pro_icache_autoload_sct1_addr( &mut self, ) -> PRO_ICACHE_AUTOLOAD_SCT1_ADDR_W { diff --git a/esp32s2/src/extmem/pro_icache_autoload_section1_size.rs b/esp32s2/src/extmem/pro_icache_autoload_section1_size.rs index 8af93bd760..92662b0a9d 100644 --- a/esp32s2/src/extmem/pro_icache_autoload_section1_size.rs +++ b/esp32s2/src/extmem/pro_icache_autoload_section1_size.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - The bits are used to configure the length of the second section for conditional pre-load operation. It should be combined with pro_icache_autoload_sct1_ena."] #[inline(always)] - #[must_use] pub fn pro_icache_autoload_sct1_size( &mut self, ) -> PRO_ICACHE_AUTOLOAD_SCT1_SIZE_W { diff --git a/esp32s2/src/extmem/pro_icache_ctrl.rs b/esp32s2/src/extmem/pro_icache_ctrl.rs index 5cf7ed655c..974e3bed0b 100644 --- a/esp32s2/src/extmem/pro_icache_ctrl.rs +++ b/esp32s2/src/extmem/pro_icache_ctrl.rs @@ -163,19 +163,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to activate the data cache. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn pro_icache_enable(&mut self) -> PRO_ICACHE_ENABLE_W { PRO_ICACHE_ENABLE_W::new(self, 0) } #[doc = "Bit 2 - The bit is used to configure cache memory size.0: 8KB, 1: 16KB"] #[inline(always)] - #[must_use] pub fn pro_icache_setsize_mode(&mut self) -> PRO_ICACHE_SETSIZE_MODE_W { PRO_ICACHE_SETSIZE_MODE_W::new(self, 2) } #[doc = "Bit 3 - The bit is used to configure cache block size.0: 16 bytes, 1: 32 bytes"] #[inline(always)] - #[must_use] pub fn pro_icache_blocksize_mode( &mut self, ) -> PRO_ICACHE_BLOCKSIZE_MODE_W { @@ -183,7 +180,6 @@ impl W { } #[doc = "Bit 8 - The bit is used to enable invalidate operation. It will be cleared by hardware after invalidate operation done."] #[inline(always)] - #[must_use] pub fn pro_icache_invalidate_ena( &mut self, ) -> PRO_ICACHE_INVALIDATE_ENA_W { @@ -191,37 +187,31 @@ impl W { } #[doc = "Bit 14 - The bit is used to enable pre-lock operation which is combined with PRO_ICACHE_LOCK0_ADDR_REG and PRO_ICACHE_LOCK0_SIZE_REG."] #[inline(always)] - #[must_use] pub fn pro_icache_lock0_en(&mut self) -> PRO_ICACHE_LOCK0_EN_W { PRO_ICACHE_LOCK0_EN_W::new(self, 14) } #[doc = "Bit 15 - The bit is used to enable pre-lock operation which is combined with PRO_ICACHE_LOCK1_ADDR_REG and PRO_ICACHE_LOCK1_SIZE_REG."] #[inline(always)] - #[must_use] pub fn pro_icache_lock1_en(&mut self) -> PRO_ICACHE_LOCK1_EN_W { PRO_ICACHE_LOCK1_EN_W::new(self, 15) } #[doc = "Bit 18 - The bit is used to enable and disable conditional-preload operation. It is combined with pre_dcache_autoload_done. 1: enable, 0: disable."] #[inline(always)] - #[must_use] pub fn pro_icache_autoload_ena(&mut self) -> PRO_ICACHE_AUTOLOAD_ENA_W { PRO_ICACHE_AUTOLOAD_ENA_W::new(self, 18) } #[doc = "Bit 20 - The bit is used to enable preload operation. It will be cleared by hardware after preload operation done."] #[inline(always)] - #[must_use] pub fn pro_icache_preload_ena(&mut self) -> PRO_ICACHE_PRELOAD_ENA_W { PRO_ICACHE_PRELOAD_ENA_W::new(self, 20) } #[doc = "Bit 22 - The bit is used to enable unlock operation. It will be cleared by hardware after unlock operation done."] #[inline(always)] - #[must_use] pub fn pro_icache_unlock_ena(&mut self) -> PRO_ICACHE_UNLOCK_ENA_W { PRO_ICACHE_UNLOCK_ENA_W::new(self, 22) } #[doc = "Bit 24 - The bit is used to enable lock operation. It will be cleared by hardware after lock operation done."] #[inline(always)] - #[must_use] pub fn pro_icache_lock_ena(&mut self) -> PRO_ICACHE_LOCK_ENA_W { PRO_ICACHE_LOCK_ENA_W::new(self, 24) } diff --git a/esp32s2/src/extmem/pro_icache_ctrl1.rs b/esp32s2/src/extmem/pro_icache_ctrl1.rs index 4dcfd59618..7c3c779724 100644 --- a/esp32s2/src/extmem/pro_icache_ctrl1.rs +++ b/esp32s2/src/extmem/pro_icache_ctrl1.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to disable ibus0, 0: enable, 1: disable"] #[inline(always)] - #[must_use] pub fn pro_icache_mask_bus0(&mut self) -> PRO_ICACHE_MASK_BUS0_W { PRO_ICACHE_MASK_BUS0_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to disable ibus1, 0: enable, 1: disable"] #[inline(always)] - #[must_use] pub fn pro_icache_mask_bus1(&mut self) -> PRO_ICACHE_MASK_BUS1_W { PRO_ICACHE_MASK_BUS1_W::new(self, 1) } #[doc = "Bit 2 - The bit is used to disable ibus2, 0: enable, 1: disable"] #[inline(always)] - #[must_use] pub fn pro_icache_mask_bus2(&mut self) -> PRO_ICACHE_MASK_BUS2_W { PRO_ICACHE_MASK_BUS2_W::new(self, 2) } diff --git a/esp32s2/src/extmem/pro_icache_lock0_addr.rs b/esp32s2/src/extmem/pro_icache_lock0_addr.rs index eebf54b2d2..1ce8eeea31 100644 --- a/esp32s2/src/extmem/pro_icache_lock0_addr.rs +++ b/esp32s2/src/extmem/pro_icache_lock0_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the first start virtual address of data locking, which is combined with PRO_ICACHE_LOCK0_SIZE_REG"] #[inline(always)] - #[must_use] pub fn pro_icache_lock0_addr(&mut self) -> PRO_ICACHE_LOCK0_ADDR_W { PRO_ICACHE_LOCK0_ADDR_W::new(self, 0) } diff --git a/esp32s2/src/extmem/pro_icache_lock0_size.rs b/esp32s2/src/extmem/pro_icache_lock0_size.rs index 82bbf9e5fc..725ce66b32 100644 --- a/esp32s2/src/extmem/pro_icache_lock0_size.rs +++ b/esp32s2/src/extmem/pro_icache_lock0_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The bits are used to configure the first length of data locking, which is combined with PRO_ICACHE_LOCK0_ADDR_REG"] #[inline(always)] - #[must_use] pub fn pro_icache_lock0_size(&mut self) -> PRO_ICACHE_LOCK0_SIZE_W { PRO_ICACHE_LOCK0_SIZE_W::new(self, 0) } diff --git a/esp32s2/src/extmem/pro_icache_lock1_addr.rs b/esp32s2/src/extmem/pro_icache_lock1_addr.rs index 99390da157..eb1459e383 100644 --- a/esp32s2/src/extmem/pro_icache_lock1_addr.rs +++ b/esp32s2/src/extmem/pro_icache_lock1_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the second start virtual address of data locking, which is combined with PRO_ICACHE_LOCK1_SIZE_REG"] #[inline(always)] - #[must_use] pub fn pro_icache_lock1_addr(&mut self) -> PRO_ICACHE_LOCK1_ADDR_W { PRO_ICACHE_LOCK1_ADDR_W::new(self, 0) } diff --git a/esp32s2/src/extmem/pro_icache_lock1_size.rs b/esp32s2/src/extmem/pro_icache_lock1_size.rs index 6f23b1277e..190b98cfdb 100644 --- a/esp32s2/src/extmem/pro_icache_lock1_size.rs +++ b/esp32s2/src/extmem/pro_icache_lock1_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The bits are used to configure the second length of data locking, which is combined with PRO_ICACHE_LOCK1_ADDR_REG"] #[inline(always)] - #[must_use] pub fn pro_icache_lock1_size(&mut self) -> PRO_ICACHE_LOCK1_SIZE_W { PRO_ICACHE_LOCK1_SIZE_W::new(self, 0) } diff --git a/esp32s2/src/extmem/pro_icache_mem_sync0.rs b/esp32s2/src/extmem/pro_icache_mem_sync0.rs index 6bef1d8851..77b943b3fd 100644 --- a/esp32s2/src/extmem/pro_icache_mem_sync0.rs +++ b/esp32s2/src/extmem/pro_icache_mem_sync0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the start virtual address for invalidate, flush, clean, lock and unlock operations. The manual operations will be issued if the address is validate. The auto operations will be issued if the address is invalidate. It should be combined with PRO_ICACHE_MEM_SYNC1."] #[inline(always)] - #[must_use] pub fn pro_icache_memsync_addr( &mut self, ) -> PRO_ICACHE_MEMSYNC_ADDR_W { diff --git a/esp32s2/src/extmem/pro_icache_mem_sync1.rs b/esp32s2/src/extmem/pro_icache_mem_sync1.rs index 3ae8d2b596..39c7c6eba6 100644 --- a/esp32s2/src/extmem/pro_icache_mem_sync1.rs +++ b/esp32s2/src/extmem/pro_icache_mem_sync1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:18 - The bits are used to configure the length for invalidate, flush, clean, lock and unlock operations. The manual operations will be issued if it is validate. The auto operations will be issued if it is invalidate. It should be combined with PRO_ICACHE_MEM_SYNC0."] #[inline(always)] - #[must_use] pub fn pro_icache_memsync_size( &mut self, ) -> PRO_ICACHE_MEMSYNC_SIZE_W { diff --git a/esp32s2/src/extmem/pro_icache_preload_addr.rs b/esp32s2/src/extmem/pro_icache_preload_addr.rs index 3287f449d6..78974f41ff 100644 --- a/esp32s2/src/extmem/pro_icache_preload_addr.rs +++ b/esp32s2/src/extmem/pro_icache_preload_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the start virtual address for manual pre-load operation. It should be combined with PRO_ICACHE_PRELOAD_SIZE_REG."] #[inline(always)] - #[must_use] pub fn pro_icache_preload_addr( &mut self, ) -> PRO_ICACHE_PRELOAD_ADDR_W { diff --git a/esp32s2/src/extmem/pro_icache_preload_size.rs b/esp32s2/src/extmem/pro_icache_preload_size.rs index 2c0a259475..e70fffed70 100644 --- a/esp32s2/src/extmem/pro_icache_preload_size.rs +++ b/esp32s2/src/extmem/pro_icache_preload_size.rs @@ -34,7 +34,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - The bits are used to configure the length for manual pre-load operation. It should be combined with PRO_ICACHE_PRELOAD_ADDR_REG.."] #[inline(always)] - #[must_use] pub fn pro_icache_preload_size( &mut self, ) -> PRO_ICACHE_PRELOAD_SIZE_W { @@ -42,7 +41,6 @@ impl W { } #[doc = "Bit 10 - The bits are used to configure the direction of manual pre-load operation. 1: descending, 0: ascending."] #[inline(always)] - #[must_use] pub fn pro_icache_preload_order( &mut self, ) -> PRO_ICACHE_PRELOAD_ORDER_W { diff --git a/esp32s2/src/extmem/pro_icache_tag_power_ctrl.rs b/esp32s2/src/extmem/pro_icache_tag_power_ctrl.rs index 6045071469..e9323693f9 100644 --- a/esp32s2/src/extmem/pro_icache_tag_power_ctrl.rs +++ b/esp32s2/src/extmem/pro_icache_tag_power_ctrl.rs @@ -53,7 +53,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to close clock gating of icache tag memory. 1: close gating, 0: open clock gating."] #[inline(always)] - #[must_use] pub fn pro_icache_tag_mem_force_on( &mut self, ) -> PRO_ICACHE_TAG_MEM_FORCE_ON_W { @@ -61,7 +60,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to power icache tag memory down, 0: follow rtc_lslp, 1: power down"] #[inline(always)] - #[must_use] pub fn pro_icache_tag_mem_force_pd( &mut self, ) -> PRO_ICACHE_TAG_MEM_FORCE_PD_W { @@ -69,7 +67,6 @@ impl W { } #[doc = "Bit 2 - The bit is used to power icache tag memory down, 0: follow rtc_lslp, 1: power up"] #[inline(always)] - #[must_use] pub fn pro_icache_tag_mem_force_pu( &mut self, ) -> PRO_ICACHE_TAG_MEM_FORCE_PU_W { diff --git a/esp32s2/src/generic.rs b/esp32s2/src/generic.rs index d57106cb27..a7cb020aef 100644 --- a/esp32s2/src/generic.rs +++ b/esp32s2/src/generic.rs @@ -524,18 +524,60 @@ impl Reg { #[doc = " ```"] #[doc = " In the latter case, other fields will be set to their reset value."] #[inline(always)] - pub fn write(&self, f: F) + pub fn write(&self, f: F) -> REG::Ux where F: FnOnce(&mut W) -> &mut W, { - self.register.set( - f(&mut W { - bits: REG::RESET_VALUE & !REG::ONE_TO_MODIFY_FIELDS_BITMAP - | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, - _reg: marker::PhantomData, - }) - .bits, - ); + let value = f(&mut W { + bits: REG::RESET_VALUE & !REG::ONE_TO_MODIFY_FIELDS_BITMAP + | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }) + .bits; + self.register.set(value); + value + } + #[doc = " Writes bits to a `Writable` register and produce a value."] + #[doc = ""] + #[doc = " You can write raw bits into a register:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.write_and(|w| unsafe { w.bits(rawbits); });"] + #[doc = " ```"] + #[doc = " or write only the fields you need:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.write_and(|w| {"] + #[doc = " w.field1().bits(newfield1bits)"] + #[doc = " .field2().set_bit()"] + #[doc = " .field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " or an alternative way of saying the same:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.write_and(|w| {"] + #[doc = " w.field1().bits(newfield1bits);"] + #[doc = " w.field2().set_bit();"] + #[doc = " w.field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " In the latter case, other fields will be set to their reset value."] + #[doc = ""] + #[doc = " Values can be returned from the closure:"] + #[doc = " ```ignore"] + #[doc = " let state = periph.reg.write_and(|w| State::set(w.field1()));"] + #[doc = " ```"] + #[inline(always)] + pub fn from_write(&self, f: F) -> T + where + F: FnOnce(&mut W) -> T, + { + let mut writer = W { + bits: REG::RESET_VALUE & !REG::ONE_TO_MODIFY_FIELDS_BITMAP + | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }; + let result = f(&mut writer); + self.register.set(writer.bits); + result } } impl Reg { @@ -547,17 +589,37 @@ impl Reg { #[doc = ""] #[doc = " Unsafe to use with registers which don't allow to write 0."] #[inline(always)] - pub unsafe fn write_with_zero(&self, f: F) + pub unsafe fn write_with_zero(&self, f: F) -> REG::Ux where F: FnOnce(&mut W) -> &mut W, { - self.register.set( - f(&mut W { - bits: REG::Ux::default(), - _reg: marker::PhantomData, - }) - .bits, - ); + let value = f(&mut W { + bits: REG::Ux::default(), + _reg: marker::PhantomData, + }) + .bits; + self.register.set(value); + value + } + #[doc = " Writes 0 to a `Writable` register and produces a value."] + #[doc = ""] + #[doc = " Similar to `write`, but unused bits will contain 0."] + #[doc = ""] + #[doc = " # Safety"] + #[doc = ""] + #[doc = " Unsafe to use with registers which don't allow to write 0."] + #[inline(always)] + pub unsafe fn from_write_with_zero(&self, f: F) -> T + where + F: FnOnce(&mut W) -> T, + { + let mut writer = W { + bits: REG::Ux::default(), + _reg: marker::PhantomData, + }; + let result = f(&mut writer); + self.register.set(writer.bits); + result } } impl Reg { @@ -587,25 +649,75 @@ impl Reg { #[doc = " ```"] #[doc = " Other fields will have the value they had before the call to `modify`."] #[inline(always)] - pub fn modify(&self, f: F) + pub fn modify(&self, f: F) -> REG::Ux where for<'w> F: FnOnce(&R, &'w mut W) -> &'w mut W, { let bits = self.register.get(); - self.register.set( - f( - &R { - bits, - _reg: marker::PhantomData, - }, - &mut W { - bits: bits & !REG::ONE_TO_MODIFY_FIELDS_BITMAP - | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, - _reg: marker::PhantomData, - }, - ) - .bits, + let value = f( + &R { + bits, + _reg: marker::PhantomData, + }, + &mut W { + bits: bits & !REG::ONE_TO_MODIFY_FIELDS_BITMAP | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }, + ) + .bits; + self.register.set(value); + value + } + #[doc = " Modifies the contents of the register by reading and then writing it"] + #[doc = " and produces a value."] + #[doc = ""] + #[doc = " E.g. to do a read-modify-write sequence to change parts of a register:"] + #[doc = " ```ignore"] + #[doc = " let bits = periph.reg.modify(|r, w| {"] + #[doc = " let new_bits = r.bits() | 3;"] + #[doc = " unsafe {"] + #[doc = " w.bits(new_bits);"] + #[doc = " }"] + #[doc = ""] + #[doc = " new_bits"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " or"] + #[doc = " ```ignore"] + #[doc = " periph.reg.modify(|_, w| {"] + #[doc = " w.field1().bits(newfield1bits)"] + #[doc = " .field2().set_bit()"] + #[doc = " .field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " or an alternative way of saying the same:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.modify(|_, w| {"] + #[doc = " w.field1().bits(newfield1bits);"] + #[doc = " w.field2().set_bit();"] + #[doc = " w.field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " Other fields will have the value they had before the call to `modify`."] + #[inline(always)] + pub fn from_modify(&self, f: F) -> T + where + for<'w> F: FnOnce(&R, &'w mut W) -> T, + { + let bits = self.register.get(); + let mut writer = W { + bits: bits & !REG::ONE_TO_MODIFY_FIELDS_BITMAP | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }; + let result = f( + &R { + bits, + _reg: marker::PhantomData, + }, + &mut writer, ); + self.register.set(writer.bits); + result } } impl core::fmt::Debug for crate::generic::Reg diff --git a/esp32s2/src/generic/raw.rs b/esp32s2/src/generic/raw.rs index 81f5779524..d60a23a7cc 100644 --- a/esp32s2/src/generic/raw.rs +++ b/esp32s2/src/generic/raw.rs @@ -41,6 +41,7 @@ impl BitReader { } } } +#[must_use = "after creating `FieldWriter` you need to call field value setting method"] pub struct FieldWriter<'a, REG, const WI: u8, FI = u8, Safety = Unsafe> where REG: Writable + RegisterSpec, @@ -66,6 +67,7 @@ where } } } +#[must_use = "after creating `BitWriter` you need to call bit setting method"] pub struct BitWriter<'a, REG, FI = bool, M = BitM> where REG: Writable + RegisterSpec, diff --git a/esp32s2/src/gpio/bt_select.rs b/esp32s2/src/gpio/bt_select.rs index 65eb997aaf..91bfe6cf9e 100644 --- a/esp32s2/src/gpio/bt_select.rs +++ b/esp32s2/src/gpio/bt_select.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Reserved"] #[inline(always)] - #[must_use] pub fn bt_sel(&mut self) -> BT_SEL_W { BT_SEL_W::new(self, 0) } diff --git a/esp32s2/src/gpio/clock_gate.rs b/esp32s2/src/gpio/clock_gate.rs index 916092034c..c74a0b6b10 100644 --- a/esp32s2/src/gpio/clock_gate.rs +++ b/esp32s2/src/gpio/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Clock gating enable bit. If set to 1, the clock is free running."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32s2/src/gpio/enable.rs b/esp32s2/src/gpio/enable.rs index 2811fb244d..8dc9628d91 100644 --- a/esp32s2/src/gpio/enable.rs +++ b/esp32s2/src/gpio/enable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - GPIO0~31 output enable register."] #[inline(always)] - #[must_use] pub fn data(&mut self) -> DATA_W { DATA_W::new(self, 0) } diff --git a/esp32s2/src/gpio/enable1.rs b/esp32s2/src/gpio/enable1.rs index 71a65984e3..d6488c58f0 100644 --- a/esp32s2/src/gpio/enable1.rs +++ b/esp32s2/src/gpio/enable1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - GPIO32~53 output enable register."] #[inline(always)] - #[must_use] pub fn data(&mut self) -> DATA_W { DATA_W::new(self, 0) } diff --git a/esp32s2/src/gpio/enable1_w1tc.rs b/esp32s2/src/gpio/enable1_w1tc.rs index cce920373e..ad522fbc0c 100644 --- a/esp32s2/src/gpio/enable1_w1tc.rs +++ b/esp32s2/src/gpio/enable1_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:21 - GPIO32 ~ 53 output enable clear register. If the value 1 is written to a bit here, the corresponding bit in GPIO_ENABLE1_REG will be cleared. Recommended operation: use this register to clear GPIO_ENABLE1_REG."] #[inline(always)] - #[must_use] pub fn enable1_w1tc(&mut self) -> ENABLE1_W1TC_W { ENABLE1_W1TC_W::new(self, 0) } diff --git a/esp32s2/src/gpio/enable1_w1ts.rs b/esp32s2/src/gpio/enable1_w1ts.rs index 0883886ab3..bbb5dab7b5 100644 --- a/esp32s2/src/gpio/enable1_w1ts.rs +++ b/esp32s2/src/gpio/enable1_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:21 - GPIO32 ~ 53 output enable set register. If the value 1 is written to a bit here, the corresponding bit in GPIO_ENABLE1_REG will be set to 1. Recommended operation: use this register to set GPIO_ENABLE1_REG."] #[inline(always)] - #[must_use] pub fn enable1_w1ts(&mut self) -> ENABLE1_W1TS_W { ENABLE1_W1TS_W::new(self, 0) } diff --git a/esp32s2/src/gpio/enable_w1tc.rs b/esp32s2/src/gpio/enable_w1tc.rs index e513fd0522..25b42e192a 100644 --- a/esp32s2/src/gpio/enable_w1tc.rs +++ b/esp32s2/src/gpio/enable_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - GPIO0 ~ 31 output enable clear register. If the value 1 is written to a bit here, the corresponding bit in GPIO_ENABLE_REG will be cleared. Recommended operation: use this register to clear GPIO_ENABLE_REG."] #[inline(always)] - #[must_use] pub fn enable_w1tc(&mut self) -> ENABLE_W1TC_W { ENABLE_W1TC_W::new(self, 0) } diff --git a/esp32s2/src/gpio/enable_w1ts.rs b/esp32s2/src/gpio/enable_w1ts.rs index 0923e48b69..c1ba571419 100644 --- a/esp32s2/src/gpio/enable_w1ts.rs +++ b/esp32s2/src/gpio/enable_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - GPIO0 ~ 31 output enable set register. If the value 1 is written to a bit here, the corresponding bit in GPIO_ENABLE_REG will be set to 1. Recommended operation: use this register to set GPIO_ENABLE_REG."] #[inline(always)] - #[must_use] pub fn enable_w1ts(&mut self) -> ENABLE_W1TS_W { ENABLE_W1TS_W::new(self, 0) } diff --git a/esp32s2/src/gpio/func_in_sel_cfg.rs b/esp32s2/src/gpio/func_in_sel_cfg.rs index b0e1057c19..da7646d6e6 100644 --- a/esp32s2/src/gpio/func_in_sel_cfg.rs +++ b/esp32s2/src/gpio/func_in_sel_cfg.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - Selection control for peripheral input signal m, selects a pad from the 54 GPIO matrix pads to connect this input signal. Or selects 0x38 for a constantly high input or 0x3C for a constantly low input."] #[inline(always)] - #[must_use] pub fn in_sel(&mut self) -> IN_SEL_W { IN_SEL_W::new(self, 0) } #[doc = "Bit 6 - Invert the input value. 1: invert enabled; 0: invert disabled."] #[inline(always)] - #[must_use] pub fn in_inv_sel(&mut self) -> IN_INV_SEL_W { IN_INV_SEL_W::new(self, 6) } #[doc = "Bit 7 - Bypass GPIO matrix. 1: route signals via GPIO matrix, 0: connect signals directly to peripheral configured in IO_MUX."] #[inline(always)] - #[must_use] pub fn sel(&mut self) -> SEL_W { SEL_W::new(self, 7) } diff --git a/esp32s2/src/gpio/func_out_sel_cfg.rs b/esp32s2/src/gpio/func_out_sel_cfg.rs index 9fdbbd0cb3..a837a8927d 100644 --- a/esp32s2/src/gpio/func_out_sel_cfg.rs +++ b/esp32s2/src/gpio/func_out_sel_cfg.rs @@ -2,9 +2,9 @@ pub type R = crate::R; #[doc = "Register `FUNC%s_OUT_SEL_CFG` writer"] pub type W = crate::W; -#[doc = "Field `OUT_SEL` reader - Selection control for GPIO output n. If a value s (0<=s<256) is written to this field, the peripheral output signal s will be connected to GPIO output n. If a value 256 is written to this field, bit n of GPIO_OUT_REG/GPIO_OUT1_REG and GPIO_ENABLE_REG/GPIO_ENABLE1_REG will be selected as the output value and output enable."] +#[doc = "Field `OUT_SEL` reader - Selection control for GPIO output n. If a value s (0<=s<256) is written to this field, the peripheral output signal s will be connected to GPIO output n. If a value 256 is written to this field, bit n of GPIO_OUT_REG/GPIO_OUT1_REG and GPIO_ENABLE_REG/GPIO_ENABLE1_REG will be selected as the output value and output enable."] pub type OUT_SEL_R = crate::FieldReader; -#[doc = "Field `OUT_SEL` writer - Selection control for GPIO output n. If a value s (0<=s<256) is written to this field, the peripheral output signal s will be connected to GPIO output n. If a value 256 is written to this field, bit n of GPIO_OUT_REG/GPIO_OUT1_REG and GPIO_ENABLE_REG/GPIO_ENABLE1_REG will be selected as the output value and output enable."] +#[doc = "Field `OUT_SEL` writer - Selection control for GPIO output n. If a value s (0<=s<256) is written to this field, the peripheral output signal s will be connected to GPIO output n. If a value 256 is written to this field, bit n of GPIO_OUT_REG/GPIO_OUT1_REG and GPIO_ENABLE_REG/GPIO_ENABLE1_REG will be selected as the output value and output enable."] pub type OUT_SEL_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; #[doc = "Field `INV_SEL` reader - 0: Do not invert the output value; 1: Invert the output value."] pub type INV_SEL_R = crate::BitReader; @@ -19,7 +19,7 @@ pub type OEN_INV_SEL_R = crate::BitReader; #[doc = "Field `OEN_INV_SEL` writer - 0: Do not invert the output enable signal; 1: Invert the output enable signal."] pub type OEN_INV_SEL_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { - #[doc = "Bits 0:8 - Selection control for GPIO output n. If a value s (0<=s<256) is written to this field, the peripheral output signal s will be connected to GPIO output n. If a value 256 is written to this field, bit n of GPIO_OUT_REG/GPIO_OUT1_REG and GPIO_ENABLE_REG/GPIO_ENABLE1_REG will be selected as the output value and output enable."] + #[doc = "Bits 0:8 - Selection control for GPIO output n. If a value s (0<=s<256) is written to this field, the peripheral output signal s will be connected to GPIO output n. If a value 256 is written to this field, bit n of GPIO_OUT_REG/GPIO_OUT1_REG and GPIO_ENABLE_REG/GPIO_ENABLE1_REG will be selected as the output value and output enable."] #[inline(always)] pub fn out_sel(&self) -> OUT_SEL_R { OUT_SEL_R::new((self.bits & 0x01ff) as u16) @@ -52,27 +52,23 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bits 0:8 - Selection control for GPIO output n. If a value s (0<=s<256) is written to this field, the peripheral output signal s will be connected to GPIO output n. If a value 256 is written to this field, bit n of GPIO_OUT_REG/GPIO_OUT1_REG and GPIO_ENABLE_REG/GPIO_ENABLE1_REG will be selected as the output value and output enable."] + #[doc = "Bits 0:8 - Selection control for GPIO output n. If a value s (0<=s<256) is written to this field, the peripheral output signal s will be connected to GPIO output n. If a value 256 is written to this field, bit n of GPIO_OUT_REG/GPIO_OUT1_REG and GPIO_ENABLE_REG/GPIO_ENABLE1_REG will be selected as the output value and output enable."] #[inline(always)] - #[must_use] pub fn out_sel(&mut self) -> OUT_SEL_W { OUT_SEL_W::new(self, 0) } #[doc = "Bit 9 - 0: Do not invert the output value; 1: Invert the output value."] #[inline(always)] - #[must_use] pub fn inv_sel(&mut self) -> INV_SEL_W { INV_SEL_W::new(self, 9) } #[doc = "Bit 10 - 0: Use output enable signal from peripheral; 1: Force the output enable signal to be sourced from bit n of GPIO_ENABLE_REG."] #[inline(always)] - #[must_use] pub fn oen_sel(&mut self) -> OEN_SEL_W { OEN_SEL_W::new(self, 10) } #[doc = "Bit 11 - 0: Do not invert the output enable signal; 1: Invert the output enable signal."] #[inline(always)] - #[must_use] pub fn oen_inv_sel(&mut self) -> OEN_INV_SEL_W { OEN_INV_SEL_W::new(self, 11) } diff --git a/esp32s2/src/gpio/in_.rs b/esp32s2/src/gpio/in_.rs index 848b3b08cf..2a6895ef2d 100644 --- a/esp32s2/src/gpio/in_.rs +++ b/esp32s2/src/gpio/in_.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - GPIO0 ~ 31 input value. Each bit represents a pad input value, 1 for high level and 0 for low level."] #[inline(always)] - #[must_use] pub fn data_next(&mut self) -> DATA_NEXT_W { DATA_NEXT_W::new(self, 0) } diff --git a/esp32s2/src/gpio/out.rs b/esp32s2/src/gpio/out.rs index a6535c0d2e..3e1327a511 100644 --- a/esp32s2/src/gpio/out.rs +++ b/esp32s2/src/gpio/out.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - GPIO0 ~ 31 output value in simple GPIO output mode. The values of bit0 ~ bit31 correspond to the output value of GPIO0 ~ GPIO31 respectively. Bit22 ~ bit25 are invalid."] #[inline(always)] - #[must_use] pub fn data_orig(&mut self) -> DATA_ORIG_W { DATA_ORIG_W::new(self, 0) } diff --git a/esp32s2/src/gpio/out1.rs b/esp32s2/src/gpio/out1.rs index 1bdbd7b0bb..280dff2c23 100644 --- a/esp32s2/src/gpio/out1.rs +++ b/esp32s2/src/gpio/out1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - GPIO32 ~ 53 output value in simple GPIO output mode. The values of bit0 ~ bit13 correspond to GPIO32 ~ GPIO45. Bit14 ~ bit21 are invalid."] #[inline(always)] - #[must_use] pub fn data_orig(&mut self) -> DATA_ORIG_W { DATA_ORIG_W::new(self, 0) } diff --git a/esp32s2/src/gpio/out1_w1tc.rs b/esp32s2/src/gpio/out1_w1tc.rs index e513e6e41e..f3728ceae9 100644 --- a/esp32s2/src/gpio/out1_w1tc.rs +++ b/esp32s2/src/gpio/out1_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:21 - GPIO32 ~ 53 output value clear register. If the value 1 is written to a bit here, the corresponding bit in GPIO_OUT1_REG will be cleared. Recommended operation: use this register to clear GPIO_OUT1_REG."] #[inline(always)] - #[must_use] pub fn out1_w1tc(&mut self) -> OUT1_W1TC_W { OUT1_W1TC_W::new(self, 0) } diff --git a/esp32s2/src/gpio/out1_w1ts.rs b/esp32s2/src/gpio/out1_w1ts.rs index f5f7e6fa78..ccc5b059c9 100644 --- a/esp32s2/src/gpio/out1_w1ts.rs +++ b/esp32s2/src/gpio/out1_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:21 - GPIO32 ~ 53 output value set register. If the value 1 is written to a bit here, the corresponding bit in GPIO_OUT1_REG will be set to 1. Recommended operation: use this register to set GPIO_OUT1_REG."] #[inline(always)] - #[must_use] pub fn out1_w1ts(&mut self) -> OUT1_W1TS_W { OUT1_W1TS_W::new(self, 0) } diff --git a/esp32s2/src/gpio/out_w1tc.rs b/esp32s2/src/gpio/out_w1tc.rs index 63e2e1ac8f..f44609e55c 100644 --- a/esp32s2/src/gpio/out_w1tc.rs +++ b/esp32s2/src/gpio/out_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - GPIO0 ~ 31 output clear register. If the value 1 is written to a bit here, the cor- responding bit in GPIO_OUT_REG will be cleared. Recommended operation: use this register to clear GPIO_OUT_REG."] #[inline(always)] - #[must_use] pub fn out_w1tc(&mut self) -> OUT_W1TC_W { OUT_W1TC_W::new(self, 0) } diff --git a/esp32s2/src/gpio/out_w1ts.rs b/esp32s2/src/gpio/out_w1ts.rs index 64390a825d..e22dab5f23 100644 --- a/esp32s2/src/gpio/out_w1ts.rs +++ b/esp32s2/src/gpio/out_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - GPIO0 ~ 31 output set register. If the value 1 is written to a bit here, the corre- sponding bit in GPIO_OUT_REG will be set to 1. Recommended operation: use this register to set GPIO_OUT_REG."] #[inline(always)] - #[must_use] pub fn out_w1ts(&mut self) -> OUT_W1TS_W { OUT_W1TS_W::new(self, 0) } diff --git a/esp32s2/src/gpio/pin.rs b/esp32s2/src/gpio/pin.rs index 8cf7d5ebff..202a35e04f 100644 --- a/esp32s2/src/gpio/pin.rs +++ b/esp32s2/src/gpio/pin.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - For the second stage synchronization, GPIO input data can be syn- chronized on either edge of the APB clock. 0: no synchronization; 1: synchronized on falling edge; 2 and 3: synchronized on rising edge."] #[inline(always)] - #[must_use] pub fn sync2_bypass(&mut self) -> SYNC2_BYPASS_W { SYNC2_BYPASS_W::new(self, 0) } #[doc = "Bit 2 - Pad driver selection. 0: normal output; 1: open drain output.."] #[inline(always)] - #[must_use] pub fn pad_driver(&mut self) -> PAD_DRIVER_W { PAD_DRIVER_W::new(self, 2) } #[doc = "Bits 3:4 - For the first stage synchronization, GPIO input data can be synchro- nized on either edge of the APB clock. 0: no synchronization; 1: synchronized on falling edge; 2 and 3: synchronized on rising edge."] #[inline(always)] - #[must_use] pub fn sync1_bypass(&mut self) -> SYNC1_BYPASS_W { SYNC1_BYPASS_W::new(self, 3) } #[doc = "Bits 7:9 - Interrupt type selection. 0: GPIO interrupt disabled; 1: rising edge trigger; 2: falling edge trigger; 3: any edge trigger; 4: low level trigger; 5: high level trigger. (R/W)"] #[inline(always)] - #[must_use] pub fn int_type(&mut self) -> INT_TYPE_W { INT_TYPE_W::new(self, 7) } #[doc = "Bit 10 - GPIO wake-up enable bit, only wakes up the CPU from Light-sleep."] #[inline(always)] - #[must_use] pub fn wakeup_enable(&mut self) -> WAKEUP_ENABLE_W { WAKEUP_ENABLE_W::new(self, 10) } #[doc = "Bits 11:12 - Reserved"] #[inline(always)] - #[must_use] pub fn config(&mut self) -> CONFIG_W { CONFIG_W::new(self, 11) } #[doc = "Bits 13:17 - Interrupt enable bits. bit13: CPU interrupt enabled; bit14: CPU non-maskable interrupt enabled."] #[inline(always)] - #[must_use] pub fn int_ena(&mut self) -> INT_ENA_W { INT_ENA_W::new(self, 13) } diff --git a/esp32s2/src/gpio/reg_date.rs b/esp32s2/src/gpio/reg_date.rs index 96e68c347d..42eb16378f 100644 --- a/esp32s2/src/gpio/reg_date.rs +++ b/esp32s2/src/gpio/reg_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Version control register"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s2/src/gpio/sdio_select.rs b/esp32s2/src/gpio/sdio_select.rs index cd6ececf13..eb5bec3366 100644 --- a/esp32s2/src/gpio/sdio_select.rs +++ b/esp32s2/src/gpio/sdio_select.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Reserved"] #[inline(always)] - #[must_use] pub fn sdio_sel(&mut self) -> SDIO_SEL_W { SDIO_SEL_W::new(self, 0) } diff --git a/esp32s2/src/gpio/status.rs b/esp32s2/src/gpio/status.rs index c26d0e825d..5b8811692f 100644 --- a/esp32s2/src/gpio/status.rs +++ b/esp32s2/src/gpio/status.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - GPIO0 ~ 31 interrupt status register."] #[inline(always)] - #[must_use] pub fn interrupt(&mut self) -> INTERRUPT_W { INTERRUPT_W::new(self, 0) } diff --git a/esp32s2/src/gpio/status1.rs b/esp32s2/src/gpio/status1.rs index 25b9cb9c47..860ba8abf8 100644 --- a/esp32s2/src/gpio/status1.rs +++ b/esp32s2/src/gpio/status1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - GPIO32 ~ 53 interrupt status register."] #[inline(always)] - #[must_use] pub fn interrupt(&mut self) -> INTERRUPT_W { INTERRUPT_W::new(self, 0) } diff --git a/esp32s2/src/gpio/status1_w1tc.rs b/esp32s2/src/gpio/status1_w1tc.rs index f4bcef3368..f80c11682a 100644 --- a/esp32s2/src/gpio/status1_w1tc.rs +++ b/esp32s2/src/gpio/status1_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:21 - GPIO32 ~ 53 interrupt status clear register. If the value 1 is written to a bit here, the corresponding bit in GPIO_STATUS1_REG will be cleared. Recommended operation: use this register to clear GPIO_STATUS1_REG."] #[inline(always)] - #[must_use] pub fn status1_w1tc(&mut self) -> STATUS1_W1TC_W { STATUS1_W1TC_W::new(self, 0) } diff --git a/esp32s2/src/gpio/status1_w1ts.rs b/esp32s2/src/gpio/status1_w1ts.rs index cc2d9a4560..b0a55383ea 100644 --- a/esp32s2/src/gpio/status1_w1ts.rs +++ b/esp32s2/src/gpio/status1_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:21 - GPIO32 ~ 53 interrupt status set register. If the value 1 is written to a bit here, the corresponding bit in GPIO_STATUS1_REG will be set to 1. Recommended operation: use this register to set GPIO_STATUS1_REG."] #[inline(always)] - #[must_use] pub fn status1_w1ts(&mut self) -> STATUS1_W1TS_W { STATUS1_W1TS_W::new(self, 0) } diff --git a/esp32s2/src/gpio/status_w1tc.rs b/esp32s2/src/gpio/status_w1tc.rs index bf5f2c61e4..c15de182ed 100644 --- a/esp32s2/src/gpio/status_w1tc.rs +++ b/esp32s2/src/gpio/status_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - GPIO0 ~ 31 interrupt status clear register. If the value 1 is written to a bit here, the corresponding bit in GPIO_STATUS_INTERRUPT will be cleared. Recommended operation: use this register to clear GPIO_STATUS_INTERRUPT."] #[inline(always)] - #[must_use] pub fn status_w1tc(&mut self) -> STATUS_W1TC_W { STATUS_W1TC_W::new(self, 0) } diff --git a/esp32s2/src/gpio/status_w1ts.rs b/esp32s2/src/gpio/status_w1ts.rs index 075be6c021..e5c92849c5 100644 --- a/esp32s2/src/gpio/status_w1ts.rs +++ b/esp32s2/src/gpio/status_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - GPIO0 ~ 31 interrupt status set register. If the value 1 is written to a bit here, the corresponding bit in GPIO_STATUS_INTERRUPT will be set to 1. Recommended operation: use this register to set GPIO_STATUS_INTERRUPT."] #[inline(always)] - #[must_use] pub fn status_w1ts(&mut self) -> STATUS_W1TS_W { STATUS_W1TS_W::new(self, 0) } diff --git a/esp32s2/src/gpio_sd/clock_gate.rs b/esp32s2/src/gpio_sd/clock_gate.rs index f999d3d68b..b7ff11c04b 100644 --- a/esp32s2/src/gpio_sd/clock_gate.rs +++ b/esp32s2/src/gpio_sd/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - Clock enable bit of configuration registers for sigma delta modulation."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32s2/src/gpio_sd/sigmadelta.rs b/esp32s2/src/gpio_sd/sigmadelta.rs index 909f3094da..c2c6acecd6 100644 --- a/esp32s2/src/gpio_sd/sigmadelta.rs +++ b/esp32s2/src/gpio_sd/sigmadelta.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This field is used to configure the duty cycle of sigma delta modulation output."] #[inline(always)] - #[must_use] pub fn in_(&mut self) -> IN_W { IN_W::new(self, 0) } #[doc = "Bits 8:15 - This field is used to set a divider value to divide APB clock."] #[inline(always)] - #[must_use] pub fn prescale(&mut self) -> PRESCALE_W { PRESCALE_W::new(self, 8) } diff --git a/esp32s2/src/gpio_sd/sigmadelta_misc.rs b/esp32s2/src/gpio_sd/sigmadelta_misc.rs index 3e02554677..311f926403 100644 --- a/esp32s2/src/gpio_sd/sigmadelta_misc.rs +++ b/esp32s2/src/gpio_sd/sigmadelta_misc.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - Clock enable bit of sigma delta modulation."] #[inline(always)] - #[must_use] pub fn function_clk_en(&mut self) -> FUNCTION_CLK_EN_W { FUNCTION_CLK_EN_W::new(self, 30) } #[doc = "Bit 31 - Reserved."] #[inline(always)] - #[must_use] pub fn spi_swap(&mut self) -> SPI_SWAP_W { SPI_SWAP_W::new(self, 31) } diff --git a/esp32s2/src/gpio_sd/version.rs b/esp32s2/src/gpio_sd/version.rs index 0cdf6644ed..993b6a131d 100644 --- a/esp32s2/src/gpio_sd/version.rs +++ b/esp32s2/src/gpio_sd/version.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Version control register."] #[inline(always)] - #[must_use] pub fn gpio_sd_date(&mut self) -> GPIO_SD_DATE_W { GPIO_SD_DATE_W::new(self, 0) } diff --git a/esp32s2/src/hmac/date.rs b/esp32s2/src/hmac/date.rs index 0b52532e5b..43c4f138e2 100644 --- a/esp32s2/src/hmac/date.rs +++ b/esp32s2/src/hmac/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Version control register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s2/src/hmac/one_block.rs b/esp32s2/src/hmac/one_block.rs index 1517936d66..a51e4aca53 100644 --- a/esp32s2/src/hmac/one_block.rs +++ b/esp32s2/src/hmac/one_block.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to show no padding is required."] #[inline(always)] - #[must_use] pub fn set_one_block(&mut self) -> SET_ONE_BLOCK_W { SET_ONE_BLOCK_W::new(self, 0) } diff --git a/esp32s2/src/hmac/set_invalidate_ds.rs b/esp32s2/src/hmac/set_invalidate_ds.rs index 7e6fc064b1..c1b45be38b 100644 --- a/esp32s2/src/hmac/set_invalidate_ds.rs +++ b/esp32s2/src/hmac/set_invalidate_ds.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear calculation results in DS function under downstream mode."] #[inline(always)] - #[must_use] pub fn set_invalidate_ds(&mut self) -> SET_INVALIDATE_DS_W { SET_INVALIDATE_DS_W::new(self, 0) } diff --git a/esp32s2/src/hmac/set_invalidate_jtag.rs b/esp32s2/src/hmac/set_invalidate_jtag.rs index f61dc56fef..e701ebc1ee 100644 --- a/esp32s2/src/hmac/set_invalidate_jtag.rs +++ b/esp32s2/src/hmac/set_invalidate_jtag.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear calculation results in JTAG re-enable function under downstream mode."] #[inline(always)] - #[must_use] pub fn set_invalidate_jtag(&mut self) -> SET_INVALIDATE_JTAG_W { SET_INVALIDATE_JTAG_W::new(self, 0) } diff --git a/esp32s2/src/hmac/set_message_end.rs b/esp32s2/src/hmac/set_message_end.rs index af64ee9cb8..08b86da0f4 100644 --- a/esp32s2/src/hmac/set_message_end.rs +++ b/esp32s2/src/hmac/set_message_end.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to start hardware padding."] #[inline(always)] - #[must_use] pub fn set_text_end(&mut self) -> SET_TEXT_END_W { SET_TEXT_END_W::new(self, 0) } diff --git a/esp32s2/src/hmac/set_message_ing.rs b/esp32s2/src/hmac/set_message_ing.rs index d28acb5378..628c695fc2 100644 --- a/esp32s2/src/hmac/set_message_ing.rs +++ b/esp32s2/src/hmac/set_message_ing.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to show there are still some message blocks to be processed."] #[inline(always)] - #[must_use] pub fn set_text_ing(&mut self) -> SET_TEXT_ING_W { SET_TEXT_ING_W::new(self, 0) } diff --git a/esp32s2/src/hmac/set_message_one.rs b/esp32s2/src/hmac/set_message_one.rs index 84f799ff35..a60f517ead 100644 --- a/esp32s2/src/hmac/set_message_one.rs +++ b/esp32s2/src/hmac/set_message_one.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Call SHA to calculate one message block."] #[inline(always)] - #[must_use] pub fn set_text_one(&mut self) -> SET_TEXT_ONE_W { SET_TEXT_ONE_W::new(self, 0) } diff --git a/esp32s2/src/hmac/set_message_pad.rs b/esp32s2/src/hmac/set_message_pad.rs index 823cabaa88..e165e459bd 100644 --- a/esp32s2/src/hmac/set_message_pad.rs +++ b/esp32s2/src/hmac/set_message_pad.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to let software do padding job."] #[inline(always)] - #[must_use] pub fn set_text_pad(&mut self) -> SET_TEXT_PAD_W { SET_TEXT_PAD_W::new(self, 0) } diff --git a/esp32s2/src/hmac/set_para_finish.rs b/esp32s2/src/hmac/set_para_finish.rs index 2edbec2cab..f8a313828c 100644 --- a/esp32s2/src/hmac/set_para_finish.rs +++ b/esp32s2/src/hmac/set_para_finish.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to finish HMAC configuration."] #[inline(always)] - #[must_use] pub fn set_para_end(&mut self) -> SET_PARA_END_W { SET_PARA_END_W::new(self, 0) } diff --git a/esp32s2/src/hmac/set_para_key.rs b/esp32s2/src/hmac/set_para_key.rs index 03a2ad8c49..654389d2fd 100644 --- a/esp32s2/src/hmac/set_para_key.rs +++ b/esp32s2/src/hmac/set_para_key.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:2 - Select hmac key."] #[inline(always)] - #[must_use] pub fn key_set(&mut self) -> KEY_SET_W { KEY_SET_W::new(self, 0) } diff --git a/esp32s2/src/hmac/set_para_purpose.rs b/esp32s2/src/hmac/set_para_purpose.rs index 9434722c26..5b3fa4e8b1 100644 --- a/esp32s2/src/hmac/set_para_purpose.rs +++ b/esp32s2/src/hmac/set_para_purpose.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:3 - Set hmac purpose."] #[inline(always)] - #[must_use] pub fn purpose_set(&mut self) -> PURPOSE_SET_W { PURPOSE_SET_W::new(self, 0) } diff --git a/esp32s2/src/hmac/set_result_finish.rs b/esp32s2/src/hmac/set_result_finish.rs index 17a0a47b48..d3ddf71b59 100644 --- a/esp32s2/src/hmac/set_result_finish.rs +++ b/esp32s2/src/hmac/set_result_finish.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to end upstream and clear the calculation result."] #[inline(always)] - #[must_use] pub fn set_result_end(&mut self) -> SET_RESULT_END_W { SET_RESULT_END_W::new(self, 0) } diff --git a/esp32s2/src/hmac/set_start.rs b/esp32s2/src/hmac/set_start.rs index 1e159beb10..b7a2440a29 100644 --- a/esp32s2/src/hmac/set_start.rs +++ b/esp32s2/src/hmac/set_start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to enable HMAC."] #[inline(always)] - #[must_use] pub fn set_start(&mut self) -> SET_START_W { SET_START_W::new(self, 0) } diff --git a/esp32s2/src/hmac/wr_message_.rs b/esp32s2/src/hmac/wr_message_.rs index 9b54c24cd1..5a4057f47a 100644 --- a/esp32s2/src/hmac/wr_message_.rs +++ b/esp32s2/src/hmac/wr_message_.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - Store the %sth 32-bit of message."] #[inline(always)] - #[must_use] pub fn wdata(&mut self) -> WDATA_W { WDATA_W::new(self, 0) } diff --git a/esp32s2/src/i2c0/comd.rs b/esp32s2/src/i2c0/comd.rs index bda2cbe5c2..71564c245d 100644 --- a/esp32s2/src/i2c0/comd.rs +++ b/esp32s2/src/i2c0/comd.rs @@ -170,37 +170,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Number of bytes to be sent or received for command %s."] #[inline(always)] - #[must_use] pub fn byte_num(&mut self) -> BYTE_NUM_W { BYTE_NUM_W::new(self, 0) } #[doc = "Bit 8 - Acknowledge check enable for command %s."] #[inline(always)] - #[must_use] pub fn ack_check_en(&mut self) -> ACK_CHECK_EN_W { ACK_CHECK_EN_W::new(self, 8) } #[doc = "Bit 9 - Acknowledge expected for command %s."] #[inline(always)] - #[must_use] pub fn ack_exp(&mut self) -> ACK_EXP_W { ACK_EXP_W::new(self, 9) } #[doc = "Bit 10 - Acknowledge value for command %s."] #[inline(always)] - #[must_use] pub fn ack_value(&mut self) -> ACK_VALUE_W { ACK_VALUE_W::new(self, 10) } #[doc = "Bits 11:13 - Opcode part of command %s."] #[inline(always)] - #[must_use] pub fn opcode(&mut self) -> OPCODE_W { OPCODE_W::new(self, 11) } #[doc = "Bit 31 - When command 0 is done in I2C Master mode, this bit changes to high level."] #[inline(always)] - #[must_use] pub fn command_done(&mut self) -> COMMAND_DONE_W { COMMAND_DONE_W::new(self, 31) } diff --git a/esp32s2/src/i2c0/ctr.rs b/esp32s2/src/i2c0/ctr.rs index 79880886e2..3995ecab32 100644 --- a/esp32s2/src/i2c0/ctr.rs +++ b/esp32s2/src/i2c0/ctr.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 0: direct output. 1: open drain output."] #[inline(always)] - #[must_use] pub fn sda_force_out(&mut self) -> SDA_FORCE_OUT_W { SDA_FORCE_OUT_W::new(self, 0) } #[doc = "Bit 1 - 0: direct output. 1: open drain output."] #[inline(always)] - #[must_use] pub fn scl_force_out(&mut self) -> SCL_FORCE_OUT_W { SCL_FORCE_OUT_W::new(self, 1) } #[doc = "Bit 2 - This register is used to select the sample mode. 1: sample SDA data on the SCL low level. 0: sample SDA data on the SCL high level."] #[inline(always)] - #[must_use] pub fn sample_scl_level(&mut self) -> SAMPLE_SCL_LEVEL_W { SAMPLE_SCL_LEVEL_W::new(self, 2) } #[doc = "Bit 3 - This register is used to configure the ACK value that need to sent by master when the rx_fifo_cnt has reached the threshold."] #[inline(always)] - #[must_use] pub fn rx_full_ack_level(&mut self) -> RX_FULL_ACK_LEVEL_W { RX_FULL_ACK_LEVEL_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to configure the module as an I2C Master. Clear this bit to configure the module as an I2C Slave."] #[inline(always)] - #[must_use] pub fn ms_mode(&mut self) -> MS_MODE_W { MS_MODE_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to start sending the data in TX FIFO."] #[inline(always)] - #[must_use] pub fn trans_start(&mut self) -> TRANS_START_W { TRANS_START_W::new(self, 5) } #[doc = "Bit 6 - This bit is used to control the sending mode for data needing to be sent. 1: send data from the least significant bit. 0: send data from the most significant bit."] #[inline(always)] - #[must_use] pub fn tx_lsb_first(&mut self) -> TX_LSB_FIRST_W { TX_LSB_FIRST_W::new(self, 6) } #[doc = "Bit 7 - This bit is used to control the storage mode for received data. 1: receive data from the least significant bit. 0: receive data from the most significant bit."] #[inline(always)] - #[must_use] pub fn rx_lsb_first(&mut self) -> RX_LSB_FIRST_W { RX_LSB_FIRST_W::new(self, 7) } #[doc = "Bit 8 - Reserved."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 8) } #[doc = "Bit 9 - This is the enable bit for I2C bus arbitration function."] #[inline(always)] - #[must_use] pub fn arbitration_en(&mut self) -> ARBITRATION_EN_W { ARBITRATION_EN_W::new(self, 9) } #[doc = "Bit 10 - This register is used to reset the SCL_FSM."] #[inline(always)] - #[must_use] pub fn fsm_rst(&mut self) -> FSM_RST_W { FSM_RST_W::new(self, 10) } #[doc = "Bit 11 - This register is used to control the REF_TICK."] #[inline(always)] - #[must_use] pub fn ref_always_on(&mut self) -> REF_ALWAYS_ON_W { REF_ALWAYS_ON_W::new(self, 11) } diff --git a/esp32s2/src/i2c0/data.rs b/esp32s2/src/i2c0/data.rs index 1ac18cdb42..abb76357df 100644 --- a/esp32s2/src/i2c0/data.rs +++ b/esp32s2/src/i2c0/data.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - The value of RX FIFO read data."] #[inline(always)] - #[must_use] pub fn fifo_rdata(&mut self) -> FIFO_RDATA_W { FIFO_RDATA_W::new(self, 0) } diff --git a/esp32s2/src/i2c0/date.rs b/esp32s2/src/i2c0/date.rs index 72426532e8..ffbce42e98 100644 --- a/esp32s2/src/i2c0/date.rs +++ b/esp32s2/src/i2c0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This is the the version control register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s2/src/i2c0/fifo_conf.rs b/esp32s2/src/i2c0/fifo_conf.rs index 09d12cca34..a43832926e 100644 --- a/esp32s2/src/i2c0/fifo_conf.rs +++ b/esp32s2/src/i2c0/fifo_conf.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - The water mark threshold of RX FIFO in non-FIFO mode. When I2C_FIFO_PRT_EN is 1 and RX FIFO counter is bigger than I2C_RXFIFO_WM_THRHD\\[4:0\\], I2C_RXFIFO_WM_INT_RAW bit will be valid."] #[inline(always)] - #[must_use] pub fn rxfifo_wm_thrhd(&mut self) -> RXFIFO_WM_THRHD_W { RXFIFO_WM_THRHD_W::new(self, 0) } #[doc = "Bits 5:9 - The water mark threshold of TX FIFO in non-FIFO mode. When I2C_FIFO_PRT_EN is 1 and TX FIFO counter is smaller than I2C_TXFIFO_WM_THRHD\\[4:0\\], I2C_TXFIFO_WM_INT_RAW bit will be valid."] #[inline(always)] - #[must_use] pub fn txfifo_wm_thrhd(&mut self) -> TXFIFO_WM_THRHD_W { TXFIFO_WM_THRHD_W::new(self, 5) } #[doc = "Bit 10 - Set this bit to enable APB non-FIFO mode."] #[inline(always)] - #[must_use] pub fn nonfifo_en(&mut self) -> NONFIFO_EN_W { NONFIFO_EN_W::new(self, 10) } #[doc = "Bit 11 - When this bit is set to 1, the byte received after the I2C address byte represents the offset address in the I2C Slave RAM."] #[inline(always)] - #[must_use] pub fn fifo_addr_cfg_en(&mut self) -> FIFO_ADDR_CFG_EN_W { FIFO_ADDR_CFG_EN_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to reset RX FIFO."] #[inline(always)] - #[must_use] pub fn rx_fifo_rst(&mut self) -> RX_FIFO_RST_W { RX_FIFO_RST_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to reset TX FIFO."] #[inline(always)] - #[must_use] pub fn tx_fifo_rst(&mut self) -> TX_FIFO_RST_W { TX_FIFO_RST_W::new(self, 13) } #[doc = "Bits 14:19 - When I2C receives more than I2C_NONFIFO_RX_THRES bytes of data, it will generate an I2C_RXFIFO_UDF_INT interrupt and update the current offset address of the received data."] #[inline(always)] - #[must_use] pub fn nonfifo_rx_thres(&mut self) -> NONFIFO_RX_THRES_W { NONFIFO_RX_THRES_W::new(self, 14) } #[doc = "Bits 20:25 - When I2C sends more than I2C_NONFIFO_TX_THRES bytes of data, it will generate an I2C_TXFIFO_OVF_INT interrupt and update the current offset address of the sent data."] #[inline(always)] - #[must_use] pub fn nonfifo_tx_thres(&mut self) -> NONFIFO_TX_THRES_W { NONFIFO_TX_THRES_W::new(self, 20) } #[doc = "Bit 26 - The control enable bit of FIFO pointer in non-FIFO mode. This bit controls the valid bits and the interrupts of TX/RX FIFO overflow, underflow, full and empty."] #[inline(always)] - #[must_use] pub fn fifo_prt_en(&mut self) -> FIFO_PRT_EN_W { FIFO_PRT_EN_W::new(self, 26) } diff --git a/esp32s2/src/i2c0/fifo_st.rs b/esp32s2/src/i2c0/fifo_st.rs index 31b9d0d578..1ccabccdff 100644 --- a/esp32s2/src/i2c0/fifo_st.rs +++ b/esp32s2/src/i2c0/fifo_st.rs @@ -58,13 +58,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 20 - Write 0 or 1 to I2C_RX_UPDATE to update the value of I2C_RXFIFO_END_ADDR and I2C_RXFIFO_START_ADDR."] #[inline(always)] - #[must_use] pub fn rx_update(&mut self) -> RX_UPDATE_W { RX_UPDATE_W::new(self, 20) } #[doc = "Bit 21 - Write 0 or 1 to I2C_TX_UPDATE to update the value of I2C_TXFIFO_END_ADDR and I2C_TXFIFO_START_ADDR."] #[inline(always)] - #[must_use] pub fn tx_update(&mut self) -> TX_UPDATE_W { TX_UPDATE_W::new(self, 21) } diff --git a/esp32s2/src/i2c0/int_clr.rs b/esp32s2/src/i2c0/int_clr.rs index 526670b2bd..a81fd836b8 100644 --- a/esp32s2/src/i2c0/int_clr.rs +++ b/esp32s2/src/i2c0/int_clr.rs @@ -43,103 +43,86 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear I2C_RXFIFO_WM_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_wm(&mut self) -> RXFIFO_WM_W { RXFIFO_WM_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear I2C_TXFIFO_WM_INT interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_wm(&mut self) -> TXFIFO_WM_W { TXFIFO_WM_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear I2C_RXFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the I2C_END_DETECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn end_detect(&mut self) -> END_DETECT_W { END_DETECT_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear the I2C_END_DETECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn byte_trans_done(&mut self) -> BYTE_TRANS_DONE_W { BYTE_TRANS_DONE_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the I2C_ARBITRATION_LOST_INT interrupt."] #[inline(always)] - #[must_use] pub fn arbitration_lost(&mut self) -> ARBITRATION_LOST_W { ARBITRATION_LOST_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear I2C_TRANS_COMPLETE_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_txfifo_udf(&mut self) -> MST_TXFIFO_UDF_W { MST_TXFIFO_UDF_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the I2C_TRANS_COMPLETE_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_complete(&mut self) -> TRANS_COMPLETE_W { TRANS_COMPLETE_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the I2C_TIME_OUT_INT interrupt."] #[inline(always)] - #[must_use] pub fn time_out(&mut self) -> TIME_OUT_W { TIME_OUT_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear the I2C_TRANS_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_start(&mut self) -> TRANS_START_W { TRANS_START_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to clear I2C_SLAVE_STRETCH_INT interrupt."] #[inline(always)] - #[must_use] pub fn nack(&mut self) -> NACK_W { NACK_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear I2C_TXFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_ovf(&mut self) -> TXFIFO_OVF_W { TXFIFO_OVF_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to clear I2C_RXFIFO_UDF_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_udf(&mut self) -> RXFIFO_UDF_W { RXFIFO_UDF_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to clear I2C_SCL_ST_TO_INT interrupt."] #[inline(always)] - #[must_use] pub fn scl_st_to(&mut self) -> SCL_ST_TO_W { SCL_ST_TO_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to clear I2C_SCL_MAIN_ST_TO_INT interrupt."] #[inline(always)] - #[must_use] pub fn scl_main_st_to(&mut self) -> SCL_MAIN_ST_TO_W { SCL_MAIN_ST_TO_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to clear I2C_DET_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn det_start(&mut self) -> DET_START_W { DET_START_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to clear I2C_SLAVE_STRETCH_INT interrupt."] #[inline(always)] - #[must_use] pub fn slave_stretch(&mut self) -> SLAVE_STRETCH_W { SLAVE_STRETCH_W::new(self, 16) } diff --git a/esp32s2/src/i2c0/int_ena.rs b/esp32s2/src/i2c0/int_ena.rs index 63dad7d59d..f3b0b2f407 100644 --- a/esp32s2/src/i2c0/int_ena.rs +++ b/esp32s2/src/i2c0/int_ena.rs @@ -184,103 +184,86 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw interrupt bit for I2C_RXFIFO_WM_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_wm(&mut self) -> RXFIFO_WM_W { RXFIFO_WM_W::new(self, 0) } #[doc = "Bit 1 - The raw interrupt bit for I2C_TXFIFO_WM_INT interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_wm(&mut self) -> TXFIFO_WM_W { TXFIFO_WM_W::new(self, 1) } #[doc = "Bit 2 - The raw interrupt bit for I2C_RXFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 2) } #[doc = "Bit 3 - The raw interrupt bit for the I2C_END_DETECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn end_detect(&mut self) -> END_DETECT_W { END_DETECT_W::new(self, 3) } #[doc = "Bit 4 - The raw interrupt bit for the I2C_END_DETECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn byte_trans_done(&mut self) -> BYTE_TRANS_DONE_W { BYTE_TRANS_DONE_W::new(self, 4) } #[doc = "Bit 5 - The raw interrupt bit for the I2C_ARBITRATION_LOST_INT interrupt."] #[inline(always)] - #[must_use] pub fn arbitration_lost(&mut self) -> ARBITRATION_LOST_W { ARBITRATION_LOST_W::new(self, 5) } #[doc = "Bit 6 - The raw interrupt bit for I2C_TRANS_COMPLETE_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_txfifo_udf(&mut self) -> MST_TXFIFO_UDF_W { MST_TXFIFO_UDF_W::new(self, 6) } #[doc = "Bit 7 - The raw interrupt bit for the I2C_TRANS_COMPLETE_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_complete(&mut self) -> TRANS_COMPLETE_W { TRANS_COMPLETE_W::new(self, 7) } #[doc = "Bit 8 - The raw interrupt bit for the I2C_TIME_OUT_INT interrupt."] #[inline(always)] - #[must_use] pub fn time_out(&mut self) -> TIME_OUT_W { TIME_OUT_W::new(self, 8) } #[doc = "Bit 9 - The raw interrupt bit for the I2C_TRANS_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_start(&mut self) -> TRANS_START_W { TRANS_START_W::new(self, 9) } #[doc = "Bit 10 - The raw interrupt bit for I2C_SLAVE_STRETCH_INT interrupt."] #[inline(always)] - #[must_use] pub fn nack(&mut self) -> NACK_W { NACK_W::new(self, 10) } #[doc = "Bit 11 - The raw interrupt bit for I2C_TXFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_ovf(&mut self) -> TXFIFO_OVF_W { TXFIFO_OVF_W::new(self, 11) } #[doc = "Bit 12 - The raw interrupt bit for I2C_RXFIFO_UDF_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_udf(&mut self) -> RXFIFO_UDF_W { RXFIFO_UDF_W::new(self, 12) } #[doc = "Bit 13 - The raw interrupt bit for I2C_SCL_ST_TO_INT interrupt."] #[inline(always)] - #[must_use] pub fn scl_st_to(&mut self) -> SCL_ST_TO_W { SCL_ST_TO_W::new(self, 13) } #[doc = "Bit 14 - The raw interrupt bit for I2C_SCL_MAIN_ST_TO_INT interrupt."] #[inline(always)] - #[must_use] pub fn scl_main_st_to(&mut self) -> SCL_MAIN_ST_TO_W { SCL_MAIN_ST_TO_W::new(self, 14) } #[doc = "Bit 15 - The raw interrupt bit for I2C_DET_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn det_start(&mut self) -> DET_START_W { DET_START_W::new(self, 15) } #[doc = "Bit 16 - The raw interrupt bit for I2C_SLAVE_STRETCH_INT interrupt."] #[inline(always)] - #[must_use] pub fn slave_stretch(&mut self) -> SLAVE_STRETCH_W { SLAVE_STRETCH_W::new(self, 16) } diff --git a/esp32s2/src/i2c0/scl_filter_cfg.rs b/esp32s2/src/i2c0/scl_filter_cfg.rs index 81bf8a9a7d..7158cfc803 100644 --- a/esp32s2/src/i2c0/scl_filter_cfg.rs +++ b/esp32s2/src/i2c0/scl_filter_cfg.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - When a pulse on the SCL input has smaller width than this register value in I2C module clock cycles, the I2C controller will ignore that pulse."] #[inline(always)] - #[must_use] pub fn scl_filter_thres(&mut self) -> SCL_FILTER_THRES_W { SCL_FILTER_THRES_W::new(self, 0) } #[doc = "Bit 4 - This is the filter enable bit for SCL."] #[inline(always)] - #[must_use] pub fn scl_filter_en(&mut self) -> SCL_FILTER_EN_W { SCL_FILTER_EN_W::new(self, 4) } diff --git a/esp32s2/src/i2c0/scl_high_period.rs b/esp32s2/src/i2c0/scl_high_period.rs index 61757e1fa9..1cecb0f67d 100644 --- a/esp32s2/src/i2c0/scl_high_period.rs +++ b/esp32s2/src/i2c0/scl_high_period.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - This register is used to configure for how long SCL remains high in master mode, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn scl_high_period(&mut self) -> SCL_HIGH_PERIOD_W { SCL_HIGH_PERIOD_W::new(self, 0) } #[doc = "Bits 14:27 - This register is used to configure for the SCL_FSM's waiting period for SCL to go high in master mode, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn scl_wait_high_period(&mut self) -> SCL_WAIT_HIGH_PERIOD_W { SCL_WAIT_HIGH_PERIOD_W::new(self, 14) } diff --git a/esp32s2/src/i2c0/scl_low_period.rs b/esp32s2/src/i2c0/scl_low_period.rs index 8f6255b22d..ba38779d6a 100644 --- a/esp32s2/src/i2c0/scl_low_period.rs +++ b/esp32s2/src/i2c0/scl_low_period.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - This register is used to configure for how long SCL remains low in master mode, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn scl_low_period(&mut self) -> SCL_LOW_PERIOD_W { SCL_LOW_PERIOD_W::new(self, 0) } diff --git a/esp32s2/src/i2c0/scl_main_st_time_out.rs b/esp32s2/src/i2c0/scl_main_st_time_out.rs index c1dc9dd008..aa9fd77ceb 100644 --- a/esp32s2/src/i2c0/scl_main_st_time_out.rs +++ b/esp32s2/src/i2c0/scl_main_st_time_out.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - The threshold value of SCL_MAIN_FSM state unchanged period."] #[inline(always)] - #[must_use] pub fn scl_main_st_to(&mut self) -> SCL_MAIN_ST_TO_W { SCL_MAIN_ST_TO_W::new(self, 0) } diff --git a/esp32s2/src/i2c0/scl_rstart_setup.rs b/esp32s2/src/i2c0/scl_rstart_setup.rs index 962c366cee..debbc0c031 100644 --- a/esp32s2/src/i2c0/scl_rstart_setup.rs +++ b/esp32s2/src/i2c0/scl_rstart_setup.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - This register is used to configure the interval between the positive edge of SCL and the negative edge of SDA for a RESTART condition, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32s2/src/i2c0/scl_sp_conf.rs b/esp32s2/src/i2c0/scl_sp_conf.rs index 8d1a050e19..456e740d50 100644 --- a/esp32s2/src/i2c0/scl_sp_conf.rs +++ b/esp32s2/src/i2c0/scl_sp_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - When I2C master is IDLE, set this bit to send out SCL pulses. The number of pulses equals to I2C_SCL_RST_SLV_NUM\\[4:0\\]."] #[inline(always)] - #[must_use] pub fn scl_rst_slv_en(&mut self) -> SCL_RST_SLV_EN_W { SCL_RST_SLV_EN_W::new(self, 0) } #[doc = "Bits 1:5 - Configure the pulses of SCL generated in I2C master mode. Valid when I2C_SCL_RST_SLV_EN is 1."] #[inline(always)] - #[must_use] pub fn scl_rst_slv_num(&mut self) -> SCL_RST_SLV_NUM_W { SCL_RST_SLV_NUM_W::new(self, 1) } #[doc = "Bit 6 - The power down enable bit for the I2C output SCL line. 1: Power down. 0: Not power down. Set I2C_SCL_FORCE_OUT and I2C_SCL_PD_EN to 1 to stretch SCL low."] #[inline(always)] - #[must_use] pub fn scl_pd_en(&mut self) -> SCL_PD_EN_W { SCL_PD_EN_W::new(self, 6) } #[doc = "Bit 7 - The power down enable bit for the I2C output SDA line. 1: Power down. 0: Not power down. Set I2C_SDA_FORCE_OUT and I2C_SDA_PD_EN to 1 to stretch SDA low."] #[inline(always)] - #[must_use] pub fn sda_pd_en(&mut self) -> SDA_PD_EN_W { SDA_PD_EN_W::new(self, 7) } diff --git a/esp32s2/src/i2c0/scl_st_time_out.rs b/esp32s2/src/i2c0/scl_st_time_out.rs index 66d8159025..e36b606e6e 100644 --- a/esp32s2/src/i2c0/scl_st_time_out.rs +++ b/esp32s2/src/i2c0/scl_st_time_out.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - The threshold value of SCL_FSM state unchanged period."] #[inline(always)] - #[must_use] pub fn scl_st_to(&mut self) -> SCL_ST_TO_W { SCL_ST_TO_W::new(self, 0) } diff --git a/esp32s2/src/i2c0/scl_start_hold.rs b/esp32s2/src/i2c0/scl_start_hold.rs index 61e1bd9f6d..39c716d315 100644 --- a/esp32s2/src/i2c0/scl_start_hold.rs +++ b/esp32s2/src/i2c0/scl_start_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - This register is used to configure interval between pulling SDA low and pulling SCL low when the master generates a START condition, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32s2/src/i2c0/scl_stop_hold.rs b/esp32s2/src/i2c0/scl_stop_hold.rs index 64102d779e..fcc6412e61 100644 --- a/esp32s2/src/i2c0/scl_stop_hold.rs +++ b/esp32s2/src/i2c0/scl_stop_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - This register is used to configure the delay after the STOP condition, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32s2/src/i2c0/scl_stop_setup.rs b/esp32s2/src/i2c0/scl_stop_setup.rs index 7047ebdd72..143273f66b 100644 --- a/esp32s2/src/i2c0/scl_stop_setup.rs +++ b/esp32s2/src/i2c0/scl_stop_setup.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - This register is used to configure the time between the positive edge of SCL and the positive edge of SDA, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32s2/src/i2c0/scl_stretch_conf.rs b/esp32s2/src/i2c0/scl_stretch_conf.rs index d580a733f1..b4c734d5ee 100644 --- a/esp32s2/src/i2c0/scl_stretch_conf.rs +++ b/esp32s2/src/i2c0/scl_stretch_conf.rs @@ -36,19 +36,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - Configure the period of I2C slave stretching SCL line."] #[inline(always)] - #[must_use] pub fn stretch_protect_num(&mut self) -> STRETCH_PROTECT_NUM_W { STRETCH_PROTECT_NUM_W::new(self, 0) } #[doc = "Bit 10 - The enable bit for slave SCL stretch function. 1: Enable. 0: Disable. The SCL output line will be stretched low when I2C_SLAVE_SCL_STRETCH_EN is 1 and stretch event happens. The stretch cause can be seen in I2C_STRETCH_CAUSE."] #[inline(always)] - #[must_use] pub fn slave_scl_stretch_en(&mut self) -> SLAVE_SCL_STRETCH_EN_W { SLAVE_SCL_STRETCH_EN_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear the I2C slave SCL stretch function."] #[inline(always)] - #[must_use] pub fn slave_scl_stretch_clr(&mut self) -> SLAVE_SCL_STRETCH_CLR_W { SLAVE_SCL_STRETCH_CLR_W::new(self, 11) } diff --git a/esp32s2/src/i2c0/sda_filter_cfg.rs b/esp32s2/src/i2c0/sda_filter_cfg.rs index 995c0d983b..cf277938ef 100644 --- a/esp32s2/src/i2c0/sda_filter_cfg.rs +++ b/esp32s2/src/i2c0/sda_filter_cfg.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - When a pulse on the SDA input has smaller width than this register value in I2C module clock cycles, the I2C controller will ignore that pulse."] #[inline(always)] - #[must_use] pub fn sda_filter_thres(&mut self) -> SDA_FILTER_THRES_W { SDA_FILTER_THRES_W::new(self, 0) } #[doc = "Bit 4 - This is the filter enable bit for SDA."] #[inline(always)] - #[must_use] pub fn sda_filter_en(&mut self) -> SDA_FILTER_EN_W { SDA_FILTER_EN_W::new(self, 4) } diff --git a/esp32s2/src/i2c0/sda_hold.rs b/esp32s2/src/i2c0/sda_hold.rs index 63a85f8c4a..2a6bb18ab1 100644 --- a/esp32s2/src/i2c0/sda_hold.rs +++ b/esp32s2/src/i2c0/sda_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - This register is used to configure the interval between changing the SDA output level and the falling edge of SCL, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32s2/src/i2c0/sda_sample.rs b/esp32s2/src/i2c0/sda_sample.rs index 57a1759a93..b956f06843 100644 --- a/esp32s2/src/i2c0/sda_sample.rs +++ b/esp32s2/src/i2c0/sda_sample.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - This register is used to configure the interval between the rising edge of SCL and the level sampling time of SDA, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32s2/src/i2c0/slave_addr.rs b/esp32s2/src/i2c0/slave_addr.rs index ee01a15ed5..1b27ba5ce3 100644 --- a/esp32s2/src/i2c0/slave_addr.rs +++ b/esp32s2/src/i2c0/slave_addr.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:14 - When configured as an I2C Slave, this field is used to configure the slave address."] #[inline(always)] - #[must_use] pub fn slave_addr(&mut self) -> SLAVE_ADDR_W { SLAVE_ADDR_W::new(self, 0) } #[doc = "Bit 31 - This field is used to enable the slave 10-bit addressing mode in master mode."] #[inline(always)] - #[must_use] pub fn addr_10bit_en(&mut self) -> ADDR_10BIT_EN_W { ADDR_10BIT_EN_W::new(self, 31) } diff --git a/esp32s2/src/i2c0/to.rs b/esp32s2/src/i2c0/to.rs index 978aa9acd6..331b730055 100644 --- a/esp32s2/src/i2c0/to.rs +++ b/esp32s2/src/i2c0/to.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - This register is used to configure the timeout for receiving a data bit in APB clock cycles."] #[inline(always)] - #[must_use] pub fn time_out_value(&mut self) -> TIME_OUT_VALUE_W { TIME_OUT_VALUE_W::new(self, 0) } #[doc = "Bit 24 - This is the enable bit for time out control."] #[inline(always)] - #[must_use] pub fn time_out_en(&mut self) -> TIME_OUT_EN_W { TIME_OUT_EN_W::new(self, 24) } diff --git a/esp32s2/src/i2s0/clkm_conf.rs b/esp32s2/src/i2s0/clkm_conf.rs index 2418b799f2..194a61c00a 100644 --- a/esp32s2/src/i2s0/clkm_conf.rs +++ b/esp32s2/src/i2s0/clkm_conf.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Integral I2S clock divider value."] #[inline(always)] - #[must_use] pub fn clkm_div_num(&mut self) -> CLKM_DIV_NUM_W { CLKM_DIV_NUM_W::new(self, 0) } #[doc = "Bits 8:13 - Fractional clock divider numerator value."] #[inline(always)] - #[must_use] pub fn clkm_div_b(&mut self) -> CLKM_DIV_B_W { CLKM_DIV_B_W::new(self, 8) } #[doc = "Bits 14:19 - Fractional clock divider denominator value."] #[inline(always)] - #[must_use] pub fn clkm_div_a(&mut self) -> CLKM_DIV_A_W { CLKM_DIV_A_W::new(self, 14) } #[doc = "Bit 20 - Set this bit to enable clock gate."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 20) } #[doc = "Bits 21:22 - Set this bit to select I2S module clock source. 0: No clock. 1: APLL_CLK. 2: PLL_160M_CLK. 3: No clock."] #[inline(always)] - #[must_use] pub fn clk_sel(&mut self) -> CLK_SEL_W { CLK_SEL_W::new(self, 21) } diff --git a/esp32s2/src/i2s0/conf.rs b/esp32s2/src/i2s0/conf.rs index f77295ac78..7376a7c6b7 100644 --- a/esp32s2/src/i2s0/conf.rs +++ b/esp32s2/src/i2s0/conf.rs @@ -274,157 +274,131 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to reset transmitter."] #[inline(always)] - #[must_use] pub fn tx_reset(&mut self) -> TX_RESET_W { TX_RESET_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to reset receiver."] #[inline(always)] - #[must_use] pub fn rx_reset(&mut self) -> RX_RESET_W { RX_RESET_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to reset TX FIFO."] #[inline(always)] - #[must_use] pub fn tx_fifo_reset(&mut self) -> TX_FIFO_RESET_W { TX_FIFO_RESET_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to reset RX FIFO."] #[inline(always)] - #[must_use] pub fn rx_fifo_reset(&mut self) -> RX_FIFO_RESET_W { RX_FIFO_RESET_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to start transmitting data."] #[inline(always)] - #[must_use] pub fn tx_start(&mut self) -> TX_START_W { TX_START_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to start receiving data."] #[inline(always)] - #[must_use] pub fn rx_start(&mut self) -> RX_START_W { RX_START_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to enable slave transmitter mode."] #[inline(always)] - #[must_use] pub fn tx_slave_mod(&mut self) -> TX_SLAVE_MOD_W { TX_SLAVE_MOD_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to enable slave receiver mode."] #[inline(always)] - #[must_use] pub fn rx_slave_mod(&mut self) -> RX_SLAVE_MOD_W { RX_SLAVE_MOD_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to transmit right channel data first."] #[inline(always)] - #[must_use] pub fn tx_right_first(&mut self) -> TX_RIGHT_FIRST_W { TX_RIGHT_FIRST_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to receive right channel data first."] #[inline(always)] - #[must_use] pub fn rx_right_first(&mut self) -> RX_RIGHT_FIRST_W { RX_RIGHT_FIRST_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to enable transmitter in Phillips standard mode."] #[inline(always)] - #[must_use] pub fn tx_msb_shift(&mut self) -> TX_MSB_SHIFT_W { TX_MSB_SHIFT_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to enable receiver in Phillips standard mode."] #[inline(always)] - #[must_use] pub fn rx_msb_shift(&mut self) -> RX_MSB_SHIFT_W { RX_MSB_SHIFT_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to enable transmitter in PCM standard mode."] #[inline(always)] - #[must_use] pub fn tx_short_sync(&mut self) -> TX_SHORT_SYNC_W { TX_SHORT_SYNC_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to enable receiver in PCM standard mode."] #[inline(always)] - #[must_use] pub fn rx_short_sync(&mut self) -> RX_SHORT_SYNC_W { RX_SHORT_SYNC_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to enable transmitter in mono mode."] #[inline(always)] - #[must_use] pub fn tx_mono(&mut self) -> TX_MONO_W { TX_MONO_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to enable receiver in mono mode."] #[inline(always)] - #[must_use] pub fn rx_mono(&mut self) -> RX_MONO_W { RX_MONO_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to place right channel data at the MSB in TX FIFO."] #[inline(always)] - #[must_use] pub fn tx_msb_right(&mut self) -> TX_MSB_RIGHT_W { TX_MSB_RIGHT_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to place right channel data at the MSB in RX FIFO."] #[inline(always)] - #[must_use] pub fn rx_msb_right(&mut self) -> RX_MSB_RIGHT_W { RX_MSB_RIGHT_W::new(self, 17) } #[doc = "Bit 18 - 1:the data in DMA/APB transform from low bits. 0:the data from DMA/APB transform from high bits."] #[inline(always)] - #[must_use] pub fn tx_lsb_first_dma(&mut self) -> TX_LSB_FIRST_DMA_W { TX_LSB_FIRST_DMA_W::new(self, 18) } #[doc = "Bit 19 - 1:the data in DMA/APB transform from low bits. 0:the data from DMA/APB transform from high bits."] #[inline(always)] - #[must_use] pub fn rx_lsb_first_dma(&mut self) -> RX_LSB_FIRST_DMA_W { RX_LSB_FIRST_DMA_W::new(self, 19) } #[doc = "Bit 20 - Enable signal loopback mode with transmitter module and receiver module sharing the same WS and BCK signals."] #[inline(always)] - #[must_use] pub fn sig_loopback(&mut self) -> SIG_LOOPBACK_W { SIG_LOOPBACK_W::new(self, 20) } #[doc = "Bit 24 - 1: Data in left channel is equal to data in right channel. 0: Data in left channel is not equal to data in right channel."] #[inline(always)] - #[must_use] pub fn tx_dma_equal(&mut self) -> TX_DMA_EQUAL_W { TX_DMA_EQUAL_W::new(self, 24) } #[doc = "Bit 25 - 1: Data in left channel is equal to data in right channel. 0: Data in left channel is not equal to data in right channel."] #[inline(always)] - #[must_use] pub fn rx_dma_equal(&mut self) -> RX_DMA_EQUAL_W { RX_DMA_EQUAL_W::new(self, 25) } #[doc = "Bit 26 - Set this bit to enable I2S to prepare data earlier."] #[inline(always)] - #[must_use] pub fn pre_req_en(&mut self) -> PRE_REQ_EN_W { PRE_REQ_EN_W::new(self, 26) } #[doc = "Bit 27 - I2S TX byte endianness."] #[inline(always)] - #[must_use] pub fn tx_big_endian(&mut self) -> TX_BIG_ENDIAN_W { TX_BIG_ENDIAN_W::new(self, 27) } #[doc = "Bit 28 - I2S RX byte endianness."] #[inline(always)] - #[must_use] pub fn rx_big_endian(&mut self) -> RX_BIG_ENDIAN_W { RX_BIG_ENDIAN_W::new(self, 28) } diff --git a/esp32s2/src/i2s0/conf1.rs b/esp32s2/src/i2s0/conf1.rs index 21e1c3dcfd..b9aaf9e2c8 100644 --- a/esp32s2/src/i2s0/conf1.rs +++ b/esp32s2/src/i2s0/conf1.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - Compress/Decompress module configuration bits. 0: decompress transmitted data 1:compress transmitted data"] #[inline(always)] - #[must_use] pub fn tx_pcm_conf(&mut self) -> TX_PCM_CONF_W { TX_PCM_CONF_W::new(self, 0) } #[doc = "Bit 3 - Set this bit to bypass Compress/Decompress module for transmitted data."] #[inline(always)] - #[must_use] pub fn tx_pcm_bypass(&mut self) -> TX_PCM_BYPASS_W { TX_PCM_BYPASS_W::new(self, 3) } #[doc = "Bits 4:6 - Compress/Decompress module configuration bits. 0: decompress received data 1:compress received data"] #[inline(always)] - #[must_use] pub fn rx_pcm_conf(&mut self) -> RX_PCM_CONF_W { RX_PCM_CONF_W::new(self, 4) } #[doc = "Bit 7 - Set this bit to bypass Compress/Decompress module for received data."] #[inline(always)] - #[must_use] pub fn rx_pcm_bypass(&mut self) -> RX_PCM_BYPASS_W { RX_PCM_BYPASS_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to stop the output of BCK signal and WS signal when TX FIFO is empty."] #[inline(always)] - #[must_use] pub fn tx_stop_en(&mut self) -> TX_STOP_EN_W { TX_STOP_EN_W::new(self, 8) } #[doc = "Bit 9 - Reserved."] #[inline(always)] - #[must_use] pub fn tx_zeros_rm_en(&mut self) -> TX_ZEROS_RM_EN_W { TX_ZEROS_RM_EN_W::new(self, 9) } diff --git a/esp32s2/src/i2s0/conf2.rs b/esp32s2/src/i2s0/conf2.rs index eac5081dbd..be1e00299e 100644 --- a/esp32s2/src/i2s0/conf2.rs +++ b/esp32s2/src/i2s0/conf2.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable camera mode."] #[inline(always)] - #[must_use] pub fn camera_en(&mut self) -> CAMERA_EN_W { CAMERA_EN_W::new(self, 0) } #[doc = "Bit 1 - LCD WR double for one datum."] #[inline(always)] - #[must_use] pub fn lcd_tx_wrx2_en(&mut self) -> LCD_TX_WRX2_EN_W { LCD_TX_WRX2_EN_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to duplicate data pairs (Frame Form 2) in LCD mode."] #[inline(always)] - #[must_use] pub fn lcd_tx_sdx2_en(&mut self) -> LCD_TX_SDX2_EN_W { LCD_TX_SDX2_EN_W::new(self, 2) } #[doc = "Bit 3 - for debug camera mode enable"] #[inline(always)] - #[must_use] pub fn data_enable_test_en(&mut self) -> DATA_ENABLE_TEST_EN_W { DATA_ENABLE_TEST_EN_W::new(self, 3) } #[doc = "Bit 4 - for debug camera mode enable"] #[inline(always)] - #[must_use] pub fn data_enable(&mut self) -> DATA_ENABLE_W { DATA_ENABLE_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to enable LCD mode."] #[inline(always)] - #[must_use] pub fn lcd_en(&mut self) -> LCD_EN_W { LCD_EN_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to enable the function that ADC mode is triggered by external signal."] #[inline(always)] - #[must_use] pub fn ext_adc_start_en(&mut self) -> EXT_ADC_START_EN_W { EXT_ADC_START_EN_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to enable camera VGA reducing-resolution mode: only receive two consecutive cycle data in four consecutive clocks."] #[inline(always)] - #[must_use] pub fn inter_valid_en(&mut self) -> INTER_VALID_EN_W { INTER_VALID_EN_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to reset FIFO in camera mode."] #[inline(always)] - #[must_use] pub fn cam_sync_fifo_reset(&mut self) -> CAM_SYNC_FIFO_RESET_W { CAM_SYNC_FIFO_RESET_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to loopback PCLK from I2S0I_WS_out."] #[inline(always)] - #[must_use] pub fn cam_clk_loopback(&mut self) -> CAM_CLK_LOOPBACK_W { CAM_CLK_LOOPBACK_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to enable I2S VSYNC filter function."] #[inline(always)] - #[must_use] pub fn vsync_filter_en(&mut self) -> VSYNC_FILTER_EN_W { VSYNC_FILTER_EN_W::new(self, 10) } #[doc = "Bits 11:13 - Configure the I2S VSYNC filter threshold value."] #[inline(always)] - #[must_use] pub fn vsync_filter_thres(&mut self) -> VSYNC_FILTER_THRES_W { VSYNC_FILTER_THRES_W::new(self, 11) } diff --git a/esp32s2/src/i2s0/conf_chan.rs b/esp32s2/src/i2s0/conf_chan.rs index 0f877274d7..45450601bc 100644 --- a/esp32s2/src/i2s0/conf_chan.rs +++ b/esp32s2/src/i2s0/conf_chan.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - I2S transmitter channel mode configuration bits."] #[inline(always)] - #[must_use] pub fn tx_chan_mod(&mut self) -> TX_CHAN_MOD_W { TX_CHAN_MOD_W::new(self, 0) } #[doc = "Bits 3:4 - I2S receiver channel mode configuration bits."] #[inline(always)] - #[must_use] pub fn rx_chan_mod(&mut self) -> RX_CHAN_MOD_W { RX_CHAN_MOD_W::new(self, 3) } diff --git a/esp32s2/src/i2s0/conf_sigle_data.rs b/esp32s2/src/i2s0/conf_sigle_data.rs index 9381fa631e..f1408276d1 100644 --- a/esp32s2/src/i2s0/conf_sigle_data.rs +++ b/esp32s2/src/i2s0/conf_sigle_data.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The right channel or left channel transmits constant value stored in this register according to I2S_TX_CHAN_MOD and I2S_TX_MSB_RIGHT."] #[inline(always)] - #[must_use] pub fn sigle_data(&mut self) -> SIGLE_DATA_W { SIGLE_DATA_W::new(self, 0) } diff --git a/esp32s2/src/i2s0/date.rs b/esp32s2/src/i2s0/date.rs index 8613f6e8d8..22dd9de606 100644 --- a/esp32s2/src/i2s0/date.rs +++ b/esp32s2/src/i2s0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Version control register"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s2/src/i2s0/fifo_conf.rs b/esp32s2/src/i2s0/fifo_conf.rs index ef3a853366..a3e63bd86e 100644 --- a/esp32s2/src/i2s0/fifo_conf.rs +++ b/esp32s2/src/i2s0/fifo_conf.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - I2S_RX_TAKE_DATA_INT is triggered when the left and right channel data number in RX FIFO is larger than the value of I2S_RX_DATA_NUM\\[5:0\\]. (RX FIFO is almost full threshold.)"] #[inline(always)] - #[must_use] pub fn rx_data_num(&mut self) -> RX_DATA_NUM_W { RX_DATA_NUM_W::new(self, 0) } #[doc = "Bits 6:11 - I2S_TX_PUT_DATA_INT is triggered when the left and right channel data number in TX FIFO is smaller than the value of I2S_TX_DATA_NUM\\[5:0\\]. (TX FIFO is almost empty threshold.)"] #[inline(always)] - #[must_use] pub fn tx_data_num(&mut self) -> TX_DATA_NUM_W { TX_DATA_NUM_W::new(self, 6) } #[doc = "Bit 12 - Set this bit to enable I2S DMA mode."] #[inline(always)] - #[must_use] pub fn dscr_en(&mut self) -> DSCR_EN_W { DSCR_EN_W::new(self, 12) } #[doc = "Bits 13:15 - Transmitter FIFO mode configuration bits"] #[inline(always)] - #[must_use] pub fn tx_fifo_mod(&mut self) -> TX_FIFO_MOD_W { TX_FIFO_MOD_W::new(self, 13) } #[doc = "Bits 16:18 - Receiver FIFO mode configuration bits"] #[inline(always)] - #[must_use] pub fn rx_fifo_mod(&mut self) -> RX_FIFO_MOD_W { RX_FIFO_MOD_W::new(self, 16) } #[doc = "Bit 19 - The bit should always be set to 1"] #[inline(always)] - #[must_use] pub fn tx_fifo_mod_force_en(&mut self) -> TX_FIFO_MOD_FORCE_EN_W { TX_FIFO_MOD_FORCE_EN_W::new(self, 19) } #[doc = "Bit 20 - The bit should always be set to 1"] #[inline(always)] - #[must_use] pub fn rx_fifo_mod_force_en(&mut self) -> RX_FIFO_MOD_FORCE_EN_W { RX_FIFO_MOD_FORCE_EN_W::new(self, 20) } #[doc = "Bit 21 - force write back rx data to memory"] #[inline(always)] - #[must_use] pub fn rx_fifo_sync(&mut self) -> RX_FIFO_SYNC_W { RX_FIFO_SYNC_W::new(self, 21) } #[doc = "Bit 22 - Only useful in rx 24bit mode. 1: the high 24 bits are effective in i2s fifo 0: the low 24 bits are effective in i2s fifo"] #[inline(always)] - #[must_use] pub fn rx_24msb_en(&mut self) -> RX_24MSB_EN_W { RX_24MSB_EN_W::new(self, 22) } #[doc = "Bit 23 - Only useful in tx 24bit mode. 1: the high 24 bits are effective in i2s fifo 0: the low 24 bits are effective in i2s fifo"] #[inline(always)] - #[must_use] pub fn tx_24msb_en(&mut self) -> TX_24MSB_EN_W { TX_24MSB_EN_W::new(self, 23) } diff --git a/esp32s2/src/i2s0/in_link.rs b/esp32s2/src/i2s0/in_link.rs index 5e04c22c26..3790b74a9f 100644 --- a/esp32s2/src/i2s0/in_link.rs +++ b/esp32s2/src/i2s0/in_link.rs @@ -62,25 +62,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - The address of first inlink descriptor."] #[inline(always)] - #[must_use] pub fn inlink_addr(&mut self) -> INLINK_ADDR_W { INLINK_ADDR_W::new(self, 0) } #[doc = "Bit 28 - Set this bit to stop inlink descriptor."] #[inline(always)] - #[must_use] pub fn inlink_stop(&mut self) -> INLINK_STOP_W { INLINK_STOP_W::new(self, 28) } #[doc = "Bit 29 - Set this bit to start inlink descriptor."] #[inline(always)] - #[must_use] pub fn inlink_start(&mut self) -> INLINK_START_W { INLINK_START_W::new(self, 29) } #[doc = "Bit 30 - Set this bit to restart inlink descriptor."] #[inline(always)] - #[must_use] pub fn inlink_restart(&mut self) -> INLINK_RESTART_W { INLINK_RESTART_W::new(self, 30) } diff --git a/esp32s2/src/i2s0/infifo_pop.rs b/esp32s2/src/i2s0/infifo_pop.rs index 4242d79d77..cdf04a3a80 100644 --- a/esp32s2/src/i2s0/infifo_pop.rs +++ b/esp32s2/src/i2s0/infifo_pop.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 16 - APB in FIFO pop."] #[inline(always)] - #[must_use] pub fn infifo_pop(&mut self) -> INFIFO_POP_W { INFIFO_POP_W::new(self, 16) } diff --git a/esp32s2/src/i2s0/int_clr.rs b/esp32s2/src/i2s0/int_clr.rs index 440cd56c81..272562e4d2 100644 --- a/esp32s2/src/i2s0/int_clr.rs +++ b/esp32s2/src/i2s0/int_clr.rs @@ -45,109 +45,91 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear I2S_RX_TAKE_DATA_INT interrupt."] #[inline(always)] - #[must_use] pub fn take_data(&mut self) -> TAKE_DATA_W { TAKE_DATA_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear I2S_TX_PUT_DATA_INT interrupt."] #[inline(always)] - #[must_use] pub fn put_data(&mut self) -> PUT_DATA_W { PUT_DATA_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear I2S_RX_WFULL_INT interrupt."] #[inline(always)] - #[must_use] pub fn rx_wfull(&mut self) -> RX_WFULL_W { RX_WFULL_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear I2S_RX_REMPTY_INT interrupt."] #[inline(always)] - #[must_use] pub fn rx_rempty(&mut self) -> RX_REMPTY_W { RX_REMPTY_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear I2S_TX_WFULL_INT interrupt."] #[inline(always)] - #[must_use] pub fn tx_wfull(&mut self) -> TX_WFULL_W { TX_WFULL_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear I2S_TX_REMPTY_INT interrupt."] #[inline(always)] - #[must_use] pub fn tx_rempty(&mut self) -> TX_REMPTY_W { TX_REMPTY_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear I2S_RX_HUNG_INT interrupt."] #[inline(always)] - #[must_use] pub fn rx_hung(&mut self) -> RX_HUNG_W { RX_HUNG_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear I2S_TX_HUNG_INT interrupt."] #[inline(always)] - #[must_use] pub fn tx_hung(&mut self) -> TX_HUNG_W { TX_HUNG_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear I2S_IN_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_done(&mut self) -> IN_DONE_W { IN_DONE_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear I2S_IN_SUC_EOF_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_suc_eof(&mut self) -> IN_SUC_EOF_W { IN_SUC_EOF_W::new(self, 9) } #[doc = "Bit 10 - Reserved."] #[inline(always)] - #[must_use] pub fn in_err_eof(&mut self) -> IN_ERR_EOF_W { IN_ERR_EOF_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear I2S_OUT_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_done(&mut self) -> OUT_DONE_W { OUT_DONE_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to clear I2S_OUT_EOF_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to clear I2S_IN_DSCR_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_err(&mut self) -> IN_DSCR_ERR_W { IN_DSCR_ERR_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to clear I2S_OUT_DSCR_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_dscr_err(&mut self) -> OUT_DSCR_ERR_W { OUT_DSCR_ERR_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to clear I2S_IN_DSCR_EMPTY_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_empty(&mut self) -> IN_DSCR_EMPTY_W { IN_DSCR_EMPTY_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to clear I2S_OUT_TOTAL_EOF_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_total_eof(&mut self) -> OUT_TOTAL_EOF_W { OUT_TOTAL_EOF_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to clear I2S_V_SYNC_INT interrupt."] #[inline(always)] - #[must_use] pub fn v_sync(&mut self) -> V_SYNC_W { V_SYNC_W::new(self, 17) } diff --git a/esp32s2/src/i2s0/int_ena.rs b/esp32s2/src/i2s0/int_ena.rs index 877bfb75d3..9041d8e598 100644 --- a/esp32s2/src/i2s0/int_ena.rs +++ b/esp32s2/src/i2s0/int_ena.rs @@ -194,109 +194,91 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for I2S_RX_TAKE_DATA_INT interrupt."] #[inline(always)] - #[must_use] pub fn rx_take_data(&mut self) -> RX_TAKE_DATA_W { RX_TAKE_DATA_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for I2S_TX_PUT_DATA_INT interrupt."] #[inline(always)] - #[must_use] pub fn tx_put_data(&mut self) -> TX_PUT_DATA_W { TX_PUT_DATA_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for I2S_RX_WFULL_INT interrupt."] #[inline(always)] - #[must_use] pub fn rx_wfull(&mut self) -> RX_WFULL_W { RX_WFULL_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for I2S_RX_REMPTY_INT interrupt."] #[inline(always)] - #[must_use] pub fn rx_rempty(&mut self) -> RX_REMPTY_W { RX_REMPTY_W::new(self, 3) } #[doc = "Bit 4 - The interrupt enable bit for I2S_TX_WFULL_INT interrupt."] #[inline(always)] - #[must_use] pub fn tx_wfull(&mut self) -> TX_WFULL_W { TX_WFULL_W::new(self, 4) } #[doc = "Bit 5 - The interrupt enable bit for I2S_TX_REMPTY_INT interrupt."] #[inline(always)] - #[must_use] pub fn tx_rempty(&mut self) -> TX_REMPTY_W { TX_REMPTY_W::new(self, 5) } #[doc = "Bit 6 - The interrupt enable bit for I2S_RX_HUNG_INT interrupt."] #[inline(always)] - #[must_use] pub fn rx_hung(&mut self) -> RX_HUNG_W { RX_HUNG_W::new(self, 6) } #[doc = "Bit 7 - The interrupt enable bit for I2S_TX_HUNG_INT interrupt."] #[inline(always)] - #[must_use] pub fn tx_hung(&mut self) -> TX_HUNG_W { TX_HUNG_W::new(self, 7) } #[doc = "Bit 8 - The interrupt enable bit for I2S_IN_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_done(&mut self) -> IN_DONE_W { IN_DONE_W::new(self, 8) } #[doc = "Bit 9 - The interrupt enable bit for I2S_IN_SUC_EOF_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_suc_eof(&mut self) -> IN_SUC_EOF_W { IN_SUC_EOF_W::new(self, 9) } #[doc = "Bit 10 - Reserved."] #[inline(always)] - #[must_use] pub fn in_err_eof(&mut self) -> IN_ERR_EOF_W { IN_ERR_EOF_W::new(self, 10) } #[doc = "Bit 11 - The interrupt enable bit for I2S_OUT_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_done(&mut self) -> OUT_DONE_W { OUT_DONE_W::new(self, 11) } #[doc = "Bit 12 - The interrupt enable bit for I2S_OUT_EOF_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 12) } #[doc = "Bit 13 - The interrupt enable bit for I2S_IN_DSCR_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_err(&mut self) -> IN_DSCR_ERR_W { IN_DSCR_ERR_W::new(self, 13) } #[doc = "Bit 14 - The interrupt enable bit for I2S_OUT_DSCR_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_dscr_err(&mut self) -> OUT_DSCR_ERR_W { OUT_DSCR_ERR_W::new(self, 14) } #[doc = "Bit 15 - The interrupt enable bit for I2S_IN_DSCR_EMPTY_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_empty(&mut self) -> IN_DSCR_EMPTY_W { IN_DSCR_EMPTY_W::new(self, 15) } #[doc = "Bit 16 - The interrupt enable bit for I2S_OUT_TOTAL_EOF_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_total_eof(&mut self) -> OUT_TOTAL_EOF_W { OUT_TOTAL_EOF_W::new(self, 16) } #[doc = "Bit 17 - The interrupt enable bit for I2S_V_SYNC_INT interrupt."] #[inline(always)] - #[must_use] pub fn v_sync(&mut self) -> V_SYNC_W { V_SYNC_W::new(self, 17) } diff --git a/esp32s2/src/i2s0/lc_conf.rs b/esp32s2/src/i2s0/lc_conf.rs index 9888a615af..d3b79e1391 100644 --- a/esp32s2/src/i2s0/lc_conf.rs +++ b/esp32s2/src/i2s0/lc_conf.rs @@ -164,91 +164,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to reset in-DMA FSM. Set this bit before the DMA configuration."] #[inline(always)] - #[must_use] pub fn in_rst(&mut self) -> IN_RST_W { IN_RST_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to reset out-DMA FSM. Set this bit before the DMA configuration."] #[inline(always)] - #[must_use] pub fn out_rst(&mut self) -> OUT_RST_W { OUT_RST_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to reset AHB interface cmdFIFO of DMA. Set this bit before the DMA configuration."] #[inline(always)] - #[must_use] pub fn ahbm_fifo_rst(&mut self) -> AHBM_FIFO_RST_W { AHBM_FIFO_RST_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to reset AHB interface of DMA. Set this bit before the DMA configuration."] #[inline(always)] - #[must_use] pub fn ahbm_rst(&mut self) -> AHBM_RST_W { AHBM_RST_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to loop test inlink."] #[inline(always)] - #[must_use] pub fn out_loop_test(&mut self) -> OUT_LOOP_TEST_W { OUT_LOOP_TEST_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to loop test outlink."] #[inline(always)] - #[must_use] pub fn in_loop_test(&mut self) -> IN_LOOP_TEST_W { IN_LOOP_TEST_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to enable outlink-written-back automatically when out buffer is transmitted done."] #[inline(always)] - #[must_use] pub fn out_auto_wrback(&mut self) -> OUT_AUTO_WRBACK_W { OUT_AUTO_WRBACK_W::new(self, 6) } #[doc = "Bit 7 - Reserved."] #[inline(always)] - #[must_use] pub fn out_no_restart_clr(&mut self) -> OUT_NO_RESTART_CLR_W { OUT_NO_RESTART_CLR_W::new(self, 7) } #[doc = "Bit 8 - DMA out EOF flag generation mode. 1: When DMA has popped all data from the FIFO. 0: When AHB has pushed all data to the FIFO."] #[inline(always)] - #[must_use] pub fn out_eof_mode(&mut self) -> OUT_EOF_MODE_W { OUT_EOF_MODE_W::new(self, 8) } #[doc = "Bit 9 - DMA outlink descriptor transfer mode configuration bit. 1: Prepare outlink descriptor with burst mode. 0: Prepare outlink descriptor with byte mode."] #[inline(always)] - #[must_use] pub fn outdscr_burst_en(&mut self) -> OUTDSCR_BURST_EN_W { OUTDSCR_BURST_EN_W::new(self, 9) } #[doc = "Bit 10 - DMA inlink descriptor transfer mode configuration bit. 1: Prepare inlink descriptor with burst mode. 0: Prepare inlink descriptor with byte mode."] #[inline(always)] - #[must_use] pub fn indscr_burst_en(&mut self) -> INDSCR_BURST_EN_W { INDSCR_BURST_EN_W::new(self, 10) } #[doc = "Bit 11 - Transmitter data transfer mode configuration bit. 1: Prepare out data with burst mode. 0: Prepare out data with byte mode."] #[inline(always)] - #[must_use] pub fn out_data_burst_en(&mut self) -> OUT_DATA_BURST_EN_W { OUT_DATA_BURST_EN_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to enable check owner bit by hardware."] #[inline(always)] - #[must_use] pub fn check_owner(&mut self) -> CHECK_OWNER_W { CHECK_OWNER_W::new(self, 12) } #[doc = "Bit 13 - Reserved."] #[inline(always)] - #[must_use] pub fn mem_trans_en(&mut self) -> MEM_TRANS_EN_W { MEM_TRANS_EN_W::new(self, 13) } #[doc = "Bits 14:15 - DMA access external memory block size. 0: 16 bytes. 1: 32 bytes. 2: 64 bytes. 3: reserved."] #[inline(always)] - #[must_use] pub fn ext_mem_bk_size(&mut self) -> EXT_MEM_BK_SIZE_W { EXT_MEM_BK_SIZE_W::new(self, 14) } diff --git a/esp32s2/src/i2s0/lc_hung_conf.rs b/esp32s2/src/i2s0/lc_hung_conf.rs index 416bf149d3..9ef88c34cd 100644 --- a/esp32s2/src/i2s0/lc_hung_conf.rs +++ b/esp32s2/src/i2s0/lc_hung_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - I2S_TX_HUNG_INT interrupt or I2S_RX_HUNG_INT interrupt will be triggered when FIFO hung counter is equal to this value."] #[inline(always)] - #[must_use] pub fn lc_fifo_timeout(&mut self) -> LC_FIFO_TIMEOUT_W { LC_FIFO_TIMEOUT_W::new(self, 0) } #[doc = "Bits 8:10 - The bits are used to set the tick counter threshold. The tick counter is clocked by APB_CLK. The tick counter threshold is 88000/2^I2S_LC_FIFO_TIMEOUT_SHIFT. The tick counter is reset when it reaches the threshold."] #[inline(always)] - #[must_use] pub fn lc_fifo_timeout_shift(&mut self) -> LC_FIFO_TIMEOUT_SHIFT_W { LC_FIFO_TIMEOUT_SHIFT_W::new(self, 8) } #[doc = "Bit 11 - The enable bit for FIFO timeout."] #[inline(always)] - #[must_use] pub fn lc_fifo_timeout_ena(&mut self) -> LC_FIFO_TIMEOUT_ENA_W { LC_FIFO_TIMEOUT_ENA_W::new(self, 11) } diff --git a/esp32s2/src/i2s0/out_link.rs b/esp32s2/src/i2s0/out_link.rs index 18976e93ef..4f799a670e 100644 --- a/esp32s2/src/i2s0/out_link.rs +++ b/esp32s2/src/i2s0/out_link.rs @@ -62,25 +62,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - The address of first outlink descriptor."] #[inline(always)] - #[must_use] pub fn outlink_addr(&mut self) -> OUTLINK_ADDR_W { OUTLINK_ADDR_W::new(self, 0) } #[doc = "Bit 28 - Set this bit to stop outlink descriptor."] #[inline(always)] - #[must_use] pub fn outlink_stop(&mut self) -> OUTLINK_STOP_W { OUTLINK_STOP_W::new(self, 28) } #[doc = "Bit 29 - Set this bit to start outlink descriptor."] #[inline(always)] - #[must_use] pub fn outlink_start(&mut self) -> OUTLINK_START_W { OUTLINK_START_W::new(self, 29) } #[doc = "Bit 30 - Set this bit to restart outlink descriptor."] #[inline(always)] - #[must_use] pub fn outlink_restart(&mut self) -> OUTLINK_RESTART_W { OUTLINK_RESTART_W::new(self, 30) } diff --git a/esp32s2/src/i2s0/outfifo_push.rs b/esp32s2/src/i2s0/outfifo_push.rs index 0de3e531df..d35e42d488 100644 --- a/esp32s2/src/i2s0/outfifo_push.rs +++ b/esp32s2/src/i2s0/outfifo_push.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - APB out FIFO write data."] #[inline(always)] - #[must_use] pub fn outfifo_wdata(&mut self) -> OUTFIFO_WDATA_W { OUTFIFO_WDATA_W::new(self, 0) } #[doc = "Bit 16 - APB out FIFO push."] #[inline(always)] - #[must_use] pub fn outfifo_push(&mut self) -> OUTFIFO_PUSH_W { OUTFIFO_PUSH_W::new(self, 16) } diff --git a/esp32s2/src/i2s0/pd_conf.rs b/esp32s2/src/i2s0/pd_conf.rs index b1874655b0..8f6ed9d02c 100644 --- a/esp32s2/src/i2s0/pd_conf.rs +++ b/esp32s2/src/i2s0/pd_conf.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Force FIFO power-down."] #[inline(always)] - #[must_use] pub fn fifo_force_pd(&mut self) -> FIFO_FORCE_PD_W { FIFO_FORCE_PD_W::new(self, 0) } #[doc = "Bit 1 - Force FIFO power-up."] #[inline(always)] - #[must_use] pub fn fifo_force_pu(&mut self) -> FIFO_FORCE_PU_W { FIFO_FORCE_PU_W::new(self, 1) } #[doc = "Bit 2 - Force I2S memory power-down."] #[inline(always)] - #[must_use] pub fn plc_mem_force_pd(&mut self) -> PLC_MEM_FORCE_PD_W { PLC_MEM_FORCE_PD_W::new(self, 2) } #[doc = "Bit 3 - Force I2S memory power-up."] #[inline(always)] - #[must_use] pub fn plc_mem_force_pu(&mut self) -> PLC_MEM_FORCE_PU_W { PLC_MEM_FORCE_PU_W::new(self, 3) } #[doc = "Bit 4 - Force DMA FIFO power-down."] #[inline(always)] - #[must_use] pub fn dma_ram_force_pd(&mut self) -> DMA_RAM_FORCE_PD_W { DMA_RAM_FORCE_PD_W::new(self, 4) } #[doc = "Bit 5 - Force DMA FIFO power-up."] #[inline(always)] - #[must_use] pub fn dma_ram_force_pu(&mut self) -> DMA_RAM_FORCE_PU_W { DMA_RAM_FORCE_PU_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to force on DMA RAM clock."] #[inline(always)] - #[must_use] pub fn dma_ram_clk_fo(&mut self) -> DMA_RAM_CLK_FO_W { DMA_RAM_CLK_FO_W::new(self, 6) } diff --git a/esp32s2/src/i2s0/rxeof_num.rs b/esp32s2/src/i2s0/rxeof_num.rs index 2793a84e9c..7f84120e49 100644 --- a/esp32s2/src/i2s0/rxeof_num.rs +++ b/esp32s2/src/i2s0/rxeof_num.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The length of data to be received. It will trigger I2S_IN_SUC_EOF_INT."] #[inline(always)] - #[must_use] pub fn rx_eof_num(&mut self) -> RX_EOF_NUM_W { RX_EOF_NUM_W::new(self, 0) } diff --git a/esp32s2/src/i2s0/sample_rate_conf.rs b/esp32s2/src/i2s0/sample_rate_conf.rs index 785157085e..f7bb71dda0 100644 --- a/esp32s2/src/i2s0/sample_rate_conf.rs +++ b/esp32s2/src/i2s0/sample_rate_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - Bit clock configuration bits in transmitter mode."] #[inline(always)] - #[must_use] pub fn tx_bck_div_num(&mut self) -> TX_BCK_DIV_NUM_W { TX_BCK_DIV_NUM_W::new(self, 0) } #[doc = "Bits 6:11 - Bit clock configuration bits in receiver mode."] #[inline(always)] - #[must_use] pub fn rx_bck_div_num(&mut self) -> RX_BCK_DIV_NUM_W { RX_BCK_DIV_NUM_W::new(self, 6) } #[doc = "Bits 12:17 - Set the bits to configure bit length of I2S transmitter channel, the value of which can only be 8, 16, 24 and 32."] #[inline(always)] - #[must_use] pub fn tx_bits_mod(&mut self) -> TX_BITS_MOD_W { TX_BITS_MOD_W::new(self, 12) } #[doc = "Bits 18:23 - Set the bits to configure bit length of I2S receiver channel, the value of which can only be 8, 16, 24 and 32."] #[inline(always)] - #[must_use] pub fn rx_bits_mod(&mut self) -> RX_BITS_MOD_W { RX_BITS_MOD_W::new(self, 18) } diff --git a/esp32s2/src/i2s0/timing.rs b/esp32s2/src/i2s0/timing.rs index cd9cca1901..3132b19783 100644 --- a/esp32s2/src/i2s0/timing.rs +++ b/esp32s2/src/i2s0/timing.rs @@ -154,85 +154,71 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Number of delay cycles for BCK signal into the transmitter based on I2S0_CLK. 0: delayed by 1.5 cycles. 1: delayed by 2.5 cycles. 2: delayed by 3.5 cycles. 3: delayed by 4.5 cycles."] #[inline(always)] - #[must_use] pub fn tx_bck_in_delay(&mut self) -> TX_BCK_IN_DELAY_W { TX_BCK_IN_DELAY_W::new(self, 0) } #[doc = "Bits 2:3 - Number of delay cycles for WS signal into the transmitter based on I2S0_CLK. 0: delayed by 1.5 cycles. 1: delayed by 2.5 cycles. 2: delayed by 3.5 cycles. 3: delayed by 4.5 cycles."] #[inline(always)] - #[must_use] pub fn tx_ws_in_delay(&mut self) -> TX_WS_IN_DELAY_W { TX_WS_IN_DELAY_W::new(self, 2) } #[doc = "Bits 4:5 - Number of delay cycles for BCK signal into the receiver based on I2S0_CLK. 0: delayed by 1.5 cycles. 1: delayed by 2.5 cycles. 2: delayed by 3.5 cycles. 3: delayed by 4.5 cycles."] #[inline(always)] - #[must_use] pub fn rx_bck_in_delay(&mut self) -> RX_BCK_IN_DELAY_W { RX_BCK_IN_DELAY_W::new(self, 4) } #[doc = "Bits 6:7 - Number of delay cycles for WS signal into the receiver based on I2S0_CLK. 0: delayed by 1.5 cycles. 1: delayed by 2.5 cycles. 2: delayed by 3.5 cycles. 3: delayed by 4.5 cycles."] #[inline(always)] - #[must_use] pub fn rx_ws_in_delay(&mut self) -> RX_WS_IN_DELAY_W { RX_WS_IN_DELAY_W::new(self, 6) } #[doc = "Bits 8:9 - Number of delay cycles for SD signal into the receiver based on I2S0_CLK. 0: delayed by 1.5 cycles. 1: delayed by 2.5 cycles. 2: delayed by 3.5 cycles. 3: delayed by 4.5 cycles."] #[inline(always)] - #[must_use] pub fn rx_sd_in_delay(&mut self) -> RX_SD_IN_DELAY_W { RX_SD_IN_DELAY_W::new(self, 8) } #[doc = "Bits 10:11 - Number of delay cycles for BCK signal out of the transmitter based on I2S0_CLK. 0: delayed by 0 cycle. 1: delayed by 1 cycle. 2: delayed by 2 cycles. 3: delayed by 3 cycles."] #[inline(always)] - #[must_use] pub fn tx_bck_out_delay(&mut self) -> TX_BCK_OUT_DELAY_W { TX_BCK_OUT_DELAY_W::new(self, 10) } #[doc = "Bits 12:13 - Number of delay cycles for WS signal out of the transmitter based on I2S0_CLK. 0: delayed by 0 cycle. 1: delayed by 1 cycle. 2: delayed by 2 cycles. 3: delayed by 3 cycles."] #[inline(always)] - #[must_use] pub fn tx_ws_out_delay(&mut self) -> TX_WS_OUT_DELAY_W { TX_WS_OUT_DELAY_W::new(self, 12) } #[doc = "Bits 14:15 - Number of delay cycles for SD signal out of the transmitter based on I2S0_CLK. 0: delayed by 0 cycle. 1: delayed by 1 cycle. 2: delayed by 2 cycles. 3: delayed by 3 cycles."] #[inline(always)] - #[must_use] pub fn tx_sd_out_delay(&mut self) -> TX_SD_OUT_DELAY_W { TX_SD_OUT_DELAY_W::new(self, 14) } #[doc = "Bits 16:17 - Number of delay cycles for WS signal out of the receiver based on I2S0_CLK. 0: delayed by 0 cycle. 1: delayed by 1 cycle. 2: delayed by 2 cycles. 3: delayed by 3 cycles."] #[inline(always)] - #[must_use] pub fn rx_ws_out_delay(&mut self) -> RX_WS_OUT_DELAY_W { RX_WS_OUT_DELAY_W::new(self, 16) } #[doc = "Bits 18:19 - Number of delay cycles for BCK signal out of the receiver based on I2S0_CLK. 0: delayed by 0 cycle. 1: delayed by 1 cycle. 2: delayed by 2 cycles. 3: delayed by 3 cycles."] #[inline(always)] - #[must_use] pub fn rx_bck_out_delay(&mut self) -> RX_BCK_OUT_DELAY_W { RX_BCK_OUT_DELAY_W::new(self, 18) } #[doc = "Bit 20 - Set this bit to synchronize signals into the transmitter by two flip-flop synchronizer. 0: the signals will be firstly clocked by rising clock edge , then clocked by falling clock edge. 1: the signals will be firstly clocked by falling clock edge, then clocked by rising clock edge."] #[inline(always)] - #[must_use] pub fn tx_dsync_sw(&mut self) -> TX_DSYNC_SW_W { TX_DSYNC_SW_W::new(self, 20) } #[doc = "Bit 21 - Set this bit to synchronize signals into the receiver by two flip-flop synchronizer. 0: the signals will be clocked by rising clock edge firstly, then clocked by falling clock edge. 1: the signals will be clocked by falling clock edge firstly, then clocked by rising clock edge."] #[inline(always)] - #[must_use] pub fn rx_dsync_sw(&mut self) -> RX_DSYNC_SW_W { RX_DSYNC_SW_W::new(self, 21) } #[doc = "Bits 22:23 - Number of delay cycles for data valid flag based on I2S0_CLK. 0: delayed by 1.5 cycles. 1: delayed by 2.5 cycles. 2: delayed by 3.5 cycles. 3: delayed by 4.5 cycles."] #[inline(always)] - #[must_use] pub fn data_enable_delay(&mut self) -> DATA_ENABLE_DELAY_W { DATA_ENABLE_DELAY_W::new(self, 22) } #[doc = "Bit 24 - Set this bit to invert BCK signal input to the slave transmitter."] #[inline(always)] - #[must_use] pub fn tx_bck_in_inv(&mut self) -> TX_BCK_IN_INV_W { TX_BCK_IN_INV_W::new(self, 24) } diff --git a/esp32s2/src/interrupt_core0/clock_gate.rs b/esp32s2/src/interrupt_core0/clock_gate.rs index 992d5c79c2..0b9c284cf1 100644 --- a/esp32s2/src/interrupt_core0/clock_gate.rs +++ b/esp32s2/src/interrupt_core0/clock_gate.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to enable or disable the clock of interrupt matrix. 1: enable the clock. 0: disable the clock."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - This bit is used to disable all NMI interrupt signals to CPU."] #[inline(always)] - #[must_use] pub fn pro_nmi_mask_hw(&mut self) -> PRO_NMI_MASK_HW_W { PRO_NMI_MASK_HW_W::new(self, 1) } diff --git a/esp32s2/src/interrupt_core0/pro_aes_intr_map.rs b/esp32s2/src/interrupt_core0/pro_aes_intr_map.rs index 1a322c50e3..6754421d13 100644 --- a/esp32s2/src/interrupt_core0/pro_aes_intr_map.rs +++ b/esp32s2/src/interrupt_core0/pro_aes_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map AES_INTR interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_aes_intr_map(&mut self) -> PRO_AES_INTR_MAP_W { PRO_AES_INTR_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_apb_adc_int_map.rs b/esp32s2/src/interrupt_core0/pro_apb_adc_int_map.rs index e2b4ff03e7..cf12a71bfb 100644 --- a/esp32s2/src/interrupt_core0/pro_apb_adc_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_apb_adc_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map APB_ADC_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_apb_adc_int_map(&mut self) -> PRO_APB_ADC_INT_MAP_W { PRO_APB_ADC_INT_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_apb_peri_error_int_map.rs b/esp32s2/src/interrupt_core0/pro_apb_peri_error_int_map.rs index aba70a303b..eefbe07bb0 100644 --- a/esp32s2/src/interrupt_core0/pro_apb_peri_error_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_apb_peri_error_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map APB_PERI_ERROR_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_apb_peri_error_int_map( &mut self, ) -> PRO_APB_PERI_ERROR_INT_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_assist_debug_intr_map.rs b/esp32s2/src/interrupt_core0/pro_assist_debug_intr_map.rs index 4df5f90dfd..caf917a9f1 100644 --- a/esp32s2/src/interrupt_core0/pro_assist_debug_intr_map.rs +++ b/esp32s2/src/interrupt_core0/pro_assist_debug_intr_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map ASSIST_DEBUG_INTR interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_assist_debug_intr_map( &mut self, ) -> PRO_ASSIST_DEBUG_INTR_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_bb_int_map.rs b/esp32s2/src/interrupt_core0/pro_bb_int_map.rs index 688a0f57c8..c2165242af 100644 --- a/esp32s2/src/interrupt_core0/pro_bb_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_bb_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map BB_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_bb_int_map(&mut self) -> PRO_BB_INT_MAP_W { PRO_BB_INT_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_bt_bb_int_map.rs b/esp32s2/src/interrupt_core0/pro_bt_bb_int_map.rs index eff33bb82b..17b4329186 100644 --- a/esp32s2/src/interrupt_core0/pro_bt_bb_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_bt_bb_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map BT_BB_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_bt_bb_int_map(&mut self) -> PRO_BT_BB_INT_MAP_W { PRO_BT_BB_INT_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_bt_bb_nmi_map.rs b/esp32s2/src/interrupt_core0/pro_bt_bb_nmi_map.rs index 63cc2ca175..5409a1cfc8 100644 --- a/esp32s2/src/interrupt_core0/pro_bt_bb_nmi_map.rs +++ b/esp32s2/src/interrupt_core0/pro_bt_bb_nmi_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map BT_BB_NMI interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_bt_bb_nmi_map(&mut self) -> PRO_BT_BB_NMI_MAP_W { PRO_BT_BB_NMI_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_bt_mac_int_map.rs b/esp32s2/src/interrupt_core0/pro_bt_mac_int_map.rs index a4a0a463fe..6c61c733f2 100644 --- a/esp32s2/src/interrupt_core0/pro_bt_mac_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_bt_mac_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map BT_MAC_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_bt_mac_int_map(&mut self) -> PRO_BT_MAC_INT_MAP_W { PRO_BT_MAC_INT_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_cache_ia_int_map.rs b/esp32s2/src/interrupt_core0/pro_cache_ia_int_map.rs index 5b4d8071ea..71be6466da 100644 --- a/esp32s2/src/interrupt_core0/pro_cache_ia_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_cache_ia_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map CACHE_IA_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_cache_ia_int_map(&mut self) -> PRO_CACHE_IA_INT_MAP_W { PRO_CACHE_IA_INT_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_can_int_map.rs b/esp32s2/src/interrupt_core0/pro_can_int_map.rs index a858641c6d..0c9e78b396 100644 --- a/esp32s2/src/interrupt_core0/pro_can_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_can_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map CAN_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_can_int_map(&mut self) -> PRO_CAN_INT_MAP_W { PRO_CAN_INT_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_cpu_intr_from_cpu_0_map.rs b/esp32s2/src/interrupt_core0/pro_cpu_intr_from_cpu_0_map.rs index 436fc0ae5c..770a969771 100644 --- a/esp32s2/src/interrupt_core0/pro_cpu_intr_from_cpu_0_map.rs +++ b/esp32s2/src/interrupt_core0/pro_cpu_intr_from_cpu_0_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map CPU_INTR_FROM_CPU_0 interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_cpu_intr_from_cpu_0_map( &mut self, ) -> PRO_CPU_INTR_FROM_CPU_0_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_cpu_intr_from_cpu_1_map.rs b/esp32s2/src/interrupt_core0/pro_cpu_intr_from_cpu_1_map.rs index 3b6c75e5be..f66b8f8b9c 100644 --- a/esp32s2/src/interrupt_core0/pro_cpu_intr_from_cpu_1_map.rs +++ b/esp32s2/src/interrupt_core0/pro_cpu_intr_from_cpu_1_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map CPU_INTR_FROM_CPU_1 interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_cpu_intr_from_cpu_1_map( &mut self, ) -> PRO_CPU_INTR_FROM_CPU_1_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_cpu_intr_from_cpu_2_map.rs b/esp32s2/src/interrupt_core0/pro_cpu_intr_from_cpu_2_map.rs index 22f21e4f20..ad1d802106 100644 --- a/esp32s2/src/interrupt_core0/pro_cpu_intr_from_cpu_2_map.rs +++ b/esp32s2/src/interrupt_core0/pro_cpu_intr_from_cpu_2_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map CPU_INTR_FROM_CPU_2 interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_cpu_intr_from_cpu_2_map( &mut self, ) -> PRO_CPU_INTR_FROM_CPU_2_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_cpu_intr_from_cpu_3_map.rs b/esp32s2/src/interrupt_core0/pro_cpu_intr_from_cpu_3_map.rs index 4bf3b14906..bcb67452be 100644 --- a/esp32s2/src/interrupt_core0/pro_cpu_intr_from_cpu_3_map.rs +++ b/esp32s2/src/interrupt_core0/pro_cpu_intr_from_cpu_3_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map CPU_INTR_FROM_CPU_3 interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_cpu_intr_from_cpu_3_map( &mut self, ) -> PRO_CPU_INTR_FROM_CPU_3_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_cpu_peri_error_int_map.rs b/esp32s2/src/interrupt_core0/pro_cpu_peri_error_int_map.rs index e6800d6253..8cd377716f 100644 --- a/esp32s2/src/interrupt_core0/pro_cpu_peri_error_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_cpu_peri_error_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map CPU_PERI_ERROR_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_cpu_peri_error_int_map( &mut self, ) -> PRO_CPU_PERI_ERROR_INT_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_crypto_dma_int_map.rs b/esp32s2/src/interrupt_core0/pro_crypto_dma_int_map.rs index a44542387a..103868803e 100644 --- a/esp32s2/src/interrupt_core0/pro_crypto_dma_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_crypto_dma_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map CRYPTO_DMA_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_crypto_dma_int_map( &mut self, ) -> PRO_CRYPTO_DMA_INT_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_dcache_preload_int_map.rs b/esp32s2/src/interrupt_core0/pro_dcache_preload_int_map.rs index 3f5be0592f..10a2cff6cf 100644 --- a/esp32s2/src/interrupt_core0/pro_dcache_preload_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_dcache_preload_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map DCACHE_PRELOAD_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_dcache_preload_int_map( &mut self, ) -> PRO_DCACHE_PRELOAD_INT_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_dcache_sync_int_map.rs b/esp32s2/src/interrupt_core0/pro_dcache_sync_int_map.rs index fbbf2dd910..0e80df07e5 100644 --- a/esp32s2/src/interrupt_core0/pro_dcache_sync_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_dcache_sync_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map DCACHE_SYNC_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_dcache_sync_int_map( &mut self, ) -> PRO_DCACHE_SYNC_INT_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_dedicated_gpio_in_intr_map.rs b/esp32s2/src/interrupt_core0/pro_dedicated_gpio_in_intr_map.rs index 3ab3d01c6d..9389df11c3 100644 --- a/esp32s2/src/interrupt_core0/pro_dedicated_gpio_in_intr_map.rs +++ b/esp32s2/src/interrupt_core0/pro_dedicated_gpio_in_intr_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map DEDICATED_GPIO_IN_INTR interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_dedicated_gpio_in_intr_map( &mut self, ) -> PRO_DEDICATED_GPIO_IN_INTR_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_dma_copy_intr_map.rs b/esp32s2/src/interrupt_core0/pro_dma_copy_intr_map.rs index 0a2a5b877b..003dfcec59 100644 --- a/esp32s2/src/interrupt_core0/pro_dma_copy_intr_map.rs +++ b/esp32s2/src/interrupt_core0/pro_dma_copy_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map DMA_COPY_INTR interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_dma_copy_intr_map(&mut self) -> PRO_DMA_COPY_INTR_MAP_W { PRO_DMA_COPY_INTR_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_efuse_int_map.rs b/esp32s2/src/interrupt_core0/pro_efuse_int_map.rs index 9b1d79b2d9..cce464ac99 100644 --- a/esp32s2/src/interrupt_core0/pro_efuse_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_efuse_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map EFUSE_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_efuse_int_map(&mut self) -> PRO_EFUSE_INT_MAP_W { PRO_EFUSE_INT_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_gpio_interrupt_app_map.rs b/esp32s2/src/interrupt_core0/pro_gpio_interrupt_app_map.rs index b3ddbfabc9..938c5f584f 100644 --- a/esp32s2/src/interrupt_core0/pro_gpio_interrupt_app_map.rs +++ b/esp32s2/src/interrupt_core0/pro_gpio_interrupt_app_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map GPIO_INTERRUPT_APP interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_gpio_interrupt_app_map( &mut self, ) -> PRO_GPIO_INTERRUPT_APP_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_gpio_interrupt_app_nmi_map.rs b/esp32s2/src/interrupt_core0/pro_gpio_interrupt_app_nmi_map.rs index a834e52fe0..5d28f32df7 100644 --- a/esp32s2/src/interrupt_core0/pro_gpio_interrupt_app_nmi_map.rs +++ b/esp32s2/src/interrupt_core0/pro_gpio_interrupt_app_nmi_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map GPIO_INTERRUPT_APP_NMI interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_gpio_interrupt_app_nmi_map( &mut self, ) -> PRO_GPIO_INTERRUPT_APP_NMI_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_gpio_interrupt_pro_map.rs b/esp32s2/src/interrupt_core0/pro_gpio_interrupt_pro_map.rs index 53a1d0ffdd..1677a86f92 100644 --- a/esp32s2/src/interrupt_core0/pro_gpio_interrupt_pro_map.rs +++ b/esp32s2/src/interrupt_core0/pro_gpio_interrupt_pro_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map GPIO_INTERRUPT_PRO interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_gpio_interrupt_pro_map( &mut self, ) -> PRO_GPIO_INTERRUPT_PRO_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_gpio_interrupt_pro_nmi_map.rs b/esp32s2/src/interrupt_core0/pro_gpio_interrupt_pro_nmi_map.rs index 17d453e3b9..845dc7a87d 100644 --- a/esp32s2/src/interrupt_core0/pro_gpio_interrupt_pro_nmi_map.rs +++ b/esp32s2/src/interrupt_core0/pro_gpio_interrupt_pro_nmi_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map GPIO_INTERRUPT_PRO_NMI interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_gpio_interrupt_pro_nmi_map( &mut self, ) -> PRO_GPIO_INTERRUPT_PRO_NMI_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_i2c_ext0_intr_map.rs b/esp32s2/src/interrupt_core0/pro_i2c_ext0_intr_map.rs index b286d5fcb5..e318fa150d 100644 --- a/esp32s2/src/interrupt_core0/pro_i2c_ext0_intr_map.rs +++ b/esp32s2/src/interrupt_core0/pro_i2c_ext0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map I2C_EXT0_INTR interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_i2c_ext0_intr_map(&mut self) -> PRO_I2C_EXT0_INTR_MAP_W { PRO_I2C_EXT0_INTR_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_i2c_ext1_intr_map.rs b/esp32s2/src/interrupt_core0/pro_i2c_ext1_intr_map.rs index a8fd599a02..bbdaab6bc1 100644 --- a/esp32s2/src/interrupt_core0/pro_i2c_ext1_intr_map.rs +++ b/esp32s2/src/interrupt_core0/pro_i2c_ext1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map I2C_EXT1_INTR interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_i2c_ext1_intr_map(&mut self) -> PRO_I2C_EXT1_INTR_MAP_W { PRO_I2C_EXT1_INTR_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_i2s0_int_map.rs b/esp32s2/src/interrupt_core0/pro_i2s0_int_map.rs index df60455784..20c939fcd7 100644 --- a/esp32s2/src/interrupt_core0/pro_i2s0_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_i2s0_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map I2S0_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_i2s0_int_map(&mut self) -> PRO_I2S0_INT_MAP_W { PRO_I2S0_INT_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_i2s1_int_map.rs b/esp32s2/src/interrupt_core0/pro_i2s1_int_map.rs index 2fbb4701d6..709d380e2d 100644 --- a/esp32s2/src/interrupt_core0/pro_i2s1_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_i2s1_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map I2S1_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_i2s1_int_map(&mut self) -> PRO_I2S1_INT_MAP_W { PRO_I2S1_INT_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_icache_preload_int_map.rs b/esp32s2/src/interrupt_core0/pro_icache_preload_int_map.rs index 32cd2137e8..aee561492c 100644 --- a/esp32s2/src/interrupt_core0/pro_icache_preload_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_icache_preload_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map ICACHE_PRELOAD_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_icache_preload_int_map( &mut self, ) -> PRO_ICACHE_PRELOAD_INT_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_icache_sync_int_map.rs b/esp32s2/src/interrupt_core0/pro_icache_sync_int_map.rs index 2c125f9c30..432937b5a9 100644 --- a/esp32s2/src/interrupt_core0/pro_icache_sync_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_icache_sync_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map ICACHE_SYNC_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_icache_sync_int_map( &mut self, ) -> PRO_ICACHE_SYNC_INT_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_ledc_int_map.rs b/esp32s2/src/interrupt_core0/pro_ledc_int_map.rs index c3bea5a0f5..5a3507a809 100644 --- a/esp32s2/src/interrupt_core0/pro_ledc_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_ledc_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map LEDC_INTR interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_ledc_int_map(&mut self) -> PRO_LEDC_INT_MAP_W { PRO_LEDC_INT_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_mac_intr_map.rs b/esp32s2/src/interrupt_core0/pro_mac_intr_map.rs index 416321110a..559c6903b0 100644 --- a/esp32s2/src/interrupt_core0/pro_mac_intr_map.rs +++ b/esp32s2/src/interrupt_core0/pro_mac_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map MAC_INTR interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_mac_intr_map(&mut self) -> PRO_MAC_INTR_MAP_W { PRO_MAC_INTR_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_mac_nmi_map.rs b/esp32s2/src/interrupt_core0/pro_mac_nmi_map.rs index f8a5884c1a..8302d280a8 100644 --- a/esp32s2/src/interrupt_core0/pro_mac_nmi_map.rs +++ b/esp32s2/src/interrupt_core0/pro_mac_nmi_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map MAC_NMI interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_mac_nmi_map(&mut self) -> PRO_MAC_NMI_MAP_W { PRO_MAC_NMI_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_pcnt_intr_map.rs b/esp32s2/src/interrupt_core0/pro_pcnt_intr_map.rs index 2dbce41ed8..9ba590b9d2 100644 --- a/esp32s2/src/interrupt_core0/pro_pcnt_intr_map.rs +++ b/esp32s2/src/interrupt_core0/pro_pcnt_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map PCNT_INTR interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_pcnt_intr_map(&mut self) -> PRO_PCNT_INTR_MAP_W { PRO_PCNT_INTR_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_pms_dma_apb_i_ilg_intr_map.rs b/esp32s2/src/interrupt_core0/pro_pms_dma_apb_i_ilg_intr_map.rs index 30aaf240a5..278dad2605 100644 --- a/esp32s2/src/interrupt_core0/pro_pms_dma_apb_i_ilg_intr_map.rs +++ b/esp32s2/src/interrupt_core0/pro_pms_dma_apb_i_ilg_intr_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map PMS_DMA_APB_I_ILG interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_pms_dma_apb_i_ilg_intr_map( &mut self, ) -> PRO_PMS_DMA_APB_I_ILG_INTR_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_pms_dma_rx_i_ilg_intr_map.rs b/esp32s2/src/interrupt_core0/pro_pms_dma_rx_i_ilg_intr_map.rs index 4bab71437c..308fb25b66 100644 --- a/esp32s2/src/interrupt_core0/pro_pms_dma_rx_i_ilg_intr_map.rs +++ b/esp32s2/src/interrupt_core0/pro_pms_dma_rx_i_ilg_intr_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map PMS_DMA_RX_I_ILG interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_pms_dma_rx_i_ilg_intr_map( &mut self, ) -> PRO_PMS_DMA_RX_I_ILG_INTR_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_pms_dma_tx_i_ilg_intr_map.rs b/esp32s2/src/interrupt_core0/pro_pms_dma_tx_i_ilg_intr_map.rs index f0c5bf5269..55d2f3b6a4 100644 --- a/esp32s2/src/interrupt_core0/pro_pms_dma_tx_i_ilg_intr_map.rs +++ b/esp32s2/src/interrupt_core0/pro_pms_dma_tx_i_ilg_intr_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map PMS_DMA_TX_I_ILG interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_pms_dma_tx_i_ilg_intr_map( &mut self, ) -> PRO_PMS_DMA_TX_I_ILG_INTR_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_pms_pro_ahb_ilg_intr_map.rs b/esp32s2/src/interrupt_core0/pro_pms_pro_ahb_ilg_intr_map.rs index 95f896f5d5..9b5943bd55 100644 --- a/esp32s2/src/interrupt_core0/pro_pms_pro_ahb_ilg_intr_map.rs +++ b/esp32s2/src/interrupt_core0/pro_pms_pro_ahb_ilg_intr_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map PMS_PRO_AHB_ILG interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_pms_pro_ahb_ilg_intr_map( &mut self, ) -> PRO_PMS_PRO_AHB_ILG_INTR_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_pms_pro_cache_ilg_intr_map.rs b/esp32s2/src/interrupt_core0/pro_pms_pro_cache_ilg_intr_map.rs index eba2ca500c..df22e6242a 100644 --- a/esp32s2/src/interrupt_core0/pro_pms_pro_cache_ilg_intr_map.rs +++ b/esp32s2/src/interrupt_core0/pro_pms_pro_cache_ilg_intr_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map PMS_PRO_CACHE_ILG interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_pms_pro_cache_ilg_intr_map( &mut self, ) -> PRO_PMS_PRO_CACHE_ILG_INTR_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_pms_pro_dport_ilg_intr_map.rs b/esp32s2/src/interrupt_core0/pro_pms_pro_dport_ilg_intr_map.rs index 8b841bfe11..86f45395d3 100644 --- a/esp32s2/src/interrupt_core0/pro_pms_pro_dport_ilg_intr_map.rs +++ b/esp32s2/src/interrupt_core0/pro_pms_pro_dport_ilg_intr_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map PMS_PRO_DPORT_ILG interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_pms_pro_dport_ilg_intr_map( &mut self, ) -> PRO_PMS_PRO_DPORT_ILG_INTR_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_pms_pro_dram0_ilg_intr_map.rs b/esp32s2/src/interrupt_core0/pro_pms_pro_dram0_ilg_intr_map.rs index 6d21c2dd59..a79a34a8e3 100644 --- a/esp32s2/src/interrupt_core0/pro_pms_pro_dram0_ilg_intr_map.rs +++ b/esp32s2/src/interrupt_core0/pro_pms_pro_dram0_ilg_intr_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map PMS_PRO_DRAM0_ILG interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_pms_pro_dram0_ilg_intr_map( &mut self, ) -> PRO_PMS_PRO_DRAM0_ILG_INTR_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_pms_pro_iram0_ilg_intr_map.rs b/esp32s2/src/interrupt_core0/pro_pms_pro_iram0_ilg_intr_map.rs index 3c96165bcb..ce6b439797 100644 --- a/esp32s2/src/interrupt_core0/pro_pms_pro_iram0_ilg_intr_map.rs +++ b/esp32s2/src/interrupt_core0/pro_pms_pro_iram0_ilg_intr_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map PMS_PRO_IRAM0_ILG interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_pms_pro_iram0_ilg_intr_map( &mut self, ) -> PRO_PMS_PRO_IRAM0_ILG_INTR_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_pwm0_intr_map.rs b/esp32s2/src/interrupt_core0/pro_pwm0_intr_map.rs index 6ff06d0618..18fcb2e82e 100644 --- a/esp32s2/src/interrupt_core0/pro_pwm0_intr_map.rs +++ b/esp32s2/src/interrupt_core0/pro_pwm0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map PWM0_INTR interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_pwm0_intr_map(&mut self) -> PRO_PWM0_INTR_MAP_W { PRO_PWM0_INTR_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_pwm1_intr_map.rs b/esp32s2/src/interrupt_core0/pro_pwm1_intr_map.rs index 649f976d78..6c606519da 100644 --- a/esp32s2/src/interrupt_core0/pro_pwm1_intr_map.rs +++ b/esp32s2/src/interrupt_core0/pro_pwm1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map PWM1_INTR interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_pwm1_intr_map(&mut self) -> PRO_PWM1_INTR_MAP_W { PRO_PWM1_INTR_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_pwm2_intr_map.rs b/esp32s2/src/interrupt_core0/pro_pwm2_intr_map.rs index 20da441cf0..2f0fe317a5 100644 --- a/esp32s2/src/interrupt_core0/pro_pwm2_intr_map.rs +++ b/esp32s2/src/interrupt_core0/pro_pwm2_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map PWM2_INTR interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_pwm2_intr_map(&mut self) -> PRO_PWM2_INTR_MAP_W { PRO_PWM2_INTR_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_pwm3_intr_map.rs b/esp32s2/src/interrupt_core0/pro_pwm3_intr_map.rs index 6ea0a215d6..9ca2bb139f 100644 --- a/esp32s2/src/interrupt_core0/pro_pwm3_intr_map.rs +++ b/esp32s2/src/interrupt_core0/pro_pwm3_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map PWM3_INTR interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_pwm3_intr_map(&mut self) -> PRO_PWM3_INTR_MAP_W { PRO_PWM3_INTR_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_pwr_intr_map.rs b/esp32s2/src/interrupt_core0/pro_pwr_intr_map.rs index a5843b3ff2..0f478bbdbe 100644 --- a/esp32s2/src/interrupt_core0/pro_pwr_intr_map.rs +++ b/esp32s2/src/interrupt_core0/pro_pwr_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map PWR_INTR interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_pwr_intr_map(&mut self) -> PRO_PWR_INTR_MAP_W { PRO_PWR_INTR_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_rmt_intr_map.rs b/esp32s2/src/interrupt_core0/pro_rmt_intr_map.rs index bf50de6a62..feaaffe86e 100644 --- a/esp32s2/src/interrupt_core0/pro_rmt_intr_map.rs +++ b/esp32s2/src/interrupt_core0/pro_rmt_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map RMT_INTR interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_rmt_intr_map(&mut self) -> PRO_RMT_INTR_MAP_W { PRO_RMT_INTR_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_rsa_intr_map.rs b/esp32s2/src/interrupt_core0/pro_rsa_intr_map.rs index 3fdb2d4304..c837a5a152 100644 --- a/esp32s2/src/interrupt_core0/pro_rsa_intr_map.rs +++ b/esp32s2/src/interrupt_core0/pro_rsa_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map RSA_INTR interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_rsa_intr_map(&mut self) -> PRO_RSA_INTR_MAP_W { PRO_RSA_INTR_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_rtc_core_intr_map.rs b/esp32s2/src/interrupt_core0/pro_rtc_core_intr_map.rs index 7069e5be4c..8207a68b46 100644 --- a/esp32s2/src/interrupt_core0/pro_rtc_core_intr_map.rs +++ b/esp32s2/src/interrupt_core0/pro_rtc_core_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map RTC_CORE_INTR interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_rtc_core_intr_map(&mut self) -> PRO_RTC_CORE_INTR_MAP_W { PRO_RTC_CORE_INTR_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_rwble_irq_map.rs b/esp32s2/src/interrupt_core0/pro_rwble_irq_map.rs index c8a6bca393..fdd3ff1759 100644 --- a/esp32s2/src/interrupt_core0/pro_rwble_irq_map.rs +++ b/esp32s2/src/interrupt_core0/pro_rwble_irq_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map RWBLE_IRQ interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_rwble_irq_map(&mut self) -> PRO_RWBLE_IRQ_MAP_W { PRO_RWBLE_IRQ_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_rwble_nmi_map.rs b/esp32s2/src/interrupt_core0/pro_rwble_nmi_map.rs index fc6f8b758f..e98ed38ebb 100644 --- a/esp32s2/src/interrupt_core0/pro_rwble_nmi_map.rs +++ b/esp32s2/src/interrupt_core0/pro_rwble_nmi_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map RWBLE_NMI interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_rwble_nmi_map(&mut self) -> PRO_RWBLE_NMI_MAP_W { PRO_RWBLE_NMI_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_rwbt_irq_map.rs b/esp32s2/src/interrupt_core0/pro_rwbt_irq_map.rs index cced69d8cf..322d8eb349 100644 --- a/esp32s2/src/interrupt_core0/pro_rwbt_irq_map.rs +++ b/esp32s2/src/interrupt_core0/pro_rwbt_irq_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map RWBT_IRQ interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_rwbt_irq_map(&mut self) -> PRO_RWBT_IRQ_MAP_W { PRO_RWBT_IRQ_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_rwbt_nmi_map.rs b/esp32s2/src/interrupt_core0/pro_rwbt_nmi_map.rs index b2a30a7c35..9512ed82cf 100644 --- a/esp32s2/src/interrupt_core0/pro_rwbt_nmi_map.rs +++ b/esp32s2/src/interrupt_core0/pro_rwbt_nmi_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map RWBT_NMI interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_rwbt_nmi_map(&mut self) -> PRO_RWBT_NMI_MAP_W { PRO_RWBT_NMI_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_sdio_host_interrupt_map.rs b/esp32s2/src/interrupt_core0/pro_sdio_host_interrupt_map.rs index 3a670a05d3..106caddaad 100644 --- a/esp32s2/src/interrupt_core0/pro_sdio_host_interrupt_map.rs +++ b/esp32s2/src/interrupt_core0/pro_sdio_host_interrupt_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map SDIO_HOST_INTERRUPT signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_sdio_host_interrupt_map( &mut self, ) -> PRO_SDIO_HOST_INTERRUPT_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_sha_intr_map.rs b/esp32s2/src/interrupt_core0/pro_sha_intr_map.rs index d40c4219a2..f484fcb497 100644 --- a/esp32s2/src/interrupt_core0/pro_sha_intr_map.rs +++ b/esp32s2/src/interrupt_core0/pro_sha_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map SHA_INTR interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_sha_intr_map(&mut self) -> PRO_SHA_INTR_MAP_W { PRO_SHA_INTR_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_slc0_intr_map.rs b/esp32s2/src/interrupt_core0/pro_slc0_intr_map.rs index 7946822304..41e4242982 100644 --- a/esp32s2/src/interrupt_core0/pro_slc0_intr_map.rs +++ b/esp32s2/src/interrupt_core0/pro_slc0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map SLC0_INTR interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_slc0_intr_map(&mut self) -> PRO_SLC0_INTR_MAP_W { PRO_SLC0_INTR_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_slc1_intr_map.rs b/esp32s2/src/interrupt_core0/pro_slc1_intr_map.rs index 4acb096dcd..76d9c3763e 100644 --- a/esp32s2/src/interrupt_core0/pro_slc1_intr_map.rs +++ b/esp32s2/src/interrupt_core0/pro_slc1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map SLC1_INTR interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_slc1_intr_map(&mut self) -> PRO_SLC1_INTR_MAP_W { PRO_SLC1_INTR_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_spi2_dma_int_map.rs b/esp32s2/src/interrupt_core0/pro_spi2_dma_int_map.rs index ce85b44800..1aed589b7e 100644 --- a/esp32s2/src/interrupt_core0/pro_spi2_dma_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_spi2_dma_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map AES_INTR interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_spi2_dma_int_map(&mut self) -> PRO_SPI2_DMA_INT_MAP_W { PRO_SPI2_DMA_INT_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_spi3_dma_int_map.rs b/esp32s2/src/interrupt_core0/pro_spi3_dma_int_map.rs index aec1fb9fcb..bd501a5cab 100644 --- a/esp32s2/src/interrupt_core0/pro_spi3_dma_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_spi3_dma_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map SPI3_DMA_INT dma interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_spi3_dma_int_map(&mut self) -> PRO_SPI3_DMA_INT_MAP_W { PRO_SPI3_DMA_INT_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_spi4_dma_int_map.rs b/esp32s2/src/interrupt_core0/pro_spi4_dma_int_map.rs index 2045fbce5f..924c3b4c6e 100644 --- a/esp32s2/src/interrupt_core0/pro_spi4_dma_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_spi4_dma_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map SPI4_DMA_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_spi4_dma_int_map(&mut self) -> PRO_SPI4_DMA_INT_MAP_W { PRO_SPI4_DMA_INT_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_spi_intr_1_map.rs b/esp32s2/src/interrupt_core0/pro_spi_intr_1_map.rs index e51f8ac457..7e3776ef52 100644 --- a/esp32s2/src/interrupt_core0/pro_spi_intr_1_map.rs +++ b/esp32s2/src/interrupt_core0/pro_spi_intr_1_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map SPI_INTR_1 interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_spi_intr_1_map(&mut self) -> PRO_SPI_INTR_1_MAP_W { PRO_SPI_INTR_1_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_spi_intr_2_map.rs b/esp32s2/src/interrupt_core0/pro_spi_intr_2_map.rs index c48dadb696..de7fab7e8c 100644 --- a/esp32s2/src/interrupt_core0/pro_spi_intr_2_map.rs +++ b/esp32s2/src/interrupt_core0/pro_spi_intr_2_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map SPI_INTR_2 interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_spi_intr_2_map(&mut self) -> PRO_SPI_INTR_2_MAP_W { PRO_SPI_INTR_2_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_spi_intr_3_map.rs b/esp32s2/src/interrupt_core0/pro_spi_intr_3_map.rs index 4ac4248875..bce367c460 100644 --- a/esp32s2/src/interrupt_core0/pro_spi_intr_3_map.rs +++ b/esp32s2/src/interrupt_core0/pro_spi_intr_3_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map SPI_INTR_3 interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_spi_intr_3_map(&mut self) -> PRO_SPI_INTR_3_MAP_W { PRO_SPI_INTR_3_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_spi_intr_4_map.rs b/esp32s2/src/interrupt_core0/pro_spi_intr_4_map.rs index 488dee3041..83c637e753 100644 --- a/esp32s2/src/interrupt_core0/pro_spi_intr_4_map.rs +++ b/esp32s2/src/interrupt_core0/pro_spi_intr_4_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map SPI_INTR_4 interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_spi_intr_4_map(&mut self) -> PRO_SPI_INTR_4_MAP_W { PRO_SPI_INTR_4_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_spi_mem_reject_intr_map.rs b/esp32s2/src/interrupt_core0/pro_spi_mem_reject_intr_map.rs index 725d23426f..0694572e47 100644 --- a/esp32s2/src/interrupt_core0/pro_spi_mem_reject_intr_map.rs +++ b/esp32s2/src/interrupt_core0/pro_spi_mem_reject_intr_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map SPI_MEM_REJECT_INTR interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_spi_mem_reject_intr_map( &mut self, ) -> PRO_SPI_MEM_REJECT_INTR_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_systimer_target0_int_map.rs b/esp32s2/src/interrupt_core0/pro_systimer_target0_int_map.rs index 3fff98603d..b0479daa6a 100644 --- a/esp32s2/src/interrupt_core0/pro_systimer_target0_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_systimer_target0_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map SYSTIMER_TARGET0_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_systimer_target0_int_map( &mut self, ) -> PRO_SYSTIMER_TARGET0_INT_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_systimer_target1_int_map.rs b/esp32s2/src/interrupt_core0/pro_systimer_target1_int_map.rs index c0aa7f361a..c90d7f4f15 100644 --- a/esp32s2/src/interrupt_core0/pro_systimer_target1_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_systimer_target1_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map SYSTIMER_TARGET1_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_systimer_target1_int_map( &mut self, ) -> PRO_SYSTIMER_TARGET1_INT_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_systimer_target2_int_map.rs b/esp32s2/src/interrupt_core0/pro_systimer_target2_int_map.rs index 38408c1214..f281fb0ac5 100644 --- a/esp32s2/src/interrupt_core0/pro_systimer_target2_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_systimer_target2_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map SYSTIMER_TARGET2_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_systimer_target2_int_map( &mut self, ) -> PRO_SYSTIMER_TARGET2_INT_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_tg1_lact_edge_int_map.rs b/esp32s2/src/interrupt_core0/pro_tg1_lact_edge_int_map.rs index ba0061a440..3014bf447e 100644 --- a/esp32s2/src/interrupt_core0/pro_tg1_lact_edge_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_tg1_lact_edge_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map TG1_LACT_EDGE_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_tg1_lact_edge_int_map( &mut self, ) -> PRO_TG1_LACT_EDGE_INT_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_tg1_lact_level_int_map.rs b/esp32s2/src/interrupt_core0/pro_tg1_lact_level_int_map.rs index 1f5634283e..2c42bfe6d7 100644 --- a/esp32s2/src/interrupt_core0/pro_tg1_lact_level_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_tg1_lact_level_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map TG1_LACT_LEVEL_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_tg1_lact_level_int_map( &mut self, ) -> PRO_TG1_LACT_LEVEL_INT_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_tg1_t0_edge_int_map.rs b/esp32s2/src/interrupt_core0/pro_tg1_t0_edge_int_map.rs index a8e4e9cefc..da825ba7af 100644 --- a/esp32s2/src/interrupt_core0/pro_tg1_t0_edge_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_tg1_t0_edge_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map TG1_T0_EDGE_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_tg1_t0_edge_int_map( &mut self, ) -> PRO_TG1_T0_EDGE_INT_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_tg1_t0_level_int_map.rs b/esp32s2/src/interrupt_core0/pro_tg1_t0_level_int_map.rs index 73223d204b..aff8f3fa2a 100644 --- a/esp32s2/src/interrupt_core0/pro_tg1_t0_level_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_tg1_t0_level_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map TG1_T0_LEVEL_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_tg1_t0_level_int_map( &mut self, ) -> PRO_TG1_T0_LEVEL_INT_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_tg1_t1_edge_int_map.rs b/esp32s2/src/interrupt_core0/pro_tg1_t1_edge_int_map.rs index 1809ecca45..317e7e69a0 100644 --- a/esp32s2/src/interrupt_core0/pro_tg1_t1_edge_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_tg1_t1_edge_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map TG1_T1_EDGE_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_tg1_t1_edge_int_map( &mut self, ) -> PRO_TG1_T1_EDGE_INT_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_tg1_t1_level_int_map.rs b/esp32s2/src/interrupt_core0/pro_tg1_t1_level_int_map.rs index 68d56e28f4..28a11cfdb4 100644 --- a/esp32s2/src/interrupt_core0/pro_tg1_t1_level_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_tg1_t1_level_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map TG1_T1_LEVEL_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_tg1_t1_level_int_map( &mut self, ) -> PRO_TG1_T1_LEVEL_INT_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_tg1_wdt_edge_int_map.rs b/esp32s2/src/interrupt_core0/pro_tg1_wdt_edge_int_map.rs index bcd40d063c..2b326dedd6 100644 --- a/esp32s2/src/interrupt_core0/pro_tg1_wdt_edge_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_tg1_wdt_edge_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map TG1_WDT_EDGE_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_tg1_wdt_edge_int_map( &mut self, ) -> PRO_TG1_WDT_EDGE_INT_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_tg1_wdt_level_int_map.rs b/esp32s2/src/interrupt_core0/pro_tg1_wdt_level_int_map.rs index 9a6ae28722..46c6822205 100644 --- a/esp32s2/src/interrupt_core0/pro_tg1_wdt_level_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_tg1_wdt_level_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map TG1_WDT_LEVEL_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_tg1_wdt_level_int_map( &mut self, ) -> PRO_TG1_WDT_LEVEL_INT_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_tg_lact_edge_int_map.rs b/esp32s2/src/interrupt_core0/pro_tg_lact_edge_int_map.rs index d02fbd0610..c8e671b4d7 100644 --- a/esp32s2/src/interrupt_core0/pro_tg_lact_edge_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_tg_lact_edge_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map TG_LACT_EDGE_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_tg_lact_edge_int_map( &mut self, ) -> PRO_TG_LACT_EDGE_INT_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_tg_lact_level_int_map.rs b/esp32s2/src/interrupt_core0/pro_tg_lact_level_int_map.rs index d4d8204687..6ab18ebb07 100644 --- a/esp32s2/src/interrupt_core0/pro_tg_lact_level_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_tg_lact_level_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map TG_LACT_LEVEL_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_tg_lact_level_int_map( &mut self, ) -> PRO_TG_LACT_LEVEL_INT_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_tg_t0_edge_int_map.rs b/esp32s2/src/interrupt_core0/pro_tg_t0_edge_int_map.rs index 93cc660b88..732e25f8a0 100644 --- a/esp32s2/src/interrupt_core0/pro_tg_t0_edge_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_tg_t0_edge_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map TG_T0_EDGE_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_tg_t0_edge_int_map( &mut self, ) -> PRO_TG_T0_EDGE_INT_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_tg_t0_level_int_map.rs b/esp32s2/src/interrupt_core0/pro_tg_t0_level_int_map.rs index 7cb162891f..b83b16b1cf 100644 --- a/esp32s2/src/interrupt_core0/pro_tg_t0_level_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_tg_t0_level_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map TG_T0_LEVEL_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_tg_t0_level_int_map( &mut self, ) -> PRO_TG_T0_LEVEL_INT_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_tg_t1_edge_int_map.rs b/esp32s2/src/interrupt_core0/pro_tg_t1_edge_int_map.rs index 389c4dba94..c09e33f547 100644 --- a/esp32s2/src/interrupt_core0/pro_tg_t1_edge_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_tg_t1_edge_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map TG_T1_EDGE_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_tg_t1_edge_int_map( &mut self, ) -> PRO_TG_T1_EDGE_INT_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_tg_t1_level_int_map.rs b/esp32s2/src/interrupt_core0/pro_tg_t1_level_int_map.rs index 646fdf3ee1..cc454efad1 100644 --- a/esp32s2/src/interrupt_core0/pro_tg_t1_level_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_tg_t1_level_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map TG_T1_LEVEL_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_tg_t1_level_int_map( &mut self, ) -> PRO_TG_T1_LEVEL_INT_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_tg_wdt_edge_int_map.rs b/esp32s2/src/interrupt_core0/pro_tg_wdt_edge_int_map.rs index 6048e374b8..c1251017da 100644 --- a/esp32s2/src/interrupt_core0/pro_tg_wdt_edge_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_tg_wdt_edge_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map TG_WDT_EDGE_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_tg_wdt_edge_int_map( &mut self, ) -> PRO_TG_WDT_EDGE_INT_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_tg_wdt_level_int_map.rs b/esp32s2/src/interrupt_core0/pro_tg_wdt_level_int_map.rs index 4c3e1bd47a..b97c47d865 100644 --- a/esp32s2/src/interrupt_core0/pro_tg_wdt_level_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_tg_wdt_level_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map TG_WDT_LEVEL_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_tg_wdt_level_int_map( &mut self, ) -> PRO_TG_WDT_LEVEL_INT_MAP_W { diff --git a/esp32s2/src/interrupt_core0/pro_timer_int1_map.rs b/esp32s2/src/interrupt_core0/pro_timer_int1_map.rs index 02d7082512..76dc76fec0 100644 --- a/esp32s2/src/interrupt_core0/pro_timer_int1_map.rs +++ b/esp32s2/src/interrupt_core0/pro_timer_int1_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map TIMER_INT1 interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_timer_int1_map(&mut self) -> PRO_TIMER_INT1_MAP_W { PRO_TIMER_INT1_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_timer_int2_map.rs b/esp32s2/src/interrupt_core0/pro_timer_int2_map.rs index 157a6f8734..125a2e44c6 100644 --- a/esp32s2/src/interrupt_core0/pro_timer_int2_map.rs +++ b/esp32s2/src/interrupt_core0/pro_timer_int2_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map TIMER_INT2 interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_timer_int2_map(&mut self) -> PRO_TIMER_INT2_MAP_W { PRO_TIMER_INT2_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_uart1_intr_map.rs b/esp32s2/src/interrupt_core0/pro_uart1_intr_map.rs index 56ee6f8a9b..197f34e50a 100644 --- a/esp32s2/src/interrupt_core0/pro_uart1_intr_map.rs +++ b/esp32s2/src/interrupt_core0/pro_uart1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map UART1_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_uart1_intr_map(&mut self) -> PRO_UART1_INTR_MAP_W { PRO_UART1_INTR_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_uart2_intr_map.rs b/esp32s2/src/interrupt_core0/pro_uart2_intr_map.rs index d75686b874..caa07b1c42 100644 --- a/esp32s2/src/interrupt_core0/pro_uart2_intr_map.rs +++ b/esp32s2/src/interrupt_core0/pro_uart2_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map UART2_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_uart2_intr_map(&mut self) -> PRO_UART2_INTR_MAP_W { PRO_UART2_INTR_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_uart_intr_map.rs b/esp32s2/src/interrupt_core0/pro_uart_intr_map.rs index a6ec9a9095..a240669dd3 100644 --- a/esp32s2/src/interrupt_core0/pro_uart_intr_map.rs +++ b/esp32s2/src/interrupt_core0/pro_uart_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map UART_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_uart_intr_map(&mut self) -> PRO_UART_INTR_MAP_W { PRO_UART_INTR_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_uhci0_intr_map.rs b/esp32s2/src/interrupt_core0/pro_uhci0_intr_map.rs index 874f20920d..7a6fb0dd9e 100644 --- a/esp32s2/src/interrupt_core0/pro_uhci0_intr_map.rs +++ b/esp32s2/src/interrupt_core0/pro_uhci0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map UHCI0_INTR interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_uhci0_intr_map(&mut self) -> PRO_UHCI0_INTR_MAP_W { PRO_UHCI0_INTR_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_uhci1_intr_map.rs b/esp32s2/src/interrupt_core0/pro_uhci1_intr_map.rs index 975d85b64b..652251caaf 100644 --- a/esp32s2/src/interrupt_core0/pro_uhci1_intr_map.rs +++ b/esp32s2/src/interrupt_core0/pro_uhci1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map UHCI1_INTR interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_uhci1_intr_map(&mut self) -> PRO_UHCI1_INTR_MAP_W { PRO_UHCI1_INTR_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_usb_intr_map.rs b/esp32s2/src/interrupt_core0/pro_usb_intr_map.rs index f22dfe4ca5..319f75968f 100644 --- a/esp32s2/src/interrupt_core0/pro_usb_intr_map.rs +++ b/esp32s2/src/interrupt_core0/pro_usb_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map USB_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_usb_intr_map(&mut self) -> PRO_USB_INTR_MAP_W { PRO_USB_INTR_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/pro_wdg_int_map.rs b/esp32s2/src/interrupt_core0/pro_wdg_int_map.rs index bf8d02db91..5f20940a28 100644 --- a/esp32s2/src/interrupt_core0/pro_wdg_int_map.rs +++ b/esp32s2/src/interrupt_core0/pro_wdg_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to map WDG_INT interrupt signal to one of the CPU interrupts."] #[inline(always)] - #[must_use] pub fn pro_wdg_int_map(&mut self) -> PRO_WDG_INT_MAP_W { PRO_WDG_INT_MAP_W::new(self, 0) } diff --git a/esp32s2/src/interrupt_core0/reg_date.rs b/esp32s2/src/interrupt_core0/reg_date.rs index 829e2ecfeb..366046bb46 100644 --- a/esp32s2/src/interrupt_core0/reg_date.rs +++ b/esp32s2/src/interrupt_core0/reg_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - This is the version register."] #[inline(always)] - #[must_use] pub fn interrupt_reg_date(&mut self) -> INTERRUPT_REG_DATE_W { INTERRUPT_REG_DATE_W::new(self, 0) } diff --git a/esp32s2/src/io_mux/date.rs b/esp32s2/src/io_mux/date.rs index dcec28d94c..4525d40a9f 100644 --- a/esp32s2/src/io_mux/date.rs +++ b/esp32s2/src/io_mux/date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Version control register"] #[inline(always)] - #[must_use] pub fn version(&mut self) -> VERSION_W { VERSION_W::new(self, 0) } diff --git a/esp32s2/src/io_mux/gpio0.rs b/esp32s2/src/io_mux/gpio0.rs index 3d336d4083..c8281e3bd8 100644 --- a/esp32s2/src/io_mux/gpio0.rs +++ b/esp32s2/src/io_mux/gpio0.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio1.rs b/esp32s2/src/io_mux/gpio1.rs index 622fe5d172..ddb465b684 100644 --- a/esp32s2/src/io_mux/gpio1.rs +++ b/esp32s2/src/io_mux/gpio1.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio10.rs b/esp32s2/src/io_mux/gpio10.rs index 4cedd5a55e..d400be076f 100644 --- a/esp32s2/src/io_mux/gpio10.rs +++ b/esp32s2/src/io_mux/gpio10.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio11.rs b/esp32s2/src/io_mux/gpio11.rs index 9378365b5e..fad72f5934 100644 --- a/esp32s2/src/io_mux/gpio11.rs +++ b/esp32s2/src/io_mux/gpio11.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio12.rs b/esp32s2/src/io_mux/gpio12.rs index 68d2362299..c15eb1b142 100644 --- a/esp32s2/src/io_mux/gpio12.rs +++ b/esp32s2/src/io_mux/gpio12.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio13.rs b/esp32s2/src/io_mux/gpio13.rs index 3d5c19d32e..0f36ce79c0 100644 --- a/esp32s2/src/io_mux/gpio13.rs +++ b/esp32s2/src/io_mux/gpio13.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio14.rs b/esp32s2/src/io_mux/gpio14.rs index 26be89d24d..9ab1f6b2ea 100644 --- a/esp32s2/src/io_mux/gpio14.rs +++ b/esp32s2/src/io_mux/gpio14.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio15.rs b/esp32s2/src/io_mux/gpio15.rs index f03086aed1..b8cd99954b 100644 --- a/esp32s2/src/io_mux/gpio15.rs +++ b/esp32s2/src/io_mux/gpio15.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio16.rs b/esp32s2/src/io_mux/gpio16.rs index 4b55bdee65..16ce56b5f1 100644 --- a/esp32s2/src/io_mux/gpio16.rs +++ b/esp32s2/src/io_mux/gpio16.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio17.rs b/esp32s2/src/io_mux/gpio17.rs index dbc434775b..e860eecbae 100644 --- a/esp32s2/src/io_mux/gpio17.rs +++ b/esp32s2/src/io_mux/gpio17.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio18.rs b/esp32s2/src/io_mux/gpio18.rs index b84c055883..296f6a77c2 100644 --- a/esp32s2/src/io_mux/gpio18.rs +++ b/esp32s2/src/io_mux/gpio18.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio19.rs b/esp32s2/src/io_mux/gpio19.rs index 7ea292fa5b..526f9484a4 100644 --- a/esp32s2/src/io_mux/gpio19.rs +++ b/esp32s2/src/io_mux/gpio19.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio2.rs b/esp32s2/src/io_mux/gpio2.rs index fb5e4904ca..4634abc160 100644 --- a/esp32s2/src/io_mux/gpio2.rs +++ b/esp32s2/src/io_mux/gpio2.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio20.rs b/esp32s2/src/io_mux/gpio20.rs index 8c87ae5fc3..0e24d7e29d 100644 --- a/esp32s2/src/io_mux/gpio20.rs +++ b/esp32s2/src/io_mux/gpio20.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio21.rs b/esp32s2/src/io_mux/gpio21.rs index 7a8ad67303..de3c2dee30 100644 --- a/esp32s2/src/io_mux/gpio21.rs +++ b/esp32s2/src/io_mux/gpio21.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio26.rs b/esp32s2/src/io_mux/gpio26.rs index 236b56f95b..d3e5a1afaf 100644 --- a/esp32s2/src/io_mux/gpio26.rs +++ b/esp32s2/src/io_mux/gpio26.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio27.rs b/esp32s2/src/io_mux/gpio27.rs index 4cebc36cbf..3dce19433a 100644 --- a/esp32s2/src/io_mux/gpio27.rs +++ b/esp32s2/src/io_mux/gpio27.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio28.rs b/esp32s2/src/io_mux/gpio28.rs index 1769a999e6..f5af3479e8 100644 --- a/esp32s2/src/io_mux/gpio28.rs +++ b/esp32s2/src/io_mux/gpio28.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio29.rs b/esp32s2/src/io_mux/gpio29.rs index 77469cebfe..d8a6a215a4 100644 --- a/esp32s2/src/io_mux/gpio29.rs +++ b/esp32s2/src/io_mux/gpio29.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio3.rs b/esp32s2/src/io_mux/gpio3.rs index 1547a48617..6c19e29a24 100644 --- a/esp32s2/src/io_mux/gpio3.rs +++ b/esp32s2/src/io_mux/gpio3.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio30.rs b/esp32s2/src/io_mux/gpio30.rs index bab19b0e2a..8bd1fd50fb 100644 --- a/esp32s2/src/io_mux/gpio30.rs +++ b/esp32s2/src/io_mux/gpio30.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio31.rs b/esp32s2/src/io_mux/gpio31.rs index 4067dfe244..c97416f189 100644 --- a/esp32s2/src/io_mux/gpio31.rs +++ b/esp32s2/src/io_mux/gpio31.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio32.rs b/esp32s2/src/io_mux/gpio32.rs index fd24f78067..8d9970ec37 100644 --- a/esp32s2/src/io_mux/gpio32.rs +++ b/esp32s2/src/io_mux/gpio32.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio33.rs b/esp32s2/src/io_mux/gpio33.rs index 6a49956b1a..b88d71ba13 100644 --- a/esp32s2/src/io_mux/gpio33.rs +++ b/esp32s2/src/io_mux/gpio33.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio34.rs b/esp32s2/src/io_mux/gpio34.rs index 29174b37f9..df8977b2e5 100644 --- a/esp32s2/src/io_mux/gpio34.rs +++ b/esp32s2/src/io_mux/gpio34.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio35.rs b/esp32s2/src/io_mux/gpio35.rs index ca22ead649..8c01210f02 100644 --- a/esp32s2/src/io_mux/gpio35.rs +++ b/esp32s2/src/io_mux/gpio35.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio36.rs b/esp32s2/src/io_mux/gpio36.rs index c29ef0ebc4..cd7aac0ce0 100644 --- a/esp32s2/src/io_mux/gpio36.rs +++ b/esp32s2/src/io_mux/gpio36.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio37.rs b/esp32s2/src/io_mux/gpio37.rs index aa681997fa..7b3a365c2a 100644 --- a/esp32s2/src/io_mux/gpio37.rs +++ b/esp32s2/src/io_mux/gpio37.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio38.rs b/esp32s2/src/io_mux/gpio38.rs index 20a027b78e..0f65cfe349 100644 --- a/esp32s2/src/io_mux/gpio38.rs +++ b/esp32s2/src/io_mux/gpio38.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio39.rs b/esp32s2/src/io_mux/gpio39.rs index cf67d18da5..7629813784 100644 --- a/esp32s2/src/io_mux/gpio39.rs +++ b/esp32s2/src/io_mux/gpio39.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio4.rs b/esp32s2/src/io_mux/gpio4.rs index 532b176384..55c4f5c32c 100644 --- a/esp32s2/src/io_mux/gpio4.rs +++ b/esp32s2/src/io_mux/gpio4.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio40.rs b/esp32s2/src/io_mux/gpio40.rs index 2603535f2b..1430c6cf4b 100644 --- a/esp32s2/src/io_mux/gpio40.rs +++ b/esp32s2/src/io_mux/gpio40.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio41.rs b/esp32s2/src/io_mux/gpio41.rs index d3a37acfb4..850897a592 100644 --- a/esp32s2/src/io_mux/gpio41.rs +++ b/esp32s2/src/io_mux/gpio41.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio42.rs b/esp32s2/src/io_mux/gpio42.rs index cf68713c87..920434652d 100644 --- a/esp32s2/src/io_mux/gpio42.rs +++ b/esp32s2/src/io_mux/gpio42.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio43.rs b/esp32s2/src/io_mux/gpio43.rs index a81c402efe..7711872540 100644 --- a/esp32s2/src/io_mux/gpio43.rs +++ b/esp32s2/src/io_mux/gpio43.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio44.rs b/esp32s2/src/io_mux/gpio44.rs index ae957b3a1d..5be17a3238 100644 --- a/esp32s2/src/io_mux/gpio44.rs +++ b/esp32s2/src/io_mux/gpio44.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio45.rs b/esp32s2/src/io_mux/gpio45.rs index 29ae3443c4..4567b7e213 100644 --- a/esp32s2/src/io_mux/gpio45.rs +++ b/esp32s2/src/io_mux/gpio45.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio46.rs b/esp32s2/src/io_mux/gpio46.rs index 1f0ab8f2d5..1bc2da804f 100644 --- a/esp32s2/src/io_mux/gpio46.rs +++ b/esp32s2/src/io_mux/gpio46.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio5.rs b/esp32s2/src/io_mux/gpio5.rs index d07ede1008..a228404f84 100644 --- a/esp32s2/src/io_mux/gpio5.rs +++ b/esp32s2/src/io_mux/gpio5.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio6.rs b/esp32s2/src/io_mux/gpio6.rs index 3e6d4d922b..aeed2af792 100644 --- a/esp32s2/src/io_mux/gpio6.rs +++ b/esp32s2/src/io_mux/gpio6.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio7.rs b/esp32s2/src/io_mux/gpio7.rs index 159bee4d28..5999e6fb2d 100644 --- a/esp32s2/src/io_mux/gpio7.rs +++ b/esp32s2/src/io_mux/gpio7.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio8.rs b/esp32s2/src/io_mux/gpio8.rs index efe54abb9d..0b0a367429 100644 --- a/esp32s2/src/io_mux/gpio8.rs +++ b/esp32s2/src/io_mux/gpio8.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/gpio9.rs b/esp32s2/src/io_mux/gpio9.rs index 55c73fe77d..4835249591 100644 --- a/esp32s2/src/io_mux/gpio9.rs +++ b/esp32s2/src/io_mux/gpio9.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pin in sleep mode. 1: Output enabled. 0: Output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pin. Set to 1 to put the pin in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pin during sleep mode. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pin during sleep mode. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pin during sleep mode. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pin. 1: Internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pin. 1: Internal pull-up enabled. 0: Internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pin. 1: Input enabled. 0: Input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pin. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1. 1: Select Function 2, etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled. 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s2/src/io_mux/pin_ctrl.rs b/esp32s2/src/io_mux/pin_ctrl.rs index f5bf2ee1ce..b22d3ddea0 100644 --- a/esp32s2/src/io_mux/pin_ctrl.rs +++ b/esp32s2/src/io_mux/pin_ctrl.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Configure I2S0 clock output. 0: output I2S0 clock to CLK_OUT1. 15: disabled."] #[inline(always)] - #[must_use] pub fn pin_clk_out1(&mut self) -> PIN_CLK_OUT1_W { PIN_CLK_OUT1_W::new(self, 0) } #[doc = "Bits 4:7 - Configure I2S0 clock output. 0: output I2S0 clock to CLK_OUT2. 15: disabled."] #[inline(always)] - #[must_use] pub fn pin_clk_out2(&mut self) -> PIN_CLK_OUT2_W { PIN_CLK_OUT2_W::new(self, 4) } #[doc = "Bits 8:11 - Configure I2S0 clock output. 0: output I2S0 clock to CLK_OUT3. 15: disabled."] #[inline(always)] - #[must_use] pub fn pin_clk_out3(&mut self) -> PIN_CLK_OUT3_W { PIN_CLK_OUT3_W::new(self, 8) } #[doc = "Bits 12:14 - IO pin power switch delay, delay unit is one APB clock."] #[inline(always)] - #[must_use] pub fn switch_prt_num(&mut self) -> SWITCH_PRT_NUM_W { SWITCH_PRT_NUM_W::new(self, 12) } #[doc = "Bit 15 - Select power voltage for GPIO33 ~ GPIO37. 1: select VDD_SPI 1.8 V. 0: select VDD3P3_CPU 3.3 V."] #[inline(always)] - #[must_use] pub fn pad_power_ctrl(&mut self) -> PAD_POWER_CTRL_W { PAD_POWER_CTRL_W::new(self, 15) } diff --git a/esp32s2/src/ledc/ch/conf0.rs b/esp32s2/src/ledc/ch/conf0.rs index 36bb913649..0453d622e4 100644 --- a/esp32s2/src/ledc/ch/conf0.rs +++ b/esp32s2/src/ledc/ch/conf0.rs @@ -76,43 +76,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - This field is used to select one of timers for channel %s. 0: select timer 0. 1: select timer 1. 2: select timer 2. 3: select timer 3."] #[inline(always)] - #[must_use] pub fn timer_sel(&mut self) -> TIMER_SEL_W { TIMER_SEL_W::new(self, 0) } #[doc = "Bit 2 - Set this bit to enable signal output on channel %s."] #[inline(always)] - #[must_use] pub fn sig_out_en(&mut self) -> SIG_OUT_EN_W { SIG_OUT_EN_W::new(self, 2) } #[doc = "Bit 3 - This bit is used to control the output value when channel %s is inactive."] #[inline(always)] - #[must_use] pub fn idle_lv(&mut self) -> IDLE_LV_W { IDLE_LV_W::new(self, 3) } #[doc = "Bit 4 - This bit is used to update register LEDC_CH%s_HPOINT and LEDC_CH%s_DUTY for channel %s."] #[inline(always)] - #[must_use] pub fn para_up(&mut self) -> PARA_UP_W { PARA_UP_W::new(self, 4) } #[doc = "Bits 5:14 - This register is used to configure the maximum times of overflow minus 1. The LEDC_OVF_CNT_CH%s_INT interrupt will be triggered when channel %s overflows for (LEDC_OVF_NUM_CH%s + 1) times."] #[inline(always)] - #[must_use] pub fn ovf_num(&mut self) -> OVF_NUM_W { OVF_NUM_W::new(self, 5) } #[doc = "Bit 15 - This bit is used to enable the ovf_cnt of channel %s."] #[inline(always)] - #[must_use] pub fn ovf_cnt_en(&mut self) -> OVF_CNT_EN_W { OVF_CNT_EN_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to reset the ovf_cnt of channel %s."] #[inline(always)] - #[must_use] pub fn ovf_cnt_reset(&mut self) -> OVF_CNT_RESET_W { OVF_CNT_RESET_W::new(self, 16) } diff --git a/esp32s2/src/ledc/ch/conf1.rs b/esp32s2/src/ledc/ch/conf1.rs index 4701ebe554..3f41b7aef7 100644 --- a/esp32s2/src/ledc/ch/conf1.rs +++ b/esp32s2/src/ledc/ch/conf1.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - This register is used to configure the changing step scale of duty on channel %s."] #[inline(always)] - #[must_use] pub fn duty_scale(&mut self) -> DUTY_SCALE_W { DUTY_SCALE_W::new(self, 0) } #[doc = "Bits 10:19 - The duty will change every LEDC_DUTY_CYCLE_CH%s on channel %s."] #[inline(always)] - #[must_use] pub fn duty_cycle(&mut self) -> DUTY_CYCLE_W { DUTY_CYCLE_W::new(self, 10) } #[doc = "Bits 20:29 - This register is used to control the number of times the duty cycle will be changed."] #[inline(always)] - #[must_use] pub fn duty_num(&mut self) -> DUTY_NUM_W { DUTY_NUM_W::new(self, 20) } #[doc = "Bit 30 - This register is used to increase or decrease the duty of output signal on channel %s. 1: Increase. 0: Decrease."] #[inline(always)] - #[must_use] pub fn duty_inc(&mut self) -> DUTY_INC_W { DUTY_INC_W::new(self, 30) } #[doc = "Bit 31 - Other configured fields in LEDC_CH%s_CONF1_REG will start to take effect when this bit is set to 1."] #[inline(always)] - #[must_use] pub fn duty_start(&mut self) -> DUTY_START_W { DUTY_START_W::new(self, 31) } diff --git a/esp32s2/src/ledc/ch/duty.rs b/esp32s2/src/ledc/ch/duty.rs index 37070b8030..5f06a74543 100644 --- a/esp32s2/src/ledc/ch/duty.rs +++ b/esp32s2/src/ledc/ch/duty.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:18 - This register is used to change the output duty by controlling the Lpoint. The output value turns to low when the selected timers has reached the Lpoint."] #[inline(always)] - #[must_use] pub fn duty(&mut self) -> DUTY_W { DUTY_W::new(self, 0) } diff --git a/esp32s2/src/ledc/ch/hpoint.rs b/esp32s2/src/ledc/ch/hpoint.rs index 6e7c457c81..e5ae51d75e 100644 --- a/esp32s2/src/ledc/ch/hpoint.rs +++ b/esp32s2/src/ledc/ch/hpoint.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - The output value changes to high when the selected timers has reached the value specified by this register."] #[inline(always)] - #[must_use] pub fn hpoint(&mut self) -> HPOINT_W { HPOINT_W::new(self, 0) } diff --git a/esp32s2/src/ledc/conf.rs b/esp32s2/src/ledc/conf.rs index a22070e914..703566f1a1 100644 --- a/esp32s2/src/ledc/conf.rs +++ b/esp32s2/src/ledc/conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - This bit is used to select clock source for the 4 timers . 1: APB_CLK. 2: RTC8M_CLK. 3: XTAL_CLK."] #[inline(always)] - #[must_use] pub fn apb_clk_sel(&mut self) -> APB_CLK_SEL_W { APB_CLK_SEL_W::new(self, 0) } #[doc = "Bit 31 - This bit is used to control clock. 1: Force clock on for register. 0: Support clock only when application writes registers."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32s2/src/ledc/date.rs b/esp32s2/src/ledc/date.rs index 6aba4bb76d..7352049785 100644 --- a/esp32s2/src/ledc/date.rs +++ b/esp32s2/src/ledc/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This is the version control register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s2/src/ledc/int_clr.rs b/esp32s2/src/ledc/int_clr.rs index 12605167b4..4f57e66a51 100644 --- a/esp32s2/src/ledc/int_clr.rs +++ b/esp32s2/src/ledc/int_clr.rs @@ -17,7 +17,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TIMER0_OVF` field.
"] #[inline(always)] - #[must_use] pub fn timer_ovf(&mut self, n: u8) -> TIMER_OVF_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -25,25 +24,21 @@ impl W { } #[doc = "Bit 0 - Set this bit to clear the TIMER0_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer0_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the TIMER1_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer1_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the TIMER2_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer2_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the TIMER3_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer3_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 3) } @@ -51,7 +46,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `DUTY_CHNG_END_CH0` field.
"] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch(&mut self, n: u8) -> DUTY_CHNG_END_CH_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -59,49 +53,41 @@ impl W { } #[doc = "Bit 4 - Set this bit to clear the DUTY_CHNG_END_CH0 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch0(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the DUTY_CHNG_END_CH1 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch1(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the DUTY_CHNG_END_CH2 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch2(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the DUTY_CHNG_END_CH3 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch3(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the DUTY_CHNG_END_CH4 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch4(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear the DUTY_CHNG_END_CH5 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch5(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to clear the DUTY_CHNG_END_CH6 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch6(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear the DUTY_CHNG_END_CH7 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch7(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 11) } @@ -109,7 +95,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `OVF_CNT_CH0` field.
"] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch(&mut self, n: u8) -> OVF_CNT_CH_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -117,49 +102,41 @@ impl W { } #[doc = "Bit 12 - Set this bit to clear the OVF_CNT_CH0 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch0(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to clear the OVF_CNT_CH1 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch1(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to clear the OVF_CNT_CH2 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch2(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to clear the OVF_CNT_CH3 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch3(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to clear the OVF_CNT_CH4 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch4(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to clear the OVF_CNT_CH5 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch5(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to clear the OVF_CNT_CH6 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch6(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to clear the OVF_CNT_CH7 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch7(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 19) } @@ -173,7 +150,7 @@ impl crate::RegisterSpec for INT_CLR_SPEC { impl crate::Writable for INT_CLR_SPEC { type Safety = crate::Unsafe; const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0x1011; + const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0x000f_ffff; } #[doc = "`reset()` method sets INT_CLR to value 0"] impl crate::Resettable for INT_CLR_SPEC { diff --git a/esp32s2/src/ledc/int_ena.rs b/esp32s2/src/ledc/int_ena.rs index bf0c9a05b1..660ac7dc23 100644 --- a/esp32s2/src/ledc/int_ena.rs +++ b/esp32s2/src/ledc/int_ena.rs @@ -193,7 +193,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TIMER0_OVF` field.
"] #[inline(always)] - #[must_use] pub fn timer_ovf(&mut self, n: u8) -> TIMER_OVF_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -201,25 +200,21 @@ impl W { } #[doc = "Bit 0 - The interrupt enable bit for the TIMER0_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer0_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the TIMER1_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer1_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the TIMER2_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer2_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the TIMER3_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer3_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 3) } @@ -227,7 +222,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `DUTY_CHNG_END_CH0` field.
"] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch(&mut self, n: u8) -> DUTY_CHNG_END_CH_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -235,49 +229,41 @@ impl W { } #[doc = "Bit 4 - The interrupt enable bit for the DUTY_CHNG_END_CH0 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch0(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 4) } #[doc = "Bit 5 - The interrupt enable bit for the DUTY_CHNG_END_CH1 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch1(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 5) } #[doc = "Bit 6 - The interrupt enable bit for the DUTY_CHNG_END_CH2 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch2(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 6) } #[doc = "Bit 7 - The interrupt enable bit for the DUTY_CHNG_END_CH3 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch3(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 7) } #[doc = "Bit 8 - The interrupt enable bit for the DUTY_CHNG_END_CH4 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch4(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 8) } #[doc = "Bit 9 - The interrupt enable bit for the DUTY_CHNG_END_CH5 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch5(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 9) } #[doc = "Bit 10 - The interrupt enable bit for the DUTY_CHNG_END_CH6 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch6(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 10) } #[doc = "Bit 11 - The interrupt enable bit for the DUTY_CHNG_END_CH7 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch7(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 11) } @@ -285,7 +271,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `OVF_CNT_CH0` field.
"] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch(&mut self, n: u8) -> OVF_CNT_CH_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -293,49 +278,41 @@ impl W { } #[doc = "Bit 12 - The interrupt enable bit for the OVF_CNT_CH0 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch0(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 12) } #[doc = "Bit 13 - The interrupt enable bit for the OVF_CNT_CH1 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch1(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 13) } #[doc = "Bit 14 - The interrupt enable bit for the OVF_CNT_CH2 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch2(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 14) } #[doc = "Bit 15 - The interrupt enable bit for the OVF_CNT_CH3 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch3(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 15) } #[doc = "Bit 16 - The interrupt enable bit for the OVF_CNT_CH4 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch4(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 16) } #[doc = "Bit 17 - The interrupt enable bit for the OVF_CNT_CH5 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch5(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 17) } #[doc = "Bit 18 - The interrupt enable bit for the OVF_CNT_CH6 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch6(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 18) } #[doc = "Bit 19 - The interrupt enable bit for the OVF_CNT_CH7 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch7(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 19) } diff --git a/esp32s2/src/ledc/int_raw.rs b/esp32s2/src/ledc/int_raw.rs index 265bd1febb..da91e6e8eb 100644 --- a/esp32s2/src/ledc/int_raw.rs +++ b/esp32s2/src/ledc/int_raw.rs @@ -193,7 +193,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TIMER0_OVF` field.
"] #[inline(always)] - #[must_use] pub fn timer_ovf(&mut self, n: u8) -> TIMER_OVF_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -201,25 +200,21 @@ impl W { } #[doc = "Bit 0 - Triggered when the timer0 has reached its maximum counter value."] #[inline(always)] - #[must_use] pub fn timer0_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 0) } #[doc = "Bit 1 - Triggered when the timer1 has reached its maximum counter value."] #[inline(always)] - #[must_use] pub fn timer1_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 1) } #[doc = "Bit 2 - Triggered when the timer2 has reached its maximum counter value."] #[inline(always)] - #[must_use] pub fn timer2_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 2) } #[doc = "Bit 3 - Triggered when the timer3 has reached its maximum counter value."] #[inline(always)] - #[must_use] pub fn timer3_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 3) } @@ -227,7 +222,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `DUTY_CHNG_END_CH0` field.
"] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch(&mut self, n: u8) -> DUTY_CHNG_END_CH_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -235,49 +229,41 @@ impl W { } #[doc = "Bit 4 - Interrupt raw bit for channel 0. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch0(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 4) } #[doc = "Bit 5 - Interrupt raw bit for channel 1. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch1(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 5) } #[doc = "Bit 6 - Interrupt raw bit for channel 2. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch2(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 6) } #[doc = "Bit 7 - Interrupt raw bit for channel 3. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch3(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 7) } #[doc = "Bit 8 - Interrupt raw bit for channel 4. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch4(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 8) } #[doc = "Bit 9 - Interrupt raw bit for channel 5. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch5(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 9) } #[doc = "Bit 10 - Interrupt raw bit for channel 6. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch6(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 10) } #[doc = "Bit 11 - Interrupt raw bit for channel 7. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch7(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 11) } @@ -285,7 +271,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `OVF_CNT_CH0` field.
"] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch(&mut self, n: u8) -> OVF_CNT_CH_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -293,49 +278,41 @@ impl W { } #[doc = "Bit 12 - Interrupt raw bit for channel 0. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch0(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 12) } #[doc = "Bit 13 - Interrupt raw bit for channel 1. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch1(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 13) } #[doc = "Bit 14 - Interrupt raw bit for channel 2. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch2(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 14) } #[doc = "Bit 15 - Interrupt raw bit for channel 3. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch3(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 15) } #[doc = "Bit 16 - Interrupt raw bit for channel 4. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch4(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 16) } #[doc = "Bit 17 - Interrupt raw bit for channel 5. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch5(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 17) } #[doc = "Bit 18 - Interrupt raw bit for channel 6. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch6(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 18) } #[doc = "Bit 19 - Interrupt raw bit for channel 7. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch7(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 19) } diff --git a/esp32s2/src/ledc/timer/conf.rs b/esp32s2/src/ledc/timer/conf.rs index 7936d69219..a3d5b84248 100644 --- a/esp32s2/src/ledc/timer/conf.rs +++ b/esp32s2/src/ledc/timer/conf.rs @@ -66,37 +66,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - This register is used to control the range of the counter in timer %s."] #[inline(always)] - #[must_use] pub fn duty_res(&mut self) -> DUTY_RES_W { DUTY_RES_W::new(self, 0) } #[doc = "Bits 4:21 - This register is used to configure the divisor for the divider in timer %s. The least significant eight bits represent the fractional part."] #[inline(always)] - #[must_use] pub fn clk_div(&mut self) -> CLK_DIV_W { CLK_DIV_W::new(self, 4) } #[doc = "Bit 22 - This bit is used to suspend the counter in timer %s."] #[inline(always)] - #[must_use] pub fn pause(&mut self) -> PAUSE_W { PAUSE_W::new(self, 22) } #[doc = "Bit 23 - This bit is used to reset timer %s. The counter will show 0 after reset."] #[inline(always)] - #[must_use] pub fn rst(&mut self) -> RST_W { RST_W::new(self, 23) } #[doc = "Bit 24 - This bit is used to select clock for timer %s. When this bit is set to 1 LEDC_APB_CLK_SEL\\[1:0\\] should be 1, otherwise the timer clock may be not accurate. 0: LEDC_PWM_CLK. 1: REF_TICK."] #[inline(always)] - #[must_use] pub fn tick_sel(&mut self) -> TICK_SEL_W { TICK_SEL_W::new(self, 24) } #[doc = "Bit 25 - Set this bit to update LEDC_CLK_DIV_TIMER%s and LEDC_TIMER%s_DUTY_RES."] #[inline(always)] - #[must_use] pub fn para_up(&mut self) -> PARA_UP_W { PARA_UP_W::new(self, 25) } diff --git a/esp32s2/src/lib.rs b/esp32s2/src/lib.rs index 363411d7ca..90237c1fe3 100644 --- a/esp32s2/src/lib.rs +++ b/esp32s2/src/lib.rs @@ -1,4 +1,4 @@ -#![doc = "Peripheral access API for ESP32-S2 microcontrollers (generated using svd2rust v0.33.4 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next] svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.33.4/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"] +#![doc = "Peripheral access API for ESP32-S2 microcontrollers (generated using svd2rust v0.34.0 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next] svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.34.0/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"] #![allow(non_camel_case_types)] #![allow(non_snake_case)] #![doc(html_logo_url = "https://avatars.githubusercontent.com/u/46717278")] @@ -478,13 +478,8 @@ pub enum Interrupt { #[doc = "94 - ICACHE_SYNC"] ICACHE_SYNC = 94, } -unsafe impl xtensa_lx::interrupt::InterruptNumber for Interrupt { - #[inline(always)] - fn number(self) -> u16 { - self as u16 - } -} #[doc = r" TryFromInterruptError"] +#[cfg_attr(feature = "defmt", derive(defmt::Format))] #[derive(Debug, Copy, Clone)] pub struct TryFromInterruptError(()); impl Interrupt { diff --git a/esp32s2/src/pcnt/ctrl.rs b/esp32s2/src/pcnt/ctrl.rs index 35fba35a95..93fc46ebb7 100644 --- a/esp32s2/src/pcnt/ctrl.rs +++ b/esp32s2/src/pcnt/ctrl.rs @@ -112,7 +112,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CNT_RST_U0` field.
"] #[inline(always)] - #[must_use] pub fn cnt_rst_u(&mut self, n: u8) -> CNT_RST_U_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -120,25 +119,21 @@ impl W { } #[doc = "Bit 0 - Set this bit to clear unit0's counter."] #[inline(always)] - #[must_use] pub fn cnt_rst_u0(&mut self) -> CNT_RST_U_W { CNT_RST_U_W::new(self, 0) } #[doc = "Bit 2 - Set this bit to clear unit1's counter."] #[inline(always)] - #[must_use] pub fn cnt_rst_u1(&mut self) -> CNT_RST_U_W { CNT_RST_U_W::new(self, 2) } #[doc = "Bit 4 - Set this bit to clear unit2's counter."] #[inline(always)] - #[must_use] pub fn cnt_rst_u2(&mut self) -> CNT_RST_U_W { CNT_RST_U_W::new(self, 4) } #[doc = "Bit 6 - Set this bit to clear unit3's counter."] #[inline(always)] - #[must_use] pub fn cnt_rst_u3(&mut self) -> CNT_RST_U_W { CNT_RST_U_W::new(self, 6) } @@ -146,7 +141,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CNT_PAUSE_U0` field.
"] #[inline(always)] - #[must_use] pub fn cnt_pause_u(&mut self, n: u8) -> CNT_PAUSE_U_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -154,31 +148,26 @@ impl W { } #[doc = "Bit 1 - Set this bit to pause unit0's counter."] #[inline(always)] - #[must_use] pub fn cnt_pause_u0(&mut self) -> CNT_PAUSE_U_W { CNT_PAUSE_U_W::new(self, 1) } #[doc = "Bit 3 - Set this bit to pause unit1's counter."] #[inline(always)] - #[must_use] pub fn cnt_pause_u1(&mut self) -> CNT_PAUSE_U_W { CNT_PAUSE_U_W::new(self, 3) } #[doc = "Bit 5 - Set this bit to pause unit2's counter."] #[inline(always)] - #[must_use] pub fn cnt_pause_u2(&mut self) -> CNT_PAUSE_U_W { CNT_PAUSE_U_W::new(self, 5) } #[doc = "Bit 7 - Set this bit to pause unit3's counter."] #[inline(always)] - #[must_use] pub fn cnt_pause_u3(&mut self) -> CNT_PAUSE_U_W { CNT_PAUSE_U_W::new(self, 7) } #[doc = "Bit 16 - The registers clock gate enable signal of PCNT module. 1: the registers can be read and written by application. 0: the registers can not be read or written by application"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 16) } diff --git a/esp32s2/src/pcnt/date.rs b/esp32s2/src/pcnt/date.rs index 62c52e7519..e946eed689 100644 --- a/esp32s2/src/pcnt/date.rs +++ b/esp32s2/src/pcnt/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This is the PCNT version control register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s2/src/pcnt/int_clr.rs b/esp32s2/src/pcnt/int_clr.rs index 60d2b9e5fc..8122a1e7bd 100644 --- a/esp32s2/src/pcnt/int_clr.rs +++ b/esp32s2/src/pcnt/int_clr.rs @@ -13,7 +13,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CNT_THR_EVENT_U0` field.
"] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u(&mut self, n: u8) -> CNT_THR_EVENT_U_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -21,25 +20,21 @@ impl W { } #[doc = "Bit 0 - Set this bit to clear the PCNT_CNT_THR_EVENT_U0_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u0(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the PCNT_CNT_THR_EVENT_U1_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u1(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the PCNT_CNT_THR_EVENT_U2_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u2(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the PCNT_CNT_THR_EVENT_U3_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u3(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 3) } diff --git a/esp32s2/src/pcnt/int_ena.rs b/esp32s2/src/pcnt/int_ena.rs index 97405ab4c3..c96e98eacf 100644 --- a/esp32s2/src/pcnt/int_ena.rs +++ b/esp32s2/src/pcnt/int_ena.rs @@ -59,7 +59,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CNT_THR_EVENT_U0` field.
"] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u(&mut self, n: u8) -> CNT_THR_EVENT_U_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -67,25 +66,21 @@ impl W { } #[doc = "Bit 0 - The interrupt enable bit for the PCNT_CNT_THR_EVENT_U0_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u0(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the PCNT_CNT_THR_EVENT_U1_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u1(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the PCNT_CNT_THR_EVENT_U2_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u2(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the PCNT_CNT_THR_EVENT_U3_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u3(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 3) } diff --git a/esp32s2/src/pcnt/unit/conf0.rs b/esp32s2/src/pcnt/unit/conf0.rs index 5e715c9173..11efe74c98 100644 --- a/esp32s2/src/pcnt/unit/conf0.rs +++ b/esp32s2/src/pcnt/unit/conf0.rs @@ -346,43 +346,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - This sets the maximum threshold, in APB_CLK cycles, for the filter. Any pulses with width less than this will be ignored when the filter is enabled."] #[inline(always)] - #[must_use] pub fn filter_thres(&mut self) -> FILTER_THRES_W { FILTER_THRES_W::new(self, 0) } #[doc = "Bit 10 - This is the enable bit for unit %s's input filter."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 10) } #[doc = "Bit 11 - This is the enable bit for unit %s's zero comparator."] #[inline(always)] - #[must_use] pub fn thr_zero_en(&mut self) -> THR_ZERO_EN_W { THR_ZERO_EN_W::new(self, 11) } #[doc = "Bit 12 - This is the enable bit for unit %s's thr_h_lim comparator."] #[inline(always)] - #[must_use] pub fn thr_h_lim_en(&mut self) -> THR_H_LIM_EN_W { THR_H_LIM_EN_W::new(self, 12) } #[doc = "Bit 13 - This is the enable bit for unit %s's thr_l_lim comparator."] #[inline(always)] - #[must_use] pub fn thr_l_lim_en(&mut self) -> THR_L_LIM_EN_W { THR_L_LIM_EN_W::new(self, 13) } #[doc = "Bit 14 - This is the enable bit for unit %s's thres0 comparator."] #[inline(always)] - #[must_use] pub fn thr_thres0_en(&mut self) -> THR_THRES0_EN_W { THR_THRES0_EN_W::new(self, 14) } #[doc = "Bit 15 - This is the enable bit for unit %s's thres1 comparator."] #[inline(always)] - #[must_use] pub fn thr_thres1_en(&mut self) -> THR_THRES1_EN_W { THR_THRES1_EN_W::new(self, 15) } @@ -390,7 +383,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_NEG_MODE` field.
"] #[inline(always)] - #[must_use] pub fn ch_neg_mode(&mut self, n: u8) -> CH_NEG_MODE_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -398,13 +390,11 @@ impl W { } #[doc = "Bits 16:17 - Configures the behavior when the signal input of channel 0 detects a negative edge."] #[inline(always)] - #[must_use] pub fn ch0_neg_mode(&mut self) -> CH_NEG_MODE_W { CH_NEG_MODE_W::new(self, 16) } #[doc = "Bits 24:25 - Configures the behavior when the signal input of channel 1 detects a negative edge."] #[inline(always)] - #[must_use] pub fn ch1_neg_mode(&mut self) -> CH_NEG_MODE_W { CH_NEG_MODE_W::new(self, 24) } @@ -412,7 +402,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_POS_MODE` field.
"] #[inline(always)] - #[must_use] pub fn ch_pos_mode(&mut self, n: u8) -> CH_POS_MODE_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -420,13 +409,11 @@ impl W { } #[doc = "Bits 18:19 - Configures the behavior when the signal input of channel 0 detects a positive edge."] #[inline(always)] - #[must_use] pub fn ch0_pos_mode(&mut self) -> CH_POS_MODE_W { CH_POS_MODE_W::new(self, 18) } #[doc = "Bits 26:27 - Configures the behavior when the signal input of channel 1 detects a positive edge."] #[inline(always)] - #[must_use] pub fn ch1_pos_mode(&mut self) -> CH_POS_MODE_W { CH_POS_MODE_W::new(self, 26) } @@ -434,7 +421,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_HCTRL_MODE` field.
"] #[inline(always)] - #[must_use] pub fn ch_hctrl_mode(&mut self, n: u8) -> CH_HCTRL_MODE_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -442,13 +428,11 @@ impl W { } #[doc = "Bits 20:21 - Configures how the CHn_POS_MODE/CHn_NEG_MODE settings will be modified when the control signal is high."] #[inline(always)] - #[must_use] pub fn ch0_hctrl_mode(&mut self) -> CH_HCTRL_MODE_W { CH_HCTRL_MODE_W::new(self, 20) } #[doc = "Bits 28:29 - Configures how the CHn_POS_MODE/CHn_NEG_MODE settings will be modified when the control signal is high."] #[inline(always)] - #[must_use] pub fn ch1_hctrl_mode(&mut self) -> CH_HCTRL_MODE_W { CH_HCTRL_MODE_W::new(self, 28) } @@ -456,7 +440,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_LCTRL_MODE` field.
"] #[inline(always)] - #[must_use] pub fn ch_lctrl_mode(&mut self, n: u8) -> CH_LCTRL_MODE_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -464,13 +447,11 @@ impl W { } #[doc = "Bits 22:23 - Configures how the CHn_POS_MODE/CHn_NEG_MODE settings will be modified when the control signal is low."] #[inline(always)] - #[must_use] pub fn ch0_lctrl_mode(&mut self) -> CH_LCTRL_MODE_W { CH_LCTRL_MODE_W::new(self, 22) } #[doc = "Bits 30:31 - Configures how the CHn_POS_MODE/CHn_NEG_MODE settings will be modified when the control signal is low."] #[inline(always)] - #[must_use] pub fn ch1_lctrl_mode(&mut self) -> CH_LCTRL_MODE_W { CH_LCTRL_MODE_W::new(self, 30) } diff --git a/esp32s2/src/pcnt/unit/conf1.rs b/esp32s2/src/pcnt/unit/conf1.rs index 1585465b67..e88cae6aae 100644 --- a/esp32s2/src/pcnt/unit/conf1.rs +++ b/esp32s2/src/pcnt/unit/conf1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the thres0 value for unit %s."] #[inline(always)] - #[must_use] pub fn cnt_thres0(&mut self) -> CNT_THRES0_W { CNT_THRES0_W::new(self, 0) } #[doc = "Bits 16:31 - This register is used to configure the thres1 value for unit %s."] #[inline(always)] - #[must_use] pub fn cnt_thres1(&mut self) -> CNT_THRES1_W { CNT_THRES1_W::new(self, 16) } diff --git a/esp32s2/src/pcnt/unit/conf2.rs b/esp32s2/src/pcnt/unit/conf2.rs index cfc60509ee..d7b4aaa798 100644 --- a/esp32s2/src/pcnt/unit/conf2.rs +++ b/esp32s2/src/pcnt/unit/conf2.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the thr_h_lim value for unit %s."] #[inline(always)] - #[must_use] pub fn cnt_h_lim(&mut self) -> CNT_H_LIM_W { CNT_H_LIM_W::new(self, 0) } #[doc = "Bits 16:31 - This register is used to configure the thr_l_lim value for unit %s."] #[inline(always)] - #[must_use] pub fn cnt_l_lim(&mut self) -> CNT_L_LIM_W { CNT_L_LIM_W::new(self, 16) } diff --git a/esp32s2/src/pms/apb_peripheral_0.rs b/esp32s2/src/pms/apb_peripheral_0.rs index 8ee368397a..9fff1d840f 100644 --- a/esp32s2/src/pms/apb_peripheral_0.rs +++ b/esp32s2/src/pms/apb_peripheral_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Lock register. Setting to 1 locks TX Copy DMA permission control registers."] #[inline(always)] - #[must_use] pub fn apb_peripheral_lock(&mut self) -> APB_PERIPHERAL_LOCK_W { APB_PERIPHERAL_LOCK_W::new(self, 0) } diff --git a/esp32s2/src/pms/apb_peripheral_1.rs b/esp32s2/src/pms/apb_peripheral_1.rs index 9e7e1f165f..bb140668f9 100644 --- a/esp32s2/src/pms/apb_peripheral_1.rs +++ b/esp32s2/src/pms/apb_peripheral_1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Setting to 1 splits the data phase of the last access and the address phase of following access."] #[inline(always)] - #[must_use] pub fn apb_peripheral_split_burst( &mut self, ) -> APB_PERIPHERAL_SPLIT_BURST_W { diff --git a/esp32s2/src/pms/apb_peripheral_intr.rs b/esp32s2/src/pms/apb_peripheral_intr.rs index 24b0b56609..b7d0cb8113 100644 --- a/esp32s2/src/pms/apb_peripheral_intr.rs +++ b/esp32s2/src/pms/apb_peripheral_intr.rs @@ -42,7 +42,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The clear signal for APB peripheral interrupt."] #[inline(always)] - #[must_use] pub fn apb_peri_byte_error_clr( &mut self, ) -> APB_PERI_BYTE_ERROR_CLR_W { @@ -50,7 +49,6 @@ impl W { } #[doc = "Bit 1 - The enable signal for APB peripheral access interrupt."] #[inline(always)] - #[must_use] pub fn apb_peri_byte_error_en(&mut self) -> APB_PERI_BYTE_ERROR_EN_W { APB_PERI_BYTE_ERROR_EN_W::new(self, 1) } diff --git a/esp32s2/src/pms/cache_mmu_access_0.rs b/esp32s2/src/pms/cache_mmu_access_0.rs index 2c29446209..deaaff96f4 100644 --- a/esp32s2/src/pms/cache_mmu_access_0.rs +++ b/esp32s2/src/pms/cache_mmu_access_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Lock register. Setting to 1 locks cache MMU permission control registers."] #[inline(always)] - #[must_use] pub fn cache_mmu_access_lock(&mut self) -> CACHE_MMU_ACCESS_LOCK_W { CACHE_MMU_ACCESS_LOCK_W::new(self, 0) } diff --git a/esp32s2/src/pms/cache_mmu_access_1.rs b/esp32s2/src/pms/cache_mmu_access_1.rs index adebd18176..76d56753ba 100644 --- a/esp32s2/src/pms/cache_mmu_access_1.rs +++ b/esp32s2/src/pms/cache_mmu_access_1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Setting to 1 permits read access to MMU memory."] #[inline(always)] - #[must_use] pub fn pro_mmu_rd_acs(&mut self) -> PRO_MMU_RD_ACS_W { PRO_MMU_RD_ACS_W::new(self, 0) } #[doc = "Bit 1 - Setting to 1 permits write access to MMU memory."] #[inline(always)] - #[must_use] pub fn pro_mmu_wr_acs(&mut self) -> PRO_MMU_WR_ACS_W { PRO_MMU_WR_ACS_W::new(self, 1) } diff --git a/esp32s2/src/pms/cache_source_0.rs b/esp32s2/src/pms/cache_source_0.rs index 4913b2ce16..b2803049b4 100644 --- a/esp32s2/src/pms/cache_source_0.rs +++ b/esp32s2/src/pms/cache_source_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Lock register. Setting to 1 locks cache access permission control registers."] #[inline(always)] - #[must_use] pub fn cache_source_lock(&mut self) -> CACHE_SOURCE_LOCK_W { CACHE_SOURCE_LOCK_W::new(self, 0) } diff --git a/esp32s2/src/pms/cache_source_1.rs b/esp32s2/src/pms/cache_source_1.rs index 3253f644b2..aaf7dfe28c 100644 --- a/esp32s2/src/pms/cache_source_1.rs +++ b/esp32s2/src/pms/cache_source_1.rs @@ -92,7 +92,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - xx"] #[inline(always)] - #[must_use] pub fn pro_cache_i_source_pro_iram1( &mut self, ) -> PRO_CACHE_I_SOURCE_PRO_IRAM1_W { @@ -100,7 +99,6 @@ impl W { } #[doc = "Bit 1 - xx"] #[inline(always)] - #[must_use] pub fn pro_cache_i_source_pro_irom0( &mut self, ) -> PRO_CACHE_I_SOURCE_PRO_IROM0_W { @@ -108,7 +106,6 @@ impl W { } #[doc = "Bit 2 - xx"] #[inline(always)] - #[must_use] pub fn pro_cache_i_source_pro_drom0( &mut self, ) -> PRO_CACHE_I_SOURCE_PRO_DROM0_W { @@ -116,7 +113,6 @@ impl W { } #[doc = "Bit 3 - xx"] #[inline(always)] - #[must_use] pub fn pro_cache_d_source_pro_dram0( &mut self, ) -> PRO_CACHE_D_SOURCE_PRO_DRAM0_W { @@ -124,7 +120,6 @@ impl W { } #[doc = "Bit 4 - xx"] #[inline(always)] - #[must_use] pub fn pro_cache_d_source_pro_dport( &mut self, ) -> PRO_CACHE_D_SOURCE_PRO_DPORT_W { @@ -132,7 +127,6 @@ impl W { } #[doc = "Bit 5 - xx"] #[inline(always)] - #[must_use] pub fn pro_cache_d_source_pro_drom0( &mut self, ) -> PRO_CACHE_D_SOURCE_PRO_DROM0_W { diff --git a/esp32s2/src/pms/cache_tag_access_0.rs b/esp32s2/src/pms/cache_tag_access_0.rs index f0ac3cedef..4c0ad672bc 100644 --- a/esp32s2/src/pms/cache_tag_access_0.rs +++ b/esp32s2/src/pms/cache_tag_access_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Lock register. Setting to 1 locks cache tag permission control registers."] #[inline(always)] - #[must_use] pub fn cache_tag_access_lock(&mut self) -> CACHE_TAG_ACCESS_LOCK_W { CACHE_TAG_ACCESS_LOCK_W::new(self, 0) } diff --git a/esp32s2/src/pms/cache_tag_access_1.rs b/esp32s2/src/pms/cache_tag_access_1.rs index b836b73348..a526f0f150 100644 --- a/esp32s2/src/pms/cache_tag_access_1.rs +++ b/esp32s2/src/pms/cache_tag_access_1.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Setting to 1 permits read access to Icache tag memory."] #[inline(always)] - #[must_use] pub fn pro_i_tag_rd_acs(&mut self) -> PRO_I_TAG_RD_ACS_W { PRO_I_TAG_RD_ACS_W::new(self, 0) } #[doc = "Bit 1 - Setting to 1 permits write access to Icache tag memory."] #[inline(always)] - #[must_use] pub fn pro_i_tag_wr_acs(&mut self) -> PRO_I_TAG_WR_ACS_W { PRO_I_TAG_WR_ACS_W::new(self, 1) } #[doc = "Bit 2 - Setting to 1 permits read access to Dcache tag memory."] #[inline(always)] - #[must_use] pub fn pro_d_tag_rd_acs(&mut self) -> PRO_D_TAG_RD_ACS_W { PRO_D_TAG_RD_ACS_W::new(self, 2) } #[doc = "Bit 3 - Setting to 1 permits write access to Dcache tag memory."] #[inline(always)] - #[must_use] pub fn pro_d_tag_wr_acs(&mut self) -> PRO_D_TAG_WR_ACS_W { PRO_D_TAG_WR_ACS_W::new(self, 3) } diff --git a/esp32s2/src/pms/clock_gate.rs b/esp32s2/src/pms/clock_gate.rs index 59ad3752aa..22932d68aa 100644 --- a/esp32s2/src/pms/clock_gate.rs +++ b/esp32s2/src/pms/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Enable the clock of permission control module when set to 1."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32s2/src/pms/cpu_peripheral_intr.rs b/esp32s2/src/pms/cpu_peripheral_intr.rs index a49d6934ea..e688be58d2 100644 --- a/esp32s2/src/pms/cpu_peripheral_intr.rs +++ b/esp32s2/src/pms/cpu_peripheral_intr.rs @@ -42,7 +42,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The clear signal for CPU peripheral access interrupt."] #[inline(always)] - #[must_use] pub fn cpu_peri_byte_error_clr( &mut self, ) -> CPU_PERI_BYTE_ERROR_CLR_W { @@ -50,7 +49,6 @@ impl W { } #[doc = "Bit 1 - The enable signal for CPU peripheral access interrupt."] #[inline(always)] - #[must_use] pub fn cpu_peri_byte_error_en(&mut self) -> CPU_PERI_BYTE_ERROR_EN_W { CPU_PERI_BYTE_ERROR_EN_W::new(self, 1) } diff --git a/esp32s2/src/pms/date.rs b/esp32s2/src/pms/date.rs index 1c72901ed5..e46dee050e 100644 --- a/esp32s2/src/pms/date.rs +++ b/esp32s2/src/pms/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Version control register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s2/src/pms/dma_apb_i_0.rs b/esp32s2/src/pms/dma_apb_i_0.rs index d839df2a56..a4f0137e9f 100644 --- a/esp32s2/src/pms/dma_apb_i_0.rs +++ b/esp32s2/src/pms/dma_apb_i_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Lock register. Setting to 1 locks internal DMA permission control registers."] #[inline(always)] - #[must_use] pub fn dma_apb_i_lock(&mut self) -> DMA_APB_I_LOCK_W { DMA_APB_I_LOCK_W::new(self, 0) } diff --git a/esp32s2/src/pms/dma_apb_i_1.rs b/esp32s2/src/pms/dma_apb_i_1.rs index e66833dca4..424fb93b40 100644 --- a/esp32s2/src/pms/dma_apb_i_1.rs +++ b/esp32s2/src/pms/dma_apb_i_1.rs @@ -147,79 +147,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Setting to 1 grants internal DMA permission to read SRAM Block 0."] #[inline(always)] - #[must_use] pub fn dma_apb_i_sram_0_r(&mut self) -> DMA_APB_I_SRAM_0_R_W { DMA_APB_I_SRAM_0_R_W::new(self, 0) } #[doc = "Bit 1 - Setting to 1 grants internal DMA permission to write SRAM Block 0."] #[inline(always)] - #[must_use] pub fn dma_apb_i_sram_0_w(&mut self) -> DMA_APB_I_SRAM_0_W_W { DMA_APB_I_SRAM_0_W_W::new(self, 1) } #[doc = "Bit 2 - Setting to 1 grants internal DMA permission to read SRAM Block 1."] #[inline(always)] - #[must_use] pub fn dma_apb_i_sram_1_r(&mut self) -> DMA_APB_I_SRAM_1_R_W { DMA_APB_I_SRAM_1_R_W::new(self, 2) } #[doc = "Bit 3 - Setting to 1 grants internal DMA permission to write SRAM Block 1."] #[inline(always)] - #[must_use] pub fn dma_apb_i_sram_1_w(&mut self) -> DMA_APB_I_SRAM_1_W_W { DMA_APB_I_SRAM_1_W_W::new(self, 3) } #[doc = "Bit 4 - Setting to 1 grants internal DMA permission to read SRAM Block 2."] #[inline(always)] - #[must_use] pub fn dma_apb_i_sram_2_r(&mut self) -> DMA_APB_I_SRAM_2_R_W { DMA_APB_I_SRAM_2_R_W::new(self, 4) } #[doc = "Bit 5 - Setting to 1 grants internal DMA permission to write SRAM Block 2."] #[inline(always)] - #[must_use] pub fn dma_apb_i_sram_2_w(&mut self) -> DMA_APB_I_SRAM_2_W_W { DMA_APB_I_SRAM_2_W_W::new(self, 5) } #[doc = "Bit 6 - Setting to 1 grants internal DMA permission to read SRAM Block 3."] #[inline(always)] - #[must_use] pub fn dma_apb_i_sram_3_r(&mut self) -> DMA_APB_I_SRAM_3_R_W { DMA_APB_I_SRAM_3_R_W::new(self, 6) } #[doc = "Bit 7 - Setting to 1 grants internal DMA permission to write SRAM Block 3."] #[inline(always)] - #[must_use] pub fn dma_apb_i_sram_3_w(&mut self) -> DMA_APB_I_SRAM_3_W_W { DMA_APB_I_SRAM_3_W_W::new(self, 7) } #[doc = "Bits 8:24 - Configure the split address of SRAM Block 4-21 for internal DMA access."] #[inline(always)] - #[must_use] pub fn dma_apb_i_sram_4_spltaddr(&mut self) -> DMA_APB_I_SRAM_4_SPLTADDR_W { DMA_APB_I_SRAM_4_SPLTADDR_W::new(self, 8) } #[doc = "Bit 25 - Setting to 1 grants internal DMA permission to read SRAM Block 4-21 low address region."] #[inline(always)] - #[must_use] pub fn dma_apb_i_sram_4_l_r(&mut self) -> DMA_APB_I_SRAM_4_L_R_W { DMA_APB_I_SRAM_4_L_R_W::new(self, 25) } #[doc = "Bit 26 - Setting to 1 grants internal DMA permission to write SRAM Block 4-21 low address region."] #[inline(always)] - #[must_use] pub fn dma_apb_i_sram_4_l_w(&mut self) -> DMA_APB_I_SRAM_4_L_W_W { DMA_APB_I_SRAM_4_L_W_W::new(self, 26) } #[doc = "Bit 27 - Setting to 1 grants internal DMA permission to read SRAM Block 4-21 high address region."] #[inline(always)] - #[must_use] pub fn dma_apb_i_sram_4_h_r(&mut self) -> DMA_APB_I_SRAM_4_H_R_W { DMA_APB_I_SRAM_4_H_R_W::new(self, 27) } #[doc = "Bit 28 - Setting to 1 grants internal DMA permission to write SRAM Block 4-21 high address region."] #[inline(always)] - #[must_use] pub fn dma_apb_i_sram_4_h_w(&mut self) -> DMA_APB_I_SRAM_4_H_W_W { DMA_APB_I_SRAM_4_H_W_W::new(self, 28) } diff --git a/esp32s2/src/pms/dma_apb_i_2.rs b/esp32s2/src/pms/dma_apb_i_2.rs index be8bd78c88..53e0e67dca 100644 --- a/esp32s2/src/pms/dma_apb_i_2.rs +++ b/esp32s2/src/pms/dma_apb_i_2.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The clear signal for internal DMA access interrupt."] #[inline(always)] - #[must_use] pub fn dma_apb_i_ilg_clr(&mut self) -> DMA_APB_I_ILG_CLR_W { DMA_APB_I_ILG_CLR_W::new(self, 0) } #[doc = "Bit 1 - The enable signal for internal DMA access interrupt."] #[inline(always)] - #[must_use] pub fn dma_apb_i_ilg_en(&mut self) -> DMA_APB_I_ILG_EN_W { DMA_APB_I_ILG_EN_W::new(self, 1) } diff --git a/esp32s2/src/pms/dma_rx_i_0.rs b/esp32s2/src/pms/dma_rx_i_0.rs index 1e601a0932..23918d66ba 100644 --- a/esp32s2/src/pms/dma_rx_i_0.rs +++ b/esp32s2/src/pms/dma_rx_i_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Lock register. Setting to 1 locks RX Copy DMA permission control registers."] #[inline(always)] - #[must_use] pub fn dma_rx_i_lock(&mut self) -> DMA_RX_I_LOCK_W { DMA_RX_I_LOCK_W::new(self, 0) } diff --git a/esp32s2/src/pms/dma_rx_i_1.rs b/esp32s2/src/pms/dma_rx_i_1.rs index aa85a6947f..abf3911a5d 100644 --- a/esp32s2/src/pms/dma_rx_i_1.rs +++ b/esp32s2/src/pms/dma_rx_i_1.rs @@ -144,79 +144,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Setting to 1 grants RX Copy DMA permission to read SRAM Block 0."] #[inline(always)] - #[must_use] pub fn dma_rx_i_sram_0_r(&mut self) -> DMA_RX_I_SRAM_0_R_W { DMA_RX_I_SRAM_0_R_W::new(self, 0) } #[doc = "Bit 1 - Setting to 1 grants RX Copy DMA permission to write SRAM Block 0."] #[inline(always)] - #[must_use] pub fn dma_rx_i_sram_0_w(&mut self) -> DMA_RX_I_SRAM_0_W_W { DMA_RX_I_SRAM_0_W_W::new(self, 1) } #[doc = "Bit 2 - Setting to 1 grants RX Copy DMA permission to read SRAM Block 1."] #[inline(always)] - #[must_use] pub fn dma_rx_i_sram_1_r(&mut self) -> DMA_RX_I_SRAM_1_R_W { DMA_RX_I_SRAM_1_R_W::new(self, 2) } #[doc = "Bit 3 - Setting to 1 grants RX Copy DMA permission to write SRAM Block 1."] #[inline(always)] - #[must_use] pub fn dma_rx_i_sram_1_w(&mut self) -> DMA_RX_I_SRAM_1_W_W { DMA_RX_I_SRAM_1_W_W::new(self, 3) } #[doc = "Bit 4 - Setting to 1 grants RX Copy DMA permission to read SRAM Block 2."] #[inline(always)] - #[must_use] pub fn dma_rx_i_sram_2_r(&mut self) -> DMA_RX_I_SRAM_2_R_W { DMA_RX_I_SRAM_2_R_W::new(self, 4) } #[doc = "Bit 5 - Setting to 1 grants RX Copy DMA permission to write SRAM Block 2."] #[inline(always)] - #[must_use] pub fn dma_rx_i_sram_2_w(&mut self) -> DMA_RX_I_SRAM_2_W_W { DMA_RX_I_SRAM_2_W_W::new(self, 5) } #[doc = "Bit 6 - Setting to 1 grants RX Copy DMA permission to read SRAM Block 3."] #[inline(always)] - #[must_use] pub fn dma_rx_i_sram_3_r(&mut self) -> DMA_RX_I_SRAM_3_R_W { DMA_RX_I_SRAM_3_R_W::new(self, 6) } #[doc = "Bit 7 - Setting to 1 grants RX Copy DMA permission to write SRAM Block 3."] #[inline(always)] - #[must_use] pub fn dma_rx_i_sram_3_w(&mut self) -> DMA_RX_I_SRAM_3_W_W { DMA_RX_I_SRAM_3_W_W::new(self, 7) } #[doc = "Bits 8:24 - Configure the split address of SRAM Block 4-21 for RX Copy DMA access."] #[inline(always)] - #[must_use] pub fn dma_rx_i_sram_4_spltaddr(&mut self) -> DMA_RX_I_SRAM_4_SPLTADDR_W { DMA_RX_I_SRAM_4_SPLTADDR_W::new(self, 8) } #[doc = "Bit 25 - Setting to 1 grants RX Copy DMA permission to read SRAM Block 4-21 low address region."] #[inline(always)] - #[must_use] pub fn dma_rx_i_sram_4_l_r(&mut self) -> DMA_RX_I_SRAM_4_L_R_W { DMA_RX_I_SRAM_4_L_R_W::new(self, 25) } #[doc = "Bit 26 - Setting to 1 grants RX Copy DMA permission to write SRAM Block 4-21 low address region."] #[inline(always)] - #[must_use] pub fn dma_rx_i_sram_4_l_w(&mut self) -> DMA_RX_I_SRAM_4_L_W_W { DMA_RX_I_SRAM_4_L_W_W::new(self, 26) } #[doc = "Bit 27 - Setting to 1 grants RX Copy DMA permission to read SRAM Block 4-21 high address region."] #[inline(always)] - #[must_use] pub fn dma_rx_i_sram_4_h_r(&mut self) -> DMA_RX_I_SRAM_4_H_R_W { DMA_RX_I_SRAM_4_H_R_W::new(self, 27) } #[doc = "Bit 28 - Setting to 1 grants RX Copy DMA permission to write SRAM Block 4~21 high address region."] #[inline(always)] - #[must_use] pub fn dma_rx_i_sram_4_h_w(&mut self) -> DMA_RX_I_SRAM_4_H_W_W { DMA_RX_I_SRAM_4_H_W_W::new(self, 28) } diff --git a/esp32s2/src/pms/dma_rx_i_2.rs b/esp32s2/src/pms/dma_rx_i_2.rs index 0c261ee8fb..4fe19ba73a 100644 --- a/esp32s2/src/pms/dma_rx_i_2.rs +++ b/esp32s2/src/pms/dma_rx_i_2.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The clear signal for RX Copy DMA access interrupt."] #[inline(always)] - #[must_use] pub fn dma_rx_i_ilg_clr(&mut self) -> DMA_RX_I_ILG_CLR_W { DMA_RX_I_ILG_CLR_W::new(self, 0) } #[doc = "Bit 1 - The enable signal for RX Copy DMA access interrupt."] #[inline(always)] - #[must_use] pub fn dma_rx_i_ilg_en(&mut self) -> DMA_RX_I_ILG_EN_W { DMA_RX_I_ILG_EN_W::new(self, 1) } diff --git a/esp32s2/src/pms/dma_tx_i_0.rs b/esp32s2/src/pms/dma_tx_i_0.rs index 7b073d7f19..3b93560bf6 100644 --- a/esp32s2/src/pms/dma_tx_i_0.rs +++ b/esp32s2/src/pms/dma_tx_i_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Lock register. Setting to 1 locks TX Copy DMA permission control registers."] #[inline(always)] - #[must_use] pub fn dma_tx_i_lock(&mut self) -> DMA_TX_I_LOCK_W { DMA_TX_I_LOCK_W::new(self, 0) } diff --git a/esp32s2/src/pms/dma_tx_i_1.rs b/esp32s2/src/pms/dma_tx_i_1.rs index 6962795456..25b72ed9b3 100644 --- a/esp32s2/src/pms/dma_tx_i_1.rs +++ b/esp32s2/src/pms/dma_tx_i_1.rs @@ -144,79 +144,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Setting to 1 grants TX Copy DMA permission to read SRAM Block 0."] #[inline(always)] - #[must_use] pub fn dma_tx_i_sram_0_r(&mut self) -> DMA_TX_I_SRAM_0_R_W { DMA_TX_I_SRAM_0_R_W::new(self, 0) } #[doc = "Bit 1 - Setting to 1 grants TX Copy DMA permission to write SRAM Block 0."] #[inline(always)] - #[must_use] pub fn dma_tx_i_sram_0_w(&mut self) -> DMA_TX_I_SRAM_0_W_W { DMA_TX_I_SRAM_0_W_W::new(self, 1) } #[doc = "Bit 2 - Setting to 1 grants TX Copy DMA permission to read SRAM Block 1."] #[inline(always)] - #[must_use] pub fn dma_tx_i_sram_1_r(&mut self) -> DMA_TX_I_SRAM_1_R_W { DMA_TX_I_SRAM_1_R_W::new(self, 2) } #[doc = "Bit 3 - Setting to 1 grants TX Copy DMA permission to write SRAM Block 1."] #[inline(always)] - #[must_use] pub fn dma_tx_i_sram_1_w(&mut self) -> DMA_TX_I_SRAM_1_W_W { DMA_TX_I_SRAM_1_W_W::new(self, 3) } #[doc = "Bit 4 - Setting to 1 grants TX Copy DMA permission to read SRAM Block 2."] #[inline(always)] - #[must_use] pub fn dma_tx_i_sram_2_r(&mut self) -> DMA_TX_I_SRAM_2_R_W { DMA_TX_I_SRAM_2_R_W::new(self, 4) } #[doc = "Bit 5 - Setting to 1 grants TX Copy DMA permission to write SRAM Block 2."] #[inline(always)] - #[must_use] pub fn dma_tx_i_sram_2_w(&mut self) -> DMA_TX_I_SRAM_2_W_W { DMA_TX_I_SRAM_2_W_W::new(self, 5) } #[doc = "Bit 6 - Setting to 1 grants TX Copy DMA permission to read SRAM Block 3."] #[inline(always)] - #[must_use] pub fn dma_tx_i_sram_3_r(&mut self) -> DMA_TX_I_SRAM_3_R_W { DMA_TX_I_SRAM_3_R_W::new(self, 6) } #[doc = "Bit 7 - Setting to 1 grants TX Copy DMA permission to write SRAM Block 3."] #[inline(always)] - #[must_use] pub fn dma_tx_i_sram_3_w(&mut self) -> DMA_TX_I_SRAM_3_W_W { DMA_TX_I_SRAM_3_W_W::new(self, 7) } #[doc = "Bits 8:24 - Configure the split address of SRAM Block 4-21 for TX Copy DMA access."] #[inline(always)] - #[must_use] pub fn dma_tx_i_sram_4_spltaddr(&mut self) -> DMA_TX_I_SRAM_4_SPLTADDR_W { DMA_TX_I_SRAM_4_SPLTADDR_W::new(self, 8) } #[doc = "Bit 25 - Setting to 1 grants TX Copy DMA permission to read SRAM Block 4-21 low address region."] #[inline(always)] - #[must_use] pub fn dma_tx_i_sram_4_l_r(&mut self) -> DMA_TX_I_SRAM_4_L_R_W { DMA_TX_I_SRAM_4_L_R_W::new(self, 25) } #[doc = "Bit 26 - Setting to 1 grants TX Copy DMA permission to write SRAM Block 4-21 low address region."] #[inline(always)] - #[must_use] pub fn dma_tx_i_sram_4_l_w(&mut self) -> DMA_TX_I_SRAM_4_L_W_W { DMA_TX_I_SRAM_4_L_W_W::new(self, 26) } #[doc = "Bit 27 - Setting to 1 grants TX Copy DMA permission to read SRAM Block 4-21 high address region."] #[inline(always)] - #[must_use] pub fn dma_tx_i_sram_4_h_r(&mut self) -> DMA_TX_I_SRAM_4_H_R_W { DMA_TX_I_SRAM_4_H_R_W::new(self, 27) } #[doc = "Bit 28 - Setting to 1 grants TX Copy DMA permission to write SRAM Block 4-21 high address region."] #[inline(always)] - #[must_use] pub fn dma_tx_i_sram_4_h_w(&mut self) -> DMA_TX_I_SRAM_4_H_W_W { DMA_TX_I_SRAM_4_H_W_W::new(self, 28) } diff --git a/esp32s2/src/pms/dma_tx_i_2.rs b/esp32s2/src/pms/dma_tx_i_2.rs index 93cea676d3..8e80d3b934 100644 --- a/esp32s2/src/pms/dma_tx_i_2.rs +++ b/esp32s2/src/pms/dma_tx_i_2.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The clear signal for TX Copy DMA access interrupt."] #[inline(always)] - #[must_use] pub fn dma_tx_i_ilg_clr(&mut self) -> DMA_TX_I_ILG_CLR_W { DMA_TX_I_ILG_CLR_W::new(self, 0) } #[doc = "Bit 1 - The enable signal for TX Copy DMA access interrupt."] #[inline(always)] - #[must_use] pub fn dma_tx_i_ilg_en(&mut self) -> DMA_TX_I_ILG_EN_W { DMA_TX_I_ILG_EN_W::new(self, 1) } diff --git a/esp32s2/src/pms/mac_dump_0.rs b/esp32s2/src/pms/mac_dump_0.rs index e6fa6c1ba8..4e86092c69 100644 --- a/esp32s2/src/pms/mac_dump_0.rs +++ b/esp32s2/src/pms/mac_dump_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Lock register. Setting to 1 locks MAC dump permission control registers."] #[inline(always)] - #[must_use] pub fn mac_dump_lock(&mut self) -> MAC_DUMP_LOCK_W { MAC_DUMP_LOCK_W::new(self, 0) } diff --git a/esp32s2/src/pms/mac_dump_1.rs b/esp32s2/src/pms/mac_dump_1.rs index 547ef5a6db..65b68fc60b 100644 --- a/esp32s2/src/pms/mac_dump_1.rs +++ b/esp32s2/src/pms/mac_dump_1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - Configure MAC dump connection."] #[inline(always)] - #[must_use] pub fn mac_dump_connect(&mut self) -> MAC_DUMP_CONNECT_W { MAC_DUMP_CONNECT_W::new(self, 0) } diff --git a/esp32s2/src/pms/occupy_0.rs b/esp32s2/src/pms/occupy_0.rs index 49b842f2d3..3880edd510 100644 --- a/esp32s2/src/pms/occupy_0.rs +++ b/esp32s2/src/pms/occupy_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Lock register. Setting to 1 locks occupy permission control registers."] #[inline(always)] - #[must_use] pub fn occupy_lock(&mut self) -> OCCUPY_LOCK_W { OCCUPY_LOCK_W::new(self, 0) } diff --git a/esp32s2/src/pms/occupy_1.rs b/esp32s2/src/pms/occupy_1.rs index 351b6ed6e8..384b42ae72 100644 --- a/esp32s2/src/pms/occupy_1.rs +++ b/esp32s2/src/pms/occupy_1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Configure whether SRAM Block 0-3 is used as cache memory."] #[inline(always)] - #[must_use] pub fn occupy_cache(&mut self) -> OCCUPY_CACHE_W { OCCUPY_CACHE_W::new(self, 0) } diff --git a/esp32s2/src/pms/occupy_2.rs b/esp32s2/src/pms/occupy_2.rs index 24ecf51483..9ffd45fe18 100644 --- a/esp32s2/src/pms/occupy_2.rs +++ b/esp32s2/src/pms/occupy_2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Configure whether SRAM Block 18-21 is used as mac dump."] #[inline(always)] - #[must_use] pub fn occupy_mac_dump(&mut self) -> OCCUPY_MAC_DUMP_W { OCCUPY_MAC_DUMP_W::new(self, 0) } diff --git a/esp32s2/src/pms/occupy_3.rs b/esp32s2/src/pms/occupy_3.rs index d5843c6e15..5951a18ac1 100644 --- a/esp32s2/src/pms/occupy_3.rs +++ b/esp32s2/src/pms/occupy_3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:17 - Configure one block of SRAM Block 4-21 is used as trace memory."] #[inline(always)] - #[must_use] pub fn occupy_pro_trace(&mut self) -> OCCUPY_PRO_TRACE_W { OCCUPY_PRO_TRACE_W::new(self, 0) } diff --git a/esp32s2/src/pms/pro_ahb_0.rs b/esp32s2/src/pms/pro_ahb_0.rs index 7fbf7b29af..44512de581 100644 --- a/esp32s2/src/pms/pro_ahb_0.rs +++ b/esp32s2/src/pms/pro_ahb_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Lock register. Setting to 1 locks PeriBus2 permission control registers."] #[inline(always)] - #[must_use] pub fn pro_ahb_lock(&mut self) -> PRO_AHB_LOCK_W { PRO_AHB_LOCK_W::new(self, 0) } diff --git a/esp32s2/src/pms/pro_ahb_1.rs b/esp32s2/src/pms/pro_ahb_1.rs index d73da51c54..66c3879349 100644 --- a/esp32s2/src/pms/pro_ahb_1.rs +++ b/esp32s2/src/pms/pro_ahb_1.rs @@ -87,43 +87,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - Configure the split address of RTCSlow_0 for PeriBus2 access."] #[inline(always)] - #[must_use] pub fn pro_ahb_rtcslow_0_spltaddr(&mut self) -> PRO_AHB_RTCSLOW_0_SPLTADDR_W { PRO_AHB_RTCSLOW_0_SPLTADDR_W::new(self, 0) } #[doc = "Bit 11 - Setting to 1 grants PeriBus2 permission to fetch RTCSlow_0 low address region."] #[inline(always)] - #[must_use] pub fn pro_ahb_rtcslow_0_l_f(&mut self) -> PRO_AHB_RTCSLOW_0_L_F_W { PRO_AHB_RTCSLOW_0_L_F_W::new(self, 11) } #[doc = "Bit 12 - Setting to 1 grants PeriBus2 permission to read RTCSlow_0 low address region."] #[inline(always)] - #[must_use] pub fn pro_ahb_rtcslow_0_l_r(&mut self) -> PRO_AHB_RTCSLOW_0_L_R_W { PRO_AHB_RTCSLOW_0_L_R_W::new(self, 12) } #[doc = "Bit 13 - Setting to 1 grants PeriBus2 permission to write RTCSlow_0 low address region."] #[inline(always)] - #[must_use] pub fn pro_ahb_rtcslow_0_l_w(&mut self) -> PRO_AHB_RTCSLOW_0_L_W_W { PRO_AHB_RTCSLOW_0_L_W_W::new(self, 13) } #[doc = "Bit 14 - Setting to 1 grants PeriBus2 permission to fetch RTCSlow_0 high address region."] #[inline(always)] - #[must_use] pub fn pro_ahb_rtcslow_0_h_f(&mut self) -> PRO_AHB_RTCSLOW_0_H_F_W { PRO_AHB_RTCSLOW_0_H_F_W::new(self, 14) } #[doc = "Bit 15 - Setting to 1 grants PeriBus2 permission to read RTCSlow_0 high address region."] #[inline(always)] - #[must_use] pub fn pro_ahb_rtcslow_0_h_r(&mut self) -> PRO_AHB_RTCSLOW_0_H_R_W { PRO_AHB_RTCSLOW_0_H_R_W::new(self, 15) } #[doc = "Bit 16 - Setting to 1 grants PeriBus2 permission to write RTCSlow_0 high address region."] #[inline(always)] - #[must_use] pub fn pro_ahb_rtcslow_0_h_w(&mut self) -> PRO_AHB_RTCSLOW_0_H_W_W { PRO_AHB_RTCSLOW_0_H_W_W::new(self, 16) } diff --git a/esp32s2/src/pms/pro_ahb_2.rs b/esp32s2/src/pms/pro_ahb_2.rs index 2c55a377b5..a55019a016 100644 --- a/esp32s2/src/pms/pro_ahb_2.rs +++ b/esp32s2/src/pms/pro_ahb_2.rs @@ -87,43 +87,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - Configure the split address of RTCSlow_1 for PeriBus2 access."] #[inline(always)] - #[must_use] pub fn pro_ahb_rtcslow_1_spltaddr(&mut self) -> PRO_AHB_RTCSLOW_1_SPLTADDR_W { PRO_AHB_RTCSLOW_1_SPLTADDR_W::new(self, 0) } #[doc = "Bit 11 - Setting to 1 grants PeriBus2 permission to fetch RTCSlow_1 low address region."] #[inline(always)] - #[must_use] pub fn pro_ahb_rtcslow_1_l_f(&mut self) -> PRO_AHB_RTCSLOW_1_L_F_W { PRO_AHB_RTCSLOW_1_L_F_W::new(self, 11) } #[doc = "Bit 12 - Setting to 1 grants PeriBus2 permission to read RTCSlow_1 low address region."] #[inline(always)] - #[must_use] pub fn pro_ahb_rtcslow_1_l_r(&mut self) -> PRO_AHB_RTCSLOW_1_L_R_W { PRO_AHB_RTCSLOW_1_L_R_W::new(self, 12) } #[doc = "Bit 13 - Setting to 1 grants PeriBus2 permission to write RTCSlow_1 low address region."] #[inline(always)] - #[must_use] pub fn pro_ahb_rtcslow_1_l_w(&mut self) -> PRO_AHB_RTCSLOW_1_L_W_W { PRO_AHB_RTCSLOW_1_L_W_W::new(self, 13) } #[doc = "Bit 14 - Setting to 1 grants PeriBus2 permission to fetch RTCSlow_1 high address region."] #[inline(always)] - #[must_use] pub fn pro_ahb_rtcslow_1_h_f(&mut self) -> PRO_AHB_RTCSLOW_1_H_F_W { PRO_AHB_RTCSLOW_1_H_F_W::new(self, 14) } #[doc = "Bit 15 - Setting to 1 grants PeriBus2 permission to read RTCSlow_1 high address region."] #[inline(always)] - #[must_use] pub fn pro_ahb_rtcslow_1_h_r(&mut self) -> PRO_AHB_RTCSLOW_1_H_R_W { PRO_AHB_RTCSLOW_1_H_R_W::new(self, 15) } #[doc = "Bit 16 - Setting to 1 grants PeriBus2 permission to write RTCSlow_1 high address region."] #[inline(always)] - #[must_use] pub fn pro_ahb_rtcslow_1_h_w(&mut self) -> PRO_AHB_RTCSLOW_1_H_W_W { PRO_AHB_RTCSLOW_1_H_W_W::new(self, 16) } diff --git a/esp32s2/src/pms/pro_ahb_3.rs b/esp32s2/src/pms/pro_ahb_3.rs index 3ae7194f58..09dbb14ae7 100644 --- a/esp32s2/src/pms/pro_ahb_3.rs +++ b/esp32s2/src/pms/pro_ahb_3.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The clear signal for PeriBus2 access interrupt."] #[inline(always)] - #[must_use] pub fn pro_ahb_ilg_clr(&mut self) -> PRO_AHB_ILG_CLR_W { PRO_AHB_ILG_CLR_W::new(self, 0) } #[doc = "Bit 1 - The enable signal for PeriBus2 access interrupt."] #[inline(always)] - #[must_use] pub fn pro_ahb_ilg_en(&mut self) -> PRO_AHB_ILG_EN_W { PRO_AHB_ILG_EN_W::new(self, 1) } diff --git a/esp32s2/src/pms/pro_boot_location_0.rs b/esp32s2/src/pms/pro_boot_location_0.rs index f1b322b474..7c136aa573 100644 --- a/esp32s2/src/pms/pro_boot_location_0.rs +++ b/esp32s2/src/pms/pro_boot_location_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Lock register. Setting to 1 locks boot remap permission control registers."] #[inline(always)] - #[must_use] pub fn pro_boot_location_lock(&mut self) -> PRO_BOOT_LOCATION_LOCK_W { PRO_BOOT_LOCATION_LOCK_W::new(self, 0) } diff --git a/esp32s2/src/pms/pro_boot_location_1.rs b/esp32s2/src/pms/pro_boot_location_1.rs index 9aaf892fe8..69e8f43e41 100644 --- a/esp32s2/src/pms/pro_boot_location_1.rs +++ b/esp32s2/src/pms/pro_boot_location_1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - If set to 1, enable boot remap function."] #[inline(always)] - #[must_use] pub fn pro_boot_remap(&mut self) -> PRO_BOOT_REMAP_W { PRO_BOOT_REMAP_W::new(self, 0) } diff --git a/esp32s2/src/pms/pro_cache_0.rs b/esp32s2/src/pms/pro_cache_0.rs index e25fe017a6..bbde8cc4a9 100644 --- a/esp32s2/src/pms/pro_cache_0.rs +++ b/esp32s2/src/pms/pro_cache_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Lock register. Setting to 1 locks cache permission control registers."] #[inline(always)] - #[must_use] pub fn pro_cache_lock(&mut self) -> PRO_CACHE_LOCK_W { PRO_CACHE_LOCK_W::new(self, 0) } diff --git a/esp32s2/src/pms/pro_cache_1.rs b/esp32s2/src/pms/pro_cache_1.rs index eeee600e0c..ec1327c6e8 100644 --- a/esp32s2/src/pms/pro_cache_1.rs +++ b/esp32s2/src/pms/pro_cache_1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Configure which SRAM Block will be occupied by Icache or Dcache."] #[inline(always)] - #[must_use] pub fn pro_cache_connect(&mut self) -> PRO_CACHE_CONNECT_W { PRO_CACHE_CONNECT_W::new(self, 0) } diff --git a/esp32s2/src/pms/pro_cache_2.rs b/esp32s2/src/pms/pro_cache_2.rs index 2cd633fe21..26b7aed065 100644 --- a/esp32s2/src/pms/pro_cache_2.rs +++ b/esp32s2/src/pms/pro_cache_2.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The clear signal for cache access interrupt."] #[inline(always)] - #[must_use] pub fn pro_cache_ilg_clr(&mut self) -> PRO_CACHE_ILG_CLR_W { PRO_CACHE_ILG_CLR_W::new(self, 0) } #[doc = "Bit 1 - The enable signal for cache access interrupt."] #[inline(always)] - #[must_use] pub fn pro_cache_ilg_en(&mut self) -> PRO_CACHE_ILG_EN_W { PRO_CACHE_ILG_EN_W::new(self, 1) } diff --git a/esp32s2/src/pms/pro_dport_0.rs b/esp32s2/src/pms/pro_dport_0.rs index c425ac7f27..be7b28cf75 100644 --- a/esp32s2/src/pms/pro_dport_0.rs +++ b/esp32s2/src/pms/pro_dport_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Lock register. Setting to 1 locks PeriBus1 permission control registers."] #[inline(always)] - #[must_use] pub fn pro_dport_lock(&mut self) -> PRO_DPORT_LOCK_W { PRO_DPORT_LOCK_W::new(self, 0) } diff --git a/esp32s2/src/pms/pro_dport_1.rs b/esp32s2/src/pms/pro_dport_1.rs index b9d6e8f7c9..074d1d3a46 100644 --- a/esp32s2/src/pms/pro_dport_1.rs +++ b/esp32s2/src/pms/pro_dport_1.rs @@ -93,7 +93,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Setting to 1 denies PeriBus1 bus???s access to APB peripheral."] #[inline(always)] - #[must_use] pub fn pro_dport_apb_peripheral_forbid( &mut self, ) -> PRO_DPORT_APB_PERIPHERAL_FORBID_W { @@ -101,37 +100,31 @@ impl W { } #[doc = "Bits 1:11 - Configure the split address of RTC FAST for PeriBus1 access."] #[inline(always)] - #[must_use] pub fn pro_dport_rtcslow_spltaddr(&mut self) -> PRO_DPORT_RTCSLOW_SPLTADDR_W { PRO_DPORT_RTCSLOW_SPLTADDR_W::new(self, 1) } #[doc = "Bit 12 - Setting to 1 grants PeriBus1 permission to read RTC FAST low address region."] #[inline(always)] - #[must_use] pub fn pro_dport_rtcslow_l_r(&mut self) -> PRO_DPORT_RTCSLOW_L_R_W { PRO_DPORT_RTCSLOW_L_R_W::new(self, 12) } #[doc = "Bit 13 - Setting to 1 grants PeriBus1 permission to write RTC FAST low address region."] #[inline(always)] - #[must_use] pub fn pro_dport_rtcslow_l_w(&mut self) -> PRO_DPORT_RTCSLOW_L_W_W { PRO_DPORT_RTCSLOW_L_W_W::new(self, 13) } #[doc = "Bit 14 - Setting to 1 grants PeriBus1 permission to read RTC FAST high address region."] #[inline(always)] - #[must_use] pub fn pro_dport_rtcslow_h_r(&mut self) -> PRO_DPORT_RTCSLOW_H_R_W { PRO_DPORT_RTCSLOW_H_R_W::new(self, 14) } #[doc = "Bit 15 - Setting to 1 grants PeriBus1 permission to write RTC FAST high address region."] #[inline(always)] - #[must_use] pub fn pro_dport_rtcslow_h_w(&mut self) -> PRO_DPORT_RTCSLOW_H_W_W { PRO_DPORT_RTCSLOW_H_W_W::new(self, 15) } #[doc = "Bits 16:19 - Configure whether to enable read protection for user-configured FIFO address."] #[inline(always)] - #[must_use] pub fn pro_dport_reserve_fifo_valid( &mut self, ) -> PRO_DPORT_RESERVE_FIFO_VALID_W { diff --git a/esp32s2/src/pms/pro_dport_2.rs b/esp32s2/src/pms/pro_dport_2.rs index 8c6c145d30..42bb5580c1 100644 --- a/esp32s2/src/pms/pro_dport_2.rs +++ b/esp32s2/src/pms/pro_dport_2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:17 - Configure read-protection address 0."] #[inline(always)] - #[must_use] pub fn pro_dport_reserve_fifo_0(&mut self) -> PRO_DPORT_RESERVE_FIFO_0_W { PRO_DPORT_RESERVE_FIFO_0_W::new(self, 0) } diff --git a/esp32s2/src/pms/pro_dport_3.rs b/esp32s2/src/pms/pro_dport_3.rs index 3c4ea2ccdb..8cc9c2fec1 100644 --- a/esp32s2/src/pms/pro_dport_3.rs +++ b/esp32s2/src/pms/pro_dport_3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:17 - Configure read-protection address 1."] #[inline(always)] - #[must_use] pub fn pro_dport_reserve_fifo_1(&mut self) -> PRO_DPORT_RESERVE_FIFO_1_W { PRO_DPORT_RESERVE_FIFO_1_W::new(self, 0) } diff --git a/esp32s2/src/pms/pro_dport_4.rs b/esp32s2/src/pms/pro_dport_4.rs index 52016c0419..38584dc29d 100644 --- a/esp32s2/src/pms/pro_dport_4.rs +++ b/esp32s2/src/pms/pro_dport_4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:17 - Configure read-protection address 2."] #[inline(always)] - #[must_use] pub fn pro_dport_reserve_fifo_2(&mut self) -> PRO_DPORT_RESERVE_FIFO_2_W { PRO_DPORT_RESERVE_FIFO_2_W::new(self, 0) } diff --git a/esp32s2/src/pms/pro_dport_5.rs b/esp32s2/src/pms/pro_dport_5.rs index f08c0c397d..61cf23e9af 100644 --- a/esp32s2/src/pms/pro_dport_5.rs +++ b/esp32s2/src/pms/pro_dport_5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:17 - Configure read-protection address 3."] #[inline(always)] - #[must_use] pub fn pro_dport_reserve_fifo_3(&mut self) -> PRO_DPORT_RESERVE_FIFO_3_W { PRO_DPORT_RESERVE_FIFO_3_W::new(self, 0) } diff --git a/esp32s2/src/pms/pro_dport_6.rs b/esp32s2/src/pms/pro_dport_6.rs index d62175d72d..d3b749168a 100644 --- a/esp32s2/src/pms/pro_dport_6.rs +++ b/esp32s2/src/pms/pro_dport_6.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The clear signal for PeriBus1 access interrupt."] #[inline(always)] - #[must_use] pub fn pro_dport_ilg_clr(&mut self) -> PRO_DPORT_ILG_CLR_W { PRO_DPORT_ILG_CLR_W::new(self, 0) } #[doc = "Bit 1 - The enable signal for PeriBus1 access interrupt."] #[inline(always)] - #[must_use] pub fn pro_dport_ilg_en(&mut self) -> PRO_DPORT_ILG_EN_W { PRO_DPORT_ILG_EN_W::new(self, 1) } diff --git a/esp32s2/src/pms/pro_dram0_0.rs b/esp32s2/src/pms/pro_dram0_0.rs index 93ed2d4f2a..7ab57e7b1b 100644 --- a/esp32s2/src/pms/pro_dram0_0.rs +++ b/esp32s2/src/pms/pro_dram0_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Lock register. Setting to 1 locks DBUS0 permission control registers."] #[inline(always)] - #[must_use] pub fn pro_dram0_lock(&mut self) -> PRO_DRAM0_LOCK_W { PRO_DRAM0_LOCK_W::new(self, 0) } diff --git a/esp32s2/src/pms/pro_dram0_1.rs b/esp32s2/src/pms/pro_dram0_1.rs index bd8d910939..6ab9166cfc 100644 --- a/esp32s2/src/pms/pro_dram0_1.rs +++ b/esp32s2/src/pms/pro_dram0_1.rs @@ -147,79 +147,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Setting to 1 grants DBUS0 permission to read SRAM Block 0."] #[inline(always)] - #[must_use] pub fn pro_dram0_sram_0_r(&mut self) -> PRO_DRAM0_SRAM_0_R_W { PRO_DRAM0_SRAM_0_R_W::new(self, 0) } #[doc = "Bit 1 - Setting to 1 grants DBUS0 permission to write SRAM Block 0."] #[inline(always)] - #[must_use] pub fn pro_dram0_sram_0_w(&mut self) -> PRO_DRAM0_SRAM_0_W_W { PRO_DRAM0_SRAM_0_W_W::new(self, 1) } #[doc = "Bit 2 - Setting to 1 grants DBUS0 permission to read SRAM Block 1."] #[inline(always)] - #[must_use] pub fn pro_dram0_sram_1_r(&mut self) -> PRO_DRAM0_SRAM_1_R_W { PRO_DRAM0_SRAM_1_R_W::new(self, 2) } #[doc = "Bit 3 - Setting to 1 grants DBUS0 permission to write SRAM Block 1."] #[inline(always)] - #[must_use] pub fn pro_dram0_sram_1_w(&mut self) -> PRO_DRAM0_SRAM_1_W_W { PRO_DRAM0_SRAM_1_W_W::new(self, 3) } #[doc = "Bit 4 - Setting to 1 grants DBUS0 permission to read SRAM Block 2."] #[inline(always)] - #[must_use] pub fn pro_dram0_sram_2_r(&mut self) -> PRO_DRAM0_SRAM_2_R_W { PRO_DRAM0_SRAM_2_R_W::new(self, 4) } #[doc = "Bit 5 - Setting to 1 grants DBUS0 permission to write SRAM Block 2."] #[inline(always)] - #[must_use] pub fn pro_dram0_sram_2_w(&mut self) -> PRO_DRAM0_SRAM_2_W_W { PRO_DRAM0_SRAM_2_W_W::new(self, 5) } #[doc = "Bit 6 - Setting to 1 grants DBUS0 permission to read SRAM Block 3."] #[inline(always)] - #[must_use] pub fn pro_dram0_sram_3_r(&mut self) -> PRO_DRAM0_SRAM_3_R_W { PRO_DRAM0_SRAM_3_R_W::new(self, 6) } #[doc = "Bit 7 - Setting to 1 grants DBUS0 permission to write SRAM Block 3."] #[inline(always)] - #[must_use] pub fn pro_dram0_sram_3_w(&mut self) -> PRO_DRAM0_SRAM_3_W_W { PRO_DRAM0_SRAM_3_W_W::new(self, 7) } #[doc = "Bits 8:24 - Configure the split address of SRAM Block 4-21 for DBUS0 access."] #[inline(always)] - #[must_use] pub fn pro_dram0_sram_4_spltaddr(&mut self) -> PRO_DRAM0_SRAM_4_SPLTADDR_W { PRO_DRAM0_SRAM_4_SPLTADDR_W::new(self, 8) } #[doc = "Bit 25 - Setting to 1 grants DBUS0 permission to read SRAM Block 4-21 low address region."] #[inline(always)] - #[must_use] pub fn pro_dram0_sram_4_l_r(&mut self) -> PRO_DRAM0_SRAM_4_L_R_W { PRO_DRAM0_SRAM_4_L_R_W::new(self, 25) } #[doc = "Bit 26 - Setting to 1 grants DBUS0 permission to write SRAM Block 4-21 low address region."] #[inline(always)] - #[must_use] pub fn pro_dram0_sram_4_l_w(&mut self) -> PRO_DRAM0_SRAM_4_L_W_W { PRO_DRAM0_SRAM_4_L_W_W::new(self, 26) } #[doc = "Bit 27 - Setting to 1 grants DBUS0 permission to read SRAM Block 4-21 high address region."] #[inline(always)] - #[must_use] pub fn pro_dram0_sram_4_h_r(&mut self) -> PRO_DRAM0_SRAM_4_H_R_W { PRO_DRAM0_SRAM_4_H_R_W::new(self, 27) } #[doc = "Bit 28 - Setting to 1 grants DBUS0 permission to write SRAM Block 4-21 high address region."] #[inline(always)] - #[must_use] pub fn pro_dram0_sram_4_h_w(&mut self) -> PRO_DRAM0_SRAM_4_H_W_W { PRO_DRAM0_SRAM_4_H_W_W::new(self, 28) } diff --git a/esp32s2/src/pms/pro_dram0_2.rs b/esp32s2/src/pms/pro_dram0_2.rs index 46cb9c80c1..acd649fcbb 100644 --- a/esp32s2/src/pms/pro_dram0_2.rs +++ b/esp32s2/src/pms/pro_dram0_2.rs @@ -67,31 +67,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - Configure the split address of RTC FAST for DBUS0 access."] #[inline(always)] - #[must_use] pub fn pro_dram0_rtcfast_spltaddr(&mut self) -> PRO_DRAM0_RTCFAST_SPLTADDR_W { PRO_DRAM0_RTCFAST_SPLTADDR_W::new(self, 0) } #[doc = "Bit 11 - Setting to 1 grants DBUS0 permission to read RTC FAST low address region."] #[inline(always)] - #[must_use] pub fn pro_dram0_rtcfast_l_r(&mut self) -> PRO_DRAM0_RTCFAST_L_R_W { PRO_DRAM0_RTCFAST_L_R_W::new(self, 11) } #[doc = "Bit 12 - Setting to 1 grants DBUS0 permission to write RTC FAST low address region."] #[inline(always)] - #[must_use] pub fn pro_dram0_rtcfast_l_w(&mut self) -> PRO_DRAM0_RTCFAST_L_W_W { PRO_DRAM0_RTCFAST_L_W_W::new(self, 12) } #[doc = "Bit 13 - Setting to 1 grants DBUS0 permission to read RTC FAST high address region."] #[inline(always)] - #[must_use] pub fn pro_dram0_rtcfast_h_r(&mut self) -> PRO_DRAM0_RTCFAST_H_R_W { PRO_DRAM0_RTCFAST_H_R_W::new(self, 13) } #[doc = "Bit 14 - Setting to 1 grants DBUS0 permission to write RTC FAST high address region."] #[inline(always)] - #[must_use] pub fn pro_dram0_rtcfast_h_w(&mut self) -> PRO_DRAM0_RTCFAST_H_W_W { PRO_DRAM0_RTCFAST_H_W_W::new(self, 14) } diff --git a/esp32s2/src/pms/pro_dram0_3.rs b/esp32s2/src/pms/pro_dram0_3.rs index 4e1051f6ee..67270eb07e 100644 --- a/esp32s2/src/pms/pro_dram0_3.rs +++ b/esp32s2/src/pms/pro_dram0_3.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The clear signal for DBUS0 access interrupt."] #[inline(always)] - #[must_use] pub fn pro_dram0_ilg_clr(&mut self) -> PRO_DRAM0_ILG_CLR_W { PRO_DRAM0_ILG_CLR_W::new(self, 0) } #[doc = "Bit 1 - The enable signal for DBUS0 access interrupt."] #[inline(always)] - #[must_use] pub fn pro_dram0_ilg_en(&mut self) -> PRO_DRAM0_ILG_EN_W { PRO_DRAM0_ILG_EN_W::new(self, 1) } diff --git a/esp32s2/src/pms/pro_iram0_0.rs b/esp32s2/src/pms/pro_iram0_0.rs index 9782db0cc2..97ce96bef9 100644 --- a/esp32s2/src/pms/pro_iram0_0.rs +++ b/esp32s2/src/pms/pro_iram0_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Lock register. Setting to 1 locks IBUS permission control registers."] #[inline(always)] - #[must_use] pub fn pro_iram0_lock(&mut self) -> PRO_IRAM0_LOCK_W { PRO_IRAM0_LOCK_W::new(self, 0) } diff --git a/esp32s2/src/pms/pro_iram0_1.rs b/esp32s2/src/pms/pro_iram0_1.rs index 598c670403..b39446184a 100644 --- a/esp32s2/src/pms/pro_iram0_1.rs +++ b/esp32s2/src/pms/pro_iram0_1.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Setting to 1 grants IBUS permission to fetch SRAM Block 0."] #[inline(always)] - #[must_use] pub fn pro_iram0_sram_0_f(&mut self) -> PRO_IRAM0_SRAM_0_F_W { PRO_IRAM0_SRAM_0_F_W::new(self, 0) } #[doc = "Bit 1 - Setting to 1 grants IBUS permission to read SRAM Block 0."] #[inline(always)] - #[must_use] pub fn pro_iram0_sram_0_r(&mut self) -> PRO_IRAM0_SRAM_0_R_W { PRO_IRAM0_SRAM_0_R_W::new(self, 1) } #[doc = "Bit 2 - Setting to 1 grants IBUS permission to write SRAM Block 0."] #[inline(always)] - #[must_use] pub fn pro_iram0_sram_0_w(&mut self) -> PRO_IRAM0_SRAM_0_W_W { PRO_IRAM0_SRAM_0_W_W::new(self, 2) } #[doc = "Bit 3 - Setting to 1 grants IBUS permission to fetch SRAM Block 1."] #[inline(always)] - #[must_use] pub fn pro_iram0_sram_1_f(&mut self) -> PRO_IRAM0_SRAM_1_F_W { PRO_IRAM0_SRAM_1_F_W::new(self, 3) } #[doc = "Bit 4 - Setting to 1 grants IBUS permission to read SRAM Block 1."] #[inline(always)] - #[must_use] pub fn pro_iram0_sram_1_r(&mut self) -> PRO_IRAM0_SRAM_1_R_W { PRO_IRAM0_SRAM_1_R_W::new(self, 4) } #[doc = "Bit 5 - Setting to 1 grants IBUS permission to write SRAM Block 1."] #[inline(always)] - #[must_use] pub fn pro_iram0_sram_1_w(&mut self) -> PRO_IRAM0_SRAM_1_W_W { PRO_IRAM0_SRAM_1_W_W::new(self, 5) } #[doc = "Bit 6 - Setting to 1 grants IBUS permission to fetch SRAM Block 2."] #[inline(always)] - #[must_use] pub fn pro_iram0_sram_2_f(&mut self) -> PRO_IRAM0_SRAM_2_F_W { PRO_IRAM0_SRAM_2_F_W::new(self, 6) } #[doc = "Bit 7 - Setting to 1 grants IBUS permission to read SRAM Block 2."] #[inline(always)] - #[must_use] pub fn pro_iram0_sram_2_r(&mut self) -> PRO_IRAM0_SRAM_2_R_W { PRO_IRAM0_SRAM_2_R_W::new(self, 7) } #[doc = "Bit 8 - Setting to 1 grants IBUS permission to write SRAM Block 2."] #[inline(always)] - #[must_use] pub fn pro_iram0_sram_2_w(&mut self) -> PRO_IRAM0_SRAM_2_W_W { PRO_IRAM0_SRAM_2_W_W::new(self, 8) } #[doc = "Bit 9 - Setting to 1 grants IBUS permission to fetch SRAM Block 3."] #[inline(always)] - #[must_use] pub fn pro_iram0_sram_3_f(&mut self) -> PRO_IRAM0_SRAM_3_F_W { PRO_IRAM0_SRAM_3_F_W::new(self, 9) } #[doc = "Bit 10 - Setting to 1 grants IBUS permission to read SRAM Block 3."] #[inline(always)] - #[must_use] pub fn pro_iram0_sram_3_r(&mut self) -> PRO_IRAM0_SRAM_3_R_W { PRO_IRAM0_SRAM_3_R_W::new(self, 10) } #[doc = "Bit 11 - Setting to 1 grants IBUS permission to write SRAM Block 3."] #[inline(always)] - #[must_use] pub fn pro_iram0_sram_3_w(&mut self) -> PRO_IRAM0_SRAM_3_W_W { PRO_IRAM0_SRAM_3_W_W::new(self, 11) } diff --git a/esp32s2/src/pms/pro_iram0_2.rs b/esp32s2/src/pms/pro_iram0_2.rs index 1cb127cff3..c778707f76 100644 --- a/esp32s2/src/pms/pro_iram0_2.rs +++ b/esp32s2/src/pms/pro_iram0_2.rs @@ -87,43 +87,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:16 - Configure the split address of SRAM Block 4-21 for IBUS access."] #[inline(always)] - #[must_use] pub fn pro_iram0_sram_4_spltaddr(&mut self) -> PRO_IRAM0_SRAM_4_SPLTADDR_W { PRO_IRAM0_SRAM_4_SPLTADDR_W::new(self, 0) } #[doc = "Bit 17 - Setting to 1 grants IBUS permission to fetch SRAM Block 4-21 low address region."] #[inline(always)] - #[must_use] pub fn pro_iram0_sram_4_l_f(&mut self) -> PRO_IRAM0_SRAM_4_L_F_W { PRO_IRAM0_SRAM_4_L_F_W::new(self, 17) } #[doc = "Bit 18 - Setting to 1 grants IBUS permission to read SRAM Block 4-21 low address region."] #[inline(always)] - #[must_use] pub fn pro_iram0_sram_4_l_r(&mut self) -> PRO_IRAM0_SRAM_4_L_R_W { PRO_IRAM0_SRAM_4_L_R_W::new(self, 18) } #[doc = "Bit 19 - Setting to 1 grants IBUS permission to write SRAM Block 4-21 low address region."] #[inline(always)] - #[must_use] pub fn pro_iram0_sram_4_l_w(&mut self) -> PRO_IRAM0_SRAM_4_L_W_W { PRO_IRAM0_SRAM_4_L_W_W::new(self, 19) } #[doc = "Bit 20 - Setting to 1 grants IBUS permission to fetch SRAM Block 4-21 high address region."] #[inline(always)] - #[must_use] pub fn pro_iram0_sram_4_h_f(&mut self) -> PRO_IRAM0_SRAM_4_H_F_W { PRO_IRAM0_SRAM_4_H_F_W::new(self, 20) } #[doc = "Bit 21 - Setting to 1 grants IBUS permission to read SRAM Block 4-21 high address region."] #[inline(always)] - #[must_use] pub fn pro_iram0_sram_4_h_r(&mut self) -> PRO_IRAM0_SRAM_4_H_R_W { PRO_IRAM0_SRAM_4_H_R_W::new(self, 21) } #[doc = "Bit 22 - Setting to 1 grants IBUS permission to write SRAM Block 4-21 high address region."] #[inline(always)] - #[must_use] pub fn pro_iram0_sram_4_h_w(&mut self) -> PRO_IRAM0_SRAM_4_H_W_W { PRO_IRAM0_SRAM_4_H_W_W::new(self, 22) } diff --git a/esp32s2/src/pms/pro_iram0_3.rs b/esp32s2/src/pms/pro_iram0_3.rs index 35a899d5a1..d65b6f38f8 100644 --- a/esp32s2/src/pms/pro_iram0_3.rs +++ b/esp32s2/src/pms/pro_iram0_3.rs @@ -87,43 +87,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - Configure the split address of RTC FAST for IBUS access."] #[inline(always)] - #[must_use] pub fn pro_iram0_rtcfast_spltaddr(&mut self) -> PRO_IRAM0_RTCFAST_SPLTADDR_W { PRO_IRAM0_RTCFAST_SPLTADDR_W::new(self, 0) } #[doc = "Bit 11 - Setting to 1 grants IBUS permission to fetch RTC FAST low address region."] #[inline(always)] - #[must_use] pub fn pro_iram0_rtcfast_l_f(&mut self) -> PRO_IRAM0_RTCFAST_L_F_W { PRO_IRAM0_RTCFAST_L_F_W::new(self, 11) } #[doc = "Bit 12 - Setting to 1 grants IBUS permission to read RTC FAST low address region."] #[inline(always)] - #[must_use] pub fn pro_iram0_rtcfast_l_r(&mut self) -> PRO_IRAM0_RTCFAST_L_R_W { PRO_IRAM0_RTCFAST_L_R_W::new(self, 12) } #[doc = "Bit 13 - Setting to 1 grants IBUS permission to write RTC FAST low address region."] #[inline(always)] - #[must_use] pub fn pro_iram0_rtcfast_l_w(&mut self) -> PRO_IRAM0_RTCFAST_L_W_W { PRO_IRAM0_RTCFAST_L_W_W::new(self, 13) } #[doc = "Bit 14 - Setting to 1 grants IBUS permission to fetch RTC FAST high address region."] #[inline(always)] - #[must_use] pub fn pro_iram0_rtcfast_h_f(&mut self) -> PRO_IRAM0_RTCFAST_H_F_W { PRO_IRAM0_RTCFAST_H_F_W::new(self, 14) } #[doc = "Bit 15 - Setting to 1 grants IBUS permission to read RTC FAST high address region."] #[inline(always)] - #[must_use] pub fn pro_iram0_rtcfast_h_r(&mut self) -> PRO_IRAM0_RTCFAST_H_R_W { PRO_IRAM0_RTCFAST_H_R_W::new(self, 15) } #[doc = "Bit 16 - Setting to 1 grants IBUS permission to write RTC FAST high address region."] #[inline(always)] - #[must_use] pub fn pro_iram0_rtcfast_h_w(&mut self) -> PRO_IRAM0_RTCFAST_H_W_W { PRO_IRAM0_RTCFAST_H_W_W::new(self, 16) } diff --git a/esp32s2/src/pms/pro_iram0_4.rs b/esp32s2/src/pms/pro_iram0_4.rs index 78ed32f508..117121ffb3 100644 --- a/esp32s2/src/pms/pro_iram0_4.rs +++ b/esp32s2/src/pms/pro_iram0_4.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The clear signal for IBUS access interrupt."] #[inline(always)] - #[must_use] pub fn pro_iram0_ilg_clr(&mut self) -> PRO_IRAM0_ILG_CLR_W { PRO_IRAM0_ILG_CLR_W::new(self, 0) } #[doc = "Bit 1 - The enable signal for IBUS access interrupt."] #[inline(always)] - #[must_use] pub fn pro_iram0_ilg_en(&mut self) -> PRO_IRAM0_ILG_EN_W { PRO_IRAM0_ILG_EN_W::new(self, 1) } diff --git a/esp32s2/src/pms/pro_trace_0.rs b/esp32s2/src/pms/pro_trace_0.rs index 4baa9830ee..d692733b6f 100644 --- a/esp32s2/src/pms/pro_trace_0.rs +++ b/esp32s2/src/pms/pro_trace_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Lock register. Setting to 1 locks trace function permission control registers."] #[inline(always)] - #[must_use] pub fn pro_trace_lock(&mut self) -> PRO_TRACE_LOCK_W { PRO_TRACE_LOCK_W::new(self, 0) } diff --git a/esp32s2/src/pms/pro_trace_1.rs b/esp32s2/src/pms/pro_trace_1.rs index 2e7dc24165..7d4c63663f 100644 --- a/esp32s2/src/pms/pro_trace_1.rs +++ b/esp32s2/src/pms/pro_trace_1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Setting to 1 disables the trace memory function."] #[inline(always)] - #[must_use] pub fn pro_trace_disable(&mut self) -> PRO_TRACE_DISABLE_W { PRO_TRACE_DISABLE_W::new(self, 0) } diff --git a/esp32s2/src/pms/sdio_0.rs b/esp32s2/src/pms/sdio_0.rs index c31bb08edf..bc330937c6 100644 --- a/esp32s2/src/pms/sdio_0.rs +++ b/esp32s2/src/pms/sdio_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Lock register. Setting to 1 locks SDIO permission control registers."] #[inline(always)] - #[must_use] pub fn sdio_lock(&mut self) -> SDIO_LOCK_W { SDIO_LOCK_W::new(self, 0) } diff --git a/esp32s2/src/pms/sdio_1.rs b/esp32s2/src/pms/sdio_1.rs index 2fec3e8847..938a466e84 100644 --- a/esp32s2/src/pms/sdio_1.rs +++ b/esp32s2/src/pms/sdio_1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Setting to 1 disables the SDIO function."] #[inline(always)] - #[must_use] pub fn sdio_disable(&mut self) -> SDIO_DISABLE_W { SDIO_DISABLE_W::new(self, 0) } diff --git a/esp32s2/src/rmt.rs b/esp32s2/src/rmt.rs index cdeebd03e5..dd9269b8f0 100644 --- a/esp32s2/src/rmt.rs +++ b/esp32s2/src/rmt.rs @@ -59,14 +59,25 @@ impl RegisterBlock { pub const fn chconf0(&self, n: usize) -> &CHCONF0 { #[allow(clippy::no_effect)] [(); 4][n]; - unsafe { &*(self as *const Self).cast::().add(16).add(8 * n).cast() } + unsafe { + &*core::ptr::from_ref(self) + .cast::() + .add(16) + .add(8 * n) + .cast() + } } #[doc = "Iterator for array of:"] #[doc = "0x10..0x20 - Channel %s configure register 0"] #[inline(always)] pub fn chconf0_iter(&self) -> impl Iterator { - (0..4) - .map(move |n| unsafe { &*(self as *const Self).cast::().add(16).add(8 * n).cast() }) + (0..4).map(move |n| unsafe { + &*core::ptr::from_ref(self) + .cast::() + .add(16) + .add(8 * n) + .cast() + }) } #[doc = "0x10 - Channel 0 configure register 0"] #[inline(always)] @@ -93,14 +104,25 @@ impl RegisterBlock { pub const fn chconf1(&self, n: usize) -> &CHCONF1 { #[allow(clippy::no_effect)] [(); 4][n]; - unsafe { &*(self as *const Self).cast::().add(20).add(8 * n).cast() } + unsafe { + &*core::ptr::from_ref(self) + .cast::() + .add(20) + .add(8 * n) + .cast() + } } #[doc = "Iterator for array of:"] #[doc = "0x14..0x24 - Channel %s configure register 1"] #[inline(always)] pub fn chconf1_iter(&self) -> impl Iterator { - (0..4) - .map(move |n| unsafe { &*(self as *const Self).cast::().add(20).add(8 * n).cast() }) + (0..4).map(move |n| unsafe { + &*core::ptr::from_ref(self) + .cast::() + .add(20) + .add(8 * n) + .cast() + }) } #[doc = "0x14 - Channel 0 configure register 1"] #[inline(always)] diff --git a/esp32s2/src/rmt/apb_conf.rs b/esp32s2/src/rmt/apb_conf.rs index 109f134d2c..f9069f2311 100644 --- a/esp32s2/src/rmt/apb_conf.rs +++ b/esp32s2/src/rmt/apb_conf.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1'h1: access memory directly. 1'h0: access memory by FIFO."] #[inline(always)] - #[must_use] pub fn apb_fifo_mask(&mut self) -> APB_FIFO_MASK_W { APB_FIFO_MASK_W::new(self, 0) } #[doc = "Bit 1 - This is the enable bit for wraparound mode: it will resume sending at the start when the data to be sent is more than its memory size."] #[inline(always)] - #[must_use] pub fn mem_tx_wrap_en(&mut self) -> MEM_TX_WRAP_EN_W { MEM_TX_WRAP_EN_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to enable the clock for RMT memory."] #[inline(always)] - #[must_use] pub fn mem_clk_force_on(&mut self) -> MEM_CLK_FORCE_ON_W { MEM_CLK_FORCE_ON_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to power down RMT memory."] #[inline(always)] - #[must_use] pub fn mem_force_pd(&mut self) -> MEM_FORCE_PD_W { MEM_FORCE_PD_W::new(self, 3) } #[doc = "Bit 4 - 1: Disable RMT memory light sleep power down function. 0: Power down RMT memory when RMT is in light sleep mode."] #[inline(always)] - #[must_use] pub fn mem_force_pu(&mut self) -> MEM_FORCE_PU_W { MEM_FORCE_PU_W::new(self, 4) } #[doc = "Bit 31 - RMT register clock gate enable signal. 1: Power up the drive clock of registers. 0: Power down the drive clock of registers"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32s2/src/rmt/ch_rx_carrier_rm.rs b/esp32s2/src/rmt/ch_rx_carrier_rm.rs index 44001ff925..0444342463 100644 --- a/esp32s2/src/rmt/ch_rx_carrier_rm.rs +++ b/esp32s2/src/rmt/ch_rx_carrier_rm.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The low level period in a carrier modulation mode is (REG_RMT_REG_CARRIER_LOW_THRES_CH%s + 1) for channel %s."] #[inline(always)] - #[must_use] pub fn carrier_low_thres(&mut self) -> CARRIER_LOW_THRES_W { CARRIER_LOW_THRES_W::new(self, 0) } #[doc = "Bits 16:31 - The high level period in a carrier modulation mode is (REG_RMT_REG_CARRIER_HIGH_THRES_CH%s + 1) for channel %s."] #[inline(always)] - #[must_use] pub fn carrier_high_thres(&mut self) -> CARRIER_HIGH_THRES_W { CARRIER_HIGH_THRES_W::new(self, 16) } diff --git a/esp32s2/src/rmt/ch_tx_lim.rs b/esp32s2/src/rmt/ch_tx_lim.rs index e3b56dc150..f7ee6c2294 100644 --- a/esp32s2/src/rmt/ch_tx_lim.rs +++ b/esp32s2/src/rmt/ch_tx_lim.rs @@ -46,25 +46,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure the maximum entries that CHANNEL%s can send out."] #[inline(always)] - #[must_use] pub fn tx_lim(&mut self) -> TX_LIM_W { TX_LIM_W::new(self, 0) } #[doc = "Bits 9:18 - This register is used to configure the maximum loop count when tx_conti_mode is valid."] #[inline(always)] - #[must_use] pub fn tx_loop_num(&mut self) -> TX_LOOP_NUM_W { TX_LOOP_NUM_W::new(self, 9) } #[doc = "Bit 19 - This register is the enabled bit for loop count."] #[inline(always)] - #[must_use] pub fn tx_loop_cnt_en(&mut self) -> TX_LOOP_CNT_EN_W { TX_LOOP_CNT_EN_W::new(self, 19) } #[doc = "Bit 20 - This register is used to reset the loop count when tx_conti_mode is valid."] #[inline(always)] - #[must_use] pub fn loop_count_reset(&mut self) -> LOOP_COUNT_RESET_W { LOOP_COUNT_RESET_W::new(self, 20) } diff --git a/esp32s2/src/rmt/chcarrier_duty.rs b/esp32s2/src/rmt/chcarrier_duty.rs index 1aedd08615..a45cf0e6ed 100644 --- a/esp32s2/src/rmt/chcarrier_duty.rs +++ b/esp32s2/src/rmt/chcarrier_duty.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure carrier wave 's low level clock period for CHANNEL%s."] #[inline(always)] - #[must_use] pub fn carrier_low(&mut self) -> CARRIER_LOW_W { CARRIER_LOW_W::new(self, 0) } #[doc = "Bits 16:31 - This register is used to configure carrier wave 's high level clock period for CHANNEL%s."] #[inline(always)] - #[must_use] pub fn carrier_high(&mut self) -> CARRIER_HIGH_W { CARRIER_HIGH_W::new(self, 16) } diff --git a/esp32s2/src/rmt/chconf0.rs b/esp32s2/src/rmt/chconf0.rs index 85440897af..64887fc6cd 100644 --- a/esp32s2/src/rmt/chconf0.rs +++ b/esp32s2/src/rmt/chconf0.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register is used to configure the divider for clock of CHANNEL%s."] #[inline(always)] - #[must_use] pub fn div_cnt(&mut self) -> DIV_CNT_W { DIV_CNT_W::new(self, 0) } #[doc = "Bits 8:23 - When no edge is detected on the input signal and continuous clock cycles is longer than this register value, received process is finished."] #[inline(always)] - #[must_use] pub fn idle_thres(&mut self) -> IDLE_THRES_W { IDLE_THRES_W::new(self, 8) } #[doc = "Bits 24:26 - This register is used to configure the maximum size of memory allocated to CHANNEL%s."] #[inline(always)] - #[must_use] pub fn mem_size(&mut self) -> MEM_SIZE_W { MEM_SIZE_W::new(self, 24) } #[doc = "Bit 27 - 1: Add carrier modulation on the output signal only at the send data state for CHANNEL%s. 0: Add carrier modulation on the output signal at all state for CHANNEL%s. Only valid when RMT_CARRIER_EN_CH%s is 1."] #[inline(always)] - #[must_use] pub fn carrier_eff_en(&mut self) -> CARRIER_EFF_EN_W { CARRIER_EFF_EN_W::new(self, 27) } #[doc = "Bit 28 - This is the carrier modulation enable-control bit for CHANNEL%s. 1: Add carrier modulation in the output signal. 0: No carrier modulation in sig_out."] #[inline(always)] - #[must_use] pub fn carrier_en(&mut self) -> CARRIER_EN_W { CARRIER_EN_W::new(self, 28) } #[doc = "Bit 29 - This bit is used to configure the position of carrier wave for CHANNEL%s. 1'h0: add carrier wave on low level. 1'h1: add carrier wave on high level."] #[inline(always)] - #[must_use] pub fn carrier_out_lv(&mut self) -> CARRIER_OUT_LV_W { CARRIER_OUT_LV_W::new(self, 29) } diff --git a/esp32s2/src/rmt/chconf1.rs b/esp32s2/src/rmt/chconf1.rs index 8b3a6bc071..b96919c527 100644 --- a/esp32s2/src/rmt/chconf1.rs +++ b/esp32s2/src/rmt/chconf1.rs @@ -130,85 +130,71 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to start sending data on CHANNEL%s."] #[inline(always)] - #[must_use] pub fn tx_start(&mut self) -> TX_START_W { TX_START_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to enable receiver to receive data on CHANNEL%s."] #[inline(always)] - #[must_use] pub fn rx_en(&mut self) -> RX_EN_W { RX_EN_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to reset write ram address for CHANNEL%s by accessing receiver."] #[inline(always)] - #[must_use] pub fn mem_wr_rst(&mut self) -> MEM_WR_RST_W { MEM_WR_RST_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to reset read ram address for CHANNEL%s by accessing transmitter."] #[inline(always)] - #[must_use] pub fn mem_rd_rst(&mut self) -> MEM_RD_RST_W { MEM_RD_RST_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to reset W/R ram address for CHANNEL%s by accessing apb fifo."] #[inline(always)] - #[must_use] pub fn apb_mem_rst(&mut self) -> APB_MEM_RST_W { APB_MEM_RST_W::new(self, 4) } #[doc = "Bit 5 - This register marks the ownership of CHANNEL%s's ram block. 1'h1: Receiver is using the ram. 1'h0: Transmitter is using the ram."] #[inline(always)] - #[must_use] pub fn mem_owner(&mut self) -> MEM_OWNER_W { MEM_OWNER_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to restart transmission from the first data to the last data in CHANNEL%s."] #[inline(always)] - #[must_use] pub fn tx_conti_mode(&mut self) -> TX_CONTI_MODE_W { TX_CONTI_MODE_W::new(self, 6) } #[doc = "Bit 7 - This is the receive filter's enable bit for CHANNEL%s."] #[inline(always)] - #[must_use] pub fn rx_filter_en(&mut self) -> RX_FILTER_EN_W { RX_FILTER_EN_W::new(self, 7) } #[doc = "Bits 8:15 - Ignores the input pulse when its width is smaller than this register value in APB clock periods (in receive mode)."] #[inline(always)] - #[must_use] pub fn rx_filter_thres(&mut self) -> RX_FILTER_THRES_W { RX_FILTER_THRES_W::new(self, 8) } #[doc = "Bit 16 - Set this bit to enable memory loop read mode when carrier modulation is enabled for channel %s."] #[inline(always)] - #[must_use] pub fn chk_rx_carrier_en(&mut self) -> CHK_RX_CARRIER_EN_W { CHK_RX_CARRIER_EN_W::new(self, 16) } #[doc = "Bit 17 - This bit is used to select the base clock for CHANNEL%s. 1'h1: clk_apb 1'h0:clk_ref"] #[inline(always)] - #[must_use] pub fn ref_always_on(&mut self) -> REF_ALWAYS_ON_W { REF_ALWAYS_ON_W::new(self, 17) } #[doc = "Bit 18 - This bit configures the level of output signal in CHANNEL%s when the latter is in IDLE state."] #[inline(always)] - #[must_use] pub fn idle_out_lv(&mut self) -> IDLE_OUT_LV_W { IDLE_OUT_LV_W::new(self, 18) } #[doc = "Bit 19 - This is the output enable-control bit for CHANNEL%s in IDLE state."] #[inline(always)] - #[must_use] pub fn idle_out_en(&mut self) -> IDLE_OUT_EN_W { IDLE_OUT_EN_W::new(self, 19) } #[doc = "Bit 20 - Set this bit to stop the transmitter of CHANNEL%s sending data out."] #[inline(always)] - #[must_use] pub fn tx_stop(&mut self) -> TX_STOP_W { TX_STOP_W::new(self, 20) } diff --git a/esp32s2/src/rmt/chdata.rs b/esp32s2/src/rmt/chdata.rs index af61e60c88..c7f142c6fa 100644 --- a/esp32s2/src/rmt/chdata.rs +++ b/esp32s2/src/rmt/chdata.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The read and write data register for CHANNEL%s by apb fifo access."] #[inline(always)] - #[must_use] pub fn data(&mut self) -> DATA_W { DATA_W::new(self, 0) } diff --git a/esp32s2/src/rmt/date.rs b/esp32s2/src/rmt/date.rs index c74cff7bb3..44312f496d 100644 --- a/esp32s2/src/rmt/date.rs +++ b/esp32s2/src/rmt/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This is the version register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s2/src/rmt/int_clr.rs b/esp32s2/src/rmt/int_clr.rs index 80ec8bd100..f49be7f37f 100644 --- a/esp32s2/src/rmt/int_clr.rs +++ b/esp32s2/src/rmt/int_clr.rs @@ -21,7 +21,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_END` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_end(&mut self, n: u8) -> CH_TX_END_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -29,25 +28,21 @@ impl W { } #[doc = "Bit 0 - Set this bit to clear the CH0_TX_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch0_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 0) } #[doc = "Bit 3 - Set this bit to clear the CH1_TX_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch1_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 3) } #[doc = "Bit 6 - Set this bit to clear the CH2_TX_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch2_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 6) } #[doc = "Bit 9 - Set this bit to clear the CH3_TX_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch3_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 9) } @@ -55,7 +50,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_RX_END` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_end(&mut self, n: u8) -> CH_RX_END_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -63,25 +57,21 @@ impl W { } #[doc = "Bit 1 - Set this bit to clear the CH0_RX_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch0_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 1) } #[doc = "Bit 4 - Set this bit to clear the CH1_RX_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch1_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 4) } #[doc = "Bit 7 - Set this bit to clear the CH2_RX_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch2_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 7) } #[doc = "Bit 10 - Set this bit to clear the CH3_RX_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch3_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 10) } @@ -89,7 +79,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_ERR` field.
"] #[inline(always)] - #[must_use] pub fn ch_err(&mut self, n: u8) -> CH_ERR_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -97,25 +86,21 @@ impl W { } #[doc = "Bit 2 - Set this bit to clear the CH0_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch0_err(&mut self) -> CH_ERR_W { CH_ERR_W::new(self, 2) } #[doc = "Bit 5 - Set this bit to clear the CH1_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch1_err(&mut self) -> CH_ERR_W { CH_ERR_W::new(self, 5) } #[doc = "Bit 8 - Set this bit to clear the CH2_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch2_err(&mut self) -> CH_ERR_W { CH_ERR_W::new(self, 8) } #[doc = "Bit 11 - Set this bit to clear the CH3_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch3_err(&mut self) -> CH_ERR_W { CH_ERR_W::new(self, 11) } @@ -123,7 +108,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_THR_EVENT` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_thr_event(&mut self, n: u8) -> CH_TX_THR_EVENT_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -131,25 +115,21 @@ impl W { } #[doc = "Bit 12 - Set this bit to clear the CH0_TX_THR_EVENT_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch0_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to clear the CH1_TX_THR_EVENT_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch1_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to clear the CH2_TX_THR_EVENT_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch2_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to clear the CH3_TX_THR_EVENT_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch3_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 15) } @@ -157,7 +137,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_LOOP` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_loop(&mut self, n: u8) -> CH_TX_LOOP_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -165,25 +144,21 @@ impl W { } #[doc = "Bit 16 - Set this bit to clear the CH0_TX_LOOP_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch0_tx_loop(&mut self) -> CH_TX_LOOP_W { CH_TX_LOOP_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to clear the CH1_TX_LOOP_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch1_tx_loop(&mut self) -> CH_TX_LOOP_W { CH_TX_LOOP_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to clear the CH2_TX_LOOP_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch2_tx_loop(&mut self) -> CH_TX_LOOP_W { CH_TX_LOOP_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to clear the CH3_TX_LOOP_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch3_tx_loop(&mut self) -> CH_TX_LOOP_W { CH_TX_LOOP_W::new(self, 19) } diff --git a/esp32s2/src/rmt/int_ena.rs b/esp32s2/src/rmt/int_ena.rs index d153259605..b125409176 100644 --- a/esp32s2/src/rmt/int_ena.rs +++ b/esp32s2/src/rmt/int_ena.rs @@ -231,7 +231,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_END` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_end(&mut self, n: u8) -> CH_TX_END_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -239,25 +238,21 @@ impl W { } #[doc = "Bit 0 - The interrupt enabled bit for CH0_TX_END_INT."] #[inline(always)] - #[must_use] pub fn ch0_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 0) } #[doc = "Bit 3 - The interrupt enabled bit for CH1_TX_END_INT."] #[inline(always)] - #[must_use] pub fn ch1_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 3) } #[doc = "Bit 6 - The interrupt enabled bit for CH2_TX_END_INT."] #[inline(always)] - #[must_use] pub fn ch2_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 6) } #[doc = "Bit 9 - The interrupt enabled bit for CH3_TX_END_INT."] #[inline(always)] - #[must_use] pub fn ch3_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 9) } @@ -265,7 +260,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_RX_END` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_end(&mut self, n: u8) -> CH_RX_END_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -273,25 +267,21 @@ impl W { } #[doc = "Bit 1 - The interrupt enabled bit for CH0_RX_END_INT."] #[inline(always)] - #[must_use] pub fn ch0_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 1) } #[doc = "Bit 4 - The interrupt enabled bit for CH1_RX_END_INT."] #[inline(always)] - #[must_use] pub fn ch1_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 4) } #[doc = "Bit 7 - The interrupt enabled bit for CH2_RX_END_INT."] #[inline(always)] - #[must_use] pub fn ch2_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 7) } #[doc = "Bit 10 - The interrupt enabled bit for CH3_RX_END_INT."] #[inline(always)] - #[must_use] pub fn ch3_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 10) } @@ -299,7 +289,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_ERR` field.
"] #[inline(always)] - #[must_use] pub fn ch_err(&mut self, n: u8) -> CH_ERR_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -307,25 +296,21 @@ impl W { } #[doc = "Bit 2 - The interrupt enabled bit for CH0_ERR_INT."] #[inline(always)] - #[must_use] pub fn ch0_err(&mut self) -> CH_ERR_W { CH_ERR_W::new(self, 2) } #[doc = "Bit 5 - The interrupt enabled bit for CH1_ERR_INT."] #[inline(always)] - #[must_use] pub fn ch1_err(&mut self) -> CH_ERR_W { CH_ERR_W::new(self, 5) } #[doc = "Bit 8 - The interrupt enabled bit for CH2_ERR_INT."] #[inline(always)] - #[must_use] pub fn ch2_err(&mut self) -> CH_ERR_W { CH_ERR_W::new(self, 8) } #[doc = "Bit 11 - The interrupt enabled bit for CH3_ERR_INT."] #[inline(always)] - #[must_use] pub fn ch3_err(&mut self) -> CH_ERR_W { CH_ERR_W::new(self, 11) } @@ -333,7 +318,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_THR_EVENT` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_thr_event(&mut self, n: u8) -> CH_TX_THR_EVENT_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -341,25 +325,21 @@ impl W { } #[doc = "Bit 12 - The interrupt enabled bit for CH0_TX_THR_EVENT_INT."] #[inline(always)] - #[must_use] pub fn ch0_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 12) } #[doc = "Bit 13 - The interrupt enabled bit for CH1_TX_THR_EVENT_INT."] #[inline(always)] - #[must_use] pub fn ch1_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 13) } #[doc = "Bit 14 - The interrupt enabled bit for CH2_TX_THR_EVENT_INT."] #[inline(always)] - #[must_use] pub fn ch2_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 14) } #[doc = "Bit 15 - The interrupt enabled bit for CH3_TX_THR_EVENT_INT."] #[inline(always)] - #[must_use] pub fn ch3_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 15) } @@ -367,7 +347,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_LOOP` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_loop(&mut self, n: u8) -> CH_TX_LOOP_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -375,25 +354,21 @@ impl W { } #[doc = "Bit 16 - The interrupt enabled bit for CH0_TX_LOOP_INT."] #[inline(always)] - #[must_use] pub fn ch0_tx_loop(&mut self) -> CH_TX_LOOP_W { CH_TX_LOOP_W::new(self, 16) } #[doc = "Bit 17 - The interrupt enabled bit for CH1_TX_LOOP_INT."] #[inline(always)] - #[must_use] pub fn ch1_tx_loop(&mut self) -> CH_TX_LOOP_W { CH_TX_LOOP_W::new(self, 17) } #[doc = "Bit 18 - The interrupt enabled bit for CH2_TX_LOOP_INT."] #[inline(always)] - #[must_use] pub fn ch2_tx_loop(&mut self) -> CH_TX_LOOP_W { CH_TX_LOOP_W::new(self, 18) } #[doc = "Bit 19 - The interrupt enabled bit for CH3_TX_LOOP_INT."] #[inline(always)] - #[must_use] pub fn ch3_tx_loop(&mut self) -> CH_TX_LOOP_W { CH_TX_LOOP_W::new(self, 19) } diff --git a/esp32s2/src/rmt/ref_cnt_rst.rs b/esp32s2/src/rmt/ref_cnt_rst.rs index bcecdd7494..46d0a4b0b6 100644 --- a/esp32s2/src/rmt/ref_cnt_rst.rs +++ b/esp32s2/src/rmt/ref_cnt_rst.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This register is used to reset the clock divider of CHANNEL0."] #[inline(always)] - #[must_use] pub fn ch0(&mut self) -> CH0_W { CH0_W::new(self, 0) } #[doc = "Bit 1 - This register is used to reset the clock divider of CHANNEL1."] #[inline(always)] - #[must_use] pub fn ch1(&mut self) -> CH1_W { CH1_W::new(self, 1) } #[doc = "Bit 2 - This register is used to reset the clock divider of CHANNEL2."] #[inline(always)] - #[must_use] pub fn ch2(&mut self) -> CH2_W { CH2_W::new(self, 2) } #[doc = "Bit 3 - This register is used to reset the clock divider of CHANNEL3."] #[inline(always)] - #[must_use] pub fn ch3(&mut self) -> CH3_W { CH3_W::new(self, 3) } diff --git a/esp32s2/src/rmt/tx_sim.rs b/esp32s2/src/rmt/tx_sim.rs index edada0cb4d..4d0bb2f875 100644 --- a/esp32s2/src/rmt/tx_sim.rs +++ b/esp32s2/src/rmt/tx_sim.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable CHANNEL0 to start sending data synchronously with other enabled channels."] #[inline(always)] - #[must_use] pub fn ch0(&mut self) -> CH0_W { CH0_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to enable CHANNEL1 to start sending data synchronously with other enabled channels."] #[inline(always)] - #[must_use] pub fn ch1(&mut self) -> CH1_W { CH1_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to enable CHANNEL2 to start sending data synchronously with other enabled channels."] #[inline(always)] - #[must_use] pub fn ch2(&mut self) -> CH2_W { CH2_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to enable CHANNEL3 to start sending data synchronously with other enabled channels."] #[inline(always)] - #[must_use] pub fn ch3(&mut self) -> CH3_W { CH3_W::new(self, 3) } #[doc = "Bit 4 - This register is used to enable multiple of channels to start sending data synchronously."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 4) } diff --git a/esp32s2/src/rsa/constant_time.rs b/esp32s2/src/rsa/constant_time.rs index 625cb661fd..cf167d9094 100644 --- a/esp32s2/src/rsa/constant_time.rs +++ b/esp32s2/src/rsa/constant_time.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to 0 to enable the acceleration option of constant_time for modular exponentiation. Set to 1 to disable the acceleration (by default)."] #[inline(always)] - #[must_use] pub fn constant_time(&mut self) -> CONSTANT_TIME_W { CONSTANT_TIME_W::new(self, 0) } diff --git a/esp32s2/src/rsa/date.rs b/esp32s2/src/rsa/date.rs index fe9eddb3db..92924ef8d7 100644 --- a/esp32s2/src/rsa/date.rs +++ b/esp32s2/src/rsa/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Version control register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s2/src/rsa/int_clr.rs b/esp32s2/src/rsa/int_clr.rs index 5d3111f490..e039649cf9 100644 --- a/esp32s2/src/rsa/int_clr.rs +++ b/esp32s2/src/rsa/int_clr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to 1 to clear the RSA interrupts."] #[inline(always)] - #[must_use] pub fn int_clr(&mut self) -> INT_CLR_W { INT_CLR_W::new(self, 0) } diff --git a/esp32s2/src/rsa/int_ena.rs b/esp32s2/src/rsa/int_ena.rs index f17e2caca5..be0c1bae4e 100644 --- a/esp32s2/src/rsa/int_ena.rs +++ b/esp32s2/src/rsa/int_ena.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to 1 to enable the RSA interrupt. This option is enabled by default."] #[inline(always)] - #[must_use] pub fn int_ena(&mut self) -> INT_ENA_W { INT_ENA_W::new(self, 0) } diff --git a/esp32s2/src/rsa/m_prime.rs b/esp32s2/src/rsa/m_prime.rs index 2768d780ae..568621e680 100644 --- a/esp32s2/src/rsa/m_prime.rs +++ b/esp32s2/src/rsa/m_prime.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stores M'."] #[inline(always)] - #[must_use] pub fn m_prime(&mut self) -> M_PRIME_W { M_PRIME_W::new(self, 0) } diff --git a/esp32s2/src/rsa/mode.rs b/esp32s2/src/rsa/mode.rs index aff4cd5476..c435ccb4af 100644 --- a/esp32s2/src/rsa/mode.rs +++ b/esp32s2/src/rsa/mode.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Stores the mode of modular exponentiation."] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 0) } diff --git a/esp32s2/src/rsa/modexp_start.rs b/esp32s2/src/rsa/modexp_start.rs index 5906851c86..d908bfa62c 100644 --- a/esp32s2/src/rsa/modexp_start.rs +++ b/esp32s2/src/rsa/modexp_start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to 1 to start the modular exponentiation."] #[inline(always)] - #[must_use] pub fn modexp_start(&mut self) -> MODEXP_START_W { MODEXP_START_W::new(self, 0) } diff --git a/esp32s2/src/rsa/modmult_start.rs b/esp32s2/src/rsa/modmult_start.rs index 7528310bac..5083043494 100644 --- a/esp32s2/src/rsa/modmult_start.rs +++ b/esp32s2/src/rsa/modmult_start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to 1 to start the modular multiplication."] #[inline(always)] - #[must_use] pub fn modmult_start(&mut self) -> MODMULT_START_W { MODMULT_START_W::new(self, 0) } diff --git a/esp32s2/src/rsa/mult_start.rs b/esp32s2/src/rsa/mult_start.rs index 001e935b5d..613f74686b 100644 --- a/esp32s2/src/rsa/mult_start.rs +++ b/esp32s2/src/rsa/mult_start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to 1 to start the multiplication."] #[inline(always)] - #[must_use] pub fn mult_start(&mut self) -> MULT_START_W { MULT_START_W::new(self, 0) } diff --git a/esp32s2/src/rsa/search_enable.rs b/esp32s2/src/rsa/search_enable.rs index 467bdc4429..de4a5c3b8c 100644 --- a/esp32s2/src/rsa/search_enable.rs +++ b/esp32s2/src/rsa/search_enable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to 1 to enable the acceleration option of search for modular exponentiation. Set to 0 to disable the acceleration (by default)."] #[inline(always)] - #[must_use] pub fn search_enable(&mut self) -> SEARCH_ENABLE_W { SEARCH_ENABLE_W::new(self, 0) } diff --git a/esp32s2/src/rsa/search_pos.rs b/esp32s2/src/rsa/search_pos.rs index 84816149aa..b44e170e6c 100644 --- a/esp32s2/src/rsa/search_pos.rs +++ b/esp32s2/src/rsa/search_pos.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - Is used to configure the starting address when the acceleration option of search is used."] #[inline(always)] - #[must_use] pub fn search_pos(&mut self) -> SEARCH_POS_W { SEARCH_POS_W::new(self, 0) } diff --git a/esp32s2/src/rtc_cntl/ana_conf.rs b/esp32s2/src/rtc_cntl/ana_conf.rs index 6bc2ac22ea..b85651898a 100644 --- a/esp32s2/src/rtc_cntl/ana_conf.rs +++ b/esp32s2/src/rtc_cntl/ana_conf.rs @@ -144,79 +144,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 18 - SLEEP_I2CPOR force pd"] #[inline(always)] - #[must_use] pub fn i2c_reset_por_force_pd(&mut self) -> I2C_RESET_POR_FORCE_PD_W { I2C_RESET_POR_FORCE_PD_W::new(self, 18) } #[doc = "Bit 19 - SLEEP_I2CPOR force pu"] #[inline(always)] - #[must_use] pub fn i2c_reset_por_force_pu(&mut self) -> I2C_RESET_POR_FORCE_PU_W { I2C_RESET_POR_FORCE_PU_W::new(self, 19) } #[doc = "Bit 20 - Set this bit to enable a reset when the system detects a glitch."] #[inline(always)] - #[must_use] pub fn glitch_rst_en(&mut self) -> GLITCH_RST_EN_W { GLITCH_RST_EN_W::new(self, 20) } #[doc = "Bit 21 - Sets this bit to FPD the SAR_I2C."] #[inline(always)] - #[must_use] pub fn sar_i2c_force_pd(&mut self) -> SAR_I2C_FORCE_PD_W { SAR_I2C_FORCE_PD_W::new(self, 21) } #[doc = "Bit 22 - Sets this bit to FPU the SAR_I2C."] #[inline(always)] - #[must_use] pub fn sar_i2c_force_pu(&mut self) -> SAR_I2C_FORCE_PU_W { SAR_I2C_FORCE_PU_W::new(self, 22) } #[doc = "Bit 23 - Sets this bit to FPD the PLLA."] #[inline(always)] - #[must_use] pub fn plla_force_pd(&mut self) -> PLLA_FORCE_PD_W { PLLA_FORCE_PD_W::new(self, 23) } #[doc = "Bit 24 - Sets this bit to FPU the PLLA."] #[inline(always)] - #[must_use] pub fn plla_force_pu(&mut self) -> PLLA_FORCE_PU_W { PLLA_FORCE_PU_W::new(self, 24) } #[doc = "Bit 25 - start BBPLL calibration during sleep"] #[inline(always)] - #[must_use] pub fn bbpll_cal_slp_start(&mut self) -> BBPLL_CAL_SLP_START_W { BBPLL_CAL_SLP_START_W::new(self, 25) } #[doc = "Bit 26 - 1: PVTMON power up , otherwise power down"] #[inline(always)] - #[must_use] pub fn pvtmon_pu(&mut self) -> PVTMON_PU_W { PVTMON_PU_W::new(self, 26) } #[doc = "Bit 27 - 1: TXRF_I2C power up , otherwise power down"] #[inline(always)] - #[must_use] pub fn txrf_i2c_pu(&mut self) -> TXRF_I2C_PU_W { TXRF_I2C_PU_W::new(self, 27) } #[doc = "Bit 28 - 1: RFRX_PBUS power up , otherwise power down"] #[inline(always)] - #[must_use] pub fn rfrx_pbus_pu(&mut self) -> RFRX_PBUS_PU_W { RFRX_PBUS_PU_W::new(self, 28) } #[doc = "Bit 30 - 1: CKGEN_I2C power up , otherwise power down"] #[inline(always)] - #[must_use] pub fn ckgen_i2c_pu(&mut self) -> CKGEN_I2C_PU_W { CKGEN_I2C_PU_W::new(self, 30) } #[doc = "Bit 31 - 1. PLL_I2C power up ,otherwise power down"] #[inline(always)] - #[must_use] pub fn pll_i2c_pu(&mut self) -> PLL_I2C_PU_W { PLL_I2C_PU_W::new(self, 31) } diff --git a/esp32s2/src/rtc_cntl/bias_conf.rs b/esp32s2/src/rtc_cntl/bias_conf.rs index 5939459119..7636bd9195 100644 --- a/esp32s2/src/rtc_cntl/bias_conf.rs +++ b/esp32s2/src/rtc_cntl/bias_conf.rs @@ -174,97 +174,81 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 10 - open bias buf when system in active"] #[inline(always)] - #[must_use] pub fn bias_buf_idle(&mut self) -> BIAS_BUF_IDLE_W { BIAS_BUF_IDLE_W::new(self, 10) } #[doc = "Bit 11 - open bias buf when rtc in wakeup"] #[inline(always)] - #[must_use] pub fn bias_buf_wake(&mut self) -> BIAS_BUF_WAKE_W { BIAS_BUF_WAKE_W::new(self, 11) } #[doc = "Bit 12 - open bias buf when rtc in deep sleep"] #[inline(always)] - #[must_use] pub fn bias_buf_deep_slp(&mut self) -> BIAS_BUF_DEEP_SLP_W { BIAS_BUF_DEEP_SLP_W::new(self, 12) } #[doc = "Bit 13 - open bias buf when rtc in monitor state"] #[inline(always)] - #[must_use] pub fn bias_buf_monitor(&mut self) -> BIAS_BUF_MONITOR_W { BIAS_BUF_MONITOR_W::new(self, 13) } #[doc = "Bit 14 - xpd cur when rtc in sleep_state"] #[inline(always)] - #[must_use] pub fn pd_cur_deep_slp(&mut self) -> PD_CUR_DEEP_SLP_W { PD_CUR_DEEP_SLP_W::new(self, 14) } #[doc = "Bit 15 - xpd cur when rtc in monitor state"] #[inline(always)] - #[must_use] pub fn pd_cur_monitor(&mut self) -> PD_CUR_MONITOR_W { PD_CUR_MONITOR_W::new(self, 15) } #[doc = "Bit 16 - bias_sleep when rtc in sleep_state"] #[inline(always)] - #[must_use] pub fn bias_sleep_deep_slp(&mut self) -> BIAS_SLEEP_DEEP_SLP_W { BIAS_SLEEP_DEEP_SLP_W::new(self, 16) } #[doc = "Bit 17 - bias_sleep when rtc in monitor state"] #[inline(always)] - #[must_use] pub fn bias_sleep_monitor(&mut self) -> BIAS_SLEEP_MONITOR_W { BIAS_SLEEP_MONITOR_W::new(self, 17) } #[doc = "Bits 18:21 - DBG_ATTEN when rtc in sleep state"] #[inline(always)] - #[must_use] pub fn dbg_atten_deep_slp(&mut self) -> DBG_ATTEN_DEEP_SLP_W { DBG_ATTEN_DEEP_SLP_W::new(self, 18) } #[doc = "Bits 22:25 - DBG_ATTEN when rtc in monitor state"] #[inline(always)] - #[must_use] pub fn dbg_atten_monitor(&mut self) -> DBG_ATTEN_MONITOR_W { DBG_ATTEN_MONITOR_W::new(self, 22) } #[doc = "Bit 26 - ENB_SCK_XTAL"] #[inline(always)] - #[must_use] pub fn enb_sck_xtal(&mut self) -> ENB_SCK_XTAL_W { ENB_SCK_XTAL_W::new(self, 26) } #[doc = "Bit 27 - INC_HEARTBEAT_REFRESH"] #[inline(always)] - #[must_use] pub fn inc_heartbeat_refresh(&mut self) -> INC_HEARTBEAT_REFRESH_W { INC_HEARTBEAT_REFRESH_W::new(self, 27) } #[doc = "Bit 28 - DEC_HEARTBEAT_PERIOD"] #[inline(always)] - #[must_use] pub fn dec_heartbeat_period(&mut self) -> DEC_HEARTBEAT_PERIOD_W { DEC_HEARTBEAT_PERIOD_W::new(self, 28) } #[doc = "Bit 29 - INC_HEARTBEAT_PERIOD"] #[inline(always)] - #[must_use] pub fn inc_heartbeat_period(&mut self) -> INC_HEARTBEAT_PERIOD_W { INC_HEARTBEAT_PERIOD_W::new(self, 29) } #[doc = "Bit 30 - DEC_HEARTBEAT_WIDTH"] #[inline(always)] - #[must_use] pub fn dec_heartbeat_width(&mut self) -> DEC_HEARTBEAT_WIDTH_W { DEC_HEARTBEAT_WIDTH_W::new(self, 30) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn rst_bias_i2c(&mut self) -> RST_BIAS_I2C_W { RST_BIAS_I2C_W::new(self, 31) } diff --git a/esp32s2/src/rtc_cntl/brown_out.rs b/esp32s2/src/rtc_cntl/brown_out.rs index 766e5a4d04..5f45ce9093 100644 --- a/esp32s2/src/rtc_cntl/brown_out.rs +++ b/esp32s2/src/rtc_cntl/brown_out.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Enables the brown_out2 to initiate a chip reset."] #[inline(always)] - #[must_use] pub fn brown_out2_ena(&mut self) -> BROWN_OUT2_ENA_W { BROWN_OUT2_ENA_W::new(self, 0) } #[doc = "Bits 4:13 - Configures the waiting cycle before sending an interrupt."] #[inline(always)] - #[must_use] pub fn int_wait(&mut self) -> INT_WAIT_W { INT_WAIT_W::new(self, 4) } #[doc = "Bit 14 - Set this bit to enable PD the flash when a brown-out happens."] #[inline(always)] - #[must_use] pub fn close_flash_ena(&mut self) -> CLOSE_FLASH_ENA_W { CLOSE_FLASH_ENA_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to enable PD the RF circuits when a brown-out happens."] #[inline(always)] - #[must_use] pub fn pd_rf_ena(&mut self) -> PD_RF_ENA_W { PD_RF_ENA_W::new(self, 15) } #[doc = "Bits 16:25 - Configures the waiting cycle before the reset after a brown-out."] #[inline(always)] - #[must_use] pub fn rst_wait(&mut self) -> RST_WAIT_W { RST_WAIT_W::new(self, 16) } #[doc = "Bit 26 - Enables to reset brown-out."] #[inline(always)] - #[must_use] pub fn rst_ena(&mut self) -> RST_ENA_W { RST_ENA_W::new(self, 26) } #[doc = "Bit 27 - Selects the reset type when a brown-out happens. 1: chip reset 0: system reset."] #[inline(always)] - #[must_use] pub fn rst_sel(&mut self) -> RST_SEL_W { RST_SEL_W::new(self, 27) } #[doc = "Bit 29 - Clears the brown-out counter."] #[inline(always)] - #[must_use] pub fn cnt_clr(&mut self) -> CNT_CLR_W { CNT_CLR_W::new(self, 29) } #[doc = "Bit 30 - Set this bit to enable brown-out detection."] #[inline(always)] - #[must_use] pub fn ena(&mut self) -> ENA_W { ENA_W::new(self, 30) } diff --git a/esp32s2/src/rtc_cntl/clk_conf.rs b/esp32s2/src/rtc_cntl/clk_conf.rs index f73c0fc324..35777540b9 100644 --- a/esp32s2/src/rtc_cntl/clk_conf.rs +++ b/esp32s2/src/rtc_cntl/clk_conf.rs @@ -164,91 +164,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - Synchronizes the reg_ck8m_div_sel. Not that you have to invalidate the bus before switching clock, and validate the new clock."] #[inline(always)] - #[must_use] pub fn ck8m_div_sel_vld(&mut self) -> CK8M_DIV_SEL_VLD_W { CK8M_DIV_SEL_VLD_W::new(self, 3) } #[doc = "Bits 4:5 - Set the CK8M_D256_OUT divider. 00: divided by 128 01: divided by 256 10: divided by 512 11: divided by 1024."] #[inline(always)] - #[must_use] pub fn ck8m_div(&mut self) -> CK8M_DIV_W { CK8M_DIV_W::new(self, 4) } #[doc = "Bit 6 - Set this bit to disable CK8M and CK8M_D256_OUT."] #[inline(always)] - #[must_use] pub fn enb_ck8m(&mut self) -> ENB_CK8M_W { ENB_CK8M_W::new(self, 6) } #[doc = "Bit 7 - Selects the CK8M_D256_OUT. 1: CK8M 0: CK8M divided by 256."] #[inline(always)] - #[must_use] pub fn enb_ck8m_div(&mut self) -> ENB_CK8M_DIV_W { ENB_CK8M_DIV_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to enable CK_XTAL_32K clock for the digital core."] #[inline(always)] - #[must_use] pub fn dig_xtal32k_en(&mut self) -> DIG_XTAL32K_EN_W { DIG_XTAL32K_EN_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to enable CK8M_D256_OUT clock for the digital core."] #[inline(always)] - #[must_use] pub fn dig_clk8m_d256_en(&mut self) -> DIG_CLK8M_D256_EN_W { DIG_CLK8M_D256_EN_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to enable 8 MHz clock for the digital core."] #[inline(always)] - #[must_use] pub fn dig_clk8m_en(&mut self) -> DIG_CLK8M_EN_W { DIG_CLK8M_EN_W::new(self, 10) } #[doc = "Bits 12:14 - Stores the 8 MHz divider, which is reg_ck8m_div_sel + 1"] #[inline(always)] - #[must_use] pub fn ck8m_div_sel(&mut self) -> CK8M_DIV_SEL_W { CK8M_DIV_SEL_W::new(self, 12) } #[doc = "Bit 15 - Set this bit to force no gating to crystal during sleep"] #[inline(always)] - #[must_use] pub fn xtal_force_nogating(&mut self) -> XTAL_FORCE_NOGATING_W { XTAL_FORCE_NOGATING_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to disable force gating to 8 MHz crystal during sleep."] #[inline(always)] - #[must_use] pub fn ck8m_force_nogating(&mut self) -> CK8M_FORCE_NOGATING_W { CK8M_FORCE_NOGATING_W::new(self, 16) } #[doc = "Bits 17:24 - CK8M_DFREQ"] #[inline(always)] - #[must_use] pub fn ck8m_dfreq(&mut self) -> CK8M_DFREQ_W { CK8M_DFREQ_W::new(self, 17) } #[doc = "Bit 25 - Set this bit to FPD the 8 MHz clock."] #[inline(always)] - #[must_use] pub fn ck8m_force_pd(&mut self) -> CK8M_FORCE_PD_W { CK8M_FORCE_PD_W::new(self, 25) } #[doc = "Bit 26 - Set this bit to FPU the 8 MHz clock."] #[inline(always)] - #[must_use] pub fn ck8m_force_pu(&mut self) -> CK8M_FORCE_PU_W { CK8M_FORCE_PU_W::new(self, 26) } #[doc = "Bit 29 - Set this bit to select the RTC fast clock. 0: XTAL div 4, 1: CK8M."] #[inline(always)] - #[must_use] pub fn fast_clk_rtc_sel(&mut self) -> FAST_CLK_RTC_SEL_W { FAST_CLK_RTC_SEL_W::new(self, 29) } #[doc = "Bits 30:31 - Set this bit to select the RTC slow clock. 0: 90K rtc_clk 1: 32k XTAL 2: 8md256."] #[inline(always)] - #[must_use] pub fn ana_clk_rtc_sel(&mut self) -> ANA_CLK_RTC_SEL_W { ANA_CLK_RTC_SEL_W::new(self, 30) } diff --git a/esp32s2/src/rtc_cntl/cocpu_ctrl.rs b/esp32s2/src/rtc_cntl/cocpu_ctrl.rs index bb561a9702..10a2c390b1 100644 --- a/esp32s2/src/rtc_cntl/cocpu_ctrl.rs +++ b/esp32s2/src/rtc_cntl/cocpu_ctrl.rs @@ -106,61 +106,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - ULP-RISCV clock force on"] #[inline(always)] - #[must_use] pub fn cocpu_clk_fo(&mut self) -> COCPU_CLK_FO_W { COCPU_CLK_FO_W::new(self, 0) } #[doc = "Bits 1:6 - Time from ULP-RISCV startup to pull down reset"] #[inline(always)] - #[must_use] pub fn cocpu_start_2_reset_dis(&mut self) -> COCPU_START_2_RESET_DIS_W { COCPU_START_2_RESET_DIS_W::new(self, 1) } #[doc = "Bits 7:12 - Time from ULP-RISCV startup to send out RISCV_START_INT interrupt"] #[inline(always)] - #[must_use] pub fn cocpu_start_2_intr_en(&mut self) -> COCPU_START_2_INTR_EN_W { COCPU_START_2_INTR_EN_W::new(self, 7) } #[doc = "Bit 13 - Shut down ULP-RISCV"] #[inline(always)] - #[must_use] pub fn cocpu_shut(&mut self) -> COCPU_SHUT_W { COCPU_SHUT_W::new(self, 13) } #[doc = "Bits 14:21 - Time from shut down ULP-RISCV to disable clock"] #[inline(always)] - #[must_use] pub fn cocpu_shut_2_clk_dis(&mut self) -> COCPU_SHUT_2_CLK_DIS_W { COCPU_SHUT_2_CLK_DIS_W::new(self, 14) } #[doc = "Bit 22 - This bit is used to reset ULP-RISCV"] #[inline(always)] - #[must_use] pub fn cocpu_shut_reset_en(&mut self) -> COCPU_SHUT_RESET_EN_W { COCPU_SHUT_RESET_EN_W::new(self, 22) } #[doc = "Bit 23 - 0: select ULP-RISCV. 1: select ULP-FSM"] #[inline(always)] - #[must_use] pub fn cocpu_sel(&mut self) -> COCPU_SEL_W { COCPU_SEL_W::new(self, 23) } #[doc = "Bit 24 - 0: select ULP-FSM DONE signal. 1: select ULP-RISCV DONE signal"] #[inline(always)] - #[must_use] pub fn cocpu_done_force(&mut self) -> COCPU_DONE_FORCE_W { COCPU_DONE_FORCE_W::new(self, 24) } #[doc = "Bit 25 - DONE signal. Write 1 to this bit, ULP-RISCV will go to HALT and the timer starts counting"] #[inline(always)] - #[must_use] pub fn cocpu_done(&mut self) -> COCPU_DONE_W { COCPU_DONE_W::new(self, 25) } #[doc = "Bit 26 - Trigger ULP-RISCV register interrupt"] #[inline(always)] - #[must_use] pub fn cocpu_sw_int_trigger(&mut self) -> COCPU_SW_INT_TRIGGER_W { COCPU_SW_INT_TRIGGER_W::new(self, 26) } diff --git a/esp32s2/src/rtc_cntl/cpu_period_conf.rs b/esp32s2/src/rtc_cntl/cpu_period_conf.rs index 3381b16425..04edff2f76 100644 --- a/esp32s2/src/rtc_cntl/cpu_period_conf.rs +++ b/esp32s2/src/rtc_cntl/cpu_period_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 29 - CPU sel option"] #[inline(always)] - #[must_use] pub fn cpusel_conf(&mut self) -> CPUSEL_CONF_W { CPUSEL_CONF_W::new(self, 29) } #[doc = "Bits 30:31"] #[inline(always)] - #[must_use] pub fn cpuperiod_sel(&mut self) -> CPUPERIOD_SEL_W { CPUPERIOD_SEL_W::new(self, 30) } diff --git a/esp32s2/src/rtc_cntl/date.rs b/esp32s2/src/rtc_cntl/date.rs index fb6d0a73f3..2e840166f4 100644 --- a/esp32s2/src/rtc_cntl/date.rs +++ b/esp32s2/src/rtc_cntl/date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27"] #[inline(always)] - #[must_use] pub fn cntl_date(&mut self) -> CNTL_DATE_W { CNTL_DATE_W::new(self, 0) } diff --git a/esp32s2/src/rtc_cntl/dig_iso.rs b/esp32s2/src/rtc_cntl/dig_iso.rs index 4ca30adc50..80f13cbbd5 100644 --- a/esp32s2/src/rtc_cntl/dig_iso.rs +++ b/esp32s2/src/rtc_cntl/dig_iso.rs @@ -254,145 +254,121 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn force_off(&mut self) -> FORCE_OFF_W { FORCE_OFF_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn force_on(&mut self) -> FORCE_ON_W { FORCE_ON_W::new(self, 8) } #[doc = "Bit 10 - Se this bit to clear the auto-hold enabler for the digital GPIOs."] #[inline(always)] - #[must_use] pub fn clr_dg_pad_autohold(&mut self) -> CLR_DG_PAD_AUTOHOLD_W { CLR_DG_PAD_AUTOHOLD_W::new(self, 10) } #[doc = "Bit 11 - Se this bit to allow the digital GPIOs to enter the autohold status."] #[inline(always)] - #[must_use] pub fn dg_pad_autohold_en(&mut self) -> DG_PAD_AUTOHOLD_EN_W { DG_PAD_AUTOHOLD_EN_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to disable the force isolation to the digital GPIOs."] #[inline(always)] - #[must_use] pub fn dg_pad_force_noiso(&mut self) -> DG_PAD_FORCE_NOISO_W { DG_PAD_FORCE_NOISO_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to force isolate the digital GPIOs."] #[inline(always)] - #[must_use] pub fn dg_pad_force_iso(&mut self) -> DG_PAD_FORCE_ISO_W { DG_PAD_FORCE_ISO_W::new(self, 13) } #[doc = "Bit 14 - Set this bit the force unhold the digital GPIOs."] #[inline(always)] - #[must_use] pub fn dg_pad_force_unhold(&mut self) -> DG_PAD_FORCE_UNHOLD_W { DG_PAD_FORCE_UNHOLD_W::new(self, 14) } #[doc = "Bit 15 - Set this bit the force hold the digital GPIOs."] #[inline(always)] - #[must_use] pub fn dg_pad_force_hold(&mut self) -> DG_PAD_FORCE_HOLD_W { DG_PAD_FORCE_HOLD_W::new(self, 15) } #[doc = "Bit 16 - ROM force ISO"] #[inline(always)] - #[must_use] pub fn rom0_force_iso(&mut self) -> ROM0_FORCE_ISO_W { ROM0_FORCE_ISO_W::new(self, 16) } #[doc = "Bit 17 - ROM force no ISO"] #[inline(always)] - #[must_use] pub fn rom0_force_noiso(&mut self) -> ROM0_FORCE_NOISO_W { ROM0_FORCE_NOISO_W::new(self, 17) } #[doc = "Bit 18 - internal SRAM 0 force ISO"] #[inline(always)] - #[must_use] pub fn inter_ram0_force_iso(&mut self) -> INTER_RAM0_FORCE_ISO_W { INTER_RAM0_FORCE_ISO_W::new(self, 18) } #[doc = "Bit 19 - internal SRAM 0 force no ISO"] #[inline(always)] - #[must_use] pub fn inter_ram0_force_noiso(&mut self) -> INTER_RAM0_FORCE_NOISO_W { INTER_RAM0_FORCE_NOISO_W::new(self, 19) } #[doc = "Bit 20 - internal SRAM 1 force ISO"] #[inline(always)] - #[must_use] pub fn inter_ram1_force_iso(&mut self) -> INTER_RAM1_FORCE_ISO_W { INTER_RAM1_FORCE_ISO_W::new(self, 20) } #[doc = "Bit 21 - internal SRAM 1 force no ISO"] #[inline(always)] - #[must_use] pub fn inter_ram1_force_noiso(&mut self) -> INTER_RAM1_FORCE_NOISO_W { INTER_RAM1_FORCE_NOISO_W::new(self, 21) } #[doc = "Bit 22 - internal SRAM 2 force ISO"] #[inline(always)] - #[must_use] pub fn inter_ram2_force_iso(&mut self) -> INTER_RAM2_FORCE_ISO_W { INTER_RAM2_FORCE_ISO_W::new(self, 22) } #[doc = "Bit 23 - internal SRAM 2 force no ISO"] #[inline(always)] - #[must_use] pub fn inter_ram2_force_noiso(&mut self) -> INTER_RAM2_FORCE_NOISO_W { INTER_RAM2_FORCE_NOISO_W::new(self, 23) } #[doc = "Bit 24 - internal SRAM 3 force ISO"] #[inline(always)] - #[must_use] pub fn inter_ram3_force_iso(&mut self) -> INTER_RAM3_FORCE_ISO_W { INTER_RAM3_FORCE_ISO_W::new(self, 24) } #[doc = "Bit 25 - internal SRAM 3 force no ISO"] #[inline(always)] - #[must_use] pub fn inter_ram3_force_noiso(&mut self) -> INTER_RAM3_FORCE_NOISO_W { INTER_RAM3_FORCE_NOISO_W::new(self, 25) } #[doc = "Bit 26 - internal SRAM 4 force ISO"] #[inline(always)] - #[must_use] pub fn inter_ram4_force_iso(&mut self) -> INTER_RAM4_FORCE_ISO_W { INTER_RAM4_FORCE_ISO_W::new(self, 26) } #[doc = "Bit 27 - internal SRAM 4 force no ISO"] #[inline(always)] - #[must_use] pub fn inter_ram4_force_noiso(&mut self) -> INTER_RAM4_FORCE_NOISO_W { INTER_RAM4_FORCE_NOISO_W::new(self, 27) } #[doc = "Bit 28 - Set this bit to force isolate the Wi-Fi circuits."] #[inline(always)] - #[must_use] pub fn wifi_force_iso(&mut self) -> WIFI_FORCE_ISO_W { WIFI_FORCE_ISO_W::new(self, 28) } #[doc = "Bit 29 - Set this bit to disable the force isolation to the Wi-Fi circuits."] #[inline(always)] - #[must_use] pub fn wifi_force_noiso(&mut self) -> WIFI_FORCE_NOISO_W { WIFI_FORCE_NOISO_W::new(self, 29) } #[doc = "Bit 30 - Set this bit to force isolate the digital system."] #[inline(always)] - #[must_use] pub fn dg_wrap_force_iso(&mut self) -> DG_WRAP_FORCE_ISO_W { DG_WRAP_FORCE_ISO_W::new(self, 30) } #[doc = "Bit 31 - Set this bit to disable the force isolation to the digital system."] #[inline(always)] - #[must_use] pub fn dg_wrap_force_noiso(&mut self) -> DG_WRAP_FORCE_NOISO_W { DG_WRAP_FORCE_NOISO_W::new(self, 31) } diff --git a/esp32s2/src/rtc_cntl/dig_pad_hold.rs b/esp32s2/src/rtc_cntl/dig_pad_hold.rs index b903fec7bb..3643a28bd8 100644 --- a/esp32s2/src/rtc_cntl/dig_pad_hold.rs +++ b/esp32s2/src/rtc_cntl/dig_pad_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Set GPIO 21 to GPIO 45 to hold. (See bitmap to locate any GPIO)."] #[inline(always)] - #[must_use] pub fn dig_pad_hold(&mut self) -> DIG_PAD_HOLD_W { DIG_PAD_HOLD_W::new(self, 0) } diff --git a/esp32s2/src/rtc_cntl/dig_pwc.rs b/esp32s2/src/rtc_cntl/dig_pwc.rs index e10a7018e7..d05635522b 100644 --- a/esp32s2/src/rtc_cntl/dig_pwc.rs +++ b/esp32s2/src/rtc_cntl/dig_pwc.rs @@ -304,175 +304,146 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - Set this bit to FPD the memories in the digital system in sleep."] #[inline(always)] - #[must_use] pub fn lslp_mem_force_pd(&mut self) -> LSLP_MEM_FORCE_PD_W { LSLP_MEM_FORCE_PD_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to FPU the memories in the digital system."] #[inline(always)] - #[must_use] pub fn lslp_mem_force_pu(&mut self) -> LSLP_MEM_FORCE_PU_W { LSLP_MEM_FORCE_PU_W::new(self, 4) } #[doc = "Bit 5 - ROM force power down"] #[inline(always)] - #[must_use] pub fn rom0_force_pd(&mut self) -> ROM0_FORCE_PD_W { ROM0_FORCE_PD_W::new(self, 5) } #[doc = "Bit 6 - ROM force power up"] #[inline(always)] - #[must_use] pub fn rom0_force_pu(&mut self) -> ROM0_FORCE_PU_W { ROM0_FORCE_PU_W::new(self, 6) } #[doc = "Bit 7 - internal SRAM 0 force power down"] #[inline(always)] - #[must_use] pub fn inter_ram0_force_pd(&mut self) -> INTER_RAM0_FORCE_PD_W { INTER_RAM0_FORCE_PD_W::new(self, 7) } #[doc = "Bit 8 - internal SRAM 0 force power up"] #[inline(always)] - #[must_use] pub fn inter_ram0_force_pu(&mut self) -> INTER_RAM0_FORCE_PU_W { INTER_RAM0_FORCE_PU_W::new(self, 8) } #[doc = "Bit 9 - internal SRAM 1 force power down"] #[inline(always)] - #[must_use] pub fn inter_ram1_force_pd(&mut self) -> INTER_RAM1_FORCE_PD_W { INTER_RAM1_FORCE_PD_W::new(self, 9) } #[doc = "Bit 10 - internal SRAM 1 force power up"] #[inline(always)] - #[must_use] pub fn inter_ram1_force_pu(&mut self) -> INTER_RAM1_FORCE_PU_W { INTER_RAM1_FORCE_PU_W::new(self, 10) } #[doc = "Bit 11 - internal SRAM 2 force power down"] #[inline(always)] - #[must_use] pub fn inter_ram2_force_pd(&mut self) -> INTER_RAM2_FORCE_PD_W { INTER_RAM2_FORCE_PD_W::new(self, 11) } #[doc = "Bit 12 - internal SRAM 2 force power up"] #[inline(always)] - #[must_use] pub fn inter_ram2_force_pu(&mut self) -> INTER_RAM2_FORCE_PU_W { INTER_RAM2_FORCE_PU_W::new(self, 12) } #[doc = "Bit 13 - internal SRAM 3 force power down"] #[inline(always)] - #[must_use] pub fn inter_ram3_force_pd(&mut self) -> INTER_RAM3_FORCE_PD_W { INTER_RAM3_FORCE_PD_W::new(self, 13) } #[doc = "Bit 14 - internal SRAM 3 force power up"] #[inline(always)] - #[must_use] pub fn inter_ram3_force_pu(&mut self) -> INTER_RAM3_FORCE_PU_W { INTER_RAM3_FORCE_PU_W::new(self, 14) } #[doc = "Bit 15 - internal SRAM 4 force power down"] #[inline(always)] - #[must_use] pub fn inter_ram4_force_pd(&mut self) -> INTER_RAM4_FORCE_PD_W { INTER_RAM4_FORCE_PD_W::new(self, 15) } #[doc = "Bit 16 - internal SRAM 4 force power up"] #[inline(always)] - #[must_use] pub fn inter_ram4_force_pu(&mut self) -> INTER_RAM4_FORCE_PU_W { INTER_RAM4_FORCE_PU_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to FPD the Wi-Fi circuit."] #[inline(always)] - #[must_use] pub fn wifi_force_pd(&mut self) -> WIFI_FORCE_PD_W { WIFI_FORCE_PD_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to FPU the Wi-Fi circuit."] #[inline(always)] - #[must_use] pub fn wifi_force_pu(&mut self) -> WIFI_FORCE_PU_W { WIFI_FORCE_PU_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to FPD the digital system."] #[inline(always)] - #[must_use] pub fn dg_wrap_force_pd(&mut self) -> DG_WRAP_FORCE_PD_W { DG_WRAP_FORCE_PD_W::new(self, 19) } #[doc = "Bit 20 - Set this bit to FPD the DC-DC convertor in the digital system."] #[inline(always)] - #[must_use] pub fn dg_wrap_force_pu(&mut self) -> DG_WRAP_FORCE_PU_W { DG_WRAP_FORCE_PU_W::new(self, 20) } #[doc = "Bit 21 - Set this bit to FPD the DC-DC convertor in the digital system."] #[inline(always)] - #[must_use] pub fn dg_dcdc_force_pd(&mut self) -> DG_DCDC_FORCE_PD_W { DG_DCDC_FORCE_PD_W::new(self, 21) } #[doc = "Bit 22 - Set this bit to FPU the DC-DC convertor in the digital system."] #[inline(always)] - #[must_use] pub fn dg_dcdc_force_pu(&mut self) -> DG_DCDC_FORCE_PU_W { DG_DCDC_FORCE_PU_W::new(self, 22) } #[doc = "Bit 23 - Set this bit to enable PD for the DC-DC convertor in the digital system."] #[inline(always)] - #[must_use] pub fn dg_dcdc_pd_en(&mut self) -> DG_DCDC_PD_EN_W { DG_DCDC_PD_EN_W::new(self, 23) } #[doc = "Bit 24 - enable power down ROM in sleep"] #[inline(always)] - #[must_use] pub fn rom0_pd_en(&mut self) -> ROM0_PD_EN_W { ROM0_PD_EN_W::new(self, 24) } #[doc = "Bit 25 - enable power down internal SRAM 0 in sleep"] #[inline(always)] - #[must_use] pub fn inter_ram0_pd_en(&mut self) -> INTER_RAM0_PD_EN_W { INTER_RAM0_PD_EN_W::new(self, 25) } #[doc = "Bit 26 - enable power down internal SRAM 1 in sleep"] #[inline(always)] - #[must_use] pub fn inter_ram1_pd_en(&mut self) -> INTER_RAM1_PD_EN_W { INTER_RAM1_PD_EN_W::new(self, 26) } #[doc = "Bit 27 - enable power down internal SRAM 2 in sleep"] #[inline(always)] - #[must_use] pub fn inter_ram2_pd_en(&mut self) -> INTER_RAM2_PD_EN_W { INTER_RAM2_PD_EN_W::new(self, 27) } #[doc = "Bit 28 - enable power down internal SRAM 3 in sleep"] #[inline(always)] - #[must_use] pub fn inter_ram3_pd_en(&mut self) -> INTER_RAM3_PD_EN_W { INTER_RAM3_PD_EN_W::new(self, 28) } #[doc = "Bit 29 - enable power down internal SRAM 4 in sleep"] #[inline(always)] - #[must_use] pub fn inter_ram4_pd_en(&mut self) -> INTER_RAM4_PD_EN_W { INTER_RAM4_PD_EN_W::new(self, 29) } #[doc = "Bit 30 - Set this bit to enable PD for the Wi-Fi circuit in sleep."] #[inline(always)] - #[must_use] pub fn wifi_pd_en(&mut self) -> WIFI_PD_EN_W { WIFI_PD_EN_W::new(self, 30) } #[doc = "Bit 31 - Set this bit to enable PD for the digital system in sleep."] #[inline(always)] - #[must_use] pub fn dg_wrap_pd_en(&mut self) -> DG_WRAP_PD_EN_W { DG_WRAP_PD_EN_W::new(self, 31) } diff --git a/esp32s2/src/rtc_cntl/ext_wakeup1.rs b/esp32s2/src/rtc_cntl/ext_wakeup1.rs index c286fa86a3..2f32a3de7b 100644 --- a/esp32s2/src/rtc_cntl/ext_wakeup1.rs +++ b/esp32s2/src/rtc_cntl/ext_wakeup1.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - Selects a RTC GPIO to be the EXT1 wakeup source."] #[inline(always)] - #[must_use] pub fn sel(&mut self) -> SEL_W { SEL_W::new(self, 0) } #[doc = "Bit 22 - Clears the EXT1 wakeup status."] #[inline(always)] - #[must_use] pub fn status_clr(&mut self) -> STATUS_CLR_W { STATUS_CLR_W::new(self, 22) } diff --git a/esp32s2/src/rtc_cntl/ext_wakeup_conf.rs b/esp32s2/src/rtc_cntl/ext_wakeup_conf.rs index d49ef346ba..c091db1082 100644 --- a/esp32s2/src/rtc_cntl/ext_wakeup_conf.rs +++ b/esp32s2/src/rtc_cntl/ext_wakeup_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 29 - Set this bit to enable the GPIO wakeup event filter."] #[inline(always)] - #[must_use] pub fn gpio_wakeup_filter(&mut self) -> GPIO_WAKEUP_FILTER_W { GPIO_WAKEUP_FILTER_W::new(self, 29) } #[doc = "Bit 30 - 0: external wakeup 0 at low level 1: external wakeup 0 at high level"] #[inline(always)] - #[must_use] pub fn ext_wakeup0_lv(&mut self) -> EXT_WAKEUP0_LV_W { EXT_WAKEUP0_LV_W::new(self, 30) } #[doc = "Bit 31 - 0: external wakeup 1 at low level 1: external wakeup 1 at high level"] #[inline(always)] - #[must_use] pub fn ext_wakeup1_lv(&mut self) -> EXT_WAKEUP1_LV_W { EXT_WAKEUP1_LV_W::new(self, 31) } diff --git a/esp32s2/src/rtc_cntl/ext_xtl_conf.rs b/esp32s2/src/rtc_cntl/ext_xtl_conf.rs index f2b1aa1b3b..d42bf4a33a 100644 --- a/esp32s2/src/rtc_cntl/ext_xtl_conf.rs +++ b/esp32s2/src/rtc_cntl/ext_xtl_conf.rs @@ -192,103 +192,86 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable the 32 kHz crystal watchdog."] #[inline(always)] - #[must_use] pub fn xtal32k_wdt_en(&mut self) -> XTAL32K_WDT_EN_W { XTAL32K_WDT_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to FPU the 32 kHz crystal watchdog clock."] #[inline(always)] - #[must_use] pub fn xtal32k_wdt_clk_fo(&mut self) -> XTAL32K_WDT_CLK_FO_W { XTAL32K_WDT_CLK_FO_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to reset the 32 kHz crystal watchdog by SW."] #[inline(always)] - #[must_use] pub fn xtal32k_wdt_reset(&mut self) -> XTAL32K_WDT_RESET_W { XTAL32K_WDT_RESET_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to FPU the external clock of 32 kHz crystal."] #[inline(always)] - #[must_use] pub fn xtal32k_ext_clk_fo(&mut self) -> XTAL32K_EXT_CLK_FO_W { XTAL32K_EXT_CLK_FO_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to switch to the backup clock when the 32 kHz crystal is dead."] #[inline(always)] - #[must_use] pub fn xtal32k_auto_backup(&mut self) -> XTAL32K_AUTO_BACKUP_W { XTAL32K_AUTO_BACKUP_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to restart the 32 kHz crystal automatically when the 32 kHz crystal is dead."] #[inline(always)] - #[must_use] pub fn xtal32k_auto_restart(&mut self) -> XTAL32K_AUTO_RESTART_W { XTAL32K_AUTO_RESTART_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to switch back to 32 kHz crystal when the 32 kHz crystal is restarted."] #[inline(always)] - #[must_use] pub fn xtal32k_auto_return(&mut self) -> XTAL32K_AUTO_RETURN_W { XTAL32K_AUTO_RETURN_W::new(self, 6) } #[doc = "Bit 7 - Set 1 to allow the software to FPD the 32 kHz crystal. Set 0 to allow the FSM to FPD the 32 kHz crystal. (R/W)"] #[inline(always)] - #[must_use] pub fn xtal32k_xpd_force(&mut self) -> XTAL32K_XPD_FORCE_W { XTAL32K_XPD_FORCE_W::new(self, 7) } #[doc = "Bit 8 - Applies an internal clock to help the 32 kHz crystal to start."] #[inline(always)] - #[must_use] pub fn enckinit_xtal_32k(&mut self) -> ENCKINIT_XTAL_32K_W { ENCKINIT_XTAL_32K_W::new(self, 8) } #[doc = "Bit 9 - 0: single-end buffer 1: differential buffer"] #[inline(always)] - #[must_use] pub fn dbuf_xtal_32k(&mut self) -> DBUF_XTAL_32K_W { DBUF_XTAL_32K_W::new(self, 9) } #[doc = "Bits 10:12 - xtal_32k gm control"] #[inline(always)] - #[must_use] pub fn dgm_xtal_32k(&mut self) -> DGM_XTAL_32K_W { DGM_XTAL_32K_W::new(self, 10) } #[doc = "Bits 13:15 - DRES_XTAL_32K"] #[inline(always)] - #[must_use] pub fn dres_xtal_32k(&mut self) -> DRES_XTAL_32K_W { DRES_XTAL_32K_W::new(self, 13) } #[doc = "Bit 16 - XPD_XTAL_32K"] #[inline(always)] - #[must_use] pub fn xpd_xtal_32k(&mut self) -> XPD_XTAL_32K_W { XPD_XTAL_32K_W::new(self, 16) } #[doc = "Bits 17:19 - DAC_XTAL_32K"] #[inline(always)] - #[must_use] pub fn dac_xtal_32k(&mut self) -> DAC_XTAL_32K_W { DAC_XTAL_32K_W::new(self, 17) } #[doc = "Bit 23 - Selects the 32 kHz crystal clock. 0: selects the external 32 kHz clock. 1: selects clock from the RTC GPIO X32P_C."] #[inline(always)] - #[must_use] pub fn xtal32k_gpio_sel(&mut self) -> XTAL32K_GPIO_SEL_W { XTAL32K_GPIO_SEL_W::new(self, 23) } #[doc = "Bit 30 - 0: powers down XTAL at high level 1: powers down XTAL at low level"] #[inline(always)] - #[must_use] pub fn xtl_ext_ctr_lv(&mut self) -> XTL_EXT_CTR_LV_W { XTL_EXT_CTR_LV_W::new(self, 30) } #[doc = "Bit 31 - Enables the GPIO to power down the crystal oscillator."] #[inline(always)] - #[must_use] pub fn xtl_ext_ctr_en(&mut self) -> XTL_EXT_CTR_EN_W { XTL_EXT_CTR_EN_W::new(self, 31) } diff --git a/esp32s2/src/rtc_cntl/int_clr.rs b/esp32s2/src/rtc_cntl/int_clr.rs index e44dd1b29d..b3c0fa6221 100644 --- a/esp32s2/src/rtc_cntl/int_clr.rs +++ b/esp32s2/src/rtc_cntl/int_clr.rs @@ -49,121 +49,101 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Clears the interrupt triggered when the chip wakes up from sleep."] #[inline(always)] - #[must_use] pub fn slp_wakeup(&mut self) -> SLP_WAKEUP_W { SLP_WAKEUP_W::new(self, 0) } #[doc = "Bit 1 - Clears the interrupt triggered when the chip rejects to go to sleep."] #[inline(always)] - #[must_use] pub fn slp_reject(&mut self) -> SLP_REJECT_W { SLP_REJECT_W::new(self, 1) } #[doc = "Bit 2 - Clears the interrupt triggered when the SDIO idles."] #[inline(always)] - #[must_use] pub fn sdio_idle(&mut self) -> SDIO_IDLE_W { SDIO_IDLE_W::new(self, 2) } #[doc = "Bit 3 - Enables the RTC watchdog interrupt."] #[inline(always)] - #[must_use] pub fn wdt(&mut self) -> WDT_W { WDT_W::new(self, 3) } #[doc = "Bit 4 - Clears the interrupt triggered upon the completion of a touch scanning."] #[inline(always)] - #[must_use] pub fn touch_scan_done(&mut self) -> TOUCH_SCAN_DONE_W { TOUCH_SCAN_DONE_W::new(self, 4) } #[doc = "Bit 5 - Enables the ULP co-processor interrupt."] #[inline(always)] - #[must_use] pub fn ulp_cp(&mut self) -> ULP_CP_W { ULP_CP_W::new(self, 5) } #[doc = "Bit 6 - Clears the interrupt triggered upon the completion of a single touch."] #[inline(always)] - #[must_use] pub fn touch_done(&mut self) -> TOUCH_DONE_W { TOUCH_DONE_W::new(self, 6) } #[doc = "Bit 7 - Clears the interrupt triggered when a touch is detected."] #[inline(always)] - #[must_use] pub fn touch_active(&mut self) -> TOUCH_ACTIVE_W { TOUCH_ACTIVE_W::new(self, 7) } #[doc = "Bit 8 - Clears the interrupt triggered when a touch is released."] #[inline(always)] - #[must_use] pub fn touch_inactive(&mut self) -> TOUCH_INACTIVE_W { TOUCH_INACTIVE_W::new(self, 8) } #[doc = "Bit 9 - Clears the brown out interrupt."] #[inline(always)] - #[must_use] pub fn brown_out(&mut self) -> BROWN_OUT_W { BROWN_OUT_W::new(self, 9) } #[doc = "Bit 10 - Clears the RTC main timer interrupt."] #[inline(always)] - #[must_use] pub fn main_timer(&mut self) -> MAIN_TIMER_W { MAIN_TIMER_W::new(self, 10) } #[doc = "Bit 11 - Clears the SAR ADC 1 interrupt."] #[inline(always)] - #[must_use] pub fn saradc1(&mut self) -> SARADC1_W { SARADC1_W::new(self, 11) } #[doc = "Bit 12 - Clears the touch sensor interrupt."] #[inline(always)] - #[must_use] pub fn tsens(&mut self) -> TSENS_W { TSENS_W::new(self, 12) } #[doc = "Bit 13 - Clears the ULP-RISCV interrupt."] #[inline(always)] - #[must_use] pub fn cocpu(&mut self) -> COCPU_W { COCPU_W::new(self, 13) } #[doc = "Bit 14 - Clears the SAR ADC 2 interrupt."] #[inline(always)] - #[must_use] pub fn saradc2(&mut self) -> SARADC2_W { SARADC2_W::new(self, 14) } #[doc = "Bit 15 - Clears the super watchdog interrupt."] #[inline(always)] - #[must_use] pub fn swd(&mut self) -> SWD_W { SWD_W::new(self, 15) } #[doc = "Bit 16 - Clears the interrupt triggered when the 32 kHz crystal is dead."] #[inline(always)] - #[must_use] pub fn xtal32k_dead(&mut self) -> XTAL32K_DEAD_W { XTAL32K_DEAD_W::new(self, 16) } #[doc = "Bit 17 - Clears the interrupt triggered when the ULP-RISCV is trapped."] #[inline(always)] - #[must_use] pub fn cocpu_trap(&mut self) -> COCPU_TRAP_W { COCPU_TRAP_W::new(self, 17) } #[doc = "Bit 18 - Clears the interrupt triggered when touch sensor times out."] #[inline(always)] - #[must_use] pub fn touch_timeout(&mut self) -> TOUCH_TIMEOUT_W { TOUCH_TIMEOUT_W::new(self, 18) } #[doc = "Bit 19 - Clears the interrupt triggered when a glitch is detected."] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 19) } diff --git a/esp32s2/src/rtc_cntl/int_ena.rs b/esp32s2/src/rtc_cntl/int_ena.rs index cbb8f03b0f..04242b643a 100644 --- a/esp32s2/src/rtc_cntl/int_ena.rs +++ b/esp32s2/src/rtc_cntl/int_ena.rs @@ -214,121 +214,101 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Enables interruption when the chip wakes up from sleep."] #[inline(always)] - #[must_use] pub fn slp_wakeup(&mut self) -> SLP_WAKEUP_W { SLP_WAKEUP_W::new(self, 0) } #[doc = "Bit 1 - Enables interruption when the chip rejects to go to sleep."] #[inline(always)] - #[must_use] pub fn slp_reject(&mut self) -> SLP_REJECT_W { SLP_REJECT_W::new(self, 1) } #[doc = "Bit 2 - Enables interruption when the SDIO idles."] #[inline(always)] - #[must_use] pub fn sdio_idle(&mut self) -> SDIO_IDLE_W { SDIO_IDLE_W::new(self, 2) } #[doc = "Bit 3 - Enables the RTC watchdog interrupt."] #[inline(always)] - #[must_use] pub fn wdt(&mut self) -> WDT_W { WDT_W::new(self, 3) } #[doc = "Bit 4 - Enables interruption upon the completion of a touch scanning."] #[inline(always)] - #[must_use] pub fn touch_scan_done(&mut self) -> TOUCH_SCAN_DONE_W { TOUCH_SCAN_DONE_W::new(self, 4) } #[doc = "Bit 5 - Enables the ULP co-processor interrupt."] #[inline(always)] - #[must_use] pub fn ulp_cp(&mut self) -> ULP_CP_W { ULP_CP_W::new(self, 5) } #[doc = "Bit 6 - Enables interruption upon the completion of a single touch."] #[inline(always)] - #[must_use] pub fn touch_done(&mut self) -> TOUCH_DONE_W { TOUCH_DONE_W::new(self, 6) } #[doc = "Bit 7 - Enables interruption when a touch is detected."] #[inline(always)] - #[must_use] pub fn touch_active(&mut self) -> TOUCH_ACTIVE_W { TOUCH_ACTIVE_W::new(self, 7) } #[doc = "Bit 8 - Enables interruption when a touch is released."] #[inline(always)] - #[must_use] pub fn touch_inactive(&mut self) -> TOUCH_INACTIVE_W { TOUCH_INACTIVE_W::new(self, 8) } #[doc = "Bit 9 - Enables the brown out interrupt."] #[inline(always)] - #[must_use] pub fn brown_out(&mut self) -> BROWN_OUT_W { BROWN_OUT_W::new(self, 9) } #[doc = "Bit 10 - Enables the RTC main timer interrupt."] #[inline(always)] - #[must_use] pub fn main_timer(&mut self) -> MAIN_TIMER_W { MAIN_TIMER_W::new(self, 10) } #[doc = "Bit 11 - Enables the SAR ADC 1 interrupt."] #[inline(always)] - #[must_use] pub fn saradc1(&mut self) -> SARADC1_W { SARADC1_W::new(self, 11) } #[doc = "Bit 12 - Enables the touch sensor interrupt."] #[inline(always)] - #[must_use] pub fn tsens(&mut self) -> TSENS_W { TSENS_W::new(self, 12) } #[doc = "Bit 13 - Enables the ULP-RISCV interrupt."] #[inline(always)] - #[must_use] pub fn cocpu(&mut self) -> COCPU_W { COCPU_W::new(self, 13) } #[doc = "Bit 14 - Enables the SAR ADC 2 interrupt."] #[inline(always)] - #[must_use] pub fn saradc2(&mut self) -> SARADC2_W { SARADC2_W::new(self, 14) } #[doc = "Bit 15 - Enables the super watchdog interrupt."] #[inline(always)] - #[must_use] pub fn swd(&mut self) -> SWD_W { SWD_W::new(self, 15) } #[doc = "Bit 16 - Enables interruption when the 32 kHz crystal is dead."] #[inline(always)] - #[must_use] pub fn xtal32k_dead(&mut self) -> XTAL32K_DEAD_W { XTAL32K_DEAD_W::new(self, 16) } #[doc = "Bit 17 - Enables interruption when the ULP-RISCV is trapped."] #[inline(always)] - #[must_use] pub fn cocpu_trap(&mut self) -> COCPU_TRAP_W { COCPU_TRAP_W::new(self, 17) } #[doc = "Bit 18 - Enables interruption when touch sensor times out."] #[inline(always)] - #[must_use] pub fn touch_timeout(&mut self) -> TOUCH_TIMEOUT_W { TOUCH_TIMEOUT_W::new(self, 18) } #[doc = "Bit 19 - Enables interruption when a glitch is detected."] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 19) } diff --git a/esp32s2/src/rtc_cntl/options0.rs b/esp32s2/src/rtc_cntl/options0.rs index 6a1b7b99e6..0263f2c737 100644 --- a/esp32s2/src/rtc_cntl/options0.rs +++ b/esp32s2/src/rtc_cntl/options0.rs @@ -200,127 +200,106 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - {reg_sw_stall_appcpu_c1\\[5:0\\] , reg_sw_stall_appcpu_c0\\[1:0\\]} == 0x86 will stall APP CPU"] #[inline(always)] - #[must_use] pub fn sw_stall_appcpu_c0(&mut self) -> SW_STALL_APPCPU_C0_W { SW_STALL_APPCPU_C0_W::new(self, 0) } #[doc = "Bits 2:3 - When RTC_CNTL_REG_SW_STALL_PROCPU_C1 is configured to 0x21, setting this bit to 0x2 stalls the CPU by SW."] #[inline(always)] - #[must_use] pub fn sw_stall_procpu_c0(&mut self) -> SW_STALL_PROCPU_C0_W { SW_STALL_PROCPU_C0_W::new(self, 2) } #[doc = "Bit 4 - APP CPU SW reset. (Note, we don’t have APP CPU for ESP32-S2)"] #[inline(always)] - #[must_use] pub fn sw_appcpu_rst(&mut self) -> SW_APPCPU_RST_W { SW_APPCPU_RST_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to reset the CPU by SW."] #[inline(always)] - #[must_use] pub fn sw_procpu_rst(&mut self) -> SW_PROCPU_RST_W { SW_PROCPU_RST_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to FPD BB_I2C."] #[inline(always)] - #[must_use] pub fn bb_i2c_force_pd(&mut self) -> BB_I2C_FORCE_PD_W { BB_I2C_FORCE_PD_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to FPU BB_I2C."] #[inline(always)] - #[must_use] pub fn bb_i2c_force_pu(&mut self) -> BB_I2C_FORCE_PU_W { BB_I2C_FORCE_PU_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to FPD BB_PLL _I2C."] #[inline(always)] - #[must_use] pub fn bbpll_i2c_force_pd(&mut self) -> BBPLL_I2C_FORCE_PD_W { BBPLL_I2C_FORCE_PD_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to FPU BB_PLL _I2C."] #[inline(always)] - #[must_use] pub fn bbpll_i2c_force_pu(&mut self) -> BBPLL_I2C_FORCE_PU_W { BBPLL_I2C_FORCE_PU_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to FPD BB_PLL."] #[inline(always)] - #[must_use] pub fn bbpll_force_pd(&mut self) -> BBPLL_FORCE_PD_W { BBPLL_FORCE_PD_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to FPU BB_PLL."] #[inline(always)] - #[must_use] pub fn bbpll_force_pu(&mut self) -> BBPLL_FORCE_PU_W { BBPLL_FORCE_PU_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to FPD the crystal oscillator."] #[inline(always)] - #[must_use] pub fn xtl_force_pd(&mut self) -> XTL_FORCE_PD_W { XTL_FORCE_PD_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to FPU the crystal oscillator."] #[inline(always)] - #[must_use] pub fn xtl_force_pu(&mut self) -> XTL_FORCE_PU_W { XTL_FORCE_PU_W::new(self, 13) } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn xtl_force_iso(&mut self) -> XTL_FORCE_ISO_W { XTL_FORCE_ISO_W::new(self, 23) } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn pll_force_iso(&mut self) -> PLL_FORCE_ISO_W { PLL_FORCE_ISO_W::new(self, 24) } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn analog_force_iso(&mut self) -> ANALOG_FORCE_ISO_W { ANALOG_FORCE_ISO_W::new(self, 25) } #[doc = "Bit 26"] #[inline(always)] - #[must_use] pub fn xtl_force_noiso(&mut self) -> XTL_FORCE_NOISO_W { XTL_FORCE_NOISO_W::new(self, 26) } #[doc = "Bit 27"] #[inline(always)] - #[must_use] pub fn pll_force_noiso(&mut self) -> PLL_FORCE_NOISO_W { PLL_FORCE_NOISO_W::new(self, 27) } #[doc = "Bit 28"] #[inline(always)] - #[must_use] pub fn analog_force_noiso(&mut self) -> ANALOG_FORCE_NOISO_W { ANALOG_FORCE_NOISO_W::new(self, 28) } #[doc = "Bit 29 - Set this bit to force reset the digital system in deep-sleep."] #[inline(always)] - #[must_use] pub fn dg_wrap_force_rst(&mut self) -> DG_WRAP_FORCE_RST_W { DG_WRAP_FORCE_RST_W::new(self, 29) } #[doc = "Bit 30 - Set this bit to disable force reset to digital system in deep-sleep."] #[inline(always)] - #[must_use] pub fn dg_wrap_force_norst(&mut self) -> DG_WRAP_FORCE_NORST_W { DG_WRAP_FORCE_NORST_W::new(self, 30) } #[doc = "Bit 31 - Set this bit to reset the system via SW."] #[inline(always)] - #[must_use] pub fn sw_sys_rst(&mut self) -> SW_SYS_RST_W { SW_SYS_RST_W::new(self, 31) } diff --git a/esp32s2/src/rtc_cntl/options1.rs b/esp32s2/src/rtc_cntl/options1.rs index 23975a9642..592b93f5ed 100644 --- a/esp32s2/src/rtc_cntl/options1.rs +++ b/esp32s2/src/rtc_cntl/options1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to force the chip to boot from the download mode."] #[inline(always)] - #[must_use] pub fn force_download_boot(&mut self) -> FORCE_DOWNLOAD_BOOT_W { FORCE_DOWNLOAD_BOOT_W::new(self, 0) } diff --git a/esp32s2/src/rtc_cntl/pad_hold.rs b/esp32s2/src/rtc_cntl/pad_hold.rs index 955c3b95ba..17f0175772 100644 --- a/esp32s2/src/rtc_cntl/pad_hold.rs +++ b/esp32s2/src/rtc_cntl/pad_hold.rs @@ -234,133 +234,111 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Sets the touch GPIO 0 to hold."] #[inline(always)] - #[must_use] pub fn touch_pad0_hold(&mut self) -> TOUCH_PAD0_HOLD_W { TOUCH_PAD0_HOLD_W::new(self, 0) } #[doc = "Bit 1 - Sets the touch GPIO 1 to hold."] #[inline(always)] - #[must_use] pub fn touch_pad1_hold(&mut self) -> TOUCH_PAD1_HOLD_W { TOUCH_PAD1_HOLD_W::new(self, 1) } #[doc = "Bit 2 - Sets the touch GPIO 2 to hold."] #[inline(always)] - #[must_use] pub fn touch_pad2_hold(&mut self) -> TOUCH_PAD2_HOLD_W { TOUCH_PAD2_HOLD_W::new(self, 2) } #[doc = "Bit 3 - Sets the touch GPIO 3 to hold."] #[inline(always)] - #[must_use] pub fn touch_pad3_hold(&mut self) -> TOUCH_PAD3_HOLD_W { TOUCH_PAD3_HOLD_W::new(self, 3) } #[doc = "Bit 4 - Sets the touch GPIO 4 to hold."] #[inline(always)] - #[must_use] pub fn touch_pad4_hold(&mut self) -> TOUCH_PAD4_HOLD_W { TOUCH_PAD4_HOLD_W::new(self, 4) } #[doc = "Bit 5 - Sets the touch GPIO 5 to hold."] #[inline(always)] - #[must_use] pub fn touch_pad5_hold(&mut self) -> TOUCH_PAD5_HOLD_W { TOUCH_PAD5_HOLD_W::new(self, 5) } #[doc = "Bit 6 - Sets the touch GPIO 6 to hold."] #[inline(always)] - #[must_use] pub fn touch_pad6_hold(&mut self) -> TOUCH_PAD6_HOLD_W { TOUCH_PAD6_HOLD_W::new(self, 6) } #[doc = "Bit 7 - Sets the touch GPIO 7 to hold."] #[inline(always)] - #[must_use] pub fn touch_pad7_hold(&mut self) -> TOUCH_PAD7_HOLD_W { TOUCH_PAD7_HOLD_W::new(self, 7) } #[doc = "Bit 8 - Sets the touch GPIO 8 to hold."] #[inline(always)] - #[must_use] pub fn touch_pad8_hold(&mut self) -> TOUCH_PAD8_HOLD_W { TOUCH_PAD8_HOLD_W::new(self, 8) } #[doc = "Bit 9 - Sets the touch GPIO 9 to hold."] #[inline(always)] - #[must_use] pub fn touch_pad9_hold(&mut self) -> TOUCH_PAD9_HOLD_W { TOUCH_PAD9_HOLD_W::new(self, 9) } #[doc = "Bit 10 - Sets the touch GPIO 10 to hold."] #[inline(always)] - #[must_use] pub fn touch_pad10_hold(&mut self) -> TOUCH_PAD10_HOLD_W { TOUCH_PAD10_HOLD_W::new(self, 10) } #[doc = "Bit 11 - Sets the touch GPIO 11 to hold."] #[inline(always)] - #[must_use] pub fn touch_pad11_hold(&mut self) -> TOUCH_PAD11_HOLD_W { TOUCH_PAD11_HOLD_W::new(self, 11) } #[doc = "Bit 12 - Sets the touch GPIO 12 to hold."] #[inline(always)] - #[must_use] pub fn touch_pad12_hold(&mut self) -> TOUCH_PAD12_HOLD_W { TOUCH_PAD12_HOLD_W::new(self, 12) } #[doc = "Bit 13 - Sets the touch GPIO 13 to hold."] #[inline(always)] - #[must_use] pub fn touch_pad13_hold(&mut self) -> TOUCH_PAD13_HOLD_W { TOUCH_PAD13_HOLD_W::new(self, 13) } #[doc = "Bit 14 - Sets the touch GPIO 14 to hold."] #[inline(always)] - #[must_use] pub fn touch_pad14_hold(&mut self) -> TOUCH_PAD14_HOLD_W { TOUCH_PAD14_HOLD_W::new(self, 14) } #[doc = "Bit 15 - Sets the x32p to hold."] #[inline(always)] - #[must_use] pub fn x32p_hold(&mut self) -> X32P_HOLD_W { X32P_HOLD_W::new(self, 15) } #[doc = "Bit 16 - Sets the x32n to hold."] #[inline(always)] - #[must_use] pub fn x32n_hold(&mut self) -> X32N_HOLD_W { X32N_HOLD_W::new(self, 16) } #[doc = "Bit 17 - Sets the pdac1 to hold."] #[inline(always)] - #[must_use] pub fn pdac1_hold(&mut self) -> PDAC1_HOLD_W { PDAC1_HOLD_W::new(self, 17) } #[doc = "Bit 18 - Sets the pdac2 to hold."] #[inline(always)] - #[must_use] pub fn pdac2_hold(&mut self) -> PDAC2_HOLD_W { PDAC2_HOLD_W::new(self, 18) } #[doc = "Bit 19 - Sets the RTG GPIO 19 to hold."] #[inline(always)] - #[must_use] pub fn pad19_hold(&mut self) -> PAD19_HOLD_W { PAD19_HOLD_W::new(self, 19) } #[doc = "Bit 20 - Sets the RTG GPIO 20 to hold."] #[inline(always)] - #[must_use] pub fn pad20_hold(&mut self) -> PAD20_HOLD_W { PAD20_HOLD_W::new(self, 20) } #[doc = "Bit 21 - Sets the RTG GPIO 21 to hold."] #[inline(always)] - #[must_use] pub fn pad21_hold(&mut self) -> PAD21_HOLD_W { PAD21_HOLD_W::new(self, 21) } diff --git a/esp32s2/src/rtc_cntl/pwc.rs b/esp32s2/src/rtc_cntl/pwc.rs index 35266d859c..0fa549505c 100644 --- a/esp32s2/src/rtc_cntl/pwc.rs +++ b/esp32s2/src/rtc_cntl/pwc.rs @@ -234,133 +234,111 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to disable the force isolation to the RTC fast memory."] #[inline(always)] - #[must_use] pub fn fastmem_force_noiso(&mut self) -> FASTMEM_FORCE_NOISO_W { FASTMEM_FORCE_NOISO_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to force isolate the RTC fast memory."] #[inline(always)] - #[must_use] pub fn fastmem_force_iso(&mut self) -> FASTMEM_FORCE_ISO_W { FASTMEM_FORCE_ISO_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to disable the force isolation to the RTC slow memory."] #[inline(always)] - #[must_use] pub fn slowmem_force_noiso(&mut self) -> SLOWMEM_FORCE_NOISO_W { SLOWMEM_FORCE_NOISO_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to force isolate the RTC slow memory."] #[inline(always)] - #[must_use] pub fn slowmem_force_iso(&mut self) -> SLOWMEM_FORCE_ISO_W { SLOWMEM_FORCE_ISO_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to force isolate the RTC peripherals."] #[inline(always)] - #[must_use] pub fn force_iso(&mut self) -> FORCE_ISO_W { FORCE_ISO_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to disable the force isolation to the RTC peripherals."] #[inline(always)] - #[must_use] pub fn force_noiso(&mut self) -> FORCE_NOISO_W { FORCE_NOISO_W::new(self, 5) } #[doc = "Bit 6 - Set 1 to FPD the RTC fast memory when the CPU is powered down. Set 0 to FPD the RTC fast memory when the RTC main state machine is powered down."] #[inline(always)] - #[must_use] pub fn fastmem_folw_cpu(&mut self) -> FASTMEM_FOLW_CPU_W { FASTMEM_FOLW_CPU_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to force not retain the RTC fast memory."] #[inline(always)] - #[must_use] pub fn fastmem_force_lpd(&mut self) -> FASTMEM_FORCE_LPD_W { FASTMEM_FORCE_LPD_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to force retain the RTC fast memory."] #[inline(always)] - #[must_use] pub fn fastmem_force_lpu(&mut self) -> FASTMEM_FORCE_LPU_W { FASTMEM_FORCE_LPU_W::new(self, 8) } #[doc = "Bit 9 - Set 1 to FPD the RTC slow memory when the CPU is powered down. Set 0 to FPD the RTC slow memory when the RTC main state machine is powered down."] #[inline(always)] - #[must_use] pub fn slowmem_folw_cpu(&mut self) -> SLOWMEM_FOLW_CPU_W { SLOWMEM_FOLW_CPU_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to force not retain the RTC slow memory."] #[inline(always)] - #[must_use] pub fn slowmem_force_lpd(&mut self) -> SLOWMEM_FORCE_LPD_W { SLOWMEM_FORCE_LPD_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to force retain the RTC slow memory."] #[inline(always)] - #[must_use] pub fn slowmem_force_lpu(&mut self) -> SLOWMEM_FORCE_LPU_W { SLOWMEM_FORCE_LPU_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to FPD the RTC fast memory."] #[inline(always)] - #[must_use] pub fn fastmem_force_pd(&mut self) -> FASTMEM_FORCE_PD_W { FASTMEM_FORCE_PD_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to FPU the RTC fast memory."] #[inline(always)] - #[must_use] pub fn fastmem_force_pu(&mut self) -> FASTMEM_FORCE_PU_W { FASTMEM_FORCE_PU_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to enable PD for the RTC fast memory in sleep."] #[inline(always)] - #[must_use] pub fn fastmem_pd_en(&mut self) -> FASTMEM_PD_EN_W { FASTMEM_PD_EN_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to FPD the RTC slow memory."] #[inline(always)] - #[must_use] pub fn slowmem_force_pd(&mut self) -> SLOWMEM_FORCE_PD_W { SLOWMEM_FORCE_PD_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to FPU the RTC slow memory."] #[inline(always)] - #[must_use] pub fn slowmem_force_pu(&mut self) -> SLOWMEM_FORCE_PU_W { SLOWMEM_FORCE_PU_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to enable PD for the RTC slow memory in sleep."] #[inline(always)] - #[must_use] pub fn slowmem_pd_en(&mut self) -> SLOWMEM_PD_EN_W { SLOWMEM_PD_EN_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to FPD the RTC peripherals."] #[inline(always)] - #[must_use] pub fn force_pd(&mut self) -> FORCE_PD_W { FORCE_PD_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to FPU the RTC peripherals."] #[inline(always)] - #[must_use] pub fn force_pu(&mut self) -> FORCE_PU_W { FORCE_PU_W::new(self, 19) } #[doc = "Bit 20 - Set this bit to enable PD for the RTC peripherals in sleep."] #[inline(always)] - #[must_use] pub fn pd_en(&mut self) -> PD_EN_W { PD_EN_W::new(self, 20) } #[doc = "Bit 21 - Set this bit the force hold the RTC GPIOs."] #[inline(always)] - #[must_use] pub fn pad_force_hold(&mut self) -> PAD_FORCE_HOLD_W { PAD_FORCE_HOLD_W::new(self, 21) } diff --git a/esp32s2/src/rtc_cntl/reg.rs b/esp32s2/src/rtc_cntl/reg.rs index b119372794..31d150c326 100644 --- a/esp32s2/src/rtc_cntl/reg.rs +++ b/esp32s2/src/rtc_cntl/reg.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 8:10 - Configures the regulation factor for the digital system voltage regulator when the CPU is in sleep status."] #[inline(always)] - #[must_use] pub fn dig_reg_dbias_slp(&mut self) -> DIG_REG_DBIAS_SLP_W { DIG_REG_DBIAS_SLP_W::new(self, 8) } #[doc = "Bits 11:13 - Configures the regulation factor for the digital system voltage regulator when the CPU is in active status."] #[inline(always)] - #[must_use] pub fn dig_reg_dbias_wak(&mut self) -> DIG_REG_DBIAS_WAK_W { DIG_REG_DBIAS_WAK_W::new(self, 11) } #[doc = "Bits 14:21 - Configures the frequency of the RTC clocks."] #[inline(always)] - #[must_use] pub fn sck_dcap(&mut self) -> SCK_DCAP_W { SCK_DCAP_W::new(self, 14) } #[doc = "Bits 22:24 - Configures the regulation factor for the low-power voltage regulator when the CPU is in sleep status."] #[inline(always)] - #[must_use] pub fn dbias_slp(&mut self) -> DBIAS_SLP_W { DBIAS_SLP_W::new(self, 22) } #[doc = "Bits 25:27 - Configures the regulation factor for the low-power voltage regulator when the CPU is in active status."] #[inline(always)] - #[must_use] pub fn dbias_wak(&mut self) -> DBIAS_WAK_W { DBIAS_WAK_W::new(self, 25) } #[doc = "Bit 28 - RTC_DBOOST force power down"] #[inline(always)] - #[must_use] pub fn dboost_force_pd(&mut self) -> DBOOST_FORCE_PD_W { DBOOST_FORCE_PD_W::new(self, 28) } #[doc = "Bit 29 - RTC_DBOOST force power up"] #[inline(always)] - #[must_use] pub fn dboost_force_pu(&mut self) -> DBOOST_FORCE_PU_W { DBOOST_FORCE_PU_W::new(self, 29) } #[doc = "Bit 30 - Set this bit to FPD the RTC_REG, which means decreasing its voltage to 0.8 V or lower."] #[inline(always)] - #[must_use] pub fn regulator_force_pd(&mut self) -> REGULATOR_FORCE_PD_W { REGULATOR_FORCE_PD_W::new(self, 30) } #[doc = "Bit 31 - Set this bit to FPU the RTC_REG."] #[inline(always)] - #[must_use] pub fn regulator_force_pu(&mut self) -> REGULATOR_FORCE_PU_W { REGULATOR_FORCE_PU_W::new(self, 31) } diff --git a/esp32s2/src/rtc_cntl/reset_state.rs b/esp32s2/src/rtc_cntl/reset_state.rs index e9bf971039..c72b16f33c 100644 --- a/esp32s2/src/rtc_cntl/reset_state.rs +++ b/esp32s2/src/rtc_cntl/reset_state.rs @@ -50,13 +50,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - APP CPU state vector sel"] #[inline(always)] - #[must_use] pub fn appcpu_stat_vector_sel(&mut self) -> APPCPU_STAT_VECTOR_SEL_W { APPCPU_STAT_VECTOR_SEL_W::new(self, 12) } #[doc = "Bit 13 - Selects the CPU state vector."] #[inline(always)] - #[must_use] pub fn procpu_stat_vector_sel(&mut self) -> PROCPU_STAT_VECTOR_SEL_W { PROCPU_STAT_VECTOR_SEL_W::new(self, 13) } diff --git a/esp32s2/src/rtc_cntl/sdio_act_conf.rs b/esp32s2/src/rtc_cntl/sdio_act_conf.rs index ee297ddfde..7ff21e0bf1 100644 --- a/esp32s2/src/rtc_cntl/sdio_act_conf.rs +++ b/esp32s2/src/rtc_cntl/sdio_act_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 22:31 - configure sdio act dnum"] #[inline(always)] - #[must_use] pub fn sdio_act_dnum(&mut self) -> SDIO_ACT_DNUM_W { SDIO_ACT_DNUM_W::new(self, 22) } diff --git a/esp32s2/src/rtc_cntl/sdio_conf.rs b/esp32s2/src/rtc_cntl/sdio_conf.rs index f6fcf447d9..be8ca5b7d1 100644 --- a/esp32s2/src/rtc_cntl/sdio_conf.rs +++ b/esp32s2/src/rtc_cntl/sdio_conf.rs @@ -172,91 +172,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - timer count to apply reg_sdio_dcap after sdio power on"] #[inline(always)] - #[must_use] pub fn sdio_timer_target(&mut self) -> SDIO_TIMER_TARGET_W { SDIO_TIMER_TARGET_W::new(self, 0) } #[doc = "Bits 9:10 - Tieh = 1 mode drive ability. Initially set to 0 to limit charge current set to 3 after several us."] #[inline(always)] - #[must_use] pub fn sdio_dthdrv(&mut self) -> SDIO_DTHDRV_W { SDIO_DTHDRV_W::new(self, 9) } #[doc = "Bits 11:12 - ability to prevent LDO from overshoot"] #[inline(always)] - #[must_use] pub fn sdio_dcap(&mut self) -> SDIO_DCAP_W { SDIO_DCAP_W::new(self, 11) } #[doc = "Bits 13:14 - add resistor from ldo output to ground. 0: no res 1: 6k 2: 4k 3: 2k"] #[inline(always)] - #[must_use] pub fn sdio_initi(&mut self) -> SDIO_INITI_W { SDIO_INITI_W::new(self, 13) } #[doc = "Bit 15 - 0 to set init\\[1:0\\]=0"] #[inline(always)] - #[must_use] pub fn sdio_en_initi(&mut self) -> SDIO_EN_INITI_W { SDIO_EN_INITI_W::new(self, 15) } #[doc = "Bits 16:18 - tune current limit threshold when tieh = 0. About 800mA/(8+d)"] #[inline(always)] - #[must_use] pub fn sdio_dcurlim(&mut self) -> SDIO_DCURLIM_W { SDIO_DCURLIM_W::new(self, 16) } #[doc = "Bit 19 - select current limit mode"] #[inline(always)] - #[must_use] pub fn sdio_modecurlim(&mut self) -> SDIO_MODECURLIM_W { SDIO_MODECURLIM_W::new(self, 19) } #[doc = "Bit 20 - enable current limit"] #[inline(always)] - #[must_use] pub fn sdio_encurlim(&mut self) -> SDIO_ENCURLIM_W { SDIO_ENCURLIM_W::new(self, 20) } #[doc = "Bit 21 - power down SDIO_REG in sleep. Only active when reg_sdio_force = 0"] #[inline(always)] - #[must_use] pub fn sdio_reg_pd_en(&mut self) -> SDIO_REG_PD_EN_W { SDIO_REG_PD_EN_W::new(self, 21) } #[doc = "Bit 22 - 1: use SW option to control SDIO_REG 0: use state machine"] #[inline(always)] - #[must_use] pub fn sdio_force(&mut self) -> SDIO_FORCE_W { SDIO_FORCE_W::new(self, 22) } #[doc = "Bit 23 - SW option for SDIO_TIEH. Only active when reg_sdio_force = 1"] #[inline(always)] - #[must_use] pub fn sdio_tieh(&mut self) -> SDIO_TIEH_W { SDIO_TIEH_W::new(self, 23) } #[doc = "Bits 25:26 - SW option for DREFL_SDIO. Only active when reg_sdio_force = 1"] #[inline(always)] - #[must_use] pub fn drefl_sdio(&mut self) -> DREFL_SDIO_W { DREFL_SDIO_W::new(self, 25) } #[doc = "Bits 27:28 - SW option for DREFM_SDIO. Only active when reg_sdio_force = 1"] #[inline(always)] - #[must_use] pub fn drefm_sdio(&mut self) -> DREFM_SDIO_W { DREFM_SDIO_W::new(self, 27) } #[doc = "Bits 29:30 - SW option for DREFH_SDIO. Only active when reg_sdio_force = 1"] #[inline(always)] - #[must_use] pub fn drefh_sdio(&mut self) -> DREFH_SDIO_W { DREFH_SDIO_W::new(self, 29) } #[doc = "Bit 31 - SW option for XPD_VOOSDIO. Only active when reg_sdio_force = 1"] #[inline(always)] - #[must_use] pub fn xpd_sdio(&mut self) -> XPD_SDIO_W { XPD_SDIO_W::new(self, 31) } diff --git a/esp32s2/src/rtc_cntl/slow_clk_conf.rs b/esp32s2/src/rtc_cntl/slow_clk_conf.rs index f5cb6e897a..5f692dd69f 100644 --- a/esp32s2/src/rtc_cntl/slow_clk_conf.rs +++ b/esp32s2/src/rtc_cntl/slow_clk_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 22 - Synchronizes the reg_rtc_ana_clk_div bus. Note that you have to invalidate the bus before switching clock, and validate the new clock."] #[inline(always)] - #[must_use] pub fn ana_clk_div_vld(&mut self) -> ANA_CLK_DIV_VLD_W { ANA_CLK_DIV_VLD_W::new(self, 22) } #[doc = "Bits 23:30 - Set the rtc_clk divider."] #[inline(always)] - #[must_use] pub fn ana_clk_div(&mut self) -> ANA_CLK_DIV_W { ANA_CLK_DIV_W::new(self, 23) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn slow_clk_next_edge(&mut self) -> SLOW_CLK_NEXT_EDGE_W { SLOW_CLK_NEXT_EDGE_W::new(self, 31) } diff --git a/esp32s2/src/rtc_cntl/slp_reject_conf.rs b/esp32s2/src/rtc_cntl/slp_reject_conf.rs index 57b4cbc104..f795139635 100644 --- a/esp32s2/src/rtc_cntl/slp_reject_conf.rs +++ b/esp32s2/src/rtc_cntl/slp_reject_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 13:29 - Set this bit to enable reject-to-sleep."] #[inline(always)] - #[must_use] pub fn sleep_reject_ena(&mut self) -> SLEEP_REJECT_ENA_W { SLEEP_REJECT_ENA_W::new(self, 13) } #[doc = "Bit 30 - Set this bit to enable reject-to-light-sleep."] #[inline(always)] - #[must_use] pub fn light_slp_reject_en(&mut self) -> LIGHT_SLP_REJECT_EN_W { LIGHT_SLP_REJECT_EN_W::new(self, 30) } #[doc = "Bit 31 - Set this bit to enable reject-to-deep-sleep."] #[inline(always)] - #[must_use] pub fn deep_slp_reject_en(&mut self) -> DEEP_SLP_REJECT_EN_W { DEEP_SLP_REJECT_EN_W::new(self, 31) } diff --git a/esp32s2/src/rtc_cntl/slp_timer0.rs b/esp32s2/src/rtc_cntl/slp_timer0.rs index bf71e456de..7e2b161742 100644 --- a/esp32s2/src/rtc_cntl/slp_timer0.rs +++ b/esp32s2/src/rtc_cntl/slp_timer0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Sets the lower 32 bits of the trigger threshold for the RTC timer."] #[inline(always)] - #[must_use] pub fn slp_val_lo(&mut self) -> SLP_VAL_LO_W { SLP_VAL_LO_W::new(self, 0) } diff --git a/esp32s2/src/rtc_cntl/slp_timer1.rs b/esp32s2/src/rtc_cntl/slp_timer1.rs index b6e7a86a3e..56fd1357f6 100644 --- a/esp32s2/src/rtc_cntl/slp_timer1.rs +++ b/esp32s2/src/rtc_cntl/slp_timer1.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Sets the higher 16 bits of the trigger threshold for the RTC timer."] #[inline(always)] - #[must_use] pub fn slp_val_hi(&mut self) -> SLP_VAL_HI_W { SLP_VAL_HI_W::new(self, 0) } #[doc = "Bit 16 - Sets this bit to enable the timer alarm."] #[inline(always)] - #[must_use] pub fn main_timer_alarm_en(&mut self) -> MAIN_TIMER_ALARM_EN_W { MAIN_TIMER_ALARM_EN_W::new(self, 16) } diff --git a/esp32s2/src/rtc_cntl/state0.rs b/esp32s2/src/rtc_cntl/state0.rs index d55c5c8275..d5a8897990 100644 --- a/esp32s2/src/rtc_cntl/state0.rs +++ b/esp32s2/src/rtc_cntl/state0.rs @@ -66,37 +66,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Sends a SW RTC interrupt to CPU."] #[inline(always)] - #[must_use] pub fn sw_cpu_int(&mut self) -> SW_CPU_INT_W { SW_CPU_INT_W::new(self, 0) } #[doc = "Bit 1 - Clears the RTC reject-to-sleep cause."] #[inline(always)] - #[must_use] pub fn slp_reject_cause_clr(&mut self) -> SLP_REJECT_CAUSE_CLR_W { SLP_REJECT_CAUSE_CLR_W::new(self, 1) } #[doc = "Bit 22 - 1: APB to RTC using bridge 0: APB to RTC using sync"] #[inline(always)] - #[must_use] pub fn apb2rtc_bridge_sel(&mut self) -> APB2RTC_BRIDGE_SEL_W { APB2RTC_BRIDGE_SEL_W::new(self, 22) } #[doc = "Bit 29 - Sleep wakeup bit."] #[inline(always)] - #[must_use] pub fn slp_wakeup(&mut self) -> SLP_WAKEUP_W { SLP_WAKEUP_W::new(self, 29) } #[doc = "Bit 30 - Sleep reject bit."] #[inline(always)] - #[must_use] pub fn slp_reject(&mut self) -> SLP_REJECT_W { SLP_REJECT_W::new(self, 30) } #[doc = "Bit 31 - Sends the chip to sleep."] #[inline(always)] - #[must_use] pub fn sleep_en(&mut self) -> SLEEP_EN_W { SLEEP_EN_W::new(self, 31) } diff --git a/esp32s2/src/rtc_cntl/store0.rs b/esp32s2/src/rtc_cntl/store0.rs index ddb0ab400b..1d46908ead 100644 --- a/esp32s2/src/rtc_cntl/store0.rs +++ b/esp32s2/src/rtc_cntl/store0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Reservation register 0"] #[inline(always)] - #[must_use] pub fn scratch0(&mut self) -> SCRATCH0_W { SCRATCH0_W::new(self, 0) } diff --git a/esp32s2/src/rtc_cntl/store1.rs b/esp32s2/src/rtc_cntl/store1.rs index a9758cce25..0f0981e56e 100644 --- a/esp32s2/src/rtc_cntl/store1.rs +++ b/esp32s2/src/rtc_cntl/store1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Reservation register 1"] #[inline(always)] - #[must_use] pub fn scratch1(&mut self) -> SCRATCH1_W { SCRATCH1_W::new(self, 0) } diff --git a/esp32s2/src/rtc_cntl/store2.rs b/esp32s2/src/rtc_cntl/store2.rs index 96fbd31ed8..331dbc215e 100644 --- a/esp32s2/src/rtc_cntl/store2.rs +++ b/esp32s2/src/rtc_cntl/store2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Reservation register 2"] #[inline(always)] - #[must_use] pub fn scratch2(&mut self) -> SCRATCH2_W { SCRATCH2_W::new(self, 0) } diff --git a/esp32s2/src/rtc_cntl/store3.rs b/esp32s2/src/rtc_cntl/store3.rs index 50fbed0034..3329450355 100644 --- a/esp32s2/src/rtc_cntl/store3.rs +++ b/esp32s2/src/rtc_cntl/store3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Reservation register 3"] #[inline(always)] - #[must_use] pub fn scratch3(&mut self) -> SCRATCH3_W { SCRATCH3_W::new(self, 0) } diff --git a/esp32s2/src/rtc_cntl/store4.rs b/esp32s2/src/rtc_cntl/store4.rs index c87101ef6c..d0fd6212e6 100644 --- a/esp32s2/src/rtc_cntl/store4.rs +++ b/esp32s2/src/rtc_cntl/store4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Reservation register 4."] #[inline(always)] - #[must_use] pub fn scratch4(&mut self) -> SCRATCH4_W { SCRATCH4_W::new(self, 0) } diff --git a/esp32s2/src/rtc_cntl/store5.rs b/esp32s2/src/rtc_cntl/store5.rs index 81bb399bea..04dfda51b3 100644 --- a/esp32s2/src/rtc_cntl/store5.rs +++ b/esp32s2/src/rtc_cntl/store5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Reservation register 5."] #[inline(always)] - #[must_use] pub fn scratch5(&mut self) -> SCRATCH5_W { SCRATCH5_W::new(self, 0) } diff --git a/esp32s2/src/rtc_cntl/store6.rs b/esp32s2/src/rtc_cntl/store6.rs index 2047c1d3a8..020c109c16 100644 --- a/esp32s2/src/rtc_cntl/store6.rs +++ b/esp32s2/src/rtc_cntl/store6.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Reservation register 6."] #[inline(always)] - #[must_use] pub fn scratch6(&mut self) -> SCRATCH6_W { SCRATCH6_W::new(self, 0) } diff --git a/esp32s2/src/rtc_cntl/store7.rs b/esp32s2/src/rtc_cntl/store7.rs index 5c906cbf80..f8a70d5722 100644 --- a/esp32s2/src/rtc_cntl/store7.rs +++ b/esp32s2/src/rtc_cntl/store7.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Reservation register 7."] #[inline(always)] - #[must_use] pub fn scratch7(&mut self) -> SCRATCH7_W { SCRATCH7_W::new(self, 0) } diff --git a/esp32s2/src/rtc_cntl/sw_cpu_stall.rs b/esp32s2/src/rtc_cntl/sw_cpu_stall.rs index 1d60a68110..31d1016d48 100644 --- a/esp32s2/src/rtc_cntl/sw_cpu_stall.rs +++ b/esp32s2/src/rtc_cntl/sw_cpu_stall.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 20:25 - {reg_sw_stall_appcpu_c1\\[5:0\\] reg_sw_stall_appcpu_c0\\[1:0\\]} == 0x86 will stall APP CPU"] #[inline(always)] - #[must_use] pub fn sw_stall_appcpu_c1(&mut self) -> SW_STALL_APPCPU_C1_W { SW_STALL_APPCPU_C1_W::new(self, 20) } #[doc = "Bits 26:31 - Set this bit to allow the SW to be able to send the CPU into stalling."] #[inline(always)] - #[must_use] pub fn sw_stall_procpu_c1(&mut self) -> SW_STALL_PROCPU_C1_W { SW_STALL_PROCPU_C1_W::new(self, 26) } diff --git a/esp32s2/src/rtc_cntl/swd_conf.rs b/esp32s2/src/rtc_cntl/swd_conf.rs index 2ec1c573a9..d79f31f167 100644 --- a/esp32s2/src/rtc_cntl/swd_conf.rs +++ b/esp32s2/src/rtc_cntl/swd_conf.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 18:27 - Adjusts the signal width sent to the super watchdog."] #[inline(always)] - #[must_use] pub fn swd_signal_width(&mut self) -> SWD_SIGNAL_WIDTH_W { SWD_SIGNAL_WIDTH_W::new(self, 18) } #[doc = "Bit 28 - Set to reset the super watchdog reset flag."] #[inline(always)] - #[must_use] pub fn swd_rst_flag_clr(&mut self) -> SWD_RST_FLAG_CLR_W { SWD_RST_FLAG_CLR_W::new(self, 28) } #[doc = "Bit 29 - Set to feed the super watchdog via SW."] #[inline(always)] - #[must_use] pub fn swd_feed(&mut self) -> SWD_FEED_W { SWD_FEED_W::new(self, 29) } #[doc = "Bit 30 - Set this bit to disable super watchdog."] #[inline(always)] - #[must_use] pub fn swd_disable(&mut self) -> SWD_DISABLE_W { SWD_DISABLE_W::new(self, 30) } #[doc = "Bit 31 - Set this bit to enable automatic watchdog feeding upon interrupts."] #[inline(always)] - #[must_use] pub fn swd_auto_feed_en(&mut self) -> SWD_AUTO_FEED_EN_W { SWD_AUTO_FEED_EN_W::new(self, 31) } diff --git a/esp32s2/src/rtc_cntl/swd_wprotect.rs b/esp32s2/src/rtc_cntl/swd_wprotect.rs index 9756138ac8..90bcf1d6e5 100644 --- a/esp32s2/src/rtc_cntl/swd_wprotect.rs +++ b/esp32s2/src/rtc_cntl/swd_wprotect.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Sets the write protection key of the super watchdog."] #[inline(always)] - #[must_use] pub fn swd_wkey(&mut self) -> SWD_WKEY_W { SWD_WKEY_W::new(self, 0) } diff --git a/esp32s2/src/rtc_cntl/time_update.rs b/esp32s2/src/rtc_cntl/time_update.rs index 0799aaa3ee..670c2b418f 100644 --- a/esp32s2/src/rtc_cntl/time_update.rs +++ b/esp32s2/src/rtc_cntl/time_update.rs @@ -46,25 +46,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 27 - Selects the triggering condition for the RTC timer. See details in Table 1-2."] #[inline(always)] - #[must_use] pub fn timer_sys_stall(&mut self) -> TIMER_SYS_STALL_W { TIMER_SYS_STALL_W::new(self, 27) } #[doc = "Bit 28 - Selects the triggering condition for the RTC timer. See details in Table 1-2."] #[inline(always)] - #[must_use] pub fn timer_xtl_off(&mut self) -> TIMER_XTL_OFF_W { TIMER_XTL_OFF_W::new(self, 28) } #[doc = "Bit 29 - Selects the triggering condition for the RTC timer. See details in Table 1-2."] #[inline(always)] - #[must_use] pub fn timer_sys_rst(&mut self) -> TIMER_SYS_RST_W { TIMER_SYS_RST_W::new(self, 29) } #[doc = "Bit 31 - Selects the triggering condition for the RTC timer. See details in Table 1-2."] #[inline(always)] - #[must_use] pub fn time_update(&mut self) -> TIME_UPDATE_W { TIME_UPDATE_W::new(self, 31) } diff --git a/esp32s2/src/rtc_cntl/timer1.rs b/esp32s2/src/rtc_cntl/timer1.rs index 3326c4a5ce..6c5f366b01 100644 --- a/esp32s2/src/rtc_cntl/timer1.rs +++ b/esp32s2/src/rtc_cntl/timer1.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Enables CPU stalling."] #[inline(always)] - #[must_use] pub fn cpu_stall_en(&mut self) -> CPU_STALL_EN_W { CPU_STALL_EN_W::new(self, 0) } #[doc = "Bits 1:5 - Sets the CPU stall waiting cycle (using the RTC fast clock)."] #[inline(always)] - #[must_use] pub fn cpu_stall_wait(&mut self) -> CPU_STALL_WAIT_W { CPU_STALL_WAIT_W::new(self, 1) } #[doc = "Bits 6:13 - Sets the 8 MHz clock waiting (using the RTC slow clock)."] #[inline(always)] - #[must_use] pub fn ck8m_wait(&mut self) -> CK8M_WAIT_W { CK8M_WAIT_W::new(self, 6) } #[doc = "Bits 14:23 - Sets the XTAL waiting cycle (using the RTC slow clock)."] #[inline(always)] - #[must_use] pub fn xtl_buf_wait(&mut self) -> XTL_BUF_WAIT_W { XTL_BUF_WAIT_W::new(self, 14) } #[doc = "Bits 24:31 - Sets the PLL waiting cycle (using the RTC slow clock)."] #[inline(always)] - #[must_use] pub fn pll_buf_wait(&mut self) -> PLL_BUF_WAIT_W { PLL_BUF_WAIT_W::new(self, 24) } diff --git a/esp32s2/src/rtc_cntl/timer2.rs b/esp32s2/src/rtc_cntl/timer2.rs index 7ee66e94f2..b2d30c2dc0 100644 --- a/esp32s2/src/rtc_cntl/timer2.rs +++ b/esp32s2/src/rtc_cntl/timer2.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 15:23 - Sets the waiting cycle (using the RTC slow clock) before the ULP co-processor / touch controller start to work."] #[inline(always)] - #[must_use] pub fn ulpcp_touch_start_wait(&mut self) -> ULPCP_TOUCH_START_WAIT_W { ULPCP_TOUCH_START_WAIT_W::new(self, 15) } #[doc = "Bits 24:31 - Sets the minimal cycle for 8 MHz clock (using the RTC slow clock) when powered down."] #[inline(always)] - #[must_use] pub fn min_time_ck8m_off(&mut self) -> MIN_TIME_CK8M_OFF_W { MIN_TIME_CK8M_OFF_W::new(self, 24) } diff --git a/esp32s2/src/rtc_cntl/timer3.rs b/esp32s2/src/rtc_cntl/timer3.rs index b6dd7328fb..9928329391 100644 --- a/esp32s2/src/rtc_cntl/timer3.rs +++ b/esp32s2/src/rtc_cntl/timer3.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8"] #[inline(always)] - #[must_use] pub fn wifi_wait_timer(&mut self) -> WIFI_WAIT_TIMER_W { WIFI_WAIT_TIMER_W::new(self, 0) } #[doc = "Bits 9:15"] #[inline(always)] - #[must_use] pub fn wifi_powerup_timer(&mut self) -> WIFI_POWERUP_TIMER_W { WIFI_POWERUP_TIMER_W::new(self, 9) } #[doc = "Bits 16:24"] #[inline(always)] - #[must_use] pub fn rom_ram_wait_timer(&mut self) -> ROM_RAM_WAIT_TIMER_W { ROM_RAM_WAIT_TIMER_W::new(self, 16) } #[doc = "Bits 25:31"] #[inline(always)] - #[must_use] pub fn rom_ram_powerup_timer(&mut self) -> ROM_RAM_POWERUP_TIMER_W { ROM_RAM_POWERUP_TIMER_W::new(self, 25) } diff --git a/esp32s2/src/rtc_cntl/timer4.rs b/esp32s2/src/rtc_cntl/timer4.rs index 8ed530a175..3e74a0dce3 100644 --- a/esp32s2/src/rtc_cntl/timer4.rs +++ b/esp32s2/src/rtc_cntl/timer4.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8"] #[inline(always)] - #[must_use] pub fn wait_timer(&mut self) -> WAIT_TIMER_W { WAIT_TIMER_W::new(self, 0) } #[doc = "Bits 9:15"] #[inline(always)] - #[must_use] pub fn powerup_timer(&mut self) -> POWERUP_TIMER_W { POWERUP_TIMER_W::new(self, 9) } #[doc = "Bits 16:24"] #[inline(always)] - #[must_use] pub fn dg_wrap_wait_timer(&mut self) -> DG_WRAP_WAIT_TIMER_W { DG_WRAP_WAIT_TIMER_W::new(self, 16) } #[doc = "Bits 25:31"] #[inline(always)] - #[must_use] pub fn dg_wrap_powerup_timer(&mut self) -> DG_WRAP_POWERUP_TIMER_W { DG_WRAP_POWERUP_TIMER_W::new(self, 25) } diff --git a/esp32s2/src/rtc_cntl/timer5.rs b/esp32s2/src/rtc_cntl/timer5.rs index 0cbaa5b4e9..fce6944b76 100644 --- a/esp32s2/src/rtc_cntl/timer5.rs +++ b/esp32s2/src/rtc_cntl/timer5.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 8:15 - Sets the minimal sleep cycles (using the RTC slow clock)."] #[inline(always)] - #[must_use] pub fn min_slp_val(&mut self) -> MIN_SLP_VAL_W { MIN_SLP_VAL_W::new(self, 8) } #[doc = "Bits 16:24"] #[inline(always)] - #[must_use] pub fn rtcmem_wait_timer(&mut self) -> RTCMEM_WAIT_TIMER_W { RTCMEM_WAIT_TIMER_W::new(self, 16) } #[doc = "Bits 25:31"] #[inline(always)] - #[must_use] pub fn rtcmem_powerup_timer(&mut self) -> RTCMEM_POWERUP_TIMER_W { RTCMEM_POWERUP_TIMER_W::new(self, 25) } diff --git a/esp32s2/src/rtc_cntl/timer6.rs b/esp32s2/src/rtc_cntl/timer6.rs index cb8d53673d..660382bd79 100644 --- a/esp32s2/src/rtc_cntl/timer6.rs +++ b/esp32s2/src/rtc_cntl/timer6.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:24"] #[inline(always)] - #[must_use] pub fn dg_dcdc_wait_timer(&mut self) -> DG_DCDC_WAIT_TIMER_W { DG_DCDC_WAIT_TIMER_W::new(self, 16) } #[doc = "Bits 25:31"] #[inline(always)] - #[must_use] pub fn dg_dcdc_powerup_timer(&mut self) -> DG_DCDC_POWERUP_TIMER_W { DG_DCDC_POWERUP_TIMER_W::new(self, 25) } diff --git a/esp32s2/src/rtc_cntl/touch_approach.rs b/esp32s2/src/rtc_cntl/touch_approach.rs index 64b8ab9e35..442b562cbe 100644 --- a/esp32s2/src/rtc_cntl/touch_approach.rs +++ b/esp32s2/src/rtc_cntl/touch_approach.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 23 - Clear touch sleep channel."] #[inline(always)] - #[must_use] pub fn touch_slp_channel_clr(&mut self) -> TOUCH_SLP_CHANNEL_CLR_W { TOUCH_SLP_CHANNEL_CLR_W::new(self, 23) } #[doc = "Bits 24:31 - Set the total measurement times for the pads in proximity mode. Range: 0 – 255."] #[inline(always)] - #[must_use] pub fn meas_time(&mut self) -> MEAS_TIME_W { MEAS_TIME_W::new(self, 24) } diff --git a/esp32s2/src/rtc_cntl/touch_ctrl1.rs b/esp32s2/src/rtc_cntl/touch_ctrl1.rs index 3a7e6eac39..bce83ea670 100644 --- a/esp32s2/src/rtc_cntl/touch_ctrl1.rs +++ b/esp32s2/src/rtc_cntl/touch_ctrl1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Set sleep cycles for touch timer."] #[inline(always)] - #[must_use] pub fn touch_sleep_cycles(&mut self) -> TOUCH_SLEEP_CYCLES_W { TOUCH_SLEEP_CYCLES_W::new(self, 0) } #[doc = "Bits 16:31 - Configure measurement length (in 8 MHz), i.e., charge/discharge times."] #[inline(always)] - #[must_use] pub fn touch_meas_num(&mut self) -> TOUCH_MEAS_NUM_W { TOUCH_MEAS_NUM_W::new(self, 16) } diff --git a/esp32s2/src/rtc_cntl/touch_ctrl2.rs b/esp32s2/src/rtc_cntl/touch_ctrl2.rs index ccae551b38..67efda0e77 100644 --- a/esp32s2/src/rtc_cntl/touch_ctrl2.rs +++ b/esp32s2/src/rtc_cntl/touch_ctrl2.rs @@ -174,97 +174,81 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 2:3 - TOUCH attenuation."] #[inline(always)] - #[must_use] pub fn touch_drange(&mut self) -> TOUCH_DRANGE_W { TOUCH_DRANGE_W::new(self, 2) } #[doc = "Bits 4:5 - TOUCH reference voltage low. 0: 0.5 V 1: 0.6 V 2: 0.7 V 3: 0.8 V."] #[inline(always)] - #[must_use] pub fn touch_drefl(&mut self) -> TOUCH_DREFL_W { TOUCH_DREFL_W::new(self, 4) } #[doc = "Bits 6:7 - TOUCH reference voltage high. 0: 2.4 V 1: 2.5 V 2: 2.6 V 3: 2.7 V."] #[inline(always)] - #[must_use] pub fn touch_drefh(&mut self) -> TOUCH_DREFH_W { TOUCH_DREFH_W::new(self, 6) } #[doc = "Bit 8 - TOUCH BIAS power switch."] #[inline(always)] - #[must_use] pub fn touch_xpd_bias(&mut self) -> TOUCH_XPD_BIAS_W { TOUCH_XPD_BIAS_W::new(self, 8) } #[doc = "Bits 9:11 - Touch pad 0 reference capacitance."] #[inline(always)] - #[must_use] pub fn touch_refc(&mut self) -> TOUCH_REFC_W { TOUCH_REFC_W::new(self, 9) } #[doc = "Bit 12 - 0: Use bandgap bias. 1: Use self bias."] #[inline(always)] - #[must_use] pub fn touch_dbias(&mut self) -> TOUCH_DBIAS_W { TOUCH_DBIAS_W::new(self, 12) } #[doc = "Bit 13 - Touch timer enable bit."] #[inline(always)] - #[must_use] pub fn touch_slp_timer_en(&mut self) -> TOUCH_SLP_TIMER_EN_W { TOUCH_SLP_TIMER_EN_W::new(self, 13) } #[doc = "Bit 14 - 0: TOUCH_START and TOUCH_XPD are controlled by soft- ware. 1: TOUCH_START and TOUCH_XPD are controlled by the Touch FSM."] #[inline(always)] - #[must_use] pub fn touch_start_fsm_en(&mut self) -> TOUCH_START_FSM_EN_W { TOUCH_START_FSM_EN_W::new(self, 14) } #[doc = "Bit 15 - 1: Start the Touch FSM, only valid when RTC_CNTL_TOUCH_START_FORCE = 1."] #[inline(always)] - #[must_use] pub fn touch_start_en(&mut self) -> TOUCH_START_EN_W { TOUCH_START_EN_W::new(self, 15) } #[doc = "Bit 16 - 0: Start the Touch FSM by timer. 1: Start Touch FSM by software."] #[inline(always)] - #[must_use] pub fn touch_start_force(&mut self) -> TOUCH_START_FORCE_W { TOUCH_START_FORCE_W::new(self, 16) } #[doc = "Bits 17:24 - The waiting cycles (in 8MHz) between TOUCH_START and TOUCH_XPD."] #[inline(always)] - #[must_use] pub fn touch_xpd_wait(&mut self) -> TOUCH_XPD_WAIT_W { TOUCH_XPD_WAIT_W::new(self, 17) } #[doc = "Bits 25:26 - When a touch pad is active, sleep cycle could be divided by this number."] #[inline(always)] - #[must_use] pub fn touch_slp_cyc_div(&mut self) -> TOUCH_SLP_CYC_DIV_W { TOUCH_SLP_CYC_DIV_W::new(self, 25) } #[doc = "Bits 27:28 - Force touch timer done."] #[inline(always)] - #[must_use] pub fn touch_timer_force_done(&mut self) -> TOUCH_TIMER_FORCE_DONE_W { TOUCH_TIMER_FORCE_DONE_W::new(self, 27) } #[doc = "Bit 29 - Reset TOUCH FSM via software."] #[inline(always)] - #[must_use] pub fn touch_reset(&mut self) -> TOUCH_RESET_W { TOUCH_RESET_W::new(self, 29) } #[doc = "Bit 30 - Touch clock force on."] #[inline(always)] - #[must_use] pub fn touch_clk_fo(&mut self) -> TOUCH_CLK_FO_W { TOUCH_CLK_FO_W::new(self, 30) } #[doc = "Bit 31 - Touch clock enable bit."] #[inline(always)] - #[must_use] pub fn touch_clkgate_en(&mut self) -> TOUCH_CLKGATE_EN_W { TOUCH_CLKGATE_EN_W::new(self, 31) } diff --git a/esp32s2/src/rtc_cntl/touch_filter_ctrl.rs b/esp32s2/src/rtc_cntl/touch_filter_ctrl.rs index 88107ebba4..fa380392c1 100644 --- a/esp32s2/src/rtc_cntl/touch_filter_ctrl.rs +++ b/esp32s2/src/rtc_cntl/touch_filter_ctrl.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 9:10 - 0: Raw data. 1: IIR1/2. 2: IIR1/4. 3: IIR1/8."] #[inline(always)] - #[must_use] pub fn touch_smooth_lvl(&mut self) -> TOUCH_SMOOTH_LVL_W { TOUCH_SMOOTH_LVL_W::new(self, 9) } #[doc = "Bits 11:14 - Touch jitter step. Range: 0 – 15."] #[inline(always)] - #[must_use] pub fn touch_jitter_step(&mut self) -> TOUCH_JITTER_STEP_W { TOUCH_JITTER_STEP_W::new(self, 11) } #[doc = "Bits 15:18 - Negative threshold counter limit."] #[inline(always)] - #[must_use] pub fn touch_neg_noise_limit(&mut self) -> TOUCH_NEG_NOISE_LIMIT_W { TOUCH_NEG_NOISE_LIMIT_W::new(self, 15) } #[doc = "Bits 19:20 - Negative noise threshold."] #[inline(always)] - #[must_use] pub fn touch_neg_noise_thres(&mut self) -> TOUCH_NEG_NOISE_THRES_W { TOUCH_NEG_NOISE_THRES_W::new(self, 19) } #[doc = "Bits 21:22 - Active noise threshold."] #[inline(always)] - #[must_use] pub fn touch_noise_thres(&mut self) -> TOUCH_NOISE_THRES_W { TOUCH_NOISE_THRES_W::new(self, 21) } #[doc = "Bits 23:24 - Touch hysteresis."] #[inline(always)] - #[must_use] pub fn touch_hysteresis(&mut self) -> TOUCH_HYSTERESIS_W { TOUCH_HYSTERESIS_W::new(self, 23) } #[doc = "Bits 25:27 - Debounce counter."] #[inline(always)] - #[must_use] pub fn touch_debounce(&mut self) -> TOUCH_DEBOUNCE_W { TOUCH_DEBOUNCE_W::new(self, 25) } #[doc = "Bits 28:30 - Set filter mode. 0: IIR 1/2; 1: IIR 1/4; 2: IIR 1/8; 3: IIR 1/16; 4: IIR 1/32; 5: IIR 1/64; 6: IIR 1/128; 7: Jitter."] #[inline(always)] - #[must_use] pub fn touch_filter_mode(&mut self) -> TOUCH_FILTER_MODE_W { TOUCH_FILTER_MODE_W::new(self, 28) } #[doc = "Bit 31 - Enable touch filter."] #[inline(always)] - #[must_use] pub fn touch_filter_en(&mut self) -> TOUCH_FILTER_EN_W { TOUCH_FILTER_EN_W::new(self, 31) } diff --git a/esp32s2/src/rtc_cntl/touch_scan_ctrl.rs b/esp32s2/src/rtc_cntl/touch_scan_ctrl.rs index 14c2d030ca..2f78227b01 100644 --- a/esp32s2/src/rtc_cntl/touch_scan_ctrl.rs +++ b/esp32s2/src/rtc_cntl/touch_scan_ctrl.rs @@ -87,19 +87,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Denoise resolution. 0: 12-bit; 1: 10-bit; 2: 8-bit; 3: 4-bit."] #[inline(always)] - #[must_use] pub fn touch_denoise_res(&mut self) -> TOUCH_DENOISE_RES_W { TOUCH_DENOISE_RES_W::new(self, 0) } #[doc = "Bit 2 - Touch pad 0 will be used to denoise."] #[inline(always)] - #[must_use] pub fn touch_denoise_en(&mut self) -> TOUCH_DENOISE_EN_W { TOUCH_DENOISE_EN_W::new(self, 2) } #[doc = "Bit 8 - Inactive touch pads connect to 0: HighZ, 1: GND."] #[inline(always)] - #[must_use] pub fn touch_inactive_connection( &mut self, ) -> TOUCH_INACTIVE_CONNECTION_W { @@ -107,25 +104,21 @@ impl W { } #[doc = "Bit 9 - Touch pad 14 will be used as shield_pad."] #[inline(always)] - #[must_use] pub fn touch_shield_pad_en(&mut self) -> TOUCH_SHIELD_PAD_EN_W { TOUCH_SHIELD_PAD_EN_W::new(self, 9) } #[doc = "Bits 10:24 - Pad enable map for touch scan mode."] #[inline(always)] - #[must_use] pub fn touch_scan_pad_map(&mut self) -> TOUCH_SCAN_PAD_MAP_W { TOUCH_SCAN_PAD_MAP_W::new(self, 10) } #[doc = "Bits 25:27 - Touch 14 buffer driver strength."] #[inline(always)] - #[must_use] pub fn touch_bufdrv(&mut self) -> TOUCH_BUFDRV_W { TOUCH_BUFDRV_W::new(self, 25) } #[doc = "Bits 28:31 - Select out one pad as guard_ring."] #[inline(always)] - #[must_use] pub fn touch_out_ring(&mut self) -> TOUCH_OUT_RING_W { TOUCH_OUT_RING_W::new(self, 28) } diff --git a/esp32s2/src/rtc_cntl/touch_slp_thres.rs b/esp32s2/src/rtc_cntl/touch_slp_thres.rs index 89b5fc3c5b..6a9b934145 100644 --- a/esp32s2/src/rtc_cntl/touch_slp_thres.rs +++ b/esp32s2/src/rtc_cntl/touch_slp_thres.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - Set the threshold for touch sleep pad."] #[inline(always)] - #[must_use] pub fn touch_slp_th(&mut self) -> TOUCH_SLP_TH_W { TOUCH_SLP_TH_W::new(self, 0) } #[doc = "Bit 26 - Enable the proximity mode of touch sleep pad."] #[inline(always)] - #[must_use] pub fn touch_slp_approach_en(&mut self) -> TOUCH_SLP_APPROACH_EN_W { TOUCH_SLP_APPROACH_EN_W::new(self, 26) } #[doc = "Bits 27:31 - Select sleep pad."] #[inline(always)] - #[must_use] pub fn touch_slp_pad(&mut self) -> TOUCH_SLP_PAD_W { TOUCH_SLP_PAD_W::new(self, 27) } diff --git a/esp32s2/src/rtc_cntl/touch_timeout_ctrl.rs b/esp32s2/src/rtc_cntl/touch_timeout_ctrl.rs index de84b4ba2a..ad0e8961a4 100644 --- a/esp32s2/src/rtc_cntl/touch_timeout_ctrl.rs +++ b/esp32s2/src/rtc_cntl/touch_timeout_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - Set touch timeout threshold."] #[inline(always)] - #[must_use] pub fn touch_timeout_num(&mut self) -> TOUCH_TIMEOUT_NUM_W { TOUCH_TIMEOUT_NUM_W::new(self, 0) } #[doc = "Bit 22 - Enable touch timeout."] #[inline(always)] - #[must_use] pub fn touch_timeout_en(&mut self) -> TOUCH_TIMEOUT_EN_W { TOUCH_TIMEOUT_EN_W::new(self, 22) } diff --git a/esp32s2/src/rtc_cntl/ulp_cp_ctrl.rs b/esp32s2/src/rtc_cntl/ulp_cp_ctrl.rs index c76ad0b3b1..2895cf3255 100644 --- a/esp32s2/src/rtc_cntl/ulp_cp_ctrl.rs +++ b/esp32s2/src/rtc_cntl/ulp_cp_ctrl.rs @@ -76,43 +76,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10"] #[inline(always)] - #[must_use] pub fn ulp_cp_mem_addr_init(&mut self) -> ULP_CP_MEM_ADDR_INIT_W { ULP_CP_MEM_ADDR_INIT_W::new(self, 0) } #[doc = "Bits 11:21"] #[inline(always)] - #[must_use] pub fn ulp_cp_mem_addr_size(&mut self) -> ULP_CP_MEM_ADDR_SIZE_W { ULP_CP_MEM_ADDR_SIZE_W::new(self, 11) } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn ulp_cp_mem_offset_clr(&mut self) -> ULP_CP_MEM_OFFSET_CLR_W { ULP_CP_MEM_OFFSET_CLR_W::new(self, 22) } #[doc = "Bit 28 - ULP-FSM clock force on"] #[inline(always)] - #[must_use] pub fn ulp_cp_clk_fo(&mut self) -> ULP_CP_CLK_FO_W { ULP_CP_CLK_FO_W::new(self, 28) } #[doc = "Bit 29 - ULP-FSM clock software reset"] #[inline(always)] - #[must_use] pub fn ulp_cp_reset(&mut self) -> ULP_CP_RESET_W { ULP_CP_RESET_W::new(self, 29) } #[doc = "Bit 30 - Write 1 to start ULP-FSM by software"] #[inline(always)] - #[must_use] pub fn ulp_cp_force_start_top(&mut self) -> ULP_CP_FORCE_START_TOP_W { ULP_CP_FORCE_START_TOP_W::new(self, 30) } #[doc = "Bit 31 - Write 1 to start ULP-FSM"] #[inline(always)] - #[must_use] pub fn ulp_cp_start_top(&mut self) -> ULP_CP_START_TOP_W { ULP_CP_START_TOP_W::new(self, 31) } diff --git a/esp32s2/src/rtc_cntl/ulp_cp_timer.rs b/esp32s2/src/rtc_cntl/ulp_cp_timer.rs index d1ab32d373..67080cff19 100644 --- a/esp32s2/src/rtc_cntl/ulp_cp_timer.rs +++ b/esp32s2/src/rtc_cntl/ulp_cp_timer.rs @@ -46,25 +46,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - ULP coprocessor PC initial address"] #[inline(always)] - #[must_use] pub fn ulp_cp_pc_init(&mut self) -> ULP_CP_PC_INIT_W { ULP_CP_PC_INIT_W::new(self, 0) } #[doc = "Bit 29 - Enable the option of ULP coprocessor woken up by RTC GPIO"] #[inline(always)] - #[must_use] pub fn ulp_cp_gpio_wakeup_ena(&mut self) -> ULP_CP_GPIO_WAKEUP_ENA_W { ULP_CP_GPIO_WAKEUP_ENA_W::new(self, 29) } #[doc = "Bit 30 - Disable the option of ULP coprocessor woken up by RTC GPIO"] #[inline(always)] - #[must_use] pub fn ulp_cp_gpio_wakeup_clr(&mut self) -> ULP_CP_GPIO_WAKEUP_CLR_W { ULP_CP_GPIO_WAKEUP_CLR_W::new(self, 30) } #[doc = "Bit 31 - ULP coprocessor timer enable bit. 0: Disable hardware Timer. 1: Enable hardware timer"] #[inline(always)] - #[must_use] pub fn ulp_cp_slp_timer_en(&mut self) -> ULP_CP_SLP_TIMER_EN_W { ULP_CP_SLP_TIMER_EN_W::new(self, 31) } diff --git a/esp32s2/src/rtc_cntl/ulp_cp_timer_1.rs b/esp32s2/src/rtc_cntl/ulp_cp_timer_1.rs index ac89820730..98ae94a55d 100644 --- a/esp32s2/src/rtc_cntl/ulp_cp_timer_1.rs +++ b/esp32s2/src/rtc_cntl/ulp_cp_timer_1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 8:31 - Set sleep cycles for ULP coprocessor timer"] #[inline(always)] - #[must_use] pub fn ulp_cp_timer_slp_cycle(&mut self) -> ULP_CP_TIMER_SLP_CYCLE_W { ULP_CP_TIMER_SLP_CYCLE_W::new(self, 8) } diff --git a/esp32s2/src/rtc_cntl/usb_conf.rs b/esp32s2/src/rtc_cntl/usb_conf.rs index b38fb707ab..8423dffd3e 100644 --- a/esp32s2/src/rtc_cntl/usb_conf.rs +++ b/esp32s2/src/rtc_cntl/usb_conf.rs @@ -184,103 +184,86 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn usb_vrefh(&mut self) -> USB_VREFH_W { USB_VREFH_W::new(self, 0) } #[doc = "Bits 2:3"] #[inline(always)] - #[must_use] pub fn usb_vrefl(&mut self) -> USB_VREFL_W { USB_VREFL_W::new(self, 2) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn usb_vref_override(&mut self) -> USB_VREF_OVERRIDE_W { USB_VREF_OVERRIDE_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn usb_pad_pull_override(&mut self) -> USB_PAD_PULL_OVERRIDE_W { USB_PAD_PULL_OVERRIDE_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn usb_dp_pullup(&mut self) -> USB_DP_PULLUP_W { USB_DP_PULLUP_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn usb_dp_pulldown(&mut self) -> USB_DP_PULLDOWN_W { USB_DP_PULLDOWN_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn usb_dm_pullup(&mut self) -> USB_DM_PULLUP_W { USB_DM_PULLUP_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn usb_dm_pulldown(&mut self) -> USB_DM_PULLDOWN_W { USB_DM_PULLDOWN_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn usb_pullup_value(&mut self) -> USB_PULLUP_VALUE_W { USB_PULLUP_VALUE_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn usb_pad_enable_override(&mut self) -> USB_PAD_ENABLE_OVERRIDE_W { USB_PAD_ENABLE_OVERRIDE_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn usb_pad_enable(&mut self) -> USB_PAD_ENABLE_W { USB_PAD_ENABLE_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn usb_txm(&mut self) -> USB_TXM_W { USB_TXM_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn usb_txp(&mut self) -> USB_TXP_W { USB_TXP_W::new(self, 14) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn usb_tx_en(&mut self) -> USB_TX_EN_W { USB_TX_EN_W::new(self, 15) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn usb_tx_en_override(&mut self) -> USB_TX_EN_OVERRIDE_W { USB_TX_EN_OVERRIDE_W::new(self, 16) } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn usb_reset_disable(&mut self) -> USB_RESET_DISABLE_W { USB_RESET_DISABLE_W::new(self, 17) } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn io_mux_reset_disable(&mut self) -> IO_MUX_RESET_DISABLE_W { IO_MUX_RESET_DISABLE_W::new(self, 18) } diff --git a/esp32s2/src/rtc_cntl/wakeup_state.rs b/esp32s2/src/rtc_cntl/wakeup_state.rs index 19156225f8..307f8eb3f7 100644 --- a/esp32s2/src/rtc_cntl/wakeup_state.rs +++ b/esp32s2/src/rtc_cntl/wakeup_state.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 15:31 - Enables the wakeup bitmap."] #[inline(always)] - #[must_use] pub fn wakeup_ena(&mut self) -> WAKEUP_ENA_W { WAKEUP_ENA_W::new(self, 15) } diff --git a/esp32s2/src/rtc_cntl/wdtconfig0.rs b/esp32s2/src/rtc_cntl/wdtconfig0.rs index 8fd9e9fa6a..55c55821e5 100644 --- a/esp32s2/src/rtc_cntl/wdtconfig0.rs +++ b/esp32s2/src/rtc_cntl/wdtconfig0.rs @@ -144,79 +144,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - chip reset siginal pulse width"] #[inline(always)] - #[must_use] pub fn wdt_chip_reset_width(&mut self) -> WDT_CHIP_RESET_WIDTH_W { WDT_CHIP_RESET_WIDTH_W::new(self, 0) } #[doc = "Bit 8 - wdt reset whole chip enable"] #[inline(always)] - #[must_use] pub fn wdt_chip_reset_en(&mut self) -> WDT_CHIP_RESET_EN_W { WDT_CHIP_RESET_EN_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to pause the watchdog in sleep."] #[inline(always)] - #[must_use] pub fn wdt_pause_in_slp(&mut self) -> WDT_PAUSE_IN_SLP_W { WDT_PAUSE_IN_SLP_W::new(self, 9) } #[doc = "Bit 10 - enable WDT reset APP CPU"] #[inline(always)] - #[must_use] pub fn wdt_appcpu_reset_en(&mut self) -> WDT_APPCPU_RESET_EN_W { WDT_APPCPU_RESET_EN_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to allow the watchdog to be able to reset CPU."] #[inline(always)] - #[must_use] pub fn wdt_procpu_reset_en(&mut self) -> WDT_PROCPU_RESET_EN_W { WDT_PROCPU_RESET_EN_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to enable watchdog when the chip boots from flash."] #[inline(always)] - #[must_use] pub fn wdt_flashboot_mod_en(&mut self) -> WDT_FLASHBOOT_MOD_EN_W { WDT_FLASHBOOT_MOD_EN_W::new(self, 12) } #[doc = "Bits 13:15 - Sets the length of the system reset counter."] #[inline(always)] - #[must_use] pub fn wdt_sys_reset_length(&mut self) -> WDT_SYS_RESET_LENGTH_W { WDT_SYS_RESET_LENGTH_W::new(self, 13) } #[doc = "Bits 16:18 - Sets the length of the CPU reset counter."] #[inline(always)] - #[must_use] pub fn wdt_cpu_reset_length(&mut self) -> WDT_CPU_RESET_LENGTH_W { WDT_CPU_RESET_LENGTH_W::new(self, 16) } #[doc = "Bits 19:21 - 1: enable at the interrupt stage 2: enable at the CPU stage 3: enable at the system stage 4: enable at the system and RTC stage."] #[inline(always)] - #[must_use] pub fn wdt_stg3(&mut self) -> WDT_STG3_W { WDT_STG3_W::new(self, 19) } #[doc = "Bits 22:24 - 1: enable at the interrupt stage 2: enable at the CPU stage 3: enable at the system stage 4: enable at the system and RTC stage."] #[inline(always)] - #[must_use] pub fn wdt_stg2(&mut self) -> WDT_STG2_W { WDT_STG2_W::new(self, 22) } #[doc = "Bits 25:27 - 1: enable at the interrupt stage 2: enable at the CPU stage 3: enable at the system stage 4: enable at the system and RTC stage."] #[inline(always)] - #[must_use] pub fn wdt_stg1(&mut self) -> WDT_STG1_W { WDT_STG1_W::new(self, 25) } #[doc = "Bits 28:30 - 1: enable at the interrupt stage 2: enable at the CPU stage 3: enable at the system stage 4: enable at the system and RTC stage."] #[inline(always)] - #[must_use] pub fn wdt_stg0(&mut self) -> WDT_STG0_W { WDT_STG0_W::new(self, 28) } #[doc = "Bit 31 - Set this bit to enable the RTC watchdog."] #[inline(always)] - #[must_use] pub fn wdt_en(&mut self) -> WDT_EN_W { WDT_EN_W::new(self, 31) } diff --git a/esp32s2/src/rtc_cntl/wdtconfig1.rs b/esp32s2/src/rtc_cntl/wdtconfig1.rs index 546e8f1885..529dd974ba 100644 --- a/esp32s2/src/rtc_cntl/wdtconfig1.rs +++ b/esp32s2/src/rtc_cntl/wdtconfig1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures the hold time of RTC watchdog at level 1."] #[inline(always)] - #[must_use] pub fn wdt_stg0_hold(&mut self) -> WDT_STG0_HOLD_W { WDT_STG0_HOLD_W::new(self, 0) } diff --git a/esp32s2/src/rtc_cntl/wdtconfig2.rs b/esp32s2/src/rtc_cntl/wdtconfig2.rs index ad25fe3067..6674c8b410 100644 --- a/esp32s2/src/rtc_cntl/wdtconfig2.rs +++ b/esp32s2/src/rtc_cntl/wdtconfig2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures the hold time of RTC watchdog at level 2."] #[inline(always)] - #[must_use] pub fn wdt_stg1_hold(&mut self) -> WDT_STG1_HOLD_W { WDT_STG1_HOLD_W::new(self, 0) } diff --git a/esp32s2/src/rtc_cntl/wdtconfig3.rs b/esp32s2/src/rtc_cntl/wdtconfig3.rs index f3cef40a2a..00bfea0d5c 100644 --- a/esp32s2/src/rtc_cntl/wdtconfig3.rs +++ b/esp32s2/src/rtc_cntl/wdtconfig3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures the hold time of RTC watchdog at level 3."] #[inline(always)] - #[must_use] pub fn wdt_stg2_hold(&mut self) -> WDT_STG2_HOLD_W { WDT_STG2_HOLD_W::new(self, 0) } diff --git a/esp32s2/src/rtc_cntl/wdtconfig4.rs b/esp32s2/src/rtc_cntl/wdtconfig4.rs index 9c56229b91..3cb6852e0d 100644 --- a/esp32s2/src/rtc_cntl/wdtconfig4.rs +++ b/esp32s2/src/rtc_cntl/wdtconfig4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures the hold time of RTC watchdog at level 4."] #[inline(always)] - #[must_use] pub fn wdt_stg3_hold(&mut self) -> WDT_STG3_HOLD_W { WDT_STG3_HOLD_W::new(self, 0) } diff --git a/esp32s2/src/rtc_cntl/wdtfeed.rs b/esp32s2/src/rtc_cntl/wdtfeed.rs index ab70cd4a4a..81240a8a14 100644 --- a/esp32s2/src/rtc_cntl/wdtfeed.rs +++ b/esp32s2/src/rtc_cntl/wdtfeed.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - Set 1 to feed the RTC watchdog."] #[inline(always)] - #[must_use] pub fn wdt_feed(&mut self) -> WDT_FEED_W { WDT_FEED_W::new(self, 31) } diff --git a/esp32s2/src/rtc_cntl/wdtwprotect.rs b/esp32s2/src/rtc_cntl/wdtwprotect.rs index d44cfebf32..5d251872c0 100644 --- a/esp32s2/src/rtc_cntl/wdtwprotect.rs +++ b/esp32s2/src/rtc_cntl/wdtwprotect.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Sets the write protection key of the watchdog."] #[inline(always)] - #[must_use] pub fn wdt_wkey(&mut self) -> WDT_WKEY_W { WDT_WKEY_W::new(self, 0) } diff --git a/esp32s2/src/rtc_cntl/xtal32k_clk_factor.rs b/esp32s2/src/rtc_cntl/xtal32k_clk_factor.rs index 0ea59afa9f..84dcd1fc59 100644 --- a/esp32s2/src/rtc_cntl/xtal32k_clk_factor.rs +++ b/esp32s2/src/rtc_cntl/xtal32k_clk_factor.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Configures the divider factor for the 32 kHz crystal oscillator."] #[inline(always)] - #[must_use] pub fn xtal32k_clk_factor(&mut self) -> XTAL32K_CLK_FACTOR_W { XTAL32K_CLK_FACTOR_W::new(self, 0) } diff --git a/esp32s2/src/rtc_cntl/xtal32k_conf.rs b/esp32s2/src/rtc_cntl/xtal32k_conf.rs index 16fa84de94..cfca25b989 100644 --- a/esp32s2/src/rtc_cntl/xtal32k_conf.rs +++ b/esp32s2/src/rtc_cntl/xtal32k_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Defines the waiting cycles before returning to the normal 32 kHz crystal oscillator."] #[inline(always)] - #[must_use] pub fn xtal32k_return_wait(&mut self) -> XTAL32K_RETURN_WAIT_W { XTAL32K_RETURN_WAIT_W::new(self, 0) } #[doc = "Bits 4:19 - Defines the maximum waiting cycle before restarting the 32 kHz crystal oscillator."] #[inline(always)] - #[must_use] pub fn xtal32k_restart_wait(&mut self) -> XTAL32K_RESTART_WAIT_W { XTAL32K_RESTART_WAIT_W::new(self, 4) } #[doc = "Bits 20:27 - Defines the maximum waiting period for clock detection. If no clock is detected after this period, the 32 kHz crystal oscillator can be regarded as dead."] #[inline(always)] - #[must_use] pub fn xtal32k_wdt_timeout(&mut self) -> XTAL32K_WDT_TIMEOUT_W { XTAL32K_WDT_TIMEOUT_W::new(self, 20) } #[doc = "Bits 28:31 - Defines the maximum allowed restarting period, within which the 32 kHz crystal oscillator can be regarded as stable."] #[inline(always)] - #[must_use] pub fn xtal32k_stable_thres(&mut self) -> XTAL32K_STABLE_THRES_W { XTAL32K_STABLE_THRES_W::new(self, 28) } diff --git a/esp32s2/src/rtc_i2c/cmd.rs b/esp32s2/src/rtc_i2c/cmd.rs index e12377cb91..f33ec5c8d6 100644 --- a/esp32s2/src/rtc_i2c/cmd.rs +++ b/esp32s2/src/rtc_i2c/cmd.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - Content of command 0. For more information, please refer to the register I2C_COMD0_REG in Chapter I²C Controller"] #[inline(always)] - #[must_use] pub fn command(&mut self) -> COMMAND_W { COMMAND_W::new(self, 0) } diff --git a/esp32s2/src/rtc_i2c/ctrl.rs b/esp32s2/src/rtc_i2c/ctrl.rs index 6fa5d28a7b..a00a7c5b37 100644 --- a/esp32s2/src/rtc_i2c/ctrl.rs +++ b/esp32s2/src/rtc_i2c/ctrl.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - SDA output mode. 0: open drain. 1: push pull."] #[inline(always)] - #[must_use] pub fn sda_force_out(&mut self) -> SDA_FORCE_OUT_W { SDA_FORCE_OUT_W::new(self, 0) } #[doc = "Bit 1 - SCL output mode. 0: open drain. 1: push pull."] #[inline(always)] - #[must_use] pub fn scl_force_out(&mut self) -> SCL_FORCE_OUT_W { SCL_FORCE_OUT_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to configure RTC I²C as a master."] #[inline(always)] - #[must_use] pub fn ms_mode(&mut self) -> MS_MODE_W { MS_MODE_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to 1, RTC I2C starts sending data."] #[inline(always)] - #[must_use] pub fn trans_start(&mut self) -> TRANS_START_W { TRANS_START_W::new(self, 3) } #[doc = "Bit 4 - This bit is used to control the sending mode. 0: send data from the most significant bit. 1: send data from the least significant bit."] #[inline(always)] - #[must_use] pub fn tx_lsb_first(&mut self) -> TX_LSB_FIRST_W { TX_LSB_FIRST_W::new(self, 4) } #[doc = "Bit 5 - This bit is used to control the storage mode for received data. 0: receive data from the most significant bit. 1: receive data from the least significant bit."] #[inline(always)] - #[must_use] pub fn rx_lsb_first(&mut self) -> RX_LSB_FIRST_W { RX_LSB_FIRST_W::new(self, 5) } #[doc = "Bit 29 - RTC I²C controller clock gate."] #[inline(always)] - #[must_use] pub fn clk_gate_en(&mut self) -> CLK_GATE_EN_W { CLK_GATE_EN_W::new(self, 29) } #[doc = "Bit 30 - RTC I²C software reset."] #[inline(always)] - #[must_use] pub fn reset(&mut self) -> RESET_W { RESET_W::new(self, 30) } #[doc = "Bit 31 - rtc i2c reg clk gating"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32s2/src/rtc_i2c/data.rs b/esp32s2/src/rtc_i2c/data.rs index ce4eda8a0e..660e3fa865 100644 --- a/esp32s2/src/rtc_i2c/data.rs +++ b/esp32s2/src/rtc_i2c/data.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 8:15 - The data sent by slave"] #[inline(always)] - #[must_use] pub fn slave_tx_data(&mut self) -> SLAVE_TX_DATA_W { SLAVE_TX_DATA_W::new(self, 8) } diff --git a/esp32s2/src/rtc_i2c/date.rs b/esp32s2/src/rtc_i2c/date.rs index 5214516741..ea84636fde 100644 --- a/esp32s2/src/rtc_i2c/date.rs +++ b/esp32s2/src/rtc_i2c/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Version control register"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s2/src/rtc_i2c/int_clr.rs b/esp32s2/src/rtc_i2c/int_clr.rs index adc021c3fa..6fed92cf9d 100644 --- a/esp32s2/src/rtc_i2c/int_clr.rs +++ b/esp32s2/src/rtc_i2c/int_clr.rs @@ -27,55 +27,46 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - RTC_I2C_SLAVE_TRAN_COMP_INT interrupt clear bit"] #[inline(always)] - #[must_use] pub fn slave_tran_comp(&mut self) -> SLAVE_TRAN_COMP_W { SLAVE_TRAN_COMP_W::new(self, 0) } #[doc = "Bit 1 - RTC_I2C_ARBITRATION_LOST_INT interrupt clear bit"] #[inline(always)] - #[must_use] pub fn arbitration_lost(&mut self) -> ARBITRATION_LOST_W { ARBITRATION_LOST_W::new(self, 1) } #[doc = "Bit 2 - RTC_I2C_MASTER_TRAN_COMP_INT interrupt clear bit"] #[inline(always)] - #[must_use] pub fn master_tran_comp(&mut self) -> MASTER_TRAN_COMP_W { MASTER_TRAN_COMP_W::new(self, 2) } #[doc = "Bit 3 - RTC_I2C_TRANS_COMPLETE_INT interrupt clear bit"] #[inline(always)] - #[must_use] pub fn trans_complete(&mut self) -> TRANS_COMPLETE_W { TRANS_COMPLETE_W::new(self, 3) } #[doc = "Bit 4 - RTC_I2C_TIME_OUT_INT interrupt clear bit"] #[inline(always)] - #[must_use] pub fn time_out(&mut self) -> TIME_OUT_W { TIME_OUT_W::new(self, 4) } #[doc = "Bit 5 - RTC_I2C_ACK_ERR_INT interrupt clear bit"] #[inline(always)] - #[must_use] pub fn ack_err(&mut self) -> ACK_ERR_W { ACK_ERR_W::new(self, 5) } #[doc = "Bit 6 - RTC_I2C_RX_DATA_INT interrupt clear bit"] #[inline(always)] - #[must_use] pub fn rx_data(&mut self) -> RX_DATA_W { RX_DATA_W::new(self, 6) } #[doc = "Bit 7 - RTC_I2C_TX_DATA_INT interrupt clear bit"] #[inline(always)] - #[must_use] pub fn tx_data(&mut self) -> TX_DATA_W { TX_DATA_W::new(self, 7) } #[doc = "Bit 8 - RTC_I2C_DETECT_START_INT interrupt clear bit"] #[inline(always)] - #[must_use] pub fn detect_start(&mut self) -> DETECT_START_W { DETECT_START_W::new(self, 8) } diff --git a/esp32s2/src/rtc_i2c/int_ena.rs b/esp32s2/src/rtc_i2c/int_ena.rs index d4f403f614..1d21c1414a 100644 --- a/esp32s2/src/rtc_i2c/int_ena.rs +++ b/esp32s2/src/rtc_i2c/int_ena.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - RTC_I2C_SLAVE_TRAN_COMP_INT interrupt enable bit"] #[inline(always)] - #[must_use] pub fn slave_tran_comp(&mut self) -> SLAVE_TRAN_COMP_W { SLAVE_TRAN_COMP_W::new(self, 0) } #[doc = "Bit 1 - RTC_I2C_ARBITRATION_LOST_INT interrupt enable bit"] #[inline(always)] - #[must_use] pub fn arbitration_lost(&mut self) -> ARBITRATION_LOST_W { ARBITRATION_LOST_W::new(self, 1) } #[doc = "Bit 2 - RTC_I2C_MASTER_TRAN_COMP_INT interrupt enable bit"] #[inline(always)] - #[must_use] pub fn master_tran_comp(&mut self) -> MASTER_TRAN_COMP_W { MASTER_TRAN_COMP_W::new(self, 2) } #[doc = "Bit 3 - RTC_I2C_TRANS_COMPLETE_INT interrupt enable bit"] #[inline(always)] - #[must_use] pub fn trans_complete(&mut self) -> TRANS_COMPLETE_W { TRANS_COMPLETE_W::new(self, 3) } #[doc = "Bit 4 - RTC_I2C_TIME_OUT_INT interrupt enable bit"] #[inline(always)] - #[must_use] pub fn time_out(&mut self) -> TIME_OUT_W { TIME_OUT_W::new(self, 4) } #[doc = "Bit 5 - RTC_I2C_ACK_ERR_INT interrupt enable bit"] #[inline(always)] - #[must_use] pub fn ack_err(&mut self) -> ACK_ERR_W { ACK_ERR_W::new(self, 5) } #[doc = "Bit 6 - RTC_I2C_RX_DATA_INT interrupt enable bit"] #[inline(always)] - #[must_use] pub fn rx_data(&mut self) -> RX_DATA_W { RX_DATA_W::new(self, 6) } #[doc = "Bit 7 - RTC_I2C_TX_DATA_INT interrupt enable bit"] #[inline(always)] - #[must_use] pub fn tx_data(&mut self) -> TX_DATA_W { TX_DATA_W::new(self, 7) } #[doc = "Bit 8 - RTC_I2C_DETECT_START_INT interrupt enable bit"] #[inline(always)] - #[must_use] pub fn detect_start(&mut self) -> DETECT_START_W { DETECT_START_W::new(self, 8) } diff --git a/esp32s2/src/rtc_i2c/scl_high.rs b/esp32s2/src/rtc_i2c/scl_high.rs index 4d9425ed8c..944e44fd5d 100644 --- a/esp32s2/src/rtc_i2c/scl_high.rs +++ b/esp32s2/src/rtc_i2c/scl_high.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - This register is used to configure how many cycles SCL remains high."] #[inline(always)] - #[must_use] pub fn period(&mut self) -> PERIOD_W { PERIOD_W::new(self, 0) } diff --git a/esp32s2/src/rtc_i2c/scl_low.rs b/esp32s2/src/rtc_i2c/scl_low.rs index 0804392bae..9ec9d74574 100644 --- a/esp32s2/src/rtc_i2c/scl_low.rs +++ b/esp32s2/src/rtc_i2c/scl_low.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - This register is used to configure how many clock cycles SCL remains low."] #[inline(always)] - #[must_use] pub fn period(&mut self) -> PERIOD_W { PERIOD_W::new(self, 0) } diff --git a/esp32s2/src/rtc_i2c/scl_start_period.rs b/esp32s2/src/rtc_i2c/scl_start_period.rs index 008edd13ad..d1861cca20 100644 --- a/esp32s2/src/rtc_i2c/scl_start_period.rs +++ b/esp32s2/src/rtc_i2c/scl_start_period.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - Number of clock cycles to wait after generating a start condition."] #[inline(always)] - #[must_use] pub fn scl_start_period(&mut self) -> SCL_START_PERIOD_W { SCL_START_PERIOD_W::new(self, 0) } diff --git a/esp32s2/src/rtc_i2c/scl_stop_period.rs b/esp32s2/src/rtc_i2c/scl_stop_period.rs index 2c0c614fa9..3c311494ba 100644 --- a/esp32s2/src/rtc_i2c/scl_stop_period.rs +++ b/esp32s2/src/rtc_i2c/scl_stop_period.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - Number of clock cycles to wait before generating a stop condition."] #[inline(always)] - #[must_use] pub fn scl_stop_period(&mut self) -> SCL_STOP_PERIOD_W { SCL_STOP_PERIOD_W::new(self, 0) } diff --git a/esp32s2/src/rtc_i2c/sda_duty.rs b/esp32s2/src/rtc_i2c/sda_duty.rs index 95aad65b6a..cfa0efcace 100644 --- a/esp32s2/src/rtc_i2c/sda_duty.rs +++ b/esp32s2/src/rtc_i2c/sda_duty.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - The number of clock cycles between the SDA switch and the falling edge of SCL."] #[inline(always)] - #[must_use] pub fn num(&mut self) -> NUM_W { NUM_W::new(self, 0) } diff --git a/esp32s2/src/rtc_i2c/slave_addr.rs b/esp32s2/src/rtc_i2c/slave_addr.rs index e98903771e..786a29941a 100644 --- a/esp32s2/src/rtc_i2c/slave_addr.rs +++ b/esp32s2/src/rtc_i2c/slave_addr.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:14 - slave address"] #[inline(always)] - #[must_use] pub fn slave_addr(&mut self) -> SLAVE_ADDR_W { SLAVE_ADDR_W::new(self, 0) } #[doc = "Bit 31 - This field is used to enable the slave 10-bit addressing mode."] #[inline(always)] - #[must_use] pub fn addr_10bit_en(&mut self) -> ADDR_10BIT_EN_W { ADDR_10BIT_EN_W::new(self, 31) } diff --git a/esp32s2/src/rtc_i2c/to.rs b/esp32s2/src/rtc_i2c/to.rs index e282992871..7ad557b377 100644 --- a/esp32s2/src/rtc_i2c/to.rs +++ b/esp32s2/src/rtc_i2c/to.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - Timeout threshold"] #[inline(always)] - #[must_use] pub fn time_out(&mut self) -> TIME_OUT_W { TIME_OUT_W::new(self, 0) } diff --git a/esp32s2/src/rtc_io.rs b/esp32s2/src/rtc_io.rs index 6b9bbcedbb..ce33266761 100644 --- a/esp32s2/src/rtc_io.rs +++ b/esp32s2/src/rtc_io.rs @@ -117,6 +117,8 @@ impl RegisterBlock { &self.xtal_32n_pad } #[doc = "0xc8..0xd0 - DAC%s configuration register"] + #[doc = ""] + #[doc = "
`n` is the index of register in the array. `n == 0` corresponds to `PAD_DAC1` register.
"] #[inline(always)] pub const fn pad_dac(&self, n: usize) -> &PAD_DAC { &self.pad_dac[n] diff --git a/esp32s2/src/rtc_io/enable_w1tc.rs b/esp32s2/src/rtc_io/enable_w1tc.rs index 45f8bf1847..c76499a711 100644 --- a/esp32s2/src/rtc_io/enable_w1tc.rs +++ b/esp32s2/src/rtc_io/enable_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 10:31 - GPIO0 ~ 21 output enable clear register. If the value 1 is written to a bit here, the corresponding bit in RTCIO_RTC_GPIO_ENABLE_REG will be cleared. Recommended operation: use this register to clear RTCIO_RTC_GPIO_ENABLE_REG."] #[inline(always)] - #[must_use] pub fn enable_w1tc(&mut self) -> ENABLE_W1TC_W { ENABLE_W1TC_W::new(self, 10) } diff --git a/esp32s2/src/rtc_io/ext_wakeup0.rs b/esp32s2/src/rtc_io/ext_wakeup0.rs index f21a50bc36..0722469d67 100644 --- a/esp32s2/src/rtc_io/ext_wakeup0.rs +++ b/esp32s2/src/rtc_io/ext_wakeup0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 27:31 - GPIO\\[0-17\\] can be used to wake up the chip when the chip is in the sleep mode. This register prompts the pad source to wake up the chip when the latter is indeep/light sleep mode. 0: select GPIO0; 1: select GPIO2, etc"] #[inline(always)] - #[must_use] pub fn sel(&mut self) -> SEL_W { SEL_W::new(self, 27) } diff --git a/esp32s2/src/rtc_io/pad_dac.rs b/esp32s2/src/rtc_io/pad_dac.rs index b8a9f37f94..cec8f96760 100644 --- a/esp32s2/src/rtc_io/pad_dac.rs +++ b/esp32s2/src/rtc_io/pad_dac.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 3:10 - Configure DAC_1 output when RTCIO_PDAC1_DAC_XPD_FORCE is set to 1."] #[inline(always)] - #[must_use] pub fn dac(&mut self) -> DAC_W { DAC_W::new(self, 3) } #[doc = "Bit 11 - When RTCIO_PDAC1_DAC_XPD_FORCE is set to 1, 1: enable DAC_1 output. 0: disable DAC_1 output."] #[inline(always)] - #[must_use] pub fn xpd_dac(&mut self) -> XPD_DAC_W { XPD_DAC_W::new(self, 11) } #[doc = "Bit 12 - 1: use RTCIO_PDAC1_XPD_DAC to control DAC_1 output. 0: use SAR ADC FSM to control DAC_1 output."] #[inline(always)] - #[must_use] pub fn dac_xpd_force(&mut self) -> DAC_XPD_FORCE_W { DAC_XPD_FORCE_W::new(self, 12) } #[doc = "Bit 13 - Input enable in normal execution."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - Output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - Input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode. 0: no sleep mode"] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - DAC_1 function selection."] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO. 0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 19) } #[doc = "Bit 27 - Pull-down enable of the pad. 1: internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - Pull-up enable of the pad. 1: internal pull-up enabled. 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bits 29:30 - Select the drive strength of the pad. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 29) } diff --git a/esp32s2/src/rtc_io/pin.rs b/esp32s2/src/rtc_io/pin.rs index 3b78b066f6..342811c6f2 100644 --- a/esp32s2/src/rtc_io/pin.rs +++ b/esp32s2/src/rtc_io/pin.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - Pad driver selection. 0: normal output. 1: open drain."] #[inline(always)] - #[must_use] pub fn pad_driver(&mut self) -> PAD_DRIVER_W { PAD_DRIVER_W::new(self, 2) } #[doc = "Bits 7:9 - GPIO interrupt type selection. 0: GPIO interrupt disabled. 1: rising edge trigger. 2: falling edge trigger. 3: any edge trigger. 4: low level trigger. 5: high level trigger."] #[inline(always)] - #[must_use] pub fn gpio_pin_int_type(&mut self) -> GPIO_PIN_INT_TYPE_W { GPIO_PIN_INT_TYPE_W::new(self, 7) } #[doc = "Bit 10 - GPIO wake-up enable. This will only wake up ESP32-S2 from Light-sleep."] #[inline(always)] - #[must_use] pub fn gpio_pin_wakeup_enable(&mut self) -> GPIO_PIN_WAKEUP_ENABLE_W { GPIO_PIN_WAKEUP_ENABLE_W::new(self, 10) } diff --git a/esp32s2/src/rtc_io/rtc_debug_sel.rs b/esp32s2/src/rtc_io/rtc_debug_sel.rs index 697fbbddf6..fddbb033a3 100644 --- a/esp32s2/src/rtc_io/rtc_debug_sel.rs +++ b/esp32s2/src/rtc_io/rtc_debug_sel.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4"] #[inline(always)] - #[must_use] pub fn rtc_debug_sel0(&mut self) -> RTC_DEBUG_SEL0_W { RTC_DEBUG_SEL0_W::new(self, 0) } #[doc = "Bits 5:9"] #[inline(always)] - #[must_use] pub fn rtc_debug_sel1(&mut self) -> RTC_DEBUG_SEL1_W { RTC_DEBUG_SEL1_W::new(self, 5) } #[doc = "Bits 10:14"] #[inline(always)] - #[must_use] pub fn rtc_debug_sel2(&mut self) -> RTC_DEBUG_SEL2_W { RTC_DEBUG_SEL2_W::new(self, 10) } #[doc = "Bits 15:19"] #[inline(always)] - #[must_use] pub fn rtc_debug_sel3(&mut self) -> RTC_DEBUG_SEL3_W { RTC_DEBUG_SEL3_W::new(self, 15) } #[doc = "Bits 20:24"] #[inline(always)] - #[must_use] pub fn rtc_debug_sel4(&mut self) -> RTC_DEBUG_SEL4_W { RTC_DEBUG_SEL4_W::new(self, 20) } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn rtc_debug_12m_no_gating(&mut self) -> RTC_DEBUG_12M_NO_GATING_W { RTC_DEBUG_12M_NO_GATING_W::new(self, 25) } diff --git a/esp32s2/src/rtc_io/rtc_gpio_enable.rs b/esp32s2/src/rtc_io/rtc_gpio_enable.rs index 4be3363b6a..4a256686ba 100644 --- a/esp32s2/src/rtc_io/rtc_gpio_enable.rs +++ b/esp32s2/src/rtc_io/rtc_gpio_enable.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 10:31 - GPIO0 ~ 21 output enable. Bit10 corresponds to GPIO0, bit11 corresponds to GPIO1, etc. If the bit is set to 1, it means this GPIO pad is output."] #[inline(always)] - #[must_use] pub fn reg_rtcio_reg_gpio_enable( &mut self, ) -> REG_RTCIO_REG_GPIO_ENABLE_W { diff --git a/esp32s2/src/rtc_io/rtc_gpio_enable_w1ts.rs b/esp32s2/src/rtc_io/rtc_gpio_enable_w1ts.rs index 73d12f83e3..56efcc0b68 100644 --- a/esp32s2/src/rtc_io/rtc_gpio_enable_w1ts.rs +++ b/esp32s2/src/rtc_io/rtc_gpio_enable_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 10:31 - GPIO0 ~ 21 output enable set register. If the value 1 is written to a bit here, the corresponding bit in RTCIO_RTC_GPIO_ENABLE_REG will be set to 1. Recommended operation: use this register to set RTCIO_RTC_GPIO_ENABLE_REG."] #[inline(always)] - #[must_use] pub fn rtc_gpio_enable_w1ts(&mut self) -> RTC_GPIO_ENABLE_W1TS_W { RTC_GPIO_ENABLE_W1TS_W::new(self, 10) } diff --git a/esp32s2/src/rtc_io/rtc_gpio_out.rs b/esp32s2/src/rtc_io/rtc_gpio_out.rs index 33a0231b9c..c0a5663a5b 100644 --- a/esp32s2/src/rtc_io/rtc_gpio_out.rs +++ b/esp32s2/src/rtc_io/rtc_gpio_out.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 10:31 - GPIO0 ~ 21 output register. Bit10 corresponds to GPIO0, bit11 corresponds to GPIO1, etc."] #[inline(always)] - #[must_use] pub fn gpio_out_data(&mut self) -> GPIO_OUT_DATA_W { GPIO_OUT_DATA_W::new(self, 10) } diff --git a/esp32s2/src/rtc_io/rtc_gpio_out_w1tc.rs b/esp32s2/src/rtc_io/rtc_gpio_out_w1tc.rs index 38419055d3..f9f6184e28 100644 --- a/esp32s2/src/rtc_io/rtc_gpio_out_w1tc.rs +++ b/esp32s2/src/rtc_io/rtc_gpio_out_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 10:31 - GPIO0 ~ 21 output clear register. If the value 1 is written to a bit here, the corresponding bit in RTCIO_RTC_GPIO_OUT_REG will be cleared. Recommended operation: use this register to clear RTCIO_RTC_GPIO_OUT_REG."] #[inline(always)] - #[must_use] pub fn rtc_gpio_out_data_w1tc(&mut self) -> RTC_GPIO_OUT_DATA_W1TC_W { RTC_GPIO_OUT_DATA_W1TC_W::new(self, 10) } diff --git a/esp32s2/src/rtc_io/rtc_gpio_out_w1ts.rs b/esp32s2/src/rtc_io/rtc_gpio_out_w1ts.rs index 89758c58b1..8fddfccd2a 100644 --- a/esp32s2/src/rtc_io/rtc_gpio_out_w1ts.rs +++ b/esp32s2/src/rtc_io/rtc_gpio_out_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 10:31 - GPIO0 ~ 21 output set register. If the value 1 is written to a bit here, the corresponding bit in RTCIO_RTC_GPIO_OUT_REG will be set to 1. Recommended operation: use this register to set RTCIO_RTC_GPIO_OUT_REG."] #[inline(always)] - #[must_use] pub fn rtc_gpio_out_data_w1ts(&mut self) -> RTC_GPIO_OUT_DATA_W1TS_W { RTC_GPIO_OUT_DATA_W1TS_W::new(self, 10) } diff --git a/esp32s2/src/rtc_io/rtc_gpio_status.rs b/esp32s2/src/rtc_io/rtc_gpio_status.rs index 2dcd2abd17..a9b0c098d3 100644 --- a/esp32s2/src/rtc_io/rtc_gpio_status.rs +++ b/esp32s2/src/rtc_io/rtc_gpio_status.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 10:31 - GPIO0 ~ 21 interrupt status register. Bit10 corresponds to GPIO0, bit11 corresponds to GPIO1, etc. This register should be used together with RTCIO_RTC_GPIO_PINn_INT_TYPE in RTCIO_RTC_GPIO_PINn_REG. 0: no interrupt; 1: corresponding interrupt."] #[inline(always)] - #[must_use] pub fn gpio_status_int(&mut self) -> GPIO_STATUS_INT_W { GPIO_STATUS_INT_W::new(self, 10) } diff --git a/esp32s2/src/rtc_io/rtc_gpio_status_w1tc.rs b/esp32s2/src/rtc_io/rtc_gpio_status_w1tc.rs index ef0cdba4f5..d91b16d0c3 100644 --- a/esp32s2/src/rtc_io/rtc_gpio_status_w1tc.rs +++ b/esp32s2/src/rtc_io/rtc_gpio_status_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 10:31 - GPIO0 ~ 21 interrupt clear register. If the value 1 is written to a bit here, the corresponding bit in RTCIO_GPIO_STATUS_INT will be cleared. Recommended operation: use this register to clear RTCIO_GPIO_STATUS_INT."] #[inline(always)] - #[must_use] pub fn gpio_status_int_w1tc(&mut self) -> GPIO_STATUS_INT_W1TC_W { GPIO_STATUS_INT_W1TC_W::new(self, 10) } diff --git a/esp32s2/src/rtc_io/rtc_gpio_status_w1ts.rs b/esp32s2/src/rtc_io/rtc_gpio_status_w1ts.rs index 83b06cb205..070fdfda8a 100644 --- a/esp32s2/src/rtc_io/rtc_gpio_status_w1ts.rs +++ b/esp32s2/src/rtc_io/rtc_gpio_status_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 10:31 - GPIO0 ~ 21 interrupt set register. If the value 1 is written to a bit here, the corresponding bit in RTCIO_GPIO_STATUS_INT will be set to 1. Recommended operation: use this register to set RTCIO_GPIO_STATUS_INT."] #[inline(always)] - #[must_use] pub fn gpio_status_int_w1ts(&mut self) -> GPIO_STATUS_INT_W1TS_W { GPIO_STATUS_INT_W1TS_W::new(self, 10) } diff --git a/esp32s2/src/rtc_io/rtc_io_date.rs b/esp32s2/src/rtc_io/rtc_io_date.rs index 00f3cb676b..24ec16a95d 100644 --- a/esp32s2/src/rtc_io/rtc_io_date.rs +++ b/esp32s2/src/rtc_io/rtc_io_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Version control register"] #[inline(always)] - #[must_use] pub fn io_date(&mut self) -> IO_DATE_W { IO_DATE_W::new(self, 0) } diff --git a/esp32s2/src/rtc_io/rtc_io_touch_ctrl.rs b/esp32s2/src/rtc_io/rtc_io_touch_ctrl.rs index 8e996ddbd3..9c7255cc41 100644 --- a/esp32s2/src/rtc_io/rtc_io_touch_ctrl.rs +++ b/esp32s2/src/rtc_io/rtc_io_touch_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3"] #[inline(always)] - #[must_use] pub fn io_touch_bufsel(&mut self) -> IO_TOUCH_BUFSEL_W { IO_TOUCH_BUFSEL_W::new(self, 0) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn io_touch_bufmode(&mut self) -> IO_TOUCH_BUFMODE_W { IO_TOUCH_BUFMODE_W::new(self, 4) } diff --git a/esp32s2/src/rtc_io/rtc_pad19.rs b/esp32s2/src/rtc_io/rtc_pad19.rs index dce09fae5d..b9a63f1958 100644 --- a/esp32s2/src/rtc_io/rtc_pad19.rs +++ b/esp32s2/src/rtc_io/rtc_pad19.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - Input enable in normal execution."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - Output enable in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - Input enable in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode. 0: no sleep mode"] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - Function selection."] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO. 0: use digital GPIO."] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 19) } #[doc = "Bit 27 - Pull-down enable of the pad. 1: internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - Pull-up enable of the pad. 1: internal pull-up enabled. 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bits 29:30 - Select the drive strength of the pad. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 29) } diff --git a/esp32s2/src/rtc_io/rtc_pad20.rs b/esp32s2/src/rtc_io/rtc_pad20.rs index 2f2ae333db..1fae9486f2 100644 --- a/esp32s2/src/rtc_io/rtc_pad20.rs +++ b/esp32s2/src/rtc_io/rtc_pad20.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - Input enable in normal execution."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - Output enable in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - Input enable in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode. 0: no sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - Function selection."] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO. 0: use digital GPIO."] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 19) } #[doc = "Bit 27 - Pull-down enable of the pad. 1: internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - Pull-up enable of the pad. 1: internal pull-up enabled. 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bits 29:30 - Select the drive strength of the pad. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 29) } diff --git a/esp32s2/src/rtc_io/rtc_pad21.rs b/esp32s2/src/rtc_io/rtc_pad21.rs index c0f4f7959f..e5089dced8 100644 --- a/esp32s2/src/rtc_io/rtc_pad21.rs +++ b/esp32s2/src/rtc_io/rtc_pad21.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - Input enable in normal execution."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - Output enable in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - Input enable in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode. 0: no sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - Function selection."] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO. 0: use digital GPIO."] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 19) } #[doc = "Bit 27 - Pull-down enable of the pad. 1: internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - Pull-up enable of the pad. 1: internal pull-up enabled. 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bits 29:30 - Select the drive strength of the pad. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 29) } diff --git a/esp32s2/src/rtc_io/sar_i2c_io.rs b/esp32s2/src/rtc_io/sar_i2c_io.rs index 45f8dd1730..22ea26fb2d 100644 --- a/esp32s2/src/rtc_io/sar_i2c_io.rs +++ b/esp32s2/src/rtc_io/sar_i2c_io.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 23:27"] #[inline(always)] - #[must_use] pub fn sar_debug_bit_sel(&mut self) -> SAR_DEBUG_BIT_SEL_W { SAR_DEBUG_BIT_SEL_W::new(self, 23) } #[doc = "Bits 28:29 - Selects a pad the RTC I2C SCL signal connects to. 0: use TOUCH PAD0. 1: use TOUCH PAD2."] #[inline(always)] - #[must_use] pub fn sar_i2c_scl_sel(&mut self) -> SAR_I2C_SCL_SEL_W { SAR_I2C_SCL_SEL_W::new(self, 28) } #[doc = "Bits 30:31 - Selects a pad the RTC I2C SDA signal connects to. 0: use TOUCH PAD1. 1: use TOUCH PAD3."] #[inline(always)] - #[must_use] pub fn sar_i2c_sda_sel(&mut self) -> SAR_I2C_SDA_SEL_W { SAR_I2C_SDA_SEL_W::new(self, 30) } diff --git a/esp32s2/src/rtc_io/touch_pad.rs b/esp32s2/src/rtc_io/touch_pad.rs index 284974add3..c8ad3772f5 100644 --- a/esp32s2/src/rtc_io/touch_pad.rs +++ b/esp32s2/src/rtc_io/touch_pad.rs @@ -144,79 +144,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - Input enable in normal execution."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - Output enable in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - Input enable in sleep mode."] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 0: no sleep mode. 1: enable sleep mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - Function selection."] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - Connect the RTC pad input to digital pad input. 0 is available."] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 19) } #[doc = "Bit 20 - Touch sensor power on."] #[inline(always)] - #[must_use] pub fn xpd(&mut self) -> XPD_W { XPD_W::new(self, 20) } #[doc = "Bit 21 - The tie option of touch sensor. 0: tie low. 1: tie high."] #[inline(always)] - #[must_use] pub fn tie_opt(&mut self) -> TIE_OPT_W { TIE_OPT_W::new(self, 21) } #[doc = "Bit 22 - Start touch sensor."] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 22) } #[doc = "Bits 23:25 - Touch sensor slope control. 3-bit for each touch pad, defaults to 0x4."] #[inline(always)] - #[must_use] pub fn dac(&mut self) -> DAC_W { DAC_W::new(self, 23) } #[doc = "Bit 27 - Pull-down enable of the pad. 1: internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - Pull-up enable of the pad. 1: internal pull-up enabled. 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bits 29:30 - Select the drive strength of the pad. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 29) } diff --git a/esp32s2/src/rtc_io/xtal_32n_pad.rs b/esp32s2/src/rtc_io/xtal_32n_pad.rs index 14d8729720..b1a4283ca6 100644 --- a/esp32s2/src/rtc_io/xtal_32n_pad.rs +++ b/esp32s2/src/rtc_io/xtal_32n_pad.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - Input enable in normal execution."] #[inline(always)] - #[must_use] pub fn x32n_fun_ie(&mut self) -> X32N_FUN_IE_W { X32N_FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - Output enable in sleep mode."] #[inline(always)] - #[must_use] pub fn x32n_slp_oe(&mut self) -> X32N_SLP_OE_W { X32N_SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - Input enable in sleep mode."] #[inline(always)] - #[must_use] pub fn x32n_slp_ie(&mut self) -> X32N_SLP_IE_W { X32N_SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode. 0: no sleep mode."] #[inline(always)] - #[must_use] pub fn x32n_slp_sel(&mut self) -> X32N_SLP_SEL_W { X32N_SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - Function selection."] #[inline(always)] - #[must_use] pub fn x32n_fun_sel(&mut self) -> X32N_FUN_SEL_W { X32N_FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO. 0: use digital GPIO."] #[inline(always)] - #[must_use] pub fn x32n_mux_sel(&mut self) -> X32N_MUX_SEL_W { X32N_MUX_SEL_W::new(self, 19) } #[doc = "Bit 27 - Pull-down enable of the pad. 1: internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn x32n_rue(&mut self) -> X32N_RUE_W { X32N_RUE_W::new(self, 27) } #[doc = "Bit 28 - Pull-up enable of the pad. 1: internal pull-up enabled. 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn x32n_rde(&mut self) -> X32N_RDE_W { X32N_RDE_W::new(self, 28) } #[doc = "Bits 29:30 - Select the drive strength of the pad. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn x32n_drv(&mut self) -> X32N_DRV_W { X32N_DRV_W::new(self, 29) } diff --git a/esp32s2/src/rtc_io/xtal_32p_pad.rs b/esp32s2/src/rtc_io/xtal_32p_pad.rs index acdc34840c..bea05b001d 100644 --- a/esp32s2/src/rtc_io/xtal_32p_pad.rs +++ b/esp32s2/src/rtc_io/xtal_32p_pad.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - Input enable in normal execution."] #[inline(always)] - #[must_use] pub fn x32p_fun_ie(&mut self) -> X32P_FUN_IE_W { X32P_FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - output enable in sleep mode."] #[inline(always)] - #[must_use] pub fn x32p_slp_oe(&mut self) -> X32P_SLP_OE_W { X32P_SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - input enable in sleep mode."] #[inline(always)] - #[must_use] pub fn x32p_slp_ie(&mut self) -> X32P_SLP_IE_W { X32P_SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode. 0: no sleep mode."] #[inline(always)] - #[must_use] pub fn x32p_slp_sel(&mut self) -> X32P_SLP_SEL_W { X32P_SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - Function selection."] #[inline(always)] - #[must_use] pub fn x32p_fun_sel(&mut self) -> X32P_FUN_SEL_W { X32P_FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO. 0: use digital GPIO."] #[inline(always)] - #[must_use] pub fn x32p_mux_sel(&mut self) -> X32P_MUX_SEL_W { X32P_MUX_SEL_W::new(self, 19) } #[doc = "Bit 27 - Pull-down enable of the pad. 1: internal pull-down enabled. 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn x32p_rue(&mut self) -> X32P_RUE_W { X32P_RUE_W::new(self, 27) } #[doc = "Bit 28 - Pull-up enable of the pad. 1: internal pull-up enabled. 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn x32p_rde(&mut self) -> X32P_RDE_W { X32P_RDE_W::new(self, 28) } #[doc = "Bits 29:30 - Select the drive strength of the pad. 0: ~5 mA. 1: ~10 mA. 2: ~20 mA. 3: ~40 mA."] #[inline(always)] - #[must_use] pub fn x32p_drv(&mut self) -> X32P_DRV_W { X32P_DRV_W::new(self, 29) } diff --git a/esp32s2/src/rtc_io/xtl_ext_ctr.rs b/esp32s2/src/rtc_io/xtl_ext_ctr.rs index db7c53335f..0146292b17 100644 --- a/esp32s2/src/rtc_io/xtl_ext_ctr.rs +++ b/esp32s2/src/rtc_io/xtl_ext_ctr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 27:31 - Select the external crystal power down enable source to get into sleep mode. 0: select GPIO0. 1: select GPIO1, etc. The input value on this pin XOR RTC_CNTL_EXT_XTL_CONF_REG\\[30\\] is the crystal power down enable signal."] #[inline(always)] - #[must_use] pub fn sel(&mut self) -> SEL_W { SEL_W::new(self, 27) } diff --git a/esp32s2/src/sens/sar_amp_ctrl1.rs b/esp32s2/src/sens/sar_amp_ctrl1.rs index 443388e161..342e074eb2 100644 --- a/esp32s2/src/sens/sar_amp_ctrl1.rs +++ b/esp32s2/src/sens/sar_amp_ctrl1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn sar_amp_wait1(&mut self) -> SAR_AMP_WAIT1_W { SAR_AMP_WAIT1_W::new(self, 0) } #[doc = "Bits 16:31"] #[inline(always)] - #[must_use] pub fn sar_amp_wait2(&mut self) -> SAR_AMP_WAIT2_W { SAR_AMP_WAIT2_W::new(self, 16) } diff --git a/esp32s2/src/sens/sar_amp_ctrl2.rs b/esp32s2/src/sens/sar_amp_ctrl2.rs index a9ea12a64f..023cd9f31b 100644 --- a/esp32s2/src/sens/sar_amp_ctrl2.rs +++ b/esp32s2/src/sens/sar_amp_ctrl2.rs @@ -97,31 +97,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn sar1_dac_xpd_fsm_idle(&mut self) -> SAR1_DAC_XPD_FSM_IDLE_W { SAR1_DAC_XPD_FSM_IDLE_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn xpd_sar_amp_fsm_idle(&mut self) -> XPD_SAR_AMP_FSM_IDLE_W { XPD_SAR_AMP_FSM_IDLE_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn amp_rst_fb_fsm_idle(&mut self) -> AMP_RST_FB_FSM_IDLE_W { AMP_RST_FB_FSM_IDLE_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn amp_short_ref_fsm_idle(&mut self) -> AMP_SHORT_REF_FSM_IDLE_W { AMP_SHORT_REF_FSM_IDLE_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn amp_short_ref_gnd_fsm_idle( &mut self, ) -> AMP_SHORT_REF_GND_FSM_IDLE_W { @@ -129,19 +124,16 @@ impl W { } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn xpd_sar_fsm_idle(&mut self) -> XPD_SAR_FSM_IDLE_W { XPD_SAR_FSM_IDLE_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn sar_rstb_fsm_idle(&mut self) -> SAR_RSTB_FSM_IDLE_W { SAR_RSTB_FSM_IDLE_W::new(self, 6) } #[doc = "Bits 16:31"] #[inline(always)] - #[must_use] pub fn sar_amp_wait3(&mut self) -> SAR_AMP_WAIT3_W { SAR_AMP_WAIT3_W::new(self, 16) } diff --git a/esp32s2/src/sens/sar_amp_ctrl3.rs b/esp32s2/src/sens/sar_amp_ctrl3.rs index 1cab0030c0..746c04ac42 100644 --- a/esp32s2/src/sens/sar_amp_ctrl3.rs +++ b/esp32s2/src/sens/sar_amp_ctrl3.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Control of DAC. 4’b0010: disable DAC. 4’b0000: power up DAC by FSM. 4’b0011: power up DAC by software."] #[inline(always)] - #[must_use] pub fn sar1_dac_xpd_fsm(&mut self) -> SAR1_DAC_XPD_FSM_W { SAR1_DAC_XPD_FSM_W::new(self, 0) } #[doc = "Bits 4:7"] #[inline(always)] - #[must_use] pub fn xpd_sar_amp_fsm(&mut self) -> XPD_SAR_AMP_FSM_W { XPD_SAR_AMP_FSM_W::new(self, 4) } #[doc = "Bits 8:11"] #[inline(always)] - #[must_use] pub fn amp_rst_fb_fsm(&mut self) -> AMP_RST_FB_FSM_W { AMP_RST_FB_FSM_W::new(self, 8) } #[doc = "Bits 12:15"] #[inline(always)] - #[must_use] pub fn amp_short_ref_fsm(&mut self) -> AMP_SHORT_REF_FSM_W { AMP_SHORT_REF_FSM_W::new(self, 12) } #[doc = "Bits 16:19"] #[inline(always)] - #[must_use] pub fn amp_short_ref_gnd_fsm(&mut self) -> AMP_SHORT_REF_GND_FSM_W { AMP_SHORT_REF_GND_FSM_W::new(self, 16) } #[doc = "Bits 20:23"] #[inline(always)] - #[must_use] pub fn xpd_sar_fsm(&mut self) -> XPD_SAR_FSM_W { XPD_SAR_FSM_W::new(self, 20) } #[doc = "Bits 24:27"] #[inline(always)] - #[must_use] pub fn sar_rstb_fsm(&mut self) -> SAR_RSTB_FSM_W { SAR_RSTB_FSM_W::new(self, 24) } diff --git a/esp32s2/src/sens/sar_atten1.rs b/esp32s2/src/sens/sar_atten1.rs index 476a96f873..9db784fb63 100644 --- a/esp32s2/src/sens/sar_atten1.rs +++ b/esp32s2/src/sens/sar_atten1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - 2-bit attenuation for each pad. \\[1:0\\] is used for channel 0, \\[3:2\\] is used for channel 1, etc."] #[inline(always)] - #[must_use] pub fn sar1_atten(&mut self) -> SAR1_ATTEN_W { SAR1_ATTEN_W::new(self, 0) } diff --git a/esp32s2/src/sens/sar_atten2.rs b/esp32s2/src/sens/sar_atten2.rs index 35f8b5a133..2027ff6ed1 100644 --- a/esp32s2/src/sens/sar_atten2.rs +++ b/esp32s2/src/sens/sar_atten2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - 2-bit attenuation for each pad. \\[1:0\\] is used for channel 0, \\[3:2\\] is used for channel 1, etc."] #[inline(always)] - #[must_use] pub fn sar2_atten(&mut self) -> SAR2_ATTEN_W { SAR2_ATTEN_W::new(self, 0) } diff --git a/esp32s2/src/sens/sar_cocpu_int_clr.rs b/esp32s2/src/sens/sar_cocpu_int_clr.rs index baab14fa2b..4a43aca92b 100644 --- a/esp32s2/src/sens/sar_cocpu_int_clr.rs +++ b/esp32s2/src/sens/sar_cocpu_int_clr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - TOUCH_DONE_INT interrupt clear bit"] #[inline(always)] - #[must_use] pub fn cocpu_touch_done_int_clr( &mut self, ) -> COCPU_TOUCH_DONE_INT_CLR_W { @@ -35,7 +34,6 @@ impl W { } #[doc = "Bit 1 - TOUCH_INACTIVE_INT interrupt clear bit"] #[inline(always)] - #[must_use] pub fn cocpu_touch_inactive_int_clr( &mut self, ) -> COCPU_TOUCH_INACTIVE_INT_CLR_W { @@ -43,7 +41,6 @@ impl W { } #[doc = "Bit 2 - TOUCH_ACTIVE_INT interrupt clear bit"] #[inline(always)] - #[must_use] pub fn cocpu_touch_active_int_clr( &mut self, ) -> COCPU_TOUCH_ACTIVE_INT_CLR_W { @@ -51,37 +48,31 @@ impl W { } #[doc = "Bit 3 - SARADC1_DONE_INT interrupt clear bit"] #[inline(always)] - #[must_use] pub fn cocpu_saradc1_int_clr(&mut self) -> COCPU_SARADC1_INT_CLR_W { COCPU_SARADC1_INT_CLR_W::new(self, 3) } #[doc = "Bit 4 - SARADC2_DONE_INT interrupt clear bit"] #[inline(always)] - #[must_use] pub fn cocpu_saradc2_int_clr(&mut self) -> COCPU_SARADC2_INT_CLR_W { COCPU_SARADC2_INT_CLR_W::new(self, 4) } #[doc = "Bit 5 - TSENS_DONE_INT interrupt clear bit"] #[inline(always)] - #[must_use] pub fn cocpu_tsens_int_clr(&mut self) -> COCPU_TSENS_INT_CLR_W { COCPU_TSENS_INT_CLR_W::new(self, 5) } #[doc = "Bit 6 - RISCV_START_INT interrupt clear bit"] #[inline(always)] - #[must_use] pub fn cocpu_start_int_clr(&mut self) -> COCPU_START_INT_CLR_W { COCPU_START_INT_CLR_W::new(self, 6) } #[doc = "Bit 7 - SW_INT interrupt clear bit"] #[inline(always)] - #[must_use] pub fn cocpu_sw_int_clr(&mut self) -> COCPU_SW_INT_CLR_W { COCPU_SW_INT_CLR_W::new(self, 7) } #[doc = "Bit 8 - SWD_INT interrupt clear bit"] #[inline(always)] - #[must_use] pub fn cocpu_swd_int_clr(&mut self) -> COCPU_SWD_INT_CLR_W { COCPU_SWD_INT_CLR_W::new(self, 8) } diff --git a/esp32s2/src/sens/sar_cocpu_int_ena.rs b/esp32s2/src/sens/sar_cocpu_int_ena.rs index ec4e6206b9..e5128341bb 100644 --- a/esp32s2/src/sens/sar_cocpu_int_ena.rs +++ b/esp32s2/src/sens/sar_cocpu_int_ena.rs @@ -110,7 +110,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - TOUCH_DONE_INT interrupt enable bit"] #[inline(always)] - #[must_use] pub fn cocpu_touch_done_int_ena( &mut self, ) -> COCPU_TOUCH_DONE_INT_ENA_W { @@ -118,7 +117,6 @@ impl W { } #[doc = "Bit 1 - TOUCH_INACTIVE_INT interrupt enable bit"] #[inline(always)] - #[must_use] pub fn cocpu_touch_inactive_int_ena( &mut self, ) -> COCPU_TOUCH_INACTIVE_INT_ENA_W { @@ -126,7 +124,6 @@ impl W { } #[doc = "Bit 2 - TOUCH_ACTIVE_INT interrupt enable bit"] #[inline(always)] - #[must_use] pub fn cocpu_touch_active_int_ena( &mut self, ) -> COCPU_TOUCH_ACTIVE_INT_ENA_W { @@ -134,37 +131,31 @@ impl W { } #[doc = "Bit 3 - SARADC1_DONE_INT interrupt enable bit"] #[inline(always)] - #[must_use] pub fn cocpu_saradc1_int_ena(&mut self) -> COCPU_SARADC1_INT_ENA_W { COCPU_SARADC1_INT_ENA_W::new(self, 3) } #[doc = "Bit 4 - SARADC2_DONE_INT interrupt enable bit"] #[inline(always)] - #[must_use] pub fn cocpu_saradc2_int_ena(&mut self) -> COCPU_SARADC2_INT_ENA_W { COCPU_SARADC2_INT_ENA_W::new(self, 4) } #[doc = "Bit 5 - TSENS_DONE_INT interrupt enable bit"] #[inline(always)] - #[must_use] pub fn cocpu_tsens_int_ena(&mut self) -> COCPU_TSENS_INT_ENA_W { COCPU_TSENS_INT_ENA_W::new(self, 5) } #[doc = "Bit 6 - RISCV_START_INT interrupt enable bit"] #[inline(always)] - #[must_use] pub fn cocpu_start_int_ena(&mut self) -> COCPU_START_INT_ENA_W { COCPU_START_INT_ENA_W::new(self, 6) } #[doc = "Bit 7 - SW_INT interrupt enable bit"] #[inline(always)] - #[must_use] pub fn cocpu_sw_int_ena(&mut self) -> COCPU_SW_INT_ENA_W { COCPU_SW_INT_ENA_W::new(self, 7) } #[doc = "Bit 8 - SWD_INT interrupt enable bit"] #[inline(always)] - #[must_use] pub fn cocpu_swd_int_ena(&mut self) -> COCPU_SWD_INT_ENA_W { COCPU_SWD_INT_ENA_W::new(self, 8) } diff --git a/esp32s2/src/sens/sar_cocpu_state.rs b/esp32s2/src/sens/sar_cocpu_state.rs index a90d44a6be..b5e194932f 100644 --- a/esp32s2/src/sens/sar_cocpu_state.rs +++ b/esp32s2/src/sens/sar_cocpu_state.rs @@ -56,7 +56,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 25 - Trigger ULP-RISCV debug registers"] #[inline(always)] - #[must_use] pub fn cocpu_dbg_trigger(&mut self) -> COCPU_DBG_TRIGGER_W { COCPU_DBG_TRIGGER_W::new(self, 25) } diff --git a/esp32s2/src/sens/sar_dac_ctrl1.rs b/esp32s2/src/sens/sar_dac_ctrl1.rs index d93d658660..d9aa9366d0 100644 --- a/esp32s2/src/sens/sar_dac_ctrl1.rs +++ b/esp32s2/src/sens/sar_dac_ctrl1.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Frequency step for CW generator can be used to adjust the frequency."] #[inline(always)] - #[must_use] pub fn sw_fstep(&mut self) -> SW_FSTEP_W { SW_FSTEP_W::new(self, 0) } #[doc = "Bit 16 - 0: disable CW generator. 1: enable CW generator."] #[inline(always)] - #[must_use] pub fn sw_tone_en(&mut self) -> SW_TONE_EN_W { SW_TONE_EN_W::new(self, 16) } #[doc = "Bits 17:21"] #[inline(always)] - #[must_use] pub fn debug_bit_sel(&mut self) -> DEBUG_BIT_SEL_W { DEBUG_BIT_SEL_W::new(self, 17) } #[doc = "Bit 22 - 0: DAC1 and DAC2 do not use DMA. 1: DAC1 and DAC2 use DMA."] #[inline(always)] - #[must_use] pub fn dac_dig_force(&mut self) -> DAC_DIG_FORCE_W { DAC_DIG_FORCE_W::new(self, 22) } #[doc = "Bit 23 - 1: force PDAC_CLK to low"] #[inline(always)] - #[must_use] pub fn dac_clk_force_low(&mut self) -> DAC_CLK_FORCE_LOW_W { DAC_CLK_FORCE_LOW_W::new(self, 23) } #[doc = "Bit 24 - 1: force PDAC_CLK to high"] #[inline(always)] - #[must_use] pub fn dac_clk_force_high(&mut self) -> DAC_CLK_FORCE_HIGH_W { DAC_CLK_FORCE_HIGH_W::new(self, 24) } #[doc = "Bit 25 - 1: invert PDAC_CLK."] #[inline(always)] - #[must_use] pub fn dac_clk_inv(&mut self) -> DAC_CLK_INV_W { DAC_CLK_INV_W::new(self, 25) } #[doc = "Bit 26 - Reset DAC by software."] #[inline(always)] - #[must_use] pub fn dac_reset(&mut self) -> DAC_RESET_W { DAC_RESET_W::new(self, 26) } #[doc = "Bit 27 - DAC clock gate enable bit."] #[inline(always)] - #[must_use] pub fn dac_clkgate_en(&mut self) -> DAC_CLKGATE_EN_W { DAC_CLKGATE_EN_W::new(self, 27) } diff --git a/esp32s2/src/sens/sar_dac_ctrl2.rs b/esp32s2/src/sens/sar_dac_ctrl2.rs index 9c38cd60eb..7e5a9a7e70 100644 --- a/esp32s2/src/sens/sar_dac_ctrl2.rs +++ b/esp32s2/src/sens/sar_dac_ctrl2.rs @@ -140,7 +140,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `DAC_DC1` field.
"] #[inline(always)] - #[must_use] pub fn dac_dc(&mut self, n: u8) -> DAC_DC_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -148,13 +147,11 @@ impl W { } #[doc = "Bits 0:7 - DC offset for DAC1 CW generator."] #[inline(always)] - #[must_use] pub fn dac_dc1(&mut self) -> DAC_DC_W { DAC_DC_W::new(self, 0) } #[doc = "Bits 8:15 - DC offset for DAC2 CW generator."] #[inline(always)] - #[must_use] pub fn dac_dc2(&mut self) -> DAC_DC_W { DAC_DC_W::new(self, 8) } @@ -162,7 +159,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `DAC_SCALE1` field.
"] #[inline(always)] - #[must_use] pub fn dac_scale(&mut self, n: u8) -> DAC_SCALE_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -170,13 +166,11 @@ impl W { } #[doc = "Bits 16:17 - DAC1 scaling. 00: no scale. 01: scale to 1/2. 10: scale to 1/4. 11: scale to 1/8."] #[inline(always)] - #[must_use] pub fn dac_scale1(&mut self) -> DAC_SCALE_W { DAC_SCALE_W::new(self, 16) } #[doc = "Bits 18:19 - DAC2 scaling. 00: no scale. 01: scale to 1/2. 10: scale to 1/4. 11: scale to 1/8."] #[inline(always)] - #[must_use] pub fn dac_scale2(&mut self) -> DAC_SCALE_W { DAC_SCALE_W::new(self, 18) } @@ -184,7 +178,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `DAC_INV1` field.
"] #[inline(always)] - #[must_use] pub fn dac_inv(&mut self, n: u8) -> DAC_INV_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -192,13 +185,11 @@ impl W { } #[doc = "Bits 20:21 - Invert DAC1. 00: do not invert any bits. 01: invert all bits. 10: invert MSB. 11: invert all bits except MSB."] #[inline(always)] - #[must_use] pub fn dac_inv1(&mut self) -> DAC_INV_W { DAC_INV_W::new(self, 20) } #[doc = "Bits 22:23 - Invert DAC2. 00: do not invert any bits. 01: invert all bits. 10: invert MSB. 11: invert all bits except MSB."] #[inline(always)] - #[must_use] pub fn dac_inv2(&mut self) -> DAC_INV_W { DAC_INV_W::new(self, 22) } @@ -206,7 +197,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `DAC_CW_EN1` field.
"] #[inline(always)] - #[must_use] pub fn dac_cw_en(&mut self, n: u8) -> DAC_CW_EN_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -214,13 +204,11 @@ impl W { } #[doc = "Bit 24 - 1: to select CW generator as source to PDAC1_DAC\\[7:0\\] 0: to select register reg_pdac1_dac\\[7:0\\] as source to PDAC1_DAC\\[7:0\\]"] #[inline(always)] - #[must_use] pub fn dac_cw_en1(&mut self) -> DAC_CW_EN_W { DAC_CW_EN_W::new(self, 24) } #[doc = "Bit 25 - 1: to select CW generator as source to PDAC2_DAC\\[7:0\\] 0: to select register reg_pdac2_dac\\[7:0\\] as source to PDAC2_DAC\\[7:0\\]"] #[inline(always)] - #[must_use] pub fn dac_cw_en2(&mut self) -> DAC_CW_EN_W { DAC_CW_EN_W::new(self, 25) } diff --git a/esp32s2/src/sens/sar_hall_ctrl.rs b/esp32s2/src/sens/sar_hall_ctrl.rs index d51305efe5..f4a8995b4f 100644 --- a/esp32s2/src/sens/sar_hall_ctrl.rs +++ b/esp32s2/src/sens/sar_hall_ctrl.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 28 - Power on hall sensor and connect to VP and VN"] #[inline(always)] - #[must_use] pub fn xpd_hall(&mut self) -> XPD_HALL_W { XPD_HALL_W::new(self, 28) } #[doc = "Bit 29 - 1: XPD HALL is controlled by SW. 0: XPD HALL is controlled by FSM in ULP-coprocessor"] #[inline(always)] - #[must_use] pub fn xpd_hall_force(&mut self) -> XPD_HALL_FORCE_W { XPD_HALL_FORCE_W::new(self, 29) } #[doc = "Bit 30 - Reverse phase of hall sensor"] #[inline(always)] - #[must_use] pub fn hall_phase(&mut self) -> HALL_PHASE_W { HALL_PHASE_W::new(self, 30) } #[doc = "Bit 31 - 1: HALL PHASE is controlled by SW 0: HALL PHASE is controlled by FSM in ULP-coprocessor"] #[inline(always)] - #[must_use] pub fn hall_phase_force(&mut self) -> HALL_PHASE_FORCE_W { HALL_PHASE_FORCE_W::new(self, 31) } diff --git a/esp32s2/src/sens/sar_i2c_ctrl.rs b/esp32s2/src/sens/sar_i2c_ctrl.rs index 7b8d8ed74a..668a8d7fd0 100644 --- a/esp32s2/src/sens/sar_i2c_ctrl.rs +++ b/esp32s2/src/sens/sar_i2c_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - RTC I2C control data. Active only when SENS_SAR_I2C_START_FORCE = 1."] #[inline(always)] - #[must_use] pub fn sar_i2c_ctrl(&mut self) -> SAR_I2C_CTRL_W { SAR_I2C_CTRL_W::new(self, 0) } #[doc = "Bit 28 - Start RTC I2C. Active only when SENS_SAR_I2C_START_FORCE = 1"] #[inline(always)] - #[must_use] pub fn sar_i2c_start(&mut self) -> SAR_I2C_START_W { SAR_I2C_START_W::new(self, 28) } #[doc = "Bit 29 - 0: RTC I2C started by FSM. 1: RTC I2C started by software."] #[inline(always)] - #[must_use] pub fn sar_i2c_start_force(&mut self) -> SAR_I2C_START_FORCE_W { SAR_I2C_START_FORCE_W::new(self, 29) } diff --git a/esp32s2/src/sens/sar_io_mux_conf.rs b/esp32s2/src/sens/sar_io_mux_conf.rs index 92bb370997..c321536423 100644 --- a/esp32s2/src/sens/sar_io_mux_conf.rs +++ b/esp32s2/src/sens/sar_io_mux_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - Reset IO MUX by software"] #[inline(always)] - #[must_use] pub fn iomux_reset(&mut self) -> IOMUX_RESET_W { IOMUX_RESET_W::new(self, 30) } #[doc = "Bit 31 - IO MUX clock gate enable bit"] #[inline(always)] - #[must_use] pub fn iomux_clk_gate_en(&mut self) -> IOMUX_CLK_GATE_EN_W { IOMUX_CLK_GATE_EN_W::new(self, 31) } diff --git a/esp32s2/src/sens/sar_meas1_ctrl1.rs b/esp32s2/src/sens/sar_meas1_ctrl1.rs index c3c877f0fe..d61c02f6df 100644 --- a/esp32s2/src/sens/sar_meas1_ctrl1.rs +++ b/esp32s2/src/sens/sar_meas1_ctrl1.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 22 - SAR ADC software reset."] #[inline(always)] - #[must_use] pub fn rtc_saradc_reset(&mut self) -> RTC_SARADC_RESET_W { RTC_SARADC_RESET_W::new(self, 22) } #[doc = "Bit 23 - Enable bit of SAR ADC clock gate."] #[inline(always)] - #[must_use] pub fn rtc_saradc_clkgate_en(&mut self) -> RTC_SARADC_CLKGATE_EN_W { RTC_SARADC_CLKGATE_EN_W::new(self, 23) } #[doc = "Bits 24:25"] #[inline(always)] - #[must_use] pub fn force_xpd_amp(&mut self) -> FORCE_XPD_AMP_W { FORCE_XPD_AMP_W::new(self, 24) } #[doc = "Bits 26:27"] #[inline(always)] - #[must_use] pub fn amp_rst_fb_force(&mut self) -> AMP_RST_FB_FORCE_W { AMP_RST_FB_FORCE_W::new(self, 26) } #[doc = "Bits 28:29"] #[inline(always)] - #[must_use] pub fn amp_short_ref_force(&mut self) -> AMP_SHORT_REF_FORCE_W { AMP_SHORT_REF_FORCE_W::new(self, 28) } #[doc = "Bits 30:31"] #[inline(always)] - #[must_use] pub fn amp_short_ref_gnd_force(&mut self) -> AMP_SHORT_REF_GND_FORCE_W { AMP_SHORT_REF_GND_FORCE_W::new(self, 30) } diff --git a/esp32s2/src/sens/sar_meas1_ctrl2.rs b/esp32s2/src/sens/sar_meas1_ctrl2.rs index d467477f4d..b44ffd99f2 100644 --- a/esp32s2/src/sens/sar_meas1_ctrl2.rs +++ b/esp32s2/src/sens/sar_meas1_ctrl2.rs @@ -70,25 +70,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 17 - SAR ADC1 controller (in RTC) starts conversion, active only when SENS_MEAS1_START_FORCE = 1."] #[inline(always)] - #[must_use] pub fn meas1_start_sar(&mut self) -> MEAS1_START_SAR_W { MEAS1_START_SAR_W::new(self, 17) } #[doc = "Bit 18 - 1: SAR ADC1 controller (in RTC) is started by software. 0: SAR ADC1 controller is started by ULP coprocessor."] #[inline(always)] - #[must_use] pub fn meas1_start_force(&mut self) -> MEAS1_START_FORCE_W { MEAS1_START_FORCE_W::new(self, 18) } #[doc = "Bits 19:30 - SAR ADC1 pad enable bitmap, active only when SENS_SAR1_EN_PAD_FORCE = 1."] #[inline(always)] - #[must_use] pub fn sar1_en_pad(&mut self) -> SAR1_EN_PAD_W { SAR1_EN_PAD_W::new(self, 19) } #[doc = "Bit 31 - 1: SAR ADC1 pad enable bitmap is controlled by software. 0: SAR ADC1 pad enable bitmap is controlled by ULP coprocessor."] #[inline(always)] - #[must_use] pub fn sar1_en_pad_force(&mut self) -> SAR1_EN_PAD_FORCE_W { SAR1_EN_PAD_FORCE_W::new(self, 31) } diff --git a/esp32s2/src/sens/sar_meas1_mux.rs b/esp32s2/src/sens/sar_meas1_mux.rs index ccedb6800d..93ca46a7df 100644 --- a/esp32s2/src/sens/sar_meas1_mux.rs +++ b/esp32s2/src/sens/sar_meas1_mux.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - 1: SAR ADC1 controlled by DIG ADC1 CTRL"] #[inline(always)] - #[must_use] pub fn sar1_dig_force(&mut self) -> SAR1_DIG_FORCE_W { SAR1_DIG_FORCE_W::new(self, 31) } diff --git a/esp32s2/src/sens/sar_meas2_ctrl1.rs b/esp32s2/src/sens/sar_meas2_ctrl1.rs index 71ad88e87f..d7cb743742 100644 --- a/esp32s2/src/sens/sar_meas2_ctrl1.rs +++ b/esp32s2/src/sens/sar_meas2_ctrl1.rs @@ -92,43 +92,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - rtc control pwdet enable"] #[inline(always)] - #[must_use] pub fn sar2_pwdet_cal_en(&mut self) -> SAR2_PWDET_CAL_EN_W { SAR2_PWDET_CAL_EN_W::new(self, 3) } #[doc = "Bit 4 - rtc control pkdet enable"] #[inline(always)] - #[must_use] pub fn sar2_pkdet_cal_en(&mut self) -> SAR2_PKDET_CAL_EN_W { SAR2_PKDET_CAL_EN_W::new(self, 4) } #[doc = "Bit 5 - SAR2_EN_TEST"] #[inline(always)] - #[must_use] pub fn sar2_en_test(&mut self) -> SAR2_EN_TEST_W { SAR2_EN_TEST_W::new(self, 5) } #[doc = "Bits 6:7"] #[inline(always)] - #[must_use] pub fn sar2_rstb_force(&mut self) -> SAR2_RSTB_FORCE_W { SAR2_RSTB_FORCE_W::new(self, 6) } #[doc = "Bits 8:15"] #[inline(always)] - #[must_use] pub fn sar2_standby_wait(&mut self) -> SAR2_STANDBY_WAIT_W { SAR2_STANDBY_WAIT_W::new(self, 8) } #[doc = "Bits 16:23"] #[inline(always)] - #[must_use] pub fn sar2_rstb_wait(&mut self) -> SAR2_RSTB_WAIT_W { SAR2_RSTB_WAIT_W::new(self, 16) } #[doc = "Bits 24:31"] #[inline(always)] - #[must_use] pub fn sar2_xpd_wait(&mut self) -> SAR2_XPD_WAIT_W { SAR2_XPD_WAIT_W::new(self, 24) } diff --git a/esp32s2/src/sens/sar_meas2_ctrl2.rs b/esp32s2/src/sens/sar_meas2_ctrl2.rs index 68bf2c5ba9..ae89d6d8e2 100644 --- a/esp32s2/src/sens/sar_meas2_ctrl2.rs +++ b/esp32s2/src/sens/sar_meas2_ctrl2.rs @@ -70,25 +70,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 17 - SAR ADC2 controller (in RTC) starts conversion, active only when SENS_MEAS2_START_FORCE = 1."] #[inline(always)] - #[must_use] pub fn meas2_start_sar(&mut self) -> MEAS2_START_SAR_W { MEAS2_START_SAR_W::new(self, 17) } #[doc = "Bit 18 - 1: SAR ADC2 controller (in RTC) is started by software. 0: SAR ADC2 controller is started by ULP coprocessor."] #[inline(always)] - #[must_use] pub fn meas2_start_force(&mut self) -> MEAS2_START_FORCE_W { MEAS2_START_FORCE_W::new(self, 18) } #[doc = "Bits 19:30 - SAR ADC2 pad enable bitmap, active only whenSENS_SAR2_EN_PAD_FORCE = 1."] #[inline(always)] - #[must_use] pub fn sar2_en_pad(&mut self) -> SAR2_EN_PAD_W { SAR2_EN_PAD_W::new(self, 19) } #[doc = "Bit 31 - 1: SAR ADC2 pad enable bitmap is controlled by software. 0: SAR ADC2 pad enable bitmap is controlled by ULP coprocessor."] #[inline(always)] - #[must_use] pub fn sar2_en_pad_force(&mut self) -> SAR2_EN_PAD_FORCE_W { SAR2_EN_PAD_FORCE_W::new(self, 31) } diff --git a/esp32s2/src/sens/sar_meas2_mux.rs b/esp32s2/src/sens/sar_meas2_mux.rs index abb6fb7e86..355b5bc450 100644 --- a/esp32s2/src/sens/sar_meas2_mux.rs +++ b/esp32s2/src/sens/sar_meas2_mux.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 28:30 - SAR2_PWDET_CCT, PA power detector capacitance tuning."] #[inline(always)] - #[must_use] pub fn sar2_pwdet_cct(&mut self) -> SAR2_PWDET_CCT_W { SAR2_PWDET_CCT_W::new(self, 28) } #[doc = "Bit 31 - In sleep, force to use RTC to control ADC."] #[inline(always)] - #[must_use] pub fn sar2_rtc_force(&mut self) -> SAR2_RTC_FORCE_W { SAR2_RTC_FORCE_W::new(self, 31) } diff --git a/esp32s2/src/sens/sar_nouse.rs b/esp32s2/src/sens/sar_nouse.rs index 7f35cf267f..0bbd57638d 100644 --- a/esp32s2/src/sens/sar_nouse.rs +++ b/esp32s2/src/sens/sar_nouse.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - sar nouse"] #[inline(always)] - #[must_use] pub fn sar_nouse(&mut self) -> SAR_NOUSE_W { SAR_NOUSE_W::new(self, 0) } diff --git a/esp32s2/src/sens/sar_power_xpd_sar.rs b/esp32s2/src/sens/sar_power_xpd_sar.rs index 7ca1a933e0..8e8dbb2640 100644 --- a/esp32s2/src/sens/sar_power_xpd_sar.rs +++ b/esp32s2/src/sens/sar_power_xpd_sar.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 29:30"] #[inline(always)] - #[must_use] pub fn force_xpd_sar(&mut self) -> FORCE_XPD_SAR_W { FORCE_XPD_SAR_W::new(self, 29) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn sarclk_en(&mut self) -> SARCLK_EN_W { SARCLK_EN_W::new(self, 31) } diff --git a/esp32s2/src/sens/sar_reader1_ctrl.rs b/esp32s2/src/sens/sar_reader1_ctrl.rs index 33580b3412..a71a6d1448 100644 --- a/esp32s2/src/sens/sar_reader1_ctrl.rs +++ b/esp32s2/src/sens/sar_reader1_ctrl.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Clock divider."] #[inline(always)] - #[must_use] pub fn sar1_clk_div(&mut self) -> SAR1_CLK_DIV_W { SAR1_CLK_DIV_W::new(self, 0) } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn sar1_clk_gated(&mut self) -> SAR1_CLK_GATED_W { SAR1_CLK_GATED_W::new(self, 18) } #[doc = "Bits 19:26"] #[inline(always)] - #[must_use] pub fn sar1_sample_num(&mut self) -> SAR1_SAMPLE_NUM_W { SAR1_SAMPLE_NUM_W::new(self, 19) } #[doc = "Bit 28 - Invert SAR ADC1 data."] #[inline(always)] - #[must_use] pub fn sar1_data_inv(&mut self) -> SAR1_DATA_INV_W { SAR1_DATA_INV_W::new(self, 28) } #[doc = "Bit 29 - Enable SAR ADC1 to send out interrupt."] #[inline(always)] - #[must_use] pub fn sar1_int_en(&mut self) -> SAR1_INT_EN_W { SAR1_INT_EN_W::new(self, 29) } diff --git a/esp32s2/src/sens/sar_reader2_ctrl.rs b/esp32s2/src/sens/sar_reader2_ctrl.rs index e25bcbd298..6b4cb5f245 100644 --- a/esp32s2/src/sens/sar_reader2_ctrl.rs +++ b/esp32s2/src/sens/sar_reader2_ctrl.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - clock divider"] #[inline(always)] - #[must_use] pub fn sar2_clk_div(&mut self) -> SAR2_CLK_DIV_W { SAR2_CLK_DIV_W::new(self, 0) } #[doc = "Bits 16:17 - wait arbit stable after sar_done"] #[inline(always)] - #[must_use] pub fn sar2_wait_arb_cycle(&mut self) -> SAR2_WAIT_ARB_CYCLE_W { SAR2_WAIT_ARB_CYCLE_W::new(self, 16) } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn sar2_clk_gated(&mut self) -> SAR2_CLK_GATED_W { SAR2_CLK_GATED_W::new(self, 18) } #[doc = "Bits 19:26"] #[inline(always)] - #[must_use] pub fn sar2_sample_num(&mut self) -> SAR2_SAMPLE_NUM_W { SAR2_SAMPLE_NUM_W::new(self, 19) } #[doc = "Bit 29 - Invert SAR ADC2 data"] #[inline(always)] - #[must_use] pub fn sar2_data_inv(&mut self) -> SAR2_DATA_INV_W { SAR2_DATA_INV_W::new(self, 29) } #[doc = "Bit 30 - enable saradc2 to send out interrupt"] #[inline(always)] - #[must_use] pub fn sar2_int_en(&mut self) -> SAR2_INT_EN_W { SAR2_INT_EN_W::new(self, 30) } diff --git a/esp32s2/src/sens/sar_slave_addr1.rs b/esp32s2/src/sens/sar_slave_addr1.rs index 6cf448995d..729edce572 100644 --- a/esp32s2/src/sens/sar_slave_addr1.rs +++ b/esp32s2/src/sens/sar_slave_addr1.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - RTC I2C slave address 1"] #[inline(always)] - #[must_use] pub fn i2c_slave_addr1(&mut self) -> I2C_SLAVE_ADDR1_W { I2C_SLAVE_ADDR1_W::new(self, 0) } #[doc = "Bits 11:21 - RTC I2C slave address 0"] #[inline(always)] - #[must_use] pub fn i2c_slave_addr0(&mut self) -> I2C_SLAVE_ADDR0_W { I2C_SLAVE_ADDR0_W::new(self, 11) } diff --git a/esp32s2/src/sens/sar_slave_addr2.rs b/esp32s2/src/sens/sar_slave_addr2.rs index 9696837c51..4541122a70 100644 --- a/esp32s2/src/sens/sar_slave_addr2.rs +++ b/esp32s2/src/sens/sar_slave_addr2.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - RTC I2C slave address 3"] #[inline(always)] - #[must_use] pub fn i2c_slave_addr3(&mut self) -> I2C_SLAVE_ADDR3_W { I2C_SLAVE_ADDR3_W::new(self, 0) } #[doc = "Bits 11:21 - RTC I2C slave address 2"] #[inline(always)] - #[must_use] pub fn i2c_slave_addr2(&mut self) -> I2C_SLAVE_ADDR2_W { I2C_SLAVE_ADDR2_W::new(self, 11) } diff --git a/esp32s2/src/sens/sar_slave_addr3.rs b/esp32s2/src/sens/sar_slave_addr3.rs index debe146d8b..4d68b97388 100644 --- a/esp32s2/src/sens/sar_slave_addr3.rs +++ b/esp32s2/src/sens/sar_slave_addr3.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - RTC I2C slave address 5"] #[inline(always)] - #[must_use] pub fn i2c_slave_addr5(&mut self) -> I2C_SLAVE_ADDR5_W { I2C_SLAVE_ADDR5_W::new(self, 0) } #[doc = "Bits 11:21 - RTC I2C slave address 4"] #[inline(always)] - #[must_use] pub fn i2c_slave_addr4(&mut self) -> I2C_SLAVE_ADDR4_W { I2C_SLAVE_ADDR4_W::new(self, 11) } diff --git a/esp32s2/src/sens/sar_slave_addr4.rs b/esp32s2/src/sens/sar_slave_addr4.rs index c02a2f742e..efda4d7818 100644 --- a/esp32s2/src/sens/sar_slave_addr4.rs +++ b/esp32s2/src/sens/sar_slave_addr4.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - RTC I2C slave address 7"] #[inline(always)] - #[must_use] pub fn i2c_slave_addr7(&mut self) -> I2C_SLAVE_ADDR7_W { I2C_SLAVE_ADDR7_W::new(self, 0) } #[doc = "Bits 11:21 - RTC I2C slave address 6"] #[inline(always)] - #[must_use] pub fn i2c_slave_addr6(&mut self) -> I2C_SLAVE_ADDR6_W { I2C_SLAVE_ADDR6_W::new(self, 11) } diff --git a/esp32s2/src/sens/sar_touch_chn_st.rs b/esp32s2/src/sens/sar_touch_chn_st.rs index 676a4254e5..6b4ec5fb8b 100644 --- a/esp32s2/src/sens/sar_touch_chn_st.rs +++ b/esp32s2/src/sens/sar_touch_chn_st.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 15:29 - Clear touch channel"] #[inline(always)] - #[must_use] pub fn touch_channel_clr(&mut self) -> TOUCH_CHANNEL_CLR_W { TOUCH_CHANNEL_CLR_W::new(self, 15) } diff --git a/esp32s2/src/sens/sar_touch_conf.rs b/esp32s2/src/sens/sar_touch_conf.rs index 863f4242ef..d71d73f676 100644 --- a/esp32s2/src/sens/sar_touch_conf.rs +++ b/esp32s2/src/sens/sar_touch_conf.rs @@ -82,37 +82,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:14 - Enable touch controller output."] #[inline(always)] - #[must_use] pub fn touch_outen(&mut self) -> TOUCH_OUTEN_W { TOUCH_OUTEN_W::new(self, 0) } #[doc = "Bit 15 - Clear all touch active status."] #[inline(always)] - #[must_use] pub fn touch_status_clr(&mut self) -> TOUCH_STATUS_CLR_W { TOUCH_STATUS_CLR_W::new(self, 15) } #[doc = "Bits 16:17 - 0 and 1: touch_raw_data; 2: base_line; 3: touch_smooth_data."] #[inline(always)] - #[must_use] pub fn touch_data_sel(&mut self) -> TOUCH_DATA_SEL_W { TOUCH_DATA_SEL_W::new(self, 16) } #[doc = "Bits 20:23 - Indicate which pad is selected as proximity pad2"] #[inline(always)] - #[must_use] pub fn touch_approach_pad2(&mut self) -> TOUCH_APPROACH_PAD2_W { TOUCH_APPROACH_PAD2_W::new(self, 20) } #[doc = "Bits 24:27 - Indicate which pad is selected as proximity pad1"] #[inline(always)] - #[must_use] pub fn touch_approach_pad1(&mut self) -> TOUCH_APPROACH_PAD1_W { TOUCH_APPROACH_PAD1_W::new(self, 24) } #[doc = "Bits 28:31 - Indicate which pad is selected as proximity pad0"] #[inline(always)] - #[must_use] pub fn touch_approach_pad0(&mut self) -> TOUCH_APPROACH_PAD0_W { TOUCH_APPROACH_PAD0_W::new(self, 28) } diff --git a/esp32s2/src/sens/sar_touch_thres1.rs b/esp32s2/src/sens/sar_touch_thres1.rs index e006b0ca78..4427119ba6 100644 --- a/esp32s2/src/sens/sar_touch_thres1.rs +++ b/esp32s2/src/sens/sar_touch_thres1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - Finger threshold for touch pad 1"] #[inline(always)] - #[must_use] pub fn touch_out_th1(&mut self) -> TOUCH_OUT_TH1_W { TOUCH_OUT_TH1_W::new(self, 0) } diff --git a/esp32s2/src/sens/sar_touch_thres10.rs b/esp32s2/src/sens/sar_touch_thres10.rs index 1c857c015c..397fb5ed11 100644 --- a/esp32s2/src/sens/sar_touch_thres10.rs +++ b/esp32s2/src/sens/sar_touch_thres10.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - Finger threshold for touch pad 10"] #[inline(always)] - #[must_use] pub fn touch_out_th10(&mut self) -> TOUCH_OUT_TH10_W { TOUCH_OUT_TH10_W::new(self, 0) } diff --git a/esp32s2/src/sens/sar_touch_thres11.rs b/esp32s2/src/sens/sar_touch_thres11.rs index 4ee5ef8514..b903ad8929 100644 --- a/esp32s2/src/sens/sar_touch_thres11.rs +++ b/esp32s2/src/sens/sar_touch_thres11.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - Finger threshold for touch pad 11"] #[inline(always)] - #[must_use] pub fn touch_out_th11(&mut self) -> TOUCH_OUT_TH11_W { TOUCH_OUT_TH11_W::new(self, 0) } diff --git a/esp32s2/src/sens/sar_touch_thres12.rs b/esp32s2/src/sens/sar_touch_thres12.rs index e21e833ad3..7196871edb 100644 --- a/esp32s2/src/sens/sar_touch_thres12.rs +++ b/esp32s2/src/sens/sar_touch_thres12.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - Finger threshold for touch pad 12"] #[inline(always)] - #[must_use] pub fn touch_out_th12(&mut self) -> TOUCH_OUT_TH12_W { TOUCH_OUT_TH12_W::new(self, 0) } diff --git a/esp32s2/src/sens/sar_touch_thres13.rs b/esp32s2/src/sens/sar_touch_thres13.rs index d0686c0f56..201f253fb2 100644 --- a/esp32s2/src/sens/sar_touch_thres13.rs +++ b/esp32s2/src/sens/sar_touch_thres13.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - Finger threshold for touch pad 13"] #[inline(always)] - #[must_use] pub fn touch_out_th13(&mut self) -> TOUCH_OUT_TH13_W { TOUCH_OUT_TH13_W::new(self, 0) } diff --git a/esp32s2/src/sens/sar_touch_thres14.rs b/esp32s2/src/sens/sar_touch_thres14.rs index 8e70e4daff..13dbad8390 100644 --- a/esp32s2/src/sens/sar_touch_thres14.rs +++ b/esp32s2/src/sens/sar_touch_thres14.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - Finger threshold for touch pad 14"] #[inline(always)] - #[must_use] pub fn touch_out_th14(&mut self) -> TOUCH_OUT_TH14_W { TOUCH_OUT_TH14_W::new(self, 0) } diff --git a/esp32s2/src/sens/sar_touch_thres2.rs b/esp32s2/src/sens/sar_touch_thres2.rs index 91530f800d..0a40b28abf 100644 --- a/esp32s2/src/sens/sar_touch_thres2.rs +++ b/esp32s2/src/sens/sar_touch_thres2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - Finger threshold for touch pad 2"] #[inline(always)] - #[must_use] pub fn touch_out_th2(&mut self) -> TOUCH_OUT_TH2_W { TOUCH_OUT_TH2_W::new(self, 0) } diff --git a/esp32s2/src/sens/sar_touch_thres3.rs b/esp32s2/src/sens/sar_touch_thres3.rs index 166630df0b..acc46eb1d7 100644 --- a/esp32s2/src/sens/sar_touch_thres3.rs +++ b/esp32s2/src/sens/sar_touch_thres3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - Finger threshold for touch pad 3"] #[inline(always)] - #[must_use] pub fn touch_out_th3(&mut self) -> TOUCH_OUT_TH3_W { TOUCH_OUT_TH3_W::new(self, 0) } diff --git a/esp32s2/src/sens/sar_touch_thres4.rs b/esp32s2/src/sens/sar_touch_thres4.rs index b6148d0d25..1aeede9047 100644 --- a/esp32s2/src/sens/sar_touch_thres4.rs +++ b/esp32s2/src/sens/sar_touch_thres4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - Finger threshold for touch pad 4"] #[inline(always)] - #[must_use] pub fn touch_out_th4(&mut self) -> TOUCH_OUT_TH4_W { TOUCH_OUT_TH4_W::new(self, 0) } diff --git a/esp32s2/src/sens/sar_touch_thres5.rs b/esp32s2/src/sens/sar_touch_thres5.rs index 305cab3d68..36e7a57c10 100644 --- a/esp32s2/src/sens/sar_touch_thres5.rs +++ b/esp32s2/src/sens/sar_touch_thres5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - Finger threshold for touch pad 5"] #[inline(always)] - #[must_use] pub fn touch_out_th5(&mut self) -> TOUCH_OUT_TH5_W { TOUCH_OUT_TH5_W::new(self, 0) } diff --git a/esp32s2/src/sens/sar_touch_thres6.rs b/esp32s2/src/sens/sar_touch_thres6.rs index 53dba64c29..7542ddd666 100644 --- a/esp32s2/src/sens/sar_touch_thres6.rs +++ b/esp32s2/src/sens/sar_touch_thres6.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - Finger threshold for touch pad 6"] #[inline(always)] - #[must_use] pub fn touch_out_th6(&mut self) -> TOUCH_OUT_TH6_W { TOUCH_OUT_TH6_W::new(self, 0) } diff --git a/esp32s2/src/sens/sar_touch_thres7.rs b/esp32s2/src/sens/sar_touch_thres7.rs index 269189f3ee..99bba2fffa 100644 --- a/esp32s2/src/sens/sar_touch_thres7.rs +++ b/esp32s2/src/sens/sar_touch_thres7.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - Finger threshold for touch pad 7"] #[inline(always)] - #[must_use] pub fn touch_out_th7(&mut self) -> TOUCH_OUT_TH7_W { TOUCH_OUT_TH7_W::new(self, 0) } diff --git a/esp32s2/src/sens/sar_touch_thres8.rs b/esp32s2/src/sens/sar_touch_thres8.rs index 5e27bb5d18..6359e91d52 100644 --- a/esp32s2/src/sens/sar_touch_thres8.rs +++ b/esp32s2/src/sens/sar_touch_thres8.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - Finger threshold for touch pad 8"] #[inline(always)] - #[must_use] pub fn touch_out_th8(&mut self) -> TOUCH_OUT_TH8_W { TOUCH_OUT_TH8_W::new(self, 0) } diff --git a/esp32s2/src/sens/sar_touch_thres9.rs b/esp32s2/src/sens/sar_touch_thres9.rs index 4cd3a60868..6efb65c9f0 100644 --- a/esp32s2/src/sens/sar_touch_thres9.rs +++ b/esp32s2/src/sens/sar_touch_thres9.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - Finger threshold for touch pad 9"] #[inline(always)] - #[must_use] pub fn touch_out_th9(&mut self) -> TOUCH_OUT_TH9_W { TOUCH_OUT_TH9_W::new(self, 0) } diff --git a/esp32s2/src/sens/sar_tsens_ctrl.rs b/esp32s2/src/sens/sar_tsens_ctrl.rs index cf98d0727f..a7b8c7032b 100644 --- a/esp32s2/src/sens/sar_tsens_ctrl.rs +++ b/esp32s2/src/sens/sar_tsens_ctrl.rs @@ -90,37 +90,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - Enable temperature sensor to send out interrupt."] #[inline(always)] - #[must_use] pub fn tsens_int_en(&mut self) -> TSENS_INT_EN_W { TSENS_INT_EN_W::new(self, 12) } #[doc = "Bit 13 - Invert temperature sensor data."] #[inline(always)] - #[must_use] pub fn tsens_in_inv(&mut self) -> TSENS_IN_INV_W { TSENS_IN_INV_W::new(self, 13) } #[doc = "Bits 14:21 - Temperature sensor clock divider."] #[inline(always)] - #[must_use] pub fn tsens_clk_div(&mut self) -> TSENS_CLK_DIV_W { TSENS_CLK_DIV_W::new(self, 14) } #[doc = "Bit 22 - Temperature sensor power up."] #[inline(always)] - #[must_use] pub fn tsens_power_up(&mut self) -> TSENS_POWER_UP_W { TSENS_POWER_UP_W::new(self, 22) } #[doc = "Bit 23 - 1: dump out and power up controlled by software. 0: by FSM."] #[inline(always)] - #[must_use] pub fn tsens_power_up_force(&mut self) -> TSENS_POWER_UP_FORCE_W { TSENS_POWER_UP_FORCE_W::new(self, 23) } #[doc = "Bit 24 - Temperature sensor dump out only active when SENS_TSENS_POWER_UP_FORCE = 1."] #[inline(always)] - #[must_use] pub fn tsens_dump_out(&mut self) -> TSENS_DUMP_OUT_W { TSENS_DUMP_OUT_W::new(self, 24) } diff --git a/esp32s2/src/sens/sar_tsens_ctrl2.rs b/esp32s2/src/sens/sar_tsens_ctrl2.rs index 209e517ef6..ca9ababda7 100644 --- a/esp32s2/src/sens/sar_tsens_ctrl2.rs +++ b/esp32s2/src/sens/sar_tsens_ctrl2.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11"] #[inline(always)] - #[must_use] pub fn tsens_xpd_wait(&mut self) -> TSENS_XPD_WAIT_W { TSENS_XPD_WAIT_W::new(self, 0) } #[doc = "Bits 12:13"] #[inline(always)] - #[must_use] pub fn tsens_xpd_force(&mut self) -> TSENS_XPD_FORCE_W { TSENS_XPD_FORCE_W::new(self, 12) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn tsens_clk_inv(&mut self) -> TSENS_CLK_INV_W { TSENS_CLK_INV_W::new(self, 14) } #[doc = "Bit 15 - Enable temperature sensor clock."] #[inline(always)] - #[must_use] pub fn tsens_clkgate_en(&mut self) -> TSENS_CLKGATE_EN_W { TSENS_CLKGATE_EN_W::new(self, 15) } #[doc = "Bit 16 - Reset temperature sensor."] #[inline(always)] - #[must_use] pub fn tsens_reset(&mut self) -> TSENS_RESET_W { TSENS_RESET_W::new(self, 16) } diff --git a/esp32s2/src/sens/sardate.rs b/esp32s2/src/sens/sardate.rs index a253c362ce..b4d3e5fd96 100644 --- a/esp32s2/src/sens/sardate.rs +++ b/esp32s2/src/sens/sardate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Version Control Register"] #[inline(always)] - #[must_use] pub fn sar_date(&mut self) -> SAR_DATE_W { SAR_DATE_W::new(self, 0) } diff --git a/esp32s2/src/sha/continue_.rs b/esp32s2/src/sha/continue_.rs index 38a19b9c63..63195b4673 100644 --- a/esp32s2/src/sha/continue_.rs +++ b/esp32s2/src/sha/continue_.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to continue Typical SHA calculation."] #[inline(always)] - #[must_use] pub fn continue_op(&mut self) -> CONTINUE_OP_W { CONTINUE_OP_W::new(self, 0) } diff --git a/esp32s2/src/sha/date.rs b/esp32s2/src/sha/date.rs index 0b52532e5b..43c4f138e2 100644 --- a/esp32s2/src/sha/date.rs +++ b/esp32s2/src/sha/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Version control register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s2/src/sha/dma_block_num.rs b/esp32s2/src/sha/dma_block_num.rs index 512b1d83c0..bb77762e70 100644 --- a/esp32s2/src/sha/dma_block_num.rs +++ b/esp32s2/src/sha/dma_block_num.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - Defines the DMA-SHA block number."] #[inline(always)] - #[must_use] pub fn dma_block_num(&mut self) -> DMA_BLOCK_NUM_W { DMA_BLOCK_NUM_W::new(self, 0) } diff --git a/esp32s2/src/sha/dma_continue.rs b/esp32s2/src/sha/dma_continue.rs index ae6bcfd148..7e7d5388f0 100644 --- a/esp32s2/src/sha/dma_continue.rs +++ b/esp32s2/src/sha/dma_continue.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to continue DMA-SHA calculation."] #[inline(always)] - #[must_use] pub fn dma_continue(&mut self) -> DMA_CONTINUE_W { DMA_CONTINUE_W::new(self, 0) } diff --git a/esp32s2/src/sha/dma_start.rs b/esp32s2/src/sha/dma_start.rs index b7d266a0cd..86a841fe5b 100644 --- a/esp32s2/src/sha/dma_start.rs +++ b/esp32s2/src/sha/dma_start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to start DMA-SHA calculation."] #[inline(always)] - #[must_use] pub fn dma_start(&mut self) -> DMA_START_W { DMA_START_W::new(self, 0) } diff --git a/esp32s2/src/sha/h_mem.rs b/esp32s2/src/sha/h_mem.rs index e04084b2be..c7accfb7de 100644 --- a/esp32s2/src/sha/h_mem.rs +++ b/esp32s2/src/sha/h_mem.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stores the %sth 32-bit piece of the Hash value."] #[inline(always)] - #[must_use] pub fn h(&mut self) -> H_W { H_W::new(self, 0) } diff --git a/esp32s2/src/sha/int_clear.rs b/esp32s2/src/sha/int_clear.rs index 4e110daa53..6c66e8e75f 100644 --- a/esp32s2/src/sha/int_clear.rs +++ b/esp32s2/src/sha/int_clear.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Clears DMA-SHA interrupt."] #[inline(always)] - #[must_use] pub fn clear_interrupt(&mut self) -> CLEAR_INTERRUPT_W { CLEAR_INTERRUPT_W::new(self, 0) } diff --git a/esp32s2/src/sha/int_ena.rs b/esp32s2/src/sha/int_ena.rs index 1a23d00c6a..1ec59fe12a 100644 --- a/esp32s2/src/sha/int_ena.rs +++ b/esp32s2/src/sha/int_ena.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Enables DMA-SHA interrupt."] #[inline(always)] - #[must_use] pub fn interrupt_ena(&mut self) -> INTERRUPT_ENA_W { INTERRUPT_ENA_W::new(self, 0) } diff --git a/esp32s2/src/sha/m_mem.rs b/esp32s2/src/sha/m_mem.rs index 76ef987063..edc94ecf05 100644 --- a/esp32s2/src/sha/m_mem.rs +++ b/esp32s2/src/sha/m_mem.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stores the %sth 32-bit piece of the message."] #[inline(always)] - #[must_use] pub fn m(&mut self) -> M_W { M_W::new(self, 0) } diff --git a/esp32s2/src/sha/mode.rs b/esp32s2/src/sha/mode.rs index d7f759ba91..16a4a8f1f8 100644 --- a/esp32s2/src/sha/mode.rs +++ b/esp32s2/src/sha/mode.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - Defines the SHA algorithm."] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 0) } diff --git a/esp32s2/src/sha/start.rs b/esp32s2/src/sha/start.rs index c137ae7876..257bb60116 100644 --- a/esp32s2/src/sha/start.rs +++ b/esp32s2/src/sha/start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to start Typical SHA calculation."] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 0) } diff --git a/esp32s2/src/sha/t_length.rs b/esp32s2/src/sha/t_length.rs index 57a486b5f4..451e591475 100644 --- a/esp32s2/src/sha/t_length.rs +++ b/esp32s2/src/sha/t_length.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - Defines t_length for calculating the initial Hash value for SHA-512/t."] #[inline(always)] - #[must_use] pub fn t_length(&mut self) -> T_LENGTH_W { T_LENGTH_W::new(self, 0) } diff --git a/esp32s2/src/sha/t_string.rs b/esp32s2/src/sha/t_string.rs index 65a94ae494..c7668da6e9 100644 --- a/esp32s2/src/sha/t_string.rs +++ b/esp32s2/src/sha/t_string.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Defines t_string for calculating the initial Hash value for SHA-512/t."] #[inline(always)] - #[must_use] pub fn t_string(&mut self) -> T_STRING_W { T_STRING_W::new(self, 0) } diff --git a/esp32s2/src/spi0.rs b/esp32s2/src/spi0.rs index 71429c244a..d165acb7ef 100644 --- a/esp32s2/src/spi0.rs +++ b/esp32s2/src/spi0.rs @@ -137,12 +137,12 @@ impl RegisterBlock { #[doc = "0x40 - SPI Memory Cache SCTRL Register"] #[inline(always)] pub const fn cache_sctrl(&self) -> &CACHE_SCTRL { - unsafe { &*(self as *const Self).cast::().add(64).cast() } + unsafe { &*core::ptr::from_ref(self).cast::().add(64).cast() } } #[doc = "0x40 - SPI interrupt control register"] #[inline(always)] pub const fn slv_rd_byte(&self) -> &SLV_RD_BYTE { - unsafe { &*(self as *const Self).cast::().add(64).cast() } + unsafe { &*core::ptr::from_ref(self).cast::().add(64).cast() } } #[doc = "0x44 - SPI master status and DMA read byte control register"] #[inline(always)] @@ -152,32 +152,32 @@ impl RegisterBlock { #[doc = "0x48 - SPI Memory SRAM DRD CMD Register"] #[inline(always)] pub const fn sram_drd_cmd(&self) -> &SRAM_DRD_CMD { - unsafe { &*(self as *const Self).cast::().add(72).cast() } + unsafe { &*core::ptr::from_ref(self).cast::().add(72).cast() } } #[doc = "0x48 - SPI hold register"] #[inline(always)] pub const fn hold(&self) -> &HOLD { - unsafe { &*(self as *const Self).cast::().add(72).cast() } + unsafe { &*core::ptr::from_ref(self).cast::().add(72).cast() } } #[doc = "0x4c - SPI Memory SRAM DWR CMD Register"] #[inline(always)] pub const fn sram_dwr_cmd(&self) -> &SRAM_DWR_CMD { - unsafe { &*(self as *const Self).cast::().add(76).cast() } + unsafe { &*core::ptr::from_ref(self).cast::().add(76).cast() } } #[doc = "0x4c - SPI DMA control register"] #[inline(always)] pub const fn dma_conf(&self) -> &DMA_CONF { - unsafe { &*(self as *const Self).cast::().add(76).cast() } + unsafe { &*core::ptr::from_ref(self).cast::().add(76).cast() } } #[doc = "0x50 - SPI Memory SRAM Clock Register"] #[inline(always)] pub const fn sram_clk(&self) -> &SRAM_CLK { - unsafe { &*(self as *const Self).cast::().add(80).cast() } + unsafe { &*core::ptr::from_ref(self).cast::().add(80).cast() } } #[doc = "0x50 - SPI DMA TX link configuration"] #[inline(always)] pub const fn dma_out_link(&self) -> &DMA_OUT_LINK { - unsafe { &*(self as *const Self).cast::().add(80).cast() } + unsafe { &*core::ptr::from_ref(self).cast::().add(80).cast() } } #[doc = "0x54 - SPI DMA RX link configuration"] #[inline(always)] diff --git a/esp32s2/src/spi0/addr.rs b/esp32s2/src/spi0/addr.rs index f208b0b3b2..bf8f64e738 100644 --- a/esp32s2/src/spi0/addr.rs +++ b/esp32s2/src/spi0/addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - 31:8\\]:address to slave, \\[7:0\\]:Reserved. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_addr_value(&mut self) -> USR_ADDR_VALUE_W { USR_ADDR_VALUE_W::new(self, 0) } diff --git a/esp32s2/src/spi0/cache_sctrl.rs b/esp32s2/src/spi0/cache_sctrl.rs index a960fac5ae..c83f2c2ecf 100644 --- a/esp32s2/src/spi0/cache_sctrl.rs +++ b/esp32s2/src/spi0/cache_sctrl.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - For SPI0, in the SPI SRAM mode, cache read flash with 4 bytes command. 1: enable, 0: disable."] #[inline(always)] - #[must_use] pub fn cache_usr_scmd_4byte(&mut self) -> CACHE_USR_SCMD_4BYTE_W { CACHE_USR_SCMD_4BYTE_W::new(self, 0) } #[doc = "Bit 1 - For SPI0, in the SPI SRAM mode, SPI dual I/O mode enable. 1: enable, 0: disable."] #[inline(always)] - #[must_use] pub fn usr_sram_dio(&mut self) -> USR_SRAM_DIO_W { USR_SRAM_DIO_W::new(self, 1) } #[doc = "Bit 2 - For SPI0, in the SPI SRAM mode, SPI quad I/O mode enable. 1: enable, 0: disable."] #[inline(always)] - #[must_use] pub fn usr_sram_qio(&mut self) -> USR_SRAM_QIO_W { USR_SRAM_QIO_W::new(self, 2) } #[doc = "Bit 3 - For SPI0, in the SPI SRAM mode, it is the enable bit of dummy phase for write operations."] #[inline(always)] - #[must_use] pub fn usr_wr_sram_dummy(&mut self) -> USR_WR_SRAM_DUMMY_W { USR_WR_SRAM_DUMMY_W::new(self, 3) } #[doc = "Bit 4 - For SPI0, in the SPI SRAM mode, it is the enable bit of dummy phase for read operations."] #[inline(always)] - #[must_use] pub fn usr_rd_sram_dummy(&mut self) -> USR_RD_SRAM_DUMMY_W { USR_RD_SRAM_DUMMY_W::new(self, 4) } #[doc = "Bit 5 - For SPI0, in the SPI SRAM mode, cache read SRAM for user define command."] #[inline(always)] - #[must_use] pub fn cache_sram_usr_rcmd(&mut self) -> CACHE_SRAM_USR_RCMD_W { CACHE_SRAM_USR_RCMD_W::new(self, 5) } #[doc = "Bits 6:13 - For SPI0, in the SRAM mode, it is the length in bits of read dummy phase. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn sram_rdummy_cyclelen(&mut self) -> SRAM_RDUMMY_CYCLELEN_W { SRAM_RDUMMY_CYCLELEN_W::new(self, 6) } #[doc = "Bits 14:19 - For SPI0, in the SRAM mode, it is the length in bits of address phase. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn sram_addr_bitlen(&mut self) -> SRAM_ADDR_BITLEN_W { SRAM_ADDR_BITLEN_W::new(self, 14) } #[doc = "Bit 20 - For SPI0, in the SPI SRAM mode, cache write SRAM for user define command."] #[inline(always)] - #[must_use] pub fn cache_sram_usr_wcmd(&mut self) -> CACHE_SRAM_USR_WCMD_W { CACHE_SRAM_USR_WCMD_W::new(self, 20) } #[doc = "Bit 21 - Reserved"] #[inline(always)] - #[must_use] pub fn sram_oct(&mut self) -> SRAM_OCT_W { SRAM_OCT_W::new(self, 21) } #[doc = "Bits 22:29 - For SPI0, in the SRAM mode, it is the length in bits of write dummy phase. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn sram_wdummy_cyclelen(&mut self) -> SRAM_WDUMMY_CYCLELEN_W { SRAM_WDUMMY_CYCLELEN_W::new(self, 22) } diff --git a/esp32s2/src/spi0/clock.rs b/esp32s2/src/spi0/clock.rs index cc1b80160f..d7e7729a30 100644 --- a/esp32s2/src/spi0/clock.rs +++ b/esp32s2/src/spi0/clock.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - In the master mode it must be equal to SPI_CLKCNT_N. In the slave mode it must be 0. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clkcnt_l(&mut self) -> CLKCNT_L_W { CLKCNT_L_W::new(self, 0) } #[doc = "Bits 6:11 - In the master mode it must be floor((SPI_CLKCNT_N+1)/2-1). In the slave mode it must be 0. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clkcnt_h(&mut self) -> CLKCNT_H_W { CLKCNT_H_W::new(self, 6) } #[doc = "Bits 12:17 - In the master mode it is the divider of spi_clk. So spi_clk frequency is system/(SPI_CLKDIV_PRE+1)/(SPI_CLKCNT_N+1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clkcnt_n(&mut self) -> CLKCNT_N_W { CLKCNT_N_W::new(self, 12) } #[doc = "Bits 18:30 - In the master mode it is pre-divider of spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clkdiv_pre(&mut self) -> CLKDIV_PRE_W { CLKDIV_PRE_W::new(self, 18) } #[doc = "Bit 31 - In the master mode 1: spi_clk is eqaul to system 0: spi_clk is divided from system clock. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clk_equ_sysclk(&mut self) -> CLK_EQU_SYSCLK_W { CLK_EQU_SYSCLK_W::new(self, 31) } diff --git a/esp32s2/src/spi0/cmd.rs b/esp32s2/src/spi0/cmd.rs index 4d710703df..d63fd83a48 100644 --- a/esp32s2/src/spi0/cmd.rs +++ b/esp32s2/src/spi0/cmd.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:22 - Define the spi_clk cycles of SPI_CONF state. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn conf_bitlen(&mut self) -> CONF_BITLEN_W { CONF_BITLEN_W::new(self, 0) } #[doc = "Bit 24 - User define command enable. An operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable. Can not be changed by CONF_buf."] #[inline(always)] - #[must_use] pub fn usr(&mut self) -> USR_W { USR_W::new(self, 24) } diff --git a/esp32s2/src/spi0/ctrl.rs b/esp32s2/src/spi0/ctrl.rs index 59602deccc..4041da00c7 100644 --- a/esp32s2/src/spi0/ctrl.rs +++ b/esp32s2/src/spi0/ctrl.rs @@ -174,97 +174,81 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - Set the bit to hold spi. The bit is combined with SPI_USR_PREP_HOLD,SPI_USR_CMD_HOLD,SPI_USR_ADDR_HOLD,SPI_USR_DUMMY_HOLD,SPI_USR_DIN_HOLD,SPI_USR_DOUT_HOLD and SPI_USR_HOLD_POL. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn ext_hold_en(&mut self) -> EXT_HOLD_EN_W { EXT_HOLD_EN_W::new(self, 2) } #[doc = "Bit 3 - In the dummy phase the signal level of spi is output by the spi controller. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dummy_out(&mut self) -> DUMMY_OUT_W { DUMMY_OUT_W::new(self, 3) } #[doc = "Bit 5 - Apply 2-bit mode during addr phase 1:enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn faddr_dual(&mut self) -> FADDR_DUAL_W { FADDR_DUAL_W::new(self, 5) } #[doc = "Bit 6 - Apply 4-bit mode during addr phase 1:enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn faddr_quad(&mut self) -> FADDR_QUAD_W { FADDR_QUAD_W::new(self, 6) } #[doc = "Bit 7 - Apply 8-bit mode during addr phase 1:enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn faddr_oct(&mut self) -> FADDR_OCT_W { FADDR_OCT_W::new(self, 7) } #[doc = "Bit 8 - Apply 2-bit mode during command phase 1:enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fcmd_dual(&mut self) -> FCMD_DUAL_W { FCMD_DUAL_W::new(self, 8) } #[doc = "Bit 9 - Apply 4-bit mode during command phase 1:enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fcmd_quad(&mut self) -> FCMD_QUAD_W { FCMD_QUAD_W::new(self, 9) } #[doc = "Bit 10 - Apply 8-bit mode during command phase 1:enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fcmd_oct(&mut self) -> FCMD_OCT_W { FCMD_OCT_W::new(self, 10) } #[doc = "Bit 14 - In the read operations, read-data phase is in 2-bit mode. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fread_dual(&mut self) -> FREAD_DUAL_W { FREAD_DUAL_W::new(self, 14) } #[doc = "Bit 15 - In the read operations read-data phase is in 4-bit mode. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fread_quad(&mut self) -> FREAD_QUAD_W { FREAD_QUAD_W::new(self, 15) } #[doc = "Bit 16 - In the read operations read-data phase is in 8-bit mode. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fread_oct(&mut self) -> FREAD_OCT_W { FREAD_OCT_W::new(self, 16) } #[doc = "Bit 18 - The bit is used to set MISO line polarity, 1: high 0, low. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn q_pol(&mut self) -> Q_POL_W { Q_POL_W::new(self, 18) } #[doc = "Bit 19 - The bit is used to set MOSI line polarity, 1: high 0, low. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn d_pol(&mut self) -> D_POL_W { D_POL_W::new(self, 19) } #[doc = "Bit 21 - Write protect signal output when SPI is idle. 1: output high, 0: output low. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn wp(&mut self) -> WP_W { WP_W::new(self, 21) } #[doc = "Bit 25 - In read-data (MISO) phase 1: LSB first 0: MSB first. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn rd_bit_order(&mut self) -> RD_BIT_ORDER_W { RD_BIT_ORDER_W::new(self, 25) } #[doc = "Bit 26 - In command address write-data (MOSI) phases 1: LSB firs 0: MSB first. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn wr_bit_order(&mut self) -> WR_BIT_ORDER_W { WR_BIT_ORDER_W::new(self, 26) } diff --git a/esp32s2/src/spi0/ctrl1.rs b/esp32s2/src/spi0/ctrl1.rs index ea86a849c0..260bab09f8 100644 --- a/esp32s2/src/spi0/ctrl1.rs +++ b/esp32s2/src/spi0/ctrl1.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - SPI clock mode bits. 0: SPI clock is off when CS inactive 1: SPI clock is delayed one cycle after CS inactive 2: SPI clock is delayed two cycles after CS inactive 3: SPI clock is alwasy on. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clk_mode(&mut self) -> CLK_MODE_W { CLK_MODE_W::new(self, 0) } #[doc = "Bit 2 - {CPOL, CPHA},1: support spi clk mode 1 and 3, first edge output data B\\[0\\]/B\\[7\\]. 0: support spi clk mode 0 and 2, first edge output data B\\[1\\]/B\\[6\\]."] #[inline(always)] - #[must_use] pub fn clk_mode_13(&mut self) -> CLK_MODE_13_W { CLK_MODE_13_W::new(self, 2) } #[doc = "Bit 3 - It saves half a cycle when tsck is the same as rsck. 1: output data at rsck posedge 0: output data at tsck posedge"] #[inline(always)] - #[must_use] pub fn rsck_data_out(&mut self) -> RSCK_DATA_OUT_W { RSCK_DATA_OUT_W::new(self, 3) } #[doc = "Bit 4 - 1:SPI_BUF16~SPI_BUF17 can be written 0:SPI_BUF16~SPI_BUF17 can not be written. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn w16_17_wr_ena(&mut self) -> W16_17_WR_ENA_W { W16_17_WR_ENA_W::new(self, 4) } #[doc = "Bits 14:19 - SPI cs signal is delayed by spi clock cycles. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_hold_delay(&mut self) -> CS_HOLD_DELAY_W { CS_HOLD_DELAY_W::new(self, 14) } diff --git a/esp32s2/src/spi0/ctrl2.rs b/esp32s2/src/spi0/ctrl2.rs index 48e2c3cc7b..3395941452 100644 --- a/esp32s2/src/spi0/ctrl2.rs +++ b/esp32s2/src/spi0/ctrl2.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:12 - (cycles+1) of prepare phase by spi clock this bits are combined with SPI_CS_SETUP bit. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_setup_time(&mut self) -> CS_SETUP_TIME_W { CS_SETUP_TIME_W::new(self, 0) } #[doc = "Bits 13:25 - delay cycles of cs pin by spi clock this bits are combined with SPI_CS_HOLD bit. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_hold_time(&mut self) -> CS_HOLD_TIME_W { CS_HOLD_TIME_W::new(self, 13) } #[doc = "Bits 26:28 - spi_cs signal is delayed by spi_clk . 0: zero 1: if SPI_CK_OUT_EDGE or SPI_CK_IDLE_EDGE is set 1 delayed by half cycle else delayed by one cycle 2: if SPI_CK_OUT_EDGE or SPI_CK_IDLE_EDGE is set 1 delayed by one cycle, else delayed by half cycle 3: delayed one cycle. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_delay_mode(&mut self) -> CS_DELAY_MODE_W { CS_DELAY_MODE_W::new(self, 26) } #[doc = "Bits 29:30 - spi_cs signal is delayed by system clock cycles. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_delay_num(&mut self) -> CS_DELAY_NUM_W { CS_DELAY_NUM_W::new(self, 29) } diff --git a/esp32s2/src/spi0/din_mode.rs b/esp32s2/src/spi0/din_mode.rs index 0574787dcf..ad1900d79c 100644 --- a/esp32s2/src/spi0/din_mode.rs +++ b/esp32s2/src/spi0/din_mode.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din0_mode(&mut self) -> DIN0_MODE_W { DIN0_MODE_W::new(self, 0) } #[doc = "Bits 3:5 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din1_mode(&mut self) -> DIN1_MODE_W { DIN1_MODE_W::new(self, 3) } #[doc = "Bits 6:8 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din2_mode(&mut self) -> DIN2_MODE_W { DIN2_MODE_W::new(self, 6) } #[doc = "Bits 9:11 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din3_mode(&mut self) -> DIN3_MODE_W { DIN3_MODE_W::new(self, 9) } #[doc = "Bits 12:14 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din4_mode(&mut self) -> DIN4_MODE_W { DIN4_MODE_W::new(self, 12) } #[doc = "Bits 15:17 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din5_mode(&mut self) -> DIN5_MODE_W { DIN5_MODE_W::new(self, 15) } #[doc = "Bits 18:20 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din6_mode(&mut self) -> DIN6_MODE_W { DIN6_MODE_W::new(self, 18) } #[doc = "Bits 21:23 - the input signals are delayed by system clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din7_mode(&mut self) -> DIN7_MODE_W { DIN7_MODE_W::new(self, 21) } #[doc = "Bit 24 - 1:enable hclk in spi_timing.v. 0: disable it. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn timing_clk_ena(&mut self) -> TIMING_CLK_ENA_W { TIMING_CLK_ENA_W::new(self, 24) } diff --git a/esp32s2/src/spi0/din_num.rs b/esp32s2/src/spi0/din_num.rs index 73f755e5e5..850e1c9547 100644 --- a/esp32s2/src/spi0/din_num.rs +++ b/esp32s2/src/spi0/din_num.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din0_num(&mut self) -> DIN0_NUM_W { DIN0_NUM_W::new(self, 0) } #[doc = "Bits 2:3 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din1_num(&mut self) -> DIN1_NUM_W { DIN1_NUM_W::new(self, 2) } #[doc = "Bits 4:5 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din2_num(&mut self) -> DIN2_NUM_W { DIN2_NUM_W::new(self, 4) } #[doc = "Bits 6:7 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din3_num(&mut self) -> DIN3_NUM_W { DIN3_NUM_W::new(self, 6) } #[doc = "Bits 8:9 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din4_num(&mut self) -> DIN4_NUM_W { DIN4_NUM_W::new(self, 8) } #[doc = "Bits 10:11 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din5_num(&mut self) -> DIN5_NUM_W { DIN5_NUM_W::new(self, 10) } #[doc = "Bits 12:13 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din6_num(&mut self) -> DIN6_NUM_W { DIN6_NUM_W::new(self, 12) } #[doc = "Bits 14:15 - the input signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din7_num(&mut self) -> DIN7_NUM_W { DIN7_NUM_W::new(self, 14) } diff --git a/esp32s2/src/spi0/dma_conf.rs b/esp32s2/src/spi0/dma_conf.rs index c5353e2d75..044577e19e 100644 --- a/esp32s2/src/spi0/dma_conf.rs +++ b/esp32s2/src/spi0/dma_conf.rs @@ -254,145 +254,121 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - The bit is used to reset in dma fsm and in data fifo pointer."] #[inline(always)] - #[must_use] pub fn in_rst(&mut self) -> IN_RST_W { IN_RST_W::new(self, 2) } #[doc = "Bit 3 - The bit is used to reset out dma fsm and out data fifo pointer."] #[inline(always)] - #[must_use] pub fn out_rst(&mut self) -> OUT_RST_W { OUT_RST_W::new(self, 3) } #[doc = "Bit 4 - Reset spi dma ahb master fifo pointer."] #[inline(always)] - #[must_use] pub fn ahbm_fifo_rst(&mut self) -> AHBM_FIFO_RST_W { AHBM_FIFO_RST_W::new(self, 4) } #[doc = "Bit 5 - Reset spi dma ahb master."] #[inline(always)] - #[must_use] pub fn ahbm_rst(&mut self) -> AHBM_RST_W { AHBM_RST_W::new(self, 5) } #[doc = "Bit 6 - Set bit to test in link."] #[inline(always)] - #[must_use] pub fn in_loop_test(&mut self) -> IN_LOOP_TEST_W { IN_LOOP_TEST_W::new(self, 6) } #[doc = "Bit 7 - Set bit to test out link."] #[inline(always)] - #[must_use] pub fn out_loop_test(&mut self) -> OUT_LOOP_TEST_W { OUT_LOOP_TEST_W::new(self, 7) } #[doc = "Bit 8 - when the bit is set, DMA continue to use the next inlink node when the length of inlink is 0."] #[inline(always)] - #[must_use] pub fn out_auto_wrback(&mut self) -> OUT_AUTO_WRBACK_W { OUT_AUTO_WRBACK_W::new(self, 8) } #[doc = "Bit 9 - out eof flag generation mode . 1: when dma pop all data from fifo 0:when ahb push all data to fifo."] #[inline(always)] - #[must_use] pub fn out_eof_mode(&mut self) -> OUT_EOF_MODE_W { OUT_EOF_MODE_W::new(self, 9) } #[doc = "Bit 10 - read descriptor use burst mode when read data for memory."] #[inline(always)] - #[must_use] pub fn outdscr_burst_en(&mut self) -> OUTDSCR_BURST_EN_W { OUTDSCR_BURST_EN_W::new(self, 10) } #[doc = "Bit 11 - read descriptor use burst mode when write data to memory."] #[inline(always)] - #[must_use] pub fn indscr_burst_en(&mut self) -> INDSCR_BURST_EN_W { INDSCR_BURST_EN_W::new(self, 11) } #[doc = "Bit 12 - spi dma read data from memory in burst mode."] #[inline(always)] - #[must_use] pub fn out_data_burst_en(&mut self) -> OUT_DATA_BURST_EN_W { OUT_DATA_BURST_EN_W::new(self, 12) } #[doc = "Bit 13 - 1: Internal memory data transfer enable bit. Send SPI DMA RX buffer data to SPI DMA TX buffer. 0: Disable this function."] #[inline(always)] - #[must_use] pub fn mem_trans_en(&mut self) -> MEM_TRANS_EN_W { MEM_TRANS_EN_W::new(self, 13) } #[doc = "Bit 14 - spi dma read data stop when in continue tx/rx mode."] #[inline(always)] - #[must_use] pub fn dma_rx_stop(&mut self) -> DMA_RX_STOP_W { DMA_RX_STOP_W::new(self, 14) } #[doc = "Bit 15 - spi dma write data stop when in continue tx/rx mode."] #[inline(always)] - #[must_use] pub fn dma_tx_stop(&mut self) -> DMA_TX_STOP_W { DMA_TX_STOP_W::new(self, 15) } #[doc = "Bit 16 - spi dma continue tx/rx data."] #[inline(always)] - #[must_use] pub fn dma_continue(&mut self) -> DMA_CONTINUE_W { DMA_CONTINUE_W::new(self, 16) } #[doc = "Bit 17 - 1: Clear spi_slv_seg_frt_pop_mask. 0 : others"] #[inline(always)] - #[must_use] pub fn slv_last_seg_pop_clr(&mut self) -> SLV_LAST_SEG_POP_CLR_W { SLV_LAST_SEG_POP_CLR_W::new(self, 17) } #[doc = "Bit 18 - Enable dma segment transfer in spi dma half slave mode. 1: enable. 0: disable."] #[inline(always)] - #[must_use] pub fn dma_slv_seg_trans_en(&mut self) -> DMA_SLV_SEG_TRANS_EN_W { DMA_SLV_SEG_TRANS_EN_W::new(self, 18) } #[doc = "Bit 19 - 1: spi_dma_infifo_full_vld is cleared by spi slave CMD5. 0: spi_dma_infifo_full_vld is cleared by SPI_TRANS_DONE."] #[inline(always)] - #[must_use] pub fn slv_rx_seg_trans_clr_en(&mut self) -> SLV_RX_SEG_TRANS_CLR_EN_W { SLV_RX_SEG_TRANS_CLR_EN_W::new(self, 19) } #[doc = "Bit 20 - 1: spi_dma_outfifo_empty_vld is cleared by spi slave CMD6. 0: spi_dma_outfifo_empty_vld is cleared by SPI_TRANS_DONE."] #[inline(always)] - #[must_use] pub fn slv_tx_seg_trans_clr_en(&mut self) -> SLV_TX_SEG_TRANS_CLR_EN_W { SLV_TX_SEG_TRANS_CLR_EN_W::new(self, 20) } #[doc = "Bit 21 - 1: SPI_IN_SUC_EOF_INT_RAW is set when the number of dma pushed data bytes is equal to the value of SPI_SLV_DMA_RD_BYTELEN\\[19:0\\]/ SPI_MST_DMA_RD_BYTELEN\\[19:0\\] in spi dma transition. 0: SPI_IN_SUC_EOF_INT_RAW is set by SPI_TRANS_DONE in non-seg-trans or SPI_DMA_SEG_TRANS_DONE in seg-trans."] #[inline(always)] - #[must_use] pub fn rx_eof_en(&mut self) -> RX_EOF_EN_W { RX_EOF_EN_W::new(self, 21) } #[doc = "Bit 22 - 1:Clear spi_dma_infifo_full_vld. 0: Do not control it."] #[inline(always)] - #[must_use] pub fn dma_infifo_full_clr(&mut self) -> DMA_INFIFO_FULL_CLR_W { DMA_INFIFO_FULL_CLR_W::new(self, 22) } #[doc = "Bit 23 - 1:Clear spi_dma_outfifo_empty_vld. 0: Do not control it."] #[inline(always)] - #[must_use] pub fn dma_outfifo_empty_clr(&mut self) -> DMA_OUTFIFO_EMPTY_CLR_W { DMA_OUTFIFO_EMPTY_CLR_W::new(self, 23) } #[doc = "Bits 26:27 - Select the external memory block size."] #[inline(always)] - #[must_use] pub fn ext_mem_bk_size(&mut self) -> EXT_MEM_BK_SIZE_W { EXT_MEM_BK_SIZE_W::new(self, 26) } #[doc = "Bit 28 - 1: End slave seg-trans, which acts as 0x05 command. 2 or more end seg-trans signals will induce error in DMA RX. 0: others. Will be cleared in 1 APB CLK cycles by hardware.."] #[inline(always)] - #[must_use] pub fn dma_seg_trans_clr(&mut self) -> DMA_SEG_TRANS_CLR_W { DMA_SEG_TRANS_CLR_W::new(self, 28) } diff --git a/esp32s2/src/spi0/dma_in_link.rs b/esp32s2/src/spi0/dma_in_link.rs index 1888802a67..222a59f1b8 100644 --- a/esp32s2/src/spi0/dma_in_link.rs +++ b/esp32s2/src/spi0/dma_in_link.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - The address of the first inlink descriptor."] #[inline(always)] - #[must_use] pub fn inlink_addr(&mut self) -> INLINK_ADDR_W { INLINK_ADDR_W::new(self, 0) } #[doc = "Bit 20 - when the bit is set, the inlink descriptor returns to the first link node when a packet is error."] #[inline(always)] - #[must_use] pub fn inlink_auto_ret(&mut self) -> INLINK_AUTO_RET_W { INLINK_AUTO_RET_W::new(self, 20) } #[doc = "Bit 28 - Set the bit to stop to use inlink descriptor."] #[inline(always)] - #[must_use] pub fn inlink_stop(&mut self) -> INLINK_STOP_W { INLINK_STOP_W::new(self, 28) } #[doc = "Bit 29 - Set the bit to start to use inlink descriptor."] #[inline(always)] - #[must_use] pub fn inlink_start(&mut self) -> INLINK_START_W { INLINK_START_W::new(self, 29) } #[doc = "Bit 30 - Set the bit to mount on new inlink descriptors."] #[inline(always)] - #[must_use] pub fn inlink_restart(&mut self) -> INLINK_RESTART_W { INLINK_RESTART_W::new(self, 30) } #[doc = "Bit 31 - SPI DMA read data status bit."] #[inline(always)] - #[must_use] pub fn dma_rx_ena(&mut self) -> DMA_RX_ENA_W { DMA_RX_ENA_W::new(self, 31) } diff --git a/esp32s2/src/spi0/dma_int_clr.rs b/esp32s2/src/spi0/dma_int_clr.rs index 4e3075c421..77725ce80d 100644 --- a/esp32s2/src/spi0/dma_int_clr.rs +++ b/esp32s2/src/spi0/dma_int_clr.rs @@ -174,97 +174,81 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The clear bit for lack of enough inlink descriptors. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn inlink_dscr_empty(&mut self) -> INLINK_DSCR_EMPTY_W { INLINK_DSCR_EMPTY_W::new(self, 0) } #[doc = "Bit 1 - The clear bit for outlink descriptor error. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn outlink_dscr_error(&mut self) -> OUTLINK_DSCR_ERROR_W { OUTLINK_DSCR_ERROR_W::new(self, 1) } #[doc = "Bit 2 - The clear bit for inlink descriptor error. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn inlink_dscr_error(&mut self) -> INLINK_DSCR_ERROR_W { INLINK_DSCR_ERROR_W::new(self, 2) } #[doc = "Bit 3 - The clear bit for completing usage of a inlink descriptor. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn in_done(&mut self) -> IN_DONE_W { IN_DONE_W::new(self, 3) } #[doc = "Bit 4 - The clear bit for receiving error. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn in_err_eof(&mut self) -> IN_ERR_EOF_W { IN_ERR_EOF_W::new(self, 4) } #[doc = "Bit 5 - The clear bit for completing receiving all the packets from host. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn in_suc_eof(&mut self) -> IN_SUC_EOF_W { IN_SUC_EOF_W::new(self, 5) } #[doc = "Bit 6 - The clear bit for completing usage of a outlink descriptor. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn out_done(&mut self) -> OUT_DONE_W { OUT_DONE_W::new(self, 6) } #[doc = "Bit 7 - The clear bit for sending a packet to host done. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 7) } #[doc = "Bit 8 - The clear bit for sending all the packets to host done. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn out_total_eof(&mut self) -> OUT_TOTAL_EOF_W { OUT_TOTAL_EOF_W::new(self, 8) } #[doc = "Bit 9 - 1: Clear SPI_INFIFO_FULL_ERR_INT_RAW. 0: not valid. Can be changed by CONF_buf."] #[inline(always)] - #[must_use] pub fn infifo_full_err(&mut self) -> INFIFO_FULL_ERR_W { INFIFO_FULL_ERR_W::new(self, 9) } #[doc = "Bit 10 - 1: Clear SPI_OUTFIFO_EMPTY_ERR_INT_RAW signal. 0: not valid. Can be changed by CONF_buf."] #[inline(always)] - #[must_use] pub fn outfifo_empty_err(&mut self) -> OUTFIFO_EMPTY_ERR_W { OUTFIFO_EMPTY_ERR_W::new(self, 10) } #[doc = "Bit 11 - The clear bit for SPI slave CMD6 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd6(&mut self) -> SLV_CMD6_W { SLV_CMD6_W::new(self, 11) } #[doc = "Bit 12 - The clear bit for SPI slave CMD7 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd7(&mut self) -> SLV_CMD7_W { SLV_CMD7_W::new(self, 12) } #[doc = "Bit 13 - The clear bit for SPI slave CMD8 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd8(&mut self) -> SLV_CMD8_W { SLV_CMD8_W::new(self, 13) } #[doc = "Bit 14 - The clear bit for SPI slave CMD9 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd9(&mut self) -> SLV_CMD9_W { SLV_CMD9_W::new(self, 14) } #[doc = "Bit 15 - The clear bit for SPI slave CMDA interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmda(&mut self) -> SLV_CMDA_W { SLV_CMDA_W::new(self, 15) } diff --git a/esp32s2/src/spi0/dma_int_ena.rs b/esp32s2/src/spi0/dma_int_ena.rs index 409e5e6a9e..1b461ac569 100644 --- a/esp32s2/src/spi0/dma_int_ena.rs +++ b/esp32s2/src/spi0/dma_int_ena.rs @@ -174,97 +174,81 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The enable bit for lack of enough inlink descriptors. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn inlink_dscr_empty(&mut self) -> INLINK_DSCR_EMPTY_W { INLINK_DSCR_EMPTY_W::new(self, 0) } #[doc = "Bit 1 - The enable bit for outlink descriptor error. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn outlink_dscr_error(&mut self) -> OUTLINK_DSCR_ERROR_W { OUTLINK_DSCR_ERROR_W::new(self, 1) } #[doc = "Bit 2 - The enable bit for inlink descriptor error. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn inlink_dscr_error(&mut self) -> INLINK_DSCR_ERROR_W { INLINK_DSCR_ERROR_W::new(self, 2) } #[doc = "Bit 3 - The enable bit for completing usage of a inlink descriptor. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn in_done(&mut self) -> IN_DONE_W { IN_DONE_W::new(self, 3) } #[doc = "Bit 4 - The enable bit for receiving error. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn in_err_eof(&mut self) -> IN_ERR_EOF_W { IN_ERR_EOF_W::new(self, 4) } #[doc = "Bit 5 - The enable bit for completing receiving all the packets from host. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn in_suc_eof(&mut self) -> IN_SUC_EOF_W { IN_SUC_EOF_W::new(self, 5) } #[doc = "Bit 6 - The enable bit for completing usage of a outlink descriptor . Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn out_done(&mut self) -> OUT_DONE_W { OUT_DONE_W::new(self, 6) } #[doc = "Bit 7 - The enable bit for sending a packet to host done. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 7) } #[doc = "Bit 8 - The enable bit for sending all the packets to host done. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn out_total_eof(&mut self) -> OUT_TOTAL_EOF_W { OUT_TOTAL_EOF_W::new(self, 8) } #[doc = "Bit 9 - The enable bit for infifo full error interrupt."] #[inline(always)] - #[must_use] pub fn infifo_full_err(&mut self) -> INFIFO_FULL_ERR_W { INFIFO_FULL_ERR_W::new(self, 9) } #[doc = "Bit 10 - The enable bit for outfifo empty error interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_empty_err(&mut self) -> OUTFIFO_EMPTY_ERR_W { OUTFIFO_EMPTY_ERR_W::new(self, 10) } #[doc = "Bit 11 - The enable bit for SPI slave CMD6 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd6(&mut self) -> SLV_CMD6_W { SLV_CMD6_W::new(self, 11) } #[doc = "Bit 12 - The enable bit for SPI slave CMD7 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd7(&mut self) -> SLV_CMD7_W { SLV_CMD7_W::new(self, 12) } #[doc = "Bit 13 - The enable bit for SPI slave CMD8 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd8(&mut self) -> SLV_CMD8_W { SLV_CMD8_W::new(self, 13) } #[doc = "Bit 14 - The enable bit for SPI slave CMD9 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd9(&mut self) -> SLV_CMD9_W { SLV_CMD9_W::new(self, 14) } #[doc = "Bit 15 - The enable bit for SPI slave CMDA interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmda(&mut self) -> SLV_CMDA_W { SLV_CMDA_W::new(self, 15) } diff --git a/esp32s2/src/spi0/dma_int_raw.rs b/esp32s2/src/spi0/dma_int_raw.rs index 1263bb44a7..1e1a75a70e 100644 --- a/esp32s2/src/spi0/dma_int_raw.rs +++ b/esp32s2/src/spi0/dma_int_raw.rs @@ -152,31 +152,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 11 - The raw bit for SPI slave CMD6 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd6(&mut self) -> SLV_CMD6_W { SLV_CMD6_W::new(self, 11) } #[doc = "Bit 12 - The raw bit for SPI slave CMD7 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd7(&mut self) -> SLV_CMD7_W { SLV_CMD7_W::new(self, 12) } #[doc = "Bit 13 - The raw bit for SPI slave CMD8 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd8(&mut self) -> SLV_CMD8_W { SLV_CMD8_W::new(self, 13) } #[doc = "Bit 14 - The raw bit for SPI slave CMD9 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd9(&mut self) -> SLV_CMD9_W { SLV_CMD9_W::new(self, 14) } #[doc = "Bit 15 - The raw bit for SPI slave CMDA interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmda(&mut self) -> SLV_CMDA_W { SLV_CMDA_W::new(self, 15) } diff --git a/esp32s2/src/spi0/dma_int_st.rs b/esp32s2/src/spi0/dma_int_st.rs index 045ef157e2..29a069cd1e 100644 --- a/esp32s2/src/spi0/dma_int_st.rs +++ b/esp32s2/src/spi0/dma_int_st.rs @@ -152,31 +152,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 11 - The status bit for SPI slave CMD6 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd6(&mut self) -> SLV_CMD6_W { SLV_CMD6_W::new(self, 11) } #[doc = "Bit 12 - The status bit for SPI slave CMD7 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd7(&mut self) -> SLV_CMD7_W { SLV_CMD7_W::new(self, 12) } #[doc = "Bit 13 - The status bit for SPI slave CMD8 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd8(&mut self) -> SLV_CMD8_W { SLV_CMD8_W::new(self, 13) } #[doc = "Bit 14 - The status bit for SPI slave CMD9 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd9(&mut self) -> SLV_CMD9_W { SLV_CMD9_W::new(self, 14) } #[doc = "Bit 15 - The status bit for SPI slave CMDA interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmda(&mut self) -> SLV_CMDA_W { SLV_CMDA_W::new(self, 15) } diff --git a/esp32s2/src/spi0/dma_out_link.rs b/esp32s2/src/spi0/dma_out_link.rs index dd76ae637f..0e9175a27b 100644 --- a/esp32s2/src/spi0/dma_out_link.rs +++ b/esp32s2/src/spi0/dma_out_link.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - The address of the first outlink descriptor."] #[inline(always)] - #[must_use] pub fn outlink_addr(&mut self) -> OUTLINK_ADDR_W { OUTLINK_ADDR_W::new(self, 0) } #[doc = "Bit 28 - Set the bit to stop to use outlink descriptor."] #[inline(always)] - #[must_use] pub fn outlink_stop(&mut self) -> OUTLINK_STOP_W { OUTLINK_STOP_W::new(self, 28) } #[doc = "Bit 29 - Set the bit to start to use outlink descriptor."] #[inline(always)] - #[must_use] pub fn outlink_start(&mut self) -> OUTLINK_START_W { OUTLINK_START_W::new(self, 29) } #[doc = "Bit 30 - Set the bit to mount on new outlink descriptors."] #[inline(always)] - #[must_use] pub fn outlink_restart(&mut self) -> OUTLINK_RESTART_W { OUTLINK_RESTART_W::new(self, 30) } #[doc = "Bit 31 - spi dma write data status bit."] #[inline(always)] - #[must_use] pub fn dma_tx_ena(&mut self) -> DMA_TX_ENA_W { DMA_TX_ENA_W::new(self, 31) } diff --git a/esp32s2/src/spi0/dout_mode.rs b/esp32s2/src/spi0/dout_mode.rs index 5463ed1711..5be51c3191 100644 --- a/esp32s2/src/spi0/dout_mode.rs +++ b/esp32s2/src/spi0/dout_mode.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout0_mode(&mut self) -> DOUT0_MODE_W { DOUT0_MODE_W::new(self, 0) } #[doc = "Bits 3:5 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout1_mode(&mut self) -> DOUT1_MODE_W { DOUT1_MODE_W::new(self, 3) } #[doc = "Bits 6:8 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout2_mode(&mut self) -> DOUT2_MODE_W { DOUT2_MODE_W::new(self, 6) } #[doc = "Bits 9:11 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout3_mode(&mut self) -> DOUT3_MODE_W { DOUT3_MODE_W::new(self, 9) } #[doc = "Bits 12:14 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout4_mode(&mut self) -> DOUT4_MODE_W { DOUT4_MODE_W::new(self, 12) } #[doc = "Bits 15:17 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout5_mode(&mut self) -> DOUT5_MODE_W { DOUT5_MODE_W::new(self, 15) } #[doc = "Bits 18:20 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout6_mode(&mut self) -> DOUT6_MODE_W { DOUT6_MODE_W::new(self, 18) } #[doc = "Bits 21:23 - the output signals are delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout7_mode(&mut self) -> DOUT7_MODE_W { DOUT7_MODE_W::new(self, 21) } diff --git a/esp32s2/src/spi0/dout_num.rs b/esp32s2/src/spi0/dout_num.rs index 979cafdbb5..0dcc81bf59 100644 --- a/esp32s2/src/spi0/dout_num.rs +++ b/esp32s2/src/spi0/dout_num.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - the output signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout0_num(&mut self) -> DOUT0_NUM_W { DOUT0_NUM_W::new(self, 0) } #[doc = "Bits 2:3 - the output signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout1_num(&mut self) -> DOUT1_NUM_W { DOUT1_NUM_W::new(self, 2) } #[doc = "Bits 4:5 - the output signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout2_num(&mut self) -> DOUT2_NUM_W { DOUT2_NUM_W::new(self, 4) } #[doc = "Bits 6:7 - the output signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout3_num(&mut self) -> DOUT3_NUM_W { DOUT3_NUM_W::new(self, 6) } #[doc = "Bits 8:9 - the output signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout4_num(&mut self) -> DOUT4_NUM_W { DOUT4_NUM_W::new(self, 8) } #[doc = "Bits 10:11 - the output signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout5_num(&mut self) -> DOUT5_NUM_W { DOUT5_NUM_W::new(self, 10) } #[doc = "Bits 12:13 - the output signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout6_num(&mut self) -> DOUT6_NUM_W { DOUT6_NUM_W::new(self, 12) } #[doc = "Bits 14:15 - the output signals are delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout7_num(&mut self) -> DOUT7_NUM_W { DOUT7_NUM_W::new(self, 14) } diff --git a/esp32s2/src/spi0/fsm.rs b/esp32s2/src/spi0/fsm.rs index 5c6e3b31f4..253447e480 100644 --- a/esp32s2/src/spi0/fsm.rs +++ b/esp32s2/src/spi0/fsm.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 12:31 - Define the master DMA read byte length in non seg-conf-trans or seg-conf-trans mode. Invalid when SPI_RX_EOF_EN is 0. Can be configured in CONF state.."] #[inline(always)] - #[must_use] pub fn mst_dma_rd_bytelen(&mut self) -> MST_DMA_RD_BYTELEN_W { MST_DMA_RD_BYTELEN_W::new(self, 12) } diff --git a/esp32s2/src/spi0/hold.rs b/esp32s2/src/spi0/hold.rs index 0c8991980e..9002f0b570 100644 --- a/esp32s2/src/spi0/hold.rs +++ b/esp32s2/src/spi0/hold.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - This register is for two SPI masters to share the same cs clock and data signals. The bits of one SPI are set, if the other SPI is busy, the SPI will be hold. 1(3): hold at idle phase 2: hold at prepare phase. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn int_hold_ena(&mut self) -> INT_HOLD_ENA_W { INT_HOLD_ENA_W::new(self, 0) } #[doc = "Bit 2 - spi hold output value, which should be used with SPI_HOLD_OUT_EN. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn val(&mut self) -> VAL_W { VAL_W::new(self, 2) } #[doc = "Bit 3 - Enable set spi output hold value to spi_hold_reg. It can be used to hold spi state machine with SPI_EXT_HOLD_EN and other usr hold signals. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn out_en(&mut self) -> OUT_EN_W { OUT_EN_W::new(self, 3) } #[doc = "Bits 4:6 - set the hold cycles of output spi_hold signal when SPI_HOLD_OUT_EN is enable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn out_time(&mut self) -> OUT_TIME_W { OUT_TIME_W::new(self, 4) } #[doc = "Bit 7 - 1: spi master DMA full-duplex/half-duplex seg-trans ends or slave half-duplex seg-trans ends. And data has been pushed to corresponding memory. 0: seg-trans is not ended or not occurred. Can not be changed by CONF_buf."] #[inline(always)] - #[must_use] pub fn dma_seg_trans_done(&mut self) -> DMA_SEG_TRANS_DONE_W { DMA_SEG_TRANS_DONE_W::new(self, 7) } diff --git a/esp32s2/src/spi0/lcd_ctrl.rs b/esp32s2/src/spi0/lcd_ctrl.rs index 9492ea87b5..714e06e5e1 100644 --- a/esp32s2/src/spi0/lcd_ctrl.rs +++ b/esp32s2/src/spi0/lcd_ctrl.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - It is the horizontal blank front porch of a frame. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn lcd_hb_front(&mut self) -> LCD_HB_FRONT_W { LCD_HB_FRONT_W::new(self, 0) } #[doc = "Bits 11:20 - It is the vertical active height of a frame. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn lcd_va_height(&mut self) -> LCD_VA_HEIGHT_W { LCD_VA_HEIGHT_W::new(self, 11) } #[doc = "Bits 21:30 - It is the vertical total height of a frame. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn lcd_vt_height(&mut self) -> LCD_VT_HEIGHT_W { LCD_VT_HEIGHT_W::new(self, 21) } #[doc = "Bit 31 - 1: Enable LCD mode output vsync, hsync, de. 0: Disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn lcd_mode_en(&mut self) -> LCD_MODE_EN_W { LCD_MODE_EN_W::new(self, 31) } diff --git a/esp32s2/src/spi0/lcd_ctrl1.rs b/esp32s2/src/spi0/lcd_ctrl1.rs index 13b0383cda..9feb544da1 100644 --- a/esp32s2/src/spi0/lcd_ctrl1.rs +++ b/esp32s2/src/spi0/lcd_ctrl1.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - It is the vertical blank front porch of a frame. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn lcd_vb_front(&mut self) -> LCD_VB_FRONT_W { LCD_VB_FRONT_W::new(self, 0) } #[doc = "Bits 8:19 - It is the horizontal active width of a frame. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn lcd_ha_width(&mut self) -> LCD_HA_WIDTH_W { LCD_HA_WIDTH_W::new(self, 8) } #[doc = "Bits 20:31 - It is the horizontal total width of a frame. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn lcd_ht_width(&mut self) -> LCD_HT_WIDTH_W { LCD_HT_WIDTH_W::new(self, 20) } diff --git a/esp32s2/src/spi0/lcd_ctrl2.rs b/esp32s2/src/spi0/lcd_ctrl2.rs index 3db3d73da2..5a3556f283 100644 --- a/esp32s2/src/spi0/lcd_ctrl2.rs +++ b/esp32s2/src/spi0/lcd_ctrl2.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - It is the position of spi_vsync active pulse in a line. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn lcd_vsync_width(&mut self) -> LCD_VSYNC_WIDTH_W { LCD_VSYNC_WIDTH_W::new(self, 0) } #[doc = "Bit 7 - It is the idle value of spi_vsync. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn vsync_idle_pol(&mut self) -> VSYNC_IDLE_POL_W { VSYNC_IDLE_POL_W::new(self, 7) } #[doc = "Bits 16:22 - It is the position of spi_hsync active pulse in a line. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn lcd_hsync_width(&mut self) -> LCD_HSYNC_WIDTH_W { LCD_HSYNC_WIDTH_W::new(self, 16) } #[doc = "Bit 23 - It is the idle value of spi_hsync. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn hsync_idle_pol(&mut self) -> HSYNC_IDLE_POL_W { HSYNC_IDLE_POL_W::new(self, 23) } #[doc = "Bits 24:31 - It is the position of spi_hsync active pulse in a line. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn lcd_hsync_position(&mut self) -> LCD_HSYNC_POSITION_W { LCD_HSYNC_POSITION_W::new(self, 24) } diff --git a/esp32s2/src/spi0/lcd_d_mode.rs b/esp32s2/src/spi0/lcd_d_mode.rs index 026553b460..203fce5e16 100644 --- a/esp32s2/src/spi0/lcd_d_mode.rs +++ b/esp32s2/src/spi0/lcd_d_mode.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - the output spi_dqs is delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn d_dqs_mode(&mut self) -> D_DQS_MODE_W { D_DQS_MODE_W::new(self, 0) } #[doc = "Bits 3:5 - the output spi_cd is delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn d_cd_mode(&mut self) -> D_CD_MODE_W { D_CD_MODE_W::new(self, 3) } #[doc = "Bits 6:8 - the output spi_de is delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn d_de_mode(&mut self) -> D_DE_MODE_W { D_DE_MODE_W::new(self, 6) } #[doc = "Bits 9:11 - the output spi_hsync is delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn d_hsync_mode(&mut self) -> D_HSYNC_MODE_W { D_HSYNC_MODE_W::new(self, 9) } #[doc = "Bits 12:14 - the output spi_vsync is delayed by system clock cycles, 0: output without delayed, 1: output with the posedge of clk_apb,2 output with the negedge of clk_apb, 3: output with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn d_vsync_mode(&mut self) -> D_VSYNC_MODE_W { D_VSYNC_MODE_W::new(self, 12) } #[doc = "Bit 15 - It is the idle value of spi_de."] #[inline(always)] - #[must_use] pub fn de_idle_pol(&mut self) -> DE_IDLE_POL_W { DE_IDLE_POL_W::new(self, 15) } #[doc = "Bit 16 - 1: The pulse of spi_hsync is out in vertical blanking lines in seg-trans or one trans. 0: spi_hsync pulse is valid only in active region lines in seg-trans."] #[inline(always)] - #[must_use] pub fn hs_blank_en(&mut self) -> HS_BLANK_EN_W { HS_BLANK_EN_W::new(self, 16) } diff --git a/esp32s2/src/spi0/lcd_d_num.rs b/esp32s2/src/spi0/lcd_d_num.rs index a8dc81abe3..3e198285cc 100644 --- a/esp32s2/src/spi0/lcd_d_num.rs +++ b/esp32s2/src/spi0/lcd_d_num.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - the output spi_dqs is delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn d_dqs_num(&mut self) -> D_DQS_NUM_W { D_DQS_NUM_W::new(self, 0) } #[doc = "Bits 2:3 - the output spi_cd is delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn d_cd_num(&mut self) -> D_CD_NUM_W { D_CD_NUM_W::new(self, 2) } #[doc = "Bits 4:5 - the output spi_de is delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn d_de_num(&mut self) -> D_DE_NUM_W { D_DE_NUM_W::new(self, 4) } #[doc = "Bits 6:7 - the output spi_hsync is delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn d_hsync_num(&mut self) -> D_HSYNC_NUM_W { D_HSYNC_NUM_W::new(self, 6) } #[doc = "Bits 8:9 - the output spi_vsync is delayed by system clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn d_vsync_num(&mut self) -> D_VSYNC_NUM_W { D_VSYNC_NUM_W::new(self, 8) } diff --git a/esp32s2/src/spi0/misc.rs b/esp32s2/src/spi0/misc.rs index 3de8b88df3..0af28988f3 100644 --- a/esp32s2/src/spi0/misc.rs +++ b/esp32s2/src/spi0/misc.rs @@ -231,7 +231,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CS0_DIS` field.
"] #[inline(always)] - #[must_use] pub fn cs_dis(&mut self, n: u8) -> CS_DIS_W { #[allow(clippy::no_effect)] [(); 6][n as usize]; @@ -239,133 +238,111 @@ impl W { } #[doc = "Bit 0 - Set this bit to raise high SPI_CS0 pin, which means that the SPI device(Ext_RAM(0)/flash(1)) connected to SPI_CS0 is in low level when SPI1 transfer starts"] #[inline(always)] - #[must_use] pub fn cs0_dis(&mut self) -> CS_DIS_W { CS_DIS_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to raise high SPI_CS1 pin, which means that the SPI device(Ext_RAM(0)/flash(1)) connected to SPI_CS1 is in low level when SPI1 transfer starts"] #[inline(always)] - #[must_use] pub fn cs1_dis(&mut self) -> CS_DIS_W { CS_DIS_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to raise high SPI_CS2 pin, which means that the SPI device(Ext_RAM(0)/flash(1)) connected to SPI_CS2 is in low level when SPI1 transfer starts"] #[inline(always)] - #[must_use] pub fn cs2_dis(&mut self) -> CS_DIS_W { CS_DIS_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to raise high SPI_CS3 pin, which means that the SPI device(Ext_RAM(0)/flash(1)) connected to SPI_CS3 is in low level when SPI1 transfer starts"] #[inline(always)] - #[must_use] pub fn cs3_dis(&mut self) -> CS_DIS_W { CS_DIS_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to raise high SPI_CS4 pin, which means that the SPI device(Ext_RAM(0)/flash(1)) connected to SPI_CS4 is in low level when SPI1 transfer starts"] #[inline(always)] - #[must_use] pub fn cs4_dis(&mut self) -> CS_DIS_W { CS_DIS_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to raise high SPI_CS5 pin, which means that the SPI device(Ext_RAM(0)/flash(1)) connected to SPI_CS5 is in low level when SPI1 transfer starts"] #[inline(always)] - #[must_use] pub fn cs5_dis(&mut self) -> CS_DIS_W { CS_DIS_W::new(self, 5) } #[doc = "Bit 6 - 1: spi clk out disable, 0: spi clk out enable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn ck_dis(&mut self) -> CK_DIS_W { CK_DIS_W::new(self, 6) } #[doc = "Bits 7:12 - In the master mode the bits are the polarity of spi cs line, the value is equivalent to spi_cs ^ SPI_MASTER_CS_POL. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn master_cs_pol(&mut self) -> MASTER_CS_POL_W { MASTER_CS_POL_W::new(self, 7) } #[doc = "Bit 16 - 1: SPI master DTR mode is applied to SPI clk, data and spi_dqs. 0: SPI master DTR mode is only applied to spi_dqs. This bit should be used with bit 17/18/19."] #[inline(always)] - #[must_use] pub fn clk_data_dtr_en(&mut self) -> CLK_DATA_DTR_EN_W { CLK_DATA_DTR_EN_W::new(self, 16) } #[doc = "Bit 17 - 1: SPI clk and data of SPI_DOUT and SPI_DIN state are in DTR mode, including master 1/2/4/8-bm. 0: SPI clk and data of SPI_DOUT and SPI_DIN state are in STR mode. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn data_dtr_en(&mut self) -> DATA_DTR_EN_W { DATA_DTR_EN_W::new(self, 17) } #[doc = "Bit 18 - 1: SPI clk and data of SPI_SEND_ADDR state are in DTR mode, including master 1/2/4/8-bm. 0: SPI clk and data of SPI_SEND_ADDR state are in STR mode. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn addr_dtr_en(&mut self) -> ADDR_DTR_EN_W { ADDR_DTR_EN_W::new(self, 18) } #[doc = "Bit 19 - 1: SPI clk and data of SPI_SEND_CMD state are in DTR mode, including master 1/2/4/8-bm. 0: SPI clk and data of SPI_SEND_CMD state are in STR mode. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cmd_dtr_en(&mut self) -> CMD_DTR_EN_W { CMD_DTR_EN_W::new(self, 19) } #[doc = "Bit 20 - 1: spi_cd = !SPI_CD_IDLE_EDGE when SPI_ST\\[3:0\\] is in SPI_DOUT or SPI_DIN state. 0: spi_cd = SPI_CD_IDLE_EDGE. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cd_data_set(&mut self) -> CD_DATA_SET_W { CD_DATA_SET_W::new(self, 20) } #[doc = "Bit 21 - 1: spi_cd = !SPI_CD_IDLE_EDGE when SPI_ST\\[3:0\\] is in SPI_DUMMY state. 0: spi_cd = SPI_CD_IDLE_EDGE. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cd_dummy_set(&mut self) -> CD_DUMMY_SET_W { CD_DUMMY_SET_W::new(self, 21) } #[doc = "Bit 22 - 1: spi_cd = !SPI_CD_IDLE_EDGE when SPI_ST\\[3:0\\] is in SPI_SEND_ADDR state. 0: spi_cd = SPI_CD_IDLE_EDGE. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cd_addr_set(&mut self) -> CD_ADDR_SET_W { CD_ADDR_SET_W::new(self, 22) } #[doc = "Bit 23 - spi slave input cs polarity select. 1: inv 0: not change. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn slave_cs_pol(&mut self) -> SLAVE_CS_POL_W { SLAVE_CS_POL_W::new(self, 23) } #[doc = "Bit 24 - The default value of spi_dqs. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dqs_idle_edge(&mut self) -> DQS_IDLE_EDGE_W { DQS_IDLE_EDGE_W::new(self, 24) } #[doc = "Bit 25 - 1: spi_cd = !SPI_CD_IDLE_EDGE when SPI_ST\\[3:0\\] is in SPI_SEND_CMD state. 0: spi_cd = SPI_CD_IDLE_EDGE. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cd_cmd_set(&mut self) -> CD_CMD_SET_W { CD_CMD_SET_W::new(self, 25) } #[doc = "Bit 26 - The default value of spi_cd. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cd_idle_edge(&mut self) -> CD_IDLE_EDGE_W { CD_IDLE_EDGE_W::new(self, 26) } #[doc = "Bit 29 - 1: spi clk line is high when idle 0: spi clk line is low when idle. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn ck_idle_edge(&mut self) -> CK_IDLE_EDGE_W { CK_IDLE_EDGE_W::new(self, 29) } #[doc = "Bit 30 - spi cs line keep low when the bit is set. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_keep_active(&mut self) -> CS_KEEP_ACTIVE_W { CS_KEEP_ACTIVE_W::new(self, 30) } #[doc = "Bit 31 - 1: spi quad input swap enable 0: spi quad input swap disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn quad_din_pin_swap(&mut self) -> QUAD_DIN_PIN_SWAP_W { QUAD_DIN_PIN_SWAP_W::new(self, 31) } diff --git a/esp32s2/src/spi0/miso_dlen.rs b/esp32s2/src/spi0/miso_dlen.rs index 7a8c442a5b..3f64c490af 100644 --- a/esp32s2/src/spi0/miso_dlen.rs +++ b/esp32s2/src/spi0/miso_dlen.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:22 - The length in bits of read-data. The register value shall be (bit_num-1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_miso_dbitlen(&mut self) -> USR_MISO_DBITLEN_W { USR_MISO_DBITLEN_W::new(self, 0) } diff --git a/esp32s2/src/spi0/mosi_dlen.rs b/esp32s2/src/spi0/mosi_dlen.rs index ec732b933d..64cb0299dc 100644 --- a/esp32s2/src/spi0/mosi_dlen.rs +++ b/esp32s2/src/spi0/mosi_dlen.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:22 - The length in bits of write-data. The register value shall be (bit_num-1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_mosi_dbitlen(&mut self) -> USR_MOSI_DBITLEN_W { USR_MOSI_DBITLEN_W::new(self, 0) } diff --git a/esp32s2/src/spi0/reg_date.rs b/esp32s2/src/spi0/reg_date.rs index 50d621da34..237ea35dcf 100644 --- a/esp32s2/src/spi0/reg_date.rs +++ b/esp32s2/src/spi0/reg_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - SPI register version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s2/src/spi0/slave.rs b/esp32s2/src/spi0/slave.rs index c59ca1f86c..47ac615ab7 100644 --- a/esp32s2/src/spi0/slave.rs +++ b/esp32s2/src/spi0/slave.rs @@ -132,67 +132,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 4 - The interrupt raw bit for the completion of any operation in both the master mode and the slave mode. Can not be changed by CONF_buf."] #[inline(always)] - #[must_use] pub fn trans_done(&mut self) -> TRANS_DONE_W { TRANS_DONE_W::new(self, 4) } #[doc = "Bit 5 - SPI_SLV_RD_BUF_DONE Interrupt enable. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn int_rd_buf_done_en(&mut self) -> INT_RD_BUF_DONE_EN_W { INT_RD_BUF_DONE_EN_W::new(self, 5) } #[doc = "Bit 6 - SPI_SLV_WR_BUF_DONE Interrupt enable. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn int_wr_buf_done_en(&mut self) -> INT_WR_BUF_DONE_EN_W { INT_WR_BUF_DONE_EN_W::new(self, 6) } #[doc = "Bit 7 - SPI_SLV_RD_DMA_DONE Interrupt enable. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn int_rd_dma_done_en(&mut self) -> INT_RD_DMA_DONE_EN_W { INT_RD_DMA_DONE_EN_W::new(self, 7) } #[doc = "Bit 8 - SPI_SLV_WR_DMA_DONE Interrupt enable. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn int_wr_dma_done_en(&mut self) -> INT_WR_DMA_DONE_EN_W { INT_WR_DMA_DONE_EN_W::new(self, 8) } #[doc = "Bit 9 - SPI_TRANS_DONE Interrupt enable. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn int_trans_done_en(&mut self) -> INT_TRANS_DONE_EN_W { INT_TRANS_DONE_EN_W::new(self, 9) } #[doc = "Bit 10 - SPI_DMA_SEG_TRANS_DONE Interrupt enable. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn int_dma_seg_trans_en(&mut self) -> INT_DMA_SEG_TRANS_EN_W { INT_DMA_SEG_TRANS_EN_W::new(self, 10) } #[doc = "Bit 11 - 1: Enable seg magic value error interrupt. 0: Others. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn seg_magic_err_int_en(&mut self) -> SEG_MAGIC_ERR_INT_EN_W { SEG_MAGIC_ERR_INT_EN_W::new(self, 11) } #[doc = "Bit 29 - SPI_TRANS_DONE auto clear enable, clear it 3 apb cycles after the pos edge of SPI_TRANS_DONE. 0:disable. 1: enable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn trans_done_auto_clr_en(&mut self) -> TRANS_DONE_AUTO_CLR_EN_W { TRANS_DONE_AUTO_CLR_EN_W::new(self, 29) } #[doc = "Bit 30 - Set SPI work mode. 1: slave mode 0: master mode."] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 30) } #[doc = "Bit 31 - Software reset enable, reset the spi clock line cs line and data lines. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn soft_reset(&mut self) -> SOFT_RESET_W { SOFT_RESET_W::new(self, 31) } diff --git a/esp32s2/src/spi0/slave1.rs b/esp32s2/src/spi0/slave1.rs index 5341be31e4..9b1d371e88 100644 --- a/esp32s2/src/spi0/slave1.rs +++ b/esp32s2/src/spi0/slave1.rs @@ -90,37 +90,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 10 - 1: Clear SPI_SLV_ADDR_ERR. 0: not valid. Can be changed by CONF_buf."] #[inline(always)] - #[must_use] pub fn slv_addr_err_clr(&mut self) -> SLV_ADDR_ERR_CLR_W { SLV_ADDR_ERR_CLR_W::new(self, 10) } #[doc = "Bit 11 - 1: Clear SPI_SLV_CMD_ERR. 0: not valid. Can be changed by CONF_buf."] #[inline(always)] - #[must_use] pub fn slv_cmd_err_clr(&mut self) -> SLV_CMD_ERR_CLR_W { SLV_CMD_ERR_CLR_W::new(self, 11) } #[doc = "Bit 12 - 1: spi slave QPI mode is not supported. 0: spi slave QPI mode is supported."] #[inline(always)] - #[must_use] pub fn slv_no_qpi_en(&mut self) -> SLV_NO_QPI_EN_W { SLV_NO_QPI_EN_W::new(self, 12) } #[doc = "Bit 15 - The interrupt raw bit for the completion of dma write operation in the slave mode. Can not be changed by CONF_buf."] #[inline(always)] - #[must_use] pub fn slv_wr_dma_done(&mut self) -> SLV_WR_DMA_DONE_W { SLV_WR_DMA_DONE_W::new(self, 15) } #[doc = "Bits 16:23 - In the slave mode it is the value of command."] #[inline(always)] - #[must_use] pub fn slv_last_command(&mut self) -> SLV_LAST_COMMAND_W { SLV_LAST_COMMAND_W::new(self, 16) } #[doc = "Bits 24:31 - In the slave mode it is the value of address."] #[inline(always)] - #[must_use] pub fn slv_last_addr(&mut self) -> SLV_LAST_ADDR_W { SLV_LAST_ADDR_W::new(self, 24) } diff --git a/esp32s2/src/spi0/slv_rd_byte.rs b/esp32s2/src/spi0/slv_rd_byte.rs index b048d5708d..ab5d79aff6 100644 --- a/esp32s2/src/spi0/slv_rd_byte.rs +++ b/esp32s2/src/spi0/slv_rd_byte.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - The full-duplex or half-duplex data byte length of the last SPI transfer in slave mode. In half-duplex mode, this value is controlled by bits \\[23:20\\]."] #[inline(always)] - #[must_use] pub fn slv_data_bytelen(&mut self) -> SLV_DATA_BYTELEN_W { SLV_DATA_BYTELEN_W::new(self, 0) } #[doc = "Bit 20 - 1: SPI_SLV_DATA_BYTELEN stores data byte length of master-read-slave data length in DMA controlled mode(Rd_DMA). 0: others"] #[inline(always)] - #[must_use] pub fn slv_rddma_bytelen_en(&mut self) -> SLV_RDDMA_BYTELEN_EN_W { SLV_RDDMA_BYTELEN_EN_W::new(self, 20) } #[doc = "Bit 21 - 1: SPI_SLV_DATA_BYTELEN stores data byte length of master-write-to-slave data length in DMA controlled mode(Wr_DMA). 0: others"] #[inline(always)] - #[must_use] pub fn slv_wrdma_bytelen_en(&mut self) -> SLV_WRDMA_BYTELEN_EN_W { SLV_WRDMA_BYTELEN_EN_W::new(self, 21) } #[doc = "Bit 22 - 1: SPI_SLV_DATA_BYTELEN stores data byte length of master-read-slave data length in CPU controlled mode(Rd_BUF). 0: others"] #[inline(always)] - #[must_use] pub fn slv_rdbuf_bytelen_en(&mut self) -> SLV_RDBUF_BYTELEN_EN_W { SLV_RDBUF_BYTELEN_EN_W::new(self, 22) } #[doc = "Bit 23 - 1: SPI_SLV_DATA_BYTELEN stores data byte length of master-write-to-slave data length in CPU controlled mode(Wr_BUF). 0: others"] #[inline(always)] - #[must_use] pub fn slv_wrbuf_bytelen_en(&mut self) -> SLV_WRBUF_BYTELEN_EN_W { SLV_WRBUF_BYTELEN_EN_W::new(self, 23) } #[doc = "Bits 24:27 - The magic value of BM table in master DMA seg-trans."] #[inline(always)] - #[must_use] pub fn dma_seg_magic_value(&mut self) -> DMA_SEG_MAGIC_VALUE_W { DMA_SEG_MAGIC_VALUE_W::new(self, 24) } #[doc = "Bit 30 - The interrupt raw bit for the completion of Rd-DMA operation in the slave mode. Can not be changed by CONF_buf."] #[inline(always)] - #[must_use] pub fn slv_rd_dma_done(&mut self) -> SLV_RD_DMA_DONE_W { SLV_RD_DMA_DONE_W::new(self, 30) } #[doc = "Bit 31 - 1: Enable the DMA CONF phase of current seg-trans operation, which means seg-trans will start. 0: This is not seg-trans mode."] #[inline(always)] - #[must_use] pub fn usr_conf(&mut self) -> USR_CONF_W { USR_CONF_W::new(self, 31) } diff --git a/esp32s2/src/spi0/slv_rdbuf_dlen.rs b/esp32s2/src/spi0/slv_rdbuf_dlen.rs index 7dcdaeddd6..cb11b8c26c 100644 --- a/esp32s2/src/spi0/slv_rdbuf_dlen.rs +++ b/esp32s2/src/spi0/slv_rdbuf_dlen.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - In the slave mode it is the length in bytes for read operations. The register value shall be byte_num."] #[inline(always)] - #[must_use] pub fn slv_dma_rd_bytelen(&mut self) -> SLV_DMA_RD_BYTELEN_W { SLV_DMA_RD_BYTELEN_W::new(self, 0) } #[doc = "Bit 24 - The interrupt raw bit for the completion of read-buffer operation in the slave mode. Can not be changed by CONF_buf."] #[inline(always)] - #[must_use] pub fn slv_rd_buf_done(&mut self) -> SLV_RD_BUF_DONE_W { SLV_RD_BUF_DONE_W::new(self, 24) } #[doc = "Bit 25 - 1: The recent magic value in CONF buffer is not right in master DMA seg-trans mode. 0: others."] #[inline(always)] - #[must_use] pub fn seg_magic_err(&mut self) -> SEG_MAGIC_ERR_W { SEG_MAGIC_ERR_W::new(self, 25) } diff --git a/esp32s2/src/spi0/slv_wrbuf_dlen.rs b/esp32s2/src/spi0/slv_wrbuf_dlen.rs index 3f4e713ae8..c95007f431 100644 --- a/esp32s2/src/spi0/slv_wrbuf_dlen.rs +++ b/esp32s2/src/spi0/slv_wrbuf_dlen.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 24 - The interrupt raw bit for the completion of write-buffer operation in the slave mode. Can not be changed by CONF_buf."] #[inline(always)] - #[must_use] pub fn slv_wr_buf_done(&mut self) -> SLV_WR_BUF_DONE_W { SLV_WR_BUF_DONE_W::new(self, 24) } #[doc = "Bits 25:31 - The basic spi_clk cycles of CONF state. The real cycle length of CONF state, if SPI_USR_CONF is enabled, is SPI_CONF_BASE_BITLEN\\[6:0\\] + SPI_CONF_BITLEN\\[23:0\\]."] #[inline(always)] - #[must_use] pub fn conf_base_bitlen(&mut self) -> CONF_BASE_BITLEN_W { CONF_BASE_BITLEN_W::new(self, 25) } diff --git a/esp32s2/src/spi0/sram_clk.rs b/esp32s2/src/spi0/sram_clk.rs index 1052911ae5..526a6ee69b 100644 --- a/esp32s2/src/spi0/sram_clk.rs +++ b/esp32s2/src/spi0/sram_clk.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - For SPI0 SRAM interface, it must be equal to spi_mem_clkcnt_N."] #[inline(always)] - #[must_use] pub fn sclkcnt_l(&mut self) -> SCLKCNT_L_W { SCLKCNT_L_W::new(self, 0) } #[doc = "Bits 8:15 - For SPI0 SRAM interface, it must be floor((spi_mem_clkcnt_N+1)/2-1)."] #[inline(always)] - #[must_use] pub fn sclkcnt_h(&mut self) -> SCLKCNT_H_W { SCLKCNT_H_W::new(self, 8) } #[doc = "Bits 16:23 - For SPI0 SRAM interface, it is the divider of spi_mem_clk. So spi_mem_clk frequency is system/(spi_mem_clkcnt_N+1)."] #[inline(always)] - #[must_use] pub fn sclkcnt_n(&mut self) -> SCLKCNT_N_W { SCLKCNT_N_W::new(self, 16) } #[doc = "Bit 31 - For SPI0 SRAM interface, 1: spi_mem_clk is equal to system, 0: spi_mem_clk is divided from system clock."] #[inline(always)] - #[must_use] pub fn sclk_equ_sysclk(&mut self) -> SCLK_EQU_SYSCLK_W { SCLK_EQU_SYSCLK_W::new(self, 31) } diff --git a/esp32s2/src/spi0/sram_drd_cmd.rs b/esp32s2/src/spi0/sram_drd_cmd.rs index e82c7d7d50..51e0c6d3b0 100644 --- a/esp32s2/src/spi0/sram_drd_cmd.rs +++ b/esp32s2/src/spi0/sram_drd_cmd.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - For SPI0, when cache mode is enabled, it is the read command value of the command phase for SRAM."] #[inline(always)] - #[must_use] pub fn cache_sram_usr_rd_cmd_value( &mut self, ) -> CACHE_SRAM_USR_RD_CMD_VALUE_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bits 28:31 - For SPI0, when cache mode is enabled, it is the length in bits of the command phase for SRAM. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn cache_sram_usr_rd_cmd_bitlen( &mut self, ) -> CACHE_SRAM_USR_RD_CMD_BITLEN_W { diff --git a/esp32s2/src/spi0/sram_dwr_cmd.rs b/esp32s2/src/spi0/sram_dwr_cmd.rs index 41e2976c3c..8ff8d54440 100644 --- a/esp32s2/src/spi0/sram_dwr_cmd.rs +++ b/esp32s2/src/spi0/sram_dwr_cmd.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - For SPI0, when cache mode is enabled, it is the write command value of the command phase for SRAM."] #[inline(always)] - #[must_use] pub fn cache_sram_usr_wr_cmd_value( &mut self, ) -> CACHE_SRAM_USR_WR_CMD_VALUE_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bits 28:31 - For SPI0, when cache mode is enabled, it is the length in bits of the command phase for SRAM. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn cache_sram_usr_wr_cmd_bitlen( &mut self, ) -> CACHE_SRAM_USR_WR_CMD_BITLEN_W { diff --git a/esp32s2/src/spi0/user.rs b/esp32s2/src/spi0/user.rs index d10eb1242a..e22b99b420 100644 --- a/esp32s2/src/spi0/user.rs +++ b/esp32s2/src/spi0/user.rs @@ -314,181 +314,151 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set the bit to enable full duplex communication. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn doutdin(&mut self) -> DOUTDIN_W { DOUTDIN_W::new(self, 0) } #[doc = "Bit 3 - Both for master mode and slave mode. 1: spi controller is in QPI mode. 0: others. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn qpi_mode(&mut self) -> QPI_MODE_W { QPI_MODE_W::new(self, 3) } #[doc = "Bit 4 - Just for master mode. 1: spi controller is in OPI mode (all in 8-bit mode). 0: others. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn opi_mode(&mut self) -> OPI_MODE_W { OPI_MODE_W::new(self, 4) } #[doc = "Bit 5 - In the slave mode, this bit can be used to change the polarity of tsck. 0: tsck = spi_ck_i. 1:tsck = !spi_ck_i."] #[inline(always)] - #[must_use] pub fn tsck_i_edge(&mut self) -> TSCK_I_EDGE_W { TSCK_I_EDGE_W::new(self, 5) } #[doc = "Bit 6 - spi cs keep low when spi is in done phase. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_hold(&mut self) -> CS_HOLD_W { CS_HOLD_W::new(self, 6) } #[doc = "Bit 7 - spi cs is enable when spi is in prepare phase. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_setup(&mut self) -> CS_SETUP_W { CS_SETUP_W::new(self, 7) } #[doc = "Bit 8 - In the slave mode, this bit can be used to change the polarity of rsck. 0: rsck = !spi_ck_i. 1:rsck = spi_ck_i."] #[inline(always)] - #[must_use] pub fn rsck_i_edge(&mut self) -> RSCK_I_EDGE_W { RSCK_I_EDGE_W::new(self, 8) } #[doc = "Bit 9 - the bit combined with SPI_DOUT_MODE register to set mosi signal delay mode. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn ck_out_edge(&mut self) -> CK_OUT_EDGE_W { CK_OUT_EDGE_W::new(self, 9) } #[doc = "Bit 10 - In read-data (MISO) phase 1: big-endian 0: little_endian. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn rd_byte_order(&mut self) -> RD_BYTE_ORDER_W { RD_BYTE_ORDER_W::new(self, 10) } #[doc = "Bit 11 - In command address write-data (MOSI) phases 1: big-endian 0: litte_endian. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn wr_byte_order(&mut self) -> WR_BYTE_ORDER_W { WR_BYTE_ORDER_W::new(self, 11) } #[doc = "Bit 12 - In the write operations read-data phase is in 2-bit mode. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fwrite_dual(&mut self) -> FWRITE_DUAL_W { FWRITE_DUAL_W::new(self, 12) } #[doc = "Bit 13 - In the write operations read-data phase is in 4-bit mode. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fwrite_quad(&mut self) -> FWRITE_QUAD_W { FWRITE_QUAD_W::new(self, 13) } #[doc = "Bit 14 - In the write operations read-data phase is in 8-bit mode. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fwrite_oct(&mut self) -> FWRITE_OCT_W { FWRITE_OCT_W::new(self, 14) } #[doc = "Bit 15 - 1: Enable the DMA CONF phase of next seg-trans operation, which means seg-trans will continue. 0: The seg-trans will end after the current SPI seg-trans or this is not seg-trans mode. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_conf_nxt(&mut self) -> USR_CONF_NXT_W { USR_CONF_NXT_W::new(self, 15) } #[doc = "Bit 16 - Set the bit to enable 3-line half duplex communication mosi and miso signals share the same pin. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn sio(&mut self) -> SIO_W { SIO_W::new(self, 16) } #[doc = "Bit 17 - It is combined with hold bits to set the polarity of spi hold line 1: spi will be held when spi hold line is high 0: spi will be held when spi hold line is low. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_hold_pol(&mut self) -> USR_HOLD_POL_W { USR_HOLD_POL_W::new(self, 17) } #[doc = "Bit 18 - spi is hold at data out state the bit are combined with SPI_USR_HOLD_POL bit. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_dout_hold(&mut self) -> USR_DOUT_HOLD_W { USR_DOUT_HOLD_W::new(self, 18) } #[doc = "Bit 19 - spi is hold at data in state the bit are combined with SPI_USR_HOLD_POL bit. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_din_hold(&mut self) -> USR_DIN_HOLD_W { USR_DIN_HOLD_W::new(self, 19) } #[doc = "Bit 20 - spi is hold at dummy state the bit are combined with SPI_USR_HOLD_POL bit. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_dummy_hold(&mut self) -> USR_DUMMY_HOLD_W { USR_DUMMY_HOLD_W::new(self, 20) } #[doc = "Bit 21 - spi is hold at address state the bit are combined with SPI_USR_HOLD_POL bit. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_addr_hold(&mut self) -> USR_ADDR_HOLD_W { USR_ADDR_HOLD_W::new(self, 21) } #[doc = "Bit 22 - spi is hold at command state the bit are combined with SPI_USR_HOLD_POL bit. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_cmd_hold(&mut self) -> USR_CMD_HOLD_W { USR_CMD_HOLD_W::new(self, 22) } #[doc = "Bit 23 - spi is hold at prepare state the bit are combined with SPI_USR_HOLD_POL bit. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_prep_hold(&mut self) -> USR_PREP_HOLD_W { USR_PREP_HOLD_W::new(self, 23) } #[doc = "Bit 24 - read-data phase only access to high-part of the buffer SPI_BUF8~SPI_BUF17. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_miso_highpart(&mut self) -> USR_MISO_HIGHPART_W { USR_MISO_HIGHPART_W::new(self, 24) } #[doc = "Bit 25 - write-data phase only access to high-part of the buffer SPI_BUF8~SPI_BUF17. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_mosi_highpart(&mut self) -> USR_MOSI_HIGHPART_W { USR_MOSI_HIGHPART_W::new(self, 25) } #[doc = "Bit 26 - spi clock is disable in dummy phase when the bit is enable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_dummy_idle(&mut self) -> USR_DUMMY_IDLE_W { USR_DUMMY_IDLE_W::new(self, 26) } #[doc = "Bit 27 - This bit enable the write-data phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_mosi(&mut self) -> USR_MOSI_W { USR_MOSI_W::new(self, 27) } #[doc = "Bit 28 - This bit enable the read-data phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_miso(&mut self) -> USR_MISO_W { USR_MISO_W::new(self, 28) } #[doc = "Bit 29 - This bit enable the dummy phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_dummy(&mut self) -> USR_DUMMY_W { USR_DUMMY_W::new(self, 29) } #[doc = "Bit 30 - This bit enable the address phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_addr(&mut self) -> USR_ADDR_W { USR_ADDR_W::new(self, 30) } #[doc = "Bit 31 - This bit enable the command phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_command(&mut self) -> USR_COMMAND_W { USR_COMMAND_W::new(self, 31) } diff --git a/esp32s2/src/spi0/user1.rs b/esp32s2/src/spi0/user1.rs index 7582a78229..5cbea796a0 100644 --- a/esp32s2/src/spi0/user1.rs +++ b/esp32s2/src/spi0/user1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - The length in spi_clk cycles of dummy phase. The register value shall be (cycle_num-1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_dummy_cyclelen(&mut self) -> USR_DUMMY_CYCLELEN_W { USR_DUMMY_CYCLELEN_W::new(self, 0) } #[doc = "Bits 27:31 - The length in bits of address phase. The register value shall be (bit_num-1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_addr_bitlen(&mut self) -> USR_ADDR_BITLEN_W { USR_ADDR_BITLEN_W::new(self, 27) } diff --git a/esp32s2/src/spi0/user2.rs b/esp32s2/src/spi0/user2.rs index ffd38c0a46..7cb8c7ec07 100644 --- a/esp32s2/src/spi0/user2.rs +++ b/esp32s2/src/spi0/user2.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The value of command. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_command_value(&mut self) -> USR_COMMAND_VALUE_W { USR_COMMAND_VALUE_W::new(self, 0) } #[doc = "Bits 28:31 - The length in bits of command phase. The register value shall be (bit_num-1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_command_bitlen(&mut self) -> USR_COMMAND_BITLEN_W { USR_COMMAND_BITLEN_W::new(self, 28) } diff --git a/esp32s2/src/spi0/w.rs b/esp32s2/src/spi0/w.rs index 9f1f6b5276..48b734d212 100644 --- a/esp32s2/src/spi0/w.rs +++ b/esp32s2/src/spi0/w.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - 32 bits data buffer 0, transferred in the unit of byte. Byte addressable in slave half-duplex mode."] #[inline(always)] - #[must_use] pub fn buf(&mut self) -> BUF_W { BUF_W::new(self, 0) } diff --git a/esp32s2/src/syscon/clk_out_en.rs b/esp32s2/src/syscon/clk_out_en.rs index 3d0b0e150e..5304ba284a 100644 --- a/esp32s2/src/syscon/clk_out_en.rs +++ b/esp32s2/src/syscon/clk_out_en.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn clk20_oen(&mut self) -> CLK20_OEN_W { CLK20_OEN_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn clk22_oen(&mut self) -> CLK22_OEN_W { CLK22_OEN_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn clk44_oen(&mut self) -> CLK44_OEN_W { CLK44_OEN_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn clk_bb_oen(&mut self) -> CLK_BB_OEN_W { CLK_BB_OEN_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn clk80_oen(&mut self) -> CLK80_OEN_W { CLK80_OEN_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn clk160_oen(&mut self) -> CLK160_OEN_W { CLK160_OEN_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn clk_320m_oen(&mut self) -> CLK_320M_OEN_W { CLK_320M_OEN_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn clk_adc_inf_oen(&mut self) -> CLK_ADC_INF_OEN_W { CLK_ADC_INF_OEN_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn clk_dac_cpu_oen(&mut self) -> CLK_DAC_CPU_OEN_W { CLK_DAC_CPU_OEN_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn clk40x_bb_oen(&mut self) -> CLK40X_BB_OEN_W { CLK40X_BB_OEN_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn clk_xtal_oen(&mut self) -> CLK_XTAL_OEN_W { CLK_XTAL_OEN_W::new(self, 10) } diff --git a/esp32s2/src/syscon/date.rs b/esp32s2/src/syscon/date.rs index f1dfdd11b0..64ebc14d55 100644 --- a/esp32s2/src/syscon/date.rs +++ b/esp32s2/src/syscon/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s2/src/syscon/ext_mem_pms_lock.rs b/esp32s2/src/syscon/ext_mem_pms_lock.rs index 6b02563da5..32ec766dca 100644 --- a/esp32s2/src/syscon/ext_mem_pms_lock.rs +++ b/esp32s2/src/syscon/ext_mem_pms_lock.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn ext_mem_pms_lock(&mut self) -> EXT_MEM_PMS_LOCK_W { EXT_MEM_PMS_LOCK_W::new(self, 0) } diff --git a/esp32s2/src/syscon/flash_ace0_addr.rs b/esp32s2/src/syscon/flash_ace0_addr.rs index c6db48a711..abd16b6fe7 100644 --- a/esp32s2/src/syscon/flash_ace0_addr.rs +++ b/esp32s2/src/syscon/flash_ace0_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn s(&mut self) -> S_W { S_W::new(self, 0) } diff --git a/esp32s2/src/syscon/flash_ace0_attr.rs b/esp32s2/src/syscon/flash_ace0_attr.rs index 9109368f93..d02a77ee9a 100644 --- a/esp32s2/src/syscon/flash_ace0_attr.rs +++ b/esp32s2/src/syscon/flash_ace0_attr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2"] #[inline(always)] - #[must_use] pub fn flash_ace0_attr(&mut self) -> FLASH_ACE0_ATTR_W { FLASH_ACE0_ATTR_W::new(self, 0) } diff --git a/esp32s2/src/syscon/flash_ace0_size.rs b/esp32s2/src/syscon/flash_ace0_size.rs index 04fdaa211c..6857386aae 100644 --- a/esp32s2/src/syscon/flash_ace0_size.rs +++ b/esp32s2/src/syscon/flash_ace0_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn flash_ace0_size(&mut self) -> FLASH_ACE0_SIZE_W { FLASH_ACE0_SIZE_W::new(self, 0) } diff --git a/esp32s2/src/syscon/flash_ace1_addr.rs b/esp32s2/src/syscon/flash_ace1_addr.rs index 30fad631c9..21be5a858e 100644 --- a/esp32s2/src/syscon/flash_ace1_addr.rs +++ b/esp32s2/src/syscon/flash_ace1_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn s(&mut self) -> S_W { S_W::new(self, 0) } diff --git a/esp32s2/src/syscon/flash_ace1_attr.rs b/esp32s2/src/syscon/flash_ace1_attr.rs index 5da5e96d03..3a74f5b1c2 100644 --- a/esp32s2/src/syscon/flash_ace1_attr.rs +++ b/esp32s2/src/syscon/flash_ace1_attr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2"] #[inline(always)] - #[must_use] pub fn flash_ace1_attr(&mut self) -> FLASH_ACE1_ATTR_W { FLASH_ACE1_ATTR_W::new(self, 0) } diff --git a/esp32s2/src/syscon/flash_ace1_size.rs b/esp32s2/src/syscon/flash_ace1_size.rs index 1217a47f74..fe44fc82e3 100644 --- a/esp32s2/src/syscon/flash_ace1_size.rs +++ b/esp32s2/src/syscon/flash_ace1_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn flash_ace1_size(&mut self) -> FLASH_ACE1_SIZE_W { FLASH_ACE1_SIZE_W::new(self, 0) } diff --git a/esp32s2/src/syscon/flash_ace2_addr.rs b/esp32s2/src/syscon/flash_ace2_addr.rs index 4a26b7efd2..9efef0c500 100644 --- a/esp32s2/src/syscon/flash_ace2_addr.rs +++ b/esp32s2/src/syscon/flash_ace2_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn s(&mut self) -> S_W { S_W::new(self, 0) } diff --git a/esp32s2/src/syscon/flash_ace2_attr.rs b/esp32s2/src/syscon/flash_ace2_attr.rs index 1259027772..d0780bfc74 100644 --- a/esp32s2/src/syscon/flash_ace2_attr.rs +++ b/esp32s2/src/syscon/flash_ace2_attr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2"] #[inline(always)] - #[must_use] pub fn flash_ace2_attr(&mut self) -> FLASH_ACE2_ATTR_W { FLASH_ACE2_ATTR_W::new(self, 0) } diff --git a/esp32s2/src/syscon/flash_ace2_size.rs b/esp32s2/src/syscon/flash_ace2_size.rs index 238f8519b1..f9e8a7ae44 100644 --- a/esp32s2/src/syscon/flash_ace2_size.rs +++ b/esp32s2/src/syscon/flash_ace2_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn flash_ace2_size(&mut self) -> FLASH_ACE2_SIZE_W { FLASH_ACE2_SIZE_W::new(self, 0) } diff --git a/esp32s2/src/syscon/flash_ace3_addr.rs b/esp32s2/src/syscon/flash_ace3_addr.rs index 5b323925af..6a7bfb886a 100644 --- a/esp32s2/src/syscon/flash_ace3_addr.rs +++ b/esp32s2/src/syscon/flash_ace3_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn s(&mut self) -> S_W { S_W::new(self, 0) } diff --git a/esp32s2/src/syscon/flash_ace3_attr.rs b/esp32s2/src/syscon/flash_ace3_attr.rs index 33e1deb52e..9e562a1bba 100644 --- a/esp32s2/src/syscon/flash_ace3_attr.rs +++ b/esp32s2/src/syscon/flash_ace3_attr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2"] #[inline(always)] - #[must_use] pub fn flash_ace3_attr(&mut self) -> FLASH_ACE3_ATTR_W { FLASH_ACE3_ATTR_W::new(self, 0) } diff --git a/esp32s2/src/syscon/flash_ace3_size.rs b/esp32s2/src/syscon/flash_ace3_size.rs index 12d7f8daf8..5a26798347 100644 --- a/esp32s2/src/syscon/flash_ace3_size.rs +++ b/esp32s2/src/syscon/flash_ace3_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn flash_ace3_size(&mut self) -> FLASH_ACE3_SIZE_W { FLASH_ACE3_SIZE_W::new(self, 0) } diff --git a/esp32s2/src/syscon/front_end_mem_pd.rs b/esp32s2/src/syscon/front_end_mem_pd.rs index 21d97c3024..5c9f7d35e3 100644 --- a/esp32s2/src/syscon/front_end_mem_pd.rs +++ b/esp32s2/src/syscon/front_end_mem_pd.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn agc_mem_force_pu(&mut self) -> AGC_MEM_FORCE_PU_W { AGC_MEM_FORCE_PU_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn agc_mem_force_pd(&mut self) -> AGC_MEM_FORCE_PD_W { AGC_MEM_FORCE_PD_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn pbus_mem_force_pu(&mut self) -> PBUS_MEM_FORCE_PU_W { PBUS_MEM_FORCE_PU_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn pbus_mem_force_pd(&mut self) -> PBUS_MEM_FORCE_PD_W { PBUS_MEM_FORCE_PD_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn dc_mem_force_pu(&mut self) -> DC_MEM_FORCE_PU_W { DC_MEM_FORCE_PU_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn dc_mem_force_pd(&mut self) -> DC_MEM_FORCE_PD_W { DC_MEM_FORCE_PD_W::new(self, 5) } diff --git a/esp32s2/src/syscon/host_inf_sel.rs b/esp32s2/src/syscon/host_inf_sel.rs index e53fccafca..ccccf443d3 100644 --- a/esp32s2/src/syscon/host_inf_sel.rs +++ b/esp32s2/src/syscon/host_inf_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn peri_io_swap(&mut self) -> PERI_IO_SWAP_W { PERI_IO_SWAP_W::new(self, 0) } diff --git a/esp32s2/src/syscon/redcy_sig0.rs b/esp32s2/src/syscon/redcy_sig0.rs index 2f712a0f24..71ea8c7d1e 100644 --- a/esp32s2/src/syscon/redcy_sig0.rs +++ b/esp32s2/src/syscon/redcy_sig0.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30"] #[inline(always)] - #[must_use] pub fn redcy_sig0(&mut self) -> REDCY_SIG0_W { REDCY_SIG0_W::new(self, 0) } diff --git a/esp32s2/src/syscon/redcy_sig1.rs b/esp32s2/src/syscon/redcy_sig1.rs index 806001490a..b42541f853 100644 --- a/esp32s2/src/syscon/redcy_sig1.rs +++ b/esp32s2/src/syscon/redcy_sig1.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30"] #[inline(always)] - #[must_use] pub fn redcy_sig1(&mut self) -> REDCY_SIG1_W { REDCY_SIG1_W::new(self, 0) } diff --git a/esp32s2/src/syscon/sdio_ctrl.rs b/esp32s2/src/syscon/sdio_ctrl.rs index 826d8ec9fc..3b4e0b7fe7 100644 --- a/esp32s2/src/syscon/sdio_ctrl.rs +++ b/esp32s2/src/syscon/sdio_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn sdio_win_access_en(&mut self) -> SDIO_WIN_ACCESS_EN_W { SDIO_WIN_ACCESS_EN_W::new(self, 0) } diff --git a/esp32s2/src/syscon/spi_mem_pms_ctrl.rs b/esp32s2/src/syscon/spi_mem_pms_ctrl.rs index 139bf46006..1897f06259 100644 --- a/esp32s2/src/syscon/spi_mem_pms_ctrl.rs +++ b/esp32s2/src/syscon/spi_mem_pms_ctrl.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn spi_mem_reject_clr(&mut self) -> SPI_MEM_REJECT_CLR_W { SPI_MEM_REJECT_CLR_W::new(self, 1) } diff --git a/esp32s2/src/syscon/sram_ace0_addr.rs b/esp32s2/src/syscon/sram_ace0_addr.rs index ad02e7be09..20d9f65dea 100644 --- a/esp32s2/src/syscon/sram_ace0_addr.rs +++ b/esp32s2/src/syscon/sram_ace0_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn s(&mut self) -> S_W { S_W::new(self, 0) } diff --git a/esp32s2/src/syscon/sram_ace0_attr.rs b/esp32s2/src/syscon/sram_ace0_attr.rs index 012fb41f8e..8bea99fa98 100644 --- a/esp32s2/src/syscon/sram_ace0_attr.rs +++ b/esp32s2/src/syscon/sram_ace0_attr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2"] #[inline(always)] - #[must_use] pub fn sram_ace0_attr(&mut self) -> SRAM_ACE0_ATTR_W { SRAM_ACE0_ATTR_W::new(self, 0) } diff --git a/esp32s2/src/syscon/sram_ace0_size.rs b/esp32s2/src/syscon/sram_ace0_size.rs index 47a32e7f3e..28b0100a4a 100644 --- a/esp32s2/src/syscon/sram_ace0_size.rs +++ b/esp32s2/src/syscon/sram_ace0_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn sram_ace0_size(&mut self) -> SRAM_ACE0_SIZE_W { SRAM_ACE0_SIZE_W::new(self, 0) } diff --git a/esp32s2/src/syscon/sram_ace1_addr.rs b/esp32s2/src/syscon/sram_ace1_addr.rs index 2923e3a2f7..b1cd8d0f87 100644 --- a/esp32s2/src/syscon/sram_ace1_addr.rs +++ b/esp32s2/src/syscon/sram_ace1_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn s(&mut self) -> S_W { S_W::new(self, 0) } diff --git a/esp32s2/src/syscon/sram_ace1_attr.rs b/esp32s2/src/syscon/sram_ace1_attr.rs index 91b8627935..8ee9897927 100644 --- a/esp32s2/src/syscon/sram_ace1_attr.rs +++ b/esp32s2/src/syscon/sram_ace1_attr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2"] #[inline(always)] - #[must_use] pub fn sram_ace1_attr(&mut self) -> SRAM_ACE1_ATTR_W { SRAM_ACE1_ATTR_W::new(self, 0) } diff --git a/esp32s2/src/syscon/sram_ace1_size.rs b/esp32s2/src/syscon/sram_ace1_size.rs index 134682497a..c5dc05fbdc 100644 --- a/esp32s2/src/syscon/sram_ace1_size.rs +++ b/esp32s2/src/syscon/sram_ace1_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn sram_ace1_size(&mut self) -> SRAM_ACE1_SIZE_W { SRAM_ACE1_SIZE_W::new(self, 0) } diff --git a/esp32s2/src/syscon/sram_ace2_addr.rs b/esp32s2/src/syscon/sram_ace2_addr.rs index 3b5a63caf5..9e24c9a239 100644 --- a/esp32s2/src/syscon/sram_ace2_addr.rs +++ b/esp32s2/src/syscon/sram_ace2_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn s(&mut self) -> S_W { S_W::new(self, 0) } diff --git a/esp32s2/src/syscon/sram_ace2_attr.rs b/esp32s2/src/syscon/sram_ace2_attr.rs index 02ad8cccc9..40fb20ec8f 100644 --- a/esp32s2/src/syscon/sram_ace2_attr.rs +++ b/esp32s2/src/syscon/sram_ace2_attr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2"] #[inline(always)] - #[must_use] pub fn sram_ace2_attr(&mut self) -> SRAM_ACE2_ATTR_W { SRAM_ACE2_ATTR_W::new(self, 0) } diff --git a/esp32s2/src/syscon/sram_ace2_size.rs b/esp32s2/src/syscon/sram_ace2_size.rs index 640c7ea3ee..e564b199a2 100644 --- a/esp32s2/src/syscon/sram_ace2_size.rs +++ b/esp32s2/src/syscon/sram_ace2_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn sram_ace2_size(&mut self) -> SRAM_ACE2_SIZE_W { SRAM_ACE2_SIZE_W::new(self, 0) } diff --git a/esp32s2/src/syscon/sram_ace3_addr.rs b/esp32s2/src/syscon/sram_ace3_addr.rs index 77f6b42fab..8194954f5e 100644 --- a/esp32s2/src/syscon/sram_ace3_addr.rs +++ b/esp32s2/src/syscon/sram_ace3_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn s(&mut self) -> S_W { S_W::new(self, 0) } diff --git a/esp32s2/src/syscon/sram_ace3_attr.rs b/esp32s2/src/syscon/sram_ace3_attr.rs index 8fd80d6b62..2b313a5d72 100644 --- a/esp32s2/src/syscon/sram_ace3_attr.rs +++ b/esp32s2/src/syscon/sram_ace3_attr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2"] #[inline(always)] - #[must_use] pub fn sram_ace3_attr(&mut self) -> SRAM_ACE3_ATTR_W { SRAM_ACE3_ATTR_W::new(self, 0) } diff --git a/esp32s2/src/syscon/sram_ace3_size.rs b/esp32s2/src/syscon/sram_ace3_size.rs index 006d08bd62..cc7d695d62 100644 --- a/esp32s2/src/syscon/sram_ace3_size.rs +++ b/esp32s2/src/syscon/sram_ace3_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn sram_ace3_size(&mut self) -> SRAM_ACE3_SIZE_W { SRAM_ACE3_SIZE_W::new(self, 0) } diff --git a/esp32s2/src/syscon/sysclk_conf.rs b/esp32s2/src/syscon/sysclk_conf.rs index 924506a44e..de9376d438 100644 --- a/esp32s2/src/syscon/sysclk_conf.rs +++ b/esp32s2/src/syscon/sysclk_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn clk_320m_en(&mut self) -> CLK_320M_EN_W { CLK_320M_EN_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn rst_tick_cnt(&mut self) -> RST_TICK_CNT_W { RST_TICK_CNT_W::new(self, 12) } diff --git a/esp32s2/src/syscon/tick_conf.rs b/esp32s2/src/syscon/tick_conf.rs index 8a897d1a15..3f02703851 100644 --- a/esp32s2/src/syscon/tick_conf.rs +++ b/esp32s2/src/syscon/tick_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn xtal_tick_num(&mut self) -> XTAL_TICK_NUM_W { XTAL_TICK_NUM_W::new(self, 0) } #[doc = "Bits 8:15"] #[inline(always)] - #[must_use] pub fn ck8m_tick_num(&mut self) -> CK8M_TICK_NUM_W { CK8M_TICK_NUM_W::new(self, 8) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn tick_enable(&mut self) -> TICK_ENABLE_W { TICK_ENABLE_W::new(self, 16) } diff --git a/esp32s2/src/syscon/wifi_bb_cfg.rs b/esp32s2/src/syscon/wifi_bb_cfg.rs index d7bb7244d6..5bde8ca55e 100644 --- a/esp32s2/src/syscon/wifi_bb_cfg.rs +++ b/esp32s2/src/syscon/wifi_bb_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn wifi_bb_cfg(&mut self) -> WIFI_BB_CFG_W { WIFI_BB_CFG_W::new(self, 0) } diff --git a/esp32s2/src/syscon/wifi_bb_cfg_2.rs b/esp32s2/src/syscon/wifi_bb_cfg_2.rs index f27054d4db..b9b3de76a1 100644 --- a/esp32s2/src/syscon/wifi_bb_cfg_2.rs +++ b/esp32s2/src/syscon/wifi_bb_cfg_2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn wifi_bb_cfg_2(&mut self) -> WIFI_BB_CFG_2_W { WIFI_BB_CFG_2_W::new(self, 0) } diff --git a/esp32s2/src/syscon/wifi_clk_en.rs b/esp32s2/src/syscon/wifi_clk_en.rs index 1f2c53b71b..c5ddab3a99 100644 --- a/esp32s2/src/syscon/wifi_clk_en.rs +++ b/esp32s2/src/syscon/wifi_clk_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn wifi_clk_en(&mut self) -> WIFI_CLK_EN_W { WIFI_CLK_EN_W::new(self, 0) } diff --git a/esp32s2/src/syscon/wifi_rst_en.rs b/esp32s2/src/syscon/wifi_rst_en.rs index 7568846028..83dbc93c26 100644 --- a/esp32s2/src/syscon/wifi_rst_en.rs +++ b/esp32s2/src/syscon/wifi_rst_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn wifi_rst(&mut self) -> WIFI_RST_W { WIFI_RST_W::new(self, 0) } diff --git a/esp32s2/src/system/bt_lpck_div_frac.rs b/esp32s2/src/system/bt_lpck_div_frac.rs index bdb046f5c5..2d32b57a0e 100644 --- a/esp32s2/src/system/bt_lpck_div_frac.rs +++ b/esp32s2/src/system/bt_lpck_div_frac.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 24 - Set this bit to select RTC slow clock as the low power clock."] #[inline(always)] - #[must_use] pub fn lpclk_sel_rtc_slow(&mut self) -> LPCLK_SEL_RTC_SLOW_W { LPCLK_SEL_RTC_SLOW_W::new(self, 24) } #[doc = "Bit 25 - Set this bit to select 8m clock as the low power clock."] #[inline(always)] - #[must_use] pub fn lpclk_sel_8m(&mut self) -> LPCLK_SEL_8M_W { LPCLK_SEL_8M_W::new(self, 25) } #[doc = "Bit 26 - Set this bit to select xtal clock as the low power clock."] #[inline(always)] - #[must_use] pub fn lpclk_sel_xtal(&mut self) -> LPCLK_SEL_XTAL_W { LPCLK_SEL_XTAL_W::new(self, 26) } #[doc = "Bit 27 - Set this bit to select xtal32k clock as the low power clock."] #[inline(always)] - #[must_use] pub fn lpclk_sel_xtal32k(&mut self) -> LPCLK_SEL_XTAL32K_W { LPCLK_SEL_XTAL32K_W::new(self, 27) } #[doc = "Bit 28 - Set this bit to enable the RTC low power clock."] #[inline(always)] - #[must_use] pub fn lpclk_rtc_en(&mut self) -> LPCLK_RTC_EN_W { LPCLK_RTC_EN_W::new(self, 28) } diff --git a/esp32s2/src/system/bustoextmem_ena.rs b/esp32s2/src/system/bustoextmem_ena.rs index bd808ebc1f..6324e80303 100644 --- a/esp32s2/src/system/bustoextmem_ena.rs +++ b/esp32s2/src/system/bustoextmem_ena.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable bus to EDMA."] #[inline(always)] - #[must_use] pub fn bustoextmem_ena(&mut self) -> BUSTOEXTMEM_ENA_W { BUSTOEXTMEM_ENA_W::new(self, 0) } diff --git a/esp32s2/src/system/cache_control.rs b/esp32s2/src/system/cache_control.rs index 407fd80a69..0436ea1574 100644 --- a/esp32s2/src/system/cache_control.rs +++ b/esp32s2/src/system/cache_control.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable clock of i-cache."] #[inline(always)] - #[must_use] pub fn pro_icache_clk_on(&mut self) -> PRO_ICACHE_CLK_ON_W { PRO_ICACHE_CLK_ON_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to enable clock of d-cache."] #[inline(always)] - #[must_use] pub fn pro_dcache_clk_on(&mut self) -> PRO_DCACHE_CLK_ON_W { PRO_DCACHE_CLK_ON_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to reset cache."] #[inline(always)] - #[must_use] pub fn pro_cache_reset(&mut self) -> PRO_CACHE_RESET_W { PRO_CACHE_RESET_W::new(self, 2) } diff --git a/esp32s2/src/system/clock_gate.rs b/esp32s2/src/system/clock_gate.rs index ef3c77629b..d4d4a1c63e 100644 --- a/esp32s2/src/system/clock_gate.rs +++ b/esp32s2/src/system/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable clock of this module."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32s2/src/system/cpu_intr_from_cpu_0.rs b/esp32s2/src/system/cpu_intr_from_cpu_0.rs index 5b78fc1b4d..77c88961b6 100644 --- a/esp32s2/src/system/cpu_intr_from_cpu_0.rs +++ b/esp32s2/src/system/cpu_intr_from_cpu_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to generate CPU interrupt 0. This bit needs to be reset by software in the ISR process."] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_0(&mut self) -> CPU_INTR_FROM_CPU_0_W { CPU_INTR_FROM_CPU_0_W::new(self, 0) } diff --git a/esp32s2/src/system/cpu_intr_from_cpu_1.rs b/esp32s2/src/system/cpu_intr_from_cpu_1.rs index 5d40e11c15..1c43bbc1cf 100644 --- a/esp32s2/src/system/cpu_intr_from_cpu_1.rs +++ b/esp32s2/src/system/cpu_intr_from_cpu_1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to generate CPU interrupt 1. This bit needs to be reset by software in the ISR process."] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_1(&mut self) -> CPU_INTR_FROM_CPU_1_W { CPU_INTR_FROM_CPU_1_W::new(self, 0) } diff --git a/esp32s2/src/system/cpu_intr_from_cpu_2.rs b/esp32s2/src/system/cpu_intr_from_cpu_2.rs index 32e88d99af..b538a804ef 100644 --- a/esp32s2/src/system/cpu_intr_from_cpu_2.rs +++ b/esp32s2/src/system/cpu_intr_from_cpu_2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to generate CPU interrupt 2. This bit needs to be reset by software in the ISR process."] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_2(&mut self) -> CPU_INTR_FROM_CPU_2_W { CPU_INTR_FROM_CPU_2_W::new(self, 0) } diff --git a/esp32s2/src/system/cpu_intr_from_cpu_3.rs b/esp32s2/src/system/cpu_intr_from_cpu_3.rs index db53abb33f..b64248c086 100644 --- a/esp32s2/src/system/cpu_intr_from_cpu_3.rs +++ b/esp32s2/src/system/cpu_intr_from_cpu_3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to generate CPU interrupt 3. This bit needs to be reset by software in the ISR process."] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_3(&mut self) -> CPU_INTR_FROM_CPU_3_W { CPU_INTR_FROM_CPU_3_W::new(self, 0) } diff --git a/esp32s2/src/system/cpu_per_conf.rs b/esp32s2/src/system/cpu_per_conf.rs index 1ff9801064..e5c8101b24 100644 --- a/esp32s2/src/system/cpu_per_conf.rs +++ b/esp32s2/src/system/cpu_per_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - This field is used to select the clock frequency of CPU or CPU period."] #[inline(always)] - #[must_use] pub fn cpuperiod_sel(&mut self) -> CPUPERIOD_SEL_W { CPUPERIOD_SEL_W::new(self, 0) } #[doc = "Bit 2 - This field is used to select the PLL clock frequency based on CPU period."] #[inline(always)] - #[must_use] pub fn pll_freq_sel(&mut self) -> PLL_FREQ_SEL_W { PLL_FREQ_SEL_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to force on CPU wait mode. In this mode, the clock gate of CPU is turned off until any interrupts happen. This mode could also be force on via WAITI instruction."] #[inline(always)] - #[must_use] pub fn cpu_wait_mode_force_on(&mut self) -> CPU_WAIT_MODE_FORCE_ON_W { CPU_WAIT_MODE_FORCE_ON_W::new(self, 3) } #[doc = "Bits 4:7 - Sets the number of delay cycles to enter CPU wait mode after a WAITI instruction."] #[inline(always)] - #[must_use] pub fn cpu_waiti_delay_num(&mut self) -> CPU_WAITI_DELAY_NUM_W { CPU_WAITI_DELAY_NUM_W::new(self, 4) } diff --git a/esp32s2/src/system/cpu_peri_clk_en.rs b/esp32s2/src/system/cpu_peri_clk_en.rs index 7ad16e36e5..b89179ec0b 100644 --- a/esp32s2/src/system/cpu_peri_clk_en.rs +++ b/esp32s2/src/system/cpu_peri_clk_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 7 - Set this bit to enable clock of DEDICATED GPIO module."] #[inline(always)] - #[must_use] pub fn clk_en_dedicated_gpio(&mut self) -> CLK_EN_DEDICATED_GPIO_W { CLK_EN_DEDICATED_GPIO_W::new(self, 7) } diff --git a/esp32s2/src/system/cpu_peri_rst_en.rs b/esp32s2/src/system/cpu_peri_rst_en.rs index ee2c63ebcc..3ec1feaacd 100644 --- a/esp32s2/src/system/cpu_peri_rst_en.rs +++ b/esp32s2/src/system/cpu_peri_rst_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 7 - Set this bit to reset DEDICATED GPIO module."] #[inline(always)] - #[must_use] pub fn rst_en_dedicated_gpio(&mut self) -> RST_EN_DEDICATED_GPIO_W { RST_EN_DEDICATED_GPIO_W::new(self, 7) } diff --git a/esp32s2/src/system/date.rs b/esp32s2/src/system/date.rs index 0517bf080d..219b70e002 100644 --- a/esp32s2/src/system/date.rs +++ b/esp32s2/src/system/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Version control register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s2/src/system/external_device_encrypt_decrypt_control.rs b/esp32s2/src/system/external_device_encrypt_decrypt_control.rs index 95627a578b..f682bcf3c0 100644 --- a/esp32s2/src/system/external_device_encrypt_decrypt_control.rs +++ b/esp32s2/src/system/external_device_encrypt_decrypt_control.rs @@ -66,7 +66,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable Manual Encryption under SPI Boot mode."] #[inline(always)] - #[must_use] pub fn enable_spi_manual_encrypt( &mut self, ) -> ENABLE_SPI_MANUAL_ENCRYPT_W { @@ -74,7 +73,6 @@ impl W { } #[doc = "Bit 1 - Set this bit to enable Auto Encryption under Download Boot mode."] #[inline(always)] - #[must_use] pub fn enable_download_db_encrypt( &mut self, ) -> ENABLE_DOWNLOAD_DB_ENCRYPT_W { @@ -82,7 +80,6 @@ impl W { } #[doc = "Bit 2 - Set this bit to enable Auto Decryption under Download Boot mode."] #[inline(always)] - #[must_use] pub fn enable_download_g0cb_decrypt( &mut self, ) -> ENABLE_DOWNLOAD_G0CB_DECRYPT_W { @@ -90,7 +87,6 @@ impl W { } #[doc = "Bit 3 - Set this bit to enable Manual Encryption under Download Boot mode."] #[inline(always)] - #[must_use] pub fn enable_download_manual_encrypt( &mut self, ) -> ENABLE_DOWNLOAD_MANUAL_ENCRYPT_W { diff --git a/esp32s2/src/system/jtag_ctrl_0.rs b/esp32s2/src/system/jtag_ctrl_0.rs index 2698b7da1f..4d501702e7 100644 --- a/esp32s2/src/system/jtag_ctrl_0.rs +++ b/esp32s2/src/system/jtag_ctrl_0.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - Stores the 0 to 31 bits of the 256 bits register used to cancel the temporary disable of eFuse to JTAG."] #[inline(always)] - #[must_use] pub fn cancel_efuse_disable_jtag_temporary_0( &mut self, ) -> CANCEL_EFUSE_DISABLE_JTAG_TEMPORARY_0_W { diff --git a/esp32s2/src/system/jtag_ctrl_1.rs b/esp32s2/src/system/jtag_ctrl_1.rs index d358fb076c..690f0c85b9 100644 --- a/esp32s2/src/system/jtag_ctrl_1.rs +++ b/esp32s2/src/system/jtag_ctrl_1.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - Stores the 32 to 63 bits of the 256 bits register used to cancel the temporary disable of eFuse to JTAG."] #[inline(always)] - #[must_use] pub fn cancel_efuse_disable_jtag_temporary_1( &mut self, ) -> CANCEL_EFUSE_DISABLE_JTAG_TEMPORARY_1_W { diff --git a/esp32s2/src/system/jtag_ctrl_2.rs b/esp32s2/src/system/jtag_ctrl_2.rs index 178d46fb4f..cb124cd36b 100644 --- a/esp32s2/src/system/jtag_ctrl_2.rs +++ b/esp32s2/src/system/jtag_ctrl_2.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - Stores the 64 to 95 bits of the 256 bits register used to cancel the temporary disable of eFuse to JTAG."] #[inline(always)] - #[must_use] pub fn cancel_efuse_disable_jtag_temporary_2( &mut self, ) -> CANCEL_EFUSE_DISABLE_JTAG_TEMPORARY_2_W { diff --git a/esp32s2/src/system/jtag_ctrl_3.rs b/esp32s2/src/system/jtag_ctrl_3.rs index de70056fcf..35dc6e8a84 100644 --- a/esp32s2/src/system/jtag_ctrl_3.rs +++ b/esp32s2/src/system/jtag_ctrl_3.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - Stores the 96 to 127 bits of the 256 bits register used to cancel the temporary disable of eFuse to JTAG."] #[inline(always)] - #[must_use] pub fn cancel_efuse_disable_jtag_temporary_3( &mut self, ) -> CANCEL_EFUSE_DISABLE_JTAG_TEMPORARY_3_W { diff --git a/esp32s2/src/system/jtag_ctrl_4.rs b/esp32s2/src/system/jtag_ctrl_4.rs index 0cadb32acf..6e12c49bfa 100644 --- a/esp32s2/src/system/jtag_ctrl_4.rs +++ b/esp32s2/src/system/jtag_ctrl_4.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - Stores the 128 to 159 bits of the 256 bits register used to cancel the temporary disable of eFuse to JTAG."] #[inline(always)] - #[must_use] pub fn cancel_efuse_disable_jtag_temporary_4( &mut self, ) -> CANCEL_EFUSE_DISABLE_JTAG_TEMPORARY_4_W { diff --git a/esp32s2/src/system/jtag_ctrl_5.rs b/esp32s2/src/system/jtag_ctrl_5.rs index e47b5fdece..efaa48817d 100644 --- a/esp32s2/src/system/jtag_ctrl_5.rs +++ b/esp32s2/src/system/jtag_ctrl_5.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - Stores the 160 to 191 bits of the 256 bits register used to cancel the temporary disable of eFuse to JTAG."] #[inline(always)] - #[must_use] pub fn cancel_efuse_disable_jtag_temporary_5( &mut self, ) -> CANCEL_EFUSE_DISABLE_JTAG_TEMPORARY_5_W { diff --git a/esp32s2/src/system/jtag_ctrl_6.rs b/esp32s2/src/system/jtag_ctrl_6.rs index 86f6ebe5c1..a6473f5f1b 100644 --- a/esp32s2/src/system/jtag_ctrl_6.rs +++ b/esp32s2/src/system/jtag_ctrl_6.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - Stores the 192 to 223 bits of the 256 bits register used to cancel the temporary disable of eFuse to JTAG."] #[inline(always)] - #[must_use] pub fn cancel_efuse_disable_jtag_temporary_6( &mut self, ) -> CANCEL_EFUSE_DISABLE_JTAG_TEMPORARY_6_W { diff --git a/esp32s2/src/system/jtag_ctrl_7.rs b/esp32s2/src/system/jtag_ctrl_7.rs index ff05eb79fc..d1c2353dd6 100644 --- a/esp32s2/src/system/jtag_ctrl_7.rs +++ b/esp32s2/src/system/jtag_ctrl_7.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - Stores the 0 to 224 bits of the 255 bits register used to cancel the temporary disable of eFuse to JTAG."] #[inline(always)] - #[must_use] pub fn cancel_efuse_disable_jtag_temporary_7( &mut self, ) -> CANCEL_EFUSE_DISABLE_JTAG_TEMPORARY_7_W { diff --git a/esp32s2/src/system/lpck_div_int.rs b/esp32s2/src/system/lpck_div_int.rs index 6f5810b80a..c72aecc821 100644 --- a/esp32s2/src/system/lpck_div_int.rs +++ b/esp32s2/src/system/lpck_div_int.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - This field is used to set the integer number of the divider value."] #[inline(always)] - #[must_use] pub fn lpck_div_num(&mut self) -> LPCK_DIV_NUM_W { LPCK_DIV_NUM_W::new(self, 0) } diff --git a/esp32s2/src/system/mem_pd_mask.rs b/esp32s2/src/system/mem_pd_mask.rs index 1725a5086c..fb879eb6a3 100644 --- a/esp32s2/src/system/mem_pd_mask.rs +++ b/esp32s2/src/system/mem_pd_mask.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to allow the memory to work as usual when the chip enters the light-sleep state."] #[inline(always)] - #[must_use] pub fn lslp_mem_pd_mask(&mut self) -> LSLP_MEM_PD_MASK_W { LSLP_MEM_PD_MASK_W::new(self, 0) } diff --git a/esp32s2/src/system/perip_clk_en0.rs b/esp32s2/src/system/perip_clk_en0.rs index fbbba84121..c8c5b84ba4 100644 --- a/esp32s2/src/system/perip_clk_en0.rs +++ b/esp32s2/src/system/perip_clk_en0.rs @@ -334,193 +334,161 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable clock of timers."] #[inline(always)] - #[must_use] pub fn timers_clk_en(&mut self) -> TIMERS_CLK_EN_W { TIMERS_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to enable clock of SPI0 and SPI1."] #[inline(always)] - #[must_use] pub fn spi01_clk_en(&mut self) -> SPI01_CLK_EN_W { SPI01_CLK_EN_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to enable clock of UART0."] #[inline(always)] - #[must_use] pub fn uart_clk_en(&mut self) -> UART_CLK_EN_W { UART_CLK_EN_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to enable clock of WDG."] #[inline(always)] - #[must_use] pub fn wdg_clk_en(&mut self) -> WDG_CLK_EN_W { WDG_CLK_EN_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to enable clock of I2S0."] #[inline(always)] - #[must_use] pub fn i2s0_clk_en(&mut self) -> I2S0_CLK_EN_W { I2S0_CLK_EN_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to enable clock of UART1."] #[inline(always)] - #[must_use] pub fn uart1_clk_en(&mut self) -> UART1_CLK_EN_W { UART1_CLK_EN_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to enable clock of SPI2."] #[inline(always)] - #[must_use] pub fn spi2_clk_en(&mut self) -> SPI2_CLK_EN_W { SPI2_CLK_EN_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to enable clock of I2C EXT0."] #[inline(always)] - #[must_use] pub fn i2c_ext0_clk_en(&mut self) -> I2C_EXT0_CLK_EN_W { I2C_EXT0_CLK_EN_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to enable clock of UHCI0."] #[inline(always)] - #[must_use] pub fn uhci0_clk_en(&mut self) -> UHCI0_CLK_EN_W { UHCI0_CLK_EN_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to enable clock of remote controller."] #[inline(always)] - #[must_use] pub fn rmt_clk_en(&mut self) -> RMT_CLK_EN_W { RMT_CLK_EN_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to enable clock of pulse count."] #[inline(always)] - #[must_use] pub fn pcnt_clk_en(&mut self) -> PCNT_CLK_EN_W { PCNT_CLK_EN_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to enable clock of LED PWM."] #[inline(always)] - #[must_use] pub fn ledc_clk_en(&mut self) -> LEDC_CLK_EN_W { LEDC_CLK_EN_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to enable clock of UHCI1."] #[inline(always)] - #[must_use] pub fn uhci1_clk_en(&mut self) -> UHCI1_CLK_EN_W { UHCI1_CLK_EN_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to enable clock of timer group0."] #[inline(always)] - #[must_use] pub fn timergroup_clk_en(&mut self) -> TIMERGROUP_CLK_EN_W { TIMERGROUP_CLK_EN_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to enable clock of eFuse."] #[inline(always)] - #[must_use] pub fn efuse_clk_en(&mut self) -> EFUSE_CLK_EN_W { EFUSE_CLK_EN_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to enable clock of timer group1."] #[inline(always)] - #[must_use] pub fn timergroup1_clk_en(&mut self) -> TIMERGROUP1_CLK_EN_W { TIMERGROUP1_CLK_EN_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to enable clock of SPI3."] #[inline(always)] - #[must_use] pub fn spi3_clk_en(&mut self) -> SPI3_CLK_EN_W { SPI3_CLK_EN_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to enable clock of PWM0."] #[inline(always)] - #[must_use] pub fn pwm0_clk_en(&mut self) -> PWM0_CLK_EN_W { PWM0_CLK_EN_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to enable clock of I2C EXT1."] #[inline(always)] - #[must_use] pub fn i2c_ext1_clk_en(&mut self) -> I2C_EXT1_CLK_EN_W { I2C_EXT1_CLK_EN_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to enable clock of CAN."] #[inline(always)] - #[must_use] pub fn twai_clk_en(&mut self) -> TWAI_CLK_EN_W { TWAI_CLK_EN_W::new(self, 19) } #[doc = "Bit 20 - Set this bit to enable clock of PWM1."] #[inline(always)] - #[must_use] pub fn pwm1_clk_en(&mut self) -> PWM1_CLK_EN_W { PWM1_CLK_EN_W::new(self, 20) } #[doc = "Bit 21 - Set this bit to enable clock of I2S1."] #[inline(always)] - #[must_use] pub fn i2s1_clk_en(&mut self) -> I2S1_CLK_EN_W { I2S1_CLK_EN_W::new(self, 21) } #[doc = "Bit 22 - Set this bit to enable clock of SPI2 DMA."] #[inline(always)] - #[must_use] pub fn spi2_dma_clk_en(&mut self) -> SPI2_DMA_CLK_EN_W { SPI2_DMA_CLK_EN_W::new(self, 22) } #[doc = "Bit 23 - Set this bit to enable clock of USB."] #[inline(always)] - #[must_use] pub fn usb_clk_en(&mut self) -> USB_CLK_EN_W { USB_CLK_EN_W::new(self, 23) } #[doc = "Bit 24 - Set this bit to enable clock of UART memory."] #[inline(always)] - #[must_use] pub fn uart_mem_clk_en(&mut self) -> UART_MEM_CLK_EN_W { UART_MEM_CLK_EN_W::new(self, 24) } #[doc = "Bit 25 - Set this bit to enable clock of PWM2."] #[inline(always)] - #[must_use] pub fn pwm2_clk_en(&mut self) -> PWM2_CLK_EN_W { PWM2_CLK_EN_W::new(self, 25) } #[doc = "Bit 26 - Set this bit to enable clock of PWM3."] #[inline(always)] - #[must_use] pub fn pwm3_clk_en(&mut self) -> PWM3_CLK_EN_W { PWM3_CLK_EN_W::new(self, 26) } #[doc = "Bit 27 - Set this bit to enable clock of SPI3 DMA."] #[inline(always)] - #[must_use] pub fn spi3_dma_clk_en(&mut self) -> SPI3_DMA_CLK_EN_W { SPI3_DMA_CLK_EN_W::new(self, 27) } #[doc = "Bit 28 - Set this bit to enable clock of SAR ADC."] #[inline(always)] - #[must_use] pub fn apb_saradc_clk_en(&mut self) -> APB_SARADC_CLK_EN_W { APB_SARADC_CLK_EN_W::new(self, 28) } #[doc = "Bit 29 - Set this bit to enable clock of system timer."] #[inline(always)] - #[must_use] pub fn systimer_clk_en(&mut self) -> SYSTIMER_CLK_EN_W { SYSTIMER_CLK_EN_W::new(self, 29) } #[doc = "Bit 30 - Set this bit to enable clock of aribiter of ADC2."] #[inline(always)] - #[must_use] pub fn adc2_arb_clk_en(&mut self) -> ADC2_ARB_CLK_EN_W { ADC2_ARB_CLK_EN_W::new(self, 30) } #[doc = "Bit 31 - Set this bit to enable clock of SPI4."] #[inline(always)] - #[must_use] pub fn spi4_clk_en(&mut self) -> SPI4_CLK_EN_W { SPI4_CLK_EN_W::new(self, 31) } diff --git a/esp32s2/src/system/perip_clk_en1.rs b/esp32s2/src/system/perip_clk_en1.rs index dc401701ae..169d757712 100644 --- a/esp32s2/src/system/perip_clk_en1.rs +++ b/esp32s2/src/system/perip_clk_en1.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - Set this bit to enable clock of cryptography AES."] #[inline(always)] - #[must_use] pub fn crypto_aes_clk_en(&mut self) -> CRYPTO_AES_CLK_EN_W { CRYPTO_AES_CLK_EN_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to enable clock of cryptography SHA."] #[inline(always)] - #[must_use] pub fn crypto_sha_clk_en(&mut self) -> CRYPTO_SHA_CLK_EN_W { CRYPTO_SHA_CLK_EN_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to enable clock of cryptography RSA."] #[inline(always)] - #[must_use] pub fn crypto_rsa_clk_en(&mut self) -> CRYPTO_RSA_CLK_EN_W { CRYPTO_RSA_CLK_EN_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to enable clock of cryptography Digital Signature."] #[inline(always)] - #[must_use] pub fn crypto_ds_clk_en(&mut self) -> CRYPTO_DS_CLK_EN_W { CRYPTO_DS_CLK_EN_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to enable clock of cryptography HMAC."] #[inline(always)] - #[must_use] pub fn crypto_hmac_clk_en(&mut self) -> CRYPTO_HMAC_CLK_EN_W { CRYPTO_HMAC_CLK_EN_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to enable clock of cryptography DMA."] #[inline(always)] - #[must_use] pub fn crypto_dma_clk_en(&mut self) -> CRYPTO_DMA_CLK_EN_W { CRYPTO_DMA_CLK_EN_W::new(self, 6) } diff --git a/esp32s2/src/system/perip_rst_en0.rs b/esp32s2/src/system/perip_rst_en0.rs index f4952621ab..0c9e98f72f 100644 --- a/esp32s2/src/system/perip_rst_en0.rs +++ b/esp32s2/src/system/perip_rst_en0.rs @@ -334,193 +334,161 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to reset timers."] #[inline(always)] - #[must_use] pub fn timers_rst(&mut self) -> TIMERS_RST_W { TIMERS_RST_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to reset SPI0 and SPI1."] #[inline(always)] - #[must_use] pub fn spi01_rst(&mut self) -> SPI01_RST_W { SPI01_RST_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to reset UART0."] #[inline(always)] - #[must_use] pub fn uart_rst(&mut self) -> UART_RST_W { UART_RST_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to reset WDG."] #[inline(always)] - #[must_use] pub fn wdg_rst(&mut self) -> WDG_RST_W { WDG_RST_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to reset I2S0."] #[inline(always)] - #[must_use] pub fn i2s0_rst(&mut self) -> I2S0_RST_W { I2S0_RST_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to reset UART1."] #[inline(always)] - #[must_use] pub fn uart1_rst(&mut self) -> UART1_RST_W { UART1_RST_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to reset SPI2."] #[inline(always)] - #[must_use] pub fn spi2_rst(&mut self) -> SPI2_RST_W { SPI2_RST_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to reset I2C EXT0."] #[inline(always)] - #[must_use] pub fn i2c_ext0_rst(&mut self) -> I2C_EXT0_RST_W { I2C_EXT0_RST_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to reset UHCI0."] #[inline(always)] - #[must_use] pub fn uhci0_rst(&mut self) -> UHCI0_RST_W { UHCI0_RST_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to reset remote controller."] #[inline(always)] - #[must_use] pub fn rmt_rst(&mut self) -> RMT_RST_W { RMT_RST_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to reset pulse count."] #[inline(always)] - #[must_use] pub fn pcnt_rst(&mut self) -> PCNT_RST_W { PCNT_RST_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to reset LED PWM."] #[inline(always)] - #[must_use] pub fn ledc_rst(&mut self) -> LEDC_RST_W { LEDC_RST_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to reset UHCI1."] #[inline(always)] - #[must_use] pub fn uhci1_rst(&mut self) -> UHCI1_RST_W { UHCI1_RST_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to reset timer group0."] #[inline(always)] - #[must_use] pub fn timergroup_rst(&mut self) -> TIMERGROUP_RST_W { TIMERGROUP_RST_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to reset eFuse."] #[inline(always)] - #[must_use] pub fn efuse_rst(&mut self) -> EFUSE_RST_W { EFUSE_RST_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to reset timer group1."] #[inline(always)] - #[must_use] pub fn timergroup1_rst(&mut self) -> TIMERGROUP1_RST_W { TIMERGROUP1_RST_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to reset SPI3."] #[inline(always)] - #[must_use] pub fn spi3_rst(&mut self) -> SPI3_RST_W { SPI3_RST_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to reset PWM0."] #[inline(always)] - #[must_use] pub fn pwm0_rst(&mut self) -> PWM0_RST_W { PWM0_RST_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to reset I2C EXT1."] #[inline(always)] - #[must_use] pub fn i2c_ext1_rst(&mut self) -> I2C_EXT1_RST_W { I2C_EXT1_RST_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to reset CAN."] #[inline(always)] - #[must_use] pub fn twai_rst(&mut self) -> TWAI_RST_W { TWAI_RST_W::new(self, 19) } #[doc = "Bit 20 - Set this bit to reset PWM1."] #[inline(always)] - #[must_use] pub fn pwm1_rst(&mut self) -> PWM1_RST_W { PWM1_RST_W::new(self, 20) } #[doc = "Bit 21 - Set this bit to reset I2S1."] #[inline(always)] - #[must_use] pub fn i2s1_rst(&mut self) -> I2S1_RST_W { I2S1_RST_W::new(self, 21) } #[doc = "Bit 22 - Set this bit to reset SPI2 DMA."] #[inline(always)] - #[must_use] pub fn spi2_dma_rst(&mut self) -> SPI2_DMA_RST_W { SPI2_DMA_RST_W::new(self, 22) } #[doc = "Bit 23 - Set this bit to reset USB."] #[inline(always)] - #[must_use] pub fn usb_rst(&mut self) -> USB_RST_W { USB_RST_W::new(self, 23) } #[doc = "Bit 24 - Set this bit to reset UART memory."] #[inline(always)] - #[must_use] pub fn uart_mem_rst(&mut self) -> UART_MEM_RST_W { UART_MEM_RST_W::new(self, 24) } #[doc = "Bit 25 - Set this bit to reset PWM2."] #[inline(always)] - #[must_use] pub fn pwm2_rst(&mut self) -> PWM2_RST_W { PWM2_RST_W::new(self, 25) } #[doc = "Bit 26 - Set this bit to reset PWM3."] #[inline(always)] - #[must_use] pub fn pwm3_rst(&mut self) -> PWM3_RST_W { PWM3_RST_W::new(self, 26) } #[doc = "Bit 27 - Set this bit to reset SPI3 DMA."] #[inline(always)] - #[must_use] pub fn spi3_dma_rst(&mut self) -> SPI3_DMA_RST_W { SPI3_DMA_RST_W::new(self, 27) } #[doc = "Bit 28 - Set this bit to reset SAR ADC."] #[inline(always)] - #[must_use] pub fn apb_saradc_rst(&mut self) -> APB_SARADC_RST_W { APB_SARADC_RST_W::new(self, 28) } #[doc = "Bit 29 - Set this bit to reset system timer."] #[inline(always)] - #[must_use] pub fn systimer_rst(&mut self) -> SYSTIMER_RST_W { SYSTIMER_RST_W::new(self, 29) } #[doc = "Bit 30 - Set this bit to reset aribiter of ADC2."] #[inline(always)] - #[must_use] pub fn adc2_arb_rst(&mut self) -> ADC2_ARB_RST_W { ADC2_ARB_RST_W::new(self, 30) } #[doc = "Bit 31 - Set this bit to reset SPI4."] #[inline(always)] - #[must_use] pub fn spi4_rst(&mut self) -> SPI4_RST_W { SPI4_RST_W::new(self, 31) } diff --git a/esp32s2/src/system/perip_rst_en1.rs b/esp32s2/src/system/perip_rst_en1.rs index 501cc82c1e..372e7e6ad2 100644 --- a/esp32s2/src/system/perip_rst_en1.rs +++ b/esp32s2/src/system/perip_rst_en1.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - Set this bit to reset cryptography AES."] #[inline(always)] - #[must_use] pub fn crypto_aes_rst(&mut self) -> CRYPTO_AES_RST_W { CRYPTO_AES_RST_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to reset cryptography SHA."] #[inline(always)] - #[must_use] pub fn crypto_sha_rst(&mut self) -> CRYPTO_SHA_RST_W { CRYPTO_SHA_RST_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to reset cryptography RSA."] #[inline(always)] - #[must_use] pub fn crypto_rsa_rst(&mut self) -> CRYPTO_RSA_RST_W { CRYPTO_RSA_RST_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to reset cryptography digital signature."] #[inline(always)] - #[must_use] pub fn crypto_ds_rst(&mut self) -> CRYPTO_DS_RST_W { CRYPTO_DS_RST_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to reset cryptography HMAC."] #[inline(always)] - #[must_use] pub fn crypto_hmac_rst(&mut self) -> CRYPTO_HMAC_RST_W { CRYPTO_HMAC_RST_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to reset cryptography DMA."] #[inline(always)] - #[must_use] pub fn crypto_dma_rst(&mut self) -> CRYPTO_DMA_RST_W { CRYPTO_DMA_RST_W::new(self, 6) } diff --git a/esp32s2/src/system/redundant_eco_ctrl.rs b/esp32s2/src/system/redundant_eco_ctrl.rs index a1051e93ef..4194c4c63c 100644 --- a/esp32s2/src/system/redundant_eco_ctrl.rs +++ b/esp32s2/src/system/redundant_eco_ctrl.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The redundant ECO drive bit to avoid optimization in circuits."] #[inline(always)] - #[must_use] pub fn redundant_eco_drive(&mut self) -> REDUNDANT_ECO_DRIVE_W { REDUNDANT_ECO_DRIVE_W::new(self, 0) } diff --git a/esp32s2/src/system/rom_ctrl_0.rs b/esp32s2/src/system/rom_ctrl_0.rs index 3709f8d8ff..d490b973ac 100644 --- a/esp32s2/src/system/rom_ctrl_0.rs +++ b/esp32s2/src/system/rom_ctrl_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - This field is used to force on clock gate of internal ROM."] #[inline(always)] - #[must_use] pub fn rom_fo(&mut self) -> ROM_FO_W { ROM_FO_W::new(self, 0) } diff --git a/esp32s2/src/system/rom_ctrl_1.rs b/esp32s2/src/system/rom_ctrl_1.rs index e931f8f158..c51a02dcb4 100644 --- a/esp32s2/src/system/rom_ctrl_1.rs +++ b/esp32s2/src/system/rom_ctrl_1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - This field is used to power down internal ROM."] #[inline(always)] - #[must_use] pub fn rom_force_pd(&mut self) -> ROM_FORCE_PD_W { ROM_FORCE_PD_W::new(self, 0) } #[doc = "Bits 2:3 - This field is used to power up internal ROM."] #[inline(always)] - #[must_use] pub fn rom_force_pu(&mut self) -> ROM_FORCE_PU_W { ROM_FORCE_PU_W::new(self, 2) } diff --git a/esp32s2/src/system/rsa_pd_ctrl.rs b/esp32s2/src/system/rsa_pd_ctrl.rs index 19ec505570..d8cc8f0595 100644 --- a/esp32s2/src/system/rsa_pd_ctrl.rs +++ b/esp32s2/src/system/rsa_pd_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to power down RSA memory. This bit has the lowest priority. When Digital Signature occupies the RSA, this bit is invalid."] #[inline(always)] - #[must_use] pub fn rsa_mem_pd(&mut self) -> RSA_MEM_PD_W { RSA_MEM_PD_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to force power up RSA memory. This bit has the second highest priority."] #[inline(always)] - #[must_use] pub fn rsa_mem_force_pu(&mut self) -> RSA_MEM_FORCE_PU_W { RSA_MEM_FORCE_PU_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to force power down RSA memory. This bit has the highest priority."] #[inline(always)] - #[must_use] pub fn rsa_mem_force_pd(&mut self) -> RSA_MEM_FORCE_PD_W { RSA_MEM_FORCE_PD_W::new(self, 2) } diff --git a/esp32s2/src/system/rtc_fastmem_config.rs b/esp32s2/src/system/rtc_fastmem_config.rs index b44367fc76..11352d35d3 100644 --- a/esp32s2/src/system/rtc_fastmem_config.rs +++ b/esp32s2/src/system/rtc_fastmem_config.rs @@ -52,19 +52,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 8 - Set this bit to start the CRC of RTC memory."] #[inline(always)] - #[must_use] pub fn rtc_mem_crc_start(&mut self) -> RTC_MEM_CRC_START_W { RTC_MEM_CRC_START_W::new(self, 8) } #[doc = "Bits 9:19 - This field is used to set address of RTC memory for CRC."] #[inline(always)] - #[must_use] pub fn rtc_mem_crc_addr(&mut self) -> RTC_MEM_CRC_ADDR_W { RTC_MEM_CRC_ADDR_W::new(self, 9) } #[doc = "Bits 20:30 - This field is used to set length of RTC memory for CRC based on start address."] #[inline(always)] - #[must_use] pub fn rtc_mem_crc_len(&mut self) -> RTC_MEM_CRC_LEN_W { RTC_MEM_CRC_LEN_W::new(self, 20) } diff --git a/esp32s2/src/system/sram_ctrl_0.rs b/esp32s2/src/system/sram_ctrl_0.rs index b2ec4ca1cf..ea1c7a6423 100644 --- a/esp32s2/src/system/sram_ctrl_0.rs +++ b/esp32s2/src/system/sram_ctrl_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - This field is used to force on clock gate of internal SRAM."] #[inline(always)] - #[must_use] pub fn sram_fo(&mut self) -> SRAM_FO_W { SRAM_FO_W::new(self, 0) } diff --git a/esp32s2/src/system/sram_ctrl_1.rs b/esp32s2/src/system/sram_ctrl_1.rs index 8eee156452..7b872a65f4 100644 --- a/esp32s2/src/system/sram_ctrl_1.rs +++ b/esp32s2/src/system/sram_ctrl_1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - This field is used to power down internal SRAM."] #[inline(always)] - #[must_use] pub fn sram_force_pd(&mut self) -> SRAM_FORCE_PD_W { SRAM_FORCE_PD_W::new(self, 0) } diff --git a/esp32s2/src/system/sram_ctrl_2.rs b/esp32s2/src/system/sram_ctrl_2.rs index b804a0645f..626201e5a6 100644 --- a/esp32s2/src/system/sram_ctrl_2.rs +++ b/esp32s2/src/system/sram_ctrl_2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - This field is used to power up internal SRAM."] #[inline(always)] - #[must_use] pub fn sram_force_pu(&mut self) -> SRAM_FORCE_PU_W { SRAM_FORCE_PU_W::new(self, 0) } diff --git a/esp32s2/src/system/sysclk_conf.rs b/esp32s2/src/system/sysclk_conf.rs index 55ccb02b03..004d8aa936 100644 --- a/esp32s2/src/system/sysclk_conf.rs +++ b/esp32s2/src/system/sysclk_conf.rs @@ -50,13 +50,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - This field is used to set the count of prescaler of XTAL\\_CLK."] #[inline(always)] - #[must_use] pub fn pre_div_cnt(&mut self) -> PRE_DIV_CNT_W { PRE_DIV_CNT_W::new(self, 0) } #[doc = "Bits 10:11 - This field is used to select SOC clock."] #[inline(always)] - #[must_use] pub fn soc_clk_sel(&mut self) -> SOC_CLK_SEL_W { SOC_CLK_SEL_W::new(self, 10) } diff --git a/esp32s2/src/systimer/conf.rs b/esp32s2/src/systimer/conf.rs index a70ca13d8c..aa8cc62086 100644 --- a/esp32s2/src/systimer/conf.rs +++ b/esp32s2/src/systimer/conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - System timer clock force enable."] #[inline(always)] - #[must_use] pub fn clk_fo(&mut self) -> CLK_FO_W { CLK_FO_W::new(self, 0) } #[doc = "Bit 31 - Register clock enable."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32s2/src/systimer/date.rs b/esp32s2/src/systimer/date.rs index 1ba59f1f8e..502903fc40 100644 --- a/esp32s2/src/systimer/date.rs +++ b/esp32s2/src/systimer/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Version control register"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s2/src/systimer/int_clr.rs b/esp32s2/src/systimer/int_clr.rs index e4bbd5a8c1..ebeb706c22 100644 --- a/esp32s2/src/systimer/int_clr.rs +++ b/esp32s2/src/systimer/int_clr.rs @@ -13,7 +13,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TARGET0` field.
"] #[inline(always)] - #[must_use] pub fn target(&mut self, n: u8) -> TARGET_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -21,19 +20,16 @@ impl W { } #[doc = "Bit 0 - Interrupt clear bit of system timer target 0."] #[inline(always)] - #[must_use] pub fn target0(&mut self) -> TARGET_W { TARGET_W::new(self, 0) } #[doc = "Bit 1 - Interrupt clear bit of system timer target 1."] #[inline(always)] - #[must_use] pub fn target1(&mut self) -> TARGET_W { TARGET_W::new(self, 1) } #[doc = "Bit 2 - Interrupt clear bit of system timer target 2."] #[inline(always)] - #[must_use] pub fn target2(&mut self) -> TARGET_W { TARGET_W::new(self, 2) } @@ -47,7 +43,7 @@ impl crate::RegisterSpec for INT_CLR_SPEC { impl crate::Writable for INT_CLR_SPEC { type Safety = crate::Unsafe; const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0x01; + const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0x07; } #[doc = "`reset()` method sets INT_CLR to value 0"] impl crate::Resettable for INT_CLR_SPEC { diff --git a/esp32s2/src/systimer/int_ena.rs b/esp32s2/src/systimer/int_ena.rs index 8da4ef8096..1ae852bd18 100644 --- a/esp32s2/src/systimer/int_ena.rs +++ b/esp32s2/src/systimer/int_ena.rs @@ -53,7 +53,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TARGET0` field.
"] #[inline(always)] - #[must_use] pub fn target(&mut self, n: u8) -> TARGET_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -61,19 +60,16 @@ impl W { } #[doc = "Bit 0 - Interrupt enable bit of system timer target 0."] #[inline(always)] - #[must_use] pub fn target0(&mut self) -> TARGET_W { TARGET_W::new(self, 0) } #[doc = "Bit 1 - Interrupt enable bit of system timer target 1."] #[inline(always)] - #[must_use] pub fn target1(&mut self) -> TARGET_W { TARGET_W::new(self, 1) } #[doc = "Bit 2 - Interrupt enable bit of system timer target 2."] #[inline(always)] - #[must_use] pub fn target2(&mut self) -> TARGET_W { TARGET_W::new(self, 2) } diff --git a/esp32s2/src/systimer/load.rs b/esp32s2/src/systimer/load.rs index 2417d7c91c..7bc581d336 100644 --- a/esp32s2/src/systimer/load.rs +++ b/esp32s2/src/systimer/load.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - Set this bit to 1, the value stored in SYSTIMER_TIMER_LOAD_HI and in SYSTIMER_TIMER_LOAD_LO will be loaded to system timer"] #[inline(always)] - #[must_use] pub fn load(&mut self) -> LOAD_W { LOAD_W::new(self, 31) } diff --git a/esp32s2/src/systimer/load_hi.rs b/esp32s2/src/systimer/load_hi.rs index feb10a67ef..cee6fd17f5 100644 --- a/esp32s2/src/systimer/load_hi.rs +++ b/esp32s2/src/systimer/load_hi.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The value to be loaded into system timer, high 32 bits."] #[inline(always)] - #[must_use] pub fn load_hi(&mut self) -> LOAD_HI_W { LOAD_HI_W::new(self, 0) } diff --git a/esp32s2/src/systimer/load_lo.rs b/esp32s2/src/systimer/load_lo.rs index fbca463174..39590725e6 100644 --- a/esp32s2/src/systimer/load_lo.rs +++ b/esp32s2/src/systimer/load_lo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The value to be loaded into system timer, low 32 bits."] #[inline(always)] - #[must_use] pub fn load_lo(&mut self) -> LOAD_LO_W { LOAD_LO_W::new(self, 0) } diff --git a/esp32s2/src/systimer/step.rs b/esp32s2/src/systimer/step.rs index a1d227eadf..26fc939210 100644 --- a/esp32s2/src/systimer/step.rs +++ b/esp32s2/src/systimer/step.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - Set system timer increment step when using XTAL_CLK."] #[inline(always)] - #[must_use] pub fn xtal_step(&mut self) -> XTAL_STEP_W { XTAL_STEP_W::new(self, 0) } #[doc = "Bits 10:19 - Set system timer increment step when using PLL_CLK"] #[inline(always)] - #[must_use] pub fn pll_step(&mut self) -> PLL_STEP_W { PLL_STEP_W::new(self, 10) } diff --git a/esp32s2/src/systimer/target_conf.rs b/esp32s2/src/systimer/target_conf.rs index d48d58522c..274b0fa15c 100644 --- a/esp32s2/src/systimer/target_conf.rs +++ b/esp32s2/src/systimer/target_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Set alarm period for system timer target 0, only valid in periodic alarms mode."] #[inline(always)] - #[must_use] pub fn period(&mut self) -> PERIOD_W { PERIOD_W::new(self, 0) } #[doc = "Bit 30 - Set work mode for system timer target 0. 0: work in a timedelay alarm mode; 1: work in periodic alarms mode."] #[inline(always)] - #[must_use] pub fn period_mode(&mut self) -> PERIOD_MODE_W { PERIOD_MODE_W::new(self, 30) } #[doc = "Bit 31 - System timer target 0 work enable."] #[inline(always)] - #[must_use] pub fn work_en(&mut self) -> WORK_EN_W { WORK_EN_W::new(self, 31) } diff --git a/esp32s2/src/systimer/trgt/hi.rs b/esp32s2/src/systimer/trgt/hi.rs index fd8dca229c..b507275aa5 100644 --- a/esp32s2/src/systimer/trgt/hi.rs +++ b/esp32s2/src/systimer/trgt/hi.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - System timer target 0, high 32 bits."] #[inline(always)] - #[must_use] pub fn hi(&mut self) -> HI_W { HI_W::new(self, 0) } diff --git a/esp32s2/src/systimer/trgt/lo.rs b/esp32s2/src/systimer/trgt/lo.rs index ab337f2ad4..c98e318018 100644 --- a/esp32s2/src/systimer/trgt/lo.rs +++ b/esp32s2/src/systimer/trgt/lo.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - System timer target 0, low 32 bits."] #[inline(always)] - #[must_use] pub fn lo(&mut self) -> LO_W { LO_W::new(self, 0) } diff --git a/esp32s2/src/systimer/unit_op.rs b/esp32s2/src/systimer/unit_op.rs index d7f6e5baaa..fbf6847875 100644 --- a/esp32s2/src/systimer/unit_op.rs +++ b/esp32s2/src/systimer/unit_op.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - Update system timer value to registers."] #[inline(always)] - #[must_use] pub fn update(&mut self) -> UPDATE_W { UPDATE_W::new(self, 31) } diff --git a/esp32s2/src/timg0/int_clr.rs b/esp32s2/src/timg0/int_clr.rs index 9523dd183c..52433857f0 100644 --- a/esp32s2/src/timg0/int_clr.rs +++ b/esp32s2/src/timg0/int_clr.rs @@ -17,7 +17,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `T0` field.
"] #[inline(always)] - #[must_use] pub fn t(&mut self, n: u8) -> T_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -25,25 +24,21 @@ impl W { } #[doc = "Bit 0 - Set this bit to clear the TIMG_T0_INT interrupt."] #[inline(always)] - #[must_use] pub fn t0(&mut self) -> T_W { T_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the TIMG_T1_INT interrupt."] #[inline(always)] - #[must_use] pub fn t1(&mut self) -> T_W { T_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the TIMG_WDT_INT interrupt."] #[inline(always)] - #[must_use] pub fn wdt(&mut self) -> WDT_W { WDT_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the TIMG_LACT_INT interrupt."] #[inline(always)] - #[must_use] pub fn lact(&mut self) -> LACT_W { LACT_W::new(self, 3) } @@ -57,7 +52,7 @@ impl crate::RegisterSpec for INT_CLR_SPEC { impl crate::Writable for INT_CLR_SPEC { type Safety = crate::Unsafe; const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0x0d; + const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0x0f; } #[doc = "`reset()` method sets INT_CLR to value 0"] impl crate::Resettable for INT_CLR_SPEC { diff --git a/esp32s2/src/timg0/int_ena.rs b/esp32s2/src/timg0/int_ena.rs index bf6f372558..57ed6cfbb3 100644 --- a/esp32s2/src/timg0/int_ena.rs +++ b/esp32s2/src/timg0/int_ena.rs @@ -67,7 +67,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `T0` field.
"] #[inline(always)] - #[must_use] pub fn t(&mut self, n: u8) -> T_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -75,25 +74,21 @@ impl W { } #[doc = "Bit 0 - The interrupt enable bit for the TIMG_T0_INT interrupt."] #[inline(always)] - #[must_use] pub fn t0(&mut self) -> T_W { T_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the TIMG_T1_INT interrupt."] #[inline(always)] - #[must_use] pub fn t1(&mut self) -> T_W { T_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the TIMG_WDT_INT interrupt."] #[inline(always)] - #[must_use] pub fn wdt(&mut self) -> WDT_W { WDT_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the TIMG_LACT_INT interrupt."] #[inline(always)] - #[must_use] pub fn lact(&mut self) -> LACT_W { LACT_W::new(self, 3) } diff --git a/esp32s2/src/timg0/lactalarmhi.rs b/esp32s2/src/timg0/lactalarmhi.rs index 15bb7810ad..74dafbfb4c 100644 --- a/esp32s2/src/timg0/lactalarmhi.rs +++ b/esp32s2/src/timg0/lactalarmhi.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Reserved."] #[inline(always)] - #[must_use] pub fn alarm_hi(&mut self) -> ALARM_HI_W { ALARM_HI_W::new(self, 0) } diff --git a/esp32s2/src/timg0/lactalarmlo.rs b/esp32s2/src/timg0/lactalarmlo.rs index 5c359cf0a5..f0047959d4 100644 --- a/esp32s2/src/timg0/lactalarmlo.rs +++ b/esp32s2/src/timg0/lactalarmlo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Reserved."] #[inline(always)] - #[must_use] pub fn alarm_lo(&mut self) -> ALARM_LO_W { ALARM_LO_W::new(self, 0) } diff --git a/esp32s2/src/timg0/lactconfig.rs b/esp32s2/src/timg0/lactconfig.rs index 9662cc78cb..c1f0926609 100644 --- a/esp32s2/src/timg0/lactconfig.rs +++ b/esp32s2/src/timg0/lactconfig.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 6 - Reserved."] #[inline(always)] - #[must_use] pub fn use_reftick(&mut self) -> USE_REFTICK_W { USE_REFTICK_W::new(self, 6) } #[doc = "Bit 7 - Reserved."] #[inline(always)] - #[must_use] pub fn rtc_only(&mut self) -> RTC_ONLY_W { RTC_ONLY_W::new(self, 7) } #[doc = "Bit 8 - Reserved."] #[inline(always)] - #[must_use] pub fn cpst_en(&mut self) -> CPST_EN_W { CPST_EN_W::new(self, 8) } #[doc = "Bit 9 - Reserved."] #[inline(always)] - #[must_use] pub fn lac_en(&mut self) -> LAC_EN_W { LAC_EN_W::new(self, 9) } #[doc = "Bit 10 - Reserved."] #[inline(always)] - #[must_use] pub fn alarm_en(&mut self) -> ALARM_EN_W { ALARM_EN_W::new(self, 10) } #[doc = "Bit 11 - Reserved."] #[inline(always)] - #[must_use] pub fn level_int_en(&mut self) -> LEVEL_INT_EN_W { LEVEL_INT_EN_W::new(self, 11) } #[doc = "Bit 12 - Reserved."] #[inline(always)] - #[must_use] pub fn edge_int_en(&mut self) -> EDGE_INT_EN_W { EDGE_INT_EN_W::new(self, 12) } #[doc = "Bits 13:28 - Reserved."] #[inline(always)] - #[must_use] pub fn divider(&mut self) -> DIVIDER_W { DIVIDER_W::new(self, 13) } #[doc = "Bit 29 - Reserved."] #[inline(always)] - #[must_use] pub fn autoreload(&mut self) -> AUTORELOAD_W { AUTORELOAD_W::new(self, 29) } #[doc = "Bit 30 - Reserved."] #[inline(always)] - #[must_use] pub fn increase(&mut self) -> INCREASE_W { INCREASE_W::new(self, 30) } #[doc = "Bit 31 - Reserved."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 31) } diff --git a/esp32s2/src/timg0/lactload.rs b/esp32s2/src/timg0/lactload.rs index 5ec33d3854..808d816f67 100644 --- a/esp32s2/src/timg0/lactload.rs +++ b/esp32s2/src/timg0/lactload.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - Reserved."] #[inline(always)] - #[must_use] pub fn load(&mut self) -> LOAD_W { LOAD_W::new(self, 0) } diff --git a/esp32s2/src/timg0/lactloadhi.rs b/esp32s2/src/timg0/lactloadhi.rs index 8704fe790f..e723abfcac 100644 --- a/esp32s2/src/timg0/lactloadhi.rs +++ b/esp32s2/src/timg0/lactloadhi.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Reserved."] #[inline(always)] - #[must_use] pub fn load_hi(&mut self) -> LOAD_HI_W { LOAD_HI_W::new(self, 0) } diff --git a/esp32s2/src/timg0/lactloadlo.rs b/esp32s2/src/timg0/lactloadlo.rs index 17eb7bfb9b..4d7d7d8fa8 100644 --- a/esp32s2/src/timg0/lactloadlo.rs +++ b/esp32s2/src/timg0/lactloadlo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Reserved."] #[inline(always)] - #[must_use] pub fn load_lo(&mut self) -> LOAD_LO_W { LOAD_LO_W::new(self, 0) } diff --git a/esp32s2/src/timg0/lactrtc.rs b/esp32s2/src/timg0/lactrtc.rs index 76ab945f59..62c8e42cc9 100644 --- a/esp32s2/src/timg0/lactrtc.rs +++ b/esp32s2/src/timg0/lactrtc.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 6:31 - Reserved."] #[inline(always)] - #[must_use] pub fn rtc_step_len(&mut self) -> RTC_STEP_LEN_W { RTC_STEP_LEN_W::new(self, 6) } diff --git a/esp32s2/src/timg0/lactupdate.rs b/esp32s2/src/timg0/lactupdate.rs index 0c1e251b7e..26456e1250 100644 --- a/esp32s2/src/timg0/lactupdate.rs +++ b/esp32s2/src/timg0/lactupdate.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - Reserved."] #[inline(always)] - #[must_use] pub fn update(&mut self) -> UPDATE_W { UPDATE_W::new(self, 0) } diff --git a/esp32s2/src/timg0/regclk.rs b/esp32s2/src/timg0/regclk.rs index 2c4aaa291d..5868e75b49 100644 --- a/esp32s2/src/timg0/regclk.rs +++ b/esp32s2/src/timg0/regclk.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - Register clock gate signal. 1: Registers can be read and written to by software. 0: Registers can not be read or written to by software."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32s2/src/timg0/rtccalicfg.rs b/esp32s2/src/timg0/rtccalicfg.rs index e92d2d8b5e..f980c3ef11 100644 --- a/esp32s2/src/timg0/rtccalicfg.rs +++ b/esp32s2/src/timg0/rtccalicfg.rs @@ -62,25 +62,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - When set, periodic calibration is enabled."] #[inline(always)] - #[must_use] pub fn rtc_cali_start_cycling(&mut self) -> RTC_CALI_START_CYCLING_W { RTC_CALI_START_CYCLING_W::new(self, 12) } #[doc = "Bits 13:14 - Used to select the clock to be calibrated. 0: RTC_CLK. 1: RTC20M_D256_CLK. 2: XTAL32K_CLK."] #[inline(always)] - #[must_use] pub fn rtc_cali_clk_sel(&mut self) -> RTC_CALI_CLK_SEL_W { RTC_CALI_CLK_SEL_W::new(self, 13) } #[doc = "Bits 16:30 - Calibration time, in cycles of the clock to be calibrated."] #[inline(always)] - #[must_use] pub fn rtc_cali_max(&mut self) -> RTC_CALI_MAX_W { RTC_CALI_MAX_W::new(self, 16) } #[doc = "Bit 31 - Set this bit to starts calibration."] #[inline(always)] - #[must_use] pub fn rtc_cali_start(&mut self) -> RTC_CALI_START_W { RTC_CALI_START_W::new(self, 31) } diff --git a/esp32s2/src/timg0/rtccalicfg2.rs b/esp32s2/src/timg0/rtccalicfg2.rs index 9bcb8e66e3..c8e2a89280 100644 --- a/esp32s2/src/timg0/rtccalicfg2.rs +++ b/esp32s2/src/timg0/rtccalicfg2.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 3:6 - Cycles that release calibration timeout reset"] #[inline(always)] - #[must_use] pub fn rtc_cali_timeout_rst_cnt(&mut self) -> RTC_CALI_TIMEOUT_RST_CNT_W { RTC_CALI_TIMEOUT_RST_CNT_W::new(self, 3) } #[doc = "Bits 7:31 - Threshold value for the RTC calibration timer. If the calibration timer's value exceeds this threshold, a timeout is triggered."] #[inline(always)] - #[must_use] pub fn rtc_cali_timeout_thres(&mut self) -> RTC_CALI_TIMEOUT_THRES_W { RTC_CALI_TIMEOUT_THRES_W::new(self, 7) } diff --git a/esp32s2/src/timg0/t/alarmhi.rs b/esp32s2/src/timg0/t/alarmhi.rs index d608e7c336..aad4ff0ae7 100644 --- a/esp32s2/src/timg0/t/alarmhi.rs +++ b/esp32s2/src/timg0/t/alarmhi.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Timer %s alarm trigger time-base counter value, high 32 bits."] #[inline(always)] - #[must_use] pub fn alarm_hi(&mut self) -> ALARM_HI_W { ALARM_HI_W::new(self, 0) } diff --git a/esp32s2/src/timg0/t/alarmlo.rs b/esp32s2/src/timg0/t/alarmlo.rs index ecc2e8aae8..392a0eb764 100644 --- a/esp32s2/src/timg0/t/alarmlo.rs +++ b/esp32s2/src/timg0/t/alarmlo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Timer %s alarm trigger time-base counter value, low 32 bits."] #[inline(always)] - #[must_use] pub fn alarm_lo(&mut self) -> ALARM_LO_W { ALARM_LO_W::new(self, 0) } diff --git a/esp32s2/src/timg0/t/config.rs b/esp32s2/src/timg0/t/config.rs index 1012ac8317..90c0ed8f79 100644 --- a/esp32s2/src/timg0/t/config.rs +++ b/esp32s2/src/timg0/t/config.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 9 - 1: Use XTAL_CLK as the source clock of timer group. 0: Use APB_CLK as the source clock of timer group."] #[inline(always)] - #[must_use] pub fn use_xtal(&mut self) -> USE_XTAL_W { USE_XTAL_W::new(self, 9) } #[doc = "Bit 10 - When set, the alarm is enabled. This bit is automatically cleared once an alarm occurs."] #[inline(always)] - #[must_use] pub fn alarm_en(&mut self) -> ALARM_EN_W { ALARM_EN_W::new(self, 10) } #[doc = "Bit 11 - When set, an alarm will generate a level type interrupt."] #[inline(always)] - #[must_use] pub fn level_int_en(&mut self) -> LEVEL_INT_EN_W { LEVEL_INT_EN_W::new(self, 11) } #[doc = "Bit 12 - When set, an alarm will generate an edge type interrupt."] #[inline(always)] - #[must_use] pub fn edge_int_en(&mut self) -> EDGE_INT_EN_W { EDGE_INT_EN_W::new(self, 12) } #[doc = "Bits 13:28 - Timer %s clock (T%s_clk) prescaler value."] #[inline(always)] - #[must_use] pub fn divider(&mut self) -> DIVIDER_W { DIVIDER_W::new(self, 13) } #[doc = "Bit 29 - When set, timer %s auto-reload at alarm is enabled."] #[inline(always)] - #[must_use] pub fn autoreload(&mut self) -> AUTORELOAD_W { AUTORELOAD_W::new(self, 29) } #[doc = "Bit 30 - When set, the timer %s time-base counter will increment every clock tick. When cleared, the timer %s time-base counter will decrement."] #[inline(always)] - #[must_use] pub fn increase(&mut self) -> INCREASE_W { INCREASE_W::new(self, 30) } #[doc = "Bit 31 - When set, the timer %s time-base counter is enabled."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 31) } diff --git a/esp32s2/src/timg0/t/load.rs b/esp32s2/src/timg0/t/load.rs index b437ba594a..c44a604a74 100644 --- a/esp32s2/src/timg0/t/load.rs +++ b/esp32s2/src/timg0/t/load.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - Write any value to trigger a timer %s time-base counter reload."] #[inline(always)] - #[must_use] pub fn load(&mut self) -> LOAD_W { LOAD_W::new(self, 0) } diff --git a/esp32s2/src/timg0/t/loadhi.rs b/esp32s2/src/timg0/t/loadhi.rs index ee6c8b2e51..815927f406 100644 --- a/esp32s2/src/timg0/t/loadhi.rs +++ b/esp32s2/src/timg0/t/loadhi.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - High 32 bits of the value that a reload will load onto timer %s time-base counter."] #[inline(always)] - #[must_use] pub fn load_hi(&mut self) -> LOAD_HI_W { LOAD_HI_W::new(self, 0) } diff --git a/esp32s2/src/timg0/t/loadlo.rs b/esp32s2/src/timg0/t/loadlo.rs index a750b30d1f..f67544d164 100644 --- a/esp32s2/src/timg0/t/loadlo.rs +++ b/esp32s2/src/timg0/t/loadlo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Low 32 bits of the value that a reload will load onto timer %s time-base counter."] #[inline(always)] - #[must_use] pub fn load_lo(&mut self) -> LOAD_LO_W { LOAD_LO_W::new(self, 0) } diff --git a/esp32s2/src/timg0/t/update.rs b/esp32s2/src/timg0/t/update.rs index 8d735dc57f..e4ed42a343 100644 --- a/esp32s2/src/timg0/t/update.rs +++ b/esp32s2/src/timg0/t/update.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - After writing 0 or 1 to TIMG_T%sUPDATE_REG, the counter value is latched."] #[inline(always)] - #[must_use] pub fn update(&mut self) -> UPDATE_W { UPDATE_W::new(self, 31) } diff --git a/esp32s2/src/timg0/timers_date.rs b/esp32s2/src/timg0/timers_date.rs index f26eb4ae28..47485a02d0 100644 --- a/esp32s2/src/timg0/timers_date.rs +++ b/esp32s2/src/timg0/timers_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Version control register."] #[inline(always)] - #[must_use] pub fn timers_date(&mut self) -> TIMERS_DATE_W { TIMERS_DATE_W::new(self, 0) } diff --git a/esp32s2/src/timg0/wdtconfig0.rs b/esp32s2/src/timg0/wdtconfig0.rs index 446506bc84..f29e1c7faa 100644 --- a/esp32s2/src/timg0/wdtconfig0.rs +++ b/esp32s2/src/timg0/wdtconfig0.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - Reserved."] #[inline(always)] - #[must_use] pub fn wdt_appcpu_reset_en(&mut self) -> WDT_APPCPU_RESET_EN_W { WDT_APPCPU_RESET_EN_W::new(self, 12) } #[doc = "Bit 13 - WDT reset CPU enable."] #[inline(always)] - #[must_use] pub fn wdt_procpu_reset_en(&mut self) -> WDT_PROCPU_RESET_EN_W { WDT_PROCPU_RESET_EN_W::new(self, 13) } #[doc = "Bit 14 - When set, Flash boot protection is enabled."] #[inline(always)] - #[must_use] pub fn wdt_flashboot_mod_en(&mut self) -> WDT_FLASHBOOT_MOD_EN_W { WDT_FLASHBOOT_MOD_EN_W::new(self, 14) } #[doc = "Bits 15:17 - System reset signal length selection. 0: 100 ns. 1: 200 ns. 2: 300 ns. 3: 400 ns. 4: 500 ns. 5: 800 ns. 6: 1.6 us. 7: 3.2 us."] #[inline(always)] - #[must_use] pub fn wdt_sys_reset_length(&mut self) -> WDT_SYS_RESET_LENGTH_W { WDT_SYS_RESET_LENGTH_W::new(self, 15) } #[doc = "Bits 18:20 - CPU reset signal length selection. 0: 100 ns. 1: 200 ns. 2: 300 ns. 3: 400 ns. 4: 500 ns. 5: 800 ns. 6: 1.6 us. 7: 3.2 us."] #[inline(always)] - #[must_use] pub fn wdt_cpu_reset_length(&mut self) -> WDT_CPU_RESET_LENGTH_W { WDT_CPU_RESET_LENGTH_W::new(self, 18) } #[doc = "Bit 21 - When set, a level type interrupt will occur at the timeout of a stage configured to generate an interrupt."] #[inline(always)] - #[must_use] pub fn wdt_level_int_en(&mut self) -> WDT_LEVEL_INT_EN_W { WDT_LEVEL_INT_EN_W::new(self, 21) } #[doc = "Bit 22 - When set, an edge type interrupt will occur at the timeout of a stage configured to generate an interrupt."] #[inline(always)] - #[must_use] pub fn wdt_edge_int_en(&mut self) -> WDT_EDGE_INT_EN_W { WDT_EDGE_INT_EN_W::new(self, 22) } #[doc = "Bits 23:24 - Stage 3 configuration. 0: off. 1: interrupt. 2: reset CPU. 3: reset system."] #[inline(always)] - #[must_use] pub fn wdt_stg3(&mut self) -> WDT_STG3_W { WDT_STG3_W::new(self, 23) } #[doc = "Bits 25:26 - Stage 2 configuration. 0: off. 1: interrupt. 2: reset CPU. 3: reset system."] #[inline(always)] - #[must_use] pub fn wdt_stg2(&mut self) -> WDT_STG2_W { WDT_STG2_W::new(self, 25) } #[doc = "Bits 27:28 - Stage 1 configuration. 0: off. 1: interrupt. 2: reset CPU. 3: reset system."] #[inline(always)] - #[must_use] pub fn wdt_stg1(&mut self) -> WDT_STG1_W { WDT_STG1_W::new(self, 27) } #[doc = "Bits 29:30 - Stage 0 configuration. 0: off. 1: interrupt. 2: reset CPU. 3: reset system."] #[inline(always)] - #[must_use] pub fn wdt_stg0(&mut self) -> WDT_STG0_W { WDT_STG0_W::new(self, 29) } #[doc = "Bit 31 - When set, MWDT is enabled."] #[inline(always)] - #[must_use] pub fn wdt_en(&mut self) -> WDT_EN_W { WDT_EN_W::new(self, 31) } diff --git a/esp32s2/src/timg0/wdtconfig1.rs b/esp32s2/src/timg0/wdtconfig1.rs index b9bf04381d..d88a70c2f1 100644 --- a/esp32s2/src/timg0/wdtconfig1.rs +++ b/esp32s2/src/timg0/wdtconfig1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - MWDT clock prescaler value. MWDT clock period = 12.5 ns * TIMG_WDT_CLK_PRESCALE."] #[inline(always)] - #[must_use] pub fn wdt_clk_prescale(&mut self) -> WDT_CLK_PRESCALE_W { WDT_CLK_PRESCALE_W::new(self, 16) } diff --git a/esp32s2/src/timg0/wdtconfig2.rs b/esp32s2/src/timg0/wdtconfig2.rs index d7aedad9be..2eb13ae372 100644 --- a/esp32s2/src/timg0/wdtconfig2.rs +++ b/esp32s2/src/timg0/wdtconfig2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stage 0 timeout value, in MWDT clock cycles."] #[inline(always)] - #[must_use] pub fn wdt_stg0_hold(&mut self) -> WDT_STG0_HOLD_W { WDT_STG0_HOLD_W::new(self, 0) } diff --git a/esp32s2/src/timg0/wdtconfig3.rs b/esp32s2/src/timg0/wdtconfig3.rs index 3eb96b1e93..353e861c97 100644 --- a/esp32s2/src/timg0/wdtconfig3.rs +++ b/esp32s2/src/timg0/wdtconfig3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stage 1 timeout value, in MWDT clock cycles."] #[inline(always)] - #[must_use] pub fn wdt_stg1_hold(&mut self) -> WDT_STG1_HOLD_W { WDT_STG1_HOLD_W::new(self, 0) } diff --git a/esp32s2/src/timg0/wdtconfig4.rs b/esp32s2/src/timg0/wdtconfig4.rs index c522268b4c..adb732fce4 100644 --- a/esp32s2/src/timg0/wdtconfig4.rs +++ b/esp32s2/src/timg0/wdtconfig4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stage 2 timeout value, in MWDT clock cycles."] #[inline(always)] - #[must_use] pub fn wdt_stg2_hold(&mut self) -> WDT_STG2_HOLD_W { WDT_STG2_HOLD_W::new(self, 0) } diff --git a/esp32s2/src/timg0/wdtconfig5.rs b/esp32s2/src/timg0/wdtconfig5.rs index 61c6bfb1e1..a56ba8caeb 100644 --- a/esp32s2/src/timg0/wdtconfig5.rs +++ b/esp32s2/src/timg0/wdtconfig5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stage 3 timeout value, in MWDT clock cycles."] #[inline(always)] - #[must_use] pub fn wdt_stg3_hold(&mut self) -> WDT_STG3_HOLD_W { WDT_STG3_HOLD_W::new(self, 0) } diff --git a/esp32s2/src/timg0/wdtfeed.rs b/esp32s2/src/timg0/wdtfeed.rs index 85fc2e84ca..c009a9e243 100644 --- a/esp32s2/src/timg0/wdtfeed.rs +++ b/esp32s2/src/timg0/wdtfeed.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - Write any value to feed the MWDT."] #[inline(always)] - #[must_use] pub fn wdt_feed(&mut self) -> WDT_FEED_W { WDT_FEED_W::new(self, 0) } diff --git a/esp32s2/src/timg0/wdtwprotect.rs b/esp32s2/src/timg0/wdtwprotect.rs index f3d13ea457..db5716850f 100644 --- a/esp32s2/src/timg0/wdtwprotect.rs +++ b/esp32s2/src/timg0/wdtwprotect.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - If the register contains a different value than its reset value, write protection is enabled."] #[inline(always)] - #[must_use] pub fn wdt_wkey(&mut self) -> WDT_WKEY_W { WDT_WKEY_W::new(self, 0) } diff --git a/esp32s2/src/twai0/bus_timing_0.rs b/esp32s2/src/twai0/bus_timing_0.rs index 3acc8fe70a..eaaf1004d0 100644 --- a/esp32s2/src/twai0/bus_timing_0.rs +++ b/esp32s2/src/twai0/bus_timing_0.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - Baud Rate Prescaler, determines the frequency dividing ratio."] #[inline(always)] - #[must_use] pub fn baud_presc(&mut self) -> BAUD_PRESC_W { BAUD_PRESC_W::new(self, 0) } #[doc = "Bits 14:15 - Synchronization Jump Width (SJW), 1 \\verb+~+ 14 Tq wide."] #[inline(always)] - #[must_use] pub fn sync_jump_width(&mut self) -> SYNC_JUMP_WIDTH_W { SYNC_JUMP_WIDTH_W::new(self, 14) } diff --git a/esp32s2/src/twai0/bus_timing_1.rs b/esp32s2/src/twai0/bus_timing_1.rs index edd5e6575c..387797e218 100644 --- a/esp32s2/src/twai0/bus_timing_1.rs +++ b/esp32s2/src/twai0/bus_timing_1.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - The width of PBS1."] #[inline(always)] - #[must_use] pub fn time_seg1(&mut self) -> TIME_SEG1_W { TIME_SEG1_W::new(self, 0) } #[doc = "Bits 4:6 - The width of PBS2."] #[inline(always)] - #[must_use] pub fn time_seg2(&mut self) -> TIME_SEG2_W { TIME_SEG2_W::new(self, 4) } #[doc = "Bit 7 - The number of sample points. 0: the bus is sampled once; 1: the bus is sampled three times"] #[inline(always)] - #[must_use] pub fn time_samp(&mut self) -> TIME_SAMP_W { TIME_SAMP_W::new(self, 7) } diff --git a/esp32s2/src/twai0/clock_divider.rs b/esp32s2/src/twai0/clock_divider.rs index 604cc61578..7c8b88d257 100644 --- a/esp32s2/src/twai0/clock_divider.rs +++ b/esp32s2/src/twai0/clock_divider.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - These bits are used to configure frequency dividing coefficients of the external CLKOUT pin."] #[inline(always)] - #[must_use] pub fn cd(&mut self) -> CD_W { CD_W::new(self, 0) } #[doc = "Bit 8 - This bit can be configured under reset mode. 1: Disable the external CLKOUT pin; 0: Enable the external CLKOUT pin"] #[inline(always)] - #[must_use] pub fn clock_off(&mut self) -> CLOCK_OFF_W { CLOCK_OFF_W::new(self, 8) } diff --git a/esp32s2/src/twai0/cmd.rs b/esp32s2/src/twai0/cmd.rs index 9dec5c5851..7f85b98347 100644 --- a/esp32s2/src/twai0/cmd.rs +++ b/esp32s2/src/twai0/cmd.rs @@ -19,31 +19,26 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set the bit to 1 to allow the driving nodes start transmission."] #[inline(always)] - #[must_use] pub fn tx_req(&mut self) -> TX_REQ_W { TX_REQ_W::new(self, 0) } #[doc = "Bit 1 - Set the bit to 1 to cancel a pending transmission request."] #[inline(always)] - #[must_use] pub fn abort_tx(&mut self) -> ABORT_TX_W { ABORT_TX_W::new(self, 1) } #[doc = "Bit 2 - Set the bit to 1 to release the RX buffer."] #[inline(always)] - #[must_use] pub fn release_buf(&mut self) -> RELEASE_BUF_W { RELEASE_BUF_W::new(self, 2) } #[doc = "Bit 3 - Set the bit to 1 to clear the data overrun status bit."] #[inline(always)] - #[must_use] pub fn clr_overrun(&mut self) -> CLR_OVERRUN_W { CLR_OVERRUN_W::new(self, 3) } #[doc = "Bit 4 - Self reception request command. Set the bit to 1 to allow a message be transmitted and received simultaneously."] #[inline(always)] - #[must_use] pub fn self_rx_req(&mut self) -> SELF_RX_REQ_W { SELF_RX_REQ_W::new(self, 4) } diff --git a/esp32s2/src/twai0/data_0.rs b/esp32s2/src/twai0/data_0.rs index 9da54a5102..0d31668320 100644 --- a/esp32s2/src/twai0/data_0.rs +++ b/esp32s2/src/twai0/data_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance code register 0 with R/W Permission. In operation mode, it stores the 0th byte information of the data to be transmitted under operating mode."] #[inline(always)] - #[must_use] pub fn tx_byte_0(&mut self) -> TX_BYTE_0_W { TX_BYTE_0_W::new(self, 0) } diff --git a/esp32s2/src/twai0/data_1.rs b/esp32s2/src/twai0/data_1.rs index 4fca4af070..b45d9c5e99 100644 --- a/esp32s2/src/twai0/data_1.rs +++ b/esp32s2/src/twai0/data_1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance code register 1 with R/W Permission. In operation mode, it stores the 1st byte information of the data to be transmitted under operating mode."] #[inline(always)] - #[must_use] pub fn tx_byte_1(&mut self) -> TX_BYTE_1_W { TX_BYTE_1_W::new(self, 0) } diff --git a/esp32s2/src/twai0/data_10.rs b/esp32s2/src/twai0/data_10.rs index d3a1181d8d..756d4b4006 100644 --- a/esp32s2/src/twai0/data_10.rs +++ b/esp32s2/src/twai0/data_10.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Stored the 10th byte information of the data to be transmitted under operating mode."] #[inline(always)] - #[must_use] pub fn tx_byte_10(&mut self) -> TX_BYTE_10_W { TX_BYTE_10_W::new(self, 0) } diff --git a/esp32s2/src/twai0/data_11.rs b/esp32s2/src/twai0/data_11.rs index a07192b292..80e75ecb8f 100644 --- a/esp32s2/src/twai0/data_11.rs +++ b/esp32s2/src/twai0/data_11.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Stored the 11th byte information of the data to be transmitted under operating mode."] #[inline(always)] - #[must_use] pub fn tx_byte_11(&mut self) -> TX_BYTE_11_W { TX_BYTE_11_W::new(self, 0) } diff --git a/esp32s2/src/twai0/data_12.rs b/esp32s2/src/twai0/data_12.rs index c6b1c97f51..20646c57b9 100644 --- a/esp32s2/src/twai0/data_12.rs +++ b/esp32s2/src/twai0/data_12.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Stored the 12th byte information of the data to be transmitted under operating mode."] #[inline(always)] - #[must_use] pub fn tx_byte_12(&mut self) -> TX_BYTE_12_W { TX_BYTE_12_W::new(self, 0) } diff --git a/esp32s2/src/twai0/data_2.rs b/esp32s2/src/twai0/data_2.rs index 3179326e84..0c7db88aa8 100644 --- a/esp32s2/src/twai0/data_2.rs +++ b/esp32s2/src/twai0/data_2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance code register 2 with R/W Permission. In operation mode, it stores the 2nd byte information of the data to be transmitted under operating mode."] #[inline(always)] - #[must_use] pub fn tx_byte_2(&mut self) -> TX_BYTE_2_W { TX_BYTE_2_W::new(self, 0) } diff --git a/esp32s2/src/twai0/data_3.rs b/esp32s2/src/twai0/data_3.rs index b639a7b9bf..e7df26464e 100644 --- a/esp32s2/src/twai0/data_3.rs +++ b/esp32s2/src/twai0/data_3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance code register 3 with R/W Permission. In operation mode, it stores the 3rd byte information of the data to be transmitted under operating mode."] #[inline(always)] - #[must_use] pub fn tx_byte_3(&mut self) -> TX_BYTE_3_W { TX_BYTE_3_W::new(self, 0) } diff --git a/esp32s2/src/twai0/data_4.rs b/esp32s2/src/twai0/data_4.rs index 4f473f3008..90ff6b33db 100644 --- a/esp32s2/src/twai0/data_4.rs +++ b/esp32s2/src/twai0/data_4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance mask register 0 with R/W Permission. In operation mode, it stores the 4th byte information of the data to be transmitted under operating mode."] #[inline(always)] - #[must_use] pub fn tx_byte_4(&mut self) -> TX_BYTE_4_W { TX_BYTE_4_W::new(self, 0) } diff --git a/esp32s2/src/twai0/data_5.rs b/esp32s2/src/twai0/data_5.rs index c622efb8c4..7f9f1e5590 100644 --- a/esp32s2/src/twai0/data_5.rs +++ b/esp32s2/src/twai0/data_5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance mask register 1 with R/W Permission. In operation mode, it stores the 5th byte information of the data to be transmitted under operating mode."] #[inline(always)] - #[must_use] pub fn tx_byte_5(&mut self) -> TX_BYTE_5_W { TX_BYTE_5_W::new(self, 0) } diff --git a/esp32s2/src/twai0/data_6.rs b/esp32s2/src/twai0/data_6.rs index 994c3b5883..73a15eebef 100644 --- a/esp32s2/src/twai0/data_6.rs +++ b/esp32s2/src/twai0/data_6.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance mask register 2 with R/W Permission. In operation mode, it stores the 6th byte information of the data to be transmitted under operating mode."] #[inline(always)] - #[must_use] pub fn tx_byte_6(&mut self) -> TX_BYTE_6_W { TX_BYTE_6_W::new(self, 0) } diff --git a/esp32s2/src/twai0/data_7.rs b/esp32s2/src/twai0/data_7.rs index 28c5d98ef9..c637a8aa7b 100644 --- a/esp32s2/src/twai0/data_7.rs +++ b/esp32s2/src/twai0/data_7.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance mask register 3 with R/W Permission. In operation mode, it stores the 7th byte information of the data to be transmitted under operating mode."] #[inline(always)] - #[must_use] pub fn tx_byte_7(&mut self) -> TX_BYTE_7_W { TX_BYTE_7_W::new(self, 0) } diff --git a/esp32s2/src/twai0/data_8.rs b/esp32s2/src/twai0/data_8.rs index 45046802aa..3d1d76d086 100644 --- a/esp32s2/src/twai0/data_8.rs +++ b/esp32s2/src/twai0/data_8.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Stored the 8th byte information of the data to be transmitted under operating mode."] #[inline(always)] - #[must_use] pub fn tx_byte_8(&mut self) -> TX_BYTE_8_W { TX_BYTE_8_W::new(self, 0) } diff --git a/esp32s2/src/twai0/data_9.rs b/esp32s2/src/twai0/data_9.rs index 09d489b574..7a9e68c967 100644 --- a/esp32s2/src/twai0/data_9.rs +++ b/esp32s2/src/twai0/data_9.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Stored the 9th byte information of the data to be transmitted under operating mode."] #[inline(always)] - #[must_use] pub fn tx_byte_9(&mut self) -> TX_BYTE_9_W { TX_BYTE_9_W::new(self, 0) } diff --git a/esp32s2/src/twai0/err_warning_limit.rs b/esp32s2/src/twai0/err_warning_limit.rs index 4a0c61301c..df1aa0b277 100644 --- a/esp32s2/src/twai0/err_warning_limit.rs +++ b/esp32s2/src/twai0/err_warning_limit.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Error warning threshold. In the case when any of a error counter value exceeds the threshold, or all the error counter values are below the threshold, an error warning interrupt will be triggered (given the enable signal is valid)."] #[inline(always)] - #[must_use] pub fn err_warning_limit(&mut self) -> ERR_WARNING_LIMIT_W { ERR_WARNING_LIMIT_W::new(self, 0) } diff --git a/esp32s2/src/twai0/int_ena.rs b/esp32s2/src/twai0/int_ena.rs index 3b6932558a..d3977eaa4a 100644 --- a/esp32s2/src/twai0/int_ena.rs +++ b/esp32s2/src/twai0/int_ena.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to 1 to enable receive interrupt."] #[inline(always)] - #[must_use] pub fn rx_int_ena(&mut self) -> RX_INT_ENA_W { RX_INT_ENA_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to 1 to enable transmit interrupt."] #[inline(always)] - #[must_use] pub fn tx_int_ena(&mut self) -> TX_INT_ENA_W { TX_INT_ENA_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to 1 to enable error warning interrupt."] #[inline(always)] - #[must_use] pub fn err_warn_int_ena(&mut self) -> ERR_WARN_INT_ENA_W { ERR_WARN_INT_ENA_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to 1 to enable data overrun interrupt."] #[inline(always)] - #[must_use] pub fn overrun_int_ena(&mut self) -> OVERRUN_INT_ENA_W { OVERRUN_INT_ENA_W::new(self, 3) } #[doc = "Bit 5 - Set this bit to 1 to enable error passive interrupt."] #[inline(always)] - #[must_use] pub fn err_passive_int_ena(&mut self) -> ERR_PASSIVE_INT_ENA_W { ERR_PASSIVE_INT_ENA_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to 1 to enable arbitration lost interrupt."] #[inline(always)] - #[must_use] pub fn arb_lost_int_ena(&mut self) -> ARB_LOST_INT_ENA_W { ARB_LOST_INT_ENA_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to 1 to enable error interrupt."] #[inline(always)] - #[must_use] pub fn bus_err_int_ena(&mut self) -> BUS_ERR_INT_ENA_W { BUS_ERR_INT_ENA_W::new(self, 7) } diff --git a/esp32s2/src/twai0/mode.rs b/esp32s2/src/twai0/mode.rs index ddce5ed67c..deebf1574c 100644 --- a/esp32s2/src/twai0/mode.rs +++ b/esp32s2/src/twai0/mode.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to configure the operating mode of the TWAI Controller. 1: Reset mode; 0: Operating mode."] #[inline(always)] - #[must_use] pub fn reset_mode(&mut self) -> RESET_MODE_W { RESET_MODE_W::new(self, 0) } #[doc = "Bit 1 - 1: Listen only mode. In this mode the nodes will only receive messages from the bus, without generating the acknowledge signal nor updating the RX error counter."] #[inline(always)] - #[must_use] pub fn listen_only_mode(&mut self) -> LISTEN_ONLY_MODE_W { LISTEN_ONLY_MODE_W::new(self, 1) } #[doc = "Bit 2 - 1: Self test mode. In this mode the TX nodes can perform a successful transmission without receiving the acknowledge signal. This mode is often used to test a single node with the self reception request command."] #[inline(always)] - #[must_use] pub fn self_test_mode(&mut self) -> SELF_TEST_MODE_W { SELF_TEST_MODE_W::new(self, 2) } #[doc = "Bit 3 - This bit is used to configure the filter mode. 0: Dual filter mode; 1: Single filter mode."] #[inline(always)] - #[must_use] pub fn rx_filter_mode(&mut self) -> RX_FILTER_MODE_W { RX_FILTER_MODE_W::new(self, 3) } diff --git a/esp32s2/src/twai0/rx_err_cnt.rs b/esp32s2/src/twai0/rx_err_cnt.rs index 0e7eedf680..b421e30b14 100644 --- a/esp32s2/src/twai0/rx_err_cnt.rs +++ b/esp32s2/src/twai0/rx_err_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - The RX error counter register, reflects value changes under reception status."] #[inline(always)] - #[must_use] pub fn rx_err_cnt(&mut self) -> RX_ERR_CNT_W { RX_ERR_CNT_W::new(self, 0) } diff --git a/esp32s2/src/twai0/tx_err_cnt.rs b/esp32s2/src/twai0/tx_err_cnt.rs index 64ad2e844e..59fbc2d773 100644 --- a/esp32s2/src/twai0/tx_err_cnt.rs +++ b/esp32s2/src/twai0/tx_err_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - The TX error counter register, reflects value changes under transmission status."] #[inline(always)] - #[must_use] pub fn tx_err_cnt(&mut self) -> TX_ERR_CNT_W { TX_ERR_CNT_W::new(self, 0) } diff --git a/esp32s2/src/uart0/at_cmd_char.rs b/esp32s2/src/uart0/at_cmd_char.rs index 20e5e654d4..ad811525ec 100644 --- a/esp32s2/src/uart0/at_cmd_char.rs +++ b/esp32s2/src/uart0/at_cmd_char.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register is used to configure the content of AT_CMD character."] #[inline(always)] - #[must_use] pub fn at_cmd_char(&mut self) -> AT_CMD_CHAR_W { AT_CMD_CHAR_W::new(self, 0) } #[doc = "Bits 8:15 - This register is used to configure the number of continuous AT_CMD characters received by the receiver."] #[inline(always)] - #[must_use] pub fn char_num(&mut self) -> CHAR_NUM_W { CHAR_NUM_W::new(self, 8) } diff --git a/esp32s2/src/uart0/at_cmd_gaptout.rs b/esp32s2/src/uart0/at_cmd_gaptout.rs index 6e039a3d61..7f872500dc 100644 --- a/esp32s2/src/uart0/at_cmd_gaptout.rs +++ b/esp32s2/src/uart0/at_cmd_gaptout.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the duration time between the AT_CMD characters. It will not take the data as continuous AT_CMD characters when the duration time is less than this register's value."] #[inline(always)] - #[must_use] pub fn rx_gap_tout(&mut self) -> RX_GAP_TOUT_W { RX_GAP_TOUT_W::new(self, 0) } diff --git a/esp32s2/src/uart0/at_cmd_postcnt.rs b/esp32s2/src/uart0/at_cmd_postcnt.rs index f952e71356..29c03d3fda 100644 --- a/esp32s2/src/uart0/at_cmd_postcnt.rs +++ b/esp32s2/src/uart0/at_cmd_postcnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the duration time between the last AT_CMD and the next data. It will not take the previous data as AT_CMD character when the duration is less than this register's value."] #[inline(always)] - #[must_use] pub fn post_idle_num(&mut self) -> POST_IDLE_NUM_W { POST_IDLE_NUM_W::new(self, 0) } diff --git a/esp32s2/src/uart0/at_cmd_precnt.rs b/esp32s2/src/uart0/at_cmd_precnt.rs index 5cb0775a40..761c46961e 100644 --- a/esp32s2/src/uart0/at_cmd_precnt.rs +++ b/esp32s2/src/uart0/at_cmd_precnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the idle duration time before the first AT_CMD is received by the receiver. It will not take the next data received as AT_CMD character when the duration is less than this register's value."] #[inline(always)] - #[must_use] pub fn pre_idle_num(&mut self) -> PRE_IDLE_NUM_W { PRE_IDLE_NUM_W::new(self, 0) } diff --git a/esp32s2/src/uart0/autobaud.rs b/esp32s2/src/uart0/autobaud.rs index 2ccfb30fea..822869c0de 100644 --- a/esp32s2/src/uart0/autobaud.rs +++ b/esp32s2/src/uart0/autobaud.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This is the enable bit for baud rate detection."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 0) } #[doc = "Bits 8:15 - When input pulse width is lower than this value, the pulse is ignored. This register is used in autobaud detection."] #[inline(always)] - #[must_use] pub fn glitch_filt(&mut self) -> GLITCH_FILT_W { GLITCH_FILT_W::new(self, 8) } diff --git a/esp32s2/src/uart0/clkdiv.rs b/esp32s2/src/uart0/clkdiv.rs index c10dc6cc8d..e19ba5c7c4 100644 --- a/esp32s2/src/uart0/clkdiv.rs +++ b/esp32s2/src/uart0/clkdiv.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - The integral part of the frequency divisor."] #[inline(always)] - #[must_use] pub fn clkdiv(&mut self) -> CLKDIV_W { CLKDIV_W::new(self, 0) } #[doc = "Bits 20:23 - The fractional part of the frequency divisor."] #[inline(always)] - #[must_use] pub fn frag(&mut self) -> FRAG_W { FRAG_W::new(self, 20) } diff --git a/esp32s2/src/uart0/conf0.rs b/esp32s2/src/uart0/conf0.rs index df55f0e50b..6ac9a93269 100644 --- a/esp32s2/src/uart0/conf0.rs +++ b/esp32s2/src/uart0/conf0.rs @@ -284,163 +284,136 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This register is used to configure the parity check mode. 0: even. 1: odd."] #[inline(always)] - #[must_use] pub fn parity(&mut self) -> PARITY_W { PARITY_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to enable UART parity check."] #[inline(always)] - #[must_use] pub fn parity_en(&mut self) -> PARITY_EN_W { PARITY_EN_W::new(self, 1) } #[doc = "Bits 2:3 - This register is used to set the length of data. 0: 5 bits. 1: 6 bits. 2: 7 bits. 3: 8 bits."] #[inline(always)] - #[must_use] pub fn bit_num(&mut self) -> BIT_NUM_W { BIT_NUM_W::new(self, 2) } #[doc = "Bits 4:5 - This register is used to set the length of stop bit. 1: 1 bit. 2: 1.5 bits. 3: 2 bits."] #[inline(always)] - #[must_use] pub fn stop_bit_num(&mut self) -> STOP_BIT_NUM_W { STOP_BIT_NUM_W::new(self, 4) } #[doc = "Bit 6 - This register is used to configure the software RTS signal which is used in software flow control."] #[inline(always)] - #[must_use] pub fn sw_rts(&mut self) -> SW_RTS_W { SW_RTS_W::new(self, 6) } #[doc = "Bit 7 - This register is used to configure the software DTR signal which is used in software flow control."] #[inline(always)] - #[must_use] pub fn sw_dtr(&mut self) -> SW_DTR_W { SW_DTR_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to enable the transmitter to send NULL characters when the process of sending data is done."] #[inline(always)] - #[must_use] pub fn txd_brk(&mut self) -> TXD_BRK_W { TXD_BRK_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to enable IrDA loopback mode."] #[inline(always)] - #[must_use] pub fn irda_dplx(&mut self) -> IRDA_DPLX_W { IRDA_DPLX_W::new(self, 9) } #[doc = "Bit 10 - This is the start enable bit for IrDA transmitter."] #[inline(always)] - #[must_use] pub fn irda_tx_en(&mut self) -> IRDA_TX_EN_W { IRDA_TX_EN_W::new(self, 10) } #[doc = "Bit 11 - 1: The IrDA transmitter's 11th bit is the same as 10th bit. 0: Set IrDA transmitter's 11th bit to 0."] #[inline(always)] - #[must_use] pub fn irda_wctl(&mut self) -> IRDA_WCTL_W { IRDA_WCTL_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to invert the level of IrDA transmitter."] #[inline(always)] - #[must_use] pub fn irda_tx_inv(&mut self) -> IRDA_TX_INV_W { IRDA_TX_INV_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to invert the level of IrDA receiver."] #[inline(always)] - #[must_use] pub fn irda_rx_inv(&mut self) -> IRDA_RX_INV_W { IRDA_RX_INV_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to enable UART loopback test mode."] #[inline(always)] - #[must_use] pub fn loopback(&mut self) -> LOOPBACK_W { LOOPBACK_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to enable flow control function for the transmitter."] #[inline(always)] - #[must_use] pub fn tx_flow_en(&mut self) -> TX_FLOW_EN_W { TX_FLOW_EN_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to enable IrDA protocol."] #[inline(always)] - #[must_use] pub fn irda_en(&mut self) -> IRDA_EN_W { IRDA_EN_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to reset the UART RX FIFO."] #[inline(always)] - #[must_use] pub fn rxfifo_rst(&mut self) -> RXFIFO_RST_W { RXFIFO_RST_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to reset the UART TX FIFO."] #[inline(always)] - #[must_use] pub fn txfifo_rst(&mut self) -> TXFIFO_RST_W { TXFIFO_RST_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to invert the level of UART RXD signal."] #[inline(always)] - #[must_use] pub fn rxd_inv(&mut self) -> RXD_INV_W { RXD_INV_W::new(self, 19) } #[doc = "Bit 20 - Set this bit to invert the level of UART CTS signal."] #[inline(always)] - #[must_use] pub fn cts_inv(&mut self) -> CTS_INV_W { CTS_INV_W::new(self, 20) } #[doc = "Bit 21 - Set this bit to invert the level of UART DSR signal."] #[inline(always)] - #[must_use] pub fn dsr_inv(&mut self) -> DSR_INV_W { DSR_INV_W::new(self, 21) } #[doc = "Bit 22 - Set this bit to invert the level of UART TXD signal."] #[inline(always)] - #[must_use] pub fn txd_inv(&mut self) -> TXD_INV_W { TXD_INV_W::new(self, 22) } #[doc = "Bit 23 - Set this bit to invert the level of UART RTS signal."] #[inline(always)] - #[must_use] pub fn rts_inv(&mut self) -> RTS_INV_W { RTS_INV_W::new(self, 23) } #[doc = "Bit 24 - Set this bit to invert the level of UART DTR signal."] #[inline(always)] - #[must_use] pub fn dtr_inv(&mut self) -> DTR_INV_W { DTR_INV_W::new(self, 24) } #[doc = "Bit 25 - 1: Force clock on for registers. 0: Support clock only when application writes registers."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 25) } #[doc = "Bit 26 - 1: The receiver stops storing data into FIFO when data is wrong. 0: The receiver stores the data even if the received data is wrong."] #[inline(always)] - #[must_use] pub fn err_wr_mask(&mut self) -> ERR_WR_MASK_W { ERR_WR_MASK_W::new(self, 26) } #[doc = "Bit 27 - This register is used to select the clock. 1: APB_CLK. 0: REF_TICK."] #[inline(always)] - #[must_use] pub fn tick_ref_always_on(&mut self) -> TICK_REF_ALWAYS_ON_W { TICK_REF_ALWAYS_ON_W::new(self, 27) } #[doc = "Bit 28 - The signal to enable UART RAM clock gating. 1: UART RAM powers on, the data of which can be read and written. 0: UART RAM powers down."] #[inline(always)] - #[must_use] pub fn mem_clk_en(&mut self) -> MEM_CLK_EN_W { MEM_CLK_EN_W::new(self, 28) } diff --git a/esp32s2/src/uart0/conf1.rs b/esp32s2/src/uart0/conf1.rs index 9bacc70bb8..b9e6e43f67 100644 --- a/esp32s2/src/uart0/conf1.rs +++ b/esp32s2/src/uart0/conf1.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - An UART_RXFIFO_FULL_INT interrupt is generated when the receiver receives more data than this register’s value."] #[inline(always)] - #[must_use] pub fn rxfifo_full_thrhd(&mut self) -> RXFIFO_FULL_THRHD_W { RXFIFO_FULL_THRHD_W::new(self, 0) } #[doc = "Bits 9:17 - An UART_TXFIFO_EMPTY_INT interrupt is generated when the number of data bytes in TX FIFO is less than this register's value."] #[inline(always)] - #[must_use] pub fn txfifo_empty_thrhd(&mut self) -> TXFIFO_EMPTY_THRHD_W { TXFIFO_EMPTY_THRHD_W::new(self, 9) } #[doc = "Bit 29 - Set this bit to stop accumulating idle_cnt when hardware flow control works."] #[inline(always)] - #[must_use] pub fn rx_tout_flow_dis(&mut self) -> RX_TOUT_FLOW_DIS_W { RX_TOUT_FLOW_DIS_W::new(self, 29) } #[doc = "Bit 30 - This is the flow enable bit for UART receiver. 1: Choose software flow control with configuring sw_rts signal. 0: Disable software flow control."] #[inline(always)] - #[must_use] pub fn rx_flow_en(&mut self) -> RX_FLOW_EN_W { RX_FLOW_EN_W::new(self, 30) } #[doc = "Bit 31 - This is the enable bit for UART receiver's timeout function."] #[inline(always)] - #[must_use] pub fn rx_tout_en(&mut self) -> RX_TOUT_EN_W { RX_TOUT_EN_W::new(self, 31) } diff --git a/esp32s2/src/uart0/date.rs b/esp32s2/src/uart0/date.rs index c0c8a01a64..ab5afd4312 100644 --- a/esp32s2/src/uart0/date.rs +++ b/esp32s2/src/uart0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This is the version control register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s2/src/uart0/fifo.rs b/esp32s2/src/uart0/fifo.rs index bbd207ed48..044c77bb18 100644 --- a/esp32s2/src/uart0/fifo.rs +++ b/esp32s2/src/uart0/fifo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - UART 0 accesses FIFO via this register."] #[inline(always)] - #[must_use] pub fn rxfifo_rd_byte(&mut self) -> RXFIFO_RD_BYTE_W { RXFIFO_RD_BYTE_W::new(self, 0) } diff --git a/esp32s2/src/uart0/flow_conf.rs b/esp32s2/src/uart0/flow_conf.rs index dd8ee47781..879a3e766e 100644 --- a/esp32s2/src/uart0/flow_conf.rs +++ b/esp32s2/src/uart0/flow_conf.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable software flow control. When UART receives flow control characters XON or XOFF, which can be configured by UART_XON_CHAR or UART_XOFF_CHAR respectively, UART_SW_XON_INT or UART_SW_XOFF_INT interrupts can be triggered if enabled."] #[inline(always)] - #[must_use] pub fn sw_flow_con_en(&mut self) -> SW_FLOW_CON_EN_W { SW_FLOW_CON_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to remove flow control characters from the received data."] #[inline(always)] - #[must_use] pub fn xonoff_del(&mut self) -> XONOFF_DEL_W { XONOFF_DEL_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to force the transmitter to send data."] #[inline(always)] - #[must_use] pub fn force_xon(&mut self) -> FORCE_XON_W { FORCE_XON_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to stop the transmitter from sending data."] #[inline(always)] - #[must_use] pub fn force_xoff(&mut self) -> FORCE_XOFF_W { FORCE_XOFF_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to send an XON character. This bit is cleared by hardware automatically."] #[inline(always)] - #[must_use] pub fn send_xon(&mut self) -> SEND_XON_W { SEND_XON_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to send an XOFF character. This bit is cleared by hardware automatically."] #[inline(always)] - #[must_use] pub fn send_xoff(&mut self) -> SEND_XOFF_W { SEND_XOFF_W::new(self, 5) } diff --git a/esp32s2/src/uart0/id.rs b/esp32s2/src/uart0/id.rs index 0240cdcbbe..438ae7c335 100644 --- a/esp32s2/src/uart0/id.rs +++ b/esp32s2/src/uart0/id.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This register is used to configure the UART_ID."] #[inline(always)] - #[must_use] pub fn id(&mut self) -> ID_W { ID_W::new(self, 0) } diff --git a/esp32s2/src/uart0/idle_conf.rs b/esp32s2/src/uart0/idle_conf.rs index 471a948f23..ddc9b14582 100644 --- a/esp32s2/src/uart0/idle_conf.rs +++ b/esp32s2/src/uart0/idle_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - A frame end signal is generated when the receiver takes more time to receive one byte data than this register's value, in the unit of bit time (the time it takes to transfer one bit)."] #[inline(always)] - #[must_use] pub fn rx_idle_thrhd(&mut self) -> RX_IDLE_THRHD_W { RX_IDLE_THRHD_W::new(self, 0) } #[doc = "Bits 10:19 - This register is used to configure the duration time between transfers, in the unit of bit time (the time it takes to transfer one bit)."] #[inline(always)] - #[must_use] pub fn tx_idle_num(&mut self) -> TX_IDLE_NUM_W { TX_IDLE_NUM_W::new(self, 10) } #[doc = "Bits 20:27 - This register is used to configure the number of 0 to be sent after the process of sending data is done. It is active when UART_TXD_BRK is set to 1."] #[inline(always)] - #[must_use] pub fn tx_brk_num(&mut self) -> TX_BRK_NUM_W { TX_BRK_NUM_W::new(self, 20) } diff --git a/esp32s2/src/uart0/int_clr.rs b/esp32s2/src/uart0/int_clr.rs index 391d76e1fa..173118e968 100644 --- a/esp32s2/src/uart0/int_clr.rs +++ b/esp32s2/src/uart0/int_clr.rs @@ -49,121 +49,101 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear UART_THE RXFIFO_FULL_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_full(&mut self) -> RXFIFO_FULL_W { RXFIFO_FULL_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear UART_TXFIFO_EMPTY_INT interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_empty(&mut self) -> TXFIFO_EMPTY_W { TXFIFO_EMPTY_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear UART_PARITY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn parity_err(&mut self) -> PARITY_ERR_W { PARITY_ERR_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear UART_FRM_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn frm_err(&mut self) -> FRM_ERR_W { FRM_ERR_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear UART_UART_RXFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear UART_DSR_CHG_INT interrupt."] #[inline(always)] - #[must_use] pub fn dsr_chg(&mut self) -> DSR_CHG_W { DSR_CHG_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear UART_CTS_CHG_INT interrupt."] #[inline(always)] - #[must_use] pub fn cts_chg(&mut self) -> CTS_CHG_W { CTS_CHG_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear UART_BRK_DET_INT interrupt."] #[inline(always)] - #[must_use] pub fn brk_det(&mut self) -> BRK_DET_W { BRK_DET_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear UART_RXFIFO_TOUT_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_tout(&mut self) -> RXFIFO_TOUT_W { RXFIFO_TOUT_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear UART_SW_XON_INT interrupt."] #[inline(always)] - #[must_use] pub fn sw_xon(&mut self) -> SW_XON_W { SW_XON_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to clear UART_SW_XOFF_INT interrupt."] #[inline(always)] - #[must_use] pub fn sw_xoff(&mut self) -> SW_XOFF_W { SW_XOFF_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear UART_GLITCH_DET_INT interrupt."] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to clear UART_TX_BRK_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn tx_brk_done(&mut self) -> TX_BRK_DONE_W { TX_BRK_DONE_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to clear UART_TX_BRK_IDLE_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn tx_brk_idle_done(&mut self) -> TX_BRK_IDLE_DONE_W { TX_BRK_IDLE_DONE_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to clear UART_TX_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to clear UART_RS485_PARITY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn rs485_parity_err(&mut self) -> RS485_PARITY_ERR_W { RS485_PARITY_ERR_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to clear UART_RS485_FRM_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn rs485_frm_err(&mut self) -> RS485_FRM_ERR_W { RS485_FRM_ERR_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to clear UART_RS485_CLASH_INT interrupt."] #[inline(always)] - #[must_use] pub fn rs485_clash(&mut self) -> RS485_CLASH_W { RS485_CLASH_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to clear UART_AT_CMD_CHAR_DET_INT interrupt."] #[inline(always)] - #[must_use] pub fn at_cmd_char_det(&mut self) -> AT_CMD_CHAR_DET_W { AT_CMD_CHAR_DET_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to clear UART_WAKEUP_INT interrupt."] #[inline(always)] - #[must_use] pub fn wakeup(&mut self) -> WAKEUP_W { WAKEUP_W::new(self, 19) } diff --git a/esp32s2/src/uart0/int_ena.rs b/esp32s2/src/uart0/int_ena.rs index 9a742834fe..a1c05b3e3d 100644 --- a/esp32s2/src/uart0/int_ena.rs +++ b/esp32s2/src/uart0/int_ena.rs @@ -214,121 +214,101 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This is the enable bit for UART_RXFIFO_FULL_INT."] #[inline(always)] - #[must_use] pub fn rxfifo_full(&mut self) -> RXFIFO_FULL_W { RXFIFO_FULL_W::new(self, 0) } #[doc = "Bit 1 - This is the enable bit for UART_TXFIFO_EMPTY_INT."] #[inline(always)] - #[must_use] pub fn txfifo_empty(&mut self) -> TXFIFO_EMPTY_W { TXFIFO_EMPTY_W::new(self, 1) } #[doc = "Bit 2 - This is the enable bit for UART_PARITY_ERR_INT."] #[inline(always)] - #[must_use] pub fn parity_err(&mut self) -> PARITY_ERR_W { PARITY_ERR_W::new(self, 2) } #[doc = "Bit 3 - This is the enable bit for UART_FRM_ERR_INT."] #[inline(always)] - #[must_use] pub fn frm_err(&mut self) -> FRM_ERR_W { FRM_ERR_W::new(self, 3) } #[doc = "Bit 4 - This is the enable bit for UART_RXFIFO_OVF_INT."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - This is the enable bit for UART_DSR_CHG_INT."] #[inline(always)] - #[must_use] pub fn dsr_chg(&mut self) -> DSR_CHG_W { DSR_CHG_W::new(self, 5) } #[doc = "Bit 6 - This is the enable bit for UART_CTS_CHG_INT."] #[inline(always)] - #[must_use] pub fn cts_chg(&mut self) -> CTS_CHG_W { CTS_CHG_W::new(self, 6) } #[doc = "Bit 7 - This is the enable bit for UART_BRK_DET_INT."] #[inline(always)] - #[must_use] pub fn brk_det(&mut self) -> BRK_DET_W { BRK_DET_W::new(self, 7) } #[doc = "Bit 8 - This is the enable bit for UART_RXFIFO_TOUT_INT."] #[inline(always)] - #[must_use] pub fn rxfifo_tout(&mut self) -> RXFIFO_TOUT_W { RXFIFO_TOUT_W::new(self, 8) } #[doc = "Bit 9 - This is the enable bit for UART_SW_XON_INT."] #[inline(always)] - #[must_use] pub fn sw_xon(&mut self) -> SW_XON_W { SW_XON_W::new(self, 9) } #[doc = "Bit 10 - This is the enable bit for UART_SW_XOFF_INT."] #[inline(always)] - #[must_use] pub fn sw_xoff(&mut self) -> SW_XOFF_W { SW_XOFF_W::new(self, 10) } #[doc = "Bit 11 - This is the enable bit for UART_GLITCH_DET_INT."] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 11) } #[doc = "Bit 12 - This is the enable bit for UART_TX_BRK_DONE_INT."] #[inline(always)] - #[must_use] pub fn tx_brk_done(&mut self) -> TX_BRK_DONE_W { TX_BRK_DONE_W::new(self, 12) } #[doc = "Bit 13 - This is the enable bit for UART_TX_BRK_IDLE_DONE_INT."] #[inline(always)] - #[must_use] pub fn tx_brk_idle_done(&mut self) -> TX_BRK_IDLE_DONE_W { TX_BRK_IDLE_DONE_W::new(self, 13) } #[doc = "Bit 14 - This is the enable bit for UART_TX_DONE_INT."] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 14) } #[doc = "Bit 15 - This is the enable bit for UART_RS485_PARITY_ERR_INT."] #[inline(always)] - #[must_use] pub fn rs485_parity_err(&mut self) -> RS485_PARITY_ERR_W { RS485_PARITY_ERR_W::new(self, 15) } #[doc = "Bit 16 - This is the enable bit for UART_RS485_PARITY_ERR_INT."] #[inline(always)] - #[must_use] pub fn rs485_frm_err(&mut self) -> RS485_FRM_ERR_W { RS485_FRM_ERR_W::new(self, 16) } #[doc = "Bit 17 - This is the enable bit for UART_RS485_CLASH_INT."] #[inline(always)] - #[must_use] pub fn rs485_clash(&mut self) -> RS485_CLASH_W { RS485_CLASH_W::new(self, 17) } #[doc = "Bit 18 - This is the enable bit for UART_AT_CMD_CHAR_DET_INT."] #[inline(always)] - #[must_use] pub fn at_cmd_char_det(&mut self) -> AT_CMD_CHAR_DET_W { AT_CMD_CHAR_DET_W::new(self, 18) } #[doc = "Bit 19 - This is the enable bit for UART_WAKEUP_INT."] #[inline(always)] - #[must_use] pub fn wakeup(&mut self) -> WAKEUP_W { WAKEUP_W::new(self, 19) } diff --git a/esp32s2/src/uart0/mem_conf.rs b/esp32s2/src/uart0/mem_conf.rs index a6b59916a2..5dafbce213 100644 --- a/esp32s2/src/uart0/mem_conf.rs +++ b/esp32s2/src/uart0/mem_conf.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 1:3 - This register is used to configure the amount of RAM allocated for RX FIFO. The default number is 128 bytes."] #[inline(always)] - #[must_use] pub fn rx_size(&mut self) -> RX_SIZE_W { RX_SIZE_W::new(self, 1) } #[doc = "Bits 4:6 - This register is used to configure the amount of RAM allocated for TX FIFO. The default number is 128 bytes."] #[inline(always)] - #[must_use] pub fn tx_size(&mut self) -> TX_SIZE_W { TX_SIZE_W::new(self, 4) } #[doc = "Bits 7:15 - This register is used to configure the maximum amount of data bytes that can be received when hardware flow control works."] #[inline(always)] - #[must_use] pub fn rx_flow_thrhd(&mut self) -> RX_FLOW_THRHD_W { RX_FLOW_THRHD_W::new(self, 7) } #[doc = "Bits 16:25 - This register is used to configure the threshold time that the receiver takes to receive one byte, in the unit of bit time (the time it takes to transfer one bit). The UART_RXFIFO_TOUT_INT interrupt will be triggered when the receiver takes more time to receive one byte with UART RX_TOUT_EN set to 1."] #[inline(always)] - #[must_use] pub fn rx_tout_thrhd(&mut self) -> RX_TOUT_THRHD_W { RX_TOUT_THRHD_W::new(self, 16) } #[doc = "Bit 26 - Set this bit to force power down UART RAM."] #[inline(always)] - #[must_use] pub fn mem_force_pd(&mut self) -> MEM_FORCE_PD_W { MEM_FORCE_PD_W::new(self, 26) } #[doc = "Bit 27 - Set this bit to force power up UART RAM."] #[inline(always)] - #[must_use] pub fn mem_force_pu(&mut self) -> MEM_FORCE_PU_W { MEM_FORCE_PU_W::new(self, 27) } diff --git a/esp32s2/src/uart0/rs485_conf.rs b/esp32s2/src/uart0/rs485_conf.rs index 5ccb49b1e9..e2f2b52a19 100644 --- a/esp32s2/src/uart0/rs485_conf.rs +++ b/esp32s2/src/uart0/rs485_conf.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to choose RS485 mode."] #[inline(always)] - #[must_use] pub fn rs485_en(&mut self) -> RS485_EN_W { RS485_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to delay the stop bit by 1 bit."] #[inline(always)] - #[must_use] pub fn dl0_en(&mut self) -> DL0_EN_W { DL0_EN_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to delay the stop bit by 1 bit."] #[inline(always)] - #[must_use] pub fn dl1_en(&mut self) -> DL1_EN_W { DL1_EN_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to enable the receiver could receive data when the transmitter is transmitting data in RS485 mode."] #[inline(always)] - #[must_use] pub fn rs485tx_rx_en(&mut self) -> RS485TX_RX_EN_W { RS485TX_RX_EN_W::new(self, 3) } #[doc = "Bit 4 - 1: enable RS485 transmitter to send data when RS485 receiver line is busy. 0: RS485 transmitter should not send data when its receiver is busy."] #[inline(always)] - #[must_use] pub fn rs485rxby_tx_en(&mut self) -> RS485RXBY_TX_EN_W { RS485RXBY_TX_EN_W::new(self, 4) } #[doc = "Bit 5 - This register is used to delay the receiver's internal data signal."] #[inline(always)] - #[must_use] pub fn rs485_rx_dly_num(&mut self) -> RS485_RX_DLY_NUM_W { RS485_RX_DLY_NUM_W::new(self, 5) } #[doc = "Bits 6:9 - This register is used to delay the transmitter's internal data signal."] #[inline(always)] - #[must_use] pub fn rs485_tx_dly_num(&mut self) -> RS485_TX_DLY_NUM_W { RS485_TX_DLY_NUM_W::new(self, 6) } diff --git a/esp32s2/src/uart0/sleep_conf.rs b/esp32s2/src/uart0/sleep_conf.rs index d17b0ff3bf..3c1cf600f1 100644 --- a/esp32s2/src/uart0/sleep_conf.rs +++ b/esp32s2/src/uart0/sleep_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - The UART is activated from Light-sleep mode when the input RXD edge changes more times than this register's value."] #[inline(always)] - #[must_use] pub fn active_threshold(&mut self) -> ACTIVE_THRESHOLD_W { ACTIVE_THRESHOLD_W::new(self, 0) } diff --git a/esp32s2/src/uart0/swfc_conf0.rs b/esp32s2/src/uart0/swfc_conf0.rs index fd00cb6133..6365cfbc55 100644 --- a/esp32s2/src/uart0/swfc_conf0.rs +++ b/esp32s2/src/uart0/swfc_conf0.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - When the number of data bytes in RX FIFO is more than this register's value with UART_SW_FLOW_CON_EN set to 1, the transmitter sends an XOFF character."] #[inline(always)] - #[must_use] pub fn xoff_threshold(&mut self) -> XOFF_THRESHOLD_W { XOFF_THRESHOLD_W::new(self, 0) } #[doc = "Bits 9:16 - This register stores the XOFF flow control character."] #[inline(always)] - #[must_use] pub fn xoff_char(&mut self) -> XOFF_CHAR_W { XOFF_CHAR_W::new(self, 9) } diff --git a/esp32s2/src/uart0/swfc_conf1.rs b/esp32s2/src/uart0/swfc_conf1.rs index 481e6bce7b..d4fd545137 100644 --- a/esp32s2/src/uart0/swfc_conf1.rs +++ b/esp32s2/src/uart0/swfc_conf1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - When the number of data bytes in RX FIFO is less than this register's value with UART_SW_FLOW_CON_EN set to 1, the transmitter sends an XON character."] #[inline(always)] - #[must_use] pub fn xon_threshold(&mut self) -> XON_THRESHOLD_W { XON_THRESHOLD_W::new(self, 0) } #[doc = "Bits 9:16 - This register stores the XON flow control character."] #[inline(always)] - #[must_use] pub fn xon_char(&mut self) -> XON_CHAR_W { XON_CHAR_W::new(self, 9) } diff --git a/esp32s2/src/uhci0/ahb_test.rs b/esp32s2/src/uhci0/ahb_test.rs index 92c32d1dbd..b2806cb2a4 100644 --- a/esp32s2/src/uhci0/ahb_test.rs +++ b/esp32s2/src/uhci0/ahb_test.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - Reserved."] #[inline(always)] - #[must_use] pub fn ahb_testmode(&mut self) -> AHB_TESTMODE_W { AHB_TESTMODE_W::new(self, 0) } #[doc = "Bits 4:5 - Reserved."] #[inline(always)] - #[must_use] pub fn ahb_testaddr(&mut self) -> AHB_TESTADDR_W { AHB_TESTADDR_W::new(self, 4) } diff --git a/esp32s2/src/uhci0/conf0.rs b/esp32s2/src/uhci0/conf0.rs index 0f4004512f..eda7f54522 100644 --- a/esp32s2/src/uhci0/conf0.rs +++ b/esp32s2/src/uhci0/conf0.rs @@ -234,133 +234,111 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to reset in DMA FSM."] #[inline(always)] - #[must_use] pub fn in_rst(&mut self) -> IN_RST_W { IN_RST_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to reset out DMA FSM."] #[inline(always)] - #[must_use] pub fn out_rst(&mut self) -> OUT_RST_W { OUT_RST_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to reset AHB interface cmdFIFO of DMA."] #[inline(always)] - #[must_use] pub fn ahbm_fifo_rst(&mut self) -> AHBM_FIFO_RST_W { AHBM_FIFO_RST_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to reset AHB interface of DMA."] #[inline(always)] - #[must_use] pub fn ahbm_rst(&mut self) -> AHBM_RST_W { AHBM_RST_W::new(self, 3) } #[doc = "Bit 4 - Reserved."] #[inline(always)] - #[must_use] pub fn in_loop_test(&mut self) -> IN_LOOP_TEST_W { IN_LOOP_TEST_W::new(self, 4) } #[doc = "Bit 5 - Reserved."] #[inline(always)] - #[must_use] pub fn out_loop_test(&mut self) -> OUT_LOOP_TEST_W { OUT_LOOP_TEST_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to enable automatic outlink writeback when all the data in TX FIFO has been transmitted."] #[inline(always)] - #[must_use] pub fn out_auto_wrback(&mut self) -> OUT_AUTO_WRBACK_W { OUT_AUTO_WRBACK_W::new(self, 6) } #[doc = "Bit 7 - Reserved."] #[inline(always)] - #[must_use] pub fn out_no_restart_clr(&mut self) -> OUT_NO_RESTART_CLR_W { OUT_NO_RESTART_CLR_W::new(self, 7) } #[doc = "Bit 8 - This register is used to specify the generation mode of UHCI_OUT_EOF_INT interrupt. 1: When DMA has popped all data from FIFO. 0: When AHB has pushed all data to FIFO."] #[inline(always)] - #[must_use] pub fn out_eof_mode(&mut self) -> OUT_EOF_MODE_W { OUT_EOF_MODE_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to link up UHCI and UART0."] #[inline(always)] - #[must_use] pub fn uart0_ce(&mut self) -> UART0_CE_W { UART0_CE_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to link up UHCI and UART1."] #[inline(always)] - #[must_use] pub fn uart1_ce(&mut self) -> UART1_CE_W { UART1_CE_W::new(self, 10) } #[doc = "Bit 12 - This register is used to specify DMA transmit descriptor transfer mode. 1: burst mode. 0: byte mode."] #[inline(always)] - #[must_use] pub fn outdscr_burst_en(&mut self) -> OUTDSCR_BURST_EN_W { OUTDSCR_BURST_EN_W::new(self, 12) } #[doc = "Bit 13 - This register is used to specify DMA receive descriptor transfer mode. 1: burst mode. 0: byte mode."] #[inline(always)] - #[must_use] pub fn indscr_burst_en(&mut self) -> INDSCR_BURST_EN_W { INDSCR_BURST_EN_W::new(self, 13) } #[doc = "Bit 15 - 1: UHCI transmitted data would be write back into DMA INFIFO."] #[inline(always)] - #[must_use] pub fn mem_trans_en(&mut self) -> MEM_TRANS_EN_W { MEM_TRANS_EN_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to separate the data frame using a special character."] #[inline(always)] - #[must_use] pub fn seper_en(&mut self) -> SEPER_EN_W { SEPER_EN_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to encode the data packet with a formatting header."] #[inline(always)] - #[must_use] pub fn head_en(&mut self) -> HEAD_EN_W { HEAD_EN_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to enable UHCI to receive the 16 bit CRC."] #[inline(always)] - #[must_use] pub fn crc_rec_en(&mut self) -> CRC_REC_EN_W { CRC_REC_EN_W::new(self, 18) } #[doc = "Bit 19 - If this bit is set to 1, UHCI will end the payload receiving process when UART has been in idle state."] #[inline(always)] - #[must_use] pub fn uart_idle_eof_en(&mut self) -> UART_IDLE_EOF_EN_W { UART_IDLE_EOF_EN_W::new(self, 19) } #[doc = "Bit 20 - If this bit is set to 1, UHCI decoder stops receiving payload data when the number of received data bytes has reached the specified value. The value is payload length indicated by UCHI packet header when UHCI_HEAD_EN is 1 or the value is a configuration value when UHCI_HEAD_EN is 0. If this bit is set to 0, UHCI decoder stops receiving payload data upon receiving 0xC0."] #[inline(always)] - #[must_use] pub fn len_eof_en(&mut self) -> LEN_EOF_EN_W { LEN_EOF_EN_W::new(self, 20) } #[doc = "Bit 21 - Set this bit to enable data integrity checking by appending a 16 bit CCITT-CRC to the end of the payload."] #[inline(always)] - #[must_use] pub fn encode_crc_en(&mut self) -> ENCODE_CRC_EN_W { ENCODE_CRC_EN_W::new(self, 21) } #[doc = "Bit 22 - 1: Force clock on for registers. 0: Support clock only when application writes registers."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 22) } #[doc = "Bit 23 - If this bit is set to 1, UHCI stops receiving payload data when a NULL frame is received by UART."] #[inline(always)] - #[must_use] pub fn uart_rx_brk_eof_en(&mut self) -> UART_RX_BRK_EOF_EN_W { UART_RX_BRK_EOF_EN_W::new(self, 23) } diff --git a/esp32s2/src/uhci0/conf1.rs b/esp32s2/src/uhci0/conf1.rs index d7eb2befd2..ad3c23bec2 100644 --- a/esp32s2/src/uhci0/conf1.rs +++ b/esp32s2/src/uhci0/conf1.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This is the enable bit to check header checksum when UHCI receives a data packet."] #[inline(always)] - #[must_use] pub fn check_sum_en(&mut self) -> CHECK_SUM_EN_W { CHECK_SUM_EN_W::new(self, 0) } #[doc = "Bit 1 - This is the enable bit to check sequence number when UHCI receives a data packet."] #[inline(always)] - #[must_use] pub fn check_seq_en(&mut self) -> CHECK_SEQ_EN_W { CHECK_SEQ_EN_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to support CRC calculation. Data Integrity check present bit in UHCI packet frame should be 1."] #[inline(always)] - #[must_use] pub fn crc_disable(&mut self) -> CRC_DISABLE_W { CRC_DISABLE_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to save the packet header when UHCI receives a data packet."] #[inline(always)] - #[must_use] pub fn save_head(&mut self) -> SAVE_HEAD_W { SAVE_HEAD_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to encode the data packet with a checksum."] #[inline(always)] - #[must_use] pub fn tx_check_sum_re(&mut self) -> TX_CHECK_SUM_RE_W { TX_CHECK_SUM_RE_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to encode the data packet with an acknowledgement when a reliable packet is to be transmit."] #[inline(always)] - #[must_use] pub fn tx_ack_num_re(&mut self) -> TX_ACK_NUM_RE_W { TX_ACK_NUM_RE_W::new(self, 5) } #[doc = "Bit 6 - 1: Check the link list descriptor when link list owner is DMA controller; 0: Always check link list descriptor."] #[inline(always)] - #[must_use] pub fn check_owner(&mut self) -> CHECK_OWNER_W { CHECK_OWNER_W::new(self, 6) } #[doc = "Bit 7 - The UHCI encoder will jump to ST_SW_WAIT status if this register is set to 1."] #[inline(always)] - #[must_use] pub fn wait_sw_start(&mut self) -> WAIT_SW_START_W { WAIT_SW_START_W::new(self, 7) } #[doc = "Bit 8 - If current UHCI_ENCODE_STATE is ST_SW_WAIT, the UHCI will start to send data packet out when this bit is set to 1."] #[inline(always)] - #[must_use] pub fn sw_start(&mut self) -> SW_START_W { SW_START_W::new(self, 8) } #[doc = "Bits 9:20 - This field is used to generate the UHCI_DMA_INFIFO_FULL_WM_INT interrupt when the counter value of DMA RX FIFO exceeds the value of the register."] #[inline(always)] - #[must_use] pub fn dma_infifo_full_thrs(&mut self) -> DMA_INFIFO_FULL_THRS_W { DMA_INFIFO_FULL_THRS_W::new(self, 9) } diff --git a/esp32s2/src/uhci0/date.rs b/esp32s2/src/uhci0/date.rs index 9abdb3435d..eb72f24aeb 100644 --- a/esp32s2/src/uhci0/date.rs +++ b/esp32s2/src/uhci0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This is the version control register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s2/src/uhci0/dma_in_link.rs b/esp32s2/src/uhci0/dma_in_link.rs index 9b17733609..7aa44f722b 100644 --- a/esp32s2/src/uhci0/dma_in_link.rs +++ b/esp32s2/src/uhci0/dma_in_link.rs @@ -72,31 +72,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - This register is used to specify the least significant 20 bits of the first receive descriptor's address."] #[inline(always)] - #[must_use] pub fn inlink_addr(&mut self) -> INLINK_ADDR_W { INLINK_ADDR_W::new(self, 0) } #[doc = "Bit 20 - This is the enable bit to return to current receive descriptor's address, when there are some errors in current packet."] #[inline(always)] - #[must_use] pub fn inlink_auto_ret(&mut self) -> INLINK_AUTO_RET_W { INLINK_AUTO_RET_W::new(self, 20) } #[doc = "Bit 28 - Set this bit to stop dealing with the receive descriptors."] #[inline(always)] - #[must_use] pub fn inlink_stop(&mut self) -> INLINK_STOP_W { INLINK_STOP_W::new(self, 28) } #[doc = "Bit 29 - Set this bit to start dealing with the receive descriptors."] #[inline(always)] - #[must_use] pub fn inlink_start(&mut self) -> INLINK_START_W { INLINK_START_W::new(self, 29) } #[doc = "Bit 30 - Set this bit to restart new receive descriptors."] #[inline(always)] - #[must_use] pub fn inlink_restart(&mut self) -> INLINK_RESTART_W { INLINK_RESTART_W::new(self, 30) } diff --git a/esp32s2/src/uhci0/dma_in_pop.rs b/esp32s2/src/uhci0/dma_in_pop.rs index 44fc841e74..9a875aae72 100644 --- a/esp32s2/src/uhci0/dma_in_pop.rs +++ b/esp32s2/src/uhci0/dma_in_pop.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 16 - Set this bit to pop data from RX FIFO."] #[inline(always)] - #[must_use] pub fn infifo_pop(&mut self) -> INFIFO_POP_W { INFIFO_POP_W::new(self, 16) } diff --git a/esp32s2/src/uhci0/dma_out_link.rs b/esp32s2/src/uhci0/dma_out_link.rs index 0f60ba0faa..10af9d240a 100644 --- a/esp32s2/src/uhci0/dma_out_link.rs +++ b/esp32s2/src/uhci0/dma_out_link.rs @@ -62,25 +62,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - This register is used to specify the least significant 20 bits of the first transmit descriptor's address."] #[inline(always)] - #[must_use] pub fn outlink_addr(&mut self) -> OUTLINK_ADDR_W { OUTLINK_ADDR_W::new(self, 0) } #[doc = "Bit 28 - Set this bit to stop dealing with the transmit descriptor."] #[inline(always)] - #[must_use] pub fn outlink_stop(&mut self) -> OUTLINK_STOP_W { OUTLINK_STOP_W::new(self, 28) } #[doc = "Bit 29 - Set this bit to start a new transmit descriptor."] #[inline(always)] - #[must_use] pub fn outlink_start(&mut self) -> OUTLINK_START_W { OUTLINK_START_W::new(self, 29) } #[doc = "Bit 30 - Set this bit to restart the transmit descriptor from the last address."] #[inline(always)] - #[must_use] pub fn outlink_restart(&mut self) -> OUTLINK_RESTART_W { OUTLINK_RESTART_W::new(self, 30) } diff --git a/esp32s2/src/uhci0/dma_out_push.rs b/esp32s2/src/uhci0/dma_out_push.rs index 8ab42cf2a3..0dcfbb700a 100644 --- a/esp32s2/src/uhci0/dma_out_push.rs +++ b/esp32s2/src/uhci0/dma_out_push.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This is the data that need to be pushed into TX FIFO."] #[inline(always)] - #[must_use] pub fn outfifo_wdata(&mut self) -> OUTFIFO_WDATA_W { OUTFIFO_WDATA_W::new(self, 0) } #[doc = "Bit 16 - Set this bit to push data into TX FIFO."] #[inline(always)] - #[must_use] pub fn outfifo_push(&mut self) -> OUTFIFO_PUSH_W { OUTFIFO_PUSH_W::new(self, 16) } diff --git a/esp32s2/src/uhci0/esc_conf.rs b/esp32s2/src/uhci0/esc_conf.rs index 3d6546aa3d..f535c6ebd1 100644 --- a/esp32s2/src/uhci0/esc_conf.rs +++ b/esp32s2/src/uhci0/esc_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register is used to define separators to encode data packets. The default value is 0xC0."] #[inline(always)] - #[must_use] pub fn seper_char(&mut self) -> SEPER_CHAR_W { SEPER_CHAR_W::new(self, 0) } #[doc = "Bits 8:15 - This register is used to define the first character of SLIP escape sequence. The default value is 0xDB."] #[inline(always)] - #[must_use] pub fn seper_esc_char0(&mut self) -> SEPER_ESC_CHAR0_W { SEPER_ESC_CHAR0_W::new(self, 8) } #[doc = "Bits 16:23 - This register is used to define the second character of SLIP escape sequence. The default value is 0xDC."] #[inline(always)] - #[must_use] pub fn seper_esc_char1(&mut self) -> SEPER_ESC_CHAR1_W { SEPER_ESC_CHAR1_W::new(self, 16) } diff --git a/esp32s2/src/uhci0/escape_conf.rs b/esp32s2/src/uhci0/escape_conf.rs index 9bb5e297ed..21967cde3b 100644 --- a/esp32s2/src/uhci0/escape_conf.rs +++ b/esp32s2/src/uhci0/escape_conf.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to decode character 0xC0 when DMA receives data."] #[inline(always)] - #[must_use] pub fn tx_c0_esc_en(&mut self) -> TX_C0_ESC_EN_W { TX_C0_ESC_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to decode character 0xDB when DMA receives data."] #[inline(always)] - #[must_use] pub fn tx_db_esc_en(&mut self) -> TX_DB_ESC_EN_W { TX_DB_ESC_EN_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to decode flow control character 0x11 when DMA receives data."] #[inline(always)] - #[must_use] pub fn tx_11_esc_en(&mut self) -> TX_11_ESC_EN_W { TX_11_ESC_EN_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to decode flow control character 0x13 when DMA receives data."] #[inline(always)] - #[must_use] pub fn tx_13_esc_en(&mut self) -> TX_13_ESC_EN_W { TX_13_ESC_EN_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to replace 0xC0 by special characters when DMA sends data."] #[inline(always)] - #[must_use] pub fn rx_c0_esc_en(&mut self) -> RX_C0_ESC_EN_W { RX_C0_ESC_EN_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to replace 0xDB by special characters when DMA sends data."] #[inline(always)] - #[must_use] pub fn rx_db_esc_en(&mut self) -> RX_DB_ESC_EN_W { RX_DB_ESC_EN_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to replace flow control character 0x11 by special characters when DMA sends data."] #[inline(always)] - #[must_use] pub fn rx_11_esc_en(&mut self) -> RX_11_ESC_EN_W { RX_11_ESC_EN_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to replace flow control character 0x13 by special characters when DMA sends data."] #[inline(always)] - #[must_use] pub fn rx_13_esc_en(&mut self) -> RX_13_ESC_EN_W { RX_13_ESC_EN_W::new(self, 7) } diff --git a/esp32s2/src/uhci0/hung_conf.rs b/esp32s2/src/uhci0/hung_conf.rs index 82e0c7aef4..98bbfcf646 100644 --- a/esp32s2/src/uhci0/hung_conf.rs +++ b/esp32s2/src/uhci0/hung_conf.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register stores the timeout value. UHCI produce the UHCI_TX_HUNG_INT interrupt when DMA takes more time to receive data."] #[inline(always)] - #[must_use] pub fn txfifo_timeout(&mut self) -> TXFIFO_TIMEOUT_W { TXFIFO_TIMEOUT_W::new(self, 0) } #[doc = "Bits 8:10 - This register is used to configure the maximum tick count."] #[inline(always)] - #[must_use] pub fn txfifo_timeout_shift(&mut self) -> TXFIFO_TIMEOUT_SHIFT_W { TXFIFO_TIMEOUT_SHIFT_W::new(self, 8) } #[doc = "Bit 11 - This is the enable bit for TX FIFO receive timeout."] #[inline(always)] - #[must_use] pub fn txfifo_timeout_ena(&mut self) -> TXFIFO_TIMEOUT_ENA_W { TXFIFO_TIMEOUT_ENA_W::new(self, 11) } #[doc = "Bits 12:19 - This register stores the timeout value. UHCI produce the UHCI_RX_HUNG_INT interrupt when DMA takes more time to read data from RAM."] #[inline(always)] - #[must_use] pub fn rxfifo_timeout(&mut self) -> RXFIFO_TIMEOUT_W { RXFIFO_TIMEOUT_W::new(self, 12) } #[doc = "Bits 20:22 - This register is used to configure the maximum tick count."] #[inline(always)] - #[must_use] pub fn rxfifo_timeout_shift(&mut self) -> RXFIFO_TIMEOUT_SHIFT_W { RXFIFO_TIMEOUT_SHIFT_W::new(self, 20) } #[doc = "Bit 23 - This is the enable bit for DMA send timeout."] #[inline(always)] - #[must_use] pub fn rxfifo_timeout_ena(&mut self) -> RXFIFO_TIMEOUT_ENA_W { RXFIFO_TIMEOUT_ENA_W::new(self, 23) } diff --git a/esp32s2/src/uhci0/int_clr.rs b/esp32s2/src/uhci0/int_clr.rs index a2307f8998..3fd3dad5c8 100644 --- a/esp32s2/src/uhci0/int_clr.rs +++ b/esp32s2/src/uhci0/int_clr.rs @@ -43,103 +43,86 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear UHCI_RX_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn rx_start(&mut self) -> RX_START_W { RX_START_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear UHCI_TX_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn tx_start(&mut self) -> TX_START_W { TX_START_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear UHCI_RX_HUNG_INT interrupt."] #[inline(always)] - #[must_use] pub fn rx_hung(&mut self) -> RX_HUNG_W { RX_HUNG_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear UHCI_TX_HUNG_INT interrupt."] #[inline(always)] - #[must_use] pub fn tx_hung(&mut self) -> TX_HUNG_W { TX_HUNG_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear UHCI_IN_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_done(&mut self) -> IN_DONE_W { IN_DONE_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear UHCI_IN_SUC_EOF_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_suc_eof(&mut self) -> IN_SUC_EOF_W { IN_SUC_EOF_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear UHCI_IN_ERR_EOF_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_err_eof(&mut self) -> IN_ERR_EOF_W { IN_ERR_EOF_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear UHCI_OUT_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_done(&mut self) -> OUT_DONE_W { OUT_DONE_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear UHCI_OUT_EOF_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear UHCI_IN_DSCR_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_err(&mut self) -> IN_DSCR_ERR_W { IN_DSCR_ERR_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to clear UHCI_OUT_DSCR_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_dscr_err(&mut self) -> OUT_DSCR_ERR_W { OUT_DSCR_ERR_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear UHCI_IN_DSCR_EMPTY_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_empty(&mut self) -> IN_DSCR_EMPTY_W { IN_DSCR_EMPTY_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to clear UHCI_OUTLINK_EOF_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn outlink_eof_err(&mut self) -> OUTLINK_EOF_ERR_W { OUTLINK_EOF_ERR_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to clear UHCI_OUT_TOTAL_EOF_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_total_eof(&mut self) -> OUT_TOTAL_EOF_W { OUT_TOTAL_EOF_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to clear UHCI_SEND_S_REG_Q_INT interrupt."] #[inline(always)] - #[must_use] pub fn send_s_reg_q(&mut self) -> SEND_S_REG_Q_W { SEND_S_REG_Q_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to clear UHCI_SEND_A_REG_Q_INT interrupt."] #[inline(always)] - #[must_use] pub fn send_a_reg_q(&mut self) -> SEND_A_REG_Q_W { SEND_A_REG_Q_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to clear UHCI_DMA_INFIFO_FULL_WM_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_infifo_full_wm(&mut self) -> DMA_INFIFO_FULL_WM_W { DMA_INFIFO_FULL_WM_W::new(self, 16) } diff --git a/esp32s2/src/uhci0/int_ena.rs b/esp32s2/src/uhci0/int_ena.rs index e9bbfa6c88..86d59e7826 100644 --- a/esp32s2/src/uhci0/int_ena.rs +++ b/esp32s2/src/uhci0/int_ena.rs @@ -184,103 +184,86 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This is the interrupt enable bit for UHCI_RX_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn rx_start(&mut self) -> RX_START_W { RX_START_W::new(self, 0) } #[doc = "Bit 1 - This is the interrupt enable bit for UHCI_TX_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn tx_start(&mut self) -> TX_START_W { TX_START_W::new(self, 1) } #[doc = "Bit 2 - This is the interrupt enable bit for UHCI_RX_HUNG_INT interrupt."] #[inline(always)] - #[must_use] pub fn rx_hung(&mut self) -> RX_HUNG_W { RX_HUNG_W::new(self, 2) } #[doc = "Bit 3 - This is the interrupt enable bit for UHCI_TX_HUNG_INT interrupt."] #[inline(always)] - #[must_use] pub fn tx_hung(&mut self) -> TX_HUNG_W { TX_HUNG_W::new(self, 3) } #[doc = "Bit 4 - This is the interrupt enable bit for UHCI_IN_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_done(&mut self) -> IN_DONE_W { IN_DONE_W::new(self, 4) } #[doc = "Bit 5 - This is the interrupt enable bit for UHCI_IN_SUC_EOF_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_suc_eof(&mut self) -> IN_SUC_EOF_W { IN_SUC_EOF_W::new(self, 5) } #[doc = "Bit 6 - This is the interrupt enable bit for UHCI_IN_ERR_EOF_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_err_eof(&mut self) -> IN_ERR_EOF_W { IN_ERR_EOF_W::new(self, 6) } #[doc = "Bit 7 - This is the interrupt enable bit for UHCI_OUT_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_done(&mut self) -> OUT_DONE_W { OUT_DONE_W::new(self, 7) } #[doc = "Bit 8 - This is the interrupt enable bit for UHCI_OUT_EOF_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 8) } #[doc = "Bit 9 - This is the interrupt enable bit for UHCI_IN_DSCR_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_err(&mut self) -> IN_DSCR_ERR_W { IN_DSCR_ERR_W::new(self, 9) } #[doc = "Bit 10 - This is the interrupt enable bit for UHCI_OUT_DSCR_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_dscr_err(&mut self) -> OUT_DSCR_ERR_W { OUT_DSCR_ERR_W::new(self, 10) } #[doc = "Bit 11 - This is the interrupt enable bit for UHCI_IN_DSCR_EMPTY_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_empty(&mut self) -> IN_DSCR_EMPTY_W { IN_DSCR_EMPTY_W::new(self, 11) } #[doc = "Bit 12 - This is the interrupt enable bit for UHCI_OUTLINK_EOF_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn outlink_eof_err(&mut self) -> OUTLINK_EOF_ERR_W { OUTLINK_EOF_ERR_W::new(self, 12) } #[doc = "Bit 13 - This is the interrupt enable bit for UHCI_OUT_TOTAL_EOF_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_total_eof(&mut self) -> OUT_TOTAL_EOF_W { OUT_TOTAL_EOF_W::new(self, 13) } #[doc = "Bit 14 - This is the interrupt enable bit for UHCI_SEND_S_REG_Q_INT interrupt."] #[inline(always)] - #[must_use] pub fn send_s_reg_q(&mut self) -> SEND_S_REG_Q_W { SEND_S_REG_Q_W::new(self, 14) } #[doc = "Bit 15 - This is the interrupt enable bit for UHCI_SEND_A_REG_Q_INT interrupt."] #[inline(always)] - #[must_use] pub fn send_a_reg_q(&mut self) -> SEND_A_REG_Q_W { SEND_A_REG_Q_W::new(self, 15) } #[doc = "Bit 16 - This is the interrupt enable bit for UHCI_DMA_INFIFO_FULL_WM_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_infifo_full_wm(&mut self) -> DMA_INFIFO_FULL_WM_W { DMA_INFIFO_FULL_WM_W::new(self, 16) } diff --git a/esp32s2/src/uhci0/pkt_thres.rs b/esp32s2/src/uhci0/pkt_thres.rs index d31412ac4e..557230acbf 100644 --- a/esp32s2/src/uhci0/pkt_thres.rs +++ b/esp32s2/src/uhci0/pkt_thres.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:12 - This register is used to configure the maximum value of the packet length when UHCI_HEAD_EN is 0."] #[inline(always)] - #[must_use] pub fn pkt_thrs(&mut self) -> PKT_THRS_W { PKT_THRS_W::new(self, 0) } diff --git a/esp32s2/src/uhci0/q/word0.rs b/esp32s2/src/uhci0/q/word0.rs index 84df3f16b3..259eea811b 100644 --- a/esp32s2/src/uhci0/q/word0.rs +++ b/esp32s2/src/uhci0/q/word0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This register is used as a quick_sent register when mode is specified by UHCI_ALWAYS_SEND_NUM or UHCI_SINGLE_SEND_NUM."] #[inline(always)] - #[must_use] pub fn send_word(&mut self) -> SEND_WORD_W { SEND_WORD_W::new(self, 0) } diff --git a/esp32s2/src/uhci0/q/word1.rs b/esp32s2/src/uhci0/q/word1.rs index 410644dba5..3c2866edea 100644 --- a/esp32s2/src/uhci0/q/word1.rs +++ b/esp32s2/src/uhci0/q/word1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This register is used as a quick_sent register when mode is specified by UHCI_ALWAYS_SEND_NUM or UHCI_SINGLE_SEND_NUM."] #[inline(always)] - #[must_use] pub fn send_word(&mut self) -> SEND_WORD_W { SEND_WORD_W::new(self, 0) } diff --git a/esp32s2/src/uhci0/quick_sent.rs b/esp32s2/src/uhci0/quick_sent.rs index ebe29444a9..e2a382c982 100644 --- a/esp32s2/src/uhci0/quick_sent.rs +++ b/esp32s2/src/uhci0/quick_sent.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - This register is used to specify the single_send mode."] #[inline(always)] - #[must_use] pub fn single_send_num(&mut self) -> SINGLE_SEND_NUM_W { SINGLE_SEND_NUM_W::new(self, 0) } #[doc = "Bit 3 - Set this bit to enable single_send mode to send short packets."] #[inline(always)] - #[must_use] pub fn single_send_en(&mut self) -> SINGLE_SEND_EN_W { SINGLE_SEND_EN_W::new(self, 3) } #[doc = "Bits 4:6 - This register is used to specify the always_send mode."] #[inline(always)] - #[must_use] pub fn always_send_num(&mut self) -> ALWAYS_SEND_NUM_W { ALWAYS_SEND_NUM_W::new(self, 4) } #[doc = "Bit 7 - Set this bit to enable always_send mode to send short packets."] #[inline(always)] - #[must_use] pub fn always_send_en(&mut self) -> ALWAYS_SEND_EN_W { ALWAYS_SEND_EN_W::new(self, 7) } diff --git a/esp32s2/src/usb0.rs b/esp32s2/src/usb0.rs index 59eed2f399..7819d5d3ea 100644 --- a/esp32s2/src/usb0.rs +++ b/esp32s2/src/usb0.rs @@ -160,6 +160,8 @@ impl RegisterBlock { &self.hptxfsiz } #[doc = "0x104..0x114 - "] + #[doc = ""] + #[doc = "
`n` is the index of register in the array. `n == 0` corresponds to `DIEPTXF1` register.
"] #[inline(always)] pub const fn dieptxf(&self, n: usize) -> &DIEPTXF { &self.dieptxf[n] @@ -302,6 +304,8 @@ impl RegisterBlock { &self.in_ep0 } #[doc = "0x920..0x9e0 - Device IN endpoints 1-6"] + #[doc = ""] + #[doc = "
`n` is the index of cluster in the array. `n == 0` corresponds to `IN_EP1` cluster.
"] #[inline(always)] pub const fn in_ep(&self, n: usize) -> &IN_EP { &self.in_ep[n] @@ -348,6 +352,8 @@ impl RegisterBlock { &self.out_ep0 } #[doc = "0xb20..0xbe0 - Device OUT endpoints 1-6"] + #[doc = ""] + #[doc = "
`n` is the index of cluster in the array. `n == 0` corresponds to `OUT_EP1` cluster.
"] #[inline(always)] pub const fn out_ep(&self, n: usize) -> &OUT_EP { &self.out_ep[n] @@ -399,7 +405,7 @@ impl RegisterBlock { #[allow(clippy::no_effect)] [(); 16][n]; unsafe { - &*(self as *const Self) + &*core::ptr::from_ref(self) .cast::() .add(4096) .add(4096 * n) @@ -411,7 +417,7 @@ impl RegisterBlock { #[inline(always)] pub fn fifo_iter(&self) -> impl Iterator { (0..16).map(move |n| unsafe { - &*(self as *const Self) + &*core::ptr::from_ref(self) .cast::() .add(4096) .add(4096 * n) diff --git a/esp32s2/src/usb0/daintmsk.rs b/esp32s2/src/usb0/daintmsk.rs index 231fa18130..e0075ce733 100644 --- a/esp32s2/src/usb0/daintmsk.rs +++ b/esp32s2/src/usb0/daintmsk.rs @@ -138,7 +138,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `INEPMSK0` field.
"] #[inline(always)] - #[must_use] pub fn inepmsk(&mut self, n: u8) -> INEPMSK_W { #[allow(clippy::no_effect)] [(); 7][n as usize]; @@ -146,43 +145,36 @@ impl W { } #[doc = "Bit 0 - INEPMSK0"] #[inline(always)] - #[must_use] pub fn inepmsk0(&mut self) -> INEPMSK_W { INEPMSK_W::new(self, 0) } #[doc = "Bit 1 - INEPMSK1"] #[inline(always)] - #[must_use] pub fn inepmsk1(&mut self) -> INEPMSK_W { INEPMSK_W::new(self, 1) } #[doc = "Bit 2 - INEPMSK2"] #[inline(always)] - #[must_use] pub fn inepmsk2(&mut self) -> INEPMSK_W { INEPMSK_W::new(self, 2) } #[doc = "Bit 3 - INEPMSK3"] #[inline(always)] - #[must_use] pub fn inepmsk3(&mut self) -> INEPMSK_W { INEPMSK_W::new(self, 3) } #[doc = "Bit 4 - INEPMSK4"] #[inline(always)] - #[must_use] pub fn inepmsk4(&mut self) -> INEPMSK_W { INEPMSK_W::new(self, 4) } #[doc = "Bit 5 - INEPMSK5"] #[inline(always)] - #[must_use] pub fn inepmsk5(&mut self) -> INEPMSK_W { INEPMSK_W::new(self, 5) } #[doc = "Bit 6 - INEPMSK6"] #[inline(always)] - #[must_use] pub fn inepmsk6(&mut self) -> INEPMSK_W { INEPMSK_W::new(self, 6) } @@ -190,7 +182,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `OUTEPMSK0` field.
"] #[inline(always)] - #[must_use] pub fn outepmsk(&mut self, n: u8) -> OUTEPMSK_W { #[allow(clippy::no_effect)] [(); 7][n as usize]; @@ -198,43 +189,36 @@ impl W { } #[doc = "Bit 16 - OUTEPMSK0"] #[inline(always)] - #[must_use] pub fn outepmsk0(&mut self) -> OUTEPMSK_W { OUTEPMSK_W::new(self, 16) } #[doc = "Bit 17 - OUTEPMSK1"] #[inline(always)] - #[must_use] pub fn outepmsk1(&mut self) -> OUTEPMSK_W { OUTEPMSK_W::new(self, 17) } #[doc = "Bit 18 - OUTEPMSK2"] #[inline(always)] - #[must_use] pub fn outepmsk2(&mut self) -> OUTEPMSK_W { OUTEPMSK_W::new(self, 18) } #[doc = "Bit 19 - OUTEPMSK3"] #[inline(always)] - #[must_use] pub fn outepmsk3(&mut self) -> OUTEPMSK_W { OUTEPMSK_W::new(self, 19) } #[doc = "Bit 20 - OUTEPMSK4"] #[inline(always)] - #[must_use] pub fn outepmsk4(&mut self) -> OUTEPMSK_W { OUTEPMSK_W::new(self, 20) } #[doc = "Bit 21 - OUTEPMSK5"] #[inline(always)] - #[must_use] pub fn outepmsk5(&mut self) -> OUTEPMSK_W { OUTEPMSK_W::new(self, 21) } #[doc = "Bit 22 - OUTEPMSK6"] #[inline(always)] - #[must_use] pub fn outepmsk6(&mut self) -> OUTEPMSK_W { OUTEPMSK_W::new(self, 22) } diff --git a/esp32s2/src/usb0/dcfg.rs b/esp32s2/src/usb0/dcfg.rs index a6d0af1184..6488a1b902 100644 --- a/esp32s2/src/usb0/dcfg.rs +++ b/esp32s2/src/usb0/dcfg.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn nzstsouthshk(&mut self) -> NZSTSOUTHSHK_W { NZSTSOUTHSHK_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn ena32khzsusp(&mut self) -> ENA32KHZSUSP_W { ENA32KHZSUSP_W::new(self, 3) } #[doc = "Bits 4:10"] #[inline(always)] - #[must_use] pub fn devaddr(&mut self) -> DEVADDR_W { DEVADDR_W::new(self, 4) } #[doc = "Bits 11:12"] #[inline(always)] - #[must_use] pub fn perfrlint(&mut self) -> PERFRLINT_W { PERFRLINT_W::new(self, 11) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn endevoutnak(&mut self) -> ENDEVOUTNAK_W { ENDEVOUTNAK_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn xcvrdly(&mut self) -> XCVRDLY_W { XCVRDLY_W::new(self, 14) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn erraticintmsk(&mut self) -> ERRATICINTMSK_W { ERRATICINTMSK_W::new(self, 15) } #[doc = "Bits 18:22"] #[inline(always)] - #[must_use] pub fn epmiscnt(&mut self) -> EPMISCNT_W { EPMISCNT_W::new(self, 18) } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn descdma(&mut self) -> DESCDMA_W { DESCDMA_W::new(self, 23) } #[doc = "Bits 24:25"] #[inline(always)] - #[must_use] pub fn perschintvl(&mut self) -> PERSCHINTVL_W { PERSCHINTVL_W::new(self, 24) } #[doc = "Bits 26:31"] #[inline(always)] - #[must_use] pub fn resvalid(&mut self) -> RESVALID_W { RESVALID_W::new(self, 26) } diff --git a/esp32s2/src/usb0/dctl.rs b/esp32s2/src/usb0/dctl.rs index e806259488..ca8528bace 100644 --- a/esp32s2/src/usb0/dctl.rs +++ b/esp32s2/src/usb0/dctl.rs @@ -128,79 +128,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn rmtwkupsig(&mut self) -> RMTWKUPSIG_W { RMTWKUPSIG_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn sftdiscon(&mut self) -> SFTDISCON_W { SFTDISCON_W::new(self, 1) } #[doc = "Bits 4:6"] #[inline(always)] - #[must_use] pub fn tstctl(&mut self) -> TSTCTL_W { TSTCTL_W::new(self, 4) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn sgnpinnak(&mut self) -> SGNPINNAK_W { SGNPINNAK_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn cgnpinnak(&mut self) -> CGNPINNAK_W { CGNPINNAK_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn sgoutnak(&mut self) -> SGOUTNAK_W { SGOUTNAK_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn cgoutnak(&mut self) -> CGOUTNAK_W { CGOUTNAK_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn pwronprgdone(&mut self) -> PWRONPRGDONE_W { PWRONPRGDONE_W::new(self, 11) } #[doc = "Bits 13:14"] #[inline(always)] - #[must_use] pub fn gmc(&mut self) -> GMC_W { GMC_W::new(self, 13) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn ignrfrmnum(&mut self) -> IGNRFRMNUM_W { IGNRFRMNUM_W::new(self, 15) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn nakonbble(&mut self) -> NAKONBBLE_W { NAKONBBLE_W::new(self, 16) } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn encountonbna(&mut self) -> ENCOUNTONBNA_W { ENCOUNTONBNA_W::new(self, 17) } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn deepsleepbeslreject(&mut self) -> DEEPSLEEPBESLREJECT_W { DEEPSLEEPBESLREJECT_W::new(self, 18) } diff --git a/esp32s2/src/usb0/diepempmsk.rs b/esp32s2/src/usb0/diepempmsk.rs index 0f43f3df8c..b9f279ed78 100644 --- a/esp32s2/src/usb0/diepempmsk.rs +++ b/esp32s2/src/usb0/diepempmsk.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn d_ineptxfempmsk(&mut self) -> D_INEPTXFEMPMSK_W { D_INEPTXFEMPMSK_W::new(self, 0) } diff --git a/esp32s2/src/usb0/diepmsk.rs b/esp32s2/src/usb0/diepmsk.rs index 106eb330b5..02c6955f54 100644 --- a/esp32s2/src/usb0/diepmsk.rs +++ b/esp32s2/src/usb0/diepmsk.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn di_xfercomplmsk(&mut self) -> DI_XFERCOMPLMSK_W { DI_XFERCOMPLMSK_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn di_epdisbldmsk(&mut self) -> DI_EPDISBLDMSK_W { DI_EPDISBLDMSK_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn di_ahbermsk(&mut self) -> DI_AHBERMSK_W { DI_AHBERMSK_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn timeoutmsk(&mut self) -> TIMEOUTMSK_W { TIMEOUTMSK_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn intkntxfempmsk(&mut self) -> INTKNTXFEMPMSK_W { INTKNTXFEMPMSK_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn intknepmismsk(&mut self) -> INTKNEPMISMSK_W { INTKNEPMISMSK_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn inepnakeffmsk(&mut self) -> INEPNAKEFFMSK_W { INEPNAKEFFMSK_W::new(self, 6) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn txfifoundrnmsk(&mut self) -> TXFIFOUNDRNMSK_W { TXFIFOUNDRNMSK_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn bnainintrmsk(&mut self) -> BNAININTRMSK_W { BNAININTRMSK_W::new(self, 9) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn di_nakmsk(&mut self) -> DI_NAKMSK_W { DI_NAKMSK_W::new(self, 13) } diff --git a/esp32s2/src/usb0/dieptxf.rs b/esp32s2/src/usb0/dieptxf.rs index d59c42b2bb..63392a85e3 100644 --- a/esp32s2/src/usb0/dieptxf.rs +++ b/esp32s2/src/usb0/dieptxf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn inep1txfstaddr(&mut self) -> INEP1TXFSTADDR_W { INEP1TXFSTADDR_W::new(self, 0) } #[doc = "Bits 16:31"] #[inline(always)] - #[must_use] pub fn inep1txfdep(&mut self) -> INEP1TXFDEP_W { INEP1TXFDEP_W::new(self, 16) } diff --git a/esp32s2/src/usb0/doepmsk.rs b/esp32s2/src/usb0/doepmsk.rs index 89b209f847..5496a246b0 100644 --- a/esp32s2/src/usb0/doepmsk.rs +++ b/esp32s2/src/usb0/doepmsk.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn xfercomplmsk(&mut self) -> XFERCOMPLMSK_W { XFERCOMPLMSK_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn epdisbldmsk(&mut self) -> EPDISBLDMSK_W { EPDISBLDMSK_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn ahbermsk(&mut self) -> AHBERMSK_W { AHBERMSK_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn setupmsk(&mut self) -> SETUPMSK_W { SETUPMSK_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn outtknepdismsk(&mut self) -> OUTTKNEPDISMSK_W { OUTTKNEPDISMSK_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn stsphsercvdmsk(&mut self) -> STSPHSERCVDMSK_W { STSPHSERCVDMSK_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn back2backsetup(&mut self) -> BACK2BACKSETUP_W { BACK2BACKSETUP_W::new(self, 6) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn outpkterrmsk(&mut self) -> OUTPKTERRMSK_W { OUTPKTERRMSK_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn bnaoutintrmsk(&mut self) -> BNAOUTINTRMSK_W { BNAOUTINTRMSK_W::new(self, 9) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn bbleerrmsk(&mut self) -> BBLEERRMSK_W { BBLEERRMSK_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn nakmsk(&mut self) -> NAKMSK_W { NAKMSK_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn nyetmsk(&mut self) -> NYETMSK_W { NYETMSK_W::new(self, 14) } diff --git a/esp32s2/src/usb0/dthrctl.rs b/esp32s2/src/usb0/dthrctl.rs index 9ab009ceb9..e1c5862ed7 100644 --- a/esp32s2/src/usb0/dthrctl.rs +++ b/esp32s2/src/usb0/dthrctl.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn nonisothren(&mut self) -> NONISOTHREN_W { NONISOTHREN_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn isothren(&mut self) -> ISOTHREN_W { ISOTHREN_W::new(self, 1) } #[doc = "Bits 2:10"] #[inline(always)] - #[must_use] pub fn txthrlen(&mut self) -> TXTHRLEN_W { TXTHRLEN_W::new(self, 2) } #[doc = "Bits 11:12"] #[inline(always)] - #[must_use] pub fn ahbthrratio(&mut self) -> AHBTHRRATIO_W { AHBTHRRATIO_W::new(self, 11) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn rxthren(&mut self) -> RXTHREN_W { RXTHREN_W::new(self, 16) } #[doc = "Bits 17:25"] #[inline(always)] - #[must_use] pub fn rxthrlen(&mut self) -> RXTHRLEN_W { RXTHRLEN_W::new(self, 17) } #[doc = "Bit 27"] #[inline(always)] - #[must_use] pub fn arbprken(&mut self) -> ARBPRKEN_W { ARBPRKEN_W::new(self, 27) } diff --git a/esp32s2/src/usb0/dvbusdis.rs b/esp32s2/src/usb0/dvbusdis.rs index 0aded180be..75c7ff65cf 100644 --- a/esp32s2/src/usb0/dvbusdis.rs +++ b/esp32s2/src/usb0/dvbusdis.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn dvbusdis(&mut self) -> DVBUSDIS_W { DVBUSDIS_W::new(self, 0) } diff --git a/esp32s2/src/usb0/dvbuspulse.rs b/esp32s2/src/usb0/dvbuspulse.rs index e0ad68f11a..34da3344b2 100644 --- a/esp32s2/src/usb0/dvbuspulse.rs +++ b/esp32s2/src/usb0/dvbuspulse.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11"] #[inline(always)] - #[must_use] pub fn dvbuspulse(&mut self) -> DVBUSPULSE_W { DVBUSPULSE_W::new(self, 0) } diff --git a/esp32s2/src/usb0/fifo.rs b/esp32s2/src/usb0/fifo.rs index f5e55135b2..3eb476d958 100644 --- a/esp32s2/src/usb0/fifo.rs +++ b/esp32s2/src/usb0/fifo.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn word(&mut self) -> WORD_W { WORD_W::new(self, 0) } diff --git a/esp32s2/src/usb0/gahbcfg.rs b/esp32s2/src/usb0/gahbcfg.rs index 23ed6383db..17a6a7368d 100644 --- a/esp32s2/src/usb0/gahbcfg.rs +++ b/esp32s2/src/usb0/gahbcfg.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn glbllntrmsk(&mut self) -> GLBLLNTRMSK_W { GLBLLNTRMSK_W::new(self, 0) } #[doc = "Bits 1:4"] #[inline(always)] - #[must_use] pub fn hbstlen(&mut self) -> HBSTLEN_W { HBSTLEN_W::new(self, 1) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn dmaen(&mut self) -> DMAEN_W { DMAEN_W::new(self, 5) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn nptxfemplvl(&mut self) -> NPTXFEMPLVL_W { NPTXFEMPLVL_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn ptxfemplvl(&mut self) -> PTXFEMPLVL_W { PTXFEMPLVL_W::new(self, 8) } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn remmemsupp(&mut self) -> REMMEMSUPP_W { REMMEMSUPP_W::new(self, 21) } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn notialldmawrit(&mut self) -> NOTIALLDMAWRIT_W { NOTIALLDMAWRIT_W::new(self, 22) } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn ahbsingle(&mut self) -> AHBSINGLE_W { AHBSINGLE_W::new(self, 23) } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn invdescendianess(&mut self) -> INVDESCENDIANESS_W { INVDESCENDIANESS_W::new(self, 24) } diff --git a/esp32s2/src/usb0/gdfifocfg.rs b/esp32s2/src/usb0/gdfifocfg.rs index 6996405a7a..981246c611 100644 --- a/esp32s2/src/usb0/gdfifocfg.rs +++ b/esp32s2/src/usb0/gdfifocfg.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn gdfifocfg(&mut self) -> GDFIFOCFG_W { GDFIFOCFG_W::new(self, 0) } #[doc = "Bits 16:31"] #[inline(always)] - #[must_use] pub fn epinfobaseaddr(&mut self) -> EPINFOBASEADDR_W { EPINFOBASEADDR_W::new(self, 16) } diff --git a/esp32s2/src/usb0/gintmsk.rs b/esp32s2/src/usb0/gintmsk.rs index 6b4555f22e..51c75a34e0 100644 --- a/esp32s2/src/usb0/gintmsk.rs +++ b/esp32s2/src/usb0/gintmsk.rs @@ -284,163 +284,136 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn modemismsk(&mut self) -> MODEMISMSK_W { MODEMISMSK_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn otgintmsk(&mut self) -> OTGINTMSK_W { OTGINTMSK_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn sofmsk(&mut self) -> SOFMSK_W { SOFMSK_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn rxflvimsk(&mut self) -> RXFLVIMSK_W { RXFLVIMSK_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn nptxfempmsk(&mut self) -> NPTXFEMPMSK_W { NPTXFEMPMSK_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn ginnakeffmsk(&mut self) -> GINNAKEFFMSK_W { GINNAKEFFMSK_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn goutnackeffmsk(&mut self) -> GOUTNACKEFFMSK_W { GOUTNACKEFFMSK_W::new(self, 7) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn erlysuspmsk(&mut self) -> ERLYSUSPMSK_W { ERLYSUSPMSK_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn usbsuspmsk(&mut self) -> USBSUSPMSK_W { USBSUSPMSK_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn usbrstmsk(&mut self) -> USBRSTMSK_W { USBRSTMSK_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn enumdonemsk(&mut self) -> ENUMDONEMSK_W { ENUMDONEMSK_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn isooutdropmsk(&mut self) -> ISOOUTDROPMSK_W { ISOOUTDROPMSK_W::new(self, 14) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn eopfmsk(&mut self) -> EOPFMSK_W { EOPFMSK_W::new(self, 15) } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn epmismsk(&mut self) -> EPMISMSK_W { EPMISMSK_W::new(self, 17) } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn iepintmsk(&mut self) -> IEPINTMSK_W { IEPINTMSK_W::new(self, 18) } #[doc = "Bit 19"] #[inline(always)] - #[must_use] pub fn oepintmsk(&mut self) -> OEPINTMSK_W { OEPINTMSK_W::new(self, 19) } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn incompisoinmsk(&mut self) -> INCOMPISOINMSK_W { INCOMPISOINMSK_W::new(self, 20) } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn incompipmsk(&mut self) -> INCOMPIPMSK_W { INCOMPIPMSK_W::new(self, 21) } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn fetsuspmsk(&mut self) -> FETSUSPMSK_W { FETSUSPMSK_W::new(self, 22) } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn resetdetmsk(&mut self) -> RESETDETMSK_W { RESETDETMSK_W::new(self, 23) } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn prtlntmsk(&mut self) -> PRTLNTMSK_W { PRTLNTMSK_W::new(self, 24) } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn hchintmsk(&mut self) -> HCHINTMSK_W { HCHINTMSK_W::new(self, 25) } #[doc = "Bit 26"] #[inline(always)] - #[must_use] pub fn ptxfempmsk(&mut self) -> PTXFEMPMSK_W { PTXFEMPMSK_W::new(self, 26) } #[doc = "Bit 28"] #[inline(always)] - #[must_use] pub fn conidstschngmsk(&mut self) -> CONIDSTSCHNGMSK_W { CONIDSTSCHNGMSK_W::new(self, 28) } #[doc = "Bit 29"] #[inline(always)] - #[must_use] pub fn disconnintmsk(&mut self) -> DISCONNINTMSK_W { DISCONNINTMSK_W::new(self, 29) } #[doc = "Bit 30"] #[inline(always)] - #[must_use] pub fn sessreqintmsk(&mut self) -> SESSREQINTMSK_W { SESSREQINTMSK_W::new(self, 30) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn wkupintmsk(&mut self) -> WKUPINTMSK_W { WKUPINTMSK_W::new(self, 31) } diff --git a/esp32s2/src/usb0/gintsts.rs b/esp32s2/src/usb0/gintsts.rs index 62dddd5efc..e84b095398 100644 --- a/esp32s2/src/usb0/gintsts.rs +++ b/esp32s2/src/usb0/gintsts.rs @@ -272,103 +272,86 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn modemis(&mut self) -> MODEMIS_W { MODEMIS_W::new(self, 1) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn sof(&mut self) -> SOF_W { SOF_W::new(self, 3) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn erlysusp(&mut self) -> ERLYSUSP_W { ERLYSUSP_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn usbsusp(&mut self) -> USBSUSP_W { USBSUSP_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn usbrst(&mut self) -> USBRST_W { USBRST_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn enumdone(&mut self) -> ENUMDONE_W { ENUMDONE_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn isooutdrop(&mut self) -> ISOOUTDROP_W { ISOOUTDROP_W::new(self, 14) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn eopf(&mut self) -> EOPF_W { EOPF_W::new(self, 15) } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn epmis(&mut self) -> EPMIS_W { EPMIS_W::new(self, 17) } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn incompisoin(&mut self) -> INCOMPISOIN_W { INCOMPISOIN_W::new(self, 20) } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn incompip(&mut self) -> INCOMPIP_W { INCOMPIP_W::new(self, 21) } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn fetsusp(&mut self) -> FETSUSP_W { FETSUSP_W::new(self, 22) } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn resetdet(&mut self) -> RESETDET_W { RESETDET_W::new(self, 23) } #[doc = "Bit 28"] #[inline(always)] - #[must_use] pub fn conidstschng(&mut self) -> CONIDSTSCHNG_W { CONIDSTSCHNG_W::new(self, 28) } #[doc = "Bit 29"] #[inline(always)] - #[must_use] pub fn disconnint(&mut self) -> DISCONNINT_W { DISCONNINT_W::new(self, 29) } #[doc = "Bit 30"] #[inline(always)] - #[must_use] pub fn sessreqint(&mut self) -> SESSREQINT_W { SESSREQINT_W::new(self, 30) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn wkupint(&mut self) -> WKUPINT_W { WKUPINT_W::new(self, 31) } diff --git a/esp32s2/src/usb0/gnptxfsiz.rs b/esp32s2/src/usb0/gnptxfsiz.rs index 64f666b6fe..b6ad1bc036 100644 --- a/esp32s2/src/usb0/gnptxfsiz.rs +++ b/esp32s2/src/usb0/gnptxfsiz.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn nptxfstaddr(&mut self) -> NPTXFSTADDR_W { NPTXFSTADDR_W::new(self, 0) } #[doc = "Bits 16:31"] #[inline(always)] - #[must_use] pub fn nptxfdep(&mut self) -> NPTXFDEP_W { NPTXFDEP_W::new(self, 16) } diff --git a/esp32s2/src/usb0/gotgctl.rs b/esp32s2/src/usb0/gotgctl.rs index c0500f1604..6b575cd5fb 100644 --- a/esp32s2/src/usb0/gotgctl.rs +++ b/esp32s2/src/usb0/gotgctl.rs @@ -200,79 +200,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn sesreq(&mut self) -> SESREQ_W { SESREQ_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn vbvalidoven(&mut self) -> VBVALIDOVEN_W { VBVALIDOVEN_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn vbvalidovval(&mut self) -> VBVALIDOVVAL_W { VBVALIDOVVAL_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn avalidoven(&mut self) -> AVALIDOVEN_W { AVALIDOVEN_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn avalidovval(&mut self) -> AVALIDOVVAL_W { AVALIDOVVAL_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn bvalidoven(&mut self) -> BVALIDOVEN_W { BVALIDOVEN_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn bvalidovval(&mut self) -> BVALIDOVVAL_W { BVALIDOVVAL_W::new(self, 7) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn hnpreq(&mut self) -> HNPREQ_W { HNPREQ_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn hstsethnpen(&mut self) -> HSTSETHNPEN_W { HSTSETHNPEN_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn devhnpen(&mut self) -> DEVHNPEN_W { DEVHNPEN_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn ehen(&mut self) -> EHEN_W { EHEN_W::new(self, 12) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn dbncefltrbypass(&mut self) -> DBNCEFLTRBYPASS_W { DBNCEFLTRBYPASS_W::new(self, 15) } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn otgver(&mut self) -> OTGVER_W { OTGVER_W::new(self, 20) } diff --git a/esp32s2/src/usb0/gotgint.rs b/esp32s2/src/usb0/gotgint.rs index 65bc5f1f82..b588af01dd 100644 --- a/esp32s2/src/usb0/gotgint.rs +++ b/esp32s2/src/usb0/gotgint.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn sesenddet(&mut self) -> SESENDDET_W { SESENDDET_W::new(self, 2) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn sesreqsucstschng(&mut self) -> SESREQSUCSTSCHNG_W { SESREQSUCSTSCHNG_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn hstnegsucstschng(&mut self) -> HSTNEGSUCSTSCHNG_W { HSTNEGSUCSTSCHNG_W::new(self, 9) } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn hstnegdet(&mut self) -> HSTNEGDET_W { HSTNEGDET_W::new(self, 17) } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn adevtoutchg(&mut self) -> ADEVTOUTCHG_W { ADEVTOUTCHG_W::new(self, 18) } #[doc = "Bit 19"] #[inline(always)] - #[must_use] pub fn dbncedone(&mut self) -> DBNCEDONE_W { DBNCEDONE_W::new(self, 19) } diff --git a/esp32s2/src/usb0/grstctl.rs b/esp32s2/src/usb0/grstctl.rs index bdd666ef07..83ad580e3e 100644 --- a/esp32s2/src/usb0/grstctl.rs +++ b/esp32s2/src/usb0/grstctl.rs @@ -90,37 +90,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn csftrst(&mut self) -> CSFTRST_W { CSFTRST_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn piufssftrst(&mut self) -> PIUFSSFTRST_W { PIUFSSFTRST_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn frmcntrrst(&mut self) -> FRMCNTRRST_W { FRMCNTRRST_W::new(self, 2) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn rxfflsh(&mut self) -> RXFFLSH_W { RXFFLSH_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn txfflsh(&mut self) -> TXFFLSH_W { TXFFLSH_W::new(self, 5) } #[doc = "Bits 6:10"] #[inline(always)] - #[must_use] pub fn txfnum(&mut self) -> TXFNUM_W { TXFNUM_W::new(self, 6) } diff --git a/esp32s2/src/usb0/grxfsiz.rs b/esp32s2/src/usb0/grxfsiz.rs index 1b3760bac6..6fbfc23f7a 100644 --- a/esp32s2/src/usb0/grxfsiz.rs +++ b/esp32s2/src/usb0/grxfsiz.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn rxfdep(&mut self) -> RXFDEP_W { RXFDEP_W::new(self, 0) } diff --git a/esp32s2/src/usb0/gusbcfg.rs b/esp32s2/src/usb0/gusbcfg.rs index 0cda2361ee..1351cb9c67 100644 --- a/esp32s2/src/usb0/gusbcfg.rs +++ b/esp32s2/src/usb0/gusbcfg.rs @@ -140,67 +140,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2"] #[inline(always)] - #[must_use] pub fn toutcal(&mut self) -> TOUTCAL_W { TOUTCAL_W::new(self, 0) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn phyif(&mut self) -> PHYIF_W { PHYIF_W::new(self, 3) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn fsintf(&mut self) -> FSINTF_W { FSINTF_W::new(self, 5) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn srpcap(&mut self) -> SRPCAP_W { SRPCAP_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn hnpcap(&mut self) -> HNPCAP_W { HNPCAP_W::new(self, 9) } #[doc = "Bits 10:13"] #[inline(always)] - #[must_use] pub fn usbtrdtim(&mut self) -> USBTRDTIM_W { USBTRDTIM_W::new(self, 10) } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn termseldlpulse(&mut self) -> TERMSELDLPULSE_W { TERMSELDLPULSE_W::new(self, 22) } #[doc = "Bit 28"] #[inline(always)] - #[must_use] pub fn txenddelay(&mut self) -> TXENDDELAY_W { TXENDDELAY_W::new(self, 28) } #[doc = "Bit 29"] #[inline(always)] - #[must_use] pub fn forcehstmode(&mut self) -> FORCEHSTMODE_W { FORCEHSTMODE_W::new(self, 29) } #[doc = "Bit 30"] #[inline(always)] - #[must_use] pub fn forcedevmode(&mut self) -> FORCEDEVMODE_W { FORCEDEVMODE_W::new(self, 30) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn corrupttxpkt(&mut self) -> CORRUPTTXPKT_W { CORRUPTTXPKT_W::new(self, 31) } diff --git a/esp32s2/src/usb0/haintmsk.rs b/esp32s2/src/usb0/haintmsk.rs index eed276f53e..6779448c85 100644 --- a/esp32s2/src/usb0/haintmsk.rs +++ b/esp32s2/src/usb0/haintmsk.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn haintmsk(&mut self) -> HAINTMSK_W { HAINTMSK_W::new(self, 0) } diff --git a/esp32s2/src/usb0/hc/char.rs b/esp32s2/src/usb0/hc/char.rs index 8fa3c4a433..906fb5c5ea 100644 --- a/esp32s2/src/usb0/hc/char.rs +++ b/esp32s2/src/usb0/hc/char.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10"] #[inline(always)] - #[must_use] pub fn mps(&mut self) -> MPS_W { MPS_W::new(self, 0) } #[doc = "Bits 11:14"] #[inline(always)] - #[must_use] pub fn epnum(&mut self) -> EPNUM_W { EPNUM_W::new(self, 11) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn epdir(&mut self) -> EPDIR_W { EPDIR_W::new(self, 15) } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn lspddev(&mut self) -> LSPDDEV_W { LSPDDEV_W::new(self, 17) } #[doc = "Bits 18:19"] #[inline(always)] - #[must_use] pub fn eptype(&mut self) -> EPTYPE_W { EPTYPE_W::new(self, 18) } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn ec(&mut self) -> EC_W { EC_W::new(self, 21) } #[doc = "Bits 22:28"] #[inline(always)] - #[must_use] pub fn devaddr(&mut self) -> DEVADDR_W { DEVADDR_W::new(self, 22) } #[doc = "Bit 29"] #[inline(always)] - #[must_use] pub fn oddfrm(&mut self) -> ODDFRM_W { ODDFRM_W::new(self, 29) } #[doc = "Bit 30"] #[inline(always)] - #[must_use] pub fn chdis(&mut self) -> CHDIS_W { CHDIS_W::new(self, 30) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn chena(&mut self) -> CHENA_W { CHENA_W::new(self, 31) } diff --git a/esp32s2/src/usb0/hc/dma.rs b/esp32s2/src/usb0/hc/dma.rs index 43d5d40c9f..8f54073847 100644 --- a/esp32s2/src/usb0/hc/dma.rs +++ b/esp32s2/src/usb0/hc/dma.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn dmaaddr(&mut self) -> DMAADDR_W { DMAADDR_W::new(self, 0) } diff --git a/esp32s2/src/usb0/hc/int.rs b/esp32s2/src/usb0/hc/int.rs index 4b1dea7eae..d8f78296bc 100644 --- a/esp32s2/src/usb0/hc/int.rs +++ b/esp32s2/src/usb0/hc/int.rs @@ -154,85 +154,71 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn xfercompl(&mut self) -> XFERCOMPL_W { XFERCOMPL_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn chhltd(&mut self) -> CHHLTD_W { CHHLTD_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn ahberr(&mut self) -> AHBERR_W { AHBERR_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn stall(&mut self) -> STALL_W { STALL_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn nack(&mut self) -> NACK_W { NACK_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn ack(&mut self) -> ACK_W { ACK_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn nyet(&mut self) -> NYET_W { NYET_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn xacterr(&mut self) -> XACTERR_W { XACTERR_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn bblerr(&mut self) -> BBLERR_W { BBLERR_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn frmovrun(&mut self) -> FRMOVRUN_W { FRMOVRUN_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn datatglerr(&mut self) -> DATATGLERR_W { DATATGLERR_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn bnaintr(&mut self) -> BNAINTR_W { BNAINTR_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn xcs_xact_err(&mut self) -> XCS_XACT_ERR_W { XCS_XACT_ERR_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn desc_lst_rollintr(&mut self) -> DESC_LST_ROLLINTR_W { DESC_LST_ROLLINTR_W::new(self, 13) } diff --git a/esp32s2/src/usb0/hc/intmsk.rs b/esp32s2/src/usb0/hc/intmsk.rs index ad418d26ff..794713f712 100644 --- a/esp32s2/src/usb0/hc/intmsk.rs +++ b/esp32s2/src/usb0/hc/intmsk.rs @@ -144,79 +144,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn xfercomplmsk(&mut self) -> XFERCOMPLMSK_W { XFERCOMPLMSK_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn chhltdmsk(&mut self) -> CHHLTDMSK_W { CHHLTDMSK_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn ahberrmsk(&mut self) -> AHBERRMSK_W { AHBERRMSK_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn stallmsk(&mut self) -> STALLMSK_W { STALLMSK_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn nakmsk(&mut self) -> NAKMSK_W { NAKMSK_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn ackmsk(&mut self) -> ACKMSK_W { ACKMSK_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn nyetmsk(&mut self) -> NYETMSK_W { NYETMSK_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn xacterrmsk(&mut self) -> XACTERRMSK_W { XACTERRMSK_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn bblerrmsk(&mut self) -> BBLERRMSK_W { BBLERRMSK_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn frmovrunmsk(&mut self) -> FRMOVRUNMSK_W { FRMOVRUNMSK_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn datatglerrmsk(&mut self) -> DATATGLERRMSK_W { DATATGLERRMSK_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn bnaintrmsk(&mut self) -> BNAINTRMSK_W { BNAINTRMSK_W::new(self, 11) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn desc_lst_rollintrmsk(&mut self) -> DESC_LST_ROLLINTRMSK_W { DESC_LST_ROLLINTRMSK_W::new(self, 13) } diff --git a/esp32s2/src/usb0/hc/tsiz.rs b/esp32s2/src/usb0/hc/tsiz.rs index c8693b771d..30558700fd 100644 --- a/esp32s2/src/usb0/hc/tsiz.rs +++ b/esp32s2/src/usb0/hc/tsiz.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:18"] #[inline(always)] - #[must_use] pub fn xfersize(&mut self) -> XFERSIZE_W { XFERSIZE_W::new(self, 0) } #[doc = "Bits 19:28"] #[inline(always)] - #[must_use] pub fn pktcnt(&mut self) -> PKTCNT_W { PKTCNT_W::new(self, 19) } #[doc = "Bits 29:30"] #[inline(always)] - #[must_use] pub fn pid(&mut self) -> PID_W { PID_W::new(self, 29) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn dopng(&mut self) -> DOPNG_W { DOPNG_W::new(self, 31) } diff --git a/esp32s2/src/usb0/hcfg.rs b/esp32s2/src/usb0/hcfg.rs index a716d5c156..1ca636e59a 100644 --- a/esp32s2/src/usb0/hcfg.rs +++ b/esp32s2/src/usb0/hcfg.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn fslspclksel(&mut self) -> FSLSPCLKSEL_W { FSLSPCLKSEL_W::new(self, 0) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn fslssupp(&mut self) -> FSLSSUPP_W { FSLSSUPP_W::new(self, 2) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn ena32khzs(&mut self) -> ENA32KHZS_W { ENA32KHZS_W::new(self, 7) } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn descdma(&mut self) -> DESCDMA_W { DESCDMA_W::new(self, 23) } #[doc = "Bits 24:25"] #[inline(always)] - #[must_use] pub fn frlisten(&mut self) -> FRLISTEN_W { FRLISTEN_W::new(self, 24) } #[doc = "Bit 26"] #[inline(always)] - #[must_use] pub fn perschedena(&mut self) -> PERSCHEDENA_W { PERSCHEDENA_W::new(self, 26) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn modechtimen(&mut self) -> MODECHTIMEN_W { MODECHTIMEN_W::new(self, 31) } diff --git a/esp32s2/src/usb0/hfir.rs b/esp32s2/src/usb0/hfir.rs index e8a461ca6f..a9e241d9b8 100644 --- a/esp32s2/src/usb0/hfir.rs +++ b/esp32s2/src/usb0/hfir.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn frint(&mut self) -> FRINT_W { FRINT_W::new(self, 0) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn hfirrldctrl(&mut self) -> HFIRRLDCTRL_W { HFIRRLDCTRL_W::new(self, 16) } diff --git a/esp32s2/src/usb0/hflbaddr.rs b/esp32s2/src/usb0/hflbaddr.rs index c3545c961f..f49a43e827 100644 --- a/esp32s2/src/usb0/hflbaddr.rs +++ b/esp32s2/src/usb0/hflbaddr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn hflbaddr(&mut self) -> HFLBADDR_W { HFLBADDR_W::new(self, 0) } diff --git a/esp32s2/src/usb0/hprt.rs b/esp32s2/src/usb0/hprt.rs index 08371ccc09..1aab1f1fb3 100644 --- a/esp32s2/src/usb0/hprt.rs +++ b/esp32s2/src/usb0/hprt.rs @@ -136,55 +136,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn prtconndet(&mut self) -> PRTCONNDET_W { PRTCONNDET_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn prtena(&mut self) -> PRTENA_W { PRTENA_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn prtenchng(&mut self) -> PRTENCHNG_W { PRTENCHNG_W::new(self, 3) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn prtovrcurrchng(&mut self) -> PRTOVRCURRCHNG_W { PRTOVRCURRCHNG_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn prtres(&mut self) -> PRTRES_W { PRTRES_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn prtsusp(&mut self) -> PRTSUSP_W { PRTSUSP_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn prtrst(&mut self) -> PRTRST_W { PRTRST_W::new(self, 8) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn prtpwr(&mut self) -> PRTPWR_W { PRTPWR_W::new(self, 12) } #[doc = "Bits 13:16"] #[inline(always)] - #[must_use] pub fn prttstctl(&mut self) -> PRTTSTCTL_W { PRTTSTCTL_W::new(self, 13) } diff --git a/esp32s2/src/usb0/hptxfsiz.rs b/esp32s2/src/usb0/hptxfsiz.rs index 33af448539..9e9389cf89 100644 --- a/esp32s2/src/usb0/hptxfsiz.rs +++ b/esp32s2/src/usb0/hptxfsiz.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn ptxfstaddr(&mut self) -> PTXFSTADDR_W { PTXFSTADDR_W::new(self, 0) } #[doc = "Bits 16:31"] #[inline(always)] - #[must_use] pub fn ptxfsize(&mut self) -> PTXFSIZE_W { PTXFSIZE_W::new(self, 16) } diff --git a/esp32s2/src/usb0/in_ep/diepctl.rs b/esp32s2/src/usb0/in_ep/diepctl.rs index f1ccc75dc0..3edca046cf 100644 --- a/esp32s2/src/usb0/in_ep/diepctl.rs +++ b/esp32s2/src/usb0/in_ep/diepctl.rs @@ -100,67 +100,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10"] #[inline(always)] - #[must_use] pub fn mps(&mut self) -> MPS_W { MPS_W::new(self, 0) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn usbactep(&mut self) -> USBACTEP_W { USBACTEP_W::new(self, 15) } #[doc = "Bits 18:19"] #[inline(always)] - #[must_use] pub fn eptype(&mut self) -> EPTYPE_W { EPTYPE_W::new(self, 18) } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn stall(&mut self) -> STALL_W { STALL_W::new(self, 21) } #[doc = "Bits 22:25"] #[inline(always)] - #[must_use] pub fn txfnum(&mut self) -> TXFNUM_W { TXFNUM_W::new(self, 22) } #[doc = "Bit 26"] #[inline(always)] - #[must_use] pub fn cnak(&mut self) -> CNAK_W { CNAK_W::new(self, 26) } #[doc = "Bit 27"] #[inline(always)] - #[must_use] pub fn snak(&mut self) -> SNAK_W { SNAK_W::new(self, 27) } #[doc = "Bit 28"] #[inline(always)] - #[must_use] pub fn setd0pid(&mut self) -> SETD0PID_W { SETD0PID_W::new(self, 28) } #[doc = "Bit 29"] #[inline(always)] - #[must_use] pub fn setd1pid(&mut self) -> SETD1PID_W { SETD1PID_W::new(self, 29) } #[doc = "Bit 30"] #[inline(always)] - #[must_use] pub fn epdis(&mut self) -> EPDIS_W { EPDIS_W::new(self, 30) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn epena(&mut self) -> EPENA_W { EPENA_W::new(self, 31) } diff --git a/esp32s2/src/usb0/in_ep/dieptsiz.rs b/esp32s2/src/usb0/in_ep/dieptsiz.rs index b56d094260..d4b0862441 100644 --- a/esp32s2/src/usb0/in_ep/dieptsiz.rs +++ b/esp32s2/src/usb0/in_ep/dieptsiz.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:18"] #[inline(always)] - #[must_use] pub fn xfersize(&mut self) -> XFERSIZE_W { XFERSIZE_W::new(self, 0) } #[doc = "Bits 19:28"] #[inline(always)] - #[must_use] pub fn pktcnt(&mut self) -> PKTCNT_W { PKTCNT_W::new(self, 19) } diff --git a/esp32s2/src/usb0/in_ep0/diepctl.rs b/esp32s2/src/usb0/in_ep0/diepctl.rs index da2f3f3341..b5fffe659c 100644 --- a/esp32s2/src/usb0/in_ep0/diepctl.rs +++ b/esp32s2/src/usb0/in_ep0/diepctl.rs @@ -92,43 +92,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn mps(&mut self) -> MPS_W { MPS_W::new(self, 0) } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn stall(&mut self) -> STALL_W { STALL_W::new(self, 21) } #[doc = "Bits 22:25"] #[inline(always)] - #[must_use] pub fn txfnum(&mut self) -> TXFNUM_W { TXFNUM_W::new(self, 22) } #[doc = "Bit 26"] #[inline(always)] - #[must_use] pub fn cnak(&mut self) -> CNAK_W { CNAK_W::new(self, 26) } #[doc = "Bit 27"] #[inline(always)] - #[must_use] pub fn snak(&mut self) -> SNAK_W { SNAK_W::new(self, 27) } #[doc = "Bit 30"] #[inline(always)] - #[must_use] pub fn epdis(&mut self) -> EPDIS_W { EPDIS_W::new(self, 30) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn epena(&mut self) -> EPENA_W { EPENA_W::new(self, 31) } diff --git a/esp32s2/src/usb0/in_ep0/diepdma.rs b/esp32s2/src/usb0/in_ep0/diepdma.rs index fda02a27d7..14e7e7eb4e 100644 --- a/esp32s2/src/usb0/in_ep0/diepdma.rs +++ b/esp32s2/src/usb0/in_ep0/diepdma.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn dmaaddr(&mut self) -> DMAADDR_W { DMAADDR_W::new(self, 0) } diff --git a/esp32s2/src/usb0/in_ep0/diepint.rs b/esp32s2/src/usb0/in_ep0/diepint.rs index 7717febbce..4b88eda259 100644 --- a/esp32s2/src/usb0/in_ep0/diepint.rs +++ b/esp32s2/src/usb0/in_ep0/diepint.rs @@ -152,79 +152,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn xfercompl(&mut self) -> XFERCOMPL_W { XFERCOMPL_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn epdisbld(&mut self) -> EPDISBLD_W { EPDISBLD_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn ahberr(&mut self) -> AHBERR_W { AHBERR_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn timeout(&mut self) -> TIMEOUT_W { TIMEOUT_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn intkntxfemp(&mut self) -> INTKNTXFEMP_W { INTKNTXFEMP_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn intknepmis(&mut self) -> INTKNEPMIS_W { INTKNEPMIS_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn inepnakeff(&mut self) -> INEPNAKEFF_W { INEPNAKEFF_W::new(self, 6) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn txfifoundrn(&mut self) -> TXFIFOUNDRN_W { TXFIFOUNDRN_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn bnaintr(&mut self) -> BNAINTR_W { BNAINTR_W::new(self, 9) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn pktdrpsts(&mut self) -> PKTDRPSTS_W { PKTDRPSTS_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn bbleerr(&mut self) -> BBLEERR_W { BBLEERR_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn nakintrpt(&mut self) -> NAKINTRPT_W { NAKINTRPT_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn nyetintrpt(&mut self) -> NYETINTRPT_W { NYETINTRPT_W::new(self, 14) } diff --git a/esp32s2/src/usb0/in_ep0/dieptsiz.rs b/esp32s2/src/usb0/in_ep0/dieptsiz.rs index f13b9d4f8c..41e3a4167b 100644 --- a/esp32s2/src/usb0/in_ep0/dieptsiz.rs +++ b/esp32s2/src/usb0/in_ep0/dieptsiz.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn xfersize(&mut self) -> XFERSIZE_W { XFERSIZE_W::new(self, 0) } #[doc = "Bits 19:20"] #[inline(always)] - #[must_use] pub fn pktcnt(&mut self) -> PKTCNT_W { PKTCNT_W::new(self, 19) } diff --git a/esp32s2/src/usb0/out_ep/doepctl.rs b/esp32s2/src/usb0/out_ep/doepctl.rs index 3f72a94784..8383da45f8 100644 --- a/esp32s2/src/usb0/out_ep/doepctl.rs +++ b/esp32s2/src/usb0/out_ep/doepctl.rs @@ -100,67 +100,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10"] #[inline(always)] - #[must_use] pub fn mps(&mut self) -> MPS_W { MPS_W::new(self, 0) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn usbactep(&mut self) -> USBACTEP_W { USBACTEP_W::new(self, 15) } #[doc = "Bits 18:19"] #[inline(always)] - #[must_use] pub fn eptype(&mut self) -> EPTYPE_W { EPTYPE_W::new(self, 18) } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn snp(&mut self) -> SNP_W { SNP_W::new(self, 20) } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn stall(&mut self) -> STALL_W { STALL_W::new(self, 21) } #[doc = "Bit 26"] #[inline(always)] - #[must_use] pub fn cnak(&mut self) -> CNAK_W { CNAK_W::new(self, 26) } #[doc = "Bit 27"] #[inline(always)] - #[must_use] pub fn snak(&mut self) -> SNAK_W { SNAK_W::new(self, 27) } #[doc = "Bit 28"] #[inline(always)] - #[must_use] pub fn setd0pid(&mut self) -> SETD0PID_W { SETD0PID_W::new(self, 28) } #[doc = "Bit 29"] #[inline(always)] - #[must_use] pub fn setd1pid(&mut self) -> SETD1PID_W { SETD1PID_W::new(self, 29) } #[doc = "Bit 30"] #[inline(always)] - #[must_use] pub fn epdis(&mut self) -> EPDIS_W { EPDIS_W::new(self, 30) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn epena(&mut self) -> EPENA_W { EPENA_W::new(self, 31) } diff --git a/esp32s2/src/usb0/out_ep/doeptsiz.rs b/esp32s2/src/usb0/out_ep/doeptsiz.rs index d41c10a8e2..b8fd22ab01 100644 --- a/esp32s2/src/usb0/out_ep/doeptsiz.rs +++ b/esp32s2/src/usb0/out_ep/doeptsiz.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:18"] #[inline(always)] - #[must_use] pub fn xfersize(&mut self) -> XFERSIZE_W { XFERSIZE_W::new(self, 0) } #[doc = "Bits 19:28"] #[inline(always)] - #[must_use] pub fn pktcnt(&mut self) -> PKTCNT_W { PKTCNT_W::new(self, 19) } #[doc = "Bits 29:30"] #[inline(always)] - #[must_use] pub fn supcnt(&mut self) -> SUPCNT_W { SUPCNT_W::new(self, 29) } diff --git a/esp32s2/src/usb0/out_ep0/doepctl.rs b/esp32s2/src/usb0/out_ep0/doepctl.rs index 3a49f43156..2df4e16832 100644 --- a/esp32s2/src/usb0/out_ep0/doepctl.rs +++ b/esp32s2/src/usb0/out_ep0/doepctl.rs @@ -88,31 +88,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn snp(&mut self) -> SNP_W { SNP_W::new(self, 20) } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn stall(&mut self) -> STALL_W { STALL_W::new(self, 21) } #[doc = "Bit 26"] #[inline(always)] - #[must_use] pub fn cnak(&mut self) -> CNAK_W { CNAK_W::new(self, 26) } #[doc = "Bit 27"] #[inline(always)] - #[must_use] pub fn snak(&mut self) -> SNAK_W { SNAK_W::new(self, 27) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn epena(&mut self) -> EPENA_W { EPENA_W::new(self, 31) } diff --git a/esp32s2/src/usb0/out_ep0/doepdma.rs b/esp32s2/src/usb0/out_ep0/doepdma.rs index 9911f59651..ae7f29bae7 100644 --- a/esp32s2/src/usb0/out_ep0/doepdma.rs +++ b/esp32s2/src/usb0/out_ep0/doepdma.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn dmaaddr(&mut self) -> DMAADDR_W { DMAADDR_W::new(self, 0) } diff --git a/esp32s2/src/usb0/out_ep0/doepdmab.rs b/esp32s2/src/usb0/out_ep0/doepdmab.rs index 09d2730336..9cd48daf0a 100644 --- a/esp32s2/src/usb0/out_ep0/doepdmab.rs +++ b/esp32s2/src/usb0/out_ep0/doepdmab.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn dmabufferaddr(&mut self) -> DMABUFFERADDR_W { DMABUFFERADDR_W::new(self, 0) } diff --git a/esp32s2/src/usb0/out_ep0/doepint.rs b/esp32s2/src/usb0/out_ep0/doepint.rs index 240ab32605..56aa763dba 100644 --- a/esp32s2/src/usb0/out_ep0/doepint.rs +++ b/esp32s2/src/usb0/out_ep0/doepint.rs @@ -154,85 +154,71 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn xfercompl(&mut self) -> XFERCOMPL_W { XFERCOMPL_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn epdisbld(&mut self) -> EPDISBLD_W { EPDISBLD_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn ahberr(&mut self) -> AHBERR_W { AHBERR_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn setup(&mut self) -> SETUP_W { SETUP_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn outtknepdis(&mut self) -> OUTTKNEPDIS_W { OUTTKNEPDIS_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn stsphsercvd(&mut self) -> STSPHSERCVD_W { STSPHSERCVD_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn back2backsetup(&mut self) -> BACK2BACKSETUP_W { BACK2BACKSETUP_W::new(self, 6) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn outpkterr(&mut self) -> OUTPKTERR_W { OUTPKTERR_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn bnaintr(&mut self) -> BNAINTR_W { BNAINTR_W::new(self, 9) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn pktdrpsts(&mut self) -> PKTDRPSTS_W { PKTDRPSTS_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn bbleerr(&mut self) -> BBLEERR_W { BBLEERR_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn nakintrpt(&mut self) -> NAKINTRPT_W { NAKINTRPT_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn nyepintrpt(&mut self) -> NYEPINTRPT_W { NYEPINTRPT_W::new(self, 14) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn stuppktrcvd(&mut self) -> STUPPKTRCVD_W { STUPPKTRCVD_W::new(self, 15) } diff --git a/esp32s2/src/usb0/out_ep0/doeptsiz.rs b/esp32s2/src/usb0/out_ep0/doeptsiz.rs index 5224d73bbe..9b13801902 100644 --- a/esp32s2/src/usb0/out_ep0/doeptsiz.rs +++ b/esp32s2/src/usb0/out_ep0/doeptsiz.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn xfersize(&mut self) -> XFERSIZE_W { XFERSIZE_W::new(self, 0) } #[doc = "Bit 19"] #[inline(always)] - #[must_use] pub fn pktcnt(&mut self) -> PKTCNT_W { PKTCNT_W::new(self, 19) } #[doc = "Bits 29:30"] #[inline(always)] - #[must_use] pub fn supcnt(&mut self) -> SUPCNT_W { SUPCNT_W::new(self, 29) } diff --git a/esp32s2/src/usb0/pcgcctl.rs b/esp32s2/src/usb0/pcgcctl.rs index c649b0ccab..06ebb2daad 100644 --- a/esp32s2/src/usb0/pcgcctl.rs +++ b/esp32s2/src/usb0/pcgcctl.rs @@ -80,31 +80,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn stoppclk(&mut self) -> STOPPCLK_W { STOPPCLK_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn gatehclk(&mut self) -> GATEHCLK_W { GATEHCLK_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn pwrclmp(&mut self) -> PWRCLMP_W { PWRCLMP_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn rstpdwnmodule(&mut self) -> RSTPDWNMODULE_W { RSTPDWNMODULE_W::new(self, 3) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn resetaftersusp(&mut self) -> RESETAFTERSUSP_W { RESETAFTERSUSP_W::new(self, 8) } diff --git a/esp32s2/src/usb_wrap/date.rs b/esp32s2/src/usb_wrap/date.rs index be3aa8c786..cfa07ba774 100644 --- a/esp32s2/src/usb_wrap/date.rs +++ b/esp32s2/src/usb_wrap/date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Date register"] #[inline(always)] - #[must_use] pub fn usb_wrap_date(&mut self) -> USB_WRAP_DATE_W { USB_WRAP_DATE_W::new(self, 0) } diff --git a/esp32s2/src/usb_wrap/otg_conf.rs b/esp32s2/src/usb_wrap/otg_conf.rs index e0c91f9dd3..c438ca8f25 100644 --- a/esp32s2/src/usb_wrap/otg_conf.rs +++ b/esp32s2/src/usb_wrap/otg_conf.rs @@ -234,133 +234,111 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to enable the software over-ride of srp session end signal. 1'b0: the signal is controlled by the chip input. 1'b1: the signal is controlled by the software."] #[inline(always)] - #[must_use] pub fn srp_sessend_override(&mut self) -> SRP_SESSEND_OVERRIDE_W { SRP_SESSEND_OVERRIDE_W::new(self, 0) } #[doc = "Bit 1 - Software over-ride value of srp session end signal."] #[inline(always)] - #[must_use] pub fn srp_sessend_value(&mut self) -> SRP_SESSEND_VALUE_W { SRP_SESSEND_VALUE_W::new(self, 1) } #[doc = "Bit 2 - Select internal external PHY. 1'b0: Select internal PHY. 1'b1: Select external PHY."] #[inline(always)] - #[must_use] pub fn phy_sel(&mut self) -> PHY_SEL_W { PHY_SEL_W::new(self, 2) } #[doc = "Bit 3 - Force the dfifo to go into low power mode. The data in dfifo will not lost."] #[inline(always)] - #[must_use] pub fn dfifo_force_pd(&mut self) -> DFIFO_FORCE_PD_W { DFIFO_FORCE_PD_W::new(self, 3) } #[doc = "Bit 4 - Bypass Debounce filters for avalid,bvalid,vbusvalid,session end, id signals"] #[inline(always)] - #[must_use] pub fn dbnce_fltr_bypass(&mut self) -> DBNCE_FLTR_BYPASS_W { DBNCE_FLTR_BYPASS_W::new(self, 4) } #[doc = "Bit 5 - Enable software controlle USB D+ D- exchange"] #[inline(always)] - #[must_use] pub fn exchg_pins_override(&mut self) -> EXCHG_PINS_OVERRIDE_W { EXCHG_PINS_OVERRIDE_W::new(self, 5) } #[doc = "Bit 6 - USB D+ D- exchange. 1'b0: don't change. 1'b1: exchange D+ D-"] #[inline(always)] - #[must_use] pub fn exchg_pins(&mut self) -> EXCHG_PINS_W { EXCHG_PINS_W::new(self, 6) } #[doc = "Bits 7:8 - Control single-end input high threshold,1.76V to 2V, step 80mV"] #[inline(always)] - #[must_use] pub fn vrefh(&mut self) -> VREFH_W { VREFH_W::new(self, 7) } #[doc = "Bits 9:10 - Control single-end input low threshold,0.8V to 1.04V, step 80mV"] #[inline(always)] - #[must_use] pub fn vrefl(&mut self) -> VREFL_W { VREFL_W::new(self, 9) } #[doc = "Bit 11 - Enable software controlle input threshold"] #[inline(always)] - #[must_use] pub fn vref_override(&mut self) -> VREF_OVERRIDE_W { VREF_OVERRIDE_W::new(self, 11) } #[doc = "Bit 12 - Enable software controlle USB D+ D- pullup pulldown"] #[inline(always)] - #[must_use] pub fn pad_pull_override(&mut self) -> PAD_PULL_OVERRIDE_W { PAD_PULL_OVERRIDE_W::new(self, 12) } #[doc = "Bit 13 - Controlle USB D+ pullup"] #[inline(always)] - #[must_use] pub fn dp_pullup(&mut self) -> DP_PULLUP_W { DP_PULLUP_W::new(self, 13) } #[doc = "Bit 14 - Controlle USB D+ pulldown"] #[inline(always)] - #[must_use] pub fn dp_pulldown(&mut self) -> DP_PULLDOWN_W { DP_PULLDOWN_W::new(self, 14) } #[doc = "Bit 15 - Controlle USB D+ pullup"] #[inline(always)] - #[must_use] pub fn dm_pullup(&mut self) -> DM_PULLUP_W { DM_PULLUP_W::new(self, 15) } #[doc = "Bit 16 - Controlle USB D+ pulldown"] #[inline(always)] - #[must_use] pub fn dm_pulldown(&mut self) -> DM_PULLDOWN_W { DM_PULLDOWN_W::new(self, 16) } #[doc = "Bit 17 - Controlle pullup value. 1'b0: typical value is 2.4K. 1'b1: typical value is 1.2K."] #[inline(always)] - #[must_use] pub fn pullup_value(&mut self) -> PULLUP_VALUE_W { PULLUP_VALUE_W::new(self, 17) } #[doc = "Bit 18 - Enable USB pad function"] #[inline(always)] - #[must_use] pub fn usb_pad_enable(&mut self) -> USB_PAD_ENABLE_W { USB_PAD_ENABLE_W::new(self, 18) } #[doc = "Bit 19 - Force ahb clock always on"] #[inline(always)] - #[must_use] pub fn ahb_clk_force_on(&mut self) -> AHB_CLK_FORCE_ON_W { AHB_CLK_FORCE_ON_W::new(self, 19) } #[doc = "Bit 20 - Force phy clock always on"] #[inline(always)] - #[must_use] pub fn phy_clk_force_on(&mut self) -> PHY_CLK_FORCE_ON_W { PHY_CLK_FORCE_ON_W::new(self, 20) } #[doc = "Bit 21 - Select phy tx signal output clock edge. 1'b0: negedge. 1'b1: posedge."] #[inline(always)] - #[must_use] pub fn phy_tx_edge_sel(&mut self) -> PHY_TX_EDGE_SEL_W { PHY_TX_EDGE_SEL_W::new(self, 21) } #[doc = "Bit 22 - Disable the dfifo to go into low power mode. The data in dfifo will not lost."] #[inline(always)] - #[must_use] pub fn dfifo_force_pu(&mut self) -> DFIFO_FORCE_PU_W { DFIFO_FORCE_PU_W::new(self, 22) } #[doc = "Bit 31 - Disable auto clock gating of CSR registers"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32s2/src/usb_wrap/test_conf.rs b/esp32s2/src/usb_wrap/test_conf.rs index 914f0057a7..fafff78a2a 100644 --- a/esp32s2/src/usb_wrap/test_conf.rs +++ b/esp32s2/src/usb_wrap/test_conf.rs @@ -78,25 +78,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Enable test of the USB pad"] #[inline(always)] - #[must_use] pub fn test_enable(&mut self) -> TEST_ENABLE_W { TEST_ENABLE_W::new(self, 0) } #[doc = "Bit 1 - USB pad oen in test"] #[inline(always)] - #[must_use] pub fn test_usb_oe(&mut self) -> TEST_USB_OE_W { TEST_USB_OE_W::new(self, 1) } #[doc = "Bit 2 - USB D+ tx value in test"] #[inline(always)] - #[must_use] pub fn test_tx_dp(&mut self) -> TEST_TX_DP_W { TEST_TX_DP_W::new(self, 2) } #[doc = "Bit 3 - USB D- tx value in test"] #[inline(always)] - #[must_use] pub fn test_tx_dm(&mut self) -> TEST_TX_DM_W { TEST_TX_DM_W::new(self, 3) } diff --git a/esp32s2/src/xts_aes/destination.rs b/esp32s2/src/xts_aes/destination.rs index 4d8c170c25..dacc72e2f9 100644 --- a/esp32s2/src/xts_aes/destination.rs +++ b/esp32s2/src/xts_aes/destination.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configures the type of the external memory. Currently, it must be set to 0, as the Manual Encryption block only supports flash encryption. Errors may occur if users write 1. 0: flash. 1: external RAM."] #[inline(always)] - #[must_use] pub fn destination(&mut self) -> DESTINATION_W { DESTINATION_W::new(self, 0) } diff --git a/esp32s2/src/xts_aes/destroy.rs b/esp32s2/src/xts_aes/destroy.rs index f7f8ccb7bf..62475a8e18 100644 --- a/esp32s2/src/xts_aes/destroy.rs +++ b/esp32s2/src/xts_aes/destroy.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set to destroy encrypted result."] #[inline(always)] - #[must_use] pub fn destroy(&mut self) -> DESTROY_W { DESTROY_W::new(self, 0) } diff --git a/esp32s2/src/xts_aes/linesize.rs b/esp32s2/src/xts_aes/linesize.rs index 2ebf935c3e..c109369991 100644 --- a/esp32s2/src/xts_aes/linesize.rs +++ b/esp32s2/src/xts_aes/linesize.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Configures the data size of a single encryption. 0: 128 bits. 1: 256 bits. 2: 512 bits."] #[inline(always)] - #[must_use] pub fn linesize(&mut self) -> LINESIZE_W { LINESIZE_W::new(self, 0) } diff --git a/esp32s2/src/xts_aes/physical_address.rs b/esp32s2/src/xts_aes/physical_address.rs index acc6c8443f..65c1fe3899 100644 --- a/esp32s2/src/xts_aes/physical_address.rs +++ b/esp32s2/src/xts_aes/physical_address.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Physical address."] #[inline(always)] - #[must_use] pub fn physical_address(&mut self) -> PHYSICAL_ADDRESS_W { PHYSICAL_ADDRESS_W::new(self, 0) } diff --git a/esp32s2/src/xts_aes/plain_.rs b/esp32s2/src/xts_aes/plain_.rs index 3d49d324de..3ddae08131 100644 --- a/esp32s2/src/xts_aes/plain_.rs +++ b/esp32s2/src/xts_aes/plain_.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This register stores %sth 32-bit piece of plaintext."] #[inline(always)] - #[must_use] pub fn plain(&mut self) -> PLAIN_W { PLAIN_W::new(self, 0) } diff --git a/esp32s2/src/xts_aes/release.rs b/esp32s2/src/xts_aes/release.rs index 20faf1a7d4..06b0d91c84 100644 --- a/esp32s2/src/xts_aes/release.rs +++ b/esp32s2/src/xts_aes/release.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set to grant SPI1 access to encrypted result."] #[inline(always)] - #[must_use] pub fn release(&mut self) -> RELEASE_W { RELEASE_W::new(self, 0) } diff --git a/esp32s2/src/xts_aes/trigger.rs b/esp32s2/src/xts_aes/trigger.rs index 3bd9a045ad..bedf84b8d9 100644 --- a/esp32s2/src/xts_aes/trigger.rs +++ b/esp32s2/src/xts_aes/trigger.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set to enable manual encryption."] #[inline(always)] - #[must_use] pub fn trigger(&mut self) -> TRIGGER_W { TRIGGER_W::new(self, 0) } diff --git a/esp32s3-ulp/src/generic.rs b/esp32s3-ulp/src/generic.rs index d57106cb27..a7cb020aef 100644 --- a/esp32s3-ulp/src/generic.rs +++ b/esp32s3-ulp/src/generic.rs @@ -524,18 +524,60 @@ impl Reg { #[doc = " ```"] #[doc = " In the latter case, other fields will be set to their reset value."] #[inline(always)] - pub fn write(&self, f: F) + pub fn write(&self, f: F) -> REG::Ux where F: FnOnce(&mut W) -> &mut W, { - self.register.set( - f(&mut W { - bits: REG::RESET_VALUE & !REG::ONE_TO_MODIFY_FIELDS_BITMAP - | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, - _reg: marker::PhantomData, - }) - .bits, - ); + let value = f(&mut W { + bits: REG::RESET_VALUE & !REG::ONE_TO_MODIFY_FIELDS_BITMAP + | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }) + .bits; + self.register.set(value); + value + } + #[doc = " Writes bits to a `Writable` register and produce a value."] + #[doc = ""] + #[doc = " You can write raw bits into a register:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.write_and(|w| unsafe { w.bits(rawbits); });"] + #[doc = " ```"] + #[doc = " or write only the fields you need:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.write_and(|w| {"] + #[doc = " w.field1().bits(newfield1bits)"] + #[doc = " .field2().set_bit()"] + #[doc = " .field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " or an alternative way of saying the same:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.write_and(|w| {"] + #[doc = " w.field1().bits(newfield1bits);"] + #[doc = " w.field2().set_bit();"] + #[doc = " w.field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " In the latter case, other fields will be set to their reset value."] + #[doc = ""] + #[doc = " Values can be returned from the closure:"] + #[doc = " ```ignore"] + #[doc = " let state = periph.reg.write_and(|w| State::set(w.field1()));"] + #[doc = " ```"] + #[inline(always)] + pub fn from_write(&self, f: F) -> T + where + F: FnOnce(&mut W) -> T, + { + let mut writer = W { + bits: REG::RESET_VALUE & !REG::ONE_TO_MODIFY_FIELDS_BITMAP + | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }; + let result = f(&mut writer); + self.register.set(writer.bits); + result } } impl Reg { @@ -547,17 +589,37 @@ impl Reg { #[doc = ""] #[doc = " Unsafe to use with registers which don't allow to write 0."] #[inline(always)] - pub unsafe fn write_with_zero(&self, f: F) + pub unsafe fn write_with_zero(&self, f: F) -> REG::Ux where F: FnOnce(&mut W) -> &mut W, { - self.register.set( - f(&mut W { - bits: REG::Ux::default(), - _reg: marker::PhantomData, - }) - .bits, - ); + let value = f(&mut W { + bits: REG::Ux::default(), + _reg: marker::PhantomData, + }) + .bits; + self.register.set(value); + value + } + #[doc = " Writes 0 to a `Writable` register and produces a value."] + #[doc = ""] + #[doc = " Similar to `write`, but unused bits will contain 0."] + #[doc = ""] + #[doc = " # Safety"] + #[doc = ""] + #[doc = " Unsafe to use with registers which don't allow to write 0."] + #[inline(always)] + pub unsafe fn from_write_with_zero(&self, f: F) -> T + where + F: FnOnce(&mut W) -> T, + { + let mut writer = W { + bits: REG::Ux::default(), + _reg: marker::PhantomData, + }; + let result = f(&mut writer); + self.register.set(writer.bits); + result } } impl Reg { @@ -587,25 +649,75 @@ impl Reg { #[doc = " ```"] #[doc = " Other fields will have the value they had before the call to `modify`."] #[inline(always)] - pub fn modify(&self, f: F) + pub fn modify(&self, f: F) -> REG::Ux where for<'w> F: FnOnce(&R, &'w mut W) -> &'w mut W, { let bits = self.register.get(); - self.register.set( - f( - &R { - bits, - _reg: marker::PhantomData, - }, - &mut W { - bits: bits & !REG::ONE_TO_MODIFY_FIELDS_BITMAP - | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, - _reg: marker::PhantomData, - }, - ) - .bits, + let value = f( + &R { + bits, + _reg: marker::PhantomData, + }, + &mut W { + bits: bits & !REG::ONE_TO_MODIFY_FIELDS_BITMAP | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }, + ) + .bits; + self.register.set(value); + value + } + #[doc = " Modifies the contents of the register by reading and then writing it"] + #[doc = " and produces a value."] + #[doc = ""] + #[doc = " E.g. to do a read-modify-write sequence to change parts of a register:"] + #[doc = " ```ignore"] + #[doc = " let bits = periph.reg.modify(|r, w| {"] + #[doc = " let new_bits = r.bits() | 3;"] + #[doc = " unsafe {"] + #[doc = " w.bits(new_bits);"] + #[doc = " }"] + #[doc = ""] + #[doc = " new_bits"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " or"] + #[doc = " ```ignore"] + #[doc = " periph.reg.modify(|_, w| {"] + #[doc = " w.field1().bits(newfield1bits)"] + #[doc = " .field2().set_bit()"] + #[doc = " .field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " or an alternative way of saying the same:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.modify(|_, w| {"] + #[doc = " w.field1().bits(newfield1bits);"] + #[doc = " w.field2().set_bit();"] + #[doc = " w.field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " Other fields will have the value they had before the call to `modify`."] + #[inline(always)] + pub fn from_modify(&self, f: F) -> T + where + for<'w> F: FnOnce(&R, &'w mut W) -> T, + { + let bits = self.register.get(); + let mut writer = W { + bits: bits & !REG::ONE_TO_MODIFY_FIELDS_BITMAP | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }; + let result = f( + &R { + bits, + _reg: marker::PhantomData, + }, + &mut writer, ); + self.register.set(writer.bits); + result } } impl core::fmt::Debug for crate::generic::Reg diff --git a/esp32s3-ulp/src/generic/raw.rs b/esp32s3-ulp/src/generic/raw.rs index 81f5779524..d60a23a7cc 100644 --- a/esp32s3-ulp/src/generic/raw.rs +++ b/esp32s3-ulp/src/generic/raw.rs @@ -41,6 +41,7 @@ impl BitReader { } } } +#[must_use = "after creating `FieldWriter` you need to call field value setting method"] pub struct FieldWriter<'a, REG, const WI: u8, FI = u8, Safety = Unsafe> where REG: Writable + RegisterSpec, @@ -66,6 +67,7 @@ where } } } +#[must_use = "after creating `BitWriter` you need to call bit setting method"] pub struct BitWriter<'a, REG, FI = bool, M = BitM> where REG: Writable + RegisterSpec, diff --git a/esp32s3-ulp/src/interrupt.rs b/esp32s3-ulp/src/interrupt.rs index 14a13076e5..d986a2c4fe 100644 --- a/esp32s3-ulp/src/interrupt.rs +++ b/esp32s3-ulp/src/interrupt.rs @@ -29,6 +29,7 @@ pub enum Interrupt { TOUCH_SCAN_DONE_INT = 11, } #[doc = r" TryFromInterruptError"] +#[cfg_attr(feature = "defmt", derive(defmt::Format))] #[derive(Debug, Copy, Clone)] pub struct TryFromInterruptError(()); impl Interrupt { diff --git a/esp32s3-ulp/src/lib.rs b/esp32s3-ulp/src/lib.rs index 32f1b3c292..078b781501 100644 --- a/esp32s3-ulp/src/lib.rs +++ b/esp32s3-ulp/src/lib.rs @@ -1,4 +1,4 @@ -#![doc = "Peripheral access API for ESP32-S3-ULP microcontrollers (generated using svd2rust v0.33.4 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next] svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.33.4/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"] +#![doc = "Peripheral access API for ESP32-S3-ULP microcontrollers (generated using svd2rust v0.34.0 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next] svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.34.0/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"] #![allow(non_camel_case_types)] #![allow(non_snake_case)] #![doc(html_logo_url = "https://avatars.githubusercontent.com/u/46717278")] diff --git a/esp32s3-ulp/src/rtc_cntl/cocpu_ctrl.rs b/esp32s3-ulp/src/rtc_cntl/cocpu_ctrl.rs index 87705dffd3..eb6eff5f92 100644 --- a/esp32s3-ulp/src/rtc_cntl/cocpu_ctrl.rs +++ b/esp32s3-ulp/src/rtc_cntl/cocpu_ctrl.rs @@ -116,67 +116,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - cocpu clk force on"] #[inline(always)] - #[must_use] pub fn cocpu_clk_fo(&mut self) -> COCPU_CLK_FO_W { COCPU_CLK_FO_W::new(self, 0) } #[doc = "Bits 1:6 - time from start cocpu to pull down reset"] #[inline(always)] - #[must_use] pub fn cocpu_start_2_reset_dis(&mut self) -> COCPU_START_2_RESET_DIS_W { COCPU_START_2_RESET_DIS_W::new(self, 1) } #[doc = "Bits 7:12 - time from start cocpu to give start interrupt"] #[inline(always)] - #[must_use] pub fn cocpu_start_2_intr_en(&mut self) -> COCPU_START_2_INTR_EN_W { COCPU_START_2_INTR_EN_W::new(self, 7) } #[doc = "Bit 13 - to shut cocpu"] #[inline(always)] - #[must_use] pub fn cocpu_shut(&mut self) -> COCPU_SHUT_W { COCPU_SHUT_W::new(self, 13) } #[doc = "Bits 14:21 - time from shut cocpu to disable clk"] #[inline(always)] - #[must_use] pub fn cocpu_shut_2_clk_dis(&mut self) -> COCPU_SHUT_2_CLK_DIS_W { COCPU_SHUT_2_CLK_DIS_W::new(self, 14) } #[doc = "Bit 22 - to reset cocpu"] #[inline(always)] - #[must_use] pub fn cocpu_shut_reset_en(&mut self) -> COCPU_SHUT_RESET_EN_W { COCPU_SHUT_RESET_EN_W::new(self, 22) } #[doc = "Bit 23 - 1: old ULP 0: new riscV"] #[inline(always)] - #[must_use] pub fn cocpu_sel(&mut self) -> COCPU_SEL_W { COCPU_SEL_W::new(self, 23) } #[doc = "Bit 24 - 1: select riscv done 0: select ulp done"] #[inline(always)] - #[must_use] pub fn cocpu_done_force(&mut self) -> COCPU_DONE_FORCE_W { COCPU_DONE_FORCE_W::new(self, 24) } #[doc = "Bit 25 - done signal used by riscv to control timer."] #[inline(always)] - #[must_use] pub fn cocpu_done(&mut self) -> COCPU_DONE_W { COCPU_DONE_W::new(self, 25) } #[doc = "Bit 26 - trigger cocpu register interrupt"] #[inline(always)] - #[must_use] pub fn cocpu_sw_int_trigger(&mut self) -> COCPU_SW_INT_TRIGGER_W { COCPU_SW_INT_TRIGGER_W::new(self, 26) } #[doc = "Bit 27 - open ulp-riscv clk gate"] #[inline(always)] - #[must_use] pub fn cocpu_clkgate_en(&mut self) -> COCPU_CLKGATE_EN_W { COCPU_CLKGATE_EN_W::new(self, 27) } diff --git a/esp32s3-ulp/src/rtc_cntl/rtc_ulp_cp_ctrl.rs b/esp32s3-ulp/src/rtc_cntl/rtc_ulp_cp_ctrl.rs index 2a08b1fe56..3d2e50ca43 100644 --- a/esp32s3-ulp/src/rtc_cntl/rtc_ulp_cp_ctrl.rs +++ b/esp32s3-ulp/src/rtc_cntl/rtc_ulp_cp_ctrl.rs @@ -76,43 +76,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - No public"] #[inline(always)] - #[must_use] pub fn ulp_cp_mem_addr_init(&mut self) -> ULP_CP_MEM_ADDR_INIT_W { ULP_CP_MEM_ADDR_INIT_W::new(self, 0) } #[doc = "Bits 11:21 - No public"] #[inline(always)] - #[must_use] pub fn ulp_cp_mem_addr_size(&mut self) -> ULP_CP_MEM_ADDR_SIZE_W { ULP_CP_MEM_ADDR_SIZE_W::new(self, 11) } #[doc = "Bit 22 - No public"] #[inline(always)] - #[must_use] pub fn ulp_cp_mem_offst_clr(&mut self) -> ULP_CP_MEM_OFFST_CLR_W { ULP_CP_MEM_OFFST_CLR_W::new(self, 22) } #[doc = "Bit 28 - ulp coprocessor clk force on"] #[inline(always)] - #[must_use] pub fn ulp_cp_clk_fo(&mut self) -> ULP_CP_CLK_FO_W { ULP_CP_CLK_FO_W::new(self, 28) } #[doc = "Bit 29 - ulp coprocessor clk software reset"] #[inline(always)] - #[must_use] pub fn ulp_cp_reset(&mut self) -> ULP_CP_RESET_W { ULP_CP_RESET_W::new(self, 29) } #[doc = "Bit 30 - 1: ULP-coprocessor is started by SW"] #[inline(always)] - #[must_use] pub fn ulp_cp_force_start_top(&mut self) -> ULP_CP_FORCE_START_TOP_W { ULP_CP_FORCE_START_TOP_W::new(self, 30) } #[doc = "Bit 31 - Write 1 to start ULP-coprocessor"] #[inline(always)] - #[must_use] pub fn ulp_cp_start_top(&mut self) -> ULP_CP_START_TOP_W { ULP_CP_START_TOP_W::new(self, 31) } diff --git a/esp32s3-ulp/src/rtc_cntl/rtc_ulp_cp_timer.rs b/esp32s3-ulp/src/rtc_cntl/rtc_ulp_cp_timer.rs index 58d678629b..b4898f737d 100644 --- a/esp32s3-ulp/src/rtc_cntl/rtc_ulp_cp_timer.rs +++ b/esp32s3-ulp/src/rtc_cntl/rtc_ulp_cp_timer.rs @@ -46,25 +46,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - ULP-coprocessor PC initial address"] #[inline(always)] - #[must_use] pub fn ulp_cp_pc_init(&mut self) -> ULP_CP_PC_INIT_W { ULP_CP_PC_INIT_W::new(self, 0) } #[doc = "Bit 29 - ULP-coprocessor wakeup by GPIO enable"] #[inline(always)] - #[must_use] pub fn ulp_cp_gpio_wakeup_ena(&mut self) -> ULP_CP_GPIO_WAKEUP_ENA_W { ULP_CP_GPIO_WAKEUP_ENA_W::new(self, 29) } #[doc = "Bit 30 - ULP-coprocessor wakeup by GPIO state clear"] #[inline(always)] - #[must_use] pub fn ulp_cp_gpio_wakeup_clr(&mut self) -> ULP_CP_GPIO_WAKEUP_CLR_W { ULP_CP_GPIO_WAKEUP_CLR_W::new(self, 30) } #[doc = "Bit 31 - ULP-coprocessor timer enable bit"] #[inline(always)] - #[must_use] pub fn ulp_cp_slp_timer_en(&mut self) -> ULP_CP_SLP_TIMER_EN_W { ULP_CP_SLP_TIMER_EN_W::new(self, 31) } diff --git a/esp32s3-ulp/src/rtc_cntl/rtc_ulp_cp_timer_1.rs b/esp32s3-ulp/src/rtc_cntl/rtc_ulp_cp_timer_1.rs index 68c3ad70cd..6be416a6c5 100644 --- a/esp32s3-ulp/src/rtc_cntl/rtc_ulp_cp_timer_1.rs +++ b/esp32s3-ulp/src/rtc_cntl/rtc_ulp_cp_timer_1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 8:31 - sleep cycles for ULP-coprocessor timer"] #[inline(always)] - #[must_use] pub fn ulp_cp_timer_slp_cycle(&mut self) -> ULP_CP_TIMER_SLP_CYCLE_W { ULP_CP_TIMER_SLP_CYCLE_W::new(self, 8) } diff --git a/esp32s3-ulp/src/rtc_i2c/cmd.rs b/esp32s3-ulp/src/rtc_i2c/cmd.rs index 9431bd59c5..8e4b53048f 100644 --- a/esp32s3-ulp/src/rtc_i2c/cmd.rs +++ b/esp32s3-ulp/src/rtc_i2c/cmd.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - command0"] #[inline(always)] - #[must_use] pub fn command(&mut self) -> COMMAND_W { COMMAND_W::new(self, 0) } diff --git a/esp32s3-ulp/src/rtc_i2c/ctrl.rs b/esp32s3-ulp/src/rtc_i2c/ctrl.rs index d189e964e6..fe27d3741d 100644 --- a/esp32s3-ulp/src/rtc_i2c/ctrl.rs +++ b/esp32s3-ulp/src/rtc_i2c/ctrl.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1=push pull,0=open drain"] #[inline(always)] - #[must_use] pub fn sda_force_out(&mut self) -> SDA_FORCE_OUT_W { SDA_FORCE_OUT_W::new(self, 0) } #[doc = "Bit 1 - 1=push pull,0=open drain"] #[inline(always)] - #[must_use] pub fn scl_force_out(&mut self) -> SCL_FORCE_OUT_W { SCL_FORCE_OUT_W::new(self, 1) } #[doc = "Bit 2 - 1=master,0=slave"] #[inline(always)] - #[must_use] pub fn ms_mode(&mut self) -> MS_MODE_W { MS_MODE_W::new(self, 2) } #[doc = "Bit 3 - force start"] #[inline(always)] - #[must_use] pub fn trans_start(&mut self) -> TRANS_START_W { TRANS_START_W::new(self, 3) } #[doc = "Bit 4 - transit lsb first"] #[inline(always)] - #[must_use] pub fn tx_lsb_first(&mut self) -> TX_LSB_FIRST_W { TX_LSB_FIRST_W::new(self, 4) } #[doc = "Bit 5 - receive lsb first"] #[inline(always)] - #[must_use] pub fn rx_lsb_first(&mut self) -> RX_LSB_FIRST_W { RX_LSB_FIRST_W::new(self, 5) } #[doc = "Bit 29 - configure i2c ctrl clk enable"] #[inline(always)] - #[must_use] pub fn i2c_ctrl_clk_gate_en(&mut self) -> I2C_CTRL_CLK_GATE_EN_W { I2C_CTRL_CLK_GATE_EN_W::new(self, 29) } #[doc = "Bit 30 - rtc i2c sw reset"] #[inline(always)] - #[must_use] pub fn i2c_reset(&mut self) -> I2C_RESET_W { I2C_RESET_W::new(self, 30) } #[doc = "Bit 31 - rtc i2c reg clk gating"] #[inline(always)] - #[must_use] pub fn i2cclk_en(&mut self) -> I2CCLK_EN_W { I2CCLK_EN_W::new(self, 31) } diff --git a/esp32s3-ulp/src/rtc_i2c/data.rs b/esp32s3-ulp/src/rtc_i2c/data.rs index 81fb9243a1..2997fa2359 100644 --- a/esp32s3-ulp/src/rtc_i2c/data.rs +++ b/esp32s3-ulp/src/rtc_i2c/data.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 8:15 - data sent by slave"] #[inline(always)] - #[must_use] pub fn slave_tx_data(&mut self) -> SLAVE_TX_DATA_W { SLAVE_TX_DATA_W::new(self, 8) } diff --git a/esp32s3-ulp/src/rtc_i2c/date.rs b/esp32s3-ulp/src/rtc_i2c/date.rs index 9c8f5d7643..fa2e03a3dc 100644 --- a/esp32s3-ulp/src/rtc_i2c/date.rs +++ b/esp32s3-ulp/src/rtc_i2c/date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - version"] #[inline(always)] - #[must_use] pub fn i2c_date(&mut self) -> I2C_DATE_W { I2C_DATE_W::new(self, 0) } diff --git a/esp32s3-ulp/src/rtc_i2c/int_clr.rs b/esp32s3-ulp/src/rtc_i2c/int_clr.rs index 14ed438a97..b97b2cc5b2 100644 --- a/esp32s3-ulp/src/rtc_i2c/int_clr.rs +++ b/esp32s3-ulp/src/rtc_i2c/int_clr.rs @@ -27,55 +27,46 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - clear slave transit complete interrupt"] #[inline(always)] - #[must_use] pub fn slave_tran_comp(&mut self) -> SLAVE_TRAN_COMP_W { SLAVE_TRAN_COMP_W::new(self, 0) } #[doc = "Bit 1 - clear arbitration lost interrupt"] #[inline(always)] - #[must_use] pub fn arbitration_lost(&mut self) -> ARBITRATION_LOST_W { ARBITRATION_LOST_W::new(self, 1) } #[doc = "Bit 2 - clear master transit complete interrupt"] #[inline(always)] - #[must_use] pub fn master_tran_comp(&mut self) -> MASTER_TRAN_COMP_W { MASTER_TRAN_COMP_W::new(self, 2) } #[doc = "Bit 3 - clear transit complete interrupt"] #[inline(always)] - #[must_use] pub fn trans_complete(&mut self) -> TRANS_COMPLETE_W { TRANS_COMPLETE_W::new(self, 3) } #[doc = "Bit 4 - clear time out interrupt"] #[inline(always)] - #[must_use] pub fn time_out(&mut self) -> TIME_OUT_W { TIME_OUT_W::new(self, 4) } #[doc = "Bit 5 - clear ack error interrupt"] #[inline(always)] - #[must_use] pub fn ack_err(&mut self) -> ACK_ERR_W { ACK_ERR_W::new(self, 5) } #[doc = "Bit 6 - clear receive data interrupt"] #[inline(always)] - #[must_use] pub fn rx_data(&mut self) -> RX_DATA_W { RX_DATA_W::new(self, 6) } #[doc = "Bit 7 - clear transit load data complete interrupt"] #[inline(always)] - #[must_use] pub fn tx_data(&mut self) -> TX_DATA_W { TX_DATA_W::new(self, 7) } #[doc = "Bit 8 - clear detect start interrupt"] #[inline(always)] - #[must_use] pub fn detect_start(&mut self) -> DETECT_START_W { DETECT_START_W::new(self, 8) } diff --git a/esp32s3-ulp/src/rtc_i2c/int_ena.rs b/esp32s3-ulp/src/rtc_i2c/int_ena.rs index 535e2cf991..c93688d765 100644 --- a/esp32s3-ulp/src/rtc_i2c/int_ena.rs +++ b/esp32s3-ulp/src/rtc_i2c/int_ena.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - enable slave transit complete interrupt"] #[inline(always)] - #[must_use] pub fn slave_tran_comp(&mut self) -> SLAVE_TRAN_COMP_W { SLAVE_TRAN_COMP_W::new(self, 0) } #[doc = "Bit 1 - enable arbitration lost interrupt"] #[inline(always)] - #[must_use] pub fn arbitration_lost(&mut self) -> ARBITRATION_LOST_W { ARBITRATION_LOST_W::new(self, 1) } #[doc = "Bit 2 - enable master transit complete interrupt"] #[inline(always)] - #[must_use] pub fn master_tran_comp(&mut self) -> MASTER_TRAN_COMP_W { MASTER_TRAN_COMP_W::new(self, 2) } #[doc = "Bit 3 - enable transit complete interrupt"] #[inline(always)] - #[must_use] pub fn trans_complete(&mut self) -> TRANS_COMPLETE_W { TRANS_COMPLETE_W::new(self, 3) } #[doc = "Bit 4 - enable time out interrupt"] #[inline(always)] - #[must_use] pub fn time_out(&mut self) -> TIME_OUT_W { TIME_OUT_W::new(self, 4) } #[doc = "Bit 5 - enable eack error interrupt"] #[inline(always)] - #[must_use] pub fn ack_err(&mut self) -> ACK_ERR_W { ACK_ERR_W::new(self, 5) } #[doc = "Bit 6 - enable receive data interrupt"] #[inline(always)] - #[must_use] pub fn rx_data(&mut self) -> RX_DATA_W { RX_DATA_W::new(self, 6) } #[doc = "Bit 7 - enable transit data interrupt"] #[inline(always)] - #[must_use] pub fn tx_data(&mut self) -> TX_DATA_W { TX_DATA_W::new(self, 7) } #[doc = "Bit 8 - enable detect start interrupt"] #[inline(always)] - #[must_use] pub fn detect_start(&mut self) -> DETECT_START_W { DETECT_START_W::new(self, 8) } diff --git a/esp32s3-ulp/src/rtc_i2c/scl_high.rs b/esp32s3-ulp/src/rtc_i2c/scl_high.rs index a89201e7f8..d09f79550c 100644 --- a/esp32s3-ulp/src/rtc_i2c/scl_high.rs +++ b/esp32s3-ulp/src/rtc_i2c/scl_high.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - time period that scl = 1"] #[inline(always)] - #[must_use] pub fn period(&mut self) -> PERIOD_W { PERIOD_W::new(self, 0) } diff --git a/esp32s3-ulp/src/rtc_i2c/scl_low.rs b/esp32s3-ulp/src/rtc_i2c/scl_low.rs index 53dcc14829..0f909ec964 100644 --- a/esp32s3-ulp/src/rtc_i2c/scl_low.rs +++ b/esp32s3-ulp/src/rtc_i2c/scl_low.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - time period that scl =0"] #[inline(always)] - #[must_use] pub fn period(&mut self) -> PERIOD_W { PERIOD_W::new(self, 0) } diff --git a/esp32s3-ulp/src/rtc_i2c/scl_start_period.rs b/esp32s3-ulp/src/rtc_i2c/scl_start_period.rs index 5614db9ae1..a640576abf 100644 --- a/esp32s3-ulp/src/rtc_i2c/scl_start_period.rs +++ b/esp32s3-ulp/src/rtc_i2c/scl_start_period.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - time period for SCL to toggle after I2C start is triggered"] #[inline(always)] - #[must_use] pub fn scl_start_period(&mut self) -> SCL_START_PERIOD_W { SCL_START_PERIOD_W::new(self, 0) } diff --git a/esp32s3-ulp/src/rtc_i2c/scl_stop_period.rs b/esp32s3-ulp/src/rtc_i2c/scl_stop_period.rs index 12b069956d..d4fb2dad2d 100644 --- a/esp32s3-ulp/src/rtc_i2c/scl_stop_period.rs +++ b/esp32s3-ulp/src/rtc_i2c/scl_stop_period.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - time period for SCL to stop after I2C end is triggered"] #[inline(always)] - #[must_use] pub fn scl_stop_period(&mut self) -> SCL_STOP_PERIOD_W { SCL_STOP_PERIOD_W::new(self, 0) } diff --git a/esp32s3-ulp/src/rtc_i2c/sda_duty.rs b/esp32s3-ulp/src/rtc_i2c/sda_duty.rs index c0dfb7d3c5..80a68ffb7e 100644 --- a/esp32s3-ulp/src/rtc_i2c/sda_duty.rs +++ b/esp32s3-ulp/src/rtc_i2c/sda_duty.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - time period for SDA to toggle after SCL goes low"] #[inline(always)] - #[must_use] pub fn num(&mut self) -> NUM_W { NUM_W::new(self, 0) } diff --git a/esp32s3-ulp/src/rtc_i2c/slave_addr.rs b/esp32s3-ulp/src/rtc_i2c/slave_addr.rs index c01aadc237..9b9fcc9b2f 100644 --- a/esp32s3-ulp/src/rtc_i2c/slave_addr.rs +++ b/esp32s3-ulp/src/rtc_i2c/slave_addr.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:14 - slave address"] #[inline(always)] - #[must_use] pub fn slave_addr(&mut self) -> SLAVE_ADDR_W { SLAVE_ADDR_W::new(self, 0) } #[doc = "Bit 31 - i2c 10bit mode enable"] #[inline(always)] - #[must_use] pub fn addr_10bit_en(&mut self) -> ADDR_10BIT_EN_W { ADDR_10BIT_EN_W::new(self, 31) } diff --git a/esp32s3-ulp/src/rtc_i2c/to.rs b/esp32s3-ulp/src/rtc_i2c/to.rs index 7e2b22bd38..f3f8f33a4b 100644 --- a/esp32s3-ulp/src/rtc_i2c/to.rs +++ b/esp32s3-ulp/src/rtc_i2c/to.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - time out threshold"] #[inline(always)] - #[must_use] pub fn time_out(&mut self) -> TIME_OUT_W { TIME_OUT_W::new(self, 0) } diff --git a/esp32s3-ulp/src/rtc_io/date.rs b/esp32s3-ulp/src/rtc_io/date.rs index 9d15c525a5..ad2e7f0d1b 100644 --- a/esp32s3-ulp/src/rtc_io/date.rs +++ b/esp32s3-ulp/src/rtc_io/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - version"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s3-ulp/src/rtc_io/enable.rs b/esp32s3-ulp/src/rtc_io/enable.rs index ecaed88aea..ef17883a8a 100644 --- a/esp32s3-ulp/src/rtc_io/enable.rs +++ b/esp32s3-ulp/src/rtc_io/enable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 10:31 - RTC GPIO 0 ~ 21 enable"] #[inline(always)] - #[must_use] pub fn gpio_enable(&mut self) -> GPIO_ENABLE_W { GPIO_ENABLE_W::new(self, 10) } diff --git a/esp32s3-ulp/src/rtc_io/enable_w1tc.rs b/esp32s3-ulp/src/rtc_io/enable_w1tc.rs index 88b791c90c..c99c2599a6 100644 --- a/esp32s3-ulp/src/rtc_io/enable_w1tc.rs +++ b/esp32s3-ulp/src/rtc_io/enable_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 10:31 - RTC GPIO 0 ~ 21 enable write 1 to clear"] #[inline(always)] - #[must_use] pub fn gpio_enable_w1tc(&mut self) -> GPIO_ENABLE_W1TC_W { GPIO_ENABLE_W1TC_W::new(self, 10) } diff --git a/esp32s3-ulp/src/rtc_io/enable_w1ts.rs b/esp32s3-ulp/src/rtc_io/enable_w1ts.rs index 35f91b9771..8796d59775 100644 --- a/esp32s3-ulp/src/rtc_io/enable_w1ts.rs +++ b/esp32s3-ulp/src/rtc_io/enable_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 10:31 - RTC GPIO 0 ~ 21 enable write 1 to set"] #[inline(always)] - #[must_use] pub fn gpio_enable_w1ts(&mut self) -> GPIO_ENABLE_W1TS_W { GPIO_ENABLE_W1TS_W::new(self, 10) } diff --git a/esp32s3-ulp/src/rtc_io/ext_wakeup0.rs b/esp32s3-ulp/src/rtc_io/ext_wakeup0.rs index 99df4fe521..7e4eb2b0f2 100644 --- a/esp32s3-ulp/src/rtc_io/ext_wakeup0.rs +++ b/esp32s3-ulp/src/rtc_io/ext_wakeup0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 27:31 - ******* Description configure***"] #[inline(always)] - #[must_use] pub fn sel(&mut self) -> SEL_W { SEL_W::new(self, 27) } diff --git a/esp32s3-ulp/src/rtc_io/out.rs b/esp32s3-ulp/src/rtc_io/out.rs index 9bbb98ca6b..ded2cad4eb 100644 --- a/esp32s3-ulp/src/rtc_io/out.rs +++ b/esp32s3-ulp/src/rtc_io/out.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 10:31 - RTC GPIO 0 ~ 21 output data"] #[inline(always)] - #[must_use] pub fn data(&mut self) -> DATA_W { DATA_W::new(self, 10) } diff --git a/esp32s3-ulp/src/rtc_io/out_w1tc.rs b/esp32s3-ulp/src/rtc_io/out_w1tc.rs index 7ce58597b6..fdb721df2c 100644 --- a/esp32s3-ulp/src/rtc_io/out_w1tc.rs +++ b/esp32s3-ulp/src/rtc_io/out_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 10:31 - RTC GPIO 0 ~ 21 output data write 1 to clear"] #[inline(always)] - #[must_use] pub fn out_data_w1tc(&mut self) -> OUT_DATA_W1TC_W { OUT_DATA_W1TC_W::new(self, 10) } diff --git a/esp32s3-ulp/src/rtc_io/out_w1ts.rs b/esp32s3-ulp/src/rtc_io/out_w1ts.rs index 506dc3691d..b1f33ddba2 100644 --- a/esp32s3-ulp/src/rtc_io/out_w1ts.rs +++ b/esp32s3-ulp/src/rtc_io/out_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 10:31 - RTC GPIO 0 ~ 21 output data write 1 to set"] #[inline(always)] - #[must_use] pub fn out_data_w1ts(&mut self) -> OUT_DATA_W1TS_W { OUT_DATA_W1TS_W::new(self, 10) } diff --git a/esp32s3-ulp/src/rtc_io/pad_dac1.rs b/esp32s3-ulp/src/rtc_io/pad_dac1.rs index bb729eb64b..c475d09203 100644 --- a/esp32s3-ulp/src/rtc_io/pad_dac1.rs +++ b/esp32s3-ulp/src/rtc_io/pad_dac1.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 3:10 - PDAC1_DAC"] #[inline(always)] - #[must_use] pub fn pdac1_dac(&mut self) -> PDAC1_DAC_W { PDAC1_DAC_W::new(self, 3) } #[doc = "Bit 11 - PDAC1_XPD_DAC"] #[inline(always)] - #[must_use] pub fn pdac1_xpd_dac(&mut self) -> PDAC1_XPD_DAC_W { PDAC1_XPD_DAC_W::new(self, 11) } #[doc = "Bit 12 - 1: use reg_pdac1_xpd_dac to control PDAC1_XPD_DAC,0: use SAR ADC FSM to control PDAC1_XPD_DAC"] #[inline(always)] - #[must_use] pub fn pdac1_dac_xpd_force(&mut self) -> PDAC1_DAC_XPD_FORCE_W { PDAC1_DAC_XPD_FORCE_W::new(self, 12) } #[doc = "Bit 13 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn pdac1_fun_ie(&mut self) -> PDAC1_FUN_IE_W { PDAC1_FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn pdac1_slp_oe(&mut self) -> PDAC1_SLP_OE_W { PDAC1_SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn pdac1_slp_ie(&mut self) -> PDAC1_SLP_IE_W { PDAC1_SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn pdac1_slp_sel(&mut self) -> PDAC1_SLP_SEL_W { PDAC1_SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - PDAC1 function sel"] #[inline(always)] - #[must_use] pub fn pdac1_fun_sel(&mut self) -> PDAC1_FUN_SEL_W { PDAC1_FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn pdac1_mux_sel(&mut self) -> PDAC1_MUX_SEL_W { PDAC1_MUX_SEL_W::new(self, 19) } #[doc = "Bit 27 - PDAC1_RUE"] #[inline(always)] - #[must_use] pub fn pdac1_rue(&mut self) -> PDAC1_RUE_W { PDAC1_RUE_W::new(self, 27) } #[doc = "Bit 28 - PDAC1_RDE"] #[inline(always)] - #[must_use] pub fn pdac1_rde(&mut self) -> PDAC1_RDE_W { PDAC1_RDE_W::new(self, 28) } #[doc = "Bits 29:30 - PDAC1_DRV"] #[inline(always)] - #[must_use] pub fn pdac1_drv(&mut self) -> PDAC1_DRV_W { PDAC1_DRV_W::new(self, 29) } diff --git a/esp32s3-ulp/src/rtc_io/pad_dac2.rs b/esp32s3-ulp/src/rtc_io/pad_dac2.rs index 9ca09cc882..14756aea6e 100644 --- a/esp32s3-ulp/src/rtc_io/pad_dac2.rs +++ b/esp32s3-ulp/src/rtc_io/pad_dac2.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 3:10 - PDAC2_DAC"] #[inline(always)] - #[must_use] pub fn pdac2_dac(&mut self) -> PDAC2_DAC_W { PDAC2_DAC_W::new(self, 3) } #[doc = "Bit 11 - PDAC2_XPD_DAC"] #[inline(always)] - #[must_use] pub fn pdac2_xpd_dac(&mut self) -> PDAC2_XPD_DAC_W { PDAC2_XPD_DAC_W::new(self, 11) } #[doc = "Bit 12 - 1: use reg_pdac2_xpd_dac to control PDAC2_XPD_DAC,0: use SAR ADC FSM to control PDAC2_XPD_DAC"] #[inline(always)] - #[must_use] pub fn pdac2_dac_xpd_force(&mut self) -> PDAC2_DAC_XPD_FORCE_W { PDAC2_DAC_XPD_FORCE_W::new(self, 12) } #[doc = "Bit 13 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn pdac2_fun_ie(&mut self) -> PDAC2_FUN_IE_W { PDAC2_FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn pdac2_slp_oe(&mut self) -> PDAC2_SLP_OE_W { PDAC2_SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn pdac2_slp_ie(&mut self) -> PDAC2_SLP_IE_W { PDAC2_SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn pdac2_slp_sel(&mut self) -> PDAC2_SLP_SEL_W { PDAC2_SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - PDAC1 function sel"] #[inline(always)] - #[must_use] pub fn pdac2_fun_sel(&mut self) -> PDAC2_FUN_SEL_W { PDAC2_FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn pdac2_mux_sel(&mut self) -> PDAC2_MUX_SEL_W { PDAC2_MUX_SEL_W::new(self, 19) } #[doc = "Bit 27 - PDAC2_RUE"] #[inline(always)] - #[must_use] pub fn pdac2_rue(&mut self) -> PDAC2_RUE_W { PDAC2_RUE_W::new(self, 27) } #[doc = "Bit 28 - PDAC2_RDE"] #[inline(always)] - #[must_use] pub fn pdac2_rde(&mut self) -> PDAC2_RDE_W { PDAC2_RDE_W::new(self, 28) } #[doc = "Bits 29:30 - PDAC2_DRV"] #[inline(always)] - #[must_use] pub fn pdac2_drv(&mut self) -> PDAC2_DRV_W { PDAC2_DRV_W::new(self, 29) } diff --git a/esp32s3-ulp/src/rtc_io/pin0.rs b/esp32s3-ulp/src/rtc_io/pin0.rs index d7fe0b84f3..cc78d89709 100644 --- a/esp32s3-ulp/src/rtc_io/pin0.rs +++ b/esp32s3-ulp/src/rtc_io/pin0.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - if set to 0: normal output, if set to 1: open drain"] #[inline(always)] - #[must_use] pub fn pad_driver(&mut self) -> PAD_DRIVER_W { PAD_DRIVER_W::new(self, 2) } #[doc = "Bits 7:9 - if set to 0: GPIO interrupt disable, if set to 1: rising edge trigger, if set to 2: falling edge trigger, if set to 3: any edge trigger, if set to 4: low level trigger, if set to 5: high level trigger"] #[inline(always)] - #[must_use] pub fn int_type(&mut self) -> INT_TYPE_W { INT_TYPE_W::new(self, 7) } #[doc = "Bit 10 - RTC GPIO wakeup enable bit"] #[inline(always)] - #[must_use] pub fn wakeup_enable(&mut self) -> WAKEUP_ENABLE_W { WAKEUP_ENABLE_W::new(self, 10) } diff --git a/esp32s3-ulp/src/rtc_io/pin1.rs b/esp32s3-ulp/src/rtc_io/pin1.rs index b936266cd5..2a9c011a25 100644 --- a/esp32s3-ulp/src/rtc_io/pin1.rs +++ b/esp32s3-ulp/src/rtc_io/pin1.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - if set to 0: normal output, if set to 1: open drain"] #[inline(always)] - #[must_use] pub fn pad_driver(&mut self) -> PAD_DRIVER_W { PAD_DRIVER_W::new(self, 2) } #[doc = "Bits 7:9 - if set to 0: GPIO interrupt disable, if set to 1: rising edge trigger, if set to 2: falling edge trigger, if set to 3: any edge trigger, if set to 4: low level trigger, if set to 5: high level trigger"] #[inline(always)] - #[must_use] pub fn int_type(&mut self) -> INT_TYPE_W { INT_TYPE_W::new(self, 7) } #[doc = "Bit 10 - RTC GPIO wakeup enable bit"] #[inline(always)] - #[must_use] pub fn wakeup_enable(&mut self) -> WAKEUP_ENABLE_W { WAKEUP_ENABLE_W::new(self, 10) } diff --git a/esp32s3-ulp/src/rtc_io/pin10.rs b/esp32s3-ulp/src/rtc_io/pin10.rs index 38f41cc2e9..9afe5ea8ba 100644 --- a/esp32s3-ulp/src/rtc_io/pin10.rs +++ b/esp32s3-ulp/src/rtc_io/pin10.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - if set to 0: normal output, if set to 1: open drain"] #[inline(always)] - #[must_use] pub fn pad_driver(&mut self) -> PAD_DRIVER_W { PAD_DRIVER_W::new(self, 2) } #[doc = "Bits 7:9 - if set to 0: GPIO interrupt disable, if set to 1: rising edge trigger, if set to 2: falling edge trigger, if set to 3: any edge trigger, if set to 4: low level trigger, if set to 5: high level trigger"] #[inline(always)] - #[must_use] pub fn int_type(&mut self) -> INT_TYPE_W { INT_TYPE_W::new(self, 7) } #[doc = "Bit 10 - RTC GPIO wakeup enable bit"] #[inline(always)] - #[must_use] pub fn wakeup_enable(&mut self) -> WAKEUP_ENABLE_W { WAKEUP_ENABLE_W::new(self, 10) } diff --git a/esp32s3-ulp/src/rtc_io/pin11.rs b/esp32s3-ulp/src/rtc_io/pin11.rs index 4c680dcc43..4c3c8db55e 100644 --- a/esp32s3-ulp/src/rtc_io/pin11.rs +++ b/esp32s3-ulp/src/rtc_io/pin11.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - if set to 0: normal output, if set to 1: open drain"] #[inline(always)] - #[must_use] pub fn pad_driver(&mut self) -> PAD_DRIVER_W { PAD_DRIVER_W::new(self, 2) } #[doc = "Bits 7:9 - if set to 0: GPIO interrupt disable, if set to 1: rising edge trigger, if set to 2: falling edge trigger, if set to 3: any edge trigger, if set to 4: low level trigger, if set to 5: high level trigger"] #[inline(always)] - #[must_use] pub fn int_type(&mut self) -> INT_TYPE_W { INT_TYPE_W::new(self, 7) } #[doc = "Bit 10 - RTC GPIO wakeup enable bit"] #[inline(always)] - #[must_use] pub fn wakeup_enable(&mut self) -> WAKEUP_ENABLE_W { WAKEUP_ENABLE_W::new(self, 10) } diff --git a/esp32s3-ulp/src/rtc_io/pin12.rs b/esp32s3-ulp/src/rtc_io/pin12.rs index 99249d5fea..b128069439 100644 --- a/esp32s3-ulp/src/rtc_io/pin12.rs +++ b/esp32s3-ulp/src/rtc_io/pin12.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - if set to 0: normal output, if set to 1: open drain"] #[inline(always)] - #[must_use] pub fn pad_driver(&mut self) -> PAD_DRIVER_W { PAD_DRIVER_W::new(self, 2) } #[doc = "Bits 7:9 - if set to 0: GPIO interrupt disable, if set to 1: rising edge trigger, if set to 2: falling edge trigger, if set to 3: any edge trigger, if set to 4: low level trigger, if set to 5: high level trigger"] #[inline(always)] - #[must_use] pub fn int_type(&mut self) -> INT_TYPE_W { INT_TYPE_W::new(self, 7) } #[doc = "Bit 10 - RTC GPIO wakeup enable bit"] #[inline(always)] - #[must_use] pub fn wakeup_enable(&mut self) -> WAKEUP_ENABLE_W { WAKEUP_ENABLE_W::new(self, 10) } diff --git a/esp32s3-ulp/src/rtc_io/pin13.rs b/esp32s3-ulp/src/rtc_io/pin13.rs index 2ce905f477..2dd4dde337 100644 --- a/esp32s3-ulp/src/rtc_io/pin13.rs +++ b/esp32s3-ulp/src/rtc_io/pin13.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - if set to 0: normal output, if set to 1: open drain"] #[inline(always)] - #[must_use] pub fn pad_driver(&mut self) -> PAD_DRIVER_W { PAD_DRIVER_W::new(self, 2) } #[doc = "Bits 7:9 - if set to 0: GPIO interrupt disable, if set to 1: rising edge trigger, if set to 2: falling edge trigger, if set to 3: any edge trigger, if set to 4: low level trigger, if set to 5: high level trigger"] #[inline(always)] - #[must_use] pub fn int_type(&mut self) -> INT_TYPE_W { INT_TYPE_W::new(self, 7) } #[doc = "Bit 10 - RTC GPIO wakeup enable bit"] #[inline(always)] - #[must_use] pub fn wakeup_enable(&mut self) -> WAKEUP_ENABLE_W { WAKEUP_ENABLE_W::new(self, 10) } diff --git a/esp32s3-ulp/src/rtc_io/pin14.rs b/esp32s3-ulp/src/rtc_io/pin14.rs index 312ea4dc43..4e1e5c5ae4 100644 --- a/esp32s3-ulp/src/rtc_io/pin14.rs +++ b/esp32s3-ulp/src/rtc_io/pin14.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - if set to 0: normal output, if set to 1: open drain"] #[inline(always)] - #[must_use] pub fn pad_driver(&mut self) -> PAD_DRIVER_W { PAD_DRIVER_W::new(self, 2) } #[doc = "Bits 7:9 - if set to 0: GPIO interrupt disable, if set to 1: rising edge trigger, if set to 2: falling edge trigger, if set to 3: any edge trigger, if set to 4: low level trigger, if set to 5: high level trigger"] #[inline(always)] - #[must_use] pub fn int_type(&mut self) -> INT_TYPE_W { INT_TYPE_W::new(self, 7) } #[doc = "Bit 10 - RTC GPIO wakeup enable bit"] #[inline(always)] - #[must_use] pub fn wakeup_enable(&mut self) -> WAKEUP_ENABLE_W { WAKEUP_ENABLE_W::new(self, 10) } diff --git a/esp32s3-ulp/src/rtc_io/pin15.rs b/esp32s3-ulp/src/rtc_io/pin15.rs index 62169e27cc..912b6c462f 100644 --- a/esp32s3-ulp/src/rtc_io/pin15.rs +++ b/esp32s3-ulp/src/rtc_io/pin15.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - if set to 0: normal output, if set to 1: open drain"] #[inline(always)] - #[must_use] pub fn pad_driver(&mut self) -> PAD_DRIVER_W { PAD_DRIVER_W::new(self, 2) } #[doc = "Bits 7:9 - if set to 0: GPIO interrupt disable, if set to 1: rising edge trigger, if set to 2: falling edge trigger, if set to 3: any edge trigger, if set to 4: low level trigger, if set to 5: high level trigger"] #[inline(always)] - #[must_use] pub fn int_type(&mut self) -> INT_TYPE_W { INT_TYPE_W::new(self, 7) } #[doc = "Bit 10 - RTC GPIO wakeup enable bit"] #[inline(always)] - #[must_use] pub fn wakeup_enable(&mut self) -> WAKEUP_ENABLE_W { WAKEUP_ENABLE_W::new(self, 10) } diff --git a/esp32s3-ulp/src/rtc_io/pin16.rs b/esp32s3-ulp/src/rtc_io/pin16.rs index ece218c0f2..24d474c2e8 100644 --- a/esp32s3-ulp/src/rtc_io/pin16.rs +++ b/esp32s3-ulp/src/rtc_io/pin16.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - if set to 0: normal output, if set to 1: open drain"] #[inline(always)] - #[must_use] pub fn pad_driver(&mut self) -> PAD_DRIVER_W { PAD_DRIVER_W::new(self, 2) } #[doc = "Bits 7:9 - if set to 0: GPIO interrupt disable, if set to 1: rising edge trigger, if set to 2: falling edge trigger, if set to 3: any edge trigger, if set to 4: low level trigger, if set to 5: high level trigger"] #[inline(always)] - #[must_use] pub fn int_type(&mut self) -> INT_TYPE_W { INT_TYPE_W::new(self, 7) } #[doc = "Bit 10 - RTC GPIO wakeup enable bit"] #[inline(always)] - #[must_use] pub fn wakeup_enable(&mut self) -> WAKEUP_ENABLE_W { WAKEUP_ENABLE_W::new(self, 10) } diff --git a/esp32s3-ulp/src/rtc_io/pin17.rs b/esp32s3-ulp/src/rtc_io/pin17.rs index 4feafac58a..0d3f3b03bc 100644 --- a/esp32s3-ulp/src/rtc_io/pin17.rs +++ b/esp32s3-ulp/src/rtc_io/pin17.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - if set to 0: normal output, if set to 1: open drain"] #[inline(always)] - #[must_use] pub fn pad_driver(&mut self) -> PAD_DRIVER_W { PAD_DRIVER_W::new(self, 2) } #[doc = "Bits 7:9 - if set to 0: GPIO interrupt disable, if set to 1: rising edge trigger, if set to 2: falling edge trigger, if set to 3: any edge trigger, if set to 4: low level trigger, if set to 5: high level trigger"] #[inline(always)] - #[must_use] pub fn int_type(&mut self) -> INT_TYPE_W { INT_TYPE_W::new(self, 7) } #[doc = "Bit 10 - RTC GPIO wakeup enable bit"] #[inline(always)] - #[must_use] pub fn wakeup_enable(&mut self) -> WAKEUP_ENABLE_W { WAKEUP_ENABLE_W::new(self, 10) } diff --git a/esp32s3-ulp/src/rtc_io/pin18.rs b/esp32s3-ulp/src/rtc_io/pin18.rs index de5a8e6f1e..b74dc791f0 100644 --- a/esp32s3-ulp/src/rtc_io/pin18.rs +++ b/esp32s3-ulp/src/rtc_io/pin18.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - if set to 0: normal output, if set to 1: open drain"] #[inline(always)] - #[must_use] pub fn pad_driver(&mut self) -> PAD_DRIVER_W { PAD_DRIVER_W::new(self, 2) } #[doc = "Bits 7:9 - if set to 0: GPIO interrupt disable, if set to 1: rising edge trigger, if set to 2: falling edge trigger, if set to 3: any edge trigger, if set to 4: low level trigger, if set to 5: high level trigger"] #[inline(always)] - #[must_use] pub fn int_type(&mut self) -> INT_TYPE_W { INT_TYPE_W::new(self, 7) } #[doc = "Bit 10 - RTC GPIO wakeup enable bit"] #[inline(always)] - #[must_use] pub fn wakeup_enable(&mut self) -> WAKEUP_ENABLE_W { WAKEUP_ENABLE_W::new(self, 10) } diff --git a/esp32s3-ulp/src/rtc_io/pin19.rs b/esp32s3-ulp/src/rtc_io/pin19.rs index 7e7dc685d7..4080daffaa 100644 --- a/esp32s3-ulp/src/rtc_io/pin19.rs +++ b/esp32s3-ulp/src/rtc_io/pin19.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - if set to 0: normal output, if set to 1: open drain"] #[inline(always)] - #[must_use] pub fn pad_driver(&mut self) -> PAD_DRIVER_W { PAD_DRIVER_W::new(self, 2) } #[doc = "Bits 7:9 - if set to 0: GPIO interrupt disable, if set to 1: rising edge trigger, if set to 2: falling edge trigger, if set to 3: any edge trigger, if set to 4: low level trigger, if set to 5: high level trigger"] #[inline(always)] - #[must_use] pub fn int_type(&mut self) -> INT_TYPE_W { INT_TYPE_W::new(self, 7) } #[doc = "Bit 10 - RTC GPIO wakeup enable bit"] #[inline(always)] - #[must_use] pub fn wakeup_enable(&mut self) -> WAKEUP_ENABLE_W { WAKEUP_ENABLE_W::new(self, 10) } diff --git a/esp32s3-ulp/src/rtc_io/pin2.rs b/esp32s3-ulp/src/rtc_io/pin2.rs index e98538c0a8..9fda438d27 100644 --- a/esp32s3-ulp/src/rtc_io/pin2.rs +++ b/esp32s3-ulp/src/rtc_io/pin2.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - if set to 0: normal output, if set to 1: open drain"] #[inline(always)] - #[must_use] pub fn pad_driver(&mut self) -> PAD_DRIVER_W { PAD_DRIVER_W::new(self, 2) } #[doc = "Bits 7:9 - if set to 0: GPIO interrupt disable, if set to 1: rising edge trigger, if set to 2: falling edge trigger, if set to 3: any edge trigger, if set to 4: low level trigger, if set to 5: high level trigger"] #[inline(always)] - #[must_use] pub fn int_type(&mut self) -> INT_TYPE_W { INT_TYPE_W::new(self, 7) } #[doc = "Bit 10 - RTC GPIO wakeup enable bit"] #[inline(always)] - #[must_use] pub fn wakeup_enable(&mut self) -> WAKEUP_ENABLE_W { WAKEUP_ENABLE_W::new(self, 10) } diff --git a/esp32s3-ulp/src/rtc_io/pin20.rs b/esp32s3-ulp/src/rtc_io/pin20.rs index d270cb3035..154567bd3a 100644 --- a/esp32s3-ulp/src/rtc_io/pin20.rs +++ b/esp32s3-ulp/src/rtc_io/pin20.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - if set to 0: normal output, if set to 1: open drain"] #[inline(always)] - #[must_use] pub fn pad_driver(&mut self) -> PAD_DRIVER_W { PAD_DRIVER_W::new(self, 2) } #[doc = "Bits 7:9 - if set to 0: GPIO interrupt disable, if set to 1: rising edge trigger, if set to 2: falling edge trigger, if set to 3: any edge trigger, if set to 4: low level trigger, if set to 5: high level trigger"] #[inline(always)] - #[must_use] pub fn int_type(&mut self) -> INT_TYPE_W { INT_TYPE_W::new(self, 7) } #[doc = "Bit 10 - RTC GPIO wakeup enable bit"] #[inline(always)] - #[must_use] pub fn wakeup_enable(&mut self) -> WAKEUP_ENABLE_W { WAKEUP_ENABLE_W::new(self, 10) } diff --git a/esp32s3-ulp/src/rtc_io/pin21.rs b/esp32s3-ulp/src/rtc_io/pin21.rs index 3b4beebf31..1c4098fd62 100644 --- a/esp32s3-ulp/src/rtc_io/pin21.rs +++ b/esp32s3-ulp/src/rtc_io/pin21.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - if set to 0: normal output, if set to 1: open drain"] #[inline(always)] - #[must_use] pub fn pad_driver(&mut self) -> PAD_DRIVER_W { PAD_DRIVER_W::new(self, 2) } #[doc = "Bits 7:9 - if set to 0: GPIO interrupt disable, if set to 1: rising edge trigger, if set to 2: falling edge trigger, if set to 3: any edge trigger, if set to 4: low level trigger, if set to 5: high level trigger"] #[inline(always)] - #[must_use] pub fn int_type(&mut self) -> INT_TYPE_W { INT_TYPE_W::new(self, 7) } #[doc = "Bit 10 - RTC GPIO wakeup enable bit"] #[inline(always)] - #[must_use] pub fn wakeup_enable(&mut self) -> WAKEUP_ENABLE_W { WAKEUP_ENABLE_W::new(self, 10) } diff --git a/esp32s3-ulp/src/rtc_io/pin3.rs b/esp32s3-ulp/src/rtc_io/pin3.rs index 1a548da23f..23bca90351 100644 --- a/esp32s3-ulp/src/rtc_io/pin3.rs +++ b/esp32s3-ulp/src/rtc_io/pin3.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - if set to 0: normal output, if set to 1: open drain"] #[inline(always)] - #[must_use] pub fn pad_driver(&mut self) -> PAD_DRIVER_W { PAD_DRIVER_W::new(self, 2) } #[doc = "Bits 7:9 - if set to 0: GPIO interrupt disable, if set to 1: rising edge trigger, if set to 2: falling edge trigger, if set to 3: any edge trigger, if set to 4: low level trigger, if set to 5: high level trigger"] #[inline(always)] - #[must_use] pub fn int_type(&mut self) -> INT_TYPE_W { INT_TYPE_W::new(self, 7) } #[doc = "Bit 10 - RTC GPIO wakeup enable bit"] #[inline(always)] - #[must_use] pub fn wakeup_enable(&mut self) -> WAKEUP_ENABLE_W { WAKEUP_ENABLE_W::new(self, 10) } diff --git a/esp32s3-ulp/src/rtc_io/pin4.rs b/esp32s3-ulp/src/rtc_io/pin4.rs index c11766e66f..4a7b65c317 100644 --- a/esp32s3-ulp/src/rtc_io/pin4.rs +++ b/esp32s3-ulp/src/rtc_io/pin4.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - if set to 0: normal output, if set to 1: open drain"] #[inline(always)] - #[must_use] pub fn pad_driver(&mut self) -> PAD_DRIVER_W { PAD_DRIVER_W::new(self, 2) } #[doc = "Bits 7:9 - if set to 0: GPIO interrupt disable, if set to 1: rising edge trigger, if set to 2: falling edge trigger, if set to 3: any edge trigger, if set to 4: low level trigger, if set to 5: high level trigger"] #[inline(always)] - #[must_use] pub fn int_type(&mut self) -> INT_TYPE_W { INT_TYPE_W::new(self, 7) } #[doc = "Bit 10 - RTC GPIO wakeup enable bit"] #[inline(always)] - #[must_use] pub fn wakeup_enable(&mut self) -> WAKEUP_ENABLE_W { WAKEUP_ENABLE_W::new(self, 10) } diff --git a/esp32s3-ulp/src/rtc_io/pin5.rs b/esp32s3-ulp/src/rtc_io/pin5.rs index 7573eb0797..94dec674be 100644 --- a/esp32s3-ulp/src/rtc_io/pin5.rs +++ b/esp32s3-ulp/src/rtc_io/pin5.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - if set to 0: normal output, if set to 1: open drain"] #[inline(always)] - #[must_use] pub fn pad_driver(&mut self) -> PAD_DRIVER_W { PAD_DRIVER_W::new(self, 2) } #[doc = "Bits 7:9 - if set to 0: GPIO interrupt disable, if set to 1: rising edge trigger, if set to 2: falling edge trigger, if set to 3: any edge trigger, if set to 4: low level trigger, if set to 5: high level trigger"] #[inline(always)] - #[must_use] pub fn int_type(&mut self) -> INT_TYPE_W { INT_TYPE_W::new(self, 7) } #[doc = "Bit 10 - RTC GPIO wakeup enable bit"] #[inline(always)] - #[must_use] pub fn wakeup_enable(&mut self) -> WAKEUP_ENABLE_W { WAKEUP_ENABLE_W::new(self, 10) } diff --git a/esp32s3-ulp/src/rtc_io/pin6.rs b/esp32s3-ulp/src/rtc_io/pin6.rs index eabdcce7d5..d0c878e4ef 100644 --- a/esp32s3-ulp/src/rtc_io/pin6.rs +++ b/esp32s3-ulp/src/rtc_io/pin6.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - if set to 0: normal output, if set to 1: open drain"] #[inline(always)] - #[must_use] pub fn pad_driver(&mut self) -> PAD_DRIVER_W { PAD_DRIVER_W::new(self, 2) } #[doc = "Bits 7:9 - if set to 0: GPIO interrupt disable, if set to 1: rising edge trigger, if set to 2: falling edge trigger, if set to 3: any edge trigger, if set to 4: low level trigger, if set to 5: high level trigger"] #[inline(always)] - #[must_use] pub fn int_type(&mut self) -> INT_TYPE_W { INT_TYPE_W::new(self, 7) } #[doc = "Bit 10 - RTC GPIO wakeup enable bit"] #[inline(always)] - #[must_use] pub fn wakeup_enable(&mut self) -> WAKEUP_ENABLE_W { WAKEUP_ENABLE_W::new(self, 10) } diff --git a/esp32s3-ulp/src/rtc_io/pin7.rs b/esp32s3-ulp/src/rtc_io/pin7.rs index ea7673c2ca..abb013b690 100644 --- a/esp32s3-ulp/src/rtc_io/pin7.rs +++ b/esp32s3-ulp/src/rtc_io/pin7.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - if set to 0: normal output, if set to 1: open drain"] #[inline(always)] - #[must_use] pub fn pad_driver(&mut self) -> PAD_DRIVER_W { PAD_DRIVER_W::new(self, 2) } #[doc = "Bits 7:9 - if set to 0: GPIO interrupt disable, if set to 1: rising edge trigger, if set to 2: falling edge trigger, if set to 3: any edge trigger, if set to 4: low level trigger, if set to 5: high level trigger"] #[inline(always)] - #[must_use] pub fn int_type(&mut self) -> INT_TYPE_W { INT_TYPE_W::new(self, 7) } #[doc = "Bit 10 - RTC GPIO wakeup enable bit"] #[inline(always)] - #[must_use] pub fn wakeup_enable(&mut self) -> WAKEUP_ENABLE_W { WAKEUP_ENABLE_W::new(self, 10) } diff --git a/esp32s3-ulp/src/rtc_io/pin8.rs b/esp32s3-ulp/src/rtc_io/pin8.rs index 544032d651..5b27a30535 100644 --- a/esp32s3-ulp/src/rtc_io/pin8.rs +++ b/esp32s3-ulp/src/rtc_io/pin8.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - if set to 0: normal output, if set to 1: open drain"] #[inline(always)] - #[must_use] pub fn pad_driver(&mut self) -> PAD_DRIVER_W { PAD_DRIVER_W::new(self, 2) } #[doc = "Bits 7:9 - if set to 0: GPIO interrupt disable, if set to 1: rising edge trigger, if set to 2: falling edge trigger, if set to 3: any edge trigger, if set to 4: low level trigger, if set to 5: high level trigger"] #[inline(always)] - #[must_use] pub fn int_type(&mut self) -> INT_TYPE_W { INT_TYPE_W::new(self, 7) } #[doc = "Bit 10 - RTC GPIO wakeup enable bit"] #[inline(always)] - #[must_use] pub fn wakeup_enable(&mut self) -> WAKEUP_ENABLE_W { WAKEUP_ENABLE_W::new(self, 10) } diff --git a/esp32s3-ulp/src/rtc_io/pin9.rs b/esp32s3-ulp/src/rtc_io/pin9.rs index 583861896c..ac412326ec 100644 --- a/esp32s3-ulp/src/rtc_io/pin9.rs +++ b/esp32s3-ulp/src/rtc_io/pin9.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - if set to 0: normal output, if set to 1: open drain"] #[inline(always)] - #[must_use] pub fn pad_driver(&mut self) -> PAD_DRIVER_W { PAD_DRIVER_W::new(self, 2) } #[doc = "Bits 7:9 - if set to 0: GPIO interrupt disable, if set to 1: rising edge trigger, if set to 2: falling edge trigger, if set to 3: any edge trigger, if set to 4: low level trigger, if set to 5: high level trigger"] #[inline(always)] - #[must_use] pub fn int_type(&mut self) -> INT_TYPE_W { INT_TYPE_W::new(self, 7) } #[doc = "Bit 10 - RTC GPIO wakeup enable bit"] #[inline(always)] - #[must_use] pub fn wakeup_enable(&mut self) -> WAKEUP_ENABLE_W { WAKEUP_ENABLE_W::new(self, 10) } diff --git a/esp32s3-ulp/src/rtc_io/rtc_debug_sel.rs b/esp32s3-ulp/src/rtc_io/rtc_debug_sel.rs index e506392b16..54ba16c669 100644 --- a/esp32s3-ulp/src/rtc_io/rtc_debug_sel.rs +++ b/esp32s3-ulp/src/rtc_io/rtc_debug_sel.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - configure rtc debug"] #[inline(always)] - #[must_use] pub fn debug_sel0(&mut self) -> DEBUG_SEL0_W { DEBUG_SEL0_W::new(self, 0) } #[doc = "Bits 5:9 - configure rtc debug"] #[inline(always)] - #[must_use] pub fn debug_sel1(&mut self) -> DEBUG_SEL1_W { DEBUG_SEL1_W::new(self, 5) } #[doc = "Bits 10:14 - configure rtc debug"] #[inline(always)] - #[must_use] pub fn debug_sel2(&mut self) -> DEBUG_SEL2_W { DEBUG_SEL2_W::new(self, 10) } #[doc = "Bits 15:19 - configure rtc debug"] #[inline(always)] - #[must_use] pub fn debug_sel3(&mut self) -> DEBUG_SEL3_W { DEBUG_SEL3_W::new(self, 15) } #[doc = "Bits 20:24 - configure rtc debug"] #[inline(always)] - #[must_use] pub fn debug_sel4(&mut self) -> DEBUG_SEL4_W { DEBUG_SEL4_W::new(self, 20) } #[doc = "Bit 25 - configure rtc debug"] #[inline(always)] - #[must_use] pub fn debug_12m_no_gating(&mut self) -> DEBUG_12M_NO_GATING_W { DEBUG_12M_NO_GATING_W::new(self, 25) } diff --git a/esp32s3-ulp/src/rtc_io/rtc_pad19.rs b/esp32s3-ulp/src/rtc_io/rtc_pad19.rs index df3b94eb50..ab0116229a 100644 --- a/esp32s3-ulp/src/rtc_io/rtc_pad19.rs +++ b/esp32s3-ulp/src/rtc_io/rtc_pad19.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - function sel"] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 19) } #[doc = "Bit 27 - RUE"] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - RDE"] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bits 29:30 - DRV"] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 29) } diff --git a/esp32s3-ulp/src/rtc_io/rtc_pad20.rs b/esp32s3-ulp/src/rtc_io/rtc_pad20.rs index dfd3f9859a..0c202c9690 100644 --- a/esp32s3-ulp/src/rtc_io/rtc_pad20.rs +++ b/esp32s3-ulp/src/rtc_io/rtc_pad20.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - function sel"] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 19) } #[doc = "Bit 27 - RUE"] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - RDE"] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bits 29:30 - DRV"] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 29) } diff --git a/esp32s3-ulp/src/rtc_io/rtc_pad21.rs b/esp32s3-ulp/src/rtc_io/rtc_pad21.rs index 9c6e5a5229..16fad2fc2b 100644 --- a/esp32s3-ulp/src/rtc_io/rtc_pad21.rs +++ b/esp32s3-ulp/src/rtc_io/rtc_pad21.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - function sel"] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 19) } #[doc = "Bit 27 - RUE"] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - RDE"] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bits 29:30 - DRV"] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 29) } diff --git a/esp32s3-ulp/src/rtc_io/sar_i2c_io.rs b/esp32s3-ulp/src/rtc_io/sar_i2c_io.rs index 3f9c87d3a2..4873a03506 100644 --- a/esp32s3-ulp/src/rtc_io/sar_i2c_io.rs +++ b/esp32s3-ulp/src/rtc_io/sar_i2c_io.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 23:27 - ******* Description configure***"] #[inline(always)] - #[must_use] pub fn sar_debug_bit_sel(&mut self) -> SAR_DEBUG_BIT_SEL_W { SAR_DEBUG_BIT_SEL_W::new(self, 23) } #[doc = "Bits 28:29 - ******* Description configure***"] #[inline(always)] - #[must_use] pub fn sar_i2c_scl_sel(&mut self) -> SAR_I2C_SCL_SEL_W { SAR_I2C_SCL_SEL_W::new(self, 28) } #[doc = "Bits 30:31 - ******* Description configure***"] #[inline(always)] - #[must_use] pub fn sar_i2c_sda_sel(&mut self) -> SAR_I2C_SDA_SEL_W { SAR_I2C_SDA_SEL_W::new(self, 30) } diff --git a/esp32s3-ulp/src/rtc_io/status.rs b/esp32s3-ulp/src/rtc_io/status.rs index 2c5a8c58cc..75723c6afd 100644 --- a/esp32s3-ulp/src/rtc_io/status.rs +++ b/esp32s3-ulp/src/rtc_io/status.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 10:31 - RTC GPIO 0 ~ 21 interrupt status"] #[inline(always)] - #[must_use] pub fn int(&mut self) -> INT_W { INT_W::new(self, 10) } diff --git a/esp32s3-ulp/src/rtc_io/status_w1tc.rs b/esp32s3-ulp/src/rtc_io/status_w1tc.rs index 234c56707c..f32b86d3ba 100644 --- a/esp32s3-ulp/src/rtc_io/status_w1tc.rs +++ b/esp32s3-ulp/src/rtc_io/status_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 10:31 - RTC GPIO 0 ~ 21 interrupt status write 1 to clear"] #[inline(always)] - #[must_use] pub fn gpio_status_int_w1tc(&mut self) -> GPIO_STATUS_INT_W1TC_W { GPIO_STATUS_INT_W1TC_W::new(self, 10) } diff --git a/esp32s3-ulp/src/rtc_io/status_w1ts.rs b/esp32s3-ulp/src/rtc_io/status_w1ts.rs index 0c51f37902..fc07acffae 100644 --- a/esp32s3-ulp/src/rtc_io/status_w1ts.rs +++ b/esp32s3-ulp/src/rtc_io/status_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 10:31 - RTC GPIO 0 ~ 21 interrupt status write 1 to set"] #[inline(always)] - #[must_use] pub fn gpio_status_int_w1ts(&mut self) -> GPIO_STATUS_INT_W1TS_W { GPIO_STATUS_INT_W1TS_W::new(self, 10) } diff --git a/esp32s3-ulp/src/rtc_io/touch_ctrl.rs b/esp32s3-ulp/src/rtc_io/touch_ctrl.rs index e95c4223d6..4533fbff14 100644 --- a/esp32s3-ulp/src/rtc_io/touch_ctrl.rs +++ b/esp32s3-ulp/src/rtc_io/touch_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - BUF_SEL when touch work without fsm"] #[inline(always)] - #[must_use] pub fn io_touch_bufsel(&mut self) -> IO_TOUCH_BUFSEL_W { IO_TOUCH_BUFSEL_W::new(self, 0) } #[doc = "Bit 4 - BUF_MODE when touch work without fsm"] #[inline(always)] - #[must_use] pub fn io_touch_bufmode(&mut self) -> IO_TOUCH_BUFMODE_W { IO_TOUCH_BUFMODE_W::new(self, 4) } diff --git a/esp32s3-ulp/src/rtc_io/touch_pad0.rs b/esp32s3-ulp/src/rtc_io/touch_pad0.rs index 53ff0b54e4..fb5a6cbe70 100644 --- a/esp32s3-ulp/src/rtc_io/touch_pad0.rs +++ b/esp32s3-ulp/src/rtc_io/touch_pad0.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - function sel"] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 19) } #[doc = "Bit 20 - TOUCH_XPD"] #[inline(always)] - #[must_use] pub fn xpd(&mut self) -> XPD_W { XPD_W::new(self, 20) } #[doc = "Bit 21 - TOUCH_TIE_OPT"] #[inline(always)] - #[must_use] pub fn tie_opt(&mut self) -> TIE_OPT_W { TIE_OPT_W::new(self, 21) } #[doc = "Bit 22 - TOUCH_START"] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 22) } #[doc = "Bit 27 - RUE"] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - RDE"] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bits 29:30 - DRV"] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 29) } diff --git a/esp32s3-ulp/src/rtc_io/touch_pad1.rs b/esp32s3-ulp/src/rtc_io/touch_pad1.rs index 02aa2994f7..b96c879b97 100644 --- a/esp32s3-ulp/src/rtc_io/touch_pad1.rs +++ b/esp32s3-ulp/src/rtc_io/touch_pad1.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - function sel"] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 19) } #[doc = "Bit 20 - TOUCH_XPD"] #[inline(always)] - #[must_use] pub fn xpd(&mut self) -> XPD_W { XPD_W::new(self, 20) } #[doc = "Bit 21 - TOUCH_TIE_OPT"] #[inline(always)] - #[must_use] pub fn tie_opt(&mut self) -> TIE_OPT_W { TIE_OPT_W::new(self, 21) } #[doc = "Bit 22 - TOUCH_START"] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 22) } #[doc = "Bit 27 - RUE"] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - RDE"] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bits 29:30 - DRV"] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 29) } diff --git a/esp32s3-ulp/src/rtc_io/touch_pad10.rs b/esp32s3-ulp/src/rtc_io/touch_pad10.rs index 9d3f03c46e..cb83cac507 100644 --- a/esp32s3-ulp/src/rtc_io/touch_pad10.rs +++ b/esp32s3-ulp/src/rtc_io/touch_pad10.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - function sel"] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 19) } #[doc = "Bit 20 - TOUCH_XPD"] #[inline(always)] - #[must_use] pub fn xpd(&mut self) -> XPD_W { XPD_W::new(self, 20) } #[doc = "Bit 21 - TOUCH_TIE_OPT"] #[inline(always)] - #[must_use] pub fn tie_opt(&mut self) -> TIE_OPT_W { TIE_OPT_W::new(self, 21) } #[doc = "Bit 22 - TOUCH_START"] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 22) } #[doc = "Bit 27 - RUE"] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - RDE"] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bits 29:30 - DRV"] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 29) } diff --git a/esp32s3-ulp/src/rtc_io/touch_pad11.rs b/esp32s3-ulp/src/rtc_io/touch_pad11.rs index e237f631c7..6b29b9f7db 100644 --- a/esp32s3-ulp/src/rtc_io/touch_pad11.rs +++ b/esp32s3-ulp/src/rtc_io/touch_pad11.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - function sel"] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 19) } #[doc = "Bit 20 - TOUCH_XPD"] #[inline(always)] - #[must_use] pub fn xpd(&mut self) -> XPD_W { XPD_W::new(self, 20) } #[doc = "Bit 21 - TOUCH_TIE_OPT"] #[inline(always)] - #[must_use] pub fn tie_opt(&mut self) -> TIE_OPT_W { TIE_OPT_W::new(self, 21) } #[doc = "Bit 22 - TOUCH_START"] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 22) } #[doc = "Bit 27 - RUE"] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - RDE"] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bits 29:30 - DRV"] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 29) } diff --git a/esp32s3-ulp/src/rtc_io/touch_pad12.rs b/esp32s3-ulp/src/rtc_io/touch_pad12.rs index 5cc71ed422..c4cde28c3a 100644 --- a/esp32s3-ulp/src/rtc_io/touch_pad12.rs +++ b/esp32s3-ulp/src/rtc_io/touch_pad12.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - function sel"] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 19) } #[doc = "Bit 20 - TOUCH_XPD"] #[inline(always)] - #[must_use] pub fn xpd(&mut self) -> XPD_W { XPD_W::new(self, 20) } #[doc = "Bit 21 - TOUCH_TIE_OPT"] #[inline(always)] - #[must_use] pub fn tie_opt(&mut self) -> TIE_OPT_W { TIE_OPT_W::new(self, 21) } #[doc = "Bit 22 - TOUCH_START"] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 22) } #[doc = "Bit 27 - RUE"] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - RDE"] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bits 29:30 - DRV"] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 29) } diff --git a/esp32s3-ulp/src/rtc_io/touch_pad13.rs b/esp32s3-ulp/src/rtc_io/touch_pad13.rs index aa2f718e65..425ce2535b 100644 --- a/esp32s3-ulp/src/rtc_io/touch_pad13.rs +++ b/esp32s3-ulp/src/rtc_io/touch_pad13.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - function sel"] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 19) } #[doc = "Bit 20 - TOUCH_XPD"] #[inline(always)] - #[must_use] pub fn xpd(&mut self) -> XPD_W { XPD_W::new(self, 20) } #[doc = "Bit 21 - TOUCH_TIE_OPT"] #[inline(always)] - #[must_use] pub fn tie_opt(&mut self) -> TIE_OPT_W { TIE_OPT_W::new(self, 21) } #[doc = "Bit 22 - TOUCH_START"] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 22) } #[doc = "Bit 27 - RUE"] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - RDE"] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bits 29:30 - DRV"] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 29) } diff --git a/esp32s3-ulp/src/rtc_io/touch_pad14.rs b/esp32s3-ulp/src/rtc_io/touch_pad14.rs index da5d084a59..928971eb66 100644 --- a/esp32s3-ulp/src/rtc_io/touch_pad14.rs +++ b/esp32s3-ulp/src/rtc_io/touch_pad14.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - function sel"] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 19) } #[doc = "Bit 20 - TOUCH_XPD"] #[inline(always)] - #[must_use] pub fn xpd(&mut self) -> XPD_W { XPD_W::new(self, 20) } #[doc = "Bit 21 - TOUCH_TIE_OPT"] #[inline(always)] - #[must_use] pub fn tie_opt(&mut self) -> TIE_OPT_W { TIE_OPT_W::new(self, 21) } #[doc = "Bit 22 - TOUCH_START"] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 22) } #[doc = "Bit 27 - RUE"] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - RDE"] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bits 29:30 - DRV"] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 29) } diff --git a/esp32s3-ulp/src/rtc_io/touch_pad2.rs b/esp32s3-ulp/src/rtc_io/touch_pad2.rs index 449bff8d7e..f28b35dd5a 100644 --- a/esp32s3-ulp/src/rtc_io/touch_pad2.rs +++ b/esp32s3-ulp/src/rtc_io/touch_pad2.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - function sel"] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 19) } #[doc = "Bit 20 - TOUCH_XPD"] #[inline(always)] - #[must_use] pub fn xpd(&mut self) -> XPD_W { XPD_W::new(self, 20) } #[doc = "Bit 21 - TOUCH_TIE_OPT"] #[inline(always)] - #[must_use] pub fn tie_opt(&mut self) -> TIE_OPT_W { TIE_OPT_W::new(self, 21) } #[doc = "Bit 22 - TOUCH_START"] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 22) } #[doc = "Bit 27 - RUE"] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - RDE"] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bits 29:30 - DRV"] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 29) } diff --git a/esp32s3-ulp/src/rtc_io/touch_pad3.rs b/esp32s3-ulp/src/rtc_io/touch_pad3.rs index 8bbbbcdf58..3c868593e5 100644 --- a/esp32s3-ulp/src/rtc_io/touch_pad3.rs +++ b/esp32s3-ulp/src/rtc_io/touch_pad3.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - function sel"] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 19) } #[doc = "Bit 20 - TOUCH_XPD"] #[inline(always)] - #[must_use] pub fn xpd(&mut self) -> XPD_W { XPD_W::new(self, 20) } #[doc = "Bit 21 - TOUCH_TIE_OPT"] #[inline(always)] - #[must_use] pub fn tie_opt(&mut self) -> TIE_OPT_W { TIE_OPT_W::new(self, 21) } #[doc = "Bit 22 - TOUCH_START"] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 22) } #[doc = "Bit 27 - RUE"] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - RDE"] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bits 29:30 - DRV"] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 29) } diff --git a/esp32s3-ulp/src/rtc_io/touch_pad4.rs b/esp32s3-ulp/src/rtc_io/touch_pad4.rs index 73c0f8e033..67fc2f4141 100644 --- a/esp32s3-ulp/src/rtc_io/touch_pad4.rs +++ b/esp32s3-ulp/src/rtc_io/touch_pad4.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - function sel"] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 19) } #[doc = "Bit 20 - TOUCH_XPD"] #[inline(always)] - #[must_use] pub fn xpd(&mut self) -> XPD_W { XPD_W::new(self, 20) } #[doc = "Bit 21 - TOUCH_TIE_OPT"] #[inline(always)] - #[must_use] pub fn tie_opt(&mut self) -> TIE_OPT_W { TIE_OPT_W::new(self, 21) } #[doc = "Bit 22 - TOUCH_START"] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 22) } #[doc = "Bit 27 - RUE"] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - RDE"] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bits 29:30 - DRV"] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 29) } diff --git a/esp32s3-ulp/src/rtc_io/touch_pad5.rs b/esp32s3-ulp/src/rtc_io/touch_pad5.rs index e27dcb9229..c06fde0314 100644 --- a/esp32s3-ulp/src/rtc_io/touch_pad5.rs +++ b/esp32s3-ulp/src/rtc_io/touch_pad5.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - function sel"] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 19) } #[doc = "Bit 20 - TOUCH_XPD"] #[inline(always)] - #[must_use] pub fn xpd(&mut self) -> XPD_W { XPD_W::new(self, 20) } #[doc = "Bit 21 - TOUCH_TIE_OPT"] #[inline(always)] - #[must_use] pub fn tie_opt(&mut self) -> TIE_OPT_W { TIE_OPT_W::new(self, 21) } #[doc = "Bit 22 - TOUCH_START"] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 22) } #[doc = "Bit 27 - RUE"] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - RDE"] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bits 29:30 - DRV"] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 29) } diff --git a/esp32s3-ulp/src/rtc_io/touch_pad6.rs b/esp32s3-ulp/src/rtc_io/touch_pad6.rs index 2a4d8565ee..16411c734d 100644 --- a/esp32s3-ulp/src/rtc_io/touch_pad6.rs +++ b/esp32s3-ulp/src/rtc_io/touch_pad6.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - function sel"] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 19) } #[doc = "Bit 20 - TOUCH_XPD"] #[inline(always)] - #[must_use] pub fn xpd(&mut self) -> XPD_W { XPD_W::new(self, 20) } #[doc = "Bit 21 - TOUCH_TIE_OPT"] #[inline(always)] - #[must_use] pub fn tie_opt(&mut self) -> TIE_OPT_W { TIE_OPT_W::new(self, 21) } #[doc = "Bit 22 - TOUCH_START"] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 22) } #[doc = "Bit 27 - RUE"] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - RDE"] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bits 29:30 - DRV"] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 29) } diff --git a/esp32s3-ulp/src/rtc_io/touch_pad7.rs b/esp32s3-ulp/src/rtc_io/touch_pad7.rs index 62281152ca..f409885598 100644 --- a/esp32s3-ulp/src/rtc_io/touch_pad7.rs +++ b/esp32s3-ulp/src/rtc_io/touch_pad7.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - function sel"] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 19) } #[doc = "Bit 20 - TOUCH_XPD"] #[inline(always)] - #[must_use] pub fn xpd(&mut self) -> XPD_W { XPD_W::new(self, 20) } #[doc = "Bit 21 - TOUCH_TIE_OPT"] #[inline(always)] - #[must_use] pub fn tie_opt(&mut self) -> TIE_OPT_W { TIE_OPT_W::new(self, 21) } #[doc = "Bit 22 - TOUCH_START"] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 22) } #[doc = "Bit 27 - RUE"] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - RDE"] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bits 29:30 - DRV"] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 29) } diff --git a/esp32s3-ulp/src/rtc_io/touch_pad8.rs b/esp32s3-ulp/src/rtc_io/touch_pad8.rs index d9b45df11d..5258b71d28 100644 --- a/esp32s3-ulp/src/rtc_io/touch_pad8.rs +++ b/esp32s3-ulp/src/rtc_io/touch_pad8.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - function sel"] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 19) } #[doc = "Bit 20 - TOUCH_XPD"] #[inline(always)] - #[must_use] pub fn xpd(&mut self) -> XPD_W { XPD_W::new(self, 20) } #[doc = "Bit 21 - TOUCH_TIE_OPT"] #[inline(always)] - #[must_use] pub fn tie_opt(&mut self) -> TIE_OPT_W { TIE_OPT_W::new(self, 21) } #[doc = "Bit 22 - TOUCH_START"] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 22) } #[doc = "Bit 27 - RUE"] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - RDE"] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bits 29:30 - DRV"] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 29) } diff --git a/esp32s3-ulp/src/rtc_io/touch_pad9.rs b/esp32s3-ulp/src/rtc_io/touch_pad9.rs index 1d6b03a609..9d89b438aa 100644 --- a/esp32s3-ulp/src/rtc_io/touch_pad9.rs +++ b/esp32s3-ulp/src/rtc_io/touch_pad9.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - function sel"] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 19) } #[doc = "Bit 20 - TOUCH_XPD"] #[inline(always)] - #[must_use] pub fn xpd(&mut self) -> XPD_W { XPD_W::new(self, 20) } #[doc = "Bit 21 - TOUCH_TIE_OPT"] #[inline(always)] - #[must_use] pub fn tie_opt(&mut self) -> TIE_OPT_W { TIE_OPT_W::new(self, 21) } #[doc = "Bit 22 - TOUCH_START"] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 22) } #[doc = "Bit 27 - RUE"] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - RDE"] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bits 29:30 - DRV"] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 29) } diff --git a/esp32s3-ulp/src/rtc_io/xtal_32n_pad.rs b/esp32s3-ulp/src/rtc_io/xtal_32n_pad.rs index cb1288f696..76569de7ab 100644 --- a/esp32s3-ulp/src/rtc_io/xtal_32n_pad.rs +++ b/esp32s3-ulp/src/rtc_io/xtal_32n_pad.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn x32n_fun_ie(&mut self) -> X32N_FUN_IE_W { X32N_FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn x32n_slp_oe(&mut self) -> X32N_SLP_OE_W { X32N_SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn x32n_slp_ie(&mut self) -> X32N_SLP_IE_W { X32N_SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn x32n_slp_sel(&mut self) -> X32N_SLP_SEL_W { X32N_SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - function sel"] #[inline(always)] - #[must_use] pub fn x32n_fun_sel(&mut self) -> X32N_FUN_SEL_W { X32N_FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn x32n_mux_sel(&mut self) -> X32N_MUX_SEL_W { X32N_MUX_SEL_W::new(self, 19) } #[doc = "Bit 27 - RUE"] #[inline(always)] - #[must_use] pub fn x32n_rue(&mut self) -> X32N_RUE_W { X32N_RUE_W::new(self, 27) } #[doc = "Bit 28 - RDE"] #[inline(always)] - #[must_use] pub fn x32n_rde(&mut self) -> X32N_RDE_W { X32N_RDE_W::new(self, 28) } #[doc = "Bits 29:30 - DRV"] #[inline(always)] - #[must_use] pub fn x32n_drv(&mut self) -> X32N_DRV_W { X32N_DRV_W::new(self, 29) } diff --git a/esp32s3-ulp/src/rtc_io/xtal_32p_pad.rs b/esp32s3-ulp/src/rtc_io/xtal_32p_pad.rs index dda44697bc..ffdc77c02a 100644 --- a/esp32s3-ulp/src/rtc_io/xtal_32p_pad.rs +++ b/esp32s3-ulp/src/rtc_io/xtal_32p_pad.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn x32p_fun_ie(&mut self) -> X32P_FUN_IE_W { X32P_FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn x32p_slp_oe(&mut self) -> X32P_SLP_OE_W { X32P_SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn x32p_slp_ie(&mut self) -> X32P_SLP_IE_W { X32P_SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn x32p_slp_sel(&mut self) -> X32P_SLP_SEL_W { X32P_SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - function sel"] #[inline(always)] - #[must_use] pub fn x32p_fun_sel(&mut self) -> X32P_FUN_SEL_W { X32P_FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn x32p_mux_sel(&mut self) -> X32P_MUX_SEL_W { X32P_MUX_SEL_W::new(self, 19) } #[doc = "Bit 27 - RUE"] #[inline(always)] - #[must_use] pub fn x32p_rue(&mut self) -> X32P_RUE_W { X32P_RUE_W::new(self, 27) } #[doc = "Bit 28 - RDE"] #[inline(always)] - #[must_use] pub fn x32p_rde(&mut self) -> X32P_RDE_W { X32P_RDE_W::new(self, 28) } #[doc = "Bits 29:30 - DRV"] #[inline(always)] - #[must_use] pub fn x32p_drv(&mut self) -> X32P_DRV_W { X32P_DRV_W::new(self, 29) } diff --git a/esp32s3-ulp/src/rtc_io/xtl_ext_ctr.rs b/esp32s3-ulp/src/rtc_io/xtl_ext_ctr.rs index acfc3b25b3..b8dfc88494 100644 --- a/esp32s3-ulp/src/rtc_io/xtl_ext_ctr.rs +++ b/esp32s3-ulp/src/rtc_io/xtl_ext_ctr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 27:31 - select RTC GPIO 0 ~ 17 to control XTAL"] #[inline(always)] - #[must_use] pub fn sel(&mut self) -> SEL_W { SEL_W::new(self, 27) } diff --git a/esp32s3-ulp/src/sens/sar_cocpu_int_clr.rs b/esp32s3-ulp/src/sens/sar_cocpu_int_clr.rs index 13aa3b2545..5e49bad6ed 100644 --- a/esp32s3-ulp/src/sens/sar_cocpu_int_clr.rs +++ b/esp32s3-ulp/src/sens/sar_cocpu_int_clr.rs @@ -33,7 +33,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - int clear of touch done"] #[inline(always)] - #[must_use] pub fn sar_cocpu_touch_done_int_clr( &mut self, ) -> SAR_COCPU_TOUCH_DONE_INT_CLR_W { @@ -41,7 +40,6 @@ impl W { } #[doc = "Bit 1 - int clear of from touch inactive"] #[inline(always)] - #[must_use] pub fn sar_cocpu_touch_inactive_int_clr( &mut self, ) -> SAR_COCPU_TOUCH_INACTIVE_INT_CLR_W { @@ -49,7 +47,6 @@ impl W { } #[doc = "Bit 2 - int clear of touch active"] #[inline(always)] - #[must_use] pub fn sar_cocpu_touch_active_int_clr( &mut self, ) -> SAR_COCPU_TOUCH_ACTIVE_INT_CLR_W { @@ -57,7 +54,6 @@ impl W { } #[doc = "Bit 3 - int clear of from saradc1"] #[inline(always)] - #[must_use] pub fn sar_cocpu_saradc1_int_clr( &mut self, ) -> SAR_COCPU_SARADC1_INT_CLR_W { @@ -65,7 +61,6 @@ impl W { } #[doc = "Bit 4 - int clear of from saradc2"] #[inline(always)] - #[must_use] pub fn sar_cocpu_saradc2_int_clr( &mut self, ) -> SAR_COCPU_SARADC2_INT_CLR_W { @@ -73,31 +68,26 @@ impl W { } #[doc = "Bit 5 - int clear of tsens"] #[inline(always)] - #[must_use] pub fn sar_cocpu_tsens_int_clr(&mut self) -> SAR_COCPU_TSENS_INT_CLR_W { SAR_COCPU_TSENS_INT_CLR_W::new(self, 5) } #[doc = "Bit 6 - int clear of start"] #[inline(always)] - #[must_use] pub fn sar_cocpu_start_int_clr(&mut self) -> SAR_COCPU_START_INT_CLR_W { SAR_COCPU_START_INT_CLR_W::new(self, 6) } #[doc = "Bit 7 - int clear of software"] #[inline(always)] - #[must_use] pub fn sar_cocpu_sw_int_clr(&mut self) -> SAR_COCPU_SW_INT_CLR_W { SAR_COCPU_SW_INT_CLR_W::new(self, 7) } #[doc = "Bit 8 - int clear of super watch dog"] #[inline(always)] - #[must_use] pub fn sar_cocpu_swd_int_clr(&mut self) -> SAR_COCPU_SWD_INT_CLR_W { SAR_COCPU_SWD_INT_CLR_W::new(self, 8) } #[doc = "Bit 9 - int clear of timeout done"] #[inline(always)] - #[must_use] pub fn sar_cocpu_touch_timeout_int_clr( &mut self, ) -> SAR_COCPU_TOUCH_TIMEOUT_INT_CLR_W { @@ -105,7 +95,6 @@ impl W { } #[doc = "Bit 10 - int clear of approach loop done"] #[inline(always)] - #[must_use] pub fn sar_cocpu_touch_approach_loop_done_int_clr( &mut self, ) -> SAR_COCPU_TOUCH_APPROACH_LOOP_DONE_INT_CLR_W { @@ -113,7 +102,6 @@ impl W { } #[doc = "Bit 11 - int clear of touch scan done"] #[inline(always)] - #[must_use] pub fn sar_cocpu_touch_scan_done_int_clr( &mut self, ) -> SAR_COCPU_TOUCH_SCAN_DONE_INT_CLR_W { diff --git a/esp32s3-ulp/src/sens/sar_cocpu_int_ena.rs b/esp32s3-ulp/src/sens/sar_cocpu_int_ena.rs index 78dedbca4e..89b45f655c 100644 --- a/esp32s3-ulp/src/sens/sar_cocpu_int_ena.rs +++ b/esp32s3-ulp/src/sens/sar_cocpu_int_ena.rs @@ -160,7 +160,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - int enable of touch done"] #[inline(always)] - #[must_use] pub fn sar_cocpu_touch_done_int_ena( &mut self, ) -> SAR_COCPU_TOUCH_DONE_INT_ENA_W { @@ -168,7 +167,6 @@ impl W { } #[doc = "Bit 1 - int enable of from touch inactive"] #[inline(always)] - #[must_use] pub fn sar_cocpu_touch_inactive_int_ena( &mut self, ) -> SAR_COCPU_TOUCH_INACTIVE_INT_ENA_W { @@ -176,7 +174,6 @@ impl W { } #[doc = "Bit 2 - int enable of touch active"] #[inline(always)] - #[must_use] pub fn sar_cocpu_touch_active_int_ena( &mut self, ) -> SAR_COCPU_TOUCH_ACTIVE_INT_ENA_W { @@ -184,7 +181,6 @@ impl W { } #[doc = "Bit 3 - int enable of from saradc1"] #[inline(always)] - #[must_use] pub fn sar_cocpu_saradc1_int_ena( &mut self, ) -> SAR_COCPU_SARADC1_INT_ENA_W { @@ -192,7 +188,6 @@ impl W { } #[doc = "Bit 4 - int enable of from saradc2"] #[inline(always)] - #[must_use] pub fn sar_cocpu_saradc2_int_ena( &mut self, ) -> SAR_COCPU_SARADC2_INT_ENA_W { @@ -200,31 +195,26 @@ impl W { } #[doc = "Bit 5 - int enable of tsens"] #[inline(always)] - #[must_use] pub fn sar_cocpu_tsens_int_ena(&mut self) -> SAR_COCPU_TSENS_INT_ENA_W { SAR_COCPU_TSENS_INT_ENA_W::new(self, 5) } #[doc = "Bit 6 - int enable of start"] #[inline(always)] - #[must_use] pub fn sar_cocpu_start_int_ena(&mut self) -> SAR_COCPU_START_INT_ENA_W { SAR_COCPU_START_INT_ENA_W::new(self, 6) } #[doc = "Bit 7 - int enable of software"] #[inline(always)] - #[must_use] pub fn sar_cocpu_sw_int_ena(&mut self) -> SAR_COCPU_SW_INT_ENA_W { SAR_COCPU_SW_INT_ENA_W::new(self, 7) } #[doc = "Bit 8 - int enable of super watch dog"] #[inline(always)] - #[must_use] pub fn sar_cocpu_swd_int_ena(&mut self) -> SAR_COCPU_SWD_INT_ENA_W { SAR_COCPU_SWD_INT_ENA_W::new(self, 8) } #[doc = "Bit 9 - int enable of timeout done"] #[inline(always)] - #[must_use] pub fn sar_cocpu_touch_timeout_int_ena( &mut self, ) -> SAR_COCPU_TOUCH_TIMEOUT_INT_ENA_W { @@ -232,7 +222,6 @@ impl W { } #[doc = "Bit 10 - int enable of approach loop done"] #[inline(always)] - #[must_use] pub fn sar_cocpu_touch_approach_loop_done_int_ena( &mut self, ) -> SAR_COCPU_TOUCH_APPROACH_LOOP_DONE_INT_ENA_W { @@ -240,7 +229,6 @@ impl W { } #[doc = "Bit 11 - int enable of touch scan done"] #[inline(always)] - #[must_use] pub fn sar_cocpu_touch_scan_done_int_ena( &mut self, ) -> SAR_COCPU_TOUCH_SCAN_DONE_INT_ENA_W { diff --git a/esp32s3-ulp/src/sens/sar_i2c_ctrl.rs b/esp32s3-ulp/src/sens/sar_i2c_ctrl.rs index 5d1b0c41c1..26c5277a54 100644 --- a/esp32s3-ulp/src/sens/sar_i2c_ctrl.rs +++ b/esp32s3-ulp/src/sens/sar_i2c_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - I2C control data only active when reg_sar_i2c_start_force = 1"] #[inline(always)] - #[must_use] pub fn sar_i2c_ctrl(&mut self) -> SAR_I2C_CTRL_W { SAR_I2C_CTRL_W::new(self, 0) } #[doc = "Bit 28 - start I2C only active when reg_sar_i2c_start_force = 1"] #[inline(always)] - #[must_use] pub fn sar_i2c_start(&mut self) -> SAR_I2C_START_W { SAR_I2C_START_W::new(self, 28) } #[doc = "Bit 29 - 1: I2C started by SW 0: I2C started by FSM"] #[inline(always)] - #[must_use] pub fn sar_i2c_start_force(&mut self) -> SAR_I2C_START_FORCE_W { SAR_I2C_START_FORCE_W::new(self, 29) } diff --git a/esp32s3-ulp/src/sens/sar_slave_addr1.rs b/esp32s3-ulp/src/sens/sar_slave_addr1.rs index 2c41c0e27c..340182ae9d 100644 --- a/esp32s3-ulp/src/sens/sar_slave_addr1.rs +++ b/esp32s3-ulp/src/sens/sar_slave_addr1.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - configure i2c slave address1"] #[inline(always)] - #[must_use] pub fn sar_i2c_slave_addr1(&mut self) -> SAR_I2C_SLAVE_ADDR1_W { SAR_I2C_SLAVE_ADDR1_W::new(self, 0) } #[doc = "Bits 11:21 - configure i2c slave address0"] #[inline(always)] - #[must_use] pub fn sar_i2c_slave_addr0(&mut self) -> SAR_I2C_SLAVE_ADDR0_W { SAR_I2C_SLAVE_ADDR0_W::new(self, 11) } diff --git a/esp32s3-ulp/src/sens/sar_slave_addr2.rs b/esp32s3-ulp/src/sens/sar_slave_addr2.rs index 23064f2b03..826eefdc0c 100644 --- a/esp32s3-ulp/src/sens/sar_slave_addr2.rs +++ b/esp32s3-ulp/src/sens/sar_slave_addr2.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - configure i2c slave address3"] #[inline(always)] - #[must_use] pub fn sar_i2c_slave_addr3(&mut self) -> SAR_I2C_SLAVE_ADDR3_W { SAR_I2C_SLAVE_ADDR3_W::new(self, 0) } #[doc = "Bits 11:21 - configure i2c slave address2"] #[inline(always)] - #[must_use] pub fn sar_i2c_slave_addr2(&mut self) -> SAR_I2C_SLAVE_ADDR2_W { SAR_I2C_SLAVE_ADDR2_W::new(self, 11) } diff --git a/esp32s3-ulp/src/sens/sar_slave_addr3.rs b/esp32s3-ulp/src/sens/sar_slave_addr3.rs index 7c9d636f59..8931ebd411 100644 --- a/esp32s3-ulp/src/sens/sar_slave_addr3.rs +++ b/esp32s3-ulp/src/sens/sar_slave_addr3.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - configure i2c slave address5"] #[inline(always)] - #[must_use] pub fn sar_i2c_slave_addr5(&mut self) -> SAR_I2C_SLAVE_ADDR5_W { SAR_I2C_SLAVE_ADDR5_W::new(self, 0) } #[doc = "Bits 11:21 - configure i2c slave address4"] #[inline(always)] - #[must_use] pub fn sar_i2c_slave_addr4(&mut self) -> SAR_I2C_SLAVE_ADDR4_W { SAR_I2C_SLAVE_ADDR4_W::new(self, 11) } diff --git a/esp32s3-ulp/src/sens/sar_slave_addr4.rs b/esp32s3-ulp/src/sens/sar_slave_addr4.rs index d5c776a657..600cda2068 100644 --- a/esp32s3-ulp/src/sens/sar_slave_addr4.rs +++ b/esp32s3-ulp/src/sens/sar_slave_addr4.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - configure i2c slave address7"] #[inline(always)] - #[must_use] pub fn sar_i2c_slave_addr7(&mut self) -> SAR_I2C_SLAVE_ADDR7_W { SAR_I2C_SLAVE_ADDR7_W::new(self, 0) } #[doc = "Bits 11:21 - configure i2c slave address6"] #[inline(always)] - #[must_use] pub fn sar_i2c_slave_addr6(&mut self) -> SAR_I2C_SLAVE_ADDR6_W { SAR_I2C_SLAVE_ADDR6_W::new(self, 11) } diff --git a/esp32s3/src/aes/aad_block_num.rs b/esp32s3/src/aes/aad_block_num.rs index 69251c94d2..709b31f828 100644 --- a/esp32s3/src/aes/aad_block_num.rs +++ b/esp32s3/src/aes/aad_block_num.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits stores the number of AAD block."] #[inline(always)] - #[must_use] pub fn aad_block_num(&mut self) -> AAD_BLOCK_NUM_W { AAD_BLOCK_NUM_W::new(self, 0) } diff --git a/esp32s3/src/aes/block_mode.rs b/esp32s3/src/aes/block_mode.rs index a84a99f335..0b4efbf844 100644 --- a/esp32s3/src/aes/block_mode.rs +++ b/esp32s3/src/aes/block_mode.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - Defines the block cipher mode of the AES accelerator operating under the DMA-AES working mode. 0x0: ECB, 0x1: CBC, 0x2: OFB, 0x3: CTR, 0x4: CFB-8, 0x5: CFB-128, 0x6: reserved, 0x7: reserved."] #[inline(always)] - #[must_use] pub fn block_mode(&mut self) -> BLOCK_MODE_W { BLOCK_MODE_W::new(self, 0) } diff --git a/esp32s3/src/aes/block_num.rs b/esp32s3/src/aes/block_num.rs index 9b1e2d1721..809053226c 100644 --- a/esp32s3/src/aes/block_num.rs +++ b/esp32s3/src/aes/block_num.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stores the Block Number of plaintext or ciphertext when the AES accelerator operates under the DMA-AES working mode."] #[inline(always)] - #[must_use] pub fn block_num(&mut self) -> BLOCK_NUM_W { BLOCK_NUM_W::new(self, 0) } diff --git a/esp32s3/src/aes/continue_.rs b/esp32s3/src/aes/continue_.rs index 05f460517e..cf7b305537 100644 --- a/esp32s3/src/aes/continue_.rs +++ b/esp32s3/src/aes/continue_.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to 1 to continue GCM operation."] #[inline(always)] - #[must_use] pub fn continue_(&mut self) -> CONTINUE_W { CONTINUE_W::new(self, 0) } diff --git a/esp32s3/src/aes/date.rs b/esp32s3/src/aes/date.rs index 2b4485b861..c860c6be83 100644 --- a/esp32s3/src/aes/date.rs +++ b/esp32s3/src/aes/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - This bits stores the version information of AES."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s3/src/aes/dma_enable.rs b/esp32s3/src/aes/dma_enable.rs index 8ff9f5685b..f39731d5d3 100644 --- a/esp32s3/src/aes/dma_enable.rs +++ b/esp32s3/src/aes/dma_enable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Defines the working mode of the AES accelerator. 1'b0: typical AES working mode, 1'b1: DMA-AES working mode."] #[inline(always)] - #[must_use] pub fn dma_enable(&mut self) -> DMA_ENABLE_W { DMA_ENABLE_W::new(self, 0) } diff --git a/esp32s3/src/aes/dma_exit.rs b/esp32s3/src/aes/dma_exit.rs index ce69d113a8..c81d2613b4 100644 --- a/esp32s3/src/aes/dma_exit.rs +++ b/esp32s3/src/aes/dma_exit.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to 1 to exit AES operation. This field is only effective for DMA-AES operation."] #[inline(always)] - #[must_use] pub fn dma_exit(&mut self) -> DMA_EXIT_W { DMA_EXIT_W::new(self, 0) } diff --git a/esp32s3/src/aes/inc_sel.rs b/esp32s3/src/aes/inc_sel.rs index bb0f756bdd..b0e06b4586 100644 --- a/esp32s3/src/aes/inc_sel.rs +++ b/esp32s3/src/aes/inc_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Defines the Standard Incrementing Function for CTR block operation. Set this bit to 0 or 1 to choose INC32 or INC128."] #[inline(always)] - #[must_use] pub fn inc_sel(&mut self) -> INC_SEL_W { INC_SEL_W::new(self, 0) } diff --git a/esp32s3/src/aes/int_clr.rs b/esp32s3/src/aes/int_clr.rs index c5a1fc0395..6385beb246 100644 --- a/esp32s3/src/aes/int_clr.rs +++ b/esp32s3/src/aes/int_clr.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to 1 to clear AES interrupt."] #[inline(always)] - #[must_use] pub fn int_clr(&mut self) -> INT_CLR_W { INT_CLR_W::new(self, 0) } diff --git a/esp32s3/src/aes/int_ena.rs b/esp32s3/src/aes/int_ena.rs index 7e41ca7506..4aef394f2e 100644 --- a/esp32s3/src/aes/int_ena.rs +++ b/esp32s3/src/aes/int_ena.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to 1 to enable AES interrupt and 0 to disable interrupt. This field is only effective for DMA-AES operation."] #[inline(always)] - #[must_use] pub fn int_ena(&mut self) -> INT_ENA_W { INT_ENA_W::new(self, 0) } diff --git a/esp32s3/src/aes/key.rs b/esp32s3/src/aes/key.rs index 807bd5088c..9b19d6f124 100644 --- a/esp32s3/src/aes/key.rs +++ b/esp32s3/src/aes/key.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stores AES keys."] #[inline(always)] - #[must_use] pub fn key(&mut self) -> KEY_W { KEY_W::new(self, 0) } diff --git a/esp32s3/src/aes/mode.rs b/esp32s3/src/aes/mode.rs index 26f252f07e..6d8c7122de 100644 --- a/esp32s3/src/aes/mode.rs +++ b/esp32s3/src/aes/mode.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - Defines the key length and the encryption/decryption of the AES accelerator."] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 0) } diff --git a/esp32s3/src/aes/remainder_bit_num.rs b/esp32s3/src/aes/remainder_bit_num.rs index c2a124ab9e..3f20adbc9f 100644 --- a/esp32s3/src/aes/remainder_bit_num.rs +++ b/esp32s3/src/aes/remainder_bit_num.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Those bits stores the number of remainder bit."] #[inline(always)] - #[must_use] pub fn remainder_bit_num(&mut self) -> REMAINDER_BIT_NUM_W { REMAINDER_BIT_NUM_W::new(self, 0) } diff --git a/esp32s3/src/aes/text_in.rs b/esp32s3/src/aes/text_in.rs index eaa69ee033..9717e2e6e1 100644 --- a/esp32s3/src/aes/text_in.rs +++ b/esp32s3/src/aes/text_in.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stores the source data when the AES accelerator operates in the Typical AES working mode."] #[inline(always)] - #[must_use] pub fn text_in(&mut self) -> TEXT_IN_W { TEXT_IN_W::new(self, 0) } diff --git a/esp32s3/src/aes/text_out.rs b/esp32s3/src/aes/text_out.rs index e4c6b3463b..2fd3a65e73 100644 --- a/esp32s3/src/aes/text_out.rs +++ b/esp32s3/src/aes/text_out.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stores the result data when the AES accelerator operates in the Typical AES working mode."] #[inline(always)] - #[must_use] pub fn text_out(&mut self) -> TEXT_OUT_W { TEXT_OUT_W::new(self, 0) } diff --git a/esp32s3/src/aes/trigger.rs b/esp32s3/src/aes/trigger.rs index a5fe4605d4..f5109ee10e 100644 --- a/esp32s3/src/aes/trigger.rs +++ b/esp32s3/src/aes/trigger.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to 1 to start AES calculation."] #[inline(always)] - #[must_use] pub fn trigger(&mut self) -> TRIGGER_W { TRIGGER_W::new(self, 0) } diff --git a/esp32s3/src/apb_ctrl/clk_out_en.rs b/esp32s3/src/apb_ctrl/clk_out_en.rs index 972e4029c5..76d07c65fd 100644 --- a/esp32s3/src/apb_ctrl/clk_out_en.rs +++ b/esp32s3/src/apb_ctrl/clk_out_en.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn clk20_oen(&mut self) -> CLK20_OEN_W { CLK20_OEN_W::new(self, 0) } #[doc = "Bit 1 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn clk22_oen(&mut self) -> CLK22_OEN_W { CLK22_OEN_W::new(self, 1) } #[doc = "Bit 2 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn clk44_oen(&mut self) -> CLK44_OEN_W { CLK44_OEN_W::new(self, 2) } #[doc = "Bit 3 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn clk_bb_oen(&mut self) -> CLK_BB_OEN_W { CLK_BB_OEN_W::new(self, 3) } #[doc = "Bit 4 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn clk80_oen(&mut self) -> CLK80_OEN_W { CLK80_OEN_W::new(self, 4) } #[doc = "Bit 5 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn clk160_oen(&mut self) -> CLK160_OEN_W { CLK160_OEN_W::new(self, 5) } #[doc = "Bit 6 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn clk_320m_oen(&mut self) -> CLK_320M_OEN_W { CLK_320M_OEN_W::new(self, 6) } #[doc = "Bit 7 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn clk_adc_inf_oen(&mut self) -> CLK_ADC_INF_OEN_W { CLK_ADC_INF_OEN_W::new(self, 7) } #[doc = "Bit 8 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn clk_dac_cpu_oen(&mut self) -> CLK_DAC_CPU_OEN_W { CLK_DAC_CPU_OEN_W::new(self, 8) } #[doc = "Bit 9 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn clk40x_bb_oen(&mut self) -> CLK40X_BB_OEN_W { CLK40X_BB_OEN_W::new(self, 9) } #[doc = "Bit 10 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn clk_xtal_oen(&mut self) -> CLK_XTAL_OEN_W { CLK_XTAL_OEN_W::new(self, 10) } diff --git a/esp32s3/src/apb_ctrl/clkgate_force_on.rs b/esp32s3/src/apb_ctrl/clkgate_force_on.rs index e5aaac236d..c61b40a10c 100644 --- a/esp32s3/src/apb_ctrl/clkgate_force_on.rs +++ b/esp32s3/src/apb_ctrl/clkgate_force_on.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn rom_clkgate_force_on(&mut self) -> ROM_CLKGATE_FORCE_ON_W { ROM_CLKGATE_FORCE_ON_W::new(self, 0) } #[doc = "Bits 3:13 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn sram_clkgate_force_on(&mut self) -> SRAM_CLKGATE_FORCE_ON_W { SRAM_CLKGATE_FORCE_ON_W::new(self, 3) } diff --git a/esp32s3/src/apb_ctrl/date.rs b/esp32s3/src/apb_ctrl/date.rs index 1f3facbc7a..dc545f0439 100644 --- a/esp32s3/src/apb_ctrl/date.rs +++ b/esp32s3/src/apb_ctrl/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Version control"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s3/src/apb_ctrl/ext_mem_pms_lock.rs b/esp32s3/src/apb_ctrl/ext_mem_pms_lock.rs index fe3e5cd396..3b37fae8d1 100644 --- a/esp32s3/src/apb_ctrl/ext_mem_pms_lock.rs +++ b/esp32s3/src/apb_ctrl/ext_mem_pms_lock.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn ext_mem_pms_lock(&mut self) -> EXT_MEM_PMS_LOCK_W { EXT_MEM_PMS_LOCK_W::new(self, 0) } diff --git a/esp32s3/src/apb_ctrl/ext_mem_writeback_bypass.rs b/esp32s3/src/apb_ctrl/ext_mem_writeback_bypass.rs index 191aac7d45..730098428a 100644 --- a/esp32s3/src/apb_ctrl/ext_mem_writeback_bypass.rs +++ b/esp32s3/src/apb_ctrl/ext_mem_writeback_bypass.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to bypass cache writeback request to external memory so that spi will not check its attribute."] #[inline(always)] - #[must_use] pub fn writeback_bypass(&mut self) -> WRITEBACK_BYPASS_W { WRITEBACK_BYPASS_W::new(self, 0) } diff --git a/esp32s3/src/apb_ctrl/flash_ace0_addr.rs b/esp32s3/src/apb_ctrl/flash_ace0_addr.rs index e528fe34b3..a05d28a184 100644 --- a/esp32s3/src/apb_ctrl/flash_ace0_addr.rs +++ b/esp32s3/src/apb_ctrl/flash_ace0_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn s(&mut self) -> S_W { S_W::new(self, 0) } diff --git a/esp32s3/src/apb_ctrl/flash_ace0_attr.rs b/esp32s3/src/apb_ctrl/flash_ace0_attr.rs index 30769a57c4..b60b6633d4 100644 --- a/esp32s3/src/apb_ctrl/flash_ace0_attr.rs +++ b/esp32s3/src/apb_ctrl/flash_ace0_attr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn flash_ace0_attr(&mut self) -> FLASH_ACE0_ATTR_W { FLASH_ACE0_ATTR_W::new(self, 0) } diff --git a/esp32s3/src/apb_ctrl/flash_ace0_size.rs b/esp32s3/src/apb_ctrl/flash_ace0_size.rs index c1c4043f12..069bc2f9de 100644 --- a/esp32s3/src/apb_ctrl/flash_ace0_size.rs +++ b/esp32s3/src/apb_ctrl/flash_ace0_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn flash_ace0_size(&mut self) -> FLASH_ACE0_SIZE_W { FLASH_ACE0_SIZE_W::new(self, 0) } diff --git a/esp32s3/src/apb_ctrl/flash_ace1_addr.rs b/esp32s3/src/apb_ctrl/flash_ace1_addr.rs index 6edf0e50d9..8f25efdf51 100644 --- a/esp32s3/src/apb_ctrl/flash_ace1_addr.rs +++ b/esp32s3/src/apb_ctrl/flash_ace1_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn s(&mut self) -> S_W { S_W::new(self, 0) } diff --git a/esp32s3/src/apb_ctrl/flash_ace1_attr.rs b/esp32s3/src/apb_ctrl/flash_ace1_attr.rs index 6206c4c13e..d9ea5bc668 100644 --- a/esp32s3/src/apb_ctrl/flash_ace1_attr.rs +++ b/esp32s3/src/apb_ctrl/flash_ace1_attr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn flash_ace1_attr(&mut self) -> FLASH_ACE1_ATTR_W { FLASH_ACE1_ATTR_W::new(self, 0) } diff --git a/esp32s3/src/apb_ctrl/flash_ace1_size.rs b/esp32s3/src/apb_ctrl/flash_ace1_size.rs index ccd0c3452f..8e6aa0e2cf 100644 --- a/esp32s3/src/apb_ctrl/flash_ace1_size.rs +++ b/esp32s3/src/apb_ctrl/flash_ace1_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn flash_ace1_size(&mut self) -> FLASH_ACE1_SIZE_W { FLASH_ACE1_SIZE_W::new(self, 0) } diff --git a/esp32s3/src/apb_ctrl/flash_ace2_addr.rs b/esp32s3/src/apb_ctrl/flash_ace2_addr.rs index 29d7a5c063..1cff867793 100644 --- a/esp32s3/src/apb_ctrl/flash_ace2_addr.rs +++ b/esp32s3/src/apb_ctrl/flash_ace2_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn s(&mut self) -> S_W { S_W::new(self, 0) } diff --git a/esp32s3/src/apb_ctrl/flash_ace2_attr.rs b/esp32s3/src/apb_ctrl/flash_ace2_attr.rs index 10839a5b8b..cc97aec7a2 100644 --- a/esp32s3/src/apb_ctrl/flash_ace2_attr.rs +++ b/esp32s3/src/apb_ctrl/flash_ace2_attr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn flash_ace2_attr(&mut self) -> FLASH_ACE2_ATTR_W { FLASH_ACE2_ATTR_W::new(self, 0) } diff --git a/esp32s3/src/apb_ctrl/flash_ace2_size.rs b/esp32s3/src/apb_ctrl/flash_ace2_size.rs index e6d3b59901..613f43aa4f 100644 --- a/esp32s3/src/apb_ctrl/flash_ace2_size.rs +++ b/esp32s3/src/apb_ctrl/flash_ace2_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn flash_ace2_size(&mut self) -> FLASH_ACE2_SIZE_W { FLASH_ACE2_SIZE_W::new(self, 0) } diff --git a/esp32s3/src/apb_ctrl/flash_ace3_addr.rs b/esp32s3/src/apb_ctrl/flash_ace3_addr.rs index e493744e24..7ab7a90441 100644 --- a/esp32s3/src/apb_ctrl/flash_ace3_addr.rs +++ b/esp32s3/src/apb_ctrl/flash_ace3_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn s(&mut self) -> S_W { S_W::new(self, 0) } diff --git a/esp32s3/src/apb_ctrl/flash_ace3_attr.rs b/esp32s3/src/apb_ctrl/flash_ace3_attr.rs index ee603c1636..ca95a0963a 100644 --- a/esp32s3/src/apb_ctrl/flash_ace3_attr.rs +++ b/esp32s3/src/apb_ctrl/flash_ace3_attr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn flash_ace3_attr(&mut self) -> FLASH_ACE3_ATTR_W { FLASH_ACE3_ATTR_W::new(self, 0) } diff --git a/esp32s3/src/apb_ctrl/flash_ace3_size.rs b/esp32s3/src/apb_ctrl/flash_ace3_size.rs index 25723d971e..bbcf1dc1ec 100644 --- a/esp32s3/src/apb_ctrl/flash_ace3_size.rs +++ b/esp32s3/src/apb_ctrl/flash_ace3_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn flash_ace3_size(&mut self) -> FLASH_ACE3_SIZE_W { FLASH_ACE3_SIZE_W::new(self, 0) } diff --git a/esp32s3/src/apb_ctrl/front_end_mem_pd.rs b/esp32s3/src/apb_ctrl/front_end_mem_pd.rs index 925d272d1f..55c575fe97 100644 --- a/esp32s3/src/apb_ctrl/front_end_mem_pd.rs +++ b/esp32s3/src/apb_ctrl/front_end_mem_pd.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn agc_mem_force_pu(&mut self) -> AGC_MEM_FORCE_PU_W { AGC_MEM_FORCE_PU_W::new(self, 0) } #[doc = "Bit 1 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn agc_mem_force_pd(&mut self) -> AGC_MEM_FORCE_PD_W { AGC_MEM_FORCE_PD_W::new(self, 1) } #[doc = "Bit 2 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn pbus_mem_force_pu(&mut self) -> PBUS_MEM_FORCE_PU_W { PBUS_MEM_FORCE_PU_W::new(self, 2) } #[doc = "Bit 3 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn pbus_mem_force_pd(&mut self) -> PBUS_MEM_FORCE_PD_W { PBUS_MEM_FORCE_PD_W::new(self, 3) } #[doc = "Bit 4 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn dc_mem_force_pu(&mut self) -> DC_MEM_FORCE_PU_W { DC_MEM_FORCE_PU_W::new(self, 4) } #[doc = "Bit 5 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn dc_mem_force_pd(&mut self) -> DC_MEM_FORCE_PD_W { DC_MEM_FORCE_PD_W::new(self, 5) } #[doc = "Bit 6 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn freq_mem_force_pu(&mut self) -> FREQ_MEM_FORCE_PU_W { FREQ_MEM_FORCE_PU_W::new(self, 6) } #[doc = "Bit 7 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn freq_mem_force_pd(&mut self) -> FREQ_MEM_FORCE_PD_W { FREQ_MEM_FORCE_PD_W::new(self, 7) } diff --git a/esp32s3/src/apb_ctrl/host_inf_sel.rs b/esp32s3/src/apb_ctrl/host_inf_sel.rs index be642937e3..c2473f9983 100644 --- a/esp32s3/src/apb_ctrl/host_inf_sel.rs +++ b/esp32s3/src/apb_ctrl/host_inf_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn peri_io_swap(&mut self) -> PERI_IO_SWAP_W { PERI_IO_SWAP_W::new(self, 0) } diff --git a/esp32s3/src/apb_ctrl/mem_power_down.rs b/esp32s3/src/apb_ctrl/mem_power_down.rs index 841504dfce..a467678ff1 100644 --- a/esp32s3/src/apb_ctrl/mem_power_down.rs +++ b/esp32s3/src/apb_ctrl/mem_power_down.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn rom_power_down(&mut self) -> ROM_POWER_DOWN_W { ROM_POWER_DOWN_W::new(self, 0) } #[doc = "Bits 3:13 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn sram_power_down(&mut self) -> SRAM_POWER_DOWN_W { SRAM_POWER_DOWN_W::new(self, 3) } diff --git a/esp32s3/src/apb_ctrl/mem_power_up.rs b/esp32s3/src/apb_ctrl/mem_power_up.rs index 696ebc48c6..fe2df0bc5f 100644 --- a/esp32s3/src/apb_ctrl/mem_power_up.rs +++ b/esp32s3/src/apb_ctrl/mem_power_up.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn rom_power_up(&mut self) -> ROM_POWER_UP_W { ROM_POWER_UP_W::new(self, 0) } #[doc = "Bits 3:13 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn sram_power_up(&mut self) -> SRAM_POWER_UP_W { SRAM_POWER_UP_W::new(self, 3) } diff --git a/esp32s3/src/apb_ctrl/redcy_sig0.rs b/esp32s3/src/apb_ctrl/redcy_sig0.rs index 4a9277bbe5..a2771f998a 100644 --- a/esp32s3/src/apb_ctrl/redcy_sig0.rs +++ b/esp32s3/src/apb_ctrl/redcy_sig0.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn redcy_sig0(&mut self) -> REDCY_SIG0_W { REDCY_SIG0_W::new(self, 0) } diff --git a/esp32s3/src/apb_ctrl/redcy_sig1.rs b/esp32s3/src/apb_ctrl/redcy_sig1.rs index 546c91acc8..f91104bcca 100644 --- a/esp32s3/src/apb_ctrl/redcy_sig1.rs +++ b/esp32s3/src/apb_ctrl/redcy_sig1.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:30 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn redcy_sig1(&mut self) -> REDCY_SIG1_W { REDCY_SIG1_W::new(self, 0) } diff --git a/esp32s3/src/apb_ctrl/retention_ctrl.rs b/esp32s3/src/apb_ctrl/retention_ctrl.rs index 8e02f7e330..c44f15a563 100644 --- a/esp32s3/src/apb_ctrl/retention_ctrl.rs +++ b/esp32s3/src/apb_ctrl/retention_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:26 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn retention_cpu_link_addr(&mut self) -> RETENTION_CPU_LINK_ADDR_W { RETENTION_CPU_LINK_ADDR_W::new(self, 0) } #[doc = "Bit 27 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn nobypass_cpu_iso_rst(&mut self) -> NOBYPASS_CPU_ISO_RST_W { NOBYPASS_CPU_ISO_RST_W::new(self, 27) } diff --git a/esp32s3/src/apb_ctrl/retention_ctrl1.rs b/esp32s3/src/apb_ctrl/retention_ctrl1.rs index e6103ad1bd..35fe5973aa 100644 --- a/esp32s3/src/apb_ctrl/retention_ctrl1.rs +++ b/esp32s3/src/apb_ctrl/retention_ctrl1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:26 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn retention_tag_link_addr(&mut self) -> RETENTION_TAG_LINK_ADDR_W { RETENTION_TAG_LINK_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/apb_ctrl/retention_ctrl2.rs b/esp32s3/src/apb_ctrl/retention_ctrl2.rs index 64a9141f2b..bed975b882 100644 --- a/esp32s3/src/apb_ctrl/retention_ctrl2.rs +++ b/esp32s3/src/apb_ctrl/retention_ctrl2.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 4:11 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn ret_icache_size(&mut self) -> RET_ICACHE_SIZE_W { RET_ICACHE_SIZE_W::new(self, 4) } #[doc = "Bits 13:20 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn ret_icache_vld_size(&mut self) -> RET_ICACHE_VLD_SIZE_W { RET_ICACHE_VLD_SIZE_W::new(self, 13) } #[doc = "Bits 22:29 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn ret_icache_start_point(&mut self) -> RET_ICACHE_START_POINT_W { RET_ICACHE_START_POINT_W::new(self, 22) } #[doc = "Bit 31 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn ret_icache_enable(&mut self) -> RET_ICACHE_ENABLE_W { RET_ICACHE_ENABLE_W::new(self, 31) } diff --git a/esp32s3/src/apb_ctrl/retention_ctrl3.rs b/esp32s3/src/apb_ctrl/retention_ctrl3.rs index beb483596f..2f38972ccc 100644 --- a/esp32s3/src/apb_ctrl/retention_ctrl3.rs +++ b/esp32s3/src/apb_ctrl/retention_ctrl3.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 4:12 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn ret_dcache_size(&mut self) -> RET_DCACHE_SIZE_W { RET_DCACHE_SIZE_W::new(self, 4) } #[doc = "Bits 13:21 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn ret_dcache_vld_size(&mut self) -> RET_DCACHE_VLD_SIZE_W { RET_DCACHE_VLD_SIZE_W::new(self, 13) } #[doc = "Bits 22:30 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn ret_dcache_start_point(&mut self) -> RET_DCACHE_START_POINT_W { RET_DCACHE_START_POINT_W::new(self, 22) } #[doc = "Bit 31 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn ret_dcache_enable(&mut self) -> RET_DCACHE_ENABLE_W { RET_DCACHE_ENABLE_W::new(self, 31) } diff --git a/esp32s3/src/apb_ctrl/retention_ctrl4.rs b/esp32s3/src/apb_ctrl/retention_ctrl4.rs index e0794c0b55..1fe2a259b1 100644 --- a/esp32s3/src/apb_ctrl/retention_ctrl4.rs +++ b/esp32s3/src/apb_ctrl/retention_ctrl4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn retention_inv_cfg(&mut self) -> RETENTION_INV_CFG_W { RETENTION_INV_CFG_W::new(self, 0) } diff --git a/esp32s3/src/apb_ctrl/retention_ctrl5.rs b/esp32s3/src/apb_ctrl/retention_ctrl5.rs index 3824f822f8..ff4c00937b 100644 --- a/esp32s3/src/apb_ctrl/retention_ctrl5.rs +++ b/esp32s3/src/apb_ctrl/retention_ctrl5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn retention_disable(&mut self) -> RETENTION_DISABLE_W { RETENTION_DISABLE_W::new(self, 0) } diff --git a/esp32s3/src/apb_ctrl/sdio_ctrl.rs b/esp32s3/src/apb_ctrl/sdio_ctrl.rs index cfce8aea18..e32740d657 100644 --- a/esp32s3/src/apb_ctrl/sdio_ctrl.rs +++ b/esp32s3/src/apb_ctrl/sdio_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn sdio_win_access_en(&mut self) -> SDIO_WIN_ACCESS_EN_W { SDIO_WIN_ACCESS_EN_W::new(self, 0) } diff --git a/esp32s3/src/apb_ctrl/spi_mem_ecc_ctrl.rs b/esp32s3/src/apb_ctrl/spi_mem_ecc_ctrl.rs index 9f3e40984e..debd4a8efc 100644 --- a/esp32s3/src/apb_ctrl/spi_mem_ecc_ctrl.rs +++ b/esp32s3/src/apb_ctrl/spi_mem_ecc_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 18:19 - Set the page size of the used MSPI flash. 0: 256 bytes. 1: 512 bytes. 2: 1024 bytes. 3: 2048 bytes."] #[inline(always)] - #[must_use] pub fn flash_page_size(&mut self) -> FLASH_PAGE_SIZE_W { FLASH_PAGE_SIZE_W::new(self, 18) } #[doc = "Bits 20:21 - Set the page size of the used MSPI external RAM. 0: 256 bytes. 1: 512 bytes. 2: 1024 bytes. 3: 2048 bytes."] #[inline(always)] - #[must_use] pub fn sram_page_size(&mut self) -> SRAM_PAGE_SIZE_W { SRAM_PAGE_SIZE_W::new(self, 20) } diff --git a/esp32s3/src/apb_ctrl/spi_mem_pms_ctrl.rs b/esp32s3/src/apb_ctrl/spi_mem_pms_ctrl.rs index ae8c8b9e2d..d91ef5ac69 100644 --- a/esp32s3/src/apb_ctrl/spi_mem_pms_ctrl.rs +++ b/esp32s3/src/apb_ctrl/spi_mem_pms_ctrl.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn spi_mem_reject_clr(&mut self) -> SPI_MEM_REJECT_CLR_W { SPI_MEM_REJECT_CLR_W::new(self, 1) } diff --git a/esp32s3/src/apb_ctrl/sram_ace0_addr.rs b/esp32s3/src/apb_ctrl/sram_ace0_addr.rs index 1f723d5cfc..366bee17a3 100644 --- a/esp32s3/src/apb_ctrl/sram_ace0_addr.rs +++ b/esp32s3/src/apb_ctrl/sram_ace0_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn s(&mut self) -> S_W { S_W::new(self, 0) } diff --git a/esp32s3/src/apb_ctrl/sram_ace0_attr.rs b/esp32s3/src/apb_ctrl/sram_ace0_attr.rs index ecefa02fd2..8f850d1d9d 100644 --- a/esp32s3/src/apb_ctrl/sram_ace0_attr.rs +++ b/esp32s3/src/apb_ctrl/sram_ace0_attr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn sram_ace0_attr(&mut self) -> SRAM_ACE0_ATTR_W { SRAM_ACE0_ATTR_W::new(self, 0) } diff --git a/esp32s3/src/apb_ctrl/sram_ace0_size.rs b/esp32s3/src/apb_ctrl/sram_ace0_size.rs index 1d754be092..a61b3afd20 100644 --- a/esp32s3/src/apb_ctrl/sram_ace0_size.rs +++ b/esp32s3/src/apb_ctrl/sram_ace0_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn sram_ace0_size(&mut self) -> SRAM_ACE0_SIZE_W { SRAM_ACE0_SIZE_W::new(self, 0) } diff --git a/esp32s3/src/apb_ctrl/sram_ace1_addr.rs b/esp32s3/src/apb_ctrl/sram_ace1_addr.rs index 9b99139383..d5b26171ce 100644 --- a/esp32s3/src/apb_ctrl/sram_ace1_addr.rs +++ b/esp32s3/src/apb_ctrl/sram_ace1_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn s(&mut self) -> S_W { S_W::new(self, 0) } diff --git a/esp32s3/src/apb_ctrl/sram_ace1_attr.rs b/esp32s3/src/apb_ctrl/sram_ace1_attr.rs index 74c3ceb7c1..b75ec4806f 100644 --- a/esp32s3/src/apb_ctrl/sram_ace1_attr.rs +++ b/esp32s3/src/apb_ctrl/sram_ace1_attr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn sram_ace1_attr(&mut self) -> SRAM_ACE1_ATTR_W { SRAM_ACE1_ATTR_W::new(self, 0) } diff --git a/esp32s3/src/apb_ctrl/sram_ace1_size.rs b/esp32s3/src/apb_ctrl/sram_ace1_size.rs index c2515c870c..646adb977d 100644 --- a/esp32s3/src/apb_ctrl/sram_ace1_size.rs +++ b/esp32s3/src/apb_ctrl/sram_ace1_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn sram_ace1_size(&mut self) -> SRAM_ACE1_SIZE_W { SRAM_ACE1_SIZE_W::new(self, 0) } diff --git a/esp32s3/src/apb_ctrl/sram_ace2_addr.rs b/esp32s3/src/apb_ctrl/sram_ace2_addr.rs index 171fe8058d..56f7fed5b6 100644 --- a/esp32s3/src/apb_ctrl/sram_ace2_addr.rs +++ b/esp32s3/src/apb_ctrl/sram_ace2_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn s(&mut self) -> S_W { S_W::new(self, 0) } diff --git a/esp32s3/src/apb_ctrl/sram_ace2_attr.rs b/esp32s3/src/apb_ctrl/sram_ace2_attr.rs index be3012015c..1157a3bb9c 100644 --- a/esp32s3/src/apb_ctrl/sram_ace2_attr.rs +++ b/esp32s3/src/apb_ctrl/sram_ace2_attr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn sram_ace2_attr(&mut self) -> SRAM_ACE2_ATTR_W { SRAM_ACE2_ATTR_W::new(self, 0) } diff --git a/esp32s3/src/apb_ctrl/sram_ace2_size.rs b/esp32s3/src/apb_ctrl/sram_ace2_size.rs index d5f30f6985..a7daec90ba 100644 --- a/esp32s3/src/apb_ctrl/sram_ace2_size.rs +++ b/esp32s3/src/apb_ctrl/sram_ace2_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn sram_ace2_size(&mut self) -> SRAM_ACE2_SIZE_W { SRAM_ACE2_SIZE_W::new(self, 0) } diff --git a/esp32s3/src/apb_ctrl/sram_ace3_addr.rs b/esp32s3/src/apb_ctrl/sram_ace3_addr.rs index ca24fb22c3..6658c742b8 100644 --- a/esp32s3/src/apb_ctrl/sram_ace3_addr.rs +++ b/esp32s3/src/apb_ctrl/sram_ace3_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn s(&mut self) -> S_W { S_W::new(self, 0) } diff --git a/esp32s3/src/apb_ctrl/sram_ace3_attr.rs b/esp32s3/src/apb_ctrl/sram_ace3_attr.rs index e0d30026e5..15bd0427e2 100644 --- a/esp32s3/src/apb_ctrl/sram_ace3_attr.rs +++ b/esp32s3/src/apb_ctrl/sram_ace3_attr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn sram_ace3_attr(&mut self) -> SRAM_ACE3_ATTR_W { SRAM_ACE3_ATTR_W::new(self, 0) } diff --git a/esp32s3/src/apb_ctrl/sram_ace3_size.rs b/esp32s3/src/apb_ctrl/sram_ace3_size.rs index 918887c392..81109d54d1 100644 --- a/esp32s3/src/apb_ctrl/sram_ace3_size.rs +++ b/esp32s3/src/apb_ctrl/sram_ace3_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn sram_ace3_size(&mut self) -> SRAM_ACE3_SIZE_W { SRAM_ACE3_SIZE_W::new(self, 0) } diff --git a/esp32s3/src/apb_ctrl/sysclk_conf.rs b/esp32s3/src/apb_ctrl/sysclk_conf.rs index 1353569b6b..681e74381d 100644 --- a/esp32s3/src/apb_ctrl/sysclk_conf.rs +++ b/esp32s3/src/apb_ctrl/sysclk_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn pre_div_cnt(&mut self) -> PRE_DIV_CNT_W { PRE_DIV_CNT_W::new(self, 0) } #[doc = "Bit 10 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn clk_320m_en(&mut self) -> CLK_320M_EN_W { CLK_320M_EN_W::new(self, 10) } #[doc = "Bit 11 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 11) } #[doc = "Bit 12 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn rst_tick_cnt(&mut self) -> RST_TICK_CNT_W { RST_TICK_CNT_W::new(self, 12) } diff --git a/esp32s3/src/apb_ctrl/tick_conf.rs b/esp32s3/src/apb_ctrl/tick_conf.rs index 5763e25286..d31c0923cb 100644 --- a/esp32s3/src/apb_ctrl/tick_conf.rs +++ b/esp32s3/src/apb_ctrl/tick_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn xtal_tick_num(&mut self) -> XTAL_TICK_NUM_W { XTAL_TICK_NUM_W::new(self, 0) } #[doc = "Bits 8:15 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn ck8m_tick_num(&mut self) -> CK8M_TICK_NUM_W { CK8M_TICK_NUM_W::new(self, 8) } #[doc = "Bit 16 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn tick_enable(&mut self) -> TICK_ENABLE_W { TICK_ENABLE_W::new(self, 16) } diff --git a/esp32s3/src/apb_ctrl/wifi_bb_cfg.rs b/esp32s3/src/apb_ctrl/wifi_bb_cfg.rs index 4a51ba2f81..e275cbc9e4 100644 --- a/esp32s3/src/apb_ctrl/wifi_bb_cfg.rs +++ b/esp32s3/src/apb_ctrl/wifi_bb_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn wifi_bb_cfg(&mut self) -> WIFI_BB_CFG_W { WIFI_BB_CFG_W::new(self, 0) } diff --git a/esp32s3/src/apb_ctrl/wifi_bb_cfg_2.rs b/esp32s3/src/apb_ctrl/wifi_bb_cfg_2.rs index e34c25e775..50227c637c 100644 --- a/esp32s3/src/apb_ctrl/wifi_bb_cfg_2.rs +++ b/esp32s3/src/apb_ctrl/wifi_bb_cfg_2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn wifi_bb_cfg_2(&mut self) -> WIFI_BB_CFG_2_W { WIFI_BB_CFG_2_W::new(self, 0) } diff --git a/esp32s3/src/apb_ctrl/wifi_clk_en.rs b/esp32s3/src/apb_ctrl/wifi_clk_en.rs index 1e2e078012..3ca0b94450 100644 --- a/esp32s3/src/apb_ctrl/wifi_clk_en.rs +++ b/esp32s3/src/apb_ctrl/wifi_clk_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn wifi_clk_en(&mut self) -> WIFI_CLK_EN_W { WIFI_CLK_EN_W::new(self, 0) } diff --git a/esp32s3/src/apb_ctrl/wifi_rst_en.rs b/esp32s3/src/apb_ctrl/wifi_rst_en.rs index 6963ed6c6c..df87c5d8b1 100644 --- a/esp32s3/src/apb_ctrl/wifi_rst_en.rs +++ b/esp32s3/src/apb_ctrl/wifi_rst_en.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn wifi_rst(&mut self) -> WIFI_RST_W { WIFI_RST_W::new(self, 0) } diff --git a/esp32s3/src/apb_saradc/arb_ctrl.rs b/esp32s3/src/apb_saradc/arb_ctrl.rs index 647deb1e15..e771eab0a6 100644 --- a/esp32s3/src/apb_saradc/arb_ctrl.rs +++ b/esp32s3/src/apb_saradc/arb_ctrl.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - adc2 arbiter force to enableapb controller"] #[inline(always)] - #[must_use] pub fn apb_force(&mut self) -> APB_FORCE_W { APB_FORCE_W::new(self, 2) } #[doc = "Bit 3 - adc2 arbiter force to enable rtc controller"] #[inline(always)] - #[must_use] pub fn rtc_force(&mut self) -> RTC_FORCE_W { RTC_FORCE_W::new(self, 3) } #[doc = "Bit 4 - adc2 arbiter force to enable wifi controller"] #[inline(always)] - #[must_use] pub fn wifi_force(&mut self) -> WIFI_FORCE_W { WIFI_FORCE_W::new(self, 4) } #[doc = "Bit 5 - adc2 arbiter force grant"] #[inline(always)] - #[must_use] pub fn grant_force(&mut self) -> GRANT_FORCE_W { GRANT_FORCE_W::new(self, 5) } #[doc = "Bits 6:7 - Set adc2 arbiterapb priority"] #[inline(always)] - #[must_use] pub fn apb_priority(&mut self) -> APB_PRIORITY_W { APB_PRIORITY_W::new(self, 6) } #[doc = "Bits 8:9 - Set adc2 arbiter rtc priority"] #[inline(always)] - #[must_use] pub fn rtc_priority(&mut self) -> RTC_PRIORITY_W { RTC_PRIORITY_W::new(self, 8) } #[doc = "Bits 10:11 - Set adc2 arbiter wifi priority"] #[inline(always)] - #[must_use] pub fn wifi_priority(&mut self) -> WIFI_PRIORITY_W { WIFI_PRIORITY_W::new(self, 10) } #[doc = "Bit 12 - adc2 arbiter uses fixed priority"] #[inline(always)] - #[must_use] pub fn fix_priority(&mut self) -> FIX_PRIORITY_W { FIX_PRIORITY_W::new(self, 12) } diff --git a/esp32s3/src/apb_saradc/clkm_conf.rs b/esp32s3/src/apb_saradc/clkm_conf.rs index b1c46dee71..ccbd9a656e 100644 --- a/esp32s3/src/apb_saradc/clkm_conf.rs +++ b/esp32s3/src/apb_saradc/clkm_conf.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Integral clock divider value"] #[inline(always)] - #[must_use] pub fn clkm_div_num(&mut self) -> CLKM_DIV_NUM_W { CLKM_DIV_NUM_W::new(self, 0) } #[doc = "Bits 8:13 - Fractional clock divider numerator value"] #[inline(always)] - #[must_use] pub fn clkm_div_b(&mut self) -> CLKM_DIV_B_W { CLKM_DIV_B_W::new(self, 8) } #[doc = "Bits 14:19 - Fractional clock divider denominator value"] #[inline(always)] - #[must_use] pub fn clkm_div_a(&mut self) -> CLKM_DIV_A_W { CLKM_DIV_A_W::new(self, 14) } #[doc = "Bit 20 - no public"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 20) } #[doc = "Bits 21:22 - Set this bit to enable clk_apll"] #[inline(always)] - #[must_use] pub fn clk_sel(&mut self) -> CLK_SEL_W { CLK_SEL_W::new(self, 21) } diff --git a/esp32s3/src/apb_saradc/ctrl.rs b/esp32s3/src/apb_saradc/ctrl.rs index 65d253d14d..215dee1682 100644 --- a/esp32s3/src/apb_saradc/ctrl.rs +++ b/esp32s3/src/apb_saradc/ctrl.rs @@ -154,85 +154,71 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - enable start saradc by sw"] #[inline(always)] - #[must_use] pub fn start_force(&mut self) -> START_FORCE_W { START_FORCE_W::new(self, 0) } #[doc = "Bit 1 - start saradc by sw"] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 1) } #[doc = "Bits 3:4 - 0: single mode, 1: double mode, 2: alternate mode"] #[inline(always)] - #[must_use] pub fn work_mode(&mut self) -> WORK_MODE_W { WORK_MODE_W::new(self, 3) } #[doc = "Bit 5 - 0: SAR1, 1: SAR2, only work for single SAR mode"] #[inline(always)] - #[must_use] pub fn sar_sel(&mut self) -> SAR_SEL_W { SAR_SEL_W::new(self, 5) } #[doc = "Bit 6 - enable SAR CLK gate when saradc idle"] #[inline(always)] - #[must_use] pub fn sar_clk_gated(&mut self) -> SAR_CLK_GATED_W { SAR_CLK_GATED_W::new(self, 6) } #[doc = "Bits 7:14 - SAR clock divider"] #[inline(always)] - #[must_use] pub fn sar_clk_div(&mut self) -> SAR_CLK_DIV_W { SAR_CLK_DIV_W::new(self, 7) } #[doc = "Bits 15:18 - 0 ~ 15 means length 1 ~ 16"] #[inline(always)] - #[must_use] pub fn sar1_patt_len(&mut self) -> SAR1_PATT_LEN_W { SAR1_PATT_LEN_W::new(self, 15) } #[doc = "Bits 19:22 - 0 ~ 15 means length 1 ~ 16"] #[inline(always)] - #[must_use] pub fn sar2_patt_len(&mut self) -> SAR2_PATT_LEN_W { SAR2_PATT_LEN_W::new(self, 19) } #[doc = "Bit 23 - clear the pointer of pattern table for DIG ADC1 CTRL"] #[inline(always)] - #[must_use] pub fn sar1_patt_p_clear(&mut self) -> SAR1_PATT_P_CLEAR_W { SAR1_PATT_P_CLEAR_W::new(self, 23) } #[doc = "Bit 24 - clear the pointer of pattern table for DIG ADC2 CTRL"] #[inline(always)] - #[must_use] pub fn sar2_patt_p_clear(&mut self) -> SAR2_PATT_P_CLEAR_W { SAR2_PATT_P_CLEAR_W::new(self, 24) } #[doc = "Bit 25 - 1: sar_sel will be coded by the MSB of the 16-bit output data, in this case the resolution should not be larger than 11 bits."] #[inline(always)] - #[must_use] pub fn data_sar_sel(&mut self) -> DATA_SAR_SEL_W { DATA_SAR_SEL_W::new(self, 25) } #[doc = "Bit 26 - 1: I2S input data is from SAR ADC (for DMA), 0: I2S input data is from GPIO matrix"] #[inline(always)] - #[must_use] pub fn data_to_i2s(&mut self) -> DATA_TO_I2S_W { DATA_TO_I2S_W::new(self, 26) } #[doc = "Bits 27:28 - force option to xpd sar blocks"] #[inline(always)] - #[must_use] pub fn xpd_sar_force(&mut self) -> XPD_SAR_FORCE_W { XPD_SAR_FORCE_W::new(self, 27) } #[doc = "Bits 30:31 - wait arbit signal stable after sar_done"] #[inline(always)] - #[must_use] pub fn wait_arb_cycle(&mut self) -> WAIT_ARB_CYCLE_W { WAIT_ARB_CYCLE_W::new(self, 30) } diff --git a/esp32s3/src/apb_saradc/ctrl2.rs b/esp32s3/src/apb_saradc/ctrl2.rs index 9e59d3755e..199c709e9f 100644 --- a/esp32s3/src/apb_saradc/ctrl2.rs +++ b/esp32s3/src/apb_saradc/ctrl2.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - enable apb saradc limit the sample num"] #[inline(always)] - #[must_use] pub fn meas_num_limit(&mut self) -> MEAS_NUM_LIMIT_W { MEAS_NUM_LIMIT_W::new(self, 0) } #[doc = "Bits 1:8 - max conversion number"] #[inline(always)] - #[must_use] pub fn max_meas_num(&mut self) -> MAX_MEAS_NUM_W { MAX_MEAS_NUM_W::new(self, 1) } #[doc = "Bit 9 - 1: data to DIG ADC1 CTRL is inverted, otherwise not"] #[inline(always)] - #[must_use] pub fn sar1_inv(&mut self) -> SAR1_INV_W { SAR1_INV_W::new(self, 9) } #[doc = "Bit 10 - 1: data to DIG ADC2 CTRL is inverted, otherwise not"] #[inline(always)] - #[must_use] pub fn sar2_inv(&mut self) -> SAR2_INV_W { SAR2_INV_W::new(self, 10) } #[doc = "Bit 11 - 1: select saradc timer 0: i2s_ws trigger"] #[inline(always)] - #[must_use] pub fn timer_sel(&mut self) -> TIMER_SEL_W { TIMER_SEL_W::new(self, 11) } #[doc = "Bits 12:23 - to set saradc timer target"] #[inline(always)] - #[must_use] pub fn timer_target(&mut self) -> TIMER_TARGET_W { TIMER_TARGET_W::new(self, 12) } #[doc = "Bit 24 - to enable saradc timer trigger"] #[inline(always)] - #[must_use] pub fn timer_en(&mut self) -> TIMER_EN_W { TIMER_EN_W::new(self, 24) } diff --git a/esp32s3/src/apb_saradc/ctrl_date.rs b/esp32s3/src/apb_saradc/ctrl_date.rs index 2e1255bea7..e394c7231a 100644 --- a/esp32s3/src/apb_saradc/ctrl_date.rs +++ b/esp32s3/src/apb_saradc/ctrl_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - version"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s3/src/apb_saradc/dma_conf.rs b/esp32s3/src/apb_saradc/dma_conf.rs index 8558a42cbd..33b2e72f27 100644 --- a/esp32s3/src/apb_saradc/dma_conf.rs +++ b/esp32s3/src/apb_saradc/dma_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - the dma_in_suc_eof gen when sample cnt = spi_eof_num"] #[inline(always)] - #[must_use] pub fn adc_eof_num(&mut self) -> ADC_EOF_NUM_W { ADC_EOF_NUM_W::new(self, 0) } #[doc = "Bit 30 - reset_apb_adc_state"] #[inline(always)] - #[must_use] pub fn adc_reset_fsm(&mut self) -> ADC_RESET_FSM_W { ADC_RESET_FSM_W::new(self, 30) } #[doc = "Bit 31 - enable apb_adc use spi_dma"] #[inline(always)] - #[must_use] pub fn adc_trans(&mut self) -> ADC_TRANS_W { ADC_TRANS_W::new(self, 31) } diff --git a/esp32s3/src/apb_saradc/filter_ctrl0.rs b/esp32s3/src/apb_saradc/filter_ctrl0.rs index e64c394cfc..18e7734a58 100644 --- a/esp32s3/src/apb_saradc/filter_ctrl0.rs +++ b/esp32s3/src/apb_saradc/filter_ctrl0.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 14:18 - configure the filter1 channel"] #[inline(always)] - #[must_use] pub fn filter_channel1(&mut self) -> FILTER_CHANNEL1_W { FILTER_CHANNEL1_W::new(self, 14) } #[doc = "Bits 19:23 - configure the filter0 channel"] #[inline(always)] - #[must_use] pub fn filter_channel0(&mut self) -> FILTER_CHANNEL0_W { FILTER_CHANNEL0_W::new(self, 19) } #[doc = "Bit 31 - enable apb_adc1_filter"] #[inline(always)] - #[must_use] pub fn filter_reset(&mut self) -> FILTER_RESET_W { FILTER_RESET_W::new(self, 31) } diff --git a/esp32s3/src/apb_saradc/filter_ctrl1.rs b/esp32s3/src/apb_saradc/filter_ctrl1.rs index 9cf29a3d1e..690f608204 100644 --- a/esp32s3/src/apb_saradc/filter_ctrl1.rs +++ b/esp32s3/src/apb_saradc/filter_ctrl1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 26:28 - apb saradc factor1"] #[inline(always)] - #[must_use] pub fn filter_factor1(&mut self) -> FILTER_FACTOR1_W { FILTER_FACTOR1_W::new(self, 26) } #[doc = "Bits 29:31 - apb saradc factor0"] #[inline(always)] - #[must_use] pub fn filter_factor0(&mut self) -> FILTER_FACTOR0_W { FILTER_FACTOR0_W::new(self, 29) } diff --git a/esp32s3/src/apb_saradc/fsm_wait.rs b/esp32s3/src/apb_saradc/fsm_wait.rs index 114ea9433e..531dc62d6d 100644 --- a/esp32s3/src/apb_saradc/fsm_wait.rs +++ b/esp32s3/src/apb_saradc/fsm_wait.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - the cycle which saradc controller in xpd state"] #[inline(always)] - #[must_use] pub fn xpd_wait(&mut self) -> XPD_WAIT_W { XPD_WAIT_W::new(self, 0) } #[doc = "Bits 8:15 - the cycle which saradc controller in rst state"] #[inline(always)] - #[must_use] pub fn rstb_wait(&mut self) -> RSTB_WAIT_W { RSTB_WAIT_W::new(self, 8) } #[doc = "Bits 16:23 - the cycle which saradc controller in standby state"] #[inline(always)] - #[must_use] pub fn standby_wait(&mut self) -> STANDBY_WAIT_W { STANDBY_WAIT_W::new(self, 16) } diff --git a/esp32s3/src/apb_saradc/int_clr.rs b/esp32s3/src/apb_saradc/int_clr.rs index 2847970218..fb0b605a8a 100644 --- a/esp32s3/src/apb_saradc/int_clr.rs +++ b/esp32s3/src/apb_saradc/int_clr.rs @@ -21,37 +21,31 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 26 - interrupt of thres1 low"] #[inline(always)] - #[must_use] pub fn thres1_low(&mut self) -> THRES1_LOW_W { THRES1_LOW_W::new(self, 26) } #[doc = "Bit 27 - interrupt of thres0 low"] #[inline(always)] - #[must_use] pub fn thres0_low(&mut self) -> THRES0_LOW_W { THRES0_LOW_W::new(self, 27) } #[doc = "Bit 28 - interrupt of thres1 high"] #[inline(always)] - #[must_use] pub fn thres1_high(&mut self) -> THRES1_HIGH_W { THRES1_HIGH_W::new(self, 28) } #[doc = "Bit 29 - interrupt of thres0 high"] #[inline(always)] - #[must_use] pub fn thres0_high(&mut self) -> THRES0_HIGH_W { THRES0_HIGH_W::new(self, 29) } #[doc = "Bit 30 - interrupt of sar2 done"] #[inline(always)] - #[must_use] pub fn adc2_done(&mut self) -> ADC2_DONE_W { ADC2_DONE_W::new(self, 30) } #[doc = "Bit 31 - interrupt of sar1 done"] #[inline(always)] - #[must_use] pub fn adc1_done(&mut self) -> ADC1_DONE_W { ADC1_DONE_W::new(self, 31) } diff --git a/esp32s3/src/apb_saradc/int_ena.rs b/esp32s3/src/apb_saradc/int_ena.rs index 363912d5ac..c717e04201 100644 --- a/esp32s3/src/apb_saradc/int_ena.rs +++ b/esp32s3/src/apb_saradc/int_ena.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 26 - interrupt of thres1 low"] #[inline(always)] - #[must_use] pub fn thres1_low(&mut self) -> THRES1_LOW_W { THRES1_LOW_W::new(self, 26) } #[doc = "Bit 27 - interrupt of thres0 low"] #[inline(always)] - #[must_use] pub fn thres0_low(&mut self) -> THRES0_LOW_W { THRES0_LOW_W::new(self, 27) } #[doc = "Bit 28 - interrupt of thres1 high"] #[inline(always)] - #[must_use] pub fn thres1_high(&mut self) -> THRES1_HIGH_W { THRES1_HIGH_W::new(self, 28) } #[doc = "Bit 29 - interrupt of thres0 high"] #[inline(always)] - #[must_use] pub fn thres0_high(&mut self) -> THRES0_HIGH_W { THRES0_HIGH_W::new(self, 29) } #[doc = "Bit 30 - interrupt of sar2 done"] #[inline(always)] - #[must_use] pub fn adc2_done(&mut self) -> ADC2_DONE_W { ADC2_DONE_W::new(self, 30) } #[doc = "Bit 31 - interrupt of sar1 done"] #[inline(always)] - #[must_use] pub fn adc1_done(&mut self) -> ADC1_DONE_W { ADC1_DONE_W::new(self, 31) } diff --git a/esp32s3/src/apb_saradc/sar1_patt_tab1.rs b/esp32s3/src/apb_saradc/sar1_patt_tab1.rs index 0395c76804..e36b095f1a 100644 --- a/esp32s3/src/apb_saradc/sar1_patt_tab1.rs +++ b/esp32s3/src/apb_saradc/sar1_patt_tab1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - item 0 ~ 3 for pattern table 1 (each item 6bit)"] #[inline(always)] - #[must_use] pub fn sar1_patt_tab1(&mut self) -> SAR1_PATT_TAB1_W { SAR1_PATT_TAB1_W::new(self, 0) } diff --git a/esp32s3/src/apb_saradc/sar1_patt_tab2.rs b/esp32s3/src/apb_saradc/sar1_patt_tab2.rs index cf0e133c16..52d985c81f 100644 --- a/esp32s3/src/apb_saradc/sar1_patt_tab2.rs +++ b/esp32s3/src/apb_saradc/sar1_patt_tab2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - Item 4 ~ 7 for pattern table 1 (each item 6bit)"] #[inline(always)] - #[must_use] pub fn sar1_patt_tab2(&mut self) -> SAR1_PATT_TAB2_W { SAR1_PATT_TAB2_W::new(self, 0) } diff --git a/esp32s3/src/apb_saradc/sar1_patt_tab3.rs b/esp32s3/src/apb_saradc/sar1_patt_tab3.rs index 7e8bc0bf9e..2fa6a23dde 100644 --- a/esp32s3/src/apb_saradc/sar1_patt_tab3.rs +++ b/esp32s3/src/apb_saradc/sar1_patt_tab3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - Item 8 ~ 11 for pattern table 1 (each item 6bit)"] #[inline(always)] - #[must_use] pub fn sar1_patt_tab3(&mut self) -> SAR1_PATT_TAB3_W { SAR1_PATT_TAB3_W::new(self, 0) } diff --git a/esp32s3/src/apb_saradc/sar1_patt_tab4.rs b/esp32s3/src/apb_saradc/sar1_patt_tab4.rs index 32b50abdf9..af50627cdb 100644 --- a/esp32s3/src/apb_saradc/sar1_patt_tab4.rs +++ b/esp32s3/src/apb_saradc/sar1_patt_tab4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - Item 12 ~ 15 for pattern table 1 (each item 6bit)"] #[inline(always)] - #[must_use] pub fn sar1_patt_tab4(&mut self) -> SAR1_PATT_TAB4_W { SAR1_PATT_TAB4_W::new(self, 0) } diff --git a/esp32s3/src/apb_saradc/sar2_patt_tab1.rs b/esp32s3/src/apb_saradc/sar2_patt_tab1.rs index df7f3295d4..386a6d8238 100644 --- a/esp32s3/src/apb_saradc/sar2_patt_tab1.rs +++ b/esp32s3/src/apb_saradc/sar2_patt_tab1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - item 0 ~ 3 for pattern table 2 (each item 6bit)"] #[inline(always)] - #[must_use] pub fn sar2_patt_tab1(&mut self) -> SAR2_PATT_TAB1_W { SAR2_PATT_TAB1_W::new(self, 0) } diff --git a/esp32s3/src/apb_saradc/sar2_patt_tab2.rs b/esp32s3/src/apb_saradc/sar2_patt_tab2.rs index f2f3b2b684..1dc64f3c59 100644 --- a/esp32s3/src/apb_saradc/sar2_patt_tab2.rs +++ b/esp32s3/src/apb_saradc/sar2_patt_tab2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - Item 4 ~ 7 for pattern table 2 (each item 6bit)"] #[inline(always)] - #[must_use] pub fn sar2_patt_tab2(&mut self) -> SAR2_PATT_TAB2_W { SAR2_PATT_TAB2_W::new(self, 0) } diff --git a/esp32s3/src/apb_saradc/sar2_patt_tab3.rs b/esp32s3/src/apb_saradc/sar2_patt_tab3.rs index 2099a55aab..a6499b8f9a 100644 --- a/esp32s3/src/apb_saradc/sar2_patt_tab3.rs +++ b/esp32s3/src/apb_saradc/sar2_patt_tab3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - Item 8 ~ 11 for pattern table 2 (each item 6bit)"] #[inline(always)] - #[must_use] pub fn sar2_patt_tab3(&mut self) -> SAR2_PATT_TAB3_W { SAR2_PATT_TAB3_W::new(self, 0) } diff --git a/esp32s3/src/apb_saradc/sar2_patt_tab4.rs b/esp32s3/src/apb_saradc/sar2_patt_tab4.rs index b693e81771..4d055f4b73 100644 --- a/esp32s3/src/apb_saradc/sar2_patt_tab4.rs +++ b/esp32s3/src/apb_saradc/sar2_patt_tab4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - Item 12 ~ 15 for pattern table 2 (each item 6bit)"] #[inline(always)] - #[must_use] pub fn sar2_patt_tab4(&mut self) -> SAR2_PATT_TAB4_W { SAR2_PATT_TAB4_W::new(self, 0) } diff --git a/esp32s3/src/apb_saradc/thres0_ctrl.rs b/esp32s3/src/apb_saradc/thres0_ctrl.rs index a3937a9fff..adb2e81c8d 100644 --- a/esp32s3/src/apb_saradc/thres0_ctrl.rs +++ b/esp32s3/src/apb_saradc/thres0_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - configure which channel thres0 monitor"] #[inline(always)] - #[must_use] pub fn thres0_channel(&mut self) -> THRES0_CHANNEL_W { THRES0_CHANNEL_W::new(self, 0) } #[doc = "Bits 5:17 - thres0 monitor high thres"] #[inline(always)] - #[must_use] pub fn thres0_high(&mut self) -> THRES0_HIGH_W { THRES0_HIGH_W::new(self, 5) } #[doc = "Bits 18:30 - thres0 monitor low thres"] #[inline(always)] - #[must_use] pub fn thres0_low(&mut self) -> THRES0_LOW_W { THRES0_LOW_W::new(self, 18) } diff --git a/esp32s3/src/apb_saradc/thres1_ctrl.rs b/esp32s3/src/apb_saradc/thres1_ctrl.rs index 498c1be17b..b19699ad79 100644 --- a/esp32s3/src/apb_saradc/thres1_ctrl.rs +++ b/esp32s3/src/apb_saradc/thres1_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - configure which channel thres0 monitor"] #[inline(always)] - #[must_use] pub fn thres1_channel(&mut self) -> THRES1_CHANNEL_W { THRES1_CHANNEL_W::new(self, 0) } #[doc = "Bits 5:17 - thres1 monitor high thres"] #[inline(always)] - #[must_use] pub fn thres1_high(&mut self) -> THRES1_HIGH_W { THRES1_HIGH_W::new(self, 5) } #[doc = "Bits 18:30 - thres1 monitor low thres"] #[inline(always)] - #[must_use] pub fn thres1_low(&mut self) -> THRES1_LOW_W { THRES1_LOW_W::new(self, 18) } diff --git a/esp32s3/src/apb_saradc/thres_ctrl.rs b/esp32s3/src/apb_saradc/thres_ctrl.rs index f5f311164e..c64b0cc6ff 100644 --- a/esp32s3/src/apb_saradc/thres_ctrl.rs +++ b/esp32s3/src/apb_saradc/thres_ctrl.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 27 - enable thres0 to monitor all channel"] #[inline(always)] - #[must_use] pub fn thres_all_en(&mut self) -> THRES_ALL_EN_W { THRES_ALL_EN_W::new(self, 27) } #[doc = "Bit 28 - no public"] #[inline(always)] - #[must_use] pub fn thres3_en(&mut self) -> THRES3_EN_W { THRES3_EN_W::new(self, 28) } #[doc = "Bit 29 - no public"] #[inline(always)] - #[must_use] pub fn thres2_en(&mut self) -> THRES2_EN_W { THRES2_EN_W::new(self, 29) } #[doc = "Bit 30 - enable thres1"] #[inline(always)] - #[must_use] pub fn thres1_en(&mut self) -> THRES1_EN_W { THRES1_EN_W::new(self, 30) } #[doc = "Bit 31 - enable thres0"] #[inline(always)] - #[must_use] pub fn thres0_en(&mut self) -> THRES0_EN_W { THRES0_EN_W::new(self, 31) } diff --git a/esp32s3/src/assist_debug/core_0_area_dram0_0_max.rs b/esp32s3/src/assist_debug/core_0_area_dram0_0_max.rs index 3ab8a734bd..16dd89b99c 100644 --- a/esp32s3/src/assist_debug/core_0_area_dram0_0_max.rs +++ b/esp32s3/src/assist_debug/core_0_area_dram0_0_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core0 dram0 region0 end addr"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_max( &mut self, ) -> CORE_0_AREA_DRAM0_0_MAX_W { diff --git a/esp32s3/src/assist_debug/core_0_area_dram0_0_min.rs b/esp32s3/src/assist_debug/core_0_area_dram0_0_min.rs index 759d767566..c9de513bea 100644 --- a/esp32s3/src/assist_debug/core_0_area_dram0_0_min.rs +++ b/esp32s3/src/assist_debug/core_0_area_dram0_0_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core0 dram0 region0 start addr"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_min( &mut self, ) -> CORE_0_AREA_DRAM0_0_MIN_W { diff --git a/esp32s3/src/assist_debug/core_0_area_dram0_1_max.rs b/esp32s3/src/assist_debug/core_0_area_dram0_1_max.rs index 18d6fec0d8..1cd2b1757b 100644 --- a/esp32s3/src/assist_debug/core_0_area_dram0_1_max.rs +++ b/esp32s3/src/assist_debug/core_0_area_dram0_1_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core0 dram0 region1 end addr"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_max( &mut self, ) -> CORE_0_AREA_DRAM0_1_MAX_W { diff --git a/esp32s3/src/assist_debug/core_0_area_dram0_1_min.rs b/esp32s3/src/assist_debug/core_0_area_dram0_1_min.rs index 30e80919a6..a7a7e14eed 100644 --- a/esp32s3/src/assist_debug/core_0_area_dram0_1_min.rs +++ b/esp32s3/src/assist_debug/core_0_area_dram0_1_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core0 dram0 region1 start addr"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_min( &mut self, ) -> CORE_0_AREA_DRAM0_1_MIN_W { diff --git a/esp32s3/src/assist_debug/core_0_area_pif_0_max.rs b/esp32s3/src/assist_debug/core_0_area_pif_0_max.rs index 5bcdfb25f7..61602cca8c 100644 --- a/esp32s3/src/assist_debug/core_0_area_pif_0_max.rs +++ b/esp32s3/src/assist_debug/core_0_area_pif_0_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core0 PIF region0 end addr"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_max(&mut self) -> CORE_0_AREA_PIF_0_MAX_W { CORE_0_AREA_PIF_0_MAX_W::new(self, 0) } diff --git a/esp32s3/src/assist_debug/core_0_area_pif_0_min.rs b/esp32s3/src/assist_debug/core_0_area_pif_0_min.rs index f613bb8608..3ecdfc7ac3 100644 --- a/esp32s3/src/assist_debug/core_0_area_pif_0_min.rs +++ b/esp32s3/src/assist_debug/core_0_area_pif_0_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core0 PIF region0 start addr"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_min(&mut self) -> CORE_0_AREA_PIF_0_MIN_W { CORE_0_AREA_PIF_0_MIN_W::new(self, 0) } diff --git a/esp32s3/src/assist_debug/core_0_area_pif_1_max.rs b/esp32s3/src/assist_debug/core_0_area_pif_1_max.rs index 2da306da5d..16410a8f09 100644 --- a/esp32s3/src/assist_debug/core_0_area_pif_1_max.rs +++ b/esp32s3/src/assist_debug/core_0_area_pif_1_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core0 PIF region1 end addr"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_max(&mut self) -> CORE_0_AREA_PIF_1_MAX_W { CORE_0_AREA_PIF_1_MAX_W::new(self, 0) } diff --git a/esp32s3/src/assist_debug/core_0_area_pif_1_min.rs b/esp32s3/src/assist_debug/core_0_area_pif_1_min.rs index fd5cb131f7..1a8d405597 100644 --- a/esp32s3/src/assist_debug/core_0_area_pif_1_min.rs +++ b/esp32s3/src/assist_debug/core_0_area_pif_1_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core0 PIF region1 start addr"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_min(&mut self) -> CORE_0_AREA_PIF_1_MIN_W { CORE_0_AREA_PIF_1_MIN_W::new(self, 0) } diff --git a/esp32s3/src/assist_debug/core_0_intr_clr.rs b/esp32s3/src/assist_debug/core_0_intr_clr.rs index 6ac791627d..458d9493ed 100644 --- a/esp32s3/src/assist_debug/core_0_intr_clr.rs +++ b/esp32s3/src/assist_debug/core_0_intr_clr.rs @@ -152,7 +152,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Core0 dram0 area0 read monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_rd_clr( &mut self, ) -> CORE_0_AREA_DRAM0_0_RD_CLR_W { @@ -160,7 +159,6 @@ impl W { } #[doc = "Bit 1 - Core0 dram0 area0 write monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_wr_clr( &mut self, ) -> CORE_0_AREA_DRAM0_0_WR_CLR_W { @@ -168,7 +166,6 @@ impl W { } #[doc = "Bit 2 - Core0 dram0 area1 read monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_rd_clr( &mut self, ) -> CORE_0_AREA_DRAM0_1_RD_CLR_W { @@ -176,7 +173,6 @@ impl W { } #[doc = "Bit 3 - Core0 dram0 area1 write monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_wr_clr( &mut self, ) -> CORE_0_AREA_DRAM0_1_WR_CLR_W { @@ -184,43 +180,36 @@ impl W { } #[doc = "Bit 4 - Core0 PIF area0 read monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_rd_clr(&mut self) -> CORE_0_AREA_PIF_0_RD_CLR_W { CORE_0_AREA_PIF_0_RD_CLR_W::new(self, 4) } #[doc = "Bit 5 - Core0 PIF area0 write monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_wr_clr(&mut self) -> CORE_0_AREA_PIF_0_WR_CLR_W { CORE_0_AREA_PIF_0_WR_CLR_W::new(self, 5) } #[doc = "Bit 6 - Core0 PIF area1 read monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_rd_clr(&mut self) -> CORE_0_AREA_PIF_1_RD_CLR_W { CORE_0_AREA_PIF_1_RD_CLR_W::new(self, 6) } #[doc = "Bit 7 - Core0 PIF area1 write monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_wr_clr(&mut self) -> CORE_0_AREA_PIF_1_WR_CLR_W { CORE_0_AREA_PIF_1_WR_CLR_W::new(self, 7) } #[doc = "Bit 8 - Core0 stackpoint overflow monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_sp_spill_min_clr(&mut self) -> CORE_0_SP_SPILL_MIN_CLR_W { CORE_0_SP_SPILL_MIN_CLR_W::new(self, 8) } #[doc = "Bit 9 - Core0 stackpoint underflow monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_sp_spill_max_clr(&mut self) -> CORE_0_SP_SPILL_MAX_CLR_W { CORE_0_SP_SPILL_MAX_CLR_W::new(self, 9) } #[doc = "Bit 10 - IBUS busy monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_iram0_exception_monitor_clr( &mut self, ) -> CORE_0_IRAM0_EXCEPTION_MONITOR_CLR_W { @@ -228,7 +217,6 @@ impl W { } #[doc = "Bit 11 - DBUS busy monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_0_dram0_exception_monitor_clr( &mut self, ) -> CORE_0_DRAM0_EXCEPTION_MONITOR_CLR_W { diff --git a/esp32s3/src/assist_debug/core_0_intr_ena.rs b/esp32s3/src/assist_debug/core_0_intr_ena.rs index e94b4e81c1..853373c11c 100644 --- a/esp32s3/src/assist_debug/core_0_intr_ena.rs +++ b/esp32s3/src/assist_debug/core_0_intr_ena.rs @@ -174,7 +174,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Core0 dram0 area0 read monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_rd_intr_ena( &mut self, ) -> CORE_0_AREA_DRAM0_0_RD_INTR_ENA_W { @@ -182,7 +181,6 @@ impl W { } #[doc = "Bit 1 - Core0 dram0 area0 write monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_wr_intr_ena( &mut self, ) -> CORE_0_AREA_DRAM0_0_WR_INTR_ENA_W { @@ -190,7 +188,6 @@ impl W { } #[doc = "Bit 2 - Core0 dram0 area1 read monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_rd_intr_ena( &mut self, ) -> CORE_0_AREA_DRAM0_1_RD_INTR_ENA_W { @@ -198,7 +195,6 @@ impl W { } #[doc = "Bit 3 - Core0 dram0 area1 write monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_wr_intr_ena( &mut self, ) -> CORE_0_AREA_DRAM0_1_WR_INTR_ENA_W { @@ -206,7 +202,6 @@ impl W { } #[doc = "Bit 4 - Core0 PIF area0 read monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_rd_intr_ena( &mut self, ) -> CORE_0_AREA_PIF_0_RD_INTR_ENA_W { @@ -214,7 +209,6 @@ impl W { } #[doc = "Bit 5 - Core0 PIF area0 write monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_wr_intr_ena( &mut self, ) -> CORE_0_AREA_PIF_0_WR_INTR_ENA_W { @@ -222,7 +216,6 @@ impl W { } #[doc = "Bit 6 - Core0 PIF area1 read monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_rd_intr_ena( &mut self, ) -> CORE_0_AREA_PIF_1_RD_INTR_ENA_W { @@ -230,7 +223,6 @@ impl W { } #[doc = "Bit 7 - Core0 PIF area1 write monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_wr_intr_ena( &mut self, ) -> CORE_0_AREA_PIF_1_WR_INTR_ENA_W { @@ -238,7 +230,6 @@ impl W { } #[doc = "Bit 8 - Core0 stackpoint overflow monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_sp_spill_min_intr_ena( &mut self, ) -> CORE_0_SP_SPILL_MIN_INTR_ENA_W { @@ -246,7 +237,6 @@ impl W { } #[doc = "Bit 9 - Core0 stackpoint underflow monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_sp_spill_max_intr_ena( &mut self, ) -> CORE_0_SP_SPILL_MAX_INTR_ENA_W { @@ -254,7 +244,6 @@ impl W { } #[doc = "Bit 10 - IBUS busy monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_0_iram0_exception_monitor_intr_ena( &mut self, ) -> CORE_0_IRAM0_EXCEPTION_MONITOR_INTR_ENA_W { @@ -262,7 +251,6 @@ impl W { } #[doc = "Bit 11 - DBUS busy monitor interrupt enbale"] #[inline(always)] - #[must_use] pub fn core_0_dram0_exception_monitor_intr_ena( &mut self, ) -> CORE_0_DRAM0_EXCEPTION_MONITOR_INTR_ENA_W { diff --git a/esp32s3/src/assist_debug/core_0_montr_ena.rs b/esp32s3/src/assist_debug/core_0_montr_ena.rs index c586fb4691..a4c4378997 100644 --- a/esp32s3/src/assist_debug/core_0_montr_ena.rs +++ b/esp32s3/src/assist_debug/core_0_montr_ena.rs @@ -152,7 +152,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Core0 dram0 area0 read monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_rd_ena( &mut self, ) -> CORE_0_AREA_DRAM0_0_RD_ENA_W { @@ -160,7 +159,6 @@ impl W { } #[doc = "Bit 1 - Core0 dram0 area0 write monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_0_wr_ena( &mut self, ) -> CORE_0_AREA_DRAM0_0_WR_ENA_W { @@ -168,7 +166,6 @@ impl W { } #[doc = "Bit 2 - Core0 dram0 area1 read monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_rd_ena( &mut self, ) -> CORE_0_AREA_DRAM0_1_RD_ENA_W { @@ -176,7 +173,6 @@ impl W { } #[doc = "Bit 3 - Core0 dram0 area1 write monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_area_dram0_1_wr_ena( &mut self, ) -> CORE_0_AREA_DRAM0_1_WR_ENA_W { @@ -184,7 +180,6 @@ impl W { } #[doc = "Bit 4 - Core0 PIF area0 read monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_rd_ena( &mut self, ) -> CORE_0_AREA_PIF_0_RD_ENA_W { @@ -192,7 +187,6 @@ impl W { } #[doc = "Bit 5 - Core0 PIF area0 write monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_0_wr_ena( &mut self, ) -> CORE_0_AREA_PIF_0_WR_ENA_W { @@ -200,7 +194,6 @@ impl W { } #[doc = "Bit 6 - Core0 PIF area1 read monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_rd_ena( &mut self, ) -> CORE_0_AREA_PIF_1_RD_ENA_W { @@ -208,7 +201,6 @@ impl W { } #[doc = "Bit 7 - Core0 PIF area1 write monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_area_pif_1_wr_ena( &mut self, ) -> CORE_0_AREA_PIF_1_WR_ENA_W { @@ -216,19 +208,16 @@ impl W { } #[doc = "Bit 8 - Core0 stackpoint overflow monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_sp_spill_min_ena(&mut self) -> CORE_0_SP_SPILL_MIN_ENA_W { CORE_0_SP_SPILL_MIN_ENA_W::new(self, 8) } #[doc = "Bit 9 - Core0 stackpoint underflow monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_sp_spill_max_ena(&mut self) -> CORE_0_SP_SPILL_MAX_ENA_W { CORE_0_SP_SPILL_MAX_ENA_W::new(self, 9) } #[doc = "Bit 10 - IBUS busy monitor enable"] #[inline(always)] - #[must_use] pub fn core_0_iram0_exception_monitor_ena( &mut self, ) -> CORE_0_IRAM0_EXCEPTION_MONITOR_ENA_W { @@ -236,7 +225,6 @@ impl W { } #[doc = "Bit 11 - DBUS busy monitor enbale"] #[inline(always)] - #[must_use] pub fn core_0_dram0_exception_monitor_ena( &mut self, ) -> CORE_0_DRAM0_EXCEPTION_MONITOR_ENA_W { diff --git a/esp32s3/src/assist_debug/core_0_rcd_pdebugenable.rs b/esp32s3/src/assist_debug/core_0_rcd_pdebugenable.rs index 5e71fc8bfa..3fd43f8973 100644 --- a/esp32s3/src/assist_debug/core_0_rcd_pdebugenable.rs +++ b/esp32s3/src/assist_debug/core_0_rcd_pdebugenable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Core0 Pdebugenable,set 1 to open core0 Pdebug interface,then can get core0 PC"] #[inline(always)] - #[must_use] pub fn core_0_rcd_pdebugenable( &mut self, ) -> CORE_0_RCD_PDEBUGENABLE_W { diff --git a/esp32s3/src/assist_debug/core_0_rcd_recording.rs b/esp32s3/src/assist_debug/core_0_rcd_recording.rs index b91fdd4480..d7e59b21cf 100644 --- a/esp32s3/src/assist_debug/core_0_rcd_recording.rs +++ b/esp32s3/src/assist_debug/core_0_rcd_recording.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Pdebug record enable,set 1 to record core0 pdebug interface signal"] #[inline(always)] - #[must_use] pub fn core_0_rcd_recording(&mut self) -> CORE_0_RCD_RECORDING_W { CORE_0_RCD_RECORDING_W::new(self, 0) } diff --git a/esp32s3/src/assist_debug/core_0_sp_max.rs b/esp32s3/src/assist_debug/core_0_sp_max.rs index 882510bd45..0cb5a47ee1 100644 --- a/esp32s3/src/assist_debug/core_0_sp_max.rs +++ b/esp32s3/src/assist_debug/core_0_sp_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - stack max value"] #[inline(always)] - #[must_use] pub fn core_0_sp_max(&mut self) -> CORE_0_SP_MAX_W { CORE_0_SP_MAX_W::new(self, 0) } diff --git a/esp32s3/src/assist_debug/core_0_sp_min.rs b/esp32s3/src/assist_debug/core_0_sp_min.rs index 7aaf63da61..ff421fbf13 100644 --- a/esp32s3/src/assist_debug/core_0_sp_min.rs +++ b/esp32s3/src/assist_debug/core_0_sp_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - stack min value"] #[inline(always)] - #[must_use] pub fn core_0_sp_min(&mut self) -> CORE_0_SP_MIN_W { CORE_0_SP_MIN_W::new(self, 0) } diff --git a/esp32s3/src/assist_debug/core_0_sp_unstable.rs b/esp32s3/src/assist_debug/core_0_sp_unstable.rs index 44db9348a4..a6f063a310 100644 --- a/esp32s3/src/assist_debug/core_0_sp_unstable.rs +++ b/esp32s3/src/assist_debug/core_0_sp_unstable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - unstable period when window change,during this period no check stackpointer"] #[inline(always)] - #[must_use] pub fn core_0_sp_unstable(&mut self) -> CORE_0_SP_UNSTABLE_W { CORE_0_SP_UNSTABLE_W::new(self, 0) } diff --git a/esp32s3/src/assist_debug/core_1_area_dram0_0_max.rs b/esp32s3/src/assist_debug/core_1_area_dram0_0_max.rs index 28609c85ee..96ed4d1311 100644 --- a/esp32s3/src/assist_debug/core_1_area_dram0_0_max.rs +++ b/esp32s3/src/assist_debug/core_1_area_dram0_0_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core1 dram0 region0 end addr"] #[inline(always)] - #[must_use] pub fn core_1_area_dram0_0_max( &mut self, ) -> CORE_1_AREA_DRAM0_0_MAX_W { diff --git a/esp32s3/src/assist_debug/core_1_area_dram0_0_min.rs b/esp32s3/src/assist_debug/core_1_area_dram0_0_min.rs index b675ad5a36..1ef66cbf62 100644 --- a/esp32s3/src/assist_debug/core_1_area_dram0_0_min.rs +++ b/esp32s3/src/assist_debug/core_1_area_dram0_0_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core1 dram0 region0 start addr"] #[inline(always)] - #[must_use] pub fn core_1_area_dram0_0_min( &mut self, ) -> CORE_1_AREA_DRAM0_0_MIN_W { diff --git a/esp32s3/src/assist_debug/core_1_area_dram0_1_max.rs b/esp32s3/src/assist_debug/core_1_area_dram0_1_max.rs index 24a1f92a97..dd40c934ee 100644 --- a/esp32s3/src/assist_debug/core_1_area_dram0_1_max.rs +++ b/esp32s3/src/assist_debug/core_1_area_dram0_1_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core1 dram0 region1 end addr"] #[inline(always)] - #[must_use] pub fn core_1_area_dram0_1_max( &mut self, ) -> CORE_1_AREA_DRAM0_1_MAX_W { diff --git a/esp32s3/src/assist_debug/core_1_area_dram0_1_min.rs b/esp32s3/src/assist_debug/core_1_area_dram0_1_min.rs index 546b178cad..accdb9a2f3 100644 --- a/esp32s3/src/assist_debug/core_1_area_dram0_1_min.rs +++ b/esp32s3/src/assist_debug/core_1_area_dram0_1_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core1 dram0 region1 start addr"] #[inline(always)] - #[must_use] pub fn core_1_area_dram0_1_min( &mut self, ) -> CORE_1_AREA_DRAM0_1_MIN_W { diff --git a/esp32s3/src/assist_debug/core_1_area_pif_0_max.rs b/esp32s3/src/assist_debug/core_1_area_pif_0_max.rs index 7fb43e8db1..94ecaca4c2 100644 --- a/esp32s3/src/assist_debug/core_1_area_pif_0_max.rs +++ b/esp32s3/src/assist_debug/core_1_area_pif_0_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core1 PIF region0 end addr"] #[inline(always)] - #[must_use] pub fn core_1_area_pif_0_max(&mut self) -> CORE_1_AREA_PIF_0_MAX_W { CORE_1_AREA_PIF_0_MAX_W::new(self, 0) } diff --git a/esp32s3/src/assist_debug/core_1_area_pif_0_min.rs b/esp32s3/src/assist_debug/core_1_area_pif_0_min.rs index c34d9af137..0d494f2610 100644 --- a/esp32s3/src/assist_debug/core_1_area_pif_0_min.rs +++ b/esp32s3/src/assist_debug/core_1_area_pif_0_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core1 PIF region0 start addr"] #[inline(always)] - #[must_use] pub fn core_1_area_pif_0_min(&mut self) -> CORE_1_AREA_PIF_0_MIN_W { CORE_1_AREA_PIF_0_MIN_W::new(self, 0) } diff --git a/esp32s3/src/assist_debug/core_1_area_pif_1_max.rs b/esp32s3/src/assist_debug/core_1_area_pif_1_max.rs index 753799daa1..ea6d3f439a 100644 --- a/esp32s3/src/assist_debug/core_1_area_pif_1_max.rs +++ b/esp32s3/src/assist_debug/core_1_area_pif_1_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core1 PIF region1 end addr"] #[inline(always)] - #[must_use] pub fn core_1_area_pif_1_max(&mut self) -> CORE_1_AREA_PIF_1_MAX_W { CORE_1_AREA_PIF_1_MAX_W::new(self, 0) } diff --git a/esp32s3/src/assist_debug/core_1_area_pif_1_min.rs b/esp32s3/src/assist_debug/core_1_area_pif_1_min.rs index 987ea9a032..8ed27abd98 100644 --- a/esp32s3/src/assist_debug/core_1_area_pif_1_min.rs +++ b/esp32s3/src/assist_debug/core_1_area_pif_1_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core1 PIF region1 start addr"] #[inline(always)] - #[must_use] pub fn core_1_area_pif_1_min(&mut self) -> CORE_1_AREA_PIF_1_MIN_W { CORE_1_AREA_PIF_1_MIN_W::new(self, 0) } diff --git a/esp32s3/src/assist_debug/core_1_intr_clr.rs b/esp32s3/src/assist_debug/core_1_intr_clr.rs index 8941f86f1d..4fa03c481b 100644 --- a/esp32s3/src/assist_debug/core_1_intr_clr.rs +++ b/esp32s3/src/assist_debug/core_1_intr_clr.rs @@ -152,7 +152,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Core1 dram0 area0 read monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_1_area_dram0_0_rd_clr( &mut self, ) -> CORE_1_AREA_DRAM0_0_RD_CLR_W { @@ -160,7 +159,6 @@ impl W { } #[doc = "Bit 1 - Core1 dram0 area0 write monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_1_area_dram0_0_wr_clr( &mut self, ) -> CORE_1_AREA_DRAM0_0_WR_CLR_W { @@ -168,7 +166,6 @@ impl W { } #[doc = "Bit 2 - Core1 dram0 area1 read monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_1_area_dram0_1_rd_clr( &mut self, ) -> CORE_1_AREA_DRAM0_1_RD_CLR_W { @@ -176,7 +173,6 @@ impl W { } #[doc = "Bit 3 - Core1 dram0 area1 write monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_1_area_dram0_1_wr_clr( &mut self, ) -> CORE_1_AREA_DRAM0_1_WR_CLR_W { @@ -184,43 +180,36 @@ impl W { } #[doc = "Bit 4 - Core1 PIF area0 read monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_1_area_pif_0_rd_clr(&mut self) -> CORE_1_AREA_PIF_0_RD_CLR_W { CORE_1_AREA_PIF_0_RD_CLR_W::new(self, 4) } #[doc = "Bit 5 - Core1 PIF area0 write monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_1_area_pif_0_wr_clr(&mut self) -> CORE_1_AREA_PIF_0_WR_CLR_W { CORE_1_AREA_PIF_0_WR_CLR_W::new(self, 5) } #[doc = "Bit 6 - Core1 PIF area1 read monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_1_area_pif_1_rd_clr(&mut self) -> CORE_1_AREA_PIF_1_RD_CLR_W { CORE_1_AREA_PIF_1_RD_CLR_W::new(self, 6) } #[doc = "Bit 7 - Core1 PIF area1 write monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_1_area_pif_1_wr_clr(&mut self) -> CORE_1_AREA_PIF_1_WR_CLR_W { CORE_1_AREA_PIF_1_WR_CLR_W::new(self, 7) } #[doc = "Bit 8 - Core1 stackpoint overflow monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_1_sp_spill_min_clr(&mut self) -> CORE_1_SP_SPILL_MIN_CLR_W { CORE_1_SP_SPILL_MIN_CLR_W::new(self, 8) } #[doc = "Bit 9 - Core1 stackpoint underflow monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_1_sp_spill_max_clr(&mut self) -> CORE_1_SP_SPILL_MAX_CLR_W { CORE_1_SP_SPILL_MAX_CLR_W::new(self, 9) } #[doc = "Bit 10 - IBUS busy monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_1_iram0_exception_monitor_clr( &mut self, ) -> CORE_1_IRAM0_EXCEPTION_MONITOR_CLR_W { @@ -228,7 +217,6 @@ impl W { } #[doc = "Bit 11 - DBUS busy monitor interrupt clr"] #[inline(always)] - #[must_use] pub fn core_1_dram0_exception_monitor_clr( &mut self, ) -> CORE_1_DRAM0_EXCEPTION_MONITOR_CLR_W { diff --git a/esp32s3/src/assist_debug/core_1_intr_ena.rs b/esp32s3/src/assist_debug/core_1_intr_ena.rs index 03208a3169..2f164e56ca 100644 --- a/esp32s3/src/assist_debug/core_1_intr_ena.rs +++ b/esp32s3/src/assist_debug/core_1_intr_ena.rs @@ -174,7 +174,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Core1 dram0 area0 read monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_1_area_dram0_0_rd_intr_ena( &mut self, ) -> CORE_1_AREA_DRAM0_0_RD_INTR_ENA_W { @@ -182,7 +181,6 @@ impl W { } #[doc = "Bit 1 - Core1 dram0 area0 write monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_1_area_dram0_0_wr_intr_ena( &mut self, ) -> CORE_1_AREA_DRAM0_0_WR_INTR_ENA_W { @@ -190,7 +188,6 @@ impl W { } #[doc = "Bit 2 - Core1 dram0 area1 read monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_1_area_dram0_1_rd_intr_ena( &mut self, ) -> CORE_1_AREA_DRAM0_1_RD_INTR_ENA_W { @@ -198,7 +195,6 @@ impl W { } #[doc = "Bit 3 - Core1 dram0 area1 write monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_1_area_dram0_1_wr_intr_ena( &mut self, ) -> CORE_1_AREA_DRAM0_1_WR_INTR_ENA_W { @@ -206,7 +202,6 @@ impl W { } #[doc = "Bit 4 - Core1 PIF area0 read monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_1_area_pif_0_rd_intr_ena( &mut self, ) -> CORE_1_AREA_PIF_0_RD_INTR_ENA_W { @@ -214,7 +209,6 @@ impl W { } #[doc = "Bit 5 - Core1 PIF area0 write monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_1_area_pif_0_wr_intr_ena( &mut self, ) -> CORE_1_AREA_PIF_0_WR_INTR_ENA_W { @@ -222,7 +216,6 @@ impl W { } #[doc = "Bit 6 - Core1 PIF area1 read monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_1_area_pif_1_rd_intr_ena( &mut self, ) -> CORE_1_AREA_PIF_1_RD_INTR_ENA_W { @@ -230,7 +223,6 @@ impl W { } #[doc = "Bit 7 - Core1 PIF area1 write monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_1_area_pif_1_wr_intr_ena( &mut self, ) -> CORE_1_AREA_PIF_1_WR_INTR_ENA_W { @@ -238,7 +230,6 @@ impl W { } #[doc = "Bit 8 - Core1 stackpoint overflow monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_1_sp_spill_min_intr_ena( &mut self, ) -> CORE_1_SP_SPILL_MIN_INTR_ENA_W { @@ -246,7 +237,6 @@ impl W { } #[doc = "Bit 9 - Core1 stackpoint underflow monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_1_sp_spill_max_intr_ena( &mut self, ) -> CORE_1_SP_SPILL_MAX_INTR_ENA_W { @@ -254,7 +244,6 @@ impl W { } #[doc = "Bit 10 - IBUS busy monitor interrupt enable"] #[inline(always)] - #[must_use] pub fn core_1_iram0_exception_monitor_intr_ena( &mut self, ) -> CORE_1_IRAM0_EXCEPTION_MONITOR_INTR_ENA_W { @@ -262,7 +251,6 @@ impl W { } #[doc = "Bit 11 - DBUS busy monitor interrupt enbale"] #[inline(always)] - #[must_use] pub fn core_1_dram0_exception_monitor_intr_ena( &mut self, ) -> CORE_1_DRAM0_EXCEPTION_MONITOR_INTR_ENA_W { diff --git a/esp32s3/src/assist_debug/core_1_montr_ena.rs b/esp32s3/src/assist_debug/core_1_montr_ena.rs index 4167808781..b171e581c3 100644 --- a/esp32s3/src/assist_debug/core_1_montr_ena.rs +++ b/esp32s3/src/assist_debug/core_1_montr_ena.rs @@ -152,7 +152,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Core1 dram0 area0 read monitor enable"] #[inline(always)] - #[must_use] pub fn core_1_area_dram0_0_rd_ena( &mut self, ) -> CORE_1_AREA_DRAM0_0_RD_ENA_W { @@ -160,7 +159,6 @@ impl W { } #[doc = "Bit 1 - Core1 dram0 area0 write monitor enable"] #[inline(always)] - #[must_use] pub fn core_1_area_dram0_0_wr_ena( &mut self, ) -> CORE_1_AREA_DRAM0_0_WR_ENA_W { @@ -168,7 +166,6 @@ impl W { } #[doc = "Bit 2 - Core1 dram0 area1 read monitor enable"] #[inline(always)] - #[must_use] pub fn core_1_area_dram0_1_rd_ena( &mut self, ) -> CORE_1_AREA_DRAM0_1_RD_ENA_W { @@ -176,7 +173,6 @@ impl W { } #[doc = "Bit 3 - Core1 dram0 area1 write monitor enable"] #[inline(always)] - #[must_use] pub fn core_1_area_dram0_1_wr_ena( &mut self, ) -> CORE_1_AREA_DRAM0_1_WR_ENA_W { @@ -184,7 +180,6 @@ impl W { } #[doc = "Bit 4 - Core1 PIF area0 read monitor enable"] #[inline(always)] - #[must_use] pub fn core_1_area_pif_0_rd_ena( &mut self, ) -> CORE_1_AREA_PIF_0_RD_ENA_W { @@ -192,7 +187,6 @@ impl W { } #[doc = "Bit 5 - Core1 PIF area0 write monitor enable"] #[inline(always)] - #[must_use] pub fn core_1_area_pif_0_wr_ena( &mut self, ) -> CORE_1_AREA_PIF_0_WR_ENA_W { @@ -200,7 +194,6 @@ impl W { } #[doc = "Bit 6 - Core1 PIF area1 read monitor enable"] #[inline(always)] - #[must_use] pub fn core_1_area_pif_1_rd_ena( &mut self, ) -> CORE_1_AREA_PIF_1_RD_ENA_W { @@ -208,7 +201,6 @@ impl W { } #[doc = "Bit 7 - Core1 PIF area1 write monitor enable"] #[inline(always)] - #[must_use] pub fn core_1_area_pif_1_wr_ena( &mut self, ) -> CORE_1_AREA_PIF_1_WR_ENA_W { @@ -216,19 +208,16 @@ impl W { } #[doc = "Bit 8 - Core1 stackpoint overflow monitor enable"] #[inline(always)] - #[must_use] pub fn core_1_sp_spill_min_ena(&mut self) -> CORE_1_SP_SPILL_MIN_ENA_W { CORE_1_SP_SPILL_MIN_ENA_W::new(self, 8) } #[doc = "Bit 9 - Core1 stackpoint underflow monitor enable"] #[inline(always)] - #[must_use] pub fn core_1_sp_spill_max_ena(&mut self) -> CORE_1_SP_SPILL_MAX_ENA_W { CORE_1_SP_SPILL_MAX_ENA_W::new(self, 9) } #[doc = "Bit 10 - IBUS busy monitor enable"] #[inline(always)] - #[must_use] pub fn core_1_iram0_exception_monitor_ena( &mut self, ) -> CORE_1_IRAM0_EXCEPTION_MONITOR_ENA_W { @@ -236,7 +225,6 @@ impl W { } #[doc = "Bit 11 - DBUS busy monitor enbale"] #[inline(always)] - #[must_use] pub fn core_1_dram0_exception_monitor_ena( &mut self, ) -> CORE_1_DRAM0_EXCEPTION_MONITOR_ENA_W { diff --git a/esp32s3/src/assist_debug/core_1_rcd_pdebugenable.rs b/esp32s3/src/assist_debug/core_1_rcd_pdebugenable.rs index bd4c8af783..9d7c76f337 100644 --- a/esp32s3/src/assist_debug/core_1_rcd_pdebugenable.rs +++ b/esp32s3/src/assist_debug/core_1_rcd_pdebugenable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Core1 Pdebugenable,set 1 to open Core1 Pdebug interface, then can get Core1 PC"] #[inline(always)] - #[must_use] pub fn core_1_rcd_pdebugenable( &mut self, ) -> CORE_1_RCD_PDEBUGENABLE_W { diff --git a/esp32s3/src/assist_debug/core_1_rcd_recording.rs b/esp32s3/src/assist_debug/core_1_rcd_recording.rs index feff662605..8121073bf9 100644 --- a/esp32s3/src/assist_debug/core_1_rcd_recording.rs +++ b/esp32s3/src/assist_debug/core_1_rcd_recording.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Pdebug record enable,set 1 to record Core1 pdebug interface signal"] #[inline(always)] - #[must_use] pub fn core_1_rcd_recording(&mut self) -> CORE_1_RCD_RECORDING_W { CORE_1_RCD_RECORDING_W::new(self, 0) } diff --git a/esp32s3/src/assist_debug/core_1_sp_max.rs b/esp32s3/src/assist_debug/core_1_sp_max.rs index adf62942a0..0db4de0c78 100644 --- a/esp32s3/src/assist_debug/core_1_sp_max.rs +++ b/esp32s3/src/assist_debug/core_1_sp_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - stack max value"] #[inline(always)] - #[must_use] pub fn core_1_sp_max(&mut self) -> CORE_1_SP_MAX_W { CORE_1_SP_MAX_W::new(self, 0) } diff --git a/esp32s3/src/assist_debug/core_1_sp_min.rs b/esp32s3/src/assist_debug/core_1_sp_min.rs index 5f409eceb5..47e3e1b8f7 100644 --- a/esp32s3/src/assist_debug/core_1_sp_min.rs +++ b/esp32s3/src/assist_debug/core_1_sp_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - stack min value"] #[inline(always)] - #[must_use] pub fn core_1_sp_min(&mut self) -> CORE_1_SP_MIN_W { CORE_1_SP_MIN_W::new(self, 0) } diff --git a/esp32s3/src/assist_debug/core_1_sp_unstable.rs b/esp32s3/src/assist_debug/core_1_sp_unstable.rs index bdd4130d14..29b6dbe7ca 100644 --- a/esp32s3/src/assist_debug/core_1_sp_unstable.rs +++ b/esp32s3/src/assist_debug/core_1_sp_unstable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - unstable period when window change,during this period no check stackpointer"] #[inline(always)] - #[must_use] pub fn core_1_sp_unstable(&mut self) -> CORE_1_SP_UNSTABLE_W { CORE_1_SP_UNSTABLE_W::new(self, 0) } diff --git a/esp32s3/src/assist_debug/core_x_iram0_dram0_exception_monitor_0.rs b/esp32s3/src/assist_debug/core_x_iram0_dram0_exception_monitor_0.rs index 49c90bbcfe..e389d924c2 100644 --- a/esp32s3/src/assist_debug/core_x_iram0_dram0_exception_monitor_0.rs +++ b/esp32s3/src/assist_debug/core_x_iram0_dram0_exception_monitor_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - busy monitor window cycle"] #[inline(always)] - #[must_use] pub fn core_x_iram0_dram0_limit_cycle_0( &mut self, ) -> CORE_X_IRAM0_DRAM0_LIMIT_CYCLE_0_W { diff --git a/esp32s3/src/assist_debug/core_x_iram0_dram0_exception_monitor_1.rs b/esp32s3/src/assist_debug/core_x_iram0_dram0_exception_monitor_1.rs index 8261c7d7f6..903a876d59 100644 --- a/esp32s3/src/assist_debug/core_x_iram0_dram0_exception_monitor_1.rs +++ b/esp32s3/src/assist_debug/core_x_iram0_dram0_exception_monitor_1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - non busy cycle,for example: when cycle=100 and cycle=10,it means that in 100 cycle, if busy access success time less than 10, it will trigger interrutpt"] #[inline(always)] - #[must_use] pub fn core_x_iram0_dram0_limit_cycle_1( &mut self, ) -> CORE_X_IRAM0_DRAM0_LIMIT_CYCLE_1_W { diff --git a/esp32s3/src/assist_debug/date.rs b/esp32s3/src/assist_debug/date.rs index 59663eb5e4..bf12654a29 100644 --- a/esp32s3/src/assist_debug/date.rs +++ b/esp32s3/src/assist_debug/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - version register"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s3/src/assist_debug/log_data_0.rs b/esp32s3/src/assist_debug/log_data_0.rs index 5941e0da20..1ce3be31a7 100644 --- a/esp32s3/src/assist_debug/log_data_0.rs +++ b/esp32s3/src/assist_debug/log_data_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - check data0"] #[inline(always)] - #[must_use] pub fn log_data_0(&mut self) -> LOG_DATA_0_W { LOG_DATA_0_W::new(self, 0) } diff --git a/esp32s3/src/assist_debug/log_data_1.rs b/esp32s3/src/assist_debug/log_data_1.rs index 80568933db..2aca66e050 100644 --- a/esp32s3/src/assist_debug/log_data_1.rs +++ b/esp32s3/src/assist_debug/log_data_1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - check data1"] #[inline(always)] - #[must_use] pub fn log_data_1(&mut self) -> LOG_DATA_1_W { LOG_DATA_1_W::new(self, 0) } diff --git a/esp32s3/src/assist_debug/log_data_2.rs b/esp32s3/src/assist_debug/log_data_2.rs index 086707d971..accb063e59 100644 --- a/esp32s3/src/assist_debug/log_data_2.rs +++ b/esp32s3/src/assist_debug/log_data_2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - check data2"] #[inline(always)] - #[must_use] pub fn log_data_2(&mut self) -> LOG_DATA_2_W { LOG_DATA_2_W::new(self, 0) } diff --git a/esp32s3/src/assist_debug/log_data_3.rs b/esp32s3/src/assist_debug/log_data_3.rs index e05d29da63..5b83205f23 100644 --- a/esp32s3/src/assist_debug/log_data_3.rs +++ b/esp32s3/src/assist_debug/log_data_3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - check data3"] #[inline(always)] - #[must_use] pub fn log_data_3(&mut self) -> LOG_DATA_3_W { LOG_DATA_3_W::new(self, 0) } diff --git a/esp32s3/src/assist_debug/log_data_mask.rs b/esp32s3/src/assist_debug/log_data_mask.rs index a77e7aa67a..9f17a7ab7f 100644 --- a/esp32s3/src/assist_debug/log_data_mask.rs +++ b/esp32s3/src/assist_debug/log_data_mask.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - data mask"] #[inline(always)] - #[must_use] pub fn log_data_size(&mut self) -> LOG_DATA_SIZE_W { LOG_DATA_SIZE_W::new(self, 0) } diff --git a/esp32s3/src/assist_debug/log_max.rs b/esp32s3/src/assist_debug/log_max.rs index 98e56cec63..d141bf5714 100644 --- a/esp32s3/src/assist_debug/log_max.rs +++ b/esp32s3/src/assist_debug/log_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - check region max addr"] #[inline(always)] - #[must_use] pub fn log_max(&mut self) -> LOG_MAX_W { LOG_MAX_W::new(self, 0) } diff --git a/esp32s3/src/assist_debug/log_mem_end.rs b/esp32s3/src/assist_debug/log_mem_end.rs index b74804229a..9c75e4f74c 100644 --- a/esp32s3/src/assist_debug/log_mem_end.rs +++ b/esp32s3/src/assist_debug/log_mem_end.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - mem end addr"] #[inline(always)] - #[must_use] pub fn log_mem_end(&mut self) -> LOG_MEM_END_W { LOG_MEM_END_W::new(self, 0) } diff --git a/esp32s3/src/assist_debug/log_mem_full_flag.rs b/esp32s3/src/assist_debug/log_mem_full_flag.rs index 9cd92dfbd9..a2e2358904 100644 --- a/esp32s3/src/assist_debug/log_mem_full_flag.rs +++ b/esp32s3/src/assist_debug/log_mem_full_flag.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - when it's 1,show that mem write loop morte than one time."] #[inline(always)] - #[must_use] pub fn log_mem_full_flag(&mut self) -> LOG_MEM_FULL_FLAG_W { LOG_MEM_FULL_FLAG_W::new(self, 0) } diff --git a/esp32s3/src/assist_debug/log_mem_start.rs b/esp32s3/src/assist_debug/log_mem_start.rs index 041aa30956..ee56f3a6d7 100644 --- a/esp32s3/src/assist_debug/log_mem_start.rs +++ b/esp32s3/src/assist_debug/log_mem_start.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - mem start addr"] #[inline(always)] - #[must_use] pub fn log_mem_start(&mut self) -> LOG_MEM_START_W { LOG_MEM_START_W::new(self, 0) } diff --git a/esp32s3/src/assist_debug/log_min.rs b/esp32s3/src/assist_debug/log_min.rs index 91e063e529..1e1c9c7bee 100644 --- a/esp32s3/src/assist_debug/log_min.rs +++ b/esp32s3/src/assist_debug/log_min.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - check region min addr"] #[inline(always)] - #[must_use] pub fn log_min(&mut self) -> LOG_MIN_W { LOG_MIN_W::new(self, 0) } diff --git a/esp32s3/src/assist_debug/log_setting.rs b/esp32s3/src/assist_debug/log_setting.rs index d135e9ca05..b47fb6567f 100644 --- a/esp32s3/src/assist_debug/log_setting.rs +++ b/esp32s3/src/assist_debug/log_setting.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - bus moniter enable: \\[0\\]Core1,\\[1\\]core1,\\[2\\]dma"] #[inline(always)] - #[must_use] pub fn log_ena(&mut self) -> LOG_ENA_W { LOG_ENA_W::new(self, 0) } #[doc = "Bits 3:5 - check_mode:0:write,1:word,2:halword,3:byte,4:doubleword,5:4word"] #[inline(always)] - #[must_use] pub fn log_mode(&mut self) -> LOG_MODE_W { LOG_MODE_W::new(self, 3) } #[doc = "Bit 6 - mem_loop enable,1 means that loop write"] #[inline(always)] - #[must_use] pub fn log_mem_loop_enable(&mut self) -> LOG_MEM_LOOP_ENABLE_W { LOG_MEM_LOOP_ENABLE_W::new(self, 6) } diff --git a/esp32s3/src/bb/bbpd_ctrl.rs b/esp32s3/src/bb/bbpd_ctrl.rs index 968dce20ce..6de8322c9b 100644 --- a/esp32s3/src/bb/bbpd_ctrl.rs +++ b/esp32s3/src/bb/bbpd_ctrl.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn dc_est_force_pd(&mut self) -> DC_EST_FORCE_PD_W { DC_EST_FORCE_PD_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn dc_est_force_pu(&mut self) -> DC_EST_FORCE_PU_W { DC_EST_FORCE_PU_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn fft_force_pd(&mut self) -> FFT_FORCE_PD_W { FFT_FORCE_PD_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn fft_force_pu(&mut self) -> FFT_FORCE_PU_W { FFT_FORCE_PU_W::new(self, 3) } diff --git a/esp32s3/src/dma.rs b/esp32s3/src/dma.rs index d9b0e04cb6..f974e6a247 100644 --- a/esp32s3/src/dma.rs +++ b/esp32s3/src/dma.rs @@ -51,7 +51,7 @@ impl RegisterBlock { #[allow(clippy::no_effect)] [(); 5][n]; unsafe { - &*(self as *const Self) + &*core::ptr::from_ref(self) .cast::() .add(972) .add(8 * n) @@ -63,7 +63,7 @@ impl RegisterBlock { #[inline(always)] pub fn in_sram_size_ch_iter(&self) -> impl Iterator { (0..5).map(move |n| unsafe { - &*(self as *const Self) + &*core::ptr::from_ref(self) .cast::() .add(972) .add(8 * n) @@ -76,7 +76,7 @@ impl RegisterBlock { #[allow(clippy::no_effect)] [(); 5][n]; unsafe { - &*(self as *const Self) + &*core::ptr::from_ref(self) .cast::() .add(976) .add(8 * n) @@ -88,7 +88,7 @@ impl RegisterBlock { #[inline(always)] pub fn out_sram_size_ch_iter(&self) -> impl Iterator { (0..5).map(move |n| unsafe { - &*(self as *const Self) + &*core::ptr::from_ref(self) .cast::() .add(976) .add(8 * n) diff --git a/esp32s3/src/dma/ahb_test.rs b/esp32s3/src/dma/ahb_test.rs index aed39b9b4b..267c4d1c67 100644 --- a/esp32s3/src/dma/ahb_test.rs +++ b/esp32s3/src/dma/ahb_test.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - reserved"] #[inline(always)] - #[must_use] pub fn ahb_testmode(&mut self) -> AHB_TESTMODE_W { AHB_TESTMODE_W::new(self, 0) } #[doc = "Bits 4:5 - reserved"] #[inline(always)] - #[must_use] pub fn ahb_testaddr(&mut self) -> AHB_TESTADDR_W { AHB_TESTADDR_W::new(self, 4) } diff --git a/esp32s3/src/dma/ch/in_conf0.rs b/esp32s3/src/dma/ch/in_conf0.rs index 5c5bfac39e..a73282b5fa 100644 --- a/esp32s3/src/dma/ch/in_conf0.rs +++ b/esp32s3/src/dma/ch/in_conf0.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to reset DMA channel 0 Rx FSM and Rx FIFO pointer."] #[inline(always)] - #[must_use] pub fn in_rst(&mut self) -> IN_RST_W { IN_RST_W::new(self, 0) } #[doc = "Bit 1 - reserved"] #[inline(always)] - #[must_use] pub fn in_loop_test(&mut self) -> IN_LOOP_TEST_W { IN_LOOP_TEST_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to 1 to enable INCR burst transfer for Rx channel 0 reading link descriptor when accessing internal SRAM."] #[inline(always)] - #[must_use] pub fn indscr_burst_en(&mut self) -> INDSCR_BURST_EN_W { INDSCR_BURST_EN_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to 1 to enable INCR burst transfer for Rx channel 0 receiving data when accessing internal SRAM."] #[inline(always)] - #[must_use] pub fn in_data_burst_en(&mut self) -> IN_DATA_BURST_EN_W { IN_DATA_BURST_EN_W::new(self, 3) } #[doc = "Bit 4 - Set this bit 1 to enable automatic transmitting data from memory to memory via DMA."] #[inline(always)] - #[must_use] pub fn mem_trans_en(&mut self) -> MEM_TRANS_EN_W { MEM_TRANS_EN_W::new(self, 4) } diff --git a/esp32s3/src/dma/ch/in_conf1.rs b/esp32s3/src/dma/ch/in_conf1.rs index a79b686ea7..0e6ebdd558 100644 --- a/esp32s3/src/dma/ch/in_conf1.rs +++ b/esp32s3/src/dma/ch/in_conf1.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - This register is used to generate the INFIFO_FULL_WM_INT interrupt when Rx channel 0 received byte number in Rx FIFO is up to the value of the register."] #[inline(always)] - #[must_use] pub fn dma_infifo_full_thrs(&mut self) -> DMA_INFIFO_FULL_THRS_W { DMA_INFIFO_FULL_THRS_W::new(self, 0) } #[doc = "Bit 12 - Set this bit to enable checking the owner attribute of the link descriptor."] #[inline(always)] - #[must_use] pub fn in_check_owner(&mut self) -> IN_CHECK_OWNER_W { IN_CHECK_OWNER_W::new(self, 12) } #[doc = "Bits 13:14 - Block size of Rx channel 0 when DMA access external SRAM. 0: 16 bytes 1: 32 bytes 2/3:reserved"] #[inline(always)] - #[must_use] pub fn in_ext_mem_bk_size(&mut self) -> IN_EXT_MEM_BK_SIZE_W { IN_EXT_MEM_BK_SIZE_W::new(self, 13) } diff --git a/esp32s3/src/dma/ch/in_int/clr.rs b/esp32s3/src/dma/ch/in_int/clr.rs index b3514726ff..a8cce21302 100644 --- a/esp32s3/src/dma/ch/in_int/clr.rs +++ b/esp32s3/src/dma/ch/in_int/clr.rs @@ -29,61 +29,51 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the IN_DONE_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_done(&mut self) -> IN_DONE_W { IN_DONE_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the IN_SUC_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_suc_eof(&mut self) -> IN_SUC_EOF_W { IN_SUC_EOF_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the IN_ERR_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_err_eof(&mut self) -> IN_ERR_EOF_W { IN_ERR_EOF_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the IN_DSCR_ERR_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_err(&mut self) -> IN_DSCR_ERR_W { IN_DSCR_ERR_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear the IN_DSCR_EMPTY_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_empty(&mut self) -> IN_DSCR_EMPTY_W { IN_DSCR_EMPTY_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the INFIFO_FULL_WM_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_infifo_full_wm(&mut self) -> DMA_INFIFO_FULL_WM_W { DMA_INFIFO_FULL_WM_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the INFIFO_OVF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_ovf_l1(&mut self) -> INFIFO_OVF_L1_W { INFIFO_OVF_L1_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the INFIFO_UDF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_udf_l1(&mut self) -> INFIFO_UDF_L1_W { INFIFO_UDF_L1_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the INFIFO_OVF_L3_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_ovf_l3(&mut self) -> INFIFO_OVF_L3_W { INFIFO_OVF_L3_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear the INFIFO_UDF_L3_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_udf_l3(&mut self) -> INFIFO_UDF_L3_W { INFIFO_UDF_L3_W::new(self, 9) } diff --git a/esp32s3/src/dma/ch/in_int/ena.rs b/esp32s3/src/dma/ch/in_int/ena.rs index ea4e010d02..f7eeea3b4b 100644 --- a/esp32s3/src/dma/ch/in_int/ena.rs +++ b/esp32s3/src/dma/ch/in_int/ena.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for the IN_DONE_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_done(&mut self) -> IN_DONE_W { IN_DONE_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the IN_SUC_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_suc_eof(&mut self) -> IN_SUC_EOF_W { IN_SUC_EOF_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the IN_ERR_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_err_eof(&mut self) -> IN_ERR_EOF_W { IN_ERR_EOF_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the IN_DSCR_ERR_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_err(&mut self) -> IN_DSCR_ERR_W { IN_DSCR_ERR_W::new(self, 3) } #[doc = "Bit 4 - The interrupt enable bit for the IN_DSCR_EMPTY_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_dscr_empty(&mut self) -> IN_DSCR_EMPTY_W { IN_DSCR_EMPTY_W::new(self, 4) } #[doc = "Bit 5 - The interrupt enable bit for the INFIFO_FULL_WM_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_full_wm(&mut self) -> INFIFO_FULL_WM_W { INFIFO_FULL_WM_W::new(self, 5) } #[doc = "Bit 6 - The interrupt enable bit for the INFIFO_OVF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_ovf_l1(&mut self) -> INFIFO_OVF_L1_W { INFIFO_OVF_L1_W::new(self, 6) } #[doc = "Bit 7 - The interrupt enable bit for the INFIFO_UDF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_udf_l1(&mut self) -> INFIFO_UDF_L1_W { INFIFO_UDF_L1_W::new(self, 7) } #[doc = "Bit 8 - The interrupt enable bit for the INFIFO_OVF_L3_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_ovf_l3(&mut self) -> INFIFO_OVF_L3_W { INFIFO_OVF_L3_W::new(self, 8) } #[doc = "Bit 9 - The interrupt enable bit for the INFIFO_UDF_L3_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn infifo_udf_l3(&mut self) -> INFIFO_UDF_L3_W { INFIFO_UDF_L3_W::new(self, 9) } diff --git a/esp32s3/src/dma/ch/in_int/raw.rs b/esp32s3/src/dma/ch/in_int/raw.rs index 3df6c5cda8..32e83decbc 100644 --- a/esp32s3/src/dma/ch/in_int/raw.rs +++ b/esp32s3/src/dma/ch/in_int/raw.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw interrupt bit turns to high level when the last data pointed by one inlink descriptor has been received for Rx channel 0."] #[inline(always)] - #[must_use] pub fn in_done(&mut self) -> IN_DONE_W { IN_DONE_W::new(self, 0) } #[doc = "Bit 1 - The raw interrupt bit turns to high level when the last data pointed by one inlink descriptor has been received for Rx channel 0. For UHCI0, the raw interrupt bit turns to high level when the last data pointed by one inlink descriptor has been received and no data error is detected for Rx channel 0."] #[inline(always)] - #[must_use] pub fn in_suc_eof(&mut self) -> IN_SUC_EOF_W { IN_SUC_EOF_W::new(self, 1) } #[doc = "Bit 2 - The raw interrupt bit turns to high level when data error is detected only in the case that the peripheral is UHCI0 for Rx channel 0. For other peripherals, this raw interrupt is reserved."] #[inline(always)] - #[must_use] pub fn in_err_eof(&mut self) -> IN_ERR_EOF_W { IN_ERR_EOF_W::new(self, 2) } #[doc = "Bit 3 - The raw interrupt bit turns to high level when detecting inlink descriptor error, including owner error, the second and third word error of inlink descriptor for Rx channel 0."] #[inline(always)] - #[must_use] pub fn in_dscr_err(&mut self) -> IN_DSCR_ERR_W { IN_DSCR_ERR_W::new(self, 3) } #[doc = "Bit 4 - The raw interrupt bit turns to high level when Rx buffer pointed by inlink is full and receiving data is not completed, but there is no more inlink for Rx channel 0."] #[inline(always)] - #[must_use] pub fn in_dscr_empty(&mut self) -> IN_DSCR_EMPTY_W { IN_DSCR_EMPTY_W::new(self, 4) } #[doc = "Bit 5 - The raw interrupt bit turns to high level when received data byte number is up to threshold configured by REG_DMA_INFIFO_FULL_THRS_CH0 in Rx FIFO of channel 0."] #[inline(always)] - #[must_use] pub fn infifo_full_wm(&mut self) -> INFIFO_FULL_WM_W { INFIFO_FULL_WM_W::new(self, 5) } #[doc = "Bit 6 - This raw interrupt bit turns to high level when level 1 fifo of Rx channel 0 is overflow."] #[inline(always)] - #[must_use] pub fn infifo_ovf_l1(&mut self) -> INFIFO_OVF_L1_W { INFIFO_OVF_L1_W::new(self, 6) } #[doc = "Bit 7 - This raw interrupt bit turns to high level when level 1 fifo of Rx channel 0 is underflow."] #[inline(always)] - #[must_use] pub fn infifo_udf_l1(&mut self) -> INFIFO_UDF_L1_W { INFIFO_UDF_L1_W::new(self, 7) } #[doc = "Bit 8 - This raw interrupt bit turns to high level when level 3 fifo of Rx channel 0 is overflow."] #[inline(always)] - #[must_use] pub fn infifo_ovf_l3(&mut self) -> INFIFO_OVF_L3_W { INFIFO_OVF_L3_W::new(self, 8) } #[doc = "Bit 9 - This raw interrupt bit turns to high level when level 3 fifo of Rx channel 0 is underflow."] #[inline(always)] - #[must_use] pub fn infifo_udf_l3(&mut self) -> INFIFO_UDF_L3_W { INFIFO_UDF_L3_W::new(self, 9) } diff --git a/esp32s3/src/dma/ch/in_link.rs b/esp32s3/src/dma/ch/in_link.rs index bf9fbcb3e9..b0c1657016 100644 --- a/esp32s3/src/dma/ch/in_link.rs +++ b/esp32s3/src/dma/ch/in_link.rs @@ -72,31 +72,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - This register stores the 20 least significant bits of the first inlink descriptor's address."] #[inline(always)] - #[must_use] pub fn inlink_addr(&mut self) -> INLINK_ADDR_W { INLINK_ADDR_W::new(self, 0) } #[doc = "Bit 20 - Set this bit to return to current inlink descriptor's address, when there are some errors in current receiving data."] #[inline(always)] - #[must_use] pub fn inlink_auto_ret(&mut self) -> INLINK_AUTO_RET_W { INLINK_AUTO_RET_W::new(self, 20) } #[doc = "Bit 21 - Set this bit to stop dealing with the inlink descriptors."] #[inline(always)] - #[must_use] pub fn inlink_stop(&mut self) -> INLINK_STOP_W { INLINK_STOP_W::new(self, 21) } #[doc = "Bit 22 - Set this bit to start dealing with the inlink descriptors."] #[inline(always)] - #[must_use] pub fn inlink_start(&mut self) -> INLINK_START_W { INLINK_START_W::new(self, 22) } #[doc = "Bit 23 - Set this bit to mount a new inlink descriptor."] #[inline(always)] - #[must_use] pub fn inlink_restart(&mut self) -> INLINK_RESTART_W { INLINK_RESTART_W::new(self, 23) } diff --git a/esp32s3/src/dma/ch/in_peri_sel.rs b/esp32s3/src/dma/ch/in_peri_sel.rs index be69a9d718..ab2de18a62 100644 --- a/esp32s3/src/dma/ch/in_peri_sel.rs +++ b/esp32s3/src/dma/ch/in_peri_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - This register is used to select peripheral for Rx channel 0. 0:SPI2. 1: SPI3. 2: UHCI0. 3: I2S0. 4: I2S1. 5: LCD_CAM. 6: AES. 7: SHA. 8: ADC_DAC. 9: RMT."] #[inline(always)] - #[must_use] pub fn peri_in_sel(&mut self) -> PERI_IN_SEL_W { PERI_IN_SEL_W::new(self, 0) } diff --git a/esp32s3/src/dma/ch/in_pop.rs b/esp32s3/src/dma/ch/in_pop.rs index a70e43a4b5..158d3e4ab0 100644 --- a/esp32s3/src/dma/ch/in_pop.rs +++ b/esp32s3/src/dma/ch/in_pop.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - Set this bit to pop data from DMA FIFO."] #[inline(always)] - #[must_use] pub fn infifo_pop(&mut self) -> INFIFO_POP_W { INFIFO_POP_W::new(self, 12) } diff --git a/esp32s3/src/dma/ch/in_pri.rs b/esp32s3/src/dma/ch/in_pri.rs index 740f8df3cd..38e76ef287 100644 --- a/esp32s3/src/dma/ch/in_pri.rs +++ b/esp32s3/src/dma/ch/in_pri.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - The priority of Rx channel 0. The larger of the value, the higher of the priority."] #[inline(always)] - #[must_use] pub fn rx_pri(&mut self) -> RX_PRI_W { RX_PRI_W::new(self, 0) } diff --git a/esp32s3/src/dma/ch/in_wight.rs b/esp32s3/src/dma/ch/in_wight.rs index dcb8605638..b143136b84 100644 --- a/esp32s3/src/dma/ch/in_wight.rs +++ b/esp32s3/src/dma/ch/in_wight.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 8:11 - The weight of Rx channel 0."] #[inline(always)] - #[must_use] pub fn rx_weight(&mut self) -> RX_WEIGHT_W { RX_WEIGHT_W::new(self, 8) } diff --git a/esp32s3/src/dma/ch/out_conf0.rs b/esp32s3/src/dma/ch/out_conf0.rs index 19497e03f8..6439e0039c 100644 --- a/esp32s3/src/dma/ch/out_conf0.rs +++ b/esp32s3/src/dma/ch/out_conf0.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to reset DMA channel 0 Tx FSM and Tx FIFO pointer."] #[inline(always)] - #[must_use] pub fn out_rst(&mut self) -> OUT_RST_W { OUT_RST_W::new(self, 0) } #[doc = "Bit 1 - reserved"] #[inline(always)] - #[must_use] pub fn out_loop_test(&mut self) -> OUT_LOOP_TEST_W { OUT_LOOP_TEST_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to enable automatic outlink-writeback when all the data in tx buffer has been transmitted."] #[inline(always)] - #[must_use] pub fn out_auto_wrback(&mut self) -> OUT_AUTO_WRBACK_W { OUT_AUTO_WRBACK_W::new(self, 2) } #[doc = "Bit 3 - EOF flag generation mode when transmitting data. 1: EOF flag for Tx channel 0 is generated when data need to transmit has been popped from FIFO in DMA"] #[inline(always)] - #[must_use] pub fn out_eof_mode(&mut self) -> OUT_EOF_MODE_W { OUT_EOF_MODE_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to 1 to enable INCR burst transfer for Tx channel 0 reading link descriptor when accessing internal SRAM."] #[inline(always)] - #[must_use] pub fn outdscr_burst_en(&mut self) -> OUTDSCR_BURST_EN_W { OUTDSCR_BURST_EN_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to 1 to enable INCR burst transfer for Tx channel 0 transmitting data when accessing internal SRAM."] #[inline(always)] - #[must_use] pub fn out_data_burst_en(&mut self) -> OUT_DATA_BURST_EN_W { OUT_DATA_BURST_EN_W::new(self, 5) } diff --git a/esp32s3/src/dma/ch/out_conf1.rs b/esp32s3/src/dma/ch/out_conf1.rs index 67262e8da7..61edccad83 100644 --- a/esp32s3/src/dma/ch/out_conf1.rs +++ b/esp32s3/src/dma/ch/out_conf1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - Set this bit to enable checking the owner attribute of the link descriptor."] #[inline(always)] - #[must_use] pub fn out_check_owner(&mut self) -> OUT_CHECK_OWNER_W { OUT_CHECK_OWNER_W::new(self, 12) } #[doc = "Bits 13:14 - Block size of Tx channel 0 when DMA access external SRAM. 0: 16 bytes 1: 32 bytes 2/3:reserved"] #[inline(always)] - #[must_use] pub fn out_ext_mem_bk_size(&mut self) -> OUT_EXT_MEM_BK_SIZE_W { OUT_EXT_MEM_BK_SIZE_W::new(self, 13) } diff --git a/esp32s3/src/dma/ch/out_int/clr.rs b/esp32s3/src/dma/ch/out_int/clr.rs index bc91ec6c31..e9bcdc0388 100644 --- a/esp32s3/src/dma/ch/out_int/clr.rs +++ b/esp32s3/src/dma/ch/out_int/clr.rs @@ -25,49 +25,41 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the OUT_DONE_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_done(&mut self) -> OUT_DONE_W { OUT_DONE_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the OUT_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the OUT_DSCR_ERR_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_dscr_err(&mut self) -> OUT_DSCR_ERR_W { OUT_DSCR_ERR_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the OUT_TOTAL_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_total_eof(&mut self) -> OUT_TOTAL_EOF_W { OUT_TOTAL_EOF_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear the OUTFIFO_OVF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_ovf_l1(&mut self) -> OUTFIFO_OVF_L1_W { OUTFIFO_OVF_L1_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the OUTFIFO_UDF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_udf_l1(&mut self) -> OUTFIFO_UDF_L1_W { OUTFIFO_UDF_L1_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the OUTFIFO_OVF_L3_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_ovf_l3(&mut self) -> OUTFIFO_OVF_L3_W { OUTFIFO_OVF_L3_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the OUTFIFO_UDF_L3_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_udf_l3(&mut self) -> OUTFIFO_UDF_L3_W { OUTFIFO_UDF_L3_W::new(self, 7) } diff --git a/esp32s3/src/dma/ch/out_int/ena.rs b/esp32s3/src/dma/ch/out_int/ena.rs index 3d92059e7f..405a78c6ef 100644 --- a/esp32s3/src/dma/ch/out_int/ena.rs +++ b/esp32s3/src/dma/ch/out_int/ena.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for the OUT_DONE_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_done(&mut self) -> OUT_DONE_W { OUT_DONE_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the OUT_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the OUT_DSCR_ERR_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_dscr_err(&mut self) -> OUT_DSCR_ERR_W { OUT_DSCR_ERR_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the OUT_TOTAL_EOF_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_total_eof(&mut self) -> OUT_TOTAL_EOF_W { OUT_TOTAL_EOF_W::new(self, 3) } #[doc = "Bit 4 - The interrupt enable bit for the OUTFIFO_OVF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_ovf_l1(&mut self) -> OUTFIFO_OVF_L1_W { OUTFIFO_OVF_L1_W::new(self, 4) } #[doc = "Bit 5 - The interrupt enable bit for the OUTFIFO_UDF_L1_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_udf_l1(&mut self) -> OUTFIFO_UDF_L1_W { OUTFIFO_UDF_L1_W::new(self, 5) } #[doc = "Bit 6 - The interrupt enable bit for the OUTFIFO_OVF_L3_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_ovf_l3(&mut self) -> OUTFIFO_OVF_L3_W { OUTFIFO_OVF_L3_W::new(self, 6) } #[doc = "Bit 7 - The interrupt enable bit for the OUTFIFO_UDF_L3_CH_INT interrupt."] #[inline(always)] - #[must_use] pub fn outfifo_udf_l3(&mut self) -> OUTFIFO_UDF_L3_W { OUTFIFO_UDF_L3_W::new(self, 7) } diff --git a/esp32s3/src/dma/ch/out_int/raw.rs b/esp32s3/src/dma/ch/out_int/raw.rs index d5d746c5f1..7bf1926da0 100644 --- a/esp32s3/src/dma/ch/out_int/raw.rs +++ b/esp32s3/src/dma/ch/out_int/raw.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw interrupt bit turns to high level when the last data pointed by one outlink descriptor has been transmitted to peripherals for Tx channel 0."] #[inline(always)] - #[must_use] pub fn out_done(&mut self) -> OUT_DONE_W { OUT_DONE_W::new(self, 0) } #[doc = "Bit 1 - The raw interrupt bit turns to high level when the last data pointed by one outlink descriptor has been read from memory for Tx channel 0."] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 1) } #[doc = "Bit 2 - The raw interrupt bit turns to high level when detecting outlink descriptor error, including owner error, the second and third word error of outlink descriptor for Tx channel 0."] #[inline(always)] - #[must_use] pub fn out_dscr_err(&mut self) -> OUT_DSCR_ERR_W { OUT_DSCR_ERR_W::new(self, 2) } #[doc = "Bit 3 - The raw interrupt bit turns to high level when data corresponding a outlink (includes one link descriptor or few link descriptors) is transmitted out for Tx channel 0."] #[inline(always)] - #[must_use] pub fn out_total_eof(&mut self) -> OUT_TOTAL_EOF_W { OUT_TOTAL_EOF_W::new(self, 3) } #[doc = "Bit 4 - This raw interrupt bit turns to high level when level 1 fifo of Tx channel 0 is overflow."] #[inline(always)] - #[must_use] pub fn outfifo_ovf_l1(&mut self) -> OUTFIFO_OVF_L1_W { OUTFIFO_OVF_L1_W::new(self, 4) } #[doc = "Bit 5 - This raw interrupt bit turns to high level when level 1 fifo of Tx channel 0 is underflow."] #[inline(always)] - #[must_use] pub fn outfifo_udf_l1(&mut self) -> OUTFIFO_UDF_L1_W { OUTFIFO_UDF_L1_W::new(self, 5) } #[doc = "Bit 6 - This raw interrupt bit turns to high level when level 3 fifo of Tx channel 0 is overflow."] #[inline(always)] - #[must_use] pub fn outfifo_ovf_l3(&mut self) -> OUTFIFO_OVF_L3_W { OUTFIFO_OVF_L3_W::new(self, 6) } #[doc = "Bit 7 - This raw interrupt bit turns to high level when level 3 fifo of Tx channel 0 is underflow."] #[inline(always)] - #[must_use] pub fn outfifo_udf_l3(&mut self) -> OUTFIFO_UDF_L3_W { OUTFIFO_UDF_L3_W::new(self, 7) } diff --git a/esp32s3/src/dma/ch/out_link.rs b/esp32s3/src/dma/ch/out_link.rs index 18e90ef418..652a9622b8 100644 --- a/esp32s3/src/dma/ch/out_link.rs +++ b/esp32s3/src/dma/ch/out_link.rs @@ -62,25 +62,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - This register stores the 20 least significant bits of the first outlink descriptor's address."] #[inline(always)] - #[must_use] pub fn outlink_addr(&mut self) -> OUTLINK_ADDR_W { OUTLINK_ADDR_W::new(self, 0) } #[doc = "Bit 20 - Set this bit to stop dealing with the outlink descriptors."] #[inline(always)] - #[must_use] pub fn outlink_stop(&mut self) -> OUTLINK_STOP_W { OUTLINK_STOP_W::new(self, 20) } #[doc = "Bit 21 - Set this bit to start dealing with the outlink descriptors."] #[inline(always)] - #[must_use] pub fn outlink_start(&mut self) -> OUTLINK_START_W { OUTLINK_START_W::new(self, 21) } #[doc = "Bit 22 - Set this bit to restart a new outlink from the last address."] #[inline(always)] - #[must_use] pub fn outlink_restart(&mut self) -> OUTLINK_RESTART_W { OUTLINK_RESTART_W::new(self, 22) } diff --git a/esp32s3/src/dma/ch/out_peri_sel.rs b/esp32s3/src/dma/ch/out_peri_sel.rs index a1c3ba422c..aa0f4aeee9 100644 --- a/esp32s3/src/dma/ch/out_peri_sel.rs +++ b/esp32s3/src/dma/ch/out_peri_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - This register is used to select peripheral for Tx channel 0. 0:SPI2. 1: SPI3. 2: UHCI0. 3: I2S0. 4: I2S1. 5: LCD_CAM. 6: AES. 7: SHA. 8: ADC_DAC. 9: RMT."] #[inline(always)] - #[must_use] pub fn peri_out_sel(&mut self) -> PERI_OUT_SEL_W { PERI_OUT_SEL_W::new(self, 0) } diff --git a/esp32s3/src/dma/ch/out_pri.rs b/esp32s3/src/dma/ch/out_pri.rs index 215bd1ef1e..554b24e4cd 100644 --- a/esp32s3/src/dma/ch/out_pri.rs +++ b/esp32s3/src/dma/ch/out_pri.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - The priority of Tx channel 0. The larger of the value, the higher of the priority."] #[inline(always)] - #[must_use] pub fn tx_pri(&mut self) -> TX_PRI_W { TX_PRI_W::new(self, 0) } diff --git a/esp32s3/src/dma/ch/out_push.rs b/esp32s3/src/dma/ch/out_push.rs index ea1185c8df..ca913c3847 100644 --- a/esp32s3/src/dma/ch/out_push.rs +++ b/esp32s3/src/dma/ch/out_push.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register stores the data that need to be pushed into DMA FIFO."] #[inline(always)] - #[must_use] pub fn outfifo_wdata(&mut self) -> OUTFIFO_WDATA_W { OUTFIFO_WDATA_W::new(self, 0) } #[doc = "Bit 9 - Set this bit to push data into DMA FIFO."] #[inline(always)] - #[must_use] pub fn outfifo_push(&mut self) -> OUTFIFO_PUSH_W { OUTFIFO_PUSH_W::new(self, 9) } diff --git a/esp32s3/src/dma/ch/out_wight.rs b/esp32s3/src/dma/ch/out_wight.rs index d4bb2a1611..2fcaa3b2c5 100644 --- a/esp32s3/src/dma/ch/out_wight.rs +++ b/esp32s3/src/dma/ch/out_wight.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 8:11 - The weight of Tx channel 0."] #[inline(always)] - #[must_use] pub fn tx_weight(&mut self) -> TX_WEIGHT_W { TX_WEIGHT_W::new(self, 8) } diff --git a/esp32s3/src/dma/date.rs b/esp32s3/src/dma/date.rs index bc7cab1b15..409b614404 100644 --- a/esp32s3/src/dma/date.rs +++ b/esp32s3/src/dma/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - register version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s3/src/dma/extmem_reject_int_clr.rs b/esp32s3/src/dma/extmem_reject_int_clr.rs index 48d2b64857..b07a26522a 100644 --- a/esp32s3/src/dma/extmem_reject_int_clr.rs +++ b/esp32s3/src/dma/extmem_reject_int_clr.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the EXTMEM_REJECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn extmem_reject_int_clr(&mut self) -> EXTMEM_REJECT_INT_CLR_W { EXTMEM_REJECT_INT_CLR_W::new(self, 0) } diff --git a/esp32s3/src/dma/extmem_reject_int_ena.rs b/esp32s3/src/dma/extmem_reject_int_ena.rs index 0c436bf543..e4ce5fbf1f 100644 --- a/esp32s3/src/dma/extmem_reject_int_ena.rs +++ b/esp32s3/src/dma/extmem_reject_int_ena.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for the EXTMEM_REJECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn extmem_reject_int_ena(&mut self) -> EXTMEM_REJECT_INT_ENA_W { EXTMEM_REJECT_INT_ENA_W::new(self, 0) } diff --git a/esp32s3/src/dma/extmem_reject_int_raw.rs b/esp32s3/src/dma/extmem_reject_int_raw.rs index 805b4d3cd8..625cf4b94a 100644 --- a/esp32s3/src/dma/extmem_reject_int_raw.rs +++ b/esp32s3/src/dma/extmem_reject_int_raw.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw interrupt bit turns to high level when accessing external RAM is rejected by permission control."] #[inline(always)] - #[must_use] pub fn extmem_reject_int_raw(&mut self) -> EXTMEM_REJECT_INT_RAW_W { EXTMEM_REJECT_INT_RAW_W::new(self, 0) } diff --git a/esp32s3/src/dma/in_sram_size_ch.rs b/esp32s3/src/dma/in_sram_size_ch.rs index 0e30aff208..012387ae3e 100644 --- a/esp32s3/src/dma/in_sram_size_ch.rs +++ b/esp32s3/src/dma/in_sram_size_ch.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - This register is used to configure the size of L2 Tx FIFO for Rx channel 0. 0:16 bytes. 1:24 bytes. 2:32 bytes. 3: 40 bytes. 4: 48 bytes. 5:56 bytes. 6: 64 bytes. 7: 72 bytes. 8: 80 bytes."] #[inline(always)] - #[must_use] pub fn in_size(&mut self) -> IN_SIZE_W { IN_SIZE_W::new(self, 0) } diff --git a/esp32s3/src/dma/misc_conf.rs b/esp32s3/src/dma/misc_conf.rs index b446f6300c..a25ae0eba0 100644 --- a/esp32s3/src/dma/misc_conf.rs +++ b/esp32s3/src/dma/misc_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit, then clear this bit to reset the internal ahb FSM."] #[inline(always)] - #[must_use] pub fn ahbm_rst_inter(&mut self) -> AHBM_RST_INTER_W { AHBM_RST_INTER_W::new(self, 0) } #[doc = "Bit 1 - Set this bit, then clear this bit to reset the external ahb FSM."] #[inline(always)] - #[must_use] pub fn ahbm_rst_exter(&mut self) -> AHBM_RST_EXTER_W { AHBM_RST_EXTER_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to disable priority arbitration function."] #[inline(always)] - #[must_use] pub fn arb_pri_dis(&mut self) -> ARB_PRI_DIS_W { ARB_PRI_DIS_W::new(self, 2) } #[doc = "Bit 4 - 1'h1: Force clock on for register. 1'h0: Support clock only when application writes registers."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 4) } diff --git a/esp32s3/src/dma/out_sram_size_ch.rs b/esp32s3/src/dma/out_sram_size_ch.rs index 2b83b9da34..080588fe8f 100644 --- a/esp32s3/src/dma/out_sram_size_ch.rs +++ b/esp32s3/src/dma/out_sram_size_ch.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - This register is used to configure the size of L2 Tx FIFO for Tx channel 0. 0:16 bytes. 1:24 bytes. 2:32 bytes. 3: 40 bytes. 4: 48 bytes. 5:56 bytes. 6: 64 bytes. 7: 72 bytes. 8: 80 bytes."] #[inline(always)] - #[must_use] pub fn out_size(&mut self) -> OUT_SIZE_W { OUT_SIZE_W::new(self, 0) } diff --git a/esp32s3/src/dma/pd_conf.rs b/esp32s3/src/dma/pd_conf.rs index 81b9bb0b01..3d6bd6bffd 100644 --- a/esp32s3/src/dma/pd_conf.rs +++ b/esp32s3/src/dma/pd_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 4 - Set this bit to force power down DMA internal memory."] #[inline(always)] - #[must_use] pub fn dma_ram_force_pd(&mut self) -> DMA_RAM_FORCE_PD_W { DMA_RAM_FORCE_PD_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to force power up DMA internal memory"] #[inline(always)] - #[must_use] pub fn dma_ram_force_pu(&mut self) -> DMA_RAM_FORCE_PU_W { DMA_RAM_FORCE_PU_W::new(self, 5) } #[doc = "Bit 6 - 1: Force to open the clock and bypass the gate-clock when accessing the RAM in DMA. 0: A gate-clock will be used when accessing the RAM in DMA."] #[inline(always)] - #[must_use] pub fn dma_ram_clk_fo(&mut self) -> DMA_RAM_CLK_FO_W { DMA_RAM_CLK_FO_W::new(self, 6) } diff --git a/esp32s3/src/ds/date.rs b/esp32s3/src/ds/date.rs index 2af9611b50..db49879ad1 100644 --- a/esp32s3/src/ds/date.rs +++ b/esp32s3/src/ds/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - ds version information"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s3/src/ds/iv_.rs b/esp32s3/src/ds/iv_.rs index 32f4e0550c..442461fc79 100644 --- a/esp32s3/src/ds/iv_.rs +++ b/esp32s3/src/ds/iv_.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stores IV block data"] #[inline(always)] - #[must_use] pub fn iv(&mut self) -> IV_W { IV_W::new(self, 0) } diff --git a/esp32s3/src/ds/set_finish.rs b/esp32s3/src/ds/set_finish.rs index 438f904447..7c92f1c4ac 100644 --- a/esp32s3/src/ds/set_finish.rs +++ b/esp32s3/src/ds/set_finish.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to this register to end DS operation."] #[inline(always)] - #[must_use] pub fn set_finish(&mut self) -> SET_FINISH_W { SET_FINISH_W::new(self, 0) } diff --git a/esp32s3/src/ds/set_me.rs b/esp32s3/src/ds/set_me.rs index 0648c538e8..b60b3df552 100644 --- a/esp32s3/src/ds/set_me.rs +++ b/esp32s3/src/ds/set_me.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to this register to start DS operation."] #[inline(always)] - #[must_use] pub fn set_me(&mut self) -> SET_ME_W { SET_ME_W::new(self, 0) } diff --git a/esp32s3/src/ds/set_start.rs b/esp32s3/src/ds/set_start.rs index a6e4457868..273b988697 100644 --- a/esp32s3/src/ds/set_start.rs +++ b/esp32s3/src/ds/set_start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to this register to active the DS peripheral"] #[inline(always)] - #[must_use] pub fn set_start(&mut self) -> SET_START_W { SET_START_W::new(self, 0) } diff --git a/esp32s3/src/efuse/clk.rs b/esp32s3/src/efuse/clk.rs index 54fe331005..f9d86ac18a 100644 --- a/esp32s3/src/efuse/clk.rs +++ b/esp32s3/src/efuse/clk.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to force eFuse SRAM into power-saving mode."] #[inline(always)] - #[must_use] pub fn efuse_mem_force_pd(&mut self) -> EFUSE_MEM_FORCE_PD_W { EFUSE_MEM_FORCE_PD_W::new(self, 0) } #[doc = "Bit 1 - Set this bit and force to activate clock signal of eFuse SRAM."] #[inline(always)] - #[must_use] pub fn mem_clk_force_on(&mut self) -> MEM_CLK_FORCE_ON_W { MEM_CLK_FORCE_ON_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to force eFuse SRAM into working mode."] #[inline(always)] - #[must_use] pub fn efuse_mem_force_pu(&mut self) -> EFUSE_MEM_FORCE_PU_W { EFUSE_MEM_FORCE_PU_W::new(self, 2) } #[doc = "Bit 16 - Set this bit and force to enable clock signal of eFuse memory."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 16) } diff --git a/esp32s3/src/efuse/cmd.rs b/esp32s3/src/efuse/cmd.rs index baaf4145e4..fe0688f848 100644 --- a/esp32s3/src/efuse/cmd.rs +++ b/esp32s3/src/efuse/cmd.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to send read command."] #[inline(always)] - #[must_use] pub fn read_cmd(&mut self) -> READ_CMD_W { READ_CMD_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to send programming command."] #[inline(always)] - #[must_use] pub fn pgm_cmd(&mut self) -> PGM_CMD_W { PGM_CMD_W::new(self, 1) } #[doc = "Bits 2:5 - The serial number of the block to be programmed. Value 0-10 corresponds to block number 0-10, respectively."] #[inline(always)] - #[must_use] pub fn blk_num(&mut self) -> BLK_NUM_W { BLK_NUM_W::new(self, 2) } diff --git a/esp32s3/src/efuse/conf.rs b/esp32s3/src/efuse/conf.rs index b5fdc4c1ad..68c5c3c6e9 100644 --- a/esp32s3/src/efuse/conf.rs +++ b/esp32s3/src/efuse/conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - 0x5A5A: Operate programming command 0x5AA5: Operate read command."] #[inline(always)] - #[must_use] pub fn op_code(&mut self) -> OP_CODE_W { OP_CODE_W::new(self, 0) } diff --git a/esp32s3/src/efuse/dac_conf.rs b/esp32s3/src/efuse/dac_conf.rs index 386dc3b935..dbc17b47fc 100644 --- a/esp32s3/src/efuse/dac_conf.rs +++ b/esp32s3/src/efuse/dac_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Controls the division factor of the rising clock of the programming voltage."] #[inline(always)] - #[must_use] pub fn dac_clk_div(&mut self) -> DAC_CLK_DIV_W { DAC_CLK_DIV_W::new(self, 0) } #[doc = "Bit 8 - Don't care."] #[inline(always)] - #[must_use] pub fn dac_clk_pad_sel(&mut self) -> DAC_CLK_PAD_SEL_W { DAC_CLK_PAD_SEL_W::new(self, 8) } #[doc = "Bits 9:16 - Controls the rising period of the programming voltage."] #[inline(always)] - #[must_use] pub fn dac_num(&mut self) -> DAC_NUM_W { DAC_NUM_W::new(self, 9) } #[doc = "Bit 17 - Reduces the power supply of the programming voltage."] #[inline(always)] - #[must_use] pub fn oe_clr(&mut self) -> OE_CLR_W { OE_CLR_W::new(self, 17) } diff --git a/esp32s3/src/efuse/date.rs b/esp32s3/src/efuse/date.rs index d866b2c4c3..a0b894a1d3 100644 --- a/esp32s3/src/efuse/date.rs +++ b/esp32s3/src/efuse/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Stores eFuse version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s3/src/efuse/int_clr.rs b/esp32s3/src/efuse/int_clr.rs index 670d58f7e5..230f4356f1 100644 --- a/esp32s3/src/efuse/int_clr.rs +++ b/esp32s3/src/efuse/int_clr.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The clear signal for read_done interrupt."] #[inline(always)] - #[must_use] pub fn read_done(&mut self) -> READ_DONE_W { READ_DONE_W::new(self, 0) } #[doc = "Bit 1 - The clear signal for pgm_done interrupt."] #[inline(always)] - #[must_use] pub fn pgm_done(&mut self) -> PGM_DONE_W { PGM_DONE_W::new(self, 1) } diff --git a/esp32s3/src/efuse/int_ena.rs b/esp32s3/src/efuse/int_ena.rs index 424c4f079d..3d4c9086ee 100644 --- a/esp32s3/src/efuse/int_ena.rs +++ b/esp32s3/src/efuse/int_ena.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The enable signal for read_done interrupt."] #[inline(always)] - #[must_use] pub fn read_done(&mut self) -> READ_DONE_W { READ_DONE_W::new(self, 0) } #[doc = "Bit 1 - The enable signal for pgm_done interrupt."] #[inline(always)] - #[must_use] pub fn pgm_done(&mut self) -> PGM_DONE_W { PGM_DONE_W::new(self, 1) } diff --git a/esp32s3/src/efuse/int_raw.rs b/esp32s3/src/efuse/int_raw.rs index 6bfa5bd172..a187c9e496 100644 --- a/esp32s3/src/efuse/int_raw.rs +++ b/esp32s3/src/efuse/int_raw.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw bit signal for read_done interrupt."] #[inline(always)] - #[must_use] pub fn read_done(&mut self) -> READ_DONE_W { READ_DONE_W::new(self, 0) } #[doc = "Bit 1 - The raw bit signal for pgm_done interrupt."] #[inline(always)] - #[must_use] pub fn pgm_done(&mut self) -> PGM_DONE_W { PGM_DONE_W::new(self, 1) } diff --git a/esp32s3/src/efuse/pgm_check_value0.rs b/esp32s3/src/efuse/pgm_check_value0.rs index bed5588bf9..165a5a55b2 100644 --- a/esp32s3/src/efuse/pgm_check_value0.rs +++ b/esp32s3/src/efuse/pgm_check_value0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The content of the 0th 32-bit RS code to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_rs_data_0(&mut self) -> PGM_RS_DATA_0_W { PGM_RS_DATA_0_W::new(self, 0) } diff --git a/esp32s3/src/efuse/pgm_check_value1.rs b/esp32s3/src/efuse/pgm_check_value1.rs index 585f92eb55..0d04132207 100644 --- a/esp32s3/src/efuse/pgm_check_value1.rs +++ b/esp32s3/src/efuse/pgm_check_value1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The content of the 1st 32-bit RS code to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_rs_data_1(&mut self) -> PGM_RS_DATA_1_W { PGM_RS_DATA_1_W::new(self, 0) } diff --git a/esp32s3/src/efuse/pgm_check_value2.rs b/esp32s3/src/efuse/pgm_check_value2.rs index d3c0a50f20..bb85d3697c 100644 --- a/esp32s3/src/efuse/pgm_check_value2.rs +++ b/esp32s3/src/efuse/pgm_check_value2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The content of the 2nd 32-bit RS code to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_rs_data_2(&mut self) -> PGM_RS_DATA_2_W { PGM_RS_DATA_2_W::new(self, 0) } diff --git a/esp32s3/src/efuse/pgm_data0.rs b/esp32s3/src/efuse/pgm_data0.rs index 2676c1f6a5..9691777d12 100644 --- a/esp32s3/src/efuse/pgm_data0.rs +++ b/esp32s3/src/efuse/pgm_data0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The content of the 0th 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_0(&mut self) -> PGM_DATA_0_W { PGM_DATA_0_W::new(self, 0) } diff --git a/esp32s3/src/efuse/pgm_data1.rs b/esp32s3/src/efuse/pgm_data1.rs index b3802bb980..4ce4c4339d 100644 --- a/esp32s3/src/efuse/pgm_data1.rs +++ b/esp32s3/src/efuse/pgm_data1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The content of the 1st 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_1(&mut self) -> PGM_DATA_1_W { PGM_DATA_1_W::new(self, 0) } diff --git a/esp32s3/src/efuse/pgm_data2.rs b/esp32s3/src/efuse/pgm_data2.rs index fe05569e67..49e46b4e7e 100644 --- a/esp32s3/src/efuse/pgm_data2.rs +++ b/esp32s3/src/efuse/pgm_data2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The content of the 2nd 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_2(&mut self) -> PGM_DATA_2_W { PGM_DATA_2_W::new(self, 0) } diff --git a/esp32s3/src/efuse/pgm_data3.rs b/esp32s3/src/efuse/pgm_data3.rs index 721be6b07a..53270d76fc 100644 --- a/esp32s3/src/efuse/pgm_data3.rs +++ b/esp32s3/src/efuse/pgm_data3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The content of the 3rd 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_3(&mut self) -> PGM_DATA_3_W { PGM_DATA_3_W::new(self, 0) } diff --git a/esp32s3/src/efuse/pgm_data4.rs b/esp32s3/src/efuse/pgm_data4.rs index 84f78f4284..db5f011b1c 100644 --- a/esp32s3/src/efuse/pgm_data4.rs +++ b/esp32s3/src/efuse/pgm_data4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The content of the 4th 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_4(&mut self) -> PGM_DATA_4_W { PGM_DATA_4_W::new(self, 0) } diff --git a/esp32s3/src/efuse/pgm_data5.rs b/esp32s3/src/efuse/pgm_data5.rs index ce70e5d5d6..8a7df71c5e 100644 --- a/esp32s3/src/efuse/pgm_data5.rs +++ b/esp32s3/src/efuse/pgm_data5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The content of the 5th 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_5(&mut self) -> PGM_DATA_5_W { PGM_DATA_5_W::new(self, 0) } diff --git a/esp32s3/src/efuse/pgm_data6.rs b/esp32s3/src/efuse/pgm_data6.rs index 0f8ed00121..e1d3392919 100644 --- a/esp32s3/src/efuse/pgm_data6.rs +++ b/esp32s3/src/efuse/pgm_data6.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The content of the 6th 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_6(&mut self) -> PGM_DATA_6_W { PGM_DATA_6_W::new(self, 0) } diff --git a/esp32s3/src/efuse/pgm_data7.rs b/esp32s3/src/efuse/pgm_data7.rs index 0c5227677f..4294c78bcd 100644 --- a/esp32s3/src/efuse/pgm_data7.rs +++ b/esp32s3/src/efuse/pgm_data7.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The content of the 7th 32-bit data to be programmed."] #[inline(always)] - #[must_use] pub fn pgm_data_7(&mut self) -> PGM_DATA_7_W { PGM_DATA_7_W::new(self, 0) } diff --git a/esp32s3/src/efuse/rd_tim_conf.rs b/esp32s3/src/efuse/rd_tim_conf.rs index 11a8af2a0f..3b1e957a8c 100644 --- a/esp32s3/src/efuse/rd_tim_conf.rs +++ b/esp32s3/src/efuse/rd_tim_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 24:31 - Configures the initial read time of eFuse."] #[inline(always)] - #[must_use] pub fn read_init_num(&mut self) -> READ_INIT_NUM_W { READ_INIT_NUM_W::new(self, 24) } diff --git a/esp32s3/src/efuse/wr_tim_conf1.rs b/esp32s3/src/efuse/wr_tim_conf1.rs index 72073fd384..33c12e0d31 100644 --- a/esp32s3/src/efuse/wr_tim_conf1.rs +++ b/esp32s3/src/efuse/wr_tim_conf1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 8:23 - Configures the power up time for VDDQ."] #[inline(always)] - #[must_use] pub fn pwr_on_num(&mut self) -> PWR_ON_NUM_W { PWR_ON_NUM_W::new(self, 8) } diff --git a/esp32s3/src/efuse/wr_tim_conf2.rs b/esp32s3/src/efuse/wr_tim_conf2.rs index 5a9d903776..e9b9424ef6 100644 --- a/esp32s3/src/efuse/wr_tim_conf2.rs +++ b/esp32s3/src/efuse/wr_tim_conf2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Configures the power outage time for VDDQ."] #[inline(always)] - #[must_use] pub fn pwr_off_num(&mut self) -> PWR_OFF_NUM_W { PWR_OFF_NUM_W::new(self, 0) } diff --git a/esp32s3/src/extmem/cache_acs_cnt_clr.rs b/esp32s3/src/extmem/cache_acs_cnt_clr.rs index 395ec8e704..e44e103fa4 100644 --- a/esp32s3/src/extmem/cache_acs_cnt_clr.rs +++ b/esp32s3/src/extmem/cache_acs_cnt_clr.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The bit is used to clear dcache counter."] #[inline(always)] - #[must_use] pub fn dcache_acs_cnt_clr(&mut self) -> DCACHE_ACS_CNT_CLR_W { DCACHE_ACS_CNT_CLR_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to clear icache counter."] #[inline(always)] - #[must_use] pub fn icache_acs_cnt_clr(&mut self) -> ICACHE_ACS_CNT_CLR_W { ICACHE_ACS_CNT_CLR_W::new(self, 1) } diff --git a/esp32s3/src/extmem/cache_bridge_arbiter_ctrl.rs b/esp32s3/src/extmem/cache_bridge_arbiter_ctrl.rs index 003bf9f2f9..ff696dbef2 100644 --- a/esp32s3/src/extmem/cache_bridge_arbiter_ctrl.rs +++ b/esp32s3/src/extmem/cache_bridge_arbiter_ctrl.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn alloc_wb_hold_arbiter( &mut self, ) -> ALLOC_WB_HOLD_ARBITER_W { diff --git a/esp32s3/src/extmem/cache_conf_misc.rs b/esp32s3/src/extmem/cache_conf_misc.rs index 0cfc214bc4..969ae7d8ce 100644 --- a/esp32s3/src/extmem/cache_conf_misc.rs +++ b/esp32s3/src/extmem/cache_conf_misc.rs @@ -50,7 +50,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to disable checking mmu entry fault by preload operation."] #[inline(always)] - #[must_use] pub fn cache_ignore_preload_mmu_entry_fault( &mut self, ) -> CACHE_IGNORE_PRELOAD_MMU_ENTRY_FAULT_W { @@ -58,7 +57,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to disable checking mmu entry fault by sync operation."] #[inline(always)] - #[must_use] pub fn cache_ignore_sync_mmu_entry_fault( &mut self, ) -> CACHE_IGNORE_SYNC_MMU_ENTRY_FAULT_W { @@ -66,7 +64,6 @@ impl W { } #[doc = "Bit 2 - The bit is used to enable cache trace function."] #[inline(always)] - #[must_use] pub fn cache_trace_ena(&mut self) -> CACHE_TRACE_ENA_W { CACHE_TRACE_ENA_W::new(self, 2) } diff --git a/esp32s3/src/extmem/cache_encrypt_decrypt_clk_force_on.rs b/esp32s3/src/extmem/cache_encrypt_decrypt_clk_force_on.rs index 58c3dc6847..bd89e22395 100644 --- a/esp32s3/src/extmem/cache_encrypt_decrypt_clk_force_on.rs +++ b/esp32s3/src/extmem/cache_encrypt_decrypt_clk_force_on.rs @@ -47,7 +47,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to close clock gating of manual crypt clock. 1: close gating, 0: open clock gating."] #[inline(always)] - #[must_use] pub fn clk_force_on_manual_crypt( &mut self, ) -> CLK_FORCE_ON_MANUAL_CRYPT_W { @@ -55,7 +54,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to close clock gating of automatic crypt clock. 1: close gating, 0: open clock gating."] #[inline(always)] - #[must_use] pub fn clk_force_on_auto_crypt( &mut self, ) -> CLK_FORCE_ON_AUTO_CRYPT_W { @@ -63,7 +61,6 @@ impl W { } #[doc = "Bit 2 - The bit is used to close clock gating of external memory encrypt and decrypt clock. 1: close gating, 0: open clock gating."] #[inline(always)] - #[must_use] pub fn clk_force_on_crypt( &mut self, ) -> CLK_FORCE_ON_CRYPT_W { diff --git a/esp32s3/src/extmem/cache_encrypt_decrypt_record_disable.rs b/esp32s3/src/extmem/cache_encrypt_decrypt_record_disable.rs index 38b570d534..9483bdf512 100644 --- a/esp32s3/src/extmem/cache_encrypt_decrypt_record_disable.rs +++ b/esp32s3/src/extmem/cache_encrypt_decrypt_record_disable.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn record_disable_db_encrypt( &mut self, ) -> RECORD_DISABLE_DB_ENCRYPT_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bit 1 - Reserved"] #[inline(always)] - #[must_use] pub fn record_disable_g0cb_decrypt( &mut self, ) -> RECORD_DISABLE_G0CB_DECRYPT_W { diff --git a/esp32s3/src/extmem/cache_ilg_int_clr.rs b/esp32s3/src/extmem/cache_ilg_int_clr.rs index e7fba0b487..8aa1601db4 100644 --- a/esp32s3/src/extmem/cache_ilg_int_clr.rs +++ b/esp32s3/src/extmem/cache_ilg_int_clr.rs @@ -27,55 +27,46 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The bit is used to clear interrupt by sync configurations fault."] #[inline(always)] - #[must_use] pub fn icache_sync_op_fault(&mut self) -> ICACHE_SYNC_OP_FAULT_W { ICACHE_SYNC_OP_FAULT_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to clear interrupt by preload configurations fault."] #[inline(always)] - #[must_use] pub fn icache_preload_op_fault(&mut self) -> ICACHE_PRELOAD_OP_FAULT_W { ICACHE_PRELOAD_OP_FAULT_W::new(self, 1) } #[doc = "Bit 2 - The bit is used to clear interrupt by sync configurations fault."] #[inline(always)] - #[must_use] pub fn dcache_sync_op_fault(&mut self) -> DCACHE_SYNC_OP_FAULT_W { DCACHE_SYNC_OP_FAULT_W::new(self, 2) } #[doc = "Bit 3 - The bit is used to clear interrupt by preload configurations fault."] #[inline(always)] - #[must_use] pub fn dcache_preload_op_fault(&mut self) -> DCACHE_PRELOAD_OP_FAULT_W { DCACHE_PRELOAD_OP_FAULT_W::new(self, 3) } #[doc = "Bit 4 - The bit is used to clear interrupt by dcache trying to write flash."] #[inline(always)] - #[must_use] pub fn dcache_write_flash(&mut self) -> DCACHE_WRITE_FLASH_W { DCACHE_WRITE_FLASH_W::new(self, 4) } #[doc = "Bit 5 - The bit is used to clear interrupt by mmu entry fault."] #[inline(always)] - #[must_use] pub fn mmu_entry_fault(&mut self) -> MMU_ENTRY_FAULT_W { MMU_ENTRY_FAULT_W::new(self, 5) } #[doc = "Bit 6 - The bit is used to clear interrupt by dcache trying to replace a line whose blocks all have been occupied by occupy-mode."] #[inline(always)] - #[must_use] pub fn dcache_occupy_exc(&mut self) -> DCACHE_OCCUPY_EXC_W { DCACHE_OCCUPY_EXC_W::new(self, 6) } #[doc = "Bit 7 - The bit is used to clear interrupt by ibus counter overflow."] #[inline(always)] - #[must_use] pub fn ibus_cnt_ovf(&mut self) -> IBUS_CNT_OVF_W { IBUS_CNT_OVF_W::new(self, 7) } #[doc = "Bit 8 - The bit is used to clear interrupt by dbus counter overflow."] #[inline(always)] - #[must_use] pub fn dbus_cnt_ovf(&mut self) -> DBUS_CNT_OVF_W { DBUS_CNT_OVF_W::new(self, 8) } diff --git a/esp32s3/src/extmem/cache_ilg_int_ena.rs b/esp32s3/src/extmem/cache_ilg_int_ena.rs index 108121168d..70814da7a7 100644 --- a/esp32s3/src/extmem/cache_ilg_int_ena.rs +++ b/esp32s3/src/extmem/cache_ilg_int_ena.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable interrupt by sync configurations fault."] #[inline(always)] - #[must_use] pub fn icache_sync_op_fault(&mut self) -> ICACHE_SYNC_OP_FAULT_W { ICACHE_SYNC_OP_FAULT_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to enable interrupt by preload configurations fault."] #[inline(always)] - #[must_use] pub fn icache_preload_op_fault(&mut self) -> ICACHE_PRELOAD_OP_FAULT_W { ICACHE_PRELOAD_OP_FAULT_W::new(self, 1) } #[doc = "Bit 2 - The bit is used to enable interrupt by sync configurations fault."] #[inline(always)] - #[must_use] pub fn dcache_sync_op_fault(&mut self) -> DCACHE_SYNC_OP_FAULT_W { DCACHE_SYNC_OP_FAULT_W::new(self, 2) } #[doc = "Bit 3 - The bit is used to enable interrupt by preload configurations fault."] #[inline(always)] - #[must_use] pub fn dcache_preload_op_fault(&mut self) -> DCACHE_PRELOAD_OP_FAULT_W { DCACHE_PRELOAD_OP_FAULT_W::new(self, 3) } #[doc = "Bit 4 - The bit is used to enable interrupt by dcache trying to write flash."] #[inline(always)] - #[must_use] pub fn dcache_write_flash(&mut self) -> DCACHE_WRITE_FLASH_W { DCACHE_WRITE_FLASH_W::new(self, 4) } #[doc = "Bit 5 - The bit is used to enable interrupt by mmu entry fault."] #[inline(always)] - #[must_use] pub fn mmu_entry_fault(&mut self) -> MMU_ENTRY_FAULT_W { MMU_ENTRY_FAULT_W::new(self, 5) } #[doc = "Bit 6 - The bit is used to enable interrupt by dcache trying to replace a line whose blocks all have been occupied by occupy-mode."] #[inline(always)] - #[must_use] pub fn dcache_occupy_exc(&mut self) -> DCACHE_OCCUPY_EXC_W { DCACHE_OCCUPY_EXC_W::new(self, 6) } #[doc = "Bit 7 - The bit is used to enable interrupt by ibus counter overflow."] #[inline(always)] - #[must_use] pub fn ibus_cnt_ovf(&mut self) -> IBUS_CNT_OVF_W { IBUS_CNT_OVF_W::new(self, 7) } #[doc = "Bit 8 - The bit is used to enable interrupt by dbus counter overflow."] #[inline(always)] - #[must_use] pub fn dbus_cnt_ovf(&mut self) -> DBUS_CNT_OVF_W { DBUS_CNT_OVF_W::new(self, 8) } diff --git a/esp32s3/src/extmem/cache_mmu_owner.rs b/esp32s3/src/extmem/cache_mmu_owner.rs index 19c275d00a..6f0d3850e4 100644 --- a/esp32s3/src/extmem/cache_mmu_owner.rs +++ b/esp32s3/src/extmem/cache_mmu_owner.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - The bits are used to specify the owner of MMU.bit0: icache, bit1: dcache, bit2: dma, bit3: reserved."] #[inline(always)] - #[must_use] pub fn cache_mmu_owner(&mut self) -> CACHE_MMU_OWNER_W { CACHE_MMU_OWNER_W::new(self, 0) } diff --git a/esp32s3/src/extmem/cache_mmu_power_ctrl.rs b/esp32s3/src/extmem/cache_mmu_power_ctrl.rs index 186a6046c8..cb050e5451 100644 --- a/esp32s3/src/extmem/cache_mmu_power_ctrl.rs +++ b/esp32s3/src/extmem/cache_mmu_power_ctrl.rs @@ -44,7 +44,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable clock gating to save power when access mmu memory, 0: enable, 1: disable"] #[inline(always)] - #[must_use] pub fn cache_mmu_mem_force_on( &mut self, ) -> CACHE_MMU_MEM_FORCE_ON_W { @@ -52,7 +51,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to power mmu memory down, 0: follow_rtc_lslp_pd, 1: power down"] #[inline(always)] - #[must_use] pub fn cache_mmu_mem_force_pd( &mut self, ) -> CACHE_MMU_MEM_FORCE_PD_W { @@ -60,7 +58,6 @@ impl W { } #[doc = "Bit 2 - The bit is used to power mmu memory down, 0: follow_rtc_lslp_pd, 1: power up"] #[inline(always)] - #[must_use] pub fn cache_mmu_mem_force_pu( &mut self, ) -> CACHE_MMU_MEM_FORCE_PU_W { diff --git a/esp32s3/src/extmem/cache_preload_int_ctrl.rs b/esp32s3/src/extmem/cache_preload_int_ctrl.rs index 7a0a0dfc09..422f7f0d08 100644 --- a/esp32s3/src/extmem/cache_preload_int_ctrl.rs +++ b/esp32s3/src/extmem/cache_preload_int_ctrl.rs @@ -54,19 +54,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - The bit is used to enable the interrupt by icache pre-load done."] #[inline(always)] - #[must_use] pub fn ena(&mut self) -> ENA_W { ENA_W::new(self, 1) } #[doc = "Bit 2 - The bit is used to clear the interrupt by icache pre-load done."] #[inline(always)] - #[must_use] pub fn clr(&mut self) -> CLR_W { CLR_W::new(self, 2) } #[doc = "Bit 4 - The bit is used to enable the interrupt by dcache pre-load done."] #[inline(always)] - #[must_use] pub fn dcache_preload_int_ena( &mut self, ) -> DCACHE_PRELOAD_INT_ENA_W { @@ -74,7 +71,6 @@ impl W { } #[doc = "Bit 5 - The bit is used to clear the interrupt by dcache pre-load done."] #[inline(always)] - #[must_use] pub fn dcache_preload_int_clr( &mut self, ) -> DCACHE_PRELOAD_INT_CLR_W { diff --git a/esp32s3/src/extmem/cache_request.rs b/esp32s3/src/extmem/cache_request.rs index a2594a7718..59a40cb91a 100644 --- a/esp32s3/src/extmem/cache_request.rs +++ b/esp32s3/src/extmem/cache_request.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to disable request recording which could cause performance issue"] #[inline(always)] - #[must_use] pub fn bypass(&mut self) -> BYPASS_W { BYPASS_W::new(self, 0) } diff --git a/esp32s3/src/extmem/cache_sync_int_ctrl.rs b/esp32s3/src/extmem/cache_sync_int_ctrl.rs index 8ae053daf9..332f7677ba 100644 --- a/esp32s3/src/extmem/cache_sync_int_ctrl.rs +++ b/esp32s3/src/extmem/cache_sync_int_ctrl.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - The bit is used to enable the interrupt by icache sync done."] #[inline(always)] - #[must_use] pub fn ena(&mut self) -> ENA_W { ENA_W::new(self, 1) } #[doc = "Bit 2 - The bit is used to clear the interrupt by icache sync done."] #[inline(always)] - #[must_use] pub fn clr(&mut self) -> CLR_W { CLR_W::new(self, 2) } #[doc = "Bit 4 - The bit is used to enable the interrupt by dcache sync done."] #[inline(always)] - #[must_use] pub fn dcache_sync_int_ena(&mut self) -> DCACHE_SYNC_INT_ENA_W { DCACHE_SYNC_INT_ENA_W::new(self, 4) } #[doc = "Bit 5 - The bit is used to clear the interrupt by dcache sync done."] #[inline(always)] - #[must_use] pub fn dcache_sync_int_clr(&mut self) -> DCACHE_SYNC_INT_CLR_W { DCACHE_SYNC_INT_CLR_W::new(self, 5) } diff --git a/esp32s3/src/extmem/cache_tag_content.rs b/esp32s3/src/extmem/cache_tag_content.rs index 467309d66e..eb409d4fe5 100644 --- a/esp32s3/src/extmem/cache_tag_content.rs +++ b/esp32s3/src/extmem/cache_tag_content.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This is a constant place where we can write data to or read data from the tag memory on the specified cache."] #[inline(always)] - #[must_use] pub fn cache_tag_content(&mut self) -> CACHE_TAG_CONTENT_W { CACHE_TAG_CONTENT_W::new(self, 0) } diff --git a/esp32s3/src/extmem/cache_tag_object_ctrl.rs b/esp32s3/src/extmem/cache_tag_object_ctrl.rs index 2fba1b0008..7599357687 100644 --- a/esp32s3/src/extmem/cache_tag_object_ctrl.rs +++ b/esp32s3/src/extmem/cache_tag_object_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to set icache tag memory as object. This bit should be onehot with the others fields inside this register."] #[inline(always)] - #[must_use] pub fn icache_tag_object(&mut self) -> ICACHE_TAG_OBJECT_W { ICACHE_TAG_OBJECT_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to set dcache tag memory as object. This bit should be onehot with the others fields inside this register."] #[inline(always)] - #[must_use] pub fn dcache_tag_object(&mut self) -> DCACHE_TAG_OBJECT_W { DCACHE_TAG_OBJECT_W::new(self, 1) } diff --git a/esp32s3/src/extmem/cache_tag_way_object.rs b/esp32s3/src/extmem/cache_tag_way_object.rs index d271f65003..9c40d5e753 100644 --- a/esp32s3/src/extmem/cache_tag_way_object.rs +++ b/esp32s3/src/extmem/cache_tag_way_object.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - Set this bits to select which way of the tag-object will be accessed. 0: way0, 1: way1, 2: way2, 3: way3, .., 7: way7."] #[inline(always)] - #[must_use] pub fn cache_tag_way_object(&mut self) -> CACHE_TAG_WAY_OBJECT_W { CACHE_TAG_WAY_OBJECT_W::new(self, 0) } diff --git a/esp32s3/src/extmem/cache_vaddr.rs b/esp32s3/src/extmem/cache_vaddr.rs index 5fc6eab56d..e6bb47e653 100644 --- a/esp32s3/src/extmem/cache_vaddr.rs +++ b/esp32s3/src/extmem/cache_vaddr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Those bits stores the virtual address which will decide where inside the specified tag memory object will be accessed."] #[inline(always)] - #[must_use] pub fn cache_vaddr(&mut self) -> CACHE_VADDR_W { CACHE_VADDR_W::new(self, 0) } diff --git a/esp32s3/src/extmem/cache_wrap_around_ctrl.rs b/esp32s3/src/extmem/cache_wrap_around_ctrl.rs index 66e3663c6c..d8240e8bd7 100644 --- a/esp32s3/src/extmem/cache_wrap_around_ctrl.rs +++ b/esp32s3/src/extmem/cache_wrap_around_ctrl.rs @@ -37,7 +37,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable wrap around mode when read data from flash."] #[inline(always)] - #[must_use] pub fn cache_flash_wrap_around( &mut self, ) -> CACHE_FLASH_WRAP_AROUND_W { @@ -45,7 +44,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to enable wrap around mode when read data from spiram."] #[inline(always)] - #[must_use] pub fn cache_sram_rd_wrap_around( &mut self, ) -> CACHE_SRAM_RD_WRAP_AROUND_W { diff --git a/esp32s3/src/extmem/clock_gate.rs b/esp32s3/src/extmem/clock_gate.rs index 3b0224dcef..ca2fbc422c 100644 --- a/esp32s3/src/extmem/clock_gate.rs +++ b/esp32s3/src/extmem/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Reserved"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32s3/src/extmem/core0_acs_cache_int_clr.rs b/esp32s3/src/extmem/core0_acs_cache_int_clr.rs index b4598570d3..414e76a9ed 100644 --- a/esp32s3/src/extmem/core0_acs_cache_int_clr.rs +++ b/esp32s3/src/extmem/core0_acs_cache_int_clr.rs @@ -19,7 +19,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The bit is used to clear interrupt by cpu access icache while the corresponding ibus is disabled or icache is disabled which include speculative access."] #[inline(always)] - #[must_use] pub fn core0_ibus_acs_msk_ic( &mut self, ) -> CORE0_IBUS_ACS_MSK_IC_W { @@ -27,19 +26,16 @@ impl W { } #[doc = "Bit 1 - The bit is used to clear interrupt by ibus trying to write icache"] #[inline(always)] - #[must_use] pub fn core0_ibus_wr_ic(&mut self) -> CORE0_IBUS_WR_IC_W { CORE0_IBUS_WR_IC_W::new(self, 1) } #[doc = "Bit 2 - The bit is used to clear interrupt by authentication fail."] #[inline(always)] - #[must_use] pub fn core0_ibus_reject(&mut self) -> CORE0_IBUS_REJECT_W { CORE0_IBUS_REJECT_W::new(self, 2) } #[doc = "Bit 3 - The bit is used to clear interrupt by cpu access dcache while the corresponding dbus is disabled or dcache is disabled which include speculative access."] #[inline(always)] - #[must_use] pub fn core0_dbus_acs_msk_dc( &mut self, ) -> CORE0_DBUS_ACS_MSK_DC_W { @@ -47,7 +43,6 @@ impl W { } #[doc = "Bit 4 - The bit is used to clear interrupt by authentication fail."] #[inline(always)] - #[must_use] pub fn core0_dbus_reject(&mut self) -> CORE0_DBUS_REJECT_W { CORE0_DBUS_REJECT_W::new(self, 4) } diff --git a/esp32s3/src/extmem/core0_acs_cache_int_ena.rs b/esp32s3/src/extmem/core0_acs_cache_int_ena.rs index eaea588981..a94829c317 100644 --- a/esp32s3/src/extmem/core0_acs_cache_int_ena.rs +++ b/esp32s3/src/extmem/core0_acs_cache_int_ena.rs @@ -64,7 +64,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable interrupt by cpu access icache while the corresponding ibus is disabled which include speculative access."] #[inline(always)] - #[must_use] pub fn core0_ibus_acs_msk_ic( &mut self, ) -> CORE0_IBUS_ACS_MSK_IC_W { @@ -72,19 +71,16 @@ impl W { } #[doc = "Bit 1 - The bit is used to enable interrupt by ibus trying to write icache"] #[inline(always)] - #[must_use] pub fn core0_ibus_wr_ic(&mut self) -> CORE0_IBUS_WR_IC_W { CORE0_IBUS_WR_IC_W::new(self, 1) } #[doc = "Bit 2 - The bit is used to enable interrupt by authentication fail."] #[inline(always)] - #[must_use] pub fn core0_ibus_reject(&mut self) -> CORE0_IBUS_REJECT_W { CORE0_IBUS_REJECT_W::new(self, 2) } #[doc = "Bit 3 - The bit is used to enable interrupt by cpu access dcache while the corresponding dbus is disabled which include speculative access."] #[inline(always)] - #[must_use] pub fn core0_dbus_acs_msk_dc( &mut self, ) -> CORE0_DBUS_ACS_MSK_DC_W { @@ -92,7 +88,6 @@ impl W { } #[doc = "Bit 4 - The bit is used to enable interrupt by authentication fail."] #[inline(always)] - #[must_use] pub fn core0_dbus_reject(&mut self) -> CORE0_DBUS_REJECT_W { CORE0_DBUS_REJECT_W::new(self, 4) } diff --git a/esp32s3/src/extmem/core1_acs_cache_int_clr.rs b/esp32s3/src/extmem/core1_acs_cache_int_clr.rs index 7de919edfc..9983030b72 100644 --- a/esp32s3/src/extmem/core1_acs_cache_int_clr.rs +++ b/esp32s3/src/extmem/core1_acs_cache_int_clr.rs @@ -19,7 +19,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The bit is used to clear interrupt by cpu access icache while the corresponding ibus is disabled or icache is disabled which include speculative access."] #[inline(always)] - #[must_use] pub fn core1_ibus_acs_msk_ic_int_clr( &mut self, ) -> CORE1_IBUS_ACS_MSK_IC_INT_CLR_W { @@ -27,7 +26,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to clear interrupt by ibus trying to write icache"] #[inline(always)] - #[must_use] pub fn core1_ibus_wr_ic_int_clr( &mut self, ) -> CORE1_IBUS_WR_IC_INT_CLR_W { @@ -35,7 +33,6 @@ impl W { } #[doc = "Bit 2 - The bit is used to clear interrupt by authentication fail."] #[inline(always)] - #[must_use] pub fn core1_ibus_reject_int_clr( &mut self, ) -> CORE1_IBUS_REJECT_INT_CLR_W { @@ -43,7 +40,6 @@ impl W { } #[doc = "Bit 3 - The bit is used to clear interrupt by cpu access dcache while the corresponding dbus is disabled or dcache is disabled which include speculative access."] #[inline(always)] - #[must_use] pub fn core1_dbus_acs_msk_dc_int_clr( &mut self, ) -> CORE1_DBUS_ACS_MSK_DC_INT_CLR_W { @@ -51,7 +47,6 @@ impl W { } #[doc = "Bit 4 - The bit is used to clear interrupt by authentication fail."] #[inline(always)] - #[must_use] pub fn core1_dbus_reject_int_clr( &mut self, ) -> CORE1_DBUS_REJECT_INT_CLR_W { diff --git a/esp32s3/src/extmem/core1_acs_cache_int_ena.rs b/esp32s3/src/extmem/core1_acs_cache_int_ena.rs index 869469645e..a2051a762b 100644 --- a/esp32s3/src/extmem/core1_acs_cache_int_ena.rs +++ b/esp32s3/src/extmem/core1_acs_cache_int_ena.rs @@ -76,7 +76,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable interrupt by cpu access icache while the corresponding ibus is disabled which include speculative access."] #[inline(always)] - #[must_use] pub fn core1_ibus_acs_msk_ic_int_ena( &mut self, ) -> CORE1_IBUS_ACS_MSK_IC_INT_ENA_W { @@ -84,7 +83,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to enable interrupt by ibus trying to write icache"] #[inline(always)] - #[must_use] pub fn core1_ibus_wr_ic_int_ena( &mut self, ) -> CORE1_IBUS_WR_IC_INT_ENA_W { @@ -92,7 +90,6 @@ impl W { } #[doc = "Bit 2 - The bit is used to enable interrupt by authentication fail."] #[inline(always)] - #[must_use] pub fn core1_ibus_reject_int_ena( &mut self, ) -> CORE1_IBUS_REJECT_INT_ENA_W { @@ -100,7 +97,6 @@ impl W { } #[doc = "Bit 3 - The bit is used to enable interrupt by cpu access dcache while the corresponding dbus is disabled which include speculative access."] #[inline(always)] - #[must_use] pub fn core1_dbus_acs_msk_dc_int_ena( &mut self, ) -> CORE1_DBUS_ACS_MSK_DC_INT_ENA_W { @@ -108,7 +104,6 @@ impl W { } #[doc = "Bit 4 - The bit is used to enable interrupt by authentication fail."] #[inline(always)] - #[must_use] pub fn core1_dbus_reject_int_ena( &mut self, ) -> CORE1_DBUS_REJECT_INT_ENA_W { diff --git a/esp32s3/src/extmem/date.rs b/esp32s3/src/extmem/date.rs index 5203d8c454..03e188a274 100644 --- a/esp32s3/src/extmem/date.rs +++ b/esp32s3/src/extmem/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - version information."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s3/src/extmem/dbus_to_flash_end_vaddr.rs b/esp32s3/src/extmem/dbus_to_flash_end_vaddr.rs index b6380ab449..882aec0028 100644 --- a/esp32s3/src/extmem/dbus_to_flash_end_vaddr.rs +++ b/esp32s3/src/extmem/dbus_to_flash_end_vaddr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the end virtual address of dbus to access flash. The register is used to give constraints to dbus access counter."] #[inline(always)] - #[must_use] pub fn dbus_to_flash_end_vaddr( &mut self, ) -> DBUS_TO_FLASH_END_VADDR_W { diff --git a/esp32s3/src/extmem/dbus_to_flash_start_vaddr.rs b/esp32s3/src/extmem/dbus_to_flash_start_vaddr.rs index 81a517ccd3..56d365cb84 100644 --- a/esp32s3/src/extmem/dbus_to_flash_start_vaddr.rs +++ b/esp32s3/src/extmem/dbus_to_flash_start_vaddr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the start virtual address of dbus to access flash. The register is used to give constraints to dbus access counter."] #[inline(always)] - #[must_use] pub fn dbus_to_flash_start_vaddr( &mut self, ) -> DBUS_TO_FLASH_START_VADDR_W { diff --git a/esp32s3/src/extmem/dcache_atomic_operate_ena.rs b/esp32s3/src/extmem/dcache_atomic_operate_ena.rs index 46eb31cf94..14afec1e8f 100644 --- a/esp32s3/src/extmem/dcache_atomic_operate_ena.rs +++ b/esp32s3/src/extmem/dcache_atomic_operate_ena.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to activate dcache atomic operation protection. In this case, sync/lock/occupy operation can not interrupt miss-work. This feature does not work during invalidateAll operation."] #[inline(always)] - #[must_use] pub fn dcache_atomic_operate_ena( &mut self, ) -> DCACHE_ATOMIC_OPERATE_ENA_W { diff --git a/esp32s3/src/extmem/dcache_autoload_ctrl.rs b/esp32s3/src/extmem/dcache_autoload_ctrl.rs index 42aaf6ee5b..fc1b09dbcc 100644 --- a/esp32s3/src/extmem/dcache_autoload_ctrl.rs +++ b/esp32s3/src/extmem/dcache_autoload_ctrl.rs @@ -95,7 +95,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bits are used to enable the first section for autoload operation."] #[inline(always)] - #[must_use] pub fn dcache_autoload_sct0_ena( &mut self, ) -> DCACHE_AUTOLOAD_SCT0_ENA_W { @@ -103,7 +102,6 @@ impl W { } #[doc = "Bit 1 - The bits are used to enable the second section for autoload operation."] #[inline(always)] - #[must_use] pub fn dcache_autoload_sct1_ena( &mut self, ) -> DCACHE_AUTOLOAD_SCT1_ENA_W { @@ -111,31 +109,26 @@ impl W { } #[doc = "Bit 2 - The bit is used to enable and disable autoload operation. It is combined with dcache_autoload_done. 1: enable, 0: disable."] #[inline(always)] - #[must_use] pub fn dcache_autoload_ena(&mut self) -> DCACHE_AUTOLOAD_ENA_W { DCACHE_AUTOLOAD_ENA_W::new(self, 2) } #[doc = "Bit 4 - The bits are used to configure the direction of autoload. 1: descending, 0: ascending."] #[inline(always)] - #[must_use] pub fn dcache_autoload_order(&mut self) -> DCACHE_AUTOLOAD_ORDER_W { DCACHE_AUTOLOAD_ORDER_W::new(self, 4) } #[doc = "Bits 5:6 - The bits are used to configure trigger conditions for autoload. 0/3: cache miss, 1: cache hit, 2: both cache miss and hit."] #[inline(always)] - #[must_use] pub fn dcache_autoload_rqst(&mut self) -> DCACHE_AUTOLOAD_RQST_W { DCACHE_AUTOLOAD_RQST_W::new(self, 5) } #[doc = "Bits 7:8 - The bits are used to configure the numbers of the cache block for the issuing autoload operation."] #[inline(always)] - #[must_use] pub fn dcache_autoload_size(&mut self) -> DCACHE_AUTOLOAD_SIZE_W { DCACHE_AUTOLOAD_SIZE_W::new(self, 7) } #[doc = "Bit 9 - The bit is used to clear autoload buffer in dcache."] #[inline(always)] - #[must_use] pub fn dcache_autoload_buffer_clear( &mut self, ) -> DCACHE_AUTOLOAD_BUFFER_CLEAR_W { diff --git a/esp32s3/src/extmem/dcache_autoload_sct0_addr.rs b/esp32s3/src/extmem/dcache_autoload_sct0_addr.rs index 21e9db1c95..3f075c1c1e 100644 --- a/esp32s3/src/extmem/dcache_autoload_sct0_addr.rs +++ b/esp32s3/src/extmem/dcache_autoload_sct0_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the start virtual address of the first section for autoload operation. It should be combined with dcache_autoload_sct0_ena."] #[inline(always)] - #[must_use] pub fn dcache_autoload_sct0_addr( &mut self, ) -> DCACHE_AUTOLOAD_SCT0_ADDR_W { diff --git a/esp32s3/src/extmem/dcache_autoload_sct0_size.rs b/esp32s3/src/extmem/dcache_autoload_sct0_size.rs index 6d882079f2..a0bd9505b2 100644 --- a/esp32s3/src/extmem/dcache_autoload_sct0_size.rs +++ b/esp32s3/src/extmem/dcache_autoload_sct0_size.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:26 - The bits are used to configure the length of the first section for autoload operation. It should be combined with dcache_autoload_sct0_ena."] #[inline(always)] - #[must_use] pub fn dcache_autoload_sct0_size( &mut self, ) -> DCACHE_AUTOLOAD_SCT0_SIZE_W { diff --git a/esp32s3/src/extmem/dcache_autoload_sct1_addr.rs b/esp32s3/src/extmem/dcache_autoload_sct1_addr.rs index 3dcd1a15a8..bd692369c3 100644 --- a/esp32s3/src/extmem/dcache_autoload_sct1_addr.rs +++ b/esp32s3/src/extmem/dcache_autoload_sct1_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the start virtual address of the second section for autoload operation. It should be combined with dcache_autoload_sct1_ena."] #[inline(always)] - #[must_use] pub fn dcache_autoload_sct1_addr( &mut self, ) -> DCACHE_AUTOLOAD_SCT1_ADDR_W { diff --git a/esp32s3/src/extmem/dcache_autoload_sct1_size.rs b/esp32s3/src/extmem/dcache_autoload_sct1_size.rs index dd0aeb3037..a1187e2e92 100644 --- a/esp32s3/src/extmem/dcache_autoload_sct1_size.rs +++ b/esp32s3/src/extmem/dcache_autoload_sct1_size.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:26 - The bits are used to configure the length of the second section for autoload operation. It should be combined with dcache_autoload_sct1_ena."] #[inline(always)] - #[must_use] pub fn dcache_autoload_sct1_size( &mut self, ) -> DCACHE_AUTOLOAD_SCT1_SIZE_W { diff --git a/esp32s3/src/extmem/dcache_ctrl.rs b/esp32s3/src/extmem/dcache_ctrl.rs index 4c0b98acb7..ef30bc37be 100644 --- a/esp32s3/src/extmem/dcache_ctrl.rs +++ b/esp32s3/src/extmem/dcache_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to activate the data cache. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn dcache_enable(&mut self) -> DCACHE_ENABLE_W { DCACHE_ENABLE_W::new(self, 0) } #[doc = "Bit 2 - The bit is used to configure cache memory size.0: 32KB, 1: 64KB"] #[inline(always)] - #[must_use] pub fn dcache_size_mode(&mut self) -> DCACHE_SIZE_MODE_W { DCACHE_SIZE_MODE_W::new(self, 2) } #[doc = "Bits 3:4 - The bit is used to configure cache block size.0: 16 bytes, 1: 32 bytes,2: 64 bytes"] #[inline(always)] - #[must_use] pub fn dcache_blocksize_mode(&mut self) -> DCACHE_BLOCKSIZE_MODE_W { DCACHE_BLOCKSIZE_MODE_W::new(self, 3) } diff --git a/esp32s3/src/extmem/dcache_ctrl1.rs b/esp32s3/src/extmem/dcache_ctrl1.rs index f94ba34321..75b8b10780 100644 --- a/esp32s3/src/extmem/dcache_ctrl1.rs +++ b/esp32s3/src/extmem/dcache_ctrl1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to disable core0 dbus, 0: enable, 1: disable"] #[inline(always)] - #[must_use] pub fn dcache_shut_core0_bus(&mut self) -> DCACHE_SHUT_CORE0_BUS_W { DCACHE_SHUT_CORE0_BUS_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to disable core1 dbus, 0: enable, 1: disable"] #[inline(always)] - #[must_use] pub fn dcache_shut_core1_bus(&mut self) -> DCACHE_SHUT_CORE1_BUS_W { DCACHE_SHUT_CORE1_BUS_W::new(self, 1) } diff --git a/esp32s3/src/extmem/dcache_freeze.rs b/esp32s3/src/extmem/dcache_freeze.rs index 43a28244d7..7d79904e10 100644 --- a/esp32s3/src/extmem/dcache_freeze.rs +++ b/esp32s3/src/extmem/dcache_freeze.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable dcache freeze mode"] #[inline(always)] - #[must_use] pub fn ena(&mut self) -> ENA_W { ENA_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to configure freeze mode, 0: assert busy if CPU miss 1: assert hit if CPU miss"] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 1) } diff --git a/esp32s3/src/extmem/dcache_lock_addr.rs b/esp32s3/src/extmem/dcache_lock_addr.rs index 908f9104ef..6beea6f2ee 100644 --- a/esp32s3/src/extmem/dcache_lock_addr.rs +++ b/esp32s3/src/extmem/dcache_lock_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the start virtual address for lock operations. It should be combined with DCACHE_LOCK_SIZE_REG."] #[inline(always)] - #[must_use] pub fn dcache_lock_addr(&mut self) -> DCACHE_LOCK_ADDR_W { DCACHE_LOCK_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/extmem/dcache_lock_ctrl.rs b/esp32s3/src/extmem/dcache_lock_ctrl.rs index b84c635a99..70a1927839 100644 --- a/esp32s3/src/extmem/dcache_lock_ctrl.rs +++ b/esp32s3/src/extmem/dcache_lock_ctrl.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable lock operation. It will be cleared by hardware after lock operation done."] #[inline(always)] - #[must_use] pub fn dcache_lock_ena(&mut self) -> DCACHE_LOCK_ENA_W { DCACHE_LOCK_ENA_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to enable unlock operation. It will be cleared by hardware after unlock operation done."] #[inline(always)] - #[must_use] pub fn dcache_unlock_ena(&mut self) -> DCACHE_UNLOCK_ENA_W { DCACHE_UNLOCK_ENA_W::new(self, 1) } diff --git a/esp32s3/src/extmem/dcache_lock_size.rs b/esp32s3/src/extmem/dcache_lock_size.rs index 1ecb01c389..0802b53575 100644 --- a/esp32s3/src/extmem/dcache_lock_size.rs +++ b/esp32s3/src/extmem/dcache_lock_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The bits are used to configure the length for lock operations. The bits are the counts of cache block. It should be combined with DCACHE_LOCK_ADDR_REG."] #[inline(always)] - #[must_use] pub fn dcache_lock_size(&mut self) -> DCACHE_LOCK_SIZE_W { DCACHE_LOCK_SIZE_W::new(self, 0) } diff --git a/esp32s3/src/extmem/dcache_occupy_addr.rs b/esp32s3/src/extmem/dcache_occupy_addr.rs index f8ede71d05..96873d180a 100644 --- a/esp32s3/src/extmem/dcache_occupy_addr.rs +++ b/esp32s3/src/extmem/dcache_occupy_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the start virtual address for occupy operation. It should be combined with DCACHE_OCCUPY_SIZE_REG."] #[inline(always)] - #[must_use] pub fn dcache_occupy_addr(&mut self) -> DCACHE_OCCUPY_ADDR_W { DCACHE_OCCUPY_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/extmem/dcache_occupy_ctrl.rs b/esp32s3/src/extmem/dcache_occupy_ctrl.rs index f7233742a4..583114afd0 100644 --- a/esp32s3/src/extmem/dcache_occupy_ctrl.rs +++ b/esp32s3/src/extmem/dcache_occupy_ctrl.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable occupy operation. It will be cleared by hardware after issuing Auot-Invalidate Operation."] #[inline(always)] - #[must_use] pub fn dcache_occupy_ena(&mut self) -> DCACHE_OCCUPY_ENA_W { DCACHE_OCCUPY_ENA_W::new(self, 0) } diff --git a/esp32s3/src/extmem/dcache_occupy_size.rs b/esp32s3/src/extmem/dcache_occupy_size.rs index 840b7fc359..e8c45f3bb3 100644 --- a/esp32s3/src/extmem/dcache_occupy_size.rs +++ b/esp32s3/src/extmem/dcache_occupy_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The bits are used to configure the length for occupy operation. The bits are the counts of cache block. It should be combined with DCACHE_OCCUPY_ADDR_REG."] #[inline(always)] - #[must_use] pub fn dcache_occupy_size(&mut self) -> DCACHE_OCCUPY_SIZE_W { DCACHE_OCCUPY_SIZE_W::new(self, 0) } diff --git a/esp32s3/src/extmem/dcache_preload_addr.rs b/esp32s3/src/extmem/dcache_preload_addr.rs index 88080b07f4..dba5d223ce 100644 --- a/esp32s3/src/extmem/dcache_preload_addr.rs +++ b/esp32s3/src/extmem/dcache_preload_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the start virtual address for preload operation. It should be combined with DCACHE_PRELOAD_SIZE_REG."] #[inline(always)] - #[must_use] pub fn dcache_preload_addr(&mut self) -> DCACHE_PRELOAD_ADDR_W { DCACHE_PRELOAD_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/extmem/dcache_preload_ctrl.rs b/esp32s3/src/extmem/dcache_preload_ctrl.rs index 391a74d672..3b7fab96df 100644 --- a/esp32s3/src/extmem/dcache_preload_ctrl.rs +++ b/esp32s3/src/extmem/dcache_preload_ctrl.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable preload operation. It will be cleared by hardware after preload operation done."] #[inline(always)] - #[must_use] pub fn dcache_preload_ena(&mut self) -> DCACHE_PRELOAD_ENA_W { DCACHE_PRELOAD_ENA_W::new(self, 0) } #[doc = "Bit 2 - The bit is used to configure the direction of preload operation. 1: descending, 0: ascending."] #[inline(always)] - #[must_use] pub fn dcache_preload_order(&mut self) -> DCACHE_PRELOAD_ORDER_W { DCACHE_PRELOAD_ORDER_W::new(self, 2) } diff --git a/esp32s3/src/extmem/dcache_preload_size.rs b/esp32s3/src/extmem/dcache_preload_size.rs index f963ab576e..dd1c92fc13 100644 --- a/esp32s3/src/extmem/dcache_preload_size.rs +++ b/esp32s3/src/extmem/dcache_preload_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The bits are used to configure the length for preload operation. The bits are the counts of cache block. It should be combined with DCACHE_PRELOAD_ADDR_REG.."] #[inline(always)] - #[must_use] pub fn dcache_preload_size(&mut self) -> DCACHE_PRELOAD_SIZE_W { DCACHE_PRELOAD_SIZE_W::new(self, 0) } diff --git a/esp32s3/src/extmem/dcache_prelock_ctrl.rs b/esp32s3/src/extmem/dcache_prelock_ctrl.rs index a7bf877802..1167ab214e 100644 --- a/esp32s3/src/extmem/dcache_prelock_ctrl.rs +++ b/esp32s3/src/extmem/dcache_prelock_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable the first section of prelock function."] #[inline(always)] - #[must_use] pub fn dcache_prelock_sct0_en(&mut self) -> DCACHE_PRELOCK_SCT0_EN_W { DCACHE_PRELOCK_SCT0_EN_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to enable the second section of prelock function."] #[inline(always)] - #[must_use] pub fn dcache_prelock_sct1_en(&mut self) -> DCACHE_PRELOCK_SCT1_EN_W { DCACHE_PRELOCK_SCT1_EN_W::new(self, 1) } diff --git a/esp32s3/src/extmem/dcache_prelock_sct0_addr.rs b/esp32s3/src/extmem/dcache_prelock_sct0_addr.rs index 835f74cb52..06fde71d34 100644 --- a/esp32s3/src/extmem/dcache_prelock_sct0_addr.rs +++ b/esp32s3/src/extmem/dcache_prelock_sct0_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the first start virtual address of data prelock, which is combined with DCACHE_PRELOCK_SCT0_SIZE_REG"] #[inline(always)] - #[must_use] pub fn dcache_prelock_sct0_addr( &mut self, ) -> DCACHE_PRELOCK_SCT0_ADDR_W { diff --git a/esp32s3/src/extmem/dcache_prelock_sct1_addr.rs b/esp32s3/src/extmem/dcache_prelock_sct1_addr.rs index eb5f82f025..7ee11844dc 100644 --- a/esp32s3/src/extmem/dcache_prelock_sct1_addr.rs +++ b/esp32s3/src/extmem/dcache_prelock_sct1_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the second start virtual address of data prelock, which is combined with DCACHE_PRELOCK_SCT1_SIZE_REG"] #[inline(always)] - #[must_use] pub fn dcache_prelock_sct1_addr( &mut self, ) -> DCACHE_PRELOCK_SCT1_ADDR_W { diff --git a/esp32s3/src/extmem/dcache_prelock_sct_size.rs b/esp32s3/src/extmem/dcache_prelock_sct_size.rs index 498862df20..0b11972132 100644 --- a/esp32s3/src/extmem/dcache_prelock_sct_size.rs +++ b/esp32s3/src/extmem/dcache_prelock_sct_size.rs @@ -34,7 +34,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The bits are used to configure the second length of data locking, which is combined with DCACHE_PRELOCK_SCT1_ADDR_REG"] #[inline(always)] - #[must_use] pub fn dcache_prelock_sct1_size( &mut self, ) -> DCACHE_PRELOCK_SCT1_SIZE_W { @@ -42,7 +41,6 @@ impl W { } #[doc = "Bits 16:31 - The bits are used to configure the first length of data locking, which is combined with DCACHE_PRELOCK_SCT0_ADDR_REG"] #[inline(always)] - #[must_use] pub fn dcache_prelock_sct0_size( &mut self, ) -> DCACHE_PRELOCK_SCT0_SIZE_W { diff --git a/esp32s3/src/extmem/dcache_sync_addr.rs b/esp32s3/src/extmem/dcache_sync_addr.rs index 80b4eb50fe..89c4f93cca 100644 --- a/esp32s3/src/extmem/dcache_sync_addr.rs +++ b/esp32s3/src/extmem/dcache_sync_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the start virtual address for clean operations. It should be combined with DCACHE_SYNC_SIZE_REG."] #[inline(always)] - #[must_use] pub fn dcache_sync_addr(&mut self) -> DCACHE_SYNC_ADDR_W { DCACHE_SYNC_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/extmem/dcache_sync_ctrl.rs b/esp32s3/src/extmem/dcache_sync_ctrl.rs index 3a9226bc9d..d0576d4a8e 100644 --- a/esp32s3/src/extmem/dcache_sync_ctrl.rs +++ b/esp32s3/src/extmem/dcache_sync_ctrl.rs @@ -52,19 +52,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable invalidate operation. It will be cleared by hardware after invalidate operation done."] #[inline(always)] - #[must_use] pub fn dcache_invalidate_ena(&mut self) -> DCACHE_INVALIDATE_ENA_W { DCACHE_INVALIDATE_ENA_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to enable writeback operation. It will be cleared by hardware after writeback operation done."] #[inline(always)] - #[must_use] pub fn dcache_writeback_ena(&mut self) -> DCACHE_WRITEBACK_ENA_W { DCACHE_WRITEBACK_ENA_W::new(self, 1) } #[doc = "Bit 2 - The bit is used to enable clean operation. It will be cleared by hardware after clean operation done."] #[inline(always)] - #[must_use] pub fn dcache_clean_ena(&mut self) -> DCACHE_CLEAN_ENA_W { DCACHE_CLEAN_ENA_W::new(self, 2) } diff --git a/esp32s3/src/extmem/dcache_sync_size.rs b/esp32s3/src/extmem/dcache_sync_size.rs index 1b23c5949b..9b5c4ea44b 100644 --- a/esp32s3/src/extmem/dcache_sync_size.rs +++ b/esp32s3/src/extmem/dcache_sync_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:22 - The bits are used to configure the length for sync operations. The bits are the counts of cache block. It should be combined with DCACHE_SYNC_ADDR_REG."] #[inline(always)] - #[must_use] pub fn dcache_sync_size(&mut self) -> DCACHE_SYNC_SIZE_W { DCACHE_SYNC_SIZE_W::new(self, 0) } diff --git a/esp32s3/src/extmem/dcache_tag_power_ctrl.rs b/esp32s3/src/extmem/dcache_tag_power_ctrl.rs index d5dcc4b76f..acdd68d0b0 100644 --- a/esp32s3/src/extmem/dcache_tag_power_ctrl.rs +++ b/esp32s3/src/extmem/dcache_tag_power_ctrl.rs @@ -44,7 +44,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to close clock gating of dcache tag memory. 1: close gating, 0: open clock gating."] #[inline(always)] - #[must_use] pub fn dcache_tag_mem_force_on( &mut self, ) -> DCACHE_TAG_MEM_FORCE_ON_W { @@ -52,7 +51,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to power dcache tag memory down, 0: follow rtc_lslp_pd, 1: power down"] #[inline(always)] - #[must_use] pub fn dcache_tag_mem_force_pd( &mut self, ) -> DCACHE_TAG_MEM_FORCE_PD_W { @@ -60,7 +58,6 @@ impl W { } #[doc = "Bit 2 - The bit is used to power dcache tag memory up, 0: follow rtc_lslp_pd, 1: power up"] #[inline(always)] - #[must_use] pub fn dcache_tag_mem_force_pu( &mut self, ) -> DCACHE_TAG_MEM_FORCE_PU_W { diff --git a/esp32s3/src/extmem/ibus_to_flash_end_vaddr.rs b/esp32s3/src/extmem/ibus_to_flash_end_vaddr.rs index 442ba02fd4..8057427af0 100644 --- a/esp32s3/src/extmem/ibus_to_flash_end_vaddr.rs +++ b/esp32s3/src/extmem/ibus_to_flash_end_vaddr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the end virtual address of ibus to access flash. The register is used to give constraints to ibus access counter."] #[inline(always)] - #[must_use] pub fn ibus_to_flash_end_vaddr( &mut self, ) -> IBUS_TO_FLASH_END_VADDR_W { diff --git a/esp32s3/src/extmem/ibus_to_flash_start_vaddr.rs b/esp32s3/src/extmem/ibus_to_flash_start_vaddr.rs index 412606bcab..777634a3bf 100644 --- a/esp32s3/src/extmem/ibus_to_flash_start_vaddr.rs +++ b/esp32s3/src/extmem/ibus_to_flash_start_vaddr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the start virtual address of ibus to access flash. The register is used to give constraints to ibus access counter."] #[inline(always)] - #[must_use] pub fn ibus_to_flash_start_vaddr( &mut self, ) -> IBUS_TO_FLASH_START_VADDR_W { diff --git a/esp32s3/src/extmem/icache_atomic_operate_ena.rs b/esp32s3/src/extmem/icache_atomic_operate_ena.rs index 61dc2f17c4..a89fbadcc0 100644 --- a/esp32s3/src/extmem/icache_atomic_operate_ena.rs +++ b/esp32s3/src/extmem/icache_atomic_operate_ena.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to activate icache atomic operation protection. In this case, sync/lock operation can not interrupt miss-work. This feature does not work during invalidateAll operation."] #[inline(always)] - #[must_use] pub fn icache_atomic_operate_ena( &mut self, ) -> ICACHE_ATOMIC_OPERATE_ENA_W { diff --git a/esp32s3/src/extmem/icache_autoload_ctrl.rs b/esp32s3/src/extmem/icache_autoload_ctrl.rs index f57285f71f..8fac1e8777 100644 --- a/esp32s3/src/extmem/icache_autoload_ctrl.rs +++ b/esp32s3/src/extmem/icache_autoload_ctrl.rs @@ -95,7 +95,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bits are used to enable the first section for autoload operation."] #[inline(always)] - #[must_use] pub fn icache_autoload_sct0_ena( &mut self, ) -> ICACHE_AUTOLOAD_SCT0_ENA_W { @@ -103,7 +102,6 @@ impl W { } #[doc = "Bit 1 - The bits are used to enable the second section for autoload operation."] #[inline(always)] - #[must_use] pub fn icache_autoload_sct1_ena( &mut self, ) -> ICACHE_AUTOLOAD_SCT1_ENA_W { @@ -111,31 +109,26 @@ impl W { } #[doc = "Bit 2 - The bit is used to enable and disable autoload operation. It is combined with icache_autoload_done. 1: enable, 0: disable."] #[inline(always)] - #[must_use] pub fn icache_autoload_ena(&mut self) -> ICACHE_AUTOLOAD_ENA_W { ICACHE_AUTOLOAD_ENA_W::new(self, 2) } #[doc = "Bit 4 - The bits are used to configure the direction of autoload. 1: descending, 0: ascending."] #[inline(always)] - #[must_use] pub fn icache_autoload_order(&mut self) -> ICACHE_AUTOLOAD_ORDER_W { ICACHE_AUTOLOAD_ORDER_W::new(self, 4) } #[doc = "Bits 5:6 - The bits are used to configure trigger conditions for autoload. 0/3: cache miss, 1: cache hit, 2: both cache miss and hit."] #[inline(always)] - #[must_use] pub fn icache_autoload_rqst(&mut self) -> ICACHE_AUTOLOAD_RQST_W { ICACHE_AUTOLOAD_RQST_W::new(self, 5) } #[doc = "Bits 7:8 - The bits are used to configure the numbers of the cache block for the issuing autoload operation."] #[inline(always)] - #[must_use] pub fn icache_autoload_size(&mut self) -> ICACHE_AUTOLOAD_SIZE_W { ICACHE_AUTOLOAD_SIZE_W::new(self, 7) } #[doc = "Bit 9 - The bit is used to clear autoload buffer in icache."] #[inline(always)] - #[must_use] pub fn icache_autoload_buffer_clear( &mut self, ) -> ICACHE_AUTOLOAD_BUFFER_CLEAR_W { diff --git a/esp32s3/src/extmem/icache_autoload_sct0_addr.rs b/esp32s3/src/extmem/icache_autoload_sct0_addr.rs index 5a873714fd..4e4badc0cb 100644 --- a/esp32s3/src/extmem/icache_autoload_sct0_addr.rs +++ b/esp32s3/src/extmem/icache_autoload_sct0_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the start virtual address of the first section for autoload operation. It should be combined with icache_autoload_sct0_ena."] #[inline(always)] - #[must_use] pub fn icache_autoload_sct0_addr( &mut self, ) -> ICACHE_AUTOLOAD_SCT0_ADDR_W { diff --git a/esp32s3/src/extmem/icache_autoload_sct0_size.rs b/esp32s3/src/extmem/icache_autoload_sct0_size.rs index 81bb8be9c4..c7de23f82a 100644 --- a/esp32s3/src/extmem/icache_autoload_sct0_size.rs +++ b/esp32s3/src/extmem/icache_autoload_sct0_size.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:26 - The bits are used to configure the length of the first section for autoload operation. It should be combined with icache_autoload_sct0_ena."] #[inline(always)] - #[must_use] pub fn icache_autoload_sct0_size( &mut self, ) -> ICACHE_AUTOLOAD_SCT0_SIZE_W { diff --git a/esp32s3/src/extmem/icache_autoload_sct1_addr.rs b/esp32s3/src/extmem/icache_autoload_sct1_addr.rs index a69bdddb38..8c8efa7eb5 100644 --- a/esp32s3/src/extmem/icache_autoload_sct1_addr.rs +++ b/esp32s3/src/extmem/icache_autoload_sct1_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the start virtual address of the second section for autoload operation. It should be combined with icache_autoload_sct1_ena."] #[inline(always)] - #[must_use] pub fn icache_autoload_sct1_addr( &mut self, ) -> ICACHE_AUTOLOAD_SCT1_ADDR_W { diff --git a/esp32s3/src/extmem/icache_autoload_sct1_size.rs b/esp32s3/src/extmem/icache_autoload_sct1_size.rs index 5fc624c355..d478ae9084 100644 --- a/esp32s3/src/extmem/icache_autoload_sct1_size.rs +++ b/esp32s3/src/extmem/icache_autoload_sct1_size.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:26 - The bits are used to configure the length of the second section for autoload operation. It should be combined with icache_autoload_sct1_ena."] #[inline(always)] - #[must_use] pub fn icache_autoload_sct1_size( &mut self, ) -> ICACHE_AUTOLOAD_SCT1_SIZE_W { diff --git a/esp32s3/src/extmem/icache_ctrl.rs b/esp32s3/src/extmem/icache_ctrl.rs index 0f29c56d5d..7420c35153 100644 --- a/esp32s3/src/extmem/icache_ctrl.rs +++ b/esp32s3/src/extmem/icache_ctrl.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to activate the data cache. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn icache_enable(&mut self) -> ICACHE_ENABLE_W { ICACHE_ENABLE_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to configure cache way mode.0: 4-way, 1: 8-way"] #[inline(always)] - #[must_use] pub fn icache_way_mode(&mut self) -> ICACHE_WAY_MODE_W { ICACHE_WAY_MODE_W::new(self, 1) } #[doc = "Bit 2 - The bit is used to configure cache memory size.0: 16KB, 1: 32KB"] #[inline(always)] - #[must_use] pub fn icache_size_mode(&mut self) -> ICACHE_SIZE_MODE_W { ICACHE_SIZE_MODE_W::new(self, 2) } #[doc = "Bit 3 - The bit is used to configure cache block size.0: 16 bytes, 1: 32 bytes"] #[inline(always)] - #[must_use] pub fn icache_blocksize_mode(&mut self) -> ICACHE_BLOCKSIZE_MODE_W { ICACHE_BLOCKSIZE_MODE_W::new(self, 3) } diff --git a/esp32s3/src/extmem/icache_ctrl1.rs b/esp32s3/src/extmem/icache_ctrl1.rs index 5b055bf5e3..613dc1c7a6 100644 --- a/esp32s3/src/extmem/icache_ctrl1.rs +++ b/esp32s3/src/extmem/icache_ctrl1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to disable core0 ibus, 0: enable, 1: disable"] #[inline(always)] - #[must_use] pub fn icache_shut_core0_bus(&mut self) -> ICACHE_SHUT_CORE0_BUS_W { ICACHE_SHUT_CORE0_BUS_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to disable core1 ibus, 0: enable, 1: disable"] #[inline(always)] - #[must_use] pub fn icache_shut_core1_bus(&mut self) -> ICACHE_SHUT_CORE1_BUS_W { ICACHE_SHUT_CORE1_BUS_W::new(self, 1) } diff --git a/esp32s3/src/extmem/icache_freeze.rs b/esp32s3/src/extmem/icache_freeze.rs index 5cd7830a92..e612af1f88 100644 --- a/esp32s3/src/extmem/icache_freeze.rs +++ b/esp32s3/src/extmem/icache_freeze.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable icache freeze mode"] #[inline(always)] - #[must_use] pub fn ena(&mut self) -> ENA_W { ENA_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to configure freeze mode, 0: assert busy if CPU miss 1: assert hit if CPU miss"] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 1) } diff --git a/esp32s3/src/extmem/icache_lock_addr.rs b/esp32s3/src/extmem/icache_lock_addr.rs index f685cd581a..27e59a80f1 100644 --- a/esp32s3/src/extmem/icache_lock_addr.rs +++ b/esp32s3/src/extmem/icache_lock_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the start virtual address for lock operations. It should be combined with ICACHE_LOCK_SIZE_REG."] #[inline(always)] - #[must_use] pub fn icache_lock_addr(&mut self) -> ICACHE_LOCK_ADDR_W { ICACHE_LOCK_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/extmem/icache_lock_ctrl.rs b/esp32s3/src/extmem/icache_lock_ctrl.rs index c45c4dcf56..99e3da8c0c 100644 --- a/esp32s3/src/extmem/icache_lock_ctrl.rs +++ b/esp32s3/src/extmem/icache_lock_ctrl.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable lock operation. It will be cleared by hardware after lock operation done."] #[inline(always)] - #[must_use] pub fn icache_lock_ena(&mut self) -> ICACHE_LOCK_ENA_W { ICACHE_LOCK_ENA_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to enable unlock operation. It will be cleared by hardware after unlock operation done."] #[inline(always)] - #[must_use] pub fn icache_unlock_ena(&mut self) -> ICACHE_UNLOCK_ENA_W { ICACHE_UNLOCK_ENA_W::new(self, 1) } diff --git a/esp32s3/src/extmem/icache_lock_size.rs b/esp32s3/src/extmem/icache_lock_size.rs index 399fa8deee..000e23ab1e 100644 --- a/esp32s3/src/extmem/icache_lock_size.rs +++ b/esp32s3/src/extmem/icache_lock_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The bits are used to configure the length for lock operations. The bits are the counts of cache block. It should be combined with ICACHE_LOCK_ADDR_REG."] #[inline(always)] - #[must_use] pub fn icache_lock_size(&mut self) -> ICACHE_LOCK_SIZE_W { ICACHE_LOCK_SIZE_W::new(self, 0) } diff --git a/esp32s3/src/extmem/icache_preload_addr.rs b/esp32s3/src/extmem/icache_preload_addr.rs index 03bd8693e3..c820054142 100644 --- a/esp32s3/src/extmem/icache_preload_addr.rs +++ b/esp32s3/src/extmem/icache_preload_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the start virtual address for preload operation. It should be combined with ICACHE_PRELOAD_SIZE_REG."] #[inline(always)] - #[must_use] pub fn icache_preload_addr(&mut self) -> ICACHE_PRELOAD_ADDR_W { ICACHE_PRELOAD_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/extmem/icache_preload_ctrl.rs b/esp32s3/src/extmem/icache_preload_ctrl.rs index 27985adcfa..38ab00dd88 100644 --- a/esp32s3/src/extmem/icache_preload_ctrl.rs +++ b/esp32s3/src/extmem/icache_preload_ctrl.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable preload operation. It will be cleared by hardware after preload operation done."] #[inline(always)] - #[must_use] pub fn icache_preload_ena(&mut self) -> ICACHE_PRELOAD_ENA_W { ICACHE_PRELOAD_ENA_W::new(self, 0) } #[doc = "Bit 2 - The bit is used to configure the direction of preload operation. 1: descending, 0: ascending."] #[inline(always)] - #[must_use] pub fn icache_preload_order(&mut self) -> ICACHE_PRELOAD_ORDER_W { ICACHE_PRELOAD_ORDER_W::new(self, 2) } diff --git a/esp32s3/src/extmem/icache_preload_size.rs b/esp32s3/src/extmem/icache_preload_size.rs index a031fa8f04..d64257db6e 100644 --- a/esp32s3/src/extmem/icache_preload_size.rs +++ b/esp32s3/src/extmem/icache_preload_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The bits are used to configure the length for preload operation. The bits are the counts of cache block. It should be combined with ICACHE_PRELOAD_ADDR_REG.."] #[inline(always)] - #[must_use] pub fn icache_preload_size(&mut self) -> ICACHE_PRELOAD_SIZE_W { ICACHE_PRELOAD_SIZE_W::new(self, 0) } diff --git a/esp32s3/src/extmem/icache_prelock_ctrl.rs b/esp32s3/src/extmem/icache_prelock_ctrl.rs index 0de1163ce6..43b76d48af 100644 --- a/esp32s3/src/extmem/icache_prelock_ctrl.rs +++ b/esp32s3/src/extmem/icache_prelock_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable the first section of prelock function."] #[inline(always)] - #[must_use] pub fn icache_prelock_sct0_en(&mut self) -> ICACHE_PRELOCK_SCT0_EN_W { ICACHE_PRELOCK_SCT0_EN_W::new(self, 0) } #[doc = "Bit 1 - The bit is used to enable the second section of prelock function."] #[inline(always)] - #[must_use] pub fn icache_prelock_sct1_en(&mut self) -> ICACHE_PRELOCK_SCT1_EN_W { ICACHE_PRELOCK_SCT1_EN_W::new(self, 1) } diff --git a/esp32s3/src/extmem/icache_prelock_sct0_addr.rs b/esp32s3/src/extmem/icache_prelock_sct0_addr.rs index a62539bfed..10b878c4cd 100644 --- a/esp32s3/src/extmem/icache_prelock_sct0_addr.rs +++ b/esp32s3/src/extmem/icache_prelock_sct0_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the first start virtual address of data prelock, which is combined with ICACHE_PRELOCK_SCT0_SIZE_REG"] #[inline(always)] - #[must_use] pub fn icache_prelock_sct0_addr( &mut self, ) -> ICACHE_PRELOCK_SCT0_ADDR_W { diff --git a/esp32s3/src/extmem/icache_prelock_sct1_addr.rs b/esp32s3/src/extmem/icache_prelock_sct1_addr.rs index ece0baded4..17ba6000de 100644 --- a/esp32s3/src/extmem/icache_prelock_sct1_addr.rs +++ b/esp32s3/src/extmem/icache_prelock_sct1_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the second start virtual address of data prelock, which is combined with ICACHE_PRELOCK_SCT1_SIZE_REG"] #[inline(always)] - #[must_use] pub fn icache_prelock_sct1_addr( &mut self, ) -> ICACHE_PRELOCK_SCT1_ADDR_W { diff --git a/esp32s3/src/extmem/icache_prelock_sct_size.rs b/esp32s3/src/extmem/icache_prelock_sct_size.rs index a178e2b645..bd12091491 100644 --- a/esp32s3/src/extmem/icache_prelock_sct_size.rs +++ b/esp32s3/src/extmem/icache_prelock_sct_size.rs @@ -34,7 +34,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The bits are used to configure the second length of data locking, which is combined with ICACHE_PRELOCK_SCT1_ADDR_REG"] #[inline(always)] - #[must_use] pub fn icache_prelock_sct1_size( &mut self, ) -> ICACHE_PRELOCK_SCT1_SIZE_W { @@ -42,7 +41,6 @@ impl W { } #[doc = "Bits 16:31 - The bits are used to configure the first length of data locking, which is combined with ICACHE_PRELOCK_SCT0_ADDR_REG"] #[inline(always)] - #[must_use] pub fn icache_prelock_sct0_size( &mut self, ) -> ICACHE_PRELOCK_SCT0_SIZE_W { diff --git a/esp32s3/src/extmem/icache_sync_addr.rs b/esp32s3/src/extmem/icache_sync_addr.rs index 6f8c7f226a..5af0978a28 100644 --- a/esp32s3/src/extmem/icache_sync_addr.rs +++ b/esp32s3/src/extmem/icache_sync_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The bits are used to configure the start virtual address for clean operations. It should be combined with ICACHE_SYNC_SIZE_REG."] #[inline(always)] - #[must_use] pub fn icache_sync_addr(&mut self) -> ICACHE_SYNC_ADDR_W { ICACHE_SYNC_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/extmem/icache_sync_ctrl.rs b/esp32s3/src/extmem/icache_sync_ctrl.rs index 928803e71c..416083e743 100644 --- a/esp32s3/src/extmem/icache_sync_ctrl.rs +++ b/esp32s3/src/extmem/icache_sync_ctrl.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to enable invalidate operation. It will be cleared by hardware after invalidate operation done."] #[inline(always)] - #[must_use] pub fn icache_invalidate_ena(&mut self) -> ICACHE_INVALIDATE_ENA_W { ICACHE_INVALIDATE_ENA_W::new(self, 0) } diff --git a/esp32s3/src/extmem/icache_sync_size.rs b/esp32s3/src/extmem/icache_sync_size.rs index a054a9e795..45a7636354 100644 --- a/esp32s3/src/extmem/icache_sync_size.rs +++ b/esp32s3/src/extmem/icache_sync_size.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:22 - The bits are used to configure the length for sync operations. The bits are the counts of cache block. It should be combined with ICACHE_SYNC_ADDR_REG."] #[inline(always)] - #[must_use] pub fn icache_sync_size(&mut self) -> ICACHE_SYNC_SIZE_W { ICACHE_SYNC_SIZE_W::new(self, 0) } diff --git a/esp32s3/src/extmem/icache_tag_power_ctrl.rs b/esp32s3/src/extmem/icache_tag_power_ctrl.rs index 6c0a388b62..d2b2a17294 100644 --- a/esp32s3/src/extmem/icache_tag_power_ctrl.rs +++ b/esp32s3/src/extmem/icache_tag_power_ctrl.rs @@ -44,7 +44,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The bit is used to close clock gating of icache tag memory. 1: close gating, 0: open clock gating."] #[inline(always)] - #[must_use] pub fn icache_tag_mem_force_on( &mut self, ) -> ICACHE_TAG_MEM_FORCE_ON_W { @@ -52,7 +51,6 @@ impl W { } #[doc = "Bit 1 - The bit is used to power icache tag memory down, 0: follow rtc_lslp, 1: power down"] #[inline(always)] - #[must_use] pub fn icache_tag_mem_force_pd( &mut self, ) -> ICACHE_TAG_MEM_FORCE_PD_W { @@ -60,7 +58,6 @@ impl W { } #[doc = "Bit 2 - The bit is used to power icache tag memory up, 0: follow rtc_lslp, 1: power up"] #[inline(always)] - #[must_use] pub fn icache_tag_mem_force_pu( &mut self, ) -> ICACHE_TAG_MEM_FORCE_PU_W { diff --git a/esp32s3/src/fe/gen_ctrl.rs b/esp32s3/src/fe/gen_ctrl.rs index b0d00836ae..00fcd0ce83 100644 --- a/esp32s3/src/fe/gen_ctrl.rs +++ b/esp32s3/src/fe/gen_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 4 - Force Power Down for IQ Estimation"] #[inline(always)] - #[must_use] pub fn iq_est_force_pd(&mut self) -> IQ_EST_FORCE_PD_W { IQ_EST_FORCE_PD_W::new(self, 4) } #[doc = "Bit 5 - Force Power Up for IQ Estimation"] #[inline(always)] - #[must_use] pub fn iq_est_force_pu(&mut self) -> IQ_EST_FORCE_PU_W { IQ_EST_FORCE_PU_W::new(self, 5) } diff --git a/esp32s3/src/fe2/tx_interp_ctrl.rs b/esp32s3/src/fe2/tx_interp_ctrl.rs index c019b49ecc..badc771101 100644 --- a/esp32s3/src/fe2/tx_interp_ctrl.rs +++ b/esp32s3/src/fe2/tx_interp_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 9 - Force Power Down field"] #[inline(always)] - #[must_use] pub fn tx_inf_force_pd(&mut self) -> TX_INF_FORCE_PD_W { TX_INF_FORCE_PD_W::new(self, 9) } #[doc = "Bit 10 - Force Power Up field"] #[inline(always)] - #[must_use] pub fn tx_inf_force_pu(&mut self) -> TX_INF_FORCE_PU_W { TX_INF_FORCE_PU_W::new(self, 10) } diff --git a/esp32s3/src/generic.rs b/esp32s3/src/generic.rs index d57106cb27..a7cb020aef 100644 --- a/esp32s3/src/generic.rs +++ b/esp32s3/src/generic.rs @@ -524,18 +524,60 @@ impl Reg { #[doc = " ```"] #[doc = " In the latter case, other fields will be set to their reset value."] #[inline(always)] - pub fn write(&self, f: F) + pub fn write(&self, f: F) -> REG::Ux where F: FnOnce(&mut W) -> &mut W, { - self.register.set( - f(&mut W { - bits: REG::RESET_VALUE & !REG::ONE_TO_MODIFY_FIELDS_BITMAP - | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, - _reg: marker::PhantomData, - }) - .bits, - ); + let value = f(&mut W { + bits: REG::RESET_VALUE & !REG::ONE_TO_MODIFY_FIELDS_BITMAP + | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }) + .bits; + self.register.set(value); + value + } + #[doc = " Writes bits to a `Writable` register and produce a value."] + #[doc = ""] + #[doc = " You can write raw bits into a register:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.write_and(|w| unsafe { w.bits(rawbits); });"] + #[doc = " ```"] + #[doc = " or write only the fields you need:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.write_and(|w| {"] + #[doc = " w.field1().bits(newfield1bits)"] + #[doc = " .field2().set_bit()"] + #[doc = " .field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " or an alternative way of saying the same:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.write_and(|w| {"] + #[doc = " w.field1().bits(newfield1bits);"] + #[doc = " w.field2().set_bit();"] + #[doc = " w.field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " In the latter case, other fields will be set to their reset value."] + #[doc = ""] + #[doc = " Values can be returned from the closure:"] + #[doc = " ```ignore"] + #[doc = " let state = periph.reg.write_and(|w| State::set(w.field1()));"] + #[doc = " ```"] + #[inline(always)] + pub fn from_write(&self, f: F) -> T + where + F: FnOnce(&mut W) -> T, + { + let mut writer = W { + bits: REG::RESET_VALUE & !REG::ONE_TO_MODIFY_FIELDS_BITMAP + | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }; + let result = f(&mut writer); + self.register.set(writer.bits); + result } } impl Reg { @@ -547,17 +589,37 @@ impl Reg { #[doc = ""] #[doc = " Unsafe to use with registers which don't allow to write 0."] #[inline(always)] - pub unsafe fn write_with_zero(&self, f: F) + pub unsafe fn write_with_zero(&self, f: F) -> REG::Ux where F: FnOnce(&mut W) -> &mut W, { - self.register.set( - f(&mut W { - bits: REG::Ux::default(), - _reg: marker::PhantomData, - }) - .bits, - ); + let value = f(&mut W { + bits: REG::Ux::default(), + _reg: marker::PhantomData, + }) + .bits; + self.register.set(value); + value + } + #[doc = " Writes 0 to a `Writable` register and produces a value."] + #[doc = ""] + #[doc = " Similar to `write`, but unused bits will contain 0."] + #[doc = ""] + #[doc = " # Safety"] + #[doc = ""] + #[doc = " Unsafe to use with registers which don't allow to write 0."] + #[inline(always)] + pub unsafe fn from_write_with_zero(&self, f: F) -> T + where + F: FnOnce(&mut W) -> T, + { + let mut writer = W { + bits: REG::Ux::default(), + _reg: marker::PhantomData, + }; + let result = f(&mut writer); + self.register.set(writer.bits); + result } } impl Reg { @@ -587,25 +649,75 @@ impl Reg { #[doc = " ```"] #[doc = " Other fields will have the value they had before the call to `modify`."] #[inline(always)] - pub fn modify(&self, f: F) + pub fn modify(&self, f: F) -> REG::Ux where for<'w> F: FnOnce(&R, &'w mut W) -> &'w mut W, { let bits = self.register.get(); - self.register.set( - f( - &R { - bits, - _reg: marker::PhantomData, - }, - &mut W { - bits: bits & !REG::ONE_TO_MODIFY_FIELDS_BITMAP - | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, - _reg: marker::PhantomData, - }, - ) - .bits, + let value = f( + &R { + bits, + _reg: marker::PhantomData, + }, + &mut W { + bits: bits & !REG::ONE_TO_MODIFY_FIELDS_BITMAP | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }, + ) + .bits; + self.register.set(value); + value + } + #[doc = " Modifies the contents of the register by reading and then writing it"] + #[doc = " and produces a value."] + #[doc = ""] + #[doc = " E.g. to do a read-modify-write sequence to change parts of a register:"] + #[doc = " ```ignore"] + #[doc = " let bits = periph.reg.modify(|r, w| {"] + #[doc = " let new_bits = r.bits() | 3;"] + #[doc = " unsafe {"] + #[doc = " w.bits(new_bits);"] + #[doc = " }"] + #[doc = ""] + #[doc = " new_bits"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " or"] + #[doc = " ```ignore"] + #[doc = " periph.reg.modify(|_, w| {"] + #[doc = " w.field1().bits(newfield1bits)"] + #[doc = " .field2().set_bit()"] + #[doc = " .field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " or an alternative way of saying the same:"] + #[doc = " ```ignore"] + #[doc = " periph.reg.modify(|_, w| {"] + #[doc = " w.field1().bits(newfield1bits);"] + #[doc = " w.field2().set_bit();"] + #[doc = " w.field3().variant(VARIANT);"] + #[doc = " });"] + #[doc = " ```"] + #[doc = " Other fields will have the value they had before the call to `modify`."] + #[inline(always)] + pub fn from_modify(&self, f: F) -> T + where + for<'w> F: FnOnce(&R, &'w mut W) -> T, + { + let bits = self.register.get(); + let mut writer = W { + bits: bits & !REG::ONE_TO_MODIFY_FIELDS_BITMAP | REG::ZERO_TO_MODIFY_FIELDS_BITMAP, + _reg: marker::PhantomData, + }; + let result = f( + &R { + bits, + _reg: marker::PhantomData, + }, + &mut writer, ); + self.register.set(writer.bits); + result } } impl core::fmt::Debug for crate::generic::Reg diff --git a/esp32s3/src/generic/raw.rs b/esp32s3/src/generic/raw.rs index 81f5779524..d60a23a7cc 100644 --- a/esp32s3/src/generic/raw.rs +++ b/esp32s3/src/generic/raw.rs @@ -41,6 +41,7 @@ impl BitReader { } } } +#[must_use = "after creating `FieldWriter` you need to call field value setting method"] pub struct FieldWriter<'a, REG, const WI: u8, FI = u8, Safety = Unsafe> where REG: Writable + RegisterSpec, @@ -66,6 +67,7 @@ where } } } +#[must_use = "after creating `BitWriter` you need to call bit setting method"] pub struct BitWriter<'a, REG, FI = bool, M = BitM> where REG: Writable + RegisterSpec, diff --git a/esp32s3/src/gpio/bt_select.rs b/esp32s3/src/gpio/bt_select.rs index d7b1c5cbd7..1207e6041d 100644 --- a/esp32s3/src/gpio/bt_select.rs +++ b/esp32s3/src/gpio/bt_select.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - GPIO bit select register"] #[inline(always)] - #[must_use] pub fn bt_sel(&mut self) -> BT_SEL_W { BT_SEL_W::new(self, 0) } diff --git a/esp32s3/src/gpio/clock_gate.rs b/esp32s3/src/gpio/clock_gate.rs index dc08365f35..fcb38c1911 100644 --- a/esp32s3/src/gpio/clock_gate.rs +++ b/esp32s3/src/gpio/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - set this bit to enable GPIO clock gate"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32s3/src/gpio/enable.rs b/esp32s3/src/gpio/enable.rs index f88ac51742..ec0fef1ced 100644 --- a/esp32s3/src/gpio/enable.rs +++ b/esp32s3/src/gpio/enable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - GPIO output enable register for GPIO0-31"] #[inline(always)] - #[must_use] pub fn data(&mut self) -> DATA_W { DATA_W::new(self, 0) } diff --git a/esp32s3/src/gpio/enable1.rs b/esp32s3/src/gpio/enable1.rs index 24c17fb387..4766ebfb43 100644 --- a/esp32s3/src/gpio/enable1.rs +++ b/esp32s3/src/gpio/enable1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - GPIO output enable register for GPIO32-53"] #[inline(always)] - #[must_use] pub fn data(&mut self) -> DATA_W { DATA_W::new(self, 0) } diff --git a/esp32s3/src/gpio/enable1_w1tc.rs b/esp32s3/src/gpio/enable1_w1tc.rs index 6300cd3707..66d7c1c2f1 100644 --- a/esp32s3/src/gpio/enable1_w1tc.rs +++ b/esp32s3/src/gpio/enable1_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:21 - GPIO output enable clear register for GPIO32-53"] #[inline(always)] - #[must_use] pub fn enable1_w1tc(&mut self) -> ENABLE1_W1TC_W { ENABLE1_W1TC_W::new(self, 0) } diff --git a/esp32s3/src/gpio/enable1_w1ts.rs b/esp32s3/src/gpio/enable1_w1ts.rs index 1aa292c867..6fb4bde334 100644 --- a/esp32s3/src/gpio/enable1_w1ts.rs +++ b/esp32s3/src/gpio/enable1_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:21 - GPIO output enable set register for GPIO32-53"] #[inline(always)] - #[must_use] pub fn enable1_w1ts(&mut self) -> ENABLE1_W1TS_W { ENABLE1_W1TS_W::new(self, 0) } diff --git a/esp32s3/src/gpio/enable_w1tc.rs b/esp32s3/src/gpio/enable_w1tc.rs index 2430ef3d46..2b4f6b45f4 100644 --- a/esp32s3/src/gpio/enable_w1tc.rs +++ b/esp32s3/src/gpio/enable_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - GPIO output enable clear register for GPIO0-31"] #[inline(always)] - #[must_use] pub fn enable_w1tc(&mut self) -> ENABLE_W1TC_W { ENABLE_W1TC_W::new(self, 0) } diff --git a/esp32s3/src/gpio/enable_w1ts.rs b/esp32s3/src/gpio/enable_w1ts.rs index 6078292c22..b282747b2c 100644 --- a/esp32s3/src/gpio/enable_w1ts.rs +++ b/esp32s3/src/gpio/enable_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - GPIO output enable set register for GPIO0-31"] #[inline(always)] - #[must_use] pub fn enable_w1ts(&mut self) -> ENABLE_W1TS_W { ENABLE_W1TS_W::new(self, 0) } diff --git a/esp32s3/src/gpio/func_in_sel_cfg.rs b/esp32s3/src/gpio/func_in_sel_cfg.rs index 5172202aa6..8e71235145 100644 --- a/esp32s3/src/gpio/func_in_sel_cfg.rs +++ b/esp32s3/src/gpio/func_in_sel_cfg.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - set this value: s=0-53: connect GPIO\\[s\\] to this port. s=0x38: set this port always high level. s=0x3C: set this port always low level."] #[inline(always)] - #[must_use] pub fn in_sel(&mut self) -> IN_SEL_W { IN_SEL_W::new(self, 0) } #[doc = "Bit 6 - set this bit to invert input signal. 1:invert. 0:not invert."] #[inline(always)] - #[must_use] pub fn in_inv_sel(&mut self) -> IN_INV_SEL_W { IN_INV_SEL_W::new(self, 6) } #[doc = "Bit 7 - set this bit to bypass GPIO. 1:do not bypass GPIO. 0:bypass GPIO."] #[inline(always)] - #[must_use] pub fn sel(&mut self) -> SEL_W { SEL_W::new(self, 7) } diff --git a/esp32s3/src/gpio/func_out_sel_cfg.rs b/esp32s3/src/gpio/func_out_sel_cfg.rs index 6c364aa736..554163795a 100644 --- a/esp32s3/src/gpio/func_out_sel_cfg.rs +++ b/esp32s3/src/gpio/func_out_sel_cfg.rs @@ -2,9 +2,9 @@ pub type R = crate::R; #[doc = "Register `FUNC%s_OUT_SEL_CFG` writer"] pub type W = crate::W; -#[doc = "Field `OUT_SEL` reader - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-255: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=256: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] +#[doc = "Field `OUT_SEL` reader - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-255: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=256: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] pub type OUT_SEL_R = crate::FieldReader; -#[doc = "Field `OUT_SEL` writer - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-255: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=256: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] +#[doc = "Field `OUT_SEL` writer - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-255: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=256: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] pub type OUT_SEL_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; #[doc = "Field `INV_SEL` reader - set this bit to invert output signal.1:invert.0:not invert."] pub type INV_SEL_R = crate::BitReader; @@ -19,7 +19,7 @@ pub type OEN_INV_SEL_R = crate::BitReader; #[doc = "Field `OEN_INV_SEL` writer - set this bit to invert output enable signal.1:invert.0:not invert."] pub type OEN_INV_SEL_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { - #[doc = "Bits 0:8 - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-255: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=256: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] + #[doc = "Bits 0:8 - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-255: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=256: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] #[inline(always)] pub fn out_sel(&self) -> OUT_SEL_R { OUT_SEL_R::new((self.bits & 0x01ff) as u16) @@ -52,27 +52,23 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bits 0:8 - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-255: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=256: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] + #[doc = "Bits 0:8 - The value of the bits: 0<=s<=256. Set the value to select output signal. s=0-255: output of GPIO\\[n\\] equals input of peripheral\\[s\\]. s=256: output of GPIO\\[n\\] equals GPIO_OUT_REG\\[n\\]."] #[inline(always)] - #[must_use] pub fn out_sel(&mut self) -> OUT_SEL_W { OUT_SEL_W::new(self, 0) } #[doc = "Bit 9 - set this bit to invert output signal.1:invert.0:not invert."] #[inline(always)] - #[must_use] pub fn inv_sel(&mut self) -> INV_SEL_W { INV_SEL_W::new(self, 9) } #[doc = "Bit 10 - set this bit to select output enable signal.1:use GPIO_ENABLE_REG\\[n\\] as output enable signal.0:use peripheral output enable signal."] #[inline(always)] - #[must_use] pub fn oen_sel(&mut self) -> OEN_SEL_W { OEN_SEL_W::new(self, 10) } #[doc = "Bit 11 - set this bit to invert output enable signal.1:invert.0:not invert."] #[inline(always)] - #[must_use] pub fn oen_inv_sel(&mut self) -> OEN_INV_SEL_W { OEN_INV_SEL_W::new(self, 11) } diff --git a/esp32s3/src/gpio/in1.rs b/esp32s3/src/gpio/in1.rs index 49eb9de7e1..18ef519557 100644 --- a/esp32s3/src/gpio/in1.rs +++ b/esp32s3/src/gpio/in1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - GPIO input register for GPIO32-53"] #[inline(always)] - #[must_use] pub fn data_next(&mut self) -> DATA_NEXT_W { DATA_NEXT_W::new(self, 0) } diff --git a/esp32s3/src/gpio/in_.rs b/esp32s3/src/gpio/in_.rs index 014742f43a..98fd5bd0e6 100644 --- a/esp32s3/src/gpio/in_.rs +++ b/esp32s3/src/gpio/in_.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - GPIO input register for GPIO0-31"] #[inline(always)] - #[must_use] pub fn data_next(&mut self) -> DATA_NEXT_W { DATA_NEXT_W::new(self, 0) } diff --git a/esp32s3/src/gpio/out.rs b/esp32s3/src/gpio/out.rs index 4e8b7d0b21..f52f2a8c9e 100644 --- a/esp32s3/src/gpio/out.rs +++ b/esp32s3/src/gpio/out.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - GPIO output register for GPIO0-31"] #[inline(always)] - #[must_use] pub fn data_orig(&mut self) -> DATA_ORIG_W { DATA_ORIG_W::new(self, 0) } diff --git a/esp32s3/src/gpio/out1.rs b/esp32s3/src/gpio/out1.rs index de373d2cae..0fac9b51cf 100644 --- a/esp32s3/src/gpio/out1.rs +++ b/esp32s3/src/gpio/out1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - GPIO output register for GPIO32-53"] #[inline(always)] - #[must_use] pub fn data_orig(&mut self) -> DATA_ORIG_W { DATA_ORIG_W::new(self, 0) } diff --git a/esp32s3/src/gpio/out1_w1tc.rs b/esp32s3/src/gpio/out1_w1tc.rs index b2bfd08d06..d3b8a94440 100644 --- a/esp32s3/src/gpio/out1_w1tc.rs +++ b/esp32s3/src/gpio/out1_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:21 - GPIO output clear register for GPIO32-53"] #[inline(always)] - #[must_use] pub fn out1_w1tc(&mut self) -> OUT1_W1TC_W { OUT1_W1TC_W::new(self, 0) } diff --git a/esp32s3/src/gpio/out1_w1ts.rs b/esp32s3/src/gpio/out1_w1ts.rs index a078ba4cdd..3f70f05b0d 100644 --- a/esp32s3/src/gpio/out1_w1ts.rs +++ b/esp32s3/src/gpio/out1_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:21 - GPIO output set register for GPIO32-53"] #[inline(always)] - #[must_use] pub fn out1_w1ts(&mut self) -> OUT1_W1TS_W { OUT1_W1TS_W::new(self, 0) } diff --git a/esp32s3/src/gpio/out_w1tc.rs b/esp32s3/src/gpio/out_w1tc.rs index a0260c53ec..a4a932319a 100644 --- a/esp32s3/src/gpio/out_w1tc.rs +++ b/esp32s3/src/gpio/out_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - GPIO output clear register for GPIO0-31"] #[inline(always)] - #[must_use] pub fn out_w1tc(&mut self) -> OUT_W1TC_W { OUT_W1TC_W::new(self, 0) } diff --git a/esp32s3/src/gpio/out_w1ts.rs b/esp32s3/src/gpio/out_w1ts.rs index 70c7af6b7e..33b86ce3b3 100644 --- a/esp32s3/src/gpio/out_w1ts.rs +++ b/esp32s3/src/gpio/out_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - GPIO output set register for GPIO0-31"] #[inline(always)] - #[must_use] pub fn out_w1ts(&mut self) -> OUT_W1TS_W { OUT_W1TS_W::new(self, 0) } diff --git a/esp32s3/src/gpio/pin.rs b/esp32s3/src/gpio/pin.rs index 28a30e66af..5bad7dea08 100644 --- a/esp32s3/src/gpio/pin.rs +++ b/esp32s3/src/gpio/pin.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - set GPIO input_sync2 signal mode. 0:disable. 1:trigger at negedge. 2or3:trigger at posedge."] #[inline(always)] - #[must_use] pub fn sync2_bypass(&mut self) -> SYNC2_BYPASS_W { SYNC2_BYPASS_W::new(self, 0) } #[doc = "Bit 2 - set this bit to select pad driver. 1:open-drain. 0:normal."] #[inline(always)] - #[must_use] pub fn pad_driver(&mut self) -> PAD_DRIVER_W { PAD_DRIVER_W::new(self, 2) } #[doc = "Bits 3:4 - set GPIO input_sync1 signal mode. 0:disable. 1:trigger at negedge. 2or3:trigger at posedge."] #[inline(always)] - #[must_use] pub fn sync1_bypass(&mut self) -> SYNC1_BYPASS_W { SYNC1_BYPASS_W::new(self, 3) } #[doc = "Bits 7:9 - set this value to choose interrupt mode. 0:disable GPIO interrupt. 1:trigger at posedge. 2:trigger at negedge. 3:trigger at any edge. 4:valid at low level. 5:valid at high level"] #[inline(always)] - #[must_use] pub fn int_type(&mut self) -> INT_TYPE_W { INT_TYPE_W::new(self, 7) } #[doc = "Bit 10 - set this bit to enable GPIO wakeup.(can only wakeup CPU from Light-sleep Mode)"] #[inline(always)] - #[must_use] pub fn wakeup_enable(&mut self) -> WAKEUP_ENABLE_W { WAKEUP_ENABLE_W::new(self, 10) } #[doc = "Bits 11:12 - reserved"] #[inline(always)] - #[must_use] pub fn config(&mut self) -> CONFIG_W { CONFIG_W::new(self, 11) } #[doc = "Bits 13:17 - set bit 13 to enable CPU interrupt. set bit 14 to enable CPU(not shielded) interrupt."] #[inline(always)] - #[must_use] pub fn int_ena(&mut self) -> INT_ENA_W { INT_ENA_W::new(self, 13) } diff --git a/esp32s3/src/gpio/reg_date.rs b/esp32s3/src/gpio/reg_date.rs index 8e5d5b504d..cb3551f992 100644 --- a/esp32s3/src/gpio/reg_date.rs +++ b/esp32s3/src/gpio/reg_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - version register"] #[inline(always)] - #[must_use] pub fn reg_date(&mut self) -> REG_DATE_W { REG_DATE_W::new(self, 0) } diff --git a/esp32s3/src/gpio/sdio_select.rs b/esp32s3/src/gpio/sdio_select.rs index 4099035e5f..20bb242683 100644 --- a/esp32s3/src/gpio/sdio_select.rs +++ b/esp32s3/src/gpio/sdio_select.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - GPIO sdio select register"] #[inline(always)] - #[must_use] pub fn sdio_sel(&mut self) -> SDIO_SEL_W { SDIO_SEL_W::new(self, 0) } diff --git a/esp32s3/src/gpio/status.rs b/esp32s3/src/gpio/status.rs index c98aa95035..d09aa5f9bd 100644 --- a/esp32s3/src/gpio/status.rs +++ b/esp32s3/src/gpio/status.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - GPIO interrupt status register for GPIO0-31"] #[inline(always)] - #[must_use] pub fn interrupt(&mut self) -> INTERRUPT_W { INTERRUPT_W::new(self, 0) } diff --git a/esp32s3/src/gpio/status1.rs b/esp32s3/src/gpio/status1.rs index 9076b9933f..75ffb9e47e 100644 --- a/esp32s3/src/gpio/status1.rs +++ b/esp32s3/src/gpio/status1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - GPIO interrupt status register for GPIO32-53"] #[inline(always)] - #[must_use] pub fn interrupt(&mut self) -> INTERRUPT_W { INTERRUPT_W::new(self, 0) } diff --git a/esp32s3/src/gpio/status1_w1tc.rs b/esp32s3/src/gpio/status1_w1tc.rs index 352c92a65f..a468cc75c3 100644 --- a/esp32s3/src/gpio/status1_w1tc.rs +++ b/esp32s3/src/gpio/status1_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:21 - GPIO interrupt status clear register for GPIO32-53"] #[inline(always)] - #[must_use] pub fn status1_w1tc(&mut self) -> STATUS1_W1TC_W { STATUS1_W1TC_W::new(self, 0) } diff --git a/esp32s3/src/gpio/status1_w1ts.rs b/esp32s3/src/gpio/status1_w1ts.rs index 66a43cca16..2d00c925b1 100644 --- a/esp32s3/src/gpio/status1_w1ts.rs +++ b/esp32s3/src/gpio/status1_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:21 - GPIO interrupt status set register for GPIO32-53"] #[inline(always)] - #[must_use] pub fn status1_w1ts(&mut self) -> STATUS1_W1TS_W { STATUS1_W1TS_W::new(self, 0) } diff --git a/esp32s3/src/gpio/status_w1tc.rs b/esp32s3/src/gpio/status_w1tc.rs index 823616fd36..2d8a58ef2a 100644 --- a/esp32s3/src/gpio/status_w1tc.rs +++ b/esp32s3/src/gpio/status_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - GPIO interrupt status clear register for GPIO0-31"] #[inline(always)] - #[must_use] pub fn status_w1tc(&mut self) -> STATUS_W1TC_W { STATUS_W1TC_W::new(self, 0) } diff --git a/esp32s3/src/gpio/status_w1ts.rs b/esp32s3/src/gpio/status_w1ts.rs index 0baee1a8e9..b915c312f0 100644 --- a/esp32s3/src/gpio/status_w1ts.rs +++ b/esp32s3/src/gpio/status_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - GPIO interrupt status set register for GPIO0-31"] #[inline(always)] - #[must_use] pub fn status_w1ts(&mut self) -> STATUS_W1TS_W { STATUS_W1TS_W::new(self, 0) } diff --git a/esp32s3/src/gpio_sd/clock_gate.rs b/esp32s3/src/gpio_sd/clock_gate.rs index c260e2a103..49ae0f928c 100644 --- a/esp32s3/src/gpio_sd/clock_gate.rs +++ b/esp32s3/src/gpio_sd/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - Clock enable bit of configuration registers for sigma delta modulation."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32s3/src/gpio_sd/sigmadelta.rs b/esp32s3/src/gpio_sd/sigmadelta.rs index 38e02d27b9..aed653d231 100644 --- a/esp32s3/src/gpio_sd/sigmadelta.rs +++ b/esp32s3/src/gpio_sd/sigmadelta.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This field is used to configure the duty cycle of sigma delta modulation output."] #[inline(always)] - #[must_use] pub fn in_(&mut self) -> IN_W { IN_W::new(self, 0) } #[doc = "Bits 8:15 - This field is used to set a divider value to divide APB clock."] #[inline(always)] - #[must_use] pub fn prescale(&mut self) -> PRESCALE_W { PRESCALE_W::new(self, 8) } diff --git a/esp32s3/src/gpio_sd/sigmadelta_misc.rs b/esp32s3/src/gpio_sd/sigmadelta_misc.rs index 4ab13a96f5..3f7dca6ec7 100644 --- a/esp32s3/src/gpio_sd/sigmadelta_misc.rs +++ b/esp32s3/src/gpio_sd/sigmadelta_misc.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - Clock enable bit of sigma delta modulation."] #[inline(always)] - #[must_use] pub fn function_clk_en(&mut self) -> FUNCTION_CLK_EN_W { FUNCTION_CLK_EN_W::new(self, 30) } #[doc = "Bit 31 - Reserved."] #[inline(always)] - #[must_use] pub fn spi_swap(&mut self) -> SPI_SWAP_W { SPI_SWAP_W::new(self, 31) } diff --git a/esp32s3/src/gpio_sd/version.rs b/esp32s3/src/gpio_sd/version.rs index 103f2cef59..5fe213d85f 100644 --- a/esp32s3/src/gpio_sd/version.rs +++ b/esp32s3/src/gpio_sd/version.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Version control register."] #[inline(always)] - #[must_use] pub fn gpio_sd_date(&mut self) -> GPIO_SD_DATE_W { GPIO_SD_DATE_W::new(self, 0) } diff --git a/esp32s3/src/hmac/date.rs b/esp32s3/src/hmac/date.rs index c0b9917083..92e7e72977 100644 --- a/esp32s3/src/hmac/date.rs +++ b/esp32s3/src/hmac/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Hmac date information/ hmac version information."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s3/src/hmac/one_block.rs b/esp32s3/src/hmac/one_block.rs index b43566689f..b4035ad8b6 100644 --- a/esp32s3/src/hmac/one_block.rs +++ b/esp32s3/src/hmac/one_block.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Don't have to do padding."] #[inline(always)] - #[must_use] pub fn set_one_block(&mut self) -> SET_ONE_BLOCK_W { SET_ONE_BLOCK_W::new(self, 0) } diff --git a/esp32s3/src/hmac/set_invalidate_ds.rs b/esp32s3/src/hmac/set_invalidate_ds.rs index 111bcc4282..407f746e9e 100644 --- a/esp32s3/src/hmac/set_invalidate_ds.rs +++ b/esp32s3/src/hmac/set_invalidate_ds.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Clear result from hmac downstream DS."] #[inline(always)] - #[must_use] pub fn set_invalidate_ds(&mut self) -> SET_INVALIDATE_DS_W { SET_INVALIDATE_DS_W::new(self, 0) } diff --git a/esp32s3/src/hmac/set_invalidate_jtag.rs b/esp32s3/src/hmac/set_invalidate_jtag.rs index d3506d5640..82a7427c4a 100644 --- a/esp32s3/src/hmac/set_invalidate_jtag.rs +++ b/esp32s3/src/hmac/set_invalidate_jtag.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Clear result from hmac downstream JTAG."] #[inline(always)] - #[must_use] pub fn set_invalidate_jtag(&mut self) -> SET_INVALIDATE_JTAG_W { SET_INVALIDATE_JTAG_W::new(self, 0) } diff --git a/esp32s3/src/hmac/set_message_end.rs b/esp32s3/src/hmac/set_message_end.rs index 3ae43ef9c8..7006fb27f4 100644 --- a/esp32s3/src/hmac/set_message_end.rs +++ b/esp32s3/src/hmac/set_message_end.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Start hardware padding."] #[inline(always)] - #[must_use] pub fn set_text_end(&mut self) -> SET_TEXT_END_W { SET_TEXT_END_W::new(self, 0) } diff --git a/esp32s3/src/hmac/set_message_ing.rs b/esp32s3/src/hmac/set_message_ing.rs index c325d92c32..663dbe540f 100644 --- a/esp32s3/src/hmac/set_message_ing.rs +++ b/esp32s3/src/hmac/set_message_ing.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Continue typical hmac."] #[inline(always)] - #[must_use] pub fn set_text_ing(&mut self) -> SET_TEXT_ING_W { SET_TEXT_ING_W::new(self, 0) } diff --git a/esp32s3/src/hmac/set_message_one.rs b/esp32s3/src/hmac/set_message_one.rs index 8ef37f11db..d32eb2efd1 100644 --- a/esp32s3/src/hmac/set_message_one.rs +++ b/esp32s3/src/hmac/set_message_one.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Call SHA to calculate one message block."] #[inline(always)] - #[must_use] pub fn set_text_one(&mut self) -> SET_TEXT_ONE_W { SET_TEXT_ONE_W::new(self, 0) } diff --git a/esp32s3/src/hmac/set_message_pad.rs b/esp32s3/src/hmac/set_message_pad.rs index 8739d11add..8877ee730d 100644 --- a/esp32s3/src/hmac/set_message_pad.rs +++ b/esp32s3/src/hmac/set_message_pad.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Start software padding."] #[inline(always)] - #[must_use] pub fn set_text_pad(&mut self) -> SET_TEXT_PAD_W { SET_TEXT_PAD_W::new(self, 0) } diff --git a/esp32s3/src/hmac/set_para_finish.rs b/esp32s3/src/hmac/set_para_finish.rs index 66cbaa057f..15257695f6 100644 --- a/esp32s3/src/hmac/set_para_finish.rs +++ b/esp32s3/src/hmac/set_para_finish.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Finish hmac configuration."] #[inline(always)] - #[must_use] pub fn set_para_end(&mut self) -> SET_PARA_END_W { SET_PARA_END_W::new(self, 0) } diff --git a/esp32s3/src/hmac/set_para_key.rs b/esp32s3/src/hmac/set_para_key.rs index 0bbde55d9d..fe4e62547a 100644 --- a/esp32s3/src/hmac/set_para_key.rs +++ b/esp32s3/src/hmac/set_para_key.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:2 - Set hmac parameter key."] #[inline(always)] - #[must_use] pub fn key_set(&mut self) -> KEY_SET_W { KEY_SET_W::new(self, 0) } diff --git a/esp32s3/src/hmac/set_para_purpose.rs b/esp32s3/src/hmac/set_para_purpose.rs index eafe6bc3e7..fc78aa1598 100644 --- a/esp32s3/src/hmac/set_para_purpose.rs +++ b/esp32s3/src/hmac/set_para_purpose.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:3 - Set hmac parameter purpose."] #[inline(always)] - #[must_use] pub fn purpose_set(&mut self) -> PURPOSE_SET_W { PURPOSE_SET_W::new(self, 0) } diff --git a/esp32s3/src/hmac/set_result_finish.rs b/esp32s3/src/hmac/set_result_finish.rs index ed02cedec4..430f5290fb 100644 --- a/esp32s3/src/hmac/set_result_finish.rs +++ b/esp32s3/src/hmac/set_result_finish.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - After read result from upstream, then let hmac back to idle."] #[inline(always)] - #[must_use] pub fn set_result_end(&mut self) -> SET_RESULT_END_W { SET_RESULT_END_W::new(self, 0) } diff --git a/esp32s3/src/hmac/set_start.rs b/esp32s3/src/hmac/set_start.rs index 293497a4fd..e8e873ce29 100644 --- a/esp32s3/src/hmac/set_start.rs +++ b/esp32s3/src/hmac/set_start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Start hmac operation."] #[inline(always)] - #[must_use] pub fn set_start(&mut self) -> SET_START_W { SET_START_W::new(self, 0) } diff --git a/esp32s3/src/hmac/soft_jtag_ctrl.rs b/esp32s3/src/hmac/soft_jtag_ctrl.rs index 9c7ec8ae3d..368f294e81 100644 --- a/esp32s3/src/hmac/soft_jtag_ctrl.rs +++ b/esp32s3/src/hmac/soft_jtag_ctrl.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Turn on JTAG verification."] #[inline(always)] - #[must_use] pub fn soft_jtag_ctrl(&mut self) -> SOFT_JTAG_CTRL_W { SOFT_JTAG_CTRL_W::new(self, 0) } diff --git a/esp32s3/src/hmac/wr_jtag.rs b/esp32s3/src/hmac/wr_jtag.rs index 98c5adab47..e1bfccc0b9 100644 --- a/esp32s3/src/hmac/wr_jtag.rs +++ b/esp32s3/src/hmac/wr_jtag.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - 32-bit of key to be compared."] #[inline(always)] - #[must_use] pub fn wr_jtag(&mut self) -> WR_JTAG_W { WR_JTAG_W::new(self, 0) } diff --git a/esp32s3/src/i2c0/clk_conf.rs b/esp32s3/src/i2c0/clk_conf.rs index 8232389a17..4a33df6cf5 100644 --- a/esp32s3/src/i2c0/clk_conf.rs +++ b/esp32s3/src/i2c0/clk_conf.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - the integral part of the fractional divisor for i2c module"] #[inline(always)] - #[must_use] pub fn sclk_div_num(&mut self) -> SCLK_DIV_NUM_W { SCLK_DIV_NUM_W::new(self, 0) } #[doc = "Bits 8:13 - the numerator of the fractional part of the fractional divisor for i2c module"] #[inline(always)] - #[must_use] pub fn sclk_div_a(&mut self) -> SCLK_DIV_A_W { SCLK_DIV_A_W::new(self, 8) } #[doc = "Bits 14:19 - the denominator of the fractional part of the fractional divisor for i2c module"] #[inline(always)] - #[must_use] pub fn sclk_div_b(&mut self) -> SCLK_DIV_B_W { SCLK_DIV_B_W::new(self, 14) } #[doc = "Bit 20 - The clock selection for i2c module:0-XTAL;1-CLK_8MHz."] #[inline(always)] - #[must_use] pub fn sclk_sel(&mut self) -> SCLK_SEL_W { SCLK_SEL_W::new(self, 20) } #[doc = "Bit 21 - The clock switch for i2c module"] #[inline(always)] - #[must_use] pub fn sclk_active(&mut self) -> SCLK_ACTIVE_W { SCLK_ACTIVE_W::new(self, 21) } diff --git a/esp32s3/src/i2c0/comd.rs b/esp32s3/src/i2c0/comd.rs index bb55c194e6..7dbcd9c95a 100644 --- a/esp32s3/src/i2c0/comd.rs +++ b/esp32s3/src/i2c0/comd.rs @@ -170,37 +170,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Number of bytes to be sent or received for command %s."] #[inline(always)] - #[must_use] pub fn byte_num(&mut self) -> BYTE_NUM_W { BYTE_NUM_W::new(self, 0) } #[doc = "Bit 8 - Acknowledge check enable for command %s."] #[inline(always)] - #[must_use] pub fn ack_check_en(&mut self) -> ACK_CHECK_EN_W { ACK_CHECK_EN_W::new(self, 8) } #[doc = "Bit 9 - Acknowledge expected for command %s."] #[inline(always)] - #[must_use] pub fn ack_exp(&mut self) -> ACK_EXP_W { ACK_EXP_W::new(self, 9) } #[doc = "Bit 10 - Acknowledge value for command %s."] #[inline(always)] - #[must_use] pub fn ack_value(&mut self) -> ACK_VALUE_W { ACK_VALUE_W::new(self, 10) } #[doc = "Bits 11:13 - Opcode part of command %s."] #[inline(always)] - #[must_use] pub fn opcode(&mut self) -> OPCODE_W { OPCODE_W::new(self, 11) } #[doc = "Bit 31 - When command 0 is done in I2C Master mode, this bit changes to high level."] #[inline(always)] - #[must_use] pub fn command_done(&mut self) -> COMMAND_DONE_W { COMMAND_DONE_W::new(self, 31) } diff --git a/esp32s3/src/i2c0/ctr.rs b/esp32s3/src/i2c0/ctr.rs index c83b48c9d6..ec45213987 100644 --- a/esp32s3/src/i2c0/ctr.rs +++ b/esp32s3/src/i2c0/ctr.rs @@ -140,91 +140,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 0: direct output; 1: open drain output."] #[inline(always)] - #[must_use] pub fn sda_force_out(&mut self) -> SDA_FORCE_OUT_W { SDA_FORCE_OUT_W::new(self, 0) } #[doc = "Bit 1 - 0: direct output; 1: open drain output."] #[inline(always)] - #[must_use] pub fn scl_force_out(&mut self) -> SCL_FORCE_OUT_W { SCL_FORCE_OUT_W::new(self, 1) } #[doc = "Bit 2 - This register is used to select the sample mode. 1: sample SDA data on the SCL low level. 0: sample SDA data on the SCL high level."] #[inline(always)] - #[must_use] pub fn sample_scl_level(&mut self) -> SAMPLE_SCL_LEVEL_W { SAMPLE_SCL_LEVEL_W::new(self, 2) } #[doc = "Bit 3 - This register is used to configure the ACK value that need to sent by master when the rx_fifo_cnt has reached the threshold."] #[inline(always)] - #[must_use] pub fn rx_full_ack_level(&mut self) -> RX_FULL_ACK_LEVEL_W { RX_FULL_ACK_LEVEL_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to configure the module as an I2C Master. Clear this bit to configure the module as an I2C Slave."] #[inline(always)] - #[must_use] pub fn ms_mode(&mut self) -> MS_MODE_W { MS_MODE_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to start sending the data in txfifo."] #[inline(always)] - #[must_use] pub fn trans_start(&mut self) -> TRANS_START_W { TRANS_START_W::new(self, 5) } #[doc = "Bit 6 - This bit is used to control the sending mode for data needing to be sent. 1: send data from the least significant bit; 0: send data from the most significant bit."] #[inline(always)] - #[must_use] pub fn tx_lsb_first(&mut self) -> TX_LSB_FIRST_W { TX_LSB_FIRST_W::new(self, 6) } #[doc = "Bit 7 - This bit is used to control the storage mode for received data. 1: receive data from the least significant bit; 0: receive data from the most significant bit."] #[inline(always)] - #[must_use] pub fn rx_lsb_first(&mut self) -> RX_LSB_FIRST_W { RX_LSB_FIRST_W::new(self, 7) } #[doc = "Bit 8 - Reserved"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 8) } #[doc = "Bit 9 - This is the enable bit for arbitration_lost."] #[inline(always)] - #[must_use] pub fn arbitration_en(&mut self) -> ARBITRATION_EN_W { ARBITRATION_EN_W::new(self, 9) } #[doc = "Bit 10 - This register is used to reset the scl FMS."] #[inline(always)] - #[must_use] pub fn fsm_rst(&mut self) -> FSM_RST_W { FSM_RST_W::new(self, 10) } #[doc = "Bit 11 - synchronization bit"] #[inline(always)] - #[must_use] pub fn conf_upgate(&mut self) -> CONF_UPGATE_W { CONF_UPGATE_W::new(self, 11) } #[doc = "Bit 12 - This is the enable bit for slave to send data automatically"] #[inline(always)] - #[must_use] pub fn slv_tx_auto_start_en(&mut self) -> SLV_TX_AUTO_START_EN_W { SLV_TX_AUTO_START_EN_W::new(self, 12) } #[doc = "Bit 13 - This is the enable bit to check if the r/w bit of 10bit addressing consists with I2C protocol"] #[inline(always)] - #[must_use] pub fn addr_10bit_rw_check_en(&mut self) -> ADDR_10BIT_RW_CHECK_EN_W { ADDR_10BIT_RW_CHECK_EN_W::new(self, 13) } #[doc = "Bit 14 - This is the enable bit to support the 7bit general call function."] #[inline(always)] - #[must_use] pub fn addr_broadcasting_en(&mut self) -> ADDR_BROADCASTING_EN_W { ADDR_BROADCASTING_EN_W::new(self, 14) } diff --git a/esp32s3/src/i2c0/data.rs b/esp32s3/src/i2c0/data.rs index 7b61d0c9b4..85e1cbdac8 100644 --- a/esp32s3/src/i2c0/data.rs +++ b/esp32s3/src/i2c0/data.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - The value of rx FIFO read data."] #[inline(always)] - #[must_use] pub fn fifo_rdata(&mut self) -> FIFO_RDATA_W { FIFO_RDATA_W::new(self, 0) } diff --git a/esp32s3/src/i2c0/date.rs b/esp32s3/src/i2c0/date.rs index d5b4a1c04c..a2cb39465c 100644 --- a/esp32s3/src/i2c0/date.rs +++ b/esp32s3/src/i2c0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This is the the version register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s3/src/i2c0/fifo_conf.rs b/esp32s3/src/i2c0/fifo_conf.rs index 9f814ec804..178ec5c82b 100644 --- a/esp32s3/src/i2c0/fifo_conf.rs +++ b/esp32s3/src/i2c0/fifo_conf.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - The water mark threshold of rx FIFO in nonfifo access mode. When reg_reg_fifo_prt_en is 1 and rx FIFO counter is bigger than reg_rxfifo_wm_thrhd\\[4:0\\], reg_rxfifo_wm_int_raw bit will be valid."] #[inline(always)] - #[must_use] pub fn rxfifo_wm_thrhd(&mut self) -> RXFIFO_WM_THRHD_W { RXFIFO_WM_THRHD_W::new(self, 0) } #[doc = "Bits 5:9 - The water mark threshold of tx FIFO in nonfifo access mode. When reg_reg_fifo_prt_en is 1 and tx FIFO counter is smaller than reg_txfifo_wm_thrhd\\[4:0\\], reg_txfifo_wm_int_raw bit will be valid."] #[inline(always)] - #[must_use] pub fn txfifo_wm_thrhd(&mut self) -> TXFIFO_WM_THRHD_W { TXFIFO_WM_THRHD_W::new(self, 5) } #[doc = "Bit 10 - Set this bit to enable APB nonfifo access."] #[inline(always)] - #[must_use] pub fn nonfifo_en(&mut self) -> NONFIFO_EN_W { NONFIFO_EN_W::new(self, 10) } #[doc = "Bit 11 - When this bit is set to 1, the byte received after the I2C address byte represents the offset address in the I2C Slave RAM."] #[inline(always)] - #[must_use] pub fn fifo_addr_cfg_en(&mut self) -> FIFO_ADDR_CFG_EN_W { FIFO_ADDR_CFG_EN_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to reset rx-fifo."] #[inline(always)] - #[must_use] pub fn rx_fifo_rst(&mut self) -> RX_FIFO_RST_W { RX_FIFO_RST_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to reset tx-fifo."] #[inline(always)] - #[must_use] pub fn tx_fifo_rst(&mut self) -> TX_FIFO_RST_W { TX_FIFO_RST_W::new(self, 13) } #[doc = "Bit 14 - The control enable bit of FIFO pointer in non-fifo access mode. This bit controls the valid bits and the interrupts of tx/rx_fifo overflow, underflow, full and empty."] #[inline(always)] - #[must_use] pub fn fifo_prt_en(&mut self) -> FIFO_PRT_EN_W { FIFO_PRT_EN_W::new(self, 14) } diff --git a/esp32s3/src/i2c0/filter_cfg.rs b/esp32s3/src/i2c0/filter_cfg.rs index bfac5394cd..03c1bda7ac 100644 --- a/esp32s3/src/i2c0/filter_cfg.rs +++ b/esp32s3/src/i2c0/filter_cfg.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - When a pulse on the SCL input has smaller width than this register value in I2C module clock cycles, the I2C controller will ignore that pulse."] #[inline(always)] - #[must_use] pub fn scl_filter_thres(&mut self) -> SCL_FILTER_THRES_W { SCL_FILTER_THRES_W::new(self, 0) } #[doc = "Bits 4:7 - When a pulse on the SDA input has smaller width than this register value in I2C module clock cycles, the I2C controller will ignore that pulse."] #[inline(always)] - #[must_use] pub fn sda_filter_thres(&mut self) -> SDA_FILTER_THRES_W { SDA_FILTER_THRES_W::new(self, 4) } #[doc = "Bit 8 - This is the filter enable bit for SCL."] #[inline(always)] - #[must_use] pub fn scl_filter_en(&mut self) -> SCL_FILTER_EN_W { SCL_FILTER_EN_W::new(self, 8) } #[doc = "Bit 9 - This is the filter enable bit for SDA."] #[inline(always)] - #[must_use] pub fn sda_filter_en(&mut self) -> SDA_FILTER_EN_W { SDA_FILTER_EN_W::new(self, 9) } diff --git a/esp32s3/src/i2c0/int_clr.rs b/esp32s3/src/i2c0/int_clr.rs index 6006d600c1..a78b0e4966 100644 --- a/esp32s3/src/i2c0/int_clr.rs +++ b/esp32s3/src/i2c0/int_clr.rs @@ -45,109 +45,91 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear I2C_RXFIFO_WM_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_wm(&mut self) -> RXFIFO_WM_W { RXFIFO_WM_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear I2C_TXFIFO_WM_INT interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_wm(&mut self) -> TXFIFO_WM_W { TXFIFO_WM_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear I2C_RXFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the I2C_END_DETECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn end_detect(&mut self) -> END_DETECT_W { END_DETECT_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear the I2C_END_DETECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn byte_trans_done(&mut self) -> BYTE_TRANS_DONE_W { BYTE_TRANS_DONE_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the I2C_ARBITRATION_LOST_INT interrupt."] #[inline(always)] - #[must_use] pub fn arbitration_lost(&mut self) -> ARBITRATION_LOST_W { ARBITRATION_LOST_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear I2C_TRANS_COMPLETE_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_txfifo_udf(&mut self) -> MST_TXFIFO_UDF_W { MST_TXFIFO_UDF_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the I2C_TRANS_COMPLETE_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_complete(&mut self) -> TRANS_COMPLETE_W { TRANS_COMPLETE_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the I2C_TIME_OUT_INT interrupt."] #[inline(always)] - #[must_use] pub fn time_out(&mut self) -> TIME_OUT_W { TIME_OUT_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear the I2C_TRANS_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_start(&mut self) -> TRANS_START_W { TRANS_START_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to clear I2C_SLAVE_STRETCH_INT interrupt."] #[inline(always)] - #[must_use] pub fn nack(&mut self) -> NACK_W { NACK_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear I2C_TXFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_ovf(&mut self) -> TXFIFO_OVF_W { TXFIFO_OVF_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to clear I2C_RXFIFO_UDF_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_udf(&mut self) -> RXFIFO_UDF_W { RXFIFO_UDF_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to clear I2C_SCL_ST_TO_INT interrupt."] #[inline(always)] - #[must_use] pub fn scl_st_to(&mut self) -> SCL_ST_TO_W { SCL_ST_TO_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to clear I2C_SCL_MAIN_ST_TO_INT interrupt."] #[inline(always)] - #[must_use] pub fn scl_main_st_to(&mut self) -> SCL_MAIN_ST_TO_W { SCL_MAIN_ST_TO_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to clear I2C_DET_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn det_start(&mut self) -> DET_START_W { DET_START_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to clear I2C_SLAVE_STRETCH_INT interrupt."] #[inline(always)] - #[must_use] pub fn slave_stretch(&mut self) -> SLAVE_STRETCH_W { SLAVE_STRETCH_W::new(self, 16) } #[doc = "Bit 17 - Set this bit for I2C_GENARAL_CALL_INT interrupt."] #[inline(always)] - #[must_use] pub fn general_call(&mut self) -> GENERAL_CALL_W { GENERAL_CALL_W::new(self, 17) } diff --git a/esp32s3/src/i2c0/int_ena.rs b/esp32s3/src/i2c0/int_ena.rs index 1597503f2a..3ba842f856 100644 --- a/esp32s3/src/i2c0/int_ena.rs +++ b/esp32s3/src/i2c0/int_ena.rs @@ -194,109 +194,91 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for I2C_RXFIFO_WM_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_wm(&mut self) -> RXFIFO_WM_W { RXFIFO_WM_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for I2C_TXFIFO_WM_INT interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_wm(&mut self) -> TXFIFO_WM_W { TXFIFO_WM_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for I2C_RXFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the I2C_END_DETECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn end_detect(&mut self) -> END_DETECT_W { END_DETECT_W::new(self, 3) } #[doc = "Bit 4 - The interrupt enable bit for the I2C_END_DETECT_INT interrupt."] #[inline(always)] - #[must_use] pub fn byte_trans_done(&mut self) -> BYTE_TRANS_DONE_W { BYTE_TRANS_DONE_W::new(self, 4) } #[doc = "Bit 5 - The interrupt enable bit for the I2C_ARBITRATION_LOST_INT interrupt."] #[inline(always)] - #[must_use] pub fn arbitration_lost(&mut self) -> ARBITRATION_LOST_W { ARBITRATION_LOST_W::new(self, 5) } #[doc = "Bit 6 - The interrupt enable bit for I2C_TRANS_COMPLETE_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_txfifo_udf(&mut self) -> MST_TXFIFO_UDF_W { MST_TXFIFO_UDF_W::new(self, 6) } #[doc = "Bit 7 - The interrupt enable bit for the I2C_TRANS_COMPLETE_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_complete(&mut self) -> TRANS_COMPLETE_W { TRANS_COMPLETE_W::new(self, 7) } #[doc = "Bit 8 - The interrupt enable bit for the I2C_TIME_OUT_INT interrupt."] #[inline(always)] - #[must_use] pub fn time_out(&mut self) -> TIME_OUT_W { TIME_OUT_W::new(self, 8) } #[doc = "Bit 9 - The interrupt enable bit for the I2C_TRANS_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_start(&mut self) -> TRANS_START_W { TRANS_START_W::new(self, 9) } #[doc = "Bit 10 - The interrupt enable bit for I2C_SLAVE_STRETCH_INT interrupt."] #[inline(always)] - #[must_use] pub fn nack(&mut self) -> NACK_W { NACK_W::new(self, 10) } #[doc = "Bit 11 - The interrupt enable bit for I2C_TXFIFO_OVF_INT interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_ovf(&mut self) -> TXFIFO_OVF_W { TXFIFO_OVF_W::new(self, 11) } #[doc = "Bit 12 - The interrupt enable bit for I2C_RXFIFO_UDF_INT interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_udf(&mut self) -> RXFIFO_UDF_W { RXFIFO_UDF_W::new(self, 12) } #[doc = "Bit 13 - The interrupt enable bit for I2C_SCL_ST_TO_INT interrupt."] #[inline(always)] - #[must_use] pub fn scl_st_to(&mut self) -> SCL_ST_TO_W { SCL_ST_TO_W::new(self, 13) } #[doc = "Bit 14 - The interrupt enable bit for I2C_SCL_MAIN_ST_TO_INT interrupt."] #[inline(always)] - #[must_use] pub fn scl_main_st_to(&mut self) -> SCL_MAIN_ST_TO_W { SCL_MAIN_ST_TO_W::new(self, 14) } #[doc = "Bit 15 - The interrupt enable bit for I2C_DET_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn det_start(&mut self) -> DET_START_W { DET_START_W::new(self, 15) } #[doc = "Bit 16 - The interrupt enable bit for I2C_SLAVE_STRETCH_INT interrupt."] #[inline(always)] - #[must_use] pub fn slave_stretch(&mut self) -> SLAVE_STRETCH_W { SLAVE_STRETCH_W::new(self, 16) } #[doc = "Bit 17 - The interrupt enable bit for I2C_GENARAL_CALL_INT interrupt."] #[inline(always)] - #[must_use] pub fn general_call(&mut self) -> GENERAL_CALL_W { GENERAL_CALL_W::new(self, 17) } diff --git a/esp32s3/src/i2c0/scl_high_period.rs b/esp32s3/src/i2c0/scl_high_period.rs index de59a22f03..7f223ad3d7 100644 --- a/esp32s3/src/i2c0/scl_high_period.rs +++ b/esp32s3/src/i2c0/scl_high_period.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure for how long SCL remains high in master mode, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn scl_high_period(&mut self) -> SCL_HIGH_PERIOD_W { SCL_HIGH_PERIOD_W::new(self, 0) } #[doc = "Bits 9:15 - This register is used to configure for the SCL_FSM's waiting period for SCL high level in master mode, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn scl_wait_high_period(&mut self) -> SCL_WAIT_HIGH_PERIOD_W { SCL_WAIT_HIGH_PERIOD_W::new(self, 9) } diff --git a/esp32s3/src/i2c0/scl_low_period.rs b/esp32s3/src/i2c0/scl_low_period.rs index f8d802b480..9874b6f962 100644 --- a/esp32s3/src/i2c0/scl_low_period.rs +++ b/esp32s3/src/i2c0/scl_low_period.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure for how long SCL remains low in master mode, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn scl_low_period(&mut self) -> SCL_LOW_PERIOD_W { SCL_LOW_PERIOD_W::new(self, 0) } diff --git a/esp32s3/src/i2c0/scl_main_st_time_out.rs b/esp32s3/src/i2c0/scl_main_st_time_out.rs index 4b94a84d01..c96787154f 100644 --- a/esp32s3/src/i2c0/scl_main_st_time_out.rs +++ b/esp32s3/src/i2c0/scl_main_st_time_out.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - The threshold value of SCL_MAIN_FSM state unchanged period.nIt should be o more than 23"] #[inline(always)] - #[must_use] pub fn scl_main_st_to_i2c(&mut self) -> SCL_MAIN_ST_TO_I2C_W { SCL_MAIN_ST_TO_I2C_W::new(self, 0) } diff --git a/esp32s3/src/i2c0/scl_rstart_setup.rs b/esp32s3/src/i2c0/scl_rstart_setup.rs index c1a7053eec..203436a57b 100644 --- a/esp32s3/src/i2c0/scl_rstart_setup.rs +++ b/esp32s3/src/i2c0/scl_rstart_setup.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure the time between the positive edge of SCL and the negative edge of SDA for a RESTART condition, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32s3/src/i2c0/scl_sp_conf.rs b/esp32s3/src/i2c0/scl_sp_conf.rs index ed2452044b..dbc65b04e9 100644 --- a/esp32s3/src/i2c0/scl_sp_conf.rs +++ b/esp32s3/src/i2c0/scl_sp_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - When I2C master is IDLE, set this bit to send out SCL pulses. The number of pulses equals to reg_scl_rst_slv_num\\[4:0\\]."] #[inline(always)] - #[must_use] pub fn scl_rst_slv_en(&mut self) -> SCL_RST_SLV_EN_W { SCL_RST_SLV_EN_W::new(self, 0) } #[doc = "Bits 1:5 - Configure the pulses of SCL generated in I2C master mode. Valid when reg_scl_rst_slv_en is 1."] #[inline(always)] - #[must_use] pub fn scl_rst_slv_num(&mut self) -> SCL_RST_SLV_NUM_W { SCL_RST_SLV_NUM_W::new(self, 1) } #[doc = "Bit 6 - The power down enable bit for the I2C output SCL line. 1: Power down. 0: Not power down. Set reg_scl_force_out and reg_scl_pd_en to 1 to stretch SCL low."] #[inline(always)] - #[must_use] pub fn scl_pd_en(&mut self) -> SCL_PD_EN_W { SCL_PD_EN_W::new(self, 6) } #[doc = "Bit 7 - The power down enable bit for the I2C output SDA line. 1: Power down. 0: Not power down. Set reg_sda_force_out and reg_sda_pd_en to 1 to stretch SDA low."] #[inline(always)] - #[must_use] pub fn sda_pd_en(&mut self) -> SDA_PD_EN_W { SDA_PD_EN_W::new(self, 7) } diff --git a/esp32s3/src/i2c0/scl_st_time_out.rs b/esp32s3/src/i2c0/scl_st_time_out.rs index 5d5bb0cdf0..2c4ef3d12d 100644 --- a/esp32s3/src/i2c0/scl_st_time_out.rs +++ b/esp32s3/src/i2c0/scl_st_time_out.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - The threshold value of SCL_FSM state unchanged period. It should be o more than 23"] #[inline(always)] - #[must_use] pub fn scl_st_to_i2c(&mut self) -> SCL_ST_TO_I2C_W { SCL_ST_TO_I2C_W::new(self, 0) } diff --git a/esp32s3/src/i2c0/scl_start_hold.rs b/esp32s3/src/i2c0/scl_start_hold.rs index 9c5229f113..efdfbc194d 100644 --- a/esp32s3/src/i2c0/scl_start_hold.rs +++ b/esp32s3/src/i2c0/scl_start_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure the time between the negative edge of SDA and the negative edge of SCL for a START condition, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32s3/src/i2c0/scl_stop_hold.rs b/esp32s3/src/i2c0/scl_stop_hold.rs index da01c0553d..df2ba1ff1a 100644 --- a/esp32s3/src/i2c0/scl_stop_hold.rs +++ b/esp32s3/src/i2c0/scl_stop_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure the delay after the STOP condition, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32s3/src/i2c0/scl_stop_setup.rs b/esp32s3/src/i2c0/scl_stop_setup.rs index cfa05ff67e..d1db579730 100644 --- a/esp32s3/src/i2c0/scl_stop_setup.rs +++ b/esp32s3/src/i2c0/scl_stop_setup.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure the time between the positive edge of SCL and the positive edge of SDA, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32s3/src/i2c0/scl_stretch_conf.rs b/esp32s3/src/i2c0/scl_stretch_conf.rs index 729b74ea69..8b037fc596 100644 --- a/esp32s3/src/i2c0/scl_stretch_conf.rs +++ b/esp32s3/src/i2c0/scl_stretch_conf.rs @@ -56,31 +56,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - Configure the period of I2C slave stretching SCL line."] #[inline(always)] - #[must_use] pub fn stretch_protect_num(&mut self) -> STRETCH_PROTECT_NUM_W { STRETCH_PROTECT_NUM_W::new(self, 0) } #[doc = "Bit 10 - The enable bit for slave SCL stretch function. 1: Enable. 0: Disable. The SCL output line will be stretched low when reg_slave_scl_stretch_en is 1 and stretch event happens. The stretch cause can be seen in reg_stretch_cause."] #[inline(always)] - #[must_use] pub fn slave_scl_stretch_en(&mut self) -> SLAVE_SCL_STRETCH_EN_W { SLAVE_SCL_STRETCH_EN_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear the I2C slave SCL stretch function."] #[inline(always)] - #[must_use] pub fn slave_scl_stretch_clr(&mut self) -> SLAVE_SCL_STRETCH_CLR_W { SLAVE_SCL_STRETCH_CLR_W::new(self, 11) } #[doc = "Bit 12 - The enable bit for slave to control ACK level function."] #[inline(always)] - #[must_use] pub fn slave_byte_ack_ctl_en(&mut self) -> SLAVE_BYTE_ACK_CTL_EN_W { SLAVE_BYTE_ACK_CTL_EN_W::new(self, 12) } #[doc = "Bit 13 - Set the ACK level when slave controlling ACK level function enables."] #[inline(always)] - #[must_use] pub fn slave_byte_ack_lvl(&mut self) -> SLAVE_BYTE_ACK_LVL_W { SLAVE_BYTE_ACK_LVL_W::new(self, 13) } diff --git a/esp32s3/src/i2c0/sda_hold.rs b/esp32s3/src/i2c0/sda_hold.rs index a0d78acbb9..4a67e2222b 100644 --- a/esp32s3/src/i2c0/sda_hold.rs +++ b/esp32s3/src/i2c0/sda_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure the time to hold the data after the negative edge of SCL, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32s3/src/i2c0/sda_sample.rs b/esp32s3/src/i2c0/sda_sample.rs index b03e34e366..b211168b11 100644 --- a/esp32s3/src/i2c0/sda_sample.rs +++ b/esp32s3/src/i2c0/sda_sample.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure for how long SDA is sampled, in I2C module clock cycles."] #[inline(always)] - #[must_use] pub fn time(&mut self) -> TIME_W { TIME_W::new(self, 0) } diff --git a/esp32s3/src/i2c0/slave_addr.rs b/esp32s3/src/i2c0/slave_addr.rs index ee01a15ed5..1b27ba5ce3 100644 --- a/esp32s3/src/i2c0/slave_addr.rs +++ b/esp32s3/src/i2c0/slave_addr.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:14 - When configured as an I2C Slave, this field is used to configure the slave address."] #[inline(always)] - #[must_use] pub fn slave_addr(&mut self) -> SLAVE_ADDR_W { SLAVE_ADDR_W::new(self, 0) } #[doc = "Bit 31 - This field is used to enable the slave 10-bit addressing mode in master mode."] #[inline(always)] - #[must_use] pub fn addr_10bit_en(&mut self) -> ADDR_10BIT_EN_W { ADDR_10BIT_EN_W::new(self, 31) } diff --git a/esp32s3/src/i2c0/to.rs b/esp32s3/src/i2c0/to.rs index 9b92f1f93a..aa23944258 100644 --- a/esp32s3/src/i2c0/to.rs +++ b/esp32s3/src/i2c0/to.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - This register is used to configure the timeout for receiving a data bit in APB clock cycles."] #[inline(always)] - #[must_use] pub fn time_out_value(&mut self) -> TIME_OUT_VALUE_W { TIME_OUT_VALUE_W::new(self, 0) } #[doc = "Bit 5 - This is the enable bit for time out control."] #[inline(always)] - #[must_use] pub fn time_out_en(&mut self) -> TIME_OUT_EN_W { TIME_OUT_EN_W::new(self, 5) } diff --git a/esp32s3/src/i2s0/conf_sigle_data.rs b/esp32s3/src/i2s0/conf_sigle_data.rs index 50a4d005f8..27ac6bf4a9 100644 --- a/esp32s3/src/i2s0/conf_sigle_data.rs +++ b/esp32s3/src/i2s0/conf_sigle_data.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The configured constant channel data to be sent out."] #[inline(always)] - #[must_use] pub fn single_data(&mut self) -> SINGLE_DATA_W { SINGLE_DATA_W::new(self, 0) } diff --git a/esp32s3/src/i2s0/date.rs b/esp32s3/src/i2s0/date.rs index 89b709c15e..77a462fc9e 100644 --- a/esp32s3/src/i2s0/date.rs +++ b/esp32s3/src/i2s0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - I2S version control register"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s3/src/i2s0/int_clr.rs b/esp32s3/src/i2s0/int_clr.rs index c3a99c694f..1719a408f1 100644 --- a/esp32s3/src/i2s0/int_clr.rs +++ b/esp32s3/src/i2s0/int_clr.rs @@ -17,25 +17,21 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the i2s_rx_done_int interrupt"] #[inline(always)] - #[must_use] pub fn rx_done(&mut self) -> RX_DONE_W { RX_DONE_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the i2s_tx_done_int interrupt"] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the i2s_rx_hung_int interrupt"] #[inline(always)] - #[must_use] pub fn rx_hung(&mut self) -> RX_HUNG_W { RX_HUNG_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the i2s_tx_hung_int interrupt"] #[inline(always)] - #[must_use] pub fn tx_hung(&mut self) -> TX_HUNG_W { TX_HUNG_W::new(self, 3) } diff --git a/esp32s3/src/i2s0/int_ena.rs b/esp32s3/src/i2s0/int_ena.rs index 0f2bb7d8e0..c87530a8a6 100644 --- a/esp32s3/src/i2s0/int_ena.rs +++ b/esp32s3/src/i2s0/int_ena.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for the i2s_rx_done_int interrupt"] #[inline(always)] - #[must_use] pub fn rx_done(&mut self) -> RX_DONE_W { RX_DONE_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the i2s_tx_done_int interrupt"] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the i2s_rx_hung_int interrupt"] #[inline(always)] - #[must_use] pub fn rx_hung(&mut self) -> RX_HUNG_W { RX_HUNG_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the i2s_tx_hung_int interrupt"] #[inline(always)] - #[must_use] pub fn tx_hung(&mut self) -> TX_HUNG_W { TX_HUNG_W::new(self, 3) } diff --git a/esp32s3/src/i2s0/lc_hung_conf.rs b/esp32s3/src/i2s0/lc_hung_conf.rs index 187de6aa6f..323187c7df 100644 --- a/esp32s3/src/i2s0/lc_hung_conf.rs +++ b/esp32s3/src/i2s0/lc_hung_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - the i2s_tx_hung_int interrupt or the i2s_rx_hung_int interrupt will be triggered when fifo hung counter is equal to this value"] #[inline(always)] - #[must_use] pub fn lc_fifo_timeout(&mut self) -> LC_FIFO_TIMEOUT_W { LC_FIFO_TIMEOUT_W::new(self, 0) } #[doc = "Bits 8:10 - The bits are used to scale tick counter threshold. The tick counter is reset when counter value >= 88000/2^i2s_lc_fifo_timeout_shift"] #[inline(always)] - #[must_use] pub fn lc_fifo_timeout_shift(&mut self) -> LC_FIFO_TIMEOUT_SHIFT_W { LC_FIFO_TIMEOUT_SHIFT_W::new(self, 8) } #[doc = "Bit 11 - The enable bit for FIFO timeout"] #[inline(always)] - #[must_use] pub fn lc_fifo_timeout_ena(&mut self) -> LC_FIFO_TIMEOUT_ENA_W { LC_FIFO_TIMEOUT_ENA_W::new(self, 11) } diff --git a/esp32s3/src/i2s0/rx_clkm_conf.rs b/esp32s3/src/i2s0/rx_clkm_conf.rs index 89f45bca23..140e2179d1 100644 --- a/esp32s3/src/i2s0/rx_clkm_conf.rs +++ b/esp32s3/src/i2s0/rx_clkm_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Integral I2S clock divider value"] #[inline(always)] - #[must_use] pub fn rx_clkm_div_num(&mut self) -> RX_CLKM_DIV_NUM_W { RX_CLKM_DIV_NUM_W::new(self, 0) } #[doc = "Bit 26 - I2S Rx module clock enable signal."] #[inline(always)] - #[must_use] pub fn rx_clk_active(&mut self) -> RX_CLK_ACTIVE_W { RX_CLK_ACTIVE_W::new(self, 26) } #[doc = "Bits 27:28 - Select I2S Rx module source clock. 0: no clock. 1: APLL. 2: CLK160. 3: I2S_MCLK_in."] #[inline(always)] - #[must_use] pub fn rx_clk_sel(&mut self) -> RX_CLK_SEL_W { RX_CLK_SEL_W::new(self, 27) } #[doc = "Bit 29 - 0: UseI2S Tx module clock as I2S_MCLK_OUT. 1: UseI2S Rx module clock as I2S_MCLK_OUT."] #[inline(always)] - #[must_use] pub fn mclk_sel(&mut self) -> MCLK_SEL_W { MCLK_SEL_W::new(self, 29) } diff --git a/esp32s3/src/i2s0/rx_clkm_div_conf.rs b/esp32s3/src/i2s0/rx_clkm_div_conf.rs index 8ebfa2b7d2..c14256acfa 100644 --- a/esp32s3/src/i2s0/rx_clkm_div_conf.rs +++ b/esp32s3/src/i2s0/rx_clkm_div_conf.rs @@ -2,39 +2,39 @@ pub type R = crate::R; #[doc = "Register `RX_CLKM_DIV_CONF` writer"] pub type W = crate::W; -#[doc = "Field `RX_CLKM_DIV_Z` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] +#[doc = "Field `RX_CLKM_DIV_Z` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] pub type RX_CLKM_DIV_Z_R = crate::FieldReader; -#[doc = "Field `RX_CLKM_DIV_Z` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] +#[doc = "Field `RX_CLKM_DIV_Z` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] pub type RX_CLKM_DIV_Z_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `RX_CLKM_DIV_Y` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] +#[doc = "Field `RX_CLKM_DIV_Y` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] pub type RX_CLKM_DIV_Y_R = crate::FieldReader; -#[doc = "Field `RX_CLKM_DIV_Y` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] +#[doc = "Field `RX_CLKM_DIV_Y` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] pub type RX_CLKM_DIV_Y_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `RX_CLKM_DIV_X` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] +#[doc = "Field `RX_CLKM_DIV_X` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] pub type RX_CLKM_DIV_X_R = crate::FieldReader; -#[doc = "Field `RX_CLKM_DIV_X` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] +#[doc = "Field `RX_CLKM_DIV_X` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] pub type RX_CLKM_DIV_X_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `RX_CLKM_DIV_YN1` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] +#[doc = "Field `RX_CLKM_DIV_YN1` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] pub type RX_CLKM_DIV_YN1_R = crate::BitReader; -#[doc = "Field `RX_CLKM_DIV_YN1` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] +#[doc = "Field `RX_CLKM_DIV_YN1` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] pub type RX_CLKM_DIV_YN1_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { - #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] + #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] #[inline(always)] pub fn rx_clkm_div_z(&self) -> RX_CLKM_DIV_Z_R { RX_CLKM_DIV_Z_R::new((self.bits & 0x01ff) as u16) } - #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] + #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] #[inline(always)] pub fn rx_clkm_div_y(&self) -> RX_CLKM_DIV_Y_R { RX_CLKM_DIV_Y_R::new(((self.bits >> 9) & 0x01ff) as u16) } - #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] + #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] #[inline(always)] pub fn rx_clkm_div_x(&self) -> RX_CLKM_DIV_X_R { RX_CLKM_DIV_X_R::new(((self.bits >> 18) & 0x01ff) as u16) } - #[doc = "Bit 27 - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] + #[doc = "Bit 27 - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] #[inline(always)] pub fn rx_clkm_div_yn1(&self) -> RX_CLKM_DIV_YN1_R { RX_CLKM_DIV_YN1_R::new(((self.bits >> 27) & 1) != 0) @@ -52,27 +52,23 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] + #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] #[inline(always)] - #[must_use] pub fn rx_clkm_div_z(&mut self) -> RX_CLKM_DIV_Z_W { RX_CLKM_DIV_Z_W::new(self, 0) } - #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] + #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] #[inline(always)] - #[must_use] pub fn rx_clkm_div_y(&mut self) -> RX_CLKM_DIV_Y_W { RX_CLKM_DIV_Y_W::new(self, 9) } - #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] + #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] #[inline(always)] - #[must_use] pub fn rx_clkm_div_x(&mut self) -> RX_CLKM_DIV_X_W { RX_CLKM_DIV_X_W::new(self, 18) } - #[doc = "Bit 27 - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] + #[doc = "Bit 27 - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] #[inline(always)] - #[must_use] pub fn rx_clkm_div_yn1(&mut self) -> RX_CLKM_DIV_YN1_W { RX_CLKM_DIV_YN1_W::new(self, 27) } diff --git a/esp32s3/src/i2s0/rx_conf.rs b/esp32s3/src/i2s0/rx_conf.rs index 85cd6d23dc..d1c9dc20bb 100644 --- a/esp32s3/src/i2s0/rx_conf.rs +++ b/esp32s3/src/i2s0/rx_conf.rs @@ -30,9 +30,9 @@ pub type RX_UPDATE_W<'a, REG> = crate::BitWriter<'a, REG>; pub type RX_MONO_FST_VLD_R = crate::BitReader; #[doc = "Field `RX_MONO_FST_VLD` writer - 1: The first channel data value is valid in I2S RX mono mode. 0: The second channel data value is valid in I2S RX mono mode."] pub type RX_MONO_FST_VLD_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `RX_PCM_CONF` reader - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] +#[doc = "Field `RX_PCM_CONF` reader - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] pub type RX_PCM_CONF_R = crate::FieldReader; -#[doc = "Field `RX_PCM_CONF` writer - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] +#[doc = "Field `RX_PCM_CONF` writer - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] pub type RX_PCM_CONF_W<'a, REG> = crate::FieldWriter<'a, REG, 2>; #[doc = "Field `RX_PCM_BYPASS` reader - Set this bit to bypass Compress/Decompress module for received data."] pub type RX_PCM_BYPASS_R = crate::BitReader; @@ -105,7 +105,7 @@ impl R { pub fn rx_mono_fst_vld(&self) -> RX_MONO_FST_VLD_R { RX_MONO_FST_VLD_R::new(((self.bits >> 9) & 1) != 0) } - #[doc = "Bits 10:11 - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] + #[doc = "Bits 10:11 - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] #[inline(always)] pub fn rx_pcm_conf(&self) -> RX_PCM_CONF_R { RX_PCM_CONF_R::new(((self.bits >> 10) & 3) as u8) @@ -188,115 +188,96 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to reset receiver"] #[inline(always)] - #[must_use] pub fn rx_reset(&mut self) -> RX_RESET_W { RX_RESET_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to reset Rx AFIFO"] #[inline(always)] - #[must_use] pub fn rx_fifo_reset(&mut self) -> RX_FIFO_RESET_W { RX_FIFO_RESET_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to start receiving data"] #[inline(always)] - #[must_use] pub fn rx_start(&mut self) -> RX_START_W { RX_START_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to enable slave receiver mode"] #[inline(always)] - #[must_use] pub fn rx_slave_mod(&mut self) -> RX_SLAVE_MOD_W { RX_SLAVE_MOD_W::new(self, 3) } #[doc = "Bit 5 - Set this bit to enable receiver in mono mode"] #[inline(always)] - #[must_use] pub fn rx_mono(&mut self) -> RX_MONO_W { RX_MONO_W::new(self, 5) } #[doc = "Bit 7 - I2S Rx byte endian, 1: low addr value to high addr. 0: low addr with low addr value."] #[inline(always)] - #[must_use] pub fn rx_big_endian(&mut self) -> RX_BIG_ENDIAN_W { RX_BIG_ENDIAN_W::new(self, 7) } #[doc = "Bit 8 - Set 1 to update I2S RX registers from APB clock domain to I2S RX clock domain. This bit will be cleared by hardware after update register done."] #[inline(always)] - #[must_use] pub fn rx_update(&mut self) -> RX_UPDATE_W { RX_UPDATE_W::new(self, 8) } #[doc = "Bit 9 - 1: The first channel data value is valid in I2S RX mono mode. 0: The second channel data value is valid in I2S RX mono mode."] #[inline(always)] - #[must_use] pub fn rx_mono_fst_vld(&mut self) -> RX_MONO_FST_VLD_W { RX_MONO_FST_VLD_W::new(self, 9) } - #[doc = "Bits 10:11 - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] + #[doc = "Bits 10:11 - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] #[inline(always)] - #[must_use] pub fn rx_pcm_conf(&mut self) -> RX_PCM_CONF_W { RX_PCM_CONF_W::new(self, 10) } #[doc = "Bit 12 - Set this bit to bypass Compress/Decompress module for received data."] #[inline(always)] - #[must_use] pub fn rx_pcm_bypass(&mut self) -> RX_PCM_BYPASS_W { RX_PCM_BYPASS_W::new(self, 12) } #[doc = "Bits 13:14 - 0 : I2S Rx only stop when reg_rx_start is cleared. 1: Stop when reg_rx_start is 0 or in_suc_eof is 1. 2: Stop I2S RX when reg_rx_start is 0 or RX FIFO is full."] #[inline(always)] - #[must_use] pub fn rx_stop_mode(&mut self) -> RX_STOP_MODE_W { RX_STOP_MODE_W::new(self, 13) } #[doc = "Bit 15 - 1: I2S RX left alignment mode. 0: I2S RX right alignment mode."] #[inline(always)] - #[must_use] pub fn rx_left_align(&mut self) -> RX_LEFT_ALIGN_W { RX_LEFT_ALIGN_W::new(self, 15) } #[doc = "Bit 16 - 1: store 24 channel bits to 32 bits. 0:store 24 channel bits to 24 bits."] #[inline(always)] - #[must_use] pub fn rx_24_fill_en(&mut self) -> RX_24_FILL_EN_W { RX_24_FILL_EN_W::new(self, 16) } #[doc = "Bit 17 - 0: WS should be 0 when receiving left channel data, and WS is 1in right channel. 1: WS should be 1 when receiving left channel data, and WS is 0in right channel."] #[inline(always)] - #[must_use] pub fn rx_ws_idle_pol(&mut self) -> RX_WS_IDLE_POL_W { RX_WS_IDLE_POL_W::new(self, 17) } #[doc = "Bit 18 - I2S Rx bit endian. 1:small endian, the LSB is received first. 0:big endian, the MSB is received first."] #[inline(always)] - #[must_use] pub fn rx_bit_order(&mut self) -> RX_BIT_ORDER_W { RX_BIT_ORDER_W::new(self, 18) } #[doc = "Bit 19 - 1: Enable I2S TDM Rx mode . 0: Disable."] #[inline(always)] - #[must_use] pub fn rx_tdm_en(&mut self) -> RX_TDM_EN_W { RX_TDM_EN_W::new(self, 19) } #[doc = "Bit 20 - 1: Enable I2S PDM Rx mode . 0: Disable."] #[inline(always)] - #[must_use] pub fn rx_pdm_en(&mut self) -> RX_PDM_EN_W { RX_PDM_EN_W::new(self, 20) } #[doc = "Bit 21 - 1: Enable PDM2PCM RX mode. 0: DIsable."] #[inline(always)] - #[must_use] pub fn rx_pdm2pcm_en(&mut self) -> RX_PDM2PCM_EN_W { RX_PDM2PCM_EN_W::new(self, 21) } #[doc = "Bit 22 - Configure the down sampling rate of PDM RX filter group1 module. 1: The down sampling rate is 128. 0: down sampling rate is 64."] #[inline(always)] - #[must_use] pub fn rx_pdm_sinc_dsr_16_en(&mut self) -> RX_PDM_SINC_DSR_16_EN_W { RX_PDM_SINC_DSR_16_EN_W::new(self, 22) } diff --git a/esp32s3/src/i2s0/rx_conf1.rs b/esp32s3/src/i2s0/rx_conf1.rs index d3795df6cb..ba9590de00 100644 --- a/esp32s3/src/i2s0/rx_conf1.rs +++ b/esp32s3/src/i2s0/rx_conf1.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - The width of rx_ws_out in TDM mode is (I2S_RX_TDM_WS_WIDTH\\[6:0\\] +1) * T_bck"] #[inline(always)] - #[must_use] pub fn rx_tdm_ws_width(&mut self) -> RX_TDM_WS_WIDTH_W { RX_TDM_WS_WIDTH_W::new(self, 0) } #[doc = "Bits 7:12 - Bit clock configuration bits in receiver mode."] #[inline(always)] - #[must_use] pub fn rx_bck_div_num(&mut self) -> RX_BCK_DIV_NUM_W { RX_BCK_DIV_NUM_W::new(self, 7) } #[doc = "Bits 13:17 - Set the bits to configure the valid data bit length of I2S receiver channel. 7: all the valid channel data is in 8-bit-mode. 15: all the valid channel data is in 16-bit-mode. 23: all the valid channel data is in 24-bit-mode. 31:all the valid channel data is in 32-bit-mode."] #[inline(always)] - #[must_use] pub fn rx_bits_mod(&mut self) -> RX_BITS_MOD_W { RX_BITS_MOD_W::new(self, 13) } #[doc = "Bits 18:23 - I2S Rx half sample bits -1."] #[inline(always)] - #[must_use] pub fn rx_half_sample_bits(&mut self) -> RX_HALF_SAMPLE_BITS_W { RX_HALF_SAMPLE_BITS_W::new(self, 18) } #[doc = "Bits 24:28 - The Rx bit number for each channel minus 1in TDM mode."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan_bits(&mut self) -> RX_TDM_CHAN_BITS_W { RX_TDM_CHAN_BITS_W::new(self, 24) } #[doc = "Bit 29 - Set this bit to enable receiver in Phillips standard mode"] #[inline(always)] - #[must_use] pub fn rx_msb_shift(&mut self) -> RX_MSB_SHIFT_W { RX_MSB_SHIFT_W::new(self, 29) } diff --git a/esp32s3/src/i2s0/rx_tdm_ctrl.rs b/esp32s3/src/i2s0/rx_tdm_ctrl.rs index 145b893140..430d8487d3 100644 --- a/esp32s3/src/i2s0/rx_tdm_ctrl.rs +++ b/esp32s3/src/i2s0/rx_tdm_ctrl.rs @@ -184,103 +184,86 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: Enable the valid data input of I2S RX TDM or PDM channel 0. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan0_en(&mut self) -> RX_TDM_PDM_CHAN0_EN_W { RX_TDM_PDM_CHAN0_EN_W::new(self, 0) } #[doc = "Bit 1 - 1: Enable the valid data input of I2S RX TDM or PDM channel 1. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan1_en(&mut self) -> RX_TDM_PDM_CHAN1_EN_W { RX_TDM_PDM_CHAN1_EN_W::new(self, 1) } #[doc = "Bit 2 - 1: Enable the valid data input of I2S RX TDM or PDM channel 2. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan2_en(&mut self) -> RX_TDM_PDM_CHAN2_EN_W { RX_TDM_PDM_CHAN2_EN_W::new(self, 2) } #[doc = "Bit 3 - 1: Enable the valid data input of I2S RX TDM or PDM channel 3. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan3_en(&mut self) -> RX_TDM_PDM_CHAN3_EN_W { RX_TDM_PDM_CHAN3_EN_W::new(self, 3) } #[doc = "Bit 4 - 1: Enable the valid data input of I2S RX TDM or PDM channel 4. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan4_en(&mut self) -> RX_TDM_PDM_CHAN4_EN_W { RX_TDM_PDM_CHAN4_EN_W::new(self, 4) } #[doc = "Bit 5 - 1: Enable the valid data input of I2S RX TDM or PDM channel 5. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan5_en(&mut self) -> RX_TDM_PDM_CHAN5_EN_W { RX_TDM_PDM_CHAN5_EN_W::new(self, 5) } #[doc = "Bit 6 - 1: Enable the valid data input of I2S RX TDM or PDM channel 6. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan6_en(&mut self) -> RX_TDM_PDM_CHAN6_EN_W { RX_TDM_PDM_CHAN6_EN_W::new(self, 6) } #[doc = "Bit 7 - 1: Enable the valid data input of I2S RX TDM or PDM channel 7. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan7_en(&mut self) -> RX_TDM_PDM_CHAN7_EN_W { RX_TDM_PDM_CHAN7_EN_W::new(self, 7) } #[doc = "Bit 8 - 1: Enable the valid data input of I2S RX TDM channel 8. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan8_en(&mut self) -> RX_TDM_CHAN8_EN_W { RX_TDM_CHAN8_EN_W::new(self, 8) } #[doc = "Bit 9 - 1: Enable the valid data input of I2S RX TDM channel 9. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan9_en(&mut self) -> RX_TDM_CHAN9_EN_W { RX_TDM_CHAN9_EN_W::new(self, 9) } #[doc = "Bit 10 - 1: Enable the valid data input of I2S RX TDM channel 10. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan10_en(&mut self) -> RX_TDM_CHAN10_EN_W { RX_TDM_CHAN10_EN_W::new(self, 10) } #[doc = "Bit 11 - 1: Enable the valid data input of I2S RX TDM channel 11. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan11_en(&mut self) -> RX_TDM_CHAN11_EN_W { RX_TDM_CHAN11_EN_W::new(self, 11) } #[doc = "Bit 12 - 1: Enable the valid data input of I2S RX TDM channel 12. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan12_en(&mut self) -> RX_TDM_CHAN12_EN_W { RX_TDM_CHAN12_EN_W::new(self, 12) } #[doc = "Bit 13 - 1: Enable the valid data input of I2S RX TDM channel 13. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan13_en(&mut self) -> RX_TDM_CHAN13_EN_W { RX_TDM_CHAN13_EN_W::new(self, 13) } #[doc = "Bit 14 - 1: Enable the valid data input of I2S RX TDM channel 14. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan14_en(&mut self) -> RX_TDM_CHAN14_EN_W { RX_TDM_CHAN14_EN_W::new(self, 14) } #[doc = "Bit 15 - 1: Enable the valid data input of I2S RX TDM channel 15. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan15_en(&mut self) -> RX_TDM_CHAN15_EN_W { RX_TDM_CHAN15_EN_W::new(self, 15) } #[doc = "Bits 16:19 - The total channel number of I2S TX TDM mode."] #[inline(always)] - #[must_use] pub fn rx_tdm_tot_chan_num(&mut self) -> RX_TDM_TOT_CHAN_NUM_W { RX_TDM_TOT_CHAN_NUM_W::new(self, 16) } diff --git a/esp32s3/src/i2s0/rx_timing.rs b/esp32s3/src/i2s0/rx_timing.rs index dc2281880d..ae2f911f0f 100644 --- a/esp32s3/src/i2s0/rx_timing.rs +++ b/esp32s3/src/i2s0/rx_timing.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - The delay mode of I2S Rx SD input signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_sd_in_dm(&mut self) -> RX_SD_IN_DM_W { RX_SD_IN_DM_W::new(self, 0) } #[doc = "Bits 4:5 - The delay mode of I2S Rx SD1 input signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_sd1_in_dm(&mut self) -> RX_SD1_IN_DM_W { RX_SD1_IN_DM_W::new(self, 4) } #[doc = "Bits 8:9 - The delay mode of I2S Rx SD2 input signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_sd2_in_dm(&mut self) -> RX_SD2_IN_DM_W { RX_SD2_IN_DM_W::new(self, 8) } #[doc = "Bits 12:13 - The delay mode of I2S Rx SD3 input signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_sd3_in_dm(&mut self) -> RX_SD3_IN_DM_W { RX_SD3_IN_DM_W::new(self, 12) } #[doc = "Bits 16:17 - The delay mode of I2S Rx WS output signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_ws_out_dm(&mut self) -> RX_WS_OUT_DM_W { RX_WS_OUT_DM_W::new(self, 16) } #[doc = "Bits 20:21 - The delay mode of I2S Rx BCK output signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_bck_out_dm(&mut self) -> RX_BCK_OUT_DM_W { RX_BCK_OUT_DM_W::new(self, 20) } #[doc = "Bits 24:25 - The delay mode of I2S Rx WS input signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_ws_in_dm(&mut self) -> RX_WS_IN_DM_W { RX_WS_IN_DM_W::new(self, 24) } #[doc = "Bits 28:29 - The delay mode of I2S Rx BCK input signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_bck_in_dm(&mut self) -> RX_BCK_IN_DM_W { RX_BCK_IN_DM_W::new(self, 28) } diff --git a/esp32s3/src/i2s0/rxeof_num.rs b/esp32s3/src/i2s0/rxeof_num.rs index 3cc1cab6bd..e06f8c3e0d 100644 --- a/esp32s3/src/i2s0/rxeof_num.rs +++ b/esp32s3/src/i2s0/rxeof_num.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - The receive data bit length is (I2S_RX_BITS_MOD\\[4:0\\] + 1) * (REG_RX_EOF_NUM\\[11:0\\] + 1) . It will trigger in_suc_eof interrupt in the configured DMA RX channel."] #[inline(always)] - #[must_use] pub fn rx_eof_num(&mut self) -> RX_EOF_NUM_W { RX_EOF_NUM_W::new(self, 0) } diff --git a/esp32s3/src/i2s0/tx_clkm_conf.rs b/esp32s3/src/i2s0/tx_clkm_conf.rs index 24561dcbc6..af8d613b56 100644 --- a/esp32s3/src/i2s0/tx_clkm_conf.rs +++ b/esp32s3/src/i2s0/tx_clkm_conf.rs @@ -2,9 +2,9 @@ pub type R = crate::R; #[doc = "Register `TX_CLKM_CONF` writer"] pub type W = crate::W; -#[doc = "Field `TX_CLKM_DIV_NUM` reader - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] +#[doc = "Field `TX_CLKM_DIV_NUM` reader - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] pub type TX_CLKM_DIV_NUM_R = crate::FieldReader; -#[doc = "Field `TX_CLKM_DIV_NUM` writer - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] +#[doc = "Field `TX_CLKM_DIV_NUM` writer - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] pub type TX_CLKM_DIV_NUM_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; #[doc = "Field `TX_CLK_ACTIVE` reader - I2S Tx module clock enable signal."] pub type TX_CLK_ACTIVE_R = crate::BitReader; @@ -19,7 +19,7 @@ pub type CLK_EN_R = crate::BitReader; #[doc = "Field `CLK_EN` writer - Set this bit to enable clk gate"] pub type CLK_EN_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { - #[doc = "Bits 0:7 - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] + #[doc = "Bits 0:7 - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] #[inline(always)] pub fn tx_clkm_div_num(&self) -> TX_CLKM_DIV_NUM_R { TX_CLKM_DIV_NUM_R::new((self.bits & 0xff) as u8) @@ -52,27 +52,23 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bits 0:7 - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] + #[doc = "Bits 0:7 - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] #[inline(always)] - #[must_use] pub fn tx_clkm_div_num(&mut self) -> TX_CLKM_DIV_NUM_W { TX_CLKM_DIV_NUM_W::new(self, 0) } #[doc = "Bit 26 - I2S Tx module clock enable signal."] #[inline(always)] - #[must_use] pub fn tx_clk_active(&mut self) -> TX_CLK_ACTIVE_W { TX_CLK_ACTIVE_W::new(self, 26) } #[doc = "Bits 27:28 - Select I2S Tx module source clock. 0: XTAL clock. 1: APLL. 2: CLK160. 3: I2S_MCLK_in."] #[inline(always)] - #[must_use] pub fn tx_clk_sel(&mut self) -> TX_CLK_SEL_W { TX_CLK_SEL_W::new(self, 27) } #[doc = "Bit 29 - Set this bit to enable clk gate"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 29) } diff --git a/esp32s3/src/i2s0/tx_clkm_div_conf.rs b/esp32s3/src/i2s0/tx_clkm_div_conf.rs index e7b9c46e13..f8c04d20cf 100644 --- a/esp32s3/src/i2s0/tx_clkm_div_conf.rs +++ b/esp32s3/src/i2s0/tx_clkm_div_conf.rs @@ -2,39 +2,39 @@ pub type R = crate::R; #[doc = "Register `TX_CLKM_DIV_CONF` writer"] pub type W = crate::W; -#[doc = "Field `TX_CLKM_DIV_Z` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] +#[doc = "Field `TX_CLKM_DIV_Z` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] pub type TX_CLKM_DIV_Z_R = crate::FieldReader; -#[doc = "Field `TX_CLKM_DIV_Z` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] +#[doc = "Field `TX_CLKM_DIV_Z` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] pub type TX_CLKM_DIV_Z_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `TX_CLKM_DIV_Y` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] +#[doc = "Field `TX_CLKM_DIV_Y` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] pub type TX_CLKM_DIV_Y_R = crate::FieldReader; -#[doc = "Field `TX_CLKM_DIV_Y` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] +#[doc = "Field `TX_CLKM_DIV_Y` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] pub type TX_CLKM_DIV_Y_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `TX_CLKM_DIV_X` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] +#[doc = "Field `TX_CLKM_DIV_X` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] pub type TX_CLKM_DIV_X_R = crate::FieldReader; -#[doc = "Field `TX_CLKM_DIV_X` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] +#[doc = "Field `TX_CLKM_DIV_X` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] pub type TX_CLKM_DIV_X_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `TX_CLKM_DIV_YN1` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] +#[doc = "Field `TX_CLKM_DIV_YN1` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] pub type TX_CLKM_DIV_YN1_R = crate::BitReader; -#[doc = "Field `TX_CLKM_DIV_YN1` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] +#[doc = "Field `TX_CLKM_DIV_YN1` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] pub type TX_CLKM_DIV_YN1_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { - #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] + #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] #[inline(always)] pub fn tx_clkm_div_z(&self) -> TX_CLKM_DIV_Z_R { TX_CLKM_DIV_Z_R::new((self.bits & 0x01ff) as u16) } - #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] + #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] #[inline(always)] pub fn tx_clkm_div_y(&self) -> TX_CLKM_DIV_Y_R { TX_CLKM_DIV_Y_R::new(((self.bits >> 9) & 0x01ff) as u16) } - #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] + #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] #[inline(always)] pub fn tx_clkm_div_x(&self) -> TX_CLKM_DIV_X_R { TX_CLKM_DIV_X_R::new(((self.bits >> 18) & 0x01ff) as u16) } - #[doc = "Bit 27 - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] + #[doc = "Bit 27 - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] #[inline(always)] pub fn tx_clkm_div_yn1(&self) -> TX_CLKM_DIV_YN1_R { TX_CLKM_DIV_YN1_R::new(((self.bits >> 27) & 1) != 0) @@ -52,27 +52,23 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] + #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] #[inline(always)] - #[must_use] pub fn tx_clkm_div_z(&mut self) -> TX_CLKM_DIV_Z_W { TX_CLKM_DIV_Z_W::new(self, 0) } - #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] + #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] #[inline(always)] - #[must_use] pub fn tx_clkm_div_y(&mut self) -> TX_CLKM_DIV_Y_W { TX_CLKM_DIV_Y_W::new(self, 9) } - #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] + #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] #[inline(always)] - #[must_use] pub fn tx_clkm_div_x(&mut self) -> TX_CLKM_DIV_X_W { TX_CLKM_DIV_X_W::new(self, 18) } - #[doc = "Bit 27 - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] + #[doc = "Bit 27 - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] #[inline(always)] - #[must_use] pub fn tx_clkm_div_yn1(&mut self) -> TX_CLKM_DIV_YN1_W { TX_CLKM_DIV_YN1_W::new(self, 27) } diff --git a/esp32s3/src/i2s0/tx_conf.rs b/esp32s3/src/i2s0/tx_conf.rs index 48f6449414..628e4fb80d 100644 --- a/esp32s3/src/i2s0/tx_conf.rs +++ b/esp32s3/src/i2s0/tx_conf.rs @@ -34,9 +34,9 @@ pub type TX_UPDATE_W<'a, REG> = crate::BitWriter<'a, REG>; pub type TX_MONO_FST_VLD_R = crate::BitReader; #[doc = "Field `TX_MONO_FST_VLD` writer - 1: The first channel data value is valid in I2S TX mono mode. 0: The second channel data value is valid in I2S TX mono mode."] pub type TX_MONO_FST_VLD_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `TX_PCM_CONF` reader - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] +#[doc = "Field `TX_PCM_CONF` reader - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] pub type TX_PCM_CONF_R = crate::FieldReader; -#[doc = "Field `TX_PCM_CONF` writer - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] +#[doc = "Field `TX_PCM_CONF` writer - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] pub type TX_PCM_CONF_W<'a, REG> = crate::FieldWriter<'a, REG, 2>; #[doc = "Field `TX_PCM_BYPASS` reader - Set this bit to bypass Compress/Decompress module for transmitted data."] pub type TX_PCM_BYPASS_R = crate::BitReader; @@ -114,7 +114,7 @@ impl R { pub fn tx_mono_fst_vld(&self) -> TX_MONO_FST_VLD_R { TX_MONO_FST_VLD_R::new(((self.bits >> 9) & 1) != 0) } - #[doc = "Bits 10:11 - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] + #[doc = "Bits 10:11 - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] #[inline(always)] pub fn tx_pcm_conf(&self) -> TX_PCM_CONF_R { TX_PCM_CONF_R::new(((self.bits >> 10) & 3) as u8) @@ -198,121 +198,101 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to reset transmitter"] #[inline(always)] - #[must_use] pub fn tx_reset(&mut self) -> TX_RESET_W { TX_RESET_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to reset Tx AFIFO"] #[inline(always)] - #[must_use] pub fn tx_fifo_reset(&mut self) -> TX_FIFO_RESET_W { TX_FIFO_RESET_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to start transmitting data"] #[inline(always)] - #[must_use] pub fn tx_start(&mut self) -> TX_START_W { TX_START_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to enable slave transmitter mode"] #[inline(always)] - #[must_use] pub fn tx_slave_mod(&mut self) -> TX_SLAVE_MOD_W { TX_SLAVE_MOD_W::new(self, 3) } #[doc = "Bit 5 - Set this bit to enable transmitter in mono mode"] #[inline(always)] - #[must_use] pub fn tx_mono(&mut self) -> TX_MONO_W { TX_MONO_W::new(self, 5) } #[doc = "Bit 6 - 1: The value of Left channel data is equal to the value of right channel data in I2S TX mono mode or TDM channel select mode. 0: The invalid channel data is reg_i2s_single_data in I2S TX mono mode or TDM channel select mode."] #[inline(always)] - #[must_use] pub fn tx_chan_equal(&mut self) -> TX_CHAN_EQUAL_W { TX_CHAN_EQUAL_W::new(self, 6) } #[doc = "Bit 7 - I2S Tx byte endian, 1: low addr value to high addr. 0: low addr with low addr value."] #[inline(always)] - #[must_use] pub fn tx_big_endian(&mut self) -> TX_BIG_ENDIAN_W { TX_BIG_ENDIAN_W::new(self, 7) } #[doc = "Bit 8 - Set 1 to update I2S TX registers from APB clock domain to I2S TX clock domain. This bit will be cleared by hardware after update register done."] #[inline(always)] - #[must_use] pub fn tx_update(&mut self) -> TX_UPDATE_W { TX_UPDATE_W::new(self, 8) } #[doc = "Bit 9 - 1: The first channel data value is valid in I2S TX mono mode. 0: The second channel data value is valid in I2S TX mono mode."] #[inline(always)] - #[must_use] pub fn tx_mono_fst_vld(&mut self) -> TX_MONO_FST_VLD_W { TX_MONO_FST_VLD_W::new(self, 9) } - #[doc = "Bits 10:11 - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] + #[doc = "Bits 10:11 - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] #[inline(always)] - #[must_use] pub fn tx_pcm_conf(&mut self) -> TX_PCM_CONF_W { TX_PCM_CONF_W::new(self, 10) } #[doc = "Bit 12 - Set this bit to bypass Compress/Decompress module for transmitted data."] #[inline(always)] - #[must_use] pub fn tx_pcm_bypass(&mut self) -> TX_PCM_BYPASS_W { TX_PCM_BYPASS_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to stop disable output BCK signal and WS signal when tx FIFO is emtpy"] #[inline(always)] - #[must_use] pub fn tx_stop_en(&mut self) -> TX_STOP_EN_W { TX_STOP_EN_W::new(self, 13) } #[doc = "Bit 15 - 1: I2S TX left alignment mode. 0: I2S TX right alignment mode."] #[inline(always)] - #[must_use] pub fn tx_left_align(&mut self) -> TX_LEFT_ALIGN_W { TX_LEFT_ALIGN_W::new(self, 15) } #[doc = "Bit 16 - 1: Sent 32 bits in 24 channel bits mode. 0: Sent 24 bits in 24 channel bits mode"] #[inline(always)] - #[must_use] pub fn tx_24_fill_en(&mut self) -> TX_24_FILL_EN_W { TX_24_FILL_EN_W::new(self, 16) } #[doc = "Bit 17 - 0: WS should be 0 when sending left channel data, and WS is 1in right channel. 1: WS should be 1 when sending left channel data, and WS is 0in right channel."] #[inline(always)] - #[must_use] pub fn tx_ws_idle_pol(&mut self) -> TX_WS_IDLE_POL_W { TX_WS_IDLE_POL_W::new(self, 17) } #[doc = "Bit 18 - I2S Tx bit endian. 1:small endian, the LSB is sent first. 0:big endian, the MSB is sent first."] #[inline(always)] - #[must_use] pub fn tx_bit_order(&mut self) -> TX_BIT_ORDER_W { TX_BIT_ORDER_W::new(self, 18) } #[doc = "Bit 19 - 1: Enable I2S TDM Tx mode . 0: Disable."] #[inline(always)] - #[must_use] pub fn tx_tdm_en(&mut self) -> TX_TDM_EN_W { TX_TDM_EN_W::new(self, 19) } #[doc = "Bit 20 - 1: Enable I2S PDM Tx mode . 0: Disable."] #[inline(always)] - #[must_use] pub fn tx_pdm_en(&mut self) -> TX_PDM_EN_W { TX_PDM_EN_W::new(self, 20) } #[doc = "Bits 24:26 - I2S transmitter channel mode configuration bits."] #[inline(always)] - #[must_use] pub fn tx_chan_mod(&mut self) -> TX_CHAN_MOD_W { TX_CHAN_MOD_W::new(self, 24) } #[doc = "Bit 27 - Enable signal loop back mode with transmitter module and receiver module sharing the same WS and BCK signals."] #[inline(always)] - #[must_use] pub fn sig_loopback(&mut self) -> SIG_LOOPBACK_W { SIG_LOOPBACK_W::new(self, 27) } diff --git a/esp32s3/src/i2s0/tx_conf1.rs b/esp32s3/src/i2s0/tx_conf1.rs index 196c16c060..ca317bc3f4 100644 --- a/esp32s3/src/i2s0/tx_conf1.rs +++ b/esp32s3/src/i2s0/tx_conf1.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - The width of tx_ws_out in TDM mode is (I2S_TX_TDM_WS_WIDTH\\[6:0\\] +1) * T_bck"] #[inline(always)] - #[must_use] pub fn tx_tdm_ws_width(&mut self) -> TX_TDM_WS_WIDTH_W { TX_TDM_WS_WIDTH_W::new(self, 0) } #[doc = "Bits 7:12 - Bit clock configuration bits in transmitter mode."] #[inline(always)] - #[must_use] pub fn tx_bck_div_num(&mut self) -> TX_BCK_DIV_NUM_W { TX_BCK_DIV_NUM_W::new(self, 7) } #[doc = "Bits 13:17 - Set the bits to configure the valid data bit length of I2S transmitter channel. 7: all the valid channel data is in 8-bit-mode. 15: all the valid channel data is in 16-bit-mode. 23: all the valid channel data is in 24-bit-mode. 31:all the valid channel data is in 32-bit-mode."] #[inline(always)] - #[must_use] pub fn tx_bits_mod(&mut self) -> TX_BITS_MOD_W { TX_BITS_MOD_W::new(self, 13) } #[doc = "Bits 18:23 - I2S Tx half sample bits -1."] #[inline(always)] - #[must_use] pub fn tx_half_sample_bits(&mut self) -> TX_HALF_SAMPLE_BITS_W { TX_HALF_SAMPLE_BITS_W::new(self, 18) } #[doc = "Bits 24:28 - The Tx bit number for each channel minus 1in TDM mode."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan_bits(&mut self) -> TX_TDM_CHAN_BITS_W { TX_TDM_CHAN_BITS_W::new(self, 24) } #[doc = "Bit 29 - Set this bit to enable transmitter in Phillips standard mode"] #[inline(always)] - #[must_use] pub fn tx_msb_shift(&mut self) -> TX_MSB_SHIFT_W { TX_MSB_SHIFT_W::new(self, 29) } #[doc = "Bit 30 - 1: BCK is not delayed to generate pos/neg edge in master mode. 0: BCK is delayed to generate pos/neg edge in master mode."] #[inline(always)] - #[must_use] pub fn tx_bck_no_dly(&mut self) -> TX_BCK_NO_DLY_W { TX_BCK_NO_DLY_W::new(self, 30) } diff --git a/esp32s3/src/i2s0/tx_pcm2pdm_conf.rs b/esp32s3/src/i2s0/tx_pcm2pdm_conf.rs index efaddb2ef6..b58b16a1ad 100644 --- a/esp32s3/src/i2s0/tx_pcm2pdm_conf.rs +++ b/esp32s3/src/i2s0/tx_pcm2pdm_conf.rs @@ -140,43 +140,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - I2S TX PDM bypass hp filter or not. The option has been removed."] #[inline(always)] - #[must_use] pub fn tx_pdm_hp_bypass(&mut self) -> TX_PDM_HP_BYPASS_W { TX_PDM_HP_BYPASS_W::new(self, 0) } #[doc = "Bits 1:4 - I2S TX PDM OSR2 value"] #[inline(always)] - #[must_use] pub fn tx_pdm_sinc_osr2(&mut self) -> TX_PDM_SINC_OSR2_W { TX_PDM_SINC_OSR2_W::new(self, 1) } #[doc = "Bits 5:12 - I2S TX PDM prescale for sigmadelta"] #[inline(always)] - #[must_use] pub fn tx_pdm_prescale(&mut self) -> TX_PDM_PRESCALE_W { TX_PDM_PRESCALE_W::new(self, 5) } #[doc = "Bits 13:14 - I2S TX PDM sigmadelta scale shift number: 0:/2 , 1:x1 , 2:x2 , 3: x4"] #[inline(always)] - #[must_use] pub fn tx_pdm_hp_in_shift(&mut self) -> TX_PDM_HP_IN_SHIFT_W { TX_PDM_HP_IN_SHIFT_W::new(self, 13) } #[doc = "Bits 15:16 - I2S TX PDM sigmadelta scale shift number: 0:/2 , 1:x1 , 2:x2 , 3: x4"] #[inline(always)] - #[must_use] pub fn tx_pdm_lp_in_shift(&mut self) -> TX_PDM_LP_IN_SHIFT_W { TX_PDM_LP_IN_SHIFT_W::new(self, 15) } #[doc = "Bits 17:18 - I2S TX PDM sigmadelta scale shift number: 0:/2 , 1:x1 , 2:x2 , 3: x4"] #[inline(always)] - #[must_use] pub fn tx_pdm_sinc_in_shift(&mut self) -> TX_PDM_SINC_IN_SHIFT_W { TX_PDM_SINC_IN_SHIFT_W::new(self, 17) } #[doc = "Bits 19:20 - I2S TX PDM sigmadelta scale shift number: 0:/2 , 1:x1 , 2:x2 , 3: x4"] #[inline(always)] - #[must_use] pub fn tx_pdm_sigmadelta_in_shift( &mut self, ) -> TX_PDM_SIGMADELTA_IN_SHIFT_W { @@ -184,7 +177,6 @@ impl W { } #[doc = "Bit 21 - I2S TX PDM sigmadelta dither2 value"] #[inline(always)] - #[must_use] pub fn tx_pdm_sigmadelta_dither2( &mut self, ) -> TX_PDM_SIGMADELTA_DITHER2_W { @@ -192,25 +184,21 @@ impl W { } #[doc = "Bit 22 - I2S TX PDM sigmadelta dither value"] #[inline(always)] - #[must_use] pub fn tx_pdm_sigmadelta_dither(&mut self) -> TX_PDM_SIGMADELTA_DITHER_W { TX_PDM_SIGMADELTA_DITHER_W::new(self, 22) } #[doc = "Bit 23 - I2S TX PDM dac mode enable"] #[inline(always)] - #[must_use] pub fn tx_pdm_dac_2out_en(&mut self) -> TX_PDM_DAC_2OUT_EN_W { TX_PDM_DAC_2OUT_EN_W::new(self, 23) } #[doc = "Bit 24 - I2S TX PDM dac 2channel enable"] #[inline(always)] - #[must_use] pub fn tx_pdm_dac_mode_en(&mut self) -> TX_PDM_DAC_MODE_EN_W { TX_PDM_DAC_MODE_EN_W::new(self, 24) } #[doc = "Bit 25 - I2S TX PDM Converter enable"] #[inline(always)] - #[must_use] pub fn pcm2pdm_conv_en(&mut self) -> PCM2PDM_CONV_EN_W { PCM2PDM_CONV_EN_W::new(self, 25) } diff --git a/esp32s3/src/i2s0/tx_pcm2pdm_conf1.rs b/esp32s3/src/i2s0/tx_pcm2pdm_conf1.rs index 7f58eb3572..6ae1a8208e 100644 --- a/esp32s3/src/i2s0/tx_pcm2pdm_conf1.rs +++ b/esp32s3/src/i2s0/tx_pcm2pdm_conf1.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - I2S TX PDM Fp"] #[inline(always)] - #[must_use] pub fn tx_pdm_fp(&mut self) -> TX_PDM_FP_W { TX_PDM_FP_W::new(self, 0) } #[doc = "Bits 10:19 - I2S TX PDM Fs"] #[inline(always)] - #[must_use] pub fn tx_pdm_fs(&mut self) -> TX_PDM_FS_W { TX_PDM_FS_W::new(self, 10) } #[doc = "Bits 20:22 - The fourth parameter of PDM TX IIR_HP filter stage 2 is (504 + I2S_TX_IIR_HP_MULT12_5\\[2:0\\])"] #[inline(always)] - #[must_use] pub fn tx_iir_hp_mult12_5(&mut self) -> TX_IIR_HP_MULT12_5_W { TX_IIR_HP_MULT12_5_W::new(self, 20) } #[doc = "Bits 23:25 - The fourth parameter of PDM TX IIR_HP filter stage 1 is (504 + I2S_TX_IIR_HP_MULT12_0\\[2:0\\])"] #[inline(always)] - #[must_use] pub fn tx_iir_hp_mult12_0(&mut self) -> TX_IIR_HP_MULT12_0_W { TX_IIR_HP_MULT12_0_W::new(self, 23) } diff --git a/esp32s3/src/i2s0/tx_tdm_ctrl.rs b/esp32s3/src/i2s0/tx_tdm_ctrl.rs index 9d5efa9df7..859510cb36 100644 --- a/esp32s3/src/i2s0/tx_tdm_ctrl.rs +++ b/esp32s3/src/i2s0/tx_tdm_ctrl.rs @@ -194,109 +194,91 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: Enable the valid data output of I2S TX TDM channel 0. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan0_en(&mut self) -> TX_TDM_CHAN0_EN_W { TX_TDM_CHAN0_EN_W::new(self, 0) } #[doc = "Bit 1 - 1: Enable the valid data output of I2S TX TDM channel 1. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan1_en(&mut self) -> TX_TDM_CHAN1_EN_W { TX_TDM_CHAN1_EN_W::new(self, 1) } #[doc = "Bit 2 - 1: Enable the valid data output of I2S TX TDM channel 2. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan2_en(&mut self) -> TX_TDM_CHAN2_EN_W { TX_TDM_CHAN2_EN_W::new(self, 2) } #[doc = "Bit 3 - 1: Enable the valid data output of I2S TX TDM channel 3. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan3_en(&mut self) -> TX_TDM_CHAN3_EN_W { TX_TDM_CHAN3_EN_W::new(self, 3) } #[doc = "Bit 4 - 1: Enable the valid data output of I2S TX TDM channel 4. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan4_en(&mut self) -> TX_TDM_CHAN4_EN_W { TX_TDM_CHAN4_EN_W::new(self, 4) } #[doc = "Bit 5 - 1: Enable the valid data output of I2S TX TDM channel 5. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan5_en(&mut self) -> TX_TDM_CHAN5_EN_W { TX_TDM_CHAN5_EN_W::new(self, 5) } #[doc = "Bit 6 - 1: Enable the valid data output of I2S TX TDM channel 6. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan6_en(&mut self) -> TX_TDM_CHAN6_EN_W { TX_TDM_CHAN6_EN_W::new(self, 6) } #[doc = "Bit 7 - 1: Enable the valid data output of I2S TX TDM channel 7. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan7_en(&mut self) -> TX_TDM_CHAN7_EN_W { TX_TDM_CHAN7_EN_W::new(self, 7) } #[doc = "Bit 8 - 1: Enable the valid data output of I2S TX TDM channel 8. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan8_en(&mut self) -> TX_TDM_CHAN8_EN_W { TX_TDM_CHAN8_EN_W::new(self, 8) } #[doc = "Bit 9 - 1: Enable the valid data output of I2S TX TDM channel 9. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan9_en(&mut self) -> TX_TDM_CHAN9_EN_W { TX_TDM_CHAN9_EN_W::new(self, 9) } #[doc = "Bit 10 - 1: Enable the valid data output of I2S TX TDM channel 10. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan10_en(&mut self) -> TX_TDM_CHAN10_EN_W { TX_TDM_CHAN10_EN_W::new(self, 10) } #[doc = "Bit 11 - 1: Enable the valid data output of I2S TX TDM channel 11. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan11_en(&mut self) -> TX_TDM_CHAN11_EN_W { TX_TDM_CHAN11_EN_W::new(self, 11) } #[doc = "Bit 12 - 1: Enable the valid data output of I2S TX TDM channel 12. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan12_en(&mut self) -> TX_TDM_CHAN12_EN_W { TX_TDM_CHAN12_EN_W::new(self, 12) } #[doc = "Bit 13 - 1: Enable the valid data output of I2S TX TDM channel 13. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan13_en(&mut self) -> TX_TDM_CHAN13_EN_W { TX_TDM_CHAN13_EN_W::new(self, 13) } #[doc = "Bit 14 - 1: Enable the valid data output of I2S TX TDM channel 14. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan14_en(&mut self) -> TX_TDM_CHAN14_EN_W { TX_TDM_CHAN14_EN_W::new(self, 14) } #[doc = "Bit 15 - 1: Enable the valid data output of I2S TX TDM channel 15. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan15_en(&mut self) -> TX_TDM_CHAN15_EN_W { TX_TDM_CHAN15_EN_W::new(self, 15) } #[doc = "Bits 16:19 - The total channel number of I2S TX TDM mode."] #[inline(always)] - #[must_use] pub fn tx_tdm_tot_chan_num(&mut self) -> TX_TDM_TOT_CHAN_NUM_W { TX_TDM_TOT_CHAN_NUM_W::new(self, 16) } #[doc = "Bit 20 - When DMA TX buffer stores the data of (REG_TX_TDM_TOT_CHAN_NUM + 1) channels, and only the data of the enabled channels is sent, then this bit should be set. Clear it when all the data stored in DMA TX buffer is for enabled channels."] #[inline(always)] - #[must_use] pub fn tx_tdm_skip_msk_en(&mut self) -> TX_TDM_SKIP_MSK_EN_W { TX_TDM_SKIP_MSK_EN_W::new(self, 20) } diff --git a/esp32s3/src/i2s0/tx_timing.rs b/esp32s3/src/i2s0/tx_timing.rs index 82d20256cd..a9e6a29856 100644 --- a/esp32s3/src/i2s0/tx_timing.rs +++ b/esp32s3/src/i2s0/tx_timing.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - The delay mode of I2S TX SD output signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn tx_sd_out_dm(&mut self) -> TX_SD_OUT_DM_W { TX_SD_OUT_DM_W::new(self, 0) } #[doc = "Bits 4:5 - The delay mode of I2S TX SD1 output signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn tx_sd1_out_dm(&mut self) -> TX_SD1_OUT_DM_W { TX_SD1_OUT_DM_W::new(self, 4) } #[doc = "Bits 16:17 - The delay mode of I2S TX WS output signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn tx_ws_out_dm(&mut self) -> TX_WS_OUT_DM_W { TX_WS_OUT_DM_W::new(self, 16) } #[doc = "Bits 20:21 - The delay mode of I2S TX BCK output signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn tx_bck_out_dm(&mut self) -> TX_BCK_OUT_DM_W { TX_BCK_OUT_DM_W::new(self, 20) } #[doc = "Bits 24:25 - The delay mode of I2S TX WS input signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn tx_ws_in_dm(&mut self) -> TX_WS_IN_DM_W { TX_WS_IN_DM_W::new(self, 24) } #[doc = "Bits 28:29 - The delay mode of I2S TX BCK input signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn tx_bck_in_dm(&mut self) -> TX_BCK_IN_DM_W { TX_BCK_IN_DM_W::new(self, 28) } diff --git a/esp32s3/src/i2s1/conf_sigle_data.rs b/esp32s3/src/i2s1/conf_sigle_data.rs index 50a4d005f8..27ac6bf4a9 100644 --- a/esp32s3/src/i2s1/conf_sigle_data.rs +++ b/esp32s3/src/i2s1/conf_sigle_data.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The configured constant channel data to be sent out."] #[inline(always)] - #[must_use] pub fn single_data(&mut self) -> SINGLE_DATA_W { SINGLE_DATA_W::new(self, 0) } diff --git a/esp32s3/src/i2s1/date.rs b/esp32s3/src/i2s1/date.rs index 89b709c15e..77a462fc9e 100644 --- a/esp32s3/src/i2s1/date.rs +++ b/esp32s3/src/i2s1/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - I2S version control register"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s3/src/i2s1/int_clr.rs b/esp32s3/src/i2s1/int_clr.rs index c3a99c694f..1719a408f1 100644 --- a/esp32s3/src/i2s1/int_clr.rs +++ b/esp32s3/src/i2s1/int_clr.rs @@ -17,25 +17,21 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the i2s_rx_done_int interrupt"] #[inline(always)] - #[must_use] pub fn rx_done(&mut self) -> RX_DONE_W { RX_DONE_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the i2s_tx_done_int interrupt"] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the i2s_rx_hung_int interrupt"] #[inline(always)] - #[must_use] pub fn rx_hung(&mut self) -> RX_HUNG_W { RX_HUNG_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the i2s_tx_hung_int interrupt"] #[inline(always)] - #[must_use] pub fn tx_hung(&mut self) -> TX_HUNG_W { TX_HUNG_W::new(self, 3) } diff --git a/esp32s3/src/i2s1/int_ena.rs b/esp32s3/src/i2s1/int_ena.rs index 0f2bb7d8e0..c87530a8a6 100644 --- a/esp32s3/src/i2s1/int_ena.rs +++ b/esp32s3/src/i2s1/int_ena.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for the i2s_rx_done_int interrupt"] #[inline(always)] - #[must_use] pub fn rx_done(&mut self) -> RX_DONE_W { RX_DONE_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the i2s_tx_done_int interrupt"] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the i2s_rx_hung_int interrupt"] #[inline(always)] - #[must_use] pub fn rx_hung(&mut self) -> RX_HUNG_W { RX_HUNG_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the i2s_tx_hung_int interrupt"] #[inline(always)] - #[must_use] pub fn tx_hung(&mut self) -> TX_HUNG_W { TX_HUNG_W::new(self, 3) } diff --git a/esp32s3/src/i2s1/lc_hung_conf.rs b/esp32s3/src/i2s1/lc_hung_conf.rs index 187de6aa6f..323187c7df 100644 --- a/esp32s3/src/i2s1/lc_hung_conf.rs +++ b/esp32s3/src/i2s1/lc_hung_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - the i2s_tx_hung_int interrupt or the i2s_rx_hung_int interrupt will be triggered when fifo hung counter is equal to this value"] #[inline(always)] - #[must_use] pub fn lc_fifo_timeout(&mut self) -> LC_FIFO_TIMEOUT_W { LC_FIFO_TIMEOUT_W::new(self, 0) } #[doc = "Bits 8:10 - The bits are used to scale tick counter threshold. The tick counter is reset when counter value >= 88000/2^i2s_lc_fifo_timeout_shift"] #[inline(always)] - #[must_use] pub fn lc_fifo_timeout_shift(&mut self) -> LC_FIFO_TIMEOUT_SHIFT_W { LC_FIFO_TIMEOUT_SHIFT_W::new(self, 8) } #[doc = "Bit 11 - The enable bit for FIFO timeout"] #[inline(always)] - #[must_use] pub fn lc_fifo_timeout_ena(&mut self) -> LC_FIFO_TIMEOUT_ENA_W { LC_FIFO_TIMEOUT_ENA_W::new(self, 11) } diff --git a/esp32s3/src/i2s1/rx_clkm_conf.rs b/esp32s3/src/i2s1/rx_clkm_conf.rs index 89f45bca23..140e2179d1 100644 --- a/esp32s3/src/i2s1/rx_clkm_conf.rs +++ b/esp32s3/src/i2s1/rx_clkm_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Integral I2S clock divider value"] #[inline(always)] - #[must_use] pub fn rx_clkm_div_num(&mut self) -> RX_CLKM_DIV_NUM_W { RX_CLKM_DIV_NUM_W::new(self, 0) } #[doc = "Bit 26 - I2S Rx module clock enable signal."] #[inline(always)] - #[must_use] pub fn rx_clk_active(&mut self) -> RX_CLK_ACTIVE_W { RX_CLK_ACTIVE_W::new(self, 26) } #[doc = "Bits 27:28 - Select I2S Rx module source clock. 0: no clock. 1: APLL. 2: CLK160. 3: I2S_MCLK_in."] #[inline(always)] - #[must_use] pub fn rx_clk_sel(&mut self) -> RX_CLK_SEL_W { RX_CLK_SEL_W::new(self, 27) } #[doc = "Bit 29 - 0: UseI2S Tx module clock as I2S_MCLK_OUT. 1: UseI2S Rx module clock as I2S_MCLK_OUT."] #[inline(always)] - #[must_use] pub fn mclk_sel(&mut self) -> MCLK_SEL_W { MCLK_SEL_W::new(self, 29) } diff --git a/esp32s3/src/i2s1/rx_clkm_div_conf.rs b/esp32s3/src/i2s1/rx_clkm_div_conf.rs index 8ebfa2b7d2..c14256acfa 100644 --- a/esp32s3/src/i2s1/rx_clkm_div_conf.rs +++ b/esp32s3/src/i2s1/rx_clkm_div_conf.rs @@ -2,39 +2,39 @@ pub type R = crate::R; #[doc = "Register `RX_CLKM_DIV_CONF` writer"] pub type W = crate::W; -#[doc = "Field `RX_CLKM_DIV_Z` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] +#[doc = "Field `RX_CLKM_DIV_Z` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] pub type RX_CLKM_DIV_Z_R = crate::FieldReader; -#[doc = "Field `RX_CLKM_DIV_Z` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] +#[doc = "Field `RX_CLKM_DIV_Z` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] pub type RX_CLKM_DIV_Z_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `RX_CLKM_DIV_Y` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] +#[doc = "Field `RX_CLKM_DIV_Y` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] pub type RX_CLKM_DIV_Y_R = crate::FieldReader; -#[doc = "Field `RX_CLKM_DIV_Y` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] +#[doc = "Field `RX_CLKM_DIV_Y` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] pub type RX_CLKM_DIV_Y_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `RX_CLKM_DIV_X` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] +#[doc = "Field `RX_CLKM_DIV_X` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] pub type RX_CLKM_DIV_X_R = crate::FieldReader; -#[doc = "Field `RX_CLKM_DIV_X` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] +#[doc = "Field `RX_CLKM_DIV_X` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] pub type RX_CLKM_DIV_X_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `RX_CLKM_DIV_YN1` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] +#[doc = "Field `RX_CLKM_DIV_YN1` reader - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] pub type RX_CLKM_DIV_YN1_R = crate::BitReader; -#[doc = "Field `RX_CLKM_DIV_YN1` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] +#[doc = "Field `RX_CLKM_DIV_YN1` writer - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] pub type RX_CLKM_DIV_YN1_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { - #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] + #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] #[inline(always)] pub fn rx_clkm_div_z(&self) -> RX_CLKM_DIV_Z_R { RX_CLKM_DIV_Z_R::new((self.bits & 0x01ff) as u16) } - #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] + #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] #[inline(always)] pub fn rx_clkm_div_y(&self) -> RX_CLKM_DIV_Y_R { RX_CLKM_DIV_Y_R::new(((self.bits >> 9) & 0x01ff) as u16) } - #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] + #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] #[inline(always)] pub fn rx_clkm_div_x(&self) -> RX_CLKM_DIV_X_R { RX_CLKM_DIV_X_R::new(((self.bits >> 18) & 0x01ff) as u16) } - #[doc = "Bit 27 - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] + #[doc = "Bit 27 - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] #[inline(always)] pub fn rx_clkm_div_yn1(&self) -> RX_CLKM_DIV_YN1_R { RX_CLKM_DIV_YN1_R::new(((self.bits >> 27) & 1) != 0) @@ -52,27 +52,23 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] + #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_RX_CLKM_DIV_Z is (a-b)."] #[inline(always)] - #[must_use] pub fn rx_clkm_div_z(&mut self) -> RX_CLKM_DIV_Z_W { RX_CLKM_DIV_Z_W::new(self, 0) } - #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] + #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_RX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_RX_CLKM_DIV_Y is (a%(a-b))."] #[inline(always)] - #[must_use] pub fn rx_clkm_div_y(&mut self) -> RX_CLKM_DIV_Y_W { RX_CLKM_DIV_Y_W::new(self, 9) } - #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] + #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_RX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_RX_CLKM_DIV_X is (a/(a-b)) - 1."] #[inline(always)] - #[must_use] pub fn rx_clkm_div_x(&mut self) -> RX_CLKM_DIV_X_W { RX_CLKM_DIV_X_W::new(self, 18) } - #[doc = "Bit 27 - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] + #[doc = "Bit 27 - For b <= a/2, the value of I2S_RX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_RX_CLKM_DIV_YN1 is 1."] #[inline(always)] - #[must_use] pub fn rx_clkm_div_yn1(&mut self) -> RX_CLKM_DIV_YN1_W { RX_CLKM_DIV_YN1_W::new(self, 27) } diff --git a/esp32s3/src/i2s1/rx_conf.rs b/esp32s3/src/i2s1/rx_conf.rs index edaa8a1a29..0e70426ffc 100644 --- a/esp32s3/src/i2s1/rx_conf.rs +++ b/esp32s3/src/i2s1/rx_conf.rs @@ -30,9 +30,9 @@ pub type RX_UPDATE_W<'a, REG> = crate::BitWriter<'a, REG>; pub type RX_MONO_FST_VLD_R = crate::BitReader; #[doc = "Field `RX_MONO_FST_VLD` writer - 1: The first channel data value is valid in I2S RX mono mode. 0: The second channel data value is valid in I2S RX mono mode."] pub type RX_MONO_FST_VLD_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `RX_PCM_CONF` reader - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] +#[doc = "Field `RX_PCM_CONF` reader - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] pub type RX_PCM_CONF_R = crate::FieldReader; -#[doc = "Field `RX_PCM_CONF` writer - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] +#[doc = "Field `RX_PCM_CONF` writer - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] pub type RX_PCM_CONF_W<'a, REG> = crate::FieldWriter<'a, REG, 2>; #[doc = "Field `RX_PCM_BYPASS` reader - Set this bit to bypass Compress/Decompress module for received data."] pub type RX_PCM_BYPASS_R = crate::BitReader; @@ -97,7 +97,7 @@ impl R { pub fn rx_mono_fst_vld(&self) -> RX_MONO_FST_VLD_R { RX_MONO_FST_VLD_R::new(((self.bits >> 9) & 1) != 0) } - #[doc = "Bits 10:11 - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] + #[doc = "Bits 10:11 - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] #[inline(always)] pub fn rx_pcm_conf(&self) -> RX_PCM_CONF_R { RX_PCM_CONF_R::new(((self.bits >> 10) & 3) as u8) @@ -168,103 +168,86 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to reset receiver"] #[inline(always)] - #[must_use] pub fn rx_reset(&mut self) -> RX_RESET_W { RX_RESET_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to reset Rx AFIFO"] #[inline(always)] - #[must_use] pub fn rx_fifo_reset(&mut self) -> RX_FIFO_RESET_W { RX_FIFO_RESET_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to start receiving data"] #[inline(always)] - #[must_use] pub fn rx_start(&mut self) -> RX_START_W { RX_START_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to enable slave receiver mode"] #[inline(always)] - #[must_use] pub fn rx_slave_mod(&mut self) -> RX_SLAVE_MOD_W { RX_SLAVE_MOD_W::new(self, 3) } #[doc = "Bit 5 - Set this bit to enable receiver in mono mode"] #[inline(always)] - #[must_use] pub fn rx_mono(&mut self) -> RX_MONO_W { RX_MONO_W::new(self, 5) } #[doc = "Bit 7 - I2S Rx byte endian, 1: low addr value to high addr. 0: low addr with low addr value."] #[inline(always)] - #[must_use] pub fn rx_big_endian(&mut self) -> RX_BIG_ENDIAN_W { RX_BIG_ENDIAN_W::new(self, 7) } #[doc = "Bit 8 - Set 1 to update I2S RX registers from APB clock domain to I2S RX clock domain. This bit will be cleared by hardware after update register done."] #[inline(always)] - #[must_use] pub fn rx_update(&mut self) -> RX_UPDATE_W { RX_UPDATE_W::new(self, 8) } #[doc = "Bit 9 - 1: The first channel data value is valid in I2S RX mono mode. 0: The second channel data value is valid in I2S RX mono mode."] #[inline(always)] - #[must_use] pub fn rx_mono_fst_vld(&mut self) -> RX_MONO_FST_VLD_W { RX_MONO_FST_VLD_W::new(self, 9) } - #[doc = "Bits 10:11 - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] + #[doc = "Bits 10:11 - I2S RX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] #[inline(always)] - #[must_use] pub fn rx_pcm_conf(&mut self) -> RX_PCM_CONF_W { RX_PCM_CONF_W::new(self, 10) } #[doc = "Bit 12 - Set this bit to bypass Compress/Decompress module for received data."] #[inline(always)] - #[must_use] pub fn rx_pcm_bypass(&mut self) -> RX_PCM_BYPASS_W { RX_PCM_BYPASS_W::new(self, 12) } #[doc = "Bits 13:14 - 0 : I2S Rx only stop when reg_rx_start is cleared. 1: Stop when reg_rx_start is 0 or in_suc_eof is 1. 2: Stop I2S RX when reg_rx_start is 0 or RX FIFO is full."] #[inline(always)] - #[must_use] pub fn rx_stop_mode(&mut self) -> RX_STOP_MODE_W { RX_STOP_MODE_W::new(self, 13) } #[doc = "Bit 15 - 1: I2S RX left alignment mode. 0: I2S RX right alignment mode."] #[inline(always)] - #[must_use] pub fn rx_left_align(&mut self) -> RX_LEFT_ALIGN_W { RX_LEFT_ALIGN_W::new(self, 15) } #[doc = "Bit 16 - 1: store 24 channel bits to 32 bits. 0:store 24 channel bits to 24 bits."] #[inline(always)] - #[must_use] pub fn rx_24_fill_en(&mut self) -> RX_24_FILL_EN_W { RX_24_FILL_EN_W::new(self, 16) } #[doc = "Bit 17 - 0: WS should be 0 when receiving left channel data, and WS is 1in right channel. 1: WS should be 1 when receiving left channel data, and WS is 0in right channel."] #[inline(always)] - #[must_use] pub fn rx_ws_idle_pol(&mut self) -> RX_WS_IDLE_POL_W { RX_WS_IDLE_POL_W::new(self, 17) } #[doc = "Bit 18 - I2S Rx bit endian. 1:small endian, the LSB is received first. 0:big endian, the MSB is received first."] #[inline(always)] - #[must_use] pub fn rx_bit_order(&mut self) -> RX_BIT_ORDER_W { RX_BIT_ORDER_W::new(self, 18) } #[doc = "Bit 19 - 1: Enable I2S TDM Rx mode . 0: Disable."] #[inline(always)] - #[must_use] pub fn rx_tdm_en(&mut self) -> RX_TDM_EN_W { RX_TDM_EN_W::new(self, 19) } #[doc = "Bit 20 - 1: Enable I2S PDM Rx mode . 0: Disable."] #[inline(always)] - #[must_use] pub fn rx_pdm_en(&mut self) -> RX_PDM_EN_W { RX_PDM_EN_W::new(self, 20) } diff --git a/esp32s3/src/i2s1/rx_conf1.rs b/esp32s3/src/i2s1/rx_conf1.rs index d3795df6cb..ba9590de00 100644 --- a/esp32s3/src/i2s1/rx_conf1.rs +++ b/esp32s3/src/i2s1/rx_conf1.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - The width of rx_ws_out in TDM mode is (I2S_RX_TDM_WS_WIDTH\\[6:0\\] +1) * T_bck"] #[inline(always)] - #[must_use] pub fn rx_tdm_ws_width(&mut self) -> RX_TDM_WS_WIDTH_W { RX_TDM_WS_WIDTH_W::new(self, 0) } #[doc = "Bits 7:12 - Bit clock configuration bits in receiver mode."] #[inline(always)] - #[must_use] pub fn rx_bck_div_num(&mut self) -> RX_BCK_DIV_NUM_W { RX_BCK_DIV_NUM_W::new(self, 7) } #[doc = "Bits 13:17 - Set the bits to configure the valid data bit length of I2S receiver channel. 7: all the valid channel data is in 8-bit-mode. 15: all the valid channel data is in 16-bit-mode. 23: all the valid channel data is in 24-bit-mode. 31:all the valid channel data is in 32-bit-mode."] #[inline(always)] - #[must_use] pub fn rx_bits_mod(&mut self) -> RX_BITS_MOD_W { RX_BITS_MOD_W::new(self, 13) } #[doc = "Bits 18:23 - I2S Rx half sample bits -1."] #[inline(always)] - #[must_use] pub fn rx_half_sample_bits(&mut self) -> RX_HALF_SAMPLE_BITS_W { RX_HALF_SAMPLE_BITS_W::new(self, 18) } #[doc = "Bits 24:28 - The Rx bit number for each channel minus 1in TDM mode."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan_bits(&mut self) -> RX_TDM_CHAN_BITS_W { RX_TDM_CHAN_BITS_W::new(self, 24) } #[doc = "Bit 29 - Set this bit to enable receiver in Phillips standard mode"] #[inline(always)] - #[must_use] pub fn rx_msb_shift(&mut self) -> RX_MSB_SHIFT_W { RX_MSB_SHIFT_W::new(self, 29) } diff --git a/esp32s3/src/i2s1/rx_tdm_ctrl.rs b/esp32s3/src/i2s1/rx_tdm_ctrl.rs index 145b893140..430d8487d3 100644 --- a/esp32s3/src/i2s1/rx_tdm_ctrl.rs +++ b/esp32s3/src/i2s1/rx_tdm_ctrl.rs @@ -184,103 +184,86 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: Enable the valid data input of I2S RX TDM or PDM channel 0. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan0_en(&mut self) -> RX_TDM_PDM_CHAN0_EN_W { RX_TDM_PDM_CHAN0_EN_W::new(self, 0) } #[doc = "Bit 1 - 1: Enable the valid data input of I2S RX TDM or PDM channel 1. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan1_en(&mut self) -> RX_TDM_PDM_CHAN1_EN_W { RX_TDM_PDM_CHAN1_EN_W::new(self, 1) } #[doc = "Bit 2 - 1: Enable the valid data input of I2S RX TDM or PDM channel 2. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan2_en(&mut self) -> RX_TDM_PDM_CHAN2_EN_W { RX_TDM_PDM_CHAN2_EN_W::new(self, 2) } #[doc = "Bit 3 - 1: Enable the valid data input of I2S RX TDM or PDM channel 3. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan3_en(&mut self) -> RX_TDM_PDM_CHAN3_EN_W { RX_TDM_PDM_CHAN3_EN_W::new(self, 3) } #[doc = "Bit 4 - 1: Enable the valid data input of I2S RX TDM or PDM channel 4. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan4_en(&mut self) -> RX_TDM_PDM_CHAN4_EN_W { RX_TDM_PDM_CHAN4_EN_W::new(self, 4) } #[doc = "Bit 5 - 1: Enable the valid data input of I2S RX TDM or PDM channel 5. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan5_en(&mut self) -> RX_TDM_PDM_CHAN5_EN_W { RX_TDM_PDM_CHAN5_EN_W::new(self, 5) } #[doc = "Bit 6 - 1: Enable the valid data input of I2S RX TDM or PDM channel 6. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan6_en(&mut self) -> RX_TDM_PDM_CHAN6_EN_W { RX_TDM_PDM_CHAN6_EN_W::new(self, 6) } #[doc = "Bit 7 - 1: Enable the valid data input of I2S RX TDM or PDM channel 7. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_pdm_chan7_en(&mut self) -> RX_TDM_PDM_CHAN7_EN_W { RX_TDM_PDM_CHAN7_EN_W::new(self, 7) } #[doc = "Bit 8 - 1: Enable the valid data input of I2S RX TDM channel 8. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan8_en(&mut self) -> RX_TDM_CHAN8_EN_W { RX_TDM_CHAN8_EN_W::new(self, 8) } #[doc = "Bit 9 - 1: Enable the valid data input of I2S RX TDM channel 9. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan9_en(&mut self) -> RX_TDM_CHAN9_EN_W { RX_TDM_CHAN9_EN_W::new(self, 9) } #[doc = "Bit 10 - 1: Enable the valid data input of I2S RX TDM channel 10. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan10_en(&mut self) -> RX_TDM_CHAN10_EN_W { RX_TDM_CHAN10_EN_W::new(self, 10) } #[doc = "Bit 11 - 1: Enable the valid data input of I2S RX TDM channel 11. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan11_en(&mut self) -> RX_TDM_CHAN11_EN_W { RX_TDM_CHAN11_EN_W::new(self, 11) } #[doc = "Bit 12 - 1: Enable the valid data input of I2S RX TDM channel 12. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan12_en(&mut self) -> RX_TDM_CHAN12_EN_W { RX_TDM_CHAN12_EN_W::new(self, 12) } #[doc = "Bit 13 - 1: Enable the valid data input of I2S RX TDM channel 13. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan13_en(&mut self) -> RX_TDM_CHAN13_EN_W { RX_TDM_CHAN13_EN_W::new(self, 13) } #[doc = "Bit 14 - 1: Enable the valid data input of I2S RX TDM channel 14. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan14_en(&mut self) -> RX_TDM_CHAN14_EN_W { RX_TDM_CHAN14_EN_W::new(self, 14) } #[doc = "Bit 15 - 1: Enable the valid data input of I2S RX TDM channel 15. 0: Disable, just input 0 in this channel."] #[inline(always)] - #[must_use] pub fn rx_tdm_chan15_en(&mut self) -> RX_TDM_CHAN15_EN_W { RX_TDM_CHAN15_EN_W::new(self, 15) } #[doc = "Bits 16:19 - The total channel number of I2S TX TDM mode."] #[inline(always)] - #[must_use] pub fn rx_tdm_tot_chan_num(&mut self) -> RX_TDM_TOT_CHAN_NUM_W { RX_TDM_TOT_CHAN_NUM_W::new(self, 16) } diff --git a/esp32s3/src/i2s1/rx_timing.rs b/esp32s3/src/i2s1/rx_timing.rs index bb9ba20b42..bcf0d0e4ce 100644 --- a/esp32s3/src/i2s1/rx_timing.rs +++ b/esp32s3/src/i2s1/rx_timing.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - The delay mode of I2S Rx SD input signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_sd_in_dm(&mut self) -> RX_SD_IN_DM_W { RX_SD_IN_DM_W::new(self, 0) } #[doc = "Bits 16:17 - The delay mode of I2S Rx WS output signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_ws_out_dm(&mut self) -> RX_WS_OUT_DM_W { RX_WS_OUT_DM_W::new(self, 16) } #[doc = "Bits 20:21 - The delay mode of I2S Rx BCK output signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_bck_out_dm(&mut self) -> RX_BCK_OUT_DM_W { RX_BCK_OUT_DM_W::new(self, 20) } #[doc = "Bits 24:25 - The delay mode of I2S Rx WS input signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_ws_in_dm(&mut self) -> RX_WS_IN_DM_W { RX_WS_IN_DM_W::new(self, 24) } #[doc = "Bits 28:29 - The delay mode of I2S Rx BCK input signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn rx_bck_in_dm(&mut self) -> RX_BCK_IN_DM_W { RX_BCK_IN_DM_W::new(self, 28) } diff --git a/esp32s3/src/i2s1/rxeof_num.rs b/esp32s3/src/i2s1/rxeof_num.rs index 3cc1cab6bd..e06f8c3e0d 100644 --- a/esp32s3/src/i2s1/rxeof_num.rs +++ b/esp32s3/src/i2s1/rxeof_num.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - The receive data bit length is (I2S_RX_BITS_MOD\\[4:0\\] + 1) * (REG_RX_EOF_NUM\\[11:0\\] + 1) . It will trigger in_suc_eof interrupt in the configured DMA RX channel."] #[inline(always)] - #[must_use] pub fn rx_eof_num(&mut self) -> RX_EOF_NUM_W { RX_EOF_NUM_W::new(self, 0) } diff --git a/esp32s3/src/i2s1/tx_clkm_conf.rs b/esp32s3/src/i2s1/tx_clkm_conf.rs index 24561dcbc6..af8d613b56 100644 --- a/esp32s3/src/i2s1/tx_clkm_conf.rs +++ b/esp32s3/src/i2s1/tx_clkm_conf.rs @@ -2,9 +2,9 @@ pub type R = crate::R; #[doc = "Register `TX_CLKM_CONF` writer"] pub type W = crate::W; -#[doc = "Field `TX_CLKM_DIV_NUM` reader - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] +#[doc = "Field `TX_CLKM_DIV_NUM` reader - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] pub type TX_CLKM_DIV_NUM_R = crate::FieldReader; -#[doc = "Field `TX_CLKM_DIV_NUM` writer - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] +#[doc = "Field `TX_CLKM_DIV_NUM` writer - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] pub type TX_CLKM_DIV_NUM_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; #[doc = "Field `TX_CLK_ACTIVE` reader - I2S Tx module clock enable signal."] pub type TX_CLK_ACTIVE_R = crate::BitReader; @@ -19,7 +19,7 @@ pub type CLK_EN_R = crate::BitReader; #[doc = "Field `CLK_EN` writer - Set this bit to enable clk gate"] pub type CLK_EN_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { - #[doc = "Bits 0:7 - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] + #[doc = "Bits 0:7 - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] #[inline(always)] pub fn tx_clkm_div_num(&self) -> TX_CLKM_DIV_NUM_R { TX_CLKM_DIV_NUM_R::new((self.bits & 0xff) as u8) @@ -52,27 +52,23 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bits 0:7 - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] + #[doc = "Bits 0:7 - Integral I2S TX clock divider value. f_I2S_CLK = f_I2S_CLK_S/(N+b/a). There will be (a-b) * n-div and b * (n+1)-div. So the average combination will be: for b <= a/2, z * \\[x * n-div + (n+1)-div\\] + y * n-div. For b > a/2, z * \\[n-div + x * (n+1)-div\\] + y * (n+1)-div."] #[inline(always)] - #[must_use] pub fn tx_clkm_div_num(&mut self) -> TX_CLKM_DIV_NUM_W { TX_CLKM_DIV_NUM_W::new(self, 0) } #[doc = "Bit 26 - I2S Tx module clock enable signal."] #[inline(always)] - #[must_use] pub fn tx_clk_active(&mut self) -> TX_CLK_ACTIVE_W { TX_CLK_ACTIVE_W::new(self, 26) } #[doc = "Bits 27:28 - Select I2S Tx module source clock. 0: XTAL clock. 1: APLL. 2: CLK160. 3: I2S_MCLK_in."] #[inline(always)] - #[must_use] pub fn tx_clk_sel(&mut self) -> TX_CLK_SEL_W { TX_CLK_SEL_W::new(self, 27) } #[doc = "Bit 29 - Set this bit to enable clk gate"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 29) } diff --git a/esp32s3/src/i2s1/tx_clkm_div_conf.rs b/esp32s3/src/i2s1/tx_clkm_div_conf.rs index e7b9c46e13..f8c04d20cf 100644 --- a/esp32s3/src/i2s1/tx_clkm_div_conf.rs +++ b/esp32s3/src/i2s1/tx_clkm_div_conf.rs @@ -2,39 +2,39 @@ pub type R = crate::R; #[doc = "Register `TX_CLKM_DIV_CONF` writer"] pub type W = crate::W; -#[doc = "Field `TX_CLKM_DIV_Z` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] +#[doc = "Field `TX_CLKM_DIV_Z` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] pub type TX_CLKM_DIV_Z_R = crate::FieldReader; -#[doc = "Field `TX_CLKM_DIV_Z` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] +#[doc = "Field `TX_CLKM_DIV_Z` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] pub type TX_CLKM_DIV_Z_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `TX_CLKM_DIV_Y` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] +#[doc = "Field `TX_CLKM_DIV_Y` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] pub type TX_CLKM_DIV_Y_R = crate::FieldReader; -#[doc = "Field `TX_CLKM_DIV_Y` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] +#[doc = "Field `TX_CLKM_DIV_Y` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] pub type TX_CLKM_DIV_Y_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `TX_CLKM_DIV_X` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] +#[doc = "Field `TX_CLKM_DIV_X` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] pub type TX_CLKM_DIV_X_R = crate::FieldReader; -#[doc = "Field `TX_CLKM_DIV_X` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] +#[doc = "Field `TX_CLKM_DIV_X` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] pub type TX_CLKM_DIV_X_W<'a, REG> = crate::FieldWriter<'a, REG, 9, u16>; -#[doc = "Field `TX_CLKM_DIV_YN1` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] +#[doc = "Field `TX_CLKM_DIV_YN1` reader - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] pub type TX_CLKM_DIV_YN1_R = crate::BitReader; -#[doc = "Field `TX_CLKM_DIV_YN1` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] +#[doc = "Field `TX_CLKM_DIV_YN1` writer - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] pub type TX_CLKM_DIV_YN1_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { - #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] + #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] #[inline(always)] pub fn tx_clkm_div_z(&self) -> TX_CLKM_DIV_Z_R { TX_CLKM_DIV_Z_R::new((self.bits & 0x01ff) as u16) } - #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] + #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] #[inline(always)] pub fn tx_clkm_div_y(&self) -> TX_CLKM_DIV_Y_R { TX_CLKM_DIV_Y_R::new(((self.bits >> 9) & 0x01ff) as u16) } - #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] + #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] #[inline(always)] pub fn tx_clkm_div_x(&self) -> TX_CLKM_DIV_X_R { TX_CLKM_DIV_X_R::new(((self.bits >> 18) & 0x01ff) as u16) } - #[doc = "Bit 27 - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] + #[doc = "Bit 27 - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] #[inline(always)] pub fn tx_clkm_div_yn1(&self) -> TX_CLKM_DIV_YN1_R { TX_CLKM_DIV_YN1_R::new(((self.bits >> 27) & 1) != 0) @@ -52,27 +52,23 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] + #[doc = "Bits 0:8 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Z is b. For b > a/2, the value of I2S_TX_CLKM_DIV_Z is (a-b)."] #[inline(always)] - #[must_use] pub fn tx_clkm_div_z(&mut self) -> TX_CLKM_DIV_Z_W { TX_CLKM_DIV_Z_W::new(self, 0) } - #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] + #[doc = "Bits 9:17 - For b <= a/2, the value of I2S_TX_CLKM_DIV_Y is (a%b) . For b > a/2, the value of I2S_TX_CLKM_DIV_Y is (a%(a-b))."] #[inline(always)] - #[must_use] pub fn tx_clkm_div_y(&mut self) -> TX_CLKM_DIV_Y_W { TX_CLKM_DIV_Y_W::new(self, 9) } - #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] + #[doc = "Bits 18:26 - For b <= a/2, the value of I2S_TX_CLKM_DIV_X is (a/b) - 1. For b > a/2, the value of I2S_TX_CLKM_DIV_X is (a/(a-b)) - 1."] #[inline(always)] - #[must_use] pub fn tx_clkm_div_x(&mut self) -> TX_CLKM_DIV_X_W { TX_CLKM_DIV_X_W::new(self, 18) } - #[doc = "Bit 27 - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] + #[doc = "Bit 27 - For b <= a/2, the value of I2S_TX_CLKM_DIV_YN1 is 0 . For b > a/2, the value of I2S_TX_CLKM_DIV_YN1 is 1."] #[inline(always)] - #[must_use] pub fn tx_clkm_div_yn1(&mut self) -> TX_CLKM_DIV_YN1_W { TX_CLKM_DIV_YN1_W::new(self, 27) } diff --git a/esp32s3/src/i2s1/tx_conf.rs b/esp32s3/src/i2s1/tx_conf.rs index 48f6449414..628e4fb80d 100644 --- a/esp32s3/src/i2s1/tx_conf.rs +++ b/esp32s3/src/i2s1/tx_conf.rs @@ -34,9 +34,9 @@ pub type TX_UPDATE_W<'a, REG> = crate::BitWriter<'a, REG>; pub type TX_MONO_FST_VLD_R = crate::BitReader; #[doc = "Field `TX_MONO_FST_VLD` writer - 1: The first channel data value is valid in I2S TX mono mode. 0: The second channel data value is valid in I2S TX mono mode."] pub type TX_MONO_FST_VLD_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `TX_PCM_CONF` reader - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] +#[doc = "Field `TX_PCM_CONF` reader - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] pub type TX_PCM_CONF_R = crate::FieldReader; -#[doc = "Field `TX_PCM_CONF` writer - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] +#[doc = "Field `TX_PCM_CONF` writer - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] pub type TX_PCM_CONF_W<'a, REG> = crate::FieldWriter<'a, REG, 2>; #[doc = "Field `TX_PCM_BYPASS` reader - Set this bit to bypass Compress/Decompress module for transmitted data."] pub type TX_PCM_BYPASS_R = crate::BitReader; @@ -114,7 +114,7 @@ impl R { pub fn tx_mono_fst_vld(&self) -> TX_MONO_FST_VLD_R { TX_MONO_FST_VLD_R::new(((self.bits >> 9) & 1) != 0) } - #[doc = "Bits 10:11 - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] + #[doc = "Bits 10:11 - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] #[inline(always)] pub fn tx_pcm_conf(&self) -> TX_PCM_CONF_R { TX_PCM_CONF_R::new(((self.bits >> 10) & 3) as u8) @@ -198,121 +198,101 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to reset transmitter"] #[inline(always)] - #[must_use] pub fn tx_reset(&mut self) -> TX_RESET_W { TX_RESET_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to reset Tx AFIFO"] #[inline(always)] - #[must_use] pub fn tx_fifo_reset(&mut self) -> TX_FIFO_RESET_W { TX_FIFO_RESET_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to start transmitting data"] #[inline(always)] - #[must_use] pub fn tx_start(&mut self) -> TX_START_W { TX_START_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to enable slave transmitter mode"] #[inline(always)] - #[must_use] pub fn tx_slave_mod(&mut self) -> TX_SLAVE_MOD_W { TX_SLAVE_MOD_W::new(self, 3) } #[doc = "Bit 5 - Set this bit to enable transmitter in mono mode"] #[inline(always)] - #[must_use] pub fn tx_mono(&mut self) -> TX_MONO_W { TX_MONO_W::new(self, 5) } #[doc = "Bit 6 - 1: The value of Left channel data is equal to the value of right channel data in I2S TX mono mode or TDM channel select mode. 0: The invalid channel data is reg_i2s_single_data in I2S TX mono mode or TDM channel select mode."] #[inline(always)] - #[must_use] pub fn tx_chan_equal(&mut self) -> TX_CHAN_EQUAL_W { TX_CHAN_EQUAL_W::new(self, 6) } #[doc = "Bit 7 - I2S Tx byte endian, 1: low addr value to high addr. 0: low addr with low addr value."] #[inline(always)] - #[must_use] pub fn tx_big_endian(&mut self) -> TX_BIG_ENDIAN_W { TX_BIG_ENDIAN_W::new(self, 7) } #[doc = "Bit 8 - Set 1 to update I2S TX registers from APB clock domain to I2S TX clock domain. This bit will be cleared by hardware after update register done."] #[inline(always)] - #[must_use] pub fn tx_update(&mut self) -> TX_UPDATE_W { TX_UPDATE_W::new(self, 8) } #[doc = "Bit 9 - 1: The first channel data value is valid in I2S TX mono mode. 0: The second channel data value is valid in I2S TX mono mode."] #[inline(always)] - #[must_use] pub fn tx_mono_fst_vld(&mut self) -> TX_MONO_FST_VLD_W { TX_MONO_FST_VLD_W::new(self, 9) } - #[doc = "Bits 10:11 - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] + #[doc = "Bits 10:11 - I2S TX compress/decompress configuration bit. & 0 (atol): A-Law decompress, 1 (ltoa) : A-Law compress, 2 (utol) : u-Law decompress, 3 (ltou) : u-Law compress. &"] #[inline(always)] - #[must_use] pub fn tx_pcm_conf(&mut self) -> TX_PCM_CONF_W { TX_PCM_CONF_W::new(self, 10) } #[doc = "Bit 12 - Set this bit to bypass Compress/Decompress module for transmitted data."] #[inline(always)] - #[must_use] pub fn tx_pcm_bypass(&mut self) -> TX_PCM_BYPASS_W { TX_PCM_BYPASS_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to stop disable output BCK signal and WS signal when tx FIFO is emtpy"] #[inline(always)] - #[must_use] pub fn tx_stop_en(&mut self) -> TX_STOP_EN_W { TX_STOP_EN_W::new(self, 13) } #[doc = "Bit 15 - 1: I2S TX left alignment mode. 0: I2S TX right alignment mode."] #[inline(always)] - #[must_use] pub fn tx_left_align(&mut self) -> TX_LEFT_ALIGN_W { TX_LEFT_ALIGN_W::new(self, 15) } #[doc = "Bit 16 - 1: Sent 32 bits in 24 channel bits mode. 0: Sent 24 bits in 24 channel bits mode"] #[inline(always)] - #[must_use] pub fn tx_24_fill_en(&mut self) -> TX_24_FILL_EN_W { TX_24_FILL_EN_W::new(self, 16) } #[doc = "Bit 17 - 0: WS should be 0 when sending left channel data, and WS is 1in right channel. 1: WS should be 1 when sending left channel data, and WS is 0in right channel."] #[inline(always)] - #[must_use] pub fn tx_ws_idle_pol(&mut self) -> TX_WS_IDLE_POL_W { TX_WS_IDLE_POL_W::new(self, 17) } #[doc = "Bit 18 - I2S Tx bit endian. 1:small endian, the LSB is sent first. 0:big endian, the MSB is sent first."] #[inline(always)] - #[must_use] pub fn tx_bit_order(&mut self) -> TX_BIT_ORDER_W { TX_BIT_ORDER_W::new(self, 18) } #[doc = "Bit 19 - 1: Enable I2S TDM Tx mode . 0: Disable."] #[inline(always)] - #[must_use] pub fn tx_tdm_en(&mut self) -> TX_TDM_EN_W { TX_TDM_EN_W::new(self, 19) } #[doc = "Bit 20 - 1: Enable I2S PDM Tx mode . 0: Disable."] #[inline(always)] - #[must_use] pub fn tx_pdm_en(&mut self) -> TX_PDM_EN_W { TX_PDM_EN_W::new(self, 20) } #[doc = "Bits 24:26 - I2S transmitter channel mode configuration bits."] #[inline(always)] - #[must_use] pub fn tx_chan_mod(&mut self) -> TX_CHAN_MOD_W { TX_CHAN_MOD_W::new(self, 24) } #[doc = "Bit 27 - Enable signal loop back mode with transmitter module and receiver module sharing the same WS and BCK signals."] #[inline(always)] - #[must_use] pub fn sig_loopback(&mut self) -> SIG_LOOPBACK_W { SIG_LOOPBACK_W::new(self, 27) } diff --git a/esp32s3/src/i2s1/tx_conf1.rs b/esp32s3/src/i2s1/tx_conf1.rs index 196c16c060..ca317bc3f4 100644 --- a/esp32s3/src/i2s1/tx_conf1.rs +++ b/esp32s3/src/i2s1/tx_conf1.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - The width of tx_ws_out in TDM mode is (I2S_TX_TDM_WS_WIDTH\\[6:0\\] +1) * T_bck"] #[inline(always)] - #[must_use] pub fn tx_tdm_ws_width(&mut self) -> TX_TDM_WS_WIDTH_W { TX_TDM_WS_WIDTH_W::new(self, 0) } #[doc = "Bits 7:12 - Bit clock configuration bits in transmitter mode."] #[inline(always)] - #[must_use] pub fn tx_bck_div_num(&mut self) -> TX_BCK_DIV_NUM_W { TX_BCK_DIV_NUM_W::new(self, 7) } #[doc = "Bits 13:17 - Set the bits to configure the valid data bit length of I2S transmitter channel. 7: all the valid channel data is in 8-bit-mode. 15: all the valid channel data is in 16-bit-mode. 23: all the valid channel data is in 24-bit-mode. 31:all the valid channel data is in 32-bit-mode."] #[inline(always)] - #[must_use] pub fn tx_bits_mod(&mut self) -> TX_BITS_MOD_W { TX_BITS_MOD_W::new(self, 13) } #[doc = "Bits 18:23 - I2S Tx half sample bits -1."] #[inline(always)] - #[must_use] pub fn tx_half_sample_bits(&mut self) -> TX_HALF_SAMPLE_BITS_W { TX_HALF_SAMPLE_BITS_W::new(self, 18) } #[doc = "Bits 24:28 - The Tx bit number for each channel minus 1in TDM mode."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan_bits(&mut self) -> TX_TDM_CHAN_BITS_W { TX_TDM_CHAN_BITS_W::new(self, 24) } #[doc = "Bit 29 - Set this bit to enable transmitter in Phillips standard mode"] #[inline(always)] - #[must_use] pub fn tx_msb_shift(&mut self) -> TX_MSB_SHIFT_W { TX_MSB_SHIFT_W::new(self, 29) } #[doc = "Bit 30 - 1: BCK is not delayed to generate pos/neg edge in master mode. 0: BCK is delayed to generate pos/neg edge in master mode."] #[inline(always)] - #[must_use] pub fn tx_bck_no_dly(&mut self) -> TX_BCK_NO_DLY_W { TX_BCK_NO_DLY_W::new(self, 30) } diff --git a/esp32s3/src/i2s1/tx_tdm_ctrl.rs b/esp32s3/src/i2s1/tx_tdm_ctrl.rs index 9d5efa9df7..859510cb36 100644 --- a/esp32s3/src/i2s1/tx_tdm_ctrl.rs +++ b/esp32s3/src/i2s1/tx_tdm_ctrl.rs @@ -194,109 +194,91 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: Enable the valid data output of I2S TX TDM channel 0. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan0_en(&mut self) -> TX_TDM_CHAN0_EN_W { TX_TDM_CHAN0_EN_W::new(self, 0) } #[doc = "Bit 1 - 1: Enable the valid data output of I2S TX TDM channel 1. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan1_en(&mut self) -> TX_TDM_CHAN1_EN_W { TX_TDM_CHAN1_EN_W::new(self, 1) } #[doc = "Bit 2 - 1: Enable the valid data output of I2S TX TDM channel 2. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan2_en(&mut self) -> TX_TDM_CHAN2_EN_W { TX_TDM_CHAN2_EN_W::new(self, 2) } #[doc = "Bit 3 - 1: Enable the valid data output of I2S TX TDM channel 3. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan3_en(&mut self) -> TX_TDM_CHAN3_EN_W { TX_TDM_CHAN3_EN_W::new(self, 3) } #[doc = "Bit 4 - 1: Enable the valid data output of I2S TX TDM channel 4. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan4_en(&mut self) -> TX_TDM_CHAN4_EN_W { TX_TDM_CHAN4_EN_W::new(self, 4) } #[doc = "Bit 5 - 1: Enable the valid data output of I2S TX TDM channel 5. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan5_en(&mut self) -> TX_TDM_CHAN5_EN_W { TX_TDM_CHAN5_EN_W::new(self, 5) } #[doc = "Bit 6 - 1: Enable the valid data output of I2S TX TDM channel 6. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan6_en(&mut self) -> TX_TDM_CHAN6_EN_W { TX_TDM_CHAN6_EN_W::new(self, 6) } #[doc = "Bit 7 - 1: Enable the valid data output of I2S TX TDM channel 7. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan7_en(&mut self) -> TX_TDM_CHAN7_EN_W { TX_TDM_CHAN7_EN_W::new(self, 7) } #[doc = "Bit 8 - 1: Enable the valid data output of I2S TX TDM channel 8. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan8_en(&mut self) -> TX_TDM_CHAN8_EN_W { TX_TDM_CHAN8_EN_W::new(self, 8) } #[doc = "Bit 9 - 1: Enable the valid data output of I2S TX TDM channel 9. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan9_en(&mut self) -> TX_TDM_CHAN9_EN_W { TX_TDM_CHAN9_EN_W::new(self, 9) } #[doc = "Bit 10 - 1: Enable the valid data output of I2S TX TDM channel 10. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan10_en(&mut self) -> TX_TDM_CHAN10_EN_W { TX_TDM_CHAN10_EN_W::new(self, 10) } #[doc = "Bit 11 - 1: Enable the valid data output of I2S TX TDM channel 11. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan11_en(&mut self) -> TX_TDM_CHAN11_EN_W { TX_TDM_CHAN11_EN_W::new(self, 11) } #[doc = "Bit 12 - 1: Enable the valid data output of I2S TX TDM channel 12. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan12_en(&mut self) -> TX_TDM_CHAN12_EN_W { TX_TDM_CHAN12_EN_W::new(self, 12) } #[doc = "Bit 13 - 1: Enable the valid data output of I2S TX TDM channel 13. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan13_en(&mut self) -> TX_TDM_CHAN13_EN_W { TX_TDM_CHAN13_EN_W::new(self, 13) } #[doc = "Bit 14 - 1: Enable the valid data output of I2S TX TDM channel 14. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan14_en(&mut self) -> TX_TDM_CHAN14_EN_W { TX_TDM_CHAN14_EN_W::new(self, 14) } #[doc = "Bit 15 - 1: Enable the valid data output of I2S TX TDM channel 15. 0: Disable, just output 0 in this channel."] #[inline(always)] - #[must_use] pub fn tx_tdm_chan15_en(&mut self) -> TX_TDM_CHAN15_EN_W { TX_TDM_CHAN15_EN_W::new(self, 15) } #[doc = "Bits 16:19 - The total channel number of I2S TX TDM mode."] #[inline(always)] - #[must_use] pub fn tx_tdm_tot_chan_num(&mut self) -> TX_TDM_TOT_CHAN_NUM_W { TX_TDM_TOT_CHAN_NUM_W::new(self, 16) } #[doc = "Bit 20 - When DMA TX buffer stores the data of (REG_TX_TDM_TOT_CHAN_NUM + 1) channels, and only the data of the enabled channels is sent, then this bit should be set. Clear it when all the data stored in DMA TX buffer is for enabled channels."] #[inline(always)] - #[must_use] pub fn tx_tdm_skip_msk_en(&mut self) -> TX_TDM_SKIP_MSK_EN_W { TX_TDM_SKIP_MSK_EN_W::new(self, 20) } diff --git a/esp32s3/src/i2s1/tx_timing.rs b/esp32s3/src/i2s1/tx_timing.rs index 82d20256cd..a9e6a29856 100644 --- a/esp32s3/src/i2s1/tx_timing.rs +++ b/esp32s3/src/i2s1/tx_timing.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - The delay mode of I2S TX SD output signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn tx_sd_out_dm(&mut self) -> TX_SD_OUT_DM_W { TX_SD_OUT_DM_W::new(self, 0) } #[doc = "Bits 4:5 - The delay mode of I2S TX SD1 output signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn tx_sd1_out_dm(&mut self) -> TX_SD1_OUT_DM_W { TX_SD1_OUT_DM_W::new(self, 4) } #[doc = "Bits 16:17 - The delay mode of I2S TX WS output signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn tx_ws_out_dm(&mut self) -> TX_WS_OUT_DM_W { TX_WS_OUT_DM_W::new(self, 16) } #[doc = "Bits 20:21 - The delay mode of I2S TX BCK output signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn tx_bck_out_dm(&mut self) -> TX_BCK_OUT_DM_W { TX_BCK_OUT_DM_W::new(self, 20) } #[doc = "Bits 24:25 - The delay mode of I2S TX WS input signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn tx_ws_in_dm(&mut self) -> TX_WS_IN_DM_W { TX_WS_IN_DM_W::new(self, 24) } #[doc = "Bits 28:29 - The delay mode of I2S TX BCK input signal. 0: bypass. 1: delay by pos edge. 2: delay by neg edge. 3: not used."] #[inline(always)] - #[must_use] pub fn tx_bck_in_dm(&mut self) -> TX_BCK_IN_DM_W { TX_BCK_IN_DM_W::new(self, 28) } diff --git a/esp32s3/src/interrupt_core0/aes_int_map.rs b/esp32s3/src/interrupt_core0/aes_int_map.rs index 320bab6650..f534a25d50 100644 --- a/esp32s3/src/interrupt_core0/aes_int_map.rs +++ b/esp32s3/src/interrupt_core0/aes_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map aes interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn aes_int_map(&mut self) -> AES_INT_MAP_W { AES_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/apb_adc_int_map.rs b/esp32s3/src/interrupt_core0/apb_adc_int_map.rs index 654bc94698..df646617c2 100644 --- a/esp32s3/src/interrupt_core0/apb_adc_int_map.rs +++ b/esp32s3/src/interrupt_core0/apb_adc_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map apb_adc interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn apb_adc_int_map(&mut self) -> APB_ADC_INT_MAP_W { APB_ADC_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/assist_debug_intr_map.rs b/esp32s3/src/interrupt_core0/assist_debug_intr_map.rs index dc23015574..babb89a014 100644 --- a/esp32s3/src/interrupt_core0/assist_debug_intr_map.rs +++ b/esp32s3/src/interrupt_core0/assist_debug_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map assist_debug interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn assist_debug_intr_map(&mut self) -> ASSIST_DEBUG_INTR_MAP_W { ASSIST_DEBUG_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/backup_pms_violate_intr_map.rs b/esp32s3/src/interrupt_core0/backup_pms_violate_intr_map.rs index bb0b60f71a..7b1d997b9b 100644 --- a/esp32s3/src/interrupt_core0/backup_pms_violate_intr_map.rs +++ b/esp32s3/src/interrupt_core0/backup_pms_violate_intr_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map backup_pms_monitor_violatile interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn backup_pms_violate_intr_map( &mut self, ) -> BACKUP_PMS_VIOLATE_INTR_MAP_W { diff --git a/esp32s3/src/interrupt_core0/bb_int_map.rs b/esp32s3/src/interrupt_core0/bb_int_map.rs index 829b3dd533..34a10950b2 100644 --- a/esp32s3/src/interrupt_core0/bb_int_map.rs +++ b/esp32s3/src/interrupt_core0/bb_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map bb interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn bb_int_map(&mut self) -> BB_INT_MAP_W { BB_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/bt_bb_int_map.rs b/esp32s3/src/interrupt_core0/bt_bb_int_map.rs index d39ab7ef15..0835bfbcf3 100644 --- a/esp32s3/src/interrupt_core0/bt_bb_int_map.rs +++ b/esp32s3/src/interrupt_core0/bt_bb_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map bt_bb interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn bt_bb_int_map(&mut self) -> BT_BB_INT_MAP_W { BT_BB_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/bt_bb_nmi_map.rs b/esp32s3/src/interrupt_core0/bt_bb_nmi_map.rs index 0a4352fd8b..e4f800f8ba 100644 --- a/esp32s3/src/interrupt_core0/bt_bb_nmi_map.rs +++ b/esp32s3/src/interrupt_core0/bt_bb_nmi_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map bb_bt_nmi interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn bt_bb_nmi_map(&mut self) -> BT_BB_NMI_MAP_W { BT_BB_NMI_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/bt_mac_int_map.rs b/esp32s3/src/interrupt_core0/bt_mac_int_map.rs index 3f15ca1a7c..3d8dc1b3ef 100644 --- a/esp32s3/src/interrupt_core0/bt_mac_int_map.rs +++ b/esp32s3/src/interrupt_core0/bt_mac_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map bb_mac interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn bt_mac_int_map(&mut self) -> BT_MAC_INT_MAP_W { BT_MAC_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/cache_core0_acs_int_map.rs b/esp32s3/src/interrupt_core0/cache_core0_acs_int_map.rs index e78394fe2d..5ed0ae5293 100644 --- a/esp32s3/src/interrupt_core0/cache_core0_acs_int_map.rs +++ b/esp32s3/src/interrupt_core0/cache_core0_acs_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map cache_core0_acs interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn cache_core0_acs_int_map( &mut self, ) -> CACHE_CORE0_ACS_INT_MAP_W { diff --git a/esp32s3/src/interrupt_core0/cache_core1_acs_int_map.rs b/esp32s3/src/interrupt_core0/cache_core1_acs_int_map.rs index 324f339612..a062eae17e 100644 --- a/esp32s3/src/interrupt_core0/cache_core1_acs_int_map.rs +++ b/esp32s3/src/interrupt_core0/cache_core1_acs_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map cache_core1_acs interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn cache_core1_acs_int_map( &mut self, ) -> CACHE_CORE1_ACS_INT_MAP_W { diff --git a/esp32s3/src/interrupt_core0/cache_ia_int_map.rs b/esp32s3/src/interrupt_core0/cache_ia_int_map.rs index 7a6dfe82fe..dbd0f5ebb7 100644 --- a/esp32s3/src/interrupt_core0/cache_ia_int_map.rs +++ b/esp32s3/src/interrupt_core0/cache_ia_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map cache_ia interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn cache_ia_int_map(&mut self) -> CACHE_IA_INT_MAP_W { CACHE_IA_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/can_int_map.rs b/esp32s3/src/interrupt_core0/can_int_map.rs index aeea5203ed..6d49fc7bd5 100644 --- a/esp32s3/src/interrupt_core0/can_int_map.rs +++ b/esp32s3/src/interrupt_core0/can_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map can interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn can_int_map(&mut self) -> CAN_INT_MAP_W { CAN_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/clock_gate.rs b/esp32s3/src/interrupt_core0/clock_gate.rs index 4a690814e9..25eff3a07d 100644 --- a/esp32s3/src/interrupt_core0/clock_gate.rs +++ b/esp32s3/src/interrupt_core0/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - this register uesd to control clock-gating interupt martrix"] #[inline(always)] - #[must_use] pub fn reg_clk_en(&mut self) -> REG_CLK_EN_W { REG_CLK_EN_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/core_0_dram0_pms_monitor_violate_intr_map.rs b/esp32s3/src/interrupt_core0/core_0_dram0_pms_monitor_violate_intr_map.rs index 5a2f36412f..003a584f5a 100644 --- a/esp32s3/src/interrupt_core0/core_0_dram0_pms_monitor_violate_intr_map.rs +++ b/esp32s3/src/interrupt_core0/core_0_dram0_pms_monitor_violate_intr_map.rs @@ -29,7 +29,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map core0_DRam0_pms_monitor_violatile interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn core_0_dram0_pms_monitor_violate_intr_map( &mut self, ) -> CORE_0_DRAM0_PMS_MONITOR_VIOLATE_INTR_MAP_W diff --git a/esp32s3/src/interrupt_core0/core_0_iram0_pms_monitor_violate_intr_map.rs b/esp32s3/src/interrupt_core0/core_0_iram0_pms_monitor_violate_intr_map.rs index 4476ae82de..78c10ec5ae 100644 --- a/esp32s3/src/interrupt_core0/core_0_iram0_pms_monitor_violate_intr_map.rs +++ b/esp32s3/src/interrupt_core0/core_0_iram0_pms_monitor_violate_intr_map.rs @@ -29,7 +29,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map core0_IRam0_pms_monitor_violatile interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn core_0_iram0_pms_monitor_violate_intr_map( &mut self, ) -> CORE_0_IRAM0_PMS_MONITOR_VIOLATE_INTR_MAP_W diff --git a/esp32s3/src/interrupt_core0/core_0_pif_pms_monitor_violate_intr_map.rs b/esp32s3/src/interrupt_core0/core_0_pif_pms_monitor_violate_intr_map.rs index fe3a679487..aa3dd744eb 100644 --- a/esp32s3/src/interrupt_core0/core_0_pif_pms_monitor_violate_intr_map.rs +++ b/esp32s3/src/interrupt_core0/core_0_pif_pms_monitor_violate_intr_map.rs @@ -29,7 +29,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map core0_PIF_pms_monitor_violatile interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_monitor_violate_intr_map( &mut self, ) -> CORE_0_PIF_PMS_MONITOR_VIOLATE_INTR_MAP_W diff --git a/esp32s3/src/interrupt_core0/core_0_pif_pms_monitor_violate_size_intr_map.rs b/esp32s3/src/interrupt_core0/core_0_pif_pms_monitor_violate_size_intr_map.rs index c8d10aa93a..ad8592dc6e 100644 --- a/esp32s3/src/interrupt_core0/core_0_pif_pms_monitor_violate_size_intr_map.rs +++ b/esp32s3/src/interrupt_core0/core_0_pif_pms_monitor_violate_size_intr_map.rs @@ -29,7 +29,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map core0_PIF_pms_monitor_violatile_size interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_monitor_violate_size_intr_map( &mut self, ) -> CORE_0_PIF_PMS_MONITOR_VIOLATE_SIZE_INTR_MAP_W< diff --git a/esp32s3/src/interrupt_core0/core_1_dram0_pms_monitor_violate_intr_map.rs b/esp32s3/src/interrupt_core0/core_1_dram0_pms_monitor_violate_intr_map.rs index abd2cebed3..fe7d3e3f55 100644 --- a/esp32s3/src/interrupt_core0/core_1_dram0_pms_monitor_violate_intr_map.rs +++ b/esp32s3/src/interrupt_core0/core_1_dram0_pms_monitor_violate_intr_map.rs @@ -29,7 +29,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map core1_DRam0_pms_monitor_violatile interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn core_1_dram0_pms_monitor_violate_intr_map( &mut self, ) -> CORE_1_DRAM0_PMS_MONITOR_VIOLATE_INTR_MAP_W diff --git a/esp32s3/src/interrupt_core0/core_1_iram0_pms_monitor_violate_intr_map.rs b/esp32s3/src/interrupt_core0/core_1_iram0_pms_monitor_violate_intr_map.rs index 79bdebcf22..5a810dbff0 100644 --- a/esp32s3/src/interrupt_core0/core_1_iram0_pms_monitor_violate_intr_map.rs +++ b/esp32s3/src/interrupt_core0/core_1_iram0_pms_monitor_violate_intr_map.rs @@ -29,7 +29,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map core1_IRam0_pms_monitor_violatile interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn core_1_iram0_pms_monitor_violate_intr_map( &mut self, ) -> CORE_1_IRAM0_PMS_MONITOR_VIOLATE_INTR_MAP_W diff --git a/esp32s3/src/interrupt_core0/core_1_pif_pms_monitor_violate_intr_map.rs b/esp32s3/src/interrupt_core0/core_1_pif_pms_monitor_violate_intr_map.rs index da876d8e57..0d15db6d67 100644 --- a/esp32s3/src/interrupt_core0/core_1_pif_pms_monitor_violate_intr_map.rs +++ b/esp32s3/src/interrupt_core0/core_1_pif_pms_monitor_violate_intr_map.rs @@ -29,7 +29,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map core1_PIF_pms_monitor_violatile interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_monitor_violate_intr_map( &mut self, ) -> CORE_1_PIF_PMS_MONITOR_VIOLATE_INTR_MAP_W diff --git a/esp32s3/src/interrupt_core0/core_1_pif_pms_monitor_violate_size_intr_map.rs b/esp32s3/src/interrupt_core0/core_1_pif_pms_monitor_violate_size_intr_map.rs index 09c6563acd..1931eeb325 100644 --- a/esp32s3/src/interrupt_core0/core_1_pif_pms_monitor_violate_size_intr_map.rs +++ b/esp32s3/src/interrupt_core0/core_1_pif_pms_monitor_violate_size_intr_map.rs @@ -29,7 +29,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map core1_PIF_pms_monitor_violatile_size interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_monitor_violate_size_intr_map( &mut self, ) -> CORE_1_PIF_PMS_MONITOR_VIOLATE_SIZE_INTR_MAP_W< diff --git a/esp32s3/src/interrupt_core0/cpu_intr_from_cpu_0_map.rs b/esp32s3/src/interrupt_core0/cpu_intr_from_cpu_0_map.rs index 10e0fdf307..e03c0665b8 100644 --- a/esp32s3/src/interrupt_core0/cpu_intr_from_cpu_0_map.rs +++ b/esp32s3/src/interrupt_core0/cpu_intr_from_cpu_0_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map cpu_intr_from_cpu_0 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_0_map( &mut self, ) -> CPU_INTR_FROM_CPU_0_MAP_W { diff --git a/esp32s3/src/interrupt_core0/cpu_intr_from_cpu_1_map.rs b/esp32s3/src/interrupt_core0/cpu_intr_from_cpu_1_map.rs index 082c6e902f..c6b818c02a 100644 --- a/esp32s3/src/interrupt_core0/cpu_intr_from_cpu_1_map.rs +++ b/esp32s3/src/interrupt_core0/cpu_intr_from_cpu_1_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map cpu_intr_from_cpu_1 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_1_map( &mut self, ) -> CPU_INTR_FROM_CPU_1_MAP_W { diff --git a/esp32s3/src/interrupt_core0/cpu_intr_from_cpu_2_map.rs b/esp32s3/src/interrupt_core0/cpu_intr_from_cpu_2_map.rs index d8bff27f7b..094b7c4873 100644 --- a/esp32s3/src/interrupt_core0/cpu_intr_from_cpu_2_map.rs +++ b/esp32s3/src/interrupt_core0/cpu_intr_from_cpu_2_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map cpu_intr_from_cpu_2 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_2_map( &mut self, ) -> CPU_INTR_FROM_CPU_2_MAP_W { diff --git a/esp32s3/src/interrupt_core0/cpu_intr_from_cpu_3_map.rs b/esp32s3/src/interrupt_core0/cpu_intr_from_cpu_3_map.rs index 430b731f6b..acfc2b7440 100644 --- a/esp32s3/src/interrupt_core0/cpu_intr_from_cpu_3_map.rs +++ b/esp32s3/src/interrupt_core0/cpu_intr_from_cpu_3_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map cpu_intr_from_cpu_3 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_3_map( &mut self, ) -> CPU_INTR_FROM_CPU_3_MAP_W { diff --git a/esp32s3/src/interrupt_core0/date.rs b/esp32s3/src/interrupt_core0/date.rs index f74f7f28fd..8e8133a1c2 100644 --- a/esp32s3/src/interrupt_core0/date.rs +++ b/esp32s3/src/interrupt_core0/date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - version register"] #[inline(always)] - #[must_use] pub fn interrupt_reg_date(&mut self) -> INTERRUPT_REG_DATE_W { INTERRUPT_REG_DATE_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/dcache_preload_int_map.rs b/esp32s3/src/interrupt_core0/dcache_preload_int_map.rs index cf78046195..df82086ef6 100644 --- a/esp32s3/src/interrupt_core0/dcache_preload_int_map.rs +++ b/esp32s3/src/interrupt_core0/dcache_preload_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map dcache_prelaod interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn dcache_preload_int_map( &mut self, ) -> DCACHE_PRELOAD_INT_MAP_W { diff --git a/esp32s3/src/interrupt_core0/dcache_sync_int_map.rs b/esp32s3/src/interrupt_core0/dcache_sync_int_map.rs index 5899f31542..5d79d38907 100644 --- a/esp32s3/src/interrupt_core0/dcache_sync_int_map.rs +++ b/esp32s3/src/interrupt_core0/dcache_sync_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map dcache_sync interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn dcache_sync_int_map(&mut self) -> DCACHE_SYNC_INT_MAP_W { DCACHE_SYNC_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/dma_apbperi_pms_monitor_violate_intr_map.rs b/esp32s3/src/interrupt_core0/dma_apbperi_pms_monitor_violate_intr_map.rs index 67f0081102..63ca6d7cf9 100644 --- a/esp32s3/src/interrupt_core0/dma_apbperi_pms_monitor_violate_intr_map.rs +++ b/esp32s3/src/interrupt_core0/dma_apbperi_pms_monitor_violate_intr_map.rs @@ -29,7 +29,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map dma_pms_monitor_violatile interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn dma_apbperi_pms_monitor_violate_intr_map( &mut self, ) -> DMA_APBPERI_PMS_MONITOR_VIOLATE_INTR_MAP_W diff --git a/esp32s3/src/interrupt_core0/dma_extmem_reject_int_map.rs b/esp32s3/src/interrupt_core0/dma_extmem_reject_int_map.rs index baf35678fa..646d40ab3f 100644 --- a/esp32s3/src/interrupt_core0/dma_extmem_reject_int_map.rs +++ b/esp32s3/src/interrupt_core0/dma_extmem_reject_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map dma_extmem_reject interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn dma_extmem_reject_int_map( &mut self, ) -> DMA_EXTMEM_REJECT_INT_MAP_W { diff --git a/esp32s3/src/interrupt_core0/dma_in_ch0_int_map.rs b/esp32s3/src/interrupt_core0/dma_in_ch0_int_map.rs index 8782c20c89..52f2da688d 100644 --- a/esp32s3/src/interrupt_core0/dma_in_ch0_int_map.rs +++ b/esp32s3/src/interrupt_core0/dma_in_ch0_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map dma_in_ch0 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn dma_in_ch0_int_map(&mut self) -> DMA_IN_CH0_INT_MAP_W { DMA_IN_CH0_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/dma_in_ch1_int_map.rs b/esp32s3/src/interrupt_core0/dma_in_ch1_int_map.rs index 232c62216d..985d041029 100644 --- a/esp32s3/src/interrupt_core0/dma_in_ch1_int_map.rs +++ b/esp32s3/src/interrupt_core0/dma_in_ch1_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map dma_in_ch1 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn dma_in_ch1_int_map(&mut self) -> DMA_IN_CH1_INT_MAP_W { DMA_IN_CH1_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/dma_in_ch2_int_map.rs b/esp32s3/src/interrupt_core0/dma_in_ch2_int_map.rs index 761e313f9a..84e783076a 100644 --- a/esp32s3/src/interrupt_core0/dma_in_ch2_int_map.rs +++ b/esp32s3/src/interrupt_core0/dma_in_ch2_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map dma_in_ch2 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn dma_in_ch2_int_map(&mut self) -> DMA_IN_CH2_INT_MAP_W { DMA_IN_CH2_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/dma_in_ch3_int_map.rs b/esp32s3/src/interrupt_core0/dma_in_ch3_int_map.rs index 08265f5d45..dfbf1aeac5 100644 --- a/esp32s3/src/interrupt_core0/dma_in_ch3_int_map.rs +++ b/esp32s3/src/interrupt_core0/dma_in_ch3_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map dma_in_ch3 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn dma_in_ch3_int_map(&mut self) -> DMA_IN_CH3_INT_MAP_W { DMA_IN_CH3_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/dma_in_ch4_int_map.rs b/esp32s3/src/interrupt_core0/dma_in_ch4_int_map.rs index 74f8198518..684bdd1a32 100644 --- a/esp32s3/src/interrupt_core0/dma_in_ch4_int_map.rs +++ b/esp32s3/src/interrupt_core0/dma_in_ch4_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map dma_in_ch4 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn dma_in_ch4_int_map(&mut self) -> DMA_IN_CH4_INT_MAP_W { DMA_IN_CH4_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/dma_out_ch0_int_map.rs b/esp32s3/src/interrupt_core0/dma_out_ch0_int_map.rs index 7b36f36d55..9ee01e51bd 100644 --- a/esp32s3/src/interrupt_core0/dma_out_ch0_int_map.rs +++ b/esp32s3/src/interrupt_core0/dma_out_ch0_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map dma_out_ch0 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn dma_out_ch0_int_map(&mut self) -> DMA_OUT_CH0_INT_MAP_W { DMA_OUT_CH0_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/dma_out_ch1_int_map.rs b/esp32s3/src/interrupt_core0/dma_out_ch1_int_map.rs index 12834727e7..87411b79b1 100644 --- a/esp32s3/src/interrupt_core0/dma_out_ch1_int_map.rs +++ b/esp32s3/src/interrupt_core0/dma_out_ch1_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map dma_out_ch1 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn dma_out_ch1_int_map(&mut self) -> DMA_OUT_CH1_INT_MAP_W { DMA_OUT_CH1_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/dma_out_ch2_int_map.rs b/esp32s3/src/interrupt_core0/dma_out_ch2_int_map.rs index 9b77cfd110..7a9b343944 100644 --- a/esp32s3/src/interrupt_core0/dma_out_ch2_int_map.rs +++ b/esp32s3/src/interrupt_core0/dma_out_ch2_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map dma_out_ch2 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn dma_out_ch2_int_map(&mut self) -> DMA_OUT_CH2_INT_MAP_W { DMA_OUT_CH2_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/dma_out_ch3_int_map.rs b/esp32s3/src/interrupt_core0/dma_out_ch3_int_map.rs index 597f5a32e2..23201ee4f0 100644 --- a/esp32s3/src/interrupt_core0/dma_out_ch3_int_map.rs +++ b/esp32s3/src/interrupt_core0/dma_out_ch3_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map dma_out_ch3 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn dma_out_ch3_int_map(&mut self) -> DMA_OUT_CH3_INT_MAP_W { DMA_OUT_CH3_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/dma_out_ch4_int_map.rs b/esp32s3/src/interrupt_core0/dma_out_ch4_int_map.rs index 742bab5135..2cd2daf301 100644 --- a/esp32s3/src/interrupt_core0/dma_out_ch4_int_map.rs +++ b/esp32s3/src/interrupt_core0/dma_out_ch4_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map dma_out_ch4 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn dma_out_ch4_int_map(&mut self) -> DMA_OUT_CH4_INT_MAP_W { DMA_OUT_CH4_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/efuse_int_map.rs b/esp32s3/src/interrupt_core0/efuse_int_map.rs index ad9cb018b7..e5debe119d 100644 --- a/esp32s3/src/interrupt_core0/efuse_int_map.rs +++ b/esp32s3/src/interrupt_core0/efuse_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map efuse interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn efuse_int_map(&mut self) -> EFUSE_INT_MAP_W { EFUSE_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/gpio_interrupt_app_map.rs b/esp32s3/src/interrupt_core0/gpio_interrupt_app_map.rs index 9570dbc819..efe4eb2dce 100644 --- a/esp32s3/src/interrupt_core0/gpio_interrupt_app_map.rs +++ b/esp32s3/src/interrupt_core0/gpio_interrupt_app_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map gpio_interrupt_app interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn gpio_interrupt_app_map( &mut self, ) -> GPIO_INTERRUPT_APP_MAP_W { diff --git a/esp32s3/src/interrupt_core0/gpio_interrupt_app_nmi_map.rs b/esp32s3/src/interrupt_core0/gpio_interrupt_app_nmi_map.rs index 3ab39b23dd..894b9834db 100644 --- a/esp32s3/src/interrupt_core0/gpio_interrupt_app_nmi_map.rs +++ b/esp32s3/src/interrupt_core0/gpio_interrupt_app_nmi_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map gpio_interrupt_app_nmi interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn gpio_interrupt_app_nmi_map( &mut self, ) -> GPIO_INTERRUPT_APP_NMI_MAP_W { diff --git a/esp32s3/src/interrupt_core0/gpio_interrupt_pro_map.rs b/esp32s3/src/interrupt_core0/gpio_interrupt_pro_map.rs index 1b543c7e5d..a0d1bf80ac 100644 --- a/esp32s3/src/interrupt_core0/gpio_interrupt_pro_map.rs +++ b/esp32s3/src/interrupt_core0/gpio_interrupt_pro_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map gpio_interrupt_pro interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn gpio_interrupt_pro_map( &mut self, ) -> GPIO_INTERRUPT_PRO_MAP_W { diff --git a/esp32s3/src/interrupt_core0/gpio_interrupt_pro_nmi_map.rs b/esp32s3/src/interrupt_core0/gpio_interrupt_pro_nmi_map.rs index adc7844782..3d22adf543 100644 --- a/esp32s3/src/interrupt_core0/gpio_interrupt_pro_nmi_map.rs +++ b/esp32s3/src/interrupt_core0/gpio_interrupt_pro_nmi_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map gpio_interrupt_pro_nmi interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn gpio_interrupt_pro_nmi_map( &mut self, ) -> GPIO_INTERRUPT_PRO_NMI_MAP_W { diff --git a/esp32s3/src/interrupt_core0/i2c_ext0_intr_map.rs b/esp32s3/src/interrupt_core0/i2c_ext0_intr_map.rs index b0becf30f4..76481b7b80 100644 --- a/esp32s3/src/interrupt_core0/i2c_ext0_intr_map.rs +++ b/esp32s3/src/interrupt_core0/i2c_ext0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map i2c_ext0 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn i2c_ext0_intr_map(&mut self) -> I2C_EXT0_INTR_MAP_W { I2C_EXT0_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/i2c_ext1_intr_map.rs b/esp32s3/src/interrupt_core0/i2c_ext1_intr_map.rs index a28cabdc33..537910a21a 100644 --- a/esp32s3/src/interrupt_core0/i2c_ext1_intr_map.rs +++ b/esp32s3/src/interrupt_core0/i2c_ext1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map i2c_ext1 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn i2c_ext1_intr_map(&mut self) -> I2C_EXT1_INTR_MAP_W { I2C_EXT1_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/i2c_mst_int_map.rs b/esp32s3/src/interrupt_core0/i2c_mst_int_map.rs index 416c7d0384..3d461879f4 100644 --- a/esp32s3/src/interrupt_core0/i2c_mst_int_map.rs +++ b/esp32s3/src/interrupt_core0/i2c_mst_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map i2c_mst interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn i2c_mst_int_map(&mut self) -> I2C_MST_INT_MAP_W { I2C_MST_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/i2s0_int_map.rs b/esp32s3/src/interrupt_core0/i2s0_int_map.rs index 281cbd8837..7d1800ea23 100644 --- a/esp32s3/src/interrupt_core0/i2s0_int_map.rs +++ b/esp32s3/src/interrupt_core0/i2s0_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map i2s0 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn i2s0_int_map(&mut self) -> I2S0_INT_MAP_W { I2S0_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/i2s1_int_map.rs b/esp32s3/src/interrupt_core0/i2s1_int_map.rs index 245611620b..d3967a497a 100644 --- a/esp32s3/src/interrupt_core0/i2s1_int_map.rs +++ b/esp32s3/src/interrupt_core0/i2s1_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map i2s1 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn i2s1_int_map(&mut self) -> I2S1_INT_MAP_W { I2S1_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/icache_preload_int_map.rs b/esp32s3/src/interrupt_core0/icache_preload_int_map.rs index a8a76702a0..039a283085 100644 --- a/esp32s3/src/interrupt_core0/icache_preload_int_map.rs +++ b/esp32s3/src/interrupt_core0/icache_preload_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map icache_preload interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn icache_preload_int_map( &mut self, ) -> ICACHE_PRELOAD_INT_MAP_W { diff --git a/esp32s3/src/interrupt_core0/icache_sync_int_map.rs b/esp32s3/src/interrupt_core0/icache_sync_int_map.rs index cb95f8f69c..d27f10d7ab 100644 --- a/esp32s3/src/interrupt_core0/icache_sync_int_map.rs +++ b/esp32s3/src/interrupt_core0/icache_sync_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map icache_sync interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn icache_sync_int_map(&mut self) -> ICACHE_SYNC_INT_MAP_W { ICACHE_SYNC_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/lcd_cam_int_map.rs b/esp32s3/src/interrupt_core0/lcd_cam_int_map.rs index 0a11252140..ecea8f0b8a 100644 --- a/esp32s3/src/interrupt_core0/lcd_cam_int_map.rs +++ b/esp32s3/src/interrupt_core0/lcd_cam_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map lcd_cam interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn lcd_cam_int_map(&mut self) -> LCD_CAM_INT_MAP_W { LCD_CAM_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/ledc_int_map.rs b/esp32s3/src/interrupt_core0/ledc_int_map.rs index 1347610e6c..443601b38e 100644 --- a/esp32s3/src/interrupt_core0/ledc_int_map.rs +++ b/esp32s3/src/interrupt_core0/ledc_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map ledc interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn ledc_int_map(&mut self) -> LEDC_INT_MAP_W { LEDC_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/mac_nmi_map.rs b/esp32s3/src/interrupt_core0/mac_nmi_map.rs index 6a75e9e92d..a78c0a2634 100644 --- a/esp32s3/src/interrupt_core0/mac_nmi_map.rs +++ b/esp32s3/src/interrupt_core0/mac_nmi_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map_nmi interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn mac_nmi_map(&mut self) -> MAC_NMI_MAP_W { MAC_NMI_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/pcnt_intr_map.rs b/esp32s3/src/interrupt_core0/pcnt_intr_map.rs index 0a434f0545..c65241d5db 100644 --- a/esp32s3/src/interrupt_core0/pcnt_intr_map.rs +++ b/esp32s3/src/interrupt_core0/pcnt_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map pcnt interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn pcnt_intr_map(&mut self) -> PCNT_INTR_MAP_W { PCNT_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/peri_backup_int_map.rs b/esp32s3/src/interrupt_core0/peri_backup_int_map.rs index 4721f1a35b..1e753f653a 100644 --- a/esp32s3/src/interrupt_core0/peri_backup_int_map.rs +++ b/esp32s3/src/interrupt_core0/peri_backup_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map peri_backup interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn peri_backup_int_map(&mut self) -> PERI_BACKUP_INT_MAP_W { PERI_BACKUP_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/pro_mac_intr_map.rs b/esp32s3/src/interrupt_core0/pro_mac_intr_map.rs index 0bc2531f00..6b5bfad42b 100644 --- a/esp32s3/src/interrupt_core0/pro_mac_intr_map.rs +++ b/esp32s3/src/interrupt_core0/pro_mac_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map mac interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn mac_intr_map(&mut self) -> MAC_INTR_MAP_W { MAC_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/pwm0_intr_map.rs b/esp32s3/src/interrupt_core0/pwm0_intr_map.rs index 98b4139112..aa0be2c307 100644 --- a/esp32s3/src/interrupt_core0/pwm0_intr_map.rs +++ b/esp32s3/src/interrupt_core0/pwm0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map pwm0 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn pwm0_intr_map(&mut self) -> PWM0_INTR_MAP_W { PWM0_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/pwm1_intr_map.rs b/esp32s3/src/interrupt_core0/pwm1_intr_map.rs index 19fa011b6b..9b0681d122 100644 --- a/esp32s3/src/interrupt_core0/pwm1_intr_map.rs +++ b/esp32s3/src/interrupt_core0/pwm1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map pwm1 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn pwm1_intr_map(&mut self) -> PWM1_INTR_MAP_W { PWM1_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/pwm2_intr_map.rs b/esp32s3/src/interrupt_core0/pwm2_intr_map.rs index 13514efe9f..cb698b3cd9 100644 --- a/esp32s3/src/interrupt_core0/pwm2_intr_map.rs +++ b/esp32s3/src/interrupt_core0/pwm2_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map pwm2 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn pwm2_intr_map(&mut self) -> PWM2_INTR_MAP_W { PWM2_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/pwm3_intr_map.rs b/esp32s3/src/interrupt_core0/pwm3_intr_map.rs index 8b8c4fa5ee..9275cf6c70 100644 --- a/esp32s3/src/interrupt_core0/pwm3_intr_map.rs +++ b/esp32s3/src/interrupt_core0/pwm3_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map pwm3 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn pwm3_intr_map(&mut self) -> PWM3_INTR_MAP_W { PWM3_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/pwr_intr_map.rs b/esp32s3/src/interrupt_core0/pwr_intr_map.rs index 319c922f03..913c60e54c 100644 --- a/esp32s3/src/interrupt_core0/pwr_intr_map.rs +++ b/esp32s3/src/interrupt_core0/pwr_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map pwr interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn pwr_intr_map(&mut self) -> PWR_INTR_MAP_W { PWR_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/rmt_intr_map.rs b/esp32s3/src/interrupt_core0/rmt_intr_map.rs index b4d90c4f3b..53f645a912 100644 --- a/esp32s3/src/interrupt_core0/rmt_intr_map.rs +++ b/esp32s3/src/interrupt_core0/rmt_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map rmt interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn rmt_intr_map(&mut self) -> RMT_INTR_MAP_W { RMT_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/rsa_int_map.rs b/esp32s3/src/interrupt_core0/rsa_int_map.rs index 949dfb8414..771194a00b 100644 --- a/esp32s3/src/interrupt_core0/rsa_int_map.rs +++ b/esp32s3/src/interrupt_core0/rsa_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map rsa interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn rsa_int_map(&mut self) -> RSA_INT_MAP_W { RSA_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/rtc_core_intr_map.rs b/esp32s3/src/interrupt_core0/rtc_core_intr_map.rs index 050cd51640..73f6e5b9d3 100644 --- a/esp32s3/src/interrupt_core0/rtc_core_intr_map.rs +++ b/esp32s3/src/interrupt_core0/rtc_core_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map rtc_core interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn rtc_core_intr_map(&mut self) -> RTC_CORE_INTR_MAP_W { RTC_CORE_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/rwble_irq_map.rs b/esp32s3/src/interrupt_core0/rwble_irq_map.rs index 048efd70d9..7163ba5536 100644 --- a/esp32s3/src/interrupt_core0/rwble_irq_map.rs +++ b/esp32s3/src/interrupt_core0/rwble_irq_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map rwble_irq interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn rwble_irq_map(&mut self) -> RWBLE_IRQ_MAP_W { RWBLE_IRQ_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/rwble_nmi_map.rs b/esp32s3/src/interrupt_core0/rwble_nmi_map.rs index 2185a56a5c..5350485322 100644 --- a/esp32s3/src/interrupt_core0/rwble_nmi_map.rs +++ b/esp32s3/src/interrupt_core0/rwble_nmi_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map rwble_nmi interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn rwble_nmi_map(&mut self) -> RWBLE_NMI_MAP_W { RWBLE_NMI_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/rwbt_irq_map.rs b/esp32s3/src/interrupt_core0/rwbt_irq_map.rs index 7db01c79f6..cab911b3ad 100644 --- a/esp32s3/src/interrupt_core0/rwbt_irq_map.rs +++ b/esp32s3/src/interrupt_core0/rwbt_irq_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map rwbt_irq interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn rwbt_irq_map(&mut self) -> RWBT_IRQ_MAP_W { RWBT_IRQ_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/rwbt_nmi_map.rs b/esp32s3/src/interrupt_core0/rwbt_nmi_map.rs index 7a30c09fe1..37908e03af 100644 --- a/esp32s3/src/interrupt_core0/rwbt_nmi_map.rs +++ b/esp32s3/src/interrupt_core0/rwbt_nmi_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map mac rwbt_nmi to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn rwbt_nmi_map(&mut self) -> RWBT_NMI_MAP_W { RWBT_NMI_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/sdio_host_interrupt_map.rs b/esp32s3/src/interrupt_core0/sdio_host_interrupt_map.rs index 6a1d914200..a41fabc035 100644 --- a/esp32s3/src/interrupt_core0/sdio_host_interrupt_map.rs +++ b/esp32s3/src/interrupt_core0/sdio_host_interrupt_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map sdio_host interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn sdio_host_interrupt_map( &mut self, ) -> SDIO_HOST_INTERRUPT_MAP_W { diff --git a/esp32s3/src/interrupt_core0/sha_int_map.rs b/esp32s3/src/interrupt_core0/sha_int_map.rs index 7edca6d1c3..58d76e5c8e 100644 --- a/esp32s3/src/interrupt_core0/sha_int_map.rs +++ b/esp32s3/src/interrupt_core0/sha_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map sha interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn sha_int_map(&mut self) -> SHA_INT_MAP_W { SHA_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/slc0_intr_map.rs b/esp32s3/src/interrupt_core0/slc0_intr_map.rs index cf9ee30f41..2092b67667 100644 --- a/esp32s3/src/interrupt_core0/slc0_intr_map.rs +++ b/esp32s3/src/interrupt_core0/slc0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map slc0 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn slc0_intr_map(&mut self) -> SLC0_INTR_MAP_W { SLC0_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/slc1_intr_map.rs b/esp32s3/src/interrupt_core0/slc1_intr_map.rs index 7e4d28571b..57f3febb07 100644 --- a/esp32s3/src/interrupt_core0/slc1_intr_map.rs +++ b/esp32s3/src/interrupt_core0/slc1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map slc1 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn slc1_intr_map(&mut self) -> SLC1_INTR_MAP_W { SLC1_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/spi2_dma_int_map.rs b/esp32s3/src/interrupt_core0/spi2_dma_int_map.rs index 3010e86e3b..0c172dec83 100644 --- a/esp32s3/src/interrupt_core0/spi2_dma_int_map.rs +++ b/esp32s3/src/interrupt_core0/spi2_dma_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map spi2_dma interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn spi2_dma_int_map(&mut self) -> SPI2_DMA_INT_MAP_W { SPI2_DMA_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/spi3_dma_int_map.rs b/esp32s3/src/interrupt_core0/spi3_dma_int_map.rs index f524539d4f..5dbbb85da5 100644 --- a/esp32s3/src/interrupt_core0/spi3_dma_int_map.rs +++ b/esp32s3/src/interrupt_core0/spi3_dma_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map spi3_dma interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn spi3_dma_int_map(&mut self) -> SPI3_DMA_INT_MAP_W { SPI3_DMA_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/spi4_dma_int_map.rs b/esp32s3/src/interrupt_core0/spi4_dma_int_map.rs index 3af08da8cd..456bed237c 100644 --- a/esp32s3/src/interrupt_core0/spi4_dma_int_map.rs +++ b/esp32s3/src/interrupt_core0/spi4_dma_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map spi4_dma interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn spi4_dma_int_map(&mut self) -> SPI4_DMA_INT_MAP_W { SPI4_DMA_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/spi_intr_1_map.rs b/esp32s3/src/interrupt_core0/spi_intr_1_map.rs index 3c29e86933..b2baf672df 100644 --- a/esp32s3/src/interrupt_core0/spi_intr_1_map.rs +++ b/esp32s3/src/interrupt_core0/spi_intr_1_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map spi_intr_1 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn spi_intr_1_map(&mut self) -> SPI_INTR_1_MAP_W { SPI_INTR_1_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/spi_intr_2_map.rs b/esp32s3/src/interrupt_core0/spi_intr_2_map.rs index 3d671d41b9..c9b98603bd 100644 --- a/esp32s3/src/interrupt_core0/spi_intr_2_map.rs +++ b/esp32s3/src/interrupt_core0/spi_intr_2_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map spi_intr_2 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn spi_intr_2_map(&mut self) -> SPI_INTR_2_MAP_W { SPI_INTR_2_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/spi_intr_3_map.rs b/esp32s3/src/interrupt_core0/spi_intr_3_map.rs index 2da2f81a72..e83b2bcbf7 100644 --- a/esp32s3/src/interrupt_core0/spi_intr_3_map.rs +++ b/esp32s3/src/interrupt_core0/spi_intr_3_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map spi_intr_3 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn spi_intr_3_map(&mut self) -> SPI_INTR_3_MAP_W { SPI_INTR_3_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/spi_intr_4_map.rs b/esp32s3/src/interrupt_core0/spi_intr_4_map.rs index 9add05d1db..f2154f3d55 100644 --- a/esp32s3/src/interrupt_core0/spi_intr_4_map.rs +++ b/esp32s3/src/interrupt_core0/spi_intr_4_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map spi_intr_4 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn spi_intr_4_map(&mut self) -> SPI_INTR_4_MAP_W { SPI_INTR_4_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/spi_mem_reject_intr_map.rs b/esp32s3/src/interrupt_core0/spi_mem_reject_intr_map.rs index 6d4f89fbca..284cdb2b6f 100644 --- a/esp32s3/src/interrupt_core0/spi_mem_reject_intr_map.rs +++ b/esp32s3/src/interrupt_core0/spi_mem_reject_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map spi_mem_reject interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn spi_mem_reject_intr_map( &mut self, ) -> SPI_MEM_REJECT_INTR_MAP_W { diff --git a/esp32s3/src/interrupt_core0/systimer_target0_int_map.rs b/esp32s3/src/interrupt_core0/systimer_target0_int_map.rs index 58a4b9e335..69c27a8cdf 100644 --- a/esp32s3/src/interrupt_core0/systimer_target0_int_map.rs +++ b/esp32s3/src/interrupt_core0/systimer_target0_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map systimer_target0 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn systimer_target0_int_map( &mut self, ) -> SYSTIMER_TARGET0_INT_MAP_W { diff --git a/esp32s3/src/interrupt_core0/systimer_target1_int_map.rs b/esp32s3/src/interrupt_core0/systimer_target1_int_map.rs index b992ce2bea..70b48c913e 100644 --- a/esp32s3/src/interrupt_core0/systimer_target1_int_map.rs +++ b/esp32s3/src/interrupt_core0/systimer_target1_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map systimer_target1 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn systimer_target1_int_map( &mut self, ) -> SYSTIMER_TARGET1_INT_MAP_W { diff --git a/esp32s3/src/interrupt_core0/systimer_target2_int_map.rs b/esp32s3/src/interrupt_core0/systimer_target2_int_map.rs index 8fcecd5797..37eaab6d20 100644 --- a/esp32s3/src/interrupt_core0/systimer_target2_int_map.rs +++ b/esp32s3/src/interrupt_core0/systimer_target2_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map systimer_target2 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn systimer_target2_int_map( &mut self, ) -> SYSTIMER_TARGET2_INT_MAP_W { diff --git a/esp32s3/src/interrupt_core0/tg1_t0_int_map.rs b/esp32s3/src/interrupt_core0/tg1_t0_int_map.rs index 968bf94d2d..e463f5fe54 100644 --- a/esp32s3/src/interrupt_core0/tg1_t0_int_map.rs +++ b/esp32s3/src/interrupt_core0/tg1_t0_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map tg1_t0 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn tg1_t0_int_map(&mut self) -> TG1_T0_INT_MAP_W { TG1_T0_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/tg1_t1_int_map.rs b/esp32s3/src/interrupt_core0/tg1_t1_int_map.rs index 3d877111fa..214bb56709 100644 --- a/esp32s3/src/interrupt_core0/tg1_t1_int_map.rs +++ b/esp32s3/src/interrupt_core0/tg1_t1_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map tg1_t1 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn tg1_t1_int_map(&mut self) -> TG1_T1_INT_MAP_W { TG1_T1_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/tg1_wdt_int_map.rs b/esp32s3/src/interrupt_core0/tg1_wdt_int_map.rs index 8c904d9c33..66ed59e198 100644 --- a/esp32s3/src/interrupt_core0/tg1_wdt_int_map.rs +++ b/esp32s3/src/interrupt_core0/tg1_wdt_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map tg1_wdt interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn tg1_wdt_int_map(&mut self) -> TG1_WDT_INT_MAP_W { TG1_WDT_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/tg_t0_int_map.rs b/esp32s3/src/interrupt_core0/tg_t0_int_map.rs index 6bceea37af..534d633089 100644 --- a/esp32s3/src/interrupt_core0/tg_t0_int_map.rs +++ b/esp32s3/src/interrupt_core0/tg_t0_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map tg_t0 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn tg_t0_int_map(&mut self) -> TG_T0_INT_MAP_W { TG_T0_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/tg_t1_int_map.rs b/esp32s3/src/interrupt_core0/tg_t1_int_map.rs index 5779245213..13b8d32443 100644 --- a/esp32s3/src/interrupt_core0/tg_t1_int_map.rs +++ b/esp32s3/src/interrupt_core0/tg_t1_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map tg_t1 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn tg_t1_int_map(&mut self) -> TG_T1_INT_MAP_W { TG_T1_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/tg_wdt_int_map.rs b/esp32s3/src/interrupt_core0/tg_wdt_int_map.rs index 6067f78171..fa306cd4bf 100644 --- a/esp32s3/src/interrupt_core0/tg_wdt_int_map.rs +++ b/esp32s3/src/interrupt_core0/tg_wdt_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map rg_wdt interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn tg_wdt_int_map(&mut self) -> TG_WDT_INT_MAP_W { TG_WDT_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/timer_int1_map.rs b/esp32s3/src/interrupt_core0/timer_int1_map.rs index fa19caffc3..8ab84c774c 100644 --- a/esp32s3/src/interrupt_core0/timer_int1_map.rs +++ b/esp32s3/src/interrupt_core0/timer_int1_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map timer_int1 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn timer_int1_map(&mut self) -> TIMER_INT1_MAP_W { TIMER_INT1_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/timer_int2_map.rs b/esp32s3/src/interrupt_core0/timer_int2_map.rs index 657300379c..ca951eb9cb 100644 --- a/esp32s3/src/interrupt_core0/timer_int2_map.rs +++ b/esp32s3/src/interrupt_core0/timer_int2_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map timer_int2 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn timer_int2_map(&mut self) -> TIMER_INT2_MAP_W { TIMER_INT2_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/uart1_intr_map.rs b/esp32s3/src/interrupt_core0/uart1_intr_map.rs index 4e90a6cb1e..c43abb8150 100644 --- a/esp32s3/src/interrupt_core0/uart1_intr_map.rs +++ b/esp32s3/src/interrupt_core0/uart1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map uart1 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn uart1_intr_map(&mut self) -> UART1_INTR_MAP_W { UART1_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/uart2_intr_map.rs b/esp32s3/src/interrupt_core0/uart2_intr_map.rs index ffecc62582..3c8b15a1be 100644 --- a/esp32s3/src/interrupt_core0/uart2_intr_map.rs +++ b/esp32s3/src/interrupt_core0/uart2_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map uart2 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn uart2_intr_map(&mut self) -> UART2_INTR_MAP_W { UART2_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/uart_intr_map.rs b/esp32s3/src/interrupt_core0/uart_intr_map.rs index 431b862c48..f1793b8a2b 100644 --- a/esp32s3/src/interrupt_core0/uart_intr_map.rs +++ b/esp32s3/src/interrupt_core0/uart_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map uart interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn uart_intr_map(&mut self) -> UART_INTR_MAP_W { UART_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/uhci0_intr_map.rs b/esp32s3/src/interrupt_core0/uhci0_intr_map.rs index 24127435c1..96362abb3b 100644 --- a/esp32s3/src/interrupt_core0/uhci0_intr_map.rs +++ b/esp32s3/src/interrupt_core0/uhci0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map uhci0 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn uhci0_intr_map(&mut self) -> UHCI0_INTR_MAP_W { UHCI0_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/uhci1_intr_map.rs b/esp32s3/src/interrupt_core0/uhci1_intr_map.rs index 5ca1dc8243..c2936038d8 100644 --- a/esp32s3/src/interrupt_core0/uhci1_intr_map.rs +++ b/esp32s3/src/interrupt_core0/uhci1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map uhci1 interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn uhci1_intr_map(&mut self) -> UHCI1_INTR_MAP_W { UHCI1_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/usb_device_int_map.rs b/esp32s3/src/interrupt_core0/usb_device_int_map.rs index 43cd0aff6f..d6367b2680 100644 --- a/esp32s3/src/interrupt_core0/usb_device_int_map.rs +++ b/esp32s3/src/interrupt_core0/usb_device_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map usb_device interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn usb_device_int_map(&mut self) -> USB_DEVICE_INT_MAP_W { USB_DEVICE_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/usb_intr_map.rs b/esp32s3/src/interrupt_core0/usb_intr_map.rs index 5dc113a06d..50fffd8763 100644 --- a/esp32s3/src/interrupt_core0/usb_intr_map.rs +++ b/esp32s3/src/interrupt_core0/usb_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map usb interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn usb_intr_map(&mut self) -> USB_INTR_MAP_W { USB_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core0/wdg_int_map.rs b/esp32s3/src/interrupt_core0/wdg_int_map.rs index 26bbed5d70..80f41b91de 100644 --- a/esp32s3/src/interrupt_core0/wdg_int_map.rs +++ b/esp32s3/src/interrupt_core0/wdg_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map wdg interrupt to one of core0's external interrupt"] #[inline(always)] - #[must_use] pub fn wdg_int_map(&mut self) -> WDG_INT_MAP_W { WDG_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/aes_int_map.rs b/esp32s3/src/interrupt_core1/aes_int_map.rs index 734c93d7d1..94cd7def6e 100644 --- a/esp32s3/src/interrupt_core1/aes_int_map.rs +++ b/esp32s3/src/interrupt_core1/aes_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map aes interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn aes_int_map(&mut self) -> AES_INT_MAP_W { AES_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/apb_adc_int_map.rs b/esp32s3/src/interrupt_core1/apb_adc_int_map.rs index c97c6c9c03..757e5bd722 100644 --- a/esp32s3/src/interrupt_core1/apb_adc_int_map.rs +++ b/esp32s3/src/interrupt_core1/apb_adc_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map apb_adc interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn apb_adc_int_map(&mut self) -> APB_ADC_INT_MAP_W { APB_ADC_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/app_mac_intr_map.rs b/esp32s3/src/interrupt_core1/app_mac_intr_map.rs index 44f0d66518..05f26df1fb 100644 --- a/esp32s3/src/interrupt_core1/app_mac_intr_map.rs +++ b/esp32s3/src/interrupt_core1/app_mac_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map mac interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn mac_intr_map(&mut self) -> MAC_INTR_MAP_W { MAC_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/assist_debug_intr_map.rs b/esp32s3/src/interrupt_core1/assist_debug_intr_map.rs index f0b07360ab..5d75b29d7d 100644 --- a/esp32s3/src/interrupt_core1/assist_debug_intr_map.rs +++ b/esp32s3/src/interrupt_core1/assist_debug_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map assist_debug interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn assist_debug_intr_map(&mut self) -> ASSIST_DEBUG_INTR_MAP_W { ASSIST_DEBUG_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/backup_pms_violate_intr_map.rs b/esp32s3/src/interrupt_core1/backup_pms_violate_intr_map.rs index ea805d447e..7129165dbb 100644 --- a/esp32s3/src/interrupt_core1/backup_pms_violate_intr_map.rs +++ b/esp32s3/src/interrupt_core1/backup_pms_violate_intr_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map backup_pms_monitor_violatile interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn backup_pms_violate_intr_map( &mut self, ) -> BACKUP_PMS_VIOLATE_INTR_MAP_W { diff --git a/esp32s3/src/interrupt_core1/bb_int_map.rs b/esp32s3/src/interrupt_core1/bb_int_map.rs index a7a1a53e8e..964744c9bf 100644 --- a/esp32s3/src/interrupt_core1/bb_int_map.rs +++ b/esp32s3/src/interrupt_core1/bb_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map bb interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn bb_int_map(&mut self) -> BB_INT_MAP_W { BB_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/bt_bb_int_map.rs b/esp32s3/src/interrupt_core1/bt_bb_int_map.rs index 765fa53343..2b95c8c2d2 100644 --- a/esp32s3/src/interrupt_core1/bt_bb_int_map.rs +++ b/esp32s3/src/interrupt_core1/bt_bb_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map bt_bb interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn bt_bb_int_map(&mut self) -> BT_BB_INT_MAP_W { BT_BB_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/bt_bb_nmi_map.rs b/esp32s3/src/interrupt_core1/bt_bb_nmi_map.rs index f9e24b3cec..c7e336b4f6 100644 --- a/esp32s3/src/interrupt_core1/bt_bb_nmi_map.rs +++ b/esp32s3/src/interrupt_core1/bt_bb_nmi_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map bb_bt_nmi interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn bt_bb_nmi_map(&mut self) -> BT_BB_NMI_MAP_W { BT_BB_NMI_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/bt_mac_int_map.rs b/esp32s3/src/interrupt_core1/bt_mac_int_map.rs index 4b3b718b4f..767a60bb28 100644 --- a/esp32s3/src/interrupt_core1/bt_mac_int_map.rs +++ b/esp32s3/src/interrupt_core1/bt_mac_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map bb_mac interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn bt_mac_int_map(&mut self) -> BT_MAC_INT_MAP_W { BT_MAC_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/cache_core0_acs_int_map.rs b/esp32s3/src/interrupt_core1/cache_core0_acs_int_map.rs index 428288a1a3..d12fb1d06b 100644 --- a/esp32s3/src/interrupt_core1/cache_core0_acs_int_map.rs +++ b/esp32s3/src/interrupt_core1/cache_core0_acs_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map cache_core0_acs interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn cache_core0_acs_int_map( &mut self, ) -> CACHE_CORE0_ACS_INT_MAP_W { diff --git a/esp32s3/src/interrupt_core1/cache_core1_acs_int_map.rs b/esp32s3/src/interrupt_core1/cache_core1_acs_int_map.rs index f466dabf02..dfb9baec40 100644 --- a/esp32s3/src/interrupt_core1/cache_core1_acs_int_map.rs +++ b/esp32s3/src/interrupt_core1/cache_core1_acs_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map cache_core1_acs interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn cache_core1_acs_int_map( &mut self, ) -> CACHE_CORE1_ACS_INT_MAP_W { diff --git a/esp32s3/src/interrupt_core1/cache_ia_int_map.rs b/esp32s3/src/interrupt_core1/cache_ia_int_map.rs index 2ea21ecddf..677eee7641 100644 --- a/esp32s3/src/interrupt_core1/cache_ia_int_map.rs +++ b/esp32s3/src/interrupt_core1/cache_ia_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map cache_ia interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn cache_ia_int_map(&mut self) -> CACHE_IA_INT_MAP_W { CACHE_IA_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/can_int_map.rs b/esp32s3/src/interrupt_core1/can_int_map.rs index f3f7d113ff..c19db9e728 100644 --- a/esp32s3/src/interrupt_core1/can_int_map.rs +++ b/esp32s3/src/interrupt_core1/can_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map can interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn can_int_map(&mut self) -> CAN_INT_MAP_W { CAN_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/clock_gate.rs b/esp32s3/src/interrupt_core1/clock_gate.rs index 4a690814e9..25eff3a07d 100644 --- a/esp32s3/src/interrupt_core1/clock_gate.rs +++ b/esp32s3/src/interrupt_core1/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - this register uesd to control clock-gating interupt martrix"] #[inline(always)] - #[must_use] pub fn reg_clk_en(&mut self) -> REG_CLK_EN_W { REG_CLK_EN_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/core_0_dram0_pms_monitor_violate_intr_map.rs b/esp32s3/src/interrupt_core1/core_0_dram0_pms_monitor_violate_intr_map.rs index 302f665942..0fc21636e4 100644 --- a/esp32s3/src/interrupt_core1/core_0_dram0_pms_monitor_violate_intr_map.rs +++ b/esp32s3/src/interrupt_core1/core_0_dram0_pms_monitor_violate_intr_map.rs @@ -29,7 +29,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map core0_DRam0_pms_monitor_violatile interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn core_0_dram0_pms_monitor_violate_intr_map( &mut self, ) -> CORE_0_DRAM0_PMS_MONITOR_VIOLATE_INTR_MAP_W diff --git a/esp32s3/src/interrupt_core1/core_0_iram0_pms_monitor_violate_intr_map.rs b/esp32s3/src/interrupt_core1/core_0_iram0_pms_monitor_violate_intr_map.rs index f4f9271b51..4b3dae6349 100644 --- a/esp32s3/src/interrupt_core1/core_0_iram0_pms_monitor_violate_intr_map.rs +++ b/esp32s3/src/interrupt_core1/core_0_iram0_pms_monitor_violate_intr_map.rs @@ -29,7 +29,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map core0_IRam0_pms_monitor_violatile interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn core_0_iram0_pms_monitor_violate_intr_map( &mut self, ) -> CORE_0_IRAM0_PMS_MONITOR_VIOLATE_INTR_MAP_W diff --git a/esp32s3/src/interrupt_core1/core_0_pif_pms_monitor_violate_intr_map.rs b/esp32s3/src/interrupt_core1/core_0_pif_pms_monitor_violate_intr_map.rs index f061d5ab8a..11104f31da 100644 --- a/esp32s3/src/interrupt_core1/core_0_pif_pms_monitor_violate_intr_map.rs +++ b/esp32s3/src/interrupt_core1/core_0_pif_pms_monitor_violate_intr_map.rs @@ -29,7 +29,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map core0_PIF_pms_monitor_violatile interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_monitor_violate_intr_map( &mut self, ) -> CORE_0_PIF_PMS_MONITOR_VIOLATE_INTR_MAP_W diff --git a/esp32s3/src/interrupt_core1/core_0_pif_pms_monitor_violate_size_intr_map.rs b/esp32s3/src/interrupt_core1/core_0_pif_pms_monitor_violate_size_intr_map.rs index e401a3c240..718b26712a 100644 --- a/esp32s3/src/interrupt_core1/core_0_pif_pms_monitor_violate_size_intr_map.rs +++ b/esp32s3/src/interrupt_core1/core_0_pif_pms_monitor_violate_size_intr_map.rs @@ -29,7 +29,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map core0_PIF_pms_monitor_violatile_size interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_monitor_violate_size_intr_map( &mut self, ) -> CORE_0_PIF_PMS_MONITOR_VIOLATE_SIZE_INTR_MAP_W< diff --git a/esp32s3/src/interrupt_core1/core_1_dram0_pms_monitor_violate_intr_map.rs b/esp32s3/src/interrupt_core1/core_1_dram0_pms_monitor_violate_intr_map.rs index cf0706d06a..df7cc4b222 100644 --- a/esp32s3/src/interrupt_core1/core_1_dram0_pms_monitor_violate_intr_map.rs +++ b/esp32s3/src/interrupt_core1/core_1_dram0_pms_monitor_violate_intr_map.rs @@ -29,7 +29,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map core1_DRam0_pms_monitor_violatile interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn core_1_dram0_pms_monitor_violate_intr_map( &mut self, ) -> CORE_1_DRAM0_PMS_MONITOR_VIOLATE_INTR_MAP_W diff --git a/esp32s3/src/interrupt_core1/core_1_iram0_pms_monitor_violate_intr_map.rs b/esp32s3/src/interrupt_core1/core_1_iram0_pms_monitor_violate_intr_map.rs index aae10abd9a..9df2bcc366 100644 --- a/esp32s3/src/interrupt_core1/core_1_iram0_pms_monitor_violate_intr_map.rs +++ b/esp32s3/src/interrupt_core1/core_1_iram0_pms_monitor_violate_intr_map.rs @@ -29,7 +29,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map core1_IRam0_pms_monitor_violatile interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn core_1_iram0_pms_monitor_violate_intr_map( &mut self, ) -> CORE_1_IRAM0_PMS_MONITOR_VIOLATE_INTR_MAP_W diff --git a/esp32s3/src/interrupt_core1/core_1_pif_pms_monitor_violate_intr_map.rs b/esp32s3/src/interrupt_core1/core_1_pif_pms_monitor_violate_intr_map.rs index 037e3d6341..39fbd93e37 100644 --- a/esp32s3/src/interrupt_core1/core_1_pif_pms_monitor_violate_intr_map.rs +++ b/esp32s3/src/interrupt_core1/core_1_pif_pms_monitor_violate_intr_map.rs @@ -29,7 +29,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map core1_PIF_pms_monitor_violatile interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_monitor_violate_intr_map( &mut self, ) -> CORE_1_PIF_PMS_MONITOR_VIOLATE_INTR_MAP_W diff --git a/esp32s3/src/interrupt_core1/core_1_pif_pms_monitor_violate_size_intr_map.rs b/esp32s3/src/interrupt_core1/core_1_pif_pms_monitor_violate_size_intr_map.rs index 883fb4f92b..1a31501312 100644 --- a/esp32s3/src/interrupt_core1/core_1_pif_pms_monitor_violate_size_intr_map.rs +++ b/esp32s3/src/interrupt_core1/core_1_pif_pms_monitor_violate_size_intr_map.rs @@ -29,7 +29,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map core1_PIF_pms_monitor_violatile_size interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_monitor_violate_size_intr_map( &mut self, ) -> CORE_1_PIF_PMS_MONITOR_VIOLATE_SIZE_INTR_MAP_W< diff --git a/esp32s3/src/interrupt_core1/cpu_intr_from_cpu_0_map.rs b/esp32s3/src/interrupt_core1/cpu_intr_from_cpu_0_map.rs index da42adcea5..e8fe2ee3d7 100644 --- a/esp32s3/src/interrupt_core1/cpu_intr_from_cpu_0_map.rs +++ b/esp32s3/src/interrupt_core1/cpu_intr_from_cpu_0_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map cpu_intr_from_cpu_0 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_0_map( &mut self, ) -> CPU_INTR_FROM_CPU_0_MAP_W { diff --git a/esp32s3/src/interrupt_core1/cpu_intr_from_cpu_1_map.rs b/esp32s3/src/interrupt_core1/cpu_intr_from_cpu_1_map.rs index 6c3f0c5886..a947705ca6 100644 --- a/esp32s3/src/interrupt_core1/cpu_intr_from_cpu_1_map.rs +++ b/esp32s3/src/interrupt_core1/cpu_intr_from_cpu_1_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map cpu_intr_from_cpu_1 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_1_map( &mut self, ) -> CPU_INTR_FROM_CPU_1_MAP_W { diff --git a/esp32s3/src/interrupt_core1/cpu_intr_from_cpu_2_map.rs b/esp32s3/src/interrupt_core1/cpu_intr_from_cpu_2_map.rs index 16cac30f3a..76259d5918 100644 --- a/esp32s3/src/interrupt_core1/cpu_intr_from_cpu_2_map.rs +++ b/esp32s3/src/interrupt_core1/cpu_intr_from_cpu_2_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map cpu_intr_from_cpu_2 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_2_map( &mut self, ) -> CPU_INTR_FROM_CPU_2_MAP_W { diff --git a/esp32s3/src/interrupt_core1/cpu_intr_from_cpu_3_map.rs b/esp32s3/src/interrupt_core1/cpu_intr_from_cpu_3_map.rs index d026b8e3c8..c4ff70dd6b 100644 --- a/esp32s3/src/interrupt_core1/cpu_intr_from_cpu_3_map.rs +++ b/esp32s3/src/interrupt_core1/cpu_intr_from_cpu_3_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map cpu_intr_from_cpu_3 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_3_map( &mut self, ) -> CPU_INTR_FROM_CPU_3_MAP_W { diff --git a/esp32s3/src/interrupt_core1/date.rs b/esp32s3/src/interrupt_core1/date.rs index cbf91ad085..97e1364031 100644 --- a/esp32s3/src/interrupt_core1/date.rs +++ b/esp32s3/src/interrupt_core1/date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - version register"] #[inline(always)] - #[must_use] pub fn interrupt_date(&mut self) -> INTERRUPT_DATE_W { INTERRUPT_DATE_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/dcache_preload_int_map.rs b/esp32s3/src/interrupt_core1/dcache_preload_int_map.rs index d5f52469c9..2a353eb65d 100644 --- a/esp32s3/src/interrupt_core1/dcache_preload_int_map.rs +++ b/esp32s3/src/interrupt_core1/dcache_preload_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map dcache_prelaod interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn dcache_preload_int_map( &mut self, ) -> DCACHE_PRELOAD_INT_MAP_W { diff --git a/esp32s3/src/interrupt_core1/dcache_sync_int_map.rs b/esp32s3/src/interrupt_core1/dcache_sync_int_map.rs index 233fb1c0b7..797fcdd5e2 100644 --- a/esp32s3/src/interrupt_core1/dcache_sync_int_map.rs +++ b/esp32s3/src/interrupt_core1/dcache_sync_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map dcache_sync interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn dcache_sync_int_map(&mut self) -> DCACHE_SYNC_INT_MAP_W { DCACHE_SYNC_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/dma_apbperi_pms_monitor_violate_intr_map.rs b/esp32s3/src/interrupt_core1/dma_apbperi_pms_monitor_violate_intr_map.rs index 732a19b5e2..ffd444495f 100644 --- a/esp32s3/src/interrupt_core1/dma_apbperi_pms_monitor_violate_intr_map.rs +++ b/esp32s3/src/interrupt_core1/dma_apbperi_pms_monitor_violate_intr_map.rs @@ -29,7 +29,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map dma_pms_monitor_violatile interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn dma_apbperi_pms_monitor_violate_intr_map( &mut self, ) -> DMA_APBPERI_PMS_MONITOR_VIOLATE_INTR_MAP_W diff --git a/esp32s3/src/interrupt_core1/dma_extmem_reject_int_map.rs b/esp32s3/src/interrupt_core1/dma_extmem_reject_int_map.rs index b868201b1b..ff53070bfe 100644 --- a/esp32s3/src/interrupt_core1/dma_extmem_reject_int_map.rs +++ b/esp32s3/src/interrupt_core1/dma_extmem_reject_int_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map dma_extmem_reject interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn dma_extmem_reject_int_map( &mut self, ) -> DMA_EXTMEM_REJECT_INT_MAP_W { diff --git a/esp32s3/src/interrupt_core1/dma_in_ch0_int_map.rs b/esp32s3/src/interrupt_core1/dma_in_ch0_int_map.rs index 47beabb89a..65ce666997 100644 --- a/esp32s3/src/interrupt_core1/dma_in_ch0_int_map.rs +++ b/esp32s3/src/interrupt_core1/dma_in_ch0_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map dma_in_ch0 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn dma_in_ch0_int_map(&mut self) -> DMA_IN_CH0_INT_MAP_W { DMA_IN_CH0_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/dma_in_ch1_int_map.rs b/esp32s3/src/interrupt_core1/dma_in_ch1_int_map.rs index ffa7b70e71..b16f662e16 100644 --- a/esp32s3/src/interrupt_core1/dma_in_ch1_int_map.rs +++ b/esp32s3/src/interrupt_core1/dma_in_ch1_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map dma_in_ch1 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn dma_in_ch1_int_map(&mut self) -> DMA_IN_CH1_INT_MAP_W { DMA_IN_CH1_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/dma_in_ch2_int_map.rs b/esp32s3/src/interrupt_core1/dma_in_ch2_int_map.rs index d73b5edb9a..1c707d45c0 100644 --- a/esp32s3/src/interrupt_core1/dma_in_ch2_int_map.rs +++ b/esp32s3/src/interrupt_core1/dma_in_ch2_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map dma_in_ch2 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn dma_in_ch2_int_map(&mut self) -> DMA_IN_CH2_INT_MAP_W { DMA_IN_CH2_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/dma_in_ch3_int_map.rs b/esp32s3/src/interrupt_core1/dma_in_ch3_int_map.rs index ede4239de9..ced13df8ea 100644 --- a/esp32s3/src/interrupt_core1/dma_in_ch3_int_map.rs +++ b/esp32s3/src/interrupt_core1/dma_in_ch3_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map dma_in_ch3 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn dma_in_ch3_int_map(&mut self) -> DMA_IN_CH3_INT_MAP_W { DMA_IN_CH3_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/dma_in_ch4_int_map.rs b/esp32s3/src/interrupt_core1/dma_in_ch4_int_map.rs index 409c7fe4fa..8401d796b4 100644 --- a/esp32s3/src/interrupt_core1/dma_in_ch4_int_map.rs +++ b/esp32s3/src/interrupt_core1/dma_in_ch4_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map dma_in_ch4 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn dma_in_ch4_int_map(&mut self) -> DMA_IN_CH4_INT_MAP_W { DMA_IN_CH4_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/dma_out_ch0_int_map.rs b/esp32s3/src/interrupt_core1/dma_out_ch0_int_map.rs index 43aa8a91fc..375f2e1a9a 100644 --- a/esp32s3/src/interrupt_core1/dma_out_ch0_int_map.rs +++ b/esp32s3/src/interrupt_core1/dma_out_ch0_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map dma_out_ch0 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn dma_out_ch0_int_map(&mut self) -> DMA_OUT_CH0_INT_MAP_W { DMA_OUT_CH0_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/dma_out_ch1_int_map.rs b/esp32s3/src/interrupt_core1/dma_out_ch1_int_map.rs index 85dbf089c5..89e2e85188 100644 --- a/esp32s3/src/interrupt_core1/dma_out_ch1_int_map.rs +++ b/esp32s3/src/interrupt_core1/dma_out_ch1_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map dma_out_ch1 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn dma_out_ch1_int_map(&mut self) -> DMA_OUT_CH1_INT_MAP_W { DMA_OUT_CH1_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/dma_out_ch2_int_map.rs b/esp32s3/src/interrupt_core1/dma_out_ch2_int_map.rs index 6d56d21068..b32a532919 100644 --- a/esp32s3/src/interrupt_core1/dma_out_ch2_int_map.rs +++ b/esp32s3/src/interrupt_core1/dma_out_ch2_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map dma_out_ch2 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn dma_out_ch2_int_map(&mut self) -> DMA_OUT_CH2_INT_MAP_W { DMA_OUT_CH2_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/dma_out_ch3_int_map.rs b/esp32s3/src/interrupt_core1/dma_out_ch3_int_map.rs index 93499d5fdc..7d74b7d6a0 100644 --- a/esp32s3/src/interrupt_core1/dma_out_ch3_int_map.rs +++ b/esp32s3/src/interrupt_core1/dma_out_ch3_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map dma_out_ch3 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn dma_out_ch3_int_map(&mut self) -> DMA_OUT_CH3_INT_MAP_W { DMA_OUT_CH3_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/dma_out_ch4_int_map.rs b/esp32s3/src/interrupt_core1/dma_out_ch4_int_map.rs index 251dda9005..08061f88c1 100644 --- a/esp32s3/src/interrupt_core1/dma_out_ch4_int_map.rs +++ b/esp32s3/src/interrupt_core1/dma_out_ch4_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map dma_out_ch4 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn dma_out_ch4_int_map(&mut self) -> DMA_OUT_CH4_INT_MAP_W { DMA_OUT_CH4_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/efuse_int_map.rs b/esp32s3/src/interrupt_core1/efuse_int_map.rs index 95c263a60a..dfad5a89e2 100644 --- a/esp32s3/src/interrupt_core1/efuse_int_map.rs +++ b/esp32s3/src/interrupt_core1/efuse_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map efuse interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn efuse_int_map(&mut self) -> EFUSE_INT_MAP_W { EFUSE_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/gpio_interrupt_app_map.rs b/esp32s3/src/interrupt_core1/gpio_interrupt_app_map.rs index 916bc0a584..5c89c5cbfc 100644 --- a/esp32s3/src/interrupt_core1/gpio_interrupt_app_map.rs +++ b/esp32s3/src/interrupt_core1/gpio_interrupt_app_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map gpio_interrupt_app interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn gpio_interrupt_app_map( &mut self, ) -> GPIO_INTERRUPT_APP_MAP_W { diff --git a/esp32s3/src/interrupt_core1/gpio_interrupt_app_nmi_map.rs b/esp32s3/src/interrupt_core1/gpio_interrupt_app_nmi_map.rs index e9e34a8165..9073514d68 100644 --- a/esp32s3/src/interrupt_core1/gpio_interrupt_app_nmi_map.rs +++ b/esp32s3/src/interrupt_core1/gpio_interrupt_app_nmi_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map gpio_interrupt_app_nmi interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn gpio_interrupt_app_nmi_map( &mut self, ) -> GPIO_INTERRUPT_APP_NMI_MAP_W { diff --git a/esp32s3/src/interrupt_core1/gpio_interrupt_pro_map.rs b/esp32s3/src/interrupt_core1/gpio_interrupt_pro_map.rs index cf4420766d..92b2528138 100644 --- a/esp32s3/src/interrupt_core1/gpio_interrupt_pro_map.rs +++ b/esp32s3/src/interrupt_core1/gpio_interrupt_pro_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map gpio_interrupt_pro interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn gpio_interrupt_pro_map( &mut self, ) -> GPIO_INTERRUPT_PRO_MAP_W { diff --git a/esp32s3/src/interrupt_core1/gpio_interrupt_pro_nmi_map.rs b/esp32s3/src/interrupt_core1/gpio_interrupt_pro_nmi_map.rs index 8d8f50bff5..740a7d4031 100644 --- a/esp32s3/src/interrupt_core1/gpio_interrupt_pro_nmi_map.rs +++ b/esp32s3/src/interrupt_core1/gpio_interrupt_pro_nmi_map.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map gpio_interrupt_pro_nmi interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn gpio_interrupt_pro_nmi_map( &mut self, ) -> GPIO_INTERRUPT_PRO_NMI_MAP_W { diff --git a/esp32s3/src/interrupt_core1/i2c_ext0_intr_map.rs b/esp32s3/src/interrupt_core1/i2c_ext0_intr_map.rs index bf30731a9e..ee3bdabc2b 100644 --- a/esp32s3/src/interrupt_core1/i2c_ext0_intr_map.rs +++ b/esp32s3/src/interrupt_core1/i2c_ext0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map i2c_ext0 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn i2c_ext0_intr_map(&mut self) -> I2C_EXT0_INTR_MAP_W { I2C_EXT0_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/i2c_ext1_intr_map.rs b/esp32s3/src/interrupt_core1/i2c_ext1_intr_map.rs index f4e5ce06b4..b74ca19922 100644 --- a/esp32s3/src/interrupt_core1/i2c_ext1_intr_map.rs +++ b/esp32s3/src/interrupt_core1/i2c_ext1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map i2c_ext1 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn i2c_ext1_intr_map(&mut self) -> I2C_EXT1_INTR_MAP_W { I2C_EXT1_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/i2c_mst_int_map.rs b/esp32s3/src/interrupt_core1/i2c_mst_int_map.rs index eb3c816058..6c4ea04e3c 100644 --- a/esp32s3/src/interrupt_core1/i2c_mst_int_map.rs +++ b/esp32s3/src/interrupt_core1/i2c_mst_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map i2c_mst interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn i2c_mst_int_map(&mut self) -> I2C_MST_INT_MAP_W { I2C_MST_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/i2s0_int_map.rs b/esp32s3/src/interrupt_core1/i2s0_int_map.rs index 0527a67eac..67ff89bf22 100644 --- a/esp32s3/src/interrupt_core1/i2s0_int_map.rs +++ b/esp32s3/src/interrupt_core1/i2s0_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map i2s0 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn i2s0_int_map(&mut self) -> I2S0_INT_MAP_W { I2S0_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/i2s1_int_map.rs b/esp32s3/src/interrupt_core1/i2s1_int_map.rs index 855946f17e..6669e65a26 100644 --- a/esp32s3/src/interrupt_core1/i2s1_int_map.rs +++ b/esp32s3/src/interrupt_core1/i2s1_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map i2s1 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn i2s1_int_map(&mut self) -> I2S1_INT_MAP_W { I2S1_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/icache_preload_int_map.rs b/esp32s3/src/interrupt_core1/icache_preload_int_map.rs index 9aeed942ec..e6d5fdb80c 100644 --- a/esp32s3/src/interrupt_core1/icache_preload_int_map.rs +++ b/esp32s3/src/interrupt_core1/icache_preload_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map icache_preload interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn icache_preload_int_map( &mut self, ) -> ICACHE_PRELOAD_INT_MAP_W { diff --git a/esp32s3/src/interrupt_core1/icache_sync_int_map.rs b/esp32s3/src/interrupt_core1/icache_sync_int_map.rs index de4ae17948..7f69a8de56 100644 --- a/esp32s3/src/interrupt_core1/icache_sync_int_map.rs +++ b/esp32s3/src/interrupt_core1/icache_sync_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map icache_sync interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn icache_sync_int_map(&mut self) -> ICACHE_SYNC_INT_MAP_W { ICACHE_SYNC_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/lcd_cam_int_map.rs b/esp32s3/src/interrupt_core1/lcd_cam_int_map.rs index 8724724f32..fa9719aaf4 100644 --- a/esp32s3/src/interrupt_core1/lcd_cam_int_map.rs +++ b/esp32s3/src/interrupt_core1/lcd_cam_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map lcd_cam interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn lcd_cam_int_map(&mut self) -> LCD_CAM_INT_MAP_W { LCD_CAM_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/ledc_int_map.rs b/esp32s3/src/interrupt_core1/ledc_int_map.rs index 17bb6241a7..be7f9fce6c 100644 --- a/esp32s3/src/interrupt_core1/ledc_int_map.rs +++ b/esp32s3/src/interrupt_core1/ledc_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map ledc interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn ledc_int_map(&mut self) -> LEDC_INT_MAP_W { LEDC_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/mac_nmi_map.rs b/esp32s3/src/interrupt_core1/mac_nmi_map.rs index 0b385b8ee7..9ba894c8ba 100644 --- a/esp32s3/src/interrupt_core1/mac_nmi_map.rs +++ b/esp32s3/src/interrupt_core1/mac_nmi_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map_nmi interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn mac_nmi_map(&mut self) -> MAC_NMI_MAP_W { MAC_NMI_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/pcnt_intr_map.rs b/esp32s3/src/interrupt_core1/pcnt_intr_map.rs index e09d3b9553..aaa946ae17 100644 --- a/esp32s3/src/interrupt_core1/pcnt_intr_map.rs +++ b/esp32s3/src/interrupt_core1/pcnt_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map pcnt interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn pcnt_intr_map(&mut self) -> PCNT_INTR_MAP_W { PCNT_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/peri_backup_int_map.rs b/esp32s3/src/interrupt_core1/peri_backup_int_map.rs index 4cdec1b001..e04e7d0cca 100644 --- a/esp32s3/src/interrupt_core1/peri_backup_int_map.rs +++ b/esp32s3/src/interrupt_core1/peri_backup_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map peri_backup interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn peri_backup_int_map(&mut self) -> PERI_BACKUP_INT_MAP_W { PERI_BACKUP_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/pwm0_intr_map.rs b/esp32s3/src/interrupt_core1/pwm0_intr_map.rs index 03f44715dd..d159ecc993 100644 --- a/esp32s3/src/interrupt_core1/pwm0_intr_map.rs +++ b/esp32s3/src/interrupt_core1/pwm0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map pwm0 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn pwm0_intr_map(&mut self) -> PWM0_INTR_MAP_W { PWM0_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/pwm1_intr_map.rs b/esp32s3/src/interrupt_core1/pwm1_intr_map.rs index b3e3b34c60..26092718b3 100644 --- a/esp32s3/src/interrupt_core1/pwm1_intr_map.rs +++ b/esp32s3/src/interrupt_core1/pwm1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map pwm1 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn pwm1_intr_map(&mut self) -> PWM1_INTR_MAP_W { PWM1_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/pwm2_intr_map.rs b/esp32s3/src/interrupt_core1/pwm2_intr_map.rs index 5e4969d363..bee4e9f162 100644 --- a/esp32s3/src/interrupt_core1/pwm2_intr_map.rs +++ b/esp32s3/src/interrupt_core1/pwm2_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map pwm2 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn pwm2_intr_map(&mut self) -> PWM2_INTR_MAP_W { PWM2_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/pwm3_intr_map.rs b/esp32s3/src/interrupt_core1/pwm3_intr_map.rs index 0a748c8eb4..e61d465ff4 100644 --- a/esp32s3/src/interrupt_core1/pwm3_intr_map.rs +++ b/esp32s3/src/interrupt_core1/pwm3_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map pwm3 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn pwm3_intr_map(&mut self) -> PWM3_INTR_MAP_W { PWM3_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/pwr_intr_map.rs b/esp32s3/src/interrupt_core1/pwr_intr_map.rs index ded55ce46d..a8f39986a9 100644 --- a/esp32s3/src/interrupt_core1/pwr_intr_map.rs +++ b/esp32s3/src/interrupt_core1/pwr_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map pwr interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn pwr_intr_map(&mut self) -> PWR_INTR_MAP_W { PWR_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/rmt_intr_map.rs b/esp32s3/src/interrupt_core1/rmt_intr_map.rs index 99ff83b01d..9f4838f1d2 100644 --- a/esp32s3/src/interrupt_core1/rmt_intr_map.rs +++ b/esp32s3/src/interrupt_core1/rmt_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map rmt interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn rmt_intr_map(&mut self) -> RMT_INTR_MAP_W { RMT_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/rsa_int_map.rs b/esp32s3/src/interrupt_core1/rsa_int_map.rs index a4417f9b89..5ce36e79a3 100644 --- a/esp32s3/src/interrupt_core1/rsa_int_map.rs +++ b/esp32s3/src/interrupt_core1/rsa_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map rsa interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn rsa_int_map(&mut self) -> RSA_INT_MAP_W { RSA_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/rtc_core_intr_map.rs b/esp32s3/src/interrupt_core1/rtc_core_intr_map.rs index 8fd306d08a..06858e49c5 100644 --- a/esp32s3/src/interrupt_core1/rtc_core_intr_map.rs +++ b/esp32s3/src/interrupt_core1/rtc_core_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map rtc_core interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn rtc_core_intr_map(&mut self) -> RTC_CORE_INTR_MAP_W { RTC_CORE_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/rwble_irq_map.rs b/esp32s3/src/interrupt_core1/rwble_irq_map.rs index 32ac79262d..75ff4f6ce6 100644 --- a/esp32s3/src/interrupt_core1/rwble_irq_map.rs +++ b/esp32s3/src/interrupt_core1/rwble_irq_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map rwble_irq interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn rwble_irq_map(&mut self) -> RWBLE_IRQ_MAP_W { RWBLE_IRQ_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/rwble_nmi_map.rs b/esp32s3/src/interrupt_core1/rwble_nmi_map.rs index 35c242faa9..68bc51f4b7 100644 --- a/esp32s3/src/interrupt_core1/rwble_nmi_map.rs +++ b/esp32s3/src/interrupt_core1/rwble_nmi_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map rwble_nmi interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn rwble_nmi_map(&mut self) -> RWBLE_NMI_MAP_W { RWBLE_NMI_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/rwbt_irq_map.rs b/esp32s3/src/interrupt_core1/rwbt_irq_map.rs index 582a133087..c2874bbfd5 100644 --- a/esp32s3/src/interrupt_core1/rwbt_irq_map.rs +++ b/esp32s3/src/interrupt_core1/rwbt_irq_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map rwbt_irq interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn rwbt_irq_map(&mut self) -> RWBT_IRQ_MAP_W { RWBT_IRQ_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/rwbt_nmi_map.rs b/esp32s3/src/interrupt_core1/rwbt_nmi_map.rs index e817966156..3c5c9d21a7 100644 --- a/esp32s3/src/interrupt_core1/rwbt_nmi_map.rs +++ b/esp32s3/src/interrupt_core1/rwbt_nmi_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map rwbt_nmi interupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn rwbt_nmi_map(&mut self) -> RWBT_NMI_MAP_W { RWBT_NMI_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/sdio_host_interrupt_map.rs b/esp32s3/src/interrupt_core1/sdio_host_interrupt_map.rs index 14e3381e21..2f81e47c74 100644 --- a/esp32s3/src/interrupt_core1/sdio_host_interrupt_map.rs +++ b/esp32s3/src/interrupt_core1/sdio_host_interrupt_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map sdio_host interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn sdio_host_interrupt_map( &mut self, ) -> SDIO_HOST_INTERRUPT_MAP_W { diff --git a/esp32s3/src/interrupt_core1/sha_int_map.rs b/esp32s3/src/interrupt_core1/sha_int_map.rs index 7a4e57f775..b3fcab4918 100644 --- a/esp32s3/src/interrupt_core1/sha_int_map.rs +++ b/esp32s3/src/interrupt_core1/sha_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map sha interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn sha_int_map(&mut self) -> SHA_INT_MAP_W { SHA_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/slc0_intr_map.rs b/esp32s3/src/interrupt_core1/slc0_intr_map.rs index d727fb6be2..ae15206f97 100644 --- a/esp32s3/src/interrupt_core1/slc0_intr_map.rs +++ b/esp32s3/src/interrupt_core1/slc0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map slc0 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn slc0_intr_map(&mut self) -> SLC0_INTR_MAP_W { SLC0_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/slc1_intr_map.rs b/esp32s3/src/interrupt_core1/slc1_intr_map.rs index fa12f870b1..35831e2e24 100644 --- a/esp32s3/src/interrupt_core1/slc1_intr_map.rs +++ b/esp32s3/src/interrupt_core1/slc1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map slc1 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn slc1_intr_map(&mut self) -> SLC1_INTR_MAP_W { SLC1_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/spi2_dma_int_map.rs b/esp32s3/src/interrupt_core1/spi2_dma_int_map.rs index 50926b1156..7f52b015c7 100644 --- a/esp32s3/src/interrupt_core1/spi2_dma_int_map.rs +++ b/esp32s3/src/interrupt_core1/spi2_dma_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map spi2_dma interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn spi2_dma_int_map(&mut self) -> SPI2_DMA_INT_MAP_W { SPI2_DMA_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/spi3_dma_int_map.rs b/esp32s3/src/interrupt_core1/spi3_dma_int_map.rs index e0c7ba9291..daa3c4e77b 100644 --- a/esp32s3/src/interrupt_core1/spi3_dma_int_map.rs +++ b/esp32s3/src/interrupt_core1/spi3_dma_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map spi3_dma interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn spi3_dma_int_map(&mut self) -> SPI3_DMA_INT_MAP_W { SPI3_DMA_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/spi4_dma_int_map.rs b/esp32s3/src/interrupt_core1/spi4_dma_int_map.rs index e98152c671..c93b212172 100644 --- a/esp32s3/src/interrupt_core1/spi4_dma_int_map.rs +++ b/esp32s3/src/interrupt_core1/spi4_dma_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map spi4_dma interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn spi4_dma_int_map(&mut self) -> SPI4_DMA_INT_MAP_W { SPI4_DMA_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/spi_intr_1_map.rs b/esp32s3/src/interrupt_core1/spi_intr_1_map.rs index 419dd3c67d..4904e4e31b 100644 --- a/esp32s3/src/interrupt_core1/spi_intr_1_map.rs +++ b/esp32s3/src/interrupt_core1/spi_intr_1_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map spi_intr_1 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn spi_intr_1_map(&mut self) -> SPI_INTR_1_MAP_W { SPI_INTR_1_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/spi_intr_2_map.rs b/esp32s3/src/interrupt_core1/spi_intr_2_map.rs index a494e9563f..1b8724a950 100644 --- a/esp32s3/src/interrupt_core1/spi_intr_2_map.rs +++ b/esp32s3/src/interrupt_core1/spi_intr_2_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map spi_intr_2 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn spi_intr_2_map(&mut self) -> SPI_INTR_2_MAP_W { SPI_INTR_2_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/spi_intr_3_map.rs b/esp32s3/src/interrupt_core1/spi_intr_3_map.rs index b04798cf47..2cef07ee98 100644 --- a/esp32s3/src/interrupt_core1/spi_intr_3_map.rs +++ b/esp32s3/src/interrupt_core1/spi_intr_3_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map spi_intr_3 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn spi_intr_3_map(&mut self) -> SPI_INTR_3_MAP_W { SPI_INTR_3_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/spi_intr_4_map.rs b/esp32s3/src/interrupt_core1/spi_intr_4_map.rs index adb09e781b..0dcb4fa76f 100644 --- a/esp32s3/src/interrupt_core1/spi_intr_4_map.rs +++ b/esp32s3/src/interrupt_core1/spi_intr_4_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map spi_intr_4 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn spi_intr_4_map(&mut self) -> SPI_INTR_4_MAP_W { SPI_INTR_4_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/spi_mem_reject_intr_map.rs b/esp32s3/src/interrupt_core1/spi_mem_reject_intr_map.rs index a89a7cac3f..faf1a8e352 100644 --- a/esp32s3/src/interrupt_core1/spi_mem_reject_intr_map.rs +++ b/esp32s3/src/interrupt_core1/spi_mem_reject_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map spi_mem_reject interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn spi_mem_reject_intr_map( &mut self, ) -> SPI_MEM_REJECT_INTR_MAP_W { diff --git a/esp32s3/src/interrupt_core1/systimer_target0_int_map.rs b/esp32s3/src/interrupt_core1/systimer_target0_int_map.rs index 84e7bc07bf..1e78697396 100644 --- a/esp32s3/src/interrupt_core1/systimer_target0_int_map.rs +++ b/esp32s3/src/interrupt_core1/systimer_target0_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map systimer_target0 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn systimer_target0_int_map( &mut self, ) -> SYSTIMER_TARGET0_INT_MAP_W { diff --git a/esp32s3/src/interrupt_core1/systimer_target1_int_map.rs b/esp32s3/src/interrupt_core1/systimer_target1_int_map.rs index e644f0e437..3af60633fb 100644 --- a/esp32s3/src/interrupt_core1/systimer_target1_int_map.rs +++ b/esp32s3/src/interrupt_core1/systimer_target1_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map systimer_target1 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn systimer_target1_int_map( &mut self, ) -> SYSTIMER_TARGET1_INT_MAP_W { diff --git a/esp32s3/src/interrupt_core1/systimer_target2_int_map.rs b/esp32s3/src/interrupt_core1/systimer_target2_int_map.rs index 66a16fe379..f2de743ba2 100644 --- a/esp32s3/src/interrupt_core1/systimer_target2_int_map.rs +++ b/esp32s3/src/interrupt_core1/systimer_target2_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map systimer_target2 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn systimer_target2_int_map( &mut self, ) -> SYSTIMER_TARGET2_INT_MAP_W { diff --git a/esp32s3/src/interrupt_core1/tg1_t0_int_map.rs b/esp32s3/src/interrupt_core1/tg1_t0_int_map.rs index d5794a0a87..4e353d1d8c 100644 --- a/esp32s3/src/interrupt_core1/tg1_t0_int_map.rs +++ b/esp32s3/src/interrupt_core1/tg1_t0_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map tg1_t0 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn tg1_t0_int_map(&mut self) -> TG1_T0_INT_MAP_W { TG1_T0_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/tg1_t1_int_map.rs b/esp32s3/src/interrupt_core1/tg1_t1_int_map.rs index af238fcf80..9c28d5b231 100644 --- a/esp32s3/src/interrupt_core1/tg1_t1_int_map.rs +++ b/esp32s3/src/interrupt_core1/tg1_t1_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map tg1_t1 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn tg1_t1_int_map(&mut self) -> TG1_T1_INT_MAP_W { TG1_T1_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/tg1_wdt_int_map.rs b/esp32s3/src/interrupt_core1/tg1_wdt_int_map.rs index bf8f5fb3cd..98b72ff223 100644 --- a/esp32s3/src/interrupt_core1/tg1_wdt_int_map.rs +++ b/esp32s3/src/interrupt_core1/tg1_wdt_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map tg1_wdt interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn tg1_wdt_int_map(&mut self) -> TG1_WDT_INT_MAP_W { TG1_WDT_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/tg_t0_int_map.rs b/esp32s3/src/interrupt_core1/tg_t0_int_map.rs index d2d33e6f1b..3906b99d6c 100644 --- a/esp32s3/src/interrupt_core1/tg_t0_int_map.rs +++ b/esp32s3/src/interrupt_core1/tg_t0_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map tg_t0 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn tg_t0_int_map(&mut self) -> TG_T0_INT_MAP_W { TG_T0_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/tg_t1_int_map.rs b/esp32s3/src/interrupt_core1/tg_t1_int_map.rs index 4247537127..7c2502433b 100644 --- a/esp32s3/src/interrupt_core1/tg_t1_int_map.rs +++ b/esp32s3/src/interrupt_core1/tg_t1_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map tg_t1 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn tg_t1_int_map(&mut self) -> TG_T1_INT_MAP_W { TG_T1_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/tg_wdt_int_map.rs b/esp32s3/src/interrupt_core1/tg_wdt_int_map.rs index 93f0adba31..76cbcd9cab 100644 --- a/esp32s3/src/interrupt_core1/tg_wdt_int_map.rs +++ b/esp32s3/src/interrupt_core1/tg_wdt_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map rg_wdt interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn tg_wdt_int_map(&mut self) -> TG_WDT_INT_MAP_W { TG_WDT_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/timer_int1_map.rs b/esp32s3/src/interrupt_core1/timer_int1_map.rs index 03607d017e..371454e7fd 100644 --- a/esp32s3/src/interrupt_core1/timer_int1_map.rs +++ b/esp32s3/src/interrupt_core1/timer_int1_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map timer_int1 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn timer_int1_map(&mut self) -> TIMER_INT1_MAP_W { TIMER_INT1_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/timer_int2_map.rs b/esp32s3/src/interrupt_core1/timer_int2_map.rs index 692a86846f..0401ad86e2 100644 --- a/esp32s3/src/interrupt_core1/timer_int2_map.rs +++ b/esp32s3/src/interrupt_core1/timer_int2_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map timer_int2 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn timer_int2_map(&mut self) -> TIMER_INT2_MAP_W { TIMER_INT2_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/uart1_intr_map.rs b/esp32s3/src/interrupt_core1/uart1_intr_map.rs index e698af468c..aa47826c93 100644 --- a/esp32s3/src/interrupt_core1/uart1_intr_map.rs +++ b/esp32s3/src/interrupt_core1/uart1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map uart1 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn uart1_intr_map(&mut self) -> UART1_INTR_MAP_W { UART1_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/uart2_intr_map.rs b/esp32s3/src/interrupt_core1/uart2_intr_map.rs index 84a11330b6..f8a01a93cd 100644 --- a/esp32s3/src/interrupt_core1/uart2_intr_map.rs +++ b/esp32s3/src/interrupt_core1/uart2_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map uart2 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn uart2_intr_map(&mut self) -> UART2_INTR_MAP_W { UART2_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/uart_intr_map.rs b/esp32s3/src/interrupt_core1/uart_intr_map.rs index 20bea25ac7..f5ceb08be4 100644 --- a/esp32s3/src/interrupt_core1/uart_intr_map.rs +++ b/esp32s3/src/interrupt_core1/uart_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map uart interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn uart_intr_map(&mut self) -> UART_INTR_MAP_W { UART_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/uhci0_intr_map.rs b/esp32s3/src/interrupt_core1/uhci0_intr_map.rs index 2a5fe7b34a..c520cbdd40 100644 --- a/esp32s3/src/interrupt_core1/uhci0_intr_map.rs +++ b/esp32s3/src/interrupt_core1/uhci0_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map uhci0 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn uhci0_intr_map(&mut self) -> UHCI0_INTR_MAP_W { UHCI0_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/uhci1_intr_map.rs b/esp32s3/src/interrupt_core1/uhci1_intr_map.rs index 468d32c306..7f61f7918b 100644 --- a/esp32s3/src/interrupt_core1/uhci1_intr_map.rs +++ b/esp32s3/src/interrupt_core1/uhci1_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map uhci1 interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn uhci1_intr_map(&mut self) -> UHCI1_INTR_MAP_W { UHCI1_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/usb_device_int_map.rs b/esp32s3/src/interrupt_core1/usb_device_int_map.rs index 5d912ea14a..3dd93cc2be 100644 --- a/esp32s3/src/interrupt_core1/usb_device_int_map.rs +++ b/esp32s3/src/interrupt_core1/usb_device_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map usb_device interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn usb_device_int_map(&mut self) -> USB_DEVICE_INT_MAP_W { USB_DEVICE_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/usb_intr_map.rs b/esp32s3/src/interrupt_core1/usb_intr_map.rs index 6f34830e0d..81831dadae 100644 --- a/esp32s3/src/interrupt_core1/usb_intr_map.rs +++ b/esp32s3/src/interrupt_core1/usb_intr_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map usb interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn usb_intr_map(&mut self) -> USB_INTR_MAP_W { USB_INTR_MAP_W::new(self, 0) } diff --git a/esp32s3/src/interrupt_core1/wdg_int_map.rs b/esp32s3/src/interrupt_core1/wdg_int_map.rs index 6078a2bdb1..fd2333e4d3 100644 --- a/esp32s3/src/interrupt_core1/wdg_int_map.rs +++ b/esp32s3/src/interrupt_core1/wdg_int_map.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - this register used to map wdg interrupt to one of core1's external interrupt"] #[inline(always)] - #[must_use] pub fn wdg_int_map(&mut self) -> WDG_INT_MAP_W { WDG_INT_MAP_W::new(self, 0) } diff --git a/esp32s3/src/io_mux/date.rs b/esp32s3/src/io_mux/date.rs index 300b86f722..163ad3376a 100644 --- a/esp32s3/src/io_mux/date.rs +++ b/esp32s3/src/io_mux/date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Version control register"] #[inline(always)] - #[must_use] pub fn reg_date(&mut self) -> REG_DATE_W { REG_DATE_W::new(self, 0) } diff --git a/esp32s3/src/io_mux/gpio.rs b/esp32s3/src/io_mux/gpio.rs index b1424f23f7..5da75dbe0d 100644 --- a/esp32s3/src/io_mux/gpio.rs +++ b/esp32s3/src/io_mux/gpio.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Output enable of the pad in sleep mode. 1: output enabled; 0: output disabled."] #[inline(always)] - #[must_use] pub fn mcu_oe(&mut self) -> MCU_OE_W { MCU_OE_W::new(self, 0) } #[doc = "Bit 1 - Sleep mode selection of this pad. Set to 1 to put the pad in pad mode."] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 1) } #[doc = "Bit 2 - Pull-down enable of the pad in sleep mode. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpd(&mut self) -> MCU_WPD_W { MCU_WPD_W::new(self, 2) } #[doc = "Bit 3 - Pull-up enable of the pad during sleep mode. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn mcu_wpu(&mut self) -> MCU_WPU_W { MCU_WPU_W::new(self, 3) } #[doc = "Bit 4 - Input enable of the pad during sleep mode. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn mcu_ie(&mut self) -> MCU_IE_W { MCU_IE_W::new(self, 4) } #[doc = "Bit 7 - Pull-down enable of the pad. 1: internal pull-down enabled; 0: internal pull-down disabled."] #[inline(always)] - #[must_use] pub fn fun_wpd(&mut self) -> FUN_WPD_W { FUN_WPD_W::new(self, 7) } #[doc = "Bit 8 - Pull-up enable of the pad. 1: internal pull-up enabled; 0: internal pull-up disabled."] #[inline(always)] - #[must_use] pub fn fun_wpu(&mut self) -> FUN_WPU_W { FUN_WPU_W::new(self, 8) } #[doc = "Bit 9 - Input enable of the pad. 1: input enabled; 0: input disabled."] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 9) } #[doc = "Bits 10:11 - Select the drive strength of the pad. 0: ~5 mA; 1: ~10mA; 2: ~20mA; 3: ~40mA."] #[inline(always)] - #[must_use] pub fn fun_drv(&mut self) -> FUN_DRV_W { FUN_DRV_W::new(self, 10) } #[doc = "Bits 12:14 - Select IO MUX function for this signal. 0: Select Function 1; 1: Select Function 2; etc."] #[inline(always)] - #[must_use] pub fn mcu_sel(&mut self) -> MCU_SEL_W { MCU_SEL_W::new(self, 12) } #[doc = "Bit 15 - Enable filter for pin input signals. 1: Filter enabled; 2: Filter disabled."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 15) } diff --git a/esp32s3/src/io_mux/pin_ctrl.rs b/esp32s3/src/io_mux/pin_ctrl.rs index c42f8b637c..ff6d6809e9 100644 --- a/esp32s3/src/io_mux/pin_ctrl.rs +++ b/esp32s3/src/io_mux/pin_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - If you want to output clock for I2S to CLK_OUT_out1, set this register to 0x0. CLK_OUT_out1 can be found in peripheral output signals."] #[inline(always)] - #[must_use] pub fn clk_out1(&mut self) -> CLK_OUT1_W { CLK_OUT1_W::new(self, 0) } #[doc = "Bits 4:7 - If you want to output clock for I2S to CLK_OUT_out2, set this register to 0x0. CLK_OUT_out2 can be found in peripheral output signals."] #[inline(always)] - #[must_use] pub fn clk_out2(&mut self) -> CLK_OUT2_W { CLK_OUT2_W::new(self, 4) } #[doc = "Bits 8:11 - If you want to output clock for I2S to CLK_OUT_out3, set this register to 0x0. CLK_OUT_out3 can be found in peripheral output signals."] #[inline(always)] - #[must_use] pub fn clk_out3(&mut self) -> CLK_OUT3_W { CLK_OUT3_W::new(self, 8) } diff --git a/esp32s3/src/lcd_cam/cam_ctrl.rs b/esp32s3/src/lcd_cam/cam_ctrl.rs index 75655c39ac..7ac5912a20 100644 --- a/esp32s3/src/lcd_cam/cam_ctrl.rs +++ b/esp32s3/src/lcd_cam/cam_ctrl.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Camera stop enable signal, 1: camera stops when GDMA Rx FIFO is full. 0: Do not stop."] #[inline(always)] - #[must_use] pub fn cam_stop_en(&mut self) -> CAM_STOP_EN_W { CAM_STOP_EN_W::new(self, 0) } #[doc = "Bits 1:3 - Filter threshold value for CAM_VSYNC signal."] #[inline(always)] - #[must_use] pub fn cam_vsync_filter_thres(&mut self) -> CAM_VSYNC_FILTER_THRES_W { CAM_VSYNC_FILTER_THRES_W::new(self, 1) } #[doc = "Bit 4 - 1: Update camera registers. This bit is cleared by hardware. 0: Do not care."] #[inline(always)] - #[must_use] pub fn cam_update(&mut self) -> CAM_UPDATE_W { CAM_UPDATE_W::new(self, 4) } #[doc = "Bit 5 - 1: Invert data byte order, only valid in 16-bit mode. 0: Do not change."] #[inline(always)] - #[must_use] pub fn cam_byte_order(&mut self) -> CAM_BYTE_ORDER_W { CAM_BYTE_ORDER_W::new(self, 5) } #[doc = "Bit 6 - 1: Change data bit order, change CAM_DATA_in\\[7:0\\] to CAM_DATA_in\\[0:7\\] in 8-bit mode, and bits\\[15:0\\] to bits\\[0:15\\] in 16-bit mode. 0: Do not change."] #[inline(always)] - #[must_use] pub fn cam_bit_order(&mut self) -> CAM_BIT_ORDER_W { CAM_BIT_ORDER_W::new(self, 6) } #[doc = "Bit 7 - 1: Enable to generate LCD_CAM_CAM_HS_INT. 0: Disable."] #[inline(always)] - #[must_use] pub fn cam_line_int_en(&mut self) -> CAM_LINE_INT_EN_W { CAM_LINE_INT_EN_W::new(self, 7) } #[doc = "Bit 8 - 1: Enable CAM_VSYNC to generate in_suc_eof. 0: in_suc_eof is controlled by LCD_CAM_CAM_REC_DATA_BYTELEN."] #[inline(always)] - #[must_use] pub fn cam_vs_eof_en(&mut self) -> CAM_VS_EOF_EN_W { CAM_VS_EOF_EN_W::new(self, 8) } #[doc = "Bits 9:16 - Integral camera clock divider value."] #[inline(always)] - #[must_use] pub fn cam_clkm_div_num(&mut self) -> CAM_CLKM_DIV_NUM_W { CAM_CLKM_DIV_NUM_W::new(self, 9) } #[doc = "Bits 17:22 - Fractional clock divider numerator value."] #[inline(always)] - #[must_use] pub fn cam_clkm_div_b(&mut self) -> CAM_CLKM_DIV_B_W { CAM_CLKM_DIV_B_W::new(self, 17) } #[doc = "Bits 23:28 - Fractional clock divider denominator value."] #[inline(always)] - #[must_use] pub fn cam_clkm_div_a(&mut self) -> CAM_CLKM_DIV_A_W { CAM_CLKM_DIV_A_W::new(self, 23) } #[doc = "Bits 29:30 - Select camera module source clock. 0: Clock source is disabled. 1: XTAL_CLK. 2: PLL_D2_CLK. 3: PLL_F160M_CLK."] #[inline(always)] - #[must_use] pub fn cam_clk_sel(&mut self) -> CAM_CLK_SEL_W { CAM_CLK_SEL_W::new(self, 29) } diff --git a/esp32s3/src/lcd_cam/cam_ctrl1.rs b/esp32s3/src/lcd_cam/cam_ctrl1.rs index 0ef6800ac6..ca9933496c 100644 --- a/esp32s3/src/lcd_cam/cam_ctrl1.rs +++ b/esp32s3/src/lcd_cam/cam_ctrl1.rs @@ -118,73 +118,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Configure camera received data byte length. When the length of received data reaches this value + 1, GDMA in_suc_eof_int is triggered."] #[inline(always)] - #[must_use] pub fn cam_rec_data_bytelen(&mut self) -> CAM_REC_DATA_BYTELEN_W { CAM_REC_DATA_BYTELEN_W::new(self, 0) } #[doc = "Bits 16:21 - Configure line number. When the number of received lines reaches this value + 1, LCD_CAM_CAM_HS_INT is triggered."] #[inline(always)] - #[must_use] pub fn cam_line_int_num(&mut self) -> CAM_LINE_INT_NUM_W { CAM_LINE_INT_NUM_W::new(self, 16) } #[doc = "Bit 22 - 1: Invert the input signal CAM_PCLK. 0: Do not invert."] #[inline(always)] - #[must_use] pub fn cam_clk_inv(&mut self) -> CAM_CLK_INV_W { CAM_CLK_INV_W::new(self, 22) } #[doc = "Bit 23 - 1: Enable CAM_VSYNC filter function. 0: Bypass."] #[inline(always)] - #[must_use] pub fn cam_vsync_filter_en(&mut self) -> CAM_VSYNC_FILTER_EN_W { CAM_VSYNC_FILTER_EN_W::new(self, 23) } #[doc = "Bit 24 - 1: The width of input data is 16 bits. 0: The width of input data is 8 bits."] #[inline(always)] - #[must_use] pub fn cam_2byte_en(&mut self) -> CAM_2BYTE_EN_W { CAM_2BYTE_EN_W::new(self, 24) } #[doc = "Bit 25 - CAM_DE invert enable signal, valid in high level."] #[inline(always)] - #[must_use] pub fn cam_de_inv(&mut self) -> CAM_DE_INV_W { CAM_DE_INV_W::new(self, 25) } #[doc = "Bit 26 - CAM_HSYNC invert enable signal, valid in high level."] #[inline(always)] - #[must_use] pub fn cam_hsync_inv(&mut self) -> CAM_HSYNC_INV_W { CAM_HSYNC_INV_W::new(self, 26) } #[doc = "Bit 27 - CAM_VSYNC invert enable signal, valid in high level."] #[inline(always)] - #[must_use] pub fn cam_vsync_inv(&mut self) -> CAM_VSYNC_INV_W { CAM_VSYNC_INV_W::new(self, 27) } #[doc = "Bit 28 - 1: Input control signals are CAM_DE and CAM_HSYNC. CAM_VSYNC is 1. 0: Input control signals are CAM_DE and CAM_VSYNC. CAM_HSYNC and CAM_DE are all 1 at the the same time."] #[inline(always)] - #[must_use] pub fn cam_vh_de_mode_en(&mut self) -> CAM_VH_DE_MODE_EN_W { CAM_VH_DE_MODE_EN_W::new(self, 28) } #[doc = "Bit 29 - Camera module start signal."] #[inline(always)] - #[must_use] pub fn cam_start(&mut self) -> CAM_START_W { CAM_START_W::new(self, 29) } #[doc = "Bit 30 - Camera module reset signal."] #[inline(always)] - #[must_use] pub fn cam_reset(&mut self) -> CAM_RESET_W { CAM_RESET_W::new(self, 30) } #[doc = "Bit 31 - Camera Async Rx FIFO reset signal."] #[inline(always)] - #[must_use] pub fn cam_afifo_reset(&mut self) -> CAM_AFIFO_RESET_W { CAM_AFIFO_RESET_W::new(self, 31) } diff --git a/esp32s3/src/lcd_cam/cam_rgb_yuv.rs b/esp32s3/src/lcd_cam/cam_rgb_yuv.rs index c2ca1152ae..78493eec59 100644 --- a/esp32s3/src/lcd_cam/cam_rgb_yuv.rs +++ b/esp32s3/src/lcd_cam/cam_rgb_yuv.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 21 - Swap every two 8-bit input data. 1: Enabled. 0: Disabled."] #[inline(always)] - #[must_use] pub fn cam_conv_8bits_data_inv(&mut self) -> CAM_CONV_8BITS_DATA_INV_W { CAM_CONV_8BITS_DATA_INV_W::new(self, 21) } #[doc = "Bits 22:23 - In YUV-to-YUV mode, 0: data is converted to YUV422 format. 1: data is converted to YUV420 format. 2: data is converted to YUV411 format. 3: disabled. To enable YUV-to-YUV mode, LCD_CAM_CAM_CONV_TRANS_MODE must be set to 1."] #[inline(always)] - #[must_use] pub fn cam_conv_yuv2yuv_mode(&mut self) -> CAM_CONV_YUV2YUV_MODE_W { CAM_CONV_YUV2YUV_MODE_W::new(self, 22) } #[doc = "Bits 24:25 - In YUV-to-YUV mode and YUV-to-RGB mode, LCD_CAM_CAM_CONV_YUV_MODE decides the YUV mode of input data. 0: input data is in YUV422 format. 1: input data is in YUV420 format. 2: input data is in YUV411 format. In RGB-to-YUV mode, 0: data is converted to YUV422 format. 1: data is converted to YUV420 format. 2: data is converted to YUV411 format."] #[inline(always)] - #[must_use] pub fn cam_conv_yuv_mode(&mut self) -> CAM_CONV_YUV_MODE_W { CAM_CONV_YUV_MODE_W::new(self, 24) } #[doc = "Bit 26 - 0: BT601. 1: BT709."] #[inline(always)] - #[must_use] pub fn cam_conv_protocol_mode(&mut self) -> CAM_CONV_PROTOCOL_MODE_W { CAM_CONV_PROTOCOL_MODE_W::new(self, 26) } #[doc = "Bit 27 - Configure color range for output data. 0: limited color range. 1: full color range."] #[inline(always)] - #[must_use] pub fn cam_conv_data_out_mode(&mut self) -> CAM_CONV_DATA_OUT_MODE_W { CAM_CONV_DATA_OUT_MODE_W::new(self, 27) } #[doc = "Bit 28 - Configure color range for input data. 0: limited color range. 1: full color range."] #[inline(always)] - #[must_use] pub fn cam_conv_data_in_mode(&mut self) -> CAM_CONV_DATA_IN_MODE_W { CAM_CONV_DATA_IN_MODE_W::new(self, 28) } #[doc = "Bit 29 - 0: 16-bit mode. 1: 8-bit mode."] #[inline(always)] - #[must_use] pub fn cam_conv_mode_8bits_on(&mut self) -> CAM_CONV_MODE_8BITS_ON_W { CAM_CONV_MODE_8BITS_ON_W::new(self, 29) } #[doc = "Bit 30 - 0: converted to RGB format. 1: converted to YUV format."] #[inline(always)] - #[must_use] pub fn cam_conv_trans_mode(&mut self) -> CAM_CONV_TRANS_MODE_W { CAM_CONV_TRANS_MODE_W::new(self, 30) } #[doc = "Bit 31 - 0: Bypass converter. 1: Enable converter."] #[inline(always)] - #[must_use] pub fn cam_conv_bypass(&mut self) -> CAM_CONV_BYPASS_W { CAM_CONV_BYPASS_W::new(self, 31) } diff --git a/esp32s3/src/lcd_cam/lc_dma_int_clr.rs b/esp32s3/src/lcd_cam/lc_dma_int_clr.rs index 4f7e6241c7..409c4e5f03 100644 --- a/esp32s3/src/lcd_cam/lc_dma_int_clr.rs +++ b/esp32s3/src/lcd_cam/lc_dma_int_clr.rs @@ -17,25 +17,21 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The clear bit for LCD_CAM_LCD_VSYNC_INT interrupt."] #[inline(always)] - #[must_use] pub fn lcd_vsync_int_clr(&mut self) -> LCD_VSYNC_INT_CLR_W { LCD_VSYNC_INT_CLR_W::new(self, 0) } #[doc = "Bit 1 - The clear bit for LCD_CAM_LCD_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn lcd_trans_done_int_clr(&mut self) -> LCD_TRANS_DONE_INT_CLR_W { LCD_TRANS_DONE_INT_CLR_W::new(self, 1) } #[doc = "Bit 2 - The clear bit for LCD_CAM_CAM_VSYNC_INT interrupt."] #[inline(always)] - #[must_use] pub fn cam_vsync_int_clr(&mut self) -> CAM_VSYNC_INT_CLR_W { CAM_VSYNC_INT_CLR_W::new(self, 2) } #[doc = "Bit 3 - The clear bit for LCD_CAM_CAM_HS_INT interrupt."] #[inline(always)] - #[must_use] pub fn cam_hs_int_clr(&mut self) -> CAM_HS_INT_CLR_W { CAM_HS_INT_CLR_W::new(self, 3) } diff --git a/esp32s3/src/lcd_cam/lc_dma_int_ena.rs b/esp32s3/src/lcd_cam/lc_dma_int_ena.rs index 3a249404d6..5020357783 100644 --- a/esp32s3/src/lcd_cam/lc_dma_int_ena.rs +++ b/esp32s3/src/lcd_cam/lc_dma_int_ena.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The enable bit for LCD_CAM_LCD_VSYNC_INT interrupt."] #[inline(always)] - #[must_use] pub fn lcd_vsync_int_ena(&mut self) -> LCD_VSYNC_INT_ENA_W { LCD_VSYNC_INT_ENA_W::new(self, 0) } #[doc = "Bit 1 - The enable bit for LCD_CAM_LCD_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn lcd_trans_done_int_ena(&mut self) -> LCD_TRANS_DONE_INT_ENA_W { LCD_TRANS_DONE_INT_ENA_W::new(self, 1) } #[doc = "Bit 2 - The enable bit for LCD_CAM_CAM_VSYNC_INT interrupt."] #[inline(always)] - #[must_use] pub fn cam_vsync_int_ena(&mut self) -> CAM_VSYNC_INT_ENA_W { CAM_VSYNC_INT_ENA_W::new(self, 2) } #[doc = "Bit 3 - The enable bit for LCD_CAM_CAM_HS_INT interrupt."] #[inline(always)] - #[must_use] pub fn cam_hs_int_ena(&mut self) -> CAM_HS_INT_ENA_W { CAM_HS_INT_ENA_W::new(self, 3) } diff --git a/esp32s3/src/lcd_cam/lc_reg_date.rs b/esp32s3/src/lcd_cam/lc_reg_date.rs index 982c6cbd3e..cd1ab14b60 100644 --- a/esp32s3/src/lcd_cam/lc_reg_date.rs +++ b/esp32s3/src/lcd_cam/lc_reg_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Version control register"] #[inline(always)] - #[must_use] pub fn lc_date(&mut self) -> LC_DATE_W { LC_DATE_W::new(self, 0) } diff --git a/esp32s3/src/lcd_cam/lcd_clock.rs b/esp32s3/src/lcd_cam/lcd_clock.rs index 9ae8fd4e09..252eb23698 100644 --- a/esp32s3/src/lcd_cam/lcd_clock.rs +++ b/esp32s3/src/lcd_cam/lcd_clock.rs @@ -2,13 +2,13 @@ pub type R = crate::R; #[doc = "Register `LCD_CLOCK` writer"] pub type W = crate::W; -#[doc = "Field `LCD_CLKCNT_N` reader - f<SUB>LCD_PCLK</SUB> = f<SUB>LCD_CLK</SUB>/(LCD_CAM_LCD_CLKCNT_N + 1) when LCD_CAM_LCD_CLK_EQU_SYSCLK is 0. Note: this field must not be configured to 0."] +#[doc = "Field `LCD_CLKCNT_N` reader - fLCD_PCLK = fLCD_CLK/(LCD_CAM_LCD_CLKCNT_N + 1) when LCD_CAM_LCD_CLK_EQU_SYSCLK is 0. Note: this field must not be configured to 0."] pub type LCD_CLKCNT_N_R = crate::FieldReader; -#[doc = "Field `LCD_CLKCNT_N` writer - f<SUB>LCD_PCLK</SUB> = f<SUB>LCD_CLK</SUB>/(LCD_CAM_LCD_CLKCNT_N + 1) when LCD_CAM_LCD_CLK_EQU_SYSCLK is 0. Note: this field must not be configured to 0."] +#[doc = "Field `LCD_CLKCNT_N` writer - fLCD_PCLK = fLCD_CLK/(LCD_CAM_LCD_CLKCNT_N + 1) when LCD_CAM_LCD_CLK_EQU_SYSCLK is 0. Note: this field must not be configured to 0."] pub type LCD_CLKCNT_N_W<'a, REG> = crate::FieldWriter<'a, REG, 6>; -#[doc = "Field `LCD_CLK_EQU_SYSCLK` reader - 1: f<SUB>LCD_PCLK</SUB> = f<SUB>LCD_CLK</SUB>. 0: f<SUB>LCD_PCLK</SUB> = f<SUB>LCD_CLK</SUB>/(LCD_CAM_LCD_CLKCNT_N + 1)."] +#[doc = "Field `LCD_CLK_EQU_SYSCLK` reader - 1: fLCD_PCLK = fLCD_CLK. 0: fLCD_PCLK = fLCD_CLK/(LCD_CAM_LCD_CLKCNT_N + 1)."] pub type LCD_CLK_EQU_SYSCLK_R = crate::BitReader; -#[doc = "Field `LCD_CLK_EQU_SYSCLK` writer - 1: f<SUB>LCD_PCLK</SUB> = f<SUB>LCD_CLK</SUB>. 0: f<SUB>LCD_PCLK</SUB> = f<SUB>LCD_CLK</SUB>/(LCD_CAM_LCD_CLKCNT_N + 1)."] +#[doc = "Field `LCD_CLK_EQU_SYSCLK` writer - 1: fLCD_PCLK = fLCD_CLK. 0: fLCD_PCLK = fLCD_CLK/(LCD_CAM_LCD_CLKCNT_N + 1)."] pub type LCD_CLK_EQU_SYSCLK_W<'a, REG> = crate::BitWriter<'a, REG>; #[doc = "Field `LCD_CK_IDLE_EDGE` reader - 1: LCD_PCLK line is high in idle. 0: LCD_PCLK line is low in idle."] pub type LCD_CK_IDLE_EDGE_R = crate::BitReader; @@ -39,12 +39,12 @@ pub type CLK_EN_R = crate::BitReader; #[doc = "Field `CLK_EN` writer - Set this bit to force enable the clock for all configuration registers. Clock gate is not used."] pub type CLK_EN_W<'a, REG> = crate::BitWriter<'a, REG>; impl R { - #[doc = "Bits 0:5 - f<SUB>LCD_PCLK</SUB> = f<SUB>LCD_CLK</SUB>/(LCD_CAM_LCD_CLKCNT_N + 1) when LCD_CAM_LCD_CLK_EQU_SYSCLK is 0. Note: this field must not be configured to 0."] + #[doc = "Bits 0:5 - fLCD_PCLK = fLCD_CLK/(LCD_CAM_LCD_CLKCNT_N + 1) when LCD_CAM_LCD_CLK_EQU_SYSCLK is 0. Note: this field must not be configured to 0."] #[inline(always)] pub fn lcd_clkcnt_n(&self) -> LCD_CLKCNT_N_R { LCD_CLKCNT_N_R::new((self.bits & 0x3f) as u8) } - #[doc = "Bit 6 - 1: f<SUB>LCD_PCLK</SUB> = f<SUB>LCD_CLK</SUB>. 0: f<SUB>LCD_PCLK</SUB> = f<SUB>LCD_CLK</SUB>/(LCD_CAM_LCD_CLKCNT_N + 1)."] + #[doc = "Bit 6 - 1: fLCD_PCLK = fLCD_CLK. 0: fLCD_PCLK = fLCD_CLK/(LCD_CAM_LCD_CLKCNT_N + 1)."] #[inline(always)] pub fn lcd_clk_equ_sysclk(&self) -> LCD_CLK_EQU_SYSCLK_R { LCD_CLK_EQU_SYSCLK_R::new(((self.bits >> 6) & 1) != 0) @@ -102,57 +102,48 @@ impl core::fmt::Debug for R { } } impl W { - #[doc = "Bits 0:5 - f<SUB>LCD_PCLK</SUB> = f<SUB>LCD_CLK</SUB>/(LCD_CAM_LCD_CLKCNT_N + 1) when LCD_CAM_LCD_CLK_EQU_SYSCLK is 0. Note: this field must not be configured to 0."] + #[doc = "Bits 0:5 - fLCD_PCLK = fLCD_CLK/(LCD_CAM_LCD_CLKCNT_N + 1) when LCD_CAM_LCD_CLK_EQU_SYSCLK is 0. Note: this field must not be configured to 0."] #[inline(always)] - #[must_use] pub fn lcd_clkcnt_n(&mut self) -> LCD_CLKCNT_N_W { LCD_CLKCNT_N_W::new(self, 0) } - #[doc = "Bit 6 - 1: f<SUB>LCD_PCLK</SUB> = f<SUB>LCD_CLK</SUB>. 0: f<SUB>LCD_PCLK</SUB> = f<SUB>LCD_CLK</SUB>/(LCD_CAM_LCD_CLKCNT_N + 1)."] + #[doc = "Bit 6 - 1: fLCD_PCLK = fLCD_CLK. 0: fLCD_PCLK = fLCD_CLK/(LCD_CAM_LCD_CLKCNT_N + 1)."] #[inline(always)] - #[must_use] pub fn lcd_clk_equ_sysclk(&mut self) -> LCD_CLK_EQU_SYSCLK_W { LCD_CLK_EQU_SYSCLK_W::new(self, 6) } #[doc = "Bit 7 - 1: LCD_PCLK line is high in idle. 0: LCD_PCLK line is low in idle."] #[inline(always)] - #[must_use] pub fn lcd_ck_idle_edge(&mut self) -> LCD_CK_IDLE_EDGE_W { LCD_CK_IDLE_EDGE_W::new(self, 7) } #[doc = "Bit 8 - 1: LCD_PCLK is high in the first half clock cycle. 0: LCD_PCLK is low in the first half clock cycle."] #[inline(always)] - #[must_use] pub fn lcd_ck_out_edge(&mut self) -> LCD_CK_OUT_EDGE_W { LCD_CK_OUT_EDGE_W::new(self, 8) } #[doc = "Bits 9:16 - Integral LCD clock divider value."] #[inline(always)] - #[must_use] pub fn lcd_clkm_div_num(&mut self) -> LCD_CLKM_DIV_NUM_W { LCD_CLKM_DIV_NUM_W::new(self, 9) } #[doc = "Bits 17:22 - Fractional clock divider numerator value."] #[inline(always)] - #[must_use] pub fn lcd_clkm_div_b(&mut self) -> LCD_CLKM_DIV_B_W { LCD_CLKM_DIV_B_W::new(self, 17) } #[doc = "Bits 23:28 - Fractional clock divider denominator value."] #[inline(always)] - #[must_use] pub fn lcd_clkm_div_a(&mut self) -> LCD_CLKM_DIV_A_W { LCD_CLKM_DIV_A_W::new(self, 23) } #[doc = "Bits 29:30 - Select LCD module source clock. 0: clock source is disabled. 1: XTAL_CLK. 2: PLL_D2_CLK. 3: PLL_F160M_CLK."] #[inline(always)] - #[must_use] pub fn lcd_clk_sel(&mut self) -> LCD_CLK_SEL_W { LCD_CLK_SEL_W::new(self, 29) } #[doc = "Bit 31 - Set this bit to force enable the clock for all configuration registers. Clock gate is not used."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32s3/src/lcd_cam/lcd_cmd_val.rs b/esp32s3/src/lcd_cam/lcd_cmd_val.rs index e2923ffc09..7a4fcc72d6 100644 --- a/esp32s3/src/lcd_cam/lcd_cmd_val.rs +++ b/esp32s3/src/lcd_cam/lcd_cmd_val.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The LCD write command value."] #[inline(always)] - #[must_use] pub fn lcd_cmd_value(&mut self) -> LCD_CMD_VALUE_W { LCD_CMD_VALUE_W::new(self, 0) } diff --git a/esp32s3/src/lcd_cam/lcd_ctrl.rs b/esp32s3/src/lcd_cam/lcd_ctrl.rs index 374901b9ba..8bb912ed45 100644 --- a/esp32s3/src/lcd_cam/lcd_ctrl.rs +++ b/esp32s3/src/lcd_cam/lcd_ctrl.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - It is the horizontal blank front porch of a frame."] #[inline(always)] - #[must_use] pub fn lcd_hb_front(&mut self) -> LCD_HB_FRONT_W { LCD_HB_FRONT_W::new(self, 0) } #[doc = "Bits 11:20 - It is the vertical active height of a frame."] #[inline(always)] - #[must_use] pub fn lcd_va_height(&mut self) -> LCD_VA_HEIGHT_W { LCD_VA_HEIGHT_W::new(self, 11) } #[doc = "Bits 21:30 - It is the vertical total height of a frame."] #[inline(always)] - #[must_use] pub fn lcd_vt_height(&mut self) -> LCD_VT_HEIGHT_W { LCD_VT_HEIGHT_W::new(self, 21) } #[doc = "Bit 31 - 1: Enable RGB mode, and input VSYNC, HSYNC, and DE signals. 0: Disable."] #[inline(always)] - #[must_use] pub fn lcd_rgb_mode_en(&mut self) -> LCD_RGB_MODE_EN_W { LCD_RGB_MODE_EN_W::new(self, 31) } diff --git a/esp32s3/src/lcd_cam/lcd_ctrl1.rs b/esp32s3/src/lcd_cam/lcd_ctrl1.rs index f3e9048ec1..be8980abb9 100644 --- a/esp32s3/src/lcd_cam/lcd_ctrl1.rs +++ b/esp32s3/src/lcd_cam/lcd_ctrl1.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - It is the vertical blank front porch of a frame."] #[inline(always)] - #[must_use] pub fn lcd_vb_front(&mut self) -> LCD_VB_FRONT_W { LCD_VB_FRONT_W::new(self, 0) } #[doc = "Bits 8:19 - It is the horizontal active width of a frame."] #[inline(always)] - #[must_use] pub fn lcd_ha_width(&mut self) -> LCD_HA_WIDTH_W { LCD_HA_WIDTH_W::new(self, 8) } #[doc = "Bits 20:31 - It is the horizontal total width of a frame."] #[inline(always)] - #[must_use] pub fn lcd_ht_width(&mut self) -> LCD_HT_WIDTH_W { LCD_HT_WIDTH_W::new(self, 20) } diff --git a/esp32s3/src/lcd_cam/lcd_ctrl2.rs b/esp32s3/src/lcd_cam/lcd_ctrl2.rs index 918db38b56..2c0b09b928 100644 --- a/esp32s3/src/lcd_cam/lcd_ctrl2.rs +++ b/esp32s3/src/lcd_cam/lcd_ctrl2.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - It is the width of LCD_VSYNC active pulse in a line."] #[inline(always)] - #[must_use] pub fn lcd_vsync_width(&mut self) -> LCD_VSYNC_WIDTH_W { LCD_VSYNC_WIDTH_W::new(self, 0) } #[doc = "Bit 7 - It is the idle value of LCD_VSYNC."] #[inline(always)] - #[must_use] pub fn lcd_vsync_idle_pol(&mut self) -> LCD_VSYNC_IDLE_POL_W { LCD_VSYNC_IDLE_POL_W::new(self, 7) } #[doc = "Bit 8 - It is the idle value of LCD_DE."] #[inline(always)] - #[must_use] pub fn lcd_de_idle_pol(&mut self) -> LCD_DE_IDLE_POL_W { LCD_DE_IDLE_POL_W::new(self, 8) } #[doc = "Bit 9 - 1: The pulse of LCD_HSYNC is out in vertical blanking lines in RGB mode. 0: LCD_HSYNC pulse is valid only in active region lines in RGB mode."] #[inline(always)] - #[must_use] pub fn lcd_hs_blank_en(&mut self) -> LCD_HS_BLANK_EN_W { LCD_HS_BLANK_EN_W::new(self, 9) } #[doc = "Bits 16:22 - It is the width of LCD_HSYNC active pulse in a line."] #[inline(always)] - #[must_use] pub fn lcd_hsync_width(&mut self) -> LCD_HSYNC_WIDTH_W { LCD_HSYNC_WIDTH_W::new(self, 16) } #[doc = "Bit 23 - It is the idle value of LCD_HSYNC."] #[inline(always)] - #[must_use] pub fn lcd_hsync_idle_pol(&mut self) -> LCD_HSYNC_IDLE_POL_W { LCD_HSYNC_IDLE_POL_W::new(self, 23) } #[doc = "Bits 24:31 - It is the position of LCD_HSYNC active pulse in a line."] #[inline(always)] - #[must_use] pub fn lcd_hsync_position(&mut self) -> LCD_HSYNC_POSITION_W { LCD_HSYNC_POSITION_W::new(self, 24) } diff --git a/esp32s3/src/lcd_cam/lcd_data_dout_mode.rs b/esp32s3/src/lcd_cam/lcd_data_dout_mode.rs index 055fc2f4b1..89725d6dc9 100644 --- a/esp32s3/src/lcd_cam/lcd_data_dout_mode.rs +++ b/esp32s3/src/lcd_cam/lcd_data_dout_mode.rs @@ -201,7 +201,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `DOUT0_MODE` field.
"] #[inline(always)] - #[must_use] pub fn dout_mode(&mut self, n: u8) -> DOUT_MODE_W { #[allow(clippy::no_effect)] [(); 16][n as usize]; @@ -209,97 +208,81 @@ impl W { } #[doc = "Bits 0:1 - The output data bit 0 is delayed by module clock LCD_CLK. 0: output without delay. 1: delayed by the rising edge of LCD_CLK. 2: delayed by the falling edge of LCD_CLK."] #[inline(always)] - #[must_use] pub fn dout0_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 0) } #[doc = "Bits 2:3 - The output data bit 1 is delayed by module clock LCD_CLK. 0: output without delay. 1: delayed by the rising edge of LCD_CLK. 2: delayed by the falling edge of LCD_CLK."] #[inline(always)] - #[must_use] pub fn dout1_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 2) } #[doc = "Bits 4:5 - The output data bit 2 is delayed by module clock LCD_CLK. 0: output without delay. 1: delayed by the rising edge of LCD_CLK. 2: delayed by the falling edge of LCD_CLK."] #[inline(always)] - #[must_use] pub fn dout2_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 4) } #[doc = "Bits 6:7 - The output data bit 3 is delayed by module clock LCD_CLK. 0: output without delay. 1: delayed by the rising edge of LCD_CLK. 2: delayed by the falling edge of LCD_CLK."] #[inline(always)] - #[must_use] pub fn dout3_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 6) } #[doc = "Bits 8:9 - The output data bit 4 is delayed by module clock LCD_CLK. 0: output without delay. 1: delayed by the rising edge of LCD_CLK. 2: delayed by the falling edge of LCD_CLK."] #[inline(always)] - #[must_use] pub fn dout4_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 8) } #[doc = "Bits 10:11 - The output data bit 5 is delayed by module clock LCD_CLK. 0: output without delay. 1: delayed by the rising edge of LCD_CLK. 2: delayed by the falling edge of LCD_CLK."] #[inline(always)] - #[must_use] pub fn dout5_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 10) } #[doc = "Bits 12:13 - The output data bit 6 is delayed by module clock LCD_CLK. 0: output without delay. 1: delayed by the rising edge of LCD_CLK. 2: delayed by the falling edge of LCD_CLK."] #[inline(always)] - #[must_use] pub fn dout6_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 12) } #[doc = "Bits 14:15 - The output data bit 7 is delayed by module clock LCD_CLK. 0: output without delay. 1: delayed by the rising edge of LCD_CLK. 2: delayed by the falling edge of LCD_CLK."] #[inline(always)] - #[must_use] pub fn dout7_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 14) } #[doc = "Bits 16:17 - The output data bit 8 is delayed by module clock LCD_CLK. 0: output without delay. 1: delayed by the rising edge of LCD_CLK. 2: delayed by the falling edge of LCD_CLK."] #[inline(always)] - #[must_use] pub fn dout8_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 16) } #[doc = "Bits 18:19 - The output data bit 9 is delayed by module clock LCD_CLK. 0: output without delay. 1: delayed by the rising edge of LCD_CLK. 2: delayed by the falling edge of LCD_CLK."] #[inline(always)] - #[must_use] pub fn dout9_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 18) } #[doc = "Bits 20:21 - The output data bit 10 is delayed by module clock LCD_CLK. 0: output without delay. 1: delayed by the rising edge of LCD_CLK. 2: delayed by the falling edge of LCD_CLK."] #[inline(always)] - #[must_use] pub fn dout10_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 20) } #[doc = "Bits 22:23 - The output data bit 11 is delayed by module clock LCD_CLK. 0: output without delay. 1: delayed by the rising edge of LCD_CLK. 2: delayed by the falling edge of LCD_CLK."] #[inline(always)] - #[must_use] pub fn dout11_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 22) } #[doc = "Bits 24:25 - The output data bit 12 is delayed by module clock LCD_CLK. 0: output without delay. 1: delayed by the rising edge of LCD_CLK. 2: delayed by the falling edge of LCD_CLK."] #[inline(always)] - #[must_use] pub fn dout12_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 24) } #[doc = "Bits 26:27 - The output data bit 13 is delayed by module clock LCD_CLK. 0: output without delay. 1: delayed by the rising edge of LCD_CLK. 2: delayed by the falling edge of LCD_CLK."] #[inline(always)] - #[must_use] pub fn dout13_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 26) } #[doc = "Bits 28:29 - The output data bit 14 is delayed by module clock LCD_CLK. 0: output without delay. 1: delayed by the rising edge of LCD_CLK. 2: delayed by the falling edge of LCD_CLK."] #[inline(always)] - #[must_use] pub fn dout14_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 28) } #[doc = "Bits 30:31 - The output data bit 15 is delayed by module clock LCD_CLK. 0: output without delay. 1: delayed by the rising edge of LCD_CLK. 2: delayed by the falling edge of LCD_CLK."] #[inline(always)] - #[must_use] pub fn dout15_mode(&mut self) -> DOUT_MODE_W { DOUT_MODE_W::new(self, 30) } diff --git a/esp32s3/src/lcd_cam/lcd_dly_mode.rs b/esp32s3/src/lcd_cam/lcd_dly_mode.rs index 9c3c570044..057a87aac3 100644 --- a/esp32s3/src/lcd_cam/lcd_dly_mode.rs +++ b/esp32s3/src/lcd_cam/lcd_dly_mode.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - The output LCD_CD is delayed by module clock LCD_CLK. 0: output without delay. 1: delayed by the rising edge of LCD_CLK. 2: delayed by the falling edge of LCD_CLK."] #[inline(always)] - #[must_use] pub fn lcd_cd_mode(&mut self) -> LCD_CD_MODE_W { LCD_CD_MODE_W::new(self, 0) } #[doc = "Bits 2:3 - The output LCD_DE is delayed by module clock LCD_CLK. 0: output without delay. 1: delayed by the rising edge of LCD_CLK. 2: delayed by the falling edge of LCD_CLK."] #[inline(always)] - #[must_use] pub fn lcd_de_mode(&mut self) -> LCD_DE_MODE_W { LCD_DE_MODE_W::new(self, 2) } #[doc = "Bits 4:5 - The output LCD_HSYNC is delayed by module clock LCD_CLK. 0: output without delay. 1: delayed by the rising edge of LCD_CLK. 2: delayed by the falling edge of LCD_CLK."] #[inline(always)] - #[must_use] pub fn lcd_hsync_mode(&mut self) -> LCD_HSYNC_MODE_W { LCD_HSYNC_MODE_W::new(self, 4) } #[doc = "Bits 6:7 - The output LCD_VSYNC is delayed by module clock LCD_CLK. 0: output without delay. 1: delayed by the rising edge of LCD_CLK. 2: delay by the falling edge of LCD_CLK."] #[inline(always)] - #[must_use] pub fn lcd_vsync_mode(&mut self) -> LCD_VSYNC_MODE_W { LCD_VSYNC_MODE_W::new(self, 6) } diff --git a/esp32s3/src/lcd_cam/lcd_misc.rs b/esp32s3/src/lcd_cam/lcd_misc.rs index a9dfc8d452..7259e34a2c 100644 --- a/esp32s3/src/lcd_cam/lcd_misc.rs +++ b/esp32s3/src/lcd_cam/lcd_misc.rs @@ -106,61 +106,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 1:5 - Set the threshold for Async Tx FIFO full event."] #[inline(always)] - #[must_use] pub fn lcd_afifo_threshold_num(&mut self) -> LCD_AFIFO_THRESHOLD_NUM_W { LCD_AFIFO_THRESHOLD_NUM_W::new(self, 1) } #[doc = "Bits 6:11 - Configure the setup cycles in LCD non-RGB mode. Setup cycles expected = this value + 1."] #[inline(always)] - #[must_use] pub fn lcd_vfk_cyclelen(&mut self) -> LCD_VFK_CYCLELEN_W { LCD_VFK_CYCLELEN_W::new(self, 6) } #[doc = "Bits 12:24 - Configure the hold time cycles in LCD non-RGB mode. Hold cycles expected = this value + 1. %Configure the cycles for vertical back blank region in LCD RGB mode, the cycles = this value + 1. Or configure the hold time cycles in LCD non-RGB mode, the cycles = this value + 1."] #[inline(always)] - #[must_use] pub fn lcd_vbk_cyclelen(&mut self) -> LCD_VBK_CYCLELEN_W { LCD_VBK_CYCLELEN_W::new(self, 12) } #[doc = "Bit 25 - 1: Send the next frame data when the current frame is sent out. 0: LCD stops when the current frame is sent out."] #[inline(always)] - #[must_use] pub fn lcd_next_frame_en(&mut self) -> LCD_NEXT_FRAME_EN_W { LCD_NEXT_FRAME_EN_W::new(self, 25) } #[doc = "Bit 26 - 1: Enable blank region when LCD sends data out. 0: No blank region."] #[inline(always)] - #[must_use] pub fn lcd_bk_en(&mut self) -> LCD_BK_EN_W { LCD_BK_EN_W::new(self, 26) } #[doc = "Bit 27 - Async Tx FIFO reset signal."] #[inline(always)] - #[must_use] pub fn lcd_afifo_reset(&mut self) -> LCD_AFIFO_RESET_W { LCD_AFIFO_RESET_W::new(self, 27) } #[doc = "Bit 28 - 1: LCD_CD = !LCD_CAM_LCD_CD_IDLE_EDGE when LCD is in DOUT phase. 0: LCD_CD = LCD_CAM_LCD_CD_IDLE_EDGE."] #[inline(always)] - #[must_use] pub fn lcd_cd_data_set(&mut self) -> LCD_CD_DATA_SET_W { LCD_CD_DATA_SET_W::new(self, 28) } #[doc = "Bit 29 - 1: LCD_CD = !LCD_CAM_LCD_CD_IDLE_EDGE when LCD is in DUMMY phase. 0: LCD_CD = LCD_CAM_LCD_CD_IDLE_EDGE."] #[inline(always)] - #[must_use] pub fn lcd_cd_dummy_set(&mut self) -> LCD_CD_DUMMY_SET_W { LCD_CD_DUMMY_SET_W::new(self, 29) } #[doc = "Bit 30 - 1: LCD_CD = !LCD_CAM_LCD_CD_IDLE_EDGE when LCD is in CMD phase. 0: LCD_CD = LCD_CAM_LCD_CD_IDLE_EDGE."] #[inline(always)] - #[must_use] pub fn lcd_cd_cmd_set(&mut self) -> LCD_CD_CMD_SET_W { LCD_CD_CMD_SET_W::new(self, 30) } #[doc = "Bit 31 - The default value of LCD_CD."] #[inline(always)] - #[must_use] pub fn lcd_cd_idle_edge(&mut self) -> LCD_CD_IDLE_EDGE_W { LCD_CD_IDLE_EDGE_W::new(self, 31) } diff --git a/esp32s3/src/lcd_cam/lcd_rgb_yuv.rs b/esp32s3/src/lcd_cam/lcd_rgb_yuv.rs index 3c83d5cafb..6b3e6e38d2 100644 --- a/esp32s3/src/lcd_cam/lcd_rgb_yuv.rs +++ b/esp32s3/src/lcd_cam/lcd_rgb_yuv.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 20 - Swap every two 8-bit input data. 1: Enabled. 0: Disabled."] #[inline(always)] - #[must_use] pub fn lcd_conv_8bits_data_inv(&mut self) -> LCD_CONV_8BITS_DATA_INV_W { LCD_CONV_8BITS_DATA_INV_W::new(self, 20) } #[doc = "Bits 22:23 - In YUV-to-YUV mode, 0: data is converted to YUV422 format. 1: data is converted to YUV420 format. 2: data is converted to YUV411 format. 3: disabled. To enable YUV-to-YUV mode, LCD_CAM_LCD_CONV_TRANS_MODE must be set to 1."] #[inline(always)] - #[must_use] pub fn lcd_conv_yuv2yuv_mode(&mut self) -> LCD_CONV_YUV2YUV_MODE_W { LCD_CONV_YUV2YUV_MODE_W::new(self, 22) } #[doc = "Bits 24:25 - In YUV-to-YUV mode and YUV-to-RGB mode, LCD_CAM_LCD_CONV_YUV_MODE decides the YUV mode of input data. 0: input data is in YUV422 format. 1: input data is in YUV420 format. 2: input data is in YUV411 format. In RGB-to-YUV mode, 0: data is converted to YUV422 format. 1: data is converted to YUV420 format. 2: data is converted to YUV411 format."] #[inline(always)] - #[must_use] pub fn lcd_conv_yuv_mode(&mut self) -> LCD_CONV_YUV_MODE_W { LCD_CONV_YUV_MODE_W::new(self, 24) } #[doc = "Bit 26 - 0: BT601. 1: BT709."] #[inline(always)] - #[must_use] pub fn lcd_conv_protocol_mode(&mut self) -> LCD_CONV_PROTOCOL_MODE_W { LCD_CONV_PROTOCOL_MODE_W::new(self, 26) } #[doc = "Bit 27 - Configure color range for output data. 0: limited color range. 1: full color range."] #[inline(always)] - #[must_use] pub fn lcd_conv_data_out_mode(&mut self) -> LCD_CONV_DATA_OUT_MODE_W { LCD_CONV_DATA_OUT_MODE_W::new(self, 27) } #[doc = "Bit 28 - Configure color range for input data. 0: limited color range. 1: full color range."] #[inline(always)] - #[must_use] pub fn lcd_conv_data_in_mode(&mut self) -> LCD_CONV_DATA_IN_MODE_W { LCD_CONV_DATA_IN_MODE_W::new(self, 28) } #[doc = "Bit 29 - 0: 16-bit mode. 1: 8-bit mode."] #[inline(always)] - #[must_use] pub fn lcd_conv_mode_8bits_on(&mut self) -> LCD_CONV_MODE_8BITS_ON_W { LCD_CONV_MODE_8BITS_ON_W::new(self, 29) } #[doc = "Bit 30 - 0: converted to RGB format. 1: converted to YUV format."] #[inline(always)] - #[must_use] pub fn lcd_conv_trans_mode(&mut self) -> LCD_CONV_TRANS_MODE_W { LCD_CONV_TRANS_MODE_W::new(self, 30) } #[doc = "Bit 31 - 0: Bypass converter. 1: Enable converter."] #[inline(always)] - #[must_use] pub fn lcd_conv_bypass(&mut self) -> LCD_CONV_BYPASS_W { LCD_CONV_BYPASS_W::new(self, 31) } diff --git a/esp32s3/src/lcd_cam/lcd_user.rs b/esp32s3/src/lcd_cam/lcd_user.rs index 31099270ac..8a0ef1b0f5 100644 --- a/esp32s3/src/lcd_cam/lcd_user.rs +++ b/esp32s3/src/lcd_cam/lcd_user.rs @@ -146,85 +146,71 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:12 - Configure the cycles for DOUT phase of LCD module. The cycles = this value + 1."] #[inline(always)] - #[must_use] pub fn lcd_dout_cyclelen(&mut self) -> LCD_DOUT_CYCLELEN_W { LCD_DOUT_CYCLELEN_W::new(self, 0) } #[doc = "Bit 13 - LCD continues outputting data when LCD is in DOUT phase, till LCD_CAM_LCD_START is cleared or LCD_CAM_LCD_RESET is set."] #[inline(always)] - #[must_use] pub fn lcd_always_out_en(&mut self) -> LCD_ALWAYS_OUT_EN_W { LCD_ALWAYS_OUT_EN_W::new(self, 13) } #[doc = "Bit 19 - 1: Swap every two data bytes, valid in 8-bit mode. 0: Do not swap."] #[inline(always)] - #[must_use] pub fn lcd_8bits_order(&mut self) -> LCD_8BITS_ORDER_W { LCD_8BITS_ORDER_W::new(self, 19) } #[doc = "Bit 20 - 1: Update LCD registers. This bit is cleared by hardware. 0: Do not care."] #[inline(always)] - #[must_use] pub fn lcd_update(&mut self) -> LCD_UPDATE_W { LCD_UPDATE_W::new(self, 20) } #[doc = "Bit 21 - 1: Change data bit order. Change LCD_DATA_out\\[7:0\\] to LCD_DATA_out\\[0:7\\] in 8-bit mode, and bits\\[15:0\\] to bits\\[0:15\\] in 16-bit mode. 0: Do not change."] #[inline(always)] - #[must_use] pub fn lcd_bit_order(&mut self) -> LCD_BIT_ORDER_W { LCD_BIT_ORDER_W::new(self, 21) } #[doc = "Bit 22 - 1: Invert data byte order, only valid in 16-bit mode. 0: Do not invert."] #[inline(always)] - #[must_use] pub fn lcd_byte_order(&mut self) -> LCD_BYTE_ORDER_W { LCD_BYTE_ORDER_W::new(self, 22) } #[doc = "Bit 23 - 1: The width of output LCD data is 16 bits. 0: The width of output LCD data is 8 bits."] #[inline(always)] - #[must_use] pub fn lcd_2byte_en(&mut self) -> LCD_2BYTE_EN_W { LCD_2BYTE_EN_W::new(self, 23) } #[doc = "Bit 24 - 1: Be able to send data out in LCD sequence when LCD starts. 0: Disable."] #[inline(always)] - #[must_use] pub fn lcd_dout(&mut self) -> LCD_DOUT_W { LCD_DOUT_W::new(self, 24) } #[doc = "Bit 25 - 1: Enable DUMMY phase in LCD sequence when LCD starts. 0: Disable."] #[inline(always)] - #[must_use] pub fn lcd_dummy(&mut self) -> LCD_DUMMY_W { LCD_DUMMY_W::new(self, 25) } #[doc = "Bit 26 - 1: Be able to send command in LCD sequence when LCD starts. 0: Disable."] #[inline(always)] - #[must_use] pub fn lcd_cmd(&mut self) -> LCD_CMD_W { LCD_CMD_W::new(self, 26) } #[doc = "Bit 27 - LCD starts sending data enable signal, valid in high level."] #[inline(always)] - #[must_use] pub fn lcd_start(&mut self) -> LCD_START_W { LCD_START_W::new(self, 27) } #[doc = "Bit 28 - Reset LCD module."] #[inline(always)] - #[must_use] pub fn lcd_reset(&mut self) -> LCD_RESET_W { LCD_RESET_W::new(self, 28) } #[doc = "Bits 29:30 - Configure DUMMY cycles. DUMMY cycles = this value + 1."] #[inline(always)] - #[must_use] pub fn lcd_dummy_cyclelen(&mut self) -> LCD_DUMMY_CYCLELEN_W { LCD_DUMMY_CYCLELEN_W::new(self, 29) } #[doc = "Bit 31 - The cycle length of command phase. 1: 2 cycles. 0: 1 cycle."] #[inline(always)] - #[must_use] pub fn lcd_cmd_2_cycle_en(&mut self) -> LCD_CMD_2_CYCLE_EN_W { LCD_CMD_2_CYCLE_EN_W::new(self, 31) } diff --git a/esp32s3/src/ledc/ch/conf0.rs b/esp32s3/src/ledc/ch/conf0.rs index fd6c77666a..02b98b686f 100644 --- a/esp32s3/src/ledc/ch/conf0.rs +++ b/esp32s3/src/ledc/ch/conf0.rs @@ -78,49 +78,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - This field is used to select one of timers for channel %s. 0: select timer0 1: select timer1 2: select timer2 3: select timer3"] #[inline(always)] - #[must_use] pub fn timer_sel(&mut self) -> TIMER_SEL_W { TIMER_SEL_W::new(self, 0) } #[doc = "Bit 2 - Set this bit to enable signal output on channel %s."] #[inline(always)] - #[must_use] pub fn sig_out_en(&mut self) -> SIG_OUT_EN_W { SIG_OUT_EN_W::new(self, 2) } #[doc = "Bit 3 - This bit is used to control the output value when channel %s is inactive (when LEDC_SIG_OUT_EN_CH%s is 0)."] #[inline(always)] - #[must_use] pub fn idle_lv(&mut self) -> IDLE_LV_W { IDLE_LV_W::new(self, 3) } #[doc = "Bit 4 - This bit is used to update LEDC_HPOINT_CH%s, LEDC_DUTY_START_CH%s, LEDC_SIG_OUT_EN_CH%s, LEDC_TIMER_SEL_CH%s, LEDC_DUTY_NUM_CH%s, LEDC_DUTY_CYCLE_CH%s, LEDC_DUTY_SCALE_CH%s, LEDC_DUTY_INC_CH%s, and LEDC_OVF_CNT_EN_CH%s fields for channel %s, and will be automatically cleared by hardware."] #[inline(always)] - #[must_use] pub fn para_up(&mut self) -> PARA_UP_W { PARA_UP_W::new(self, 4) } #[doc = "Bits 5:14 - This register is used to configure the maximum times of overflow minus 1. The LEDC_OVF_CNT_CH%s_INT interrupt will be triggered when channel %s overflows for (LEDC_OVF_NUM_CH%s + 1) times."] #[inline(always)] - #[must_use] pub fn ovf_num(&mut self) -> OVF_NUM_W { OVF_NUM_W::new(self, 5) } #[doc = "Bit 15 - This bit is used to enable the ovf_cnt of channel %s."] #[inline(always)] - #[must_use] pub fn ovf_cnt_en(&mut self) -> OVF_CNT_EN_W { OVF_CNT_EN_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to reset the ovf_cnt of channel %s."] #[inline(always)] - #[must_use] pub fn ovf_cnt_reset(&mut self) -> OVF_CNT_RESET_W { OVF_CNT_RESET_W::new(self, 16) } #[doc = "Bit 17 - This is the status bit of LEDC_OVF_CNT_RESET_CH%s."] #[inline(always)] - #[must_use] pub fn ovf_cnt_reset_st(&mut self) -> OVF_CNT_RESET_ST_W { OVF_CNT_RESET_ST_W::new(self, 17) } diff --git a/esp32s3/src/ledc/ch/conf1.rs b/esp32s3/src/ledc/ch/conf1.rs index 6e9b61ddc4..e4c99f9987 100644 --- a/esp32s3/src/ledc/ch/conf1.rs +++ b/esp32s3/src/ledc/ch/conf1.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - This register is used to configure the changing step scale of duty on channel %s."] #[inline(always)] - #[must_use] pub fn duty_scale(&mut self) -> DUTY_SCALE_W { DUTY_SCALE_W::new(self, 0) } #[doc = "Bits 10:19 - The duty will change every LEDC_DUTY_CYCLE_CH%s on channel %s."] #[inline(always)] - #[must_use] pub fn duty_cycle(&mut self) -> DUTY_CYCLE_W { DUTY_CYCLE_W::new(self, 10) } #[doc = "Bits 20:29 - This register is used to control the number of times the duty cycle will be changed."] #[inline(always)] - #[must_use] pub fn duty_num(&mut self) -> DUTY_NUM_W { DUTY_NUM_W::new(self, 20) } #[doc = "Bit 30 - This register is used to increase or decrease the duty of output signal on channel %s. 1: Increase; 0: Decrease."] #[inline(always)] - #[must_use] pub fn duty_inc(&mut self) -> DUTY_INC_W { DUTY_INC_W::new(self, 30) } #[doc = "Bit 31 - Other configured fields in LEDC_CH%s_CONF1_REG will start to take effect when this bit is set to 1."] #[inline(always)] - #[must_use] pub fn duty_start(&mut self) -> DUTY_START_W { DUTY_START_W::new(self, 31) } diff --git a/esp32s3/src/ledc/ch/duty.rs b/esp32s3/src/ledc/ch/duty.rs index 37070b8030..5f06a74543 100644 --- a/esp32s3/src/ledc/ch/duty.rs +++ b/esp32s3/src/ledc/ch/duty.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:18 - This register is used to change the output duty by controlling the Lpoint. The output value turns to low when the selected timers has reached the Lpoint."] #[inline(always)] - #[must_use] pub fn duty(&mut self) -> DUTY_W { DUTY_W::new(self, 0) } diff --git a/esp32s3/src/ledc/ch/hpoint.rs b/esp32s3/src/ledc/ch/hpoint.rs index 6e7c457c81..e5ae51d75e 100644 --- a/esp32s3/src/ledc/ch/hpoint.rs +++ b/esp32s3/src/ledc/ch/hpoint.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - The output value changes to high when the selected timers has reached the value specified by this register."] #[inline(always)] - #[must_use] pub fn hpoint(&mut self) -> HPOINT_W { HPOINT_W::new(self, 0) } diff --git a/esp32s3/src/ledc/conf.rs b/esp32s3/src/ledc/conf.rs index eca3d54c26..4210ff9bdc 100644 --- a/esp32s3/src/ledc/conf.rs +++ b/esp32s3/src/ledc/conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - This bit is used to select clock source for the 4 timers . 2'd1: APB_CLK 2'd2: RTC8M_CLK 2'd3: XTAL_CLK"] #[inline(always)] - #[must_use] pub fn apb_clk_sel(&mut self) -> APB_CLK_SEL_W { APB_CLK_SEL_W::new(self, 0) } #[doc = "Bit 31 - This bit is used to control clock. 1'b1: Force clock on for register. 1'h0: Support clock only when application writes registers."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32s3/src/ledc/date.rs b/esp32s3/src/ledc/date.rs index 4b02f1b38e..7b6676a006 100644 --- a/esp32s3/src/ledc/date.rs +++ b/esp32s3/src/ledc/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This is the version control register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s3/src/ledc/int_clr.rs b/esp32s3/src/ledc/int_clr.rs index 12605167b4..4f57e66a51 100644 --- a/esp32s3/src/ledc/int_clr.rs +++ b/esp32s3/src/ledc/int_clr.rs @@ -17,7 +17,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TIMER0_OVF` field.
"] #[inline(always)] - #[must_use] pub fn timer_ovf(&mut self, n: u8) -> TIMER_OVF_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -25,25 +24,21 @@ impl W { } #[doc = "Bit 0 - Set this bit to clear the TIMER0_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer0_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the TIMER1_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer1_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the TIMER2_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer2_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the TIMER3_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer3_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 3) } @@ -51,7 +46,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `DUTY_CHNG_END_CH0` field.
"] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch(&mut self, n: u8) -> DUTY_CHNG_END_CH_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -59,49 +53,41 @@ impl W { } #[doc = "Bit 4 - Set this bit to clear the DUTY_CHNG_END_CH0 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch0(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the DUTY_CHNG_END_CH1 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch1(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the DUTY_CHNG_END_CH2 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch2(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the DUTY_CHNG_END_CH3 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch3(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the DUTY_CHNG_END_CH4 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch4(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear the DUTY_CHNG_END_CH5 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch5(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to clear the DUTY_CHNG_END_CH6 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch6(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear the DUTY_CHNG_END_CH7 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch7(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 11) } @@ -109,7 +95,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `OVF_CNT_CH0` field.
"] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch(&mut self, n: u8) -> OVF_CNT_CH_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -117,49 +102,41 @@ impl W { } #[doc = "Bit 12 - Set this bit to clear the OVF_CNT_CH0 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch0(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to clear the OVF_CNT_CH1 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch1(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to clear the OVF_CNT_CH2 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch2(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to clear the OVF_CNT_CH3 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch3(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to clear the OVF_CNT_CH4 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch4(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to clear the OVF_CNT_CH5 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch5(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to clear the OVF_CNT_CH6 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch6(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to clear the OVF_CNT_CH7 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch7(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 19) } @@ -173,7 +150,7 @@ impl crate::RegisterSpec for INT_CLR_SPEC { impl crate::Writable for INT_CLR_SPEC { type Safety = crate::Unsafe; const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0x1011; + const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0x000f_ffff; } #[doc = "`reset()` method sets INT_CLR to value 0"] impl crate::Resettable for INT_CLR_SPEC { diff --git a/esp32s3/src/ledc/int_ena.rs b/esp32s3/src/ledc/int_ena.rs index bf0c9a05b1..660ac7dc23 100644 --- a/esp32s3/src/ledc/int_ena.rs +++ b/esp32s3/src/ledc/int_ena.rs @@ -193,7 +193,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TIMER0_OVF` field.
"] #[inline(always)] - #[must_use] pub fn timer_ovf(&mut self, n: u8) -> TIMER_OVF_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -201,25 +200,21 @@ impl W { } #[doc = "Bit 0 - The interrupt enable bit for the TIMER0_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer0_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the TIMER1_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer1_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the TIMER2_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer2_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the TIMER3_OVF interrupt."] #[inline(always)] - #[must_use] pub fn timer3_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 3) } @@ -227,7 +222,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `DUTY_CHNG_END_CH0` field.
"] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch(&mut self, n: u8) -> DUTY_CHNG_END_CH_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -235,49 +229,41 @@ impl W { } #[doc = "Bit 4 - The interrupt enable bit for the DUTY_CHNG_END_CH0 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch0(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 4) } #[doc = "Bit 5 - The interrupt enable bit for the DUTY_CHNG_END_CH1 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch1(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 5) } #[doc = "Bit 6 - The interrupt enable bit for the DUTY_CHNG_END_CH2 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch2(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 6) } #[doc = "Bit 7 - The interrupt enable bit for the DUTY_CHNG_END_CH3 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch3(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 7) } #[doc = "Bit 8 - The interrupt enable bit for the DUTY_CHNG_END_CH4 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch4(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 8) } #[doc = "Bit 9 - The interrupt enable bit for the DUTY_CHNG_END_CH5 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch5(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 9) } #[doc = "Bit 10 - The interrupt enable bit for the DUTY_CHNG_END_CH6 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch6(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 10) } #[doc = "Bit 11 - The interrupt enable bit for the DUTY_CHNG_END_CH7 interrupt."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch7(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 11) } @@ -285,7 +271,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `OVF_CNT_CH0` field.
"] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch(&mut self, n: u8) -> OVF_CNT_CH_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -293,49 +278,41 @@ impl W { } #[doc = "Bit 12 - The interrupt enable bit for the OVF_CNT_CH0 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch0(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 12) } #[doc = "Bit 13 - The interrupt enable bit for the OVF_CNT_CH1 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch1(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 13) } #[doc = "Bit 14 - The interrupt enable bit for the OVF_CNT_CH2 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch2(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 14) } #[doc = "Bit 15 - The interrupt enable bit for the OVF_CNT_CH3 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch3(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 15) } #[doc = "Bit 16 - The interrupt enable bit for the OVF_CNT_CH4 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch4(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 16) } #[doc = "Bit 17 - The interrupt enable bit for the OVF_CNT_CH5 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch5(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 17) } #[doc = "Bit 18 - The interrupt enable bit for the OVF_CNT_CH6 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch6(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 18) } #[doc = "Bit 19 - The interrupt enable bit for the OVF_CNT_CH7 interrupt."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch7(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 19) } diff --git a/esp32s3/src/ledc/int_raw.rs b/esp32s3/src/ledc/int_raw.rs index 265bd1febb..da91e6e8eb 100644 --- a/esp32s3/src/ledc/int_raw.rs +++ b/esp32s3/src/ledc/int_raw.rs @@ -193,7 +193,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TIMER0_OVF` field.
"] #[inline(always)] - #[must_use] pub fn timer_ovf(&mut self, n: u8) -> TIMER_OVF_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -201,25 +200,21 @@ impl W { } #[doc = "Bit 0 - Triggered when the timer0 has reached its maximum counter value."] #[inline(always)] - #[must_use] pub fn timer0_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 0) } #[doc = "Bit 1 - Triggered when the timer1 has reached its maximum counter value."] #[inline(always)] - #[must_use] pub fn timer1_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 1) } #[doc = "Bit 2 - Triggered when the timer2 has reached its maximum counter value."] #[inline(always)] - #[must_use] pub fn timer2_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 2) } #[doc = "Bit 3 - Triggered when the timer3 has reached its maximum counter value."] #[inline(always)] - #[must_use] pub fn timer3_ovf(&mut self) -> TIMER_OVF_W { TIMER_OVF_W::new(self, 3) } @@ -227,7 +222,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `DUTY_CHNG_END_CH0` field.
"] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch(&mut self, n: u8) -> DUTY_CHNG_END_CH_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -235,49 +229,41 @@ impl W { } #[doc = "Bit 4 - Interrupt raw bit for channel 0. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch0(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 4) } #[doc = "Bit 5 - Interrupt raw bit for channel 1. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch1(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 5) } #[doc = "Bit 6 - Interrupt raw bit for channel 2. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch2(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 6) } #[doc = "Bit 7 - Interrupt raw bit for channel 3. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch3(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 7) } #[doc = "Bit 8 - Interrupt raw bit for channel 4. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch4(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 8) } #[doc = "Bit 9 - Interrupt raw bit for channel 5. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch5(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 9) } #[doc = "Bit 10 - Interrupt raw bit for channel 6. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch6(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 10) } #[doc = "Bit 11 - Interrupt raw bit for channel 7. Triggered when the gradual change of duty has finished."] #[inline(always)] - #[must_use] pub fn duty_chng_end_ch7(&mut self) -> DUTY_CHNG_END_CH_W { DUTY_CHNG_END_CH_W::new(self, 11) } @@ -285,7 +271,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `OVF_CNT_CH0` field.
"] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch(&mut self, n: u8) -> OVF_CNT_CH_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -293,49 +278,41 @@ impl W { } #[doc = "Bit 12 - Interrupt raw bit for channel 0. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch0(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 12) } #[doc = "Bit 13 - Interrupt raw bit for channel 1. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch1(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 13) } #[doc = "Bit 14 - Interrupt raw bit for channel 2. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch2(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 14) } #[doc = "Bit 15 - Interrupt raw bit for channel 3. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch3(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 15) } #[doc = "Bit 16 - Interrupt raw bit for channel 4. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch4(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 16) } #[doc = "Bit 17 - Interrupt raw bit for channel 5. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch5(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 17) } #[doc = "Bit 18 - Interrupt raw bit for channel 6. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch6(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 18) } #[doc = "Bit 19 - Interrupt raw bit for channel 7. Triggered when the OVF_CNT has reached the value specified by LEDC.CHx.CONF0.OVF_NUM."] #[inline(always)] - #[must_use] pub fn ovf_cnt_ch7(&mut self) -> OVF_CNT_CH_W { OVF_CNT_CH_W::new(self, 19) } diff --git a/esp32s3/src/ledc/timer/conf.rs b/esp32s3/src/ledc/timer/conf.rs index 0932ec402d..9812cbaabe 100644 --- a/esp32s3/src/ledc/timer/conf.rs +++ b/esp32s3/src/ledc/timer/conf.rs @@ -66,37 +66,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - This register is used to control the range of the counter in timer %s."] #[inline(always)] - #[must_use] pub fn duty_res(&mut self) -> DUTY_RES_W { DUTY_RES_W::new(self, 0) } #[doc = "Bits 4:21 - This register is used to configure the divisor for the divider in timer %s. The least significant eight bits represent the fractional part."] #[inline(always)] - #[must_use] pub fn clk_div(&mut self) -> CLK_DIV_W { CLK_DIV_W::new(self, 4) } #[doc = "Bit 22 - This bit is used to suspend the counter in timer %s."] #[inline(always)] - #[must_use] pub fn pause(&mut self) -> PAUSE_W { PAUSE_W::new(self, 22) } #[doc = "Bit 23 - This bit is used to reset timer %s. The counter will show 0 after reset."] #[inline(always)] - #[must_use] pub fn rst(&mut self) -> RST_W { RST_W::new(self, 23) } #[doc = "Bit 24 - This bit is used to select clock for timer %s. When this bit is set to 1 LEDC_APB_CLK_SEL\\[1:0\\] should be 1, otherwise the timer clock may be not accurate. 1'h0: SLOW_CLK 1'h1: REF_TICK"] #[inline(always)] - #[must_use] pub fn tick_sel(&mut self) -> TICK_SEL_W { TICK_SEL_W::new(self, 24) } #[doc = "Bit 25 - Set this bit to update LEDC_CLK_DIV_TIMER%s and LEDC_TIMER%s_DUTY_RES."] #[inline(always)] - #[must_use] pub fn para_up(&mut self) -> PARA_UP_W { PARA_UP_W::new(self, 25) } diff --git a/esp32s3/src/lib.rs b/esp32s3/src/lib.rs index ef50fa3b38..4593590574 100644 --- a/esp32s3/src/lib.rs +++ b/esp32s3/src/lib.rs @@ -1,4 +1,4 @@ -#![doc = "Peripheral access API for ESP32-S3 microcontrollers (generated using svd2rust v0.33.4 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next] svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.33.4/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"] +#![doc = "Peripheral access API for ESP32-S3 microcontrollers (generated using svd2rust v0.34.0 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next] svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.34.0/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"] #![allow(non_camel_case_types)] #![allow(non_snake_case)] #![doc(html_logo_url = "https://avatars.githubusercontent.com/u/46717278")] @@ -512,13 +512,8 @@ pub enum Interrupt { #[doc = "98 - DMA_EXTMEM_REJECT"] DMA_EXTMEM_REJECT = 98, } -unsafe impl xtensa_lx::interrupt::InterruptNumber for Interrupt { - #[inline(always)] - fn number(self) -> u16 { - self as u16 - } -} #[doc = r" TryFromInterruptError"] +#[cfg_attr(feature = "defmt", derive(defmt::Format))] #[derive(Debug, Copy, Clone)] pub struct TryFromInterruptError(()); impl Interrupt { diff --git a/esp32s3/src/mcpwm0/cap_ch_cfg.rs b/esp32s3/src/mcpwm0/cap_ch_cfg.rs index 2eed80ddd9..2d665ef82f 100644 --- a/esp32s3/src/mcpwm0/cap_ch_cfg.rs +++ b/esp32s3/src/mcpwm0/cap_ch_cfg.rs @@ -56,31 +56,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - When set, capture on channel 0 is enabled"] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 0) } #[doc = "Bits 1:2 - Edge of capture on channel 0 after prescaling. When bit0 is set to 1: enable capture on the negative edge, When bit1 is set to 1: enable capture on the positive edge."] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 1) } #[doc = "Bits 3:10 - Value of prescaling on possitive edge of CAP0. Prescale value = PWM_CAP0_PRESCALE + 1"] #[inline(always)] - #[must_use] pub fn prescale(&mut self) -> PRESCALE_W { PRESCALE_W::new(self, 3) } #[doc = "Bit 11 - when set, CAP0 form GPIO matrix is inverted before prescale"] #[inline(always)] - #[must_use] pub fn in_invert(&mut self) -> IN_INVERT_W { IN_INVERT_W::new(self, 11) } #[doc = "Bit 12 - Write 1 will trigger a software forced capture on channel 0"] #[inline(always)] - #[must_use] pub fn sw(&mut self) -> SW_W { SW_W::new(self, 12) } diff --git a/esp32s3/src/mcpwm0/cap_timer_cfg.rs b/esp32s3/src/mcpwm0/cap_timer_cfg.rs index c8616618ca..2528a984d1 100644 --- a/esp32s3/src/mcpwm0/cap_timer_cfg.rs +++ b/esp32s3/src/mcpwm0/cap_timer_cfg.rs @@ -46,25 +46,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - When set, capture timer incrementing under APB_clk is enabled."] #[inline(always)] - #[must_use] pub fn cap_timer_en(&mut self) -> CAP_TIMER_EN_W { CAP_TIMER_EN_W::new(self, 0) } #[doc = "Bit 1 - When set, capture timer sync is enabled."] #[inline(always)] - #[must_use] pub fn cap_synci_en(&mut self) -> CAP_SYNCI_EN_W { CAP_SYNCI_EN_W::new(self, 1) } #[doc = "Bits 2:4 - capture module sync input selection. 0: none, 1: timer0 sync_out, 2: timer1 sync_out, 3: timer2 sync_out, 4: SYNC0 from GPIO matrix, 5: SYNC1 from GPIO matrix, 6: SYNC2 from GPIO matrix"] #[inline(always)] - #[must_use] pub fn cap_synci_sel(&mut self) -> CAP_SYNCI_SEL_W { CAP_SYNCI_SEL_W::new(self, 2) } #[doc = "Bit 5 - Write 1 will force a capture timer sync, capture timer is loaded with value in phase register."] #[inline(always)] - #[must_use] pub fn cap_sync_sw(&mut self) -> CAP_SYNC_SW_W { CAP_SYNC_SW_W::new(self, 5) } diff --git a/esp32s3/src/mcpwm0/cap_timer_phase.rs b/esp32s3/src/mcpwm0/cap_timer_phase.rs index bfe38b6fbd..128ee1214f 100644 --- a/esp32s3/src/mcpwm0/cap_timer_phase.rs +++ b/esp32s3/src/mcpwm0/cap_timer_phase.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Phase value for capture timer sync operation."] #[inline(always)] - #[must_use] pub fn cap_phase(&mut self) -> CAP_PHASE_W { CAP_PHASE_W::new(self, 0) } diff --git a/esp32s3/src/mcpwm0/ch.rs b/esp32s3/src/mcpwm0/ch.rs index 944dd8936e..65b564c7e8 100644 --- a/esp32s3/src/mcpwm0/ch.rs +++ b/esp32s3/src/mcpwm0/ch.rs @@ -43,6 +43,8 @@ impl CH { &self.gen_force } #[doc = "0x14..0x1c - Actions triggered by events on PWMx%s"] + #[doc = ""] + #[doc = "
`n` is the index of register in the array. `n == 0` corresponds to `GENA` register.
"] #[inline(always)] pub const fn gen(&self, n: usize) -> &GEN { &self.gen[n] diff --git a/esp32s3/src/mcpwm0/ch/chopper_cfg.rs b/esp32s3/src/mcpwm0/ch/chopper_cfg.rs index a1be70f8a1..3b25a07d88 100644 --- a/esp32s3/src/mcpwm0/ch/chopper_cfg.rs +++ b/esp32s3/src/mcpwm0/ch/chopper_cfg.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - When set, carrier0 function is enabled. When cleared, carrier0 is bypassed"] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 0) } #[doc = "Bits 1:4 - PWM carrier0 clock (PC_clk) prescale value. Period of PC_clk = period of PWM_clk * (PWM_CARRIER0_PRESCALE + 1)"] #[inline(always)] - #[must_use] pub fn prescale(&mut self) -> PRESCALE_W { PRESCALE_W::new(self, 1) } #[doc = "Bits 5:7 - carrier duty selection. Duty = PWM_CARRIER0_DUTY / 8"] #[inline(always)] - #[must_use] pub fn duty(&mut self) -> DUTY_W { DUTY_W::new(self, 5) } #[doc = "Bits 8:11 - width of the fist pulse in number of periods of the carrier"] #[inline(always)] - #[must_use] pub fn oshtwth(&mut self) -> OSHTWTH_W { OSHTWTH_W::new(self, 8) } #[doc = "Bit 12 - when set, invert the output of PWM0A and PWM0B for this submodule"] #[inline(always)] - #[must_use] pub fn out_invert(&mut self) -> OUT_INVERT_W { OUT_INVERT_W::new(self, 12) } #[doc = "Bit 13 - when set, invert the input of PWM0A and PWM0B for this submodule"] #[inline(always)] - #[must_use] pub fn in_invert(&mut self) -> IN_INVERT_W { IN_INVERT_W::new(self, 13) } diff --git a/esp32s3/src/mcpwm0/ch/cmpr_cfg.rs b/esp32s3/src/mcpwm0/ch/cmpr_cfg.rs index aa9d3a1eae..505da8f2a0 100644 --- a/esp32s3/src/mcpwm0/ch/cmpr_cfg.rs +++ b/esp32s3/src/mcpwm0/ch/cmpr_cfg.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Update method for PWM generator 0 time stamp A's active register. When all bits are set to 0: immediately, when bit0 is set to 1: TEZ, when bit1 is set to 1: TEP,when bit2 is set to 1: sync, when bit3 is set to 1: disable the update."] #[inline(always)] - #[must_use] pub fn a_upmethod(&mut self) -> A_UPMETHOD_W { A_UPMETHOD_W::new(self, 0) } #[doc = "Bits 4:7 - Update method for PWM generator 0 time stamp B's active register. When all bits are set to 0: immediately, when bit0 is set to 1: TEZ, when bit1 is set to 1: TEP,when bit2 is set to 1: sync, when bit3 is set to 1: disable the update."] #[inline(always)] - #[must_use] pub fn b_upmethod(&mut self) -> B_UPMETHOD_W { B_UPMETHOD_W::new(self, 4) } #[doc = "Bit 8 - Set and reset by hardware. If set, PWM generator 0 time stamp A's shadow reg is filled and waiting to be transferred to A's active reg. If cleared, A's active reg has been updated with shadow register latest value"] #[inline(always)] - #[must_use] pub fn a_shdw_full(&mut self) -> A_SHDW_FULL_W { A_SHDW_FULL_W::new(self, 8) } #[doc = "Bit 9 - Set and reset by hardware. If set, PWM generator 0 time stamp B's shadow reg is filled and waiting to be transferred to B's active reg. If cleared, B's active reg has been updated with shadow register latest value"] #[inline(always)] - #[must_use] pub fn b_shdw_full(&mut self) -> B_SHDW_FULL_W { B_SHDW_FULL_W::new(self, 9) } diff --git a/esp32s3/src/mcpwm0/ch/cmpr_value0.rs b/esp32s3/src/mcpwm0/ch/cmpr_value0.rs index d23e3a8b4c..d7b071ec99 100644 --- a/esp32s3/src/mcpwm0/ch/cmpr_value0.rs +++ b/esp32s3/src/mcpwm0/ch/cmpr_value0.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - PWM generator 0 time stamp A's shadow register"] #[inline(always)] - #[must_use] pub fn a(&mut self) -> A_W { A_W::new(self, 0) } diff --git a/esp32s3/src/mcpwm0/ch/cmpr_value1.rs b/esp32s3/src/mcpwm0/ch/cmpr_value1.rs index 48250eabe7..61d07cc76f 100644 --- a/esp32s3/src/mcpwm0/ch/cmpr_value1.rs +++ b/esp32s3/src/mcpwm0/ch/cmpr_value1.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - PWM generator 0 time stamp B's shadow register"] #[inline(always)] - #[must_use] pub fn b(&mut self) -> B_W { B_W::new(self, 0) } diff --git a/esp32s3/src/mcpwm0/ch/db_cfg.rs b/esp32s3/src/mcpwm0/ch/db_cfg.rs index c411e46d65..32f7e8f0ef 100644 --- a/esp32s3/src/mcpwm0/ch/db_cfg.rs +++ b/esp32s3/src/mcpwm0/ch/db_cfg.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Update method for FED (falling edge delay) active register. 0: immediate, bit0: tez, bit1: tep, bit2: sync, bit3: freeze"] #[inline(always)] - #[must_use] pub fn fed_upmethod(&mut self) -> FED_UPMETHOD_W { FED_UPMETHOD_W::new(self, 0) } #[doc = "Bits 4:7 - Update method for RED (rising edge delay) active register. 0: immediate, bit0: tez, bit1: tep, bit2: sync, bit3: freeze"] #[inline(always)] - #[must_use] pub fn red_upmethod(&mut self) -> RED_UPMETHOD_W { RED_UPMETHOD_W::new(self, 4) } #[doc = "Bit 8 - S8 in documentation, dual-edge B mode, 0: fed/red take effect on different path separately, 1: fed/red take effect on B path, A out is in bypass or dulpB mode"] #[inline(always)] - #[must_use] pub fn deb_mode(&mut self) -> DEB_MODE_W { DEB_MODE_W::new(self, 8) } #[doc = "Bit 9 - S6 in documentation"] #[inline(always)] - #[must_use] pub fn a_outswap(&mut self) -> A_OUTSWAP_W { A_OUTSWAP_W::new(self, 9) } #[doc = "Bit 10 - S7 in documentation"] #[inline(always)] - #[must_use] pub fn b_outswap(&mut self) -> B_OUTSWAP_W { B_OUTSWAP_W::new(self, 10) } #[doc = "Bit 11 - S4 in documentation"] #[inline(always)] - #[must_use] pub fn red_insel(&mut self) -> RED_INSEL_W { RED_INSEL_W::new(self, 11) } #[doc = "Bit 12 - S5 in documentation"] #[inline(always)] - #[must_use] pub fn fed_insel(&mut self) -> FED_INSEL_W { FED_INSEL_W::new(self, 12) } #[doc = "Bit 13 - S2 in documentation"] #[inline(always)] - #[must_use] pub fn red_outinvert(&mut self) -> RED_OUTINVERT_W { RED_OUTINVERT_W::new(self, 13) } #[doc = "Bit 14 - S3 in documentation"] #[inline(always)] - #[must_use] pub fn fed_outinvert(&mut self) -> FED_OUTINVERT_W { FED_OUTINVERT_W::new(self, 14) } #[doc = "Bit 15 - S1 in documentation"] #[inline(always)] - #[must_use] pub fn a_outbypass(&mut self) -> A_OUTBYPASS_W { A_OUTBYPASS_W::new(self, 15) } #[doc = "Bit 16 - S0 in documentation"] #[inline(always)] - #[must_use] pub fn b_outbypass(&mut self) -> B_OUTBYPASS_W { B_OUTBYPASS_W::new(self, 16) } #[doc = "Bit 17 - Dead time generator 0 clock selection. 0: PWM_clk, 1: PT_clk"] #[inline(always)] - #[must_use] pub fn clk_sel(&mut self) -> CLK_SEL_W { CLK_SEL_W::new(self, 17) } diff --git a/esp32s3/src/mcpwm0/ch/db_fed_cfg.rs b/esp32s3/src/mcpwm0/ch/db_fed_cfg.rs index 4cddd5e449..c323d02b90 100644 --- a/esp32s3/src/mcpwm0/ch/db_fed_cfg.rs +++ b/esp32s3/src/mcpwm0/ch/db_fed_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Shadow register for FED"] #[inline(always)] - #[must_use] pub fn fed(&mut self) -> FED_W { FED_W::new(self, 0) } diff --git a/esp32s3/src/mcpwm0/ch/db_red_cfg.rs b/esp32s3/src/mcpwm0/ch/db_red_cfg.rs index 95b9183a57..138023daa7 100644 --- a/esp32s3/src/mcpwm0/ch/db_red_cfg.rs +++ b/esp32s3/src/mcpwm0/ch/db_red_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Shadow register for RED"] #[inline(always)] - #[must_use] pub fn red(&mut self) -> RED_W { RED_W::new(self, 0) } diff --git a/esp32s3/src/mcpwm0/ch/gen.rs b/esp32s3/src/mcpwm0/ch/gen.rs index 14cc231d33..86886c7611 100644 --- a/esp32s3/src/mcpwm0/ch/gen.rs +++ b/esp32s3/src/mcpwm0/ch/gen.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Action on PWM0A triggered by event TEZ when timer increasing"] #[inline(always)] - #[must_use] pub fn utez(&mut self) -> UTEZ_W { UTEZ_W::new(self, 0) } #[doc = "Bits 2:3 - Action on PWM0A triggered by event TEP when timer increasing"] #[inline(always)] - #[must_use] pub fn utep(&mut self) -> UTEP_W { UTEP_W::new(self, 2) } #[doc = "Bits 4:5 - Action on PWM0A triggered by event TEA when timer increasing"] #[inline(always)] - #[must_use] pub fn utea(&mut self) -> UTEA_W { UTEA_W::new(self, 4) } #[doc = "Bits 6:7 - Action on PWM0A triggered by event TEB when timer increasing"] #[inline(always)] - #[must_use] pub fn uteb(&mut self) -> UTEB_W { UTEB_W::new(self, 6) } #[doc = "Bits 8:9 - Action on PWM0A triggered by event_t0 when timer increasing"] #[inline(always)] - #[must_use] pub fn ut0(&mut self) -> UT0_W { UT0_W::new(self, 8) } #[doc = "Bits 10:11 - Action on PWM0A triggered by event_t1 when timer increasing"] #[inline(always)] - #[must_use] pub fn ut1(&mut self) -> UT1_W { UT1_W::new(self, 10) } #[doc = "Bits 12:13 - Action on PWM0A triggered by event TEZ when timer decreasing"] #[inline(always)] - #[must_use] pub fn dtez(&mut self) -> DTEZ_W { DTEZ_W::new(self, 12) } #[doc = "Bits 14:15 - Action on PWM0A triggered by event TEP when timer decreasing"] #[inline(always)] - #[must_use] pub fn dtep(&mut self) -> DTEP_W { DTEP_W::new(self, 14) } #[doc = "Bits 16:17 - Action on PWM0A triggered by event TEA when timer decreasing"] #[inline(always)] - #[must_use] pub fn dtea(&mut self) -> DTEA_W { DTEA_W::new(self, 16) } #[doc = "Bits 18:19 - Action on PWM0A triggered by event TEB when timer decreasing"] #[inline(always)] - #[must_use] pub fn dteb(&mut self) -> DTEB_W { DTEB_W::new(self, 18) } #[doc = "Bits 20:21 - Action on PWM0A triggered by event_t0 when timer decreasing"] #[inline(always)] - #[must_use] pub fn dt0(&mut self) -> DT0_W { DT0_W::new(self, 20) } #[doc = "Bits 22:23 - Action on PWM0A triggered by event_t1 when timer decreasing. 0: no change, 1: low, 2: high, 3: toggle"] #[inline(always)] - #[must_use] pub fn dt1(&mut self) -> DT1_W { DT1_W::new(self, 22) } diff --git a/esp32s3/src/mcpwm0/ch/gen_cfg0.rs b/esp32s3/src/mcpwm0/ch/gen_cfg0.rs index e376f56c5c..e1efa75fde 100644 --- a/esp32s3/src/mcpwm0/ch/gen_cfg0.rs +++ b/esp32s3/src/mcpwm0/ch/gen_cfg0.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Update method for PWM generator 0's active register of configuration. When all bits are set to 0: immediately, when bit0 is set to 1: TEZ, when bit1 is set to 1:"] #[inline(always)] - #[must_use] pub fn cfg_upmethod(&mut self) -> CFG_UPMETHOD_W { CFG_UPMETHOD_W::new(self, 0) } #[doc = "Bits 4:6 - Source selection for PWM generator 0 event_t0, take effect immediately, 0: fault_event0, 1: fault_event1, 2: fault_event2, 3: sync_taken, 4: none"] #[inline(always)] - #[must_use] pub fn t0_sel(&mut self) -> T0_SEL_W { T0_SEL_W::new(self, 4) } #[doc = "Bits 7:9 - Source selection for PWM generator 0 event_t1, take effect immediately, 0: fault_event0, 1: fault_event1, 2: fault_event2, 3: sync_taken, 4: none"] #[inline(always)] - #[must_use] pub fn t1_sel(&mut self) -> T1_SEL_W { T1_SEL_W::new(self, 7) } diff --git a/esp32s3/src/mcpwm0/ch/gen_force.rs b/esp32s3/src/mcpwm0/ch/gen_force.rs index 752e3fbccb..2e358f06d7 100644 --- a/esp32s3/src/mcpwm0/ch/gen_force.rs +++ b/esp32s3/src/mcpwm0/ch/gen_force.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - Updating method for continuous software force of PWM generator0. When all bits are set to 0: immediately, when bit0 is set to 1: TEZ,,when bit1 is set to 1: TEP, when bit2 is set to 1: TEA, when bit3 is set to 1: TEB, when bit4 is set to 1: sync, when bit5 is set to 1: disable update. (TEA/B here and below means an event generated when the timer's value equals to that of register A/B.)"] #[inline(always)] - #[must_use] pub fn cntuforce_upmethod(&mut self) -> CNTUFORCE_UPMETHOD_W { CNTUFORCE_UPMETHOD_W::new(self, 0) } #[doc = "Bits 6:7 - Continuous software force mode for PWM0A. 0: disabled, 1: low, 2: high, 3: disabled"] #[inline(always)] - #[must_use] pub fn a_cntuforce_mode(&mut self) -> A_CNTUFORCE_MODE_W { A_CNTUFORCE_MODE_W::new(self, 6) } #[doc = "Bits 8:9 - Continuous software force mode for PWM0B. 0: disabled, 1: low, 2: high, 3: disabled"] #[inline(always)] - #[must_use] pub fn b_cntuforce_mode(&mut self) -> B_CNTUFORCE_MODE_W { B_CNTUFORCE_MODE_W::new(self, 8) } #[doc = "Bit 10 - Trigger of non-continuous immediate software-force event for PWM0A, a toggle will trigger a force event."] #[inline(always)] - #[must_use] pub fn a_nciforce(&mut self) -> A_NCIFORCE_W { A_NCIFORCE_W::new(self, 10) } #[doc = "Bits 11:12 - non-continuous immediate software force mode for PWM0A, 0: disabled, 1: low, 2: high, 3: disabled"] #[inline(always)] - #[must_use] pub fn a_nciforce_mode(&mut self) -> A_NCIFORCE_MODE_W { A_NCIFORCE_MODE_W::new(self, 11) } #[doc = "Bit 13 - Trigger of non-continuous immediate software-force event for PWM0B, a toggle will trigger a force event."] #[inline(always)] - #[must_use] pub fn b_nciforce(&mut self) -> B_NCIFORCE_W { B_NCIFORCE_W::new(self, 13) } #[doc = "Bits 14:15 - non-continuous immediate software force mode for PWM0B, 0: disabled, 1: low, 2: high, 3: disabled"] #[inline(always)] - #[must_use] pub fn b_nciforce_mode(&mut self) -> B_NCIFORCE_MODE_W { B_NCIFORCE_MODE_W::new(self, 14) } diff --git a/esp32s3/src/mcpwm0/ch/tz_cfg0.rs b/esp32s3/src/mcpwm0/ch/tz_cfg0.rs index 1abcc3b2e9..4b553adb4a 100644 --- a/esp32s3/src/mcpwm0/ch/tz_cfg0.rs +++ b/esp32s3/src/mcpwm0/ch/tz_cfg0.rs @@ -174,97 +174,81 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Enable register for software force cycle-by-cycle mode action. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn sw_cbc(&mut self) -> SW_CBC_W { SW_CBC_W::new(self, 0) } #[doc = "Bit 1 - event_f2 will trigger cycle-by-cycle mode action. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn f2_cbc(&mut self) -> F2_CBC_W { F2_CBC_W::new(self, 1) } #[doc = "Bit 2 - event_f1 will trigger cycle-by-cycle mode action. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn f1_cbc(&mut self) -> F1_CBC_W { F1_CBC_W::new(self, 2) } #[doc = "Bit 3 - event_f0 will trigger cycle-by-cycle mode action. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn f0_cbc(&mut self) -> F0_CBC_W { F0_CBC_W::new(self, 3) } #[doc = "Bit 4 - Enable register for software force one-shot mode action. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn sw_ost(&mut self) -> SW_OST_W { SW_OST_W::new(self, 4) } #[doc = "Bit 5 - event_f2 will trigger one-shot mode action. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn f2_ost(&mut self) -> F2_OST_W { F2_OST_W::new(self, 5) } #[doc = "Bit 6 - event_f1 will trigger one-shot mode action. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn f1_ost(&mut self) -> F1_OST_W { F1_OST_W::new(self, 6) } #[doc = "Bit 7 - event_f0 will trigger one-shot mode action. 0: disable, 1: enable"] #[inline(always)] - #[must_use] pub fn f0_ost(&mut self) -> F0_OST_W { F0_OST_W::new(self, 7) } #[doc = "Bits 8:9 - Cycle-by-cycle mode action on PWM0A when fault event occurs and timer is decreasing. 0: do nothing, 1: force lo, 2: force hi, 3: toggle"] #[inline(always)] - #[must_use] pub fn a_cbc_d(&mut self) -> A_CBC_D_W { A_CBC_D_W::new(self, 8) } #[doc = "Bits 10:11 - Cycle-by-cycle mode action on PWM0A when fault event occurs and timer is increasing. 0: do nothing, 1: force lo, 2: force hi, 3: toggle"] #[inline(always)] - #[must_use] pub fn a_cbc_u(&mut self) -> A_CBC_U_W { A_CBC_U_W::new(self, 10) } #[doc = "Bits 12:13 - One-shot mode action on PWM0A when fault event occurs and timer is decreasing. 0: do nothing, 1: force lo, 2: force hi, 3: toggle"] #[inline(always)] - #[must_use] pub fn a_ost_d(&mut self) -> A_OST_D_W { A_OST_D_W::new(self, 12) } #[doc = "Bits 14:15 - One-shot mode action on PWM0A when fault event occurs and timer is increasing. 0: do nothing, 1: force lo, 2: force hi, 3: toggle"] #[inline(always)] - #[must_use] pub fn a_ost_u(&mut self) -> A_OST_U_W { A_OST_U_W::new(self, 14) } #[doc = "Bits 16:17 - Cycle-by-cycle mode action on PWM0B when fault event occurs and timer is decreasing. 0: do nothing, 1: force lo, 2: force hi, 3: toggle"] #[inline(always)] - #[must_use] pub fn b_cbc_d(&mut self) -> B_CBC_D_W { B_CBC_D_W::new(self, 16) } #[doc = "Bits 18:19 - Cycle-by-cycle mode action on PWM0B when fault event occurs and timer is increasing. 0: do nothing, 1: force lo, 2: force hi, 3: toggle"] #[inline(always)] - #[must_use] pub fn b_cbc_u(&mut self) -> B_CBC_U_W { B_CBC_U_W::new(self, 18) } #[doc = "Bits 20:21 - One-shot mode action on PWM0B when fault event occurs and timer is decreasing. 0: do nothing, 1: force lo, 2: force hi, 3: toggle"] #[inline(always)] - #[must_use] pub fn b_ost_d(&mut self) -> B_OST_D_W { B_OST_D_W::new(self, 20) } #[doc = "Bits 22:23 - One-shot mode action on PWM0B when fault event occurs and timer is increasing. 0: do nothing, 1: force lo, 2: force hi, 3: toggle"] #[inline(always)] - #[must_use] pub fn b_ost_u(&mut self) -> B_OST_U_W { B_OST_U_W::new(self, 22) } diff --git a/esp32s3/src/mcpwm0/ch/tz_cfg1.rs b/esp32s3/src/mcpwm0/ch/tz_cfg1.rs index 166b6f95d5..c7a9b8464d 100644 --- a/esp32s3/src/mcpwm0/ch/tz_cfg1.rs +++ b/esp32s3/src/mcpwm0/ch/tz_cfg1.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - a rising edge will clear on going one-shot mode action"] #[inline(always)] - #[must_use] pub fn clr_ost(&mut self) -> CLR_OST_W { CLR_OST_W::new(self, 0) } #[doc = "Bits 1:2 - cycle-by-cycle mode action refresh moment selection. Bit0: TEZ, bit1:TEP"] #[inline(always)] - #[must_use] pub fn cbcpulse(&mut self) -> CBCPULSE_W { CBCPULSE_W::new(self, 1) } #[doc = "Bit 3 - a toggle trigger a cycle-by-cycle mode action"] #[inline(always)] - #[must_use] pub fn force_cbc(&mut self) -> FORCE_CBC_W { FORCE_CBC_W::new(self, 3) } #[doc = "Bit 4 - a toggle (software negate its value) triggers a one-shot mode action"] #[inline(always)] - #[must_use] pub fn force_ost(&mut self) -> FORCE_OST_W { FORCE_OST_W::new(self, 4) } diff --git a/esp32s3/src/mcpwm0/clk.rs b/esp32s3/src/mcpwm0/clk.rs index c4670f574f..96b434258d 100644 --- a/esp32s3/src/mcpwm0/clk.rs +++ b/esp32s3/src/mcpwm0/clk.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Force clock on for this register file"] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 0) } diff --git a/esp32s3/src/mcpwm0/clk_cfg.rs b/esp32s3/src/mcpwm0/clk_cfg.rs index ed95a9e94d..a28c881f05 100644 --- a/esp32s3/src/mcpwm0/clk_cfg.rs +++ b/esp32s3/src/mcpwm0/clk_cfg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Period of PWM_clk = 6.25ns * (PWM_CLK_PRESCALE + 1)"] #[inline(always)] - #[must_use] pub fn clk_prescale(&mut self) -> CLK_PRESCALE_W { CLK_PRESCALE_W::new(self, 0) } diff --git a/esp32s3/src/mcpwm0/fault_detect.rs b/esp32s3/src/mcpwm0/fault_detect.rs index a8284997cc..774c7e5f2f 100644 --- a/esp32s3/src/mcpwm0/fault_detect.rs +++ b/esp32s3/src/mcpwm0/fault_detect.rs @@ -98,37 +98,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - When set, event_f0 generation is enabled"] #[inline(always)] - #[must_use] pub fn f0_en(&mut self) -> F0_EN_W { F0_EN_W::new(self, 0) } #[doc = "Bit 1 - When set, event_f1 generation is enabled"] #[inline(always)] - #[must_use] pub fn f1_en(&mut self) -> F1_EN_W { F1_EN_W::new(self, 1) } #[doc = "Bit 2 - When set, event_f2 generation is enabled"] #[inline(always)] - #[must_use] pub fn f2_en(&mut self) -> F2_EN_W { F2_EN_W::new(self, 2) } #[doc = "Bit 3 - Set event_f0 trigger polarity on FAULT2 source from GPIO matrix. 0: level low, 1: level high"] #[inline(always)] - #[must_use] pub fn f0_pole(&mut self) -> F0_POLE_W { F0_POLE_W::new(self, 3) } #[doc = "Bit 4 - Set event_f1 trigger polarity on FAULT2 source from GPIO matrix. 0: level low, 1: level high"] #[inline(always)] - #[must_use] pub fn f1_pole(&mut self) -> F1_POLE_W { F1_POLE_W::new(self, 4) } #[doc = "Bit 5 - Set event_f2 trigger polarity on FAULT2 source from GPIO matrix. 0: level low, 1: level high"] #[inline(always)] - #[must_use] pub fn f2_pole(&mut self) -> F2_POLE_W { F2_POLE_W::new(self, 5) } diff --git a/esp32s3/src/mcpwm0/int_clr.rs b/esp32s3/src/mcpwm0/int_clr.rs index 183623d7c7..14b6ef10dc 100644 --- a/esp32s3/src/mcpwm0/int_clr.rs +++ b/esp32s3/src/mcpwm0/int_clr.rs @@ -69,181 +69,151 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the interrupt triggered when the timer 0 stops."] #[inline(always)] - #[must_use] pub fn timer0_stop(&mut self) -> TIMER0_STOP_W { TIMER0_STOP_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the interrupt triggered when the timer 1 stops."] #[inline(always)] - #[must_use] pub fn timer1_stop(&mut self) -> TIMER1_STOP_W { TIMER1_STOP_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the interrupt triggered when the timer 2 stops."] #[inline(always)] - #[must_use] pub fn timer2_stop(&mut self) -> TIMER2_STOP_W { TIMER2_STOP_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the interrupt triggered by a PWM timer 0 TEZ event."] #[inline(always)] - #[must_use] pub fn timer0_tez(&mut self) -> TIMER0_TEZ_W { TIMER0_TEZ_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear the interrupt triggered by a PWM timer 1 TEZ event."] #[inline(always)] - #[must_use] pub fn timer1_tez(&mut self) -> TIMER1_TEZ_W { TIMER1_TEZ_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the interrupt triggered by a PWM timer 2 TEZ event."] #[inline(always)] - #[must_use] pub fn timer2_tez(&mut self) -> TIMER2_TEZ_W { TIMER2_TEZ_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the interrupt triggered by a PWM timer 0 TEP event."] #[inline(always)] - #[must_use] pub fn timer0_tep(&mut self) -> TIMER0_TEP_W { TIMER0_TEP_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the interrupt triggered by a PWM timer 1 TEP event."] #[inline(always)] - #[must_use] pub fn timer1_tep(&mut self) -> TIMER1_TEP_W { TIMER1_TEP_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the interrupt triggered by a PWM timer 2 TEP event."] #[inline(always)] - #[must_use] pub fn timer2_tep(&mut self) -> TIMER2_TEP_W { TIMER2_TEP_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear the interrupt triggered when event_f0 starts."] #[inline(always)] - #[must_use] pub fn fault0(&mut self) -> FAULT0_W { FAULT0_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to clear the interrupt triggered when event_f1 starts."] #[inline(always)] - #[must_use] pub fn fault1(&mut self) -> FAULT1_W { FAULT1_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear the interrupt triggered when event_f2 starts."] #[inline(always)] - #[must_use] pub fn fault2(&mut self) -> FAULT2_W { FAULT2_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to clear the interrupt triggered when event_f0 ends."] #[inline(always)] - #[must_use] pub fn fault0_clr(&mut self) -> FAULT0_CLR_W { FAULT0_CLR_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to clear the interrupt triggered when event_f1 ends."] #[inline(always)] - #[must_use] pub fn fault1_clr(&mut self) -> FAULT1_CLR_W { FAULT1_CLR_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to clear the interrupt triggered when event_f2 ends."] #[inline(always)] - #[must_use] pub fn fault2_clr(&mut self) -> FAULT2_CLR_W { FAULT2_CLR_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to clear the interrupt triggered by a PWM operator 0 TEA event"] #[inline(always)] - #[must_use] pub fn cmpr0_tea(&mut self) -> CMPR0_TEA_W { CMPR0_TEA_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to clear the interrupt triggered by a PWM operator 1 TEA event"] #[inline(always)] - #[must_use] pub fn cmpr1_tea(&mut self) -> CMPR1_TEA_W { CMPR1_TEA_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to clear the interrupt triggered by a PWM operator 2 TEA event"] #[inline(always)] - #[must_use] pub fn cmpr2_tea(&mut self) -> CMPR2_TEA_W { CMPR2_TEA_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to clear the interrupt triggered by a PWM operator 0 TEB event"] #[inline(always)] - #[must_use] pub fn cmpr0_teb(&mut self) -> CMPR0_TEB_W { CMPR0_TEB_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to clear the interrupt triggered by a PWM operator 1 TEB event"] #[inline(always)] - #[must_use] pub fn cmpr1_teb(&mut self) -> CMPR1_TEB_W { CMPR1_TEB_W::new(self, 19) } #[doc = "Bit 20 - Set this bit to clear the interrupt triggered by a PWM operator 2 TEB event"] #[inline(always)] - #[must_use] pub fn cmpr2_teb(&mut self) -> CMPR2_TEB_W { CMPR2_TEB_W::new(self, 20) } #[doc = "Bit 21 - Set this bit to clear the interrupt triggered by a cycle-by-cycle mode action on PWM0."] #[inline(always)] - #[must_use] pub fn tz0_cbc(&mut self) -> TZ0_CBC_W { TZ0_CBC_W::new(self, 21) } #[doc = "Bit 22 - Set this bit to clear the interrupt triggered by a cycle-by-cycle mode action on PWM1."] #[inline(always)] - #[must_use] pub fn tz1_cbc(&mut self) -> TZ1_CBC_W { TZ1_CBC_W::new(self, 22) } #[doc = "Bit 23 - Set this bit to clear the interrupt triggered by a cycle-by-cycle mode action on PWM2."] #[inline(always)] - #[must_use] pub fn tz2_cbc(&mut self) -> TZ2_CBC_W { TZ2_CBC_W::new(self, 23) } #[doc = "Bit 24 - Set this bit to clear the interrupt triggered by a one-shot mode action on PWM0."] #[inline(always)] - #[must_use] pub fn tz0_ost(&mut self) -> TZ0_OST_W { TZ0_OST_W::new(self, 24) } #[doc = "Bit 25 - Set this bit to clear the interrupt triggered by a one-shot mode action on PWM1."] #[inline(always)] - #[must_use] pub fn tz1_ost(&mut self) -> TZ1_OST_W { TZ1_OST_W::new(self, 25) } #[doc = "Bit 26 - Set this bit to clear the interrupt triggered by a one-shot mode action on PWM2."] #[inline(always)] - #[must_use] pub fn tz2_ost(&mut self) -> TZ2_OST_W { TZ2_OST_W::new(self, 26) } #[doc = "Bit 27 - Set this bit to clear the interrupt triggered by capture on channel 0."] #[inline(always)] - #[must_use] pub fn cap0(&mut self) -> CAP0_W { CAP0_W::new(self, 27) } #[doc = "Bit 28 - Set this bit to clear the interrupt triggered by capture on channel 1."] #[inline(always)] - #[must_use] pub fn cap1(&mut self) -> CAP1_W { CAP1_W::new(self, 28) } #[doc = "Bit 29 - Set this bit to clear the interrupt triggered by capture on channel 2."] #[inline(always)] - #[must_use] pub fn cap2(&mut self) -> CAP2_W { CAP2_W::new(self, 29) } diff --git a/esp32s3/src/mcpwm0/int_ena.rs b/esp32s3/src/mcpwm0/int_ena.rs index 7e6edb52ea..4dc8e3cb23 100644 --- a/esp32s3/src/mcpwm0/int_ena.rs +++ b/esp32s3/src/mcpwm0/int_ena.rs @@ -314,181 +314,151 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The enable bit for the interrupt triggered when the timer 0 stops."] #[inline(always)] - #[must_use] pub fn timer0_stop(&mut self) -> TIMER0_STOP_W { TIMER0_STOP_W::new(self, 0) } #[doc = "Bit 1 - The enable bit for the interrupt triggered when the timer 1 stops."] #[inline(always)] - #[must_use] pub fn timer1_stop(&mut self) -> TIMER1_STOP_W { TIMER1_STOP_W::new(self, 1) } #[doc = "Bit 2 - The enable bit for the interrupt triggered when the timer 2 stops."] #[inline(always)] - #[must_use] pub fn timer2_stop(&mut self) -> TIMER2_STOP_W { TIMER2_STOP_W::new(self, 2) } #[doc = "Bit 3 - The enable bit for the interrupt triggered by a PWM timer 0 TEZ event."] #[inline(always)] - #[must_use] pub fn timer0_tez(&mut self) -> TIMER0_TEZ_W { TIMER0_TEZ_W::new(self, 3) } #[doc = "Bit 4 - The enable bit for the interrupt triggered by a PWM timer 1 TEZ event."] #[inline(always)] - #[must_use] pub fn timer1_tez(&mut self) -> TIMER1_TEZ_W { TIMER1_TEZ_W::new(self, 4) } #[doc = "Bit 5 - The enable bit for the interrupt triggered by a PWM timer 2 TEZ event."] #[inline(always)] - #[must_use] pub fn timer2_tez(&mut self) -> TIMER2_TEZ_W { TIMER2_TEZ_W::new(self, 5) } #[doc = "Bit 6 - The enable bit for the interrupt triggered by a PWM timer 0 TEP event."] #[inline(always)] - #[must_use] pub fn timer0_tep(&mut self) -> TIMER0_TEP_W { TIMER0_TEP_W::new(self, 6) } #[doc = "Bit 7 - The enable bit for the interrupt triggered by a PWM timer 1 TEP event."] #[inline(always)] - #[must_use] pub fn timer1_tep(&mut self) -> TIMER1_TEP_W { TIMER1_TEP_W::new(self, 7) } #[doc = "Bit 8 - The enable bit for the interrupt triggered by a PWM timer 2 TEP event."] #[inline(always)] - #[must_use] pub fn timer2_tep(&mut self) -> TIMER2_TEP_W { TIMER2_TEP_W::new(self, 8) } #[doc = "Bit 9 - The enable bit for the interrupt triggered when event_f0 starts."] #[inline(always)] - #[must_use] pub fn fault0(&mut self) -> FAULT0_W { FAULT0_W::new(self, 9) } #[doc = "Bit 10 - The enable bit for the interrupt triggered when event_f1 starts."] #[inline(always)] - #[must_use] pub fn fault1(&mut self) -> FAULT1_W { FAULT1_W::new(self, 10) } #[doc = "Bit 11 - The enable bit for the interrupt triggered when event_f2 starts."] #[inline(always)] - #[must_use] pub fn fault2(&mut self) -> FAULT2_W { FAULT2_W::new(self, 11) } #[doc = "Bit 12 - The enable bit for the interrupt triggered when event_f0 ends."] #[inline(always)] - #[must_use] pub fn fault0_clr(&mut self) -> FAULT0_CLR_W { FAULT0_CLR_W::new(self, 12) } #[doc = "Bit 13 - The enable bit for the interrupt triggered when event_f1 ends."] #[inline(always)] - #[must_use] pub fn fault1_clr(&mut self) -> FAULT1_CLR_W { FAULT1_CLR_W::new(self, 13) } #[doc = "Bit 14 - The enable bit for the interrupt triggered when event_f2 ends."] #[inline(always)] - #[must_use] pub fn fault2_clr(&mut self) -> FAULT2_CLR_W { FAULT2_CLR_W::new(self, 14) } #[doc = "Bit 15 - The enable bit for the interrupt triggered by a PWM operator 0 TEA event"] #[inline(always)] - #[must_use] pub fn cmpr0_tea(&mut self) -> CMPR0_TEA_W { CMPR0_TEA_W::new(self, 15) } #[doc = "Bit 16 - The enable bit for the interrupt triggered by a PWM operator 1 TEA event"] #[inline(always)] - #[must_use] pub fn cmpr1_tea(&mut self) -> CMPR1_TEA_W { CMPR1_TEA_W::new(self, 16) } #[doc = "Bit 17 - The enable bit for the interrupt triggered by a PWM operator 2 TEA event"] #[inline(always)] - #[must_use] pub fn cmpr2_tea(&mut self) -> CMPR2_TEA_W { CMPR2_TEA_W::new(self, 17) } #[doc = "Bit 18 - The enable bit for the interrupt triggered by a PWM operator 0 TEB event"] #[inline(always)] - #[must_use] pub fn cmpr0_teb(&mut self) -> CMPR0_TEB_W { CMPR0_TEB_W::new(self, 18) } #[doc = "Bit 19 - The enable bit for the interrupt triggered by a PWM operator 1 TEB event"] #[inline(always)] - #[must_use] pub fn cmpr1_teb(&mut self) -> CMPR1_TEB_W { CMPR1_TEB_W::new(self, 19) } #[doc = "Bit 20 - The enable bit for the interrupt triggered by a PWM operator 2 TEB event"] #[inline(always)] - #[must_use] pub fn cmpr2_teb(&mut self) -> CMPR2_TEB_W { CMPR2_TEB_W::new(self, 20) } #[doc = "Bit 21 - The enable bit for the interrupt triggered by a cycle-by-cycle mode action on PWM0."] #[inline(always)] - #[must_use] pub fn tz0_cbc(&mut self) -> TZ0_CBC_W { TZ0_CBC_W::new(self, 21) } #[doc = "Bit 22 - The enable bit for the interrupt triggered by a cycle-by-cycle mode action on PWM1."] #[inline(always)] - #[must_use] pub fn tz1_cbc(&mut self) -> TZ1_CBC_W { TZ1_CBC_W::new(self, 22) } #[doc = "Bit 23 - The enable bit for the interrupt triggered by a cycle-by-cycle mode action on PWM2."] #[inline(always)] - #[must_use] pub fn tz2_cbc(&mut self) -> TZ2_CBC_W { TZ2_CBC_W::new(self, 23) } #[doc = "Bit 24 - The enable bit for the interrupt triggered by a one-shot mode action on PWM0."] #[inline(always)] - #[must_use] pub fn tz0_ost(&mut self) -> TZ0_OST_W { TZ0_OST_W::new(self, 24) } #[doc = "Bit 25 - The enable bit for the interrupt triggered by a one-shot mode action on PWM1."] #[inline(always)] - #[must_use] pub fn tz1_ost(&mut self) -> TZ1_OST_W { TZ1_OST_W::new(self, 25) } #[doc = "Bit 26 - The enable bit for the interrupt triggered by a one-shot mode action on PWM2."] #[inline(always)] - #[must_use] pub fn tz2_ost(&mut self) -> TZ2_OST_W { TZ2_OST_W::new(self, 26) } #[doc = "Bit 27 - The enable bit for the interrupt triggered by capture on channel 0."] #[inline(always)] - #[must_use] pub fn cap0(&mut self) -> CAP0_W { CAP0_W::new(self, 27) } #[doc = "Bit 28 - The enable bit for the interrupt triggered by capture on channel 1."] #[inline(always)] - #[must_use] pub fn cap1(&mut self) -> CAP1_W { CAP1_W::new(self, 28) } #[doc = "Bit 29 - The enable bit for the interrupt triggered by capture on channel 2."] #[inline(always)] - #[must_use] pub fn cap2(&mut self) -> CAP2_W { CAP2_W::new(self, 29) } diff --git a/esp32s3/src/mcpwm0/int_raw.rs b/esp32s3/src/mcpwm0/int_raw.rs index 56632ef162..dfb1e4d34b 100644 --- a/esp32s3/src/mcpwm0/int_raw.rs +++ b/esp32s3/src/mcpwm0/int_raw.rs @@ -314,181 +314,151 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw status bit for the interrupt triggered when the timer 0 stops."] #[inline(always)] - #[must_use] pub fn timer0_stop(&mut self) -> TIMER0_STOP_W { TIMER0_STOP_W::new(self, 0) } #[doc = "Bit 1 - The raw status bit for the interrupt triggered when the timer 1 stops."] #[inline(always)] - #[must_use] pub fn timer1_stop(&mut self) -> TIMER1_STOP_W { TIMER1_STOP_W::new(self, 1) } #[doc = "Bit 2 - The raw status bit for the interrupt triggered when the timer 2 stops."] #[inline(always)] - #[must_use] pub fn timer2_stop(&mut self) -> TIMER2_STOP_W { TIMER2_STOP_W::new(self, 2) } #[doc = "Bit 3 - The raw status bit for the interrupt triggered by a PWM timer 0 TEZ event."] #[inline(always)] - #[must_use] pub fn timer0_tez(&mut self) -> TIMER0_TEZ_W { TIMER0_TEZ_W::new(self, 3) } #[doc = "Bit 4 - The raw status bit for the interrupt triggered by a PWM timer 1 TEZ event."] #[inline(always)] - #[must_use] pub fn timer1_tez(&mut self) -> TIMER1_TEZ_W { TIMER1_TEZ_W::new(self, 4) } #[doc = "Bit 5 - The raw status bit for the interrupt triggered by a PWM timer 2 TEZ event."] #[inline(always)] - #[must_use] pub fn timer2_tez(&mut self) -> TIMER2_TEZ_W { TIMER2_TEZ_W::new(self, 5) } #[doc = "Bit 6 - The raw status bit for the interrupt triggered by a PWM timer 0 TEP event."] #[inline(always)] - #[must_use] pub fn timer0_tep(&mut self) -> TIMER0_TEP_W { TIMER0_TEP_W::new(self, 6) } #[doc = "Bit 7 - The raw status bit for the interrupt triggered by a PWM timer 1 TEP event."] #[inline(always)] - #[must_use] pub fn timer1_tep(&mut self) -> TIMER1_TEP_W { TIMER1_TEP_W::new(self, 7) } #[doc = "Bit 8 - The raw status bit for the interrupt triggered by a PWM timer 2 TEP event."] #[inline(always)] - #[must_use] pub fn timer2_tep(&mut self) -> TIMER2_TEP_W { TIMER2_TEP_W::new(self, 8) } #[doc = "Bit 9 - The raw status bit for the interrupt triggered when event_f0 starts."] #[inline(always)] - #[must_use] pub fn fault0(&mut self) -> FAULT0_W { FAULT0_W::new(self, 9) } #[doc = "Bit 10 - The raw status bit for the interrupt triggered when event_f1 starts."] #[inline(always)] - #[must_use] pub fn fault1(&mut self) -> FAULT1_W { FAULT1_W::new(self, 10) } #[doc = "Bit 11 - The raw status bit for the interrupt triggered when event_f2 starts."] #[inline(always)] - #[must_use] pub fn fault2(&mut self) -> FAULT2_W { FAULT2_W::new(self, 11) } #[doc = "Bit 12 - The raw status bit for the interrupt triggered when event_f0 ends."] #[inline(always)] - #[must_use] pub fn fault0_clr(&mut self) -> FAULT0_CLR_W { FAULT0_CLR_W::new(self, 12) } #[doc = "Bit 13 - The raw status bit for the interrupt triggered when event_f1 ends."] #[inline(always)] - #[must_use] pub fn fault1_clr(&mut self) -> FAULT1_CLR_W { FAULT1_CLR_W::new(self, 13) } #[doc = "Bit 14 - The raw status bit for the interrupt triggered when event_f2 ends."] #[inline(always)] - #[must_use] pub fn fault2_clr(&mut self) -> FAULT2_CLR_W { FAULT2_CLR_W::new(self, 14) } #[doc = "Bit 15 - The raw status bit for the interrupt triggered by a PWM operator 0 TEA event"] #[inline(always)] - #[must_use] pub fn cmpr0_tea(&mut self) -> CMPR0_TEA_W { CMPR0_TEA_W::new(self, 15) } #[doc = "Bit 16 - The raw status bit for the interrupt triggered by a PWM operator 1 TEA event"] #[inline(always)] - #[must_use] pub fn cmpr1_tea(&mut self) -> CMPR1_TEA_W { CMPR1_TEA_W::new(self, 16) } #[doc = "Bit 17 - The raw status bit for the interrupt triggered by a PWM operator 2 TEA event"] #[inline(always)] - #[must_use] pub fn cmpr2_tea(&mut self) -> CMPR2_TEA_W { CMPR2_TEA_W::new(self, 17) } #[doc = "Bit 18 - The raw status bit for the interrupt triggered by a PWM operator 0 TEB event"] #[inline(always)] - #[must_use] pub fn cmpr0_teb(&mut self) -> CMPR0_TEB_W { CMPR0_TEB_W::new(self, 18) } #[doc = "Bit 19 - The raw status bit for the interrupt triggered by a PWM operator 1 TEB event"] #[inline(always)] - #[must_use] pub fn cmpr1_teb(&mut self) -> CMPR1_TEB_W { CMPR1_TEB_W::new(self, 19) } #[doc = "Bit 20 - The raw status bit for the interrupt triggered by a PWM operator 2 TEB event"] #[inline(always)] - #[must_use] pub fn cmpr2_teb(&mut self) -> CMPR2_TEB_W { CMPR2_TEB_W::new(self, 20) } #[doc = "Bit 21 - The raw status bit for the interrupt triggered by a cycle-by-cycle mode action on PWM0."] #[inline(always)] - #[must_use] pub fn tz0_cbc(&mut self) -> TZ0_CBC_W { TZ0_CBC_W::new(self, 21) } #[doc = "Bit 22 - The raw status bit for the interrupt triggered by a cycle-by-cycle mode action on PWM1."] #[inline(always)] - #[must_use] pub fn tz1_cbc(&mut self) -> TZ1_CBC_W { TZ1_CBC_W::new(self, 22) } #[doc = "Bit 23 - The raw status bit for the interrupt triggered by a cycle-by-cycle mode action on PWM2."] #[inline(always)] - #[must_use] pub fn tz2_cbc(&mut self) -> TZ2_CBC_W { TZ2_CBC_W::new(self, 23) } #[doc = "Bit 24 - The raw status bit for the interrupt triggered by a one-shot mode action on PWM0."] #[inline(always)] - #[must_use] pub fn tz0_ost(&mut self) -> TZ0_OST_W { TZ0_OST_W::new(self, 24) } #[doc = "Bit 25 - The raw status bit for the interrupt triggered by a one-shot mode action on PWM1."] #[inline(always)] - #[must_use] pub fn tz1_ost(&mut self) -> TZ1_OST_W { TZ1_OST_W::new(self, 25) } #[doc = "Bit 26 - The raw status bit for the interrupt triggered by a one-shot mode action on PWM2."] #[inline(always)] - #[must_use] pub fn tz2_ost(&mut self) -> TZ2_OST_W { TZ2_OST_W::new(self, 26) } #[doc = "Bit 27 - The raw status bit for the interrupt triggered by capture on channel 0."] #[inline(always)] - #[must_use] pub fn cap0(&mut self) -> CAP0_W { CAP0_W::new(self, 27) } #[doc = "Bit 28 - The raw status bit for the interrupt triggered by capture on channel 1."] #[inline(always)] - #[must_use] pub fn cap1(&mut self) -> CAP1_W { CAP1_W::new(self, 28) } #[doc = "Bit 29 - The raw status bit for the interrupt triggered by capture on channel 2."] #[inline(always)] - #[must_use] pub fn cap2(&mut self) -> CAP2_W { CAP2_W::new(self, 29) } diff --git a/esp32s3/src/mcpwm0/operator_timersel.rs b/esp32s3/src/mcpwm0/operator_timersel.rs index 7b6e102810..a78f548536 100644 --- a/esp32s3/src/mcpwm0/operator_timersel.rs +++ b/esp32s3/src/mcpwm0/operator_timersel.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Select which PWM timer's is the timing reference for PWM operator0, 0: timer0, 1: timer1, 2: timer2"] #[inline(always)] - #[must_use] pub fn operator0_timersel(&mut self) -> OPERATOR0_TIMERSEL_W { OPERATOR0_TIMERSEL_W::new(self, 0) } #[doc = "Bits 2:3 - Select which PWM timer's is the timing reference for PWM operator1, 0: timer0, 1: timer1, 2: timer2"] #[inline(always)] - #[must_use] pub fn operator1_timersel(&mut self) -> OPERATOR1_TIMERSEL_W { OPERATOR1_TIMERSEL_W::new(self, 2) } #[doc = "Bits 4:5 - Select which PWM timer's is the timing reference for PWM operator2, 0: timer0, 1: timer1, 2: timer2"] #[inline(always)] - #[must_use] pub fn operator2_timersel(&mut self) -> OPERATOR2_TIMERSEL_W { OPERATOR2_TIMERSEL_W::new(self, 4) } diff --git a/esp32s3/src/mcpwm0/timer/cfg0.rs b/esp32s3/src/mcpwm0/timer/cfg0.rs index 1a8215a1a5..c9709a150c 100644 --- a/esp32s3/src/mcpwm0/timer/cfg0.rs +++ b/esp32s3/src/mcpwm0/timer/cfg0.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - period of PT0_clk = Period of PWM_clk * (PWM_TIMER0_PRESCALE + 1)"] #[inline(always)] - #[must_use] pub fn prescale(&mut self) -> PRESCALE_W { PRESCALE_W::new(self, 0) } #[doc = "Bits 8:23 - period shadow register of PWM timer0"] #[inline(always)] - #[must_use] pub fn period(&mut self) -> PERIOD_W { PERIOD_W::new(self, 8) } #[doc = "Bits 24:25 - Update method for active register of PWM timer0 period, 0: immediate, 1: TEZ, 2: sync, 3: TEZ | sync. TEZ here and below means timer equal zero event"] #[inline(always)] - #[must_use] pub fn period_upmethod(&mut self) -> PERIOD_UPMETHOD_W { PERIOD_UPMETHOD_W::new(self, 24) } diff --git a/esp32s3/src/mcpwm0/timer/cfg1.rs b/esp32s3/src/mcpwm0/timer/cfg1.rs index 6130b98b09..383c708679 100644 --- a/esp32s3/src/mcpwm0/timer/cfg1.rs +++ b/esp32s3/src/mcpwm0/timer/cfg1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - PWM timer0 start and stop control. 0: if PWM timer0 starts, then stops at TEZ, 1: if timer0 starts, then stops at TEP, 2: PWM timer0 starts and runs on, 3: timer0 starts and stops at the next TEZ, 4: timer0 starts and stops at the next TEP. TEP here and below means the event that happens when the timer equals to period"] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 0) } #[doc = "Bits 3:4 - PWM timer0 working mode, 0: freeze, 1: increase mode, 2: decrease mode, 3: up-down mode"] #[inline(always)] - #[must_use] pub fn mod_(&mut self) -> MOD_W { MOD_W::new(self, 3) } diff --git a/esp32s3/src/mcpwm0/timer/sync.rs b/esp32s3/src/mcpwm0/timer/sync.rs index c3a3e5b29d..def67ae500 100644 --- a/esp32s3/src/mcpwm0/timer/sync.rs +++ b/esp32s3/src/mcpwm0/timer/sync.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - When set, timer reloading with phase on sync input event is enabled."] #[inline(always)] - #[must_use] pub fn synci_en(&mut self) -> SYNCI_EN_W { SYNCI_EN_W::new(self, 0) } #[doc = "Bit 1 - Toggling this bit will trigger a software sync."] #[inline(always)] - #[must_use] pub fn sw(&mut self) -> SW_W { SW_W::new(self, 1) } #[doc = "Bits 2:3 - PWM timer0 sync_out selection, 0: synci, 1: TEZ, 2: TEP, otherwise:sync out is software sync"] #[inline(always)] - #[must_use] pub fn synco_sel(&mut self) -> SYNCO_SEL_W { SYNCO_SEL_W::new(self, 2) } #[doc = "Bits 4:19 - phase for timer reload on sync event"] #[inline(always)] - #[must_use] pub fn phase(&mut self) -> PHASE_W { PHASE_W::new(self, 4) } #[doc = "Bit 20 - Configure the PWM timer0's direction when timer0 mode is up-down mode. 0: increase; 1: decrease."] #[inline(always)] - #[must_use] pub fn phase_direction(&mut self) -> PHASE_DIRECTION_W { PHASE_DIRECTION_W::new(self, 20) } diff --git a/esp32s3/src/mcpwm0/timer_synci_cfg.rs b/esp32s3/src/mcpwm0/timer_synci_cfg.rs index 758cd1ba89..407f77e118 100644 --- a/esp32s3/src/mcpwm0/timer_synci_cfg.rs +++ b/esp32s3/src/mcpwm0/timer_synci_cfg.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - select sync input for PWM timer0, 1: PWM timer0 sync_out, 2: PWM timer1 sync_out, 3: PWM timer2 sync_out, 4: SYNC0 from GPIO matrix, 5: SYNC1 from GPIO matrix, 6: SYNC2 from GPIO matrix, other values: no sync input selected"] #[inline(always)] - #[must_use] pub fn timer0_syncisel(&mut self) -> TIMER0_SYNCISEL_W { TIMER0_SYNCISEL_W::new(self, 0) } #[doc = "Bits 3:5 - select sync input for PWM timer1, 1: PWM timer0 sync_out, 2: PWM timer1 sync_out, 3: PWM timer2 sync_out, 4: SYNC0 from GPIO matrix, 5: SYNC1 from GPIO matrix, 6: SYNC2 from GPIO matrix, other values: no sync input selected"] #[inline(always)] - #[must_use] pub fn timer1_syncisel(&mut self) -> TIMER1_SYNCISEL_W { TIMER1_SYNCISEL_W::new(self, 3) } #[doc = "Bits 6:8 - select sync input for PWM timer2, 1: PWM timer0 sync_out, 2: PWM timer1 sync_out, 3: PWM timer2 sync_out, 4: SYNC0 from GPIO matrix, 5: SYNC1 from GPIO matrix, 6: SYNC2 from GPIO matrix, other values: no sync input selected"] #[inline(always)] - #[must_use] pub fn timer2_syncisel(&mut self) -> TIMER2_SYNCISEL_W { TIMER2_SYNCISEL_W::new(self, 6) } #[doc = "Bit 9 - invert SYNC0 from GPIO matrix"] #[inline(always)] - #[must_use] pub fn external_synci0_invert(&mut self) -> EXTERNAL_SYNCI0_INVERT_W { EXTERNAL_SYNCI0_INVERT_W::new(self, 9) } #[doc = "Bit 10 - invert SYNC1 from GPIO matrix"] #[inline(always)] - #[must_use] pub fn external_synci1_invert(&mut self) -> EXTERNAL_SYNCI1_INVERT_W { EXTERNAL_SYNCI1_INVERT_W::new(self, 10) } #[doc = "Bit 11 - invert SYNC2 from GPIO matrix"] #[inline(always)] - #[must_use] pub fn external_synci2_invert(&mut self) -> EXTERNAL_SYNCI2_INVERT_W { EXTERNAL_SYNCI2_INVERT_W::new(self, 11) } diff --git a/esp32s3/src/mcpwm0/update_cfg.rs b/esp32s3/src/mcpwm0/update_cfg.rs index fd1ba718fb..c972b8a148 100644 --- a/esp32s3/src/mcpwm0/update_cfg.rs +++ b/esp32s3/src/mcpwm0/update_cfg.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The global enable of update of all active registers in MCPWM module"] #[inline(always)] - #[must_use] pub fn global_up_en(&mut self) -> GLOBAL_UP_EN_W { GLOBAL_UP_EN_W::new(self, 0) } #[doc = "Bit 1 - a toggle (software invert its value) will trigger a forced update of all active registers in MCPWM module"] #[inline(always)] - #[must_use] pub fn global_force_up(&mut self) -> GLOBAL_FORCE_UP_W { GLOBAL_FORCE_UP_W::new(self, 1) } #[doc = "Bit 2 - When set and PWM_GLOBAL_UP_EN is set, update of active registers in PWM operator 0 are enabled"] #[inline(always)] - #[must_use] pub fn op0_up_en(&mut self) -> OP0_UP_EN_W { OP0_UP_EN_W::new(self, 2) } #[doc = "Bit 3 - a toggle (software invert its value) will trigger a forced update of active registers in PWM operator 0"] #[inline(always)] - #[must_use] pub fn op0_force_up(&mut self) -> OP0_FORCE_UP_W { OP0_FORCE_UP_W::new(self, 3) } #[doc = "Bit 4 - When set and PWM_GLOBAL_UP_EN is set, update of active registers in PWM operator 1 are enabled"] #[inline(always)] - #[must_use] pub fn op1_up_en(&mut self) -> OP1_UP_EN_W { OP1_UP_EN_W::new(self, 4) } #[doc = "Bit 5 - a toggle (software invert its value) will trigger a forced update of active registers in PWM operator 1"] #[inline(always)] - #[must_use] pub fn op1_force_up(&mut self) -> OP1_FORCE_UP_W { OP1_FORCE_UP_W::new(self, 5) } #[doc = "Bit 6 - When set and PWM_GLOBAL_UP_EN is set, update of active registers in PWM operator 2 are enabled"] #[inline(always)] - #[must_use] pub fn op2_up_en(&mut self) -> OP2_UP_EN_W { OP2_UP_EN_W::new(self, 6) } #[doc = "Bit 7 - a toggle (software invert its value) will trigger a forced update of active registers in PWM operator 2"] #[inline(always)] - #[must_use] pub fn op2_force_up(&mut self) -> OP2_FORCE_UP_W { OP2_FORCE_UP_W::new(self, 7) } diff --git a/esp32s3/src/mcpwm0/version.rs b/esp32s3/src/mcpwm0/version.rs index 3030c6584e..f0f9f0f0d3 100644 --- a/esp32s3/src/mcpwm0/version.rs +++ b/esp32s3/src/mcpwm0/version.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Version of this register file"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s3/src/nrx/nrxpd_ctrl.rs b/esp32s3/src/nrx/nrxpd_ctrl.rs index 4de238a244..c41431ccbe 100644 --- a/esp32s3/src/nrx/nrxpd_ctrl.rs +++ b/esp32s3/src/nrx/nrxpd_ctrl.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Force Power Down for Demapper"] #[inline(always)] - #[must_use] pub fn demap_force_pd(&mut self) -> DEMAP_FORCE_PD_W { DEMAP_FORCE_PD_W::new(self, 0) } #[doc = "Bit 1 - Force Power Up for Demapper"] #[inline(always)] - #[must_use] pub fn demap_force_pu(&mut self) -> DEMAP_FORCE_PU_W { DEMAP_FORCE_PU_W::new(self, 1) } #[doc = "Bit 2 - Force Power Down for Viterbi Decoder"] #[inline(always)] - #[must_use] pub fn vit_force_pd(&mut self) -> VIT_FORCE_PD_W { VIT_FORCE_PD_W::new(self, 2) } #[doc = "Bit 3 - Force Power Up for Viterbi Decoder"] #[inline(always)] - #[must_use] pub fn vit_force_pu(&mut self) -> VIT_FORCE_PU_W { VIT_FORCE_PU_W::new(self, 3) } #[doc = "Bit 4 - Force Power Down for RX Rotation"] #[inline(always)] - #[must_use] pub fn rx_rot_force_pd(&mut self) -> RX_ROT_FORCE_PD_W { RX_ROT_FORCE_PD_W::new(self, 4) } #[doc = "Bit 5 - Force Power Up for RX Rotation"] #[inline(always)] - #[must_use] pub fn rx_rot_force_pu(&mut self) -> RX_ROT_FORCE_PU_W { RX_ROT_FORCE_PU_W::new(self, 5) } #[doc = "Bit 6 - Force Power Down for Channel Estimation"] #[inline(always)] - #[must_use] pub fn chan_est_force_pd(&mut self) -> CHAN_EST_FORCE_PD_W { CHAN_EST_FORCE_PD_W::new(self, 6) } #[doc = "Bit 7 - Force Power Up for Channel Estimation"] #[inline(always)] - #[must_use] pub fn chan_est_force_pu(&mut self) -> CHAN_EST_FORCE_PU_W { CHAN_EST_FORCE_PU_W::new(self, 7) } diff --git a/esp32s3/src/pcnt/ctrl.rs b/esp32s3/src/pcnt/ctrl.rs index 9ea11d8451..baec6079be 100644 --- a/esp32s3/src/pcnt/ctrl.rs +++ b/esp32s3/src/pcnt/ctrl.rs @@ -112,7 +112,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CNT_RST_U0` field.
"] #[inline(always)] - #[must_use] pub fn cnt_rst_u(&mut self, n: u8) -> CNT_RST_U_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -120,25 +119,21 @@ impl W { } #[doc = "Bit 0 - Set this bit to clear unit0's counter."] #[inline(always)] - #[must_use] pub fn cnt_rst_u0(&mut self) -> CNT_RST_U_W { CNT_RST_U_W::new(self, 0) } #[doc = "Bit 2 - Set this bit to clear unit1's counter."] #[inline(always)] - #[must_use] pub fn cnt_rst_u1(&mut self) -> CNT_RST_U_W { CNT_RST_U_W::new(self, 2) } #[doc = "Bit 4 - Set this bit to clear unit2's counter."] #[inline(always)] - #[must_use] pub fn cnt_rst_u2(&mut self) -> CNT_RST_U_W { CNT_RST_U_W::new(self, 4) } #[doc = "Bit 6 - Set this bit to clear unit3's counter."] #[inline(always)] - #[must_use] pub fn cnt_rst_u3(&mut self) -> CNT_RST_U_W { CNT_RST_U_W::new(self, 6) } @@ -146,7 +141,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CNT_PAUSE_U0` field.
"] #[inline(always)] - #[must_use] pub fn cnt_pause_u(&mut self, n: u8) -> CNT_PAUSE_U_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -154,31 +148,26 @@ impl W { } #[doc = "Bit 1 - Set this bit to pause unit0's counter."] #[inline(always)] - #[must_use] pub fn cnt_pause_u0(&mut self) -> CNT_PAUSE_U_W { CNT_PAUSE_U_W::new(self, 1) } #[doc = "Bit 3 - Set this bit to pause unit1's counter."] #[inline(always)] - #[must_use] pub fn cnt_pause_u1(&mut self) -> CNT_PAUSE_U_W { CNT_PAUSE_U_W::new(self, 3) } #[doc = "Bit 5 - Set this bit to pause unit2's counter."] #[inline(always)] - #[must_use] pub fn cnt_pause_u2(&mut self) -> CNT_PAUSE_U_W { CNT_PAUSE_U_W::new(self, 5) } #[doc = "Bit 7 - Set this bit to pause unit3's counter."] #[inline(always)] - #[must_use] pub fn cnt_pause_u3(&mut self) -> CNT_PAUSE_U_W { CNT_PAUSE_U_W::new(self, 7) } #[doc = "Bit 16 - The registers clock gate enable signal of PCNT module. 1: the registers can be read and written by application. 0: the registers can not be read or written by application"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 16) } diff --git a/esp32s3/src/pcnt/date.rs b/esp32s3/src/pcnt/date.rs index 62c52e7519..e946eed689 100644 --- a/esp32s3/src/pcnt/date.rs +++ b/esp32s3/src/pcnt/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This is the PCNT version control register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s3/src/pcnt/int_clr.rs b/esp32s3/src/pcnt/int_clr.rs index 60d2b9e5fc..8122a1e7bd 100644 --- a/esp32s3/src/pcnt/int_clr.rs +++ b/esp32s3/src/pcnt/int_clr.rs @@ -13,7 +13,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CNT_THR_EVENT_U0` field.
"] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u(&mut self, n: u8) -> CNT_THR_EVENT_U_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -21,25 +20,21 @@ impl W { } #[doc = "Bit 0 - Set this bit to clear the PCNT_CNT_THR_EVENT_U0_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u0(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the PCNT_CNT_THR_EVENT_U1_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u1(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the PCNT_CNT_THR_EVENT_U2_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u2(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the PCNT_CNT_THR_EVENT_U3_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u3(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 3) } diff --git a/esp32s3/src/pcnt/int_ena.rs b/esp32s3/src/pcnt/int_ena.rs index 97405ab4c3..c96e98eacf 100644 --- a/esp32s3/src/pcnt/int_ena.rs +++ b/esp32s3/src/pcnt/int_ena.rs @@ -59,7 +59,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CNT_THR_EVENT_U0` field.
"] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u(&mut self, n: u8) -> CNT_THR_EVENT_U_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -67,25 +66,21 @@ impl W { } #[doc = "Bit 0 - The interrupt enable bit for the PCNT_CNT_THR_EVENT_U0_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u0(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the PCNT_CNT_THR_EVENT_U1_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u1(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the PCNT_CNT_THR_EVENT_U2_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u2(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the PCNT_CNT_THR_EVENT_U3_INT interrupt."] #[inline(always)] - #[must_use] pub fn cnt_thr_event_u3(&mut self) -> CNT_THR_EVENT_U_W { CNT_THR_EVENT_U_W::new(self, 3) } diff --git a/esp32s3/src/pcnt/unit/conf0.rs b/esp32s3/src/pcnt/unit/conf0.rs index 5e715c9173..11efe74c98 100644 --- a/esp32s3/src/pcnt/unit/conf0.rs +++ b/esp32s3/src/pcnt/unit/conf0.rs @@ -346,43 +346,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - This sets the maximum threshold, in APB_CLK cycles, for the filter. Any pulses with width less than this will be ignored when the filter is enabled."] #[inline(always)] - #[must_use] pub fn filter_thres(&mut self) -> FILTER_THRES_W { FILTER_THRES_W::new(self, 0) } #[doc = "Bit 10 - This is the enable bit for unit %s's input filter."] #[inline(always)] - #[must_use] pub fn filter_en(&mut self) -> FILTER_EN_W { FILTER_EN_W::new(self, 10) } #[doc = "Bit 11 - This is the enable bit for unit %s's zero comparator."] #[inline(always)] - #[must_use] pub fn thr_zero_en(&mut self) -> THR_ZERO_EN_W { THR_ZERO_EN_W::new(self, 11) } #[doc = "Bit 12 - This is the enable bit for unit %s's thr_h_lim comparator."] #[inline(always)] - #[must_use] pub fn thr_h_lim_en(&mut self) -> THR_H_LIM_EN_W { THR_H_LIM_EN_W::new(self, 12) } #[doc = "Bit 13 - This is the enable bit for unit %s's thr_l_lim comparator."] #[inline(always)] - #[must_use] pub fn thr_l_lim_en(&mut self) -> THR_L_LIM_EN_W { THR_L_LIM_EN_W::new(self, 13) } #[doc = "Bit 14 - This is the enable bit for unit %s's thres0 comparator."] #[inline(always)] - #[must_use] pub fn thr_thres0_en(&mut self) -> THR_THRES0_EN_W { THR_THRES0_EN_W::new(self, 14) } #[doc = "Bit 15 - This is the enable bit for unit %s's thres1 comparator."] #[inline(always)] - #[must_use] pub fn thr_thres1_en(&mut self) -> THR_THRES1_EN_W { THR_THRES1_EN_W::new(self, 15) } @@ -390,7 +383,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_NEG_MODE` field.
"] #[inline(always)] - #[must_use] pub fn ch_neg_mode(&mut self, n: u8) -> CH_NEG_MODE_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -398,13 +390,11 @@ impl W { } #[doc = "Bits 16:17 - Configures the behavior when the signal input of channel 0 detects a negative edge."] #[inline(always)] - #[must_use] pub fn ch0_neg_mode(&mut self) -> CH_NEG_MODE_W { CH_NEG_MODE_W::new(self, 16) } #[doc = "Bits 24:25 - Configures the behavior when the signal input of channel 1 detects a negative edge."] #[inline(always)] - #[must_use] pub fn ch1_neg_mode(&mut self) -> CH_NEG_MODE_W { CH_NEG_MODE_W::new(self, 24) } @@ -412,7 +402,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_POS_MODE` field.
"] #[inline(always)] - #[must_use] pub fn ch_pos_mode(&mut self, n: u8) -> CH_POS_MODE_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -420,13 +409,11 @@ impl W { } #[doc = "Bits 18:19 - Configures the behavior when the signal input of channel 0 detects a positive edge."] #[inline(always)] - #[must_use] pub fn ch0_pos_mode(&mut self) -> CH_POS_MODE_W { CH_POS_MODE_W::new(self, 18) } #[doc = "Bits 26:27 - Configures the behavior when the signal input of channel 1 detects a positive edge."] #[inline(always)] - #[must_use] pub fn ch1_pos_mode(&mut self) -> CH_POS_MODE_W { CH_POS_MODE_W::new(self, 26) } @@ -434,7 +421,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_HCTRL_MODE` field.
"] #[inline(always)] - #[must_use] pub fn ch_hctrl_mode(&mut self, n: u8) -> CH_HCTRL_MODE_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -442,13 +428,11 @@ impl W { } #[doc = "Bits 20:21 - Configures how the CHn_POS_MODE/CHn_NEG_MODE settings will be modified when the control signal is high."] #[inline(always)] - #[must_use] pub fn ch0_hctrl_mode(&mut self) -> CH_HCTRL_MODE_W { CH_HCTRL_MODE_W::new(self, 20) } #[doc = "Bits 28:29 - Configures how the CHn_POS_MODE/CHn_NEG_MODE settings will be modified when the control signal is high."] #[inline(always)] - #[must_use] pub fn ch1_hctrl_mode(&mut self) -> CH_HCTRL_MODE_W { CH_HCTRL_MODE_W::new(self, 28) } @@ -456,7 +440,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_LCTRL_MODE` field.
"] #[inline(always)] - #[must_use] pub fn ch_lctrl_mode(&mut self, n: u8) -> CH_LCTRL_MODE_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -464,13 +447,11 @@ impl W { } #[doc = "Bits 22:23 - Configures how the CHn_POS_MODE/CHn_NEG_MODE settings will be modified when the control signal is low."] #[inline(always)] - #[must_use] pub fn ch0_lctrl_mode(&mut self) -> CH_LCTRL_MODE_W { CH_LCTRL_MODE_W::new(self, 22) } #[doc = "Bits 30:31 - Configures how the CHn_POS_MODE/CHn_NEG_MODE settings will be modified when the control signal is low."] #[inline(always)] - #[must_use] pub fn ch1_lctrl_mode(&mut self) -> CH_LCTRL_MODE_W { CH_LCTRL_MODE_W::new(self, 30) } diff --git a/esp32s3/src/pcnt/unit/conf1.rs b/esp32s3/src/pcnt/unit/conf1.rs index 1585465b67..e88cae6aae 100644 --- a/esp32s3/src/pcnt/unit/conf1.rs +++ b/esp32s3/src/pcnt/unit/conf1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the thres0 value for unit %s."] #[inline(always)] - #[must_use] pub fn cnt_thres0(&mut self) -> CNT_THRES0_W { CNT_THRES0_W::new(self, 0) } #[doc = "Bits 16:31 - This register is used to configure the thres1 value for unit %s."] #[inline(always)] - #[must_use] pub fn cnt_thres1(&mut self) -> CNT_THRES1_W { CNT_THRES1_W::new(self, 16) } diff --git a/esp32s3/src/pcnt/unit/conf2.rs b/esp32s3/src/pcnt/unit/conf2.rs index cfc60509ee..d7b4aaa798 100644 --- a/esp32s3/src/pcnt/unit/conf2.rs +++ b/esp32s3/src/pcnt/unit/conf2.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the thr_h_lim value for unit %s."] #[inline(always)] - #[must_use] pub fn cnt_h_lim(&mut self) -> CNT_H_LIM_W { CNT_H_LIM_W::new(self, 0) } #[doc = "Bits 16:31 - This register is used to configure the thr_l_lim value for unit %s."] #[inline(always)] - #[must_use] pub fn cnt_l_lim(&mut self) -> CNT_L_LIM_W { CNT_L_LIM_W::new(self, 16) } diff --git a/esp32s3/src/peri_backup/apb_addr.rs b/esp32s3/src/peri_backup/apb_addr.rs index 66ef22d215..c6ac934f70 100644 --- a/esp32s3/src/peri_backup/apb_addr.rs +++ b/esp32s3/src/peri_backup/apb_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - x"] #[inline(always)] - #[must_use] pub fn apb_start_addr(&mut self) -> APB_START_ADDR_W { APB_START_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/peri_backup/config.rs b/esp32s3/src/peri_backup/config.rs index 02d75df7dc..2226eb1b16 100644 --- a/esp32s3/src/peri_backup/config.rs +++ b/esp32s3/src/peri_backup/config.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - x"] #[inline(always)] - #[must_use] pub fn addr_map_mode(&mut self) -> ADDR_MAP_MODE_W { ADDR_MAP_MODE_W::new(self, 3) } #[doc = "Bits 4:8 - x"] #[inline(always)] - #[must_use] pub fn burst_limit(&mut self) -> BURST_LIMIT_W { BURST_LIMIT_W::new(self, 4) } #[doc = "Bits 9:18 - x"] #[inline(always)] - #[must_use] pub fn tout_thres(&mut self) -> TOUT_THRES_W { TOUT_THRES_W::new(self, 9) } #[doc = "Bits 19:28 - x"] #[inline(always)] - #[must_use] pub fn size(&mut self) -> SIZE_W { SIZE_W::new(self, 19) } #[doc = "Bit 29 - x"] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 29) } #[doc = "Bit 30 - x"] #[inline(always)] - #[must_use] pub fn to_mem(&mut self) -> TO_MEM_W { TO_MEM_W::new(self, 30) } #[doc = "Bit 31 - x"] #[inline(always)] - #[must_use] pub fn ena(&mut self) -> ENA_W { ENA_W::new(self, 31) } diff --git a/esp32s3/src/peri_backup/date.rs b/esp32s3/src/peri_backup/date.rs index 9c6ef2c2b8..1b7864fcab 100644 --- a/esp32s3/src/peri_backup/date.rs +++ b/esp32s3/src/peri_backup/date.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - x"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } #[doc = "Bit 31 - register file clk gating"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32s3/src/peri_backup/int_clr.rs b/esp32s3/src/peri_backup/int_clr.rs index 732b359b93..490df05e71 100644 --- a/esp32s3/src/peri_backup/int_clr.rs +++ b/esp32s3/src/peri_backup/int_clr.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - x"] #[inline(always)] - #[must_use] pub fn done(&mut self) -> DONE_W { DONE_W::new(self, 0) } #[doc = "Bit 1 - x"] #[inline(always)] - #[must_use] pub fn err(&mut self) -> ERR_W { ERR_W::new(self, 1) } diff --git a/esp32s3/src/peri_backup/int_ena.rs b/esp32s3/src/peri_backup/int_ena.rs index f3268d53dc..530770788f 100644 --- a/esp32s3/src/peri_backup/int_ena.rs +++ b/esp32s3/src/peri_backup/int_ena.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - x"] #[inline(always)] - #[must_use] pub fn done(&mut self) -> DONE_W { DONE_W::new(self, 0) } #[doc = "Bit 1 - x"] #[inline(always)] - #[must_use] pub fn err(&mut self) -> ERR_W { ERR_W::new(self, 1) } diff --git a/esp32s3/src/peri_backup/mem_addr.rs b/esp32s3/src/peri_backup/mem_addr.rs index 3db09363cb..f8b6cbfda2 100644 --- a/esp32s3/src/peri_backup/mem_addr.rs +++ b/esp32s3/src/peri_backup/mem_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - x"] #[inline(always)] - #[must_use] pub fn mem_start_addr(&mut self) -> MEM_START_ADDR_W { MEM_START_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/peri_backup/reg_map0.rs b/esp32s3/src/peri_backup/reg_map0.rs index 6013396a87..4ab9aed5da 100644 --- a/esp32s3/src/peri_backup/reg_map0.rs +++ b/esp32s3/src/peri_backup/reg_map0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - x"] #[inline(always)] - #[must_use] pub fn map0(&mut self) -> MAP0_W { MAP0_W::new(self, 0) } diff --git a/esp32s3/src/peri_backup/reg_map1.rs b/esp32s3/src/peri_backup/reg_map1.rs index f15a13c475..135b85d3bb 100644 --- a/esp32s3/src/peri_backup/reg_map1.rs +++ b/esp32s3/src/peri_backup/reg_map1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - x"] #[inline(always)] - #[must_use] pub fn map1(&mut self) -> MAP1_W { MAP1_W::new(self, 0) } diff --git a/esp32s3/src/peri_backup/reg_map2.rs b/esp32s3/src/peri_backup/reg_map2.rs index 5fed7654b4..97172ce58a 100644 --- a/esp32s3/src/peri_backup/reg_map2.rs +++ b/esp32s3/src/peri_backup/reg_map2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - x"] #[inline(always)] - #[must_use] pub fn map2(&mut self) -> MAP2_W { MAP2_W::new(self, 0) } diff --git a/esp32s3/src/peri_backup/reg_map3.rs b/esp32s3/src/peri_backup/reg_map3.rs index 062975d31a..3f2de61503 100644 --- a/esp32s3/src/peri_backup/reg_map3.rs +++ b/esp32s3/src/peri_backup/reg_map3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - x"] #[inline(always)] - #[must_use] pub fn map3(&mut self) -> MAP3_W { MAP3_W::new(self, 0) } diff --git a/esp32s3/src/rmt.rs b/esp32s3/src/rmt.rs index a8fb0a2d9f..22e42578c3 100644 --- a/esp32s3/src/rmt.rs +++ b/esp32s3/src/rmt.rs @@ -107,18 +107,31 @@ impl RegisterBlock { self.ch_tx_conf0(3) } #[doc = "0x30..0x40 - Channel %s configure register 0"] + #[doc = ""] + #[doc = "
`n` is the index of register in the array. `n == 0` corresponds to `CH4_RX_CONF0` register.
"] #[inline(always)] pub const fn ch_rx_conf0(&self, n: usize) -> &CH_RX_CONF0 { #[allow(clippy::no_effect)] [(); 4][n]; - unsafe { &*(self as *const Self).cast::().add(48).add(8 * n).cast() } + unsafe { + &*core::ptr::from_ref(self) + .cast::() + .add(48) + .add(8 * n) + .cast() + } } #[doc = "Iterator for array of:"] #[doc = "0x30..0x40 - Channel %s configure register 0"] #[inline(always)] pub fn ch_rx_conf0_iter(&self) -> impl Iterator { - (0..4) - .map(move |n| unsafe { &*(self as *const Self).cast::().add(48).add(8 * n).cast() }) + (0..4).map(move |n| unsafe { + &*core::ptr::from_ref(self) + .cast::() + .add(48) + .add(8 * n) + .cast() + }) } #[doc = "0x30 - Channel 4 configure register 0"] #[inline(always)] @@ -141,18 +154,31 @@ impl RegisterBlock { self.ch_rx_conf0(3) } #[doc = "0x34..0x44 - Channel %s configure register 1"] + #[doc = ""] + #[doc = "
`n` is the index of register in the array. `n == 0` corresponds to `CH4_RX_CONF1` register.
"] #[inline(always)] pub const fn ch_rx_conf1(&self, n: usize) -> &CH_RX_CONF1 { #[allow(clippy::no_effect)] [(); 4][n]; - unsafe { &*(self as *const Self).cast::().add(52).add(8 * n).cast() } + unsafe { + &*core::ptr::from_ref(self) + .cast::() + .add(52) + .add(8 * n) + .cast() + } } #[doc = "Iterator for array of:"] #[doc = "0x34..0x44 - Channel %s configure register 1"] #[inline(always)] pub fn ch_rx_conf1_iter(&self) -> impl Iterator { - (0..4) - .map(move |n| unsafe { &*(self as *const Self).cast::().add(52).add(8 * n).cast() }) + (0..4).map(move |n| unsafe { + &*core::ptr::from_ref(self) + .cast::() + .add(52) + .add(8 * n) + .cast() + }) } #[doc = "0x34 - Channel 4 configure register 1"] #[inline(always)] diff --git a/esp32s3/src/rmt/ch_rx_carrier_rm.rs b/esp32s3/src/rmt/ch_rx_carrier_rm.rs index 44001ff925..0444342463 100644 --- a/esp32s3/src/rmt/ch_rx_carrier_rm.rs +++ b/esp32s3/src/rmt/ch_rx_carrier_rm.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The low level period in a carrier modulation mode is (REG_RMT_REG_CARRIER_LOW_THRES_CH%s + 1) for channel %s."] #[inline(always)] - #[must_use] pub fn carrier_low_thres(&mut self) -> CARRIER_LOW_THRES_W { CARRIER_LOW_THRES_W::new(self, 0) } #[doc = "Bits 16:31 - The high level period in a carrier modulation mode is (REG_RMT_REG_CARRIER_HIGH_THRES_CH%s + 1) for channel %s."] #[inline(always)] - #[must_use] pub fn carrier_high_thres(&mut self) -> CARRIER_HIGH_THRES_W { CARRIER_HIGH_THRES_W::new(self, 16) } diff --git a/esp32s3/src/rmt/ch_rx_conf0.rs b/esp32s3/src/rmt/ch_rx_conf0.rs index 48205dcf69..930c1bd028 100644 --- a/esp32s3/src/rmt/ch_rx_conf0.rs +++ b/esp32s3/src/rmt/ch_rx_conf0.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register is used to configure the divider for clock of CHANNEL%s."] #[inline(always)] - #[must_use] pub fn div_cnt(&mut self) -> DIV_CNT_W { DIV_CNT_W::new(self, 0) } #[doc = "Bits 8:22 - When no edge is detected on the input signal and continuous clock cycles is longer than this register value, received process is finished."] #[inline(always)] - #[must_use] pub fn idle_thres(&mut self) -> IDLE_THRES_W { IDLE_THRES_W::new(self, 8) } #[doc = "Bits 24:27 - This register is used to configure the maximum size of memory allocated to CHANNEL%s."] #[inline(always)] - #[must_use] pub fn mem_size(&mut self) -> MEM_SIZE_W { MEM_SIZE_W::new(self, 24) } #[doc = "Bit 28 - This is the carrier modulation enable-control bit for CHANNEL%s. 1: Add carrier modulation in the output signal. 0: No carrier modulation in sig_out."] #[inline(always)] - #[must_use] pub fn carrier_en(&mut self) -> CARRIER_EN_W { CARRIER_EN_W::new(self, 28) } #[doc = "Bit 29 - This bit is used to configure the position of carrier wave for CHANNEL%s. 1'h0: add carrier wave on low level. 1'h1: add carrier wave on high level."] #[inline(always)] - #[must_use] pub fn carrier_out_lv(&mut self) -> CARRIER_OUT_LV_W { CARRIER_OUT_LV_W::new(self, 29) } diff --git a/esp32s3/src/rmt/ch_rx_conf1.rs b/esp32s3/src/rmt/ch_rx_conf1.rs index befc5121de..a9d38cf260 100644 --- a/esp32s3/src/rmt/ch_rx_conf1.rs +++ b/esp32s3/src/rmt/ch_rx_conf1.rs @@ -72,55 +72,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable receiver to receive data on CHANNEL%s."] #[inline(always)] - #[must_use] pub fn rx_en(&mut self) -> RX_EN_W { RX_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to reset write ram address for CHANNEL%s by accessing receiver."] #[inline(always)] - #[must_use] pub fn mem_wr_rst(&mut self) -> MEM_WR_RST_W { MEM_WR_RST_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to reset W/R ram address for CHANNEL%s by accessing apb fifo."] #[inline(always)] - #[must_use] pub fn apb_mem_rst(&mut self) -> APB_MEM_RST_W { APB_MEM_RST_W::new(self, 2) } #[doc = "Bit 3 - This register marks the ownership of CHANNEL%s's ram block. 1'h1: Receiver is using the ram. 1'h0: APB bus is using the ram."] #[inline(always)] - #[must_use] pub fn mem_owner(&mut self) -> MEM_OWNER_W { MEM_OWNER_W::new(self, 3) } #[doc = "Bit 4 - This is the receive filter's enable bit for CHANNEL%s."] #[inline(always)] - #[must_use] pub fn rx_filter_en(&mut self) -> RX_FILTER_EN_W { RX_FILTER_EN_W::new(self, 4) } #[doc = "Bits 5:12 - Ignores the input pulse when its width is smaller than this register value in APB clock periods (in receive mode)."] #[inline(always)] - #[must_use] pub fn rx_filter_thres(&mut self) -> RX_FILTER_THRES_W { RX_FILTER_THRES_W::new(self, 5) } #[doc = "Bit 13 - This is the channel %s enable bit for wraparound mode: it will resume receiving at the start when the data to be received is more than its memory size."] #[inline(always)] - #[must_use] pub fn mem_rx_wrap_en(&mut self) -> MEM_RX_WRAP_EN_W { MEM_RX_WRAP_EN_W::new(self, 13) } #[doc = "Bit 14 - Reserved"] #[inline(always)] - #[must_use] pub fn afifo_rst(&mut self) -> AFIFO_RST_W { AFIFO_RST_W::new(self, 14) } #[doc = "Bit 15 - synchronization bit for CHANNEL%s"] #[inline(always)] - #[must_use] pub fn conf_update(&mut self) -> CONF_UPDATE_W { CONF_UPDATE_W::new(self, 15) } diff --git a/esp32s3/src/rmt/ch_rx_lim.rs b/esp32s3/src/rmt/ch_rx_lim.rs index 94947b4539..ac1d42cdcc 100644 --- a/esp32s3/src/rmt/ch_rx_lim.rs +++ b/esp32s3/src/rmt/ch_rx_lim.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure the maximum entries that CHANNEL%s can receive."] #[inline(always)] - #[must_use] pub fn rx_lim(&mut self) -> RX_LIM_W { RX_LIM_W::new(self, 0) } diff --git a/esp32s3/src/rmt/ch_tx_conf0.rs b/esp32s3/src/rmt/ch_tx_conf0.rs index efbc8b2072..0b70018287 100644 --- a/esp32s3/src/rmt/ch_tx_conf0.rs +++ b/esp32s3/src/rmt/ch_tx_conf0.rs @@ -124,91 +124,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to start sending data on CHANNEL%s."] #[inline(always)] - #[must_use] pub fn tx_start(&mut self) -> TX_START_W { TX_START_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to reset read ram address for CHANNEL%s by accessing transmitter."] #[inline(always)] - #[must_use] pub fn mem_rd_rst(&mut self) -> MEM_RD_RST_W { MEM_RD_RST_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to reset W/R ram address for CHANNEL%s by accessing apb fifo."] #[inline(always)] - #[must_use] pub fn apb_mem_rst(&mut self) -> APB_MEM_RST_W { APB_MEM_RST_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to restart transmission from the first data to the last data in CHANNEL%s."] #[inline(always)] - #[must_use] pub fn tx_conti_mode(&mut self) -> TX_CONTI_MODE_W { TX_CONTI_MODE_W::new(self, 3) } #[doc = "Bit 4 - This is the channel %s enable bit for wraparound mode: it will resume sending at the start when the data to be sent is more than its memory size."] #[inline(always)] - #[must_use] pub fn mem_tx_wrap_en(&mut self) -> MEM_TX_WRAP_EN_W { MEM_TX_WRAP_EN_W::new(self, 4) } #[doc = "Bit 5 - This bit configures the level of output signal in CHANNEL%s when the latter is in IDLE state."] #[inline(always)] - #[must_use] pub fn idle_out_lv(&mut self) -> IDLE_OUT_LV_W { IDLE_OUT_LV_W::new(self, 5) } #[doc = "Bit 6 - This is the output enable-control bit for CHANNEL%s in IDLE state."] #[inline(always)] - #[must_use] pub fn idle_out_en(&mut self) -> IDLE_OUT_EN_W { IDLE_OUT_EN_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to stop the transmitter of CHANNEL%s sending data out."] #[inline(always)] - #[must_use] pub fn tx_stop(&mut self) -> TX_STOP_W { TX_STOP_W::new(self, 7) } #[doc = "Bits 8:15 - This register is used to configure the divider for clock of CHANNEL%s."] #[inline(always)] - #[must_use] pub fn div_cnt(&mut self) -> DIV_CNT_W { DIV_CNT_W::new(self, 8) } #[doc = "Bits 16:19 - This register is used to configure the maximum size of memory allocated to CHANNEL%s."] #[inline(always)] - #[must_use] pub fn mem_size(&mut self) -> MEM_SIZE_W { MEM_SIZE_W::new(self, 16) } #[doc = "Bit 20 - 1: Add carrier modulation on the output signal only at the send data state for CHANNEL%s. 0: Add carrier modulation on the output signal at all state for CHANNEL%s. Only valid when RMT_CARRIER_EN_CH%s is 1."] #[inline(always)] - #[must_use] pub fn carrier_eff_en(&mut self) -> CARRIER_EFF_EN_W { CARRIER_EFF_EN_W::new(self, 20) } #[doc = "Bit 21 - This is the carrier modulation enable-control bit for CHANNEL%s. 1: Add carrier modulation in the output signal. 0: No carrier modulation in sig_out."] #[inline(always)] - #[must_use] pub fn carrier_en(&mut self) -> CARRIER_EN_W { CARRIER_EN_W::new(self, 21) } #[doc = "Bit 22 - This bit is used to configure the position of carrier wave for CHANNEL%s. 1'h0: add carrier wave on low level. 1'h1: add carrier wave on high level."] #[inline(always)] - #[must_use] pub fn carrier_out_lv(&mut self) -> CARRIER_OUT_LV_W { CARRIER_OUT_LV_W::new(self, 22) } #[doc = "Bit 23 - Reserved"] #[inline(always)] - #[must_use] pub fn afifo_rst(&mut self) -> AFIFO_RST_W { AFIFO_RST_W::new(self, 23) } #[doc = "Bit 24 - synchronization bit for CHANNEL%s"] #[inline(always)] - #[must_use] pub fn conf_update(&mut self) -> CONF_UPDATE_W { CONF_UPDATE_W::new(self, 24) } diff --git a/esp32s3/src/rmt/ch_tx_lim.rs b/esp32s3/src/rmt/ch_tx_lim.rs index 34f227c619..39debf5c5b 100644 --- a/esp32s3/src/rmt/ch_tx_lim.rs +++ b/esp32s3/src/rmt/ch_tx_lim.rs @@ -56,31 +56,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - This register is used to configure the maximum entries that CHANNEL%s can send out."] #[inline(always)] - #[must_use] pub fn tx_lim(&mut self) -> TX_LIM_W { TX_LIM_W::new(self, 0) } #[doc = "Bits 9:18 - This register is used to configure the maximum loop count when tx_conti_mode is valid."] #[inline(always)] - #[must_use] pub fn tx_loop_num(&mut self) -> TX_LOOP_NUM_W { TX_LOOP_NUM_W::new(self, 9) } #[doc = "Bit 19 - This register is the enabled bit for loop count."] #[inline(always)] - #[must_use] pub fn tx_loop_cnt_en(&mut self) -> TX_LOOP_CNT_EN_W { TX_LOOP_CNT_EN_W::new(self, 19) } #[doc = "Bit 20 - This register is used to reset the loop count when tx_conti_mode is valid."] #[inline(always)] - #[must_use] pub fn loop_count_reset(&mut self) -> LOOP_COUNT_RESET_W { LOOP_COUNT_RESET_W::new(self, 20) } #[doc = "Bit 21 - This bit is used to enable the loop send stop function after the loop counter counts to loop number for CHANNEL%s."] #[inline(always)] - #[must_use] pub fn loop_stop_en(&mut self) -> LOOP_STOP_EN_W { LOOP_STOP_EN_W::new(self, 21) } diff --git a/esp32s3/src/rmt/chcarrier_duty.rs b/esp32s3/src/rmt/chcarrier_duty.rs index 1aedd08615..a45cf0e6ed 100644 --- a/esp32s3/src/rmt/chcarrier_duty.rs +++ b/esp32s3/src/rmt/chcarrier_duty.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure carrier wave 's low level clock period for CHANNEL%s."] #[inline(always)] - #[must_use] pub fn carrier_low(&mut self) -> CARRIER_LOW_W { CARRIER_LOW_W::new(self, 0) } #[doc = "Bits 16:31 - This register is used to configure carrier wave 's high level clock period for CHANNEL%s."] #[inline(always)] - #[must_use] pub fn carrier_high(&mut self) -> CARRIER_HIGH_W { CARRIER_HIGH_W::new(self, 16) } diff --git a/esp32s3/src/rmt/chdata.rs b/esp32s3/src/rmt/chdata.rs index 7fce764b5e..9cdbe81915 100644 --- a/esp32s3/src/rmt/chdata.rs +++ b/esp32s3/src/rmt/chdata.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Read and write data for channel %s via APB FIFO."] #[inline(always)] - #[must_use] pub fn data(&mut self) -> DATA_W { DATA_W::new(self, 0) } diff --git a/esp32s3/src/rmt/date.rs b/esp32s3/src/rmt/date.rs index b71004c654..cd57af9245 100644 --- a/esp32s3/src/rmt/date.rs +++ b/esp32s3/src/rmt/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - This is the version register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s3/src/rmt/int_clr.rs b/esp32s3/src/rmt/int_clr.rs index 2c645ccf6c..eb0a90ffe6 100644 --- a/esp32s3/src/rmt/int_clr.rs +++ b/esp32s3/src/rmt/int_clr.rs @@ -29,7 +29,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_END` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_end(&mut self, n: u8) -> CH_TX_END_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -37,25 +36,21 @@ impl W { } #[doc = "Bit 0 - Set this bit to clear theCH0_TX_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch0_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear theCH1_TX_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch1_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear theCH2_TX_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch2_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear theCH3_TX_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch3_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 3) } @@ -63,7 +58,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_ERR` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_err(&mut self, n: u8) -> CH_TX_ERR_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -71,25 +65,21 @@ impl W { } #[doc = "Bit 4 - Set this bit to clear theCH0_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch0_tx_err(&mut self) -> CH_TX_ERR_W { CH_TX_ERR_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear theCH1_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch1_tx_err(&mut self) -> CH_TX_ERR_W { CH_TX_ERR_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear theCH2_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch2_tx_err(&mut self) -> CH_TX_ERR_W { CH_TX_ERR_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear theCH3_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch3_tx_err(&mut self) -> CH_TX_ERR_W { CH_TX_ERR_W::new(self, 7) } @@ -97,7 +87,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_THR_EVENT` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_thr_event(&mut self, n: u8) -> CH_TX_THR_EVENT_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -105,25 +94,21 @@ impl W { } #[doc = "Bit 8 - Set this bit to clear theCH0_TX_THR_EVENT_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch0_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear theCH1_TX_THR_EVENT_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch1_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to clear theCH2_TX_THR_EVENT_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch2_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear theCH3_TX_THR_EVENT_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch3_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 11) } @@ -131,7 +116,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_LOOP` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_loop(&mut self, n: u8) -> CH_TX_LOOP_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -139,25 +123,21 @@ impl W { } #[doc = "Bit 12 - Set this bit to clear theCH0_TX_LOOP_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch0_tx_loop(&mut self) -> CH_TX_LOOP_W { CH_TX_LOOP_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to clear theCH1_TX_LOOP_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch1_tx_loop(&mut self) -> CH_TX_LOOP_W { CH_TX_LOOP_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to clear theCH2_TX_LOOP_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch2_tx_loop(&mut self) -> CH_TX_LOOP_W { CH_TX_LOOP_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to clear theCH3_TX_LOOP_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch3_tx_loop(&mut self) -> CH_TX_LOOP_W { CH_TX_LOOP_W::new(self, 15) } @@ -165,7 +145,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH4_RX_END` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_end(&mut self, n: u8) -> CH_RX_END_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -173,25 +152,21 @@ impl W { } #[doc = "Bit 16 - Set this bit to clear theCH4_RX_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch4_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to clear theCH4_RX_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch5_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to clear theCH4_RX_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch6_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to clear theCH4_RX_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch7_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 19) } @@ -199,7 +174,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH4_RX_ERR` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_err(&mut self, n: u8) -> CH_RX_ERR_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -207,25 +181,21 @@ impl W { } #[doc = "Bit 20 - Set this bit to clear theCH4_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch4_rx_err(&mut self) -> CH_RX_ERR_W { CH_RX_ERR_W::new(self, 20) } #[doc = "Bit 21 - Set this bit to clear theCH4_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch5_rx_err(&mut self) -> CH_RX_ERR_W { CH_RX_ERR_W::new(self, 21) } #[doc = "Bit 22 - Set this bit to clear theCH4_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch6_rx_err(&mut self) -> CH_RX_ERR_W { CH_RX_ERR_W::new(self, 22) } #[doc = "Bit 23 - Set this bit to clear theCH4_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch7_rx_err(&mut self) -> CH_RX_ERR_W { CH_RX_ERR_W::new(self, 23) } @@ -233,7 +203,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH4_RX_THR_EVENT` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_thr_event(&mut self, n: u8) -> CH_RX_THR_EVENT_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -241,37 +210,31 @@ impl W { } #[doc = "Bit 24 - Set this bit to clear theCH4_RX_THR_EVENT_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch4_rx_thr_event(&mut self) -> CH_RX_THR_EVENT_W { CH_RX_THR_EVENT_W::new(self, 24) } #[doc = "Bit 25 - Set this bit to clear theCH4_RX_THR_EVENT_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch5_rx_thr_event(&mut self) -> CH_RX_THR_EVENT_W { CH_RX_THR_EVENT_W::new(self, 25) } #[doc = "Bit 26 - Set this bit to clear theCH4_RX_THR_EVENT_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch6_rx_thr_event(&mut self) -> CH_RX_THR_EVENT_W { CH_RX_THR_EVENT_W::new(self, 26) } #[doc = "Bit 27 - Set this bit to clear theCH4_RX_THR_EVENT_INT interrupt."] #[inline(always)] - #[must_use] pub fn ch7_rx_thr_event(&mut self) -> CH_RX_THR_EVENT_W { CH_RX_THR_EVENT_W::new(self, 27) } #[doc = "Bit 28 - Set this bit to clear the CH3_DMA_ACCESS_FAIL_INT interrupt."] #[inline(always)] - #[must_use] pub fn tx_ch3_dma_access_fail(&mut self) -> TX_CH3_DMA_ACCESS_FAIL_W { TX_CH3_DMA_ACCESS_FAIL_W::new(self, 28) } #[doc = "Bit 29 - Set this bit to clear the CH7_DMA_ACCESS_FAIL_INT interrupt."] #[inline(always)] - #[must_use] pub fn rx_ch7_dma_access_fail(&mut self) -> RX_CH7_DMA_ACCESS_FAIL_W { RX_CH7_DMA_ACCESS_FAIL_W::new(self, 29) } diff --git a/esp32s3/src/rmt/int_ena.rs b/esp32s3/src/rmt/int_ena.rs index 8f10479654..be47d40232 100644 --- a/esp32s3/src/rmt/int_ena.rs +++ b/esp32s3/src/rmt/int_ena.rs @@ -337,7 +337,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_END` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_end(&mut self, n: u8) -> CH_TX_END_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -345,25 +344,21 @@ impl W { } #[doc = "Bit 0 - The interrupt enable bit for CH0_TX_END_INT."] #[inline(always)] - #[must_use] pub fn ch0_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for CH1_TX_END_INT."] #[inline(always)] - #[must_use] pub fn ch1_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for CH2_TX_END_INT."] #[inline(always)] - #[must_use] pub fn ch2_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for CH3_TX_END_INT."] #[inline(always)] - #[must_use] pub fn ch3_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 3) } @@ -371,7 +366,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_ERR` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_err(&mut self, n: u8) -> CH_TX_ERR_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -379,25 +373,21 @@ impl W { } #[doc = "Bit 4 - The interrupt enable bit for CH0_ERR_INT."] #[inline(always)] - #[must_use] pub fn ch0_tx_err(&mut self) -> CH_TX_ERR_W { CH_TX_ERR_W::new(self, 4) } #[doc = "Bit 5 - The interrupt enable bit for CH1_ERR_INT."] #[inline(always)] - #[must_use] pub fn ch1_tx_err(&mut self) -> CH_TX_ERR_W { CH_TX_ERR_W::new(self, 5) } #[doc = "Bit 6 - The interrupt enable bit for CH2_ERR_INT."] #[inline(always)] - #[must_use] pub fn ch2_tx_err(&mut self) -> CH_TX_ERR_W { CH_TX_ERR_W::new(self, 6) } #[doc = "Bit 7 - The interrupt enable bit for CH3_ERR_INT."] #[inline(always)] - #[must_use] pub fn ch3_tx_err(&mut self) -> CH_TX_ERR_W { CH_TX_ERR_W::new(self, 7) } @@ -405,7 +395,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_THR_EVENT` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_thr_event(&mut self, n: u8) -> CH_TX_THR_EVENT_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -413,25 +402,21 @@ impl W { } #[doc = "Bit 8 - The interrupt enable bit for CH0_TX_THR_EVENT_INT."] #[inline(always)] - #[must_use] pub fn ch0_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 8) } #[doc = "Bit 9 - The interrupt enable bit for CH1_TX_THR_EVENT_INT."] #[inline(always)] - #[must_use] pub fn ch1_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 9) } #[doc = "Bit 10 - The interrupt enable bit for CH2_TX_THR_EVENT_INT."] #[inline(always)] - #[must_use] pub fn ch2_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 10) } #[doc = "Bit 11 - The interrupt enable bit for CH3_TX_THR_EVENT_INT."] #[inline(always)] - #[must_use] pub fn ch3_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 11) } @@ -439,7 +424,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_LOOP` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_loop(&mut self, n: u8) -> CH_TX_LOOP_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -447,25 +431,21 @@ impl W { } #[doc = "Bit 12 - The interrupt enable bit for CH0_TX_LOOP_INT."] #[inline(always)] - #[must_use] pub fn ch0_tx_loop(&mut self) -> CH_TX_LOOP_W { CH_TX_LOOP_W::new(self, 12) } #[doc = "Bit 13 - The interrupt enable bit for CH1_TX_LOOP_INT."] #[inline(always)] - #[must_use] pub fn ch1_tx_loop(&mut self) -> CH_TX_LOOP_W { CH_TX_LOOP_W::new(self, 13) } #[doc = "Bit 14 - The interrupt enable bit for CH2_TX_LOOP_INT."] #[inline(always)] - #[must_use] pub fn ch2_tx_loop(&mut self) -> CH_TX_LOOP_W { CH_TX_LOOP_W::new(self, 14) } #[doc = "Bit 15 - The interrupt enable bit for CH3_TX_LOOP_INT."] #[inline(always)] - #[must_use] pub fn ch3_tx_loop(&mut self) -> CH_TX_LOOP_W { CH_TX_LOOP_W::new(self, 15) } @@ -473,7 +453,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH4_RX_END` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_end(&mut self, n: u8) -> CH_RX_END_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -481,25 +460,21 @@ impl W { } #[doc = "Bit 16 - The interrupt enable bit for CH4_RX_END_INT."] #[inline(always)] - #[must_use] pub fn ch4_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 16) } #[doc = "Bit 17 - The interrupt enable bit for CH4_RX_END_INT."] #[inline(always)] - #[must_use] pub fn ch5_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 17) } #[doc = "Bit 18 - The interrupt enable bit for CH4_RX_END_INT."] #[inline(always)] - #[must_use] pub fn ch6_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 18) } #[doc = "Bit 19 - The interrupt enable bit for CH4_RX_END_INT."] #[inline(always)] - #[must_use] pub fn ch7_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 19) } @@ -507,7 +482,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH4_RX_ERR` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_err(&mut self, n: u8) -> CH_RX_ERR_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -515,25 +489,21 @@ impl W { } #[doc = "Bit 20 - The interrupt enable bit for CH4_ERR_INT."] #[inline(always)] - #[must_use] pub fn ch4_rx_err(&mut self) -> CH_RX_ERR_W { CH_RX_ERR_W::new(self, 20) } #[doc = "Bit 21 - The interrupt enable bit for CH4_ERR_INT."] #[inline(always)] - #[must_use] pub fn ch5_rx_err(&mut self) -> CH_RX_ERR_W { CH_RX_ERR_W::new(self, 21) } #[doc = "Bit 22 - The interrupt enable bit for CH4_ERR_INT."] #[inline(always)] - #[must_use] pub fn ch6_rx_err(&mut self) -> CH_RX_ERR_W { CH_RX_ERR_W::new(self, 22) } #[doc = "Bit 23 - The interrupt enable bit for CH4_ERR_INT."] #[inline(always)] - #[must_use] pub fn ch7_rx_err(&mut self) -> CH_RX_ERR_W { CH_RX_ERR_W::new(self, 23) } @@ -541,7 +511,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH4_RX_THR_EVENT` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_thr_event(&mut self, n: u8) -> CH_RX_THR_EVENT_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -549,37 +518,31 @@ impl W { } #[doc = "Bit 24 - The interrupt enable bit for CH4_RX_THR_EVENT_INT."] #[inline(always)] - #[must_use] pub fn ch4_rx_thr_event(&mut self) -> CH_RX_THR_EVENT_W { CH_RX_THR_EVENT_W::new(self, 24) } #[doc = "Bit 25 - The interrupt enable bit for CH4_RX_THR_EVENT_INT."] #[inline(always)] - #[must_use] pub fn ch5_rx_thr_event(&mut self) -> CH_RX_THR_EVENT_W { CH_RX_THR_EVENT_W::new(self, 25) } #[doc = "Bit 26 - The interrupt enable bit for CH4_RX_THR_EVENT_INT."] #[inline(always)] - #[must_use] pub fn ch6_rx_thr_event(&mut self) -> CH_RX_THR_EVENT_W { CH_RX_THR_EVENT_W::new(self, 26) } #[doc = "Bit 27 - The interrupt enable bit for CH4_RX_THR_EVENT_INT."] #[inline(always)] - #[must_use] pub fn ch7_rx_thr_event(&mut self) -> CH_RX_THR_EVENT_W { CH_RX_THR_EVENT_W::new(self, 27) } #[doc = "Bit 28 - The interrupt enable bit for CH3_DMA_ACCESS_FAIL_INT."] #[inline(always)] - #[must_use] pub fn tx_ch3_dma_access_fail(&mut self) -> TX_CH3_DMA_ACCESS_FAIL_W { TX_CH3_DMA_ACCESS_FAIL_W::new(self, 28) } #[doc = "Bit 29 - The interrupt enable bit for CH7_DMA_ACCESS_FAIL_INT."] #[inline(always)] - #[must_use] pub fn rx_ch7_dma_access_fail(&mut self) -> RX_CH7_DMA_ACCESS_FAIL_W { RX_CH7_DMA_ACCESS_FAIL_W::new(self, 29) } diff --git a/esp32s3/src/rmt/int_raw.rs b/esp32s3/src/rmt/int_raw.rs index ff111c75fc..e4da0b870b 100644 --- a/esp32s3/src/rmt/int_raw.rs +++ b/esp32s3/src/rmt/int_raw.rs @@ -337,7 +337,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_END` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_end(&mut self, n: u8) -> CH_TX_END_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -345,25 +344,21 @@ impl W { } #[doc = "Bit 0 - The interrupt raw bit for CHANNEL0. Triggered when transmission done."] #[inline(always)] - #[must_use] pub fn ch0_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 0) } #[doc = "Bit 1 - The interrupt raw bit for CHANNEL1. Triggered when transmission done."] #[inline(always)] - #[must_use] pub fn ch1_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 1) } #[doc = "Bit 2 - The interrupt raw bit for CHANNEL2. Triggered when transmission done."] #[inline(always)] - #[must_use] pub fn ch2_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 2) } #[doc = "Bit 3 - The interrupt raw bit for CHANNEL3. Triggered when transmission done."] #[inline(always)] - #[must_use] pub fn ch3_tx_end(&mut self) -> CH_TX_END_W { CH_TX_END_W::new(self, 3) } @@ -371,7 +366,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_ERR` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_err(&mut self, n: u8) -> CH_TX_ERR_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -379,25 +373,21 @@ impl W { } #[doc = "Bit 4 - The interrupt raw bit for CHANNEL0. Triggered when error occurs."] #[inline(always)] - #[must_use] pub fn ch0_tx_err(&mut self) -> CH_TX_ERR_W { CH_TX_ERR_W::new(self, 4) } #[doc = "Bit 5 - The interrupt raw bit for CHANNEL1. Triggered when error occurs."] #[inline(always)] - #[must_use] pub fn ch1_tx_err(&mut self) -> CH_TX_ERR_W { CH_TX_ERR_W::new(self, 5) } #[doc = "Bit 6 - The interrupt raw bit for CHANNEL2. Triggered when error occurs."] #[inline(always)] - #[must_use] pub fn ch2_tx_err(&mut self) -> CH_TX_ERR_W { CH_TX_ERR_W::new(self, 6) } #[doc = "Bit 7 - The interrupt raw bit for CHANNEL3. Triggered when error occurs."] #[inline(always)] - #[must_use] pub fn ch3_tx_err(&mut self) -> CH_TX_ERR_W { CH_TX_ERR_W::new(self, 7) } @@ -405,7 +395,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_THR_EVENT` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_thr_event(&mut self, n: u8) -> CH_TX_THR_EVENT_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -413,25 +402,21 @@ impl W { } #[doc = "Bit 8 - The interrupt raw bit for CHANNEL0. Triggered when transmitter sent more data than configured value."] #[inline(always)] - #[must_use] pub fn ch0_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 8) } #[doc = "Bit 9 - The interrupt raw bit for CHANNEL1. Triggered when transmitter sent more data than configured value."] #[inline(always)] - #[must_use] pub fn ch1_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 9) } #[doc = "Bit 10 - The interrupt raw bit for CHANNEL2. Triggered when transmitter sent more data than configured value."] #[inline(always)] - #[must_use] pub fn ch2_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 10) } #[doc = "Bit 11 - The interrupt raw bit for CHANNEL3. Triggered when transmitter sent more data than configured value."] #[inline(always)] - #[must_use] pub fn ch3_tx_thr_event(&mut self) -> CH_TX_THR_EVENT_W { CH_TX_THR_EVENT_W::new(self, 11) } @@ -439,7 +424,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0_TX_LOOP` field.
"] #[inline(always)] - #[must_use] pub fn ch_tx_loop(&mut self, n: u8) -> CH_TX_LOOP_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -447,25 +431,21 @@ impl W { } #[doc = "Bit 12 - The interrupt raw bit for CHANNEL0. Triggered when the loop count reaches the configured threshold value."] #[inline(always)] - #[must_use] pub fn ch0_tx_loop(&mut self) -> CH_TX_LOOP_W { CH_TX_LOOP_W::new(self, 12) } #[doc = "Bit 13 - The interrupt raw bit for CHANNEL1. Triggered when the loop count reaches the configured threshold value."] #[inline(always)] - #[must_use] pub fn ch1_tx_loop(&mut self) -> CH_TX_LOOP_W { CH_TX_LOOP_W::new(self, 13) } #[doc = "Bit 14 - The interrupt raw bit for CHANNEL2. Triggered when the loop count reaches the configured threshold value."] #[inline(always)] - #[must_use] pub fn ch2_tx_loop(&mut self) -> CH_TX_LOOP_W { CH_TX_LOOP_W::new(self, 14) } #[doc = "Bit 15 - The interrupt raw bit for CHANNEL3. Triggered when the loop count reaches the configured threshold value."] #[inline(always)] - #[must_use] pub fn ch3_tx_loop(&mut self) -> CH_TX_LOOP_W { CH_TX_LOOP_W::new(self, 15) } @@ -473,7 +453,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH4_RX_END` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_end(&mut self, n: u8) -> CH_RX_END_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -481,25 +460,21 @@ impl W { } #[doc = "Bit 16 - The interrupt raw bit for CHANNEL4. Triggered when reception done."] #[inline(always)] - #[must_use] pub fn ch4_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 16) } #[doc = "Bit 17 - The interrupt raw bit for CHANNEL4. Triggered when reception done."] #[inline(always)] - #[must_use] pub fn ch5_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 17) } #[doc = "Bit 18 - The interrupt raw bit for CHANNEL4. Triggered when reception done."] #[inline(always)] - #[must_use] pub fn ch6_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 18) } #[doc = "Bit 19 - The interrupt raw bit for CHANNEL4. Triggered when reception done."] #[inline(always)] - #[must_use] pub fn ch7_rx_end(&mut self) -> CH_RX_END_W { CH_RX_END_W::new(self, 19) } @@ -507,7 +482,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH4_RX_ERR` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_err(&mut self, n: u8) -> CH_RX_ERR_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -515,25 +489,21 @@ impl W { } #[doc = "Bit 20 - The interrupt raw bit for CHANNEL4. Triggered when error occurs."] #[inline(always)] - #[must_use] pub fn ch4_rx_err(&mut self) -> CH_RX_ERR_W { CH_RX_ERR_W::new(self, 20) } #[doc = "Bit 21 - The interrupt raw bit for CHANNEL4. Triggered when error occurs."] #[inline(always)] - #[must_use] pub fn ch5_rx_err(&mut self) -> CH_RX_ERR_W { CH_RX_ERR_W::new(self, 21) } #[doc = "Bit 22 - The interrupt raw bit for CHANNEL4. Triggered when error occurs."] #[inline(always)] - #[must_use] pub fn ch6_rx_err(&mut self) -> CH_RX_ERR_W { CH_RX_ERR_W::new(self, 22) } #[doc = "Bit 23 - The interrupt raw bit for CHANNEL4. Triggered when error occurs."] #[inline(always)] - #[must_use] pub fn ch7_rx_err(&mut self) -> CH_RX_ERR_W { CH_RX_ERR_W::new(self, 23) } @@ -541,7 +511,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH4_RX_THR_EVENT` field.
"] #[inline(always)] - #[must_use] pub fn ch_rx_thr_event(&mut self, n: u8) -> CH_RX_THR_EVENT_W { #[allow(clippy::no_effect)] [(); 4][n as usize]; @@ -549,37 +518,31 @@ impl W { } #[doc = "Bit 24 - The interrupt raw bit for CHANNEL4. Triggered when receiver receive more data than configured value."] #[inline(always)] - #[must_use] pub fn ch4_rx_thr_event(&mut self) -> CH_RX_THR_EVENT_W { CH_RX_THR_EVENT_W::new(self, 24) } #[doc = "Bit 25 - The interrupt raw bit for CHANNEL4. Triggered when receiver receive more data than configured value."] #[inline(always)] - #[must_use] pub fn ch5_rx_thr_event(&mut self) -> CH_RX_THR_EVENT_W { CH_RX_THR_EVENT_W::new(self, 25) } #[doc = "Bit 26 - The interrupt raw bit for CHANNEL4. Triggered when receiver receive more data than configured value."] #[inline(always)] - #[must_use] pub fn ch6_rx_thr_event(&mut self) -> CH_RX_THR_EVENT_W { CH_RX_THR_EVENT_W::new(self, 26) } #[doc = "Bit 27 - The interrupt raw bit for CHANNEL4. Triggered when receiver receive more data than configured value."] #[inline(always)] - #[must_use] pub fn ch7_rx_thr_event(&mut self) -> CH_RX_THR_EVENT_W { CH_RX_THR_EVENT_W::new(self, 27) } #[doc = "Bit 28 - The interrupt raw bit for CHANNEL3. Triggered when dma accessing CHANNEL3 fails."] #[inline(always)] - #[must_use] pub fn tx_ch3_dma_access_fail(&mut self) -> TX_CH3_DMA_ACCESS_FAIL_W { TX_CH3_DMA_ACCESS_FAIL_W::new(self, 28) } #[doc = "Bit 29 - The interrupt raw bit for CHANNEL7. Triggered when dma accessing CHANNEL7 fails."] #[inline(always)] - #[must_use] pub fn rx_ch7_dma_access_fail(&mut self) -> RX_CH7_DMA_ACCESS_FAIL_W { RX_CH7_DMA_ACCESS_FAIL_W::new(self, 29) } diff --git a/esp32s3/src/rmt/ref_cnt_rst.rs b/esp32s3/src/rmt/ref_cnt_rst.rs index aaf95b5e49..a602b2abac 100644 --- a/esp32s3/src/rmt/ref_cnt_rst.rs +++ b/esp32s3/src/rmt/ref_cnt_rst.rs @@ -13,7 +13,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CH0` field.
"] #[inline(always)] - #[must_use] pub fn ch(&mut self, n: u8) -> CH_W { #[allow(clippy::no_effect)] [(); 8][n as usize]; @@ -21,49 +20,41 @@ impl W { } #[doc = "Bit 0 - This register is used to reset the clock divider of CHANNEL0."] #[inline(always)] - #[must_use] pub fn ch0(&mut self) -> CH_W { CH_W::new(self, 0) } #[doc = "Bit 1 - This register is used to reset the clock divider of CHANNEL1."] #[inline(always)] - #[must_use] pub fn ch1(&mut self) -> CH_W { CH_W::new(self, 1) } #[doc = "Bit 2 - This register is used to reset the clock divider of CHANNEL2."] #[inline(always)] - #[must_use] pub fn ch2(&mut self) -> CH_W { CH_W::new(self, 2) } #[doc = "Bit 3 - This register is used to reset the clock divider of CHANNEL3."] #[inline(always)] - #[must_use] pub fn ch3(&mut self) -> CH_W { CH_W::new(self, 3) } #[doc = "Bit 4 - This register is used to reset the clock divider of CHANNEL4."] #[inline(always)] - #[must_use] pub fn ch4(&mut self) -> CH_W { CH_W::new(self, 4) } #[doc = "Bit 5 - This register is used to reset the clock divider of CHANNEL5."] #[inline(always)] - #[must_use] pub fn ch5(&mut self) -> CH_W { CH_W::new(self, 5) } #[doc = "Bit 6 - This register is used to reset the clock divider of CHANNEL6."] #[inline(always)] - #[must_use] pub fn ch6(&mut self) -> CH_W { CH_W::new(self, 6) } #[doc = "Bit 7 - This register is used to reset the clock divider of CHANNEL7."] #[inline(always)] - #[must_use] pub fn ch7(&mut self) -> CH_W { CH_W::new(self, 7) } diff --git a/esp32s3/src/rmt/sys_conf.rs b/esp32s3/src/rmt/sys_conf.rs index 9371d428d5..4922aeb4c2 100644 --- a/esp32s3/src/rmt/sys_conf.rs +++ b/esp32s3/src/rmt/sys_conf.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1'h1: access memory directly. 1'h0: access memory by FIFO."] #[inline(always)] - #[must_use] pub fn apb_fifo_mask(&mut self) -> APB_FIFO_MASK_W { APB_FIFO_MASK_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to enable the clock for RMT memory."] #[inline(always)] - #[must_use] pub fn mem_clk_force_on(&mut self) -> MEM_CLK_FORCE_ON_W { MEM_CLK_FORCE_ON_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to power down RMT memory."] #[inline(always)] - #[must_use] pub fn mem_force_pd(&mut self) -> MEM_FORCE_PD_W { MEM_FORCE_PD_W::new(self, 2) } #[doc = "Bit 3 - 1: Disable RMT memory light sleep power down function. 0: Power down RMT memory when RMT is in light sleep mode."] #[inline(always)] - #[must_use] pub fn mem_force_pu(&mut self) -> MEM_FORCE_PU_W { MEM_FORCE_PU_W::new(self, 3) } #[doc = "Bits 4:11 - the integral part of the fractional divisor"] #[inline(always)] - #[must_use] pub fn sclk_div_num(&mut self) -> SCLK_DIV_NUM_W { SCLK_DIV_NUM_W::new(self, 4) } #[doc = "Bits 12:17 - the numerator of the fractional part of the fractional divisor"] #[inline(always)] - #[must_use] pub fn sclk_div_a(&mut self) -> SCLK_DIV_A_W { SCLK_DIV_A_W::new(self, 12) } #[doc = "Bits 18:23 - the denominator of the fractional part of the fractional divisor"] #[inline(always)] - #[must_use] pub fn sclk_div_b(&mut self) -> SCLK_DIV_B_W { SCLK_DIV_B_W::new(self, 18) } #[doc = "Bits 24:25 - choose the clock source of rmt_sclk. 1:CLK_80Mhz;2:CLK_8MHz; 2:XTAL"] #[inline(always)] - #[must_use] pub fn sclk_sel(&mut self) -> SCLK_SEL_W { SCLK_SEL_W::new(self, 24) } #[doc = "Bit 26 - rmt_sclk switch"] #[inline(always)] - #[must_use] pub fn sclk_active(&mut self) -> SCLK_ACTIVE_W { SCLK_ACTIVE_W::new(self, 26) } #[doc = "Bit 31 - RMT register clock gate enable signal. 1: Power up the drive clock of registers. 0: Power down the drive clock of registers"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32s3/src/rmt/tx_sim.rs b/esp32s3/src/rmt/tx_sim.rs index edada0cb4d..4d0bb2f875 100644 --- a/esp32s3/src/rmt/tx_sim.rs +++ b/esp32s3/src/rmt/tx_sim.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable CHANNEL0 to start sending data synchronously with other enabled channels."] #[inline(always)] - #[must_use] pub fn ch0(&mut self) -> CH0_W { CH0_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to enable CHANNEL1 to start sending data synchronously with other enabled channels."] #[inline(always)] - #[must_use] pub fn ch1(&mut self) -> CH1_W { CH1_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to enable CHANNEL2 to start sending data synchronously with other enabled channels."] #[inline(always)] - #[must_use] pub fn ch2(&mut self) -> CH2_W { CH2_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to enable CHANNEL3 to start sending data synchronously with other enabled channels."] #[inline(always)] - #[must_use] pub fn ch3(&mut self) -> CH3_W { CH3_W::new(self, 3) } #[doc = "Bit 4 - This register is used to enable multiple of channels to start sending data synchronously."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 4) } diff --git a/esp32s3/src/rsa/constant_time.rs b/esp32s3/src/rsa/constant_time.rs index 01a6e5b6aa..08894c85e6 100644 --- a/esp32s3/src/rsa/constant_time.rs +++ b/esp32s3/src/rsa/constant_time.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Controls the CONSTANT_TIME option. 0: acceleration. 1: no acceleration(by default)."] #[inline(always)] - #[must_use] pub fn constant_time(&mut self) -> CONSTANT_TIME_W { CONSTANT_TIME_W::new(self, 0) } diff --git a/esp32s3/src/rsa/date.rs b/esp32s3/src/rsa/date.rs index 79e40b7c55..92d5be2b70 100644 --- a/esp32s3/src/rsa/date.rs +++ b/esp32s3/src/rsa/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - rsa version information"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s3/src/rsa/int_clr.rs b/esp32s3/src/rsa/int_clr.rs index 8062163589..2a7e20f1d2 100644 --- a/esp32s3/src/rsa/int_clr.rs +++ b/esp32s3/src/rsa/int_clr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - set this bit to 1 to clear the RSA interrupt."] #[inline(always)] - #[must_use] pub fn int_clr(&mut self) -> INT_CLR_W { INT_CLR_W::new(self, 0) } diff --git a/esp32s3/src/rsa/int_ena.rs b/esp32s3/src/rsa/int_ena.rs index f586503c05..dc7de5d0db 100644 --- a/esp32s3/src/rsa/int_ena.rs +++ b/esp32s3/src/rsa/int_ena.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to 1 to enable the RSA interrupt. This option is enabled by default."] #[inline(always)] - #[must_use] pub fn int_ena(&mut self) -> INT_ENA_W { INT_ENA_W::new(self, 0) } diff --git a/esp32s3/src/rsa/m_prime.rs b/esp32s3/src/rsa/m_prime.rs index c12354ce00..e6dfa383ab 100644 --- a/esp32s3/src/rsa/m_prime.rs +++ b/esp32s3/src/rsa/m_prime.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stores M'"] #[inline(always)] - #[must_use] pub fn m_prime(&mut self) -> M_PRIME_W { M_PRIME_W::new(self, 0) } diff --git a/esp32s3/src/rsa/mode.rs b/esp32s3/src/rsa/mode.rs index 42885adaf4..b84dd88b12 100644 --- a/esp32s3/src/rsa/mode.rs +++ b/esp32s3/src/rsa/mode.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Stores the RSA length mode"] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 0) } diff --git a/esp32s3/src/rsa/modexp_start.rs b/esp32s3/src/rsa/modexp_start.rs index 44f6cbd7a7..96859ec757 100644 --- a/esp32s3/src/rsa/modexp_start.rs +++ b/esp32s3/src/rsa/modexp_start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to 1 to start the modular exponentiation."] #[inline(always)] - #[must_use] pub fn modexp_start(&mut self) -> MODEXP_START_W { MODEXP_START_W::new(self, 0) } diff --git a/esp32s3/src/rsa/modmult_start.rs b/esp32s3/src/rsa/modmult_start.rs index f99704f38e..5ac6f096d6 100644 --- a/esp32s3/src/rsa/modmult_start.rs +++ b/esp32s3/src/rsa/modmult_start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to 1 to start the modular multiplication"] #[inline(always)] - #[must_use] pub fn modmult_start(&mut self) -> MODMULT_START_W { MODMULT_START_W::new(self, 0) } diff --git a/esp32s3/src/rsa/mult_start.rs b/esp32s3/src/rsa/mult_start.rs index 67417b768d..59e5b3ea2a 100644 --- a/esp32s3/src/rsa/mult_start.rs +++ b/esp32s3/src/rsa/mult_start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to 1 to start the multiplicaiton."] #[inline(always)] - #[must_use] pub fn mult_start(&mut self) -> MULT_START_W { MULT_START_W::new(self, 0) } diff --git a/esp32s3/src/rsa/search_enable.rs b/esp32s3/src/rsa/search_enable.rs index 989c78c8a1..9e060b00e4 100644 --- a/esp32s3/src/rsa/search_enable.rs +++ b/esp32s3/src/rsa/search_enable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Controls the SEARCH option. 0: no acceleration(by default). 1: acceleration."] #[inline(always)] - #[must_use] pub fn search_enable(&mut self) -> SEARCH_ENABLE_W { SEARCH_ENABLE_W::new(self, 0) } diff --git a/esp32s3/src/rsa/search_pos.rs b/esp32s3/src/rsa/search_pos.rs index 7f042d1f70..1120a068bc 100644 --- a/esp32s3/src/rsa/search_pos.rs +++ b/esp32s3/src/rsa/search_pos.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - This field is used to configure the starting search position when the acceleration option of SEARCH is used."] #[inline(always)] - #[must_use] pub fn search_pos(&mut self) -> SEARCH_POS_W { SEARCH_POS_W::new(self, 0) } diff --git a/esp32s3/src/rtc_cntl/ana_conf.rs b/esp32s3/src/rtc_cntl/ana_conf.rs index f5a19b437d..2ee9bf549b 100644 --- a/esp32s3/src/rtc_cntl/ana_conf.rs +++ b/esp32s3/src/rtc_cntl/ana_conf.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 18 - force down I2C_RESET_POR"] #[inline(always)] - #[must_use] pub fn i2c_reset_por_force_pd(&mut self) -> I2C_RESET_POR_FORCE_PD_W { I2C_RESET_POR_FORCE_PD_W::new(self, 18) } #[doc = "Bit 19 - force on I2C_RESET_POR"] #[inline(always)] - #[must_use] pub fn i2c_reset_por_force_pu(&mut self) -> I2C_RESET_POR_FORCE_PU_W { I2C_RESET_POR_FORCE_PU_W::new(self, 19) } #[doc = "Bit 20 - enable clk glitch"] #[inline(always)] - #[must_use] pub fn glitch_rst_en(&mut self) -> GLITCH_RST_EN_W { GLITCH_RST_EN_W::new(self, 20) } #[doc = "Bit 22 - PLLA force power up"] #[inline(always)] - #[must_use] pub fn sar_i2c_pu(&mut self) -> SAR_I2C_PU_W { SAR_I2C_PU_W::new(self, 22) } #[doc = "Bit 23 - PLLA force power down"] #[inline(always)] - #[must_use] pub fn analog_top_iso_sleep(&mut self) -> ANALOG_TOP_ISO_SLEEP_W { ANALOG_TOP_ISO_SLEEP_W::new(self, 23) } #[doc = "Bit 24 - PLLA force power up"] #[inline(always)] - #[must_use] pub fn analog_top_iso_monitor(&mut self) -> ANALOG_TOP_ISO_MONITOR_W { ANALOG_TOP_ISO_MONITOR_W::new(self, 24) } #[doc = "Bit 25 - start BBPLL calibration during sleep"] #[inline(always)] - #[must_use] pub fn bbpll_cal_slp_start(&mut self) -> BBPLL_CAL_SLP_START_W { BBPLL_CAL_SLP_START_W::new(self, 25) } #[doc = "Bit 26 - 1: PVTMON power up, otherwise power down"] #[inline(always)] - #[must_use] pub fn pvtmon_pu(&mut self) -> PVTMON_PU_W { PVTMON_PU_W::new(self, 26) } #[doc = "Bit 27 - 1: TXRF_I2C power up, otherwise power down"] #[inline(always)] - #[must_use] pub fn txrf_i2c_pu(&mut self) -> TXRF_I2C_PU_W { TXRF_I2C_PU_W::new(self, 27) } #[doc = "Bit 28 - 1: RFRX_PBUS power up, otherwise power down"] #[inline(always)] - #[must_use] pub fn rfrx_pbus_pu(&mut self) -> RFRX_PBUS_PU_W { RFRX_PBUS_PU_W::new(self, 28) } #[doc = "Bit 30 - 1: CKGEN_I2C power up, otherwise power down"] #[inline(always)] - #[must_use] pub fn ckgen_i2c_pu(&mut self) -> CKGEN_I2C_PU_W { CKGEN_I2C_PU_W::new(self, 30) } #[doc = "Bit 31 - power on pll i2c"] #[inline(always)] - #[must_use] pub fn pll_i2c_pu(&mut self) -> PLL_I2C_PU_W { PLL_I2C_PU_W::new(self, 31) } diff --git a/esp32s3/src/rtc_cntl/bias_conf.rs b/esp32s3/src/rtc_cntl/bias_conf.rs index dd9c0add03..65ed7a2ee3 100644 --- a/esp32s3/src/rtc_cntl/bias_conf.rs +++ b/esp32s3/src/rtc_cntl/bias_conf.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 10 - No public"] #[inline(always)] - #[must_use] pub fn bias_buf_idle(&mut self) -> BIAS_BUF_IDLE_W { BIAS_BUF_IDLE_W::new(self, 10) } #[doc = "Bit 11 - No public"] #[inline(always)] - #[must_use] pub fn bias_buf_wake(&mut self) -> BIAS_BUF_WAKE_W { BIAS_BUF_WAKE_W::new(self, 11) } #[doc = "Bit 12 - No public"] #[inline(always)] - #[must_use] pub fn bias_buf_deep_slp(&mut self) -> BIAS_BUF_DEEP_SLP_W { BIAS_BUF_DEEP_SLP_W::new(self, 12) } #[doc = "Bit 13 - No public"] #[inline(always)] - #[must_use] pub fn bias_buf_monitor(&mut self) -> BIAS_BUF_MONITOR_W { BIAS_BUF_MONITOR_W::new(self, 13) } #[doc = "Bit 14 - xpd cur when rtc in sleep_state"] #[inline(always)] - #[must_use] pub fn pd_cur_deep_slp(&mut self) -> PD_CUR_DEEP_SLP_W { PD_CUR_DEEP_SLP_W::new(self, 14) } #[doc = "Bit 15 - xpd cur when rtc in monitor state"] #[inline(always)] - #[must_use] pub fn pd_cur_monitor(&mut self) -> PD_CUR_MONITOR_W { PD_CUR_MONITOR_W::new(self, 15) } #[doc = "Bit 16 - bias_sleep when rtc in sleep_state"] #[inline(always)] - #[must_use] pub fn bias_sleep_deep_slp(&mut self) -> BIAS_SLEEP_DEEP_SLP_W { BIAS_SLEEP_DEEP_SLP_W::new(self, 16) } #[doc = "Bit 17 - bias_sleep when rtc in monitor state"] #[inline(always)] - #[must_use] pub fn bias_sleep_monitor(&mut self) -> BIAS_SLEEP_MONITOR_W { BIAS_SLEEP_MONITOR_W::new(self, 17) } #[doc = "Bits 18:21 - DBG_ATTEN when rtc in sleep state"] #[inline(always)] - #[must_use] pub fn dbg_atten_deep_slp(&mut self) -> DBG_ATTEN_DEEP_SLP_W { DBG_ATTEN_DEEP_SLP_W::new(self, 18) } #[doc = "Bits 22:25 - DBG_ATTEN when rtc in monitor state"] #[inline(always)] - #[must_use] pub fn dbg_atten_monitor(&mut self) -> DBG_ATTEN_MONITOR_W { DBG_ATTEN_MONITOR_W::new(self, 22) } #[doc = "Bits 26:29 - No public"] #[inline(always)] - #[must_use] pub fn dbg_atten_wakeup(&mut self) -> DBG_ATTEN_WAKEUP_W { DBG_ATTEN_WAKEUP_W::new(self, 26) } diff --git a/esp32s3/src/rtc_cntl/brown_out.rs b/esp32s3/src/rtc_cntl/brown_out.rs index 04709677eb..3d21335e58 100644 --- a/esp32s3/src/rtc_cntl/brown_out.rs +++ b/esp32s3/src/rtc_cntl/brown_out.rs @@ -107,55 +107,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 4:13 - brown out interrupt wait cycles"] #[inline(always)] - #[must_use] pub fn brown_out_int_wait(&mut self) -> BROWN_OUT_INT_WAIT_W { BROWN_OUT_INT_WAIT_W::new(self, 4) } #[doc = "Bit 14 - enable close flash when brown out happens"] #[inline(always)] - #[must_use] pub fn brown_out_close_flash_ena(&mut self) -> BROWN_OUT_CLOSE_FLASH_ENA_W { BROWN_OUT_CLOSE_FLASH_ENA_W::new(self, 14) } #[doc = "Bit 15 - enable power down RF when brown out happens"] #[inline(always)] - #[must_use] pub fn brown_out_pd_rf_ena(&mut self) -> BROWN_OUT_PD_RF_ENA_W { BROWN_OUT_PD_RF_ENA_W::new(self, 15) } #[doc = "Bits 16:25 - brown out reset wait cycles"] #[inline(always)] - #[must_use] pub fn brown_out_rst_wait(&mut self) -> BROWN_OUT_RST_WAIT_W { BROWN_OUT_RST_WAIT_W::new(self, 16) } #[doc = "Bit 26 - enable brown out reset"] #[inline(always)] - #[must_use] pub fn brown_out_rst_ena(&mut self) -> BROWN_OUT_RST_ENA_W { BROWN_OUT_RST_ENA_W::new(self, 26) } #[doc = "Bit 27 - 1: 4-pos reset, 0: sys_reset"] #[inline(always)] - #[must_use] pub fn brown_out_rst_sel(&mut self) -> BROWN_OUT_RST_SEL_W { BROWN_OUT_RST_SEL_W::new(self, 27) } #[doc = "Bit 28 - enable brown out reset en"] #[inline(always)] - #[must_use] pub fn brown_out_ana_rst_en(&mut self) -> BROWN_OUT_ANA_RST_EN_W { BROWN_OUT_ANA_RST_EN_W::new(self, 28) } #[doc = "Bit 29 - clear brown out counter"] #[inline(always)] - #[must_use] pub fn brown_out_cnt_clr(&mut self) -> BROWN_OUT_CNT_CLR_W { BROWN_OUT_CNT_CLR_W::new(self, 29) } #[doc = "Bit 30 - enable brown out"] #[inline(always)] - #[must_use] pub fn brown_out_ena(&mut self) -> BROWN_OUT_ENA_W { BROWN_OUT_ENA_W::new(self, 30) } diff --git a/esp32s3/src/rtc_cntl/clk_conf.rs b/esp32s3/src/rtc_cntl/clk_conf.rs index be1c8c21c8..b0f2721694 100644 --- a/esp32s3/src/rtc_cntl/clk_conf.rs +++ b/esp32s3/src/rtc_cntl/clk_conf.rs @@ -207,115 +207,96 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - force efuse clk gating"] #[inline(always)] - #[must_use] pub fn efuse_clk_force_gating(&mut self) -> EFUSE_CLK_FORCE_GATING_W { EFUSE_CLK_FORCE_GATING_W::new(self, 1) } #[doc = "Bit 2 - force efuse clk nogating"] #[inline(always)] - #[must_use] pub fn efuse_clk_force_nogating(&mut self) -> EFUSE_CLK_FORCE_NOGATING_W { EFUSE_CLK_FORCE_NOGATING_W::new(self, 2) } #[doc = "Bit 3 - used to sync reg_ck8m_div_sel bus. Clear vld before set reg_ck8m_div_sel, then set vld to actually switch the clk"] #[inline(always)] - #[must_use] pub fn ck8m_div_sel_vld(&mut self) -> CK8M_DIV_SEL_VLD_W { CK8M_DIV_SEL_VLD_W::new(self, 3) } #[doc = "Bits 4:5 - CK8M_D256_OUT divider. 00: div128, 01: div256, 10: div512, 11: div1024."] #[inline(always)] - #[must_use] pub fn ck8m_div(&mut self) -> CK8M_DIV_W { CK8M_DIV_W::new(self, 4) } #[doc = "Bit 6 - disable CK8M and CK8M_D256_OUT"] #[inline(always)] - #[must_use] pub fn enb_ck8m(&mut self) -> ENB_CK8M_W { ENB_CK8M_W::new(self, 6) } #[doc = "Bit 7 - 1: CK8M_D256_OUT is actually CK8M, 0: CK8M_D256_OUT is CK8M divided by 256"] #[inline(always)] - #[must_use] pub fn enb_ck8m_div(&mut self) -> ENB_CK8M_DIV_W { ENB_CK8M_DIV_W::new(self, 7) } #[doc = "Bit 8 - enable CK_XTAL_32K for digital core (no relationship with RTC core)"] #[inline(always)] - #[must_use] pub fn dig_xtal32k_en(&mut self) -> DIG_XTAL32K_EN_W { DIG_XTAL32K_EN_W::new(self, 8) } #[doc = "Bit 9 - enable CK8M_D256_OUT for digital core (no relationship with RTC core)"] #[inline(always)] - #[must_use] pub fn dig_clk8m_d256_en(&mut self) -> DIG_CLK8M_D256_EN_W { DIG_CLK8M_D256_EN_W::new(self, 9) } #[doc = "Bit 10 - enable CK8M for digital core (no relationship with RTC core)"] #[inline(always)] - #[must_use] pub fn dig_clk8m_en(&mut self) -> DIG_CLK8M_EN_W { DIG_CLK8M_EN_W::new(self, 10) } #[doc = "Bits 12:14 - divider = reg_ck8m_div_sel + 1"] #[inline(always)] - #[must_use] pub fn ck8m_div_sel(&mut self) -> CK8M_DIV_SEL_W { CK8M_DIV_SEL_W::new(self, 12) } #[doc = "Bit 15 - XTAL force no gating during sleep"] #[inline(always)] - #[must_use] pub fn xtal_force_nogating(&mut self) -> XTAL_FORCE_NOGATING_W { XTAL_FORCE_NOGATING_W::new(self, 15) } #[doc = "Bit 16 - CK8M force no gating during sleep"] #[inline(always)] - #[must_use] pub fn ck8m_force_nogating(&mut self) -> CK8M_FORCE_NOGATING_W { CK8M_FORCE_NOGATING_W::new(self, 16) } #[doc = "Bits 17:24 - CK8M_DFREQ"] #[inline(always)] - #[must_use] pub fn ck8m_dfreq(&mut self) -> CK8M_DFREQ_W { CK8M_DFREQ_W::new(self, 17) } #[doc = "Bit 25 - CK8M force power down"] #[inline(always)] - #[must_use] pub fn ck8m_force_pd(&mut self) -> CK8M_FORCE_PD_W { CK8M_FORCE_PD_W::new(self, 25) } #[doc = "Bit 26 - CK8M force power up"] #[inline(always)] - #[must_use] pub fn ck8m_force_pu(&mut self) -> CK8M_FORCE_PU_W { CK8M_FORCE_PU_W::new(self, 26) } #[doc = "Bit 27 - force global xtal gating"] #[inline(always)] - #[must_use] pub fn xtal_global_force_gating(&mut self) -> XTAL_GLOBAL_FORCE_GATING_W { XTAL_GLOBAL_FORCE_GATING_W::new(self, 27) } #[doc = "Bit 28 - force global xtal no gating"] #[inline(always)] - #[must_use] pub fn xtal_global_force_nogating(&mut self) -> XTAL_GLOBAL_FORCE_NOGATING_W { XTAL_GLOBAL_FORCE_NOGATING_W::new(self, 28) } #[doc = "Bit 29 - fast_clk_rtc sel. 0: XTAL div 4, 1: CK8M"] #[inline(always)] - #[must_use] pub fn fast_clk_rtc_sel(&mut self) -> FAST_CLK_RTC_SEL_W { FAST_CLK_RTC_SEL_W::new(self, 29) } #[doc = "Bits 30:31 - select slow clock"] #[inline(always)] - #[must_use] pub fn ana_clk_rtc_sel(&mut self) -> ANA_CLK_RTC_SEL_W { ANA_CLK_RTC_SEL_W::new(self, 30) } diff --git a/esp32s3/src/rtc_cntl/cocpu_ctrl.rs b/esp32s3/src/rtc_cntl/cocpu_ctrl.rs index 87705dffd3..eb6eff5f92 100644 --- a/esp32s3/src/rtc_cntl/cocpu_ctrl.rs +++ b/esp32s3/src/rtc_cntl/cocpu_ctrl.rs @@ -116,67 +116,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - cocpu clk force on"] #[inline(always)] - #[must_use] pub fn cocpu_clk_fo(&mut self) -> COCPU_CLK_FO_W { COCPU_CLK_FO_W::new(self, 0) } #[doc = "Bits 1:6 - time from start cocpu to pull down reset"] #[inline(always)] - #[must_use] pub fn cocpu_start_2_reset_dis(&mut self) -> COCPU_START_2_RESET_DIS_W { COCPU_START_2_RESET_DIS_W::new(self, 1) } #[doc = "Bits 7:12 - time from start cocpu to give start interrupt"] #[inline(always)] - #[must_use] pub fn cocpu_start_2_intr_en(&mut self) -> COCPU_START_2_INTR_EN_W { COCPU_START_2_INTR_EN_W::new(self, 7) } #[doc = "Bit 13 - to shut cocpu"] #[inline(always)] - #[must_use] pub fn cocpu_shut(&mut self) -> COCPU_SHUT_W { COCPU_SHUT_W::new(self, 13) } #[doc = "Bits 14:21 - time from shut cocpu to disable clk"] #[inline(always)] - #[must_use] pub fn cocpu_shut_2_clk_dis(&mut self) -> COCPU_SHUT_2_CLK_DIS_W { COCPU_SHUT_2_CLK_DIS_W::new(self, 14) } #[doc = "Bit 22 - to reset cocpu"] #[inline(always)] - #[must_use] pub fn cocpu_shut_reset_en(&mut self) -> COCPU_SHUT_RESET_EN_W { COCPU_SHUT_RESET_EN_W::new(self, 22) } #[doc = "Bit 23 - 1: old ULP 0: new riscV"] #[inline(always)] - #[must_use] pub fn cocpu_sel(&mut self) -> COCPU_SEL_W { COCPU_SEL_W::new(self, 23) } #[doc = "Bit 24 - 1: select riscv done 0: select ulp done"] #[inline(always)] - #[must_use] pub fn cocpu_done_force(&mut self) -> COCPU_DONE_FORCE_W { COCPU_DONE_FORCE_W::new(self, 24) } #[doc = "Bit 25 - done signal used by riscv to control timer."] #[inline(always)] - #[must_use] pub fn cocpu_done(&mut self) -> COCPU_DONE_W { COCPU_DONE_W::new(self, 25) } #[doc = "Bit 26 - trigger cocpu register interrupt"] #[inline(always)] - #[must_use] pub fn cocpu_sw_int_trigger(&mut self) -> COCPU_SW_INT_TRIGGER_W { COCPU_SW_INT_TRIGGER_W::new(self, 26) } #[doc = "Bit 27 - open ulp-riscv clk gate"] #[inline(always)] - #[must_use] pub fn cocpu_clkgate_en(&mut self) -> COCPU_CLKGATE_EN_W { COCPU_CLKGATE_EN_W::new(self, 27) } diff --git a/esp32s3/src/rtc_cntl/cocpu_disable.rs b/esp32s3/src/rtc_cntl/cocpu_disable.rs index 115d07693b..56ad6443b9 100644 --- a/esp32s3/src/rtc_cntl/cocpu_disable.rs +++ b/esp32s3/src/rtc_cntl/cocpu_disable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - configure ulp diable"] #[inline(always)] - #[must_use] pub fn disable_rtc_cpu(&mut self) -> DISABLE_RTC_CPU_W { DISABLE_RTC_CPU_W::new(self, 31) } diff --git a/esp32s3/src/rtc_cntl/cpu_period_conf.rs b/esp32s3/src/rtc_cntl/cpu_period_conf.rs index ca2123fb86..9203e1d983 100644 --- a/esp32s3/src/rtc_cntl/cpu_period_conf.rs +++ b/esp32s3/src/rtc_cntl/cpu_period_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 29 - CPU sel option"] #[inline(always)] - #[must_use] pub fn cpusel_conf(&mut self) -> CPUSEL_CONF_W { CPUSEL_CONF_W::new(self, 29) } #[doc = "Bits 30:31 - conigure cpu freq"] #[inline(always)] - #[must_use] pub fn cpuperiod_sel(&mut self) -> CPUPERIOD_SEL_W { CPUPERIOD_SEL_W::new(self, 30) } diff --git a/esp32s3/src/rtc_cntl/date.rs b/esp32s3/src/rtc_cntl/date.rs index cd0b4bb56f..f46fbadefa 100644 --- a/esp32s3/src/rtc_cntl/date.rs +++ b/esp32s3/src/rtc_cntl/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - version register"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s3/src/rtc_cntl/dig_iso.rs b/esp32s3/src/rtc_cntl/dig_iso.rs index 1ab85dca32..4c2fcf088c 100644 --- a/esp32s3/src/rtc_cntl/dig_iso.rs +++ b/esp32s3/src/rtc_cntl/dig_iso.rs @@ -194,109 +194,91 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 7 - No public"] #[inline(always)] - #[must_use] pub fn force_off(&mut self) -> FORCE_OFF_W { FORCE_OFF_W::new(self, 7) } #[doc = "Bit 8 - No public"] #[inline(always)] - #[must_use] pub fn force_on(&mut self) -> FORCE_ON_W { FORCE_ON_W::new(self, 8) } #[doc = "Bit 10 - wtite only register to clear digital pad auto-hold"] #[inline(always)] - #[must_use] pub fn clr_dg_pad_autohold(&mut self) -> CLR_DG_PAD_AUTOHOLD_W { CLR_DG_PAD_AUTOHOLD_W::new(self, 10) } #[doc = "Bit 11 - digital pad enable auto-hold"] #[inline(always)] - #[must_use] pub fn dg_pad_autohold_en(&mut self) -> DG_PAD_AUTOHOLD_EN_W { DG_PAD_AUTOHOLD_EN_W::new(self, 11) } #[doc = "Bit 12 - digital pad force no ISO"] #[inline(always)] - #[must_use] pub fn dg_pad_force_noiso(&mut self) -> DG_PAD_FORCE_NOISO_W { DG_PAD_FORCE_NOISO_W::new(self, 12) } #[doc = "Bit 13 - digital pad force ISO"] #[inline(always)] - #[must_use] pub fn dg_pad_force_iso(&mut self) -> DG_PAD_FORCE_ISO_W { DG_PAD_FORCE_ISO_W::new(self, 13) } #[doc = "Bit 14 - digital pad force un-hold"] #[inline(always)] - #[must_use] pub fn dg_pad_force_unhold(&mut self) -> DG_PAD_FORCE_UNHOLD_W { DG_PAD_FORCE_UNHOLD_W::new(self, 14) } #[doc = "Bit 15 - digital pad force hold"] #[inline(always)] - #[must_use] pub fn dg_pad_force_hold(&mut self) -> DG_PAD_FORCE_HOLD_W { DG_PAD_FORCE_HOLD_W::new(self, 15) } #[doc = "Bit 22 - internal SRAM 2 force ISO"] #[inline(always)] - #[must_use] pub fn bt_force_iso(&mut self) -> BT_FORCE_ISO_W { BT_FORCE_ISO_W::new(self, 22) } #[doc = "Bit 23 - internal SRAM 2 force no ISO"] #[inline(always)] - #[must_use] pub fn bt_force_noiso(&mut self) -> BT_FORCE_NOISO_W { BT_FORCE_NOISO_W::new(self, 23) } #[doc = "Bit 24 - internal SRAM 3 force ISO"] #[inline(always)] - #[must_use] pub fn dg_peri_force_iso(&mut self) -> DG_PERI_FORCE_ISO_W { DG_PERI_FORCE_ISO_W::new(self, 24) } #[doc = "Bit 25 - internal SRAM 3 force no ISO"] #[inline(always)] - #[must_use] pub fn dg_peri_force_noiso(&mut self) -> DG_PERI_FORCE_NOISO_W { DG_PERI_FORCE_NOISO_W::new(self, 25) } #[doc = "Bit 26 - internal SRAM 4 force ISO"] #[inline(always)] - #[must_use] pub fn cpu_top_force_iso(&mut self) -> CPU_TOP_FORCE_ISO_W { CPU_TOP_FORCE_ISO_W::new(self, 26) } #[doc = "Bit 27 - internal SRAM 4 force no ISO"] #[inline(always)] - #[must_use] pub fn cpu_top_force_noiso(&mut self) -> CPU_TOP_FORCE_NOISO_W { CPU_TOP_FORCE_NOISO_W::new(self, 27) } #[doc = "Bit 28 - wifi force ISO"] #[inline(always)] - #[must_use] pub fn wifi_force_iso(&mut self) -> WIFI_FORCE_ISO_W { WIFI_FORCE_ISO_W::new(self, 28) } #[doc = "Bit 29 - wifi force no ISO"] #[inline(always)] - #[must_use] pub fn wifi_force_noiso(&mut self) -> WIFI_FORCE_NOISO_W { WIFI_FORCE_NOISO_W::new(self, 29) } #[doc = "Bit 30 - digital core force ISO"] #[inline(always)] - #[must_use] pub fn dg_wrap_force_iso(&mut self) -> DG_WRAP_FORCE_ISO_W { DG_WRAP_FORCE_ISO_W::new(self, 30) } #[doc = "Bit 31 - digita core force no ISO"] #[inline(always)] - #[must_use] pub fn dg_wrap_force_noiso(&mut self) -> DG_WRAP_FORCE_NOISO_W { DG_WRAP_FORCE_NOISO_W::new(self, 31) } diff --git a/esp32s3/src/rtc_cntl/dig_pad_hold.rs b/esp32s3/src/rtc_cntl/dig_pad_hold.rs index 2db4f08310..b83412449a 100644 --- a/esp32s3/src/rtc_cntl/dig_pad_hold.rs +++ b/esp32s3/src/rtc_cntl/dig_pad_hold.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - configure digtal pad hold"] #[inline(always)] - #[must_use] pub fn dig_pad_hold(&mut self) -> DIG_PAD_HOLD_W { DIG_PAD_HOLD_W::new(self, 0) } diff --git a/esp32s3/src/rtc_cntl/dig_pwc.rs b/esp32s3/src/rtc_cntl/dig_pwc.rs index 9aa6b3079b..0b16cd8584 100644 --- a/esp32s3/src/rtc_cntl/dig_pwc.rs +++ b/esp32s3/src/rtc_cntl/dig_pwc.rs @@ -184,103 +184,86 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - memories in digital core force PD in sleep"] #[inline(always)] - #[must_use] pub fn lslp_mem_force_pd(&mut self) -> LSLP_MEM_FORCE_PD_W { LSLP_MEM_FORCE_PD_W::new(self, 3) } #[doc = "Bit 4 - memories in digital core force no PD in sleep"] #[inline(always)] - #[must_use] pub fn lslp_mem_force_pu(&mut self) -> LSLP_MEM_FORCE_PU_W { LSLP_MEM_FORCE_PU_W::new(self, 4) } #[doc = "Bit 11 - internal SRAM 2 force power down"] #[inline(always)] - #[must_use] pub fn bt_force_pd(&mut self) -> BT_FORCE_PD_W { BT_FORCE_PD_W::new(self, 11) } #[doc = "Bit 12 - internal SRAM 2 force power up"] #[inline(always)] - #[must_use] pub fn bt_force_pu(&mut self) -> BT_FORCE_PU_W { BT_FORCE_PU_W::new(self, 12) } #[doc = "Bit 13 - internal SRAM 3 force power down"] #[inline(always)] - #[must_use] pub fn dg_peri_force_pd(&mut self) -> DG_PERI_FORCE_PD_W { DG_PERI_FORCE_PD_W::new(self, 13) } #[doc = "Bit 14 - internal SRAM 3 force power up"] #[inline(always)] - #[must_use] pub fn dg_peri_force_pu(&mut self) -> DG_PERI_FORCE_PU_W { DG_PERI_FORCE_PU_W::new(self, 14) } #[doc = "Bit 17 - wifi force power down"] #[inline(always)] - #[must_use] pub fn wifi_force_pd(&mut self) -> WIFI_FORCE_PD_W { WIFI_FORCE_PD_W::new(self, 17) } #[doc = "Bit 18 - wifi force power up"] #[inline(always)] - #[must_use] pub fn wifi_force_pu(&mut self) -> WIFI_FORCE_PU_W { WIFI_FORCE_PU_W::new(self, 18) } #[doc = "Bit 19 - digital core force power down"] #[inline(always)] - #[must_use] pub fn dg_wrap_force_pd(&mut self) -> DG_WRAP_FORCE_PD_W { DG_WRAP_FORCE_PD_W::new(self, 19) } #[doc = "Bit 20 - digital core force power up"] #[inline(always)] - #[must_use] pub fn dg_wrap_force_pu(&mut self) -> DG_WRAP_FORCE_PU_W { DG_WRAP_FORCE_PU_W::new(self, 20) } #[doc = "Bit 21 - digital dcdc force power down"] #[inline(always)] - #[must_use] pub fn cpu_top_force_pd(&mut self) -> CPU_TOP_FORCE_PD_W { CPU_TOP_FORCE_PD_W::new(self, 21) } #[doc = "Bit 22 - digital dcdc force power up"] #[inline(always)] - #[must_use] pub fn cpu_top_force_pu(&mut self) -> CPU_TOP_FORCE_PU_W { CPU_TOP_FORCE_PU_W::new(self, 22) } #[doc = "Bit 27 - enable power down internal SRAM 2 in sleep"] #[inline(always)] - #[must_use] pub fn bt_pd_en(&mut self) -> BT_PD_EN_W { BT_PD_EN_W::new(self, 27) } #[doc = "Bit 28 - enable power down internal SRAM 3 in sleep"] #[inline(always)] - #[must_use] pub fn dg_peri_pd_en(&mut self) -> DG_PERI_PD_EN_W { DG_PERI_PD_EN_W::new(self, 28) } #[doc = "Bit 29 - enable power down internal SRAM 4 in sleep"] #[inline(always)] - #[must_use] pub fn cpu_top_pd_en(&mut self) -> CPU_TOP_PD_EN_W { CPU_TOP_PD_EN_W::new(self, 29) } #[doc = "Bit 30 - enable power down wifi in sleep"] #[inline(always)] - #[must_use] pub fn wifi_pd_en(&mut self) -> WIFI_PD_EN_W { WIFI_PD_EN_W::new(self, 30) } #[doc = "Bit 31 - enable power down all digital logic"] #[inline(always)] - #[must_use] pub fn dg_wrap_pd_en(&mut self) -> DG_WRAP_PD_EN_W { DG_WRAP_PD_EN_W::new(self, 31) } diff --git a/esp32s3/src/rtc_cntl/ext_wakeup1.rs b/esp32s3/src/rtc_cntl/ext_wakeup1.rs index 33a6517ce0..4732776ac6 100644 --- a/esp32s3/src/rtc_cntl/ext_wakeup1.rs +++ b/esp32s3/src/rtc_cntl/ext_wakeup1.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - Bitmap to select RTC pads for ext wakeup1"] #[inline(always)] - #[must_use] pub fn ext_wakeup1_sel(&mut self) -> EXT_WAKEUP1_SEL_W { EXT_WAKEUP1_SEL_W::new(self, 0) } #[doc = "Bit 22 - clear ext wakeup1 status"] #[inline(always)] - #[must_use] pub fn ext_wakeup1_status_clr(&mut self) -> EXT_WAKEUP1_STATUS_CLR_W { EXT_WAKEUP1_STATUS_CLR_W::new(self, 22) } diff --git a/esp32s3/src/rtc_cntl/ext_wakeup_conf.rs b/esp32s3/src/rtc_cntl/ext_wakeup_conf.rs index 073055ec64..71ea9d2e1f 100644 --- a/esp32s3/src/rtc_cntl/ext_wakeup_conf.rs +++ b/esp32s3/src/rtc_cntl/ext_wakeup_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 29 - enable filter for gpio wakeup event"] #[inline(always)] - #[must_use] pub fn gpio_wakeup_filter(&mut self) -> GPIO_WAKEUP_FILTER_W { GPIO_WAKEUP_FILTER_W::new(self, 29) } #[doc = "Bit 30 - 0: external wakeup at low level, 1: external wakeup at high level"] #[inline(always)] - #[must_use] pub fn ext_wakeup0_lv(&mut self) -> EXT_WAKEUP0_LV_W { EXT_WAKEUP0_LV_W::new(self, 30) } #[doc = "Bit 31 - 0: external wakeup at low level, 1: external wakeup at high level"] #[inline(always)] - #[must_use] pub fn ext_wakeup1_lv(&mut self) -> EXT_WAKEUP1_LV_W { EXT_WAKEUP1_LV_W::new(self, 31) } diff --git a/esp32s3/src/rtc_cntl/ext_xtl_conf.rs b/esp32s3/src/rtc_cntl/ext_xtl_conf.rs index d98832c2b3..1164a9e236 100644 --- a/esp32s3/src/rtc_cntl/ext_xtl_conf.rs +++ b/esp32s3/src/rtc_cntl/ext_xtl_conf.rs @@ -192,103 +192,86 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - xtal 32k watch dog enable"] #[inline(always)] - #[must_use] pub fn xtal32k_wdt_en(&mut self) -> XTAL32K_WDT_EN_W { XTAL32K_WDT_EN_W::new(self, 0) } #[doc = "Bit 1 - xtal 32k watch dog clock force on"] #[inline(always)] - #[must_use] pub fn xtal32k_wdt_clk_fo(&mut self) -> XTAL32K_WDT_CLK_FO_W { XTAL32K_WDT_CLK_FO_W::new(self, 1) } #[doc = "Bit 2 - xtal 32k watch dog sw reset"] #[inline(always)] - #[must_use] pub fn xtal32k_wdt_reset(&mut self) -> XTAL32K_WDT_RESET_W { XTAL32K_WDT_RESET_W::new(self, 2) } #[doc = "Bit 3 - xtal 32k external xtal clock force on"] #[inline(always)] - #[must_use] pub fn xtal32k_ext_clk_fo(&mut self) -> XTAL32K_EXT_CLK_FO_W { XTAL32K_EXT_CLK_FO_W::new(self, 3) } #[doc = "Bit 4 - xtal 32k switch to back up clock when xtal is dead"] #[inline(always)] - #[must_use] pub fn xtal32k_auto_backup(&mut self) -> XTAL32K_AUTO_BACKUP_W { XTAL32K_AUTO_BACKUP_W::new(self, 4) } #[doc = "Bit 5 - xtal 32k restart xtal when xtal is dead"] #[inline(always)] - #[must_use] pub fn xtal32k_auto_restart(&mut self) -> XTAL32K_AUTO_RESTART_W { XTAL32K_AUTO_RESTART_W::new(self, 5) } #[doc = "Bit 6 - xtal 32k switch back xtal when xtal is restarted"] #[inline(always)] - #[must_use] pub fn xtal32k_auto_return(&mut self) -> XTAL32K_AUTO_RETURN_W { XTAL32K_AUTO_RETURN_W::new(self, 6) } #[doc = "Bit 7 - Xtal 32k xpd control by sw or fsm"] #[inline(always)] - #[must_use] pub fn xtal32k_xpd_force(&mut self) -> XTAL32K_XPD_FORCE_W { XTAL32K_XPD_FORCE_W::new(self, 7) } #[doc = "Bit 8 - apply an internal clock to help xtal 32k to start"] #[inline(always)] - #[must_use] pub fn enckinit_xtal_32k(&mut self) -> ENCKINIT_XTAL_32K_W { ENCKINIT_XTAL_32K_W::new(self, 8) } #[doc = "Bit 9 - 0: single-end buffer 1: differential buffer"] #[inline(always)] - #[must_use] pub fn dbuf_xtal_32k(&mut self) -> DBUF_XTAL_32K_W { DBUF_XTAL_32K_W::new(self, 9) } #[doc = "Bits 10:12 - xtal_32k gm control"] #[inline(always)] - #[must_use] pub fn dgm_xtal_32k(&mut self) -> DGM_XTAL_32K_W { DGM_XTAL_32K_W::new(self, 10) } #[doc = "Bits 13:15 - DRES_XTAL_32K"] #[inline(always)] - #[must_use] pub fn dres_xtal_32k(&mut self) -> DRES_XTAL_32K_W { DRES_XTAL_32K_W::new(self, 13) } #[doc = "Bit 16 - XPD_XTAL_32K"] #[inline(always)] - #[must_use] pub fn xpd_xtal_32k(&mut self) -> XPD_XTAL_32K_W { XPD_XTAL_32K_W::new(self, 16) } #[doc = "Bits 17:19 - DAC_XTAL_32K"] #[inline(always)] - #[must_use] pub fn dac_xtal_32k(&mut self) -> DAC_XTAL_32K_W { DAC_XTAL_32K_W::new(self, 17) } #[doc = "Bit 23 - XTAL_32K sel. 0: external XTAL_32K, 1: CLK from RTC pad X32P_C"] #[inline(always)] - #[must_use] pub fn xtal32k_gpio_sel(&mut self) -> XTAL32K_GPIO_SEL_W { XTAL32K_GPIO_SEL_W::new(self, 23) } #[doc = "Bit 30 - 0: power down XTAL at high level, 1: power down XTAL at low level"] #[inline(always)] - #[must_use] pub fn xtl_ext_ctr_lv(&mut self) -> XTL_EXT_CTR_LV_W { XTL_EXT_CTR_LV_W::new(self, 30) } #[doc = "Bit 31 - Reserved register"] #[inline(always)] - #[must_use] pub fn xtl_ext_ctr_en(&mut self) -> XTL_EXT_CTR_EN_W { XTL_EXT_CTR_EN_W::new(self, 31) } diff --git a/esp32s3/src/rtc_cntl/fib_sel.rs b/esp32s3/src/rtc_cntl/fib_sel.rs index 867dda13cd..5c0490282c 100644 --- a/esp32s3/src/rtc_cntl/fib_sel.rs +++ b/esp32s3/src/rtc_cntl/fib_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - No public"] #[inline(always)] - #[must_use] pub fn fib_sel(&mut self) -> FIB_SEL_W { FIB_SEL_W::new(self, 0) } diff --git a/esp32s3/src/rtc_cntl/int_clr.rs b/esp32s3/src/rtc_cntl/int_clr.rs index 815e1ca3a8..b520bc49fa 100644 --- a/esp32s3/src/rtc_cntl/int_clr.rs +++ b/esp32s3/src/rtc_cntl/int_clr.rs @@ -51,127 +51,106 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Clear sleep wakeup interrupt state"] #[inline(always)] - #[must_use] pub fn slp_wakeup(&mut self) -> SLP_WAKEUP_W { SLP_WAKEUP_W::new(self, 0) } #[doc = "Bit 1 - Clear sleep reject interrupt state"] #[inline(always)] - #[must_use] pub fn slp_reject(&mut self) -> SLP_REJECT_W { SLP_REJECT_W::new(self, 1) } #[doc = "Bit 2 - Clear SDIO idle interrupt state"] #[inline(always)] - #[must_use] pub fn sdio_idle(&mut self) -> SDIO_IDLE_W { SDIO_IDLE_W::new(self, 2) } #[doc = "Bit 3 - Clear RTC WDT interrupt state"] #[inline(always)] - #[must_use] pub fn wdt(&mut self) -> WDT_W { WDT_W::new(self, 3) } #[doc = "Bit 4 - clear touch scan done interrupt raw"] #[inline(always)] - #[must_use] pub fn touch_scan_done(&mut self) -> TOUCH_SCAN_DONE_W { TOUCH_SCAN_DONE_W::new(self, 4) } #[doc = "Bit 5 - Clear ULP-coprocessor interrupt state"] #[inline(always)] - #[must_use] pub fn ulp_cp(&mut self) -> ULP_CP_W { ULP_CP_W::new(self, 5) } #[doc = "Bit 6 - Clear touch done interrupt state"] #[inline(always)] - #[must_use] pub fn touch_done(&mut self) -> TOUCH_DONE_W { TOUCH_DONE_W::new(self, 6) } #[doc = "Bit 7 - Clear touch active interrupt state"] #[inline(always)] - #[must_use] pub fn touch_active(&mut self) -> TOUCH_ACTIVE_W { TOUCH_ACTIVE_W::new(self, 7) } #[doc = "Bit 8 - Clear touch inactive interrupt state"] #[inline(always)] - #[must_use] pub fn touch_inactive(&mut self) -> TOUCH_INACTIVE_W { TOUCH_INACTIVE_W::new(self, 8) } #[doc = "Bit 9 - Clear brown out interrupt state"] #[inline(always)] - #[must_use] pub fn brown_out(&mut self) -> BROWN_OUT_W { BROWN_OUT_W::new(self, 9) } #[doc = "Bit 10 - Clear RTC main timer interrupt state"] #[inline(always)] - #[must_use] pub fn main_timer(&mut self) -> MAIN_TIMER_W { MAIN_TIMER_W::new(self, 10) } #[doc = "Bit 11 - Clear saradc1 interrupt state"] #[inline(always)] - #[must_use] pub fn saradc1(&mut self) -> SARADC1_W { SARADC1_W::new(self, 11) } #[doc = "Bit 12 - Clear tsens interrupt state"] #[inline(always)] - #[must_use] pub fn tsens(&mut self) -> TSENS_W { TSENS_W::new(self, 12) } #[doc = "Bit 13 - Clear riscV cocpu interrupt state"] #[inline(always)] - #[must_use] pub fn cocpu(&mut self) -> COCPU_W { COCPU_W::new(self, 13) } #[doc = "Bit 14 - Clear saradc2 interrupt state"] #[inline(always)] - #[must_use] pub fn saradc2(&mut self) -> SARADC2_W { SARADC2_W::new(self, 14) } #[doc = "Bit 15 - Clear super watch dog interrupt state"] #[inline(always)] - #[must_use] pub fn swd(&mut self) -> SWD_W { SWD_W::new(self, 15) } #[doc = "Bit 16 - Clear RTC WDT interrupt state"] #[inline(always)] - #[must_use] pub fn xtal32k_dead(&mut self) -> XTAL32K_DEAD_W { XTAL32K_DEAD_W::new(self, 16) } #[doc = "Bit 17 - Clear cocpu trap interrupt state"] #[inline(always)] - #[must_use] pub fn cocpu_trap(&mut self) -> COCPU_TRAP_W { COCPU_TRAP_W::new(self, 17) } #[doc = "Bit 18 - Clear touch timeout interrupt state"] #[inline(always)] - #[must_use] pub fn touch_timeout(&mut self) -> TOUCH_TIMEOUT_W { TOUCH_TIMEOUT_W::new(self, 18) } #[doc = "Bit 19 - Clear glitch det interrupt state"] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 19) } #[doc = "Bit 20 - cleartouch approach mode loop interrupt state"] #[inline(always)] - #[must_use] pub fn touch_approach_loop_done(&mut self) -> TOUCH_APPROACH_LOOP_DONE_W { TOUCH_APPROACH_LOOP_DONE_W::new(self, 20) } diff --git a/esp32s3/src/rtc_cntl/int_ena.rs b/esp32s3/src/rtc_cntl/int_ena.rs index d3ef4a30f4..91d7c39e18 100644 --- a/esp32s3/src/rtc_cntl/int_ena.rs +++ b/esp32s3/src/rtc_cntl/int_ena.rs @@ -224,127 +224,106 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - enable sleep wakeup interrupt"] #[inline(always)] - #[must_use] pub fn slp_wakeup(&mut self) -> SLP_WAKEUP_W { SLP_WAKEUP_W::new(self, 0) } #[doc = "Bit 1 - enable sleep reject interrupt"] #[inline(always)] - #[must_use] pub fn slp_reject(&mut self) -> SLP_REJECT_W { SLP_REJECT_W::new(self, 1) } #[doc = "Bit 2 - enable SDIO idle interrupt"] #[inline(always)] - #[must_use] pub fn sdio_idle(&mut self) -> SDIO_IDLE_W { SDIO_IDLE_W::new(self, 2) } #[doc = "Bit 3 - enable RTC WDT interrupt"] #[inline(always)] - #[must_use] pub fn wdt(&mut self) -> WDT_W { WDT_W::new(self, 3) } #[doc = "Bit 4 - enable touch scan done interrupt"] #[inline(always)] - #[must_use] pub fn touch_scan_done(&mut self) -> TOUCH_SCAN_DONE_W { TOUCH_SCAN_DONE_W::new(self, 4) } #[doc = "Bit 5 - enable ULP-coprocessor interrupt"] #[inline(always)] - #[must_use] pub fn ulp_cp(&mut self) -> ULP_CP_W { ULP_CP_W::new(self, 5) } #[doc = "Bit 6 - enable touch done interrupt"] #[inline(always)] - #[must_use] pub fn touch_done(&mut self) -> TOUCH_DONE_W { TOUCH_DONE_W::new(self, 6) } #[doc = "Bit 7 - enable touch active interrupt"] #[inline(always)] - #[must_use] pub fn touch_active(&mut self) -> TOUCH_ACTIVE_W { TOUCH_ACTIVE_W::new(self, 7) } #[doc = "Bit 8 - enable touch inactive interrupt"] #[inline(always)] - #[must_use] pub fn touch_inactive(&mut self) -> TOUCH_INACTIVE_W { TOUCH_INACTIVE_W::new(self, 8) } #[doc = "Bit 9 - enable brown out interrupt"] #[inline(always)] - #[must_use] pub fn brown_out(&mut self) -> BROWN_OUT_W { BROWN_OUT_W::new(self, 9) } #[doc = "Bit 10 - enable RTC main timer interrupt"] #[inline(always)] - #[must_use] pub fn main_timer(&mut self) -> MAIN_TIMER_W { MAIN_TIMER_W::new(self, 10) } #[doc = "Bit 11 - enable saradc1 interrupt"] #[inline(always)] - #[must_use] pub fn saradc1(&mut self) -> SARADC1_W { SARADC1_W::new(self, 11) } #[doc = "Bit 12 - enable tsens interrupt"] #[inline(always)] - #[must_use] pub fn tsens(&mut self) -> TSENS_W { TSENS_W::new(self, 12) } #[doc = "Bit 13 - enable riscV cocpu interrupt"] #[inline(always)] - #[must_use] pub fn cocpu(&mut self) -> COCPU_W { COCPU_W::new(self, 13) } #[doc = "Bit 14 - enable saradc2 interrupt"] #[inline(always)] - #[must_use] pub fn saradc2(&mut self) -> SARADC2_W { SARADC2_W::new(self, 14) } #[doc = "Bit 15 - enable super watch dog interrupt"] #[inline(always)] - #[must_use] pub fn swd(&mut self) -> SWD_W { SWD_W::new(self, 15) } #[doc = "Bit 16 - enable xtal32k_dead interrupt"] #[inline(always)] - #[must_use] pub fn xtal32k_dead(&mut self) -> XTAL32K_DEAD_W { XTAL32K_DEAD_W::new(self, 16) } #[doc = "Bit 17 - enable cocpu trap interrupt"] #[inline(always)] - #[must_use] pub fn cocpu_trap(&mut self) -> COCPU_TRAP_W { COCPU_TRAP_W::new(self, 17) } #[doc = "Bit 18 - enable touch timeout interrupt"] #[inline(always)] - #[must_use] pub fn touch_timeout(&mut self) -> TOUCH_TIMEOUT_W { TOUCH_TIMEOUT_W::new(self, 18) } #[doc = "Bit 19 - enbale gitch det interrupt"] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 19) } #[doc = "Bit 20 - touch approach mode loop interrupt"] #[inline(always)] - #[must_use] pub fn touch_approach_loop_done(&mut self) -> TOUCH_APPROACH_LOOP_DONE_W { TOUCH_APPROACH_LOOP_DONE_W::new(self, 20) } diff --git a/esp32s3/src/rtc_cntl/int_ena_rtc_w1tc.rs b/esp32s3/src/rtc_cntl/int_ena_rtc_w1tc.rs index 00d1ac9348..9e6b0dc3f3 100644 --- a/esp32s3/src/rtc_cntl/int_ena_rtc_w1tc.rs +++ b/esp32s3/src/rtc_cntl/int_ena_rtc_w1tc.rs @@ -51,127 +51,106 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - enable sleep wakeup interrupt"] #[inline(always)] - #[must_use] pub fn slp_wakeup(&mut self) -> SLP_WAKEUP_W { SLP_WAKEUP_W::new(self, 0) } #[doc = "Bit 1 - enable sleep reject interrupt"] #[inline(always)] - #[must_use] pub fn slp_reject(&mut self) -> SLP_REJECT_W { SLP_REJECT_W::new(self, 1) } #[doc = "Bit 2 - enable SDIO idle interrupt"] #[inline(always)] - #[must_use] pub fn sdio_idle(&mut self) -> SDIO_IDLE_W { SDIO_IDLE_W::new(self, 2) } #[doc = "Bit 3 - enable RTC WDT interrupt"] #[inline(always)] - #[must_use] pub fn wdt(&mut self) -> WDT_W { WDT_W::new(self, 3) } #[doc = "Bit 4 - enable touch scan done interrupt"] #[inline(always)] - #[must_use] pub fn touch_scan_done(&mut self) -> TOUCH_SCAN_DONE_W { TOUCH_SCAN_DONE_W::new(self, 4) } #[doc = "Bit 5 - enable ULP-coprocessor interrupt"] #[inline(always)] - #[must_use] pub fn ulp_cp(&mut self) -> ULP_CP_W { ULP_CP_W::new(self, 5) } #[doc = "Bit 6 - enable touch done interrupt"] #[inline(always)] - #[must_use] pub fn touch_done(&mut self) -> TOUCH_DONE_W { TOUCH_DONE_W::new(self, 6) } #[doc = "Bit 7 - enable touch active interrupt"] #[inline(always)] - #[must_use] pub fn touch_active(&mut self) -> TOUCH_ACTIVE_W { TOUCH_ACTIVE_W::new(self, 7) } #[doc = "Bit 8 - enable touch inactive interrupt"] #[inline(always)] - #[must_use] pub fn touch_inactive(&mut self) -> TOUCH_INACTIVE_W { TOUCH_INACTIVE_W::new(self, 8) } #[doc = "Bit 9 - enable brown out interrupt"] #[inline(always)] - #[must_use] pub fn brown_out(&mut self) -> BROWN_OUT_W { BROWN_OUT_W::new(self, 9) } #[doc = "Bit 10 - enable RTC main timer interrupt"] #[inline(always)] - #[must_use] pub fn main_timer(&mut self) -> MAIN_TIMER_W { MAIN_TIMER_W::new(self, 10) } #[doc = "Bit 11 - enable saradc1 interrupt"] #[inline(always)] - #[must_use] pub fn saradc1(&mut self) -> SARADC1_W { SARADC1_W::new(self, 11) } #[doc = "Bit 12 - enable tsens interrupt"] #[inline(always)] - #[must_use] pub fn tsens(&mut self) -> TSENS_W { TSENS_W::new(self, 12) } #[doc = "Bit 13 - enable riscV cocpu interrupt"] #[inline(always)] - #[must_use] pub fn cocpu(&mut self) -> COCPU_W { COCPU_W::new(self, 13) } #[doc = "Bit 14 - enable saradc2 interrupt"] #[inline(always)] - #[must_use] pub fn saradc2(&mut self) -> SARADC2_W { SARADC2_W::new(self, 14) } #[doc = "Bit 15 - enable super watch dog interrupt"] #[inline(always)] - #[must_use] pub fn swd(&mut self) -> SWD_W { SWD_W::new(self, 15) } #[doc = "Bit 16 - enable xtal32k_dead interrupt"] #[inline(always)] - #[must_use] pub fn xtal32k_dead(&mut self) -> XTAL32K_DEAD_W { XTAL32K_DEAD_W::new(self, 16) } #[doc = "Bit 17 - enable cocpu trap interrupt"] #[inline(always)] - #[must_use] pub fn cocpu_trap(&mut self) -> COCPU_TRAP_W { COCPU_TRAP_W::new(self, 17) } #[doc = "Bit 18 - enable touch timeout interrupt"] #[inline(always)] - #[must_use] pub fn touch_timeout(&mut self) -> TOUCH_TIMEOUT_W { TOUCH_TIMEOUT_W::new(self, 18) } #[doc = "Bit 19 - enbale gitch det interrupt"] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 19) } #[doc = "Bit 20 - enbale touch approach_loop done interrupt"] #[inline(always)] - #[must_use] pub fn touch_approach_loop_done( &mut self, ) -> TOUCH_APPROACH_LOOP_DONE_W { diff --git a/esp32s3/src/rtc_cntl/int_ena_rtc_w1ts.rs b/esp32s3/src/rtc_cntl/int_ena_rtc_w1ts.rs index c714df58c0..1ac08d82cd 100644 --- a/esp32s3/src/rtc_cntl/int_ena_rtc_w1ts.rs +++ b/esp32s3/src/rtc_cntl/int_ena_rtc_w1ts.rs @@ -51,127 +51,106 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - enable sleep wakeup interrupt"] #[inline(always)] - #[must_use] pub fn slp_wakeup(&mut self) -> SLP_WAKEUP_W { SLP_WAKEUP_W::new(self, 0) } #[doc = "Bit 1 - enable sleep reject interrupt"] #[inline(always)] - #[must_use] pub fn slp_reject(&mut self) -> SLP_REJECT_W { SLP_REJECT_W::new(self, 1) } #[doc = "Bit 2 - enable SDIO idle interrupt"] #[inline(always)] - #[must_use] pub fn sdio_idle(&mut self) -> SDIO_IDLE_W { SDIO_IDLE_W::new(self, 2) } #[doc = "Bit 3 - enable RTC WDT interrupt"] #[inline(always)] - #[must_use] pub fn wdt(&mut self) -> WDT_W { WDT_W::new(self, 3) } #[doc = "Bit 4 - enable touch scan done interrupt"] #[inline(always)] - #[must_use] pub fn touch_scan_done(&mut self) -> TOUCH_SCAN_DONE_W { TOUCH_SCAN_DONE_W::new(self, 4) } #[doc = "Bit 5 - enable ULP-coprocessor interrupt"] #[inline(always)] - #[must_use] pub fn ulp_cp(&mut self) -> ULP_CP_W { ULP_CP_W::new(self, 5) } #[doc = "Bit 6 - enable touch done interrupt"] #[inline(always)] - #[must_use] pub fn touch_done(&mut self) -> TOUCH_DONE_W { TOUCH_DONE_W::new(self, 6) } #[doc = "Bit 7 - enable touch active interrupt"] #[inline(always)] - #[must_use] pub fn touch_active(&mut self) -> TOUCH_ACTIVE_W { TOUCH_ACTIVE_W::new(self, 7) } #[doc = "Bit 8 - enable touch inactive interrupt"] #[inline(always)] - #[must_use] pub fn touch_inactive(&mut self) -> TOUCH_INACTIVE_W { TOUCH_INACTIVE_W::new(self, 8) } #[doc = "Bit 9 - enable brown out interrupt"] #[inline(always)] - #[must_use] pub fn brown_out(&mut self) -> BROWN_OUT_W { BROWN_OUT_W::new(self, 9) } #[doc = "Bit 10 - enable RTC main timer interrupt"] #[inline(always)] - #[must_use] pub fn main_timer(&mut self) -> MAIN_TIMER_W { MAIN_TIMER_W::new(self, 10) } #[doc = "Bit 11 - enable saradc1 interrupt"] #[inline(always)] - #[must_use] pub fn saradc1(&mut self) -> SARADC1_W { SARADC1_W::new(self, 11) } #[doc = "Bit 12 - enable tsens interrupt"] #[inline(always)] - #[must_use] pub fn tsens(&mut self) -> TSENS_W { TSENS_W::new(self, 12) } #[doc = "Bit 13 - enable riscV cocpu interrupt"] #[inline(always)] - #[must_use] pub fn cocpu(&mut self) -> COCPU_W { COCPU_W::new(self, 13) } #[doc = "Bit 14 - enable saradc2 interrupt"] #[inline(always)] - #[must_use] pub fn saradc2(&mut self) -> SARADC2_W { SARADC2_W::new(self, 14) } #[doc = "Bit 15 - enable super watch dog interrupt"] #[inline(always)] - #[must_use] pub fn swd(&mut self) -> SWD_W { SWD_W::new(self, 15) } #[doc = "Bit 16 - enable xtal32k_dead interrupt"] #[inline(always)] - #[must_use] pub fn xtal32k_dead(&mut self) -> XTAL32K_DEAD_W { XTAL32K_DEAD_W::new(self, 16) } #[doc = "Bit 17 - enable cocpu trap interrupt"] #[inline(always)] - #[must_use] pub fn cocpu_trap(&mut self) -> COCPU_TRAP_W { COCPU_TRAP_W::new(self, 17) } #[doc = "Bit 18 - enable touch timeout interrupt"] #[inline(always)] - #[must_use] pub fn touch_timeout(&mut self) -> TOUCH_TIMEOUT_W { TOUCH_TIMEOUT_W::new(self, 18) } #[doc = "Bit 19 - enbale gitch det interrupt"] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 19) } #[doc = "Bit 20 - enbale touch approach_loop done interrupt"] #[inline(always)] - #[must_use] pub fn touch_approach_loop_done( &mut self, ) -> TOUCH_APPROACH_LOOP_DONE_W { diff --git a/esp32s3/src/rtc_cntl/int_raw.rs b/esp32s3/src/rtc_cntl/int_raw.rs index d13f99d52c..9d9ec75718 100644 --- a/esp32s3/src/rtc_cntl/int_raw.rs +++ b/esp32s3/src/rtc_cntl/int_raw.rs @@ -184,7 +184,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 20 - touch approach mode loop interrupt raw"] #[inline(always)] - #[must_use] pub fn touch_approach_loop_done(&mut self) -> TOUCH_APPROACH_LOOP_DONE_W { TOUCH_APPROACH_LOOP_DONE_W::new(self, 20) } diff --git a/esp32s3/src/rtc_cntl/option1.rs b/esp32s3/src/rtc_cntl/option1.rs index 050f34e5c5..3af032e9b0 100644 --- a/esp32s3/src/rtc_cntl/option1.rs +++ b/esp32s3/src/rtc_cntl/option1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - force chip entry download boot by sw"] #[inline(always)] - #[must_use] pub fn force_download_boot(&mut self) -> FORCE_DOWNLOAD_BOOT_W { FORCE_DOWNLOAD_BOOT_W::new(self, 0) } diff --git a/esp32s3/src/rtc_cntl/options0.rs b/esp32s3/src/rtc_cntl/options0.rs index c0e801b110..47dd9c8ce1 100644 --- a/esp32s3/src/rtc_cntl/options0.rs +++ b/esp32s3/src/rtc_cntl/options0.rs @@ -210,133 +210,111 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - {reg_sw_stall_appcpu_c1\\[5:0\\], reg_sw_stall_appcpu_c0\\[1:0\\]} == 0x86 will stall APP CPU"] #[inline(always)] - #[must_use] pub fn sw_stall_appcpu_c0(&mut self) -> SW_STALL_APPCPU_C0_W { SW_STALL_APPCPU_C0_W::new(self, 0) } #[doc = "Bits 2:3 - {reg_sw_stall_procpu_c1\\[5:0\\], reg_sw_stall_procpu_c0\\[1:0\\]} == 0x86 will stall PRO CPU"] #[inline(always)] - #[must_use] pub fn sw_stall_procpu_c0(&mut self) -> SW_STALL_PROCPU_C0_W { SW_STALL_PROCPU_C0_W::new(self, 2) } #[doc = "Bit 4 - APP CPU SW reset"] #[inline(always)] - #[must_use] pub fn sw_appcpu_rst(&mut self) -> SW_APPCPU_RST_W { SW_APPCPU_RST_W::new(self, 4) } #[doc = "Bit 5 - PRO CPU SW reset"] #[inline(always)] - #[must_use] pub fn sw_procpu_rst(&mut self) -> SW_PROCPU_RST_W { SW_PROCPU_RST_W::new(self, 5) } #[doc = "Bit 6 - BB_I2C force power down"] #[inline(always)] - #[must_use] pub fn bb_i2c_force_pd(&mut self) -> BB_I2C_FORCE_PD_W { BB_I2C_FORCE_PD_W::new(self, 6) } #[doc = "Bit 7 - BB_I2C force power up"] #[inline(always)] - #[must_use] pub fn bb_i2c_force_pu(&mut self) -> BB_I2C_FORCE_PU_W { BB_I2C_FORCE_PU_W::new(self, 7) } #[doc = "Bit 8 - BB_PLL _I2C force power down"] #[inline(always)] - #[must_use] pub fn bbpll_i2c_force_pd(&mut self) -> BBPLL_I2C_FORCE_PD_W { BBPLL_I2C_FORCE_PD_W::new(self, 8) } #[doc = "Bit 9 - BB_PLL_I2C force power up"] #[inline(always)] - #[must_use] pub fn bbpll_i2c_force_pu(&mut self) -> BBPLL_I2C_FORCE_PU_W { BBPLL_I2C_FORCE_PU_W::new(self, 9) } #[doc = "Bit 10 - BB_PLL force power down"] #[inline(always)] - #[must_use] pub fn bbpll_force_pd(&mut self) -> BBPLL_FORCE_PD_W { BBPLL_FORCE_PD_W::new(self, 10) } #[doc = "Bit 11 - BB_PLL force power up"] #[inline(always)] - #[must_use] pub fn bbpll_force_pu(&mut self) -> BBPLL_FORCE_PU_W { BBPLL_FORCE_PU_W::new(self, 11) } #[doc = "Bit 12 - crystall force power down"] #[inline(always)] - #[must_use] pub fn xtl_force_pd(&mut self) -> XTL_FORCE_PD_W { XTL_FORCE_PD_W::new(self, 12) } #[doc = "Bit 13 - crystall force power up"] #[inline(always)] - #[must_use] pub fn xtl_force_pu(&mut self) -> XTL_FORCE_PU_W { XTL_FORCE_PU_W::new(self, 13) } #[doc = "Bits 14:17 - wait bias_sleep and current source wakeup"] #[inline(always)] - #[must_use] pub fn xtl_en_wait(&mut self) -> XTL_EN_WAIT_W { XTL_EN_WAIT_W::new(self, 14) } #[doc = "Bit 23 - No public"] #[inline(always)] - #[must_use] pub fn xtl_force_iso(&mut self) -> XTL_FORCE_ISO_W { XTL_FORCE_ISO_W::new(self, 23) } #[doc = "Bit 24 - No public"] #[inline(always)] - #[must_use] pub fn pll_force_iso(&mut self) -> PLL_FORCE_ISO_W { PLL_FORCE_ISO_W::new(self, 24) } #[doc = "Bit 25 - No public"] #[inline(always)] - #[must_use] pub fn analog_force_iso(&mut self) -> ANALOG_FORCE_ISO_W { ANALOG_FORCE_ISO_W::new(self, 25) } #[doc = "Bit 26 - No public"] #[inline(always)] - #[must_use] pub fn xtl_force_noiso(&mut self) -> XTL_FORCE_NOISO_W { XTL_FORCE_NOISO_W::new(self, 26) } #[doc = "Bit 27 - No public"] #[inline(always)] - #[must_use] pub fn pll_force_noiso(&mut self) -> PLL_FORCE_NOISO_W { PLL_FORCE_NOISO_W::new(self, 27) } #[doc = "Bit 28 - No public"] #[inline(always)] - #[must_use] pub fn analog_force_noiso(&mut self) -> ANALOG_FORCE_NOISO_W { ANALOG_FORCE_NOISO_W::new(self, 28) } #[doc = "Bit 29 - digital wrap force reset in deep sleep"] #[inline(always)] - #[must_use] pub fn dg_wrap_force_rst(&mut self) -> DG_WRAP_FORCE_RST_W { DG_WRAP_FORCE_RST_W::new(self, 29) } #[doc = "Bit 30 - digital core force no reset in deep sleep"] #[inline(always)] - #[must_use] pub fn dg_wrap_force_norst(&mut self) -> DG_WRAP_FORCE_NORST_W { DG_WRAP_FORCE_NORST_W::new(self, 30) } #[doc = "Bit 31 - SW system reset"] #[inline(always)] - #[must_use] pub fn sw_sys_rst(&mut self) -> SW_SYS_RST_W { SW_SYS_RST_W::new(self, 31) } diff --git a/esp32s3/src/rtc_cntl/pad_hold.rs b/esp32s3/src/rtc_cntl/pad_hold.rs index 44ea003dcd..86bc8018ca 100644 --- a/esp32s3/src/rtc_cntl/pad_hold.rs +++ b/esp32s3/src/rtc_cntl/pad_hold.rs @@ -234,133 +234,111 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - hold rtc pad0"] #[inline(always)] - #[must_use] pub fn touch_pad0_hold(&mut self) -> TOUCH_PAD0_HOLD_W { TOUCH_PAD0_HOLD_W::new(self, 0) } #[doc = "Bit 1 - hold rtc pad-1"] #[inline(always)] - #[must_use] pub fn touch_pad1_hold(&mut self) -> TOUCH_PAD1_HOLD_W { TOUCH_PAD1_HOLD_W::new(self, 1) } #[doc = "Bit 2 - hold rtc pad-2"] #[inline(always)] - #[must_use] pub fn touch_pad2_hold(&mut self) -> TOUCH_PAD2_HOLD_W { TOUCH_PAD2_HOLD_W::new(self, 2) } #[doc = "Bit 3 - hold rtc pad-3"] #[inline(always)] - #[must_use] pub fn touch_pad3_hold(&mut self) -> TOUCH_PAD3_HOLD_W { TOUCH_PAD3_HOLD_W::new(self, 3) } #[doc = "Bit 4 - hold rtc pad-4"] #[inline(always)] - #[must_use] pub fn touch_pad4_hold(&mut self) -> TOUCH_PAD4_HOLD_W { TOUCH_PAD4_HOLD_W::new(self, 4) } #[doc = "Bit 5 - hold rtc pad-5"] #[inline(always)] - #[must_use] pub fn touch_pad5_hold(&mut self) -> TOUCH_PAD5_HOLD_W { TOUCH_PAD5_HOLD_W::new(self, 5) } #[doc = "Bit 6 - hold rtc pad-6"] #[inline(always)] - #[must_use] pub fn touch_pad6_hold(&mut self) -> TOUCH_PAD6_HOLD_W { TOUCH_PAD6_HOLD_W::new(self, 6) } #[doc = "Bit 7 - hold rtc pad-7"] #[inline(always)] - #[must_use] pub fn touch_pad7_hold(&mut self) -> TOUCH_PAD7_HOLD_W { TOUCH_PAD7_HOLD_W::new(self, 7) } #[doc = "Bit 8 - hold rtc pad-8"] #[inline(always)] - #[must_use] pub fn touch_pad8_hold(&mut self) -> TOUCH_PAD8_HOLD_W { TOUCH_PAD8_HOLD_W::new(self, 8) } #[doc = "Bit 9 - hold rtc pad-9"] #[inline(always)] - #[must_use] pub fn touch_pad9_hold(&mut self) -> TOUCH_PAD9_HOLD_W { TOUCH_PAD9_HOLD_W::new(self, 9) } #[doc = "Bit 10 - hold rtc pad-10"] #[inline(always)] - #[must_use] pub fn touch_pad10_hold(&mut self) -> TOUCH_PAD10_HOLD_W { TOUCH_PAD10_HOLD_W::new(self, 10) } #[doc = "Bit 11 - hold rtc pad-11"] #[inline(always)] - #[must_use] pub fn touch_pad11_hold(&mut self) -> TOUCH_PAD11_HOLD_W { TOUCH_PAD11_HOLD_W::new(self, 11) } #[doc = "Bit 12 - hold rtc pad-12"] #[inline(always)] - #[must_use] pub fn touch_pad12_hold(&mut self) -> TOUCH_PAD12_HOLD_W { TOUCH_PAD12_HOLD_W::new(self, 12) } #[doc = "Bit 13 - hold rtc pad-13"] #[inline(always)] - #[must_use] pub fn touch_pad13_hold(&mut self) -> TOUCH_PAD13_HOLD_W { TOUCH_PAD13_HOLD_W::new(self, 13) } #[doc = "Bit 14 - hold rtc pad-14"] #[inline(always)] - #[must_use] pub fn touch_pad14_hold(&mut self) -> TOUCH_PAD14_HOLD_W { TOUCH_PAD14_HOLD_W::new(self, 14) } #[doc = "Bit 15 - hold rtc pad-15"] #[inline(always)] - #[must_use] pub fn x32p_hold(&mut self) -> X32P_HOLD_W { X32P_HOLD_W::new(self, 15) } #[doc = "Bit 16 - hold rtc pad-16"] #[inline(always)] - #[must_use] pub fn x32n_hold(&mut self) -> X32N_HOLD_W { X32N_HOLD_W::new(self, 16) } #[doc = "Bit 17 - hold rtc pad-17"] #[inline(always)] - #[must_use] pub fn pdac1_hold(&mut self) -> PDAC1_HOLD_W { PDAC1_HOLD_W::new(self, 17) } #[doc = "Bit 18 - hold rtc pad-18"] #[inline(always)] - #[must_use] pub fn pdac2_hold(&mut self) -> PDAC2_HOLD_W { PDAC2_HOLD_W::new(self, 18) } #[doc = "Bit 19 - hold rtc pad-19"] #[inline(always)] - #[must_use] pub fn pad19_hold(&mut self) -> PAD19_HOLD_W { PAD19_HOLD_W::new(self, 19) } #[doc = "Bit 20 - hold rtc pad-20"] #[inline(always)] - #[must_use] pub fn pad20_hold(&mut self) -> PAD20_HOLD_W { PAD20_HOLD_W::new(self, 20) } #[doc = "Bit 21 - hold rtc pad-21"] #[inline(always)] - #[must_use] pub fn pad21_hold(&mut self) -> PAD21_HOLD_W { PAD21_HOLD_W::new(self, 21) } diff --git a/esp32s3/src/rtc_cntl/pg_ctrl.rs b/esp32s3/src/rtc_cntl/pg_ctrl.rs index e9f96d40fc..1db7cc1123 100644 --- a/esp32s3/src/rtc_cntl/pg_ctrl.rs +++ b/esp32s3/src/rtc_cntl/pg_ctrl.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 26:27 - GLITCH_DSENSE"] #[inline(always)] - #[must_use] pub fn power_glitch_dsense(&mut self) -> POWER_GLITCH_DSENSE_W { POWER_GLITCH_DSENSE_W::new(self, 26) } #[doc = "Bit 28 - force power glitch disable"] #[inline(always)] - #[must_use] pub fn power_glitch_force_pd(&mut self) -> POWER_GLITCH_FORCE_PD_W { POWER_GLITCH_FORCE_PD_W::new(self, 28) } #[doc = "Bit 29 - force power glitch enable"] #[inline(always)] - #[must_use] pub fn power_glitch_force_pu(&mut self) -> POWER_GLITCH_FORCE_PU_W { POWER_GLITCH_FORCE_PU_W::new(self, 29) } #[doc = "Bit 30 - select use analog fib signal"] #[inline(always)] - #[must_use] pub fn power_glitch_efuse_sel(&mut self) -> POWER_GLITCH_EFUSE_SEL_W { POWER_GLITCH_EFUSE_SEL_W::new(self, 30) } #[doc = "Bit 31 - enable power glitch"] #[inline(always)] - #[must_use] pub fn power_glitch_en(&mut self) -> POWER_GLITCH_EN_W { POWER_GLITCH_EN_W::new(self, 31) } diff --git a/esp32s3/src/rtc_cntl/pwc.rs b/esp32s3/src/rtc_cntl/pwc.rs index 02da71a223..9c139e649c 100644 --- a/esp32s3/src/rtc_cntl/pwc.rs +++ b/esp32s3/src/rtc_cntl/pwc.rs @@ -174,97 +174,81 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Fast RTC memory force no ISO"] #[inline(always)] - #[must_use] pub fn fastmem_force_noiso(&mut self) -> FASTMEM_FORCE_NOISO_W { FASTMEM_FORCE_NOISO_W::new(self, 0) } #[doc = "Bit 1 - Fast RTC memory force ISO"] #[inline(always)] - #[must_use] pub fn fastmem_force_iso(&mut self) -> FASTMEM_FORCE_ISO_W { FASTMEM_FORCE_ISO_W::new(self, 1) } #[doc = "Bit 2 - RTC memory force no ISO"] #[inline(always)] - #[must_use] pub fn slowmem_force_noiso(&mut self) -> SLOWMEM_FORCE_NOISO_W { SLOWMEM_FORCE_NOISO_W::new(self, 2) } #[doc = "Bit 3 - RTC memory force ISO"] #[inline(always)] - #[must_use] pub fn slowmem_force_iso(&mut self) -> SLOWMEM_FORCE_ISO_W { SLOWMEM_FORCE_ISO_W::new(self, 3) } #[doc = "Bit 4 - rtc_peri force ISO"] #[inline(always)] - #[must_use] pub fn force_iso(&mut self) -> FORCE_ISO_W { FORCE_ISO_W::new(self, 4) } #[doc = "Bit 5 - rtc_peri force no ISO"] #[inline(always)] - #[must_use] pub fn force_noiso(&mut self) -> FORCE_NOISO_W { FORCE_NOISO_W::new(self, 5) } #[doc = "Bit 6 - 1: Fast RTC memory PD following CPU, 0: fast RTC memory PD following RTC state machine"] #[inline(always)] - #[must_use] pub fn fastmem_folw_cpu(&mut self) -> FASTMEM_FOLW_CPU_W { FASTMEM_FOLW_CPU_W::new(self, 6) } #[doc = "Bit 7 - Fast RTC memory force PD"] #[inline(always)] - #[must_use] pub fn fastmem_force_lpd(&mut self) -> FASTMEM_FORCE_LPD_W { FASTMEM_FORCE_LPD_W::new(self, 7) } #[doc = "Bit 8 - Fast RTC memory force no PD"] #[inline(always)] - #[must_use] pub fn fastmem_force_lpu(&mut self) -> FASTMEM_FORCE_LPU_W { FASTMEM_FORCE_LPU_W::new(self, 8) } #[doc = "Bit 9 - 1: RTC memory PD following CPU, 0: RTC memory PD following RTC state machine"] #[inline(always)] - #[must_use] pub fn slowmem_folw_cpu(&mut self) -> SLOWMEM_FOLW_CPU_W { SLOWMEM_FOLW_CPU_W::new(self, 9) } #[doc = "Bit 10 - RTC memory force PD"] #[inline(always)] - #[must_use] pub fn slowmem_force_lpd(&mut self) -> SLOWMEM_FORCE_LPD_W { SLOWMEM_FORCE_LPD_W::new(self, 10) } #[doc = "Bit 11 - RTC memory force no PD"] #[inline(always)] - #[must_use] pub fn slowmem_force_lpu(&mut self) -> SLOWMEM_FORCE_LPU_W { SLOWMEM_FORCE_LPU_W::new(self, 11) } #[doc = "Bit 18 - rtc_peri force power down"] #[inline(always)] - #[must_use] pub fn force_pd(&mut self) -> FORCE_PD_W { FORCE_PD_W::new(self, 18) } #[doc = "Bit 19 - rtc_peri force power up"] #[inline(always)] - #[must_use] pub fn force_pu(&mut self) -> FORCE_PU_W { FORCE_PU_W::new(self, 19) } #[doc = "Bit 20 - enable power down rtc_peri in sleep"] #[inline(always)] - #[must_use] pub fn pd_en(&mut self) -> PD_EN_W { PD_EN_W::new(self, 20) } #[doc = "Bit 21 - rtc pad force hold"] #[inline(always)] - #[must_use] pub fn pad_force_hold(&mut self) -> PAD_FORCE_HOLD_W { PAD_FORCE_HOLD_W::new(self, 21) } diff --git a/esp32s3/src/rtc_cntl/regulator_drv_ctrl.rs b/esp32s3/src/rtc_cntl/regulator_drv_ctrl.rs index bc0d95d622..fd666f75fb 100644 --- a/esp32s3/src/rtc_cntl/regulator_drv_ctrl.rs +++ b/esp32s3/src/rtc_cntl/regulator_drv_ctrl.rs @@ -54,7 +54,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - No public"] #[inline(always)] - #[must_use] pub fn regulator_drv_b_monitor( &mut self, ) -> REGULATOR_DRV_B_MONITOR_W { @@ -62,19 +61,16 @@ impl W { } #[doc = "Bits 6:11 - No public"] #[inline(always)] - #[must_use] pub fn regulator_drv_b_slp(&mut self) -> REGULATOR_DRV_B_SLP_W { REGULATOR_DRV_B_SLP_W::new(self, 6) } #[doc = "Bits 12:19 - No public"] #[inline(always)] - #[must_use] pub fn dg_vdd_drv_b_slp(&mut self) -> DG_VDD_DRV_B_SLP_W { DG_VDD_DRV_B_SLP_W::new(self, 12) } #[doc = "Bits 20:27 - No public"] #[inline(always)] - #[must_use] pub fn dg_vdd_drv_b_monitor(&mut self) -> DG_VDD_DRV_B_MONITOR_W { DG_VDD_DRV_B_MONITOR_W::new(self, 20) } diff --git a/esp32s3/src/rtc_cntl/reset_state.rs b/esp32s3/src/rtc_cntl/reset_state.rs index e55d5b4755..b81047fabb 100644 --- a/esp32s3/src/rtc_cntl/reset_state.rs +++ b/esp32s3/src/rtc_cntl/reset_state.rs @@ -130,61 +130,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - APP CPU state vector sel"] #[inline(always)] - #[must_use] pub fn appcpu_stat_vector_sel(&mut self) -> APPCPU_STAT_VECTOR_SEL_W { APPCPU_STAT_VECTOR_SEL_W::new(self, 12) } #[doc = "Bit 13 - PRO CPU state vector sel"] #[inline(always)] - #[must_use] pub fn procpu_stat_vector_sel(&mut self) -> PROCPU_STAT_VECTOR_SEL_W { PROCPU_STAT_VECTOR_SEL_W::new(self, 13) } #[doc = "Bit 16 - clear PRO CPU reset_flag"] #[inline(always)] - #[must_use] pub fn reset_flag_procpu_clr(&mut self) -> RESET_FLAG_PROCPU_CLR_W { RESET_FLAG_PROCPU_CLR_W::new(self, 16) } #[doc = "Bit 17 - clear APP CPU reset flag"] #[inline(always)] - #[must_use] pub fn reset_flag_appcpu_clr(&mut self) -> RESET_FLAG_APPCPU_CLR_W { RESET_FLAG_APPCPU_CLR_W::new(self, 17) } #[doc = "Bit 18 - APPCPU OcdHaltOnReset"] #[inline(always)] - #[must_use] pub fn appcpu_ocd_halt_on_reset(&mut self) -> APPCPU_OCD_HALT_ON_RESET_W { APPCPU_OCD_HALT_ON_RESET_W::new(self, 18) } #[doc = "Bit 19 - PROCPU OcdHaltOnReset"] #[inline(always)] - #[must_use] pub fn procpu_ocd_halt_on_reset(&mut self) -> PROCPU_OCD_HALT_ON_RESET_W { PROCPU_OCD_HALT_ON_RESET_W::new(self, 19) } #[doc = "Bit 22 - clear jtag reset flag"] #[inline(always)] - #[must_use] pub fn reset_flag_jtag_procpu_clr(&mut self) -> RESET_FLAG_JTAG_PROCPU_CLR_W { RESET_FLAG_JTAG_PROCPU_CLR_W::new(self, 22) } #[doc = "Bit 23 - clear jtag reset flag"] #[inline(always)] - #[must_use] pub fn reset_flag_jtag_appcpu_clr(&mut self) -> RESET_FLAG_JTAG_APPCPU_CLR_W { RESET_FLAG_JTAG_APPCPU_CLR_W::new(self, 23) } #[doc = "Bit 24 - bypass cpu1 dreset"] #[inline(always)] - #[must_use] pub fn app_dreset_mask(&mut self) -> APP_DRESET_MASK_W { APP_DRESET_MASK_W::new(self, 24) } #[doc = "Bit 25 - bypass cpu0 dreset"] #[inline(always)] - #[must_use] pub fn pro_dreset_mask(&mut self) -> PRO_DRESET_MASK_W { PRO_DRESET_MASK_W::new(self, 25) } diff --git a/esp32s3/src/rtc_cntl/retention_ctrl.rs b/esp32s3/src/rtc_cntl/retention_ctrl.rs index 5d94be73e9..2c66373f62 100644 --- a/esp32s3/src/rtc_cntl/retention_ctrl.rs +++ b/esp32s3/src/rtc_cntl/retention_ctrl.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 10:13 - No public"] #[inline(always)] - #[must_use] pub fn retention_tag_mode(&mut self) -> RETENTION_TAG_MODE_W { RETENTION_TAG_MODE_W::new(self, 10) } #[doc = "Bits 14:15 - congfigure retention target cpu and/or tag"] #[inline(always)] - #[must_use] pub fn retention_target(&mut self) -> RETENTION_TARGET_W { RETENTION_TARGET_W::new(self, 14) } #[doc = "Bit 16 - No public"] #[inline(always)] - #[must_use] pub fn retention_clk_sel(&mut self) -> RETENTION_CLK_SEL_W { RETENTION_CLK_SEL_W::new(self, 16) } #[doc = "Bits 17:19 - wait retention done cycle"] #[inline(always)] - #[must_use] pub fn retention_done_wait(&mut self) -> RETENTION_DONE_WAIT_W { RETENTION_DONE_WAIT_W::new(self, 17) } #[doc = "Bits 20:23 - wait clk off cycle"] #[inline(always)] - #[must_use] pub fn retention_clkoff_wait(&mut self) -> RETENTION_CLKOFF_WAIT_W { RETENTION_CLKOFF_WAIT_W::new(self, 20) } #[doc = "Bit 24 - enable retention"] #[inline(always)] - #[must_use] pub fn retention_en(&mut self) -> RETENTION_EN_W { RETENTION_EN_W::new(self, 24) } #[doc = "Bits 25:31 - wait cycles for rention operation"] #[inline(always)] - #[must_use] pub fn retention_wait(&mut self) -> RETENTION_WAIT_W { RETENTION_WAIT_W::new(self, 25) } diff --git a/esp32s3/src/rtc_cntl/rtc.rs b/esp32s3/src/rtc_cntl/rtc.rs index fb1de8c17a..38a22cfbad 100644 --- a/esp32s3/src/rtc_cntl/rtc.rs +++ b/esp32s3/src/rtc_cntl/rtc.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 7 - enable dig regulator cali"] #[inline(always)] - #[must_use] pub fn dig_reg_cal_en(&mut self) -> DIG_REG_CAL_EN_W { DIG_REG_CAL_EN_W::new(self, 7) } #[doc = "Bits 14:21 - SCK_DCAP"] #[inline(always)] - #[must_use] pub fn sck_dcap(&mut self) -> SCK_DCAP_W { SCK_DCAP_W::new(self, 14) } #[doc = "Bit 28 - RTC_DBOOST force power down"] #[inline(always)] - #[must_use] pub fn dboost_force_pd(&mut self) -> DBOOST_FORCE_PD_W { DBOOST_FORCE_PD_W::new(self, 28) } #[doc = "Bit 29 - RTC_DBOOST force power up"] #[inline(always)] - #[must_use] pub fn dboost_force_pu(&mut self) -> DBOOST_FORCE_PU_W { DBOOST_FORCE_PU_W::new(self, 29) } #[doc = "Bit 30 - RTC_REG force power down (for RTC_REG power down means decrease the voltage to 0.8v or lower )"] #[inline(always)] - #[must_use] pub fn regulator_force_pd(&mut self) -> REGULATOR_FORCE_PD_W { REGULATOR_FORCE_PD_W::new(self, 30) } #[doc = "Bit 31 - RTC_REG force power on (for RTC_REG power down means decrease the voltage to 0.8v or lower )"] #[inline(always)] - #[must_use] pub fn regulator_force_pu(&mut self) -> REGULATOR_FORCE_PU_W { REGULATOR_FORCE_PU_W::new(self, 31) } diff --git a/esp32s3/src/rtc_cntl/sdio_act_conf.rs b/esp32s3/src/rtc_cntl/sdio_act_conf.rs index a4621c34b1..7a23dace27 100644 --- a/esp32s3/src/rtc_cntl/sdio_act_conf.rs +++ b/esp32s3/src/rtc_cntl/sdio_act_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 22:31 - No public"] #[inline(always)] - #[must_use] pub fn sdio_act_dnum(&mut self) -> SDIO_ACT_DNUM_W { SDIO_ACT_DNUM_W::new(self, 22) } diff --git a/esp32s3/src/rtc_cntl/sdio_conf.rs b/esp32s3/src/rtc_cntl/sdio_conf.rs index add5b385d4..a94f44bd1b 100644 --- a/esp32s3/src/rtc_cntl/sdio_conf.rs +++ b/esp32s3/src/rtc_cntl/sdio_conf.rs @@ -172,91 +172,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - timer count to apply reg_sdio_dcap after sdio power on"] #[inline(always)] - #[must_use] pub fn sdio_timer_target(&mut self) -> SDIO_TIMER_TARGET_W { SDIO_TIMER_TARGET_W::new(self, 0) } #[doc = "Bits 9:10 - Tieh = 1 mode drive ability. Initially set to 0 to limit charge current, set to 3 after several us."] #[inline(always)] - #[must_use] pub fn sdio_dthdrv(&mut self) -> SDIO_DTHDRV_W { SDIO_DTHDRV_W::new(self, 9) } #[doc = "Bits 11:12 - ability to prevent LDO from overshoot"] #[inline(always)] - #[must_use] pub fn sdio_dcap(&mut self) -> SDIO_DCAP_W { SDIO_DCAP_W::new(self, 11) } #[doc = "Bits 13:14 - add resistor from ldo output to ground. 0: no res, 1: 6k,2:4k,3:2k"] #[inline(always)] - #[must_use] pub fn sdio_initi(&mut self) -> SDIO_INITI_W { SDIO_INITI_W::new(self, 13) } #[doc = "Bit 15 - 0 to set init\\[1:0\\]=0"] #[inline(always)] - #[must_use] pub fn sdio_en_initi(&mut self) -> SDIO_EN_INITI_W { SDIO_EN_INITI_W::new(self, 15) } #[doc = "Bits 16:18 - tune current limit threshold when tieh = 0. About 800mA/(8+d)"] #[inline(always)] - #[must_use] pub fn sdio_dcurlim(&mut self) -> SDIO_DCURLIM_W { SDIO_DCURLIM_W::new(self, 16) } #[doc = "Bit 19 - select current limit mode"] #[inline(always)] - #[must_use] pub fn sdio_modecurlim(&mut self) -> SDIO_MODECURLIM_W { SDIO_MODECURLIM_W::new(self, 19) } #[doc = "Bit 20 - enable current limit"] #[inline(always)] - #[must_use] pub fn sdio_encurlim(&mut self) -> SDIO_ENCURLIM_W { SDIO_ENCURLIM_W::new(self, 20) } #[doc = "Bit 21 - power down SDIO_REG in sleep. Only active when reg_sdio_force = 0"] #[inline(always)] - #[must_use] pub fn sdio_reg_pd_en(&mut self) -> SDIO_REG_PD_EN_W { SDIO_REG_PD_EN_W::new(self, 21) } #[doc = "Bit 22 - 1: use SW option to control SDIO_REG, 0: use state machine"] #[inline(always)] - #[must_use] pub fn sdio_force(&mut self) -> SDIO_FORCE_W { SDIO_FORCE_W::new(self, 22) } #[doc = "Bit 23 - SW option for SDIO_TIEH. Only active when reg_sdio_force = 1"] #[inline(always)] - #[must_use] pub fn sdio_tieh(&mut self) -> SDIO_TIEH_W { SDIO_TIEH_W::new(self, 23) } #[doc = "Bits 25:26 - SW option for DREFL_SDIO. Only active when reg_sdio_force = 1"] #[inline(always)] - #[must_use] pub fn drefl_sdio(&mut self) -> DREFL_SDIO_W { DREFL_SDIO_W::new(self, 25) } #[doc = "Bits 27:28 - SW option for DREFM_SDIO. Only active when reg_sdio_force = 1"] #[inline(always)] - #[must_use] pub fn drefm_sdio(&mut self) -> DREFM_SDIO_W { DREFM_SDIO_W::new(self, 27) } #[doc = "Bits 29:30 - SW option for DREFH_SDIO. Only active when reg_sdio_force = 1"] #[inline(always)] - #[must_use] pub fn drefh_sdio(&mut self) -> DREFH_SDIO_W { DREFH_SDIO_W::new(self, 29) } #[doc = "Bit 31 - power on flash regulator"] #[inline(always)] - #[must_use] pub fn xpd_sdio(&mut self) -> XPD_SDIO_W { XPD_SDIO_W::new(self, 31) } diff --git a/esp32s3/src/rtc_cntl/slow_clk_conf.rs b/esp32s3/src/rtc_cntl/slow_clk_conf.rs index 6588aa4666..dcd3b53a88 100644 --- a/esp32s3/src/rtc_cntl/slow_clk_conf.rs +++ b/esp32s3/src/rtc_cntl/slow_clk_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 22 - used to sync div bus. clear vld before set reg_rtc_ana_clk_div, then set vld to actually switch the clk"] #[inline(always)] - #[must_use] pub fn ana_clk_div_vld(&mut self) -> ANA_CLK_DIV_VLD_W { ANA_CLK_DIV_VLD_W::new(self, 22) } #[doc = "Bits 23:30 - rtc clk div"] #[inline(always)] - #[must_use] pub fn ana_clk_div(&mut self) -> ANA_CLK_DIV_W { ANA_CLK_DIV_W::new(self, 23) } #[doc = "Bit 31 - No public"] #[inline(always)] - #[must_use] pub fn slow_clk_next_edge(&mut self) -> SLOW_CLK_NEXT_EDGE_W { SLOW_CLK_NEXT_EDGE_W::new(self, 31) } diff --git a/esp32s3/src/rtc_cntl/slp_reject_conf.rs b/esp32s3/src/rtc_cntl/slp_reject_conf.rs index cc51ec6daf..f68024e2d0 100644 --- a/esp32s3/src/rtc_cntl/slp_reject_conf.rs +++ b/esp32s3/src/rtc_cntl/slp_reject_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 12:29 - sleep reject enable"] #[inline(always)] - #[must_use] pub fn sleep_reject_ena(&mut self) -> SLEEP_REJECT_ENA_W { SLEEP_REJECT_ENA_W::new(self, 12) } #[doc = "Bit 30 - enable reject for light sleep"] #[inline(always)] - #[must_use] pub fn light_slp_reject_en(&mut self) -> LIGHT_SLP_REJECT_EN_W { LIGHT_SLP_REJECT_EN_W::new(self, 30) } #[doc = "Bit 31 - enable reject for deep sleep"] #[inline(always)] - #[must_use] pub fn deep_slp_reject_en(&mut self) -> DEEP_SLP_REJECT_EN_W { DEEP_SLP_REJECT_EN_W::new(self, 31) } diff --git a/esp32s3/src/rtc_cntl/slp_timer0.rs b/esp32s3/src/rtc_cntl/slp_timer0.rs index f65dbb1829..1c5a821cd5 100644 --- a/esp32s3/src/rtc_cntl/slp_timer0.rs +++ b/esp32s3/src/rtc_cntl/slp_timer0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - RTC sleep timer low 32 bits"] #[inline(always)] - #[must_use] pub fn slp_val_lo(&mut self) -> SLP_VAL_LO_W { SLP_VAL_LO_W::new(self, 0) } diff --git a/esp32s3/src/rtc_cntl/slp_timer1.rs b/esp32s3/src/rtc_cntl/slp_timer1.rs index bae8df9de7..cd675e829a 100644 --- a/esp32s3/src/rtc_cntl/slp_timer1.rs +++ b/esp32s3/src/rtc_cntl/slp_timer1.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - RTC sleep timer high 16 bits"] #[inline(always)] - #[must_use] pub fn slp_val_hi(&mut self) -> SLP_VAL_HI_W { SLP_VAL_HI_W::new(self, 0) } #[doc = "Bit 16 - timer alarm enable bit"] #[inline(always)] - #[must_use] pub fn main_timer_alarm_en(&mut self) -> MAIN_TIMER_ALARM_EN_W { MAIN_TIMER_ALARM_EN_W::new(self, 16) } diff --git a/esp32s3/src/rtc_cntl/state0.rs b/esp32s3/src/rtc_cntl/state0.rs index a6ed6c6a47..085f9a86c3 100644 --- a/esp32s3/src/rtc_cntl/state0.rs +++ b/esp32s3/src/rtc_cntl/state0.rs @@ -66,37 +66,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - rtc software interrupt to main cpu"] #[inline(always)] - #[must_use] pub fn sw_cpu_int(&mut self) -> SW_CPU_INT_W { SW_CPU_INT_W::new(self, 0) } #[doc = "Bit 1 - clear rtc sleep reject cause"] #[inline(always)] - #[must_use] pub fn slp_reject_cause_clr(&mut self) -> SLP_REJECT_CAUSE_CLR_W { SLP_REJECT_CAUSE_CLR_W::new(self, 1) } #[doc = "Bit 22 - 1: APB to RTC using bridge, 0: APB to RTC using sync"] #[inline(always)] - #[must_use] pub fn apb2rtc_bridge_sel(&mut self) -> APB2RTC_BRIDGE_SEL_W { APB2RTC_BRIDGE_SEL_W::new(self, 22) } #[doc = "Bit 29 - leep wakeup bit"] #[inline(always)] - #[must_use] pub fn slp_wakeup(&mut self) -> SLP_WAKEUP_W { SLP_WAKEUP_W::new(self, 29) } #[doc = "Bit 30 - leep reject bit"] #[inline(always)] - #[must_use] pub fn slp_reject(&mut self) -> SLP_REJECT_W { SLP_REJECT_W::new(self, 30) } #[doc = "Bit 31 - sleep enable bit"] #[inline(always)] - #[must_use] pub fn sleep_en(&mut self) -> SLEEP_EN_W { SLEEP_EN_W::new(self, 31) } diff --git a/esp32s3/src/rtc_cntl/store0.rs b/esp32s3/src/rtc_cntl/store0.rs index b0d717b8bd..b2da923499 100644 --- a/esp32s3/src/rtc_cntl/store0.rs +++ b/esp32s3/src/rtc_cntl/store0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Reserved register"] #[inline(always)] - #[must_use] pub fn scratch0(&mut self) -> SCRATCH0_W { SCRATCH0_W::new(self, 0) } diff --git a/esp32s3/src/rtc_cntl/store1.rs b/esp32s3/src/rtc_cntl/store1.rs index 0638e53630..7a8c3f811b 100644 --- a/esp32s3/src/rtc_cntl/store1.rs +++ b/esp32s3/src/rtc_cntl/store1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Reserved register"] #[inline(always)] - #[must_use] pub fn scratch1(&mut self) -> SCRATCH1_W { SCRATCH1_W::new(self, 0) } diff --git a/esp32s3/src/rtc_cntl/store2.rs b/esp32s3/src/rtc_cntl/store2.rs index 9eed854931..850b2d00a6 100644 --- a/esp32s3/src/rtc_cntl/store2.rs +++ b/esp32s3/src/rtc_cntl/store2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Reserved register"] #[inline(always)] - #[must_use] pub fn scratch2(&mut self) -> SCRATCH2_W { SCRATCH2_W::new(self, 0) } diff --git a/esp32s3/src/rtc_cntl/store3.rs b/esp32s3/src/rtc_cntl/store3.rs index 0752e41386..dae47119b4 100644 --- a/esp32s3/src/rtc_cntl/store3.rs +++ b/esp32s3/src/rtc_cntl/store3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Reserved register"] #[inline(always)] - #[must_use] pub fn scratch3(&mut self) -> SCRATCH3_W { SCRATCH3_W::new(self, 0) } diff --git a/esp32s3/src/rtc_cntl/store4.rs b/esp32s3/src/rtc_cntl/store4.rs index 7fefa7880d..0f43ae912a 100644 --- a/esp32s3/src/rtc_cntl/store4.rs +++ b/esp32s3/src/rtc_cntl/store4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reserved register"] #[inline(always)] - #[must_use] pub fn scratch4(&mut self) -> SCRATCH4_W { SCRATCH4_W::new(self, 0) } diff --git a/esp32s3/src/rtc_cntl/store5.rs b/esp32s3/src/rtc_cntl/store5.rs index a753f76918..d1feb9ab84 100644 --- a/esp32s3/src/rtc_cntl/store5.rs +++ b/esp32s3/src/rtc_cntl/store5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reserved register"] #[inline(always)] - #[must_use] pub fn scratch5(&mut self) -> SCRATCH5_W { SCRATCH5_W::new(self, 0) } diff --git a/esp32s3/src/rtc_cntl/store6.rs b/esp32s3/src/rtc_cntl/store6.rs index 7654b9c792..6070a2f378 100644 --- a/esp32s3/src/rtc_cntl/store6.rs +++ b/esp32s3/src/rtc_cntl/store6.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reserved register"] #[inline(always)] - #[must_use] pub fn scratch6(&mut self) -> SCRATCH6_W { SCRATCH6_W::new(self, 0) } diff --git a/esp32s3/src/rtc_cntl/store7.rs b/esp32s3/src/rtc_cntl/store7.rs index f053ac90d2..f33b081cf0 100644 --- a/esp32s3/src/rtc_cntl/store7.rs +++ b/esp32s3/src/rtc_cntl/store7.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - reserved register"] #[inline(always)] - #[must_use] pub fn scratch7(&mut self) -> SCRATCH7_W { SCRATCH7_W::new(self, 0) } diff --git a/esp32s3/src/rtc_cntl/sw_cpu_stall.rs b/esp32s3/src/rtc_cntl/sw_cpu_stall.rs index bc9ad000df..b82c58e9ff 100644 --- a/esp32s3/src/rtc_cntl/sw_cpu_stall.rs +++ b/esp32s3/src/rtc_cntl/sw_cpu_stall.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 20:25 - {reg_sw_stall_appcpu_c1\\[5:0\\], reg_sw_stall_appcpu_c0\\[1:0\\]} == 0x86 will stall APP CPU"] #[inline(always)] - #[must_use] pub fn sw_stall_appcpu_c1(&mut self) -> SW_STALL_APPCPU_C1_W { SW_STALL_APPCPU_C1_W::new(self, 20) } #[doc = "Bits 26:31 - {reg_sw_stall_appcpu_c1\\[5:0\\], reg_sw_stall_appcpu_c0\\[1:0\\]} == 0x86 will stall APP CPU"] #[inline(always)] - #[must_use] pub fn sw_stall_procpu_c1(&mut self) -> SW_STALL_PROCPU_C1_W { SW_STALL_PROCPU_C1_W::new(self, 26) } diff --git a/esp32s3/src/rtc_cntl/swd_conf.rs b/esp32s3/src/rtc_cntl/swd_conf.rs index 3646c7d0c0..9253cac530 100644 --- a/esp32s3/src/rtc_cntl/swd_conf.rs +++ b/esp32s3/src/rtc_cntl/swd_conf.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 17 - bypass super watch dog reset"] #[inline(always)] - #[must_use] pub fn swd_bypass_rst(&mut self) -> SWD_BYPASS_RST_W { SWD_BYPASS_RST_W::new(self, 17) } #[doc = "Bits 18:27 - adjust signal width send to swd"] #[inline(always)] - #[must_use] pub fn swd_signal_width(&mut self) -> SWD_SIGNAL_WIDTH_W { SWD_SIGNAL_WIDTH_W::new(self, 18) } #[doc = "Bit 28 - reset swd reset flag"] #[inline(always)] - #[must_use] pub fn swd_rst_flag_clr(&mut self) -> SWD_RST_FLAG_CLR_W { SWD_RST_FLAG_CLR_W::new(self, 28) } #[doc = "Bit 29 - Sw feed swd"] #[inline(always)] - #[must_use] pub fn swd_feed(&mut self) -> SWD_FEED_W { SWD_FEED_W::new(self, 29) } #[doc = "Bit 30 - disabel SWD"] #[inline(always)] - #[must_use] pub fn swd_disable(&mut self) -> SWD_DISABLE_W { SWD_DISABLE_W::new(self, 30) } #[doc = "Bit 31 - automatically feed swd when int comes"] #[inline(always)] - #[must_use] pub fn swd_auto_feed_en(&mut self) -> SWD_AUTO_FEED_EN_W { SWD_AUTO_FEED_EN_W::new(self, 31) } diff --git a/esp32s3/src/rtc_cntl/swd_wprotect.rs b/esp32s3/src/rtc_cntl/swd_wprotect.rs index 2e3f80eb4b..f94ca2cb1c 100644 --- a/esp32s3/src/rtc_cntl/swd_wprotect.rs +++ b/esp32s3/src/rtc_cntl/swd_wprotect.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - super watch dog key"] #[inline(always)] - #[must_use] pub fn swd_wkey(&mut self) -> SWD_WKEY_W { SWD_WKEY_W::new(self, 0) } diff --git a/esp32s3/src/rtc_cntl/time_update.rs b/esp32s3/src/rtc_cntl/time_update.rs index 79a1dfddf1..99de4e5b2b 100644 --- a/esp32s3/src/rtc_cntl/time_update.rs +++ b/esp32s3/src/rtc_cntl/time_update.rs @@ -46,25 +46,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 27 - Enable to record system stall time"] #[inline(always)] - #[must_use] pub fn timer_sys_stall(&mut self) -> TIMER_SYS_STALL_W { TIMER_SYS_STALL_W::new(self, 27) } #[doc = "Bit 28 - Enable to record 40M XTAL OFF time"] #[inline(always)] - #[must_use] pub fn timer_xtl_off(&mut self) -> TIMER_XTL_OFF_W { TIMER_XTL_OFF_W::new(self, 28) } #[doc = "Bit 29 - enable to record system reset time"] #[inline(always)] - #[must_use] pub fn timer_sys_rst(&mut self) -> TIMER_SYS_RST_W { TIMER_SYS_RST_W::new(self, 29) } #[doc = "Bit 31 - Set 1: to update register with RTC timer"] #[inline(always)] - #[must_use] pub fn time_update(&mut self) -> TIME_UPDATE_W { TIME_UPDATE_W::new(self, 31) } diff --git a/esp32s3/src/rtc_cntl/timer1.rs b/esp32s3/src/rtc_cntl/timer1.rs index b3bc897ac9..7cc48f52e4 100644 --- a/esp32s3/src/rtc_cntl/timer1.rs +++ b/esp32s3/src/rtc_cntl/timer1.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - CPU stall enable bit"] #[inline(always)] - #[must_use] pub fn cpu_stall_en(&mut self) -> CPU_STALL_EN_W { CPU_STALL_EN_W::new(self, 0) } #[doc = "Bits 1:5 - CPU stall wait cycles in fast_clk_rtc"] #[inline(always)] - #[must_use] pub fn cpu_stall_wait(&mut self) -> CPU_STALL_WAIT_W { CPU_STALL_WAIT_W::new(self, 1) } #[doc = "Bits 6:13 - CK8M wait cycles in slow_clk_rtc"] #[inline(always)] - #[must_use] pub fn ck8m_wait(&mut self) -> CK8M_WAIT_W { CK8M_WAIT_W::new(self, 6) } #[doc = "Bits 14:23 - XTAL wait cycles in slow_clk_rtc"] #[inline(always)] - #[must_use] pub fn xtl_buf_wait(&mut self) -> XTL_BUF_WAIT_W { XTL_BUF_WAIT_W::new(self, 14) } #[doc = "Bits 24:31 - PLL wait cycles in slow_clk_rtc"] #[inline(always)] - #[must_use] pub fn pll_buf_wait(&mut self) -> PLL_BUF_WAIT_W { PLL_BUF_WAIT_W::new(self, 24) } diff --git a/esp32s3/src/rtc_cntl/timer2.rs b/esp32s3/src/rtc_cntl/timer2.rs index 0474cec49c..65158bf83e 100644 --- a/esp32s3/src/rtc_cntl/timer2.rs +++ b/esp32s3/src/rtc_cntl/timer2.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 15:23 - wait cycles in slow_clk_rtc before ULP-coprocessor / touch controller start to work"] #[inline(always)] - #[must_use] pub fn ulpcp_touch_start_wait(&mut self) -> ULPCP_TOUCH_START_WAIT_W { ULPCP_TOUCH_START_WAIT_W::new(self, 15) } #[doc = "Bits 24:31 - minimal cycles in slow_clk_rtc for CK8M in power down state"] #[inline(always)] - #[must_use] pub fn min_time_ck8m_off(&mut self) -> MIN_TIME_CK8M_OFF_W { MIN_TIME_CK8M_OFF_W::new(self, 24) } diff --git a/esp32s3/src/rtc_cntl/timer3.rs b/esp32s3/src/rtc_cntl/timer3.rs index 97b98a756d..5345e4030a 100644 --- a/esp32s3/src/rtc_cntl/timer3.rs +++ b/esp32s3/src/rtc_cntl/timer3.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - No public"] #[inline(always)] - #[must_use] pub fn wifi_wait_timer(&mut self) -> WIFI_WAIT_TIMER_W { WIFI_WAIT_TIMER_W::new(self, 0) } #[doc = "Bits 9:15 - No public"] #[inline(always)] - #[must_use] pub fn wifi_powerup_timer(&mut self) -> WIFI_POWERUP_TIMER_W { WIFI_POWERUP_TIMER_W::new(self, 9) } #[doc = "Bits 16:24 - No public"] #[inline(always)] - #[must_use] pub fn bt_wait_timer(&mut self) -> BT_WAIT_TIMER_W { BT_WAIT_TIMER_W::new(self, 16) } #[doc = "Bits 25:31 - No public"] #[inline(always)] - #[must_use] pub fn bt_powerup_timer(&mut self) -> BT_POWERUP_TIMER_W { BT_POWERUP_TIMER_W::new(self, 25) } diff --git a/esp32s3/src/rtc_cntl/timer4.rs b/esp32s3/src/rtc_cntl/timer4.rs index 942fb4727c..a9e3eda5a1 100644 --- a/esp32s3/src/rtc_cntl/timer4.rs +++ b/esp32s3/src/rtc_cntl/timer4.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - No public"] #[inline(always)] - #[must_use] pub fn wait_timer(&mut self) -> WAIT_TIMER_W { WAIT_TIMER_W::new(self, 0) } #[doc = "Bits 9:15 - No public"] #[inline(always)] - #[must_use] pub fn powerup_timer(&mut self) -> POWERUP_TIMER_W { POWERUP_TIMER_W::new(self, 9) } #[doc = "Bits 16:24 - No public"] #[inline(always)] - #[must_use] pub fn dg_wrap_wait_timer(&mut self) -> DG_WRAP_WAIT_TIMER_W { DG_WRAP_WAIT_TIMER_W::new(self, 16) } #[doc = "Bits 25:31 - No public"] #[inline(always)] - #[must_use] pub fn dg_wrap_powerup_timer(&mut self) -> DG_WRAP_POWERUP_TIMER_W { DG_WRAP_POWERUP_TIMER_W::new(self, 25) } diff --git a/esp32s3/src/rtc_cntl/timer5.rs b/esp32s3/src/rtc_cntl/timer5.rs index f845b52ac2..02cc578e3a 100644 --- a/esp32s3/src/rtc_cntl/timer5.rs +++ b/esp32s3/src/rtc_cntl/timer5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 8:15 - minimal sleep cycles in slow_clk_rtc"] #[inline(always)] - #[must_use] pub fn min_slp_val(&mut self) -> MIN_SLP_VAL_W { MIN_SLP_VAL_W::new(self, 8) } diff --git a/esp32s3/src/rtc_cntl/timer6.rs b/esp32s3/src/rtc_cntl/timer6.rs index a413617021..2e36ef6857 100644 --- a/esp32s3/src/rtc_cntl/timer6.rs +++ b/esp32s3/src/rtc_cntl/timer6.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:8 - No public"] #[inline(always)] - #[must_use] pub fn cpu_top_wait_timer(&mut self) -> CPU_TOP_WAIT_TIMER_W { CPU_TOP_WAIT_TIMER_W::new(self, 0) } #[doc = "Bits 9:15 - No public"] #[inline(always)] - #[must_use] pub fn cpu_top_powerup_timer(&mut self) -> CPU_TOP_POWERUP_TIMER_W { CPU_TOP_POWERUP_TIMER_W::new(self, 9) } #[doc = "Bits 16:24 - No public"] #[inline(always)] - #[must_use] pub fn dg_peri_wait_timer(&mut self) -> DG_PERI_WAIT_TIMER_W { DG_PERI_WAIT_TIMER_W::new(self, 16) } #[doc = "Bits 25:31 - No public"] #[inline(always)] - #[must_use] pub fn dg_peri_powerup_timer(&mut self) -> DG_PERI_POWERUP_TIMER_W { DG_PERI_POWERUP_TIMER_W::new(self, 25) } diff --git a/esp32s3/src/rtc_cntl/touch_approach.rs b/esp32s3/src/rtc_cntl/touch_approach.rs index 6e7230fc4b..3be008fb95 100644 --- a/esp32s3/src/rtc_cntl/touch_approach.rs +++ b/esp32s3/src/rtc_cntl/touch_approach.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 23 - clear touch slp channel"] #[inline(always)] - #[must_use] pub fn touch_slp_channel_clr(&mut self) -> TOUCH_SLP_CHANNEL_CLR_W { TOUCH_SLP_CHANNEL_CLR_W::new(self, 23) } #[doc = "Bits 24:31 - approach pads total meas times"] #[inline(always)] - #[must_use] pub fn touch_approach_meas_time(&mut self) -> TOUCH_APPROACH_MEAS_TIME_W { TOUCH_APPROACH_MEAS_TIME_W::new(self, 24) } diff --git a/esp32s3/src/rtc_cntl/touch_ctrl1.rs b/esp32s3/src/rtc_cntl/touch_ctrl1.rs index b8d45d3f42..5a2c4f86fd 100644 --- a/esp32s3/src/rtc_cntl/touch_ctrl1.rs +++ b/esp32s3/src/rtc_cntl/touch_ctrl1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - sleep cycles for timer"] #[inline(always)] - #[must_use] pub fn touch_sleep_cycles(&mut self) -> TOUCH_SLEEP_CYCLES_W { TOUCH_SLEEP_CYCLES_W::new(self, 0) } #[doc = "Bits 16:31 - the meas length (in 8MHz)"] #[inline(always)] - #[must_use] pub fn touch_meas_num(&mut self) -> TOUCH_MEAS_NUM_W { TOUCH_MEAS_NUM_W::new(self, 16) } diff --git a/esp32s3/src/rtc_cntl/touch_ctrl2.rs b/esp32s3/src/rtc_cntl/touch_ctrl2.rs index 8477053011..a8aab7b7aa 100644 --- a/esp32s3/src/rtc_cntl/touch_ctrl2.rs +++ b/esp32s3/src/rtc_cntl/touch_ctrl2.rs @@ -30,9 +30,9 @@ pub type TOUCH_DBIAS_W<'a, REG> = crate::BitWriter<'a, REG>; pub type TOUCH_SLP_TIMER_EN_R = crate::BitReader; #[doc = "Field `TOUCH_SLP_TIMER_EN` writer - touch timer enable bit"] pub type TOUCH_SLP_TIMER_EN_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `TOUCH_START_FSM_EN` reader - 1: TOUCH_START & TOUCH_XPD is controlled by touch fsm"] +#[doc = "Field `TOUCH_START_FSM_EN` reader - 1: TOUCH_START & TOUCH_XPD is controlled by touch fsm"] pub type TOUCH_START_FSM_EN_R = crate::BitReader; -#[doc = "Field `TOUCH_START_FSM_EN` writer - 1: TOUCH_START & TOUCH_XPD is controlled by touch fsm"] +#[doc = "Field `TOUCH_START_FSM_EN` writer - 1: TOUCH_START & TOUCH_XPD is controlled by touch fsm"] pub type TOUCH_START_FSM_EN_W<'a, REG> = crate::BitWriter<'a, REG>; #[doc = "Field `TOUCH_START_EN` reader - 1: start touch fsm"] pub type TOUCH_START_EN_R = crate::BitReader; @@ -102,7 +102,7 @@ impl R { pub fn touch_slp_timer_en(&self) -> TOUCH_SLP_TIMER_EN_R { TOUCH_SLP_TIMER_EN_R::new(((self.bits >> 13) & 1) != 0) } - #[doc = "Bit 14 - 1: TOUCH_START & TOUCH_XPD is controlled by touch fsm"] + #[doc = "Bit 14 - 1: TOUCH_START & TOUCH_XPD is controlled by touch fsm"] #[inline(always)] pub fn touch_start_fsm_en(&self) -> TOUCH_START_FSM_EN_R { TOUCH_START_FSM_EN_R::new(((self.bits >> 14) & 1) != 0) @@ -174,97 +174,81 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 2:3 - TOUCH_DRANGE"] #[inline(always)] - #[must_use] pub fn touch_drange(&mut self) -> TOUCH_DRANGE_W { TOUCH_DRANGE_W::new(self, 2) } #[doc = "Bits 4:5 - TOUCH_DREFL"] #[inline(always)] - #[must_use] pub fn touch_drefl(&mut self) -> TOUCH_DREFL_W { TOUCH_DREFL_W::new(self, 4) } #[doc = "Bits 6:7 - TOUCH_DREFH"] #[inline(always)] - #[must_use] pub fn touch_drefh(&mut self) -> TOUCH_DREFH_W { TOUCH_DREFH_W::new(self, 6) } #[doc = "Bit 8 - TOUCH_XPD_BIAS"] #[inline(always)] - #[must_use] pub fn touch_xpd_bias(&mut self) -> TOUCH_XPD_BIAS_W { TOUCH_XPD_BIAS_W::new(self, 8) } #[doc = "Bits 9:11 - TOUCH pad0 reference cap"] #[inline(always)] - #[must_use] pub fn touch_refc(&mut self) -> TOUCH_REFC_W { TOUCH_REFC_W::new(self, 9) } #[doc = "Bit 12 - 1:use self bias 0:use bandgap bias"] #[inline(always)] - #[must_use] pub fn touch_dbias(&mut self) -> TOUCH_DBIAS_W { TOUCH_DBIAS_W::new(self, 12) } #[doc = "Bit 13 - touch timer enable bit"] #[inline(always)] - #[must_use] pub fn touch_slp_timer_en(&mut self) -> TOUCH_SLP_TIMER_EN_W { TOUCH_SLP_TIMER_EN_W::new(self, 13) } - #[doc = "Bit 14 - 1: TOUCH_START & TOUCH_XPD is controlled by touch fsm"] + #[doc = "Bit 14 - 1: TOUCH_START & TOUCH_XPD is controlled by touch fsm"] #[inline(always)] - #[must_use] pub fn touch_start_fsm_en(&mut self) -> TOUCH_START_FSM_EN_W { TOUCH_START_FSM_EN_W::new(self, 14) } #[doc = "Bit 15 - 1: start touch fsm"] #[inline(always)] - #[must_use] pub fn touch_start_en(&mut self) -> TOUCH_START_EN_W { TOUCH_START_EN_W::new(self, 15) } #[doc = "Bit 16 - 1: to start touch fsm by SW"] #[inline(always)] - #[must_use] pub fn touch_start_force(&mut self) -> TOUCH_START_FORCE_W { TOUCH_START_FORCE_W::new(self, 16) } #[doc = "Bits 17:24 - the waiting cycles (in 8MHz) between TOUCH_START and TOUCH_XPD"] #[inline(always)] - #[must_use] pub fn touch_xpd_wait(&mut self) -> TOUCH_XPD_WAIT_W { TOUCH_XPD_WAIT_W::new(self, 17) } #[doc = "Bits 25:26 - when a touch pad is active sleep cycle could be divided by this number"] #[inline(always)] - #[must_use] pub fn touch_slp_cyc_div(&mut self) -> TOUCH_SLP_CYC_DIV_W { TOUCH_SLP_CYC_DIV_W::new(self, 25) } #[doc = "Bits 27:28 - force touch timer done"] #[inline(always)] - #[must_use] pub fn touch_timer_force_done(&mut self) -> TOUCH_TIMER_FORCE_DONE_W { TOUCH_TIMER_FORCE_DONE_W::new(self, 27) } #[doc = "Bit 29 - reset upgrade touch"] #[inline(always)] - #[must_use] pub fn touch_reset(&mut self) -> TOUCH_RESET_W { TOUCH_RESET_W::new(self, 29) } #[doc = "Bit 30 - touch clock force on"] #[inline(always)] - #[must_use] pub fn touch_clk_fo(&mut self) -> TOUCH_CLK_FO_W { TOUCH_CLK_FO_W::new(self, 30) } #[doc = "Bit 31 - touch clock enable"] #[inline(always)] - #[must_use] pub fn touch_clkgate_en(&mut self) -> TOUCH_CLKGATE_EN_W { TOUCH_CLKGATE_EN_W::new(self, 31) } diff --git a/esp32s3/src/rtc_cntl/touch_dac.rs b/esp32s3/src/rtc_cntl/touch_dac.rs index 3f62bd19b4..72ee5fd923 100644 --- a/esp32s3/src/rtc_cntl/touch_dac.rs +++ b/esp32s3/src/rtc_cntl/touch_dac.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 2:4 - configure touch pad dac9"] #[inline(always)] - #[must_use] pub fn touch_pad9_dac(&mut self) -> TOUCH_PAD9_DAC_W { TOUCH_PAD9_DAC_W::new(self, 2) } #[doc = "Bits 5:7 - configure touch pad dac8"] #[inline(always)] - #[must_use] pub fn touch_pad8_dac(&mut self) -> TOUCH_PAD8_DAC_W { TOUCH_PAD8_DAC_W::new(self, 5) } #[doc = "Bits 8:10 - configure touch pad dac7"] #[inline(always)] - #[must_use] pub fn touch_pad7_dac(&mut self) -> TOUCH_PAD7_DAC_W { TOUCH_PAD7_DAC_W::new(self, 8) } #[doc = "Bits 11:13 - configure touch pad dac6"] #[inline(always)] - #[must_use] pub fn touch_pad6_dac(&mut self) -> TOUCH_PAD6_DAC_W { TOUCH_PAD6_DAC_W::new(self, 11) } #[doc = "Bits 14:16 - configure touch pad dac5"] #[inline(always)] - #[must_use] pub fn touch_pad5_dac(&mut self) -> TOUCH_PAD5_DAC_W { TOUCH_PAD5_DAC_W::new(self, 14) } #[doc = "Bits 17:19 - configure touch pad dac4"] #[inline(always)] - #[must_use] pub fn touch_pad4_dac(&mut self) -> TOUCH_PAD4_DAC_W { TOUCH_PAD4_DAC_W::new(self, 17) } #[doc = "Bits 20:22 - configure touch pad dac3"] #[inline(always)] - #[must_use] pub fn touch_pad3_dac(&mut self) -> TOUCH_PAD3_DAC_W { TOUCH_PAD3_DAC_W::new(self, 20) } #[doc = "Bits 23:25 - configure touch pad dac2"] #[inline(always)] - #[must_use] pub fn touch_pad2_dac(&mut self) -> TOUCH_PAD2_DAC_W { TOUCH_PAD2_DAC_W::new(self, 23) } #[doc = "Bits 26:28 - configure touch pad dac1"] #[inline(always)] - #[must_use] pub fn touch_pad1_dac(&mut self) -> TOUCH_PAD1_DAC_W { TOUCH_PAD1_DAC_W::new(self, 26) } #[doc = "Bits 29:31 - configure touch pad dac0"] #[inline(always)] - #[must_use] pub fn touch_pad0_dac(&mut self) -> TOUCH_PAD0_DAC_W { TOUCH_PAD0_DAC_W::new(self, 29) } diff --git a/esp32s3/src/rtc_cntl/touch_dac1.rs b/esp32s3/src/rtc_cntl/touch_dac1.rs index d95eec820f..7201396366 100644 --- a/esp32s3/src/rtc_cntl/touch_dac1.rs +++ b/esp32s3/src/rtc_cntl/touch_dac1.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 17:19 - configure touch pad dac14"] #[inline(always)] - #[must_use] pub fn touch_pad14_dac(&mut self) -> TOUCH_PAD14_DAC_W { TOUCH_PAD14_DAC_W::new(self, 17) } #[doc = "Bits 20:22 - configure touch pad dac13"] #[inline(always)] - #[must_use] pub fn touch_pad13_dac(&mut self) -> TOUCH_PAD13_DAC_W { TOUCH_PAD13_DAC_W::new(self, 20) } #[doc = "Bits 23:25 - configure touch pad dac12"] #[inline(always)] - #[must_use] pub fn touch_pad12_dac(&mut self) -> TOUCH_PAD12_DAC_W { TOUCH_PAD12_DAC_W::new(self, 23) } #[doc = "Bits 26:28 - configure touch pad dac11"] #[inline(always)] - #[must_use] pub fn touch_pad11_dac(&mut self) -> TOUCH_PAD11_DAC_W { TOUCH_PAD11_DAC_W::new(self, 26) } #[doc = "Bits 29:31 - configure touch pad dac10"] #[inline(always)] - #[must_use] pub fn touch_pad10_dac(&mut self) -> TOUCH_PAD10_DAC_W { TOUCH_PAD10_DAC_W::new(self, 29) } diff --git a/esp32s3/src/rtc_cntl/touch_filter_ctrl.rs b/esp32s3/src/rtc_cntl/touch_filter_ctrl.rs index ab366c7be3..e4bd4e8276 100644 --- a/esp32s3/src/rtc_cntl/touch_filter_ctrl.rs +++ b/esp32s3/src/rtc_cntl/touch_filter_ctrl.rs @@ -127,7 +127,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 7 - bypass neg noise thres"] #[inline(always)] - #[must_use] pub fn touch_bypass_neg_noise_thres( &mut self, ) -> TOUCH_BYPASS_NEG_NOISE_THRES_W { @@ -135,7 +134,6 @@ impl W { } #[doc = "Bit 8 - bypaas noise thres"] #[inline(always)] - #[must_use] pub fn touch_bypass_noise_thres( &mut self, ) -> TOUCH_BYPASS_NOISE_THRES_W { @@ -143,55 +141,46 @@ impl W { } #[doc = "Bits 9:10 - smooth filter factor"] #[inline(always)] - #[must_use] pub fn touch_smooth_lvl(&mut self) -> TOUCH_SMOOTH_LVL_W { TOUCH_SMOOTH_LVL_W::new(self, 9) } #[doc = "Bits 11:14 - touch jitter step"] #[inline(always)] - #[must_use] pub fn touch_jitter_step(&mut self) -> TOUCH_JITTER_STEP_W { TOUCH_JITTER_STEP_W::new(self, 11) } #[doc = "Bits 15:18 - negative threshold counter limit"] #[inline(always)] - #[must_use] pub fn touch_neg_noise_limit(&mut self) -> TOUCH_NEG_NOISE_LIMIT_W { TOUCH_NEG_NOISE_LIMIT_W::new(self, 15) } #[doc = "Bits 19:20 - neg noise thres"] #[inline(always)] - #[must_use] pub fn touch_neg_noise_thres(&mut self) -> TOUCH_NEG_NOISE_THRES_W { TOUCH_NEG_NOISE_THRES_W::new(self, 19) } #[doc = "Bits 21:22 - noise thres"] #[inline(always)] - #[must_use] pub fn touch_noise_thres(&mut self) -> TOUCH_NOISE_THRES_W { TOUCH_NOISE_THRES_W::new(self, 21) } #[doc = "Bits 23:24 - hysteresis"] #[inline(always)] - #[must_use] pub fn touch_hysteresis(&mut self) -> TOUCH_HYSTERESIS_W { TOUCH_HYSTERESIS_W::new(self, 23) } #[doc = "Bits 25:27 - debounce counter"] #[inline(always)] - #[must_use] pub fn touch_debounce(&mut self) -> TOUCH_DEBOUNCE_W { TOUCH_DEBOUNCE_W::new(self, 25) } #[doc = "Bits 28:30 - 0: IIR ? 1: IIR ? 2: IIR 1/8 3: Jitter"] #[inline(always)] - #[must_use] pub fn touch_filter_mode(&mut self) -> TOUCH_FILTER_MODE_W { TOUCH_FILTER_MODE_W::new(self, 28) } #[doc = "Bit 31 - touch filter enable"] #[inline(always)] - #[must_use] pub fn touch_filter_en(&mut self) -> TOUCH_FILTER_EN_W { TOUCH_FILTER_EN_W::new(self, 31) } diff --git a/esp32s3/src/rtc_cntl/touch_scan_ctrl.rs b/esp32s3/src/rtc_cntl/touch_scan_ctrl.rs index a646e5465a..5a10cf32de 100644 --- a/esp32s3/src/rtc_cntl/touch_scan_ctrl.rs +++ b/esp32s3/src/rtc_cntl/touch_scan_ctrl.rs @@ -87,19 +87,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - De-noise resolution: 12/10/8/4 bit"] #[inline(always)] - #[must_use] pub fn touch_denoise_res(&mut self) -> TOUCH_DENOISE_RES_W { TOUCH_DENOISE_RES_W::new(self, 0) } #[doc = "Bit 2 - touch pad0 will be used to de-noise"] #[inline(always)] - #[must_use] pub fn touch_denoise_en(&mut self) -> TOUCH_DENOISE_EN_W { TOUCH_DENOISE_EN_W::new(self, 2) } #[doc = "Bit 8 - inactive touch pads connect to 1: gnd 0: HighZ"] #[inline(always)] - #[must_use] pub fn touch_inactive_connection( &mut self, ) -> TOUCH_INACTIVE_CONNECTION_W { @@ -107,25 +104,21 @@ impl W { } #[doc = "Bit 9 - touch pad14 will be used as shield"] #[inline(always)] - #[must_use] pub fn touch_shield_pad_en(&mut self) -> TOUCH_SHIELD_PAD_EN_W { TOUCH_SHIELD_PAD_EN_W::new(self, 9) } #[doc = "Bits 10:24 - touch scan mode pad enable map"] #[inline(always)] - #[must_use] pub fn touch_scan_pad_map(&mut self) -> TOUCH_SCAN_PAD_MAP_W { TOUCH_SCAN_PAD_MAP_W::new(self, 10) } #[doc = "Bits 25:27 - touch7 buffer driver strength"] #[inline(always)] - #[must_use] pub fn touch_bufdrv(&mut self) -> TOUCH_BUFDRV_W { TOUCH_BUFDRV_W::new(self, 25) } #[doc = "Bits 28:31 - select out ring pad"] #[inline(always)] - #[must_use] pub fn touch_out_ring(&mut self) -> TOUCH_OUT_RING_W { TOUCH_OUT_RING_W::new(self, 28) } diff --git a/esp32s3/src/rtc_cntl/touch_slp_thres.rs b/esp32s3/src/rtc_cntl/touch_slp_thres.rs index 6e5e0a35f2..1acd1672a5 100644 --- a/esp32s3/src/rtc_cntl/touch_slp_thres.rs +++ b/esp32s3/src/rtc_cntl/touch_slp_thres.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - the threshold for sleep touch pad"] #[inline(always)] - #[must_use] pub fn touch_slp_th(&mut self) -> TOUCH_SLP_TH_W { TOUCH_SLP_TH_W::new(self, 0) } #[doc = "Bit 26 - sleep pad approach function enable"] #[inline(always)] - #[must_use] pub fn touch_slp_approach_en(&mut self) -> TOUCH_SLP_APPROACH_EN_W { TOUCH_SLP_APPROACH_EN_W::new(self, 26) } #[doc = "Bits 27:31 - configure which pad as slp pad"] #[inline(always)] - #[must_use] pub fn touch_slp_pad(&mut self) -> TOUCH_SLP_PAD_W { TOUCH_SLP_PAD_W::new(self, 27) } diff --git a/esp32s3/src/rtc_cntl/touch_timeout_ctrl.rs b/esp32s3/src/rtc_cntl/touch_timeout_ctrl.rs index 3197b0f41e..d0e232a88a 100644 --- a/esp32s3/src/rtc_cntl/touch_timeout_ctrl.rs +++ b/esp32s3/src/rtc_cntl/touch_timeout_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - configure touch timerout time"] #[inline(always)] - #[must_use] pub fn touch_timeout_num(&mut self) -> TOUCH_TIMEOUT_NUM_W { TOUCH_TIMEOUT_NUM_W::new(self, 0) } #[doc = "Bit 22 - enable touch timerout"] #[inline(always)] - #[must_use] pub fn touch_timeout_en(&mut self) -> TOUCH_TIMEOUT_EN_W { TOUCH_TIMEOUT_EN_W::new(self, 22) } diff --git a/esp32s3/src/rtc_cntl/ulp_cp_ctrl.rs b/esp32s3/src/rtc_cntl/ulp_cp_ctrl.rs index 5122431f03..4e0acef98f 100644 --- a/esp32s3/src/rtc_cntl/ulp_cp_ctrl.rs +++ b/esp32s3/src/rtc_cntl/ulp_cp_ctrl.rs @@ -76,43 +76,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - No public"] #[inline(always)] - #[must_use] pub fn ulp_cp_mem_addr_init(&mut self) -> ULP_CP_MEM_ADDR_INIT_W { ULP_CP_MEM_ADDR_INIT_W::new(self, 0) } #[doc = "Bits 11:21 - No public"] #[inline(always)] - #[must_use] pub fn ulp_cp_mem_addr_size(&mut self) -> ULP_CP_MEM_ADDR_SIZE_W { ULP_CP_MEM_ADDR_SIZE_W::new(self, 11) } #[doc = "Bit 22 - No public"] #[inline(always)] - #[must_use] pub fn ulp_cp_mem_offst_clr(&mut self) -> ULP_CP_MEM_OFFST_CLR_W { ULP_CP_MEM_OFFST_CLR_W::new(self, 22) } #[doc = "Bit 28 - ulp coprocessor clk force on"] #[inline(always)] - #[must_use] pub fn ulp_cp_clk_fo(&mut self) -> ULP_CP_CLK_FO_W { ULP_CP_CLK_FO_W::new(self, 28) } #[doc = "Bit 29 - ulp coprocessor clk software reset"] #[inline(always)] - #[must_use] pub fn ulp_cp_reset(&mut self) -> ULP_CP_RESET_W { ULP_CP_RESET_W::new(self, 29) } #[doc = "Bit 30 - 1: ULP-coprocessor is started by SW"] #[inline(always)] - #[must_use] pub fn ulp_cp_force_start_top(&mut self) -> ULP_CP_FORCE_START_TOP_W { ULP_CP_FORCE_START_TOP_W::new(self, 30) } #[doc = "Bit 31 - Write 1 to start ULP-coprocessor"] #[inline(always)] - #[must_use] pub fn ulp_cp_start_top(&mut self) -> ULP_CP_START_TOP_W { ULP_CP_START_TOP_W::new(self, 31) } diff --git a/esp32s3/src/rtc_cntl/ulp_cp_timer.rs b/esp32s3/src/rtc_cntl/ulp_cp_timer.rs index 412d49721c..c2d6ae8aa2 100644 --- a/esp32s3/src/rtc_cntl/ulp_cp_timer.rs +++ b/esp32s3/src/rtc_cntl/ulp_cp_timer.rs @@ -46,25 +46,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - ULP-coprocessor PC initial address"] #[inline(always)] - #[must_use] pub fn ulp_cp_pc_init(&mut self) -> ULP_CP_PC_INIT_W { ULP_CP_PC_INIT_W::new(self, 0) } #[doc = "Bit 29 - ULP-coprocessor wakeup by GPIO enable"] #[inline(always)] - #[must_use] pub fn ulp_cp_gpio_wakeup_ena(&mut self) -> ULP_CP_GPIO_WAKEUP_ENA_W { ULP_CP_GPIO_WAKEUP_ENA_W::new(self, 29) } #[doc = "Bit 30 - ULP-coprocessor wakeup by GPIO state clear"] #[inline(always)] - #[must_use] pub fn ulp_cp_gpio_wakeup_clr(&mut self) -> ULP_CP_GPIO_WAKEUP_CLR_W { ULP_CP_GPIO_WAKEUP_CLR_W::new(self, 30) } #[doc = "Bit 31 - ULP-coprocessor timer enable bit"] #[inline(always)] - #[must_use] pub fn ulp_cp_slp_timer_en(&mut self) -> ULP_CP_SLP_TIMER_EN_W { ULP_CP_SLP_TIMER_EN_W::new(self, 31) } diff --git a/esp32s3/src/rtc_cntl/ulp_cp_timer_1.rs b/esp32s3/src/rtc_cntl/ulp_cp_timer_1.rs index 088f7bd86f..bf26beac51 100644 --- a/esp32s3/src/rtc_cntl/ulp_cp_timer_1.rs +++ b/esp32s3/src/rtc_cntl/ulp_cp_timer_1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 8:31 - sleep cycles for ULP-coprocessor timer"] #[inline(always)] - #[must_use] pub fn ulp_cp_timer_slp_cycle(&mut self) -> ULP_CP_TIMER_SLP_CYCLE_W { ULP_CP_TIMER_SLP_CYCLE_W::new(self, 8) } diff --git a/esp32s3/src/rtc_cntl/usb_conf.rs b/esp32s3/src/rtc_cntl/usb_conf.rs index 539a5533c9..fb7e1a45cb 100644 --- a/esp32s3/src/rtc_cntl/usb_conf.rs +++ b/esp32s3/src/rtc_cntl/usb_conf.rs @@ -204,115 +204,96 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - reg_usb_vrefh"] #[inline(always)] - #[must_use] pub fn usb_vrefh(&mut self) -> USB_VREFH_W { USB_VREFH_W::new(self, 0) } #[doc = "Bits 2:3 - reg_usb_vrefl"] #[inline(always)] - #[must_use] pub fn usb_vrefl(&mut self) -> USB_VREFL_W { USB_VREFL_W::new(self, 2) } #[doc = "Bit 4 - reg_usb_vref_override"] #[inline(always)] - #[must_use] pub fn usb_vref_override(&mut self) -> USB_VREF_OVERRIDE_W { USB_VREF_OVERRIDE_W::new(self, 4) } #[doc = "Bit 5 - reg_usb_pad_pull_override"] #[inline(always)] - #[must_use] pub fn usb_pad_pull_override(&mut self) -> USB_PAD_PULL_OVERRIDE_W { USB_PAD_PULL_OVERRIDE_W::new(self, 5) } #[doc = "Bit 6 - reg_usb_dp_pullup"] #[inline(always)] - #[must_use] pub fn usb_dp_pullup(&mut self) -> USB_DP_PULLUP_W { USB_DP_PULLUP_W::new(self, 6) } #[doc = "Bit 7 - reg_usb_dp_pulldown"] #[inline(always)] - #[must_use] pub fn usb_dp_pulldown(&mut self) -> USB_DP_PULLDOWN_W { USB_DP_PULLDOWN_W::new(self, 7) } #[doc = "Bit 8 - reg_usb_dm_pullup"] #[inline(always)] - #[must_use] pub fn usb_dm_pullup(&mut self) -> USB_DM_PULLUP_W { USB_DM_PULLUP_W::new(self, 8) } #[doc = "Bit 9 - reg_usb_dm_pulldown"] #[inline(always)] - #[must_use] pub fn usb_dm_pulldown(&mut self) -> USB_DM_PULLDOWN_W { USB_DM_PULLDOWN_W::new(self, 9) } #[doc = "Bit 10 - reg_usb_pullup_value"] #[inline(always)] - #[must_use] pub fn usb_pullup_value(&mut self) -> USB_PULLUP_VALUE_W { USB_PULLUP_VALUE_W::new(self, 10) } #[doc = "Bit 11 - reg_usb_pad_enable_override"] #[inline(always)] - #[must_use] pub fn usb_pad_enable_override(&mut self) -> USB_PAD_ENABLE_OVERRIDE_W { USB_PAD_ENABLE_OVERRIDE_W::new(self, 11) } #[doc = "Bit 12 - reg_usb_pad_enable"] #[inline(always)] - #[must_use] pub fn usb_pad_enable(&mut self) -> USB_PAD_ENABLE_W { USB_PAD_ENABLE_W::new(self, 12) } #[doc = "Bit 13 - reg_usb_txm"] #[inline(always)] - #[must_use] pub fn usb_txm(&mut self) -> USB_TXM_W { USB_TXM_W::new(self, 13) } #[doc = "Bit 14 - reg_usb_txp"] #[inline(always)] - #[must_use] pub fn usb_txp(&mut self) -> USB_TXP_W { USB_TXP_W::new(self, 14) } #[doc = "Bit 15 - reg_usb_tx_en"] #[inline(always)] - #[must_use] pub fn usb_tx_en(&mut self) -> USB_TX_EN_W { USB_TX_EN_W::new(self, 15) } #[doc = "Bit 16 - reg_usb_tx_en_override"] #[inline(always)] - #[must_use] pub fn usb_tx_en_override(&mut self) -> USB_TX_EN_OVERRIDE_W { USB_TX_EN_OVERRIDE_W::new(self, 16) } #[doc = "Bit 17 - reg_usb_reset_disable"] #[inline(always)] - #[must_use] pub fn usb_reset_disable(&mut self) -> USB_RESET_DISABLE_W { USB_RESET_DISABLE_W::new(self, 17) } #[doc = "Bit 18 - reg_io_mux_reset_disable"] #[inline(always)] - #[must_use] pub fn io_mux_reset_disable(&mut self) -> IO_MUX_RESET_DISABLE_W { IO_MUX_RESET_DISABLE_W::new(self, 18) } #[doc = "Bit 19 - reg_sw_usb_phy_sel"] #[inline(always)] - #[must_use] pub fn sw_usb_phy_sel(&mut self) -> SW_USB_PHY_SEL_W { SW_USB_PHY_SEL_W::new(self, 19) } #[doc = "Bit 20 - reg_sw_hw_usb_phy_sel"] #[inline(always)] - #[must_use] pub fn sw_hw_usb_phy_sel(&mut self) -> SW_HW_USB_PHY_SEL_W { SW_HW_USB_PHY_SEL_W::new(self, 20) } diff --git a/esp32s3/src/rtc_cntl/wakeup_state.rs b/esp32s3/src/rtc_cntl/wakeup_state.rs index cbe0ffb63f..76925fd758 100644 --- a/esp32s3/src/rtc_cntl/wakeup_state.rs +++ b/esp32s3/src/rtc_cntl/wakeup_state.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 15:31 - wakeup enable bitmap"] #[inline(always)] - #[must_use] pub fn wakeup_ena(&mut self) -> WAKEUP_ENA_W { WAKEUP_ENA_W::new(self, 15) } diff --git a/esp32s3/src/rtc_cntl/wdtconfig0.rs b/esp32s3/src/rtc_cntl/wdtconfig0.rs index c8f3bca143..19d899f1dd 100644 --- a/esp32s3/src/rtc_cntl/wdtconfig0.rs +++ b/esp32s3/src/rtc_cntl/wdtconfig0.rs @@ -144,79 +144,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - chip reset siginal pulse width"] #[inline(always)] - #[must_use] pub fn wdt_chip_reset_width(&mut self) -> WDT_CHIP_RESET_WIDTH_W { WDT_CHIP_RESET_WIDTH_W::new(self, 0) } #[doc = "Bit 8 - wdt reset whole chip enable"] #[inline(always)] - #[must_use] pub fn wdt_chip_reset_en(&mut self) -> WDT_CHIP_RESET_EN_W { WDT_CHIP_RESET_EN_W::new(self, 8) } #[doc = "Bit 9 - pause WDT in sleep"] #[inline(always)] - #[must_use] pub fn wdt_pause_in_slp(&mut self) -> WDT_PAUSE_IN_SLP_W { WDT_PAUSE_IN_SLP_W::new(self, 9) } #[doc = "Bit 10 - enable WDT reset APP CPU"] #[inline(always)] - #[must_use] pub fn wdt_appcpu_reset_en(&mut self) -> WDT_APPCPU_RESET_EN_W { WDT_APPCPU_RESET_EN_W::new(self, 10) } #[doc = "Bit 11 - enable WDT reset PRO CPU"] #[inline(always)] - #[must_use] pub fn wdt_procpu_reset_en(&mut self) -> WDT_PROCPU_RESET_EN_W { WDT_PROCPU_RESET_EN_W::new(self, 11) } #[doc = "Bit 12 - enable WDT in flash boot"] #[inline(always)] - #[must_use] pub fn wdt_flashboot_mod_en(&mut self) -> WDT_FLASHBOOT_MOD_EN_W { WDT_FLASHBOOT_MOD_EN_W::new(self, 12) } #[doc = "Bits 13:15 - system reset counter length"] #[inline(always)] - #[must_use] pub fn wdt_sys_reset_length(&mut self) -> WDT_SYS_RESET_LENGTH_W { WDT_SYS_RESET_LENGTH_W::new(self, 13) } #[doc = "Bits 16:18 - CPU reset counter length"] #[inline(always)] - #[must_use] pub fn wdt_cpu_reset_length(&mut self) -> WDT_CPU_RESET_LENGTH_W { WDT_CPU_RESET_LENGTH_W::new(self, 16) } #[doc = "Bits 19:21 - 1: interrupt stage en 2: CPU reset stage en 3: system reset stage en 4: RTC reset stage en"] #[inline(always)] - #[must_use] pub fn wdt_stg3(&mut self) -> WDT_STG3_W { WDT_STG3_W::new(self, 19) } #[doc = "Bits 22:24 - 1: interrupt stage en 2: CPU reset stage en 3: system reset stage en 4: RTC reset stage en"] #[inline(always)] - #[must_use] pub fn wdt_stg2(&mut self) -> WDT_STG2_W { WDT_STG2_W::new(self, 22) } #[doc = "Bits 25:27 - 1: interrupt stage en 2: CPU reset stage en 3: system reset stage en 4: RTC reset stage en"] #[inline(always)] - #[must_use] pub fn wdt_stg1(&mut self) -> WDT_STG1_W { WDT_STG1_W::new(self, 25) } #[doc = "Bits 28:30 - 1: interrupt stage en 2: CPU reset stage en 3: system reset stage en 4: RTC reset stage en"] #[inline(always)] - #[must_use] pub fn wdt_stg0(&mut self) -> WDT_STG0_W { WDT_STG0_W::new(self, 28) } #[doc = "Bit 31 - enable rtc watch dog"] #[inline(always)] - #[must_use] pub fn wdt_en(&mut self) -> WDT_EN_W { WDT_EN_W::new(self, 31) } diff --git a/esp32s3/src/rtc_cntl/wdtconfig1.rs b/esp32s3/src/rtc_cntl/wdtconfig1.rs index 0bc081636c..4d83ea2e1d 100644 --- a/esp32s3/src/rtc_cntl/wdtconfig1.rs +++ b/esp32s3/src/rtc_cntl/wdtconfig1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - stage0 hold time"] #[inline(always)] - #[must_use] pub fn wdt_stg0_hold(&mut self) -> WDT_STG0_HOLD_W { WDT_STG0_HOLD_W::new(self, 0) } diff --git a/esp32s3/src/rtc_cntl/wdtconfig2.rs b/esp32s3/src/rtc_cntl/wdtconfig2.rs index 47bf95908b..88f40347e3 100644 --- a/esp32s3/src/rtc_cntl/wdtconfig2.rs +++ b/esp32s3/src/rtc_cntl/wdtconfig2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - stage1 hold time"] #[inline(always)] - #[must_use] pub fn wdt_stg1_hold(&mut self) -> WDT_STG1_HOLD_W { WDT_STG1_HOLD_W::new(self, 0) } diff --git a/esp32s3/src/rtc_cntl/wdtconfig3.rs b/esp32s3/src/rtc_cntl/wdtconfig3.rs index 1a780b5a7d..1cf0bfd550 100644 --- a/esp32s3/src/rtc_cntl/wdtconfig3.rs +++ b/esp32s3/src/rtc_cntl/wdtconfig3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - stage2 hold time"] #[inline(always)] - #[must_use] pub fn wdt_stg2_hold(&mut self) -> WDT_STG2_HOLD_W { WDT_STG2_HOLD_W::new(self, 0) } diff --git a/esp32s3/src/rtc_cntl/wdtconfig4.rs b/esp32s3/src/rtc_cntl/wdtconfig4.rs index 3cb37561d5..9e3d7a79e9 100644 --- a/esp32s3/src/rtc_cntl/wdtconfig4.rs +++ b/esp32s3/src/rtc_cntl/wdtconfig4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - stage3 hold time"] #[inline(always)] - #[must_use] pub fn wdt_stg3_hold(&mut self) -> WDT_STG3_HOLD_W { WDT_STG3_HOLD_W::new(self, 0) } diff --git a/esp32s3/src/rtc_cntl/wdtfeed.rs b/esp32s3/src/rtc_cntl/wdtfeed.rs index 46d3cedb66..31055e13de 100644 --- a/esp32s3/src/rtc_cntl/wdtfeed.rs +++ b/esp32s3/src/rtc_cntl/wdtfeed.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 31 - rtc wdt feed"] #[inline(always)] - #[must_use] pub fn wdt_feed(&mut self) -> WDT_FEED_W { WDT_FEED_W::new(self, 31) } diff --git a/esp32s3/src/rtc_cntl/wdtwprotect.rs b/esp32s3/src/rtc_cntl/wdtwprotect.rs index fab68cfe38..3e86386a83 100644 --- a/esp32s3/src/rtc_cntl/wdtwprotect.rs +++ b/esp32s3/src/rtc_cntl/wdtwprotect.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - rtc watch dog key"] #[inline(always)] - #[must_use] pub fn wdt_wkey(&mut self) -> WDT_WKEY_W { WDT_WKEY_W::new(self, 0) } diff --git a/esp32s3/src/rtc_cntl/xtal32k_clk_factor.rs b/esp32s3/src/rtc_cntl/xtal32k_clk_factor.rs index a4526789ab..120984b624 100644 --- a/esp32s3/src/rtc_cntl/xtal32k_clk_factor.rs +++ b/esp32s3/src/rtc_cntl/xtal32k_clk_factor.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - xtal 32k watch dog backup clock factor"] #[inline(always)] - #[must_use] pub fn xtal32k_clk_factor(&mut self) -> XTAL32K_CLK_FACTOR_W { XTAL32K_CLK_FACTOR_W::new(self, 0) } diff --git a/esp32s3/src/rtc_cntl/xtal32k_conf.rs b/esp32s3/src/rtc_cntl/xtal32k_conf.rs index e43cad3be3..dac1059d19 100644 --- a/esp32s3/src/rtc_cntl/xtal32k_conf.rs +++ b/esp32s3/src/rtc_cntl/xtal32k_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - cycles to wait to return noral xtal 32k"] #[inline(always)] - #[must_use] pub fn xtal32k_return_wait(&mut self) -> XTAL32K_RETURN_WAIT_W { XTAL32K_RETURN_WAIT_W::new(self, 0) } #[doc = "Bits 4:19 - cycles to wait to repower on xtal 32k"] #[inline(always)] - #[must_use] pub fn xtal32k_restart_wait(&mut self) -> XTAL32K_RESTART_WAIT_W { XTAL32K_RESTART_WAIT_W::new(self, 4) } #[doc = "Bits 20:27 - If no clock detected for this amount of time 32k is regarded as dead"] #[inline(always)] - #[must_use] pub fn xtal32k_wdt_timeout(&mut self) -> XTAL32K_WDT_TIMEOUT_W { XTAL32K_WDT_TIMEOUT_W::new(self, 20) } #[doc = "Bits 28:31 - if restarted xtal32k period is smaller than this, it is regarded as stable"] #[inline(always)] - #[must_use] pub fn xtal32k_stable_thres(&mut self) -> XTAL32K_STABLE_THRES_W { XTAL32K_STABLE_THRES_W::new(self, 28) } diff --git a/esp32s3/src/rtc_i2c/cmd.rs b/esp32s3/src/rtc_i2c/cmd.rs index 9431bd59c5..8e4b53048f 100644 --- a/esp32s3/src/rtc_i2c/cmd.rs +++ b/esp32s3/src/rtc_i2c/cmd.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - command0"] #[inline(always)] - #[must_use] pub fn command(&mut self) -> COMMAND_W { COMMAND_W::new(self, 0) } diff --git a/esp32s3/src/rtc_i2c/ctrl.rs b/esp32s3/src/rtc_i2c/ctrl.rs index d189e964e6..fe27d3741d 100644 --- a/esp32s3/src/rtc_i2c/ctrl.rs +++ b/esp32s3/src/rtc_i2c/ctrl.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1=push pull,0=open drain"] #[inline(always)] - #[must_use] pub fn sda_force_out(&mut self) -> SDA_FORCE_OUT_W { SDA_FORCE_OUT_W::new(self, 0) } #[doc = "Bit 1 - 1=push pull,0=open drain"] #[inline(always)] - #[must_use] pub fn scl_force_out(&mut self) -> SCL_FORCE_OUT_W { SCL_FORCE_OUT_W::new(self, 1) } #[doc = "Bit 2 - 1=master,0=slave"] #[inline(always)] - #[must_use] pub fn ms_mode(&mut self) -> MS_MODE_W { MS_MODE_W::new(self, 2) } #[doc = "Bit 3 - force start"] #[inline(always)] - #[must_use] pub fn trans_start(&mut self) -> TRANS_START_W { TRANS_START_W::new(self, 3) } #[doc = "Bit 4 - transit lsb first"] #[inline(always)] - #[must_use] pub fn tx_lsb_first(&mut self) -> TX_LSB_FIRST_W { TX_LSB_FIRST_W::new(self, 4) } #[doc = "Bit 5 - receive lsb first"] #[inline(always)] - #[must_use] pub fn rx_lsb_first(&mut self) -> RX_LSB_FIRST_W { RX_LSB_FIRST_W::new(self, 5) } #[doc = "Bit 29 - configure i2c ctrl clk enable"] #[inline(always)] - #[must_use] pub fn i2c_ctrl_clk_gate_en(&mut self) -> I2C_CTRL_CLK_GATE_EN_W { I2C_CTRL_CLK_GATE_EN_W::new(self, 29) } #[doc = "Bit 30 - rtc i2c sw reset"] #[inline(always)] - #[must_use] pub fn i2c_reset(&mut self) -> I2C_RESET_W { I2C_RESET_W::new(self, 30) } #[doc = "Bit 31 - rtc i2c reg clk gating"] #[inline(always)] - #[must_use] pub fn i2cclk_en(&mut self) -> I2CCLK_EN_W { I2CCLK_EN_W::new(self, 31) } diff --git a/esp32s3/src/rtc_i2c/data.rs b/esp32s3/src/rtc_i2c/data.rs index 81fb9243a1..2997fa2359 100644 --- a/esp32s3/src/rtc_i2c/data.rs +++ b/esp32s3/src/rtc_i2c/data.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 8:15 - data sent by slave"] #[inline(always)] - #[must_use] pub fn slave_tx_data(&mut self) -> SLAVE_TX_DATA_W { SLAVE_TX_DATA_W::new(self, 8) } diff --git a/esp32s3/src/rtc_i2c/date.rs b/esp32s3/src/rtc_i2c/date.rs index 9c8f5d7643..fa2e03a3dc 100644 --- a/esp32s3/src/rtc_i2c/date.rs +++ b/esp32s3/src/rtc_i2c/date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - version"] #[inline(always)] - #[must_use] pub fn i2c_date(&mut self) -> I2C_DATE_W { I2C_DATE_W::new(self, 0) } diff --git a/esp32s3/src/rtc_i2c/int_clr.rs b/esp32s3/src/rtc_i2c/int_clr.rs index 14ed438a97..b97b2cc5b2 100644 --- a/esp32s3/src/rtc_i2c/int_clr.rs +++ b/esp32s3/src/rtc_i2c/int_clr.rs @@ -27,55 +27,46 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - clear slave transit complete interrupt"] #[inline(always)] - #[must_use] pub fn slave_tran_comp(&mut self) -> SLAVE_TRAN_COMP_W { SLAVE_TRAN_COMP_W::new(self, 0) } #[doc = "Bit 1 - clear arbitration lost interrupt"] #[inline(always)] - #[must_use] pub fn arbitration_lost(&mut self) -> ARBITRATION_LOST_W { ARBITRATION_LOST_W::new(self, 1) } #[doc = "Bit 2 - clear master transit complete interrupt"] #[inline(always)] - #[must_use] pub fn master_tran_comp(&mut self) -> MASTER_TRAN_COMP_W { MASTER_TRAN_COMP_W::new(self, 2) } #[doc = "Bit 3 - clear transit complete interrupt"] #[inline(always)] - #[must_use] pub fn trans_complete(&mut self) -> TRANS_COMPLETE_W { TRANS_COMPLETE_W::new(self, 3) } #[doc = "Bit 4 - clear time out interrupt"] #[inline(always)] - #[must_use] pub fn time_out(&mut self) -> TIME_OUT_W { TIME_OUT_W::new(self, 4) } #[doc = "Bit 5 - clear ack error interrupt"] #[inline(always)] - #[must_use] pub fn ack_err(&mut self) -> ACK_ERR_W { ACK_ERR_W::new(self, 5) } #[doc = "Bit 6 - clear receive data interrupt"] #[inline(always)] - #[must_use] pub fn rx_data(&mut self) -> RX_DATA_W { RX_DATA_W::new(self, 6) } #[doc = "Bit 7 - clear transit load data complete interrupt"] #[inline(always)] - #[must_use] pub fn tx_data(&mut self) -> TX_DATA_W { TX_DATA_W::new(self, 7) } #[doc = "Bit 8 - clear detect start interrupt"] #[inline(always)] - #[must_use] pub fn detect_start(&mut self) -> DETECT_START_W { DETECT_START_W::new(self, 8) } diff --git a/esp32s3/src/rtc_i2c/int_ena.rs b/esp32s3/src/rtc_i2c/int_ena.rs index 535e2cf991..c93688d765 100644 --- a/esp32s3/src/rtc_i2c/int_ena.rs +++ b/esp32s3/src/rtc_i2c/int_ena.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - enable slave transit complete interrupt"] #[inline(always)] - #[must_use] pub fn slave_tran_comp(&mut self) -> SLAVE_TRAN_COMP_W { SLAVE_TRAN_COMP_W::new(self, 0) } #[doc = "Bit 1 - enable arbitration lost interrupt"] #[inline(always)] - #[must_use] pub fn arbitration_lost(&mut self) -> ARBITRATION_LOST_W { ARBITRATION_LOST_W::new(self, 1) } #[doc = "Bit 2 - enable master transit complete interrupt"] #[inline(always)] - #[must_use] pub fn master_tran_comp(&mut self) -> MASTER_TRAN_COMP_W { MASTER_TRAN_COMP_W::new(self, 2) } #[doc = "Bit 3 - enable transit complete interrupt"] #[inline(always)] - #[must_use] pub fn trans_complete(&mut self) -> TRANS_COMPLETE_W { TRANS_COMPLETE_W::new(self, 3) } #[doc = "Bit 4 - enable time out interrupt"] #[inline(always)] - #[must_use] pub fn time_out(&mut self) -> TIME_OUT_W { TIME_OUT_W::new(self, 4) } #[doc = "Bit 5 - enable eack error interrupt"] #[inline(always)] - #[must_use] pub fn ack_err(&mut self) -> ACK_ERR_W { ACK_ERR_W::new(self, 5) } #[doc = "Bit 6 - enable receive data interrupt"] #[inline(always)] - #[must_use] pub fn rx_data(&mut self) -> RX_DATA_W { RX_DATA_W::new(self, 6) } #[doc = "Bit 7 - enable transit data interrupt"] #[inline(always)] - #[must_use] pub fn tx_data(&mut self) -> TX_DATA_W { TX_DATA_W::new(self, 7) } #[doc = "Bit 8 - enable detect start interrupt"] #[inline(always)] - #[must_use] pub fn detect_start(&mut self) -> DETECT_START_W { DETECT_START_W::new(self, 8) } diff --git a/esp32s3/src/rtc_i2c/scl_high.rs b/esp32s3/src/rtc_i2c/scl_high.rs index a89201e7f8..d09f79550c 100644 --- a/esp32s3/src/rtc_i2c/scl_high.rs +++ b/esp32s3/src/rtc_i2c/scl_high.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - time period that scl = 1"] #[inline(always)] - #[must_use] pub fn period(&mut self) -> PERIOD_W { PERIOD_W::new(self, 0) } diff --git a/esp32s3/src/rtc_i2c/scl_low.rs b/esp32s3/src/rtc_i2c/scl_low.rs index 53dcc14829..0f909ec964 100644 --- a/esp32s3/src/rtc_i2c/scl_low.rs +++ b/esp32s3/src/rtc_i2c/scl_low.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - time period that scl =0"] #[inline(always)] - #[must_use] pub fn period(&mut self) -> PERIOD_W { PERIOD_W::new(self, 0) } diff --git a/esp32s3/src/rtc_i2c/scl_start_period.rs b/esp32s3/src/rtc_i2c/scl_start_period.rs index 5614db9ae1..a640576abf 100644 --- a/esp32s3/src/rtc_i2c/scl_start_period.rs +++ b/esp32s3/src/rtc_i2c/scl_start_period.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - time period for SCL to toggle after I2C start is triggered"] #[inline(always)] - #[must_use] pub fn scl_start_period(&mut self) -> SCL_START_PERIOD_W { SCL_START_PERIOD_W::new(self, 0) } diff --git a/esp32s3/src/rtc_i2c/scl_stop_period.rs b/esp32s3/src/rtc_i2c/scl_stop_period.rs index 12b069956d..d4fb2dad2d 100644 --- a/esp32s3/src/rtc_i2c/scl_stop_period.rs +++ b/esp32s3/src/rtc_i2c/scl_stop_period.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - time period for SCL to stop after I2C end is triggered"] #[inline(always)] - #[must_use] pub fn scl_stop_period(&mut self) -> SCL_STOP_PERIOD_W { SCL_STOP_PERIOD_W::new(self, 0) } diff --git a/esp32s3/src/rtc_i2c/sda_duty.rs b/esp32s3/src/rtc_i2c/sda_duty.rs index c0dfb7d3c5..80a68ffb7e 100644 --- a/esp32s3/src/rtc_i2c/sda_duty.rs +++ b/esp32s3/src/rtc_i2c/sda_duty.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - time period for SDA to toggle after SCL goes low"] #[inline(always)] - #[must_use] pub fn num(&mut self) -> NUM_W { NUM_W::new(self, 0) } diff --git a/esp32s3/src/rtc_i2c/slave_addr.rs b/esp32s3/src/rtc_i2c/slave_addr.rs index c01aadc237..9b9fcc9b2f 100644 --- a/esp32s3/src/rtc_i2c/slave_addr.rs +++ b/esp32s3/src/rtc_i2c/slave_addr.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:14 - slave address"] #[inline(always)] - #[must_use] pub fn slave_addr(&mut self) -> SLAVE_ADDR_W { SLAVE_ADDR_W::new(self, 0) } #[doc = "Bit 31 - i2c 10bit mode enable"] #[inline(always)] - #[must_use] pub fn addr_10bit_en(&mut self) -> ADDR_10BIT_EN_W { ADDR_10BIT_EN_W::new(self, 31) } diff --git a/esp32s3/src/rtc_i2c/to.rs b/esp32s3/src/rtc_i2c/to.rs index 7e2b22bd38..f3f8f33a4b 100644 --- a/esp32s3/src/rtc_i2c/to.rs +++ b/esp32s3/src/rtc_i2c/to.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - time out threshold"] #[inline(always)] - #[must_use] pub fn time_out(&mut self) -> TIME_OUT_W { TIME_OUT_W::new(self, 0) } diff --git a/esp32s3/src/rtc_io/date.rs b/esp32s3/src/rtc_io/date.rs index 9d15c525a5..ad2e7f0d1b 100644 --- a/esp32s3/src/rtc_io/date.rs +++ b/esp32s3/src/rtc_io/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - version"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s3/src/rtc_io/enable_w1tc.rs b/esp32s3/src/rtc_io/enable_w1tc.rs index ebd83b6d83..7946d89436 100644 --- a/esp32s3/src/rtc_io/enable_w1tc.rs +++ b/esp32s3/src/rtc_io/enable_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 10:31 - RTC GPIO 0 ~ 21 enable write 1 to clear"] #[inline(always)] - #[must_use] pub fn enable_w1tc(&mut self) -> ENABLE_W1TC_W { ENABLE_W1TC_W::new(self, 10) } diff --git a/esp32s3/src/rtc_io/ext_wakeup0.rs b/esp32s3/src/rtc_io/ext_wakeup0.rs index 99df4fe521..7e4eb2b0f2 100644 --- a/esp32s3/src/rtc_io/ext_wakeup0.rs +++ b/esp32s3/src/rtc_io/ext_wakeup0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 27:31 - ******* Description configure***"] #[inline(always)] - #[must_use] pub fn sel(&mut self) -> SEL_W { SEL_W::new(self, 27) } diff --git a/esp32s3/src/rtc_io/pad_dac1.rs b/esp32s3/src/rtc_io/pad_dac1.rs index bb729eb64b..c475d09203 100644 --- a/esp32s3/src/rtc_io/pad_dac1.rs +++ b/esp32s3/src/rtc_io/pad_dac1.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 3:10 - PDAC1_DAC"] #[inline(always)] - #[must_use] pub fn pdac1_dac(&mut self) -> PDAC1_DAC_W { PDAC1_DAC_W::new(self, 3) } #[doc = "Bit 11 - PDAC1_XPD_DAC"] #[inline(always)] - #[must_use] pub fn pdac1_xpd_dac(&mut self) -> PDAC1_XPD_DAC_W { PDAC1_XPD_DAC_W::new(self, 11) } #[doc = "Bit 12 - 1: use reg_pdac1_xpd_dac to control PDAC1_XPD_DAC,0: use SAR ADC FSM to control PDAC1_XPD_DAC"] #[inline(always)] - #[must_use] pub fn pdac1_dac_xpd_force(&mut self) -> PDAC1_DAC_XPD_FORCE_W { PDAC1_DAC_XPD_FORCE_W::new(self, 12) } #[doc = "Bit 13 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn pdac1_fun_ie(&mut self) -> PDAC1_FUN_IE_W { PDAC1_FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn pdac1_slp_oe(&mut self) -> PDAC1_SLP_OE_W { PDAC1_SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn pdac1_slp_ie(&mut self) -> PDAC1_SLP_IE_W { PDAC1_SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn pdac1_slp_sel(&mut self) -> PDAC1_SLP_SEL_W { PDAC1_SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - PDAC1 function sel"] #[inline(always)] - #[must_use] pub fn pdac1_fun_sel(&mut self) -> PDAC1_FUN_SEL_W { PDAC1_FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn pdac1_mux_sel(&mut self) -> PDAC1_MUX_SEL_W { PDAC1_MUX_SEL_W::new(self, 19) } #[doc = "Bit 27 - PDAC1_RUE"] #[inline(always)] - #[must_use] pub fn pdac1_rue(&mut self) -> PDAC1_RUE_W { PDAC1_RUE_W::new(self, 27) } #[doc = "Bit 28 - PDAC1_RDE"] #[inline(always)] - #[must_use] pub fn pdac1_rde(&mut self) -> PDAC1_RDE_W { PDAC1_RDE_W::new(self, 28) } #[doc = "Bits 29:30 - PDAC1_DRV"] #[inline(always)] - #[must_use] pub fn pdac1_drv(&mut self) -> PDAC1_DRV_W { PDAC1_DRV_W::new(self, 29) } diff --git a/esp32s3/src/rtc_io/pad_dac2.rs b/esp32s3/src/rtc_io/pad_dac2.rs index 9ca09cc882..14756aea6e 100644 --- a/esp32s3/src/rtc_io/pad_dac2.rs +++ b/esp32s3/src/rtc_io/pad_dac2.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 3:10 - PDAC2_DAC"] #[inline(always)] - #[must_use] pub fn pdac2_dac(&mut self) -> PDAC2_DAC_W { PDAC2_DAC_W::new(self, 3) } #[doc = "Bit 11 - PDAC2_XPD_DAC"] #[inline(always)] - #[must_use] pub fn pdac2_xpd_dac(&mut self) -> PDAC2_XPD_DAC_W { PDAC2_XPD_DAC_W::new(self, 11) } #[doc = "Bit 12 - 1: use reg_pdac2_xpd_dac to control PDAC2_XPD_DAC,0: use SAR ADC FSM to control PDAC2_XPD_DAC"] #[inline(always)] - #[must_use] pub fn pdac2_dac_xpd_force(&mut self) -> PDAC2_DAC_XPD_FORCE_W { PDAC2_DAC_XPD_FORCE_W::new(self, 12) } #[doc = "Bit 13 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn pdac2_fun_ie(&mut self) -> PDAC2_FUN_IE_W { PDAC2_FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn pdac2_slp_oe(&mut self) -> PDAC2_SLP_OE_W { PDAC2_SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn pdac2_slp_ie(&mut self) -> PDAC2_SLP_IE_W { PDAC2_SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn pdac2_slp_sel(&mut self) -> PDAC2_SLP_SEL_W { PDAC2_SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - PDAC1 function sel"] #[inline(always)] - #[must_use] pub fn pdac2_fun_sel(&mut self) -> PDAC2_FUN_SEL_W { PDAC2_FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn pdac2_mux_sel(&mut self) -> PDAC2_MUX_SEL_W { PDAC2_MUX_SEL_W::new(self, 19) } #[doc = "Bit 27 - PDAC2_RUE"] #[inline(always)] - #[must_use] pub fn pdac2_rue(&mut self) -> PDAC2_RUE_W { PDAC2_RUE_W::new(self, 27) } #[doc = "Bit 28 - PDAC2_RDE"] #[inline(always)] - #[must_use] pub fn pdac2_rde(&mut self) -> PDAC2_RDE_W { PDAC2_RDE_W::new(self, 28) } #[doc = "Bits 29:30 - PDAC2_DRV"] #[inline(always)] - #[must_use] pub fn pdac2_drv(&mut self) -> PDAC2_DRV_W { PDAC2_DRV_W::new(self, 29) } diff --git a/esp32s3/src/rtc_io/pin.rs b/esp32s3/src/rtc_io/pin.rs index 4e20c3d52a..e89a1cf64f 100644 --- a/esp32s3/src/rtc_io/pin.rs +++ b/esp32s3/src/rtc_io/pin.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - if set to 0: normal output, if set to 1: open drain"] #[inline(always)] - #[must_use] pub fn pad_driver(&mut self) -> PAD_DRIVER_W { PAD_DRIVER_W::new(self, 2) } #[doc = "Bits 7:9 - if set to 0: GPIO interrupt disable, if set to 1: rising edge trigger, if set to 2: falling edge trigger, if set to 3: any edge trigger, if set to 4: low level trigger, if set to 5: high level trigger"] #[inline(always)] - #[must_use] pub fn int_type(&mut self) -> INT_TYPE_W { INT_TYPE_W::new(self, 7) } #[doc = "Bit 10 - RTC GPIO wakeup enable bit"] #[inline(always)] - #[must_use] pub fn wakeup_enable(&mut self) -> WAKEUP_ENABLE_W { WAKEUP_ENABLE_W::new(self, 10) } diff --git a/esp32s3/src/rtc_io/rtc_debug_sel.rs b/esp32s3/src/rtc_io/rtc_debug_sel.rs index d75c7b95df..43e8871200 100644 --- a/esp32s3/src/rtc_io/rtc_debug_sel.rs +++ b/esp32s3/src/rtc_io/rtc_debug_sel.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - configure rtc debug"] #[inline(always)] - #[must_use] pub fn rtc_debug_sel0(&mut self) -> RTC_DEBUG_SEL0_W { RTC_DEBUG_SEL0_W::new(self, 0) } #[doc = "Bits 5:9 - configure rtc debug"] #[inline(always)] - #[must_use] pub fn rtc_debug_sel1(&mut self) -> RTC_DEBUG_SEL1_W { RTC_DEBUG_SEL1_W::new(self, 5) } #[doc = "Bits 10:14 - configure rtc debug"] #[inline(always)] - #[must_use] pub fn rtc_debug_sel2(&mut self) -> RTC_DEBUG_SEL2_W { RTC_DEBUG_SEL2_W::new(self, 10) } #[doc = "Bits 15:19 - configure rtc debug"] #[inline(always)] - #[must_use] pub fn rtc_debug_sel3(&mut self) -> RTC_DEBUG_SEL3_W { RTC_DEBUG_SEL3_W::new(self, 15) } #[doc = "Bits 20:24 - configure rtc debug"] #[inline(always)] - #[must_use] pub fn rtc_debug_sel4(&mut self) -> RTC_DEBUG_SEL4_W { RTC_DEBUG_SEL4_W::new(self, 20) } #[doc = "Bit 25 - configure rtc debug"] #[inline(always)] - #[must_use] pub fn rtc_debug_12m_no_gating(&mut self) -> RTC_DEBUG_12M_NO_GATING_W { RTC_DEBUG_12M_NO_GATING_W::new(self, 25) } diff --git a/esp32s3/src/rtc_io/rtc_gpio_enable.rs b/esp32s3/src/rtc_io/rtc_gpio_enable.rs index 18662ddac1..d85e5d21a5 100644 --- a/esp32s3/src/rtc_io/rtc_gpio_enable.rs +++ b/esp32s3/src/rtc_io/rtc_gpio_enable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 10:31 - RTC GPIO 0 ~ 21 enable"] #[inline(always)] - #[must_use] pub fn rtc_gpio_enable(&mut self) -> RTC_GPIO_ENABLE_W { RTC_GPIO_ENABLE_W::new(self, 10) } diff --git a/esp32s3/src/rtc_io/rtc_gpio_enable_w1ts.rs b/esp32s3/src/rtc_io/rtc_gpio_enable_w1ts.rs index 355f056237..069ed939a8 100644 --- a/esp32s3/src/rtc_io/rtc_gpio_enable_w1ts.rs +++ b/esp32s3/src/rtc_io/rtc_gpio_enable_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 10:31 - RTC GPIO 0 ~ 21 enable write 1 to set"] #[inline(always)] - #[must_use] pub fn rtc_gpio_enable_w1ts(&mut self) -> RTC_GPIO_ENABLE_W1TS_W { RTC_GPIO_ENABLE_W1TS_W::new(self, 10) } diff --git a/esp32s3/src/rtc_io/rtc_gpio_out.rs b/esp32s3/src/rtc_io/rtc_gpio_out.rs index 27b902a790..b0a5770509 100644 --- a/esp32s3/src/rtc_io/rtc_gpio_out.rs +++ b/esp32s3/src/rtc_io/rtc_gpio_out.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 10:31 - RTC GPIO 0 ~ 21 output data"] #[inline(always)] - #[must_use] pub fn data(&mut self) -> DATA_W { DATA_W::new(self, 10) } diff --git a/esp32s3/src/rtc_io/rtc_gpio_out_w1tc.rs b/esp32s3/src/rtc_io/rtc_gpio_out_w1tc.rs index d505d2d474..6b6eb3de5f 100644 --- a/esp32s3/src/rtc_io/rtc_gpio_out_w1tc.rs +++ b/esp32s3/src/rtc_io/rtc_gpio_out_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 10:31 - RTC GPIO 0 ~ 21 output data write 1 to clear"] #[inline(always)] - #[must_use] pub fn rtc_gpio_out_data_w1tc(&mut self) -> RTC_GPIO_OUT_DATA_W1TC_W { RTC_GPIO_OUT_DATA_W1TC_W::new(self, 10) } diff --git a/esp32s3/src/rtc_io/rtc_gpio_out_w1ts.rs b/esp32s3/src/rtc_io/rtc_gpio_out_w1ts.rs index acaa48f0ca..c1e75e0c0d 100644 --- a/esp32s3/src/rtc_io/rtc_gpio_out_w1ts.rs +++ b/esp32s3/src/rtc_io/rtc_gpio_out_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 10:31 - RTC GPIO 0 ~ 21 output data write 1 to set"] #[inline(always)] - #[must_use] pub fn rtc_gpio_out_data_w1ts(&mut self) -> RTC_GPIO_OUT_DATA_W1TS_W { RTC_GPIO_OUT_DATA_W1TS_W::new(self, 10) } diff --git a/esp32s3/src/rtc_io/rtc_gpio_status.rs b/esp32s3/src/rtc_io/rtc_gpio_status.rs index c52c41f25e..0f3f65fe6a 100644 --- a/esp32s3/src/rtc_io/rtc_gpio_status.rs +++ b/esp32s3/src/rtc_io/rtc_gpio_status.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 10:31 - RTC GPIO 0 ~ 21 interrupt status"] #[inline(always)] - #[must_use] pub fn int(&mut self) -> INT_W { INT_W::new(self, 10) } diff --git a/esp32s3/src/rtc_io/rtc_gpio_status_w1tc.rs b/esp32s3/src/rtc_io/rtc_gpio_status_w1tc.rs index 29329521b8..83571af0ec 100644 --- a/esp32s3/src/rtc_io/rtc_gpio_status_w1tc.rs +++ b/esp32s3/src/rtc_io/rtc_gpio_status_w1tc.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 10:31 - RTC GPIO 0 ~ 21 interrupt status write 1 to clear"] #[inline(always)] - #[must_use] pub fn rtc_gpio_status_int_w1tc( &mut self, ) -> RTC_GPIO_STATUS_INT_W1TC_W { diff --git a/esp32s3/src/rtc_io/rtc_gpio_status_w1ts.rs b/esp32s3/src/rtc_io/rtc_gpio_status_w1ts.rs index ec83aa8e2c..1ccc4f5c07 100644 --- a/esp32s3/src/rtc_io/rtc_gpio_status_w1ts.rs +++ b/esp32s3/src/rtc_io/rtc_gpio_status_w1ts.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 10:31 - RTC GPIO 0 ~ 21 interrupt status write 1 to set"] #[inline(always)] - #[must_use] pub fn rtc_gpio_status_int_w1ts( &mut self, ) -> RTC_GPIO_STATUS_INT_W1TS_W { diff --git a/esp32s3/src/rtc_io/rtc_pad19.rs b/esp32s3/src/rtc_io/rtc_pad19.rs index df3b94eb50..ab0116229a 100644 --- a/esp32s3/src/rtc_io/rtc_pad19.rs +++ b/esp32s3/src/rtc_io/rtc_pad19.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - function sel"] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 19) } #[doc = "Bit 27 - RUE"] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - RDE"] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bits 29:30 - DRV"] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 29) } diff --git a/esp32s3/src/rtc_io/rtc_pad20.rs b/esp32s3/src/rtc_io/rtc_pad20.rs index dfd3f9859a..0c202c9690 100644 --- a/esp32s3/src/rtc_io/rtc_pad20.rs +++ b/esp32s3/src/rtc_io/rtc_pad20.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - function sel"] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 19) } #[doc = "Bit 27 - RUE"] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - RDE"] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bits 29:30 - DRV"] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 29) } diff --git a/esp32s3/src/rtc_io/rtc_pad21.rs b/esp32s3/src/rtc_io/rtc_pad21.rs index 9c6e5a5229..16fad2fc2b 100644 --- a/esp32s3/src/rtc_io/rtc_pad21.rs +++ b/esp32s3/src/rtc_io/rtc_pad21.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - function sel"] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 19) } #[doc = "Bit 27 - RUE"] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - RDE"] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bits 29:30 - DRV"] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 29) } diff --git a/esp32s3/src/rtc_io/sar_i2c_io.rs b/esp32s3/src/rtc_io/sar_i2c_io.rs index 3f9c87d3a2..4873a03506 100644 --- a/esp32s3/src/rtc_io/sar_i2c_io.rs +++ b/esp32s3/src/rtc_io/sar_i2c_io.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 23:27 - ******* Description configure***"] #[inline(always)] - #[must_use] pub fn sar_debug_bit_sel(&mut self) -> SAR_DEBUG_BIT_SEL_W { SAR_DEBUG_BIT_SEL_W::new(self, 23) } #[doc = "Bits 28:29 - ******* Description configure***"] #[inline(always)] - #[must_use] pub fn sar_i2c_scl_sel(&mut self) -> SAR_I2C_SCL_SEL_W { SAR_I2C_SCL_SEL_W::new(self, 28) } #[doc = "Bits 30:31 - ******* Description configure***"] #[inline(always)] - #[must_use] pub fn sar_i2c_sda_sel(&mut self) -> SAR_I2C_SDA_SEL_W { SAR_I2C_SDA_SEL_W::new(self, 30) } diff --git a/esp32s3/src/rtc_io/touch_ctrl.rs b/esp32s3/src/rtc_io/touch_ctrl.rs index e95c4223d6..4533fbff14 100644 --- a/esp32s3/src/rtc_io/touch_ctrl.rs +++ b/esp32s3/src/rtc_io/touch_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - BUF_SEL when touch work without fsm"] #[inline(always)] - #[must_use] pub fn io_touch_bufsel(&mut self) -> IO_TOUCH_BUFSEL_W { IO_TOUCH_BUFSEL_W::new(self, 0) } #[doc = "Bit 4 - BUF_MODE when touch work without fsm"] #[inline(always)] - #[must_use] pub fn io_touch_bufmode(&mut self) -> IO_TOUCH_BUFMODE_W { IO_TOUCH_BUFMODE_W::new(self, 4) } diff --git a/esp32s3/src/rtc_io/touch_pad.rs b/esp32s3/src/rtc_io/touch_pad.rs index 15f0604e10..2a67dd9df1 100644 --- a/esp32s3/src/rtc_io/touch_pad.rs +++ b/esp32s3/src/rtc_io/touch_pad.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn fun_ie(&mut self) -> FUN_IE_W { FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_oe(&mut self) -> SLP_OE_W { SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn slp_ie(&mut self) -> SLP_IE_W { SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn slp_sel(&mut self) -> SLP_SEL_W { SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - function sel"] #[inline(always)] - #[must_use] pub fn fun_sel(&mut self) -> FUN_SEL_W { FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn mux_sel(&mut self) -> MUX_SEL_W { MUX_SEL_W::new(self, 19) } #[doc = "Bit 20 - TOUCH_XPD"] #[inline(always)] - #[must_use] pub fn xpd(&mut self) -> XPD_W { XPD_W::new(self, 20) } #[doc = "Bit 21 - TOUCH_TIE_OPT"] #[inline(always)] - #[must_use] pub fn tie_opt(&mut self) -> TIE_OPT_W { TIE_OPT_W::new(self, 21) } #[doc = "Bit 22 - TOUCH_START"] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 22) } #[doc = "Bit 27 - RUE"] #[inline(always)] - #[must_use] pub fn rue(&mut self) -> RUE_W { RUE_W::new(self, 27) } #[doc = "Bit 28 - RDE"] #[inline(always)] - #[must_use] pub fn rde(&mut self) -> RDE_W { RDE_W::new(self, 28) } #[doc = "Bits 29:30 - DRV"] #[inline(always)] - #[must_use] pub fn drv(&mut self) -> DRV_W { DRV_W::new(self, 29) } diff --git a/esp32s3/src/rtc_io/xtal_32n_pad.rs b/esp32s3/src/rtc_io/xtal_32n_pad.rs index cb1288f696..76569de7ab 100644 --- a/esp32s3/src/rtc_io/xtal_32n_pad.rs +++ b/esp32s3/src/rtc_io/xtal_32n_pad.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn x32n_fun_ie(&mut self) -> X32N_FUN_IE_W { X32N_FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn x32n_slp_oe(&mut self) -> X32N_SLP_OE_W { X32N_SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn x32n_slp_ie(&mut self) -> X32N_SLP_IE_W { X32N_SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn x32n_slp_sel(&mut self) -> X32N_SLP_SEL_W { X32N_SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - function sel"] #[inline(always)] - #[must_use] pub fn x32n_fun_sel(&mut self) -> X32N_FUN_SEL_W { X32N_FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn x32n_mux_sel(&mut self) -> X32N_MUX_SEL_W { X32N_MUX_SEL_W::new(self, 19) } #[doc = "Bit 27 - RUE"] #[inline(always)] - #[must_use] pub fn x32n_rue(&mut self) -> X32N_RUE_W { X32N_RUE_W::new(self, 27) } #[doc = "Bit 28 - RDE"] #[inline(always)] - #[must_use] pub fn x32n_rde(&mut self) -> X32N_RDE_W { X32N_RDE_W::new(self, 28) } #[doc = "Bits 29:30 - DRV"] #[inline(always)] - #[must_use] pub fn x32n_drv(&mut self) -> X32N_DRV_W { X32N_DRV_W::new(self, 29) } diff --git a/esp32s3/src/rtc_io/xtal_32p_pad.rs b/esp32s3/src/rtc_io/xtal_32p_pad.rs index dda44697bc..ffdc77c02a 100644 --- a/esp32s3/src/rtc_io/xtal_32p_pad.rs +++ b/esp32s3/src/rtc_io/xtal_32p_pad.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 13 - input enable in work mode"] #[inline(always)] - #[must_use] pub fn x32p_fun_ie(&mut self) -> X32P_FUN_IE_W { X32P_FUN_IE_W::new(self, 13) } #[doc = "Bit 14 - output enable in sleep mode"] #[inline(always)] - #[must_use] pub fn x32p_slp_oe(&mut self) -> X32P_SLP_OE_W { X32P_SLP_OE_W::new(self, 14) } #[doc = "Bit 15 - input enable in sleep mode"] #[inline(always)] - #[must_use] pub fn x32p_slp_ie(&mut self) -> X32P_SLP_IE_W { X32P_SLP_IE_W::new(self, 15) } #[doc = "Bit 16 - 1: enable sleep mode during sleep,0: no sleep mode"] #[inline(always)] - #[must_use] pub fn x32p_slp_sel(&mut self) -> X32P_SLP_SEL_W { X32P_SLP_SEL_W::new(self, 16) } #[doc = "Bits 17:18 - function sel"] #[inline(always)] - #[must_use] pub fn x32p_fun_sel(&mut self) -> X32P_FUN_SEL_W { X32P_FUN_SEL_W::new(self, 17) } #[doc = "Bit 19 - 1: use RTC GPIO,0: use digital GPIO"] #[inline(always)] - #[must_use] pub fn x32p_mux_sel(&mut self) -> X32P_MUX_SEL_W { X32P_MUX_SEL_W::new(self, 19) } #[doc = "Bit 27 - RUE"] #[inline(always)] - #[must_use] pub fn x32p_rue(&mut self) -> X32P_RUE_W { X32P_RUE_W::new(self, 27) } #[doc = "Bit 28 - RDE"] #[inline(always)] - #[must_use] pub fn x32p_rde(&mut self) -> X32P_RDE_W { X32P_RDE_W::new(self, 28) } #[doc = "Bits 29:30 - DRV"] #[inline(always)] - #[must_use] pub fn x32p_drv(&mut self) -> X32P_DRV_W { X32P_DRV_W::new(self, 29) } diff --git a/esp32s3/src/rtc_io/xtl_ext_ctr.rs b/esp32s3/src/rtc_io/xtl_ext_ctr.rs index acfc3b25b3..b8dfc88494 100644 --- a/esp32s3/src/rtc_io/xtl_ext_ctr.rs +++ b/esp32s3/src/rtc_io/xtl_ext_ctr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 27:31 - select RTC GPIO 0 ~ 17 to control XTAL"] #[inline(always)] - #[must_use] pub fn sel(&mut self) -> SEL_W { SEL_W::new(self, 27) } diff --git a/esp32s3/src/sdhost/blksiz.rs b/esp32s3/src/sdhost/blksiz.rs index 7ac50857b9..97a552eab9 100644 --- a/esp32s3/src/sdhost/blksiz.rs +++ b/esp32s3/src/sdhost/blksiz.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Block size."] #[inline(always)] - #[must_use] pub fn block_size(&mut self) -> BLOCK_SIZE_W { BLOCK_SIZE_W::new(self, 0) } diff --git a/esp32s3/src/sdhost/bmod.rs b/esp32s3/src/sdhost/bmod.rs index e2aff690f5..75568d4b2e 100644 --- a/esp32s3/src/sdhost/bmod.rs +++ b/esp32s3/src/sdhost/bmod.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Software Reset. When set, the DMA Controller resets all its internal registers. It is automatically cleared after one clock cycle."] #[inline(always)] - #[must_use] pub fn swr(&mut self) -> SWR_W { SWR_W::new(self, 0) } #[doc = "Bit 1 - Fixed Burst. Controls whether the AHB Master interface performs fixed burst transfers or not. When set, the AHB will use only SINGLE, INCR4, INCR8 or INCR16 during start of normal burst transfers. When reset, the AHB will use SINGLE and INCR burst transfer operations."] #[inline(always)] - #[must_use] pub fn fb(&mut self) -> FB_W { FB_W::new(self, 1) } #[doc = "Bit 7 - IDMAC Enable. When set, the IDMAC is enabled."] #[inline(always)] - #[must_use] pub fn de(&mut self) -> DE_W { DE_W::new(self, 7) } #[doc = "Bits 8:10 - Programmable Burst Length. These bits indicate the maximum number of beats to be performed in one IDMAC???Internal DMA Control???transaction. The IDMAC will always attempt to burst as specified in PBL each time it starts a burst transfer on the host bus. The permissible values are 1, 4, 8, 16, 32, 64, 128 and 256. This value is the mirror of MSIZE of FIFOTH register. In order to change this value, write the required value to FIFOTH register. This is an encode value as follows: 000: 1-byte transfer; 001: 4-byte transfer; 010: 8-byte transfer; 011: 16-byte transfer; 100: 32-byte transfer; 101: 64-byte transfer; 110: 128-byte transfer; 111: 256-byte transfer. PBL is a read-only value and is applicable only for data access, it does not apply to descriptor access."] #[inline(always)] - #[must_use] pub fn pbl(&mut self) -> PBL_W { PBL_W::new(self, 8) } diff --git a/esp32s3/src/sdhost/buffifo.rs b/esp32s3/src/sdhost/buffifo.rs index 5886f135ca..6ff254e646 100644 --- a/esp32s3/src/sdhost/buffifo.rs +++ b/esp32s3/src/sdhost/buffifo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - CPU write and read transmit data by FIFO. This register points to the current Data FIFO ."] #[inline(always)] - #[must_use] pub fn buffifo(&mut self) -> BUFFIFO_W { BUFFIFO_W::new(self, 0) } diff --git a/esp32s3/src/sdhost/bytcnt.rs b/esp32s3/src/sdhost/bytcnt.rs index 95bbb226ce..52246a239f 100644 --- a/esp32s3/src/sdhost/bytcnt.rs +++ b/esp32s3/src/sdhost/bytcnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Number of bytes to be transferred, should be an integral multiple of Block Size for block transfers. For data transfers of undefined byte lengths, byte count should be set to 0. When byte count is set to 0, it is the responsibility of host to explicitly send stop/abort command to terminate data transfer."] #[inline(always)] - #[must_use] pub fn byte_count(&mut self) -> BYTE_COUNT_W { BYTE_COUNT_W::new(self, 0) } diff --git a/esp32s3/src/sdhost/cardthrctl.rs b/esp32s3/src/sdhost/cardthrctl.rs index a3a12f56ea..29187b55f5 100644 --- a/esp32s3/src/sdhost/cardthrctl.rs +++ b/esp32s3/src/sdhost/cardthrctl.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Card read threshold enable. 1'b0-Card read threshold disabled. 1'b1-Card read threshold enabled."] #[inline(always)] - #[must_use] pub fn cardrdthren(&mut self) -> CARDRDTHREN_W { CARDRDTHREN_W::new(self, 0) } #[doc = "Bit 1 - Busy clear interrupt generation: 1'b0-Busy clear interrypt disabled. 1'b1-Busy clear interrypt enabled."] #[inline(always)] - #[must_use] pub fn cardclrinten(&mut self) -> CARDCLRINTEN_W { CARDCLRINTEN_W::new(self, 1) } #[doc = "Bit 2 - Applicable when HS400 mode is enabled. 1'b0-Card write Threshold disabled. 1'b1-Card write Threshold enabled."] #[inline(always)] - #[must_use] pub fn cardwrthren(&mut self) -> CARDWRTHREN_W { CARDWRTHREN_W::new(self, 2) } #[doc = "Bits 16:31 - The inside FIFO size is 512,This register is applicable when SDHOST_CARDERTHREN_REG is set to 1 or SDHOST_CARDRDTHREN_REG set to 1."] #[inline(always)] - #[must_use] pub fn cardthreshold(&mut self) -> CARDTHRESHOLD_W { CARDTHRESHOLD_W::new(self, 16) } diff --git a/esp32s3/src/sdhost/clk_edge_sel.rs b/esp32s3/src/sdhost/clk_edge_sel.rs index 1fa3b67b25..14f1cad1f1 100644 --- a/esp32s3/src/sdhost/clk_edge_sel.rs +++ b/esp32s3/src/sdhost/clk_edge_sel.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - It's used to select the clock phase of the output signal from phase 0, phase 90, phase 180, phase 270."] #[inline(always)] - #[must_use] pub fn cclkin_edge_drv_sel(&mut self) -> CCLKIN_EDGE_DRV_SEL_W { CCLKIN_EDGE_DRV_SEL_W::new(self, 0) } #[doc = "Bits 3:5 - It's used to select the clock phase of the input signal from phase 0, phase 90, phase 180, phase 270."] #[inline(always)] - #[must_use] pub fn cclkin_edge_sam_sel(&mut self) -> CCLKIN_EDGE_SAM_SEL_W { CCLKIN_EDGE_SAM_SEL_W::new(self, 3) } #[doc = "Bits 6:8 - It's used to select the clock phase of the internal signal from phase 0, phase 90, phase 180, phase 270."] #[inline(always)] - #[must_use] pub fn cclkin_edge_slf_sel(&mut self) -> CCLKIN_EDGE_SLF_SEL_W { CCLKIN_EDGE_SLF_SEL_W::new(self, 6) } #[doc = "Bits 9:12 - The high level of the divider clock. The value should be smaller than CCLKIN_EDGE_L."] #[inline(always)] - #[must_use] pub fn ccllkin_edge_h(&mut self) -> CCLLKIN_EDGE_H_W { CCLLKIN_EDGE_H_W::new(self, 9) } #[doc = "Bits 13:16 - The low level of the divider clock. The value should be larger than CCLKIN_EDGE_H."] #[inline(always)] - #[must_use] pub fn ccllkin_edge_l(&mut self) -> CCLLKIN_EDGE_L_W { CCLLKIN_EDGE_L_W::new(self, 13) } #[doc = "Bits 17:20 - The clock division of cclk_in."] #[inline(always)] - #[must_use] pub fn ccllkin_edge_n(&mut self) -> CCLLKIN_EDGE_N_W { CCLLKIN_EDGE_N_W::new(self, 17) } #[doc = "Bit 21 - Enable esdio mode."] #[inline(always)] - #[must_use] pub fn esdio_mode(&mut self) -> ESDIO_MODE_W { ESDIO_MODE_W::new(self, 21) } #[doc = "Bit 22 - Enable esd mode."] #[inline(always)] - #[must_use] pub fn esd_mode(&mut self) -> ESD_MODE_W { ESD_MODE_W::new(self, 22) } #[doc = "Bit 23 - Sdio clock enable."] #[inline(always)] - #[must_use] pub fn cclk_en(&mut self) -> CCLK_EN_W { CCLK_EN_W::new(self, 23) } diff --git a/esp32s3/src/sdhost/clkdiv.rs b/esp32s3/src/sdhost/clkdiv.rs index 6d43304da9..4e556096c2 100644 --- a/esp32s3/src/sdhost/clkdiv.rs +++ b/esp32s3/src/sdhost/clkdiv.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Clock divider0 value. Clock divisor is 2*n, where n = 0 bypasses the divider (divisor of 1). For example, a value of 1 means divided by 2*1 = 2, a value of 0xFF means divided by 2*255 = 510, and so on."] #[inline(always)] - #[must_use] pub fn clk_divider0(&mut self) -> CLK_DIVIDER0_W { CLK_DIVIDER0_W::new(self, 0) } #[doc = "Bits 8:15 - Clock divider1 value. Clock divisor is 2*n, where n = 0 bypasses the divider (divisor of 1). For example, a value of 1 means divided by 2*1 = 2, a value of 0xFF means divided by 2*255 = 510, and so on."] #[inline(always)] - #[must_use] pub fn clk_divider1(&mut self) -> CLK_DIVIDER1_W { CLK_DIVIDER1_W::new(self, 8) } #[doc = "Bits 16:23 - Clock divider2 value. Clock divisor is 2*n, where n = 0 bypasses the divider (divisor of 1). For example, a value of 1 means divided by 2*1 = 2, a value of 0xFF means divided by 2*255 = 510, and so on."] #[inline(always)] - #[must_use] pub fn clk_divider2(&mut self) -> CLK_DIVIDER2_W { CLK_DIVIDER2_W::new(self, 16) } #[doc = "Bits 24:31 - Clock divider3 value. Clock divisor is 2*n, where n = 0 bypasses the divider (divisor of 1). For example, a value of 1 means divided by 2*1 = 2, a value of 0xFF means divided by 2*255 = 510, and so on."] #[inline(always)] - #[must_use] pub fn clk_divider3(&mut self) -> CLK_DIVIDER3_W { CLK_DIVIDER3_W::new(self, 24) } diff --git a/esp32s3/src/sdhost/clkena.rs b/esp32s3/src/sdhost/clkena.rs index 8ea549e305..38637db020 100644 --- a/esp32s3/src/sdhost/clkena.rs +++ b/esp32s3/src/sdhost/clkena.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Clock-enable control for two SD card clocks and one MMC card clock is supported. One bit per card. 0: Clock disabled; 1: Clock enabled."] #[inline(always)] - #[must_use] pub fn cclk_enable(&mut self) -> CCLK_ENABLE_W { CCLK_ENABLE_W::new(self, 0) } #[doc = "Bits 16:17 - Disable clock when the card is in IDLE state. One bit per card. 0: clock disabled; 1: clock enabled."] #[inline(always)] - #[must_use] pub fn lp_enable(&mut self) -> LP_ENABLE_W { LP_ENABLE_W::new(self, 16) } diff --git a/esp32s3/src/sdhost/clksrc.rs b/esp32s3/src/sdhost/clksrc.rs index 291b8b4cce..6065175aa7 100644 --- a/esp32s3/src/sdhost/clksrc.rs +++ b/esp32s3/src/sdhost/clksrc.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Clock divider source for two SD cards is supported. Each card has two bits assigned to it. For example, bit\\[1:0\\] are assigned for card 0, bit\\[3:2\\] are assigned for card 1. Card 0 maps and internally routes clock divider\\[0:3\\] outputs to cclk_out\\[1:0\\] pins, depending on bit value. 00 : Clock divider 0; 01 : Clock divider 1; 10 : Clock divider 2; 11 : Clock divider 3."] #[inline(always)] - #[must_use] pub fn clksrc(&mut self) -> CLKSRC_W { CLKSRC_W::new(self, 0) } diff --git a/esp32s3/src/sdhost/cmd.rs b/esp32s3/src/sdhost/cmd.rs index 29b5cdd46b..f5187e2015 100644 --- a/esp32s3/src/sdhost/cmd.rs +++ b/esp32s3/src/sdhost/cmd.rs @@ -34,9 +34,9 @@ pub type TRANSFER_MODE_W<'a, REG> = crate::BitWriter<'a, REG>; pub type SEND_AUTO_STOP_R = crate::BitReader; #[doc = "Field `SEND_AUTO_STOP` writer - 0: No stop command is sent at the end of data transfer; 1: Send stop command at the end of data transfer."] pub type SEND_AUTO_STOP_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `WAIT_PRVDATA_COMPLETE` reader - 0: Send command at once, even if previous data transfer has not completed; 1: Wait for previous data transfer to complete before sending Command. The SDHOST_WAIT_PRVDATA_COMPLETE\\] = 0 option is typically used to query status of card during data transfer or to stop current data transfer. SDHOST_CARD_NUMBERr should be same as in previous command."] +#[doc = "Field `WAIT_PRVDATA_COMPLETE` reader - 0: Send command at once, even if previous data transfer has not completed; 1: Wait for previous data transfer to complete before sending Command. The SDHOST_WAIT_PRVDATA_COMPLETE] = 0 option is typically used to query status of card during data transfer or to stop current data transfer. SDHOST_CARD_NUMBERr should be same as in previous command."] pub type WAIT_PRVDATA_COMPLETE_R = crate::BitReader; -#[doc = "Field `WAIT_PRVDATA_COMPLETE` writer - 0: Send command at once, even if previous data transfer has not completed; 1: Wait for previous data transfer to complete before sending Command. The SDHOST_WAIT_PRVDATA_COMPLETE\\] = 0 option is typically used to query status of card during data transfer or to stop current data transfer. SDHOST_CARD_NUMBERr should be same as in previous command."] +#[doc = "Field `WAIT_PRVDATA_COMPLETE` writer - 0: Send command at once, even if previous data transfer has not completed; 1: Wait for previous data transfer to complete before sending Command. The SDHOST_WAIT_PRVDATA_COMPLETE] = 0 option is typically used to query status of card during data transfer or to stop current data transfer. SDHOST_CARD_NUMBERr should be same as in previous command."] pub type WAIT_PRVDATA_COMPLETE_W<'a, REG> = crate::BitWriter<'a, REG>; #[doc = "Field `STOP_ABORT_CMD` reader - 0: Neither stop nor abort command can stop current data transfer. If abort is sent to function-number currently selected or not in data-transfer mode, then bit should be set to 0; 1: Stop or abort command intended to stop current data transfer in progress. When open-ended or predefined data transfer is in progress, and host issues stop or abort command to stop data transfer, bit should be set so that command/data state-machines of CIU can return correctly to idle state."] pub type STOP_ABORT_CMD_R = crate::BitReader; @@ -111,7 +111,7 @@ impl R { pub fn send_auto_stop(&self) -> SEND_AUTO_STOP_R { SEND_AUTO_STOP_R::new(((self.bits >> 12) & 1) != 0) } - #[doc = "Bit 13 - 0: Send command at once, even if previous data transfer has not completed; 1: Wait for previous data transfer to complete before sending Command. The SDHOST_WAIT_PRVDATA_COMPLETE\\] = 0 option is typically used to query status of card during data transfer or to stop current data transfer. SDHOST_CARD_NUMBERr should be same as in previous command."] + #[doc = "Bit 13 - 0: Send command at once, even if previous data transfer has not completed; 1: Wait for previous data transfer to complete before sending Command. The SDHOST_WAIT_PRVDATA_COMPLETE] = 0 option is typically used to query status of card during data transfer or to stop current data transfer. SDHOST_CARD_NUMBERr should be same as in previous command."] #[inline(always)] pub fn wait_prvdata_complete(&self) -> WAIT_PRVDATA_COMPLETE_R { WAIT_PRVDATA_COMPLETE_R::new(((self.bits >> 13) & 1) != 0) @@ -187,103 +187,86 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - Command index."] #[inline(always)] - #[must_use] pub fn index(&mut self) -> INDEX_W { INDEX_W::new(self, 0) } #[doc = "Bit 6 - 0: No response expected from card; 1: Response expected from card."] #[inline(always)] - #[must_use] pub fn response_expect(&mut self) -> RESPONSE_EXPECT_W { RESPONSE_EXPECT_W::new(self, 6) } #[doc = "Bit 7 - 0: Short response expected from card; 1: Long response expected from card."] #[inline(always)] - #[must_use] pub fn response_length(&mut self) -> RESPONSE_LENGTH_W { RESPONSE_LENGTH_W::new(self, 7) } #[doc = "Bit 8 - 0: Do not check; 1: Check response CRC. Some of command responses do not return valid CRC bits. Software should disable CRC checks for those commands in order to disable CRC checking by controller."] #[inline(always)] - #[must_use] pub fn check_response_crc(&mut self) -> CHECK_RESPONSE_CRC_W { CHECK_RESPONSE_CRC_W::new(self, 8) } #[doc = "Bit 9 - 0: No data transfer expected; 1: Data transfer expected."] #[inline(always)] - #[must_use] pub fn data_expected(&mut self) -> DATA_EXPECTED_W { DATA_EXPECTED_W::new(self, 9) } #[doc = "Bit 10 - 0: Read from card; 1: Write to card. Don't care if no data is expected from card."] #[inline(always)] - #[must_use] pub fn read_write(&mut self) -> READ_WRITE_W { READ_WRITE_W::new(self, 10) } #[doc = "Bit 11 - 0: Block data transfer command; 1: Stream data transfer command. Don't care if no data expected."] #[inline(always)] - #[must_use] pub fn transfer_mode(&mut self) -> TRANSFER_MODE_W { TRANSFER_MODE_W::new(self, 11) } #[doc = "Bit 12 - 0: No stop command is sent at the end of data transfer; 1: Send stop command at the end of data transfer."] #[inline(always)] - #[must_use] pub fn send_auto_stop(&mut self) -> SEND_AUTO_STOP_W { SEND_AUTO_STOP_W::new(self, 12) } - #[doc = "Bit 13 - 0: Send command at once, even if previous data transfer has not completed; 1: Wait for previous data transfer to complete before sending Command. The SDHOST_WAIT_PRVDATA_COMPLETE\\] = 0 option is typically used to query status of card during data transfer or to stop current data transfer. SDHOST_CARD_NUMBERr should be same as in previous command."] + #[doc = "Bit 13 - 0: Send command at once, even if previous data transfer has not completed; 1: Wait for previous data transfer to complete before sending Command. The SDHOST_WAIT_PRVDATA_COMPLETE] = 0 option is typically used to query status of card during data transfer or to stop current data transfer. SDHOST_CARD_NUMBERr should be same as in previous command."] #[inline(always)] - #[must_use] pub fn wait_prvdata_complete(&mut self) -> WAIT_PRVDATA_COMPLETE_W { WAIT_PRVDATA_COMPLETE_W::new(self, 13) } #[doc = "Bit 14 - 0: Neither stop nor abort command can stop current data transfer. If abort is sent to function-number currently selected or not in data-transfer mode, then bit should be set to 0; 1: Stop or abort command intended to stop current data transfer in progress. When open-ended or predefined data transfer is in progress, and host issues stop or abort command to stop data transfer, bit should be set so that command/data state-machines of CIU can return correctly to idle state."] #[inline(always)] - #[must_use] pub fn stop_abort_cmd(&mut self) -> STOP_ABORT_CMD_W { STOP_ABORT_CMD_W::new(self, 14) } #[doc = "Bit 15 - 0: Do not send initialization sequence (80 clocks of 1) before sending this command; 1: Send initialization sequence before sending this command. After powered on, 80 clocks must be sent to card for initialization before sending any commands to card. Bit should be set while sending first command to card so that controller will initialize clocks before sending command to card."] #[inline(always)] - #[must_use] pub fn send_initialization(&mut self) -> SEND_INITIALIZATION_W { SEND_INITIALIZATION_W::new(self, 15) } #[doc = "Bits 16:20 - Card number in use. Represents physical slot number of card being accessed. In SD-only mode, up to two cards are supported."] #[inline(always)] - #[must_use] pub fn card_number(&mut self) -> CARD_NUMBER_W { CARD_NUMBER_W::new(self, 16) } #[doc = "Bit 21 - 0: Normal command sequence; 1: Do not send commands, just update clock register value into card clock domain. Following register values are transferred into card clock domain: CLKDIV, CLRSRC, and CLKENA. Changes card clocks (change frequency, truncate off or on, and set low-frequency mode). This is provided in order to change clock frequency or stop clock without having to send command to cards. During normal command sequence, when sdhost_update_clock_registers_only = 0, following control registers are transferred from BIU to CIU: CMD, CMDARG, TMOUT, CTYPE, BLKSIZ, and BYTCNT. CIU uses new register values for new command sequence to card(s). When bit is set, there are no Command Done interrupts because no command is sent to SD_MMC_CEATA cards."] #[inline(always)] - #[must_use] pub fn update_clock_registers_only(&mut self) -> UPDATE_CLOCK_REGISTERS_ONLY_W { UPDATE_CLOCK_REGISTERS_ONLY_W::new(self, 21) } #[doc = "Bit 22 - Read access flag. 0: Host is not performing read access (RW_REG or RW_BLK)towards CE-ATA device; 1: Host is performing read access (RW_REG or RW_BLK) towards CE-ATA device. Software should set this bit to indicate that CE-ATA device is being accessed for read transfer. This bit is used to disable read data timeout indication while performing CE-ATA read transfers. Maximum value of I/O transmission delay can be no less than 10 seconds. SD/MMC should not indicate read data timeout while waiting for data from CE-ATA device."] #[inline(always)] - #[must_use] pub fn read_ceata_device(&mut self) -> READ_CEATA_DEVICE_W { READ_CEATA_DEVICE_W::new(self, 22) } #[doc = "Bit 23 - Expected Command Completion Signal (CCS) configuration. 0: Interrupts are not enabled in CE-ATA device (nIEN = 1 in ATA control register), or command does not expect CCS from device; 1: Interrupts are enabled in CE-ATA device (nIEN = 0), and RW_BLK command expects command completion signal from CE-ATA device. If the command expects Command Completion Signal (CCS) from the CE-ATA device, the software should set this control bit. SD/MMC sets Data Transfer Over (DTO) bit in RINTSTS register and generates interrupt to host if Data Transfer Over interrupt is not masked."] #[inline(always)] - #[must_use] pub fn ccs_expected(&mut self) -> CCS_EXPECTED_W { CCS_EXPECTED_W::new(self, 23) } #[doc = "Bit 29 - Use Hold Register. 0: CMD and DATA sent to card bypassing HOLD Register; 1: CMD and DATA sent to card through the HOLD Register."] #[inline(always)] - #[must_use] pub fn use_hole(&mut self) -> USE_HOLE_W { USE_HOLE_W::new(self, 29) } #[doc = "Bit 31 - Start command. Once command is served by the CIU, this bit is automatically cleared. When this bit is set, host should not attempt to write to any command registers. If a write is attempted, hardware lock error is set in raw interrupt register. Once command is sent and a response is received from SD_MMC_CEATA cards, Command Done bit is set in the raw interrupt Register."] #[inline(always)] - #[must_use] pub fn start_cmd(&mut self) -> START_CMD_W { START_CMD_W::new(self, 31) } diff --git a/esp32s3/src/sdhost/cmdarg.rs b/esp32s3/src/sdhost/cmdarg.rs index 9b54253c45..16efa0eb23 100644 --- a/esp32s3/src/sdhost/cmdarg.rs +++ b/esp32s3/src/sdhost/cmdarg.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Value indicates command argument to be passed to the card."] #[inline(always)] - #[must_use] pub fn cmdarg(&mut self) -> CMDARG_W { CMDARG_W::new(self, 0) } diff --git a/esp32s3/src/sdhost/ctrl.rs b/esp32s3/src/sdhost/ctrl.rs index 188695044f..bdeba0dd0d 100644 --- a/esp32s3/src/sdhost/ctrl.rs +++ b/esp32s3/src/sdhost/ctrl.rs @@ -117,61 +117,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - To reset controller, firmware should set this bit. This bit is auto-cleared after two AHB and two sdhost_cclk_in clock cycles."] #[inline(always)] - #[must_use] pub fn controller_reset(&mut self) -> CONTROLLER_RESET_W { CONTROLLER_RESET_W::new(self, 0) } #[doc = "Bit 1 - To reset FIFO, firmware should set bit to 1. This bit is auto-cleared after completion of reset operation. Note: FIFO pointers will be out of reset after 2 cycles of system clocks in addition to synchronization delay (2 cycles of card clock), after the fifo_reset is cleared."] #[inline(always)] - #[must_use] pub fn fifo_reset(&mut self) -> FIFO_RESET_W { FIFO_RESET_W::new(self, 1) } #[doc = "Bit 2 - To reset DMA interface, firmware should set bit to 1. This bit is auto-cleared after two AHB clocks."] #[inline(always)] - #[must_use] pub fn dma_reset(&mut self) -> DMA_RESET_W { DMA_RESET_W::new(self, 2) } #[doc = "Bit 4 - Global interrupt enable/disable bit. 0: Disable; 1: Enable."] #[inline(always)] - #[must_use] pub fn int_enable(&mut self) -> INT_ENABLE_W { INT_ENABLE_W::new(self, 4) } #[doc = "Bit 6 - For sending read-wait to SDIO cards."] #[inline(always)] - #[must_use] pub fn read_wait(&mut self) -> READ_WAIT_W { READ_WAIT_W::new(self, 6) } #[doc = "Bit 7 - Bit automatically clears once response is sent. To wait for MMC card interrupts, host issues CMD40 and waits for interrupt response from MMC card(s). In the meantime, if host wants SD/MMC to exit waiting for interrupt state, it can set this bit, at which time SD/MMC command state-machine sends CMD40 response on bus and returns to idle state."] #[inline(always)] - #[must_use] pub fn send_irq_response(&mut self) -> SEND_IRQ_RESPONSE_W { SEND_IRQ_RESPONSE_W::new(self, 7) } #[doc = "Bit 8 - After a suspend-command is issued during a read-operation, software polls the card to find when the suspend-event occurred. Once the suspend-event has occurred, software sets the bit which will reset the data state machine that is waiting for the next block of data. This bit is automatically cleared once the data state machine is reset to idle."] #[inline(always)] - #[must_use] pub fn abort_read_data(&mut self) -> ABORT_READ_DATA_W { ABORT_READ_DATA_W::new(self, 8) } #[doc = "Bit 9 - When set, SD/MMC sends CCSD to the CE-ATA device. Software sets this bit only if the current command is expecting CCS (that is, RW_BLK), and if interrupts are enabled for the CE-ATA device. Once the CCSD pattern is sent to the device, SD/MMC automatically clears the SDHOST_SEND_CCSD bit. It also sets the Command Done (CD) bit in the SDHOST_RINTSTS_REG register, and generates an interrupt for the host, in case the Command Done interrupt is not masked. NOTE: Once the SDHOST_SEND_CCSD bit is set, it takes two card clock cycles to drive the CCSD on the CMD line. Due to this, within the boundary conditions the CCSD may be sent to the CE-ATA device, even if the device has signalled CCS."] #[inline(always)] - #[must_use] pub fn send_ccsd(&mut self) -> SEND_CCSD_W { SEND_CCSD_W::new(self, 9) } #[doc = "Bit 10 - Always Set SDHOST_SEND_AUTO_STOP_CCSD and SDHOST_SEND_CCSD bits together; SDHOST_SEND_AUTO_STOP_CCSD should not be set independently of send_ccsd. When set, SD/MMC automatically sends an internally-generated STOP command (CMD12) to the CE-ATA device. After sending this internally-generated STOP command, the Auto Command Done (ACD) bit in SDHOST_RINTSTS_REG is set and an interrupt is generated for the host, in case the ACD interrupt is not masked. After sending the Command Completion Signal Disable (CCSD), SD/MMC automatically clears the SDHOST_SEND_AUTO_STOP_CCSD bit."] #[inline(always)] - #[must_use] pub fn send_auto_stop_ccsd(&mut self) -> SEND_AUTO_STOP_CCSD_W { SEND_AUTO_STOP_CCSD_W::new(self, 10) } #[doc = "Bit 11 - Software should appropriately write to this bit after the power-on reset or any other reset to the CE-ATA device. After reset, the CE-ATA device's interrupt is usually disabled (nIEN = 1). If the host enables the CE-ATA device's interrupt, then software should set this bit."] #[inline(always)] - #[must_use] pub fn ceata_device_interrupt_status(&mut self) -> CEATA_DEVICE_INTERRUPT_STATUS_W { CEATA_DEVICE_INTERRUPT_STATUS_W::new(self, 11) } diff --git a/esp32s3/src/sdhost/ctype.rs b/esp32s3/src/sdhost/ctype.rs index 87fd7264c1..626c966262 100644 --- a/esp32s3/src/sdhost/ctype.rs +++ b/esp32s3/src/sdhost/ctype.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - One bit per card indicates if card is 1-bit or 4-bit mode. 0: 1-bit mode; 1: 4-bit mode. Bit\\[1:0\\] correspond to card\\[1:0\\] respectively."] #[inline(always)] - #[must_use] pub fn card_width4(&mut self) -> CARD_WIDTH4_W { CARD_WIDTH4_W::new(self, 0) } #[doc = "Bits 16:17 - One bit per card indicates if card is in 8-bit mode. 0: Non 8-bit mode; 1: 8-bit mode. Bit\\[17:16\\] correspond to card\\[1:0\\] respectively."] #[inline(always)] - #[must_use] pub fn card_width8(&mut self) -> CARD_WIDTH8_W { CARD_WIDTH8_W::new(self, 16) } diff --git a/esp32s3/src/sdhost/dbaddr.rs b/esp32s3/src/sdhost/dbaddr.rs index aaf52a61c5..d3c712d63a 100644 --- a/esp32s3/src/sdhost/dbaddr.rs +++ b/esp32s3/src/sdhost/dbaddr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Start of Descriptor List. Contains the base address of the First Descriptor. The LSB bits \\[1:0\\] are ignored and taken as all-zero by the IDMAC internally. Hence these LSB bits may be treated as read-only."] #[inline(always)] - #[must_use] pub fn dbaddr(&mut self) -> DBADDR_W { DBADDR_W::new(self, 0) } diff --git a/esp32s3/src/sdhost/debnce.rs b/esp32s3/src/sdhost/debnce.rs index f5664a5673..06e70e3dcd 100644 --- a/esp32s3/src/sdhost/debnce.rs +++ b/esp32s3/src/sdhost/debnce.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:23 - Number of host clocks (clk) used by debounce filter logic. The typical debounce time is 5 \\verb+~+ 25 ms to prevent the card instability when the card is inserted or removed."] #[inline(always)] - #[must_use] pub fn debounce_count(&mut self) -> DEBOUNCE_COUNT_W { DEBOUNCE_COUNT_W::new(self, 0) } diff --git a/esp32s3/src/sdhost/emmcddr.rs b/esp32s3/src/sdhost/emmcddr.rs index 405b5d2739..31ada02122 100644 --- a/esp32s3/src/sdhost/emmcddr.rs +++ b/esp32s3/src/sdhost/emmcddr.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Control for start bit detection mechanism duration of start bit.Each bit refers to one slot.Set this bit to 1 for eMMC4.5 and above,set to 0 for SD applications.For eMMC4.5,start bit can be: 1'b0-Full cycle. 1'b1-less than one full cycle."] #[inline(always)] - #[must_use] pub fn halfstartbit(&mut self) -> HALFSTARTBIT_W { HALFSTARTBIT_W::new(self, 0) } #[doc = "Bit 31 - Set 1 to enable HS400 mode."] #[inline(always)] - #[must_use] pub fn hs400_mode(&mut self) -> HS400_MODE_W { HS400_MODE_W::new(self, 31) } diff --git a/esp32s3/src/sdhost/enshift.rs b/esp32s3/src/sdhost/enshift.rs index bd77802532..3d441e55f7 100644 --- a/esp32s3/src/sdhost/enshift.rs +++ b/esp32s3/src/sdhost/enshift.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Control for the amount of phase shift provided on the default enables in the design.Two bits assigned for each card. 2'b00-Default phase shift. 2'b01-Enables shifted to next immediate positive edge. 2'b10-Enables shifted to next immediate negative edge. 2'b11-Reserved."] #[inline(always)] - #[must_use] pub fn enable_shift(&mut self) -> ENABLE_SHIFT_W { ENABLE_SHIFT_W::new(self, 0) } diff --git a/esp32s3/src/sdhost/fifoth.rs b/esp32s3/src/sdhost/fifoth.rs index 841b6ce6d7..557b69a335 100644 --- a/esp32s3/src/sdhost/fifoth.rs +++ b/esp32s3/src/sdhost/fifoth.rs @@ -47,19 +47,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - FIFO threshold watermark level when transmitting data to card. When FIFO data count is less than or equal to this number, DMA/FIFO request is raised. If Interrupt is enabled, then interrupt occurs. During end of packet, request or interrupt is generated, regardless of threshold programming.In non-DMA mode, when transmit FIFO threshold (TXDR) interrupt is enabled, then interrupt is generated instead of DMA request. During end of packet, on last interrupt, host is responsible for filling FIFO with only required remaining bytes (not before FIFO is full or after CIU completes data transfers, because FIFO may not be empty). In DMA mode, at end of packet, if last transfer is less than burst size, DMA controller does single cycles until required bytes are transferred."] #[inline(always)] - #[must_use] pub fn tx_wmark(&mut self) -> TX_WMARK_W { TX_WMARK_W::new(self, 0) } #[doc = "Bits 16:26 - FIFO threshold watermark level when receiving data to card.When FIFO data count reaches greater than this number , DMA/FIFO request is raised. During end of packet, request is generated regardless of threshold programming in order to complete any remaining data.In non-DMA mode, when receiver FIFO threshold (RXDR) interrupt is enabled, then interrupt is generated instead of DMA request.During end of packet, interrupt is not generated if threshold programming is larger than any remaining data. It is responsibility of host to read remaining bytes on seeing Data Transfer Done interrupt.In DMA mode, at end of packet, even if remaining bytes are less than threshold, DMA request does single transfers to flush out any remaining bytes before Data Transfer Done interrupt is set."] #[inline(always)] - #[must_use] pub fn rx_wmark(&mut self) -> RX_WMARK_W { RX_WMARK_W::new(self, 16) } #[doc = "Bits 28:30 - Burst size of multiple transaction, should be programmed same as DMA controller multiple-transaction-size SDHOST_SRC/DEST_MSIZE. 000: 1-byte transfer; 001: 4-byte transfer; 010: 8-byte transfer; 011: 16-byte transfer; 100: 32-byte transfer; 101: 64-byte transfer; 110: 128-byte transfer; 111: 256-byte transfer."] #[inline(always)] - #[must_use] pub fn dma_multiple_transaction_size( &mut self, ) -> DMA_MULTIPLE_TRANSACTION_SIZE_W { diff --git a/esp32s3/src/sdhost/idinten.rs b/esp32s3/src/sdhost/idinten.rs index 730c7c8bd1..5c9d873d90 100644 --- a/esp32s3/src/sdhost/idinten.rs +++ b/esp32s3/src/sdhost/idinten.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Transmit Interrupt Enable. When set with Normal Interrupt Summary Enable, Transmit Interrupt is enabled. When reset, Transmit Interrupt is disabled."] #[inline(always)] - #[must_use] pub fn ti(&mut self) -> TI_W { TI_W::new(self, 0) } #[doc = "Bit 1 - Receive Interrupt Enable. When set with Normal Interrupt Summary Enable, Receive Interrupt is enabled. When reset, Receive Interrupt is disabled."] #[inline(always)] - #[must_use] pub fn ri(&mut self) -> RI_W { RI_W::new(self, 1) } #[doc = "Bit 2 - Fatal Bus Error Enable. When set with Abnormal Interrupt Summary Enable, the Fatal Bus Error Interrupt is enabled. When reset, Fatal Bus Error Enable Interrupt is disabled."] #[inline(always)] - #[must_use] pub fn fbe(&mut self) -> FBE_W { FBE_W::new(self, 2) } #[doc = "Bit 4 - Descriptor Unavailable Interrupt. When set along with Abnormal Interrupt Summary Enable, the DU interrupt is enabled."] #[inline(always)] - #[must_use] pub fn du(&mut self) -> DU_W { DU_W::new(self, 4) } #[doc = "Bit 5 - Card Error summary Interrupt Enable. When set, it enables the Card Interrupt summary."] #[inline(always)] - #[must_use] pub fn ces(&mut self) -> CES_W { CES_W::new(self, 5) } #[doc = "Bit 8 - Normal Interrupt Summary Enable. When set, a normal interrupt is enabled. When reset, a normal interrupt is disabled. This bit enables the following bits: IDINTEN\\[0\\]: Transmit Interrupt; IDINTEN\\[1\\]: Receive Interrupt."] #[inline(always)] - #[must_use] pub fn ni(&mut self) -> NI_W { NI_W::new(self, 8) } #[doc = "Bit 9 - Abnormal Interrupt Summary Enable. When set, an abnormal interrupt is enabled. This bit enables the following bits: IDINTEN\\[2\\]: Fatal Bus Error Interrupt; IDINTEN\\[4\\]: DU Interrupt."] #[inline(always)] - #[must_use] pub fn ai(&mut self) -> AI_W { AI_W::new(self, 9) } diff --git a/esp32s3/src/sdhost/idsts.rs b/esp32s3/src/sdhost/idsts.rs index fbf3d95fb4..b9ded110b9 100644 --- a/esp32s3/src/sdhost/idsts.rs +++ b/esp32s3/src/sdhost/idsts.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Transmit Interrupt. Indicates that data transmission is finished for a descriptor. Writing 1 clears this bit."] #[inline(always)] - #[must_use] pub fn ti(&mut self) -> TI_W { TI_W::new(self, 0) } #[doc = "Bit 1 - Receive Interrupt. Indicates the completion of data reception for a descriptor. Writing 1 clears this bit."] #[inline(always)] - #[must_use] pub fn ri(&mut self) -> RI_W { RI_W::new(self, 1) } #[doc = "Bit 2 - Fatal Bus Error Interrupt. Indicates that a Bus Error occurred (IDSTS\\[12:10\\]) . When this bit is set, the DMA disables all its bus accesses. Writing 1 clears this bit."] #[inline(always)] - #[must_use] pub fn fbe(&mut self) -> FBE_W { FBE_W::new(self, 2) } #[doc = "Bit 4 - Descriptor Unavailable Interrupt. This bit is set when the descriptor is unavailable due to OWNER bit = 0 (DES0\\[31\\] = 0). Writing 1 clears this bit."] #[inline(always)] - #[must_use] pub fn du(&mut self) -> DU_W { DU_W::new(self, 4) } #[doc = "Bit 5 - Card Error Summary. Indicates the status of the transaction to/from the card, also present in RINTSTS. Indicates the logical OR of the following bits: EBE : End Bit Error; RTO : Response Timeout/Boot Ack Timeout; RCRC : Response CRC; SBE : Start Bit Error; DRTO : Data Read Timeout/BDS timeout; DCRC : Data CRC for Receive; RE : Response Error. Writing 1 clears this bit. The abort condition of the IDMAC depends on the setting of this CES bit. If the CES bit is enabled, then the IDMAC aborts on a response error."] #[inline(always)] - #[must_use] pub fn ces(&mut self) -> CES_W { CES_W::new(self, 5) } #[doc = "Bit 8 - Normal Interrupt Summary. Logical OR of the following: IDSTS\\[0\\] : Transmit Interrupt, IDSTS\\[1\\] : Receive Interrupt. Only unmasked bits affect this bit. This is a sticky bit and must be cleared each time a corresponding bit that causes NIS to be set is cleared. Writing 1 clears this bit."] #[inline(always)] - #[must_use] pub fn nis(&mut self) -> NIS_W { NIS_W::new(self, 8) } #[doc = "Bit 9 - Abnormal Interrupt Summary. Logical OR of the following: IDSTS\\[2\\] : Fatal Bus Interrupt, IDSTS\\[4\\] : DU bit Interrupt. Only unmasked bits affect this bit. This is a sticky bit and must be cleared each time a corresponding bit that causes AIS to be set is cleared. Writing 1 clears this bit."] #[inline(always)] - #[must_use] pub fn ais(&mut self) -> AIS_W { AIS_W::new(self, 9) } #[doc = "Bits 10:12 - Fatal Bus Error Code. Indicates the type of error that caused a Bus Error. Valid only when the Fatal Bus Error bit IDSTS\\[2\\] is set. This field does not generate an interrupt. 001: Host Abort received during transmission; 010: Host Abort received during reception; Others: Reserved."] #[inline(always)] - #[must_use] pub fn fbe_code(&mut self) -> FBE_CODE_W { FBE_CODE_W::new(self, 10) } #[doc = "Bits 13:16 - DMAC FSM present state. 0: DMA_IDLE (idle state); 1: DMA_SUSPEND (suspend state); 2: DESC_RD (descriptor reading state); 3: DESC_CHK (descriptor checking state); 4: DMA_RD_REQ_WAIT (read-data request waiting state); 5: DMA_WR_REQ_WAIT (write-data request waiting state); 6: DMA_RD (data-read state); 7: DMA_WR (data-write state); 8: DESC_CLOSE (descriptor close state)."] #[inline(always)] - #[must_use] pub fn fsm(&mut self) -> FSM_W { FSM_W::new(self, 13) } diff --git a/esp32s3/src/sdhost/intmask.rs b/esp32s3/src/sdhost/intmask.rs index d8f06f1b7b..04af2f6725 100644 --- a/esp32s3/src/sdhost/intmask.rs +++ b/esp32s3/src/sdhost/intmask.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - These bits used to mask unwanted interrupts. A value of 0 masks interrupt, and a value of 1 enables the interrupt. Bit 15 (EBE): End-bit error/no CRC error; Bit 14 (ACD): Auto command done; Bit 13 (SBE/BCI): Rx Start Bit Error; Bit 12 (HLE): Hardware locked write error; Bit 11 (FRUN): FIFO underrun/overrun error; Bit 10 (HTO): Data starvation-by-host timeout; Bit 9 (DRTO): Data read timeout; Bit 8 (RTO): Response timeout; Bit 7 (DCRC): Data CRC error; Bit 6 (RCRC): Response CRC error; Bit 5 (RXDR): Receive FIFO data request; Bit 4 (TXDR): Transmit FIFO data request; Bit 3 (DTO): Data transfer over; Bit 2 (CD): Command done; Bit 1 (RE): Response error; Bit 0 (CD): Card detect."] #[inline(always)] - #[must_use] pub fn int_mask(&mut self) -> INT_MASK_W { INT_MASK_W::new(self, 0) } #[doc = "Bits 16:17 - SDIO interrupt mask, one bit for each card. Bit\\[17:16\\] correspond to card\\[15:0\\] respectively. When masked, SDIO interrupt detection for that card is disabled. 0 masks an interrupt, and 1 enables an interrupt."] #[inline(always)] - #[must_use] pub fn sdio_int_mask(&mut self) -> SDIO_INT_MASK_W { SDIO_INT_MASK_W::new(self, 16) } diff --git a/esp32s3/src/sdhost/pldmnd.rs b/esp32s3/src/sdhost/pldmnd.rs index feb2236b6a..593156e368 100644 --- a/esp32s3/src/sdhost/pldmnd.rs +++ b/esp32s3/src/sdhost/pldmnd.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - Poll Demand. If the OWNER bit of a descriptor is not set, the FSM goes to the Suspend state. The host needs to write any value into this register for the IDMAC FSM to resume normal descriptor fetch operation. This is a write only ."] #[inline(always)] - #[must_use] pub fn pd(&mut self) -> PD_W { PD_W::new(self, 0) } diff --git a/esp32s3/src/sdhost/rintsts.rs b/esp32s3/src/sdhost/rintsts.rs index 9bc56751d6..5d6e6f419f 100644 --- a/esp32s3/src/sdhost/rintsts.rs +++ b/esp32s3/src/sdhost/rintsts.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - Setting a bit clears the corresponding interrupt and writing 0 has no effect. Bits are logged regardless of interrupt mask status. Bit 15 (EBE): End-bit error/no CRC error; Bit 14 (ACD): Auto command done; Bit 13 (SBE/BCI): RX Start Bit Error; Bit 12 (HLE): Hardware locked write error; Bit 11 (FRUN): FIFO underrun/overrun error; Bit 10 (HTO): Data starvation by host timeout (HTO); Bit 9 (DTRO): Data read timeout; Bit 8 (RTO): Response timeout; Bit 7 (DCRC): Data CRC error; Bit 6 (RCRC): Response CRC error; Bit 5 (RXDR): Receive FIFO data request; Bit 4 (TXDR): Transmit FIFO data request; Bit 3 (DTO): Data transfer over; Bit 2 (CD): Command done; Bit 1 (RE): Response error; Bit 0 (CD): Card detect."] #[inline(always)] - #[must_use] pub fn int_status_raw(&mut self) -> INT_STATUS_RAW_W { INT_STATUS_RAW_W::new(self, 0) } #[doc = "Bits 16:17 - Interrupt from SDIO card, one bit for each card. Bit\\[17:16\\] correspond to card1 and card0, respectively. Setting a bit clears the corresponding interrupt bit and writing 0 has no effect. 0: No SDIO interrupt from card; 1: SDIO interrupt from card."] #[inline(always)] - #[must_use] pub fn sdio_interrupt_raw(&mut self) -> SDIO_INTERRUPT_RAW_W { SDIO_INTERRUPT_RAW_W::new(self, 16) } diff --git a/esp32s3/src/sdhost/rst_n.rs b/esp32s3/src/sdhost/rst_n.rs index c9aee83112..b7bcd3f632 100644 --- a/esp32s3/src/sdhost/rst_n.rs +++ b/esp32s3/src/sdhost/rst_n.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Hardware reset. 1: Active mode; 0: Reset. These bits cause the cards to enter pre-idle state, which requires them to be re-initialized. SDHOST_RST_CARD_RESET\\[0\\] should be set to 1'b0 to reset card0, SDHOST_RST_CARD_RESET\\[1\\] should be set to 1'b0 to reset card1."] #[inline(always)] - #[must_use] pub fn card_reset(&mut self) -> CARD_RESET_W { CARD_RESET_W::new(self, 0) } diff --git a/esp32s3/src/sdhost/tmout.rs b/esp32s3/src/sdhost/tmout.rs index e8c4de9106..8c443976e0 100644 --- a/esp32s3/src/sdhost/tmout.rs +++ b/esp32s3/src/sdhost/tmout.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Response timeout value. Value is specified in terms of number of card output clocks, i.e., sdhost_cclk_out."] #[inline(always)] - #[must_use] pub fn response_timeout(&mut self) -> RESPONSE_TIMEOUT_W { RESPONSE_TIMEOUT_W::new(self, 0) } #[doc = "Bits 8:31 - Value for card data read timeout. This value is also used for data starvation by host timeout. The timeout counter is started only after the card clock is stopped. This value is specified in number of card output clocks, i.e. sdhost_cclk_out of the selected card. NOTE: The software timer should be used if the timeout value is in the order of 100 ms. In this case, read data timeout interrupt needs to be disabled."] #[inline(always)] - #[must_use] pub fn data_timeout(&mut self) -> DATA_TIMEOUT_W { DATA_TIMEOUT_W::new(self, 8) } diff --git a/esp32s3/src/sdhost/uhs.rs b/esp32s3/src/sdhost/uhs.rs index 7ab87510f3..92f0b1c227 100644 --- a/esp32s3/src/sdhost/uhs.rs +++ b/esp32s3/src/sdhost/uhs.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:17 - DDR mode selecton,1 bit for each card. 0-Non-DDR mdoe. 1-DDR mdoe."] #[inline(always)] - #[must_use] pub fn ddr(&mut self) -> DDR_W { DDR_W::new(self, 16) } diff --git a/esp32s3/src/sdhost/usrid.rs b/esp32s3/src/sdhost/usrid.rs index 7a0013604a..ca2811794d 100644 --- a/esp32s3/src/sdhost/usrid.rs +++ b/esp32s3/src/sdhost/usrid.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - User identification register, value set by user. Can also be used as a scratchpad register by user."] #[inline(always)] - #[must_use] pub fn usrid(&mut self) -> USRID_W { USRID_W::new(self, 0) } diff --git a/esp32s3/src/sens/sar_amp_ctrl1.rs b/esp32s3/src/sens/sar_amp_ctrl1.rs index 5a82270150..64e360d88f 100644 --- a/esp32s3/src/sens/sar_amp_ctrl1.rs +++ b/esp32s3/src/sens/sar_amp_ctrl1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - no public"] #[inline(always)] - #[must_use] pub fn sar_amp_wait1(&mut self) -> SAR_AMP_WAIT1_W { SAR_AMP_WAIT1_W::new(self, 0) } #[doc = "Bits 16:31 - no public"] #[inline(always)] - #[must_use] pub fn sar_amp_wait2(&mut self) -> SAR_AMP_WAIT2_W { SAR_AMP_WAIT2_W::new(self, 16) } diff --git a/esp32s3/src/sens/sar_amp_ctrl2.rs b/esp32s3/src/sens/sar_amp_ctrl2.rs index 52a0790af5..d760b0d411 100644 --- a/esp32s3/src/sens/sar_amp_ctrl2.rs +++ b/esp32s3/src/sens/sar_amp_ctrl2.rs @@ -103,25 +103,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - no public"] #[inline(always)] - #[must_use] pub fn sar_sar1_dac_xpd_fsm_idle(&mut self) -> SAR_SAR1_DAC_XPD_FSM_IDLE_W { SAR_SAR1_DAC_XPD_FSM_IDLE_W::new(self, 0) } #[doc = "Bit 1 - no public"] #[inline(always)] - #[must_use] pub fn sar_xpd_sar_amp_fsm_idle(&mut self) -> SAR_XPD_SAR_AMP_FSM_IDLE_W { SAR_XPD_SAR_AMP_FSM_IDLE_W::new(self, 1) } #[doc = "Bit 2 - no public"] #[inline(always)] - #[must_use] pub fn sar_amp_rst_fb_fsm_idle(&mut self) -> SAR_AMP_RST_FB_FSM_IDLE_W { SAR_AMP_RST_FB_FSM_IDLE_W::new(self, 2) } #[doc = "Bit 3 - no public"] #[inline(always)] - #[must_use] pub fn sar_amp_short_ref_fsm_idle( &mut self, ) -> SAR_AMP_SHORT_REF_FSM_IDLE_W { @@ -129,7 +125,6 @@ impl W { } #[doc = "Bit 4 - no public"] #[inline(always)] - #[must_use] pub fn sar_amp_short_ref_gnd_fsm_idle( &mut self, ) -> SAR_AMP_SHORT_REF_GND_FSM_IDLE_W { @@ -137,19 +132,16 @@ impl W { } #[doc = "Bit 5 - no public"] #[inline(always)] - #[must_use] pub fn sar_xpd_sar_fsm_idle(&mut self) -> SAR_XPD_SAR_FSM_IDLE_W { SAR_XPD_SAR_FSM_IDLE_W::new(self, 5) } #[doc = "Bit 6 - no public"] #[inline(always)] - #[must_use] pub fn sar_rstb_fsm_idle(&mut self) -> SAR_RSTB_FSM_IDLE_W { SAR_RSTB_FSM_IDLE_W::new(self, 6) } #[doc = "Bits 16:31 - no public"] #[inline(always)] - #[must_use] pub fn sar_amp_wait3(&mut self) -> SAR_AMP_WAIT3_W { SAR_AMP_WAIT3_W::new(self, 16) } diff --git a/esp32s3/src/sens/sar_amp_ctrl3.rs b/esp32s3/src/sens/sar_amp_ctrl3.rs index 3bd058fe34..a86ac7147d 100644 --- a/esp32s3/src/sens/sar_amp_ctrl3.rs +++ b/esp32s3/src/sens/sar_amp_ctrl3.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - no public"] #[inline(always)] - #[must_use] pub fn sar1_dac_xpd_fsm(&mut self) -> SAR1_DAC_XPD_FSM_W { SAR1_DAC_XPD_FSM_W::new(self, 0) } #[doc = "Bits 4:7 - no public"] #[inline(always)] - #[must_use] pub fn xpd_sar_amp_fsm(&mut self) -> XPD_SAR_AMP_FSM_W { XPD_SAR_AMP_FSM_W::new(self, 4) } #[doc = "Bits 8:11 - no public"] #[inline(always)] - #[must_use] pub fn amp_rst_fb_fsm(&mut self) -> AMP_RST_FB_FSM_W { AMP_RST_FB_FSM_W::new(self, 8) } #[doc = "Bits 12:15 - no public"] #[inline(always)] - #[must_use] pub fn amp_short_ref_fsm(&mut self) -> AMP_SHORT_REF_FSM_W { AMP_SHORT_REF_FSM_W::new(self, 12) } #[doc = "Bits 16:19 - no public"] #[inline(always)] - #[must_use] pub fn amp_short_ref_gnd_fsm(&mut self) -> AMP_SHORT_REF_GND_FSM_W { AMP_SHORT_REF_GND_FSM_W::new(self, 16) } #[doc = "Bits 20:23 - no public"] #[inline(always)] - #[must_use] pub fn xpd_sar_fsm(&mut self) -> XPD_SAR_FSM_W { XPD_SAR_FSM_W::new(self, 20) } #[doc = "Bits 24:27 - no public"] #[inline(always)] - #[must_use] pub fn rstb_fsm(&mut self) -> RSTB_FSM_W { RSTB_FSM_W::new(self, 24) } diff --git a/esp32s3/src/sens/sar_atten1.rs b/esp32s3/src/sens/sar_atten1.rs index 587228e8fa..3f558b1d93 100644 --- a/esp32s3/src/sens/sar_atten1.rs +++ b/esp32s3/src/sens/sar_atten1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - 2-bit attenuation for each pad"] #[inline(always)] - #[must_use] pub fn sar1_atten(&mut self) -> SAR1_ATTEN_W { SAR1_ATTEN_W::new(self, 0) } diff --git a/esp32s3/src/sens/sar_atten2.rs b/esp32s3/src/sens/sar_atten2.rs index 1ede7d1d39..d3d2826570 100644 --- a/esp32s3/src/sens/sar_atten2.rs +++ b/esp32s3/src/sens/sar_atten2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - 2-bit attenuation for each pad"] #[inline(always)] - #[must_use] pub fn sar2_atten(&mut self) -> SAR2_ATTEN_W { SAR2_ATTEN_W::new(self, 0) } diff --git a/esp32s3/src/sens/sar_cocpu_int_clr.rs b/esp32s3/src/sens/sar_cocpu_int_clr.rs index 13aa3b2545..5e49bad6ed 100644 --- a/esp32s3/src/sens/sar_cocpu_int_clr.rs +++ b/esp32s3/src/sens/sar_cocpu_int_clr.rs @@ -33,7 +33,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - int clear of touch done"] #[inline(always)] - #[must_use] pub fn sar_cocpu_touch_done_int_clr( &mut self, ) -> SAR_COCPU_TOUCH_DONE_INT_CLR_W { @@ -41,7 +40,6 @@ impl W { } #[doc = "Bit 1 - int clear of from touch inactive"] #[inline(always)] - #[must_use] pub fn sar_cocpu_touch_inactive_int_clr( &mut self, ) -> SAR_COCPU_TOUCH_INACTIVE_INT_CLR_W { @@ -49,7 +47,6 @@ impl W { } #[doc = "Bit 2 - int clear of touch active"] #[inline(always)] - #[must_use] pub fn sar_cocpu_touch_active_int_clr( &mut self, ) -> SAR_COCPU_TOUCH_ACTIVE_INT_CLR_W { @@ -57,7 +54,6 @@ impl W { } #[doc = "Bit 3 - int clear of from saradc1"] #[inline(always)] - #[must_use] pub fn sar_cocpu_saradc1_int_clr( &mut self, ) -> SAR_COCPU_SARADC1_INT_CLR_W { @@ -65,7 +61,6 @@ impl W { } #[doc = "Bit 4 - int clear of from saradc2"] #[inline(always)] - #[must_use] pub fn sar_cocpu_saradc2_int_clr( &mut self, ) -> SAR_COCPU_SARADC2_INT_CLR_W { @@ -73,31 +68,26 @@ impl W { } #[doc = "Bit 5 - int clear of tsens"] #[inline(always)] - #[must_use] pub fn sar_cocpu_tsens_int_clr(&mut self) -> SAR_COCPU_TSENS_INT_CLR_W { SAR_COCPU_TSENS_INT_CLR_W::new(self, 5) } #[doc = "Bit 6 - int clear of start"] #[inline(always)] - #[must_use] pub fn sar_cocpu_start_int_clr(&mut self) -> SAR_COCPU_START_INT_CLR_W { SAR_COCPU_START_INT_CLR_W::new(self, 6) } #[doc = "Bit 7 - int clear of software"] #[inline(always)] - #[must_use] pub fn sar_cocpu_sw_int_clr(&mut self) -> SAR_COCPU_SW_INT_CLR_W { SAR_COCPU_SW_INT_CLR_W::new(self, 7) } #[doc = "Bit 8 - int clear of super watch dog"] #[inline(always)] - #[must_use] pub fn sar_cocpu_swd_int_clr(&mut self) -> SAR_COCPU_SWD_INT_CLR_W { SAR_COCPU_SWD_INT_CLR_W::new(self, 8) } #[doc = "Bit 9 - int clear of timeout done"] #[inline(always)] - #[must_use] pub fn sar_cocpu_touch_timeout_int_clr( &mut self, ) -> SAR_COCPU_TOUCH_TIMEOUT_INT_CLR_W { @@ -105,7 +95,6 @@ impl W { } #[doc = "Bit 10 - int clear of approach loop done"] #[inline(always)] - #[must_use] pub fn sar_cocpu_touch_approach_loop_done_int_clr( &mut self, ) -> SAR_COCPU_TOUCH_APPROACH_LOOP_DONE_INT_CLR_W { @@ -113,7 +102,6 @@ impl W { } #[doc = "Bit 11 - int clear of touch scan done"] #[inline(always)] - #[must_use] pub fn sar_cocpu_touch_scan_done_int_clr( &mut self, ) -> SAR_COCPU_TOUCH_SCAN_DONE_INT_CLR_W { diff --git a/esp32s3/src/sens/sar_cocpu_int_ena.rs b/esp32s3/src/sens/sar_cocpu_int_ena.rs index 78dedbca4e..89b45f655c 100644 --- a/esp32s3/src/sens/sar_cocpu_int_ena.rs +++ b/esp32s3/src/sens/sar_cocpu_int_ena.rs @@ -160,7 +160,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - int enable of touch done"] #[inline(always)] - #[must_use] pub fn sar_cocpu_touch_done_int_ena( &mut self, ) -> SAR_COCPU_TOUCH_DONE_INT_ENA_W { @@ -168,7 +167,6 @@ impl W { } #[doc = "Bit 1 - int enable of from touch inactive"] #[inline(always)] - #[must_use] pub fn sar_cocpu_touch_inactive_int_ena( &mut self, ) -> SAR_COCPU_TOUCH_INACTIVE_INT_ENA_W { @@ -176,7 +174,6 @@ impl W { } #[doc = "Bit 2 - int enable of touch active"] #[inline(always)] - #[must_use] pub fn sar_cocpu_touch_active_int_ena( &mut self, ) -> SAR_COCPU_TOUCH_ACTIVE_INT_ENA_W { @@ -184,7 +181,6 @@ impl W { } #[doc = "Bit 3 - int enable of from saradc1"] #[inline(always)] - #[must_use] pub fn sar_cocpu_saradc1_int_ena( &mut self, ) -> SAR_COCPU_SARADC1_INT_ENA_W { @@ -192,7 +188,6 @@ impl W { } #[doc = "Bit 4 - int enable of from saradc2"] #[inline(always)] - #[must_use] pub fn sar_cocpu_saradc2_int_ena( &mut self, ) -> SAR_COCPU_SARADC2_INT_ENA_W { @@ -200,31 +195,26 @@ impl W { } #[doc = "Bit 5 - int enable of tsens"] #[inline(always)] - #[must_use] pub fn sar_cocpu_tsens_int_ena(&mut self) -> SAR_COCPU_TSENS_INT_ENA_W { SAR_COCPU_TSENS_INT_ENA_W::new(self, 5) } #[doc = "Bit 6 - int enable of start"] #[inline(always)] - #[must_use] pub fn sar_cocpu_start_int_ena(&mut self) -> SAR_COCPU_START_INT_ENA_W { SAR_COCPU_START_INT_ENA_W::new(self, 6) } #[doc = "Bit 7 - int enable of software"] #[inline(always)] - #[must_use] pub fn sar_cocpu_sw_int_ena(&mut self) -> SAR_COCPU_SW_INT_ENA_W { SAR_COCPU_SW_INT_ENA_W::new(self, 7) } #[doc = "Bit 8 - int enable of super watch dog"] #[inline(always)] - #[must_use] pub fn sar_cocpu_swd_int_ena(&mut self) -> SAR_COCPU_SWD_INT_ENA_W { SAR_COCPU_SWD_INT_ENA_W::new(self, 8) } #[doc = "Bit 9 - int enable of timeout done"] #[inline(always)] - #[must_use] pub fn sar_cocpu_touch_timeout_int_ena( &mut self, ) -> SAR_COCPU_TOUCH_TIMEOUT_INT_ENA_W { @@ -232,7 +222,6 @@ impl W { } #[doc = "Bit 10 - int enable of approach loop done"] #[inline(always)] - #[must_use] pub fn sar_cocpu_touch_approach_loop_done_int_ena( &mut self, ) -> SAR_COCPU_TOUCH_APPROACH_LOOP_DONE_INT_ENA_W { @@ -240,7 +229,6 @@ impl W { } #[doc = "Bit 11 - int enable of touch scan done"] #[inline(always)] - #[must_use] pub fn sar_cocpu_touch_scan_done_int_ena( &mut self, ) -> SAR_COCPU_TOUCH_SCAN_DONE_INT_ENA_W { diff --git a/esp32s3/src/sens/sar_cocpu_int_ena_w1tc.rs b/esp32s3/src/sens/sar_cocpu_int_ena_w1tc.rs index 39c9630079..25cef35016 100644 --- a/esp32s3/src/sens/sar_cocpu_int_ena_w1tc.rs +++ b/esp32s3/src/sens/sar_cocpu_int_ena_w1tc.rs @@ -33,7 +33,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Clear int enable of touch done"] #[inline(always)] - #[must_use] pub fn sar_cocpu_touch_done_int_ena_w1tc( &mut self, ) -> SAR_COCPU_TOUCH_DONE_INT_ENA_W1TC_W { @@ -41,7 +40,6 @@ impl W { } #[doc = "Bit 1 - Clear int enable of from touch inactive"] #[inline(always)] - #[must_use] pub fn sar_cocpu_touch_inactive_int_ena_w1tc( &mut self, ) -> SAR_COCPU_TOUCH_INACTIVE_INT_ENA_W1TC_W { @@ -49,7 +47,6 @@ impl W { } #[doc = "Bit 2 - Clear int enable of touch active"] #[inline(always)] - #[must_use] pub fn sar_cocpu_touch_active_int_ena_w1tc( &mut self, ) -> SAR_COCPU_TOUCH_ACTIVE_INT_ENA_W1TC_W { @@ -57,7 +54,6 @@ impl W { } #[doc = "Bit 3 - Clear int enable of from saradc1"] #[inline(always)] - #[must_use] pub fn sar_cocpu_saradc1_int_ena_w1tc( &mut self, ) -> SAR_COCPU_SARADC1_INT_ENA_W1TC_W { @@ -65,7 +61,6 @@ impl W { } #[doc = "Bit 4 - Clear int enable of from saradc2"] #[inline(always)] - #[must_use] pub fn sar_cocpu_saradc2_int_ena_w1tc( &mut self, ) -> SAR_COCPU_SARADC2_INT_ENA_W1TC_W { @@ -73,7 +68,6 @@ impl W { } #[doc = "Bit 5 - Clear int enable of tsens"] #[inline(always)] - #[must_use] pub fn sar_cocpu_tsens_int_ena_w1tc( &mut self, ) -> SAR_COCPU_TSENS_INT_ENA_W1TC_W { @@ -81,7 +75,6 @@ impl W { } #[doc = "Bit 6 - Clear int enable of start"] #[inline(always)] - #[must_use] pub fn sar_cocpu_start_int_ena_w1tc( &mut self, ) -> SAR_COCPU_START_INT_ENA_W1TC_W { @@ -89,7 +82,6 @@ impl W { } #[doc = "Bit 7 - Clear int enable of software"] #[inline(always)] - #[must_use] pub fn sar_cocpu_sw_int_ena_w1tc( &mut self, ) -> SAR_COCPU_SW_INT_ENA_W1TC_W { @@ -97,7 +89,6 @@ impl W { } #[doc = "Bit 8 - Clear int enable of super watch dog"] #[inline(always)] - #[must_use] pub fn sar_cocpu_swd_int_ena_w1tc( &mut self, ) -> SAR_COCPU_SWD_INT_ENA_W1TC_W { @@ -105,7 +96,6 @@ impl W { } #[doc = "Bit 9 - Clear int enable of timeout done"] #[inline(always)] - #[must_use] pub fn sar_cocpu_touch_timeout_int_ena_w1tc( &mut self, ) -> SAR_COCPU_TOUCH_TIMEOUT_INT_ENA_W1TC_W { @@ -113,7 +103,6 @@ impl W { } #[doc = "Bit 10 - Clear int enable of approach loop done"] #[inline(always)] - #[must_use] pub fn sar_cocpu_touch_approach_loop_done_int_ena_w1tc( &mut self, ) -> SAR_COCPU_TOUCH_APPROACH_LOOP_DONE_INT_ENA_W1TC_W { @@ -121,7 +110,6 @@ impl W { } #[doc = "Bit 11 - Clear int enable of touch scan done"] #[inline(always)] - #[must_use] pub fn sar_cocpu_touch_scan_done_int_ena_w1tc( &mut self, ) -> SAR_COCPU_TOUCH_SCAN_DONE_INT_ENA_W1TC_W { diff --git a/esp32s3/src/sens/sar_cocpu_int_ena_w1ts.rs b/esp32s3/src/sens/sar_cocpu_int_ena_w1ts.rs index 6ebabe92d3..f825ef88a2 100644 --- a/esp32s3/src/sens/sar_cocpu_int_ena_w1ts.rs +++ b/esp32s3/src/sens/sar_cocpu_int_ena_w1ts.rs @@ -33,7 +33,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - int enable of touch done"] #[inline(always)] - #[must_use] pub fn sar_cocpu_touch_done_int_ena_w1ts( &mut self, ) -> SAR_COCPU_TOUCH_DONE_INT_ENA_W1TS_W { @@ -41,7 +40,6 @@ impl W { } #[doc = "Bit 1 - int enable of from touch inactive"] #[inline(always)] - #[must_use] pub fn sar_cocpu_touch_inactive_int_ena_w1ts( &mut self, ) -> SAR_COCPU_TOUCH_INACTIVE_INT_ENA_W1TS_W { @@ -49,7 +47,6 @@ impl W { } #[doc = "Bit 2 - int enable of touch active"] #[inline(always)] - #[must_use] pub fn sar_cocpu_touch_active_int_ena_w1ts( &mut self, ) -> SAR_COCPU_TOUCH_ACTIVE_INT_ENA_W1TS_W { @@ -57,7 +54,6 @@ impl W { } #[doc = "Bit 3 - int enable of from saradc1"] #[inline(always)] - #[must_use] pub fn sar_cocpu_saradc1_int_ena_w1ts( &mut self, ) -> SAR_COCPU_SARADC1_INT_ENA_W1TS_W { @@ -65,7 +61,6 @@ impl W { } #[doc = "Bit 4 - int enable of from saradc2"] #[inline(always)] - #[must_use] pub fn sar_cocpu_saradc2_int_ena_w1ts( &mut self, ) -> SAR_COCPU_SARADC2_INT_ENA_W1TS_W { @@ -73,7 +68,6 @@ impl W { } #[doc = "Bit 5 - int enable of tsens"] #[inline(always)] - #[must_use] pub fn sar_cocpu_tsens_int_ena_w1ts( &mut self, ) -> SAR_COCPU_TSENS_INT_ENA_W1TS_W { @@ -81,7 +75,6 @@ impl W { } #[doc = "Bit 6 - int enable of start"] #[inline(always)] - #[must_use] pub fn sar_cocpu_start_int_ena_w1ts( &mut self, ) -> SAR_COCPU_START_INT_ENA_W1TS_W { @@ -89,7 +82,6 @@ impl W { } #[doc = "Bit 7 - int enable of software"] #[inline(always)] - #[must_use] pub fn sar_cocpu_sw_int_ena_w1ts( &mut self, ) -> SAR_COCPU_SW_INT_ENA_W1TS_W { @@ -97,7 +89,6 @@ impl W { } #[doc = "Bit 8 - int enable of super watch dog"] #[inline(always)] - #[must_use] pub fn sar_cocpu_swd_int_ena_w1ts( &mut self, ) -> SAR_COCPU_SWD_INT_ENA_W1TS_W { @@ -105,7 +96,6 @@ impl W { } #[doc = "Bit 9 - int enable of timeout done"] #[inline(always)] - #[must_use] pub fn sar_cocpu_touch_timeout_int_ena_w1ts( &mut self, ) -> SAR_COCPU_TOUCH_TIMEOUT_INT_ENA_W1TS_W { @@ -113,7 +103,6 @@ impl W { } #[doc = "Bit 10 - int enable of approach loop done"] #[inline(always)] - #[must_use] pub fn sar_cocpu_touch_approach_loop_done_int_ena_w1ts( &mut self, ) -> SAR_COCPU_TOUCH_APPROACH_LOOP_DONE_INT_ENA_W1TS_W { @@ -121,7 +110,6 @@ impl W { } #[doc = "Bit 11 - int enable of touch scan done"] #[inline(always)] - #[must_use] pub fn sar_cocpu_touch_scan_done_int_ena_w1ts( &mut self, ) -> SAR_COCPU_TOUCH_SCAN_DONE_INT_ENA_W1TS_W { diff --git a/esp32s3/src/sens/sar_cocpu_state.rs b/esp32s3/src/sens/sar_cocpu_state.rs index 8ba9d7d43b..2de6a61070 100644 --- a/esp32s3/src/sens/sar_cocpu_state.rs +++ b/esp32s3/src/sens/sar_cocpu_state.rs @@ -56,7 +56,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 25 - trigger cocpu debug registers"] #[inline(always)] - #[must_use] pub fn sar_cocpu_dbg_trigger(&mut self) -> SAR_COCPU_DBG_TRIGGER_W { SAR_COCPU_DBG_TRIGGER_W::new(self, 25) } diff --git a/esp32s3/src/sens/sar_debug_conf.rs b/esp32s3/src/sens/sar_debug_conf.rs index b0e54d623f..722a3fede5 100644 --- a/esp32s3/src/sens/sar_debug_conf.rs +++ b/esp32s3/src/sens/sar_debug_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - no public"] #[inline(always)] - #[must_use] pub fn sar_debug_bit_sel(&mut self) -> SAR_DEBUG_BIT_SEL_W { SAR_DEBUG_BIT_SEL_W::new(self, 0) } diff --git a/esp32s3/src/sens/sar_hall_ctrl.rs b/esp32s3/src/sens/sar_hall_ctrl.rs index 0bdbeb3fbb..814166d27e 100644 --- a/esp32s3/src/sens/sar_hall_ctrl.rs +++ b/esp32s3/src/sens/sar_hall_ctrl.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 28 - Power on hall sensor and connect to VP and VN"] #[inline(always)] - #[must_use] pub fn xpd_hall(&mut self) -> XPD_HALL_W { XPD_HALL_W::new(self, 28) } #[doc = "Bit 29 - 1: XPD HALL is controlled by SW. 0: XPD HALL is controlled by FSM in ULP-coprocessor"] #[inline(always)] - #[must_use] pub fn xpd_hall_force(&mut self) -> XPD_HALL_FORCE_W { XPD_HALL_FORCE_W::new(self, 29) } #[doc = "Bit 30 - Reverse phase of hall sensor"] #[inline(always)] - #[must_use] pub fn hall_phase(&mut self) -> HALL_PHASE_W { HALL_PHASE_W::new(self, 30) } #[doc = "Bit 31 - 1: HALL PHASE is controlled by SW 0: HALL PHASE is controlled by FSM in ULP-coprocessor"] #[inline(always)] - #[must_use] pub fn hall_phase_force(&mut self) -> HALL_PHASE_FORCE_W { HALL_PHASE_FORCE_W::new(self, 31) } diff --git a/esp32s3/src/sens/sar_i2c_ctrl.rs b/esp32s3/src/sens/sar_i2c_ctrl.rs index 5d1b0c41c1..26c5277a54 100644 --- a/esp32s3/src/sens/sar_i2c_ctrl.rs +++ b/esp32s3/src/sens/sar_i2c_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - I2C control data only active when reg_sar_i2c_start_force = 1"] #[inline(always)] - #[must_use] pub fn sar_i2c_ctrl(&mut self) -> SAR_I2C_CTRL_W { SAR_I2C_CTRL_W::new(self, 0) } #[doc = "Bit 28 - start I2C only active when reg_sar_i2c_start_force = 1"] #[inline(always)] - #[must_use] pub fn sar_i2c_start(&mut self) -> SAR_I2C_START_W { SAR_I2C_START_W::new(self, 28) } #[doc = "Bit 29 - 1: I2C started by SW 0: I2C started by FSM"] #[inline(always)] - #[must_use] pub fn sar_i2c_start_force(&mut self) -> SAR_I2C_START_FORCE_W { SAR_I2C_START_FORCE_W::new(self, 29) } diff --git a/esp32s3/src/sens/sar_meas1_ctrl1.rs b/esp32s3/src/sens/sar_meas1_ctrl1.rs index 994073d4d1..506a94d702 100644 --- a/esp32s3/src/sens/sar_meas1_ctrl1.rs +++ b/esp32s3/src/sens/sar_meas1_ctrl1.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 24:25 - no public"] #[inline(always)] - #[must_use] pub fn force_xpd_amp(&mut self) -> FORCE_XPD_AMP_W { FORCE_XPD_AMP_W::new(self, 24) } #[doc = "Bits 26:27 - no public"] #[inline(always)] - #[must_use] pub fn amp_rst_fb_force(&mut self) -> AMP_RST_FB_FORCE_W { AMP_RST_FB_FORCE_W::new(self, 26) } #[doc = "Bits 28:29 - no public"] #[inline(always)] - #[must_use] pub fn amp_short_ref_force(&mut self) -> AMP_SHORT_REF_FORCE_W { AMP_SHORT_REF_FORCE_W::new(self, 28) } #[doc = "Bits 30:31 - no public"] #[inline(always)] - #[must_use] pub fn amp_short_ref_gnd_force(&mut self) -> AMP_SHORT_REF_GND_FORCE_W { AMP_SHORT_REF_GND_FORCE_W::new(self, 30) } diff --git a/esp32s3/src/sens/sar_meas1_ctrl2.rs b/esp32s3/src/sens/sar_meas1_ctrl2.rs index 8ffb43a6db..01338847b6 100644 --- a/esp32s3/src/sens/sar_meas1_ctrl2.rs +++ b/esp32s3/src/sens/sar_meas1_ctrl2.rs @@ -70,25 +70,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 17 - SAR ADC1 controller (in RTC) starts conversion"] #[inline(always)] - #[must_use] pub fn meas1_start_sar(&mut self) -> MEAS1_START_SAR_W { MEAS1_START_SAR_W::new(self, 17) } #[doc = "Bit 18 - 1: SAR ADC1 controller (in RTC) is started by SW"] #[inline(always)] - #[must_use] pub fn meas1_start_force(&mut self) -> MEAS1_START_FORCE_W { MEAS1_START_FORCE_W::new(self, 18) } #[doc = "Bits 19:30 - SAR ADC1 pad enable bitmap"] #[inline(always)] - #[must_use] pub fn sar1_en_pad(&mut self) -> SAR1_EN_PAD_W { SAR1_EN_PAD_W::new(self, 19) } #[doc = "Bit 31 - 1: SAR ADC1 pad enable bitmap is controlled by SW"] #[inline(always)] - #[must_use] pub fn sar1_en_pad_force(&mut self) -> SAR1_EN_PAD_FORCE_W { SAR1_EN_PAD_FORCE_W::new(self, 31) } diff --git a/esp32s3/src/sens/sar_meas1_mux.rs b/esp32s3/src/sens/sar_meas1_mux.rs index d97f65e6d6..bf934e2c22 100644 --- a/esp32s3/src/sens/sar_meas1_mux.rs +++ b/esp32s3/src/sens/sar_meas1_mux.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - 1: SAR ADC1 controlled by DIG ADC1 CTRL"] #[inline(always)] - #[must_use] pub fn sar1_dig_force(&mut self) -> SAR1_DIG_FORCE_W { SAR1_DIG_FORCE_W::new(self, 31) } diff --git a/esp32s3/src/sens/sar_meas2_ctrl1.rs b/esp32s3/src/sens/sar_meas2_ctrl1.rs index 4550528888..59d23a2ec5 100644 --- a/esp32s3/src/sens/sar_meas2_ctrl1.rs +++ b/esp32s3/src/sens/sar_meas2_ctrl1.rs @@ -92,43 +92,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - rtc control pwdet enable"] #[inline(always)] - #[must_use] pub fn sar_sar2_pwdet_cal_en(&mut self) -> SAR_SAR2_PWDET_CAL_EN_W { SAR_SAR2_PWDET_CAL_EN_W::new(self, 3) } #[doc = "Bit 4 - rtc control pkdet enable"] #[inline(always)] - #[must_use] pub fn sar_sar2_pkdet_cal_en(&mut self) -> SAR_SAR2_PKDET_CAL_EN_W { SAR_SAR2_PKDET_CAL_EN_W::new(self, 4) } #[doc = "Bit 5 - SAR2_EN_TEST"] #[inline(always)] - #[must_use] pub fn sar_sar2_en_test(&mut self) -> SAR_SAR2_EN_TEST_W { SAR_SAR2_EN_TEST_W::new(self, 5) } #[doc = "Bits 6:7 - no public"] #[inline(always)] - #[must_use] pub fn sar_sar2_rstb_force(&mut self) -> SAR_SAR2_RSTB_FORCE_W { SAR_SAR2_RSTB_FORCE_W::new(self, 6) } #[doc = "Bits 8:15 - no public"] #[inline(always)] - #[must_use] pub fn sar_sar2_standby_wait(&mut self) -> SAR_SAR2_STANDBY_WAIT_W { SAR_SAR2_STANDBY_WAIT_W::new(self, 8) } #[doc = "Bits 16:23 - no public"] #[inline(always)] - #[must_use] pub fn sar_sar2_rstb_wait(&mut self) -> SAR_SAR2_RSTB_WAIT_W { SAR_SAR2_RSTB_WAIT_W::new(self, 16) } #[doc = "Bits 24:31 - no public"] #[inline(always)] - #[must_use] pub fn sar_sar2_xpd_wait(&mut self) -> SAR_SAR2_XPD_WAIT_W { SAR_SAR2_XPD_WAIT_W::new(self, 24) } diff --git a/esp32s3/src/sens/sar_meas2_ctrl2.rs b/esp32s3/src/sens/sar_meas2_ctrl2.rs index 6041977a04..7d17c051f2 100644 --- a/esp32s3/src/sens/sar_meas2_ctrl2.rs +++ b/esp32s3/src/sens/sar_meas2_ctrl2.rs @@ -70,25 +70,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 17 - SAR ADC2 controller (in RTC) starts conversion"] #[inline(always)] - #[must_use] pub fn meas2_start_sar(&mut self) -> MEAS2_START_SAR_W { MEAS2_START_SAR_W::new(self, 17) } #[doc = "Bit 18 - 1: SAR ADC2 controller (in RTC) is started by SW"] #[inline(always)] - #[must_use] pub fn meas2_start_force(&mut self) -> MEAS2_START_FORCE_W { MEAS2_START_FORCE_W::new(self, 18) } #[doc = "Bits 19:30 - SAR ADC2 pad enable bitmap"] #[inline(always)] - #[must_use] pub fn sar2_en_pad(&mut self) -> SAR2_EN_PAD_W { SAR2_EN_PAD_W::new(self, 19) } #[doc = "Bit 31 - 1: SAR ADC2 pad enable bitmap is controlled by SW"] #[inline(always)] - #[must_use] pub fn sar2_en_pad_force(&mut self) -> SAR2_EN_PAD_FORCE_W { SAR2_EN_PAD_FORCE_W::new(self, 31) } diff --git a/esp32s3/src/sens/sar_meas2_mux.rs b/esp32s3/src/sens/sar_meas2_mux.rs index 6dc3624190..2b77991769 100644 --- a/esp32s3/src/sens/sar_meas2_mux.rs +++ b/esp32s3/src/sens/sar_meas2_mux.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 28:30 - SAR2_PWDET_CCT"] #[inline(always)] - #[must_use] pub fn sar2_pwdet_cct(&mut self) -> SAR2_PWDET_CCT_W { SAR2_PWDET_CCT_W::new(self, 28) } #[doc = "Bit 31 - in sleep, force to use rtc to control ADC"] #[inline(always)] - #[must_use] pub fn sar2_rtc_force(&mut self) -> SAR2_RTC_FORCE_W { SAR2_RTC_FORCE_W::new(self, 31) } diff --git a/esp32s3/src/sens/sar_nouse.rs b/esp32s3/src/sens/sar_nouse.rs index 541df17732..e5e072782a 100644 --- a/esp32s3/src/sens/sar_nouse.rs +++ b/esp32s3/src/sens/sar_nouse.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - no public"] #[inline(always)] - #[must_use] pub fn sar_nouse(&mut self) -> SAR_NOUSE_W { SAR_NOUSE_W::new(self, 0) } diff --git a/esp32s3/src/sens/sar_peri_clk_gate_conf.rs b/esp32s3/src/sens/sar_peri_clk_gate_conf.rs index 4a2aa1fe7c..748cbdff8a 100644 --- a/esp32s3/src/sens/sar_peri_clk_gate_conf.rs +++ b/esp32s3/src/sens/sar_peri_clk_gate_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 27 - enable rtc i2c clock"] #[inline(always)] - #[must_use] pub fn rtc_i2c_clk_en(&mut self) -> RTC_I2C_CLK_EN_W { RTC_I2C_CLK_EN_W::new(self, 27) } #[doc = "Bit 29 - enable tsens clock"] #[inline(always)] - #[must_use] pub fn tsens_clk_en(&mut self) -> TSENS_CLK_EN_W { TSENS_CLK_EN_W::new(self, 29) } #[doc = "Bit 30 - enbale saradc clock"] #[inline(always)] - #[must_use] pub fn saradc_clk_en(&mut self) -> SARADC_CLK_EN_W { SARADC_CLK_EN_W::new(self, 30) } #[doc = "Bit 31 - enable io_mux clock"] #[inline(always)] - #[must_use] pub fn iomux_clk_en(&mut self) -> IOMUX_CLK_EN_W { IOMUX_CLK_EN_W::new(self, 31) } diff --git a/esp32s3/src/sens/sar_peri_reset_conf.rs b/esp32s3/src/sens/sar_peri_reset_conf.rs index 420be3f160..d81ffa385f 100644 --- a/esp32s3/src/sens/sar_peri_reset_conf.rs +++ b/esp32s3/src/sens/sar_peri_reset_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 25 - enable ulp-riscv reset"] #[inline(always)] - #[must_use] pub fn sar_cocpu_reset(&mut self) -> SAR_COCPU_RESET_W { SAR_COCPU_RESET_W::new(self, 25) } #[doc = "Bit 27 - Reserved."] #[inline(always)] - #[must_use] pub fn sar_rtc_i2c_reset(&mut self) -> SAR_RTC_I2C_RESET_W { SAR_RTC_I2C_RESET_W::new(self, 27) } #[doc = "Bit 29 - enbale saradc reset"] #[inline(always)] - #[must_use] pub fn sar_tsens_reset(&mut self) -> SAR_TSENS_RESET_W { SAR_TSENS_RESET_W::new(self, 29) } #[doc = "Bit 30 - enable io_mux reset"] #[inline(always)] - #[must_use] pub fn sar_saradc_reset(&mut self) -> SAR_SARADC_RESET_W { SAR_SARADC_RESET_W::new(self, 30) } diff --git a/esp32s3/src/sens/sar_power_xpd_sar.rs b/esp32s3/src/sens/sar_power_xpd_sar.rs index 135d0f842c..87c70c94b2 100644 --- a/esp32s3/src/sens/sar_power_xpd_sar.rs +++ b/esp32s3/src/sens/sar_power_xpd_sar.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 29:30 - force power on/off saradc"] #[inline(always)] - #[must_use] pub fn force_xpd_sar(&mut self) -> FORCE_XPD_SAR_W { FORCE_XPD_SAR_W::new(self, 29) } #[doc = "Bit 31 - no public"] #[inline(always)] - #[must_use] pub fn sarclk_en(&mut self) -> SARCLK_EN_W { SARCLK_EN_W::new(self, 31) } diff --git a/esp32s3/src/sens/sar_reader1_ctrl.rs b/esp32s3/src/sens/sar_reader1_ctrl.rs index b8590371aa..17578583f4 100644 --- a/esp32s3/src/sens/sar_reader1_ctrl.rs +++ b/esp32s3/src/sens/sar_reader1_ctrl.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - clock divider"] #[inline(always)] - #[must_use] pub fn sar_sar1_clk_div(&mut self) -> SAR_SAR1_CLK_DIV_W { SAR_SAR1_CLK_DIV_W::new(self, 0) } #[doc = "Bit 18 - no public"] #[inline(always)] - #[must_use] pub fn sar_sar1_clk_gated(&mut self) -> SAR_SAR1_CLK_GATED_W { SAR_SAR1_CLK_GATED_W::new(self, 18) } #[doc = "Bits 19:26 - no public"] #[inline(always)] - #[must_use] pub fn sar_sar1_sample_num(&mut self) -> SAR_SAR1_SAMPLE_NUM_W { SAR_SAR1_SAMPLE_NUM_W::new(self, 19) } #[doc = "Bit 28 - Invert SAR ADC1 data"] #[inline(always)] - #[must_use] pub fn sar_sar1_data_inv(&mut self) -> SAR_SAR1_DATA_INV_W { SAR_SAR1_DATA_INV_W::new(self, 28) } #[doc = "Bit 29 - enable saradc1 to send out interrupt"] #[inline(always)] - #[must_use] pub fn sar_sar1_int_en(&mut self) -> SAR_SAR1_INT_EN_W { SAR_SAR1_INT_EN_W::new(self, 29) } diff --git a/esp32s3/src/sens/sar_reader2_ctrl.rs b/esp32s3/src/sens/sar_reader2_ctrl.rs index 9947adabc6..eaa20e055b 100644 --- a/esp32s3/src/sens/sar_reader2_ctrl.rs +++ b/esp32s3/src/sens/sar_reader2_ctrl.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - clock divider"] #[inline(always)] - #[must_use] pub fn sar_sar2_clk_div(&mut self) -> SAR_SAR2_CLK_DIV_W { SAR_SAR2_CLK_DIV_W::new(self, 0) } #[doc = "Bits 16:17 - wait arbit stable after sar_done"] #[inline(always)] - #[must_use] pub fn sar_sar2_wait_arb_cycle(&mut self) -> SAR_SAR2_WAIT_ARB_CYCLE_W { SAR_SAR2_WAIT_ARB_CYCLE_W::new(self, 16) } #[doc = "Bit 18 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn sar_sar2_clk_gated(&mut self) -> SAR_SAR2_CLK_GATED_W { SAR_SAR2_CLK_GATED_W::new(self, 18) } #[doc = "Bits 19:26 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn sar_sar2_sample_num(&mut self) -> SAR_SAR2_SAMPLE_NUM_W { SAR_SAR2_SAMPLE_NUM_W::new(self, 19) } #[doc = "Bit 29 - Invert SAR ADC2 data"] #[inline(always)] - #[must_use] pub fn sar_sar2_data_inv(&mut self) -> SAR_SAR2_DATA_INV_W { SAR_SAR2_DATA_INV_W::new(self, 29) } #[doc = "Bit 30 - enable saradc2 to send out interrupt"] #[inline(always)] - #[must_use] pub fn sar_sar2_int_en(&mut self) -> SAR_SAR2_INT_EN_W { SAR_SAR2_INT_EN_W::new(self, 30) } diff --git a/esp32s3/src/sens/sar_sardate.rs b/esp32s3/src/sens/sar_sardate.rs index 5a66c04f8e..25a80520de 100644 --- a/esp32s3/src/sens/sar_sardate.rs +++ b/esp32s3/src/sens/sar_sardate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - version"] #[inline(always)] - #[must_use] pub fn sar_date(&mut self) -> SAR_DATE_W { SAR_DATE_W::new(self, 0) } diff --git a/esp32s3/src/sens/sar_slave_addr1.rs b/esp32s3/src/sens/sar_slave_addr1.rs index 2c41c0e27c..340182ae9d 100644 --- a/esp32s3/src/sens/sar_slave_addr1.rs +++ b/esp32s3/src/sens/sar_slave_addr1.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - configure i2c slave address1"] #[inline(always)] - #[must_use] pub fn sar_i2c_slave_addr1(&mut self) -> SAR_I2C_SLAVE_ADDR1_W { SAR_I2C_SLAVE_ADDR1_W::new(self, 0) } #[doc = "Bits 11:21 - configure i2c slave address0"] #[inline(always)] - #[must_use] pub fn sar_i2c_slave_addr0(&mut self) -> SAR_I2C_SLAVE_ADDR0_W { SAR_I2C_SLAVE_ADDR0_W::new(self, 11) } diff --git a/esp32s3/src/sens/sar_slave_addr2.rs b/esp32s3/src/sens/sar_slave_addr2.rs index 23064f2b03..826eefdc0c 100644 --- a/esp32s3/src/sens/sar_slave_addr2.rs +++ b/esp32s3/src/sens/sar_slave_addr2.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - configure i2c slave address3"] #[inline(always)] - #[must_use] pub fn sar_i2c_slave_addr3(&mut self) -> SAR_I2C_SLAVE_ADDR3_W { SAR_I2C_SLAVE_ADDR3_W::new(self, 0) } #[doc = "Bits 11:21 - configure i2c slave address2"] #[inline(always)] - #[must_use] pub fn sar_i2c_slave_addr2(&mut self) -> SAR_I2C_SLAVE_ADDR2_W { SAR_I2C_SLAVE_ADDR2_W::new(self, 11) } diff --git a/esp32s3/src/sens/sar_slave_addr3.rs b/esp32s3/src/sens/sar_slave_addr3.rs index 7c9d636f59..8931ebd411 100644 --- a/esp32s3/src/sens/sar_slave_addr3.rs +++ b/esp32s3/src/sens/sar_slave_addr3.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - configure i2c slave address5"] #[inline(always)] - #[must_use] pub fn sar_i2c_slave_addr5(&mut self) -> SAR_I2C_SLAVE_ADDR5_W { SAR_I2C_SLAVE_ADDR5_W::new(self, 0) } #[doc = "Bits 11:21 - configure i2c slave address4"] #[inline(always)] - #[must_use] pub fn sar_i2c_slave_addr4(&mut self) -> SAR_I2C_SLAVE_ADDR4_W { SAR_I2C_SLAVE_ADDR4_W::new(self, 11) } diff --git a/esp32s3/src/sens/sar_slave_addr4.rs b/esp32s3/src/sens/sar_slave_addr4.rs index d5c776a657..600cda2068 100644 --- a/esp32s3/src/sens/sar_slave_addr4.rs +++ b/esp32s3/src/sens/sar_slave_addr4.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - configure i2c slave address7"] #[inline(always)] - #[must_use] pub fn sar_i2c_slave_addr7(&mut self) -> SAR_I2C_SLAVE_ADDR7_W { SAR_I2C_SLAVE_ADDR7_W::new(self, 0) } #[doc = "Bits 11:21 - configure i2c slave address6"] #[inline(always)] - #[must_use] pub fn sar_i2c_slave_addr6(&mut self) -> SAR_I2C_SLAVE_ADDR6_W { SAR_I2C_SLAVE_ADDR6_W::new(self, 11) } diff --git a/esp32s3/src/sens/sar_touch_chn_st.rs b/esp32s3/src/sens/sar_touch_chn_st.rs index 7eba168afa..7feb715004 100644 --- a/esp32s3/src/sens/sar_touch_chn_st.rs +++ b/esp32s3/src/sens/sar_touch_chn_st.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 15:29 - Clear touch channel"] #[inline(always)] - #[must_use] pub fn sar_touch_channel_clr(&mut self) -> SAR_TOUCH_CHANNEL_CLR_W { SAR_TOUCH_CHANNEL_CLR_W::new(self, 15) } diff --git a/esp32s3/src/sens/sar_touch_conf.rs b/esp32s3/src/sens/sar_touch_conf.rs index 69d6408e62..df8197c3dd 100644 --- a/esp32s3/src/sens/sar_touch_conf.rs +++ b/esp32s3/src/sens/sar_touch_conf.rs @@ -82,37 +82,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:14 - touch controller output enable"] #[inline(always)] - #[must_use] pub fn sar_touch_outen(&mut self) -> SAR_TOUCH_OUTEN_W { SAR_TOUCH_OUTEN_W::new(self, 0) } #[doc = "Bit 15 - clear all touch active status"] #[inline(always)] - #[must_use] pub fn sar_touch_status_clr(&mut self) -> SAR_TOUCH_STATUS_CLR_W { SAR_TOUCH_STATUS_CLR_W::new(self, 15) } #[doc = "Bits 16:17 - 3: smooth data 2: baseline 1,0: raw_data"] #[inline(always)] - #[must_use] pub fn sar_touch_data_sel(&mut self) -> SAR_TOUCH_DATA_SEL_W { SAR_TOUCH_DATA_SEL_W::new(self, 16) } #[doc = "Bits 20:23 - indicate which pad is approach pad2"] #[inline(always)] - #[must_use] pub fn sar_touch_approach_pad2(&mut self) -> SAR_TOUCH_APPROACH_PAD2_W { SAR_TOUCH_APPROACH_PAD2_W::new(self, 20) } #[doc = "Bits 24:27 - indicate which pad is approach pad1"] #[inline(always)] - #[must_use] pub fn sar_touch_approach_pad1(&mut self) -> SAR_TOUCH_APPROACH_PAD1_W { SAR_TOUCH_APPROACH_PAD1_W::new(self, 24) } #[doc = "Bits 28:31 - indicate which pad is approach pad0"] #[inline(always)] - #[must_use] pub fn sar_touch_approach_pad0(&mut self) -> SAR_TOUCH_APPROACH_PAD0_W { SAR_TOUCH_APPROACH_PAD0_W::new(self, 28) } diff --git a/esp32s3/src/sens/sar_touch_thres1.rs b/esp32s3/src/sens/sar_touch_thres1.rs index 5c26448023..66bd0310d9 100644 --- a/esp32s3/src/sens/sar_touch_thres1.rs +++ b/esp32s3/src/sens/sar_touch_thres1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - Finger threshold for touch pad 1"] #[inline(always)] - #[must_use] pub fn sar_touch_out_th1(&mut self) -> SAR_TOUCH_OUT_TH1_W { SAR_TOUCH_OUT_TH1_W::new(self, 0) } diff --git a/esp32s3/src/sens/sar_touch_thres10.rs b/esp32s3/src/sens/sar_touch_thres10.rs index 30ac1df630..64cd14ceba 100644 --- a/esp32s3/src/sens/sar_touch_thres10.rs +++ b/esp32s3/src/sens/sar_touch_thres10.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - Finger threshold for touch pad 10"] #[inline(always)] - #[must_use] pub fn sar_touch_out_th10(&mut self) -> SAR_TOUCH_OUT_TH10_W { SAR_TOUCH_OUT_TH10_W::new(self, 0) } diff --git a/esp32s3/src/sens/sar_touch_thres11.rs b/esp32s3/src/sens/sar_touch_thres11.rs index d3f69aac90..a13a4eb7f0 100644 --- a/esp32s3/src/sens/sar_touch_thres11.rs +++ b/esp32s3/src/sens/sar_touch_thres11.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - Finger threshold for touch pad 11"] #[inline(always)] - #[must_use] pub fn sar_touch_out_th11(&mut self) -> SAR_TOUCH_OUT_TH11_W { SAR_TOUCH_OUT_TH11_W::new(self, 0) } diff --git a/esp32s3/src/sens/sar_touch_thres12.rs b/esp32s3/src/sens/sar_touch_thres12.rs index 0b6a0831d0..c063d8fbd0 100644 --- a/esp32s3/src/sens/sar_touch_thres12.rs +++ b/esp32s3/src/sens/sar_touch_thres12.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - Finger threshold for touch pad 12"] #[inline(always)] - #[must_use] pub fn sar_touch_out_th12(&mut self) -> SAR_TOUCH_OUT_TH12_W { SAR_TOUCH_OUT_TH12_W::new(self, 0) } diff --git a/esp32s3/src/sens/sar_touch_thres13.rs b/esp32s3/src/sens/sar_touch_thres13.rs index 928daf0a67..05b33033a7 100644 --- a/esp32s3/src/sens/sar_touch_thres13.rs +++ b/esp32s3/src/sens/sar_touch_thres13.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - Finger threshold for touch pad 13"] #[inline(always)] - #[must_use] pub fn sar_touch_out_th13(&mut self) -> SAR_TOUCH_OUT_TH13_W { SAR_TOUCH_OUT_TH13_W::new(self, 0) } diff --git a/esp32s3/src/sens/sar_touch_thres14.rs b/esp32s3/src/sens/sar_touch_thres14.rs index 6c79dd92f3..62bd7205f2 100644 --- a/esp32s3/src/sens/sar_touch_thres14.rs +++ b/esp32s3/src/sens/sar_touch_thres14.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - Finger threshold for touch pad 14"] #[inline(always)] - #[must_use] pub fn sar_touch_out_th14(&mut self) -> SAR_TOUCH_OUT_TH14_W { SAR_TOUCH_OUT_TH14_W::new(self, 0) } diff --git a/esp32s3/src/sens/sar_touch_thres2.rs b/esp32s3/src/sens/sar_touch_thres2.rs index 6ebdc10d44..8657a12b6f 100644 --- a/esp32s3/src/sens/sar_touch_thres2.rs +++ b/esp32s3/src/sens/sar_touch_thres2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - Finger threshold for touch pad 2"] #[inline(always)] - #[must_use] pub fn sar_touch_out_th2(&mut self) -> SAR_TOUCH_OUT_TH2_W { SAR_TOUCH_OUT_TH2_W::new(self, 0) } diff --git a/esp32s3/src/sens/sar_touch_thres3.rs b/esp32s3/src/sens/sar_touch_thres3.rs index 6aa732cf4f..b2f17bf08c 100644 --- a/esp32s3/src/sens/sar_touch_thres3.rs +++ b/esp32s3/src/sens/sar_touch_thres3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - Finger threshold for touch pad 3"] #[inline(always)] - #[must_use] pub fn sar_touch_out_th3(&mut self) -> SAR_TOUCH_OUT_TH3_W { SAR_TOUCH_OUT_TH3_W::new(self, 0) } diff --git a/esp32s3/src/sens/sar_touch_thres4.rs b/esp32s3/src/sens/sar_touch_thres4.rs index f9184d6608..6a7d7f2ee5 100644 --- a/esp32s3/src/sens/sar_touch_thres4.rs +++ b/esp32s3/src/sens/sar_touch_thres4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - Finger threshold for touch pad 4"] #[inline(always)] - #[must_use] pub fn sar_touch_out_th4(&mut self) -> SAR_TOUCH_OUT_TH4_W { SAR_TOUCH_OUT_TH4_W::new(self, 0) } diff --git a/esp32s3/src/sens/sar_touch_thres5.rs b/esp32s3/src/sens/sar_touch_thres5.rs index 40dc624f95..580bf220e1 100644 --- a/esp32s3/src/sens/sar_touch_thres5.rs +++ b/esp32s3/src/sens/sar_touch_thres5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - Finger threshold for touch pad 5"] #[inline(always)] - #[must_use] pub fn sar_touch_out_th5(&mut self) -> SAR_TOUCH_OUT_TH5_W { SAR_TOUCH_OUT_TH5_W::new(self, 0) } diff --git a/esp32s3/src/sens/sar_touch_thres6.rs b/esp32s3/src/sens/sar_touch_thres6.rs index 718536c5f5..04c3893367 100644 --- a/esp32s3/src/sens/sar_touch_thres6.rs +++ b/esp32s3/src/sens/sar_touch_thres6.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - Finger threshold for touch pad 6"] #[inline(always)] - #[must_use] pub fn sar_touch_out_th6(&mut self) -> SAR_TOUCH_OUT_TH6_W { SAR_TOUCH_OUT_TH6_W::new(self, 0) } diff --git a/esp32s3/src/sens/sar_touch_thres7.rs b/esp32s3/src/sens/sar_touch_thres7.rs index f216510a1a..a947cb3199 100644 --- a/esp32s3/src/sens/sar_touch_thres7.rs +++ b/esp32s3/src/sens/sar_touch_thres7.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - Finger threshold for touch pad 7"] #[inline(always)] - #[must_use] pub fn sar_touch_out_th7(&mut self) -> SAR_TOUCH_OUT_TH7_W { SAR_TOUCH_OUT_TH7_W::new(self, 0) } diff --git a/esp32s3/src/sens/sar_touch_thres8.rs b/esp32s3/src/sens/sar_touch_thres8.rs index 31e8e84f40..5ecc8683c2 100644 --- a/esp32s3/src/sens/sar_touch_thres8.rs +++ b/esp32s3/src/sens/sar_touch_thres8.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - Finger threshold for touch pad 8"] #[inline(always)] - #[must_use] pub fn sar_touch_out_th8(&mut self) -> SAR_TOUCH_OUT_TH8_W { SAR_TOUCH_OUT_TH8_W::new(self, 0) } diff --git a/esp32s3/src/sens/sar_touch_thres9.rs b/esp32s3/src/sens/sar_touch_thres9.rs index 072d7c5a84..d560270ef7 100644 --- a/esp32s3/src/sens/sar_touch_thres9.rs +++ b/esp32s3/src/sens/sar_touch_thres9.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - Finger threshold for touch pad 9"] #[inline(always)] - #[must_use] pub fn sar_touch_out_th9(&mut self) -> SAR_TOUCH_OUT_TH9_W { SAR_TOUCH_OUT_TH9_W::new(self, 0) } diff --git a/esp32s3/src/sens/sar_tsens_ctrl.rs b/esp32s3/src/sens/sar_tsens_ctrl.rs index 944bec3034..54fc44f8ae 100644 --- a/esp32s3/src/sens/sar_tsens_ctrl.rs +++ b/esp32s3/src/sens/sar_tsens_ctrl.rs @@ -22,9 +22,9 @@ pub type SAR_TSENS_CLK_DIV_W<'a, REG> = crate::FieldWriter<'a, REG, 8>; pub type SAR_TSENS_POWER_UP_R = crate::BitReader; #[doc = "Field `SAR_TSENS_POWER_UP` writer - temperature sensor power up"] pub type SAR_TSENS_POWER_UP_W<'a, REG> = crate::BitWriter<'a, REG>; -#[doc = "Field `SAR_TSENS_POWER_UP_FORCE` reader - 1: dump out & power up controlled by SW 0: by FSM"] +#[doc = "Field `SAR_TSENS_POWER_UP_FORCE` reader - 1: dump out & power up controlled by SW 0: by FSM"] pub type SAR_TSENS_POWER_UP_FORCE_R = crate::BitReader; -#[doc = "Field `SAR_TSENS_POWER_UP_FORCE` writer - 1: dump out & power up controlled by SW 0: by FSM"] +#[doc = "Field `SAR_TSENS_POWER_UP_FORCE` writer - 1: dump out & power up controlled by SW 0: by FSM"] pub type SAR_TSENS_POWER_UP_FORCE_W<'a, REG> = crate::BitWriter<'a, REG>; #[doc = "Field `SAR_TSENS_DUMP_OUT` reader - temperature sensor dump out only active when reg_tsens_power_up_force = 1"] pub type SAR_TSENS_DUMP_OUT_R = crate::BitReader; @@ -61,7 +61,7 @@ impl R { pub fn sar_tsens_power_up(&self) -> SAR_TSENS_POWER_UP_R { SAR_TSENS_POWER_UP_R::new(((self.bits >> 22) & 1) != 0) } - #[doc = "Bit 23 - 1: dump out & power up controlled by SW 0: by FSM"] + #[doc = "Bit 23 - 1: dump out & power up controlled by SW 0: by FSM"] #[inline(always)] pub fn sar_tsens_power_up_force(&self) -> SAR_TSENS_POWER_UP_FORCE_R { SAR_TSENS_POWER_UP_FORCE_R::new(((self.bits >> 23) & 1) != 0) @@ -90,37 +90,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - enable temperature sensor to send out interrupt"] #[inline(always)] - #[must_use] pub fn sar_tsens_int_en(&mut self) -> SAR_TSENS_INT_EN_W { SAR_TSENS_INT_EN_W::new(self, 12) } #[doc = "Bit 13 - invert temperature sensor data"] #[inline(always)] - #[must_use] pub fn sar_tsens_in_inv(&mut self) -> SAR_TSENS_IN_INV_W { SAR_TSENS_IN_INV_W::new(self, 13) } #[doc = "Bits 14:21 - temperature sensor clock divider"] #[inline(always)] - #[must_use] pub fn sar_tsens_clk_div(&mut self) -> SAR_TSENS_CLK_DIV_W { SAR_TSENS_CLK_DIV_W::new(self, 14) } #[doc = "Bit 22 - temperature sensor power up"] #[inline(always)] - #[must_use] pub fn sar_tsens_power_up(&mut self) -> SAR_TSENS_POWER_UP_W { SAR_TSENS_POWER_UP_W::new(self, 22) } - #[doc = "Bit 23 - 1: dump out & power up controlled by SW 0: by FSM"] + #[doc = "Bit 23 - 1: dump out & power up controlled by SW 0: by FSM"] #[inline(always)] - #[must_use] pub fn sar_tsens_power_up_force(&mut self) -> SAR_TSENS_POWER_UP_FORCE_W { SAR_TSENS_POWER_UP_FORCE_W::new(self, 23) } #[doc = "Bit 24 - temperature sensor dump out only active when reg_tsens_power_up_force = 1"] #[inline(always)] - #[must_use] pub fn sar_tsens_dump_out(&mut self) -> SAR_TSENS_DUMP_OUT_W { SAR_TSENS_DUMP_OUT_W::new(self, 24) } diff --git a/esp32s3/src/sens/sar_tsens_ctrl2.rs b/esp32s3/src/sens/sar_tsens_ctrl2.rs index 6a04917766..8eaa336a2a 100644 --- a/esp32s3/src/sens/sar_tsens_ctrl2.rs +++ b/esp32s3/src/sens/sar_tsens_ctrl2.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - no public"] #[inline(always)] - #[must_use] pub fn sar_tsens_xpd_wait(&mut self) -> SAR_TSENS_XPD_WAIT_W { SAR_TSENS_XPD_WAIT_W::new(self, 0) } #[doc = "Bits 12:13 - no public"] #[inline(always)] - #[must_use] pub fn sar_tsens_xpd_force(&mut self) -> SAR_TSENS_XPD_FORCE_W { SAR_TSENS_XPD_FORCE_W::new(self, 12) } #[doc = "Bit 14 - no public"] #[inline(always)] - #[must_use] pub fn sar_tsens_clk_inv(&mut self) -> SAR_TSENS_CLK_INV_W { SAR_TSENS_CLK_INV_W::new(self, 14) } diff --git a/esp32s3/src/sensitive/apb_peripheral_access_0.rs b/esp32s3/src/sensitive/apb_peripheral_access_0.rs index 8c0e7f6378..bf18831054 100644 --- a/esp32s3/src/sensitive/apb_peripheral_access_0.rs +++ b/esp32s3/src/sensitive/apb_peripheral_access_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock APB peripheral Configuration Register."] #[inline(always)] - #[must_use] pub fn apb_peripheral_access_lock( &mut self, ) -> APB_PERIPHERAL_ACCESS_LOCK_W { diff --git a/esp32s3/src/sensitive/apb_peripheral_access_1.rs b/esp32s3/src/sensitive/apb_peripheral_access_1.rs index c0f0668115..167704e5bb 100644 --- a/esp32s3/src/sensitive/apb_peripheral_access_1.rs +++ b/esp32s3/src/sensitive/apb_peripheral_access_1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to support split function for AHB access to APB peripherals."] #[inline(always)] - #[must_use] pub fn apb_peripheral_access_split_burst( &mut self, ) -> APB_PERIPHERAL_ACCESS_SPLIT_BURST_W { diff --git a/esp32s3/src/sensitive/backup_bus_pms_constrain_0.rs b/esp32s3/src/sensitive/backup_bus_pms_constrain_0.rs index da6cfe7ee0..94fa9b08c3 100644 --- a/esp32s3/src/sensitive/backup_bus_pms_constrain_0.rs +++ b/esp32s3/src/sensitive/backup_bus_pms_constrain_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock BackUp permission configuration registers."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_lock( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_LOCK_W { diff --git a/esp32s3/src/sensitive/backup_bus_pms_constrain_1.rs b/esp32s3/src/sensitive/backup_bus_pms_constrain_1.rs index 60c31eaa7b..c8d1734755 100644 --- a/esp32s3/src/sensitive/backup_bus_pms_constrain_1.rs +++ b/esp32s3/src/sensitive/backup_bus_pms_constrain_1.rs @@ -183,7 +183,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - BackUp access uart permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_uart( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_UART_W { @@ -191,7 +190,6 @@ impl W { } #[doc = "Bits 2:3 - BackUp access g0spi_1 permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_g0spi_1( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_G0SPI_1_W { @@ -199,7 +197,6 @@ impl W { } #[doc = "Bits 4:5 - BackUp access g0spi_0 permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_g0spi_0( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_G0SPI_0_W { @@ -207,7 +204,6 @@ impl W { } #[doc = "Bits 6:7 - BackUp access gpio permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_gpio( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_GPIO_W { @@ -215,7 +211,6 @@ impl W { } #[doc = "Bits 8:9 - BackUp access fe2 permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_fe2( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_FE2_W { @@ -223,7 +218,6 @@ impl W { } #[doc = "Bits 10:11 - BackUp access fe permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_fe( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_FE_W { @@ -231,7 +225,6 @@ impl W { } #[doc = "Bits 14:15 - BackUp access rtc permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_rtc( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_RTC_W { @@ -239,7 +232,6 @@ impl W { } #[doc = "Bits 16:17 - BackUp access io_mux permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_io_mux( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_IO_MUX_W { @@ -247,7 +239,6 @@ impl W { } #[doc = "Bits 20:21 - BackUp access hinf permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_hinf( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_HINF_W { @@ -255,7 +246,6 @@ impl W { } #[doc = "Bits 24:25 - BackUp access misc permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_misc( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_MISC_W { @@ -263,7 +253,6 @@ impl W { } #[doc = "Bits 26:27 - BackUp access i2c permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_i2c( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_I2C_W { @@ -271,7 +260,6 @@ impl W { } #[doc = "Bits 28:29 - BackUp access i2s0 permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_i2s0( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_I2S0_W { @@ -279,7 +267,6 @@ impl W { } #[doc = "Bits 30:31 - BackUp access uart1 permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_uart1( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_UART1_W { diff --git a/esp32s3/src/sensitive/backup_bus_pms_constrain_2.rs b/esp32s3/src/sensitive/backup_bus_pms_constrain_2.rs index 430481dc85..749e96f648 100644 --- a/esp32s3/src/sensitive/backup_bus_pms_constrain_2.rs +++ b/esp32s3/src/sensitive/backup_bus_pms_constrain_2.rs @@ -196,7 +196,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - BackUp access bt permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_bt( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_BT_W { @@ -204,7 +203,6 @@ impl W { } #[doc = "Bits 4:5 - BackUp access i2c_ext0 permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_i2c_ext0( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_I2C_EXT0_W { @@ -212,7 +210,6 @@ impl W { } #[doc = "Bits 6:7 - BackUp access uhci0 permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_uhci0( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_UHCI0_W { @@ -220,7 +217,6 @@ impl W { } #[doc = "Bits 8:9 - BackUp access slchost permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_slchost( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_SLCHOST_W { @@ -228,7 +224,6 @@ impl W { } #[doc = "Bits 10:11 - BackUp access rmt permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_rmt( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_RMT_W { @@ -236,7 +231,6 @@ impl W { } #[doc = "Bits 12:13 - BackUp access pcnt permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_pcnt( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_PCNT_W { @@ -244,7 +238,6 @@ impl W { } #[doc = "Bits 14:15 - BackUp access slc permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_slc( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_SLC_W { @@ -252,7 +245,6 @@ impl W { } #[doc = "Bits 16:17 - BackUp access ledc permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_ledc( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_LEDC_W { @@ -260,7 +252,6 @@ impl W { } #[doc = "Bits 18:19 - BackUp access backup permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_backup( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_BACKUP_W { @@ -268,7 +259,6 @@ impl W { } #[doc = "Bits 22:23 - BackUp access bb permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_bb( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_BB_W { @@ -276,7 +266,6 @@ impl W { } #[doc = "Bits 24:25 - BackUp access pwm0 permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_pwm0( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_PWM0_W { @@ -284,7 +273,6 @@ impl W { } #[doc = "Bits 26:27 - BackUp access timergroup permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_timergroup( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_TIMERGROUP_W { @@ -292,7 +280,6 @@ impl W { } #[doc = "Bits 28:29 - BackUp access timergroup1 permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_timergroup1( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_TIMERGROUP1_W { @@ -300,7 +287,6 @@ impl W { } #[doc = "Bits 30:31 - BackUp access systimer permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_systimer( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_SYSTIMER_W { diff --git a/esp32s3/src/sensitive/backup_bus_pms_constrain_3.rs b/esp32s3/src/sensitive/backup_bus_pms_constrain_3.rs index bf7233ca93..62019e179e 100644 --- a/esp32s3/src/sensitive/backup_bus_pms_constrain_3.rs +++ b/esp32s3/src/sensitive/backup_bus_pms_constrain_3.rs @@ -170,7 +170,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - BackUp access spi_2 permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_spi_2( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_SPI_2_W { @@ -178,7 +177,6 @@ impl W { } #[doc = "Bits 2:3 - BackUp access spi_3 permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_spi_3( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_SPI_3_W { @@ -186,7 +184,6 @@ impl W { } #[doc = "Bits 4:5 - BackUp access apb_ctrl permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_apb_ctrl( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_APB_CTRL_W { @@ -194,7 +191,6 @@ impl W { } #[doc = "Bits 6:7 - BackUp access i2c_ext1 permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_i2c_ext1( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_I2C_EXT1_W { @@ -202,7 +198,6 @@ impl W { } #[doc = "Bits 8:9 - BackUp access sdio_host permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_sdio_host( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_SDIO_HOST_W { @@ -210,7 +205,6 @@ impl W { } #[doc = "Bits 10:11 - BackUp access can permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_can( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_CAN_W { @@ -218,7 +212,6 @@ impl W { } #[doc = "Bits 12:13 - BackUp access pwm1 permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_pwm1( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_PWM1_W { @@ -226,7 +219,6 @@ impl W { } #[doc = "Bits 14:15 - BackUp access i2s1 permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_i2s1( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_I2S1_W { @@ -234,7 +226,6 @@ impl W { } #[doc = "Bits 16:17 - BackUp access uart2 permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_uart2( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_UART2_W { @@ -242,7 +233,6 @@ impl W { } #[doc = "Bits 22:23 - BackUp access rwbt permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_rwbt( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_RWBT_W { @@ -250,7 +240,6 @@ impl W { } #[doc = "Bits 26:27 - BackUp access wifimac permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_wifimac( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_WIFIMAC_W { @@ -258,7 +247,6 @@ impl W { } #[doc = "Bits 28:29 - BackUp access pwr permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_pwr( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_PWR_W { diff --git a/esp32s3/src/sensitive/backup_bus_pms_constrain_4.rs b/esp32s3/src/sensitive/backup_bus_pms_constrain_4.rs index ae3fa57833..ec4f627565 100644 --- a/esp32s3/src/sensitive/backup_bus_pms_constrain_4.rs +++ b/esp32s3/src/sensitive/backup_bus_pms_constrain_4.rs @@ -224,7 +224,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - BackUp access usb_device permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_usb_device( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_USB_DEVICE_W { @@ -232,7 +231,6 @@ impl W { } #[doc = "Bits 2:3 - BackUp access usb_wrap permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_usb_wrap( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_USB_WRAP_W { @@ -240,7 +238,6 @@ impl W { } #[doc = "Bits 4:5 - BackUp access crypto_peri permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_crypto_peri( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_CRYPTO_PERI_W { @@ -248,7 +245,6 @@ impl W { } #[doc = "Bits 6:7 - BackUp access crypto_dma permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_crypto_dma( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_CRYPTO_DMA_W { @@ -256,7 +252,6 @@ impl W { } #[doc = "Bits 8:9 - BackUp access apb_adc permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_apb_adc( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_APB_ADC_W { @@ -264,7 +259,6 @@ impl W { } #[doc = "Bits 10:11 - BackUp access lcd_cam permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_lcd_cam( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_LCD_CAM_W { @@ -272,7 +266,6 @@ impl W { } #[doc = "Bits 12:13 - BackUp access bt_pwr permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_bt_pwr( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_BT_PWR_W { @@ -280,7 +273,6 @@ impl W { } #[doc = "Bits 14:15 - BackUp access usb permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_usb( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_USB_W { @@ -288,7 +280,6 @@ impl W { } #[doc = "Bits 16:17 - BackUp access system permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_system( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_SYSTEM_W { @@ -296,7 +287,6 @@ impl W { } #[doc = "Bits 18:19 - BackUp access sensitive permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_sensitive( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_SENSITIVE_W { @@ -304,7 +294,6 @@ impl W { } #[doc = "Bits 20:21 - BackUp access interrupt permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_interrupt( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_INTERRUPT_W { @@ -312,7 +301,6 @@ impl W { } #[doc = "Bits 22:23 - BackUp access dma_copy permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_dma_copy( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_DMA_COPY_W { @@ -320,7 +308,6 @@ impl W { } #[doc = "Bits 24:25 - BackUp access cache_config permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_cache_config( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_CACHE_CONFIG_W { @@ -328,7 +315,6 @@ impl W { } #[doc = "Bits 26:27 - BackUp access ad permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_ad( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_AD_W { @@ -336,7 +322,6 @@ impl W { } #[doc = "Bits 28:29 - BackUp access dio permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_dio( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_DIO_W { @@ -344,7 +329,6 @@ impl W { } #[doc = "Bits 30:31 - BackUp access world_controller permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_world_controller( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_WORLD_CONTROLLER_W { diff --git a/esp32s3/src/sensitive/backup_bus_pms_constrain_5.rs b/esp32s3/src/sensitive/backup_bus_pms_constrain_5.rs index 0e911ff96d..c915780260 100644 --- a/esp32s3/src/sensitive/backup_bus_pms_constrain_5.rs +++ b/esp32s3/src/sensitive/backup_bus_pms_constrain_5.rs @@ -30,7 +30,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - BackUp access rtcfast_spltaddr permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_rtcfast_spltaddr( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_RTCFAST_SPLTADDR_W { diff --git a/esp32s3/src/sensitive/backup_bus_pms_constrain_6.rs b/esp32s3/src/sensitive/backup_bus_pms_constrain_6.rs index c83491b5a3..9503704f52 100644 --- a/esp32s3/src/sensitive/backup_bus_pms_constrain_6.rs +++ b/esp32s3/src/sensitive/backup_bus_pms_constrain_6.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - BackUp access rtcfast_l permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_rtcfast_l( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_RTCFAST_L_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bits 3:5 - BackUp access rtcfast_h permission."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_constrain_rtcfast_h( &mut self, ) -> BACKUP_BUS_PMS_CONSTRAIN_RTCFAST_H_W { diff --git a/esp32s3/src/sensitive/backup_bus_pms_monitor_0.rs b/esp32s3/src/sensitive/backup_bus_pms_monitor_0.rs index 56e0ebcc79..d4a134899e 100644 --- a/esp32s3/src/sensitive/backup_bus_pms_monitor_0.rs +++ b/esp32s3/src/sensitive/backup_bus_pms_monitor_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock BackUp permission report registers."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_monitor_lock( &mut self, ) -> BACKUP_BUS_PMS_MONITOR_LOCK_W { diff --git a/esp32s3/src/sensitive/backup_bus_pms_monitor_1.rs b/esp32s3/src/sensitive/backup_bus_pms_monitor_1.rs index 86b206502c..f13e45dd1f 100644 --- a/esp32s3/src/sensitive/backup_bus_pms_monitor_1.rs +++ b/esp32s3/src/sensitive/backup_bus_pms_monitor_1.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to clear interrupt that BackUp initiate illegal access."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_monitor_violate_clr( &mut self, ) -> BACKUP_BUS_PMS_MONITOR_VIOLATE_CLR_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bit 1 - Set 1 to enable interrupt that BackUp initiate illegal access."] #[inline(always)] - #[must_use] pub fn backup_bus_pms_monitor_violate_en( &mut self, ) -> BACKUP_BUS_PMS_MONITOR_VIOLATE_EN_W { diff --git a/esp32s3/src/sensitive/cache_dataarray_connect_0.rs b/esp32s3/src/sensitive/cache_dataarray_connect_0.rs index 8c5ecc3435..c88be93372 100644 --- a/esp32s3/src/sensitive/cache_dataarray_connect_0.rs +++ b/esp32s3/src/sensitive/cache_dataarray_connect_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock cache data array registers."] #[inline(always)] - #[must_use] pub fn cache_dataarray_connect_lock( &mut self, ) -> CACHE_DATAARRAY_CONNECT_LOCK_W { diff --git a/esp32s3/src/sensitive/cache_dataarray_connect_1.rs b/esp32s3/src/sensitive/cache_dataarray_connect_1.rs index e4a7b47427..613541f816 100644 --- a/esp32s3/src/sensitive/cache_dataarray_connect_1.rs +++ b/esp32s3/src/sensitive/cache_dataarray_connect_1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Cache data array connection configuration."] #[inline(always)] - #[must_use] pub fn cache_dataarray_connect_flatten( &mut self, ) -> CACHE_DATAARRAY_CONNECT_FLATTEN_W { diff --git a/esp32s3/src/sensitive/cache_mmu_access_0.rs b/esp32s3/src/sensitive/cache_mmu_access_0.rs index ea1ac314d5..035cae60ad 100644 --- a/esp32s3/src/sensitive/cache_mmu_access_0.rs +++ b/esp32s3/src/sensitive/cache_mmu_access_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock cache MMU registers."] #[inline(always)] - #[must_use] pub fn cache_mmu_access_lock(&mut self) -> CACHE_MMU_ACCESS_LOCK_W { CACHE_MMU_ACCESS_LOCK_W::new(self, 0) } diff --git a/esp32s3/src/sensitive/cache_mmu_access_1.rs b/esp32s3/src/sensitive/cache_mmu_access_1.rs index b0f174e307..4b1145f0b6 100644 --- a/esp32s3/src/sensitive/cache_mmu_access_1.rs +++ b/esp32s3/src/sensitive/cache_mmu_access_1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable read access MMU memory."] #[inline(always)] - #[must_use] pub fn pro_mmu_rd_acs(&mut self) -> PRO_MMU_RD_ACS_W { PRO_MMU_RD_ACS_W::new(self, 0) } #[doc = "Bit 1 - Set 1 to enable write access MMU memory."] #[inline(always)] - #[must_use] pub fn pro_mmu_wr_acs(&mut self) -> PRO_MMU_WR_ACS_W { PRO_MMU_WR_ACS_W::new(self, 1) } diff --git a/esp32s3/src/sensitive/cache_tag_access_0.rs b/esp32s3/src/sensitive/cache_tag_access_0.rs index 5e57791048..c0113518cf 100644 --- a/esp32s3/src/sensitive/cache_tag_access_0.rs +++ b/esp32s3/src/sensitive/cache_tag_access_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock cache tag Configuration Register."] #[inline(always)] - #[must_use] pub fn cache_tag_access_lock(&mut self) -> CACHE_TAG_ACCESS_LOCK_W { CACHE_TAG_ACCESS_LOCK_W::new(self, 0) } diff --git a/esp32s3/src/sensitive/cache_tag_access_1.rs b/esp32s3/src/sensitive/cache_tag_access_1.rs index cefc79cd23..683eec61a4 100644 --- a/esp32s3/src/sensitive/cache_tag_access_1.rs +++ b/esp32s3/src/sensitive/cache_tag_access_1.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable Icache read access tag memory."] #[inline(always)] - #[must_use] pub fn pro_i_tag_rd_acs(&mut self) -> PRO_I_TAG_RD_ACS_W { PRO_I_TAG_RD_ACS_W::new(self, 0) } #[doc = "Bit 1 - Set 1 to enable Icache wrtie access tag memory."] #[inline(always)] - #[must_use] pub fn pro_i_tag_wr_acs(&mut self) -> PRO_I_TAG_WR_ACS_W { PRO_I_TAG_WR_ACS_W::new(self, 1) } #[doc = "Bit 2 - Set 1 to enable Dcache read access tag memory."] #[inline(always)] - #[must_use] pub fn pro_d_tag_rd_acs(&mut self) -> PRO_D_TAG_RD_ACS_W { PRO_D_TAG_RD_ACS_W::new(self, 2) } #[doc = "Bit 3 - Set 1 to enable Dcache wrtie access tag memory."] #[inline(always)] - #[must_use] pub fn pro_d_tag_wr_acs(&mut self) -> PRO_D_TAG_WR_ACS_W { PRO_D_TAG_WR_ACS_W::new(self, 3) } diff --git a/esp32s3/src/sensitive/clock_gate.rs b/esp32s3/src/sensitive/clock_gate.rs index daa253321a..8b01d1ef22 100644 --- a/esp32s3/src/sensitive/clock_gate.rs +++ b/esp32s3/src/sensitive/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable clock gate function."] #[inline(always)] - #[must_use] pub fn reg_clk_en(&mut self) -> REG_CLK_EN_W { REG_CLK_EN_W::new(self, 0) } diff --git a/esp32s3/src/sensitive/core_0_dram0_pms_monitor_0.rs b/esp32s3/src/sensitive/core_0_dram0_pms_monitor_0.rs index 9c3aa7bcdc..3abb2e8346 100644 --- a/esp32s3/src/sensitive/core_0_dram0_pms_monitor_0.rs +++ b/esp32s3/src/sensitive/core_0_dram0_pms_monitor_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock core0 dram0 permission monitor configuration register."] #[inline(always)] - #[must_use] pub fn core_0_dram0_pms_monitor_lock( &mut self, ) -> CORE_0_DRAM0_PMS_MONITOR_LOCK_W { diff --git a/esp32s3/src/sensitive/core_0_dram0_pms_monitor_1.rs b/esp32s3/src/sensitive/core_0_dram0_pms_monitor_1.rs index a54a00a526..ce62a0a895 100644 --- a/esp32s3/src/sensitive/core_0_dram0_pms_monitor_1.rs +++ b/esp32s3/src/sensitive/core_0_dram0_pms_monitor_1.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to clear core0 dram0 permission monior interrupt."] #[inline(always)] - #[must_use] pub fn core_0_dram0_pms_monitor_violate_clr( &mut self, ) -> CORE_0_DRAM0_PMS_MONITOR_VIOLATE_CLR_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bit 1 - Set 1 to enable core0 dram0 permission monitor interrupt."] #[inline(always)] - #[must_use] pub fn core_0_dram0_pms_monitor_violate_en( &mut self, ) -> CORE_0_DRAM0_PMS_MONITOR_VIOLATE_EN_W { diff --git a/esp32s3/src/sensitive/core_0_iram0_pms_monitor_0.rs b/esp32s3/src/sensitive/core_0_iram0_pms_monitor_0.rs index db7cdb6165..e058f621c7 100644 --- a/esp32s3/src/sensitive/core_0_iram0_pms_monitor_0.rs +++ b/esp32s3/src/sensitive/core_0_iram0_pms_monitor_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock core0 iram0 permission monitor register"] #[inline(always)] - #[must_use] pub fn core_0_iram0_pms_monitor_lock( &mut self, ) -> CORE_0_IRAM0_PMS_MONITOR_LOCK_W { diff --git a/esp32s3/src/sensitive/core_0_iram0_pms_monitor_1.rs b/esp32s3/src/sensitive/core_0_iram0_pms_monitor_1.rs index ee76fafdc1..ba2ca86e36 100644 --- a/esp32s3/src/sensitive/core_0_iram0_pms_monitor_1.rs +++ b/esp32s3/src/sensitive/core_0_iram0_pms_monitor_1.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to clear core0 iram0 permission violated interrupt"] #[inline(always)] - #[must_use] pub fn core_0_iram0_pms_monitor_violate_clr( &mut self, ) -> CORE_0_IRAM0_PMS_MONITOR_VIOLATE_CLR_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bit 1 - Set 1 to enable core0 iram0 permission monitor, when core0_iram violated permission, will trigger interrupt"] #[inline(always)] - #[must_use] pub fn core_0_iram0_pms_monitor_violate_en( &mut self, ) -> CORE_0_IRAM0_PMS_MONITOR_VIOLATE_EN_W { diff --git a/esp32s3/src/sensitive/core_0_pif_pms_constrain_0.rs b/esp32s3/src/sensitive/core_0_pif_pms_constrain_0.rs index faccc3ce26..901833b40b 100644 --- a/esp32s3/src/sensitive/core_0_pif_pms_constrain_0.rs +++ b/esp32s3/src/sensitive/core_0_pif_pms_constrain_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock core0 access peripherals permission Configuration Register."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_lock( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_LOCK_W { diff --git a/esp32s3/src/sensitive/core_0_pif_pms_constrain_1.rs b/esp32s3/src/sensitive/core_0_pif_pms_constrain_1.rs index fde0f3adbd..a756367aaf 100644 --- a/esp32s3/src/sensitive/core_0_pif_pms_constrain_1.rs +++ b/esp32s3/src/sensitive/core_0_pif_pms_constrain_1.rs @@ -191,7 +191,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Core0 access uart permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_uart( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_UART_W { @@ -199,7 +198,6 @@ impl W { } #[doc = "Bits 2:3 - Core0 access g0spi_1 permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_g0spi_1( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_G0SPI_1_W { @@ -207,7 +205,6 @@ impl W { } #[doc = "Bits 4:5 - Core0 access g0spi_0 permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_g0spi_0( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_G0SPI_0_W { @@ -215,7 +212,6 @@ impl W { } #[doc = "Bits 6:7 - Core0 access gpio permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_gpio( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_GPIO_W { @@ -223,7 +219,6 @@ impl W { } #[doc = "Bits 8:9 - Core0 access fe2 permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_fe2( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_FE2_W { @@ -231,7 +226,6 @@ impl W { } #[doc = "Bits 10:11 - Core0 access fe permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_fe( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_FE_W { @@ -239,7 +233,6 @@ impl W { } #[doc = "Bits 14:15 - Core0 access rtc permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_rtc( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_RTC_W { @@ -247,7 +240,6 @@ impl W { } #[doc = "Bits 16:17 - Core0 access io_mux permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_io_mux( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_IO_MUX_W { @@ -255,7 +247,6 @@ impl W { } #[doc = "Bits 20:21 - Core0 access hinf permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_hinf( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_HINF_W { @@ -263,7 +254,6 @@ impl W { } #[doc = "Bits 24:25 - Core0 access misc permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_misc( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_MISC_W { @@ -271,7 +261,6 @@ impl W { } #[doc = "Bits 26:27 - Core0 access i2c permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_i2c( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_I2C_W { @@ -279,7 +268,6 @@ impl W { } #[doc = "Bits 28:29 - Core0 access i2s0 permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_i2s0( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_I2S0_W { @@ -287,7 +275,6 @@ impl W { } #[doc = "Bits 30:31 - Core0 access uart1 permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_uart1( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_UART1_W { diff --git a/esp32s3/src/sensitive/core_0_pif_pms_constrain_10.rs b/esp32s3/src/sensitive/core_0_pif_pms_constrain_10.rs index d72bc533f7..9cc2779450 100644 --- a/esp32s3/src/sensitive/core_0_pif_pms_constrain_10.rs +++ b/esp32s3/src/sensitive/core_0_pif_pms_constrain_10.rs @@ -74,7 +74,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - RTCFast memory low region permission in world 0 for core0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_rtcfast_world_0_l( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_RTCFAST_WORLD_0_L_W { @@ -82,7 +81,6 @@ impl W { } #[doc = "Bits 3:5 - RTCFast memory high region permission in world 0 for core0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_rtcfast_world_0_h( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_RTCFAST_WORLD_0_H_W { @@ -90,7 +88,6 @@ impl W { } #[doc = "Bits 6:8 - RTCFast memory low region permission in world 1 for core0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_rtcfast_world_1_l( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_RTCFAST_WORLD_1_L_W { @@ -98,7 +95,6 @@ impl W { } #[doc = "Bits 9:11 - RTCFast memory high region permission in world 1 for core0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_rtcfast_world_1_h( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_RTCFAST_WORLD_1_H_W { diff --git a/esp32s3/src/sensitive/core_0_pif_pms_constrain_11.rs b/esp32s3/src/sensitive/core_0_pif_pms_constrain_11.rs index 6db041d8d4..0cc7edb314 100644 --- a/esp32s3/src/sensitive/core_0_pif_pms_constrain_11.rs +++ b/esp32s3/src/sensitive/core_0_pif_pms_constrain_11.rs @@ -48,7 +48,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - RTCSlow_0 memory split address in world 0 for core0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_rtcslow_0_spltaddr_world_0( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_RTCSLOW_0_SPLTADDR_WORLD_0_W @@ -57,7 +56,6 @@ impl W { } #[doc = "Bits 11:21 - RTCSlow_0 memory split address in world 1 for core0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_rtcslow_0_spltaddr_world_1( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_RTCSLOW_0_SPLTADDR_WORLD_1_W diff --git a/esp32s3/src/sensitive/core_0_pif_pms_constrain_12.rs b/esp32s3/src/sensitive/core_0_pif_pms_constrain_12.rs index 359f45004f..099efdb46c 100644 --- a/esp32s3/src/sensitive/core_0_pif_pms_constrain_12.rs +++ b/esp32s3/src/sensitive/core_0_pif_pms_constrain_12.rs @@ -74,7 +74,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - RTCSlow_0 memory low region permission in world 0 for core0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_rtcslow_0_world_0_l( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_RTCSLOW_0_WORLD_0_L_W { @@ -82,7 +81,6 @@ impl W { } #[doc = "Bits 3:5 - RTCSlow_0 memory high region permission in world 0 for core0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_rtcslow_0_world_0_h( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_RTCSLOW_0_WORLD_0_H_W { @@ -90,7 +88,6 @@ impl W { } #[doc = "Bits 6:8 - RTCSlow_0 memory low region permission in world 1 for core0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_rtcslow_0_world_1_l( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_RTCSLOW_0_WORLD_1_L_W { @@ -98,7 +95,6 @@ impl W { } #[doc = "Bits 9:11 - RTCSlow_0 memory high region permission in world 1 for core0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_rtcslow_0_world_1_h( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_RTCSLOW_0_WORLD_1_H_W { diff --git a/esp32s3/src/sensitive/core_0_pif_pms_constrain_13.rs b/esp32s3/src/sensitive/core_0_pif_pms_constrain_13.rs index ab9b47070d..9c2bd7958c 100644 --- a/esp32s3/src/sensitive/core_0_pif_pms_constrain_13.rs +++ b/esp32s3/src/sensitive/core_0_pif_pms_constrain_13.rs @@ -48,7 +48,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - RTCSlow_1 memory split address in world 0 for core0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_rtcslow_1_spltaddr_world_0( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_RTCSLOW_1_SPLTADDR_WORLD_0_W @@ -57,7 +56,6 @@ impl W { } #[doc = "Bits 11:21 - RTCSlow_1 memory split address in world 1 for core0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_rtcslow_1_spltaddr_world_1( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_RTCSLOW_1_SPLTADDR_WORLD_1_W diff --git a/esp32s3/src/sensitive/core_0_pif_pms_constrain_14.rs b/esp32s3/src/sensitive/core_0_pif_pms_constrain_14.rs index 8cb06174bc..0e6ea92daa 100644 --- a/esp32s3/src/sensitive/core_0_pif_pms_constrain_14.rs +++ b/esp32s3/src/sensitive/core_0_pif_pms_constrain_14.rs @@ -74,7 +74,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - RTCSlow_1 memory low region permission in world 0 for core0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_rtcslow_1_world_0_l( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_RTCSLOW_1_WORLD_0_L_W { @@ -82,7 +81,6 @@ impl W { } #[doc = "Bits 3:5 - RTCSlow_1 memory high region permission in world 0 for core0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_rtcslow_1_world_0_h( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_RTCSLOW_1_WORLD_0_H_W { @@ -90,7 +88,6 @@ impl W { } #[doc = "Bits 6:8 - RTCSlow_1 memory low region permission in world 1 for core0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_rtcslow_1_world_1_l( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_RTCSLOW_1_WORLD_1_L_W { @@ -98,7 +95,6 @@ impl W { } #[doc = "Bits 9:11 - RTCSlow_1 memory high region permission in world 1 for core0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_rtcslow_1_world_1_h( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_RTCSLOW_1_WORLD_1_H_W { diff --git a/esp32s3/src/sensitive/core_0_pif_pms_constrain_2.rs b/esp32s3/src/sensitive/core_0_pif_pms_constrain_2.rs index 260c3716f8..60f2691481 100644 --- a/esp32s3/src/sensitive/core_0_pif_pms_constrain_2.rs +++ b/esp32s3/src/sensitive/core_0_pif_pms_constrain_2.rs @@ -210,7 +210,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Core0 access bt permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_bt( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_BT_W { @@ -218,7 +217,6 @@ impl W { } #[doc = "Bits 4:5 - Core0 access i2c_ext0 permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_i2c_ext0( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_I2C_EXT0_W { @@ -226,7 +224,6 @@ impl W { } #[doc = "Bits 6:7 - Core0 access uhci0 permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_uhci0( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_UHCI0_W { @@ -234,7 +231,6 @@ impl W { } #[doc = "Bits 8:9 - Core0 access slchost permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_slchost( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_SLCHOST_W { @@ -242,7 +238,6 @@ impl W { } #[doc = "Bits 10:11 - Core0 access rmt permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_rmt( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_RMT_W { @@ -250,7 +245,6 @@ impl W { } #[doc = "Bits 12:13 - Core0 access pcnt permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_pcnt( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_PCNT_W { @@ -258,7 +252,6 @@ impl W { } #[doc = "Bits 14:15 - Core0 access slc permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_slc( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_SLC_W { @@ -266,7 +259,6 @@ impl W { } #[doc = "Bits 16:17 - Core0 access ledc permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_ledc( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_LEDC_W { @@ -274,7 +266,6 @@ impl W { } #[doc = "Bits 18:19 - Core0 access backup permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_backup( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_BACKUP_W { @@ -282,7 +273,6 @@ impl W { } #[doc = "Bits 22:23 - Core0 access bb permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_bb( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_BB_W { @@ -290,7 +280,6 @@ impl W { } #[doc = "Bits 24:25 - Core0 access pwm0 permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_pwm0( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_PWM0_W { @@ -298,7 +287,6 @@ impl W { } #[doc = "Bits 26:27 - Core0 access timergroup permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_timergroup( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_TIMERGROUP_W { @@ -306,7 +294,6 @@ impl W { } #[doc = "Bits 28:29 - Core0 access timergroup1 permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_timergroup1( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_TIMERGROUP1_W { @@ -314,7 +301,6 @@ impl W { } #[doc = "Bits 30:31 - Core0 access systimer permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_systimer( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_SYSTIMER_W { diff --git a/esp32s3/src/sensitive/core_0_pif_pms_constrain_3.rs b/esp32s3/src/sensitive/core_0_pif_pms_constrain_3.rs index 28145c0743..3b4dec85e9 100644 --- a/esp32s3/src/sensitive/core_0_pif_pms_constrain_3.rs +++ b/esp32s3/src/sensitive/core_0_pif_pms_constrain_3.rs @@ -184,7 +184,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Core0 access spi_2 permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_spi_2( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_SPI_2_W { @@ -192,7 +191,6 @@ impl W { } #[doc = "Bits 2:3 - Core0 access spi_3 permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_spi_3( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_SPI_3_W { @@ -200,7 +198,6 @@ impl W { } #[doc = "Bits 4:5 - Core0 access apb_ctrl permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_apb_ctrl( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_APB_CTRL_W { @@ -208,7 +205,6 @@ impl W { } #[doc = "Bits 6:7 - Core0 access i2c_ext1 permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_i2c_ext1( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_I2C_EXT1_W { @@ -216,7 +212,6 @@ impl W { } #[doc = "Bits 8:9 - Core0 access sdio_host permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_sdio_host( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_SDIO_HOST_W { @@ -224,7 +219,6 @@ impl W { } #[doc = "Bits 10:11 - Core0 access can permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_can( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_CAN_W { @@ -232,7 +226,6 @@ impl W { } #[doc = "Bits 12:13 - Core0 access pwm1 permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_pwm1( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_PWM1_W { @@ -240,7 +233,6 @@ impl W { } #[doc = "Bits 14:15 - Core0 access i2s1 permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_i2s1( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_I2S1_W { @@ -248,7 +240,6 @@ impl W { } #[doc = "Bits 16:17 - Core0 access uart2 permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_uart2( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_UART2_W { @@ -256,7 +247,6 @@ impl W { } #[doc = "Bits 22:23 - Core0 access rwbt permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_rwbt( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_RWBT_W { @@ -264,7 +254,6 @@ impl W { } #[doc = "Bits 26:27 - Core0 access wifimac permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_wifimac( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_WIFIMAC_W { @@ -272,7 +261,6 @@ impl W { } #[doc = "Bits 28:29 - Core0 access pwr permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_pwr( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_PWR_W { diff --git a/esp32s3/src/sensitive/core_0_pif_pms_constrain_4.rs b/esp32s3/src/sensitive/core_0_pif_pms_constrain_4.rs index f34fb1763a..a184f8a3db 100644 --- a/esp32s3/src/sensitive/core_0_pif_pms_constrain_4.rs +++ b/esp32s3/src/sensitive/core_0_pif_pms_constrain_4.rs @@ -249,7 +249,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Core0 access usb_device permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_usb_device( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_USB_DEVICE_W { @@ -257,7 +256,6 @@ impl W { } #[doc = "Bits 2:3 - Core0 access usb_wrap permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_usb_wrap( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_USB_WRAP_W { @@ -265,7 +263,6 @@ impl W { } #[doc = "Bits 4:5 - Core0 access crypto_peri permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_crypto_peri( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_CRYPTO_PERI_W { @@ -273,7 +270,6 @@ impl W { } #[doc = "Bits 6:7 - Core0 access crypto_dma permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_crypto_dma( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_CRYPTO_DMA_W { @@ -281,7 +277,6 @@ impl W { } #[doc = "Bits 8:9 - Core0 access apb_adc permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_apb_adc( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_APB_ADC_W { @@ -289,7 +284,6 @@ impl W { } #[doc = "Bits 10:11 - Core0 access lcd_cam permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_lcd_cam( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_LCD_CAM_W { @@ -297,7 +291,6 @@ impl W { } #[doc = "Bits 12:13 - Core0 access bt_pwr permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_bt_pwr( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_BT_PWR_W { @@ -305,7 +298,6 @@ impl W { } #[doc = "Bits 14:15 - Core0 access usb permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_usb( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_USB_W { @@ -313,7 +305,6 @@ impl W { } #[doc = "Bits 16:17 - Core0 access system permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_system( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_SYSTEM_W { @@ -321,7 +312,6 @@ impl W { } #[doc = "Bits 18:19 - Core0 access sensitive permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_sensitive( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_SENSITIVE_W { @@ -329,7 +319,6 @@ impl W { } #[doc = "Bits 20:21 - Core0 access interrupt permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_interrupt( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_INTERRUPT_W { @@ -337,7 +326,6 @@ impl W { } #[doc = "Bits 22:23 - Core0 access dma_copy permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_dma_copy( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_DMA_COPY_W { @@ -345,7 +333,6 @@ impl W { } #[doc = "Bits 24:25 - Core0 access cache_config permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_cache_config( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_CACHE_CONFIG_W { @@ -353,7 +340,6 @@ impl W { } #[doc = "Bits 26:27 - Core0 access ad permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_ad( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_AD_W { @@ -361,7 +347,6 @@ impl W { } #[doc = "Bits 28:29 - Core0 access dio permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_dio( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_DIO_W { @@ -369,7 +354,6 @@ impl W { } #[doc = "Bits 30:31 - Core0 access world_controller permission in world0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_0_world_controller( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_0_WORLD_CONTROLLER_W { diff --git a/esp32s3/src/sensitive/core_0_pif_pms_constrain_5.rs b/esp32s3/src/sensitive/core_0_pif_pms_constrain_5.rs index ec7e7e13bb..c10e32cc41 100644 --- a/esp32s3/src/sensitive/core_0_pif_pms_constrain_5.rs +++ b/esp32s3/src/sensitive/core_0_pif_pms_constrain_5.rs @@ -191,7 +191,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Core0 access uart permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_uart( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_UART_W { @@ -199,7 +198,6 @@ impl W { } #[doc = "Bits 2:3 - Core0 access g0spi_1 permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_g0spi_1( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_G0SPI_1_W { @@ -207,7 +205,6 @@ impl W { } #[doc = "Bits 4:5 - Core0 access g0spi_0 permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_g0spi_0( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_G0SPI_0_W { @@ -215,7 +212,6 @@ impl W { } #[doc = "Bits 6:7 - Core0 access gpio permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_gpio( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_GPIO_W { @@ -223,7 +219,6 @@ impl W { } #[doc = "Bits 8:9 - Core0 access fe2 permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_fe2( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_FE2_W { @@ -231,7 +226,6 @@ impl W { } #[doc = "Bits 10:11 - Core0 access fe permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_fe( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_FE_W { @@ -239,7 +233,6 @@ impl W { } #[doc = "Bits 14:15 - Core0 access rtc permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_rtc( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_RTC_W { @@ -247,7 +240,6 @@ impl W { } #[doc = "Bits 16:17 - Core0 access io_mux permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_io_mux( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_IO_MUX_W { @@ -255,7 +247,6 @@ impl W { } #[doc = "Bits 20:21 - Core0 access hinf permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_hinf( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_HINF_W { @@ -263,7 +254,6 @@ impl W { } #[doc = "Bits 24:25 - Core0 access misc permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_misc( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_MISC_W { @@ -271,7 +261,6 @@ impl W { } #[doc = "Bits 26:27 - Core0 access i2c permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_i2c( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_I2C_W { @@ -279,7 +268,6 @@ impl W { } #[doc = "Bits 28:29 - Core0 access i2s0 permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_i2s0( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_I2S0_W { @@ -287,7 +275,6 @@ impl W { } #[doc = "Bits 30:31 - Core0 access uart1 permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_uart1( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_UART1_W { diff --git a/esp32s3/src/sensitive/core_0_pif_pms_constrain_6.rs b/esp32s3/src/sensitive/core_0_pif_pms_constrain_6.rs index fb4af29a9f..58422e31f0 100644 --- a/esp32s3/src/sensitive/core_0_pif_pms_constrain_6.rs +++ b/esp32s3/src/sensitive/core_0_pif_pms_constrain_6.rs @@ -210,7 +210,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Core0 access bt permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_bt( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_BT_W { @@ -218,7 +217,6 @@ impl W { } #[doc = "Bits 4:5 - Core0 access i2c_ext0 permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_i2c_ext0( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_I2C_EXT0_W { @@ -226,7 +224,6 @@ impl W { } #[doc = "Bits 6:7 - Core0 access uhci0 permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_uhci0( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_UHCI0_W { @@ -234,7 +231,6 @@ impl W { } #[doc = "Bits 8:9 - Core0 access slchost permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_slchost( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_SLCHOST_W { @@ -242,7 +238,6 @@ impl W { } #[doc = "Bits 10:11 - Core0 access rmt permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_rmt( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_RMT_W { @@ -250,7 +245,6 @@ impl W { } #[doc = "Bits 12:13 - Core0 access pcnt permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_pcnt( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_PCNT_W { @@ -258,7 +252,6 @@ impl W { } #[doc = "Bits 14:15 - Core0 access slc permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_slc( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_SLC_W { @@ -266,7 +259,6 @@ impl W { } #[doc = "Bits 16:17 - Core0 access ledc permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_ledc( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_LEDC_W { @@ -274,7 +266,6 @@ impl W { } #[doc = "Bits 18:19 - Core0 access backup permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_backup( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_BACKUP_W { @@ -282,7 +273,6 @@ impl W { } #[doc = "Bits 22:23 - Core0 access bb permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_bb( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_BB_W { @@ -290,7 +280,6 @@ impl W { } #[doc = "Bits 24:25 - Core0 access pwm0 permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_pwm0( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_PWM0_W { @@ -298,7 +287,6 @@ impl W { } #[doc = "Bits 26:27 - Core0 access timergroup permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_timergroup( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_TIMERGROUP_W { @@ -306,7 +294,6 @@ impl W { } #[doc = "Bits 28:29 - Core0 access timergroup1 permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_timergroup1( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_TIMERGROUP1_W { @@ -314,7 +301,6 @@ impl W { } #[doc = "Bits 30:31 - Core0 access systimer permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_systimer( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_SYSTIMER_W { diff --git a/esp32s3/src/sensitive/core_0_pif_pms_constrain_7.rs b/esp32s3/src/sensitive/core_0_pif_pms_constrain_7.rs index 7eece30486..7f37db940b 100644 --- a/esp32s3/src/sensitive/core_0_pif_pms_constrain_7.rs +++ b/esp32s3/src/sensitive/core_0_pif_pms_constrain_7.rs @@ -184,7 +184,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Core0 access spi_2 permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_spi_2( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_SPI_2_W { @@ -192,7 +191,6 @@ impl W { } #[doc = "Bits 2:3 - Core0 access spi_3 permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_spi_3( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_SPI_3_W { @@ -200,7 +198,6 @@ impl W { } #[doc = "Bits 4:5 - Core0 access apb_ctrl permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_apb_ctrl( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_APB_CTRL_W { @@ -208,7 +205,6 @@ impl W { } #[doc = "Bits 6:7 - Core0 access i2c_ext1 permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_i2c_ext1( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_I2C_EXT1_W { @@ -216,7 +212,6 @@ impl W { } #[doc = "Bits 8:9 - Core0 access sdio_host permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_sdio_host( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_SDIO_HOST_W { @@ -224,7 +219,6 @@ impl W { } #[doc = "Bits 10:11 - Core0 access can permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_can( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_CAN_W { @@ -232,7 +226,6 @@ impl W { } #[doc = "Bits 12:13 - Core0 access pwm1 permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_pwm1( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_PWM1_W { @@ -240,7 +233,6 @@ impl W { } #[doc = "Bits 14:15 - Core0 access i2s1 permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_i2s1( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_I2S1_W { @@ -248,7 +240,6 @@ impl W { } #[doc = "Bits 16:17 - Core0 access uart2 permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_uart2( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_UART2_W { @@ -256,7 +247,6 @@ impl W { } #[doc = "Bits 22:23 - Core0 access rwbt permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_rwbt( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_RWBT_W { @@ -264,7 +254,6 @@ impl W { } #[doc = "Bits 26:27 - Core0 access wifimac permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_wifimac( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_WIFIMAC_W { @@ -272,7 +261,6 @@ impl W { } #[doc = "Bits 28:29 - Core0 access pwr permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_pwr( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_PWR_W { diff --git a/esp32s3/src/sensitive/core_0_pif_pms_constrain_8.rs b/esp32s3/src/sensitive/core_0_pif_pms_constrain_8.rs index 60cd00d3db..fb258c063c 100644 --- a/esp32s3/src/sensitive/core_0_pif_pms_constrain_8.rs +++ b/esp32s3/src/sensitive/core_0_pif_pms_constrain_8.rs @@ -249,7 +249,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Core0 access usb_device permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_usb_device( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_USB_DEVICE_W { @@ -257,7 +256,6 @@ impl W { } #[doc = "Bits 2:3 - Core0 access usb_wrap permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_usb_wrap( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_USB_WRAP_W { @@ -265,7 +263,6 @@ impl W { } #[doc = "Bits 4:5 - Core0 access crypto_peri permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_crypto_peri( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_CRYPTO_PERI_W { @@ -273,7 +270,6 @@ impl W { } #[doc = "Bits 6:7 - Core0 access crypto_dma permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_crypto_dma( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_CRYPTO_DMA_W { @@ -281,7 +277,6 @@ impl W { } #[doc = "Bits 8:9 - Core0 access apb_adc permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_apb_adc( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_APB_ADC_W { @@ -289,7 +284,6 @@ impl W { } #[doc = "Bits 10:11 - Core0 access lcd_cam permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_lcd_cam( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_LCD_CAM_W { @@ -297,7 +291,6 @@ impl W { } #[doc = "Bits 12:13 - Core0 access bt_pwr permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_bt_pwr( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_BT_PWR_W { @@ -305,7 +298,6 @@ impl W { } #[doc = "Bits 14:15 - Core0 access usb permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_usb( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_USB_W { @@ -313,7 +305,6 @@ impl W { } #[doc = "Bits 16:17 - Core0 access system permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_system( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_SYSTEM_W { @@ -321,7 +312,6 @@ impl W { } #[doc = "Bits 18:19 - Core0 access sensitive permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_sensitive( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_SENSITIVE_W { @@ -329,7 +319,6 @@ impl W { } #[doc = "Bits 20:21 - Core0 access interrupt permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_interrupt( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_INTERRUPT_W { @@ -337,7 +326,6 @@ impl W { } #[doc = "Bits 22:23 - Core0 access dma_copy permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_dma_copy( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_DMA_COPY_W { @@ -345,7 +333,6 @@ impl W { } #[doc = "Bits 24:25 - Core0 access cache_config permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_cache_config( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_CACHE_CONFIG_W { @@ -353,7 +340,6 @@ impl W { } #[doc = "Bits 26:27 - Core0 access ad permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_ad( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_AD_W { @@ -361,7 +347,6 @@ impl W { } #[doc = "Bits 28:29 - Core0 access dio permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_dio( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_DIO_W { @@ -369,7 +354,6 @@ impl W { } #[doc = "Bits 30:31 - Core0 access world_controller permission in world1."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_world_1_world_controller( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_WORLD_1_WORLD_CONTROLLER_W { diff --git a/esp32s3/src/sensitive/core_0_pif_pms_constrain_9.rs b/esp32s3/src/sensitive/core_0_pif_pms_constrain_9.rs index 3ab4c61dce..8cc38be534 100644 --- a/esp32s3/src/sensitive/core_0_pif_pms_constrain_9.rs +++ b/esp32s3/src/sensitive/core_0_pif_pms_constrain_9.rs @@ -48,7 +48,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - RTCFast memory split address in world 0 for core0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_rtcfast_spltaddr_world_0( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_RTCFAST_SPLTADDR_WORLD_0_W { @@ -56,7 +55,6 @@ impl W { } #[doc = "Bits 11:21 - RTCFast memory split address in world 1 for core0."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_constrain_rtcfast_spltaddr_world_1( &mut self, ) -> CORE_0_PIF_PMS_CONSTRAIN_RTCFAST_SPLTADDR_WORLD_1_W { diff --git a/esp32s3/src/sensitive/core_0_pif_pms_monitor_0.rs b/esp32s3/src/sensitive/core_0_pif_pms_monitor_0.rs index 28af291737..ed8497ccca 100644 --- a/esp32s3/src/sensitive/core_0_pif_pms_monitor_0.rs +++ b/esp32s3/src/sensitive/core_0_pif_pms_monitor_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock core0 permission report registers."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_monitor_lock( &mut self, ) -> CORE_0_PIF_PMS_MONITOR_LOCK_W { diff --git a/esp32s3/src/sensitive/core_0_pif_pms_monitor_1.rs b/esp32s3/src/sensitive/core_0_pif_pms_monitor_1.rs index 815d541984..f0bc418f2a 100644 --- a/esp32s3/src/sensitive/core_0_pif_pms_monitor_1.rs +++ b/esp32s3/src/sensitive/core_0_pif_pms_monitor_1.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to clear interrupt that core0 initiate illegal PIF bus access."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_monitor_violate_clr( &mut self, ) -> CORE_0_PIF_PMS_MONITOR_VIOLATE_CLR_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bit 1 - Set 1 to enable interrupt that core0 initiate illegal PIF bus access."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_monitor_violate_en( &mut self, ) -> CORE_0_PIF_PMS_MONITOR_VIOLATE_EN_W { diff --git a/esp32s3/src/sensitive/core_0_pif_pms_monitor_4.rs b/esp32s3/src/sensitive/core_0_pif_pms_monitor_4.rs index c66ce3ebf5..944ab4a143 100644 --- a/esp32s3/src/sensitive/core_0_pif_pms_monitor_4.rs +++ b/esp32s3/src/sensitive/core_0_pif_pms_monitor_4.rs @@ -44,7 +44,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to clear interrupt that core0 initiate unsupported access type."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_monitor_nonword_violate_clr( &mut self, ) -> CORE_0_PIF_PMS_MONITOR_NONWORD_VIOLATE_CLR_W { @@ -52,7 +51,6 @@ impl W { } #[doc = "Bit 1 - Set 1 to enable interrupt that core0 initiate unsupported access type."] #[inline(always)] - #[must_use] pub fn core_0_pif_pms_monitor_nonword_violate_en( &mut self, ) -> CORE_0_PIF_PMS_MONITOR_NONWORD_VIOLATE_EN_W { diff --git a/esp32s3/src/sensitive/core_0_region_pms_constrain_0.rs b/esp32s3/src/sensitive/core_0_region_pms_constrain_0.rs index 6fc37c01d0..f3e4eaab2f 100644 --- a/esp32s3/src/sensitive/core_0_region_pms_constrain_0.rs +++ b/esp32s3/src/sensitive/core_0_region_pms_constrain_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock core0 region permission registers."] #[inline(always)] - #[must_use] pub fn core_0_region_pms_constrain_lock( &mut self, ) -> CORE_0_REGION_PMS_CONSTRAIN_LOCK_W { diff --git a/esp32s3/src/sensitive/core_0_region_pms_constrain_1.rs b/esp32s3/src/sensitive/core_0_region_pms_constrain_1.rs index a2e8e83785..0005f3a4ec 100644 --- a/esp32s3/src/sensitive/core_0_region_pms_constrain_1.rs +++ b/esp32s3/src/sensitive/core_0_region_pms_constrain_1.rs @@ -179,7 +179,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Region 0 permission in world 0 for core0."] #[inline(always)] - #[must_use] pub fn core_0_region_pms_constrain_world_0_area_0( &mut self, ) -> CORE_0_REGION_PMS_CONSTRAIN_WORLD_0_AREA_0_W { @@ -187,7 +186,6 @@ impl W { } #[doc = "Bits 2:3 - Region 1 permission in world 0 for core0."] #[inline(always)] - #[must_use] pub fn core_0_region_pms_constrain_world_0_area_1( &mut self, ) -> CORE_0_REGION_PMS_CONSTRAIN_WORLD_0_AREA_1_W { @@ -195,7 +193,6 @@ impl W { } #[doc = "Bits 4:5 - Region 2 permission in world 0 for core0."] #[inline(always)] - #[must_use] pub fn core_0_region_pms_constrain_world_0_area_2( &mut self, ) -> CORE_0_REGION_PMS_CONSTRAIN_WORLD_0_AREA_2_W { @@ -203,7 +200,6 @@ impl W { } #[doc = "Bits 6:7 - Region 3 permission in world 0 for core0."] #[inline(always)] - #[must_use] pub fn core_0_region_pms_constrain_world_0_area_3( &mut self, ) -> CORE_0_REGION_PMS_CONSTRAIN_WORLD_0_AREA_3_W { @@ -211,7 +207,6 @@ impl W { } #[doc = "Bits 8:9 - Region 4 permission in world 0 for core0."] #[inline(always)] - #[must_use] pub fn core_0_region_pms_constrain_world_0_area_4( &mut self, ) -> CORE_0_REGION_PMS_CONSTRAIN_WORLD_0_AREA_4_W { @@ -219,7 +214,6 @@ impl W { } #[doc = "Bits 10:11 - Region 5 permission in world 0 for core0."] #[inline(always)] - #[must_use] pub fn core_0_region_pms_constrain_world_0_area_5( &mut self, ) -> CORE_0_REGION_PMS_CONSTRAIN_WORLD_0_AREA_5_W { @@ -227,7 +221,6 @@ impl W { } #[doc = "Bits 12:13 - Region 6 permission in world 0 for core0."] #[inline(always)] - #[must_use] pub fn core_0_region_pms_constrain_world_0_area_6( &mut self, ) -> CORE_0_REGION_PMS_CONSTRAIN_WORLD_0_AREA_6_W { @@ -235,7 +228,6 @@ impl W { } #[doc = "Bits 14:15 - Region 7 permission in world 0 for core0."] #[inline(always)] - #[must_use] pub fn core_0_region_pms_constrain_world_0_area_7( &mut self, ) -> CORE_0_REGION_PMS_CONSTRAIN_WORLD_0_AREA_7_W { @@ -243,7 +235,6 @@ impl W { } #[doc = "Bits 16:17 - Region 8 permission in world 0 for core0."] #[inline(always)] - #[must_use] pub fn core_0_region_pms_constrain_world_0_area_8( &mut self, ) -> CORE_0_REGION_PMS_CONSTRAIN_WORLD_0_AREA_8_W { @@ -251,7 +242,6 @@ impl W { } #[doc = "Bits 18:19 - Region 9 permission in world 0 for core0."] #[inline(always)] - #[must_use] pub fn core_0_region_pms_constrain_world_0_area_9( &mut self, ) -> CORE_0_REGION_PMS_CONSTRAIN_WORLD_0_AREA_9_W { @@ -259,7 +249,6 @@ impl W { } #[doc = "Bits 20:21 - Region 10 permission in world 0 for core0."] #[inline(always)] - #[must_use] pub fn core_0_region_pms_constrain_world_0_area_10( &mut self, ) -> CORE_0_REGION_PMS_CONSTRAIN_WORLD_0_AREA_10_W { diff --git a/esp32s3/src/sensitive/core_0_region_pms_constrain_10.rs b/esp32s3/src/sensitive/core_0_region_pms_constrain_10.rs index a13712d7e6..9d2589a91c 100644 --- a/esp32s3/src/sensitive/core_0_region_pms_constrain_10.rs +++ b/esp32s3/src/sensitive/core_0_region_pms_constrain_10.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Region 6 end address and Region 7 start address for core0."] #[inline(always)] - #[must_use] pub fn core_0_region_pms_constrain_addr_7( &mut self, ) -> CORE_0_REGION_PMS_CONSTRAIN_ADDR_7_W { diff --git a/esp32s3/src/sensitive/core_0_region_pms_constrain_11.rs b/esp32s3/src/sensitive/core_0_region_pms_constrain_11.rs index e3a2f9ead3..c06a8bae02 100644 --- a/esp32s3/src/sensitive/core_0_region_pms_constrain_11.rs +++ b/esp32s3/src/sensitive/core_0_region_pms_constrain_11.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Region 7 end address and Region 8 start address for core0."] #[inline(always)] - #[must_use] pub fn core_0_region_pms_constrain_addr_8( &mut self, ) -> CORE_0_REGION_PMS_CONSTRAIN_ADDR_8_W { diff --git a/esp32s3/src/sensitive/core_0_region_pms_constrain_12.rs b/esp32s3/src/sensitive/core_0_region_pms_constrain_12.rs index 45efd90e6c..384e01d9ac 100644 --- a/esp32s3/src/sensitive/core_0_region_pms_constrain_12.rs +++ b/esp32s3/src/sensitive/core_0_region_pms_constrain_12.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Region 8 end address and Region 9 start address for core0."] #[inline(always)] - #[must_use] pub fn core_0_region_pms_constrain_addr_9( &mut self, ) -> CORE_0_REGION_PMS_CONSTRAIN_ADDR_9_W { diff --git a/esp32s3/src/sensitive/core_0_region_pms_constrain_13.rs b/esp32s3/src/sensitive/core_0_region_pms_constrain_13.rs index ec3b20923b..3db34115c4 100644 --- a/esp32s3/src/sensitive/core_0_region_pms_constrain_13.rs +++ b/esp32s3/src/sensitive/core_0_region_pms_constrain_13.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Region 9 end address and Region 10 start address for core0."] #[inline(always)] - #[must_use] pub fn core_0_region_pms_constrain_addr_10( &mut self, ) -> CORE_0_REGION_PMS_CONSTRAIN_ADDR_10_W { diff --git a/esp32s3/src/sensitive/core_0_region_pms_constrain_14.rs b/esp32s3/src/sensitive/core_0_region_pms_constrain_14.rs index f0d8434fbf..fad0cdbce8 100644 --- a/esp32s3/src/sensitive/core_0_region_pms_constrain_14.rs +++ b/esp32s3/src/sensitive/core_0_region_pms_constrain_14.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Region 10 end address for core0."] #[inline(always)] - #[must_use] pub fn core_0_region_pms_constrain_addr_11( &mut self, ) -> CORE_0_REGION_PMS_CONSTRAIN_ADDR_11_W { diff --git a/esp32s3/src/sensitive/core_0_region_pms_constrain_2.rs b/esp32s3/src/sensitive/core_0_region_pms_constrain_2.rs index 3c6dfdd863..06e03db3be 100644 --- a/esp32s3/src/sensitive/core_0_region_pms_constrain_2.rs +++ b/esp32s3/src/sensitive/core_0_region_pms_constrain_2.rs @@ -179,7 +179,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Region 0 permission in world 1 for core0."] #[inline(always)] - #[must_use] pub fn core_0_region_pms_constrain_world_1_area_0( &mut self, ) -> CORE_0_REGION_PMS_CONSTRAIN_WORLD_1_AREA_0_W { @@ -187,7 +186,6 @@ impl W { } #[doc = "Bits 2:3 - Region 1 permission in world 1 for core0."] #[inline(always)] - #[must_use] pub fn core_0_region_pms_constrain_world_1_area_1( &mut self, ) -> CORE_0_REGION_PMS_CONSTRAIN_WORLD_1_AREA_1_W { @@ -195,7 +193,6 @@ impl W { } #[doc = "Bits 4:5 - Region 2 permission in world 1 for core0."] #[inline(always)] - #[must_use] pub fn core_0_region_pms_constrain_world_1_area_2( &mut self, ) -> CORE_0_REGION_PMS_CONSTRAIN_WORLD_1_AREA_2_W { @@ -203,7 +200,6 @@ impl W { } #[doc = "Bits 6:7 - Region 3 permission in world 1 for core0."] #[inline(always)] - #[must_use] pub fn core_0_region_pms_constrain_world_1_area_3( &mut self, ) -> CORE_0_REGION_PMS_CONSTRAIN_WORLD_1_AREA_3_W { @@ -211,7 +207,6 @@ impl W { } #[doc = "Bits 8:9 - Region 4 permission in world 1 for core0."] #[inline(always)] - #[must_use] pub fn core_0_region_pms_constrain_world_1_area_4( &mut self, ) -> CORE_0_REGION_PMS_CONSTRAIN_WORLD_1_AREA_4_W { @@ -219,7 +214,6 @@ impl W { } #[doc = "Bits 10:11 - Region 5 permission in world 1 for core0."] #[inline(always)] - #[must_use] pub fn core_0_region_pms_constrain_world_1_area_5( &mut self, ) -> CORE_0_REGION_PMS_CONSTRAIN_WORLD_1_AREA_5_W { @@ -227,7 +221,6 @@ impl W { } #[doc = "Bits 12:13 - Region 6 permission in world 1 for core0."] #[inline(always)] - #[must_use] pub fn core_0_region_pms_constrain_world_1_area_6( &mut self, ) -> CORE_0_REGION_PMS_CONSTRAIN_WORLD_1_AREA_6_W { @@ -235,7 +228,6 @@ impl W { } #[doc = "Bits 14:15 - Region 7 permission in world 1 for core0."] #[inline(always)] - #[must_use] pub fn core_0_region_pms_constrain_world_1_area_7( &mut self, ) -> CORE_0_REGION_PMS_CONSTRAIN_WORLD_1_AREA_7_W { @@ -243,7 +235,6 @@ impl W { } #[doc = "Bits 16:17 - Region 8 permission in world 1 for core0."] #[inline(always)] - #[must_use] pub fn core_0_region_pms_constrain_world_1_area_8( &mut self, ) -> CORE_0_REGION_PMS_CONSTRAIN_WORLD_1_AREA_8_W { @@ -251,7 +242,6 @@ impl W { } #[doc = "Bits 18:19 - Region 9 permission in world 1 for core0."] #[inline(always)] - #[must_use] pub fn core_0_region_pms_constrain_world_1_area_9( &mut self, ) -> CORE_0_REGION_PMS_CONSTRAIN_WORLD_1_AREA_9_W { @@ -259,7 +249,6 @@ impl W { } #[doc = "Bits 20:21 - Region 10 permission in world 1 for core0."] #[inline(always)] - #[must_use] pub fn core_0_region_pms_constrain_world_1_area_10( &mut self, ) -> CORE_0_REGION_PMS_CONSTRAIN_WORLD_1_AREA_10_W { diff --git a/esp32s3/src/sensitive/core_0_region_pms_constrain_3.rs b/esp32s3/src/sensitive/core_0_region_pms_constrain_3.rs index f68df7f0ce..0e56405735 100644 --- a/esp32s3/src/sensitive/core_0_region_pms_constrain_3.rs +++ b/esp32s3/src/sensitive/core_0_region_pms_constrain_3.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Region 0 start address for core0."] #[inline(always)] - #[must_use] pub fn core_0_region_pms_constrain_addr_0( &mut self, ) -> CORE_0_REGION_PMS_CONSTRAIN_ADDR_0_W { diff --git a/esp32s3/src/sensitive/core_0_region_pms_constrain_4.rs b/esp32s3/src/sensitive/core_0_region_pms_constrain_4.rs index bede420e6c..c8743c4f97 100644 --- a/esp32s3/src/sensitive/core_0_region_pms_constrain_4.rs +++ b/esp32s3/src/sensitive/core_0_region_pms_constrain_4.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Region 0 end address and Region 1 start address for core0."] #[inline(always)] - #[must_use] pub fn core_0_region_pms_constrain_addr_1( &mut self, ) -> CORE_0_REGION_PMS_CONSTRAIN_ADDR_1_W { diff --git a/esp32s3/src/sensitive/core_0_region_pms_constrain_5.rs b/esp32s3/src/sensitive/core_0_region_pms_constrain_5.rs index f17beb79e2..0995413ec4 100644 --- a/esp32s3/src/sensitive/core_0_region_pms_constrain_5.rs +++ b/esp32s3/src/sensitive/core_0_region_pms_constrain_5.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Region 1 end address and Region 2 start address for core0."] #[inline(always)] - #[must_use] pub fn core_0_region_pms_constrain_addr_2( &mut self, ) -> CORE_0_REGION_PMS_CONSTRAIN_ADDR_2_W { diff --git a/esp32s3/src/sensitive/core_0_region_pms_constrain_6.rs b/esp32s3/src/sensitive/core_0_region_pms_constrain_6.rs index 12c1edc3d3..279b335978 100644 --- a/esp32s3/src/sensitive/core_0_region_pms_constrain_6.rs +++ b/esp32s3/src/sensitive/core_0_region_pms_constrain_6.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Region 2 end address and Region 3 start address for core0."] #[inline(always)] - #[must_use] pub fn core_0_region_pms_constrain_addr_3( &mut self, ) -> CORE_0_REGION_PMS_CONSTRAIN_ADDR_3_W { diff --git a/esp32s3/src/sensitive/core_0_region_pms_constrain_7.rs b/esp32s3/src/sensitive/core_0_region_pms_constrain_7.rs index cc15f15273..b722d3a4c5 100644 --- a/esp32s3/src/sensitive/core_0_region_pms_constrain_7.rs +++ b/esp32s3/src/sensitive/core_0_region_pms_constrain_7.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Region 3 end address and Region 4 start address for core0."] #[inline(always)] - #[must_use] pub fn core_0_region_pms_constrain_addr_4( &mut self, ) -> CORE_0_REGION_PMS_CONSTRAIN_ADDR_4_W { diff --git a/esp32s3/src/sensitive/core_0_region_pms_constrain_8.rs b/esp32s3/src/sensitive/core_0_region_pms_constrain_8.rs index c5540e4e4b..3875d106c2 100644 --- a/esp32s3/src/sensitive/core_0_region_pms_constrain_8.rs +++ b/esp32s3/src/sensitive/core_0_region_pms_constrain_8.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Region 4 end address and Region 5 start address for core0."] #[inline(always)] - #[must_use] pub fn core_0_region_pms_constrain_addr_5( &mut self, ) -> CORE_0_REGION_PMS_CONSTRAIN_ADDR_5_W { diff --git a/esp32s3/src/sensitive/core_0_region_pms_constrain_9.rs b/esp32s3/src/sensitive/core_0_region_pms_constrain_9.rs index cb568c5560..70516b3d0c 100644 --- a/esp32s3/src/sensitive/core_0_region_pms_constrain_9.rs +++ b/esp32s3/src/sensitive/core_0_region_pms_constrain_9.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Region 5 end address and Region 6 start address for core0."] #[inline(always)] - #[must_use] pub fn core_0_region_pms_constrain_addr_6( &mut self, ) -> CORE_0_REGION_PMS_CONSTRAIN_ADDR_6_W { diff --git a/esp32s3/src/sensitive/core_0_toomanyexceptions_m_override_0.rs b/esp32s3/src/sensitive/core_0_toomanyexceptions_m_override_0.rs index 060219f5c9..6fd8021936 100644 --- a/esp32s3/src/sensitive/core_0_toomanyexceptions_m_override_0.rs +++ b/esp32s3/src/sensitive/core_0_toomanyexceptions_m_override_0.rs @@ -29,7 +29,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock core0 toomanyexception override configuration register"] #[inline(always)] - #[must_use] pub fn core_0_toomanyexceptions_m_override_lock( &mut self, ) -> CORE_0_TOOMANYEXCEPTIONS_M_OVERRIDE_LOCK_W diff --git a/esp32s3/src/sensitive/core_0_toomanyexceptions_m_override_1.rs b/esp32s3/src/sensitive/core_0_toomanyexceptions_m_override_1.rs index cd831c4b11..4d19f86145 100644 --- a/esp32s3/src/sensitive/core_0_toomanyexceptions_m_override_1.rs +++ b/esp32s3/src/sensitive/core_0_toomanyexceptions_m_override_1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to mask toomanyexception."] #[inline(always)] - #[must_use] pub fn core_0_toomanyexceptions_m_override( &mut self, ) -> CORE_0_TOOMANYEXCEPTIONS_M_OVERRIDE_W { diff --git a/esp32s3/src/sensitive/core_0_vecbase_override_0.rs b/esp32s3/src/sensitive/core_0_vecbase_override_0.rs index 68cd11b7db..45dde320be 100644 --- a/esp32s3/src/sensitive/core_0_vecbase_override_0.rs +++ b/esp32s3/src/sensitive/core_0_vecbase_override_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to mask world, then only world0_value will work."] #[inline(always)] - #[must_use] pub fn core_0_vecbase_world_mask( &mut self, ) -> CORE_0_VECBASE_WORLD_MASK_W { diff --git a/esp32s3/src/sensitive/core_0_vecbase_override_1.rs b/esp32s3/src/sensitive/core_0_vecbase_override_1.rs index bf846f3a65..013be2abf4 100644 --- a/esp32s3/src/sensitive/core_0_vecbase_override_1.rs +++ b/esp32s3/src/sensitive/core_0_vecbase_override_1.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - world0 vecbase_override register, when core0 in world0 use this register to override vecbase register."] #[inline(always)] - #[must_use] pub fn core_0_vecbase_override_world0_value( &mut self, ) -> CORE_0_VECBASE_OVERRIDE_WORLD0_VALUE_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bits 22:23 - Set 0x3 to sel vecbase_override to override vecbase register."] #[inline(always)] - #[must_use] pub fn core_0_vecbase_override_sel( &mut self, ) -> CORE_0_VECBASE_OVERRIDE_SEL_W { diff --git a/esp32s3/src/sensitive/core_0_vecbase_override_2.rs b/esp32s3/src/sensitive/core_0_vecbase_override_2.rs index 76ac991405..d419d8e27d 100644 --- a/esp32s3/src/sensitive/core_0_vecbase_override_2.rs +++ b/esp32s3/src/sensitive/core_0_vecbase_override_2.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - world1 vecbase_override register, when core0 in world1 use this register to override vecbase register."] #[inline(always)] - #[must_use] pub fn core_0_vecbase_override_world1_value( &mut self, ) -> CORE_0_VECBASE_OVERRIDE_WORLD1_VALUE_W { diff --git a/esp32s3/src/sensitive/core_0_vecbase_override_lock.rs b/esp32s3/src/sensitive/core_0_vecbase_override_lock.rs index a1d7daa43f..d32d93ad58 100644 --- a/esp32s3/src/sensitive/core_0_vecbase_override_lock.rs +++ b/esp32s3/src/sensitive/core_0_vecbase_override_lock.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock core0 vecbase configuration register"] #[inline(always)] - #[must_use] pub fn core_0_vecbase_override_lock( &mut self, ) -> CORE_0_VECBASE_OVERRIDE_LOCK_W { diff --git a/esp32s3/src/sensitive/core_1_dram0_pms_monitor_0.rs b/esp32s3/src/sensitive/core_1_dram0_pms_monitor_0.rs index 0318ad5806..75f6305860 100644 --- a/esp32s3/src/sensitive/core_1_dram0_pms_monitor_0.rs +++ b/esp32s3/src/sensitive/core_1_dram0_pms_monitor_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock core1 dram0 permission monitor configuration register."] #[inline(always)] - #[must_use] pub fn core_1_dram0_pms_monitor_lock( &mut self, ) -> CORE_1_DRAM0_PMS_MONITOR_LOCK_W { diff --git a/esp32s3/src/sensitive/core_1_dram0_pms_monitor_1.rs b/esp32s3/src/sensitive/core_1_dram0_pms_monitor_1.rs index 3621b4a349..23d7b455c1 100644 --- a/esp32s3/src/sensitive/core_1_dram0_pms_monitor_1.rs +++ b/esp32s3/src/sensitive/core_1_dram0_pms_monitor_1.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to clear core1 dram0 permission monior interrupt."] #[inline(always)] - #[must_use] pub fn core_1_dram0_pms_monitor_violate_clr( &mut self, ) -> CORE_1_DRAM0_PMS_MONITOR_VIOLATE_CLR_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bit 1 - Set 1 to enable core1 dram0 permission monitor interrupt."] #[inline(always)] - #[must_use] pub fn core_1_dram0_pms_monitor_violate_en( &mut self, ) -> CORE_1_DRAM0_PMS_MONITOR_VIOLATE_EN_W { diff --git a/esp32s3/src/sensitive/core_1_iram0_pms_monitor_0.rs b/esp32s3/src/sensitive/core_1_iram0_pms_monitor_0.rs index a09c3c082a..2502d0f13a 100644 --- a/esp32s3/src/sensitive/core_1_iram0_pms_monitor_0.rs +++ b/esp32s3/src/sensitive/core_1_iram0_pms_monitor_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock core1 iram0 permission monitor register"] #[inline(always)] - #[must_use] pub fn core_1_iram0_pms_monitor_lock( &mut self, ) -> CORE_1_IRAM0_PMS_MONITOR_LOCK_W { diff --git a/esp32s3/src/sensitive/core_1_iram0_pms_monitor_1.rs b/esp32s3/src/sensitive/core_1_iram0_pms_monitor_1.rs index 9c90178ee8..5e06f338ff 100644 --- a/esp32s3/src/sensitive/core_1_iram0_pms_monitor_1.rs +++ b/esp32s3/src/sensitive/core_1_iram0_pms_monitor_1.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to clear core1 iram0 permission violated interrupt"] #[inline(always)] - #[must_use] pub fn core_1_iram0_pms_monitor_violate_clr( &mut self, ) -> CORE_1_IRAM0_PMS_MONITOR_VIOLATE_CLR_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bit 1 - Set 1 to enable core1 iram0 permission monitor, when core1_iram violated permission, will trigger interrupt"] #[inline(always)] - #[must_use] pub fn core_1_iram0_pms_monitor_violate_en( &mut self, ) -> CORE_1_IRAM0_PMS_MONITOR_VIOLATE_EN_W { diff --git a/esp32s3/src/sensitive/core_1_pif_pms_constrain_0.rs b/esp32s3/src/sensitive/core_1_pif_pms_constrain_0.rs index 7b2f985b4c..0698e9d4e2 100644 --- a/esp32s3/src/sensitive/core_1_pif_pms_constrain_0.rs +++ b/esp32s3/src/sensitive/core_1_pif_pms_constrain_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock core1 pif permission configuration register."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_lock( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_LOCK_W { diff --git a/esp32s3/src/sensitive/core_1_pif_pms_constrain_1.rs b/esp32s3/src/sensitive/core_1_pif_pms_constrain_1.rs index 612bc65663..63f240d6ae 100644 --- a/esp32s3/src/sensitive/core_1_pif_pms_constrain_1.rs +++ b/esp32s3/src/sensitive/core_1_pif_pms_constrain_1.rs @@ -191,7 +191,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Core1 access uart permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_uart( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_UART_W { @@ -199,7 +198,6 @@ impl W { } #[doc = "Bits 2:3 - Core1 access g0spi_1 permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_g0spi_1( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_G0SPI_1_W { @@ -207,7 +205,6 @@ impl W { } #[doc = "Bits 4:5 - Core1 access g0spi_0 permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_g0spi_0( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_G0SPI_0_W { @@ -215,7 +212,6 @@ impl W { } #[doc = "Bits 6:7 - Core1 access gpio permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_gpio( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_GPIO_W { @@ -223,7 +219,6 @@ impl W { } #[doc = "Bits 8:9 - Core1 access fe2 permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_fe2( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_FE2_W { @@ -231,7 +226,6 @@ impl W { } #[doc = "Bits 10:11 - Core1 access fe permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_fe( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_FE_W { @@ -239,7 +233,6 @@ impl W { } #[doc = "Bits 14:15 - Core1 access rtc permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_rtc( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_RTC_W { @@ -247,7 +240,6 @@ impl W { } #[doc = "Bits 16:17 - Core1 access io_mux permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_io_mux( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_IO_MUX_W { @@ -255,7 +247,6 @@ impl W { } #[doc = "Bits 20:21 - Core1 access hinf permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_hinf( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_HINF_W { @@ -263,7 +254,6 @@ impl W { } #[doc = "Bits 24:25 - Core1 access misc permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_misc( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_MISC_W { @@ -271,7 +261,6 @@ impl W { } #[doc = "Bits 26:27 - Core1 access i2c permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_i2c( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_I2C_W { @@ -279,7 +268,6 @@ impl W { } #[doc = "Bits 28:29 - Core1 access i2s0 permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_i2s0( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_I2S0_W { @@ -287,7 +275,6 @@ impl W { } #[doc = "Bits 30:31 - Core1 access uart1 permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_uart1( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_UART1_W { diff --git a/esp32s3/src/sensitive/core_1_pif_pms_constrain_10.rs b/esp32s3/src/sensitive/core_1_pif_pms_constrain_10.rs index 83e62da609..70c209738c 100644 --- a/esp32s3/src/sensitive/core_1_pif_pms_constrain_10.rs +++ b/esp32s3/src/sensitive/core_1_pif_pms_constrain_10.rs @@ -74,7 +74,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - RTCFast memory low region permission in world 0 for core1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_rtcfast_world_0_l( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_RTCFAST_WORLD_0_L_W { @@ -82,7 +81,6 @@ impl W { } #[doc = "Bits 3:5 - RTCFast memory high region permission in world 0 for core1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_rtcfast_world_0_h( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_RTCFAST_WORLD_0_H_W { @@ -90,7 +88,6 @@ impl W { } #[doc = "Bits 6:8 - RTCFast memory low region permission in world 1 for core1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_rtcfast_world_1_l( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_RTCFAST_WORLD_1_L_W { @@ -98,7 +95,6 @@ impl W { } #[doc = "Bits 9:11 - RTCFast memory high region permission in world 1 for core1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_rtcfast_world_1_h( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_RTCFAST_WORLD_1_H_W { diff --git a/esp32s3/src/sensitive/core_1_pif_pms_constrain_11.rs b/esp32s3/src/sensitive/core_1_pif_pms_constrain_11.rs index c2c7ad67d1..17bd71389d 100644 --- a/esp32s3/src/sensitive/core_1_pif_pms_constrain_11.rs +++ b/esp32s3/src/sensitive/core_1_pif_pms_constrain_11.rs @@ -48,7 +48,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - RTCSlow_0 memory split address in world 0 for core1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_rtcslow_0_spltaddr_world_0( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_RTCSLOW_0_SPLTADDR_WORLD_0_W @@ -57,7 +56,6 @@ impl W { } #[doc = "Bits 11:21 - RTCSlow_0 memory split address in world 1 for core1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_rtcslow_0_spltaddr_world_1( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_RTCSLOW_0_SPLTADDR_WORLD_1_W diff --git a/esp32s3/src/sensitive/core_1_pif_pms_constrain_12.rs b/esp32s3/src/sensitive/core_1_pif_pms_constrain_12.rs index 83962299f0..a08cc26f2d 100644 --- a/esp32s3/src/sensitive/core_1_pif_pms_constrain_12.rs +++ b/esp32s3/src/sensitive/core_1_pif_pms_constrain_12.rs @@ -74,7 +74,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - RTCSlow_0 memory low region permission in world 0 for core1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_rtcslow_0_world_0_l( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_RTCSLOW_0_WORLD_0_L_W { @@ -82,7 +81,6 @@ impl W { } #[doc = "Bits 3:5 - RTCSlow_0 memory high region permission in world 0 for core1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_rtcslow_0_world_0_h( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_RTCSLOW_0_WORLD_0_H_W { @@ -90,7 +88,6 @@ impl W { } #[doc = "Bits 6:8 - RTCSlow_0 memory low region permission in world 1 for core1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_rtcslow_0_world_1_l( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_RTCSLOW_0_WORLD_1_L_W { @@ -98,7 +95,6 @@ impl W { } #[doc = "Bits 9:11 - RTCSlow_0 memory high region permission in world 1 for core1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_rtcslow_0_world_1_h( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_RTCSLOW_0_WORLD_1_H_W { diff --git a/esp32s3/src/sensitive/core_1_pif_pms_constrain_13.rs b/esp32s3/src/sensitive/core_1_pif_pms_constrain_13.rs index 3b7294c778..5033be1b95 100644 --- a/esp32s3/src/sensitive/core_1_pif_pms_constrain_13.rs +++ b/esp32s3/src/sensitive/core_1_pif_pms_constrain_13.rs @@ -48,7 +48,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - RTCSlow_1 memory split address in world 0 for core1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_rtcslow_1_spltaddr_world_0( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_RTCSLOW_1_SPLTADDR_WORLD_0_W @@ -57,7 +56,6 @@ impl W { } #[doc = "Bits 11:21 - RTCSlow_1 memory split address in world 1 for core1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_rtcslow_1_spltaddr_world_1( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_RTCSLOW_1_SPLTADDR_WORLD_1_W diff --git a/esp32s3/src/sensitive/core_1_pif_pms_constrain_14.rs b/esp32s3/src/sensitive/core_1_pif_pms_constrain_14.rs index 400d22a76b..c4495db563 100644 --- a/esp32s3/src/sensitive/core_1_pif_pms_constrain_14.rs +++ b/esp32s3/src/sensitive/core_1_pif_pms_constrain_14.rs @@ -74,7 +74,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - RTCSlow_1 memory low region permission in world 0 for core1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_rtcslow_1_world_0_l( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_RTCSLOW_1_WORLD_0_L_W { @@ -82,7 +81,6 @@ impl W { } #[doc = "Bits 3:5 - RTCSlow_1 memory high region permission in world 0 for core1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_rtcslow_1_world_0_h( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_RTCSLOW_1_WORLD_0_H_W { @@ -90,7 +88,6 @@ impl W { } #[doc = "Bits 6:8 - RTCSlow_1 memory low region permission in world 1 for core1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_rtcslow_1_world_1_l( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_RTCSLOW_1_WORLD_1_L_W { @@ -98,7 +95,6 @@ impl W { } #[doc = "Bits 9:11 - RTCSlow_1 memory high region permission in world 1 for core1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_rtcslow_1_world_1_h( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_RTCSLOW_1_WORLD_1_H_W { diff --git a/esp32s3/src/sensitive/core_1_pif_pms_constrain_2.rs b/esp32s3/src/sensitive/core_1_pif_pms_constrain_2.rs index 2c4215860a..e1e9851114 100644 --- a/esp32s3/src/sensitive/core_1_pif_pms_constrain_2.rs +++ b/esp32s3/src/sensitive/core_1_pif_pms_constrain_2.rs @@ -210,7 +210,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Core1 access bt permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_bt( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_BT_W { @@ -218,7 +217,6 @@ impl W { } #[doc = "Bits 4:5 - Core1 access i2c_ext0 permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_i2c_ext0( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_I2C_EXT0_W { @@ -226,7 +224,6 @@ impl W { } #[doc = "Bits 6:7 - Core1 access uhci0 permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_uhci0( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_UHCI0_W { @@ -234,7 +231,6 @@ impl W { } #[doc = "Bits 8:9 - Core1 access slchost permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_slchost( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_SLCHOST_W { @@ -242,7 +238,6 @@ impl W { } #[doc = "Bits 10:11 - Core1 access rmt permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_rmt( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_RMT_W { @@ -250,7 +245,6 @@ impl W { } #[doc = "Bits 12:13 - Core1 access pcnt permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_pcnt( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_PCNT_W { @@ -258,7 +252,6 @@ impl W { } #[doc = "Bits 14:15 - Core1 access slc permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_slc( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_SLC_W { @@ -266,7 +259,6 @@ impl W { } #[doc = "Bits 16:17 - Core1 access ledc permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_ledc( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_LEDC_W { @@ -274,7 +266,6 @@ impl W { } #[doc = "Bits 18:19 - Core1 access backup permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_backup( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_BACKUP_W { @@ -282,7 +273,6 @@ impl W { } #[doc = "Bits 22:23 - Core1 access bb permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_bb( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_BB_W { @@ -290,7 +280,6 @@ impl W { } #[doc = "Bits 24:25 - Core1 access pwm0 permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_pwm0( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_PWM0_W { @@ -298,7 +287,6 @@ impl W { } #[doc = "Bits 26:27 - Core1 access timergroup permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_timergroup( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_TIMERGROUP_W { @@ -306,7 +294,6 @@ impl W { } #[doc = "Bits 28:29 - Core1 access timergroup1 permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_timergroup1( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_TIMERGROUP1_W { @@ -314,7 +301,6 @@ impl W { } #[doc = "Bits 30:31 - Core1 access systimer permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_systimer( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_SYSTIMER_W { diff --git a/esp32s3/src/sensitive/core_1_pif_pms_constrain_3.rs b/esp32s3/src/sensitive/core_1_pif_pms_constrain_3.rs index f4aa7afe64..7c2a99c273 100644 --- a/esp32s3/src/sensitive/core_1_pif_pms_constrain_3.rs +++ b/esp32s3/src/sensitive/core_1_pif_pms_constrain_3.rs @@ -184,7 +184,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Core1 access spi_2 permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_spi_2( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_SPI_2_W { @@ -192,7 +191,6 @@ impl W { } #[doc = "Bits 2:3 - Core1 access spi_3 permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_spi_3( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_SPI_3_W { @@ -200,7 +198,6 @@ impl W { } #[doc = "Bits 4:5 - Core1 access apb_ctrl permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_apb_ctrl( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_APB_CTRL_W { @@ -208,7 +205,6 @@ impl W { } #[doc = "Bits 6:7 - Core1 access i2c_ext1 permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_i2c_ext1( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_I2C_EXT1_W { @@ -216,7 +212,6 @@ impl W { } #[doc = "Bits 8:9 - Core1 access sdio_host permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_sdio_host( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_SDIO_HOST_W { @@ -224,7 +219,6 @@ impl W { } #[doc = "Bits 10:11 - Core1 access can permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_can( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_CAN_W { @@ -232,7 +226,6 @@ impl W { } #[doc = "Bits 12:13 - Core1 access pwm1 permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_pwm1( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_PWM1_W { @@ -240,7 +233,6 @@ impl W { } #[doc = "Bits 14:15 - Core1 access i2s1 permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_i2s1( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_I2S1_W { @@ -248,7 +240,6 @@ impl W { } #[doc = "Bits 16:17 - Core1 access uart2 permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_uart2( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_UART2_W { @@ -256,7 +247,6 @@ impl W { } #[doc = "Bits 22:23 - Core1 access rwbt permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_rwbt( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_RWBT_W { @@ -264,7 +254,6 @@ impl W { } #[doc = "Bits 26:27 - Core1 access wifimac permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_wifimac( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_WIFIMAC_W { @@ -272,7 +261,6 @@ impl W { } #[doc = "Bits 28:29 - Core1 access pwr permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_pwr( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_PWR_W { diff --git a/esp32s3/src/sensitive/core_1_pif_pms_constrain_4.rs b/esp32s3/src/sensitive/core_1_pif_pms_constrain_4.rs index f74f976115..4a94655db2 100644 --- a/esp32s3/src/sensitive/core_1_pif_pms_constrain_4.rs +++ b/esp32s3/src/sensitive/core_1_pif_pms_constrain_4.rs @@ -249,7 +249,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Core1 access usb_device permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_usb_device( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_USB_DEVICE_W { @@ -257,7 +256,6 @@ impl W { } #[doc = "Bits 2:3 - Core1 access usb_wrap permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_usb_wrap( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_USB_WRAP_W { @@ -265,7 +263,6 @@ impl W { } #[doc = "Bits 4:5 - Core1 access crypto_peri permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_crypto_peri( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_CRYPTO_PERI_W { @@ -273,7 +270,6 @@ impl W { } #[doc = "Bits 6:7 - Core1 access crypto_dma permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_crypto_dma( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_CRYPTO_DMA_W { @@ -281,7 +277,6 @@ impl W { } #[doc = "Bits 8:9 - Core1 access apb_adc permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_apb_adc( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_APB_ADC_W { @@ -289,7 +284,6 @@ impl W { } #[doc = "Bits 10:11 - Core1 access lcd_cam permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_lcd_cam( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_LCD_CAM_W { @@ -297,7 +291,6 @@ impl W { } #[doc = "Bits 12:13 - Core1 access bt_pwr permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_bt_pwr( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_BT_PWR_W { @@ -305,7 +298,6 @@ impl W { } #[doc = "Bits 14:15 - Core1 access usb permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_usb( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_USB_W { @@ -313,7 +305,6 @@ impl W { } #[doc = "Bits 16:17 - Core1 access system permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_system( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_SYSTEM_W { @@ -321,7 +312,6 @@ impl W { } #[doc = "Bits 18:19 - Core1 access sensitive permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_sensitive( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_SENSITIVE_W { @@ -329,7 +319,6 @@ impl W { } #[doc = "Bits 20:21 - Core1 access interrupt permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_interrupt( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_INTERRUPT_W { @@ -337,7 +326,6 @@ impl W { } #[doc = "Bits 22:23 - Core1 access dma_copy permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_dma_copy( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_DMA_COPY_W { @@ -345,7 +333,6 @@ impl W { } #[doc = "Bits 24:25 - Core1 access cache_config permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_cache_config( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_CACHE_CONFIG_W { @@ -353,7 +340,6 @@ impl W { } #[doc = "Bits 26:27 - Core1 access ad permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_ad( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_AD_W { @@ -361,7 +347,6 @@ impl W { } #[doc = "Bits 28:29 - Core1 access dio permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_dio( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_DIO_W { @@ -369,7 +354,6 @@ impl W { } #[doc = "Bits 30:31 - Core1 access world_controller permission in world0."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_0_world_controller( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_0_WORLD_CONTROLLER_W { diff --git a/esp32s3/src/sensitive/core_1_pif_pms_constrain_5.rs b/esp32s3/src/sensitive/core_1_pif_pms_constrain_5.rs index 6f2dfef043..2d78bb921e 100644 --- a/esp32s3/src/sensitive/core_1_pif_pms_constrain_5.rs +++ b/esp32s3/src/sensitive/core_1_pif_pms_constrain_5.rs @@ -191,7 +191,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Core1 access uart permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_uart( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_UART_W { @@ -199,7 +198,6 @@ impl W { } #[doc = "Bits 2:3 - Core1 access g0spi_1 permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_g0spi_1( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_G0SPI_1_W { @@ -207,7 +205,6 @@ impl W { } #[doc = "Bits 4:5 - Core1 access g0spi_0 permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_g0spi_0( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_G0SPI_0_W { @@ -215,7 +212,6 @@ impl W { } #[doc = "Bits 6:7 - Core1 access gpio permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_gpio( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_GPIO_W { @@ -223,7 +219,6 @@ impl W { } #[doc = "Bits 8:9 - Core1 access fe2 permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_fe2( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_FE2_W { @@ -231,7 +226,6 @@ impl W { } #[doc = "Bits 10:11 - Core1 access fe permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_fe( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_FE_W { @@ -239,7 +233,6 @@ impl W { } #[doc = "Bits 14:15 - Core1 access rtc permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_rtc( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_RTC_W { @@ -247,7 +240,6 @@ impl W { } #[doc = "Bits 16:17 - Core1 access io_mux permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_io_mux( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_IO_MUX_W { @@ -255,7 +247,6 @@ impl W { } #[doc = "Bits 20:21 - Core1 access hinf permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_hinf( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_HINF_W { @@ -263,7 +254,6 @@ impl W { } #[doc = "Bits 24:25 - Core1 access misc permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_misc( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_MISC_W { @@ -271,7 +261,6 @@ impl W { } #[doc = "Bits 26:27 - Core1 access i2c permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_i2c( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_I2C_W { @@ -279,7 +268,6 @@ impl W { } #[doc = "Bits 28:29 - Core1 access i2s0 permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_i2s0( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_I2S0_W { @@ -287,7 +275,6 @@ impl W { } #[doc = "Bits 30:31 - Core1 access uart1 permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_uart1( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_UART1_W { diff --git a/esp32s3/src/sensitive/core_1_pif_pms_constrain_6.rs b/esp32s3/src/sensitive/core_1_pif_pms_constrain_6.rs index e2e7cf6efc..e36984bb6e 100644 --- a/esp32s3/src/sensitive/core_1_pif_pms_constrain_6.rs +++ b/esp32s3/src/sensitive/core_1_pif_pms_constrain_6.rs @@ -210,7 +210,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Core1 access bt permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_bt( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_BT_W { @@ -218,7 +217,6 @@ impl W { } #[doc = "Bits 4:5 - Core1 access i2c_ext0 permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_i2c_ext0( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_I2C_EXT0_W { @@ -226,7 +224,6 @@ impl W { } #[doc = "Bits 6:7 - Core1 access uhci0 permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_uhci0( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_UHCI0_W { @@ -234,7 +231,6 @@ impl W { } #[doc = "Bits 8:9 - Core1 access slchost permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_slchost( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_SLCHOST_W { @@ -242,7 +238,6 @@ impl W { } #[doc = "Bits 10:11 - Core1 access rmt permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_rmt( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_RMT_W { @@ -250,7 +245,6 @@ impl W { } #[doc = "Bits 12:13 - Core1 access pcnt permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_pcnt( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_PCNT_W { @@ -258,7 +252,6 @@ impl W { } #[doc = "Bits 14:15 - Core1 access slc permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_slc( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_SLC_W { @@ -266,7 +259,6 @@ impl W { } #[doc = "Bits 16:17 - Core1 access ledc permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_ledc( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_LEDC_W { @@ -274,7 +266,6 @@ impl W { } #[doc = "Bits 18:19 - Core1 access backup permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_backup( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_BACKUP_W { @@ -282,7 +273,6 @@ impl W { } #[doc = "Bits 22:23 - Core1 access bb permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_bb( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_BB_W { @@ -290,7 +280,6 @@ impl W { } #[doc = "Bits 24:25 - Core1 access pwm0 permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_pwm0( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_PWM0_W { @@ -298,7 +287,6 @@ impl W { } #[doc = "Bits 26:27 - Core1 access timergroup permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_timergroup( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_TIMERGROUP_W { @@ -306,7 +294,6 @@ impl W { } #[doc = "Bits 28:29 - Core1 access timergroup1 permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_timergroup1( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_TIMERGROUP1_W { @@ -314,7 +301,6 @@ impl W { } #[doc = "Bits 30:31 - Core1 access systimer permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_systimer( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_SYSTIMER_W { diff --git a/esp32s3/src/sensitive/core_1_pif_pms_constrain_7.rs b/esp32s3/src/sensitive/core_1_pif_pms_constrain_7.rs index 43b068fcb1..89e450a1b0 100644 --- a/esp32s3/src/sensitive/core_1_pif_pms_constrain_7.rs +++ b/esp32s3/src/sensitive/core_1_pif_pms_constrain_7.rs @@ -184,7 +184,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Core1 access spi_2 permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_spi_2( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_SPI_2_W { @@ -192,7 +191,6 @@ impl W { } #[doc = "Bits 2:3 - Core1 access spi_3 permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_spi_3( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_SPI_3_W { @@ -200,7 +198,6 @@ impl W { } #[doc = "Bits 4:5 - Core1 access apb_ctrl permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_apb_ctrl( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_APB_CTRL_W { @@ -208,7 +205,6 @@ impl W { } #[doc = "Bits 6:7 - Core1 access i2c_ext1 permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_i2c_ext1( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_I2C_EXT1_W { @@ -216,7 +212,6 @@ impl W { } #[doc = "Bits 8:9 - Core1 access sdio_host permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_sdio_host( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_SDIO_HOST_W { @@ -224,7 +219,6 @@ impl W { } #[doc = "Bits 10:11 - Core1 access can permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_can( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_CAN_W { @@ -232,7 +226,6 @@ impl W { } #[doc = "Bits 12:13 - Core1 access pwm1 permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_pwm1( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_PWM1_W { @@ -240,7 +233,6 @@ impl W { } #[doc = "Bits 14:15 - Core1 access i2s1 permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_i2s1( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_I2S1_W { @@ -248,7 +240,6 @@ impl W { } #[doc = "Bits 16:17 - Core1 access uart2 permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_uart2( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_UART2_W { @@ -256,7 +247,6 @@ impl W { } #[doc = "Bits 22:23 - Core1 access rwbt permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_rwbt( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_RWBT_W { @@ -264,7 +254,6 @@ impl W { } #[doc = "Bits 26:27 - Core1 access wifimac permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_wifimac( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_WIFIMAC_W { @@ -272,7 +261,6 @@ impl W { } #[doc = "Bits 28:29 - Core1 access pwr permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_pwr( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_PWR_W { diff --git a/esp32s3/src/sensitive/core_1_pif_pms_constrain_8.rs b/esp32s3/src/sensitive/core_1_pif_pms_constrain_8.rs index 253729eb0f..135ff6d136 100644 --- a/esp32s3/src/sensitive/core_1_pif_pms_constrain_8.rs +++ b/esp32s3/src/sensitive/core_1_pif_pms_constrain_8.rs @@ -249,7 +249,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Core1 access usb_device permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_usb_device( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_USB_DEVICE_W { @@ -257,7 +256,6 @@ impl W { } #[doc = "Bits 2:3 - Core1 access usb_wrap permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_usb_wrap( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_USB_WRAP_W { @@ -265,7 +263,6 @@ impl W { } #[doc = "Bits 4:5 - Core1 access crypto_peri permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_crypto_peri( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_CRYPTO_PERI_W { @@ -273,7 +270,6 @@ impl W { } #[doc = "Bits 6:7 - Core1 access crypto_dma permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_crypto_dma( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_CRYPTO_DMA_W { @@ -281,7 +277,6 @@ impl W { } #[doc = "Bits 8:9 - Core1 access apb_adc permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_apb_adc( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_APB_ADC_W { @@ -289,7 +284,6 @@ impl W { } #[doc = "Bits 10:11 - Core1 access lcd_cam permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_lcd_cam( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_LCD_CAM_W { @@ -297,7 +291,6 @@ impl W { } #[doc = "Bits 12:13 - Core1 access bt_pwr permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_bt_pwr( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_BT_PWR_W { @@ -305,7 +298,6 @@ impl W { } #[doc = "Bits 14:15 - Core1 access usb permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_usb( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_USB_W { @@ -313,7 +305,6 @@ impl W { } #[doc = "Bits 16:17 - Core1 access system permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_system( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_SYSTEM_W { @@ -321,7 +312,6 @@ impl W { } #[doc = "Bits 18:19 - Core1 access sensitive permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_sensitive( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_SENSITIVE_W { @@ -329,7 +319,6 @@ impl W { } #[doc = "Bits 20:21 - Core1 access interrupt permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_interrupt( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_INTERRUPT_W { @@ -337,7 +326,6 @@ impl W { } #[doc = "Bits 22:23 - Core1 access dma_copy permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_dma_copy( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_DMA_COPY_W { @@ -345,7 +333,6 @@ impl W { } #[doc = "Bits 24:25 - Core1 access cache_config permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_cache_config( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_CACHE_CONFIG_W { @@ -353,7 +340,6 @@ impl W { } #[doc = "Bits 26:27 - Core1 access ad permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_ad( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_AD_W { @@ -361,7 +347,6 @@ impl W { } #[doc = "Bits 28:29 - Core1 access dio permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_dio( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_DIO_W { @@ -369,7 +354,6 @@ impl W { } #[doc = "Bits 30:31 - Core1 access world_controller permission in world1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_world_1_world_controller( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_WORLD_1_WORLD_CONTROLLER_W { diff --git a/esp32s3/src/sensitive/core_1_pif_pms_constrain_9.rs b/esp32s3/src/sensitive/core_1_pif_pms_constrain_9.rs index 471ecd0de0..8c43b67a4d 100644 --- a/esp32s3/src/sensitive/core_1_pif_pms_constrain_9.rs +++ b/esp32s3/src/sensitive/core_1_pif_pms_constrain_9.rs @@ -48,7 +48,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10 - RTCFast memory split address in world 0 for core1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_rtcfast_spltaddr_world_0( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_RTCFAST_SPLTADDR_WORLD_0_W { @@ -56,7 +55,6 @@ impl W { } #[doc = "Bits 11:21 - RTCFast memory split address in world 1 for core1."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_constrain_rtcfast_spltaddr_world_1( &mut self, ) -> CORE_1_PIF_PMS_CONSTRAIN_RTCFAST_SPLTADDR_WORLD_1_W { diff --git a/esp32s3/src/sensitive/core_1_pif_pms_monitor_0.rs b/esp32s3/src/sensitive/core_1_pif_pms_monitor_0.rs index 9b0c0d5e41..94e797653f 100644 --- a/esp32s3/src/sensitive/core_1_pif_pms_monitor_0.rs +++ b/esp32s3/src/sensitive/core_1_pif_pms_monitor_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock core1 permission report registers."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_monitor_lock( &mut self, ) -> CORE_1_PIF_PMS_MONITOR_LOCK_W { diff --git a/esp32s3/src/sensitive/core_1_pif_pms_monitor_1.rs b/esp32s3/src/sensitive/core_1_pif_pms_monitor_1.rs index de902f5378..ecc0df814b 100644 --- a/esp32s3/src/sensitive/core_1_pif_pms_monitor_1.rs +++ b/esp32s3/src/sensitive/core_1_pif_pms_monitor_1.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to clear interrupt that core1 initiate illegal PIF bus access."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_monitor_violate_clr( &mut self, ) -> CORE_1_PIF_PMS_MONITOR_VIOLATE_CLR_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bit 1 - Set 1 to enable interrupt that core1 initiate illegal PIF bus access."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_monitor_violate_en( &mut self, ) -> CORE_1_PIF_PMS_MONITOR_VIOLATE_EN_W { diff --git a/esp32s3/src/sensitive/core_1_pif_pms_monitor_4.rs b/esp32s3/src/sensitive/core_1_pif_pms_monitor_4.rs index 3ddd88d623..9e5f66efc5 100644 --- a/esp32s3/src/sensitive/core_1_pif_pms_monitor_4.rs +++ b/esp32s3/src/sensitive/core_1_pif_pms_monitor_4.rs @@ -44,7 +44,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to clear interrupt that core1 initiate unsupported access type."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_monitor_nonword_violate_clr( &mut self, ) -> CORE_1_PIF_PMS_MONITOR_NONWORD_VIOLATE_CLR_W { @@ -52,7 +51,6 @@ impl W { } #[doc = "Bit 1 - Set 1 to enable interrupt that core1 initiate unsupported access type."] #[inline(always)] - #[must_use] pub fn core_1_pif_pms_monitor_nonword_violate_en( &mut self, ) -> CORE_1_PIF_PMS_MONITOR_NONWORD_VIOLATE_EN_W { diff --git a/esp32s3/src/sensitive/core_1_region_pms_constrain_0.rs b/esp32s3/src/sensitive/core_1_region_pms_constrain_0.rs index e91a2d18f5..5bc4366812 100644 --- a/esp32s3/src/sensitive/core_1_region_pms_constrain_0.rs +++ b/esp32s3/src/sensitive/core_1_region_pms_constrain_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock core1 region permission registers."] #[inline(always)] - #[must_use] pub fn core_1_region_pms_constrain_lock( &mut self, ) -> CORE_1_REGION_PMS_CONSTRAIN_LOCK_W { diff --git a/esp32s3/src/sensitive/core_1_region_pms_constrain_1.rs b/esp32s3/src/sensitive/core_1_region_pms_constrain_1.rs index bd3fd579da..dc0933908f 100644 --- a/esp32s3/src/sensitive/core_1_region_pms_constrain_1.rs +++ b/esp32s3/src/sensitive/core_1_region_pms_constrain_1.rs @@ -179,7 +179,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Region 0 permission in world 0 for core1."] #[inline(always)] - #[must_use] pub fn core_1_region_pms_constrain_world_0_area_0( &mut self, ) -> CORE_1_REGION_PMS_CONSTRAIN_WORLD_0_AREA_0_W { @@ -187,7 +186,6 @@ impl W { } #[doc = "Bits 2:3 - Region 1 permission in world 0 for core1."] #[inline(always)] - #[must_use] pub fn core_1_region_pms_constrain_world_0_area_1( &mut self, ) -> CORE_1_REGION_PMS_CONSTRAIN_WORLD_0_AREA_1_W { @@ -195,7 +193,6 @@ impl W { } #[doc = "Bits 4:5 - Region 2 permission in world 0 for core1."] #[inline(always)] - #[must_use] pub fn core_1_region_pms_constrain_world_0_area_2( &mut self, ) -> CORE_1_REGION_PMS_CONSTRAIN_WORLD_0_AREA_2_W { @@ -203,7 +200,6 @@ impl W { } #[doc = "Bits 6:7 - Region 3 permission in world 0 for core1."] #[inline(always)] - #[must_use] pub fn core_1_region_pms_constrain_world_0_area_3( &mut self, ) -> CORE_1_REGION_PMS_CONSTRAIN_WORLD_0_AREA_3_W { @@ -211,7 +207,6 @@ impl W { } #[doc = "Bits 8:9 - Region 4 permission in world 0 for core1."] #[inline(always)] - #[must_use] pub fn core_1_region_pms_constrain_world_0_area_4( &mut self, ) -> CORE_1_REGION_PMS_CONSTRAIN_WORLD_0_AREA_4_W { @@ -219,7 +214,6 @@ impl W { } #[doc = "Bits 10:11 - Region 5 permission in world 0 for core1."] #[inline(always)] - #[must_use] pub fn core_1_region_pms_constrain_world_0_area_5( &mut self, ) -> CORE_1_REGION_PMS_CONSTRAIN_WORLD_0_AREA_5_W { @@ -227,7 +221,6 @@ impl W { } #[doc = "Bits 12:13 - Region 6 permission in world 0 for core1."] #[inline(always)] - #[must_use] pub fn core_1_region_pms_constrain_world_0_area_6( &mut self, ) -> CORE_1_REGION_PMS_CONSTRAIN_WORLD_0_AREA_6_W { @@ -235,7 +228,6 @@ impl W { } #[doc = "Bits 14:15 - Region 7 permission in world 0 for core1."] #[inline(always)] - #[must_use] pub fn core_1_region_pms_constrain_world_0_area_7( &mut self, ) -> CORE_1_REGION_PMS_CONSTRAIN_WORLD_0_AREA_7_W { @@ -243,7 +235,6 @@ impl W { } #[doc = "Bits 16:17 - Region 8 permission in world 0 for core1."] #[inline(always)] - #[must_use] pub fn core_1_region_pms_constrain_world_0_area_8( &mut self, ) -> CORE_1_REGION_PMS_CONSTRAIN_WORLD_0_AREA_8_W { @@ -251,7 +242,6 @@ impl W { } #[doc = "Bits 18:19 - Region 9 permission in world 0 for core1."] #[inline(always)] - #[must_use] pub fn core_1_region_pms_constrain_world_0_area_9( &mut self, ) -> CORE_1_REGION_PMS_CONSTRAIN_WORLD_0_AREA_9_W { @@ -259,7 +249,6 @@ impl W { } #[doc = "Bits 20:21 - Region 10 permission in world 0 for core1."] #[inline(always)] - #[must_use] pub fn core_1_region_pms_constrain_world_0_area_10( &mut self, ) -> CORE_1_REGION_PMS_CONSTRAIN_WORLD_0_AREA_10_W { diff --git a/esp32s3/src/sensitive/core_1_region_pms_constrain_10.rs b/esp32s3/src/sensitive/core_1_region_pms_constrain_10.rs index 297467df8f..7059bc350c 100644 --- a/esp32s3/src/sensitive/core_1_region_pms_constrain_10.rs +++ b/esp32s3/src/sensitive/core_1_region_pms_constrain_10.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Region 6 end address and Region 7 start address for core1."] #[inline(always)] - #[must_use] pub fn core_1_region_pms_constrain_addr_7( &mut self, ) -> CORE_1_REGION_PMS_CONSTRAIN_ADDR_7_W { diff --git a/esp32s3/src/sensitive/core_1_region_pms_constrain_11.rs b/esp32s3/src/sensitive/core_1_region_pms_constrain_11.rs index 3653d3a32e..2c3bbb0c7a 100644 --- a/esp32s3/src/sensitive/core_1_region_pms_constrain_11.rs +++ b/esp32s3/src/sensitive/core_1_region_pms_constrain_11.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Region 7 end address and Region 8 start address for core1."] #[inline(always)] - #[must_use] pub fn core_1_region_pms_constrain_addr_8( &mut self, ) -> CORE_1_REGION_PMS_CONSTRAIN_ADDR_8_W { diff --git a/esp32s3/src/sensitive/core_1_region_pms_constrain_12.rs b/esp32s3/src/sensitive/core_1_region_pms_constrain_12.rs index 8cca7db979..f8ce493bf2 100644 --- a/esp32s3/src/sensitive/core_1_region_pms_constrain_12.rs +++ b/esp32s3/src/sensitive/core_1_region_pms_constrain_12.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Region 8 end address and Region 9 start address for core1."] #[inline(always)] - #[must_use] pub fn core_1_region_pms_constrain_addr_9( &mut self, ) -> CORE_1_REGION_PMS_CONSTRAIN_ADDR_9_W { diff --git a/esp32s3/src/sensitive/core_1_region_pms_constrain_13.rs b/esp32s3/src/sensitive/core_1_region_pms_constrain_13.rs index 3556f74e66..6f83ca0fba 100644 --- a/esp32s3/src/sensitive/core_1_region_pms_constrain_13.rs +++ b/esp32s3/src/sensitive/core_1_region_pms_constrain_13.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Region 9 end address and Region 10 start address for core1."] #[inline(always)] - #[must_use] pub fn core_1_region_pms_constrain_addr_10( &mut self, ) -> CORE_1_REGION_PMS_CONSTRAIN_ADDR_10_W { diff --git a/esp32s3/src/sensitive/core_1_region_pms_constrain_14.rs b/esp32s3/src/sensitive/core_1_region_pms_constrain_14.rs index f028101836..478664477f 100644 --- a/esp32s3/src/sensitive/core_1_region_pms_constrain_14.rs +++ b/esp32s3/src/sensitive/core_1_region_pms_constrain_14.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Region 10 end address for core1."] #[inline(always)] - #[must_use] pub fn core_1_region_pms_constrain_addr_11( &mut self, ) -> CORE_1_REGION_PMS_CONSTRAIN_ADDR_11_W { diff --git a/esp32s3/src/sensitive/core_1_region_pms_constrain_2.rs b/esp32s3/src/sensitive/core_1_region_pms_constrain_2.rs index 233207f50f..e73e6d4ac3 100644 --- a/esp32s3/src/sensitive/core_1_region_pms_constrain_2.rs +++ b/esp32s3/src/sensitive/core_1_region_pms_constrain_2.rs @@ -179,7 +179,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Region 0 permission in world 1 for core1."] #[inline(always)] - #[must_use] pub fn core_1_region_pms_constrain_world_1_area_0( &mut self, ) -> CORE_1_REGION_PMS_CONSTRAIN_WORLD_1_AREA_0_W { @@ -187,7 +186,6 @@ impl W { } #[doc = "Bits 2:3 - Region 1 permission in world 1 for core1."] #[inline(always)] - #[must_use] pub fn core_1_region_pms_constrain_world_1_area_1( &mut self, ) -> CORE_1_REGION_PMS_CONSTRAIN_WORLD_1_AREA_1_W { @@ -195,7 +193,6 @@ impl W { } #[doc = "Bits 4:5 - Region 2 permission in world 1 for core1."] #[inline(always)] - #[must_use] pub fn core_1_region_pms_constrain_world_1_area_2( &mut self, ) -> CORE_1_REGION_PMS_CONSTRAIN_WORLD_1_AREA_2_W { @@ -203,7 +200,6 @@ impl W { } #[doc = "Bits 6:7 - Region 3 permission in world 1 for core1."] #[inline(always)] - #[must_use] pub fn core_1_region_pms_constrain_world_1_area_3( &mut self, ) -> CORE_1_REGION_PMS_CONSTRAIN_WORLD_1_AREA_3_W { @@ -211,7 +207,6 @@ impl W { } #[doc = "Bits 8:9 - Region 4 permission in world 1 for core1."] #[inline(always)] - #[must_use] pub fn core_1_region_pms_constrain_world_1_area_4( &mut self, ) -> CORE_1_REGION_PMS_CONSTRAIN_WORLD_1_AREA_4_W { @@ -219,7 +214,6 @@ impl W { } #[doc = "Bits 10:11 - Region 5 permission in world 1 for core1."] #[inline(always)] - #[must_use] pub fn core_1_region_pms_constrain_world_1_area_5( &mut self, ) -> CORE_1_REGION_PMS_CONSTRAIN_WORLD_1_AREA_5_W { @@ -227,7 +221,6 @@ impl W { } #[doc = "Bits 12:13 - Region 6 permission in world 1 for core1."] #[inline(always)] - #[must_use] pub fn core_1_region_pms_constrain_world_1_area_6( &mut self, ) -> CORE_1_REGION_PMS_CONSTRAIN_WORLD_1_AREA_6_W { @@ -235,7 +228,6 @@ impl W { } #[doc = "Bits 14:15 - Region 7 permission in world 1 for core1."] #[inline(always)] - #[must_use] pub fn core_1_region_pms_constrain_world_1_area_7( &mut self, ) -> CORE_1_REGION_PMS_CONSTRAIN_WORLD_1_AREA_7_W { @@ -243,7 +235,6 @@ impl W { } #[doc = "Bits 16:17 - Region 8 permission in world 1 for core1."] #[inline(always)] - #[must_use] pub fn core_1_region_pms_constrain_world_1_area_8( &mut self, ) -> CORE_1_REGION_PMS_CONSTRAIN_WORLD_1_AREA_8_W { @@ -251,7 +242,6 @@ impl W { } #[doc = "Bits 18:19 - Region 9 permission in world 1 for core1."] #[inline(always)] - #[must_use] pub fn core_1_region_pms_constrain_world_1_area_9( &mut self, ) -> CORE_1_REGION_PMS_CONSTRAIN_WORLD_1_AREA_9_W { @@ -259,7 +249,6 @@ impl W { } #[doc = "Bits 20:21 - Region 10 permission in world 1 for core1."] #[inline(always)] - #[must_use] pub fn core_1_region_pms_constrain_world_1_area_10( &mut self, ) -> CORE_1_REGION_PMS_CONSTRAIN_WORLD_1_AREA_10_W { diff --git a/esp32s3/src/sensitive/core_1_region_pms_constrain_3.rs b/esp32s3/src/sensitive/core_1_region_pms_constrain_3.rs index a6cd728344..8c8a42af6d 100644 --- a/esp32s3/src/sensitive/core_1_region_pms_constrain_3.rs +++ b/esp32s3/src/sensitive/core_1_region_pms_constrain_3.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Region 0 start address for core1."] #[inline(always)] - #[must_use] pub fn core_1_region_pms_constrain_addr_0( &mut self, ) -> CORE_1_REGION_PMS_CONSTRAIN_ADDR_0_W { diff --git a/esp32s3/src/sensitive/core_1_region_pms_constrain_4.rs b/esp32s3/src/sensitive/core_1_region_pms_constrain_4.rs index 62b95fd715..7e0fcf9e03 100644 --- a/esp32s3/src/sensitive/core_1_region_pms_constrain_4.rs +++ b/esp32s3/src/sensitive/core_1_region_pms_constrain_4.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Region 0 end address and Region 1 start address for core1."] #[inline(always)] - #[must_use] pub fn core_1_region_pms_constrain_addr_1( &mut self, ) -> CORE_1_REGION_PMS_CONSTRAIN_ADDR_1_W { diff --git a/esp32s3/src/sensitive/core_1_region_pms_constrain_5.rs b/esp32s3/src/sensitive/core_1_region_pms_constrain_5.rs index f5f50f16a8..3760d7af4d 100644 --- a/esp32s3/src/sensitive/core_1_region_pms_constrain_5.rs +++ b/esp32s3/src/sensitive/core_1_region_pms_constrain_5.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Region 1 end address and Region 2 start address for core1."] #[inline(always)] - #[must_use] pub fn core_1_region_pms_constrain_addr_2( &mut self, ) -> CORE_1_REGION_PMS_CONSTRAIN_ADDR_2_W { diff --git a/esp32s3/src/sensitive/core_1_region_pms_constrain_6.rs b/esp32s3/src/sensitive/core_1_region_pms_constrain_6.rs index e3d94ac146..6808c033b8 100644 --- a/esp32s3/src/sensitive/core_1_region_pms_constrain_6.rs +++ b/esp32s3/src/sensitive/core_1_region_pms_constrain_6.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Region 2 end address and Region 3 start address for core1."] #[inline(always)] - #[must_use] pub fn core_1_region_pms_constrain_addr_3( &mut self, ) -> CORE_1_REGION_PMS_CONSTRAIN_ADDR_3_W { diff --git a/esp32s3/src/sensitive/core_1_region_pms_constrain_7.rs b/esp32s3/src/sensitive/core_1_region_pms_constrain_7.rs index 2661e892b1..8873c10dfb 100644 --- a/esp32s3/src/sensitive/core_1_region_pms_constrain_7.rs +++ b/esp32s3/src/sensitive/core_1_region_pms_constrain_7.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Region 3 end address and Region 4 start address for core1."] #[inline(always)] - #[must_use] pub fn core_1_region_pms_constrain_addr_4( &mut self, ) -> CORE_1_REGION_PMS_CONSTRAIN_ADDR_4_W { diff --git a/esp32s3/src/sensitive/core_1_region_pms_constrain_8.rs b/esp32s3/src/sensitive/core_1_region_pms_constrain_8.rs index 91bd7bc949..44db8322f4 100644 --- a/esp32s3/src/sensitive/core_1_region_pms_constrain_8.rs +++ b/esp32s3/src/sensitive/core_1_region_pms_constrain_8.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Region 4 end address and Region 5 start address for core1."] #[inline(always)] - #[must_use] pub fn core_1_region_pms_constrain_addr_5( &mut self, ) -> CORE_1_REGION_PMS_CONSTRAIN_ADDR_5_W { diff --git a/esp32s3/src/sensitive/core_1_region_pms_constrain_9.rs b/esp32s3/src/sensitive/core_1_region_pms_constrain_9.rs index 392b06cdb9..61953fd1a2 100644 --- a/esp32s3/src/sensitive/core_1_region_pms_constrain_9.rs +++ b/esp32s3/src/sensitive/core_1_region_pms_constrain_9.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Region 5 end address and Region 6 start address for core1."] #[inline(always)] - #[must_use] pub fn core_1_region_pms_constrain_addr_6( &mut self, ) -> CORE_1_REGION_PMS_CONSTRAIN_ADDR_6_W { diff --git a/esp32s3/src/sensitive/core_1_toomanyexceptions_m_override_0.rs b/esp32s3/src/sensitive/core_1_toomanyexceptions_m_override_0.rs index f1a3bf9cf8..1a3712058e 100644 --- a/esp32s3/src/sensitive/core_1_toomanyexceptions_m_override_0.rs +++ b/esp32s3/src/sensitive/core_1_toomanyexceptions_m_override_0.rs @@ -29,7 +29,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock core1 toomanyexception override configuration register"] #[inline(always)] - #[must_use] pub fn core_1_toomanyexceptions_m_override_lock( &mut self, ) -> CORE_1_TOOMANYEXCEPTIONS_M_OVERRIDE_LOCK_W diff --git a/esp32s3/src/sensitive/core_1_toomanyexceptions_m_override_1.rs b/esp32s3/src/sensitive/core_1_toomanyexceptions_m_override_1.rs index 8a6d6056b9..1a25e6d44a 100644 --- a/esp32s3/src/sensitive/core_1_toomanyexceptions_m_override_1.rs +++ b/esp32s3/src/sensitive/core_1_toomanyexceptions_m_override_1.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to mask toomanyexception."] #[inline(always)] - #[must_use] pub fn core_1_toomanyexceptions_m_override( &mut self, ) -> CORE_1_TOOMANYEXCEPTIONS_M_OVERRIDE_W { diff --git a/esp32s3/src/sensitive/core_1_vecbase_override_0.rs b/esp32s3/src/sensitive/core_1_vecbase_override_0.rs index ae99575dc0..3e9c55250d 100644 --- a/esp32s3/src/sensitive/core_1_vecbase_override_0.rs +++ b/esp32s3/src/sensitive/core_1_vecbase_override_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to mask world, then only world0_value will work."] #[inline(always)] - #[must_use] pub fn core_1_vecbase_world_mask( &mut self, ) -> CORE_1_VECBASE_WORLD_MASK_W { diff --git a/esp32s3/src/sensitive/core_1_vecbase_override_1.rs b/esp32s3/src/sensitive/core_1_vecbase_override_1.rs index 037b5b2a81..c0b98f8b46 100644 --- a/esp32s3/src/sensitive/core_1_vecbase_override_1.rs +++ b/esp32s3/src/sensitive/core_1_vecbase_override_1.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - world0 vecbase_override register, when core1 in world0 use this register to override vecbase register."] #[inline(always)] - #[must_use] pub fn core_1_vecbase_override_world0_value( &mut self, ) -> CORE_1_VECBASE_OVERRIDE_WORLD0_VALUE_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bits 22:23 - Set 0x3 to sel vecbase_override to override vecbase register."] #[inline(always)] - #[must_use] pub fn core_1_vecbase_override_sel( &mut self, ) -> CORE_1_VECBASE_OVERRIDE_SEL_W { diff --git a/esp32s3/src/sensitive/core_1_vecbase_override_2.rs b/esp32s3/src/sensitive/core_1_vecbase_override_2.rs index f585a559cd..84a00cad83 100644 --- a/esp32s3/src/sensitive/core_1_vecbase_override_2.rs +++ b/esp32s3/src/sensitive/core_1_vecbase_override_2.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - world1 vecbase_override register, when core1 in world1 use this register to override vecbase register."] #[inline(always)] - #[must_use] pub fn core_1_vecbase_override_world1_value( &mut self, ) -> CORE_1_VECBASE_OVERRIDE_WORLD1_VALUE_W { diff --git a/esp32s3/src/sensitive/core_1_vecbase_override_lock.rs b/esp32s3/src/sensitive/core_1_vecbase_override_lock.rs index e7d976227d..43d3e73f39 100644 --- a/esp32s3/src/sensitive/core_1_vecbase_override_lock.rs +++ b/esp32s3/src/sensitive/core_1_vecbase_override_lock.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock core1 vecbase configuration register"] #[inline(always)] - #[must_use] pub fn core_1_vecbase_override_lock( &mut self, ) -> CORE_1_VECBASE_OVERRIDE_LOCK_W { diff --git a/esp32s3/src/sensitive/core_x_dram0_pms_constrain_0.rs b/esp32s3/src/sensitive/core_x_dram0_pms_constrain_0.rs index bb557ed046..5aaa1bed00 100644 --- a/esp32s3/src/sensitive/core_x_dram0_pms_constrain_0.rs +++ b/esp32s3/src/sensitive/core_x_dram0_pms_constrain_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock corex dram0 permission configuration register"] #[inline(always)] - #[must_use] pub fn core_x_dram0_pms_constrain_lock( &mut self, ) -> CORE_X_DRAM0_PMS_CONSTRAIN_LOCK_W { diff --git a/esp32s3/src/sensitive/core_x_dram0_pms_constrain_1.rs b/esp32s3/src/sensitive/core_x_dram0_pms_constrain_1.rs index cbad0aa9c2..0e1779380f 100644 --- a/esp32s3/src/sensitive/core_x_dram0_pms_constrain_1.rs +++ b/esp32s3/src/sensitive/core_x_dram0_pms_constrain_1.rs @@ -236,7 +236,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - core0/core1's permission of data region0 of SRAM in world0."] #[inline(always)] - #[must_use] pub fn core_x_dram0_pms_constrain_sram_world_0_pms_0( &mut self, ) -> CORE_X_DRAM0_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_0_W { @@ -244,7 +243,6 @@ impl W { } #[doc = "Bits 2:3 - core0/core1's permission of data region1 of SRAM in world0."] #[inline(always)] - #[must_use] pub fn core_x_dram0_pms_constrain_sram_world_0_pms_1( &mut self, ) -> CORE_X_DRAM0_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_1_W { @@ -252,7 +250,6 @@ impl W { } #[doc = "Bits 4:5 - core0/core1's permission of data region2 of SRAM in world0."] #[inline(always)] - #[must_use] pub fn core_x_dram0_pms_constrain_sram_world_0_pms_2( &mut self, ) -> CORE_X_DRAM0_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_2_W { @@ -260,7 +257,6 @@ impl W { } #[doc = "Bits 6:7 - core0/core1's permission of data region3 of SRAM in world0."] #[inline(always)] - #[must_use] pub fn core_x_dram0_pms_constrain_sram_world_0_pms_3( &mut self, ) -> CORE_X_DRAM0_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_3_W { @@ -268,7 +264,6 @@ impl W { } #[doc = "Bits 8:9 - core0/core1's permission of dcache data sram block0 in world0."] #[inline(always)] - #[must_use] pub fn core_x_dram0_pms_constrain_sram_world_0_cachedataarray_pms_0( &mut self, ) -> CORE_X_DRAM0_PMS_CONSTRAIN_SRAM_WORLD_0_CACHEDATAARRAY_PMS_0_W< @@ -278,7 +273,6 @@ impl W { } #[doc = "Bits 10:11 - core0/core1's permission of dcache data sram block1 in world0."] #[inline(always)] - #[must_use] pub fn core_x_dram0_pms_constrain_sram_world_0_cachedataarray_pms_1( &mut self, ) -> CORE_X_DRAM0_PMS_CONSTRAIN_SRAM_WORLD_0_CACHEDATAARRAY_PMS_1_W< @@ -288,7 +282,6 @@ impl W { } #[doc = "Bits 12:13 - core0/core1's permission of data region0 of SRAM in world1."] #[inline(always)] - #[must_use] pub fn core_x_dram0_pms_constrain_sram_world_1_pms_0( &mut self, ) -> CORE_X_DRAM0_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_0_W { @@ -296,7 +289,6 @@ impl W { } #[doc = "Bits 14:15 - core0/core1's permission of data region1 of SRAM in world1."] #[inline(always)] - #[must_use] pub fn core_x_dram0_pms_constrain_sram_world_1_pms_1( &mut self, ) -> CORE_X_DRAM0_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_1_W { @@ -304,7 +296,6 @@ impl W { } #[doc = "Bits 16:17 - core0/core1's permission of data region2 of SRAM in world1."] #[inline(always)] - #[must_use] pub fn core_x_dram0_pms_constrain_sram_world_1_pms_2( &mut self, ) -> CORE_X_DRAM0_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_2_W { @@ -312,7 +303,6 @@ impl W { } #[doc = "Bits 18:19 - core0/core1's permission of data region3 of SRAM in world1."] #[inline(always)] - #[must_use] pub fn core_x_dram0_pms_constrain_sram_world_1_pms_3( &mut self, ) -> CORE_X_DRAM0_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_3_W { @@ -320,7 +310,6 @@ impl W { } #[doc = "Bits 20:21 - core0/core1's permission of dcache data sram block0 in world1."] #[inline(always)] - #[must_use] pub fn core_x_dram0_pms_constrain_sram_world_1_cachedataarray_pms_0( &mut self, ) -> CORE_X_DRAM0_PMS_CONSTRAIN_SRAM_WORLD_1_CACHEDATAARRAY_PMS_0_W< @@ -330,7 +319,6 @@ impl W { } #[doc = "Bits 22:23 - core0/core1's permission of dcache data sram block1 in world1."] #[inline(always)] - #[must_use] pub fn core_x_dram0_pms_constrain_sram_world_1_cachedataarray_pms_1( &mut self, ) -> CORE_X_DRAM0_PMS_CONSTRAIN_SRAM_WORLD_1_CACHEDATAARRAY_PMS_1_W< @@ -340,7 +328,6 @@ impl W { } #[doc = "Bits 24:25 - core0/core1's permission(sotre,load) of rom in world0."] #[inline(always)] - #[must_use] pub fn core_x_dram0_pms_constrain_rom_world_0_pms( &mut self, ) -> CORE_X_DRAM0_PMS_CONSTRAIN_ROM_WORLD_0_PMS_W { @@ -348,7 +335,6 @@ impl W { } #[doc = "Bits 26:27 - core0/core1's permission(sotre,load) of rom in world1."] #[inline(always)] - #[must_use] pub fn core_x_dram0_pms_constrain_rom_world_1_pms( &mut self, ) -> CORE_X_DRAM0_PMS_CONSTRAIN_ROM_WORLD_1_PMS_W { diff --git a/esp32s3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_0.rs b/esp32s3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_0.rs index 5b90efe4a6..59e1f85bf7 100644 --- a/esp32s3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_0.rs +++ b/esp32s3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_0.rs @@ -29,7 +29,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock sram split configuration register"] #[inline(always)] - #[must_use] pub fn core_x_iram0_dram0_dma_split_line_constrain_lock( &mut self, ) -> CORE_X_IRAM0_DRAM0_DMA_SPLIT_LINE_CONSTRAIN_LOCK_W< diff --git a/esp32s3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_1.rs b/esp32s3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_1.rs index 934eda94ec..de575769ca 100644 --- a/esp32s3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_1.rs +++ b/esp32s3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_1.rs @@ -132,7 +132,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - category0 of core_x_iram0_dram_dma_line, if the splitaddress in block0 of SRAM, configured as 0x10, else if the splitaddress below block0 of SRAM, configured as 0x11, else if splitaddress higher than block0 of SRAM, configured as 0x00"] #[inline(always)] - #[must_use] pub fn core_x_iram0_dram0_dma_sram_category_0( &mut self, ) -> CORE_X_IRAM0_DRAM0_DMA_SRAM_CATEGORY_0_W @@ -141,7 +140,6 @@ impl W { } #[doc = "Bits 2:3 - category1 of core_x_iram0_dram_dma_line, if the splitaddress in block1 of SRAM, configured as 0x10, else if the splitaddress below block1 of SRAM, configured as 0x11, else if splitaddress higher than block1 of SRAM, configured as 0x00"] #[inline(always)] - #[must_use] pub fn core_x_iram0_dram0_dma_sram_category_1( &mut self, ) -> CORE_X_IRAM0_DRAM0_DMA_SRAM_CATEGORY_1_W @@ -150,7 +148,6 @@ impl W { } #[doc = "Bits 4:5 - category2 of core_x_iram0_dram_dma_line, if the splitaddress in block2 of SRAM, configured as 0x10, else if the splitaddress below block2 of SRAM, configured as 0x11, else if splitaddress higher than block2 of SRAM, configured as 0x00"] #[inline(always)] - #[must_use] pub fn core_x_iram0_dram0_dma_sram_category_2( &mut self, ) -> CORE_X_IRAM0_DRAM0_DMA_SRAM_CATEGORY_2_W @@ -159,7 +156,6 @@ impl W { } #[doc = "Bits 6:7 - category3 of core_x_iram0_dram_dma_line, if the splitaddress in block3 of SRAM, configured as 0x10, else if the splitaddress below block3 of SRAM, configured as 0x11, else if splitaddress higher than block3 of SRAM, configured as 0x00"] #[inline(always)] - #[must_use] pub fn core_x_iram0_dram0_dma_sram_category_3( &mut self, ) -> CORE_X_IRAM0_DRAM0_DMA_SRAM_CATEGORY_3_W @@ -168,7 +164,6 @@ impl W { } #[doc = "Bits 8:9 - category4 of core_x_iram0_dram_dma_line, if the splitaddress in block4 of SRAM, configured as 0x10, else if the splitaddress below block4 of SRAM, configured as 0x11, else if splitaddress higher than block4 of SRAM, configured as 0x00"] #[inline(always)] - #[must_use] pub fn core_x_iram0_dram0_dma_sram_category_4( &mut self, ) -> CORE_X_IRAM0_DRAM0_DMA_SRAM_CATEGORY_4_W @@ -177,7 +172,6 @@ impl W { } #[doc = "Bits 10:11 - category5 of core_x_iram0_dram_dma_line, if the splitaddress in block5 of SRAM, configured as 0x10, else if the splitaddress below block5 of SRAM, configured as 0x11, else if splitaddress higher than block5 of SRAM, configured as 0x00"] #[inline(always)] - #[must_use] pub fn core_x_iram0_dram0_dma_sram_category_5( &mut self, ) -> CORE_X_IRAM0_DRAM0_DMA_SRAM_CATEGORY_5_W @@ -186,7 +180,6 @@ impl W { } #[doc = "Bits 12:13 - category6 of core_x_iram0_dram_dma_line, if the splitaddress in block6 of SRAM, configured as 0x10, else if the splitaddress below block6 of SRAM, configured as 0x11, else if splitaddress higher than block6 of SRAM, configured as 0x00"] #[inline(always)] - #[must_use] pub fn core_x_iram0_dram0_dma_sram_category_6( &mut self, ) -> CORE_X_IRAM0_DRAM0_DMA_SRAM_CATEGORY_6_W @@ -195,7 +188,6 @@ impl W { } #[doc = "Bits 14:21 - splitaddr of core_x_iram0_dram_dma_line, configured as \\[15:8\\]bit of actual address"] #[inline(always)] - #[must_use] pub fn core_x_iram0_dram0_dma_sram_splitaddr( &mut self, ) -> CORE_X_IRAM0_DRAM0_DMA_SRAM_SPLITADDR_W diff --git a/esp32s3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_2.rs b/esp32s3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_2.rs index 8257f89d0b..bb5b3cdaff 100644 --- a/esp32s3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_2.rs +++ b/esp32s3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_2.rs @@ -118,7 +118,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - category0 of core_x_iram0_dram_dma_line, if the splitaddress in block0 of SRAM, configured as 0x10, else if the splitaddress below block0 of SRAM, configured as 0x11, else if splitaddress higher than block0 of SRAM, configured as 0x00"] #[inline(always)] - #[must_use] pub fn core_x_iram0_sram_line_0_category_0( &mut self, ) -> CORE_X_IRAM0_SRAM_LINE_0_CATEGORY_0_W @@ -127,7 +126,6 @@ impl W { } #[doc = "Bits 2:3 - category1 of core_x_iram0_dram_dma_line, if the splitaddress in block1 of SRAM, configured as 0x10, else if the splitaddress below block1 of SRAM, configured as 0x11, else if splitaddress higher than block1 of SRAM, configured as 0x00"] #[inline(always)] - #[must_use] pub fn core_x_iram0_sram_line_0_category_1( &mut self, ) -> CORE_X_IRAM0_SRAM_LINE_0_CATEGORY_1_W @@ -136,7 +134,6 @@ impl W { } #[doc = "Bits 4:5 - category2 of core_x_iram0_dram_dma_line, if the splitaddress in block2 of SRAM, configured as 0x10, else if the splitaddress below block2 of SRAM, configured as 0x11, else if splitaddress higher than block2 of SRAM, configured as 0x00"] #[inline(always)] - #[must_use] pub fn core_x_iram0_sram_line_0_category_2( &mut self, ) -> CORE_X_IRAM0_SRAM_LINE_0_CATEGORY_2_W @@ -145,7 +142,6 @@ impl W { } #[doc = "Bits 6:7 - category3 of core_x_iram0_dram_dma_line, if the splitaddress in block3 of SRAM, configured as 0x10, else if the splitaddress below block3 of SRAM, configured as 0x11, else if splitaddress higher than block3 of SRAM, configured as 0x00"] #[inline(always)] - #[must_use] pub fn core_x_iram0_sram_line_0_category_3( &mut self, ) -> CORE_X_IRAM0_SRAM_LINE_0_CATEGORY_3_W @@ -154,7 +150,6 @@ impl W { } #[doc = "Bits 8:9 - category4 of core_x_iram0_dram_dma_line, if the splitaddress in block4 of SRAM, configured as 0x10, else if the splitaddress below block4 of SRAM, configured as 0x11, else if splitaddress higher than block4 of SRAM, configured as 0x00"] #[inline(always)] - #[must_use] pub fn core_x_iram0_sram_line_0_category_4( &mut self, ) -> CORE_X_IRAM0_SRAM_LINE_0_CATEGORY_4_W @@ -163,7 +158,6 @@ impl W { } #[doc = "Bits 10:11 - category5 of core_x_iram0_dram_dma_line, if the splitaddress in block5 of SRAM, configured as 0x10, else if the splitaddress below block5 of SRAM, configured as 0x11, else if splitaddress higher than block5 of SRAM, configured as 0x00"] #[inline(always)] - #[must_use] pub fn core_x_iram0_sram_line_0_category_5( &mut self, ) -> CORE_X_IRAM0_SRAM_LINE_0_CATEGORY_5_W @@ -172,7 +166,6 @@ impl W { } #[doc = "Bits 12:13 - category6 of core_x_iram0_dram_dma_line, if the splitaddress in block6 of SRAM, configured as 0x10, else if the splitaddress below block6 of SRAM, configured as 0x11, else if splitaddress higher than block6 of SRAM, configured as 0x00"] #[inline(always)] - #[must_use] pub fn core_x_iram0_sram_line_0_category_6( &mut self, ) -> CORE_X_IRAM0_SRAM_LINE_0_CATEGORY_6_W @@ -181,7 +174,6 @@ impl W { } #[doc = "Bits 14:21 - splitaddr of core_x_iram0_dram_dma_line, configured as \\[15:8\\]bit of actual address"] #[inline(always)] - #[must_use] pub fn core_x_iram0_sram_line_0_splitaddr( &mut self, ) -> CORE_X_IRAM0_SRAM_LINE_0_SPLITADDR_W diff --git a/esp32s3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_3.rs b/esp32s3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_3.rs index d4de65f449..dfc7b56b17 100644 --- a/esp32s3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_3.rs +++ b/esp32s3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_3.rs @@ -118,7 +118,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - category0 of core_x_iram0_dram_dma_line, if the splitaddress in block0 of SRAM, configured as 0x10, else if the splitaddress below block0 of SRAM, configured as 0x11, else if splitaddress higher than block0 of SRAM, configured as 0x00"] #[inline(always)] - #[must_use] pub fn core_x_iram0_sram_line_1_category_0( &mut self, ) -> CORE_X_IRAM0_SRAM_LINE_1_CATEGORY_0_W @@ -127,7 +126,6 @@ impl W { } #[doc = "Bits 2:3 - category1 of core_x_iram0_dram_dma_line, if the splitaddress in block1 of SRAM, configured as 0x10, else if the splitaddress below block1 of SRAM, configured as 0x11, else if splitaddress higher than block1 of SRAM, configured as 0x00"] #[inline(always)] - #[must_use] pub fn core_x_iram0_sram_line_1_category_1( &mut self, ) -> CORE_X_IRAM0_SRAM_LINE_1_CATEGORY_1_W @@ -136,7 +134,6 @@ impl W { } #[doc = "Bits 4:5 - category2 of core_x_iram0_dram_dma_line, if the splitaddress in block2 of SRAM, configured as 0x10, else if the splitaddress below block2 of SRAM, configured as 0x11, else if splitaddress higher than block2 of SRAM, configured as 0x00"] #[inline(always)] - #[must_use] pub fn core_x_iram0_sram_line_1_category_2( &mut self, ) -> CORE_X_IRAM0_SRAM_LINE_1_CATEGORY_2_W @@ -145,7 +142,6 @@ impl W { } #[doc = "Bits 6:7 - category3 of core_x_iram0_dram_dma_line, if the splitaddress in block3 of SRAM, configured as 0x10, else if the splitaddress below block3 of SRAM, configured as 0x11, else if splitaddress higher than block3 of SRAM, configured as 0x00"] #[inline(always)] - #[must_use] pub fn core_x_iram0_sram_line_1_category_3( &mut self, ) -> CORE_X_IRAM0_SRAM_LINE_1_CATEGORY_3_W @@ -154,7 +150,6 @@ impl W { } #[doc = "Bits 8:9 - category4 of core_x_iram0_dram_dma_line, if the splitaddress in block4 of SRAM, configured as 0x10, else if the splitaddress below block4 of SRAM, configured as 0x11, else if splitaddress higher than block4 of SRAM, configured as 0x00"] #[inline(always)] - #[must_use] pub fn core_x_iram0_sram_line_1_category_4( &mut self, ) -> CORE_X_IRAM0_SRAM_LINE_1_CATEGORY_4_W @@ -163,7 +158,6 @@ impl W { } #[doc = "Bits 10:11 - category5 of core_x_iram0_dram_dma_line, if the splitaddress in block5 of SRAM, configured as 0x10, else if the splitaddress below block5 of SRAM, configured as 0x11, else if splitaddress higher than block5 of SRAM, configured as 0x00"] #[inline(always)] - #[must_use] pub fn core_x_iram0_sram_line_1_category_5( &mut self, ) -> CORE_X_IRAM0_SRAM_LINE_1_CATEGORY_5_W @@ -172,7 +166,6 @@ impl W { } #[doc = "Bits 12:13 - category6 of core_x_iram0_dram_dma_line, if the splitaddress in block6 of SRAM, configured as 0x10, else if the splitaddress below block6 of SRAM, configured as 0x11, else if splitaddress higher than block6 of SRAM, configured as 0x00"] #[inline(always)] - #[must_use] pub fn core_x_iram0_sram_line_1_category_6( &mut self, ) -> CORE_X_IRAM0_SRAM_LINE_1_CATEGORY_6_W @@ -181,7 +174,6 @@ impl W { } #[doc = "Bits 14:21 - splitaddr of core_x_iram0_dram_dma_line, configured as \\[15:8\\]bit of actual address"] #[inline(always)] - #[must_use] pub fn core_x_iram0_sram_line_1_splitaddr( &mut self, ) -> CORE_X_IRAM0_SRAM_LINE_1_SPLITADDR_W diff --git a/esp32s3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_4.rs b/esp32s3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_4.rs index 60290657ac..43417c7c39 100644 --- a/esp32s3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_4.rs +++ b/esp32s3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_4.rs @@ -134,7 +134,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - category0 of core_x_iram0_dram_dma_line, if the splitaddress in block0 of SRAM, configured as 0x10, else if the splitaddress below block0 of SRAM, configured as 0x11, else if splitaddress higher than block0 of SRAM, configured as 0x00"] #[inline(always)] - #[must_use] pub fn core_x_dram0_dma_sram_line_0_category_0( &mut self, ) -> CORE_X_DRAM0_DMA_SRAM_LINE_0_CATEGORY_0_W @@ -143,7 +142,6 @@ impl W { } #[doc = "Bits 2:3 - category1 of core_x_iram0_dram_dma_line, if the splitaddress in block1 of SRAM, configured as 0x10, else if the splitaddress below block1 of SRAM, configured as 0x11, else if splitaddress higher than block1 of SRAM, configured as 0x00"] #[inline(always)] - #[must_use] pub fn core_x_dram0_dma_sram_line_0_category_1( &mut self, ) -> CORE_X_DRAM0_DMA_SRAM_LINE_0_CATEGORY_1_W @@ -152,7 +150,6 @@ impl W { } #[doc = "Bits 4:5 - category2 of core_x_iram0_dram_dma_line, if the splitaddress in block2 of SRAM, configured as 0x10, else if the splitaddress below block2 of SRAM, configured as 0x11, else if splitaddress higher than block2 of SRAM, configured as 0x00"] #[inline(always)] - #[must_use] pub fn core_x_dram0_dma_sram_line_0_category_2( &mut self, ) -> CORE_X_DRAM0_DMA_SRAM_LINE_0_CATEGORY_2_W @@ -161,7 +158,6 @@ impl W { } #[doc = "Bits 6:7 - category3 of core_x_iram0_dram_dma_line, if the splitaddress in block3 of SRAM, configured as 0x10, else if the splitaddress below block3 of SRAM, configured as 0x11, else if splitaddress higher than block3 of SRAM, configured as 0x00"] #[inline(always)] - #[must_use] pub fn core_x_dram0_dma_sram_line_0_category_3( &mut self, ) -> CORE_X_DRAM0_DMA_SRAM_LINE_0_CATEGORY_3_W @@ -170,7 +166,6 @@ impl W { } #[doc = "Bits 8:9 - category4 of core_x_iram0_dram_dma_line, if the splitaddress in block4 of SRAM, configured as 0x10, else if the splitaddress below block4 of SRAM, configured as 0x11, else if splitaddress higher than block4 of SRAM, configured as 0x00"] #[inline(always)] - #[must_use] pub fn core_x_dram0_dma_sram_line_0_category_4( &mut self, ) -> CORE_X_DRAM0_DMA_SRAM_LINE_0_CATEGORY_4_W @@ -179,7 +174,6 @@ impl W { } #[doc = "Bits 10:11 - category5 of core_x_iram0_dram_dma_line, if the splitaddress in block5 of SRAM, configured as 0x10, else if the splitaddress below block5 of SRAM, configured as 0x11, else if splitaddress higher than block5 of SRAM, configured as 0x00"] #[inline(always)] - #[must_use] pub fn core_x_dram0_dma_sram_line_0_category_5( &mut self, ) -> CORE_X_DRAM0_DMA_SRAM_LINE_0_CATEGORY_5_W @@ -188,7 +182,6 @@ impl W { } #[doc = "Bits 12:13 - category6 of core_x_iram0_dram_dma_line, if the splitaddress in block6 of SRAM, configured as 0x10, else if the splitaddress below block6 of SRAM, configured as 0x11, else if splitaddress higher than block6 of SRAM, configured as 0x00"] #[inline(always)] - #[must_use] pub fn core_x_dram0_dma_sram_line_0_category_6( &mut self, ) -> CORE_X_DRAM0_DMA_SRAM_LINE_0_CATEGORY_6_W @@ -197,7 +190,6 @@ impl W { } #[doc = "Bits 14:21 - splitaddr of core_x_iram0_dram_dma_line, configured as \\[15:8\\]bit of actual address"] #[inline(always)] - #[must_use] pub fn core_x_dram0_dma_sram_line_0_splitaddr( &mut self, ) -> CORE_X_DRAM0_DMA_SRAM_LINE_0_SPLITADDR_W diff --git a/esp32s3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_5.rs b/esp32s3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_5.rs index dd2405d24b..ab1e5265ff 100644 --- a/esp32s3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_5.rs +++ b/esp32s3/src/sensitive/core_x_iram0_dram0_dma_split_line_constrain_5.rs @@ -134,7 +134,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - category0 of core_x_iram0_dram_dma_line, if the splitaddress in block0 of SRAM, configured as 0x10, else if the splitaddress below block0 of SRAM, configured as 0x11, else if splitaddress higher than block0 of SRAM, configured as 0x00"] #[inline(always)] - #[must_use] pub fn core_x_dram0_dma_sram_line_1_category_0( &mut self, ) -> CORE_X_DRAM0_DMA_SRAM_LINE_1_CATEGORY_0_W @@ -143,7 +142,6 @@ impl W { } #[doc = "Bits 2:3 - category1 of core_x_iram0_dram_dma_line, if the splitaddress in block1 of SRAM, configured as 0x10, else if the splitaddress below block1 of SRAM, configured as 0x11, else if splitaddress higher than block1 of SRAM, configured as 0x00"] #[inline(always)] - #[must_use] pub fn core_x_dram0_dma_sram_line_1_category_1( &mut self, ) -> CORE_X_DRAM0_DMA_SRAM_LINE_1_CATEGORY_1_W @@ -152,7 +150,6 @@ impl W { } #[doc = "Bits 4:5 - category2 of core_x_iram0_dram_dma_line, if the splitaddress in block2 of SRAM, configured as 0x10, else if the splitaddress below block2 of SRAM, configured as 0x11, else if splitaddress higher than block2 of SRAM, configured as 0x00"] #[inline(always)] - #[must_use] pub fn core_x_dram0_dma_sram_line_1_category_2( &mut self, ) -> CORE_X_DRAM0_DMA_SRAM_LINE_1_CATEGORY_2_W @@ -161,7 +158,6 @@ impl W { } #[doc = "Bits 6:7 - category3 of core_x_iram0_dram_dma_line, if the splitaddress in block3 of SRAM, configured as 0x10, else if the splitaddress below block3 of SRAM, configured as 0x11, else if splitaddress higher than block3 of SRAM, configured as 0x00"] #[inline(always)] - #[must_use] pub fn core_x_dram0_dma_sram_line_1_category_3( &mut self, ) -> CORE_X_DRAM0_DMA_SRAM_LINE_1_CATEGORY_3_W @@ -170,7 +166,6 @@ impl W { } #[doc = "Bits 8:9 - category4 of core_x_iram0_dram_dma_line, if the splitaddress in block4 of SRAM, configured as 0x10, else if the splitaddress below block4 of SRAM, configured as 0x11, else if splitaddress higher than block4 of SRAM, configured as 0x00"] #[inline(always)] - #[must_use] pub fn core_x_dram0_dma_sram_line_1_category_4( &mut self, ) -> CORE_X_DRAM0_DMA_SRAM_LINE_1_CATEGORY_4_W @@ -179,7 +174,6 @@ impl W { } #[doc = "Bits 10:11 - category5 of core_x_iram0_dram_dma_line, if the splitaddress in block5 of SRAM, configured as 0x10, else if the splitaddress below block5 of SRAM, configured as 0x11, else if splitaddress higher than block5 of SRAM, configured as 0x00"] #[inline(always)] - #[must_use] pub fn core_x_dram0_dma_sram_line_1_category_5( &mut self, ) -> CORE_X_DRAM0_DMA_SRAM_LINE_1_CATEGORY_5_W @@ -188,7 +182,6 @@ impl W { } #[doc = "Bits 12:13 - category6 of core_x_iram0_dram_dma_line, if the splitaddress in block6 of SRAM, configured as 0x10, else if the splitaddress below block6 of SRAM, configured as 0x11, else if splitaddress higher than block6 of SRAM, configured as 0x00"] #[inline(always)] - #[must_use] pub fn core_x_dram0_dma_sram_line_1_category_6( &mut self, ) -> CORE_X_DRAM0_DMA_SRAM_LINE_1_CATEGORY_6_W @@ -197,7 +190,6 @@ impl W { } #[doc = "Bits 14:21 - splitaddr of core_x_iram0_dram_dma_line, configured as \\[15:8\\]bit of actual address"] #[inline(always)] - #[must_use] pub fn core_x_dram0_dma_sram_line_1_splitaddr( &mut self, ) -> CORE_X_DRAM0_DMA_SRAM_LINE_1_SPLITADDR_W diff --git a/esp32s3/src/sensitive/core_x_iram0_pms_constrain_0.rs b/esp32s3/src/sensitive/core_x_iram0_pms_constrain_0.rs index b40a360964..ffb97e918d 100644 --- a/esp32s3/src/sensitive/core_x_iram0_pms_constrain_0.rs +++ b/esp32s3/src/sensitive/core_x_iram0_pms_constrain_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock corex iram0 permission configuration register"] #[inline(always)] - #[must_use] pub fn core_x_iram0_pms_constrain_lock( &mut self, ) -> CORE_X_IRAM0_PMS_CONSTRAIN_LOCK_W { diff --git a/esp32s3/src/sensitive/core_x_iram0_pms_constrain_1.rs b/esp32s3/src/sensitive/core_x_iram0_pms_constrain_1.rs index a94f3710b8..f3573b1745 100644 --- a/esp32s3/src/sensitive/core_x_iram0_pms_constrain_1.rs +++ b/esp32s3/src/sensitive/core_x_iram0_pms_constrain_1.rs @@ -125,7 +125,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - core0/core1's permission of instruction region0 of SRAM in world1"] #[inline(always)] - #[must_use] pub fn core_x_iram0_pms_constrain_sram_world_1_pms_0( &mut self, ) -> CORE_X_IRAM0_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_0_W { @@ -133,7 +132,6 @@ impl W { } #[doc = "Bits 3:5 - core0/core1's permission of instruction region1 of SRAM in world1"] #[inline(always)] - #[must_use] pub fn core_x_iram0_pms_constrain_sram_world_1_pms_1( &mut self, ) -> CORE_X_IRAM0_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_1_W { @@ -141,7 +139,6 @@ impl W { } #[doc = "Bits 6:8 - core0/core1's permission of instruction region2 of SRAM in world1"] #[inline(always)] - #[must_use] pub fn core_x_iram0_pms_constrain_sram_world_1_pms_2( &mut self, ) -> CORE_X_IRAM0_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_2_W { @@ -149,7 +146,6 @@ impl W { } #[doc = "Bits 9:11 - core0/core1's permission of instruction region3 of SRAM in world1"] #[inline(always)] - #[must_use] pub fn core_x_iram0_pms_constrain_sram_world_1_pms_3( &mut self, ) -> CORE_X_IRAM0_PMS_CONSTRAIN_SRAM_WORLD_1_PMS_3_W { @@ -157,7 +153,6 @@ impl W { } #[doc = "Bits 12:14 - core0/core1's permission of icache data sram block0 in world1"] #[inline(always)] - #[must_use] pub fn core_x_iram0_pms_constrain_sram_world_1_cachedataarray_pms_0( &mut self, ) -> CORE_X_IRAM0_PMS_CONSTRAIN_SRAM_WORLD_1_CACHEDATAARRAY_PMS_0_W< @@ -167,7 +162,6 @@ impl W { } #[doc = "Bits 15:17 - core0/core1's permission of icache data sram block1 in world1"] #[inline(always)] - #[must_use] pub fn core_x_iram0_pms_constrain_sram_world_1_cachedataarray_pms_1( &mut self, ) -> CORE_X_IRAM0_PMS_CONSTRAIN_SRAM_WORLD_1_CACHEDATAARRAY_PMS_1_W< @@ -177,7 +171,6 @@ impl W { } #[doc = "Bits 18:20 - core0/core1's permission of rom in world1"] #[inline(always)] - #[must_use] pub fn core_x_iram0_pms_constrain_rom_world_1_pms( &mut self, ) -> CORE_X_IRAM0_PMS_CONSTRAIN_ROM_WORLD_1_PMS_W { diff --git a/esp32s3/src/sensitive/core_x_iram0_pms_constrain_2.rs b/esp32s3/src/sensitive/core_x_iram0_pms_constrain_2.rs index 6294f67eed..c57c7040e5 100644 --- a/esp32s3/src/sensitive/core_x_iram0_pms_constrain_2.rs +++ b/esp32s3/src/sensitive/core_x_iram0_pms_constrain_2.rs @@ -125,7 +125,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - core0/core1's permission of instruction region0 of SRAM in world1"] #[inline(always)] - #[must_use] pub fn core_x_iram0_pms_constrain_sram_world_0_pms_0( &mut self, ) -> CORE_X_IRAM0_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_0_W { @@ -133,7 +132,6 @@ impl W { } #[doc = "Bits 3:5 - core0/core1's permission of instruction region1 of SRAM in world1"] #[inline(always)] - #[must_use] pub fn core_x_iram0_pms_constrain_sram_world_0_pms_1( &mut self, ) -> CORE_X_IRAM0_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_1_W { @@ -141,7 +139,6 @@ impl W { } #[doc = "Bits 6:8 - core0/core1's permission of instruction region2 of SRAM in world1"] #[inline(always)] - #[must_use] pub fn core_x_iram0_pms_constrain_sram_world_0_pms_2( &mut self, ) -> CORE_X_IRAM0_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_2_W { @@ -149,7 +146,6 @@ impl W { } #[doc = "Bits 9:11 - core0/core1's permission of instruction region3 of SRAM in world1"] #[inline(always)] - #[must_use] pub fn core_x_iram0_pms_constrain_sram_world_0_pms_3( &mut self, ) -> CORE_X_IRAM0_PMS_CONSTRAIN_SRAM_WORLD_0_PMS_3_W { @@ -157,7 +153,6 @@ impl W { } #[doc = "Bits 12:14 - core0/core1's permission of icache data sram block0 in world1"] #[inline(always)] - #[must_use] pub fn core_x_iram0_pms_constrain_sram_world_0_cachedataarray_pms_0( &mut self, ) -> CORE_X_IRAM0_PMS_CONSTRAIN_SRAM_WORLD_0_CACHEDATAARRAY_PMS_0_W< @@ -167,7 +162,6 @@ impl W { } #[doc = "Bits 15:17 - core0/core1's permission of icache data sram block1 in world1"] #[inline(always)] - #[must_use] pub fn core_x_iram0_pms_constrain_sram_world_0_cachedataarray_pms_1( &mut self, ) -> CORE_X_IRAM0_PMS_CONSTRAIN_SRAM_WORLD_0_CACHEDATAARRAY_PMS_1_W< @@ -177,7 +171,6 @@ impl W { } #[doc = "Bits 18:20 - core0/core1's permission of rom in world1"] #[inline(always)] - #[must_use] pub fn core_x_iram0_pms_constrain_rom_world_0_pms( &mut self, ) -> CORE_X_IRAM0_PMS_CONSTRAIN_ROM_WORLD_0_PMS_W { diff --git a/esp32s3/src/sensitive/date.rs b/esp32s3/src/sensitive/date.rs index 06ddb5249b..619dd2c3b3 100644 --- a/esp32s3/src/sensitive/date.rs +++ b/esp32s3/src/sensitive/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Sensitive Date register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s3/src/sensitive/dma_apbperi_adc_dac_pms_constrain_0.rs b/esp32s3/src/sensitive/dma_apbperi_adc_dac_pms_constrain_0.rs index 1ce41c1609..f0ba8cad4e 100644 --- a/esp32s3/src/sensitive/dma_apbperi_adc_dac_pms_constrain_0.rs +++ b/esp32s3/src/sensitive/dma_apbperi_adc_dac_pms_constrain_0.rs @@ -29,7 +29,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock adc_dac dma permission Configuration Register."] #[inline(always)] - #[must_use] pub fn dma_apbperi_adc_dac_pms_constrain_lock( &mut self, ) -> DMA_APBPERI_ADC_DAC_PMS_CONSTRAIN_LOCK_W { diff --git a/esp32s3/src/sensitive/dma_apbperi_adc_dac_pms_constrain_1.rs b/esp32s3/src/sensitive/dma_apbperi_adc_dac_pms_constrain_1.rs index 935b618e44..7a88d712e1 100644 --- a/esp32s3/src/sensitive/dma_apbperi_adc_dac_pms_constrain_1.rs +++ b/esp32s3/src/sensitive/dma_apbperi_adc_dac_pms_constrain_1.rs @@ -110,7 +110,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - adc_dac's permission(store,load) in data region0 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_adc_dac_pms_constrain_sram_pms_0( &mut self, ) -> DMA_APBPERI_ADC_DAC_PMS_CONSTRAIN_SRAM_PMS_0_W @@ -119,7 +118,6 @@ impl W { } #[doc = "Bits 2:3 - adc_dac's permission(store,load) in data region1 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_adc_dac_pms_constrain_sram_pms_1( &mut self, ) -> DMA_APBPERI_ADC_DAC_PMS_CONSTRAIN_SRAM_PMS_1_W @@ -128,7 +126,6 @@ impl W { } #[doc = "Bits 4:5 - adc_dac's permission(store,load) in data region2 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_adc_dac_pms_constrain_sram_pms_2( &mut self, ) -> DMA_APBPERI_ADC_DAC_PMS_CONSTRAIN_SRAM_PMS_2_W @@ -137,7 +134,6 @@ impl W { } #[doc = "Bits 6:7 - adc_dac's permission(store,load) in data region3 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_adc_dac_pms_constrain_sram_pms_3( &mut self, ) -> DMA_APBPERI_ADC_DAC_PMS_CONSTRAIN_SRAM_PMS_3_W @@ -146,7 +142,6 @@ impl W { } #[doc = "Bits 8:9 - adc_dac's permission(store,load) in dcache data sram block0"] #[inline(always)] - #[must_use] pub fn dma_apbperi_adc_dac_pms_constrain_sram_cachedataarray_pms_0( &mut self, ) -> DMA_APBPERI_ADC_DAC_PMS_CONSTRAIN_SRAM_CACHEDATAARRAY_PMS_0_W< @@ -156,7 +151,6 @@ impl W { } #[doc = "Bits 10:11 - adc_dac's permission(store,load) in dcache data sram block1"] #[inline(always)] - #[must_use] pub fn dma_apbperi_adc_dac_pms_constrain_sram_cachedataarray_pms_1( &mut self, ) -> DMA_APBPERI_ADC_DAC_PMS_CONSTRAIN_SRAM_CACHEDATAARRAY_PMS_1_W< diff --git a/esp32s3/src/sensitive/dma_apbperi_aes_pms_constrain_0.rs b/esp32s3/src/sensitive/dma_apbperi_aes_pms_constrain_0.rs index 068e4860c7..33d00213af 100644 --- a/esp32s3/src/sensitive/dma_apbperi_aes_pms_constrain_0.rs +++ b/esp32s3/src/sensitive/dma_apbperi_aes_pms_constrain_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock aes dma permission Configuration Register."] #[inline(always)] - #[must_use] pub fn dma_apbperi_aes_pms_constrain_lock( &mut self, ) -> DMA_APBPERI_AES_PMS_CONSTRAIN_LOCK_W { diff --git a/esp32s3/src/sensitive/dma_apbperi_aes_pms_constrain_1.rs b/esp32s3/src/sensitive/dma_apbperi_aes_pms_constrain_1.rs index 24acf3aeb8..4ad1fe35f4 100644 --- a/esp32s3/src/sensitive/dma_apbperi_aes_pms_constrain_1.rs +++ b/esp32s3/src/sensitive/dma_apbperi_aes_pms_constrain_1.rs @@ -108,7 +108,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - aes's permission(store,load) in data region0 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_aes_pms_constrain_sram_pms_0( &mut self, ) -> DMA_APBPERI_AES_PMS_CONSTRAIN_SRAM_PMS_0_W { @@ -116,7 +115,6 @@ impl W { } #[doc = "Bits 2:3 - aes's permission(store,load) in data region1 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_aes_pms_constrain_sram_pms_1( &mut self, ) -> DMA_APBPERI_AES_PMS_CONSTRAIN_SRAM_PMS_1_W { @@ -124,7 +122,6 @@ impl W { } #[doc = "Bits 4:5 - aes's permission(store,load) in data region2 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_aes_pms_constrain_sram_pms_2( &mut self, ) -> DMA_APBPERI_AES_PMS_CONSTRAIN_SRAM_PMS_2_W { @@ -132,7 +129,6 @@ impl W { } #[doc = "Bits 6:7 - aes's permission(store,load) in data region3 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_aes_pms_constrain_sram_pms_3( &mut self, ) -> DMA_APBPERI_AES_PMS_CONSTRAIN_SRAM_PMS_3_W { @@ -140,7 +136,6 @@ impl W { } #[doc = "Bits 8:9 - aes's permission(store,load) in dcache data sram block0"] #[inline(always)] - #[must_use] pub fn dma_apbperi_aes_pms_constrain_sram_cachedataarray_pms_0( &mut self, ) -> DMA_APBPERI_AES_PMS_CONSTRAIN_SRAM_CACHEDATAARRAY_PMS_0_W< @@ -150,7 +145,6 @@ impl W { } #[doc = "Bits 10:11 - aes's permission(store,load) in dcache data sram block1"] #[inline(always)] - #[must_use] pub fn dma_apbperi_aes_pms_constrain_sram_cachedataarray_pms_1( &mut self, ) -> DMA_APBPERI_AES_PMS_CONSTRAIN_SRAM_CACHEDATAARRAY_PMS_1_W< diff --git a/esp32s3/src/sensitive/dma_apbperi_backup_pms_constrain_0.rs b/esp32s3/src/sensitive/dma_apbperi_backup_pms_constrain_0.rs index 2caf7bfa8b..929a453079 100644 --- a/esp32s3/src/sensitive/dma_apbperi_backup_pms_constrain_0.rs +++ b/esp32s3/src/sensitive/dma_apbperi_backup_pms_constrain_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock backup dma permission Configuration Register."] #[inline(always)] - #[must_use] pub fn dma_apbperi_backup_pms_constrain_lock( &mut self, ) -> DMA_APBPERI_BACKUP_PMS_CONSTRAIN_LOCK_W { diff --git a/esp32s3/src/sensitive/dma_apbperi_backup_pms_constrain_1.rs b/esp32s3/src/sensitive/dma_apbperi_backup_pms_constrain_1.rs index 34b3999c5b..949e4c4a11 100644 --- a/esp32s3/src/sensitive/dma_apbperi_backup_pms_constrain_1.rs +++ b/esp32s3/src/sensitive/dma_apbperi_backup_pms_constrain_1.rs @@ -110,7 +110,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - backup's permission(store,load) in data region0 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_backup_pms_constrain_sram_pms_0( &mut self, ) -> DMA_APBPERI_BACKUP_PMS_CONSTRAIN_SRAM_PMS_0_W @@ -119,7 +118,6 @@ impl W { } #[doc = "Bits 2:3 - backup's permission(store,load) in data region1 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_backup_pms_constrain_sram_pms_1( &mut self, ) -> DMA_APBPERI_BACKUP_PMS_CONSTRAIN_SRAM_PMS_1_W @@ -128,7 +126,6 @@ impl W { } #[doc = "Bits 4:5 - backup's permission(store,load) in data region2 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_backup_pms_constrain_sram_pms_2( &mut self, ) -> DMA_APBPERI_BACKUP_PMS_CONSTRAIN_SRAM_PMS_2_W @@ -137,7 +134,6 @@ impl W { } #[doc = "Bits 6:7 - backup's permission(store,load) in data region3 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_backup_pms_constrain_sram_pms_3( &mut self, ) -> DMA_APBPERI_BACKUP_PMS_CONSTRAIN_SRAM_PMS_3_W @@ -146,7 +142,6 @@ impl W { } #[doc = "Bits 8:9 - backup's permission(store,load) in dcache data sram block0"] #[inline(always)] - #[must_use] pub fn dma_apbperi_backup_pms_constrain_sram_cachedataarray_pms_0( &mut self, ) -> DMA_APBPERI_BACKUP_PMS_CONSTRAIN_SRAM_CACHEDATAARRAY_PMS_0_W< @@ -156,7 +151,6 @@ impl W { } #[doc = "Bits 10:11 - backup's permission(store,load) in dcache data sram block1"] #[inline(always)] - #[must_use] pub fn dma_apbperi_backup_pms_constrain_sram_cachedataarray_pms_1( &mut self, ) -> DMA_APBPERI_BACKUP_PMS_CONSTRAIN_SRAM_CACHEDATAARRAY_PMS_1_W< diff --git a/esp32s3/src/sensitive/dma_apbperi_i2s0_pms_constrain_0.rs b/esp32s3/src/sensitive/dma_apbperi_i2s0_pms_constrain_0.rs index 39912d17ec..e6e1135170 100644 --- a/esp32s3/src/sensitive/dma_apbperi_i2s0_pms_constrain_0.rs +++ b/esp32s3/src/sensitive/dma_apbperi_i2s0_pms_constrain_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock i2s0 dma permission Configuration Register."] #[inline(always)] - #[must_use] pub fn dma_apbperi_i2s0_pms_constrain_lock( &mut self, ) -> DMA_APBPERI_I2S0_PMS_CONSTRAIN_LOCK_W { diff --git a/esp32s3/src/sensitive/dma_apbperi_i2s0_pms_constrain_1.rs b/esp32s3/src/sensitive/dma_apbperi_i2s0_pms_constrain_1.rs index 352f4ae239..324fa611d7 100644 --- a/esp32s3/src/sensitive/dma_apbperi_i2s0_pms_constrain_1.rs +++ b/esp32s3/src/sensitive/dma_apbperi_i2s0_pms_constrain_1.rs @@ -110,7 +110,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - i2s0's permission(store,load) in data region0 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_i2s0_pms_constrain_sram_pms_0( &mut self, ) -> DMA_APBPERI_I2S0_PMS_CONSTRAIN_SRAM_PMS_0_W { @@ -118,7 +117,6 @@ impl W { } #[doc = "Bits 2:3 - i2s0's permission(store,load) in data region1 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_i2s0_pms_constrain_sram_pms_1( &mut self, ) -> DMA_APBPERI_I2S0_PMS_CONSTRAIN_SRAM_PMS_1_W { @@ -126,7 +124,6 @@ impl W { } #[doc = "Bits 4:5 - i2s0's permission(store,load) in data region2 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_i2s0_pms_constrain_sram_pms_2( &mut self, ) -> DMA_APBPERI_I2S0_PMS_CONSTRAIN_SRAM_PMS_2_W { @@ -134,7 +131,6 @@ impl W { } #[doc = "Bits 6:7 - i2s0's permission(store,load) in data region3 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_i2s0_pms_constrain_sram_pms_3( &mut self, ) -> DMA_APBPERI_I2S0_PMS_CONSTRAIN_SRAM_PMS_3_W { @@ -142,7 +138,6 @@ impl W { } #[doc = "Bits 8:9 - i2s0's permission(store,load) in dcache data sram block0"] #[inline(always)] - #[must_use] pub fn dma_apbperi_i2s0_pms_constrain_sram_cachedataarray_pms_0( &mut self, ) -> DMA_APBPERI_I2S0_PMS_CONSTRAIN_SRAM_CACHEDATAARRAY_PMS_0_W< @@ -152,7 +147,6 @@ impl W { } #[doc = "Bits 10:11 - i2s0's permission(store,load) in dcache data sram block1"] #[inline(always)] - #[must_use] pub fn dma_apbperi_i2s0_pms_constrain_sram_cachedataarray_pms_1( &mut self, ) -> DMA_APBPERI_I2S0_PMS_CONSTRAIN_SRAM_CACHEDATAARRAY_PMS_1_W< diff --git a/esp32s3/src/sensitive/dma_apbperi_i2s1_pms_constrain_0.rs b/esp32s3/src/sensitive/dma_apbperi_i2s1_pms_constrain_0.rs index d46d7a55e4..b33fa810d5 100644 --- a/esp32s3/src/sensitive/dma_apbperi_i2s1_pms_constrain_0.rs +++ b/esp32s3/src/sensitive/dma_apbperi_i2s1_pms_constrain_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock i2s1 dma permission Configuration Register."] #[inline(always)] - #[must_use] pub fn dma_apbperi_i2s1_pms_constrain_lock( &mut self, ) -> DMA_APBPERI_I2S1_PMS_CONSTRAIN_LOCK_W { diff --git a/esp32s3/src/sensitive/dma_apbperi_i2s1_pms_constrain_1.rs b/esp32s3/src/sensitive/dma_apbperi_i2s1_pms_constrain_1.rs index c2a5a705ed..7f5f2e8d45 100644 --- a/esp32s3/src/sensitive/dma_apbperi_i2s1_pms_constrain_1.rs +++ b/esp32s3/src/sensitive/dma_apbperi_i2s1_pms_constrain_1.rs @@ -110,7 +110,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - i2s1's permission(store,load) in data region0 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_i2s1_pms_constrain_sram_pms_0( &mut self, ) -> DMA_APBPERI_I2S1_PMS_CONSTRAIN_SRAM_PMS_0_W { @@ -118,7 +117,6 @@ impl W { } #[doc = "Bits 2:3 - i2s1's permission(store,load) in data region1 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_i2s1_pms_constrain_sram_pms_1( &mut self, ) -> DMA_APBPERI_I2S1_PMS_CONSTRAIN_SRAM_PMS_1_W { @@ -126,7 +124,6 @@ impl W { } #[doc = "Bits 4:5 - i2s1's permission(store,load) in data region2 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_i2s1_pms_constrain_sram_pms_2( &mut self, ) -> DMA_APBPERI_I2S1_PMS_CONSTRAIN_SRAM_PMS_2_W { @@ -134,7 +131,6 @@ impl W { } #[doc = "Bits 6:7 - i2s1's permission(store,load) in data region3 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_i2s1_pms_constrain_sram_pms_3( &mut self, ) -> DMA_APBPERI_I2S1_PMS_CONSTRAIN_SRAM_PMS_3_W { @@ -142,7 +138,6 @@ impl W { } #[doc = "Bits 8:9 - i2s1's permission(store,load) in dcache data sram block0"] #[inline(always)] - #[must_use] pub fn dma_apbperi_i2s1_pms_constrain_sram_cachedataarray_pms_0( &mut self, ) -> DMA_APBPERI_I2S1_PMS_CONSTRAIN_SRAM_CACHEDATAARRAY_PMS_0_W< @@ -152,7 +147,6 @@ impl W { } #[doc = "Bits 10:11 - i2s1's permission(store,load) in dcache data sram block1"] #[inline(always)] - #[must_use] pub fn dma_apbperi_i2s1_pms_constrain_sram_cachedataarray_pms_1( &mut self, ) -> DMA_APBPERI_I2S1_PMS_CONSTRAIN_SRAM_CACHEDATAARRAY_PMS_1_W< diff --git a/esp32s3/src/sensitive/dma_apbperi_lc_pms_constrain_0.rs b/esp32s3/src/sensitive/dma_apbperi_lc_pms_constrain_0.rs index ba51d13051..20a5a9707a 100644 --- a/esp32s3/src/sensitive/dma_apbperi_lc_pms_constrain_0.rs +++ b/esp32s3/src/sensitive/dma_apbperi_lc_pms_constrain_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock lc dma permission Configuration Register."] #[inline(always)] - #[must_use] pub fn dma_apbperi_lc_pms_constrain_lock( &mut self, ) -> DMA_APBPERI_LC_PMS_CONSTRAIN_LOCK_W { diff --git a/esp32s3/src/sensitive/dma_apbperi_lc_pms_constrain_1.rs b/esp32s3/src/sensitive/dma_apbperi_lc_pms_constrain_1.rs index a723187c58..3999755287 100644 --- a/esp32s3/src/sensitive/dma_apbperi_lc_pms_constrain_1.rs +++ b/esp32s3/src/sensitive/dma_apbperi_lc_pms_constrain_1.rs @@ -106,7 +106,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - lc's permission(store,load) in data region0 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_lc_pms_constrain_sram_pms_0( &mut self, ) -> DMA_APBPERI_LC_PMS_CONSTRAIN_SRAM_PMS_0_W { @@ -114,7 +113,6 @@ impl W { } #[doc = "Bits 2:3 - lc's permission(store,load) in data region1 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_lc_pms_constrain_sram_pms_1( &mut self, ) -> DMA_APBPERI_LC_PMS_CONSTRAIN_SRAM_PMS_1_W { @@ -122,7 +120,6 @@ impl W { } #[doc = "Bits 4:5 - lc's permission(store,load) in data region2 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_lc_pms_constrain_sram_pms_2( &mut self, ) -> DMA_APBPERI_LC_PMS_CONSTRAIN_SRAM_PMS_2_W { @@ -130,7 +127,6 @@ impl W { } #[doc = "Bits 6:7 - lc's permission(store,load) in data region3 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_lc_pms_constrain_sram_pms_3( &mut self, ) -> DMA_APBPERI_LC_PMS_CONSTRAIN_SRAM_PMS_3_W { @@ -138,7 +134,6 @@ impl W { } #[doc = "Bits 8:9 - lc's permission(store,load) in dcache data sram block0"] #[inline(always)] - #[must_use] pub fn dma_apbperi_lc_pms_constrain_sram_cachedataarray_pms_0( &mut self, ) -> DMA_APBPERI_LC_PMS_CONSTRAIN_SRAM_CACHEDATAARRAY_PMS_0_W @@ -147,7 +142,6 @@ impl W { } #[doc = "Bits 10:11 - lc's permission(store,load) in dcache data sram block1"] #[inline(always)] - #[must_use] pub fn dma_apbperi_lc_pms_constrain_sram_cachedataarray_pms_1( &mut self, ) -> DMA_APBPERI_LC_PMS_CONSTRAIN_SRAM_CACHEDATAARRAY_PMS_1_W diff --git a/esp32s3/src/sensitive/dma_apbperi_lcd_cam_pms_constrain_0.rs b/esp32s3/src/sensitive/dma_apbperi_lcd_cam_pms_constrain_0.rs index 756de9acd4..e885ed3f10 100644 --- a/esp32s3/src/sensitive/dma_apbperi_lcd_cam_pms_constrain_0.rs +++ b/esp32s3/src/sensitive/dma_apbperi_lcd_cam_pms_constrain_0.rs @@ -29,7 +29,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock lcd_cam dma permission Configuration Register."] #[inline(always)] - #[must_use] pub fn dma_apbperi_lcd_cam_pms_constrain_lock( &mut self, ) -> DMA_APBPERI_LCD_CAM_PMS_CONSTRAIN_LOCK_W { diff --git a/esp32s3/src/sensitive/dma_apbperi_lcd_cam_pms_constrain_1.rs b/esp32s3/src/sensitive/dma_apbperi_lcd_cam_pms_constrain_1.rs index a05e4ff72f..3406d1b684 100644 --- a/esp32s3/src/sensitive/dma_apbperi_lcd_cam_pms_constrain_1.rs +++ b/esp32s3/src/sensitive/dma_apbperi_lcd_cam_pms_constrain_1.rs @@ -110,7 +110,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - lcd_cam's permission(store,load) in data region0 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_lcd_cam_pms_constrain_sram_pms_0( &mut self, ) -> DMA_APBPERI_LCD_CAM_PMS_CONSTRAIN_SRAM_PMS_0_W @@ -119,7 +118,6 @@ impl W { } #[doc = "Bits 2:3 - lcd_cam's permission(store,load) in data region1 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_lcd_cam_pms_constrain_sram_pms_1( &mut self, ) -> DMA_APBPERI_LCD_CAM_PMS_CONSTRAIN_SRAM_PMS_1_W @@ -128,7 +126,6 @@ impl W { } #[doc = "Bits 4:5 - lcd_cam's permission(store,load) in data region2 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_lcd_cam_pms_constrain_sram_pms_2( &mut self, ) -> DMA_APBPERI_LCD_CAM_PMS_CONSTRAIN_SRAM_PMS_2_W @@ -137,7 +134,6 @@ impl W { } #[doc = "Bits 6:7 - lcd_cam's permission(store,load) in data region3 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_lcd_cam_pms_constrain_sram_pms_3( &mut self, ) -> DMA_APBPERI_LCD_CAM_PMS_CONSTRAIN_SRAM_PMS_3_W @@ -146,7 +142,6 @@ impl W { } #[doc = "Bits 8:9 - lcd_cam's permission(store,load) in dcache data sram block0"] #[inline(always)] - #[must_use] pub fn dma_apbperi_lcd_cam_pms_constrain_sram_cachedataarray_pms_0( &mut self, ) -> DMA_APBPERI_LCD_CAM_PMS_CONSTRAIN_SRAM_CACHEDATAARRAY_PMS_0_W< @@ -156,7 +151,6 @@ impl W { } #[doc = "Bits 10:11 - lcd_cam's permission(store,load) in dcache data sram block1"] #[inline(always)] - #[must_use] pub fn dma_apbperi_lcd_cam_pms_constrain_sram_cachedataarray_pms_1( &mut self, ) -> DMA_APBPERI_LCD_CAM_PMS_CONSTRAIN_SRAM_CACHEDATAARRAY_PMS_1_W< diff --git a/esp32s3/src/sensitive/dma_apbperi_mac_pms_constrain_0.rs b/esp32s3/src/sensitive/dma_apbperi_mac_pms_constrain_0.rs index 5d5182bbeb..e731819699 100644 --- a/esp32s3/src/sensitive/dma_apbperi_mac_pms_constrain_0.rs +++ b/esp32s3/src/sensitive/dma_apbperi_mac_pms_constrain_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock mac dma permission Configuration Register."] #[inline(always)] - #[must_use] pub fn dma_apbperi_mac_pms_constrain_lock( &mut self, ) -> DMA_APBPERI_MAC_PMS_CONSTRAIN_LOCK_W { diff --git a/esp32s3/src/sensitive/dma_apbperi_mac_pms_constrain_1.rs b/esp32s3/src/sensitive/dma_apbperi_mac_pms_constrain_1.rs index 1731a7c06b..47830bd872 100644 --- a/esp32s3/src/sensitive/dma_apbperi_mac_pms_constrain_1.rs +++ b/esp32s3/src/sensitive/dma_apbperi_mac_pms_constrain_1.rs @@ -108,7 +108,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - mac's permission(store,load) in data region0 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_mac_pms_constrain_sram_pms_0( &mut self, ) -> DMA_APBPERI_MAC_PMS_CONSTRAIN_SRAM_PMS_0_W { @@ -116,7 +115,6 @@ impl W { } #[doc = "Bits 2:3 - mac's permission(store,load) in data region1 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_mac_pms_constrain_sram_pms_1( &mut self, ) -> DMA_APBPERI_MAC_PMS_CONSTRAIN_SRAM_PMS_1_W { @@ -124,7 +122,6 @@ impl W { } #[doc = "Bits 4:5 - mac's permission(store,load) in data region2 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_mac_pms_constrain_sram_pms_2( &mut self, ) -> DMA_APBPERI_MAC_PMS_CONSTRAIN_SRAM_PMS_2_W { @@ -132,7 +129,6 @@ impl W { } #[doc = "Bits 6:7 - mac's permission(store,load) in data region3 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_mac_pms_constrain_sram_pms_3( &mut self, ) -> DMA_APBPERI_MAC_PMS_CONSTRAIN_SRAM_PMS_3_W { @@ -140,7 +136,6 @@ impl W { } #[doc = "Bits 8:9 - mac's permission(store,load) in dcache data sram block0"] #[inline(always)] - #[must_use] pub fn dma_apbperi_mac_pms_constrain_sram_cachedataarray_pms_0( &mut self, ) -> DMA_APBPERI_MAC_PMS_CONSTRAIN_SRAM_CACHEDATAARRAY_PMS_0_W< @@ -150,7 +145,6 @@ impl W { } #[doc = "Bits 10:11 - mac's permission(store,load) in dcache data sram block1"] #[inline(always)] - #[must_use] pub fn dma_apbperi_mac_pms_constrain_sram_cachedataarray_pms_1( &mut self, ) -> DMA_APBPERI_MAC_PMS_CONSTRAIN_SRAM_CACHEDATAARRAY_PMS_1_W< diff --git a/esp32s3/src/sensitive/dma_apbperi_pms_monitor_0.rs b/esp32s3/src/sensitive/dma_apbperi_pms_monitor_0.rs index 2295fbdacb..0b258e72df 100644 --- a/esp32s3/src/sensitive/dma_apbperi_pms_monitor_0.rs +++ b/esp32s3/src/sensitive/dma_apbperi_pms_monitor_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock dma permission monitor Configuration Register."] #[inline(always)] - #[must_use] pub fn dma_apbperi_pms_monitor_lock( &mut self, ) -> DMA_APBPERI_PMS_MONITOR_LOCK_W { diff --git a/esp32s3/src/sensitive/dma_apbperi_pms_monitor_1.rs b/esp32s3/src/sensitive/dma_apbperi_pms_monitor_1.rs index 3af13500b3..5dc0a8ec69 100644 --- a/esp32s3/src/sensitive/dma_apbperi_pms_monitor_1.rs +++ b/esp32s3/src/sensitive/dma_apbperi_pms_monitor_1.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to clear dma_pms_monitor_violate interrupt"] #[inline(always)] - #[must_use] pub fn dma_apbperi_pms_monitor_violate_clr( &mut self, ) -> DMA_APBPERI_PMS_MONITOR_VIOLATE_CLR_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bit 1 - Set 1 to enable dma pms monitor, if dma access violated permission, will trigger interrupt."] #[inline(always)] - #[must_use] pub fn dma_apbperi_pms_monitor_violate_en( &mut self, ) -> DMA_APBPERI_PMS_MONITOR_VIOLATE_EN_W { diff --git a/esp32s3/src/sensitive/dma_apbperi_rmt_pms_constrain_0.rs b/esp32s3/src/sensitive/dma_apbperi_rmt_pms_constrain_0.rs index a8ea416ae3..25bbf77fd1 100644 --- a/esp32s3/src/sensitive/dma_apbperi_rmt_pms_constrain_0.rs +++ b/esp32s3/src/sensitive/dma_apbperi_rmt_pms_constrain_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock rmt dma permission Configuration Register."] #[inline(always)] - #[must_use] pub fn dma_apbperi_rmt_pms_constrain_lock( &mut self, ) -> DMA_APBPERI_RMT_PMS_CONSTRAIN_LOCK_W { diff --git a/esp32s3/src/sensitive/dma_apbperi_rmt_pms_constrain_1.rs b/esp32s3/src/sensitive/dma_apbperi_rmt_pms_constrain_1.rs index c4dd482834..a88201d3ee 100644 --- a/esp32s3/src/sensitive/dma_apbperi_rmt_pms_constrain_1.rs +++ b/esp32s3/src/sensitive/dma_apbperi_rmt_pms_constrain_1.rs @@ -108,7 +108,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - rmt's permission(store,load) in data region0 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_rmt_pms_constrain_sram_pms_0( &mut self, ) -> DMA_APBPERI_RMT_PMS_CONSTRAIN_SRAM_PMS_0_W { @@ -116,7 +115,6 @@ impl W { } #[doc = "Bits 2:3 - rmt's permission(store,load) in data region1 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_rmt_pms_constrain_sram_pms_1( &mut self, ) -> DMA_APBPERI_RMT_PMS_CONSTRAIN_SRAM_PMS_1_W { @@ -124,7 +122,6 @@ impl W { } #[doc = "Bits 4:5 - rmt's permission(store,load) in data region2 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_rmt_pms_constrain_sram_pms_2( &mut self, ) -> DMA_APBPERI_RMT_PMS_CONSTRAIN_SRAM_PMS_2_W { @@ -132,7 +129,6 @@ impl W { } #[doc = "Bits 6:7 - rmt's permission(store,load) in data region3 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_rmt_pms_constrain_sram_pms_3( &mut self, ) -> DMA_APBPERI_RMT_PMS_CONSTRAIN_SRAM_PMS_3_W { @@ -140,7 +136,6 @@ impl W { } #[doc = "Bits 8:9 - rmt's permission(store,load) in dcache data sram block0"] #[inline(always)] - #[must_use] pub fn dma_apbperi_rmt_pms_constrain_sram_cachedataarray_pms_0( &mut self, ) -> DMA_APBPERI_RMT_PMS_CONSTRAIN_SRAM_CACHEDATAARRAY_PMS_0_W< @@ -150,7 +145,6 @@ impl W { } #[doc = "Bits 10:11 - rmt's permission(store,load) in dcache data sram block1"] #[inline(always)] - #[must_use] pub fn dma_apbperi_rmt_pms_constrain_sram_cachedataarray_pms_1( &mut self, ) -> DMA_APBPERI_RMT_PMS_CONSTRAIN_SRAM_CACHEDATAARRAY_PMS_1_W< diff --git a/esp32s3/src/sensitive/dma_apbperi_sdio_pms_constrain_0.rs b/esp32s3/src/sensitive/dma_apbperi_sdio_pms_constrain_0.rs index 7a430164cc..518bbec608 100644 --- a/esp32s3/src/sensitive/dma_apbperi_sdio_pms_constrain_0.rs +++ b/esp32s3/src/sensitive/dma_apbperi_sdio_pms_constrain_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock sdio dma permission Configuration Register."] #[inline(always)] - #[must_use] pub fn dma_apbperi_sdio_pms_constrain_lock( &mut self, ) -> DMA_APBPERI_SDIO_PMS_CONSTRAIN_LOCK_W { diff --git a/esp32s3/src/sensitive/dma_apbperi_sdio_pms_constrain_1.rs b/esp32s3/src/sensitive/dma_apbperi_sdio_pms_constrain_1.rs index 0c5ed45665..5634e0dcc2 100644 --- a/esp32s3/src/sensitive/dma_apbperi_sdio_pms_constrain_1.rs +++ b/esp32s3/src/sensitive/dma_apbperi_sdio_pms_constrain_1.rs @@ -110,7 +110,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - sdio's permission(store,load) in data region0 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_sdio_pms_constrain_sram_pms_0( &mut self, ) -> DMA_APBPERI_SDIO_PMS_CONSTRAIN_SRAM_PMS_0_W { @@ -118,7 +117,6 @@ impl W { } #[doc = "Bits 2:3 - sdio's permission(store,load) in data region1 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_sdio_pms_constrain_sram_pms_1( &mut self, ) -> DMA_APBPERI_SDIO_PMS_CONSTRAIN_SRAM_PMS_1_W { @@ -126,7 +124,6 @@ impl W { } #[doc = "Bits 4:5 - sdio's permission(store,load) in data region2 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_sdio_pms_constrain_sram_pms_2( &mut self, ) -> DMA_APBPERI_SDIO_PMS_CONSTRAIN_SRAM_PMS_2_W { @@ -134,7 +131,6 @@ impl W { } #[doc = "Bits 6:7 - sdio's permission(store,load) in data region3 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_sdio_pms_constrain_sram_pms_3( &mut self, ) -> DMA_APBPERI_SDIO_PMS_CONSTRAIN_SRAM_PMS_3_W { @@ -142,7 +138,6 @@ impl W { } #[doc = "Bits 8:9 - sdio's permission(store,load) in dcache data sram block0"] #[inline(always)] - #[must_use] pub fn dma_apbperi_sdio_pms_constrain_sram_cachedataarray_pms_0( &mut self, ) -> DMA_APBPERI_SDIO_PMS_CONSTRAIN_SRAM_CACHEDATAARRAY_PMS_0_W< @@ -152,7 +147,6 @@ impl W { } #[doc = "Bits 10:11 - sdio's permission(store,load) in dcache data sram block1"] #[inline(always)] - #[must_use] pub fn dma_apbperi_sdio_pms_constrain_sram_cachedataarray_pms_1( &mut self, ) -> DMA_APBPERI_SDIO_PMS_CONSTRAIN_SRAM_CACHEDATAARRAY_PMS_1_W< diff --git a/esp32s3/src/sensitive/dma_apbperi_sha_pms_constrain_0.rs b/esp32s3/src/sensitive/dma_apbperi_sha_pms_constrain_0.rs index 54282566ee..2c5553dc7d 100644 --- a/esp32s3/src/sensitive/dma_apbperi_sha_pms_constrain_0.rs +++ b/esp32s3/src/sensitive/dma_apbperi_sha_pms_constrain_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock sha dma permission Configuration Register."] #[inline(always)] - #[must_use] pub fn dma_apbperi_sha_pms_constrain_lock( &mut self, ) -> DMA_APBPERI_SHA_PMS_CONSTRAIN_LOCK_W { diff --git a/esp32s3/src/sensitive/dma_apbperi_sha_pms_constrain_1.rs b/esp32s3/src/sensitive/dma_apbperi_sha_pms_constrain_1.rs index ab2ad229c2..79bd1fe233 100644 --- a/esp32s3/src/sensitive/dma_apbperi_sha_pms_constrain_1.rs +++ b/esp32s3/src/sensitive/dma_apbperi_sha_pms_constrain_1.rs @@ -108,7 +108,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - sha's permission(store,load) in data region0 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_sha_pms_constrain_sram_pms_0( &mut self, ) -> DMA_APBPERI_SHA_PMS_CONSTRAIN_SRAM_PMS_0_W { @@ -116,7 +115,6 @@ impl W { } #[doc = "Bits 2:3 - sha's permission(store,load) in data region1 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_sha_pms_constrain_sram_pms_1( &mut self, ) -> DMA_APBPERI_SHA_PMS_CONSTRAIN_SRAM_PMS_1_W { @@ -124,7 +122,6 @@ impl W { } #[doc = "Bits 4:5 - sha's permission(store,load) in data region2 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_sha_pms_constrain_sram_pms_2( &mut self, ) -> DMA_APBPERI_SHA_PMS_CONSTRAIN_SRAM_PMS_2_W { @@ -132,7 +129,6 @@ impl W { } #[doc = "Bits 6:7 - sha's permission(store,load) in data region3 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_sha_pms_constrain_sram_pms_3( &mut self, ) -> DMA_APBPERI_SHA_PMS_CONSTRAIN_SRAM_PMS_3_W { @@ -140,7 +136,6 @@ impl W { } #[doc = "Bits 8:9 - sha's permission(store,load) in dcache data sram block0"] #[inline(always)] - #[must_use] pub fn dma_apbperi_sha_pms_constrain_sram_cachedataarray_pms_0( &mut self, ) -> DMA_APBPERI_SHA_PMS_CONSTRAIN_SRAM_CACHEDATAARRAY_PMS_0_W< @@ -150,7 +145,6 @@ impl W { } #[doc = "Bits 10:11 - sha's permission(store,load) in dcache data sram block1"] #[inline(always)] - #[must_use] pub fn dma_apbperi_sha_pms_constrain_sram_cachedataarray_pms_1( &mut self, ) -> DMA_APBPERI_SHA_PMS_CONSTRAIN_SRAM_CACHEDATAARRAY_PMS_1_W< diff --git a/esp32s3/src/sensitive/dma_apbperi_spi2_pms_constrain_0.rs b/esp32s3/src/sensitive/dma_apbperi_spi2_pms_constrain_0.rs index d77099713b..388b5acaac 100644 --- a/esp32s3/src/sensitive/dma_apbperi_spi2_pms_constrain_0.rs +++ b/esp32s3/src/sensitive/dma_apbperi_spi2_pms_constrain_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock spi2 dma permission Configuration Register."] #[inline(always)] - #[must_use] pub fn dma_apbperi_spi2_pms_constrain_lock( &mut self, ) -> DMA_APBPERI_SPI2_PMS_CONSTRAIN_LOCK_W { diff --git a/esp32s3/src/sensitive/dma_apbperi_spi2_pms_constrain_1.rs b/esp32s3/src/sensitive/dma_apbperi_spi2_pms_constrain_1.rs index 63dc99c934..0beb66c804 100644 --- a/esp32s3/src/sensitive/dma_apbperi_spi2_pms_constrain_1.rs +++ b/esp32s3/src/sensitive/dma_apbperi_spi2_pms_constrain_1.rs @@ -110,7 +110,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - spi2's permission(store,load) in data region0 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_spi2_pms_constrain_sram_pms_0( &mut self, ) -> DMA_APBPERI_SPI2_PMS_CONSTRAIN_SRAM_PMS_0_W { @@ -118,7 +117,6 @@ impl W { } #[doc = "Bits 2:3 - spi2's permission(store,load) in data region1 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_spi2_pms_constrain_sram_pms_1( &mut self, ) -> DMA_APBPERI_SPI2_PMS_CONSTRAIN_SRAM_PMS_1_W { @@ -126,7 +124,6 @@ impl W { } #[doc = "Bits 4:5 - spi2's permission(store,load) in data region2 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_spi2_pms_constrain_sram_pms_2( &mut self, ) -> DMA_APBPERI_SPI2_PMS_CONSTRAIN_SRAM_PMS_2_W { @@ -134,7 +131,6 @@ impl W { } #[doc = "Bits 6:7 - spi2's permission(store,load) in data region3 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_spi2_pms_constrain_sram_pms_3( &mut self, ) -> DMA_APBPERI_SPI2_PMS_CONSTRAIN_SRAM_PMS_3_W { @@ -142,7 +138,6 @@ impl W { } #[doc = "Bits 8:9 - spi2's permission(store,load) in dcache data sram block0"] #[inline(always)] - #[must_use] pub fn dma_apbperi_spi2_pms_constrain_sram_cachedataarray_pms_0( &mut self, ) -> DMA_APBPERI_SPI2_PMS_CONSTRAIN_SRAM_CACHEDATAARRAY_PMS_0_W< @@ -152,7 +147,6 @@ impl W { } #[doc = "Bits 10:11 - spi2's permission(store,load) in dcache data sram block1"] #[inline(always)] - #[must_use] pub fn dma_apbperi_spi2_pms_constrain_sram_cachedataarray_pms_1( &mut self, ) -> DMA_APBPERI_SPI2_PMS_CONSTRAIN_SRAM_CACHEDATAARRAY_PMS_1_W< diff --git a/esp32s3/src/sensitive/dma_apbperi_spi3_pms_constrain_0.rs b/esp32s3/src/sensitive/dma_apbperi_spi3_pms_constrain_0.rs index 2ec94074db..1151a542cd 100644 --- a/esp32s3/src/sensitive/dma_apbperi_spi3_pms_constrain_0.rs +++ b/esp32s3/src/sensitive/dma_apbperi_spi3_pms_constrain_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock spi3 dma permission Configuration Register."] #[inline(always)] - #[must_use] pub fn dma_apbperi_spi3_pms_constrain_lock( &mut self, ) -> DMA_APBPERI_SPI3_PMS_CONSTRAIN_LOCK_W { diff --git a/esp32s3/src/sensitive/dma_apbperi_spi3_pms_constrain_1.rs b/esp32s3/src/sensitive/dma_apbperi_spi3_pms_constrain_1.rs index 5948da9825..3bc703165b 100644 --- a/esp32s3/src/sensitive/dma_apbperi_spi3_pms_constrain_1.rs +++ b/esp32s3/src/sensitive/dma_apbperi_spi3_pms_constrain_1.rs @@ -110,7 +110,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - spi3's permission(store,load) in data region0 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_spi3_pms_constrain_sram_pms_0( &mut self, ) -> DMA_APBPERI_SPI3_PMS_CONSTRAIN_SRAM_PMS_0_W { @@ -118,7 +117,6 @@ impl W { } #[doc = "Bits 2:3 - spi3's permission(store,load) in data region1 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_spi3_pms_constrain_sram_pms_1( &mut self, ) -> DMA_APBPERI_SPI3_PMS_CONSTRAIN_SRAM_PMS_1_W { @@ -126,7 +124,6 @@ impl W { } #[doc = "Bits 4:5 - spi3's permission(store,load) in data region2 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_spi3_pms_constrain_sram_pms_2( &mut self, ) -> DMA_APBPERI_SPI3_PMS_CONSTRAIN_SRAM_PMS_2_W { @@ -134,7 +131,6 @@ impl W { } #[doc = "Bits 6:7 - spi3's permission(store,load) in data region3 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_spi3_pms_constrain_sram_pms_3( &mut self, ) -> DMA_APBPERI_SPI3_PMS_CONSTRAIN_SRAM_PMS_3_W { @@ -142,7 +138,6 @@ impl W { } #[doc = "Bits 8:9 - spi3's permission(store,load) in dcache data sram block0"] #[inline(always)] - #[must_use] pub fn dma_apbperi_spi3_pms_constrain_sram_cachedataarray_pms_0( &mut self, ) -> DMA_APBPERI_SPI3_PMS_CONSTRAIN_SRAM_CACHEDATAARRAY_PMS_0_W< @@ -152,7 +147,6 @@ impl W { } #[doc = "Bits 10:11 - spi3's permission(store,load) in dcache data sram block1"] #[inline(always)] - #[must_use] pub fn dma_apbperi_spi3_pms_constrain_sram_cachedataarray_pms_1( &mut self, ) -> DMA_APBPERI_SPI3_PMS_CONSTRAIN_SRAM_CACHEDATAARRAY_PMS_1_W< diff --git a/esp32s3/src/sensitive/dma_apbperi_uhci0_pms_constrain_0.rs b/esp32s3/src/sensitive/dma_apbperi_uhci0_pms_constrain_0.rs index be14923020..303e8e771f 100644 --- a/esp32s3/src/sensitive/dma_apbperi_uhci0_pms_constrain_0.rs +++ b/esp32s3/src/sensitive/dma_apbperi_uhci0_pms_constrain_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock uhci0 dma permission Configuration Register."] #[inline(always)] - #[must_use] pub fn dma_apbperi_uhci0_pms_constrain_lock( &mut self, ) -> DMA_APBPERI_UHCI0_PMS_CONSTRAIN_LOCK_W { diff --git a/esp32s3/src/sensitive/dma_apbperi_uhci0_pms_constrain_1.rs b/esp32s3/src/sensitive/dma_apbperi_uhci0_pms_constrain_1.rs index 40c3f33b62..9769033979 100644 --- a/esp32s3/src/sensitive/dma_apbperi_uhci0_pms_constrain_1.rs +++ b/esp32s3/src/sensitive/dma_apbperi_uhci0_pms_constrain_1.rs @@ -110,7 +110,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - uhci0's permission(store,load) in data region0 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_uhci0_pms_constrain_sram_pms_0( &mut self, ) -> DMA_APBPERI_UHCI0_PMS_CONSTRAIN_SRAM_PMS_0_W { @@ -118,7 +117,6 @@ impl W { } #[doc = "Bits 2:3 - uhci0's permission(store,load) in data region1 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_uhci0_pms_constrain_sram_pms_1( &mut self, ) -> DMA_APBPERI_UHCI0_PMS_CONSTRAIN_SRAM_PMS_1_W { @@ -126,7 +124,6 @@ impl W { } #[doc = "Bits 4:5 - uhci0's permission(store,load) in data region2 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_uhci0_pms_constrain_sram_pms_2( &mut self, ) -> DMA_APBPERI_UHCI0_PMS_CONSTRAIN_SRAM_PMS_2_W { @@ -134,7 +131,6 @@ impl W { } #[doc = "Bits 6:7 - uhci0's permission(store,load) in data region3 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_uhci0_pms_constrain_sram_pms_3( &mut self, ) -> DMA_APBPERI_UHCI0_PMS_CONSTRAIN_SRAM_PMS_3_W { @@ -142,7 +138,6 @@ impl W { } #[doc = "Bits 8:9 - uhci0's permission(store,load) in dcache data sram block0"] #[inline(always)] - #[must_use] pub fn dma_apbperi_uhci0_pms_constrain_sram_cachedataarray_pms_0( &mut self, ) -> DMA_APBPERI_UHCI0_PMS_CONSTRAIN_SRAM_CACHEDATAARRAY_PMS_0_W< @@ -152,7 +147,6 @@ impl W { } #[doc = "Bits 10:11 - uhci0's permission(store,load) in dcache data sram block1"] #[inline(always)] - #[must_use] pub fn dma_apbperi_uhci0_pms_constrain_sram_cachedataarray_pms_1( &mut self, ) -> DMA_APBPERI_UHCI0_PMS_CONSTRAIN_SRAM_CACHEDATAARRAY_PMS_1_W< diff --git a/esp32s3/src/sensitive/dma_apbperi_usb_pms_constrain_0.rs b/esp32s3/src/sensitive/dma_apbperi_usb_pms_constrain_0.rs index ce69ec9820..6e72f96fbb 100644 --- a/esp32s3/src/sensitive/dma_apbperi_usb_pms_constrain_0.rs +++ b/esp32s3/src/sensitive/dma_apbperi_usb_pms_constrain_0.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock usb dma permission Configuration Register."] #[inline(always)] - #[must_use] pub fn dma_apbperi_usb_pms_constrain_lock( &mut self, ) -> DMA_APBPERI_USB_PMS_CONSTRAIN_LOCK_W { diff --git a/esp32s3/src/sensitive/dma_apbperi_usb_pms_constrain_1.rs b/esp32s3/src/sensitive/dma_apbperi_usb_pms_constrain_1.rs index aec5287a8d..55f0665485 100644 --- a/esp32s3/src/sensitive/dma_apbperi_usb_pms_constrain_1.rs +++ b/esp32s3/src/sensitive/dma_apbperi_usb_pms_constrain_1.rs @@ -108,7 +108,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - usb's permission(store,load) in data region0 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_usb_pms_constrain_sram_pms_0( &mut self, ) -> DMA_APBPERI_USB_PMS_CONSTRAIN_SRAM_PMS_0_W { @@ -116,7 +115,6 @@ impl W { } #[doc = "Bits 2:3 - usb's permission(store,load) in data region1 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_usb_pms_constrain_sram_pms_1( &mut self, ) -> DMA_APBPERI_USB_PMS_CONSTRAIN_SRAM_PMS_1_W { @@ -124,7 +122,6 @@ impl W { } #[doc = "Bits 4:5 - usb's permission(store,load) in data region2 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_usb_pms_constrain_sram_pms_2( &mut self, ) -> DMA_APBPERI_USB_PMS_CONSTRAIN_SRAM_PMS_2_W { @@ -132,7 +129,6 @@ impl W { } #[doc = "Bits 6:7 - usb's permission(store,load) in data region3 of SRAM"] #[inline(always)] - #[must_use] pub fn dma_apbperi_usb_pms_constrain_sram_pms_3( &mut self, ) -> DMA_APBPERI_USB_PMS_CONSTRAIN_SRAM_PMS_3_W { @@ -140,7 +136,6 @@ impl W { } #[doc = "Bits 8:9 - usb's permission(store,load) in dcache data sram block0"] #[inline(always)] - #[must_use] pub fn dma_apbperi_usb_pms_constrain_sram_cachedataarray_pms_0( &mut self, ) -> DMA_APBPERI_USB_PMS_CONSTRAIN_SRAM_CACHEDATAARRAY_PMS_0_W< @@ -150,7 +145,6 @@ impl W { } #[doc = "Bits 10:11 - usb's permission(store,load) in dcache data sram block1"] #[inline(always)] - #[must_use] pub fn dma_apbperi_usb_pms_constrain_sram_cachedataarray_pms_1( &mut self, ) -> DMA_APBPERI_USB_PMS_CONSTRAIN_SRAM_CACHEDATAARRAY_PMS_1_W< diff --git a/esp32s3/src/sensitive/edma_boundary_0.rs b/esp32s3/src/sensitive/edma_boundary_0.rs index b7e2eb7513..3676d8501d 100644 --- a/esp32s3/src/sensitive/edma_boundary_0.rs +++ b/esp32s3/src/sensitive/edma_boundary_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - This field is used to configure the boundary 0 of external RAM. The unit is 4K. For example, set this field to 0x80, then the address boundary 0 would be 0x3C080000 (0x3C000000 + 0x80 * 4K)."] #[inline(always)] - #[must_use] pub fn edma_boundary_0(&mut self) -> EDMA_BOUNDARY_0_W { EDMA_BOUNDARY_0_W::new(self, 0) } diff --git a/esp32s3/src/sensitive/edma_boundary_1.rs b/esp32s3/src/sensitive/edma_boundary_1.rs index a47a89b772..e6b6667dd0 100644 --- a/esp32s3/src/sensitive/edma_boundary_1.rs +++ b/esp32s3/src/sensitive/edma_boundary_1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - This field is used to configure the boundary 1 of external RAM. The unit is 4K. For example, set this field to 0x80, then the address boundary 0 would be 0x3C080000 (0x3C000000 + 0x80 * 4K)."] #[inline(always)] - #[must_use] pub fn edma_boundary_1(&mut self) -> EDMA_BOUNDARY_1_W { EDMA_BOUNDARY_1_W::new(self, 0) } diff --git a/esp32s3/src/sensitive/edma_boundary_2.rs b/esp32s3/src/sensitive/edma_boundary_2.rs index e833e635f5..8db316a6fa 100644 --- a/esp32s3/src/sensitive/edma_boundary_2.rs +++ b/esp32s3/src/sensitive/edma_boundary_2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - This field is used to configure the boundary 2 of external RAM. The unit is 4K. For example, set this field to 0x80, then the address boundary 0 would be 0x3C080000 (0x3C000000 + 0x80 * 4K)."] #[inline(always)] - #[must_use] pub fn edma_boundary_2(&mut self) -> EDMA_BOUNDARY_2_W { EDMA_BOUNDARY_2_W::new(self, 0) } diff --git a/esp32s3/src/sensitive/edma_boundary_lock.rs b/esp32s3/src/sensitive/edma_boundary_lock.rs index e34654b8f4..988d6623a3 100644 --- a/esp32s3/src/sensitive/edma_boundary_lock.rs +++ b/esp32s3/src/sensitive/edma_boundary_lock.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock EDMA boundary registers."] #[inline(always)] - #[must_use] pub fn edma_boundary_lock(&mut self) -> EDMA_BOUNDARY_LOCK_W { EDMA_BOUNDARY_LOCK_W::new(self, 0) } diff --git a/esp32s3/src/sensitive/edma_pms_adc_dac.rs b/esp32s3/src/sensitive/edma_pms_adc_dac.rs index 0438b04d17..a1b9a7986f 100644 --- a/esp32s3/src/sensitive/edma_pms_adc_dac.rs +++ b/esp32s3/src/sensitive/edma_pms_adc_dac.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - This field is used to configure the permission of ADC/DAC accessing address, which is larger than boundary 0 and less than boundary 1, through EDMA. Bit 0: set this bit to enable read permission. Bit 1: set this bit to enable write permission."] #[inline(always)] - #[must_use] pub fn attr1(&mut self) -> ATTR1_W { ATTR1_W::new(self, 0) } #[doc = "Bits 2:3 - This field is used to configure the permission of ADC/DAC accessing address, which is larger than boundary 1 and less than boundary 2, through EDMA. Bit 0: set this bit to enable read permission. Bit 1: set this bit to enable write permission."] #[inline(always)] - #[must_use] pub fn attr2(&mut self) -> ATTR2_W { ATTR2_W::new(self, 2) } diff --git a/esp32s3/src/sensitive/edma_pms_adc_dac_lock.rs b/esp32s3/src/sensitive/edma_pms_adc_dac_lock.rs index 7c5aa436f5..c27fc9bfd8 100644 --- a/esp32s3/src/sensitive/edma_pms_adc_dac_lock.rs +++ b/esp32s3/src/sensitive/edma_pms_adc_dac_lock.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock EDMA-ADC/DAC permission control registers."] #[inline(always)] - #[must_use] pub fn edma_pms_adc_dac_lock(&mut self) -> EDMA_PMS_ADC_DAC_LOCK_W { EDMA_PMS_ADC_DAC_LOCK_W::new(self, 0) } diff --git a/esp32s3/src/sensitive/edma_pms_aes.rs b/esp32s3/src/sensitive/edma_pms_aes.rs index 0ccd8ec783..83f7a8fb44 100644 --- a/esp32s3/src/sensitive/edma_pms_aes.rs +++ b/esp32s3/src/sensitive/edma_pms_aes.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - This field is used to configure the permission of AES accessing address, which is larger than boundary 0 and less than boundary 1, through EDMA. Bit 0: set this bit to enable read permission. Bit 1: set this bit to enable write permission."] #[inline(always)] - #[must_use] pub fn attr1(&mut self) -> ATTR1_W { ATTR1_W::new(self, 0) } #[doc = "Bits 2:3 - This field is used to configure the permission of AES accessing address, which is larger than boundary 1 and less than boundary 2, through EDMA. Bit 0: set this bit to enable read permission. Bit 1: set this bit to enable write permission."] #[inline(always)] - #[must_use] pub fn attr2(&mut self) -> ATTR2_W { ATTR2_W::new(self, 2) } diff --git a/esp32s3/src/sensitive/edma_pms_aes_lock.rs b/esp32s3/src/sensitive/edma_pms_aes_lock.rs index d5fbe57208..f3eed72098 100644 --- a/esp32s3/src/sensitive/edma_pms_aes_lock.rs +++ b/esp32s3/src/sensitive/edma_pms_aes_lock.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock EDMA-AES permission control registers."] #[inline(always)] - #[must_use] pub fn edma_pms_aes_lock(&mut self) -> EDMA_PMS_AES_LOCK_W { EDMA_PMS_AES_LOCK_W::new(self, 0) } diff --git a/esp32s3/src/sensitive/edma_pms_i2s0.rs b/esp32s3/src/sensitive/edma_pms_i2s0.rs index 17fcf7d91f..6b87c30247 100644 --- a/esp32s3/src/sensitive/edma_pms_i2s0.rs +++ b/esp32s3/src/sensitive/edma_pms_i2s0.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - This field is used to configure the permission of I2S0 accessing address, which is larger than boundary 0 and less than boundary 1, through EDMA. Bit 0: set this bit to enable read permission. Bit 1: set this bit to enable write permission."] #[inline(always)] - #[must_use] pub fn attr1(&mut self) -> ATTR1_W { ATTR1_W::new(self, 0) } #[doc = "Bits 2:3 - This field is used to configure the permission of I2S0 accessing address, which is larger than boundary 1 and less than boundary 2, through EDMA. Bit 0: set this bit to enable read permission. Bit 1: set this bit to enable write permission."] #[inline(always)] - #[must_use] pub fn attr2(&mut self) -> ATTR2_W { ATTR2_W::new(self, 2) } diff --git a/esp32s3/src/sensitive/edma_pms_i2s0_lock.rs b/esp32s3/src/sensitive/edma_pms_i2s0_lock.rs index 667972e4f7..731bbbc31b 100644 --- a/esp32s3/src/sensitive/edma_pms_i2s0_lock.rs +++ b/esp32s3/src/sensitive/edma_pms_i2s0_lock.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock EDMA-I2S0 permission control registers."] #[inline(always)] - #[must_use] pub fn edma_pms_i2s0_lock(&mut self) -> EDMA_PMS_I2S0_LOCK_W { EDMA_PMS_I2S0_LOCK_W::new(self, 0) } diff --git a/esp32s3/src/sensitive/edma_pms_i2s1.rs b/esp32s3/src/sensitive/edma_pms_i2s1.rs index e03b7a7bf2..4bbc348a2b 100644 --- a/esp32s3/src/sensitive/edma_pms_i2s1.rs +++ b/esp32s3/src/sensitive/edma_pms_i2s1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - This field is used to configure the permission of I2S1 accessing address, which is larger than boundary 0 and less than boundary 1, through EDMA. Bit 0: set this bit to enable read permission. Bit 1: set this bit to enable write permission."] #[inline(always)] - #[must_use] pub fn attr1(&mut self) -> ATTR1_W { ATTR1_W::new(self, 0) } #[doc = "Bits 2:3 - This field is used to configure the permission of I2S1 accessing address, which is larger than boundary 1 and less than boundary 2, through EDMA. Bit 0: set this bit to enable read permission. Bit 1: set this bit to enable write permission."] #[inline(always)] - #[must_use] pub fn attr2(&mut self) -> ATTR2_W { ATTR2_W::new(self, 2) } diff --git a/esp32s3/src/sensitive/edma_pms_i2s1_lock.rs b/esp32s3/src/sensitive/edma_pms_i2s1_lock.rs index 123972cc85..24b8289709 100644 --- a/esp32s3/src/sensitive/edma_pms_i2s1_lock.rs +++ b/esp32s3/src/sensitive/edma_pms_i2s1_lock.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock EDMA-I2S1 permission control registers."] #[inline(always)] - #[must_use] pub fn edma_pms_i2s1_lock(&mut self) -> EDMA_PMS_I2S1_LOCK_W { EDMA_PMS_I2S1_LOCK_W::new(self, 0) } diff --git a/esp32s3/src/sensitive/edma_pms_lcd_cam.rs b/esp32s3/src/sensitive/edma_pms_lcd_cam.rs index 0ee572717b..7b90f3c384 100644 --- a/esp32s3/src/sensitive/edma_pms_lcd_cam.rs +++ b/esp32s3/src/sensitive/edma_pms_lcd_cam.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - This field is used to configure the permission of LCD/CAM accessing address, which is larger than boundary 0 and less than boundary 1, through EDMA. Bit 0: set this bit to enable read permission. Bit 1: set this bit to enable write permission."] #[inline(always)] - #[must_use] pub fn attr1(&mut self) -> ATTR1_W { ATTR1_W::new(self, 0) } #[doc = "Bits 2:3 - This field is used to configure the permission of LCD/CAM accessing address, which is larger than boundary 1 and less than boundary 2, through EDMA. Bit 0: set this bit to enable read permission. Bit 1: set this bit to enable write permission."] #[inline(always)] - #[must_use] pub fn attr2(&mut self) -> ATTR2_W { ATTR2_W::new(self, 2) } diff --git a/esp32s3/src/sensitive/edma_pms_lcd_cam_lock.rs b/esp32s3/src/sensitive/edma_pms_lcd_cam_lock.rs index bfe76e38e5..e4e3bd1deb 100644 --- a/esp32s3/src/sensitive/edma_pms_lcd_cam_lock.rs +++ b/esp32s3/src/sensitive/edma_pms_lcd_cam_lock.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock EDMA-LCD/CAM permission control registers."] #[inline(always)] - #[must_use] pub fn edma_pms_lcd_cam_lock(&mut self) -> EDMA_PMS_LCD_CAM_LOCK_W { EDMA_PMS_LCD_CAM_LOCK_W::new(self, 0) } diff --git a/esp32s3/src/sensitive/edma_pms_rmt.rs b/esp32s3/src/sensitive/edma_pms_rmt.rs index 3bc2457c62..8f578509e0 100644 --- a/esp32s3/src/sensitive/edma_pms_rmt.rs +++ b/esp32s3/src/sensitive/edma_pms_rmt.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - This field is used to configure the permission of RMT accessing address, which is larger than boundary 0 and less than boundary 1, through EDMA. Bit 0: set this bit to enable read permission. Bit 1: set this bit to enable write permission."] #[inline(always)] - #[must_use] pub fn attr1(&mut self) -> ATTR1_W { ATTR1_W::new(self, 0) } #[doc = "Bits 2:3 - This field is used to configure the permission of RMT accessing address, which is larger than boundary 1 and less than boundary 2, through EDMA. Bit 0: set this bit to enable read permission. Bit 1: set this bit to enable write permission."] #[inline(always)] - #[must_use] pub fn attr2(&mut self) -> ATTR2_W { ATTR2_W::new(self, 2) } diff --git a/esp32s3/src/sensitive/edma_pms_rmt_lock.rs b/esp32s3/src/sensitive/edma_pms_rmt_lock.rs index 677d2f9e8e..9aaa611348 100644 --- a/esp32s3/src/sensitive/edma_pms_rmt_lock.rs +++ b/esp32s3/src/sensitive/edma_pms_rmt_lock.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock EDMA-RMT permission control registers."] #[inline(always)] - #[must_use] pub fn edma_pms_rmt_lock(&mut self) -> EDMA_PMS_RMT_LOCK_W { EDMA_PMS_RMT_LOCK_W::new(self, 0) } diff --git a/esp32s3/src/sensitive/edma_pms_sha.rs b/esp32s3/src/sensitive/edma_pms_sha.rs index 3f548f8c77..64d038a827 100644 --- a/esp32s3/src/sensitive/edma_pms_sha.rs +++ b/esp32s3/src/sensitive/edma_pms_sha.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - This field is used to configure the permission of SHA accessing address, which is larger than boundary 0 and less than boundary 1, through EDMA. Bit 0: set this bit to enable read permission. Bit 1: set this bit to enable write permission."] #[inline(always)] - #[must_use] pub fn attr1(&mut self) -> ATTR1_W { ATTR1_W::new(self, 0) } #[doc = "Bits 2:3 - This field is used to configure the permission of SHA accessing address, which is larger than boundary 1 and less than boundary 2, through EDMA. Bit 0: set this bit to enable read permission. Bit 1: set this bit to enable write permission."] #[inline(always)] - #[must_use] pub fn attr2(&mut self) -> ATTR2_W { ATTR2_W::new(self, 2) } diff --git a/esp32s3/src/sensitive/edma_pms_sha_lock.rs b/esp32s3/src/sensitive/edma_pms_sha_lock.rs index 6a973cbb13..a102f0e976 100644 --- a/esp32s3/src/sensitive/edma_pms_sha_lock.rs +++ b/esp32s3/src/sensitive/edma_pms_sha_lock.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock EDMA-SHA permission control registers."] #[inline(always)] - #[must_use] pub fn edma_pms_sha_lock(&mut self) -> EDMA_PMS_SHA_LOCK_W { EDMA_PMS_SHA_LOCK_W::new(self, 0) } diff --git a/esp32s3/src/sensitive/edma_pms_spi2.rs b/esp32s3/src/sensitive/edma_pms_spi2.rs index 2ac86e53e0..82c555c3f7 100644 --- a/esp32s3/src/sensitive/edma_pms_spi2.rs +++ b/esp32s3/src/sensitive/edma_pms_spi2.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - This field is used to configure the permission of SPI2 accessing address, which is larger than boundary 0 and less than boundary 1, through EDMA. Bit 0: set this bit to enable read permission. Bit 1: set this bit to enable write permission."] #[inline(always)] - #[must_use] pub fn attr1(&mut self) -> ATTR1_W { ATTR1_W::new(self, 0) } #[doc = "Bits 2:3 - This field is used to configure the permission of SPI2 accessing address, which is larger than boundary 1 and less than boundary 2, through EDMA. Bit 0: set this bit to enable read permission. Bit 1: set this bit to enable write permission."] #[inline(always)] - #[must_use] pub fn attr2(&mut self) -> ATTR2_W { ATTR2_W::new(self, 2) } diff --git a/esp32s3/src/sensitive/edma_pms_spi2_lock.rs b/esp32s3/src/sensitive/edma_pms_spi2_lock.rs index 28516bc818..d33e191bc4 100644 --- a/esp32s3/src/sensitive/edma_pms_spi2_lock.rs +++ b/esp32s3/src/sensitive/edma_pms_spi2_lock.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock EDMA-SPI2 permission control registers."] #[inline(always)] - #[must_use] pub fn edma_pms_spi2_lock(&mut self) -> EDMA_PMS_SPI2_LOCK_W { EDMA_PMS_SPI2_LOCK_W::new(self, 0) } diff --git a/esp32s3/src/sensitive/edma_pms_spi3.rs b/esp32s3/src/sensitive/edma_pms_spi3.rs index 98a9a80b99..9a679c96d9 100644 --- a/esp32s3/src/sensitive/edma_pms_spi3.rs +++ b/esp32s3/src/sensitive/edma_pms_spi3.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - This field is used to configure the permission of SPI3 accessing address, which is larger than boundary 0 and less than boundary 1, through EDMA. Bit 0: set this bit to enable read permission. Bit 1: set this bit to enable write permission."] #[inline(always)] - #[must_use] pub fn attr1(&mut self) -> ATTR1_W { ATTR1_W::new(self, 0) } #[doc = "Bits 2:3 - This field is used to configure the permission of SPI3 accessing address, which is larger than boundary 1 and less than boundary 2, through EDMA. Bit 0: set this bit to enable read permission. Bit 1: set this bit to enable write permission."] #[inline(always)] - #[must_use] pub fn attr2(&mut self) -> ATTR2_W { ATTR2_W::new(self, 2) } diff --git a/esp32s3/src/sensitive/edma_pms_spi3_lock.rs b/esp32s3/src/sensitive/edma_pms_spi3_lock.rs index 446bf9cc14..a0bcafca94 100644 --- a/esp32s3/src/sensitive/edma_pms_spi3_lock.rs +++ b/esp32s3/src/sensitive/edma_pms_spi3_lock.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock EDMA-SPI3 permission control registers."] #[inline(always)] - #[must_use] pub fn edma_pms_spi3_lock(&mut self) -> EDMA_PMS_SPI3_LOCK_W { EDMA_PMS_SPI3_LOCK_W::new(self, 0) } diff --git a/esp32s3/src/sensitive/edma_pms_uhci0.rs b/esp32s3/src/sensitive/edma_pms_uhci0.rs index d01ff1e206..79c5d47314 100644 --- a/esp32s3/src/sensitive/edma_pms_uhci0.rs +++ b/esp32s3/src/sensitive/edma_pms_uhci0.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - This field is used to configure the permission of UHCI0 accessing address, which is larger than boundary 0 and less than boundary 1, through EDMA. Bit 0: set this bit to enable read permission. Bit 1: set this bit to enable write permission."] #[inline(always)] - #[must_use] pub fn attr1(&mut self) -> ATTR1_W { ATTR1_W::new(self, 0) } #[doc = "Bits 2:3 - This field is used to configure the permission of UHCI0 accessing address, which is larger than boundary 1 and less than boundary 2, through EDMA. Bit 0: set this bit to enable read permission. Bit 1: set this bit to enable write permission."] #[inline(always)] - #[must_use] pub fn attr2(&mut self) -> ATTR2_W { ATTR2_W::new(self, 2) } diff --git a/esp32s3/src/sensitive/edma_pms_uhci0_lock.rs b/esp32s3/src/sensitive/edma_pms_uhci0_lock.rs index 65abaf5877..6801e43bb0 100644 --- a/esp32s3/src/sensitive/edma_pms_uhci0_lock.rs +++ b/esp32s3/src/sensitive/edma_pms_uhci0_lock.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock EDMA-UHCI0 permission control registers."] #[inline(always)] - #[must_use] pub fn edma_pms_uhci0_lock(&mut self) -> EDMA_PMS_UHCI0_LOCK_W { EDMA_PMS_UHCI0_LOCK_W::new(self, 0) } diff --git a/esp32s3/src/sensitive/internal_sram_usage_0.rs b/esp32s3/src/sensitive/internal_sram_usage_0.rs index 86a630ba15..0663bf2bd1 100644 --- a/esp32s3/src/sensitive/internal_sram_usage_0.rs +++ b/esp32s3/src/sensitive/internal_sram_usage_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to lock internal SRAM Configuration Register."] #[inline(always)] - #[must_use] pub fn internal_sram_usage_lock( &mut self, ) -> INTERNAL_SRAM_USAGE_LOCK_W { diff --git a/esp32s3/src/sensitive/internal_sram_usage_1.rs b/esp32s3/src/sensitive/internal_sram_usage_1.rs index b61060fae3..c6b1987e58 100644 --- a/esp32s3/src/sensitive/internal_sram_usage_1.rs +++ b/esp32s3/src/sensitive/internal_sram_usage_1.rs @@ -50,7 +50,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - Set 1 to someone bit means corresponding internal SRAM level can be accessed by icache."] #[inline(always)] - #[must_use] pub fn internal_sram_icache_usage( &mut self, ) -> INTERNAL_SRAM_ICACHE_USAGE_W { @@ -58,7 +57,6 @@ impl W { } #[doc = "Bits 2:3 - Set 1 to someone bit means corresponding internal SRAM level can be accessed by dcache."] #[inline(always)] - #[must_use] pub fn internal_sram_dcache_usage( &mut self, ) -> INTERNAL_SRAM_DCACHE_USAGE_W { @@ -66,7 +64,6 @@ impl W { } #[doc = "Bits 4:10 - Set 1 to someone bit means corresponding internal SRAM level can be accessed by cpu."] #[inline(always)] - #[must_use] pub fn internal_sram_cpu_usage( &mut self, ) -> INTERNAL_SRAM_CPU_USAGE_W { diff --git a/esp32s3/src/sensitive/internal_sram_usage_2.rs b/esp32s3/src/sensitive/internal_sram_usage_2.rs index 77054ac3e4..96817fac00 100644 --- a/esp32s3/src/sensitive/internal_sram_usage_2.rs +++ b/esp32s3/src/sensitive/internal_sram_usage_2.rs @@ -66,7 +66,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Set 1 to someone bit means corresponding internal SRAM level can be accessed by core0 trace bus."] #[inline(always)] - #[must_use] pub fn internal_sram_core0_trace_usage( &mut self, ) -> INTERNAL_SRAM_CORE0_TRACE_USAGE_W { @@ -74,7 +73,6 @@ impl W { } #[doc = "Bits 7:13 - Set 1 to someone bit means corresponding internal SRAM level can be accessed by core1 trace bus."] #[inline(always)] - #[must_use] pub fn internal_sram_core1_trace_usage( &mut self, ) -> INTERNAL_SRAM_CORE1_TRACE_USAGE_W { @@ -82,7 +80,6 @@ impl W { } #[doc = "Bits 14:15 - Which internal SRAM bank (16KB) of 64KB can be accessed by core0 trace bus."] #[inline(always)] - #[must_use] pub fn internal_sram_core0_trace_alloc( &mut self, ) -> INTERNAL_SRAM_CORE0_TRACE_ALLOC_W { @@ -90,7 +87,6 @@ impl W { } #[doc = "Bits 16:17 - Which internal SRAM bank (16KB) of 64KB can be accessed by core1 trace bus."] #[inline(always)] - #[must_use] pub fn internal_sram_core1_trace_alloc( &mut self, ) -> INTERNAL_SRAM_CORE1_TRACE_ALLOC_W { diff --git a/esp32s3/src/sensitive/internal_sram_usage_3.rs b/esp32s3/src/sensitive/internal_sram_usage_3.rs index 436752ec3b..ba21671a52 100644 --- a/esp32s3/src/sensitive/internal_sram_usage_3.rs +++ b/esp32s3/src/sensitive/internal_sram_usage_3.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - Set 1 to someone bit means corresponding internal SRAM level can be accessed by mac dump."] #[inline(always)] - #[must_use] pub fn internal_sram_mac_dump_usage( &mut self, ) -> INTERNAL_SRAM_MAC_DUMP_USAGE_W { diff --git a/esp32s3/src/sensitive/internal_sram_usage_4.rs b/esp32s3/src/sensitive/internal_sram_usage_4.rs index a8ec6b8330..20713bbde4 100644 --- a/esp32s3/src/sensitive/internal_sram_usage_4.rs +++ b/esp32s3/src/sensitive/internal_sram_usage_4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6 - Set 1 to someone bit means corresponding internal SRAM level can be accessed by log bus."] #[inline(always)] - #[must_use] pub fn internal_sram_log_usage( &mut self, ) -> INTERNAL_SRAM_LOG_USAGE_W { diff --git a/esp32s3/src/sensitive/retention_disable.rs b/esp32s3/src/sensitive/retention_disable.rs index e9d6aa15e1..71c81d0742 100644 --- a/esp32s3/src/sensitive/retention_disable.rs +++ b/esp32s3/src/sensitive/retention_disable.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to disable retention function and lock disable state."] #[inline(always)] - #[must_use] pub fn retention_disable(&mut self) -> RETENTION_DISABLE_W { RETENTION_DISABLE_W::new(self, 0) } diff --git a/esp32s3/src/sensitive/rtc_pms.rs b/esp32s3/src/sensitive/rtc_pms.rs index 438c99ae88..cabb23e4f6 100644 --- a/esp32s3/src/sensitive/rtc_pms.rs +++ b/esp32s3/src/sensitive/rtc_pms.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to disable rtc coprocessor."] #[inline(always)] - #[must_use] pub fn dis_rtc_cpu(&mut self) -> DIS_RTC_CPU_W { DIS_RTC_CPU_W::new(self, 0) } diff --git a/esp32s3/src/sha/clear_irq.rs b/esp32s3/src/sha/clear_irq.rs index 7842974c40..a9a3d79fa3 100644 --- a/esp32s3/src/sha/clear_irq.rs +++ b/esp32s3/src/sha/clear_irq.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - clear sha interrupt"] #[inline(always)] - #[must_use] pub fn clear_interrupt(&mut self) -> CLEAR_INTERRUPT_W { CLEAR_INTERRUPT_W::new(self, 0) } diff --git a/esp32s3/src/sha/continue_.rs b/esp32s3/src/sha/continue_.rs index 801c595166..b8daec4e22 100644 --- a/esp32s3/src/sha/continue_.rs +++ b/esp32s3/src/sha/continue_.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 1:31 - reserved."] #[inline(always)] - #[must_use] pub fn continue_(&mut self) -> CONTINUE_W { CONTINUE_W::new(self, 1) } diff --git a/esp32s3/src/sha/date.rs b/esp32s3/src/sha/date.rs index d53b46309f..e2e94043bb 100644 --- a/esp32s3/src/sha/date.rs +++ b/esp32s3/src/sha/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - sha date information/ sha version information"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s3/src/sha/dma_block_num.rs b/esp32s3/src/sha/dma_block_num.rs index 9cb4dfb076..f90d9ca9a2 100644 --- a/esp32s3/src/sha/dma_block_num.rs +++ b/esp32s3/src/sha/dma_block_num.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - dma-sha block number"] #[inline(always)] - #[must_use] pub fn dma_block_num(&mut self) -> DMA_BLOCK_NUM_W { DMA_BLOCK_NUM_W::new(self, 0) } diff --git a/esp32s3/src/sha/dma_continue.rs b/esp32s3/src/sha/dma_continue.rs index 671d87c1d5..8773c4e290 100644 --- a/esp32s3/src/sha/dma_continue.rs +++ b/esp32s3/src/sha/dma_continue.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - continue dma-sha"] #[inline(always)] - #[must_use] pub fn dma_continue(&mut self) -> DMA_CONTINUE_W { DMA_CONTINUE_W::new(self, 0) } diff --git a/esp32s3/src/sha/dma_start.rs b/esp32s3/src/sha/dma_start.rs index 48488385ab..01d5cacf80 100644 --- a/esp32s3/src/sha/dma_start.rs +++ b/esp32s3/src/sha/dma_start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - start dma-sha"] #[inline(always)] - #[must_use] pub fn dma_start(&mut self) -> DMA_START_W { DMA_START_W::new(self, 0) } diff --git a/esp32s3/src/sha/irq_ena.rs b/esp32s3/src/sha/irq_ena.rs index 96599bcbf5..73429bffe1 100644 --- a/esp32s3/src/sha/irq_ena.rs +++ b/esp32s3/src/sha/irq_ena.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - sha interrupt enable register. 1'b0: disable(default) 1'b1: enable"] #[inline(always)] - #[must_use] pub fn interrupt_ena(&mut self) -> INTERRUPT_ENA_W { INTERRUPT_ENA_W::new(self, 0) } diff --git a/esp32s3/src/sha/mode.rs b/esp32s3/src/sha/mode.rs index 2fbd7e2043..2d59d19535 100644 --- a/esp32s3/src/sha/mode.rs +++ b/esp32s3/src/sha/mode.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - sha mode"] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 0) } diff --git a/esp32s3/src/sha/start.rs b/esp32s3/src/sha/start.rs index e8af336fc1..7b69601477 100644 --- a/esp32s3/src/sha/start.rs +++ b/esp32s3/src/sha/start.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 1:31 - reserved."] #[inline(always)] - #[must_use] pub fn start(&mut self) -> START_W { START_W::new(self, 1) } diff --git a/esp32s3/src/sha/t_length.rs b/esp32s3/src/sha/t_length.rs index 9b6f6f52af..7cfddb1ae2 100644 --- a/esp32s3/src/sha/t_length.rs +++ b/esp32s3/src/sha/t_length.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - sha t_length(used if and only if mode == sha_256/t)"] #[inline(always)] - #[must_use] pub fn t_length(&mut self) -> T_LENGTH_W { T_LENGTH_W::new(self, 0) } diff --git a/esp32s3/src/sha/t_string.rs b/esp32s3/src/sha/t_string.rs index 2b91489645..d6f0e01935 100644 --- a/esp32s3/src/sha/t_string.rs +++ b/esp32s3/src/sha/t_string.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - sha t_string(used if and only if mode == sha_256/t)"] #[inline(always)] - #[must_use] pub fn t_string(&mut self) -> T_STRING_W { T_STRING_W::new(self, 0) } diff --git a/esp32s3/src/spi0/cache_fctrl.rs b/esp32s3/src/spi0/cache_fctrl.rs index aad88d1ce8..961acdec35 100644 --- a/esp32s3/src/spi0/cache_fctrl.rs +++ b/esp32s3/src/spi0/cache_fctrl.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable Cache's access and SPI0's transfer."] #[inline(always)] - #[must_use] pub fn cache_req_en(&mut self) -> CACHE_REQ_EN_W { CACHE_REQ_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to enable SPI0 read flash with 32 bits address. The value of SPI_MEM_USR_ADDR_BITLEN should be 31."] #[inline(always)] - #[must_use] pub fn cache_usr_cmd_4byte(&mut self) -> CACHE_USR_CMD_4BYTE_W { CACHE_USR_CMD_4BYTE_W::new(self, 1) } #[doc = "Bit 2 - 1: The command value of SPI0 reads flash is SPI_MEM_USR_COMMAND_VALUE. 0: Hardware read command value, controlled by SPI_MEM_FREAD_QIO, SPI_MEM_FREAD_DIO, SPI_MEM_FREAD_QUAD, SPI_MEM_FREAD_DUAL and SPI_MEM_FASTRD_MODE bits."] #[inline(always)] - #[must_use] pub fn cache_flash_usr_cmd(&mut self) -> CACHE_FLASH_USR_CMD_W { CACHE_FLASH_USR_CMD_W::new(self, 2) } #[doc = "Bit 3 - When SPI0 accesses to flash, set this bit to enable 2-bm in DIN phase."] #[inline(always)] - #[must_use] pub fn fdin_dual(&mut self) -> FDIN_DUAL_W { FDIN_DUAL_W::new(self, 3) } #[doc = "Bit 4 - When SPI0 accesses to flash, set this bit to enable 2-bm in DOUT phase."] #[inline(always)] - #[must_use] pub fn fdout_dual(&mut self) -> FDOUT_DUAL_W { FDOUT_DUAL_W::new(self, 4) } #[doc = "Bit 5 - When SPI0 accesses to flash, set this bit to enable 2-bm in ADDR phase."] #[inline(always)] - #[must_use] pub fn faddr_dual(&mut self) -> FADDR_DUAL_W { FADDR_DUAL_W::new(self, 5) } #[doc = "Bit 6 - When SPI0 accesses to flash, set this bit to enable 4-bm in DIN phase."] #[inline(always)] - #[must_use] pub fn fdin_quad(&mut self) -> FDIN_QUAD_W { FDIN_QUAD_W::new(self, 6) } #[doc = "Bit 7 - When SPI0 accesses to flash, set this bit to enable 4-bm in DOUT phase."] #[inline(always)] - #[must_use] pub fn fdout_quad(&mut self) -> FDOUT_QUAD_W { FDOUT_QUAD_W::new(self, 7) } #[doc = "Bit 8 - When SPI0 accesses to flash, set this bit to enable 4-bm in ADDR phase."] #[inline(always)] - #[must_use] pub fn faddr_quad(&mut self) -> FADDR_QUAD_W { FADDR_QUAD_W::new(self, 8) } diff --git a/esp32s3/src/spi0/cache_sctrl.rs b/esp32s3/src/spi0/cache_sctrl.rs index 54ed61b385..aebe5e2937 100644 --- a/esp32s3/src/spi0/cache_sctrl.rs +++ b/esp32s3/src/spi0/cache_sctrl.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable SPI0 read Ext_RAM with 32 bits address. The value of SPI_MEM_SRAM_ADDR_BITLEN should be 31."] #[inline(always)] - #[must_use] pub fn cache_usr_scmd_4byte(&mut self) -> CACHE_USR_SCMD_4BYTE_W { CACHE_USR_SCMD_4BYTE_W::new(self, 0) } #[doc = "Bit 1 - Set the bit to enable 2-bm in all the phases of SPI0 Ext_RAM transfer."] #[inline(always)] - #[must_use] pub fn usr_sram_dio(&mut self) -> USR_SRAM_DIO_W { USR_SRAM_DIO_W::new(self, 1) } #[doc = "Bit 2 - Set the bit to enable QPI mode in all SPI0 Ext_RAM transfer."] #[inline(always)] - #[must_use] pub fn usr_sram_qio(&mut self) -> USR_SRAM_QIO_W { USR_SRAM_QIO_W::new(self, 2) } #[doc = "Bit 3 - When SPI0 accesses to Ext_RAM, set this bit to enable DUMMY phase in write operations."] #[inline(always)] - #[must_use] pub fn usr_wr_sram_dummy(&mut self) -> USR_WR_SRAM_DUMMY_W { USR_WR_SRAM_DUMMY_W::new(self, 3) } #[doc = "Bit 4 - When SPI0 accesses to Ext_RAM, set this bit to enable DUMMY phase in read operations."] #[inline(always)] - #[must_use] pub fn usr_rd_sram_dummy(&mut self) -> USR_RD_SRAM_DUMMY_W { USR_RD_SRAM_DUMMY_W::new(self, 4) } #[doc = "Bit 5 - 1: The command value of SPI0 read Ext_RAM is SPI_MEM_CACHE_SRAM_USR_WR_CMD_VALUE. 0: The value is 0x2."] #[inline(always)] - #[must_use] pub fn cache_sram_usr_rcmd(&mut self) -> CACHE_SRAM_USR_RCMD_W { CACHE_SRAM_USR_RCMD_W::new(self, 5) } #[doc = "Bits 6:11 - When SPI0 accesses to Ext_RAM, it is the SPI_CLK cycles minus 1 of DUMMY phase in read data transfer."] #[inline(always)] - #[must_use] pub fn sram_rdummy_cyclelen(&mut self) -> SRAM_RDUMMY_CYCLELEN_W { SRAM_RDUMMY_CYCLELEN_W::new(self, 6) } #[doc = "Bits 14:19 - When SPI0 accesses to Ext_RAM, it is the length in bits of ADDR phase. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn sram_addr_bitlen(&mut self) -> SRAM_ADDR_BITLEN_W { SRAM_ADDR_BITLEN_W::new(self, 14) } #[doc = "Bit 20 - 1: The command value of SPI0 write Ext_RAM is SPI_MEM_CACHE_SRAM_USR_RD_CMD_VALUE. 0: The value is 0x3."] #[inline(always)] - #[must_use] pub fn cache_sram_usr_wcmd(&mut self) -> CACHE_SRAM_USR_WCMD_W { CACHE_SRAM_USR_WCMD_W::new(self, 20) } #[doc = "Bit 21 - Set the bit to enable OPI mode in all SPI0 Ext_RAM transfer."] #[inline(always)] - #[must_use] pub fn sram_oct(&mut self) -> SRAM_OCT_W { SRAM_OCT_W::new(self, 21) } #[doc = "Bits 22:27 - When SPI0 accesses to Ext_RAM, it is the SPI_CLK cycles minus 1 of DUMMY phase in write data transfer."] #[inline(always)] - #[must_use] pub fn sram_wdummy_cyclelen(&mut self) -> SRAM_WDUMMY_CYCLELEN_W { SRAM_WDUMMY_CYCLELEN_W::new(self, 22) } diff --git a/esp32s3/src/spi0/clock.rs b/esp32s3/src/spi0/clock.rs index 8b3aa1f9a7..3d0ba8efd3 100644 --- a/esp32s3/src/spi0/clock.rs +++ b/esp32s3/src/spi0/clock.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - It must equal to the value of SPI_MEM_CLKCNT_N."] #[inline(always)] - #[must_use] pub fn clkcnt_l(&mut self) -> CLKCNT_L_W { CLKCNT_L_W::new(self, 0) } #[doc = "Bits 8:15 - It must be a floor value of ((SPI_MEM_CLKCNT_N+1)/2-1)."] #[inline(always)] - #[must_use] pub fn clkcnt_h(&mut self) -> CLKCNT_H_W { CLKCNT_H_W::new(self, 8) } #[doc = "Bits 16:23 - When SPI0 accesses flash, f_SPI_CLK = f_MSPI_CORE_CLK/(SPI_MEM_CLKCNT_N+1)"] #[inline(always)] - #[must_use] pub fn clkcnt_n(&mut self) -> CLKCNT_N_W { CLKCNT_N_W::new(self, 16) } #[doc = "Bit 31 - When SPI0 accesses flash, set this bit in 1-division mode, f_SPI_CLK = f_MSPI_CORE_CLK."] #[inline(always)] - #[must_use] pub fn clk_equ_sysclk(&mut self) -> CLK_EQU_SYSCLK_W { CLK_EQU_SYSCLK_W::new(self, 31) } diff --git a/esp32s3/src/spi0/clock_gate.rs b/esp32s3/src/spi0/clock_gate.rs index 86a5536d5c..d2c393bb91 100644 --- a/esp32s3/src/spi0/clock_gate.rs +++ b/esp32s3/src/spi0/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Register clock gate enable signal. 1: Enable. 0: Disable."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32s3/src/spi0/core_clk_sel.rs b/esp32s3/src/spi0/core_clk_sel.rs index c697b6f52a..49feb60213 100644 --- a/esp32s3/src/spi0/core_clk_sel.rs +++ b/esp32s3/src/spi0/core_clk_sel.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - When the digital system clock selects PLL clock and the frequency of PLL clock is 480MHz, the value of SPI_MEM_CORE_CLK_SEL: 0: SPI0/1 module clock (MSPI_CORE_CLK) is 80MHz. 1: MSPI_CORE_CLK is 120MHz. 2: MSPI_CORE_CLK is 160MHz. 3: MSPI_CORE_CLK is 240MHz. When the digital system clock selects PLL clock and the frequency of PLL clock is 320MHz, the value of SPI_MEM_CORE_CLK_SEL: 0: MSPI_CORE_CLK is 80MHz. 1: MSPI_CORE_CLK is 80MHz. 2: MSPI_CORE_CLK 160MHz. 3: Not used."] #[inline(always)] - #[must_use] pub fn core_clk_sel(&mut self) -> CORE_CLK_SEL_W { CORE_CLK_SEL_W::new(self, 0) } diff --git a/esp32s3/src/spi0/ctrl.rs b/esp32s3/src/spi0/ctrl.rs index 5ccba2d1e6..e6269a3b9d 100644 --- a/esp32s3/src/spi0/ctrl.rs +++ b/esp32s3/src/spi0/ctrl.rs @@ -164,91 +164,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - In the DUMMY phase the signal level of SPI bus is output by the SPI0 controller."] #[inline(always)] - #[must_use] pub fn fdummy_out(&mut self) -> FDUMMY_OUT_W { FDUMMY_OUT_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to enable 8-bit-mode(8-bm) in DOUT phase."] #[inline(always)] - #[must_use] pub fn fdout_oct(&mut self) -> FDOUT_OCT_W { FDOUT_OCT_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to enable 8-bit-mode(8-bm) in DIN phase."] #[inline(always)] - #[must_use] pub fn fdin_oct(&mut self) -> FDIN_OCT_W { FDIN_OCT_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to enable 8-bit-mode(8-bm) in ADDR phase."] #[inline(always)] - #[must_use] pub fn faddr_oct(&mut self) -> FADDR_OCT_W { FADDR_OCT_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to enable 2-bit-mode(2-bm) in CMD phase."] #[inline(always)] - #[must_use] pub fn fcmd_dual(&mut self) -> FCMD_DUAL_W { FCMD_DUAL_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to enable 4-bit-mode(4-bm) in CMD phase."] #[inline(always)] - #[must_use] pub fn fcmd_quad(&mut self) -> FCMD_QUAD_W { FCMD_QUAD_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to enable 8-bit-mode(8-bm) in CMD phase."] #[inline(always)] - #[must_use] pub fn fcmd_oct(&mut self) -> FCMD_OCT_W { FCMD_OCT_W::new(self, 9) } #[doc = "Bit 13 - This bit should be set when SPI_MEM_FREAD_QIO, SPI_MEM_FREAD_DIO, SPI_MEM_FREAD_QUAD or SPI_MEM_FREAD_DUAL is set."] #[inline(always)] - #[must_use] pub fn fastrd_mode(&mut self) -> FASTRD_MODE_W { FASTRD_MODE_W::new(self, 13) } #[doc = "Bit 14 - In hardware 0x3B read operation, DIN phase apply 2 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_dual(&mut self) -> FREAD_DUAL_W { FREAD_DUAL_W::new(self, 14) } #[doc = "Bit 18 - The bit is used to set MISO line polarity, 1: high 0, low"] #[inline(always)] - #[must_use] pub fn q_pol(&mut self) -> Q_POL_W { Q_POL_W::new(self, 18) } #[doc = "Bit 19 - The bit is used to set MOSI line polarity, 1: high 0, low"] #[inline(always)] - #[must_use] pub fn d_pol(&mut self) -> D_POL_W { D_POL_W::new(self, 19) } #[doc = "Bit 20 - In hardware 0x6B read operation, DIN phase apply 4 signals(4-bit-mode). 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_quad(&mut self) -> FREAD_QUAD_W { FREAD_QUAD_W::new(self, 20) } #[doc = "Bit 21 - Write protect signal output when SPI is idle. 1: output high, 0: output low."] #[inline(always)] - #[must_use] pub fn wp(&mut self) -> WP_W { WP_W::new(self, 21) } #[doc = "Bit 23 - In hardware 0xBB read operation, ADDR phase and DIN phase apply 2 signals(2-bit-mode). 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_dio(&mut self) -> FREAD_DIO_W { FREAD_DIO_W::new(self, 23) } #[doc = "Bit 24 - In hardware 0xEB read operation, ADDR phase and DIN phase apply 4 signals(4-bit-mode). 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_qio(&mut self) -> FREAD_QIO_W { FREAD_QIO_W::new(self, 24) } diff --git a/esp32s3/src/spi0/ctrl1.rs b/esp32s3/src/spi0/ctrl1.rs index 9068309ac9..180f79c708 100644 --- a/esp32s3/src/spi0/ctrl1.rs +++ b/esp32s3/src/spi0/ctrl1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - SPI Bus clock (SPI_CLK) mode bits. 0: SPI Bus clock (SPI_CLK) is off when CS inactive 1: SPI_CLK is delayed one cycle after SPI_CS inactive 2: SPI_CLK is delayed two cycles after SPI_CS inactive 3: SPI_CLK is always on."] #[inline(always)] - #[must_use] pub fn clk_mode(&mut self) -> CLK_MODE_W { CLK_MODE_W::new(self, 0) } #[doc = "Bit 30 - SPI0 RX FIFO reset signal. Set this bit and clear it before SPI0 transfer starts."] #[inline(always)] - #[must_use] pub fn rxfifo_rst(&mut self) -> RXFIFO_RST_W { RXFIFO_RST_W::new(self, 30) } diff --git a/esp32s3/src/spi0/ctrl2.rs b/esp32s3/src/spi0/ctrl2.rs index bc02d4afeb..a81f8d3705 100644 --- a/esp32s3/src/spi0/ctrl2.rs +++ b/esp32s3/src/spi0/ctrl2.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - (cycles-1) of PREP phase by SPI_CLK, which is the SPI_CS setup time. These bits are combined with SPI_MEM_CS_SETUP bit."] #[inline(always)] - #[must_use] pub fn cs_setup_time(&mut self) -> CS_SETUP_TIME_W { CS_SETUP_TIME_W::new(self, 0) } #[doc = "Bits 5:9 - SPI Bus CS (SPI_CS) signal is delayed to inactive by SPI Bus clock (SPI_CLK), which is the SPI_CS hold time in non-ECC mode. These bits are combined with SPI_MEM_CS_HOLD bit."] #[inline(always)] - #[must_use] pub fn cs_hold_time(&mut self) -> CS_HOLD_TIME_W { CS_HOLD_TIME_W::new(self, 5) } #[doc = "Bits 10:12 - SPI_MEM_CS_HOLD_TIME + SPI_MEM_ECC_CS_HOLD_TIME is the SPI_CS hold cycle in ECC mode when accessed flash."] #[inline(always)] - #[must_use] pub fn ecc_cs_hold_time(&mut self) -> ECC_CS_HOLD_TIME_W { ECC_CS_HOLD_TIME_W::new(self, 10) } #[doc = "Bit 13 - 1: MSPI skips page corner when accesses flash. 0: Not skip page corner when accesses flash."] #[inline(always)] - #[must_use] pub fn ecc_skip_page_corner(&mut self) -> ECC_SKIP_PAGE_CORNER_W { ECC_SKIP_PAGE_CORNER_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to enable MSPI ECC 16 bytes data with 2 ECC bytes mode when accesses flash."] #[inline(always)] - #[must_use] pub fn ecc_16to18_byte_en(&mut self) -> ECC_16TO18_BYTE_EN_W { ECC_16TO18_BYTE_EN_W::new(self, 14) } #[doc = "Bits 25:30 - These bits are used to set the minimum CS high time tSHSL between SPI burst transfer when accesses to flash. tSHSL is (SPI_MEM_CS_HOLD_DELAY\\[5:0\\] + 1) MSPI core clock cycles."] #[inline(always)] - #[must_use] pub fn cs_hold_delay(&mut self) -> CS_HOLD_DELAY_W { CS_HOLD_DELAY_W::new(self, 25) } #[doc = "Bit 31 - The FSM will be reset."] #[inline(always)] - #[must_use] pub fn sync_reset(&mut self) -> SYNC_RESET_W { SYNC_RESET_W::new(self, 31) } diff --git a/esp32s3/src/spi0/date.rs b/esp32s3/src/spi0/date.rs index a9d337537b..f719c8e16c 100644 --- a/esp32s3/src/spi0/date.rs +++ b/esp32s3/src/spi0/date.rs @@ -57,25 +57,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - The driver of SPI_CLK PAD is controlled by the bits SPI_SMEM_SPICLK_FUN_DRV\\[1:0\\] when the bit SPI_SPICLK_PAD_DRV_CTL_EN is set and MSPI accesses to external RAM."] #[inline(always)] - #[must_use] pub fn spi_smem_spiclk_fun_drv(&mut self) -> SPI_SMEM_SPICLK_FUN_DRV_W { SPI_SMEM_SPICLK_FUN_DRV_W::new(self, 0) } #[doc = "Bits 2:3 - The driver of SPI_CLK PAD is controlled by the bits SPI_FMEM_SPICLK_FUN_DRV\\[1:0\\] when the bit SPI_SPICLK_PAD_DRV_CTL_EN is set and MSPI accesses to flash."] #[inline(always)] - #[must_use] pub fn spi_fmem_spiclk_fun_drv(&mut self) -> SPI_FMEM_SPICLK_FUN_DRV_W { SPI_FMEM_SPICLK_FUN_DRV_W::new(self, 2) } #[doc = "Bit 4 - SPI_CLK PAD driver control signal. 1: The driver of SPI_CLK PAD is controlled by the bits SPI_FMEM_SPICLK_FUN_DRV\\[1:0\\] and SPI_SMEM_SPICLK_FUN_DRV\\[1:0\\]. 0: The driver of SPI_CLK PAD is controlled by the bits IO_MUX_FUNC_DRV\\[1:0\\] of SPICLK PAD."] #[inline(always)] - #[must_use] pub fn spi_spiclk_pad_drv_ctl_en(&mut self) -> SPI_SPICLK_PAD_DRV_CTL_EN_W { SPI_SPICLK_PAD_DRV_CTL_EN_W::new(self, 4) } #[doc = "Bits 5:27 - SPI register version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 5) } diff --git a/esp32s3/src/spi0/ddr.rs b/esp32s3/src/spi0/ddr.rs index fbe8a466f1..23b795aa08 100644 --- a/esp32s3/src/spi0/ddr.rs +++ b/esp32s3/src/spi0/ddr.rs @@ -200,109 +200,91 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: in ddr mode, 0 in sdr mode"] #[inline(always)] - #[must_use] pub fn spi_fmem_ddr_en(&mut self) -> SPI_FMEM_DDR_EN_W { SPI_FMEM_DDR_EN_W::new(self, 0) } #[doc = "Bit 1 - Set the bit to enable variable dummy cycle in DDR mode."] #[inline(always)] - #[must_use] pub fn spi_fmem_var_dummy(&mut self) -> SPI_FMEM_VAR_DUMMY_W { SPI_FMEM_VAR_DUMMY_W::new(self, 1) } #[doc = "Bit 2 - Set the bit to reorder RX data of the word in DDR mode."] #[inline(always)] - #[must_use] pub fn spi_fmem_ddr_rdat_swp(&mut self) -> SPI_FMEM_DDR_RDAT_SWP_W { SPI_FMEM_DDR_RDAT_SWP_W::new(self, 2) } #[doc = "Bit 3 - Set the bit to swap TX data of a word in DDR mode."] #[inline(always)] - #[must_use] pub fn spi_fmem_ddr_wdat_swp(&mut self) -> SPI_FMEM_DDR_WDAT_SWP_W { SPI_FMEM_DDR_WDAT_SWP_W::new(self, 3) } #[doc = "Bit 4 - the bit is used to disable dual edge in CMD phase when ddr mode."] #[inline(always)] - #[must_use] pub fn spi_fmem_ddr_cmd_dis(&mut self) -> SPI_FMEM_DDR_CMD_DIS_W { SPI_FMEM_DDR_CMD_DIS_W::new(self, 4) } #[doc = "Bits 5:11 - It is the minimum output data length in the panda device."] #[inline(always)] - #[must_use] pub fn spi_fmem_outminbytelen(&mut self) -> SPI_FMEM_OUTMINBYTELEN_W { SPI_FMEM_OUTMINBYTELEN_W::new(self, 5) } #[doc = "Bit 12 - Set this bit to mask the first or the last byte in MSPI ECC DDR write mode, when accesses to flash."] #[inline(always)] - #[must_use] pub fn spi_fmem_tx_ddr_msk_en(&mut self) -> SPI_FMEM_TX_DDR_MSK_EN_W { SPI_FMEM_TX_DDR_MSK_EN_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to mask the first or the last byte in MSPI ECC DDR read mode, when accesses to flash."] #[inline(always)] - #[must_use] pub fn spi_fmem_rx_ddr_msk_en(&mut self) -> SPI_FMEM_RX_DDR_MSK_EN_W { SPI_FMEM_RX_DDR_MSK_EN_W::new(self, 13) } #[doc = "Bits 14:20 - The delay number of data strobe which from memory based on SPI_CLK."] #[inline(always)] - #[must_use] pub fn spi_fmem_usr_ddr_dqs_thd(&mut self) -> SPI_FMEM_USR_DDR_DQS_THD_W { SPI_FMEM_USR_DDR_DQS_THD_W::new(self, 14) } #[doc = "Bit 21 - 1: Use internal signal as data strobe, the strobe can not be delayed by input timing module. 0: Use input SPI_DQS signal from PAD as data strobe, the strobe can be delayed by input timing module"] #[inline(always)] - #[must_use] pub fn spi_fmem_ddr_dqs_loop(&mut self) -> SPI_FMEM_DDR_DQS_LOOP_W { SPI_FMEM_DDR_DQS_LOOP_W::new(self, 21) } #[doc = "Bit 22 - When SPI_FMEM_DDR_DQS_LOOP and SPI_FMEM_DDR_EN are set, 1: Use internal SPI_CLK as data strobe. 0: Use internal ~SPI_CLK as data strobe. Otherwise this bit is not active."] #[inline(always)] - #[must_use] pub fn spi_fmem_ddr_dqs_loop_mode(&mut self) -> SPI_FMEM_DDR_DQS_LOOP_MODE_W { SPI_FMEM_DDR_DQS_LOOP_MODE_W::new(self, 22) } #[doc = "Bit 24 - Set this bit to enable the differential SPI_CLK#."] #[inline(always)] - #[must_use] pub fn spi_fmem_clk_diff_en(&mut self) -> SPI_FMEM_CLK_DIFF_EN_W { SPI_FMEM_CLK_DIFF_EN_W::new(self, 24) } #[doc = "Bit 25 - Set this bit to enable the SPI HyperBus mode."] #[inline(always)] - #[must_use] pub fn spi_fmem_hyperbus_mode(&mut self) -> SPI_FMEM_HYPERBUS_MODE_W { SPI_FMEM_HYPERBUS_MODE_W::new(self, 25) } #[doc = "Bit 26 - Set this bit to enable the input of SPI_DQS signal in SPI phases of CMD and ADDR."] #[inline(always)] - #[must_use] pub fn spi_fmem_dqs_ca_in(&mut self) -> SPI_FMEM_DQS_CA_IN_W { SPI_FMEM_DQS_CA_IN_W::new(self, 26) } #[doc = "Bit 27 - Set this bit to enable the vary dummy function in SPI HyperBus mode, when SPI0 accesses to flash or SPI1 accesses flash or sram."] #[inline(always)] - #[must_use] pub fn spi_fmem_hyperbus_dummy_2x(&mut self) -> SPI_FMEM_HYPERBUS_DUMMY_2X_W { SPI_FMEM_HYPERBUS_DUMMY_2X_W::new(self, 27) } #[doc = "Bit 28 - Set this bit to invert SPI_DIFF when accesses to flash. ."] #[inline(always)] - #[must_use] pub fn spi_fmem_clk_diff_inv(&mut self) -> SPI_FMEM_CLK_DIFF_INV_W { SPI_FMEM_CLK_DIFF_INV_W::new(self, 28) } #[doc = "Bit 29 - Set this bit to enable octa_ram address out when accesses to flash, which means ADDR_OUT\\[31:0\\] = {spi_usr_addr_value\\[25:4\\], 6'd0, spi_usr_addr_value\\[3:1\\], 1'b0}."] #[inline(always)] - #[must_use] pub fn spi_fmem_octa_ram_addr(&mut self) -> SPI_FMEM_OCTA_RAM_ADDR_W { SPI_FMEM_OCTA_RAM_ADDR_W::new(self, 29) } #[doc = "Bit 30 - Set this bit to enable HyperRAM address out when accesses to flash, which means ADDR_OUT\\[31:0\\] = {spi_usr_addr_value\\[19:4\\], 13'd0, spi_usr_addr_value\\[3:1\\]}."] #[inline(always)] - #[must_use] pub fn spi_fmem_hyperbus_ca(&mut self) -> SPI_FMEM_HYPERBUS_CA_W { SPI_FMEM_HYPERBUS_CA_W::new(self, 30) } diff --git a/esp32s3/src/spi0/din_mode.rs b/esp32s3/src/spi0/din_mode.rs index 4264a35a23..a77f9db2c7 100644 --- a/esp32s3/src/spi0/din_mode.rs +++ b/esp32s3/src/spi0/din_mode.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - SPI_D input delay mode. 0: No delay. 1: Delay for (SPI_MEM_DIN0_NUM+1) cycles at MSPI_CORE_CLK negative edge. 2: Delay for (SPI_MEM_DIN0_NUM+1) cycles at HCLK positive edge and one cycle at MSPI_CORE_CLK positive edge. 3: Delay for (SPI_MEM_DIN0_NUM+1) cycles at HCLK positive edge and one cycle at MSPI_CORE_CLK negative edge. 4: Delay for (SPI_MEM_DIN0_NUM+1) cycles at HCLK negative edge and one cycle at MSPI_CORE_CLK positive edge. 5: Delay for (SPI_MEM_DIN0_NUM+1) cycles at HCLK negative edge and one cycle at MSPI_CORE_CLK negative edge."] #[inline(always)] - #[must_use] pub fn din0_mode(&mut self) -> DIN0_MODE_W { DIN0_MODE_W::new(self, 0) } #[doc = "Bits 3:5 - SPI_Q input delay mode. 0: No delay. 1: Delay for (SPI_MEM_DIN3_NUM+1) cycles at MSPI_CORE_CLK negative edge. 2: Delay for (SPI_MEM_DIN3_NUM+1) cycles at HCLK positive edge and one cycle at MSPI_CORE_CLK positive edge. 3: Delay for (SPI_MEM_DIN3_NUM+1) cycles at HCLK positive edge and one cycle at MSPI_CORE_CLK negative edge. 4: Delay for (SPI_MEM_DIN3_NUM+1) cycles at HCLK negative edge and one cycle at MSPI_CORE_CLK positive edge. 5: Delay for (SPI_MEM_DIN3_NUM+1) cycles at HCLK negative edge and one cycle at MSPI_CORE_CLK negative edge."] #[inline(always)] - #[must_use] pub fn din1_mode(&mut self) -> DIN1_MODE_W { DIN1_MODE_W::new(self, 3) } #[doc = "Bits 6:8 - SPI_WP input delay mode. 0: No delay. 1: Delay for (SPI_MEM_DIN6_NUM+1) cycles at MSPI_CORE_CLK negative edge. 2: Delay for (SPI_MEM_DIN6_NUM+1) cycles at HCLK positive edge and one cycle at MSPI_CORE_CLK positive edge. 3: Delay for (SPI_MEM_DIN6_NUM+1) cycles at HCLK positive edge and one cycle at MSPI_CORE_CLK negative edge. 4: Delay for (SPI_MEM_DIN6_NUM+1) cycles at HCLK negative edge and one cycle at MSPI_CORE_CLK positive edge. 5: Delay for (SPI_MEM_DIN6_NUM+1) cycles at HCLK negative edge and one cycle at MSPI_CORE_CLK negative edge."] #[inline(always)] - #[must_use] pub fn din2_mode(&mut self) -> DIN2_MODE_W { DIN2_MODE_W::new(self, 6) } #[doc = "Bits 9:11 - SPI_HD input delay mode. 0: No delay. 1: Delay for (SPI_MEM_DIN9_NUM+1) cycles at MSPI_CORE_CLK negative edge. 2: Delay for (SPI_MEM_DIN9_NUM+1) cycles at HCLK positive edge and one cycle at MSPI_CORE_CLK positive edge. 3: Delay for (SPI_MEM_DIN9_NUM+1) cycles at HCLK positive edge and one cycle at MSPI_CORE_CLK negative edge. 4: Delay for (SPI_MEM_DIN9_NUM+1) cycles at HCLK negative edge and one cycle at MSPI_CORE_CLK positive edge. 5: Delay for (SPI_MEM_DIN9_NUM+1) cycles at HCLK negative edge and one cycle at MSPI_CORE_CLK negative edge."] #[inline(always)] - #[must_use] pub fn din3_mode(&mut self) -> DIN3_MODE_W { DIN3_MODE_W::new(self, 9) } #[doc = "Bits 12:14 - SPI_IO4 input delay mode. 0: No delay. 1: Delay for (SPI_MEM_DIN12_NUM+1) cycles at MSPI_CORE_CLK negative edge. 2: Delay for (SPI_MEM_DIN12_NUM+1) cycles at HCLK positive edge and one cycle at MSPI_CORE_CLK positive edge. 3: Delay for (SPI_MEM_DIN12_NUM+1) cycles at HCLK positive edge and one cycle at MSPI_CORE_CLK negative edge. 4: Delay for (SPI_MEM_DIN12_NUM+1) cycles at HCLK negative edge and one cycle at MSPI_CORE_CLK positive edge. 5: Delay for (SPI_MEM_DIN12_NUM+1) cycles at HCLK negative edge and one cycle at MSPI_CORE_CLK negative edge."] #[inline(always)] - #[must_use] pub fn din4_mode(&mut self) -> DIN4_MODE_W { DIN4_MODE_W::new(self, 12) } #[doc = "Bits 15:17 - SPI_IO5 input delay mode. 0: No delay. 1: Delay for (SPI_MEM_DIN15_NUM+1) cycles at MSPI_CORE_CLK negative edge. 2: Delay for (SPI_MEM_DIN15_NUM+1) cycles at HCLK positive edge and one cycle at MSPI_CORE_CLK positive edge. 3: Delay for (SPI_MEM_DIN15_NUM+1) cycles at HCLK positive edge and one cycle at MSPI_CORE_CLK negative edge. 4: Delay for (SPI_MEM_DIN15_NUM+1) cycles at HCLK negative edge and one cycle at MSPI_CORE_CLK positive edge. 5: Delay for (SPI_MEM_DIN15_NUM+1) cycles at HCLK negative edge and one cycle at MSPI_CORE_CLK negative edge."] #[inline(always)] - #[must_use] pub fn din5_mode(&mut self) -> DIN5_MODE_W { DIN5_MODE_W::new(self, 15) } #[doc = "Bits 18:20 - SPI_IO6 input delay mode. 0: No delay. 1: Delay for (SPI_MEM_DIN18_NUM+1) cycles at MSPI_CORE_CLK negative edge. 2: Delay for (SPI_MEM_DIN18_NUM+1) cycles at HCLK positive edge and one cycle at MSPI_CORE_CLK positive edge. 3: Delay for (SPI_MEM_DIN18_NUM+1) cycles at HCLK positive edge and one cycle at MSPI_CORE_CLK negative edge. 4: Delay for (SPI_MEM_DIN18_NUM+1) cycles at HCLK negative edge and one cycle at MSPI_CORE_CLK positive edge. 5: Delay for (SPI_MEM_DIN18_NUM+1) cycles at HCLK negative edge and one cycle at MSPI_CORE_CLK negative edge."] #[inline(always)] - #[must_use] pub fn din6_mode(&mut self) -> DIN6_MODE_W { DIN6_MODE_W::new(self, 18) } #[doc = "Bits 21:23 - SPI_IO7 input delay mode. 0: No delay. 1: Delay for (SPI_MEM_DIN21_NUM+1) cycles at MSPI_CORE_CLK negative edge. 2: Delay for (SPI_MEM_DIN21_NUM+1) cycles at HCLK positive edge and one cycle at MSPI_CORE_CLK positive edge. 3: Delay for (SPI_MEM_DIN21_NUM+1) cycles at HCLK positive edge and one cycle at MSPI_CORE_CLK negative edge. 4: Delay for (SPI_MEM_DIN21_NUM+1) cycles at HCLK negative edge and one cycle at MSPI_CORE_CLK positive edge. 5: Delay for (SPI_MEM_DIN21_NUM+1) cycles at HCLK negative edge and one cycle at MSPI_CORE_CLK negative edge."] #[inline(always)] - #[must_use] pub fn din7_mode(&mut self) -> DIN7_MODE_W { DIN7_MODE_W::new(self, 21) } #[doc = "Bits 24:26 - SPI_DQS input delay mode. 0: No delay. 1: Delay for (SPI_MEM_DINS_NUM+1) cycles at MSPI_CORE_CLK negative edge. 2: Delay for (SPI_MEM_DINS_NUM+1) cycles at HCLK positive edge and one cycle at MSPI_CORE_CLK positive edge. 3: Delay for (SPI_MEM_DINS_NUM+1) cycles at HCLK positive edge and one cycle at MSPI_CORE_CLK negative edge. 4: Delay for (SPI_MEM_DINS_NUM+1) cycles at HCLK negative edge and one cycle at MSPI_CORE_CLK positive edge. 5: Delay for (SPI_MEM_DINS_NUM+1) cycles at HCLK negative edge and one cycle at MSPI_CORE_CLK negative edge."] #[inline(always)] - #[must_use] pub fn dins_mode(&mut self) -> DINS_MODE_W { DINS_MODE_W::new(self, 24) } diff --git a/esp32s3/src/spi0/din_num.rs b/esp32s3/src/spi0/din_num.rs index 7a6d8b7a0b..226aac8d14 100644 --- a/esp32s3/src/spi0/din_num.rs +++ b/esp32s3/src/spi0/din_num.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - SPI_D input delay number."] #[inline(always)] - #[must_use] pub fn din0_num(&mut self) -> DIN0_NUM_W { DIN0_NUM_W::new(self, 0) } #[doc = "Bits 2:3 - SPI_Q input delay number."] #[inline(always)] - #[must_use] pub fn din1_num(&mut self) -> DIN1_NUM_W { DIN1_NUM_W::new(self, 2) } #[doc = "Bits 4:5 - SPI_WP input delay number."] #[inline(always)] - #[must_use] pub fn din2_num(&mut self) -> DIN2_NUM_W { DIN2_NUM_W::new(self, 4) } #[doc = "Bits 6:7 - SPI_HD input delay number."] #[inline(always)] - #[must_use] pub fn din3_num(&mut self) -> DIN3_NUM_W { DIN3_NUM_W::new(self, 6) } #[doc = "Bits 8:9 - SPI_IO4 input delay number."] #[inline(always)] - #[must_use] pub fn din4_num(&mut self) -> DIN4_NUM_W { DIN4_NUM_W::new(self, 8) } #[doc = "Bits 10:11 - SPI_IO5 input delay number."] #[inline(always)] - #[must_use] pub fn din5_num(&mut self) -> DIN5_NUM_W { DIN5_NUM_W::new(self, 10) } #[doc = "Bits 12:13 - SPI_IO6 input delay number."] #[inline(always)] - #[must_use] pub fn din6_num(&mut self) -> DIN6_NUM_W { DIN6_NUM_W::new(self, 12) } #[doc = "Bits 14:15 - SPI_IO7 input delay number."] #[inline(always)] - #[must_use] pub fn din7_num(&mut self) -> DIN7_NUM_W { DIN7_NUM_W::new(self, 14) } #[doc = "Bits 16:17 - SPI_DQS input delay number."] #[inline(always)] - #[must_use] pub fn dins_num(&mut self) -> DINS_NUM_W { DINS_NUM_W::new(self, 16) } diff --git a/esp32s3/src/spi0/dout_mode.rs b/esp32s3/src/spi0/dout_mode.rs index bb4bf1ea71..cfd4f7a07f 100644 --- a/esp32s3/src/spi0/dout_mode.rs +++ b/esp32s3/src/spi0/dout_mode.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - SPI_D output delay mode. 0: No delay. 1: Delay one cycle at MSPI_CORE_CLK negative edge."] #[inline(always)] - #[must_use] pub fn dout0_mode(&mut self) -> DOUT0_MODE_W { DOUT0_MODE_W::new(self, 0) } #[doc = "Bit 1 - SPI_Q output delay mode. 0: No delay. 1: Delay one cycle at MSPI_CORE_CLK negative edge."] #[inline(always)] - #[must_use] pub fn dout1_mode(&mut self) -> DOUT1_MODE_W { DOUT1_MODE_W::new(self, 1) } #[doc = "Bit 2 - SPI_WP output delay mode. 0: No delay. 1: Delay one cycle at MSPI_CORE_CLK negative edge."] #[inline(always)] - #[must_use] pub fn dout2_mode(&mut self) -> DOUT2_MODE_W { DOUT2_MODE_W::new(self, 2) } #[doc = "Bit 3 - SPI_HD output delay mode. 0: No delay. 1: Delay one cycle at MSPI_CORE_CLK negative edge."] #[inline(always)] - #[must_use] pub fn dout3_mode(&mut self) -> DOUT3_MODE_W { DOUT3_MODE_W::new(self, 3) } #[doc = "Bit 4 - SPI_IO4 output delay mode. 0: No delay. 1: Delay one cycle at MSPI_CORE_CLK negative edge."] #[inline(always)] - #[must_use] pub fn dout4_mode(&mut self) -> DOUT4_MODE_W { DOUT4_MODE_W::new(self, 4) } #[doc = "Bit 5 - SPI_IO5 output delay mode. 0: No delay. 1: Delay one cycle at MSPI_CORE_CLK negative edge."] #[inline(always)] - #[must_use] pub fn dout5_mode(&mut self) -> DOUT5_MODE_W { DOUT5_MODE_W::new(self, 5) } #[doc = "Bit 6 - SPI_IO6 output delay mode. 0: No delay. 1: Delay one cycle at MSPI_CORE_CLK negative edge."] #[inline(always)] - #[must_use] pub fn dout6_mode(&mut self) -> DOUT6_MODE_W { DOUT6_MODE_W::new(self, 6) } #[doc = "Bit 7 - SPI_IO7 output delay mode. 0: No delay. 1: Delay one cycle at MSPI_CORE_CLK negative edge."] #[inline(always)] - #[must_use] pub fn dout7_mode(&mut self) -> DOUT7_MODE_W { DOUT7_MODE_W::new(self, 7) } #[doc = "Bit 8 - SPI_DQS output delay mode. 0: No delay. 1: Delay one cycle at MSPI_CORE_CLK negative edge."] #[inline(always)] - #[must_use] pub fn douts_mode(&mut self) -> DOUTS_MODE_W { DOUTS_MODE_W::new(self, 8) } diff --git a/esp32s3/src/spi0/ecc_ctrl.rs b/esp32s3/src/spi0/ecc_ctrl.rs index b1ed93e5fe..bb02584c44 100644 --- a/esp32s3/src/spi0/ecc_ctrl.rs +++ b/esp32s3/src/spi0/ecc_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Set the error times of MSPI ECC read to generate MSPI SPI_MEM_ECC_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn ecc_err_int_num(&mut self) -> ECC_ERR_INT_NUM_W { ECC_ERR_INT_NUM_W::new(self, 0) } #[doc = "Bit 8 - Set this bit to calculate the error times of MSPI ECC read when accesses to flash."] #[inline(always)] - #[must_use] pub fn spi_fmem_ecc_err_int_en(&mut self) -> SPI_FMEM_ECC_ERR_INT_EN_W { SPI_FMEM_ECC_ERR_INT_EN_W::new(self, 8) } diff --git a/esp32s3/src/spi0/ext_addr.rs b/esp32s3/src/spi0/ext_addr.rs index 6ca2b72ec8..2e88b57779 100644 --- a/esp32s3/src/spi0/ext_addr.rs +++ b/esp32s3/src/spi0/ext_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The register are the higher 32bits in the 64 bits address mode."] #[inline(always)] - #[must_use] pub fn ext_addr(&mut self) -> EXT_ADDR_W { EXT_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/spi0/int_clr.rs b/esp32s3/src/spi0/int_clr.rs index a29a323e4d..57b81e8da4 100644 --- a/esp32s3/src/spi0/int_clr.rs +++ b/esp32s3/src/spi0/int_clr.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 2 - The clear bit for SPI_MEM_TOTAL_TRANS_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn total_trans_end(&mut self) -> TOTAL_TRANS_END_W { TOTAL_TRANS_END_W::new(self, 2) } #[doc = "Bit 4 - The clear bit for SPI_MEM_ECC_ERR_INT interrupt. SPI_MEM_ECC_ERR_ADDR and SPI_MEM_ECC_ERR_CNT will be cleared by the pulse of this bit."] #[inline(always)] - #[must_use] pub fn ecc_err(&mut self) -> ECC_ERR_W { ECC_ERR_W::new(self, 4) } diff --git a/esp32s3/src/spi0/int_ena.rs b/esp32s3/src/spi0/int_ena.rs index 2c89808e4c..fa8f1050fd 100644 --- a/esp32s3/src/spi0/int_ena.rs +++ b/esp32s3/src/spi0/int_ena.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - The enable bit for SPI_MEM_TOTAL_TRANS_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn total_trans_end(&mut self) -> TOTAL_TRANS_END_W { TOTAL_TRANS_END_W::new(self, 2) } #[doc = "Bit 4 - The enable bit for SPI_MEM_ECC_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn ecc_err(&mut self) -> ECC_ERR_W { ECC_ERR_W::new(self, 4) } diff --git a/esp32s3/src/spi0/int_raw.rs b/esp32s3/src/spi0/int_raw.rs index 79d62a7d86..d26135dd50 100644 --- a/esp32s3/src/spi0/int_raw.rs +++ b/esp32s3/src/spi0/int_raw.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2 - The raw bit for SPI_MEM_TOTAL_TRANS_END_INT interrupt. 1: Triggered when SPI1 transfer is done and flash is already idle. When WRSR/PP/SE/BE/CE is sent and PES/PER command is sent, this bit is set when WRSR/PP/SE/BE/CE is success. 0: Others."] #[inline(always)] - #[must_use] pub fn total_trans_end(&mut self) -> TOTAL_TRANS_END_W { TOTAL_TRANS_END_W::new(self, 2) } #[doc = "Bit 4 - The raw bit for SPI_MEM_ECC_ERR_INT interrupt. When APB_CTRL_FECC_ERR_INT_EN is set and APB_CTRL_SECC_ERR_INT_EN is cleared, this bit is triggered when the error times of SPI0/1 ECC read flash are equal or bigger than APB_CTRL_ECC_ERR_INT_NUM. When APB_CTRL_FECC_ERR_INT_EN is cleared and APB_CTRL_SECC_ERR_INT_EN is set, this bit is triggered when the error times of SPI0/1 ECC read external RAM are equal or bigger than APB_CTRL_ECC_ERR_INT_NUM. When APB_CTRL_FECC_ERR_INT_EN and APB_CTRL_SECC_ERR_INT_EN are set, this bit is triggered when the total error times of SPI0/1 ECC read external RAM and flash are equal or bigger than APB_CTRL_ECC_ERR_INT_NUM. When APB_CTRL_FECC_ERR_INT_EN and APB_CTRL_SECC_ERR_INT_EN are cleared, this bit will not be triggered."] #[inline(always)] - #[must_use] pub fn ecc_err(&mut self) -> ECC_ERR_W { ECC_ERR_W::new(self, 4) } diff --git a/esp32s3/src/spi0/misc.rs b/esp32s3/src/spi0/misc.rs index 114d6e1e7c..cbebaee92e 100644 --- a/esp32s3/src/spi0/misc.rs +++ b/esp32s3/src/spi0/misc.rs @@ -87,7 +87,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CS0_DIS` field.
"] #[inline(always)] - #[must_use] pub fn cs_dis(&mut self, n: u8) -> CS_DIS_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -95,37 +94,31 @@ impl W { } #[doc = "Bit 0 - Set this bit to raise high SPI_CS0 pin, which means that the SPI device(Ext_RAM(0)/flash(1)) connected to SPI_CS0 is in low level when SPI1 transfer starts"] #[inline(always)] - #[must_use] pub fn cs0_dis(&mut self) -> CS_DIS_W { CS_DIS_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to raise high SPI_CS1 pin, which means that the SPI device(Ext_RAM(0)/flash(1)) connected to SPI_CS1 is in low level when SPI1 transfer starts"] #[inline(always)] - #[must_use] pub fn cs1_dis(&mut self) -> CS_DIS_W { CS_DIS_W::new(self, 1) } #[doc = "Bit 7 - Flash is connected to SPI SUBPIN bus."] #[inline(always)] - #[must_use] pub fn fsub_pin(&mut self) -> FSUB_PIN_W { FSUB_PIN_W::new(self, 7) } #[doc = "Bit 8 - Ext_RAM is connected to SPI SUBPIN bus."] #[inline(always)] - #[must_use] pub fn ssub_pin(&mut self) -> SSUB_PIN_W { SSUB_PIN_W::new(self, 8) } #[doc = "Bit 9 - 1: SPI_CLK line is high when idle. 0: SPI_CLK line is low when idle"] #[inline(always)] - #[must_use] pub fn ck_idle_edge(&mut self) -> CK_IDLE_EDGE_W { CK_IDLE_EDGE_W::new(self, 9) } #[doc = "Bit 10 - SPI_CS line keep low when the bit is set."] #[inline(always)] - #[must_use] pub fn cs_keep_active(&mut self) -> CS_KEEP_ACTIVE_W { CS_KEEP_ACTIVE_W::new(self, 10) } diff --git a/esp32s3/src/spi0/rd_status.rs b/esp32s3/src/spi0/rd_status.rs index dd327a637b..495e69e8aa 100644 --- a/esp32s3/src/spi0/rd_status.rs +++ b/esp32s3/src/spi0/rd_status.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:23 - Mode bits in the flash fast read mode it is combined with SPI_MEM_FASTRD_MODE bit."] #[inline(always)] - #[must_use] pub fn wb_mode(&mut self) -> WB_MODE_W { WB_MODE_W::new(self, 16) } diff --git a/esp32s3/src/spi0/spi_smem_ac.rs b/esp32s3/src/spi0/spi_smem_ac.rs index bd329d16fa..a51fbf28bc 100644 --- a/esp32s3/src/spi0/spi_smem_ac.rs +++ b/esp32s3/src/spi0/spi_smem_ac.rs @@ -113,37 +113,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to keep SPI_CS low when MSPI is in PREP state."] #[inline(always)] - #[must_use] pub fn spi_smem_cs_setup(&mut self) -> SPI_SMEM_CS_SETUP_W { SPI_SMEM_CS_SETUP_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to keep SPI_CS low when MSPI is in DONE state."] #[inline(always)] - #[must_use] pub fn spi_smem_cs_hold(&mut self) -> SPI_SMEM_CS_HOLD_W { SPI_SMEM_CS_HOLD_W::new(self, 1) } #[doc = "Bits 2:6 - (cycles-1) of PREP phase by SPI_CLK, which is the SPI_CS setup time. These bits are combined with SPI_MEM_CS_SETUP bit."] #[inline(always)] - #[must_use] pub fn spi_smem_cs_setup_time(&mut self) -> SPI_SMEM_CS_SETUP_TIME_W { SPI_SMEM_CS_SETUP_TIME_W::new(self, 2) } #[doc = "Bits 7:11 - SPI Bus CS (SPI_CS) signal is delayed to inactive by SPI Bus clock (SPI_CLK), which is the SPI_CS hold time in non-ECC mode. These bits are combined with SPI_MEM_CS_HOLD bit."] #[inline(always)] - #[must_use] pub fn spi_smem_cs_hold_time(&mut self) -> SPI_SMEM_CS_HOLD_TIME_W { SPI_SMEM_CS_HOLD_TIME_W::new(self, 7) } #[doc = "Bits 12:14 - SPI_SMEM_CS_HOLD_TIME + SPI_SMEM_ECC_CS_HOLD_TIME is the MSPI CS hold cycles in ECC mode when accesses to external RAM."] #[inline(always)] - #[must_use] pub fn spi_smem_ecc_cs_hold_time(&mut self) -> SPI_SMEM_ECC_CS_HOLD_TIME_W { SPI_SMEM_ECC_CS_HOLD_TIME_W::new(self, 12) } #[doc = "Bit 15 - 1: MSPI skips page corner when accesses to external RAM. 0: Not skip page corner when accesses to external RAM."] #[inline(always)] - #[must_use] pub fn spi_smem_ecc_skip_page_corner( &mut self, ) -> SPI_SMEM_ECC_SKIP_PAGE_CORNER_W { @@ -151,7 +145,6 @@ impl W { } #[doc = "Bit 16 - Set this bit to enable MSPI ECC 16 bytes data with 2 ECC bytes mode when accesses to external RAM."] #[inline(always)] - #[must_use] pub fn spi_smem_ecc_16to18_byte_en( &mut self, ) -> SPI_SMEM_ECC_16TO18_BYTE_EN_W { @@ -159,13 +152,11 @@ impl W { } #[doc = "Bit 24 - Set this bit to calculate the error times of MSPI ECC read when accesses to external RAM."] #[inline(always)] - #[must_use] pub fn spi_smem_ecc_err_int_en(&mut self) -> SPI_SMEM_ECC_ERR_INT_EN_W { SPI_SMEM_ECC_ERR_INT_EN_W::new(self, 24) } #[doc = "Bits 25:30 - These bits are used to set the minimum CS high time tSHSL between SPI burst transfer when accesses to external RAM. tSHSL is (SPI_SMEM_CS_HOLD_DELAY\\[5:0\\] + 1) MSPI core clock cycles."] #[inline(always)] - #[must_use] pub fn spi_smem_cs_hold_delay(&mut self) -> SPI_SMEM_CS_HOLD_DELAY_W { SPI_SMEM_CS_HOLD_DELAY_W::new(self, 25) } diff --git a/esp32s3/src/spi0/spi_smem_ddr.rs b/esp32s3/src/spi0/spi_smem_ddr.rs index 48bbde7769..ef0353db6a 100644 --- a/esp32s3/src/spi0/spi_smem_ddr.rs +++ b/esp32s3/src/spi0/spi_smem_ddr.rs @@ -197,91 +197,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: in ddr mode, 0 in sdr mode"] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 0) } #[doc = "Bit 1 - Set the bit to enable variable dummy cycle in spi ddr mode."] #[inline(always)] - #[must_use] pub fn spi_smem_var_dummy(&mut self) -> SPI_SMEM_VAR_DUMMY_W { SPI_SMEM_VAR_DUMMY_W::new(self, 1) } #[doc = "Bit 2 - Set the bit to reorder rx data of the word in spi ddr mode."] #[inline(always)] - #[must_use] pub fn rdat_swp(&mut self) -> RDAT_SWP_W { RDAT_SWP_W::new(self, 2) } #[doc = "Bit 3 - Set the bit to reorder tx data of the word in spi ddr mode."] #[inline(always)] - #[must_use] pub fn wdat_swp(&mut self) -> WDAT_SWP_W { WDAT_SWP_W::new(self, 3) } #[doc = "Bit 4 - the bit is used to disable dual edge in CMD phase when ddr mode."] #[inline(always)] - #[must_use] pub fn cmd_dis(&mut self) -> CMD_DIS_W { CMD_DIS_W::new(self, 4) } #[doc = "Bits 5:11 - It is the minimum output data length in the ddr psram."] #[inline(always)] - #[must_use] pub fn spi_smem_outminbytelen(&mut self) -> SPI_SMEM_OUTMINBYTELEN_W { SPI_SMEM_OUTMINBYTELEN_W::new(self, 5) } #[doc = "Bit 12 - Set this bit to mask the first or the last byte in MSPI ECC DDR write mode, when accesses to external RAM."] #[inline(always)] - #[must_use] pub fn spi_smem_tx_ddr_msk_en(&mut self) -> SPI_SMEM_TX_DDR_MSK_EN_W { SPI_SMEM_TX_DDR_MSK_EN_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to mask the first or the last byte in MSPI ECC DDR read mode, when accesses to external RAM."] #[inline(always)] - #[must_use] pub fn spi_smem_rx_ddr_msk_en(&mut self) -> SPI_SMEM_RX_DDR_MSK_EN_W { SPI_SMEM_RX_DDR_MSK_EN_W::new(self, 13) } #[doc = "Bits 14:20 - The delay number of data strobe which from memory based on SPI_CLK."] #[inline(always)] - #[must_use] pub fn spi_smem_usr_ddr_dqs_thd(&mut self) -> SPI_SMEM_USR_DDR_DQS_THD_W { SPI_SMEM_USR_DDR_DQS_THD_W::new(self, 14) } #[doc = "Bit 21 - 1: Use internal signal as data strobe, the strobe can not be delayed by input timing module. 0: Use input SPI_DQS signal from PAD as data strobe, the strobe can be delayed by input timing module"] #[inline(always)] - #[must_use] pub fn dqs_loop(&mut self) -> DQS_LOOP_W { DQS_LOOP_W::new(self, 21) } #[doc = "Bit 22 - When SPI_SMEM_DDR_DQS_LOOP and SPI_SMEM_DDR_EN are set, 1: Use internal SPI_CLK as data strobe. 0: Use internal ~SPI_CLK as data strobe. Otherwise this bit is not active."] #[inline(always)] - #[must_use] pub fn dqs_loop_mode(&mut self) -> DQS_LOOP_MODE_W { DQS_LOOP_MODE_W::new(self, 22) } #[doc = "Bit 24 - Set this bit to enable the differential SPI_CLK#."] #[inline(always)] - #[must_use] pub fn spi_smem_clk_diff_en(&mut self) -> SPI_SMEM_CLK_DIFF_EN_W { SPI_SMEM_CLK_DIFF_EN_W::new(self, 24) } #[doc = "Bit 25 - Set this bit to enable the SPI HyperBus mode."] #[inline(always)] - #[must_use] pub fn spi_smem_hyperbus_mode(&mut self) -> SPI_SMEM_HYPERBUS_MODE_W { SPI_SMEM_HYPERBUS_MODE_W::new(self, 25) } #[doc = "Bit 26 - Set this bit to enable the input of SPI_DQS signal in SPI phases of CMD and ADDR."] #[inline(always)] - #[must_use] pub fn spi_smem_dqs_ca_in(&mut self) -> SPI_SMEM_DQS_CA_IN_W { SPI_SMEM_DQS_CA_IN_W::new(self, 26) } #[doc = "Bit 27 - Set this bit to enable the vary dummy function in SPI HyperBus mode, when SPI0 accesses to flash or SPI1 accesses flash or sram."] #[inline(always)] - #[must_use] pub fn spi_smem_hyperbus_dummy_2x( &mut self, ) -> SPI_SMEM_HYPERBUS_DUMMY_2X_W { @@ -289,19 +274,16 @@ impl W { } #[doc = "Bit 28 - Set this bit to invert SPI_DIFF when accesses to external RAM. ."] #[inline(always)] - #[must_use] pub fn spi_smem_clk_diff_inv(&mut self) -> SPI_SMEM_CLK_DIFF_INV_W { SPI_SMEM_CLK_DIFF_INV_W::new(self, 28) } #[doc = "Bit 29 - Set this bit to enable octa_ram address out when accesses to external RAM, which means ADDR_OUT\\[31:0\\] = {spi_usr_addr_value\\[25:4\\], 6'd0, spi_usr_addr_value\\[3:1\\], 1'b0}."] #[inline(always)] - #[must_use] pub fn spi_smem_octa_ram_addr(&mut self) -> SPI_SMEM_OCTA_RAM_ADDR_W { SPI_SMEM_OCTA_RAM_ADDR_W::new(self, 29) } #[doc = "Bit 30 - Set this bit to enable HyperRAM address out when accesses to external RAM, which means ADDR_OUT\\[31:0\\] = {spi_usr_addr_value\\[19:4\\], 13'd0, spi_usr_addr_value\\[3:1\\]}."] #[inline(always)] - #[must_use] pub fn spi_smem_hyperbus_ca(&mut self) -> SPI_SMEM_HYPERBUS_CA_W { SPI_SMEM_HYPERBUS_CA_W::new(self, 30) } diff --git a/esp32s3/src/spi0/spi_smem_din_mode.rs b/esp32s3/src/spi0/spi_smem_din_mode.rs index e2915b8c2e..b71929ec49 100644 --- a/esp32s3/src/spi0/spi_smem_din_mode.rs +++ b/esp32s3/src/spi0/spi_smem_din_mode.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - SPI_D input delay mode. 0: No delay. 1: Delay for (SPI_SMEM_DIN0_NUM+1) cycles at MSPI_CORE_CLK negative edge. 2: Delay for (SPI_SMEM_DIN0_NUM+1) cycles at HCLK positive edge and one cycle at MSPI_CORE_CLK positive edge. 3: Delay for (SPI_SMEM_DIN0_NUM+1) cycles at HCLK positive edge and one cycle at MSPI_CORE_CLK negative edge. 4: Delay for (SPI_SMEM_DIN0_NUM+1) cycles at HCLK negative edge and one cycle at MSPI_CORE_CLK positive edge. 5: Delay for (SPI_SMEM_DIN0_NUM+1) cycles at HCLK negative edge and one cycle at MSPI_CORE_CLK negative edge."] #[inline(always)] - #[must_use] pub fn spi_smem_din0_mode(&mut self) -> SPI_SMEM_DIN0_MODE_W { SPI_SMEM_DIN0_MODE_W::new(self, 0) } #[doc = "Bits 3:5 - SPI_Q input delay mode. 0: No delay. 1: Delay for (SPI_SMEM_DIN3_NUM+1) cycles at MSPI_CORE_CLK negative edge. 2: Delay for (SPI_SMEM_DIN3_NUM+1) cycles at HCLK positive edge and one cycle at MSPI_CORE_CLK positive edge. 3: Delay for (SPI_SMEM_DIN3_NUM+1) cycles at HCLK positive edge and one cycle at MSPI_CORE_CLK negative edge. 4: Delay for (SPI_SMEM_DIN3_NUM+1) cycles at HCLK negative edge and one cycle at MSPI_CORE_CLK positive edge. 5: Delay for (SPI_SMEM_DIN3_NUM+1) cycles at HCLK negative edge and one cycle at MSPI_CORE_CLK negative edge."] #[inline(always)] - #[must_use] pub fn spi_smem_din1_mode(&mut self) -> SPI_SMEM_DIN1_MODE_W { SPI_SMEM_DIN1_MODE_W::new(self, 3) } #[doc = "Bits 6:8 - SPI_WP input delay mode. 0: No delay. 1: Delay for (SPI_SMEM_DIN6_NUM+1) cycles at MSPI_CORE_CLK negative edge. 2: Delay for (SPI_SMEM_DIN6_NUM+1) cycles at HCLK positive edge and one cycle at MSPI_CORE_CLK positive edge. 3: Delay for (SPI_SMEM_DIN6_NUM+1) cycles at HCLK positive edge and one cycle at MSPI_CORE_CLK negative edge. 4: Delay for (SPI_SMEM_DIN6_NUM+1) cycles at HCLK negative edge and one cycle at MSPI_CORE_CLK positive edge. 5: Delay for (SPI_SMEM_DIN6_NUM+1) cycles at HCLK negative edge and one cycle at MSPI_CORE_CLK negative edge."] #[inline(always)] - #[must_use] pub fn spi_smem_din2_mode(&mut self) -> SPI_SMEM_DIN2_MODE_W { SPI_SMEM_DIN2_MODE_W::new(self, 6) } #[doc = "Bits 9:11 - SPI_HD input delay mode. 0: No delay. 1: Delay for (SPI_SMEM_DIN9_NUM+1) cycles at MSPI_CORE_CLK negative edge. 2: Delay for (SPI_SMEM_DIN9_NUM+1) cycles at HCLK positive edge and one cycle at MSPI_CORE_CLK positive edge. 3: Delay for (SPI_SMEM_DIN9_NUM+1) cycles at HCLK positive edge and one cycle at MSPI_CORE_CLK negative edge. 4: Delay for (SPI_SMEM_DIN9_NUM+1) cycles at HCLK negative edge and one cycle at MSPI_CORE_CLK positive edge. 5: Delay for (SPI_SMEM_DIN9_NUM+1) cycles at HCLK negative edge and one cycle at MSPI_CORE_CLK negative edge."] #[inline(always)] - #[must_use] pub fn spi_smem_din3_mode(&mut self) -> SPI_SMEM_DIN3_MODE_W { SPI_SMEM_DIN3_MODE_W::new(self, 9) } #[doc = "Bits 12:14 - SPI_IO4 input delay mode. 0: No delay. 1: Delay for (SPI_SMEM_DIN12_NUM+1) cycles at MSPI_CORE_CLK negative edge. 2: Delay for (SPI_SMEM_DIN12_NUM+1) cycles at HCLK positive edge and one cycle at MSPI_CORE_CLK positive edge. 3: Delay for (SPI_SMEM_DIN12_NUM+1) cycles at HCLK positive edge and one cycle at MSPI_CORE_CLK negative edge. 4: Delay for (SPI_SMEM_DIN12_NUM+1) cycles at HCLK negative edge and one cycle at MSPI_CORE_CLK positive edge. 5: Delay for (SPI_SMEM_DIN12_NUM+1) cycles at HCLK negative edge and one cycle at MSPI_CORE_CLK negative edge."] #[inline(always)] - #[must_use] pub fn spi_smem_din4_mode(&mut self) -> SPI_SMEM_DIN4_MODE_W { SPI_SMEM_DIN4_MODE_W::new(self, 12) } #[doc = "Bits 15:17 - SPI_IO5 input delay mode. 0: No delay. 1: Delay for (SPI_SMEM_DIN15_NUM+1) cycles at MSPI_CORE_CLK negative edge. 2: Delay for (SPI_SMEM_DIN15_NUM+1) cycles at HCLK positive edge and one cycle at MSPI_CORE_CLK positive edge. 3: Delay for (SPI_SMEM_DIN15_NUM+1) cycles at HCLK positive edge and one cycle at MSPI_CORE_CLK negative edge. 4: Delay for (SPI_SMEM_DIN15_NUM+1) cycles at HCLK negative edge and one cycle at MSPI_CORE_CLK positive edge. 5: Delay for (SPI_SMEM_DIN15_NUM+1) cycles at HCLK negative edge and one cycle at MSPI_CORE_CLK negative edge."] #[inline(always)] - #[must_use] pub fn spi_smem_din5_mode(&mut self) -> SPI_SMEM_DIN5_MODE_W { SPI_SMEM_DIN5_MODE_W::new(self, 15) } #[doc = "Bits 18:20 - SPI_IO6 input delay mode. 0: No delay. 1: Delay for (SPI_SMEM_DIN18_NUM+1) cycles at MSPI_CORE_CLK negative edge. 2: Delay for (SPI_SMEM_DIN18_NUM+1) cycles at HCLK positive edge and one cycle at MSPI_CORE_CLK positive edge. 3: Delay for (SPI_SMEM_DIN18_NUM+1) cycles at HCLK positive edge and one cycle at MSPI_CORE_CLK negative edge. 4: Delay for (SPI_SMEM_DIN18_NUM+1) cycles at HCLK negative edge and one cycle at MSPI_CORE_CLK positive edge. 5: Delay for (SPI_SMEM_DIN18_NUM+1) cycles at HCLK negative edge and one cycle at MSPI_CORE_CLK negative edge."] #[inline(always)] - #[must_use] pub fn spi_smem_din6_mode(&mut self) -> SPI_SMEM_DIN6_MODE_W { SPI_SMEM_DIN6_MODE_W::new(self, 18) } #[doc = "Bits 21:23 - SPI_IO7 input delay mode. 0: No delay. 1: Delay for (SPI_SMEM_DIN21_NUM+1) cycles at MSPI_CORE_CLK negative edge. 2: Delay for (SPI_SMEM_DIN21_NUM+1) cycles at HCLK positive edge and one cycle at MSPI_CORE_CLK positive edge. 3: Delay for (SPI_SMEM_DIN21_NUM+1) cycles at HCLK positive edge and one cycle at MSPI_CORE_CLK negative edge. 4: Delay for (SPI_SMEM_DIN21_NUM+1) cycles at HCLK negative edge and one cycle at MSPI_CORE_CLK positive edge. 5: Delay for (SPI_SMEM_DIN21_NUM+1) cycles at HCLK negative edge and one cycle at MSPI_CORE_CLK negative edge."] #[inline(always)] - #[must_use] pub fn spi_smem_din7_mode(&mut self) -> SPI_SMEM_DIN7_MODE_W { SPI_SMEM_DIN7_MODE_W::new(self, 21) } #[doc = "Bits 24:26 - SPI_DQS input delay mode. 0: No delay. 1: Delay for (SPI_SMEM_DINS_NUM+1) cycles at MSPI_CORE_CLK negative edge. 2: Delay for (SPI_SMEM_DINS_NUM+1) cycles at HCLK positive edge and one cycle at MSPI_CORE_CLK positive edge. 3: Delay for (SPI_SMEM_DINS_NUM+1) cycles at HCLK positive edge and one cycle at MSPI_CORE_CLK negative edge. 4: Delay for (SPI_SMEM_DINS_NUM+1) cycles at HCLK negative edge and one cycle at MSPI_CORE_CLK positive edge. 5: Delay for (SPI_SMEM_DINS_NUM+1) cycles at HCLK negative edge and one cycle at MSPI_CORE_CLK negative edge."] #[inline(always)] - #[must_use] pub fn spi_smem_dins_mode(&mut self) -> SPI_SMEM_DINS_MODE_W { SPI_SMEM_DINS_MODE_W::new(self, 24) } diff --git a/esp32s3/src/spi0/spi_smem_din_num.rs b/esp32s3/src/spi0/spi_smem_din_num.rs index 9f5bbe2f58..3c5e311350 100644 --- a/esp32s3/src/spi0/spi_smem_din_num.rs +++ b/esp32s3/src/spi0/spi_smem_din_num.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - SPI_D input delay number."] #[inline(always)] - #[must_use] pub fn spi_smem_din0_num(&mut self) -> SPI_SMEM_DIN0_NUM_W { SPI_SMEM_DIN0_NUM_W::new(self, 0) } #[doc = "Bits 2:3 - SPI_Q input delay number."] #[inline(always)] - #[must_use] pub fn spi_smem_din1_num(&mut self) -> SPI_SMEM_DIN1_NUM_W { SPI_SMEM_DIN1_NUM_W::new(self, 2) } #[doc = "Bits 4:5 - SPI_WP input delay number."] #[inline(always)] - #[must_use] pub fn spi_smem_din2_num(&mut self) -> SPI_SMEM_DIN2_NUM_W { SPI_SMEM_DIN2_NUM_W::new(self, 4) } #[doc = "Bits 6:7 - SPI_HD input delay number."] #[inline(always)] - #[must_use] pub fn spi_smem_din3_num(&mut self) -> SPI_SMEM_DIN3_NUM_W { SPI_SMEM_DIN3_NUM_W::new(self, 6) } #[doc = "Bits 8:9 - SPI_IO4 input delay number."] #[inline(always)] - #[must_use] pub fn spi_smem_din4_num(&mut self) -> SPI_SMEM_DIN4_NUM_W { SPI_SMEM_DIN4_NUM_W::new(self, 8) } #[doc = "Bits 10:11 - SPI_IO5 input delay number."] #[inline(always)] - #[must_use] pub fn spi_smem_din5_num(&mut self) -> SPI_SMEM_DIN5_NUM_W { SPI_SMEM_DIN5_NUM_W::new(self, 10) } #[doc = "Bits 12:13 - SPI_IO6 input delay number."] #[inline(always)] - #[must_use] pub fn spi_smem_din6_num(&mut self) -> SPI_SMEM_DIN6_NUM_W { SPI_SMEM_DIN6_NUM_W::new(self, 12) } #[doc = "Bits 14:15 - SPI_IO7 input delay number."] #[inline(always)] - #[must_use] pub fn spi_smem_din7_num(&mut self) -> SPI_SMEM_DIN7_NUM_W { SPI_SMEM_DIN7_NUM_W::new(self, 14) } #[doc = "Bits 16:17 - SPI_DQS input delay number."] #[inline(always)] - #[must_use] pub fn spi_smem_dins_num(&mut self) -> SPI_SMEM_DINS_NUM_W { SPI_SMEM_DINS_NUM_W::new(self, 16) } diff --git a/esp32s3/src/spi0/spi_smem_dout_mode.rs b/esp32s3/src/spi0/spi_smem_dout_mode.rs index db2e9e9d67..392b9ac72b 100644 --- a/esp32s3/src/spi0/spi_smem_dout_mode.rs +++ b/esp32s3/src/spi0/spi_smem_dout_mode.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - SPI_D output delay mode. 0: No delay. 1: Delay one cycle at MSPI_CORE_CLK negative edge."] #[inline(always)] - #[must_use] pub fn spi_smem_dout0_mode(&mut self) -> SPI_SMEM_DOUT0_MODE_W { SPI_SMEM_DOUT0_MODE_W::new(self, 0) } #[doc = "Bit 1 - SPI_Q output delay mode. 0: No delay. 1: Delay one cycle at MSPI_CORE_CLK negative edge."] #[inline(always)] - #[must_use] pub fn spi_smem_dout1_mode(&mut self) -> SPI_SMEM_DOUT1_MODE_W { SPI_SMEM_DOUT1_MODE_W::new(self, 1) } #[doc = "Bit 2 - SPI_WP output delay mode. 0: No delay. 1: Delay one cycle at MSPI_CORE_CLK negative edge."] #[inline(always)] - #[must_use] pub fn spi_smem_dout2_mode(&mut self) -> SPI_SMEM_DOUT2_MODE_W { SPI_SMEM_DOUT2_MODE_W::new(self, 2) } #[doc = "Bit 3 - SPI_HD output delay mode. 0: No delay. 1: Delay one cycle at MSPI_CORE_CLK negative edge."] #[inline(always)] - #[must_use] pub fn spi_smem_dout3_mode(&mut self) -> SPI_SMEM_DOUT3_MODE_W { SPI_SMEM_DOUT3_MODE_W::new(self, 3) } #[doc = "Bit 4 - SPI_IO4 output delay mode. 0: No delay. 1: Delay one cycle at MSPI_CORE_CLK negative edge."] #[inline(always)] - #[must_use] pub fn spi_smem_dout4_mode(&mut self) -> SPI_SMEM_DOUT4_MODE_W { SPI_SMEM_DOUT4_MODE_W::new(self, 4) } #[doc = "Bit 5 - SPI_IO5 output delay mode. 0: No delay. 1: Delay one cycle at MSPI_CORE_CLK negative edge."] #[inline(always)] - #[must_use] pub fn spi_smem_dout5_mode(&mut self) -> SPI_SMEM_DOUT5_MODE_W { SPI_SMEM_DOUT5_MODE_W::new(self, 5) } #[doc = "Bit 6 - SPI_IO6 output delay mode. 0: No delay. 1: Delay one cycle at MSPI_CORE_CLK negative edge."] #[inline(always)] - #[must_use] pub fn spi_smem_dout6_mode(&mut self) -> SPI_SMEM_DOUT6_MODE_W { SPI_SMEM_DOUT6_MODE_W::new(self, 6) } #[doc = "Bit 7 - SPI_IO7 output delay mode. 0: No delay. 1: Delay one cycle at MSPI_CORE_CLK negative edge."] #[inline(always)] - #[must_use] pub fn spi_smem_dout7_mode(&mut self) -> SPI_SMEM_DOUT7_MODE_W { SPI_SMEM_DOUT7_MODE_W::new(self, 7) } #[doc = "Bit 8 - SPI_DQS output delay mode. 0: No delay. 1: Delay one cycle at MSPI_CORE_CLK negative edge."] #[inline(always)] - #[must_use] pub fn spi_smem_douts_mode(&mut self) -> SPI_SMEM_DOUTS_MODE_W { SPI_SMEM_DOUTS_MODE_W::new(self, 8) } diff --git a/esp32s3/src/spi0/spi_smem_timing_cali.rs b/esp32s3/src/spi0/spi_smem_timing_cali.rs index 2aa02c67e8..65579d4f4e 100644 --- a/esp32s3/src/spi0/spi_smem_timing_cali.rs +++ b/esp32s3/src/spi0/spi_smem_timing_cali.rs @@ -47,7 +47,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to power on HCLK. When PLL is powered on, the frequency of HCLK equals to that of PLL. Otherwise, the frequency equals to that of XTAL."] #[inline(always)] - #[must_use] pub fn spi_smem_timing_clk_ena( &mut self, ) -> SPI_SMEM_TIMING_CLK_ENA_W { @@ -55,13 +54,11 @@ impl W { } #[doc = "Bit 1 - Set this bit to add extra SPI_CLK cycles in DUMMY phase for all reading operations."] #[inline(always)] - #[must_use] pub fn spi_smem_timing_cali(&mut self) -> SPI_SMEM_TIMING_CALI_W { SPI_SMEM_TIMING_CALI_W::new(self, 1) } #[doc = "Bits 2:4 - Extra SPI_CLK cycles added in DUMMY phase for timing compensation, when SPI0 accesses to Ext_RAM. Active when SPI_SMEM_TIMING_CALI bit is set."] #[inline(always)] - #[must_use] pub fn spi_smem_extra_dummy_cyclelen( &mut self, ) -> SPI_SMEM_EXTRA_DUMMY_CYCLELEN_W { diff --git a/esp32s3/src/spi0/sram_clk.rs b/esp32s3/src/spi0/sram_clk.rs index 84b254850c..62646fe6f1 100644 --- a/esp32s3/src/spi0/sram_clk.rs +++ b/esp32s3/src/spi0/sram_clk.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - It must equal to the value of SPI_MEM_SCLKCNT_N."] #[inline(always)] - #[must_use] pub fn sclkcnt_l(&mut self) -> SCLKCNT_L_W { SCLKCNT_L_W::new(self, 0) } #[doc = "Bits 8:15 - It must be a floor value of ((SPI_MEM_SCLKCNT_N+1)/2-1)."] #[inline(always)] - #[must_use] pub fn sclkcnt_h(&mut self) -> SCLKCNT_H_W { SCLKCNT_H_W::new(self, 8) } #[doc = "Bits 16:23 - When SPI0 accesses to Ext_RAM, f_SPI_CLK = f_MSPI_CORE_CLK/(SPI_MEM_SCLKCNT_N+1)"] #[inline(always)] - #[must_use] pub fn sclkcnt_n(&mut self) -> SCLKCNT_N_W { SCLKCNT_N_W::new(self, 16) } #[doc = "Bit 31 - When SPI0 accesses to Ext_RAM, set this bit in 1-division mode, f_SPI_CLK = f_MSPI_CORE_CLK."] #[inline(always)] - #[must_use] pub fn sclk_equ_sysclk(&mut self) -> SCLK_EQU_SYSCLK_W { SCLK_EQU_SYSCLK_W::new(self, 31) } diff --git a/esp32s3/src/spi0/sram_cmd.rs b/esp32s3/src/spi0/sram_cmd.rs index 0c768d1282..617e18721a 100644 --- a/esp32s3/src/spi0/sram_cmd.rs +++ b/esp32s3/src/spi0/sram_cmd.rs @@ -164,91 +164,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - SPI_CLK mode bits when SPI0 accesses to Ext_RAM. 0: SPI_CLK is off when CS inactive 1: SPI_CLK is delayed one cycle after CS inactive 2: SPI_CLK is delayed two cycles after CS inactive 3: SPI_CLK is always on."] #[inline(always)] - #[must_use] pub fn sclk_mode(&mut self) -> SCLK_MODE_W { SCLK_MODE_W::new(self, 0) } #[doc = "Bits 2:9 - Mode bits when SPI0 accesses to Ext_RAM."] #[inline(always)] - #[must_use] pub fn swb_mode(&mut self) -> SWB_MODE_W { SWB_MODE_W::new(self, 2) } #[doc = "Bit 10 - When SPI0 accesses to Ext_RAM, set this bit to enable 2-bm in DIN phase."] #[inline(always)] - #[must_use] pub fn sdin_dual(&mut self) -> SDIN_DUAL_W { SDIN_DUAL_W::new(self, 10) } #[doc = "Bit 11 - When SPI0 accesses to Ext_RAM, set this bit to enable 2-bm in DOUT phase."] #[inline(always)] - #[must_use] pub fn sdout_dual(&mut self) -> SDOUT_DUAL_W { SDOUT_DUAL_W::new(self, 11) } #[doc = "Bit 12 - When SPI0 accesses to Ext_RAM, set this bit to enable 2-bm in ADDR phase."] #[inline(always)] - #[must_use] pub fn saddr_dual(&mut self) -> SADDR_DUAL_W { SADDR_DUAL_W::new(self, 12) } #[doc = "Bit 13 - When SPI0 accesses to Ext_RAM, set this bit to enable 2-bm in CMD phase."] #[inline(always)] - #[must_use] pub fn scmd_dual(&mut self) -> SCMD_DUAL_W { SCMD_DUAL_W::new(self, 13) } #[doc = "Bit 14 - When SPI0 accesses to Ext_RAM, set this bit to enable 4-bm in DIN phase."] #[inline(always)] - #[must_use] pub fn sdin_quad(&mut self) -> SDIN_QUAD_W { SDIN_QUAD_W::new(self, 14) } #[doc = "Bit 15 - When SPI0 accesses to Ext_RAM, set this bit to enable 4-bm in DOUT phase."] #[inline(always)] - #[must_use] pub fn sdout_quad(&mut self) -> SDOUT_QUAD_W { SDOUT_QUAD_W::new(self, 15) } #[doc = "Bit 16 - When SPI0 accesses to Ext_RAM, set this bit to enable 4-bm in ADDR phase."] #[inline(always)] - #[must_use] pub fn saddr_quad(&mut self) -> SADDR_QUAD_W { SADDR_QUAD_W::new(self, 16) } #[doc = "Bit 17 - When SPI0 accesses to Ext_RAM, set this bit to enable 4-bm in CMD phase."] #[inline(always)] - #[must_use] pub fn scmd_quad(&mut self) -> SCMD_QUAD_W { SCMD_QUAD_W::new(self, 17) } #[doc = "Bit 18 - When SPI0 accesses to Ext_RAM, set this bit to enable 8-bm in DIN phase."] #[inline(always)] - #[must_use] pub fn sdin_oct(&mut self) -> SDIN_OCT_W { SDIN_OCT_W::new(self, 18) } #[doc = "Bit 19 - When SPI0 accesses to Ext_RAM, set this bit to enable 8-bm in DOUT phase."] #[inline(always)] - #[must_use] pub fn sdout_oct(&mut self) -> SDOUT_OCT_W { SDOUT_OCT_W::new(self, 19) } #[doc = "Bit 20 - When SPI0 accesses to Ext_RAM, set this bit to enable 8-bm in ADDR phase."] #[inline(always)] - #[must_use] pub fn saddr_oct(&mut self) -> SADDR_OCT_W { SADDR_OCT_W::new(self, 20) } #[doc = "Bit 21 - When SPI0 accesses to Ext_RAM, set this bit to enable 8-bm in CMD phase."] #[inline(always)] - #[must_use] pub fn scmd_oct(&mut self) -> SCMD_OCT_W { SCMD_OCT_W::new(self, 21) } #[doc = "Bit 22 - When SPI0 accesses to Ext_RAM, in the DUMMY phase the signal level of SPI bus is output by the SPI0 controller."] #[inline(always)] - #[must_use] pub fn sdummy_out(&mut self) -> SDUMMY_OUT_W { SDUMMY_OUT_W::new(self, 22) } diff --git a/esp32s3/src/spi0/sram_drd_cmd.rs b/esp32s3/src/spi0/sram_drd_cmd.rs index 6b2797b5c9..e71dcb5ea2 100644 --- a/esp32s3/src/spi0/sram_drd_cmd.rs +++ b/esp32s3/src/spi0/sram_drd_cmd.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - When SPI0 reads Ext_RAM, it is the command value of CMD phase."] #[inline(always)] - #[must_use] pub fn cache_sram_usr_rd_cmd_value( &mut self, ) -> CACHE_SRAM_USR_RD_CMD_VALUE_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bits 28:31 - When SPI0 reads Ext_RAM, it is the length in bits of CMD phase. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn cache_sram_usr_rd_cmd_bitlen( &mut self, ) -> CACHE_SRAM_USR_RD_CMD_BITLEN_W { diff --git a/esp32s3/src/spi0/sram_dwr_cmd.rs b/esp32s3/src/spi0/sram_dwr_cmd.rs index 91025bf6e1..529ed7fc7e 100644 --- a/esp32s3/src/spi0/sram_dwr_cmd.rs +++ b/esp32s3/src/spi0/sram_dwr_cmd.rs @@ -40,7 +40,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - When SPI0 writes Ext_RAM, it is the command value of CMD phase."] #[inline(always)] - #[must_use] pub fn cache_sram_usr_wr_cmd_value( &mut self, ) -> CACHE_SRAM_USR_WR_CMD_VALUE_W { @@ -48,7 +47,6 @@ impl W { } #[doc = "Bits 28:31 - When SPI0 writes Ext_RAM, it is the length in bits of CMD phase. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn cache_sram_usr_wr_cmd_bitlen( &mut self, ) -> CACHE_SRAM_USR_WR_CMD_BITLEN_W { diff --git a/esp32s3/src/spi0/timing_cali.rs b/esp32s3/src/spi0/timing_cali.rs index 3da4e45a2a..7bacca9e23 100644 --- a/esp32s3/src/spi0/timing_cali.rs +++ b/esp32s3/src/spi0/timing_cali.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to power on HCLK. When PLL is powered on, the frequency of HCLK equals to that of PLL. Otherwise, the frequency equals to that of XTAL."] #[inline(always)] - #[must_use] pub fn timing_clk_ena(&mut self) -> TIMING_CLK_ENA_W { TIMING_CLK_ENA_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to add extra SPI_CLK cycles in DUMMY phase for all reading operations."] #[inline(always)] - #[must_use] pub fn timing_cali(&mut self) -> TIMING_CALI_W { TIMING_CALI_W::new(self, 1) } #[doc = "Bits 2:4 - Extra SPI_CLK cycles added in DUMMY phase for timing compensation, when SPI0 accesses to flash. Active when SPI_MEM_TIMING_CALI bit is set."] #[inline(always)] - #[must_use] pub fn extra_dummy_cyclelen(&mut self) -> EXTRA_DUMMY_CYCLELEN_W { EXTRA_DUMMY_CYCLELEN_W::new(self, 2) } diff --git a/esp32s3/src/spi0/user.rs b/esp32s3/src/spi0/user.rs index 3c81d977a3..aa12a6d8c8 100644 --- a/esp32s3/src/spi0/user.rs +++ b/esp32s3/src/spi0/user.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 6 - Set this bit to keep SPI_CS low when MSPI is in DONE state."] #[inline(always)] - #[must_use] pub fn cs_hold(&mut self) -> CS_HOLD_W { CS_HOLD_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to keep SPI_CS low when MSPI is in PREP state."] #[inline(always)] - #[must_use] pub fn cs_setup(&mut self) -> CS_SETUP_W { CS_SETUP_W::new(self, 7) } #[doc = "Bit 9 - This bit, combined with SPI_MEM_CK_IDLE_EDGE bit, is used to change the clock mode 0~3 of SPI_CLK."] #[inline(always)] - #[must_use] pub fn ck_out_edge(&mut self) -> CK_OUT_EDGE_W { CK_OUT_EDGE_W::new(self, 9) } #[doc = "Bit 26 - SPI_CLK is disabled(No clock edges) in DUMMY phase when the bit is enable."] #[inline(always)] - #[must_use] pub fn usr_dummy_idle(&mut self) -> USR_DUMMY_IDLE_W { USR_DUMMY_IDLE_W::new(self, 26) } #[doc = "Bit 29 - This bit enable the DUMMY phase of an SPI transfer."] #[inline(always)] - #[must_use] pub fn usr_dummy(&mut self) -> USR_DUMMY_W { USR_DUMMY_W::new(self, 29) } diff --git a/esp32s3/src/spi0/user1.rs b/esp32s3/src/spi0/user1.rs index 70f8bf331e..ab6427a70f 100644 --- a/esp32s3/src/spi0/user1.rs +++ b/esp32s3/src/spi0/user1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - The SPI_CLK cycle length minus 1 of DUMMY phase."] #[inline(always)] - #[must_use] pub fn usr_dummy_cyclelen(&mut self) -> USR_DUMMY_CYCLELEN_W { USR_DUMMY_CYCLELEN_W::new(self, 0) } #[doc = "Bits 26:31 - The length in bits of ADDR phase. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn usr_addr_bitlen(&mut self) -> USR_ADDR_BITLEN_W { USR_ADDR_BITLEN_W::new(self, 26) } diff --git a/esp32s3/src/spi0/user2.rs b/esp32s3/src/spi0/user2.rs index c59595a288..a5e23437e6 100644 --- a/esp32s3/src/spi0/user2.rs +++ b/esp32s3/src/spi0/user2.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The value of user defined(USR) command."] #[inline(always)] - #[must_use] pub fn usr_command_value(&mut self) -> USR_COMMAND_VALUE_W { USR_COMMAND_VALUE_W::new(self, 0) } #[doc = "Bits 28:31 - The length in bits of CMD phase. The register value shall be (bit_num-1)"] #[inline(always)] - #[must_use] pub fn usr_command_bitlen(&mut self) -> USR_COMMAND_BITLEN_W { USR_COMMAND_BITLEN_W::new(self, 28) } diff --git a/esp32s3/src/spi1/addr.rs b/esp32s3/src/spi1/addr.rs index a0213e15b9..0d0a1be434 100644 --- a/esp32s3/src/spi1/addr.rs +++ b/esp32s3/src/spi1/addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - In user mode, it is the memory address. other then the bit0-bit23 is the memory address, the bit24-bit31 are the byte length of a transfer."] #[inline(always)] - #[must_use] pub fn usr_addr_value(&mut self) -> USR_ADDR_VALUE_W { USR_ADDR_VALUE_W::new(self, 0) } diff --git a/esp32s3/src/spi1/cache_fctrl.rs b/esp32s3/src/spi1/cache_fctrl.rs index e3c1a05c45..d2eff4f91b 100644 --- a/esp32s3/src/spi1/cache_fctrl.rs +++ b/esp32s3/src/spi1/cache_fctrl.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - Set this bit to enable SPI1 transfer with 32 bits address. The value of SPI_MEM_USR_ADDR_BITLEN should be 31."] #[inline(always)] - #[must_use] pub fn cache_usr_cmd_4byte(&mut self) -> CACHE_USR_CMD_4BYTE_W { CACHE_USR_CMD_4BYTE_W::new(self, 1) } #[doc = "Bit 3 - When SPI1 accesses to flash or Ext_RAM, set this bit to enable 2-bm in DIN phase."] #[inline(always)] - #[must_use] pub fn fdin_dual(&mut self) -> FDIN_DUAL_W { FDIN_DUAL_W::new(self, 3) } #[doc = "Bit 4 - When SPI1 accesses to flash or Ext_RAM, set this bit to enable 2-bm in DOUT phase."] #[inline(always)] - #[must_use] pub fn fdout_dual(&mut self) -> FDOUT_DUAL_W { FDOUT_DUAL_W::new(self, 4) } #[doc = "Bit 5 - When SPI1 accesses to flash or Ext_RAM, set this bit to enable 2-bm in ADDR phase."] #[inline(always)] - #[must_use] pub fn faddr_dual(&mut self) -> FADDR_DUAL_W { FADDR_DUAL_W::new(self, 5) } #[doc = "Bit 6 - When SPI1 accesses to flash or Ext_RAM, set this bit to enable 4-bm in DIN phase."] #[inline(always)] - #[must_use] pub fn fdin_quad(&mut self) -> FDIN_QUAD_W { FDIN_QUAD_W::new(self, 6) } #[doc = "Bit 7 - When SPI1 accesses to flash or Ext_RAM, set this bit to enable 4-bm in DOUT phase."] #[inline(always)] - #[must_use] pub fn fdout_quad(&mut self) -> FDOUT_QUAD_W { FDOUT_QUAD_W::new(self, 7) } #[doc = "Bit 8 - When SPI1 accesses to flash or Ext_RAM, set this bit to enable 4-bm in ADDR phase."] #[inline(always)] - #[must_use] pub fn faddr_quad(&mut self) -> FADDR_QUAD_W { FADDR_QUAD_W::new(self, 8) } diff --git a/esp32s3/src/spi1/clock.rs b/esp32s3/src/spi1/clock.rs index e62dad8e82..ea5b8f5196 100644 --- a/esp32s3/src/spi1/clock.rs +++ b/esp32s3/src/spi1/clock.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - It must equal to the value of SPI_MEM_CLKCNT_N."] #[inline(always)] - #[must_use] pub fn clkcnt_l(&mut self) -> CLKCNT_L_W { CLKCNT_L_W::new(self, 0) } #[doc = "Bits 8:15 - It must be a floor value of ((SPI_MEM_CLKCNT_N+1)/2-1)."] #[inline(always)] - #[must_use] pub fn clkcnt_h(&mut self) -> CLKCNT_H_W { CLKCNT_H_W::new(self, 8) } #[doc = "Bits 16:23 - When SPI1 accesses to flash or Ext_RAM, f_SPI_CLK = f_MSPI_CORE_CLK/(SPI_MEM_CLKCNT_N+1)"] #[inline(always)] - #[must_use] pub fn clkcnt_n(&mut self) -> CLKCNT_N_W { CLKCNT_N_W::new(self, 16) } #[doc = "Bit 31 - When SPI1 access to flash or Ext_RAM, set this bit in 1-division mode, f_SPI_CLK = f_MSPI_CORE_CLK."] #[inline(always)] - #[must_use] pub fn clk_equ_sysclk(&mut self) -> CLK_EQU_SYSCLK_W { CLK_EQU_SYSCLK_W::new(self, 31) } diff --git a/esp32s3/src/spi1/clock_gate.rs b/esp32s3/src/spi1/clock_gate.rs index 5c0eb9d0d7..5e04c4947e 100644 --- a/esp32s3/src/spi1/clock_gate.rs +++ b/esp32s3/src/spi1/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Register clock gate enable signal. 1: Enable. 0: Disable."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32s3/src/spi1/cmd.rs b/esp32s3/src/spi1/cmd.rs index 8e7ba343f5..0b013a372b 100644 --- a/esp32s3/src/spi1/cmd.rs +++ b/esp32s3/src/spi1/cmd.rs @@ -164,91 +164,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 17 - In user mode, it is set to indicate that program/erase operation will be triggered. The bit is combined with SPI_MEM_USR bit. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_pe(&mut self) -> FLASH_PE_W { FLASH_PE_W::new(self, 17) } #[doc = "Bit 18 - User define command enable. An operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn usr(&mut self) -> USR_W { USR_W::new(self, 18) } #[doc = "Bit 19 - Drive Flash into high performance mode. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_hpm(&mut self) -> FLASH_HPM_W { FLASH_HPM_W::new(self, 19) } #[doc = "Bit 20 - This bit combined with SPI_MEM_RESANDRES bit releases Flash from the power-down state or high performance mode and obtains the devices ID. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_res(&mut self) -> FLASH_RES_W { FLASH_RES_W::new(self, 20) } #[doc = "Bit 21 - Drive Flash into power down. An operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_dp(&mut self) -> FLASH_DP_W { FLASH_DP_W::new(self, 21) } #[doc = "Bit 22 - Chip erase enable. Chip erase operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_ce(&mut self) -> FLASH_CE_W { FLASH_CE_W::new(self, 22) } #[doc = "Bit 23 - Block erase enable(32KB) . Block erase operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_be(&mut self) -> FLASH_BE_W { FLASH_BE_W::new(self, 23) } #[doc = "Bit 24 - Sector erase enable(4KB). Sector erase operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_se(&mut self) -> FLASH_SE_W { FLASH_SE_W::new(self, 24) } #[doc = "Bit 25 - Page program enable(1 byte ~64 bytes data to be programmed). Page program operation will be triggered when the bit is set. The bit will be cleared once the operation done .1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_pp(&mut self) -> FLASH_PP_W { FLASH_PP_W::new(self, 25) } #[doc = "Bit 26 - Write status register enable. Write status operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_wrsr(&mut self) -> FLASH_WRSR_W { FLASH_WRSR_W::new(self, 26) } #[doc = "Bit 27 - Read status register-1. Read status operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_rdsr(&mut self) -> FLASH_RDSR_W { FLASH_RDSR_W::new(self, 27) } #[doc = "Bit 28 - Read JEDEC ID . Read ID command will be sent when the bit is set. The bit will be cleared once the operation done. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_rdid(&mut self) -> FLASH_RDID_W { FLASH_RDID_W::new(self, 28) } #[doc = "Bit 29 - Write flash disable. Write disable command will be sent when the bit is set. The bit will be cleared once the operation done. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_wrdi(&mut self) -> FLASH_WRDI_W { FLASH_WRDI_W::new(self, 29) } #[doc = "Bit 30 - Write flash enable. Write enable command will be sent when the bit is set. The bit will be cleared once the operation done. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_wren(&mut self) -> FLASH_WREN_W { FLASH_WREN_W::new(self, 30) } #[doc = "Bit 31 - Read flash enable. Read flash operation will be triggered when the bit is set. The bit will be cleared once the operation done. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_read(&mut self) -> FLASH_READ_W { FLASH_READ_W::new(self, 31) } diff --git a/esp32s3/src/spi1/ctrl.rs b/esp32s3/src/spi1/ctrl.rs index 9f55902525..9df400d3da 100644 --- a/esp32s3/src/spi1/ctrl.rs +++ b/esp32s3/src/spi1/ctrl.rs @@ -204,115 +204,96 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - In the DUMMY phase the signal level of SPI bus is output by the SPI0 controller."] #[inline(always)] - #[must_use] pub fn fdummy_out(&mut self) -> FDUMMY_OUT_W { FDUMMY_OUT_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to enable 8-bit-mode(8-bm) in DOUT phase."] #[inline(always)] - #[must_use] pub fn fdout_oct(&mut self) -> FDOUT_OCT_W { FDOUT_OCT_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to enable 8-bit-mode(8-bm) in DIN phase."] #[inline(always)] - #[must_use] pub fn fdin_oct(&mut self) -> FDIN_OCT_W { FDIN_OCT_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to enable 8-bit-mode(8-bm) in ADDR phase."] #[inline(always)] - #[must_use] pub fn faddr_oct(&mut self) -> FADDR_OCT_W { FADDR_OCT_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to enable 2-bit-mode(2-bm) in CMD phase."] #[inline(always)] - #[must_use] pub fn fcmd_dual(&mut self) -> FCMD_DUAL_W { FCMD_DUAL_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to enable 4-bit-mode(4-bm) in CMD phase."] #[inline(always)] - #[must_use] pub fn fcmd_quad(&mut self) -> FCMD_QUAD_W { FCMD_QUAD_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to enable 8-bit-mode(8-bm) in CMD phase."] #[inline(always)] - #[must_use] pub fn fcmd_oct(&mut self) -> FCMD_OCT_W { FCMD_OCT_W::new(self, 9) } #[doc = "Bit 10 - For SPI1, initialize crc32 module before writing encrypted data to flash. Active low."] #[inline(always)] - #[must_use] pub fn fcs_crc_en(&mut self) -> FCS_CRC_EN_W { FCS_CRC_EN_W::new(self, 10) } #[doc = "Bit 11 - For SPI1, enable crc32 when writing encrypted data to flash. 1: enable 0:disable"] #[inline(always)] - #[must_use] pub fn tx_crc_en(&mut self) -> TX_CRC_EN_W { TX_CRC_EN_W::new(self, 11) } #[doc = "Bit 13 - This bit should be set when SPI_MEM_FREAD_QIO, SPI_MEM_FREAD_DIO, SPI_MEM_FREAD_QUAD or SPI_MEM_FREAD_DUAL is set."] #[inline(always)] - #[must_use] pub fn fastrd_mode(&mut self) -> FASTRD_MODE_W { FASTRD_MODE_W::new(self, 13) } #[doc = "Bit 14 - In hardware 0x3B read operation, DIN phase apply 2 signals. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_dual(&mut self) -> FREAD_DUAL_W { FREAD_DUAL_W::new(self, 14) } #[doc = "Bit 15 - The Device ID is read out to SPI_MEM_RD_STATUS register, this bit combine with spi_mem_flash_res bit. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn resandres(&mut self) -> RESANDRES_W { RESANDRES_W::new(self, 15) } #[doc = "Bit 18 - The bit is used to set MISO line polarity, 1: high 0, low"] #[inline(always)] - #[must_use] pub fn q_pol(&mut self) -> Q_POL_W { Q_POL_W::new(self, 18) } #[doc = "Bit 19 - The bit is used to set MOSI line polarity, 1: high 0, low"] #[inline(always)] - #[must_use] pub fn d_pol(&mut self) -> D_POL_W { D_POL_W::new(self, 19) } #[doc = "Bit 20 - In hardware 0x6B read operation, DIN phase apply 4 signals(4-bit-mode). 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_quad(&mut self) -> FREAD_QUAD_W { FREAD_QUAD_W::new(self, 20) } #[doc = "Bit 21 - Write protect signal output when SPI is idle. 1: output high, 0: output low."] #[inline(always)] - #[must_use] pub fn wp(&mut self) -> WP_W { WP_W::new(self, 21) } #[doc = "Bit 22 - Two bytes data will be written to status register when it is set. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn wrsr_2b(&mut self) -> WRSR_2B_W { WRSR_2B_W::new(self, 22) } #[doc = "Bit 23 - In hardware 0xBB read operation, ADDR phase and DIN phase apply 2 signals(2-bit-mode). 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_dio(&mut self) -> FREAD_DIO_W { FREAD_DIO_W::new(self, 23) } #[doc = "Bit 24 - In hardware 0xEB read operation, ADDR phase and DIN phase apply 4 signals(4-bit-mode). 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn fread_qio(&mut self) -> FREAD_QIO_W { FREAD_QIO_W::new(self, 24) } diff --git a/esp32s3/src/spi1/ctrl1.rs b/esp32s3/src/spi1/ctrl1.rs index 3a3f526608..3abd95216b 100644 --- a/esp32s3/src/spi1/ctrl1.rs +++ b/esp32s3/src/spi1/ctrl1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - SPI Bus clock (SPI_CLK) mode bits. 0: SPI Bus clock (SPI_CLK) is off when CS inactive 1: SPI_CLK is delayed one cycle after SPI_CS inactive 2: SPI_CLK is delayed two cycles after SPI_CS inactive 3: SPI_CLK is always on."] #[inline(always)] - #[must_use] pub fn clk_mode(&mut self) -> CLK_MODE_W { CLK_MODE_W::new(self, 0) } #[doc = "Bits 2:11 - After RES/DP/HPM/PES/PER command is sent, SPI1 may waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4 or * 256) SPI_CLK cycles."] #[inline(always)] - #[must_use] pub fn cs_hold_dly_res(&mut self) -> CS_HOLD_DLY_RES_W { CS_HOLD_DLY_RES_W::new(self, 2) } diff --git a/esp32s3/src/spi1/ctrl2.rs b/esp32s3/src/spi1/ctrl2.rs index 98ca548bc9..38a0c1c4dc 100644 --- a/esp32s3/src/spi1/ctrl2.rs +++ b/esp32s3/src/spi1/ctrl2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - The FSM will be reset."] #[inline(always)] - #[must_use] pub fn sync_reset(&mut self) -> SYNC_RESET_W { SYNC_RESET_W::new(self, 31) } diff --git a/esp32s3/src/spi1/date.rs b/esp32s3/src/spi1/date.rs index c6ae018e98..474fa780f4 100644 --- a/esp32s3/src/spi1/date.rs +++ b/esp32s3/src/spi1/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - SPI register version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s3/src/spi1/ddr.rs b/esp32s3/src/spi1/ddr.rs index 316a7fffcb..5cb8b9498f 100644 --- a/esp32s3/src/spi1/ddr.rs +++ b/esp32s3/src/spi1/ddr.rs @@ -180,97 +180,81 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: in DDR mode, 0: in SDR mode."] #[inline(always)] - #[must_use] pub fn spi_fmem_ddr_en(&mut self) -> SPI_FMEM_DDR_EN_W { SPI_FMEM_DDR_EN_W::new(self, 0) } #[doc = "Bit 1 - Set the bit to enable variable dummy cycle in DDRmode."] #[inline(always)] - #[must_use] pub fn spi_fmem_var_dummy(&mut self) -> SPI_FMEM_VAR_DUMMY_W { SPI_FMEM_VAR_DUMMY_W::new(self, 1) } #[doc = "Bit 2 - Set the bit to reorder RX data of the word in DDR mode."] #[inline(always)] - #[must_use] pub fn spi_fmem_ddr_rdat_swp(&mut self) -> SPI_FMEM_DDR_RDAT_SWP_W { SPI_FMEM_DDR_RDAT_SWP_W::new(self, 2) } #[doc = "Bit 3 - Set the bit to reorder TX data of the word in DDR mode."] #[inline(always)] - #[must_use] pub fn spi_fmem_ddr_wdat_swp(&mut self) -> SPI_FMEM_DDR_WDAT_SWP_W { SPI_FMEM_DDR_WDAT_SWP_W::new(self, 3) } #[doc = "Bit 4 - the bit is used to disable dual edge in command phase when DDR mode."] #[inline(always)] - #[must_use] pub fn spi_fmem_ddr_cmd_dis(&mut self) -> SPI_FMEM_DDR_CMD_DIS_W { SPI_FMEM_DDR_CMD_DIS_W::new(self, 4) } #[doc = "Bits 5:11 - It is the minimum output data length in the panda device."] #[inline(always)] - #[must_use] pub fn spi_fmem_outminbytelen(&mut self) -> SPI_FMEM_OUTMINBYTELEN_W { SPI_FMEM_OUTMINBYTELEN_W::new(self, 5) } #[doc = "Bits 14:20 - The delay number of data strobe which from memory based on SPI_CLK."] #[inline(always)] - #[must_use] pub fn spi_fmem_usr_ddr_dqs_thd(&mut self) -> SPI_FMEM_USR_DDR_DQS_THD_W { SPI_FMEM_USR_DDR_DQS_THD_W::new(self, 14) } #[doc = "Bit 21 - 1: Use internal signal as data strobe, the strobe can not be delayed by input timing module. 0: Use input SPI_DQS signal from PAD as data strobe, the strobe can be delayed by input timing module"] #[inline(always)] - #[must_use] pub fn spi_fmem_ddr_dqs_loop(&mut self) -> SPI_FMEM_DDR_DQS_LOOP_W { SPI_FMEM_DDR_DQS_LOOP_W::new(self, 21) } #[doc = "Bit 22 - When SPI_FMEM_DDR_DQS_LOOP and SPI_FMEM_DDR_EN are set, 1: Use internal SPI_CLK as data strobe. 0: Use internal ~SPI_CLK as data strobe. Otherwise this bit is not active."] #[inline(always)] - #[must_use] pub fn spi_fmem_ddr_dqs_loop_mode(&mut self) -> SPI_FMEM_DDR_DQS_LOOP_MODE_W { SPI_FMEM_DDR_DQS_LOOP_MODE_W::new(self, 22) } #[doc = "Bit 24 - Set this bit to enable the differential SPI_CLK#."] #[inline(always)] - #[must_use] pub fn spi_fmem_clk_diff_en(&mut self) -> SPI_FMEM_CLK_DIFF_EN_W { SPI_FMEM_CLK_DIFF_EN_W::new(self, 24) } #[doc = "Bit 25 - Set this bit to enable the SPI HyperBus mode."] #[inline(always)] - #[must_use] pub fn spi_fmem_hyperbus_mode(&mut self) -> SPI_FMEM_HYPERBUS_MODE_W { SPI_FMEM_HYPERBUS_MODE_W::new(self, 25) } #[doc = "Bit 26 - Set this bit to enable the input of SPI_DQS signal in SPI phases of CMD and ADDR."] #[inline(always)] - #[must_use] pub fn spi_fmem_dqs_ca_in(&mut self) -> SPI_FMEM_DQS_CA_IN_W { SPI_FMEM_DQS_CA_IN_W::new(self, 26) } #[doc = "Bit 27 - Set this bit to enable the vary dummy function in SPI HyperBus mode, when SPI0 accesses flash or SPI1 accesses flash or sram."] #[inline(always)] - #[must_use] pub fn spi_fmem_hyperbus_dummy_2x(&mut self) -> SPI_FMEM_HYPERBUS_DUMMY_2X_W { SPI_FMEM_HYPERBUS_DUMMY_2X_W::new(self, 27) } #[doc = "Bit 28 - Set this bit to invert SPI_DIFF when accesses to flash. ."] #[inline(always)] - #[must_use] pub fn spi_fmem_clk_diff_inv(&mut self) -> SPI_FMEM_CLK_DIFF_INV_W { SPI_FMEM_CLK_DIFF_INV_W::new(self, 28) } #[doc = "Bit 29 - Set this bit to enable octa_ram address out when accesses to flash, which means ADDR_OUT\\[31:0\\] = {spi_usr_addr_value\\[25:4\\], 6'd0, spi_usr_addr_value\\[3:1\\], 1'b0}."] #[inline(always)] - #[must_use] pub fn spi_fmem_octa_ram_addr(&mut self) -> SPI_FMEM_OCTA_RAM_ADDR_W { SPI_FMEM_OCTA_RAM_ADDR_W::new(self, 29) } #[doc = "Bit 30 - Set this bit to enable HyperRAM address out when accesses to flash, which means ADDR_OUT\\[31:0\\] = {spi_usr_addr_value\\[19:4\\], 13'd0, spi_usr_addr_value\\[3:1\\]}."] #[inline(always)] - #[must_use] pub fn spi_fmem_hyperbus_ca(&mut self) -> SPI_FMEM_HYPERBUS_CA_W { SPI_FMEM_HYPERBUS_CA_W::new(self, 30) } diff --git a/esp32s3/src/spi1/ext_addr.rs b/esp32s3/src/spi1/ext_addr.rs index 25f0b50424..b84e2c7f78 100644 --- a/esp32s3/src/spi1/ext_addr.rs +++ b/esp32s3/src/spi1/ext_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - The register are the higher 32bits in the 64 bits address mode."] #[inline(always)] - #[must_use] pub fn ext_addr(&mut self) -> EXT_ADDR_W { EXT_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/spi1/flash_sus_cmd.rs b/esp32s3/src/spi1/flash_sus_cmd.rs index 52cb49fb4e..ef5a440cee 100644 --- a/esp32s3/src/spi1/flash_sus_cmd.rs +++ b/esp32s3/src/spi1/flash_sus_cmd.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - program erase resume bit, program erase suspend operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_per(&mut self) -> FLASH_PER_W { FLASH_PER_W::new(self, 0) } #[doc = "Bit 1 - program erase suspend bit, program erase suspend operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn flash_pes(&mut self) -> FLASH_PES_W { FLASH_PES_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to add delay time after program erase resume(PER) is sent."] #[inline(always)] - #[must_use] pub fn flash_per_wait_en(&mut self) -> FLASH_PER_WAIT_EN_W { FLASH_PER_WAIT_EN_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to add delay time after program erase suspend(PES) command is sent."] #[inline(always)] - #[must_use] pub fn flash_pes_wait_en(&mut self) -> FLASH_PES_WAIT_EN_W { FLASH_PES_WAIT_EN_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to enable PES transfer trigger PES transfer option."] #[inline(always)] - #[must_use] pub fn pes_per_en(&mut self) -> PES_PER_EN_W { PES_PER_EN_W::new(self, 4) } #[doc = "Bit 5 - 1: Separate PER flash wait idle and PES flash wait idle. 0: Not separate."] #[inline(always)] - #[must_use] pub fn pesr_idle_en(&mut self) -> PESR_IDLE_EN_W { PESR_IDLE_EN_W::new(self, 5) } diff --git a/esp32s3/src/spi1/flash_sus_ctrl.rs b/esp32s3/src/spi1/flash_sus_ctrl.rs index c88ba8383d..da8886ca11 100644 --- a/esp32s3/src/spi1/flash_sus_ctrl.rs +++ b/esp32s3/src/spi1/flash_sus_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable auto-suspend function."] #[inline(always)] - #[must_use] pub fn flash_pes_en(&mut self) -> FLASH_PES_EN_W { FLASH_PES_EN_W::new(self, 0) } #[doc = "Bits 1:8 - Program/Erase resume command value."] #[inline(always)] - #[must_use] pub fn flash_per_command(&mut self) -> FLASH_PER_COMMAND_W { FLASH_PER_COMMAND_W::new(self, 1) } #[doc = "Bits 9:16 - Program/Erase suspend command value."] #[inline(always)] - #[must_use] pub fn flash_pes_command(&mut self) -> FLASH_PES_COMMAND_W { FLASH_PES_COMMAND_W::new(self, 9) } diff --git a/esp32s3/src/spi1/flash_waiti_ctrl.rs b/esp32s3/src/spi1/flash_waiti_ctrl.rs index a676dda23d..794fe3d64c 100644 --- a/esp32s3/src/spi1/flash_waiti_ctrl.rs +++ b/esp32s3/src/spi1/flash_waiti_ctrl.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable auto-waiting flash idle operation when PP/SE/BE/CE/WRSR/PES command is sent."] #[inline(always)] - #[must_use] pub fn waiti_en(&mut self) -> WAITI_EN_W { WAITI_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to enable DUMMY phase in auto wait flash idle transfer(RDSR)."] #[inline(always)] - #[must_use] pub fn waiti_dummy(&mut self) -> WAITI_DUMMY_W { WAITI_DUMMY_W::new(self, 1) } #[doc = "Bits 2:9 - The command value of auto wait flash idle transfer(RDSR)."] #[inline(always)] - #[must_use] pub fn waiti_cmd(&mut self) -> WAITI_CMD_W { WAITI_CMD_W::new(self, 2) } #[doc = "Bits 10:15 - The dummy cycle length when wait flash idle(RDSR)."] #[inline(always)] - #[must_use] pub fn waiti_dummy_cyclelen(&mut self) -> WAITI_DUMMY_CYCLELEN_W { WAITI_DUMMY_CYCLELEN_W::new(self, 10) } diff --git a/esp32s3/src/spi1/int_clr.rs b/esp32s3/src/spi1/int_clr.rs index c241a01ffc..a82cd080bf 100644 --- a/esp32s3/src/spi1/int_clr.rs +++ b/esp32s3/src/spi1/int_clr.rs @@ -17,25 +17,21 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The clear bit for SPI_MEM_PER_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn per_end(&mut self) -> PER_END_W { PER_END_W::new(self, 0) } #[doc = "Bit 1 - The clear bit for SPI_MEM_PES_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn pes_end(&mut self) -> PES_END_W { PES_END_W::new(self, 1) } #[doc = "Bit 2 - The clear bit for SPI_MEM_TOTAL_TRANS_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn total_trans_end(&mut self) -> TOTAL_TRANS_END_W { TOTAL_TRANS_END_W::new(self, 2) } #[doc = "Bit 3 - The status bit for SPI_MEM_BROWN_OUT_INT interrupt."] #[inline(always)] - #[must_use] pub fn brown_out(&mut self) -> BROWN_OUT_W { BROWN_OUT_W::new(self, 3) } diff --git a/esp32s3/src/spi1/int_ena.rs b/esp32s3/src/spi1/int_ena.rs index 69a10741d5..53b4c2efda 100644 --- a/esp32s3/src/spi1/int_ena.rs +++ b/esp32s3/src/spi1/int_ena.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The enable bit for SPI_MEM_PER_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn per_end(&mut self) -> PER_END_W { PER_END_W::new(self, 0) } #[doc = "Bit 1 - The enable bit for SPI_MEM_PES_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn pes_end(&mut self) -> PES_END_W { PES_END_W::new(self, 1) } #[doc = "Bit 2 - The enable bit for SPI_MEM_TOTAL_TRANS_END_INT interrupt."] #[inline(always)] - #[must_use] pub fn total_trans_end(&mut self) -> TOTAL_TRANS_END_W { TOTAL_TRANS_END_W::new(self, 2) } #[doc = "Bit 3 - The enable bit for SPI_MEM_BROWN_OUT_INT interrupt."] #[inline(always)] - #[must_use] pub fn brown_out(&mut self) -> BROWN_OUT_W { BROWN_OUT_W::new(self, 3) } diff --git a/esp32s3/src/spi1/int_raw.rs b/esp32s3/src/spi1/int_raw.rs index 8197ee4c17..c14cfede93 100644 --- a/esp32s3/src/spi1/int_raw.rs +++ b/esp32s3/src/spi1/int_raw.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw bit for SPI_MEM_PER_END_INT interrupt. 1: Triggered when Auto Resume command (0x7A) is sent and flash is resumed successfully. 0: Others."] #[inline(always)] - #[must_use] pub fn per_end(&mut self) -> PER_END_W { PER_END_W::new(self, 0) } #[doc = "Bit 1 - The raw bit for SPI_MEM_PES_END_INT interrupt.1: Triggered when Auto Suspend command (0x75) is sent and flash is suspended successfully. 0: Others."] #[inline(always)] - #[must_use] pub fn pes_end(&mut self) -> PES_END_W { PES_END_W::new(self, 1) } #[doc = "Bit 2 - The raw bit for SPI_MEM_TOTAL_TRANS_END_INT interrupt. 1: Triggered when SPI1 transfer is done and flash is already idle. When WRSR/PP/SE/BE/CE is sent and PES/PER command is sent, this bit is set when WRSR/PP/SE/BE/CE is success. 0: Others."] #[inline(always)] - #[must_use] pub fn total_trans_end(&mut self) -> TOTAL_TRANS_END_W { TOTAL_TRANS_END_W::new(self, 2) } #[doc = "Bit 3 - The raw bit for SPI_MEM_BROWN_OUT_INT interrupt. 1: Triggered condition is that chip is loosing power and RTC module sends out brown out close flash request to SPI1. After SPI1 sends out suspend command to flash, this interrupt is triggered and MSPI returns to idle state. 0: Others."] #[inline(always)] - #[must_use] pub fn brown_out(&mut self) -> BROWN_OUT_W { BROWN_OUT_W::new(self, 3) } diff --git a/esp32s3/src/spi1/misc.rs b/esp32s3/src/spi1/misc.rs index 810be3e5be..5c9f68a6bc 100644 --- a/esp32s3/src/spi1/misc.rs +++ b/esp32s3/src/spi1/misc.rs @@ -77,7 +77,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `CS0_DIS` field.
"] #[inline(always)] - #[must_use] pub fn cs_dis(&mut self, n: u8) -> CS_DIS_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -85,31 +84,26 @@ impl W { } #[doc = "Bit 0 - Set this bit to raise high SPI_CS0 pin, which means that the SPI device(Ext_RAM(0)/flash(1)) connected to SPI_CS0 is in low level when SPI1 transfer starts"] #[inline(always)] - #[must_use] pub fn cs0_dis(&mut self) -> CS_DIS_W { CS_DIS_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to raise high SPI_CS1 pin, which means that the SPI device(Ext_RAM(0)/flash(1)) connected to SPI_CS1 is in low level when SPI1 transfer starts"] #[inline(always)] - #[must_use] pub fn cs1_dis(&mut self) -> CS_DIS_W { CS_DIS_W::new(self, 1) } #[doc = "Bit 9 - 1: SPI_CLK line is high when MSPI is idle. 0: SPI_CLK line is low when MSPI is idle."] #[inline(always)] - #[must_use] pub fn ck_idle_edge(&mut self) -> CK_IDLE_EDGE_W { CK_IDLE_EDGE_W::new(self, 9) } #[doc = "Bit 10 - SPI_CS line keep low when the bit is set."] #[inline(always)] - #[must_use] pub fn cs_keep_active(&mut self) -> CS_KEEP_ACTIVE_W { CS_KEEP_ACTIVE_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to enable auto PER function. Hardware will sent out PER command if PES command is sent."] #[inline(always)] - #[must_use] pub fn auto_per(&mut self) -> AUTO_PER_W { AUTO_PER_W::new(self, 11) } diff --git a/esp32s3/src/spi1/miso_dlen.rs b/esp32s3/src/spi1/miso_dlen.rs index 9c24a24987..969bb3d617 100644 --- a/esp32s3/src/spi1/miso_dlen.rs +++ b/esp32s3/src/spi1/miso_dlen.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - The length in bits of DIN phase. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn usr_miso_dbitlen(&mut self) -> USR_MISO_DBITLEN_W { USR_MISO_DBITLEN_W::new(self, 0) } diff --git a/esp32s3/src/spi1/mosi_dlen.rs b/esp32s3/src/spi1/mosi_dlen.rs index c29866eee9..028efe8939 100644 --- a/esp32s3/src/spi1/mosi_dlen.rs +++ b/esp32s3/src/spi1/mosi_dlen.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - The length in bits of DOUT phase. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn usr_mosi_dbitlen(&mut self) -> USR_MOSI_DBITLEN_W { USR_MOSI_DBITLEN_W::new(self, 0) } diff --git a/esp32s3/src/spi1/rd_status.rs b/esp32s3/src/spi1/rd_status.rs index 5058bfc9cd..5bb1e33071 100644 --- a/esp32s3/src/spi1/rd_status.rs +++ b/esp32s3/src/spi1/rd_status.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The value is stored when set SPI_MEM_FLASH_RDSR bit and SPI_MEM_FLASH_RES bit."] #[inline(always)] - #[must_use] pub fn status(&mut self) -> STATUS_W { STATUS_W::new(self, 0) } #[doc = "Bits 16:23 - Mode bits in the flash fast read mode it is combined with SPI_MEM_FASTRD_MODE bit."] #[inline(always)] - #[must_use] pub fn wb_mode(&mut self) -> WB_MODE_W { WB_MODE_W::new(self, 16) } diff --git a/esp32s3/src/spi1/sus_status.rs b/esp32s3/src/spi1/sus_status.rs index 2ac9642ba2..df801c7ad2 100644 --- a/esp32s3/src/spi1/sus_status.rs +++ b/esp32s3/src/spi1/sus_status.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The status of flash suspend. This bit is set when PES command is sent, and cleared when PER is sent. Only used in SPI1."] #[inline(always)] - #[must_use] pub fn flash_sus(&mut self) -> FLASH_SUS_W { FLASH_SUS_W::new(self, 0) } #[doc = "Bit 2 - 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 256) SPI_CLK cycles after HPM command is sent. 0: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4) SPI_CLK cycles after HPM command is sent."] #[inline(always)] - #[must_use] pub fn flash_hpm_dly_256(&mut self) -> FLASH_HPM_DLY_256_W { FLASH_HPM_DLY_256_W::new(self, 2) } #[doc = "Bit 3 - 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 256) SPI_CLK cycles after RES command is sent. 0: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4) SPI_CLK cycles after RES command is sent."] #[inline(always)] - #[must_use] pub fn flash_res_dly_256(&mut self) -> FLASH_RES_DLY_256_W { FLASH_RES_DLY_256_W::new(self, 3) } #[doc = "Bit 4 - 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 256) SPI_CLK cycles after DP command is sent. 0: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4) SPI_CLK cycles after DP command is sent."] #[inline(always)] - #[must_use] pub fn flash_dp_dly_256(&mut self) -> FLASH_DP_DLY_256_W { FLASH_DP_DLY_256_W::new(self, 4) } #[doc = "Bit 5 - Valid when SPI_MEM_FLASH_PER_WAIT_EN is 1. 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 256) SPI_CLK cycles after PER command is sent. 0: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4) SPI_CLK cycles after PER command is sent."] #[inline(always)] - #[must_use] pub fn flash_per_dly_256(&mut self) -> FLASH_PER_DLY_256_W { FLASH_PER_DLY_256_W::new(self, 5) } #[doc = "Bit 6 - Valid when SPI_MEM_FLASH_PES_WAIT_EN is 1. 1: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 256) SPI_CLK cycles after PES command is sent. 0: SPI1 waits (SPI_MEM_CS_HOLD_DELAY_RES\\[9:0\\] * 4) SPI_CLK cycles after PES command is sent."] #[inline(always)] - #[must_use] pub fn flash_pes_dly_256(&mut self) -> FLASH_PES_DLY_256_W { FLASH_PES_DLY_256_W::new(self, 6) } diff --git a/esp32s3/src/spi1/timing_cali.rs b/esp32s3/src/spi1/timing_cali.rs index 1e86227fab..5c8caae97d 100644 --- a/esp32s3/src/spi1/timing_cali.rs +++ b/esp32s3/src/spi1/timing_cali.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1 - Set this bit to add extra SPI_CLK cycles in DUMMY phase for all reading operations."] #[inline(always)] - #[must_use] pub fn timing_cali(&mut self) -> TIMING_CALI_W { TIMING_CALI_W::new(self, 1) } #[doc = "Bits 2:4 - Extra SPI_CLK cycles added in DUMMY phase for timing compensation. Active when SPI_MEM_TIMING_CALI bit is set."] #[inline(always)] - #[must_use] pub fn extra_dummy_cyclelen(&mut self) -> EXTRA_DUMMY_CYCLELEN_W { EXTRA_DUMMY_CYCLELEN_W::new(self, 2) } diff --git a/esp32s3/src/spi1/user.rs b/esp32s3/src/spi1/user.rs index bfca198ff9..706fba8ce1 100644 --- a/esp32s3/src/spi1/user.rs +++ b/esp32s3/src/spi1/user.rs @@ -144,79 +144,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 9 - This bit, combined with SPI_MEM_CK_IDLE_EDGE bit, is used to change the clock mode 0~3 of SPI_CLK."] #[inline(always)] - #[must_use] pub fn ck_out_edge(&mut self) -> CK_OUT_EDGE_W { CK_OUT_EDGE_W::new(self, 9) } #[doc = "Bit 12 - Set this bit to enable 2-bm in DOUT phase in SPI1 write operation."] #[inline(always)] - #[must_use] pub fn fwrite_dual(&mut self) -> FWRITE_DUAL_W { FWRITE_DUAL_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to enable 4-bm in DOUT phase in SPI1 write operation."] #[inline(always)] - #[must_use] pub fn fwrite_quad(&mut self) -> FWRITE_QUAD_W { FWRITE_QUAD_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to enable 2-bm in ADDR and DOUT phase in SPI1 write operation."] #[inline(always)] - #[must_use] pub fn fwrite_dio(&mut self) -> FWRITE_DIO_W { FWRITE_DIO_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to enable 4-bit-mode(4-bm) in ADDR and DOUT phase in SPI1 write operation."] #[inline(always)] - #[must_use] pub fn fwrite_qio(&mut self) -> FWRITE_QIO_W { FWRITE_QIO_W::new(self, 15) } #[doc = "Bit 24 - DIN phase only access to high-part of the buffer SPI_MEM_W8_REG~SPI_MEM_W15_REG. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn usr_miso_highpart(&mut self) -> USR_MISO_HIGHPART_W { USR_MISO_HIGHPART_W::new(self, 24) } #[doc = "Bit 25 - DOUT phase only access to high-part of the buffer SPI_MEM_W8_REG~SPI_MEM_W15_REG. 1: enable 0: disable."] #[inline(always)] - #[must_use] pub fn usr_mosi_highpart(&mut self) -> USR_MOSI_HIGHPART_W { USR_MOSI_HIGHPART_W::new(self, 25) } #[doc = "Bit 26 - SPI_CLK is disabled(No clock edges) in DUMMY phase when the bit is enable."] #[inline(always)] - #[must_use] pub fn usr_dummy_idle(&mut self) -> USR_DUMMY_IDLE_W { USR_DUMMY_IDLE_W::new(self, 26) } #[doc = "Bit 27 - Set this bit to enable the DOUT phase of an write-data operation."] #[inline(always)] - #[must_use] pub fn usr_mosi(&mut self) -> USR_MOSI_W { USR_MOSI_W::new(self, 27) } #[doc = "Bit 28 - Set this bit to enable enable the DIN phase of a read-data operation."] #[inline(always)] - #[must_use] pub fn usr_miso(&mut self) -> USR_MISO_W { USR_MISO_W::new(self, 28) } #[doc = "Bit 29 - Set this bit to enable enable the DUMMY phase of an operation."] #[inline(always)] - #[must_use] pub fn usr_dummy(&mut self) -> USR_DUMMY_W { USR_DUMMY_W::new(self, 29) } #[doc = "Bit 30 - Set this bit to enable enable the ADDR phase of an operation."] #[inline(always)] - #[must_use] pub fn usr_addr(&mut self) -> USR_ADDR_W { USR_ADDR_W::new(self, 30) } #[doc = "Bit 31 - Set this bit to enable enable the CMD phase of an operation."] #[inline(always)] - #[must_use] pub fn usr_command(&mut self) -> USR_COMMAND_W { USR_COMMAND_W::new(self, 31) } diff --git a/esp32s3/src/spi1/user1.rs b/esp32s3/src/spi1/user1.rs index 8b31c6e753..7c07e84747 100644 --- a/esp32s3/src/spi1/user1.rs +++ b/esp32s3/src/spi1/user1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - The SPI_CLK cycle length minus 1 of DUMMY phase."] #[inline(always)] - #[must_use] pub fn usr_dummy_cyclelen(&mut self) -> USR_DUMMY_CYCLELEN_W { USR_DUMMY_CYCLELEN_W::new(self, 0) } #[doc = "Bits 26:31 - The length in bits of ADDR phase. The register value shall be (bit_num-1)."] #[inline(always)] - #[must_use] pub fn usr_addr_bitlen(&mut self) -> USR_ADDR_BITLEN_W { USR_ADDR_BITLEN_W::new(self, 26) } diff --git a/esp32s3/src/spi1/user2.rs b/esp32s3/src/spi1/user2.rs index 5f8be662c4..268479bda5 100644 --- a/esp32s3/src/spi1/user2.rs +++ b/esp32s3/src/spi1/user2.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The value of user defined(USR) command."] #[inline(always)] - #[must_use] pub fn usr_command_value(&mut self) -> USR_COMMAND_VALUE_W { USR_COMMAND_VALUE_W::new(self, 0) } #[doc = "Bits 28:31 - The length in bits of CMD phase. The register value shall be (bit_num-1)"] #[inline(always)] - #[must_use] pub fn usr_command_bitlen(&mut self) -> USR_COMMAND_BITLEN_W { USR_COMMAND_BITLEN_W::new(self, 28) } diff --git a/esp32s3/src/spi1/w.rs b/esp32s3/src/spi1/w.rs index 5b54f2c664..a1537b342a 100644 --- a/esp32s3/src/spi1/w.rs +++ b/esp32s3/src/spi1/w.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - data buffer"] #[inline(always)] - #[must_use] pub fn buf(&mut self) -> BUF_W { BUF_W::new(self, 0) } diff --git a/esp32s3/src/spi2/addr.rs b/esp32s3/src/spi2/addr.rs index 03ea07541d..acb1a7dfa7 100644 --- a/esp32s3/src/spi2/addr.rs +++ b/esp32s3/src/spi2/addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Address to slave. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_addr_value(&mut self) -> USR_ADDR_VALUE_W { USR_ADDR_VALUE_W::new(self, 0) } diff --git a/esp32s3/src/spi2/clk_gate.rs b/esp32s3/src/spi2/clk_gate.rs index 20f0adfc48..a8142d4385 100644 --- a/esp32s3/src/spi2/clk_gate.rs +++ b/esp32s3/src/spi2/clk_gate.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable clk gate"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to power on the SPI module clock."] #[inline(always)] - #[must_use] pub fn mst_clk_active(&mut self) -> MST_CLK_ACTIVE_W { MST_CLK_ACTIVE_W::new(self, 1) } #[doc = "Bit 2 - This bit is used to select SPI module clock source in master mode. 1: PLL_CLK_80M. 0: XTAL CLK."] #[inline(always)] - #[must_use] pub fn mst_clk_sel(&mut self) -> MST_CLK_SEL_W { MST_CLK_SEL_W::new(self, 2) } diff --git a/esp32s3/src/spi2/clock.rs b/esp32s3/src/spi2/clock.rs index 8b450b70fc..78e6f168df 100644 --- a/esp32s3/src/spi2/clock.rs +++ b/esp32s3/src/spi2/clock.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - In the master mode it must be equal to spi_clkcnt_N. In the slave mode it must be 0. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clkcnt_l(&mut self) -> CLKCNT_L_W { CLKCNT_L_W::new(self, 0) } #[doc = "Bits 6:11 - In the master mode it must be floor((spi_clkcnt_N+1)/2-1). In the slave mode it must be 0. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clkcnt_h(&mut self) -> CLKCNT_H_W { CLKCNT_H_W::new(self, 6) } #[doc = "Bits 12:17 - In the master mode it is the divider of spi_clk. So spi_clk frequency is system/(spi_clkdiv_pre+1)/(spi_clkcnt_N+1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clkcnt_n(&mut self) -> CLKCNT_N_W { CLKCNT_N_W::new(self, 12) } #[doc = "Bits 18:21 - In the master mode it is pre-divider of spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clkdiv_pre(&mut self) -> CLKDIV_PRE_W { CLKDIV_PRE_W::new(self, 18) } #[doc = "Bit 31 - In the master mode 1: spi_clk is eqaul to system 0: spi_clk is divided from system clock. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clk_equ_sysclk(&mut self) -> CLK_EQU_SYSCLK_W { CLK_EQU_SYSCLK_W::new(self, 31) } diff --git a/esp32s3/src/spi2/cmd.rs b/esp32s3/src/spi2/cmd.rs index 1ada226097..6946c7b016 100644 --- a/esp32s3/src/spi2/cmd.rs +++ b/esp32s3/src/spi2/cmd.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:17 - Define the APB cycles of SPI_CONF state. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn conf_bitlen(&mut self) -> CONF_BITLEN_W { CONF_BITLEN_W::new(self, 0) } #[doc = "Bit 23 - Set this bit to synchronize SPI registers from APB clock domain into SPI module clock domain, which is only used in SPI master mode."] #[inline(always)] - #[must_use] pub fn update(&mut self) -> UPDATE_W { UPDATE_W::new(self, 23) } #[doc = "Bit 24 - User define command enable. An operation will be triggered when the bit is set. The bit will be cleared once the operation done.1: enable 0: disable. Can not be changed by CONF_buf."] #[inline(always)] - #[must_use] pub fn usr(&mut self) -> USR_W { USR_W::new(self, 24) } diff --git a/esp32s3/src/spi2/ctrl.rs b/esp32s3/src/spi2/ctrl.rs index f6b5c0d97d..9b3b654b3d 100644 --- a/esp32s3/src/spi2/ctrl.rs +++ b/esp32s3/src/spi2/ctrl.rs @@ -174,97 +174,81 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 3 - 0: In the dummy phase, the FSPI bus signals are not output. 1: In the dummy phase, the FSPI bus signals are output. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dummy_out(&mut self) -> DUMMY_OUT_W { DUMMY_OUT_W::new(self, 3) } #[doc = "Bit 5 - Apply 2 signals during addr phase 1:enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn faddr_dual(&mut self) -> FADDR_DUAL_W { FADDR_DUAL_W::new(self, 5) } #[doc = "Bit 6 - Apply 4 signals during addr phase 1:enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn faddr_quad(&mut self) -> FADDR_QUAD_W { FADDR_QUAD_W::new(self, 6) } #[doc = "Bit 7 - Apply 8 signals during addr phase 1:enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn faddr_oct(&mut self) -> FADDR_OCT_W { FADDR_OCT_W::new(self, 7) } #[doc = "Bit 8 - Apply 2 signals during command phase 1:enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fcmd_dual(&mut self) -> FCMD_DUAL_W { FCMD_DUAL_W::new(self, 8) } #[doc = "Bit 9 - Apply 4 signals during command phase 1:enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fcmd_quad(&mut self) -> FCMD_QUAD_W { FCMD_QUAD_W::new(self, 9) } #[doc = "Bit 10 - Apply 8 signals during command phase 1:enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fcmd_oct(&mut self) -> FCMD_OCT_W { FCMD_OCT_W::new(self, 10) } #[doc = "Bit 14 - In the read operations, read-data phase apply 2 signals. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fread_dual(&mut self) -> FREAD_DUAL_W { FREAD_DUAL_W::new(self, 14) } #[doc = "Bit 15 - In the read operations read-data phase apply 4 signals. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fread_quad(&mut self) -> FREAD_QUAD_W { FREAD_QUAD_W::new(self, 15) } #[doc = "Bit 16 - In the read operations read-data phase apply 8 signals. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fread_oct(&mut self) -> FREAD_OCT_W { FREAD_OCT_W::new(self, 16) } #[doc = "Bit 18 - The bit is used to set MISO line polarity, 1: high 0, low. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn q_pol(&mut self) -> Q_POL_W { Q_POL_W::new(self, 18) } #[doc = "Bit 19 - The bit is used to set MOSI line polarity, 1: high 0, low. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn d_pol(&mut self) -> D_POL_W { D_POL_W::new(self, 19) } #[doc = "Bit 20 - SPI_HOLD output value when SPI is idle. 1: output high, 0: output low. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn hold_pol(&mut self) -> HOLD_POL_W { HOLD_POL_W::new(self, 20) } #[doc = "Bit 21 - Write protect signal output when SPI is idle. 1: output high, 0: output low. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn wp_pol(&mut self) -> WP_POL_W { WP_POL_W::new(self, 21) } #[doc = "Bits 23:24 - In read-data (MISO) phase 1: LSB first 0: MSB first. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn rd_bit_order(&mut self) -> RD_BIT_ORDER_W { RD_BIT_ORDER_W::new(self, 23) } #[doc = "Bits 25:26 - In command address write-data (MOSI) phases 1: LSB firs 0: MSB first. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn wr_bit_order(&mut self) -> WR_BIT_ORDER_W { WR_BIT_ORDER_W::new(self, 25) } diff --git a/esp32s3/src/spi2/date.rs b/esp32s3/src/spi2/date.rs index a31f077a34..d19c97f359 100644 --- a/esp32s3/src/spi2/date.rs +++ b/esp32s3/src/spi2/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - SPI register version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s3/src/spi2/din_mode.rs b/esp32s3/src/spi2/din_mode.rs index ad01eb127a..3a72f4fc2f 100644 --- a/esp32s3/src/spi2/din_mode.rs +++ b/esp32s3/src/spi2/din_mode.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din0_mode(&mut self) -> DIN0_MODE_W { DIN0_MODE_W::new(self, 0) } #[doc = "Bits 2:3 - the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din1_mode(&mut self) -> DIN1_MODE_W { DIN1_MODE_W::new(self, 2) } #[doc = "Bits 4:5 - the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din2_mode(&mut self) -> DIN2_MODE_W { DIN2_MODE_W::new(self, 4) } #[doc = "Bits 6:7 - the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din3_mode(&mut self) -> DIN3_MODE_W { DIN3_MODE_W::new(self, 6) } #[doc = "Bits 8:9 - the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din4_mode(&mut self) -> DIN4_MODE_W { DIN4_MODE_W::new(self, 8) } #[doc = "Bits 10:11 - the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din5_mode(&mut self) -> DIN5_MODE_W { DIN5_MODE_W::new(self, 10) } #[doc = "Bits 12:13 - the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din6_mode(&mut self) -> DIN6_MODE_W { DIN6_MODE_W::new(self, 12) } #[doc = "Bits 14:15 - the input signals are delayed by SPI module clock cycles, 0: input without delayed, 1: input with the posedge of clk_apb,2 input with the negedge of clk_apb, 3: input with the spi_clk. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din7_mode(&mut self) -> DIN7_MODE_W { DIN7_MODE_W::new(self, 14) } #[doc = "Bit 16 - 1:enable hclk in SPI input timing module. 0: disable it. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn timing_hclk_active(&mut self) -> TIMING_HCLK_ACTIVE_W { TIMING_HCLK_ACTIVE_W::new(self, 16) } diff --git a/esp32s3/src/spi2/din_num.rs b/esp32s3/src/spi2/din_num.rs index a7a17a7335..838b6215ff 100644 --- a/esp32s3/src/spi2/din_num.rs +++ b/esp32s3/src/spi2/din_num.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din0_num(&mut self) -> DIN0_NUM_W { DIN0_NUM_W::new(self, 0) } #[doc = "Bits 2:3 - the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din1_num(&mut self) -> DIN1_NUM_W { DIN1_NUM_W::new(self, 2) } #[doc = "Bits 4:5 - the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din2_num(&mut self) -> DIN2_NUM_W { DIN2_NUM_W::new(self, 4) } #[doc = "Bits 6:7 - the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din3_num(&mut self) -> DIN3_NUM_W { DIN3_NUM_W::new(self, 6) } #[doc = "Bits 8:9 - the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din4_num(&mut self) -> DIN4_NUM_W { DIN4_NUM_W::new(self, 8) } #[doc = "Bits 10:11 - the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din5_num(&mut self) -> DIN5_NUM_W { DIN5_NUM_W::new(self, 10) } #[doc = "Bits 12:13 - the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din6_num(&mut self) -> DIN6_NUM_W { DIN6_NUM_W::new(self, 12) } #[doc = "Bits 14:15 - the input signals are delayed by SPI module clock cycles, 0: delayed by 1 cycle, 1: delayed by 2 cycles,... Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn din7_num(&mut self) -> DIN7_NUM_W { DIN7_NUM_W::new(self, 14) } diff --git a/esp32s3/src/spi2/dma_conf.rs b/esp32s3/src/spi2/dma_conf.rs index 83e8fa3de1..29de1d9bb0 100644 --- a/esp32s3/src/spi2/dma_conf.rs +++ b/esp32s3/src/spi2/dma_conf.rs @@ -96,55 +96,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 18 - Enable dma segment transfer in spi dma half slave mode. 1: enable. 0: disable."] #[inline(always)] - #[must_use] pub fn dma_slv_seg_trans_en(&mut self) -> DMA_SLV_SEG_TRANS_EN_W { DMA_SLV_SEG_TRANS_EN_W::new(self, 18) } #[doc = "Bit 19 - 1: spi_dma_infifo_full_vld is cleared by spi slave cmd 5. 0: spi_dma_infifo_full_vld is cleared by spi_trans_done."] #[inline(always)] - #[must_use] pub fn slv_rx_seg_trans_clr_en(&mut self) -> SLV_RX_SEG_TRANS_CLR_EN_W { SLV_RX_SEG_TRANS_CLR_EN_W::new(self, 19) } #[doc = "Bit 20 - 1: spi_dma_outfifo_empty_vld is cleared by spi slave cmd 6. 0: spi_dma_outfifo_empty_vld is cleared by spi_trans_done."] #[inline(always)] - #[must_use] pub fn slv_tx_seg_trans_clr_en(&mut self) -> SLV_TX_SEG_TRANS_CLR_EN_W { SLV_TX_SEG_TRANS_CLR_EN_W::new(self, 20) } #[doc = "Bit 21 - 1: spi_dma_inlink_eof is set when the number of dma pushed data bytes is equal to the value of spi_slv/mst_dma_rd_bytelen\\[19:0\\] in spi dma transition. 0: spi_dma_inlink_eof is set by spi_trans_done in non-seg-trans or spi_dma_seg_trans_done in seg-trans."] #[inline(always)] - #[must_use] pub fn rx_eof_en(&mut self) -> RX_EOF_EN_W { RX_EOF_EN_W::new(self, 21) } #[doc = "Bit 27 - Set this bit to enable SPI DMA controlled receive data mode."] #[inline(always)] - #[must_use] pub fn dma_rx_ena(&mut self) -> DMA_RX_ENA_W { DMA_RX_ENA_W::new(self, 27) } #[doc = "Bit 28 - Set this bit to enable SPI DMA controlled send data mode."] #[inline(always)] - #[must_use] pub fn dma_tx_ena(&mut self) -> DMA_TX_ENA_W { DMA_TX_ENA_W::new(self, 28) } #[doc = "Bit 29 - Set this bit to reset RX AFIFO, which is used to receive data in SPI master and slave mode transfer."] #[inline(always)] - #[must_use] pub fn rx_afifo_rst(&mut self) -> RX_AFIFO_RST_W { RX_AFIFO_RST_W::new(self, 29) } #[doc = "Bit 30 - Set this bit to reset BUF TX AFIFO, which is used send data out in SPI slave CPU controlled mode transfer and master mode transfer."] #[inline(always)] - #[must_use] pub fn buf_afifo_rst(&mut self) -> BUF_AFIFO_RST_W { BUF_AFIFO_RST_W::new(self, 30) } #[doc = "Bit 31 - Set this bit to reset DMA TX AFIFO, which is used to send data out in SPI slave DMA controlled mode transfer."] #[inline(always)] - #[must_use] pub fn dma_afifo_rst(&mut self) -> DMA_AFIFO_RST_W { DMA_AFIFO_RST_W::new(self, 31) } diff --git a/esp32s3/src/spi2/dma_int_clr.rs b/esp32s3/src/spi2/dma_int_clr.rs index f313dfe4f1..5de2402ddc 100644 --- a/esp32s3/src/spi2/dma_int_clr.rs +++ b/esp32s3/src/spi2/dma_int_clr.rs @@ -51,127 +51,106 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The clear bit for SPI_DMA_INFIFO_FULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_infifo_full_err(&mut self) -> DMA_INFIFO_FULL_ERR_W { DMA_INFIFO_FULL_ERR_W::new(self, 0) } #[doc = "Bit 1 - The clear bit for SPI_DMA_OUTFIFO_EMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_outfifo_empty_err(&mut self) -> DMA_OUTFIFO_EMPTY_ERR_W { DMA_OUTFIFO_EMPTY_ERR_W::new(self, 1) } #[doc = "Bit 2 - The clear bit for SPI slave Ex_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_ex_qpi(&mut self) -> SLV_EX_QPI_W { SLV_EX_QPI_W::new(self, 2) } #[doc = "Bit 3 - The clear bit for SPI slave En_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_en_qpi(&mut self) -> SLV_EN_QPI_W { SLV_EN_QPI_W::new(self, 3) } #[doc = "Bit 4 - The clear bit for SPI slave CMD7 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd7(&mut self) -> SLV_CMD7_W { SLV_CMD7_W::new(self, 4) } #[doc = "Bit 5 - The clear bit for SPI slave CMD8 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd8(&mut self) -> SLV_CMD8_W { SLV_CMD8_W::new(self, 5) } #[doc = "Bit 6 - The clear bit for SPI slave CMD9 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd9(&mut self) -> SLV_CMD9_W { SLV_CMD9_W::new(self, 6) } #[doc = "Bit 7 - The clear bit for SPI slave CMDA interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmda(&mut self) -> SLV_CMDA_W { SLV_CMDA_W::new(self, 7) } #[doc = "Bit 8 - The clear bit for SPI_SLV_RD_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_dma_done(&mut self) -> SLV_RD_DMA_DONE_W { SLV_RD_DMA_DONE_W::new(self, 8) } #[doc = "Bit 9 - The clear bit for SPI_SLV_WR_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_dma_done(&mut self) -> SLV_WR_DMA_DONE_W { SLV_WR_DMA_DONE_W::new(self, 9) } #[doc = "Bit 10 - The clear bit for SPI_SLV_RD_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_buf_done(&mut self) -> SLV_RD_BUF_DONE_W { SLV_RD_BUF_DONE_W::new(self, 10) } #[doc = "Bit 11 - The clear bit for SPI_SLV_WR_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_buf_done(&mut self) -> SLV_WR_BUF_DONE_W { SLV_WR_BUF_DONE_W::new(self, 11) } #[doc = "Bit 12 - The clear bit for SPI_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_done(&mut self) -> TRANS_DONE_W { TRANS_DONE_W::new(self, 12) } #[doc = "Bit 13 - The clear bit for SPI_DMA_SEG_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_seg_trans_done(&mut self) -> DMA_SEG_TRANS_DONE_W { DMA_SEG_TRANS_DONE_W::new(self, 13) } #[doc = "Bit 14 - The clear bit for SPI_SEG_MAGIC_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn seg_magic_err(&mut self) -> SEG_MAGIC_ERR_W { SEG_MAGIC_ERR_W::new(self, 14) } #[doc = "Bit 15 - The clear bit for SPI_SLV_BUF_ADDR_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_buf_addr_err(&mut self) -> SLV_BUF_ADDR_ERR_W { SLV_BUF_ADDR_ERR_W::new(self, 15) } #[doc = "Bit 16 - The clear bit for SPI_SLV_CMD_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd_err(&mut self) -> SLV_CMD_ERR_W { SLV_CMD_ERR_W::new(self, 16) } #[doc = "Bit 17 - The clear bit for SPI_MST_RX_AFIFO_WFULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_rx_afifo_wfull_err(&mut self) -> MST_RX_AFIFO_WFULL_ERR_W { MST_RX_AFIFO_WFULL_ERR_W::new(self, 17) } #[doc = "Bit 18 - The clear bit for SPI_MST_TX_AFIFO_REMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_tx_afifo_rempty_err(&mut self) -> MST_TX_AFIFO_REMPTY_ERR_W { MST_TX_AFIFO_REMPTY_ERR_W::new(self, 18) } #[doc = "Bit 19 - The clear bit for SPI_APP2_INT interrupt."] #[inline(always)] - #[must_use] pub fn app2(&mut self) -> APP2_W { APP2_W::new(self, 19) } #[doc = "Bit 20 - The clear bit for SPI_APP1_INT interrupt."] #[inline(always)] - #[must_use] pub fn app1(&mut self) -> APP1_W { APP1_W::new(self, 20) } diff --git a/esp32s3/src/spi2/dma_int_ena.rs b/esp32s3/src/spi2/dma_int_ena.rs index 05ed98c335..f90d704190 100644 --- a/esp32s3/src/spi2/dma_int_ena.rs +++ b/esp32s3/src/spi2/dma_int_ena.rs @@ -224,127 +224,106 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The enable bit for SPI_DMA_INFIFO_FULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_infifo_full_err(&mut self) -> DMA_INFIFO_FULL_ERR_W { DMA_INFIFO_FULL_ERR_W::new(self, 0) } #[doc = "Bit 1 - The enable bit for SPI_DMA_OUTFIFO_EMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_outfifo_empty_err(&mut self) -> DMA_OUTFIFO_EMPTY_ERR_W { DMA_OUTFIFO_EMPTY_ERR_W::new(self, 1) } #[doc = "Bit 2 - The enable bit for SPI slave Ex_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_ex_qpi(&mut self) -> SLV_EX_QPI_W { SLV_EX_QPI_W::new(self, 2) } #[doc = "Bit 3 - The enable bit for SPI slave En_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_en_qpi(&mut self) -> SLV_EN_QPI_W { SLV_EN_QPI_W::new(self, 3) } #[doc = "Bit 4 - The enable bit for SPI slave CMD7 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd7(&mut self) -> SLV_CMD7_W { SLV_CMD7_W::new(self, 4) } #[doc = "Bit 5 - The enable bit for SPI slave CMD8 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd8(&mut self) -> SLV_CMD8_W { SLV_CMD8_W::new(self, 5) } #[doc = "Bit 6 - The enable bit for SPI slave CMD9 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd9(&mut self) -> SLV_CMD9_W { SLV_CMD9_W::new(self, 6) } #[doc = "Bit 7 - The enable bit for SPI slave CMDA interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmda(&mut self) -> SLV_CMDA_W { SLV_CMDA_W::new(self, 7) } #[doc = "Bit 8 - The enable bit for SPI_SLV_RD_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_dma_done(&mut self) -> SLV_RD_DMA_DONE_W { SLV_RD_DMA_DONE_W::new(self, 8) } #[doc = "Bit 9 - The enable bit for SPI_SLV_WR_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_dma_done(&mut self) -> SLV_WR_DMA_DONE_W { SLV_WR_DMA_DONE_W::new(self, 9) } #[doc = "Bit 10 - The enable bit for SPI_SLV_RD_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_buf_done(&mut self) -> SLV_RD_BUF_DONE_W { SLV_RD_BUF_DONE_W::new(self, 10) } #[doc = "Bit 11 - The enable bit for SPI_SLV_WR_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_buf_done(&mut self) -> SLV_WR_BUF_DONE_W { SLV_WR_BUF_DONE_W::new(self, 11) } #[doc = "Bit 12 - The enable bit for SPI_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_done(&mut self) -> TRANS_DONE_W { TRANS_DONE_W::new(self, 12) } #[doc = "Bit 13 - The enable bit for SPI_DMA_SEG_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_seg_trans_done(&mut self) -> DMA_SEG_TRANS_DONE_W { DMA_SEG_TRANS_DONE_W::new(self, 13) } #[doc = "Bit 14 - The enable bit for SPI_SEG_MAGIC_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn seg_magic_err(&mut self) -> SEG_MAGIC_ERR_W { SEG_MAGIC_ERR_W::new(self, 14) } #[doc = "Bit 15 - The enable bit for SPI_SLV_BUF_ADDR_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_buf_addr_err(&mut self) -> SLV_BUF_ADDR_ERR_W { SLV_BUF_ADDR_ERR_W::new(self, 15) } #[doc = "Bit 16 - The enable bit for SPI_SLV_CMD_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd_err(&mut self) -> SLV_CMD_ERR_W { SLV_CMD_ERR_W::new(self, 16) } #[doc = "Bit 17 - The enable bit for SPI_MST_RX_AFIFO_WFULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_rx_afifo_wfull_err(&mut self) -> MST_RX_AFIFO_WFULL_ERR_W { MST_RX_AFIFO_WFULL_ERR_W::new(self, 17) } #[doc = "Bit 18 - The enable bit for SPI_MST_TX_AFIFO_REMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_tx_afifo_rempty_err(&mut self) -> MST_TX_AFIFO_REMPTY_ERR_W { MST_TX_AFIFO_REMPTY_ERR_W::new(self, 18) } #[doc = "Bit 19 - The enable bit for SPI_APP2_INT interrupt."] #[inline(always)] - #[must_use] pub fn app2(&mut self) -> APP2_W { APP2_W::new(self, 19) } #[doc = "Bit 20 - The enable bit for SPI_APP1_INT interrupt."] #[inline(always)] - #[must_use] pub fn app1(&mut self) -> APP1_W { APP1_W::new(self, 20) } diff --git a/esp32s3/src/spi2/dma_int_raw.rs b/esp32s3/src/spi2/dma_int_raw.rs index 36e00d4a8f..5ad114f0ce 100644 --- a/esp32s3/src/spi2/dma_int_raw.rs +++ b/esp32s3/src/spi2/dma_int_raw.rs @@ -224,127 +224,106 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: The current data rate of DMA Rx is smaller than that of SPI, which will lose the receive data. 0: Others."] #[inline(always)] - #[must_use] pub fn dma_infifo_full_err(&mut self) -> DMA_INFIFO_FULL_ERR_W { DMA_INFIFO_FULL_ERR_W::new(self, 0) } #[doc = "Bit 1 - 1: The current data rate of DMA TX is smaller than that of SPI. SPI will stop in master mode and send out all 0 in slave mode. 0: Others."] #[inline(always)] - #[must_use] pub fn dma_outfifo_empty_err(&mut self) -> DMA_OUTFIFO_EMPTY_ERR_W { DMA_OUTFIFO_EMPTY_ERR_W::new(self, 1) } #[doc = "Bit 2 - The raw bit for SPI slave Ex_QPI interrupt. 1: SPI slave mode Ex_QPI transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_ex_qpi(&mut self) -> SLV_EX_QPI_W { SLV_EX_QPI_W::new(self, 2) } #[doc = "Bit 3 - The raw bit for SPI slave En_QPI interrupt. 1: SPI slave mode En_QPI transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_en_qpi(&mut self) -> SLV_EN_QPI_W { SLV_EN_QPI_W::new(self, 3) } #[doc = "Bit 4 - The raw bit for SPI slave CMD7 interrupt. 1: SPI slave mode CMD7 transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_cmd7(&mut self) -> SLV_CMD7_W { SLV_CMD7_W::new(self, 4) } #[doc = "Bit 5 - The raw bit for SPI slave CMD8 interrupt. 1: SPI slave mode CMD8 transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_cmd8(&mut self) -> SLV_CMD8_W { SLV_CMD8_W::new(self, 5) } #[doc = "Bit 6 - The raw bit for SPI slave CMD9 interrupt. 1: SPI slave mode CMD9 transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_cmd9(&mut self) -> SLV_CMD9_W { SLV_CMD9_W::new(self, 6) } #[doc = "Bit 7 - The raw bit for SPI slave CMDA interrupt. 1: SPI slave mode CMDA transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_cmda(&mut self) -> SLV_CMDA_W { SLV_CMDA_W::new(self, 7) } #[doc = "Bit 8 - The raw bit for SPI_SLV_RD_DMA_DONE_INT interrupt. 1: SPI slave mode Rd_DMA transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_rd_dma_done(&mut self) -> SLV_RD_DMA_DONE_W { SLV_RD_DMA_DONE_W::new(self, 8) } #[doc = "Bit 9 - The raw bit for SPI_SLV_WR_DMA_DONE_INT interrupt. 1: SPI slave mode Wr_DMA transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_wr_dma_done(&mut self) -> SLV_WR_DMA_DONE_W { SLV_WR_DMA_DONE_W::new(self, 9) } #[doc = "Bit 10 - The raw bit for SPI_SLV_RD_BUF_DONE_INT interrupt. 1: SPI slave mode Rd_BUF transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_rd_buf_done(&mut self) -> SLV_RD_BUF_DONE_W { SLV_RD_BUF_DONE_W::new(self, 10) } #[doc = "Bit 11 - The raw bit for SPI_SLV_WR_BUF_DONE_INT interrupt. 1: SPI slave mode Wr_BUF transmission is ended. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_wr_buf_done(&mut self) -> SLV_WR_BUF_DONE_W { SLV_WR_BUF_DONE_W::new(self, 11) } #[doc = "Bit 12 - The raw bit for SPI_TRANS_DONE_INT interrupt. 1: SPI master mode transmission is ended. 0: others."] #[inline(always)] - #[must_use] pub fn trans_done(&mut self) -> TRANS_DONE_W { TRANS_DONE_W::new(self, 12) } #[doc = "Bit 13 - The raw bit for SPI_DMA_SEG_TRANS_DONE_INT interrupt. 1: spi master DMA full-duplex/half-duplex seg-conf-trans ends or slave half-duplex seg-trans ends. And data has been pushed to corresponding memory. 0: seg-conf-trans or seg-trans is not ended or not occurred."] #[inline(always)] - #[must_use] pub fn dma_seg_trans_done(&mut self) -> DMA_SEG_TRANS_DONE_W { DMA_SEG_TRANS_DONE_W::new(self, 13) } #[doc = "Bit 14 - The raw bit for SPI_SEG_MAGIC_ERR_INT interrupt. 1: The magic value in CONF buffer is error in the DMA seg-conf-trans. 0: others."] #[inline(always)] - #[must_use] pub fn seg_magic_err(&mut self) -> SEG_MAGIC_ERR_W { SEG_MAGIC_ERR_W::new(self, 14) } #[doc = "Bit 15 - The raw bit for SPI_SLV_BUF_ADDR_ERR_INT interrupt. 1: The accessing data address of the current SPI slave mode CPU controlled FD, Wr_BUF or Rd_BUF transmission is bigger than 63. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_buf_addr_err(&mut self) -> SLV_BUF_ADDR_ERR_W { SLV_BUF_ADDR_ERR_W::new(self, 15) } #[doc = "Bit 16 - The raw bit for SPI_SLV_CMD_ERR_INT interrupt. 1: The slave command value in the current SPI slave HD mode transmission is not supported. 0: Others."] #[inline(always)] - #[must_use] pub fn slv_cmd_err(&mut self) -> SLV_CMD_ERR_W { SLV_CMD_ERR_W::new(self, 16) } #[doc = "Bit 17 - The raw bit for SPI_MST_RX_AFIFO_WFULL_ERR_INT interrupt. 1: There is a RX AFIFO write-full error when SPI inputs data in master mode. 0: Others."] #[inline(always)] - #[must_use] pub fn mst_rx_afifo_wfull_err(&mut self) -> MST_RX_AFIFO_WFULL_ERR_W { MST_RX_AFIFO_WFULL_ERR_W::new(self, 17) } #[doc = "Bit 18 - The raw bit for SPI_MST_TX_AFIFO_REMPTY_ERR_INT interrupt. 1: There is a TX BUF AFIFO read-empty error when SPI outputs data in master mode. 0: Others."] #[inline(always)] - #[must_use] pub fn mst_tx_afifo_rempty_err(&mut self) -> MST_TX_AFIFO_REMPTY_ERR_W { MST_TX_AFIFO_REMPTY_ERR_W::new(self, 18) } #[doc = "Bit 19 - The raw bit for SPI_APP2_INT interrupt. The value is only controlled by software."] #[inline(always)] - #[must_use] pub fn app2(&mut self) -> APP2_W { APP2_W::new(self, 19) } #[doc = "Bit 20 - The raw bit for SPI_APP1_INT interrupt. The value is only controlled by software."] #[inline(always)] - #[must_use] pub fn app1(&mut self) -> APP1_W { APP1_W::new(self, 20) } diff --git a/esp32s3/src/spi2/dma_int_set.rs b/esp32s3/src/spi2/dma_int_set.rs index 3da095f20a..aa2d02d1e4 100644 --- a/esp32s3/src/spi2/dma_int_set.rs +++ b/esp32s3/src/spi2/dma_int_set.rs @@ -51,7 +51,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - The software set bit for SPI_DMA_INFIFO_FULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_infifo_full_err_int_set( &mut self, ) -> DMA_INFIFO_FULL_ERR_INT_SET_W { @@ -59,7 +58,6 @@ impl W { } #[doc = "Bit 1 - The software set bit for SPI_DMA_OUTFIFO_EMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_outfifo_empty_err_int_set( &mut self, ) -> DMA_OUTFIFO_EMPTY_ERR_INT_SET_W { @@ -67,97 +65,81 @@ impl W { } #[doc = "Bit 2 - The software set bit for SPI slave Ex_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_ex_qpi_int_set(&mut self) -> SLV_EX_QPI_INT_SET_W { SLV_EX_QPI_INT_SET_W::new(self, 2) } #[doc = "Bit 3 - The software set bit for SPI slave En_QPI interrupt."] #[inline(always)] - #[must_use] pub fn slv_en_qpi_int_set(&mut self) -> SLV_EN_QPI_INT_SET_W { SLV_EN_QPI_INT_SET_W::new(self, 3) } #[doc = "Bit 4 - The software set bit for SPI slave CMD7 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd7_int_set(&mut self) -> SLV_CMD7_INT_SET_W { SLV_CMD7_INT_SET_W::new(self, 4) } #[doc = "Bit 5 - The software set bit for SPI slave CMD8 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd8_int_set(&mut self) -> SLV_CMD8_INT_SET_W { SLV_CMD8_INT_SET_W::new(self, 5) } #[doc = "Bit 6 - The software set bit for SPI slave CMD9 interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd9_int_set(&mut self) -> SLV_CMD9_INT_SET_W { SLV_CMD9_INT_SET_W::new(self, 6) } #[doc = "Bit 7 - The software set bit for SPI slave CMDA interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmda_int_set(&mut self) -> SLV_CMDA_INT_SET_W { SLV_CMDA_INT_SET_W::new(self, 7) } #[doc = "Bit 8 - The software set bit for SPI_SLV_RD_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_dma_done_int_set(&mut self) -> SLV_RD_DMA_DONE_INT_SET_W { SLV_RD_DMA_DONE_INT_SET_W::new(self, 8) } #[doc = "Bit 9 - The software set bit for SPI_SLV_WR_DMA_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_dma_done_int_set(&mut self) -> SLV_WR_DMA_DONE_INT_SET_W { SLV_WR_DMA_DONE_INT_SET_W::new(self, 9) } #[doc = "Bit 10 - The software set bit for SPI_SLV_RD_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_rd_buf_done_int_set(&mut self) -> SLV_RD_BUF_DONE_INT_SET_W { SLV_RD_BUF_DONE_INT_SET_W::new(self, 10) } #[doc = "Bit 11 - The software set bit for SPI_SLV_WR_BUF_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_wr_buf_done_int_set(&mut self) -> SLV_WR_BUF_DONE_INT_SET_W { SLV_WR_BUF_DONE_INT_SET_W::new(self, 11) } #[doc = "Bit 12 - The software set bit for SPI_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn trans_done_int_set(&mut self) -> TRANS_DONE_INT_SET_W { TRANS_DONE_INT_SET_W::new(self, 12) } #[doc = "Bit 13 - The software set bit for SPI_DMA_SEG_TRANS_DONE_INT interrupt."] #[inline(always)] - #[must_use] pub fn dma_seg_trans_done_int_set(&mut self) -> DMA_SEG_TRANS_DONE_INT_SET_W { DMA_SEG_TRANS_DONE_INT_SET_W::new(self, 13) } #[doc = "Bit 14 - The software set bit for SPI_SEG_MAGIC_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn seg_magic_err_int_set(&mut self) -> SEG_MAGIC_ERR_INT_SET_W { SEG_MAGIC_ERR_INT_SET_W::new(self, 14) } #[doc = "Bit 15 - The software set bit for SPI_SLV_BUF_ADDR_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_buf_addr_err_int_set(&mut self) -> SLV_BUF_ADDR_ERR_INT_SET_W { SLV_BUF_ADDR_ERR_INT_SET_W::new(self, 15) } #[doc = "Bit 16 - The software set bit for SPI_SLV_CMD_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn slv_cmd_err_int_set(&mut self) -> SLV_CMD_ERR_INT_SET_W { SLV_CMD_ERR_INT_SET_W::new(self, 16) } #[doc = "Bit 17 - The software set bit for SPI_MST_RX_AFIFO_WFULL_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_rx_afifo_wfull_err_int_set( &mut self, ) -> MST_RX_AFIFO_WFULL_ERR_INT_SET_W { @@ -165,7 +147,6 @@ impl W { } #[doc = "Bit 18 - The software set bit for SPI_MST_TX_AFIFO_REMPTY_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn mst_tx_afifo_rempty_err_int_set( &mut self, ) -> MST_TX_AFIFO_REMPTY_ERR_INT_SET_W { @@ -173,13 +154,11 @@ impl W { } #[doc = "Bit 19 - The software set bit for SPI_APP2_INT interrupt."] #[inline(always)] - #[must_use] pub fn app2_int_set(&mut self) -> APP2_INT_SET_W { APP2_INT_SET_W::new(self, 19) } #[doc = "Bit 20 - The software set bit for SPI_APP1_INT interrupt."] #[inline(always)] - #[must_use] pub fn app1_int_set(&mut self) -> APP1_INT_SET_W { APP1_INT_SET_W::new(self, 20) } diff --git a/esp32s3/src/spi2/dout_mode.rs b/esp32s3/src/spi2/dout_mode.rs index 86cbf0d32b..b2a344a9b5 100644 --- a/esp32s3/src/spi2/dout_mode.rs +++ b/esp32s3/src/spi2/dout_mode.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The output signal 0 is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout0_mode(&mut self) -> DOUT0_MODE_W { DOUT0_MODE_W::new(self, 0) } #[doc = "Bit 1 - The output signal 1 is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout1_mode(&mut self) -> DOUT1_MODE_W { DOUT1_MODE_W::new(self, 1) } #[doc = "Bit 2 - The output signal 2 is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout2_mode(&mut self) -> DOUT2_MODE_W { DOUT2_MODE_W::new(self, 2) } #[doc = "Bit 3 - The output signal 3 is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout3_mode(&mut self) -> DOUT3_MODE_W { DOUT3_MODE_W::new(self, 3) } #[doc = "Bit 4 - The output signal 4 is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout4_mode(&mut self) -> DOUT4_MODE_W { DOUT4_MODE_W::new(self, 4) } #[doc = "Bit 5 - The output signal 5 is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout5_mode(&mut self) -> DOUT5_MODE_W { DOUT5_MODE_W::new(self, 5) } #[doc = "Bit 6 - The output signal 6 is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout6_mode(&mut self) -> DOUT6_MODE_W { DOUT6_MODE_W::new(self, 6) } #[doc = "Bit 7 - The output signal 7 is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dout7_mode(&mut self) -> DOUT7_MODE_W { DOUT7_MODE_W::new(self, 7) } #[doc = "Bit 8 - The output signal SPI_DQS is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn d_dqs_mode(&mut self) -> D_DQS_MODE_W { D_DQS_MODE_W::new(self, 8) } diff --git a/esp32s3/src/spi2/misc.rs b/esp32s3/src/spi2/misc.rs index 34adcca723..1e26e6b99d 100644 --- a/esp32s3/src/spi2/misc.rs +++ b/esp32s3/src/spi2/misc.rs @@ -184,103 +184,86 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - SPI CS0 pin enable, 1: disable CS0, 0: spi_cs0 signal is from/to CS0 pin. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs0_dis(&mut self) -> CS0_DIS_W { CS0_DIS_W::new(self, 0) } #[doc = "Bit 1 - SPI CS1 pin enable, 1: disable CS1, 0: spi_cs1 signal is from/to CS1 pin. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs1_dis(&mut self) -> CS1_DIS_W { CS1_DIS_W::new(self, 1) } #[doc = "Bit 2 - SPI CS2 pin enable, 1: disable CS2, 0: spi_cs2 signal is from/to CS2 pin. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs2_dis(&mut self) -> CS2_DIS_W { CS2_DIS_W::new(self, 2) } #[doc = "Bit 3 - SPI CS3 pin enable, 1: disable CS3, 0: spi_cs3 signal is from/to CS3 pin. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs3_dis(&mut self) -> CS3_DIS_W { CS3_DIS_W::new(self, 3) } #[doc = "Bit 4 - SPI CS4 pin enable, 1: disable CS4, 0: spi_cs4 signal is from/to CS4 pin. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs4_dis(&mut self) -> CS4_DIS_W { CS4_DIS_W::new(self, 4) } #[doc = "Bit 5 - SPI CS5 pin enable, 1: disable CS5, 0: spi_cs5 signal is from/to CS5 pin. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs5_dis(&mut self) -> CS5_DIS_W { CS5_DIS_W::new(self, 5) } #[doc = "Bit 6 - 1: spi clk out disable, 0: spi clk out enable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn ck_dis(&mut self) -> CK_DIS_W { CK_DIS_W::new(self, 6) } #[doc = "Bits 7:12 - In the master mode the bits are the polarity of spi cs line, the value is equivalent to spi_cs ^ spi_master_cs_pol. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn master_cs_pol(&mut self) -> MASTER_CS_POL_W { MASTER_CS_POL_W::new(self, 7) } #[doc = "Bit 16 - 1: SPI master DTR mode is applied to SPI clk, data and spi_dqs. 0: SPI master DTR mode is only applied to spi_dqs. This bit should be used with bit 17/18/19."] #[inline(always)] - #[must_use] pub fn clk_data_dtr_en(&mut self) -> CLK_DATA_DTR_EN_W { CLK_DATA_DTR_EN_W::new(self, 16) } #[doc = "Bit 17 - 1: SPI clk and data of SPI_DOUT and SPI_DIN state are in DTR mode, including master 1/2/4/8-bm. 0: SPI clk and data of SPI_DOUT and SPI_DIN state are in STR mode. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn data_dtr_en(&mut self) -> DATA_DTR_EN_W { DATA_DTR_EN_W::new(self, 17) } #[doc = "Bit 18 - 1: SPI clk and data of SPI_SEND_ADDR state are in DTR mode, including master 1/2/4/8-bm. 0: SPI clk and data of SPI_SEND_ADDR state are in STR mode. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn addr_dtr_en(&mut self) -> ADDR_DTR_EN_W { ADDR_DTR_EN_W::new(self, 18) } #[doc = "Bit 19 - 1: SPI clk and data of SPI_SEND_CMD state are in DTR mode, including master 1/2/4/8-bm. 0: SPI clk and data of SPI_SEND_CMD state are in STR mode. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cmd_dtr_en(&mut self) -> CMD_DTR_EN_W { CMD_DTR_EN_W::new(self, 19) } #[doc = "Bit 23 - spi slave input cs polarity select. 1: inv 0: not change. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn slave_cs_pol(&mut self) -> SLAVE_CS_POL_W { SLAVE_CS_POL_W::new(self, 23) } #[doc = "Bit 24 - The default value of spi_dqs. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn dqs_idle_edge(&mut self) -> DQS_IDLE_EDGE_W { DQS_IDLE_EDGE_W::new(self, 24) } #[doc = "Bit 29 - 1: spi clk line is high when idle 0: spi clk line is low when idle. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn ck_idle_edge(&mut self) -> CK_IDLE_EDGE_W { CK_IDLE_EDGE_W::new(self, 29) } #[doc = "Bit 30 - spi cs line keep low when the bit is set. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_keep_active(&mut self) -> CS_KEEP_ACTIVE_W { CS_KEEP_ACTIVE_W::new(self, 30) } #[doc = "Bit 31 - 1: SPI quad input swap enable, swap FSPID with FSPIQ, swap FSPIWP with FSPIHD. 0: spi quad input swap disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn quad_din_pin_swap(&mut self) -> QUAD_DIN_PIN_SWAP_W { QUAD_DIN_PIN_SWAP_W::new(self, 31) } diff --git a/esp32s3/src/spi2/ms_dlen.rs b/esp32s3/src/spi2/ms_dlen.rs index 14a0b1bf7f..fab214224a 100644 --- a/esp32s3/src/spi2/ms_dlen.rs +++ b/esp32s3/src/spi2/ms_dlen.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:17 - The value of these bits is the configured SPI transmission data bit length in master mode DMA controlled transfer or CPU controlled transfer. The value is also the configured bit length in slave mode DMA RX controlled transfer. The register value shall be (bit_num-1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn ms_data_bitlen(&mut self) -> MS_DATA_BITLEN_W { MS_DATA_BITLEN_W::new(self, 0) } diff --git a/esp32s3/src/spi2/slave.rs b/esp32s3/src/spi2/slave.rs index 790884a738..ae7b3d4f66 100644 --- a/esp32s3/src/spi2/slave.rs +++ b/esp32s3/src/spi2/slave.rs @@ -116,67 +116,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - SPI clock mode bits. 0: SPI clock is off when CS inactive 1: SPI clock is delayed one cycle after CS inactive 2: SPI clock is delayed two cycles after CS inactive 3: SPI clock is alwasy on. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn clk_mode(&mut self) -> CLK_MODE_W { CLK_MODE_W::new(self, 0) } #[doc = "Bit 2 - {CPOL, CPHA},1: support spi clk mode 1 and 3, first edge output data B\\[0\\]/B\\[7\\]. 0: support spi clk mode 0 and 2, first edge output data B\\[1\\]/B\\[6\\]."] #[inline(always)] - #[must_use] pub fn clk_mode_13(&mut self) -> CLK_MODE_13_W { CLK_MODE_13_W::new(self, 2) } #[doc = "Bit 3 - It saves half a cycle when tsck is the same as rsck. 1: output data at rsck posedge 0: output data at tsck posedge"] #[inline(always)] - #[must_use] pub fn rsck_data_out(&mut self) -> RSCK_DATA_OUT_W { RSCK_DATA_OUT_W::new(self, 3) } #[doc = "Bit 8 - 1: SPI_SLV_DATA_BITLEN stores data bit length of master-read-slave data length in DMA controlled mode(Rd_DMA). 0: others"] #[inline(always)] - #[must_use] pub fn slv_rddma_bitlen_en(&mut self) -> SLV_RDDMA_BITLEN_EN_W { SLV_RDDMA_BITLEN_EN_W::new(self, 8) } #[doc = "Bit 9 - 1: SPI_SLV_DATA_BITLEN stores data bit length of master-write-to-slave data length in DMA controlled mode(Wr_DMA). 0: others"] #[inline(always)] - #[must_use] pub fn slv_wrdma_bitlen_en(&mut self) -> SLV_WRDMA_BITLEN_EN_W { SLV_WRDMA_BITLEN_EN_W::new(self, 9) } #[doc = "Bit 10 - 1: SPI_SLV_DATA_BITLEN stores data bit length of master-read-slave data length in CPU controlled mode(Rd_BUF). 0: others"] #[inline(always)] - #[must_use] pub fn slv_rdbuf_bitlen_en(&mut self) -> SLV_RDBUF_BITLEN_EN_W { SLV_RDBUF_BITLEN_EN_W::new(self, 10) } #[doc = "Bit 11 - 1: SPI_SLV_DATA_BITLEN stores data bit length of master-write-to-slave data length in CPU controlled mode(Wr_BUF). 0: others"] #[inline(always)] - #[must_use] pub fn slv_wrbuf_bitlen_en(&mut self) -> SLV_WRBUF_BITLEN_EN_W { SLV_WRBUF_BITLEN_EN_W::new(self, 11) } #[doc = "Bits 22:25 - The magic value of BM table in master DMA seg-trans."] #[inline(always)] - #[must_use] pub fn dma_seg_magic_value(&mut self) -> DMA_SEG_MAGIC_VALUE_W { DMA_SEG_MAGIC_VALUE_W::new(self, 22) } #[doc = "Bit 26 - Set SPI work mode. 1: slave mode 0: master mode."] #[inline(always)] - #[must_use] pub fn mode(&mut self) -> MODE_W { MODE_W::new(self, 26) } #[doc = "Bit 27 - Software reset enable, reset the spi clock line cs line and data lines. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn soft_reset(&mut self) -> SOFT_RESET_W { SOFT_RESET_W::new(self, 27) } #[doc = "Bit 28 - 1: Enable the DMA CONF phase of current seg-trans operation, which means seg-trans will start. 0: This is not seg-trans mode."] #[inline(always)] - #[must_use] pub fn usr_conf(&mut self) -> USR_CONF_W { USR_CONF_W::new(self, 28) } diff --git a/esp32s3/src/spi2/slave1.rs b/esp32s3/src/spi2/slave1.rs index 4e464a31b4..2408ff65a5 100644 --- a/esp32s3/src/spi2/slave1.rs +++ b/esp32s3/src/spi2/slave1.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:17 - The transferred data bit length in SPI slave FD and HD mode."] #[inline(always)] - #[must_use] pub fn slv_data_bitlen(&mut self) -> SLV_DATA_BITLEN_W { SLV_DATA_BITLEN_W::new(self, 0) } #[doc = "Bits 18:25 - In the slave mode it is the value of command."] #[inline(always)] - #[must_use] pub fn slv_last_command(&mut self) -> SLV_LAST_COMMAND_W { SLV_LAST_COMMAND_W::new(self, 18) } #[doc = "Bits 26:31 - In the slave mode it is the value of address."] #[inline(always)] - #[must_use] pub fn slv_last_addr(&mut self) -> SLV_LAST_ADDR_W { SLV_LAST_ADDR_W::new(self, 26) } diff --git a/esp32s3/src/spi2/user.rs b/esp32s3/src/spi2/user.rs index 3f4d00f5b9..666860f980 100644 --- a/esp32s3/src/spi2/user.rs +++ b/esp32s3/src/spi2/user.rs @@ -224,127 +224,106 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set the bit to enable full duplex communication. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn doutdin(&mut self) -> DOUTDIN_W { DOUTDIN_W::new(self, 0) } #[doc = "Bit 3 - Both for master mode and slave mode. 1: spi controller is in QPI mode. 0: others. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn qpi_mode(&mut self) -> QPI_MODE_W { QPI_MODE_W::new(self, 3) } #[doc = "Bit 4 - Just for master mode. 1: spi controller is in OPI mode (all in 8-b-m). 0: others. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn opi_mode(&mut self) -> OPI_MODE_W { OPI_MODE_W::new(self, 4) } #[doc = "Bit 5 - In the slave mode, this bit can be used to change the polarity of tsck. 0: tsck = spi_ck_i. 1:tsck = !spi_ck_i."] #[inline(always)] - #[must_use] pub fn tsck_i_edge(&mut self) -> TSCK_I_EDGE_W { TSCK_I_EDGE_W::new(self, 5) } #[doc = "Bit 6 - spi cs keep low when spi is in done phase. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_hold(&mut self) -> CS_HOLD_W { CS_HOLD_W::new(self, 6) } #[doc = "Bit 7 - spi cs is enable when spi is in prepare phase. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_setup(&mut self) -> CS_SETUP_W { CS_SETUP_W::new(self, 7) } #[doc = "Bit 8 - In the slave mode, this bit can be used to change the polarity of rsck. 0: rsck = !spi_ck_i. 1:rsck = spi_ck_i."] #[inline(always)] - #[must_use] pub fn rsck_i_edge(&mut self) -> RSCK_I_EDGE_W { RSCK_I_EDGE_W::new(self, 8) } #[doc = "Bit 9 - the bit combined with spi_mosi_delay_mode bits to set mosi signal delay mode. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn ck_out_edge(&mut self) -> CK_OUT_EDGE_W { CK_OUT_EDGE_W::new(self, 9) } #[doc = "Bit 12 - In the write operations read-data phase apply 2 signals. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fwrite_dual(&mut self) -> FWRITE_DUAL_W { FWRITE_DUAL_W::new(self, 12) } #[doc = "Bit 13 - In the write operations read-data phase apply 4 signals. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fwrite_quad(&mut self) -> FWRITE_QUAD_W { FWRITE_QUAD_W::new(self, 13) } #[doc = "Bit 14 - In the write operations read-data phase apply 8 signals. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn fwrite_oct(&mut self) -> FWRITE_OCT_W { FWRITE_OCT_W::new(self, 14) } #[doc = "Bit 15 - 1: Enable the DMA CONF phase of next seg-trans operation, which means seg-trans will continue. 0: The seg-trans will end after the current SPI seg-trans or this is not seg-trans mode. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_conf_nxt(&mut self) -> USR_CONF_NXT_W { USR_CONF_NXT_W::new(self, 15) } #[doc = "Bit 17 - Set the bit to enable 3-line half duplex communication mosi and miso signals share the same pin. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn sio(&mut self) -> SIO_W { SIO_W::new(self, 17) } #[doc = "Bit 24 - read-data phase only access to high-part of the buffer spi_w8~spi_w15. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_miso_highpart(&mut self) -> USR_MISO_HIGHPART_W { USR_MISO_HIGHPART_W::new(self, 24) } #[doc = "Bit 25 - write-data phase only access to high-part of the buffer spi_w8~spi_w15. 1: enable 0: disable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_mosi_highpart(&mut self) -> USR_MOSI_HIGHPART_W { USR_MOSI_HIGHPART_W::new(self, 25) } #[doc = "Bit 26 - spi clock is disable in dummy phase when the bit is enable. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_dummy_idle(&mut self) -> USR_DUMMY_IDLE_W { USR_DUMMY_IDLE_W::new(self, 26) } #[doc = "Bit 27 - This bit enable the write-data phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_mosi(&mut self) -> USR_MOSI_W { USR_MOSI_W::new(self, 27) } #[doc = "Bit 28 - This bit enable the read-data phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_miso(&mut self) -> USR_MISO_W { USR_MISO_W::new(self, 28) } #[doc = "Bit 29 - This bit enable the dummy phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_dummy(&mut self) -> USR_DUMMY_W { USR_DUMMY_W::new(self, 29) } #[doc = "Bit 30 - This bit enable the address phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_addr(&mut self) -> USR_ADDR_W { USR_ADDR_W::new(self, 30) } #[doc = "Bit 31 - This bit enable the command phase of an operation. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_command(&mut self) -> USR_COMMAND_W { USR_COMMAND_W::new(self, 31) } diff --git a/esp32s3/src/spi2/user1.rs b/esp32s3/src/spi2/user1.rs index 95f635fa29..ebf323bb54 100644 --- a/esp32s3/src/spi2/user1.rs +++ b/esp32s3/src/spi2/user1.rs @@ -64,31 +64,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - The length in spi_clk cycles of dummy phase. The register value shall be (cycle_num-1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_dummy_cyclelen(&mut self) -> USR_DUMMY_CYCLELEN_W { USR_DUMMY_CYCLELEN_W::new(self, 0) } #[doc = "Bit 16 - 1: SPI transfer is ended when SPI RX AFIFO wfull error is valid in GP-SPI master FD/HD-mode. 0: SPI transfer is not ended when SPI RX AFIFO wfull error is valid in GP-SPI master FD/HD-mode."] #[inline(always)] - #[must_use] pub fn mst_wfull_err_end_en(&mut self) -> MST_WFULL_ERR_END_EN_W { MST_WFULL_ERR_END_EN_W::new(self, 16) } #[doc = "Bits 17:21 - (cycles+1) of prepare phase by spi clock this bits are combined with spi_cs_setup bit. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_setup_time(&mut self) -> CS_SETUP_TIME_W { CS_SETUP_TIME_W::new(self, 17) } #[doc = "Bits 22:26 - delay cycles of cs pin by spi clock this bits are combined with spi_cs_hold bit. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn cs_hold_time(&mut self) -> CS_HOLD_TIME_W { CS_HOLD_TIME_W::new(self, 22) } #[doc = "Bits 27:31 - The length in bits of address phase. The register value shall be (bit_num-1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_addr_bitlen(&mut self) -> USR_ADDR_BITLEN_W { USR_ADDR_BITLEN_W::new(self, 27) } diff --git a/esp32s3/src/spi2/user2.rs b/esp32s3/src/spi2/user2.rs index df58aa38b9..3508800e72 100644 --- a/esp32s3/src/spi2/user2.rs +++ b/esp32s3/src/spi2/user2.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - The value of command. Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_command_value(&mut self) -> USR_COMMAND_VALUE_W { USR_COMMAND_VALUE_W::new(self, 0) } #[doc = "Bit 27 - 1: SPI transfer is ended when SPI TX AFIFO read empty error is valid in GP-SPI master FD/HD-mode. 0: SPI transfer is not ended when SPI TX AFIFO read empty error is valid in GP-SPI master FD/HD-mode."] #[inline(always)] - #[must_use] pub fn mst_rempty_err_end_en(&mut self) -> MST_REMPTY_ERR_END_EN_W { MST_REMPTY_ERR_END_EN_W::new(self, 27) } #[doc = "Bits 28:31 - The length in bits of command phase. The register value shall be (bit_num-1). Can be configured in CONF state."] #[inline(always)] - #[must_use] pub fn usr_command_bitlen(&mut self) -> USR_COMMAND_BITLEN_W { USR_COMMAND_BITLEN_W::new(self, 28) } diff --git a/esp32s3/src/spi2/w.rs b/esp32s3/src/spi2/w.rs index 938ceae002..dfd00d53e3 100644 --- a/esp32s3/src/spi2/w.rs +++ b/esp32s3/src/spi2/w.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - data buffer"] #[inline(always)] - #[must_use] pub fn buf(&mut self) -> BUF_W { BUF_W::new(self, 0) } diff --git a/esp32s3/src/system/bt_lpck_div_frac.rs b/esp32s3/src/system/bt_lpck_div_frac.rs index fb446cb206..9f1a0f4556 100644 --- a/esp32s3/src/system/bt_lpck_div_frac.rs +++ b/esp32s3/src/system/bt_lpck_div_frac.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - This field is lower power clock frequent division factor b"] #[inline(always)] - #[must_use] pub fn bt_lpck_div_b(&mut self) -> BT_LPCK_DIV_B_W { BT_LPCK_DIV_B_W::new(self, 0) } #[doc = "Bits 12:23 - This field is lower power clock frequent division factor a"] #[inline(always)] - #[must_use] pub fn bt_lpck_div_a(&mut self) -> BT_LPCK_DIV_A_W { BT_LPCK_DIV_A_W::new(self, 12) } #[doc = "Bit 24 - Set 1 to select rtc-slow clock as rtc low power clock"] #[inline(always)] - #[must_use] pub fn lpclk_sel_rtc_slow(&mut self) -> LPCLK_SEL_RTC_SLOW_W { LPCLK_SEL_RTC_SLOW_W::new(self, 24) } #[doc = "Bit 25 - Set 1 to select 8m clock as rtc low power clock"] #[inline(always)] - #[must_use] pub fn lpclk_sel_8m(&mut self) -> LPCLK_SEL_8M_W { LPCLK_SEL_8M_W::new(self, 25) } #[doc = "Bit 26 - Set 1 to select xtal clock as rtc low power clock"] #[inline(always)] - #[must_use] pub fn lpclk_sel_xtal(&mut self) -> LPCLK_SEL_XTAL_W { LPCLK_SEL_XTAL_W::new(self, 26) } #[doc = "Bit 27 - Set 1 to select xtal32k clock as low power clock"] #[inline(always)] - #[must_use] pub fn lpclk_sel_xtal32k(&mut self) -> LPCLK_SEL_XTAL32K_W { LPCLK_SEL_XTAL32K_W::new(self, 27) } #[doc = "Bit 28 - Set 1 to enable RTC low power clock"] #[inline(always)] - #[must_use] pub fn lpclk_rtc_en(&mut self) -> LPCLK_RTC_EN_W { LPCLK_RTC_EN_W::new(self, 28) } diff --git a/esp32s3/src/system/bt_lpck_div_int.rs b/esp32s3/src/system/bt_lpck_div_int.rs index b9cfad9e72..9d2f7e3ec0 100644 --- a/esp32s3/src/system/bt_lpck_div_int.rs +++ b/esp32s3/src/system/bt_lpck_div_int.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - This field is lower power clock frequent division factor"] #[inline(always)] - #[must_use] pub fn bt_lpck_div_num(&mut self) -> BT_LPCK_DIV_NUM_W { BT_LPCK_DIV_NUM_W::new(self, 0) } diff --git a/esp32s3/src/system/cache_control.rs b/esp32s3/src/system/cache_control.rs index 421bee011e..5f17e007b8 100644 --- a/esp32s3/src/system/cache_control.rs +++ b/esp32s3/src/system/cache_control.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable icache clock"] #[inline(always)] - #[must_use] pub fn icache_clk_on(&mut self) -> ICACHE_CLK_ON_W { ICACHE_CLK_ON_W::new(self, 0) } #[doc = "Bit 1 - Set 1 to let icache reset"] #[inline(always)] - #[must_use] pub fn icache_reset(&mut self) -> ICACHE_RESET_W { ICACHE_RESET_W::new(self, 1) } #[doc = "Bit 2 - Set 1 to enable dcache clock"] #[inline(always)] - #[must_use] pub fn dcache_clk_on(&mut self) -> DCACHE_CLK_ON_W { DCACHE_CLK_ON_W::new(self, 2) } #[doc = "Bit 3 - Set 1 to let dcache reset"] #[inline(always)] - #[must_use] pub fn dcache_reset(&mut self) -> DCACHE_RESET_W { DCACHE_RESET_W::new(self, 3) } diff --git a/esp32s3/src/system/clock_gate.rs b/esp32s3/src/system/clock_gate.rs index 6e4f99bd37..c562386a01 100644 --- a/esp32s3/src/system/clock_gate.rs +++ b/esp32s3/src/system/clock_gate.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32s3/src/system/comb_pvt_hvt_conf.rs b/esp32s3/src/system/comb_pvt_hvt_conf.rs index 9a1f0d3ad2..477bcfc3cc 100644 --- a/esp32s3/src/system/comb_pvt_hvt_conf.rs +++ b/esp32s3/src/system/comb_pvt_hvt_conf.rs @@ -36,19 +36,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn comb_path_len_hvt(&mut self) -> COMB_PATH_LEN_HVT_W { COMB_PATH_LEN_HVT_W::new(self, 0) } #[doc = "Bit 5 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn comb_err_cnt_clr_hvt(&mut self) -> COMB_ERR_CNT_CLR_HVT_W { COMB_ERR_CNT_CLR_HVT_W::new(self, 5) } #[doc = "Bit 6 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn comb_pvt_monitor_en_hvt(&mut self) -> COMB_PVT_MONITOR_EN_HVT_W { COMB_PVT_MONITOR_EN_HVT_W::new(self, 6) } diff --git a/esp32s3/src/system/comb_pvt_lvt_conf.rs b/esp32s3/src/system/comb_pvt_lvt_conf.rs index 01e6f41306..987e4583ee 100644 --- a/esp32s3/src/system/comb_pvt_lvt_conf.rs +++ b/esp32s3/src/system/comb_pvt_lvt_conf.rs @@ -36,19 +36,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn comb_path_len_lvt(&mut self) -> COMB_PATH_LEN_LVT_W { COMB_PATH_LEN_LVT_W::new(self, 0) } #[doc = "Bit 5 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn comb_err_cnt_clr_lvt(&mut self) -> COMB_ERR_CNT_CLR_LVT_W { COMB_ERR_CNT_CLR_LVT_W::new(self, 5) } #[doc = "Bit 6 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn comb_pvt_monitor_en_lvt(&mut self) -> COMB_PVT_MONITOR_EN_LVT_W { COMB_PVT_MONITOR_EN_LVT_W::new(self, 6) } diff --git a/esp32s3/src/system/comb_pvt_nvt_conf.rs b/esp32s3/src/system/comb_pvt_nvt_conf.rs index adee92c0b9..c7327664f4 100644 --- a/esp32s3/src/system/comb_pvt_nvt_conf.rs +++ b/esp32s3/src/system/comb_pvt_nvt_conf.rs @@ -36,19 +36,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:4 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn comb_path_len_nvt(&mut self) -> COMB_PATH_LEN_NVT_W { COMB_PATH_LEN_NVT_W::new(self, 0) } #[doc = "Bit 5 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn comb_err_cnt_clr_nvt(&mut self) -> COMB_ERR_CNT_CLR_NVT_W { COMB_ERR_CNT_CLR_NVT_W::new(self, 5) } #[doc = "Bit 6 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn comb_pvt_monitor_en_nvt(&mut self) -> COMB_PVT_MONITOR_EN_NVT_W { COMB_PVT_MONITOR_EN_NVT_W::new(self, 6) } diff --git a/esp32s3/src/system/core_1_control_0.rs b/esp32s3/src/system/core_1_control_0.rs index 33182b095d..be1a08cae7 100644 --- a/esp32s3/src/system/core_1_control_0.rs +++ b/esp32s3/src/system/core_1_control_0.rs @@ -47,13 +47,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to stall core1"] #[inline(always)] - #[must_use] pub fn control_core_1_runstall(&mut self) -> CONTROL_CORE_1_RUNSTALL_W { CONTROL_CORE_1_RUNSTALL_W::new(self, 0) } #[doc = "Bit 1 - Set 1 to open core1 clock"] #[inline(always)] - #[must_use] pub fn control_core_1_clkgate_en( &mut self, ) -> CONTROL_CORE_1_CLKGATE_EN_W { @@ -61,7 +59,6 @@ impl W { } #[doc = "Bit 2 - Set 1 to let core1 reset"] #[inline(always)] - #[must_use] pub fn control_core_1_reseting(&mut self) -> CONTROL_CORE_1_RESETING_W { CONTROL_CORE_1_RESETING_W::new(self, 2) } diff --git a/esp32s3/src/system/core_1_control_1.rs b/esp32s3/src/system/core_1_control_1.rs index 1c666bd83c..e37e9e506c 100644 --- a/esp32s3/src/system/core_1_control_1.rs +++ b/esp32s3/src/system/core_1_control_1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - it's only a R/W register, no function, software can write any value"] #[inline(always)] - #[must_use] pub fn control_core_1_message(&mut self) -> CONTROL_CORE_1_MESSAGE_W { CONTROL_CORE_1_MESSAGE_W::new(self, 0) } diff --git a/esp32s3/src/system/cpu_intr_from_cpu_0.rs b/esp32s3/src/system/cpu_intr_from_cpu_0.rs index 4127c13fa3..cc43da8346 100644 --- a/esp32s3/src/system/cpu_intr_from_cpu_0.rs +++ b/esp32s3/src/system/cpu_intr_from_cpu_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to generate cpu interrupt 0"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_0(&mut self) -> CPU_INTR_FROM_CPU_0_W { CPU_INTR_FROM_CPU_0_W::new(self, 0) } diff --git a/esp32s3/src/system/cpu_intr_from_cpu_1.rs b/esp32s3/src/system/cpu_intr_from_cpu_1.rs index b41a6a4bde..8e061ea58c 100644 --- a/esp32s3/src/system/cpu_intr_from_cpu_1.rs +++ b/esp32s3/src/system/cpu_intr_from_cpu_1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to generate cpu interrupt 1"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_1(&mut self) -> CPU_INTR_FROM_CPU_1_W { CPU_INTR_FROM_CPU_1_W::new(self, 0) } diff --git a/esp32s3/src/system/cpu_intr_from_cpu_2.rs b/esp32s3/src/system/cpu_intr_from_cpu_2.rs index 3dfaaee242..ef9f421fc3 100644 --- a/esp32s3/src/system/cpu_intr_from_cpu_2.rs +++ b/esp32s3/src/system/cpu_intr_from_cpu_2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to generate cpu interrupt 2"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_2(&mut self) -> CPU_INTR_FROM_CPU_2_W { CPU_INTR_FROM_CPU_2_W::new(self, 0) } diff --git a/esp32s3/src/system/cpu_intr_from_cpu_3.rs b/esp32s3/src/system/cpu_intr_from_cpu_3.rs index d999f59e27..6e1faa2500 100644 --- a/esp32s3/src/system/cpu_intr_from_cpu_3.rs +++ b/esp32s3/src/system/cpu_intr_from_cpu_3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to generate cpu interrupt 3"] #[inline(always)] - #[must_use] pub fn cpu_intr_from_cpu_3(&mut self) -> CPU_INTR_FROM_CPU_3_W { CPU_INTR_FROM_CPU_3_W::new(self, 0) } diff --git a/esp32s3/src/system/cpu_per_conf.rs b/esp32s3/src/system/cpu_per_conf.rs index b9e8f34b0f..d03c3829f4 100644 --- a/esp32s3/src/system/cpu_per_conf.rs +++ b/esp32s3/src/system/cpu_per_conf.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - This field used to sel cpu clock frequent."] #[inline(always)] - #[must_use] pub fn cpuperiod_sel(&mut self) -> CPUPERIOD_SEL_W { CPUPERIOD_SEL_W::new(self, 0) } #[doc = "Bit 2 - This field used to sel pll frequent."] #[inline(always)] - #[must_use] pub fn pll_freq_sel(&mut self) -> PLL_FREQ_SEL_W { PLL_FREQ_SEL_W::new(self, 2) } #[doc = "Bit 3 - Set 1 to force cpu_waiti_clk enable."] #[inline(always)] - #[must_use] pub fn cpu_wait_mode_force_on(&mut self) -> CPU_WAIT_MODE_FORCE_ON_W { CPU_WAIT_MODE_FORCE_ON_W::new(self, 3) } #[doc = "Bits 4:7 - This field used to set delay cycle when cpu enter waiti mode, after delay waiti_clk will close"] #[inline(always)] - #[must_use] pub fn cpu_waiti_delay_num(&mut self) -> CPU_WAITI_DELAY_NUM_W { CPU_WAITI_DELAY_NUM_W::new(self, 4) } diff --git a/esp32s3/src/system/cpu_peri_clk_en.rs b/esp32s3/src/system/cpu_peri_clk_en.rs index bf13a8d3c9..6711c1be7f 100644 --- a/esp32s3/src/system/cpu_peri_clk_en.rs +++ b/esp32s3/src/system/cpu_peri_clk_en.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 6 - Set 1 to open assist_debug module clock"] #[inline(always)] - #[must_use] pub fn clk_en_assist_debug(&mut self) -> CLK_EN_ASSIST_DEBUG_W { CLK_EN_ASSIST_DEBUG_W::new(self, 6) } #[doc = "Bit 7 - Set 1 to open dedicated_gpio module clk"] #[inline(always)] - #[must_use] pub fn clk_en_dedicated_gpio(&mut self) -> CLK_EN_DEDICATED_GPIO_W { CLK_EN_DEDICATED_GPIO_W::new(self, 7) } diff --git a/esp32s3/src/system/cpu_peri_rst_en.rs b/esp32s3/src/system/cpu_peri_rst_en.rs index 047df82979..db44d3a421 100644 --- a/esp32s3/src/system/cpu_peri_rst_en.rs +++ b/esp32s3/src/system/cpu_peri_rst_en.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 6 - Set 1 to let assist_debug module reset"] #[inline(always)] - #[must_use] pub fn rst_en_assist_debug(&mut self) -> RST_EN_ASSIST_DEBUG_W { RST_EN_ASSIST_DEBUG_W::new(self, 6) } #[doc = "Bit 7 - Set 1 to let dedicated_gpio module reset"] #[inline(always)] - #[must_use] pub fn rst_en_dedicated_gpio(&mut self) -> RST_EN_DEDICATED_GPIO_W { RST_EN_DEDICATED_GPIO_W::new(self, 7) } diff --git a/esp32s3/src/system/date.rs b/esp32s3/src/system/date.rs index f2c3fd0092..882a543d3f 100644 --- a/esp32s3/src/system/date.rs +++ b/esp32s3/src/system/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - version register"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s3/src/system/edma_ctrl.rs b/esp32s3/src/system/edma_ctrl.rs index 502b5767ce..6ea46f7988 100644 --- a/esp32s3/src/system/edma_ctrl.rs +++ b/esp32s3/src/system/edma_ctrl.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable EDMA clock."] #[inline(always)] - #[must_use] pub fn edma_clk_on(&mut self) -> EDMA_CLK_ON_W { EDMA_CLK_ON_W::new(self, 0) } #[doc = "Bit 1 - Set 1 to let EDMA reset"] #[inline(always)] - #[must_use] pub fn edma_reset(&mut self) -> EDMA_RESET_W { EDMA_RESET_W::new(self, 1) } diff --git a/esp32s3/src/system/external_device_encrypt_decrypt_control.rs b/esp32s3/src/system/external_device_encrypt_decrypt_control.rs index 25435a3dbe..96c30e8959 100644 --- a/esp32s3/src/system/external_device_encrypt_decrypt_control.rs +++ b/esp32s3/src/system/external_device_encrypt_decrypt_control.rs @@ -66,7 +66,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable the SPI manual encrypt."] #[inline(always)] - #[must_use] pub fn enable_spi_manual_encrypt( &mut self, ) -> ENABLE_SPI_MANUAL_ENCRYPT_W { @@ -74,7 +73,6 @@ impl W { } #[doc = "Bit 1 - Set 1 to enable download DB encrypt."] #[inline(always)] - #[must_use] pub fn enable_download_db_encrypt( &mut self, ) -> ENABLE_DOWNLOAD_DB_ENCRYPT_W { @@ -82,7 +80,6 @@ impl W { } #[doc = "Bit 2 - Set 1 to enable download G0CB decrypt"] #[inline(always)] - #[must_use] pub fn enable_download_g0cb_decrypt( &mut self, ) -> ENABLE_DOWNLOAD_G0CB_DECRYPT_W { @@ -90,7 +87,6 @@ impl W { } #[doc = "Bit 3 - Set 1 to enable download manual encrypt"] #[inline(always)] - #[must_use] pub fn enable_download_manual_encrypt( &mut self, ) -> ENABLE_DOWNLOAD_MANUAL_ENCRYPT_W { diff --git a/esp32s3/src/system/mem_pd_mask.rs b/esp32s3/src/system/mem_pd_mask.rs index 3904214821..5e24766a79 100644 --- a/esp32s3/src/system/mem_pd_mask.rs +++ b/esp32s3/src/system/mem_pd_mask.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to mask memory power down."] #[inline(always)] - #[must_use] pub fn lslp_mem_pd_mask(&mut self) -> LSLP_MEM_PD_MASK_W { LSLP_MEM_PD_MASK_W::new(self, 0) } diff --git a/esp32s3/src/system/mem_pvt.rs b/esp32s3/src/system/mem_pvt.rs index 01e2cbd7f4..63016446cd 100644 --- a/esp32s3/src/system/mem_pvt.rs +++ b/esp32s3/src/system/mem_pvt.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn mem_path_len(&mut self) -> MEM_PATH_LEN_W { MEM_PATH_LEN_W::new(self, 0) } #[doc = "Bit 4 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn mem_err_cnt_clr(&mut self) -> MEM_ERR_CNT_CLR_W { MEM_ERR_CNT_CLR_W::new(self, 4) } #[doc = "Bit 5 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn monitor_en(&mut self) -> MONITOR_EN_W { MONITOR_EN_W::new(self, 5) } #[doc = "Bits 22:23 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn mem_vt_sel(&mut self) -> MEM_VT_SEL_W { MEM_VT_SEL_W::new(self, 22) } diff --git a/esp32s3/src/system/perip_clk_en0.rs b/esp32s3/src/system/perip_clk_en0.rs index 6e15665560..5541c69cd2 100644 --- a/esp32s3/src/system/perip_clk_en0.rs +++ b/esp32s3/src/system/perip_clk_en0.rs @@ -334,193 +334,161 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable TIMERS clock"] #[inline(always)] - #[must_use] pub fn timers_clk_en(&mut self) -> TIMERS_CLK_EN_W { TIMERS_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 1 to enable SPI01 clock"] #[inline(always)] - #[must_use] pub fn spi01_clk_en(&mut self) -> SPI01_CLK_EN_W { SPI01_CLK_EN_W::new(self, 1) } #[doc = "Bit 2 - Set 1 to enable UART clock"] #[inline(always)] - #[must_use] pub fn uart_clk_en(&mut self) -> UART_CLK_EN_W { UART_CLK_EN_W::new(self, 2) } #[doc = "Bit 3 - Set 1 to enable WDG clock"] #[inline(always)] - #[must_use] pub fn wdg_clk_en(&mut self) -> WDG_CLK_EN_W { WDG_CLK_EN_W::new(self, 3) } #[doc = "Bit 4 - Set 1 to enable I2S0 clock"] #[inline(always)] - #[must_use] pub fn i2s0_clk_en(&mut self) -> I2S0_CLK_EN_W { I2S0_CLK_EN_W::new(self, 4) } #[doc = "Bit 5 - Set 1 to enable UART1 clock"] #[inline(always)] - #[must_use] pub fn uart1_clk_en(&mut self) -> UART1_CLK_EN_W { UART1_CLK_EN_W::new(self, 5) } #[doc = "Bit 6 - Set 1 to enable SPI2 clock"] #[inline(always)] - #[must_use] pub fn spi2_clk_en(&mut self) -> SPI2_CLK_EN_W { SPI2_CLK_EN_W::new(self, 6) } #[doc = "Bit 7 - Set 1 to enable I2C_EXT0 clock"] #[inline(always)] - #[must_use] pub fn i2c_ext0_clk_en(&mut self) -> I2C_EXT0_CLK_EN_W { I2C_EXT0_CLK_EN_W::new(self, 7) } #[doc = "Bit 8 - Set 1 to enable UHCI0 clock"] #[inline(always)] - #[must_use] pub fn uhci0_clk_en(&mut self) -> UHCI0_CLK_EN_W { UHCI0_CLK_EN_W::new(self, 8) } #[doc = "Bit 9 - Set 1 to enable RMT clock"] #[inline(always)] - #[must_use] pub fn rmt_clk_en(&mut self) -> RMT_CLK_EN_W { RMT_CLK_EN_W::new(self, 9) } #[doc = "Bit 10 - Set 1 to enable PCNT clock"] #[inline(always)] - #[must_use] pub fn pcnt_clk_en(&mut self) -> PCNT_CLK_EN_W { PCNT_CLK_EN_W::new(self, 10) } #[doc = "Bit 11 - Set 1 to enable LEDC clock"] #[inline(always)] - #[must_use] pub fn ledc_clk_en(&mut self) -> LEDC_CLK_EN_W { LEDC_CLK_EN_W::new(self, 11) } #[doc = "Bit 12 - Set 1 to enable UHCI1 clock"] #[inline(always)] - #[must_use] pub fn uhci1_clk_en(&mut self) -> UHCI1_CLK_EN_W { UHCI1_CLK_EN_W::new(self, 12) } #[doc = "Bit 13 - Set 1 to enable TIMERGROUP clock"] #[inline(always)] - #[must_use] pub fn timergroup_clk_en(&mut self) -> TIMERGROUP_CLK_EN_W { TIMERGROUP_CLK_EN_W::new(self, 13) } #[doc = "Bit 14 - Set 1 to enable EFUSE clock"] #[inline(always)] - #[must_use] pub fn efuse_clk_en(&mut self) -> EFUSE_CLK_EN_W { EFUSE_CLK_EN_W::new(self, 14) } #[doc = "Bit 15 - Set 1 to enable TIMERGROUP1 clock"] #[inline(always)] - #[must_use] pub fn timergroup1_clk_en(&mut self) -> TIMERGROUP1_CLK_EN_W { TIMERGROUP1_CLK_EN_W::new(self, 15) } #[doc = "Bit 16 - Set 1 to enable SPI3 clock"] #[inline(always)] - #[must_use] pub fn spi3_clk_en(&mut self) -> SPI3_CLK_EN_W { SPI3_CLK_EN_W::new(self, 16) } #[doc = "Bit 17 - Set 1 to enable PWM0 clock"] #[inline(always)] - #[must_use] pub fn pwm0_clk_en(&mut self) -> PWM0_CLK_EN_W { PWM0_CLK_EN_W::new(self, 17) } #[doc = "Bit 18 - Set 1 to enable I2C_EXT1 clock"] #[inline(always)] - #[must_use] pub fn i2c_ext1_clk_en(&mut self) -> I2C_EXT1_CLK_EN_W { I2C_EXT1_CLK_EN_W::new(self, 18) } #[doc = "Bit 19 - Set 1 to enable CAN clock"] #[inline(always)] - #[must_use] pub fn twai_clk_en(&mut self) -> TWAI_CLK_EN_W { TWAI_CLK_EN_W::new(self, 19) } #[doc = "Bit 20 - Set 1 to enable PWM1 clock"] #[inline(always)] - #[must_use] pub fn pwm1_clk_en(&mut self) -> PWM1_CLK_EN_W { PWM1_CLK_EN_W::new(self, 20) } #[doc = "Bit 21 - Set 1 to enable I2S1 clock"] #[inline(always)] - #[must_use] pub fn i2s1_clk_en(&mut self) -> I2S1_CLK_EN_W { I2S1_CLK_EN_W::new(self, 21) } #[doc = "Bit 22 - Set 1 to enable SPI2_DMA clock"] #[inline(always)] - #[must_use] pub fn spi2_dma_clk_en(&mut self) -> SPI2_DMA_CLK_EN_W { SPI2_DMA_CLK_EN_W::new(self, 22) } #[doc = "Bit 23 - Set 1 to enable USB clock"] #[inline(always)] - #[must_use] pub fn usb_clk_en(&mut self) -> USB_CLK_EN_W { USB_CLK_EN_W::new(self, 23) } #[doc = "Bit 24 - Set 1 to enable UART_MEM clock"] #[inline(always)] - #[must_use] pub fn uart_mem_clk_en(&mut self) -> UART_MEM_CLK_EN_W { UART_MEM_CLK_EN_W::new(self, 24) } #[doc = "Bit 25 - Set 1 to enable PWM2 clock"] #[inline(always)] - #[must_use] pub fn pwm2_clk_en(&mut self) -> PWM2_CLK_EN_W { PWM2_CLK_EN_W::new(self, 25) } #[doc = "Bit 26 - Set 1 to enable PWM3 clock"] #[inline(always)] - #[must_use] pub fn pwm3_clk_en(&mut self) -> PWM3_CLK_EN_W { PWM3_CLK_EN_W::new(self, 26) } #[doc = "Bit 27 - Set 1 to enable SPI4 clock"] #[inline(always)] - #[must_use] pub fn spi3_dma_clk_en(&mut self) -> SPI3_DMA_CLK_EN_W { SPI3_DMA_CLK_EN_W::new(self, 27) } #[doc = "Bit 28 - Set 1 to enable APB_SARADC clock"] #[inline(always)] - #[must_use] pub fn apb_saradc_clk_en(&mut self) -> APB_SARADC_CLK_EN_W { APB_SARADC_CLK_EN_W::new(self, 28) } #[doc = "Bit 29 - Set 1 to enable SYSTEMTIMER clock"] #[inline(always)] - #[must_use] pub fn systimer_clk_en(&mut self) -> SYSTIMER_CLK_EN_W { SYSTIMER_CLK_EN_W::new(self, 29) } #[doc = "Bit 30 - Set 1 to enable ADC2_ARB clock"] #[inline(always)] - #[must_use] pub fn adc2_arb_clk_en(&mut self) -> ADC2_ARB_CLK_EN_W { ADC2_ARB_CLK_EN_W::new(self, 30) } #[doc = "Bit 31 - Set 1 to enable SPI4 clock"] #[inline(always)] - #[must_use] pub fn spi4_clk_en(&mut self) -> SPI4_CLK_EN_W { SPI4_CLK_EN_W::new(self, 31) } diff --git a/esp32s3/src/system/perip_clk_en1.rs b/esp32s3/src/system/perip_clk_en1.rs index 67b09026d0..ae8734f78a 100644 --- a/esp32s3/src/system/perip_clk_en1.rs +++ b/esp32s3/src/system/perip_clk_en1.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to enable BACKUP clock"] #[inline(always)] - #[must_use] pub fn peri_backup_clk_en(&mut self) -> PERI_BACKUP_CLK_EN_W { PERI_BACKUP_CLK_EN_W::new(self, 0) } #[doc = "Bit 1 - Set 1 to enable AES clock"] #[inline(always)] - #[must_use] pub fn crypto_aes_clk_en(&mut self) -> CRYPTO_AES_CLK_EN_W { CRYPTO_AES_CLK_EN_W::new(self, 1) } #[doc = "Bit 2 - Set 1 to enable SHA clock"] #[inline(always)] - #[must_use] pub fn crypto_sha_clk_en(&mut self) -> CRYPTO_SHA_CLK_EN_W { CRYPTO_SHA_CLK_EN_W::new(self, 2) } #[doc = "Bit 3 - Set 1 to enable RSA clock"] #[inline(always)] - #[must_use] pub fn crypto_rsa_clk_en(&mut self) -> CRYPTO_RSA_CLK_EN_W { CRYPTO_RSA_CLK_EN_W::new(self, 3) } #[doc = "Bit 4 - Set 1 to enable DS clock"] #[inline(always)] - #[must_use] pub fn crypto_ds_clk_en(&mut self) -> CRYPTO_DS_CLK_EN_W { CRYPTO_DS_CLK_EN_W::new(self, 4) } #[doc = "Bit 5 - Set 1 to enable HMAC clock"] #[inline(always)] - #[must_use] pub fn crypto_hmac_clk_en(&mut self) -> CRYPTO_HMAC_CLK_EN_W { CRYPTO_HMAC_CLK_EN_W::new(self, 5) } #[doc = "Bit 6 - Set 1 to enable DMA clock"] #[inline(always)] - #[must_use] pub fn dma_clk_en(&mut self) -> DMA_CLK_EN_W { DMA_CLK_EN_W::new(self, 6) } #[doc = "Bit 7 - Set 1 to enable SDIO_HOST clock"] #[inline(always)] - #[must_use] pub fn sdio_host_clk_en(&mut self) -> SDIO_HOST_CLK_EN_W { SDIO_HOST_CLK_EN_W::new(self, 7) } #[doc = "Bit 8 - Set 1 to enable LCD_CAM clock"] #[inline(always)] - #[must_use] pub fn lcd_cam_clk_en(&mut self) -> LCD_CAM_CLK_EN_W { LCD_CAM_CLK_EN_W::new(self, 8) } #[doc = "Bit 9 - Set 1 to enable UART2 clock"] #[inline(always)] - #[must_use] pub fn uart2_clk_en(&mut self) -> UART2_CLK_EN_W { UART2_CLK_EN_W::new(self, 9) } #[doc = "Bit 10 - Set 1 to enable USB_DEVICE clock"] #[inline(always)] - #[must_use] pub fn usb_device_clk_en(&mut self) -> USB_DEVICE_CLK_EN_W { USB_DEVICE_CLK_EN_W::new(self, 10) } diff --git a/esp32s3/src/system/perip_rst_en0.rs b/esp32s3/src/system/perip_rst_en0.rs index 17eb55de59..34915c24b7 100644 --- a/esp32s3/src/system/perip_rst_en0.rs +++ b/esp32s3/src/system/perip_rst_en0.rs @@ -334,193 +334,161 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to let TIMERS reset"] #[inline(always)] - #[must_use] pub fn timers_rst(&mut self) -> TIMERS_RST_W { TIMERS_RST_W::new(self, 0) } #[doc = "Bit 1 - Set 1 to let SPI01 reset"] #[inline(always)] - #[must_use] pub fn spi01_rst(&mut self) -> SPI01_RST_W { SPI01_RST_W::new(self, 1) } #[doc = "Bit 2 - Set 1 to let UART reset"] #[inline(always)] - #[must_use] pub fn uart_rst(&mut self) -> UART_RST_W { UART_RST_W::new(self, 2) } #[doc = "Bit 3 - Set 1 to let WDG reset"] #[inline(always)] - #[must_use] pub fn wdg_rst(&mut self) -> WDG_RST_W { WDG_RST_W::new(self, 3) } #[doc = "Bit 4 - Set 1 to let I2S0 reset"] #[inline(always)] - #[must_use] pub fn i2s0_rst(&mut self) -> I2S0_RST_W { I2S0_RST_W::new(self, 4) } #[doc = "Bit 5 - Set 1 to let UART1 reset"] #[inline(always)] - #[must_use] pub fn uart1_rst(&mut self) -> UART1_RST_W { UART1_RST_W::new(self, 5) } #[doc = "Bit 6 - Set 1 to let SPI2 reset"] #[inline(always)] - #[must_use] pub fn spi2_rst(&mut self) -> SPI2_RST_W { SPI2_RST_W::new(self, 6) } #[doc = "Bit 7 - Set 1 to let I2C_EXT0 reset"] #[inline(always)] - #[must_use] pub fn i2c_ext0_rst(&mut self) -> I2C_EXT0_RST_W { I2C_EXT0_RST_W::new(self, 7) } #[doc = "Bit 8 - Set 1 to let UHCI0 reset"] #[inline(always)] - #[must_use] pub fn uhci0_rst(&mut self) -> UHCI0_RST_W { UHCI0_RST_W::new(self, 8) } #[doc = "Bit 9 - Set 1 to let RMT reset"] #[inline(always)] - #[must_use] pub fn rmt_rst(&mut self) -> RMT_RST_W { RMT_RST_W::new(self, 9) } #[doc = "Bit 10 - Set 1 to let PCNT reset"] #[inline(always)] - #[must_use] pub fn pcnt_rst(&mut self) -> PCNT_RST_W { PCNT_RST_W::new(self, 10) } #[doc = "Bit 11 - Set 1 to let LEDC reset"] #[inline(always)] - #[must_use] pub fn ledc_rst(&mut self) -> LEDC_RST_W { LEDC_RST_W::new(self, 11) } #[doc = "Bit 12 - Set 1 to let UHCI1 reset"] #[inline(always)] - #[must_use] pub fn uhci1_rst(&mut self) -> UHCI1_RST_W { UHCI1_RST_W::new(self, 12) } #[doc = "Bit 13 - Set 1 to let TIMERGROUP reset"] #[inline(always)] - #[must_use] pub fn timergroup_rst(&mut self) -> TIMERGROUP_RST_W { TIMERGROUP_RST_W::new(self, 13) } #[doc = "Bit 14 - Set 1 to let EFUSE reset"] #[inline(always)] - #[must_use] pub fn efuse_rst(&mut self) -> EFUSE_RST_W { EFUSE_RST_W::new(self, 14) } #[doc = "Bit 15 - Set 1 to let TIMERGROUP1 reset"] #[inline(always)] - #[must_use] pub fn timergroup1_rst(&mut self) -> TIMERGROUP1_RST_W { TIMERGROUP1_RST_W::new(self, 15) } #[doc = "Bit 16 - Set 1 to let SPI3 reset"] #[inline(always)] - #[must_use] pub fn spi3_rst(&mut self) -> SPI3_RST_W { SPI3_RST_W::new(self, 16) } #[doc = "Bit 17 - Set 1 to let PWM0 reset"] #[inline(always)] - #[must_use] pub fn pwm0_rst(&mut self) -> PWM0_RST_W { PWM0_RST_W::new(self, 17) } #[doc = "Bit 18 - Set 1 to let I2C_EXT1 reset"] #[inline(always)] - #[must_use] pub fn i2c_ext1_rst(&mut self) -> I2C_EXT1_RST_W { I2C_EXT1_RST_W::new(self, 18) } #[doc = "Bit 19 - Set 1 to let CAN reset"] #[inline(always)] - #[must_use] pub fn twai_rst(&mut self) -> TWAI_RST_W { TWAI_RST_W::new(self, 19) } #[doc = "Bit 20 - Set 1 to let PWM1 reset"] #[inline(always)] - #[must_use] pub fn pwm1_rst(&mut self) -> PWM1_RST_W { PWM1_RST_W::new(self, 20) } #[doc = "Bit 21 - Set 1 to let I2S1 reset"] #[inline(always)] - #[must_use] pub fn i2s1_rst(&mut self) -> I2S1_RST_W { I2S1_RST_W::new(self, 21) } #[doc = "Bit 22 - Set 1 to let SPI2 reset"] #[inline(always)] - #[must_use] pub fn spi2_dma_rst(&mut self) -> SPI2_DMA_RST_W { SPI2_DMA_RST_W::new(self, 22) } #[doc = "Bit 23 - Set 1 to let USB reset"] #[inline(always)] - #[must_use] pub fn usb_rst(&mut self) -> USB_RST_W { USB_RST_W::new(self, 23) } #[doc = "Bit 24 - Set 1 to let UART_MEM reset"] #[inline(always)] - #[must_use] pub fn uart_mem_rst(&mut self) -> UART_MEM_RST_W { UART_MEM_RST_W::new(self, 24) } #[doc = "Bit 25 - Set 1 to let PWM2 reset"] #[inline(always)] - #[must_use] pub fn pwm2_rst(&mut self) -> PWM2_RST_W { PWM2_RST_W::new(self, 25) } #[doc = "Bit 26 - Set 1 to let PWM3 reset"] #[inline(always)] - #[must_use] pub fn pwm3_rst(&mut self) -> PWM3_RST_W { PWM3_RST_W::new(self, 26) } #[doc = "Bit 27 - Set 1 to let SPI3 reset"] #[inline(always)] - #[must_use] pub fn spi3_dma_rst(&mut self) -> SPI3_DMA_RST_W { SPI3_DMA_RST_W::new(self, 27) } #[doc = "Bit 28 - Set 1 to let APB_SARADC reset"] #[inline(always)] - #[must_use] pub fn apb_saradc_rst(&mut self) -> APB_SARADC_RST_W { APB_SARADC_RST_W::new(self, 28) } #[doc = "Bit 29 - Set 1 to let SYSTIMER reset"] #[inline(always)] - #[must_use] pub fn systimer_rst(&mut self) -> SYSTIMER_RST_W { SYSTIMER_RST_W::new(self, 29) } #[doc = "Bit 30 - Set 1 to let ADC2_ARB reset"] #[inline(always)] - #[must_use] pub fn adc2_arb_rst(&mut self) -> ADC2_ARB_RST_W { ADC2_ARB_RST_W::new(self, 30) } #[doc = "Bit 31 - Set 1 to let SPI4 reset"] #[inline(always)] - #[must_use] pub fn spi4_rst(&mut self) -> SPI4_RST_W { SPI4_RST_W::new(self, 31) } diff --git a/esp32s3/src/system/perip_rst_en1.rs b/esp32s3/src/system/perip_rst_en1.rs index 04571b76cd..2b06da975e 100644 --- a/esp32s3/src/system/perip_rst_en1.rs +++ b/esp32s3/src/system/perip_rst_en1.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to let BACKUP reset"] #[inline(always)] - #[must_use] pub fn peri_backup_rst(&mut self) -> PERI_BACKUP_RST_W { PERI_BACKUP_RST_W::new(self, 0) } #[doc = "Bit 1 - Set 1 to let CRYPTO_AES reset"] #[inline(always)] - #[must_use] pub fn crypto_aes_rst(&mut self) -> CRYPTO_AES_RST_W { CRYPTO_AES_RST_W::new(self, 1) } #[doc = "Bit 2 - Set 1 to let CRYPTO_SHA reset"] #[inline(always)] - #[must_use] pub fn crypto_sha_rst(&mut self) -> CRYPTO_SHA_RST_W { CRYPTO_SHA_RST_W::new(self, 2) } #[doc = "Bit 3 - Set 1 to let CRYPTO_RSA reset"] #[inline(always)] - #[must_use] pub fn crypto_rsa_rst(&mut self) -> CRYPTO_RSA_RST_W { CRYPTO_RSA_RST_W::new(self, 3) } #[doc = "Bit 4 - Set 1 to let CRYPTO_DS reset"] #[inline(always)] - #[must_use] pub fn crypto_ds_rst(&mut self) -> CRYPTO_DS_RST_W { CRYPTO_DS_RST_W::new(self, 4) } #[doc = "Bit 5 - Set 1 to let CRYPTO_HMAC reset"] #[inline(always)] - #[must_use] pub fn crypto_hmac_rst(&mut self) -> CRYPTO_HMAC_RST_W { CRYPTO_HMAC_RST_W::new(self, 5) } #[doc = "Bit 6 - Set 1 to let DMA reset"] #[inline(always)] - #[must_use] pub fn dma_rst(&mut self) -> DMA_RST_W { DMA_RST_W::new(self, 6) } #[doc = "Bit 7 - Set 1 to let SDIO_HOST reset"] #[inline(always)] - #[must_use] pub fn sdio_host_rst(&mut self) -> SDIO_HOST_RST_W { SDIO_HOST_RST_W::new(self, 7) } #[doc = "Bit 8 - Set 1 to let LCD_CAM reset"] #[inline(always)] - #[must_use] pub fn lcd_cam_rst(&mut self) -> LCD_CAM_RST_W { LCD_CAM_RST_W::new(self, 8) } #[doc = "Bit 9 - Set 1 to let UART2 reset"] #[inline(always)] - #[must_use] pub fn uart2_rst(&mut self) -> UART2_RST_W { UART2_RST_W::new(self, 9) } #[doc = "Bit 10 - Set 1 to let USB_DEVICE reset"] #[inline(always)] - #[must_use] pub fn usb_device_rst(&mut self) -> USB_DEVICE_RST_W { USB_DEVICE_RST_W::new(self, 10) } diff --git a/esp32s3/src/system/redundant_eco_ctrl.rs b/esp32s3/src/system/redundant_eco_ctrl.rs index de1a40fb15..0b15bff7d8 100644 --- a/esp32s3/src/system/redundant_eco_ctrl.rs +++ b/esp32s3/src/system/redundant_eco_ctrl.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - ******* Description ***********"] #[inline(always)] - #[must_use] pub fn redundant_eco_drive(&mut self) -> REDUNDANT_ECO_DRIVE_W { REDUNDANT_ECO_DRIVE_W::new(self, 0) } diff --git a/esp32s3/src/system/rsa_pd_ctrl.rs b/esp32s3/src/system/rsa_pd_ctrl.rs index 751484e510..2400c433a8 100644 --- a/esp32s3/src/system/rsa_pd_ctrl.rs +++ b/esp32s3/src/system/rsa_pd_ctrl.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set 1 to power down RSA memory. This bit has the lowest priority.When Digital Signature occupies the RSA, this bit is invalid."] #[inline(always)] - #[must_use] pub fn rsa_mem_pd(&mut self) -> RSA_MEM_PD_W { RSA_MEM_PD_W::new(self, 0) } #[doc = "Bit 1 - Set 1 to force power up RSA memory, this bit has the second highest priority."] #[inline(always)] - #[must_use] pub fn rsa_mem_force_pu(&mut self) -> RSA_MEM_FORCE_PU_W { RSA_MEM_FORCE_PU_W::new(self, 1) } #[doc = "Bit 2 - Set 1 to force power down RSA memory,this bit has the highest priority."] #[inline(always)] - #[must_use] pub fn rsa_mem_force_pd(&mut self) -> RSA_MEM_FORCE_PD_W { RSA_MEM_FORCE_PD_W::new(self, 2) } diff --git a/esp32s3/src/system/rtc_fastmem_config.rs b/esp32s3/src/system/rtc_fastmem_config.rs index bd9a320e38..5b816e9037 100644 --- a/esp32s3/src/system/rtc_fastmem_config.rs +++ b/esp32s3/src/system/rtc_fastmem_config.rs @@ -52,19 +52,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 8 - Set 1 to start the CRC of RTC memory"] #[inline(always)] - #[must_use] pub fn rtc_mem_crc_start(&mut self) -> RTC_MEM_CRC_START_W { RTC_MEM_CRC_START_W::new(self, 8) } #[doc = "Bits 9:19 - This field is used to set address of RTC memory for CRC."] #[inline(always)] - #[must_use] pub fn rtc_mem_crc_addr(&mut self) -> RTC_MEM_CRC_ADDR_W { RTC_MEM_CRC_ADDR_W::new(self, 9) } #[doc = "Bits 20:30 - This field is used to set length of RTC memory for CRC based on start address."] #[inline(always)] - #[must_use] pub fn rtc_mem_crc_len(&mut self) -> RTC_MEM_CRC_LEN_W { RTC_MEM_CRC_LEN_W::new(self, 20) } diff --git a/esp32s3/src/system/sysclk_conf.rs b/esp32s3/src/system/sysclk_conf.rs index cb5952bf5c..8ff829486e 100644 --- a/esp32s3/src/system/sysclk_conf.rs +++ b/esp32s3/src/system/sysclk_conf.rs @@ -50,13 +50,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - This field is used to set the count of prescaler of XTAL_CLK."] #[inline(always)] - #[must_use] pub fn pre_div_cnt(&mut self) -> PRE_DIV_CNT_W { PRE_DIV_CNT_W::new(self, 0) } #[doc = "Bits 10:11 - This field is used to select soc clock."] #[inline(always)] - #[must_use] pub fn soc_clk_sel(&mut self) -> SOC_CLK_SEL_W { SOC_CLK_SEL_W::new(self, 10) } diff --git a/esp32s3/src/systimer/comp_load.rs b/esp32s3/src/systimer/comp_load.rs index 3194371312..65145bf616 100644 --- a/esp32s3/src/systimer/comp_load.rs +++ b/esp32s3/src/systimer/comp_load.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - timer comp0 sync enable signal"] #[inline(always)] - #[must_use] pub fn load(&mut self) -> LOAD_W { LOAD_W::new(self, 0) } diff --git a/esp32s3/src/systimer/conf.rs b/esp32s3/src/systimer/conf.rs index c1a033b0b5..ca76bf9c86 100644 --- a/esp32s3/src/systimer/conf.rs +++ b/esp32s3/src/systimer/conf.rs @@ -136,67 +136,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - systimer clock force on"] #[inline(always)] - #[must_use] pub fn systimer_clk_fo(&mut self) -> SYSTIMER_CLK_FO_W { SYSTIMER_CLK_FO_W::new(self, 0) } #[doc = "Bit 22 - target2 work enable"] #[inline(always)] - #[must_use] pub fn target2_work_en(&mut self) -> TARGET2_WORK_EN_W { TARGET2_WORK_EN_W::new(self, 22) } #[doc = "Bit 23 - target1 work enable"] #[inline(always)] - #[must_use] pub fn target1_work_en(&mut self) -> TARGET1_WORK_EN_W { TARGET1_WORK_EN_W::new(self, 23) } #[doc = "Bit 24 - target0 work enable"] #[inline(always)] - #[must_use] pub fn target0_work_en(&mut self) -> TARGET0_WORK_EN_W { TARGET0_WORK_EN_W::new(self, 24) } #[doc = "Bit 25 - If timer unit1 is stalled when core1 stalled"] #[inline(always)] - #[must_use] pub fn timer_unit1_core1_stall_en(&mut self) -> TIMER_UNIT1_CORE1_STALL_EN_W { TIMER_UNIT1_CORE1_STALL_EN_W::new(self, 25) } #[doc = "Bit 26 - If timer unit1 is stalled when core0 stalled"] #[inline(always)] - #[must_use] pub fn timer_unit1_core0_stall_en(&mut self) -> TIMER_UNIT1_CORE0_STALL_EN_W { TIMER_UNIT1_CORE0_STALL_EN_W::new(self, 26) } #[doc = "Bit 27 - If timer unit0 is stalled when core1 stalled"] #[inline(always)] - #[must_use] pub fn timer_unit0_core1_stall_en(&mut self) -> TIMER_UNIT0_CORE1_STALL_EN_W { TIMER_UNIT0_CORE1_STALL_EN_W::new(self, 27) } #[doc = "Bit 28 - If timer unit0 is stalled when core0 stalled"] #[inline(always)] - #[must_use] pub fn timer_unit0_core0_stall_en(&mut self) -> TIMER_UNIT0_CORE0_STALL_EN_W { TIMER_UNIT0_CORE0_STALL_EN_W::new(self, 28) } #[doc = "Bit 29 - timer unit1 work enable"] #[inline(always)] - #[must_use] pub fn timer_unit1_work_en(&mut self) -> TIMER_UNIT1_WORK_EN_W { TIMER_UNIT1_WORK_EN_W::new(self, 29) } #[doc = "Bit 30 - timer unit0 work enable"] #[inline(always)] - #[must_use] pub fn timer_unit0_work_en(&mut self) -> TIMER_UNIT0_WORK_EN_W { TIMER_UNIT0_WORK_EN_W::new(self, 30) } #[doc = "Bit 31 - register file clk gating"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32s3/src/systimer/date.rs b/esp32s3/src/systimer/date.rs index 85e0ef45c6..aec74d2d0c 100644 --- a/esp32s3/src/systimer/date.rs +++ b/esp32s3/src/systimer/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - systimer register version"] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s3/src/systimer/int_clr.rs b/esp32s3/src/systimer/int_clr.rs index 06260e5ca1..7a322a9bd7 100644 --- a/esp32s3/src/systimer/int_clr.rs +++ b/esp32s3/src/systimer/int_clr.rs @@ -13,7 +13,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TARGET0` field.
"] #[inline(always)] - #[must_use] pub fn target(&mut self, n: u8) -> TARGET_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -21,19 +20,16 @@ impl W { } #[doc = "Bit 0 - interupt0 clear"] #[inline(always)] - #[must_use] pub fn target0(&mut self) -> TARGET_W { TARGET_W::new(self, 0) } #[doc = "Bit 1 - interupt1 clear"] #[inline(always)] - #[must_use] pub fn target1(&mut self) -> TARGET_W { TARGET_W::new(self, 1) } #[doc = "Bit 2 - interupt2 clear"] #[inline(always)] - #[must_use] pub fn target2(&mut self) -> TARGET_W { TARGET_W::new(self, 2) } @@ -47,7 +43,7 @@ impl crate::RegisterSpec for INT_CLR_SPEC { impl crate::Writable for INT_CLR_SPEC { type Safety = crate::Unsafe; const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0x01; + const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0x07; } #[doc = "`reset()` method sets INT_CLR to value 0"] impl crate::Resettable for INT_CLR_SPEC { diff --git a/esp32s3/src/systimer/int_ena.rs b/esp32s3/src/systimer/int_ena.rs index 23d45402ff..82161f02c6 100644 --- a/esp32s3/src/systimer/int_ena.rs +++ b/esp32s3/src/systimer/int_ena.rs @@ -53,7 +53,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TARGET0` field.
"] #[inline(always)] - #[must_use] pub fn target(&mut self, n: u8) -> TARGET_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -61,19 +60,16 @@ impl W { } #[doc = "Bit 0 - interupt0 enable"] #[inline(always)] - #[must_use] pub fn target0(&mut self) -> TARGET_W { TARGET_W::new(self, 0) } #[doc = "Bit 1 - interupt1 enable"] #[inline(always)] - #[must_use] pub fn target1(&mut self) -> TARGET_W { TARGET_W::new(self, 1) } #[doc = "Bit 2 - interupt2 enable"] #[inline(always)] - #[must_use] pub fn target2(&mut self) -> TARGET_W { TARGET_W::new(self, 2) } diff --git a/esp32s3/src/systimer/int_raw.rs b/esp32s3/src/systimer/int_raw.rs index ad619febb9..017321fd87 100644 --- a/esp32s3/src/systimer/int_raw.rs +++ b/esp32s3/src/systimer/int_raw.rs @@ -53,7 +53,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `TARGET0` field.
"] #[inline(always)] - #[must_use] pub fn target(&mut self, n: u8) -> TARGET_W { #[allow(clippy::no_effect)] [(); 3][n as usize]; @@ -61,19 +60,16 @@ impl W { } #[doc = "Bit 0 - interupt0 raw"] #[inline(always)] - #[must_use] pub fn target0(&mut self) -> TARGET_W { TARGET_W::new(self, 0) } #[doc = "Bit 1 - interupt1 raw"] #[inline(always)] - #[must_use] pub fn target1(&mut self) -> TARGET_W { TARGET_W::new(self, 1) } #[doc = "Bit 2 - interupt2 raw"] #[inline(always)] - #[must_use] pub fn target2(&mut self) -> TARGET_W { TARGET_W::new(self, 2) } diff --git a/esp32s3/src/systimer/target_conf.rs b/esp32s3/src/systimer/target_conf.rs index ad465124d5..9d3229b115 100644 --- a/esp32s3/src/systimer/target_conf.rs +++ b/esp32s3/src/systimer/target_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:25 - target0 period"] #[inline(always)] - #[must_use] pub fn period(&mut self) -> PERIOD_W { PERIOD_W::new(self, 0) } #[doc = "Bit 30 - Set target0 to period mode"] #[inline(always)] - #[must_use] pub fn period_mode(&mut self) -> PERIOD_MODE_W { PERIOD_MODE_W::new(self, 30) } #[doc = "Bit 31 - select which unit to compare"] #[inline(always)] - #[must_use] pub fn timer_unit_sel(&mut self) -> TIMER_UNIT_SEL_W { TIMER_UNIT_SEL_W::new(self, 31) } diff --git a/esp32s3/src/systimer/trgt/hi.rs b/esp32s3/src/systimer/trgt/hi.rs index 36b8397729..c34aac1756 100644 --- a/esp32s3/src/systimer/trgt/hi.rs +++ b/esp32s3/src/systimer/trgt/hi.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - timer taget0 high 20 bits"] #[inline(always)] - #[must_use] pub fn hi(&mut self) -> HI_W { HI_W::new(self, 0) } diff --git a/esp32s3/src/systimer/trgt/lo.rs b/esp32s3/src/systimer/trgt/lo.rs index 4b9aba9b31..3ac0a3df6b 100644 --- a/esp32s3/src/systimer/trgt/lo.rs +++ b/esp32s3/src/systimer/trgt/lo.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - timer taget0 low 32 bits"] #[inline(always)] - #[must_use] pub fn lo(&mut self) -> LO_W { LO_W::new(self, 0) } diff --git a/esp32s3/src/systimer/unit_load.rs b/esp32s3/src/systimer/unit_load.rs index d7131aea74..94a217b2b0 100644 --- a/esp32s3/src/systimer/unit_load.rs +++ b/esp32s3/src/systimer/unit_load.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - timer unit0 sync enable signal"] #[inline(always)] - #[must_use] pub fn load(&mut self) -> LOAD_W { LOAD_W::new(self, 0) } diff --git a/esp32s3/src/systimer/unit_op.rs b/esp32s3/src/systimer/unit_op.rs index 89b506eb04..f4f5c65665 100644 --- a/esp32s3/src/systimer/unit_op.rs +++ b/esp32s3/src/systimer/unit_op.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 30 - update timer_unit0"] #[inline(always)] - #[must_use] pub fn update(&mut self) -> UPDATE_W { UPDATE_W::new(self, 30) } diff --git a/esp32s3/src/systimer/unitload/hi.rs b/esp32s3/src/systimer/unitload/hi.rs index 63e3720842..ff49b6d094 100644 --- a/esp32s3/src/systimer/unitload/hi.rs +++ b/esp32s3/src/systimer/unitload/hi.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:19 - timer unit0 load high 20 bits"] #[inline(always)] - #[must_use] pub fn load_hi(&mut self) -> LOAD_HI_W { LOAD_HI_W::new(self, 0) } diff --git a/esp32s3/src/systimer/unitload/lo.rs b/esp32s3/src/systimer/unitload/lo.rs index 9569a393b8..f8b0d7491b 100644 --- a/esp32s3/src/systimer/unitload/lo.rs +++ b/esp32s3/src/systimer/unitload/lo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - timer unit0 load low 32 bits"] #[inline(always)] - #[must_use] pub fn load_lo(&mut self) -> LOAD_LO_W { LOAD_LO_W::new(self, 0) } diff --git a/esp32s3/src/timg0/int_clr.rs b/esp32s3/src/timg0/int_clr.rs index 6fb011ddf5..afc4de795f 100644 --- a/esp32s3/src/timg0/int_clr.rs +++ b/esp32s3/src/timg0/int_clr.rs @@ -15,7 +15,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `T0` field.
"] #[inline(always)] - #[must_use] pub fn t(&mut self, n: u8) -> T_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -23,19 +22,16 @@ impl W { } #[doc = "Bit 0 - Set this bit to clear the TIMG_T0_INT interrupt."] #[inline(always)] - #[must_use] pub fn t0(&mut self) -> T_W { T_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the TIMG_T1_INT interrupt."] #[inline(always)] - #[must_use] pub fn t1(&mut self) -> T_W { T_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the TIMG_WDT_INT interrupt."] #[inline(always)] - #[must_use] pub fn wdt(&mut self) -> WDT_W { WDT_W::new(self, 2) } @@ -49,7 +45,7 @@ impl crate::RegisterSpec for INT_CLR_SPEC { impl crate::Writable for INT_CLR_SPEC { type Safety = crate::Unsafe; const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0; - const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0x05; + const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0x07; } #[doc = "`reset()` method sets INT_CLR to value 0"] impl crate::Resettable for INT_CLR_SPEC { diff --git a/esp32s3/src/timg0/int_ena.rs b/esp32s3/src/timg0/int_ena.rs index 66259c0741..be2a8a2375 100644 --- a/esp32s3/src/timg0/int_ena.rs +++ b/esp32s3/src/timg0/int_ena.rs @@ -57,7 +57,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `T0` field.
"] #[inline(always)] - #[must_use] pub fn t(&mut self, n: u8) -> T_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -65,19 +64,16 @@ impl W { } #[doc = "Bit 0 - The interrupt enable bit for the TIMG_T0_INT interrupt."] #[inline(always)] - #[must_use] pub fn t0(&mut self) -> T_W { T_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the TIMG_T1_INT interrupt."] #[inline(always)] - #[must_use] pub fn t1(&mut self) -> T_W { T_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the TIMG_WDT_INT interrupt."] #[inline(always)] - #[must_use] pub fn wdt(&mut self) -> WDT_W { WDT_W::new(self, 2) } diff --git a/esp32s3/src/timg0/int_raw.rs b/esp32s3/src/timg0/int_raw.rs index 683c104008..2b393eb10f 100644 --- a/esp32s3/src/timg0/int_raw.rs +++ b/esp32s3/src/timg0/int_raw.rs @@ -57,7 +57,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `T0` field.
"] #[inline(always)] - #[must_use] pub fn t(&mut self, n: u8) -> T_W { #[allow(clippy::no_effect)] [(); 2][n as usize]; @@ -65,19 +64,16 @@ impl W { } #[doc = "Bit 0 - The raw interrupt status bit for the TIMG_T0_INT interrupt."] #[inline(always)] - #[must_use] pub fn t0(&mut self) -> T_W { T_W::new(self, 0) } #[doc = "Bit 1 - The raw interrupt status bit for the TIMG_T1_INT interrupt."] #[inline(always)] - #[must_use] pub fn t1(&mut self) -> T_W { T_W::new(self, 1) } #[doc = "Bit 2 - The raw interrupt status bit for the TIMG_WDT_INT interrupt."] #[inline(always)] - #[must_use] pub fn wdt(&mut self) -> WDT_W { WDT_W::new(self, 2) } diff --git a/esp32s3/src/timg0/ntimers_date.rs b/esp32s3/src/timg0/ntimers_date.rs index e305804d75..58a9ebf0a2 100644 --- a/esp32s3/src/timg0/ntimers_date.rs +++ b/esp32s3/src/timg0/ntimers_date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:27 - Timer version control register"] #[inline(always)] - #[must_use] pub fn ntimers_date(&mut self) -> NTIMERS_DATE_W { NTIMERS_DATE_W::new(self, 0) } diff --git a/esp32s3/src/timg0/regclk.rs b/esp32s3/src/timg0/regclk.rs index 772094502d..72097b20a4 100644 --- a/esp32s3/src/timg0/regclk.rs +++ b/esp32s3/src/timg0/regclk.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - Register clock gate signal. 1: The clock for software to read and write registers is always on. 0: The clock for software to read and write registers only exits when the operation happens."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32s3/src/timg0/rtccalicfg.rs b/esp32s3/src/timg0/rtccalicfg.rs index 1e6331aac4..71db54275d 100644 --- a/esp32s3/src/timg0/rtccalicfg.rs +++ b/esp32s3/src/timg0/rtccalicfg.rs @@ -62,25 +62,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - Reserved"] #[inline(always)] - #[must_use] pub fn rtc_cali_start_cycling(&mut self) -> RTC_CALI_START_CYCLING_W { RTC_CALI_START_CYCLING_W::new(self, 12) } #[doc = "Bits 13:14 - 0:rtc slow clock. 1:clk_80m. 2:xtal_32k."] #[inline(always)] - #[must_use] pub fn rtc_cali_clk_sel(&mut self) -> RTC_CALI_CLK_SEL_W { RTC_CALI_CLK_SEL_W::new(self, 13) } #[doc = "Bits 16:30 - Reserved"] #[inline(always)] - #[must_use] pub fn rtc_cali_max(&mut self) -> RTC_CALI_MAX_W { RTC_CALI_MAX_W::new(self, 16) } #[doc = "Bit 31 - Reserved"] #[inline(always)] - #[must_use] pub fn rtc_cali_start(&mut self) -> RTC_CALI_START_W { RTC_CALI_START_W::new(self, 31) } diff --git a/esp32s3/src/timg0/rtccalicfg2.rs b/esp32s3/src/timg0/rtccalicfg2.rs index 9bcb8e66e3..c8e2a89280 100644 --- a/esp32s3/src/timg0/rtccalicfg2.rs +++ b/esp32s3/src/timg0/rtccalicfg2.rs @@ -42,13 +42,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 3:6 - Cycles that release calibration timeout reset"] #[inline(always)] - #[must_use] pub fn rtc_cali_timeout_rst_cnt(&mut self) -> RTC_CALI_TIMEOUT_RST_CNT_W { RTC_CALI_TIMEOUT_RST_CNT_W::new(self, 3) } #[doc = "Bits 7:31 - Threshold value for the RTC calibration timer. If the calibration timer's value exceeds this threshold, a timeout is triggered."] #[inline(always)] - #[must_use] pub fn rtc_cali_timeout_thres(&mut self) -> RTC_CALI_TIMEOUT_THRES_W { RTC_CALI_TIMEOUT_THRES_W::new(self, 7) } diff --git a/esp32s3/src/timg0/t/alarmhi.rs b/esp32s3/src/timg0/t/alarmhi.rs index 70bb1f899d..15a64592c0 100644 --- a/esp32s3/src/timg0/t/alarmhi.rs +++ b/esp32s3/src/timg0/t/alarmhi.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - Timer %s alarm trigger time-base counter value, high 22 bits."] #[inline(always)] - #[must_use] pub fn alarm_hi(&mut self) -> ALARM_HI_W { ALARM_HI_W::new(self, 0) } diff --git a/esp32s3/src/timg0/t/alarmlo.rs b/esp32s3/src/timg0/t/alarmlo.rs index ecc2e8aae8..392a0eb764 100644 --- a/esp32s3/src/timg0/t/alarmlo.rs +++ b/esp32s3/src/timg0/t/alarmlo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Timer %s alarm trigger time-base counter value, low 32 bits."] #[inline(always)] - #[must_use] pub fn alarm_lo(&mut self) -> ALARM_LO_W { ALARM_LO_W::new(self, 0) } diff --git a/esp32s3/src/timg0/t/config.rs b/esp32s3/src/timg0/t/config.rs index 937d5ad4b6..606f13cb21 100644 --- a/esp32s3/src/timg0/t/config.rs +++ b/esp32s3/src/timg0/t/config.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 9 - 1: Use XTAL_CLK as the source clock of timer group. 0: Use APB_CLK as the source clock of timer group."] #[inline(always)] - #[must_use] pub fn use_xtal(&mut self) -> USE_XTAL_W { USE_XTAL_W::new(self, 9) } #[doc = "Bit 10 - When set, the alarm is enabled. This bit is automatically cleared once an alarm occurs."] #[inline(always)] - #[must_use] pub fn alarm_en(&mut self) -> ALARM_EN_W { ALARM_EN_W::new(self, 10) } #[doc = "Bits 13:28 - Timer %s clock (T%s_clk) prescaler value."] #[inline(always)] - #[must_use] pub fn divider(&mut self) -> DIVIDER_W { DIVIDER_W::new(self, 13) } #[doc = "Bit 29 - When set, timer %s auto-reload at alarm is enabled."] #[inline(always)] - #[must_use] pub fn autoreload(&mut self) -> AUTORELOAD_W { AUTORELOAD_W::new(self, 29) } #[doc = "Bit 30 - When set, the timer %s time-base counter will increment every clock tick. When cleared, the timer %s time-base counter will decrement."] #[inline(always)] - #[must_use] pub fn increase(&mut self) -> INCREASE_W { INCREASE_W::new(self, 30) } #[doc = "Bit 31 - When set, the timer %s time-base counter is enabled."] #[inline(always)] - #[must_use] pub fn en(&mut self) -> EN_W { EN_W::new(self, 31) } diff --git a/esp32s3/src/timg0/t/load.rs b/esp32s3/src/timg0/t/load.rs index 69f5fbf50d..a1165066ec 100644 --- a/esp32s3/src/timg0/t/load.rs +++ b/esp32s3/src/timg0/t/load.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - Write any value to trigger a timer %s time-base counter reload."] #[inline(always)] - #[must_use] pub fn load(&mut self) -> LOAD_W { LOAD_W::new(self, 0) } diff --git a/esp32s3/src/timg0/t/loadhi.rs b/esp32s3/src/timg0/t/loadhi.rs index 8b4311cb8d..1f0e9e8016 100644 --- a/esp32s3/src/timg0/t/loadhi.rs +++ b/esp32s3/src/timg0/t/loadhi.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:21 - High 22 bits of the value that a reload will load onto timer %s time-base counter."] #[inline(always)] - #[must_use] pub fn load_hi(&mut self) -> LOAD_HI_W { LOAD_HI_W::new(self, 0) } diff --git a/esp32s3/src/timg0/t/loadlo.rs b/esp32s3/src/timg0/t/loadlo.rs index 31e71a74dc..b2d9c23dc7 100644 --- a/esp32s3/src/timg0/t/loadlo.rs +++ b/esp32s3/src/timg0/t/loadlo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Low 32 bits of the value that a reload will load onto timer %s time-base Counter."] #[inline(always)] - #[must_use] pub fn load_lo(&mut self) -> LOAD_LO_W { LOAD_LO_W::new(self, 0) } diff --git a/esp32s3/src/timg0/t/update.rs b/esp32s3/src/timg0/t/update.rs index fd82a22f6c..285c7475f3 100644 --- a/esp32s3/src/timg0/t/update.rs +++ b/esp32s3/src/timg0/t/update.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 31 - After writing 0 or 1 to TIMG_T%sUPDATE_REG, the counter value is latched."] #[inline(always)] - #[must_use] pub fn update(&mut self) -> UPDATE_W { UPDATE_W::new(self, 31) } diff --git a/esp32s3/src/timg0/wdtconfig0.rs b/esp32s3/src/timg0/wdtconfig0.rs index e02b025d8b..da6509aaf0 100644 --- a/esp32s3/src/timg0/wdtconfig0.rs +++ b/esp32s3/src/timg0/wdtconfig0.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 12 - Reserved"] #[inline(always)] - #[must_use] pub fn wdt_appcpu_reset_en(&mut self) -> WDT_APPCPU_RESET_EN_W { WDT_APPCPU_RESET_EN_W::new(self, 12) } #[doc = "Bit 13 - WDT reset CPU enable."] #[inline(always)] - #[must_use] pub fn wdt_procpu_reset_en(&mut self) -> WDT_PROCPU_RESET_EN_W { WDT_PROCPU_RESET_EN_W::new(self, 13) } #[doc = "Bit 14 - When set, Flash boot protection is enabled."] #[inline(always)] - #[must_use] pub fn wdt_flashboot_mod_en(&mut self) -> WDT_FLASHBOOT_MOD_EN_W { WDT_FLASHBOOT_MOD_EN_W::new(self, 14) } #[doc = "Bits 15:17 - System reset signal length selection. 0: 100 ns, 1: 200 ns, 2: 300 ns, 3: 400 ns, 4: 500 ns, 5: 800 ns, 6: 1.6 us, 7: 3.2 us."] #[inline(always)] - #[must_use] pub fn wdt_sys_reset_length(&mut self) -> WDT_SYS_RESET_LENGTH_W { WDT_SYS_RESET_LENGTH_W::new(self, 15) } #[doc = "Bits 18:20 - CPU reset signal length selection. 0: 100 ns, 1: 200 ns, 2: 300 ns, 3: 400 ns, 4: 500 ns, 5: 800 ns, 6: 1.6 us, 7: 3.2 us."] #[inline(always)] - #[must_use] pub fn wdt_cpu_reset_length(&mut self) -> WDT_CPU_RESET_LENGTH_W { WDT_CPU_RESET_LENGTH_W::new(self, 18) } #[doc = "Bits 23:24 - Stage 3 configuration. 0: off, 1: interrupt, 2: reset CPU, 3: reset system."] #[inline(always)] - #[must_use] pub fn wdt_stg3(&mut self) -> WDT_STG3_W { WDT_STG3_W::new(self, 23) } #[doc = "Bits 25:26 - Stage 2 configuration. 0: off, 1: interrupt, 2: reset CPU, 3: reset system."] #[inline(always)] - #[must_use] pub fn wdt_stg2(&mut self) -> WDT_STG2_W { WDT_STG2_W::new(self, 25) } #[doc = "Bits 27:28 - Stage 1 configuration. 0: off, 1: interrupt, 2: reset CPU, 3: reset system."] #[inline(always)] - #[must_use] pub fn wdt_stg1(&mut self) -> WDT_STG1_W { WDT_STG1_W::new(self, 27) } #[doc = "Bits 29:30 - Stage 0 configuration. 0: off, 1: interrupt, 2: reset CPU, 3: reset system."] #[inline(always)] - #[must_use] pub fn wdt_stg0(&mut self) -> WDT_STG0_W { WDT_STG0_W::new(self, 29) } #[doc = "Bit 31 - When set, MWDT is enabled."] #[inline(always)] - #[must_use] pub fn wdt_en(&mut self) -> WDT_EN_W { WDT_EN_W::new(self, 31) } diff --git a/esp32s3/src/timg0/wdtconfig1.rs b/esp32s3/src/timg0/wdtconfig1.rs index b9bf04381d..d88a70c2f1 100644 --- a/esp32s3/src/timg0/wdtconfig1.rs +++ b/esp32s3/src/timg0/wdtconfig1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 16:31 - MWDT clock prescaler value. MWDT clock period = 12.5 ns * TIMG_WDT_CLK_PRESCALE."] #[inline(always)] - #[must_use] pub fn wdt_clk_prescale(&mut self) -> WDT_CLK_PRESCALE_W { WDT_CLK_PRESCALE_W::new(self, 16) } diff --git a/esp32s3/src/timg0/wdtconfig2.rs b/esp32s3/src/timg0/wdtconfig2.rs index d7aedad9be..2eb13ae372 100644 --- a/esp32s3/src/timg0/wdtconfig2.rs +++ b/esp32s3/src/timg0/wdtconfig2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stage 0 timeout value, in MWDT clock cycles."] #[inline(always)] - #[must_use] pub fn wdt_stg0_hold(&mut self) -> WDT_STG0_HOLD_W { WDT_STG0_HOLD_W::new(self, 0) } diff --git a/esp32s3/src/timg0/wdtconfig3.rs b/esp32s3/src/timg0/wdtconfig3.rs index 3eb96b1e93..353e861c97 100644 --- a/esp32s3/src/timg0/wdtconfig3.rs +++ b/esp32s3/src/timg0/wdtconfig3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stage 1 timeout value, in MWDT clock cycles."] #[inline(always)] - #[must_use] pub fn wdt_stg1_hold(&mut self) -> WDT_STG1_HOLD_W { WDT_STG1_HOLD_W::new(self, 0) } diff --git a/esp32s3/src/timg0/wdtconfig4.rs b/esp32s3/src/timg0/wdtconfig4.rs index c522268b4c..adb732fce4 100644 --- a/esp32s3/src/timg0/wdtconfig4.rs +++ b/esp32s3/src/timg0/wdtconfig4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stage 2 timeout value, in MWDT clock cycles."] #[inline(always)] - #[must_use] pub fn wdt_stg2_hold(&mut self) -> WDT_STG2_HOLD_W { WDT_STG2_HOLD_W::new(self, 0) } diff --git a/esp32s3/src/timg0/wdtconfig5.rs b/esp32s3/src/timg0/wdtconfig5.rs index 61c6bfb1e1..a56ba8caeb 100644 --- a/esp32s3/src/timg0/wdtconfig5.rs +++ b/esp32s3/src/timg0/wdtconfig5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stage 3 timeout value, in MWDT clock cycles."] #[inline(always)] - #[must_use] pub fn wdt_stg3_hold(&mut self) -> WDT_STG3_HOLD_W { WDT_STG3_HOLD_W::new(self, 0) } diff --git a/esp32s3/src/timg0/wdtfeed.rs b/esp32s3/src/timg0/wdtfeed.rs index 5b3ae9b1dc..cd788cbe3e 100644 --- a/esp32s3/src/timg0/wdtfeed.rs +++ b/esp32s3/src/timg0/wdtfeed.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - Write any value to feed the MWDT. (WO)"] #[inline(always)] - #[must_use] pub fn wdt_feed(&mut self) -> WDT_FEED_W { WDT_FEED_W::new(self, 0) } diff --git a/esp32s3/src/timg0/wdtwprotect.rs b/esp32s3/src/timg0/wdtwprotect.rs index f3d13ea457..db5716850f 100644 --- a/esp32s3/src/timg0/wdtwprotect.rs +++ b/esp32s3/src/timg0/wdtwprotect.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - If the register contains a different value than its reset value, write protection is enabled."] #[inline(always)] - #[must_use] pub fn wdt_wkey(&mut self) -> WDT_WKEY_W { WDT_WKEY_W::new(self, 0) } diff --git a/esp32s3/src/twai0/bus_timing_0.rs b/esp32s3/src/twai0/bus_timing_0.rs index 3acc8fe70a..eaaf1004d0 100644 --- a/esp32s3/src/twai0/bus_timing_0.rs +++ b/esp32s3/src/twai0/bus_timing_0.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:13 - Baud Rate Prescaler, determines the frequency dividing ratio."] #[inline(always)] - #[must_use] pub fn baud_presc(&mut self) -> BAUD_PRESC_W { BAUD_PRESC_W::new(self, 0) } #[doc = "Bits 14:15 - Synchronization Jump Width (SJW), 1 \\verb+~+ 14 Tq wide."] #[inline(always)] - #[must_use] pub fn sync_jump_width(&mut self) -> SYNC_JUMP_WIDTH_W { SYNC_JUMP_WIDTH_W::new(self, 14) } diff --git a/esp32s3/src/twai0/bus_timing_1.rs b/esp32s3/src/twai0/bus_timing_1.rs index edd5e6575c..387797e218 100644 --- a/esp32s3/src/twai0/bus_timing_1.rs +++ b/esp32s3/src/twai0/bus_timing_1.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - The width of PBS1."] #[inline(always)] - #[must_use] pub fn time_seg1(&mut self) -> TIME_SEG1_W { TIME_SEG1_W::new(self, 0) } #[doc = "Bits 4:6 - The width of PBS2."] #[inline(always)] - #[must_use] pub fn time_seg2(&mut self) -> TIME_SEG2_W { TIME_SEG2_W::new(self, 4) } #[doc = "Bit 7 - The number of sample points. 0: the bus is sampled once; 1: the bus is sampled three times"] #[inline(always)] - #[must_use] pub fn time_samp(&mut self) -> TIME_SAMP_W { TIME_SAMP_W::new(self, 7) } diff --git a/esp32s3/src/twai0/clock_divider.rs b/esp32s3/src/twai0/clock_divider.rs index 604cc61578..7c8b88d257 100644 --- a/esp32s3/src/twai0/clock_divider.rs +++ b/esp32s3/src/twai0/clock_divider.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - These bits are used to configure frequency dividing coefficients of the external CLKOUT pin."] #[inline(always)] - #[must_use] pub fn cd(&mut self) -> CD_W { CD_W::new(self, 0) } #[doc = "Bit 8 - This bit can be configured under reset mode. 1: Disable the external CLKOUT pin; 0: Enable the external CLKOUT pin"] #[inline(always)] - #[must_use] pub fn clock_off(&mut self) -> CLOCK_OFF_W { CLOCK_OFF_W::new(self, 8) } diff --git a/esp32s3/src/twai0/cmd.rs b/esp32s3/src/twai0/cmd.rs index 9dec5c5851..7f85b98347 100644 --- a/esp32s3/src/twai0/cmd.rs +++ b/esp32s3/src/twai0/cmd.rs @@ -19,31 +19,26 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set the bit to 1 to allow the driving nodes start transmission."] #[inline(always)] - #[must_use] pub fn tx_req(&mut self) -> TX_REQ_W { TX_REQ_W::new(self, 0) } #[doc = "Bit 1 - Set the bit to 1 to cancel a pending transmission request."] #[inline(always)] - #[must_use] pub fn abort_tx(&mut self) -> ABORT_TX_W { ABORT_TX_W::new(self, 1) } #[doc = "Bit 2 - Set the bit to 1 to release the RX buffer."] #[inline(always)] - #[must_use] pub fn release_buf(&mut self) -> RELEASE_BUF_W { RELEASE_BUF_W::new(self, 2) } #[doc = "Bit 3 - Set the bit to 1 to clear the data overrun status bit."] #[inline(always)] - #[must_use] pub fn clr_overrun(&mut self) -> CLR_OVERRUN_W { CLR_OVERRUN_W::new(self, 3) } #[doc = "Bit 4 - Self reception request command. Set the bit to 1 to allow a message be transmitted and received simultaneously."] #[inline(always)] - #[must_use] pub fn self_rx_req(&mut self) -> SELF_RX_REQ_W { SELF_RX_REQ_W::new(self, 4) } diff --git a/esp32s3/src/twai0/data_0.rs b/esp32s3/src/twai0/data_0.rs index 9da54a5102..0d31668320 100644 --- a/esp32s3/src/twai0/data_0.rs +++ b/esp32s3/src/twai0/data_0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance code register 0 with R/W Permission. In operation mode, it stores the 0th byte information of the data to be transmitted under operating mode."] #[inline(always)] - #[must_use] pub fn tx_byte_0(&mut self) -> TX_BYTE_0_W { TX_BYTE_0_W::new(self, 0) } diff --git a/esp32s3/src/twai0/data_1.rs b/esp32s3/src/twai0/data_1.rs index 4fca4af070..b45d9c5e99 100644 --- a/esp32s3/src/twai0/data_1.rs +++ b/esp32s3/src/twai0/data_1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance code register 1 with R/W Permission. In operation mode, it stores the 1st byte information of the data to be transmitted under operating mode."] #[inline(always)] - #[must_use] pub fn tx_byte_1(&mut self) -> TX_BYTE_1_W { TX_BYTE_1_W::new(self, 0) } diff --git a/esp32s3/src/twai0/data_10.rs b/esp32s3/src/twai0/data_10.rs index d3a1181d8d..756d4b4006 100644 --- a/esp32s3/src/twai0/data_10.rs +++ b/esp32s3/src/twai0/data_10.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Stored the 10th byte information of the data to be transmitted under operating mode."] #[inline(always)] - #[must_use] pub fn tx_byte_10(&mut self) -> TX_BYTE_10_W { TX_BYTE_10_W::new(self, 0) } diff --git a/esp32s3/src/twai0/data_11.rs b/esp32s3/src/twai0/data_11.rs index a07192b292..80e75ecb8f 100644 --- a/esp32s3/src/twai0/data_11.rs +++ b/esp32s3/src/twai0/data_11.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Stored the 11th byte information of the data to be transmitted under operating mode."] #[inline(always)] - #[must_use] pub fn tx_byte_11(&mut self) -> TX_BYTE_11_W { TX_BYTE_11_W::new(self, 0) } diff --git a/esp32s3/src/twai0/data_12.rs b/esp32s3/src/twai0/data_12.rs index c6b1c97f51..20646c57b9 100644 --- a/esp32s3/src/twai0/data_12.rs +++ b/esp32s3/src/twai0/data_12.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Stored the 12th byte information of the data to be transmitted under operating mode."] #[inline(always)] - #[must_use] pub fn tx_byte_12(&mut self) -> TX_BYTE_12_W { TX_BYTE_12_W::new(self, 0) } diff --git a/esp32s3/src/twai0/data_2.rs b/esp32s3/src/twai0/data_2.rs index 3179326e84..0c7db88aa8 100644 --- a/esp32s3/src/twai0/data_2.rs +++ b/esp32s3/src/twai0/data_2.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance code register 2 with R/W Permission. In operation mode, it stores the 2nd byte information of the data to be transmitted under operating mode."] #[inline(always)] - #[must_use] pub fn tx_byte_2(&mut self) -> TX_BYTE_2_W { TX_BYTE_2_W::new(self, 0) } diff --git a/esp32s3/src/twai0/data_3.rs b/esp32s3/src/twai0/data_3.rs index b639a7b9bf..e7df26464e 100644 --- a/esp32s3/src/twai0/data_3.rs +++ b/esp32s3/src/twai0/data_3.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance code register 3 with R/W Permission. In operation mode, it stores the 3rd byte information of the data to be transmitted under operating mode."] #[inline(always)] - #[must_use] pub fn tx_byte_3(&mut self) -> TX_BYTE_3_W { TX_BYTE_3_W::new(self, 0) } diff --git a/esp32s3/src/twai0/data_4.rs b/esp32s3/src/twai0/data_4.rs index 4f473f3008..90ff6b33db 100644 --- a/esp32s3/src/twai0/data_4.rs +++ b/esp32s3/src/twai0/data_4.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance mask register 0 with R/W Permission. In operation mode, it stores the 4th byte information of the data to be transmitted under operating mode."] #[inline(always)] - #[must_use] pub fn tx_byte_4(&mut self) -> TX_BYTE_4_W { TX_BYTE_4_W::new(self, 0) } diff --git a/esp32s3/src/twai0/data_5.rs b/esp32s3/src/twai0/data_5.rs index c622efb8c4..7f9f1e5590 100644 --- a/esp32s3/src/twai0/data_5.rs +++ b/esp32s3/src/twai0/data_5.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance mask register 1 with R/W Permission. In operation mode, it stores the 5th byte information of the data to be transmitted under operating mode."] #[inline(always)] - #[must_use] pub fn tx_byte_5(&mut self) -> TX_BYTE_5_W { TX_BYTE_5_W::new(self, 0) } diff --git a/esp32s3/src/twai0/data_6.rs b/esp32s3/src/twai0/data_6.rs index 994c3b5883..73a15eebef 100644 --- a/esp32s3/src/twai0/data_6.rs +++ b/esp32s3/src/twai0/data_6.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance mask register 2 with R/W Permission. In operation mode, it stores the 6th byte information of the data to be transmitted under operating mode."] #[inline(always)] - #[must_use] pub fn tx_byte_6(&mut self) -> TX_BYTE_6_W { TX_BYTE_6_W::new(self, 0) } diff --git a/esp32s3/src/twai0/data_7.rs b/esp32s3/src/twai0/data_7.rs index 28c5d98ef9..c637a8aa7b 100644 --- a/esp32s3/src/twai0/data_7.rs +++ b/esp32s3/src/twai0/data_7.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - In reset mode, it is acceptance mask register 3 with R/W Permission. In operation mode, it stores the 7th byte information of the data to be transmitted under operating mode."] #[inline(always)] - #[must_use] pub fn tx_byte_7(&mut self) -> TX_BYTE_7_W { TX_BYTE_7_W::new(self, 0) } diff --git a/esp32s3/src/twai0/data_8.rs b/esp32s3/src/twai0/data_8.rs index 45046802aa..3d1d76d086 100644 --- a/esp32s3/src/twai0/data_8.rs +++ b/esp32s3/src/twai0/data_8.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Stored the 8th byte information of the data to be transmitted under operating mode."] #[inline(always)] - #[must_use] pub fn tx_byte_8(&mut self) -> TX_BYTE_8_W { TX_BYTE_8_W::new(self, 0) } diff --git a/esp32s3/src/twai0/data_9.rs b/esp32s3/src/twai0/data_9.rs index 09d489b574..7a9e68c967 100644 --- a/esp32s3/src/twai0/data_9.rs +++ b/esp32s3/src/twai0/data_9.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Stored the 9th byte information of the data to be transmitted under operating mode."] #[inline(always)] - #[must_use] pub fn tx_byte_9(&mut self) -> TX_BYTE_9_W { TX_BYTE_9_W::new(self, 0) } diff --git a/esp32s3/src/twai0/err_warning_limit.rs b/esp32s3/src/twai0/err_warning_limit.rs index 4a0c61301c..df1aa0b277 100644 --- a/esp32s3/src/twai0/err_warning_limit.rs +++ b/esp32s3/src/twai0/err_warning_limit.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Error warning threshold. In the case when any of a error counter value exceeds the threshold, or all the error counter values are below the threshold, an error warning interrupt will be triggered (given the enable signal is valid)."] #[inline(always)] - #[must_use] pub fn err_warning_limit(&mut self) -> ERR_WARNING_LIMIT_W { ERR_WARNING_LIMIT_W::new(self, 0) } diff --git a/esp32s3/src/twai0/int_ena.rs b/esp32s3/src/twai0/int_ena.rs index 3b6932558a..d3977eaa4a 100644 --- a/esp32s3/src/twai0/int_ena.rs +++ b/esp32s3/src/twai0/int_ena.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to 1 to enable receive interrupt."] #[inline(always)] - #[must_use] pub fn rx_int_ena(&mut self) -> RX_INT_ENA_W { RX_INT_ENA_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to 1 to enable transmit interrupt."] #[inline(always)] - #[must_use] pub fn tx_int_ena(&mut self) -> TX_INT_ENA_W { TX_INT_ENA_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to 1 to enable error warning interrupt."] #[inline(always)] - #[must_use] pub fn err_warn_int_ena(&mut self) -> ERR_WARN_INT_ENA_W { ERR_WARN_INT_ENA_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to 1 to enable data overrun interrupt."] #[inline(always)] - #[must_use] pub fn overrun_int_ena(&mut self) -> OVERRUN_INT_ENA_W { OVERRUN_INT_ENA_W::new(self, 3) } #[doc = "Bit 5 - Set this bit to 1 to enable error passive interrupt."] #[inline(always)] - #[must_use] pub fn err_passive_int_ena(&mut self) -> ERR_PASSIVE_INT_ENA_W { ERR_PASSIVE_INT_ENA_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to 1 to enable arbitration lost interrupt."] #[inline(always)] - #[must_use] pub fn arb_lost_int_ena(&mut self) -> ARB_LOST_INT_ENA_W { ARB_LOST_INT_ENA_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to 1 to enable error interrupt."] #[inline(always)] - #[must_use] pub fn bus_err_int_ena(&mut self) -> BUS_ERR_INT_ENA_W { BUS_ERR_INT_ENA_W::new(self, 7) } diff --git a/esp32s3/src/twai0/mode.rs b/esp32s3/src/twai0/mode.rs index ddce5ed67c..deebf1574c 100644 --- a/esp32s3/src/twai0/mode.rs +++ b/esp32s3/src/twai0/mode.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to configure the operating mode of the TWAI Controller. 1: Reset mode; 0: Operating mode."] #[inline(always)] - #[must_use] pub fn reset_mode(&mut self) -> RESET_MODE_W { RESET_MODE_W::new(self, 0) } #[doc = "Bit 1 - 1: Listen only mode. In this mode the nodes will only receive messages from the bus, without generating the acknowledge signal nor updating the RX error counter."] #[inline(always)] - #[must_use] pub fn listen_only_mode(&mut self) -> LISTEN_ONLY_MODE_W { LISTEN_ONLY_MODE_W::new(self, 1) } #[doc = "Bit 2 - 1: Self test mode. In this mode the TX nodes can perform a successful transmission without receiving the acknowledge signal. This mode is often used to test a single node with the self reception request command."] #[inline(always)] - #[must_use] pub fn self_test_mode(&mut self) -> SELF_TEST_MODE_W { SELF_TEST_MODE_W::new(self, 2) } #[doc = "Bit 3 - This bit is used to configure the filter mode. 0: Dual filter mode; 1: Single filter mode."] #[inline(always)] - #[must_use] pub fn rx_filter_mode(&mut self) -> RX_FILTER_MODE_W { RX_FILTER_MODE_W::new(self, 3) } diff --git a/esp32s3/src/twai0/rx_err_cnt.rs b/esp32s3/src/twai0/rx_err_cnt.rs index 0e7eedf680..b421e30b14 100644 --- a/esp32s3/src/twai0/rx_err_cnt.rs +++ b/esp32s3/src/twai0/rx_err_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - The RX error counter register, reflects value changes under reception status."] #[inline(always)] - #[must_use] pub fn rx_err_cnt(&mut self) -> RX_ERR_CNT_W { RX_ERR_CNT_W::new(self, 0) } diff --git a/esp32s3/src/twai0/tx_err_cnt.rs b/esp32s3/src/twai0/tx_err_cnt.rs index 64ad2e844e..59fbc2d773 100644 --- a/esp32s3/src/twai0/tx_err_cnt.rs +++ b/esp32s3/src/twai0/tx_err_cnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - The TX error counter register, reflects value changes under transmission status."] #[inline(always)] - #[must_use] pub fn tx_err_cnt(&mut self) -> TX_ERR_CNT_W { TX_ERR_CNT_W::new(self, 0) } diff --git a/esp32s3/src/uart0/at_cmd_char.rs b/esp32s3/src/uart0/at_cmd_char.rs index 63f615f0bb..0cf119bced 100644 --- a/esp32s3/src/uart0/at_cmd_char.rs +++ b/esp32s3/src/uart0/at_cmd_char.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register is used to configure the content of at_cmd char."] #[inline(always)] - #[must_use] pub fn at_cmd_char(&mut self) -> AT_CMD_CHAR_W { AT_CMD_CHAR_W::new(self, 0) } #[doc = "Bits 8:15 - This register is used to configure the num of continuous at_cmd chars received by receiver."] #[inline(always)] - #[must_use] pub fn char_num(&mut self) -> CHAR_NUM_W { CHAR_NUM_W::new(self, 8) } diff --git a/esp32s3/src/uart0/at_cmd_gaptout.rs b/esp32s3/src/uart0/at_cmd_gaptout.rs index aeb0fab8c1..db829b172f 100644 --- a/esp32s3/src/uart0/at_cmd_gaptout.rs +++ b/esp32s3/src/uart0/at_cmd_gaptout.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the duration time between the at_cmd chars."] #[inline(always)] - #[must_use] pub fn rx_gap_tout(&mut self) -> RX_GAP_TOUT_W { RX_GAP_TOUT_W::new(self, 0) } diff --git a/esp32s3/src/uart0/at_cmd_postcnt.rs b/esp32s3/src/uart0/at_cmd_postcnt.rs index a7bf7d2792..1ca8f0cec9 100644 --- a/esp32s3/src/uart0/at_cmd_postcnt.rs +++ b/esp32s3/src/uart0/at_cmd_postcnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the duration time between the last at_cmd and the next data."] #[inline(always)] - #[must_use] pub fn post_idle_num(&mut self) -> POST_IDLE_NUM_W { POST_IDLE_NUM_W::new(self, 0) } diff --git a/esp32s3/src/uart0/at_cmd_precnt.rs b/esp32s3/src/uart0/at_cmd_precnt.rs index c49f64f592..762bf3e056 100644 --- a/esp32s3/src/uart0/at_cmd_precnt.rs +++ b/esp32s3/src/uart0/at_cmd_precnt.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15 - This register is used to configure the idle duration time before the first at_cmd is received by receiver."] #[inline(always)] - #[must_use] pub fn pre_idle_num(&mut self) -> PRE_IDLE_NUM_W { PRE_IDLE_NUM_W::new(self, 0) } diff --git a/esp32s3/src/uart0/clk_conf.rs b/esp32s3/src/uart0/clk_conf.rs index 1debfdc150..26cf2e7774 100644 --- a/esp32s3/src/uart0/clk_conf.rs +++ b/esp32s3/src/uart0/clk_conf.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:5 - The denominator of the frequency divider factor."] #[inline(always)] - #[must_use] pub fn sclk_div_b(&mut self) -> SCLK_DIV_B_W { SCLK_DIV_B_W::new(self, 0) } #[doc = "Bits 6:11 - The numerator of the frequency divider factor."] #[inline(always)] - #[must_use] pub fn sclk_div_a(&mut self) -> SCLK_DIV_A_W { SCLK_DIV_A_W::new(self, 6) } #[doc = "Bits 12:19 - The integral part of the frequency divider factor."] #[inline(always)] - #[must_use] pub fn sclk_div_num(&mut self) -> SCLK_DIV_NUM_W { SCLK_DIV_NUM_W::new(self, 12) } #[doc = "Bits 20:21 - UART clock source select. 1: 80Mhz, 2: 8Mhz, 3: XTAL."] #[inline(always)] - #[must_use] pub fn sclk_sel(&mut self) -> SCLK_SEL_W { SCLK_SEL_W::new(self, 20) } #[doc = "Bit 22 - Set this bit to enable UART Tx/Rx clock."] #[inline(always)] - #[must_use] pub fn sclk_en(&mut self) -> SCLK_EN_W { SCLK_EN_W::new(self, 22) } #[doc = "Bit 23 - Write 1 then write 0 to this bit, reset UART Tx/Rx."] #[inline(always)] - #[must_use] pub fn rst_core(&mut self) -> RST_CORE_W { RST_CORE_W::new(self, 23) } #[doc = "Bit 24 - Set this bit to enable UART Tx clock."] #[inline(always)] - #[must_use] pub fn tx_sclk_en(&mut self) -> TX_SCLK_EN_W { TX_SCLK_EN_W::new(self, 24) } #[doc = "Bit 25 - Set this bit to enable UART Rx clock."] #[inline(always)] - #[must_use] pub fn rx_sclk_en(&mut self) -> RX_SCLK_EN_W { RX_SCLK_EN_W::new(self, 25) } #[doc = "Bit 26 - Write 1 then write 0 to this bit, reset UART Tx."] #[inline(always)] - #[must_use] pub fn tx_rst_core(&mut self) -> TX_RST_CORE_W { TX_RST_CORE_W::new(self, 26) } #[doc = "Bit 27 - Write 1 then write 0 to this bit, reset UART Rx."] #[inline(always)] - #[must_use] pub fn rx_rst_core(&mut self) -> RX_RST_CORE_W { RX_RST_CORE_W::new(self, 27) } diff --git a/esp32s3/src/uart0/clkdiv.rs b/esp32s3/src/uart0/clkdiv.rs index f5fb653112..4706e2101c 100644 --- a/esp32s3/src/uart0/clkdiv.rs +++ b/esp32s3/src/uart0/clkdiv.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11 - The integral part of the frequency divider factor."] #[inline(always)] - #[must_use] pub fn clkdiv(&mut self) -> CLKDIV_W { CLKDIV_W::new(self, 0) } #[doc = "Bits 20:23 - The decimal part of the frequency divider factor."] #[inline(always)] - #[must_use] pub fn frag(&mut self) -> FRAG_W { FRAG_W::new(self, 20) } diff --git a/esp32s3/src/uart0/conf0.rs b/esp32s3/src/uart0/conf0.rs index c32c153634..7b36703aba 100644 --- a/esp32s3/src/uart0/conf0.rs +++ b/esp32s3/src/uart0/conf0.rs @@ -284,163 +284,136 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This register is used to configure the parity check mode."] #[inline(always)] - #[must_use] pub fn parity(&mut self) -> PARITY_W { PARITY_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to enable uart parity check."] #[inline(always)] - #[must_use] pub fn parity_en(&mut self) -> PARITY_EN_W { PARITY_EN_W::new(self, 1) } #[doc = "Bits 2:3 - This register is used to set the length of data."] #[inline(always)] - #[must_use] pub fn bit_num(&mut self) -> BIT_NUM_W { BIT_NUM_W::new(self, 2) } #[doc = "Bits 4:5 - This register is used to set the length of stop bit."] #[inline(always)] - #[must_use] pub fn stop_bit_num(&mut self) -> STOP_BIT_NUM_W { STOP_BIT_NUM_W::new(self, 4) } #[doc = "Bit 6 - This register is used to configure the software rts signal which is used in software flow control."] #[inline(always)] - #[must_use] pub fn sw_rts(&mut self) -> SW_RTS_W { SW_RTS_W::new(self, 6) } #[doc = "Bit 7 - This register is used to configure the software dtr signal which is used in software flow control."] #[inline(always)] - #[must_use] pub fn sw_dtr(&mut self) -> SW_DTR_W { SW_DTR_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to enbale transmitter to send NULL when the process of sending data is done."] #[inline(always)] - #[must_use] pub fn txd_brk(&mut self) -> TXD_BRK_W { TXD_BRK_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to enable IrDA loopback mode."] #[inline(always)] - #[must_use] pub fn irda_dplx(&mut self) -> IRDA_DPLX_W { IRDA_DPLX_W::new(self, 9) } #[doc = "Bit 10 - This is the start enable bit for IrDA transmitter."] #[inline(always)] - #[must_use] pub fn irda_tx_en(&mut self) -> IRDA_TX_EN_W { IRDA_TX_EN_W::new(self, 10) } #[doc = "Bit 11 - 1'h1: The IrDA transmitter's 11th bit is the same as 10th bit. 1'h0: Set IrDA transmitter's 11th bit to 0."] #[inline(always)] - #[must_use] pub fn irda_wctl(&mut self) -> IRDA_WCTL_W { IRDA_WCTL_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to invert the level of IrDA transmitter."] #[inline(always)] - #[must_use] pub fn irda_tx_inv(&mut self) -> IRDA_TX_INV_W { IRDA_TX_INV_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to invert the level of IrDA receiver."] #[inline(always)] - #[must_use] pub fn irda_rx_inv(&mut self) -> IRDA_RX_INV_W { IRDA_RX_INV_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to enable uart loopback test mode."] #[inline(always)] - #[must_use] pub fn loopback(&mut self) -> LOOPBACK_W { LOOPBACK_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to enable flow control function for transmitter."] #[inline(always)] - #[must_use] pub fn tx_flow_en(&mut self) -> TX_FLOW_EN_W { TX_FLOW_EN_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to enable IrDA protocol."] #[inline(always)] - #[must_use] pub fn irda_en(&mut self) -> IRDA_EN_W { IRDA_EN_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to reset the uart receive-FIFO."] #[inline(always)] - #[must_use] pub fn rxfifo_rst(&mut self) -> RXFIFO_RST_W { RXFIFO_RST_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to reset the uart transmit-FIFO."] #[inline(always)] - #[must_use] pub fn txfifo_rst(&mut self) -> TXFIFO_RST_W { TXFIFO_RST_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to inverse the level value of uart rxd signal."] #[inline(always)] - #[must_use] pub fn rxd_inv(&mut self) -> RXD_INV_W { RXD_INV_W::new(self, 19) } #[doc = "Bit 20 - Set this bit to inverse the level value of uart cts signal."] #[inline(always)] - #[must_use] pub fn cts_inv(&mut self) -> CTS_INV_W { CTS_INV_W::new(self, 20) } #[doc = "Bit 21 - Set this bit to inverse the level value of uart dsr signal."] #[inline(always)] - #[must_use] pub fn dsr_inv(&mut self) -> DSR_INV_W { DSR_INV_W::new(self, 21) } #[doc = "Bit 22 - Set this bit to inverse the level value of uart txd signal."] #[inline(always)] - #[must_use] pub fn txd_inv(&mut self) -> TXD_INV_W { TXD_INV_W::new(self, 22) } #[doc = "Bit 23 - Set this bit to inverse the level value of uart rts signal."] #[inline(always)] - #[must_use] pub fn rts_inv(&mut self) -> RTS_INV_W { RTS_INV_W::new(self, 23) } #[doc = "Bit 24 - Set this bit to inverse the level value of uart dtr signal."] #[inline(always)] - #[must_use] pub fn dtr_inv(&mut self) -> DTR_INV_W { DTR_INV_W::new(self, 24) } #[doc = "Bit 25 - 1'h1: Force clock on for register. 1'h0: Support clock only when application writes registers."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 25) } #[doc = "Bit 26 - 1'h1: Receiver stops storing data into FIFO when data is wrong. 1'h0: Receiver stores the data even if the received data is wrong."] #[inline(always)] - #[must_use] pub fn err_wr_mask(&mut self) -> ERR_WR_MASK_W { ERR_WR_MASK_W::new(self, 26) } #[doc = "Bit 27 - This is the enable bit for detecting baudrate."] #[inline(always)] - #[must_use] pub fn autobaud_en(&mut self) -> AUTOBAUD_EN_W { AUTOBAUD_EN_W::new(self, 27) } #[doc = "Bit 28 - UART memory clock gate enable signal."] #[inline(always)] - #[must_use] pub fn mem_clk_en(&mut self) -> MEM_CLK_EN_W { MEM_CLK_EN_W::new(self, 28) } diff --git a/esp32s3/src/uart0/conf1.rs b/esp32s3/src/uart0/conf1.rs index f7d472376b..b473ec00ad 100644 --- a/esp32s3/src/uart0/conf1.rs +++ b/esp32s3/src/uart0/conf1.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - It will produce rxfifo_full_int interrupt when receiver receives more data than this register value."] #[inline(always)] - #[must_use] pub fn rxfifo_full_thrhd(&mut self) -> RXFIFO_FULL_THRHD_W { RXFIFO_FULL_THRHD_W::new(self, 0) } #[doc = "Bits 10:19 - It will produce txfifo_empty_int interrupt when the data amount in Tx-FIFO is less than this register value."] #[inline(always)] - #[must_use] pub fn txfifo_empty_thrhd(&mut self) -> TXFIFO_EMPTY_THRHD_W { TXFIFO_EMPTY_THRHD_W::new(self, 10) } #[doc = "Bit 20 - Disable UART Rx data overflow detect."] #[inline(always)] - #[must_use] pub fn dis_rx_dat_ovf(&mut self) -> DIS_RX_DAT_OVF_W { DIS_RX_DAT_OVF_W::new(self, 20) } #[doc = "Bit 21 - Set this bit to stop accumulating idle_cnt when hardware flow control works."] #[inline(always)] - #[must_use] pub fn rx_tout_flow_dis(&mut self) -> RX_TOUT_FLOW_DIS_W { RX_TOUT_FLOW_DIS_W::new(self, 21) } #[doc = "Bit 22 - This is the flow enable bit for UART receiver."] #[inline(always)] - #[must_use] pub fn rx_flow_en(&mut self) -> RX_FLOW_EN_W { RX_FLOW_EN_W::new(self, 22) } #[doc = "Bit 23 - This is the enble bit for uart receiver's timeout function."] #[inline(always)] - #[must_use] pub fn rx_tout_en(&mut self) -> RX_TOUT_EN_W { RX_TOUT_EN_W::new(self, 23) } diff --git a/esp32s3/src/uart0/date.rs b/esp32s3/src/uart0/date.rs index d89b3d5652..d17dca78f3 100644 --- a/esp32s3/src/uart0/date.rs +++ b/esp32s3/src/uart0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This is the version register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s3/src/uart0/fifo.rs b/esp32s3/src/uart0/fifo.rs index bbd207ed48..044c77bb18 100644 --- a/esp32s3/src/uart0/fifo.rs +++ b/esp32s3/src/uart0/fifo.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - UART 0 accesses FIFO via this register."] #[inline(always)] - #[must_use] pub fn rxfifo_rd_byte(&mut self) -> RXFIFO_RD_BYTE_W { RXFIFO_RD_BYTE_W::new(self, 0) } diff --git a/esp32s3/src/uart0/flow_conf.rs b/esp32s3/src/uart0/flow_conf.rs index ec52fe16d3..0e7f83e9dc 100644 --- a/esp32s3/src/uart0/flow_conf.rs +++ b/esp32s3/src/uart0/flow_conf.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable software flow control. It is used with register sw_xon or sw_xoff."] #[inline(always)] - #[must_use] pub fn sw_flow_con_en(&mut self) -> SW_FLOW_CON_EN_W { SW_FLOW_CON_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to remove flow control char from the received data."] #[inline(always)] - #[must_use] pub fn xonoff_del(&mut self) -> XONOFF_DEL_W { XONOFF_DEL_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to enable the transmitter to go on sending data."] #[inline(always)] - #[must_use] pub fn force_xon(&mut self) -> FORCE_XON_W { FORCE_XON_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to stop the transmitter from sending data."] #[inline(always)] - #[must_use] pub fn force_xoff(&mut self) -> FORCE_XOFF_W { FORCE_XOFF_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to send Xon char. It is cleared by hardware automatically."] #[inline(always)] - #[must_use] pub fn send_xon(&mut self) -> SEND_XON_W { SEND_XON_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to send Xoff char. It is cleared by hardware automatically."] #[inline(always)] - #[must_use] pub fn send_xoff(&mut self) -> SEND_XOFF_W { SEND_XOFF_W::new(self, 5) } diff --git a/esp32s3/src/uart0/id.rs b/esp32s3/src/uart0/id.rs index 2e3ddb5969..8466c988d9 100644 --- a/esp32s3/src/uart0/id.rs +++ b/esp32s3/src/uart0/id.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - This register is used to configure the uart_id."] #[inline(always)] - #[must_use] pub fn id(&mut self) -> ID_W { ID_W::new(self, 0) } #[doc = "Bit 30 - This bit used to select synchronize mode. 1: Registers are auto synchronized into UART Core clock and UART core should be keep the same with APB clock. 0: After configure registers, software needs to write 1 to UART_REG_UPDATE to synchronize registers."] #[inline(always)] - #[must_use] pub fn high_speed(&mut self) -> HIGH_SPEED_W { HIGH_SPEED_W::new(self, 30) } #[doc = "Bit 31 - Software write 1 would synchronize registers into UART Core clock domain and would be cleared by hardware after synchronization is done."] #[inline(always)] - #[must_use] pub fn reg_update(&mut self) -> REG_UPDATE_W { REG_UPDATE_W::new(self, 31) } diff --git a/esp32s3/src/uart0/idle_conf.rs b/esp32s3/src/uart0/idle_conf.rs index c3bcd173ed..3e67f9b8b2 100644 --- a/esp32s3/src/uart0/idle_conf.rs +++ b/esp32s3/src/uart0/idle_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - It will produce frame end signal when receiver takes more time to receive one byte data than this register value."] #[inline(always)] - #[must_use] pub fn rx_idle_thrhd(&mut self) -> RX_IDLE_THRHD_W { RX_IDLE_THRHD_W::new(self, 0) } #[doc = "Bits 10:19 - This register is used to configure the duration time between transfers."] #[inline(always)] - #[must_use] pub fn tx_idle_num(&mut self) -> TX_IDLE_NUM_W { TX_IDLE_NUM_W::new(self, 10) } diff --git a/esp32s3/src/uart0/int_clr.rs b/esp32s3/src/uart0/int_clr.rs index 83be88b461..40688a1933 100644 --- a/esp32s3/src/uart0/int_clr.rs +++ b/esp32s3/src/uart0/int_clr.rs @@ -49,121 +49,101 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the rxfifo_full_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_full(&mut self) -> RXFIFO_FULL_W { RXFIFO_FULL_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear txfifo_empty_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn txfifo_empty(&mut self) -> TXFIFO_EMPTY_W { TXFIFO_EMPTY_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear parity_err_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn parity_err(&mut self) -> PARITY_ERR_W { PARITY_ERR_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear frm_err_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn frm_err(&mut self) -> FRM_ERR_W { FRM_ERR_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear rxfifo_ovf_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the dsr_chg_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn dsr_chg(&mut self) -> DSR_CHG_W { DSR_CHG_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the cts_chg_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn cts_chg(&mut self) -> CTS_CHG_W { CTS_CHG_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the brk_det_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn brk_det(&mut self) -> BRK_DET_W { BRK_DET_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the rxfifo_tout_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rxfifo_tout(&mut self) -> RXFIFO_TOUT_W { RXFIFO_TOUT_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear the sw_xon_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn sw_xon(&mut self) -> SW_XON_W { SW_XON_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to clear the sw_xoff_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn sw_xoff(&mut self) -> SW_XOFF_W { SW_XOFF_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear the glitch_det_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 11) } #[doc = "Bit 12 - Set this bit to clear the tx_brk_done_int_raw interrupt.."] #[inline(always)] - #[must_use] pub fn tx_brk_done(&mut self) -> TX_BRK_DONE_W { TX_BRK_DONE_W::new(self, 12) } #[doc = "Bit 13 - Set this bit to clear the tx_brk_idle_done_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn tx_brk_idle_done(&mut self) -> TX_BRK_IDLE_DONE_W { TX_BRK_IDLE_DONE_W::new(self, 13) } #[doc = "Bit 14 - Set this bit to clear the tx_done_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 14) } #[doc = "Bit 15 - Set this bit to clear the rs485_parity_err_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rs485_parity_err(&mut self) -> RS485_PARITY_ERR_W { RS485_PARITY_ERR_W::new(self, 15) } #[doc = "Bit 16 - Set this bit to clear the rs485_frm_err_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rs485_frm_err(&mut self) -> RS485_FRM_ERR_W { RS485_FRM_ERR_W::new(self, 16) } #[doc = "Bit 17 - Set this bit to clear the rs485_clash_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn rs485_clash(&mut self) -> RS485_CLASH_W { RS485_CLASH_W::new(self, 17) } #[doc = "Bit 18 - Set this bit to clear the at_cmd_char_det_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn at_cmd_char_det(&mut self) -> AT_CMD_CHAR_DET_W { AT_CMD_CHAR_DET_W::new(self, 18) } #[doc = "Bit 19 - Set this bit to clear the uart_wakeup_int_raw interrupt."] #[inline(always)] - #[must_use] pub fn wakeup(&mut self) -> WAKEUP_W { WAKEUP_W::new(self, 19) } diff --git a/esp32s3/src/uart0/int_ena.rs b/esp32s3/src/uart0/int_ena.rs index dc9361e638..14f56e1ffd 100644 --- a/esp32s3/src/uart0/int_ena.rs +++ b/esp32s3/src/uart0/int_ena.rs @@ -214,121 +214,101 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This is the enable bit for rxfifo_full_int_st register."] #[inline(always)] - #[must_use] pub fn rxfifo_full(&mut self) -> RXFIFO_FULL_W { RXFIFO_FULL_W::new(self, 0) } #[doc = "Bit 1 - This is the enable bit for txfifo_empty_int_st register."] #[inline(always)] - #[must_use] pub fn txfifo_empty(&mut self) -> TXFIFO_EMPTY_W { TXFIFO_EMPTY_W::new(self, 1) } #[doc = "Bit 2 - This is the enable bit for parity_err_int_st register."] #[inline(always)] - #[must_use] pub fn parity_err(&mut self) -> PARITY_ERR_W { PARITY_ERR_W::new(self, 2) } #[doc = "Bit 3 - This is the enable bit for frm_err_int_st register."] #[inline(always)] - #[must_use] pub fn frm_err(&mut self) -> FRM_ERR_W { FRM_ERR_W::new(self, 3) } #[doc = "Bit 4 - This is the enable bit for rxfifo_ovf_int_st register."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - This is the enable bit for dsr_chg_int_st register."] #[inline(always)] - #[must_use] pub fn dsr_chg(&mut self) -> DSR_CHG_W { DSR_CHG_W::new(self, 5) } #[doc = "Bit 6 - This is the enable bit for cts_chg_int_st register."] #[inline(always)] - #[must_use] pub fn cts_chg(&mut self) -> CTS_CHG_W { CTS_CHG_W::new(self, 6) } #[doc = "Bit 7 - This is the enable bit for brk_det_int_st register."] #[inline(always)] - #[must_use] pub fn brk_det(&mut self) -> BRK_DET_W { BRK_DET_W::new(self, 7) } #[doc = "Bit 8 - This is the enable bit for rxfifo_tout_int_st register."] #[inline(always)] - #[must_use] pub fn rxfifo_tout(&mut self) -> RXFIFO_TOUT_W { RXFIFO_TOUT_W::new(self, 8) } #[doc = "Bit 9 - This is the enable bit for sw_xon_int_st register."] #[inline(always)] - #[must_use] pub fn sw_xon(&mut self) -> SW_XON_W { SW_XON_W::new(self, 9) } #[doc = "Bit 10 - This is the enable bit for sw_xoff_int_st register."] #[inline(always)] - #[must_use] pub fn sw_xoff(&mut self) -> SW_XOFF_W { SW_XOFF_W::new(self, 10) } #[doc = "Bit 11 - This is the enable bit for glitch_det_int_st register."] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 11) } #[doc = "Bit 12 - This is the enable bit for tx_brk_done_int_st register."] #[inline(always)] - #[must_use] pub fn tx_brk_done(&mut self) -> TX_BRK_DONE_W { TX_BRK_DONE_W::new(self, 12) } #[doc = "Bit 13 - This is the enable bit for tx_brk_idle_done_int_st register."] #[inline(always)] - #[must_use] pub fn tx_brk_idle_done(&mut self) -> TX_BRK_IDLE_DONE_W { TX_BRK_IDLE_DONE_W::new(self, 13) } #[doc = "Bit 14 - This is the enable bit for tx_done_int_st register."] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 14) } #[doc = "Bit 15 - This is the enable bit for rs485_parity_err_int_st register."] #[inline(always)] - #[must_use] pub fn rs485_parity_err(&mut self) -> RS485_PARITY_ERR_W { RS485_PARITY_ERR_W::new(self, 15) } #[doc = "Bit 16 - This is the enable bit for rs485_parity_err_int_st register."] #[inline(always)] - #[must_use] pub fn rs485_frm_err(&mut self) -> RS485_FRM_ERR_W { RS485_FRM_ERR_W::new(self, 16) } #[doc = "Bit 17 - This is the enable bit for rs485_clash_int_st register."] #[inline(always)] - #[must_use] pub fn rs485_clash(&mut self) -> RS485_CLASH_W { RS485_CLASH_W::new(self, 17) } #[doc = "Bit 18 - This is the enable bit for at_cmd_char_det_int_st register."] #[inline(always)] - #[must_use] pub fn at_cmd_char_det(&mut self) -> AT_CMD_CHAR_DET_W { AT_CMD_CHAR_DET_W::new(self, 18) } #[doc = "Bit 19 - This is the enable bit for uart_wakeup_int_st register."] #[inline(always)] - #[must_use] pub fn wakeup(&mut self) -> WAKEUP_W { WAKEUP_W::new(self, 19) } diff --git a/esp32s3/src/uart0/int_raw.rs b/esp32s3/src/uart0/int_raw.rs index b38649fad2..38182da48b 100644 --- a/esp32s3/src/uart0/int_raw.rs +++ b/esp32s3/src/uart0/int_raw.rs @@ -214,121 +214,101 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This interrupt raw bit turns to high level when receiver receives more data than what rxfifo_full_thrhd specifies."] #[inline(always)] - #[must_use] pub fn rxfifo_full(&mut self) -> RXFIFO_FULL_W { RXFIFO_FULL_W::new(self, 0) } #[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 ."] #[inline(always)] - #[must_use] pub fn txfifo_empty(&mut self) -> TXFIFO_EMPTY_W { TXFIFO_EMPTY_W::new(self, 1) } #[doc = "Bit 2 - This interrupt raw bit turns to high level when receiver detects a parity error in the data."] #[inline(always)] - #[must_use] pub fn parity_err(&mut self) -> PARITY_ERR_W { PARITY_ERR_W::new(self, 2) } #[doc = "Bit 3 - This interrupt raw bit turns to high level when receiver detects a data frame error ."] #[inline(always)] - #[must_use] pub fn frm_err(&mut self) -> FRM_ERR_W { FRM_ERR_W::new(self, 3) } #[doc = "Bit 4 - This interrupt raw bit turns to high level when receiver receives more data than the FIFO can store."] #[inline(always)] - #[must_use] pub fn rxfifo_ovf(&mut self) -> RXFIFO_OVF_W { RXFIFO_OVF_W::new(self, 4) } #[doc = "Bit 5 - This interrupt raw bit turns to high level when receiver detects the edge change of DSRn signal."] #[inline(always)] - #[must_use] pub fn dsr_chg(&mut self) -> DSR_CHG_W { DSR_CHG_W::new(self, 5) } #[doc = "Bit 6 - This interrupt raw bit turns to high level when receiver detects the edge change of CTSn signal."] #[inline(always)] - #[must_use] pub fn cts_chg(&mut self) -> CTS_CHG_W { CTS_CHG_W::new(self, 6) } #[doc = "Bit 7 - This interrupt raw bit turns to high level when receiver detects a 0 after the stop bit."] #[inline(always)] - #[must_use] pub fn brk_det(&mut self) -> BRK_DET_W { BRK_DET_W::new(self, 7) } #[doc = "Bit 8 - This interrupt raw bit turns to high level when receiver takes more time than rx_tout_thrhd to receive a byte."] #[inline(always)] - #[must_use] pub fn rxfifo_tout(&mut self) -> RXFIFO_TOUT_W { RXFIFO_TOUT_W::new(self, 8) } #[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."] #[inline(always)] - #[must_use] pub fn sw_xon(&mut self) -> SW_XON_W { SW_XON_W::new(self, 9) } #[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."] #[inline(always)] - #[must_use] pub fn sw_xoff(&mut self) -> SW_XOFF_W { SW_XOFF_W::new(self, 10) } #[doc = "Bit 11 - This interrupt raw bit turns to high level when receiver detects a glitch in the middle of a start bit."] #[inline(always)] - #[must_use] pub fn glitch_det(&mut self) -> GLITCH_DET_W { GLITCH_DET_W::new(self, 11) } #[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."] #[inline(always)] - #[must_use] pub fn tx_brk_done(&mut self) -> TX_BRK_DONE_W { TX_BRK_DONE_W::new(self, 12) } #[doc = "Bit 13 - This interrupt raw bit turns to high level when transmitter has kept the shortest duration after sending the last data."] #[inline(always)] - #[must_use] pub fn tx_brk_idle_done(&mut self) -> TX_BRK_IDLE_DONE_W { TX_BRK_IDLE_DONE_W::new(self, 13) } #[doc = "Bit 14 - This interrupt raw bit turns to high level when transmitter has send out all data in FIFO."] #[inline(always)] - #[must_use] pub fn tx_done(&mut self) -> TX_DONE_W { TX_DONE_W::new(self, 14) } #[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."] #[inline(always)] - #[must_use] pub fn rs485_parity_err(&mut self) -> RS485_PARITY_ERR_W { RS485_PARITY_ERR_W::new(self, 15) } #[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."] #[inline(always)] - #[must_use] pub fn rs485_frm_err(&mut self) -> RS485_FRM_ERR_W { RS485_FRM_ERR_W::new(self, 16) } #[doc = "Bit 17 - This interrupt raw bit turns to high level when detects a clash between transmitter and receiver in rs485 mode."] #[inline(always)] - #[must_use] pub fn rs485_clash(&mut self) -> RS485_CLASH_W { RS485_CLASH_W::new(self, 17) } #[doc = "Bit 18 - This interrupt raw bit turns to high level when receiver detects the configured at_cmd char."] #[inline(always)] - #[must_use] pub fn at_cmd_char_det(&mut self) -> AT_CMD_CHAR_DET_W { AT_CMD_CHAR_DET_W::new(self, 18) } #[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."] #[inline(always)] - #[must_use] pub fn wakeup(&mut self) -> WAKEUP_W { WAKEUP_W::new(self, 19) } diff --git a/esp32s3/src/uart0/mem_conf.rs b/esp32s3/src/uart0/mem_conf.rs index e2d967e4e9..c98ebba866 100644 --- a/esp32s3/src/uart0/mem_conf.rs +++ b/esp32s3/src/uart0/mem_conf.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 1:3 - This register is used to configure the amount of mem allocated for receive-FIFO. The default number is 128 bytes."] #[inline(always)] - #[must_use] pub fn rx_size(&mut self) -> RX_SIZE_W { RX_SIZE_W::new(self, 1) } #[doc = "Bits 4:6 - This register is used to configure the amount of mem allocated for transmit-FIFO. The default number is 128 bytes."] #[inline(always)] - #[must_use] pub fn tx_size(&mut self) -> TX_SIZE_W { TX_SIZE_W::new(self, 4) } #[doc = "Bits 7:16 - This register is used to configure the maximum amount of data that can be received when hardware flow control works."] #[inline(always)] - #[must_use] pub fn rx_flow_thrhd(&mut self) -> RX_FLOW_THRHD_W { RX_FLOW_THRHD_W::new(self, 7) } #[doc = "Bits 17:26 - This register is used to configure the threshold time that receiver takes to receive one byte. The rxfifo_tout_int interrupt will be trigger when the receiver takes more time to receive one byte with rx_tout_en set to 1."] #[inline(always)] - #[must_use] pub fn rx_tout_thrhd(&mut self) -> RX_TOUT_THRHD_W { RX_TOUT_THRHD_W::new(self, 17) } #[doc = "Bit 27 - Set this bit to force power down UART memory."] #[inline(always)] - #[must_use] pub fn mem_force_pd(&mut self) -> MEM_FORCE_PD_W { MEM_FORCE_PD_W::new(self, 27) } #[doc = "Bit 28 - Set this bit to force power up UART memory."] #[inline(always)] - #[must_use] pub fn mem_force_pu(&mut self) -> MEM_FORCE_PU_W { MEM_FORCE_PU_W::new(self, 28) } diff --git a/esp32s3/src/uart0/rs485_conf.rs b/esp32s3/src/uart0/rs485_conf.rs index 5ee32256ba..4e52a1709a 100644 --- a/esp32s3/src/uart0/rs485_conf.rs +++ b/esp32s3/src/uart0/rs485_conf.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to choose the rs485 mode."] #[inline(always)] - #[must_use] pub fn rs485_en(&mut self) -> RS485_EN_W { RS485_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to delay the stop bit by 1 bit."] #[inline(always)] - #[must_use] pub fn dl0_en(&mut self) -> DL0_EN_W { DL0_EN_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to delay the stop bit by 1 bit."] #[inline(always)] - #[must_use] pub fn dl1_en(&mut self) -> DL1_EN_W { DL1_EN_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to enable receiver could receive data when the transmitter is transmitting data in rs485 mode."] #[inline(always)] - #[must_use] pub fn rs485tx_rx_en(&mut self) -> RS485TX_RX_EN_W { RS485TX_RX_EN_W::new(self, 3) } #[doc = "Bit 4 - 1'h1: enable rs485 transmitter to send data when rs485 receiver line is busy."] #[inline(always)] - #[must_use] pub fn rs485rxby_tx_en(&mut self) -> RS485RXBY_TX_EN_W { RS485RXBY_TX_EN_W::new(self, 4) } #[doc = "Bit 5 - This register is used to delay the receiver's internal data signal."] #[inline(always)] - #[must_use] pub fn rs485_rx_dly_num(&mut self) -> RS485_RX_DLY_NUM_W { RS485_RX_DLY_NUM_W::new(self, 5) } #[doc = "Bits 6:9 - This register is used to delay the transmitter's internal data signal."] #[inline(always)] - #[must_use] pub fn rs485_tx_dly_num(&mut self) -> RS485_TX_DLY_NUM_W { RS485_TX_DLY_NUM_W::new(self, 6) } diff --git a/esp32s3/src/uart0/rx_filt.rs b/esp32s3/src/uart0/rx_filt.rs index bbffbeca7c..dd54720849 100644 --- a/esp32s3/src/uart0/rx_filt.rs +++ b/esp32s3/src/uart0/rx_filt.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - when input pulse width is lower than this value, the pulse is ignored."] #[inline(always)] - #[must_use] pub fn glitch_filt(&mut self) -> GLITCH_FILT_W { GLITCH_FILT_W::new(self, 0) } #[doc = "Bit 8 - Set this bit to enable Rx signal filter."] #[inline(always)] - #[must_use] pub fn glitch_filt_en(&mut self) -> GLITCH_FILT_EN_W { GLITCH_FILT_EN_W::new(self, 8) } diff --git a/esp32s3/src/uart0/sleep_conf.rs b/esp32s3/src/uart0/sleep_conf.rs index 768d10da66..eda255981a 100644 --- a/esp32s3/src/uart0/sleep_conf.rs +++ b/esp32s3/src/uart0/sleep_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - The uart is activated from light sleeping mode when the input rxd edge changes more times than this register value."] #[inline(always)] - #[must_use] pub fn active_threshold(&mut self) -> ACTIVE_THRESHOLD_W { ACTIVE_THRESHOLD_W::new(self, 0) } diff --git a/esp32s3/src/uart0/swfc_conf0.rs b/esp32s3/src/uart0/swfc_conf0.rs index fea87507ce..400a51386d 100644 --- a/esp32s3/src/uart0/swfc_conf0.rs +++ b/esp32s3/src/uart0/swfc_conf0.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - When the data amount in Rx-FIFO is more than this register value with uart_sw_flow_con_en set to 1, it will send a Xoff char."] #[inline(always)] - #[must_use] pub fn xoff_threshold(&mut self) -> XOFF_THRESHOLD_W { XOFF_THRESHOLD_W::new(self, 0) } #[doc = "Bits 10:17 - This register stores the Xoff flow control char."] #[inline(always)] - #[must_use] pub fn xoff_char(&mut self) -> XOFF_CHAR_W { XOFF_CHAR_W::new(self, 10) } diff --git a/esp32s3/src/uart0/swfc_conf1.rs b/esp32s3/src/uart0/swfc_conf1.rs index 0532d4d745..108427adbc 100644 --- a/esp32s3/src/uart0/swfc_conf1.rs +++ b/esp32s3/src/uart0/swfc_conf1.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:9 - When the data amount in Rx-FIFO is less than this register value with uart_sw_flow_con_en set to 1, it will send a Xon char."] #[inline(always)] - #[must_use] pub fn xon_threshold(&mut self) -> XON_THRESHOLD_W { XON_THRESHOLD_W::new(self, 0) } #[doc = "Bits 10:17 - This register stores the Xon flow control char."] #[inline(always)] - #[must_use] pub fn xon_char(&mut self) -> XON_CHAR_W { XON_CHAR_W::new(self, 10) } diff --git a/esp32s3/src/uart0/txbrk_conf.rs b/esp32s3/src/uart0/txbrk_conf.rs index 3fd0ce2689..7772196638 100644 --- a/esp32s3/src/uart0/txbrk_conf.rs +++ b/esp32s3/src/uart0/txbrk_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register is used to configure the number of 0 to be sent after the process of sending data is done. It is active when txd_brk is set to 1."] #[inline(always)] - #[must_use] pub fn tx_brk_num(&mut self) -> TX_BRK_NUM_W { TX_BRK_NUM_W::new(self, 0) } diff --git a/esp32s3/src/uhci0/ack_num.rs b/esp32s3/src/uhci0/ack_num.rs index d6948d17bd..38bea880d6 100644 --- a/esp32s3/src/uhci0/ack_num.rs +++ b/esp32s3/src/uhci0/ack_num.rs @@ -26,13 +26,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - This ACK number used in software flow control."] #[inline(always)] - #[must_use] pub fn ack_num(&mut self) -> ACK_NUM_W { ACK_NUM_W::new(self, 0) } #[doc = "Bit 3 - Set this bit to 1, the value configured by UHCI_ACK_NUM would be loaded."] #[inline(always)] - #[must_use] pub fn load(&mut self) -> LOAD_W { LOAD_W::new(self, 3) } diff --git a/esp32s3/src/uhci0/app_int_set.rs b/esp32s3/src/uhci0/app_int_set.rs index 2e3a1fdc13..4824491352 100644 --- a/esp32s3/src/uhci0/app_int_set.rs +++ b/esp32s3/src/uhci0/app_int_set.rs @@ -13,13 +13,11 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - This bit is software interrupt trigger source of UHCI_APP_CTRL0_INT."] #[inline(always)] - #[must_use] pub fn app_ctrl0_int_set(&mut self) -> APP_CTRL0_INT_SET_W { APP_CTRL0_INT_SET_W::new(self, 0) } #[doc = "Bit 1 - This bit is software interrupt trigger source of UHCI_APP_CTRL1_INT."] #[inline(always)] - #[must_use] pub fn app_ctrl1_int_set(&mut self) -> APP_CTRL1_INT_SET_W { APP_CTRL1_INT_SET_W::new(self, 1) } diff --git a/esp32s3/src/uhci0/conf0.rs b/esp32s3/src/uhci0/conf0.rs index fd23d04359..cf0bf692b3 100644 --- a/esp32s3/src/uhci0/conf0.rs +++ b/esp32s3/src/uhci0/conf0.rs @@ -144,79 +144,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Write 1, then write 0 to this bit to reset decode state machine."] #[inline(always)] - #[must_use] pub fn tx_rst(&mut self) -> TX_RST_W { TX_RST_W::new(self, 0) } #[doc = "Bit 1 - Write 1, then write 0 to this bit to reset encode state machine."] #[inline(always)] - #[must_use] pub fn rx_rst(&mut self) -> RX_RST_W { RX_RST_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to link up HCI and UART0."] #[inline(always)] - #[must_use] pub fn uart0_ce(&mut self) -> UART0_CE_W { UART0_CE_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to link up HCI and UART1."] #[inline(always)] - #[must_use] pub fn uart1_ce(&mut self) -> UART1_CE_W { UART1_CE_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to link up HCI and UART2."] #[inline(always)] - #[must_use] pub fn uart2_ce(&mut self) -> UART2_CE_W { UART2_CE_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to separate the data frame using a special char."] #[inline(always)] - #[must_use] pub fn seper_en(&mut self) -> SEPER_EN_W { SEPER_EN_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to encode the data packet with a formatting header."] #[inline(always)] - #[must_use] pub fn head_en(&mut self) -> HEAD_EN_W { HEAD_EN_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to enable UHCI to receive the 16 bit CRC."] #[inline(always)] - #[must_use] pub fn crc_rec_en(&mut self) -> CRC_REC_EN_W { CRC_REC_EN_W::new(self, 7) } #[doc = "Bit 8 - If this bit is set to 1, UHCI will end the payload receiving process when UART has been in idle state."] #[inline(always)] - #[must_use] pub fn uart_idle_eof_en(&mut self) -> UART_IDLE_EOF_EN_W { UART_IDLE_EOF_EN_W::new(self, 8) } #[doc = "Bit 9 - If this bit is set to 1, UHCI decoder receiving payload data is end when the receiving byte count has reached the specified value. The value is payload length indicated by UHCI packet header when UHCI_HEAD_EN is 1 or the value is configuration value when UHCI_HEAD_EN is 0. If this bit is set to 0, UHCI decoder receiving payload data is end when 0xc0 is received."] #[inline(always)] - #[must_use] pub fn len_eof_en(&mut self) -> LEN_EOF_EN_W { LEN_EOF_EN_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to enable data integrity checking by appending a 16 bit CCITT-CRC to end of the payload."] #[inline(always)] - #[must_use] pub fn encode_crc_en(&mut self) -> ENCODE_CRC_EN_W { ENCODE_CRC_EN_W::new(self, 10) } #[doc = "Bit 11 - 1'b1: Force clock on for register. 1'b0: Support clock only when application writes registers."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 11) } #[doc = "Bit 12 - If this bit is set to 1, UHCI will end payload receive process when NULL frame is received by UART."] #[inline(always)] - #[must_use] pub fn uart_rx_brk_eof_en(&mut self) -> UART_RX_BRK_EOF_EN_W { UART_RX_BRK_EOF_EN_W::new(self, 12) } diff --git a/esp32s3/src/uhci0/conf1.rs b/esp32s3/src/uhci0/conf1.rs index f6c859ee38..c234adde8d 100644 --- a/esp32s3/src/uhci0/conf1.rs +++ b/esp32s3/src/uhci0/conf1.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This is the enable bit to check header checksum when UHCI receives a data packet."] #[inline(always)] - #[must_use] pub fn check_sum_en(&mut self) -> CHECK_SUM_EN_W { CHECK_SUM_EN_W::new(self, 0) } #[doc = "Bit 1 - This is the enable bit to check sequence number when UHCI receives a data packet."] #[inline(always)] - #[must_use] pub fn check_seq_en(&mut self) -> CHECK_SEQ_EN_W { CHECK_SEQ_EN_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to support CRC calculation. Data Integrity Check Present bit in UHCI packet frame should be 1."] #[inline(always)] - #[must_use] pub fn crc_disable(&mut self) -> CRC_DISABLE_W { CRC_DISABLE_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to save the packet header when HCI receives a data packet."] #[inline(always)] - #[must_use] pub fn save_head(&mut self) -> SAVE_HEAD_W { SAVE_HEAD_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to encode the data packet with a checksum."] #[inline(always)] - #[must_use] pub fn tx_check_sum_re(&mut self) -> TX_CHECK_SUM_RE_W { TX_CHECK_SUM_RE_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to encode the data packet with an acknowledgment when a reliable packet is to be transmit."] #[inline(always)] - #[must_use] pub fn tx_ack_num_re(&mut self) -> TX_ACK_NUM_RE_W { TX_ACK_NUM_RE_W::new(self, 5) } #[doc = "Bit 7 - The uhci-encoder will jump to ST_SW_WAIT status if this register is set to 1."] #[inline(always)] - #[must_use] pub fn wait_sw_start(&mut self) -> WAIT_SW_START_W { WAIT_SW_START_W::new(self, 7) } #[doc = "Bit 8 - If current UHCI_ENCODE_STATE is ST_SW_WAIT, the UHCI will start to send data packet out when this bit is set to 1."] #[inline(always)] - #[must_use] pub fn sw_start(&mut self) -> SW_START_W { SW_START_W::new(self, 8) } diff --git a/esp32s3/src/uhci0/date.rs b/esp32s3/src/uhci0/date.rs index ac8a48c0f1..db98f36b5b 100644 --- a/esp32s3/src/uhci0/date.rs +++ b/esp32s3/src/uhci0/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This is the version control register."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s3/src/uhci0/esc_conf.rs b/esp32s3/src/uhci0/esc_conf.rs index 4bf1ae0dd5..46dd1e8ae8 100644 --- a/esp32s3/src/uhci0/esc_conf.rs +++ b/esp32s3/src/uhci0/esc_conf.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register is used to define the separate char that need to be encoded, default is 0xc0."] #[inline(always)] - #[must_use] pub fn seper_char(&mut self) -> SEPER_CHAR_W { SEPER_CHAR_W::new(self, 0) } #[doc = "Bits 8:15 - This register is used to define the first char of slip escape sequence when encoding the separate char, default is 0xdb."] #[inline(always)] - #[must_use] pub fn seper_esc_char0(&mut self) -> SEPER_ESC_CHAR0_W { SEPER_ESC_CHAR0_W::new(self, 8) } #[doc = "Bits 16:23 - This register is used to define the second char of slip escape sequence when encoding the separate char, default is 0xdc."] #[inline(always)] - #[must_use] pub fn seper_esc_char1(&mut self) -> SEPER_ESC_CHAR1_W { SEPER_ESC_CHAR1_W::new(self, 16) } diff --git a/esp32s3/src/uhci0/escape_conf.rs b/esp32s3/src/uhci0/escape_conf.rs index a97dacc651..ebb97f62c1 100644 --- a/esp32s3/src/uhci0/escape_conf.rs +++ b/esp32s3/src/uhci0/escape_conf.rs @@ -94,49 +94,41 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to enable decoding char 0xc0 when DMA receives data."] #[inline(always)] - #[must_use] pub fn tx_c0_esc_en(&mut self) -> TX_C0_ESC_EN_W { TX_C0_ESC_EN_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to enable decoding char 0xdb when DMA receives data."] #[inline(always)] - #[must_use] pub fn tx_db_esc_en(&mut self) -> TX_DB_ESC_EN_W { TX_DB_ESC_EN_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to enable decoding flow control char 0x11 when DMA receives data."] #[inline(always)] - #[must_use] pub fn tx_11_esc_en(&mut self) -> TX_11_ESC_EN_W { TX_11_ESC_EN_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to enable decoding flow control char 0x13 when DMA receives data."] #[inline(always)] - #[must_use] pub fn tx_13_esc_en(&mut self) -> TX_13_ESC_EN_W { TX_13_ESC_EN_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to enable replacing 0xc0 by special char when DMA sends data."] #[inline(always)] - #[must_use] pub fn rx_c0_esc_en(&mut self) -> RX_C0_ESC_EN_W { RX_C0_ESC_EN_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to enable replacing 0xdb by special char when DMA sends data."] #[inline(always)] - #[must_use] pub fn rx_db_esc_en(&mut self) -> RX_DB_ESC_EN_W { RX_DB_ESC_EN_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to enable replacing flow control char 0x11 by special char when DMA sends data."] #[inline(always)] - #[must_use] pub fn rx_11_esc_en(&mut self) -> RX_11_ESC_EN_W { RX_11_ESC_EN_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to enable replacing flow control char 0x13 by special char when DMA sends data."] #[inline(always)] - #[must_use] pub fn rx_13_esc_en(&mut self) -> RX_13_ESC_EN_W { RX_13_ESC_EN_W::new(self, 7) } diff --git a/esp32s3/src/uhci0/hung_conf.rs b/esp32s3/src/uhci0/hung_conf.rs index d10eb06d17..fc2c11153b 100644 --- a/esp32s3/src/uhci0/hung_conf.rs +++ b/esp32s3/src/uhci0/hung_conf.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - This register stores the timeout value. It will produce the UHCI_TX_HUNG_INT interrupt when DMA takes more time to receive data."] #[inline(always)] - #[must_use] pub fn txfifo_timeout(&mut self) -> TXFIFO_TIMEOUT_W { TXFIFO_TIMEOUT_W::new(self, 0) } #[doc = "Bits 8:10 - This register is used to configure the tick count maximum value."] #[inline(always)] - #[must_use] pub fn txfifo_timeout_shift(&mut self) -> TXFIFO_TIMEOUT_SHIFT_W { TXFIFO_TIMEOUT_SHIFT_W::new(self, 8) } #[doc = "Bit 11 - This is the enable bit for Tx-FIFO receive-data timeout."] #[inline(always)] - #[must_use] pub fn txfifo_timeout_ena(&mut self) -> TXFIFO_TIMEOUT_ENA_W { TXFIFO_TIMEOUT_ENA_W::new(self, 11) } #[doc = "Bits 12:19 - This register stores the timeout value. It will produce the UHCI_RX_HUNG_INT interrupt when DMA takes more time to read data from RAM."] #[inline(always)] - #[must_use] pub fn rxfifo_timeout(&mut self) -> RXFIFO_TIMEOUT_W { RXFIFO_TIMEOUT_W::new(self, 12) } #[doc = "Bits 20:22 - This register is used to configure the tick count maximum value."] #[inline(always)] - #[must_use] pub fn rxfifo_timeout_shift(&mut self) -> RXFIFO_TIMEOUT_SHIFT_W { RXFIFO_TIMEOUT_SHIFT_W::new(self, 20) } #[doc = "Bit 23 - This is the enable bit for DMA send-data timeout."] #[inline(always)] - #[must_use] pub fn rxfifo_timeout_ena(&mut self) -> RXFIFO_TIMEOUT_ENA_W { RXFIFO_TIMEOUT_ENA_W::new(self, 23) } diff --git a/esp32s3/src/uhci0/int_clr.rs b/esp32s3/src/uhci0/int_clr.rs index 20d4a23918..9ca3f42eb2 100644 --- a/esp32s3/src/uhci0/int_clr.rs +++ b/esp32s3/src/uhci0/int_clr.rs @@ -27,55 +27,46 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear UHCI_RX_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn rx_start(&mut self) -> RX_START_W { RX_START_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear UHCI_TX_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn tx_start(&mut self) -> TX_START_W { TX_START_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear UHCI_RX_HUNG_INT interrupt."] #[inline(always)] - #[must_use] pub fn rx_hung(&mut self) -> RX_HUNG_W { RX_HUNG_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear UHCI_TX_HUNG_INT interrupt."] #[inline(always)] - #[must_use] pub fn tx_hung(&mut self) -> TX_HUNG_W { TX_HUNG_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear UHCI_SEND_S_REQ_Q_INT interrupt."] #[inline(always)] - #[must_use] pub fn send_s_reg_q(&mut self) -> SEND_S_REG_Q_W { SEND_S_REG_Q_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear UHCI_SEND_A_REQ_Q_INT interrupt."] #[inline(always)] - #[must_use] pub fn send_a_reg_q(&mut self) -> SEND_A_REG_Q_W { SEND_A_REG_Q_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear UHCI_OUTLINK_EOF_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn outlink_eof_err(&mut self) -> OUTLINK_EOF_ERR_W { OUTLINK_EOF_ERR_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear UHCI_APP_CTRL0_INT interrupt."] #[inline(always)] - #[must_use] pub fn app_ctrl0(&mut self) -> APP_CTRL0_W { APP_CTRL0_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear UHCI_APP_CTRL1_INT interrupt."] #[inline(always)] - #[must_use] pub fn app_ctrl1(&mut self) -> APP_CTRL1_W { APP_CTRL1_W::new(self, 8) } diff --git a/esp32s3/src/uhci0/int_ena.rs b/esp32s3/src/uhci0/int_ena.rs index af804c69f6..e7b2a23457 100644 --- a/esp32s3/src/uhci0/int_ena.rs +++ b/esp32s3/src/uhci0/int_ena.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This is the interrupt enable bit for UHCI_RX_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn rx_start(&mut self) -> RX_START_W { RX_START_W::new(self, 0) } #[doc = "Bit 1 - This is the interrupt enable bit for UHCI_TX_START_INT interrupt."] #[inline(always)] - #[must_use] pub fn tx_start(&mut self) -> TX_START_W { TX_START_W::new(self, 1) } #[doc = "Bit 2 - This is the interrupt enable bit for UHCI_RX_HUNG_INT interrupt."] #[inline(always)] - #[must_use] pub fn rx_hung(&mut self) -> RX_HUNG_W { RX_HUNG_W::new(self, 2) } #[doc = "Bit 3 - This is the interrupt enable bit for UHCI_TX_HUNG_INT interrupt."] #[inline(always)] - #[must_use] pub fn tx_hung(&mut self) -> TX_HUNG_W { TX_HUNG_W::new(self, 3) } #[doc = "Bit 4 - This is the interrupt enable bit for UHCI_SEND_S_REQ_Q_INT interrupt."] #[inline(always)] - #[must_use] pub fn send_s_reg_q(&mut self) -> SEND_S_REG_Q_W { SEND_S_REG_Q_W::new(self, 4) } #[doc = "Bit 5 - This is the interrupt enable bit for UHCI_SEND_A_REQ_Q_INT interrupt."] #[inline(always)] - #[must_use] pub fn send_a_reg_q(&mut self) -> SEND_A_REG_Q_W { SEND_A_REG_Q_W::new(self, 5) } #[doc = "Bit 6 - This is the interrupt enable bit for UHCI_OUTLINK_EOF_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn outlink_eof_err(&mut self) -> OUTLINK_EOF_ERR_W { OUTLINK_EOF_ERR_W::new(self, 6) } #[doc = "Bit 7 - This is the interrupt enable bit for UHCI_APP_CTRL0_INT interrupt."] #[inline(always)] - #[must_use] pub fn app_ctrl0(&mut self) -> APP_CTRL0_W { APP_CTRL0_W::new(self, 7) } #[doc = "Bit 8 - This is the interrupt enable bit for UHCI_APP_CTRL1_INT interrupt."] #[inline(always)] - #[must_use] pub fn app_ctrl1(&mut self) -> APP_CTRL1_W { APP_CTRL1_W::new(self, 8) } diff --git a/esp32s3/src/uhci0/int_raw.rs b/esp32s3/src/uhci0/int_raw.rs index 98a2366abb..2d2cf2473c 100644 --- a/esp32s3/src/uhci0/int_raw.rs +++ b/esp32s3/src/uhci0/int_raw.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This is the interrupt raw bit. Triggered when a separator char has been sent."] #[inline(always)] - #[must_use] pub fn rx_start(&mut self) -> RX_START_W { RX_START_W::new(self, 0) } #[doc = "Bit 1 - This is the interrupt raw bit. Triggered when UHCI detects a separator char."] #[inline(always)] - #[must_use] pub fn tx_start(&mut self) -> TX_START_W { TX_START_W::new(self, 1) } #[doc = "Bit 2 - This is the interrupt raw bit. Triggered when UHCI takes more time to receive data than configure value."] #[inline(always)] - #[must_use] pub fn rx_hung(&mut self) -> RX_HUNG_W { RX_HUNG_W::new(self, 2) } #[doc = "Bit 3 - This is the interrupt raw bit. Triggered when UHCI takes more time to read data from RAM than the configured value."] #[inline(always)] - #[must_use] pub fn tx_hung(&mut self) -> TX_HUNG_W { TX_HUNG_W::new(self, 3) } #[doc = "Bit 4 - This is the interrupt raw bit. Triggered when UHCI has sent out a short packet using single_send registers."] #[inline(always)] - #[must_use] pub fn send_s_reg_q(&mut self) -> SEND_S_REG_Q_W { SEND_S_REG_Q_W::new(self, 4) } #[doc = "Bit 5 - This is the interrupt raw bit. Triggered when UHCI has sent out a short packet using always_send registers."] #[inline(always)] - #[must_use] pub fn send_a_reg_q(&mut self) -> SEND_A_REG_Q_W { SEND_A_REG_Q_W::new(self, 5) } #[doc = "Bit 6 - This is the interrupt raw bit. Triggered when there are some errors in EOF in the transmit data."] #[inline(always)] - #[must_use] pub fn out_eof(&mut self) -> OUT_EOF_W { OUT_EOF_W::new(self, 6) } #[doc = "Bit 7 - This is the interrupt raw bit. Triggered when set UHCI_APP_CTRL0_IN_SET."] #[inline(always)] - #[must_use] pub fn app_ctrl0(&mut self) -> APP_CTRL0_W { APP_CTRL0_W::new(self, 7) } #[doc = "Bit 8 - This is the interrupt raw bit. Triggered when set UHCI_APP_CTRL1_IN_SET."] #[inline(always)] - #[must_use] pub fn app_ctrl1(&mut self) -> APP_CTRL1_W { APP_CTRL1_W::new(self, 8) } diff --git a/esp32s3/src/uhci0/pkt_thres.rs b/esp32s3/src/uhci0/pkt_thres.rs index d31412ac4e..557230acbf 100644 --- a/esp32s3/src/uhci0/pkt_thres.rs +++ b/esp32s3/src/uhci0/pkt_thres.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:12 - This register is used to configure the maximum value of the packet length when UHCI_HEAD_EN is 0."] #[inline(always)] - #[must_use] pub fn pkt_thrs(&mut self) -> PKT_THRS_W { PKT_THRS_W::new(self, 0) } diff --git a/esp32s3/src/uhci0/quick_sent.rs b/esp32s3/src/uhci0/quick_sent.rs index 01756c0df4..eaaf821a68 100644 --- a/esp32s3/src/uhci0/quick_sent.rs +++ b/esp32s3/src/uhci0/quick_sent.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2 - This register is used to specify the single_send register."] #[inline(always)] - #[must_use] pub fn single_send_num(&mut self) -> SINGLE_SEND_NUM_W { SINGLE_SEND_NUM_W::new(self, 0) } #[doc = "Bit 3 - Set this bit to enable single_send mode to send short packet."] #[inline(always)] - #[must_use] pub fn single_send_en(&mut self) -> SINGLE_SEND_EN_W { SINGLE_SEND_EN_W::new(self, 3) } #[doc = "Bits 4:6 - This register is used to specify the always_send register."] #[inline(always)] - #[must_use] pub fn always_send_num(&mut self) -> ALWAYS_SEND_NUM_W { ALWAYS_SEND_NUM_W::new(self, 4) } #[doc = "Bit 7 - Set this bit to enable always_send mode to send short packet."] #[inline(always)] - #[must_use] pub fn always_send_en(&mut self) -> ALWAYS_SEND_EN_W { ALWAYS_SEND_EN_W::new(self, 7) } diff --git a/esp32s3/src/uhci0/reg_q/word0.rs b/esp32s3/src/uhci0/reg_q/word0.rs index 1358d24d3d..59919e992d 100644 --- a/esp32s3/src/uhci0/reg_q/word0.rs +++ b/esp32s3/src/uhci0/reg_q/word0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This register is used as a quick_sent register when specified by UHCI_ALWAYS_SEND_NUM or UHCI_SINGLE_SEND_NUM."] #[inline(always)] - #[must_use] pub fn send_word(&mut self) -> SEND_WORD_W { SEND_WORD_W::new(self, 0) } diff --git a/esp32s3/src/uhci0/reg_q/word1.rs b/esp32s3/src/uhci0/reg_q/word1.rs index c0ea812085..e5ae688da2 100644 --- a/esp32s3/src/uhci0/reg_q/word1.rs +++ b/esp32s3/src/uhci0/reg_q/word1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This register is used as a quick_sent register when specified by UHCI_ALWAYS_SEND_NUM or UHCI_SINGLE_SEND_NUM."] #[inline(always)] - #[must_use] pub fn send_word(&mut self) -> SEND_WORD_W { SEND_WORD_W::new(self, 0) } diff --git a/esp32s3/src/usb0.rs b/esp32s3/src/usb0.rs index 59eed2f399..7819d5d3ea 100644 --- a/esp32s3/src/usb0.rs +++ b/esp32s3/src/usb0.rs @@ -160,6 +160,8 @@ impl RegisterBlock { &self.hptxfsiz } #[doc = "0x104..0x114 - "] + #[doc = ""] + #[doc = "
`n` is the index of register in the array. `n == 0` corresponds to `DIEPTXF1` register.
"] #[inline(always)] pub const fn dieptxf(&self, n: usize) -> &DIEPTXF { &self.dieptxf[n] @@ -302,6 +304,8 @@ impl RegisterBlock { &self.in_ep0 } #[doc = "0x920..0x9e0 - Device IN endpoints 1-6"] + #[doc = ""] + #[doc = "
`n` is the index of cluster in the array. `n == 0` corresponds to `IN_EP1` cluster.
"] #[inline(always)] pub const fn in_ep(&self, n: usize) -> &IN_EP { &self.in_ep[n] @@ -348,6 +352,8 @@ impl RegisterBlock { &self.out_ep0 } #[doc = "0xb20..0xbe0 - Device OUT endpoints 1-6"] + #[doc = ""] + #[doc = "
`n` is the index of cluster in the array. `n == 0` corresponds to `OUT_EP1` cluster.
"] #[inline(always)] pub const fn out_ep(&self, n: usize) -> &OUT_EP { &self.out_ep[n] @@ -399,7 +405,7 @@ impl RegisterBlock { #[allow(clippy::no_effect)] [(); 16][n]; unsafe { - &*(self as *const Self) + &*core::ptr::from_ref(self) .cast::() .add(4096) .add(4096 * n) @@ -411,7 +417,7 @@ impl RegisterBlock { #[inline(always)] pub fn fifo_iter(&self) -> impl Iterator { (0..16).map(move |n| unsafe { - &*(self as *const Self) + &*core::ptr::from_ref(self) .cast::() .add(4096) .add(4096 * n) diff --git a/esp32s3/src/usb0/daintmsk.rs b/esp32s3/src/usb0/daintmsk.rs index 231fa18130..e0075ce733 100644 --- a/esp32s3/src/usb0/daintmsk.rs +++ b/esp32s3/src/usb0/daintmsk.rs @@ -138,7 +138,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `INEPMSK0` field.
"] #[inline(always)] - #[must_use] pub fn inepmsk(&mut self, n: u8) -> INEPMSK_W { #[allow(clippy::no_effect)] [(); 7][n as usize]; @@ -146,43 +145,36 @@ impl W { } #[doc = "Bit 0 - INEPMSK0"] #[inline(always)] - #[must_use] pub fn inepmsk0(&mut self) -> INEPMSK_W { INEPMSK_W::new(self, 0) } #[doc = "Bit 1 - INEPMSK1"] #[inline(always)] - #[must_use] pub fn inepmsk1(&mut self) -> INEPMSK_W { INEPMSK_W::new(self, 1) } #[doc = "Bit 2 - INEPMSK2"] #[inline(always)] - #[must_use] pub fn inepmsk2(&mut self) -> INEPMSK_W { INEPMSK_W::new(self, 2) } #[doc = "Bit 3 - INEPMSK3"] #[inline(always)] - #[must_use] pub fn inepmsk3(&mut self) -> INEPMSK_W { INEPMSK_W::new(self, 3) } #[doc = "Bit 4 - INEPMSK4"] #[inline(always)] - #[must_use] pub fn inepmsk4(&mut self) -> INEPMSK_W { INEPMSK_W::new(self, 4) } #[doc = "Bit 5 - INEPMSK5"] #[inline(always)] - #[must_use] pub fn inepmsk5(&mut self) -> INEPMSK_W { INEPMSK_W::new(self, 5) } #[doc = "Bit 6 - INEPMSK6"] #[inline(always)] - #[must_use] pub fn inepmsk6(&mut self) -> INEPMSK_W { INEPMSK_W::new(self, 6) } @@ -190,7 +182,6 @@ impl W { #[doc = ""] #[doc = "
`n` is number of field in register. `n == 0` corresponds to `OUTEPMSK0` field.
"] #[inline(always)] - #[must_use] pub fn outepmsk(&mut self, n: u8) -> OUTEPMSK_W { #[allow(clippy::no_effect)] [(); 7][n as usize]; @@ -198,43 +189,36 @@ impl W { } #[doc = "Bit 16 - OUTEPMSK0"] #[inline(always)] - #[must_use] pub fn outepmsk0(&mut self) -> OUTEPMSK_W { OUTEPMSK_W::new(self, 16) } #[doc = "Bit 17 - OUTEPMSK1"] #[inline(always)] - #[must_use] pub fn outepmsk1(&mut self) -> OUTEPMSK_W { OUTEPMSK_W::new(self, 17) } #[doc = "Bit 18 - OUTEPMSK2"] #[inline(always)] - #[must_use] pub fn outepmsk2(&mut self) -> OUTEPMSK_W { OUTEPMSK_W::new(self, 18) } #[doc = "Bit 19 - OUTEPMSK3"] #[inline(always)] - #[must_use] pub fn outepmsk3(&mut self) -> OUTEPMSK_W { OUTEPMSK_W::new(self, 19) } #[doc = "Bit 20 - OUTEPMSK4"] #[inline(always)] - #[must_use] pub fn outepmsk4(&mut self) -> OUTEPMSK_W { OUTEPMSK_W::new(self, 20) } #[doc = "Bit 21 - OUTEPMSK5"] #[inline(always)] - #[must_use] pub fn outepmsk5(&mut self) -> OUTEPMSK_W { OUTEPMSK_W::new(self, 21) } #[doc = "Bit 22 - OUTEPMSK6"] #[inline(always)] - #[must_use] pub fn outepmsk6(&mut self) -> OUTEPMSK_W { OUTEPMSK_W::new(self, 22) } diff --git a/esp32s3/src/usb0/dcfg.rs b/esp32s3/src/usb0/dcfg.rs index a6d0af1184..6488a1b902 100644 --- a/esp32s3/src/usb0/dcfg.rs +++ b/esp32s3/src/usb0/dcfg.rs @@ -124,67 +124,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn nzstsouthshk(&mut self) -> NZSTSOUTHSHK_W { NZSTSOUTHSHK_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn ena32khzsusp(&mut self) -> ENA32KHZSUSP_W { ENA32KHZSUSP_W::new(self, 3) } #[doc = "Bits 4:10"] #[inline(always)] - #[must_use] pub fn devaddr(&mut self) -> DEVADDR_W { DEVADDR_W::new(self, 4) } #[doc = "Bits 11:12"] #[inline(always)] - #[must_use] pub fn perfrlint(&mut self) -> PERFRLINT_W { PERFRLINT_W::new(self, 11) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn endevoutnak(&mut self) -> ENDEVOUTNAK_W { ENDEVOUTNAK_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn xcvrdly(&mut self) -> XCVRDLY_W { XCVRDLY_W::new(self, 14) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn erraticintmsk(&mut self) -> ERRATICINTMSK_W { ERRATICINTMSK_W::new(self, 15) } #[doc = "Bits 18:22"] #[inline(always)] - #[must_use] pub fn epmiscnt(&mut self) -> EPMISCNT_W { EPMISCNT_W::new(self, 18) } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn descdma(&mut self) -> DESCDMA_W { DESCDMA_W::new(self, 23) } #[doc = "Bits 24:25"] #[inline(always)] - #[must_use] pub fn perschintvl(&mut self) -> PERSCHINTVL_W { PERSCHINTVL_W::new(self, 24) } #[doc = "Bits 26:31"] #[inline(always)] - #[must_use] pub fn resvalid(&mut self) -> RESVALID_W { RESVALID_W::new(self, 26) } diff --git a/esp32s3/src/usb0/dctl.rs b/esp32s3/src/usb0/dctl.rs index e806259488..ca8528bace 100644 --- a/esp32s3/src/usb0/dctl.rs +++ b/esp32s3/src/usb0/dctl.rs @@ -128,79 +128,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn rmtwkupsig(&mut self) -> RMTWKUPSIG_W { RMTWKUPSIG_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn sftdiscon(&mut self) -> SFTDISCON_W { SFTDISCON_W::new(self, 1) } #[doc = "Bits 4:6"] #[inline(always)] - #[must_use] pub fn tstctl(&mut self) -> TSTCTL_W { TSTCTL_W::new(self, 4) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn sgnpinnak(&mut self) -> SGNPINNAK_W { SGNPINNAK_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn cgnpinnak(&mut self) -> CGNPINNAK_W { CGNPINNAK_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn sgoutnak(&mut self) -> SGOUTNAK_W { SGOUTNAK_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn cgoutnak(&mut self) -> CGOUTNAK_W { CGOUTNAK_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn pwronprgdone(&mut self) -> PWRONPRGDONE_W { PWRONPRGDONE_W::new(self, 11) } #[doc = "Bits 13:14"] #[inline(always)] - #[must_use] pub fn gmc(&mut self) -> GMC_W { GMC_W::new(self, 13) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn ignrfrmnum(&mut self) -> IGNRFRMNUM_W { IGNRFRMNUM_W::new(self, 15) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn nakonbble(&mut self) -> NAKONBBLE_W { NAKONBBLE_W::new(self, 16) } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn encountonbna(&mut self) -> ENCOUNTONBNA_W { ENCOUNTONBNA_W::new(self, 17) } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn deepsleepbeslreject(&mut self) -> DEEPSLEEPBESLREJECT_W { DEEPSLEEPBESLREJECT_W::new(self, 18) } diff --git a/esp32s3/src/usb0/diepempmsk.rs b/esp32s3/src/usb0/diepempmsk.rs index 0f43f3df8c..b9f279ed78 100644 --- a/esp32s3/src/usb0/diepempmsk.rs +++ b/esp32s3/src/usb0/diepempmsk.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn d_ineptxfempmsk(&mut self) -> D_INEPTXFEMPMSK_W { D_INEPTXFEMPMSK_W::new(self, 0) } diff --git a/esp32s3/src/usb0/diepmsk.rs b/esp32s3/src/usb0/diepmsk.rs index 106eb330b5..02c6955f54 100644 --- a/esp32s3/src/usb0/diepmsk.rs +++ b/esp32s3/src/usb0/diepmsk.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn di_xfercomplmsk(&mut self) -> DI_XFERCOMPLMSK_W { DI_XFERCOMPLMSK_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn di_epdisbldmsk(&mut self) -> DI_EPDISBLDMSK_W { DI_EPDISBLDMSK_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn di_ahbermsk(&mut self) -> DI_AHBERMSK_W { DI_AHBERMSK_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn timeoutmsk(&mut self) -> TIMEOUTMSK_W { TIMEOUTMSK_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn intkntxfempmsk(&mut self) -> INTKNTXFEMPMSK_W { INTKNTXFEMPMSK_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn intknepmismsk(&mut self) -> INTKNEPMISMSK_W { INTKNEPMISMSK_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn inepnakeffmsk(&mut self) -> INEPNAKEFFMSK_W { INEPNAKEFFMSK_W::new(self, 6) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn txfifoundrnmsk(&mut self) -> TXFIFOUNDRNMSK_W { TXFIFOUNDRNMSK_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn bnainintrmsk(&mut self) -> BNAININTRMSK_W { BNAININTRMSK_W::new(self, 9) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn di_nakmsk(&mut self) -> DI_NAKMSK_W { DI_NAKMSK_W::new(self, 13) } diff --git a/esp32s3/src/usb0/dieptxf.rs b/esp32s3/src/usb0/dieptxf.rs index d59c42b2bb..63392a85e3 100644 --- a/esp32s3/src/usb0/dieptxf.rs +++ b/esp32s3/src/usb0/dieptxf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn inep1txfstaddr(&mut self) -> INEP1TXFSTADDR_W { INEP1TXFSTADDR_W::new(self, 0) } #[doc = "Bits 16:31"] #[inline(always)] - #[must_use] pub fn inep1txfdep(&mut self) -> INEP1TXFDEP_W { INEP1TXFDEP_W::new(self, 16) } diff --git a/esp32s3/src/usb0/doepmsk.rs b/esp32s3/src/usb0/doepmsk.rs index 89b209f847..5496a246b0 100644 --- a/esp32s3/src/usb0/doepmsk.rs +++ b/esp32s3/src/usb0/doepmsk.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn xfercomplmsk(&mut self) -> XFERCOMPLMSK_W { XFERCOMPLMSK_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn epdisbldmsk(&mut self) -> EPDISBLDMSK_W { EPDISBLDMSK_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn ahbermsk(&mut self) -> AHBERMSK_W { AHBERMSK_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn setupmsk(&mut self) -> SETUPMSK_W { SETUPMSK_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn outtknepdismsk(&mut self) -> OUTTKNEPDISMSK_W { OUTTKNEPDISMSK_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn stsphsercvdmsk(&mut self) -> STSPHSERCVDMSK_W { STSPHSERCVDMSK_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn back2backsetup(&mut self) -> BACK2BACKSETUP_W { BACK2BACKSETUP_W::new(self, 6) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn outpkterrmsk(&mut self) -> OUTPKTERRMSK_W { OUTPKTERRMSK_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn bnaoutintrmsk(&mut self) -> BNAOUTINTRMSK_W { BNAOUTINTRMSK_W::new(self, 9) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn bbleerrmsk(&mut self) -> BBLEERRMSK_W { BBLEERRMSK_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn nakmsk(&mut self) -> NAKMSK_W { NAKMSK_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn nyetmsk(&mut self) -> NYETMSK_W { NYETMSK_W::new(self, 14) } diff --git a/esp32s3/src/usb0/dthrctl.rs b/esp32s3/src/usb0/dthrctl.rs index 9ab009ceb9..e1c5862ed7 100644 --- a/esp32s3/src/usb0/dthrctl.rs +++ b/esp32s3/src/usb0/dthrctl.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn nonisothren(&mut self) -> NONISOTHREN_W { NONISOTHREN_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn isothren(&mut self) -> ISOTHREN_W { ISOTHREN_W::new(self, 1) } #[doc = "Bits 2:10"] #[inline(always)] - #[must_use] pub fn txthrlen(&mut self) -> TXTHRLEN_W { TXTHRLEN_W::new(self, 2) } #[doc = "Bits 11:12"] #[inline(always)] - #[must_use] pub fn ahbthrratio(&mut self) -> AHBTHRRATIO_W { AHBTHRRATIO_W::new(self, 11) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn rxthren(&mut self) -> RXTHREN_W { RXTHREN_W::new(self, 16) } #[doc = "Bits 17:25"] #[inline(always)] - #[must_use] pub fn rxthrlen(&mut self) -> RXTHRLEN_W { RXTHRLEN_W::new(self, 17) } #[doc = "Bit 27"] #[inline(always)] - #[must_use] pub fn arbprken(&mut self) -> ARBPRKEN_W { ARBPRKEN_W::new(self, 27) } diff --git a/esp32s3/src/usb0/dvbusdis.rs b/esp32s3/src/usb0/dvbusdis.rs index 0aded180be..75c7ff65cf 100644 --- a/esp32s3/src/usb0/dvbusdis.rs +++ b/esp32s3/src/usb0/dvbusdis.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn dvbusdis(&mut self) -> DVBUSDIS_W { DVBUSDIS_W::new(self, 0) } diff --git a/esp32s3/src/usb0/dvbuspulse.rs b/esp32s3/src/usb0/dvbuspulse.rs index e0ad68f11a..34da3344b2 100644 --- a/esp32s3/src/usb0/dvbuspulse.rs +++ b/esp32s3/src/usb0/dvbuspulse.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:11"] #[inline(always)] - #[must_use] pub fn dvbuspulse(&mut self) -> DVBUSPULSE_W { DVBUSPULSE_W::new(self, 0) } diff --git a/esp32s3/src/usb0/fifo.rs b/esp32s3/src/usb0/fifo.rs index f5e55135b2..3eb476d958 100644 --- a/esp32s3/src/usb0/fifo.rs +++ b/esp32s3/src/usb0/fifo.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn word(&mut self) -> WORD_W { WORD_W::new(self, 0) } diff --git a/esp32s3/src/usb0/gahbcfg.rs b/esp32s3/src/usb0/gahbcfg.rs index 23ed6383db..17a6a7368d 100644 --- a/esp32s3/src/usb0/gahbcfg.rs +++ b/esp32s3/src/usb0/gahbcfg.rs @@ -104,55 +104,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn glbllntrmsk(&mut self) -> GLBLLNTRMSK_W { GLBLLNTRMSK_W::new(self, 0) } #[doc = "Bits 1:4"] #[inline(always)] - #[must_use] pub fn hbstlen(&mut self) -> HBSTLEN_W { HBSTLEN_W::new(self, 1) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn dmaen(&mut self) -> DMAEN_W { DMAEN_W::new(self, 5) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn nptxfemplvl(&mut self) -> NPTXFEMPLVL_W { NPTXFEMPLVL_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn ptxfemplvl(&mut self) -> PTXFEMPLVL_W { PTXFEMPLVL_W::new(self, 8) } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn remmemsupp(&mut self) -> REMMEMSUPP_W { REMMEMSUPP_W::new(self, 21) } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn notialldmawrit(&mut self) -> NOTIALLDMAWRIT_W { NOTIALLDMAWRIT_W::new(self, 22) } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn ahbsingle(&mut self) -> AHBSINGLE_W { AHBSINGLE_W::new(self, 23) } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn invdescendianess(&mut self) -> INVDESCENDIANESS_W { INVDESCENDIANESS_W::new(self, 24) } diff --git a/esp32s3/src/usb0/gdfifocfg.rs b/esp32s3/src/usb0/gdfifocfg.rs index 6996405a7a..981246c611 100644 --- a/esp32s3/src/usb0/gdfifocfg.rs +++ b/esp32s3/src/usb0/gdfifocfg.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn gdfifocfg(&mut self) -> GDFIFOCFG_W { GDFIFOCFG_W::new(self, 0) } #[doc = "Bits 16:31"] #[inline(always)] - #[must_use] pub fn epinfobaseaddr(&mut self) -> EPINFOBASEADDR_W { EPINFOBASEADDR_W::new(self, 16) } diff --git a/esp32s3/src/usb0/gintmsk.rs b/esp32s3/src/usb0/gintmsk.rs index 6b4555f22e..51c75a34e0 100644 --- a/esp32s3/src/usb0/gintmsk.rs +++ b/esp32s3/src/usb0/gintmsk.rs @@ -284,163 +284,136 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn modemismsk(&mut self) -> MODEMISMSK_W { MODEMISMSK_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn otgintmsk(&mut self) -> OTGINTMSK_W { OTGINTMSK_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn sofmsk(&mut self) -> SOFMSK_W { SOFMSK_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn rxflvimsk(&mut self) -> RXFLVIMSK_W { RXFLVIMSK_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn nptxfempmsk(&mut self) -> NPTXFEMPMSK_W { NPTXFEMPMSK_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn ginnakeffmsk(&mut self) -> GINNAKEFFMSK_W { GINNAKEFFMSK_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn goutnackeffmsk(&mut self) -> GOUTNACKEFFMSK_W { GOUTNACKEFFMSK_W::new(self, 7) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn erlysuspmsk(&mut self) -> ERLYSUSPMSK_W { ERLYSUSPMSK_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn usbsuspmsk(&mut self) -> USBSUSPMSK_W { USBSUSPMSK_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn usbrstmsk(&mut self) -> USBRSTMSK_W { USBRSTMSK_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn enumdonemsk(&mut self) -> ENUMDONEMSK_W { ENUMDONEMSK_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn isooutdropmsk(&mut self) -> ISOOUTDROPMSK_W { ISOOUTDROPMSK_W::new(self, 14) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn eopfmsk(&mut self) -> EOPFMSK_W { EOPFMSK_W::new(self, 15) } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn epmismsk(&mut self) -> EPMISMSK_W { EPMISMSK_W::new(self, 17) } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn iepintmsk(&mut self) -> IEPINTMSK_W { IEPINTMSK_W::new(self, 18) } #[doc = "Bit 19"] #[inline(always)] - #[must_use] pub fn oepintmsk(&mut self) -> OEPINTMSK_W { OEPINTMSK_W::new(self, 19) } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn incompisoinmsk(&mut self) -> INCOMPISOINMSK_W { INCOMPISOINMSK_W::new(self, 20) } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn incompipmsk(&mut self) -> INCOMPIPMSK_W { INCOMPIPMSK_W::new(self, 21) } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn fetsuspmsk(&mut self) -> FETSUSPMSK_W { FETSUSPMSK_W::new(self, 22) } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn resetdetmsk(&mut self) -> RESETDETMSK_W { RESETDETMSK_W::new(self, 23) } #[doc = "Bit 24"] #[inline(always)] - #[must_use] pub fn prtlntmsk(&mut self) -> PRTLNTMSK_W { PRTLNTMSK_W::new(self, 24) } #[doc = "Bit 25"] #[inline(always)] - #[must_use] pub fn hchintmsk(&mut self) -> HCHINTMSK_W { HCHINTMSK_W::new(self, 25) } #[doc = "Bit 26"] #[inline(always)] - #[must_use] pub fn ptxfempmsk(&mut self) -> PTXFEMPMSK_W { PTXFEMPMSK_W::new(self, 26) } #[doc = "Bit 28"] #[inline(always)] - #[must_use] pub fn conidstschngmsk(&mut self) -> CONIDSTSCHNGMSK_W { CONIDSTSCHNGMSK_W::new(self, 28) } #[doc = "Bit 29"] #[inline(always)] - #[must_use] pub fn disconnintmsk(&mut self) -> DISCONNINTMSK_W { DISCONNINTMSK_W::new(self, 29) } #[doc = "Bit 30"] #[inline(always)] - #[must_use] pub fn sessreqintmsk(&mut self) -> SESSREQINTMSK_W { SESSREQINTMSK_W::new(self, 30) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn wkupintmsk(&mut self) -> WKUPINTMSK_W { WKUPINTMSK_W::new(self, 31) } diff --git a/esp32s3/src/usb0/gintsts.rs b/esp32s3/src/usb0/gintsts.rs index 62dddd5efc..e84b095398 100644 --- a/esp32s3/src/usb0/gintsts.rs +++ b/esp32s3/src/usb0/gintsts.rs @@ -272,103 +272,86 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn modemis(&mut self) -> MODEMIS_W { MODEMIS_W::new(self, 1) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn sof(&mut self) -> SOF_W { SOF_W::new(self, 3) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn erlysusp(&mut self) -> ERLYSUSP_W { ERLYSUSP_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn usbsusp(&mut self) -> USBSUSP_W { USBSUSP_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn usbrst(&mut self) -> USBRST_W { USBRST_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn enumdone(&mut self) -> ENUMDONE_W { ENUMDONE_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn isooutdrop(&mut self) -> ISOOUTDROP_W { ISOOUTDROP_W::new(self, 14) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn eopf(&mut self) -> EOPF_W { EOPF_W::new(self, 15) } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn epmis(&mut self) -> EPMIS_W { EPMIS_W::new(self, 17) } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn incompisoin(&mut self) -> INCOMPISOIN_W { INCOMPISOIN_W::new(self, 20) } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn incompip(&mut self) -> INCOMPIP_W { INCOMPIP_W::new(self, 21) } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn fetsusp(&mut self) -> FETSUSP_W { FETSUSP_W::new(self, 22) } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn resetdet(&mut self) -> RESETDET_W { RESETDET_W::new(self, 23) } #[doc = "Bit 28"] #[inline(always)] - #[must_use] pub fn conidstschng(&mut self) -> CONIDSTSCHNG_W { CONIDSTSCHNG_W::new(self, 28) } #[doc = "Bit 29"] #[inline(always)] - #[must_use] pub fn disconnint(&mut self) -> DISCONNINT_W { DISCONNINT_W::new(self, 29) } #[doc = "Bit 30"] #[inline(always)] - #[must_use] pub fn sessreqint(&mut self) -> SESSREQINT_W { SESSREQINT_W::new(self, 30) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn wkupint(&mut self) -> WKUPINT_W { WKUPINT_W::new(self, 31) } diff --git a/esp32s3/src/usb0/gnptxfsiz.rs b/esp32s3/src/usb0/gnptxfsiz.rs index 64f666b6fe..b6ad1bc036 100644 --- a/esp32s3/src/usb0/gnptxfsiz.rs +++ b/esp32s3/src/usb0/gnptxfsiz.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn nptxfstaddr(&mut self) -> NPTXFSTADDR_W { NPTXFSTADDR_W::new(self, 0) } #[doc = "Bits 16:31"] #[inline(always)] - #[must_use] pub fn nptxfdep(&mut self) -> NPTXFDEP_W { NPTXFDEP_W::new(self, 16) } diff --git a/esp32s3/src/usb0/gotgctl.rs b/esp32s3/src/usb0/gotgctl.rs index c0500f1604..6b575cd5fb 100644 --- a/esp32s3/src/usb0/gotgctl.rs +++ b/esp32s3/src/usb0/gotgctl.rs @@ -200,79 +200,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn sesreq(&mut self) -> SESREQ_W { SESREQ_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn vbvalidoven(&mut self) -> VBVALIDOVEN_W { VBVALIDOVEN_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn vbvalidovval(&mut self) -> VBVALIDOVVAL_W { VBVALIDOVVAL_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn avalidoven(&mut self) -> AVALIDOVEN_W { AVALIDOVEN_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn avalidovval(&mut self) -> AVALIDOVVAL_W { AVALIDOVVAL_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn bvalidoven(&mut self) -> BVALIDOVEN_W { BVALIDOVEN_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn bvalidovval(&mut self) -> BVALIDOVVAL_W { BVALIDOVVAL_W::new(self, 7) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn hnpreq(&mut self) -> HNPREQ_W { HNPREQ_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn hstsethnpen(&mut self) -> HSTSETHNPEN_W { HSTSETHNPEN_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn devhnpen(&mut self) -> DEVHNPEN_W { DEVHNPEN_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn ehen(&mut self) -> EHEN_W { EHEN_W::new(self, 12) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn dbncefltrbypass(&mut self) -> DBNCEFLTRBYPASS_W { DBNCEFLTRBYPASS_W::new(self, 15) } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn otgver(&mut self) -> OTGVER_W { OTGVER_W::new(self, 20) } diff --git a/esp32s3/src/usb0/gotgint.rs b/esp32s3/src/usb0/gotgint.rs index 65bc5f1f82..b588af01dd 100644 --- a/esp32s3/src/usb0/gotgint.rs +++ b/esp32s3/src/usb0/gotgint.rs @@ -74,37 +74,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn sesenddet(&mut self) -> SESENDDET_W { SESENDDET_W::new(self, 2) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn sesreqsucstschng(&mut self) -> SESREQSUCSTSCHNG_W { SESREQSUCSTSCHNG_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn hstnegsucstschng(&mut self) -> HSTNEGSUCSTSCHNG_W { HSTNEGSUCSTSCHNG_W::new(self, 9) } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn hstnegdet(&mut self) -> HSTNEGDET_W { HSTNEGDET_W::new(self, 17) } #[doc = "Bit 18"] #[inline(always)] - #[must_use] pub fn adevtoutchg(&mut self) -> ADEVTOUTCHG_W { ADEVTOUTCHG_W::new(self, 18) } #[doc = "Bit 19"] #[inline(always)] - #[must_use] pub fn dbncedone(&mut self) -> DBNCEDONE_W { DBNCEDONE_W::new(self, 19) } diff --git a/esp32s3/src/usb0/grstctl.rs b/esp32s3/src/usb0/grstctl.rs index bdd666ef07..83ad580e3e 100644 --- a/esp32s3/src/usb0/grstctl.rs +++ b/esp32s3/src/usb0/grstctl.rs @@ -90,37 +90,31 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn csftrst(&mut self) -> CSFTRST_W { CSFTRST_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn piufssftrst(&mut self) -> PIUFSSFTRST_W { PIUFSSFTRST_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn frmcntrrst(&mut self) -> FRMCNTRRST_W { FRMCNTRRST_W::new(self, 2) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn rxfflsh(&mut self) -> RXFFLSH_W { RXFFLSH_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn txfflsh(&mut self) -> TXFFLSH_W { TXFFLSH_W::new(self, 5) } #[doc = "Bits 6:10"] #[inline(always)] - #[must_use] pub fn txfnum(&mut self) -> TXFNUM_W { TXFNUM_W::new(self, 6) } diff --git a/esp32s3/src/usb0/grxfsiz.rs b/esp32s3/src/usb0/grxfsiz.rs index 1b3760bac6..6fbfc23f7a 100644 --- a/esp32s3/src/usb0/grxfsiz.rs +++ b/esp32s3/src/usb0/grxfsiz.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn rxfdep(&mut self) -> RXFDEP_W { RXFDEP_W::new(self, 0) } diff --git a/esp32s3/src/usb0/gusbcfg.rs b/esp32s3/src/usb0/gusbcfg.rs index 0cda2361ee..1351cb9c67 100644 --- a/esp32s3/src/usb0/gusbcfg.rs +++ b/esp32s3/src/usb0/gusbcfg.rs @@ -140,67 +140,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:2"] #[inline(always)] - #[must_use] pub fn toutcal(&mut self) -> TOUTCAL_W { TOUTCAL_W::new(self, 0) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn phyif(&mut self) -> PHYIF_W { PHYIF_W::new(self, 3) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn fsintf(&mut self) -> FSINTF_W { FSINTF_W::new(self, 5) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn srpcap(&mut self) -> SRPCAP_W { SRPCAP_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn hnpcap(&mut self) -> HNPCAP_W { HNPCAP_W::new(self, 9) } #[doc = "Bits 10:13"] #[inline(always)] - #[must_use] pub fn usbtrdtim(&mut self) -> USBTRDTIM_W { USBTRDTIM_W::new(self, 10) } #[doc = "Bit 22"] #[inline(always)] - #[must_use] pub fn termseldlpulse(&mut self) -> TERMSELDLPULSE_W { TERMSELDLPULSE_W::new(self, 22) } #[doc = "Bit 28"] #[inline(always)] - #[must_use] pub fn txenddelay(&mut self) -> TXENDDELAY_W { TXENDDELAY_W::new(self, 28) } #[doc = "Bit 29"] #[inline(always)] - #[must_use] pub fn forcehstmode(&mut self) -> FORCEHSTMODE_W { FORCEHSTMODE_W::new(self, 29) } #[doc = "Bit 30"] #[inline(always)] - #[must_use] pub fn forcedevmode(&mut self) -> FORCEDEVMODE_W { FORCEDEVMODE_W::new(self, 30) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn corrupttxpkt(&mut self) -> CORRUPTTXPKT_W { CORRUPTTXPKT_W::new(self, 31) } diff --git a/esp32s3/src/usb0/haintmsk.rs b/esp32s3/src/usb0/haintmsk.rs index eed276f53e..6779448c85 100644 --- a/esp32s3/src/usb0/haintmsk.rs +++ b/esp32s3/src/usb0/haintmsk.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7"] #[inline(always)] - #[must_use] pub fn haintmsk(&mut self) -> HAINTMSK_W { HAINTMSK_W::new(self, 0) } diff --git a/esp32s3/src/usb0/hc/char.rs b/esp32s3/src/usb0/hc/char.rs index 8fa3c4a433..906fb5c5ea 100644 --- a/esp32s3/src/usb0/hc/char.rs +++ b/esp32s3/src/usb0/hc/char.rs @@ -114,61 +114,51 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10"] #[inline(always)] - #[must_use] pub fn mps(&mut self) -> MPS_W { MPS_W::new(self, 0) } #[doc = "Bits 11:14"] #[inline(always)] - #[must_use] pub fn epnum(&mut self) -> EPNUM_W { EPNUM_W::new(self, 11) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn epdir(&mut self) -> EPDIR_W { EPDIR_W::new(self, 15) } #[doc = "Bit 17"] #[inline(always)] - #[must_use] pub fn lspddev(&mut self) -> LSPDDEV_W { LSPDDEV_W::new(self, 17) } #[doc = "Bits 18:19"] #[inline(always)] - #[must_use] pub fn eptype(&mut self) -> EPTYPE_W { EPTYPE_W::new(self, 18) } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn ec(&mut self) -> EC_W { EC_W::new(self, 21) } #[doc = "Bits 22:28"] #[inline(always)] - #[must_use] pub fn devaddr(&mut self) -> DEVADDR_W { DEVADDR_W::new(self, 22) } #[doc = "Bit 29"] #[inline(always)] - #[must_use] pub fn oddfrm(&mut self) -> ODDFRM_W { ODDFRM_W::new(self, 29) } #[doc = "Bit 30"] #[inline(always)] - #[must_use] pub fn chdis(&mut self) -> CHDIS_W { CHDIS_W::new(self, 30) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn chena(&mut self) -> CHENA_W { CHENA_W::new(self, 31) } diff --git a/esp32s3/src/usb0/hc/dma.rs b/esp32s3/src/usb0/hc/dma.rs index 43d5d40c9f..8f54073847 100644 --- a/esp32s3/src/usb0/hc/dma.rs +++ b/esp32s3/src/usb0/hc/dma.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn dmaaddr(&mut self) -> DMAADDR_W { DMAADDR_W::new(self, 0) } diff --git a/esp32s3/src/usb0/hc/int.rs b/esp32s3/src/usb0/hc/int.rs index 4b1dea7eae..d8f78296bc 100644 --- a/esp32s3/src/usb0/hc/int.rs +++ b/esp32s3/src/usb0/hc/int.rs @@ -154,85 +154,71 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn xfercompl(&mut self) -> XFERCOMPL_W { XFERCOMPL_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn chhltd(&mut self) -> CHHLTD_W { CHHLTD_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn ahberr(&mut self) -> AHBERR_W { AHBERR_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn stall(&mut self) -> STALL_W { STALL_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn nack(&mut self) -> NACK_W { NACK_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn ack(&mut self) -> ACK_W { ACK_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn nyet(&mut self) -> NYET_W { NYET_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn xacterr(&mut self) -> XACTERR_W { XACTERR_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn bblerr(&mut self) -> BBLERR_W { BBLERR_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn frmovrun(&mut self) -> FRMOVRUN_W { FRMOVRUN_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn datatglerr(&mut self) -> DATATGLERR_W { DATATGLERR_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn bnaintr(&mut self) -> BNAINTR_W { BNAINTR_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn xcs_xact_err(&mut self) -> XCS_XACT_ERR_W { XCS_XACT_ERR_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn desc_lst_rollintr(&mut self) -> DESC_LST_ROLLINTR_W { DESC_LST_ROLLINTR_W::new(self, 13) } diff --git a/esp32s3/src/usb0/hc/intmsk.rs b/esp32s3/src/usb0/hc/intmsk.rs index ad418d26ff..794713f712 100644 --- a/esp32s3/src/usb0/hc/intmsk.rs +++ b/esp32s3/src/usb0/hc/intmsk.rs @@ -144,79 +144,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn xfercomplmsk(&mut self) -> XFERCOMPLMSK_W { XFERCOMPLMSK_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn chhltdmsk(&mut self) -> CHHLTDMSK_W { CHHLTDMSK_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn ahberrmsk(&mut self) -> AHBERRMSK_W { AHBERRMSK_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn stallmsk(&mut self) -> STALLMSK_W { STALLMSK_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn nakmsk(&mut self) -> NAKMSK_W { NAKMSK_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn ackmsk(&mut self) -> ACKMSK_W { ACKMSK_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn nyetmsk(&mut self) -> NYETMSK_W { NYETMSK_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn xacterrmsk(&mut self) -> XACTERRMSK_W { XACTERRMSK_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn bblerrmsk(&mut self) -> BBLERRMSK_W { BBLERRMSK_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn frmovrunmsk(&mut self) -> FRMOVRUNMSK_W { FRMOVRUNMSK_W::new(self, 9) } #[doc = "Bit 10"] #[inline(always)] - #[must_use] pub fn datatglerrmsk(&mut self) -> DATATGLERRMSK_W { DATATGLERRMSK_W::new(self, 10) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn bnaintrmsk(&mut self) -> BNAINTRMSK_W { BNAINTRMSK_W::new(self, 11) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn desc_lst_rollintrmsk(&mut self) -> DESC_LST_ROLLINTRMSK_W { DESC_LST_ROLLINTRMSK_W::new(self, 13) } diff --git a/esp32s3/src/usb0/hc/tsiz.rs b/esp32s3/src/usb0/hc/tsiz.rs index c8693b771d..30558700fd 100644 --- a/esp32s3/src/usb0/hc/tsiz.rs +++ b/esp32s3/src/usb0/hc/tsiz.rs @@ -54,25 +54,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:18"] #[inline(always)] - #[must_use] pub fn xfersize(&mut self) -> XFERSIZE_W { XFERSIZE_W::new(self, 0) } #[doc = "Bits 19:28"] #[inline(always)] - #[must_use] pub fn pktcnt(&mut self) -> PKTCNT_W { PKTCNT_W::new(self, 19) } #[doc = "Bits 29:30"] #[inline(always)] - #[must_use] pub fn pid(&mut self) -> PID_W { PID_W::new(self, 29) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn dopng(&mut self) -> DOPNG_W { DOPNG_W::new(self, 31) } diff --git a/esp32s3/src/usb0/hcfg.rs b/esp32s3/src/usb0/hcfg.rs index a716d5c156..1ca636e59a 100644 --- a/esp32s3/src/usb0/hcfg.rs +++ b/esp32s3/src/usb0/hcfg.rs @@ -84,43 +84,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn fslspclksel(&mut self) -> FSLSPCLKSEL_W { FSLSPCLKSEL_W::new(self, 0) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn fslssupp(&mut self) -> FSLSSUPP_W { FSLSSUPP_W::new(self, 2) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn ena32khzs(&mut self) -> ENA32KHZS_W { ENA32KHZS_W::new(self, 7) } #[doc = "Bit 23"] #[inline(always)] - #[must_use] pub fn descdma(&mut self) -> DESCDMA_W { DESCDMA_W::new(self, 23) } #[doc = "Bits 24:25"] #[inline(always)] - #[must_use] pub fn frlisten(&mut self) -> FRLISTEN_W { FRLISTEN_W::new(self, 24) } #[doc = "Bit 26"] #[inline(always)] - #[must_use] pub fn perschedena(&mut self) -> PERSCHEDENA_W { PERSCHEDENA_W::new(self, 26) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn modechtimen(&mut self) -> MODECHTIMEN_W { MODECHTIMEN_W::new(self, 31) } diff --git a/esp32s3/src/usb0/hfir.rs b/esp32s3/src/usb0/hfir.rs index e8a461ca6f..a9e241d9b8 100644 --- a/esp32s3/src/usb0/hfir.rs +++ b/esp32s3/src/usb0/hfir.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn frint(&mut self) -> FRINT_W { FRINT_W::new(self, 0) } #[doc = "Bit 16"] #[inline(always)] - #[must_use] pub fn hfirrldctrl(&mut self) -> HFIRRLDCTRL_W { HFIRRLDCTRL_W::new(self, 16) } diff --git a/esp32s3/src/usb0/hflbaddr.rs b/esp32s3/src/usb0/hflbaddr.rs index c3545c961f..f49a43e827 100644 --- a/esp32s3/src/usb0/hflbaddr.rs +++ b/esp32s3/src/usb0/hflbaddr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn hflbaddr(&mut self) -> HFLBADDR_W { HFLBADDR_W::new(self, 0) } diff --git a/esp32s3/src/usb0/hprt.rs b/esp32s3/src/usb0/hprt.rs index 08371ccc09..1aab1f1fb3 100644 --- a/esp32s3/src/usb0/hprt.rs +++ b/esp32s3/src/usb0/hprt.rs @@ -136,55 +136,46 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn prtconndet(&mut self) -> PRTCONNDET_W { PRTCONNDET_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn prtena(&mut self) -> PRTENA_W { PRTENA_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn prtenchng(&mut self) -> PRTENCHNG_W { PRTENCHNG_W::new(self, 3) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn prtovrcurrchng(&mut self) -> PRTOVRCURRCHNG_W { PRTOVRCURRCHNG_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn prtres(&mut self) -> PRTRES_W { PRTRES_W::new(self, 6) } #[doc = "Bit 7"] #[inline(always)] - #[must_use] pub fn prtsusp(&mut self) -> PRTSUSP_W { PRTSUSP_W::new(self, 7) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn prtrst(&mut self) -> PRTRST_W { PRTRST_W::new(self, 8) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn prtpwr(&mut self) -> PRTPWR_W { PRTPWR_W::new(self, 12) } #[doc = "Bits 13:16"] #[inline(always)] - #[must_use] pub fn prttstctl(&mut self) -> PRTTSTCTL_W { PRTTSTCTL_W::new(self, 13) } diff --git a/esp32s3/src/usb0/hptxfsiz.rs b/esp32s3/src/usb0/hptxfsiz.rs index 33af448539..9e9389cf89 100644 --- a/esp32s3/src/usb0/hptxfsiz.rs +++ b/esp32s3/src/usb0/hptxfsiz.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:15"] #[inline(always)] - #[must_use] pub fn ptxfstaddr(&mut self) -> PTXFSTADDR_W { PTXFSTADDR_W::new(self, 0) } #[doc = "Bits 16:31"] #[inline(always)] - #[must_use] pub fn ptxfsize(&mut self) -> PTXFSIZE_W { PTXFSIZE_W::new(self, 16) } diff --git a/esp32s3/src/usb0/in_ep/diepctl.rs b/esp32s3/src/usb0/in_ep/diepctl.rs index f1ccc75dc0..3edca046cf 100644 --- a/esp32s3/src/usb0/in_ep/diepctl.rs +++ b/esp32s3/src/usb0/in_ep/diepctl.rs @@ -100,67 +100,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10"] #[inline(always)] - #[must_use] pub fn mps(&mut self) -> MPS_W { MPS_W::new(self, 0) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn usbactep(&mut self) -> USBACTEP_W { USBACTEP_W::new(self, 15) } #[doc = "Bits 18:19"] #[inline(always)] - #[must_use] pub fn eptype(&mut self) -> EPTYPE_W { EPTYPE_W::new(self, 18) } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn stall(&mut self) -> STALL_W { STALL_W::new(self, 21) } #[doc = "Bits 22:25"] #[inline(always)] - #[must_use] pub fn txfnum(&mut self) -> TXFNUM_W { TXFNUM_W::new(self, 22) } #[doc = "Bit 26"] #[inline(always)] - #[must_use] pub fn cnak(&mut self) -> CNAK_W { CNAK_W::new(self, 26) } #[doc = "Bit 27"] #[inline(always)] - #[must_use] pub fn snak(&mut self) -> SNAK_W { SNAK_W::new(self, 27) } #[doc = "Bit 28"] #[inline(always)] - #[must_use] pub fn setd0pid(&mut self) -> SETD0PID_W { SETD0PID_W::new(self, 28) } #[doc = "Bit 29"] #[inline(always)] - #[must_use] pub fn setd1pid(&mut self) -> SETD1PID_W { SETD1PID_W::new(self, 29) } #[doc = "Bit 30"] #[inline(always)] - #[must_use] pub fn epdis(&mut self) -> EPDIS_W { EPDIS_W::new(self, 30) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn epena(&mut self) -> EPENA_W { EPENA_W::new(self, 31) } diff --git a/esp32s3/src/usb0/in_ep/dieptsiz.rs b/esp32s3/src/usb0/in_ep/dieptsiz.rs index b56d094260..d4b0862441 100644 --- a/esp32s3/src/usb0/in_ep/dieptsiz.rs +++ b/esp32s3/src/usb0/in_ep/dieptsiz.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:18"] #[inline(always)] - #[must_use] pub fn xfersize(&mut self) -> XFERSIZE_W { XFERSIZE_W::new(self, 0) } #[doc = "Bits 19:28"] #[inline(always)] - #[must_use] pub fn pktcnt(&mut self) -> PKTCNT_W { PKTCNT_W::new(self, 19) } diff --git a/esp32s3/src/usb0/in_ep0/diepctl.rs b/esp32s3/src/usb0/in_ep0/diepctl.rs index da2f3f3341..b5fffe659c 100644 --- a/esp32s3/src/usb0/in_ep0/diepctl.rs +++ b/esp32s3/src/usb0/in_ep0/diepctl.rs @@ -92,43 +92,36 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1"] #[inline(always)] - #[must_use] pub fn mps(&mut self) -> MPS_W { MPS_W::new(self, 0) } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn stall(&mut self) -> STALL_W { STALL_W::new(self, 21) } #[doc = "Bits 22:25"] #[inline(always)] - #[must_use] pub fn txfnum(&mut self) -> TXFNUM_W { TXFNUM_W::new(self, 22) } #[doc = "Bit 26"] #[inline(always)] - #[must_use] pub fn cnak(&mut self) -> CNAK_W { CNAK_W::new(self, 26) } #[doc = "Bit 27"] #[inline(always)] - #[must_use] pub fn snak(&mut self) -> SNAK_W { SNAK_W::new(self, 27) } #[doc = "Bit 30"] #[inline(always)] - #[must_use] pub fn epdis(&mut self) -> EPDIS_W { EPDIS_W::new(self, 30) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn epena(&mut self) -> EPENA_W { EPENA_W::new(self, 31) } diff --git a/esp32s3/src/usb0/in_ep0/diepdma.rs b/esp32s3/src/usb0/in_ep0/diepdma.rs index fda02a27d7..14e7e7eb4e 100644 --- a/esp32s3/src/usb0/in_ep0/diepdma.rs +++ b/esp32s3/src/usb0/in_ep0/diepdma.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn dmaaddr(&mut self) -> DMAADDR_W { DMAADDR_W::new(self, 0) } diff --git a/esp32s3/src/usb0/in_ep0/diepint.rs b/esp32s3/src/usb0/in_ep0/diepint.rs index 7717febbce..4b88eda259 100644 --- a/esp32s3/src/usb0/in_ep0/diepint.rs +++ b/esp32s3/src/usb0/in_ep0/diepint.rs @@ -152,79 +152,66 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn xfercompl(&mut self) -> XFERCOMPL_W { XFERCOMPL_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn epdisbld(&mut self) -> EPDISBLD_W { EPDISBLD_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn ahberr(&mut self) -> AHBERR_W { AHBERR_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn timeout(&mut self) -> TIMEOUT_W { TIMEOUT_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn intkntxfemp(&mut self) -> INTKNTXFEMP_W { INTKNTXFEMP_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn intknepmis(&mut self) -> INTKNEPMIS_W { INTKNEPMIS_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn inepnakeff(&mut self) -> INEPNAKEFF_W { INEPNAKEFF_W::new(self, 6) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn txfifoundrn(&mut self) -> TXFIFOUNDRN_W { TXFIFOUNDRN_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn bnaintr(&mut self) -> BNAINTR_W { BNAINTR_W::new(self, 9) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn pktdrpsts(&mut self) -> PKTDRPSTS_W { PKTDRPSTS_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn bbleerr(&mut self) -> BBLEERR_W { BBLEERR_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn nakintrpt(&mut self) -> NAKINTRPT_W { NAKINTRPT_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn nyetintrpt(&mut self) -> NYETINTRPT_W { NYETINTRPT_W::new(self, 14) } diff --git a/esp32s3/src/usb0/in_ep0/dieptsiz.rs b/esp32s3/src/usb0/in_ep0/dieptsiz.rs index f13b9d4f8c..41e3a4167b 100644 --- a/esp32s3/src/usb0/in_ep0/dieptsiz.rs +++ b/esp32s3/src/usb0/in_ep0/dieptsiz.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn xfersize(&mut self) -> XFERSIZE_W { XFERSIZE_W::new(self, 0) } #[doc = "Bits 19:20"] #[inline(always)] - #[must_use] pub fn pktcnt(&mut self) -> PKTCNT_W { PKTCNT_W::new(self, 19) } diff --git a/esp32s3/src/usb0/out_ep/doepctl.rs b/esp32s3/src/usb0/out_ep/doepctl.rs index 3f72a94784..8383da45f8 100644 --- a/esp32s3/src/usb0/out_ep/doepctl.rs +++ b/esp32s3/src/usb0/out_ep/doepctl.rs @@ -100,67 +100,56 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:10"] #[inline(always)] - #[must_use] pub fn mps(&mut self) -> MPS_W { MPS_W::new(self, 0) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn usbactep(&mut self) -> USBACTEP_W { USBACTEP_W::new(self, 15) } #[doc = "Bits 18:19"] #[inline(always)] - #[must_use] pub fn eptype(&mut self) -> EPTYPE_W { EPTYPE_W::new(self, 18) } #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn snp(&mut self) -> SNP_W { SNP_W::new(self, 20) } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn stall(&mut self) -> STALL_W { STALL_W::new(self, 21) } #[doc = "Bit 26"] #[inline(always)] - #[must_use] pub fn cnak(&mut self) -> CNAK_W { CNAK_W::new(self, 26) } #[doc = "Bit 27"] #[inline(always)] - #[must_use] pub fn snak(&mut self) -> SNAK_W { SNAK_W::new(self, 27) } #[doc = "Bit 28"] #[inline(always)] - #[must_use] pub fn setd0pid(&mut self) -> SETD0PID_W { SETD0PID_W::new(self, 28) } #[doc = "Bit 29"] #[inline(always)] - #[must_use] pub fn setd1pid(&mut self) -> SETD1PID_W { SETD1PID_W::new(self, 29) } #[doc = "Bit 30"] #[inline(always)] - #[must_use] pub fn epdis(&mut self) -> EPDIS_W { EPDIS_W::new(self, 30) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn epena(&mut self) -> EPENA_W { EPENA_W::new(self, 31) } diff --git a/esp32s3/src/usb0/out_ep/doeptsiz.rs b/esp32s3/src/usb0/out_ep/doeptsiz.rs index d41c10a8e2..b8fd22ab01 100644 --- a/esp32s3/src/usb0/out_ep/doeptsiz.rs +++ b/esp32s3/src/usb0/out_ep/doeptsiz.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:18"] #[inline(always)] - #[must_use] pub fn xfersize(&mut self) -> XFERSIZE_W { XFERSIZE_W::new(self, 0) } #[doc = "Bits 19:28"] #[inline(always)] - #[must_use] pub fn pktcnt(&mut self) -> PKTCNT_W { PKTCNT_W::new(self, 19) } #[doc = "Bits 29:30"] #[inline(always)] - #[must_use] pub fn supcnt(&mut self) -> SUPCNT_W { SUPCNT_W::new(self, 29) } diff --git a/esp32s3/src/usb0/out_ep0/doepctl.rs b/esp32s3/src/usb0/out_ep0/doepctl.rs index 3a49f43156..2df4e16832 100644 --- a/esp32s3/src/usb0/out_ep0/doepctl.rs +++ b/esp32s3/src/usb0/out_ep0/doepctl.rs @@ -88,31 +88,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 20"] #[inline(always)] - #[must_use] pub fn snp(&mut self) -> SNP_W { SNP_W::new(self, 20) } #[doc = "Bit 21"] #[inline(always)] - #[must_use] pub fn stall(&mut self) -> STALL_W { STALL_W::new(self, 21) } #[doc = "Bit 26"] #[inline(always)] - #[must_use] pub fn cnak(&mut self) -> CNAK_W { CNAK_W::new(self, 26) } #[doc = "Bit 27"] #[inline(always)] - #[must_use] pub fn snak(&mut self) -> SNAK_W { SNAK_W::new(self, 27) } #[doc = "Bit 31"] #[inline(always)] - #[must_use] pub fn epena(&mut self) -> EPENA_W { EPENA_W::new(self, 31) } diff --git a/esp32s3/src/usb0/out_ep0/doepdma.rs b/esp32s3/src/usb0/out_ep0/doepdma.rs index 9911f59651..ae7f29bae7 100644 --- a/esp32s3/src/usb0/out_ep0/doepdma.rs +++ b/esp32s3/src/usb0/out_ep0/doepdma.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn dmaaddr(&mut self) -> DMAADDR_W { DMAADDR_W::new(self, 0) } diff --git a/esp32s3/src/usb0/out_ep0/doepdmab.rs b/esp32s3/src/usb0/out_ep0/doepdmab.rs index 09d2730336..9cd48daf0a 100644 --- a/esp32s3/src/usb0/out_ep0/doepdmab.rs +++ b/esp32s3/src/usb0/out_ep0/doepdmab.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31"] #[inline(always)] - #[must_use] pub fn dmabufferaddr(&mut self) -> DMABUFFERADDR_W { DMABUFFERADDR_W::new(self, 0) } diff --git a/esp32s3/src/usb0/out_ep0/doepint.rs b/esp32s3/src/usb0/out_ep0/doepint.rs index 240ab32605..56aa763dba 100644 --- a/esp32s3/src/usb0/out_ep0/doepint.rs +++ b/esp32s3/src/usb0/out_ep0/doepint.rs @@ -154,85 +154,71 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn xfercompl(&mut self) -> XFERCOMPL_W { XFERCOMPL_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn epdisbld(&mut self) -> EPDISBLD_W { EPDISBLD_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn ahberr(&mut self) -> AHBERR_W { AHBERR_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn setup(&mut self) -> SETUP_W { SETUP_W::new(self, 3) } #[doc = "Bit 4"] #[inline(always)] - #[must_use] pub fn outtknepdis(&mut self) -> OUTTKNEPDIS_W { OUTTKNEPDIS_W::new(self, 4) } #[doc = "Bit 5"] #[inline(always)] - #[must_use] pub fn stsphsercvd(&mut self) -> STSPHSERCVD_W { STSPHSERCVD_W::new(self, 5) } #[doc = "Bit 6"] #[inline(always)] - #[must_use] pub fn back2backsetup(&mut self) -> BACK2BACKSETUP_W { BACK2BACKSETUP_W::new(self, 6) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn outpkterr(&mut self) -> OUTPKTERR_W { OUTPKTERR_W::new(self, 8) } #[doc = "Bit 9"] #[inline(always)] - #[must_use] pub fn bnaintr(&mut self) -> BNAINTR_W { BNAINTR_W::new(self, 9) } #[doc = "Bit 11"] #[inline(always)] - #[must_use] pub fn pktdrpsts(&mut self) -> PKTDRPSTS_W { PKTDRPSTS_W::new(self, 11) } #[doc = "Bit 12"] #[inline(always)] - #[must_use] pub fn bbleerr(&mut self) -> BBLEERR_W { BBLEERR_W::new(self, 12) } #[doc = "Bit 13"] #[inline(always)] - #[must_use] pub fn nakintrpt(&mut self) -> NAKINTRPT_W { NAKINTRPT_W::new(self, 13) } #[doc = "Bit 14"] #[inline(always)] - #[must_use] pub fn nyepintrpt(&mut self) -> NYEPINTRPT_W { NYEPINTRPT_W::new(self, 14) } #[doc = "Bit 15"] #[inline(always)] - #[must_use] pub fn stuppktrcvd(&mut self) -> STUPPKTRCVD_W { STUPPKTRCVD_W::new(self, 15) } diff --git a/esp32s3/src/usb0/out_ep0/doeptsiz.rs b/esp32s3/src/usb0/out_ep0/doeptsiz.rs index 5224d73bbe..9b13801902 100644 --- a/esp32s3/src/usb0/out_ep0/doeptsiz.rs +++ b/esp32s3/src/usb0/out_ep0/doeptsiz.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:6"] #[inline(always)] - #[must_use] pub fn xfersize(&mut self) -> XFERSIZE_W { XFERSIZE_W::new(self, 0) } #[doc = "Bit 19"] #[inline(always)] - #[must_use] pub fn pktcnt(&mut self) -> PKTCNT_W { PKTCNT_W::new(self, 19) } #[doc = "Bits 29:30"] #[inline(always)] - #[must_use] pub fn supcnt(&mut self) -> SUPCNT_W { SUPCNT_W::new(self, 29) } diff --git a/esp32s3/src/usb0/pcgcctl.rs b/esp32s3/src/usb0/pcgcctl.rs index c649b0ccab..06ebb2daad 100644 --- a/esp32s3/src/usb0/pcgcctl.rs +++ b/esp32s3/src/usb0/pcgcctl.rs @@ -80,31 +80,26 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0"] #[inline(always)] - #[must_use] pub fn stoppclk(&mut self) -> STOPPCLK_W { STOPPCLK_W::new(self, 0) } #[doc = "Bit 1"] #[inline(always)] - #[must_use] pub fn gatehclk(&mut self) -> GATEHCLK_W { GATEHCLK_W::new(self, 1) } #[doc = "Bit 2"] #[inline(always)] - #[must_use] pub fn pwrclmp(&mut self) -> PWRCLMP_W { PWRCLMP_W::new(self, 2) } #[doc = "Bit 3"] #[inline(always)] - #[must_use] pub fn rstpdwnmodule(&mut self) -> RSTPDWNMODULE_W { RSTPDWNMODULE_W::new(self, 3) } #[doc = "Bit 8"] #[inline(always)] - #[must_use] pub fn resetaftersusp(&mut self) -> RESETAFTERSUSP_W { RESETAFTERSUSP_W::new(self, 8) } diff --git a/esp32s3/src/usb_device/conf0.rs b/esp32s3/src/usb_device/conf0.rs index b440b2729e..5e649c543f 100644 --- a/esp32s3/src/usb_device/conf0.rs +++ b/esp32s3/src/usb_device/conf0.rs @@ -164,91 +164,76 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Select internal/external PHY"] #[inline(always)] - #[must_use] pub fn phy_sel(&mut self) -> PHY_SEL_W { PHY_SEL_W::new(self, 0) } #[doc = "Bit 1 - Enable software control USB D+ D- exchange"] #[inline(always)] - #[must_use] pub fn exchg_pins_override(&mut self) -> EXCHG_PINS_OVERRIDE_W { EXCHG_PINS_OVERRIDE_W::new(self, 1) } #[doc = "Bit 2 - USB D+ D- exchange"] #[inline(always)] - #[must_use] pub fn exchg_pins(&mut self) -> EXCHG_PINS_W { EXCHG_PINS_W::new(self, 2) } #[doc = "Bits 3:4 - Control single-end input high threshold,1.76V to 2V, step 80mV"] #[inline(always)] - #[must_use] pub fn vrefh(&mut self) -> VREFH_W { VREFH_W::new(self, 3) } #[doc = "Bits 5:6 - Control single-end input low threshold,0.8V to 1.04V, step 80mV"] #[inline(always)] - #[must_use] pub fn vrefl(&mut self) -> VREFL_W { VREFL_W::new(self, 5) } #[doc = "Bit 7 - Enable software control input threshold"] #[inline(always)] - #[must_use] pub fn vref_override(&mut self) -> VREF_OVERRIDE_W { VREF_OVERRIDE_W::new(self, 7) } #[doc = "Bit 8 - Enable software control USB D+ D- pullup pulldown"] #[inline(always)] - #[must_use] pub fn pad_pull_override(&mut self) -> PAD_PULL_OVERRIDE_W { PAD_PULL_OVERRIDE_W::new(self, 8) } #[doc = "Bit 9 - Control USB D+ pull up."] #[inline(always)] - #[must_use] pub fn dp_pullup(&mut self) -> DP_PULLUP_W { DP_PULLUP_W::new(self, 9) } #[doc = "Bit 10 - Control USB D+ pull down."] #[inline(always)] - #[must_use] pub fn dp_pulldown(&mut self) -> DP_PULLDOWN_W { DP_PULLDOWN_W::new(self, 10) } #[doc = "Bit 11 - Control USB D- pull up."] #[inline(always)] - #[must_use] pub fn dm_pullup(&mut self) -> DM_PULLUP_W { DM_PULLUP_W::new(self, 11) } #[doc = "Bit 12 - Control USB D- pull down."] #[inline(always)] - #[must_use] pub fn dm_pulldown(&mut self) -> DM_PULLDOWN_W { DM_PULLDOWN_W::new(self, 12) } #[doc = "Bit 13 - Control pull up value."] #[inline(always)] - #[must_use] pub fn pullup_value(&mut self) -> PULLUP_VALUE_W { PULLUP_VALUE_W::new(self, 13) } #[doc = "Bit 14 - Enable USB pad function."] #[inline(always)] - #[must_use] pub fn usb_pad_enable(&mut self) -> USB_PAD_ENABLE_W { USB_PAD_ENABLE_W::new(self, 14) } #[doc = "Bit 15 - 0: TX output at clock negedge. 1: Tx output at clock posedge."] #[inline(always)] - #[must_use] pub fn phy_tx_edge_sel(&mut self) -> PHY_TX_EDGE_SEL_W { PHY_TX_EDGE_SEL_W::new(self, 15) } #[doc = "Bit 16 - Set this bit usb_jtag, the connection between usb_jtag and internal JTAG is disconnected, and MTMS, MTDI, MTCK are output through GPIO Matrix, MTDO is input through GPIO Matrix."] #[inline(always)] - #[must_use] pub fn usb_jtag_bridge_en(&mut self) -> USB_JTAG_BRIDGE_EN_W { USB_JTAG_BRIDGE_EN_W::new(self, 16) } diff --git a/esp32s3/src/usb_device/date.rs b/esp32s3/src/usb_device/date.rs index 38aba9442b..2e18cb3610 100644 --- a/esp32s3/src/usb_device/date.rs +++ b/esp32s3/src/usb_device/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - register version."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s3/src/usb_device/ep1.rs b/esp32s3/src/usb_device/ep1.rs index 33361b40e1..64f2dc6194 100644 --- a/esp32s3/src/usb_device/ep1.rs +++ b/esp32s3/src/usb_device/ep1.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:7 - Write and read byte data to/from UART Tx/Rx FIFO through this field. When USB_DEVICE_SERIAL_IN_EMPTY_INT is set, then user can write data (up to 64 bytes) into UART Tx FIFO. When USB_DEVICE_SERIAL_OUT_RECV_PKT_INT is set, user can check USB_DEVICE_OUT_EP1_WR_ADDR USB_DEVICE_OUT_EP0_RD_ADDR to know how many data is received, then read data from UART Rx FIFO."] #[inline(always)] - #[must_use] pub fn rdwr_byte(&mut self) -> RDWR_BYTE_W { RDWR_BYTE_W::new(self, 0) } diff --git a/esp32s3/src/usb_device/ep1_conf.rs b/esp32s3/src/usb_device/ep1_conf.rs index 2d6cfbf003..e7e2b173ef 100644 --- a/esp32s3/src/usb_device/ep1_conf.rs +++ b/esp32s3/src/usb_device/ep1_conf.rs @@ -32,7 +32,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Set this bit to indicate writing byte data to UART Tx FIFO is done."] #[inline(always)] - #[must_use] pub fn wr_done(&mut self) -> WR_DONE_W { WR_DONE_W::new(self, 0) } diff --git a/esp32s3/src/usb_device/int_clr.rs b/esp32s3/src/usb_device/int_clr.rs index 1dfebfc477..897bc31f0c 100644 --- a/esp32s3/src/usb_device/int_clr.rs +++ b/esp32s3/src/usb_device/int_clr.rs @@ -33,73 +33,61 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Set this bit to clear the USB_DEVICE_JTAG_IN_FLUSH_INT interrupt."] #[inline(always)] - #[must_use] pub fn jtag_in_flush(&mut self) -> JTAG_IN_FLUSH_W { JTAG_IN_FLUSH_W::new(self, 0) } #[doc = "Bit 1 - Set this bit to clear the USB_DEVICE_JTAG_SOF_INT interrupt."] #[inline(always)] - #[must_use] pub fn sof(&mut self) -> SOF_W { SOF_W::new(self, 1) } #[doc = "Bit 2 - Set this bit to clear the USB_DEVICE_SERIAL_OUT_RECV_PKT_INT interrupt."] #[inline(always)] - #[must_use] pub fn serial_out_recv_pkt(&mut self) -> SERIAL_OUT_RECV_PKT_W { SERIAL_OUT_RECV_PKT_W::new(self, 2) } #[doc = "Bit 3 - Set this bit to clear the USB_DEVICE_SERIAL_IN_EMPTY_INT interrupt."] #[inline(always)] - #[must_use] pub fn serial_in_empty(&mut self) -> SERIAL_IN_EMPTY_W { SERIAL_IN_EMPTY_W::new(self, 3) } #[doc = "Bit 4 - Set this bit to clear the USB_DEVICE_PID_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn pid_err(&mut self) -> PID_ERR_W { PID_ERR_W::new(self, 4) } #[doc = "Bit 5 - Set this bit to clear the USB_DEVICE_CRC5_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn crc5_err(&mut self) -> CRC5_ERR_W { CRC5_ERR_W::new(self, 5) } #[doc = "Bit 6 - Set this bit to clear the USB_DEVICE_CRC16_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn crc16_err(&mut self) -> CRC16_ERR_W { CRC16_ERR_W::new(self, 6) } #[doc = "Bit 7 - Set this bit to clear the USB_DEVICE_STUFF_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn stuff_err(&mut self) -> STUFF_ERR_W { STUFF_ERR_W::new(self, 7) } #[doc = "Bit 8 - Set this bit to clear the USB_DEVICE_IN_TOKEN_IN_EP1_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_token_rec_in_ep1(&mut self) -> IN_TOKEN_REC_IN_EP1_W { IN_TOKEN_REC_IN_EP1_W::new(self, 8) } #[doc = "Bit 9 - Set this bit to clear the USB_DEVICE_USB_BUS_RESET_INT interrupt."] #[inline(always)] - #[must_use] pub fn usb_bus_reset(&mut self) -> USB_BUS_RESET_W { USB_BUS_RESET_W::new(self, 9) } #[doc = "Bit 10 - Set this bit to clear the USB_DEVICE_OUT_EP1_ZERO_PAYLOAD_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_ep1_zero_payload(&mut self) -> OUT_EP1_ZERO_PAYLOAD_W { OUT_EP1_ZERO_PAYLOAD_W::new(self, 10) } #[doc = "Bit 11 - Set this bit to clear the USB_DEVICE_OUT_EP2_ZERO_PAYLOAD_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_ep2_zero_payload(&mut self) -> OUT_EP2_ZERO_PAYLOAD_W { OUT_EP2_ZERO_PAYLOAD_W::new(self, 11) } diff --git a/esp32s3/src/usb_device/int_ena.rs b/esp32s3/src/usb_device/int_ena.rs index c44aa82a84..7b0cfe0184 100644 --- a/esp32s3/src/usb_device/int_ena.rs +++ b/esp32s3/src/usb_device/int_ena.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The interrupt enable bit for the USB_DEVICE_JTAG_IN_FLUSH_INT interrupt."] #[inline(always)] - #[must_use] pub fn jtag_in_flush(&mut self) -> JTAG_IN_FLUSH_W { JTAG_IN_FLUSH_W::new(self, 0) } #[doc = "Bit 1 - The interrupt enable bit for the USB_DEVICE_SOF_INT interrupt."] #[inline(always)] - #[must_use] pub fn sof(&mut self) -> SOF_W { SOF_W::new(self, 1) } #[doc = "Bit 2 - The interrupt enable bit for the USB_DEVICE_SERIAL_OUT_RECV_PKT_INT interrupt."] #[inline(always)] - #[must_use] pub fn serial_out_recv_pkt(&mut self) -> SERIAL_OUT_RECV_PKT_W { SERIAL_OUT_RECV_PKT_W::new(self, 2) } #[doc = "Bit 3 - The interrupt enable bit for the USB_DEVICE_SERIAL_IN_EMPTY_INT interrupt."] #[inline(always)] - #[must_use] pub fn serial_in_empty(&mut self) -> SERIAL_IN_EMPTY_W { SERIAL_IN_EMPTY_W::new(self, 3) } #[doc = "Bit 4 - The interrupt enable bit for the USB_DEVICE_PID_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn pid_err(&mut self) -> PID_ERR_W { PID_ERR_W::new(self, 4) } #[doc = "Bit 5 - The interrupt enable bit for the USB_DEVICE_CRC5_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn crc5_err(&mut self) -> CRC5_ERR_W { CRC5_ERR_W::new(self, 5) } #[doc = "Bit 6 - The interrupt enable bit for the USB_DEVICE_CRC16_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn crc16_err(&mut self) -> CRC16_ERR_W { CRC16_ERR_W::new(self, 6) } #[doc = "Bit 7 - The interrupt enable bit for the USB_DEVICE_STUFF_ERR_INT interrupt."] #[inline(always)] - #[must_use] pub fn stuff_err(&mut self) -> STUFF_ERR_W { STUFF_ERR_W::new(self, 7) } #[doc = "Bit 8 - The interrupt enable bit for the USB_DEVICE_IN_TOKEN_REC_IN_EP1_INT interrupt."] #[inline(always)] - #[must_use] pub fn in_token_rec_in_ep1(&mut self) -> IN_TOKEN_REC_IN_EP1_W { IN_TOKEN_REC_IN_EP1_W::new(self, 8) } #[doc = "Bit 9 - The interrupt enable bit for the USB_DEVICE_USB_BUS_RESET_INT interrupt."] #[inline(always)] - #[must_use] pub fn usb_bus_reset(&mut self) -> USB_BUS_RESET_W { USB_BUS_RESET_W::new(self, 9) } #[doc = "Bit 10 - The interrupt enable bit for the USB_DEVICE_OUT_EP1_ZERO_PAYLOAD_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_ep1_zero_payload(&mut self) -> OUT_EP1_ZERO_PAYLOAD_W { OUT_EP1_ZERO_PAYLOAD_W::new(self, 10) } #[doc = "Bit 11 - The interrupt enable bit for the USB_DEVICE_OUT_EP2_ZERO_PAYLOAD_INT interrupt."] #[inline(always)] - #[must_use] pub fn out_ep2_zero_payload(&mut self) -> OUT_EP2_ZERO_PAYLOAD_W { OUT_EP2_ZERO_PAYLOAD_W::new(self, 11) } diff --git a/esp32s3/src/usb_device/int_raw.rs b/esp32s3/src/usb_device/int_raw.rs index ca5a01f513..f209aa676c 100644 --- a/esp32s3/src/usb_device/int_raw.rs +++ b/esp32s3/src/usb_device/int_raw.rs @@ -134,73 +134,61 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - The raw interrupt bit turns to high level when flush cmd is received for IN endpoint 2 of JTAG."] #[inline(always)] - #[must_use] pub fn jtag_in_flush(&mut self) -> JTAG_IN_FLUSH_W { JTAG_IN_FLUSH_W::new(self, 0) } #[doc = "Bit 1 - The raw interrupt bit turns to high level when SOF frame is received."] #[inline(always)] - #[must_use] pub fn sof(&mut self) -> SOF_W { SOF_W::new(self, 1) } #[doc = "Bit 2 - The raw interrupt bit turns to high level when Serial Port OUT Endpoint received one packet."] #[inline(always)] - #[must_use] pub fn serial_out_recv_pkt(&mut self) -> SERIAL_OUT_RECV_PKT_W { SERIAL_OUT_RECV_PKT_W::new(self, 2) } #[doc = "Bit 3 - The raw interrupt bit turns to high level when Serial Port IN Endpoint is empty."] #[inline(always)] - #[must_use] pub fn serial_in_empty(&mut self) -> SERIAL_IN_EMPTY_W { SERIAL_IN_EMPTY_W::new(self, 3) } #[doc = "Bit 4 - The raw interrupt bit turns to high level when pid error is detected."] #[inline(always)] - #[must_use] pub fn pid_err(&mut self) -> PID_ERR_W { PID_ERR_W::new(self, 4) } #[doc = "Bit 5 - The raw interrupt bit turns to high level when CRC5 error is detected."] #[inline(always)] - #[must_use] pub fn crc5_err(&mut self) -> CRC5_ERR_W { CRC5_ERR_W::new(self, 5) } #[doc = "Bit 6 - The raw interrupt bit turns to high level when CRC16 error is detected."] #[inline(always)] - #[must_use] pub fn crc16_err(&mut self) -> CRC16_ERR_W { CRC16_ERR_W::new(self, 6) } #[doc = "Bit 7 - The raw interrupt bit turns to high level when stuff error is detected."] #[inline(always)] - #[must_use] pub fn stuff_err(&mut self) -> STUFF_ERR_W { STUFF_ERR_W::new(self, 7) } #[doc = "Bit 8 - The raw interrupt bit turns to high level when IN token for IN endpoint 1 is received."] #[inline(always)] - #[must_use] pub fn in_token_rec_in_ep1(&mut self) -> IN_TOKEN_REC_IN_EP1_W { IN_TOKEN_REC_IN_EP1_W::new(self, 8) } #[doc = "Bit 9 - The raw interrupt bit turns to high level when usb bus reset is detected."] #[inline(always)] - #[must_use] pub fn usb_bus_reset(&mut self) -> USB_BUS_RESET_W { USB_BUS_RESET_W::new(self, 9) } #[doc = "Bit 10 - The raw interrupt bit turns to high level when OUT endpoint 1 received packet with zero palyload."] #[inline(always)] - #[must_use] pub fn out_ep1_zero_payload(&mut self) -> OUT_EP1_ZERO_PAYLOAD_W { OUT_EP1_ZERO_PAYLOAD_W::new(self, 10) } #[doc = "Bit 11 - The raw interrupt bit turns to high level when OUT endpoint 2 received packet with zero palyload."] #[inline(always)] - #[must_use] pub fn out_ep2_zero_payload(&mut self) -> OUT_EP2_ZERO_PAYLOAD_W { OUT_EP2_ZERO_PAYLOAD_W::new(self, 11) } diff --git a/esp32s3/src/usb_device/jfifo_st.rs b/esp32s3/src/usb_device/jfifo_st.rs index e9f8ff45d9..bd6d30da46 100644 --- a/esp32s3/src/usb_device/jfifo_st.rs +++ b/esp32s3/src/usb_device/jfifo_st.rs @@ -82,13 +82,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 8 - Write 1 to reset JTAG in fifo."] #[inline(always)] - #[must_use] pub fn in_fifo_reset(&mut self) -> IN_FIFO_RESET_W { IN_FIFO_RESET_W::new(self, 8) } #[doc = "Bit 9 - Write 1 to reset JTAG out fifo."] #[inline(always)] - #[must_use] pub fn out_fifo_reset(&mut self) -> OUT_FIFO_RESET_W { OUT_FIFO_RESET_W::new(self, 9) } diff --git a/esp32s3/src/usb_device/mem_conf.rs b/esp32s3/src/usb_device/mem_conf.rs index 215c196888..ca51b75f61 100644 --- a/esp32s3/src/usb_device/mem_conf.rs +++ b/esp32s3/src/usb_device/mem_conf.rs @@ -34,13 +34,11 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1: power down usb memory."] #[inline(always)] - #[must_use] pub fn usb_mem_pd(&mut self) -> USB_MEM_PD_W { USB_MEM_PD_W::new(self, 0) } #[doc = "Bit 1 - 1: Force clock on for usb memory."] #[inline(always)] - #[must_use] pub fn usb_mem_clk_en(&mut self) -> USB_MEM_CLK_EN_W { USB_MEM_CLK_EN_W::new(self, 1) } diff --git a/esp32s3/src/usb_device/misc_conf.rs b/esp32s3/src/usb_device/misc_conf.rs index b3a8aa2992..a2cca44672 100644 --- a/esp32s3/src/usb_device/misc_conf.rs +++ b/esp32s3/src/usb_device/misc_conf.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - 1'h1: Force clock on for register. 1'h0: Support clock only when application writes registers."] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 0) } diff --git a/esp32s3/src/usb_device/test.rs b/esp32s3/src/usb_device/test.rs index 071d92dfa1..051397a2ce 100644 --- a/esp32s3/src/usb_device/test.rs +++ b/esp32s3/src/usb_device/test.rs @@ -78,25 +78,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Enable test of the USB pad"] #[inline(always)] - #[must_use] pub fn enable(&mut self) -> ENABLE_W { ENABLE_W::new(self, 0) } #[doc = "Bit 1 - USB pad oen in test"] #[inline(always)] - #[must_use] pub fn usb_oe(&mut self) -> USB_OE_W { USB_OE_W::new(self, 1) } #[doc = "Bit 2 - USB D+ tx value in test"] #[inline(always)] - #[must_use] pub fn tx_dp(&mut self) -> TX_DP_W { TX_DP_W::new(self, 2) } #[doc = "Bit 3 - USB D- tx value in test"] #[inline(always)] - #[must_use] pub fn tx_dm(&mut self) -> TX_DM_W { TX_DM_W::new(self, 3) } diff --git a/esp32s3/src/usb_wrap/date.rs b/esp32s3/src/usb_wrap/date.rs index be3aa8c786..cfa07ba774 100644 --- a/esp32s3/src/usb_wrap/date.rs +++ b/esp32s3/src/usb_wrap/date.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Date register"] #[inline(always)] - #[must_use] pub fn usb_wrap_date(&mut self) -> USB_WRAP_DATE_W { USB_WRAP_DATE_W::new(self, 0) } diff --git a/esp32s3/src/usb_wrap/otg_conf.rs b/esp32s3/src/usb_wrap/otg_conf.rs index e0c91f9dd3..c438ca8f25 100644 --- a/esp32s3/src/usb_wrap/otg_conf.rs +++ b/esp32s3/src/usb_wrap/otg_conf.rs @@ -234,133 +234,111 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to enable the software over-ride of srp session end signal. 1'b0: the signal is controlled by the chip input. 1'b1: the signal is controlled by the software."] #[inline(always)] - #[must_use] pub fn srp_sessend_override(&mut self) -> SRP_SESSEND_OVERRIDE_W { SRP_SESSEND_OVERRIDE_W::new(self, 0) } #[doc = "Bit 1 - Software over-ride value of srp session end signal."] #[inline(always)] - #[must_use] pub fn srp_sessend_value(&mut self) -> SRP_SESSEND_VALUE_W { SRP_SESSEND_VALUE_W::new(self, 1) } #[doc = "Bit 2 - Select internal external PHY. 1'b0: Select internal PHY. 1'b1: Select external PHY."] #[inline(always)] - #[must_use] pub fn phy_sel(&mut self) -> PHY_SEL_W { PHY_SEL_W::new(self, 2) } #[doc = "Bit 3 - Force the dfifo to go into low power mode. The data in dfifo will not lost."] #[inline(always)] - #[must_use] pub fn dfifo_force_pd(&mut self) -> DFIFO_FORCE_PD_W { DFIFO_FORCE_PD_W::new(self, 3) } #[doc = "Bit 4 - Bypass Debounce filters for avalid,bvalid,vbusvalid,session end, id signals"] #[inline(always)] - #[must_use] pub fn dbnce_fltr_bypass(&mut self) -> DBNCE_FLTR_BYPASS_W { DBNCE_FLTR_BYPASS_W::new(self, 4) } #[doc = "Bit 5 - Enable software controlle USB D+ D- exchange"] #[inline(always)] - #[must_use] pub fn exchg_pins_override(&mut self) -> EXCHG_PINS_OVERRIDE_W { EXCHG_PINS_OVERRIDE_W::new(self, 5) } #[doc = "Bit 6 - USB D+ D- exchange. 1'b0: don't change. 1'b1: exchange D+ D-"] #[inline(always)] - #[must_use] pub fn exchg_pins(&mut self) -> EXCHG_PINS_W { EXCHG_PINS_W::new(self, 6) } #[doc = "Bits 7:8 - Control single-end input high threshold,1.76V to 2V, step 80mV"] #[inline(always)] - #[must_use] pub fn vrefh(&mut self) -> VREFH_W { VREFH_W::new(self, 7) } #[doc = "Bits 9:10 - Control single-end input low threshold,0.8V to 1.04V, step 80mV"] #[inline(always)] - #[must_use] pub fn vrefl(&mut self) -> VREFL_W { VREFL_W::new(self, 9) } #[doc = "Bit 11 - Enable software controlle input threshold"] #[inline(always)] - #[must_use] pub fn vref_override(&mut self) -> VREF_OVERRIDE_W { VREF_OVERRIDE_W::new(self, 11) } #[doc = "Bit 12 - Enable software controlle USB D+ D- pullup pulldown"] #[inline(always)] - #[must_use] pub fn pad_pull_override(&mut self) -> PAD_PULL_OVERRIDE_W { PAD_PULL_OVERRIDE_W::new(self, 12) } #[doc = "Bit 13 - Controlle USB D+ pullup"] #[inline(always)] - #[must_use] pub fn dp_pullup(&mut self) -> DP_PULLUP_W { DP_PULLUP_W::new(self, 13) } #[doc = "Bit 14 - Controlle USB D+ pulldown"] #[inline(always)] - #[must_use] pub fn dp_pulldown(&mut self) -> DP_PULLDOWN_W { DP_PULLDOWN_W::new(self, 14) } #[doc = "Bit 15 - Controlle USB D+ pullup"] #[inline(always)] - #[must_use] pub fn dm_pullup(&mut self) -> DM_PULLUP_W { DM_PULLUP_W::new(self, 15) } #[doc = "Bit 16 - Controlle USB D+ pulldown"] #[inline(always)] - #[must_use] pub fn dm_pulldown(&mut self) -> DM_PULLDOWN_W { DM_PULLDOWN_W::new(self, 16) } #[doc = "Bit 17 - Controlle pullup value. 1'b0: typical value is 2.4K. 1'b1: typical value is 1.2K."] #[inline(always)] - #[must_use] pub fn pullup_value(&mut self) -> PULLUP_VALUE_W { PULLUP_VALUE_W::new(self, 17) } #[doc = "Bit 18 - Enable USB pad function"] #[inline(always)] - #[must_use] pub fn usb_pad_enable(&mut self) -> USB_PAD_ENABLE_W { USB_PAD_ENABLE_W::new(self, 18) } #[doc = "Bit 19 - Force ahb clock always on"] #[inline(always)] - #[must_use] pub fn ahb_clk_force_on(&mut self) -> AHB_CLK_FORCE_ON_W { AHB_CLK_FORCE_ON_W::new(self, 19) } #[doc = "Bit 20 - Force phy clock always on"] #[inline(always)] - #[must_use] pub fn phy_clk_force_on(&mut self) -> PHY_CLK_FORCE_ON_W { PHY_CLK_FORCE_ON_W::new(self, 20) } #[doc = "Bit 21 - Select phy tx signal output clock edge. 1'b0: negedge. 1'b1: posedge."] #[inline(always)] - #[must_use] pub fn phy_tx_edge_sel(&mut self) -> PHY_TX_EDGE_SEL_W { PHY_TX_EDGE_SEL_W::new(self, 21) } #[doc = "Bit 22 - Disable the dfifo to go into low power mode. The data in dfifo will not lost."] #[inline(always)] - #[must_use] pub fn dfifo_force_pu(&mut self) -> DFIFO_FORCE_PU_W { DFIFO_FORCE_PU_W::new(self, 22) } #[doc = "Bit 31 - Disable auto clock gating of CSR registers"] #[inline(always)] - #[must_use] pub fn clk_en(&mut self) -> CLK_EN_W { CLK_EN_W::new(self, 31) } diff --git a/esp32s3/src/usb_wrap/test_conf.rs b/esp32s3/src/usb_wrap/test_conf.rs index 914f0057a7..fafff78a2a 100644 --- a/esp32s3/src/usb_wrap/test_conf.rs +++ b/esp32s3/src/usb_wrap/test_conf.rs @@ -78,25 +78,21 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Enable test of the USB pad"] #[inline(always)] - #[must_use] pub fn test_enable(&mut self) -> TEST_ENABLE_W { TEST_ENABLE_W::new(self, 0) } #[doc = "Bit 1 - USB pad oen in test"] #[inline(always)] - #[must_use] pub fn test_usb_oe(&mut self) -> TEST_USB_OE_W { TEST_USB_OE_W::new(self, 1) } #[doc = "Bit 2 - USB D+ tx value in test"] #[inline(always)] - #[must_use] pub fn test_tx_dp(&mut self) -> TEST_TX_DP_W { TEST_TX_DP_W::new(self, 2) } #[doc = "Bit 3 - USB D- tx value in test"] #[inline(always)] - #[must_use] pub fn test_tx_dm(&mut self) -> TEST_TX_DM_W { TEST_TX_DM_W::new(self, 3) } diff --git a/esp32s3/src/wcl/core_0_entry_10_addr.rs b/esp32s3/src/wcl/core_0_entry_10_addr.rs index 14e9d28ea3..0bc0a62e45 100644 --- a/esp32s3/src/wcl/core_0_entry_10_addr.rs +++ b/esp32s3/src/wcl/core_0_entry_10_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core_0 Entry 10 address from WORLD1 to WORLD0"] #[inline(always)] - #[must_use] pub fn core_0_entry_10_addr(&mut self) -> CORE_0_ENTRY_10_ADDR_W { CORE_0_ENTRY_10_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/wcl/core_0_entry_11_addr.rs b/esp32s3/src/wcl/core_0_entry_11_addr.rs index 0717576f41..fb746c3ddc 100644 --- a/esp32s3/src/wcl/core_0_entry_11_addr.rs +++ b/esp32s3/src/wcl/core_0_entry_11_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core_0 Entry 11 address from WORLD1 to WORLD0"] #[inline(always)] - #[must_use] pub fn core_0_entry_11_addr(&mut self) -> CORE_0_ENTRY_11_ADDR_W { CORE_0_ENTRY_11_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/wcl/core_0_entry_12_addr.rs b/esp32s3/src/wcl/core_0_entry_12_addr.rs index df31350b0c..6e491ccdb0 100644 --- a/esp32s3/src/wcl/core_0_entry_12_addr.rs +++ b/esp32s3/src/wcl/core_0_entry_12_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core_0 Entry 12 address from WORLD1 to WORLD0"] #[inline(always)] - #[must_use] pub fn core_0_entry_12_addr(&mut self) -> CORE_0_ENTRY_12_ADDR_W { CORE_0_ENTRY_12_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/wcl/core_0_entry_13_addr.rs b/esp32s3/src/wcl/core_0_entry_13_addr.rs index a0604bb41f..3aec82c593 100644 --- a/esp32s3/src/wcl/core_0_entry_13_addr.rs +++ b/esp32s3/src/wcl/core_0_entry_13_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core_0 Entry 13 address from WORLD1 to WORLD0"] #[inline(always)] - #[must_use] pub fn core_0_entry_13_addr(&mut self) -> CORE_0_ENTRY_13_ADDR_W { CORE_0_ENTRY_13_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/wcl/core_0_entry_1_addr.rs b/esp32s3/src/wcl/core_0_entry_1_addr.rs index d363a450d7..e433c14ba2 100644 --- a/esp32s3/src/wcl/core_0_entry_1_addr.rs +++ b/esp32s3/src/wcl/core_0_entry_1_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core_0 Entry 1 address from WORLD1 to WORLD0"] #[inline(always)] - #[must_use] pub fn core_0_entry_1_addr(&mut self) -> CORE_0_ENTRY_1_ADDR_W { CORE_0_ENTRY_1_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/wcl/core_0_entry_2_addr.rs b/esp32s3/src/wcl/core_0_entry_2_addr.rs index 555ebf5995..6e81c45a8e 100644 --- a/esp32s3/src/wcl/core_0_entry_2_addr.rs +++ b/esp32s3/src/wcl/core_0_entry_2_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core_0 Entry 2 address from WORLD1 to WORLD0"] #[inline(always)] - #[must_use] pub fn core_0_entry_2_addr(&mut self) -> CORE_0_ENTRY_2_ADDR_W { CORE_0_ENTRY_2_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/wcl/core_0_entry_3_addr.rs b/esp32s3/src/wcl/core_0_entry_3_addr.rs index ea031dc1ec..4148a7ba50 100644 --- a/esp32s3/src/wcl/core_0_entry_3_addr.rs +++ b/esp32s3/src/wcl/core_0_entry_3_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core_0 Entry 3 address from WORLD1 to WORLD0"] #[inline(always)] - #[must_use] pub fn core_0_entry_3_addr(&mut self) -> CORE_0_ENTRY_3_ADDR_W { CORE_0_ENTRY_3_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/wcl/core_0_entry_4_addr.rs b/esp32s3/src/wcl/core_0_entry_4_addr.rs index c0acbb3efe..0aaa8a5857 100644 --- a/esp32s3/src/wcl/core_0_entry_4_addr.rs +++ b/esp32s3/src/wcl/core_0_entry_4_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core_0 Entry 4 address from WORLD1 to WORLD0"] #[inline(always)] - #[must_use] pub fn core_0_entry_4_addr(&mut self) -> CORE_0_ENTRY_4_ADDR_W { CORE_0_ENTRY_4_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/wcl/core_0_entry_5_addr.rs b/esp32s3/src/wcl/core_0_entry_5_addr.rs index 8ee8192b4e..c1d6b81a5a 100644 --- a/esp32s3/src/wcl/core_0_entry_5_addr.rs +++ b/esp32s3/src/wcl/core_0_entry_5_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core_0 Entry 5 address from WORLD1 to WORLD0"] #[inline(always)] - #[must_use] pub fn core_0_entry_5_addr(&mut self) -> CORE_0_ENTRY_5_ADDR_W { CORE_0_ENTRY_5_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/wcl/core_0_entry_6_addr.rs b/esp32s3/src/wcl/core_0_entry_6_addr.rs index c417758ce8..0dd33460f2 100644 --- a/esp32s3/src/wcl/core_0_entry_6_addr.rs +++ b/esp32s3/src/wcl/core_0_entry_6_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core_0 Entry 6 address from WORLD1 to WORLD0"] #[inline(always)] - #[must_use] pub fn core_0_entry_6_addr(&mut self) -> CORE_0_ENTRY_6_ADDR_W { CORE_0_ENTRY_6_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/wcl/core_0_entry_7_addr.rs b/esp32s3/src/wcl/core_0_entry_7_addr.rs index 0b33a3765d..b06ea9ef9f 100644 --- a/esp32s3/src/wcl/core_0_entry_7_addr.rs +++ b/esp32s3/src/wcl/core_0_entry_7_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core_0 Entry 7 address from WORLD1 to WORLD0"] #[inline(always)] - #[must_use] pub fn core_0_entry_7_addr(&mut self) -> CORE_0_ENTRY_7_ADDR_W { CORE_0_ENTRY_7_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/wcl/core_0_entry_8_addr.rs b/esp32s3/src/wcl/core_0_entry_8_addr.rs index 9efe0490e4..8e6ac5f83b 100644 --- a/esp32s3/src/wcl/core_0_entry_8_addr.rs +++ b/esp32s3/src/wcl/core_0_entry_8_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core_0 Entry 8 address from WORLD1 to WORLD0"] #[inline(always)] - #[must_use] pub fn core_0_entry_8_addr(&mut self) -> CORE_0_ENTRY_8_ADDR_W { CORE_0_ENTRY_8_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/wcl/core_0_entry_9_addr.rs b/esp32s3/src/wcl/core_0_entry_9_addr.rs index 3ec6d66bb7..b334f10489 100644 --- a/esp32s3/src/wcl/core_0_entry_9_addr.rs +++ b/esp32s3/src/wcl/core_0_entry_9_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core_0 Entry 9 address from WORLD1 to WORLD0"] #[inline(always)] - #[must_use] pub fn core_0_entry_9_addr(&mut self) -> CORE_0_ENTRY_9_ADDR_W { CORE_0_ENTRY_9_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/wcl/core_0_entry_check.rs b/esp32s3/src/wcl/core_0_entry_check.rs index 496225859d..9d78758b04 100644 --- a/esp32s3/src/wcl/core_0_entry_check.rs +++ b/esp32s3/src/wcl/core_0_entry_check.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 1:13 - This filed is used to enable entry address check"] #[inline(always)] - #[must_use] pub fn core_0_entry_check(&mut self) -> CORE_0_ENTRY_CHECK_W { CORE_0_ENTRY_CHECK_W::new(self, 1) } diff --git a/esp32s3/src/wcl/core_0_message_addr.rs b/esp32s3/src/wcl/core_0_message_addr.rs index 76295368bd..59a748a22b 100644 --- a/esp32s3/src/wcl/core_0_message_addr.rs +++ b/esp32s3/src/wcl/core_0_message_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This field is used to set address that need to write when enter WORLD0"] #[inline(always)] - #[must_use] pub fn core_0_message_addr(&mut self) -> CORE_0_MESSAGE_ADDR_W { CORE_0_MESSAGE_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/wcl/core_0_message_max.rs b/esp32s3/src/wcl/core_0_message_max.rs index 32d52f1515..a5ae4c6d82 100644 --- a/esp32s3/src/wcl/core_0_message_max.rs +++ b/esp32s3/src/wcl/core_0_message_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - This filed is used to set the max value of clear write_buffer"] #[inline(always)] - #[must_use] pub fn core_0_message_max(&mut self) -> CORE_0_MESSAGE_MAX_W { CORE_0_MESSAGE_MAX_W::new(self, 0) } diff --git a/esp32s3/src/wcl/core_0_nmi_mask.rs b/esp32s3/src/wcl/core_0_nmi_mask.rs index 043c7a9be5..d4778e5e44 100644 --- a/esp32s3/src/wcl/core_0_nmi_mask.rs +++ b/esp32s3/src/wcl/core_0_nmi_mask.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - this bit is used to mask NMI interrupt,it can directly mask NMI interrupt"] #[inline(always)] - #[must_use] pub fn core_0_nmi_mask(&mut self) -> CORE_0_NMI_MASK_W { CORE_0_NMI_MASK_W::new(self, 0) } diff --git a/esp32s3/src/wcl/core_0_nmi_mask_cancle.rs b/esp32s3/src/wcl/core_0_nmi_mask_cancle.rs index 5c678f3ebf..30cd98540d 100644 --- a/esp32s3/src/wcl/core_0_nmi_mask_cancle.rs +++ b/esp32s3/src/wcl/core_0_nmi_mask_cancle.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - this field is used to cancel NMI mask disable function."] #[inline(always)] - #[must_use] pub fn core_0_nmi_mask_cancel( &mut self, ) -> CORE_0_NMI_MASK_CANCEL_W { diff --git a/esp32s3/src/wcl/core_0_nmi_mask_disable.rs b/esp32s3/src/wcl/core_0_nmi_mask_disable.rs index 09c82f4f55..c5a4bf8e56 100644 --- a/esp32s3/src/wcl/core_0_nmi_mask_disable.rs +++ b/esp32s3/src/wcl/core_0_nmi_mask_disable.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - this field is used to disable NMI mask,it will not take effect immediately,only when the CPU executes to the trigger address will it start to cancel NMI mask"] #[inline(always)] - #[must_use] pub fn core_0_nmi_mask_disable( &mut self, ) -> CORE_0_NMI_MASK_DISABLE_W { diff --git a/esp32s3/src/wcl/core_0_nmi_mask_enable.rs b/esp32s3/src/wcl/core_0_nmi_mask_enable.rs index b6361be346..13f1d0e10f 100644 --- a/esp32s3/src/wcl/core_0_nmi_mask_enable.rs +++ b/esp32s3/src/wcl/core_0_nmi_mask_enable.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - this field is used to set NMI mask,it can write any value,when write this register,the hardware start masking NMI interrupt"] #[inline(always)] - #[must_use] pub fn core_0_nmi_mask_enable( &mut self, ) -> CORE_0_NMI_MASK_ENABLE_W { diff --git a/esp32s3/src/wcl/core_0_nmi_mask_trigger_addr.rs b/esp32s3/src/wcl/core_0_nmi_mask_trigger_addr.rs index a9e60ca430..bba542687f 100644 --- a/esp32s3/src/wcl/core_0_nmi_mask_trigger_addr.rs +++ b/esp32s3/src/wcl/core_0_nmi_mask_trigger_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - this field to used to set trigger address, when CPU executes to this address,NMI mask automatically fails"] #[inline(always)] - #[must_use] pub fn core_0_nmi_mask_trigger_addr( &mut self, ) -> CORE_0_NMI_MASK_TRIGGER_ADDR_W { diff --git a/esp32s3/src/wcl/core_0_statustable1.rs b/esp32s3/src/wcl/core_0_statustable1.rs index b78a12a739..df88cdf3b6 100644 --- a/esp32s3/src/wcl/core_0_statustable1.rs +++ b/esp32s3/src/wcl/core_0_statustable1.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to confirm world before enter entry 1"] #[inline(always)] - #[must_use] pub fn core_0_from_world_1(&mut self) -> CORE_0_FROM_WORLD_1_W { CORE_0_FROM_WORLD_1_W::new(self, 0) } #[doc = "Bits 1:4 - This filed is used to confirm in which entry before enter entry 1"] #[inline(always)] - #[must_use] pub fn core_0_from_entry_1(&mut self) -> CORE_0_FROM_ENTRY_1_W { CORE_0_FROM_ENTRY_1_W::new(self, 1) } #[doc = "Bit 5 - This bit is used to confirm whether the current state is in entry 1"] #[inline(always)] - #[must_use] pub fn core_0_current_1(&mut self) -> CORE_0_CURRENT_1_W { CORE_0_CURRENT_1_W::new(self, 5) } diff --git a/esp32s3/src/wcl/core_0_statustable10.rs b/esp32s3/src/wcl/core_0_statustable10.rs index c4d1296025..53485412de 100644 --- a/esp32s3/src/wcl/core_0_statustable10.rs +++ b/esp32s3/src/wcl/core_0_statustable10.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to confirm world before enter entry 10"] #[inline(always)] - #[must_use] pub fn core_0_from_world_10(&mut self) -> CORE_0_FROM_WORLD_10_W { CORE_0_FROM_WORLD_10_W::new(self, 0) } #[doc = "Bits 1:4 - This filed is used to confirm in which entry before enter entry 10"] #[inline(always)] - #[must_use] pub fn core_0_from_entry_10(&mut self) -> CORE_0_FROM_ENTRY_10_W { CORE_0_FROM_ENTRY_10_W::new(self, 1) } #[doc = "Bit 5 - This bit is used to confirm whether the current state is in entry 10"] #[inline(always)] - #[must_use] pub fn core_0_current_10(&mut self) -> CORE_0_CURRENT_10_W { CORE_0_CURRENT_10_W::new(self, 5) } diff --git a/esp32s3/src/wcl/core_0_statustable11.rs b/esp32s3/src/wcl/core_0_statustable11.rs index 2e95d1e0f9..6e578f5230 100644 --- a/esp32s3/src/wcl/core_0_statustable11.rs +++ b/esp32s3/src/wcl/core_0_statustable11.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to confirm world before enter entry 11"] #[inline(always)] - #[must_use] pub fn core_0_from_world_11(&mut self) -> CORE_0_FROM_WORLD_11_W { CORE_0_FROM_WORLD_11_W::new(self, 0) } #[doc = "Bits 1:4 - This filed is used to confirm in which entry before enter entry 11"] #[inline(always)] - #[must_use] pub fn core_0_from_entry_11(&mut self) -> CORE_0_FROM_ENTRY_11_W { CORE_0_FROM_ENTRY_11_W::new(self, 1) } #[doc = "Bit 5 - This bit is used to confirm whether the current state is in entry 11"] #[inline(always)] - #[must_use] pub fn core_0_current_11(&mut self) -> CORE_0_CURRENT_11_W { CORE_0_CURRENT_11_W::new(self, 5) } diff --git a/esp32s3/src/wcl/core_0_statustable12.rs b/esp32s3/src/wcl/core_0_statustable12.rs index 6cdbaf5717..2aa8fb06c1 100644 --- a/esp32s3/src/wcl/core_0_statustable12.rs +++ b/esp32s3/src/wcl/core_0_statustable12.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to confirm world before enter entry 12"] #[inline(always)] - #[must_use] pub fn core_0_from_world_12(&mut self) -> CORE_0_FROM_WORLD_12_W { CORE_0_FROM_WORLD_12_W::new(self, 0) } #[doc = "Bits 1:4 - This filed is used to confirm in which entry before enter entry 12"] #[inline(always)] - #[must_use] pub fn core_0_from_entry_12(&mut self) -> CORE_0_FROM_ENTRY_12_W { CORE_0_FROM_ENTRY_12_W::new(self, 1) } #[doc = "Bit 5 - This bit is used to confirm whether the current state is in entry 12"] #[inline(always)] - #[must_use] pub fn core_0_current_12(&mut self) -> CORE_0_CURRENT_12_W { CORE_0_CURRENT_12_W::new(self, 5) } diff --git a/esp32s3/src/wcl/core_0_statustable13.rs b/esp32s3/src/wcl/core_0_statustable13.rs index 3e117ebcdf..e4a2d75513 100644 --- a/esp32s3/src/wcl/core_0_statustable13.rs +++ b/esp32s3/src/wcl/core_0_statustable13.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to confirm world before enter entry 13"] #[inline(always)] - #[must_use] pub fn core_0_from_world_13(&mut self) -> CORE_0_FROM_WORLD_13_W { CORE_0_FROM_WORLD_13_W::new(self, 0) } #[doc = "Bits 1:4 - This filed is used to confirm in which entry before enter entry 13"] #[inline(always)] - #[must_use] pub fn core_0_from_entry_13(&mut self) -> CORE_0_FROM_ENTRY_13_W { CORE_0_FROM_ENTRY_13_W::new(self, 1) } #[doc = "Bit 5 - This bit is used to confirm whether the current state is in entry 13"] #[inline(always)] - #[must_use] pub fn core_0_current_13(&mut self) -> CORE_0_CURRENT_13_W { CORE_0_CURRENT_13_W::new(self, 5) } diff --git a/esp32s3/src/wcl/core_0_statustable2.rs b/esp32s3/src/wcl/core_0_statustable2.rs index aefcf1e647..e8993ae75f 100644 --- a/esp32s3/src/wcl/core_0_statustable2.rs +++ b/esp32s3/src/wcl/core_0_statustable2.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to confirm world before enter entry 2"] #[inline(always)] - #[must_use] pub fn core_0_from_world_2(&mut self) -> CORE_0_FROM_WORLD_2_W { CORE_0_FROM_WORLD_2_W::new(self, 0) } #[doc = "Bits 1:4 - This filed is used to confirm in which entry before enter entry 2"] #[inline(always)] - #[must_use] pub fn core_0_from_entry_2(&mut self) -> CORE_0_FROM_ENTRY_2_W { CORE_0_FROM_ENTRY_2_W::new(self, 1) } #[doc = "Bit 5 - This bit is used to confirm whether the current state is in entry 2"] #[inline(always)] - #[must_use] pub fn core_0_current_2(&mut self) -> CORE_0_CURRENT_2_W { CORE_0_CURRENT_2_W::new(self, 5) } diff --git a/esp32s3/src/wcl/core_0_statustable3.rs b/esp32s3/src/wcl/core_0_statustable3.rs index 01f4c1e20f..6945d2a704 100644 --- a/esp32s3/src/wcl/core_0_statustable3.rs +++ b/esp32s3/src/wcl/core_0_statustable3.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to confirm world before enter entry 3"] #[inline(always)] - #[must_use] pub fn core_0_from_world_3(&mut self) -> CORE_0_FROM_WORLD_3_W { CORE_0_FROM_WORLD_3_W::new(self, 0) } #[doc = "Bits 1:4 - This filed is used to confirm in which entry before enter entry 3"] #[inline(always)] - #[must_use] pub fn core_0_from_entry_3(&mut self) -> CORE_0_FROM_ENTRY_3_W { CORE_0_FROM_ENTRY_3_W::new(self, 1) } #[doc = "Bit 5 - This bit is used to confirm whether the current state is in entry 3"] #[inline(always)] - #[must_use] pub fn core_0_current_3(&mut self) -> CORE_0_CURRENT_3_W { CORE_0_CURRENT_3_W::new(self, 5) } diff --git a/esp32s3/src/wcl/core_0_statustable4.rs b/esp32s3/src/wcl/core_0_statustable4.rs index 7588f05db0..7640c5c837 100644 --- a/esp32s3/src/wcl/core_0_statustable4.rs +++ b/esp32s3/src/wcl/core_0_statustable4.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to confirm world before enter entry 4"] #[inline(always)] - #[must_use] pub fn core_0_from_world_4(&mut self) -> CORE_0_FROM_WORLD_4_W { CORE_0_FROM_WORLD_4_W::new(self, 0) } #[doc = "Bits 1:4 - This filed is used to confirm in which entry before enter entry 4"] #[inline(always)] - #[must_use] pub fn core_0_from_entry_4(&mut self) -> CORE_0_FROM_ENTRY_4_W { CORE_0_FROM_ENTRY_4_W::new(self, 1) } #[doc = "Bit 5 - This bit is used to confirm whether the current state is in entry 4"] #[inline(always)] - #[must_use] pub fn core_0_current_4(&mut self) -> CORE_0_CURRENT_4_W { CORE_0_CURRENT_4_W::new(self, 5) } diff --git a/esp32s3/src/wcl/core_0_statustable5.rs b/esp32s3/src/wcl/core_0_statustable5.rs index 9ca8062d83..d422bae9bd 100644 --- a/esp32s3/src/wcl/core_0_statustable5.rs +++ b/esp32s3/src/wcl/core_0_statustable5.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to confirm world before enter entry 5"] #[inline(always)] - #[must_use] pub fn core_0_from_world_5(&mut self) -> CORE_0_FROM_WORLD_5_W { CORE_0_FROM_WORLD_5_W::new(self, 0) } #[doc = "Bits 1:4 - This filed is used to confirm in which entry before enter entry 5"] #[inline(always)] - #[must_use] pub fn core_0_from_entry_5(&mut self) -> CORE_0_FROM_ENTRY_5_W { CORE_0_FROM_ENTRY_5_W::new(self, 1) } #[doc = "Bit 5 - This bit is used to confirm whether the current state is in entry 5"] #[inline(always)] - #[must_use] pub fn core_0_current_5(&mut self) -> CORE_0_CURRENT_5_W { CORE_0_CURRENT_5_W::new(self, 5) } diff --git a/esp32s3/src/wcl/core_0_statustable6.rs b/esp32s3/src/wcl/core_0_statustable6.rs index 51436753bd..0b2f6497a6 100644 --- a/esp32s3/src/wcl/core_0_statustable6.rs +++ b/esp32s3/src/wcl/core_0_statustable6.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to confirm world before enter entry 6"] #[inline(always)] - #[must_use] pub fn core_0_from_world_6(&mut self) -> CORE_0_FROM_WORLD_6_W { CORE_0_FROM_WORLD_6_W::new(self, 0) } #[doc = "Bits 1:4 - This filed is used to confirm in which entry before enter entry 6"] #[inline(always)] - #[must_use] pub fn core_0_from_entry_6(&mut self) -> CORE_0_FROM_ENTRY_6_W { CORE_0_FROM_ENTRY_6_W::new(self, 1) } #[doc = "Bit 5 - This bit is used to confirm whether the current state is in entry 6"] #[inline(always)] - #[must_use] pub fn core_0_current_6(&mut self) -> CORE_0_CURRENT_6_W { CORE_0_CURRENT_6_W::new(self, 5) } diff --git a/esp32s3/src/wcl/core_0_statustable7.rs b/esp32s3/src/wcl/core_0_statustable7.rs index 4d2b1a57f9..2fe5ed753e 100644 --- a/esp32s3/src/wcl/core_0_statustable7.rs +++ b/esp32s3/src/wcl/core_0_statustable7.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to confirm world before enter entry 7"] #[inline(always)] - #[must_use] pub fn core_0_from_world_7(&mut self) -> CORE_0_FROM_WORLD_7_W { CORE_0_FROM_WORLD_7_W::new(self, 0) } #[doc = "Bits 1:4 - This filed is used to confirm in which entry before enter entry 7"] #[inline(always)] - #[must_use] pub fn core_0_from_entry_7(&mut self) -> CORE_0_FROM_ENTRY_7_W { CORE_0_FROM_ENTRY_7_W::new(self, 1) } #[doc = "Bit 5 - This bit is used to confirm whether the current state is in entry 7"] #[inline(always)] - #[must_use] pub fn core_0_current_7(&mut self) -> CORE_0_CURRENT_7_W { CORE_0_CURRENT_7_W::new(self, 5) } diff --git a/esp32s3/src/wcl/core_0_statustable8.rs b/esp32s3/src/wcl/core_0_statustable8.rs index cd3228a500..7e2b9b8691 100644 --- a/esp32s3/src/wcl/core_0_statustable8.rs +++ b/esp32s3/src/wcl/core_0_statustable8.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to confirm world before enter entry 8"] #[inline(always)] - #[must_use] pub fn core_0_from_world_8(&mut self) -> CORE_0_FROM_WORLD_8_W { CORE_0_FROM_WORLD_8_W::new(self, 0) } #[doc = "Bits 1:4 - This filed is used to confirm in which entry before enter entry 8"] #[inline(always)] - #[must_use] pub fn core_0_from_entry_8(&mut self) -> CORE_0_FROM_ENTRY_8_W { CORE_0_FROM_ENTRY_8_W::new(self, 1) } #[doc = "Bit 5 - This bit is used to confirm whether the current state is in entry 8"] #[inline(always)] - #[must_use] pub fn core_0_current_8(&mut self) -> CORE_0_CURRENT_8_W { CORE_0_CURRENT_8_W::new(self, 5) } diff --git a/esp32s3/src/wcl/core_0_statustable9.rs b/esp32s3/src/wcl/core_0_statustable9.rs index 86e8314a7c..8fc18bc233 100644 --- a/esp32s3/src/wcl/core_0_statustable9.rs +++ b/esp32s3/src/wcl/core_0_statustable9.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to confirm world before enter entry 9"] #[inline(always)] - #[must_use] pub fn core_0_from_world_9(&mut self) -> CORE_0_FROM_WORLD_9_W { CORE_0_FROM_WORLD_9_W::new(self, 0) } #[doc = "Bits 1:4 - This filed is used to confirm in which entry before enter entry 9"] #[inline(always)] - #[must_use] pub fn core_0_from_entry_9(&mut self) -> CORE_0_FROM_ENTRY_9_W { CORE_0_FROM_ENTRY_9_W::new(self, 1) } #[doc = "Bit 5 - This bit is used to confirm whether the current state is in entry 9"] #[inline(always)] - #[must_use] pub fn core_0_current_9(&mut self) -> CORE_0_CURRENT_9_W { CORE_0_CURRENT_9_W::new(self, 5) } diff --git a/esp32s3/src/wcl/core_0_statustable_current.rs b/esp32s3/src/wcl/core_0_statustable_current.rs index 2518c2af22..4ec790e74a 100644 --- a/esp32s3/src/wcl/core_0_statustable_current.rs +++ b/esp32s3/src/wcl/core_0_statustable_current.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 1:13 - This field is used to quickly read and rewrite the current field of all STATUSTABLE registers,for example,bit 1 represents the current field of STATUSTABLE1,bit2 represents the current field of STATUSTABLE2"] #[inline(always)] - #[must_use] pub fn core_0_statustable_current( &mut self, ) -> CORE_0_STATUSTABLE_CURRENT_W { diff --git a/esp32s3/src/wcl/core_0_world_cancel.rs b/esp32s3/src/wcl/core_0_world_cancel.rs index e5e2000463..1cf2625777 100644 --- a/esp32s3/src/wcl/core_0_world_cancel.rs +++ b/esp32s3/src/wcl/core_0_world_cancel.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - This field is used to cancel switch world configuration,if the trigger address and update configuration complete,use this register to cancel world switch, jujst need write any value,the hardware only checks the write operation of this register and does not case about its value"] #[inline(always)] - #[must_use] pub fn core_0_world_cancel(&mut self) -> CORE_0_WORLD_CANCEL_W { CORE_0_WORLD_CANCEL_W::new(self, 0) } diff --git a/esp32s3/src/wcl/core_0_world_dram0_pif.rs b/esp32s3/src/wcl/core_0_world_dram0_pif.rs index 22d955bd62..895de22892 100644 --- a/esp32s3/src/wcl/core_0_world_dram0_pif.rs +++ b/esp32s3/src/wcl/core_0_world_dram0_pif.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - this field is used to read current world of Dram0 bus and PIF bus"] #[inline(always)] - #[must_use] pub fn core_0_world_dram0_pif( &mut self, ) -> CORE_0_WORLD_DRAM0_PIF_W { diff --git a/esp32s3/src/wcl/core_0_world_iram0.rs b/esp32s3/src/wcl/core_0_world_iram0.rs index 7ef401788e..3c24640c3f 100644 --- a/esp32s3/src/wcl/core_0_world_iram0.rs +++ b/esp32s3/src/wcl/core_0_world_iram0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - this field is used to read current world of Iram0 bus"] #[inline(always)] - #[must_use] pub fn core_0_world_iram0(&mut self) -> CORE_0_WORLD_IRAM0_W { CORE_0_WORLD_IRAM0_W::new(self, 0) } diff --git a/esp32s3/src/wcl/core_0_world_prepare.rs b/esp32s3/src/wcl/core_0_world_prepare.rs index 7d4bb9a8ef..7bfa7c4b41 100644 --- a/esp32s3/src/wcl/core_0_world_prepare.rs +++ b/esp32s3/src/wcl/core_0_world_prepare.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - This field to used to set world to enter, 2'b01 means WORLD0, 2'b10 means WORLD1"] #[inline(always)] - #[must_use] pub fn core_0_world_prepare(&mut self) -> CORE_0_WORLD_PREPARE_W { CORE_0_WORLD_PREPARE_W::new(self, 0) } diff --git a/esp32s3/src/wcl/core_0_world_trigger_addr.rs b/esp32s3/src/wcl/core_0_world_trigger_addr.rs index 4b748d6e10..d91093ea2b 100644 --- a/esp32s3/src/wcl/core_0_world_trigger_addr.rs +++ b/esp32s3/src/wcl/core_0_world_trigger_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This field is used to configure the entry address from WORLD0 to WORLD1,when the CPU executes to this address,switch to WORLD1"] #[inline(always)] - #[must_use] pub fn core_0_world_trigger_addr( &mut self, ) -> CORE_0_WORLD_TRIGGER_ADDR_W { diff --git a/esp32s3/src/wcl/core_0_world_update.rs b/esp32s3/src/wcl/core_0_world_update.rs index 6839dd97cd..b1f5d29224 100644 --- a/esp32s3/src/wcl/core_0_world_update.rs +++ b/esp32s3/src/wcl/core_0_world_update.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - This field is used to update configuration completed, can write any value,the hardware only checks the write operation of this register and does not case about its value"] #[inline(always)] - #[must_use] pub fn core_0_update(&mut self) -> CORE_0_UPDATE_W { CORE_0_UPDATE_W::new(self, 0) } diff --git a/esp32s3/src/wcl/core_1_entry_10_addr.rs b/esp32s3/src/wcl/core_1_entry_10_addr.rs index 15531da485..63cdbea2e0 100644 --- a/esp32s3/src/wcl/core_1_entry_10_addr.rs +++ b/esp32s3/src/wcl/core_1_entry_10_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core_1 Entry 10 address from WORLD1 to WORLD0"] #[inline(always)] - #[must_use] pub fn core_1_entry_10_addr(&mut self) -> CORE_1_ENTRY_10_ADDR_W { CORE_1_ENTRY_10_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/wcl/core_1_entry_11_addr.rs b/esp32s3/src/wcl/core_1_entry_11_addr.rs index a44bb2f238..ebdc3f2bd2 100644 --- a/esp32s3/src/wcl/core_1_entry_11_addr.rs +++ b/esp32s3/src/wcl/core_1_entry_11_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core_1 Entry 11 address from WORLD1 to WORLD0"] #[inline(always)] - #[must_use] pub fn core_1_entry_11_addr(&mut self) -> CORE_1_ENTRY_11_ADDR_W { CORE_1_ENTRY_11_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/wcl/core_1_entry_12_addr.rs b/esp32s3/src/wcl/core_1_entry_12_addr.rs index 8f09531acf..2aa392b704 100644 --- a/esp32s3/src/wcl/core_1_entry_12_addr.rs +++ b/esp32s3/src/wcl/core_1_entry_12_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core_1 Entry 12 address from WORLD1 to WORLD0"] #[inline(always)] - #[must_use] pub fn core_1_entry_12_addr(&mut self) -> CORE_1_ENTRY_12_ADDR_W { CORE_1_ENTRY_12_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/wcl/core_1_entry_13_addr.rs b/esp32s3/src/wcl/core_1_entry_13_addr.rs index 0b5f871c64..d229187540 100644 --- a/esp32s3/src/wcl/core_1_entry_13_addr.rs +++ b/esp32s3/src/wcl/core_1_entry_13_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core_1 Entry 13 address from WORLD1 to WORLD0"] #[inline(always)] - #[must_use] pub fn core_1_entry_13_addr(&mut self) -> CORE_1_ENTRY_13_ADDR_W { CORE_1_ENTRY_13_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/wcl/core_1_entry_1_addr.rs b/esp32s3/src/wcl/core_1_entry_1_addr.rs index 2ed8bb514d..9e46f65fe3 100644 --- a/esp32s3/src/wcl/core_1_entry_1_addr.rs +++ b/esp32s3/src/wcl/core_1_entry_1_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core_1 Entry 1 address from WORLD1 to WORLD0"] #[inline(always)] - #[must_use] pub fn core_1_entry_1_addr(&mut self) -> CORE_1_ENTRY_1_ADDR_W { CORE_1_ENTRY_1_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/wcl/core_1_entry_2_addr.rs b/esp32s3/src/wcl/core_1_entry_2_addr.rs index 98f8bef47b..e14c5e1ffa 100644 --- a/esp32s3/src/wcl/core_1_entry_2_addr.rs +++ b/esp32s3/src/wcl/core_1_entry_2_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core_1 Entry 2 address from WORLD1 to WORLD0"] #[inline(always)] - #[must_use] pub fn core_1_entry_2_addr(&mut self) -> CORE_1_ENTRY_2_ADDR_W { CORE_1_ENTRY_2_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/wcl/core_1_entry_3_addr.rs b/esp32s3/src/wcl/core_1_entry_3_addr.rs index 45bf78b682..5d58268d90 100644 --- a/esp32s3/src/wcl/core_1_entry_3_addr.rs +++ b/esp32s3/src/wcl/core_1_entry_3_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core_1 Entry 3 address from WORLD1 to WORLD0"] #[inline(always)] - #[must_use] pub fn core_1_entry_3_addr(&mut self) -> CORE_1_ENTRY_3_ADDR_W { CORE_1_ENTRY_3_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/wcl/core_1_entry_4_addr.rs b/esp32s3/src/wcl/core_1_entry_4_addr.rs index 4dfe43e65d..2792328d5f 100644 --- a/esp32s3/src/wcl/core_1_entry_4_addr.rs +++ b/esp32s3/src/wcl/core_1_entry_4_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core_1 Entry 4 address from WORLD1 to WORLD0"] #[inline(always)] - #[must_use] pub fn core_1_entry_4_addr(&mut self) -> CORE_1_ENTRY_4_ADDR_W { CORE_1_ENTRY_4_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/wcl/core_1_entry_5_addr.rs b/esp32s3/src/wcl/core_1_entry_5_addr.rs index 90bc526548..00c11be28e 100644 --- a/esp32s3/src/wcl/core_1_entry_5_addr.rs +++ b/esp32s3/src/wcl/core_1_entry_5_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core_1 Entry 5 address from WORLD1 to WORLD0"] #[inline(always)] - #[must_use] pub fn core_1_entry_5_addr(&mut self) -> CORE_1_ENTRY_5_ADDR_W { CORE_1_ENTRY_5_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/wcl/core_1_entry_6_addr.rs b/esp32s3/src/wcl/core_1_entry_6_addr.rs index 922c8a0c40..bcb12ad333 100644 --- a/esp32s3/src/wcl/core_1_entry_6_addr.rs +++ b/esp32s3/src/wcl/core_1_entry_6_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core_1 Entry 6 address from WORLD1 to WORLD0"] #[inline(always)] - #[must_use] pub fn core_1_entry_6_addr(&mut self) -> CORE_1_ENTRY_6_ADDR_W { CORE_1_ENTRY_6_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/wcl/core_1_entry_7_addr.rs b/esp32s3/src/wcl/core_1_entry_7_addr.rs index 102f677df3..3b2cb4c50e 100644 --- a/esp32s3/src/wcl/core_1_entry_7_addr.rs +++ b/esp32s3/src/wcl/core_1_entry_7_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core_1 Entry 7 address from WORLD1 to WORLD0"] #[inline(always)] - #[must_use] pub fn core_1_entry_7_addr(&mut self) -> CORE_1_ENTRY_7_ADDR_W { CORE_1_ENTRY_7_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/wcl/core_1_entry_8_addr.rs b/esp32s3/src/wcl/core_1_entry_8_addr.rs index 50c6775250..eaae97dceb 100644 --- a/esp32s3/src/wcl/core_1_entry_8_addr.rs +++ b/esp32s3/src/wcl/core_1_entry_8_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core_1 Entry 8 address from WORLD1 to WORLD0"] #[inline(always)] - #[must_use] pub fn core_1_entry_8_addr(&mut self) -> CORE_1_ENTRY_8_ADDR_W { CORE_1_ENTRY_8_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/wcl/core_1_entry_9_addr.rs b/esp32s3/src/wcl/core_1_entry_9_addr.rs index 90d9721d50..408cf3a528 100644 --- a/esp32s3/src/wcl/core_1_entry_9_addr.rs +++ b/esp32s3/src/wcl/core_1_entry_9_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Core_1 Entry 9 address from WORLD1 to WORLD0"] #[inline(always)] - #[must_use] pub fn core_1_entry_9_addr(&mut self) -> CORE_1_ENTRY_9_ADDR_W { CORE_1_ENTRY_9_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/wcl/core_1_entry_check.rs b/esp32s3/src/wcl/core_1_entry_check.rs index add6ee9875..8d8900f0e9 100644 --- a/esp32s3/src/wcl/core_1_entry_check.rs +++ b/esp32s3/src/wcl/core_1_entry_check.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 1:13 - This filed is used to enable entry address check"] #[inline(always)] - #[must_use] pub fn core_1_entry_check(&mut self) -> CORE_1_ENTRY_CHECK_W { CORE_1_ENTRY_CHECK_W::new(self, 1) } diff --git a/esp32s3/src/wcl/core_1_message_addr.rs b/esp32s3/src/wcl/core_1_message_addr.rs index 4b595e7eea..d6b40fdb87 100644 --- a/esp32s3/src/wcl/core_1_message_addr.rs +++ b/esp32s3/src/wcl/core_1_message_addr.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This field is used to set address that need to write when enter WORLD0"] #[inline(always)] - #[must_use] pub fn core_1_message_addr(&mut self) -> CORE_1_MESSAGE_ADDR_W { CORE_1_MESSAGE_ADDR_W::new(self, 0) } diff --git a/esp32s3/src/wcl/core_1_message_max.rs b/esp32s3/src/wcl/core_1_message_max.rs index 52e7882334..61ba79aa6b 100644 --- a/esp32s3/src/wcl/core_1_message_max.rs +++ b/esp32s3/src/wcl/core_1_message_max.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:3 - This filed is used to set the max value of clear write_buffer"] #[inline(always)] - #[must_use] pub fn core_1_message_max(&mut self) -> CORE_1_MESSAGE_MAX_W { CORE_1_MESSAGE_MAX_W::new(self, 0) } diff --git a/esp32s3/src/wcl/core_1_nmi_mask.rs b/esp32s3/src/wcl/core_1_nmi_mask.rs index 484b6639df..7b1c51cc0d 100644 --- a/esp32s3/src/wcl/core_1_nmi_mask.rs +++ b/esp32s3/src/wcl/core_1_nmi_mask.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - this bit is used to mask NMI interrupt,it can directly mask NMI interrupt"] #[inline(always)] - #[must_use] pub fn core_1_nmi_mask(&mut self) -> CORE_1_NMI_MASK_W { CORE_1_NMI_MASK_W::new(self, 0) } diff --git a/esp32s3/src/wcl/core_1_nmi_mask_cancle.rs b/esp32s3/src/wcl/core_1_nmi_mask_cancle.rs index e5ef3e50fc..ddc8e50da1 100644 --- a/esp32s3/src/wcl/core_1_nmi_mask_cancle.rs +++ b/esp32s3/src/wcl/core_1_nmi_mask_cancle.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - this field is used to cancel NMI mask disable function."] #[inline(always)] - #[must_use] pub fn core_1_nmi_mask_cancel( &mut self, ) -> CORE_1_NMI_MASK_CANCEL_W { diff --git a/esp32s3/src/wcl/core_1_nmi_mask_disable.rs b/esp32s3/src/wcl/core_1_nmi_mask_disable.rs index 4f63cd565d..d35b019ffd 100644 --- a/esp32s3/src/wcl/core_1_nmi_mask_disable.rs +++ b/esp32s3/src/wcl/core_1_nmi_mask_disable.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - this field is used to disable NMI mask, it will not take effect immediately,only when the CPU executes to the trigger address will it start to cancel NMI mask"] #[inline(always)] - #[must_use] pub fn core_1_nmi_mask_disable( &mut self, ) -> CORE_1_NMI_MASK_DISABLE_W { diff --git a/esp32s3/src/wcl/core_1_nmi_mask_enable.rs b/esp32s3/src/wcl/core_1_nmi_mask_enable.rs index 40d68b2c4c..0a7330a0c7 100644 --- a/esp32s3/src/wcl/core_1_nmi_mask_enable.rs +++ b/esp32s3/src/wcl/core_1_nmi_mask_enable.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - this field is used to set NMI mask, it can write any value, when write this register,the hardware start masking NMI interrupt"] #[inline(always)] - #[must_use] pub fn core_1_nmi_mask_enable( &mut self, ) -> CORE_1_NMI_MASK_ENABLE_W { diff --git a/esp32s3/src/wcl/core_1_nmi_mask_trigger_addr.rs b/esp32s3/src/wcl/core_1_nmi_mask_trigger_addr.rs index 2608bc5205..9d9c6a40c0 100644 --- a/esp32s3/src/wcl/core_1_nmi_mask_trigger_addr.rs +++ b/esp32s3/src/wcl/core_1_nmi_mask_trigger_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - this field to used to set trigger address"] #[inline(always)] - #[must_use] pub fn core_1_nmi_mask_trigger_addr( &mut self, ) -> CORE_1_NMI_MASK_TRIGGER_ADDR_W { diff --git a/esp32s3/src/wcl/core_1_statustable1.rs b/esp32s3/src/wcl/core_1_statustable1.rs index bc5cdd0859..733fada8d2 100644 --- a/esp32s3/src/wcl/core_1_statustable1.rs +++ b/esp32s3/src/wcl/core_1_statustable1.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to confirm world before enter entry 1"] #[inline(always)] - #[must_use] pub fn core_1_from_world_1(&mut self) -> CORE_1_FROM_WORLD_1_W { CORE_1_FROM_WORLD_1_W::new(self, 0) } #[doc = "Bits 1:4 - This filed is used to confirm in which entry before enter entry 1"] #[inline(always)] - #[must_use] pub fn core_1_from_entry_1(&mut self) -> CORE_1_FROM_ENTRY_1_W { CORE_1_FROM_ENTRY_1_W::new(self, 1) } #[doc = "Bit 5 - This bit is used to confirm whether the current state is in entry 1"] #[inline(always)] - #[must_use] pub fn core_1_current_1(&mut self) -> CORE_1_CURRENT_1_W { CORE_1_CURRENT_1_W::new(self, 5) } diff --git a/esp32s3/src/wcl/core_1_statustable10.rs b/esp32s3/src/wcl/core_1_statustable10.rs index 86ce8013a1..516e3cbd2a 100644 --- a/esp32s3/src/wcl/core_1_statustable10.rs +++ b/esp32s3/src/wcl/core_1_statustable10.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to confirm world before enter entry 10"] #[inline(always)] - #[must_use] pub fn core_1_from_world_10(&mut self) -> CORE_1_FROM_WORLD_10_W { CORE_1_FROM_WORLD_10_W::new(self, 0) } #[doc = "Bits 1:4 - This filed is used to confirm in which entry before enter entry 10"] #[inline(always)] - #[must_use] pub fn core_1_from_entry_10(&mut self) -> CORE_1_FROM_ENTRY_10_W { CORE_1_FROM_ENTRY_10_W::new(self, 1) } #[doc = "Bit 5 - This bit is used to confirm whether the current state is in entry 10"] #[inline(always)] - #[must_use] pub fn core_1_current_10(&mut self) -> CORE_1_CURRENT_10_W { CORE_1_CURRENT_10_W::new(self, 5) } diff --git a/esp32s3/src/wcl/core_1_statustable11.rs b/esp32s3/src/wcl/core_1_statustable11.rs index b22bae9595..94d343cecc 100644 --- a/esp32s3/src/wcl/core_1_statustable11.rs +++ b/esp32s3/src/wcl/core_1_statustable11.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to confirm world before enter entry 11"] #[inline(always)] - #[must_use] pub fn core_1_from_world_11(&mut self) -> CORE_1_FROM_WORLD_11_W { CORE_1_FROM_WORLD_11_W::new(self, 0) } #[doc = "Bits 1:4 - This filed is used to confirm in which entry before enter entry 11"] #[inline(always)] - #[must_use] pub fn core_1_from_entry_11(&mut self) -> CORE_1_FROM_ENTRY_11_W { CORE_1_FROM_ENTRY_11_W::new(self, 1) } #[doc = "Bit 5 - This bit is used to confirm whether the current state is in entry 11"] #[inline(always)] - #[must_use] pub fn core_1_current_11(&mut self) -> CORE_1_CURRENT_11_W { CORE_1_CURRENT_11_W::new(self, 5) } diff --git a/esp32s3/src/wcl/core_1_statustable12.rs b/esp32s3/src/wcl/core_1_statustable12.rs index 51eb882fae..34c2454550 100644 --- a/esp32s3/src/wcl/core_1_statustable12.rs +++ b/esp32s3/src/wcl/core_1_statustable12.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to confirm world before enter entry 12"] #[inline(always)] - #[must_use] pub fn core_1_from_world_12(&mut self) -> CORE_1_FROM_WORLD_12_W { CORE_1_FROM_WORLD_12_W::new(self, 0) } #[doc = "Bits 1:4 - This filed is used to confirm in which entry before enter entry 12"] #[inline(always)] - #[must_use] pub fn core_1_from_entry_12(&mut self) -> CORE_1_FROM_ENTRY_12_W { CORE_1_FROM_ENTRY_12_W::new(self, 1) } #[doc = "Bit 5 - This bit is used to confirm whether the current state is in entry 12"] #[inline(always)] - #[must_use] pub fn core_1_current_12(&mut self) -> CORE_1_CURRENT_12_W { CORE_1_CURRENT_12_W::new(self, 5) } diff --git a/esp32s3/src/wcl/core_1_statustable13.rs b/esp32s3/src/wcl/core_1_statustable13.rs index bca19d0efb..9831aaa0c7 100644 --- a/esp32s3/src/wcl/core_1_statustable13.rs +++ b/esp32s3/src/wcl/core_1_statustable13.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to confirm world before enter entry 13"] #[inline(always)] - #[must_use] pub fn core_1_from_world_13(&mut self) -> CORE_1_FROM_WORLD_13_W { CORE_1_FROM_WORLD_13_W::new(self, 0) } #[doc = "Bits 1:4 - This filed is used to confirm in which entry before enter entry 13"] #[inline(always)] - #[must_use] pub fn core_1_from_entry_13(&mut self) -> CORE_1_FROM_ENTRY_13_W { CORE_1_FROM_ENTRY_13_W::new(self, 1) } #[doc = "Bit 5 - This bit is used to confirm whether the current state is in entry 13"] #[inline(always)] - #[must_use] pub fn core_1_current_13(&mut self) -> CORE_1_CURRENT_13_W { CORE_1_CURRENT_13_W::new(self, 5) } diff --git a/esp32s3/src/wcl/core_1_statustable2.rs b/esp32s3/src/wcl/core_1_statustable2.rs index 6b86b37401..6fab25227c 100644 --- a/esp32s3/src/wcl/core_1_statustable2.rs +++ b/esp32s3/src/wcl/core_1_statustable2.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to confirm world before enter entry 2"] #[inline(always)] - #[must_use] pub fn core_1_from_world_2(&mut self) -> CORE_1_FROM_WORLD_2_W { CORE_1_FROM_WORLD_2_W::new(self, 0) } #[doc = "Bits 1:4 - This filed is used to confirm in which entry before enter entry 2"] #[inline(always)] - #[must_use] pub fn core_1_from_entry_2(&mut self) -> CORE_1_FROM_ENTRY_2_W { CORE_1_FROM_ENTRY_2_W::new(self, 1) } #[doc = "Bit 5 - This bit is used to confirm whether the current state is in entry 2"] #[inline(always)] - #[must_use] pub fn core_1_current_2(&mut self) -> CORE_1_CURRENT_2_W { CORE_1_CURRENT_2_W::new(self, 5) } diff --git a/esp32s3/src/wcl/core_1_statustable3.rs b/esp32s3/src/wcl/core_1_statustable3.rs index d315477c24..f3eda00236 100644 --- a/esp32s3/src/wcl/core_1_statustable3.rs +++ b/esp32s3/src/wcl/core_1_statustable3.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to confirm world before enter entry 3"] #[inline(always)] - #[must_use] pub fn core_1_from_world_3(&mut self) -> CORE_1_FROM_WORLD_3_W { CORE_1_FROM_WORLD_3_W::new(self, 0) } #[doc = "Bits 1:4 - This filed is used to confirm in which entry before enter entry 3"] #[inline(always)] - #[must_use] pub fn core_1_from_entry_3(&mut self) -> CORE_1_FROM_ENTRY_3_W { CORE_1_FROM_ENTRY_3_W::new(self, 1) } #[doc = "Bit 5 - This bit is used to confirm whether the current state is in entry 3"] #[inline(always)] - #[must_use] pub fn core_1_current_3(&mut self) -> CORE_1_CURRENT_3_W { CORE_1_CURRENT_3_W::new(self, 5) } diff --git a/esp32s3/src/wcl/core_1_statustable4.rs b/esp32s3/src/wcl/core_1_statustable4.rs index f8c01d98c4..9717d07993 100644 --- a/esp32s3/src/wcl/core_1_statustable4.rs +++ b/esp32s3/src/wcl/core_1_statustable4.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to confirm world before enter entry 4"] #[inline(always)] - #[must_use] pub fn core_1_from_world_4(&mut self) -> CORE_1_FROM_WORLD_4_W { CORE_1_FROM_WORLD_4_W::new(self, 0) } #[doc = "Bits 1:4 - This filed is used to confirm in which entry before enter entry 4"] #[inline(always)] - #[must_use] pub fn core_1_from_entry_4(&mut self) -> CORE_1_FROM_ENTRY_4_W { CORE_1_FROM_ENTRY_4_W::new(self, 1) } #[doc = "Bit 5 - This bit is used to confirm whether the current state is in entry 4"] #[inline(always)] - #[must_use] pub fn core_1_current_4(&mut self) -> CORE_1_CURRENT_4_W { CORE_1_CURRENT_4_W::new(self, 5) } diff --git a/esp32s3/src/wcl/core_1_statustable5.rs b/esp32s3/src/wcl/core_1_statustable5.rs index a7e7341f13..6495914bae 100644 --- a/esp32s3/src/wcl/core_1_statustable5.rs +++ b/esp32s3/src/wcl/core_1_statustable5.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to confirm world before enter entry 5"] #[inline(always)] - #[must_use] pub fn core_1_from_world_5(&mut self) -> CORE_1_FROM_WORLD_5_W { CORE_1_FROM_WORLD_5_W::new(self, 0) } #[doc = "Bits 1:4 - This filed is used to confirm in which entry before enter entry 5"] #[inline(always)] - #[must_use] pub fn core_1_from_entry_5(&mut self) -> CORE_1_FROM_ENTRY_5_W { CORE_1_FROM_ENTRY_5_W::new(self, 1) } #[doc = "Bit 5 - This bit is used to confirm whether the current state is in entry 5"] #[inline(always)] - #[must_use] pub fn core_1_current_5(&mut self) -> CORE_1_CURRENT_5_W { CORE_1_CURRENT_5_W::new(self, 5) } diff --git a/esp32s3/src/wcl/core_1_statustable6.rs b/esp32s3/src/wcl/core_1_statustable6.rs index 22409737b7..416b3e5c4c 100644 --- a/esp32s3/src/wcl/core_1_statustable6.rs +++ b/esp32s3/src/wcl/core_1_statustable6.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to confirm world before enter entry 6"] #[inline(always)] - #[must_use] pub fn core_1_from_world_6(&mut self) -> CORE_1_FROM_WORLD_6_W { CORE_1_FROM_WORLD_6_W::new(self, 0) } #[doc = "Bits 1:4 - This filed is used to confirm in which entry before enter entry 6"] #[inline(always)] - #[must_use] pub fn core_1_from_entry_6(&mut self) -> CORE_1_FROM_ENTRY_6_W { CORE_1_FROM_ENTRY_6_W::new(self, 1) } #[doc = "Bit 5 - This bit is used to confirm whether the current state is in entry 6"] #[inline(always)] - #[must_use] pub fn core_1_current_6(&mut self) -> CORE_1_CURRENT_6_W { CORE_1_CURRENT_6_W::new(self, 5) } diff --git a/esp32s3/src/wcl/core_1_statustable7.rs b/esp32s3/src/wcl/core_1_statustable7.rs index 035c8cbd8e..055149a69e 100644 --- a/esp32s3/src/wcl/core_1_statustable7.rs +++ b/esp32s3/src/wcl/core_1_statustable7.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to confirm world before enter entry 7"] #[inline(always)] - #[must_use] pub fn core_1_from_world_7(&mut self) -> CORE_1_FROM_WORLD_7_W { CORE_1_FROM_WORLD_7_W::new(self, 0) } #[doc = "Bits 1:4 - This filed is used to confirm in which entry before enter entry 7"] #[inline(always)] - #[must_use] pub fn core_1_from_entry_7(&mut self) -> CORE_1_FROM_ENTRY_7_W { CORE_1_FROM_ENTRY_7_W::new(self, 1) } #[doc = "Bit 5 - This bit is used to confirm whether the current state is in entry 7"] #[inline(always)] - #[must_use] pub fn core_1_current_7(&mut self) -> CORE_1_CURRENT_7_W { CORE_1_CURRENT_7_W::new(self, 5) } diff --git a/esp32s3/src/wcl/core_1_statustable8.rs b/esp32s3/src/wcl/core_1_statustable8.rs index 1038fba5fb..14452e4aab 100644 --- a/esp32s3/src/wcl/core_1_statustable8.rs +++ b/esp32s3/src/wcl/core_1_statustable8.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to confirm world before enter entry 8"] #[inline(always)] - #[must_use] pub fn core_1_from_world_8(&mut self) -> CORE_1_FROM_WORLD_8_W { CORE_1_FROM_WORLD_8_W::new(self, 0) } #[doc = "Bits 1:4 - This filed is used to confirm in which entry before enter entry 8"] #[inline(always)] - #[must_use] pub fn core_1_from_entry_8(&mut self) -> CORE_1_FROM_ENTRY_8_W { CORE_1_FROM_ENTRY_8_W::new(self, 1) } #[doc = "Bit 5 - This bit is used to confirm whether the current state is in entry 8"] #[inline(always)] - #[must_use] pub fn core_1_current_8(&mut self) -> CORE_1_CURRENT_8_W { CORE_1_CURRENT_8_W::new(self, 5) } diff --git a/esp32s3/src/wcl/core_1_statustable9.rs b/esp32s3/src/wcl/core_1_statustable9.rs index 26e2a97614..25ce7379ed 100644 --- a/esp32s3/src/wcl/core_1_statustable9.rs +++ b/esp32s3/src/wcl/core_1_statustable9.rs @@ -44,19 +44,16 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - This bit is used to confirm world before enter entry 9"] #[inline(always)] - #[must_use] pub fn core_1_from_world_9(&mut self) -> CORE_1_FROM_WORLD_9_W { CORE_1_FROM_WORLD_9_W::new(self, 0) } #[doc = "Bits 1:4 - This filed is used to confirm in which entry before enter entry 9"] #[inline(always)] - #[must_use] pub fn core_1_from_entry_9(&mut self) -> CORE_1_FROM_ENTRY_9_W { CORE_1_FROM_ENTRY_9_W::new(self, 1) } #[doc = "Bit 5 - This bit is used to confirm whether the current state is in entry 9"] #[inline(always)] - #[must_use] pub fn core_1_current_9(&mut self) -> CORE_1_CURRENT_9_W { CORE_1_CURRENT_9_W::new(self, 5) } diff --git a/esp32s3/src/wcl/core_1_statustable_current.rs b/esp32s3/src/wcl/core_1_statustable_current.rs index e734dd41d0..6369ec5e7b 100644 --- a/esp32s3/src/wcl/core_1_statustable_current.rs +++ b/esp32s3/src/wcl/core_1_statustable_current.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 1:13 - This field is used to quickly read and rewrite the current field of all STATUSTABLE registers,for example,bit 1 represents the current field of STATUSTABLE1"] #[inline(always)] - #[must_use] pub fn core_1_statustable_current( &mut self, ) -> CORE_1_STATUSTABLE_CURRENT_W { diff --git a/esp32s3/src/wcl/core_1_world_cancel.rs b/esp32s3/src/wcl/core_1_world_cancel.rs index 3d9f9e4730..a5fb925db8 100644 --- a/esp32s3/src/wcl/core_1_world_cancel.rs +++ b/esp32s3/src/wcl/core_1_world_cancel.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - This field is used to cancel switch world configuration,if the trigger address and update configuration complete,can use this register to cancel world switch. can write any value, the hardware only checks the write operation of this register and does not case about its value"] #[inline(always)] - #[must_use] pub fn core_1_world_cancel(&mut self) -> CORE_1_WORLD_CANCEL_W { CORE_1_WORLD_CANCEL_W::new(self, 0) } diff --git a/esp32s3/src/wcl/core_1_world_dram0_pif.rs b/esp32s3/src/wcl/core_1_world_dram0_pif.rs index e342e3cfb5..634afc0e7c 100644 --- a/esp32s3/src/wcl/core_1_world_dram0_pif.rs +++ b/esp32s3/src/wcl/core_1_world_dram0_pif.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - this field is used to read current world of Dram0 bus and PIF bus"] #[inline(always)] - #[must_use] pub fn core_1_world_dram0_pif( &mut self, ) -> CORE_1_WORLD_DRAM0_PIF_W { diff --git a/esp32s3/src/wcl/core_1_world_iram0.rs b/esp32s3/src/wcl/core_1_world_iram0.rs index 4afb8419ef..fba2183c85 100644 --- a/esp32s3/src/wcl/core_1_world_iram0.rs +++ b/esp32s3/src/wcl/core_1_world_iram0.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - this field is used to read current world of Iram0 bus"] #[inline(always)] - #[must_use] pub fn core_1_world_iram0(&mut self) -> CORE_1_WORLD_IRAM0_W { CORE_1_WORLD_IRAM0_W::new(self, 0) } diff --git a/esp32s3/src/wcl/core_1_world_prepare.rs b/esp32s3/src/wcl/core_1_world_prepare.rs index 8afee0e841..189c3e90a0 100644 --- a/esp32s3/src/wcl/core_1_world_prepare.rs +++ b/esp32s3/src/wcl/core_1_world_prepare.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:1 - This field to used to set world to enter,2'b01 means WORLD0, 2'b10 means WORLD1"] #[inline(always)] - #[must_use] pub fn core_1_world_prepare(&mut self) -> CORE_1_WORLD_PREPARE_W { CORE_1_WORLD_PREPARE_W::new(self, 0) } diff --git a/esp32s3/src/wcl/core_1_world_trigger_addr.rs b/esp32s3/src/wcl/core_1_world_trigger_addr.rs index 65ffe9c0a9..8b07d71814 100644 --- a/esp32s3/src/wcl/core_1_world_trigger_addr.rs +++ b/esp32s3/src/wcl/core_1_world_trigger_addr.rs @@ -27,7 +27,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - This field is used to configure the entry address from WORLD0 to WORLD1,when the CPU executes to this address,switch to WORLD1"] #[inline(always)] - #[must_use] pub fn core_1_world_trigger_addr( &mut self, ) -> CORE_1_WORLD_TRIGGER_ADDR_W { diff --git a/esp32s3/src/wcl/core_1_world_update.rs b/esp32s3/src/wcl/core_1_world_update.rs index 24b73ea60c..f892ab2927 100644 --- a/esp32s3/src/wcl/core_1_world_update.rs +++ b/esp32s3/src/wcl/core_1_world_update.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bits 0:31 - This field is used to update configuration completed, can write any value,the hardware only checks the write operation of this register and does not case about its value"] #[inline(always)] - #[must_use] pub fn core_1_update(&mut self) -> CORE_1_UPDATE_W { CORE_1_UPDATE_W::new(self, 0) } diff --git a/esp32s3/src/xts_aes/date.rs b/esp32s3/src/xts_aes/date.rs index af76386bc7..b8311d9821 100644 --- a/esp32s3/src/xts_aes/date.rs +++ b/esp32s3/src/xts_aes/date.rs @@ -22,7 +22,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Manual Encryption block version information."] #[inline(always)] - #[must_use] pub fn date(&mut self) -> DATE_W { DATE_W::new(self, 0) } diff --git a/esp32s3/src/xts_aes/destination.rs b/esp32s3/src/xts_aes/destination.rs index 550d09c1a2..ff10d887f6 100644 --- a/esp32s3/src/xts_aes/destination.rs +++ b/esp32s3/src/xts_aes/destination.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configures the type of the external memory. Currently, it must be set to 0, as the Manual Encryption block only supports flash encryption. Errors may occurs if users write 1. 0:flash. 1: external RAM."] #[inline(always)] - #[must_use] pub fn destination(&mut self) -> DESTINATION_W { DESTINATION_W::new(self, 0) } diff --git a/esp32s3/src/xts_aes/destroy.rs b/esp32s3/src/xts_aes/destroy.rs index 0f41ea092a..acee7344d8 100644 --- a/esp32s3/src/xts_aes/destroy.rs +++ b/esp32s3/src/xts_aes/destroy.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to destroy encrypted result."] #[inline(always)] - #[must_use] pub fn destroy(&mut self) -> DESTROY_W { DESTROY_W::new(self, 0) } diff --git a/esp32s3/src/xts_aes/linesize.rs b/esp32s3/src/xts_aes/linesize.rs index 3deadeb5fd..6bd4be3197 100644 --- a/esp32s3/src/xts_aes/linesize.rs +++ b/esp32s3/src/xts_aes/linesize.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bit 0 - Configures the data size of one encryption."] #[inline(always)] - #[must_use] pub fn linesize(&mut self) -> LINESIZE_W { LINESIZE_W::new(self, 0) } diff --git a/esp32s3/src/xts_aes/physical_address.rs b/esp32s3/src/xts_aes/physical_address.rs index 40e7968868..664e0272fc 100644 --- a/esp32s3/src/xts_aes/physical_address.rs +++ b/esp32s3/src/xts_aes/physical_address.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:29 - Those bits stores the physical address. If linesize is 16-byte, the physical address should be aligned of 16 bytes. If linesize is 32-byte, the physical address should be aligned of 32 bytes. If linesize is 64-byte, the physical address should be aligned of 64 bytes."] #[inline(always)] - #[must_use] pub fn physical_address(&mut self) -> PHYSICAL_ADDRESS_W { PHYSICAL_ADDRESS_W::new(self, 0) } diff --git a/esp32s3/src/xts_aes/plain_.rs b/esp32s3/src/xts_aes/plain_.rs index 18571b16f4..86e3826afd 100644 --- a/esp32s3/src/xts_aes/plain_.rs +++ b/esp32s3/src/xts_aes/plain_.rs @@ -24,7 +24,6 @@ impl core::fmt::Debug for R { impl W { #[doc = "Bits 0:31 - Stores the nth 32-bit piece of plaintext."] #[inline(always)] - #[must_use] pub fn plain(&mut self) -> PLAIN_W { PLAIN_W::new(self, 0) } diff --git a/esp32s3/src/xts_aes/release.rs b/esp32s3/src/xts_aes/release.rs index 5109bfa19f..e161362a4e 100644 --- a/esp32s3/src/xts_aes/release.rs +++ b/esp32s3/src/xts_aes/release.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to grant SPI1 access to encrypted result."] #[inline(always)] - #[must_use] pub fn release(&mut self) -> RELEASE_W { RELEASE_W::new(self, 0) } diff --git a/esp32s3/src/xts_aes/trigger.rs b/esp32s3/src/xts_aes/trigger.rs index ec3037f7de..0f164f3e85 100644 --- a/esp32s3/src/xts_aes/trigger.rs +++ b/esp32s3/src/xts_aes/trigger.rs @@ -11,7 +11,6 @@ impl core::fmt::Debug for crate::generic::Reg { impl W { #[doc = "Bit 0 - Write 1 to activate manual encryption."] #[inline(always)] - #[must_use] pub fn trigger(&mut self) -> TRIGGER_W { TRIGGER_W::new(self, 0) }